Started by upstream project "bcc-pr" build number 317
originally caused by:
GitHub pull request #2755 of commit e1496e15a749fa700315f759dfca4ac79f3f6428, no merge conflicts.
Running as SYSTEM
Building remotely on ubuntu1604-slave-3c (ubuntu1604) in workspace /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/iovisor/bcc.git
> git init /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604 # timeout=10
Fetching upstream changes from https://github.com/iovisor/bcc.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/iovisor/bcc.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/iovisor/bcc.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/iovisor/bcc.git # timeout=10
Fetching upstream changes from https://github.com/iovisor/bcc.git
> git fetch --tags --progress https://github.com/iovisor/bcc.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://wiki.jenkins.io/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData
Checking out Revision bfdac5894980e24d2cf2f305e3afa27a861ca70a (refs/remotes/origin/pr/2755/merge)
> git config core.sparsecheckout # timeout=10
> git checkout -f bfdac5894980e24d2cf2f305e3afa27a861ca70a # timeout=10
Commit message: "Merge e1496e15a749fa700315f759dfca4ac79f3f6428 into 2d099cd8c5cb1598d6e911c0b389132ebc7c101b"
First time build. Skipping changelog.
Run condition [Execute Shell] enabling prebuild for step [Execute shell]
Run condition [Execute Shell] enabling prebuild for step [Execute shell]
[ubuntu1604] $ /bin/sh -xe /tmp/CommandInterpreterCondition5812758068575401163.sh
+ grep -q ^ID=fedora /etc/os-release
Run condition [Execute Shell] preventing perform for step [Execute shell]
[ubuntu1604] $ /bin/sh -xe /tmp/CommandInterpreterCondition2998524696084019499.sh
+ grep -q ^ID=ubuntu /etc/os-release
Run condition [Execute Shell] enabling perform for step [Execute shell]
[ubuntu1604] $ /bin/sh -xe /tmp/jenkins2577718414668765762.sh
+ git clean -df
+ seq 1 30
+ sudo fuser /var/lib/dpkg/lock
+ break
+ sudo dpkg -r bcc-tools libbcc libbcc-examples python-bcc bcc-lua
dpkg: warning: ignoring request to remove bcc-tools which isn't installed
dpkg: warning: ignoring request to remove libbcc which isn't installed
dpkg: warning: ignoring request to remove libbcc-examples which isn't installed
dpkg: warning: ignoring request to remove python-bcc which isn't installed
dpkg: warning: ignoring request to remove bcc-lua which isn't installed
+ rm -rf build
+ ./scripts/build-deb.sh test
+ set -e
+ PARALLEL=2
++ mktemp -d /tmp/debuild.XXXXXX
+ TMP=/tmp/debuild.LopzAQ
+ trap cleanup EXIT
+ git submodule update --init --recursive
Submodule 'src/cc/libbpf' (https://github.com/libbpf/libbpf.git) registered for path 'src/cc/libbpf'
Cloning into 'src/cc/libbpf'...
Submodule path 'src/cc/libbpf': checked out 'e5dbc1a96f138e7c47324a65269adff0ca0f4f6e'
+ . scripts/git-tag.sh
+++ git describe --abbrev=0
++ git_tag_latest=v0.11.0
+++ git rev-list v0.11.0.. --count
++ git_rev_count=121
++ git_rev_count=122
+++ git log --pretty=%s -n 1
++ git_subject='Merge e1496e15a749fa700315f759dfca4ac79f3f6428 into 2d099cd8c5cb1598d6e911c0b389132ebc7c101b'
++ release=122
++ [[ 122 != \1 ]]
+++ git log --pretty=%h -n 1
++ release=122.git.bfdac58
++ revision=0.11.0
+ git archive HEAD --prefix=bcc/ --format=tar -o /tmp/debuild.LopzAQ/bcc_0.11.0.orig.tar
+ pushd src/cc/libbpf
~/jenkins/workspace/bcc-pr/label/ubuntu1604/src/cc/libbpf ~/jenkins/workspace/bcc-pr/label/ubuntu1604
+ git archive HEAD --prefix=bcc/src/cc/libbpf/ --format=tar -o /tmp/debuild.LopzAQ/bcc_libbpf_0.11.0.orig.tar
+ popd
~/jenkins/workspace/bcc-pr/label/ubuntu1604
+ pushd /tmp/debuild.LopzAQ
/tmp/debuild.LopzAQ ~/jenkins/workspace/bcc-pr/label/ubuntu1604
+ tar -A -f bcc_0.11.0.orig.tar bcc_libbpf_0.11.0.orig.tar
+ gzip bcc_0.11.0.orig.tar
+ tar xf bcc_0.11.0.orig.tar.gz
+ cd bcc
+ debuild=debuild
+ [[ test = \t\e\s\t ]]
+ debuild+=' --preserve-envvar PATH'
+ sudo tee /usr/local/bin/dpkg-deb
+ echo -e '#!/bin/bash\nexec /usr/bin/dpkg-deb -z1 "$@"'
#!/bin/bash
exec /usr/bin/dpkg-deb -z1 "$@"
+ sudo chmod +x /usr/local/bin/dpkg-deb
+ dch -b -v 0.11.0-122.git.bfdac58 'Merge e1496e15a749fa700315f759dfca4ac79f3f6428 into 2d099cd8c5cb1598d6e911c0b389132ebc7c101b'
dch warning: new version (0.11.0-122.git.bfdac58) is less than
the current version number (0.12.0-1).
+ [[ test = \n\i\g\h\t\l\y ]]
+ DEB_BUILD_OPTIONS='nocheck parallel=2'
+ debuild --preserve-envvar PATH -us -uc
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package bcc
dpkg-buildpackage: source version 0.11.0-122.git.bfdac58
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Yonghong Song <iovisor@ubuntu1604-slave-3c.c.io-visor.internal>
dpkg-source --before-build bcc
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --buildsystem=cmake --parallel --with python2,python3
dh_testdir -O--buildsystem=cmake -O--parallel
dh_auto_clean -O--buildsystem=cmake -O--parallel
dh_clean -O--buildsystem=cmake -O--parallel
dpkg-source -b bcc
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building bcc using existing ./bcc_0.11.0.orig.tar.gz
dpkg-source: info: building bcc in bcc_0.11.0-122.git.bfdac58.debian.tar.xz
dpkg-source: info: building bcc in bcc_0.11.0-122.git.bfdac58.dsc
debian/rules build
dh build --buildsystem=cmake --parallel --with python2,python3
dh_testdir -O--buildsystem=cmake -O--parallel
dh_update_autotools_config -O--buildsystem=cmake -O--parallel
debian/rules override_dh_auto_configure
make[1]: Entering directory '/tmp/debuild.LopzAQ/bcc'
dh_auto_configure -- -DREVISION_LAST=0.11.0 -DREVISION=0.11.0 -DLLVM_DEFINITIONS="-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DPYTHON_CMD="python2;python3"
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DREVISION_LAST=0.11.0 -DREVISION=0.11.0 "-DLLVM_DEFINITIONS=-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -DPYTHON_CMD=python2\;python3
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Revision is 0.11.0
-- Performing Test HAVE_NO_PIE_FLAG
-- Performing Test HAVE_NO_PIE_FLAG - Success
-- Performing Test HAVE_REALLOCARRAY_SUPPORT
-- Performing Test HAVE_REALLOCARRAY_SUPPORT - Failed
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found FLEX: /usr/bin/flex (found version "2.6.0")
-- Found LLVM: /usr/lib/llvm-3.8/include 3.8.0
-- Found LibElf: /usr/lib/x86_64-linux-gnu/libelf.so
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Success
-- Using static-libstdc++
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.a;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu
make[1]: Leaving directory '/tmp/debuild.LopzAQ/bcc'
dh_auto_build -O--buildsystem=cmake -O--parallel
make -j2
make[1]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/tmp/debuild.LopzAQ/bcc -B/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/CMakeFiles /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/depend
make -f src/cc/CMakeFiles/bpf-static.dir/build.make src/cc/CMakeFiles/bpf-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/DependInfo.cmake --color=
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bpf-static.dir/DependInfo.cmake --color=
Scanning dependencies of target bpf-static
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bpf-static.dir/build.make src/cc/CMakeFiles/bpf-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 0%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf.c
[ 0%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/perf_reader.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/perf_reader.c
[ 1%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/libbpf_errno.c
[ 1%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/bpf.c
[ 1%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/libbpf_probes.c
[ 2%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/netlink.c
[ 2%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/xsk.c
Scanning dependencies of target clang_frontend
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -DKERNEL_MODULES_DIR='"/lib/modules"' -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/clang_frontend.dir/loader.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang/loader.cc
[ 3%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/btf_dump.c
[ 3%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/bpf_prog_linfo.c
[ 3%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/nlattr.c
[ 4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/hashmap.c
[ 4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/libbpf.c
[ 4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/btf.c
[ 5%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/str_error.c
[ 5%] Linking C static library libbcc_bpf.a
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -P CMakeFiles/bpf-static.dir/cmake_clean_target.cmake
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/bpf-static.dir/link.txt --verbose=1
/usr/bin/ar qc libbcc_bpf.a CMakeFiles/bpf-static.dir/libbpf.c.o CMakeFiles/bpf-static.dir/perf_reader.c.o CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o
/usr/bin/ranlib libbcc_bpf.a
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 5%] Built target bpf-static
make -f src/cc/api/CMakeFiles/api-static.dir/build.make src/cc/api/CMakeFiles/api-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc/api /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/api /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/api/CMakeFiles/api-static.dir/DependInfo.cmake --color=
Scanning dependencies of target api-static
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/api/CMakeFiles/api-static.dir/build.make src/cc/api/CMakeFiles/api-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 5%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/api && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/api-static.dir/BPF.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/api/BPF.cc
[ 6%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/api && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/api-static.dir/BPFTable.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/api/BPFTable.cc
[ 7%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -DKERNEL_MODULES_DIR='"/lib/modules"' -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang/b_frontend_action.cc
[ 7%] Linking CXX static library libapi-static.a
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/api && /usr/bin/cmake -P CMakeFiles/api-static.dir/cmake_clean_target.cmake
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/api && /usr/bin/cmake -E cmake_link_script CMakeFiles/api-static.dir/link.txt --verbose=1
/usr/bin/ar qc libapi-static.a CMakeFiles/api-static.dir/BPF.cc.o CMakeFiles/api-static.dir/BPFTable.cc.o
/usr/bin/ranlib libapi-static.a
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 7%] Built target api-static
make -f src/cc/usdt/CMakeFiles/usdt-static.dir/build.make src/cc/usdt/CMakeFiles/usdt-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc/usdt /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/usdt /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/usdt/CMakeFiles/usdt-static.dir/DependInfo.cmake --color=
Scanning dependencies of target usdt-static
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/usdt/CMakeFiles/usdt-static.dir/build.make src/cc/usdt/CMakeFiles/usdt-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 7%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/usdt && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/usdt-static.dir/usdt_args.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/usdt/usdt_args.cc
[ 7%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/usdt && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/usdt-static.dir/usdt.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/usdt/usdt.cc
[ 8%] Linking CXX static library libusdt-static.a
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/usdt && /usr/bin/cmake -P CMakeFiles/usdt-static.dir/cmake_clean_target.cmake
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/usdt && /usr/bin/cmake -E cmake_link_script CMakeFiles/usdt-static.dir/link.txt --verbose=1
/usr/bin/ar qc libusdt-static.a CMakeFiles/usdt-static.dir/usdt_args.cc.o CMakeFiles/usdt-static.dir/usdt.cc.o
/usr/bin/ranlib libusdt-static.a
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 8%] Built target usdt-static
make -f src/cc/frontends/b/CMakeFiles/b_frontend.dir/build.make src/cc/frontends/b/CMakeFiles/b_frontend.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 9%] [FLEX][Lexer] Building scanner with flex 2.6.0
cd /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b && /usr/bin/flex --c++ --o lexer.ll.cc -o/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/lexer.ll.cc lexer.ll
lexer.ll:110: warning, -s option given but default rule can be matched
[ 9%] [BISON][Parser] Building parser with bison 3.0.4
cd /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b && /usr/bin/bison -o parser.yy.cc -v --debug -d -o /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/parser.yy.cc parser.yy
parser.yy:19.9-17: warning: deprecated directive, use ‘%define api.namespace ebpf::cc’ [-Wdeprecated]
%define namespace "ebpf::cc"
^^^^^^^^^
parser.yy:19.9-17: warning: %define variable 'api.namespace' requires '{...}' values [-Wdeprecated]
%define namespace "ebpf::cc"
^^^^^^^^^
parser.yy:20.9-25: warning: %define variable 'parser_class_name' requires '{...}' values [-Wdeprecated]
%define parser_class_name "BisonParser"
^^^^^^^^^^^^^^^^^
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/CMakeFiles/b_frontend.dir/DependInfo.cmake --color=
Scanning dependencies of target b_frontend
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/frontends/b/CMakeFiles/b_frontend.dir/build.make src/cc/frontends/b/CMakeFiles/b_frontend.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 9%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/b_frontend.dir/loader.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b/loader.cc
[ 9%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/b_frontend.dir/codegen_llvm.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b/codegen_llvm.cc
[ 10%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/node.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/b_frontend.dir/node.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b/node.cc
[ 10%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/b_frontend.dir/parser.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b/parser.cc
[ 11%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/printer.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/b_frontend.dir/printer.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b/printer.cc
[ 11%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/type_check.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/b_frontend.dir/type_check.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b/type_check.cc
[ 11%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.yy.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/b_frontend.dir/parser.yy.cc.o -c /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/parser.yy.cc
[ 11%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -DKERNEL_MODULES_DIR='"/lib/modules"' -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang/tp_frontend_action.cc
[ 12%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/lexer.ll.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/b_frontend.dir/lexer.ll.cc.o -c /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/lexer.ll.cc
/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/lexer.ll.cc: In member function ‘virtual int ebpf::cc::Lexer::yylex()’:
/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/lexer.ll.cc:764:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( yyl = 0; yyl < yyleng; ++yyl )
^
/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/lexer.ll.cc: In member function ‘int ebpfccFlexLexer::yy_get_next_buffer()’:
/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/lexer.ll.cc:1506:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
^
[ 12%] Linking CXX static library libb_frontend.a
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/cmake -P CMakeFiles/b_frontend.dir/cmake_clean_target.cmake
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b && /usr/bin/cmake -E cmake_link_script CMakeFiles/b_frontend.dir/link.txt --verbose=1
/usr/bin/ar qc libb_frontend.a CMakeFiles/b_frontend.dir/loader.cc.o CMakeFiles/b_frontend.dir/codegen_llvm.cc.o CMakeFiles/b_frontend.dir/node.cc.o CMakeFiles/b_frontend.dir/parser.cc.o CMakeFiles/b_frontend.dir/printer.cc.o CMakeFiles/b_frontend.dir/type_check.cc.o CMakeFiles/b_frontend.dir/parser.yy.cc.o CMakeFiles/b_frontend.dir/lexer.ll.cc.o
/usr/bin/ranlib libb_frontend.a
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 12%] Built target b_frontend
make -f src/cc/CMakeFiles/bcc-loader-static.dir/build.make src/cc/CMakeFiles/bcc-loader-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bcc-loader-static.dir/DependInfo.cmake --color=
Scanning dependencies of target bcc-loader-static
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bcc-loader-static.dir/build.make src/cc/CMakeFiles/bcc-loader-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 12%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_syms.cc
[ 13%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_elf.c
[ 13%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_perf_map.c
[ 14%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_proc.c
[ 14%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-loader-static.dir/common.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/common.cc
[ 14%] Linking CXX static library libbcc-loader-static.a
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -P CMakeFiles/bcc-loader-static.dir/cmake_clean_target.cmake
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/bcc-loader-static.dir/link.txt --verbose=1
/usr/bin/ar qc libbcc-loader-static.a CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o CMakeFiles/bcc-loader-static.dir/common.cc.o
/usr/bin/ranlib libbcc-loader-static.a
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 14%] Built target bcc-loader-static
make -f src/cc/CMakeFiles/bpf-shared.dir/build.make src/cc/CMakeFiles/bpf-shared.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bpf-shared.dir/DependInfo.cmake --color=
Scanning dependencies of target bpf-shared
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bpf-shared.dir/build.make src/cc/CMakeFiles/bpf-shared.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 14%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf.c
[ 15%] Building C object src/cc/CMakeFiles/bpf-shared.dir/perf_reader.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/perf_reader.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/perf_reader.c
[ 15%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_errno.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_errno.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/libbpf_errno.c
[ 15%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/bpf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/bpf.c
[ 16%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_probes.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_probes.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/libbpf_probes.c
[ 16%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/netlink.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/netlink.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/netlink.c
[ 17%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/xsk.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/xsk.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/xsk.c
[ 17%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf_dump.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/btf_dump.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/btf_dump.c
[ 17%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf_prog_linfo.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/bpf_prog_linfo.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/bpf_prog_linfo.c
[ 18%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/nlattr.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/nlattr.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/nlattr.c
[ 18%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/hashmap.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/hashmap.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/hashmap.c
[ 18%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/libbpf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/libbpf.c
[ 19%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/btf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/btf.c
[ 19%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/str_error.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbpf_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bpf-shared.dir/libbpf/src/str_error.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/libbpf/src/str_error.c
[ 20%] Linking C shared library libbcc_bpf.so
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/bpf-shared.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-gcc -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -Wl,-Bsymbolic-functions -Wl,-z,relro -static-libstdc++ -Wl,--exclude-libs=libclangFrontend.a -Wl,--exclude-libs=libclangSerialization.a -Wl,--exclude-libs=libclangDriver.a -Wl,--exclude-libs=libclangParse.a -Wl,--exclude-libs=libclangSema.a -Wl,--exclude-libs=libclangCodeGen.a -Wl,--exclude-libs=libclangAnalysis.a -Wl,--exclude-libs=libclangRewrite.a -Wl,--exclude-libs=libclangEdit.a -Wl,--exclude-libs=libclangAST.a -Wl,--exclude-libs=libclangLex.a -Wl,--exclude-libs=libclangBasic.a -Wl,--exclude-libs=libLLVMX86CodeGen.a -Wl,--exclude-libs=libLLVMX86Desc.a -Wl,--exclude-libs=libLLVMX86Info.a -Wl,--exclude-libs=libLLVMMCDisassembler.a -Wl,--exclude-libs=libLLVMX86AsmPrinter.a -Wl,--exclude-libs=libLLVMX86Utils.a -Wl,--exclude-libs=libLLVMLTO.a -Wl,--exclude-libs=libLLVMPasses.a -Wl,--exclude-libs=libLLVMipo.a -Wl,--exclude-libs=libLLVMVectorize.a -Wl,--exclude-libs=libLLVMOption.a -Wl,--exclude-libs=libLLVMObjCARCOpts.a -Wl,--exclude-libs=libLLVMMCJIT.a -Wl,--exclude-libs=libLLVMExecutionEngine.a -Wl,--exclude-libs=libLLVMRuntimeDyld.a -Wl,--exclude-libs=libLLVMLinker.a -Wl,--exclude-libs=libLLVMIRReader.a -Wl,--exclude-libs=libLLVMAsmParser.a -Wl,--exclude-libs=libLLVMDebugInfoDWARF.a -Wl,--exclude-libs=libLLVMBPFCodeGen.a -Wl,--exclude-libs=libLLVMSelectionDAG.a -Wl,--exclude-libs=libLLVMBPFDesc.a -Wl,--exclude-libs=libLLVMBPFInfo.a -Wl,--exclude-libs=libLLVMBPFAsmPrinter.a -Wl,--exclude-libs=libLLVMAsmPrinter.a -Wl,--exclude-libs=libLLVMCodeGen.a -Wl,--exclude-libs=libLLVMTarget.a -Wl,--exclude-libs=libLLVMScalarOpts.a -Wl,--exclude-libs=libLLVMInstCombine.a -Wl,--exclude-libs=libLLVMInstrumentation.a -Wl,--exclude-libs=libLLVMTransformUtils.a -Wl,--exclude-libs=libLLVMProfileData.a -Wl,--exclude-libs=libLLVMObject.a -Wl,--exclude-libs=libLLVMMCParser.a -Wl,--exclude-libs=libLLVMMC.a -Wl,--exclude-libs=libLLVMBitReader.a -Wl,--exclude-libs=libLLVMAnalysis.a -Wl,--exclude-libs=libLLVMBitWriter.a -Wl,--exclude-libs=libLLVMCore.a -Wl,--exclude-libs=libLLVMSupport.a -shared -Wl,-soname,libbcc_bpf.so.0 -o libbcc_bpf.so.0.11.0 CMakeFiles/bpf-shared.dir/libbpf.c.o CMakeFiles/bpf-shared.dir/perf_reader.c.o CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_errno.c.o CMakeFiles/bpf-shared.dir/libbpf/src/bpf.c.o CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_probes.c.o CMakeFiles/bpf-shared.dir/libbpf/src/netlink.c.o CMakeFiles/bpf-shared.dir/libbpf/src/xsk.c.o CMakeFiles/bpf-shared.dir/libbpf/src/btf_dump.c.o CMakeFiles/bpf-shared.dir/libbpf/src/bpf_prog_linfo.c.o CMakeFiles/bpf-shared.dir/libbpf/src/nlattr.c.o CMakeFiles/bpf-shared.dir/libbpf/src/hashmap.c.o CMakeFiles/bpf-shared.dir/libbpf/src/libbpf.c.o CMakeFiles/bpf-shared.dir/libbpf/src/btf.c.o CMakeFiles/bpf-shared.dir/libbpf/src/str_error.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -E cmake_symlink_library libbcc_bpf.so.0.11.0 libbcc_bpf.so.0 libbcc_bpf.so
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 20%] Built target bpf-shared
make -f src/python/CMakeFiles/bcc_py_python2.dir/build.make src/python/CMakeFiles/bcc_py_python2.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/python /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python/CMakeFiles/bcc_py_python2.dir/DependInfo.cmake --color=
Scanning dependencies of target bcc_py_python2
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/python/CMakeFiles/bcc_py_python2.dir/build.make src/python/CMakeFiles/bcc_py_python2.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 21%] Building sdist for python2
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python/bcc-python2 && python2 setup.py sdist
[ 21%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -DKERNEL_MODULES_DIR='"/lib/modules"' -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang/kbuild_helper.cc
running sdist
running check
warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)
warning: sdist: standard file not found: should have one of README, README.txt
writing manifest file 'MANIFEST'
creating bcc-0.11.0
creating bcc-0.11.0/bcc
making hard links in bcc-0.11.0...
hard linking setup.py -> bcc-0.11.0
hard linking bcc/__init__.py -> bcc-0.11.0/bcc
hard linking bcc/disassembler.py -> bcc-0.11.0/bcc
hard linking bcc/libbcc.py -> bcc-0.11.0/bcc
hard linking bcc/perf.py -> bcc-0.11.0/bcc
hard linking bcc/syscall.py -> bcc-0.11.0/bcc
hard linking bcc/table.py -> bcc-0.11.0/bcc
hard linking bcc/tcp.py -> bcc-0.11.0/bcc
hard linking bcc/usdt.py -> bcc-0.11.0/bcc
hard linking bcc/utils.py -> bcc-0.11.0/bcc
hard linking bcc/version.py -> bcc-0.11.0/bcc
creating dist
Creating tar archive
removing 'bcc-0.11.0' (and everything under it)
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 21%] Built target bcc_py_python2
make -f src/python/CMakeFiles/bcc_py_python3.dir/build.make src/python/CMakeFiles/bcc_py_python3.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/python /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python/CMakeFiles/bcc_py_python3.dir/DependInfo.cmake --color=
Scanning dependencies of target bcc_py_python3
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/python/CMakeFiles/bcc_py_python3.dir/build.make src/python/CMakeFiles/bcc_py_python3.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 21%] Building sdist for python3
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python/bcc-python3 && python3 setup.py sdist
running sdist
running check
warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)
warning: sdist: standard file not found: should have one of README, README.txt
writing manifest file 'MANIFEST'
creating bcc-0.11.0
creating bcc-0.11.0/bcc
making hard links in bcc-0.11.0...
hard linking setup.py -> bcc-0.11.0
hard linking bcc/__init__.py -> bcc-0.11.0/bcc
hard linking bcc/disassembler.py -> bcc-0.11.0/bcc
hard linking bcc/libbcc.py -> bcc-0.11.0/bcc
hard linking bcc/perf.py -> bcc-0.11.0/bcc
hard linking bcc/syscall.py -> bcc-0.11.0/bcc
hard linking bcc/table.py -> bcc-0.11.0/bcc
hard linking bcc/tcp.py -> bcc-0.11.0/bcc
hard linking bcc/usdt.py -> bcc-0.11.0/bcc
hard linking bcc/utils.py -> bcc-0.11.0/bcc
hard linking bcc/version.py -> bcc-0.11.0/bcc
creating dist
Creating tar archive
[ 22%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -DKERNEL_MODULES_DIR='"/lib/modules"' -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/clang_frontend.dir/__/__/common.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/common.cc
removing 'bcc-0.11.0' (and everything under it)
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 22%] Built target bcc_py_python3
make -f src/lua/CMakeFiles/bcc-lua.dir/build.make src/lua/CMakeFiles/bcc-lua.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 22%] Generating bcc.lua
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/lua && /usr/bin/luajit /tmp/debuild.LopzAQ/bcc/src/lua/src/squish.lua /tmp/debuild.LopzAQ/bcc/src/lua
Writing bcc.lua...
OK!
[ 23%] Generating bcc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/lua && /usr/bin/luajit -bg bcc.lua bcc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/lua /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/lua /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/lua/CMakeFiles/bcc-lua.dir/DependInfo.cmake --color=
Scanning dependencies of target bcc-lua
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/lua/CMakeFiles/bcc-lua.dir/build.make src/lua/CMakeFiles/bcc-lua.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 23%] Building C object src/lua/CMakeFiles/bcc-lua.dir/src/main.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/lua && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/usr/include/luajit-2.0 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o CMakeFiles/bcc-lua.dir/src/main.c.o -c /tmp/debuild.LopzAQ/bcc/src/lua/src/main.c
[ 24%] Linking C executable bcc-lua
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/lua && /usr/bin/cmake -E cmake_link_script CMakeFiles/bcc-lua.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/bcc-lua.dir/src/main.c.o bcc.o -o bcc-lua -rdynamic -Wl,-Bstatic -lluajit-5.1 -Wl,-Bdynamic -ldl -lm -no-pie
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 24%] Built target bcc-lua
make -f introspection/CMakeFiles/bps.dir/build.make introspection/CMakeFiles/bps.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/introspection /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/introspection /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/introspection/CMakeFiles/bps.dir/DependInfo.cmake --color=
Scanning dependencies of target bps
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f introspection/CMakeFiles/bps.dir/build.make introspection/CMakeFiles/bps.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 25%] Building C object introspection/CMakeFiles/bps.dir/bps.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/introspection && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -o CMakeFiles/bps.dir/bps.c.o -c /tmp/debuild.LopzAQ/bcc/introspection/bps.c
[ 25%] Linking C executable bps
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/introspection && /usr/bin/cmake -E cmake_link_script CMakeFiles/bps.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/bps.dir/bps.c.o -o bps -rdynamic ../src/cc/libbcc_bpf.a -lelf -lrt -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 25%] Built target bps
make -f man/man8/CMakeFiles/man.dir/build.make man/man8/CMakeFiles/man.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/man/man8 /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/CMakeFiles/man.dir/DependInfo.cmake --color=
Scanning dependencies of target man
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f man/man8/CMakeFiles/man.dir/build.make man/man8/CMakeFiles/man.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 26%] Generating execsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/execsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/execsnoop.8.gz
[ 26%] Generating tclobjnew.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tclobjnew.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tclobjnew.8.gz
[ 26%] Generating javaflow.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/javaflow.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/javaflow.8.gz
[ 27%] Generating bpflist.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/bpflist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/bpflist.8.gz
[ 27%] Generating ext4slower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/ext4slower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/ext4slower.8.gz
[ 27%] Generating rubycalls.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/rubycalls.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/rubycalls.8.gz
[ 28%] Generating fileslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/fileslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/fileslower.8.gz
[ 28%] Generating drsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/drsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/drsnoop.8.gz
[ 29%] Generating ucalls.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/ucalls.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/ucalls.8.gz
[ 29%] Generating rubygc.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/rubygc.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/rubygc.8.gz
[ 29%] Generating pythoncalls.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/pythoncalls.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/pythoncalls.8.gz
[ 30%] Generating profile.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/profile.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/profile.8.gz
[ 30%] Generating nodegc.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/nodegc.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/nodegc.8.gz
[ 30%] Generating nodestat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/nodestat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/nodestat.8.gz
[ 31%] Generating ugc.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/ugc.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/ugc.8.gz
[ 31%] Generating tclflow.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tclflow.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tclflow.8.gz
[ 32%] Generating javathreads.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/javathreads.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/javathreads.8.gz
[ 32%] Generating rubyobjnew.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/rubyobjnew.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/rubyobjnew.8.gz
[ 32%] Generating exitsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/exitsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/exitsnoop.8.gz
[ 33%] Generating tcpaccept.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcpaccept.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcpaccept.8.gz
[ 33%] Generating phpstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/phpstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/phpstat.8.gz
[ 33%] Generating funcslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/funcslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/funcslower.8.gz
[ 34%] Generating pythonstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/pythonstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/pythonstat.8.gz
[ 34%] Generating offcputime.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/offcputime.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/offcputime.8.gz
[ 35%] Generating tcptracer.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcptracer.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcptracer.8.gz
[ 35%] Generating biotop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/biotop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/biotop.8.gz
[ 35%] Generating dcstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/dcstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/dcstat.8.gz
[ 36%] Generating bps.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/bps.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/bps.8.gz
[ 36%] Generating vfsstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/vfsstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/vfsstat.8.gz
[ 36%] Generating rubyflow.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/rubyflow.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/rubyflow.8.gz
[ 37%] Generating cachetop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/cachetop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/cachetop.8.gz
[ 37%] Generating ext4dist.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/ext4dist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/ext4dist.8.gz
[ 38%] Generating vfscount.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/vfscount.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/vfscount.8.gz
[ 38%] Generating cthreads.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/cthreads.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/cthreads.8.gz
[ 38%] Generating biolatency.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/biolatency.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/biolatency.8.gz
[ 39%] Generating criticalstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/criticalstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/criticalstat.8.gz
[ 39%] Generating sofdsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/sofdsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/sofdsnoop.8.gz
[ 39%] Generating uobjnew.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/uobjnew.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/uobjnew.8.gz
[ 40%] Generating nfsslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/nfsslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/nfsslower.8.gz
[ 40%] Generating cachestat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/cachestat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/cachestat.8.gz
[ 41%] Generating runqslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/runqslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/runqslower.8.gz
[ 41%] Generating softirqs.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/softirqs.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/softirqs.8.gz
[ 41%] Generating sslsniff.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/sslsniff.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/sslsniff.8.gz
[ 42%] Generating cobjnew.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/cobjnew.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/cobjnew.8.gz
[ 42%] Generating llcstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/llcstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/llcstat.8.gz
[ 42%] Generating javaobjnew.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/javaobjnew.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/javaobjnew.8.gz
[ 43%] Generating argdist.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/argdist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/argdist.8.gz
[ 43%] Generating solisten.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/solisten.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/solisten.8.gz
[ 44%] Generating perlcalls.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/perlcalls.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/perlcalls.8.gz
[ 44%] Generating syncsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/syncsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/syncsnoop.8.gz
[ 44%] Generating inject.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/inject.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/inject.8.gz
[ 45%] Generating tcpdrop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcpdrop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcpdrop.8.gz
[ 45%] Linking CXX static library libclang_frontend.a
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/cmake -P CMakeFiles/clang_frontend.dir/cmake_clean_target.cmake
[ 45%] Generating slabratetop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/slabratetop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/slabratetop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang_frontend.dir/link.txt --verbose=1
[ 45%] Generating pythongc.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/pythongc.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/pythongc.8.gz
/usr/bin/ar qc libclang_frontend.a CMakeFiles/clang_frontend.dir/loader.cc.o CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o CMakeFiles/clang_frontend.dir/__/__/common.cc.o
[ 46%] Generating tcpconnlat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcpconnlat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcpconnlat.8.gz
[ 46%] Generating dbslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/dbslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/dbslower.8.gz
[ 47%] Generating memleak.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/memleak.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/memleak.8.gz
[ 47%] Generating javagc.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/javagc.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/javagc.8.gz
[ 47%] Generating tcplife.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcplife.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcplife.8.gz
[ 48%] Generating zfsdist.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/zfsdist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/zfsdist.8.gz
/usr/bin/ranlib libclang_frontend.a
[ 48%] Generating cpuunclaimed.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/cpuunclaimed.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/cpuunclaimed.8.gz
[ 48%] Generating spfdsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/spfdsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/spfdsnoop.8.gz
[ 49%] Generating wakeuptime.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/wakeuptime.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/wakeuptime.8.gz
[ 49%] Generating phpcalls.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/phpcalls.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/phpcalls.8.gz
[ 50%] Generating mdflush.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/mdflush.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/mdflush.8.gz
[ 50%] Generating pythonflow.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/pythonflow.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/pythonflow.8.gz
[ 50%] Generating syscount.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/syscount.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/syscount.8.gz
[ 51%] Generating rubystat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/rubystat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/rubystat.8.gz
[ 51%] Generating pidpersec.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/pidpersec.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/pidpersec.8.gz
[ 51%] Generating trace.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/trace.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/trace.8.gz
[ 52%] Generating shmsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/shmsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/shmsnoop.8.gz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 52%] Generating deadlock.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/deadlock.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/deadlock.8.gz
[ 53%] Generating xfsdist.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/xfsdist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/xfsdist.8.gz
[ 53%] Generating funccount.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/funccount.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/funccount.8.gz
[ 53%] Generating filetop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/filetop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/filetop.8.gz
[ 53%] Built target clang_frontend
[ 54%] Generating killsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/killsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/killsnoop.8.gz
[ 54%] Generating tcpstates.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcpstates.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcpstates.8.gz
[ 54%] Generating javastat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/javastat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/javastat.8.gz
[ 55%] Generating stackcount.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/stackcount.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/stackcount.8.gz
make -f tests/cc/CMakeFiles/usdt_test_lib.dir/build.make tests/cc/CMakeFiles/usdt_test_lib.dir/depend
[ 55%] Generating nfsdist.8.gz
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc/CMakeFiles/usdt_test_lib.dir/DependInfo.cmake --color=
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/nfsdist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/nfsdist.8.gz
[ 56%] Generating statsnoop.8.gz
Scanning dependencies of target usdt_test_lib
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/statsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/statsnoop.8.gz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f tests/cc/CMakeFiles/usdt_test_lib.dir/build.make tests/cc/CMakeFiles/usdt_test_lib.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 56%] Generating reset-trace.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/reset-trace.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/reset-trace.8.gz
[ 56%] Building C object tests/cc/CMakeFiles/usdt_test_lib.dir/usdt_test_lib.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-gcc -Dusdt_test_lib_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-result -fPIC -o CMakeFiles/usdt_test_lib.dir/usdt_test_lib.c.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/usdt_test_lib.c
[ 56%] Generating dcsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/dcsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/dcsnoop.8.gz
[ 57%] Generating btrfsdist.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/btrfsdist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/btrfsdist.8.gz
[ 57%] Generating capable.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/capable.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/capable.8.gz
[ 57%] Generating btrfsslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/btrfsslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/btrfsslower.8.gz
[ 58%] Generating filelife.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/filelife.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/filelife.8.gz
[ 58%] Generating klockstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/klockstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/klockstat.8.gz
[ 59%] Generating perlstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/perlstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/perlstat.8.gz
[ 59%] Generating tplist.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tplist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tplist.8.gz
[ 59%] Generating bitesize.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/bitesize.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/bitesize.8.gz
[ 60%] Generating tcptop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcptop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcptop.8.gz
[ 60%] Generating offwaketime.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/offwaketime.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/offwaketime.8.gz
[ 60%] Generating uflow.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/uflow.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/uflow.8.gz
[ 61%] Generating runqlen.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/runqlen.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/runqlen.8.gz
[ 61%] Generating mountsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/mountsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/mountsnoop.8.gz
[ 62%] Generating mysqld_qslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/mysqld_qslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/mysqld_qslower.8.gz
[ 62%] Generating javacalls.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/javacalls.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/javacalls.8.gz
[ 62%] Generating zfsslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/zfsslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/zfsslower.8.gz
[ 63%] Linking C shared library libusdt_test_lib.so
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/usdt_test_lib.dir/link.txt --verbose=1
[ 64%] Generating dbstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/dbstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/dbstat.8.gz
/usr/bin/x86_64-linux-gnu-gcc -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-result -Wl,-Bsymbolic-functions -Wl,-z,relro -shared -Wl,-soname,libusdt_test_lib.so -o libusdt_test_lib.so CMakeFiles/usdt_test_lib.dir/usdt_test_lib.c.o
[ 64%] Generating tclstat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tclstat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tclstat.8.gz
[ 64%] Generating bashreadline.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/bashreadline.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/bashreadline.8.gz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 64%] Built target usdt_test_lib
[ 65%] Generating phpflow.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/phpflow.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/phpflow.8.gz
make -f src/cc/CMakeFiles/bcc-shared.dir/build.make src/cc/CMakeFiles/bcc-shared.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bcc-shared.dir/DependInfo.cmake --color=
[ 65%] Generating biosnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/biosnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/biosnoop.8.gz
[ 66%] Generating tcpretrans.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcpretrans.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcpretrans.8.gz
[ 66%] Generating tcpconnect.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcpconnect.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcpconnect.8.gz
[ 66%] Generating compactsnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/compactsnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/compactsnoop.8.gz
[ 67%] Generating gethostlatency.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/gethostlatency.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/gethostlatency.8.gz
[ 67%] Generating uthreads.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/uthreads.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/uthreads.8.gz
[ 67%] Generating tclcalls.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tclcalls.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tclcalls.8.gz
[ 68%] Generating runqlat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/runqlat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/runqlat.8.gz
[ 68%] Generating xfsslower.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/xfsslower.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/xfsslower.8.gz
[ 69%] Generating ustat.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/ustat.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/ustat.8.gz
[ 69%] Generating opensnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/opensnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/opensnoop.8.gz
[ 69%] Generating cpudist.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/cpudist.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/cpudist.8.gz
[ 70%] Generating hardirqs.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/hardirqs.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/hardirqs.8.gz
[ 70%] Generating tcpsubnet.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/tcpsubnet.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/tcpsubnet.8.gz
[ 70%] Generating funclatency.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/funclatency.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/funclatency.8.gz
[ 71%] Generating oomkill.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/oomkill.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/oomkill.8.gz
[ 71%] Generating perlflow.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/perlflow.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/perlflow.8.gz
[ 72%] Generating ttysnoop.8.gz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 && /bin/gzip -c /tmp/debuild.LopzAQ/bcc/man/man8/ttysnoop.8 > /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/ttysnoop.8.gz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 72%] Built target man
make -f src/cc/CMakeFiles/bcc-static.dir/build.make src/cc/CMakeFiles/bcc-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bcc-static.dir/DependInfo.cmake --color=
Scanning dependencies of target bcc-shared
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bcc-shared.dir/build.make src/cc/CMakeFiles/bcc-shared.dir/build
Scanning dependencies of target bcc-static
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bcc-static.dir/build.make src/cc/CMakeFiles/bcc-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 72%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/link_all.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/link_all.cc
[ 72%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/bcc_common.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_common.cc
[ 73%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/bcc_common.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_common.cc
[ 74%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/bpf_module.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bpf_module.cc
[ 74%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/bpf_module.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bpf_module.cc
[ 74%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/bcc_btf.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_btf.cc
[ 74%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/bcc_btf.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_btf.cc
[ 74%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/exported_files.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/exported_files.cc
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/exported_files.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/exported_files.cc
[ 76%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bpf_module_rw_engine.cc
[ 76%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bpf_module_rw_engine.cc
[ 76%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/table_storage.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/table_storage.cc
[ 76%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/table_storage.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/table_storage.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/table_storage.cc
[ 77%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/shared_table.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/shared_table.cc
[ 77%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/shared_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/shared_table.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/shared_table.cc
[ 77%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/bpffs_table.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bpffs_table.cc
[ 78%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpffs_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/bpffs_table.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bpffs_table.cc
[ 79%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/json_map_decl_visitor.cc
[ 79%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/json_map_decl_visitor.cc
[ 79%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/bcc_syms.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_syms.cc
[ 80%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/common.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/common.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/common.cc
[ 80%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/usdt/usdt.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/usdt/usdt.cc
[ 80%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-shared.dir/bcc_elf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_elf.c
[ 81%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_perf_map.c
[ 81%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-shared.dir/bcc_proc.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_proc.c
[ 81%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -Dbcc_shared_EXPORTS -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-shared.dir/common.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/common.cc
[ 81%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/usdt/usdt_args.cc
[ 82%] Linking CXX shared library libbcc.so
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/bcc-shared.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -Wl,-Bsymbolic-functions -Wl,-z,relro -static-libstdc++ -Wl,--exclude-libs=libclangFrontend.a -Wl,--exclude-libs=libclangSerialization.a -Wl,--exclude-libs=libclangDriver.a -Wl,--exclude-libs=libclangParse.a -Wl,--exclude-libs=libclangSema.a -Wl,--exclude-libs=libclangCodeGen.a -Wl,--exclude-libs=libclangAnalysis.a -Wl,--exclude-libs=libclangRewrite.a -Wl,--exclude-libs=libclangEdit.a -Wl,--exclude-libs=libclangAST.a -Wl,--exclude-libs=libclangLex.a -Wl,--exclude-libs=libclangBasic.a -Wl,--exclude-libs=libLLVMX86CodeGen.a -Wl,--exclude-libs=libLLVMX86Desc.a -Wl,--exclude-libs=libLLVMX86Info.a -Wl,--exclude-libs=libLLVMMCDisassembler.a -Wl,--exclude-libs=libLLVMX86AsmPrinter.a -Wl,--exclude-libs=libLLVMX86Utils.a -Wl,--exclude-libs=libLLVMLTO.a -Wl,--exclude-libs=libLLVMPasses.a -Wl,--exclude-libs=libLLVMipo.a -Wl,--exclude-libs=libLLVMVectorize.a -Wl,--exclude-libs=libLLVMOption.a -Wl,--exclude-libs=libLLVMObjCARCOpts.a -Wl,--exclude-libs=libLLVMMCJIT.a -Wl,--exclude-libs=libLLVMExecutionEngine.a -Wl,--exclude-libs=libLLVMRuntimeDyld.a -Wl,--exclude-libs=libLLVMLinker.a -Wl,--exclude-libs=libLLVMIRReader.a -Wl,--exclude-libs=libLLVMAsmParser.a -Wl,--exclude-libs=libLLVMDebugInfoDWARF.a -Wl,--exclude-libs=libLLVMBPFCodeGen.a -Wl,--exclude-libs=libLLVMSelectionDAG.a -Wl,--exclude-libs=libLLVMBPFDesc.a -Wl,--exclude-libs=libLLVMBPFInfo.a -Wl,--exclude-libs=libLLVMBPFAsmPrinter.a -Wl,--exclude-libs=libLLVMAsmPrinter.a -Wl,--exclude-libs=libLLVMCodeGen.a -Wl,--exclude-libs=libLLVMTarget.a -Wl,--exclude-libs=libLLVMScalarOpts.a -Wl,--exclude-libs=libLLVMInstCombine.a -Wl,--exclude-libs=libLLVMInstrumentation.a -Wl,--exclude-libs=libLLVMTransformUtils.a -Wl,--exclude-libs=libLLVMProfileData.a -Wl,--exclude-libs=libLLVMObject.a -Wl,--exclude-libs=libLLVMMCParser.a -Wl,--exclude-libs=libLLVMMC.a -Wl,--exclude-libs=libLLVMBitReader.a -Wl,--exclude-libs=libLLVMAnalysis.a -Wl,--exclude-libs=libLLVMBitWriter.a -Wl,--exclude-libs=libLLVMCore.a -Wl,--exclude-libs=libLLVMSupport.a -shared -Wl,-soname,libbcc.so.0 -o libbcc.so.0.11.0 CMakeFiles/bcc-shared.dir/link_all.cc.o CMakeFiles/bcc-shared.dir/bcc_common.cc.o CMakeFiles/bcc-shared.dir/bpf_module.cc.o CMakeFiles/bcc-shared.dir/bcc_btf.cc.o CMakeFiles/bcc-shared.dir/exported_files.cc.o CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o CMakeFiles/bcc-shared.dir/table_storage.cc.o CMakeFiles/bcc-shared.dir/shared_table.cc.o CMakeFiles/bcc-shared.dir/bpffs_table.cc.o CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o CMakeFiles/bcc-shared.dir/bcc_syms.cc.o CMakeFiles/bcc-shared.dir/bcc_elf.c.o CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o CMakeFiles/bcc-shared.dir/bcc_proc.c.o CMakeFiles/bcc-shared.dir/common.cc.o frontends/b/libb_frontend.a frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -Wl,--no-whole-archive -lelf libbcc_bpf.a -Wl,--whole-archive api/libapi-static.a -Wl,--no-whole-archive usdt/libusdt-static.a -lrt -ldl -ltinfo -lpthread -lz -lm
[ 83%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_syms.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=3 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -o CMakeFiles/bcc-static.dir/bcc_syms.cc.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_syms.cc
[ 83%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_elf.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-static.dir/bcc_elf.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_elf.c
[ 83%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_perf_map.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-static.dir/bcc_perf_map.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_perf_map.c
[ 84%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_proc.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/b -I/tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang -I/usr/lib/llvm-3.8/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -fPIC -Wno-unused-result -DCOMPAT_NEED_REALLOCARRAY -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -o CMakeFiles/bcc-static.dir/bcc_proc.c.o -c /tmp/debuild.LopzAQ/bcc/src/cc/bcc_proc.c
[ 84%] Linking CXX static library libbcc.a
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -P CMakeFiles/bcc-static.dir/cmake_clean_target.cmake
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/bcc-static.dir/link.txt --verbose=1
/usr/bin/ar qc libbcc.a CMakeFiles/bcc-static.dir/bcc_common.cc.o CMakeFiles/bcc-static.dir/bpf_module.cc.o CMakeFiles/bcc-static.dir/bcc_btf.cc.o CMakeFiles/bcc-static.dir/exported_files.cc.o CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o CMakeFiles/bcc-static.dir/table_storage.cc.o CMakeFiles/bcc-static.dir/shared_table.cc.o CMakeFiles/bcc-static.dir/bpffs_table.cc.o CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o CMakeFiles/bcc-static.dir/common.cc.o CMakeFiles/bcc-static.dir/usdt/usdt.cc.o CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o CMakeFiles/bcc-static.dir/bcc_syms.cc.o CMakeFiles/bcc-static.dir/bcc_elf.c.o CMakeFiles/bcc-static.dir/bcc_perf_map.c.o CMakeFiles/bcc-static.dir/bcc_proc.c.o
/usr/bin/ranlib libbcc.a
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 84%] Built target bcc-static
make -f examples/cpp/CMakeFiles/LLCStat.dir/build.make examples/cpp/CMakeFiles/LLCStat.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/LLCStat.dir/DependInfo.cmake --color=
Scanning dependencies of target LLCStat
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/LLCStat.dir/build.make examples/cpp/CMakeFiles/LLCStat.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 85%] Building CXX object examples/cpp/CMakeFiles/LLCStat.dir/LLCStat.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/LLCStat.dir/LLCStat.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/LLCStat.cc
[ 85%] Linking CXX executable LLCStat
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLCStat.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/LLCStat.dir/LLCStat.cc.o -o LLCStat -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc && /usr/bin/cmake -E cmake_symlink_library libbcc.so.0.11.0 libbcc.so.0 libbcc.so
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 85%] Built target bcc-shared
make -f examples/cpp/CMakeFiles/TCPSendStack.dir/build.make examples/cpp/CMakeFiles/TCPSendStack.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/TCPSendStack.dir/DependInfo.cmake --color=
Scanning dependencies of target TCPSendStack
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/TCPSendStack.dir/build.make examples/cpp/CMakeFiles/TCPSendStack.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 86%] Building CXX object examples/cpp/CMakeFiles/TCPSendStack.dir/TCPSendStack.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/TCPSendStack.dir/TCPSendStack.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/TCPSendStack.cc
[ 86%] Linking CXX executable TCPSendStack
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/TCPSendStack.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/TCPSendStack.dir/TCPSendStack.cc.o -o TCPSendStack -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 86%] Built target LLCStat
make -f examples/cpp/CMakeFiles/CPUDistribution.dir/build.make examples/cpp/CMakeFiles/CPUDistribution.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/CPUDistribution.dir/DependInfo.cmake --color=
Scanning dependencies of target CPUDistribution
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/CPUDistribution.dir/build.make examples/cpp/CMakeFiles/CPUDistribution.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 87%] Building CXX object examples/cpp/CMakeFiles/CPUDistribution.dir/CPUDistribution.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/CPUDistribution.dir/CPUDistribution.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/CPUDistribution.cc
[ 87%] Linking CXX executable CPUDistribution
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/CPUDistribution.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/CPUDistribution.dir/CPUDistribution.cc.o -o CPUDistribution -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 87%] Built target TCPSendStack
make -f examples/cpp/CMakeFiles/RecordMySQLQuery.dir/build.make examples/cpp/CMakeFiles/RecordMySQLQuery.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/RecordMySQLQuery.dir/DependInfo.cmake --color=
Scanning dependencies of target RecordMySQLQuery
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/RecordMySQLQuery.dir/build.make examples/cpp/CMakeFiles/RecordMySQLQuery.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 87%] Building CXX object examples/cpp/CMakeFiles/RecordMySQLQuery.dir/RecordMySQLQuery.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/RecordMySQLQuery.dir/RecordMySQLQuery.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/RecordMySQLQuery.cc
[ 87%] Linking CXX executable RecordMySQLQuery
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/RecordMySQLQuery.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/RecordMySQLQuery.dir/RecordMySQLQuery.cc.o -o RecordMySQLQuery -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 87%] Built target CPUDistribution
make -f examples/cpp/CMakeFiles/HelloWorld.dir/build.make examples/cpp/CMakeFiles/HelloWorld.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/HelloWorld.dir/DependInfo.cmake --color=
Scanning dependencies of target HelloWorld
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/HelloWorld.dir/build.make examples/cpp/CMakeFiles/HelloWorld.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 87%] Building CXX object examples/cpp/CMakeFiles/HelloWorld.dir/HelloWorld.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/HelloWorld.dir/HelloWorld.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/HelloWorld.cc
[ 87%] Linking CXX executable HelloWorld
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/HelloWorld.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/HelloWorld.dir/HelloWorld.cc.o -o HelloWorld -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 87%] Built target RecordMySQLQuery
make -f examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/build.make examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/DependInfo.cmake --color=
Scanning dependencies of target FollyRequestContextSwitch
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/build.make examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 87%] Building CXX object examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/FollyRequestContextSwitch.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/FollyRequestContextSwitch.dir/FollyRequestContextSwitch.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/FollyRequestContextSwitch.cc
[ 88%] Linking CXX executable FollyRequestContextSwitch
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/FollyRequestContextSwitch.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/FollyRequestContextSwitch.dir/FollyRequestContextSwitch.cc.o -o FollyRequestContextSwitch -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 88%] Built target HelloWorld
make -f examples/cpp/CMakeFiles/UseExternalMap.dir/build.make examples/cpp/CMakeFiles/UseExternalMap.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/UseExternalMap.dir/DependInfo.cmake --color=
Scanning dependencies of target UseExternalMap
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/UseExternalMap.dir/build.make examples/cpp/CMakeFiles/UseExternalMap.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 88%] Building CXX object examples/cpp/CMakeFiles/UseExternalMap.dir/UseExternalMap.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/UseExternalMap.dir/UseExternalMap.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/UseExternalMap.cc
[ 89%] Linking CXX executable UseExternalMap
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/UseExternalMap.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/UseExternalMap.dir/UseExternalMap.cc.o -o UseExternalMap -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 89%] Built target FollyRequestContextSwitch
make -f examples/cpp/CMakeFiles/RandomRead.dir/build.make examples/cpp/CMakeFiles/RandomRead.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/RandomRead.dir/DependInfo.cmake --color=
Scanning dependencies of target RandomRead
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/RandomRead.dir/build.make examples/cpp/CMakeFiles/RandomRead.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 89%] Building CXX object examples/cpp/CMakeFiles/RandomRead.dir/RandomRead.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/RandomRead.dir/RandomRead.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/RandomRead.cc
[ 90%] Linking CXX executable RandomRead
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/RandomRead.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/RandomRead.dir/RandomRead.cc.o -o RandomRead -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 90%] Built target UseExternalMap
make -f examples/cpp/CMakeFiles/CGroupTest.dir/build.make examples/cpp/CMakeFiles/CGroupTest.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/CGroupTest.dir/DependInfo.cmake --color=
Scanning dependencies of target CGroupTest
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/CGroupTest.dir/build.make examples/cpp/CMakeFiles/CGroupTest.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 90%] Building CXX object examples/cpp/CMakeFiles/CGroupTest.dir/CGroupTest.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/CGroupTest.dir/CGroupTest.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/CGroupTest.cc
[ 90%] Linking CXX executable CGroupTest
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/CGroupTest.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/CGroupTest.dir/CGroupTest.cc.o -o CGroupTest -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 90%] Built target RandomRead
make -f examples/cpp/pyperf/CMakeFiles/PyPerf.dir/build.make examples/cpp/pyperf/CMakeFiles/PyPerf.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp/pyperf /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf/CMakeFiles/PyPerf.dir/DependInfo.cmake --color=
Scanning dependencies of target PyPerf
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/pyperf/CMakeFiles/PyPerf.dir/build.make examples/cpp/pyperf/CMakeFiles/PyPerf.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 91%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerf.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/PyPerf.dir/PyPerf.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/pyperf/PyPerf.cc
[ 91%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerfUtil.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/PyPerf.dir/PyPerfUtil.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/pyperf/PyPerfUtil.cc
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 91%] Built target CGroupTest
make -f tests/cc/CMakeFiles/test_static.dir/build.make tests/cc/CMakeFiles/test_static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc/CMakeFiles/test_static.dir/DependInfo.cmake --color=
Scanning dependencies of target test_static
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f tests/cc/CMakeFiles/test_static.dir/build.make tests/cc/CMakeFiles/test_static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 91%] Building C object tests/cc/CMakeFiles/test_static.dir/test_static.c.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-gcc -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-result -o CMakeFiles/test_static.dir/test_static.c.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_static.c
[ 92%] Linking CXX executable test_static
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_static.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/test_static.dir/test_static.c.o -o test_static -rdynamic ../../src/cc/libbcc.a ../../src/cc/frontends/b/libb_frontend.a ../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../src/cc/libbcc_bpf.a ../../src/cc/api/libapi-static.a ../../src/cc/usdt/libusdt-static.a ../../src/cc/libbcc-loader-static.a -lelf -lz
[ 92%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerfBPFProgram.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/PyPerf.dir/PyPerfBPFProgram.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/pyperf/PyPerfBPFProgram.cc
[ 93%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerfLoggingHelper.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/PyPerf.dir/PyPerfLoggingHelper.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/pyperf/PyPerfLoggingHelper.cc
[ 93%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerfDefaultPrinter.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/PyPerf.dir/PyPerfDefaultPrinter.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/pyperf/PyPerfDefaultPrinter.cc
[ 93%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/Py36Offsets.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf && /usr/bin/x86_64-linux-gnu-g++ -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -std=gnu++14 -o CMakeFiles/PyPerf.dir/Py36Offsets.cc.o -c /tmp/debuild.LopzAQ/bcc/examples/cpp/pyperf/Py36Offsets.cc
[ 94%] Linking CXX executable PyPerf
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf && /usr/bin/cmake -E cmake_link_script CMakeFiles/PyPerf.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/PyPerf.dir/PyPerf.cc.o CMakeFiles/PyPerf.dir/PyPerfUtil.cc.o CMakeFiles/PyPerf.dir/PyPerfBPFProgram.cc.o CMakeFiles/PyPerf.dir/PyPerfLoggingHelper.cc.o CMakeFiles/PyPerf.dir/PyPerfDefaultPrinter.cc.o CMakeFiles/PyPerf.dir/Py36Offsets.cc.o -o PyPerf -rdynamic ../../../src/cc/libbcc.a ../../../src/cc/frontends/b/libb_frontend.a ../../../src/cc/frontends/clang/libclang_frontend.a -Wl,--whole-archive /usr/lib/llvm-3.8/lib/libclangFrontend.a /usr/lib/llvm-3.8/lib/libclangSerialization.a /usr/lib/llvm-3.8/lib/libclangDriver.a /usr/lib/llvm-3.8/lib/libclangParse.a /usr/lib/llvm-3.8/lib/libclangSema.a /usr/lib/llvm-3.8/lib/libclangCodeGen.a /usr/lib/llvm-3.8/lib/libclangAnalysis.a /usr/lib/llvm-3.8/lib/libclangRewrite.a /usr/lib/llvm-3.8/lib/libclangEdit.a /usr/lib/llvm-3.8/lib/libclangAST.a /usr/lib/llvm-3.8/lib/libclangLex.a /usr/lib/llvm-3.8/lib/libclangBasic.a /usr/lib/llvm-3.8/lib/libLLVMX86CodeGen.a /usr/lib/llvm-3.8/lib/libLLVMX86Desc.a /usr/lib/llvm-3.8/lib/libLLVMX86Info.a /usr/lib/llvm-3.8/lib/libLLVMMCDisassembler.a /usr/lib/llvm-3.8/lib/libLLVMX86AsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMX86Utils.a /usr/lib/llvm-3.8/lib/libLLVMLTO.a /usr/lib/llvm-3.8/lib/libLLVMPasses.a /usr/lib/llvm-3.8/lib/libLLVMipo.a /usr/lib/llvm-3.8/lib/libLLVMVectorize.a /usr/lib/llvm-3.8/lib/libLLVMOption.a /usr/lib/llvm-3.8/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-3.8/lib/libLLVMMCJIT.a /usr/lib/llvm-3.8/lib/libLLVMExecutionEngine.a /usr/lib/llvm-3.8/lib/libLLVMRuntimeDyld.a /usr/lib/llvm-3.8/lib/libLLVMLinker.a /usr/lib/llvm-3.8/lib/libLLVMIRReader.a /usr/lib/llvm-3.8/lib/libLLVMAsmParser.a /usr/lib/llvm-3.8/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-3.8/lib/libLLVMBPFCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMSelectionDAG.a /usr/lib/llvm-3.8/lib/libLLVMBPFDesc.a /usr/lib/llvm-3.8/lib/libLLVMBPFInfo.a /usr/lib/llvm-3.8/lib/libLLVMBPFAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMAsmPrinter.a /usr/lib/llvm-3.8/lib/libLLVMCodeGen.a /usr/lib/llvm-3.8/lib/libLLVMTarget.a /usr/lib/llvm-3.8/lib/libLLVMScalarOpts.a /usr/lib/llvm-3.8/lib/libLLVMInstCombine.a /usr/lib/llvm-3.8/lib/libLLVMInstrumentation.a /usr/lib/llvm-3.8/lib/libLLVMTransformUtils.a /usr/lib/llvm-3.8/lib/libLLVMProfileData.a /usr/lib/llvm-3.8/lib/libLLVMObject.a /usr/lib/llvm-3.8/lib/libLLVMMCParser.a /usr/lib/llvm-3.8/lib/libLLVMMC.a /usr/lib/llvm-3.8/lib/libLLVMBitReader.a /usr/lib/llvm-3.8/lib/libLLVMAnalysis.a /usr/lib/llvm-3.8/lib/libLLVMBitWriter.a /usr/lib/llvm-3.8/lib/libLLVMCore.a /usr/lib/llvm-3.8/lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lm -Wl,--no-whole-archive -lelf ../../../src/cc/libbcc_bpf.a ../../../src/cc/api/libapi-static.a ../../../src/cc/usdt/libusdt-static.a ../../../src/cc/libbcc-loader-static.a -lelf -lz
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 94%] Built target test_static
make -f tests/cc/CMakeFiles/test_libbcc.dir/build.make tests/cc/CMakeFiles/test_libbcc.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc/CMakeFiles/test_libbcc.dir/DependInfo.cmake --color=
Scanning dependencies of target test_libbcc
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f tests/cc/CMakeFiles/test_libbcc.dir/build.make tests/cc/CMakeFiles/test_libbcc.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_libbcc.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_libbcc.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_libbcc.cc
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 94%] Built target PyPerf
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_c_api.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_c_api.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_c_api.cc
[ 95%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_array_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_array_table.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_array_table.cc
[ 95%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_bpf_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_bpf_table.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_bpf_table.cc
[ 95%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_cg_storage.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_cg_storage.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_cg_storage.cc
[ 96%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_hash_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_hash_table.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_hash_table.cc
[ 96%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_map_in_map.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_map_in_map.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_map_in_map.cc
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_perf_event.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_perf_event.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_perf_event.cc
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_pinned_table.cc
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_prog_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_prog_table.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_prog_table.cc
[ 98%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_shared_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_shared_table.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_shared_table.cc
[ 98%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_sk_storage.cc
[ 98%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sock_table.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_sock_table.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_sock_table.cc
[ 99%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_usdt_args.cc
[ 99%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/test_usdt_probes.cc
[100%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/utils.cc.o
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/x86_64-linux-gnu-g++ -DLIBBCC_NAME=\"libbcc.so\" -I/usr/lib/llvm-3.8/include/../tools/clang/include -I/tmp/debuild.LopzAQ/bcc/src/cc -I/tmp/debuild.LopzAQ/bcc/src/cc/api -I/tmp/debuild.LopzAQ/bcc/src/cc/libbpf/include/uapi -I/tmp/debuild.LopzAQ/bcc/tests/python/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -std=gnu++14 -o CMakeFiles/test_libbcc.dir/utils.cc.o -c /tmp/debuild.LopzAQ/bcc/tests/cc/utils.cc
[100%] Linking CXX executable test_libbcc
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_libbcc.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -isystem /usr/lib/llvm-3.8/include -Wno-unused-result -Wl,-Bsymbolic-functions -Wl,-z,relro CMakeFiles/test_libbcc.dir/test_libbcc.cc.o CMakeFiles/test_libbcc.dir/test_c_api.cc.o CMakeFiles/test_libbcc.dir/test_array_table.cc.o CMakeFiles/test_libbcc.dir/test_bpf_table.cc.o CMakeFiles/test_libbcc.dir/test_cg_storage.cc.o CMakeFiles/test_libbcc.dir/test_hash_table.cc.o CMakeFiles/test_libbcc.dir/test_map_in_map.cc.o CMakeFiles/test_libbcc.dir/test_perf_event.cc.o CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o CMakeFiles/test_libbcc.dir/test_prog_table.cc.o CMakeFiles/test_libbcc.dir/test_shared_table.cc.o CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o CMakeFiles/test_libbcc.dir/test_sock_table.cc.o CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o CMakeFiles/test_libbcc.dir/utils.cc.o -o test_libbcc -L/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc -rdynamic -lbcc -ldl libusdt_test_lib.so -Wl,-rpath,/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc:/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[100%] Built target test_libbcc
make[2]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/CMakeFiles 0
make[1]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
debian/rules override_dh_auto_test
make[1]: Entering directory '/tmp/debuild.LopzAQ/bcc'
dh_auto_test -O--buildsystem=cmake -O--no-parallel
make[1]: Leaving directory '/tmp/debuild.LopzAQ/bcc'
fakeroot debian/rules binary
dh binary --buildsystem=cmake --parallel --with python2,python3
dh_testroot -O--buildsystem=cmake -O--parallel
dh_prep -O--buildsystem=cmake -O--parallel
dh_auto_install -O--buildsystem=cmake -O--parallel
make -j2 install DESTDIR=/tmp/debuild.LopzAQ/bcc/debian/tmp AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/tmp/debuild.LopzAQ/bcc -B/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/CMakeFiles /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/depend
make -f src/cc/CMakeFiles/bpf-static.dir/build.make src/cc/CMakeFiles/bpf-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bpf-static.dir/DependInfo.cmake --color=
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc/frontends/clang /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bpf-static.dir/build.make src/cc/CMakeFiles/bpf-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/CMakeFiles/bpf-static.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 5%] Built target bpf-static
make -f src/cc/api/CMakeFiles/api-static.dir/build.make src/cc/api/CMakeFiles/api-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc/api /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/api /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/api/CMakeFiles/api-static.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/api/CMakeFiles/api-static.dir/build.make src/cc/api/CMakeFiles/api-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/api/CMakeFiles/api-static.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 6%] Built target api-static
make -f src/cc/usdt/CMakeFiles/usdt-static.dir/build.make src/cc/usdt/CMakeFiles/usdt-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc/usdt /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/usdt /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/usdt/CMakeFiles/usdt-static.dir/DependInfo.cmake --color=
[ 8%] Built target clang_frontend
make -f src/cc/frontends/b/CMakeFiles/b_frontend.dir/build.make src/cc/frontends/b/CMakeFiles/b_frontend.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc/frontends/b /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/frontends/b/CMakeFiles/b_frontend.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/usdt/CMakeFiles/usdt-static.dir/build.make src/cc/usdt/CMakeFiles/usdt-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/usdt/CMakeFiles/usdt-static.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 9%] Built target usdt-static
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/frontends/b/CMakeFiles/b_frontend.dir/build.make src/cc/frontends/b/CMakeFiles/b_frontend.dir/build
make -f src/cc/CMakeFiles/bcc-loader-static.dir/build.make src/cc/CMakeFiles/bcc-loader-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bcc-loader-static.dir/DependInfo.cmake --color=
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/frontends/b/CMakeFiles/b_frontend.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 13%] Built target b_frontend
make -f src/cc/CMakeFiles/bpf-shared.dir/build.make src/cc/CMakeFiles/bpf-shared.dir/depend
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bcc-loader-static.dir/build.make src/cc/CMakeFiles/bcc-loader-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/CMakeFiles/bcc-loader-static.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bpf-shared.dir/DependInfo.cmake --color=
[ 15%] Built target bcc-loader-static
make -f src/python/CMakeFiles/bcc_py_python2.dir/build.make src/python/CMakeFiles/bcc_py_python2.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/python /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python/CMakeFiles/bcc_py_python2.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bpf-shared.dir/build.make src/cc/CMakeFiles/bpf-shared.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/CMakeFiles/bpf-shared.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/python/CMakeFiles/bcc_py_python2.dir/build.make src/python/CMakeFiles/bcc_py_python2.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/python/CMakeFiles/bcc_py_python2.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 21%] Built target bpf-shared
make -f src/python/CMakeFiles/bcc_py_python3.dir/build.make src/python/CMakeFiles/bcc_py_python3.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/python /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/python/CMakeFiles/bcc_py_python3.dir/DependInfo.cmake --color=
[ 22%] Built target bcc_py_python2
make -f src/lua/CMakeFiles/bcc-lua.dir/build.make src/lua/CMakeFiles/bcc-lua.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/lua /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/lua /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/lua/CMakeFiles/bcc-lua.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/python/CMakeFiles/bcc_py_python3.dir/build.make src/python/CMakeFiles/bcc_py_python3.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/python/CMakeFiles/bcc_py_python3.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/lua/CMakeFiles/bcc-lua.dir/build.make src/lua/CMakeFiles/bcc-lua.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/lua/CMakeFiles/bcc-lua.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 22%] Built target bcc_py_python3
make -f introspection/CMakeFiles/bps.dir/build.make introspection/CMakeFiles/bps.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/introspection /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/introspection /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/introspection/CMakeFiles/bps.dir/DependInfo.cmake --color=
[ 24%] Built target bcc-lua
make -f man/man8/CMakeFiles/man.dir/build.make man/man8/CMakeFiles/man.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/man/man8 /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8 /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/man/man8/CMakeFiles/man.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f introspection/CMakeFiles/bps.dir/build.make introspection/CMakeFiles/bps.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'introspection/CMakeFiles/bps.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f man/man8/CMakeFiles/man.dir/build.make man/man8/CMakeFiles/man.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'man/man8/CMakeFiles/man.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 25%] Built target bps
make -f tests/cc/CMakeFiles/usdt_test_lib.dir/build.make tests/cc/CMakeFiles/usdt_test_lib.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc/CMakeFiles/usdt_test_lib.dir/DependInfo.cmake --color=
[ 71%] Built target man
make -f src/cc/CMakeFiles/bcc-shared.dir/build.make src/cc/CMakeFiles/bcc-shared.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bcc-shared.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f tests/cc/CMakeFiles/usdt_test_lib.dir/build.make tests/cc/CMakeFiles/usdt_test_lib.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'tests/cc/CMakeFiles/usdt_test_lib.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 72%] Built target usdt_test_lib
make -f src/cc/CMakeFiles/bcc-static.dir/build.make src/cc/CMakeFiles/bcc-static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/src/cc/CMakeFiles/bcc-static.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bcc-shared.dir/build.make src/cc/CMakeFiles/bcc-shared.dir/build
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f src/cc/CMakeFiles/bcc-static.dir/build.make src/cc/CMakeFiles/bcc-static.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/CMakeFiles/bcc-shared.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'src/cc/CMakeFiles/bcc-static.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 78%] Built target bcc-shared
make -f tests/cc/CMakeFiles/test_libbcc.dir/build.make tests/cc/CMakeFiles/test_libbcc.dir/depend
[ 84%] Built target bcc-static
make -f examples/cpp/CMakeFiles/LLCStat.dir/build.make examples/cpp/CMakeFiles/LLCStat.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc/CMakeFiles/test_libbcc.dir/DependInfo.cmake --color=
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/LLCStat.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f tests/cc/CMakeFiles/test_libbcc.dir/build.make tests/cc/CMakeFiles/test_libbcc.dir/build
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/LLCStat.dir/build.make examples/cpp/CMakeFiles/LLCStat.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'tests/cc/CMakeFiles/test_libbcc.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/LLCStat.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 90%] Built target test_libbcc
make -f examples/cpp/CMakeFiles/TCPSendStack.dir/build.make examples/cpp/CMakeFiles/TCPSendStack.dir/depend
[ 91%] Built target LLCStat
make -f examples/cpp/CMakeFiles/CPUDistribution.dir/build.make examples/cpp/CMakeFiles/CPUDistribution.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/TCPSendStack.dir/DependInfo.cmake --color=
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/CPUDistribution.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/TCPSendStack.dir/build.make examples/cpp/CMakeFiles/TCPSendStack.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/TCPSendStack.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/CPUDistribution.dir/build.make examples/cpp/CMakeFiles/CPUDistribution.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/CPUDistribution.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 92%] Built target TCPSendStack
make -f examples/cpp/CMakeFiles/RecordMySQLQuery.dir/build.make examples/cpp/CMakeFiles/RecordMySQLQuery.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/RecordMySQLQuery.dir/DependInfo.cmake --color=
[ 93%] Built target CPUDistribution
make -f examples/cpp/CMakeFiles/HelloWorld.dir/build.make examples/cpp/CMakeFiles/HelloWorld.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/HelloWorld.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/RecordMySQLQuery.dir/build.make examples/cpp/CMakeFiles/RecordMySQLQuery.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/RecordMySQLQuery.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/HelloWorld.dir/build.make examples/cpp/CMakeFiles/HelloWorld.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/HelloWorld.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 93%] Built target RecordMySQLQuery
make -f examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/build.make examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/DependInfo.cmake --color=
[ 93%] Built target HelloWorld
make -f examples/cpp/CMakeFiles/UseExternalMap.dir/build.make examples/cpp/CMakeFiles/UseExternalMap.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/UseExternalMap.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/build.make examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/build
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/UseExternalMap.dir/build.make examples/cpp/CMakeFiles/UseExternalMap.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/UseExternalMap.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 94%] Built target FollyRequestContextSwitch
make -f examples/cpp/CMakeFiles/RandomRead.dir/build.make examples/cpp/CMakeFiles/RandomRead.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/RandomRead.dir/DependInfo.cmake --color=
[ 95%] Built target UseExternalMap
make -f examples/cpp/CMakeFiles/CGroupTest.dir/build.make examples/cpp/CMakeFiles/CGroupTest.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/CMakeFiles/CGroupTest.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/RandomRead.dir/build.make examples/cpp/CMakeFiles/RandomRead.dir/build
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/CMakeFiles/CGroupTest.dir/build.make examples/cpp/CMakeFiles/CGroupTest.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/RandomRead.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/CMakeFiles/CGroupTest.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 96%] Built target RandomRead
[ 96%] Built target CGroupTest
make -f examples/cpp/pyperf/CMakeFiles/PyPerf.dir/build.make examples/cpp/pyperf/CMakeFiles/PyPerf.dir/depend
make -f tests/cc/CMakeFiles/test_static.dir/build.make tests/cc/CMakeFiles/test_static.dir/depend
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/tests/cc/CMakeFiles/test_static.dir/DependInfo.cmake --color=
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
cd /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/debuild.LopzAQ/bcc /tmp/debuild.LopzAQ/bcc/examples/cpp/pyperf /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/examples/cpp/pyperf/CMakeFiles/PyPerf.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f tests/cc/CMakeFiles/test_static.dir/build.make tests/cc/CMakeFiles/test_static.dir/build
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make -f examples/cpp/pyperf/CMakeFiles/PyPerf.dir/build.make examples/cpp/pyperf/CMakeFiles/PyPerf.dir/build
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'tests/cc/CMakeFiles/test_static.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'examples/cpp/pyperf/CMakeFiles/PyPerf.dir/build'.
make[3]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
[ 97%] Built target test_static
[100%] Built target PyPerf
make[2]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu/CMakeFiles 0
make -f CMakeFiles/Makefile2 preinstall
make[2]: Entering directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
make[2]: Nothing to be done for 'preinstall'.
make[2]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc.so.0.11.0
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc.so.0
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc.so
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc.a
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc-loader-static.a
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc_bpf.a
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/file_desc.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/table_desc.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/table_storage.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/bcc_common.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/bpf_module.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/bcc_exception.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/bcc_syms.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/bcc_proc.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/bcc_elf.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/bcc_usdt.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/compat/linux
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/compat/linux/if_xdp.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/compat/linux/netlink.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/compat/linux/if_link.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/compat/linux/bpf_common.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/compat/linux/bpf.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/compat/linux/btf.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/libbcc.pc
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/libbpf.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/perf_reader.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/x86_64-linux-gnu/libbcc_bpf.so
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/BPF.h
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/include/bcc/BPFTable.h
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/bcc
copying bcc/usdt.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/version.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/syscall.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/utils.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/perf.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/__init__.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/table.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/tcp.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/libbcc.py -> build/lib.linux-x86_64-2.7/bcc
copying bcc/disassembler.py -> build/lib.linux-x86_64-2.7/bcc
running install_lib
creating /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7
creating /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages
creating /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/usdt.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/version.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/syscall.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/utils.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/perf.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/__init__.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/table.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/tcp.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/libbcc.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
copying build/lib.linux-x86_64-2.7/bcc/disassembler.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/usdt.py to usdt.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/version.py to version.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/syscall.py to syscall.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/utils.py to utils.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/perf.py to perf.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/__init__.py to __init__.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/table.py to table.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/tcp.py to tcp.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/libbcc.py to libbcc.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc/disassembler.py to disassembler.pyc
running install_egg_info
Writing /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python2.7/dist-packages/bcc-0.11.0.egg-info
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/bcc
copying bcc/usdt.py -> build/lib/bcc
copying bcc/version.py -> build/lib/bcc
copying bcc/syscall.py -> build/lib/bcc
copying bcc/utils.py -> build/lib/bcc
copying bcc/perf.py -> build/lib/bcc
copying bcc/__init__.py -> build/lib/bcc
copying bcc/table.py -> build/lib/bcc
copying bcc/tcp.py -> build/lib/bcc
copying bcc/libbcc.py -> build/lib/bcc
copying bcc/disassembler.py -> build/lib/bcc
running install_lib
creating /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3
creating /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages
creating /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/usdt.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/version.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/syscall.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/utils.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/perf.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/__init__.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/table.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/tcp.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/libbcc.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
copying build/lib/bcc/disassembler.py -> /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/usdt.py to usdt.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/version.py to version.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/syscall.py to syscall.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/utils.py to utils.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/perf.py to perf.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/__init__.py to __init__.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/table.py to table.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/tcp.py to tcp.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/libbcc.py to libbcc.cpython-35.pyc
byte-compiling /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc/disassembler.py to disassembler.cpython-35.pyc
running install_egg_info
Writing /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/lib/python3/dist-packages/bcc-0.11.0.egg-info
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/bin/bcc-lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/introspection/bps
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/hello_world.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/bashreadline.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/memleak.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/kprobe-write.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/uprobe-readline-perf.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/sock-parse-dns.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/sock-parse-http.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/uprobe-readline.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/offcputime.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/kprobe-latency.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/bashreadline.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/usdt_ruby.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/uprobe-tailkt.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/task_switch.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/strlen_count.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/tracepoint-offcputime.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/sock-proto.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/lua/sock-protolen.lua
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/simulation.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/simple_tc.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tc_perf_event.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/distributed_bridge/simulation.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/distributed_bridge/tunnel.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/distributed_bridge/tunnel_mesh.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/distributed_bridge/main.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/distributed_bridge/tunnel_mesh.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/distributed_bridge/tunnel.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/neighbor_sharing/README.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/neighbor_sharing/simulation.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/neighbor_sharing/tc_neighbor_sharing.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/neighbor_sharing/tc_neighbor_sharing.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/vlan_learning/README.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/vlan_learning/simulation.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/vlan_learning/vlan_learning.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/vlan_learning/vlan_learning.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/README.md
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/chord.png
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/monitor.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/simulation.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/vxlan.jpg
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/main.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/monitor.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/setup.sh
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/tunnel_monitor/traffic.sh
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/http_filter/http-parse-complete.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/http_filter/http-parse-simple.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/http_filter/README.md
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/http_filter/http-parse-complete.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/http_filter/http-parse-simple.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/xdp/xdp_redirect_map.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/xdp/xdp_redirect_cpu.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/xdp/xdp_macswap_count.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/networking/xdp/xdp_drop_count.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/strlen_count.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/kvm_hypercall.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/mallocstacks.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/disksnoop.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/stack_buildid_example.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/hello_fields.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/dddos.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/strlen_snoop.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/urandomread-explicit.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/task_switch.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/bitehist.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/trace_fields.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/tcpv4connect.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/trace_perf_output.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/nodejs_http_server.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/strlen_hist.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/vfsreadlat.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/stacksnoop.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/hello_perf_output.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/mysqld_query.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/sync_timing.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/urandomread.py
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/vfsreadlat.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/task_switch.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/CMakeLists.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/disksnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/stacksnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/mysqld_query_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/dddos_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/kvm_hypercall.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/vfsreadlat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/bitehist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/urandomread_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/nodejs_http_server_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/examples/tracing/tcpv4connect_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/execsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tclobjnew.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/javaflow.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/bpflist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/ext4slower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/rubycalls.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/fileslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/drsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/ucalls.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/rubygc.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/pythoncalls.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/profile.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/nodegc.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/nodestat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/ugc.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tclflow.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/javathreads.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/rubyobjnew.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/exitsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcpaccept.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/phpstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/funcslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/pythonstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/offcputime.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcptracer.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/biotop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/dcstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/bps.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/vfsstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/rubyflow.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/cachetop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/ext4dist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/vfscount.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/cthreads.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/biolatency.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/criticalstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/sofdsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/uobjnew.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/nfsslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/cachestat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/runqslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/softirqs.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/sslsniff.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/cobjnew.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/llcstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/javaobjnew.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/argdist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/solisten.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/perlcalls.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/syncsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/inject.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcpdrop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/slabratetop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/pythongc.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcpconnlat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/dbslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/memleak.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/javagc.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcplife.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/zfsdist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/cpuunclaimed.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/spfdsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/wakeuptime.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/phpcalls.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/mdflush.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/pythonflow.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/syscount.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/rubystat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/pidpersec.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/trace.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/shmsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/deadlock.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/xfsdist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/funccount.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/filetop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/killsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcpstates.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/javastat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/stackcount.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/nfsdist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/statsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/reset-trace.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/dcsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/btrfsdist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/capable.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/btrfsslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/filelife.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/klockstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/perlstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tplist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/bitesize.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcptop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/offwaketime.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/uflow.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/runqlen.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/mountsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/mysqld_qslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/javacalls.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/zfsslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/dbstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tclstat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/bashreadline.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/phpflow.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/biosnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcpretrans.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcpconnect.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/compactsnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/gethostlatency.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/uthreads.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tclcalls.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/runqlat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/xfsslower.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/ustat.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/opensnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/cpudist.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/hardirqs.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/tcpsubnet.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/funclatency.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/oomkill.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/perlflow.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/man/man8/ttysnoop.8.gz
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/biotop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/dbslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tplist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/deadlock
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/funccount
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/mountsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/capable
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/biosnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcpstates
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/nfsslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/ext4slower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/funcslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/btrfsdist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/xfsdist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/shmsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/slabratetop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/runqslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcpconnlat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcpsubnet
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/zfsslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/vfsstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/dbstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/killsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/vfscount
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcplife
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/offwaketime
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/execsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/exitsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcpconnect
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/dcsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcpaccept
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcptracer
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/zfsdist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/ext4dist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/bitesize
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/fileslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/filelife
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/klockstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/ttysnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcpdrop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/syncsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/argdist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/btrfsslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/syscount
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/bashreadline
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/profile
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/cachetop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcpretrans
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/cpudist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/oomkill
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/statsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/filetop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/funclatency
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/dcstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/memleak
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/sslsniff
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tcptop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/mysqld_qslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/trace
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/softirqs
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/opensnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/drsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/mdflush
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/biolatency
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/runqlat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/xfsslower
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/inject
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/gethostlatency
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/nfsdist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/criticalstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/offcputime
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/hardirqs
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/bpflist
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/pidpersec
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/solisten
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/sofdsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/cpuunclaimed
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/compactsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/wakeuptime
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/stackcount
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/cachestat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/llcstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/runqlen
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/cobjnew
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/perlstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/rubyflow
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/phpflow
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tclstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/javathreads
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/javastat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/nodestat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/reset-trace
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tclobjnew
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/javaobjnew
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/nodegc
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/perlflow
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/pythongc
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/pythonflow
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/phpstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/javagc
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/javacalls
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tclflow
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/pythoncalls
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/rubyobjnew
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/phpcalls
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/rubystat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/rubygc
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/pythonstat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/tclcalls
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/perlcalls
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/rubycalls
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/javaflow
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/deadlock.c
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/javastat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/javathreads_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcpconnlat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/ttysnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/criticalstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/cpudist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/biosnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcpsubnet_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/cobjnew_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/pythonstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/btrfsslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/runqslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/argdist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/statsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/pidpersec_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/xfsslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/capable_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/syncsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/softirqs_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/execsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/perlstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/profile_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/hardirqs_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/cachestat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/funccount_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/llcstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/opensnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/gethostlatency_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcplife_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/reset-trace_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/sofdsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/zfsdist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/stackcount_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/nfsdist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcptop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/wakeuptime_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tclcalls_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/dbslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/mdflush_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/btrfsdist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/rubyobjnew_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/cachetop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/compactsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/javacalls_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/javagc_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/fileslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/javaflow_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/exitsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/offwaketime_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcptracer_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/drsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/zfsslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/slabratetop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/biolatency_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/trace_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/filetop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/oomkill_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/phpcalls_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/solisten_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcpretrans_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/memleak_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/cpuunclaimed_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/bpflist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/xfsdist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/dbstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/pythongc_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/ext4dist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/rubyflow_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/pythoncalls_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/nodestat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcpdrop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tplist_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/rubystat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/dcstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/offcputime_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcpaccept_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/mysqld_qslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/phpflow_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/bashreadline_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/rubycalls_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/perlflow_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/cthreads_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/deadlock_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tclflow_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/vfscount_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/pythonflow_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/funclatency_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/filelife_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tclstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/mountsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/runqlat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/sslsniff_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/biotop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcpconnect_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/phpstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/perlcalls_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/killsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/klockstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/ext4slower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/inject_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/rubygc_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/syscount_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/runqlen_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tclobjnew_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/javaobjnew_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/vfsstat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/shmsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/tcpstates_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/bitesize_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/nfsslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/nodegc_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/funcslower_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/dcsnoop_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/lib/ucalls
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/lib/uthreads
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/lib/ustat
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/lib/ugc
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/lib/uobjnew
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/lib/uflow
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/lib/ucalls_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/lib/ustat_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/lib/uobjnew_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/lib/uthreads_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/lib/ugc_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/doc/lib/uflow_example.txt
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/biosnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/killsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/offwaketime
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/tcpconnect
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/tcpaccept
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/filelife
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/syncsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/bashreadline
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/profile
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/oomkill
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/statsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/memleak
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/stacksnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/softirqs
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/opensnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/gethostlatency
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/offcputime
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/compactsnoop
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/wakeuptime
-- Installing: /tmp/debuild.LopzAQ/bcc/debian/tmp/usr/share/bcc/tools/old/stackcount
make[1]: Leaving directory '/tmp/debuild.LopzAQ/bcc/obj-x86_64-linux-gnu'
dh_install -O--buildsystem=cmake -O--parallel
dh_installdocs -O--buildsystem=cmake -O--parallel
dh_installchangelogs -O--buildsystem=cmake -O--parallel
dh_python2 -O--buildsystem=cmake -O--parallel
dh_python3 -O--buildsystem=cmake -O--parallel
dh_perl -O--buildsystem=cmake -O--parallel
dh_link -O--buildsystem=cmake -O--parallel
dh_strip_nondeterminism -O--buildsystem=cmake -O--parallel
dh_compress -O--buildsystem=cmake -O--parallel
dh_fixperms -O--buildsystem=cmake -O--parallel
dh_strip -O--buildsystem=cmake -O--parallel
dh_makeshlibs -O--buildsystem=cmake -O--parallel
dh_shlibdeps -O--buildsystem=cmake -O--parallel
dpkg-shlibdeps: warning: symbol gzclose used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol gelf_getehdr used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol elf_nextscn used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol gelf_getsym used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol gelf_getshdr used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol elf_getdata used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol elf_getscn used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol gzopen used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol elf_rawdata used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol elf_end used by debian/libbcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 found in none of the libraries
dpkg-shlibdeps: warning: 6 other similar warnings have been skipped (use -v to see them all)
dh_installdeb -O--buildsystem=cmake -O--parallel
dh_gencontrol -O--buildsystem=cmake -O--parallel
dpkg-gencontrol: warning: package libbcc: unused substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: package python-bcc: unused substitution variable ${python:Depends}
dpkg-gencontrol: warning: package python-bcc: unused substitution variable ${python:Provides}
dpkg-gencontrol: warning: package python-bcc: unused substitution variable ${python:Versions}
dpkg-gencontrol: warning: package python3-bcc: unused substitution variable ${python3:Depends}
dpkg-gencontrol: warning: package bcc-tools: unused substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: package bcc-lua: unused substitution variable ${shlibs:Depends}
dh_md5sums -O--buildsystem=cmake -O--parallel
dh_builddeb -O--buildsystem=cmake -O--parallel
dpkg-deb: building package 'libbcc-examples' in '../libbcc-examples_0.11.0-122.git.bfdac58_amd64.deb'.
dpkg-deb: building package 'libbcc' in '../libbcc_0.11.0-122.git.bfdac58_amd64.deb'.
dpkg-deb: building package 'python-bcc' in '../python-bcc_0.11.0-122.git.bfdac58_all.deb'.
dpkg-deb: building package 'python3-bcc' in '../python3-bcc_0.11.0-122.git.bfdac58_all.deb'.
dpkg-deb: building package 'bcc-tools' in '../bcc-tools_0.11.0-122.git.bfdac58_all.deb'.
dpkg-deb: building package 'bcc-lua' in '../bcc-lua_0.11.0-122.git.bfdac58_all.deb'.
dpkg-genchanges >../bcc_0.11.0-122.git.bfdac58_amd64.changes
dpkg-genchanges: warning: the current version (0.11.0-122.git.bfdac58) is earlier than the previous one (0.12.0-1)
dpkg-genchanges: including full source code in upload
dpkg-source --after-build bcc
dpkg-buildpackage: full upload (original source is included)
Now running lintian...
W: bcc source: package-depends-on-hardcoded-libc libbcc depends
E: bcc source: source-is-missing libbpf-tools/bin/bpftool
W: bcc source: debhelper-but-no-misc-depends libbcc
W: bcc source: debhelper-but-no-misc-depends libbcc-examples
W: bcc source: debhelper-but-no-misc-depends python-bcc
W: bcc source: debhelper-but-no-misc-depends python3-bcc
W: bcc source: debhelper-but-no-misc-depends bcc-tools
W: bcc source: debhelper-but-no-misc-depends bcc-lua
W: bcc source: binary-nmu-debian-revision-in-source 0.11.0-122.git.bfdac58
W: bcc source: missing-license-paragraph-in-dep5-copyright apache-2.0 (paragraph at line 5)
W: bcc source: ancient-standards-version 3.9.5 (current is 3.9.7)
E: bcc source: not-binnmuable-all-depends-any python-bcc -> libbcc
E: bcc source: not-binnmuable-all-depends-any python3-bcc -> libbcc
E: bcc source: not-binnmuable-all-depends-any bcc-lua -> libbcc
W: libbcc: package-name-doesnt-match-sonames libbcc0 libbcc-bpf0
W: libbcc: latest-debian-changelog-entry-without-new-version
W: libbcc: extra-license-file usr/share/doc/libbcc/LICENSE.txt.gz
W: libbcc: non-dev-pkg-with-shlib-symlink usr/lib/x86_64-linux-gnu/libbcc.so.0.11.0 usr/lib/x86_64-linux-gnu/libbcc.so
W: libbcc: non-dev-pkg-with-shlib-symlink usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.11.0 usr/lib/x86_64-linux-gnu/libbcc_bpf.so
W: python-bcc: latest-debian-changelog-entry-without-new-version
E: python-bcc: extended-description-is-empty
W: python-bcc: wrong-section-according-to-package-name python-bcc => python
W: libbcc-examples: latest-debian-changelog-entry-without-new-version
E: libbcc-examples: extended-description-is-empty
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/hello_world.py
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/bashreadline.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/kprobe-latency.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/kprobe-write.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/memleak.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/offcputime.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/sock-parse-dns.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/sock-parse-http.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/sock-proto.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/sock-protolen.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/strlen_count.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/task_switch.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/tracepoint-offcputime.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/uprobe-readline-perf.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/uprobe-readline.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/uprobe-tailkt.lua #!bcc-lua
W: libbcc-examples: unusual-interpreter usr/share/bcc/examples/lua/usdt_ruby.lua #!bcc-lua
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/distributed_bridge/main.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/distributed_bridge/tunnel.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/distributed_bridge/tunnel_mesh.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/http_filter/http-parse-complete.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/http_filter/http-parse-simple.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/neighbor_sharing/tc_neighbor_sharing.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/simple_tc.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/tc_perf_event.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/tunnel_monitor/main.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/tunnel_monitor/monitor.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/vlan_learning/vlan_learning.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/xdp/xdp_drop_count.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/xdp/xdp_macswap_count.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/xdp/xdp_redirect_cpu.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/networking/xdp/xdp_redirect_map.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/bitehist.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/dddos.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/disksnoop.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/hello_fields.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/hello_perf_output.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/kvm_hypercall.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/mallocstacks.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/mysqld_query.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/nodejs_http_server.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/stack_buildid_example.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/stacksnoop.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/strlen_count.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/strlen_hist.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/strlen_snoop.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/sync_timing.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/task_switch.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/tcpv4connect.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/trace_fields.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/trace_perf_output.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/urandomread-explicit.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/urandomread.py
E: libbcc-examples: python-script-but-no-python-dep usr/share/bcc/examples/tracing/vfsreadlat.py
E: bcc-tools: arch-independent-package-contains-binary-or-object usr/share/bcc/introspection/bps
E: bcc-tools: arch-dependent-file-in-usr-share usr/share/bcc/introspection/bps
E: bcc-tools: missing-dependency-on-libc needed by usr/share/bcc/introspection/bps
W: bcc-tools: latest-debian-changelog-entry-without-new-version
E: bcc-tools: extended-description-is-empty
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/argdist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/bashreadline.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/biolatency.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/biosnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/biotop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/bitesize.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/bpflist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/bps.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/btrfsdist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/btrfsslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/cachestat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/cachetop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/capable.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/cobjnew.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/compactsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/cpudist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/cpuunclaimed.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/criticalstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/cthreads.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/dbslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/dbstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/dcsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/dcstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/deadlock.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/drsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/execsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/exitsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ext4dist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ext4slower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/filelife.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/fileslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/filetop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/funccount.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/funclatency.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/funcslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/gethostlatency.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/hardirqs.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/inject.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/javacalls.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/javaflow.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/javagc.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/javaobjnew.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/javastat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/javathreads.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/killsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/klockstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/llcstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/mdflush.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/memleak.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/mountsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/mysqld_qslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/nfsdist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/nfsslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/nodegc.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/nodestat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/offcputime.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/offwaketime.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/oomkill.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/opensnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/perlcalls.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/perlflow.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/perlstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/phpcalls.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/phpflow.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/phpstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/pidpersec.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/profile.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/pythoncalls.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/pythonflow.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/pythongc.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/pythonstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/reset-trace.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/rubycalls.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/rubyflow.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/rubygc.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/rubyobjnew.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/rubystat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/runqlat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/runqlen.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/runqslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/shmsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/slabratetop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/sofdsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/softirqs.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/solisten.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/spfdsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/sslsniff.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/stackcount.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/statsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/syncsnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/syscount.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tclcalls.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tclflow.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tclobjnew.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tclstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpaccept.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpconnect.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpconnlat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpdrop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcplife.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpretrans.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpstates.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcpsubnet.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcptop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tcptracer.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/tplist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/trace.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ttysnoop.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ucalls.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/uflow.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ugc.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/uobjnew.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/ustat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/uthreads.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/vfscount.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/vfsstat.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/wakeuptime.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/xfsdist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/xfsslower.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/zfsdist.8.gz
W: bcc-tools: package-contains-timestamped-gzip usr/share/bcc/man/man8/zfsslower.8.gz
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/argdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/bashreadline
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/biolatency
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/biosnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/biotop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/bitesize
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/bpflist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/btrfsdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/btrfsslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/cachestat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/cachetop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/capable
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/compactsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/cpudist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/cpuunclaimed
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/criticalstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/dbslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/dbstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/dcsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/dcstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/deadlock
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/drsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/execsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/exitsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/ext4dist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/ext4slower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/filelife
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/fileslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/filetop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/funccount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/funclatency
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/funcslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/gethostlatency
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/hardirqs
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/inject
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/killsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/klockstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/ucalls
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/uflow
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/ugc
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/uobjnew
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/ustat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/lib/uthreads
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/llcstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/mdflush
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/memleak
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/mountsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/mysqld_qslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/nfsdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/nfsslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/offcputime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/offwaketime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/bashreadline
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/biosnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/compactsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/filelife
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/gethostlatency
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/killsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/memleak
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/offcputime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/offwaketime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/oomkill
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/opensnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/profile
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/softirqs
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/stackcount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/stacksnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/statsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/syncsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/tcpaccept
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/tcpconnect
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/old/wakeuptime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/oomkill
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/opensnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/pidpersec
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/profile
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/runqlat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/runqlen
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/runqslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/shmsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/slabratetop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/sofdsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/softirqs
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/solisten
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/sslsniff
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/stackcount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/statsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/syncsnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/syscount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpaccept
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpconnect
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpconnlat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpdrop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcplife
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpretrans
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpstates
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcpsubnet
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcptop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tcptracer
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/tplist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/trace
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/ttysnoop
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/vfscount
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/vfsstat
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/wakeuptime
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/xfsdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/xfsslower
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/zfsdist
E: bcc-tools: python-script-but-no-python-dep usr/share/bcc/tools/zfsslower
W: python3-bcc: latest-debian-changelog-entry-without-new-version
E: python3-bcc: extended-description-is-empty
E: bcc-lua: arch-independent-package-contains-binary-or-object usr/bin/bcc-lua
E: bcc-lua: missing-dependency-on-libc needed by usr/bin/bcc-lua
W: bcc-lua: latest-debian-changelog-entry-without-new-version
E: bcc-lua: extended-description-is-empty
W: bcc-lua: binary-without-manpage usr/bin/bcc-lua
Finished running lintian.
+ popd
~/jenkins/workspace/bcc-pr/label/ubuntu1604
+ cp /tmp/debuild.LopzAQ/bcc-lua_0.11.0-122.git.bfdac58_all.deb /tmp/debuild.LopzAQ/bcc-tools_0.11.0-122.git.bfdac58_all.deb /tmp/debuild.LopzAQ/libbcc_0.11.0-122.git.bfdac58_amd64.deb /tmp/debuild.LopzAQ/libbcc-examples_0.11.0-122.git.bfdac58_amd64.deb /tmp/debuild.LopzAQ/python3-bcc_0.11.0-122.git.bfdac58_all.deb /tmp/debuild.LopzAQ/python-bcc_0.11.0-122.git.bfdac58_all.deb .
+ cleanup
+ [[ -d /tmp/debuild.LopzAQ ]]
+ rm -rf /tmp/debuild.LopzAQ
+ sudo dpkg -i bcc-lua_0.11.0-122.git.bfdac58_all.deb bcc-tools_0.11.0-122.git.bfdac58_all.deb libbcc-examples_0.11.0-122.git.bfdac58_amd64.deb libbcc_0.11.0-122.git.bfdac58_amd64.deb python-bcc_0.11.0-122.git.bfdac58_all.deb python3-bcc_0.11.0-122.git.bfdac58_all.deb
Selecting previously unselected package bcc-lua.
(Reading database ... 107639 files and directories currently installed.)
Preparing to unpack bcc-lua_0.11.0-122.git.bfdac58_all.deb ...
Unpacking bcc-lua (0.11.0-122.git.bfdac58) ...
Selecting previously unselected package bcc-tools.
Preparing to unpack bcc-tools_0.11.0-122.git.bfdac58_all.deb ...
Unpacking bcc-tools (0.11.0-122.git.bfdac58) ...
Selecting previously unselected package libbcc-examples.
Preparing to unpack libbcc-examples_0.11.0-122.git.bfdac58_amd64.deb ...
Unpacking libbcc-examples (0.11.0-122.git.bfdac58) ...
Selecting previously unselected package libbcc.
Preparing to unpack libbcc_0.11.0-122.git.bfdac58_amd64.deb ...
Unpacking libbcc (0.11.0-122.git.bfdac58) ...
Selecting previously unselected package python-bcc.
Preparing to unpack python-bcc_0.11.0-122.git.bfdac58_all.deb ...
Unpacking python-bcc (0.11.0-122.git.bfdac58) ...
Selecting previously unselected package python3-bcc.
Preparing to unpack python3-bcc_0.11.0-122.git.bfdac58_all.deb ...
Unpacking python3-bcc (0.11.0-122.git.bfdac58) ...
Setting up libbcc (0.11.0-122.git.bfdac58) ...
Setting up python-bcc (0.11.0-122.git.bfdac58) ...
Setting up python3-bcc (0.11.0-122.git.bfdac58) ...
Setting up bcc-lua (0.11.0-122.git.bfdac58) ...
Setting up bcc-tools (0.11.0-122.git.bfdac58) ...
Setting up libbcc-examples (0.11.0-122.git.bfdac58) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
+ mkdir upload
+ mv bcc-lua_0.11.0-122.git.bfdac58_all.deb bcc-tools_0.11.0-122.git.bfdac58_all.deb libbcc-examples_0.11.0-122.git.bfdac58_amd64.deb libbcc_0.11.0-122.git.bfdac58_amd64.deb python-bcc_0.11.0-122.git.bfdac58_all.deb python3-bcc_0.11.0-122.git.bfdac58_all.deb upload
[ubuntu1604] $ /bin/sh -xe /tmp/jenkins6825406199229057687.sh
+ mkdir build
+ cd build
+ [[ ubuntu1604 ubuntu1604-slave-3c = *fc28* ]]
/tmp/jenkins6825406199229057687.sh: 4: /tmp/jenkins6825406199229057687.sh: [[: not found
+ cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Latest recognized Git tag is v0.12.0
-- Git HEAD is bfdac5894980e24d2cf2f305e3afa27a861ca70a
-- Revision is 0.12.0-bfdac589
-- Performing Test HAVE_NO_PIE_FLAG
-- Performing Test HAVE_NO_PIE_FLAG - Success
-- Performing Test HAVE_REALLOCARRAY_SUPPORT
-- Performing Test HAVE_REALLOCARRAY_SUPPORT - Failed
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found FLEX: /usr/bin/flex (found version "2.6.0")
-- Found LLVM: /usr/lib/llvm-3.8/include 3.8.0
-- Found LibElf: /usr/lib/x86_64-linux-gnu/libelf.so
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Success
-- Using static-libstdc++
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.a;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build
+ make -j2 -C tests/cc
make: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc'
make[1]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target bcc-loader-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 2%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
Scanning dependencies of target clang_frontend
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o
[ 2%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[ 2%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[ 5%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[ 5%] Linking CXX static library libbcc-loader-static.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 5%] Built target bcc-loader-static
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target bpf-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o
[ 8%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o
[ 8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/xsk.c.o
[ 13%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o
[ 16%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o
[ 18%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o
[ 18%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o
[ 18%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o
[ 21%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o
[ 21%] Linking C static library libbcc_bpf.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 21%] Built target bpf-static
[ 24%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o
[ 24%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o
[ 27%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target api-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 27%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
[ 29%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
[ 29%] Linking CXX static library libapi-static.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 29%] Built target api-static
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target usdt-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 29%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o
[ 29%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o
[ 29%] Linking CXX static library libclang_frontend.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 29%] Built target clang_frontend
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 32%] [FLEX][Lexer] Building scanner with flex 2.6.0
lexer.ll:110: warning, -s option given but default rule can be matched
[ 32%] [BISON][Parser] Building parser with bison 3.0.4
parser.yy:19.9-17: warning: deprecated directive, use ‘%define api.namespace ebpf::cc’ [-Wdeprecated]
%define namespace "ebpf::cc"
^^^^^^^^^
parser.yy:19.9-17: warning: %define variable 'api.namespace' requires '{...}' values [-Wdeprecated]
%define namespace "ebpf::cc"
^^^^^^^^^
parser.yy:20.9-25: warning: %define variable 'parser_class_name' requires '{...}' values [-Wdeprecated]
%define parser_class_name "BisonParser"
^^^^^^^^^^^^^^^^^
Scanning dependencies of target b_frontend
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 32%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o
[ 35%] Linking CXX static library libusdt-static.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 35%] Built target usdt-static
[ 37%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o
[ 37%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/node.cc.o
[ 37%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.cc.o
[ 40%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/printer.cc.o
[ 40%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/type_check.cc.o
[ 40%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.yy.cc.o
[ 43%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/lexer.ll.cc.o
/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/cc/frontends/b/lexer.ll.cc: In member function ‘virtual int ebpf::cc::Lexer::yylex()’:
/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/cc/frontends/b/lexer.ll.cc:764:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( yyl = 0; yyl < yyleng; ++yyl )
^
/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/cc/frontends/b/lexer.ll.cc: In member function ‘int ebpfccFlexLexer::yy_get_next_buffer()’:
/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/src/cc/frontends/b/lexer.ll.cc:1506:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
^
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target usdt_test_lib
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 43%] Building C object tests/cc/CMakeFiles/usdt_test_lib.dir/usdt_test_lib.c.o
[ 45%] Linking C shared library libusdt_test_lib.so
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 45%] Built target usdt_test_lib
[ 45%] Linking CXX static library libb_frontend.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 45%] Built target b_frontend
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target bcc-shared
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target bcc-static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 45%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[ 45%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[ 48%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
[ 51%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o
[ 54%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[ 54%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o
[ 54%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
[ 56%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o
[ 59%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
[ 59%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/table_storage.cc.o
[ 59%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
[ 62%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/shared_table.cc.o
[ 62%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
[ 62%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpffs_table.cc.o
[ 64%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
[ 64%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o
[ 64%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
[ 67%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/common.cc.o
[ 67%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt.cc.o
[ 67%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
[ 70%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
[ 70%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
[ 72%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
[ 72%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o
[ 72%] Linking CXX shared library libbcc.so
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_syms.cc.o
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 75%] Built target bcc-shared
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target test_libbcc
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 78%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_libbcc.cc.o
[ 78%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_elf.c.o
[ 81%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_perf_map.c.o
[ 81%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_proc.c.o
[ 81%] Linking CXX static library libbcc.a
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 81%] Built target bcc-static
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
Scanning dependencies of target test_static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make[2]: Entering directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 81%] Building C object tests/cc/CMakeFiles/test_static.dir/test_static.c.o
[ 83%] Linking CXX executable test_static
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[ 83%] Built target test_static
[ 83%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_c_api.cc.o
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_array_table.cc.o
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_bpf_table.cc.o
[ 86%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_cg_storage.cc.o
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_hash_table.cc.o
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_map_in_map.cc.o
[ 89%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_perf_event.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o
[ 91%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_prog_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_shared_table.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sock_table.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/utils.cc.o
[100%] Linking CXX executable test_libbcc
make[2]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
[100%] Built target test_libbcc
make[1]: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build'
make: Leaving directory '/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc'
+ ctest -V -D ExperimentalTest --no-compress-output
UpdateCTestConfiguration from :/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Cannot find file: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Site:
Build name: (empty)
Create new tag: 20200213-0642 - Experimental
UpdateCTestConfiguration from :/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Cannot find file: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/DartConfiguration.tcl
Test project /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build
Constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: style-check
1: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/scripts/c-style-check.sh
1: Test timeout computed to be: 9.99988e+06
1: diff --git a/libbpf-tools/runqslower.bpf.c b/libbpf-tools/runqslower.bpf.c
1: index 09abab2..d39cfeb 100644
1: --- a/libbpf-tools/runqslower.bpf.c
1: +++ b/libbpf-tools/runqslower.bpf.c
1: @@ -1,105 +1,99 @@
1: // SPDX-License-Identifier: GPL-2.0
1: // Copyright (c) 2019 Facebook
1: -#include "vmlinux.h"
1: -#include <bpf/bpf_helpers.h>
1: #include "runqslower.h"
1: +#include <bpf/bpf_helpers.h>
1: +#include "vmlinux.h"
1:
1: #define TASK_RUNNING 0
1:
1: -#define BPF_F_INDEX_MASK 0xffffffffULL
1: -#define BPF_F_CURRENT_CPU BPF_F_INDEX_MASK
1: +#define BPF_F_INDEX_MASK 0xffffffffULL
1: +#define BPF_F_CURRENT_CPU BPF_F_INDEX_MASK
1:
1: const volatile __u64 min_us = 0;
1: const volatile pid_t targ_pid = 0;
1: const volatile pid_t targ_tgid = 0;
1:
1: struct {
1: - __uint(type, BPF_MAP_TYPE_HASH);
1: - __uint(max_entries, 10240);
1: - __type(key, u32);
1: - __type(value, u64);
1: + __uint(type, BPF_MAP_TYPE_HASH);
1: + __uint(max_entries, 10240);
1: + __type(key, u32);
1: + __type(value, u64);
1: } start SEC(".maps");
1:
1: struct {
1: - __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
1: - __uint(key_size, sizeof(u32));
1: - __uint(value_size, sizeof(u32));
1: + __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
1: + __uint(key_size, sizeof(u32));
1: + __uint(value_size, sizeof(u32));
1: } events SEC(".maps");
1:
1: /* record enqueue timestamp */
1: -static __always_inline
1: -int trace_enqueue(u32 tgid, u32 pid)
1: -{
1: - u64 ts;
1: -
1: - if (!pid)
1: - return 0;
1: - if (targ_tgid && targ_tgid != tgid)
1: - return 0;
1: - if (targ_pid && targ_pid != pid)
1: - return 0;
1: -
1: - ts = bpf_ktime_get_ns();
1: - bpf_map_update_elem(&start, &pid, &ts, 0);
1: - return 0;
1: +static __always_inline int trace_enqueue(u32 tgid, u32 pid) {
1: + u64 ts;
1: +
1: + if (!pid)
1: + return 0;
1: + if (targ_tgid && targ_tgid != tgid)
1: + return 0;
1: + if (targ_pid && targ_pid != pid)
1: + return 0;
1: +
1: + ts = bpf_ktime_get_ns();
1: + bpf_map_update_elem(&start, &pid, &ts, 0);
1: + return 0;
1: }
1:
1: SEC("tp_btf/sched_wakeup")
1: -int handle__sched_wakeup(u64 *ctx)
1: -{
1: - /* TP_PROTO(struct task_struct *p) */
1: - struct task_struct *p = (void *)ctx[0];
1: +int handle__sched_wakeup(u64 *ctx) {
1: + /* TP_PROTO(struct task_struct *p) */
1: + struct task_struct *p = (void *)ctx[0];
1:
1: - return trace_enqueue(p->tgid, p->pid);
1: + return trace_enqueue(p->tgid, p->pid);
1: }
1:
1: SEC("tp_btf/sched_wakeup_new")
1: -int handle__sched_wakeup_new(u64 *ctx)
1: -{
1: - /* TP_PROTO(struct task_struct *p) */
1: - struct task_struct *p = (void *)ctx[0];
1: +int handle__sched_wakeup_new(u64 *ctx) {
1: + /* TP_PROTO(struct task_struct *p) */
1: + struct task_struct *p = (void *)ctx[0];
1:
1: - return trace_enqueue(p->tgid, p->pid);
1: + return trace_enqueue(p->tgid, p->pid);
1: }
1:
1: SEC("tp_btf/sched_switch")
1: -int handle__sched_switch(u64 *ctx)
1: -{
1: - /* TP_PROTO(bool preempt, struct task_struct *prev,
1: - * struct task_struct *next)
1: - */
1: - struct task_struct *prev = (struct task_struct *)ctx[1];
1: - struct task_struct *next = (struct task_struct *)ctx[2];
1: - struct event event = {};
1: - u64 *tsp, delta_us;
1: - long state;
1: - u32 pid;
1: -
1: - /* ivcsw: treat like an enqueue event and store timestamp */
1: - if (prev->state == TASK_RUNNING)
1: - trace_enqueue(prev->tgid, prev->pid);
1: -
1: - pid = next->pid;
1: -
1: - /* fetch timestamp and calculate delta */
1: - tsp = bpf_map_lookup_elem(&start, &pid);
1: - if (!tsp)
1: - return 0; /* missed enqueue */
1: -
1: - delta_us = (bpf_ktime_get_ns() - *tsp) / 1000;
1: - if (min_us && delta_us <= min_us)
1: - return 0;
1: -
1: - event.pid = pid;
1: - event.delta_us = delta_us;
1: - bpf_probe_read_str(&event.task, sizeof(event.task), next->comm);
1: -
1: - /* output */
1: - bpf_perf_event_output(ctx, &events, BPF_F_CURRENT_CPU,
1: - &event, sizeof(event));
1: -
1: - bpf_map_delete_elem(&start, &pid);
1: - return 0;
1: +int handle__sched_switch(u64 *ctx) {
1: + /* TP_PROTO(bool preempt, struct task_struct *prev,
1: + * struct task_struct *next)
1: + */
1: + struct task_struct *prev = (struct task_struct *)ctx[1];
1: + struct task_struct *next = (struct task_struct *)ctx[2];
1: + struct event event = {};
1: + u64 *tsp, delta_us;
1: + long state;
1: + u32 pid;
1: +
1: + /* ivcsw: treat like an enqueue event and store timestamp */
1: + if (prev->state == TASK_RUNNING)
1: + trace_enqueue(prev->tgid, prev->pid);
1: +
1: + pid = next->pid;
1: +
1: + /* fetch timestamp and calculate delta */
1: + tsp = bpf_map_lookup_elem(&start, &pid);
1: + if (!tsp)
1: + return 0; /* missed enqueue */
1: +
1: + delta_us = (bpf_ktime_get_ns() - *tsp) / 1000;
1: + if (min_us && delta_us <= min_us)
1: + return 0;
1: +
1: + event.pid = pid;
1: + event.delta_us = delta_us;
1: + bpf_probe_read_str(&event.task, sizeof(event.task), next->comm);
1: +
1: + /* output */
1: + bpf_perf_event_output(ctx, &events, BPF_F_CURRENT_CPU, &event, sizeof(event));
1: +
1: + bpf_map_delete_elem(&start, &pid);
1: + return 0;
1: }
1:
1: char LICENSE[] SEC("license") = "GPL";
1: diff --git a/libbpf-tools/runqslower.c b/libbpf-tools/runqslower.c
1: index 5b1a974..08bdc84 100644
1: --- a/libbpf-tools/runqslower.c
1: +++ b/libbpf-tools/runqslower.c
1: @@ -3,197 +3,187 @@
1: //
1: // Based on runqslower(8) from BCC by Ivan Babrou.
1: // 11-Feb-2020 Andrii Nakryiko Created this.
1: +#include "runqslower.h"
1: #include <argp.h>
1: +#include <bpf/bpf.h>
1: +#include <bpf/libbpf.h>
1: #include <stdio.h>
1: #include <stdlib.h>
1: #include <string.h>
1: #include <sys/resource.h>
1: #include <time.h>
1: -#include <bpf/libbpf.h>
1: -#include <bpf/bpf.h>
1: -#include "runqslower.h"
1: #include "runqslower.skel.h"
1:
1: struct env {
1: - pid_t pid;
1: - pid_t tid;
1: - __u64 min_us;
1: - bool verbose;
1: + pid_t pid;
1: + pid_t tid;
1: + __u64 min_us;
1: + bool verbose;
1: } env = {
1: - .min_us = 10000,
1: + .min_us = 10000,
1: };
1:
1: const char *argp_program_version = "runqslower 0.1";
1: const char *argp_program_bug_address = "<bpf@vger.kernel.org>";
1: const char argp_program_doc[] =
1: -"Trace high run queue latency.\n"
1: -"\n"
1: -"USAGE: runqslower [--help] [-p PID] [-t TID] [min_us]\n"
1: -"\n"
1: -"EXAMPLES:\n"
1: -" runqslower # trace latency higher than 10000 us (default)\n"
1: -" runqslower 1000 # trace latency higher than 1000 us\n"
1: -" runqslower -p 123 # trace pid 123\n"
1: -" runqslower -t 123 # trace tid 123 (use for threads only)\n";
1: + "Trace high run queue latency.\n"
1: + "\n"
1: + "USAGE: runqslower [--help] [-p PID] [-t TID] [min_us]\n"
1: + "\n"
1: + "EXAMPLES:\n"
1: + " runqslower # trace latency higher than 10000 us (default)\n"
1: + " runqslower 1000 # trace latency higher than 1000 us\n"
1: + " runqslower -p 123 # trace pid 123\n"
1: + " runqslower -t 123 # trace tid 123 (use for threads only)\n";
1:
1: static const struct argp_option opts[] = {
1: - { "pid", 'p', "PID", 0, "Process PID to trace"},
1: - { "tid", 't', "TID", 0, "Thread TID to trace"},
1: - { "verbose", 'v', NULL, 0, "Verbose debug output" },
1: - {},
1: + {"pid", 'p', "PID", 0, "Process PID to trace"},
1: + {"tid", 't', "TID", 0, "Thread TID to trace"},
1: + {"verbose", 'v', NULL, 0, "Verbose debug output"},
1: + {},
1: };
1:
1: -static error_t parse_arg(int key, char *arg, struct argp_state *state)
1: -{
1: - static int pos_args;
1: - int pid;
1: - long long min_us;
1: -
1: - switch (key) {
1: - case 'v':
1: - env.verbose = true;
1: - break;
1: - case 'p':
1: - errno = 0;
1: - pid = strtol(arg, NULL, 10);
1: - if (errno || pid <= 0) {
1: - fprintf(stderr, "Invalid PID: %s\n", arg);
1: - argp_usage(state);
1: - }
1: - env.pid = pid;
1: - break;
1: - case 't':
1: - errno = 0;
1: - pid = strtol(arg, NULL, 10);
1: - if (errno || pid <= 0) {
1: - fprintf(stderr, "Invalid TID: %s\n", arg);
1: - argp_usage(state);
1: - }
1: - env.tid = pid;
1: - break;
1: - case ARGP_KEY_ARG:
1: - if (pos_args++) {
1: - fprintf(stderr,
1: - "Unrecognized positional argument: %s\n", arg);
1: - argp_usage(state);
1: - }
1: - errno = 0;
1: - min_us = strtoll(arg, NULL, 10);
1: - if (errno || min_us <= 0) {
1: - fprintf(stderr, "Invalid delay (in us): %s\n", arg);
1: - argp_usage(state);
1: - }
1: - env.min_us = min_us;
1: - break;
1: - default:
1: - return ARGP_ERR_UNKNOWN;
1: - }
1: - return 0;
1: +static error_t parse_arg(int key, char *arg, struct argp_state *state) {
1: + static int pos_args;
1: + int pid;
1: + long long min_us;
1: +
1: + switch (key) {
1: + case 'v':
1: + env.verbose = true;
1: + break;
1: + case 'p':
1: + errno = 0;
1: + pid = strtol(arg, NULL, 10);
1: + if (errno || pid <= 0) {
1: + fprintf(stderr, "Invalid PID: %s\n", arg);
1: + argp_usage(state);
1: + }
1: + env.pid = pid;
1: + break;
1: + case 't':
1: + errno = 0;
1: + pid = strtol(arg, NULL, 10);
1: + if (errno || pid <= 0) {
1: + fprintf(stderr, "Invalid TID: %s\n", arg);
1: + argp_usage(state);
1: + }
1: + env.tid = pid;
1: + break;
1: + case ARGP_KEY_ARG:
1: + if (pos_args++) {
1: + fprintf(stderr, "Unrecognized positional argument: %s\n", arg);
1: + argp_usage(state);
1: + }
1: + errno = 0;
1: + min_us = strtoll(arg, NULL, 10);
1: + if (errno || min_us <= 0) {
1: + fprintf(stderr, "Invalid delay (in us): %s\n", arg);
1: + argp_usage(state);
1: + }
1: + env.min_us = min_us;
1: + break;
1: + default:
1: + return ARGP_ERR_UNKNOWN;
1: + }
1: + return 0;
1: }
1:
1: -int libbpf_print_fn(enum libbpf_print_level level,
1: - const char *format, va_list args)
1: -{
1: - if (level == LIBBPF_DEBUG && !env.verbose)
1: - return 0;
1: - return vfprintf(stderr, format, args);
1: +int libbpf_print_fn(enum libbpf_print_level level, const char *format,
1: + va_list args) {
1: + if (level == LIBBPF_DEBUG && !env.verbose)
1: + return 0;
1: + return vfprintf(stderr, format, args);
1: }
1:
1: -static int bump_memlock_rlimit(void)
1: -{
1: - struct rlimit rlim_new = {
1: - .rlim_cur = RLIM_INFINITY,
1: - .rlim_max = RLIM_INFINITY,
1: - };
1: +static int bump_memlock_rlimit(void) {
1: + struct rlimit rlim_new = {
1: + .rlim_cur = RLIM_INFINITY, .rlim_max = RLIM_INFINITY,
1: + };
1:
1: - return setrlimit(RLIMIT_MEMLOCK, &rlim_new);
1: + return setrlimit(RLIMIT_MEMLOCK, &rlim_new);
1: }
1:
1: -void handle_event(void *ctx, int cpu, void *data, __u32 data_sz)
1: -{
1: - const struct event *e = data;
1: - struct tm *tm;
1: - char ts[32];
1: - time_t t;
1: -
1: - time(&t);
1: - tm = localtime(&t);
1: - strftime(ts, sizeof(ts), "%H:%M:%S", tm);
1: - printf("%-8s %-16s %-6d %14llu\n", ts, e->task, e->pid, e->delta_us);
1: +void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) {
1: + const struct event *e = data;
1: + struct tm *tm;
1: + char ts[32];
1: + time_t t;
1: +
1: + time(&t);
1: + tm = localtime(&t);
1: + strftime(ts, sizeof(ts), "%H:%M:%S", tm);
1: + printf("%-8s %-16s %-6d %14llu\n", ts, e->task, e->pid, e->delta_us);
1: }
1:
1: -void handle_lost_events(void *ctx, int cpu, __u64 lost_cnt)
1: -{
1: - printf("Lost %llu events on CPU #%d!\n", lost_cnt, cpu);
1: +void handle_lost_events(void *ctx, int cpu, __u64 lost_cnt) {
1: + printf("Lost %llu events on CPU #%d!\n", lost_cnt, cpu);
1: }
1:
1: -int main(int argc, char **argv)
1: -{
1: - static const struct argp argp = {
1: - .options = opts,
1: - .parser = parse_arg,
1: - .doc = argp_program_doc,
1: - };
1: - struct perf_buffer_opts pb_opts;
1: - struct perf_buffer *pb = NULL;
1: - struct runqslower_bpf *obj;
1: - int err;
1: -
1: - err = argp_parse(&argp, argc, argv, 0, NULL, NULL);
1: - if (err)
1: - return err;
1: -
1: - libbpf_set_print(libbpf_print_fn);
1: -
1: - err = bump_memlock_rlimit();
1: - if (err) {
1: - fprintf(stderr, "failed to increase rlimit: %d\n", err);
1: - return 1;
1: - }
1: -
1: - obj = runqslower_bpf__open();
1: - if (!obj) {
1: - fprintf(stderr, "failed to open and/or load BPF object\n");
1: - return 1;
1: - }
1: -
1: - /* initialize global data (filtering options) */
1: - obj->rodata->targ_tgid = env.pid;
1: - obj->rodata->targ_pid = env.tid;
1: - obj->rodata->min_us = env.min_us;
1: -
1: - err = runqslower_bpf__load(obj);
1: - if (err) {
1: - fprintf(stderr, "failed to load BPF object: %d\n", err);
1: - goto cleanup;
1: - }
1: -
1: - err = runqslower_bpf__attach(obj);
1: - if (err) {
1: - fprintf(stderr, "failed to attach BPF programs\n");
1: - goto cleanup;
1: - }
1: -
1: - printf("Tracing run queue latency higher than %llu us\n", env.min_us);
1: - printf("%-8s %-16s %-6s %14s\n", "TIME", "COMM", "TID", "LAT(us)");
1: -
1: - pb_opts.sample_cb = handle_event;
1: - pb_opts.lost_cb = handle_lost_events;
1: - pb = perf_buffer__new(bpf_map__fd(obj->maps.events), 64, &pb_opts);
1: - err = libbpf_get_error(pb);
1: - if (err) {
1: - pb = NULL;
1: - fprintf(stderr, "failed to open perf buffer: %d\n", err);
1: - goto cleanup;
1: - }
1: -
1: - while ((err = perf_buffer__poll(pb, 100)) >= 0)
1: - ;
1: - printf("Error polling perf buffer: %d\n", err);
1: +int main(int argc, char **argv) {
1: + static const struct argp argp = {
1: + .options = opts, .parser = parse_arg, .doc = argp_program_doc,
1: + };
1: + struct perf_buffer_opts pb_opts;
1: + struct perf_buffer *pb = NULL;
1: + struct runqslower_bpf *obj;
1: + int err;
1: +
1: + err = argp_parse(&argp, argc, argv, 0, NULL, NULL);
1: + if (err)
1: + return err;
1: +
1: + libbpf_set_print(libbpf_print_fn);
1: +
1: + err = bump_memlock_rlimit();
1: + if (err) {
1: + fprintf(stderr, "failed to increase rlimit: %d\n", err);
1: + return 1;
1: + }
1: +
1: + obj = runqslower_bpf__open();
1: + if (!obj) {
1: + fprintf(stderr, "failed to open and/or load BPF object\n");
1: + return 1;
1: + }
1: +
1: + /* initialize global data (filtering options) */
1: + obj->rodata->targ_tgid = env.pid;
1: + obj->rodata->targ_pid = env.tid;
1: + obj->rodata->min_us = env.min_us;
1: +
1: + err = runqslower_bpf__load(obj);
1: + if (err) {
1: + fprintf(stderr, "failed to load BPF object: %d\n", err);
1: + goto cleanup;
1: + }
1: +
1: + err = runqslower_bpf__attach(obj);
1: + if (err) {
1: + fprintf(stderr, "failed to attach BPF programs\n");
1: + goto cleanup;
1: + }
1: +
1: + printf("Tracing run queue latency higher than %llu us\n", env.min_us);
1: + printf("%-8s %-16s %-6s %14s\n", "TIME", "COMM", "TID", "LAT(us)");
1: +
1: + pb_opts.sample_cb = handle_event;
1: + pb_opts.lost_cb = handle_lost_events;
1: + pb = perf_buffer__new(bpf_map__fd(obj->maps.events), 64, &pb_opts);
1: + err = libbpf_get_error(pb);
1: + if (err) {
1: + pb = NULL;
1: + fprintf(stderr, "failed to open perf buffer: %d\n", err);
1: + goto cleanup;
1: + }
1: +
1: + while ((err = perf_buffer__poll(pb, 100)) >= 0)
1: + ;
1: + printf("Error polling perf buffer: %d\n", err);
1:
1: cleanup:
1: - perf_buffer__free(pb);
1: - runqslower_bpf__destroy(obj);
1: + perf_buffer__free(pb);
1: + runqslower_bpf__destroy(obj);
1:
1: - return err != 0;
1: + return err != 0;
1: }
1: diff --git a/libbpf-tools/runqslower.h b/libbpf-tools/runqslower.h
1: index 9db2254..ae2f50f 100644
1: --- a/libbpf-tools/runqslower.h
1: +++ b/libbpf-tools/runqslower.h
1: @@ -5,9 +5,9 @@
1: #define TASK_COMM_LEN 16
1:
1: struct event {
1: - char task[TASK_COMM_LEN];
1: - __u64 delta_us;
1: - pid_t pid;
1: + char task[TASK_COMM_LEN];
1: + __u64 delta_us;
1: + pid_t pid;
1: };
1:
1: #endif /* __RUNQSLOWER_H */
1: diff --git a/libbpf-tools/vmlinux.h b/libbpf-tools/vmlinux.h
1: deleted file mode 120000
1: index 332faaf..0000000
1: --- a/libbpf-tools/vmlinux.h
1: +++ /dev/null
1: @@ -1 +0,0 @@
1: -vmlinux_505.h
1: \ No newline at end of file
1: diff --git a/libbpf-tools/vmlinux.h b/libbpf-tools/vmlinux.h
1: new file mode 100644
1: index 0000000..beed1f2
1: --- /dev/null
1: +++ b/libbpf-tools/vmlinux.h
1: @@ -0,0 +1,122155 @@
1: +#ifndef BPF_NO_PRESERVE_ACCESS_INDEX
1: +#pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
1: +#endif
1: +
1: +typedef signed char __s8;
1: +
1: +typedef unsigned char __u8;
1: +
1: +typedef short int __s16;
1: +
1: +typedef short unsigned int __u16;
1: +
1: +typedef int __s32;
1: +
1: +typedef unsigned int __u32;
1: +
1: +typedef long long int __s64;
1: +
1: +typedef long long unsigned int __u64;
1: +
1: +typedef __s8 s8;
1: +
1: +typedef __u8 u8;
1: +
1: +typedef __s16 s16;
1: +
1: +typedef __u16 u16;
1: +
1: +typedef __s32 s32;
1: +
1: +typedef __u32 u32;
1: +
1: +typedef __s64 s64;
1: +
1: +typedef __u64 u64;
1: +
1: +enum {
1: + false = 0,
1: + true = 1,
1: +};
1: +
1: +typedef long int __kernel_long_t;
1: +
1: +typedef long unsigned int __kernel_ulong_t;
1: +
1: +typedef int __kernel_pid_t;
1: +
1: +typedef unsigned int __kernel_uid32_t;
1: +
1: +typedef unsigned int __kernel_gid32_t;
1: +
1: +typedef __kernel_ulong_t __kernel_size_t;
1: +
1: +typedef __kernel_long_t __kernel_ssize_t;
1: +
1: +typedef long long int __kernel_loff_t;
1: +
1: +typedef long long int __kernel_time64_t;
1: +
1: +typedef __kernel_long_t __kernel_clock_t;
1: +
1: +typedef int __kernel_timer_t;
1: +
1: +typedef int __kernel_clockid_t;
1: +
1: +typedef unsigned int __poll_t;
1: +
1: +typedef u32 __kernel_dev_t;
1: +
1: +typedef __kernel_dev_t dev_t;
1: +
1: +typedef short unsigned int umode_t;
1: +
1: +typedef __kernel_pid_t pid_t;
1: +
1: +typedef __kernel_clockid_t clockid_t;
1: +
1: +typedef _Bool bool;
1: +
1: +typedef __kernel_uid32_t uid_t;
1: +
1: +typedef __kernel_gid32_t gid_t;
1: +
1: +typedef __kernel_loff_t loff_t;
1: +
1: +typedef __kernel_size_t size_t;
1: +
1: +typedef __kernel_ssize_t ssize_t;
1: +
1: +typedef u8 uint8_t;
1: +
1: +typedef u16 uint16_t;
1: +
1: +typedef u32 uint32_t;
1: +
1: +typedef u64 sector_t;
1: +
1: +typedef u64 blkcnt_t;
1: +
1: +typedef u64 dma_addr_t;
1: +
1: +typedef unsigned int gfp_t;
1: +
1: +typedef unsigned int fmode_t;
1: +
1: +typedef u64 phys_addr_t;
1: +
1: +typedef phys_addr_t resource_size_t;
1: +
1: +typedef struct {
1: + int counter;
1: +} atomic_t;
1: +
1: +typedef struct {
1: + s64 counter;
1: +} atomic64_t;
1: +
1: +struct list_head {
1: + struct list_head *next;
1: + struct list_head *prev;
1: +};
1: +
1: +struct hlist_node;
1: +
1: +struct hlist_head {
1: + struct hlist_node *first;
1: +};
1: +
1: +struct hlist_node {
1: + struct hlist_node *next;
1: + struct hlist_node **pprev;
1: +};
1: +
1: +struct callback_head {
1: + struct callback_head *next;
1: + void (*func)(struct callback_head *);
1: +};
1: +
1: +struct jump_entry {
1: + s32 code;
1: + s32 target;
1: + long int key;
1: +};
1: +
1: +struct static_key_mod;
1: +
1: +struct static_key {
1: + atomic_t enabled;
1: + union {
1: + long unsigned int type;
1: + struct jump_entry *entries;
1: + struct static_key_mod *next;
1: + };
1: +};
1: +
1: +struct static_key_false {
1: + struct static_key key;
1: +};
1: +
1: +typedef __s64 time64_t;
1: +
1: +struct __kernel_timespec {
1: + __kernel_time64_t tv_sec;
1: + long long int tv_nsec;
1: +};
1: +
1: +struct timespec64 {
1: + time64_t tv_sec;
1: + long int tv_nsec;
1: +};
1: +
1: +enum timespec_type {
1: + TT_NONE = 0,
1: + TT_NATIVE = 1,
1: + TT_COMPAT = 2,
1: +};
1: +
1: +typedef s32 old_time32_t;
1: +
1: +struct old_timespec32 {
1: + old_time32_t tv_sec;
1: + s32 tv_nsec;
1: +};
1: +
1: +struct pollfd;
1: +
1: +struct restart_block {
1: + long int (*fn)(struct restart_block *);
1: + union {
1: + struct {
1: + u32 *uaddr;
1: + u32 val;
1: + u32 flags;
1: + u32 bitset;
1: + u64 time;
1: + u32 *uaddr2;
1: + } futex;
1: + struct {
1: + clockid_t clockid;
1: + enum timespec_type type;
1: + union {
1: + struct __kernel_timespec *rmtp;
1: + struct old_timespec32 *compat_rmtp;
1: + };
1: + u64 expires;
1: + } nanosleep;
1: + struct {
1: + struct pollfd *ufds;
1: + int nfds;
1: + int has_timeout;
1: + long unsigned int tv_sec;
1: + long unsigned int tv_nsec;
1: + } poll;
1: + };
1: +};
1: +
1: +struct screen_info {
1: + __u8 orig_x;
1: + __u8 orig_y;
1: + __u16 ext_mem_k;
1: + __u16 orig_video_page;
1: + __u8 orig_video_mode;
1: + __u8 orig_video_cols;
1: + __u8 flags;
1: + __u8 unused2;
1: + __u16 orig_video_ega_bx;
1: + __u16 unused3;
1: + __u8 orig_video_lines;
1: + __u8 orig_video_isVGA;
1: + __u16 orig_video_points;
1: + __u16 lfb_width;
1: + __u16 lfb_height;
1: + __u16 lfb_depth;
1: + __u32 lfb_base;
1: + __u32 lfb_size;
1: + __u16 cl_magic;
1: + __u16 cl_offset;
1: + __u16 lfb_linelength;
1: + __u8 red_size;
1: + __u8 red_pos;
1: + __u8 green_size;
1: + __u8 green_pos;
1: + __u8 blue_size;
1: + __u8 blue_pos;
1: + __u8 rsvd_size;
1: + __u8 rsvd_pos;
1: + __u16 vesapm_seg;
1: + __u16 vesapm_off;
1: + __u16 pages;
1: + __u16 vesa_attributes;
1: + __u32 capabilities;
1: + __u32 ext_lfb_base;
1: + __u8 _reserved[2];
1: +} __attribute__((packed));
1: +
1: +struct apm_bios_info {
1: + __u16 version;
1: + __u16 cseg;
1: + __u32 offset;
1: + __u16 cseg_16;
1: + __u16 dseg;
1: + __u16 flags;
1: + __u16 cseg_len;
1: + __u16 cseg_16_len;
1: + __u16 dseg_len;
1: +};
1: +
1: +struct edd_device_params {
1: + __u16 length;
1: + __u16 info_flags;
1: + __u32 num_default_cylinders;
1: + __u32 num_default_heads;
1: + __u32 sectors_per_track;
1: + __u64 number_of_sectors;
1: + __u16 bytes_per_sector;
1: + __u32 dpte_ptr;
1: + __u16 key;
1: + __u8 device_path_info_length;
1: + __u8 reserved2;
1: + __u16 reserved3;
1: + __u8 host_bus_type[4];
1: + __u8 interface_type[8];
1: + union {
1: + struct {
1: + __u16 base_address;
1: + __u16 reserved1;
1: + __u32 reserved2;
1: + } isa;
1: + struct {
1: + __u8 bus;
1: + __u8 slot;
1: + __u8 function;
1: + __u8 channel;
1: + __u32 reserved;
1: + } pci;
1: + struct {
1: + __u64 reserved;
1: + } ibnd;
1: + struct {
1: + __u64 reserved;
1: + } xprs;
1: + struct {
1: + __u64 reserved;
1: + } htpt;
1: + struct {
1: + __u64 reserved;
1: + } unknown;
1: + } interface_path;
1: + union {
1: + struct {
1: + __u8 device;
1: + __u8 reserved1;
1: + __u16 reserved2;
1: + __u32 reserved3;
1: + __u64 reserved4;
1: + } ata;
1: + struct {
1: + __u8 device;
1: + __u8 lun;
1: + __u8 reserved1;
1: + __u8 reserved2;
1: + __u32 reserved3;
1: + __u64 reserved4;
1: + } atapi;
1: + struct {
1: + __u16 id;
1: + __u64 lun;
1: + __u16 reserved1;
1: + __u32 reserved2;
1: + } __attribute__((packed)) scsi;
1: + struct {
1: + __u64 serial_number;
1: + __u64 reserved;
1: + } usb;
1: + struct {
1: + __u64 eui;
1: + __u64 reserved;
1: + } i1394;
1: + struct {
1: + __u64 wwid;
1: + __u64 lun;
1: + } fibre;
1: + struct {
1: + __u64 identity_tag;
1: + __u64 reserved;
1: + } i2o;
1: + struct {
1: + __u32 array_number;
1: + __u32 reserved1;
1: + __u64 reserved2;
1: + } raid;
1: + struct {
1: + __u8 device;
1: + __u8 reserved1;
1: + __u16 reserved2;
1: + __u32 reserved3;
1: + __u64 reserved4;
1: + } sata;
1: + struct {
1: + __u64 reserved1;
1: + __u64 reserved2;
1: + } unknown;
1: + } device_path;
1: + __u8 reserved4;
1: + __u8 checksum;
1: +} __attribute__((packed));
1: +
1: +struct edd_info {
1: + __u8 device;
1: + __u8 version;
1: + __u16 interface_support;
1: + __u16 legacy_max_cylinder;
1: + __u8 legacy_max_head;
1: + __u8 legacy_sectors_per_track;
1: + struct edd_device_params params;
1: +} __attribute__((packed));
1: +
1: +struct ist_info {
1: + __u32 signature;
1: + __u32 command;
1: + __u32 event;
1: + __u32 perf_level;
1: +};
1: +
1: +struct edid_info {
1: + unsigned char dummy[128];
1: +};
1: +
1: +struct setup_header {
1: + __u8 setup_sects;
1: + __u16 root_flags;
1: + __u32 syssize;
1: + __u16 ram_size;
1: + __u16 vid_mode;
1: + __u16 root_dev;
1: + __u16 boot_flag;
1: + __u16 jump;
1: + __u32 header;
1: + __u16 version;
1: + __u32 realmode_swtch;
1: + __u16 start_sys_seg;
1: + __u16 kernel_version;
1: + __u8 type_of_loader;
1: + __u8 loadflags;
1: + __u16 setup_move_size;
1: + __u32 code32_start;
1: + __u32 ramdisk_image;
1: + __u32 ramdisk_size;
1: + __u32 bootsect_kludge;
1: + __u16 heap_end_ptr;
1: + __u8 ext_loader_ver;
1: + __u8 ext_loader_type;
1: + __u32 cmd_line_ptr;
1: + __u32 initrd_addr_max;
1: + __u32 kernel_alignment;
1: + __u8 relocatable_kernel;
1: + __u8 min_alignment;
1: + __u16 xloadflags;
1: + __u32 cmdline_size;
1: + __u32 hardware_subarch;
1: + __u64 hardware_subarch_data;
1: + __u32 payload_offset;
1: + __u32 payload_length;
1: + __u64 setup_data;
1: + __u64 pref_address;
1: + __u32 init_size;
1: + __u32 handover_offset;
1: + __u32 kernel_info_offset;
1: +} __attribute__((packed));
1: +
1: +struct sys_desc_table {
1: + __u16 length;
1: + __u8 table[14];
1: +};
1: +
1: +struct olpc_ofw_header {
1: + __u32 ofw_magic;
1: + __u32 ofw_version;
1: + __u32 cif_handler;
1: + __u32 irq_desc_table;
1: +};
1: +
1: +struct efi_info {
1: + __u32 efi_loader_signature;
1: + __u32 efi_systab;
1: + __u32 efi_memdesc_size;
1: + __u32 efi_memdesc_version;
1: + __u32 efi_memmap;
1: + __u32 efi_memmap_size;
1: + __u32 efi_systab_hi;
1: + __u32 efi_memmap_hi;
1: +};
1: +
1: +struct boot_e820_entry {
1: + __u64 addr;
1: + __u64 size;
1: + __u32 type;
1: +} __attribute__((packed));
1: +
1: +struct boot_params {
1: + struct screen_info screen_info;
1: + struct apm_bios_info apm_bios_info;
1: + __u8 _pad2[4];
1: + __u64 tboot_addr;
1: + struct ist_info ist_info;
1: + __u64 acpi_rsdp_addr;
1: + __u8 _pad3[8];
1: + __u8 hd0_info[16];
1: + __u8 hd1_info[16];
1: + struct sys_desc_table sys_desc_table;
1: + struct olpc_ofw_header olpc_ofw_header;
1: + __u32 ext_ramdisk_image;
1: + __u32 ext_ramdisk_size;
1: + __u32 ext_cmd_line_ptr;
1: + __u8 _pad4[116];
1: + struct edid_info edid_info;
1: + struct efi_info efi_info;
1: + __u32 alt_mem_k;
1: + __u32 scratch;
1: + __u8 e820_entries;
1: + __u8 eddbuf_entries;
1: + __u8 edd_mbr_sig_buf_entries;
1: + __u8 kbd_status;
1: + __u8 secure_boot;
1: + __u8 _pad5[2];
1: + __u8 sentinel;
1: + __u8 _pad6[1];
1: + struct setup_header hdr;
1: + __u8 _pad7[36];
1: + __u32 edd_mbr_sig_buffer[16];
1: + struct boot_e820_entry e820_table[128];
1: + __u8 _pad8[48];
1: + struct edd_info eddbuf[6];
1: + __u8 _pad9[276];
1: +} __attribute__((packed));
1: +
1: +enum x86_hardware_subarch {
1: + X86_SUBARCH_PC = 0,
1: + X86_SUBARCH_LGUEST = 1,
1: + X86_SUBARCH_XEN = 2,
1: + X86_SUBARCH_INTEL_MID = 3,
1: + X86_SUBARCH_CE4100 = 4,
1: + X86_NR_SUBARCHS = 5,
1: +};
1: +
1: +struct pt_regs {
1: + long unsigned int r15;
1: + long unsigned int r14;
1: + long unsigned int r13;
1: + long unsigned int r12;
1: + long unsigned int bp;
1: + long unsigned int bx;
1: + long unsigned int r11;
1: + long unsigned int r10;
1: + long unsigned int r9;
1: + long unsigned int r8;
1: + long unsigned int ax;
1: + long unsigned int cx;
1: + long unsigned int dx;
1: + long unsigned int si;
1: + long unsigned int di;
1: + long unsigned int orig_ax;
1: + long unsigned int ip;
1: + long unsigned int cs;
1: + long unsigned int flags;
1: + long unsigned int sp;
1: + long unsigned int ss;
1: +};
1: +
1: +struct math_emu_info {
1: + long int ___orig_eip;
1: + struct pt_regs *regs;
1: +};
1: +
1: +typedef long unsigned int pteval_t;
1: +
1: +typedef long unsigned int pmdval_t;
1: +
1: +typedef long unsigned int pudval_t;
1: +
1: +typedef long unsigned int p4dval_t;
1: +
1: +typedef long unsigned int pgdval_t;
1: +
1: +typedef long unsigned int pgprotval_t;
1: +
1: +typedef struct {
1: + pteval_t pte;
1: +} pte_t;
1: +
1: +struct pgprot {
1: + pgprotval_t pgprot;
1: +};
1: +
1: +typedef struct pgprot pgprot_t;
1: +
1: +typedef struct {
1: + pgdval_t pgd;
1: +} pgd_t;
1: +
1: +typedef struct {
1: + p4dval_t p4d;
1: +} p4d_t;
1: +
1: +typedef struct {
1: + pudval_t pud;
1: +} pud_t;
1: +
1: +typedef struct {
1: + pmdval_t pmd;
1: +} pmd_t;
1: +
1: +struct page;
1: +
1: +typedef struct page *pgtable_t;
1: +
1: +struct qspinlock {
1: + union {
1: + atomic_t val;
1: + struct {
1: + u8 locked;
1: + u8 pending;
1: + };
1: + struct {
1: + u16 locked_pending;
1: + u16 tail;
1: + };
1: + };
1: +};
1: +
1: +typedef struct qspinlock arch_spinlock_t;
1: +
1: +struct raw_spinlock {
1: + arch_spinlock_t raw_lock;
1: +};
1: +
1: +struct spinlock {
1: + union {
1: + struct raw_spinlock rlock;
1: + };
1: +};
1: +
1: +typedef struct spinlock spinlock_t;
1: +
1: +struct address_space;
1: +
1: +struct kmem_cache;
1: +
1: +struct mm_struct;
1: +
1: +struct dev_pagemap;
1: +
1: +struct page {
1: + long unsigned int flags;
1: + union {
1: + struct {
1: + struct list_head lru;
1: + struct address_space *mapping;
1: + long unsigned int index;
1: + long unsigned int private;
1: + };
1: + struct {
1: + dma_addr_t dma_addr;
1: + };
1: + struct {
1: + union {
1: + struct list_head slab_list;
1: + struct {
1: + struct page *next;
1: + int pages;
1: + int pobjects;
1: + };
1: + };
1: + struct kmem_cache *slab_cache;
1: + void *freelist;
1: + union {
1: + void *s_mem;
1: + long unsigned int counters;
1: + struct {
1: + unsigned int inuse: 16;
1: + unsigned int objects: 15;
1: + unsigned int frozen: 1;
1: + };
1: + };
1: + };
1: + struct {
1: + long unsigned int compound_head;
1: + unsigned char compound_dtor;
1: + unsigned char compound_order;
1: + atomic_t compound_mapcount;
1: + };
1: + struct {
1: + long unsigned int _compound_pad_1;
1: + long unsigned int _compound_pad_2;
1: + struct list_head deferred_list;
1: + };
1: + struct {
1: + long unsigned int _pt_pad_1;
1: + pgtable_t pmd_huge_pte;
1: + long unsigned int _pt_pad_2;
1: + union {
1: + struct mm_struct *pt_mm;
1: + atomic_t pt_frag_refcount;
1: + };
1: + spinlock_t ptl;
1: + };
1: + struct {
1: + struct dev_pagemap *pgmap;
1: + void *zone_device_data;
1: + };
1: + struct callback_head callback_head;
1: + };
1: + union {
1: + atomic_t _mapcount;
1: + unsigned int page_type;
1: + unsigned int active;
1: + int units;
1: + };
1: + atomic_t _refcount;
1: + long: 64;
1: +};
1: +
1: +typedef atomic64_t atomic_long_t;
1: +
1: +struct cpumask {
1: + long unsigned int bits[1];
1: +};
1: +
1: +typedef struct cpumask cpumask_t;
1: +
1: +typedef struct cpumask cpumask_var_t[1];
1: +
1: +struct tracepoint_func {
1: + void *func;
1: + void *data;
1: + int prio;
1: +};
1: +
1: +struct tracepoint {
1: + const char *name;
1: + struct static_key key;
1: + int (*regfunc)();
1: + void (*unregfunc)();
1: + struct tracepoint_func *funcs;
1: +};
1: +
1: +struct desc_struct {
1: + u16 limit0;
1: + u16 base0;
1: + u16 base1: 8;
1: + u16 type: 4;
1: + u16 s: 1;
1: + u16 dpl: 2;
1: + u16 p: 1;
1: + u16 limit1: 4;
1: + u16 avl: 1;
1: + u16 l: 1;
1: + u16 d: 1;
1: + u16 g: 1;
1: + u16 base2: 8;
1: +};
1: +
1: +struct desc_ptr {
1: + short unsigned int size;
1: + long unsigned int address;
1: +} __attribute__((packed));
1: +
1: +struct fregs_state {
1: + u32 cwd;
1: + u32 swd;
1: + u32 twd;
1: + u32 fip;
1: + u32 fcs;
1: + u32 foo;
1: + u32 fos;
1: + u32 st_space[20];
1: + u32 status;
1: +};
1: +
1: +struct fxregs_state {
1: + u16 cwd;
1: + u16 swd;
1: + u16 twd;
1: + u16 fop;
1: + union {
1: + struct {
1: + u64 rip;
1: + u64 rdp;
1: + };
1: + struct {
1: + u32 fip;
1: + u32 fcs;
1: + u32 foo;
1: + u32 fos;
1: + };
1: + };
1: + u32 mxcsr;
1: + u32 mxcsr_mask;
1: + u32 st_space[32];
1: + u32 xmm_space[64];
1: + u32 padding[12];
1: + union {
1: + u32 padding1[12];
1: + u32 sw_reserved[12];
1: + };
1: +};
1: +
1: +struct swregs_state {
1: + u32 cwd;
1: + u32 swd;
1: + u32 twd;
1: + u32 fip;
1: + u32 fcs;
1: + u32 foo;
1: + u32 fos;
1: + u32 st_space[20];
1: + u8 ftop;
1: + u8 changed;
1: + u8 lookahead;
1: + u8 no_update;
1: + u8 rm;
1: + u8 alimit;
1: + struct math_emu_info *info;
1: + u32 entry_eip;
1: +};
1: +
1: +struct xstate_header {
1: + u64 xfeatures;
1: + u64 xcomp_bv;
1: + u64 reserved[6];
1: +};
1: +
1: +struct xregs_state {
1: + struct fxregs_state i387;
1: + struct xstate_header header;
1: + u8 extended_state_area[0];
1: +};
1: +
1: +union fpregs_state {
1: + struct fregs_state fsave;
1: + struct fxregs_state fxsave;
1: + struct swregs_state soft;
1: + struct xregs_state xsave;
1: + u8 __padding[4096];
1: +};
1: +
1: +struct fpu {
1: + unsigned int last_cpu;
1: + long unsigned int avx512_timestamp;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + union fpregs_state state;
1: +};
1: +
1: +struct cpuinfo_x86 {
1: + __u8 x86;
1: + __u8 x86_vendor;
1: + __u8 x86_model;
1: + __u8 x86_stepping;
1: + int x86_tlbsize;
1: + __u8 x86_virt_bits;
1: + __u8 x86_phys_bits;
1: + __u8 x86_coreid_bits;
1: + __u8 cu_id;
1: + __u32 extended_cpuid_level;
1: + int cpuid_level;
1: + union {
1: + __u32 x86_capability[20];
1: + long unsigned int x86_capability_alignment;
1: + };
1: + char x86_vendor_id[16];
1: + char x86_model_id[64];
1: + unsigned int x86_cache_size;
1: + int x86_cache_alignment;
1: + int x86_cache_max_rmid;
1: + int x86_cache_occ_scale;
1: + int x86_power;
1: + long unsigned int loops_per_jiffy;
1: + u16 x86_max_cores;
1: + u16 apicid;
1: + u16 initial_apicid;
1: + u16 x86_clflush_size;
1: + u16 booted_cores;
1: + u16 phys_proc_id;
1: + u16 logical_proc_id;
1: + u16 cpu_core_id;
1: + u16 cpu_die_id;
1: + u16 logical_die_id;
1: + u16 cpu_index;
1: + u32 microcode;
1: + u8 x86_cache_bits;
1: + unsigned int initialized: 1;
1: +};
1: +
1: +struct x86_hw_tss {
1: + u32 reserved1;
1: + u64 sp0;
1: + u64 sp1;
1: + u64 sp2;
1: + u64 reserved2;
1: + u64 ist[7];
1: + u32 reserved3;
1: + u32 reserved4;
1: + u16 reserved5;
1: + u16 io_bitmap_base;
1: +} __attribute__((packed));
1: +
1: +struct x86_io_bitmap {
1: + u64 prev_sequence;
1: + unsigned int prev_max;
1: + long unsigned int bitmap[1025];
1: + long unsigned int mapall[1025];
1: +};
1: +
1: +struct tss_struct {
1: + struct x86_hw_tss x86_tss;
1: + struct x86_io_bitmap io_bitmap;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct fixed_percpu_data {
1: + char gs_base[40];
1: + long unsigned int stack_canary;
1: +};
1: +
1: +typedef struct {
1: + long unsigned int seg;
1: +} mm_segment_t;
1: +
1: +struct perf_event;
1: +
1: +struct io_bitmap;
1: +
1: +struct thread_struct {
1: + struct desc_struct tls_array[3];
1: + long unsigned int sp;
1: + short unsigned int es;
1: + short unsigned int ds;
1: + short unsigned int fsindex;
1: + short unsigned int gsindex;
1: + long unsigned int fsbase;
1: + long unsigned int gsbase;
1: + struct perf_event *ptrace_bps[4];
1: + long unsigned int debugreg6;
1: + long unsigned int ptrace_dr7;
1: + long unsigned int cr2;
1: + long unsigned int trap_nr;
1: + long unsigned int error_code;
1: + struct io_bitmap *io_bitmap;
1: + long unsigned int iopl_emul;
1: + mm_segment_t addr_limit;
1: + unsigned int sig_on_uaccess_err: 1;
1: + unsigned int uaccess_err: 1;
1: + long: 62;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct fpu fpu;
1: +};
1: +
1: +struct thread_info {
1: + long unsigned int flags;
1: + u32 status;
1: +};
1: +
1: +struct llist_node {
1: + struct llist_node *next;
1: +};
1: +
1: +struct mpc_table {
1: + char signature[4];
1: + short unsigned int length;
1: + char spec;
1: + char checksum;
1: + char oem[8];
1: + char productid[12];
1: + unsigned int oemptr;
1: + short unsigned int oemsize;
1: + short unsigned int oemcount;
1: + unsigned int lapic;
1: + unsigned int reserved;
1: +};
1: +
1: +struct mpc_cpu {
1: + unsigned char type;
1: + unsigned char apicid;
1: + unsigned char apicver;
1: + unsigned char cpuflag;
1: + unsigned int cpufeature;
1: + unsigned int featureflag;
1: + unsigned int reserved[2];
1: +};
1: +
1: +struct mpc_bus {
1: + unsigned char type;
1: + unsigned char busid;
1: + unsigned char bustype[6];
1: +};
1: +
1: +struct x86_init_mpparse {
1: + void (*mpc_record)(unsigned int);
1: + void (*setup_ioapic_ids)();
1: + int (*mpc_apic_id)(struct mpc_cpu *);
1: + void (*smp_read_mpc_oem)(struct mpc_table *);
1: + void (*mpc_oem_pci_bus)(struct mpc_bus *);
1: + void (*mpc_oem_bus_info)(struct mpc_bus *, char *);
1: + void (*find_smp_config)();
1: + void (*get_smp_config)(unsigned int);
1: +};
1: +
1: +struct x86_init_resources {
1: + void (*probe_roms)();
1: + void (*reserve_resources)();
1: + char * (*memory_setup)();
1: +};
1: +
1: +struct x86_init_irqs {
1: + void (*pre_vector_init)();
1: + void (*intr_init)();
1: + void (*trap_init)();
1: + void (*intr_mode_init)();
1: +};
1: +
1: +struct x86_init_oem {
1: + void (*arch_setup)();
1: + void (*banner)();
1: +};
1: +
1: +struct x86_init_paging {
1: + void (*pagetable_init)();
1: +};
1: +
1: +struct x86_init_timers {
1: + void (*setup_percpu_clockev)();
1: + void (*timer_init)();
1: + void (*wallclock_init)();
1: +};
1: +
1: +struct x86_init_iommu {
1: + int (*iommu_init)();
1: +};
1: +
1: +struct x86_init_pci {
1: + int (*arch_init)();
1: + int (*init)();
1: + void (*init_irq)();
1: + void (*fixup_irqs)();
1: +};
1: +
1: +struct x86_hyper_init {
1: + void (*init_platform)();
1: + void (*guest_late_init)();
1: + bool (*x2apic_available)();
1: + void (*init_mem_mapping)();
1: + void (*init_after_bootmem)();
1: +};
1: +
1: +struct x86_init_acpi {
1: + void (*set_root_pointer)(u64);
1: + u64 (*get_root_pointer)();
1: + void (*reduced_hw_early_init)();
1: +};
1: +
1: +struct x86_init_ops {
1: + struct x86_init_resources resources;
1: + struct x86_init_mpparse mpparse;
1: + struct x86_init_irqs irqs;
1: + struct x86_init_oem oem;
1: + struct x86_init_paging paging;
1: + struct x86_init_timers timers;
1: + struct x86_init_iommu iommu;
1: + struct x86_init_pci pci;
1: + struct x86_hyper_init hyper;
1: + struct x86_init_acpi acpi;
1: +};
1: +
1: +struct x86_legacy_devices {
1: + int pnpbios;
1: +};
1: +
1: +enum x86_legacy_i8042_state {
1: + X86_LEGACY_I8042_PLATFORM_ABSENT = 0,
1: + X86_LEGACY_I8042_FIRMWARE_ABSENT = 1,
1: + X86_LEGACY_I8042_EXPECTED_PRESENT = 2,
1: +};
1: +
1: +struct x86_legacy_features {
1: + enum x86_legacy_i8042_state i8042;
1: + int rtc;
1: + int warm_reset;
1: + int no_vga;
1: + int reserve_bios_regions;
1: + struct x86_legacy_devices devices;
1: +};
1: +
1: +struct x86_hyper_runtime {
1: + void (*pin_vcpu)(int);
1: +};
1: +
1: +struct x86_platform_ops {
1: + long unsigned int (*calibrate_cpu)();
1: + long unsigned int (*calibrate_tsc)();
1: + void (*get_wallclock)(struct timespec64 *);
1: + int (*set_wallclock)(const struct timespec64 *);
1: + void (*iommu_shutdown)();
1: + bool (*is_untracked_pat_range)(u64, u64);
1: + void (*nmi_init)();
1: + unsigned char (*get_nmi_reason)();
1: + void (*save_sched_clock_state)();
1: + void (*restore_sched_clock_state)();
1: + void (*apic_post_init)();
1: + struct x86_legacy_features legacy;
1: + void (*set_legacy_features)();
1: + struct x86_hyper_runtime hyper;
1: +};
1: +
1: +struct x86_apic_ops {
1: + unsigned int (*io_apic_read)(unsigned int, unsigned int);
1: + void (*restore)();
1: +};
1: +
1: +struct physid_mask {
1: + long unsigned int mask[512];
1: +};
1: +
1: +typedef struct physid_mask physid_mask_t;
1: +
1: +typedef struct {
1: + long unsigned int bits[1];
1: +} nodemask_t;
1: +
1: +struct qrwlock {
1: + union {
1: + atomic_t cnts;
1: + struct {
1: + u8 wlocked;
1: + u8 __lstate[3];
1: + };
1: + };
1: + arch_spinlock_t wait_lock;
1: +};
1: +
1: +typedef struct qrwlock arch_rwlock_t;
1: +
1: +struct lock_class_key {};
1: +
1: +typedef struct raw_spinlock raw_spinlock_t;
1: +
1: +typedef struct {
1: + arch_rwlock_t raw_lock;
1: +} rwlock_t;
1: +
1: +struct optimistic_spin_queue {
1: + atomic_t tail;
1: +};
1: +
1: +struct rw_semaphore {
1: + atomic_long_t count;
1: + atomic_long_t owner;
1: + struct optimistic_spin_queue osq;
1: + raw_spinlock_t wait_lock;
1: + struct list_head wait_list;
1: +};
1: +
1: +struct mutex {
1: + atomic_long_t owner;
1: + spinlock_t wait_lock;
1: + struct optimistic_spin_queue osq;
1: + struct list_head wait_list;
1: +};
1: +
1: +struct refcount_struct {
1: + atomic_t refs;
1: +};
1: +
1: +typedef struct refcount_struct refcount_t;
1: +
1: +struct load_weight {
1: + long unsigned int weight;
1: + u32 inv_weight;
1: +};
1: +
1: +struct rb_node {
1: + long unsigned int __rb_parent_color;
1: + struct rb_node *rb_right;
1: + struct rb_node *rb_left;
1: +};
1: +
1: +struct sched_statistics {
1: + u64 wait_start;
1: + u64 wait_max;
1: + u64 wait_count;
1: + u64 wait_sum;
1: + u64 iowait_count;
1: + u64 iowait_sum;
1: + u64 sleep_start;
1: + u64 sleep_max;
1: + s64 sum_sleep_runtime;
1: + u64 block_start;
1: + u64 block_max;
1: + u64 exec_max;
1: + u64 slice_max;
1: + u64 nr_migrations_cold;
1: + u64 nr_failed_migrations_affine;
1: + u64 nr_failed_migrations_running;
1: + u64 nr_failed_migrations_hot;
1: + u64 nr_forced_migrations;
1: + u64 nr_wakeups;
1: + u64 nr_wakeups_sync;
1: + u64 nr_wakeups_migrate;
1: + u64 nr_wakeups_local;
1: + u64 nr_wakeups_remote;
1: + u64 nr_wakeups_affine;
1: + u64 nr_wakeups_affine_attempts;
1: + u64 nr_wakeups_passive;
1: + u64 nr_wakeups_idle;
1: +};
1: +
1: +struct util_est {
1: + unsigned int enqueued;
1: + unsigned int ewma;
1: +};
1: +
1: +struct sched_avg {
1: + u64 last_update_time;
1: + u64 load_sum;
1: + u64 runnable_load_sum;
1: + u32 util_sum;
1: + u32 period_contrib;
1: + long unsigned int load_avg;
1: + long unsigned int runnable_load_avg;
1: + long unsigned int util_avg;
1: + struct util_est util_est;
1: +};
1: +
1: +struct cfs_rq;
1: +
1: +struct sched_entity {
1: + struct load_weight load;
1: + long unsigned int runnable_weight;
1: + struct rb_node run_node;
1: + struct list_head group_node;
1: + unsigned int on_rq;
1: + u64 exec_start;
1: + u64 sum_exec_runtime;
1: + u64 vruntime;
1: + u64 prev_sum_exec_runtime;
1: + u64 nr_migrations;
1: + struct sched_statistics statistics;
1: + int depth;
1: + struct sched_entity *parent;
1: + struct cfs_rq *cfs_rq;
1: + struct cfs_rq *my_q;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct sched_avg avg;
1: +};
1: +
1: +struct sched_rt_entity {
1: + struct list_head run_list;
1: + long unsigned int timeout;
1: + long unsigned int watchdog_stamp;
1: + unsigned int time_slice;
1: + short unsigned int on_rq;
1: + short unsigned int on_list;
1: + struct sched_rt_entity *back;
1: +};
1: +
1: +typedef s64 ktime_t;
1: +
1: +struct timerqueue_node {
1: + struct rb_node node;
1: + ktime_t expires;
1: +};
1: +
1: +enum hrtimer_restart {
1: + HRTIMER_NORESTART = 0,
1: + HRTIMER_RESTART = 1,
1: +};
1: +
1: +struct hrtimer_clock_base;
1: +
1: +struct hrtimer {
1: + struct timerqueue_node node;
1: + ktime_t _softexpires;
1: + enum hrtimer_restart (*function)(struct hrtimer *);
1: + struct hrtimer_clock_base *base;
1: + u8 state;
1: + u8 is_rel;
1: + u8 is_soft;
1: + u8 is_hard;
1: +};
1: +
1: +struct sched_dl_entity {
1: + struct rb_node rb_node;
1: + u64 dl_runtime;
1: + u64 dl_deadline;
1: + u64 dl_period;
1: + u64 dl_bw;
1: + u64 dl_density;
1: + s64 runtime;
1: + u64 deadline;
1: + unsigned int flags;
1: + unsigned int dl_throttled: 1;
1: + unsigned int dl_boosted: 1;
1: + unsigned int dl_yielded: 1;
1: + unsigned int dl_non_contending: 1;
1: + unsigned int dl_overrun: 1;
1: + struct hrtimer dl_timer;
1: + struct hrtimer inactive_timer;
1: +};
1: +
1: +struct sched_info {
1: + long unsigned int pcount;
1: + long long unsigned int run_delay;
1: + long long unsigned int last_arrival;
1: + long long unsigned int last_queued;
1: +};
1: +
1: +struct plist_node {
1: + int prio;
1: + struct list_head prio_list;
1: + struct list_head node_list;
1: +};
1: +
1: +struct vm_area_struct;
1: +
1: +struct vmacache {
1: + u64 seqnum;
1: + struct vm_area_struct *vmas[4];
1: +};
1: +
1: +struct task_rss_stat {
1: + int events;
1: + int count[4];
1: +};
1: +
1: +struct prev_cputime {
1: + u64 utime;
1: + u64 stime;
1: + raw_spinlock_t lock;
1: +};
1: +
1: +struct rb_root {
1: + struct rb_node *rb_node;
1: +};
1: +
1: +struct rb_root_cached {
1: + struct rb_root rb_root;
1: + struct rb_node *rb_leftmost;
1: +};
1: +
1: +struct timerqueue_head {
1: + struct rb_root_cached rb_root;
1: +};
1: +
1: +struct posix_cputimer_base {
1: + u64 nextevt;
1: + struct timerqueue_head tqhead;
1: +};
1: +
1: +struct posix_cputimers {
1: + struct posix_cputimer_base bases[3];
1: + unsigned int timers_active;
1: + unsigned int expiry_active;
1: +};
1: +
1: +struct sem_undo_list;
1: +
1: +struct sysv_sem {
1: + struct sem_undo_list *undo_list;
1: +};
1: +
1: +struct sysv_shm {
1: + struct list_head shm_clist;
1: +};
1: +
1: +typedef struct {
1: + long unsigned int sig[1];
1: +} sigset_t;
1: +
1: +struct sigpending {
1: + struct list_head list;
1: + sigset_t signal;
1: +};
1: +
1: +typedef struct {
1: + uid_t val;
1: +} kuid_t;
1: +
1: +struct seccomp_filter;
1: +
1: +struct seccomp {
1: + int mode;
1: + struct seccomp_filter *filter;
1: +};
1: +
1: +struct wake_q_node {
1: + struct wake_q_node *next;
1: +};
1: +
1: +struct task_io_accounting {
1: + u64 rchar;
1: + u64 wchar;
1: + u64 syscr;
1: + u64 syscw;
1: + u64 read_bytes;
1: + u64 write_bytes;
1: + u64 cancelled_write_bytes;
1: +};
1: +
1: +struct seqcount {
1: + unsigned int sequence;
1: +};
1: +
1: +typedef struct seqcount seqcount_t;
1: +
1: +struct arch_tlbflush_unmap_batch {
1: + struct cpumask cpumask;
1: +};
1: +
1: +struct tlbflush_unmap_batch {
1: + struct arch_tlbflush_unmap_batch arch;
1: + bool flush_required;
1: + bool writable;
1: +};
1: +
1: +struct page_frag {
1: + struct page *page;
1: + __u32 offset;
1: + __u32 size;
1: +};
1: +
1: +struct sched_class;
1: +
1: +struct task_group;
1: +
1: +struct pid;
1: +
1: +struct completion;
1: +
1: +struct cred;
1: +
1: +struct key;
1: +
1: +struct nameidata;
1: +
1: +struct fs_struct;
1: +
1: +struct files_struct;
1: +
1: +struct nsproxy;
1: +
1: +struct signal_struct;
1: +
1: +struct sighand_struct;
1: +
1: +struct audit_context;
1: +
1: +struct rt_mutex_waiter;
1: +
1: +struct bio_list;
1: +
1: +struct blk_plug;
1: +
1: +struct reclaim_state;
1: +
1: +struct backing_dev_info;
1: +
1: +struct io_context;
1: +
1: +struct capture_control;
1: +
1: +struct kernel_siginfo;
1: +
1: +typedef struct kernel_siginfo kernel_siginfo_t;
1: +
1: +struct css_set;
1: +
1: +struct robust_list_head;
1: +
1: +struct compat_robust_list_head;
1: +
1: +struct futex_pi_state;
1: +
1: +struct perf_event_context;
1: +
1: +struct mempolicy;
1: +
1: +struct rseq;
1: +
1: +struct pipe_inode_info;
1: +
1: +struct task_delay_info;
1: +
1: +struct uprobe_task;
1: +
1: +struct vm_struct;
1: +
1: +struct task_struct {
1: + struct thread_info thread_info;
1: + volatile long int state;
1: + void *stack;
1: + refcount_t usage;
1: + unsigned int flags;
1: + unsigned int ptrace;
1: + struct llist_node wake_entry;
1: + int on_cpu;
1: + unsigned int cpu;
1: + unsigned int wakee_flips;
1: + long unsigned int wakee_flip_decay_ts;
1: + struct task_struct *last_wakee;
1: + int recent_used_cpu;
1: + int wake_cpu;
1: + int on_rq;
1: + int prio;
1: + int static_prio;
1: + int normal_prio;
1: + unsigned int rt_priority;
1: + const struct sched_class *sched_class;
1: + struct sched_entity se;
1: + struct sched_rt_entity rt;
1: + struct task_group *sched_task_group;
1: + struct sched_dl_entity dl;
1: + unsigned int btrace_seq;
1: + unsigned int policy;
1: + int nr_cpus_allowed;
1: + const cpumask_t *cpus_ptr;
1: + cpumask_t cpus_mask;
1: + struct sched_info sched_info;
1: + struct list_head tasks;
1: + struct plist_node pushable_tasks;
1: + struct rb_node pushable_dl_tasks;
1: + struct mm_struct *mm;
1: + struct mm_struct *active_mm;
1: + struct vmacache vmacache;
1: + struct task_rss_stat rss_stat;
1: + int exit_state;
1: + int exit_code;
1: + int exit_signal;
1: + int pdeath_signal;
1: + long unsigned int jobctl;
1: + unsigned int personality;
1: + unsigned int sched_reset_on_fork: 1;
1: + unsigned int sched_contributes_to_load: 1;
1: + unsigned int sched_migrated: 1;
1: + unsigned int sched_remote_wakeup: 1;
1: + int: 28;
1: + unsigned int in_execve: 1;
1: + unsigned int in_iowait: 1;
1: + unsigned int restore_sigmask: 1;
1: + unsigned int no_cgroup_migration: 1;
1: + unsigned int frozen: 1;
1: + long unsigned int atomic_flags;
1: + struct restart_block restart_block;
1: + pid_t pid;
1: + pid_t tgid;
1: + long unsigned int stack_canary;
1: + struct task_struct *real_parent;
1: + struct task_struct *parent;
1: + struct list_head children;
1: + struct list_head sibling;
1: + struct task_struct *group_leader;
1: + struct list_head ptraced;
1: + struct list_head ptrace_entry;
1: + struct pid *thread_pid;
1: + struct hlist_node pid_links[4];
1: + struct list_head thread_group;
1: + struct list_head thread_node;
1: + struct completion *vfork_done;
1: + int *set_child_tid;
1: + int *clear_child_tid;
1: + u64 utime;
1: + u64 stime;
1: + u64 gtime;
1: + struct prev_cputime prev_cputime;
1: + long unsigned int nvcsw;
1: + long unsigned int nivcsw;
1: + u64 start_time;
1: + u64 start_boottime;
1: + long unsigned int min_flt;
1: + long unsigned int maj_flt;
1: + struct posix_cputimers posix_cputimers;
1: + const struct cred *ptracer_cred;
1: + const struct cred *real_cred;
1: + const struct cred *cred;
1: + struct key *cached_requested_key;
1: + char comm[16];
1: + struct nameidata *nameidata;
1: + struct sysv_sem sysvsem;
1: + struct sysv_shm sysvshm;
1: + struct fs_struct *fs;
1: + struct files_struct *files;
1: + struct nsproxy *nsproxy;
1: + struct signal_struct *signal;
1: + struct sighand_struct *sighand;
1: + sigset_t blocked;
1: + sigset_t real_blocked;
1: + sigset_t saved_sigmask;
1: + struct sigpending pending;
1: + long unsigned int sas_ss_sp;
1: + size_t sas_ss_size;
1: + unsigned int sas_ss_flags;
1: + struct callback_head *task_works;
1: + struct audit_context *audit_context;
1: + kuid_t loginuid;
1: + unsigned int sessionid;
1: + struct seccomp seccomp;
1: + u32 parent_exec_id;
1: + u32 self_exec_id;
1: + spinlock_t alloc_lock;
1: + raw_spinlock_t pi_lock;
1: + struct wake_q_node wake_q;
1: + struct rb_root_cached pi_waiters;
1: + struct task_struct *pi_top_task;
1: + struct rt_mutex_waiter *pi_blocked_on;
1: + void *journal_info;
1: + struct bio_list *bio_list;
1: + struct blk_plug *plug;
1: + struct reclaim_state *reclaim_state;
1: + struct backing_dev_info *backing_dev_info;
1: + struct io_context *io_context;
1: + struct capture_control *capture_control;
1: + long unsigned int ptrace_message;
1: + kernel_siginfo_t *last_siginfo;
1: + struct task_io_accounting ioac;
1: + u64 acct_rss_mem1;
1: + u64 acct_vm_mem1;
1: + u64 acct_timexpd;
1: + nodemask_t mems_allowed;
1: + seqcount_t mems_allowed_seq;
1: + int cpuset_mem_spread_rotor;
1: + int cpuset_slab_spread_rotor;
1: + struct css_set *cgroups;
1: + struct list_head cg_list;
1: + struct robust_list_head *robust_list;
1: + struct compat_robust_list_head *compat_robust_list;
1: + struct list_head pi_state_list;
1: + struct futex_pi_state *pi_state_cache;
1: + struct mutex futex_exit_mutex;
1: + unsigned int futex_state;
1: + struct perf_event_context *perf_event_ctxp[2];
1: + struct mutex perf_event_mutex;
1: + struct list_head perf_event_list;
1: + struct mempolicy *mempolicy;
1: + short int il_prev;
1: + short int pref_node_fork;
1: + struct rseq *rseq;
1: + u32 rseq_sig;
1: + long unsigned int rseq_event_mask;
1: + struct tlbflush_unmap_batch tlb_ubc;
1: + union {
1: + refcount_t rcu_users;
1: + struct callback_head rcu;
1: + };
1: + struct pipe_inode_info *splice_pipe;
1: + struct page_frag task_frag;
1: + struct task_delay_info *delays;
1: + int nr_dirtied;
1: + int nr_dirtied_pause;
1: + long unsigned int dirty_paused_when;
1: + u64 timer_slack_ns;
1: + u64 default_timer_slack_ns;
1: + long unsigned int trace;
1: + long unsigned int trace_recursion;
1: + struct uprobe_task *utask;
1: + int pagefault_disabled;
1: + struct task_struct *oom_reaper_list;
1: + struct vm_struct *stack_vm_area;
1: + refcount_t stack_refcount;
1: + void *security;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct thread_struct thread;
1: +};
1: +
1: +struct vdso_image {
1: + void *data;
1: + long unsigned int size;
1: + long unsigned int alt;
1: + long unsigned int alt_len;
1: + long int sym_vvar_start;
1: + long int sym_vvar_page;
1: + long int sym_pvclock_page;
1: + long int sym_hvclock_page;
1: + long int sym_VDSO32_NOTE_MASK;
1: + long int sym___kernel_sigreturn;
1: + long int sym___kernel_rt_sigreturn;
1: + long int sym___kernel_vsyscall;
1: + long int sym_int80_landing_pad;
1: +};
1: +
1: +struct ldt_struct;
1: +
1: +typedef struct {
1: + u64 ctx_id;
1: + atomic64_t tlb_gen;
1: + struct rw_semaphore ldt_usr_sem;
1: + struct ldt_struct *ldt;
1: + short unsigned int ia32_compat;
1: + struct mutex lock;
1: + void *vdso;
1: + const struct vdso_image *vdso_image;
1: + atomic_t perf_rdpmc_allowed;
1: + u16 pkey_allocation_map;
1: + s16 execute_only_pkey;
1: +} mm_context_t;
1: +
1: +struct vm_struct {
1: + struct vm_struct *next;
1: + void *addr;
1: + long unsigned int size;
1: + long unsigned int flags;
1: + struct page **pages;
1: + unsigned int nr_pages;
1: + phys_addr_t phys_addr;
1: + const void *caller;
1: +};
1: +
1: +struct real_mode_header {
1: + u32 text_start;
1: + u32 ro_end;
1: + u32 trampoline_start;
1: + u32 trampoline_header;
1: + u32 trampoline_pgd;
1: + u32 wakeup_start;
1: + u32 wakeup_header;
1: + u32 machine_real_restart_asm;
1: + u32 machine_real_restart_seg;
1: +};
1: +
1: +enum fixed_addresses {
1: + VSYSCALL_PAGE = 511,
1: + FIX_DBGP_BASE = 512,
1: + FIX_EARLYCON_MEM_BASE = 513,
1: + FIX_OHCI1394_BASE = 514,
1: + FIX_APIC_BASE = 515,
1: + FIX_IO_APIC_BASE_0 = 516,
1: + FIX_IO_APIC_BASE_END = 643,
1: + __end_of_permanent_fixed_addresses = 644,
1: + FIX_BTMAP_END = 1024,
1: + FIX_BTMAP_BEGIN = 1535,
1: + __end_of_fixed_addresses = 1536,
1: +};
1: +
1: +struct vm_userfaultfd_ctx {};
1: +
1: +struct anon_vma;
1: +
1: +struct vm_operations_struct;
1: +
1: +struct file;
1: +
1: +struct vm_area_struct {
1: + long unsigned int vm_start;
1: + long unsigned int vm_end;
1: + struct vm_area_struct *vm_next;
1: + struct vm_area_struct *vm_prev;
1: + struct rb_node vm_rb;
1: + long unsigned int rb_subtree_gap;
1: + struct mm_struct *vm_mm;
1: + pgprot_t vm_page_prot;
1: + long unsigned int vm_flags;
1: + struct {
1: + struct rb_node rb;
1: + long unsigned int rb_subtree_last;
1: + } shared;
1: + struct list_head anon_vma_chain;
1: + struct anon_vma *anon_vma;
1: + const struct vm_operations_struct *vm_ops;
1: + long unsigned int vm_pgoff;
1: + struct file *vm_file;
1: + void *vm_private_data;
1: + atomic_long_t swap_readahead_info;
1: + struct mempolicy *vm_policy;
1: + struct vm_userfaultfd_ctx vm_userfaultfd_ctx;
1: +};
1: +
1: +struct mm_rss_stat {
1: + atomic_long_t count[4];
1: +};
1: +
1: +struct wait_queue_head {
1: + spinlock_t lock;
1: + struct list_head head;
1: +};
1: +
1: +typedef struct wait_queue_head wait_queue_head_t;
1: +
1: +struct completion {
1: + unsigned int done;
1: + wait_queue_head_t wait;
1: +};
1: +
1: +struct xol_area;
1: +
1: +struct uprobes_state {
1: + struct xol_area *xol_area;
1: +};
1: +
1: +struct work_struct;
1: +
1: +typedef void (*work_func_t)(struct work_struct *);
1: +
1: +struct work_struct {
1: + atomic_long_t data;
1: + struct list_head entry;
1: + work_func_t func;
1: +};
1: +
1: +struct linux_binfmt;
1: +
1: +struct core_state;
1: +
1: +struct kioctx_table;
1: +
1: +struct user_namespace;
1: +
1: +struct mmu_notifier_mm;
1: +
1: +struct mm_struct {
1: + struct {
1: + struct vm_area_struct *mmap;
1: + struct rb_root mm_rb;
1: + u64 vmacache_seqnum;
1: + long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: + long unsigned int mmap_base;
1: + long unsigned int mmap_legacy_base;
1: + long unsigned int mmap_compat_base;
1: + long unsigned int mmap_compat_legacy_base;
1: + long unsigned int task_size;
1: + long unsigned int highest_vm_end;
1: + pgd_t *pgd;
1: + atomic_t membarrier_state;
1: + atomic_t mm_users;
1: + atomic_t mm_count;
1: + atomic_long_t pgtables_bytes;
1: + int map_count;
1: + spinlock_t page_table_lock;
1: + struct rw_semaphore mmap_sem;
1: + struct list_head mmlist;
1: + long unsigned int hiwater_rss;
1: + long unsigned int hiwater_vm;
1: + long unsigned int total_vm;
1: + long unsigned int locked_vm;
1: + atomic64_t pinned_vm;
1: + long unsigned int data_vm;
1: + long unsigned int exec_vm;
1: + long unsigned int stack_vm;
1: + long unsigned int def_flags;
1: + spinlock_t arg_lock;
1: + long unsigned int start_code;
1: + long unsigned int end_code;
1: + long unsigned int start_data;
1: + long unsigned int end_data;
1: + long unsigned int start_brk;
1: + long unsigned int brk;
1: + long unsigned int start_stack;
1: + long unsigned int arg_start;
1: + long unsigned int arg_end;
1: + long unsigned int env_start;
1: + long unsigned int env_end;
1: + long unsigned int saved_auxv[46];
1: + struct mm_rss_stat rss_stat;
1: + struct linux_binfmt *binfmt;
1: + mm_context_t context;
1: + long unsigned int flags;
1: + struct core_state *core_state;
1: + spinlock_t ioctx_lock;
1: + struct kioctx_table *ioctx_table;
1: + struct user_namespace *user_ns;
1: + struct file *exe_file;
1: + struct mmu_notifier_mm *mmu_notifier_mm;
1: + atomic_t tlb_flush_pending;
1: + bool tlb_flush_batched;
1: + struct uprobes_state uprobes_state;
1: + atomic_long_t hugetlb_usage;
1: + struct work_struct async_put_work;
1: + };
1: + long unsigned int cpu_bitmap[0];
1: +};
1: +
1: +struct arch_uprobe_task {
1: + long unsigned int saved_scratch_register;
1: + unsigned int saved_trap_nr;
1: + unsigned int saved_tf;
1: +};
1: +
1: +enum uprobe_task_state {
1: + UTASK_RUNNING = 0,
1: + UTASK_SSTEP = 1,
1: + UTASK_SSTEP_ACK = 2,
1: + UTASK_SSTEP_TRAPPED = 3,
1: +};
1: +
1: +struct uprobe;
1: +
1: +struct return_instance;
1: +
1: +struct uprobe_task {
1: + enum uprobe_task_state state;
1: + union {
1: + struct {
1: + struct arch_uprobe_task autask;
1: + long unsigned int vaddr;
1: + };
1: + struct {
1: + struct callback_head dup_xol_work;
1: + long unsigned int dup_xol_addr;
1: + };
1: + };
1: + struct uprobe *active_uprobe;
1: + long unsigned int xol_vaddr;
1: + struct return_instance *return_instances;
1: + unsigned int depth;
1: +};
1: +
1: +struct return_instance {
1: + struct uprobe *uprobe;
1: + long unsigned int func;
1: + long unsigned int stack;
1: + long unsigned int orig_ret_vaddr;
1: + bool chained;
1: + struct return_instance *next;
1: +};
1: +
1: +struct xarray {
1: + spinlock_t xa_lock;
1: + gfp_t xa_flags;
1: + void *xa_head;
1: +};
1: +
1: +typedef u32 errseq_t;
1: +
1: +struct inode;
1: +
1: +struct address_space_operations;
1: +
1: +struct address_space {
1: + struct inode *host;
1: + struct xarray i_pages;
1: + gfp_t gfp_mask;
1: + atomic_t i_mmap_writable;
1: + struct rb_root_cached i_mmap;
1: + struct rw_semaphore i_mmap_rwsem;
1: + long unsigned int nrpages;
1: + long unsigned int nrexceptional;
1: + long unsigned int writeback_index;
1: + const struct address_space_operations *a_ops;
1: + long unsigned int flags;
1: + errseq_t wb_err;
1: + spinlock_t private_lock;
1: + struct list_head private_list;
1: + void *private_data;
1: +};
1: +
1: +struct vmem_altmap {
1: + const long unsigned int base_pfn;
1: + const long unsigned int end_pfn;
1: + const long unsigned int reserve;
1: + long unsigned int free;
1: + long unsigned int align;
1: + long unsigned int alloc;
1: +};
1: +
1: +struct resource {
1: + resource_size_t start;
1: + resource_size_t end;
1: + const char *name;
1: + long unsigned int flags;
1: + long unsigned int desc;
1: + struct resource *parent;
1: + struct resource *sibling;
1: + struct resource *child;
1: +};
1: +
1: +struct percpu_ref;
1: +
1: +typedef void percpu_ref_func_t(struct percpu_ref *);
1: +
1: +struct percpu_ref {
1: + atomic_long_t count;
1: + long unsigned int percpu_count_ptr;
1: + percpu_ref_func_t *release;
1: + percpu_ref_func_t *confirm_switch;
1: + bool force_atomic: 1;
1: + bool allow_reinit: 1;
1: + struct callback_head rcu;
1: +};
1: +
1: +enum memory_type {
1: + MEMORY_DEVICE_PRIVATE = 1,
1: + MEMORY_DEVICE_FS_DAX = 2,
1: + MEMORY_DEVICE_DEVDAX = 3,
1: + MEMORY_DEVICE_PCI_P2PDMA = 4,
1: +};
1: +
1: +struct dev_pagemap_ops;
1: +
1: +struct dev_pagemap {
1: + struct vmem_altmap altmap;
1: + struct resource res;
1: + struct percpu_ref *ref;
1: + struct percpu_ref internal_ref;
1: + struct completion done;
1: + enum memory_type type;
1: + unsigned int flags;
1: + const struct dev_pagemap_ops *ops;
1: +};
1: +
1: +struct vfsmount;
1: +
1: +struct dentry;
1: +
1: +struct path {
1: + struct vfsmount *mnt;
1: + struct dentry *dentry;
1: +};
1: +
1: +enum rw_hint {
1: + WRITE_LIFE_NOT_SET = 0,
1: + WRITE_LIFE_NONE = 1,
1: + WRITE_LIFE_SHORT = 2,
1: + WRITE_LIFE_MEDIUM = 3,
1: + WRITE_LIFE_LONG = 4,
1: + WRITE_LIFE_EXTREME = 5,
1: +};
1: +
1: +enum pid_type {
1: + PIDTYPE_PID = 0,
1: + PIDTYPE_TGID = 1,
1: + PIDTYPE_PGID = 2,
1: + PIDTYPE_SID = 3,
1: + PIDTYPE_MAX = 4,
1: +};
1: +
1: +struct fown_struct {
1: + rwlock_t lock;
1: + struct pid *pid;
1: + enum pid_type pid_type;
1: + kuid_t uid;
1: + kuid_t euid;
1: + int signum;
1: +};
1: +
1: +struct file_ra_state {
1: + long unsigned int start;
1: + unsigned int size;
1: + unsigned int async_size;
1: + unsigned int ra_pages;
1: + unsigned int mmap_miss;
1: + loff_t prev_pos;
1: +};
1: +
1: +struct file_operations;
1: +
1: +struct file {
1: + union {
1: + struct llist_node fu_llist;
1: + struct callback_head fu_rcuhead;
1: + } f_u;
1: + struct path f_path;
1: + struct inode *f_inode;
1: + const struct file_operations *f_op;
1: + spinlock_t f_lock;
1: + enum rw_hint f_write_hint;
1: + atomic_long_t f_count;
1: + unsigned int f_flags;
1: + fmode_t f_mode;
1: + struct mutex f_pos_lock;
1: + loff_t f_pos;
1: + struct fown_struct f_owner;
1: + const struct cred *f_cred;
1: + struct file_ra_state f_ra;
1: + u64 f_version;
1: + void *f_security;
1: + void *private_data;
1: + struct list_head f_ep_links;
1: + struct list_head f_tfile_llink;
1: + struct address_space *f_mapping;
1: + errseq_t f_wb_err;
1: +};
1: +
1: +typedef unsigned int vm_fault_t;
1: +
1: +enum page_entry_size {
1: + PE_SIZE_PTE = 0,
1: + PE_SIZE_PMD = 1,
1: + PE_SIZE_PUD = 2,
1: +};
1: +
1: +struct vm_fault;
1: +
1: +struct vm_operations_struct {
1: + void (*open)(struct vm_area_struct *);
1: + void (*close)(struct vm_area_struct *);
1: + int (*split)(struct vm_area_struct *, long unsigned int);
1: + int (*mremap)(struct vm_area_struct *);
1: + vm_fault_t (*fault)(struct vm_fault *);
1: + vm_fault_t (*huge_fault)(struct vm_fault *, enum page_entry_size);
1: + void (*map_pages)(struct vm_fault *, long unsigned int, long unsigned int);
1: + long unsigned int (*pagesize)(struct vm_area_struct *);
1: + vm_fault_t (*page_mkwrite)(struct vm_fault *);
1: + vm_fault_t (*pfn_mkwrite)(struct vm_fault *);
1: + int (*access)(struct vm_area_struct *, long unsigned int, void *, int, int);
1: + const char * (*name)(struct vm_area_struct *);
1: + int (*set_policy)(struct vm_area_struct *, struct mempolicy *);
1: + struct mempolicy * (*get_policy)(struct vm_area_struct *, long unsigned int);
1: + struct page * (*find_special_page)(struct vm_area_struct *, long unsigned int);
1: +};
1: +
1: +struct core_thread {
1: + struct task_struct *task;
1: + struct core_thread *next;
1: +};
1: +
1: +struct core_state {
1: + atomic_t nr_threads;
1: + struct core_thread dumper;
1: + struct completion startup;
1: +};
1: +
1: +struct mem_cgroup;
1: +
1: +struct vm_fault {
1: + struct vm_area_struct *vma;
1: + unsigned int flags;
1: + gfp_t gfp_mask;
1: + long unsigned int pgoff;
1: + long unsigned int address;
1: + pmd_t *pmd;
1: + pud_t *pud;
1: + pte_t orig_pte;
1: + struct page *cow_page;
1: + struct mem_cgroup *memcg;
1: + struct page *page;
1: + pte_t *pte;
1: + spinlock_t *ptl;
1: + pgtable_t prealloc_pte;
1: +};
1: +
1: +struct apic {
1: + void (*eoi_write)(u32, u32);
1: + void (*native_eoi_write)(u32, u32);
1: + void (*write)(u32, u32);
1: + u32 (*read)(u32);
1: + void (*wait_icr_idle)();
1: + u32 (*safe_wait_icr_idle)();
1: + void (*send_IPI)(int, int);
1: + void (*send_IPI_mask)(const struct cpumask *, int);
1: + void (*send_IPI_mask_allbutself)(const struct cpumask *, int);
1: + void (*send_IPI_allbutself)(int);
1: + void (*send_IPI_all)(int);
1: + void (*send_IPI_self)(int);
1: + u32 dest_logical;
1: + u32 disable_esr;
1: + u32 irq_delivery_mode;
1: + u32 irq_dest_mode;
1: + u32 (*calc_dest_apicid)(unsigned int);
1: + u64 (*icr_read)();
1: + void (*icr_write)(u32, u32);
1: + int (*probe)();
1: + int (*acpi_madt_oem_check)(char *, char *);
1: + int (*apic_id_valid)(u32);
1: + int (*apic_id_registered)();
1: + bool (*check_apicid_used)(physid_mask_t *, int);
1: + void (*init_apic_ldr)();
1: + void (*ioapic_phys_id_map)(physid_mask_t *, physid_mask_t *);
1: + void (*setup_apic_routing)();
1: + int (*cpu_present_to_apicid)(int);
1: + void (*apicid_to_cpu_present)(int, physid_mask_t *);
1: + int (*check_phys_apicid_present)(int);
1: + int (*phys_pkg_id)(int, int);
1: + u32 (*get_apic_id)(long unsigned int);
1: + u32 (*set_apic_id)(unsigned int);
1: + int (*wakeup_secondary_cpu)(int, long unsigned int);
1: + void (*inquire_remote_apic)(int);
1: + char *name;
1: +};
1: +
1: +struct smp_ops {
1: + void (*smp_prepare_boot_cpu)();
1: + void (*smp_prepare_cpus)(unsigned int);
1: + void (*smp_cpus_done)(unsigned int);
1: + void (*stop_other_cpus)(int);
1: + void (*crash_stop_other_cpus)();
1: + void (*smp_send_reschedule)(int);
1: + int (*cpu_up)(unsigned int, struct task_struct *);
1: + int (*cpu_disable)();
1: + void (*cpu_die)(unsigned int);
1: + void (*play_dead)();
1: + void (*send_call_func_ipi)(const struct cpumask *);
1: + void (*send_call_func_single_ipi)(int);
1: +};
1: +
1: +struct free_area {
1: + struct list_head free_list[4];
1: + long unsigned int nr_free;
1: +};
1: +
1: +struct zone_padding {
1: + char x[0];
1: +};
1: +
1: +enum numa_stat_item {
1: + NUMA_HIT = 0,
1: + NUMA_MISS = 1,
1: + NUMA_FOREIGN = 2,
1: + NUMA_INTERLEAVE_HIT = 3,
1: + NUMA_LOCAL = 4,
1: + NUMA_OTHER = 5,
1: + NR_VM_NUMA_STAT_ITEMS = 6,
1: +};
1: +
1: +enum zone_stat_item {
1: + NR_FREE_PAGES = 0,
1: + NR_ZONE_LRU_BASE = 1,
1: + NR_ZONE_INACTIVE_ANON = 1,
1: + NR_ZONE_ACTIVE_ANON = 2,
1: + NR_ZONE_INACTIVE_FILE = 3,
1: + NR_ZONE_ACTIVE_FILE = 4,
1: + NR_ZONE_UNEVICTABLE = 5,
1: + NR_ZONE_WRITE_PENDING = 6,
1: + NR_MLOCK = 7,
1: + NR_PAGETABLE = 8,
1: + NR_KERNEL_STACK_KB = 9,
1: + NR_BOUNCE = 10,
1: + NR_FREE_CMA_PAGES = 11,
1: + NR_VM_ZONE_STAT_ITEMS = 12,
1: +};
1: +
1: +enum node_stat_item {
1: + NR_LRU_BASE = 0,
1: + NR_INACTIVE_ANON = 0,
1: + NR_ACTIVE_ANON = 1,
1: + NR_INACTIVE_FILE = 2,
1: + NR_ACTIVE_FILE = 3,
1: + NR_UNEVICTABLE = 4,
1: + NR_SLAB_RECLAIMABLE = 5,
1: + NR_SLAB_UNRECLAIMABLE = 6,
1: + NR_ISOLATED_ANON = 7,
1: + NR_ISOLATED_FILE = 8,
1: + WORKINGSET_NODES = 9,
1: + WORKINGSET_REFAULT = 10,
1: + WORKINGSET_ACTIVATE = 11,
1: + WORKINGSET_RESTORE = 12,
1: + WORKINGSET_NODERECLAIM = 13,
1: + NR_ANON_MAPPED = 14,
1: + NR_FILE_MAPPED = 15,
1: + NR_FILE_PAGES = 16,
1: + NR_FILE_DIRTY = 17,
1: + NR_WRITEBACK = 18,
1: + NR_WRITEBACK_TEMP = 19,
1: + NR_SHMEM = 20,
1: + NR_SHMEM_THPS = 21,
1: + NR_SHMEM_PMDMAPPED = 22,
1: + NR_FILE_THPS = 23,
1: + NR_FILE_PMDMAPPED = 24,
1: + NR_ANON_THPS = 25,
1: + NR_UNSTABLE_NFS = 26,
1: + NR_VMSCAN_WRITE = 27,
1: + NR_VMSCAN_IMMEDIATE = 28,
1: + NR_DIRTIED = 29,
1: + NR_WRITTEN = 30,
1: + NR_KERNEL_MISC_RECLAIMABLE = 31,
1: + NR_VM_NODE_STAT_ITEMS = 32,
1: +};
1: +
1: +struct zone_reclaim_stat {
1: + long unsigned int recent_rotated[2];
1: + long unsigned int recent_scanned[2];
1: +};
1: +
1: +struct lruvec {
1: + struct list_head lists[5];
1: + struct zone_reclaim_stat reclaim_stat;
1: + atomic_long_t inactive_age;
1: + long unsigned int refaults;
1: + long unsigned int flags;
1: +};
1: +
1: +typedef unsigned int isolate_mode_t;
1: +
1: +struct per_cpu_pages {
1: + int count;
1: + int high;
1: + int batch;
1: + struct list_head lists[3];
1: +};
1: +
1: +struct per_cpu_pageset {
1: + struct per_cpu_pages pcp;
1: + s8 expire;
1: + u16 vm_numa_stat_diff[6];
1: + s8 stat_threshold;
1: + s8 vm_stat_diff[12];
1: +};
1: +
1: +struct per_cpu_nodestat {
1: + s8 stat_threshold;
1: + s8 vm_node_stat_diff[32];
1: +};
1: +
1: +enum zone_type {
1: + ZONE_DMA = 0,
1: + ZONE_DMA32 = 1,
1: + ZONE_NORMAL = 2,
1: + ZONE_MOVABLE = 3,
1: + __MAX_NR_ZONES = 4,
1: +};
1: +
1: +struct pglist_data;
1: +
1: +struct zone {
1: + long unsigned int _watermark[3];
1: + long unsigned int watermark_boost;
1: + long unsigned int nr_reserved_highatomic;
1: + long int lowmem_reserve[4];
1: + int node;
1: + struct pglist_data *zone_pgdat;
1: + struct per_cpu_pageset *pageset;
1: + long unsigned int zone_start_pfn;
1: + atomic_long_t managed_pages;
1: + long unsigned int spanned_pages;
1: + long unsigned int present_pages;
1: + const char *name;
1: + int initialized;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct zone_padding _pad1_;
1: + struct free_area free_area[11];
1: + long unsigned int flags;
1: + spinlock_t lock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct zone_padding _pad2_;
1: + long unsigned int percpu_drift_mark;
1: + long unsigned int compact_cached_free_pfn;
1: + long unsigned int compact_cached_migrate_pfn[2];
1: + long unsigned int compact_init_migrate_pfn;
1: + long unsigned int compact_init_free_pfn;
1: + unsigned int compact_considered;
1: + unsigned int compact_defer_shift;
1: + int compact_order_failed;
1: + bool compact_blockskip_flush;
1: + bool contiguous;
1: + short: 16;
1: + struct zone_padding _pad3_;
1: + atomic_long_t vm_stat[12];
1: + atomic_long_t vm_numa_stat[6];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct zoneref {
1: + struct zone *zone;
1: + int zone_idx;
1: +};
1: +
1: +struct zonelist {
1: + struct zoneref _zonerefs[257];
1: +};
1: +
1: +struct pglist_data {
1: + struct zone node_zones[4];
1: + struct zonelist node_zonelists[2];
1: + int nr_zones;
1: + long unsigned int node_start_pfn;
1: + long unsigned int node_present_pages;
1: + long unsigned int node_spanned_pages;
1: + int node_id;
1: + wait_queue_head_t kswapd_wait;
1: + wait_queue_head_t pfmemalloc_wait;
1: + struct task_struct *kswapd;
1: + int kswapd_order;
1: + enum zone_type kswapd_classzone_idx;
1: + int kswapd_failures;
1: + int kcompactd_max_order;
1: + enum zone_type kcompactd_classzone_idx;
1: + wait_queue_head_t kcompactd_wait;
1: + struct task_struct *kcompactd;
1: + long unsigned int totalreserve_pages;
1: + long unsigned int min_unmapped_pages;
1: + long unsigned int min_slab_pages;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct zone_padding _pad1_;
1: + spinlock_t lru_lock;
1: + struct lruvec __lruvec;
1: + long unsigned int flags;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct zone_padding _pad2_;
1: + struct per_cpu_nodestat *per_cpu_nodestats;
1: + atomic_long_t vm_stat[32];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct mem_section_usage {
1: + long unsigned int subsection_map[1];
1: + long unsigned int pageblock_flags[0];
1: +};
1: +
1: +struct mem_section {
1: + long unsigned int section_mem_map;
1: + struct mem_section_usage *usage;
1: +};
1: +
1: +struct shrink_control {
1: + gfp_t gfp_mask;
1: + int nid;
1: + long unsigned int nr_to_scan;
1: + long unsigned int nr_scanned;
1: + struct mem_cgroup *memcg;
1: +};
1: +
1: +struct shrinker {
1: + long unsigned int (*count_objects)(struct shrinker *, struct shrink_control *);
1: + long unsigned int (*scan_objects)(struct shrinker *, struct shrink_control *);
1: + long int batch;
1: + int seeks;
1: + unsigned int flags;
1: + struct list_head list;
1: + atomic_long_t *nr_deferred;
1: +};
1: +
1: +struct dev_pagemap_ops {
1: + void (*page_free)(struct page *);
1: + void (*kill)(struct dev_pagemap *);
1: + void (*cleanup)(struct dev_pagemap *);
1: + vm_fault_t (*migrate_to_ram)(struct vm_fault *);
1: +};
1: +
1: +struct pid_namespace;
1: +
1: +struct upid {
1: + int nr;
1: + struct pid_namespace *ns;
1: +};
1: +
1: +struct pid {
1: + refcount_t count;
1: + unsigned int level;
1: + struct hlist_head tasks[4];
1: + wait_queue_head_t wait_pidfd;
1: + struct callback_head rcu;
1: + struct upid numbers[1];
1: +};
1: +
1: +typedef struct {
1: + gid_t val;
1: +} kgid_t;
1: +
1: +struct hrtimer_cpu_base;
1: +
1: +struct hrtimer_clock_base {
1: + struct hrtimer_cpu_base *cpu_base;
1: + unsigned int index;
1: + clockid_t clockid;
1: + seqcount_t seq;
1: + struct hrtimer *running;
1: + struct timerqueue_head active;
1: + ktime_t (*get_time)();
1: + ktime_t offset;
1: +};
1: +
1: +struct hrtimer_cpu_base {
1: + raw_spinlock_t lock;
1: + unsigned int cpu;
1: + unsigned int active_bases;
1: + unsigned int clock_was_set_seq;
1: + unsigned int hres_active: 1;
1: + unsigned int in_hrtirq: 1;
1: + unsigned int hang_detected: 1;
1: + unsigned int softirq_activated: 1;
1: + unsigned int nr_events;
1: + short unsigned int nr_retries;
1: + short unsigned int nr_hangs;
1: + unsigned int max_hang_time;
1: + ktime_t expires_next;
1: + struct hrtimer *next_timer;
1: + ktime_t softirq_expires_next;
1: + struct hrtimer *softirq_next_timer;
1: + struct hrtimer_clock_base clock_base[8];
1: +};
1: +
1: +union sigval {
1: + int sival_int;
1: + void *sival_ptr;
1: +};
1: +
1: +typedef union sigval sigval_t;
1: +
1: +union __sifields {
1: + struct {
1: + __kernel_pid_t _pid;
1: + __kernel_uid32_t _uid;
1: + } _kill;
1: + struct {
1: + __kernel_timer_t _tid;
1: + int _overrun;
1: + sigval_t _sigval;
1: + int _sys_private;
1: + } _timer;
1: + struct {
1: + __kernel_pid_t _pid;
1: + __kernel_uid32_t _uid;
1: + sigval_t _sigval;
1: + } _rt;
1: + struct {
1: + __kernel_pid_t _pid;
1: + __kernel_uid32_t _uid;
1: + int _status;
1: + __kernel_clock_t _utime;
1: + __kernel_clock_t _stime;
1: + } _sigchld;
1: + struct {
1: + void *_addr;
1: + union {
1: + short int _addr_lsb;
1: + struct {
1: + char _dummy_bnd[8];
1: + void *_lower;
1: + void *_upper;
1: + } _addr_bnd;
1: + struct {
1: + char _dummy_pkey[8];
1: + __u32 _pkey;
1: + } _addr_pkey;
1: + };
1: + } _sigfault;
1: + struct {
1: + long int _band;
1: + int _fd;
1: + } _sigpoll;
1: + struct {
1: + void *_call_addr;
1: + int _syscall;
1: + unsigned int _arch;
1: + } _sigsys;
1: +};
1: +
1: +struct kernel_siginfo {
1: + struct {
1: + int si_signo;
1: + int si_errno;
1: + int si_code;
1: + union __sifields _sifields;
1: + };
1: +};
1: +
1: +struct rseq {
1: + __u32 cpu_id_start;
1: + __u32 cpu_id;
1: + union {
1: + __u64 ptr64;
1: + __u64 ptr;
1: + } rseq_cs;
1: + __u32 flags;
1: + long: 32;
1: + long: 64;
1: +};
1: +
1: +struct rq;
1: +
1: +struct rq_flags;
1: +
1: +struct sched_class {
1: + const struct sched_class *next;
1: + void (*enqueue_task)(struct rq *, struct task_struct *, int);
1: + void (*dequeue_task)(struct rq *, struct task_struct *, int);
1: + void (*yield_task)(struct rq *);
1: + bool (*yield_to_task)(struct rq *, struct task_struct *, bool);
1: + void (*check_preempt_curr)(struct rq *, struct task_struct *, int);
1: + struct task_struct * (*pick_next_task)(struct rq *);
1: + void (*put_prev_task)(struct rq *, struct task_struct *);
1: + void (*set_next_task)(struct rq *, struct task_struct *, bool);
1: + int (*balance)(struct rq *, struct task_struct *, struct rq_flags *);
1: + int (*select_task_rq)(struct task_struct *, int, int, int);
1: + void (*migrate_task_rq)(struct task_struct *, int);
1: + void (*task_woken)(struct rq *, struct task_struct *);
1: + void (*set_cpus_allowed)(struct task_struct *, const struct cpumask *);
1: + void (*rq_online)(struct rq *);
1: + void (*rq_offline)(struct rq *);
1: + void (*task_tick)(struct rq *, struct task_struct *, int);
1: + void (*task_fork)(struct task_struct *);
1: + void (*task_dead)(struct task_struct *);
1: + void (*switched_from)(struct rq *, struct task_struct *);
1: + void (*switched_to)(struct rq *, struct task_struct *);
1: + void (*prio_changed)(struct rq *, struct task_struct *, int);
1: + unsigned int (*get_rr_interval)(struct rq *, struct task_struct *);
1: + void (*update_curr)(struct rq *);
1: + void (*task_change_group)(struct task_struct *, int);
1: +};
1: +
1: +struct kernel_cap_struct {
1: + __u32 cap[2];
1: +};
1: +
1: +typedef struct kernel_cap_struct kernel_cap_t;
1: +
1: +struct user_struct;
1: +
1: +struct group_info;
1: +
1: +struct cred {
1: + atomic_t usage;
1: + kuid_t uid;
1: + kgid_t gid;
1: + kuid_t suid;
1: + kgid_t sgid;
1: + kuid_t euid;
1: + kgid_t egid;
1: + kuid_t fsuid;
1: + kgid_t fsgid;
1: + unsigned int securebits;
1: + kernel_cap_t cap_inheritable;
1: + kernel_cap_t cap_permitted;
1: + kernel_cap_t cap_effective;
1: + kernel_cap_t cap_bset;
1: + kernel_cap_t cap_ambient;
1: + unsigned char jit_keyring;
1: + struct key *session_keyring;
1: + struct key *process_keyring;
1: + struct key *thread_keyring;
1: + struct key *request_key_auth;
1: + void *security;
1: + struct user_struct *user;
1: + struct user_namespace *user_ns;
1: + struct group_info *group_info;
1: + union {
1: + int non_rcu;
1: + struct callback_head rcu;
1: + };
1: +};
1: +
1: +struct io_cq;
1: +
1: +struct io_context {
1: + atomic_long_t refcount;
1: + atomic_t active_ref;
1: + atomic_t nr_tasks;
1: + spinlock_t lock;
1: + short unsigned int ioprio;
1: + int nr_batch_requests;
1: + long unsigned int last_waited;
1: + struct xarray icq_tree;
1: + struct io_cq *icq_hint;
1: + struct hlist_head icq_list;
1: + struct work_struct release_work;
1: +};
1: +
1: +struct hlist_bl_node;
1: +
1: +struct hlist_bl_head {
1: + struct hlist_bl_node *first;
1: +};
1: +
1: +struct hlist_bl_node {
1: + struct hlist_bl_node *next;
1: + struct hlist_bl_node **pprev;
1: +};
1: +
1: +struct lockref {
1: + union {
1: + __u64 lock_count;
1: + struct {
1: + spinlock_t lock;
1: + int count;
1: + };
1: + };
1: +};
1: +
1: +struct qstr {
1: + union {
1: + struct {
1: + u32 hash;
1: + u32 len;
1: + };
1: + u64 hash_len;
1: + };
1: + const unsigned char *name;
1: +};
1: +
1: +struct dentry_operations;
1: +
1: +struct super_block;
1: +
1: +struct dentry {
1: + unsigned int d_flags;
1: + seqcount_t d_seq;
1: + struct hlist_bl_node d_hash;
1: + struct dentry *d_parent;
1: + struct qstr d_name;
1: + struct inode *d_inode;
1: + unsigned char d_iname[32];
1: + struct lockref d_lockref;
1: + const struct dentry_operations *d_op;
1: + struct super_block *d_sb;
1: + long unsigned int d_time;
1: + void *d_fsdata;
1: + union {
1: + struct list_head d_lru;
1: + wait_queue_head_t *d_wait;
1: + };
1: + struct list_head d_child;
1: + struct list_head d_subdirs;
1: + union {
1: + struct hlist_node d_alias;
1: + struct hlist_bl_node d_in_lookup_hash;
1: + struct callback_head d_rcu;
1: + } d_u;
1: +};
1: +
1: +struct posix_acl;
1: +
1: +struct inode_operations;
1: +
1: +struct file_lock_context;
1: +
1: +struct block_device;
1: +
1: +struct cdev;
1: +
1: +struct fsnotify_mark_connector;
1: +
1: +struct inode {
1: + umode_t i_mode;
1: + short unsigned int i_opflags;
1: + kuid_t i_uid;
1: + kgid_t i_gid;
1: + unsigned int i_flags;
1: + struct posix_acl *i_acl;
1: + struct posix_acl *i_default_acl;
1: + const struct inode_operations *i_op;
1: + struct super_block *i_sb;
1: + struct address_space *i_mapping;
1: + void *i_security;
1: + long unsigned int i_ino;
1: + union {
1: + const unsigned int i_nlink;
1: + unsigned int __i_nlink;
1: + };
1: + dev_t i_rdev;
1: + loff_t i_size;
1: + struct timespec64 i_atime;
1: + struct timespec64 i_mtime;
1: + struct timespec64 i_ctime;
1: + spinlock_t i_lock;
1: + short unsigned int i_bytes;
1: + u8 i_blkbits;
1: + u8 i_write_hint;
1: + blkcnt_t i_blocks;
1: + long unsigned int i_state;
1: + struct rw_semaphore i_rwsem;
1: + long unsigned int dirtied_when;
1: + long unsigned int dirtied_time_when;
1: + struct hlist_node i_hash;
1: + struct list_head i_io_list;
1: + struct list_head i_lru;
1: + struct list_head i_sb_list;
1: + struct list_head i_wb_list;
1: + union {
1: + struct hlist_head i_dentry;
1: + struct callback_head i_rcu;
1: + };
1: + atomic64_t i_version;
1: + atomic_t i_count;
1: + atomic_t i_dio_count;
1: + atomic_t i_writecount;
1: + atomic_t i_readcount;
1: + union {
1: + const struct file_operations *i_fop;
1: + void (*free_inode)(struct inode *);
1: + };
1: + struct file_lock_context *i_flctx;
1: + struct address_space i_data;
1: + struct list_head i_devices;
1: + union {
1: + struct pipe_inode_info *i_pipe;
1: + struct block_device *i_bdev;
1: + struct cdev *i_cdev;
1: + char *i_link;
1: + unsigned int i_dir_seq;
1: + };
1: + __u32 i_generation;
1: + __u32 i_fsnotify_mask;
1: + struct fsnotify_mark_connector *i_fsnotify_marks;
1: + void *i_private;
1: +};
1: +
1: +struct dentry_operations {
1: + int (*d_revalidate)(struct dentry *, unsigned int);
1: + int (*d_weak_revalidate)(struct dentry *, unsigned int);
1: + int (*d_hash)(const struct dentry *, struct qstr *);
1: + int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *);
1: + int (*d_delete)(const struct dentry *);
1: + int (*d_init)(struct dentry *);
1: + void (*d_release)(struct dentry *);
1: + void (*d_prune)(struct dentry *);
1: + void (*d_iput)(struct dentry *, struct inode *);
1: + char * (*d_dname)(struct dentry *, char *, int);
1: + struct vfsmount * (*d_automount)(struct path *);
1: + int (*d_manage)(const struct path *, bool);
1: + struct dentry * (*d_real)(struct dentry *, const struct inode *);
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct mtd_info;
1: +
1: +typedef long long int qsize_t;
1: +
1: +struct quota_format_type;
1: +
1: +struct mem_dqinfo {
1: + struct quota_format_type *dqi_format;
1: + int dqi_fmt_id;
1: + struct list_head dqi_dirty_list;
1: + long unsigned int dqi_flags;
1: + unsigned int dqi_bgrace;
1: + unsigned int dqi_igrace;
1: + qsize_t dqi_max_spc_limit;
1: + qsize_t dqi_max_ino_limit;
1: + void *dqi_priv;
1: +};
1: +
1: +struct quota_format_ops;
1: +
1: +struct quota_info {
1: + unsigned int flags;
1: + struct rw_semaphore dqio_sem;
1: + struct inode *files[3];
1: + struct mem_dqinfo info[3];
1: + const struct quota_format_ops *ops[3];
1: +};
1: +
1: +struct rcu_sync {
1: + int gp_state;
1: + int gp_count;
1: + wait_queue_head_t gp_wait;
1: + struct callback_head cb_head;
1: +};
1: +
1: +struct rcuwait {
1: + struct task_struct *task;
1: +};
1: +
1: +struct percpu_rw_semaphore {
1: + struct rcu_sync rss;
1: + unsigned int *read_count;
1: + struct rw_semaphore rw_sem;
1: + struct rcuwait writer;
1: + int readers_block;
1: +};
1: +
1: +struct sb_writers {
1: + int frozen;
1: + wait_queue_head_t wait_unfrozen;
1: + struct percpu_rw_semaphore rw_sem[3];
1: +};
1: +
1: +typedef struct {
1: + __u8 b[16];
1: +} uuid_t;
1: +
1: +struct list_lru_node;
1: +
1: +struct list_lru {
1: + struct list_lru_node *node;
1: +};
1: +
1: +struct file_system_type;
1: +
1: +struct super_operations;
1: +
1: +struct dquot_operations;
1: +
1: +struct quotactl_ops;
1: +
1: +struct export_operations;
1: +
1: +struct xattr_handler;
1: +
1: +struct workqueue_struct;
1: +
1: +struct super_block {
1: + struct list_head s_list;
1: + dev_t s_dev;
1: + unsigned char s_blocksize_bits;
1: + long unsigned int s_blocksize;
1: + loff_t s_maxbytes;
1: + struct file_system_type *s_type;
1: + const struct super_operations *s_op;
1: + const struct dquot_operations *dq_op;
1: + const struct quotactl_ops *s_qcop;
1: + const struct export_operations *s_export_op;
1: + long unsigned int s_flags;
1: + long unsigned int s_iflags;
1: + long unsigned int s_magic;
1: + struct dentry *s_root;
1: + struct rw_semaphore s_umount;
1: + int s_count;
1: + atomic_t s_active;
1: + void *s_security;
1: + const struct xattr_handler **s_xattr;
1: + struct hlist_bl_head s_roots;
1: + struct list_head s_mounts;
1: + struct block_device *s_bdev;
1: + struct backing_dev_info *s_bdi;
1: + struct mtd_info *s_mtd;
1: + struct hlist_node s_instances;
1: + unsigned int s_quota_types;
1: + struct quota_info s_dquot;
1: + struct sb_writers s_writers;
1: + void *s_fs_info;
1: + u32 s_time_gran;
1: + time64_t s_time_min;
1: + time64_t s_time_max;
1: + __u32 s_fsnotify_mask;
1: + struct fsnotify_mark_connector *s_fsnotify_marks;
1: + char s_id[32];
1: + uuid_t s_uuid;
1: + unsigned int s_max_links;
1: + fmode_t s_mode;
1: + struct mutex s_vfs_rename_mutex;
1: + const char *s_subtype;
1: + const struct dentry_operations *s_d_op;
1: + int cleancache_poolid;
1: + struct shrinker s_shrink;
1: + atomic_long_t s_remove_count;
1: + atomic_long_t s_fsnotify_inode_refs;
1: + int s_readonly_remount;
1: + struct workqueue_struct *s_dio_done_wq;
1: + struct hlist_head s_pins;
1: + struct user_namespace *s_user_ns;
1: + struct list_lru s_dentry_lru;
1: + struct list_lru s_inode_lru;
1: + struct callback_head rcu;
1: + struct work_struct destroy_work;
1: + struct mutex s_sync_lock;
1: + int s_stack_depth;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + spinlock_t s_inode_list_lock;
1: + struct list_head s_inodes;
1: + spinlock_t s_inode_wblist_lock;
1: + struct list_head s_inodes_wb;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct kstat {
1: + u32 result_mask;
1: + umode_t mode;
1: + unsigned int nlink;
1: + uint32_t blksize;
1: + u64 attributes;
1: + u64 attributes_mask;
1: + u64 ino;
1: + dev_t dev;
1: + dev_t rdev;
1: + kuid_t uid;
1: + kgid_t gid;
1: + loff_t size;
1: + struct timespec64 atime;
1: + struct timespec64 mtime;
1: + struct timespec64 ctime;
1: + struct timespec64 btime;
1: + u64 blocks;
1: +};
1: +
1: +struct list_lru_one {
1: + struct list_head list;
1: + long int nr_items;
1: +};
1: +
1: +struct list_lru_node {
1: + spinlock_t lock;
1: + struct list_lru_one lru;
1: + long int nr_items;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct fiemap_extent {
1: + __u64 fe_logical;
1: + __u64 fe_physical;
1: + __u64 fe_length;
1: + __u64 fe_reserved64[2];
1: + __u32 fe_flags;
1: + __u32 fe_reserved[3];
1: +};
1: +
1: +enum migrate_mode {
1: + MIGRATE_ASYNC = 0,
1: + MIGRATE_SYNC_LIGHT = 1,
1: + MIGRATE_SYNC = 2,
1: + MIGRATE_SYNC_NO_COPY = 3,
1: +};
1: +
1: +struct delayed_call {
1: + void (*fn)(void *);
1: + void *arg;
1: +};
1: +
1: +typedef struct {
1: + __u8 b[16];
1: +} guid_t;
1: +
1: +struct request_queue;
1: +
1: +struct io_cq {
1: + struct request_queue *q;
1: + struct io_context *ioc;
1: + union {
1: + struct list_head q_node;
1: + struct kmem_cache *__rcu_icq_cache;
1: + };
1: + union {
1: + struct hlist_node ioc_node;
1: + struct callback_head __rcu_head;
1: + };
1: + unsigned int flags;
1: +};
1: +
1: +struct kiocb {
1: + struct file *ki_filp;
1: + loff_t ki_pos;
1: + void (*ki_complete)(struct kiocb *, long int, long int);
1: + void *private;
1: + int ki_flags;
1: + u16 ki_hint;
1: + u16 ki_ioprio;
1: + unsigned int ki_cookie;
1: +};
1: +
1: +struct iattr {
1: + unsigned int ia_valid;
1: + umode_t ia_mode;
1: + kuid_t ia_uid;
1: + kgid_t ia_gid;
1: + loff_t ia_size;
1: + struct timespec64 ia_atime;
1: + struct timespec64 ia_mtime;
1: + struct timespec64 ia_ctime;
1: + struct file *ia_file;
1: +};
1: +
1: +struct percpu_counter {
1: + raw_spinlock_t lock;
1: + s64 count;
1: + struct list_head list;
1: + s32 *counters;
1: +};
1: +
1: +typedef __kernel_uid32_t projid_t;
1: +
1: +typedef struct {
1: + projid_t val;
1: +} kprojid_t;
1: +
1: +enum quota_type {
1: + USRQUOTA = 0,
1: + GRPQUOTA = 1,
1: + PRJQUOTA = 2,
1: +};
1: +
1: +struct kqid {
1: + union {
1: + kuid_t uid;
1: + kgid_t gid;
1: + kprojid_t projid;
1: + };
1: + enum quota_type type;
1: +};
1: +
1: +struct mem_dqblk {
1: + qsize_t dqb_bhardlimit;
1: + qsize_t dqb_bsoftlimit;
1: + qsize_t dqb_curspace;
1: + qsize_t dqb_rsvspace;
1: + qsize_t dqb_ihardlimit;
1: + qsize_t dqb_isoftlimit;
1: + qsize_t dqb_curinodes;
1: + time64_t dqb_btime;
1: + time64_t dqb_itime;
1: +};
1: +
1: +struct dquot {
1: + struct hlist_node dq_hash;
1: + struct list_head dq_inuse;
1: + struct list_head dq_free;
1: + struct list_head dq_dirty;
1: + struct mutex dq_lock;
1: + spinlock_t dq_dqb_lock;
1: + atomic_t dq_count;
1: + struct super_block *dq_sb;
1: + struct kqid dq_id;
1: + loff_t dq_off;
1: + long unsigned int dq_flags;
1: + struct mem_dqblk dq_dqb;
1: +};
1: +
1: +struct module;
1: +
1: +struct quota_format_type {
1: + int qf_fmt_id;
1: + const struct quota_format_ops *qf_ops;
1: + struct module *qf_owner;
1: + struct quota_format_type *qf_next;
1: +};
1: +
1: +struct dqstats {
1: + long unsigned int stat[8];
1: + struct percpu_counter counter[8];
1: +};
1: +
1: +struct quota_format_ops {
1: + int (*check_quota_file)(struct super_block *, int);
1: + int (*read_file_info)(struct super_block *, int);
1: + int (*write_file_info)(struct super_block *, int);
1: + int (*free_file_info)(struct super_block *, int);
1: + int (*read_dqblk)(struct dquot *);
1: + int (*commit_dqblk)(struct dquot *);
1: + int (*release_dqblk)(struct dquot *);
1: + int (*get_next_id)(struct super_block *, struct kqid *);
1: +};
1: +
1: +struct dquot_operations {
1: + int (*write_dquot)(struct dquot *);
1: + struct dquot * (*alloc_dquot)(struct super_block *, int);
1: + void (*destroy_dquot)(struct dquot *);
1: + int (*acquire_dquot)(struct dquot *);
1: + int (*release_dquot)(struct dquot *);
1: + int (*mark_dirty)(struct dquot *);
1: + int (*write_info)(struct super_block *, int);
1: + qsize_t * (*get_reserved_space)(struct inode *);
1: + int (*get_projid)(struct inode *, kprojid_t *);
1: + int (*get_inode_usage)(struct inode *, qsize_t *);
1: + int (*get_next_id)(struct super_block *, struct kqid *);
1: +};
1: +
1: +struct qc_dqblk {
1: + int d_fieldmask;
1: + u64 d_spc_hardlimit;
1: + u64 d_spc_softlimit;
1: + u64 d_ino_hardlimit;
1: + u64 d_ino_softlimit;
1: + u64 d_space;
1: + u64 d_ino_count;
1: + s64 d_ino_timer;
1: + s64 d_spc_timer;
1: + int d_ino_warns;
1: + int d_spc_warns;
1: + u64 d_rt_spc_hardlimit;
1: + u64 d_rt_spc_softlimit;
1: + u64 d_rt_space;
1: + s64 d_rt_spc_timer;
1: + int d_rt_spc_warns;
1: +};
1: +
1: +struct qc_type_state {
1: + unsigned int flags;
1: + unsigned int spc_timelimit;
1: + unsigned int ino_timelimit;
1: + unsigned int rt_spc_timelimit;
1: + unsigned int spc_warnlimit;
1: + unsigned int ino_warnlimit;
1: + unsigned int rt_spc_warnlimit;
1: + long long unsigned int ino;
1: + blkcnt_t blocks;
1: + blkcnt_t nextents;
1: +};
1: +
1: +struct qc_state {
1: + unsigned int s_incoredqs;
1: + struct qc_type_state s_state[3];
1: +};
1: +
1: +struct qc_info {
1: + int i_fieldmask;
1: + unsigned int i_flags;
1: + unsigned int i_spc_timelimit;
1: + unsigned int i_ino_timelimit;
1: + unsigned int i_rt_spc_timelimit;
1: + unsigned int i_spc_warnlimit;
1: + unsigned int i_ino_warnlimit;
1: + unsigned int i_rt_spc_warnlimit;
1: +};
1: +
1: +struct quotactl_ops {
1: + int (*quota_on)(struct super_block *, int, int, const struct path *);
1: + int (*quota_off)(struct super_block *, int);
1: + int (*quota_enable)(struct super_block *, unsigned int);
1: + int (*quota_disable)(struct super_block *, unsigned int);
1: + int (*quota_sync)(struct super_block *, int);
1: + int (*set_info)(struct super_block *, int, struct qc_info *);
1: + int (*get_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *);
1: + int (*get_nextdqblk)(struct super_block *, struct kqid *, struct qc_dqblk *);
1: + int (*set_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *);
1: + int (*get_state)(struct super_block *, struct qc_state *);
1: + int (*rm_xquota)(struct super_block *, unsigned int);
1: +};
1: +
1: +struct writeback_control;
1: +
1: +struct iov_iter;
1: +
1: +struct swap_info_struct;
1: +
1: +struct address_space_operations {
1: + int (*writepage)(struct page *, struct writeback_control *);
1: + int (*readpage)(struct file *, struct page *);
1: + int (*writepages)(struct address_space *, struct writeback_control *);
1: + int (*set_page_dirty)(struct page *);
1: + int (*readpages)(struct file *, struct address_space *, struct list_head *, unsigned int);
1: + int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page **, void **);
1: + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *);
1: + sector_t (*bmap)(struct address_space *, sector_t);
1: + void (*invalidatepage)(struct page *, unsigned int, unsigned int);
1: + int (*releasepage)(struct page *, gfp_t);
1: + void (*freepage)(struct page *);
1: + ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *);
1: + int (*migratepage)(struct address_space *, struct page *, struct page *, enum migrate_mode);
1: + bool (*isolate_page)(struct page *, isolate_mode_t);
1: + void (*putback_page)(struct page *);
1: + int (*launder_page)(struct page *);
1: + int (*is_partially_uptodate)(struct page *, long unsigned int, long unsigned int);
1: + void (*is_dirty_writeback)(struct page *, bool *, bool *);
1: + int (*error_remove_page)(struct address_space *, struct page *);
1: + int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *);
1: + void (*swap_deactivate)(struct file *);
1: +};
1: +
1: +struct hd_struct;
1: +
1: +struct gendisk;
1: +
1: +struct block_device {
1: + dev_t bd_dev;
1: + int bd_openers;
1: + struct inode *bd_inode;
1: + struct super_block *bd_super;
1: + struct mutex bd_mutex;
1: + void *bd_claiming;
1: + void *bd_holder;
1: + int bd_holders;
1: + bool bd_write_holder;
1: + struct list_head bd_holder_disks;
1: + struct block_device *bd_contains;
1: + unsigned int bd_block_size;
1: + u8 bd_partno;
1: + struct hd_struct *bd_part;
1: + unsigned int bd_part_count;
1: + int bd_invalidated;
1: + struct gendisk *bd_disk;
1: + struct request_queue *bd_queue;
1: + struct backing_dev_info *bd_bdi;
1: + struct list_head bd_list;
1: + long unsigned int bd_private;
1: + int bd_fsfreeze_count;
1: + struct mutex bd_fsfreeze_mutex;
1: +};
1: +
1: +typedef void *fl_owner_t;
1: +
1: +struct dir_context;
1: +
1: +struct poll_table_struct;
1: +
1: +struct file_lock;
1: +
1: +struct seq_file;
1: +
1: +struct file_operations {
1: + struct module *owner;
1: + loff_t (*llseek)(struct file *, loff_t, int);
1: + ssize_t (*read)(struct file *, char *, size_t, loff_t *);
1: + ssize_t (*write)(struct file *, const char *, size_t, loff_t *);
1: + ssize_t (*read_iter)(struct kiocb *, struct iov_iter *);
1: + ssize_t (*write_iter)(struct kiocb *, struct iov_iter *);
1: + int (*iopoll)(struct kiocb *, bool);
1: + int (*iterate)(struct file *, struct dir_context *);
1: + int (*iterate_shared)(struct file *, struct dir_context *);
1: + __poll_t (*poll)(struct file *, struct poll_table_struct *);
1: + long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int);
1: + long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int);
1: + int (*mmap)(struct file *, struct vm_area_struct *);
1: + long unsigned int mmap_supported_flags;
1: + int (*open)(struct inode *, struct file *);
1: + int (*flush)(struct file *, fl_owner_t);
1: + int (*release)(struct inode *, struct file *);
1: + int (*fsync)(struct file *, loff_t, loff_t, int);
1: + int (*fasync)(int, struct file *, int);
1: + int (*lock)(struct file *, int, struct file_lock *);
1: + ssize_t (*sendpage)(struct file *, struct page *, int, size_t, loff_t *, int);
1: + long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: + int (*check_flags)(int);
1: + int (*flock)(struct file *, int, struct file_lock *);
1: + ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1: + ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1: + int (*setlease)(struct file *, long int, struct file_lock **, void **);
1: + long int (*fallocate)(struct file *, int, loff_t, loff_t);
1: + void (*show_fdinfo)(struct seq_file *, struct file *);
1: + ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int);
1: + loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int);
1: + int (*fadvise)(struct file *, loff_t, loff_t, int);
1: +};
1: +
1: +struct fiemap_extent_info;
1: +
1: +struct inode_operations {
1: + struct dentry * (*lookup)(struct inode *, struct dentry *, unsigned int);
1: + const char * (*get_link)(struct dentry *, struct inode *, struct delayed_call *);
1: + int (*permission)(struct inode *, int);
1: + struct posix_acl * (*get_acl)(struct inode *, int);
1: + int (*readlink)(struct dentry *, char *, int);
1: + int (*create)(struct inode *, struct dentry *, umode_t, bool);
1: + int (*link)(struct dentry *, struct inode *, struct dentry *);
1: + int (*unlink)(struct inode *, struct dentry *);
1: + int (*symlink)(struct inode *, struct dentry *, const char *);
1: + int (*mkdir)(struct inode *, struct dentry *, umode_t);
1: + int (*rmdir)(struct inode *, struct dentry *);
1: + int (*mknod)(struct inode *, struct dentry *, umode_t, dev_t);
1: + int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int);
1: + int (*setattr)(struct dentry *, struct iattr *);
1: + int (*getattr)(const struct path *, struct kstat *, u32, unsigned int);
1: + ssize_t (*listxattr)(struct dentry *, char *, size_t);
1: + int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64, u64);
1: + int (*update_time)(struct inode *, struct timespec64 *, int);
1: + int (*atomic_open)(struct inode *, struct dentry *, struct file *, unsigned int, umode_t);
1: + int (*tmpfile)(struct inode *, struct dentry *, umode_t);
1: + int (*set_acl)(struct inode *, struct posix_acl *, int);
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct file_lock_context {
1: + spinlock_t flc_lock;
1: + struct list_head flc_flock;
1: + struct list_head flc_posix;
1: + struct list_head flc_lease;
1: +};
1: +
1: +struct file_lock_operations {
1: + void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
1: + void (*fl_release_private)(struct file_lock *);
1: +};
1: +
1: +struct nlm_lockowner;
1: +
1: +struct nfs_lock_info {
1: + u32 state;
1: + struct nlm_lockowner *owner;
1: + struct list_head list;
1: +};
1: +
1: +struct nfs4_lock_state;
1: +
1: +struct nfs4_lock_info {
1: + struct nfs4_lock_state *owner;
1: +};
1: +
1: +struct fasync_struct;
1: +
1: +struct lock_manager_operations;
1: +
1: +struct file_lock {
1: + struct file_lock *fl_blocker;
1: + struct list_head fl_list;
1: + struct hlist_node fl_link;
1: + struct list_head fl_blocked_requests;
1: + struct list_head fl_blocked_member;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + unsigned int fl_pid;
1: + int fl_link_cpu;
1: + wait_queue_head_t fl_wait;
1: + struct file *fl_file;
1: + loff_t fl_start;
1: + loff_t fl_end;
1: + struct fasync_struct *fl_fasync;
1: + long unsigned int fl_break_time;
1: + long unsigned int fl_downgrade_time;
1: + const struct file_lock_operations *fl_ops;
1: + const struct lock_manager_operations *fl_lmops;
1: + union {
1: + struct nfs_lock_info nfs_fl;
1: + struct nfs4_lock_info nfs4_fl;
1: + struct {
1: + struct list_head link;
1: + int state;
1: + unsigned int debug_id;
1: + } afs;
1: + } fl_u;
1: +};
1: +
1: +struct lock_manager_operations {
1: + fl_owner_t (*lm_get_owner)(fl_owner_t);
1: + void (*lm_put_owner)(fl_owner_t);
1: + void (*lm_notify)(struct file_lock *);
1: + int (*lm_grant)(struct file_lock *, int);
1: + bool (*lm_break)(struct file_lock *);
1: + int (*lm_change)(struct file_lock *, int, struct list_head *);
1: + void (*lm_setup)(struct file_lock *, void **);
1: +};
1: +
1: +struct fasync_struct {
1: + rwlock_t fa_lock;
1: + int magic;
1: + int fa_fd;
1: + struct fasync_struct *fa_next;
1: + struct file *fa_file;
1: + struct callback_head fa_rcu;
1: +};
1: +
1: +struct fs_context;
1: +
1: +struct fs_parameter_description;
1: +
1: +struct file_system_type {
1: + const char *name;
1: + int fs_flags;
1: + int (*init_fs_context)(struct fs_context *);
1: + const struct fs_parameter_description *parameters;
1: + struct dentry * (*mount)(struct file_system_type *, int, const char *, void *);
1: + void (*kill_sb)(struct super_block *);
1: + struct module *owner;
1: + struct file_system_type *next;
1: + struct hlist_head fs_supers;
1: + struct lock_class_key s_lock_key;
1: + struct lock_class_key s_umount_key;
1: + struct lock_class_key s_vfs_rename_key;
1: + struct lock_class_key s_writers_key[3];
1: + struct lock_class_key i_lock_key;
1: + struct lock_class_key i_mutex_key;
1: + struct lock_class_key i_mutex_dir_key;
1: +};
1: +
1: +struct kstatfs;
1: +
1: +struct super_operations {
1: + struct inode * (*alloc_inode)(struct super_block *);
1: + void (*destroy_inode)(struct inode *);
1: + void (*free_inode)(struct inode *);
1: + void (*dirty_inode)(struct inode *, int);
1: + int (*write_inode)(struct inode *, struct writeback_control *);
1: + int (*drop_inode)(struct inode *);
1: + void (*evict_inode)(struct inode *);
1: + void (*put_super)(struct super_block *);
1: + int (*sync_fs)(struct super_block *, int);
1: + int (*freeze_super)(struct super_block *);
1: + int (*freeze_fs)(struct super_block *);
1: + int (*thaw_super)(struct super_block *);
1: + int (*unfreeze_fs)(struct super_block *);
1: + int (*statfs)(struct dentry *, struct kstatfs *);
1: + int (*remount_fs)(struct super_block *, int *, char *);
1: + void (*umount_begin)(struct super_block *);
1: + int (*show_options)(struct seq_file *, struct dentry *);
1: + int (*show_devname)(struct seq_file *, struct dentry *);
1: + int (*show_path)(struct seq_file *, struct dentry *);
1: + int (*show_stats)(struct seq_file *, struct dentry *);
1: + ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
1: + ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
1: + struct dquot ** (*get_dquots)(struct inode *);
1: + int (*bdev_try_to_free_page)(struct super_block *, struct page *, gfp_t);
1: + long int (*nr_cached_objects)(struct super_block *, struct shrink_control *);
1: + long int (*free_cached_objects)(struct super_block *, struct shrink_control *);
1: +};
1: +
1: +struct iomap;
1: +
1: +struct inode___2;
1: +
1: +struct dentry___2;
1: +
1: +struct super_block___2;
1: +
1: +struct fid;
1: +
1: +struct export_operations {
1: + int (*encode_fh)(struct inode___2 *, __u32 *, int *, struct inode___2 *);
1: + struct dentry___2 * (*fh_to_dentry)(struct super_block___2 *, struct fid *, int, int);
1: + struct dentry___2 * (*fh_to_parent)(struct super_block___2 *, struct fid *, int, int);
1: + int (*get_name)(struct dentry___2 *, char *, struct dentry___2 *);
1: + struct dentry___2 * (*get_parent)(struct dentry___2 *);
1: + int (*commit_metadata)(struct inode___2 *);
1: + int (*get_uuid)(struct super_block___2 *, u8 *, u32 *, u64 *);
1: + int (*map_blocks)(struct inode___2 *, loff_t, u64, struct iomap *, bool, u32 *);
1: + int (*commit_blocks)(struct inode___2 *, struct iomap *, int, struct iattr *);
1: +};
1: +
1: +struct xattr_handler {
1: + const char *name;
1: + const char *prefix;
1: + int flags;
1: + bool (*list)(struct dentry *);
1: + int (*get)(const struct xattr_handler *, struct dentry *, struct inode *, const char *, void *, size_t);
1: + int (*set)(const struct xattr_handler *, struct dentry *, struct inode *, const char *, const void *, size_t, int);
1: +};
1: +
1: +struct fiemap_extent_info {
1: + unsigned int fi_flags;
1: + unsigned int fi_extents_mapped;
1: + unsigned int fi_extents_max;
1: + struct fiemap_extent *fi_extents_start;
1: +};
1: +
1: +typedef int (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int);
1: +
1: +struct dir_context {
1: + filldir_t actor;
1: + loff_t pos;
1: +};
1: +
1: +struct fs_parameter_spec;
1: +
1: +struct fs_parameter_enum;
1: +
1: +struct fs_parameter_description {
1: + char name[16];
1: + const struct fs_parameter_spec *specs;
1: + const struct fs_parameter_enum *enums;
1: +};
1: +
1: +typedef void compound_page_dtor(struct page *);
1: +
1: +enum vm_event_item {
1: + PGPGIN = 0,
1: + PGPGOUT = 1,
1: + PSWPIN = 2,
1: + PSWPOUT = 3,
1: + PGALLOC_DMA = 4,
1: + PGALLOC_DMA32 = 5,
1: + PGALLOC_NORMAL = 6,
1: + PGALLOC_MOVABLE = 7,
1: + ALLOCSTALL_DMA = 8,
1: + ALLOCSTALL_DMA32 = 9,
1: + ALLOCSTALL_NORMAL = 10,
1: + ALLOCSTALL_MOVABLE = 11,
1: + PGSCAN_SKIP_DMA = 12,
1: + PGSCAN_SKIP_DMA32 = 13,
1: + PGSCAN_SKIP_NORMAL = 14,
1: + PGSCAN_SKIP_MOVABLE = 15,
1: + PGFREE = 16,
1: + PGACTIVATE = 17,
1: + PGDEACTIVATE = 18,
1: + PGLAZYFREE = 19,
1: + PGFAULT = 20,
1: + PGMAJFAULT = 21,
1: + PGLAZYFREED = 22,
1: + PGREFILL = 23,
1: + PGSTEAL_KSWAPD = 24,
1: + PGSTEAL_DIRECT = 25,
1: + PGSCAN_KSWAPD = 26,
1: + PGSCAN_DIRECT = 27,
1: + PGSCAN_DIRECT_THROTTLE = 28,
1: + PGSCAN_ZONE_RECLAIM_FAILED = 29,
1: + PGINODESTEAL = 30,
1: + SLABS_SCANNED = 31,
1: + KSWAPD_INODESTEAL = 32,
1: + KSWAPD_LOW_WMARK_HIT_QUICKLY = 33,
1: + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 34,
1: + PAGEOUTRUN = 35,
1: + PGROTATED = 36,
1: + DROP_PAGECACHE = 37,
1: + DROP_SLAB = 38,
1: + OOM_KILL = 39,
1: + PGMIGRATE_SUCCESS = 40,
1: + PGMIGRATE_FAIL = 41,
1: + COMPACTMIGRATE_SCANNED = 42,
1: + COMPACTFREE_SCANNED = 43,
1: + COMPACTISOLATED = 44,
1: + COMPACTSTALL = 45,
1: + COMPACTFAIL = 46,
1: + COMPACTSUCCESS = 47,
1: + KCOMPACTD_WAKE = 48,
1: + KCOMPACTD_MIGRATE_SCANNED = 49,
1: + KCOMPACTD_FREE_SCANNED = 50,
1: + HTLB_BUDDY_PGALLOC = 51,
1: + HTLB_BUDDY_PGALLOC_FAIL = 52,
1: + UNEVICTABLE_PGCULLED = 53,
1: + UNEVICTABLE_PGSCANNED = 54,
1: + UNEVICTABLE_PGRESCUED = 55,
1: + UNEVICTABLE_PGMLOCKED = 56,
1: + UNEVICTABLE_PGMUNLOCKED = 57,
1: + UNEVICTABLE_PGCLEARED = 58,
1: + UNEVICTABLE_PGSTRANDED = 59,
1: + SWAP_RA = 60,
1: + SWAP_RA_HIT = 61,
1: + NR_VM_EVENT_ITEMS = 62,
1: +};
1: +
1: +struct vm_event_state {
1: + long unsigned int event[62];
1: +};
1: +
1: +enum memblock_flags {
1: + MEMBLOCK_NONE = 0,
1: + MEMBLOCK_HOTPLUG = 1,
1: + MEMBLOCK_MIRROR = 2,
1: + MEMBLOCK_NOMAP = 4,
1: +};
1: +
1: +struct memblock_region {
1: + phys_addr_t base;
1: + phys_addr_t size;
1: + enum memblock_flags flags;
1: + int nid;
1: +};
1: +
1: +struct memblock_type {
1: + long unsigned int cnt;
1: + long unsigned int max;
1: + phys_addr_t total_size;
1: + struct memblock_region *regions;
1: + char *name;
1: +};
1: +
1: +struct memblock {
1: + bool bottom_up;
1: + phys_addr_t current_limit;
1: + struct memblock_type memory;
1: + struct memblock_type reserved;
1: +};
1: +
1: +struct gdt_page {
1: + struct desc_struct gdt[16];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct tlb_context {
1: + u64 ctx_id;
1: + u64 tlb_gen;
1: +};
1: +
1: +struct tlb_state {
1: + struct mm_struct *loaded_mm;
1: + union {
1: + struct mm_struct *last_user_mm;
1: + long unsigned int last_user_mm_ibpb;
1: + };
1: + u16 loaded_mm_asid;
1: + u16 next_asid;
1: + bool is_lazy;
1: + bool invalidate_other;
1: + short unsigned int user_pcid_flush_mask;
1: + long unsigned int cr4;
1: + struct tlb_context ctxs[6];
1: +};
1: +
1: +struct boot_params_to_save {
1: + unsigned int start;
1: + unsigned int len;
1: +};
1: +
1: +typedef s32 int32_t;
1: +
1: +typedef long unsigned int irq_hw_number_t;
1: +
1: +struct kernel_symbol {
1: + int value_offset;
1: + int name_offset;
1: + int namespace_offset;
1: +};
1: +
1: +typedef int (*initcall_t)();
1: +
1: +typedef int initcall_entry_t;
1: +
1: +struct obs_kernel_param {
1: + const char *str;
1: + int (*setup_func)(char *);
1: + int early;
1: +};
1: +
1: +enum system_states {
1: + SYSTEM_BOOTING = 0,
1: + SYSTEM_SCHEDULING = 1,
1: + SYSTEM_RUNNING = 2,
1: + SYSTEM_HALT = 3,
1: + SYSTEM_POWER_OFF = 4,
1: + SYSTEM_RESTART = 5,
1: + SYSTEM_SUSPEND = 6,
1: +};
1: +
1: +struct bug_entry {
1: + int bug_addr_disp;
1: + int file_disp;
1: + short unsigned int line;
1: + short unsigned int flags;
1: +};
1: +
1: +struct pollfd {
1: + int fd;
1: + short int events;
1: + short int revents;
1: +};
1: +
1: +typedef const int tracepoint_ptr_t;
1: +
1: +struct orc_entry {
1: + s16 sp_offset;
1: + s16 bp_offset;
1: + unsigned int sp_reg: 4;
1: + unsigned int bp_reg: 4;
1: + unsigned int type: 2;
1: + unsigned int end: 1;
1: +} __attribute__((packed));
1: +
1: +enum perf_event_state {
1: + PERF_EVENT_STATE_DEAD = -4,
1: + PERF_EVENT_STATE_EXIT = -3,
1: + PERF_EVENT_STATE_ERROR = -2,
1: + PERF_EVENT_STATE_OFF = -1,
1: + PERF_EVENT_STATE_INACTIVE = 0,
1: + PERF_EVENT_STATE_ACTIVE = 1,
1: +};
1: +
1: +typedef struct {
1: + atomic_long_t a;
1: +} local_t;
1: +
1: +typedef struct {
1: + local_t a;
1: +} local64_t;
1: +
1: +struct perf_event_attr {
1: + __u32 type;
1: + __u32 size;
1: + __u64 config;
1: + union {
1: + __u64 sample_period;
1: + __u64 sample_freq;
1: + };
1: + __u64 sample_type;
1: + __u64 read_format;
1: + __u64 disabled: 1;
1: + __u64 inherit: 1;
1: + __u64 pinned: 1;
1: + __u64 exclusive: 1;
1: + __u64 exclude_user: 1;
1: + __u64 exclude_kernel: 1;
1: + __u64 exclude_hv: 1;
1: + __u64 exclude_idle: 1;
1: + __u64 mmap: 1;
1: + __u64 comm: 1;
1: + __u64 freq: 1;
1: + __u64 inherit_stat: 1;
1: + __u64 enable_on_exec: 1;
1: + __u64 task: 1;
1: + __u64 watermark: 1;
1: + __u64 precise_ip: 2;
1: + __u64 mmap_data: 1;
1: + __u64 sample_id_all: 1;
1: + __u64 exclude_host: 1;
1: + __u64 exclude_guest: 1;
1: + __u64 exclude_callchain_kernel: 1;
1: + __u64 exclude_callchain_user: 1;
1: + __u64 mmap2: 1;
1: + __u64 comm_exec: 1;
1: + __u64 use_clockid: 1;
1: + __u64 context_switch: 1;
1: + __u64 write_backward: 1;
1: + __u64 namespaces: 1;
1: + __u64 ksymbol: 1;
1: + __u64 bpf_event: 1;
1: + __u64 aux_output: 1;
1: + __u64 __reserved_1: 32;
1: + union {
1: + __u32 wakeup_events;
1: + __u32 wakeup_watermark;
1: + };
1: + __u32 bp_type;
1: + union {
1: + __u64 bp_addr;
1: + __u64 kprobe_func;
1: + __u64 uprobe_path;
1: + __u64 config1;
1: + };
1: + union {
1: + __u64 bp_len;
1: + __u64 kprobe_addr;
1: + __u64 probe_offset;
1: + __u64 config2;
1: + };
1: + __u64 branch_sample_type;
1: + __u64 sample_regs_user;
1: + __u32 sample_stack_user;
1: + __s32 clockid;
1: + __u64 sample_regs_intr;
1: + __u32 aux_watermark;
1: + __u16 sample_max_stack;
1: + __u16 __reserved_2;
1: + __u32 aux_sample_size;
1: + __u32 __reserved_3;
1: +};
1: +
1: +struct hw_perf_event_extra {
1: + u64 config;
1: + unsigned int reg;
1: + int alloc;
1: + int idx;
1: +};
1: +
1: +struct arch_hw_breakpoint {
1: + long unsigned int address;
1: + long unsigned int mask;
1: + u8 len;
1: + u8 type;
1: +};
1: +
1: +struct hw_perf_event {
1: + union {
1: + struct {
1: + u64 config;
1: + u64 last_tag;
1: + long unsigned int config_base;
1: + long unsigned int event_base;
1: + int event_base_rdpmc;
1: + int idx;
1: + int last_cpu;
1: + int flags;
1: + struct hw_perf_event_extra extra_reg;
1: + struct hw_perf_event_extra branch_reg;
1: + };
1: + struct {
1: + struct hrtimer hrtimer;
1: + };
1: + struct {
1: + struct list_head tp_list;
1: + };
1: + struct {
1: + u64 pwr_acc;
1: + u64 ptsc;
1: + };
1: + struct {
1: + struct arch_hw_breakpoint info;
1: + struct list_head bp_list;
1: + };
1: + struct {
1: + u8 iommu_bank;
1: + u8 iommu_cntr;
1: + u16 padding;
1: + u64 conf;
1: + u64 conf1;
1: + };
1: + };
1: + struct task_struct *target;
1: + void *addr_filters;
1: + long unsigned int addr_filters_gen;
1: + int state;
1: + local64_t prev_count;
1: + u64 sample_period;
1: + u64 last_period;
1: + local64_t period_left;
1: + u64 interrupts_seq;
1: + u64 interrupts;
1: + u64 freq_time_stamp;
1: + u64 freq_count_stamp;
1: +};
1: +
1: +struct irq_work {
1: + atomic_t flags;
1: + struct llist_node llnode;
1: + void (*func)(struct irq_work *);
1: +};
1: +
1: +struct perf_addr_filters_head {
1: + struct list_head list;
1: + raw_spinlock_t lock;
1: + unsigned int nr_file_filters;
1: +};
1: +
1: +struct perf_sample_data;
1: +
1: +typedef void (*perf_overflow_handler_t)(struct perf_event *, struct perf_sample_data *, struct pt_regs *);
1: +
1: +struct pmu;
1: +
1: +struct ring_buffer;
1: +
1: +struct perf_addr_filter_range;
1: +
1: +struct trace_event_call;
1: +
1: +struct event_filter;
1: +
1: +struct perf_event {
1: + struct list_head event_entry;
1: + struct list_head sibling_list;
1: + struct list_head active_list;
1: + struct rb_node group_node;
1: + u64 group_index;
1: + struct list_head migrate_entry;
1: + struct hlist_node hlist_entry;
1: + struct list_head active_entry;
1: + int nr_siblings;
1: + int event_caps;
1: + int group_caps;
1: + struct perf_event *group_leader;
1: + struct pmu *pmu;
1: + void *pmu_private;
1: + enum perf_event_state state;
1: + unsigned int attach_state;
1: + local64_t count;
1: + atomic64_t child_count;
1: + u64 total_time_enabled;
1: + u64 total_time_running;
1: + u64 tstamp;
1: + u64 shadow_ctx_time;
1: + struct perf_event_attr attr;
1: + u16 header_size;
1: + u16 id_header_size;
1: + u16 read_size;
1: + struct hw_perf_event hw;
1: + struct perf_event_context *ctx;
1: + atomic_long_t refcount;
1: + atomic64_t child_total_time_enabled;
1: + atomic64_t child_total_time_running;
1: + struct mutex child_mutex;
1: + struct list_head child_list;
1: + struct perf_event *parent;
1: + int oncpu;
1: + int cpu;
1: + struct list_head owner_entry;
1: + struct task_struct *owner;
1: + struct mutex mmap_mutex;
1: + atomic_t mmap_count;
1: + struct ring_buffer *rb;
1: + struct list_head rb_entry;
1: + long unsigned int rcu_batches;
1: + int rcu_pending;
1: + wait_queue_head_t waitq;
1: + struct fasync_struct *fasync;
1: + int pending_wakeup;
1: + int pending_kill;
1: + int pending_disable;
1: + struct irq_work pending;
1: + atomic_t event_limit;
1: + struct perf_addr_filters_head addr_filters;
1: + struct perf_addr_filter_range *addr_filter_ranges;
1: + long unsigned int addr_filters_gen;
1: + struct perf_event *aux_event;
1: + void (*destroy)(struct perf_event *);
1: + struct callback_head callback_head;
1: + struct pid_namespace *ns;
1: + u64 id;
1: + u64 (*clock)();
1: + perf_overflow_handler_t overflow_handler;
1: + void *overflow_handler_context;
1: + struct trace_event_call *tp_event;
1: + struct event_filter *filter;
1: + void *security;
1: + struct list_head sb_list;
1: +};
1: +
1: +struct lockdep_map {};
1: +
1: +typedef struct {
1: + struct seqcount seqcount;
1: + spinlock_t lock;
1: +} seqlock_t;
1: +
1: +enum node_states {
1: + N_POSSIBLE = 0,
1: + N_ONLINE = 1,
1: + N_NORMAL_MEMORY = 2,
1: + N_HIGH_MEMORY = 2,
1: + N_MEMORY = 3,
1: + N_CPU = 4,
1: + NR_NODE_STATES = 5,
1: +};
1: +
1: +struct timer_list {
1: + struct hlist_node entry;
1: + long unsigned int expires;
1: + void (*function)(struct timer_list *);
1: + u32 flags;
1: +};
1: +
1: +struct delayed_work {
1: + struct work_struct work;
1: + struct timer_list timer;
1: + struct workqueue_struct *wq;
1: + int cpu;
1: +};
1: +
1: +struct rcu_work {
1: + struct work_struct work;
1: + struct callback_head rcu;
1: + struct workqueue_struct *wq;
1: +};
1: +
1: +struct rcu_segcblist {
1: + struct callback_head *head;
1: + struct callback_head **tails[4];
1: + long unsigned int gp_seq[4];
1: + long int len;
1: + long int len_lazy;
1: + u8 enabled;
1: + u8 offloaded;
1: +};
1: +
1: +struct srcu_node;
1: +
1: +struct srcu_struct;
1: +
1: +struct srcu_data {
1: + long unsigned int srcu_lock_count[2];
1: + long unsigned int srcu_unlock_count[2];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + spinlock_t lock;
1: + struct rcu_segcblist srcu_cblist;
1: + long unsigned int srcu_gp_seq_needed;
1: + long unsigned int srcu_gp_seq_needed_exp;
1: + bool srcu_cblist_invoking;
1: + struct timer_list delay_work;
1: + struct work_struct work;
1: + struct callback_head srcu_barrier_head;
1: + struct srcu_node *mynode;
1: + long unsigned int grpmask;
1: + int cpu;
1: + struct srcu_struct *ssp;
1: + long: 64;
1: +};
1: +
1: +struct srcu_node {
1: + spinlock_t lock;
1: + long unsigned int srcu_have_cbs[4];
1: + long unsigned int srcu_data_have_cbs[4];
1: + long unsigned int srcu_gp_seq_needed_exp;
1: + struct srcu_node *srcu_parent;
1: + int grplo;
1: + int grphi;
1: +};
1: +
1: +struct srcu_struct {
1: + struct srcu_node node[5];
1: + struct srcu_node *level[3];
1: + struct mutex srcu_cb_mutex;
1: + spinlock_t lock;
1: + struct mutex srcu_gp_mutex;
1: + unsigned int srcu_idx;
1: + long unsigned int srcu_gp_seq;
1: + long unsigned int srcu_gp_seq_needed;
1: + long unsigned int srcu_gp_seq_needed_exp;
1: + long unsigned int srcu_last_gp_end;
1: + struct srcu_data *sda;
1: + long unsigned int srcu_barrier_seq;
1: + struct mutex srcu_barrier_mutex;
1: + struct completion srcu_barrier_completion;
1: + atomic_t srcu_barrier_cpu_cnt;
1: + struct delayed_work work;
1: +};
1: +
1: +struct anon_vma {
1: + struct anon_vma *root;
1: + struct rw_semaphore rwsem;
1: + atomic_t refcount;
1: + unsigned int degree;
1: + struct anon_vma *parent;
1: + struct rb_root_cached rb_root;
1: +};
1: +
1: +struct mempolicy {
1: + atomic_t refcnt;
1: + short unsigned int mode;
1: + short unsigned int flags;
1: + union {
1: + short int preferred_node;
1: + nodemask_t nodes;
1: + } v;
1: + union {
1: + nodemask_t cpuset_mems_allowed;
1: + nodemask_t user_nodemask;
1: + } w;
1: +};
1: +
1: +struct linux_binprm;
1: +
1: +struct coredump_params;
1: +
1: +struct linux_binfmt {
1: + struct list_head lh;
1: + struct module *module;
1: + int (*load_binary)(struct linux_binprm *);
1: + int (*load_shlib)(struct file *);
1: + int (*core_dump)(struct coredump_params *);
1: + long unsigned int min_coredump;
1: +};
1: +
1: +struct uid_gid_extent {
1: + u32 first;
1: + u32 lower_first;
1: + u32 count;
1: +};
1: +
1: +struct uid_gid_map {
1: + u32 nr_extents;
1: + union {
1: + struct uid_gid_extent extent[5];
1: + struct {
1: + struct uid_gid_extent *forward;
1: + struct uid_gid_extent *reverse;
1: + };
1: + };
1: +};
1: +
1: +struct proc_ns_operations;
1: +
1: +struct ns_common {
1: + atomic_long_t stashed;
1: + const struct proc_ns_operations *ops;
1: + unsigned int inum;
1: +};
1: +
1: +struct ctl_table;
1: +
1: +struct ctl_table_root;
1: +
1: +struct ctl_table_set;
1: +
1: +struct ctl_dir;
1: +
1: +struct ctl_node;
1: +
1: +struct ctl_table_header {
1: + union {
1: + struct {
1: + struct ctl_table *ctl_table;
1: + int used;
1: + int count;
1: + int nreg;
1: + };
1: + struct callback_head rcu;
1: + };
1: + struct completion *unregistering;
1: + struct ctl_table *ctl_table_arg;
1: + struct ctl_table_root *root;
1: + struct ctl_table_set *set;
1: + struct ctl_dir *parent;
1: + struct ctl_node *node;
1: + struct hlist_head inodes;
1: +};
1: +
1: +struct ctl_dir {
1: + struct ctl_table_header header;
1: + struct rb_root root;
1: +};
1: +
1: +struct ctl_table_set {
1: + int (*is_seen)(struct ctl_table_set *);
1: + struct ctl_dir dir;
1: +};
1: +
1: +struct ucounts;
1: +
1: +struct user_namespace {
1: + struct uid_gid_map uid_map;
1: + struct uid_gid_map gid_map;
1: + struct uid_gid_map projid_map;
1: + atomic_t count;
1: + struct user_namespace *parent;
1: + int level;
1: + kuid_t owner;
1: + kgid_t group;
1: + struct ns_common ns;
1: + long unsigned int flags;
1: + struct list_head keyring_name_list;
1: + struct key *user_keyring_register;
1: + struct rw_semaphore keyring_sem;
1: + struct work_struct work;
1: + struct ctl_table_set set;
1: + struct ctl_table_header *sysctls;
1: + struct ucounts *ucounts;
1: + int ucount_max[9];
1: +};
1: +
1: +typedef struct pglist_data pg_data_t;
1: +
1: +struct fwnode_operations;
1: +
1: +struct device;
1: +
1: +struct fwnode_handle {
1: + struct fwnode_handle *secondary;
1: + const struct fwnode_operations *ops;
1: + struct device *dev;
1: +};
1: +
1: +struct fwnode_reference_args;
1: +
1: +struct fwnode_endpoint;
1: +
1: +struct fwnode_operations {
1: + struct fwnode_handle * (*get)(struct fwnode_handle *);
1: + void (*put)(struct fwnode_handle *);
1: + bool (*device_is_available)(const struct fwnode_handle *);
1: + const void * (*device_get_match_data)(const struct fwnode_handle *, const struct device *);
1: + bool (*property_present)(const struct fwnode_handle *, const char *);
1: + int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t);
1: + int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t);
1: + const char * (*get_name)(const struct fwnode_handle *);
1: + const char * (*get_name_prefix)(const struct fwnode_handle *);
1: + struct fwnode_handle * (*get_parent)(const struct fwnode_handle *);
1: + struct fwnode_handle * (*get_next_child_node)(const struct fwnode_handle *, struct fwnode_handle *);
1: + struct fwnode_handle * (*get_named_child_node)(const struct fwnode_handle *, const char *);
1: + int (*get_reference_args)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *);
1: + struct fwnode_handle * (*graph_get_next_endpoint)(const struct fwnode_handle *, struct fwnode_handle *);
1: + struct fwnode_handle * (*graph_get_remote_endpoint)(const struct fwnode_handle *);
1: + struct fwnode_handle * (*graph_get_port_parent)(struct fwnode_handle *);
1: + int (*graph_parse_endpoint)(const struct fwnode_handle *, struct fwnode_endpoint *);
1: + int (*add_links)(const struct fwnode_handle *, struct device *);
1: +};
1: +
1: +struct kref {
1: + refcount_t refcount;
1: +};
1: +
1: +struct kset;
1: +
1: +struct kobj_type;
1: +
1: +struct kernfs_node;
1: +
1: +struct kobject {
1: + const char *name;
1: + struct list_head entry;
1: + struct kobject *parent;
1: + struct kset *kset;
1: + struct kobj_type *ktype;
1: + struct kernfs_node *sd;
1: + struct kref kref;
1: + unsigned int state_initialized: 1;
1: + unsigned int state_in_sysfs: 1;
1: + unsigned int state_add_uevent_sent: 1;
1: + unsigned int state_remove_uevent_sent: 1;
1: + unsigned int uevent_suppress: 1;
1: +};
1: +
1: +enum dl_dev_state {
1: + DL_DEV_NO_DRIVER = 0,
1: + DL_DEV_PROBING = 1,
1: + DL_DEV_DRIVER_BOUND = 2,
1: + DL_DEV_UNBINDING = 3,
1: +};
1: +
1: +struct dev_links_info {
1: + struct list_head suppliers;
1: + struct list_head consumers;
1: + struct list_head needs_suppliers;
1: + struct list_head defer_sync;
1: + bool need_for_probe;
1: + enum dl_dev_state status;
1: +};
1: +
1: +struct pm_message {
1: + int event;
1: +};
1: +
1: +typedef struct pm_message pm_message_t;
1: +
1: +enum rpm_request {
1: + RPM_REQ_NONE = 0,
1: + RPM_REQ_IDLE = 1,
1: + RPM_REQ_SUSPEND = 2,
1: + RPM_REQ_AUTOSUSPEND = 3,
1: + RPM_REQ_RESUME = 4,
1: +};
1: +
1: +enum rpm_status {
1: + RPM_ACTIVE = 0,
1: + RPM_RESUMING = 1,
1: + RPM_SUSPENDED = 2,
1: + RPM_SUSPENDING = 3,
1: +};
1: +
1: +struct wakeup_source;
1: +
1: +struct wake_irq;
1: +
1: +struct pm_subsys_data;
1: +
1: +struct dev_pm_qos;
1: +
1: +struct dev_pm_info {
1: + pm_message_t power_state;
1: + unsigned int can_wakeup: 1;
1: + unsigned int async_suspend: 1;
1: + bool in_dpm_list: 1;
1: + bool is_prepared: 1;
1: + bool is_suspended: 1;
1: + bool is_noirq_suspended: 1;
1: + bool is_late_suspended: 1;
1: + bool no_pm: 1;
1: + bool early_init: 1;
1: + bool direct_complete: 1;
1: + u32 driver_flags;
1: + spinlock_t lock;
1: + struct list_head entry;
1: + struct completion completion;
1: + struct wakeup_source *wakeup;
1: + bool wakeup_path: 1;
1: + bool syscore: 1;
1: + bool no_pm_callbacks: 1;
1: + unsigned int must_resume: 1;
1: + unsigned int may_skip_resume: 1;
1: + struct hrtimer suspend_timer;
1: + long unsigned int timer_expires;
1: + struct work_struct work;
1: + wait_queue_head_t wait_queue;
1: + struct wake_irq *wakeirq;
1: + atomic_t usage_count;
1: + atomic_t child_count;
1: + unsigned int disable_depth: 3;
1: + unsigned int idle_notification: 1;
1: + unsigned int request_pending: 1;
1: + unsigned int deferred_resume: 1;
1: + unsigned int runtime_auto: 1;
1: + bool ignore_children: 1;
1: + unsigned int no_callbacks: 1;
1: + unsigned int irq_safe: 1;
1: + unsigned int use_autosuspend: 1;
1: + unsigned int timer_autosuspends: 1;
1: + unsigned int memalloc_noio: 1;
1: + unsigned int links_count;
1: + enum rpm_request request;
1: + enum rpm_status runtime_status;
1: + int runtime_error;
1: + int autosuspend_delay;
1: + u64 last_busy;
1: + u64 active_time;
1: + u64 suspended_time;
1: + u64 accounting_timestamp;
1: + struct pm_subsys_data *subsys_data;
1: + void (*set_latency_tolerance)(struct device *, s32);
1: + struct dev_pm_qos *qos;
1: +};
1: +
1: +struct dev_archdata {
1: + void *iommu;
1: +};
1: +
1: +struct device_private;
1: +
1: +struct device_type;
1: +
1: +struct bus_type;
1: +
1: +struct device_driver;
1: +
1: +struct dev_pm_domain;
1: +
1: +struct irq_domain;
1: +
1: +struct dma_map_ops;
1: +
1: +struct device_dma_parameters;
1: +
1: +struct device_node;
1: +
1: +struct class;
1: +
1: +struct attribute_group;
1: +
1: +struct iommu_group;
1: +
1: +struct iommu_fwspec;
1: +
1: +struct iommu_param;
1: +
1: +struct device {
1: + struct kobject kobj;
1: + struct device *parent;
1: + struct device_private *p;
1: + const char *init_name;
1: + const struct device_type *type;
1: + struct bus_type *bus;
1: + struct device_driver *driver;
1: + void *platform_data;
1: + void *driver_data;
1: + struct mutex mutex;
1: + struct dev_links_info links;
1: + struct dev_pm_info power;
1: + struct dev_pm_domain *pm_domain;
1: + struct irq_domain *msi_domain;
1: + struct list_head msi_list;
1: + const struct dma_map_ops *dma_ops;
1: + u64 *dma_mask;
1: + u64 coherent_dma_mask;
1: + u64 bus_dma_limit;
1: + long unsigned int dma_pfn_offset;
1: + struct device_dma_parameters *dma_parms;
1: + struct list_head dma_pools;
1: + struct dev_archdata archdata;
1: + struct device_node *of_node;
1: + struct fwnode_handle *fwnode;
1: + int numa_node;
1: + dev_t devt;
1: + u32 id;
1: + spinlock_t devres_lock;
1: + struct list_head devres_head;
1: + struct class *class;
1: + const struct attribute_group **groups;
1: + void (*release)(struct device *);
1: + struct iommu_group *iommu_group;
1: + struct iommu_fwspec *iommu_fwspec;
1: + struct iommu_param *iommu_param;
1: + bool offline_disabled: 1;
1: + bool offline: 1;
1: + bool of_node_reused: 1;
1: + bool state_synced: 1;
1: +};
1: +
1: +struct fwnode_endpoint {
1: + unsigned int port;
1: + unsigned int id;
1: + const struct fwnode_handle *local_fwnode;
1: +};
1: +
1: +struct fwnode_reference_args {
1: + struct fwnode_handle *fwnode;
1: + unsigned int nargs;
1: + u64 args[8];
1: +};
1: +
1: +typedef void (*smp_call_func_t)(void *);
1: +
1: +struct __call_single_data {
1: + struct llist_node llist;
1: + smp_call_func_t func;
1: + void *info;
1: + unsigned int flags;
1: +};
1: +
1: +typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *);
1: +
1: +struct ctl_table_poll;
1: +
1: +struct ctl_table {
1: + const char *procname;
1: + void *data;
1: + int maxlen;
1: + umode_t mode;
1: + struct ctl_table *child;
1: + proc_handler *proc_handler;
1: + struct ctl_table_poll *poll;
1: + void *extra1;
1: + void *extra2;
1: +};
1: +
1: +struct ctl_table_poll {
1: + atomic_t event;
1: + wait_queue_head_t wait;
1: +};
1: +
1: +struct ctl_node {
1: + struct rb_node node;
1: + struct ctl_table_header *header;
1: +};
1: +
1: +struct ctl_table_root {
1: + struct ctl_table_set default_set;
1: + struct ctl_table_set * (*lookup)(struct ctl_table_root *);
1: + void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *);
1: + int (*permissions)(struct ctl_table_header *, struct ctl_table *);
1: +};
1: +
1: +enum umh_disable_depth {
1: + UMH_ENABLED = 0,
1: + UMH_FREEZING = 1,
1: + UMH_DISABLED = 2,
1: +};
1: +
1: +typedef __u64 Elf64_Addr;
1: +
1: +typedef __u16 Elf64_Half;
1: +
1: +typedef __u32 Elf64_Word;
1: +
1: +typedef __u64 Elf64_Xword;
1: +
1: +struct elf64_sym {
1: + Elf64_Word st_name;
1: + unsigned char st_info;
1: + unsigned char st_other;
1: + Elf64_Half st_shndx;
1: + Elf64_Addr st_value;
1: + Elf64_Xword st_size;
1: +};
1: +
1: +typedef struct elf64_sym Elf64_Sym;
1: +
1: +struct idr {
1: + struct xarray idr_rt;
1: + unsigned int idr_base;
1: + unsigned int idr_next;
1: +};
1: +
1: +struct kernfs_root;
1: +
1: +struct kernfs_elem_dir {
1: + long unsigned int subdirs;
1: + struct rb_root children;
1: + struct kernfs_root *root;
1: +};
1: +
1: +struct kernfs_syscall_ops;
1: +
1: +struct kernfs_root {
1: + struct kernfs_node *kn;
1: + unsigned int flags;
1: + struct idr ino_idr;
1: + u32 last_id_lowbits;
1: + u32 id_highbits;
1: + struct kernfs_syscall_ops *syscall_ops;
1: + struct list_head supers;
1: + wait_queue_head_t deactivate_waitq;
1: +};
1: +
1: +struct kernfs_elem_symlink {
1: + struct kernfs_node *target_kn;
1: +};
1: +
1: +struct kernfs_ops;
1: +
1: +struct kernfs_open_node;
1: +
1: +struct kernfs_elem_attr {
1: + const struct kernfs_ops *ops;
1: + struct kernfs_open_node *open;
1: + loff_t size;
1: + struct kernfs_node *notify_next;
1: +};
1: +
1: +struct kernfs_iattrs;
1: +
1: +struct kernfs_node {
1: + atomic_t count;
1: + atomic_t active;
1: + struct kernfs_node *parent;
1: + const char *name;
1: + struct rb_node rb;
1: + const void *ns;
1: + unsigned int hash;
1: + union {
1: + struct kernfs_elem_dir dir;
1: + struct kernfs_elem_symlink symlink;
1: + struct kernfs_elem_attr attr;
1: + };
1: + void *priv;
1: + u64 id;
1: + short unsigned int flags;
1: + umode_t mode;
1: + struct kernfs_iattrs *iattr;
1: +};
1: +
1: +struct kernfs_open_file;
1: +
1: +struct kernfs_ops {
1: + int (*open)(struct kernfs_open_file *);
1: + void (*release)(struct kernfs_open_file *);
1: + int (*seq_show)(struct seq_file *, void *);
1: + void * (*seq_start)(struct seq_file *, loff_t *);
1: + void * (*seq_next)(struct seq_file *, void *, loff_t *);
1: + void (*seq_stop)(struct seq_file *, void *);
1: + ssize_t (*read)(struct kernfs_open_file *, char *, size_t, loff_t);
1: + size_t atomic_write_len;
1: + bool prealloc;
1: + ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
1: + __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
1: + int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *);
1: +};
1: +
1: +struct kernfs_syscall_ops {
1: + int (*show_options)(struct seq_file *, struct kernfs_root *);
1: + int (*mkdir)(struct kernfs_node *, const char *, umode_t);
1: + int (*rmdir)(struct kernfs_node *);
1: + int (*rename)(struct kernfs_node *, struct kernfs_node *, const char *);
1: + int (*show_path)(struct seq_file *, struct kernfs_node *, struct kernfs_root *);
1: +};
1: +
1: +struct seq_operations;
1: +
1: +struct seq_file {
1: + char *buf;
1: + size_t size;
1: + size_t from;
1: + size_t count;
1: + size_t pad_until;
1: + loff_t index;
1: + loff_t read_pos;
1: + u64 version;
1: + struct mutex lock;
1: + const struct seq_operations *op;
1: + int poll_event;
1: + const struct file *file;
1: + void *private;
1: +};
1: +
1: +struct kernfs_open_file {
1: + struct kernfs_node *kn;
1: + struct file *file;
1: + struct seq_file *seq_file;
1: + void *priv;
1: + struct mutex mutex;
1: + struct mutex prealloc_mutex;
1: + int event;
1: + struct list_head list;
1: + char *prealloc_buf;
1: + size_t atomic_write_len;
1: + bool mmapped: 1;
1: + bool released: 1;
1: + const struct vm_operations_struct *vm_ops;
1: +};
1: +
1: +typedef void (*poll_queue_proc)(struct file *, wait_queue_head_t *, struct poll_table_struct *);
1: +
1: +struct poll_table_struct {
1: + poll_queue_proc _qproc;
1: + __poll_t _key;
1: +};
1: +
1: +enum kobj_ns_type {
1: + KOBJ_NS_TYPE_NONE = 0,
1: + KOBJ_NS_TYPE_NET = 1,
1: + KOBJ_NS_TYPES = 2,
1: +};
1: +
1: +struct sock;
1: +
1: +struct kobj_ns_type_operations {
1: + enum kobj_ns_type type;
1: + bool (*current_may_mount)();
1: + void * (*grab_current_ns)();
1: + const void * (*netlink_ns)(struct sock *);
1: + const void * (*initial_ns)();
1: + void (*drop_ns)(void *);
1: +};
1: +
1: +struct attribute {
1: + const char *name;
1: + umode_t mode;
1: +};
1: +
1: +struct bin_attribute;
1: +
1: +struct attribute_group {
1: + const char *name;
1: + umode_t (*is_visible)(struct kobject *, struct attribute *, int);
1: + umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int);
1: + struct attribute **attrs;
1: + struct bin_attribute **bin_attrs;
1: +};
1: +
1: +struct bin_attribute {
1: + struct attribute attr;
1: + size_t size;
1: + void *private;
1: + ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t);
1: + ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t);
1: + int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *);
1: +};
1: +
1: +struct sysfs_ops {
1: + ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: + ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
1: +};
1: +
1: +struct kset_uevent_ops;
1: +
1: +struct kset {
1: + struct list_head list;
1: + spinlock_t list_lock;
1: + struct kobject kobj;
1: + const struct kset_uevent_ops *uevent_ops;
1: +};
1: +
1: +struct kobj_type {
1: + void (*release)(struct kobject *);
1: + const struct sysfs_ops *sysfs_ops;
1: + struct attribute **default_attrs;
1: + const struct attribute_group **default_groups;
1: + const struct kobj_ns_type_operations * (*child_ns_type)(struct kobject *);
1: + const void * (*namespace)(struct kobject *);
1: + void (*get_ownership)(struct kobject *, kuid_t *, kgid_t *);
1: +};
1: +
1: +struct kobj_uevent_env {
1: + char *argv[3];
1: + char *envp[32];
1: + int envp_idx;
1: + char buf[2048];
1: + int buflen;
1: +};
1: +
1: +struct kset_uevent_ops {
1: + int (* const filter)(struct kset *, struct kobject *);
1: + const char * (* const name)(struct kset *, struct kobject *);
1: + int (* const uevent)(struct kset *, struct kobject *, struct kobj_uevent_env *);
1: +};
1: +
1: +struct kernel_param;
1: +
1: +struct kernel_param_ops {
1: + unsigned int flags;
1: + int (*set)(const char *, const struct kernel_param *);
1: + int (*get)(char *, const struct kernel_param *);
1: + void (*free)(void *);
1: +};
1: +
1: +struct kparam_string;
1: +
1: +struct kparam_array;
1: +
1: +struct kernel_param {
1: + const char *name;
1: + struct module *mod;
1: + const struct kernel_param_ops *ops;
1: + const u16 perm;
1: + s8 level;
1: + u8 flags;
1: + union {
1: + void *arg;
1: + const struct kparam_string *str;
1: + const struct kparam_array *arr;
1: + };
1: +};
1: +
1: +struct kparam_string {
1: + unsigned int maxlen;
1: + char *string;
1: +};
1: +
1: +struct kparam_array {
1: + unsigned int max;
1: + unsigned int elemsize;
1: + unsigned int *num;
1: + const struct kernel_param_ops *ops;
1: + void *elem;
1: +};
1: +
1: +enum module_state {
1: + MODULE_STATE_LIVE = 0,
1: + MODULE_STATE_COMING = 1,
1: + MODULE_STATE_GOING = 2,
1: + MODULE_STATE_UNFORMED = 3,
1: +};
1: +
1: +struct module_param_attrs;
1: +
1: +struct module_kobject {
1: + struct kobject kobj;
1: + struct module *mod;
1: + struct kobject *drivers_dir;
1: + struct module_param_attrs *mp;
1: + struct completion *kobj_completion;
1: +};
1: +
1: +struct latch_tree_node {
1: + struct rb_node node[2];
1: +};
1: +
1: +struct mod_tree_node {
1: + struct module *mod;
1: + struct latch_tree_node node;
1: +};
1: +
1: +struct module_layout {
1: + void *base;
1: + unsigned int size;
1: + unsigned int text_size;
1: + unsigned int ro_size;
1: + unsigned int ro_after_init_size;
1: + struct mod_tree_node mtn;
1: +};
1: +
1: +struct mod_arch_specific {
1: + unsigned int num_orcs;
1: + int *orc_unwind_ip;
1: + struct orc_entry *orc_unwind;
1: +};
1: +
1: +struct mod_kallsyms {
1: + Elf64_Sym *symtab;
1: + unsigned int num_symtab;
1: + char *strtab;
1: + char *typetab;
1: +};
1: +
1: +struct module_attribute;
1: +
1: +struct exception_table_entry;
1: +
1: +struct module_sect_attrs;
1: +
1: +struct module_notes_attrs;
1: +
1: +struct trace_eval_map;
1: +
1: +struct error_injection_entry;
1: +
1: +struct module {
1: + enum module_state state;
1: + struct list_head list;
1: + char name[56];
1: + struct module_kobject mkobj;
1: + struct module_attribute *modinfo_attrs;
1: + const char *version;
1: + const char *srcversion;
1: + struct kobject *holders_dir;
1: + const struct kernel_symbol *syms;
1: + const s32 *crcs;
1: + unsigned int num_syms;
1: + struct mutex param_lock;
1: + struct kernel_param *kp;
1: + unsigned int num_kp;
1: + unsigned int num_gpl_syms;
1: + const struct kernel_symbol *gpl_syms;
1: + const s32 *gpl_crcs;
1: + bool async_probe_requested;
1: + const struct kernel_symbol *gpl_future_syms;
1: + const s32 *gpl_future_crcs;
1: + unsigned int num_gpl_future_syms;
1: + unsigned int num_exentries;
1: + struct exception_table_entry *extable;
1: + int (*init)();
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct module_layout core_layout;
1: + struct module_layout init_layout;
1: + struct mod_arch_specific arch;
1: + long unsigned int taints;
1: + unsigned int num_bugs;
1: + struct list_head bug_list;
1: + struct bug_entry *bug_table;
1: + struct mod_kallsyms *kallsyms;
1: + struct mod_kallsyms core_kallsyms;
1: + struct module_sect_attrs *sect_attrs;
1: + struct module_notes_attrs *notes_attrs;
1: + char *args;
1: + void *percpu;
1: + unsigned int percpu_size;
1: + unsigned int num_tracepoints;
1: + tracepoint_ptr_t *tracepoints_ptrs;
1: + unsigned int num_srcu_structs;
1: + struct srcu_struct **srcu_struct_ptrs;
1: + struct jump_entry *jump_entries;
1: + unsigned int num_jump_entries;
1: + unsigned int num_trace_bprintk_fmt;
1: + const char **trace_bprintk_fmt_start;
1: + struct trace_event_call **trace_events;
1: + unsigned int num_trace_events;
1: + struct trace_eval_map **trace_evals;
1: + unsigned int num_trace_evals;
1: + struct list_head source_list;
1: + struct list_head target_list;
1: + void (*exit)();
1: + atomic_t refcnt;
1: + struct error_injection_entry *ei_funcs;
1: + unsigned int num_ei_funcs;
1: +};
1: +
1: +struct error_injection_entry {
1: + long unsigned int addr;
1: + int etype;
1: +};
1: +
1: +struct module_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *);
1: + ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t);
1: + void (*setup)(struct module *, const char *);
1: + int (*test)(struct module *);
1: + void (*free)(struct module *);
1: +};
1: +
1: +struct exception_table_entry {
1: + int insn;
1: + int fixup;
1: + int handler;
1: +};
1: +
1: +struct trace_event_functions;
1: +
1: +struct trace_event {
1: + struct hlist_node node;
1: + struct list_head list;
1: + int type;
1: + struct trace_event_functions *funcs;
1: +};
1: +
1: +struct trace_event_class;
1: +
1: +struct bpf_prog_array;
1: +
1: +struct trace_event_call {
1: + struct list_head list;
1: + struct trace_event_class *class;
1: + union {
1: + char *name;
1: + struct tracepoint *tp;
1: + };
1: + struct trace_event event;
1: + char *print_fmt;
1: + struct event_filter *filter;
1: + void *mod;
1: + void *data;
1: + int flags;
1: + int perf_refcount;
1: + struct hlist_head *perf_events;
1: + struct bpf_prog_array *prog_array;
1: + int (*perf_perm)(struct trace_event_call *, struct perf_event *);
1: +};
1: +
1: +struct trace_eval_map {
1: + const char *system;
1: + const char *eval_string;
1: + long unsigned int eval_value;
1: +};
1: +
1: +struct fs_pin;
1: +
1: +struct pid_namespace {
1: + struct kref kref;
1: + struct idr idr;
1: + struct callback_head rcu;
1: + unsigned int pid_allocated;
1: + struct task_struct *child_reaper;
1: + struct kmem_cache *pid_cachep;
1: + unsigned int level;
1: + struct pid_namespace *parent;
1: + struct vfsmount *proc_mnt;
1: + struct dentry *proc_self;
1: + struct dentry *proc_thread_self;
1: + struct fs_pin *bacct;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct work_struct proc_work;
1: + kgid_t pid_gid;
1: + int hide_pid;
1: + int reboot;
1: + struct ns_common ns;
1: +};
1: +
1: +struct rlimit {
1: + __kernel_ulong_t rlim_cur;
1: + __kernel_ulong_t rlim_max;
1: +};
1: +
1: +struct task_cputime {
1: + u64 stime;
1: + u64 utime;
1: + long long unsigned int sum_exec_runtime;
1: +};
1: +
1: +typedef void __signalfn_t(int);
1: +
1: +typedef __signalfn_t *__sighandler_t;
1: +
1: +typedef void __restorefn_t();
1: +
1: +typedef __restorefn_t *__sigrestore_t;
1: +
1: +struct ratelimit_state {
1: + raw_spinlock_t lock;
1: + int interval;
1: + int burst;
1: + int printed;
1: + int missed;
1: + long unsigned int begin;
1: + long unsigned int flags;
1: +};
1: +
1: +struct user_struct {
1: + refcount_t __count;
1: + atomic_t processes;
1: + atomic_t sigpending;
1: + atomic_long_t epoll_watches;
1: + long unsigned int mq_bytes;
1: + long unsigned int locked_shm;
1: + long unsigned int unix_inflight;
1: + atomic_long_t pipe_bufs;
1: + struct hlist_node uidhash_node;
1: + kuid_t uid;
1: + atomic_long_t locked_vm;
1: + struct ratelimit_state ratelimit;
1: +};
1: +
1: +struct sigaction {
1: + __sighandler_t sa_handler;
1: + long unsigned int sa_flags;
1: + __sigrestore_t sa_restorer;
1: + sigset_t sa_mask;
1: +};
1: +
1: +struct k_sigaction {
1: + struct sigaction sa;
1: +};
1: +
1: +struct cpu_itimer {
1: + u64 expires;
1: + u64 incr;
1: +};
1: +
1: +struct task_cputime_atomic {
1: + atomic64_t utime;
1: + atomic64_t stime;
1: + atomic64_t sum_exec_runtime;
1: +};
1: +
1: +struct thread_group_cputimer {
1: + struct task_cputime_atomic cputime_atomic;
1: +};
1: +
1: +struct pacct_struct {
1: + int ac_flag;
1: + long int ac_exitcode;
1: + long unsigned int ac_mem;
1: + u64 ac_utime;
1: + u64 ac_stime;
1: + long unsigned int ac_minflt;
1: + long unsigned int ac_majflt;
1: +};
1: +
1: +struct tty_struct;
1: +
1: +struct taskstats;
1: +
1: +struct tty_audit_buf;
1: +
1: +struct signal_struct {
1: + refcount_t sigcnt;
1: + atomic_t live;
1: + int nr_threads;
1: + struct list_head thread_head;
1: + wait_queue_head_t wait_chldexit;
1: + struct task_struct *curr_target;
1: + struct sigpending shared_pending;
1: + struct hlist_head multiprocess;
1: + int group_exit_code;
1: + int notify_count;
1: + struct task_struct *group_exit_task;
1: + int group_stop_count;
1: + unsigned int flags;
1: + unsigned int is_child_subreaper: 1;
1: + unsigned int has_child_subreaper: 1;
1: + int posix_timer_id;
1: + struct list_head posix_timers;
1: + struct hrtimer real_timer;
1: + ktime_t it_real_incr;
1: + struct cpu_itimer it[2];
1: + struct thread_group_cputimer cputimer;
1: + struct posix_cputimers posix_cputimers;
1: + struct pid *pids[4];
1: + struct pid *tty_old_pgrp;
1: + int leader;
1: + struct tty_struct *tty;
1: + seqlock_t stats_lock;
1: + u64 utime;
1: + u64 stime;
1: + u64 cutime;
1: + u64 cstime;
1: + u64 gtime;
1: + u64 cgtime;
1: + struct prev_cputime prev_cputime;
1: + long unsigned int nvcsw;
1: + long unsigned int nivcsw;
1: + long unsigned int cnvcsw;
1: + long unsigned int cnivcsw;
1: + long unsigned int min_flt;
1: + long unsigned int maj_flt;
1: + long unsigned int cmin_flt;
1: + long unsigned int cmaj_flt;
1: + long unsigned int inblock;
1: + long unsigned int oublock;
1: + long unsigned int cinblock;
1: + long unsigned int coublock;
1: + long unsigned int maxrss;
1: + long unsigned int cmaxrss;
1: + struct task_io_accounting ioac;
1: + long long unsigned int sum_sched_runtime;
1: + struct rlimit rlim[16];
1: + struct pacct_struct pacct;
1: + struct taskstats *stats;
1: + unsigned int audit_tty;
1: + struct tty_audit_buf *tty_audit_buf;
1: + bool oom_flag_origin;
1: + short int oom_score_adj;
1: + short int oom_score_adj_min;
1: + struct mm_struct *oom_mm;
1: + struct mutex cred_guard_mutex;
1: +};
1: +
1: +typedef int32_t key_serial_t;
1: +
1: +typedef uint32_t key_perm_t;
1: +
1: +struct key_type;
1: +
1: +struct key_tag;
1: +
1: +struct keyring_index_key {
1: + long unsigned int hash;
1: + union {
1: + struct {
1: + u16 desc_len;
1: + char desc[6];
1: + };
1: + long unsigned int x;
1: + };
1: + struct key_type *type;
1: + struct key_tag *domain_tag;
1: + const char *description;
1: +};
1: +
1: +union key_payload {
1: + void *rcu_data0;
1: + void *data[4];
1: +};
1: +
1: +struct assoc_array_ptr;
1: +
1: +struct assoc_array {
1: + struct assoc_array_ptr *root;
1: + long unsigned int nr_leaves_on_tree;
1: +};
1: +
1: +struct key_user;
1: +
1: +struct key_restriction;
1: +
1: +struct key {
1: + refcount_t usage;
1: + key_serial_t serial;
1: + union {
1: + struct list_head graveyard_link;
1: + struct rb_node serial_node;
1: + };
1: + struct rw_semaphore sem;
1: + struct key_user *user;
1: + void *security;
1: + union {
1: + time64_t expiry;
1: + time64_t revoked_at;
1: + };
1: + time64_t last_used_at;
1: + kuid_t uid;
1: + kgid_t gid;
1: + key_perm_t perm;
1: + short unsigned int quotalen;
1: + short unsigned int datalen;
1: + short int state;
1: + long unsigned int flags;
1: + union {
1: + struct keyring_index_key index_key;
1: + struct {
1: + long unsigned int hash;
1: + long unsigned int len_desc;
1: + struct key_type *type;
1: + struct key_tag *domain_tag;
1: + char *description;
1: + };
1: + };
1: + union {
1: + union key_payload payload;
1: + struct {
1: + struct list_head name_link;
1: + struct assoc_array keys;
1: + };
1: + };
1: + struct key_restriction *restrict_link;
1: +};
1: +
1: +struct uts_namespace;
1: +
1: +struct ipc_namespace;
1: +
1: +struct mnt_namespace;
1: +
1: +struct net;
1: +
1: +struct cgroup_namespace;
1: +
1: +struct nsproxy {
1: + atomic_t count;
1: + struct uts_namespace *uts_ns;
1: + struct ipc_namespace *ipc_ns;
1: + struct mnt_namespace *mnt_ns;
1: + struct pid_namespace *pid_ns_for_children;
1: + struct net *net_ns;
1: + struct cgroup_namespace *cgroup_ns;
1: +};
1: +
1: +struct sighand_struct {
1: + spinlock_t siglock;
1: + refcount_t count;
1: + wait_queue_head_t signalfd_wqh;
1: + struct k_sigaction action[64];
1: +};
1: +
1: +struct bio;
1: +
1: +struct bio_list {
1: + struct bio *head;
1: + struct bio *tail;
1: +};
1: +
1: +struct blk_plug {
1: + struct list_head mq_list;
1: + struct list_head cb_list;
1: + short unsigned int rq_count;
1: + bool multiple_queues;
1: +};
1: +
1: +struct reclaim_state {
1: + long unsigned int reclaimed_slab;
1: +};
1: +
1: +typedef int congested_fn(void *, int);
1: +
1: +struct fprop_local_percpu {
1: + struct percpu_counter events;
1: + unsigned int period;
1: + raw_spinlock_t lock;
1: +};
1: +
1: +enum wb_reason {
1: + WB_REASON_BACKGROUND = 0,
1: + WB_REASON_VMSCAN = 1,
1: + WB_REASON_SYNC = 2,
1: + WB_REASON_PERIODIC = 3,
1: + WB_REASON_LAPTOP_TIMER = 4,
1: + WB_REASON_FREE_MORE_MEM = 5,
1: + WB_REASON_FS_FREE_SPACE = 6,
1: + WB_REASON_FORKER_THREAD = 7,
1: + WB_REASON_FOREIGN_FLUSH = 8,
1: + WB_REASON_MAX = 9,
1: +};
1: +
1: +struct bdi_writeback_congested;
1: +
1: +struct bdi_writeback {
1: + struct backing_dev_info *bdi;
1: + long unsigned int state;
1: + long unsigned int last_old_flush;
1: + struct list_head b_dirty;
1: + struct list_head b_io;
1: + struct list_head b_more_io;
1: + struct list_head b_dirty_time;
1: + spinlock_t list_lock;
1: + struct percpu_counter stat[4];
1: + struct bdi_writeback_congested *congested;
1: + long unsigned int bw_time_stamp;
1: + long unsigned int dirtied_stamp;
1: + long unsigned int written_stamp;
1: + long unsigned int write_bandwidth;
1: + long unsigned int avg_write_bandwidth;
1: + long unsigned int dirty_ratelimit;
1: + long unsigned int balanced_dirty_ratelimit;
1: + struct fprop_local_percpu completions;
1: + int dirty_exceeded;
1: + enum wb_reason start_all_reason;
1: + spinlock_t work_lock;
1: + struct list_head work_list;
1: + struct delayed_work dwork;
1: + long unsigned int dirty_sleep;
1: + struct list_head bdi_node;
1: +};
1: +
1: +struct backing_dev_info {
1: + u64 id;
1: + struct rb_node rb_node;
1: + struct list_head bdi_list;
1: + long unsigned int ra_pages;
1: + long unsigned int io_pages;
1: + congested_fn *congested_fn;
1: + void *congested_data;
1: + const char *name;
1: + struct kref refcnt;
1: + unsigned int capabilities;
1: + unsigned int min_ratio;
1: + unsigned int max_ratio;
1: + unsigned int max_prop_frac;
1: + atomic_long_t tot_write_bandwidth;
1: + struct bdi_writeback wb;
1: + struct list_head wb_list;
1: + struct bdi_writeback_congested *wb_congested;
1: + wait_queue_head_t wb_waitq;
1: + struct device *dev;
1: + struct device *owner;
1: + struct timer_list laptop_mode_wb_timer;
1: + struct dentry *debug_dir;
1: +};
1: +
1: +struct cgroup_subsys_state;
1: +
1: +struct cgroup;
1: +
1: +struct css_set {
1: + struct cgroup_subsys_state *subsys[4];
1: + refcount_t refcount;
1: + struct css_set *dom_cset;
1: + struct cgroup *dfl_cgrp;
1: + int nr_tasks;
1: + struct list_head tasks;
1: + struct list_head mg_tasks;
1: + struct list_head dying_tasks;
1: + struct list_head task_iters;
1: + struct list_head e_cset_node[4];
1: + struct list_head threaded_csets;
1: + struct list_head threaded_csets_node;
1: + struct hlist_node hlist;
1: + struct list_head cgrp_links;
1: + struct list_head mg_preload_node;
1: + struct list_head mg_node;
1: + struct cgroup *mg_src_cgrp;
1: + struct cgroup *mg_dst_cgrp;
1: + struct css_set *mg_dst_cset;
1: + bool dead;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct perf_event_groups {
1: + struct rb_root tree;
1: + u64 index;
1: +};
1: +
1: +struct perf_event_context {
1: + struct pmu *pmu;
1: + raw_spinlock_t lock;
1: + struct mutex mutex;
1: + struct list_head active_ctx_list;
1: + struct perf_event_groups pinned_groups;
1: + struct perf_event_groups flexible_groups;
1: + struct list_head event_list;
1: + struct list_head pinned_active;
1: + struct list_head flexible_active;
1: + int nr_events;
1: + int nr_active;
1: + int is_active;
1: + int nr_stat;
1: + int nr_freq;
1: + int rotate_disable;
1: + int rotate_necessary;
1: + refcount_t refcount;
1: + struct task_struct *task;
1: + u64 time;
1: + u64 timestamp;
1: + struct perf_event_context *parent_ctx;
1: + u64 parent_gen;
1: + u64 generation;
1: + int pin_count;
1: + void *task_ctx_data;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct task_delay_info {
1: + raw_spinlock_t lock;
1: + unsigned int flags;
1: + u64 blkio_start;
1: + u64 blkio_delay;
1: + u64 swapin_delay;
1: + u32 blkio_count;
1: + u32 swapin_count;
1: + u64 freepages_start;
1: + u64 freepages_delay;
1: + u64 thrashing_start;
1: + u64 thrashing_delay;
1: + u32 freepages_count;
1: + u32 thrashing_count;
1: +};
1: +
1: +typedef unsigned int blk_qc_t;
1: +
1: +typedef blk_qc_t make_request_fn(struct request_queue *, struct bio *);
1: +
1: +struct request;
1: +
1: +typedef int dma_drain_needed_fn(struct request *);
1: +
1: +struct blk_rq_stat {
1: + u64 mean;
1: + u64 min;
1: + u64 max;
1: + u32 nr_samples;
1: + u64 batch;
1: +};
1: +
1: +enum blk_zoned_model {
1: + BLK_ZONED_NONE = 0,
1: + BLK_ZONED_HA = 1,
1: + BLK_ZONED_HM = 2,
1: +};
1: +
1: +struct queue_limits {
1: + long unsigned int bounce_pfn;
1: + long unsigned int seg_boundary_mask;
1: + long unsigned int virt_boundary_mask;
1: + unsigned int max_hw_sectors;
1: + unsigned int max_dev_sectors;
1: + unsigned int chunk_sectors;
1: + unsigned int max_sectors;
1: + unsigned int max_segment_size;
1: + unsigned int physical_block_size;
1: + unsigned int logical_block_size;
1: + unsigned int alignment_offset;
1: + unsigned int io_min;
1: + unsigned int io_opt;
1: + unsigned int max_discard_sectors;
1: + unsigned int max_hw_discard_sectors;
1: + unsigned int max_write_same_sectors;
1: + unsigned int max_write_zeroes_sectors;
1: + unsigned int discard_granularity;
1: + unsigned int discard_alignment;
1: + short unsigned int max_segments;
1: + short unsigned int max_integrity_segments;
1: + short unsigned int max_discard_segments;
1: + unsigned char misaligned;
1: + unsigned char discard_misaligned;
1: + unsigned char raid_partial_stripes_expensive;
1: + enum blk_zoned_model zoned;
1: +};
1: +
1: +struct bsg_ops;
1: +
1: +struct bsg_class_device {
1: + struct device *class_dev;
1: + int minor;
1: + struct request_queue *queue;
1: + const struct bsg_ops *ops;
1: +};
1: +
1: +typedef void *mempool_alloc_t(gfp_t, void *);
1: +
1: +typedef void mempool_free_t(void *, void *);
1: +
1: +struct mempool_s {
1: + spinlock_t lock;
1: + int min_nr;
1: + int curr_nr;
1: + void **elements;
1: + void *pool_data;
1: + mempool_alloc_t *alloc;
1: + mempool_free_t *free;
1: + wait_queue_head_t wait;
1: +};
1: +
1: +typedef struct mempool_s mempool_t;
1: +
1: +struct bio_set {
1: + struct kmem_cache *bio_slab;
1: + unsigned int front_pad;
1: + mempool_t bio_pool;
1: + mempool_t bvec_pool;
1: + spinlock_t rescue_lock;
1: + struct bio_list rescue_list;
1: + struct work_struct rescue_work;
1: + struct workqueue_struct *rescue_workqueue;
1: +};
1: +
1: +struct elevator_queue;
1: +
1: +struct blk_queue_stats;
1: +
1: +struct rq_qos;
1: +
1: +struct blk_mq_ops;
1: +
1: +struct blk_mq_ctx;
1: +
1: +struct blk_mq_hw_ctx;
1: +
1: +struct blk_stat_callback;
1: +
1: +struct blk_trace;
1: +
1: +struct blk_flush_queue;
1: +
1: +struct blk_mq_tag_set;
1: +
1: +struct request_queue {
1: + struct request *last_merge;
1: + struct elevator_queue *elevator;
1: + struct blk_queue_stats *stats;
1: + struct rq_qos *rq_qos;
1: + make_request_fn *make_request_fn;
1: + dma_drain_needed_fn *dma_drain_needed;
1: + const struct blk_mq_ops *mq_ops;
1: + struct blk_mq_ctx *queue_ctx;
1: + unsigned int queue_depth;
1: + struct blk_mq_hw_ctx **queue_hw_ctx;
1: + unsigned int nr_hw_queues;
1: + struct backing_dev_info *backing_dev_info;
1: + void *queuedata;
1: + long unsigned int queue_flags;
1: + atomic_t pm_only;
1: + int id;
1: + gfp_t bounce_gfp;
1: + spinlock_t queue_lock;
1: + struct kobject kobj;
1: + struct kobject *mq_kobj;
1: + struct device *dev;
1: + int rpm_status;
1: + unsigned int nr_pending;
1: + long unsigned int nr_requests;
1: + unsigned int dma_drain_size;
1: + void *dma_drain_buffer;
1: + unsigned int dma_pad_mask;
1: + unsigned int dma_alignment;
1: + unsigned int rq_timeout;
1: + int poll_nsec;
1: + struct blk_stat_callback *poll_cb;
1: + struct blk_rq_stat poll_stat[16];
1: + struct timer_list timeout;
1: + struct work_struct timeout_work;
1: + struct list_head icq_list;
1: + struct queue_limits limits;
1: + unsigned int required_elevator_features;
1: + unsigned int sg_timeout;
1: + unsigned int sg_reserved_size;
1: + int node;
1: + struct blk_trace *blk_trace;
1: + struct mutex blk_trace_mutex;
1: + struct blk_flush_queue *fq;
1: + struct list_head requeue_list;
1: + spinlock_t requeue_lock;
1: + struct delayed_work requeue_work;
1: + struct mutex sysfs_lock;
1: + struct mutex sysfs_dir_lock;
1: + struct list_head unused_hctx_list;
1: + spinlock_t unused_hctx_lock;
1: + int mq_freeze_depth;
1: + struct bsg_class_device bsg_dev;
1: + struct callback_head callback_head;
1: + wait_queue_head_t mq_freeze_wq;
1: + struct mutex mq_freeze_lock;
1: + struct percpu_ref q_usage_counter;
1: + struct blk_mq_tag_set *tag_set;
1: + struct list_head tag_set_list;
1: + struct bio_set bio_split;
1: + struct dentry *debugfs_dir;
1: + struct dentry *sched_debugfs_dir;
1: + struct dentry *rqos_debugfs_dir;
1: + bool mq_sysfs_init_done;
1: + size_t cmd_size;
1: + struct work_struct release_work;
1: + u64 write_hints[5];
1: +};
1: +
1: +enum writeback_sync_modes {
1: + WB_SYNC_NONE = 0,
1: + WB_SYNC_ALL = 1,
1: +};
1: +
1: +struct writeback_control {
1: + long int nr_to_write;
1: + long int pages_skipped;
1: + loff_t range_start;
1: + loff_t range_end;
1: + enum writeback_sync_modes sync_mode;
1: + unsigned int for_kupdate: 1;
1: + unsigned int for_background: 1;
1: + unsigned int tagged_writepages: 1;
1: + unsigned int for_reclaim: 1;
1: + unsigned int range_cyclic: 1;
1: + unsigned int for_sync: 1;
1: + unsigned int no_cgroup_owner: 1;
1: + unsigned int punt_to_cgroup: 1;
1: +};
1: +
1: +struct swap_cluster_info {
1: + spinlock_t lock;
1: + unsigned int data: 24;
1: + unsigned int flags: 8;
1: +};
1: +
1: +struct swap_cluster_list {
1: + struct swap_cluster_info head;
1: + struct swap_cluster_info tail;
1: +};
1: +
1: +struct percpu_cluster;
1: +
1: +struct swap_info_struct {
1: + long unsigned int flags;
1: + short int prio;
1: + struct plist_node list;
1: + signed char type;
1: + unsigned int max;
1: + unsigned char *swap_map;
1: + struct swap_cluster_info *cluster_info;
1: + struct swap_cluster_list free_clusters;
1: + unsigned int lowest_bit;
1: + unsigned int highest_bit;
1: + unsigned int pages;
1: + unsigned int inuse_pages;
1: + unsigned int cluster_next;
1: + unsigned int cluster_nr;
1: + struct percpu_cluster *percpu_cluster;
1: + struct rb_root swap_extent_root;
1: + struct block_device *bdev;
1: + struct file *swap_file;
1: + unsigned int old_block_size;
1: + spinlock_t lock;
1: + spinlock_t cont_lock;
1: + struct work_struct discard_work;
1: + struct swap_cluster_list discard_clusters;
1: + struct plist_node avail_lists[0];
1: +};
1: +
1: +struct partition_meta_info;
1: +
1: +struct disk_stats;
1: +
1: +struct hd_struct {
1: + sector_t start_sect;
1: + sector_t nr_sects;
1: + seqcount_t nr_sects_seq;
1: + sector_t alignment_offset;
1: + unsigned int discard_alignment;
1: + struct device __dev;
1: + struct kobject *holder_dir;
1: + int policy;
1: + int partno;
1: + struct partition_meta_info *info;
1: + long unsigned int stamp;
1: + struct disk_stats *dkstats;
1: + struct percpu_ref ref;
1: + struct rcu_work rcu_work;
1: +};
1: +
1: +struct disk_part_tbl;
1: +
1: +struct block_device_operations;
1: +
1: +struct timer_rand_state;
1: +
1: +struct disk_events;
1: +
1: +struct badblocks;
1: +
1: +struct gendisk {
1: + int major;
1: + int first_minor;
1: + int minors;
1: + char disk_name[32];
1: + char * (*devnode)(struct gendisk *, umode_t *);
1: + short unsigned int events;
1: + short unsigned int event_flags;
1: + struct disk_part_tbl *part_tbl;
1: + struct hd_struct part0;
1: + const struct block_device_operations *fops;
1: + struct request_queue *queue;
1: + void *private_data;
1: + int flags;
1: + struct rw_semaphore lookup_sem;
1: + struct kobject *slave_dir;
1: + struct timer_rand_state *random;
1: + atomic_t sync_io;
1: + struct disk_events *ev;
1: + int node_id;
1: + struct badblocks *bb;
1: + struct lockdep_map lockdep_map;
1: +};
1: +
1: +struct cdev {
1: + struct kobject kobj;
1: + struct module *owner;
1: + const struct file_operations *ops;
1: + struct list_head list;
1: + dev_t dev;
1: + unsigned int count;
1: +};
1: +
1: +struct audit_names;
1: +
1: +struct filename {
1: + const char *name;
1: + const char *uptr;
1: + int refcnt;
1: + struct audit_names *aname;
1: + char iname[0];
1: +};
1: +
1: +typedef u8 blk_status_t;
1: +
1: +struct bvec_iter {
1: + sector_t bi_sector;
1: + unsigned int bi_size;
1: + unsigned int bi_idx;
1: + unsigned int bi_bvec_done;
1: +};
1: +
1: +typedef void bio_end_io_t(struct bio *);
1: +
1: +struct bio_vec {
1: + struct page *bv_page;
1: + unsigned int bv_len;
1: + unsigned int bv_offset;
1: +};
1: +
1: +struct bio {
1: + struct bio *bi_next;
1: + struct gendisk *bi_disk;
1: + unsigned int bi_opf;
1: + short unsigned int bi_flags;
1: + short unsigned int bi_ioprio;
1: + short unsigned int bi_write_hint;
1: + blk_status_t bi_status;
1: + u8 bi_partno;
1: + atomic_t __bi_remaining;
1: + struct bvec_iter bi_iter;
1: + bio_end_io_t *bi_end_io;
1: + void *bi_private;
1: + union { };
1: + short unsigned int bi_vcnt;
1: + short unsigned int bi_max_vecs;
1: + atomic_t __bi_cnt;
1: + struct bio_vec *bi_io_vec;
1: + struct bio_set *bi_pool;
1: + struct bio_vec bi_inline_vecs[0];
1: +};
1: +
1: +struct linux_binprm {
1: + struct vm_area_struct *vma;
1: + long unsigned int vma_pages;
1: + struct mm_struct *mm;
1: + long unsigned int p;
1: + long unsigned int argmin;
1: + unsigned int called_set_creds: 1;
1: + unsigned int cap_elevated: 1;
1: + unsigned int secureexec: 1;
1: + unsigned int recursion_depth;
1: + struct file *file;
1: + struct cred *cred;
1: + int unsafe;
1: + unsigned int per_clear;
1: + int argc;
1: + int envc;
1: + const char *filename;
1: + const char *interp;
1: + unsigned int interp_flags;
1: + unsigned int interp_data;
1: + long unsigned int loader;
1: + long unsigned int exec;
1: + struct rlimit rlim_stack;
1: + char buf[256];
1: +};
1: +
1: +struct coredump_params {
1: + const kernel_siginfo_t *siginfo;
1: + struct pt_regs *regs;
1: + struct file *file;
1: + long unsigned int limit;
1: + long unsigned int mm_flags;
1: + loff_t written;
1: + loff_t pos;
1: +};
1: +
1: +struct key_tag {
1: + struct callback_head rcu;
1: + refcount_t usage;
1: + bool removed;
1: +};
1: +
1: +typedef int (*key_restrict_link_func_t)(struct key *, const struct key_type *, const union key_payload *, struct key *);
1: +
1: +typedef int (*request_key_actor_t)(struct key *, void *);
1: +
1: +struct key_preparsed_payload;
1: +
1: +struct key_match_data;
1: +
1: +struct kernel_pkey_params;
1: +
1: +struct kernel_pkey_query;
1: +
1: +struct key_type {
1: + const char *name;
1: + size_t def_datalen;
1: + unsigned int flags;
1: + int (*vet_description)(const char *);
1: + int (*preparse)(struct key_preparsed_payload *);
1: + void (*free_preparse)(struct key_preparsed_payload *);
1: + int (*instantiate)(struct key *, struct key_preparsed_payload *);
1: + int (*update)(struct key *, struct key_preparsed_payload *);
1: + int (*match_preparse)(struct key_match_data *);
1: + void (*match_free)(struct key_match_data *);
1: + void (*revoke)(struct key *);
1: + void (*destroy)(struct key *);
1: + void (*describe)(const struct key *, struct seq_file *);
1: + long int (*read)(const struct key *, char *, size_t);
1: + request_key_actor_t request_key;
1: + struct key_restriction * (*lookup_restriction)(const char *);
1: + int (*asym_query)(const struct kernel_pkey_params *, struct kernel_pkey_query *);
1: + int (*asym_eds_op)(struct kernel_pkey_params *, const void *, void *);
1: + int (*asym_verify_signature)(struct kernel_pkey_params *, const void *, const void *);
1: + struct list_head link;
1: + struct lock_class_key lock_class;
1: +};
1: +
1: +struct key_restriction {
1: + key_restrict_link_func_t check;
1: + struct key *key;
1: + struct key_type *keytype;
1: +};
1: +
1: +struct group_info {
1: + atomic_t usage;
1: + int ngroups;
1: + kgid_t gid[0];
1: +};
1: +
1: +struct seq_operations {
1: + void * (*start)(struct seq_file *, loff_t *);
1: + void (*stop)(struct seq_file *, void *);
1: + void * (*next)(struct seq_file *, void *, loff_t *);
1: + int (*show)(struct seq_file *, void *);
1: +};
1: +
1: +struct ring_buffer_event {
1: + u32 type_len: 5;
1: + u32 time_delta: 27;
1: + u32 array[0];
1: +};
1: +
1: +struct seq_buf {
1: + char *buffer;
1: + size_t size;
1: + size_t len;
1: + loff_t readpos;
1: +};
1: +
1: +struct trace_seq {
1: + unsigned char buffer[4096];
1: + struct seq_buf seq;
1: + int full;
1: +};
1: +
1: +enum perf_sw_ids {
1: + PERF_COUNT_SW_CPU_CLOCK = 0,
1: + PERF_COUNT_SW_TASK_CLOCK = 1,
1: + PERF_COUNT_SW_PAGE_FAULTS = 2,
1: + PERF_COUNT_SW_CONTEXT_SWITCHES = 3,
1: + PERF_COUNT_SW_CPU_MIGRATIONS = 4,
1: + PERF_COUNT_SW_PAGE_FAULTS_MIN = 5,
1: + PERF_COUNT_SW_PAGE_FAULTS_MAJ = 6,
1: + PERF_COUNT_SW_ALIGNMENT_FAULTS = 7,
1: + PERF_COUNT_SW_EMULATION_FAULTS = 8,
1: + PERF_COUNT_SW_DUMMY = 9,
1: + PERF_COUNT_SW_BPF_OUTPUT = 10,
1: + PERF_COUNT_SW_MAX = 11,
1: +};
1: +
1: +union perf_mem_data_src {
1: + __u64 val;
1: + struct {
1: + __u64 mem_op: 5;
1: + __u64 mem_lvl: 14;
1: + __u64 mem_snoop: 5;
1: + __u64 mem_lock: 2;
1: + __u64 mem_dtlb: 7;
1: + __u64 mem_lvl_num: 4;
1: + __u64 mem_remote: 1;
1: + __u64 mem_snoopx: 2;
1: + __u64 mem_rsvd: 24;
1: + };
1: +};
1: +
1: +struct perf_branch_entry {
1: + __u64 from;
1: + __u64 to;
1: + __u64 mispred: 1;
1: + __u64 predicted: 1;
1: + __u64 in_tx: 1;
1: + __u64 abort: 1;
1: + __u64 cycles: 16;
1: + __u64 type: 4;
1: + __u64 reserved: 40;
1: +};
1: +
1: +struct taskstats {
1: + __u16 version;
1: + __u32 ac_exitcode;
1: + __u8 ac_flag;
1: + __u8 ac_nice;
1: + __u64 cpu_count;
1: + __u64 cpu_delay_total;
1: + __u64 blkio_count;
1: + __u64 blkio_delay_total;
1: + __u64 swapin_count;
1: + __u64 swapin_delay_total;
1: + __u64 cpu_run_real_total;
1: + __u64 cpu_run_virtual_total;
1: + char ac_comm[32];
1: + __u8 ac_sched;
1: + __u8 ac_pad[3];
1: + int: 32;
1: + __u32 ac_uid;
1: + __u32 ac_gid;
1: + __u32 ac_pid;
1: + __u32 ac_ppid;
1: + __u32 ac_btime;
1: + __u64 ac_etime;
1: + __u64 ac_utime;
1: + __u64 ac_stime;
1: + __u64 ac_minflt;
1: + __u64 ac_majflt;
1: + __u64 coremem;
1: + __u64 virtmem;
1: + __u64 hiwater_rss;
1: + __u64 hiwater_vm;
1: + __u64 read_char;
1: + __u64 write_char;
1: + __u64 read_syscalls;
1: + __u64 write_syscalls;
1: + __u64 read_bytes;
1: + __u64 write_bytes;
1: + __u64 cancelled_write_bytes;
1: + __u64 nvcsw;
1: + __u64 nivcsw;
1: + __u64 ac_utimescaled;
1: + __u64 ac_stimescaled;
1: + __u64 cpu_scaled_run_real_total;
1: + __u64 freepages_count;
1: + __u64 freepages_delay_total;
1: + __u64 thrashing_count;
1: + __u64 thrashing_delay_total;
1: +};
1: +
1: +struct new_utsname {
1: + char sysname[65];
1: + char nodename[65];
1: + char release[65];
1: + char version[65];
1: + char machine[65];
1: + char domainname[65];
1: +};
1: +
1: +struct uts_namespace {
1: + struct kref kref;
1: + struct new_utsname name;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct ns_common ns;
1: +};
1: +
1: +struct cgroup_namespace {
1: + refcount_t count;
1: + struct ns_common ns;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct css_set *root_cset;
1: +};
1: +
1: +struct proc_ns_operations {
1: + const char *name;
1: + const char *real_ns_name;
1: + int type;
1: + struct ns_common * (*get)(struct task_struct *);
1: + void (*put)(struct ns_common *);
1: + int (*install)(struct nsproxy *, struct ns_common *);
1: + struct user_namespace * (*owner)(struct ns_common *);
1: + struct ns_common * (*get_parent)(struct ns_common *);
1: +};
1: +
1: +struct ucounts {
1: + struct hlist_node node;
1: + struct user_namespace *ns;
1: + kuid_t uid;
1: + int count;
1: + atomic_t ucount[9];
1: +};
1: +
1: +struct dev_pm_ops {
1: + int (*prepare)(struct device *);
1: + void (*complete)(struct device *);
1: + int (*suspend)(struct device *);
1: + int (*resume)(struct device *);
1: + int (*freeze)(struct device *);
1: + int (*thaw)(struct device *);
1: + int (*poweroff)(struct device *);
1: + int (*restore)(struct device *);
1: + int (*suspend_late)(struct device *);
1: + int (*resume_early)(struct device *);
1: + int (*freeze_late)(struct device *);
1: + int (*thaw_early)(struct device *);
1: + int (*poweroff_late)(struct device *);
1: + int (*restore_early)(struct device *);
1: + int (*suspend_noirq)(struct device *);
1: + int (*resume_noirq)(struct device *);
1: + int (*freeze_noirq)(struct device *);
1: + int (*thaw_noirq)(struct device *);
1: + int (*poweroff_noirq)(struct device *);
1: + int (*restore_noirq)(struct device *);
1: + int (*runtime_suspend)(struct device *);
1: + int (*runtime_resume)(struct device *);
1: + int (*runtime_idle)(struct device *);
1: +};
1: +
1: +struct pm_subsys_data {
1: + spinlock_t lock;
1: + unsigned int refcount;
1: + struct list_head clock_list;
1: +};
1: +
1: +struct wakeup_source {
1: + const char *name;
1: + int id;
1: + struct list_head entry;
1: + spinlock_t lock;
1: + struct wake_irq *wakeirq;
1: + struct timer_list timer;
1: + long unsigned int timer_expires;
1: + ktime_t total_time;
1: + ktime_t max_time;
1: + ktime_t last_time;
1: + ktime_t start_prevent_time;
1: + ktime_t prevent_sleep_time;
1: + long unsigned int event_count;
1: + long unsigned int active_count;
1: + long unsigned int relax_count;
1: + long unsigned int expire_count;
1: + long unsigned int wakeup_count;
1: + struct device *dev;
1: + bool active: 1;
1: + bool autosleep_enabled: 1;
1: +};
1: +
1: +struct dev_pm_domain {
1: + struct dev_pm_ops ops;
1: + int (*start)(struct device *);
1: + void (*detach)(struct device *, bool);
1: + int (*activate)(struct device *);
1: + void (*sync)(struct device *);
1: + void (*dismiss)(struct device *);
1: +};
1: +
1: +struct iommu_ops;
1: +
1: +struct subsys_private;
1: +
1: +struct bus_type {
1: + const char *name;
1: + const char *dev_name;
1: + struct device *dev_root;
1: + const struct attribute_group **bus_groups;
1: + const struct attribute_group **dev_groups;
1: + const struct attribute_group **drv_groups;
1: + int (*match)(struct device *, struct device_driver *);
1: + int (*uevent)(struct device *, struct kobj_uevent_env *);
1: + int (*probe)(struct device *);
1: + void (*sync_state)(struct device *);
1: + int (*remove)(struct device *);
1: + void (*shutdown)(struct device *);
1: + int (*online)(struct device *);
1: + int (*offline)(struct device *);
1: + int (*suspend)(struct device *, pm_message_t);
1: + int (*resume)(struct device *);
1: + int (*num_vf)(struct device *);
1: + int (*dma_configure)(struct device *);
1: + const struct dev_pm_ops *pm;
1: + const struct iommu_ops *iommu_ops;
1: + struct subsys_private *p;
1: + struct lock_class_key lock_key;
1: + bool need_parent_lock;
1: +};
1: +
1: +enum probe_type {
1: + PROBE_DEFAULT_STRATEGY = 0,
1: + PROBE_PREFER_ASYNCHRONOUS = 1,
1: + PROBE_FORCE_SYNCHRONOUS = 2,
1: +};
1: +
1: +struct of_device_id;
1: +
1: +struct acpi_device_id;
1: +
1: +struct driver_private;
1: +
1: +struct device_driver {
1: + const char *name;
1: + struct bus_type *bus;
1: + struct module *owner;
1: + const char *mod_name;
1: + bool suppress_bind_attrs;
1: + enum probe_type probe_type;
1: + const struct of_device_id *of_match_table;
1: + const struct acpi_device_id *acpi_match_table;
1: + int (*probe)(struct device *);
1: + void (*sync_state)(struct device *);
1: + int (*remove)(struct device *);
1: + void (*shutdown)(struct device *);
1: + int (*suspend)(struct device *, pm_message_t);
1: + int (*resume)(struct device *);
1: + const struct attribute_group **groups;
1: + const struct attribute_group **dev_groups;
1: + const struct dev_pm_ops *pm;
1: + void (*coredump)(struct device *);
1: + struct driver_private *p;
1: +};
1: +
1: +enum iommu_cap {
1: + IOMMU_CAP_CACHE_COHERENCY = 0,
1: + IOMMU_CAP_INTR_REMAP = 1,
1: + IOMMU_CAP_NOEXEC = 2,
1: +};
1: +
1: +enum iommu_attr {
1: + DOMAIN_ATTR_GEOMETRY = 0,
1: + DOMAIN_ATTR_PAGING = 1,
1: + DOMAIN_ATTR_WINDOWS = 2,
1: + DOMAIN_ATTR_FSL_PAMU_STASH = 3,
1: + DOMAIN_ATTR_FSL_PAMU_ENABLE = 4,
1: + DOMAIN_ATTR_FSL_PAMUV1 = 5,
1: + DOMAIN_ATTR_NESTING = 6,
1: + DOMAIN_ATTR_DMA_USE_FLUSH_QUEUE = 7,
1: + DOMAIN_ATTR_MAX = 8,
1: +};
1: +
1: +enum iommu_dev_features {
1: + IOMMU_DEV_FEAT_AUX = 0,
1: + IOMMU_DEV_FEAT_SVA = 1,
1: +};
1: +
1: +struct iommu_domain;
1: +
1: +struct iommu_iotlb_gather;
1: +
1: +struct iommu_resv_region;
1: +
1: +struct of_phandle_args;
1: +
1: +struct iommu_sva;
1: +
1: +struct iommu_fault_event;
1: +
1: +struct iommu_page_response;
1: +
1: +struct iommu_cache_invalidate_info;
1: +
1: +struct iommu_gpasid_bind_data;
1: +
1: +struct iommu_ops {
1: + bool (*capable)(enum iommu_cap);
1: + struct iommu_domain * (*domain_alloc)(unsigned int);
1: + void (*domain_free)(struct iommu_domain *);
1: + int (*attach_dev)(struct iommu_domain *, struct device *);
1: + void (*detach_dev)(struct iommu_domain *, struct device *);
1: + int (*map)(struct iommu_domain *, long unsigned int, phys_addr_t, size_t, int, gfp_t);
1: + size_t (*unmap)(struct iommu_domain *, long unsigned int, size_t, struct iommu_iotlb_gather *);
1: + void (*flush_iotlb_all)(struct iommu_domain *);
1: + void (*iotlb_sync_map)(struct iommu_domain *);
1: + void (*iotlb_sync)(struct iommu_domain *, struct iommu_iotlb_gather *);
1: + phys_addr_t (*iova_to_phys)(struct iommu_domain *, dma_addr_t);
1: + int (*add_device)(struct device *);
1: + void (*remove_device)(struct device *);
1: + struct iommu_group * (*device_group)(struct device *);
1: + int (*domain_get_attr)(struct iommu_domain *, enum iommu_attr, void *);
1: + int (*domain_set_attr)(struct iommu_domain *, enum iommu_attr, void *);
1: + void (*get_resv_regions)(struct device *, struct list_head *);
1: + void (*put_resv_regions)(struct device *, struct list_head *);
1: + void (*apply_resv_region)(struct device *, struct iommu_domain *, struct iommu_resv_region *);
1: + int (*domain_window_enable)(struct iommu_domain *, u32, phys_addr_t, u64, int);
1: + void (*domain_window_disable)(struct iommu_domain *, u32);
1: + int (*of_xlate)(struct device *, struct of_phandle_args *);
1: + bool (*is_attach_deferred)(struct iommu_domain *, struct device *);
1: + bool (*dev_has_feat)(struct device *, enum iommu_dev_features);
1: + bool (*dev_feat_enabled)(struct device *, enum iommu_dev_features);
1: + int (*dev_enable_feat)(struct device *, enum iommu_dev_features);
1: + int (*dev_disable_feat)(struct device *, enum iommu_dev_features);
1: + int (*aux_attach_dev)(struct iommu_domain *, struct device *);
1: + void (*aux_detach_dev)(struct iommu_domain *, struct device *);
1: + int (*aux_get_pasid)(struct iommu_domain *, struct device *);
1: + struct iommu_sva * (*sva_bind)(struct device *, struct mm_struct *, void *);
1: + void (*sva_unbind)(struct iommu_sva *);
1: + int (*sva_get_pasid)(struct iommu_sva *);
1: + int (*page_response)(struct device *, struct iommu_fault_event *, struct iommu_page_response *);
1: + int (*cache_invalidate)(struct iommu_domain *, struct device *, struct iommu_cache_invalidate_info *);
1: + int (*sva_bind_gpasid)(struct iommu_domain *, struct device *, struct iommu_gpasid_bind_data *);
1: + int (*sva_unbind_gpasid)(struct device *, int);
1: + long unsigned int pgsize_bitmap;
1: +};
1: +
1: +struct device_type {
1: + const char *name;
1: + const struct attribute_group **groups;
1: + int (*uevent)(struct device *, struct kobj_uevent_env *);
1: + char * (*devnode)(struct device *, umode_t *, kuid_t *, kgid_t *);
1: + void (*release)(struct device *);
1: + const struct dev_pm_ops *pm;
1: +};
1: +
1: +struct of_device_id {
1: + char name[32];
1: + char type[32];
1: + char compatible[128];
1: + const void *data;
1: +};
1: +
1: +typedef long unsigned int kernel_ulong_t;
1: +
1: +struct acpi_device_id {
1: + __u8 id[9];
1: + kernel_ulong_t driver_data;
1: + __u32 cls;
1: + __u32 cls_msk;
1: +};
1: +
1: +struct class {
1: + const char *name;
1: + struct module *owner;
1: + const struct attribute_group **class_groups;
1: + const struct attribute_group **dev_groups;
1: + struct kobject *dev_kobj;
1: + int (*dev_uevent)(struct device *, struct kobj_uevent_env *);
1: + char * (*devnode)(struct device *, umode_t *);
1: + void (*class_release)(struct class *);
1: + void (*dev_release)(struct device *);
1: + int (*shutdown_pre)(struct device *);
1: + const struct kobj_ns_type_operations *ns_type;
1: + const void * (*namespace)(struct device *);
1: + void (*get_ownership)(struct device *, kuid_t *, kgid_t *);
1: + const struct dev_pm_ops *pm;
1: + struct subsys_private *p;
1: +};
1: +
1: +struct device_dma_parameters {
1: + unsigned int max_segment_size;
1: + long unsigned int segment_boundary_mask;
1: +};
1: +
1: +enum irq_domain_bus_token {
1: + DOMAIN_BUS_ANY = 0,
1: + DOMAIN_BUS_WIRED = 1,
1: + DOMAIN_BUS_GENERIC_MSI = 2,
1: + DOMAIN_BUS_PCI_MSI = 3,
1: + DOMAIN_BUS_PLATFORM_MSI = 4,
1: + DOMAIN_BUS_NEXUS = 5,
1: + DOMAIN_BUS_IPI = 6,
1: + DOMAIN_BUS_FSL_MC_MSI = 7,
1: + DOMAIN_BUS_TI_SCI_INTA_MSI = 8,
1: + DOMAIN_BUS_WAKEUP = 9,
1: +};
1: +
1: +struct irq_domain_ops;
1: +
1: +struct irq_domain_chip_generic;
1: +
1: +struct irq_domain {
1: + struct list_head link;
1: + const char *name;
1: + const struct irq_domain_ops *ops;
1: + void *host_data;
1: + unsigned int flags;
1: + unsigned int mapcount;
1: + struct fwnode_handle *fwnode;
1: + enum irq_domain_bus_token bus_token;
1: + struct irq_domain_chip_generic *gc;
1: + struct irq_domain *parent;
1: + irq_hw_number_t hwirq_max;
1: + unsigned int revmap_direct_max_irq;
1: + unsigned int revmap_size;
1: + struct xarray revmap_tree;
1: + struct mutex revmap_tree_mutex;
1: + unsigned int linear_revmap[0];
1: +};
1: +
1: +enum dma_data_direction {
1: + DMA_BIDIRECTIONAL = 0,
1: + DMA_TO_DEVICE = 1,
1: + DMA_FROM_DEVICE = 2,
1: + DMA_NONE = 3,
1: +};
1: +
1: +struct sg_table;
1: +
1: +struct scatterlist;
1: +
1: +struct dma_map_ops {
1: + void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int);
1: + void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int);
1: + int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int);
1: + int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int);
1: + dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int);
1: + void (*unmap_page)(struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: + int (*map_sg)(struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int);
1: + void (*unmap_sg)(struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int);
1: + dma_addr_t (*map_resource)(struct device *, phys_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: + void (*unmap_resource)(struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: + void (*sync_single_for_cpu)(struct device *, dma_addr_t, size_t, enum dma_data_direction);
1: + void (*sync_single_for_device)(struct device *, dma_addr_t, size_t, enum dma_data_direction);
1: + void (*sync_sg_for_cpu)(struct device *, struct scatterlist *, int, enum dma_data_direction);
1: + void (*sync_sg_for_device)(struct device *, struct scatterlist *, int, enum dma_data_direction);
1: + void (*cache_sync)(struct device *, void *, size_t, enum dma_data_direction);
1: + int (*dma_supported)(struct device *, u64);
1: + u64 (*get_required_mask)(struct device *);
1: + size_t (*max_mapping_size)(struct device *);
1: + long unsigned int (*get_merge_boundary)(struct device *);
1: +};
1: +
1: +typedef u32 phandle;
1: +
1: +struct property;
1: +
1: +struct device_node {
1: + const char *name;
1: + phandle phandle;
1: + const char *full_name;
1: + struct fwnode_handle fwnode;
1: + struct property *properties;
1: + struct property *deadprops;
1: + struct device_node *parent;
1: + struct device_node *child;
1: + struct device_node *sibling;
1: + long unsigned int _flags;
1: + void *data;
1: +};
1: +
1: +enum cpuhp_state {
1: + CPUHP_INVALID = -1,
1: + CPUHP_OFFLINE = 0,
1: + CPUHP_CREATE_THREADS = 1,
1: + CPUHP_PERF_PREPARE = 2,
1: + CPUHP_PERF_X86_PREPARE = 3,
1: + CPUHP_PERF_X86_AMD_UNCORE_PREP = 4,
1: + CPUHP_PERF_POWER = 5,
1: + CPUHP_PERF_SUPERH = 6,
1: + CPUHP_X86_HPET_DEAD = 7,
1: + CPUHP_X86_APB_DEAD = 8,
1: + CPUHP_X86_MCE_DEAD = 9,
1: + CPUHP_VIRT_NET_DEAD = 10,
1: + CPUHP_SLUB_DEAD = 11,
1: + CPUHP_MM_WRITEBACK_DEAD = 12,
1: + CPUHP_MM_VMSTAT_DEAD = 13,
1: + CPUHP_SOFTIRQ_DEAD = 14,
1: + CPUHP_NET_MVNETA_DEAD = 15,
1: + CPUHP_CPUIDLE_DEAD = 16,
1: + CPUHP_ARM64_FPSIMD_DEAD = 17,
1: + CPUHP_ARM_OMAP_WAKE_DEAD = 18,
1: + CPUHP_IRQ_POLL_DEAD = 19,
1: + CPUHP_BLOCK_SOFTIRQ_DEAD = 20,
1: + CPUHP_ACPI_CPUDRV_DEAD = 21,
1: + CPUHP_S390_PFAULT_DEAD = 22,
1: + CPUHP_BLK_MQ_DEAD = 23,
1: + CPUHP_FS_BUFF_DEAD = 24,
1: + CPUHP_PRINTK_DEAD = 25,
1: + CPUHP_MM_MEMCQ_DEAD = 26,
1: + CPUHP_PERCPU_CNT_DEAD = 27,
1: + CPUHP_RADIX_DEAD = 28,
1: + CPUHP_PAGE_ALLOC_DEAD = 29,
1: + CPUHP_NET_DEV_DEAD = 30,
1: + CPUHP_PCI_XGENE_DEAD = 31,
1: + CPUHP_IOMMU_INTEL_DEAD = 32,
1: + CPUHP_LUSTRE_CFS_DEAD = 33,
1: + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 34,
1: + CPUHP_WORKQUEUE_PREP = 35,
1: + CPUHP_POWER_NUMA_PREPARE = 36,
1: + CPUHP_HRTIMERS_PREPARE = 37,
1: + CPUHP_PROFILE_PREPARE = 38,
1: + CPUHP_X2APIC_PREPARE = 39,
1: + CPUHP_SMPCFD_PREPARE = 40,
1: + CPUHP_RELAY_PREPARE = 41,
1: + CPUHP_SLAB_PREPARE = 42,
1: + CPUHP_MD_RAID5_PREPARE = 43,
1: + CPUHP_RCUTREE_PREP = 44,
1: + CPUHP_CPUIDLE_COUPLED_PREPARE = 45,
1: + CPUHP_POWERPC_PMAC_PREPARE = 46,
1: + CPUHP_POWERPC_MMU_CTX_PREPARE = 47,
1: + CPUHP_XEN_PREPARE = 48,
1: + CPUHP_XEN_EVTCHN_PREPARE = 49,
1: + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 50,
1: + CPUHP_SH_SH3X_PREPARE = 51,
1: + CPUHP_NET_FLOW_PREPARE = 52,
1: + CPUHP_TOPOLOGY_PREPARE = 53,
1: + CPUHP_NET_IUCV_PREPARE = 54,
1: + CPUHP_ARM_BL_PREPARE = 55,
1: + CPUHP_TRACE_RB_PREPARE = 56,
1: + CPUHP_MM_ZS_PREPARE = 57,
1: + CPUHP_MM_ZSWP_MEM_PREPARE = 58,
1: + CPUHP_MM_ZSWP_POOL_PREPARE = 59,
1: + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60,
1: + CPUHP_ZCOMP_PREPARE = 61,
1: + CPUHP_TIMERS_PREPARE = 62,
1: + CPUHP_MIPS_SOC_PREPARE = 63,
1: + CPUHP_BP_PREPARE_DYN = 64,
1: + CPUHP_BP_PREPARE_DYN_END = 84,
1: + CPUHP_BRINGUP_CPU = 85,
1: + CPUHP_AP_IDLE_DEAD = 86,
1: + CPUHP_AP_OFFLINE = 87,
1: + CPUHP_AP_SCHED_STARTING = 88,
1: + CPUHP_AP_RCUTREE_DYING = 89,
1: + CPUHP_AP_IRQ_GIC_STARTING = 90,
1: + CPUHP_AP_IRQ_HIP04_STARTING = 91,
1: + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 92,
1: + CPUHP_AP_IRQ_BCM2836_STARTING = 93,
1: + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 94,
1: + CPUHP_AP_ARM_MVEBU_COHERENCY = 95,
1: + CPUHP_AP_MICROCODE_LOADER = 96,
1: + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 97,
1: + CPUHP_AP_PERF_X86_STARTING = 98,
1: + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 99,
1: + CPUHP_AP_PERF_X86_CQM_STARTING = 100,
1: + CPUHP_AP_PERF_X86_CSTATE_STARTING = 101,
1: + CPUHP_AP_PERF_XTENSA_STARTING = 102,
1: + CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 103,
1: + CPUHP_AP_ARM_SDEI_STARTING = 104,
1: + CPUHP_AP_ARM_VFP_STARTING = 105,
1: + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 106,
1: + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 107,
1: + CPUHP_AP_PERF_ARM_ACPI_STARTING = 108,
1: + CPUHP_AP_PERF_ARM_STARTING = 109,
1: + CPUHP_AP_ARM_L2X0_STARTING = 110,
1: + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 111,
1: + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 112,
1: + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 113,
1: + CPUHP_AP_JCORE_TIMER_STARTING = 114,
1: + CPUHP_AP_ARM_TWD_STARTING = 115,
1: + CPUHP_AP_QCOM_TIMER_STARTING = 116,
1: + CPUHP_AP_TEGRA_TIMER_STARTING = 117,
1: + CPUHP_AP_ARMADA_TIMER_STARTING = 118,
1: + CPUHP_AP_MARCO_TIMER_STARTING = 119,
1: + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 120,
1: + CPUHP_AP_ARC_TIMER_STARTING = 121,
1: + CPUHP_AP_RISCV_TIMER_STARTING = 122,
1: + CPUHP_AP_CSKY_TIMER_STARTING = 123,
1: + CPUHP_AP_HYPERV_TIMER_STARTING = 124,
1: + CPUHP_AP_KVM_STARTING = 125,
1: + CPUHP_AP_KVM_ARM_VGIC_INIT_STARTING = 126,
1: + CPUHP_AP_KVM_ARM_VGIC_STARTING = 127,
1: + CPUHP_AP_KVM_ARM_TIMER_STARTING = 128,
1: + CPUHP_AP_DUMMY_TIMER_STARTING = 129,
1: + CPUHP_AP_ARM_XEN_STARTING = 130,
1: + CPUHP_AP_ARM_KVMPV_STARTING = 131,
1: + CPUHP_AP_ARM_CORESIGHT_STARTING = 132,
1: + CPUHP_AP_ARM64_ISNDEP_STARTING = 133,
1: + CPUHP_AP_SMPCFD_DYING = 134,
1: + CPUHP_AP_X86_TBOOT_DYING = 135,
1: + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 136,
1: + CPUHP_AP_ONLINE = 137,
1: + CPUHP_TEARDOWN_CPU = 138,
1: + CPUHP_AP_ONLINE_IDLE = 139,
1: + CPUHP_AP_SMPBOOT_THREADS = 140,
1: + CPUHP_AP_X86_VDSO_VMA_ONLINE = 141,
1: + CPUHP_AP_IRQ_AFFINITY_ONLINE = 142,
1: + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 143,
1: + CPUHP_AP_X86_INTEL_EPB_ONLINE = 144,
1: + CPUHP_AP_PERF_ONLINE = 145,
1: + CPUHP_AP_PERF_X86_ONLINE = 146,
1: + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 147,
1: + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 148,
1: + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 149,
1: + CPUHP_AP_PERF_X86_RAPL_ONLINE = 150,
1: + CPUHP_AP_PERF_X86_CQM_ONLINE = 151,
1: + CPUHP_AP_PERF_X86_CSTATE_ONLINE = 152,
1: + CPUHP_AP_PERF_S390_CF_ONLINE = 153,
1: + CPUHP_AP_PERF_S390_SF_ONLINE = 154,
1: + CPUHP_AP_PERF_ARM_CCI_ONLINE = 155,
1: + CPUHP_AP_PERF_ARM_CCN_ONLINE = 156,
1: + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 157,
1: + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 158,
1: + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 159,
1: + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 160,
1: + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 161,
1: + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 162,
1: + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 163,
1: + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 164,
1: + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 165,
1: + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 166,
1: + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 167,
1: + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 168,
1: + CPUHP_AP_WATCHDOG_ONLINE = 169,
1: + CPUHP_AP_WORKQUEUE_ONLINE = 170,
1: + CPUHP_AP_RCUTREE_ONLINE = 171,
1: + CPUHP_AP_BASE_CACHEINFO_ONLINE = 172,
1: + CPUHP_AP_ONLINE_DYN = 173,
1: + CPUHP_AP_ONLINE_DYN_END = 203,
1: + CPUHP_AP_X86_HPET_ONLINE = 204,
1: + CPUHP_AP_X86_KVM_CLK_ONLINE = 205,
1: + CPUHP_AP_ACTIVE = 206,
1: + CPUHP_ONLINE = 207,
1: +};
1: +
1: +struct perf_regs {
1: + __u64 abi;
1: + struct pt_regs *regs;
1: +};
1: +
1: +struct kernel_cpustat {
1: + u64 cpustat[10];
1: +};
1: +
1: +struct kernel_stat {
1: + long unsigned int irqs_sum;
1: + unsigned int softirqs[10];
1: +};
1: +
1: +struct u64_stats_sync {};
1: +
1: +struct bpf_cgroup_storage;
1: +
1: +struct bpf_prog;
1: +
1: +struct bpf_prog_array_item {
1: + struct bpf_prog *prog;
1: + struct bpf_cgroup_storage *cgroup_storage[2];
1: +};
1: +
1: +struct bpf_prog_array {
1: + struct callback_head rcu;
1: + struct bpf_prog_array_item items[0];
1: +};
1: +
1: +struct cgroup_bpf {};
1: +
1: +struct psi_group {};
1: +
1: +struct cgroup_file {
1: + struct kernfs_node *kn;
1: + long unsigned int notified_at;
1: + struct timer_list notify_timer;
1: +};
1: +
1: +struct cgroup_subsys;
1: +
1: +struct cgroup_subsys_state {
1: + struct cgroup *cgroup;
1: + struct cgroup_subsys *ss;
1: + struct percpu_ref refcnt;
1: + struct list_head sibling;
1: + struct list_head children;
1: + struct list_head rstat_css_node;
1: + int id;
1: + unsigned int flags;
1: + u64 serial_nr;
1: + atomic_t online_cnt;
1: + struct work_struct destroy_work;
1: + struct rcu_work destroy_rwork;
1: + struct cgroup_subsys_state *parent;
1: +};
1: +
1: +struct cgroup_base_stat {
1: + struct task_cputime cputime;
1: +};
1: +
1: +struct cgroup_freezer_state {
1: + bool freeze;
1: + int e_freeze;
1: + int nr_frozen_descendants;
1: + int nr_frozen_tasks;
1: +};
1: +
1: +struct cgroup_root;
1: +
1: +struct cgroup_rstat_cpu;
1: +
1: +struct cgroup {
1: + struct cgroup_subsys_state self;
1: + long unsigned int flags;
1: + int level;
1: + int max_depth;
1: + int nr_descendants;
1: + int nr_dying_descendants;
1: + int max_descendants;
1: + int nr_populated_csets;
1: + int nr_populated_domain_children;
1: + int nr_populated_threaded_children;
1: + int nr_threaded_children;
1: + struct kernfs_node *kn;
1: + struct cgroup_file procs_file;
1: + struct cgroup_file events_file;
1: + u16 subtree_control;
1: + u16 subtree_ss_mask;
1: + u16 old_subtree_control;
1: + u16 old_subtree_ss_mask;
1: + struct cgroup_subsys_state *subsys[4];
1: + struct cgroup_root *root;
1: + struct list_head cset_links;
1: + struct list_head e_csets[4];
1: + struct cgroup *dom_cgrp;
1: + struct cgroup *old_dom_cgrp;
1: + struct cgroup_rstat_cpu *rstat_cpu;
1: + struct list_head rstat_css_list;
1: + struct cgroup_base_stat last_bstat;
1: + struct cgroup_base_stat bstat;
1: + struct prev_cputime prev_cputime;
1: + struct list_head pidlists;
1: + struct mutex pidlist_mutex;
1: + wait_queue_head_t offline_waitq;
1: + struct work_struct release_agent_work;
1: + struct psi_group psi;
1: + struct cgroup_bpf bpf;
1: + atomic_t congestion_count;
1: + struct cgroup_freezer_state freezer;
1: + u64 ancestor_ids[0];
1: +};
1: +
1: +struct cgroup_taskset;
1: +
1: +struct cftype;
1: +
1: +struct cgroup_subsys {
1: + struct cgroup_subsys_state * (*css_alloc)(struct cgroup_subsys_state *);
1: + int (*css_online)(struct cgroup_subsys_state *);
1: + void (*css_offline)(struct cgroup_subsys_state *);
1: + void (*css_released)(struct cgroup_subsys_state *);
1: + void (*css_free)(struct cgroup_subsys_state *);
1: + void (*css_reset)(struct cgroup_subsys_state *);
1: + void (*css_rstat_flush)(struct cgroup_subsys_state *, int);
1: + int (*css_extra_stat_show)(struct seq_file *, struct cgroup_subsys_state *);
1: + int (*can_attach)(struct cgroup_taskset *);
1: + void (*cancel_attach)(struct cgroup_taskset *);
1: + void (*attach)(struct cgroup_taskset *);
1: + void (*post_attach)();
1: + int (*can_fork)(struct task_struct *);
1: + void (*cancel_fork)(struct task_struct *);
1: + void (*fork)(struct task_struct *);
1: + void (*exit)(struct task_struct *);
1: + void (*release)(struct task_struct *);
1: + void (*bind)(struct cgroup_subsys_state *);
1: + bool early_init: 1;
1: + bool implicit_on_dfl: 1;
1: + bool threaded: 1;
1: + bool broken_hierarchy: 1;
1: + bool warned_broken_hierarchy: 1;
1: + int id;
1: + const char *name;
1: + const char *legacy_name;
1: + struct cgroup_root *root;
1: + struct idr css_idr;
1: + struct list_head cfts;
1: + struct cftype *dfl_cftypes;
1: + struct cftype *legacy_cftypes;
1: + unsigned int depends_on;
1: +};
1: +
1: +struct cgroup_rstat_cpu {
1: + struct u64_stats_sync bsync;
1: + struct cgroup_base_stat bstat;
1: + struct cgroup_base_stat last_bstat;
1: + struct cgroup *updated_children;
1: + struct cgroup *updated_next;
1: +};
1: +
1: +struct cgroup_root {
1: + struct kernfs_root *kf_root;
1: + unsigned int subsys_mask;
1: + int hierarchy_id;
1: + struct cgroup cgrp;
1: + u64 cgrp_ancestor_id_storage;
1: + atomic_t nr_cgrps;
1: + struct list_head root_list;
1: + unsigned int flags;
1: + char release_agent_path[4096];
1: + char name[64];
1: +};
1: +
1: +struct cftype {
1: + char name[64];
1: + long unsigned int private;
1: + size_t max_write_len;
1: + unsigned int flags;
1: + unsigned int file_offset;
1: + struct cgroup_subsys *ss;
1: + struct list_head node;
1: + struct kernfs_ops *kf_ops;
1: + int (*open)(struct kernfs_open_file *);
1: + void (*release)(struct kernfs_open_file *);
1: + u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
1: + s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
1: + int (*seq_show)(struct seq_file *, void *);
1: + void * (*seq_start)(struct seq_file *, loff_t *);
1: + void * (*seq_next)(struct seq_file *, void *, loff_t *);
1: + void (*seq_stop)(struct seq_file *, void *);
1: + int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
1: + int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
1: + ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
1: + __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
1: +};
1: +
1: +struct perf_callchain_entry {
1: + __u64 nr;
1: + __u64 ip[0];
1: +};
1: +
1: +typedef long unsigned int (*perf_copy_f)(void *, const void *, long unsigned int, long unsigned int);
1: +
1: +struct perf_raw_frag {
1: + union {
1: + struct perf_raw_frag *next;
1: + long unsigned int pad;
1: + };
1: + perf_copy_f copy;
1: + void *data;
1: + u32 size;
1: +} __attribute__((packed));
1: +
1: +struct perf_raw_record {
1: + struct perf_raw_frag frag;
1: + u32 size;
1: +};
1: +
1: +struct perf_branch_stack {
1: + __u64 nr;
1: + struct perf_branch_entry entries[0];
1: +};
1: +
1: +struct perf_cpu_context;
1: +
1: +struct perf_output_handle;
1: +
1: +struct pmu {
1: + struct list_head entry;
1: + struct module *module;
1: + struct device *dev;
1: + const struct attribute_group **attr_groups;
1: + const struct attribute_group **attr_update;
1: + const char *name;
1: + int type;
1: + int capabilities;
1: + int *pmu_disable_count;
1: + struct perf_cpu_context *pmu_cpu_context;
1: + atomic_t exclusive_cnt;
1: + int task_ctx_nr;
1: + int hrtimer_interval_ms;
1: + unsigned int nr_addr_filters;
1: + void (*pmu_enable)(struct pmu *);
1: + void (*pmu_disable)(struct pmu *);
1: + int (*event_init)(struct perf_event *);
1: + void (*event_mapped)(struct perf_event *, struct mm_struct *);
1: + void (*event_unmapped)(struct perf_event *, struct mm_struct *);
1: + int (*add)(struct perf_event *, int);
1: + void (*del)(struct perf_event *, int);
1: + void (*start)(struct perf_event *, int);
1: + void (*stop)(struct perf_event *, int);
1: + void (*read)(struct perf_event *);
1: + void (*start_txn)(struct pmu *, unsigned int);
1: + int (*commit_txn)(struct pmu *);
1: + void (*cancel_txn)(struct pmu *);
1: + int (*event_idx)(struct perf_event *);
1: + void (*sched_task)(struct perf_event_context *, bool);
1: + size_t task_ctx_size;
1: + void (*swap_task_ctx)(struct perf_event_context *, struct perf_event_context *);
1: + void * (*setup_aux)(struct perf_event *, void **, int, bool);
1: + void (*free_aux)(void *);
1: + long int (*snapshot_aux)(struct perf_event *, struct perf_output_handle *, long unsigned int);
1: + int (*addr_filters_validate)(struct list_head *);
1: + void (*addr_filters_sync)(struct perf_event *);
1: + int (*aux_output_match)(struct perf_event *);
1: + int (*filter_match)(struct perf_event *);
1: + int (*check_period)(struct perf_event *, u64);
1: +};
1: +
1: +struct perf_cpu_context {
1: + struct perf_event_context ctx;
1: + struct perf_event_context *task_ctx;
1: + int active_oncpu;
1: + int exclusive;
1: + raw_spinlock_t hrtimer_lock;
1: + struct hrtimer hrtimer;
1: + ktime_t hrtimer_interval;
1: + unsigned int hrtimer_active;
1: + struct list_head sched_cb_entry;
1: + int sched_cb_usage;
1: + int online;
1: +};
1: +
1: +struct perf_output_handle {
1: + struct perf_event *event;
1: + struct ring_buffer *rb;
1: + long unsigned int wakeup;
1: + long unsigned int size;
1: + u64 aux_flags;
1: + union {
1: + void *addr;
1: + long unsigned int head;
1: + };
1: + int page;
1: +};
1: +
1: +struct perf_addr_filter_range {
1: + long unsigned int start;
1: + long unsigned int size;
1: +};
1: +
1: +struct perf_sample_data {
1: + u64 addr;
1: + struct perf_raw_record *raw;
1: + struct perf_branch_stack *br_stack;
1: + u64 period;
1: + u64 weight;
1: + u64 txn;
1: + union perf_mem_data_src data_src;
1: + u64 type;
1: + u64 ip;
1: + struct {
1: + u32 pid;
1: + u32 tid;
1: + } tid_entry;
1: + u64 time;
1: + u64 id;
1: + u64 stream_id;
1: + struct {
1: + u32 cpu;
1: + u32 reserved;
1: + } cpu_entry;
1: + struct perf_callchain_entry *callchain;
1: + u64 aux_size;
1: + struct perf_regs regs_user;
1: + struct pt_regs regs_user_copy;
1: + struct perf_regs regs_intr;
1: + u64 stack_user_size;
1: + u64 phys_addr;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct trace_entry {
1: + short unsigned int type;
1: + unsigned char flags;
1: + unsigned char preempt_count;
1: + int pid;
1: +};
1: +
1: +struct trace_array;
1: +
1: +struct tracer;
1: +
1: +struct trace_buffer;
1: +
1: +struct ring_buffer_iter;
1: +
1: +struct trace_iterator {
1: + struct trace_array *tr;
1: + struct tracer *trace;
1: + struct trace_buffer *trace_buffer;
1: + void *private;
1: + int cpu_file;
1: + struct mutex mutex;
1: + struct ring_buffer_iter **buffer_iter;
1: + long unsigned int iter_flags;
1: + struct trace_seq tmp_seq;
1: + cpumask_var_t started;
1: + bool snapshot;
1: + struct trace_seq seq;
1: + struct trace_entry *ent;
1: + long unsigned int lost_events;
1: + int leftover;
1: + int ent_size;
1: + int cpu;
1: + u64 ts;
1: + loff_t pos;
1: + long int idx;
1: +};
1: +
1: +enum print_line_t {
1: + TRACE_TYPE_PARTIAL_LINE = 0,
1: + TRACE_TYPE_HANDLED = 1,
1: + TRACE_TYPE_UNHANDLED = 2,
1: + TRACE_TYPE_NO_CONSUME = 3,
1: +};
1: +
1: +typedef enum print_line_t (*trace_print_func)(struct trace_iterator *, int, struct trace_event *);
1: +
1: +struct trace_event_functions {
1: + trace_print_func trace;
1: + trace_print_func raw;
1: + trace_print_func hex;
1: + trace_print_func binary;
1: +};
1: +
1: +enum trace_reg {
1: + TRACE_REG_REGISTER = 0,
1: + TRACE_REG_UNREGISTER = 1,
1: + TRACE_REG_PERF_REGISTER = 2,
1: + TRACE_REG_PERF_UNREGISTER = 3,
1: + TRACE_REG_PERF_OPEN = 4,
1: + TRACE_REG_PERF_CLOSE = 5,
1: + TRACE_REG_PERF_ADD = 6,
1: + TRACE_REG_PERF_DEL = 7,
1: +};
1: +
1: +struct trace_event_class {
1: + const char *system;
1: + void *probe;
1: + void *perf_probe;
1: + int (*reg)(struct trace_event_call *, enum trace_reg, void *);
1: + int (*define_fields)(struct trace_event_call *);
1: + struct list_head * (*get_fields)(struct trace_event_call *);
1: + struct list_head fields;
1: + int (*raw_init)(struct trace_event_call *);
1: +};
1: +
1: +struct trace_event_file;
1: +
1: +struct trace_event_buffer {
1: + struct ring_buffer *buffer;
1: + struct ring_buffer_event *event;
1: + struct trace_event_file *trace_file;
1: + void *entry;
1: + long unsigned int flags;
1: + int pc;
1: +};
1: +
1: +struct trace_subsystem_dir;
1: +
1: +struct trace_event_file {
1: + struct list_head list;
1: + struct trace_event_call *event_call;
1: + struct event_filter *filter;
1: + struct dentry *dir;
1: + struct trace_array *tr;
1: + struct trace_subsystem_dir *system;
1: + struct list_head triggers;
1: + long unsigned int flags;
1: + atomic_t sm_ref;
1: + atomic_t tm_ref;
1: +};
1: +
1: +enum {
1: + TRACE_EVENT_FL_FILTERED_BIT = 0,
1: + TRACE_EVENT_FL_CAP_ANY_BIT = 1,
1: + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2,
1: + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3,
1: + TRACE_EVENT_FL_TRACEPOINT_BIT = 4,
1: + TRACE_EVENT_FL_KPROBE_BIT = 5,
1: + TRACE_EVENT_FL_UPROBE_BIT = 6,
1: +};
1: +
1: +enum {
1: + TRACE_EVENT_FL_FILTERED = 1,
1: + TRACE_EVENT_FL_CAP_ANY = 2,
1: + TRACE_EVENT_FL_NO_SET_FILTER = 4,
1: + TRACE_EVENT_FL_IGNORE_ENABLE = 8,
1: + TRACE_EVENT_FL_TRACEPOINT = 16,
1: + TRACE_EVENT_FL_KPROBE = 32,
1: + TRACE_EVENT_FL_UPROBE = 64,
1: +};
1: +
1: +enum {
1: + EVENT_FILE_FL_ENABLED_BIT = 0,
1: + EVENT_FILE_FL_RECORDED_CMD_BIT = 1,
1: + EVENT_FILE_FL_RECORDED_TGID_BIT = 2,
1: + EVENT_FILE_FL_FILTERED_BIT = 3,
1: + EVENT_FILE_FL_NO_SET_FILTER_BIT = 4,
1: + EVENT_FILE_FL_SOFT_MODE_BIT = 5,
1: + EVENT_FILE_FL_SOFT_DISABLED_BIT = 6,
1: + EVENT_FILE_FL_TRIGGER_MODE_BIT = 7,
1: + EVENT_FILE_FL_TRIGGER_COND_BIT = 8,
1: + EVENT_FILE_FL_PID_FILTER_BIT = 9,
1: + EVENT_FILE_FL_WAS_ENABLED_BIT = 10,
1: +};
1: +
1: +enum {
1: + EVENT_FILE_FL_ENABLED = 1,
1: + EVENT_FILE_FL_RECORDED_CMD = 2,
1: + EVENT_FILE_FL_RECORDED_TGID = 4,
1: + EVENT_FILE_FL_FILTERED = 8,
1: + EVENT_FILE_FL_NO_SET_FILTER = 16,
1: + EVENT_FILE_FL_SOFT_MODE = 32,
1: + EVENT_FILE_FL_SOFT_DISABLED = 64,
1: + EVENT_FILE_FL_TRIGGER_MODE = 128,
1: + EVENT_FILE_FL_TRIGGER_COND = 256,
1: + EVENT_FILE_FL_PID_FILTER = 512,
1: + EVENT_FILE_FL_WAS_ENABLED = 1024,
1: +};
1: +
1: +enum event_trigger_type {
1: + ETT_NONE = 0,
1: + ETT_TRACE_ONOFF = 1,
1: + ETT_SNAPSHOT = 2,
1: + ETT_STACKTRACE = 4,
1: + ETT_EVENT_ENABLE = 8,
1: + ETT_EVENT_HIST = 16,
1: + ETT_HIST_ENABLE = 32,
1: +};
1: +
1: +enum {
1: + FILTER_OTHER = 0,
1: + FILTER_STATIC_STRING = 1,
1: + FILTER_DYN_STRING = 2,
1: + FILTER_PTR_STRING = 3,
1: + FILTER_TRACE_FN = 4,
1: + FILTER_COMM = 5,
1: + FILTER_CPU = 6,
1: +};
1: +
1: +struct property {
1: + char *name;
1: + int length;
1: + void *value;
1: + struct property *next;
1: +};
1: +
1: +struct irq_fwspec {
1: + struct fwnode_handle *fwnode;
1: + int param_count;
1: + u32 param[16];
1: +};
1: +
1: +struct irq_data;
1: +
1: +struct irq_domain_ops {
1: + int (*match)(struct irq_domain *, struct device_node *, enum irq_domain_bus_token);
1: + int (*select)(struct irq_domain *, struct irq_fwspec *, enum irq_domain_bus_token);
1: + int (*map)(struct irq_domain *, unsigned int, irq_hw_number_t);
1: + void (*unmap)(struct irq_domain *, unsigned int);
1: + int (*xlate)(struct irq_domain *, struct device_node *, const u32 *, unsigned int, long unsigned int *, unsigned int *);
1: + int (*alloc)(struct irq_domain *, unsigned int, unsigned int, void *);
1: + void (*free)(struct irq_domain *, unsigned int, unsigned int);
1: + int (*activate)(struct irq_domain *, struct irq_data *, bool);
1: + void (*deactivate)(struct irq_domain *, struct irq_data *);
1: + int (*translate)(struct irq_domain *, struct irq_fwspec *, long unsigned int *, unsigned int *);
1: +};
1: +
1: +struct acpi_table_header {
1: + char signature[4];
1: + u32 length;
1: + u8 revision;
1: + u8 checksum;
1: + char oem_id[6];
1: + char oem_table_id[8];
1: + u32 oem_revision;
1: + char asl_compiler_id[4];
1: + u32 asl_compiler_revision;
1: +};
1: +
1: +struct acpi_generic_address {
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_width;
1: + u64 address;
1: +} __attribute__((packed));
1: +
1: +struct acpi_table_fadt {
1: + struct acpi_table_header header;
1: + u32 facs;
1: + u32 dsdt;
1: + u8 model;
1: + u8 preferred_profile;
1: + u16 sci_interrupt;
1: + u32 smi_command;
1: + u8 acpi_enable;
1: + u8 acpi_disable;
1: + u8 s4_bios_request;
1: + u8 pstate_control;
1: + u32 pm1a_event_block;
1: + u32 pm1b_event_block;
1: + u32 pm1a_control_block;
1: + u32 pm1b_control_block;
1: + u32 pm2_control_block;
1: + u32 pm_timer_block;
1: + u32 gpe0_block;
1: + u32 gpe1_block;
1: + u8 pm1_event_length;
1: + u8 pm1_control_length;
1: + u8 pm2_control_length;
1: + u8 pm_timer_length;
1: + u8 gpe0_block_length;
1: + u8 gpe1_block_length;
1: + u8 gpe1_base;
1: + u8 cst_control;
1: + u16 c2_latency;
1: + u16 c3_latency;
1: + u16 flush_size;
1: + u16 flush_stride;
1: + u8 duty_offset;
1: + u8 duty_width;
1: + u8 day_alarm;
1: + u8 month_alarm;
1: + u8 century;
1: + u16 boot_flags;
1: + u8 reserved;
1: + u32 flags;
1: + struct acpi_generic_address reset_register;
1: + u8 reset_value;
1: + u16 arm_boot_flags;
1: + u8 minor_revision;
1: + u64 Xfacs;
1: + u64 Xdsdt;
1: + struct acpi_generic_address xpm1a_event_block;
1: + struct acpi_generic_address xpm1b_event_block;
1: + struct acpi_generic_address xpm1a_control_block;
1: + struct acpi_generic_address xpm1b_control_block;
1: + struct acpi_generic_address xpm2_control_block;
1: + struct acpi_generic_address xpm_timer_block;
1: + struct acpi_generic_address xgpe0_block;
1: + struct acpi_generic_address xgpe1_block;
1: + struct acpi_generic_address sleep_control;
1: + struct acpi_generic_address sleep_status;
1: + u64 hypervisor_id;
1: +} __attribute__((packed));
1: +
1: +enum wb_stat_item {
1: + WB_RECLAIMABLE = 0,
1: + WB_WRITEBACK = 1,
1: + WB_DIRTIED = 2,
1: + WB_WRITTEN = 3,
1: + NR_WB_STAT_ITEMS = 4,
1: +};
1: +
1: +struct bdi_writeback_congested {
1: + long unsigned int state;
1: + refcount_t refcnt;
1: +};
1: +
1: +enum stat_group {
1: + STAT_READ = 0,
1: + STAT_WRITE = 1,
1: + STAT_DISCARD = 2,
1: + STAT_FLUSH = 3,
1: + NR_STAT_GROUPS = 4,
1: +};
1: +
1: +struct disk_stats {
1: + u64 nsecs[4];
1: + long unsigned int sectors[4];
1: + long unsigned int ios[4];
1: + long unsigned int merges[4];
1: + long unsigned int io_ticks;
1: + long unsigned int time_in_queue;
1: + local_t in_flight[2];
1: +};
1: +
1: +struct partition_meta_info {
1: + char uuid[37];
1: + u8 volname[64];
1: +};
1: +
1: +struct disk_part_tbl {
1: + struct callback_head callback_head;
1: + int len;
1: + struct hd_struct *last_lookup;
1: + struct hd_struct *part[0];
1: +};
1: +
1: +struct blk_zone;
1: +
1: +typedef int (*report_zones_cb)(struct blk_zone *, unsigned int, void *);
1: +
1: +struct hd_geometry;
1: +
1: +struct pr_ops;
1: +
1: +struct block_device_operations {
1: + int (*open)(struct block_device *, fmode_t);
1: + void (*release)(struct gendisk *, fmode_t);
1: + int (*rw_page)(struct block_device *, sector_t, struct page *, unsigned int);
1: + int (*ioctl)(struct block_device *, fmode_t, unsigned int, long unsigned int);
1: + int (*compat_ioctl)(struct block_device *, fmode_t, unsigned int, long unsigned int);
1: + unsigned int (*check_events)(struct gendisk *, unsigned int);
1: + int (*media_changed)(struct gendisk *);
1: + void (*unlock_native_capacity)(struct gendisk *);
1: + int (*revalidate_disk)(struct gendisk *);
1: + int (*getgeo)(struct block_device *, struct hd_geometry *);
1: + void (*swap_slot_free_notify)(struct block_device *, long unsigned int);
1: + int (*report_zones)(struct gendisk *, sector_t, unsigned int, report_zones_cb, void *);
1: + struct module *owner;
1: + const struct pr_ops *pr_ops;
1: +};
1: +
1: +struct sg_io_v4 {
1: + __s32 guard;
1: + __u32 protocol;
1: + __u32 subprotocol;
1: + __u32 request_len;
1: + __u64 request;
1: + __u64 request_tag;
1: + __u32 request_attr;
1: + __u32 request_priority;
1: + __u32 request_extra;
1: + __u32 max_response_len;
1: + __u64 response;
1: + __u32 dout_iovec_count;
1: + __u32 dout_xfer_len;
1: + __u32 din_iovec_count;
1: + __u32 din_xfer_len;
1: + __u64 dout_xferp;
1: + __u64 din_xferp;
1: + __u32 timeout;
1: + __u32 flags;
1: + __u64 usr_ptr;
1: + __u32 spare_in;
1: + __u32 driver_status;
1: + __u32 transport_status;
1: + __u32 device_status;
1: + __u32 retry_delay;
1: + __u32 info;
1: + __u32 duration;
1: + __u32 response_len;
1: + __s32 din_resid;
1: + __s32 dout_resid;
1: + __u64 generated_tag;
1: + __u32 spare_out;
1: + __u32 padding;
1: +};
1: +
1: +struct bsg_ops {
1: + int (*check_proto)(struct sg_io_v4 *);
1: + int (*fill_hdr)(struct request *, struct sg_io_v4 *, fmode_t);
1: + int (*complete_rq)(struct request *, struct sg_io_v4 *);
1: + void (*free_rq)(struct request *);
1: +};
1: +
1: +typedef __u32 req_flags_t;
1: +
1: +typedef void rq_end_io_fn(struct request *, blk_status_t);
1: +
1: +enum mq_rq_state {
1: + MQ_RQ_IDLE = 0,
1: + MQ_RQ_IN_FLIGHT = 1,
1: + MQ_RQ_COMPLETE = 2,
1: +};
1: +
1: +struct request {
1: + struct request_queue *q;
1: + struct blk_mq_ctx *mq_ctx;
1: + struct blk_mq_hw_ctx *mq_hctx;
1: + unsigned int cmd_flags;
1: + req_flags_t rq_flags;
1: + int tag;
1: + int internal_tag;
1: + unsigned int __data_len;
1: + sector_t __sector;
1: + struct bio *bio;
1: + struct bio *biotail;
1: + struct list_head queuelist;
1: + union {
1: + struct hlist_node hash;
1: + struct list_head ipi_list;
1: + };
1: + union {
1: + struct rb_node rb_node;
1: + struct bio_vec special_vec;
1: + void *completion_data;
1: + int error_count;
1: + };
1: + union {
1: + struct {
1: + struct io_cq *icq;
1: + void *priv[2];
1: + } elv;
1: + struct {
1: + unsigned int seq;
1: + struct list_head list;
1: + rq_end_io_fn *saved_end_io;
1: + } flush;
1: + };
1: + struct gendisk *rq_disk;
1: + struct hd_struct *part;
1: + u64 start_time_ns;
1: + u64 io_start_time_ns;
1: + short unsigned int stats_sectors;
1: + short unsigned int nr_phys_segments;
1: + short unsigned int write_hint;
1: + short unsigned int ioprio;
1: + unsigned int extra_len;
1: + enum mq_rq_state state;
1: + refcount_t ref;
1: + unsigned int timeout;
1: + long unsigned int deadline;
1: + union {
1: + struct __call_single_data csd;
1: + u64 fifo_time;
1: + };
1: + rq_end_io_fn *end_io;
1: + void *end_io_data;
1: +};
1: +
1: +struct blk_zone {
1: + __u64 start;
1: + __u64 len;
1: + __u64 wp;
1: + __u8 type;
1: + __u8 cond;
1: + __u8 non_seq;
1: + __u8 reset;
1: + __u8 reserved[36];
1: +};
1: +
1: +enum elv_merge {
1: + ELEVATOR_NO_MERGE = 0,
1: + ELEVATOR_FRONT_MERGE = 1,
1: + ELEVATOR_BACK_MERGE = 2,
1: + ELEVATOR_DISCARD_MERGE = 3,
1: +};
1: +
1: +struct elevator_type;
1: +
1: +struct blk_mq_alloc_data;
1: +
1: +struct elevator_mq_ops {
1: + int (*init_sched)(struct request_queue *, struct elevator_type *);
1: + void (*exit_sched)(struct elevator_queue *);
1: + int (*init_hctx)(struct blk_mq_hw_ctx *, unsigned int);
1: + void (*exit_hctx)(struct blk_mq_hw_ctx *, unsigned int);
1: + void (*depth_updated)(struct blk_mq_hw_ctx *);
1: + bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
1: + bool (*bio_merge)(struct blk_mq_hw_ctx *, struct bio *, unsigned int);
1: + int (*request_merge)(struct request_queue *, struct request **, struct bio *);
1: + void (*request_merged)(struct request_queue *, struct request *, enum elv_merge);
1: + void (*requests_merged)(struct request_queue *, struct request *, struct request *);
1: + void (*limit_depth)(unsigned int, struct blk_mq_alloc_data *);
1: + void (*prepare_request)(struct request *, struct bio *);
1: + void (*finish_request)(struct request *);
1: + void (*insert_requests)(struct blk_mq_hw_ctx *, struct list_head *, bool);
1: + struct request * (*dispatch_request)(struct blk_mq_hw_ctx *);
1: + bool (*has_work)(struct blk_mq_hw_ctx *);
1: + void (*completed_request)(struct request *, u64);
1: + void (*requeue_request)(struct request *);
1: + struct request * (*former_request)(struct request_queue *, struct request *);
1: + struct request * (*next_request)(struct request_queue *, struct request *);
1: + void (*init_icq)(struct io_cq *);
1: + void (*exit_icq)(struct io_cq *);
1: +};
1: +
1: +struct elv_fs_entry;
1: +
1: +struct blk_mq_debugfs_attr;
1: +
1: +struct elevator_type {
1: + struct kmem_cache *icq_cache;
1: + struct elevator_mq_ops ops;
1: + size_t icq_size;
1: + size_t icq_align;
1: + struct elv_fs_entry *elevator_attrs;
1: + const char *elevator_name;
1: + const char *elevator_alias;
1: + const unsigned int elevator_features;
1: + struct module *elevator_owner;
1: + const struct blk_mq_debugfs_attr *queue_debugfs_attrs;
1: + const struct blk_mq_debugfs_attr *hctx_debugfs_attrs;
1: + char icq_cache_name[22];
1: + struct list_head list;
1: +};
1: +
1: +struct elevator_queue {
1: + struct elevator_type *type;
1: + void *elevator_data;
1: + struct kobject kobj;
1: + struct mutex sysfs_lock;
1: + unsigned int registered: 1;
1: + struct hlist_head hash[64];
1: +};
1: +
1: +struct elv_fs_entry {
1: + struct attribute attr;
1: + ssize_t (*show)(struct elevator_queue *, char *);
1: + ssize_t (*store)(struct elevator_queue *, const char *, size_t);
1: +};
1: +
1: +struct blk_mq_debugfs_attr {
1: + const char *name;
1: + umode_t mode;
1: + int (*show)(void *, struct seq_file *);
1: + ssize_t (*write)(void *, const char *, size_t, loff_t *);
1: + const struct seq_operations *seq_ops;
1: +};
1: +
1: +struct blk_mq_queue_data;
1: +
1: +typedef blk_status_t queue_rq_fn(struct blk_mq_hw_ctx *, const struct blk_mq_queue_data *);
1: +
1: +typedef void commit_rqs_fn(struct blk_mq_hw_ctx *);
1: +
1: +typedef bool get_budget_fn(struct blk_mq_hw_ctx *);
1: +
1: +typedef void put_budget_fn(struct blk_mq_hw_ctx *);
1: +
1: +enum blk_eh_timer_return {
1: + BLK_EH_DONE = 0,
1: + BLK_EH_RESET_TIMER = 1,
1: +};
1: +
1: +typedef enum blk_eh_timer_return timeout_fn(struct request *, bool);
1: +
1: +typedef int poll_fn(struct blk_mq_hw_ctx *);
1: +
1: +typedef void complete_fn(struct request *);
1: +
1: +typedef int init_hctx_fn(struct blk_mq_hw_ctx *, void *, unsigned int);
1: +
1: +typedef void exit_hctx_fn(struct blk_mq_hw_ctx *, unsigned int);
1: +
1: +typedef int init_request_fn(struct blk_mq_tag_set *, struct request *, unsigned int, unsigned int);
1: +
1: +typedef void exit_request_fn(struct blk_mq_tag_set *, struct request *, unsigned int);
1: +
1: +typedef void cleanup_rq_fn(struct request *);
1: +
1: +typedef bool busy_fn(struct request_queue *);
1: +
1: +typedef int map_queues_fn(struct blk_mq_tag_set *);
1: +
1: +struct blk_mq_ops {
1: + queue_rq_fn *queue_rq;
1: + commit_rqs_fn *commit_rqs;
1: + get_budget_fn *get_budget;
1: + put_budget_fn *put_budget;
1: + timeout_fn *timeout;
1: + poll_fn *poll;
1: + complete_fn *complete;
1: + init_hctx_fn *init_hctx;
1: + exit_hctx_fn *exit_hctx;
1: + init_request_fn *init_request;
1: + exit_request_fn *exit_request;
1: + void (*initialize_rq_fn)(struct request *);
1: + cleanup_rq_fn *cleanup_rq;
1: + busy_fn *busy;
1: + map_queues_fn *map_queues;
1: + void (*show_rq)(struct seq_file *, struct request *);
1: +};
1: +
1: +enum pr_type {
1: + PR_WRITE_EXCLUSIVE = 1,
1: + PR_EXCLUSIVE_ACCESS = 2,
1: + PR_WRITE_EXCLUSIVE_REG_ONLY = 3,
1: + PR_EXCLUSIVE_ACCESS_REG_ONLY = 4,
1: + PR_WRITE_EXCLUSIVE_ALL_REGS = 5,
1: + PR_EXCLUSIVE_ACCESS_ALL_REGS = 6,
1: +};
1: +
1: +struct pr_ops {
1: + int (*pr_register)(struct block_device *, u64, u64, u32);
1: + int (*pr_reserve)(struct block_device *, u64, enum pr_type, u32);
1: + int (*pr_release)(struct block_device *, u64, enum pr_type);
1: + int (*pr_preempt)(struct block_device *, u64, u64, enum pr_type, bool);
1: + int (*pr_clear)(struct block_device *, u64);
1: +};
1: +
1: +enum cpu_idle_type {
1: + CPU_IDLE = 0,
1: + CPU_NOT_IDLE = 1,
1: + CPU_NEWLY_IDLE = 2,
1: + CPU_MAX_IDLE_TYPES = 3,
1: +};
1: +
1: +typedef long unsigned int efi_status_t;
1: +
1: +typedef u8 efi_bool_t;
1: +
1: +typedef u16 efi_char16_t;
1: +
1: +typedef u64 efi_physical_addr_t;
1: +
1: +typedef void *efi_handle_t;
1: +
1: +typedef guid_t efi_guid_t;
1: +
1: +typedef struct {
1: + u64 signature;
1: + u32 revision;
1: + u32 headersize;
1: + u32 crc32;
1: + u32 reserved;
1: +} efi_table_hdr_t;
1: +
1: +typedef struct {
1: + u32 type;
1: + u32 pad;
1: + u64 phys_addr;
1: + u64 virt_addr;
1: + u64 num_pages;
1: + u64 attribute;
1: +} efi_memory_desc_t;
1: +
1: +typedef struct {
1: + efi_guid_t guid;
1: + u32 headersize;
1: + u32 flags;
1: + u32 imagesize;
1: +} efi_capsule_header_t;
1: +
1: +typedef struct {
1: + u16 year;
1: + u8 month;
1: + u8 day;
1: + u8 hour;
1: + u8 minute;
1: + u8 second;
1: + u8 pad1;
1: + u32 nanosecond;
1: + s16 timezone;
1: + u8 daylight;
1: + u8 pad2;
1: +} efi_time_t;
1: +
1: +typedef struct {
1: + u32 resolution;
1: + u32 accuracy;
1: + u8 sets_to_zero;
1: +} efi_time_cap_t;
1: +
1: +typedef struct {
1: + efi_table_hdr_t hdr;
1: + void *raise_tpl;
1: + void *restore_tpl;
1: + efi_status_t (*allocate_pages)(int, int, long unsigned int, efi_physical_addr_t *);
1: + efi_status_t (*free_pages)(efi_physical_addr_t, long unsigned int);
1: + efi_status_t (*get_memory_map)(long unsigned int *, void *, long unsigned int *, long unsigned int *, u32 *);
1: + efi_status_t (*allocate_pool)(int, long unsigned int, void **);
1: + efi_status_t (*free_pool)(void *);
1: + void *create_event;
1: + void *set_timer;
1: + void *wait_for_event;
1: + void *signal_event;
1: + void *close_event;
1: + void *check_event;
1: + void *install_protocol_interface;
1: + void *reinstall_protocol_interface;
1: + void *uninstall_protocol_interface;
1: + efi_status_t (*handle_protocol)(efi_handle_t, efi_guid_t *, void **);
1: + void *__reserved;
1: + void *register_protocol_notify;
1: + efi_status_t (*locate_handle)(int, efi_guid_t *, void *, long unsigned int *, efi_handle_t *);
1: + void *locate_device_path;
1: + efi_status_t (*install_configuration_table)(efi_guid_t *, void *);
1: + void *load_image;
1: + void *start_image;
1: + void *exit;
1: + void *unload_image;
1: + efi_status_t (*exit_boot_services)(efi_handle_t, long unsigned int);
1: + void *get_next_monotonic_count;
1: + void *stall;
1: + void *set_watchdog_timer;
1: + void *connect_controller;
1: + void *disconnect_controller;
1: + void *open_protocol;
1: + void *close_protocol;
1: + void *open_protocol_information;
1: + void *protocols_per_handle;
1: + void *locate_handle_buffer;
1: + efi_status_t (*locate_protocol)(efi_guid_t *, void *, void **);
1: + void *install_multiple_protocol_interfaces;
1: + void *uninstall_multiple_protocol_interfaces;
1: + void *calculate_crc32;
1: + void *copy_mem;
1: + void *set_mem;
1: + void *create_event_ex;
1: +} efi_boot_services_t;
1: +
1: +typedef efi_status_t efi_get_time_t(efi_time_t *, efi_time_cap_t *);
1: +
1: +typedef efi_status_t efi_set_time_t(efi_time_t *);
1: +
1: +typedef efi_status_t efi_get_wakeup_time_t(efi_bool_t *, efi_bool_t *, efi_time_t *);
1: +
1: +typedef efi_status_t efi_set_wakeup_time_t(efi_bool_t, efi_time_t *);
1: +
1: +typedef efi_status_t efi_get_variable_t(efi_char16_t *, efi_guid_t *, u32 *, long unsigned int *, void *);
1: +
1: +typedef efi_status_t efi_get_next_variable_t(long unsigned int *, efi_char16_t *, efi_guid_t *);
1: +
1: +typedef efi_status_t efi_set_variable_t(efi_char16_t *, efi_guid_t *, u32, long unsigned int, void *);
1: +
1: +typedef efi_status_t efi_get_next_high_mono_count_t(u32 *);
1: +
1: +typedef void efi_reset_system_t(int, efi_status_t, long unsigned int, efi_char16_t *);
1: +
1: +typedef efi_status_t efi_set_virtual_address_map_t(long unsigned int, long unsigned int, u32, efi_memory_desc_t *);
1: +
1: +typedef efi_status_t efi_query_variable_info_t(u32, u64 *, u64 *, u64 *);
1: +
1: +typedef efi_status_t efi_update_capsule_t(efi_capsule_header_t **, long unsigned int, long unsigned int);
1: +
1: +typedef efi_status_t efi_query_capsule_caps_t(efi_capsule_header_t **, long unsigned int, u64 *, int *);
1: +
1: +typedef struct {
1: + efi_table_hdr_t hdr;
1: + efi_get_time_t *get_time;
1: + efi_set_time_t *set_time;
1: + efi_get_wakeup_time_t *get_wakeup_time;
1: + efi_set_wakeup_time_t *set_wakeup_time;
1: + efi_set_virtual_address_map_t *set_virtual_address_map;
1: + void *convert_pointer;
1: + efi_get_variable_t *get_variable;
1: + efi_get_next_variable_t *get_next_variable;
1: + efi_set_variable_t *set_variable;
1: + efi_get_next_high_mono_count_t *get_next_high_mono_count;
1: + efi_reset_system_t *reset_system;
1: + efi_update_capsule_t *update_capsule;
1: + efi_query_capsule_caps_t *query_capsule_caps;
1: + efi_query_variable_info_t *query_variable_info;
1: +} efi_runtime_services_t;
1: +
1: +typedef struct {
1: + efi_table_hdr_t hdr;
1: + long unsigned int fw_vendor;
1: + u32 fw_revision;
1: + long unsigned int con_in_handle;
1: + long unsigned int con_in;
1: + long unsigned int con_out_handle;
1: + long unsigned int con_out;
1: + long unsigned int stderr_handle;
1: + long unsigned int stderr;
1: + efi_runtime_services_t *runtime;
1: + efi_boot_services_t *boottime;
1: + long unsigned int nr_tables;
1: + long unsigned int tables;
1: +} efi_system_table_t;
1: +
1: +struct efi_memory_map {
1: + phys_addr_t phys_map;
1: + void *map;
1: + void *map_end;
1: + int nr_map;
1: + long unsigned int desc_version;
1: + long unsigned int desc_size;
1: + bool late;
1: +};
1: +
1: +struct efi {
1: + efi_system_table_t *systab;
1: + unsigned int runtime_version;
1: + long unsigned int mps;
1: + long unsigned int acpi;
1: + long unsigned int acpi20;
1: + long unsigned int smbios;
1: + long unsigned int smbios3;
1: + long unsigned int boot_info;
1: + long unsigned int hcdp;
1: + long unsigned int uga;
1: + long unsigned int fw_vendor;
1: + long unsigned int runtime;
1: + long unsigned int config_table;
1: + long unsigned int esrt;
1: + long unsigned int properties_table;
1: + long unsigned int mem_attr_table;
1: + long unsigned int rng_seed;
1: + long unsigned int tpm_log;
1: + long unsigned int tpm_final_log;
1: + long unsigned int mem_reserve;
1: + efi_get_time_t *get_time;
1: + efi_set_time_t *set_time;
1: + efi_get_wakeup_time_t *get_wakeup_time;
1: + efi_set_wakeup_time_t *set_wakeup_time;
1: + efi_get_variable_t *get_variable;
1: + efi_get_next_variable_t *get_next_variable;
1: + efi_set_variable_t *set_variable;
1: + efi_set_variable_t *set_variable_nonblocking;
1: + efi_query_variable_info_t *query_variable_info;
1: + efi_query_variable_info_t *query_variable_info_nonblocking;
1: + efi_update_capsule_t *update_capsule;
1: + efi_query_capsule_caps_t *query_capsule_caps;
1: + efi_get_next_high_mono_count_t *get_next_high_mono_count;
1: + efi_reset_system_t *reset_system;
1: + efi_set_virtual_address_map_t *set_virtual_address_map;
1: + struct efi_memory_map memmap;
1: + long unsigned int flags;
1: +};
1: +
1: +struct percpu_cluster {
1: + struct swap_cluster_info index;
1: + unsigned int next;
1: +};
1: +
1: +struct trace_event_raw_initcall_level {
1: + struct trace_entry ent;
1: + u32 __data_loc_level;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_initcall_start {
1: + struct trace_entry ent;
1: + initcall_t func;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_initcall_finish {
1: + struct trace_entry ent;
1: + initcall_t func;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_initcall_level {
1: + u32 level;
1: +};
1: +
1: +struct trace_event_data_offsets_initcall_start {};
1: +
1: +struct trace_event_data_offsets_initcall_finish {};
1: +
1: +struct blacklist_entry {
1: + struct list_head next;
1: + char *buf;
1: +};
1: +
1: +enum page_cache_mode {
1: + _PAGE_CACHE_MODE_WB = 0,
1: + _PAGE_CACHE_MODE_WC = 1,
1: + _PAGE_CACHE_MODE_UC_MINUS = 2,
1: + _PAGE_CACHE_MODE_UC = 3,
1: + _PAGE_CACHE_MODE_WT = 4,
1: + _PAGE_CACHE_MODE_WP = 5,
1: + _PAGE_CACHE_MODE_NUM = 8,
1: +};
1: +
1: +enum {
1: + UNAME26 = 131072,
1: + ADDR_NO_RANDOMIZE = 262144,
1: + FDPIC_FUNCPTRS = 524288,
1: + MMAP_PAGE_ZERO = 1048576,
1: + ADDR_COMPAT_LAYOUT = 2097152,
1: + READ_IMPLIES_EXEC = 4194304,
1: + ADDR_LIMIT_32BIT = 8388608,
1: + SHORT_INODE = 16777216,
1: + WHOLE_SECONDS = 33554432,
1: + STICKY_TIMEOUTS = 67108864,
1: + ADDR_LIMIT_3GB = 134217728,
1: +};
1: +
1: +enum tlb_infos {
1: + ENTRIES = 0,
1: + NR_INFO = 1,
1: +};
1: +
1: +enum {
1: + MM_FILEPAGES = 0,
1: + MM_ANONPAGES = 1,
1: + MM_SWAPENTS = 2,
1: + MM_SHMEMPAGES = 3,
1: + NR_MM_COUNTERS = 4,
1: +};
1: +
1: +typedef __u32 Elf32_Word;
1: +
1: +struct elf32_note {
1: + Elf32_Word n_namesz;
1: + Elf32_Word n_descsz;
1: + Elf32_Word n_type;
1: +};
1: +
1: +enum pcpu_fc {
1: + PCPU_FC_AUTO = 0,
1: + PCPU_FC_EMBED = 1,
1: + PCPU_FC_PAGE = 2,
1: + PCPU_FC_NR = 3,
1: +};
1: +
1: +enum hrtimer_base_type {
1: + HRTIMER_BASE_MONOTONIC = 0,
1: + HRTIMER_BASE_REALTIME = 1,
1: + HRTIMER_BASE_BOOTTIME = 2,
1: + HRTIMER_BASE_TAI = 3,
1: + HRTIMER_BASE_MONOTONIC_SOFT = 4,
1: + HRTIMER_BASE_REALTIME_SOFT = 5,
1: + HRTIMER_BASE_BOOTTIME_SOFT = 6,
1: + HRTIMER_BASE_TAI_SOFT = 7,
1: + HRTIMER_MAX_CLOCK_BASES = 8,
1: +};
1: +
1: +enum rseq_cs_flags_bit {
1: + RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2,
1: +};
1: +
1: +enum perf_event_task_context {
1: + perf_invalid_context = -1,
1: + perf_hw_context = 0,
1: + perf_sw_context = 1,
1: + perf_nr_task_contexts = 2,
1: +};
1: +
1: +enum rseq_event_mask_bits {
1: + RSEQ_EVENT_PREEMPT_BIT = 0,
1: + RSEQ_EVENT_SIGNAL_BIT = 1,
1: + RSEQ_EVENT_MIGRATE_BIT = 2,
1: +};
1: +
1: +enum {
1: + PROC_ROOT_INO = 1,
1: + PROC_IPC_INIT_INO = -268435457,
1: + PROC_UTS_INIT_INO = -268435458,
1: + PROC_USER_INIT_INO = -268435459,
1: + PROC_PID_INIT_INO = -268435460,
1: + PROC_CGROUP_INIT_INO = -268435461,
1: +};
1: +
1: +typedef __u16 __le16;
1: +
1: +typedef __u16 __be16;
1: +
1: +typedef __u32 __be32;
1: +
1: +typedef __u64 __be64;
1: +
1: +typedef __u32 __wsum;
1: +
1: +typedef unsigned int slab_flags_t;
1: +
1: +struct notifier_block;
1: +
1: +typedef int (*notifier_fn_t)(struct notifier_block *, long unsigned int, void *);
1: +
1: +struct notifier_block {
1: + notifier_fn_t notifier_call;
1: + struct notifier_block *next;
1: + int priority;
1: +};
1: +
1: +struct raw_notifier_head {
1: + struct notifier_block *head;
1: +};
1: +
1: +struct llist_head {
1: + struct llist_node *first;
1: +};
1: +
1: +typedef struct __call_single_data call_single_data_t;
1: +
1: +typedef __u64 __addrpair;
1: +
1: +typedef __u32 __portpair;
1: +
1: +typedef struct {
1: + struct net *net;
1: +} possible_net_t;
1: +
1: +struct in6_addr {
1: + union {
1: + __u8 u6_addr8[16];
1: + __be16 u6_addr16[8];
1: + __be32 u6_addr32[4];
1: + } in6_u;
1: +};
1: +
1: +struct hlist_nulls_node {
1: + struct hlist_nulls_node *next;
1: + struct hlist_nulls_node **pprev;
1: +};
1: +
1: +struct proto;
1: +
1: +struct inet_timewait_death_row;
1: +
1: +struct sock_common {
1: + union {
1: + __addrpair skc_addrpair;
1: + struct {
1: + __be32 skc_daddr;
1: + __be32 skc_rcv_saddr;
1: + };
1: + };
1: + union {
1: + unsigned int skc_hash;
1: + __u16 skc_u16hashes[2];
1: + };
1: + union {
1: + __portpair skc_portpair;
1: + struct {
1: + __be16 skc_dport;
1: + __u16 skc_num;
1: + };
1: + };
1: + short unsigned int skc_family;
1: + volatile unsigned char skc_state;
1: + unsigned char skc_reuse: 4;
1: + unsigned char skc_reuseport: 1;
1: + unsigned char skc_ipv6only: 1;
1: + unsigned char skc_net_refcnt: 1;
1: + int skc_bound_dev_if;
1: + union {
1: + struct hlist_node skc_bind_node;
1: + struct hlist_node skc_portaddr_node;
1: + };
1: + struct proto *skc_prot;
1: + possible_net_t skc_net;
1: + struct in6_addr skc_v6_daddr;
1: + struct in6_addr skc_v6_rcv_saddr;
1: + atomic64_t skc_cookie;
1: + union {
1: + long unsigned int skc_flags;
1: + struct sock *skc_listener;
1: + struct inet_timewait_death_row *skc_tw_dr;
1: + };
1: + int skc_dontcopy_begin[0];
1: + union {
1: + struct hlist_node skc_node;
1: + struct hlist_nulls_node skc_nulls_node;
1: + };
1: + short unsigned int skc_tx_queue_mapping;
1: + short unsigned int skc_rx_queue_mapping;
1: + union {
1: + int skc_incoming_cpu;
1: + u32 skc_rcv_wnd;
1: + u32 skc_tw_rcv_nxt;
1: + };
1: + refcount_t skc_refcnt;
1: + int skc_dontcopy_end[0];
1: + union {
1: + u32 skc_rxhash;
1: + u32 skc_window_clamp;
1: + u32 skc_tw_snd_nxt;
1: + };
1: +};
1: +
1: +typedef struct {
1: + spinlock_t slock;
1: + int owned;
1: + wait_queue_head_t wq;
1: +} socket_lock_t;
1: +
1: +struct sk_buff;
1: +
1: +struct sk_buff_head {
1: + struct sk_buff *next;
1: + struct sk_buff *prev;
1: + __u32 qlen;
1: + spinlock_t lock;
1: +};
1: +
1: +typedef u64 netdev_features_t;
1: +
1: +struct sock_cgroup_data {};
1: +
1: +struct sk_filter;
1: +
1: +struct socket_wq;
1: +
1: +struct xfrm_policy;
1: +
1: +struct dst_entry;
1: +
1: +struct socket;
1: +
1: +struct sock_reuseport;
1: +
1: +struct sock {
1: + struct sock_common __sk_common;
1: + socket_lock_t sk_lock;
1: + atomic_t sk_drops;
1: + int sk_rcvlowat;
1: + struct sk_buff_head sk_error_queue;
1: + struct sk_buff *sk_rx_skb_cache;
1: + struct sk_buff_head sk_receive_queue;
1: + struct {
1: + atomic_t rmem_alloc;
1: + int len;
1: + struct sk_buff *head;
1: + struct sk_buff *tail;
1: + } sk_backlog;
1: + int sk_forward_alloc;
1: + unsigned int sk_ll_usec;
1: + unsigned int sk_napi_id;
1: + int sk_rcvbuf;
1: + struct sk_filter *sk_filter;
1: + union {
1: + struct socket_wq *sk_wq;
1: + struct socket_wq *sk_wq_raw;
1: + };
1: + struct xfrm_policy *sk_policy[2];
1: + struct dst_entry *sk_rx_dst;
1: + struct dst_entry *sk_dst_cache;
1: + atomic_t sk_omem_alloc;
1: + int sk_sndbuf;
1: + int sk_wmem_queued;
1: + refcount_t sk_wmem_alloc;
1: + long unsigned int sk_tsq_flags;
1: + union {
1: + struct sk_buff *sk_send_head;
1: + struct rb_root tcp_rtx_queue;
1: + };
1: + struct sk_buff *sk_tx_skb_cache;
1: + struct sk_buff_head sk_write_queue;
1: + __s32 sk_peek_off;
1: + int sk_write_pending;
1: + __u32 sk_dst_pending_confirm;
1: + u32 sk_pacing_status;
1: + long int sk_sndtimeo;
1: + struct timer_list sk_timer;
1: + __u32 sk_priority;
1: + __u32 sk_mark;
1: + long unsigned int sk_pacing_rate;
1: + long unsigned int sk_max_pacing_rate;
1: + struct page_frag sk_frag;
1: + netdev_features_t sk_route_caps;
1: + netdev_features_t sk_route_nocaps;
1: + netdev_features_t sk_route_forced_caps;
1: + int sk_gso_type;
1: + unsigned int sk_gso_max_size;
1: + gfp_t sk_allocation;
1: + __u32 sk_txhash;
1: + unsigned int __sk_flags_offset[0];
1: + unsigned int sk_padding: 1;
1: + unsigned int sk_kern_sock: 1;
1: + unsigned int sk_no_check_tx: 1;
1: + unsigned int sk_no_check_rx: 1;
1: + unsigned int sk_userlocks: 4;
1: + unsigned int sk_protocol: 8;
1: + unsigned int sk_type: 16;
1: + u16 sk_gso_max_segs;
1: + u8 sk_pacing_shift;
1: + long unsigned int sk_lingertime;
1: + struct proto *sk_prot_creator;
1: + rwlock_t sk_callback_lock;
1: + int sk_err;
1: + int sk_err_soft;
1: + u32 sk_ack_backlog;
1: + u32 sk_max_ack_backlog;
1: + kuid_t sk_uid;
1: + struct pid *sk_peer_pid;
1: + const struct cred *sk_peer_cred;
1: + long int sk_rcvtimeo;
1: + ktime_t sk_stamp;
1: + u16 sk_tsflags;
1: + u8 sk_shutdown;
1: + u32 sk_tskey;
1: + atomic_t sk_zckey;
1: + u8 sk_clockid;
1: + u8 sk_txtime_deadline_mode: 1;
1: + u8 sk_txtime_report_errors: 1;
1: + u8 sk_txtime_unused: 6;
1: + struct socket *sk_socket;
1: + void *sk_user_data;
1: + void *sk_security;
1: + struct sock_cgroup_data sk_cgrp_data;
1: + struct mem_cgroup *sk_memcg;
1: + void (*sk_state_change)(struct sock *);
1: + void (*sk_data_ready)(struct sock *);
1: + void (*sk_write_space)(struct sock *);
1: + void (*sk_error_report)(struct sock *);
1: + int (*sk_backlog_rcv)(struct sock *, struct sk_buff *);
1: + void (*sk_destruct)(struct sock *);
1: + struct sock_reuseport *sk_reuseport_cb;
1: + struct callback_head sk_rcu;
1: +};
1: +
1: +struct rhash_head {
1: + struct rhash_head *next;
1: +};
1: +
1: +struct rhashtable;
1: +
1: +struct rhashtable_compare_arg {
1: + struct rhashtable *ht;
1: + const void *key;
1: +};
1: +
1: +typedef u32 (*rht_hashfn_t)(const void *, u32, u32);
1: +
1: +typedef u32 (*rht_obj_hashfn_t)(const void *, u32, u32);
1: +
1: +typedef int (*rht_obj_cmpfn_t)(struct rhashtable_compare_arg *, const void *);
1: +
1: +struct rhashtable_params {
1: + u16 nelem_hint;
1: + u16 key_len;
1: + u16 key_offset;
1: + u16 head_offset;
1: + unsigned int max_size;
1: + u16 min_size;
1: + bool automatic_shrinking;
1: + rht_hashfn_t hashfn;
1: + rht_obj_hashfn_t obj_hashfn;
1: + rht_obj_cmpfn_t obj_cmpfn;
1: +};
1: +
1: +struct bucket_table;
1: +
1: +struct rhashtable {
1: + struct bucket_table *tbl;
1: + unsigned int key_len;
1: + unsigned int max_elems;
1: + struct rhashtable_params p;
1: + bool rhlist;
1: + struct work_struct run_work;
1: + struct mutex mutex;
1: + spinlock_t lock;
1: + atomic_t nelems;
1: +};
1: +
1: +struct rhash_lock_head;
1: +
1: +struct bucket_table {
1: + unsigned int size;
1: + unsigned int nest;
1: + u32 hash_rnd;
1: + struct list_head walkers;
1: + struct callback_head rcu;
1: + struct bucket_table *future_tbl;
1: + struct lockdep_map dep_map;
1: + long: 64;
1: + struct rhash_lock_head *buckets[0];
1: +};
1: +
1: +struct fs_struct {
1: + int users;
1: + spinlock_t lock;
1: + seqcount_t seq;
1: + int umask;
1: + int in_exec;
1: + struct path root;
1: + struct path pwd;
1: +};
1: +
1: +typedef u32 compat_uptr_t;
1: +
1: +struct compat_robust_list {
1: + compat_uptr_t next;
1: +};
1: +
1: +typedef s32 compat_long_t;
1: +
1: +struct compat_robust_list_head {
1: + struct compat_robust_list list;
1: + compat_long_t futex_offset;
1: + compat_uptr_t list_op_pending;
1: +};
1: +
1: +struct pipe_buffer;
1: +
1: +struct pipe_inode_info {
1: + struct mutex mutex;
1: + wait_queue_head_t wait;
1: + unsigned int head;
1: + unsigned int tail;
1: + unsigned int max_usage;
1: + unsigned int ring_size;
1: + unsigned int readers;
1: + unsigned int writers;
1: + unsigned int files;
1: + unsigned int r_counter;
1: + unsigned int w_counter;
1: + struct page *tmp_page;
1: + struct fasync_struct *fasync_readers;
1: + struct fasync_struct *fasync_writers;
1: + struct pipe_buffer *bufs;
1: + struct user_struct *user;
1: +};
1: +
1: +struct scatterlist {
1: + long unsigned int page_link;
1: + unsigned int offset;
1: + unsigned int length;
1: + dma_addr_t dma_address;
1: + unsigned int dma_length;
1: +};
1: +
1: +struct iovec {
1: + void *iov_base;
1: + __kernel_size_t iov_len;
1: +};
1: +
1: +struct kvec {
1: + void *iov_base;
1: + size_t iov_len;
1: +};
1: +
1: +struct iov_iter {
1: + unsigned int type;
1: + size_t iov_offset;
1: + size_t count;
1: + union {
1: + const struct iovec *iov;
1: + const struct kvec *kvec;
1: + const struct bio_vec *bvec;
1: + struct pipe_inode_info *pipe;
1: + };
1: + union {
1: + long unsigned int nr_segs;
1: + struct {
1: + unsigned int head;
1: + unsigned int start_head;
1: + };
1: + };
1: +};
1: +
1: +typedef short unsigned int __kernel_sa_family_t;
1: +
1: +typedef __kernel_sa_family_t sa_family_t;
1: +
1: +struct sockaddr {
1: + sa_family_t sa_family;
1: + char sa_data[14];
1: +};
1: +
1: +struct msghdr {
1: + void *msg_name;
1: + int msg_namelen;
1: + struct iov_iter msg_iter;
1: + void *msg_control;
1: + __kernel_size_t msg_controllen;
1: + unsigned int msg_flags;
1: + struct kiocb *msg_iocb;
1: +};
1: +
1: +typedef struct {
1: + unsigned int clock_rate;
1: + unsigned int clock_type;
1: + short unsigned int loopback;
1: +} sync_serial_settings;
1: +
1: +typedef struct {
1: + unsigned int clock_rate;
1: + unsigned int clock_type;
1: + short unsigned int loopback;
1: + unsigned int slot_map;
1: +} te1_settings;
1: +
1: +typedef struct {
1: + short unsigned int encoding;
1: + short unsigned int parity;
1: +} raw_hdlc_proto;
1: +
1: +typedef struct {
1: + unsigned int t391;
1: + unsigned int t392;
1: + unsigned int n391;
1: + unsigned int n392;
1: + unsigned int n393;
1: + short unsigned int lmi;
1: + short unsigned int dce;
1: +} fr_proto;
1: +
1: +typedef struct {
1: + unsigned int dlci;
1: +} fr_proto_pvc;
1: +
1: +typedef struct {
1: + unsigned int dlci;
1: + char master[16];
1: +} fr_proto_pvc_info;
1: +
1: +typedef struct {
1: + unsigned int interval;
1: + unsigned int timeout;
1: +} cisco_proto;
1: +
1: +struct ifmap {
1: + long unsigned int mem_start;
1: + long unsigned int mem_end;
1: + short unsigned int base_addr;
1: + unsigned char irq;
1: + unsigned char dma;
1: + unsigned char port;
1: +};
1: +
1: +struct if_settings {
1: + unsigned int type;
1: + unsigned int size;
1: + union {
1: + raw_hdlc_proto *raw_hdlc;
1: + cisco_proto *cisco;
1: + fr_proto *fr;
1: + fr_proto_pvc *fr_pvc;
1: + fr_proto_pvc_info *fr_pvc_info;
1: + sync_serial_settings *sync;
1: + te1_settings *te1;
1: + } ifs_ifsu;
1: +};
1: +
1: +struct ifreq {
1: + union {
1: + char ifrn_name[16];
1: + } ifr_ifrn;
1: + union {
1: + struct sockaddr ifru_addr;
1: + struct sockaddr ifru_dstaddr;
1: + struct sockaddr ifru_broadaddr;
1: + struct sockaddr ifru_netmask;
1: + struct sockaddr ifru_hwaddr;
1: + short int ifru_flags;
1: + int ifru_ivalue;
1: + int ifru_mtu;
1: + struct ifmap ifru_map;
1: + char ifru_slave[16];
1: + char ifru_newname[16];
1: + void *ifru_data;
1: + struct if_settings ifru_settings;
1: + } ifr_ifru;
1: +};
1: +
1: +struct vfsmount {
1: + struct dentry *mnt_root;
1: + struct super_block *mnt_sb;
1: + int mnt_flags;
1: +};
1: +
1: +typedef struct {
1: + size_t written;
1: + size_t count;
1: + union {
1: + char *buf;
1: + void *data;
1: + } arg;
1: + int error;
1: +} read_descriptor_t;
1: +
1: +struct posix_acl_entry {
1: + short int e_tag;
1: + short unsigned int e_perm;
1: + union {
1: + kuid_t e_uid;
1: + kgid_t e_gid;
1: + };
1: +};
1: +
1: +struct posix_acl {
1: + refcount_t a_refcount;
1: + struct callback_head a_rcu;
1: + unsigned int a_count;
1: + struct posix_acl_entry a_entries[0];
1: +};
1: +
1: +typedef unsigned char cc_t;
1: +
1: +typedef unsigned int speed_t;
1: +
1: +typedef unsigned int tcflag_t;
1: +
1: +struct ktermios {
1: + tcflag_t c_iflag;
1: + tcflag_t c_oflag;
1: + tcflag_t c_cflag;
1: + tcflag_t c_lflag;
1: + cc_t c_line;
1: + cc_t c_cc[19];
1: + speed_t c_ispeed;
1: + speed_t c_ospeed;
1: +};
1: +
1: +struct winsize {
1: + short unsigned int ws_row;
1: + short unsigned int ws_col;
1: + short unsigned int ws_xpixel;
1: + short unsigned int ws_ypixel;
1: +};
1: +
1: +struct termiox {
1: + __u16 x_hflag;
1: + __u16 x_cflag;
1: + __u16 x_rflag[5];
1: + __u16 x_sflag;
1: +};
1: +
1: +struct tty_driver;
1: +
1: +struct serial_icounter_struct;
1: +
1: +struct serial_struct;
1: +
1: +struct tty_operations {
1: + struct tty_struct * (*lookup)(struct tty_driver *, struct file *, int);
1: + int (*install)(struct tty_driver *, struct tty_struct *);
1: + void (*remove)(struct tty_driver *, struct tty_struct *);
1: + int (*open)(struct tty_struct *, struct file *);
1: + void (*close)(struct tty_struct *, struct file *);
1: + void (*shutdown)(struct tty_struct *);
1: + void (*cleanup)(struct tty_struct *);
1: + int (*write)(struct tty_struct *, const unsigned char *, int);
1: + int (*put_char)(struct tty_struct *, unsigned char);
1: + void (*flush_chars)(struct tty_struct *);
1: + int (*write_room)(struct tty_struct *);
1: + int (*chars_in_buffer)(struct tty_struct *);
1: + int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int);
1: + long int (*compat_ioctl)(struct tty_struct *, unsigned int, long unsigned int);
1: + void (*set_termios)(struct tty_struct *, struct ktermios *);
1: + void (*throttle)(struct tty_struct *);
1: + void (*unthrottle)(struct tty_struct *);
1: + void (*stop)(struct tty_struct *);
1: + void (*start)(struct tty_struct *);
1: + void (*hangup)(struct tty_struct *);
1: + int (*break_ctl)(struct tty_struct *, int);
1: + void (*flush_buffer)(struct tty_struct *);
1: + void (*set_ldisc)(struct tty_struct *);
1: + void (*wait_until_sent)(struct tty_struct *, int);
1: + void (*send_xchar)(struct tty_struct *, char);
1: + int (*tiocmget)(struct tty_struct *);
1: + int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int);
1: + int (*resize)(struct tty_struct *, struct winsize *);
1: + int (*set_termiox)(struct tty_struct *, struct termiox *);
1: + int (*get_icount)(struct tty_struct *, struct serial_icounter_struct *);
1: + int (*get_serial)(struct tty_struct *, struct serial_struct *);
1: + int (*set_serial)(struct tty_struct *, struct serial_struct *);
1: + void (*show_fdinfo)(struct tty_struct *, struct seq_file *);
1: + int (*proc_show)(struct seq_file *, void *);
1: +};
1: +
1: +struct ld_semaphore {
1: + atomic_long_t count;
1: + raw_spinlock_t wait_lock;
1: + unsigned int wait_readers;
1: + struct list_head read_wait;
1: + struct list_head write_wait;
1: +};
1: +
1: +struct tty_ldisc;
1: +
1: +struct tty_port;
1: +
1: +struct tty_struct {
1: + int magic;
1: + struct kref kref;
1: + struct device *dev;
1: + struct tty_driver *driver;
1: + const struct tty_operations *ops;
1: + int index;
1: + struct ld_semaphore ldisc_sem;
1: + struct tty_ldisc *ldisc;
1: + struct mutex atomic_write_lock;
1: + struct mutex legacy_mutex;
1: + struct mutex throttle_mutex;
1: + struct rw_semaphore termios_rwsem;
1: + struct mutex winsize_mutex;
1: + spinlock_t ctrl_lock;
1: + spinlock_t flow_lock;
1: + struct ktermios termios;
1: + struct ktermios termios_locked;
1: + struct termiox *termiox;
1: + char name[64];
1: + struct pid *pgrp;
1: + struct pid *session;
1: + long unsigned int flags;
1: + int count;
1: + struct winsize winsize;
1: + long unsigned int stopped: 1;
1: + long unsigned int flow_stopped: 1;
1: + int: 30;
1: + long unsigned int unused: 62;
1: + int hw_stopped;
1: + long unsigned int ctrl_status: 8;
1: + long unsigned int packet: 1;
1: + int: 23;
1: + long unsigned int unused_ctrl: 55;
1: + unsigned int receive_room;
1: + int flow_change;
1: + struct tty_struct *link;
1: + struct fasync_struct *fasync;
1: + wait_queue_head_t write_wait;
1: + wait_queue_head_t read_wait;
1: + struct work_struct hangup_work;
1: + void *disc_data;
1: + void *driver_data;
1: + spinlock_t files_lock;
1: + struct list_head tty_files;
1: + int closing;
1: + unsigned char *write_buf;
1: + int write_cnt;
1: + struct work_struct SAK_work;
1: + struct tty_port *port;
1: +};
1: +
1: +struct proc_dir_entry;
1: +
1: +struct tty_driver {
1: + int magic;
1: + struct kref kref;
1: + struct cdev **cdevs;
1: + struct module *owner;
1: + const char *driver_name;
1: + const char *name;
1: + int name_base;
1: + int major;
1: + int minor_start;
1: + unsigned int num;
1: + short int type;
1: + short int subtype;
1: + struct ktermios init_termios;
1: + long unsigned int flags;
1: + struct proc_dir_entry *proc_entry;
1: + struct tty_driver *other;
1: + struct tty_struct **ttys;
1: + struct tty_port **ports;
1: + struct ktermios **termios;
1: + void *driver_state;
1: + const struct tty_operations *ops;
1: + struct list_head tty_drivers;
1: +};
1: +
1: +struct tty_buffer {
1: + union {
1: + struct tty_buffer *next;
1: + struct llist_node free;
1: + };
1: + int used;
1: + int size;
1: + int commit;
1: + int read;
1: + int flags;
1: + long unsigned int data[0];
1: +};
1: +
1: +struct tty_bufhead {
1: + struct tty_buffer *head;
1: + struct work_struct work;
1: + struct mutex lock;
1: + atomic_t priority;
1: + struct tty_buffer sentinel;
1: + struct llist_head free;
1: + atomic_t mem_used;
1: + int mem_limit;
1: + struct tty_buffer *tail;
1: +};
1: +
1: +struct tty_port_operations;
1: +
1: +struct tty_port_client_operations;
1: +
1: +struct tty_port {
1: + struct tty_bufhead buf;
1: + struct tty_struct *tty;
1: + struct tty_struct *itty;
1: + const struct tty_port_operations *ops;
1: + const struct tty_port_client_operations *client_ops;
1: + spinlock_t lock;
1: + int blocked_open;
1: + int count;
1: + wait_queue_head_t open_wait;
1: + wait_queue_head_t delta_msr_wait;
1: + long unsigned int flags;
1: + long unsigned int iflags;
1: + unsigned char console: 1;
1: + unsigned char low_latency: 1;
1: + struct mutex mutex;
1: + struct mutex buf_mutex;
1: + unsigned char *xmit_buf;
1: + unsigned int close_delay;
1: + unsigned int closing_wait;
1: + int drain_delay;
1: + struct kref kref;
1: + void *client_data;
1: +};
1: +
1: +struct tty_ldisc_ops {
1: + int magic;
1: + char *name;
1: + int num;
1: + int flags;
1: + int (*open)(struct tty_struct *);
1: + void (*close)(struct tty_struct *);
1: + void (*flush_buffer)(struct tty_struct *);
1: + ssize_t (*read)(struct tty_struct *, struct file *, unsigned char *, size_t);
1: + ssize_t (*write)(struct tty_struct *, struct file *, const unsigned char *, size_t);
1: + int (*ioctl)(struct tty_struct *, struct file *, unsigned int, long unsigned int);
1: + int (*compat_ioctl)(struct tty_struct *, struct file *, unsigned int, long unsigned int);
1: + void (*set_termios)(struct tty_struct *, struct ktermios *);
1: + __poll_t (*poll)(struct tty_struct *, struct file *, struct poll_table_struct *);
1: + int (*hangup)(struct tty_struct *);
1: + void (*receive_buf)(struct tty_struct *, const unsigned char *, char *, int);
1: + void (*write_wakeup)(struct tty_struct *);
1: + void (*dcd_change)(struct tty_struct *, unsigned int);
1: + int (*receive_buf2)(struct tty_struct *, const unsigned char *, char *, int);
1: + struct module *owner;
1: + int refcount;
1: +};
1: +
1: +struct tty_ldisc {
1: + struct tty_ldisc_ops *ops;
1: + struct tty_struct *tty;
1: +};
1: +
1: +struct tty_port_operations {
1: + int (*carrier_raised)(struct tty_port *);
1: + void (*dtr_rts)(struct tty_port *, int);
1: + void (*shutdown)(struct tty_port *);
1: + int (*activate)(struct tty_port *, struct tty_struct *);
1: + void (*destruct)(struct tty_port *);
1: +};
1: +
1: +struct tty_port_client_operations {
1: + int (*receive_buf)(struct tty_port *, const unsigned char *, const unsigned char *, size_t);
1: + void (*write_wakeup)(struct tty_port *);
1: +};
1: +
1: +struct prot_inuse;
1: +
1: +struct netns_core {
1: + struct ctl_table_header *sysctl_hdr;
1: + int sysctl_somaxconn;
1: + int *sock_inuse;
1: + struct prot_inuse *prot_inuse;
1: +};
1: +
1: +struct tcp_mib;
1: +
1: +struct ipstats_mib;
1: +
1: +struct linux_mib;
1: +
1: +struct udp_mib;
1: +
1: +struct icmp_mib;
1: +
1: +struct icmpmsg_mib;
1: +
1: +struct icmpv6_mib;
1: +
1: +struct icmpv6msg_mib;
1: +
1: +struct netns_mib {
1: + struct tcp_mib *tcp_statistics;
1: + struct ipstats_mib *ip_statistics;
1: + struct linux_mib *net_statistics;
1: + struct udp_mib *udp_statistics;
1: + struct udp_mib *udplite_statistics;
1: + struct icmp_mib *icmp_statistics;
1: + struct icmpmsg_mib *icmpmsg_statistics;
1: + struct proc_dir_entry *proc_net_devsnmp6;
1: + struct udp_mib *udp_stats_in6;
1: + struct udp_mib *udplite_stats_in6;
1: + struct ipstats_mib *ipv6_statistics;
1: + struct icmpv6_mib *icmpv6_statistics;
1: + struct icmpv6msg_mib *icmpv6msg_statistics;
1: +};
1: +
1: +struct netns_packet {
1: + struct mutex sklist_lock;
1: + struct hlist_head sklist;
1: +};
1: +
1: +struct netns_unix {
1: + int sysctl_max_dgram_qlen;
1: + struct ctl_table_header *ctl;
1: +};
1: +
1: +struct netns_nexthop {
1: + struct rb_root rb_root;
1: + struct hlist_head *devhash;
1: + unsigned int seq;
1: + u32 last_id_allocated;
1: +};
1: +
1: +struct local_ports {
1: + seqlock_t lock;
1: + int range[2];
1: + bool warned;
1: +};
1: +
1: +struct inet_hashinfo;
1: +
1: +struct inet_timewait_death_row {
1: + atomic_t tw_count;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct inet_hashinfo *hashinfo;
1: + int sysctl_max_tw_buckets;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct ping_group_range {
1: + seqlock_t lock;
1: + kgid_t range[2];
1: +};
1: +
1: +typedef struct {
1: + u64 key[2];
1: +} siphash_key_t;
1: +
1: +struct ipv4_devconf;
1: +
1: +struct ip_ra_chain;
1: +
1: +struct fib_rules_ops;
1: +
1: +struct fib_table;
1: +
1: +struct inet_peer_base;
1: +
1: +struct fqdir;
1: +
1: +struct xt_table;
1: +
1: +struct tcp_congestion_ops;
1: +
1: +struct tcp_fastopen_context;
1: +
1: +struct mr_table;
1: +
1: +struct fib_notifier_ops;
1: +
1: +struct netns_ipv4 {
1: + struct ctl_table_header *forw_hdr;
1: + struct ctl_table_header *frags_hdr;
1: + struct ctl_table_header *ipv4_hdr;
1: + struct ctl_table_header *route_hdr;
1: + struct ctl_table_header *xfrm4_hdr;
1: + struct ipv4_devconf *devconf_all;
1: + struct ipv4_devconf *devconf_dflt;
1: + struct ip_ra_chain *ra_chain;
1: + struct mutex ra_mutex;
1: + struct fib_rules_ops *rules_ops;
1: + bool fib_has_custom_rules;
1: + unsigned int fib_rules_require_fldissect;
1: + struct fib_table *fib_main;
1: + struct fib_table *fib_default;
1: + bool fib_has_custom_local_routes;
1: + struct hlist_head *fib_table_hash;
1: + bool fib_offload_disabled;
1: + struct sock *fibnl;
1: + struct sock **icmp_sk;
1: + struct sock *mc_autojoin_sk;
1: + struct inet_peer_base *peers;
1: + struct sock **tcp_sk;
1: + struct fqdir *fqdir;
1: + struct xt_table *iptable_filter;
1: + struct xt_table *iptable_mangle;
1: + struct xt_table *iptable_raw;
1: + struct xt_table *arptable_filter;
1: + struct xt_table *iptable_security;
1: + struct xt_table *nat_table;
1: + int sysctl_icmp_echo_ignore_all;
1: + int sysctl_icmp_echo_ignore_broadcasts;
1: + int sysctl_icmp_ignore_bogus_error_responses;
1: + int sysctl_icmp_ratelimit;
1: + int sysctl_icmp_ratemask;
1: + int sysctl_icmp_errors_use_inbound_ifaddr;
1: + struct local_ports ip_local_ports;
1: + int sysctl_tcp_ecn;
1: + int sysctl_tcp_ecn_fallback;
1: + int sysctl_ip_default_ttl;
1: + int sysctl_ip_no_pmtu_disc;
1: + int sysctl_ip_fwd_use_pmtu;
1: + int sysctl_ip_fwd_update_priority;
1: + int sysctl_ip_nonlocal_bind;
1: + int sysctl_ip_dynaddr;
1: + int sysctl_ip_early_demux;
1: + int sysctl_tcp_early_demux;
1: + int sysctl_udp_early_demux;
1: + int sysctl_fwmark_reflect;
1: + int sysctl_tcp_fwmark_accept;
1: + int sysctl_tcp_mtu_probing;
1: + int sysctl_tcp_mtu_probe_floor;
1: + int sysctl_tcp_base_mss;
1: + int sysctl_tcp_min_snd_mss;
1: + int sysctl_tcp_probe_threshold;
1: + u32 sysctl_tcp_probe_interval;
1: + int sysctl_tcp_keepalive_time;
1: + int sysctl_tcp_keepalive_probes;
1: + int sysctl_tcp_keepalive_intvl;
1: + int sysctl_tcp_syn_retries;
1: + int sysctl_tcp_synack_retries;
1: + int sysctl_tcp_syncookies;
1: + int sysctl_tcp_reordering;
1: + int sysctl_tcp_retries1;
1: + int sysctl_tcp_retries2;
1: + int sysctl_tcp_orphan_retries;
1: + int sysctl_tcp_fin_timeout;
1: + unsigned int sysctl_tcp_notsent_lowat;
1: + int sysctl_tcp_tw_reuse;
1: + int sysctl_tcp_sack;
1: + int sysctl_tcp_window_scaling;
1: + int sysctl_tcp_timestamps;
1: + int sysctl_tcp_early_retrans;
1: + int sysctl_tcp_recovery;
1: + int sysctl_tcp_thin_linear_timeouts;
1: + int sysctl_tcp_slow_start_after_idle;
1: + int sysctl_tcp_retrans_collapse;
1: + int sysctl_tcp_stdurg;
1: + int sysctl_tcp_rfc1337;
1: + int sysctl_tcp_abort_on_overflow;
1: + int sysctl_tcp_fack;
1: + int sysctl_tcp_max_reordering;
1: + int sysctl_tcp_dsack;
1: + int sysctl_tcp_app_win;
1: + int sysctl_tcp_adv_win_scale;
1: + int sysctl_tcp_frto;
1: + int sysctl_tcp_nometrics_save;
1: + int sysctl_tcp_moderate_rcvbuf;
1: + int sysctl_tcp_tso_win_divisor;
1: + int sysctl_tcp_workaround_signed_windows;
1: + int sysctl_tcp_limit_output_bytes;
1: + int sysctl_tcp_challenge_ack_limit;
1: + int sysctl_tcp_min_tso_segs;
1: + int sysctl_tcp_min_rtt_wlen;
1: + int sysctl_tcp_autocorking;
1: + int sysctl_tcp_invalid_ratelimit;
1: + int sysctl_tcp_pacing_ss_ratio;
1: + int sysctl_tcp_pacing_ca_ratio;
1: + int sysctl_tcp_wmem[3];
1: + int sysctl_tcp_rmem[3];
1: + int sysctl_tcp_comp_sack_nr;
1: + long unsigned int sysctl_tcp_comp_sack_delay_ns;
1: + struct inet_timewait_death_row tcp_death_row;
1: + int sysctl_max_syn_backlog;
1: + int sysctl_tcp_fastopen;
1: + const struct tcp_congestion_ops *tcp_congestion_control;
1: + struct tcp_fastopen_context *tcp_fastopen_ctx;
1: + spinlock_t tcp_fastopen_ctx_lock;
1: + unsigned int sysctl_tcp_fastopen_blackhole_timeout;
1: + atomic_t tfo_active_disable_times;
1: + long unsigned int tfo_active_disable_stamp;
1: + int sysctl_udp_wmem_min;
1: + int sysctl_udp_rmem_min;
1: + int sysctl_igmp_max_memberships;
1: + int sysctl_igmp_max_msf;
1: + int sysctl_igmp_llm_reports;
1: + int sysctl_igmp_qrv;
1: + struct ping_group_range ping_group_range;
1: + atomic_t dev_addr_genid;
1: + long unsigned int *sysctl_local_reserved_ports;
1: + int sysctl_ip_prot_sock;
1: + struct mr_table *mrt;
1: + int sysctl_fib_multipath_use_neigh;
1: + int sysctl_fib_multipath_hash_policy;
1: + struct fib_notifier_ops *notifier_ops;
1: + unsigned int fib_seq;
1: + struct fib_notifier_ops *ipmr_notifier_ops;
1: + unsigned int ipmr_seq;
1: + atomic_t rt_genid;
1: + siphash_key_t ip_id_key;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct netns_sysctl_ipv6 {
1: + struct ctl_table_header *hdr;
1: + struct ctl_table_header *route_hdr;
1: + struct ctl_table_header *icmp_hdr;
1: + struct ctl_table_header *frags_hdr;
1: + struct ctl_table_header *xfrm6_hdr;
1: + int bindv6only;
1: + int flush_delay;
1: + int ip6_rt_max_size;
1: + int ip6_rt_gc_min_interval;
1: + int ip6_rt_gc_timeout;
1: + int ip6_rt_gc_interval;
1: + int ip6_rt_gc_elasticity;
1: + int ip6_rt_mtu_expires;
1: + int ip6_rt_min_advmss;
1: + int multipath_hash_policy;
1: + int flowlabel_consistency;
1: + int auto_flowlabels;
1: + int icmpv6_time;
1: + int icmpv6_echo_ignore_all;
1: + int icmpv6_echo_ignore_multicast;
1: + int icmpv6_echo_ignore_anycast;
1: + long unsigned int icmpv6_ratemask[4];
1: + long unsigned int *icmpv6_ratemask_ptr;
1: + int anycast_src_echo_reply;
1: + int ip_nonlocal_bind;
1: + int fwmark_reflect;
1: + int idgen_retries;
1: + int idgen_delay;
1: + int flowlabel_state_ranges;
1: + int flowlabel_reflect;
1: + int max_dst_opts_cnt;
1: + int max_hbh_opts_cnt;
1: + int max_dst_opts_len;
1: + int max_hbh_opts_len;
1: + int seg6_flowlabel;
1: + bool skip_notify_on_dev_down;
1: +};
1: +
1: +struct net_device;
1: +
1: +struct neighbour;
1: +
1: +struct dst_ops {
1: + short unsigned int family;
1: + unsigned int gc_thresh;
1: + int (*gc)(struct dst_ops *);
1: + struct dst_entry * (*check)(struct dst_entry *, __u32);
1: + unsigned int (*default_advmss)(const struct dst_entry *);
1: + unsigned int (*mtu)(const struct dst_entry *);
1: + u32 * (*cow_metrics)(struct dst_entry *, long unsigned int);
1: + void (*destroy)(struct dst_entry *);
1: + void (*ifdown)(struct dst_entry *, struct net_device *, int);
1: + struct dst_entry * (*negative_advice)(struct dst_entry *);
1: + void (*link_failure)(struct sk_buff *);
1: + void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool);
1: + void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *);
1: + int (*local_out)(struct net *, struct sock *, struct sk_buff *);
1: + struct neighbour * (*neigh_lookup)(const struct dst_entry *, struct sk_buff *, const void *);
1: + void (*confirm_neigh)(const struct dst_entry *, const void *);
1: + struct kmem_cache *kmem_cachep;
1: + struct percpu_counter pcpuc_entries;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct ipv6_devconf;
1: +
1: +struct fib6_info;
1: +
1: +struct rt6_info;
1: +
1: +struct rt6_statistics;
1: +
1: +struct fib6_table;
1: +
1: +struct seg6_pernet_data;
1: +
1: +struct netns_ipv6 {
1: + struct netns_sysctl_ipv6 sysctl;
1: + struct ipv6_devconf *devconf_all;
1: + struct ipv6_devconf *devconf_dflt;
1: + struct inet_peer_base *peers;
1: + struct fqdir *fqdir;
1: + struct xt_table *ip6table_filter;
1: + struct xt_table *ip6table_mangle;
1: + struct xt_table *ip6table_raw;
1: + struct xt_table *ip6table_security;
1: + struct xt_table *ip6table_nat;
1: + struct fib6_info *fib6_null_entry;
1: + struct rt6_info *ip6_null_entry;
1: + struct rt6_statistics *rt6_stats;
1: + struct timer_list ip6_fib_timer;
1: + struct hlist_head *fib_table_hash;
1: + struct fib6_table *fib6_main_tbl;
1: + struct list_head fib6_walkers;
1: + long: 64;
1: + long: 64;
1: + struct dst_ops ip6_dst_ops;
1: + rwlock_t fib6_walker_lock;
1: + spinlock_t fib6_gc_lock;
1: + unsigned int ip6_rt_gc_expire;
1: + long unsigned int ip6_rt_last_gc;
1: + struct sock **icmp_sk;
1: + struct sock *ndisc_sk;
1: + struct sock *tcp_sk;
1: + struct sock *igmp_sk;
1: + struct sock *mc_autojoin_sk;
1: + atomic_t dev_addr_genid;
1: + atomic_t fib6_sernum;
1: + struct seg6_pernet_data *seg6_data;
1: + struct fib_notifier_ops *notifier_ops;
1: + struct fib_notifier_ops *ip6mr_notifier_ops;
1: + unsigned int ipmr_seq;
1: + struct {
1: + struct hlist_head head;
1: + spinlock_t lock;
1: + u32 seq;
1: + } ip6addrlbl_table;
1: + long: 64;
1: +};
1: +
1: +struct nf_queue_handler;
1: +
1: +struct nf_logger;
1: +
1: +struct nf_hook_entries;
1: +
1: +struct netns_nf {
1: + struct proc_dir_entry *proc_netfilter;
1: + const struct nf_queue_handler *queue_handler;
1: + const struct nf_logger *nf_loggers[13];
1: + struct ctl_table_header *nf_log_dir_header;
1: + struct nf_hook_entries *hooks_ipv4[5];
1: + struct nf_hook_entries *hooks_ipv6[5];
1: + bool defrag_ipv4;
1: + bool defrag_ipv6;
1: +};
1: +
1: +struct netns_xt {
1: + struct list_head tables[13];
1: + bool notrack_deprecated_warning;
1: + bool clusterip_deprecated_warning;
1: +};
1: +
1: +struct nf_ct_event_notifier;
1: +
1: +struct nf_exp_event_notifier;
1: +
1: +struct nf_generic_net {
1: + unsigned int timeout;
1: +};
1: +
1: +struct nf_tcp_net {
1: + unsigned int timeouts[14];
1: + int tcp_loose;
1: + int tcp_be_liberal;
1: + int tcp_max_retrans;
1: +};
1: +
1: +struct nf_udp_net {
1: + unsigned int timeouts[2];
1: +};
1: +
1: +struct nf_icmp_net {
1: + unsigned int timeout;
1: +};
1: +
1: +struct nf_ip_net {
1: + struct nf_generic_net generic;
1: + struct nf_tcp_net tcp;
1: + struct nf_udp_net udp;
1: + struct nf_icmp_net icmp;
1: + struct nf_icmp_net icmpv6;
1: +};
1: +
1: +struct ct_pcpu;
1: +
1: +struct ip_conntrack_stat;
1: +
1: +struct netns_ct {
1: + atomic_t count;
1: + unsigned int expect_count;
1: + bool auto_assign_helper_warned;
1: + struct ctl_table_header *sysctl_header;
1: + unsigned int sysctl_log_invalid;
1: + int sysctl_events;
1: + int sysctl_acct;
1: + int sysctl_auto_assign_helper;
1: + int sysctl_tstamp;
1: + int sysctl_checksum;
1: + struct ct_pcpu *pcpu_lists;
1: + struct ip_conntrack_stat *stat;
1: + struct nf_ct_event_notifier *nf_conntrack_event_cb;
1: + struct nf_exp_event_notifier *nf_expect_event_cb;
1: + struct nf_ip_net nf_ct_proto;
1: +};
1: +
1: +struct netns_nf_frag {
1: + struct fqdir *fqdir;
1: +};
1: +
1: +struct xfrm_policy_hash {
1: + struct hlist_head *table;
1: + unsigned int hmask;
1: + u8 dbits4;
1: + u8 sbits4;
1: + u8 dbits6;
1: + u8 sbits6;
1: +};
1: +
1: +struct xfrm_policy_hthresh {
1: + struct work_struct work;
1: + seqlock_t lock;
1: + u8 lbits4;
1: + u8 rbits4;
1: + u8 lbits6;
1: + u8 rbits6;
1: +};
1: +
1: +struct netns_xfrm {
1: + struct list_head state_all;
1: + struct hlist_head *state_bydst;
1: + struct hlist_head *state_bysrc;
1: + struct hlist_head *state_byspi;
1: + unsigned int state_hmask;
1: + unsigned int state_num;
1: + struct work_struct state_hash_work;
1: + struct list_head policy_all;
1: + struct hlist_head *policy_byidx;
1: + unsigned int policy_idx_hmask;
1: + struct hlist_head policy_inexact[3];
1: + struct xfrm_policy_hash policy_bydst[3];
1: + unsigned int policy_count[6];
1: + struct work_struct policy_hash_work;
1: + struct xfrm_policy_hthresh policy_hthresh;
1: + struct list_head inexact_bins;
1: + struct sock *nlsk;
1: + struct sock *nlsk_stash;
1: + u32 sysctl_aevent_etime;
1: + u32 sysctl_aevent_rseqth;
1: + int sysctl_larval_drop;
1: + u32 sysctl_acq_expires;
1: + struct ctl_table_header *sysctl_hdr;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct dst_ops xfrm4_dst_ops;
1: + struct dst_ops xfrm6_dst_ops;
1: + spinlock_t xfrm_state_lock;
1: + spinlock_t xfrm_policy_lock;
1: + struct mutex xfrm_cfg_mutex;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct uevent_sock;
1: +
1: +struct net_generic;
1: +
1: +struct net {
1: + refcount_t passive;
1: + refcount_t count;
1: + spinlock_t rules_mod_lock;
1: + unsigned int dev_unreg_count;
1: + unsigned int dev_base_seq;
1: + int ifindex;
1: + spinlock_t nsid_lock;
1: + atomic_t fnhe_genid;
1: + struct list_head list;
1: + struct list_head exit_list;
1: + struct llist_node cleanup_list;
1: + struct key_tag *key_domain;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct idr netns_ids;
1: + struct ns_common ns;
1: + struct list_head dev_base_head;
1: + struct proc_dir_entry *proc_net;
1: + struct proc_dir_entry *proc_net_stat;
1: + struct ctl_table_set sysctls;
1: + struct sock *rtnl;
1: + struct sock *genl_sock;
1: + struct uevent_sock *uevent_sock;
1: + struct hlist_head *dev_name_head;
1: + struct hlist_head *dev_index_head;
1: + struct raw_notifier_head netdev_chain;
1: + u32 hash_mix;
1: + struct net_device *loopback_dev;
1: + struct list_head rules_ops;
1: + struct netns_core core;
1: + struct netns_mib mib;
1: + struct netns_packet packet;
1: + struct netns_unix unx;
1: + struct netns_nexthop nexthop;
1: + long: 64;
1: + struct netns_ipv4 ipv4;
1: + struct netns_ipv6 ipv6;
1: + struct netns_nf nf;
1: + struct netns_xt xt;
1: + struct netns_ct ct;
1: + struct netns_nf_frag nf_frag;
1: + struct ctl_table_header *nf_frag_frags_hdr;
1: + struct sock *nfnl;
1: + struct sock *nfnl_stash;
1: + struct net_generic *gen;
1: + struct bpf_prog *flow_dissector_prog;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct netns_xfrm xfrm;
1: + struct sock *diag_nlsk;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +typedef struct {
1: + local64_t v;
1: +} u64_stats_t;
1: +
1: +struct bpf_insn {
1: + __u8 code;
1: + __u8 dst_reg: 4;
1: + __u8 src_reg: 4;
1: + __s16 off;
1: + __s32 imm;
1: +};
1: +
1: +enum bpf_map_type {
1: + BPF_MAP_TYPE_UNSPEC = 0,
1: + BPF_MAP_TYPE_HASH = 1,
1: + BPF_MAP_TYPE_ARRAY = 2,
1: + BPF_MAP_TYPE_PROG_ARRAY = 3,
1: + BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4,
1: + BPF_MAP_TYPE_PERCPU_HASH = 5,
1: + BPF_MAP_TYPE_PERCPU_ARRAY = 6,
1: + BPF_MAP_TYPE_STACK_TRACE = 7,
1: + BPF_MAP_TYPE_CGROUP_ARRAY = 8,
1: + BPF_MAP_TYPE_LRU_HASH = 9,
1: + BPF_MAP_TYPE_LRU_PERCPU_HASH = 10,
1: + BPF_MAP_TYPE_LPM_TRIE = 11,
1: + BPF_MAP_TYPE_ARRAY_OF_MAPS = 12,
1: + BPF_MAP_TYPE_HASH_OF_MAPS = 13,
1: + BPF_MAP_TYPE_DEVMAP = 14,
1: + BPF_MAP_TYPE_SOCKMAP = 15,
1: + BPF_MAP_TYPE_CPUMAP = 16,
1: + BPF_MAP_TYPE_XSKMAP = 17,
1: + BPF_MAP_TYPE_SOCKHASH = 18,
1: + BPF_MAP_TYPE_CGROUP_STORAGE = 19,
1: + BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20,
1: + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21,
1: + BPF_MAP_TYPE_QUEUE = 22,
1: + BPF_MAP_TYPE_STACK = 23,
1: + BPF_MAP_TYPE_SK_STORAGE = 24,
1: + BPF_MAP_TYPE_DEVMAP_HASH = 25,
1: +};
1: +
1: +enum bpf_prog_type {
1: + BPF_PROG_TYPE_UNSPEC = 0,
1: + BPF_PROG_TYPE_SOCKET_FILTER = 1,
1: + BPF_PROG_TYPE_KPROBE = 2,
1: + BPF_PROG_TYPE_SCHED_CLS = 3,
1: + BPF_PROG_TYPE_SCHED_ACT = 4,
1: + BPF_PROG_TYPE_TRACEPOINT = 5,
1: + BPF_PROG_TYPE_XDP = 6,
1: + BPF_PROG_TYPE_PERF_EVENT = 7,
1: + BPF_PROG_TYPE_CGROUP_SKB = 8,
1: + BPF_PROG_TYPE_CGROUP_SOCK = 9,
1: + BPF_PROG_TYPE_LWT_IN = 10,
1: + BPF_PROG_TYPE_LWT_OUT = 11,
1: + BPF_PROG_TYPE_LWT_XMIT = 12,
1: + BPF_PROG_TYPE_SOCK_OPS = 13,
1: + BPF_PROG_TYPE_SK_SKB = 14,
1: + BPF_PROG_TYPE_CGROUP_DEVICE = 15,
1: + BPF_PROG_TYPE_SK_MSG = 16,
1: + BPF_PROG_TYPE_RAW_TRACEPOINT = 17,
1: + BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18,
1: + BPF_PROG_TYPE_LWT_SEG6LOCAL = 19,
1: + BPF_PROG_TYPE_LIRC_MODE2 = 20,
1: + BPF_PROG_TYPE_SK_REUSEPORT = 21,
1: + BPF_PROG_TYPE_FLOW_DISSECTOR = 22,
1: + BPF_PROG_TYPE_CGROUP_SYSCTL = 23,
1: + BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24,
1: + BPF_PROG_TYPE_CGROUP_SOCKOPT = 25,
1: + BPF_PROG_TYPE_TRACING = 26,
1: +};
1: +
1: +enum bpf_attach_type {
1: + BPF_CGROUP_INET_INGRESS = 0,
1: + BPF_CGROUP_INET_EGRESS = 1,
1: + BPF_CGROUP_INET_SOCK_CREATE = 2,
1: + BPF_CGROUP_SOCK_OPS = 3,
1: + BPF_SK_SKB_STREAM_PARSER = 4,
1: + BPF_SK_SKB_STREAM_VERDICT = 5,
1: + BPF_CGROUP_DEVICE = 6,
1: + BPF_SK_MSG_VERDICT = 7,
1: + BPF_CGROUP_INET4_BIND = 8,
1: + BPF_CGROUP_INET6_BIND = 9,
1: + BPF_CGROUP_INET4_CONNECT = 10,
1: + BPF_CGROUP_INET6_CONNECT = 11,
1: + BPF_CGROUP_INET4_POST_BIND = 12,
1: + BPF_CGROUP_INET6_POST_BIND = 13,
1: + BPF_CGROUP_UDP4_SENDMSG = 14,
1: + BPF_CGROUP_UDP6_SENDMSG = 15,
1: + BPF_LIRC_MODE2 = 16,
1: + BPF_FLOW_DISSECTOR = 17,
1: + BPF_CGROUP_SYSCTL = 18,
1: + BPF_CGROUP_UDP4_RECVMSG = 19,
1: + BPF_CGROUP_UDP6_RECVMSG = 20,
1: + BPF_CGROUP_GETSOCKOPT = 21,
1: + BPF_CGROUP_SETSOCKOPT = 22,
1: + BPF_TRACE_RAW_TP = 23,
1: + BPF_TRACE_FENTRY = 24,
1: + BPF_TRACE_FEXIT = 25,
1: + __MAX_BPF_ATTACH_TYPE = 26,
1: +};
1: +
1: +union bpf_attr {
1: + struct {
1: + __u32 map_type;
1: + __u32 key_size;
1: + __u32 value_size;
1: + __u32 max_entries;
1: + __u32 map_flags;
1: + __u32 inner_map_fd;
1: + __u32 numa_node;
1: + char map_name[16];
1: + __u32 map_ifindex;
1: + __u32 btf_fd;
1: + __u32 btf_key_type_id;
1: + __u32 btf_value_type_id;
1: + };
1: + struct {
1: + __u32 map_fd;
1: + __u64 key;
1: + union {
1: + __u64 value;
1: + __u64 next_key;
1: + };
1: + __u64 flags;
1: + };
1: + struct {
1: + __u32 prog_type;
1: + __u32 insn_cnt;
1: + __u64 insns;
1: + __u64 license;
1: + __u32 log_level;
1: + __u32 log_size;
1: + __u64 log_buf;
1: + __u32 kern_version;
1: + __u32 prog_flags;
1: + char prog_name[16];
1: + __u32 prog_ifindex;
1: + __u32 expected_attach_type;
1: + __u32 prog_btf_fd;
1: + __u32 func_info_rec_size;
1: + __u64 func_info;
1: + __u32 func_info_cnt;
1: + __u32 line_info_rec_size;
1: + __u64 line_info;
1: + __u32 line_info_cnt;
1: + __u32 attach_btf_id;
1: + __u32 attach_prog_fd;
1: + };
1: + struct {
1: + __u64 pathname;
1: + __u32 bpf_fd;
1: + __u32 file_flags;
1: + };
1: + struct {
1: + __u32 target_fd;
1: + __u32 attach_bpf_fd;
1: + __u32 attach_type;
1: + __u32 attach_flags;
1: + };
1: + struct {
1: + __u32 prog_fd;
1: + __u32 retval;
1: + __u32 data_size_in;
1: + __u32 data_size_out;
1: + __u64 data_in;
1: + __u64 data_out;
1: + __u32 repeat;
1: + __u32 duration;
1: + __u32 ctx_size_in;
1: + __u32 ctx_size_out;
1: + __u64 ctx_in;
1: + __u64 ctx_out;
1: + } test;
1: + struct {
1: + union {
1: + __u32 start_id;
1: + __u32 prog_id;
1: + __u32 map_id;
1: + __u32 btf_id;
1: + };
1: + __u32 next_id;
1: + __u32 open_flags;
1: + };
1: + struct {
1: + __u32 bpf_fd;
1: + __u32 info_len;
1: + __u64 info;
1: + } info;
1: + struct {
1: + __u32 target_fd;
1: + __u32 attach_type;
1: + __u32 query_flags;
1: + __u32 attach_flags;
1: + __u64 prog_ids;
1: + __u32 prog_cnt;
1: + } query;
1: + struct {
1: + __u64 name;
1: + __u32 prog_fd;
1: + } raw_tracepoint;
1: + struct {
1: + __u64 btf;
1: + __u64 btf_log_buf;
1: + __u32 btf_size;
1: + __u32 btf_log_size;
1: + __u32 btf_log_level;
1: + };
1: + struct {
1: + __u32 pid;
1: + __u32 fd;
1: + __u32 flags;
1: + __u32 buf_len;
1: + __u64 buf;
1: + __u32 prog_id;
1: + __u32 fd_type;
1: + __u64 probe_offset;
1: + __u64 probe_addr;
1: + } task_fd_query;
1: +};
1: +
1: +struct bpf_func_info {
1: + __u32 insn_off;
1: + __u32 type_id;
1: +};
1: +
1: +struct bpf_line_info {
1: + __u32 insn_off;
1: + __u32 file_name_off;
1: + __u32 line_off;
1: + __u32 line_col;
1: +};
1: +
1: +struct btf;
1: +
1: +struct bpf_map;
1: +
1: +struct btf_type;
1: +
1: +struct bpf_prog_aux;
1: +
1: +struct bpf_map_ops {
1: + int (*map_alloc_check)(union bpf_attr *);
1: + struct bpf_map * (*map_alloc)(union bpf_attr *);
1: + void (*map_release)(struct bpf_map *, struct file *);
1: + void (*map_free)(struct bpf_map *);
1: + int (*map_get_next_key)(struct bpf_map *, void *, void *);
1: + void (*map_release_uref)(struct bpf_map *);
1: + void * (*map_lookup_elem_sys_only)(struct bpf_map *, void *);
1: + void * (*map_lookup_elem)(struct bpf_map *, void *);
1: + int (*map_update_elem)(struct bpf_map *, void *, void *, u64);
1: + int (*map_delete_elem)(struct bpf_map *, void *);
1: + int (*map_push_elem)(struct bpf_map *, void *, u64);
1: + int (*map_pop_elem)(struct bpf_map *, void *);
1: + int (*map_peek_elem)(struct bpf_map *, void *);
1: + void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int);
1: + void (*map_fd_put_ptr)(void *);
1: + u32 (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *);
1: + u32 (*map_fd_sys_lookup_elem)(void *);
1: + void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *);
1: + int (*map_check_btf)(const struct bpf_map *, const struct btf *, const struct btf_type *, const struct btf_type *);
1: + int (*map_poke_track)(struct bpf_map *, struct bpf_prog_aux *);
1: + void (*map_poke_untrack)(struct bpf_map *, struct bpf_prog_aux *);
1: + void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *);
1: + int (*map_direct_value_addr)(const struct bpf_map *, u64 *, u32);
1: + int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *);
1: + int (*map_mmap)(struct bpf_map *, struct vm_area_struct *);
1: +};
1: +
1: +struct bpf_map_memory {
1: + u32 pages;
1: + struct user_struct *user;
1: +};
1: +
1: +struct bpf_map {
1: + const struct bpf_map_ops *ops;
1: + struct bpf_map *inner_map_meta;
1: + void *security;
1: + enum bpf_map_type map_type;
1: + u32 key_size;
1: + u32 value_size;
1: + u32 max_entries;
1: + u32 map_flags;
1: + int spin_lock_off;
1: + u32 id;
1: + int numa_node;
1: + u32 btf_key_type_id;
1: + u32 btf_value_type_id;
1: + struct btf *btf;
1: + struct bpf_map_memory memory;
1: + char name[16];
1: + bool unpriv_array;
1: + bool frozen;
1: + long: 48;
1: + long: 64;
1: + long: 64;
1: + atomic64_t refcnt;
1: + atomic64_t usercnt;
1: + struct work_struct work;
1: + struct mutex freeze_mutex;
1: + u64 writecnt;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct btf_type {
1: + __u32 name_off;
1: + __u32 info;
1: + union {
1: + __u32 size;
1: + __u32 type;
1: + };
1: +};
1: +
1: +enum bpf_tramp_prog_type {
1: + BPF_TRAMP_FENTRY = 0,
1: + BPF_TRAMP_FEXIT = 1,
1: + BPF_TRAMP_MAX = 2,
1: +};
1: +
1: +struct bpf_trampoline;
1: +
1: +struct bpf_jit_poke_descriptor;
1: +
1: +struct bpf_prog_ops;
1: +
1: +struct bpf_prog_offload;
1: +
1: +struct bpf_func_info_aux;
1: +
1: +struct bpf_prog_stats;
1: +
1: +struct bpf_prog_aux {
1: + atomic64_t refcnt;
1: + u32 used_map_cnt;
1: + u32 max_ctx_offset;
1: + u32 max_pkt_offset;
1: + u32 max_tp_access;
1: + u32 stack_depth;
1: + u32 id;
1: + u32 func_cnt;
1: + u32 func_idx;
1: + u32 attach_btf_id;
1: + struct bpf_prog *linked_prog;
1: + bool verifier_zext;
1: + bool offload_requested;
1: + bool attach_btf_trace;
1: + bool func_proto_unreliable;
1: + enum bpf_tramp_prog_type trampoline_prog_type;
1: + struct bpf_trampoline *trampoline;
1: + struct hlist_node tramp_hlist;
1: + const struct btf_type *attach_func_proto;
1: + const char *attach_func_name;
1: + struct bpf_prog **func;
1: + void *jit_data;
1: + struct bpf_jit_poke_descriptor *poke_tab;
1: + u32 size_poke_tab;
1: + struct latch_tree_node ksym_tnode;
1: + struct list_head ksym_lnode;
1: + const struct bpf_prog_ops *ops;
1: + struct bpf_map **used_maps;
1: + struct bpf_prog *prog;
1: + struct user_struct *user;
1: + u64 load_time;
1: + struct bpf_map *cgroup_storage[2];
1: + char name[16];
1: + void *security;
1: + struct bpf_prog_offload *offload;
1: + struct btf *btf;
1: + struct bpf_func_info *func_info;
1: + struct bpf_func_info_aux *func_info_aux;
1: + struct bpf_line_info *linfo;
1: + void **jited_linfo;
1: + u32 func_info_cnt;
1: + u32 nr_linfo;
1: + u32 linfo_idx;
1: + u32 num_exentries;
1: + struct exception_table_entry *extable;
1: + struct bpf_prog_stats *stats;
1: + union {
1: + struct work_struct work;
1: + struct callback_head rcu;
1: + };
1: +};
1: +
1: +struct sock_filter {
1: + __u16 code;
1: + __u8 jt;
1: + __u8 jf;
1: + __u32 k;
1: +};
1: +
1: +struct sock_fprog_kern;
1: +
1: +struct bpf_prog {
1: + u16 pages;
1: + u16 jited: 1;
1: + u16 jit_requested: 1;
1: + u16 gpl_compatible: 1;
1: + u16 cb_access: 1;
1: + u16 dst_needed: 1;
1: + u16 blinded: 1;
1: + u16 is_func: 1;
1: + u16 kprobe_override: 1;
1: + u16 has_callchain_buf: 1;
1: + u16 enforce_expected_attach_type: 1;
1: + enum bpf_prog_type type;
1: + enum bpf_attach_type expected_attach_type;
1: + u32 len;
1: + u32 jited_len;
1: + u8 tag[8];
1: + struct bpf_prog_aux *aux;
1: + struct sock_fprog_kern *orig_prog;
1: + unsigned int (*bpf_func)(const void *, const struct bpf_insn *);
1: + union {
1: + struct sock_filter insns[0];
1: + struct bpf_insn insnsi[0];
1: + };
1: +};
1: +
1: +struct bpf_offloaded_map;
1: +
1: +struct bpf_map_dev_ops {
1: + int (*map_get_next_key)(struct bpf_offloaded_map *, void *, void *);
1: + int (*map_lookup_elem)(struct bpf_offloaded_map *, void *, void *);
1: + int (*map_update_elem)(struct bpf_offloaded_map *, void *, void *, u64);
1: + int (*map_delete_elem)(struct bpf_offloaded_map *, void *);
1: +};
1: +
1: +struct bpf_offloaded_map {
1: + struct bpf_map map;
1: + struct net_device *netdev;
1: + const struct bpf_map_dev_ops *dev_ops;
1: + void *dev_priv;
1: + struct list_head offloads;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct net_device_stats {
1: + long unsigned int rx_packets;
1: + long unsigned int tx_packets;
1: + long unsigned int rx_bytes;
1: + long unsigned int tx_bytes;
1: + long unsigned int rx_errors;
1: + long unsigned int tx_errors;
1: + long unsigned int rx_dropped;
1: + long unsigned int tx_dropped;
1: + long unsigned int multicast;
1: + long unsigned int collisions;
1: + long unsigned int rx_length_errors;
1: + long unsigned int rx_over_errors;
1: + long unsigned int rx_crc_errors;
1: + long unsigned int rx_frame_errors;
1: + long unsigned int rx_fifo_errors;
1: + long unsigned int rx_missed_errors;
1: + long unsigned int tx_aborted_errors;
1: + long unsigned int tx_carrier_errors;
1: + long unsigned int tx_fifo_errors;
1: + long unsigned int tx_heartbeat_errors;
1: + long unsigned int tx_window_errors;
1: + long unsigned int rx_compressed;
1: + long unsigned int tx_compressed;
1: +};
1: +
1: +struct netdev_hw_addr_list {
1: + struct list_head list;
1: + int count;
1: +};
1: +
1: +enum rx_handler_result {
1: + RX_HANDLER_CONSUMED = 0,
1: + RX_HANDLER_ANOTHER = 1,
1: + RX_HANDLER_EXACT = 2,
1: + RX_HANDLER_PASS = 3,
1: +};
1: +
1: +typedef enum rx_handler_result rx_handler_result_t;
1: +
1: +typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **);
1: +
1: +struct pcpu_dstats;
1: +
1: +struct netdev_tc_txq {
1: + u16 count;
1: + u16 offset;
1: +};
1: +
1: +struct sfp_bus;
1: +
1: +struct netdev_name_node;
1: +
1: +struct dev_ifalias;
1: +
1: +struct net_device_ops;
1: +
1: +struct ethtool_ops;
1: +
1: +struct ndisc_ops;
1: +
1: +struct header_ops;
1: +
1: +struct in_device;
1: +
1: +struct inet6_dev;
1: +
1: +struct wireless_dev;
1: +
1: +struct wpan_dev;
1: +
1: +struct netdev_rx_queue;
1: +
1: +struct mini_Qdisc;
1: +
1: +struct netdev_queue;
1: +
1: +struct cpu_rmap;
1: +
1: +struct Qdisc;
1: +
1: +struct xps_dev_maps;
1: +
1: +struct netpoll_info;
1: +
1: +struct pcpu_lstats;
1: +
1: +struct pcpu_sw_netstats;
1: +
1: +struct rtnl_link_ops;
1: +
1: +struct phy_device;
1: +
1: +struct net_device {
1: + char name[16];
1: + struct netdev_name_node *name_node;
1: + struct dev_ifalias *ifalias;
1: + long unsigned int mem_end;
1: + long unsigned int mem_start;
1: + long unsigned int base_addr;
1: + int irq;
1: + long unsigned int state;
1: + struct list_head dev_list;
1: + struct list_head napi_list;
1: + struct list_head unreg_list;
1: + struct list_head close_list;
1: + struct list_head ptype_all;
1: + struct list_head ptype_specific;
1: + struct {
1: + struct list_head upper;
1: + struct list_head lower;
1: + } adj_list;
1: + netdev_features_t features;
1: + netdev_features_t hw_features;
1: + netdev_features_t wanted_features;
1: + netdev_features_t vlan_features;
1: + netdev_features_t hw_enc_features;
1: + netdev_features_t mpls_features;
1: + netdev_features_t gso_partial_features;
1: + int ifindex;
1: + int group;
1: + struct net_device_stats stats;
1: + atomic_long_t rx_dropped;
1: + atomic_long_t tx_dropped;
1: + atomic_long_t rx_nohandler;
1: + atomic_t carrier_up_count;
1: + atomic_t carrier_down_count;
1: + const struct net_device_ops *netdev_ops;
1: + const struct ethtool_ops *ethtool_ops;
1: + const struct ndisc_ops *ndisc_ops;
1: + const struct header_ops *header_ops;
1: + unsigned int flags;
1: + unsigned int priv_flags;
1: + short unsigned int gflags;
1: + short unsigned int padded;
1: + unsigned char operstate;
1: + unsigned char link_mode;
1: + unsigned char if_port;
1: + unsigned char dma;
1: + unsigned int mtu;
1: + unsigned int min_mtu;
1: + unsigned int max_mtu;
1: + short unsigned int type;
1: + short unsigned int hard_header_len;
1: + unsigned char min_header_len;
1: + short unsigned int needed_headroom;
1: + short unsigned int needed_tailroom;
1: + unsigned char perm_addr[32];
1: + unsigned char addr_assign_type;
1: + unsigned char addr_len;
1: + unsigned char upper_level;
1: + unsigned char lower_level;
1: + short unsigned int neigh_priv_len;
1: + short unsigned int dev_id;
1: + short unsigned int dev_port;
1: + spinlock_t addr_list_lock;
1: + unsigned char name_assign_type;
1: + bool uc_promisc;
1: + struct netdev_hw_addr_list uc;
1: + struct netdev_hw_addr_list mc;
1: + struct netdev_hw_addr_list dev_addrs;
1: + struct kset *queues_kset;
1: + unsigned int promiscuity;
1: + unsigned int allmulti;
1: + struct in_device *ip_ptr;
1: + struct inet6_dev *ip6_ptr;
1: + struct wireless_dev *ieee80211_ptr;
1: + struct wpan_dev *ieee802154_ptr;
1: + unsigned char *dev_addr;
1: + struct netdev_rx_queue *_rx;
1: + unsigned int num_rx_queues;
1: + unsigned int real_num_rx_queues;
1: + struct bpf_prog *xdp_prog;
1: + long unsigned int gro_flush_timeout;
1: + rx_handler_func_t *rx_handler;
1: + void *rx_handler_data;
1: + struct mini_Qdisc *miniq_ingress;
1: + struct netdev_queue *ingress_queue;
1: + struct nf_hook_entries *nf_hooks_ingress;
1: + unsigned char broadcast[32];
1: + struct cpu_rmap *rx_cpu_rmap;
1: + struct hlist_node index_hlist;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct netdev_queue *_tx;
1: + unsigned int num_tx_queues;
1: + unsigned int real_num_tx_queues;
1: + struct Qdisc *qdisc;
1: + struct hlist_head qdisc_hash[16];
1: + unsigned int tx_queue_len;
1: + spinlock_t tx_global_lock;
1: + int watchdog_timeo;
1: + struct xps_dev_maps *xps_cpus_map;
1: + struct xps_dev_maps *xps_rxqs_map;
1: + struct mini_Qdisc *miniq_egress;
1: + struct timer_list watchdog_timer;
1: + int *pcpu_refcnt;
1: + struct list_head todo_list;
1: + struct list_head link_watch_list;
1: + enum {
1: + NETREG_UNINITIALIZED = 0,
1: + NETREG_REGISTERED = 1,
1: + NETREG_UNREGISTERING = 2,
1: + NETREG_UNREGISTERED = 3,
1: + NETREG_RELEASED = 4,
1: + NETREG_DUMMY = 5,
1: + } reg_state: 8;
1: + bool dismantle;
1: + enum {
1: + RTNL_LINK_INITIALIZED = 0,
1: + RTNL_LINK_INITIALIZING = 1,
1: + } rtnl_link_state: 16;
1: + bool needs_free_netdev;
1: + void (*priv_destructor)(struct net_device *);
1: + struct netpoll_info *npinfo;
1: + possible_net_t nd_net;
1: + union {
1: + void *ml_priv;
1: + struct pcpu_lstats *lstats;
1: + struct pcpu_sw_netstats *tstats;
1: + struct pcpu_dstats *dstats;
1: + };
1: + struct device dev;
1: + const struct attribute_group *sysfs_groups[4];
1: + const struct attribute_group *sysfs_rx_queue_group;
1: + const struct rtnl_link_ops *rtnl_link_ops;
1: + unsigned int gso_max_size;
1: + u16 gso_max_segs;
1: + s16 num_tc;
1: + struct netdev_tc_txq tc_to_txq[16];
1: + u8 prio_tc_map[16];
1: + struct phy_device *phydev;
1: + struct sfp_bus *sfp_bus;
1: + struct lock_class_key qdisc_tx_busylock_key;
1: + struct lock_class_key qdisc_running_key;
1: + struct lock_class_key qdisc_xmit_lock_key;
1: + struct lock_class_key addr_list_lock_key;
1: + bool proto_down;
1: + unsigned int wol_enabled: 1;
1: +};
1: +
1: +struct bpf_prog_ops {
1: + int (*test_run)(struct bpf_prog *, const union bpf_attr *, union bpf_attr *);
1: +};
1: +
1: +struct bpf_offload_dev;
1: +
1: +struct bpf_prog_offload {
1: + struct bpf_prog *prog;
1: + struct net_device *netdev;
1: + struct bpf_offload_dev *offdev;
1: + void *dev_priv;
1: + struct list_head offloads;
1: + bool dev_state;
1: + bool opt_failed;
1: + void *jited_image;
1: + u32 jited_len;
1: +};
1: +
1: +struct bpf_prog_stats {
1: + u64 cnt;
1: + u64 nsecs;
1: + struct u64_stats_sync syncp;
1: +};
1: +
1: +struct btf_func_model {
1: + u8 ret_size;
1: + u8 nr_args;
1: + u8 arg_size[12];
1: +};
1: +
1: +struct bpf_trampoline {
1: + struct hlist_node hlist;
1: + struct mutex mutex;
1: + refcount_t refcnt;
1: + u64 key;
1: + struct {
1: + struct btf_func_model model;
1: + void *addr;
1: + bool ftrace_managed;
1: + } func;
1: + struct hlist_head progs_hlist[2];
1: + int progs_cnt[2];
1: + void *image;
1: + u64 selector;
1: +};
1: +
1: +struct bpf_func_info_aux {
1: + bool unreliable;
1: +};
1: +
1: +struct bpf_jit_poke_descriptor {
1: + void *ip;
1: + union {
1: + struct {
1: + struct bpf_map *map;
1: + u32 key;
1: + } tail_call;
1: + };
1: + bool ip_stable;
1: + u8 adj_off;
1: + u16 reason;
1: +};
1: +
1: +typedef unsigned int sk_buff_data_t;
1: +
1: +struct skb_ext;
1: +
1: +struct sk_buff {
1: + union {
1: + struct {
1: + struct sk_buff *next;
1: + struct sk_buff *prev;
1: + union {
1: + struct net_device *dev;
1: + long unsigned int dev_scratch;
1: + };
1: + };
1: + struct rb_node rbnode;
1: + struct list_head list;
1: + };
1: + union {
1: + struct sock *sk;
1: + int ip_defrag_offset;
1: + };
1: + union {
1: + ktime_t tstamp;
1: + u64 skb_mstamp_ns;
1: + };
1: + char cb[48];
1: + union {
1: + struct {
1: + long unsigned int _skb_refdst;
1: + void (*destructor)(struct sk_buff *);
1: + };
1: + struct list_head tcp_tsorted_anchor;
1: + };
1: + long unsigned int _nfct;
1: + unsigned int len;
1: + unsigned int data_len;
1: + __u16 mac_len;
1: + __u16 hdr_len;
1: + __u16 queue_mapping;
1: + __u8 __cloned_offset[0];
1: + __u8 cloned: 1;
1: + __u8 nohdr: 1;
1: + __u8 fclone: 2;
1: + __u8 peeked: 1;
1: + __u8 head_frag: 1;
1: + __u8 pfmemalloc: 1;
1: + __u8 active_extensions;
1: + __u32 headers_start[0];
1: + __u8 __pkt_type_offset[0];
1: + __u8 pkt_type: 3;
1: + __u8 ignore_df: 1;
1: + __u8 nf_trace: 1;
1: + __u8 ip_summed: 2;
1: + __u8 ooo_okay: 1;
1: + __u8 l4_hash: 1;
1: + __u8 sw_hash: 1;
1: + __u8 wifi_acked_valid: 1;
1: + __u8 wifi_acked: 1;
1: + __u8 no_fcs: 1;
1: + __u8 encapsulation: 1;
1: + __u8 encap_hdr_csum: 1;
1: + __u8 csum_valid: 1;
1: + __u8 __pkt_vlan_present_offset[0];
1: + __u8 vlan_present: 1;
1: + __u8 csum_complete_sw: 1;
1: + __u8 csum_level: 2;
1: + __u8 csum_not_inet: 1;
1: + __u8 dst_pending_confirm: 1;
1: + __u8 ndisc_nodetype: 2;
1: + __u8 ipvs_property: 1;
1: + __u8 inner_protocol_type: 1;
1: + __u8 remcsum_offload: 1;
1: + __u8 tc_skip_classify: 1;
1: + __u8 tc_at_ingress: 1;
1: + __u8 tc_redirected: 1;
1: + __u8 tc_from_ingress: 1;
1: + __u16 tc_index;
1: + union {
1: + __wsum csum;
1: + struct {
1: + __u16 csum_start;
1: + __u16 csum_offset;
1: + };
1: + };
1: + __u32 priority;
1: + int skb_iif;
1: + __u32 hash;
1: + __be16 vlan_proto;
1: + __u16 vlan_tci;
1: + union {
1: + unsigned int napi_id;
1: + unsigned int sender_cpu;
1: + };
1: + __u32 secmark;
1: + union {
1: + __u32 mark;
1: + __u32 reserved_tailroom;
1: + };
1: + union {
1: + __be16 inner_protocol;
1: + __u8 inner_ipproto;
1: + };
1: + __u16 inner_transport_header;
1: + __u16 inner_network_header;
1: + __u16 inner_mac_header;
1: + __be16 protocol;
1: + __u16 transport_header;
1: + __u16 network_header;
1: + __u16 mac_header;
1: + __u32 headers_end[0];
1: + sk_buff_data_t tail;
1: + sk_buff_data_t end;
1: + unsigned char *head;
1: + unsigned char *data;
1: + unsigned int truesize;
1: + refcount_t users;
1: + struct skb_ext *extensions;
1: +};
1: +
1: +struct sg_table {
1: + struct scatterlist *sgl;
1: + unsigned int nents;
1: + unsigned int orig_nents;
1: +};
1: +
1: +enum suspend_stat_step {
1: + SUSPEND_FREEZE = 1,
1: + SUSPEND_PREPARE = 2,
1: + SUSPEND_SUSPEND = 3,
1: + SUSPEND_SUSPEND_LATE = 4,
1: + SUSPEND_SUSPEND_NOIRQ = 5,
1: + SUSPEND_RESUME_NOIRQ = 6,
1: + SUSPEND_RESUME_EARLY = 7,
1: + SUSPEND_RESUME = 8,
1: +};
1: +
1: +struct suspend_stats {
1: + int success;
1: + int fail;
1: + int failed_freeze;
1: + int failed_prepare;
1: + int failed_suspend;
1: + int failed_suspend_late;
1: + int failed_suspend_noirq;
1: + int failed_resume;
1: + int failed_resume_early;
1: + int failed_resume_noirq;
1: + int last_failed_dev;
1: + char failed_devs[80];
1: + int last_failed_errno;
1: + int errno[2];
1: + int last_failed_step;
1: + enum suspend_stat_step failed_steps[2];
1: +};
1: +
1: +enum s2idle_states {
1: + S2IDLE_STATE_NONE = 0,
1: + S2IDLE_STATE_ENTER = 1,
1: + S2IDLE_STATE_WAKE = 2,
1: +};
1: +
1: +enum {
1: + Root_NFS = 255,
1: + Root_CIFS = 254,
1: + Root_RAM0 = 1048576,
1: + Root_RAM1 = 1048577,
1: + Root_FD0 = 2097152,
1: + Root_HDA1 = 3145729,
1: + Root_HDA2 = 3145730,
1: + Root_SDA1 = 8388609,
1: + Root_SDA2 = 8388610,
1: + Root_HDC1 = 23068673,
1: + Root_SR0 = 11534336,
1: +};
1: +
1: +struct ethhdr {
1: + unsigned char h_dest[6];
1: + unsigned char h_source[6];
1: + __be16 h_proto;
1: +};
1: +
1: +struct flow_dissector {
1: + unsigned int used_keys;
1: + short unsigned int offset[27];
1: +};
1: +
1: +struct flowi_tunnel {
1: + __be64 tun_id;
1: +};
1: +
1: +struct flowi_common {
1: + int flowic_oif;
1: + int flowic_iif;
1: + __u32 flowic_mark;
1: + __u8 flowic_tos;
1: + __u8 flowic_scope;
1: + __u8 flowic_proto;
1: + __u8 flowic_flags;
1: + __u32 flowic_secid;
1: + kuid_t flowic_uid;
1: + struct flowi_tunnel flowic_tun_key;
1: + __u32 flowic_multipath_hash;
1: +};
1: +
1: +union flowi_uli {
1: + struct {
1: + __be16 dport;
1: + __be16 sport;
1: + } ports;
1: + struct {
1: + __u8 type;
1: + __u8 code;
1: + } icmpt;
1: + struct {
1: + __le16 dport;
1: + __le16 sport;
1: + } dnports;
1: + __be32 spi;
1: + __be32 gre_key;
1: + struct {
1: + __u8 type;
1: + } mht;
1: +};
1: +
1: +struct flowi4 {
1: + struct flowi_common __fl_common;
1: + __be32 saddr;
1: + __be32 daddr;
1: + union flowi_uli uli;
1: +};
1: +
1: +struct flowi6 {
1: + struct flowi_common __fl_common;
1: + struct in6_addr daddr;
1: + struct in6_addr saddr;
1: + __be32 flowlabel;
1: + union flowi_uli uli;
1: + __u32 mp_hash;
1: +};
1: +
1: +struct flowidn {
1: + struct flowi_common __fl_common;
1: + __le16 daddr;
1: + __le16 saddr;
1: + union flowi_uli uli;
1: +};
1: +
1: +struct flowi {
1: + union {
1: + struct flowi_common __fl_common;
1: + struct flowi4 ip4;
1: + struct flowi6 ip6;
1: + struct flowidn dn;
1: + } u;
1: +};
1: +
1: +struct ipstats_mib {
1: + u64 mibs[37];
1: + struct u64_stats_sync syncp;
1: +};
1: +
1: +struct icmp_mib {
1: + long unsigned int mibs[28];
1: +};
1: +
1: +struct icmpmsg_mib {
1: + atomic_long_t mibs[512];
1: +};
1: +
1: +struct icmpv6_mib {
1: + long unsigned int mibs[6];
1: +};
1: +
1: +struct icmpv6_mib_device {
1: + atomic_long_t mibs[6];
1: +};
1: +
1: +struct icmpv6msg_mib {
1: + atomic_long_t mibs[512];
1: +};
1: +
1: +struct icmpv6msg_mib_device {
1: + atomic_long_t mibs[512];
1: +};
1: +
1: +struct tcp_mib {
1: + long unsigned int mibs[16];
1: +};
1: +
1: +struct udp_mib {
1: + long unsigned int mibs[9];
1: +};
1: +
1: +struct linux_mib {
1: + long unsigned int mibs[120];
1: +};
1: +
1: +struct inet_frags;
1: +
1: +struct fqdir {
1: + long int high_thresh;
1: + long int low_thresh;
1: + int timeout;
1: + int max_dist;
1: + struct inet_frags *f;
1: + struct net *net;
1: + bool dead;
1: + long: 56;
1: + long: 64;
1: + long: 64;
1: + struct rhashtable rhashtable;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + atomic_long_t mem;
1: + struct work_struct destroy_work;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct inet_frag_queue;
1: +
1: +struct inet_frags {
1: + unsigned int qsize;
1: + void (*constructor)(struct inet_frag_queue *, const void *);
1: + void (*destructor)(struct inet_frag_queue *);
1: + void (*frag_expire)(struct timer_list *);
1: + struct kmem_cache *frags_cachep;
1: + const char *frags_cache_name;
1: + struct rhashtable_params rhash_params;
1: + refcount_t refcnt;
1: + struct completion completion;
1: +};
1: +
1: +struct frag_v4_compare_key {
1: + __be32 saddr;
1: + __be32 daddr;
1: + u32 user;
1: + u32 vif;
1: + __be16 id;
1: + u16 protocol;
1: +};
1: +
1: +struct frag_v6_compare_key {
1: + struct in6_addr saddr;
1: + struct in6_addr daddr;
1: + u32 user;
1: + __be32 id;
1: + u32 iif;
1: +};
1: +
1: +struct inet_frag_queue {
1: + struct rhash_head node;
1: + union {
1: + struct frag_v4_compare_key v4;
1: + struct frag_v6_compare_key v6;
1: + } key;
1: + struct timer_list timer;
1: + spinlock_t lock;
1: + refcount_t refcnt;
1: + struct rb_root rb_fragments;
1: + struct sk_buff *fragments_tail;
1: + struct sk_buff *last_run_head;
1: + ktime_t stamp;
1: + int len;
1: + int meat;
1: + __u8 flags;
1: + u16 max_size;
1: + struct fqdir *fqdir;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct fib_rule;
1: +
1: +struct fib_lookup_arg;
1: +
1: +struct fib_rule_hdr;
1: +
1: +struct nlattr;
1: +
1: +struct netlink_ext_ack;
1: +
1: +struct nla_policy;
1: +
1: +struct fib_rules_ops {
1: + int family;
1: + struct list_head list;
1: + int rule_size;
1: + int addr_size;
1: + int unresolved_rules;
1: + int nr_goto_rules;
1: + unsigned int fib_rules_seq;
1: + int (*action)(struct fib_rule *, struct flowi *, int, struct fib_lookup_arg *);
1: + bool (*suppress)(struct fib_rule *, struct fib_lookup_arg *);
1: + int (*match)(struct fib_rule *, struct flowi *, int);
1: + int (*configure)(struct fib_rule *, struct sk_buff *, struct fib_rule_hdr *, struct nlattr **, struct netlink_ext_ack *);
1: + int (*delete)(struct fib_rule *);
1: + int (*compare)(struct fib_rule *, struct fib_rule_hdr *, struct nlattr **);
1: + int (*fill)(struct fib_rule *, struct sk_buff *, struct fib_rule_hdr *);
1: + size_t (*nlmsg_payload)(struct fib_rule *);
1: + void (*flush_cache)(struct fib_rules_ops *);
1: + int nlgroup;
1: + const struct nla_policy *policy;
1: + struct list_head rules_list;
1: + struct module *owner;
1: + struct net *fro_net;
1: + struct callback_head rcu;
1: +};
1: +
1: +enum tcp_ca_event {
1: + CA_EVENT_TX_START = 0,
1: + CA_EVENT_CWND_RESTART = 1,
1: + CA_EVENT_COMPLETE_CWR = 2,
1: + CA_EVENT_LOSS = 3,
1: + CA_EVENT_ECN_NO_CE = 4,
1: + CA_EVENT_ECN_IS_CE = 5,
1: +};
1: +
1: +struct ack_sample;
1: +
1: +struct rate_sample;
1: +
1: +union tcp_cc_info;
1: +
1: +struct tcp_congestion_ops {
1: + struct list_head list;
1: + u32 key;
1: + u32 flags;
1: + void (*init)(struct sock *);
1: + void (*release)(struct sock *);
1: + u32 (*ssthresh)(struct sock *);
1: + void (*cong_avoid)(struct sock *, u32, u32);
1: + void (*set_state)(struct sock *, u8);
1: + void (*cwnd_event)(struct sock *, enum tcp_ca_event);
1: + void (*in_ack_event)(struct sock *, u32);
1: + u32 (*undo_cwnd)(struct sock *);
1: + void (*pkts_acked)(struct sock *, const struct ack_sample *);
1: + u32 (*min_tso_segs)(struct sock *);
1: + u32 (*sndbuf_expand)(struct sock *);
1: + void (*cong_control)(struct sock *, const struct rate_sample *);
1: + size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *);
1: + char name[16];
1: + struct module *owner;
1: +};
1: +
1: +struct fib_notifier_ops {
1: + int family;
1: + struct list_head list;
1: + unsigned int (*fib_seq_read)(struct net *);
1: + int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *);
1: + struct module *owner;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct xfrm_state;
1: +
1: +struct lwtunnel_state;
1: +
1: +struct dst_entry {
1: + struct net_device *dev;
1: + struct dst_ops *ops;
1: + long unsigned int _metrics;
1: + long unsigned int expires;
1: + struct xfrm_state *xfrm;
1: + int (*input)(struct sk_buff *);
1: + int (*output)(struct net *, struct sock *, struct sk_buff *);
1: + short unsigned int flags;
1: + short int obsolete;
1: + short unsigned int header_len;
1: + short unsigned int trailer_len;
1: + atomic_t __refcnt;
1: + int __use;
1: + long unsigned int lastuse;
1: + struct lwtunnel_state *lwtstate;
1: + struct callback_head callback_head;
1: + short int error;
1: + short int __pad;
1: + __u32 tclassid;
1: +};
1: +
1: +struct hh_cache {
1: + unsigned int hh_len;
1: + seqlock_t hh_lock;
1: + long unsigned int hh_data[12];
1: +};
1: +
1: +struct neigh_table;
1: +
1: +struct neigh_parms;
1: +
1: +struct neigh_ops;
1: +
1: +struct neighbour {
1: + struct neighbour *next;
1: + struct neigh_table *tbl;
1: + struct neigh_parms *parms;
1: + long unsigned int confirmed;
1: + long unsigned int updated;
1: + rwlock_t lock;
1: + refcount_t refcnt;
1: + unsigned int arp_queue_len_bytes;
1: + struct sk_buff_head arp_queue;
1: + struct timer_list timer;
1: + long unsigned int used;
1: + atomic_t probes;
1: + __u8 flags;
1: + __u8 nud_state;
1: + __u8 type;
1: + __u8 dead;
1: + u8 protocol;
1: + seqlock_t ha_lock;
1: + int: 32;
1: + unsigned char ha[32];
1: + struct hh_cache hh;
1: + int (*output)(struct neighbour *, struct sk_buff *);
1: + const struct neigh_ops *ops;
1: + struct list_head gc_list;
1: + struct callback_head rcu;
1: + struct net_device *dev;
1: + u8 primary_key[0];
1: +};
1: +
1: +struct ipv6_stable_secret {
1: + bool initialized;
1: + struct in6_addr secret;
1: +};
1: +
1: +struct ipv6_devconf {
1: + __s32 forwarding;
1: + __s32 hop_limit;
1: + __s32 mtu6;
1: + __s32 accept_ra;
1: + __s32 accept_redirects;
1: + __s32 autoconf;
1: + __s32 dad_transmits;
1: + __s32 rtr_solicits;
1: + __s32 rtr_solicit_interval;
1: + __s32 rtr_solicit_max_interval;
1: + __s32 rtr_solicit_delay;
1: + __s32 force_mld_version;
1: + __s32 mldv1_unsolicited_report_interval;
1: + __s32 mldv2_unsolicited_report_interval;
1: + __s32 use_tempaddr;
1: + __s32 temp_valid_lft;
1: + __s32 temp_prefered_lft;
1: + __s32 regen_max_retry;
1: + __s32 max_desync_factor;
1: + __s32 max_addresses;
1: + __s32 accept_ra_defrtr;
1: + __s32 accept_ra_min_hop_limit;
1: + __s32 accept_ra_pinfo;
1: + __s32 ignore_routes_with_linkdown;
1: + __s32 proxy_ndp;
1: + __s32 accept_source_route;
1: + __s32 accept_ra_from_local;
1: + __s32 disable_ipv6;
1: + __s32 drop_unicast_in_l2_multicast;
1: + __s32 accept_dad;
1: + __s32 force_tllao;
1: + __s32 ndisc_notify;
1: + __s32 suppress_frag_ndisc;
1: + __s32 accept_ra_mtu;
1: + __s32 drop_unsolicited_na;
1: + struct ipv6_stable_secret stable_secret;
1: + __s32 use_oif_addrs_only;
1: + __s32 keep_addr_on_down;
1: + __s32 seg6_enabled;
1: + __u32 enhanced_dad;
1: + __u32 addr_gen_mode;
1: + __s32 disable_policy;
1: + __s32 ndisc_tclass;
1: + struct ctl_table_header *sysctl_header;
1: +};
1: +
1: +struct nf_queue_entry;
1: +
1: +struct nf_queue_handler {
1: + int (*outfn)(struct nf_queue_entry *, unsigned int);
1: + void (*nf_hook_drop)(struct net *);
1: +};
1: +
1: +enum nf_log_type {
1: + NF_LOG_TYPE_LOG = 0,
1: + NF_LOG_TYPE_ULOG = 1,
1: + NF_LOG_TYPE_MAX = 2,
1: +};
1: +
1: +typedef u8 u_int8_t;
1: +
1: +struct nf_loginfo;
1: +
1: +typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *);
1: +
1: +struct nf_logger {
1: + char *name;
1: + enum nf_log_type type;
1: + nf_logfn *logfn;
1: + struct module *me;
1: +};
1: +
1: +struct hlist_nulls_head {
1: + struct hlist_nulls_node *first;
1: +};
1: +
1: +struct ct_pcpu {
1: + spinlock_t lock;
1: + struct hlist_nulls_head unconfirmed;
1: + struct hlist_nulls_head dying;
1: +};
1: +
1: +struct ip_conntrack_stat {
1: + unsigned int found;
1: + unsigned int invalid;
1: + unsigned int ignore;
1: + unsigned int insert;
1: + unsigned int insert_failed;
1: + unsigned int drop;
1: + unsigned int early_drop;
1: + unsigned int error;
1: + unsigned int expect_new;
1: + unsigned int expect_create;
1: + unsigned int expect_delete;
1: + unsigned int search_restart;
1: +};
1: +
1: +typedef enum {
1: + SS_FREE = 0,
1: + SS_UNCONNECTED = 1,
1: + SS_CONNECTING = 2,
1: + SS_CONNECTED = 3,
1: + SS_DISCONNECTING = 4,
1: +} socket_state;
1: +
1: +struct socket_wq {
1: + wait_queue_head_t wait;
1: + struct fasync_struct *fasync_list;
1: + long unsigned int flags;
1: + struct callback_head rcu;
1: + long: 64;
1: +};
1: +
1: +struct proto_ops;
1: +
1: +struct socket {
1: + socket_state state;
1: + short int type;
1: + long unsigned int flags;
1: + struct file *file;
1: + struct sock *sk;
1: + const struct proto_ops *ops;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct socket_wq wq;
1: +};
1: +
1: +typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t);
1: +
1: +struct proto_ops {
1: + int family;
1: + struct module *owner;
1: + int (*release)(struct socket *);
1: + int (*bind)(struct socket *, struct sockaddr *, int);
1: + int (*connect)(struct socket *, struct sockaddr *, int, int);
1: + int (*socketpair)(struct socket *, struct socket *);
1: + int (*accept)(struct socket *, struct socket *, int, bool);
1: + int (*getname)(struct socket *, struct sockaddr *, int);
1: + __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
1: + int (*ioctl)(struct socket *, unsigned int, long unsigned int);
1: + int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
1: + int (*gettstamp)(struct socket *, void *, bool, bool);
1: + int (*listen)(struct socket *, int);
1: + int (*shutdown)(struct socket *, int);
1: + int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
1: + int (*getsockopt)(struct socket *, int, int, char *, int *);
1: + int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
1: + int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
1: + int (*sendmsg)(struct socket *, struct msghdr *, size_t);
1: + int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
1: + int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
1: + ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
1: + ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1: + int (*set_peek_off)(struct sock *, int);
1: + int (*peek_len)(struct socket *);
1: + int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
1: + int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
1: + int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
1: + int (*set_rcvlowat)(struct sock *, int);
1: +};
1: +
1: +struct pipe_buf_operations;
1: +
1: +struct pipe_buffer {
1: + struct page *page;
1: + unsigned int offset;
1: + unsigned int len;
1: + const struct pipe_buf_operations *ops;
1: + unsigned int flags;
1: + long unsigned int private;
1: +};
1: +
1: +struct pipe_buf_operations {
1: + int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *);
1: + void (*release)(struct pipe_inode_info *, struct pipe_buffer *);
1: + int (*steal)(struct pipe_inode_info *, struct pipe_buffer *);
1: + bool (*get)(struct pipe_inode_info *, struct pipe_buffer *);
1: +};
1: +
1: +struct skb_ext {
1: + refcount_t refcnt;
1: + u8 offset[1];
1: + u8 chunks;
1: + short: 16;
1: + char data[0];
1: +};
1: +
1: +struct dql {
1: + unsigned int num_queued;
1: + unsigned int adj_limit;
1: + unsigned int last_obj_cnt;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + unsigned int limit;
1: + unsigned int num_completed;
1: + unsigned int prev_ovlimit;
1: + unsigned int prev_num_queued;
1: + unsigned int prev_last_obj_cnt;
1: + unsigned int lowest_slack;
1: + long unsigned int slack_start_time;
1: + unsigned int max_limit;
1: + unsigned int min_limit;
1: + unsigned int slack_hold_time;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct ethtool_drvinfo {
1: + __u32 cmd;
1: + char driver[32];
1: + char version[32];
1: + char fw_version[32];
1: + char bus_info[32];
1: + char erom_version[32];
1: + char reserved2[12];
1: + __u32 n_priv_flags;
1: + __u32 n_stats;
1: + __u32 testinfo_len;
1: + __u32 eedump_len;
1: + __u32 regdump_len;
1: +};
1: +
1: +struct ethtool_wolinfo {
1: + __u32 cmd;
1: + __u32 supported;
1: + __u32 wolopts;
1: + __u8 sopass[6];
1: +};
1: +
1: +struct ethtool_tunable {
1: + __u32 cmd;
1: + __u32 id;
1: + __u32 type_id;
1: + __u32 len;
1: + void *data[0];
1: +};
1: +
1: +struct ethtool_regs {
1: + __u32 cmd;
1: + __u32 version;
1: + __u32 len;
1: + __u8 data[0];
1: +};
1: +
1: +struct ethtool_eeprom {
1: + __u32 cmd;
1: + __u32 magic;
1: + __u32 offset;
1: + __u32 len;
1: + __u8 data[0];
1: +};
1: +
1: +struct ethtool_eee {
1: + __u32 cmd;
1: + __u32 supported;
1: + __u32 advertised;
1: + __u32 lp_advertised;
1: + __u32 eee_active;
1: + __u32 eee_enabled;
1: + __u32 tx_lpi_enabled;
1: + __u32 tx_lpi_timer;
1: + __u32 reserved[2];
1: +};
1: +
1: +struct ethtool_modinfo {
1: + __u32 cmd;
1: + __u32 type;
1: + __u32 eeprom_len;
1: + __u32 reserved[8];
1: +};
1: +
1: +struct ethtool_coalesce {
1: + __u32 cmd;
1: + __u32 rx_coalesce_usecs;
1: + __u32 rx_max_coalesced_frames;
1: + __u32 rx_coalesce_usecs_irq;
1: + __u32 rx_max_coalesced_frames_irq;
1: + __u32 tx_coalesce_usecs;
1: + __u32 tx_max_coalesced_frames;
1: + __u32 tx_coalesce_usecs_irq;
1: + __u32 tx_max_coalesced_frames_irq;
1: + __u32 stats_block_coalesce_usecs;
1: + __u32 use_adaptive_rx_coalesce;
1: + __u32 use_adaptive_tx_coalesce;
1: + __u32 pkt_rate_low;
1: + __u32 rx_coalesce_usecs_low;
1: + __u32 rx_max_coalesced_frames_low;
1: + __u32 tx_coalesce_usecs_low;
1: + __u32 tx_max_coalesced_frames_low;
1: + __u32 pkt_rate_high;
1: + __u32 rx_coalesce_usecs_high;
1: + __u32 rx_max_coalesced_frames_high;
1: + __u32 tx_coalesce_usecs_high;
1: + __u32 tx_max_coalesced_frames_high;
1: + __u32 rate_sample_interval;
1: +};
1: +
1: +struct ethtool_ringparam {
1: + __u32 cmd;
1: + __u32 rx_max_pending;
1: + __u32 rx_mini_max_pending;
1: + __u32 rx_jumbo_max_pending;
1: + __u32 tx_max_pending;
1: + __u32 rx_pending;
1: + __u32 rx_mini_pending;
1: + __u32 rx_jumbo_pending;
1: + __u32 tx_pending;
1: +};
1: +
1: +struct ethtool_channels {
1: + __u32 cmd;
1: + __u32 max_rx;
1: + __u32 max_tx;
1: + __u32 max_other;
1: + __u32 max_combined;
1: + __u32 rx_count;
1: + __u32 tx_count;
1: + __u32 other_count;
1: + __u32 combined_count;
1: +};
1: +
1: +struct ethtool_pauseparam {
1: + __u32 cmd;
1: + __u32 autoneg;
1: + __u32 rx_pause;
1: + __u32 tx_pause;
1: +};
1: +
1: +struct ethtool_test {
1: + __u32 cmd;
1: + __u32 flags;
1: + __u32 reserved;
1: + __u32 len;
1: + __u64 data[0];
1: +};
1: +
1: +struct ethtool_stats {
1: + __u32 cmd;
1: + __u32 n_stats;
1: + __u64 data[0];
1: +};
1: +
1: +struct ethtool_tcpip4_spec {
1: + __be32 ip4src;
1: + __be32 ip4dst;
1: + __be16 psrc;
1: + __be16 pdst;
1: + __u8 tos;
1: +};
1: +
1: +struct ethtool_ah_espip4_spec {
1: + __be32 ip4src;
1: + __be32 ip4dst;
1: + __be32 spi;
1: + __u8 tos;
1: +};
1: +
1: +struct ethtool_usrip4_spec {
1: + __be32 ip4src;
1: + __be32 ip4dst;
1: + __be32 l4_4_bytes;
1: + __u8 tos;
1: + __u8 ip_ver;
1: + __u8 proto;
1: +};
1: +
1: +struct ethtool_tcpip6_spec {
1: + __be32 ip6src[4];
1: + __be32 ip6dst[4];
1: + __be16 psrc;
1: + __be16 pdst;
1: + __u8 tclass;
1: +};
1: +
1: +struct ethtool_ah_espip6_spec {
1: + __be32 ip6src[4];
1: + __be32 ip6dst[4];
1: + __be32 spi;
1: + __u8 tclass;
1: +};
1: +
1: +struct ethtool_usrip6_spec {
1: + __be32 ip6src[4];
1: + __be32 ip6dst[4];
1: + __be32 l4_4_bytes;
1: + __u8 tclass;
1: + __u8 l4_proto;
1: +};
1: +
1: +union ethtool_flow_union {
1: + struct ethtool_tcpip4_spec tcp_ip4_spec;
1: + struct ethtool_tcpip4_spec udp_ip4_spec;
1: + struct ethtool_tcpip4_spec sctp_ip4_spec;
1: + struct ethtool_ah_espip4_spec ah_ip4_spec;
1: + struct ethtool_ah_espip4_spec esp_ip4_spec;
1: + struct ethtool_usrip4_spec usr_ip4_spec;
1: + struct ethtool_tcpip6_spec tcp_ip6_spec;
1: + struct ethtool_tcpip6_spec udp_ip6_spec;
1: + struct ethtool_tcpip6_spec sctp_ip6_spec;
1: + struct ethtool_ah_espip6_spec ah_ip6_spec;
1: + struct ethtool_ah_espip6_spec esp_ip6_spec;
1: + struct ethtool_usrip6_spec usr_ip6_spec;
1: + struct ethhdr ether_spec;
1: + __u8 hdata[52];
1: +};
1: +
1: +struct ethtool_flow_ext {
1: + __u8 padding[2];
1: + unsigned char h_dest[6];
1: + __be16 vlan_etype;
1: + __be16 vlan_tci;
1: + __be32 data[2];
1: +};
1: +
1: +struct ethtool_rx_flow_spec {
1: + __u32 flow_type;
1: + union ethtool_flow_union h_u;
1: + struct ethtool_flow_ext h_ext;
1: + union ethtool_flow_union m_u;
1: + struct ethtool_flow_ext m_ext;
1: + __u64 ring_cookie;
1: + __u32 location;
1: +};
1: +
1: +struct ethtool_rxnfc {
1: + __u32 cmd;
1: + __u32 flow_type;
1: + __u64 data;
1: + struct ethtool_rx_flow_spec fs;
1: + union {
1: + __u32 rule_cnt;
1: + __u32 rss_context;
1: + };
1: + __u32 rule_locs[0];
1: +};
1: +
1: +struct ethtool_flash {
1: + __u32 cmd;
1: + __u32 region;
1: + char data[128];
1: +};
1: +
1: +struct ethtool_dump {
1: + __u32 cmd;
1: + __u32 version;
1: + __u32 flag;
1: + __u32 len;
1: + __u8 data[0];
1: +};
1: +
1: +struct ethtool_ts_info {
1: + __u32 cmd;
1: + __u32 so_timestamping;
1: + __s32 phc_index;
1: + __u32 tx_types;
1: + __u32 tx_reserved[3];
1: + __u32 rx_filters;
1: + __u32 rx_reserved[3];
1: +};
1: +
1: +struct ethtool_fecparam {
1: + __u32 cmd;
1: + __u32 active_fec;
1: + __u32 fec;
1: + __u32 reserved;
1: +};
1: +
1: +struct ethtool_link_settings {
1: + __u32 cmd;
1: + __u32 speed;
1: + __u8 duplex;
1: + __u8 port;
1: + __u8 phy_address;
1: + __u8 autoneg;
1: + __u8 mdio_support;
1: + __u8 eth_tp_mdix;
1: + __u8 eth_tp_mdix_ctrl;
1: + __s8 link_mode_masks_nwords;
1: + __u8 transceiver;
1: + __u8 reserved1[3];
1: + __u32 reserved[7];
1: + __u32 link_mode_masks[0];
1: +};
1: +
1: +enum ethtool_phys_id_state {
1: + ETHTOOL_ID_INACTIVE = 0,
1: + ETHTOOL_ID_ACTIVE = 1,
1: + ETHTOOL_ID_ON = 2,
1: + ETHTOOL_ID_OFF = 3,
1: +};
1: +
1: +struct ethtool_link_ksettings {
1: + struct ethtool_link_settings base;
1: + struct {
1: + long unsigned int supported[2];
1: + long unsigned int advertising[2];
1: + long unsigned int lp_advertising[2];
1: + } link_modes;
1: +};
1: +
1: +struct ethtool_ops {
1: + void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
1: + int (*get_regs_len)(struct net_device *);
1: + void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
1: + void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
1: + int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
1: + u32 (*get_msglevel)(struct net_device *);
1: + void (*set_msglevel)(struct net_device *, u32);
1: + int (*nway_reset)(struct net_device *);
1: + u32 (*get_link)(struct net_device *);
1: + int (*get_eeprom_len)(struct net_device *);
1: + int (*get_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: + int (*set_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: + int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *);
1: + int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *);
1: + void (*get_ringparam)(struct net_device *, struct ethtool_ringparam *);
1: + int (*set_ringparam)(struct net_device *, struct ethtool_ringparam *);
1: + void (*get_pauseparam)(struct net_device *, struct ethtool_pauseparam *);
1: + int (*set_pauseparam)(struct net_device *, struct ethtool_pauseparam *);
1: + void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
1: + void (*get_strings)(struct net_device *, u32, u8 *);
1: + int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
1: + void (*get_ethtool_stats)(struct net_device *, struct ethtool_stats *, u64 *);
1: + int (*begin)(struct net_device *);
1: + void (*complete)(struct net_device *);
1: + u32 (*get_priv_flags)(struct net_device *);
1: + int (*set_priv_flags)(struct net_device *, u32);
1: + int (*get_sset_count)(struct net_device *, int);
1: + int (*get_rxnfc)(struct net_device *, struct ethtool_rxnfc *, u32 *);
1: + int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
1: + int (*flash_device)(struct net_device *, struct ethtool_flash *);
1: + int (*reset)(struct net_device *, u32 *);
1: + u32 (*get_rxfh_key_size)(struct net_device *);
1: + u32 (*get_rxfh_indir_size)(struct net_device *);
1: + int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *);
1: + int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8);
1: + int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32);
1: + int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool);
1: + void (*get_channels)(struct net_device *, struct ethtool_channels *);
1: + int (*set_channels)(struct net_device *, struct ethtool_channels *);
1: + int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
1: + int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *);
1: + int (*set_dump)(struct net_device *, struct ethtool_dump *);
1: + int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
1: + int (*get_module_info)(struct net_device *, struct ethtool_modinfo *);
1: + int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: + int (*get_eee)(struct net_device *, struct ethtool_eee *);
1: + int (*set_eee)(struct net_device *, struct ethtool_eee *);
1: + int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *);
1: + int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *);
1: + int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *);
1: + int (*set_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *);
1: + int (*get_link_ksettings)(struct net_device *, struct ethtool_link_ksettings *);
1: + int (*set_link_ksettings)(struct net_device *, const struct ethtool_link_ksettings *);
1: + int (*get_fecparam)(struct net_device *, struct ethtool_fecparam *);
1: + int (*set_fecparam)(struct net_device *, struct ethtool_fecparam *);
1: + void (*get_ethtool_phy_stats)(struct net_device *, struct ethtool_stats *, u64 *);
1: +};
1: +
1: +struct xdp_mem_info {
1: + u32 type;
1: + u32 id;
1: +};
1: +
1: +struct xdp_rxq_info {
1: + struct net_device *dev;
1: + u32 queue_index;
1: + u32 reg_state;
1: + struct xdp_mem_info mem;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct xdp_frame {
1: + void *data;
1: + u16 len;
1: + u16 headroom;
1: + u16 metasize;
1: + struct xdp_mem_info mem;
1: + struct net_device *dev_rx;
1: +};
1: +
1: +struct nlmsghdr {
1: + __u32 nlmsg_len;
1: + __u16 nlmsg_type;
1: + __u16 nlmsg_flags;
1: + __u32 nlmsg_seq;
1: + __u32 nlmsg_pid;
1: +};
1: +
1: +struct nlattr {
1: + __u16 nla_len;
1: + __u16 nla_type;
1: +};
1: +
1: +struct netlink_ext_ack {
1: + const char *_msg;
1: + const struct nlattr *bad_attr;
1: + u8 cookie[20];
1: + u8 cookie_len;
1: +};
1: +
1: +struct netlink_callback {
1: + struct sk_buff *skb;
1: + const struct nlmsghdr *nlh;
1: + int (*dump)(struct sk_buff *, struct netlink_callback *);
1: + int (*done)(struct netlink_callback *);
1: + void *data;
1: + struct module *module;
1: + struct netlink_ext_ack *extack;
1: + u16 family;
1: + u16 min_dump_alloc;
1: + bool strict_check;
1: + u16 answer_flags;
1: + unsigned int prev_seq;
1: + unsigned int seq;
1: + union {
1: + u8 ctx[48];
1: + long int args[6];
1: + };
1: +};
1: +
1: +struct ndmsg {
1: + __u8 ndm_family;
1: + __u8 ndm_pad1;
1: + __u16 ndm_pad2;
1: + __s32 ndm_ifindex;
1: + __u16 ndm_state;
1: + __u8 ndm_flags;
1: + __u8 ndm_type;
1: +};
1: +
1: +struct rtnl_link_stats64 {
1: + __u64 rx_packets;
1: + __u64 tx_packets;
1: + __u64 rx_bytes;
1: + __u64 tx_bytes;
1: + __u64 rx_errors;
1: + __u64 tx_errors;
1: + __u64 rx_dropped;
1: + __u64 tx_dropped;
1: + __u64 multicast;
1: + __u64 collisions;
1: + __u64 rx_length_errors;
1: + __u64 rx_over_errors;
1: + __u64 rx_crc_errors;
1: + __u64 rx_frame_errors;
1: + __u64 rx_fifo_errors;
1: + __u64 rx_missed_errors;
1: + __u64 tx_aborted_errors;
1: + __u64 tx_carrier_errors;
1: + __u64 tx_fifo_errors;
1: + __u64 tx_heartbeat_errors;
1: + __u64 tx_window_errors;
1: + __u64 rx_compressed;
1: + __u64 tx_compressed;
1: + __u64 rx_nohandler;
1: +};
1: +
1: +struct ifla_vf_guid {
1: + __u32 vf;
1: + __u64 guid;
1: +};
1: +
1: +struct ifla_vf_stats {
1: + __u64 rx_packets;
1: + __u64 tx_packets;
1: + __u64 rx_bytes;
1: + __u64 tx_bytes;
1: + __u64 broadcast;
1: + __u64 multicast;
1: + __u64 rx_dropped;
1: + __u64 tx_dropped;
1: +};
1: +
1: +struct ifla_vf_info {
1: + __u32 vf;
1: + __u8 mac[32];
1: + __u32 vlan;
1: + __u32 qos;
1: + __u32 spoofchk;
1: + __u32 linkstate;
1: + __u32 min_tx_rate;
1: + __u32 max_tx_rate;
1: + __u32 rss_query_en;
1: + __u32 trusted;
1: + __be16 vlan_proto;
1: +};
1: +
1: +struct tc_stats {
1: + __u64 bytes;
1: + __u32 packets;
1: + __u32 drops;
1: + __u32 overlimits;
1: + __u32 bps;
1: + __u32 pps;
1: + __u32 qlen;
1: + __u32 backlog;
1: +};
1: +
1: +struct tc_sizespec {
1: + unsigned char cell_log;
1: + unsigned char size_log;
1: + short int cell_align;
1: + int overhead;
1: + unsigned int linklayer;
1: + unsigned int mpu;
1: + unsigned int mtu;
1: + unsigned int tsize;
1: +};
1: +
1: +enum netdev_tx {
1: + __NETDEV_TX_MIN = -2147483648,
1: + NETDEV_TX_OK = 0,
1: + NETDEV_TX_BUSY = 16,
1: +};
1: +
1: +typedef enum netdev_tx netdev_tx_t;
1: +
1: +struct header_ops {
1: + int (*create)(struct sk_buff *, struct net_device *, short unsigned int, const void *, const void *, unsigned int);
1: + int (*parse)(const struct sk_buff *, unsigned char *);
1: + int (*cache)(const struct neighbour *, struct hh_cache *, __be16);
1: + void (*cache_update)(struct hh_cache *, const struct net_device *, const unsigned char *);
1: + bool (*validate)(const char *, unsigned int);
1: + __be16 (*parse_protocol)(const struct sk_buff *);
1: +};
1: +
1: +struct gro_list {
1: + struct list_head list;
1: + int count;
1: +};
1: +
1: +struct napi_struct {
1: + struct list_head poll_list;
1: + long unsigned int state;
1: + int weight;
1: + long unsigned int gro_bitmask;
1: + int (*poll)(struct napi_struct *, int);
1: + int poll_owner;
1: + struct net_device *dev;
1: + struct gro_list gro_hash[8];
1: + struct sk_buff *skb;
1: + struct list_head rx_list;
1: + int rx_count;
1: + struct hrtimer timer;
1: + struct list_head dev_list;
1: + struct hlist_node napi_hash_node;
1: + unsigned int napi_id;
1: +};
1: +
1: +struct netdev_queue {
1: + struct net_device *dev;
1: + struct Qdisc *qdisc;
1: + struct Qdisc *qdisc_sleeping;
1: + struct kobject kobj;
1: + int numa_node;
1: + long unsigned int tx_maxrate;
1: + long unsigned int trans_timeout;
1: + struct net_device *sb_dev;
1: + long: 64;
1: + spinlock_t _xmit_lock;
1: + int xmit_lock_owner;
1: + long unsigned int trans_start;
1: + long unsigned int state;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct dql dql;
1: +};
1: +
1: +struct qdisc_skb_head {
1: + struct sk_buff *head;
1: + struct sk_buff *tail;
1: + __u32 qlen;
1: + spinlock_t lock;
1: +};
1: +
1: +struct gnet_stats_basic_packed {
1: + __u64 bytes;
1: + __u64 packets;
1: +};
1: +
1: +struct gnet_stats_queue {
1: + __u32 qlen;
1: + __u32 backlog;
1: + __u32 drops;
1: + __u32 requeues;
1: + __u32 overlimits;
1: +};
1: +
1: +struct Qdisc_ops;
1: +
1: +struct qdisc_size_table;
1: +
1: +struct net_rate_estimator;
1: +
1: +struct gnet_stats_basic_cpu;
1: +
1: +struct Qdisc {
1: + int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **);
1: + struct sk_buff * (*dequeue)(struct Qdisc *);
1: + unsigned int flags;
1: + u32 limit;
1: + const struct Qdisc_ops *ops;
1: + struct qdisc_size_table *stab;
1: + struct hlist_node hash;
1: + u32 handle;
1: + u32 parent;
1: + struct netdev_queue *dev_queue;
1: + struct net_rate_estimator *rate_est;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_queue *cpu_qstats;
1: + int padded;
1: + refcount_t refcnt;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct sk_buff_head gso_skb;
1: + struct qdisc_skb_head q;
1: + struct gnet_stats_basic_packed bstats;
1: + seqcount_t running;
1: + struct gnet_stats_queue qstats;
1: + long unsigned int state;
1: + struct Qdisc *next_sched;
1: + struct sk_buff_head skb_bad_txq;
1: + spinlock_t busylock;
1: + spinlock_t seqlock;
1: + bool empty;
1: + struct callback_head rcu;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct rps_map {
1: + unsigned int len;
1: + struct callback_head rcu;
1: + u16 cpus[0];
1: +};
1: +
1: +struct rps_dev_flow {
1: + u16 cpu;
1: + u16 filter;
1: + unsigned int last_qtail;
1: +};
1: +
1: +struct rps_dev_flow_table {
1: + unsigned int mask;
1: + struct callback_head rcu;
1: + struct rps_dev_flow flows[0];
1: +};
1: +
1: +struct rps_sock_flow_table {
1: + u32 mask;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + u32 ents[0];
1: +};
1: +
1: +struct netdev_rx_queue {
1: + struct rps_map *rps_map;
1: + struct rps_dev_flow_table *rps_flow_table;
1: + struct kobject kobj;
1: + struct net_device *dev;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct xdp_rxq_info xdp_rxq;
1: +};
1: +
1: +struct xps_map {
1: + unsigned int len;
1: + unsigned int alloc_len;
1: + struct callback_head rcu;
1: + u16 queues[0];
1: +};
1: +
1: +struct xps_dev_maps {
1: + struct callback_head rcu;
1: + struct xps_map *attr_map[0];
1: +};
1: +
1: +struct netdev_phys_item_id {
1: + unsigned char id[32];
1: + unsigned char id_len;
1: +};
1: +
1: +enum tc_setup_type {
1: + TC_SETUP_QDISC_MQPRIO = 0,
1: + TC_SETUP_CLSU32 = 1,
1: + TC_SETUP_CLSFLOWER = 2,
1: + TC_SETUP_CLSMATCHALL = 3,
1: + TC_SETUP_CLSBPF = 4,
1: + TC_SETUP_BLOCK = 5,
1: + TC_SETUP_QDISC_CBS = 6,
1: + TC_SETUP_QDISC_RED = 7,
1: + TC_SETUP_QDISC_PRIO = 8,
1: + TC_SETUP_QDISC_MQ = 9,
1: + TC_SETUP_QDISC_ETF = 10,
1: + TC_SETUP_ROOT_QDISC = 11,
1: + TC_SETUP_QDISC_GRED = 12,
1: + TC_SETUP_QDISC_TAPRIO = 13,
1: + TC_SETUP_FT = 14,
1: +};
1: +
1: +enum bpf_netdev_command {
1: + XDP_SETUP_PROG = 0,
1: + XDP_SETUP_PROG_HW = 1,
1: + XDP_QUERY_PROG = 2,
1: + XDP_QUERY_PROG_HW = 3,
1: + BPF_OFFLOAD_MAP_ALLOC = 4,
1: + BPF_OFFLOAD_MAP_FREE = 5,
1: + XDP_SETUP_XSK_UMEM = 6,
1: +};
1: +
1: +struct xdp_umem;
1: +
1: +struct netdev_bpf {
1: + enum bpf_netdev_command command;
1: + union {
1: + struct {
1: + u32 flags;
1: + struct bpf_prog *prog;
1: + struct netlink_ext_ack *extack;
1: + };
1: + struct {
1: + u32 prog_id;
1: + u32 prog_flags;
1: + };
1: + struct {
1: + struct bpf_offloaded_map *offmap;
1: + };
1: + struct {
1: + struct xdp_umem *umem;
1: + u16 queue_id;
1: + } xsk;
1: + };
1: +};
1: +
1: +struct dev_ifalias {
1: + struct callback_head rcuhead;
1: + char ifalias[0];
1: +};
1: +
1: +struct netdev_name_node {
1: + struct hlist_node hlist;
1: + struct list_head list;
1: + struct net_device *dev;
1: + const char *name;
1: +};
1: +
1: +struct udp_tunnel_info;
1: +
1: +struct devlink_port;
1: +
1: +struct net_device_ops {
1: + int (*ndo_init)(struct net_device *);
1: + void (*ndo_uninit)(struct net_device *);
1: + int (*ndo_open)(struct net_device *);
1: + int (*ndo_stop)(struct net_device *);
1: + netdev_tx_t (*ndo_start_xmit)(struct sk_buff *, struct net_device *);
1: + netdev_features_t (*ndo_features_check)(struct sk_buff *, struct net_device *, netdev_features_t);
1: + u16 (*ndo_select_queue)(struct net_device *, struct sk_buff *, struct net_device *);
1: + void (*ndo_change_rx_flags)(struct net_device *, int);
1: + void (*ndo_set_rx_mode)(struct net_device *);
1: + int (*ndo_set_mac_address)(struct net_device *, void *);
1: + int (*ndo_validate_addr)(struct net_device *);
1: + int (*ndo_do_ioctl)(struct net_device *, struct ifreq *, int);
1: + int (*ndo_set_config)(struct net_device *, struct ifmap *);
1: + int (*ndo_change_mtu)(struct net_device *, int);
1: + int (*ndo_neigh_setup)(struct net_device *, struct neigh_parms *);
1: + void (*ndo_tx_timeout)(struct net_device *);
1: + void (*ndo_get_stats64)(struct net_device *, struct rtnl_link_stats64 *);
1: + bool (*ndo_has_offload_stats)(const struct net_device *, int);
1: + int (*ndo_get_offload_stats)(int, const struct net_device *, void *);
1: + struct net_device_stats * (*ndo_get_stats)(struct net_device *);
1: + int (*ndo_vlan_rx_add_vid)(struct net_device *, __be16, u16);
1: + int (*ndo_vlan_rx_kill_vid)(struct net_device *, __be16, u16);
1: + void (*ndo_poll_controller)(struct net_device *);
1: + int (*ndo_netpoll_setup)(struct net_device *, struct netpoll_info *);
1: + void (*ndo_netpoll_cleanup)(struct net_device *);
1: + int (*ndo_set_vf_mac)(struct net_device *, int, u8 *);
1: + int (*ndo_set_vf_vlan)(struct net_device *, int, u16, u8, __be16);
1: + int (*ndo_set_vf_rate)(struct net_device *, int, int, int);
1: + int (*ndo_set_vf_spoofchk)(struct net_device *, int, bool);
1: + int (*ndo_set_vf_trust)(struct net_device *, int, bool);
1: + int (*ndo_get_vf_config)(struct net_device *, int, struct ifla_vf_info *);
1: + int (*ndo_set_vf_link_state)(struct net_device *, int, int);
1: + int (*ndo_get_vf_stats)(struct net_device *, int, struct ifla_vf_stats *);
1: + int (*ndo_set_vf_port)(struct net_device *, int, struct nlattr **);
1: + int (*ndo_get_vf_port)(struct net_device *, int, struct sk_buff *);
1: + int (*ndo_get_vf_guid)(struct net_device *, int, struct ifla_vf_guid *, struct ifla_vf_guid *);
1: + int (*ndo_set_vf_guid)(struct net_device *, int, u64, int);
1: + int (*ndo_set_vf_rss_query_en)(struct net_device *, int, bool);
1: + int (*ndo_setup_tc)(struct net_device *, enum tc_setup_type, void *);
1: + int (*ndo_rx_flow_steer)(struct net_device *, const struct sk_buff *, u16, u32);
1: + int (*ndo_add_slave)(struct net_device *, struct net_device *, struct netlink_ext_ack *);
1: + int (*ndo_del_slave)(struct net_device *, struct net_device *);
1: + netdev_features_t (*ndo_fix_features)(struct net_device *, netdev_features_t);
1: + int (*ndo_set_features)(struct net_device *, netdev_features_t);
1: + int (*ndo_neigh_construct)(struct net_device *, struct neighbour *);
1: + void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *);
1: + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *);
1: + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16);
1: + int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *);
1: + int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *);
1: + int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *);
1: + int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int);
1: + int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16);
1: + int (*ndo_change_carrier)(struct net_device *, bool);
1: + int (*ndo_get_phys_port_id)(struct net_device *, struct netdev_phys_item_id *);
1: + int (*ndo_get_port_parent_id)(struct net_device *, struct netdev_phys_item_id *);
1: + int (*ndo_get_phys_port_name)(struct net_device *, char *, size_t);
1: + void (*ndo_udp_tunnel_add)(struct net_device *, struct udp_tunnel_info *);
1: + void (*ndo_udp_tunnel_del)(struct net_device *, struct udp_tunnel_info *);
1: + void * (*ndo_dfwd_add_station)(struct net_device *, struct net_device *);
1: + void (*ndo_dfwd_del_station)(struct net_device *, void *);
1: + int (*ndo_set_tx_maxrate)(struct net_device *, int, u32);
1: + int (*ndo_get_iflink)(const struct net_device *);
1: + int (*ndo_change_proto_down)(struct net_device *, bool);
1: + int (*ndo_fill_metadata_dst)(struct net_device *, struct sk_buff *);
1: + void (*ndo_set_rx_headroom)(struct net_device *, int);
1: + int (*ndo_bpf)(struct net_device *, struct netdev_bpf *);
1: + int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32);
1: + int (*ndo_xsk_wakeup)(struct net_device *, u32, u32);
1: + struct devlink_port * (*ndo_get_devlink_port)(struct net_device *);
1: +};
1: +
1: +struct neigh_parms {
1: + possible_net_t net;
1: + struct net_device *dev;
1: + struct list_head list;
1: + int (*neigh_setup)(struct neighbour *);
1: + struct neigh_table *tbl;
1: + void *sysctl_table;
1: + int dead;
1: + refcount_t refcnt;
1: + struct callback_head callback_head;
1: + int reachable_time;
1: + int data[13];
1: + long unsigned int data_state[1];
1: +};
1: +
1: +struct pcpu_lstats {
1: + u64_stats_t packets;
1: + u64_stats_t bytes;
1: + struct u64_stats_sync syncp;
1: +};
1: +
1: +struct pcpu_sw_netstats {
1: + u64 rx_packets;
1: + u64 rx_bytes;
1: + u64 tx_packets;
1: + u64 tx_bytes;
1: + struct u64_stats_sync syncp;
1: +};
1: +
1: +struct nd_opt_hdr;
1: +
1: +struct ndisc_options;
1: +
1: +struct prefix_info;
1: +
1: +struct ndisc_ops {
1: + int (*is_useropt)(u8);
1: + int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *);
1: + void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *);
1: + int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **);
1: + void (*fill_addr_option)(const struct net_device *, struct sk_buff *, u8, const u8 *);
1: + void (*prefix_rcv_add_addr)(struct net *, struct net_device *, const struct prefix_info *, struct inet6_dev *, struct in6_addr *, int, u32, bool, bool, __u32, u32, bool);
1: +};
1: +
1: +struct ipv6_devstat {
1: + struct proc_dir_entry *proc_dir_entry;
1: + struct ipstats_mib *ipv6;
1: + struct icmpv6_mib_device *icmpv6dev;
1: + struct icmpv6msg_mib_device *icmpv6msgdev;
1: +};
1: +
1: +struct ifmcaddr6;
1: +
1: +struct ifacaddr6;
1: +
1: +struct inet6_dev {
1: + struct net_device *dev;
1: + struct list_head addr_list;
1: + struct ifmcaddr6 *mc_list;
1: + struct ifmcaddr6 *mc_tomb;
1: + spinlock_t mc_lock;
1: + unsigned char mc_qrv;
1: + unsigned char mc_gq_running;
1: + unsigned char mc_ifc_count;
1: + unsigned char mc_dad_count;
1: + long unsigned int mc_v1_seen;
1: + long unsigned int mc_qi;
1: + long unsigned int mc_qri;
1: + long unsigned int mc_maxdelay;
1: + struct timer_list mc_gq_timer;
1: + struct timer_list mc_ifc_timer;
1: + struct timer_list mc_dad_timer;
1: + struct ifacaddr6 *ac_list;
1: + rwlock_t lock;
1: + refcount_t refcnt;
1: + __u32 if_flags;
1: + int dead;
1: + u32 desync_factor;
1: + u8 rndid[8];
1: + struct list_head tempaddr_list;
1: + struct in6_addr token;
1: + struct neigh_parms *nd_parms;
1: + struct ipv6_devconf cnf;
1: + struct ipv6_devstat stats;
1: + struct timer_list rs_timer;
1: + __s32 rs_interval;
1: + __u8 rs_probes;
1: + long unsigned int tstamp;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcf_proto;
1: +
1: +struct mini_Qdisc {
1: + struct tcf_proto *filter_list;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_queue *cpu_qstats;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct rtnl_link_ops {
1: + struct list_head list;
1: + const char *kind;
1: + size_t priv_size;
1: + void (*setup)(struct net_device *);
1: + unsigned int maxtype;
1: + const struct nla_policy *policy;
1: + int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + void (*dellink)(struct net_device *, struct list_head *);
1: + size_t (*get_size)(const struct net_device *);
1: + int (*fill_info)(struct sk_buff *, const struct net_device *);
1: + size_t (*get_xstats_size)(const struct net_device *);
1: + int (*fill_xstats)(struct sk_buff *, const struct net_device *);
1: + unsigned int (*get_num_tx_queues)();
1: + unsigned int (*get_num_rx_queues)();
1: + unsigned int slave_maxtype;
1: + const struct nla_policy *slave_policy;
1: + int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
1: + int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
1: + struct net * (*get_link_net)(const struct net_device *);
1: + size_t (*get_linkxstats_size)(const struct net_device *, int);
1: + int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
1: +};
1: +
1: +struct sd_flow_limit {
1: + u64 count;
1: + unsigned int num_buckets;
1: + unsigned int history_head;
1: + u16 history[128];
1: + u8 buckets[0];
1: +};
1: +
1: +struct softnet_data {
1: + struct list_head poll_list;
1: + struct sk_buff_head process_queue;
1: + unsigned int processed;
1: + unsigned int time_squeeze;
1: + unsigned int received_rps;
1: + struct softnet_data *rps_ipi_list;
1: + struct sd_flow_limit *flow_limit;
1: + struct Qdisc *output_queue;
1: + struct Qdisc **output_queue_tailp;
1: + struct sk_buff *completion_queue;
1: + struct {
1: + u16 recursion;
1: + u8 more;
1: + } xmit;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + unsigned int input_queue_head;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + call_single_data_t csd;
1: + struct softnet_data *rps_ipi_next;
1: + unsigned int cpu;
1: + unsigned int input_queue_tail;
1: + unsigned int dropped;
1: + struct sk_buff_head input_pkt_queue;
1: + struct napi_struct backlog;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +enum {
1: + RTAX_UNSPEC = 0,
1: + RTAX_LOCK = 1,
1: + RTAX_MTU = 2,
1: + RTAX_WINDOW = 3,
1: + RTAX_RTT = 4,
1: + RTAX_RTTVAR = 5,
1: + RTAX_SSTHRESH = 6,
1: + RTAX_CWND = 7,
1: + RTAX_ADVMSS = 8,
1: + RTAX_REORDERING = 9,
1: + RTAX_HOPLIMIT = 10,
1: + RTAX_INITCWND = 11,
1: + RTAX_FEATURES = 12,
1: + RTAX_RTO_MIN = 13,
1: + RTAX_INITRWND = 14,
1: + RTAX_QUICKACK = 15,
1: + RTAX_CC_ALGO = 16,
1: + RTAX_FASTOPEN_NO_COOKIE = 17,
1: + __RTAX_MAX = 18,
1: +};
1: +
1: +struct tcmsg {
1: + unsigned char tcm_family;
1: + unsigned char tcm__pad1;
1: + short unsigned int tcm__pad2;
1: + int tcm_ifindex;
1: + __u32 tcm_handle;
1: + __u32 tcm_parent;
1: + __u32 tcm_info;
1: +};
1: +
1: +struct gnet_stats_basic_cpu {
1: + struct gnet_stats_basic_packed bstats;
1: + struct u64_stats_sync syncp;
1: +};
1: +
1: +struct gnet_dump {
1: + spinlock_t *lock;
1: + struct sk_buff *skb;
1: + struct nlattr *tail;
1: + int compat_tc_stats;
1: + int compat_xstats;
1: + int padattr;
1: + void *xstats;
1: + int xstats_len;
1: + struct tc_stats tc_stats;
1: +};
1: +
1: +struct nla_policy {
1: + u8 type;
1: + u8 validation_type;
1: + u16 len;
1: + union {
1: + const void *validation_data;
1: + struct {
1: + s16 min;
1: + s16 max;
1: + };
1: + int (*validate)(const struct nlattr *, struct netlink_ext_ack *);
1: + u16 strict_start_type;
1: + };
1: +};
1: +
1: +struct nl_info {
1: + struct nlmsghdr *nlh;
1: + struct net *nl_net;
1: + u32 portid;
1: + u8 skip_notify: 1;
1: + u8 skip_notify_kernel: 1;
1: +};
1: +
1: +struct rhash_lock_head {};
1: +
1: +struct flow_block {
1: + struct list_head cb_list;
1: +};
1: +
1: +typedef int flow_setup_cb_t(enum tc_setup_type, void *, void *);
1: +
1: +struct qdisc_size_table {
1: + struct callback_head rcu;
1: + struct list_head list;
1: + struct tc_sizespec szopts;
1: + int refcnt;
1: + u16 data[0];
1: +};
1: +
1: +struct Qdisc_class_ops;
1: +
1: +struct Qdisc_ops {
1: + struct Qdisc_ops *next;
1: + const struct Qdisc_class_ops *cl_ops;
1: + char id[16];
1: + int priv_size;
1: + unsigned int static_flags;
1: + int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **);
1: + struct sk_buff * (*dequeue)(struct Qdisc *);
1: + struct sk_buff * (*peek)(struct Qdisc *);
1: + int (*init)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *);
1: + void (*reset)(struct Qdisc *);
1: + void (*destroy)(struct Qdisc *);
1: + int (*change)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *);
1: + void (*attach)(struct Qdisc *);
1: + int (*change_tx_queue_len)(struct Qdisc *, unsigned int);
1: + int (*dump)(struct Qdisc *, struct sk_buff *);
1: + int (*dump_stats)(struct Qdisc *, struct gnet_dump *);
1: + void (*ingress_block_set)(struct Qdisc *, u32);
1: + void (*egress_block_set)(struct Qdisc *, u32);
1: + u32 (*ingress_block_get)(struct Qdisc *);
1: + u32 (*egress_block_get)(struct Qdisc *);
1: + struct module *owner;
1: +};
1: +
1: +struct qdisc_walker;
1: +
1: +struct tcf_block;
1: +
1: +struct Qdisc_class_ops {
1: + unsigned int flags;
1: + struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *);
1: + int (*graft)(struct Qdisc *, long unsigned int, struct Qdisc *, struct Qdisc **, struct netlink_ext_ack *);
1: + struct Qdisc * (*leaf)(struct Qdisc *, long unsigned int);
1: + void (*qlen_notify)(struct Qdisc *, long unsigned int);
1: + long unsigned int (*find)(struct Qdisc *, u32);
1: + int (*change)(struct Qdisc *, u32, u32, struct nlattr **, long unsigned int *, struct netlink_ext_ack *);
1: + int (*delete)(struct Qdisc *, long unsigned int);
1: + void (*walk)(struct Qdisc *, struct qdisc_walker *);
1: + struct tcf_block * (*tcf_block)(struct Qdisc *, long unsigned int, struct netlink_ext_ack *);
1: + long unsigned int (*bind_tcf)(struct Qdisc *, long unsigned int, u32);
1: + void (*unbind_tcf)(struct Qdisc *, long unsigned int);
1: + int (*dump)(struct Qdisc *, long unsigned int, struct sk_buff *, struct tcmsg *);
1: + int (*dump_stats)(struct Qdisc *, long unsigned int, struct gnet_dump *);
1: +};
1: +
1: +struct tcf_chain;
1: +
1: +struct tcf_block {
1: + struct mutex lock;
1: + struct list_head chain_list;
1: + u32 index;
1: + refcount_t refcnt;
1: + struct net *net;
1: + struct Qdisc *q;
1: + struct rw_semaphore cb_lock;
1: + struct flow_block flow_block;
1: + struct list_head owner_list;
1: + bool keep_dst;
1: + atomic_t offloadcnt;
1: + unsigned int nooffloaddevcnt;
1: + unsigned int lockeddevcnt;
1: + struct {
1: + struct tcf_chain *chain;
1: + struct list_head filter_chain_list;
1: + } chain0;
1: + struct callback_head rcu;
1: + struct hlist_head proto_destroy_ht[128];
1: + struct mutex proto_destroy_lock;
1: +};
1: +
1: +struct tcf_result;
1: +
1: +struct tcf_proto_ops;
1: +
1: +struct tcf_proto {
1: + struct tcf_proto *next;
1: + void *root;
1: + int (*classify)(struct sk_buff *, const struct tcf_proto *, struct tcf_result *);
1: + __be16 protocol;
1: + u32 prio;
1: + void *data;
1: + const struct tcf_proto_ops *ops;
1: + struct tcf_chain *chain;
1: + spinlock_t lock;
1: + bool deleting;
1: + refcount_t refcnt;
1: + struct callback_head rcu;
1: + struct hlist_node destroy_ht_node;
1: +};
1: +
1: +struct tcf_result {
1: + union {
1: + struct {
1: + long unsigned int class;
1: + u32 classid;
1: + };
1: + const struct tcf_proto *goto_tp;
1: + struct {
1: + bool ingress;
1: + struct gnet_stats_queue *qstats;
1: + };
1: + };
1: +};
1: +
1: +struct tcf_walker;
1: +
1: +struct tcf_proto_ops {
1: + struct list_head head;
1: + char kind[16];
1: + int (*classify)(struct sk_buff *, const struct tcf_proto *, struct tcf_result *);
1: + int (*init)(struct tcf_proto *);
1: + void (*destroy)(struct tcf_proto *, bool, struct netlink_ext_ack *);
1: + void * (*get)(struct tcf_proto *, u32);
1: + void (*put)(struct tcf_proto *, void *);
1: + int (*change)(struct net *, struct sk_buff *, struct tcf_proto *, long unsigned int, u32, struct nlattr **, void **, bool, bool, struct netlink_ext_ack *);
1: + int (*delete)(struct tcf_proto *, void *, bool *, bool, struct netlink_ext_ack *);
1: + bool (*delete_empty)(struct tcf_proto *);
1: + void (*walk)(struct tcf_proto *, struct tcf_walker *, bool);
1: + int (*reoffload)(struct tcf_proto *, bool, flow_setup_cb_t *, void *, struct netlink_ext_ack *);
1: + void (*hw_add)(struct tcf_proto *, void *);
1: + void (*hw_del)(struct tcf_proto *, void *);
1: + void (*bind_class)(void *, u32, long unsigned int);
1: + void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *);
1: + void (*tmplt_destroy)(void *);
1: + int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool);
1: + int (*tmplt_dump)(struct sk_buff *, struct net *, void *);
1: + struct module *owner;
1: + int flags;
1: +};
1: +
1: +struct tcf_chain {
1: + struct mutex filter_chain_lock;
1: + struct tcf_proto *filter_chain;
1: + struct list_head list;
1: + struct tcf_block *block;
1: + u32 index;
1: + unsigned int refcnt;
1: + unsigned int action_refcnt;
1: + bool explicitly_created;
1: + bool flushing;
1: + const struct tcf_proto_ops *tmplt_ops;
1: + void *tmplt_priv;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct sock_fprog_kern {
1: + u16 len;
1: + struct sock_filter *filter;
1: +};
1: +
1: +struct sk_filter {
1: + refcount_t refcnt;
1: + struct callback_head rcu;
1: + struct bpf_prog *prog;
1: +};
1: +
1: +struct bpf_redirect_info {
1: + u32 flags;
1: + u32 tgt_index;
1: + void *tgt_value;
1: + struct bpf_map *map;
1: + struct bpf_map *map_to_flush;
1: + u32 kern_flags;
1: +};
1: +
1: +enum {
1: + NEIGH_VAR_MCAST_PROBES = 0,
1: + NEIGH_VAR_UCAST_PROBES = 1,
1: + NEIGH_VAR_APP_PROBES = 2,
1: + NEIGH_VAR_MCAST_REPROBES = 3,
1: + NEIGH_VAR_RETRANS_TIME = 4,
1: + NEIGH_VAR_BASE_REACHABLE_TIME = 5,
1: + NEIGH_VAR_DELAY_PROBE_TIME = 6,
1: + NEIGH_VAR_GC_STALETIME = 7,
1: + NEIGH_VAR_QUEUE_LEN_BYTES = 8,
1: + NEIGH_VAR_PROXY_QLEN = 9,
1: + NEIGH_VAR_ANYCAST_DELAY = 10,
1: + NEIGH_VAR_PROXY_DELAY = 11,
1: + NEIGH_VAR_LOCKTIME = 12,
1: + NEIGH_VAR_QUEUE_LEN = 13,
1: + NEIGH_VAR_RETRANS_TIME_MS = 14,
1: + NEIGH_VAR_BASE_REACHABLE_TIME_MS = 15,
1: + NEIGH_VAR_GC_INTERVAL = 16,
1: + NEIGH_VAR_GC_THRESH1 = 17,
1: + NEIGH_VAR_GC_THRESH2 = 18,
1: + NEIGH_VAR_GC_THRESH3 = 19,
1: + NEIGH_VAR_MAX = 20,
1: +};
1: +
1: +struct pneigh_entry;
1: +
1: +struct neigh_statistics;
1: +
1: +struct neigh_hash_table;
1: +
1: +struct neigh_table {
1: + int family;
1: + unsigned int entry_size;
1: + unsigned int key_len;
1: + __be16 protocol;
1: + __u32 (*hash)(const void *, const struct net_device *, __u32 *);
1: + bool (*key_eq)(const struct neighbour *, const void *);
1: + int (*constructor)(struct neighbour *);
1: + int (*pconstructor)(struct pneigh_entry *);
1: + void (*pdestructor)(struct pneigh_entry *);
1: + void (*proxy_redo)(struct sk_buff *);
1: + bool (*allow_add)(const struct net_device *, struct netlink_ext_ack *);
1: + char *id;
1: + struct neigh_parms parms;
1: + struct list_head parms_list;
1: + int gc_interval;
1: + int gc_thresh1;
1: + int gc_thresh2;
1: + int gc_thresh3;
1: + long unsigned int last_flush;
1: + struct delayed_work gc_work;
1: + struct timer_list proxy_timer;
1: + struct sk_buff_head proxy_queue;
1: + atomic_t entries;
1: + atomic_t gc_entries;
1: + struct list_head gc_list;
1: + rwlock_t lock;
1: + long unsigned int last_rand;
1: + struct neigh_statistics *stats;
1: + struct neigh_hash_table *nht;
1: + struct pneigh_entry **phash_buckets;
1: +};
1: +
1: +struct neigh_statistics {
1: + long unsigned int allocs;
1: + long unsigned int destroys;
1: + long unsigned int hash_grows;
1: + long unsigned int res_failed;
1: + long unsigned int lookups;
1: + long unsigned int hits;
1: + long unsigned int rcv_probes_mcast;
1: + long unsigned int rcv_probes_ucast;
1: + long unsigned int periodic_gc_runs;
1: + long unsigned int forced_gc_runs;
1: + long unsigned int unres_discards;
1: + long unsigned int table_fulls;
1: +};
1: +
1: +struct neigh_ops {
1: + int family;
1: + void (*solicit)(struct neighbour *, struct sk_buff *);
1: + void (*error_report)(struct neighbour *, struct sk_buff *);
1: + int (*output)(struct neighbour *, struct sk_buff *);
1: + int (*connected_output)(struct neighbour *, struct sk_buff *);
1: +};
1: +
1: +struct pneigh_entry {
1: + struct pneigh_entry *next;
1: + possible_net_t net;
1: + struct net_device *dev;
1: + u8 flags;
1: + u8 protocol;
1: + u8 key[0];
1: +};
1: +
1: +struct neigh_hash_table {
1: + struct neighbour **hash_buckets;
1: + unsigned int hash_shift;
1: + __u32 hash_rnd[4];
1: + struct callback_head rcu;
1: +};
1: +
1: +enum {
1: + TCP_ESTABLISHED = 1,
1: + TCP_SYN_SENT = 2,
1: + TCP_SYN_RECV = 3,
1: + TCP_FIN_WAIT1 = 4,
1: + TCP_FIN_WAIT2 = 5,
1: + TCP_TIME_WAIT = 6,
1: + TCP_CLOSE = 7,
1: + TCP_CLOSE_WAIT = 8,
1: + TCP_LAST_ACK = 9,
1: + TCP_LISTEN = 10,
1: + TCP_CLOSING = 11,
1: + TCP_NEW_SYN_RECV = 12,
1: + TCP_MAX_STATES = 13,
1: +};
1: +
1: +struct fib_rule_hdr {
1: + __u8 family;
1: + __u8 dst_len;
1: + __u8 src_len;
1: + __u8 tos;
1: + __u8 table;
1: + __u8 res1;
1: + __u8 res2;
1: + __u8 action;
1: + __u32 flags;
1: +};
1: +
1: +struct fib_rule_port_range {
1: + __u16 start;
1: + __u16 end;
1: +};
1: +
1: +struct fib_kuid_range {
1: + kuid_t start;
1: + kuid_t end;
1: +};
1: +
1: +struct fib_rule {
1: + struct list_head list;
1: + int iifindex;
1: + int oifindex;
1: + u32 mark;
1: + u32 mark_mask;
1: + u32 flags;
1: + u32 table;
1: + u8 action;
1: + u8 l3mdev;
1: + u8 proto;
1: + u8 ip_proto;
1: + u32 target;
1: + __be64 tun_id;
1: + struct fib_rule *ctarget;
1: + struct net *fr_net;
1: + refcount_t refcnt;
1: + u32 pref;
1: + int suppress_ifgroup;
1: + int suppress_prefixlen;
1: + char iifname[16];
1: + char oifname[16];
1: + struct fib_kuid_range uid_range;
1: + struct fib_rule_port_range sport_range;
1: + struct fib_rule_port_range dport_range;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct fib_lookup_arg {
1: + void *lookup_ptr;
1: + const void *lookup_data;
1: + void *result;
1: + struct fib_rule *rule;
1: + u32 table;
1: + int flags;
1: +};
1: +
1: +struct smc_hashinfo;
1: +
1: +struct request_sock_ops;
1: +
1: +struct timewait_sock_ops;
1: +
1: +struct udp_table;
1: +
1: +struct raw_hashinfo;
1: +
1: +struct proto {
1: + void (*close)(struct sock *, long int);
1: + int (*pre_connect)(struct sock *, struct sockaddr *, int);
1: + int (*connect)(struct sock *, struct sockaddr *, int);
1: + int (*disconnect)(struct sock *, int);
1: + struct sock * (*accept)(struct sock *, int, int *, bool);
1: + int (*ioctl)(struct sock *, int, long unsigned int);
1: + int (*init)(struct sock *);
1: + void (*destroy)(struct sock *);
1: + void (*shutdown)(struct sock *, int);
1: + int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*getsockopt)(struct sock *, int, int, char *, int *);
1: + void (*keepalive)(struct sock *, int);
1: + int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: + int (*compat_ioctl)(struct sock *, unsigned int, long unsigned int);
1: + int (*sendmsg)(struct sock *, struct msghdr *, size_t);
1: + int (*recvmsg)(struct sock *, struct msghdr *, size_t, int, int, int *);
1: + int (*sendpage)(struct sock *, struct page *, int, size_t, int);
1: + int (*bind)(struct sock *, struct sockaddr *, int);
1: + int (*backlog_rcv)(struct sock *, struct sk_buff *);
1: + void (*release_cb)(struct sock *);
1: + int (*hash)(struct sock *);
1: + void (*unhash)(struct sock *);
1: + void (*rehash)(struct sock *);
1: + int (*get_port)(struct sock *, short unsigned int);
1: + unsigned int inuse_idx;
1: + bool (*stream_memory_free)(const struct sock *, int);
1: + bool (*stream_memory_read)(const struct sock *);
1: + void (*enter_memory_pressure)(struct sock *);
1: + void (*leave_memory_pressure)(struct sock *);
1: + atomic_long_t *memory_allocated;
1: + struct percpu_counter *sockets_allocated;
1: + long unsigned int *memory_pressure;
1: + long int *sysctl_mem;
1: + int *sysctl_wmem;
1: + int *sysctl_rmem;
1: + u32 sysctl_wmem_offset;
1: + u32 sysctl_rmem_offset;
1: + int max_header;
1: + bool no_autobind;
1: + struct kmem_cache *slab;
1: + unsigned int obj_size;
1: + slab_flags_t slab_flags;
1: + unsigned int useroffset;
1: + unsigned int usersize;
1: + struct percpu_counter *orphan_count;
1: + struct request_sock_ops *rsk_prot;
1: + struct timewait_sock_ops *twsk_prot;
1: + union {
1: + struct inet_hashinfo *hashinfo;
1: + struct udp_table *udp_table;
1: + struct raw_hashinfo *raw_hash;
1: + struct smc_hashinfo *smc_hash;
1: + } h;
1: + struct module *owner;
1: + char name[32];
1: + struct list_head node;
1: + int (*diag_destroy)(struct sock *, int);
1: +};
1: +
1: +struct request_sock;
1: +
1: +struct request_sock_ops {
1: + int family;
1: + unsigned int obj_size;
1: + struct kmem_cache *slab;
1: + char *slab_name;
1: + int (*rtx_syn_ack)(const struct sock *, struct request_sock *);
1: + void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *);
1: + void (*send_reset)(const struct sock *, struct sk_buff *);
1: + void (*destructor)(struct request_sock *);
1: + void (*syn_ack_timeout)(const struct request_sock *);
1: +};
1: +
1: +struct timewait_sock_ops {
1: + struct kmem_cache *twsk_slab;
1: + char *twsk_slab_name;
1: + unsigned int twsk_obj_size;
1: + int (*twsk_unique)(struct sock *, struct sock *, void *);
1: + void (*twsk_destructor)(struct sock *);
1: +};
1: +
1: +struct request_sock {
1: + struct sock_common __req_common;
1: + struct request_sock *dl_next;
1: + u16 mss;
1: + u8 num_retrans;
1: + u8 cookie_ts: 1;
1: + u8 num_timeout: 7;
1: + u32 ts_recent;
1: + struct timer_list rsk_timer;
1: + const struct request_sock_ops *rsk_ops;
1: + struct sock *sk;
1: + u32 *saved_syn;
1: + u32 secid;
1: + u32 peer_secid;
1: +};
1: +
1: +enum tsq_enum {
1: + TSQ_THROTTLED = 0,
1: + TSQ_QUEUED = 1,
1: + TCP_TSQ_DEFERRED = 2,
1: + TCP_WRITE_TIMER_DEFERRED = 3,
1: + TCP_DELACK_TIMER_DEFERRED = 4,
1: + TCP_MTU_REDUCED_DEFERRED = 5,
1: +};
1: +
1: +struct static_key_false_deferred {
1: + struct static_key_false key;
1: + long unsigned int timeout;
1: + struct delayed_work work;
1: +};
1: +
1: +struct ip6_sf_list {
1: + struct ip6_sf_list *sf_next;
1: + struct in6_addr sf_addr;
1: + long unsigned int sf_count[2];
1: + unsigned char sf_gsresp;
1: + unsigned char sf_oldin;
1: + unsigned char sf_crcount;
1: +};
1: +
1: +struct ifmcaddr6 {
1: + struct in6_addr mca_addr;
1: + struct inet6_dev *idev;
1: + struct ifmcaddr6 *next;
1: + struct ip6_sf_list *mca_sources;
1: + struct ip6_sf_list *mca_tomb;
1: + unsigned int mca_sfmode;
1: + unsigned char mca_crcount;
1: + long unsigned int mca_sfcount[2];
1: + struct timer_list mca_timer;
1: + unsigned int mca_flags;
1: + int mca_users;
1: + refcount_t mca_refcnt;
1: + spinlock_t mca_lock;
1: + long unsigned int mca_cstamp;
1: + long unsigned int mca_tstamp;
1: +};
1: +
1: +struct ifacaddr6 {
1: + struct in6_addr aca_addr;
1: + struct fib6_info *aca_rt;
1: + struct ifacaddr6 *aca_next;
1: + struct hlist_node aca_addr_lst;
1: + int aca_users;
1: + refcount_t aca_refcnt;
1: + long unsigned int aca_cstamp;
1: + long unsigned int aca_tstamp;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct fib6_result;
1: +
1: +struct fib6_nh;
1: +
1: +struct fib6_config;
1: +
1: +struct ipv6_stub {
1: + int (*ipv6_sock_mc_join)(struct sock *, int, const struct in6_addr *);
1: + int (*ipv6_sock_mc_drop)(struct sock *, int, const struct in6_addr *);
1: + struct dst_entry * (*ipv6_dst_lookup_flow)(struct net *, const struct sock *, struct flowi6 *, const struct in6_addr *);
1: + int (*ipv6_route_input)(struct sk_buff *);
1: + struct fib6_table * (*fib6_get_table)(struct net *, u32);
1: + int (*fib6_lookup)(struct net *, int, struct flowi6 *, struct fib6_result *, int);
1: + int (*fib6_table_lookup)(struct net *, struct fib6_table *, int, struct flowi6 *, struct fib6_result *, int);
1: + void (*fib6_select_path)(const struct net *, struct fib6_result *, struct flowi6 *, int, bool, const struct sk_buff *, int);
1: + u32 (*ip6_mtu_from_fib6)(const struct fib6_result *, const struct in6_addr *, const struct in6_addr *);
1: + int (*fib6_nh_init)(struct net *, struct fib6_nh *, struct fib6_config *, gfp_t, struct netlink_ext_ack *);
1: + void (*fib6_nh_release)(struct fib6_nh *);
1: + void (*fib6_update_sernum)(struct net *, struct fib6_info *);
1: + int (*ip6_del_rt)(struct net *, struct fib6_info *);
1: + void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *);
1: + void (*udpv6_encap_enable)();
1: + void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool);
1: + struct neigh_table *nd_tbl;
1: +};
1: +
1: +struct fib6_result {
1: + struct fib6_nh *nh;
1: + struct fib6_info *f6i;
1: + u32 fib6_flags;
1: + u8 fib6_type;
1: + struct rt6_info *rt6;
1: +};
1: +
1: +enum {
1: + __ND_OPT_PREFIX_INFO_END = 0,
1: + ND_OPT_SOURCE_LL_ADDR = 1,
1: + ND_OPT_TARGET_LL_ADDR = 2,
1: + ND_OPT_PREFIX_INFO = 3,
1: + ND_OPT_REDIRECT_HDR = 4,
1: + ND_OPT_MTU = 5,
1: + ND_OPT_NONCE = 14,
1: + __ND_OPT_ARRAY_MAX = 15,
1: + ND_OPT_ROUTE_INFO = 24,
1: + ND_OPT_RDNSS = 25,
1: + ND_OPT_DNSSL = 31,
1: + ND_OPT_6CO = 34,
1: + ND_OPT_CAPTIVE_PORTAL = 37,
1: + __ND_OPT_MAX = 38,
1: +};
1: +
1: +struct nd_opt_hdr {
1: + __u8 nd_opt_type;
1: + __u8 nd_opt_len;
1: +};
1: +
1: +struct ndisc_options {
1: + struct nd_opt_hdr *nd_opt_array[15];
1: + struct nd_opt_hdr *nd_useropts;
1: + struct nd_opt_hdr *nd_useropts_end;
1: +};
1: +
1: +struct prefix_info {
1: + __u8 type;
1: + __u8 length;
1: + __u8 prefix_len;
1: + __u8 reserved: 6;
1: + __u8 autoconf: 1;
1: + __u8 onlink: 1;
1: + __be32 valid;
1: + __be32 prefered;
1: + __be32 reserved2;
1: + struct in6_addr prefix;
1: +};
1: +
1: +enum nfs_opnum4 {
1: + OP_ACCESS = 3,
1: + OP_CLOSE = 4,
1: + OP_COMMIT = 5,
1: + OP_CREATE = 6,
1: + OP_DELEGPURGE = 7,
1: + OP_DELEGRETURN = 8,
1: + OP_GETATTR = 9,
1: + OP_GETFH = 10,
1: + OP_LINK = 11,
1: + OP_LOCK = 12,
1: + OP_LOCKT = 13,
1: + OP_LOCKU = 14,
1: + OP_LOOKUP = 15,
1: + OP_LOOKUPP = 16,
1: + OP_NVERIFY = 17,
1: + OP_OPEN = 18,
1: + OP_OPENATTR = 19,
1: + OP_OPEN_CONFIRM = 20,
1: + OP_OPEN_DOWNGRADE = 21,
1: + OP_PUTFH = 22,
1: + OP_PUTPUBFH = 23,
1: + OP_PUTROOTFH = 24,
1: + OP_READ = 25,
1: + OP_READDIR = 26,
1: + OP_READLINK = 27,
1: + OP_REMOVE = 28,
1: + OP_RENAME = 29,
1: + OP_RENEW = 30,
1: + OP_RESTOREFH = 31,
1: + OP_SAVEFH = 32,
1: + OP_SECINFO = 33,
1: + OP_SETATTR = 34,
1: + OP_SETCLIENTID = 35,
1: + OP_SETCLIENTID_CONFIRM = 36,
1: + OP_VERIFY = 37,
1: + OP_WRITE = 38,
1: + OP_RELEASE_LOCKOWNER = 39,
1: + OP_BACKCHANNEL_CTL = 40,
1: + OP_BIND_CONN_TO_SESSION = 41,
1: + OP_EXCHANGE_ID = 42,
1: + OP_CREATE_SESSION = 43,
1: + OP_DESTROY_SESSION = 44,
1: + OP_FREE_STATEID = 45,
1: + OP_GET_DIR_DELEGATION = 46,
1: + OP_GETDEVICEINFO = 47,
1: + OP_GETDEVICELIST = 48,
1: + OP_LAYOUTCOMMIT = 49,
1: + OP_LAYOUTGET = 50,
1: + OP_LAYOUTRETURN = 51,
1: + OP_SECINFO_NO_NAME = 52,
1: + OP_SEQUENCE = 53,
1: + OP_SET_SSV = 54,
1: + OP_TEST_STATEID = 55,
1: + OP_WANT_DELEGATION = 56,
1: + OP_DESTROY_CLIENTID = 57,
1: + OP_RECLAIM_COMPLETE = 58,
1: + OP_ALLOCATE = 59,
1: + OP_COPY = 60,
1: + OP_COPY_NOTIFY = 61,
1: + OP_DEALLOCATE = 62,
1: + OP_IO_ADVISE = 63,
1: + OP_LAYOUTERROR = 64,
1: + OP_LAYOUTSTATS = 65,
1: + OP_OFFLOAD_CANCEL = 66,
1: + OP_OFFLOAD_STATUS = 67,
1: + OP_READ_PLUS = 68,
1: + OP_SEEK = 69,
1: + OP_WRITE_SAME = 70,
1: + OP_CLONE = 71,
1: + OP_ILLEGAL = 10044,
1: +};
1: +
1: +enum perf_branch_sample_type_shift {
1: + PERF_SAMPLE_BRANCH_USER_SHIFT = 0,
1: + PERF_SAMPLE_BRANCH_KERNEL_SHIFT = 1,
1: + PERF_SAMPLE_BRANCH_HV_SHIFT = 2,
1: + PERF_SAMPLE_BRANCH_ANY_SHIFT = 3,
1: + PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT = 4,
1: + PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT = 5,
1: + PERF_SAMPLE_BRANCH_IND_CALL_SHIFT = 6,
1: + PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT = 7,
1: + PERF_SAMPLE_BRANCH_IN_TX_SHIFT = 8,
1: + PERF_SAMPLE_BRANCH_NO_TX_SHIFT = 9,
1: + PERF_SAMPLE_BRANCH_COND_SHIFT = 10,
1: + PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT = 11,
1: + PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT = 12,
1: + PERF_SAMPLE_BRANCH_CALL_SHIFT = 13,
1: + PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT = 14,
1: + PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT = 15,
1: + PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16,
1: + PERF_SAMPLE_BRANCH_MAX_SHIFT = 17,
1: +};
1: +
1: +enum exception_stack_ordering {
1: + ESTACK_DF = 0,
1: + ESTACK_NMI = 1,
1: + ESTACK_DB2 = 2,
1: + ESTACK_DB1 = 3,
1: + ESTACK_DB = 4,
1: + ESTACK_MCE = 5,
1: + N_EXCEPTION_STACKS = 6,
1: +};
1: +
1: +enum {
1: + TSK_TRACE_FL_TRACE_BIT = 0,
1: + TSK_TRACE_FL_GRAPH_BIT = 1,
1: +};
1: +
1: +struct uuidcmp {
1: + const char *uuid;
1: + int len;
1: +};
1: +
1: +struct mdu_array_info_s {
1: + int major_version;
1: + int minor_version;
1: + int patch_version;
1: + unsigned int ctime;
1: + int level;
1: + int size;
1: + int nr_disks;
1: + int raid_disks;
1: + int md_minor;
1: + int not_persistent;
1: + unsigned int utime;
1: + int state;
1: + int active_disks;
1: + int working_disks;
1: + int failed_disks;
1: + int spare_disks;
1: + int layout;
1: + int chunk_size;
1: +};
1: +
1: +typedef struct mdu_array_info_s mdu_array_info_t;
1: +
1: +struct mdu_disk_info_s {
1: + int number;
1: + int major;
1: + int minor;
1: + int raid_disk;
1: + int state;
1: +};
1: +
1: +typedef struct mdu_disk_info_s mdu_disk_info_t;
1: +
1: +enum kmalloc_cache_type {
1: + KMALLOC_NORMAL = 0,
1: + KMALLOC_RECLAIM = 1,
1: + KMALLOC_DMA = 2,
1: + NR_KMALLOC_TYPES = 3,
1: +};
1: +
1: +struct hash {
1: + int ino;
1: + int minor;
1: + int major;
1: + umode_t mode;
1: + struct hash *next;
1: + char name[4098];
1: +};
1: +
1: +struct dir_entry {
1: + struct list_head list;
1: + char *name;
1: + time64_t mtime;
1: +};
1: +
1: +enum state {
1: + Start = 0,
1: + Collect = 1,
1: + GotHeader = 2,
1: + SkipIt = 3,
1: + GotName = 4,
1: + CopyFile = 5,
1: + GotSymlink = 6,
1: + Reset = 7,
1: +};
1: +
1: +typedef int (*decompress_fn)(unsigned char *, long int, long int (*)(void *, long unsigned int), long int (*)(void *, long unsigned int), unsigned char *, long int *, void (*)(char *));
1: +
1: +enum ucount_type {
1: + UCOUNT_USER_NAMESPACES = 0,
1: + UCOUNT_PID_NAMESPACES = 1,
1: + UCOUNT_UTS_NAMESPACES = 2,
1: + UCOUNT_IPC_NAMESPACES = 3,
1: + UCOUNT_NET_NAMESPACES = 4,
1: + UCOUNT_MNT_NAMESPACES = 5,
1: + UCOUNT_CGROUP_NAMESPACES = 6,
1: + UCOUNT_INOTIFY_INSTANCES = 7,
1: + UCOUNT_INOTIFY_WATCHES = 8,
1: + UCOUNT_COUNTS = 9,
1: +};
1: +
1: +enum flow_dissector_key_id {
1: + FLOW_DISSECTOR_KEY_CONTROL = 0,
1: + FLOW_DISSECTOR_KEY_BASIC = 1,
1: + FLOW_DISSECTOR_KEY_IPV4_ADDRS = 2,
1: + FLOW_DISSECTOR_KEY_IPV6_ADDRS = 3,
1: + FLOW_DISSECTOR_KEY_PORTS = 4,
1: + FLOW_DISSECTOR_KEY_PORTS_RANGE = 5,
1: + FLOW_DISSECTOR_KEY_ICMP = 6,
1: + FLOW_DISSECTOR_KEY_ETH_ADDRS = 7,
1: + FLOW_DISSECTOR_KEY_TIPC = 8,
1: + FLOW_DISSECTOR_KEY_ARP = 9,
1: + FLOW_DISSECTOR_KEY_VLAN = 10,
1: + FLOW_DISSECTOR_KEY_FLOW_LABEL = 11,
1: + FLOW_DISSECTOR_KEY_GRE_KEYID = 12,
1: + FLOW_DISSECTOR_KEY_MPLS_ENTROPY = 13,
1: + FLOW_DISSECTOR_KEY_ENC_KEYID = 14,
1: + FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS = 15,
1: + FLOW_DISSECTOR_KEY_ENC_IPV6_ADDRS = 16,
1: + FLOW_DISSECTOR_KEY_ENC_CONTROL = 17,
1: + FLOW_DISSECTOR_KEY_ENC_PORTS = 18,
1: + FLOW_DISSECTOR_KEY_MPLS = 19,
1: + FLOW_DISSECTOR_KEY_TCP = 20,
1: + FLOW_DISSECTOR_KEY_IP = 21,
1: + FLOW_DISSECTOR_KEY_CVLAN = 22,
1: + FLOW_DISSECTOR_KEY_ENC_IP = 23,
1: + FLOW_DISSECTOR_KEY_ENC_OPTS = 24,
1: + FLOW_DISSECTOR_KEY_META = 25,
1: + FLOW_DISSECTOR_KEY_CT = 26,
1: + FLOW_DISSECTOR_KEY_MAX = 27,
1: +};
1: +
1: +enum {
1: + IPSTATS_MIB_NUM = 0,
1: + IPSTATS_MIB_INPKTS = 1,
1: + IPSTATS_MIB_INOCTETS = 2,
1: + IPSTATS_MIB_INDELIVERS = 3,
1: + IPSTATS_MIB_OUTFORWDATAGRAMS = 4,
1: + IPSTATS_MIB_OUTPKTS = 5,
1: + IPSTATS_MIB_OUTOCTETS = 6,
1: + IPSTATS_MIB_INHDRERRORS = 7,
1: + IPSTATS_MIB_INTOOBIGERRORS = 8,
1: + IPSTATS_MIB_INNOROUTES = 9,
1: + IPSTATS_MIB_INADDRERRORS = 10,
1: + IPSTATS_MIB_INUNKNOWNPROTOS = 11,
1: + IPSTATS_MIB_INTRUNCATEDPKTS = 12,
1: + IPSTATS_MIB_INDISCARDS = 13,
1: + IPSTATS_MIB_OUTDISCARDS = 14,
1: + IPSTATS_MIB_OUTNOROUTES = 15,
1: + IPSTATS_MIB_REASMTIMEOUT = 16,
1: + IPSTATS_MIB_REASMREQDS = 17,
1: + IPSTATS_MIB_REASMOKS = 18,
1: + IPSTATS_MIB_REASMFAILS = 19,
1: + IPSTATS_MIB_FRAGOKS = 20,
1: + IPSTATS_MIB_FRAGFAILS = 21,
1: + IPSTATS_MIB_FRAGCREATES = 22,
1: + IPSTATS_MIB_INMCASTPKTS = 23,
1: + IPSTATS_MIB_OUTMCASTPKTS = 24,
1: + IPSTATS_MIB_INBCASTPKTS = 25,
1: + IPSTATS_MIB_OUTBCASTPKTS = 26,
1: + IPSTATS_MIB_INMCASTOCTETS = 27,
1: + IPSTATS_MIB_OUTMCASTOCTETS = 28,
1: + IPSTATS_MIB_INBCASTOCTETS = 29,
1: + IPSTATS_MIB_OUTBCASTOCTETS = 30,
1: + IPSTATS_MIB_CSUMERRORS = 31,
1: + IPSTATS_MIB_NOECTPKTS = 32,
1: + IPSTATS_MIB_ECT1PKTS = 33,
1: + IPSTATS_MIB_ECT0PKTS = 34,
1: + IPSTATS_MIB_CEPKTS = 35,
1: + IPSTATS_MIB_REASM_OVERLAPS = 36,
1: + __IPSTATS_MIB_MAX = 37,
1: +};
1: +
1: +enum {
1: + ICMP_MIB_NUM = 0,
1: + ICMP_MIB_INMSGS = 1,
1: + ICMP_MIB_INERRORS = 2,
1: + ICMP_MIB_INDESTUNREACHS = 3,
1: + ICMP_MIB_INTIMEEXCDS = 4,
1: + ICMP_MIB_INPARMPROBS = 5,
1: + ICMP_MIB_INSRCQUENCHS = 6,
1: + ICMP_MIB_INREDIRECTS = 7,
1: + ICMP_MIB_INECHOS = 8,
1: + ICMP_MIB_INECHOREPS = 9,
1: + ICMP_MIB_INTIMESTAMPS = 10,
1: + ICMP_MIB_INTIMESTAMPREPS = 11,
1: + ICMP_MIB_INADDRMASKS = 12,
1: + ICMP_MIB_INADDRMASKREPS = 13,
1: + ICMP_MIB_OUTMSGS = 14,
1: + ICMP_MIB_OUTERRORS = 15,
1: + ICMP_MIB_OUTDESTUNREACHS = 16,
1: + ICMP_MIB_OUTTIMEEXCDS = 17,
1: + ICMP_MIB_OUTPARMPROBS = 18,
1: + ICMP_MIB_OUTSRCQUENCHS = 19,
1: + ICMP_MIB_OUTREDIRECTS = 20,
1: + ICMP_MIB_OUTECHOS = 21,
1: + ICMP_MIB_OUTECHOREPS = 22,
1: + ICMP_MIB_OUTTIMESTAMPS = 23,
1: + ICMP_MIB_OUTTIMESTAMPREPS = 24,
1: + ICMP_MIB_OUTADDRMASKS = 25,
1: + ICMP_MIB_OUTADDRMASKREPS = 26,
1: + ICMP_MIB_CSUMERRORS = 27,
1: + __ICMP_MIB_MAX = 28,
1: +};
1: +
1: +enum {
1: + ICMP6_MIB_NUM = 0,
1: + ICMP6_MIB_INMSGS = 1,
1: + ICMP6_MIB_INERRORS = 2,
1: + ICMP6_MIB_OUTMSGS = 3,
1: + ICMP6_MIB_OUTERRORS = 4,
1: + ICMP6_MIB_CSUMERRORS = 5,
1: + __ICMP6_MIB_MAX = 6,
1: +};
1: +
1: +enum {
1: + TCP_MIB_NUM = 0,
1: + TCP_MIB_RTOALGORITHM = 1,
1: + TCP_MIB_RTOMIN = 2,
1: + TCP_MIB_RTOMAX = 3,
1: + TCP_MIB_MAXCONN = 4,
1: + TCP_MIB_ACTIVEOPENS = 5,
1: + TCP_MIB_PASSIVEOPENS = 6,
1: + TCP_MIB_ATTEMPTFAILS = 7,
1: + TCP_MIB_ESTABRESETS = 8,
1: + TCP_MIB_CURRESTAB = 9,
1: + TCP_MIB_INSEGS = 10,
1: + TCP_MIB_OUTSEGS = 11,
1: + TCP_MIB_RETRANSSEGS = 12,
1: + TCP_MIB_INERRS = 13,
1: + TCP_MIB_OUTRSTS = 14,
1: + TCP_MIB_CSUMERRORS = 15,
1: + __TCP_MIB_MAX = 16,
1: +};
1: +
1: +enum {
1: + UDP_MIB_NUM = 0,
1: + UDP_MIB_INDATAGRAMS = 1,
1: + UDP_MIB_NOPORTS = 2,
1: + UDP_MIB_INERRORS = 3,
1: + UDP_MIB_OUTDATAGRAMS = 4,
1: + UDP_MIB_RCVBUFERRORS = 5,
1: + UDP_MIB_SNDBUFERRORS = 6,
1: + UDP_MIB_CSUMERRORS = 7,
1: + UDP_MIB_IGNOREDMULTI = 8,
1: + __UDP_MIB_MAX = 9,
1: +};
1: +
1: +enum {
1: + LINUX_MIB_NUM = 0,
1: + LINUX_MIB_SYNCOOKIESSENT = 1,
1: + LINUX_MIB_SYNCOOKIESRECV = 2,
1: + LINUX_MIB_SYNCOOKIESFAILED = 3,
1: + LINUX_MIB_EMBRYONICRSTS = 4,
1: + LINUX_MIB_PRUNECALLED = 5,
1: + LINUX_MIB_RCVPRUNED = 6,
1: + LINUX_MIB_OFOPRUNED = 7,
1: + LINUX_MIB_OUTOFWINDOWICMPS = 8,
1: + LINUX_MIB_LOCKDROPPEDICMPS = 9,
1: + LINUX_MIB_ARPFILTER = 10,
1: + LINUX_MIB_TIMEWAITED = 11,
1: + LINUX_MIB_TIMEWAITRECYCLED = 12,
1: + LINUX_MIB_TIMEWAITKILLED = 13,
1: + LINUX_MIB_PAWSACTIVEREJECTED = 14,
1: + LINUX_MIB_PAWSESTABREJECTED = 15,
1: + LINUX_MIB_DELAYEDACKS = 16,
1: + LINUX_MIB_DELAYEDACKLOCKED = 17,
1: + LINUX_MIB_DELAYEDACKLOST = 18,
1: + LINUX_MIB_LISTENOVERFLOWS = 19,
1: + LINUX_MIB_LISTENDROPS = 20,
1: + LINUX_MIB_TCPHPHITS = 21,
1: + LINUX_MIB_TCPPUREACKS = 22,
1: + LINUX_MIB_TCPHPACKS = 23,
1: + LINUX_MIB_TCPRENORECOVERY = 24,
1: + LINUX_MIB_TCPSACKRECOVERY = 25,
1: + LINUX_MIB_TCPSACKRENEGING = 26,
1: + LINUX_MIB_TCPSACKREORDER = 27,
1: + LINUX_MIB_TCPRENOREORDER = 28,
1: + LINUX_MIB_TCPTSREORDER = 29,
1: + LINUX_MIB_TCPFULLUNDO = 30,
1: + LINUX_MIB_TCPPARTIALUNDO = 31,
1: + LINUX_MIB_TCPDSACKUNDO = 32,
1: + LINUX_MIB_TCPLOSSUNDO = 33,
1: + LINUX_MIB_TCPLOSTRETRANSMIT = 34,
1: + LINUX_MIB_TCPRENOFAILURES = 35,
1: + LINUX_MIB_TCPSACKFAILURES = 36,
1: + LINUX_MIB_TCPLOSSFAILURES = 37,
1: + LINUX_MIB_TCPFASTRETRANS = 38,
1: + LINUX_MIB_TCPSLOWSTARTRETRANS = 39,
1: + LINUX_MIB_TCPTIMEOUTS = 40,
1: + LINUX_MIB_TCPLOSSPROBES = 41,
1: + LINUX_MIB_TCPLOSSPROBERECOVERY = 42,
1: + LINUX_MIB_TCPRENORECOVERYFAIL = 43,
1: + LINUX_MIB_TCPSACKRECOVERYFAIL = 44,
1: + LINUX_MIB_TCPRCVCOLLAPSED = 45,
1: + LINUX_MIB_TCPDSACKOLDSENT = 46,
1: + LINUX_MIB_TCPDSACKOFOSENT = 47,
1: + LINUX_MIB_TCPDSACKRECV = 48,
1: + LINUX_MIB_TCPDSACKOFORECV = 49,
1: + LINUX_MIB_TCPABORTONDATA = 50,
1: + LINUX_MIB_TCPABORTONCLOSE = 51,
1: + LINUX_MIB_TCPABORTONMEMORY = 52,
1: + LINUX_MIB_TCPABORTONTIMEOUT = 53,
1: + LINUX_MIB_TCPABORTONLINGER = 54,
1: + LINUX_MIB_TCPABORTFAILED = 55,
1: + LINUX_MIB_TCPMEMORYPRESSURES = 56,
1: + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57,
1: + LINUX_MIB_TCPSACKDISCARD = 58,
1: + LINUX_MIB_TCPDSACKIGNOREDOLD = 59,
1: + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60,
1: + LINUX_MIB_TCPSPURIOUSRTOS = 61,
1: + LINUX_MIB_TCPMD5NOTFOUND = 62,
1: + LINUX_MIB_TCPMD5UNEXPECTED = 63,
1: + LINUX_MIB_TCPMD5FAILURE = 64,
1: + LINUX_MIB_SACKSHIFTED = 65,
1: + LINUX_MIB_SACKMERGED = 66,
1: + LINUX_MIB_SACKSHIFTFALLBACK = 67,
1: + LINUX_MIB_TCPBACKLOGDROP = 68,
1: + LINUX_MIB_PFMEMALLOCDROP = 69,
1: + LINUX_MIB_TCPMINTTLDROP = 70,
1: + LINUX_MIB_TCPDEFERACCEPTDROP = 71,
1: + LINUX_MIB_IPRPFILTER = 72,
1: + LINUX_MIB_TCPTIMEWAITOVERFLOW = 73,
1: + LINUX_MIB_TCPREQQFULLDOCOOKIES = 74,
1: + LINUX_MIB_TCPREQQFULLDROP = 75,
1: + LINUX_MIB_TCPRETRANSFAIL = 76,
1: + LINUX_MIB_TCPRCVCOALESCE = 77,
1: + LINUX_MIB_TCPBACKLOGCOALESCE = 78,
1: + LINUX_MIB_TCPOFOQUEUE = 79,
1: + LINUX_MIB_TCPOFODROP = 80,
1: + LINUX_MIB_TCPOFOMERGE = 81,
1: + LINUX_MIB_TCPCHALLENGEACK = 82,
1: + LINUX_MIB_TCPSYNCHALLENGE = 83,
1: + LINUX_MIB_TCPFASTOPENACTIVE = 84,
1: + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85,
1: + LINUX_MIB_TCPFASTOPENPASSIVE = 86,
1: + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87,
1: + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88,
1: + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89,
1: + LINUX_MIB_TCPFASTOPENBLACKHOLE = 90,
1: + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91,
1: + LINUX_MIB_BUSYPOLLRXPACKETS = 92,
1: + LINUX_MIB_TCPAUTOCORKING = 93,
1: + LINUX_MIB_TCPFROMZEROWINDOWADV = 94,
1: + LINUX_MIB_TCPTOZEROWINDOWADV = 95,
1: + LINUX_MIB_TCPWANTZEROWINDOWADV = 96,
1: + LINUX_MIB_TCPSYNRETRANS = 97,
1: + LINUX_MIB_TCPORIGDATASENT = 98,
1: + LINUX_MIB_TCPHYSTARTTRAINDETECT = 99,
1: + LINUX_MIB_TCPHYSTARTTRAINCWND = 100,
1: + LINUX_MIB_TCPHYSTARTDELAYDETECT = 101,
1: + LINUX_MIB_TCPHYSTARTDELAYCWND = 102,
1: + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103,
1: + LINUX_MIB_TCPACKSKIPPEDPAWS = 104,
1: + LINUX_MIB_TCPACKSKIPPEDSEQ = 105,
1: + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106,
1: + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107,
1: + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108,
1: + LINUX_MIB_TCPWINPROBE = 109,
1: + LINUX_MIB_TCPKEEPALIVE = 110,
1: + LINUX_MIB_TCPMTUPFAIL = 111,
1: + LINUX_MIB_TCPMTUPSUCCESS = 112,
1: + LINUX_MIB_TCPDELIVERED = 113,
1: + LINUX_MIB_TCPDELIVEREDCE = 114,
1: + LINUX_MIB_TCPACKCOMPRESSED = 115,
1: + LINUX_MIB_TCPZEROWINDOWDROP = 116,
1: + LINUX_MIB_TCPRCVQDROP = 117,
1: + LINUX_MIB_TCPWQUEUETOOBIG = 118,
1: + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119,
1: + __LINUX_MIB_MAX = 120,
1: +};
1: +
1: +enum {
1: + LINUX_MIB_XFRMNUM = 0,
1: + LINUX_MIB_XFRMINERROR = 1,
1: + LINUX_MIB_XFRMINBUFFERERROR = 2,
1: + LINUX_MIB_XFRMINHDRERROR = 3,
1: + LINUX_MIB_XFRMINNOSTATES = 4,
1: + LINUX_MIB_XFRMINSTATEPROTOERROR = 5,
1: + LINUX_MIB_XFRMINSTATEMODEERROR = 6,
1: + LINUX_MIB_XFRMINSTATESEQERROR = 7,
1: + LINUX_MIB_XFRMINSTATEEXPIRED = 8,
1: + LINUX_MIB_XFRMINSTATEMISMATCH = 9,
1: + LINUX_MIB_XFRMINSTATEINVALID = 10,
1: + LINUX_MIB_XFRMINTMPLMISMATCH = 11,
1: + LINUX_MIB_XFRMINNOPOLS = 12,
1: + LINUX_MIB_XFRMINPOLBLOCK = 13,
1: + LINUX_MIB_XFRMINPOLERROR = 14,
1: + LINUX_MIB_XFRMOUTERROR = 15,
1: + LINUX_MIB_XFRMOUTBUNDLEGENERROR = 16,
1: + LINUX_MIB_XFRMOUTBUNDLECHECKERROR = 17,
1: + LINUX_MIB_XFRMOUTNOSTATES = 18,
1: + LINUX_MIB_XFRMOUTSTATEPROTOERROR = 19,
1: + LINUX_MIB_XFRMOUTSTATEMODEERROR = 20,
1: + LINUX_MIB_XFRMOUTSTATESEQERROR = 21,
1: + LINUX_MIB_XFRMOUTSTATEEXPIRED = 22,
1: + LINUX_MIB_XFRMOUTPOLBLOCK = 23,
1: + LINUX_MIB_XFRMOUTPOLDEAD = 24,
1: + LINUX_MIB_XFRMOUTPOLERROR = 25,
1: + LINUX_MIB_XFRMFWDHDRERROR = 26,
1: + LINUX_MIB_XFRMOUTSTATEINVALID = 27,
1: + LINUX_MIB_XFRMACQUIREERROR = 28,
1: + __LINUX_MIB_XFRMMAX = 29,
1: +};
1: +
1: +enum {
1: + LINUX_MIB_TLSNUM = 0,
1: + LINUX_MIB_TLSCURRTXSW = 1,
1: + LINUX_MIB_TLSCURRRXSW = 2,
1: + LINUX_MIB_TLSCURRTXDEVICE = 3,
1: + LINUX_MIB_TLSCURRRXDEVICE = 4,
1: + LINUX_MIB_TLSTXSW = 5,
1: + LINUX_MIB_TLSRXSW = 6,
1: + LINUX_MIB_TLSTXDEVICE = 7,
1: + LINUX_MIB_TLSRXDEVICE = 8,
1: + LINUX_MIB_TLSDECRYPTERROR = 9,
1: + LINUX_MIB_TLSRXDEVICERESYNC = 10,
1: + __LINUX_MIB_TLSMAX = 11,
1: +};
1: +
1: +enum nf_inet_hooks {
1: + NF_INET_PRE_ROUTING = 0,
1: + NF_INET_LOCAL_IN = 1,
1: + NF_INET_FORWARD = 2,
1: + NF_INET_LOCAL_OUT = 3,
1: + NF_INET_POST_ROUTING = 4,
1: + NF_INET_NUMHOOKS = 5,
1: +};
1: +
1: +enum {
1: + NFPROTO_UNSPEC = 0,
1: + NFPROTO_INET = 1,
1: + NFPROTO_IPV4 = 2,
1: + NFPROTO_ARP = 3,
1: + NFPROTO_NETDEV = 5,
1: + NFPROTO_BRIDGE = 7,
1: + NFPROTO_IPV6 = 10,
1: + NFPROTO_DECNET = 12,
1: + NFPROTO_NUMPROTO = 13,
1: +};
1: +
1: +enum tcp_conntrack {
1: + TCP_CONNTRACK_NONE = 0,
1: + TCP_CONNTRACK_SYN_SENT = 1,
1: + TCP_CONNTRACK_SYN_RECV = 2,
1: + TCP_CONNTRACK_ESTABLISHED = 3,
1: + TCP_CONNTRACK_FIN_WAIT = 4,
1: + TCP_CONNTRACK_CLOSE_WAIT = 5,
1: + TCP_CONNTRACK_LAST_ACK = 6,
1: + TCP_CONNTRACK_TIME_WAIT = 7,
1: + TCP_CONNTRACK_CLOSE = 8,
1: + TCP_CONNTRACK_LISTEN = 9,
1: + TCP_CONNTRACK_MAX = 10,
1: + TCP_CONNTRACK_IGNORE = 11,
1: + TCP_CONNTRACK_RETRANS = 12,
1: + TCP_CONNTRACK_UNACK = 13,
1: + TCP_CONNTRACK_TIMEOUT_MAX = 14,
1: +};
1: +
1: +enum udp_conntrack {
1: + UDP_CT_UNREPLIED = 0,
1: + UDP_CT_REPLIED = 1,
1: + UDP_CT_MAX = 2,
1: +};
1: +
1: +enum {
1: + XFRM_POLICY_IN = 0,
1: + XFRM_POLICY_OUT = 1,
1: + XFRM_POLICY_FWD = 2,
1: + XFRM_POLICY_MASK = 3,
1: + XFRM_POLICY_MAX = 3,
1: +};
1: +
1: +enum skb_ext_id {
1: + SKB_EXT_SEC_PATH = 0,
1: + SKB_EXT_NUM = 1,
1: +};
1: +
1: +enum audit_ntp_type {
1: + AUDIT_NTP_OFFSET = 0,
1: + AUDIT_NTP_FREQ = 1,
1: + AUDIT_NTP_STATUS = 2,
1: + AUDIT_NTP_TAI = 3,
1: + AUDIT_NTP_TICK = 4,
1: + AUDIT_NTP_ADJUST = 5,
1: + AUDIT_NTP_NVALS = 6,
1: +};
1: +
1: +enum {
1: + EI_ETYPE_NONE = 0,
1: + EI_ETYPE_NULL = 1,
1: + EI_ETYPE_ERRNO = 2,
1: + EI_ETYPE_ERRNO_NULL = 3,
1: + EI_ETYPE_TRUE = 4,
1: +};
1: +
1: +typedef long int (*sys_call_ptr_t)(const struct pt_regs *);
1: +
1: +struct io_bitmap {
1: + u64 sequence;
1: + refcount_t refcnt;
1: + unsigned int max;
1: + long unsigned int bitmap[1024];
1: +};
1: +
1: +struct seccomp_data {
1: + int nr;
1: + __u32 arch;
1: + __u64 instruction_pointer;
1: + __u64 args[6];
1: +};
1: +
1: +struct ksignal {
1: + struct k_sigaction ka;
1: + kernel_siginfo_t info;
1: + int sig;
1: +};
1: +
1: +struct __large_struct {
1: + long unsigned int buf[100];
1: +};
1: +
1: +enum {
1: + TASKSTATS_CMD_UNSPEC = 0,
1: + TASKSTATS_CMD_GET = 1,
1: + TASKSTATS_CMD_NEW = 2,
1: + __TASKSTATS_CMD_MAX = 3,
1: +};
1: +
1: +enum ctx_state {
1: + CONTEXT_DISABLED = -1,
1: + CONTEXT_KERNEL = 0,
1: + CONTEXT_USER = 1,
1: + CONTEXT_GUEST = 2,
1: +};
1: +
1: +enum {
1: + HI_SOFTIRQ = 0,
1: + TIMER_SOFTIRQ = 1,
1: + NET_TX_SOFTIRQ = 2,
1: + NET_RX_SOFTIRQ = 3,
1: + BLOCK_SOFTIRQ = 4,
1: + IRQ_POLL_SOFTIRQ = 5,
1: + TASKLET_SOFTIRQ = 6,
1: + SCHED_SOFTIRQ = 7,
1: + HRTIMER_SOFTIRQ = 8,
1: + RCU_SOFTIRQ = 9,
1: + NR_SOFTIRQS = 10,
1: +};
1: +
1: +enum cpu_usage_stat {
1: + CPUTIME_USER = 0,
1: + CPUTIME_NICE = 1,
1: + CPUTIME_SYSTEM = 2,
1: + CPUTIME_SOFTIRQ = 3,
1: + CPUTIME_IRQ = 4,
1: + CPUTIME_IDLE = 5,
1: + CPUTIME_IOWAIT = 6,
1: + CPUTIME_STEAL = 7,
1: + CPUTIME_GUEST = 8,
1: + CPUTIME_GUEST_NICE = 9,
1: + NR_STATS = 10,
1: +};
1: +
1: +enum bpf_cgroup_storage_type {
1: + BPF_CGROUP_STORAGE_SHARED = 0,
1: + BPF_CGROUP_STORAGE_PERCPU = 1,
1: + __BPF_CGROUP_STORAGE_MAX = 2,
1: +};
1: +
1: +enum cgroup_subsys_id {
1: + cpuset_cgrp_id = 0,
1: + cpu_cgrp_id = 1,
1: + cpuacct_cgrp_id = 2,
1: + freezer_cgrp_id = 3,
1: + CGROUP_SUBSYS_COUNT = 4,
1: +};
1: +
1: +typedef u8 kprobe_opcode_t;
1: +
1: +struct arch_specific_insn {
1: + kprobe_opcode_t *insn;
1: + bool boostable;
1: + bool if_modifier;
1: +};
1: +
1: +struct kprobe;
1: +
1: +struct prev_kprobe {
1: + struct kprobe *kp;
1: + long unsigned int status;
1: + long unsigned int old_flags;
1: + long unsigned int saved_flags;
1: +};
1: +
1: +typedef int (*kprobe_pre_handler_t)(struct kprobe *, struct pt_regs *);
1: +
1: +typedef void (*kprobe_post_handler_t)(struct kprobe *, struct pt_regs *, long unsigned int);
1: +
1: +typedef int (*kprobe_fault_handler_t)(struct kprobe *, struct pt_regs *, int);
1: +
1: +struct kprobe {
1: + struct hlist_node hlist;
1: + struct list_head list;
1: + long unsigned int nmissed;
1: + kprobe_opcode_t *addr;
1: + const char *symbol_name;
1: + unsigned int offset;
1: + kprobe_pre_handler_t pre_handler;
1: + kprobe_post_handler_t post_handler;
1: + kprobe_fault_handler_t fault_handler;
1: + kprobe_opcode_t opcode;
1: + struct arch_specific_insn ainsn;
1: + u32 flags;
1: +};
1: +
1: +struct kprobe_ctlblk {
1: + long unsigned int kprobe_status;
1: + long unsigned int kprobe_old_flags;
1: + long unsigned int kprobe_saved_flags;
1: + struct prev_kprobe prev_kprobe;
1: +};
1: +
1: +struct kprobe_insn_cache {
1: + struct mutex mutex;
1: + void * (*alloc)();
1: + void (*free)(void *);
1: + struct list_head pages;
1: + size_t insn_size;
1: + int nr_garbage;
1: +};
1: +
1: +struct trace_event_raw_sys_enter {
1: + struct trace_entry ent;
1: + long int id;
1: + long unsigned int args[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sys_exit {
1: + struct trace_entry ent;
1: + long int id;
1: + long int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_sys_enter {};
1: +
1: +struct trace_event_data_offsets_sys_exit {};
1: +
1: +struct alt_instr {
1: + s32 instr_offset;
1: + s32 repl_offset;
1: + u16 cpuid;
1: + u8 instrlen;
1: + u8 replacementlen;
1: + u8 padlen;
1: +} __attribute__((packed));
1: +
1: +enum vm_fault_reason {
1: + VM_FAULT_OOM = 1,
1: + VM_FAULT_SIGBUS = 2,
1: + VM_FAULT_MAJOR = 4,
1: + VM_FAULT_WRITE = 8,
1: + VM_FAULT_HWPOISON = 16,
1: + VM_FAULT_HWPOISON_LARGE = 32,
1: + VM_FAULT_SIGSEGV = 64,
1: + VM_FAULT_NOPAGE = 256,
1: + VM_FAULT_LOCKED = 512,
1: + VM_FAULT_RETRY = 1024,
1: + VM_FAULT_FALLBACK = 2048,
1: + VM_FAULT_DONE_COW = 4096,
1: + VM_FAULT_NEEDDSYNC = 8192,
1: + VM_FAULT_HINDEX_MASK = 983040,
1: +};
1: +
1: +struct vm_special_mapping {
1: + const char *name;
1: + struct page **pages;
1: + vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *);
1: + int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *);
1: +};
1: +
1: +struct pvclock_vcpu_time_info {
1: + u32 version;
1: + u32 pad0;
1: + u64 tsc_timestamp;
1: + u64 system_time;
1: + u32 tsc_to_system_mul;
1: + s8 tsc_shift;
1: + u8 flags;
1: + u8 pad[2];
1: +};
1: +
1: +struct pvclock_vsyscall_time_info {
1: + struct pvclock_vcpu_time_info pvti;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct ms_hyperv_tsc_page {
1: + volatile u32 tsc_sequence;
1: + u32 reserved1;
1: + volatile u64 tsc_scale;
1: + volatile s64 tsc_offset;
1: + u64 reserved2[509];
1: +};
1: +
1: +enum {
1: + X86_TRAP_DE = 0,
1: + X86_TRAP_DB = 1,
1: + X86_TRAP_NMI = 2,
1: + X86_TRAP_BP = 3,
1: + X86_TRAP_OF = 4,
1: + X86_TRAP_BR = 5,
1: + X86_TRAP_UD = 6,
1: + X86_TRAP_NM = 7,
1: + X86_TRAP_DF = 8,
1: + X86_TRAP_OLD_MF = 9,
1: + X86_TRAP_TS = 10,
1: + X86_TRAP_NP = 11,
1: + X86_TRAP_SS = 12,
1: + X86_TRAP_GP = 13,
1: + X86_TRAP_PF = 14,
1: + X86_TRAP_SPURIOUS = 15,
1: + X86_TRAP_MF = 16,
1: + X86_TRAP_AC = 17,
1: + X86_TRAP_MC = 18,
1: + X86_TRAP_XF = 19,
1: + X86_TRAP_IRET = 32,
1: +};
1: +
1: +enum x86_pf_error_code {
1: + X86_PF_PROT = 1,
1: + X86_PF_WRITE = 2,
1: + X86_PF_USER = 4,
1: + X86_PF_RSVD = 8,
1: + X86_PF_INSTR = 16,
1: + X86_PF_PK = 32,
1: +};
1: +
1: +struct trace_event_raw_emulate_vsyscall {
1: + struct trace_entry ent;
1: + int nr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_emulate_vsyscall {};
1: +
1: +enum {
1: + EMULATE = 0,
1: + XONLY = 1,
1: + NONE = 2,
1: +};
1: +
1: +enum perf_type_id {
1: + PERF_TYPE_HARDWARE = 0,
1: + PERF_TYPE_SOFTWARE = 1,
1: + PERF_TYPE_TRACEPOINT = 2,
1: + PERF_TYPE_HW_CACHE = 3,
1: + PERF_TYPE_RAW = 4,
1: + PERF_TYPE_BREAKPOINT = 5,
1: + PERF_TYPE_MAX = 6,
1: +};
1: +
1: +enum perf_hw_id {
1: + PERF_COUNT_HW_CPU_CYCLES = 0,
1: + PERF_COUNT_HW_INSTRUCTIONS = 1,
1: + PERF_COUNT_HW_CACHE_REFERENCES = 2,
1: + PERF_COUNT_HW_CACHE_MISSES = 3,
1: + PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 4,
1: + PERF_COUNT_HW_BRANCH_MISSES = 5,
1: + PERF_COUNT_HW_BUS_CYCLES = 6,
1: + PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 7,
1: + PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 8,
1: + PERF_COUNT_HW_REF_CPU_CYCLES = 9,
1: + PERF_COUNT_HW_MAX = 10,
1: +};
1: +
1: +enum perf_hw_cache_id {
1: + PERF_COUNT_HW_CACHE_L1D = 0,
1: + PERF_COUNT_HW_CACHE_L1I = 1,
1: + PERF_COUNT_HW_CACHE_LL = 2,
1: + PERF_COUNT_HW_CACHE_DTLB = 3,
1: + PERF_COUNT_HW_CACHE_ITLB = 4,
1: + PERF_COUNT_HW_CACHE_BPU = 5,
1: + PERF_COUNT_HW_CACHE_NODE = 6,
1: + PERF_COUNT_HW_CACHE_MAX = 7,
1: +};
1: +
1: +enum perf_hw_cache_op_id {
1: + PERF_COUNT_HW_CACHE_OP_READ = 0,
1: + PERF_COUNT_HW_CACHE_OP_WRITE = 1,
1: + PERF_COUNT_HW_CACHE_OP_PREFETCH = 2,
1: + PERF_COUNT_HW_CACHE_OP_MAX = 3,
1: +};
1: +
1: +enum perf_hw_cache_op_result_id {
1: + PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0,
1: + PERF_COUNT_HW_CACHE_RESULT_MISS = 1,
1: + PERF_COUNT_HW_CACHE_RESULT_MAX = 2,
1: +};
1: +
1: +enum perf_event_sample_format {
1: + PERF_SAMPLE_IP = 1,
1: + PERF_SAMPLE_TID = 2,
1: + PERF_SAMPLE_TIME = 4,
1: + PERF_SAMPLE_ADDR = 8,
1: + PERF_SAMPLE_READ = 16,
1: + PERF_SAMPLE_CALLCHAIN = 32,
1: + PERF_SAMPLE_ID = 64,
1: + PERF_SAMPLE_CPU = 128,
1: + PERF_SAMPLE_PERIOD = 256,
1: + PERF_SAMPLE_STREAM_ID = 512,
1: + PERF_SAMPLE_RAW = 1024,
1: + PERF_SAMPLE_BRANCH_STACK = 2048,
1: + PERF_SAMPLE_REGS_USER = 4096,
1: + PERF_SAMPLE_STACK_USER = 8192,
1: + PERF_SAMPLE_WEIGHT = 16384,
1: + PERF_SAMPLE_DATA_SRC = 32768,
1: + PERF_SAMPLE_IDENTIFIER = 65536,
1: + PERF_SAMPLE_TRANSACTION = 131072,
1: + PERF_SAMPLE_REGS_INTR = 262144,
1: + PERF_SAMPLE_PHYS_ADDR = 524288,
1: + PERF_SAMPLE_AUX = 1048576,
1: + PERF_SAMPLE_MAX = 2097152,
1: + __PERF_SAMPLE_CALLCHAIN_EARLY = -1,
1: +};
1: +
1: +enum perf_branch_sample_type {
1: + PERF_SAMPLE_BRANCH_USER = 1,
1: + PERF_SAMPLE_BRANCH_KERNEL = 2,
1: + PERF_SAMPLE_BRANCH_HV = 4,
1: + PERF_SAMPLE_BRANCH_ANY = 8,
1: + PERF_SAMPLE_BRANCH_ANY_CALL = 16,
1: + PERF_SAMPLE_BRANCH_ANY_RETURN = 32,
1: + PERF_SAMPLE_BRANCH_IND_CALL = 64,
1: + PERF_SAMPLE_BRANCH_ABORT_TX = 128,
1: + PERF_SAMPLE_BRANCH_IN_TX = 256,
1: + PERF_SAMPLE_BRANCH_NO_TX = 512,
1: + PERF_SAMPLE_BRANCH_COND = 1024,
1: + PERF_SAMPLE_BRANCH_CALL_STACK = 2048,
1: + PERF_SAMPLE_BRANCH_IND_JUMP = 4096,
1: + PERF_SAMPLE_BRANCH_CALL = 8192,
1: + PERF_SAMPLE_BRANCH_NO_FLAGS = 16384,
1: + PERF_SAMPLE_BRANCH_NO_CYCLES = 32768,
1: + PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536,
1: + PERF_SAMPLE_BRANCH_MAX = 131072,
1: +};
1: +
1: +struct perf_event_mmap_page {
1: + __u32 version;
1: + __u32 compat_version;
1: + __u32 lock;
1: + __u32 index;
1: + __s64 offset;
1: + __u64 time_enabled;
1: + __u64 time_running;
1: + union {
1: + __u64 capabilities;
1: + struct {
1: + __u64 cap_bit0: 1;
1: + __u64 cap_bit0_is_deprecated: 1;
1: + __u64 cap_user_rdpmc: 1;
1: + __u64 cap_user_time: 1;
1: + __u64 cap_user_time_zero: 1;
1: + __u64 cap_____res: 59;
1: + };
1: + };
1: + __u16 pmc_width;
1: + __u16 time_shift;
1: + __u32 time_mult;
1: + __u64 time_offset;
1: + __u64 time_zero;
1: + __u32 size;
1: + __u8 __reserved[948];
1: + __u64 data_head;
1: + __u64 data_tail;
1: + __u64 data_offset;
1: + __u64 data_size;
1: + __u64 aux_head;
1: + __u64 aux_tail;
1: + __u64 aux_offset;
1: + __u64 aux_size;
1: +};
1: +
1: +struct ldt_struct {
1: + struct desc_struct *entries;
1: + unsigned int nr_entries;
1: + int slot;
1: +};
1: +
1: +typedef struct {
1: + u16 __softirq_pending;
1: + unsigned int __nmi_count;
1: + unsigned int apic_timer_irqs;
1: + unsigned int irq_spurious_count;
1: + unsigned int icr_read_retry_count;
1: + unsigned int kvm_posted_intr_ipis;
1: + unsigned int kvm_posted_intr_wakeup_ipis;
1: + unsigned int kvm_posted_intr_nested_ipis;
1: + unsigned int x86_platform_ipis;
1: + unsigned int apic_perf_irqs;
1: + unsigned int apic_irq_work_irqs;
1: + unsigned int irq_resched_count;
1: + unsigned int irq_call_count;
1: + unsigned int irq_tlb_count;
1: + unsigned int irq_thermal_count;
1: + unsigned int irq_threshold_count;
1: + unsigned int irq_deferred_error_count;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +} irq_cpustat_t;
1: +
1: +struct x86_pmu_capability {
1: + int version;
1: + int num_counters_gp;
1: + int num_counters_fixed;
1: + int bit_width_gp;
1: + int bit_width_fixed;
1: + unsigned int events_mask;
1: + int events_mask_len;
1: +};
1: +
1: +struct debug_store {
1: + u64 bts_buffer_base;
1: + u64 bts_index;
1: + u64 bts_absolute_maximum;
1: + u64 bts_interrupt_threshold;
1: + u64 pebs_buffer_base;
1: + u64 pebs_index;
1: + u64 pebs_absolute_maximum;
1: + u64 pebs_interrupt_threshold;
1: + u64 pebs_event_reset[12];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +enum stack_type {
1: + STACK_TYPE_UNKNOWN = 0,
1: + STACK_TYPE_TASK = 1,
1: + STACK_TYPE_IRQ = 2,
1: + STACK_TYPE_SOFTIRQ = 3,
1: + STACK_TYPE_ENTRY = 4,
1: + STACK_TYPE_EXCEPTION = 5,
1: + STACK_TYPE_EXCEPTION_LAST = 10,
1: +};
1: +
1: +struct stack_info {
1: + enum stack_type type;
1: + long unsigned int *begin;
1: + long unsigned int *end;
1: + long unsigned int *next_sp;
1: +};
1: +
1: +struct stack_frame {
1: + struct stack_frame *next_frame;
1: + long unsigned int return_address;
1: +};
1: +
1: +struct stack_frame_ia32 {
1: + u32 next_frame;
1: + u32 return_address;
1: +};
1: +
1: +struct perf_guest_switch_msr {
1: + unsigned int msr;
1: + u64 host;
1: + u64 guest;
1: +};
1: +
1: +struct perf_guest_info_callbacks {
1: + int (*is_in_guest)();
1: + int (*is_user_mode)();
1: + long unsigned int (*get_guest_ip)();
1: + void (*handle_intel_pt_intr)();
1: +};
1: +
1: +struct device_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct device *, struct device_attribute *, char *);
1: + ssize_t (*store)(struct device *, struct device_attribute *, const char *, size_t);
1: +};
1: +
1: +enum perf_event_x86_regs {
1: + PERF_REG_X86_AX = 0,
1: + PERF_REG_X86_BX = 1,
1: + PERF_REG_X86_CX = 2,
1: + PERF_REG_X86_DX = 3,
1: + PERF_REG_X86_SI = 4,
1: + PERF_REG_X86_DI = 5,
1: + PERF_REG_X86_BP = 6,
1: + PERF_REG_X86_SP = 7,
1: + PERF_REG_X86_IP = 8,
1: + PERF_REG_X86_FLAGS = 9,
1: + PERF_REG_X86_CS = 10,
1: + PERF_REG_X86_SS = 11,
1: + PERF_REG_X86_DS = 12,
1: + PERF_REG_X86_ES = 13,
1: + PERF_REG_X86_FS = 14,
1: + PERF_REG_X86_GS = 15,
1: + PERF_REG_X86_R8 = 16,
1: + PERF_REG_X86_R9 = 17,
1: + PERF_REG_X86_R10 = 18,
1: + PERF_REG_X86_R11 = 19,
1: + PERF_REG_X86_R12 = 20,
1: + PERF_REG_X86_R13 = 21,
1: + PERF_REG_X86_R14 = 22,
1: + PERF_REG_X86_R15 = 23,
1: + PERF_REG_X86_32_MAX = 16,
1: + PERF_REG_X86_64_MAX = 24,
1: + PERF_REG_X86_XMM0 = 32,
1: + PERF_REG_X86_XMM1 = 34,
1: + PERF_REG_X86_XMM2 = 36,
1: + PERF_REG_X86_XMM3 = 38,
1: + PERF_REG_X86_XMM4 = 40,
1: + PERF_REG_X86_XMM5 = 42,
1: + PERF_REG_X86_XMM6 = 44,
1: + PERF_REG_X86_XMM7 = 46,
1: + PERF_REG_X86_XMM8 = 48,
1: + PERF_REG_X86_XMM9 = 50,
1: + PERF_REG_X86_XMM10 = 52,
1: + PERF_REG_X86_XMM11 = 54,
1: + PERF_REG_X86_XMM12 = 56,
1: + PERF_REG_X86_XMM13 = 58,
1: + PERF_REG_X86_XMM14 = 60,
1: + PERF_REG_X86_XMM15 = 62,
1: + PERF_REG_X86_XMM_MAX = 64,
1: +};
1: +
1: +struct perf_callchain_entry_ctx {
1: + struct perf_callchain_entry *entry;
1: + u32 max_stack;
1: + u32 nr;
1: + short int contexts;
1: + bool contexts_maxed;
1: +};
1: +
1: +struct perf_pmu_events_attr {
1: + struct device_attribute attr;
1: + u64 id;
1: + const char *event_str;
1: +};
1: +
1: +struct perf_pmu_events_ht_attr {
1: + struct device_attribute attr;
1: + u64 id;
1: + const char *event_str_ht;
1: + const char *event_str_noht;
1: +};
1: +
1: +enum {
1: + NMI_LOCAL = 0,
1: + NMI_UNKNOWN = 1,
1: + NMI_SERR = 2,
1: + NMI_IO_CHECK = 3,
1: + NMI_MAX = 4,
1: +};
1: +
1: +typedef int (*nmi_handler_t)(unsigned int, struct pt_regs *);
1: +
1: +struct nmiaction {
1: + struct list_head list;
1: + nmi_handler_t handler;
1: + u64 max_duration;
1: + struct irq_work irq_work;
1: + long unsigned int flags;
1: + const char *name;
1: +};
1: +
1: +struct cyc2ns_data {
1: + u32 cyc2ns_mul;
1: + u32 cyc2ns_shift;
1: + u64 cyc2ns_offset;
1: +};
1: +
1: +struct unwind_state {
1: + struct stack_info stack_info;
1: + long unsigned int stack_mask;
1: + struct task_struct *task;
1: + int graph_idx;
1: + bool error;
1: + bool signal;
1: + bool full_regs;
1: + long unsigned int sp;
1: + long unsigned int bp;
1: + long unsigned int ip;
1: + struct pt_regs *regs;
1: +};
1: +
1: +enum extra_reg_type {
1: + EXTRA_REG_NONE = -1,
1: + EXTRA_REG_RSP_0 = 0,
1: + EXTRA_REG_RSP_1 = 1,
1: + EXTRA_REG_LBR = 2,
1: + EXTRA_REG_LDLAT = 3,
1: + EXTRA_REG_FE = 4,
1: + EXTRA_REG_MAX = 5,
1: +};
1: +
1: +struct event_constraint {
1: + union {
1: + long unsigned int idxmsk[1];
1: + u64 idxmsk64;
1: + };
1: + u64 code;
1: + u64 cmask;
1: + int weight;
1: + int overlap;
1: + int flags;
1: + unsigned int size;
1: +};
1: +
1: +struct amd_nb {
1: + int nb_id;
1: + int refcnt;
1: + struct perf_event *owners[64];
1: + struct event_constraint event_constraints[64];
1: +};
1: +
1: +struct er_account {
1: + raw_spinlock_t lock;
1: + u64 config;
1: + u64 reg;
1: + atomic_t ref;
1: +};
1: +
1: +struct intel_shared_regs {
1: + struct er_account regs[5];
1: + int refcnt;
1: + unsigned int core_id;
1: +};
1: +
1: +enum intel_excl_state_type {
1: + INTEL_EXCL_UNUSED = 0,
1: + INTEL_EXCL_SHARED = 1,
1: + INTEL_EXCL_EXCLUSIVE = 2,
1: +};
1: +
1: +struct intel_excl_states {
1: + enum intel_excl_state_type state[64];
1: + bool sched_started;
1: +};
1: +
1: +struct intel_excl_cntrs {
1: + raw_spinlock_t lock;
1: + struct intel_excl_states states[2];
1: + union {
1: + u16 has_exclusive[2];
1: + u32 exclusive_present;
1: + };
1: + int refcnt;
1: + unsigned int core_id;
1: +};
1: +
1: +enum {
1: + X86_PERF_KFREE_SHARED = 0,
1: + X86_PERF_KFREE_EXCL = 1,
1: + X86_PERF_KFREE_MAX = 2,
1: +};
1: +
1: +struct x86_perf_task_context;
1: +
1: +struct cpu_hw_events {
1: + struct perf_event *events[64];
1: + long unsigned int active_mask[1];
1: + long unsigned int running[1];
1: + int enabled;
1: + int n_events;
1: + int n_added;
1: + int n_txn;
1: + int assign[64];
1: + u64 tags[64];
1: + struct perf_event *event_list[64];
1: + struct event_constraint *event_constraint[64];
1: + int n_excl;
1: + unsigned int txn_flags;
1: + int is_fake;
1: + struct debug_store *ds;
1: + void *ds_pebs_vaddr;
1: + void *ds_bts_vaddr;
1: + u64 pebs_enabled;
1: + int n_pebs;
1: + int n_large_pebs;
1: + int n_pebs_via_pt;
1: + int pebs_output;
1: + u64 pebs_data_cfg;
1: + u64 active_pebs_data_cfg;
1: + int pebs_record_size;
1: + int lbr_users;
1: + int lbr_pebs_users;
1: + struct perf_branch_stack lbr_stack;
1: + struct perf_branch_entry lbr_entries[32];
1: + struct er_account *lbr_sel;
1: + u64 br_sel;
1: + struct x86_perf_task_context *last_task_ctx;
1: + int last_log_id;
1: + u64 intel_ctrl_guest_mask;
1: + u64 intel_ctrl_host_mask;
1: + struct perf_guest_switch_msr guest_switch_msrs[64];
1: + u64 intel_cp_status;
1: + struct intel_shared_regs *shared_regs;
1: + struct event_constraint *constraint_list;
1: + struct intel_excl_cntrs *excl_cntrs;
1: + int excl_thread_id;
1: + u64 tfa_shadow;
1: + struct amd_nb *amd_nb;
1: + u64 perf_ctr_virt_mask;
1: + void *kfree_on_online[2];
1: +};
1: +
1: +struct x86_perf_task_context {
1: + u64 lbr_from[32];
1: + u64 lbr_to[32];
1: + u64 lbr_info[32];
1: + int tos;
1: + int valid_lbrs;
1: + int lbr_callstack_users;
1: + int lbr_stack_state;
1: + int log_id;
1: +};
1: +
1: +struct extra_reg {
1: + unsigned int event;
1: + unsigned int msr;
1: + u64 config_mask;
1: + u64 valid_mask;
1: + int idx;
1: + bool extra_msr_access;
1: +};
1: +
1: +union perf_capabilities {
1: + struct {
1: + u64 lbr_format: 6;
1: + u64 pebs_trap: 1;
1: + u64 pebs_arch_reg: 1;
1: + u64 pebs_format: 4;
1: + u64 smm_freeze: 1;
1: + u64 full_width_write: 1;
1: + u64 pebs_baseline: 1;
1: + u64 pebs_metrics_available: 1;
1: + u64 pebs_output_pt_available: 1;
1: + };
1: + u64 capabilities;
1: +};
1: +
1: +struct x86_pmu_quirk {
1: + struct x86_pmu_quirk *next;
1: + void (*func)();
1: +};
1: +
1: +enum {
1: + x86_lbr_exclusive_lbr = 0,
1: + x86_lbr_exclusive_bts = 1,
1: + x86_lbr_exclusive_pt = 2,
1: + x86_lbr_exclusive_max = 3,
1: +};
1: +
1: +struct x86_pmu {
1: + const char *name;
1: + int version;
1: + int (*handle_irq)(struct pt_regs *);
1: + void (*disable_all)();
1: + void (*enable_all)(int);
1: + void (*enable)(struct perf_event *);
1: + void (*disable)(struct perf_event *);
1: + void (*add)(struct perf_event *);
1: + void (*del)(struct perf_event *);
1: + void (*read)(struct perf_event *);
1: + int (*hw_config)(struct perf_event *);
1: + int (*schedule_events)(struct cpu_hw_events *, int, int *);
1: + unsigned int eventsel;
1: + unsigned int perfctr;
1: + int (*addr_offset)(int, bool);
1: + int (*rdpmc_index)(int);
1: + u64 (*event_map)(int);
1: + int max_events;
1: + int num_counters;
1: + int num_counters_fixed;
1: + int cntval_bits;
1: + u64 cntval_mask;
1: + union {
1: + long unsigned int events_maskl;
1: + long unsigned int events_mask[1];
1: + };
1: + int events_mask_len;
1: + int apic;
1: + u64 max_period;
1: + struct event_constraint * (*get_event_constraints)(struct cpu_hw_events *, int, struct perf_event *);
1: + void (*put_event_constraints)(struct cpu_hw_events *, struct perf_event *);
1: + void (*start_scheduling)(struct cpu_hw_events *);
1: + void (*commit_scheduling)(struct cpu_hw_events *, int, int);
1: + void (*stop_scheduling)(struct cpu_hw_events *);
1: + struct event_constraint *event_constraints;
1: + struct x86_pmu_quirk *quirks;
1: + int perfctr_second_write;
1: + u64 (*limit_period)(struct perf_event *, u64);
1: + unsigned int late_ack: 1;
1: + unsigned int counter_freezing: 1;
1: + int attr_rdpmc_broken;
1: + int attr_rdpmc;
1: + struct attribute **format_attrs;
1: + ssize_t (*events_sysfs_show)(char *, u64);
1: + const struct attribute_group **attr_update;
1: + long unsigned int attr_freeze_on_smi;
1: + int (*cpu_prepare)(int);
1: + void (*cpu_starting)(int);
1: + void (*cpu_dying)(int);
1: + void (*cpu_dead)(int);
1: + void (*check_microcode)();
1: + void (*sched_task)(struct perf_event_context *, bool);
1: + u64 intel_ctrl;
1: + union perf_capabilities intel_cap;
1: + unsigned int bts: 1;
1: + unsigned int bts_active: 1;
1: + unsigned int pebs: 1;
1: + unsigned int pebs_active: 1;
1: + unsigned int pebs_broken: 1;
1: + unsigned int pebs_prec_dist: 1;
1: + unsigned int pebs_no_tlb: 1;
1: + unsigned int pebs_no_isolation: 1;
1: + int pebs_record_size;
1: + int pebs_buffer_size;
1: + int max_pebs_events;
1: + void (*drain_pebs)(struct pt_regs *);
1: + struct event_constraint *pebs_constraints;
1: + void (*pebs_aliases)(struct perf_event *);
1: + long unsigned int large_pebs_flags;
1: + u64 rtm_abort_event;
1: + long unsigned int lbr_tos;
1: + long unsigned int lbr_from;
1: + long unsigned int lbr_to;
1: + int lbr_nr;
1: + u64 lbr_sel_mask;
1: + const int *lbr_sel_map;
1: + bool lbr_double_abort;
1: + bool lbr_pt_coexist;
1: + atomic_t lbr_exclusive[3];
1: + void (*swap_task_ctx)(struct perf_event_context *, struct perf_event_context *);
1: + unsigned int amd_nb_constraints: 1;
1: + struct extra_reg *extra_regs;
1: + unsigned int flags;
1: + struct perf_guest_switch_msr * (*guest_get_msrs)(int *);
1: + int (*check_period)(struct perf_event *, u64);
1: + int (*aux_output_match)(struct perf_event *);
1: +};
1: +
1: +struct sched_state {
1: + int weight;
1: + int event;
1: + int counter;
1: + int unassigned;
1: + int nr_gp;
1: + long unsigned int used[1];
1: +};
1: +
1: +struct perf_sched {
1: + int max_weight;
1: + int max_events;
1: + int max_gp;
1: + int saved_states;
1: + struct event_constraint **constraints;
1: + struct sched_state state;
1: + struct sched_state saved[2];
1: +};
1: +
1: +typedef int pao_T__;
1: +
1: +enum migratetype {
1: + MIGRATE_UNMOVABLE = 0,
1: + MIGRATE_MOVABLE = 1,
1: + MIGRATE_RECLAIMABLE = 2,
1: + MIGRATE_PCPTYPES = 3,
1: + MIGRATE_HIGHATOMIC = 3,
1: + MIGRATE_TYPES = 4,
1: +};
1: +
1: +enum lru_list {
1: + LRU_INACTIVE_ANON = 0,
1: + LRU_ACTIVE_ANON = 1,
1: + LRU_INACTIVE_FILE = 2,
1: + LRU_ACTIVE_FILE = 3,
1: + LRU_UNEVICTABLE = 4,
1: + NR_LRU_LISTS = 5,
1: +};
1: +
1: +enum zone_watermarks {
1: + WMARK_MIN = 0,
1: + WMARK_LOW = 1,
1: + WMARK_HIGH = 2,
1: + NR_WMARK = 3,
1: +};
1: +
1: +enum {
1: + ZONELIST_FALLBACK = 0,
1: + ZONELIST_NOFALLBACK = 1,
1: + MAX_ZONELISTS = 2,
1: +};
1: +
1: +struct perf_msr {
1: + u64 msr;
1: + struct attribute_group *grp;
1: + bool (*test)(int, void *);
1: + bool no_check;
1: +};
1: +
1: +typedef long unsigned int pto_T__;
1: +
1: +struct amd_uncore {
1: + int id;
1: + int refcnt;
1: + int cpu;
1: + int num_counters;
1: + int rdpmc_base;
1: + u32 msr_base;
1: + cpumask_t *active_mask;
1: + struct pmu *pmu;
1: + struct perf_event *events[6];
1: + struct hlist_node node;
1: +};
1: +
1: +typedef int pci_power_t;
1: +
1: +typedef unsigned int pci_channel_state_t;
1: +
1: +typedef short unsigned int pci_dev_flags_t;
1: +
1: +struct pci_bus;
1: +
1: +struct pci_slot;
1: +
1: +struct aer_stats;
1: +
1: +struct pci_driver;
1: +
1: +struct pcie_link_state;
1: +
1: +struct pci_vpd;
1: +
1: +struct pci_sriov;
1: +
1: +struct pci_dev {
1: + struct list_head bus_list;
1: + struct pci_bus *bus;
1: + struct pci_bus *subordinate;
1: + void *sysdata;
1: + struct proc_dir_entry *procent;
1: + struct pci_slot *slot;
1: + unsigned int devfn;
1: + short unsigned int vendor;
1: + short unsigned int device;
1: + short unsigned int subsystem_vendor;
1: + short unsigned int subsystem_device;
1: + unsigned int class;
1: + u8 revision;
1: + u8 hdr_type;
1: + u16 aer_cap;
1: + struct aer_stats *aer_stats;
1: + u8 pcie_cap;
1: + u8 msi_cap;
1: + u8 msix_cap;
1: + u8 pcie_mpss: 3;
1: + u8 rom_base_reg;
1: + u8 pin;
1: + u16 pcie_flags_reg;
1: + long unsigned int *dma_alias_mask;
1: + struct pci_driver *driver;
1: + u64 dma_mask;
1: + struct device_dma_parameters dma_parms;
1: + pci_power_t current_state;
1: + unsigned int imm_ready: 1;
1: + u8 pm_cap;
1: + unsigned int pme_support: 5;
1: + unsigned int pme_poll: 1;
1: + unsigned int d1_support: 1;
1: + unsigned int d2_support: 1;
1: + unsigned int no_d1d2: 1;
1: + unsigned int no_d3cold: 1;
1: + unsigned int bridge_d3: 1;
1: + unsigned int d3cold_allowed: 1;
1: + unsigned int mmio_always_on: 1;
1: + unsigned int wakeup_prepared: 1;
1: + unsigned int runtime_d3cold: 1;
1: + unsigned int skip_bus_pm: 1;
1: + unsigned int ignore_hotplug: 1;
1: + unsigned int hotplug_user_indicators: 1;
1: + unsigned int clear_retrain_link: 1;
1: + unsigned int d3_delay;
1: + unsigned int d3cold_delay;
1: + struct pcie_link_state *link_state;
1: + unsigned int ltr_path: 1;
1: + unsigned int eetlp_prefix_path: 1;
1: + pci_channel_state_t error_state;
1: + struct device dev;
1: + int cfg_size;
1: + unsigned int irq;
1: + struct resource resource[11];
1: + bool match_driver;
1: + unsigned int transparent: 1;
1: + unsigned int io_window: 1;
1: + unsigned int pref_window: 1;
1: + unsigned int pref_64_window: 1;
1: + unsigned int multifunction: 1;
1: + unsigned int is_busmaster: 1;
1: + unsigned int no_msi: 1;
1: + unsigned int no_64bit_msi: 1;
1: + unsigned int block_cfg_access: 1;
1: + unsigned int broken_parity_status: 1;
1: + unsigned int irq_reroute_variant: 2;
1: + unsigned int msi_enabled: 1;
1: + unsigned int msix_enabled: 1;
1: + unsigned int ari_enabled: 1;
1: + unsigned int ats_enabled: 1;
1: + unsigned int pasid_enabled: 1;
1: + unsigned int pri_enabled: 1;
1: + unsigned int is_managed: 1;
1: + unsigned int needs_freset: 1;
1: + unsigned int state_saved: 1;
1: + unsigned int is_physfn: 1;
1: + unsigned int is_virtfn: 1;
1: + unsigned int reset_fn: 1;
1: + unsigned int is_hotplug_bridge: 1;
1: + unsigned int shpc_managed: 1;
1: + unsigned int is_thunderbolt: 1;
1: + unsigned int untrusted: 1;
1: + unsigned int __aer_firmware_first_valid: 1;
1: + unsigned int __aer_firmware_first: 1;
1: + unsigned int broken_intx_masking: 1;
1: + unsigned int io_window_1k: 1;
1: + unsigned int irq_managed: 1;
1: + unsigned int non_compliant_bars: 1;
1: + unsigned int is_probed: 1;
1: + unsigned int link_active_reporting: 1;
1: + unsigned int no_vf_scan: 1;
1: + pci_dev_flags_t dev_flags;
1: + atomic_t enable_cnt;
1: + u32 saved_config_space[16];
1: + struct hlist_head saved_cap_space;
1: + struct bin_attribute *rom_attr;
1: + int rom_attr_enabled;
1: + struct bin_attribute *res_attr[11];
1: + struct bin_attribute *res_attr_wc[11];
1: + const struct attribute_group **msi_irq_groups;
1: + struct pci_vpd *vpd;
1: + union {
1: + struct pci_sriov *sriov;
1: + struct pci_dev *physfn;
1: + };
1: + u16 ats_cap;
1: + u8 ats_stu;
1: + u16 pri_cap;
1: + u32 pri_reqs_alloc;
1: + unsigned int pasid_required: 1;
1: + u16 pasid_cap;
1: + u16 pasid_features;
1: + phys_addr_t rom;
1: + size_t romlen;
1: + char *driver_override;
1: + long unsigned int priv_flags;
1: +};
1: +
1: +struct pci_device_id {
1: + __u32 vendor;
1: + __u32 device;
1: + __u32 subvendor;
1: + __u32 subdevice;
1: + __u32 class;
1: + __u32 class_mask;
1: + kernel_ulong_t driver_data;
1: +};
1: +
1: +struct hotplug_slot;
1: +
1: +struct pci_slot {
1: + struct pci_bus *bus;
1: + struct list_head list;
1: + struct hotplug_slot *hotplug;
1: + unsigned char number;
1: + struct kobject kobj;
1: +};
1: +
1: +typedef short unsigned int pci_bus_flags_t;
1: +
1: +struct pci_ops;
1: +
1: +struct msi_controller;
1: +
1: +struct pci_bus {
1: + struct list_head node;
1: + struct pci_bus *parent;
1: + struct list_head children;
1: + struct list_head devices;
1: + struct pci_dev *self;
1: + struct list_head slots;
1: + struct resource *resource[4];
1: + struct list_head resources;
1: + struct resource busn_res;
1: + struct pci_ops *ops;
1: + struct msi_controller *msi;
1: + void *sysdata;
1: + struct proc_dir_entry *procdir;
1: + unsigned char number;
1: + unsigned char primary;
1: + unsigned char max_bus_speed;
1: + unsigned char cur_bus_speed;
1: + char name[48];
1: + short unsigned int bridge_ctl;
1: + pci_bus_flags_t bus_flags;
1: + struct device *bridge;
1: + struct device dev;
1: + struct bin_attribute *legacy_io;
1: + struct bin_attribute *legacy_mem;
1: + unsigned int is_added: 1;
1: +};
1: +
1: +enum {
1: + PCI_STD_RESOURCES = 0,
1: + PCI_STD_RESOURCE_END = 5,
1: + PCI_ROM_RESOURCE = 6,
1: + PCI_BRIDGE_RESOURCES = 7,
1: + PCI_BRIDGE_RESOURCE_END = 10,
1: + PCI_NUM_RESOURCES = 11,
1: + DEVICE_COUNT_RESOURCE = 11,
1: +};
1: +
1: +enum pci_channel_state {
1: + pci_channel_io_normal = 1,
1: + pci_channel_io_frozen = 2,
1: + pci_channel_io_perm_failure = 3,
1: +};
1: +
1: +typedef unsigned int pcie_reset_state_t;
1: +
1: +struct pci_dynids {
1: + spinlock_t lock;
1: + struct list_head list;
1: +};
1: +
1: +struct pci_error_handlers;
1: +
1: +struct pci_driver {
1: + struct list_head node;
1: + const char *name;
1: + const struct pci_device_id *id_table;
1: + int (*probe)(struct pci_dev *, const struct pci_device_id *);
1: + void (*remove)(struct pci_dev *);
1: + int (*suspend)(struct pci_dev *, pm_message_t);
1: + int (*resume)(struct pci_dev *);
1: + void (*shutdown)(struct pci_dev *);
1: + int (*sriov_configure)(struct pci_dev *, int);
1: + const struct pci_error_handlers *err_handler;
1: + const struct attribute_group **groups;
1: + struct device_driver driver;
1: + struct pci_dynids dynids;
1: +};
1: +
1: +struct pci_ops {
1: + int (*add_bus)(struct pci_bus *);
1: + void (*remove_bus)(struct pci_bus *);
1: + void * (*map_bus)(struct pci_bus *, unsigned int, int);
1: + int (*read)(struct pci_bus *, unsigned int, int, int, u32 *);
1: + int (*write)(struct pci_bus *, unsigned int, int, int, u32);
1: +};
1: +
1: +typedef unsigned int pci_ers_result_t;
1: +
1: +struct pci_error_handlers {
1: + pci_ers_result_t (*error_detected)(struct pci_dev *, enum pci_channel_state);
1: + pci_ers_result_t (*mmio_enabled)(struct pci_dev *);
1: + pci_ers_result_t (*slot_reset)(struct pci_dev *);
1: + void (*reset_prepare)(struct pci_dev *);
1: + void (*reset_done)(struct pci_dev *);
1: + void (*resume)(struct pci_dev *);
1: +};
1: +
1: +struct syscore_ops {
1: + struct list_head node;
1: + int (*suspend)();
1: + void (*resume)();
1: + void (*shutdown)();
1: +};
1: +
1: +enum ibs_states {
1: + IBS_ENABLED = 0,
1: + IBS_STARTED = 1,
1: + IBS_STOPPING = 2,
1: + IBS_STOPPED = 3,
1: + IBS_MAX_STATES = 4,
1: +};
1: +
1: +struct cpu_perf_ibs {
1: + struct perf_event *event;
1: + long unsigned int state[1];
1: +};
1: +
1: +struct perf_ibs {
1: + struct pmu pmu;
1: + unsigned int msr;
1: + u64 config_mask;
1: + u64 cnt_mask;
1: + u64 enable_mask;
1: + u64 valid_mask;
1: + u64 max_period;
1: + long unsigned int offset_mask[1];
1: + int offset_max;
1: + struct cpu_perf_ibs *pcpu;
1: + struct attribute **format_attrs;
1: + struct attribute_group format_group;
1: + const struct attribute_group *attr_groups[2];
1: + u64 (*get_count)(u64);
1: +};
1: +
1: +struct perf_ibs_data {
1: + u32 size;
1: + union {
1: + u32 data[0];
1: + u32 caps;
1: + };
1: + u64 regs[8];
1: +};
1: +
1: +struct kobj_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct kobject *, struct kobj_attribute *, char *);
1: + ssize_t (*store)(struct kobject *, struct kobj_attribute *, const char *, size_t);
1: +};
1: +
1: +struct amd_iommu;
1: +
1: +struct perf_amd_iommu {
1: + struct list_head list;
1: + struct pmu pmu;
1: + struct amd_iommu *iommu;
1: + char name[16];
1: + u8 max_banks;
1: + u8 max_counters;
1: + u64 cntr_assign_mask;
1: + raw_spinlock_t lock;
1: +};
1: +
1: +struct amd_iommu_event_desc {
1: + struct kobj_attribute attr;
1: + const char *event;
1: +};
1: +
1: +enum perf_msr_id {
1: + PERF_MSR_TSC = 0,
1: + PERF_MSR_APERF = 1,
1: + PERF_MSR_MPERF = 2,
1: + PERF_MSR_PPERF = 3,
1: + PERF_MSR_SMI = 4,
1: + PERF_MSR_PTSC = 5,
1: + PERF_MSR_IRPERF = 6,
1: + PERF_MSR_THERM = 7,
1: + PERF_MSR_EVENT_MAX = 8,
1: +};
1: +
1: +struct x86_cpu_desc {
1: + u8 x86_family;
1: + u8 x86_vendor;
1: + u8 x86_model;
1: + u8 x86_stepping;
1: + u32 x86_microcode_rev;
1: +};
1: +
1: +union cpuid10_eax {
1: + struct {
1: + unsigned int version_id: 8;
1: + unsigned int num_counters: 8;
1: + unsigned int bit_width: 8;
1: + unsigned int mask_length: 8;
1: + } split;
1: + unsigned int full;
1: +};
1: +
1: +union cpuid10_ebx {
1: + struct {
1: + unsigned int no_unhalted_core_cycles: 1;
1: + unsigned int no_instructions_retired: 1;
1: + unsigned int no_unhalted_reference_cycles: 1;
1: + unsigned int no_llc_reference: 1;
1: + unsigned int no_llc_misses: 1;
1: + unsigned int no_branch_instruction_retired: 1;
1: + unsigned int no_branch_misses_retired: 1;
1: + } split;
1: + unsigned int full;
1: +};
1: +
1: +union cpuid10_edx {
1: + struct {
1: + unsigned int num_counters_fixed: 5;
1: + unsigned int bit_width_fixed: 8;
1: + unsigned int reserved: 19;
1: + } split;
1: + unsigned int full;
1: +};
1: +
1: +union x86_pmu_config {
1: + struct {
1: + u64 event: 8;
1: + u64 umask: 8;
1: + u64 usr: 1;
1: + u64 os: 1;
1: + u64 edge: 1;
1: + u64 pc: 1;
1: + u64 interrupt: 1;
1: + u64 __reserved1: 1;
1: + u64 en: 1;
1: + u64 inv: 1;
1: + u64 cmask: 8;
1: + u64 event2: 4;
1: + u64 __reserved2: 4;
1: + u64 go: 1;
1: + u64 ho: 1;
1: + } bits;
1: + u64 value;
1: +};
1: +
1: +enum pageflags {
1: + PG_locked = 0,
1: + PG_referenced = 1,
1: + PG_uptodate = 2,
1: + PG_dirty = 3,
1: + PG_lru = 4,
1: + PG_active = 5,
1: + PG_workingset = 6,
1: + PG_waiters = 7,
1: + PG_error = 8,
1: + PG_slab = 9,
1: + PG_owner_priv_1 = 10,
1: + PG_arch_1 = 11,
1: + PG_reserved = 12,
1: + PG_private = 13,
1: + PG_private_2 = 14,
1: + PG_writeback = 15,
1: + PG_head = 16,
1: + PG_mappedtodisk = 17,
1: + PG_reclaim = 18,
1: + PG_swapbacked = 19,
1: + PG_unevictable = 20,
1: + PG_mlocked = 21,
1: + PG_uncached = 22,
1: + __NR_PAGEFLAGS = 23,
1: + PG_checked = 10,
1: + PG_swapcache = 10,
1: + PG_fscache = 14,
1: + PG_pinned = 10,
1: + PG_savepinned = 3,
1: + PG_foreign = 10,
1: + PG_xen_remapped = 10,
1: + PG_slob_free = 13,
1: + PG_double_map = 14,
1: + PG_isolated = 18,
1: +};
1: +
1: +struct bts_ctx {
1: + struct perf_output_handle handle;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct debug_store ds_back;
1: + int state;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +enum {
1: + BTS_STATE_STOPPED = 0,
1: + BTS_STATE_INACTIVE = 1,
1: + BTS_STATE_ACTIVE = 2,
1: +};
1: +
1: +struct bts_phys {
1: + struct page *page;
1: + long unsigned int size;
1: + long unsigned int offset;
1: + long unsigned int displacement;
1: +};
1: +
1: +struct bts_buffer {
1: + size_t real_size;
1: + unsigned int nr_pages;
1: + unsigned int nr_bufs;
1: + unsigned int cur_buf;
1: + bool snapshot;
1: + local_t data_size;
1: + local_t head;
1: + long unsigned int end;
1: + void **data_pages;
1: + struct bts_phys buf[0];
1: +};
1: +
1: +struct entry_stack {
1: + long unsigned int words[64];
1: +};
1: +
1: +struct entry_stack_page {
1: + struct entry_stack stack;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct debug_store_buffers {
1: + char bts_buffer[65536];
1: + char pebs_buffer[65536];
1: +};
1: +
1: +struct cea_exception_stacks {
1: + char DF_stack_guard[4096];
1: + char DF_stack[4096];
1: + char NMI_stack_guard[4096];
1: + char NMI_stack[4096];
1: + char DB2_stack_guard[4096];
1: + char DB2_stack[4096];
1: + char DB1_stack_guard[4096];
1: + char DB1_stack[4096];
1: + char DB_stack_guard[4096];
1: + char DB_stack[4096];
1: + char MCE_stack_guard[4096];
1: + char MCE_stack[4096];
1: + char IST_top_guard[4096];
1: +};
1: +
1: +struct cpu_entry_area {
1: + char gdt[4096];
1: + struct entry_stack_page entry_stack_page;
1: + struct tss_struct tss;
1: + struct cea_exception_stacks estacks;
1: + struct debug_store cpu_debug_store;
1: + struct debug_store_buffers cpu_debug_buffers;
1: +};
1: +
1: +struct pebs_basic {
1: + u64 format_size;
1: + u64 ip;
1: + u64 applicable_counters;
1: + u64 tsc;
1: +};
1: +
1: +struct pebs_meminfo {
1: + u64 address;
1: + u64 aux;
1: + u64 latency;
1: + u64 tsx_tuning;
1: +};
1: +
1: +struct pebs_gprs {
1: + u64 flags;
1: + u64 ip;
1: + u64 ax;
1: + u64 cx;
1: + u64 dx;
1: + u64 bx;
1: + u64 sp;
1: + u64 bp;
1: + u64 si;
1: + u64 di;
1: + u64 r8;
1: + u64 r9;
1: + u64 r10;
1: + u64 r11;
1: + u64 r12;
1: + u64 r13;
1: + u64 r14;
1: + u64 r15;
1: +};
1: +
1: +struct pebs_xmm {
1: + u64 xmm[32];
1: +};
1: +
1: +struct pebs_lbr_entry {
1: + u64 from;
1: + u64 to;
1: + u64 info;
1: +};
1: +
1: +struct pebs_lbr {
1: + struct pebs_lbr_entry lbr[0];
1: +};
1: +
1: +struct x86_perf_regs {
1: + struct pt_regs regs;
1: + u64 *xmm_regs;
1: +};
1: +
1: +typedef unsigned int insn_attr_t;
1: +
1: +typedef unsigned char insn_byte_t;
1: +
1: +typedef int insn_value_t;
1: +
1: +struct insn_field {
1: + union {
1: + insn_value_t value;
1: + insn_byte_t bytes[4];
1: + };
1: + unsigned char got;
1: + unsigned char nbytes;
1: +};
1: +
1: +struct insn {
1: + struct insn_field prefixes;
1: + struct insn_field rex_prefix;
1: + struct insn_field vex_prefix;
1: + struct insn_field opcode;
1: + struct insn_field modrm;
1: + struct insn_field sib;
1: + struct insn_field displacement;
1: + union {
1: + struct insn_field immediate;
1: + struct insn_field moffset1;
1: + struct insn_field immediate1;
1: + };
1: + union {
1: + struct insn_field moffset2;
1: + struct insn_field immediate2;
1: + };
1: + int emulate_prefix_size;
1: + insn_attr_t attr;
1: + unsigned char opnd_bytes;
1: + unsigned char addr_bytes;
1: + unsigned char length;
1: + unsigned char x86_64;
1: + const insn_byte_t *kaddr;
1: + const insn_byte_t *end_kaddr;
1: + const insn_byte_t *next_byte;
1: +};
1: +
1: +enum {
1: + PERF_TXN_ELISION = 1,
1: + PERF_TXN_TRANSACTION = 2,
1: + PERF_TXN_SYNC = 4,
1: + PERF_TXN_ASYNC = 8,
1: + PERF_TXN_RETRY = 16,
1: + PERF_TXN_CONFLICT = 32,
1: + PERF_TXN_CAPACITY_WRITE = 64,
1: + PERF_TXN_CAPACITY_READ = 128,
1: + PERF_TXN_MAX = 256,
1: + PERF_TXN_ABORT_MASK = 0,
1: + PERF_TXN_ABORT_SHIFT = 32,
1: +};
1: +
1: +struct perf_event_header {
1: + __u32 type;
1: + __u16 misc;
1: + __u16 size;
1: +};
1: +
1: +union intel_x86_pebs_dse {
1: + u64 val;
1: + struct {
1: + unsigned int ld_dse: 4;
1: + unsigned int ld_stlb_miss: 1;
1: + unsigned int ld_locked: 1;
1: + unsigned int ld_reserved: 26;
1: + };
1: + struct {
1: + unsigned int st_l1d_hit: 1;
1: + unsigned int st_reserved1: 3;
1: + unsigned int st_stlb_miss: 1;
1: + unsigned int st_locked: 1;
1: + unsigned int st_reserved2: 26;
1: + };
1: +};
1: +
1: +struct pebs_record_core {
1: + u64 flags;
1: + u64 ip;
1: + u64 ax;
1: + u64 bx;
1: + u64 cx;
1: + u64 dx;
1: + u64 si;
1: + u64 di;
1: + u64 bp;
1: + u64 sp;
1: + u64 r8;
1: + u64 r9;
1: + u64 r10;
1: + u64 r11;
1: + u64 r12;
1: + u64 r13;
1: + u64 r14;
1: + u64 r15;
1: +};
1: +
1: +struct pebs_record_nhm {
1: + u64 flags;
1: + u64 ip;
1: + u64 ax;
1: + u64 bx;
1: + u64 cx;
1: + u64 dx;
1: + u64 si;
1: + u64 di;
1: + u64 bp;
1: + u64 sp;
1: + u64 r8;
1: + u64 r9;
1: + u64 r10;
1: + u64 r11;
1: + u64 r12;
1: + u64 r13;
1: + u64 r14;
1: + u64 r15;
1: + u64 status;
1: + u64 dla;
1: + u64 dse;
1: + u64 lat;
1: +};
1: +
1: +union hsw_tsx_tuning {
1: + struct {
1: + u32 cycles_last_block: 32;
1: + u32 hle_abort: 1;
1: + u32 rtm_abort: 1;
1: + u32 instruction_abort: 1;
1: + u32 non_instruction_abort: 1;
1: + u32 retry: 1;
1: + u32 data_conflict: 1;
1: + u32 capacity_writes: 1;
1: + u32 capacity_reads: 1;
1: + };
1: + u64 value;
1: +};
1: +
1: +struct pebs_record_skl {
1: + u64 flags;
1: + u64 ip;
1: + u64 ax;
1: + u64 bx;
1: + u64 cx;
1: + u64 dx;
1: + u64 si;
1: + u64 di;
1: + u64 bp;
1: + u64 sp;
1: + u64 r8;
1: + u64 r9;
1: + u64 r10;
1: + u64 r11;
1: + u64 r12;
1: + u64 r13;
1: + u64 r14;
1: + u64 r15;
1: + u64 status;
1: + u64 dla;
1: + u64 dse;
1: + u64 lat;
1: + u64 real_ip;
1: + u64 tsx_tuning;
1: + u64 tsc;
1: +};
1: +
1: +struct bts_record {
1: + u64 from;
1: + u64 to;
1: + u64 flags;
1: +};
1: +
1: +enum {
1: + PERF_BR_UNKNOWN = 0,
1: + PERF_BR_COND = 1,
1: + PERF_BR_UNCOND = 2,
1: + PERF_BR_IND = 3,
1: + PERF_BR_CALL = 4,
1: + PERF_BR_IND_CALL = 5,
1: + PERF_BR_RET = 6,
1: + PERF_BR_SYSCALL = 7,
1: + PERF_BR_SYSRET = 8,
1: + PERF_BR_COND_CALL = 9,
1: + PERF_BR_COND_RET = 10,
1: + PERF_BR_MAX = 11,
1: +};
1: +
1: +enum {
1: + LBR_FORMAT_32 = 0,
1: + LBR_FORMAT_LIP = 1,
1: + LBR_FORMAT_EIP = 2,
1: + LBR_FORMAT_EIP_FLAGS = 3,
1: + LBR_FORMAT_EIP_FLAGS2 = 4,
1: + LBR_FORMAT_INFO = 5,
1: + LBR_FORMAT_TIME = 6,
1: + LBR_FORMAT_MAX_KNOWN = 6,
1: +};
1: +
1: +enum {
1: + X86_BR_NONE = 0,
1: + X86_BR_USER = 1,
1: + X86_BR_KERNEL = 2,
1: + X86_BR_CALL = 4,
1: + X86_BR_RET = 8,
1: + X86_BR_SYSCALL = 16,
1: + X86_BR_SYSRET = 32,
1: + X86_BR_INT = 64,
1: + X86_BR_IRET = 128,
1: + X86_BR_JCC = 256,
1: + X86_BR_JMP = 512,
1: + X86_BR_IRQ = 1024,
1: + X86_BR_IND_CALL = 2048,
1: + X86_BR_ABORT = 4096,
1: + X86_BR_IN_TX = 8192,
1: + X86_BR_NO_TX = 16384,
1: + X86_BR_ZERO_CALL = 32768,
1: + X86_BR_CALL_STACK = 65536,
1: + X86_BR_IND_JMP = 131072,
1: + X86_BR_TYPE_SAVE = 262144,
1: +};
1: +
1: +enum {
1: + LBR_NONE = 0,
1: + LBR_VALID = 1,
1: +};
1: +
1: +enum P4_EVENTS {
1: + P4_EVENT_TC_DELIVER_MODE = 0,
1: + P4_EVENT_BPU_FETCH_REQUEST = 1,
1: + P4_EVENT_ITLB_REFERENCE = 2,
1: + P4_EVENT_MEMORY_CANCEL = 3,
1: + P4_EVENT_MEMORY_COMPLETE = 4,
1: + P4_EVENT_LOAD_PORT_REPLAY = 5,
1: + P4_EVENT_STORE_PORT_REPLAY = 6,
1: + P4_EVENT_MOB_LOAD_REPLAY = 7,
1: + P4_EVENT_PAGE_WALK_TYPE = 8,
1: + P4_EVENT_BSQ_CACHE_REFERENCE = 9,
1: + P4_EVENT_IOQ_ALLOCATION = 10,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES = 11,
1: + P4_EVENT_FSB_DATA_ACTIVITY = 12,
1: + P4_EVENT_BSQ_ALLOCATION = 13,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES = 14,
1: + P4_EVENT_SSE_INPUT_ASSIST = 15,
1: + P4_EVENT_PACKED_SP_UOP = 16,
1: + P4_EVENT_PACKED_DP_UOP = 17,
1: + P4_EVENT_SCALAR_SP_UOP = 18,
1: + P4_EVENT_SCALAR_DP_UOP = 19,
1: + P4_EVENT_64BIT_MMX_UOP = 20,
1: + P4_EVENT_128BIT_MMX_UOP = 21,
1: + P4_EVENT_X87_FP_UOP = 22,
1: + P4_EVENT_TC_MISC = 23,
1: + P4_EVENT_GLOBAL_POWER_EVENTS = 24,
1: + P4_EVENT_TC_MS_XFER = 25,
1: + P4_EVENT_UOP_QUEUE_WRITES = 26,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE = 27,
1: + P4_EVENT_RETIRED_BRANCH_TYPE = 28,
1: + P4_EVENT_RESOURCE_STALL = 29,
1: + P4_EVENT_WC_BUFFER = 30,
1: + P4_EVENT_B2B_CYCLES = 31,
1: + P4_EVENT_BNR = 32,
1: + P4_EVENT_SNOOP = 33,
1: + P4_EVENT_RESPONSE = 34,
1: + P4_EVENT_FRONT_END_EVENT = 35,
1: + P4_EVENT_EXECUTION_EVENT = 36,
1: + P4_EVENT_REPLAY_EVENT = 37,
1: + P4_EVENT_INSTR_RETIRED = 38,
1: + P4_EVENT_UOPS_RETIRED = 39,
1: + P4_EVENT_UOP_TYPE = 40,
1: + P4_EVENT_BRANCH_RETIRED = 41,
1: + P4_EVENT_MISPRED_BRANCH_RETIRED = 42,
1: + P4_EVENT_X87_ASSIST = 43,
1: + P4_EVENT_MACHINE_CLEAR = 44,
1: + P4_EVENT_INSTR_COMPLETED = 45,
1: +};
1: +
1: +enum P4_EVENT_OPCODES {
1: + P4_EVENT_TC_DELIVER_MODE_OPCODE = 257,
1: + P4_EVENT_BPU_FETCH_REQUEST_OPCODE = 768,
1: + P4_EVENT_ITLB_REFERENCE_OPCODE = 6147,
1: + P4_EVENT_MEMORY_CANCEL_OPCODE = 517,
1: + P4_EVENT_MEMORY_COMPLETE_OPCODE = 2050,
1: + P4_EVENT_LOAD_PORT_REPLAY_OPCODE = 1026,
1: + P4_EVENT_STORE_PORT_REPLAY_OPCODE = 1282,
1: + P4_EVENT_MOB_LOAD_REPLAY_OPCODE = 770,
1: + P4_EVENT_PAGE_WALK_TYPE_OPCODE = 260,
1: + P4_EVENT_BSQ_CACHE_REFERENCE_OPCODE = 3079,
1: + P4_EVENT_IOQ_ALLOCATION_OPCODE = 774,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES_OPCODE = 6662,
1: + P4_EVENT_FSB_DATA_ACTIVITY_OPCODE = 5894,
1: + P4_EVENT_BSQ_ALLOCATION_OPCODE = 1287,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES_OPCODE = 1543,
1: + P4_EVENT_SSE_INPUT_ASSIST_OPCODE = 13313,
1: + P4_EVENT_PACKED_SP_UOP_OPCODE = 2049,
1: + P4_EVENT_PACKED_DP_UOP_OPCODE = 3073,
1: + P4_EVENT_SCALAR_SP_UOP_OPCODE = 2561,
1: + P4_EVENT_SCALAR_DP_UOP_OPCODE = 3585,
1: + P4_EVENT_64BIT_MMX_UOP_OPCODE = 513,
1: + P4_EVENT_128BIT_MMX_UOP_OPCODE = 6657,
1: + P4_EVENT_X87_FP_UOP_OPCODE = 1025,
1: + P4_EVENT_TC_MISC_OPCODE = 1537,
1: + P4_EVENT_GLOBAL_POWER_EVENTS_OPCODE = 4870,
1: + P4_EVENT_TC_MS_XFER_OPCODE = 1280,
1: + P4_EVENT_UOP_QUEUE_WRITES_OPCODE = 2304,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE_OPCODE = 1282,
1: + P4_EVENT_RETIRED_BRANCH_TYPE_OPCODE = 1026,
1: + P4_EVENT_RESOURCE_STALL_OPCODE = 257,
1: + P4_EVENT_WC_BUFFER_OPCODE = 1285,
1: + P4_EVENT_B2B_CYCLES_OPCODE = 5635,
1: + P4_EVENT_BNR_OPCODE = 2051,
1: + P4_EVENT_SNOOP_OPCODE = 1539,
1: + P4_EVENT_RESPONSE_OPCODE = 1027,
1: + P4_EVENT_FRONT_END_EVENT_OPCODE = 2053,
1: + P4_EVENT_EXECUTION_EVENT_OPCODE = 3077,
1: + P4_EVENT_REPLAY_EVENT_OPCODE = 2309,
1: + P4_EVENT_INSTR_RETIRED_OPCODE = 516,
1: + P4_EVENT_UOPS_RETIRED_OPCODE = 260,
1: + P4_EVENT_UOP_TYPE_OPCODE = 514,
1: + P4_EVENT_BRANCH_RETIRED_OPCODE = 1541,
1: + P4_EVENT_MISPRED_BRANCH_RETIRED_OPCODE = 772,
1: + P4_EVENT_X87_ASSIST_OPCODE = 773,
1: + P4_EVENT_MACHINE_CLEAR_OPCODE = 517,
1: + P4_EVENT_INSTR_COMPLETED_OPCODE = 1796,
1: +};
1: +
1: +enum P4_ESCR_EMASKS {
1: + P4_EVENT_TC_DELIVER_MODE__DD = 512,
1: + P4_EVENT_TC_DELIVER_MODE__DB = 1024,
1: + P4_EVENT_TC_DELIVER_MODE__DI = 2048,
1: + P4_EVENT_TC_DELIVER_MODE__BD = 4096,
1: + P4_EVENT_TC_DELIVER_MODE__BB = 8192,
1: + P4_EVENT_TC_DELIVER_MODE__BI = 16384,
1: + P4_EVENT_TC_DELIVER_MODE__ID = 32768,
1: + P4_EVENT_BPU_FETCH_REQUEST__TCMISS = 512,
1: + P4_EVENT_ITLB_REFERENCE__HIT = 512,
1: + P4_EVENT_ITLB_REFERENCE__MISS = 1024,
1: + P4_EVENT_ITLB_REFERENCE__HIT_UK = 2048,
1: + P4_EVENT_MEMORY_CANCEL__ST_RB_FULL = 2048,
1: + P4_EVENT_MEMORY_CANCEL__64K_CONF = 4096,
1: + P4_EVENT_MEMORY_COMPLETE__LSC = 512,
1: + P4_EVENT_MEMORY_COMPLETE__SSC = 1024,
1: + P4_EVENT_LOAD_PORT_REPLAY__SPLIT_LD = 1024,
1: + P4_EVENT_STORE_PORT_REPLAY__SPLIT_ST = 1024,
1: + P4_EVENT_MOB_LOAD_REPLAY__NO_STA = 1024,
1: + P4_EVENT_MOB_LOAD_REPLAY__NO_STD = 4096,
1: + P4_EVENT_MOB_LOAD_REPLAY__PARTIAL_DATA = 8192,
1: + P4_EVENT_MOB_LOAD_REPLAY__UNALGN_ADDR = 16384,
1: + P4_EVENT_PAGE_WALK_TYPE__DTMISS = 512,
1: + P4_EVENT_PAGE_WALK_TYPE__ITMISS = 1024,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITS = 512,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITE = 1024,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITM = 2048,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITS = 4096,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITE = 8192,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITM = 16384,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_MISS = 131072,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_MISS = 262144,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__WR_2ndL_MISS = 524288,
1: + P4_EVENT_IOQ_ALLOCATION__DEFAULT = 512,
1: + P4_EVENT_IOQ_ALLOCATION__ALL_READ = 16384,
1: + P4_EVENT_IOQ_ALLOCATION__ALL_WRITE = 32768,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_UC = 65536,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_WC = 131072,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_WT = 262144,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_WP = 524288,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_WB = 1048576,
1: + P4_EVENT_IOQ_ALLOCATION__OWN = 4194304,
1: + P4_EVENT_IOQ_ALLOCATION__OTHER = 8388608,
1: + P4_EVENT_IOQ_ALLOCATION__PREFETCH = 16777216,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__DEFAULT = 512,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__ALL_READ = 16384,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__ALL_WRITE = 32768,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_UC = 65536,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WC = 131072,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WT = 262144,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WP = 524288,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WB = 1048576,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__OWN = 4194304,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__OTHER = 8388608,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__PREFETCH = 16777216,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DRDY_DRV = 512,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DRDY_OWN = 1024,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DRDY_OTHER = 2048,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DBSY_DRV = 4096,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DBSY_OWN = 8192,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DBSY_OTHER = 16384,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_TYPE0 = 512,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_TYPE1 = 1024,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_LEN0 = 2048,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_LEN1 = 4096,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_IO_TYPE = 16384,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_LOCK_TYPE = 32768,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_CACHE_TYPE = 65536,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_SPLIT_TYPE = 131072,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_DEM_TYPE = 262144,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_ORD_TYPE = 524288,
1: + P4_EVENT_BSQ_ALLOCATION__MEM_TYPE0 = 1048576,
1: + P4_EVENT_BSQ_ALLOCATION__MEM_TYPE1 = 2097152,
1: + P4_EVENT_BSQ_ALLOCATION__MEM_TYPE2 = 4194304,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_TYPE0 = 512,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_TYPE1 = 1024,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LEN0 = 2048,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LEN1 = 4096,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_IO_TYPE = 16384,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LOCK_TYPE = 32768,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_CACHE_TYPE = 65536,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_SPLIT_TYPE = 131072,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_DEM_TYPE = 262144,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_ORD_TYPE = 524288,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE0 = 1048576,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE1 = 2097152,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE2 = 4194304,
1: + P4_EVENT_SSE_INPUT_ASSIST__ALL = 16777216,
1: + P4_EVENT_PACKED_SP_UOP__ALL = 16777216,
1: + P4_EVENT_PACKED_DP_UOP__ALL = 16777216,
1: + P4_EVENT_SCALAR_SP_UOP__ALL = 16777216,
1: + P4_EVENT_SCALAR_DP_UOP__ALL = 16777216,
1: + P4_EVENT_64BIT_MMX_UOP__ALL = 16777216,
1: + P4_EVENT_128BIT_MMX_UOP__ALL = 16777216,
1: + P4_EVENT_X87_FP_UOP__ALL = 16777216,
1: + P4_EVENT_TC_MISC__FLUSH = 8192,
1: + P4_EVENT_GLOBAL_POWER_EVENTS__RUNNING = 512,
1: + P4_EVENT_TC_MS_XFER__CISC = 512,
1: + P4_EVENT_UOP_QUEUE_WRITES__FROM_TC_BUILD = 512,
1: + P4_EVENT_UOP_QUEUE_WRITES__FROM_TC_DELIVER = 1024,
1: + P4_EVENT_UOP_QUEUE_WRITES__FROM_ROM = 2048,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__CONDITIONAL = 1024,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__CALL = 2048,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__RETURN = 4096,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__INDIRECT = 8192,
1: + P4_EVENT_RETIRED_BRANCH_TYPE__CONDITIONAL = 1024,
1: + P4_EVENT_RETIRED_BRANCH_TYPE__CALL = 2048,
1: + P4_EVENT_RETIRED_BRANCH_TYPE__RETURN = 4096,
1: + P4_EVENT_RETIRED_BRANCH_TYPE__INDIRECT = 8192,
1: + P4_EVENT_RESOURCE_STALL__SBFULL = 16384,
1: + P4_EVENT_WC_BUFFER__WCB_EVICTS = 512,
1: + P4_EVENT_WC_BUFFER__WCB_FULL_EVICTS = 1024,
1: + P4_EVENT_FRONT_END_EVENT__NBOGUS = 512,
1: + P4_EVENT_FRONT_END_EVENT__BOGUS = 1024,
1: + P4_EVENT_EXECUTION_EVENT__NBOGUS0 = 512,
1: + P4_EVENT_EXECUTION_EVENT__NBOGUS1 = 1024,
1: + P4_EVENT_EXECUTION_EVENT__NBOGUS2 = 2048,
1: + P4_EVENT_EXECUTION_EVENT__NBOGUS3 = 4096,
1: + P4_EVENT_EXECUTION_EVENT__BOGUS0 = 8192,
1: + P4_EVENT_EXECUTION_EVENT__BOGUS1 = 16384,
1: + P4_EVENT_EXECUTION_EVENT__BOGUS2 = 32768,
1: + P4_EVENT_EXECUTION_EVENT__BOGUS3 = 65536,
1: + P4_EVENT_REPLAY_EVENT__NBOGUS = 512,
1: + P4_EVENT_REPLAY_EVENT__BOGUS = 1024,
1: + P4_EVENT_INSTR_RETIRED__NBOGUSNTAG = 512,
1: + P4_EVENT_INSTR_RETIRED__NBOGUSTAG = 1024,
1: + P4_EVENT_INSTR_RETIRED__BOGUSNTAG = 2048,
1: + P4_EVENT_INSTR_RETIRED__BOGUSTAG = 4096,
1: + P4_EVENT_UOPS_RETIRED__NBOGUS = 512,
1: + P4_EVENT_UOPS_RETIRED__BOGUS = 1024,
1: + P4_EVENT_UOP_TYPE__TAGLOADS = 1024,
1: + P4_EVENT_UOP_TYPE__TAGSTORES = 2048,
1: + P4_EVENT_BRANCH_RETIRED__MMNP = 512,
1: + P4_EVENT_BRANCH_RETIRED__MMNM = 1024,
1: + P4_EVENT_BRANCH_RETIRED__MMTP = 2048,
1: + P4_EVENT_BRANCH_RETIRED__MMTM = 4096,
1: + P4_EVENT_MISPRED_BRANCH_RETIRED__NBOGUS = 512,
1: + P4_EVENT_X87_ASSIST__FPSU = 512,
1: + P4_EVENT_X87_ASSIST__FPSO = 1024,
1: + P4_EVENT_X87_ASSIST__POAO = 2048,
1: + P4_EVENT_X87_ASSIST__POAU = 4096,
1: + P4_EVENT_X87_ASSIST__PREA = 8192,
1: + P4_EVENT_MACHINE_CLEAR__CLEAR = 512,
1: + P4_EVENT_MACHINE_CLEAR__MOCLEAR = 1024,
1: + P4_EVENT_MACHINE_CLEAR__SMCLEAR = 2048,
1: + P4_EVENT_INSTR_COMPLETED__NBOGUS = 512,
1: + P4_EVENT_INSTR_COMPLETED__BOGUS = 1024,
1: +};
1: +
1: +enum P4_PEBS_METRIC {
1: + P4_PEBS_METRIC__none = 0,
1: + P4_PEBS_METRIC__1stl_cache_load_miss_retired = 1,
1: + P4_PEBS_METRIC__2ndl_cache_load_miss_retired = 2,
1: + P4_PEBS_METRIC__dtlb_load_miss_retired = 3,
1: + P4_PEBS_METRIC__dtlb_store_miss_retired = 4,
1: + P4_PEBS_METRIC__dtlb_all_miss_retired = 5,
1: + P4_PEBS_METRIC__tagged_mispred_branch = 6,
1: + P4_PEBS_METRIC__mob_load_replay_retired = 7,
1: + P4_PEBS_METRIC__split_load_retired = 8,
1: + P4_PEBS_METRIC__split_store_retired = 9,
1: + P4_PEBS_METRIC__max = 10,
1: +};
1: +
1: +struct p4_event_bind {
1: + unsigned int opcode;
1: + unsigned int escr_msr[2];
1: + unsigned int escr_emask;
1: + unsigned int shared;
1: + char cntr[6];
1: +};
1: +
1: +struct p4_pebs_bind {
1: + unsigned int metric_pebs;
1: + unsigned int metric_vert;
1: +};
1: +
1: +struct p4_event_alias {
1: + u64 original;
1: + u64 alternative;
1: +};
1: +
1: +enum cpuid_regs_idx {
1: + CPUID_EAX = 0,
1: + CPUID_EBX = 1,
1: + CPUID_ECX = 2,
1: + CPUID_EDX = 3,
1: +};
1: +
1: +struct dev_ext_attribute {
1: + struct device_attribute attr;
1: + void *var;
1: +};
1: +
1: +enum pt_capabilities {
1: + PT_CAP_max_subleaf = 0,
1: + PT_CAP_cr3_filtering = 1,
1: + PT_CAP_psb_cyc = 2,
1: + PT_CAP_ip_filtering = 3,
1: + PT_CAP_mtc = 4,
1: + PT_CAP_ptwrite = 5,
1: + PT_CAP_power_event_trace = 6,
1: + PT_CAP_topa_output = 7,
1: + PT_CAP_topa_multiple_entries = 8,
1: + PT_CAP_single_range_output = 9,
1: + PT_CAP_output_subsys = 10,
1: + PT_CAP_payloads_lip = 11,
1: + PT_CAP_num_address_ranges = 12,
1: + PT_CAP_mtc_periods = 13,
1: + PT_CAP_cycle_thresholds = 14,
1: + PT_CAP_psb_periods = 15,
1: +};
1: +
1: +enum perf_addr_filter_action_t {
1: + PERF_ADDR_FILTER_ACTION_STOP = 0,
1: + PERF_ADDR_FILTER_ACTION_START = 1,
1: + PERF_ADDR_FILTER_ACTION_FILTER = 2,
1: +};
1: +
1: +struct perf_addr_filter {
1: + struct list_head entry;
1: + struct path path;
1: + long unsigned int offset;
1: + long unsigned int size;
1: + enum perf_addr_filter_action_t action;
1: +};
1: +
1: +struct topa_entry {
1: + u64 end: 1;
1: + u64 rsvd0: 1;
1: + u64 intr: 1;
1: + u64 rsvd1: 1;
1: + u64 stop: 1;
1: + u64 rsvd2: 1;
1: + u64 size: 4;
1: + u64 rsvd3: 2;
1: + u64 base: 36;
1: + u64 rsvd4: 16;
1: +};
1: +
1: +struct pt_pmu {
1: + struct pmu pmu;
1: + u32 caps[8];
1: + bool vmx;
1: + bool branch_en_always_on;
1: + long unsigned int max_nonturbo_ratio;
1: + unsigned int tsc_art_num;
1: + unsigned int tsc_art_den;
1: +};
1: +
1: +struct topa;
1: +
1: +struct pt_buffer {
1: + struct list_head tables;
1: + struct topa *first;
1: + struct topa *last;
1: + struct topa *cur;
1: + unsigned int cur_idx;
1: + size_t output_off;
1: + long unsigned int nr_pages;
1: + local_t data_size;
1: + local64_t head;
1: + bool snapshot;
1: + bool single;
1: + long int stop_pos;
1: + long int intr_pos;
1: + struct topa_entry *stop_te;
1: + struct topa_entry *intr_te;
1: + void **data_pages;
1: +};
1: +
1: +struct topa {
1: + struct list_head list;
1: + u64 offset;
1: + size_t size;
1: + int last;
1: + unsigned int z_count;
1: +};
1: +
1: +struct pt_filter {
1: + long unsigned int msr_a;
1: + long unsigned int msr_b;
1: + long unsigned int config;
1: +};
1: +
1: +struct pt_filters {
1: + struct pt_filter filter[4];
1: + unsigned int nr_filters;
1: +};
1: +
1: +struct pt {
1: + struct perf_output_handle handle;
1: + struct pt_filters filters;
1: + int handle_nmi;
1: + int vmx_on;
1: + u64 output_base;
1: + u64 output_mask;
1: +};
1: +
1: +struct pt_cap_desc {
1: + const char *name;
1: + u32 leaf;
1: + u8 reg;
1: + u32 mask;
1: +};
1: +
1: +struct pt_address_range {
1: + long unsigned int msr_a;
1: + long unsigned int msr_b;
1: + unsigned int reg_off;
1: +};
1: +
1: +struct topa_page {
1: + struct topa_entry table[507];
1: + struct topa topa;
1: +};
1: +
1: +typedef void (*exitcall_t)();
1: +
1: +enum hrtimer_mode {
1: + HRTIMER_MODE_ABS = 0,
1: + HRTIMER_MODE_REL = 1,
1: + HRTIMER_MODE_PINNED = 2,
1: + HRTIMER_MODE_SOFT = 4,
1: + HRTIMER_MODE_HARD = 8,
1: + HRTIMER_MODE_ABS_PINNED = 2,
1: + HRTIMER_MODE_REL_PINNED = 3,
1: + HRTIMER_MODE_ABS_SOFT = 4,
1: + HRTIMER_MODE_REL_SOFT = 5,
1: + HRTIMER_MODE_ABS_PINNED_SOFT = 6,
1: + HRTIMER_MODE_REL_PINNED_SOFT = 7,
1: + HRTIMER_MODE_ABS_HARD = 8,
1: + HRTIMER_MODE_REL_HARD = 9,
1: + HRTIMER_MODE_ABS_PINNED_HARD = 10,
1: + HRTIMER_MODE_REL_PINNED_HARD = 11,
1: +};
1: +
1: +struct x86_cpu_id {
1: + __u16 vendor;
1: + __u16 family;
1: + __u16 model;
1: + __u16 feature;
1: + kernel_ulong_t driver_data;
1: +};
1: +
1: +enum perf_rapl_events {
1: + PERF_RAPL_PP0 = 0,
1: + PERF_RAPL_PKG = 1,
1: + PERF_RAPL_RAM = 2,
1: + PERF_RAPL_PP1 = 3,
1: + PERF_RAPL_PSYS = 4,
1: + PERF_RAPL_MAX = 5,
1: + NR_RAPL_DOMAINS = 5,
1: +};
1: +
1: +struct rapl_pmu {
1: + raw_spinlock_t lock;
1: + int n_active;
1: + int cpu;
1: + struct list_head active_list;
1: + struct pmu *pmu;
1: + ktime_t timer_interval;
1: + struct hrtimer hrtimer;
1: +};
1: +
1: +struct rapl_pmus {
1: + struct pmu pmu;
1: + unsigned int maxdie;
1: + struct rapl_pmu *pmus[0];
1: +};
1: +
1: +struct rapl_model {
1: + long unsigned int events;
1: + bool apply_quirk;
1: +};
1: +
1: +struct acpi_device;
1: +
1: +struct pci_sysdata {
1: + int domain;
1: + int node;
1: + struct acpi_device *companion;
1: + void *iommu;
1: + void *fwnode;
1: +};
1: +
1: +struct pci_extra_dev {
1: + struct pci_dev *dev[4];
1: +};
1: +
1: +struct intel_uncore_pmu;
1: +
1: +struct intel_uncore_ops;
1: +
1: +struct uncore_event_desc;
1: +
1: +struct freerunning_counters;
1: +
1: +struct intel_uncore_type {
1: + const char *name;
1: + int num_counters;
1: + int num_boxes;
1: + int perf_ctr_bits;
1: + int fixed_ctr_bits;
1: + int num_freerunning_types;
1: + unsigned int perf_ctr;
1: + unsigned int event_ctl;
1: + unsigned int event_mask;
1: + unsigned int event_mask_ext;
1: + unsigned int fixed_ctr;
1: + unsigned int fixed_ctl;
1: + unsigned int box_ctl;
1: + union {
1: + unsigned int msr_offset;
1: + unsigned int mmio_offset;
1: + };
1: + unsigned int num_shared_regs: 8;
1: + unsigned int single_fixed: 1;
1: + unsigned int pair_ctr_ctl: 1;
1: + unsigned int *msr_offsets;
1: + struct event_constraint unconstrainted;
1: + struct event_constraint *constraints;
1: + struct intel_uncore_pmu *pmus;
1: + struct intel_uncore_ops *ops;
1: + struct uncore_event_desc *event_descs;
1: + struct freerunning_counters *freerunning;
1: + const struct attribute_group *attr_groups[4];
1: + struct pmu *pmu;
1: +};
1: +
1: +struct intel_uncore_box;
1: +
1: +struct intel_uncore_pmu {
1: + struct pmu pmu;
1: + char name[32];
1: + int pmu_idx;
1: + int func_id;
1: + bool registered;
1: + atomic_t activeboxes;
1: + struct intel_uncore_type *type;
1: + struct intel_uncore_box **boxes;
1: +};
1: +
1: +struct intel_uncore_ops {
1: + void (*init_box)(struct intel_uncore_box *);
1: + void (*exit_box)(struct intel_uncore_box *);
1: + void (*disable_box)(struct intel_uncore_box *);
1: + void (*enable_box)(struct intel_uncore_box *);
1: + void (*disable_event)(struct intel_uncore_box *, struct perf_event *);
1: + void (*enable_event)(struct intel_uncore_box *, struct perf_event *);
1: + u64 (*read_counter)(struct intel_uncore_box *, struct perf_event *);
1: + int (*hw_config)(struct intel_uncore_box *, struct perf_event *);
1: + struct event_constraint * (*get_constraint)(struct intel_uncore_box *, struct perf_event *);
1: + void (*put_constraint)(struct intel_uncore_box *, struct perf_event *);
1: +};
1: +
1: +struct uncore_event_desc {
1: + struct kobj_attribute attr;
1: + const char *config;
1: +};
1: +
1: +struct freerunning_counters {
1: + unsigned int counter_base;
1: + unsigned int counter_offset;
1: + unsigned int box_offset;
1: + unsigned int num_counters;
1: + unsigned int bits;
1: +};
1: +
1: +struct intel_uncore_extra_reg {
1: + raw_spinlock_t lock;
1: + u64 config;
1: + u64 config1;
1: + u64 config2;
1: + atomic_t ref;
1: +};
1: +
1: +struct intel_uncore_box {
1: + int pci_phys_id;
1: + int dieid;
1: + int n_active;
1: + int n_events;
1: + int cpu;
1: + long unsigned int flags;
1: + atomic_t refcnt;
1: + struct perf_event *events[10];
1: + struct perf_event *event_list[10];
1: + struct event_constraint *event_constraint[10];
1: + long unsigned int active_mask[1];
1: + u64 tags[10];
1: + struct pci_dev *pci_dev;
1: + struct intel_uncore_pmu *pmu;
1: + u64 hrtimer_duration;
1: + struct hrtimer hrtimer;
1: + struct list_head list;
1: + struct list_head active_list;
1: + void *io_addr;
1: + struct intel_uncore_extra_reg shared_regs[0];
1: +};
1: +
1: +struct pci2phy_map {
1: + struct list_head list;
1: + int segment;
1: + int pbus_to_physid[256];
1: +};
1: +
1: +struct intel_uncore_init_fun {
1: + void (*cpu_init)();
1: + int (*pci_init)();
1: + void (*mmio_init)();
1: +};
1: +
1: +enum {
1: + EXTRA_REG_NHMEX_M_FILTER = 0,
1: + EXTRA_REG_NHMEX_M_DSP = 1,
1: + EXTRA_REG_NHMEX_M_ISS = 2,
1: + EXTRA_REG_NHMEX_M_MAP = 3,
1: + EXTRA_REG_NHMEX_M_MSC_THR = 4,
1: + EXTRA_REG_NHMEX_M_PGT = 5,
1: + EXTRA_REG_NHMEX_M_PLD = 6,
1: + EXTRA_REG_NHMEX_M_ZDP_CTL_FVC = 7,
1: +};
1: +
1: +enum {
1: + SNB_PCI_UNCORE_IMC = 0,
1: +};
1: +
1: +enum perf_snb_uncore_imc_freerunning_types {
1: + SNB_PCI_UNCORE_IMC_DATA = 0,
1: + SNB_PCI_UNCORE_IMC_FREERUNNING_TYPE_MAX = 1,
1: +};
1: +
1: +struct imc_uncore_pci_dev {
1: + __u32 pci_id;
1: + struct pci_driver *driver;
1: +};
1: +
1: +enum {
1: + SNBEP_PCI_QPI_PORT0_FILTER = 0,
1: + SNBEP_PCI_QPI_PORT1_FILTER = 1,
1: + BDX_PCI_QPI_PORT2_FILTER = 2,
1: + HSWEP_PCI_PCU_3 = 3,
1: +};
1: +
1: +enum {
1: + SNBEP_PCI_UNCORE_HA = 0,
1: + SNBEP_PCI_UNCORE_IMC = 1,
1: + SNBEP_PCI_UNCORE_QPI = 2,
1: + SNBEP_PCI_UNCORE_R2PCIE = 3,
1: + SNBEP_PCI_UNCORE_R3QPI = 4,
1: +};
1: +
1: +enum {
1: + IVBEP_PCI_UNCORE_HA = 0,
1: + IVBEP_PCI_UNCORE_IMC = 1,
1: + IVBEP_PCI_UNCORE_IRP = 2,
1: + IVBEP_PCI_UNCORE_QPI = 3,
1: + IVBEP_PCI_UNCORE_R2PCIE = 4,
1: + IVBEP_PCI_UNCORE_R3QPI = 5,
1: +};
1: +
1: +enum {
1: + KNL_PCI_UNCORE_MC_UCLK = 0,
1: + KNL_PCI_UNCORE_MC_DCLK = 1,
1: + KNL_PCI_UNCORE_EDC_UCLK = 2,
1: + KNL_PCI_UNCORE_EDC_ECLK = 3,
1: + KNL_PCI_UNCORE_M2PCIE = 4,
1: + KNL_PCI_UNCORE_IRP = 5,
1: +};
1: +
1: +enum {
1: + HSWEP_PCI_UNCORE_HA = 0,
1: + HSWEP_PCI_UNCORE_IMC = 1,
1: + HSWEP_PCI_UNCORE_IRP = 2,
1: + HSWEP_PCI_UNCORE_QPI = 3,
1: + HSWEP_PCI_UNCORE_R2PCIE = 4,
1: + HSWEP_PCI_UNCORE_R3QPI = 5,
1: +};
1: +
1: +enum {
1: + BDX_PCI_UNCORE_HA = 0,
1: + BDX_PCI_UNCORE_IMC = 1,
1: + BDX_PCI_UNCORE_IRP = 2,
1: + BDX_PCI_UNCORE_QPI = 3,
1: + BDX_PCI_UNCORE_R2PCIE = 4,
1: + BDX_PCI_UNCORE_R3QPI = 5,
1: +};
1: +
1: +enum perf_uncore_iio_freerunning_type_id {
1: + SKX_IIO_MSR_IOCLK = 0,
1: + SKX_IIO_MSR_BW = 1,
1: + SKX_IIO_MSR_UTIL = 2,
1: + SKX_IIO_FREERUNNING_TYPE_MAX = 3,
1: +};
1: +
1: +enum {
1: + SKX_PCI_UNCORE_IMC = 0,
1: + SKX_PCI_UNCORE_M2M = 1,
1: + SKX_PCI_UNCORE_UPI = 2,
1: + SKX_PCI_UNCORE_M2PCIE = 3,
1: + SKX_PCI_UNCORE_M3UPI = 4,
1: +};
1: +
1: +enum perf_uncore_snr_iio_freerunning_type_id {
1: + SNR_IIO_MSR_IOCLK = 0,
1: + SNR_IIO_MSR_BW_IN = 1,
1: + SNR_IIO_FREERUNNING_TYPE_MAX = 2,
1: +};
1: +
1: +enum {
1: + SNR_PCI_UNCORE_M2M = 0,
1: +};
1: +
1: +enum perf_uncore_snr_imc_freerunning_type_id {
1: + SNR_IMC_DCLK = 0,
1: + SNR_IMC_DDR = 1,
1: + SNR_IMC_FREERUNNING_TYPE_MAX = 2,
1: +};
1: +
1: +struct cstate_model {
1: + long unsigned int core_events;
1: + long unsigned int pkg_events;
1: + long unsigned int quirks;
1: +};
1: +
1: +enum perf_cstate_core_events {
1: + PERF_CSTATE_CORE_C1_RES = 0,
1: + PERF_CSTATE_CORE_C3_RES = 1,
1: + PERF_CSTATE_CORE_C6_RES = 2,
1: + PERF_CSTATE_CORE_C7_RES = 3,
1: + PERF_CSTATE_CORE_EVENT_MAX = 4,
1: +};
1: +
1: +enum perf_cstate_pkg_events {
1: + PERF_CSTATE_PKG_C2_RES = 0,
1: + PERF_CSTATE_PKG_C3_RES = 1,
1: + PERF_CSTATE_PKG_C6_RES = 2,
1: + PERF_CSTATE_PKG_C7_RES = 3,
1: + PERF_CSTATE_PKG_C8_RES = 4,
1: + PERF_CSTATE_PKG_C9_RES = 5,
1: + PERF_CSTATE_PKG_C10_RES = 6,
1: + PERF_CSTATE_PKG_EVENT_MAX = 7,
1: +};
1: +
1: +struct trampoline_header {
1: + u64 start;
1: + u64 efer;
1: + u32 cr4;
1: + u32 flags;
1: +};
1: +
1: +enum xfeature {
1: + XFEATURE_FP = 0,
1: + XFEATURE_SSE = 1,
1: + XFEATURE_YMM = 2,
1: + XFEATURE_BNDREGS = 3,
1: + XFEATURE_BNDCSR = 4,
1: + XFEATURE_OPMASK = 5,
1: + XFEATURE_ZMM_Hi256 = 6,
1: + XFEATURE_Hi16_ZMM = 7,
1: + XFEATURE_PT_UNIMPLEMENTED_SO_FAR = 8,
1: + XFEATURE_PKRU = 9,
1: + XFEATURE_MAX = 10,
1: +};
1: +
1: +struct pkru_state {
1: + u32 pkru;
1: + u32 pad;
1: +};
1: +
1: +enum show_regs_mode {
1: + SHOW_REGS_SHORT = 0,
1: + SHOW_REGS_USER = 1,
1: + SHOW_REGS_ALL = 2,
1: +};
1: +
1: +enum which_selector {
1: + FS = 0,
1: + GS = 1,
1: +};
1: +
1: +struct sigcontext_64 {
1: + __u64 r8;
1: + __u64 r9;
1: + __u64 r10;
1: + __u64 r11;
1: + __u64 r12;
1: + __u64 r13;
1: + __u64 r14;
1: + __u64 r15;
1: + __u64 di;
1: + __u64 si;
1: + __u64 bp;
1: + __u64 bx;
1: + __u64 dx;
1: + __u64 ax;
1: + __u64 cx;
1: + __u64 sp;
1: + __u64 ip;
1: + __u64 flags;
1: + __u16 cs;
1: + __u16 gs;
1: + __u16 fs;
1: + __u16 ss;
1: + __u64 err;
1: + __u64 trapno;
1: + __u64 oldmask;
1: + __u64 cr2;
1: + __u64 fpstate;
1: + __u64 reserved1[8];
1: +};
1: +
1: +struct sigaltstack {
1: + void *ss_sp;
1: + int ss_flags;
1: + size_t ss_size;
1: +};
1: +
1: +typedef struct sigaltstack stack_t;
1: +
1: +struct siginfo {
1: + union {
1: + struct {
1: + int si_signo;
1: + int si_errno;
1: + int si_code;
1: + union __sifields _sifields;
1: + };
1: + int _si_pad[32];
1: + };
1: +};
1: +
1: +typedef struct siginfo siginfo_t;
1: +
1: +struct ucontext {
1: + long unsigned int uc_flags;
1: + struct ucontext *uc_link;
1: + stack_t uc_stack;
1: + struct sigcontext_64 uc_mcontext;
1: + sigset_t uc_sigmask;
1: +};
1: +
1: +typedef u32 compat_sigset_word;
1: +
1: +typedef struct {
1: + compat_sigset_word sig[2];
1: +} compat_sigset_t;
1: +
1: +struct kernel_vm86_regs {
1: + struct pt_regs pt;
1: + short unsigned int es;
1: + short unsigned int __esh;
1: + short unsigned int ds;
1: + short unsigned int __dsh;
1: + short unsigned int fs;
1: + short unsigned int __fsh;
1: + short unsigned int gs;
1: + short unsigned int __gsh;
1: +};
1: +
1: +struct rt_sigframe {
1: + char *pretcode;
1: + struct ucontext uc;
1: + struct siginfo info;
1: +};
1: +
1: +typedef s32 compat_clock_t;
1: +
1: +typedef s32 compat_pid_t;
1: +
1: +typedef s32 compat_timer_t;
1: +
1: +typedef s32 compat_int_t;
1: +
1: +typedef u32 __compat_uid32_t;
1: +
1: +union compat_sigval {
1: + compat_int_t sival_int;
1: + compat_uptr_t sival_ptr;
1: +};
1: +
1: +typedef union compat_sigval compat_sigval_t;
1: +
1: +struct compat_siginfo {
1: + int si_signo;
1: + int si_errno;
1: + int si_code;
1: + union {
1: + int _pad[29];
1: + struct {
1: + compat_pid_t _pid;
1: + __compat_uid32_t _uid;
1: + } _kill;
1: + struct {
1: + compat_timer_t _tid;
1: + int _overrun;
1: + compat_sigval_t _sigval;
1: + } _timer;
1: + struct {
1: + compat_pid_t _pid;
1: + __compat_uid32_t _uid;
1: + compat_sigval_t _sigval;
1: + } _rt;
1: + struct {
1: + compat_pid_t _pid;
1: + __compat_uid32_t _uid;
1: + int _status;
1: + compat_clock_t _utime;
1: + compat_clock_t _stime;
1: + } _sigchld;
1: + struct {
1: + compat_uptr_t _addr;
1: + union {
1: + short int _addr_lsb;
1: + struct {
1: + char _dummy_bnd[4];
1: + compat_uptr_t _lower;
1: + compat_uptr_t _upper;
1: + } _addr_bnd;
1: + struct {
1: + char _dummy_pkey[4];
1: + u32 _pkey;
1: + } _addr_pkey;
1: + };
1: + } _sigfault;
1: + struct {
1: + compat_long_t _band;
1: + int _fd;
1: + } _sigpoll;
1: + struct {
1: + compat_uptr_t _call_addr;
1: + int _syscall;
1: + unsigned int _arch;
1: + } _sigsys;
1: + } _sifields;
1: +};
1: +
1: +typedef struct compat_siginfo compat_siginfo_t;
1: +
1: +enum bug_trap_type {
1: + BUG_TRAP_TYPE_NONE = 0,
1: + BUG_TRAP_TYPE_WARN = 1,
1: + BUG_TRAP_TYPE_BUG = 2,
1: +};
1: +
1: +struct idt_bits {
1: + u16 ist: 3;
1: + u16 zero: 5;
1: + u16 type: 5;
1: + u16 dpl: 2;
1: + u16 p: 1;
1: +};
1: +
1: +struct gate_struct {
1: + u16 offset_low;
1: + u16 segment;
1: + struct idt_bits bits;
1: + u16 offset_middle;
1: + u32 offset_high;
1: + u32 reserved;
1: +};
1: +
1: +typedef struct gate_struct gate_desc;
1: +
1: +struct mpx_bndcsr {
1: + u64 bndcfgu;
1: + u64 bndstatus;
1: +};
1: +
1: +enum die_val {
1: + DIE_OOPS = 1,
1: + DIE_INT3 = 2,
1: + DIE_DEBUG = 3,
1: + DIE_PANIC = 4,
1: + DIE_NMI = 5,
1: + DIE_DIE = 6,
1: + DIE_KERNELDEBUG = 7,
1: + DIE_TRAP = 8,
1: + DIE_GPF = 9,
1: + DIE_CALL = 10,
1: + DIE_PAGE_FAULT = 11,
1: + DIE_NMIUNKNOWN = 12,
1: +};
1: +
1: +struct bad_iret_stack {
1: + void *error_entry_ret;
1: + struct pt_regs regs;
1: +};
1: +
1: +enum {
1: + GATE_INTERRUPT = 14,
1: + GATE_TRAP = 15,
1: + GATE_CALL = 12,
1: + GATE_TASK = 5,
1: +};
1: +
1: +struct idt_data {
1: + unsigned int vector;
1: + unsigned int segment;
1: + struct idt_bits bits;
1: + const void *addr;
1: +};
1: +
1: +enum irqreturn {
1: + IRQ_NONE = 0,
1: + IRQ_HANDLED = 1,
1: + IRQ_WAKE_THREAD = 2,
1: +};
1: +
1: +typedef enum irqreturn irqreturn_t;
1: +
1: +typedef irqreturn_t (*irq_handler_t)(int, void *);
1: +
1: +struct irqaction {
1: + irq_handler_t handler;
1: + void *dev_id;
1: + void *percpu_dev_id;
1: + struct irqaction *next;
1: + irq_handler_t thread_fn;
1: + struct task_struct *thread;
1: + struct irqaction *secondary;
1: + unsigned int irq;
1: + unsigned int flags;
1: + long unsigned int thread_flags;
1: + long unsigned int thread_mask;
1: + const char *name;
1: + struct proc_dir_entry *dir;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct irq_affinity_notify {
1: + unsigned int irq;
1: + struct kref kref;
1: + struct work_struct work;
1: + void (*notify)(struct irq_affinity_notify *, const cpumask_t *);
1: + void (*release)(struct kref *);
1: +};
1: +
1: +enum irqchip_irq_state {
1: + IRQCHIP_STATE_PENDING = 0,
1: + IRQCHIP_STATE_ACTIVE = 1,
1: + IRQCHIP_STATE_MASKED = 2,
1: + IRQCHIP_STATE_LINE_LEVEL = 3,
1: +};
1: +
1: +struct irq_desc;
1: +
1: +typedef void (*irq_flow_handler_t)(struct irq_desc *);
1: +
1: +struct msi_desc;
1: +
1: +struct irq_common_data {
1: + unsigned int state_use_accessors;
1: + unsigned int node;
1: + void *handler_data;
1: + struct msi_desc *msi_desc;
1: + cpumask_var_t affinity;
1: + cpumask_var_t effective_affinity;
1: +};
1: +
1: +struct irq_chip;
1: +
1: +struct irq_data {
1: + u32 mask;
1: + unsigned int irq;
1: + long unsigned int hwirq;
1: + struct irq_common_data *common;
1: + struct irq_chip *chip;
1: + struct irq_domain *domain;
1: + struct irq_data *parent_data;
1: + void *chip_data;
1: +};
1: +
1: +struct irq_desc {
1: + struct irq_common_data irq_common_data;
1: + struct irq_data irq_data;
1: + unsigned int *kstat_irqs;
1: + irq_flow_handler_t handle_irq;
1: + struct irqaction *action;
1: + unsigned int status_use_accessors;
1: + unsigned int core_internal_state__do_not_mess_with_it;
1: + unsigned int depth;
1: + unsigned int wake_depth;
1: + unsigned int tot_count;
1: + unsigned int irq_count;
1: + long unsigned int last_unhandled;
1: + unsigned int irqs_unhandled;
1: + atomic_t threads_handled;
1: + int threads_handled_last;
1: + raw_spinlock_t lock;
1: + struct cpumask *percpu_enabled;
1: + const struct cpumask *percpu_affinity;
1: + const struct cpumask *affinity_hint;
1: + struct irq_affinity_notify *affinity_notify;
1: + cpumask_var_t pending_mask;
1: + long unsigned int threads_oneshot;
1: + atomic_t threads_active;
1: + wait_queue_head_t wait_for_threads;
1: + unsigned int nr_actions;
1: + unsigned int no_suspend_depth;
1: + unsigned int cond_suspend_depth;
1: + unsigned int force_resume_depth;
1: + struct proc_dir_entry *dir;
1: + struct callback_head rcu;
1: + struct kobject kobj;
1: + struct mutex request_mutex;
1: + int parent_irq;
1: + struct module *owner;
1: + const char *name;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct msi_msg;
1: +
1: +struct irq_chip {
1: + struct device *parent_device;
1: + const char *name;
1: + unsigned int (*irq_startup)(struct irq_data *);
1: + void (*irq_shutdown)(struct irq_data *);
1: + void (*irq_enable)(struct irq_data *);
1: + void (*irq_disable)(struct irq_data *);
1: + void (*irq_ack)(struct irq_data *);
1: + void (*irq_mask)(struct irq_data *);
1: + void (*irq_mask_ack)(struct irq_data *);
1: + void (*irq_unmask)(struct irq_data *);
1: + void (*irq_eoi)(struct irq_data *);
1: + int (*irq_set_affinity)(struct irq_data *, const struct cpumask *, bool);
1: + int (*irq_retrigger)(struct irq_data *);
1: + int (*irq_set_type)(struct irq_data *, unsigned int);
1: + int (*irq_set_wake)(struct irq_data *, unsigned int);
1: + void (*irq_bus_lock)(struct irq_data *);
1: + void (*irq_bus_sync_unlock)(struct irq_data *);
1: + void (*irq_cpu_online)(struct irq_data *);
1: + void (*irq_cpu_offline)(struct irq_data *);
1: + void (*irq_suspend)(struct irq_data *);
1: + void (*irq_resume)(struct irq_data *);
1: + void (*irq_pm_shutdown)(struct irq_data *);
1: + void (*irq_calc_mask)(struct irq_data *);
1: + void (*irq_print_chip)(struct irq_data *, struct seq_file *);
1: + int (*irq_request_resources)(struct irq_data *);
1: + void (*irq_release_resources)(struct irq_data *);
1: + void (*irq_compose_msi_msg)(struct irq_data *, struct msi_msg *);
1: + void (*irq_write_msi_msg)(struct irq_data *, struct msi_msg *);
1: + int (*irq_get_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool *);
1: + int (*irq_set_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool);
1: + int (*irq_set_vcpu_affinity)(struct irq_data *, void *);
1: + void (*ipi_send_single)(struct irq_data *, unsigned int);
1: + void (*ipi_send_mask)(struct irq_data *, const struct cpumask *);
1: + int (*irq_nmi_setup)(struct irq_data *);
1: + void (*irq_nmi_teardown)(struct irq_data *);
1: + long unsigned int flags;
1: +};
1: +
1: +typedef struct irq_desc *vector_irq_t[256];
1: +
1: +struct trace_event_raw_x86_irq_vector {
1: + struct trace_entry ent;
1: + int vector;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_config {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int vector;
1: + unsigned int cpu;
1: + unsigned int apicdest;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_mod {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int vector;
1: + unsigned int cpu;
1: + unsigned int prev_vector;
1: + unsigned int prev_cpu;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_reserve {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_alloc {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int vector;
1: + bool reserved;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_alloc_managed {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int vector;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_activate {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + bool is_managed;
1: + bool can_reserve;
1: + bool reserve;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_teardown {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + bool is_managed;
1: + bool has_reserved;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_setup {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + bool is_legacy;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vector_free_moved {
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int cpu;
1: + unsigned int vector;
1: + bool is_managed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_x86_irq_vector {};
1: +
1: +struct trace_event_data_offsets_vector_config {};
1: +
1: +struct trace_event_data_offsets_vector_mod {};
1: +
1: +struct trace_event_data_offsets_vector_reserve {};
1: +
1: +struct trace_event_data_offsets_vector_alloc {};
1: +
1: +struct trace_event_data_offsets_vector_alloc_managed {};
1: +
1: +struct trace_event_data_offsets_vector_activate {};
1: +
1: +struct trace_event_data_offsets_vector_teardown {};
1: +
1: +struct trace_event_data_offsets_vector_setup {};
1: +
1: +struct trace_event_data_offsets_vector_free_moved {};
1: +
1: +struct irq_stack {
1: + char stack[16384];
1: +};
1: +
1: +struct estack_pages {
1: + u32 offs;
1: + u16 size;
1: + u16 type;
1: +};
1: +
1: +struct arch_clocksource_data {
1: + int vclock_mode;
1: +};
1: +
1: +struct clocksource {
1: + u64 (*read)(struct clocksource *);
1: + u64 mask;
1: + u32 mult;
1: + u32 shift;
1: + u64 max_idle_ns;
1: + u32 maxadj;
1: + struct arch_clocksource_data archdata;
1: + u64 max_cycles;
1: + const char *name;
1: + struct list_head list;
1: + int rating;
1: + int (*enable)(struct clocksource *);
1: + void (*disable)(struct clocksource *);
1: + long unsigned int flags;
1: + void (*suspend)(struct clocksource *);
1: + void (*resume)(struct clocksource *);
1: + void (*mark_unstable)(struct clocksource *);
1: + void (*tick_stable)(struct clocksource *);
1: + struct list_head wd_list;
1: + u64 cs_last;
1: + u64 wd_last;
1: + struct module *owner;
1: +};
1: +
1: +enum clock_event_state {
1: + CLOCK_EVT_STATE_DETACHED = 0,
1: + CLOCK_EVT_STATE_SHUTDOWN = 1,
1: + CLOCK_EVT_STATE_PERIODIC = 2,
1: + CLOCK_EVT_STATE_ONESHOT = 3,
1: + CLOCK_EVT_STATE_ONESHOT_STOPPED = 4,
1: +};
1: +
1: +struct clock_event_device {
1: + void (*event_handler)(struct clock_event_device *);
1: + int (*set_next_event)(long unsigned int, struct clock_event_device *);
1: + int (*set_next_ktime)(ktime_t, struct clock_event_device *);
1: + ktime_t next_event;
1: + u64 max_delta_ns;
1: + u64 min_delta_ns;
1: + u32 mult;
1: + u32 shift;
1: + enum clock_event_state state_use_accessors;
1: + unsigned int features;
1: + long unsigned int retries;
1: + int (*set_state_periodic)(struct clock_event_device *);
1: + int (*set_state_oneshot)(struct clock_event_device *);
1: + int (*set_state_oneshot_stopped)(struct clock_event_device *);
1: + int (*set_state_shutdown)(struct clock_event_device *);
1: + int (*tick_resume)(struct clock_event_device *);
1: + void (*broadcast)(const struct cpumask *);
1: + void (*suspend)(struct clock_event_device *);
1: + void (*resume)(struct clock_event_device *);
1: + long unsigned int min_delta_ticks;
1: + long unsigned int max_delta_ticks;
1: + const char *name;
1: + int rating;
1: + int irq;
1: + int bound_on;
1: + const struct cpumask *cpumask;
1: + struct list_head list;
1: + struct module *owner;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct irq_affinity_desc {
1: + struct cpumask mask;
1: + unsigned int is_managed: 1;
1: +};
1: +
1: +struct msi_msg {
1: + u32 address_lo;
1: + u32 address_hi;
1: + u32 data;
1: +};
1: +
1: +struct platform_msi_priv_data;
1: +
1: +struct platform_msi_desc {
1: + struct platform_msi_priv_data *msi_priv_data;
1: + u16 msi_index;
1: +};
1: +
1: +struct fsl_mc_msi_desc {
1: + u16 msi_index;
1: +};
1: +
1: +struct ti_sci_inta_msi_desc {
1: + u16 dev_index;
1: +};
1: +
1: +struct msi_desc {
1: + struct list_head list;
1: + unsigned int irq;
1: + unsigned int nvec_used;
1: + struct device *dev;
1: + struct msi_msg msg;
1: + struct irq_affinity_desc *affinity;
1: + const void *iommu_cookie;
1: + void (*write_msi_msg)(struct msi_desc *, void *);
1: + void *write_msi_msg_data;
1: + union {
1: + struct {
1: + u32 masked;
1: + struct {
1: + u8 is_msix: 1;
1: + u8 multiple: 3;
1: + u8 multi_cap: 3;
1: + u8 maskbit: 1;
1: + u8 is_64: 1;
1: + u8 is_virtual: 1;
1: + u16 entry_nr;
1: + unsigned int default_irq;
1: + } msi_attrib;
1: + union {
1: + u8 mask_pos;
1: + void *mask_base;
1: + };
1: + };
1: + struct platform_msi_desc platform;
1: + struct fsl_mc_msi_desc fsl_mc;
1: + struct ti_sci_inta_msi_desc inta;
1: + };
1: +};
1: +
1: +struct irq_chip_regs {
1: + long unsigned int enable;
1: + long unsigned int disable;
1: + long unsigned int mask;
1: + long unsigned int ack;
1: + long unsigned int eoi;
1: + long unsigned int type;
1: + long unsigned int polarity;
1: +};
1: +
1: +struct irq_chip_type {
1: + struct irq_chip chip;
1: + struct irq_chip_regs regs;
1: + irq_flow_handler_t handler;
1: + u32 type;
1: + u32 mask_cache_priv;
1: + u32 *mask_cache;
1: +};
1: +
1: +struct irq_chip_generic {
1: + raw_spinlock_t lock;
1: + void *reg_base;
1: + u32 (*reg_readl)(void *);
1: + void (*reg_writel)(u32, void *);
1: + void (*suspend)(struct irq_chip_generic *);
1: + void (*resume)(struct irq_chip_generic *);
1: + unsigned int irq_base;
1: + unsigned int irq_cnt;
1: + u32 mask_cache;
1: + u32 type_cache;
1: + u32 polarity_cache;
1: + u32 wake_enabled;
1: + u32 wake_active;
1: + unsigned int num_ct;
1: + void *private;
1: + long unsigned int installed;
1: + long unsigned int unused;
1: + struct irq_domain *domain;
1: + struct list_head list;
1: + struct irq_chip_type chip_types[0];
1: +};
1: +
1: +enum irq_gc_flags {
1: + IRQ_GC_INIT_MASK_CACHE = 1,
1: + IRQ_GC_INIT_NESTED_LOCK = 2,
1: + IRQ_GC_MASK_CACHE_PER_TYPE = 4,
1: + IRQ_GC_NO_MASK = 8,
1: + IRQ_GC_BE_IO = 16,
1: +};
1: +
1: +struct irq_domain_chip_generic {
1: + unsigned int irqs_per_chip;
1: + unsigned int num_chips;
1: + unsigned int irq_flags_to_clear;
1: + unsigned int irq_flags_to_set;
1: + enum irq_gc_flags gc_flags;
1: + struct irq_chip_generic *gc[0];
1: +};
1: +
1: +struct legacy_pic {
1: + int nr_legacy_irqs;
1: + struct irq_chip *chip;
1: + void (*mask)(unsigned int);
1: + void (*unmask)(unsigned int);
1: + void (*mask_all)();
1: + void (*restore_mask)();
1: + void (*init)(int);
1: + int (*probe)();
1: + int (*irq_pending)(unsigned int);
1: + void (*make_irq)(unsigned int);
1: +};
1: +
1: +enum refcount_saturation_type {
1: + REFCOUNT_ADD_NOT_ZERO_OVF = 0,
1: + REFCOUNT_ADD_OVF = 1,
1: + REFCOUNT_ADD_UAF = 2,
1: + REFCOUNT_SUB_UAF = 3,
1: + REFCOUNT_DEC_LEAK = 4,
1: +};
1: +
1: +enum lockdown_reason {
1: + LOCKDOWN_NONE = 0,
1: + LOCKDOWN_MODULE_SIGNATURE = 1,
1: + LOCKDOWN_DEV_MEM = 2,
1: + LOCKDOWN_EFI_TEST = 3,
1: + LOCKDOWN_KEXEC = 4,
1: + LOCKDOWN_HIBERNATION = 5,
1: + LOCKDOWN_PCI_ACCESS = 6,
1: + LOCKDOWN_IOPORT = 7,
1: + LOCKDOWN_MSR = 8,
1: + LOCKDOWN_ACPI_TABLES = 9,
1: + LOCKDOWN_PCMCIA_CIS = 10,
1: + LOCKDOWN_TIOCSSERIAL = 11,
1: + LOCKDOWN_MODULE_PARAMETERS = 12,
1: + LOCKDOWN_MMIOTRACE = 13,
1: + LOCKDOWN_DEBUGFS = 14,
1: + LOCKDOWN_XMON_WR = 15,
1: + LOCKDOWN_INTEGRITY_MAX = 16,
1: + LOCKDOWN_KCORE = 17,
1: + LOCKDOWN_KPROBES = 18,
1: + LOCKDOWN_BPF_READ = 19,
1: + LOCKDOWN_PERF = 20,
1: + LOCKDOWN_TRACEFS = 21,
1: + LOCKDOWN_XMON_RW = 22,
1: + LOCKDOWN_CONFIDENTIALITY_MAX = 23,
1: +};
1: +
1: +enum lockdep_ok {
1: + LOCKDEP_STILL_OK = 0,
1: + LOCKDEP_NOW_UNRELIABLE = 1,
1: +};
1: +
1: +typedef long unsigned int uintptr_t;
1: +
1: +typedef u64 uint64_t;
1: +
1: +struct trace_event_raw_nmi_handler {
1: + struct trace_entry ent;
1: + void *handler;
1: + s64 delta_ns;
1: + int handled;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_nmi_handler {};
1: +
1: +struct nmi_desc {
1: + raw_spinlock_t lock;
1: + struct list_head head;
1: +};
1: +
1: +struct nmi_stats {
1: + unsigned int normal;
1: + unsigned int unknown;
1: + unsigned int external;
1: + unsigned int swallow;
1: +};
1: +
1: +enum nmi_states {
1: + NMI_NOT_RUNNING = 0,
1: + NMI_EXECUTING = 1,
1: + NMI_LATCHED = 2,
1: +};
1: +
1: +typedef unsigned int pao_T_____2;
1: +
1: +typedef enum nmi_states pto_T_____2;
1: +
1: +typedef int pto_T_____3;
1: +
1: +enum {
1: + DESC_TSS = 9,
1: + DESC_LDT = 2,
1: + DESCTYPE_S = 16,
1: +};
1: +
1: +struct ldttss_desc {
1: + u16 limit0;
1: + u16 base0;
1: + u16 base1: 8;
1: + u16 type: 5;
1: + u16 dpl: 2;
1: + u16 p: 1;
1: + u16 limit1: 4;
1: + u16 zero0: 3;
1: + u16 g: 1;
1: + u16 base2: 8;
1: + u32 base3;
1: + u32 zero1;
1: +};
1: +
1: +typedef struct ldttss_desc ldt_desc;
1: +
1: +struct user_desc {
1: + unsigned int entry_number;
1: + unsigned int base_addr;
1: + unsigned int limit;
1: + unsigned int seg_32bit: 1;
1: + unsigned int contents: 2;
1: + unsigned int read_exec_only: 1;
1: + unsigned int limit_in_pages: 1;
1: + unsigned int seg_not_present: 1;
1: + unsigned int useable: 1;
1: + unsigned int lm: 1;
1: +};
1: +
1: +struct mmu_gather_batch {
1: + struct mmu_gather_batch *next;
1: + unsigned int nr;
1: + unsigned int max;
1: + struct page *pages[0];
1: +};
1: +
1: +struct mmu_gather {
1: + struct mm_struct *mm;
1: + long unsigned int start;
1: + long unsigned int end;
1: + unsigned int fullmm: 1;
1: + unsigned int need_flush_all: 1;
1: + unsigned int freed_tables: 1;
1: + unsigned int cleared_ptes: 1;
1: + unsigned int cleared_pmds: 1;
1: + unsigned int cleared_puds: 1;
1: + unsigned int cleared_p4ds: 1;
1: + unsigned int vma_exec: 1;
1: + unsigned int vma_huge: 1;
1: + unsigned int batch_count;
1: + struct mmu_gather_batch *active;
1: + struct mmu_gather_batch local;
1: + struct page *__pages[8];
1: +};
1: +
1: +struct setup_data {
1: + __u64 next;
1: + __u32 type;
1: + __u32 len;
1: + __u8 data[0];
1: +};
1: +
1: +struct setup_indirect {
1: + __u32 type;
1: + __u32 reserved;
1: + __u64 len;
1: + __u64 addr;
1: +};
1: +
1: +struct plist_head {
1: + struct list_head node_list;
1: +};
1: +
1: +struct atomic_notifier_head {
1: + spinlock_t lock;
1: + struct notifier_block *head;
1: +};
1: +
1: +struct blocking_notifier_head {
1: + struct rw_semaphore rwsem;
1: + struct notifier_block *head;
1: +};
1: +
1: +enum pm_qos_type {
1: + PM_QOS_UNITIALIZED = 0,
1: + PM_QOS_MAX = 1,
1: + PM_QOS_MIN = 2,
1: + PM_QOS_SUM = 3,
1: +};
1: +
1: +struct pm_qos_constraints {
1: + struct plist_head list;
1: + s32 target_value;
1: + s32 default_value;
1: + s32 no_constraint_value;
1: + enum pm_qos_type type;
1: + struct blocking_notifier_head *notifiers;
1: +};
1: +
1: +struct freq_constraints {
1: + struct pm_qos_constraints min_freq;
1: + struct blocking_notifier_head min_freq_notifiers;
1: + struct pm_qos_constraints max_freq;
1: + struct blocking_notifier_head max_freq_notifiers;
1: +};
1: +
1: +struct pm_qos_flags {
1: + struct list_head list;
1: + s32 effective_flags;
1: +};
1: +
1: +struct dev_pm_qos_request;
1: +
1: +struct dev_pm_qos {
1: + struct pm_qos_constraints resume_latency;
1: + struct pm_qos_constraints latency_tolerance;
1: + struct freq_constraints freq;
1: + struct pm_qos_flags flags;
1: + struct dev_pm_qos_request *resume_latency_req;
1: + struct dev_pm_qos_request *latency_tolerance_req;
1: + struct dev_pm_qos_request *flags_req;
1: +};
1: +
1: +enum con_scroll {
1: + SM_UP = 0,
1: + SM_DOWN = 1,
1: +};
1: +
1: +struct vc_data;
1: +
1: +struct console_font;
1: +
1: +struct consw {
1: + struct module *owner;
1: + const char * (*con_startup)();
1: + void (*con_init)(struct vc_data *, int);
1: + void (*con_deinit)(struct vc_data *);
1: + void (*con_clear)(struct vc_data *, int, int, int, int);
1: + void (*con_putc)(struct vc_data *, int, int, int);
1: + void (*con_putcs)(struct vc_data *, const short unsigned int *, int, int, int);
1: + void (*con_cursor)(struct vc_data *, int);
1: + bool (*con_scroll)(struct vc_data *, unsigned int, unsigned int, enum con_scroll, unsigned int);
1: + int (*con_switch)(struct vc_data *);
1: + int (*con_blank)(struct vc_data *, int, int);
1: + int (*con_font_set)(struct vc_data *, struct console_font *, unsigned int);
1: + int (*con_font_get)(struct vc_data *, struct console_font *);
1: + int (*con_font_default)(struct vc_data *, struct console_font *, char *);
1: + int (*con_font_copy)(struct vc_data *, int);
1: + int (*con_resize)(struct vc_data *, unsigned int, unsigned int, unsigned int);
1: + void (*con_set_palette)(struct vc_data *, const unsigned char *);
1: + void (*con_scrolldelta)(struct vc_data *, int);
1: + int (*con_set_origin)(struct vc_data *);
1: + void (*con_save_screen)(struct vc_data *);
1: + u8 (*con_build_attr)(struct vc_data *, u8, u8, u8, u8, u8, u8);
1: + void (*con_invert_region)(struct vc_data *, u16 *, int);
1: + u16 * (*con_screen_pos)(struct vc_data *, int);
1: + long unsigned int (*con_getxy)(struct vc_data *, long unsigned int, int *, int *);
1: + void (*con_flush_scrollback)(struct vc_data *);
1: + int (*con_debug_enter)(struct vc_data *);
1: + int (*con_debug_leave)(struct vc_data *);
1: +};
1: +
1: +enum efi_secureboot_mode {
1: + efi_secureboot_mode_unset = 0,
1: + efi_secureboot_mode_unknown = 1,
1: + efi_secureboot_mode_disabled = 2,
1: + efi_secureboot_mode_enabled = 3,
1: +};
1: +
1: +enum xen_domain_type {
1: + XEN_NATIVE = 0,
1: + XEN_PV_DOMAIN = 1,
1: + XEN_HVM_DOMAIN = 2,
1: +};
1: +
1: +struct pm_qos_flags_request {
1: + struct list_head node;
1: + s32 flags;
1: +};
1: +
1: +enum freq_qos_req_type {
1: + FREQ_QOS_MIN = 1,
1: + FREQ_QOS_MAX = 2,
1: +};
1: +
1: +struct freq_qos_request {
1: + enum freq_qos_req_type type;
1: + struct plist_node pnode;
1: + struct freq_constraints *qos;
1: +};
1: +
1: +enum dev_pm_qos_req_type {
1: + DEV_PM_QOS_RESUME_LATENCY = 1,
1: + DEV_PM_QOS_LATENCY_TOLERANCE = 2,
1: + DEV_PM_QOS_MIN_FREQUENCY = 3,
1: + DEV_PM_QOS_MAX_FREQUENCY = 4,
1: + DEV_PM_QOS_FLAGS = 5,
1: +};
1: +
1: +struct dev_pm_qos_request {
1: + enum dev_pm_qos_req_type type;
1: + union {
1: + struct plist_node pnode;
1: + struct pm_qos_flags_request flr;
1: + struct freq_qos_request freq;
1: + } data;
1: + struct device *dev;
1: +};
1: +
1: +enum e820_type {
1: + E820_TYPE_RAM = 1,
1: + E820_TYPE_RESERVED = 2,
1: + E820_TYPE_ACPI = 3,
1: + E820_TYPE_NVS = 4,
1: + E820_TYPE_UNUSABLE = 5,
1: + E820_TYPE_PMEM = 7,
1: + E820_TYPE_PRAM = 12,
1: + E820_TYPE_SOFT_RESERVED = -268435457,
1: + E820_TYPE_RESERVED_KERN = 128,
1: +};
1: +
1: +struct e820_entry {
1: + u64 addr;
1: + u64 size;
1: + enum e820_type type;
1: +} __attribute__((packed));
1: +
1: +struct e820_table {
1: + __u32 nr_entries;
1: + struct e820_entry entries[320];
1: +} __attribute__((packed));
1: +
1: +struct x86_cpuinit_ops {
1: + void (*setup_percpu_clockev)();
1: + void (*early_percpu_clock_init)();
1: + void (*fixup_cpu_id)(struct cpuinfo_x86 *, int);
1: +};
1: +
1: +struct x86_msi_ops {
1: + int (*setup_msi_irqs)(struct pci_dev *, int, int);
1: + void (*teardown_msi_irq)(unsigned int);
1: + void (*teardown_msi_irqs)(struct pci_dev *);
1: + void (*restore_msi_irqs)(struct pci_dev *);
1: +};
1: +
1: +struct msi_controller {
1: + struct module *owner;
1: + struct device *dev;
1: + struct device_node *of_node;
1: + struct list_head list;
1: + int (*setup_irq)(struct msi_controller *, struct pci_dev *, struct msi_desc *);
1: + int (*setup_irqs)(struct msi_controller *, struct pci_dev *, int, int);
1: + void (*teardown_irq)(struct msi_controller *, unsigned int);
1: +};
1: +
1: +enum jump_label_type {
1: + JUMP_LABEL_NOP = 0,
1: + JUMP_LABEL_JMP = 1,
1: +};
1: +
1: +struct text_poke_loc {
1: + void *addr;
1: + int len;
1: + s32 rel32;
1: + u8 opcode;
1: + u8 text[5];
1: +};
1: +
1: +union jump_code_union {
1: + char code[5];
1: + struct {
1: + char jump;
1: + int offset;
1: + } __attribute__((packed));
1: +};
1: +
1: +enum {
1: + JL_STATE_START = 0,
1: + JL_STATE_NO_UPDATE = 1,
1: + JL_STATE_UPDATE = 2,
1: +};
1: +
1: +struct vm_unmapped_area_info {
1: + long unsigned int flags;
1: + long unsigned int length;
1: + long unsigned int low_limit;
1: + long unsigned int high_limit;
1: + long unsigned int align_mask;
1: + long unsigned int align_offset;
1: +};
1: +
1: +enum align_flags {
1: + ALIGN_VA_32 = 1,
1: + ALIGN_VA_64 = 2,
1: +};
1: +
1: +struct va_alignment {
1: + int flags;
1: + long unsigned int mask;
1: + long unsigned int bits;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +enum {
1: + MEMREMAP_WB = 1,
1: + MEMREMAP_WT = 2,
1: + MEMREMAP_WC = 4,
1: + MEMREMAP_ENC = 8,
1: + MEMREMAP_DEC = 16,
1: +};
1: +
1: +typedef void (*swap_func_t)(void *, void *, int);
1: +
1: +typedef int (*cmp_func_t)(const void *, const void *);
1: +
1: +enum {
1: + IORES_DESC_NONE = 0,
1: + IORES_DESC_CRASH_KERNEL = 1,
1: + IORES_DESC_ACPI_TABLES = 2,
1: + IORES_DESC_ACPI_NV_STORAGE = 3,
1: + IORES_DESC_PERSISTENT_MEMORY = 4,
1: + IORES_DESC_PERSISTENT_MEMORY_LEGACY = 5,
1: + IORES_DESC_DEVICE_PRIVATE_MEMORY = 6,
1: + IORES_DESC_RESERVED = 7,
1: + IORES_DESC_SOFT_RESERVED = 8,
1: +};
1: +
1: +struct change_member {
1: + struct e820_entry *entry;
1: + long long unsigned int addr;
1: +};
1: +
1: +struct iommu_fwspec {
1: + const struct iommu_ops *ops;
1: + struct fwnode_handle *iommu_fwnode;
1: + void *iommu_priv;
1: + u32 flags;
1: + unsigned int num_ids;
1: + u32 ids[1];
1: +};
1: +
1: +struct iommu_fault_param;
1: +
1: +struct iommu_param {
1: + struct mutex lock;
1: + struct iommu_fault_param *fault_param;
1: +};
1: +
1: +struct of_phandle_args {
1: + struct device_node *np;
1: + int args_count;
1: + uint32_t args[16];
1: +};
1: +
1: +struct iommu_fault_unrecoverable {
1: + __u32 reason;
1: + __u32 flags;
1: + __u32 pasid;
1: + __u32 perm;
1: + __u64 addr;
1: + __u64 fetch_addr;
1: +};
1: +
1: +struct iommu_fault_page_request {
1: + __u32 flags;
1: + __u32 pasid;
1: + __u32 grpid;
1: + __u32 perm;
1: + __u64 addr;
1: + __u64 private_data[2];
1: +};
1: +
1: +struct iommu_fault {
1: + __u32 type;
1: + __u32 padding;
1: + union {
1: + struct iommu_fault_unrecoverable event;
1: + struct iommu_fault_page_request prm;
1: + __u8 padding2[56];
1: + };
1: +};
1: +
1: +struct iommu_page_response {
1: + __u32 version;
1: + __u32 flags;
1: + __u32 pasid;
1: + __u32 grpid;
1: + __u32 code;
1: +};
1: +
1: +struct iommu_inv_addr_info {
1: + __u32 flags;
1: + __u32 archid;
1: + __u64 pasid;
1: + __u64 addr;
1: + __u64 granule_size;
1: + __u64 nb_granules;
1: +};
1: +
1: +struct iommu_inv_pasid_info {
1: + __u32 flags;
1: + __u32 archid;
1: + __u64 pasid;
1: +};
1: +
1: +struct iommu_cache_invalidate_info {
1: + __u32 version;
1: + __u8 cache;
1: + __u8 granularity;
1: + __u8 padding[2];
1: + union {
1: + struct iommu_inv_pasid_info pasid_info;
1: + struct iommu_inv_addr_info addr_info;
1: + };
1: +};
1: +
1: +struct iommu_gpasid_bind_data_vtd {
1: + __u64 flags;
1: + __u32 pat;
1: + __u32 emt;
1: +};
1: +
1: +struct iommu_gpasid_bind_data {
1: + __u32 version;
1: + __u32 format;
1: + __u64 flags;
1: + __u64 gpgd;
1: + __u64 hpasid;
1: + __u64 gpasid;
1: + __u32 addr_width;
1: + __u8 padding[12];
1: + union {
1: + struct iommu_gpasid_bind_data_vtd vtd;
1: + };
1: +};
1: +
1: +typedef int (*iommu_fault_handler_t)(struct iommu_domain *, struct device *, long unsigned int, int, void *);
1: +
1: +struct iommu_domain_geometry {
1: + dma_addr_t aperture_start;
1: + dma_addr_t aperture_end;
1: + bool force_aperture;
1: +};
1: +
1: +struct iommu_domain {
1: + unsigned int type;
1: + const struct iommu_ops *ops;
1: + long unsigned int pgsize_bitmap;
1: + iommu_fault_handler_t handler;
1: + void *handler_token;
1: + struct iommu_domain_geometry geometry;
1: + void *iova_cookie;
1: +};
1: +
1: +typedef int (*iommu_mm_exit_handler_t)(struct device *, struct iommu_sva *, void *);
1: +
1: +struct iommu_sva_ops;
1: +
1: +struct iommu_sva {
1: + struct device *dev;
1: + const struct iommu_sva_ops *ops;
1: +};
1: +
1: +typedef int (*iommu_dev_fault_handler_t)(struct iommu_fault *, void *);
1: +
1: +enum iommu_resv_type {
1: + IOMMU_RESV_DIRECT = 0,
1: + IOMMU_RESV_DIRECT_RELAXABLE = 1,
1: + IOMMU_RESV_RESERVED = 2,
1: + IOMMU_RESV_MSI = 3,
1: + IOMMU_RESV_SW_MSI = 4,
1: +};
1: +
1: +struct iommu_resv_region {
1: + struct list_head list;
1: + phys_addr_t start;
1: + size_t length;
1: + int prot;
1: + enum iommu_resv_type type;
1: +};
1: +
1: +struct iommu_sva_ops {
1: + iommu_mm_exit_handler_t mm_exit;
1: +};
1: +
1: +struct iommu_iotlb_gather {
1: + long unsigned int start;
1: + long unsigned int end;
1: + size_t pgsize;
1: +};
1: +
1: +struct iommu_fault_event {
1: + struct iommu_fault fault;
1: + struct list_head list;
1: +};
1: +
1: +struct iommu_fault_param {
1: + iommu_dev_fault_handler_t handler;
1: + void *data;
1: + struct list_head faults;
1: + struct mutex lock;
1: +};
1: +
1: +struct iommu_table_entry {
1: + initcall_t detect;
1: + initcall_t depend;
1: + void (*early_init)();
1: + void (*late_init)();
1: + int flags;
1: +};
1: +
1: +enum dmi_field {
1: + DMI_NONE = 0,
1: + DMI_BIOS_VENDOR = 1,
1: + DMI_BIOS_VERSION = 2,
1: + DMI_BIOS_DATE = 3,
1: + DMI_SYS_VENDOR = 4,
1: + DMI_PRODUCT_NAME = 5,
1: + DMI_PRODUCT_VERSION = 6,
1: + DMI_PRODUCT_SERIAL = 7,
1: + DMI_PRODUCT_UUID = 8,
1: + DMI_PRODUCT_SKU = 9,
1: + DMI_PRODUCT_FAMILY = 10,
1: + DMI_BOARD_VENDOR = 11,
1: + DMI_BOARD_NAME = 12,
1: + DMI_BOARD_VERSION = 13,
1: + DMI_BOARD_SERIAL = 14,
1: + DMI_BOARD_ASSET_TAG = 15,
1: + DMI_CHASSIS_VENDOR = 16,
1: + DMI_CHASSIS_TYPE = 17,
1: + DMI_CHASSIS_VERSION = 18,
1: + DMI_CHASSIS_SERIAL = 19,
1: + DMI_CHASSIS_ASSET_TAG = 20,
1: + DMI_STRING_MAX = 21,
1: + DMI_OEM_STRING = 22,
1: +};
1: +
1: +enum {
1: + NONE_FORCE_HPET_RESUME = 0,
1: + OLD_ICH_FORCE_HPET_RESUME = 1,
1: + ICH_FORCE_HPET_RESUME = 2,
1: + VT8237_FORCE_HPET_RESUME = 3,
1: + NVIDIA_FORCE_HPET_RESUME = 4,
1: + ATI_FORCE_HPET_RESUME = 5,
1: +};
1: +
1: +struct cpu {
1: + int node_id;
1: + int hotpluggable;
1: + struct device dev;
1: +};
1: +
1: +struct x86_cpu {
1: + struct cpu cpu;
1: +};
1: +
1: +struct debugfs_blob_wrapper {
1: + void *data;
1: + long unsigned int size;
1: +};
1: +
1: +struct setup_data_node {
1: + u64 paddr;
1: + u32 type;
1: + u32 len;
1: +};
1: +
1: +struct die_args {
1: + struct pt_regs *regs;
1: + const char *str;
1: + long int err;
1: + int trapnr;
1: + int signr;
1: +};
1: +
1: +typedef struct {
1: + struct mm_struct *mm;
1: +} temp_mm_state_t;
1: +
1: +struct smp_alt_module {
1: + struct module *mod;
1: + char *name;
1: + const s32 *locks;
1: + const s32 *locks_end;
1: + u8 *text;
1: + u8 *text_end;
1: + struct list_head next;
1: +};
1: +
1: +struct bp_patching_desc {
1: + struct text_poke_loc *vec;
1: + int nr_entries;
1: +};
1: +
1: +struct paravirt_patch_site;
1: +
1: +struct user_i387_struct {
1: + short unsigned int cwd;
1: + short unsigned int swd;
1: + short unsigned int twd;
1: + short unsigned int fop;
1: + __u64 rip;
1: + __u64 rdp;
1: + __u32 mxcsr;
1: + __u32 mxcsr_mask;
1: + __u32 st_space[32];
1: + __u32 xmm_space[64];
1: + __u32 padding[24];
1: +};
1: +
1: +struct user_regs_struct {
1: + long unsigned int r15;
1: + long unsigned int r14;
1: + long unsigned int r13;
1: + long unsigned int r12;
1: + long unsigned int bp;
1: + long unsigned int bx;
1: + long unsigned int r11;
1: + long unsigned int r10;
1: + long unsigned int r9;
1: + long unsigned int r8;
1: + long unsigned int ax;
1: + long unsigned int cx;
1: + long unsigned int dx;
1: + long unsigned int si;
1: + long unsigned int di;
1: + long unsigned int orig_ax;
1: + long unsigned int ip;
1: + long unsigned int cs;
1: + long unsigned int flags;
1: + long unsigned int sp;
1: + long unsigned int ss;
1: + long unsigned int fs_base;
1: + long unsigned int gs_base;
1: + long unsigned int ds;
1: + long unsigned int es;
1: + long unsigned int fs;
1: + long unsigned int gs;
1: +};
1: +
1: +struct user {
1: + struct user_regs_struct regs;
1: + int u_fpvalid;
1: + int pad0;
1: + struct user_i387_struct i387;
1: + long unsigned int u_tsize;
1: + long unsigned int u_dsize;
1: + long unsigned int u_ssize;
1: + long unsigned int start_code;
1: + long unsigned int start_stack;
1: + long int signal;
1: + int reserved;
1: + int pad1;
1: + long unsigned int u_ar0;
1: + struct user_i387_struct *u_fpstate;
1: + long unsigned int magic;
1: + char u_comm[32];
1: + long unsigned int u_debugreg[8];
1: + long unsigned int error_code;
1: + long unsigned int fault_address;
1: +};
1: +
1: +enum {
1: + HW_BREAKPOINT_LEN_1 = 1,
1: + HW_BREAKPOINT_LEN_2 = 2,
1: + HW_BREAKPOINT_LEN_3 = 3,
1: + HW_BREAKPOINT_LEN_4 = 4,
1: + HW_BREAKPOINT_LEN_5 = 5,
1: + HW_BREAKPOINT_LEN_6 = 6,
1: + HW_BREAKPOINT_LEN_7 = 7,
1: + HW_BREAKPOINT_LEN_8 = 8,
1: +};
1: +
1: +enum {
1: + HW_BREAKPOINT_EMPTY = 0,
1: + HW_BREAKPOINT_R = 1,
1: + HW_BREAKPOINT_W = 2,
1: + HW_BREAKPOINT_RW = 3,
1: + HW_BREAKPOINT_X = 4,
1: + HW_BREAKPOINT_INVALID = 7,
1: +};
1: +
1: +typedef unsigned int u_int;
1: +
1: +typedef long long unsigned int cycles_t;
1: +
1: +struct system_counterval_t {
1: + u64 cycles;
1: + struct clocksource *cs;
1: +};
1: +
1: +enum {
1: + WORK_STRUCT_PENDING_BIT = 0,
1: + WORK_STRUCT_DELAYED_BIT = 1,
1: + WORK_STRUCT_PWQ_BIT = 2,
1: + WORK_STRUCT_LINKED_BIT = 3,
1: + WORK_STRUCT_COLOR_SHIFT = 4,
1: + WORK_STRUCT_COLOR_BITS = 4,
1: + WORK_STRUCT_PENDING = 1,
1: + WORK_STRUCT_DELAYED = 2,
1: + WORK_STRUCT_PWQ = 4,
1: + WORK_STRUCT_LINKED = 8,
1: + WORK_STRUCT_STATIC = 0,
1: + WORK_NR_COLORS = 15,
1: + WORK_NO_COLOR = 15,
1: + WORK_CPU_UNBOUND = 64,
1: + WORK_STRUCT_FLAG_BITS = 8,
1: + WORK_OFFQ_FLAG_BASE = 4,
1: + __WORK_OFFQ_CANCELING = 4,
1: + WORK_OFFQ_CANCELING = 16,
1: + WORK_OFFQ_FLAG_BITS = 1,
1: + WORK_OFFQ_POOL_SHIFT = 5,
1: + WORK_OFFQ_LEFT = 59,
1: + WORK_OFFQ_POOL_BITS = 31,
1: + WORK_OFFQ_POOL_NONE = 2147483647,
1: + WORK_STRUCT_FLAG_MASK = 255,
1: + WORK_STRUCT_WQ_DATA_MASK = -256,
1: + WORK_STRUCT_NO_POOL = -32,
1: + WORK_BUSY_PENDING = 1,
1: + WORK_BUSY_RUNNING = 2,
1: + WORKER_DESC_LEN = 24,
1: +};
1: +
1: +enum cpufreq_table_sorting {
1: + CPUFREQ_TABLE_UNSORTED = 0,
1: + CPUFREQ_TABLE_SORTED_ASCENDING = 1,
1: + CPUFREQ_TABLE_SORTED_DESCENDING = 2,
1: +};
1: +
1: +struct cpufreq_cpuinfo {
1: + unsigned int max_freq;
1: + unsigned int min_freq;
1: + unsigned int transition_latency;
1: +};
1: +
1: +struct cpufreq_stats;
1: +
1: +struct clk;
1: +
1: +struct cpufreq_governor;
1: +
1: +struct cpufreq_frequency_table;
1: +
1: +struct thermal_cooling_device;
1: +
1: +struct cpufreq_policy {
1: + cpumask_var_t cpus;
1: + cpumask_var_t related_cpus;
1: + cpumask_var_t real_cpus;
1: + unsigned int shared_type;
1: + unsigned int cpu;
1: + struct clk *clk;
1: + struct cpufreq_cpuinfo cpuinfo;
1: + unsigned int min;
1: + unsigned int max;
1: + unsigned int cur;
1: + unsigned int restore_freq;
1: + unsigned int suspend_freq;
1: + unsigned int policy;
1: + unsigned int last_policy;
1: + struct cpufreq_governor *governor;
1: + void *governor_data;
1: + char last_governor[16];
1: + struct work_struct update;
1: + struct freq_constraints constraints;
1: + struct freq_qos_request *min_freq_req;
1: + struct freq_qos_request *max_freq_req;
1: + struct cpufreq_frequency_table *freq_table;
1: + enum cpufreq_table_sorting freq_table_sorted;
1: + struct list_head policy_list;
1: + struct kobject kobj;
1: + struct completion kobj_unregister;
1: + struct rw_semaphore rwsem;
1: + bool fast_switch_possible;
1: + bool fast_switch_enabled;
1: + unsigned int transition_delay_us;
1: + bool dvfs_possible_from_any_cpu;
1: + unsigned int cached_target_freq;
1: + int cached_resolved_idx;
1: + bool transition_ongoing;
1: + spinlock_t transition_lock;
1: + wait_queue_head_t transition_wait;
1: + struct task_struct *transition_task;
1: + struct cpufreq_stats *stats;
1: + void *driver_data;
1: + struct thermal_cooling_device *cdev;
1: + struct notifier_block nb_min;
1: + struct notifier_block nb_max;
1: +};
1: +
1: +struct cpufreq_governor {
1: + char name[16];
1: + int (*init)(struct cpufreq_policy *);
1: + void (*exit)(struct cpufreq_policy *);
1: + int (*start)(struct cpufreq_policy *);
1: + void (*stop)(struct cpufreq_policy *);
1: + void (*limits)(struct cpufreq_policy *);
1: + ssize_t (*show_setspeed)(struct cpufreq_policy *, char *);
1: + int (*store_setspeed)(struct cpufreq_policy *, unsigned int);
1: + bool dynamic_switching;
1: + struct list_head governor_list;
1: + struct module *owner;
1: +};
1: +
1: +struct cpufreq_frequency_table {
1: + unsigned int flags;
1: + unsigned int driver_data;
1: + unsigned int frequency;
1: +};
1: +
1: +struct cpufreq_freqs {
1: + struct cpufreq_policy *policy;
1: + unsigned int old;
1: + unsigned int new;
1: + u8 flags;
1: +};
1: +
1: +struct cyc2ns {
1: + struct cyc2ns_data data[2];
1: + seqcount_t seq;
1: +};
1: +
1: +struct freq_desc {
1: + u8 msr_plat;
1: + u32 freqs[9];
1: +};
1: +
1: +struct dmi_strmatch {
1: + unsigned char slot: 7;
1: + unsigned char exact_match: 1;
1: + char substr[79];
1: +};
1: +
1: +struct dmi_system_id {
1: + int (*callback)(const struct dmi_system_id *);
1: + const char *ident;
1: + struct dmi_strmatch matches[4];
1: + void *driver_data;
1: +};
1: +
1: +struct pdev_archdata {};
1: +
1: +struct mfd_cell;
1: +
1: +struct platform_device_id;
1: +
1: +struct platform_device {
1: + const char *name;
1: + int id;
1: + bool id_auto;
1: + struct device dev;
1: + u64 dma_mask;
1: + u32 num_resources;
1: + struct resource *resource;
1: + const struct platform_device_id *id_entry;
1: + char *driver_override;
1: + struct mfd_cell *mfd_cell;
1: + struct pdev_archdata archdata;
1: +};
1: +
1: +struct platform_device_id {
1: + char name[20];
1: + kernel_ulong_t driver_data;
1: +};
1: +
1: +struct rtc_time {
1: + int tm_sec;
1: + int tm_min;
1: + int tm_hour;
1: + int tm_mday;
1: + int tm_mon;
1: + int tm_year;
1: + int tm_wday;
1: + int tm_yday;
1: + int tm_isdst;
1: +};
1: +
1: +struct pnp_device_id {
1: + __u8 id[8];
1: + kernel_ulong_t driver_data;
1: +};
1: +
1: +struct pnp_card_device_id {
1: + __u8 id[8];
1: + kernel_ulong_t driver_data;
1: + struct {
1: + __u8 id[8];
1: + } devs[8];
1: +};
1: +
1: +struct pnp_protocol;
1: +
1: +struct pnp_id;
1: +
1: +struct pnp_card {
1: + struct device dev;
1: + unsigned char number;
1: + struct list_head global_list;
1: + struct list_head protocol_list;
1: + struct list_head devices;
1: + struct pnp_protocol *protocol;
1: + struct pnp_id *id;
1: + char name[50];
1: + unsigned char pnpver;
1: + unsigned char productver;
1: + unsigned int serial;
1: + unsigned char checksum;
1: + struct proc_dir_entry *procdir;
1: +};
1: +
1: +struct pnp_dev;
1: +
1: +struct pnp_protocol {
1: + struct list_head protocol_list;
1: + char *name;
1: + int (*get)(struct pnp_dev *);
1: + int (*set)(struct pnp_dev *);
1: + int (*disable)(struct pnp_dev *);
1: + bool (*can_wakeup)(struct pnp_dev *);
1: + int (*suspend)(struct pnp_dev *, pm_message_t);
1: + int (*resume)(struct pnp_dev *);
1: + unsigned char number;
1: + struct device dev;
1: + struct list_head cards;
1: + struct list_head devices;
1: +};
1: +
1: +struct pnp_id {
1: + char id[8];
1: + struct pnp_id *next;
1: +};
1: +
1: +struct pnp_card_driver;
1: +
1: +struct pnp_card_link {
1: + struct pnp_card *card;
1: + struct pnp_card_driver *driver;
1: + void *driver_data;
1: + pm_message_t pm_state;
1: +};
1: +
1: +struct pnp_driver {
1: + char *name;
1: + const struct pnp_device_id *id_table;
1: + unsigned int flags;
1: + int (*probe)(struct pnp_dev *, const struct pnp_device_id *);
1: + void (*remove)(struct pnp_dev *);
1: + void (*shutdown)(struct pnp_dev *);
1: + int (*suspend)(struct pnp_dev *, pm_message_t);
1: + int (*resume)(struct pnp_dev *);
1: + struct device_driver driver;
1: +};
1: +
1: +struct pnp_card_driver {
1: + struct list_head global_list;
1: + char *name;
1: + const struct pnp_card_device_id *id_table;
1: + unsigned int flags;
1: + int (*probe)(struct pnp_card_link *, const struct pnp_card_device_id *);
1: + void (*remove)(struct pnp_card_link *);
1: + int (*suspend)(struct pnp_card_link *, pm_message_t);
1: + int (*resume)(struct pnp_card_link *);
1: + struct pnp_driver link;
1: +};
1: +
1: +struct pnp_dev {
1: + struct device dev;
1: + u64 dma_mask;
1: + unsigned int number;
1: + int status;
1: + struct list_head global_list;
1: + struct list_head protocol_list;
1: + struct list_head card_list;
1: + struct list_head rdev_list;
1: + struct pnp_protocol *protocol;
1: + struct pnp_card *card;
1: + struct pnp_driver *driver;
1: + struct pnp_card_link *card_link;
1: + struct pnp_id *id;
1: + int active;
1: + int capabilities;
1: + unsigned int num_dependent_sets;
1: + struct list_head resources;
1: + struct list_head options;
1: + char name[50];
1: + int flags;
1: + struct proc_dir_entry *procent;
1: + void *data;
1: +};
1: +
1: +typedef struct ldttss_desc tss_desc;
1: +
1: +enum idle_boot_override {
1: + IDLE_NO_OVERRIDE = 0,
1: + IDLE_HALT = 1,
1: + IDLE_NOMWAIT = 2,
1: + IDLE_POLL = 3,
1: +};
1: +
1: +enum tick_broadcast_mode {
1: + TICK_BROADCAST_OFF = 0,
1: + TICK_BROADCAST_ON = 1,
1: + TICK_BROADCAST_FORCE = 2,
1: +};
1: +
1: +enum tick_broadcast_state {
1: + TICK_BROADCAST_EXIT = 0,
1: + TICK_BROADCAST_ENTER = 1,
1: +};
1: +
1: +struct cpuidle_state_usage {
1: + long long unsigned int disable;
1: + long long unsigned int usage;
1: + u64 time_ns;
1: + long long unsigned int above;
1: + long long unsigned int below;
1: + long long unsigned int s2idle_usage;
1: + long long unsigned int s2idle_time;
1: +};
1: +
1: +struct cpuidle_driver_kobj;
1: +
1: +struct cpuidle_state_kobj;
1: +
1: +struct cpuidle_device_kobj;
1: +
1: +struct cpuidle_device {
1: + unsigned int registered: 1;
1: + unsigned int enabled: 1;
1: + unsigned int poll_time_limit: 1;
1: + unsigned int cpu;
1: + ktime_t next_hrtimer;
1: + int last_state_idx;
1: + u64 last_residency_ns;
1: + u64 poll_limit_ns;
1: + u64 forced_idle_latency_limit_ns;
1: + struct cpuidle_state_usage states_usage[10];
1: + struct cpuidle_state_kobj *kobjs[10];
1: + struct cpuidle_driver_kobj *kobj_driver;
1: + struct cpuidle_device_kobj *kobj_dev;
1: + struct list_head device_list;
1: +};
1: +
1: +struct inactive_task_frame {
1: + long unsigned int r15;
1: + long unsigned int r14;
1: + long unsigned int r13;
1: + long unsigned int r12;
1: + long unsigned int bx;
1: + long unsigned int bp;
1: + long unsigned int ret_addr;
1: +};
1: +
1: +struct fork_frame {
1: + struct inactive_task_frame frame;
1: + struct pt_regs regs;
1: +};
1: +
1: +struct ssb_state {
1: + struct ssb_state *shared_state;
1: + raw_spinlock_t lock;
1: + unsigned int disable_state;
1: + long unsigned int local_state;
1: +};
1: +
1: +struct trace_event_raw_x86_fpu {
1: + struct trace_entry ent;
1: + struct fpu *fpu;
1: + bool load_fpu;
1: + u64 xfeatures;
1: + u64 xcomp_bv;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_x86_fpu {};
1: +
1: +struct _fpreg {
1: + __u16 significand[4];
1: + __u16 exponent;
1: +};
1: +
1: +struct _fpxreg {
1: + __u16 significand[4];
1: + __u16 exponent;
1: + __u16 padding[3];
1: +};
1: +
1: +struct user_i387_ia32_struct {
1: + u32 cwd;
1: + u32 swd;
1: + u32 twd;
1: + u32 fip;
1: + u32 fcs;
1: + u32 foo;
1: + u32 fos;
1: + u32 st_space[20];
1: +};
1: +
1: +struct user_regset;
1: +
1: +typedef int user_regset_active_fn(struct task_struct *, const struct user_regset *);
1: +
1: +typedef int user_regset_get_fn(struct task_struct *, const struct user_regset *, unsigned int, unsigned int, void *, void *);
1: +
1: +typedef int user_regset_set_fn(struct task_struct *, const struct user_regset *, unsigned int, unsigned int, const void *, const void *);
1: +
1: +typedef int user_regset_writeback_fn(struct task_struct *, const struct user_regset *, int);
1: +
1: +typedef unsigned int user_regset_get_size_fn(struct task_struct *, const struct user_regset *);
1: +
1: +struct user_regset {
1: + user_regset_get_fn *get;
1: + user_regset_set_fn *set;
1: + user_regset_active_fn *active;
1: + user_regset_writeback_fn *writeback;
1: + user_regset_get_size_fn *get_size;
1: + unsigned int n;
1: + unsigned int size;
1: + unsigned int align;
1: + unsigned int bias;
1: + unsigned int core_note_type;
1: +};
1: +
1: +struct _fpx_sw_bytes {
1: + __u32 magic1;
1: + __u32 extended_size;
1: + __u64 xfeatures;
1: + __u32 xstate_size;
1: + __u32 padding[7];
1: +};
1: +
1: +struct _xmmreg {
1: + __u32 element[4];
1: +};
1: +
1: +struct _fpstate_32 {
1: + __u32 cw;
1: + __u32 sw;
1: + __u32 tag;
1: + __u32 ipoff;
1: + __u32 cssel;
1: + __u32 dataoff;
1: + __u32 datasel;
1: + struct _fpreg _st[8];
1: + __u16 status;
1: + __u16 magic;
1: + __u32 _fxsr_env[6];
1: + __u32 mxcsr;
1: + __u32 reserved;
1: + struct _fpxreg _fxsr_st[8];
1: + struct _xmmreg _xmm[8];
1: + union {
1: + __u32 padding1[44];
1: + __u32 padding[44];
1: + };
1: + union {
1: + __u32 padding2[12];
1: + struct _fpx_sw_bytes sw_reserved;
1: + };
1: +};
1: +
1: +typedef u32 compat_ulong_t;
1: +
1: +struct user_regset_view {
1: + const char *name;
1: + const struct user_regset *regsets;
1: + unsigned int n;
1: + u32 e_flags;
1: + u16 e_machine;
1: + u8 ei_osabi;
1: +};
1: +
1: +enum x86_regset {
1: + REGSET_GENERAL = 0,
1: + REGSET_FP = 1,
1: + REGSET_XFP = 2,
1: + REGSET_IOPERM64 = 2,
1: + REGSET_XSTATE = 3,
1: + REGSET_TLS = 4,
1: + REGSET_IOPERM32 = 5,
1: +};
1: +
1: +struct pt_regs_offset {
1: + const char *name;
1: + int offset;
1: +};
1: +
1: +typedef bool (*stack_trace_consume_fn)(void *, long unsigned int, bool);
1: +
1: +struct stack_frame_user {
1: + const void *next_fp;
1: + long unsigned int ret_addr;
1: +};
1: +
1: +enum cache_type {
1: + CACHE_TYPE_NOCACHE = 0,
1: + CACHE_TYPE_INST = 1,
1: + CACHE_TYPE_DATA = 2,
1: + CACHE_TYPE_SEPARATE = 3,
1: + CACHE_TYPE_UNIFIED = 4,
1: +};
1: +
1: +struct cacheinfo {
1: + unsigned int id;
1: + enum cache_type type;
1: + unsigned int level;
1: + unsigned int coherency_line_size;
1: + unsigned int number_of_sets;
1: + unsigned int ways_of_associativity;
1: + unsigned int physical_line_partition;
1: + unsigned int size;
1: + cpumask_t shared_cpu_map;
1: + unsigned int attributes;
1: + void *fw_token;
1: + bool disable_sysfs;
1: + void *priv;
1: +};
1: +
1: +struct cpu_cacheinfo {
1: + struct cacheinfo *info_list;
1: + unsigned int num_levels;
1: + unsigned int num_leaves;
1: + bool cpu_map_populated;
1: +};
1: +
1: +struct amd_l3_cache {
1: + unsigned int indices;
1: + u8 subcaches[4];
1: +};
1: +
1: +struct threshold_block {
1: + unsigned int block;
1: + unsigned int bank;
1: + unsigned int cpu;
1: + u32 address;
1: + u16 interrupt_enable;
1: + bool interrupt_capable;
1: + u16 threshold_limit;
1: + struct kobject kobj;
1: + struct list_head miscj;
1: +};
1: +
1: +struct threshold_bank {
1: + struct kobject *kobj;
1: + struct threshold_block *blocks;
1: + refcount_t cpus;
1: +};
1: +
1: +struct amd_northbridge {
1: + struct pci_dev *root;
1: + struct pci_dev *misc;
1: + struct pci_dev *link;
1: + struct amd_l3_cache l3_cache;
1: + struct threshold_bank *bank4;
1: +};
1: +
1: +struct _cache_table {
1: + unsigned char descriptor;
1: + char cache_type;
1: + short int size;
1: +};
1: +
1: +enum _cache_type {
1: + CTYPE_NULL = 0,
1: + CTYPE_DATA = 1,
1: + CTYPE_INST = 2,
1: + CTYPE_UNIFIED = 3,
1: +};
1: +
1: +union _cpuid4_leaf_eax {
1: + struct {
1: + enum _cache_type type: 5;
1: + unsigned int level: 3;
1: + unsigned int is_self_initializing: 1;
1: + unsigned int is_fully_associative: 1;
1: + unsigned int reserved: 4;
1: + unsigned int num_threads_sharing: 12;
1: + unsigned int num_cores_on_die: 6;
1: + } split;
1: + u32 full;
1: +};
1: +
1: +union _cpuid4_leaf_ebx {
1: + struct {
1: + unsigned int coherency_line_size: 12;
1: + unsigned int physical_line_partition: 10;
1: + unsigned int ways_of_associativity: 10;
1: + } split;
1: + u32 full;
1: +};
1: +
1: +union _cpuid4_leaf_ecx {
1: + struct {
1: + unsigned int number_of_sets: 32;
1: + } split;
1: + u32 full;
1: +};
1: +
1: +struct _cpuid4_info_regs {
1: + union _cpuid4_leaf_eax eax;
1: + union _cpuid4_leaf_ebx ebx;
1: + union _cpuid4_leaf_ecx ecx;
1: + unsigned int id;
1: + long unsigned int size;
1: + struct amd_northbridge *nb;
1: +};
1: +
1: +union l1_cache {
1: + struct {
1: + unsigned int line_size: 8;
1: + unsigned int lines_per_tag: 8;
1: + unsigned int assoc: 8;
1: + unsigned int size_in_kb: 8;
1: + };
1: + unsigned int val;
1: +};
1: +
1: +union l2_cache {
1: + struct {
1: + unsigned int line_size: 8;
1: + unsigned int lines_per_tag: 4;
1: + unsigned int assoc: 4;
1: + unsigned int size_in_kb: 16;
1: + };
1: + unsigned int val;
1: +};
1: +
1: +union l3_cache {
1: + struct {
1: + unsigned int line_size: 8;
1: + unsigned int lines_per_tag: 4;
1: + unsigned int assoc: 4;
1: + unsigned int res: 2;
1: + unsigned int size_encoded: 14;
1: + };
1: + unsigned int val;
1: +};
1: +
1: +struct cpuid_bit {
1: + u16 feature;
1: + u8 reg;
1: + u8 bit;
1: + u32 level;
1: + u32 sub_leaf;
1: +};
1: +
1: +enum cpuid_leafs {
1: + CPUID_1_EDX = 0,
1: + CPUID_8000_0001_EDX = 1,
1: + CPUID_8086_0001_EDX = 2,
1: + CPUID_LNX_1 = 3,
1: + CPUID_1_ECX = 4,
1: + CPUID_C000_0001_EDX = 5,
1: + CPUID_8000_0001_ECX = 6,
1: + CPUID_LNX_2 = 7,
1: + CPUID_LNX_3 = 8,
1: + CPUID_7_0_EBX = 9,
1: + CPUID_D_1_EAX = 10,
1: + CPUID_LNX_4 = 11,
1: + CPUID_7_1_EAX = 12,
1: + CPUID_8000_0008_EBX = 13,
1: + CPUID_6_EAX = 14,
1: + CPUID_8000_000A_EDX = 15,
1: + CPUID_7_ECX = 16,
1: + CPUID_8000_0007_EBX = 17,
1: + CPUID_7_EDX = 18,
1: +};
1: +
1: +struct cpu_dev {
1: + const char *c_vendor;
1: + const char *c_ident[2];
1: + void (*c_early_init)(struct cpuinfo_x86 *);
1: + void (*c_bsp_init)(struct cpuinfo_x86 *);
1: + void (*c_init)(struct cpuinfo_x86 *);
1: + void (*c_identify)(struct cpuinfo_x86 *);
1: + void (*c_detect_tlb)(struct cpuinfo_x86 *);
1: + int c_x86_vendor;
1: +};
1: +
1: +struct cpuid_dependent_feature {
1: + u32 feature;
1: + u32 level;
1: +};
1: +
1: +enum spectre_v2_mitigation {
1: + SPECTRE_V2_NONE = 0,
1: + SPECTRE_V2_RETPOLINE_GENERIC = 1,
1: + SPECTRE_V2_RETPOLINE_AMD = 2,
1: + SPECTRE_V2_IBRS_ENHANCED = 3,
1: +};
1: +
1: +enum spectre_v2_user_mitigation {
1: + SPECTRE_V2_USER_NONE = 0,
1: + SPECTRE_V2_USER_STRICT = 1,
1: + SPECTRE_V2_USER_STRICT_PREFERRED = 2,
1: + SPECTRE_V2_USER_PRCTL = 3,
1: + SPECTRE_V2_USER_SECCOMP = 4,
1: +};
1: +
1: +enum ssb_mitigation {
1: + SPEC_STORE_BYPASS_NONE = 0,
1: + SPEC_STORE_BYPASS_DISABLE = 1,
1: + SPEC_STORE_BYPASS_PRCTL = 2,
1: + SPEC_STORE_BYPASS_SECCOMP = 3,
1: +};
1: +
1: +enum l1tf_mitigations {
1: + L1TF_MITIGATION_OFF = 0,
1: + L1TF_MITIGATION_FLUSH_NOWARN = 1,
1: + L1TF_MITIGATION_FLUSH = 2,
1: + L1TF_MITIGATION_FLUSH_NOSMT = 3,
1: + L1TF_MITIGATION_FULL = 4,
1: + L1TF_MITIGATION_FULL_FORCE = 5,
1: +};
1: +
1: +enum mds_mitigations {
1: + MDS_MITIGATION_OFF = 0,
1: + MDS_MITIGATION_FULL = 1,
1: + MDS_MITIGATION_VMWERV = 2,
1: +};
1: +
1: +enum taa_mitigations {
1: + TAA_MITIGATION_OFF = 0,
1: + TAA_MITIGATION_UCODE_NEEDED = 1,
1: + TAA_MITIGATION_VERW = 2,
1: + TAA_MITIGATION_TSX_DISABLED = 3,
1: +};
1: +
1: +enum cpuhp_smt_control {
1: + CPU_SMT_ENABLED = 0,
1: + CPU_SMT_DISABLED = 1,
1: + CPU_SMT_FORCE_DISABLED = 2,
1: + CPU_SMT_NOT_SUPPORTED = 3,
1: + CPU_SMT_NOT_IMPLEMENTED = 4,
1: +};
1: +
1: +enum vmx_l1d_flush_state {
1: + VMENTER_L1D_FLUSH_AUTO = 0,
1: + VMENTER_L1D_FLUSH_NEVER = 1,
1: + VMENTER_L1D_FLUSH_COND = 2,
1: + VMENTER_L1D_FLUSH_ALWAYS = 3,
1: + VMENTER_L1D_FLUSH_EPT_DISABLED = 4,
1: + VMENTER_L1D_FLUSH_NOT_REQUIRED = 5,
1: +};
1: +
1: +enum x86_hypervisor_type {
1: + X86_HYPER_NATIVE = 0,
1: + X86_HYPER_VMWARE = 1,
1: + X86_HYPER_MS_HYPERV = 2,
1: + X86_HYPER_XEN_PV = 3,
1: + X86_HYPER_XEN_HVM = 4,
1: + X86_HYPER_KVM = 5,
1: + X86_HYPER_JAILHOUSE = 6,
1: + X86_HYPER_ACRN = 7,
1: +};
1: +
1: +enum spectre_v1_mitigation {
1: + SPECTRE_V1_MITIGATION_NONE = 0,
1: + SPECTRE_V1_MITIGATION_AUTO = 1,
1: +};
1: +
1: +enum spectre_v2_mitigation_cmd {
1: + SPECTRE_V2_CMD_NONE = 0,
1: + SPECTRE_V2_CMD_AUTO = 1,
1: + SPECTRE_V2_CMD_FORCE = 2,
1: + SPECTRE_V2_CMD_RETPOLINE = 3,
1: + SPECTRE_V2_CMD_RETPOLINE_GENERIC = 4,
1: + SPECTRE_V2_CMD_RETPOLINE_AMD = 5,
1: +};
1: +
1: +enum spectre_v2_user_cmd {
1: + SPECTRE_V2_USER_CMD_NONE = 0,
1: + SPECTRE_V2_USER_CMD_AUTO = 1,
1: + SPECTRE_V2_USER_CMD_FORCE = 2,
1: + SPECTRE_V2_USER_CMD_PRCTL = 3,
1: + SPECTRE_V2_USER_CMD_PRCTL_IBPB = 4,
1: + SPECTRE_V2_USER_CMD_SECCOMP = 5,
1: + SPECTRE_V2_USER_CMD_SECCOMP_IBPB = 6,
1: +};
1: +
1: +enum ssb_mitigation_cmd {
1: + SPEC_STORE_BYPASS_CMD_NONE = 0,
1: + SPEC_STORE_BYPASS_CMD_AUTO = 1,
1: + SPEC_STORE_BYPASS_CMD_ON = 2,
1: + SPEC_STORE_BYPASS_CMD_PRCTL = 3,
1: + SPEC_STORE_BYPASS_CMD_SECCOMP = 4,
1: +};
1: +
1: +enum hk_flags {
1: + HK_FLAG_TIMER = 1,
1: + HK_FLAG_RCU = 2,
1: + HK_FLAG_MISC = 4,
1: + HK_FLAG_SCHED = 8,
1: + HK_FLAG_TICK = 16,
1: + HK_FLAG_DOMAIN = 32,
1: + HK_FLAG_WQ = 64,
1: +};
1: +
1: +struct aperfmperf_sample {
1: + unsigned int khz;
1: + ktime_t time;
1: + u64 aperf;
1: + u64 mperf;
1: +};
1: +
1: +struct cpuid_dep {
1: + unsigned int feature;
1: + unsigned int depends;
1: +};
1: +
1: +struct _tlb_table {
1: + unsigned char descriptor;
1: + char tlb_type;
1: + unsigned int entries;
1: + char info[128];
1: +};
1: +
1: +enum tsx_ctrl_states {
1: + TSX_CTRL_ENABLE = 0,
1: + TSX_CTRL_DISABLE = 1,
1: + TSX_CTRL_NOT_SUPPORTED = 2,
1: +};
1: +
1: +struct sku_microcode {
1: + u8 model;
1: + u8 stepping;
1: + u32 microcode;
1: +};
1: +
1: +struct cpuid_regs {
1: + u32 eax;
1: + u32 ebx;
1: + u32 ecx;
1: + u32 edx;
1: +};
1: +
1: +enum pconfig_target {
1: + INVALID_TARGET = 0,
1: + MKTME_TARGET = 1,
1: + PCONFIG_TARGET_NR = 2,
1: +};
1: +
1: +enum {
1: + PCONFIG_CPUID_SUBLEAF_INVALID = 0,
1: + PCONFIG_CPUID_SUBLEAF_TARGETID = 1,
1: +};
1: +
1: +typedef u8 pto_T_____4;
1: +
1: +enum mf_flags {
1: + MF_COUNT_INCREASED = 1,
1: + MF_ACTION_REQUIRED = 2,
1: + MF_MUST_KILL = 4,
1: + MF_SOFT_OFFLINE = 8,
1: +};
1: +
1: +struct mce {
1: + __u64 status;
1: + __u64 misc;
1: + __u64 addr;
1: + __u64 mcgstatus;
1: + __u64 ip;
1: + __u64 tsc;
1: + __u64 time;
1: + __u8 cpuvendor;
1: + __u8 inject_flags;
1: + __u8 severity;
1: + __u8 pad;
1: + __u32 cpuid;
1: + __u8 cs;
1: + __u8 bank;
1: + __u8 cpu;
1: + __u8 finished;
1: + __u32 extcpu;
1: + __u32 socketid;
1: + __u32 apicid;
1: + __u64 mcgcap;
1: + __u64 synd;
1: + __u64 ipid;
1: + __u64 ppin;
1: + __u32 microcode;
1: +};
1: +
1: +enum mce_notifier_prios {
1: + MCE_PRIO_FIRST = 2147483647,
1: + MCE_PRIO_SRAO = 2147483646,
1: + MCE_PRIO_EXTLOG = 2147483645,
1: + MCE_PRIO_NFIT = 2147483644,
1: + MCE_PRIO_EDAC = 2147483643,
1: + MCE_PRIO_MCELOG = 1,
1: + MCE_PRIO_LOWEST = 0,
1: +};
1: +
1: +typedef long unsigned int mce_banks_t[1];
1: +
1: +enum mcp_flags {
1: + MCP_TIMESTAMP = 1,
1: + MCP_UC = 2,
1: + MCP_DONTLOG = 4,
1: +};
1: +
1: +enum severity_level {
1: + MCE_NO_SEVERITY = 0,
1: + MCE_DEFERRED_SEVERITY = 1,
1: + MCE_UCNA_SEVERITY = 1,
1: + MCE_KEEP_SEVERITY = 2,
1: + MCE_SOME_SEVERITY = 3,
1: + MCE_AO_SEVERITY = 4,
1: + MCE_UC_SEVERITY = 5,
1: + MCE_AR_SEVERITY = 6,
1: + MCE_PANIC_SEVERITY = 7,
1: +};
1: +
1: +struct mce_evt_llist {
1: + struct llist_node llnode;
1: + struct mce mce;
1: +};
1: +
1: +struct mca_config {
1: + bool dont_log_ce;
1: + bool cmci_disabled;
1: + bool ignore_ce;
1: + __u64 lmce_disabled: 1;
1: + __u64 disabled: 1;
1: + __u64 ser: 1;
1: + __u64 recovery: 1;
1: + __u64 bios_cmci_threshold: 1;
1: + long: 35;
1: + __u64 __reserved: 59;
1: + s8 bootlog;
1: + int tolerant;
1: + int monarch_timeout;
1: + int panic_timeout;
1: + u32 rip_msr;
1: +};
1: +
1: +struct mce_vendor_flags {
1: + __u64 overflow_recov: 1;
1: + __u64 succor: 1;
1: + __u64 smca: 1;
1: + __u64 __reserved_0: 61;
1: +};
1: +
1: +struct mca_msr_regs {
1: + u32 (*ctl)(int);
1: + u32 (*status)(int);
1: + u32 (*addr)(int);
1: + u32 (*misc)(int);
1: +};
1: +
1: +struct trace_event_raw_mce_record {
1: + struct trace_entry ent;
1: + u64 mcgcap;
1: + u64 mcgstatus;
1: + u64 status;
1: + u64 addr;
1: + u64 misc;
1: + u64 synd;
1: + u64 ipid;
1: + u64 ip;
1: + u64 tsc;
1: + u64 walltime;
1: + u32 cpu;
1: + u32 cpuid;
1: + u32 apicid;
1: + u32 socketid;
1: + u8 cs;
1: + u8 bank;
1: + u8 cpuvendor;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_mce_record {};
1: +
1: +struct mce_bank {
1: + u64 ctl;
1: + bool init;
1: +};
1: +
1: +struct mce_bank_dev {
1: + struct device_attribute attr;
1: + char attrname[16];
1: + u8 bank;
1: +};
1: +
1: +enum context {
1: + IN_KERNEL = 1,
1: + IN_USER = 2,
1: + IN_KERNEL_RECOV = 3,
1: +};
1: +
1: +enum ser {
1: + SER_REQUIRED = 1,
1: + NO_SER = 2,
1: +};
1: +
1: +enum exception {
1: + EXCP_CONTEXT = 1,
1: + NO_EXCP = 2,
1: +};
1: +
1: +struct severity {
1: + u64 mask;
1: + u64 result;
1: + unsigned char sev;
1: + unsigned char mcgmask;
1: + unsigned char mcgres;
1: + unsigned char ser;
1: + unsigned char context;
1: + unsigned char excp;
1: + unsigned char covered;
1: + char *msg;
1: +};
1: +
1: +struct gen_pool;
1: +
1: +typedef long unsigned int (*genpool_algo_t)(long unsigned int *, long unsigned int, long unsigned int, unsigned int, void *, struct gen_pool *, long unsigned int);
1: +
1: +struct gen_pool {
1: + spinlock_t lock;
1: + struct list_head chunks;
1: + int min_alloc_order;
1: + genpool_algo_t algo;
1: + void *data;
1: + const char *name;
1: +};
1: +
1: +enum {
1: + CMCI_STORM_NONE = 0,
1: + CMCI_STORM_ACTIVE = 1,
1: + CMCI_STORM_SUBSIDED = 2,
1: +};
1: +
1: +enum kobject_action {
1: + KOBJ_ADD = 0,
1: + KOBJ_REMOVE = 1,
1: + KOBJ_CHANGE = 2,
1: + KOBJ_MOVE = 3,
1: + KOBJ_ONLINE = 4,
1: + KOBJ_OFFLINE = 5,
1: + KOBJ_BIND = 6,
1: + KOBJ_UNBIND = 7,
1: + KOBJ_MAX = 8,
1: +};
1: +
1: +enum smca_bank_types {
1: + SMCA_LS = 0,
1: + SMCA_IF = 1,
1: + SMCA_L2_CACHE = 2,
1: + SMCA_DE = 3,
1: + SMCA_RESERVED = 4,
1: + SMCA_EX = 5,
1: + SMCA_FP = 6,
1: + SMCA_L3_CACHE = 7,
1: + SMCA_CS = 8,
1: + SMCA_CS_V2 = 9,
1: + SMCA_PIE = 10,
1: + SMCA_UMC = 11,
1: + SMCA_PB = 12,
1: + SMCA_PSP = 13,
1: + SMCA_PSP_V2 = 14,
1: + SMCA_SMU = 15,
1: + SMCA_SMU_V2 = 16,
1: + SMCA_MP5 = 17,
1: + SMCA_NBIO = 18,
1: + SMCA_PCIE = 19,
1: + N_SMCA_BANK_TYPES = 20,
1: +};
1: +
1: +struct smca_hwid {
1: + unsigned int bank_type;
1: + u32 hwid_mcatype;
1: + u32 xec_bitmap;
1: + u8 count;
1: +};
1: +
1: +struct smca_bank {
1: + struct smca_hwid *hwid;
1: + u32 id;
1: + u8 sysfs_id;
1: +};
1: +
1: +struct smca_bank_name {
1: + const char *name;
1: + const char *long_name;
1: +};
1: +
1: +struct thresh_restart {
1: + struct threshold_block *b;
1: + int reset;
1: + int set_lvt_off;
1: + int lvt_off;
1: + u16 old_limit;
1: +};
1: +
1: +struct threshold_attr {
1: + struct attribute attr;
1: + ssize_t (*show)(struct threshold_block *, char *);
1: + ssize_t (*store)(struct threshold_block *, const char *, size_t);
1: +};
1: +
1: +struct _thermal_state {
1: + u64 next_check;
1: + u64 last_interrupt_time;
1: + struct delayed_work therm_work;
1: + long unsigned int count;
1: + long unsigned int last_count;
1: + long unsigned int max_time_ms;
1: + long unsigned int total_time_ms;
1: + bool rate_control_active;
1: + bool new_event;
1: + u8 level;
1: + u8 sample_index;
1: + u8 sample_count;
1: + u8 average;
1: + u8 baseline_temp;
1: + u8 temp_samples[3];
1: +};
1: +
1: +struct thermal_state {
1: + struct _thermal_state core_throttle;
1: + struct _thermal_state core_power_limit;
1: + struct _thermal_state package_throttle;
1: + struct _thermal_state package_power_limit;
1: + struct _thermal_state core_thresh0;
1: + struct _thermal_state core_thresh1;
1: + struct _thermal_state pkg_thresh0;
1: + struct _thermal_state pkg_thresh1;
1: +};
1: +
1: +typedef int (*cpu_stop_fn_t)(void *);
1: +
1: +typedef __u8 mtrr_type;
1: +
1: +struct mtrr_ops {
1: + u32 vendor;
1: + u32 use_intel_if;
1: + void (*set)(unsigned int, long unsigned int, long unsigned int, mtrr_type);
1: + void (*set_all)();
1: + void (*get)(unsigned int, long unsigned int *, long unsigned int *, mtrr_type *);
1: + int (*get_free_region)(long unsigned int, long unsigned int, int);
1: + int (*validate_add_page)(long unsigned int, long unsigned int, unsigned int);
1: + int (*have_wrcomb)();
1: +};
1: +
1: +struct set_mtrr_data {
1: + long unsigned int smp_base;
1: + long unsigned int smp_size;
1: + unsigned int smp_reg;
1: + mtrr_type smp_type;
1: +};
1: +
1: +struct mtrr_value {
1: + mtrr_type ltype;
1: + long unsigned int lbase;
1: + long unsigned int lsize;
1: +};
1: +
1: +struct mtrr_sentry {
1: + __u64 base;
1: + __u32 size;
1: + __u32 type;
1: +};
1: +
1: +struct mtrr_gentry {
1: + __u64 base;
1: + __u32 size;
1: + __u32 regnum;
1: + __u32 type;
1: + __u32 _pad;
1: +};
1: +
1: +typedef u32 compat_uint_t;
1: +
1: +struct mtrr_sentry32 {
1: + compat_ulong_t base;
1: + compat_uint_t size;
1: + compat_uint_t type;
1: +};
1: +
1: +struct mtrr_gentry32 {
1: + compat_ulong_t regnum;
1: + compat_uint_t base;
1: + compat_uint_t size;
1: + compat_uint_t type;
1: +};
1: +
1: +struct mtrr_var_range {
1: + __u32 base_lo;
1: + __u32 base_hi;
1: + __u32 mask_lo;
1: + __u32 mask_hi;
1: +};
1: +
1: +struct mtrr_state_type {
1: + struct mtrr_var_range var_ranges[256];
1: + mtrr_type fixed_ranges[88];
1: + unsigned char enabled;
1: + unsigned char have_fixed;
1: + mtrr_type def_type;
1: +};
1: +
1: +struct fixed_range_block {
1: + int base_msr;
1: + int ranges;
1: +};
1: +
1: +struct range {
1: + u64 start;
1: + u64 end;
1: +};
1: +
1: +struct var_mtrr_range_state {
1: + long unsigned int base_pfn;
1: + long unsigned int size_pfn;
1: + mtrr_type type;
1: +};
1: +
1: +struct subsys_interface {
1: + const char *name;
1: + struct bus_type *subsys;
1: + struct list_head node;
1: + int (*add_dev)(struct device *, struct subsys_interface *);
1: + void (*remove_dev)(struct device *, struct subsys_interface *);
1: +};
1: +
1: +struct property_entry;
1: +
1: +struct platform_device_info {
1: + struct device *parent;
1: + struct fwnode_handle *fwnode;
1: + bool of_node_reused;
1: + const char *name;
1: + int id;
1: + const struct resource *res;
1: + unsigned int num_res;
1: + const void *data;
1: + size_t size_data;
1: + u64 dma_mask;
1: + struct property_entry *properties;
1: +};
1: +
1: +struct builtin_fw {
1: + char *name;
1: + void *data;
1: + long unsigned int size;
1: +};
1: +
1: +struct cpio_data {
1: + void *data;
1: + size_t size;
1: + char name[18];
1: +};
1: +
1: +struct cpu_signature {
1: + unsigned int sig;
1: + unsigned int pf;
1: + unsigned int rev;
1: +};
1: +
1: +enum ucode_state {
1: + UCODE_OK = 0,
1: + UCODE_NEW = 1,
1: + UCODE_UPDATED = 2,
1: + UCODE_NFOUND = 3,
1: + UCODE_ERROR = 4,
1: +};
1: +
1: +struct microcode_ops {
1: + enum ucode_state (*request_microcode_user)(int, const void *, size_t);
1: + enum ucode_state (*request_microcode_fw)(int, struct device *, bool);
1: + void (*microcode_fini_cpu)(int);
1: + enum ucode_state (*apply_microcode)(int);
1: + int (*collect_cpu_info)(int, struct cpu_signature *);
1: +};
1: +
1: +struct ucode_cpu_info {
1: + struct cpu_signature cpu_sig;
1: + int valid;
1: + void *mc;
1: +};
1: +
1: +struct cpu_info_ctx {
1: + struct cpu_signature *cpu_sig;
1: + int err;
1: +};
1: +
1: +struct firmware {
1: + size_t size;
1: + const u8 *data;
1: + struct page **pages;
1: + void *priv;
1: +};
1: +
1: +struct ucode_patch {
1: + struct list_head plist;
1: + void *data;
1: + u32 patch_id;
1: + u16 equiv_cpu;
1: +};
1: +
1: +struct microcode_header_intel {
1: + unsigned int hdrver;
1: + unsigned int rev;
1: + unsigned int date;
1: + unsigned int sig;
1: + unsigned int cksum;
1: + unsigned int ldrver;
1: + unsigned int pf;
1: + unsigned int datasize;
1: + unsigned int totalsize;
1: + unsigned int reserved[3];
1: +};
1: +
1: +struct microcode_intel {
1: + struct microcode_header_intel hdr;
1: + unsigned int bits[0];
1: +};
1: +
1: +struct extended_signature {
1: + unsigned int sig;
1: + unsigned int pf;
1: + unsigned int cksum;
1: +};
1: +
1: +struct extended_sigtable {
1: + unsigned int count;
1: + unsigned int cksum;
1: + unsigned int reserved[3];
1: + struct extended_signature sigs[0];
1: +};
1: +
1: +struct equiv_cpu_entry {
1: + u32 installed_cpu;
1: + u32 fixed_errata_mask;
1: + u32 fixed_errata_compare;
1: + u16 equiv_cpu;
1: + u16 res;
1: +};
1: +
1: +struct microcode_header_amd {
1: + u32 data_code;
1: + u32 patch_id;
1: + u16 mc_patch_data_id;
1: + u8 mc_patch_data_len;
1: + u8 init_flag;
1: + u32 mc_patch_data_checksum;
1: + u32 nb_dev_id;
1: + u32 sb_dev_id;
1: + u16 processor_rev_id;
1: + u8 nb_rev_id;
1: + u8 sb_rev_id;
1: + u8 bios_api_rev;
1: + u8 reserved1[3];
1: + u32 match_reg[8];
1: +};
1: +
1: +struct microcode_amd {
1: + struct microcode_header_amd hdr;
1: + unsigned int mpb[0];
1: +};
1: +
1: +struct equiv_cpu_table {
1: + unsigned int num_entries;
1: + struct equiv_cpu_entry *entry;
1: +};
1: +
1: +struct cont_desc {
1: + struct microcode_amd *mc;
1: + u32 cpuid_1_eax;
1: + u32 psize;
1: + u8 *data;
1: + size_t size;
1: +};
1: +
1: +struct mpc_intsrc {
1: + unsigned char type;
1: + unsigned char irqtype;
1: + short unsigned int irqflag;
1: + unsigned char srcbus;
1: + unsigned char srcbusirq;
1: + unsigned char dstapic;
1: + unsigned char dstirq;
1: +};
1: +
1: +enum mp_irq_source_types {
1: + mp_INT = 0,
1: + mp_NMI = 1,
1: + mp_SMI = 2,
1: + mp_ExtINT = 3,
1: +};
1: +
1: +struct IO_APIC_route_entry {
1: + __u32 vector: 8;
1: + __u32 delivery_mode: 3;
1: + __u32 dest_mode: 1;
1: + __u32 delivery_status: 1;
1: + __u32 polarity: 1;
1: + __u32 irr: 1;
1: + __u32 trigger: 1;
1: + __u32 mask: 1;
1: + __u32 __reserved_2: 15;
1: + __u32 __reserved_3: 24;
1: + __u32 dest: 8;
1: +};
1: +
1: +typedef u64 acpi_io_address;
1: +
1: +typedef u64 acpi_physical_address;
1: +
1: +typedef u32 acpi_status;
1: +
1: +typedef char *acpi_string;
1: +
1: +typedef void *acpi_handle;
1: +
1: +typedef u32 acpi_object_type;
1: +
1: +typedef u8 acpi_adr_space_type;
1: +
1: +union acpi_object {
1: + acpi_object_type type;
1: + struct {
1: + acpi_object_type type;
1: + u64 value;
1: + } integer;
1: + struct {
1: + acpi_object_type type;
1: + u32 length;
1: + char *pointer;
1: + } string;
1: + struct {
1: + acpi_object_type type;
1: + u32 length;
1: + u8 *pointer;
1: + } buffer;
1: + struct {
1: + acpi_object_type type;
1: + u32 count;
1: + union acpi_object *elements;
1: + } package;
1: + struct {
1: + acpi_object_type type;
1: + acpi_object_type actual_type;
1: + acpi_handle handle;
1: + } reference;
1: + struct {
1: + acpi_object_type type;
1: + u32 proc_id;
1: + acpi_io_address pblk_address;
1: + u32 pblk_length;
1: + } processor;
1: + struct {
1: + acpi_object_type type;
1: + u32 system_level;
1: + u32 resource_order;
1: + } power_resource;
1: +};
1: +
1: +struct acpi_object_list {
1: + u32 count;
1: + union acpi_object *pointer;
1: +};
1: +
1: +struct acpi_subtable_header {
1: + u8 type;
1: + u8 length;
1: +};
1: +
1: +struct acpi_table_boot {
1: + struct acpi_table_header header;
1: + u8 cmos_index;
1: + u8 reserved[3];
1: +};
1: +
1: +struct acpi_hmat_structure {
1: + u16 type;
1: + u16 reserved;
1: + u32 length;
1: +};
1: +
1: +struct acpi_table_hpet {
1: + struct acpi_table_header header;
1: + u32 id;
1: + struct acpi_generic_address address;
1: + u8 sequence;
1: + u16 minimum_tick;
1: + u8 flags;
1: +} __attribute__((packed));
1: +
1: +struct acpi_table_madt {
1: + struct acpi_table_header header;
1: + u32 address;
1: + u32 flags;
1: +};
1: +
1: +enum acpi_madt_type {
1: + ACPI_MADT_TYPE_LOCAL_APIC = 0,
1: + ACPI_MADT_TYPE_IO_APIC = 1,
1: + ACPI_MADT_TYPE_INTERRUPT_OVERRIDE = 2,
1: + ACPI_MADT_TYPE_NMI_SOURCE = 3,
1: + ACPI_MADT_TYPE_LOCAL_APIC_NMI = 4,
1: + ACPI_MADT_TYPE_LOCAL_APIC_OVERRIDE = 5,
1: + ACPI_MADT_TYPE_IO_SAPIC = 6,
1: + ACPI_MADT_TYPE_LOCAL_SAPIC = 7,
1: + ACPI_MADT_TYPE_INTERRUPT_SOURCE = 8,
1: + ACPI_MADT_TYPE_LOCAL_X2APIC = 9,
1: + ACPI_MADT_TYPE_LOCAL_X2APIC_NMI = 10,
1: + ACPI_MADT_TYPE_GENERIC_INTERRUPT = 11,
1: + ACPI_MADT_TYPE_GENERIC_DISTRIBUTOR = 12,
1: + ACPI_MADT_TYPE_GENERIC_MSI_FRAME = 13,
1: + ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR = 14,
1: + ACPI_MADT_TYPE_GENERIC_TRANSLATOR = 15,
1: + ACPI_MADT_TYPE_RESERVED = 16,
1: +};
1: +
1: +struct acpi_madt_local_apic {
1: + struct acpi_subtable_header header;
1: + u8 processor_id;
1: + u8 id;
1: + u32 lapic_flags;
1: +};
1: +
1: +struct acpi_madt_io_apic {
1: + struct acpi_subtable_header header;
1: + u8 id;
1: + u8 reserved;
1: + u32 address;
1: + u32 global_irq_base;
1: +};
1: +
1: +struct acpi_madt_interrupt_override {
1: + struct acpi_subtable_header header;
1: + u8 bus;
1: + u8 source_irq;
1: + u32 global_irq;
1: + u16 inti_flags;
1: +} __attribute__((packed));
1: +
1: +struct acpi_madt_nmi_source {
1: + struct acpi_subtable_header header;
1: + u16 inti_flags;
1: + u32 global_irq;
1: +};
1: +
1: +struct acpi_madt_local_apic_nmi {
1: + struct acpi_subtable_header header;
1: + u8 processor_id;
1: + u16 inti_flags;
1: + u8 lint;
1: +} __attribute__((packed));
1: +
1: +struct acpi_madt_local_apic_override {
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u64 address;
1: +} __attribute__((packed));
1: +
1: +struct acpi_madt_local_sapic {
1: + struct acpi_subtable_header header;
1: + u8 processor_id;
1: + u8 id;
1: + u8 eid;
1: + u8 reserved[3];
1: + u32 lapic_flags;
1: + u32 uid;
1: + char uid_string[1];
1: +} __attribute__((packed));
1: +
1: +struct acpi_madt_local_x2apic {
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u32 local_apic_id;
1: + u32 lapic_flags;
1: + u32 uid;
1: +};
1: +
1: +struct acpi_madt_local_x2apic_nmi {
1: + struct acpi_subtable_header header;
1: + u16 inti_flags;
1: + u32 uid;
1: + u8 lint;
1: + u8 reserved[3];
1: +};
1: +
1: +enum acpi_irq_model_id {
1: + ACPI_IRQ_MODEL_PIC = 0,
1: + ACPI_IRQ_MODEL_IOAPIC = 1,
1: + ACPI_IRQ_MODEL_IOSAPIC = 2,
1: + ACPI_IRQ_MODEL_PLATFORM = 3,
1: + ACPI_IRQ_MODEL_GIC = 4,
1: + ACPI_IRQ_MODEL_COUNT = 5,
1: +};
1: +
1: +union acpi_subtable_headers {
1: + struct acpi_subtable_header common;
1: + struct acpi_hmat_structure hmat;
1: +};
1: +
1: +typedef int (*acpi_tbl_table_handler)(struct acpi_table_header *);
1: +
1: +typedef int (*acpi_tbl_entry_handler)(union acpi_subtable_headers *, const long unsigned int);
1: +
1: +struct acpi_subtable_proc {
1: + int id;
1: + acpi_tbl_entry_handler handler;
1: + int count;
1: +};
1: +
1: +typedef u32 phys_cpuid_t;
1: +
1: +enum irq_alloc_type {
1: + X86_IRQ_ALLOC_TYPE_IOAPIC = 1,
1: + X86_IRQ_ALLOC_TYPE_HPET = 2,
1: + X86_IRQ_ALLOC_TYPE_MSI = 3,
1: + X86_IRQ_ALLOC_TYPE_MSIX = 4,
1: + X86_IRQ_ALLOC_TYPE_DMAR = 5,
1: + X86_IRQ_ALLOC_TYPE_UV = 6,
1: +};
1: +
1: +struct irq_alloc_info {
1: + enum irq_alloc_type type;
1: + u32 flags;
1: + const struct cpumask *mask;
1: + union {
1: + int unused;
1: + struct {
1: + int hpet_id;
1: + int hpet_index;
1: + void *hpet_data;
1: + };
1: + struct {
1: + struct pci_dev *msi_dev;
1: + irq_hw_number_t msi_hwirq;
1: + };
1: + struct {
1: + int ioapic_id;
1: + int ioapic_pin;
1: + int ioapic_node;
1: + u32 ioapic_trigger: 1;
1: + u32 ioapic_polarity: 1;
1: + u32 ioapic_valid: 1;
1: + struct IO_APIC_route_entry *ioapic_entry;
1: + };
1: + struct {
1: + int dmar_id;
1: + void *dmar_data;
1: + };
1: + };
1: +};
1: +
1: +enum ioapic_domain_type {
1: + IOAPIC_DOMAIN_INVALID = 0,
1: + IOAPIC_DOMAIN_LEGACY = 1,
1: + IOAPIC_DOMAIN_STRICT = 2,
1: + IOAPIC_DOMAIN_DYNAMIC = 3,
1: +};
1: +
1: +struct ioapic_domain_cfg {
1: + enum ioapic_domain_type type;
1: + const struct irq_domain_ops *ops;
1: + struct device_node *dev;
1: +};
1: +
1: +struct wakeup_header {
1: + u16 video_mode;
1: + u32 pmode_entry;
1: + u16 pmode_cs;
1: + u32 pmode_cr0;
1: + u32 pmode_cr3;
1: + u32 pmode_cr4;
1: + u32 pmode_efer_low;
1: + u32 pmode_efer_high;
1: + u64 pmode_gdt;
1: + u32 pmode_misc_en_low;
1: + u32 pmode_misc_en_high;
1: + u32 pmode_behavior;
1: + u32 realmode_flags;
1: + u32 real_magic;
1: + u32 signature;
1: +} __attribute__((packed));
1: +
1: +struct cpc_reg {
1: + u8 descriptor;
1: + u16 length;
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_width;
1: + u64 address;
1: +} __attribute__((packed));
1: +
1: +struct acpi_power_register {
1: + u8 descriptor;
1: + u16 length;
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_size;
1: + u64 address;
1: +} __attribute__((packed));
1: +
1: +struct acpi_processor_cx {
1: + u8 valid;
1: + u8 type;
1: + u32 address;
1: + u8 entry_method;
1: + u8 index;
1: + u32 latency;
1: + u8 bm_sts_skip;
1: + char desc[32];
1: +};
1: +
1: +struct acpi_processor_flags {
1: + u8 power: 1;
1: + u8 performance: 1;
1: + u8 throttling: 1;
1: + u8 limit: 1;
1: + u8 bm_control: 1;
1: + u8 bm_check: 1;
1: + u8 has_cst: 1;
1: + u8 has_lpi: 1;
1: + u8 power_setup_done: 1;
1: + u8 bm_rld_set: 1;
1: + u8 need_hotplug_init: 1;
1: +};
1: +
1: +struct cstate_entry {
1: + struct {
1: + unsigned int eax;
1: + unsigned int ecx;
1: + } states[8];
1: +};
1: +
1: +enum reboot_mode {
1: + REBOOT_UNDEFINED = -1,
1: + REBOOT_COLD = 0,
1: + REBOOT_WARM = 1,
1: + REBOOT_HARD = 2,
1: + REBOOT_SOFT = 3,
1: + REBOOT_GPIO = 4,
1: +};
1: +
1: +enum reboot_type {
1: + BOOT_TRIPLE = 116,
1: + BOOT_KBD = 107,
1: + BOOT_BIOS = 98,
1: + BOOT_ACPI = 97,
1: + BOOT_EFI = 101,
1: + BOOT_CF9_FORCE = 112,
1: + BOOT_CF9_SAFE = 113,
1: +};
1: +
1: +struct machine_ops {
1: + void (*restart)(char *);
1: + void (*halt)();
1: + void (*power_off)();
1: + void (*shutdown)();
1: + void (*crash_shutdown)(struct pt_regs *);
1: + void (*emergency_restart)();
1: +};
1: +
1: +typedef void (*nmi_shootdown_cb)(int, struct pt_regs *);
1: +
1: +struct cpuid_regs_done {
1: + struct cpuid_regs regs;
1: + struct completion done;
1: +};
1: +
1: +struct intel_early_ops {
1: + resource_size_t (*stolen_size)(int, int, int);
1: + resource_size_t (*stolen_base)(int, int, int, resource_size_t);
1: +};
1: +
1: +struct chipset {
1: + u32 vendor;
1: + u32 device;
1: + u32 class;
1: + u32 class_mask;
1: + u32 flags;
1: + void (*f)(int, int, int);
1: +};
1: +
1: +enum apic_intr_mode_id {
1: + APIC_PIC = 0,
1: + APIC_VIRTUAL_WIRE = 1,
1: + APIC_VIRTUAL_WIRE_NO_CONFIG = 2,
1: + APIC_SYMMETRIC_IO = 3,
1: + APIC_SYMMETRIC_IO_NO_ROUTING = 4,
1: +};
1: +
1: +struct sched_domain_shared {
1: + atomic_t ref;
1: + atomic_t nr_busy_cpus;
1: + int has_idle_cores;
1: +};
1: +
1: +struct sched_group;
1: +
1: +struct sched_domain {
1: + struct sched_domain *parent;
1: + struct sched_domain *child;
1: + struct sched_group *groups;
1: + long unsigned int min_interval;
1: + long unsigned int max_interval;
1: + unsigned int busy_factor;
1: + unsigned int imbalance_pct;
1: + unsigned int cache_nice_tries;
1: + int nohz_idle;
1: + int flags;
1: + int level;
1: + long unsigned int last_balance;
1: + unsigned int balance_interval;
1: + unsigned int nr_balance_failed;
1: + u64 max_newidle_lb_cost;
1: + long unsigned int next_decay_max_lb_cost;
1: + u64 avg_scan_cost;
1: + unsigned int lb_count[3];
1: + unsigned int lb_failed[3];
1: + unsigned int lb_balanced[3];
1: + unsigned int lb_imbalance[3];
1: + unsigned int lb_gained[3];
1: + unsigned int lb_hot_gained[3];
1: + unsigned int lb_nobusyg[3];
1: + unsigned int lb_nobusyq[3];
1: + unsigned int alb_count;
1: + unsigned int alb_failed;
1: + unsigned int alb_pushed;
1: + unsigned int sbe_count;
1: + unsigned int sbe_balanced;
1: + unsigned int sbe_pushed;
1: + unsigned int sbf_count;
1: + unsigned int sbf_balanced;
1: + unsigned int sbf_pushed;
1: + unsigned int ttwu_wake_remote;
1: + unsigned int ttwu_move_affine;
1: + unsigned int ttwu_move_balance;
1: + union {
1: + void *private;
1: + struct callback_head rcu;
1: + };
1: + struct sched_domain_shared *shared;
1: + unsigned int span_weight;
1: + long unsigned int span[0];
1: +};
1: +
1: +typedef const struct cpumask * (*sched_domain_mask_f)(int);
1: +
1: +typedef int (*sched_domain_flags_f)();
1: +
1: +struct sched_group_capacity;
1: +
1: +struct sd_data {
1: + struct sched_domain **sd;
1: + struct sched_domain_shared **sds;
1: + struct sched_group **sg;
1: + struct sched_group_capacity **sgc;
1: +};
1: +
1: +struct sched_domain_topology_level {
1: + sched_domain_mask_f mask;
1: + sched_domain_flags_f sd_flags;
1: + int flags;
1: + int numa_level;
1: + struct sd_data data;
1: +};
1: +
1: +struct tsc_adjust {
1: + s64 bootval;
1: + s64 adjusted;
1: + long unsigned int nextcheck;
1: + bool warned;
1: +};
1: +
1: +typedef void * (*pcpu_fc_alloc_fn_t)(unsigned int, size_t, size_t);
1: +
1: +typedef void (*pcpu_fc_free_fn_t)(void *, size_t);
1: +
1: +typedef void (*pcpu_fc_populate_pte_fn_t)(long unsigned int);
1: +
1: +typedef int pcpu_fc_cpu_distance_fn_t(unsigned int, unsigned int);
1: +
1: +enum {
1: + DUMP_PREFIX_NONE = 0,
1: + DUMP_PREFIX_ADDRESS = 1,
1: + DUMP_PREFIX_OFFSET = 2,
1: +};
1: +
1: +struct mpf_intel {
1: + char signature[4];
1: + unsigned int physptr;
1: + unsigned char length;
1: + unsigned char specification;
1: + unsigned char checksum;
1: + unsigned char feature1;
1: + unsigned char feature2;
1: + unsigned char feature3;
1: + unsigned char feature4;
1: + unsigned char feature5;
1: +};
1: +
1: +struct mpc_ioapic {
1: + unsigned char type;
1: + unsigned char apicid;
1: + unsigned char apicver;
1: + unsigned char flags;
1: + unsigned int apicaddr;
1: +};
1: +
1: +struct mpc_lintsrc {
1: + unsigned char type;
1: + unsigned char irqtype;
1: + short unsigned int irqflag;
1: + unsigned char srcbusid;
1: + unsigned char srcbusirq;
1: + unsigned char destapic;
1: + unsigned char destapiclint;
1: +};
1: +
1: +union apic_ir {
1: + long unsigned int map[4];
1: + u32 regs[8];
1: +};
1: +
1: +enum ioapic_irq_destination_types {
1: + dest_Fixed = 0,
1: + dest_LowestPrio = 1,
1: + dest_SMI = 2,
1: + dest__reserved_1 = 3,
1: + dest_NMI = 4,
1: + dest_INIT = 5,
1: + dest__reserved_2 = 6,
1: + dest_ExtINT = 7,
1: +};
1: +
1: +enum {
1: + IRQ_SET_MASK_OK = 0,
1: + IRQ_SET_MASK_OK_NOCOPY = 1,
1: + IRQ_SET_MASK_OK_DONE = 2,
1: +};
1: +
1: +enum {
1: + IRQD_TRIGGER_MASK = 15,
1: + IRQD_SETAFFINITY_PENDING = 256,
1: + IRQD_ACTIVATED = 512,
1: + IRQD_NO_BALANCING = 1024,
1: + IRQD_PER_CPU = 2048,
1: + IRQD_AFFINITY_SET = 4096,
1: + IRQD_LEVEL = 8192,
1: + IRQD_WAKEUP_STATE = 16384,
1: + IRQD_MOVE_PCNTXT = 32768,
1: + IRQD_IRQ_DISABLED = 65536,
1: + IRQD_IRQ_MASKED = 131072,
1: + IRQD_IRQ_INPROGRESS = 262144,
1: + IRQD_WAKEUP_ARMED = 524288,
1: + IRQD_FORWARDED_TO_VCPU = 1048576,
1: + IRQD_AFFINITY_MANAGED = 2097152,
1: + IRQD_IRQ_STARTED = 4194304,
1: + IRQD_MANAGED_SHUTDOWN = 8388608,
1: + IRQD_SINGLE_TARGET = 16777216,
1: + IRQD_DEFAULT_TRIGGER_SET = 33554432,
1: + IRQD_CAN_RESERVE = 67108864,
1: +};
1: +
1: +struct irq_cfg {
1: + unsigned int dest_apicid;
1: + unsigned int vector;
1: +};
1: +
1: +enum {
1: + IRQCHIP_FWNODE_REAL = 0,
1: + IRQCHIP_FWNODE_NAMED = 1,
1: + IRQCHIP_FWNODE_NAMED_ID = 2,
1: +};
1: +
1: +enum {
1: + X86_IRQ_ALLOC_CONTIGUOUS_VECTORS = 1,
1: + X86_IRQ_ALLOC_LEGACY = 2,
1: +};
1: +
1: +struct apic_chip_data {
1: + struct irq_cfg hw_irq_cfg;
1: + unsigned int vector;
1: + unsigned int prev_vector;
1: + unsigned int cpu;
1: + unsigned int prev_cpu;
1: + unsigned int irq;
1: + struct hlist_node clist;
1: + unsigned int move_in_progress: 1;
1: + unsigned int is_managed: 1;
1: + unsigned int can_reserve: 1;
1: + unsigned int has_reserved: 1;
1: +};
1: +
1: +struct irq_matrix;
1: +
1: +union IO_APIC_reg_00 {
1: + u32 raw;
1: + struct {
1: + u32 __reserved_2: 14;
1: + u32 LTS: 1;
1: + u32 delivery_type: 1;
1: + u32 __reserved_1: 8;
1: + u32 ID: 8;
1: + } bits;
1: +};
1: +
1: +union IO_APIC_reg_01 {
1: + u32 raw;
1: + struct {
1: + u32 version: 8;
1: + u32 __reserved_2: 7;
1: + u32 PRQ: 1;
1: + u32 entries: 8;
1: + u32 __reserved_1: 8;
1: + } bits;
1: +};
1: +
1: +union IO_APIC_reg_02 {
1: + u32 raw;
1: + struct {
1: + u32 __reserved_2: 24;
1: + u32 arbitration: 4;
1: + u32 __reserved_1: 4;
1: + } bits;
1: +};
1: +
1: +union IO_APIC_reg_03 {
1: + u32 raw;
1: + struct {
1: + u32 boot_DT: 1;
1: + u32 __reserved_1: 31;
1: + } bits;
1: +};
1: +
1: +struct IR_IO_APIC_route_entry {
1: + __u64 vector: 8;
1: + __u64 zero: 3;
1: + __u64 index2: 1;
1: + __u64 delivery_status: 1;
1: + __u64 polarity: 1;
1: + __u64 irr: 1;
1: + __u64 trigger: 1;
1: + __u64 mask: 1;
1: + __u64 reserved: 31;
1: + __u64 format: 1;
1: + __u64 index: 15;
1: +};
1: +
1: +enum {
1: + IRQ_TYPE_NONE = 0,
1: + IRQ_TYPE_EDGE_RISING = 1,
1: + IRQ_TYPE_EDGE_FALLING = 2,
1: + IRQ_TYPE_EDGE_BOTH = 3,
1: + IRQ_TYPE_LEVEL_HIGH = 4,
1: + IRQ_TYPE_LEVEL_LOW = 8,
1: + IRQ_TYPE_LEVEL_MASK = 12,
1: + IRQ_TYPE_SENSE_MASK = 15,
1: + IRQ_TYPE_DEFAULT = 15,
1: + IRQ_TYPE_PROBE = 16,
1: + IRQ_LEVEL = 256,
1: + IRQ_PER_CPU = 512,
1: + IRQ_NOPROBE = 1024,
1: + IRQ_NOREQUEST = 2048,
1: + IRQ_NOAUTOEN = 4096,
1: + IRQ_NO_BALANCING = 8192,
1: + IRQ_MOVE_PCNTXT = 16384,
1: + IRQ_NESTED_THREAD = 32768,
1: + IRQ_NOTHREAD = 65536,
1: + IRQ_PER_CPU_DEVID = 131072,
1: + IRQ_IS_POLLED = 262144,
1: + IRQ_DISABLE_UNLAZY = 524288,
1: +};
1: +
1: +enum {
1: + IRQCHIP_SET_TYPE_MASKED = 1,
1: + IRQCHIP_EOI_IF_HANDLED = 2,
1: + IRQCHIP_MASK_ON_SUSPEND = 4,
1: + IRQCHIP_ONOFFLINE_ENABLED = 8,
1: + IRQCHIP_SKIP_SET_WAKE = 16,
1: + IRQCHIP_ONESHOT_SAFE = 32,
1: + IRQCHIP_EOI_THREADED = 64,
1: + IRQCHIP_SUPPORTS_LEVEL_MSI = 128,
1: + IRQCHIP_SUPPORTS_NMI = 256,
1: +};
1: +
1: +struct irq_pin_list {
1: + struct list_head list;
1: + int apic;
1: + int pin;
1: +};
1: +
1: +struct mp_chip_data {
1: + struct list_head irq_2_pin;
1: + struct IO_APIC_route_entry entry;
1: + int trigger;
1: + int polarity;
1: + u32 count;
1: + bool isa_irq;
1: +};
1: +
1: +struct mp_ioapic_gsi {
1: + u32 gsi_base;
1: + u32 gsi_end;
1: +};
1: +
1: +struct ioapic {
1: + int nr_registers;
1: + struct IO_APIC_route_entry *saved_registers;
1: + struct mpc_ioapic mp_config;
1: + struct mp_ioapic_gsi gsi_config;
1: + struct ioapic_domain_cfg irqdomain_cfg;
1: + struct irq_domain *irqdomain;
1: + struct resource *iomem_res;
1: +};
1: +
1: +struct io_apic {
1: + unsigned int index;
1: + unsigned int unused[3];
1: + unsigned int data;
1: + unsigned int unused2[11];
1: + unsigned int eoi;
1: +};
1: +
1: +union entry_union {
1: + struct {
1: + u32 w1;
1: + u32 w2;
1: + };
1: + struct IO_APIC_route_entry entry;
1: +};
1: +
1: +struct clock_event_device___2;
1: +
1: +typedef struct irq_alloc_info msi_alloc_info_t;
1: +
1: +struct msi_domain_info;
1: +
1: +struct msi_domain_ops {
1: + irq_hw_number_t (*get_hwirq)(struct msi_domain_info *, msi_alloc_info_t *);
1: + int (*msi_init)(struct irq_domain *, struct msi_domain_info *, unsigned int, irq_hw_number_t, msi_alloc_info_t *);
1: + void (*msi_free)(struct irq_domain *, struct msi_domain_info *, unsigned int);
1: + int (*msi_check)(struct irq_domain *, struct msi_domain_info *, struct device *);
1: + int (*msi_prepare)(struct irq_domain *, struct device *, int, msi_alloc_info_t *);
1: + void (*msi_finish)(msi_alloc_info_t *, int);
1: + void (*set_desc)(msi_alloc_info_t *, struct msi_desc *);
1: + int (*handle_error)(struct irq_domain *, struct msi_desc *, int);
1: +};
1: +
1: +struct msi_domain_info {
1: + u32 flags;
1: + struct msi_domain_ops *ops;
1: + struct irq_chip *chip;
1: + void *chip_data;
1: + irq_flow_handler_t handler;
1: + void *handler_data;
1: + const char *handler_name;
1: + void *data;
1: +};
1: +
1: +enum {
1: + MSI_FLAG_USE_DEF_DOM_OPS = 1,
1: + MSI_FLAG_USE_DEF_CHIP_OPS = 2,
1: + MSI_FLAG_MULTI_PCI_MSI = 4,
1: + MSI_FLAG_PCI_MSIX = 8,
1: + MSI_FLAG_ACTIVATE_EARLY = 16,
1: + MSI_FLAG_MUST_REACTIVATE = 32,
1: + MSI_FLAG_LEVEL_CAPABLE = 64,
1: +};
1: +
1: +struct hpet_channel;
1: +
1: +struct kimage_arch {
1: + p4d_t *p4d;
1: + pud_t *pud;
1: + pmd_t *pmd;
1: + pte_t *pte;
1: + void *elf_headers;
1: + long unsigned int elf_headers_sz;
1: + long unsigned int elf_load_addr;
1: +};
1: +
1: +typedef long unsigned int kimage_entry_t;
1: +
1: +struct kexec_segment {
1: + union {
1: + void *buf;
1: + void *kbuf;
1: + };
1: + size_t bufsz;
1: + long unsigned int mem;
1: + size_t memsz;
1: +};
1: +
1: +struct kimage {
1: + kimage_entry_t head;
1: + kimage_entry_t *entry;
1: + kimage_entry_t *last_entry;
1: + long unsigned int start;
1: + struct page *control_code_page;
1: + struct page *swap_page;
1: + void *vmcoreinfo_data_copy;
1: + long unsigned int nr_segments;
1: + struct kexec_segment segment[16];
1: + struct list_head control_pages;
1: + struct list_head dest_pages;
1: + struct list_head unusable_pages;
1: + long unsigned int control_page;
1: + unsigned int type: 1;
1: + unsigned int preserve_context: 1;
1: + unsigned int file_mode: 1;
1: + struct kimage_arch arch;
1: +};
1: +
1: +struct x86_mapping_info {
1: + void * (*alloc_pgt_page)(void *);
1: + void *context;
1: + long unsigned int page_flag;
1: + long unsigned int offset;
1: + bool direct_gbpages;
1: + long unsigned int kernpg_flag;
1: +};
1: +
1: +struct init_pgtable_data {
1: + struct x86_mapping_info *info;
1: + pgd_t *level4p;
1: +};
1: +
1: +typedef void crash_vmclear_fn();
1: +
1: +struct kretprobe_instance;
1: +
1: +typedef int (*kretprobe_handler_t)(struct kretprobe_instance *, struct pt_regs *);
1: +
1: +struct kretprobe;
1: +
1: +struct kretprobe_instance {
1: + struct hlist_node hlist;
1: + struct kretprobe *rp;
1: + kprobe_opcode_t *ret_addr;
1: + struct task_struct *task;
1: + void *fp;
1: + char data[0];
1: +};
1: +
1: +struct kretprobe {
1: + struct kprobe kp;
1: + kretprobe_handler_t handler;
1: + kretprobe_handler_t entry_handler;
1: + int maxactive;
1: + int nmissed;
1: + size_t data_size;
1: + struct hlist_head free_instances;
1: + raw_spinlock_t lock;
1: +};
1: +
1: +struct kretprobe_blackpoint {
1: + const char *name;
1: + void *addr;
1: +};
1: +
1: +struct __arch_relative_insn {
1: + u8 op;
1: + s32 raddr;
1: +} __attribute__((packed));
1: +
1: +struct arch_optimized_insn {
1: + kprobe_opcode_t copied_insn[4];
1: + kprobe_opcode_t *insn;
1: + size_t size;
1: +};
1: +
1: +struct optimized_kprobe {
1: + struct kprobe kp;
1: + struct list_head list;
1: + struct arch_optimized_insn optinsn;
1: +};
1: +
1: +typedef struct kprobe *pto_T_____5;
1: +
1: +typedef __u64 Elf64_Off;
1: +
1: +typedef __s64 Elf64_Sxword;
1: +
1: +struct elf64_rela {
1: + Elf64_Addr r_offset;
1: + Elf64_Xword r_info;
1: + Elf64_Sxword r_addend;
1: +};
1: +
1: +typedef struct elf64_rela Elf64_Rela;
1: +
1: +struct elf64_hdr {
1: + unsigned char e_ident[16];
1: + Elf64_Half e_type;
1: + Elf64_Half e_machine;
1: + Elf64_Word e_version;
1: + Elf64_Addr e_entry;
1: + Elf64_Off e_phoff;
1: + Elf64_Off e_shoff;
1: + Elf64_Word e_flags;
1: + Elf64_Half e_ehsize;
1: + Elf64_Half e_phentsize;
1: + Elf64_Half e_phnum;
1: + Elf64_Half e_shentsize;
1: + Elf64_Half e_shnum;
1: + Elf64_Half e_shstrndx;
1: +};
1: +
1: +typedef struct elf64_hdr Elf64_Ehdr;
1: +
1: +struct elf64_shdr {
1: + Elf64_Word sh_name;
1: + Elf64_Word sh_type;
1: + Elf64_Xword sh_flags;
1: + Elf64_Addr sh_addr;
1: + Elf64_Off sh_offset;
1: + Elf64_Xword sh_size;
1: + Elf64_Word sh_link;
1: + Elf64_Word sh_info;
1: + Elf64_Xword sh_addralign;
1: + Elf64_Xword sh_entsize;
1: +};
1: +
1: +typedef struct elf64_shdr Elf64_Shdr;
1: +
1: +struct console {
1: + char name[16];
1: + void (*write)(struct console *, const char *, unsigned int);
1: + int (*read)(struct console *, char *, unsigned int);
1: + struct tty_driver * (*device)(struct console *, int *);
1: + void (*unblank)();
1: + int (*setup)(struct console *, char *);
1: + int (*match)(struct console *, char *, int, char *);
1: + short int flags;
1: + short int index;
1: + int cflag;
1: + void *data;
1: + struct console *next;
1: +};
1: +
1: +struct hpet_data {
1: + long unsigned int hd_phys_address;
1: + void *hd_address;
1: + short unsigned int hd_nirqs;
1: + unsigned int hd_state;
1: + unsigned int hd_irq[32];
1: +};
1: +
1: +typedef irqreturn_t (*rtc_irq_handler)(int, void *);
1: +
1: +enum hpet_mode {
1: + HPET_MODE_UNUSED = 0,
1: + HPET_MODE_LEGACY = 1,
1: + HPET_MODE_CLOCKEVT = 2,
1: + HPET_MODE_DEVICE = 3,
1: +};
1: +
1: +struct hpet_channel___2 {
1: + struct clock_event_device evt;
1: + unsigned int num;
1: + unsigned int cpu;
1: + unsigned int irq;
1: + unsigned int in_use;
1: + enum hpet_mode mode;
1: + unsigned int boot_cfg;
1: + char name[10];
1: + long: 48;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct hpet_base {
1: + unsigned int nr_channels;
1: + unsigned int nr_clockevents;
1: + unsigned int boot_cfg;
1: + struct hpet_channel___2 *channels;
1: +};
1: +
1: +union hpet_lock {
1: + struct {
1: + arch_spinlock_t lock;
1: + u32 value;
1: + };
1: + u64 lockval;
1: +};
1: +
1: +struct amd_nb_bus_dev_range {
1: + u8 bus;
1: + u8 dev_base;
1: + u8 dev_limit;
1: +};
1: +
1: +struct amd_northbridge_info {
1: + u16 num;
1: + u64 flags;
1: + struct amd_northbridge *nb;
1: +};
1: +
1: +struct scan_area {
1: + u64 addr;
1: + u64 size;
1: +};
1: +
1: +enum swiotlb_force {
1: + SWIOTLB_NORMAL = 0,
1: + SWIOTLB_FORCE = 1,
1: + SWIOTLB_NO_FORCE = 2,
1: +};
1: +
1: +struct uprobe_xol_ops;
1: +
1: +struct arch_uprobe {
1: + union {
1: + u8 insn[16];
1: + u8 ixol[16];
1: + };
1: + const struct uprobe_xol_ops *ops;
1: + union {
1: + struct {
1: + s32 offs;
1: + u8 ilen;
1: + u8 opc1;
1: + } branch;
1: + struct {
1: + u8 fixups;
1: + u8 ilen;
1: + } defparam;
1: + struct {
1: + u8 reg_offset;
1: + u8 ilen;
1: + } push;
1: + };
1: +};
1: +
1: +struct uprobe_xol_ops {
1: + bool (*emulate)(struct arch_uprobe *, struct pt_regs *);
1: + int (*pre_xol)(struct arch_uprobe *, struct pt_regs *);
1: + int (*post_xol)(struct arch_uprobe *, struct pt_regs *);
1: + void (*abort)(struct arch_uprobe *, struct pt_regs *);
1: +};
1: +
1: +enum rp_check {
1: + RP_CHECK_CALL = 0,
1: + RP_CHECK_CHAIN_CALL = 1,
1: + RP_CHECK_RET = 2,
1: +};
1: +
1: +enum dev_prop_type {
1: + DEV_PROP_U8 = 0,
1: + DEV_PROP_U16 = 1,
1: + DEV_PROP_U32 = 2,
1: + DEV_PROP_U64 = 3,
1: + DEV_PROP_STRING = 4,
1: +};
1: +
1: +struct property_entry {
1: + const char *name;
1: + size_t length;
1: + bool is_array;
1: + enum dev_prop_type type;
1: + union {
1: + const void *pointer;
1: + union {
1: + u8 u8_data;
1: + u16 u16_data;
1: + u32 u32_data;
1: + u64 u64_data;
1: + const char *str;
1: + } value;
1: + };
1: +};
1: +
1: +struct simplefb_platform_data {
1: + u32 width;
1: + u32 height;
1: + u32 stride;
1: + const char *format;
1: +};
1: +
1: +enum {
1: + M_I17 = 0,
1: + M_I20 = 1,
1: + M_I20_SR = 2,
1: + M_I24 = 3,
1: + M_I24_8_1 = 4,
1: + M_I24_10_1 = 5,
1: + M_I27_11_1 = 6,
1: + M_MINI = 7,
1: + M_MINI_3_1 = 8,
1: + M_MINI_4_1 = 9,
1: + M_MB = 10,
1: + M_MB_2 = 11,
1: + M_MB_3 = 12,
1: + M_MB_5_1 = 13,
1: + M_MB_6_1 = 14,
1: + M_MB_7_1 = 15,
1: + M_MB_SR = 16,
1: + M_MBA = 17,
1: + M_MBA_3 = 18,
1: + M_MBP = 19,
1: + M_MBP_2 = 20,
1: + M_MBP_2_2 = 21,
1: + M_MBP_SR = 22,
1: + M_MBP_4 = 23,
1: + M_MBP_5_1 = 24,
1: + M_MBP_5_2 = 25,
1: + M_MBP_5_3 = 26,
1: + M_MBP_6_1 = 27,
1: + M_MBP_6_2 = 28,
1: + M_MBP_7_1 = 29,
1: + M_MBP_8_2 = 30,
1: + M_UNKNOWN = 31,
1: +};
1: +
1: +struct efifb_dmi_info {
1: + char *optname;
1: + long unsigned int base;
1: + int stride;
1: + int width;
1: + int height;
1: + int flags;
1: +};
1: +
1: +enum {
1: + OVERRIDE_NONE = 0,
1: + OVERRIDE_BASE = 1,
1: + OVERRIDE_STRIDE = 2,
1: + OVERRIDE_HEIGHT = 4,
1: + OVERRIDE_WIDTH = 8,
1: +};
1: +
1: +enum perf_sample_regs_abi {
1: + PERF_SAMPLE_REGS_ABI_NONE = 0,
1: + PERF_SAMPLE_REGS_ABI_32 = 1,
1: + PERF_SAMPLE_REGS_ABI_64 = 2,
1: +};
1: +
1: +struct __va_list_tag {
1: + unsigned int gp_offset;
1: + unsigned int fp_offset;
1: + void *overflow_arg_area;
1: + void *reg_save_area;
1: +};
1: +
1: +typedef struct __va_list_tag __gnuc_va_list[1];
1: +
1: +typedef __gnuc_va_list va_list;
1: +
1: +struct va_format {
1: + const char *fmt;
1: + va_list *va;
1: +};
1: +
1: +struct pci_hostbridge_probe {
1: + u32 bus;
1: + u32 slot;
1: + u32 vendor;
1: + u32 device;
1: +};
1: +
1: +enum pg_level {
1: + PG_LEVEL_NONE = 0,
1: + PG_LEVEL_4K = 1,
1: + PG_LEVEL_2M = 2,
1: + PG_LEVEL_1G = 3,
1: + PG_LEVEL_512G = 4,
1: + PG_LEVEL_NUM = 5,
1: +};
1: +
1: +struct trace_print_flags {
1: + long unsigned int mask;
1: + const char *name;
1: +};
1: +
1: +enum tlb_flush_reason {
1: + TLB_FLUSH_ON_TASK_SWITCH = 0,
1: + TLB_REMOTE_SHOOTDOWN = 1,
1: + TLB_LOCAL_SHOOTDOWN = 2,
1: + TLB_LOCAL_MM_SHOOTDOWN = 3,
1: + TLB_REMOTE_SEND_IPI = 4,
1: + NR_TLB_FLUSH_REASONS = 5,
1: +};
1: +
1: +enum {
1: + REGION_INTERSECTS = 0,
1: + REGION_DISJOINT = 1,
1: + REGION_MIXED = 2,
1: +};
1: +
1: +struct trace_event_raw_tlb_flush {
1: + struct trace_entry ent;
1: + int reason;
1: + long unsigned int pages;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_tlb_flush {};
1: +
1: +struct map_range {
1: + long unsigned int start;
1: + long unsigned int end;
1: + unsigned int page_size_mask;
1: +};
1: +
1: +enum kcore_type {
1: + KCORE_TEXT = 0,
1: + KCORE_VMALLOC = 1,
1: + KCORE_RAM = 2,
1: + KCORE_VMEMMAP = 3,
1: + KCORE_USER = 4,
1: + KCORE_OTHER = 5,
1: + KCORE_REMAP = 6,
1: +};
1: +
1: +struct kcore_list {
1: + struct list_head list;
1: + long unsigned int addr;
1: + long unsigned int vaddr;
1: + size_t size;
1: + int type;
1: +};
1: +
1: +struct hstate {
1: + int next_nid_to_alloc;
1: + int next_nid_to_free;
1: + unsigned int order;
1: + long unsigned int mask;
1: + long unsigned int max_huge_pages;
1: + long unsigned int nr_huge_pages;
1: + long unsigned int free_huge_pages;
1: + long unsigned int resv_huge_pages;
1: + long unsigned int surplus_huge_pages;
1: + long unsigned int nr_overcommit_huge_pages;
1: + struct list_head hugepage_activelist;
1: + struct list_head hugepage_freelists[64];
1: + unsigned int nr_huge_pages_node[64];
1: + unsigned int free_huge_pages_node[64];
1: + unsigned int surplus_huge_pages_node[64];
1: + char name[32];
1: +};
1: +
1: +struct trace_event_raw_x86_exceptions {
1: + struct trace_entry ent;
1: + long unsigned int address;
1: + long unsigned int ip;
1: + long unsigned int error_code;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_x86_exceptions {};
1: +
1: +enum {
1: + IORES_MAP_SYSTEM_RAM = 1,
1: + IORES_MAP_ENCRYPTED = 2,
1: +};
1: +
1: +struct ioremap_desc {
1: + unsigned int flags;
1: +};
1: +
1: +typedef bool (*ex_handler_t)(const struct exception_table_entry *, struct pt_regs *, int, long unsigned int, long unsigned int);
1: +
1: +struct cpa_data {
1: + long unsigned int *vaddr;
1: + pgd_t *pgd;
1: + pgprot_t mask_set;
1: + pgprot_t mask_clr;
1: + long unsigned int numpages;
1: + long unsigned int curpage;
1: + long unsigned int pfn;
1: + unsigned int flags;
1: + unsigned int force_split: 1;
1: + unsigned int force_static_prot: 1;
1: + struct page **pages;
1: +};
1: +
1: +enum cpa_warn {
1: + CPA_CONFLICT = 0,
1: + CPA_PROTECT = 1,
1: + CPA_DETECT = 2,
1: +};
1: +
1: +typedef struct {
1: + u64 val;
1: +} pfn_t;
1: +
1: +struct memtype {
1: + u64 start;
1: + u64 end;
1: + u64 subtree_max_end;
1: + enum page_cache_mode type;
1: + struct rb_node rb;
1: +};
1: +
1: +enum {
1: + PAT_UC = 0,
1: + PAT_WC = 1,
1: + PAT_WT = 4,
1: + PAT_WP = 5,
1: + PAT_WB = 6,
1: + PAT_UC_MINUS = 7,
1: +};
1: +
1: +struct pagerange_state {
1: + long unsigned int cur_pfn;
1: + int ram;
1: + int not_ram;
1: +};
1: +
1: +struct flush_tlb_info {
1: + struct mm_struct *mm;
1: + long unsigned int start;
1: + long unsigned int end;
1: + u64 new_tlb_gen;
1: + unsigned int stride_shift;
1: + bool freed_tables;
1: +};
1: +
1: +struct exception_stacks {
1: + char DF_stack_guard[0];
1: + char DF_stack[4096];
1: + char NMI_stack_guard[0];
1: + char NMI_stack[4096];
1: + char DB2_stack_guard[0];
1: + char DB2_stack[0];
1: + char DB1_stack_guard[0];
1: + char DB1_stack[4096];
1: + char DB_stack_guard[0];
1: + char DB_stack[4096];
1: + char MCE_stack_guard[0];
1: + char MCE_stack[4096];
1: + char IST_top_guard[0];
1: +};
1: +
1: +struct rb_augment_callbacks {
1: + void (*propagate)(struct rb_node *, struct rb_node *);
1: + void (*copy)(struct rb_node *, struct rb_node *);
1: + void (*rotate)(struct rb_node *, struct rb_node *);
1: +};
1: +
1: +enum {
1: + MEMTYPE_EXACT_MATCH = 0,
1: + MEMTYPE_END_MATCH = 1,
1: +};
1: +
1: +struct hugepage_subpool {
1: + spinlock_t lock;
1: + long int count;
1: + long int max_hpages;
1: + long int used_hpages;
1: + struct hstate *hstate;
1: + long int min_hpages;
1: + long int rsv_hpages;
1: +};
1: +
1: +struct hugetlbfs_sb_info {
1: + long int max_inodes;
1: + long int free_inodes;
1: + spinlock_t stat_lock;
1: + struct hstate *hstate;
1: + struct hugepage_subpool *spool;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: +};
1: +
1: +struct numa_memblk {
1: + u64 start;
1: + u64 end;
1: + int nid;
1: +};
1: +
1: +struct numa_meminfo {
1: + int nr_blks;
1: + struct numa_memblk blk[128];
1: +};
1: +
1: +struct acpi_srat_cpu_affinity {
1: + struct acpi_subtable_header header;
1: + u8 proximity_domain_lo;
1: + u8 apic_id;
1: + u32 flags;
1: + u8 local_sapic_eid;
1: + u8 proximity_domain_hi[3];
1: + u32 clock_domain;
1: +};
1: +
1: +struct acpi_srat_x2apic_cpu_affinity {
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u32 proximity_domain;
1: + u32 apic_id;
1: + u32 flags;
1: + u32 clock_domain;
1: + u32 reserved2;
1: +};
1: +
1: +enum uv_system_type {
1: + UV_NONE = 0,
1: + UV_LEGACY_APIC = 1,
1: + UV_X2APIC = 2,
1: + UV_NON_UNIQUE_APIC = 3,
1: +};
1: +
1: +struct rnd_state {
1: + __u32 s1;
1: + __u32 s2;
1: + __u32 s3;
1: + __u32 s4;
1: +};
1: +
1: +struct kaslr_memory_region {
1: + long unsigned int *base;
1: + long unsigned int size_tb;
1: +};
1: +
1: +enum pti_mode {
1: + PTI_AUTO = 0,
1: + PTI_FORCE_OFF = 1,
1: + PTI_FORCE_ON = 2,
1: +};
1: +
1: +enum pti_clone_level {
1: + PTI_CLONE_PMD = 0,
1: + PTI_CLONE_PTE = 1,
1: +};
1: +
1: +typedef short unsigned int __kernel_old_uid_t;
1: +
1: +typedef short unsigned int __kernel_old_gid_t;
1: +
1: +typedef struct {
1: + int val[2];
1: +} __kernel_fsid_t;
1: +
1: +typedef __kernel_old_uid_t old_uid_t;
1: +
1: +typedef __kernel_old_gid_t old_gid_t;
1: +
1: +struct kstatfs {
1: + long int f_type;
1: + long int f_bsize;
1: + u64 f_blocks;
1: + u64 f_bfree;
1: + u64 f_bavail;
1: + u64 f_files;
1: + u64 f_ffree;
1: + __kernel_fsid_t f_fsid;
1: + long int f_namelen;
1: + long int f_frsize;
1: + long int f_flags;
1: + long int f_spare[4];
1: +};
1: +
1: +struct kernel_clone_args {
1: + u64 flags;
1: + int *pidfd;
1: + int *child_tid;
1: + int *parent_tid;
1: + int exit_signal;
1: + long unsigned int stack;
1: + long unsigned int stack_size;
1: + long unsigned int tls;
1: + pid_t *set_tid;
1: + size_t set_tid_size;
1: +};
1: +
1: +struct stat64 {
1: + long long unsigned int st_dev;
1: + unsigned char __pad0[4];
1: + unsigned int __st_ino;
1: + unsigned int st_mode;
1: + unsigned int st_nlink;
1: + unsigned int st_uid;
1: + unsigned int st_gid;
1: + long long unsigned int st_rdev;
1: + unsigned char __pad3[4];
1: + long long int st_size;
1: + unsigned int st_blksize;
1: + long long int st_blocks;
1: + unsigned int st_atime;
1: + unsigned int st_atime_nsec;
1: + unsigned int st_mtime;
1: + unsigned int st_mtime_nsec;
1: + unsigned int st_ctime;
1: + unsigned int st_ctime_nsec;
1: + long long unsigned int st_ino;
1: +} __attribute__((packed));
1: +
1: +struct mmap_arg_struct32 {
1: + unsigned int addr;
1: + unsigned int len;
1: + unsigned int prot;
1: + unsigned int flags;
1: + unsigned int fd;
1: + unsigned int offset;
1: +};
1: +
1: +struct sigcontext_32 {
1: + __u16 gs;
1: + __u16 __gsh;
1: + __u16 fs;
1: + __u16 __fsh;
1: + __u16 es;
1: + __u16 __esh;
1: + __u16 ds;
1: + __u16 __dsh;
1: + __u32 di;
1: + __u32 si;
1: + __u32 bp;
1: + __u32 sp;
1: + __u32 bx;
1: + __u32 dx;
1: + __u32 cx;
1: + __u32 ax;
1: + __u32 trapno;
1: + __u32 err;
1: + __u32 ip;
1: + __u16 cs;
1: + __u16 __csh;
1: + __u32 flags;
1: + __u32 sp_at_signal;
1: + __u16 ss;
1: + __u16 __ssh;
1: + __u32 fpstate;
1: + __u32 oldmask;
1: + __u32 cr2;
1: +};
1: +
1: +typedef u32 compat_size_t;
1: +
1: +struct compat_sigaltstack {
1: + compat_uptr_t ss_sp;
1: + int ss_flags;
1: + compat_size_t ss_size;
1: +};
1: +
1: +typedef struct compat_sigaltstack compat_stack_t;
1: +
1: +struct ucontext_ia32 {
1: + unsigned int uc_flags;
1: + unsigned int uc_link;
1: + compat_stack_t uc_stack;
1: + struct sigcontext_32 uc_mcontext;
1: + compat_sigset_t uc_sigmask;
1: +};
1: +
1: +struct sigframe_ia32 {
1: + u32 pretcode;
1: + int sig;
1: + struct sigcontext_32 sc;
1: + struct _fpstate_32 fpstate_unused;
1: + unsigned int extramask[1];
1: + char retcode[8];
1: +};
1: +
1: +struct rt_sigframe_ia32 {
1: + u32 pretcode;
1: + int sig;
1: + u32 pinfo;
1: + u32 puc;
1: + compat_siginfo_t info;
1: + struct ucontext_ia32 uc;
1: + char retcode[8];
1: +};
1: +
1: +typedef struct {
1: + efi_guid_t guid;
1: + u64 table;
1: +} efi_config_table_64_t;
1: +
1: +struct efi_mem_range {
1: + struct range range;
1: + u64 attribute;
1: +};
1: +
1: +enum efi_rts_ids {
1: + EFI_NONE = 0,
1: + EFI_GET_TIME = 1,
1: + EFI_SET_TIME = 2,
1: + EFI_GET_WAKEUP_TIME = 3,
1: + EFI_SET_WAKEUP_TIME = 4,
1: + EFI_GET_VARIABLE = 5,
1: + EFI_GET_NEXT_VARIABLE = 6,
1: + EFI_SET_VARIABLE = 7,
1: + EFI_QUERY_VARIABLE_INFO = 8,
1: + EFI_GET_NEXT_HIGH_MONO_COUNT = 9,
1: + EFI_RESET_SYSTEM = 10,
1: + EFI_UPDATE_CAPSULE = 11,
1: + EFI_QUERY_CAPSULE_CAPS = 12,
1: +};
1: +
1: +struct efi_runtime_work {
1: + void *arg1;
1: + void *arg2;
1: + void *arg3;
1: + void *arg4;
1: + void *arg5;
1: + efi_status_t status;
1: + struct work_struct work;
1: + enum efi_rts_ids efi_rts_id;
1: + struct completion efi_rts_comp;
1: +};
1: +
1: +struct efi_scratch {
1: + u64 phys_stack;
1: + struct mm_struct *prev_mm;
1: +};
1: +
1: +struct efi_setup_data {
1: + u64 fw_vendor;
1: + u64 runtime;
1: + u64 tables;
1: + u64 smbios;
1: + u64 reserved[8];
1: +};
1: +
1: +typedef struct {
1: + efi_table_hdr_t hdr;
1: + u32 get_time;
1: + u32 set_time;
1: + u32 get_wakeup_time;
1: + u32 set_wakeup_time;
1: + u32 set_virtual_address_map;
1: + u32 convert_pointer;
1: + u32 get_variable;
1: + u32 get_next_variable;
1: + u32 set_variable;
1: + u32 get_next_high_mono_count;
1: + u32 reset_system;
1: + u32 update_capsule;
1: + u32 query_capsule_caps;
1: + u32 query_variable_info;
1: +} efi_runtime_services_32_t;
1: +
1: +typedef struct {
1: + efi_table_hdr_t hdr;
1: + u64 get_time;
1: + u64 set_time;
1: + u64 get_wakeup_time;
1: + u64 set_wakeup_time;
1: + u64 set_virtual_address_map;
1: + u64 convert_pointer;
1: + u64 get_variable;
1: + u64 get_next_variable;
1: + u64 set_variable;
1: + u64 get_next_high_mono_count;
1: + u64 reset_system;
1: + u64 update_capsule;
1: + u64 query_capsule_caps;
1: + u64 query_variable_info;
1: +} efi_runtime_services_64_t;
1: +
1: +typedef struct {
1: + efi_guid_t guid;
1: + const char *name;
1: + long unsigned int *ptr;
1: +} efi_config_table_type_t;
1: +
1: +typedef struct {
1: + efi_table_hdr_t hdr;
1: + u64 fw_vendor;
1: + u32 fw_revision;
1: + u32 __pad1;
1: + u64 con_in_handle;
1: + u64 con_in;
1: + u64 con_out_handle;
1: + u64 con_out;
1: + u64 stderr_handle;
1: + u64 stderr;
1: + u64 runtime;
1: + u64 boottime;
1: + u32 nr_tables;
1: + u32 __pad2;
1: + u64 tables;
1: +} efi_system_table_64_t;
1: +
1: +typedef struct {
1: + efi_table_hdr_t hdr;
1: + u32 fw_vendor;
1: + u32 fw_revision;
1: + u32 con_in_handle;
1: + u32 con_in;
1: + u32 con_out_handle;
1: + u32 con_out;
1: + u32 stderr_handle;
1: + u32 stderr;
1: + u32 runtime;
1: + u32 boottime;
1: + u32 nr_tables;
1: + u32 tables;
1: +} efi_system_table_32_t;
1: +
1: +struct efi_memory_map_data {
1: + phys_addr_t phys_map;
1: + long unsigned int size;
1: + long unsigned int desc_version;
1: + long unsigned int desc_size;
1: +};
1: +
1: +typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *);
1: +
1: +typedef u16 ucs2_char_t;
1: +
1: +struct wait_queue_entry;
1: +
1: +typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *);
1: +
1: +struct wait_queue_entry {
1: + unsigned int flags;
1: + void *private;
1: + wait_queue_func_t func;
1: + struct list_head entry;
1: +};
1: +
1: +enum {
1: + PM_QOS_RESERVED = 0,
1: + PM_QOS_CPU_DMA_LATENCY = 1,
1: + PM_QOS_NUM_CLASSES = 2,
1: +};
1: +
1: +struct pm_qos_request {
1: + struct plist_node node;
1: + int pm_qos_class;
1: + struct delayed_work work;
1: +};
1: +
1: +enum tk_offsets {
1: + TK_OFFS_REAL = 0,
1: + TK_OFFS_BOOT = 1,
1: + TK_OFFS_TAI = 2,
1: + TK_OFFS_MAX = 3,
1: +};
1: +
1: +typedef long unsigned int vm_flags_t;
1: +
1: +struct clone_args {
1: + __u64 flags;
1: + __u64 pidfd;
1: + __u64 child_tid;
1: + __u64 parent_tid;
1: + __u64 exit_signal;
1: + __u64 stack;
1: + __u64 stack_size;
1: + __u64 tls;
1: + __u64 set_tid;
1: + __u64 set_tid_size;
1: +};
1: +
1: +struct fdtable {
1: + unsigned int max_fds;
1: + struct file **fd;
1: + long unsigned int *close_on_exec;
1: + long unsigned int *open_fds;
1: + long unsigned int *full_fds_bits;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct files_struct {
1: + atomic_t count;
1: + bool resize_in_progress;
1: + wait_queue_head_t resize_wait;
1: + struct fdtable *fdt;
1: + struct fdtable fdtab;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + spinlock_t file_lock;
1: + unsigned int next_fd;
1: + long unsigned int close_on_exec_init[1];
1: + long unsigned int open_fds_init[1];
1: + long unsigned int full_fds_bits_init[1];
1: + struct file *fd_array[64];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct robust_list {
1: + struct robust_list *next;
1: +};
1: +
1: +struct robust_list_head {
1: + struct robust_list list;
1: + long int futex_offset;
1: + struct robust_list *list_op_pending;
1: +};
1: +
1: +struct multiprocess_signals {
1: + sigset_t signal;
1: + struct hlist_node node;
1: +};
1: +
1: +typedef int (*proc_visitor)(struct task_struct *, void *);
1: +
1: +enum {
1: + IOPRIO_CLASS_NONE = 0,
1: + IOPRIO_CLASS_RT = 1,
1: + IOPRIO_CLASS_BE = 2,
1: + IOPRIO_CLASS_IDLE = 3,
1: +};
1: +
1: +enum memcg_stat_item {
1: + MEMCG_CACHE = 32,
1: + MEMCG_RSS = 33,
1: + MEMCG_RSS_HUGE = 34,
1: + MEMCG_SWAP = 35,
1: + MEMCG_SOCK = 36,
1: + MEMCG_KERNEL_STACK_KB = 37,
1: + MEMCG_NR_STAT = 38,
1: +};
1: +
1: +typedef struct poll_table_struct poll_table;
1: +
1: +enum {
1: + FUTEX_STATE_OK = 0,
1: + FUTEX_STATE_EXITING = 1,
1: + FUTEX_STATE_DEAD = 2,
1: +};
1: +
1: +struct trace_event_raw_task_newtask {
1: + struct trace_entry ent;
1: + pid_t pid;
1: + char comm[16];
1: + long unsigned int clone_flags;
1: + short int oom_score_adj;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_task_rename {
1: + struct trace_entry ent;
1: + pid_t pid;
1: + char oldcomm[16];
1: + char newcomm[16];
1: + short int oom_score_adj;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_task_newtask {};
1: +
1: +struct trace_event_data_offsets_task_rename {};
1: +
1: +struct taint_flag {
1: + char c_true;
1: + char c_false;
1: + bool module;
1: +};
1: +
1: +enum ftrace_dump_mode {
1: + DUMP_NONE = 0,
1: + DUMP_ALL = 1,
1: + DUMP_ORIG = 2,
1: +};
1: +
1: +enum kmsg_dump_reason {
1: + KMSG_DUMP_UNDEF = 0,
1: + KMSG_DUMP_PANIC = 1,
1: + KMSG_DUMP_OOPS = 2,
1: + KMSG_DUMP_EMERG = 3,
1: + KMSG_DUMP_RESTART = 4,
1: + KMSG_DUMP_HALT = 5,
1: + KMSG_DUMP_POWEROFF = 6,
1: +};
1: +
1: +enum con_flush_mode {
1: + CONSOLE_FLUSH_PENDING = 0,
1: + CONSOLE_REPLAY_ALL = 1,
1: +};
1: +
1: +struct warn_args {
1: + const char *fmt;
1: + va_list args;
1: +};
1: +
1: +struct smp_hotplug_thread {
1: + struct task_struct **store;
1: + struct list_head list;
1: + int (*thread_should_run)(unsigned int);
1: + void (*thread_fn)(unsigned int);
1: + void (*create)(unsigned int);
1: + void (*setup)(unsigned int);
1: + void (*cleanup)(unsigned int, bool);
1: + void (*park)(unsigned int);
1: + void (*unpark)(unsigned int);
1: + bool selfparking;
1: + const char *thread_comm;
1: +};
1: +
1: +struct trace_event_raw_cpuhp_enter {
1: + struct trace_entry ent;
1: + unsigned int cpu;
1: + int target;
1: + int idx;
1: + void *fun;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cpuhp_multi_enter {
1: + struct trace_entry ent;
1: + unsigned int cpu;
1: + int target;
1: + int idx;
1: + void *fun;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cpuhp_exit {
1: + struct trace_entry ent;
1: + unsigned int cpu;
1: + int state;
1: + int idx;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_cpuhp_enter {};
1: +
1: +struct trace_event_data_offsets_cpuhp_multi_enter {};
1: +
1: +struct trace_event_data_offsets_cpuhp_exit {};
1: +
1: +struct cpuhp_cpu_state {
1: + enum cpuhp_state state;
1: + enum cpuhp_state target;
1: + enum cpuhp_state fail;
1: + struct task_struct *thread;
1: + bool should_run;
1: + bool rollback;
1: + bool single;
1: + bool bringup;
1: + struct hlist_node *node;
1: + struct hlist_node *last;
1: + enum cpuhp_state cb_state;
1: + int result;
1: + struct completion done_up;
1: + struct completion done_down;
1: +};
1: +
1: +struct cpuhp_step {
1: + const char *name;
1: + union {
1: + int (*single)(unsigned int);
1: + int (*multi)(unsigned int, struct hlist_node *);
1: + } startup;
1: + union {
1: + int (*single)(unsigned int);
1: + int (*multi)(unsigned int, struct hlist_node *);
1: + } teardown;
1: + struct hlist_head list;
1: + bool cant_stop;
1: + bool multi_instance;
1: +};
1: +
1: +enum cpu_mitigations {
1: + CPU_MITIGATIONS_OFF = 0,
1: + CPU_MITIGATIONS_AUTO = 1,
1: + CPU_MITIGATIONS_AUTO_NOSMT = 2,
1: +};
1: +
1: +typedef void (*rcu_callback_t)(struct callback_head *);
1: +
1: +struct __kernel_old_timeval {
1: + __kernel_long_t tv_sec;
1: + __kernel_long_t tv_usec;
1: +};
1: +
1: +typedef struct wait_queue_entry wait_queue_entry_t;
1: +
1: +struct old_timeval32 {
1: + old_time32_t tv_sec;
1: + s32 tv_usec;
1: +};
1: +
1: +struct rusage {
1: + struct __kernel_old_timeval ru_utime;
1: + struct __kernel_old_timeval ru_stime;
1: + __kernel_long_t ru_maxrss;
1: + __kernel_long_t ru_ixrss;
1: + __kernel_long_t ru_idrss;
1: + __kernel_long_t ru_isrss;
1: + __kernel_long_t ru_minflt;
1: + __kernel_long_t ru_majflt;
1: + __kernel_long_t ru_nswap;
1: + __kernel_long_t ru_inblock;
1: + __kernel_long_t ru_oublock;
1: + __kernel_long_t ru_msgsnd;
1: + __kernel_long_t ru_msgrcv;
1: + __kernel_long_t ru_nsignals;
1: + __kernel_long_t ru_nvcsw;
1: + __kernel_long_t ru_nivcsw;
1: +};
1: +
1: +struct fd {
1: + struct file *file;
1: + unsigned int flags;
1: +};
1: +
1: +struct compat_rusage {
1: + struct old_timeval32 ru_utime;
1: + struct old_timeval32 ru_stime;
1: + compat_long_t ru_maxrss;
1: + compat_long_t ru_ixrss;
1: + compat_long_t ru_idrss;
1: + compat_long_t ru_isrss;
1: + compat_long_t ru_minflt;
1: + compat_long_t ru_majflt;
1: + compat_long_t ru_nswap;
1: + compat_long_t ru_inblock;
1: + compat_long_t ru_oublock;
1: + compat_long_t ru_msgsnd;
1: + compat_long_t ru_msgrcv;
1: + compat_long_t ru_nsignals;
1: + compat_long_t ru_nvcsw;
1: + compat_long_t ru_nivcsw;
1: +};
1: +
1: +struct waitid_info {
1: + pid_t pid;
1: + uid_t uid;
1: + int status;
1: + int cause;
1: +};
1: +
1: +struct wait_opts {
1: + enum pid_type wo_type;
1: + int wo_flags;
1: + struct pid *wo_pid;
1: + struct waitid_info *wo_info;
1: + int wo_stat;
1: + struct rusage *wo_rusage;
1: + wait_queue_entry_t child_wait;
1: + int notask_error;
1: +};
1: +
1: +struct softirq_action {
1: + void (*action)(struct softirq_action *);
1: +};
1: +
1: +struct tasklet_struct {
1: + struct tasklet_struct *next;
1: + long unsigned int state;
1: + atomic_t count;
1: + void (*func)(long unsigned int);
1: + long unsigned int data;
1: +};
1: +
1: +enum {
1: + TASKLET_STATE_SCHED = 0,
1: + TASKLET_STATE_RUN = 1,
1: +};
1: +
1: +struct trace_event_raw_irq_handler_entry {
1: + struct trace_entry ent;
1: + int irq;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_irq_handler_exit {
1: + struct trace_entry ent;
1: + int irq;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_softirq {
1: + struct trace_entry ent;
1: + unsigned int vec;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_irq_handler_entry {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_irq_handler_exit {};
1: +
1: +struct trace_event_data_offsets_softirq {};
1: +
1: +struct tasklet_head {
1: + struct tasklet_struct *head;
1: + struct tasklet_struct **tail;
1: +};
1: +
1: +typedef u16 pto_T_____6;
1: +
1: +typedef void (*dr_release_t)(struct device *, void *);
1: +
1: +typedef int (*dr_match_t)(struct device *, void *, void *);
1: +
1: +struct resource_entry {
1: + struct list_head node;
1: + struct resource *res;
1: + resource_size_t offset;
1: + struct resource __res;
1: +};
1: +
1: +struct resource_constraint {
1: + resource_size_t min;
1: + resource_size_t max;
1: + resource_size_t align;
1: + resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t);
1: + void *alignf_data;
1: +};
1: +
1: +enum {
1: + MAX_IORES_LEVEL = 5,
1: +};
1: +
1: +struct region_devres {
1: + struct resource *parent;
1: + resource_size_t start;
1: + resource_size_t n;
1: +};
1: +
1: +typedef __kernel_clock_t clock_t;
1: +
1: +struct dentry_stat_t {
1: + long int nr_dentry;
1: + long int nr_unused;
1: + long int age_limit;
1: + long int want_pages;
1: + long int nr_negative;
1: + long int dummy;
1: +};
1: +
1: +struct files_stat_struct {
1: + long unsigned int nr_files;
1: + long unsigned int nr_free_files;
1: + long unsigned int max_files;
1: +};
1: +
1: +struct inodes_stat_t {
1: + long int nr_inodes;
1: + long int nr_unused;
1: + long int dummy[5];
1: +};
1: +
1: +enum sysctl_writes_mode {
1: + SYSCTL_WRITES_LEGACY = -1,
1: + SYSCTL_WRITES_WARN = 0,
1: + SYSCTL_WRITES_STRICT = 1,
1: +};
1: +
1: +struct do_proc_dointvec_minmax_conv_param {
1: + int *min;
1: + int *max;
1: +};
1: +
1: +struct do_proc_douintvec_minmax_conv_param {
1: + unsigned int *min;
1: + unsigned int *max;
1: +};
1: +
1: +struct __sysctl_args {
1: + int *name;
1: + int nlen;
1: + void *oldval;
1: + size_t *oldlenp;
1: + void *newval;
1: + size_t newlen;
1: + long unsigned int __unused[4];
1: +};
1: +
1: +enum {
1: + CTL_KERN = 1,
1: + CTL_VM = 2,
1: + CTL_NET = 3,
1: + CTL_PROC = 4,
1: + CTL_FS = 5,
1: + CTL_DEBUG = 6,
1: + CTL_DEV = 7,
1: + CTL_BUS = 8,
1: + CTL_ABI = 9,
1: + CTL_CPU = 10,
1: + CTL_ARLAN = 254,
1: + CTL_S390DBF = 5677,
1: + CTL_SUNRPC = 7249,
1: + CTL_PM = 9899,
1: + CTL_FRV = 9898,
1: +};
1: +
1: +enum {
1: + KERN_OSTYPE = 1,
1: + KERN_OSRELEASE = 2,
1: + KERN_OSREV = 3,
1: + KERN_VERSION = 4,
1: + KERN_SECUREMASK = 5,
1: + KERN_PROF = 6,
1: + KERN_NODENAME = 7,
1: + KERN_DOMAINNAME = 8,
1: + KERN_PANIC = 15,
1: + KERN_REALROOTDEV = 16,
1: + KERN_SPARC_REBOOT = 21,
1: + KERN_CTLALTDEL = 22,
1: + KERN_PRINTK = 23,
1: + KERN_NAMETRANS = 24,
1: + KERN_PPC_HTABRECLAIM = 25,
1: + KERN_PPC_ZEROPAGED = 26,
1: + KERN_PPC_POWERSAVE_NAP = 27,
1: + KERN_MODPROBE = 28,
1: + KERN_SG_BIG_BUFF = 29,
1: + KERN_ACCT = 30,
1: + KERN_PPC_L2CR = 31,
1: + KERN_RTSIGNR = 32,
1: + KERN_RTSIGMAX = 33,
1: + KERN_SHMMAX = 34,
1: + KERN_MSGMAX = 35,
1: + KERN_MSGMNB = 36,
1: + KERN_MSGPOOL = 37,
1: + KERN_SYSRQ = 38,
1: + KERN_MAX_THREADS = 39,
1: + KERN_RANDOM = 40,
1: + KERN_SHMALL = 41,
1: + KERN_MSGMNI = 42,
1: + KERN_SEM = 43,
1: + KERN_SPARC_STOP_A = 44,
1: + KERN_SHMMNI = 45,
1: + KERN_OVERFLOWUID = 46,
1: + KERN_OVERFLOWGID = 47,
1: + KERN_SHMPATH = 48,
1: + KERN_HOTPLUG = 49,
1: + KERN_IEEE_EMULATION_WARNINGS = 50,
1: + KERN_S390_USER_DEBUG_LOGGING = 51,
1: + KERN_CORE_USES_PID = 52,
1: + KERN_TAINTED = 53,
1: + KERN_CADPID = 54,
1: + KERN_PIDMAX = 55,
1: + KERN_CORE_PATTERN = 56,
1: + KERN_PANIC_ON_OOPS = 57,
1: + KERN_HPPA_PWRSW = 58,
1: + KERN_HPPA_UNALIGNED = 59,
1: + KERN_PRINTK_RATELIMIT = 60,
1: + KERN_PRINTK_RATELIMIT_BURST = 61,
1: + KERN_PTY = 62,
1: + KERN_NGROUPS_MAX = 63,
1: + KERN_SPARC_SCONS_PWROFF = 64,
1: + KERN_HZ_TIMER = 65,
1: + KERN_UNKNOWN_NMI_PANIC = 66,
1: + KERN_BOOTLOADER_TYPE = 67,
1: + KERN_RANDOMIZE = 68,
1: + KERN_SETUID_DUMPABLE = 69,
1: + KERN_SPIN_RETRY = 70,
1: + KERN_ACPI_VIDEO_FLAGS = 71,
1: + KERN_IA64_UNALIGNED = 72,
1: + KERN_COMPAT_LOG = 73,
1: + KERN_MAX_LOCK_DEPTH = 74,
1: + KERN_NMI_WATCHDOG = 75,
1: + KERN_PANIC_ON_NMI = 76,
1: + KERN_PANIC_ON_WARN = 77,
1: + KERN_PANIC_PRINT = 78,
1: +};
1: +
1: +enum ethtool_link_mode_bit_indices {
1: + ETHTOOL_LINK_MODE_10baseT_Half_BIT = 0,
1: + ETHTOOL_LINK_MODE_10baseT_Full_BIT = 1,
1: + ETHTOOL_LINK_MODE_100baseT_Half_BIT = 2,
1: + ETHTOOL_LINK_MODE_100baseT_Full_BIT = 3,
1: + ETHTOOL_LINK_MODE_1000baseT_Half_BIT = 4,
1: + ETHTOOL_LINK_MODE_1000baseT_Full_BIT = 5,
1: + ETHTOOL_LINK_MODE_Autoneg_BIT = 6,
1: + ETHTOOL_LINK_MODE_TP_BIT = 7,
1: + ETHTOOL_LINK_MODE_AUI_BIT = 8,
1: + ETHTOOL_LINK_MODE_MII_BIT = 9,
1: + ETHTOOL_LINK_MODE_FIBRE_BIT = 10,
1: + ETHTOOL_LINK_MODE_BNC_BIT = 11,
1: + ETHTOOL_LINK_MODE_10000baseT_Full_BIT = 12,
1: + ETHTOOL_LINK_MODE_Pause_BIT = 13,
1: + ETHTOOL_LINK_MODE_Asym_Pause_BIT = 14,
1: + ETHTOOL_LINK_MODE_2500baseX_Full_BIT = 15,
1: + ETHTOOL_LINK_MODE_Backplane_BIT = 16,
1: + ETHTOOL_LINK_MODE_1000baseKX_Full_BIT = 17,
1: + ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT = 18,
1: + ETHTOOL_LINK_MODE_10000baseKR_Full_BIT = 19,
1: + ETHTOOL_LINK_MODE_10000baseR_FEC_BIT = 20,
1: + ETHTOOL_LINK_MODE_20000baseMLD2_Full_BIT = 21,
1: + ETHTOOL_LINK_MODE_20000baseKR2_Full_BIT = 22,
1: + ETHTOOL_LINK_MODE_40000baseKR4_Full_BIT = 23,
1: + ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT = 24,
1: + ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT = 25,
1: + ETHTOOL_LINK_MODE_40000baseLR4_Full_BIT = 26,
1: + ETHTOOL_LINK_MODE_56000baseKR4_Full_BIT = 27,
1: + ETHTOOL_LINK_MODE_56000baseCR4_Full_BIT = 28,
1: + ETHTOOL_LINK_MODE_56000baseSR4_Full_BIT = 29,
1: + ETHTOOL_LINK_MODE_56000baseLR4_Full_BIT = 30,
1: + ETHTOOL_LINK_MODE_25000baseCR_Full_BIT = 31,
1: + ETHTOOL_LINK_MODE_25000baseKR_Full_BIT = 32,
1: + ETHTOOL_LINK_MODE_25000baseSR_Full_BIT = 33,
1: + ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT = 34,
1: + ETHTOOL_LINK_MODE_50000baseKR2_Full_BIT = 35,
1: + ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT = 36,
1: + ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT = 37,
1: + ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT = 38,
1: + ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT = 39,
1: + ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT = 40,
1: + ETHTOOL_LINK_MODE_1000baseX_Full_BIT = 41,
1: + ETHTOOL_LINK_MODE_10000baseCR_Full_BIT = 42,
1: + ETHTOOL_LINK_MODE_10000baseSR_Full_BIT = 43,
1: + ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44,
1: + ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45,
1: + ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46,
1: + ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 47,
1: + ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 48,
1: + ETHTOOL_LINK_MODE_FEC_NONE_BIT = 49,
1: + ETHTOOL_LINK_MODE_FEC_RS_BIT = 50,
1: + ETHTOOL_LINK_MODE_FEC_BASER_BIT = 51,
1: + ETHTOOL_LINK_MODE_50000baseKR_Full_BIT = 52,
1: + ETHTOOL_LINK_MODE_50000baseSR_Full_BIT = 53,
1: + ETHTOOL_LINK_MODE_50000baseCR_Full_BIT = 54,
1: + ETHTOOL_LINK_MODE_50000baseLR_ER_FR_Full_BIT = 55,
1: + ETHTOOL_LINK_MODE_50000baseDR_Full_BIT = 56,
1: + ETHTOOL_LINK_MODE_100000baseKR2_Full_BIT = 57,
1: + ETHTOOL_LINK_MODE_100000baseSR2_Full_BIT = 58,
1: + ETHTOOL_LINK_MODE_100000baseCR2_Full_BIT = 59,
1: + ETHTOOL_LINK_MODE_100000baseLR2_ER2_FR2_Full_BIT = 60,
1: + ETHTOOL_LINK_MODE_100000baseDR2_Full_BIT = 61,
1: + ETHTOOL_LINK_MODE_200000baseKR4_Full_BIT = 62,
1: + ETHTOOL_LINK_MODE_200000baseSR4_Full_BIT = 63,
1: + ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT = 64,
1: + ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT = 65,
1: + ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT = 66,
1: + ETHTOOL_LINK_MODE_100baseT1_Full_BIT = 67,
1: + ETHTOOL_LINK_MODE_1000baseT1_Full_BIT = 68,
1: + ETHTOOL_LINK_MODE_400000baseKR8_Full_BIT = 69,
1: + ETHTOOL_LINK_MODE_400000baseSR8_Full_BIT = 70,
1: + ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full_BIT = 71,
1: + ETHTOOL_LINK_MODE_400000baseDR8_Full_BIT = 72,
1: + ETHTOOL_LINK_MODE_400000baseCR8_Full_BIT = 73,
1: + __ETHTOOL_LINK_MODE_MASK_NBITS = 74,
1: +};
1: +
1: +enum {
1: + NAPI_STATE_SCHED = 0,
1: + NAPI_STATE_MISSED = 1,
1: + NAPI_STATE_DISABLE = 2,
1: + NAPI_STATE_NPSVC = 3,
1: + NAPI_STATE_HASHED = 4,
1: + NAPI_STATE_NO_BUSY_POLL = 5,
1: + NAPI_STATE_IN_BUSY_POLL = 6,
1: +};
1: +
1: +struct compat_sysctl_args {
1: + compat_uptr_t name;
1: + int nlen;
1: + compat_uptr_t oldval;
1: + compat_uptr_t oldlenp;
1: + compat_uptr_t newval;
1: + compat_size_t newlen;
1: + compat_ulong_t __unused[4];
1: +};
1: +
1: +struct __user_cap_header_struct {
1: + __u32 version;
1: + int pid;
1: +};
1: +
1: +typedef struct __user_cap_header_struct *cap_user_header_t;
1: +
1: +struct __user_cap_data_struct {
1: + __u32 effective;
1: + __u32 permitted;
1: + __u32 inheritable;
1: +};
1: +
1: +typedef struct __user_cap_data_struct *cap_user_data_t;
1: +
1: +struct sigqueue {
1: + struct list_head list;
1: + int flags;
1: + kernel_siginfo_t info;
1: + struct user_struct *user;
1: +};
1: +
1: +struct wait_bit_key {
1: + void *flags;
1: + int bit_nr;
1: + long unsigned int timeout;
1: +};
1: +
1: +typedef int wait_bit_action_f(struct wait_bit_key *, int);
1: +
1: +struct ptrace_peeksiginfo_args {
1: + __u64 off;
1: + __u32 flags;
1: + __s32 nr;
1: +};
1: +
1: +struct ptrace_syscall_info {
1: + __u8 op;
1: + __u32 arch;
1: + __u64 instruction_pointer;
1: + __u64 stack_pointer;
1: + union {
1: + struct {
1: + __u64 nr;
1: + __u64 args[6];
1: + } entry;
1: + struct {
1: + __s64 rval;
1: + __u8 is_error;
1: + } exit;
1: + struct {
1: + __u64 nr;
1: + __u64 args[6];
1: + __u32 ret_data;
1: + } seccomp;
1: + };
1: +};
1: +
1: +struct compat_iovec {
1: + compat_uptr_t iov_base;
1: + compat_size_t iov_len;
1: +};
1: +
1: +typedef long unsigned int old_sigset_t;
1: +
1: +enum siginfo_layout {
1: + SIL_KILL = 0,
1: + SIL_TIMER = 1,
1: + SIL_POLL = 2,
1: + SIL_FAULT = 3,
1: + SIL_FAULT_MCEERR = 4,
1: + SIL_FAULT_BNDERR = 5,
1: + SIL_FAULT_PKUERR = 6,
1: + SIL_CHLD = 7,
1: + SIL_RT = 8,
1: + SIL_SYS = 9,
1: +};
1: +
1: +typedef u32 compat_old_sigset_t;
1: +
1: +struct compat_sigaction {
1: + compat_uptr_t sa_handler;
1: + compat_ulong_t sa_flags;
1: + compat_uptr_t sa_restorer;
1: + compat_sigset_t sa_mask;
1: +};
1: +
1: +struct compat_old_sigaction {
1: + compat_uptr_t sa_handler;
1: + compat_old_sigset_t sa_mask;
1: + compat_ulong_t sa_flags;
1: + compat_uptr_t sa_restorer;
1: +};
1: +
1: +enum {
1: + TRACE_SIGNAL_DELIVERED = 0,
1: + TRACE_SIGNAL_IGNORED = 1,
1: + TRACE_SIGNAL_ALREADY_PENDING = 2,
1: + TRACE_SIGNAL_OVERFLOW_FAIL = 3,
1: + TRACE_SIGNAL_LOSE_INFO = 4,
1: +};
1: +
1: +struct trace_event_raw_signal_generate {
1: + struct trace_entry ent;
1: + int sig;
1: + int errno;
1: + int code;
1: + char comm[16];
1: + pid_t pid;
1: + int group;
1: + int result;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_signal_deliver {
1: + struct trace_entry ent;
1: + int sig;
1: + int errno;
1: + int code;
1: + long unsigned int sa_handler;
1: + long unsigned int sa_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_signal_generate {};
1: +
1: +struct trace_event_data_offsets_signal_deliver {};
1: +
1: +struct sysinfo {
1: + __kernel_long_t uptime;
1: + __kernel_ulong_t loads[3];
1: + __kernel_ulong_t totalram;
1: + __kernel_ulong_t freeram;
1: + __kernel_ulong_t sharedram;
1: + __kernel_ulong_t bufferram;
1: + __kernel_ulong_t totalswap;
1: + __kernel_ulong_t freeswap;
1: + __u16 procs;
1: + __u16 pad;
1: + __kernel_ulong_t totalhigh;
1: + __kernel_ulong_t freehigh;
1: + __u32 mem_unit;
1: + char _f[0];
1: +};
1: +
1: +enum {
1: + PER_LINUX = 0,
1: + PER_LINUX_32BIT = 8388608,
1: + PER_LINUX_FDPIC = 524288,
1: + PER_SVR4 = 68157441,
1: + PER_SVR3 = 83886082,
1: + PER_SCOSVR3 = 117440515,
1: + PER_OSR5 = 100663299,
1: + PER_WYSEV386 = 83886084,
1: + PER_ISCR4 = 67108869,
1: + PER_BSD = 6,
1: + PER_SUNOS = 67108870,
1: + PER_XENIX = 83886087,
1: + PER_LINUX32 = 8,
1: + PER_LINUX32_3GB = 134217736,
1: + PER_IRIX32 = 67108873,
1: + PER_IRIXN32 = 67108874,
1: + PER_IRIX64 = 67108875,
1: + PER_RISCOS = 12,
1: + PER_SOLARIS = 67108877,
1: + PER_UW7 = 68157454,
1: + PER_OSF4 = 15,
1: + PER_HPUX = 16,
1: + PER_MASK = 255,
1: +};
1: +
1: +struct rlimit64 {
1: + __u64 rlim_cur;
1: + __u64 rlim_max;
1: +};
1: +
1: +struct oldold_utsname {
1: + char sysname[9];
1: + char nodename[9];
1: + char release[9];
1: + char version[9];
1: + char machine[9];
1: +};
1: +
1: +struct old_utsname {
1: + char sysname[65];
1: + char nodename[65];
1: + char release[65];
1: + char version[65];
1: + char machine[65];
1: +};
1: +
1: +enum uts_proc {
1: + UTS_PROC_OSTYPE = 0,
1: + UTS_PROC_OSRELEASE = 1,
1: + UTS_PROC_VERSION = 2,
1: + UTS_PROC_HOSTNAME = 3,
1: + UTS_PROC_DOMAINNAME = 4,
1: +};
1: +
1: +struct prctl_mm_map {
1: + __u64 start_code;
1: + __u64 end_code;
1: + __u64 start_data;
1: + __u64 end_data;
1: + __u64 start_brk;
1: + __u64 brk;
1: + __u64 start_stack;
1: + __u64 arg_start;
1: + __u64 arg_end;
1: + __u64 env_start;
1: + __u64 env_end;
1: + __u64 *auxv;
1: + __u32 auxv_size;
1: + __u32 exe_fd;
1: +};
1: +
1: +struct tms {
1: + __kernel_clock_t tms_utime;
1: + __kernel_clock_t tms_stime;
1: + __kernel_clock_t tms_cutime;
1: + __kernel_clock_t tms_cstime;
1: +};
1: +
1: +struct getcpu_cache {
1: + long unsigned int blob[16];
1: +};
1: +
1: +struct compat_tms {
1: + compat_clock_t tms_utime;
1: + compat_clock_t tms_stime;
1: + compat_clock_t tms_cutime;
1: + compat_clock_t tms_cstime;
1: +};
1: +
1: +struct compat_rlimit {
1: + compat_ulong_t rlim_cur;
1: + compat_ulong_t rlim_max;
1: +};
1: +
1: +struct compat_sysinfo {
1: + s32 uptime;
1: + u32 loads[3];
1: + u32 totalram;
1: + u32 freeram;
1: + u32 sharedram;
1: + u32 bufferram;
1: + u32 totalswap;
1: + u32 freeswap;
1: + u16 procs;
1: + u16 pad;
1: + u32 totalhigh;
1: + u32 freehigh;
1: + u32 mem_unit;
1: + char _f[8];
1: +};
1: +
1: +struct subprocess_info {
1: + struct work_struct work;
1: + struct completion *complete;
1: + const char *path;
1: + char **argv;
1: + char **envp;
1: + struct file *file;
1: + int wait;
1: + int retval;
1: + pid_t pid;
1: + int (*init)(struct subprocess_info *, struct cred *);
1: + void (*cleanup)(struct subprocess_info *);
1: + void *data;
1: +};
1: +
1: +struct umh_info {
1: + const char *cmdline;
1: + struct file *pipe_to_umh;
1: + struct file *pipe_from_umh;
1: + struct list_head list;
1: + void (*cleanup)(struct umh_info *);
1: + pid_t pid;
1: +};
1: +
1: +struct wq_flusher;
1: +
1: +struct worker;
1: +
1: +struct workqueue_attrs;
1: +
1: +struct pool_workqueue;
1: +
1: +struct wq_device;
1: +
1: +struct workqueue_struct {
1: + struct list_head pwqs;
1: + struct list_head list;
1: + struct mutex mutex;
1: + int work_color;
1: + int flush_color;
1: + atomic_t nr_pwqs_to_flush;
1: + struct wq_flusher *first_flusher;
1: + struct list_head flusher_queue;
1: + struct list_head flusher_overflow;
1: + struct list_head maydays;
1: + struct worker *rescuer;
1: + int nr_drainers;
1: + int saved_max_active;
1: + struct workqueue_attrs *unbound_attrs;
1: + struct pool_workqueue *dfl_pwq;
1: + struct wq_device *wq_dev;
1: + char name[24];
1: + struct callback_head rcu;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + unsigned int flags;
1: + struct pool_workqueue *cpu_pwqs;
1: + struct pool_workqueue *numa_pwq_tbl[0];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct workqueue_attrs {
1: + int nice;
1: + cpumask_var_t cpumask;
1: + bool no_numa;
1: +};
1: +
1: +struct execute_work {
1: + struct work_struct work;
1: +};
1: +
1: +enum {
1: + WQ_UNBOUND = 2,
1: + WQ_FREEZABLE = 4,
1: + WQ_MEM_RECLAIM = 8,
1: + WQ_HIGHPRI = 16,
1: + WQ_CPU_INTENSIVE = 32,
1: + WQ_SYSFS = 64,
1: + WQ_POWER_EFFICIENT = 128,
1: + __WQ_DRAINING = 65536,
1: + __WQ_ORDERED = 131072,
1: + __WQ_LEGACY = 262144,
1: + __WQ_ORDERED_EXPLICIT = 524288,
1: + WQ_MAX_ACTIVE = 512,
1: + WQ_MAX_UNBOUND_PER_CPU = 4,
1: + WQ_DFL_ACTIVE = 256,
1: +};
1: +
1: +typedef unsigned int xa_mark_t;
1: +
1: +enum xa_lock_type {
1: + XA_LOCK_IRQ = 1,
1: + XA_LOCK_BH = 2,
1: +};
1: +
1: +struct ida {
1: + struct xarray xa;
1: +};
1: +
1: +struct __una_u32 {
1: + u32 x;
1: +};
1: +
1: +struct worker_pool;
1: +
1: +struct worker {
1: + union {
1: + struct list_head entry;
1: + struct hlist_node hentry;
1: + };
1: + struct work_struct *current_work;
1: + work_func_t current_func;
1: + struct pool_workqueue *current_pwq;
1: + struct list_head scheduled;
1: + struct task_struct *task;
1: + struct worker_pool *pool;
1: + struct list_head node;
1: + long unsigned int last_active;
1: + unsigned int flags;
1: + int id;
1: + int sleeping;
1: + char desc[24];
1: + struct workqueue_struct *rescue_wq;
1: + work_func_t last_func;
1: +};
1: +
1: +struct pool_workqueue {
1: + struct worker_pool *pool;
1: + struct workqueue_struct *wq;
1: + int work_color;
1: + int flush_color;
1: + int refcnt;
1: + int nr_in_flight[15];
1: + int nr_active;
1: + int max_active;
1: + struct list_head delayed_works;
1: + struct list_head pwqs_node;
1: + struct list_head mayday_node;
1: + struct work_struct unbound_release_work;
1: + struct callback_head rcu;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct worker_pool {
1: + spinlock_t lock;
1: + int cpu;
1: + int node;
1: + int id;
1: + unsigned int flags;
1: + long unsigned int watchdog_ts;
1: + struct list_head worklist;
1: + int nr_workers;
1: + int nr_idle;
1: + struct list_head idle_list;
1: + struct timer_list idle_timer;
1: + struct timer_list mayday_timer;
1: + struct hlist_head busy_hash[64];
1: + struct worker *manager;
1: + struct list_head workers;
1: + struct completion *detach_completion;
1: + struct ida worker_ida;
1: + struct workqueue_attrs *attrs;
1: + struct hlist_node hash_node;
1: + int refcnt;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + atomic_t nr_running;
1: + struct callback_head rcu;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +enum {
1: + POOL_MANAGER_ACTIVE = 1,
1: + POOL_DISASSOCIATED = 4,
1: + WORKER_DIE = 2,
1: + WORKER_IDLE = 4,
1: + WORKER_PREP = 8,
1: + WORKER_CPU_INTENSIVE = 64,
1: + WORKER_UNBOUND = 128,
1: + WORKER_REBOUND = 256,
1: + WORKER_NOT_RUNNING = 456,
1: + NR_STD_WORKER_POOLS = 2,
1: + UNBOUND_POOL_HASH_ORDER = 6,
1: + BUSY_WORKER_HASH_ORDER = 6,
1: + MAX_IDLE_WORKERS_RATIO = 4,
1: + IDLE_WORKER_TIMEOUT = 300000,
1: + MAYDAY_INITIAL_TIMEOUT = 10,
1: + MAYDAY_INTERVAL = 100,
1: + CREATE_COOLDOWN = 1000,
1: + RESCUER_NICE_LEVEL = -20,
1: + HIGHPRI_NICE_LEVEL = -20,
1: + WQ_NAME_LEN = 24,
1: +};
1: +
1: +struct wq_flusher {
1: + struct list_head list;
1: + int flush_color;
1: + struct completion done;
1: +};
1: +
1: +struct wq_device {
1: + struct workqueue_struct *wq;
1: + struct device dev;
1: +};
1: +
1: +struct trace_event_raw_workqueue_work {
1: + struct trace_entry ent;
1: + void *work;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_workqueue_queue_work {
1: + struct trace_entry ent;
1: + void *work;
1: + void *function;
1: + void *workqueue;
1: + unsigned int req_cpu;
1: + unsigned int cpu;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_workqueue_execute_start {
1: + struct trace_entry ent;
1: + void *work;
1: + void *function;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_workqueue_work {};
1: +
1: +struct trace_event_data_offsets_workqueue_queue_work {};
1: +
1: +struct trace_event_data_offsets_workqueue_execute_start {};
1: +
1: +struct wq_barrier {
1: + struct work_struct work;
1: + struct completion done;
1: + struct task_struct *task;
1: +};
1: +
1: +struct cwt_wait {
1: + wait_queue_entry_t wait;
1: + struct work_struct *work;
1: +};
1: +
1: +struct apply_wqattrs_ctx {
1: + struct workqueue_struct *wq;
1: + struct workqueue_attrs *attrs;
1: + struct list_head list;
1: + struct pool_workqueue *dfl_pwq;
1: + struct pool_workqueue *pwq_tbl[0];
1: +};
1: +
1: +struct work_for_cpu {
1: + struct work_struct work;
1: + long int (*fn)(void *);
1: + void *arg;
1: + long int ret;
1: +};
1: +
1: +typedef void (*task_work_func_t)(struct callback_head *);
1: +
1: +enum {
1: + KERNEL_PARAM_OPS_FL_NOARG = 1,
1: +};
1: +
1: +enum {
1: + KERNEL_PARAM_FL_UNSAFE = 1,
1: + KERNEL_PARAM_FL_HWPARAM = 2,
1: +};
1: +
1: +struct param_attribute {
1: + struct module_attribute mattr;
1: + const struct kernel_param *param;
1: +};
1: +
1: +struct module_param_attrs {
1: + unsigned int num;
1: + struct attribute_group grp;
1: + struct param_attribute attrs[0];
1: +};
1: +
1: +struct module_version_attribute {
1: + struct module_attribute mattr;
1: + const char *module_name;
1: + const char *version;
1: +};
1: +
1: +struct kmalloced_param {
1: + struct list_head list;
1: + char val[0];
1: +};
1: +
1: +struct sched_param {
1: + int sched_priority;
1: +};
1: +
1: +struct kthread_work;
1: +
1: +typedef void (*kthread_work_func_t)(struct kthread_work *);
1: +
1: +struct kthread_worker;
1: +
1: +struct kthread_work {
1: + struct list_head node;
1: + kthread_work_func_t func;
1: + struct kthread_worker *worker;
1: + int canceling;
1: +};
1: +
1: +enum {
1: + KTW_FREEZABLE = 1,
1: +};
1: +
1: +struct kthread_worker {
1: + unsigned int flags;
1: + raw_spinlock_t lock;
1: + struct list_head work_list;
1: + struct list_head delayed_work_list;
1: + struct task_struct *task;
1: + struct kthread_work *current_work;
1: +};
1: +
1: +struct kthread_delayed_work {
1: + struct kthread_work work;
1: + struct timer_list timer;
1: +};
1: +
1: +struct kthread_create_info {
1: + int (*threadfn)(void *);
1: + void *data;
1: + int node;
1: + struct task_struct *result;
1: + struct completion *done;
1: + struct list_head list;
1: +};
1: +
1: +struct kthread {
1: + long unsigned int flags;
1: + unsigned int cpu;
1: + void *data;
1: + struct completion parked;
1: + struct completion exited;
1: +};
1: +
1: +enum KTHREAD_BITS {
1: + KTHREAD_IS_PER_CPU = 0,
1: + KTHREAD_SHOULD_STOP = 1,
1: + KTHREAD_SHOULD_PARK = 2,
1: +};
1: +
1: +struct kthread_flush_work {
1: + struct kthread_work work;
1: + struct completion done;
1: +};
1: +
1: +struct pt_regs___2;
1: +
1: +struct ipc_ids {
1: + int in_use;
1: + short unsigned int seq;
1: + struct rw_semaphore rwsem;
1: + struct idr ipcs_idr;
1: + int max_idx;
1: + int last_idx;
1: + struct rhashtable key_ht;
1: +};
1: +
1: +struct ipc_namespace {
1: + refcount_t count;
1: + struct ipc_ids ids[3];
1: + int sem_ctls[4];
1: + int used_sems;
1: + unsigned int msg_ctlmax;
1: + unsigned int msg_ctlmnb;
1: + unsigned int msg_ctlmni;
1: + atomic_t msg_bytes;
1: + atomic_t msg_hdrs;
1: + size_t shm_ctlmax;
1: + size_t shm_ctlall;
1: + long unsigned int shm_tot;
1: + int shm_ctlmni;
1: + int shm_rmid_forced;
1: + struct notifier_block ipcns_nb;
1: + struct vfsmount *mq_mnt;
1: + unsigned int mq_queues_count;
1: + unsigned int mq_queues_max;
1: + unsigned int mq_msg_max;
1: + unsigned int mq_msgsize_max;
1: + unsigned int mq_msg_default;
1: + unsigned int mq_msgsize_default;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct ns_common ns;
1: +};
1: +
1: +struct srcu_notifier_head {
1: + struct mutex mutex;
1: + struct srcu_struct srcu;
1: + struct notifier_block *head;
1: +};
1: +
1: +enum what {
1: + PROC_EVENT_NONE = 0,
1: + PROC_EVENT_FORK = 1,
1: + PROC_EVENT_EXEC = 2,
1: + PROC_EVENT_UID = 4,
1: + PROC_EVENT_GID = 64,
1: + PROC_EVENT_SID = 128,
1: + PROC_EVENT_PTRACE = 256,
1: + PROC_EVENT_COMM = 512,
1: + PROC_EVENT_COREDUMP = 1073741824,
1: + PROC_EVENT_EXIT = -2147483648,
1: +};
1: +
1: +typedef u64 async_cookie_t;
1: +
1: +typedef void (*async_func_t)(void *, async_cookie_t);
1: +
1: +struct async_domain {
1: + struct list_head pending;
1: + unsigned int registered: 1;
1: +};
1: +
1: +struct async_entry {
1: + struct list_head domain_list;
1: + struct list_head global_list;
1: + struct work_struct work;
1: + async_cookie_t cookie;
1: + async_func_t func;
1: + void *data;
1: + struct async_domain *domain;
1: +};
1: +
1: +struct smpboot_thread_data {
1: + unsigned int cpu;
1: + unsigned int status;
1: + struct smp_hotplug_thread *ht;
1: +};
1: +
1: +enum {
1: + HP_THREAD_NONE = 0,
1: + HP_THREAD_ACTIVE = 1,
1: + HP_THREAD_PARKED = 2,
1: +};
1: +
1: +struct pin_cookie {};
1: +
1: +struct cfs_rq {
1: + struct load_weight load;
1: + long unsigned int runnable_weight;
1: + unsigned int nr_running;
1: + unsigned int h_nr_running;
1: + unsigned int idle_h_nr_running;
1: + u64 exec_clock;
1: + u64 min_vruntime;
1: + struct rb_root_cached tasks_timeline;
1: + struct sched_entity *curr;
1: + struct sched_entity *next;
1: + struct sched_entity *last;
1: + struct sched_entity *skip;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct sched_avg avg;
1: + struct {
1: + raw_spinlock_t lock;
1: + int nr;
1: + long unsigned int load_avg;
1: + long unsigned int util_avg;
1: + long unsigned int runnable_sum;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + } removed;
1: + long unsigned int tg_load_avg_contrib;
1: + long int propagate;
1: + long int prop_runnable_sum;
1: + long unsigned int h_load;
1: + u64 last_h_load_update;
1: + struct sched_entity *h_load_next;
1: + struct rq *rq;
1: + int on_list;
1: + struct list_head leaf_cfs_rq_list;
1: + struct task_group *tg;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct cfs_bandwidth {};
1: +
1: +struct task_group {
1: + struct cgroup_subsys_state css;
1: + struct sched_entity **se;
1: + struct cfs_rq **cfs_rq;
1: + long unsigned int shares;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + atomic_long_t load_avg;
1: + struct callback_head rcu;
1: + struct list_head list;
1: + struct task_group *parent;
1: + struct list_head siblings;
1: + struct list_head children;
1: + struct cfs_bandwidth cfs_bandwidth;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct update_util_data {
1: + void (*func)(struct update_util_data *, u64, unsigned int);
1: +};
1: +
1: +enum {
1: + MEMBARRIER_STATE_PRIVATE_EXPEDITED_READY = 1,
1: + MEMBARRIER_STATE_PRIVATE_EXPEDITED = 2,
1: + MEMBARRIER_STATE_GLOBAL_EXPEDITED_READY = 4,
1: + MEMBARRIER_STATE_GLOBAL_EXPEDITED = 8,
1: + MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE_READY = 16,
1: + MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE = 32,
1: +};
1: +
1: +struct sched_domain_attr {
1: + int relax_domain_level;
1: +};
1: +
1: +struct sched_group {
1: + struct sched_group *next;
1: + atomic_t ref;
1: + unsigned int group_weight;
1: + struct sched_group_capacity *sgc;
1: + int asym_prefer_cpu;
1: + long unsigned int cpumask[0];
1: +};
1: +
1: +struct sched_group_capacity {
1: + atomic_t ref;
1: + long unsigned int capacity;
1: + long unsigned int min_capacity;
1: + long unsigned int max_capacity;
1: + long unsigned int next_update;
1: + int imbalance;
1: + long unsigned int cpumask[0];
1: +};
1: +
1: +struct wake_q_head {
1: + struct wake_q_node *first;
1: + struct wake_q_node **lastp;
1: +};
1: +
1: +struct sched_attr {
1: + __u32 size;
1: + __u32 sched_policy;
1: + __u64 sched_flags;
1: + __s32 sched_nice;
1: + __u32 sched_priority;
1: + __u64 sched_runtime;
1: + __u64 sched_deadline;
1: + __u64 sched_period;
1: + __u32 sched_util_min;
1: + __u32 sched_util_max;
1: +};
1: +
1: +struct cpuidle_driver;
1: +
1: +struct cpuidle_state {
1: + char name[16];
1: + char desc[32];
1: + u64 exit_latency_ns;
1: + u64 target_residency_ns;
1: + unsigned int flags;
1: + unsigned int exit_latency;
1: + int power_usage;
1: + unsigned int target_residency;
1: + int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int);
1: + int (*enter_dead)(struct cpuidle_device *, int);
1: + void (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int);
1: +};
1: +
1: +struct cpuidle_driver {
1: + const char *name;
1: + struct module *owner;
1: + int refcnt;
1: + unsigned int bctimer: 1;
1: + struct cpuidle_state states[10];
1: + int state_count;
1: + int safe_state_index;
1: + struct cpumask *cpumask;
1: + const char *governor;
1: +};
1: +
1: +struct em_cap_state {
1: + long unsigned int frequency;
1: + long unsigned int power;
1: + long unsigned int cost;
1: +};
1: +
1: +struct em_perf_domain {
1: + struct em_cap_state *table;
1: + int nr_cap_states;
1: + long unsigned int cpus[0];
1: +};
1: +
1: +enum {
1: + CFTYPE_ONLY_ON_ROOT = 1,
1: + CFTYPE_NOT_ON_ROOT = 2,
1: + CFTYPE_NS_DELEGATABLE = 4,
1: + CFTYPE_NO_PREFIX = 8,
1: + CFTYPE_WORLD_WRITABLE = 16,
1: + CFTYPE_DEBUG = 32,
1: + __CFTYPE_ONLY_ON_DFL = 65536,
1: + __CFTYPE_NOT_ON_DFL = 131072,
1: +};
1: +
1: +struct cpu_stop_done;
1: +
1: +struct cpu_stop_work {
1: + struct list_head list;
1: + cpu_stop_fn_t fn;
1: + void *arg;
1: + struct cpu_stop_done *done;
1: +};
1: +
1: +struct cpupri_vec {
1: + atomic_t count;
1: + cpumask_var_t mask;
1: +};
1: +
1: +struct cpupri {
1: + struct cpupri_vec pri_to_cpu[102];
1: + int *cpu_to_pri;
1: +};
1: +
1: +struct cpudl_item {
1: + u64 dl;
1: + int cpu;
1: + int idx;
1: +};
1: +
1: +struct cpudl {
1: + raw_spinlock_t lock;
1: + int size;
1: + cpumask_var_t free_cpus;
1: + struct cpudl_item *elements;
1: +};
1: +
1: +struct rt_prio_array {
1: + long unsigned int bitmap[2];
1: + struct list_head queue[100];
1: +};
1: +
1: +struct rt_bandwidth {
1: + raw_spinlock_t rt_runtime_lock;
1: + ktime_t rt_period;
1: + u64 rt_runtime;
1: + struct hrtimer rt_period_timer;
1: + unsigned int rt_period_active;
1: +};
1: +
1: +struct dl_bandwidth {
1: + raw_spinlock_t dl_runtime_lock;
1: + u64 dl_runtime;
1: + u64 dl_period;
1: +};
1: +
1: +struct dl_bw {
1: + raw_spinlock_t lock;
1: + u64 bw;
1: + u64 total_bw;
1: +};
1: +
1: +typedef int (*tg_visitor)(struct task_group *, void *);
1: +
1: +struct rt_rq {
1: + struct rt_prio_array active;
1: + unsigned int rt_nr_running;
1: + unsigned int rr_nr_running;
1: + struct {
1: + int curr;
1: + int next;
1: + } highest_prio;
1: + long unsigned int rt_nr_migratory;
1: + long unsigned int rt_nr_total;
1: + int overloaded;
1: + struct plist_head pushable_tasks;
1: + int rt_queued;
1: + int rt_throttled;
1: + u64 rt_time;
1: + u64 rt_runtime;
1: + raw_spinlock_t rt_runtime_lock;
1: +};
1: +
1: +struct dl_rq {
1: + struct rb_root_cached root;
1: + long unsigned int dl_nr_running;
1: + struct {
1: + u64 curr;
1: + u64 next;
1: + } earliest_dl;
1: + long unsigned int dl_nr_migratory;
1: + int overloaded;
1: + struct rb_root_cached pushable_dl_tasks_root;
1: + u64 running_bw;
1: + u64 this_bw;
1: + u64 extra_bw;
1: + u64 bw_ratio;
1: +};
1: +
1: +struct root_domain;
1: +
1: +struct rq {
1: + raw_spinlock_t lock;
1: + unsigned int nr_running;
1: + long unsigned int last_load_update_tick;
1: + long unsigned int last_blocked_load_update_tick;
1: + unsigned int has_blocked_load;
1: + unsigned int nohz_tick_stopped;
1: + atomic_t nohz_flags;
1: + long unsigned int nr_load_updates;
1: + u64 nr_switches;
1: + long: 64;
1: + struct cfs_rq cfs;
1: + struct rt_rq rt;
1: + struct dl_rq dl;
1: + struct list_head leaf_cfs_rq_list;
1: + struct list_head *tmp_alone_branch;
1: + long unsigned int nr_uninterruptible;
1: + struct task_struct *curr;
1: + struct task_struct *idle;
1: + struct task_struct *stop;
1: + long unsigned int next_balance;
1: + struct mm_struct *prev_mm;
1: + unsigned int clock_update_flags;
1: + u64 clock;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + u64 clock_task;
1: + u64 clock_pelt;
1: + long unsigned int lost_idle_time;
1: + atomic_t nr_iowait;
1: + int membarrier_state;
1: + struct root_domain *rd;
1: + struct sched_domain *sd;
1: + long unsigned int cpu_capacity;
1: + long unsigned int cpu_capacity_orig;
1: + struct callback_head *balance_callback;
1: + unsigned char idle_balance;
1: + long unsigned int misfit_task_load;
1: + int active_balance;
1: + int push_cpu;
1: + struct cpu_stop_work active_balance_work;
1: + int cpu;
1: + int online;
1: + struct list_head cfs_tasks;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct sched_avg avg_rt;
1: + struct sched_avg avg_dl;
1: + u64 idle_stamp;
1: + u64 avg_idle;
1: + u64 max_idle_balance_cost;
1: + long unsigned int calc_load_update;
1: + long int calc_load_active;
1: + int hrtick_csd_pending;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + call_single_data_t hrtick_csd;
1: + struct hrtimer hrtick_timer;
1: + struct sched_info rq_sched_info;
1: + long long unsigned int rq_cpu_time;
1: + unsigned int yld_count;
1: + unsigned int sched_count;
1: + unsigned int sched_goidle;
1: + unsigned int ttwu_count;
1: + unsigned int ttwu_local;
1: + struct llist_head wake_list;
1: + struct cpuidle_state *idle_state;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct perf_domain {
1: + struct em_perf_domain *em_pd;
1: + struct perf_domain *next;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct root_domain {
1: + atomic_t refcount;
1: + atomic_t rto_count;
1: + struct callback_head rcu;
1: + cpumask_var_t span;
1: + cpumask_var_t online;
1: + int overload;
1: + int overutilized;
1: + cpumask_var_t dlo_mask;
1: + atomic_t dlo_count;
1: + struct dl_bw dl_bw;
1: + struct cpudl cpudl;
1: + struct irq_work rto_push_work;
1: + raw_spinlock_t rto_lock;
1: + int rto_loop;
1: + int rto_cpu;
1: + atomic_t rto_loop_next;
1: + atomic_t rto_loop_start;
1: + cpumask_var_t rto_mask;
1: + struct cpupri cpupri;
1: + long unsigned int max_cpu_capacity;
1: + struct perf_domain *pd;
1: +};
1: +
1: +struct rq_flags {
1: + long unsigned int flags;
1: + struct pin_cookie cookie;
1: +};
1: +
1: +enum {
1: + __SCHED_FEAT_GENTLE_FAIR_SLEEPERS = 0,
1: + __SCHED_FEAT_START_DEBIT = 1,
1: + __SCHED_FEAT_NEXT_BUDDY = 2,
1: + __SCHED_FEAT_LAST_BUDDY = 3,
1: + __SCHED_FEAT_CACHE_HOT_BUDDY = 4,
1: + __SCHED_FEAT_WAKEUP_PREEMPTION = 5,
1: + __SCHED_FEAT_HRTICK = 6,
1: + __SCHED_FEAT_DOUBLE_TICK = 7,
1: + __SCHED_FEAT_NONTASK_CAPACITY = 8,
1: + __SCHED_FEAT_TTWU_QUEUE = 9,
1: + __SCHED_FEAT_SIS_AVG_CPU = 10,
1: + __SCHED_FEAT_SIS_PROP = 11,
1: + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 12,
1: + __SCHED_FEAT_RT_PUSH_IPI = 13,
1: + __SCHED_FEAT_RT_RUNTIME_SHARE = 14,
1: + __SCHED_FEAT_LB_MIN = 15,
1: + __SCHED_FEAT_ATTACH_AGE_LOAD = 16,
1: + __SCHED_FEAT_WA_IDLE = 17,
1: + __SCHED_FEAT_WA_WEIGHT = 18,
1: + __SCHED_FEAT_WA_BIAS = 19,
1: + __SCHED_FEAT_UTIL_EST = 20,
1: + __SCHED_FEAT_UTIL_EST_FASTUP = 21,
1: + __SCHED_FEAT_NR = 22,
1: +};
1: +
1: +struct trace_event_raw_sched_kthread_stop {
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_kthread_stop_ret {
1: + struct trace_entry ent;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_wakeup_template {
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int prio;
1: + int success;
1: + int target_cpu;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_switch {
1: + struct trace_entry ent;
1: + char prev_comm[16];
1: + pid_t prev_pid;
1: + int prev_prio;
1: + long int prev_state;
1: + char next_comm[16];
1: + pid_t next_pid;
1: + int next_prio;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_migrate_task {
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int prio;
1: + int orig_cpu;
1: + int dest_cpu;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_process_template {
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int prio;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_process_wait {
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int prio;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_process_fork {
1: + struct trace_entry ent;
1: + char parent_comm[16];
1: + pid_t parent_pid;
1: + char child_comm[16];
1: + pid_t child_pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_process_exec {
1: + struct trace_entry ent;
1: + u32 __data_loc_filename;
1: + pid_t pid;
1: + pid_t old_pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_stat_template {
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + u64 delay;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_stat_runtime {
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + u64 runtime;
1: + u64 vruntime;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_pi_setprio {
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int oldprio;
1: + int newprio;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_move_task_template {
1: + struct trace_entry ent;
1: + pid_t pid;
1: + pid_t tgid;
1: + pid_t ngid;
1: + int src_cpu;
1: + int src_nid;
1: + int dst_cpu;
1: + int dst_nid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_swap_numa {
1: + struct trace_entry ent;
1: + pid_t src_pid;
1: + pid_t src_tgid;
1: + pid_t src_ngid;
1: + int src_cpu;
1: + int src_nid;
1: + pid_t dst_pid;
1: + pid_t dst_tgid;
1: + pid_t dst_ngid;
1: + int dst_cpu;
1: + int dst_nid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sched_wake_idle_without_ipi {
1: + struct trace_entry ent;
1: + int cpu;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_sched_kthread_stop {};
1: +
1: +struct trace_event_data_offsets_sched_kthread_stop_ret {};
1: +
1: +struct trace_event_data_offsets_sched_wakeup_template {};
1: +
1: +struct trace_event_data_offsets_sched_switch {};
1: +
1: +struct trace_event_data_offsets_sched_migrate_task {};
1: +
1: +struct trace_event_data_offsets_sched_process_template {};
1: +
1: +struct trace_event_data_offsets_sched_process_wait {};
1: +
1: +struct trace_event_data_offsets_sched_process_fork {};
1: +
1: +struct trace_event_data_offsets_sched_process_exec {
1: + u32 filename;
1: +};
1: +
1: +struct trace_event_data_offsets_sched_stat_template {};
1: +
1: +struct trace_event_data_offsets_sched_stat_runtime {};
1: +
1: +struct trace_event_data_offsets_sched_pi_setprio {};
1: +
1: +struct trace_event_data_offsets_sched_move_task_template {};
1: +
1: +struct trace_event_data_offsets_sched_swap_numa {};
1: +
1: +struct trace_event_data_offsets_sched_wake_idle_without_ipi {};
1: +
1: +struct migration_arg {
1: + struct task_struct *task;
1: + int dest_cpu;
1: +};
1: +
1: +enum {
1: + cpuset = 0,
1: + possible = 1,
1: + fail = 2,
1: +};
1: +
1: +enum tick_dep_bits {
1: + TICK_DEP_BIT_POSIX_TIMER = 0,
1: + TICK_DEP_BIT_PERF_EVENTS = 1,
1: + TICK_DEP_BIT_SCHED = 2,
1: + TICK_DEP_BIT_CLOCK_UNSTABLE = 3,
1: + TICK_DEP_BIT_RCU = 4,
1: +};
1: +
1: +struct sched_clock_data {
1: + u64 tick_raw;
1: + u64 tick_gtod;
1: + u64 clock;
1: +};
1: +
1: +struct idle_timer {
1: + struct hrtimer timer;
1: + int done;
1: +};
1: +
1: +enum sched_tunable_scaling {
1: + SCHED_TUNABLESCALING_NONE = 0,
1: + SCHED_TUNABLESCALING_LOG = 1,
1: + SCHED_TUNABLESCALING_LINEAR = 2,
1: + SCHED_TUNABLESCALING_END = 3,
1: +};
1: +
1: +enum schedutil_type {
1: + FREQUENCY_UTIL = 0,
1: + ENERGY_UTIL = 1,
1: +};
1: +
1: +enum fbq_type {
1: + regular = 0,
1: + remote = 1,
1: + all = 2,
1: +};
1: +
1: +enum group_type {
1: + group_has_spare = 0,
1: + group_fully_busy = 1,
1: + group_misfit_task = 2,
1: + group_asym_packing = 3,
1: + group_imbalanced = 4,
1: + group_overloaded = 5,
1: +};
1: +
1: +enum migration_type {
1: + migrate_load = 0,
1: + migrate_util = 1,
1: + migrate_task = 2,
1: + migrate_misfit = 3,
1: +};
1: +
1: +struct lb_env {
1: + struct sched_domain *sd;
1: + struct rq *src_rq;
1: + int src_cpu;
1: + int dst_cpu;
1: + struct rq *dst_rq;
1: + struct cpumask *dst_grpmask;
1: + int new_dst_cpu;
1: + enum cpu_idle_type idle;
1: + long int imbalance;
1: + struct cpumask *cpus;
1: + unsigned int flags;
1: + unsigned int loop;
1: + unsigned int loop_break;
1: + unsigned int loop_max;
1: + enum fbq_type fbq_type;
1: + enum migration_type migration_type;
1: + struct list_head tasks;
1: +};
1: +
1: +struct sg_lb_stats {
1: + long unsigned int avg_load;
1: + long unsigned int group_load;
1: + long unsigned int group_capacity;
1: + long unsigned int group_util;
1: + unsigned int sum_nr_running;
1: + unsigned int sum_h_nr_running;
1: + unsigned int idle_cpus;
1: + unsigned int group_weight;
1: + enum group_type group_type;
1: + unsigned int group_asym_packing;
1: + long unsigned int group_misfit_task_load;
1: +};
1: +
1: +struct sd_lb_stats {
1: + struct sched_group *busiest;
1: + struct sched_group *local;
1: + long unsigned int total_load;
1: + long unsigned int total_capacity;
1: + long unsigned int avg_load;
1: + unsigned int prefer_sibling;
1: + struct sg_lb_stats busiest_stat;
1: + struct sg_lb_stats local_stat;
1: +};
1: +
1: +typedef struct rt_rq *rt_rq_iter_t;
1: +
1: +struct wait_bit_queue_entry {
1: + struct wait_bit_key key;
1: + struct wait_queue_entry wq_entry;
1: +};
1: +
1: +struct swait_queue_head {
1: + raw_spinlock_t lock;
1: + struct list_head task_list;
1: +};
1: +
1: +struct swait_queue {
1: + struct task_struct *task;
1: + struct list_head task_list;
1: +};
1: +
1: +enum numa_topology_type {
1: + NUMA_DIRECT = 0,
1: + NUMA_GLUELESS_MESH = 1,
1: + NUMA_BACKPLANE = 2,
1: +};
1: +
1: +struct s_data {
1: + struct sched_domain **sd;
1: + struct root_domain *rd;
1: +};
1: +
1: +enum s_alloc {
1: + sa_rootdomain = 0,
1: + sa_sd = 1,
1: + sa_sd_storage = 2,
1: + sa_none = 3,
1: +};
1: +
1: +enum cpuacct_stat_index {
1: + CPUACCT_STAT_USER = 0,
1: + CPUACCT_STAT_SYSTEM = 1,
1: + CPUACCT_STAT_NSTATS = 2,
1: +};
1: +
1: +struct cpuacct_usage {
1: + u64 usages[2];
1: +};
1: +
1: +struct cpuacct {
1: + struct cgroup_subsys_state css;
1: + struct cpuacct_usage *cpuusage;
1: + struct kernel_cpustat *cpustat;
1: +};
1: +
1: +enum {
1: + MEMBARRIER_FLAG_SYNC_CORE = 1,
1: +};
1: +
1: +enum membarrier_cmd {
1: + MEMBARRIER_CMD_QUERY = 0,
1: + MEMBARRIER_CMD_GLOBAL = 1,
1: + MEMBARRIER_CMD_GLOBAL_EXPEDITED = 2,
1: + MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED = 4,
1: + MEMBARRIER_CMD_PRIVATE_EXPEDITED = 8,
1: + MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = 16,
1: + MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = 32,
1: + MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = 64,
1: + MEMBARRIER_CMD_SHARED = 1,
1: +};
1: +
1: +struct ww_acquire_ctx;
1: +
1: +struct mutex_waiter {
1: + struct list_head list;
1: + struct task_struct *task;
1: + struct ww_acquire_ctx *ww_ctx;
1: +};
1: +
1: +struct ww_acquire_ctx {
1: + struct task_struct *task;
1: + long unsigned int stamp;
1: + unsigned int acquired;
1: + short unsigned int wounded;
1: + short unsigned int is_wait_die;
1: +};
1: +
1: +enum mutex_trylock_recursive_enum {
1: + MUTEX_TRYLOCK_FAILED = 0,
1: + MUTEX_TRYLOCK_SUCCESS = 1,
1: + MUTEX_TRYLOCK_RECURSIVE = 2,
1: +};
1: +
1: +struct ww_mutex {
1: + struct mutex base;
1: + struct ww_acquire_ctx *ctx;
1: +};
1: +
1: +struct semaphore {
1: + raw_spinlock_t lock;
1: + unsigned int count;
1: + struct list_head wait_list;
1: +};
1: +
1: +struct semaphore_waiter {
1: + struct list_head list;
1: + struct task_struct *task;
1: + bool up;
1: +};
1: +
1: +enum rwsem_waiter_type {
1: + RWSEM_WAITING_FOR_WRITE = 0,
1: + RWSEM_WAITING_FOR_READ = 1,
1: +};
1: +
1: +struct rwsem_waiter {
1: + struct list_head list;
1: + struct task_struct *task;
1: + enum rwsem_waiter_type type;
1: + long unsigned int timeout;
1: + long unsigned int last_rowner;
1: +};
1: +
1: +enum rwsem_wake_type {
1: + RWSEM_WAKE_ANY = 0,
1: + RWSEM_WAKE_READERS = 1,
1: + RWSEM_WAKE_READ_OWNED = 2,
1: +};
1: +
1: +enum writer_wait_state {
1: + WRITER_NOT_FIRST = 0,
1: + WRITER_FIRST = 1,
1: + WRITER_HANDOFF = 2,
1: +};
1: +
1: +enum owner_state {
1: + OWNER_NULL = 1,
1: + OWNER_WRITER = 2,
1: + OWNER_READER = 4,
1: + OWNER_NONSPINNABLE = 8,
1: +};
1: +
1: +struct optimistic_spin_node {
1: + struct optimistic_spin_node *next;
1: + struct optimistic_spin_node *prev;
1: + int locked;
1: + int cpu;
1: +};
1: +
1: +struct mcs_spinlock {
1: + struct mcs_spinlock *next;
1: + int locked;
1: + int count;
1: +};
1: +
1: +struct qnode {
1: + struct mcs_spinlock mcs;
1: +};
1: +
1: +struct hrtimer_sleeper {
1: + struct hrtimer timer;
1: + struct task_struct *task;
1: +};
1: +
1: +struct rt_mutex;
1: +
1: +struct rt_mutex_waiter {
1: + struct rb_node tree_entry;
1: + struct rb_node pi_tree_entry;
1: + struct task_struct *task;
1: + struct rt_mutex *lock;
1: + int prio;
1: + u64 deadline;
1: +};
1: +
1: +struct rt_mutex {
1: + raw_spinlock_t wait_lock;
1: + struct rb_root_cached waiters;
1: + struct task_struct *owner;
1: +};
1: +
1: +enum rtmutex_chainwalk {
1: + RT_MUTEX_MIN_CHAINWALK = 0,
1: + RT_MUTEX_FULL_CHAINWALK = 1,
1: +};
1: +
1: +enum pm_qos_req_action {
1: + PM_QOS_ADD_REQ = 0,
1: + PM_QOS_UPDATE_REQ = 1,
1: + PM_QOS_REMOVE_REQ = 2,
1: +};
1: +
1: +struct miscdevice {
1: + int minor;
1: + const char *name;
1: + const struct file_operations *fops;
1: + struct list_head list;
1: + struct device *parent;
1: + struct device *this_device;
1: + const struct attribute_group **groups;
1: + const char *nodename;
1: + umode_t mode;
1: +};
1: +
1: +struct pm_qos_object {
1: + struct pm_qos_constraints *constraints;
1: + struct miscdevice pm_qos_power_miscdev;
1: + char *name;
1: +};
1: +
1: +typedef int suspend_state_t;
1: +
1: +enum {
1: + TEST_NONE = 0,
1: + TEST_CORE = 1,
1: + TEST_CPUS = 2,
1: + TEST_PLATFORM = 3,
1: + TEST_DEVICES = 4,
1: + TEST_FREEZER = 5,
1: + __TEST_AFTER_LAST = 6,
1: +};
1: +
1: +struct pm_vt_switch {
1: + struct list_head head;
1: + struct device *dev;
1: + bool required;
1: +};
1: +
1: +struct platform_suspend_ops {
1: + int (*valid)(suspend_state_t);
1: + int (*begin)(suspend_state_t);
1: + int (*prepare)();
1: + int (*prepare_late)();
1: + int (*enter)(suspend_state_t);
1: + void (*wake)();
1: + void (*finish)();
1: + bool (*suspend_again)();
1: + void (*end)();
1: + void (*recover)();
1: +};
1: +
1: +struct platform_s2idle_ops {
1: + int (*begin)();
1: + int (*prepare)();
1: + int (*prepare_late)();
1: + void (*wake)();
1: + void (*restore_early)();
1: + void (*restore)();
1: + void (*end)();
1: +};
1: +
1: +struct platform_hibernation_ops {
1: + int (*begin)(pm_message_t);
1: + void (*end)();
1: + int (*pre_snapshot)();
1: + void (*finish)();
1: + int (*prepare)();
1: + int (*enter)();
1: + void (*leave)();
1: + int (*pre_restore)();
1: + void (*restore_cleanup)();
1: + void (*recover)();
1: +};
1: +
1: +enum {
1: + HIBERNATION_INVALID = 0,
1: + HIBERNATION_PLATFORM = 1,
1: + HIBERNATION_SHUTDOWN = 2,
1: + HIBERNATION_REBOOT = 3,
1: + HIBERNATION_SUSPEND = 4,
1: + HIBERNATION_TEST_RESUME = 5,
1: + __HIBERNATION_AFTER_LAST = 6,
1: +};
1: +
1: +struct pbe {
1: + void *address;
1: + void *orig_address;
1: + struct pbe *next;
1: +};
1: +
1: +struct swsusp_info {
1: + struct new_utsname uts;
1: + u32 version_code;
1: + long unsigned int num_physpages;
1: + int cpus;
1: + long unsigned int image_pages;
1: + long unsigned int pages;
1: + long unsigned int size;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct snapshot_handle {
1: + unsigned int cur;
1: + void *buffer;
1: + int sync_read;
1: +};
1: +
1: +struct linked_page {
1: + struct linked_page *next;
1: + char data[4088];
1: +};
1: +
1: +struct chain_allocator {
1: + struct linked_page *chain;
1: + unsigned int used_space;
1: + gfp_t gfp_mask;
1: + int safe_needed;
1: +};
1: +
1: +struct rtree_node {
1: + struct list_head list;
1: + long unsigned int *data;
1: +};
1: +
1: +struct mem_zone_bm_rtree {
1: + struct list_head list;
1: + struct list_head nodes;
1: + struct list_head leaves;
1: + long unsigned int start_pfn;
1: + long unsigned int end_pfn;
1: + struct rtree_node *rtree;
1: + int levels;
1: + unsigned int blocks;
1: +};
1: +
1: +struct bm_position {
1: + struct mem_zone_bm_rtree *zone;
1: + struct rtree_node *node;
1: + long unsigned int node_pfn;
1: + int node_bit;
1: +};
1: +
1: +struct memory_bitmap {
1: + struct list_head zones;
1: + struct linked_page *p_list;
1: + struct bm_position cur;
1: +};
1: +
1: +struct mem_extent {
1: + struct list_head hook;
1: + long unsigned int start;
1: + long unsigned int end;
1: +};
1: +
1: +struct nosave_region {
1: + struct list_head list;
1: + long unsigned int start_pfn;
1: + long unsigned int end_pfn;
1: +};
1: +
1: +typedef struct {
1: + long unsigned int val;
1: +} swp_entry_t;
1: +
1: +enum {
1: + BIO_NO_PAGE_REF = 0,
1: + BIO_CLONED = 1,
1: + BIO_BOUNCED = 2,
1: + BIO_USER_MAPPED = 3,
1: + BIO_NULL_MAPPED = 4,
1: + BIO_WORKINGSET = 5,
1: + BIO_QUIET = 6,
1: + BIO_CHAIN = 7,
1: + BIO_REFFED = 8,
1: + BIO_THROTTLED = 9,
1: + BIO_TRACE_COMPLETION = 10,
1: + BIO_QUEUE_ENTERED = 11,
1: + BIO_TRACKED = 12,
1: + BIO_FLAG_LAST = 13,
1: +};
1: +
1: +enum req_opf {
1: + REQ_OP_READ = 0,
1: + REQ_OP_WRITE = 1,
1: + REQ_OP_FLUSH = 2,
1: + REQ_OP_DISCARD = 3,
1: + REQ_OP_SECURE_ERASE = 5,
1: + REQ_OP_ZONE_RESET = 6,
1: + REQ_OP_WRITE_SAME = 7,
1: + REQ_OP_ZONE_RESET_ALL = 8,
1: + REQ_OP_WRITE_ZEROES = 9,
1: + REQ_OP_ZONE_OPEN = 10,
1: + REQ_OP_ZONE_CLOSE = 11,
1: + REQ_OP_ZONE_FINISH = 12,
1: + REQ_OP_SCSI_IN = 32,
1: + REQ_OP_SCSI_OUT = 33,
1: + REQ_OP_DRV_IN = 34,
1: + REQ_OP_DRV_OUT = 35,
1: + REQ_OP_LAST = 36,
1: +};
1: +
1: +enum req_flag_bits {
1: + __REQ_FAILFAST_DEV = 8,
1: + __REQ_FAILFAST_TRANSPORT = 9,
1: + __REQ_FAILFAST_DRIVER = 10,
1: + __REQ_SYNC = 11,
1: + __REQ_META = 12,
1: + __REQ_PRIO = 13,
1: + __REQ_NOMERGE = 14,
1: + __REQ_IDLE = 15,
1: + __REQ_INTEGRITY = 16,
1: + __REQ_FUA = 17,
1: + __REQ_PREFLUSH = 18,
1: + __REQ_RAHEAD = 19,
1: + __REQ_BACKGROUND = 20,
1: + __REQ_NOWAIT = 21,
1: + __REQ_NOWAIT_INLINE = 22,
1: + __REQ_CGROUP_PUNT = 23,
1: + __REQ_NOUNMAP = 24,
1: + __REQ_HIPRI = 25,
1: + __REQ_DRV = 26,
1: + __REQ_SWAP = 27,
1: + __REQ_NR_BITS = 28,
1: +};
1: +
1: +struct swap_map_page {
1: + sector_t entries[511];
1: + sector_t next_swap;
1: +};
1: +
1: +struct swap_map_page_list {
1: + struct swap_map_page *map;
1: + struct swap_map_page_list *next;
1: +};
1: +
1: +struct swap_map_handle {
1: + struct swap_map_page *cur;
1: + struct swap_map_page_list *maps;
1: + sector_t cur_swap;
1: + sector_t first_sector;
1: + unsigned int k;
1: + long unsigned int reqd_free_pages;
1: + u32 crc32;
1: +};
1: +
1: +struct swsusp_header {
1: + char reserved[4060];
1: + u32 crc32;
1: + sector_t image;
1: + unsigned int flags;
1: + char orig_sig[10];
1: + char sig[10];
1: +};
1: +
1: +struct swsusp_extent {
1: + struct rb_node node;
1: + long unsigned int start;
1: + long unsigned int end;
1: +};
1: +
1: +struct hib_bio_batch {
1: + atomic_t count;
1: + wait_queue_head_t wait;
1: + blk_status_t error;
1: +};
1: +
1: +struct crc_data {
1: + struct task_struct *thr;
1: + atomic_t ready;
1: + atomic_t stop;
1: + unsigned int run_threads;
1: + wait_queue_head_t go;
1: + wait_queue_head_t done;
1: + u32 *crc32;
1: + size_t *unc_len[3];
1: + unsigned char *unc[3];
1: +};
1: +
1: +struct cmp_data {
1: + struct task_struct *thr;
1: + atomic_t ready;
1: + atomic_t stop;
1: + int ret;
1: + wait_queue_head_t go;
1: + wait_queue_head_t done;
1: + size_t unc_len;
1: + size_t cmp_len;
1: + unsigned char unc[131072];
1: + unsigned char cmp[143360];
1: + unsigned char wrk[16384];
1: +};
1: +
1: +struct dec_data {
1: + struct task_struct *thr;
1: + atomic_t ready;
1: + atomic_t stop;
1: + int ret;
1: + wait_queue_head_t go;
1: + wait_queue_head_t done;
1: + size_t unc_len;
1: + size_t cmp_len;
1: + unsigned char unc[131072];
1: + unsigned char cmp[143360];
1: +};
1: +
1: +typedef s64 compat_loff_t;
1: +
1: +struct resume_swap_area {
1: + __kernel_loff_t offset;
1: + __u32 dev;
1: +} __attribute__((packed));
1: +
1: +struct snapshot_data {
1: + struct snapshot_handle handle;
1: + int swap;
1: + int mode;
1: + bool frozen;
1: + bool ready;
1: + bool platform_support;
1: + bool free_bitmaps;
1: +};
1: +
1: +struct compat_resume_swap_area {
1: + compat_loff_t offset;
1: + u32 dev;
1: +} __attribute__((packed));
1: +
1: +struct sysrq_key_op {
1: + void (*handler)(int);
1: + char *help_msg;
1: + char *action_msg;
1: + int enable_mask;
1: +};
1: +
1: +struct kmsg_dumper {
1: + struct list_head list;
1: + void (*dump)(struct kmsg_dumper *, enum kmsg_dump_reason);
1: + enum kmsg_dump_reason max_reason;
1: + bool active;
1: + bool registered;
1: + u32 cur_idx;
1: + u32 next_idx;
1: + u64 cur_seq;
1: + u64 next_seq;
1: +};
1: +
1: +struct trace_event_raw_console {
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_console {
1: + u32 msg;
1: +};
1: +
1: +struct console_cmdline {
1: + char name[16];
1: + int index;
1: + char *options;
1: +};
1: +
1: +enum devkmsg_log_bits {
1: + __DEVKMSG_LOG_BIT_ON = 0,
1: + __DEVKMSG_LOG_BIT_OFF = 1,
1: + __DEVKMSG_LOG_BIT_LOCK = 2,
1: +};
1: +
1: +enum devkmsg_log_masks {
1: + DEVKMSG_LOG_MASK_ON = 1,
1: + DEVKMSG_LOG_MASK_OFF = 2,
1: + DEVKMSG_LOG_MASK_LOCK = 4,
1: +};
1: +
1: +enum con_msg_format_flags {
1: + MSG_FORMAT_DEFAULT = 0,
1: + MSG_FORMAT_SYSLOG = 1,
1: +};
1: +
1: +enum log_flags {
1: + LOG_NEWLINE = 2,
1: + LOG_CONT = 8,
1: +};
1: +
1: +struct printk_log {
1: + u64 ts_nsec;
1: + u16 len;
1: + u16 text_len;
1: + u16 dict_len;
1: + u8 facility;
1: + u8 flags: 5;
1: + u8 level: 3;
1: +};
1: +
1: +struct devkmsg_user {
1: + u64 seq;
1: + u32 idx;
1: + struct ratelimit_state rs;
1: + struct mutex lock;
1: + char buf[8192];
1: +};
1: +
1: +struct cont {
1: + char buf[992];
1: + size_t len;
1: + u32 caller_id;
1: + u64 ts_nsec;
1: + u8 level;
1: + u8 facility;
1: + enum log_flags flags;
1: +};
1: +
1: +struct printk_safe_seq_buf {
1: + atomic_t len;
1: + atomic_t message_lost;
1: + struct irq_work work;
1: + unsigned char buffer[8160];
1: +};
1: +
1: +enum {
1: + IRQS_AUTODETECT = 1,
1: + IRQS_SPURIOUS_DISABLED = 2,
1: + IRQS_POLL_INPROGRESS = 8,
1: + IRQS_ONESHOT = 32,
1: + IRQS_REPLAY = 64,
1: + IRQS_WAITING = 128,
1: + IRQS_PENDING = 512,
1: + IRQS_SUSPENDED = 2048,
1: + IRQS_TIMINGS = 4096,
1: + IRQS_NMI = 8192,
1: +};
1: +
1: +enum {
1: + _IRQ_DEFAULT_INIT_FLAGS = 0,
1: + _IRQ_PER_CPU = 512,
1: + _IRQ_LEVEL = 256,
1: + _IRQ_NOPROBE = 1024,
1: + _IRQ_NOREQUEST = 2048,
1: + _IRQ_NOTHREAD = 65536,
1: + _IRQ_NOAUTOEN = 4096,
1: + _IRQ_MOVE_PCNTXT = 16384,
1: + _IRQ_NO_BALANCING = 8192,
1: + _IRQ_NESTED_THREAD = 32768,
1: + _IRQ_PER_CPU_DEVID = 131072,
1: + _IRQ_IS_POLLED = 262144,
1: + _IRQ_DISABLE_UNLAZY = 524288,
1: + _IRQF_MODIFY_MASK = 1048335,
1: +};
1: +
1: +enum {
1: + IRQTF_RUNTHREAD = 0,
1: + IRQTF_WARNED = 1,
1: + IRQTF_AFFINITY = 2,
1: + IRQTF_FORCED_THREAD = 3,
1: +};
1: +
1: +enum {
1: + IRQC_IS_HARDIRQ = 0,
1: + IRQC_IS_NESTED = 1,
1: +};
1: +
1: +enum {
1: + IRQ_STARTUP_NORMAL = 0,
1: + IRQ_STARTUP_MANAGED = 1,
1: + IRQ_STARTUP_ABORT = 2,
1: +};
1: +
1: +struct irq_devres {
1: + unsigned int irq;
1: + void *dev_id;
1: +};
1: +
1: +struct irq_desc_devres {
1: + unsigned int from;
1: + unsigned int cnt;
1: +};
1: +
1: +enum {
1: + IRQ_DOMAIN_FLAG_HIERARCHY = 1,
1: + IRQ_DOMAIN_NAME_ALLOCATED = 64,
1: + IRQ_DOMAIN_FLAG_IPI_PER_CPU = 4,
1: + IRQ_DOMAIN_FLAG_IPI_SINGLE = 8,
1: + IRQ_DOMAIN_FLAG_MSI = 16,
1: + IRQ_DOMAIN_FLAG_MSI_REMAP = 32,
1: + IRQ_DOMAIN_FLAG_NONCORE = 65536,
1: +};
1: +
1: +typedef u64 acpi_size;
1: +
1: +struct acpi_buffer {
1: + acpi_size length;
1: + void *pointer;
1: +};
1: +
1: +struct acpi_hotplug_profile {
1: + struct kobject kobj;
1: + int (*scan_dependent)(struct acpi_device *);
1: + void (*notify_online)(struct acpi_device *);
1: + bool enabled: 1;
1: + bool demand_offline: 1;
1: +};
1: +
1: +struct acpi_device_status {
1: + u32 present: 1;
1: + u32 enabled: 1;
1: + u32 show_in_ui: 1;
1: + u32 functional: 1;
1: + u32 battery_present: 1;
1: + u32 reserved: 27;
1: +};
1: +
1: +struct acpi_device_flags {
1: + u32 dynamic_status: 1;
1: + u32 removable: 1;
1: + u32 ejectable: 1;
1: + u32 power_manageable: 1;
1: + u32 match_driver: 1;
1: + u32 initialized: 1;
1: + u32 visited: 1;
1: + u32 hotplug_notify: 1;
1: + u32 is_dock_station: 1;
1: + u32 of_compatible_ok: 1;
1: + u32 coherent_dma: 1;
1: + u32 cca_seen: 1;
1: + u32 enumeration_by_parent: 1;
1: + u32 reserved: 19;
1: +};
1: +
1: +typedef char acpi_bus_id[8];
1: +
1: +struct acpi_pnp_type {
1: + u32 hardware_id: 1;
1: + u32 bus_address: 1;
1: + u32 platform_id: 1;
1: + u32 reserved: 29;
1: +};
1: +
1: +typedef u64 acpi_bus_address;
1: +
1: +typedef char acpi_device_name[40];
1: +
1: +typedef char acpi_device_class[20];
1: +
1: +struct acpi_device_pnp {
1: + acpi_bus_id bus_id;
1: + struct acpi_pnp_type type;
1: + acpi_bus_address bus_address;
1: + char *unique_id;
1: + struct list_head ids;
1: + acpi_device_name device_name;
1: + acpi_device_class device_class;
1: + union acpi_object *str_obj;
1: +};
1: +
1: +struct acpi_device_power_flags {
1: + u32 explicit_get: 1;
1: + u32 power_resources: 1;
1: + u32 inrush_current: 1;
1: + u32 power_removed: 1;
1: + u32 ignore_parent: 1;
1: + u32 dsw_present: 1;
1: + u32 reserved: 26;
1: +};
1: +
1: +struct acpi_device_power_state {
1: + struct {
1: + u8 valid: 1;
1: + u8 explicit_set: 1;
1: + u8 reserved: 6;
1: + } flags;
1: + int power;
1: + int latency;
1: + struct list_head resources;
1: +};
1: +
1: +struct acpi_device_power {
1: + int state;
1: + struct acpi_device_power_flags flags;
1: + struct acpi_device_power_state states[5];
1: +};
1: +
1: +struct acpi_device_wakeup_flags {
1: + u8 valid: 1;
1: + u8 notifier_present: 1;
1: +};
1: +
1: +struct acpi_device_wakeup_context {
1: + void (*func)(struct acpi_device_wakeup_context *);
1: + struct device *dev;
1: +};
1: +
1: +struct acpi_device_wakeup {
1: + acpi_handle gpe_device;
1: + u64 gpe_number;
1: + u64 sleep_state;
1: + struct list_head resources;
1: + struct acpi_device_wakeup_flags flags;
1: + struct acpi_device_wakeup_context context;
1: + struct wakeup_source *ws;
1: + int prepare_count;
1: + int enable_count;
1: +};
1: +
1: +struct acpi_device_perf_flags {
1: + u8 reserved: 8;
1: +};
1: +
1: +struct acpi_device_perf_state;
1: +
1: +struct acpi_device_perf {
1: + int state;
1: + struct acpi_device_perf_flags flags;
1: + int state_count;
1: + struct acpi_device_perf_state *states;
1: +};
1: +
1: +struct acpi_device_dir {
1: + struct proc_dir_entry *entry;
1: +};
1: +
1: +struct acpi_device_data {
1: + const union acpi_object *pointer;
1: + struct list_head properties;
1: + const union acpi_object *of_compatible;
1: + struct list_head subnodes;
1: +};
1: +
1: +struct acpi_scan_handler;
1: +
1: +struct acpi_hotplug_context;
1: +
1: +struct acpi_driver;
1: +
1: +struct acpi_gpio_mapping;
1: +
1: +struct acpi_device {
1: + int device_type;
1: + acpi_handle handle;
1: + struct fwnode_handle fwnode;
1: + struct acpi_device *parent;
1: + struct list_head children;
1: + struct list_head node;
1: + struct list_head wakeup_list;
1: + struct list_head del_list;
1: + struct acpi_device_status status;
1: + struct acpi_device_flags flags;
1: + struct acpi_device_pnp pnp;
1: + struct acpi_device_power power;
1: + struct acpi_device_wakeup wakeup;
1: + struct acpi_device_perf performance;
1: + struct acpi_device_dir dir;
1: + struct acpi_device_data data;
1: + struct acpi_scan_handler *handler;
1: + struct acpi_hotplug_context *hp;
1: + struct acpi_driver *driver;
1: + const struct acpi_gpio_mapping *driver_gpios;
1: + void *driver_data;
1: + struct device dev;
1: + unsigned int physical_node_count;
1: + unsigned int dep_unmet;
1: + struct list_head physical_node_list;
1: + struct mutex physical_node_lock;
1: + void (*remove)(struct acpi_device *);
1: +};
1: +
1: +struct acpi_scan_handler {
1: + const struct acpi_device_id *ids;
1: + struct list_head list_node;
1: + bool (*match)(const char *, const struct acpi_device_id **);
1: + int (*attach)(struct acpi_device *, const struct acpi_device_id *);
1: + void (*detach)(struct acpi_device *);
1: + void (*bind)(struct device *);
1: + void (*unbind)(struct device *);
1: + struct acpi_hotplug_profile hotplug;
1: +};
1: +
1: +struct acpi_hotplug_context {
1: + struct acpi_device *self;
1: + int (*notify)(struct acpi_device *, u32);
1: + void (*uevent)(struct acpi_device *, u32);
1: + void (*fixup)(struct acpi_device *);
1: +};
1: +
1: +typedef int (*acpi_op_add)(struct acpi_device *);
1: +
1: +typedef int (*acpi_op_remove)(struct acpi_device *);
1: +
1: +typedef void (*acpi_op_notify)(struct acpi_device *, u32);
1: +
1: +struct acpi_device_ops {
1: + acpi_op_add add;
1: + acpi_op_remove remove;
1: + acpi_op_notify notify;
1: +};
1: +
1: +struct acpi_driver {
1: + char name[80];
1: + char class[80];
1: + const struct acpi_device_id *ids;
1: + unsigned int flags;
1: + struct acpi_device_ops ops;
1: + struct device_driver drv;
1: + struct module *owner;
1: +};
1: +
1: +struct acpi_device_perf_state {
1: + struct {
1: + u8 valid: 1;
1: + u8 reserved: 7;
1: + } flags;
1: + u8 power;
1: + u8 performance;
1: + int latency;
1: +};
1: +
1: +struct acpi_gpio_params;
1: +
1: +struct acpi_gpio_mapping {
1: + const char *name;
1: + const struct acpi_gpio_params *data;
1: + unsigned int size;
1: + unsigned int quirks;
1: +};
1: +
1: +struct irqchip_fwid {
1: + struct fwnode_handle fwnode;
1: + unsigned int type;
1: + char *name;
1: + phys_addr_t *pa;
1: +};
1: +
1: +enum {
1: + AFFINITY = 0,
1: + AFFINITY_LIST = 1,
1: + EFFECTIVE = 2,
1: + EFFECTIVE_LIST = 3,
1: +};
1: +
1: +struct irq_affinity {
1: + unsigned int pre_vectors;
1: + unsigned int post_vectors;
1: + unsigned int nr_sets;
1: + unsigned int set_size[4];
1: + void (*calc_sets)(struct irq_affinity *, unsigned int);
1: + void *priv;
1: +};
1: +
1: +struct node_vectors {
1: + unsigned int id;
1: + union {
1: + unsigned int nvectors;
1: + unsigned int ncpus;
1: + };
1: +};
1: +
1: +struct cpumap {
1: + unsigned int available;
1: + unsigned int allocated;
1: + unsigned int managed;
1: + unsigned int managed_allocated;
1: + bool initialized;
1: + bool online;
1: + long unsigned int alloc_map[4];
1: + long unsigned int managed_map[4];
1: +};
1: +
1: +struct irq_matrix___2 {
1: + unsigned int matrix_bits;
1: + unsigned int alloc_start;
1: + unsigned int alloc_end;
1: + unsigned int alloc_size;
1: + unsigned int global_available;
1: + unsigned int global_reserved;
1: + unsigned int systembits_inalloc;
1: + unsigned int total_allocated;
1: + unsigned int online_maps;
1: + struct cpumap *maps;
1: + long unsigned int scratch_map[4];
1: + long unsigned int system_map[4];
1: +};
1: +
1: +struct trace_event_raw_irq_matrix_global {
1: + struct trace_entry ent;
1: + unsigned int online_maps;
1: + unsigned int global_available;
1: + unsigned int global_reserved;
1: + unsigned int total_allocated;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_irq_matrix_global_update {
1: + struct trace_entry ent;
1: + int bit;
1: + unsigned int online_maps;
1: + unsigned int global_available;
1: + unsigned int global_reserved;
1: + unsigned int total_allocated;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_irq_matrix_cpu {
1: + struct trace_entry ent;
1: + int bit;
1: + unsigned int cpu;
1: + bool online;
1: + unsigned int available;
1: + unsigned int allocated;
1: + unsigned int managed;
1: + unsigned int online_maps;
1: + unsigned int global_available;
1: + unsigned int global_reserved;
1: + unsigned int total_allocated;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_irq_matrix_global {};
1: +
1: +struct trace_event_data_offsets_irq_matrix_global_update {};
1: +
1: +struct trace_event_data_offsets_irq_matrix_cpu {};
1: +
1: +typedef void (*call_rcu_func_t)(struct callback_head *, rcu_callback_t);
1: +
1: +struct rcu_synchronize {
1: + struct callback_head head;
1: + struct completion completion;
1: +};
1: +
1: +struct trace_event_raw_rcu_utilization {
1: + struct trace_entry ent;
1: + const char *s;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_grace_period {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + const char *gpevent;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_future_grace_period {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + long unsigned int gp_seq_req;
1: + u8 level;
1: + int grplo;
1: + int grphi;
1: + const char *gpevent;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_grace_period_init {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + u8 level;
1: + int grplo;
1: + int grphi;
1: + long unsigned int qsmask;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_exp_grace_period {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gpseq;
1: + const char *gpevent;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_exp_funnel_lock {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + u8 level;
1: + int grplo;
1: + int grphi;
1: + const char *gpevent;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_preempt_task {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + int pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_unlock_preempted_task {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + int pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_quiescent_state_report {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + long unsigned int mask;
1: + long unsigned int qsmask;
1: + u8 level;
1: + int grplo;
1: + int grphi;
1: + u8 gp_tasks;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_fqs {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + int cpu;
1: + const char *qsevent;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_dyntick {
1: + struct trace_entry ent;
1: + const char *polarity;
1: + long int oldnesting;
1: + long int newnesting;
1: + int dynticks;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_callback {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + void *rhp;
1: + void *func;
1: + long int qlen_lazy;
1: + long int qlen;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_kfree_callback {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + void *rhp;
1: + long unsigned int offset;
1: + long int qlen_lazy;
1: + long int qlen;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_batch_start {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long int qlen_lazy;
1: + long int qlen;
1: + long int blimit;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_invoke_callback {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + void *rhp;
1: + void *func;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_invoke_kfree_callback {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + void *rhp;
1: + long unsigned int offset;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_batch_end {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + int callbacks_invoked;
1: + char cb;
1: + char nr;
1: + char iit;
1: + char risk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_torture_read {
1: + struct trace_entry ent;
1: + char rcutorturename[8];
1: + struct callback_head *rhp;
1: + long unsigned int secs;
1: + long unsigned int c_old;
1: + long unsigned int c;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rcu_barrier {
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + const char *s;
1: + int cpu;
1: + int cnt;
1: + long unsigned int done;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_rcu_utilization {};
1: +
1: +struct trace_event_data_offsets_rcu_grace_period {};
1: +
1: +struct trace_event_data_offsets_rcu_future_grace_period {};
1: +
1: +struct trace_event_data_offsets_rcu_grace_period_init {};
1: +
1: +struct trace_event_data_offsets_rcu_exp_grace_period {};
1: +
1: +struct trace_event_data_offsets_rcu_exp_funnel_lock {};
1: +
1: +struct trace_event_data_offsets_rcu_preempt_task {};
1: +
1: +struct trace_event_data_offsets_rcu_unlock_preempted_task {};
1: +
1: +struct trace_event_data_offsets_rcu_quiescent_state_report {};
1: +
1: +struct trace_event_data_offsets_rcu_fqs {};
1: +
1: +struct trace_event_data_offsets_rcu_dyntick {};
1: +
1: +struct trace_event_data_offsets_rcu_callback {};
1: +
1: +struct trace_event_data_offsets_rcu_kfree_callback {};
1: +
1: +struct trace_event_data_offsets_rcu_batch_start {};
1: +
1: +struct trace_event_data_offsets_rcu_invoke_callback {};
1: +
1: +struct trace_event_data_offsets_rcu_invoke_kfree_callback {};
1: +
1: +struct trace_event_data_offsets_rcu_batch_end {};
1: +
1: +struct trace_event_data_offsets_rcu_torture_read {};
1: +
1: +struct trace_event_data_offsets_rcu_barrier {};
1: +
1: +enum {
1: + GP_IDLE = 0,
1: + GP_ENTER = 1,
1: + GP_PASSED = 2,
1: + GP_EXIT = 3,
1: + GP_REPLAY = 4,
1: +};
1: +
1: +typedef long unsigned int ulong;
1: +
1: +struct rcu_cblist {
1: + struct callback_head *head;
1: + struct callback_head **tail;
1: + long int len;
1: + long int len_lazy;
1: +};
1: +
1: +enum rcutorture_type {
1: + RCU_FLAVOR = 0,
1: + RCU_TASKS_FLAVOR = 1,
1: + RCU_TRIVIAL_FLAVOR = 2,
1: + SRCU_FLAVOR = 3,
1: + INVALID_RCU_FLAVOR = 4,
1: +};
1: +
1: +typedef long unsigned int pao_T_____3;
1: +
1: +struct rcu_exp_work {
1: + long unsigned int rew_s;
1: + struct work_struct rew_work;
1: +};
1: +
1: +struct rcu_node {
1: + raw_spinlock_t lock;
1: + long unsigned int gp_seq;
1: + long unsigned int gp_seq_needed;
1: + long unsigned int completedqs;
1: + long unsigned int qsmask;
1: + long unsigned int rcu_gp_init_mask;
1: + long unsigned int qsmaskinit;
1: + long unsigned int qsmaskinitnext;
1: + long unsigned int expmask;
1: + long unsigned int expmaskinit;
1: + long unsigned int expmaskinitnext;
1: + long unsigned int ffmask;
1: + long unsigned int grpmask;
1: + int grplo;
1: + int grphi;
1: + u8 grpnum;
1: + u8 level;
1: + bool wait_blkd_tasks;
1: + struct rcu_node *parent;
1: + struct list_head blkd_tasks;
1: + struct list_head *gp_tasks;
1: + struct list_head *exp_tasks;
1: + struct list_head *boost_tasks;
1: + struct rt_mutex boost_mtx;
1: + long unsigned int boost_time;
1: + struct task_struct *boost_kthread_task;
1: + unsigned int boost_kthread_status;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + raw_spinlock_t fqslock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + spinlock_t exp_lock;
1: + long unsigned int exp_seq_rq;
1: + wait_queue_head_t exp_wq[4];
1: + struct rcu_exp_work rew;
1: + bool exp_need_flush;
1: + long: 56;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +union rcu_noqs {
1: + struct {
1: + u8 norm;
1: + u8 exp;
1: + } b;
1: + u16 s;
1: +};
1: +
1: +struct rcu_data {
1: + long unsigned int gp_seq;
1: + long unsigned int gp_seq_needed;
1: + union rcu_noqs cpu_no_qs;
1: + bool core_needs_qs;
1: + bool beenonline;
1: + bool gpwrap;
1: + bool exp_deferred_qs;
1: + struct rcu_node *mynode;
1: + long unsigned int grpmask;
1: + long unsigned int ticks_this_gp;
1: + struct irq_work defer_qs_iw;
1: + bool defer_qs_iw_pending;
1: + struct rcu_segcblist cblist;
1: + long int qlen_last_fqs_check;
1: + long unsigned int n_force_qs_snap;
1: + long int blimit;
1: + int dynticks_snap;
1: + long int dynticks_nesting;
1: + long int dynticks_nmi_nesting;
1: + atomic_t dynticks;
1: + bool rcu_need_heavy_qs;
1: + bool rcu_urgent_qs;
1: + bool rcu_forced_tick;
1: + struct callback_head barrier_head;
1: + int exp_dynticks_snap;
1: + struct task_struct *rcu_cpu_kthread_task;
1: + unsigned int rcu_cpu_kthread_status;
1: + char rcu_cpu_has_work;
1: + unsigned int softirq_snap;
1: + struct irq_work rcu_iw;
1: + bool rcu_iw_pending;
1: + long unsigned int rcu_iw_gp_seq;
1: + long unsigned int rcu_ofl_gp_seq;
1: + short int rcu_ofl_gp_flags;
1: + long unsigned int rcu_onl_gp_seq;
1: + short int rcu_onl_gp_flags;
1: + long unsigned int last_fqs_resched;
1: + int cpu;
1: +};
1: +
1: +struct rcu_state {
1: + struct rcu_node node[5];
1: + struct rcu_node *level[3];
1: + int ncpus;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + u8 boost;
1: + long unsigned int gp_seq;
1: + struct task_struct *gp_kthread;
1: + struct swait_queue_head gp_wq;
1: + short int gp_flags;
1: + short int gp_state;
1: + long unsigned int gp_wake_time;
1: + long unsigned int gp_wake_seq;
1: + struct mutex barrier_mutex;
1: + atomic_t barrier_cpu_count;
1: + struct completion barrier_completion;
1: + long unsigned int barrier_sequence;
1: + struct mutex exp_mutex;
1: + struct mutex exp_wake_mutex;
1: + long unsigned int expedited_sequence;
1: + atomic_t expedited_need_qs;
1: + struct swait_queue_head expedited_wq;
1: + int ncpus_snap;
1: + long unsigned int jiffies_force_qs;
1: + long unsigned int jiffies_kick_kthreads;
1: + long unsigned int n_force_qs;
1: + long unsigned int gp_start;
1: + long unsigned int gp_end;
1: + long unsigned int gp_activity;
1: + long unsigned int gp_req_activity;
1: + long unsigned int jiffies_stall;
1: + long unsigned int jiffies_resched;
1: + long unsigned int n_force_qs_gpstart;
1: + long unsigned int gp_max;
1: + const char *name;
1: + char abbr;
1: + long: 56;
1: + long: 64;
1: + long: 64;
1: + raw_spinlock_t ofl_lock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +typedef bool pto_T_____7;
1: +
1: +struct dma_devres {
1: + size_t size;
1: + void *vaddr;
1: + dma_addr_t dma_handle;
1: + long unsigned int attrs;
1: +};
1: +
1: +enum dma_sync_target {
1: + SYNC_FOR_CPU = 0,
1: + SYNC_FOR_DEVICE = 1,
1: +};
1: +
1: +struct trace_event_raw_swiotlb_bounced {
1: + struct trace_entry ent;
1: + u32 __data_loc_dev_name;
1: + u64 dma_mask;
1: + dma_addr_t dev_addr;
1: + size_t size;
1: + enum swiotlb_force swiotlb_force;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_swiotlb_bounced {
1: + u32 dev_name;
1: +};
1: +
1: +enum profile_type {
1: + PROFILE_TASK_EXIT = 0,
1: + PROFILE_MUNMAP = 1,
1: +};
1: +
1: +struct profile_hit {
1: + u32 pc;
1: + u32 hits;
1: +};
1: +
1: +struct stacktrace_cookie {
1: + long unsigned int *store;
1: + unsigned int size;
1: + unsigned int skip;
1: + unsigned int len;
1: +};
1: +
1: +typedef __kernel_long_t __kernel_suseconds_t;
1: +
1: +typedef __kernel_long_t __kernel_old_time_t;
1: +
1: +typedef __kernel_suseconds_t suseconds_t;
1: +
1: +typedef __u64 timeu64_t;
1: +
1: +struct __kernel_itimerspec {
1: + struct __kernel_timespec it_interval;
1: + struct __kernel_timespec it_value;
1: +};
1: +
1: +struct timespec {
1: + __kernel_old_time_t tv_sec;
1: + long int tv_nsec;
1: +};
1: +
1: +struct timeval {
1: + __kernel_old_time_t tv_sec;
1: + __kernel_suseconds_t tv_usec;
1: +};
1: +
1: +struct timezone {
1: + int tz_minuteswest;
1: + int tz_dsttime;
1: +};
1: +
1: +struct itimerspec64 {
1: + struct timespec64 it_interval;
1: + struct timespec64 it_value;
1: +};
1: +
1: +struct old_itimerspec32 {
1: + struct old_timespec32 it_interval;
1: + struct old_timespec32 it_value;
1: +};
1: +
1: +struct old_timex32 {
1: + u32 modes;
1: + s32 offset;
1: + s32 freq;
1: + s32 maxerror;
1: + s32 esterror;
1: + s32 status;
1: + s32 constant;
1: + s32 precision;
1: + s32 tolerance;
1: + struct old_timeval32 time;
1: + s32 tick;
1: + s32 ppsfreq;
1: + s32 jitter;
1: + s32 shift;
1: + s32 stabil;
1: + s32 jitcnt;
1: + s32 calcnt;
1: + s32 errcnt;
1: + s32 stbcnt;
1: + s32 tai;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct __kernel_timex_timeval {
1: + __kernel_time64_t tv_sec;
1: + long long int tv_usec;
1: +};
1: +
1: +struct __kernel_timex {
1: + unsigned int modes;
1: + long long int offset;
1: + long long int freq;
1: + long long int maxerror;
1: + long long int esterror;
1: + int status;
1: + long long int constant;
1: + long long int precision;
1: + long long int tolerance;
1: + struct __kernel_timex_timeval time;
1: + long long int tick;
1: + long long int ppsfreq;
1: + long long int jitter;
1: + int shift;
1: + long long int stabil;
1: + long long int jitcnt;
1: + long long int calcnt;
1: + long long int errcnt;
1: + long long int stbcnt;
1: + int tai;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct trace_event_raw_timer_class {
1: + struct trace_entry ent;
1: + void *timer;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_timer_start {
1: + struct trace_entry ent;
1: + void *timer;
1: + void *function;
1: + long unsigned int expires;
1: + long unsigned int now;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_timer_expire_entry {
1: + struct trace_entry ent;
1: + void *timer;
1: + long unsigned int now;
1: + void *function;
1: + long unsigned int baseclk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_hrtimer_init {
1: + struct trace_entry ent;
1: + void *hrtimer;
1: + clockid_t clockid;
1: + enum hrtimer_mode mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_hrtimer_start {
1: + struct trace_entry ent;
1: + void *hrtimer;
1: + void *function;
1: + s64 expires;
1: + s64 softexpires;
1: + enum hrtimer_mode mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_hrtimer_expire_entry {
1: + struct trace_entry ent;
1: + void *hrtimer;
1: + s64 now;
1: + void *function;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_hrtimer_class {
1: + struct trace_entry ent;
1: + void *hrtimer;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_itimer_state {
1: + struct trace_entry ent;
1: + int which;
1: + long long unsigned int expires;
1: + long int value_sec;
1: + long int value_nsec;
1: + long int interval_sec;
1: + long int interval_nsec;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_itimer_expire {
1: + struct trace_entry ent;
1: + int which;
1: + pid_t pid;
1: + long long unsigned int now;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_tick_stop {
1: + struct trace_entry ent;
1: + int success;
1: + int dependency;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_timer_class {};
1: +
1: +struct trace_event_data_offsets_timer_start {};
1: +
1: +struct trace_event_data_offsets_timer_expire_entry {};
1: +
1: +struct trace_event_data_offsets_hrtimer_init {};
1: +
1: +struct trace_event_data_offsets_hrtimer_start {};
1: +
1: +struct trace_event_data_offsets_hrtimer_expire_entry {};
1: +
1: +struct trace_event_data_offsets_hrtimer_class {};
1: +
1: +struct trace_event_data_offsets_itimer_state {};
1: +
1: +struct trace_event_data_offsets_itimer_expire {};
1: +
1: +struct trace_event_data_offsets_tick_stop {};
1: +
1: +struct timer_base {
1: + raw_spinlock_t lock;
1: + struct timer_list *running_timer;
1: + long unsigned int clk;
1: + long unsigned int next_expiry;
1: + unsigned int cpu;
1: + bool is_idle;
1: + bool must_forward_clk;
1: + long unsigned int pending_map[9];
1: + struct hlist_head vectors[576];
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct process_timer {
1: + struct timer_list timer;
1: + struct task_struct *task;
1: +};
1: +
1: +enum tick_device_mode {
1: + TICKDEV_MODE_PERIODIC = 0,
1: + TICKDEV_MODE_ONESHOT = 1,
1: +};
1: +
1: +struct tick_device {
1: + struct clock_event_device *evtdev;
1: + enum tick_device_mode mode;
1: +};
1: +
1: +struct system_time_snapshot {
1: + u64 cycles;
1: + ktime_t real;
1: + ktime_t raw;
1: + unsigned int clock_was_set_seq;
1: + u8 cs_was_changed_seq;
1: +};
1: +
1: +struct system_device_crosststamp {
1: + ktime_t device;
1: + ktime_t sys_realtime;
1: + ktime_t sys_monoraw;
1: +};
1: +
1: +struct tk_read_base {
1: + struct clocksource *clock;
1: + u64 mask;
1: + u64 cycle_last;
1: + u32 mult;
1: + u32 shift;
1: + u64 xtime_nsec;
1: + ktime_t base;
1: + u64 base_real;
1: +};
1: +
1: +struct timekeeper {
1: + struct tk_read_base tkr_mono;
1: + struct tk_read_base tkr_raw;
1: + u64 xtime_sec;
1: + long unsigned int ktime_sec;
1: + struct timespec64 wall_to_monotonic;
1: + ktime_t offs_real;
1: + ktime_t offs_boot;
1: + ktime_t offs_tai;
1: + s32 tai_offset;
1: + unsigned int clock_was_set_seq;
1: + u8 cs_was_changed_seq;
1: + ktime_t next_leap_ktime;
1: + u64 raw_sec;
1: + struct timespec64 monotonic_to_boot;
1: + u64 cycle_interval;
1: + u64 xtime_interval;
1: + s64 xtime_remainder;
1: + u64 raw_interval;
1: + u64 ntp_tick;
1: + s64 ntp_error;
1: + u32 ntp_error_shift;
1: + u32 ntp_err_mult;
1: + u32 skip_second_overflow;
1: +};
1: +
1: +struct audit_ntp_val {
1: + long long int oldval;
1: + long long int newval;
1: +};
1: +
1: +struct audit_ntp_data {
1: + struct audit_ntp_val vals[6];
1: +};
1: +
1: +enum timekeeping_adv_mode {
1: + TK_ADV_TICK = 0,
1: + TK_ADV_FREQ = 1,
1: +};
1: +
1: +struct tk_fast {
1: + seqcount_t seq;
1: + struct tk_read_base base[2];
1: +};
1: +
1: +typedef s64 int64_t;
1: +
1: +enum tick_nohz_mode {
1: + NOHZ_MODE_INACTIVE = 0,
1: + NOHZ_MODE_LOWRES = 1,
1: + NOHZ_MODE_HIGHRES = 2,
1: +};
1: +
1: +struct tick_sched {
1: + struct hrtimer sched_timer;
1: + long unsigned int check_clocks;
1: + enum tick_nohz_mode nohz_mode;
1: + unsigned int inidle: 1;
1: + unsigned int tick_stopped: 1;
1: + unsigned int idle_active: 1;
1: + unsigned int do_timer_last: 1;
1: + unsigned int got_idle_tick: 1;
1: + ktime_t last_tick;
1: + ktime_t next_tick;
1: + long unsigned int idle_jiffies;
1: + long unsigned int idle_calls;
1: + long unsigned int idle_sleeps;
1: + ktime_t idle_entrytime;
1: + ktime_t idle_waketime;
1: + ktime_t idle_exittime;
1: + ktime_t idle_sleeptime;
1: + ktime_t iowait_sleeptime;
1: + long unsigned int last_jiffies;
1: + u64 timer_expires;
1: + u64 timer_expires_base;
1: + u64 next_timer;
1: + ktime_t idle_expires;
1: + atomic_t tick_dep_mask;
1: +};
1: +
1: +struct timer_list_iter {
1: + int cpu;
1: + bool second_pass;
1: + u64 now;
1: +};
1: +
1: +struct tm {
1: + int tm_sec;
1: + int tm_min;
1: + int tm_hour;
1: + int tm_mday;
1: + int tm_mon;
1: + long int tm_year;
1: + int tm_wday;
1: + int tm_yday;
1: +};
1: +
1: +struct cyclecounter {
1: + u64 (*read)(const struct cyclecounter *);
1: + u64 mask;
1: + u32 mult;
1: + u32 shift;
1: +};
1: +
1: +struct timecounter {
1: + const struct cyclecounter *cc;
1: + u64 cycle_last;
1: + u64 nsec;
1: + u64 mask;
1: + u64 frac;
1: +};
1: +
1: +typedef __kernel_timer_t timer_t;
1: +
1: +struct rtc_wkalrm {
1: + unsigned char enabled;
1: + unsigned char pending;
1: + struct rtc_time time;
1: +};
1: +
1: +enum alarmtimer_type {
1: + ALARM_REALTIME = 0,
1: + ALARM_BOOTTIME = 1,
1: + ALARM_NUMTYPE = 2,
1: + ALARM_REALTIME_FREEZER = 3,
1: + ALARM_BOOTTIME_FREEZER = 4,
1: +};
1: +
1: +enum alarmtimer_restart {
1: + ALARMTIMER_NORESTART = 0,
1: + ALARMTIMER_RESTART = 1,
1: +};
1: +
1: +struct alarm {
1: + struct timerqueue_node node;
1: + struct hrtimer timer;
1: + enum alarmtimer_restart (*function)(struct alarm *, ktime_t);
1: + enum alarmtimer_type type;
1: + int state;
1: + void *data;
1: +};
1: +
1: +struct cpu_timer {
1: + struct timerqueue_node node;
1: + struct timerqueue_head *head;
1: + struct task_struct *task;
1: + struct list_head elist;
1: + int firing;
1: +};
1: +
1: +struct k_clock;
1: +
1: +struct k_itimer {
1: + struct list_head list;
1: + struct hlist_node t_hash;
1: + spinlock_t it_lock;
1: + const struct k_clock *kclock;
1: + clockid_t it_clock;
1: + timer_t it_id;
1: + int it_active;
1: + s64 it_overrun;
1: + s64 it_overrun_last;
1: + int it_requeue_pending;
1: + int it_sigev_notify;
1: + ktime_t it_interval;
1: + struct signal_struct *it_signal;
1: + union {
1: + struct pid *it_pid;
1: + struct task_struct *it_process;
1: + };
1: + struct sigqueue *sigq;
1: + union {
1: + struct {
1: + struct hrtimer timer;
1: + } real;
1: + struct cpu_timer cpu;
1: + struct {
1: + struct alarm alarmtimer;
1: + } alarm;
1: + } it;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct k_clock {
1: + int (*clock_getres)(const clockid_t, struct timespec64 *);
1: + int (*clock_set)(const clockid_t, const struct timespec64 *);
1: + int (*clock_get)(const clockid_t, struct timespec64 *);
1: + int (*clock_adj)(const clockid_t, struct __kernel_timex *);
1: + int (*timer_create)(struct k_itimer *);
1: + int (*nsleep)(const clockid_t, int, const struct timespec64 *);
1: + int (*timer_set)(struct k_itimer *, int, struct itimerspec64 *, struct itimerspec64 *);
1: + int (*timer_del)(struct k_itimer *);
1: + void (*timer_get)(struct k_itimer *, struct itimerspec64 *);
1: + void (*timer_rearm)(struct k_itimer *);
1: + s64 (*timer_forward)(struct k_itimer *, ktime_t);
1: + ktime_t (*timer_remaining)(struct k_itimer *, ktime_t);
1: + int (*timer_try_to_cancel)(struct k_itimer *);
1: + void (*timer_arm)(struct k_itimer *, ktime_t, bool, bool);
1: + void (*timer_wait_running)(struct k_itimer *);
1: +};
1: +
1: +struct class_interface {
1: + struct list_head node;
1: + struct class *class;
1: + int (*add_dev)(struct device *, struct class_interface *);
1: + void (*remove_dev)(struct device *, struct class_interface *);
1: +};
1: +
1: +struct rtc_class_ops {
1: + int (*ioctl)(struct device *, unsigned int, long unsigned int);
1: + int (*read_time)(struct device *, struct rtc_time *);
1: + int (*set_time)(struct device *, struct rtc_time *);
1: + int (*read_alarm)(struct device *, struct rtc_wkalrm *);
1: + int (*set_alarm)(struct device *, struct rtc_wkalrm *);
1: + int (*proc)(struct device *, struct seq_file *);
1: + int (*alarm_irq_enable)(struct device *, unsigned int);
1: + int (*read_offset)(struct device *, long int *);
1: + int (*set_offset)(struct device *, long int);
1: +};
1: +
1: +struct rtc_device;
1: +
1: +struct rtc_timer {
1: + struct timerqueue_node node;
1: + ktime_t period;
1: + void (*func)(struct rtc_device *);
1: + struct rtc_device *rtc;
1: + int enabled;
1: +};
1: +
1: +struct rtc_device {
1: + struct device dev;
1: + struct module *owner;
1: + int id;
1: + const struct rtc_class_ops *ops;
1: + struct mutex ops_lock;
1: + struct cdev char_dev;
1: + long unsigned int flags;
1: + long unsigned int irq_data;
1: + spinlock_t irq_lock;
1: + wait_queue_head_t irq_queue;
1: + struct fasync_struct *async_queue;
1: + int irq_freq;
1: + int max_user_freq;
1: + struct timerqueue_head timerqueue;
1: + struct rtc_timer aie_timer;
1: + struct rtc_timer uie_rtctimer;
1: + struct hrtimer pie_timer;
1: + int pie_enabled;
1: + struct work_struct irqwork;
1: + int uie_unsupported;
1: + long int set_offset_nsec;
1: + bool registered;
1: + bool nvram_old_abi;
1: + struct bin_attribute *nvram;
1: + time64_t range_min;
1: + timeu64_t range_max;
1: + time64_t start_secs;
1: + time64_t offset_secs;
1: + bool set_start_time;
1: +};
1: +
1: +struct platform_driver {
1: + int (*probe)(struct platform_device *);
1: + int (*remove)(struct platform_device *);
1: + void (*shutdown)(struct platform_device *);
1: + int (*suspend)(struct platform_device *, pm_message_t);
1: + int (*resume)(struct platform_device *);
1: + struct device_driver driver;
1: + const struct platform_device_id *id_table;
1: + bool prevent_deferred_probe;
1: +};
1: +
1: +struct trace_event_raw_alarmtimer_suspend {
1: + struct trace_entry ent;
1: + s64 expires;
1: + unsigned char alarm_type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_alarm_class {
1: + struct trace_entry ent;
1: + void *alarm;
1: + unsigned char alarm_type;
1: + s64 expires;
1: + s64 now;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_alarmtimer_suspend {};
1: +
1: +struct trace_event_data_offsets_alarm_class {};
1: +
1: +struct alarm_base {
1: + spinlock_t lock;
1: + struct timerqueue_head timerqueue;
1: + ktime_t (*gettime)();
1: + clockid_t base_clockid;
1: +};
1: +
1: +struct sigevent {
1: + sigval_t sigev_value;
1: + int sigev_signo;
1: + int sigev_notify;
1: + union {
1: + int _pad[12];
1: + int _tid;
1: + struct {
1: + void (*_function)(sigval_t);
1: + void *_attribute;
1: + } _sigev_thread;
1: + } _sigev_un;
1: +};
1: +
1: +typedef struct sigevent sigevent_t;
1: +
1: +struct compat_sigevent {
1: + compat_sigval_t sigev_value;
1: + compat_int_t sigev_signo;
1: + compat_int_t sigev_notify;
1: + union {
1: + compat_int_t _pad[13];
1: + compat_int_t _tid;
1: + struct {
1: + compat_uptr_t _function;
1: + compat_uptr_t _attribute;
1: + } _sigev_thread;
1: + } _sigev_un;
1: +};
1: +
1: +typedef unsigned int uint;
1: +
1: +struct posix_clock;
1: +
1: +struct posix_clock_operations {
1: + struct module *owner;
1: + int (*clock_adjtime)(struct posix_clock *, struct __kernel_timex *);
1: + int (*clock_gettime)(struct posix_clock *, struct timespec64 *);
1: + int (*clock_getres)(struct posix_clock *, struct timespec64 *);
1: + int (*clock_settime)(struct posix_clock *, const struct timespec64 *);
1: + long int (*ioctl)(struct posix_clock *, unsigned int, long unsigned int);
1: + int (*open)(struct posix_clock *, fmode_t);
1: + __poll_t (*poll)(struct posix_clock *, struct file *, poll_table *);
1: + int (*release)(struct posix_clock *);
1: + ssize_t (*read)(struct posix_clock *, uint, char *, size_t);
1: +};
1: +
1: +struct posix_clock {
1: + struct posix_clock_operations ops;
1: + struct cdev cdev;
1: + struct device *dev;
1: + struct rw_semaphore rwsem;
1: + bool zombie;
1: +};
1: +
1: +struct posix_clock_desc {
1: + struct file *fp;
1: + struct posix_clock *clk;
1: +};
1: +
1: +struct itimerval {
1: + struct timeval it_interval;
1: + struct timeval it_value;
1: +};
1: +
1: +struct old_itimerval32 {
1: + struct old_timeval32 it_interval;
1: + struct old_timeval32 it_value;
1: +};
1: +
1: +struct ce_unbind {
1: + struct clock_event_device *ce;
1: + int res;
1: +};
1: +
1: +struct vdso_timestamp {
1: + u64 sec;
1: + u64 nsec;
1: +};
1: +
1: +struct vdso_data {
1: + u32 seq;
1: + s32 clock_mode;
1: + u64 cycle_last;
1: + u64 mask;
1: + u32 mult;
1: + u32 shift;
1: + struct vdso_timestamp basetime[12];
1: + s32 tz_minuteswest;
1: + s32 tz_dsttime;
1: + u32 hrtimer_res;
1: + u32 __unused;
1: +};
1: +
1: +union futex_key {
1: + struct {
1: + long unsigned int pgoff;
1: + struct inode *inode;
1: + int offset;
1: + } shared;
1: + struct {
1: + long unsigned int address;
1: + struct mm_struct *mm;
1: + int offset;
1: + } private;
1: + struct {
1: + long unsigned int word;
1: + void *ptr;
1: + int offset;
1: + } both;
1: +};
1: +
1: +struct futex_pi_state {
1: + struct list_head list;
1: + struct rt_mutex pi_mutex;
1: + struct task_struct *owner;
1: + refcount_t refcount;
1: + union futex_key key;
1: +};
1: +
1: +struct futex_q {
1: + struct plist_node list;
1: + struct task_struct *task;
1: + spinlock_t *lock_ptr;
1: + union futex_key key;
1: + struct futex_pi_state *pi_state;
1: + struct rt_mutex_waiter *rt_waiter;
1: + union futex_key *requeue_pi_key;
1: + u32 bitset;
1: +};
1: +
1: +struct futex_hash_bucket {
1: + atomic_t waiters;
1: + spinlock_t lock;
1: + struct plist_head chain;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +enum futex_access {
1: + FUTEX_READ = 0,
1: + FUTEX_WRITE = 1,
1: +};
1: +
1: +struct dma_chan {
1: + int lock;
1: + const char *device_id;
1: +};
1: +
1: +enum {
1: + CSD_FLAG_LOCK = 1,
1: + CSD_FLAG_SYNCHRONOUS = 2,
1: +};
1: +
1: +struct call_function_data {
1: + call_single_data_t *csd;
1: + cpumask_var_t cpumask;
1: + cpumask_var_t cpumask_ipi;
1: +};
1: +
1: +struct smp_call_on_cpu_struct {
1: + struct work_struct work;
1: + struct completion done;
1: + int (*func)(void *);
1: + void *data;
1: + int ret;
1: + int cpu;
1: +};
1: +
1: +struct static_key_true {
1: + struct static_key key;
1: +};
1: +
1: +struct latch_tree_root {
1: + seqcount_t seq;
1: + struct rb_root tree[2];
1: +};
1: +
1: +struct latch_tree_ops {
1: + bool (*less)(struct latch_tree_node *, struct latch_tree_node *);
1: + int (*comp)(void *, struct latch_tree_node *);
1: +};
1: +
1: +struct module_use {
1: + struct list_head source_list;
1: + struct list_head target_list;
1: + struct module *source;
1: + struct module *target;
1: +};
1: +
1: +struct module_sect_attr {
1: + struct module_attribute mattr;
1: + char *name;
1: + long unsigned int address;
1: +};
1: +
1: +struct module_sect_attrs {
1: + struct attribute_group grp;
1: + unsigned int nsections;
1: + struct module_sect_attr attrs[0];
1: +};
1: +
1: +struct module_notes_attrs {
1: + struct kobject *dir;
1: + unsigned int notes;
1: + struct bin_attribute attrs[0];
1: +};
1: +
1: +struct symsearch {
1: + const struct kernel_symbol *start;
1: + const struct kernel_symbol *stop;
1: + const s32 *crcs;
1: + enum {
1: + NOT_GPL_ONLY = 0,
1: + GPL_ONLY = 1,
1: + WILL_BE_GPL_ONLY = 2,
1: + } licence;
1: + bool unused;
1: +};
1: +
1: +enum kernel_read_file_id {
1: + READING_UNKNOWN = 0,
1: + READING_FIRMWARE = 1,
1: + READING_FIRMWARE_PREALLOC_BUFFER = 2,
1: + READING_MODULE = 3,
1: + READING_KEXEC_IMAGE = 4,
1: + READING_KEXEC_INITRAMFS = 5,
1: + READING_POLICY = 6,
1: + READING_X509_CERTIFICATE = 7,
1: + READING_MAX_ID = 8,
1: +};
1: +
1: +enum kernel_load_data_id {
1: + LOADING_UNKNOWN = 0,
1: + LOADING_FIRMWARE = 1,
1: + LOADING_FIRMWARE_PREALLOC_BUFFER = 2,
1: + LOADING_MODULE = 3,
1: + LOADING_KEXEC_IMAGE = 4,
1: + LOADING_KEXEC_INITRAMFS = 5,
1: + LOADING_POLICY = 6,
1: + LOADING_X509_CERTIFICATE = 7,
1: + LOADING_MAX_ID = 8,
1: +};
1: +
1: +struct _ddebug {
1: + const char *modname;
1: + const char *function;
1: + const char *filename;
1: + const char *format;
1: + unsigned int lineno: 18;
1: + unsigned int flags: 8;
1: + union {
1: + struct static_key_true dd_key_true;
1: + struct static_key_false dd_key_false;
1: + } key;
1: +};
1: +
1: +struct load_info {
1: + const char *name;
1: + struct module *mod;
1: + Elf64_Ehdr *hdr;
1: + long unsigned int len;
1: + Elf64_Shdr *sechdrs;
1: + char *secstrings;
1: + char *strtab;
1: + long unsigned int symoffs;
1: + long unsigned int stroffs;
1: + long unsigned int init_typeoffs;
1: + long unsigned int core_typeoffs;
1: + struct _ddebug *debug;
1: + unsigned int num_debug;
1: + bool sig_ok;
1: + long unsigned int mod_kallsyms_init_off;
1: + struct {
1: + unsigned int sym;
1: + unsigned int str;
1: + unsigned int mod;
1: + unsigned int vers;
1: + unsigned int info;
1: + unsigned int pcpu;
1: + } index;
1: +};
1: +
1: +struct trace_event_raw_module_load {
1: + struct trace_entry ent;
1: + unsigned int taints;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_module_free {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_module_refcnt {
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + int refcnt;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_module_request {
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + bool wait;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_module_load {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_module_free {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_module_refcnt {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_module_request {
1: + u32 name;
1: +};
1: +
1: +struct mod_tree_root {
1: + struct latch_tree_root root;
1: + long unsigned int addr_min;
1: + long unsigned int addr_max;
1: +};
1: +
1: +struct find_symbol_arg {
1: + const char *name;
1: + bool gplok;
1: + bool warn;
1: + struct module *owner;
1: + const s32 *crc;
1: + const struct kernel_symbol *sym;
1: +};
1: +
1: +struct mod_initfree {
1: + struct llist_node node;
1: + void *module_init;
1: +};
1: +
1: +struct kallsym_iter {
1: + loff_t pos;
1: + loff_t pos_arch_end;
1: + loff_t pos_mod_end;
1: + loff_t pos_ftrace_mod_end;
1: + long unsigned int value;
1: + unsigned int nameoff;
1: + char type;
1: + char name[128];
1: + char module_name[56];
1: + int exported;
1: + int show_value;
1: +};
1: +
1: +enum {
1: + SB_UNFROZEN = 0,
1: + SB_FREEZE_WRITE = 1,
1: + SB_FREEZE_PAGEFAULT = 2,
1: + SB_FREEZE_FS = 3,
1: + SB_FREEZE_COMPLETE = 4,
1: +};
1: +
1: +typedef __u16 comp_t;
1: +
1: +typedef __u32 comp2_t;
1: +
1: +struct acct {
1: + char ac_flag;
1: + char ac_version;
1: + __u16 ac_uid16;
1: + __u16 ac_gid16;
1: + __u16 ac_tty;
1: + __u32 ac_btime;
1: + comp_t ac_utime;
1: + comp_t ac_stime;
1: + comp_t ac_etime;
1: + comp_t ac_mem;
1: + comp_t ac_io;
1: + comp_t ac_rw;
1: + comp_t ac_minflt;
1: + comp_t ac_majflt;
1: + comp_t ac_swaps;
1: + __u16 ac_ahz;
1: + __u32 ac_exitcode;
1: + char ac_comm[17];
1: + __u8 ac_etime_hi;
1: + __u16 ac_etime_lo;
1: + __u32 ac_uid;
1: + __u32 ac_gid;
1: +};
1: +
1: +typedef struct acct acct_t;
1: +
1: +struct fs_pin {
1: + wait_queue_head_t wait;
1: + int done;
1: + struct hlist_node s_list;
1: + struct hlist_node m_list;
1: + void (*kill)(struct fs_pin *);
1: +};
1: +
1: +struct bsd_acct_struct {
1: + struct fs_pin pin;
1: + atomic_long_t count;
1: + struct callback_head rcu;
1: + struct mutex lock;
1: + int active;
1: + long unsigned int needcheck;
1: + struct file *file;
1: + struct pid_namespace *ns;
1: + struct work_struct work;
1: + struct completion done;
1: +};
1: +
1: +enum compound_dtor_id {
1: + NULL_COMPOUND_DTOR = 0,
1: + COMPOUND_PAGE_DTOR = 1,
1: + HUGETLB_PAGE_DTOR = 2,
1: + NR_COMPOUND_DTORS = 3,
1: +};
1: +
1: +struct elf64_note {
1: + Elf64_Word n_namesz;
1: + Elf64_Word n_descsz;
1: + Elf64_Word n_type;
1: +};
1: +
1: +typedef long unsigned int elf_greg_t;
1: +
1: +typedef elf_greg_t elf_gregset_t[27];
1: +
1: +struct elf_siginfo {
1: + int si_signo;
1: + int si_code;
1: + int si_errno;
1: +};
1: +
1: +struct elf_prstatus {
1: + struct elf_siginfo pr_info;
1: + short int pr_cursig;
1: + long unsigned int pr_sigpend;
1: + long unsigned int pr_sighold;
1: + pid_t pr_pid;
1: + pid_t pr_ppid;
1: + pid_t pr_pgrp;
1: + pid_t pr_sid;
1: + struct __kernel_old_timeval pr_utime;
1: + struct __kernel_old_timeval pr_stime;
1: + struct __kernel_old_timeval pr_cutime;
1: + struct __kernel_old_timeval pr_cstime;
1: + elf_gregset_t pr_reg;
1: + int pr_fpvalid;
1: +};
1: +
1: +typedef u32 note_buf_t[92];
1: +
1: +struct compat_kexec_segment {
1: + compat_uptr_t buf;
1: + compat_size_t bufsz;
1: + compat_ulong_t mem;
1: + compat_size_t memsz;
1: +};
1: +
1: +enum migrate_reason {
1: + MR_COMPACTION = 0,
1: + MR_MEMORY_FAILURE = 1,
1: + MR_MEMORY_HOTPLUG = 2,
1: + MR_SYSCALL = 3,
1: + MR_MEMPOLICY_MBIND = 4,
1: + MR_NUMA_MISPLACED = 5,
1: + MR_CONTIG_RANGE = 6,
1: + MR_TYPES = 7,
1: +};
1: +
1: +typedef __kernel_ulong_t __kernel_ino_t;
1: +
1: +typedef __kernel_ino_t ino_t;
1: +
1: +enum fs_context_purpose {
1: + FS_CONTEXT_FOR_MOUNT = 0,
1: + FS_CONTEXT_FOR_SUBMOUNT = 1,
1: + FS_CONTEXT_FOR_RECONFIGURE = 2,
1: +};
1: +
1: +enum fs_context_phase {
1: + FS_CONTEXT_CREATE_PARAMS = 0,
1: + FS_CONTEXT_CREATING = 1,
1: + FS_CONTEXT_AWAITING_MOUNT = 2,
1: + FS_CONTEXT_AWAITING_RECONF = 3,
1: + FS_CONTEXT_RECONF_PARAMS = 4,
1: + FS_CONTEXT_RECONFIGURING = 5,
1: + FS_CONTEXT_FAILED = 6,
1: +};
1: +
1: +struct fs_context_operations;
1: +
1: +struct fc_log;
1: +
1: +struct fs_context {
1: + const struct fs_context_operations *ops;
1: + struct mutex uapi_mutex;
1: + struct file_system_type *fs_type;
1: + void *fs_private;
1: + void *sget_key;
1: + struct dentry *root;
1: + struct user_namespace *user_ns;
1: + struct net *net_ns;
1: + const struct cred *cred;
1: + struct fc_log *log;
1: + const char *source;
1: + void *security;
1: + void *s_fs_info;
1: + unsigned int sb_flags;
1: + unsigned int sb_flags_mask;
1: + unsigned int s_iflags;
1: + unsigned int lsm_flags;
1: + enum fs_context_purpose purpose: 8;
1: + enum fs_context_phase phase: 8;
1: + bool need_free: 1;
1: + bool global: 1;
1: +};
1: +
1: +enum kernfs_node_type {
1: + KERNFS_DIR = 1,
1: + KERNFS_FILE = 2,
1: + KERNFS_LINK = 4,
1: +};
1: +
1: +enum kernfs_root_flag {
1: + KERNFS_ROOT_CREATE_DEACTIVATED = 1,
1: + KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK = 2,
1: + KERNFS_ROOT_SUPPORT_EXPORTOP = 4,
1: +};
1: +
1: +struct kernfs_fs_context {
1: + struct kernfs_root *root;
1: + void *ns_tag;
1: + long unsigned int magic;
1: + bool new_sb_created;
1: +};
1: +
1: +enum {
1: + __PERCPU_REF_ATOMIC = 1,
1: + __PERCPU_REF_DEAD = 2,
1: + __PERCPU_REF_ATOMIC_DEAD = 3,
1: + __PERCPU_REF_FLAG_BITS = 2,
1: +};
1: +
1: +enum {
1: + CSS_NO_REF = 1,
1: + CSS_ONLINE = 2,
1: + CSS_RELEASED = 4,
1: + CSS_VISIBLE = 8,
1: + CSS_DYING = 16,
1: +};
1: +
1: +enum {
1: + CGRP_NOTIFY_ON_RELEASE = 0,
1: + CGRP_CPUSET_CLONE_CHILDREN = 1,
1: + CGRP_FREEZE = 2,
1: + CGRP_FROZEN = 3,
1: +};
1: +
1: +enum {
1: + CGRP_ROOT_NOPREFIX = 2,
1: + CGRP_ROOT_XATTR = 4,
1: + CGRP_ROOT_NS_DELEGATE = 8,
1: + CGRP_ROOT_CPUSET_V2_MODE = 16,
1: + CGRP_ROOT_MEMORY_LOCAL_EVENTS = 32,
1: +};
1: +
1: +struct cgroup_taskset {
1: + struct list_head src_csets;
1: + struct list_head dst_csets;
1: + int nr_tasks;
1: + int ssid;
1: + struct list_head *csets;
1: + struct css_set *cur_cset;
1: + struct task_struct *cur_task;
1: +};
1: +
1: +struct css_task_iter {
1: + struct cgroup_subsys *ss;
1: + unsigned int flags;
1: + struct list_head *cset_pos;
1: + struct list_head *cset_head;
1: + struct list_head *tcset_pos;
1: + struct list_head *tcset_head;
1: + struct list_head *task_pos;
1: + struct list_head *tasks_head;
1: + struct list_head *mg_tasks_head;
1: + struct list_head *dying_tasks_head;
1: + struct css_set *cur_cset;
1: + struct css_set *cur_dcset;
1: + struct task_struct *cur_task;
1: + struct list_head iters_node;
1: +};
1: +
1: +enum fs_value_type {
1: + fs_value_is_undefined = 0,
1: + fs_value_is_flag = 1,
1: + fs_value_is_string = 2,
1: + fs_value_is_blob = 3,
1: + fs_value_is_filename = 4,
1: + fs_value_is_filename_empty = 5,
1: + fs_value_is_file = 6,
1: +};
1: +
1: +struct fs_parameter {
1: + const char *key;
1: + enum fs_value_type type: 8;
1: + union {
1: + char *string;
1: + void *blob;
1: + struct filename *name;
1: + struct file *file;
1: + };
1: + size_t size;
1: + int dirfd;
1: +};
1: +
1: +struct fs_context_operations {
1: + void (*free)(struct fs_context *);
1: + int (*dup)(struct fs_context *, struct fs_context *);
1: + int (*parse_param)(struct fs_context *, struct fs_parameter *);
1: + int (*parse_monolithic)(struct fs_context *, void *);
1: + int (*get_tree)(struct fs_context *);
1: + int (*reconfigure)(struct fs_context *);
1: +};
1: +
1: +struct fc_log {
1: + refcount_t usage;
1: + u8 head;
1: + u8 tail;
1: + u8 need_free;
1: + struct module *owner;
1: + char *buffer[8];
1: +};
1: +
1: +struct cgroup_fs_context {
1: + struct kernfs_fs_context kfc;
1: + struct cgroup_root *root;
1: + struct cgroup_namespace *ns;
1: + unsigned int flags;
1: + bool cpuset_clone_children;
1: + bool none;
1: + bool all_ss;
1: + u16 subsys_mask;
1: + char *name;
1: + char *release_agent;
1: +};
1: +
1: +struct cgrp_cset_link {
1: + struct cgroup *cgrp;
1: + struct css_set *cset;
1: + struct list_head cset_link;
1: + struct list_head cgrp_link;
1: +};
1: +
1: +struct cgroup_mgctx {
1: + struct list_head preloaded_src_csets;
1: + struct list_head preloaded_dst_csets;
1: + struct cgroup_taskset tset;
1: + u16 ss_mask;
1: +};
1: +
1: +enum fs_parameter_type {
1: + __fs_param_wasnt_defined = 0,
1: + fs_param_is_flag = 1,
1: + fs_param_is_bool = 2,
1: + fs_param_is_u32 = 3,
1: + fs_param_is_u32_octal = 4,
1: + fs_param_is_u32_hex = 5,
1: + fs_param_is_s32 = 6,
1: + fs_param_is_u64 = 7,
1: + fs_param_is_enum = 8,
1: + fs_param_is_string = 9,
1: + fs_param_is_blob = 10,
1: + fs_param_is_blockdev = 11,
1: + fs_param_is_path = 12,
1: + fs_param_is_fd = 13,
1: + nr__fs_parameter_type = 14,
1: +};
1: +
1: +struct fs_parameter_spec {
1: + const char *name;
1: + u8 opt;
1: + enum fs_parameter_type type: 8;
1: + short unsigned int flags;
1: +};
1: +
1: +struct fs_parameter_enum {
1: + u8 opt;
1: + char name[14];
1: + u8 value;
1: +};
1: +
1: +struct fs_parse_result {
1: + bool negated;
1: + bool has_value;
1: + union {
1: + bool boolean;
1: + int int_32;
1: + unsigned int uint_32;
1: + u64 uint_64;
1: + };
1: +};
1: +
1: +struct trace_event_raw_cgroup_root {
1: + struct trace_entry ent;
1: + int root;
1: + u16 ss_mask;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cgroup {
1: + struct trace_entry ent;
1: + int root;
1: + int id;
1: + int level;
1: + u32 __data_loc_path;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cgroup_migrate {
1: + struct trace_entry ent;
1: + int dst_root;
1: + int dst_id;
1: + int dst_level;
1: + int pid;
1: + u32 __data_loc_dst_path;
1: + u32 __data_loc_comm;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cgroup_event {
1: + struct trace_entry ent;
1: + int root;
1: + int id;
1: + int level;
1: + u32 __data_loc_path;
1: + int val;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_cgroup_root {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_cgroup {
1: + u32 path;
1: +};
1: +
1: +struct trace_event_data_offsets_cgroup_migrate {
1: + u32 dst_path;
1: + u32 comm;
1: +};
1: +
1: +struct trace_event_data_offsets_cgroup_event {
1: + u32 path;
1: +};
1: +
1: +enum cgroup2_param {
1: + Opt_nsdelegate = 0,
1: + Opt_memory_localevents = 1,
1: + nr__cgroup2_params = 2,
1: +};
1: +
1: +struct cgroupstats {
1: + __u64 nr_sleeping;
1: + __u64 nr_running;
1: + __u64 nr_stopped;
1: + __u64 nr_uninterruptible;
1: + __u64 nr_io_wait;
1: +};
1: +
1: +enum cgroup_filetype {
1: + CGROUP_FILE_PROCS = 0,
1: + CGROUP_FILE_TASKS = 1,
1: +};
1: +
1: +struct cgroup_pidlist {
1: + struct {
1: + enum cgroup_filetype type;
1: + struct pid_namespace *ns;
1: + } key;
1: + pid_t *list;
1: + int length;
1: + struct list_head links;
1: + struct cgroup *owner;
1: + struct delayed_work destroy_dwork;
1: +};
1: +
1: +enum cgroup1_param {
1: + Opt_all = 0,
1: + Opt_clone_children = 1,
1: + Opt_cpuset_v2_mode = 2,
1: + Opt_name = 3,
1: + Opt_none = 4,
1: + Opt_noprefix = 5,
1: + Opt_release_agent = 6,
1: + Opt_xattr = 7,
1: +};
1: +
1: +enum freezer_state_flags {
1: + CGROUP_FREEZER_ONLINE = 1,
1: + CGROUP_FREEZING_SELF = 2,
1: + CGROUP_FREEZING_PARENT = 4,
1: + CGROUP_FROZEN = 8,
1: + CGROUP_FREEZING = 6,
1: +};
1: +
1: +struct freezer {
1: + struct cgroup_subsys_state css;
1: + unsigned int state;
1: +};
1: +
1: +struct fmeter {
1: + int cnt;
1: + int val;
1: + time64_t time;
1: + spinlock_t lock;
1: +};
1: +
1: +struct cpuset {
1: + struct cgroup_subsys_state css;
1: + long unsigned int flags;
1: + cpumask_var_t cpus_allowed;
1: + nodemask_t mems_allowed;
1: + cpumask_var_t effective_cpus;
1: + nodemask_t effective_mems;
1: + cpumask_var_t subparts_cpus;
1: + nodemask_t old_mems_allowed;
1: + struct fmeter fmeter;
1: + int attach_in_progress;
1: + int pn;
1: + int relax_domain_level;
1: + int nr_subparts_cpus;
1: + int partition_root_state;
1: + int use_parent_ecpus;
1: + int child_ecpus_count;
1: +};
1: +
1: +struct tmpmasks {
1: + cpumask_var_t addmask;
1: + cpumask_var_t delmask;
1: + cpumask_var_t new_cpus;
1: +};
1: +
1: +typedef enum {
1: + CS_ONLINE = 0,
1: + CS_CPU_EXCLUSIVE = 1,
1: + CS_MEM_EXCLUSIVE = 2,
1: + CS_MEM_HARDWALL = 3,
1: + CS_MEMORY_MIGRATE = 4,
1: + CS_SCHED_LOAD_BALANCE = 5,
1: + CS_SPREAD_PAGE = 6,
1: + CS_SPREAD_SLAB = 7,
1: +} cpuset_flagbits_t;
1: +
1: +enum subparts_cmd {
1: + partcmd_enable = 0,
1: + partcmd_disable = 1,
1: + partcmd_update = 2,
1: +};
1: +
1: +struct cpuset_migrate_mm_work {
1: + struct work_struct work;
1: + struct mm_struct *mm;
1: + nodemask_t from;
1: + nodemask_t to;
1: +};
1: +
1: +typedef enum {
1: + FILE_MEMORY_MIGRATE = 0,
1: + FILE_CPULIST = 1,
1: + FILE_MEMLIST = 2,
1: + FILE_EFFECTIVE_CPULIST = 3,
1: + FILE_EFFECTIVE_MEMLIST = 4,
1: + FILE_SUBPARTS_CPULIST = 5,
1: + FILE_CPU_EXCLUSIVE = 6,
1: + FILE_MEM_EXCLUSIVE = 7,
1: + FILE_MEM_HARDWALL = 8,
1: + FILE_SCHED_LOAD_BALANCE = 9,
1: + FILE_PARTITION_ROOT = 10,
1: + FILE_SCHED_RELAX_DOMAIN_LEVEL = 11,
1: + FILE_MEMORY_PRESSURE_ENABLED = 12,
1: + FILE_MEMORY_PRESSURE = 13,
1: + FILE_SPREAD_PAGE = 14,
1: + FILE_SPREAD_SLAB = 15,
1: +} cpuset_filetype_t;
1: +
1: +struct root_domain___2;
1: +
1: +struct cpu_stop_done {
1: + atomic_t nr_todo;
1: + int ret;
1: + struct completion completion;
1: +};
1: +
1: +struct cpu_stopper {
1: + struct task_struct *thread;
1: + raw_spinlock_t lock;
1: + bool enabled;
1: + struct list_head works;
1: + struct cpu_stop_work stop_work;
1: +};
1: +
1: +enum multi_stop_state {
1: + MULTI_STOP_NONE = 0,
1: + MULTI_STOP_PREPARE = 1,
1: + MULTI_STOP_DISABLE_IRQ = 2,
1: + MULTI_STOP_RUN = 3,
1: + MULTI_STOP_EXIT = 4,
1: +};
1: +
1: +struct multi_stop_data {
1: + cpu_stop_fn_t fn;
1: + void *data;
1: + unsigned int num_threads;
1: + const struct cpumask *active_cpus;
1: + enum multi_stop_state state;
1: + atomic_t thread_ack;
1: +};
1: +
1: +typedef int __kernel_mqd_t;
1: +
1: +typedef __kernel_mqd_t mqd_t;
1: +
1: +enum audit_state {
1: + AUDIT_DISABLED = 0,
1: + AUDIT_BUILD_CONTEXT = 1,
1: + AUDIT_RECORD_CONTEXT = 2,
1: +};
1: +
1: +struct audit_cap_data {
1: + kernel_cap_t permitted;
1: + kernel_cap_t inheritable;
1: + union {
1: + unsigned int fE;
1: + kernel_cap_t effective;
1: + };
1: + kernel_cap_t ambient;
1: + kuid_t rootid;
1: +};
1: +
1: +struct audit_names {
1: + struct list_head list;
1: + struct filename *name;
1: + int name_len;
1: + bool hidden;
1: + long unsigned int ino;
1: + dev_t dev;
1: + umode_t mode;
1: + kuid_t uid;
1: + kgid_t gid;
1: + dev_t rdev;
1: + u32 osid;
1: + struct audit_cap_data fcap;
1: + unsigned int fcap_ver;
1: + unsigned char type;
1: + bool should_free;
1: +};
1: +
1: +struct mq_attr {
1: + __kernel_long_t mq_flags;
1: + __kernel_long_t mq_maxmsg;
1: + __kernel_long_t mq_msgsize;
1: + __kernel_long_t mq_curmsgs;
1: + __kernel_long_t __reserved[4];
1: +};
1: +
1: +struct audit_proctitle {
1: + int len;
1: + char *value;
1: +};
1: +
1: +struct audit_aux_data;
1: +
1: +struct __kernel_sockaddr_storage;
1: +
1: +struct audit_tree_refs;
1: +
1: +struct audit_context {
1: + int dummy;
1: + int in_syscall;
1: + enum audit_state state;
1: + enum audit_state current_state;
1: + unsigned int serial;
1: + int major;
1: + struct timespec64 ctime;
1: + long unsigned int argv[4];
1: + long int return_code;
1: + u64 prio;
1: + int return_valid;
1: + struct audit_names preallocated_names[5];
1: + int name_count;
1: + struct list_head names_list;
1: + char *filterkey;
1: + struct path pwd;
1: + struct audit_aux_data *aux;
1: + struct audit_aux_data *aux_pids;
1: + struct __kernel_sockaddr_storage *sockaddr;
1: + size_t sockaddr_len;
1: + pid_t pid;
1: + pid_t ppid;
1: + kuid_t uid;
1: + kuid_t euid;
1: + kuid_t suid;
1: + kuid_t fsuid;
1: + kgid_t gid;
1: + kgid_t egid;
1: + kgid_t sgid;
1: + kgid_t fsgid;
1: + long unsigned int personality;
1: + int arch;
1: + pid_t target_pid;
1: + kuid_t target_auid;
1: + kuid_t target_uid;
1: + unsigned int target_sessionid;
1: + u32 target_sid;
1: + char target_comm[16];
1: + struct audit_tree_refs *trees;
1: + struct audit_tree_refs *first_trees;
1: + struct list_head killed_trees;
1: + int tree_count;
1: + int type;
1: + union {
1: + struct {
1: + int nargs;
1: + long int args[6];
1: + } socketcall;
1: + struct {
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: + u32 osid;
1: + int has_perm;
1: + uid_t perm_uid;
1: + gid_t perm_gid;
1: + umode_t perm_mode;
1: + long unsigned int qbytes;
1: + } ipc;
1: + struct {
1: + mqd_t mqdes;
1: + struct mq_attr mqstat;
1: + } mq_getsetattr;
1: + struct {
1: + mqd_t mqdes;
1: + int sigev_signo;
1: + } mq_notify;
1: + struct {
1: + mqd_t mqdes;
1: + size_t msg_len;
1: + unsigned int msg_prio;
1: + struct timespec64 abs_timeout;
1: + } mq_sendrecv;
1: + struct {
1: + int oflag;
1: + umode_t mode;
1: + struct mq_attr attr;
1: + } mq_open;
1: + struct {
1: + pid_t pid;
1: + struct audit_cap_data cap;
1: + } capset;
1: + struct {
1: + int fd;
1: + int flags;
1: + } mmap;
1: + struct {
1: + int argc;
1: + } execve;
1: + struct {
1: + char *name;
1: + } module;
1: + };
1: + int fds[2];
1: + struct audit_proctitle proctitle;
1: +};
1: +
1: +enum audit_nlgrps {
1: + AUDIT_NLGRP_NONE = 0,
1: + AUDIT_NLGRP_READLOG = 1,
1: + __AUDIT_NLGRP_MAX = 2,
1: +};
1: +
1: +struct audit_status {
1: + __u32 mask;
1: + __u32 enabled;
1: + __u32 failure;
1: + __u32 pid;
1: + __u32 rate_limit;
1: + __u32 backlog_limit;
1: + __u32 lost;
1: + __u32 backlog;
1: + union {
1: + __u32 version;
1: + __u32 feature_bitmap;
1: + };
1: + __u32 backlog_wait_time;
1: +};
1: +
1: +struct audit_features {
1: + __u32 vers;
1: + __u32 mask;
1: + __u32 features;
1: + __u32 lock;
1: +};
1: +
1: +struct audit_tty_status {
1: + __u32 enabled;
1: + __u32 log_passwd;
1: +};
1: +
1: +struct audit_sig_info {
1: + uid_t uid;
1: + pid_t pid;
1: + char ctx[0];
1: +};
1: +
1: +struct __kernel_sockaddr_storage {
1: + union {
1: + struct {
1: + __kernel_sa_family_t ss_family;
1: + char __data[126];
1: + };
1: + void *__align;
1: + };
1: +};
1: +
1: +struct net_generic {
1: + union {
1: + struct {
1: + unsigned int len;
1: + struct callback_head rcu;
1: + } s;
1: + void *ptr[0];
1: + };
1: +};
1: +
1: +struct pernet_operations {
1: + struct list_head list;
1: + int (*init)(struct net *);
1: + void (*pre_exit)(struct net *);
1: + void (*exit)(struct net *);
1: + void (*exit_batch)(struct list_head *);
1: + unsigned int *id;
1: + size_t size;
1: +};
1: +
1: +struct scm_creds {
1: + u32 pid;
1: + kuid_t uid;
1: + kgid_t gid;
1: +};
1: +
1: +struct netlink_skb_parms {
1: + struct scm_creds creds;
1: + __u32 portid;
1: + __u32 dst_group;
1: + __u32 flags;
1: + struct sock *sk;
1: + bool nsid_is_set;
1: + int nsid;
1: +};
1: +
1: +struct netlink_kernel_cfg {
1: + unsigned int groups;
1: + unsigned int flags;
1: + void (*input)(struct sk_buff *);
1: + struct mutex *cb_mutex;
1: + int (*bind)(struct net *, int);
1: + void (*unbind)(struct net *, int);
1: + bool (*compare)(struct net *, struct sock *);
1: +};
1: +
1: +struct audit_netlink_list {
1: + __u32 portid;
1: + struct net *net;
1: + struct sk_buff_head q;
1: +};
1: +
1: +struct audit_net {
1: + struct sock *sk;
1: +};
1: +
1: +struct auditd_connection {
1: + struct pid *pid;
1: + u32 portid;
1: + struct net *net;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct audit_ctl_mutex {
1: + struct mutex lock;
1: + void *owner;
1: +};
1: +
1: +struct audit_buffer {
1: + struct sk_buff *skb;
1: + struct audit_context *ctx;
1: + gfp_t gfp_mask;
1: +};
1: +
1: +struct audit_reply {
1: + __u32 portid;
1: + struct net *net;
1: + struct sk_buff *skb;
1: +};
1: +
1: +enum {
1: + Audit_equal = 0,
1: + Audit_not_equal = 1,
1: + Audit_bitmask = 2,
1: + Audit_bittest = 3,
1: + Audit_lt = 4,
1: + Audit_gt = 5,
1: + Audit_le = 6,
1: + Audit_ge = 7,
1: + Audit_bad = 8,
1: +};
1: +
1: +struct audit_rule_data {
1: + __u32 flags;
1: + __u32 action;
1: + __u32 field_count;
1: + __u32 mask[64];
1: + __u32 fields[64];
1: + __u32 values[64];
1: + __u32 fieldflags[64];
1: + __u32 buflen;
1: + char buf[0];
1: +};
1: +
1: +struct audit_field;
1: +
1: +struct audit_watch;
1: +
1: +struct audit_tree;
1: +
1: +struct audit_fsnotify_mark;
1: +
1: +struct audit_krule {
1: + u32 pflags;
1: + u32 flags;
1: + u32 listnr;
1: + u32 action;
1: + u32 mask[64];
1: + u32 buflen;
1: + u32 field_count;
1: + char *filterkey;
1: + struct audit_field *fields;
1: + struct audit_field *arch_f;
1: + struct audit_field *inode_f;
1: + struct audit_watch *watch;
1: + struct audit_tree *tree;
1: + struct audit_fsnotify_mark *exe;
1: + struct list_head rlist;
1: + struct list_head list;
1: + u64 prio;
1: +};
1: +
1: +struct audit_field {
1: + u32 type;
1: + union {
1: + u32 val;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct {
1: + char *lsm_str;
1: + void *lsm_rule;
1: + };
1: + };
1: + u32 op;
1: +};
1: +
1: +struct audit_entry {
1: + struct list_head list;
1: + struct callback_head rcu;
1: + struct audit_krule rule;
1: +};
1: +
1: +struct audit_buffer___2;
1: +
1: +typedef int __kernel_key_t;
1: +
1: +typedef __kernel_key_t key_t;
1: +
1: +struct cpu_vfs_cap_data {
1: + __u32 magic_etc;
1: + kernel_cap_t permitted;
1: + kernel_cap_t inheritable;
1: + kuid_t rootid;
1: +};
1: +
1: +struct kern_ipc_perm {
1: + spinlock_t lock;
1: + bool deleted;
1: + int id;
1: + key_t key;
1: + kuid_t uid;
1: + kgid_t gid;
1: + kuid_t cuid;
1: + kgid_t cgid;
1: + umode_t mode;
1: + long unsigned int seq;
1: + void *security;
1: + struct rhash_head khtnode;
1: + struct callback_head rcu;
1: + refcount_t refcount;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +typedef struct fsnotify_mark_connector *fsnotify_connp_t;
1: +
1: +struct fsnotify_mark_connector {
1: + spinlock_t lock;
1: + short unsigned int type;
1: + short unsigned int flags;
1: + __kernel_fsid_t fsid;
1: + union {
1: + fsnotify_connp_t *obj;
1: + struct fsnotify_mark_connector *destroy_next;
1: + };
1: + struct hlist_head list;
1: +};
1: +
1: +enum fsnotify_obj_type {
1: + FSNOTIFY_OBJ_TYPE_INODE = 0,
1: + FSNOTIFY_OBJ_TYPE_VFSMOUNT = 1,
1: + FSNOTIFY_OBJ_TYPE_SB = 2,
1: + FSNOTIFY_OBJ_TYPE_COUNT = 3,
1: + FSNOTIFY_OBJ_TYPE_DETACHED = 3,
1: +};
1: +
1: +struct audit_aux_data {
1: + struct audit_aux_data *next;
1: + int type;
1: +};
1: +
1: +struct audit_chunk;
1: +
1: +struct audit_tree_refs {
1: + struct audit_tree_refs *next;
1: + struct audit_chunk *c[31];
1: +};
1: +
1: +struct audit_aux_data_pids {
1: + struct audit_aux_data d;
1: + pid_t target_pid[16];
1: + kuid_t target_auid[16];
1: + kuid_t target_uid[16];
1: + unsigned int target_sessionid[16];
1: + u32 target_sid[16];
1: + char target_comm[256];
1: + int pid_count;
1: +};
1: +
1: +struct audit_aux_data_bprm_fcaps {
1: + struct audit_aux_data d;
1: + struct audit_cap_data fcap;
1: + unsigned int fcap_ver;
1: + struct audit_cap_data old_pcap;
1: + struct audit_cap_data new_pcap;
1: +};
1: +
1: +struct audit_parent;
1: +
1: +struct audit_watch {
1: + refcount_t count;
1: + dev_t dev;
1: + char *path;
1: + long unsigned int ino;
1: + struct audit_parent *parent;
1: + struct list_head wlist;
1: + struct list_head rules;
1: +};
1: +
1: +struct fsnotify_group;
1: +
1: +struct fsnotify_iter_info;
1: +
1: +struct fsnotify_mark;
1: +
1: +struct fsnotify_event;
1: +
1: +struct fsnotify_ops {
1: + int (*handle_event)(struct fsnotify_group *, struct inode *, u32, const void *, int, const struct qstr *, u32, struct fsnotify_iter_info *);
1: + void (*free_group_priv)(struct fsnotify_group *);
1: + void (*freeing_mark)(struct fsnotify_mark *, struct fsnotify_group *);
1: + void (*free_event)(struct fsnotify_event *);
1: + void (*free_mark)(struct fsnotify_mark *);
1: +};
1: +
1: +struct inotify_group_private_data {
1: + spinlock_t idr_lock;
1: + struct idr idr;
1: + struct ucounts *ucounts;
1: +};
1: +
1: +struct fsnotify_group {
1: + const struct fsnotify_ops *ops;
1: + refcount_t refcnt;
1: + spinlock_t notification_lock;
1: + struct list_head notification_list;
1: + wait_queue_head_t notification_waitq;
1: + unsigned int q_len;
1: + unsigned int max_events;
1: + unsigned int priority;
1: + bool shutdown;
1: + struct mutex mark_mutex;
1: + atomic_t num_marks;
1: + atomic_t user_waits;
1: + struct list_head marks_list;
1: + struct fasync_struct *fsn_fa;
1: + struct fsnotify_event *overflow_event;
1: + struct mem_cgroup *memcg;
1: + union {
1: + void *private;
1: + struct inotify_group_private_data inotify_data;
1: + };
1: +};
1: +
1: +struct fsnotify_iter_info {
1: + struct fsnotify_mark *marks[3];
1: + unsigned int report_mask;
1: + int srcu_idx;
1: +};
1: +
1: +struct fsnotify_mark {
1: + __u32 mask;
1: + refcount_t refcnt;
1: + struct fsnotify_group *group;
1: + struct list_head g_list;
1: + spinlock_t lock;
1: + struct hlist_node obj_list;
1: + struct fsnotify_mark_connector *connector;
1: + __u32 ignored_mask;
1: + unsigned int flags;
1: +};
1: +
1: +struct fsnotify_event {
1: + struct list_head list;
1: + struct inode *inode;
1: +};
1: +
1: +struct audit_parent {
1: + struct list_head watches;
1: + struct fsnotify_mark mark;
1: +};
1: +
1: +struct audit_fsnotify_mark {
1: + dev_t dev;
1: + long unsigned int ino;
1: + char *path;
1: + struct fsnotify_mark mark;
1: + struct audit_krule *rule;
1: +};
1: +
1: +struct audit_chunk___2;
1: +
1: +struct audit_tree {
1: + refcount_t count;
1: + int goner;
1: + struct audit_chunk___2 *root;
1: + struct list_head chunks;
1: + struct list_head rules;
1: + struct list_head list;
1: + struct list_head same_root;
1: + struct callback_head head;
1: + char pathname[0];
1: +};
1: +
1: +struct node {
1: + struct list_head list;
1: + struct audit_tree *owner;
1: + unsigned int index;
1: +};
1: +
1: +struct audit_chunk___2 {
1: + struct list_head hash;
1: + long unsigned int key;
1: + struct fsnotify_mark *mark;
1: + struct list_head trees;
1: + int count;
1: + atomic_long_t refs;
1: + struct callback_head head;
1: + struct node owners[0];
1: +};
1: +
1: +struct audit_tree_mark {
1: + struct fsnotify_mark mark;
1: + struct audit_chunk___2 *chunk;
1: +};
1: +
1: +enum {
1: + HASH_SIZE = 128,
1: +};
1: +
1: +struct kprobe_blacklist_entry {
1: + struct list_head list;
1: + long unsigned int start_addr;
1: + long unsigned int end_addr;
1: +};
1: +
1: +struct kprobe_insn_page {
1: + struct list_head list;
1: + kprobe_opcode_t *insns;
1: + struct kprobe_insn_cache *cache;
1: + int nused;
1: + int ngarbage;
1: + char slot_used[0];
1: +};
1: +
1: +enum kprobe_slot_state {
1: + SLOT_CLEAN = 0,
1: + SLOT_DIRTY = 1,
1: + SLOT_USED = 2,
1: +};
1: +
1: +struct seccomp_notif_sizes {
1: + __u16 seccomp_notif;
1: + __u16 seccomp_notif_resp;
1: + __u16 seccomp_data;
1: +};
1: +
1: +struct seccomp_notif {
1: + __u64 id;
1: + __u32 pid;
1: + __u32 flags;
1: + struct seccomp_data data;
1: +};
1: +
1: +struct seccomp_notif_resp {
1: + __u64 id;
1: + __s64 val;
1: + __s32 error;
1: + __u32 flags;
1: +};
1: +
1: +struct notification;
1: +
1: +struct seccomp_filter {
1: + refcount_t usage;
1: + bool log;
1: + struct seccomp_filter *prev;
1: + struct bpf_prog *prog;
1: + struct notification *notif;
1: + struct mutex notify_lock;
1: +};
1: +
1: +struct ctl_path {
1: + const char *procname;
1: +};
1: +
1: +struct sock_fprog {
1: + short unsigned int len;
1: + struct sock_filter *filter;
1: +};
1: +
1: +struct compat_sock_fprog {
1: + u16 len;
1: + compat_uptr_t filter;
1: +};
1: +
1: +typedef int (*bpf_aux_classic_check_t)(struct sock_filter *, unsigned int);
1: +
1: +enum notify_state {
1: + SECCOMP_NOTIFY_INIT = 0,
1: + SECCOMP_NOTIFY_SENT = 1,
1: + SECCOMP_NOTIFY_REPLIED = 2,
1: +};
1: +
1: +struct seccomp_knotif {
1: + struct task_struct *task;
1: + u64 id;
1: + const struct seccomp_data *data;
1: + enum notify_state state;
1: + int error;
1: + long int val;
1: + u32 flags;
1: + struct completion ready;
1: + struct list_head list;
1: +};
1: +
1: +struct notification {
1: + struct semaphore request;
1: + u64 next_id;
1: + struct list_head notifications;
1: + wait_queue_head_t wqh;
1: +};
1: +
1: +struct seccomp_log_name {
1: + u32 log;
1: + const char *name;
1: +};
1: +
1: +struct rchan;
1: +
1: +struct rchan_buf {
1: + void *start;
1: + void *data;
1: + size_t offset;
1: + size_t subbufs_produced;
1: + size_t subbufs_consumed;
1: + struct rchan *chan;
1: + wait_queue_head_t read_wait;
1: + struct irq_work wakeup_work;
1: + struct dentry *dentry;
1: + struct kref kref;
1: + struct page **page_array;
1: + unsigned int page_count;
1: + unsigned int finalized;
1: + size_t *padding;
1: + size_t prev_padding;
1: + size_t bytes_consumed;
1: + size_t early_bytes;
1: + unsigned int cpu;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct rchan_callbacks;
1: +
1: +struct rchan {
1: + u32 version;
1: + size_t subbuf_size;
1: + size_t n_subbufs;
1: + size_t alloc_size;
1: + struct rchan_callbacks *cb;
1: + struct kref kref;
1: + void *private_data;
1: + size_t last_toobig;
1: + struct rchan_buf **buf;
1: + int is_global;
1: + struct list_head list;
1: + struct dentry *parent;
1: + int has_base_filename;
1: + char base_filename[255];
1: +};
1: +
1: +struct rchan_callbacks {
1: + int (*subbuf_start)(struct rchan_buf *, void *, void *, size_t);
1: + void (*buf_mapped)(struct rchan_buf *, struct file *);
1: + void (*buf_unmapped)(struct rchan_buf *, struct file *);
1: + struct dentry * (*create_buf_file)(const char *, struct dentry *, umode_t, struct rchan_buf *, int *);
1: + int (*remove_buf_file)(struct dentry *);
1: +};
1: +
1: +struct partial_page {
1: + unsigned int offset;
1: + unsigned int len;
1: + long unsigned int private;
1: +};
1: +
1: +struct splice_pipe_desc {
1: + struct page **pages;
1: + struct partial_page *partial;
1: + int nr_pages;
1: + unsigned int nr_pages_max;
1: + const struct pipe_buf_operations *ops;
1: + void (*spd_release)(struct splice_pipe_desc *, unsigned int);
1: +};
1: +
1: +struct rchan_percpu_buf_dispatcher {
1: + struct rchan_buf *buf;
1: + struct dentry *dentry;
1: +};
1: +
1: +enum {
1: + TASKSTATS_TYPE_UNSPEC = 0,
1: + TASKSTATS_TYPE_PID = 1,
1: + TASKSTATS_TYPE_TGID = 2,
1: + TASKSTATS_TYPE_STATS = 3,
1: + TASKSTATS_TYPE_AGGR_PID = 4,
1: + TASKSTATS_TYPE_AGGR_TGID = 5,
1: + TASKSTATS_TYPE_NULL = 6,
1: + __TASKSTATS_TYPE_MAX = 7,
1: +};
1: +
1: +enum {
1: + TASKSTATS_CMD_ATTR_UNSPEC = 0,
1: + TASKSTATS_CMD_ATTR_PID = 1,
1: + TASKSTATS_CMD_ATTR_TGID = 2,
1: + TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 3,
1: + TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 4,
1: + __TASKSTATS_CMD_ATTR_MAX = 5,
1: +};
1: +
1: +enum {
1: + CGROUPSTATS_CMD_UNSPEC = 3,
1: + CGROUPSTATS_CMD_GET = 4,
1: + CGROUPSTATS_CMD_NEW = 5,
1: + __CGROUPSTATS_CMD_MAX = 6,
1: +};
1: +
1: +enum {
1: + CGROUPSTATS_TYPE_UNSPEC = 0,
1: + CGROUPSTATS_TYPE_CGROUP_STATS = 1,
1: + __CGROUPSTATS_TYPE_MAX = 2,
1: +};
1: +
1: +enum {
1: + CGROUPSTATS_CMD_ATTR_UNSPEC = 0,
1: + CGROUPSTATS_CMD_ATTR_FD = 1,
1: + __CGROUPSTATS_CMD_ATTR_MAX = 2,
1: +};
1: +
1: +struct genlmsghdr {
1: + __u8 cmd;
1: + __u8 version;
1: + __u16 reserved;
1: +};
1: +
1: +enum {
1: + NLA_UNSPEC = 0,
1: + NLA_U8 = 1,
1: + NLA_U16 = 2,
1: + NLA_U32 = 3,
1: + NLA_U64 = 4,
1: + NLA_STRING = 5,
1: + NLA_FLAG = 6,
1: + NLA_MSECS = 7,
1: + NLA_NESTED = 8,
1: + NLA_NESTED_ARRAY = 9,
1: + NLA_NUL_STRING = 10,
1: + NLA_BINARY = 11,
1: + NLA_S8 = 12,
1: + NLA_S16 = 13,
1: + NLA_S32 = 14,
1: + NLA_S64 = 15,
1: + NLA_BITFIELD32 = 16,
1: + NLA_REJECT = 17,
1: + NLA_EXACT_LEN = 18,
1: + NLA_EXACT_LEN_WARN = 19,
1: + NLA_MIN_LEN = 20,
1: + __NLA_TYPE_MAX = 21,
1: +};
1: +
1: +enum netlink_validation {
1: + NL_VALIDATE_LIBERAL = 0,
1: + NL_VALIDATE_TRAILING = 1,
1: + NL_VALIDATE_MAXTYPE = 2,
1: + NL_VALIDATE_UNSPEC = 4,
1: + NL_VALIDATE_STRICT_ATTRS = 8,
1: + NL_VALIDATE_NESTED = 16,
1: +};
1: +
1: +struct genl_multicast_group {
1: + char name[16];
1: +};
1: +
1: +struct genl_ops;
1: +
1: +struct genl_info;
1: +
1: +struct genl_family {
1: + int id;
1: + unsigned int hdrsize;
1: + char name[16];
1: + unsigned int version;
1: + unsigned int maxattr;
1: + bool netnsok;
1: + bool parallel_ops;
1: + const struct nla_policy *policy;
1: + int (*pre_doit)(const struct genl_ops *, struct sk_buff *, struct genl_info *);
1: + void (*post_doit)(const struct genl_ops *, struct sk_buff *, struct genl_info *);
1: + int (*mcast_bind)(struct net *, int);
1: + void (*mcast_unbind)(struct net *, int);
1: + struct nlattr **attrbuf;
1: + const struct genl_ops *ops;
1: + const struct genl_multicast_group *mcgrps;
1: + unsigned int n_ops;
1: + unsigned int n_mcgrps;
1: + unsigned int mcgrp_offset;
1: + struct module *module;
1: +};
1: +
1: +struct genl_ops {
1: + int (*doit)(struct sk_buff *, struct genl_info *);
1: + int (*start)(struct netlink_callback *);
1: + int (*dumpit)(struct sk_buff *, struct netlink_callback *);
1: + int (*done)(struct netlink_callback *);
1: + u8 cmd;
1: + u8 internal_flags;
1: + u8 flags;
1: + u8 validate;
1: +};
1: +
1: +struct genl_info {
1: + u32 snd_seq;
1: + u32 snd_portid;
1: + struct nlmsghdr *nlhdr;
1: + struct genlmsghdr *genlhdr;
1: + void *userhdr;
1: + struct nlattr **attrs;
1: + possible_net_t _net;
1: + void *user_ptr[2];
1: + struct netlink_ext_ack *extack;
1: +};
1: +
1: +enum genl_validate_flags {
1: + GENL_DONT_VALIDATE_STRICT = 1,
1: + GENL_DONT_VALIDATE_DUMP = 2,
1: + GENL_DONT_VALIDATE_DUMP_STRICT = 4,
1: +};
1: +
1: +struct listener {
1: + struct list_head list;
1: + pid_t pid;
1: + char valid;
1: +};
1: +
1: +struct listener_list {
1: + struct rw_semaphore sem;
1: + struct list_head list;
1: +};
1: +
1: +enum actions {
1: + REGISTER = 0,
1: + DEREGISTER = 1,
1: + CPU_DONT_CARE = 2,
1: +};
1: +
1: +struct tp_module {
1: + struct list_head list;
1: + struct module *mod;
1: +};
1: +
1: +struct tp_probes {
1: + struct callback_head rcu;
1: + struct tracepoint_func probes[0];
1: +};
1: +
1: +enum ring_buffer_type {
1: + RINGBUF_TYPE_DATA_TYPE_LEN_MAX = 28,
1: + RINGBUF_TYPE_PADDING = 29,
1: + RINGBUF_TYPE_TIME_EXTEND = 30,
1: + RINGBUF_TYPE_TIME_STAMP = 31,
1: +};
1: +
1: +enum ring_buffer_flags {
1: + RB_FL_OVERWRITE = 1,
1: +};
1: +
1: +struct rb_irq_work {
1: + struct irq_work work;
1: + wait_queue_head_t waiters;
1: + wait_queue_head_t full_waiters;
1: + bool waiters_pending;
1: + bool full_waiters_pending;
1: + bool wakeup_full;
1: +};
1: +
1: +struct ring_buffer_per_cpu;
1: +
1: +struct ring_buffer {
1: + unsigned int flags;
1: + int cpus;
1: + atomic_t record_disabled;
1: + atomic_t resize_disabled;
1: + cpumask_var_t cpumask;
1: + struct lock_class_key *reader_lock_key;
1: + struct mutex mutex;
1: + struct ring_buffer_per_cpu **buffers;
1: + struct hlist_node node;
1: + u64 (*clock)();
1: + struct rb_irq_work irq_work;
1: + bool time_stamp_abs;
1: +};
1: +
1: +struct buffer_page;
1: +
1: +struct ring_buffer_iter {
1: + struct ring_buffer_per_cpu *cpu_buffer;
1: + long unsigned int head;
1: + struct buffer_page *head_page;
1: + struct buffer_page *cache_reader_page;
1: + long unsigned int cache_read;
1: + u64 read_stamp;
1: +};
1: +
1: +enum {
1: + RB_LEN_TIME_EXTEND = 8,
1: + RB_LEN_TIME_STAMP = 8,
1: +};
1: +
1: +struct buffer_data_page {
1: + u64 time_stamp;
1: + local_t commit;
1: + unsigned char data[0];
1: +};
1: +
1: +struct buffer_page {
1: + struct list_head list;
1: + local_t write;
1: + unsigned int read;
1: + local_t entries;
1: + long unsigned int real_end;
1: + struct buffer_data_page *page;
1: +};
1: +
1: +struct rb_event_info {
1: + u64 ts;
1: + u64 delta;
1: + long unsigned int length;
1: + struct buffer_page *tail_page;
1: + int add_timestamp;
1: +};
1: +
1: +enum {
1: + RB_CTX_NMI = 0,
1: + RB_CTX_IRQ = 1,
1: + RB_CTX_SOFTIRQ = 2,
1: + RB_CTX_NORMAL = 3,
1: + RB_CTX_MAX = 4,
1: +};
1: +
1: +struct ring_buffer_per_cpu {
1: + int cpu;
1: + atomic_t record_disabled;
1: + struct ring_buffer *buffer;
1: + raw_spinlock_t reader_lock;
1: + arch_spinlock_t lock;
1: + struct lock_class_key lock_key;
1: + struct buffer_data_page *free_page;
1: + long unsigned int nr_pages;
1: + unsigned int current_context;
1: + struct list_head *pages;
1: + struct buffer_page *head_page;
1: + struct buffer_page *tail_page;
1: + struct buffer_page *commit_page;
1: + struct buffer_page *reader_page;
1: + long unsigned int lost_events;
1: + long unsigned int last_overrun;
1: + long unsigned int nest;
1: + local_t entries_bytes;
1: + local_t entries;
1: + local_t overrun;
1: + local_t commit_overrun;
1: + local_t dropped_events;
1: + local_t committing;
1: + local_t commits;
1: + local_t pages_touched;
1: + local_t pages_read;
1: + long int last_pages_touch;
1: + size_t shortest_full;
1: + long unsigned int read;
1: + long unsigned int read_bytes;
1: + u64 write_stamp;
1: + u64 read_stamp;
1: + long int nr_pages_to_update;
1: + struct list_head new_pages;
1: + struct work_struct update_pages_work;
1: + struct completion update_done;
1: + struct rb_irq_work irq_work;
1: +};
1: +
1: +typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *);
1: +
1: +struct trace_export {
1: + struct trace_export *next;
1: + void (*write)(struct trace_export *, const void *, unsigned int);
1: +};
1: +
1: +struct prog_entry;
1: +
1: +struct event_filter {
1: + struct prog_entry *prog;
1: + char *filter_string;
1: +};
1: +
1: +struct trace_array_cpu;
1: +
1: +struct trace_buffer {
1: + struct trace_array *tr;
1: + struct ring_buffer *buffer;
1: + struct trace_array_cpu *data;
1: + u64 time_start;
1: + int cpu;
1: +};
1: +
1: +struct trace_pid_list;
1: +
1: +struct trace_options;
1: +
1: +struct trace_array {
1: + struct list_head list;
1: + char *name;
1: + struct trace_buffer trace_buffer;
1: + struct trace_pid_list *filtered_pids;
1: + arch_spinlock_t max_lock;
1: + int buffer_disabled;
1: + int stop_count;
1: + int clock_id;
1: + int nr_topts;
1: + bool clear_trace;
1: + int buffer_percent;
1: + unsigned int n_err_log_entries;
1: + struct tracer *current_trace;
1: + unsigned int trace_flags;
1: + unsigned char trace_flags_index[32];
1: + unsigned int flags;
1: + raw_spinlock_t start_lock;
1: + struct list_head err_log;
1: + struct dentry *dir;
1: + struct dentry *options;
1: + struct dentry *percpu_dir;
1: + struct dentry *event_dir;
1: + struct trace_options *topts;
1: + struct list_head systems;
1: + struct list_head events;
1: + struct trace_event_file *trace_marker_file;
1: + cpumask_var_t tracing_cpumask;
1: + int ref;
1: + int time_stamp_abs_ref;
1: + struct list_head hist_vars;
1: +};
1: +
1: +struct tracer_flags;
1: +
1: +struct tracer {
1: + const char *name;
1: + int (*init)(struct trace_array *);
1: + void (*reset)(struct trace_array *);
1: + void (*start)(struct trace_array *);
1: + void (*stop)(struct trace_array *);
1: + int (*update_thresh)(struct trace_array *);
1: + void (*open)(struct trace_iterator *);
1: + void (*pipe_open)(struct trace_iterator *);
1: + void (*close)(struct trace_iterator *);
1: + void (*pipe_close)(struct trace_iterator *);
1: + ssize_t (*read)(struct trace_iterator *, struct file *, char *, size_t, loff_t *);
1: + ssize_t (*splice_read)(struct trace_iterator *, struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1: + void (*print_header)(struct seq_file *);
1: + enum print_line_t (*print_line)(struct trace_iterator *);
1: + int (*set_flag)(struct trace_array *, u32, u32, int);
1: + int (*flag_changed)(struct trace_array *, u32, int);
1: + struct tracer *next;
1: + struct tracer_flags *flags;
1: + int enabled;
1: + int ref;
1: + bool print_max;
1: + bool allow_instances;
1: + bool noboot;
1: +};
1: +
1: +enum trace_iter_flags {
1: + TRACE_FILE_LAT_FMT = 1,
1: + TRACE_FILE_ANNOTATE = 2,
1: + TRACE_FILE_TIME_IN_NS = 4,
1: +};
1: +
1: +struct event_subsystem;
1: +
1: +struct trace_subsystem_dir {
1: + struct list_head list;
1: + struct event_subsystem *subsystem;
1: + struct trace_array *tr;
1: + struct dentry *entry;
1: + int ref_count;
1: + int nr_events;
1: +};
1: +
1: +enum trace_type {
1: + __TRACE_FIRST_TYPE = 0,
1: + TRACE_FN = 1,
1: + TRACE_CTX = 2,
1: + TRACE_WAKE = 3,
1: + TRACE_STACK = 4,
1: + TRACE_PRINT = 5,
1: + TRACE_BPRINT = 6,
1: + TRACE_MMIO_RW = 7,
1: + TRACE_MMIO_MAP = 8,
1: + TRACE_BRANCH = 9,
1: + TRACE_GRAPH_RET = 10,
1: + TRACE_GRAPH_ENT = 11,
1: + TRACE_USER_STACK = 12,
1: + TRACE_BLK = 13,
1: + TRACE_BPUTS = 14,
1: + TRACE_HWLAT = 15,
1: + TRACE_RAW_DATA = 16,
1: + __TRACE_LAST_TYPE = 17,
1: +};
1: +
1: +struct ftrace_entry {
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + long unsigned int parent_ip;
1: +};
1: +
1: +struct stack_entry {
1: + struct trace_entry ent;
1: + int size;
1: + long unsigned int caller[0];
1: +};
1: +
1: +struct userstack_entry {
1: + struct trace_entry ent;
1: + unsigned int tgid;
1: + long unsigned int caller[8];
1: +};
1: +
1: +struct bprint_entry {
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + const char *fmt;
1: + u32 buf[0];
1: +};
1: +
1: +struct print_entry {
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + char buf[0];
1: +};
1: +
1: +struct raw_data_entry {
1: + struct trace_entry ent;
1: + unsigned int id;
1: + char buf[0];
1: +};
1: +
1: +struct bputs_entry {
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + const char *str;
1: +};
1: +
1: +enum trace_flag_type {
1: + TRACE_FLAG_IRQS_OFF = 1,
1: + TRACE_FLAG_IRQS_NOSUPPORT = 2,
1: + TRACE_FLAG_NEED_RESCHED = 4,
1: + TRACE_FLAG_HARDIRQ = 8,
1: + TRACE_FLAG_SOFTIRQ = 16,
1: + TRACE_FLAG_PREEMPT_RESCHED = 32,
1: + TRACE_FLAG_NMI = 64,
1: +};
1: +
1: +struct trace_array_cpu {
1: + atomic_t disabled;
1: + void *buffer_page;
1: + long unsigned int entries;
1: + long unsigned int saved_latency;
1: + long unsigned int critical_start;
1: + long unsigned int critical_end;
1: + long unsigned int critical_sequence;
1: + long unsigned int nice;
1: + long unsigned int policy;
1: + long unsigned int rt_priority;
1: + long unsigned int skipped_entries;
1: + u64 preempt_timestamp;
1: + pid_t pid;
1: + kuid_t uid;
1: + char comm[16];
1: + bool ignore_pid;
1: +};
1: +
1: +struct trace_option_dentry;
1: +
1: +struct trace_options {
1: + struct tracer *tracer;
1: + struct trace_option_dentry *topts;
1: +};
1: +
1: +struct tracer_opt;
1: +
1: +struct trace_option_dentry {
1: + struct tracer_opt *opt;
1: + struct tracer_flags *flags;
1: + struct trace_array *tr;
1: + struct dentry *entry;
1: +};
1: +
1: +struct trace_pid_list {
1: + int pid_max;
1: + long unsigned int *pids;
1: +};
1: +
1: +typedef bool (*cond_update_fn_t)(struct trace_array *, void *);
1: +
1: +enum {
1: + TRACE_ARRAY_FL_GLOBAL = 1,
1: +};
1: +
1: +struct tracer_opt {
1: + const char *name;
1: + u32 bit;
1: +};
1: +
1: +struct tracer_flags {
1: + u32 val;
1: + struct tracer_opt *opts;
1: + struct tracer *trace;
1: +};
1: +
1: +struct trace_parser {
1: + bool cont;
1: + char *buffer;
1: + unsigned int idx;
1: + unsigned int size;
1: +};
1: +
1: +enum trace_iterator_bits {
1: + TRACE_ITER_PRINT_PARENT_BIT = 0,
1: + TRACE_ITER_SYM_OFFSET_BIT = 1,
1: + TRACE_ITER_SYM_ADDR_BIT = 2,
1: + TRACE_ITER_VERBOSE_BIT = 3,
1: + TRACE_ITER_RAW_BIT = 4,
1: + TRACE_ITER_HEX_BIT = 5,
1: + TRACE_ITER_BIN_BIT = 6,
1: + TRACE_ITER_BLOCK_BIT = 7,
1: + TRACE_ITER_PRINTK_BIT = 8,
1: + TRACE_ITER_ANNOTATE_BIT = 9,
1: + TRACE_ITER_USERSTACKTRACE_BIT = 10,
1: + TRACE_ITER_SYM_USEROBJ_BIT = 11,
1: + TRACE_ITER_PRINTK_MSGONLY_BIT = 12,
1: + TRACE_ITER_CONTEXT_INFO_BIT = 13,
1: + TRACE_ITER_LATENCY_FMT_BIT = 14,
1: + TRACE_ITER_RECORD_CMD_BIT = 15,
1: + TRACE_ITER_RECORD_TGID_BIT = 16,
1: + TRACE_ITER_OVERWRITE_BIT = 17,
1: + TRACE_ITER_STOP_ON_FREE_BIT = 18,
1: + TRACE_ITER_IRQ_INFO_BIT = 19,
1: + TRACE_ITER_MARKERS_BIT = 20,
1: + TRACE_ITER_EVENT_FORK_BIT = 21,
1: + TRACE_ITER_STACKTRACE_BIT = 22,
1: + TRACE_ITER_LAST_BIT = 23,
1: +};
1: +
1: +enum trace_iterator_flags {
1: + TRACE_ITER_PRINT_PARENT = 1,
1: + TRACE_ITER_SYM_OFFSET = 2,
1: + TRACE_ITER_SYM_ADDR = 4,
1: + TRACE_ITER_VERBOSE = 8,
1: + TRACE_ITER_RAW = 16,
1: + TRACE_ITER_HEX = 32,
1: + TRACE_ITER_BIN = 64,
1: + TRACE_ITER_BLOCK = 128,
1: + TRACE_ITER_PRINTK = 256,
1: + TRACE_ITER_ANNOTATE = 512,
1: + TRACE_ITER_USERSTACKTRACE = 1024,
1: + TRACE_ITER_SYM_USEROBJ = 2048,
1: + TRACE_ITER_PRINTK_MSGONLY = 4096,
1: + TRACE_ITER_CONTEXT_INFO = 8192,
1: + TRACE_ITER_LATENCY_FMT = 16384,
1: + TRACE_ITER_RECORD_CMD = 32768,
1: + TRACE_ITER_RECORD_TGID = 65536,
1: + TRACE_ITER_OVERWRITE = 131072,
1: + TRACE_ITER_STOP_ON_FREE = 262144,
1: + TRACE_ITER_IRQ_INFO = 524288,
1: + TRACE_ITER_MARKERS = 1048576,
1: + TRACE_ITER_EVENT_FORK = 2097152,
1: + TRACE_ITER_STACKTRACE = 4194304,
1: +};
1: +
1: +struct event_subsystem {
1: + struct list_head list;
1: + const char *name;
1: + struct event_filter *filter;
1: + int ref_count;
1: +};
1: +
1: +struct saved_cmdlines_buffer {
1: + unsigned int map_pid_to_cmdline[32769];
1: + unsigned int *map_cmdline_to_pid;
1: + unsigned int cmdline_num;
1: + int cmdline_idx;
1: + char *saved_cmdlines;
1: +};
1: +
1: +struct ftrace_stack {
1: + long unsigned int calls[1024];
1: +};
1: +
1: +struct ftrace_stacks {
1: + struct ftrace_stack stacks[4];
1: +};
1: +
1: +struct trace_buffer_struct {
1: + int nesting;
1: + char buffer[4096];
1: +};
1: +
1: +struct ftrace_buffer_info {
1: + struct trace_iterator iter;
1: + void *spare;
1: + unsigned int spare_cpu;
1: + unsigned int read;
1: +};
1: +
1: +struct err_info {
1: + const char **errs;
1: + u8 type;
1: + u8 pos;
1: + u64 ts;
1: +};
1: +
1: +struct tracing_log_err {
1: + struct list_head list;
1: + struct err_info info;
1: + char loc[128];
1: + char cmd[256];
1: +};
1: +
1: +struct buffer_ref {
1: + struct ring_buffer *buffer;
1: + void *page;
1: + int cpu;
1: + refcount_t refcount;
1: +};
1: +
1: +struct ctx_switch_entry {
1: + struct trace_entry ent;
1: + unsigned int prev_pid;
1: + unsigned int next_pid;
1: + unsigned int next_cpu;
1: + unsigned char prev_prio;
1: + unsigned char prev_state;
1: + unsigned char next_prio;
1: + unsigned char next_state;
1: +};
1: +
1: +struct hwlat_entry {
1: + struct trace_entry ent;
1: + u64 duration;
1: + u64 outer_duration;
1: + u64 nmi_total_ts;
1: + struct timespec64 timestamp;
1: + unsigned int nmi_count;
1: + unsigned int seqnum;
1: +};
1: +
1: +struct trace_mark {
1: + long long unsigned int val;
1: + char sym;
1: +};
1: +
1: +struct tracer_stat {
1: + const char *name;
1: + void * (*stat_start)(struct tracer_stat *);
1: + void * (*stat_next)(void *, int);
1: + cmp_func_t stat_cmp;
1: + int (*stat_show)(struct seq_file *, void *);
1: + void (*stat_release)(void *);
1: + int (*stat_headers)(struct seq_file *);
1: +};
1: +
1: +struct stat_node {
1: + struct rb_node node;
1: + void *stat;
1: +};
1: +
1: +struct stat_session {
1: + struct list_head session_list;
1: + struct tracer_stat *ts;
1: + struct rb_root stat_root;
1: + struct mutex stat_mutex;
1: + struct dentry *file;
1: +};
1: +
1: +struct trace_bprintk_fmt {
1: + struct list_head list;
1: + const char *fmt;
1: +};
1: +
1: +enum {
1: + TRACE_NOP_OPT_ACCEPT = 1,
1: + TRACE_NOP_OPT_REFUSE = 2,
1: +};
1: +
1: +typedef __u32 blk_mq_req_flags_t;
1: +
1: +struct blk_mq_ctxs;
1: +
1: +struct blk_mq_ctx {
1: + struct {
1: + spinlock_t lock;
1: + struct list_head rq_lists[3];
1: + long: 64;
1: + };
1: + unsigned int cpu;
1: + short unsigned int index_hw[3];
1: + struct blk_mq_hw_ctx *hctxs[3];
1: + long unsigned int rq_dispatched[2];
1: + long unsigned int rq_merged;
1: + long unsigned int rq_completed[2];
1: + struct request_queue *queue;
1: + struct blk_mq_ctxs *ctxs;
1: + struct kobject kobj;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct sbitmap_word;
1: +
1: +struct sbitmap {
1: + unsigned int depth;
1: + unsigned int shift;
1: + unsigned int map_nr;
1: + struct sbitmap_word *map;
1: +};
1: +
1: +struct blk_mq_tags;
1: +
1: +struct blk_mq_hw_ctx {
1: + struct {
1: + spinlock_t lock;
1: + struct list_head dispatch;
1: + long unsigned int state;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + };
1: + struct delayed_work run_work;
1: + cpumask_var_t cpumask;
1: + int next_cpu;
1: + int next_cpu_batch;
1: + long unsigned int flags;
1: + void *sched_data;
1: + struct request_queue *queue;
1: + struct blk_flush_queue *fq;
1: + void *driver_data;
1: + struct sbitmap ctx_map;
1: + struct blk_mq_ctx *dispatch_from;
1: + unsigned int dispatch_busy;
1: + short unsigned int type;
1: + short unsigned int nr_ctx;
1: + struct blk_mq_ctx **ctxs;
1: + spinlock_t dispatch_wait_lock;
1: + wait_queue_entry_t dispatch_wait;
1: + atomic_t wait_index;
1: + struct blk_mq_tags *tags;
1: + struct blk_mq_tags *sched_tags;
1: + long unsigned int queued;
1: + long unsigned int run;
1: + long unsigned int dispatched[7];
1: + unsigned int numa_node;
1: + unsigned int queue_num;
1: + atomic_t nr_active;
1: + struct hlist_node cpuhp_dead;
1: + struct kobject kobj;
1: + long unsigned int poll_considered;
1: + long unsigned int poll_invoked;
1: + long unsigned int poll_success;
1: + struct dentry *debugfs_dir;
1: + struct dentry *sched_debugfs_dir;
1: + struct list_head hctx_list;
1: + struct srcu_struct srcu[0];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct blk_mq_alloc_data {
1: + struct request_queue *q;
1: + blk_mq_req_flags_t flags;
1: + unsigned int shallow_depth;
1: + unsigned int cmd_flags;
1: + struct blk_mq_ctx *ctx;
1: + struct blk_mq_hw_ctx *hctx;
1: +};
1: +
1: +struct blk_stat_callback {
1: + struct list_head list;
1: + struct timer_list timer;
1: + struct blk_rq_stat *cpu_stat;
1: + int (*bucket_fn)(const struct request *);
1: + unsigned int buckets;
1: + struct blk_rq_stat *stat;
1: + void (*timer_fn)(struct blk_stat_callback *);
1: + void *data;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct blk_trace {
1: + int trace_state;
1: + struct rchan *rchan;
1: + long unsigned int *sequence;
1: + unsigned char *msg_data;
1: + u16 act_mask;
1: + u64 start_lba;
1: + u64 end_lba;
1: + u32 pid;
1: + u32 dev;
1: + struct dentry *dir;
1: + struct dentry *dropped_file;
1: + struct dentry *msg_file;
1: + struct list_head running_list;
1: + atomic_t dropped;
1: +};
1: +
1: +struct blk_flush_queue {
1: + unsigned int flush_queue_delayed: 1;
1: + unsigned int flush_pending_idx: 1;
1: + unsigned int flush_running_idx: 1;
1: + blk_status_t rq_status;
1: + long unsigned int flush_pending_since;
1: + struct list_head flush_queue[2];
1: + struct list_head flush_data_in_flight;
1: + struct request *flush_rq;
1: + struct request *orig_rq;
1: + struct lock_class_key key;
1: + spinlock_t mq_flush_lock;
1: +};
1: +
1: +struct blk_mq_queue_map {
1: + unsigned int *mq_map;
1: + unsigned int nr_queues;
1: + unsigned int queue_offset;
1: +};
1: +
1: +struct blk_mq_tag_set {
1: + struct blk_mq_queue_map map[3];
1: + unsigned int nr_maps;
1: + const struct blk_mq_ops *ops;
1: + unsigned int nr_hw_queues;
1: + unsigned int queue_depth;
1: + unsigned int reserved_tags;
1: + unsigned int cmd_size;
1: + int numa_node;
1: + unsigned int timeout;
1: + unsigned int flags;
1: + void *driver_data;
1: + struct blk_mq_tags **tags;
1: + struct mutex tag_list_lock;
1: + struct list_head tag_list;
1: +};
1: +
1: +typedef u64 compat_u64;
1: +
1: +enum blktrace_cat {
1: + BLK_TC_READ = 1,
1: + BLK_TC_WRITE = 2,
1: + BLK_TC_FLUSH = 4,
1: + BLK_TC_SYNC = 8,
1: + BLK_TC_SYNCIO = 8,
1: + BLK_TC_QUEUE = 16,
1: + BLK_TC_REQUEUE = 32,
1: + BLK_TC_ISSUE = 64,
1: + BLK_TC_COMPLETE = 128,
1: + BLK_TC_FS = 256,
1: + BLK_TC_PC = 512,
1: + BLK_TC_NOTIFY = 1024,
1: + BLK_TC_AHEAD = 2048,
1: + BLK_TC_META = 4096,
1: + BLK_TC_DISCARD = 8192,
1: + BLK_TC_DRV_DATA = 16384,
1: + BLK_TC_FUA = 32768,
1: + BLK_TC_END = 32768,
1: +};
1: +
1: +enum blktrace_act {
1: + __BLK_TA_QUEUE = 1,
1: + __BLK_TA_BACKMERGE = 2,
1: + __BLK_TA_FRONTMERGE = 3,
1: + __BLK_TA_GETRQ = 4,
1: + __BLK_TA_SLEEPRQ = 5,
1: + __BLK_TA_REQUEUE = 6,
1: + __BLK_TA_ISSUE = 7,
1: + __BLK_TA_COMPLETE = 8,
1: + __BLK_TA_PLUG = 9,
1: + __BLK_TA_UNPLUG_IO = 10,
1: + __BLK_TA_UNPLUG_TIMER = 11,
1: + __BLK_TA_INSERT = 12,
1: + __BLK_TA_SPLIT = 13,
1: + __BLK_TA_BOUNCE = 14,
1: + __BLK_TA_REMAP = 15,
1: + __BLK_TA_ABORT = 16,
1: + __BLK_TA_DRV_DATA = 17,
1: + __BLK_TA_CGROUP = 256,
1: +};
1: +
1: +enum blktrace_notify {
1: + __BLK_TN_PROCESS = 0,
1: + __BLK_TN_TIMESTAMP = 1,
1: + __BLK_TN_MESSAGE = 2,
1: + __BLK_TN_CGROUP = 256,
1: +};
1: +
1: +struct blk_io_trace {
1: + __u32 magic;
1: + __u32 sequence;
1: + __u64 time;
1: + __u64 sector;
1: + __u32 bytes;
1: + __u32 action;
1: + __u32 pid;
1: + __u32 device;
1: + __u32 cpu;
1: + __u16 error;
1: + __u16 pdu_len;
1: +};
1: +
1: +struct blk_io_trace_remap {
1: + __be32 device_from;
1: + __be32 device_to;
1: + __be64 sector_from;
1: +};
1: +
1: +enum {
1: + Blktrace_setup = 1,
1: + Blktrace_running = 2,
1: + Blktrace_stopped = 3,
1: +};
1: +
1: +struct blk_user_trace_setup {
1: + char name[32];
1: + __u16 act_mask;
1: + __u32 buf_size;
1: + __u32 buf_nr;
1: + __u64 start_lba;
1: + __u64 end_lba;
1: + __u32 pid;
1: +};
1: +
1: +struct compat_blk_user_trace_setup {
1: + char name[32];
1: + u16 act_mask;
1: + short: 16;
1: + u32 buf_size;
1: + u32 buf_nr;
1: + compat_u64 start_lba;
1: + compat_u64 end_lba;
1: + u32 pid;
1: +} __attribute__((packed));
1: +
1: +struct blkcg {};
1: +
1: +struct sbitmap_word {
1: + long unsigned int depth;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long unsigned int word;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long unsigned int cleared;
1: + spinlock_t swap_lock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct sbq_wait_state {
1: + atomic_t wait_cnt;
1: + wait_queue_head_t wait;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct sbitmap_queue {
1: + struct sbitmap sb;
1: + unsigned int *alloc_hint;
1: + unsigned int wake_batch;
1: + atomic_t wake_index;
1: + struct sbq_wait_state *ws;
1: + atomic_t ws_active;
1: + bool round_robin;
1: + unsigned int min_shallow_depth;
1: +};
1: +
1: +struct blk_mq_tags {
1: + unsigned int nr_tags;
1: + unsigned int nr_reserved_tags;
1: + atomic_t active_queues;
1: + struct sbitmap_queue bitmap_tags;
1: + struct sbitmap_queue breserved_tags;
1: + struct request **rqs;
1: + struct request **static_rqs;
1: + struct list_head page_list;
1: +};
1: +
1: +struct blk_mq_queue_data {
1: + struct request *rq;
1: + bool last;
1: +};
1: +
1: +struct blk_mq_ctxs {
1: + struct kobject kobj;
1: + struct blk_mq_ctx *queue_ctx;
1: +};
1: +
1: +typedef void blk_log_action_t(struct trace_iterator *, const char *, bool);
1: +
1: +struct ftrace_event_field {
1: + struct list_head link;
1: + const char *name;
1: + const char *type;
1: + int filter_type;
1: + int offset;
1: + int size;
1: + int is_signed;
1: +};
1: +
1: +enum {
1: + FORMAT_HEADER = 1,
1: + FORMAT_FIELD_SEPERATOR = 2,
1: + FORMAT_PRINTFMT = 3,
1: +};
1: +
1: +struct ftrace_graph_ent {
1: + long unsigned int func;
1: + int depth;
1: +} __attribute__((packed));
1: +
1: +struct ftrace_graph_ret {
1: + long unsigned int func;
1: + long unsigned int overrun;
1: + long long unsigned int calltime;
1: + long long unsigned int rettime;
1: + int depth;
1: +} __attribute__((packed));
1: +
1: +struct mmiotrace_rw {
1: + resource_size_t phys;
1: + long unsigned int value;
1: + long unsigned int pc;
1: + int map_id;
1: + unsigned char opcode;
1: + unsigned char width;
1: +};
1: +
1: +struct mmiotrace_map {
1: + resource_size_t phys;
1: + long unsigned int virt;
1: + long unsigned int len;
1: + int map_id;
1: + unsigned char opcode;
1: +};
1: +
1: +struct ftrace_graph_ent_entry {
1: + struct trace_entry ent;
1: + struct ftrace_graph_ent graph_ent;
1: +} __attribute__((packed));
1: +
1: +struct ftrace_graph_ret_entry {
1: + struct trace_entry ent;
1: + struct ftrace_graph_ret ret;
1: +} __attribute__((packed));
1: +
1: +struct trace_mmiotrace_rw {
1: + struct trace_entry ent;
1: + struct mmiotrace_rw rw;
1: +};
1: +
1: +struct trace_mmiotrace_map {
1: + struct trace_entry ent;
1: + struct mmiotrace_map map;
1: +};
1: +
1: +struct trace_branch {
1: + struct trace_entry ent;
1: + unsigned int line;
1: + char func[31];
1: + char file[21];
1: + char correct;
1: + char constant;
1: +};
1: +
1: +typedef long unsigned int perf_trace_t[256];
1: +
1: +struct filter_pred;
1: +
1: +struct prog_entry {
1: + int target;
1: + int when_to_branch;
1: + struct filter_pred *pred;
1: +};
1: +
1: +typedef int (*filter_pred_fn_t)(struct filter_pred *, void *);
1: +
1: +struct regex;
1: +
1: +typedef int (*regex_match_func)(char *, struct regex *, int);
1: +
1: +struct regex {
1: + char pattern[256];
1: + int len;
1: + int field_len;
1: + regex_match_func match;
1: +};
1: +
1: +struct filter_pred {
1: + filter_pred_fn_t fn;
1: + u64 val;
1: + struct regex regex;
1: + short unsigned int *ops;
1: + struct ftrace_event_field *field;
1: + int offset;
1: + int not;
1: + int op;
1: +};
1: +
1: +enum regex_type {
1: + MATCH_FULL = 0,
1: + MATCH_FRONT_ONLY = 1,
1: + MATCH_MIDDLE_ONLY = 2,
1: + MATCH_END_ONLY = 3,
1: + MATCH_GLOB = 4,
1: + MATCH_INDEX = 5,
1: +};
1: +
1: +enum filter_op_ids {
1: + OP_GLOB = 0,
1: + OP_NE = 1,
1: + OP_EQ = 2,
1: + OP_LE = 3,
1: + OP_LT = 4,
1: + OP_GE = 5,
1: + OP_GT = 6,
1: + OP_BAND = 7,
1: + OP_MAX = 8,
1: +};
1: +
1: +enum {
1: + FILT_ERR_NONE = 0,
1: + FILT_ERR_INVALID_OP = 1,
1: + FILT_ERR_TOO_MANY_OPEN = 2,
1: + FILT_ERR_TOO_MANY_CLOSE = 3,
1: + FILT_ERR_MISSING_QUOTE = 4,
1: + FILT_ERR_OPERAND_TOO_LONG = 5,
1: + FILT_ERR_EXPECT_STRING = 6,
1: + FILT_ERR_EXPECT_DIGIT = 7,
1: + FILT_ERR_ILLEGAL_FIELD_OP = 8,
1: + FILT_ERR_FIELD_NOT_FOUND = 9,
1: + FILT_ERR_ILLEGAL_INTVAL = 10,
1: + FILT_ERR_BAD_SUBSYS_FILTER = 11,
1: + FILT_ERR_TOO_MANY_PREDS = 12,
1: + FILT_ERR_INVALID_FILTER = 13,
1: + FILT_ERR_IP_FIELD_ONLY = 14,
1: + FILT_ERR_INVALID_VALUE = 15,
1: + FILT_ERR_ERRNO = 16,
1: + FILT_ERR_NO_FILTER = 17,
1: +};
1: +
1: +struct filter_parse_error {
1: + int lasterr;
1: + int lasterr_pos;
1: +};
1: +
1: +typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **);
1: +
1: +enum {
1: + INVERT = 1,
1: + PROCESS_AND = 2,
1: + PROCESS_OR = 4,
1: +};
1: +
1: +enum {
1: + TOO_MANY_CLOSE = -1,
1: + TOO_MANY_OPEN = -2,
1: + MISSING_QUOTE = -3,
1: +};
1: +
1: +struct filter_list {
1: + struct list_head list;
1: + struct event_filter *filter;
1: +};
1: +
1: +struct event_trigger_ops;
1: +
1: +struct event_command;
1: +
1: +struct event_trigger_data {
1: + long unsigned int count;
1: + int ref;
1: + struct event_trigger_ops *ops;
1: + struct event_command *cmd_ops;
1: + struct event_filter *filter;
1: + char *filter_str;
1: + void *private_data;
1: + bool paused;
1: + bool paused_tmp;
1: + struct list_head list;
1: + char *name;
1: + struct list_head named_list;
1: + struct event_trigger_data *named_data;
1: +};
1: +
1: +struct event_trigger_ops {
1: + void (*func)(struct event_trigger_data *, void *, struct ring_buffer_event *);
1: + int (*init)(struct event_trigger_ops *, struct event_trigger_data *);
1: + void (*free)(struct event_trigger_ops *, struct event_trigger_data *);
1: + int (*print)(struct seq_file *, struct event_trigger_ops *, struct event_trigger_data *);
1: +};
1: +
1: +struct event_command {
1: + struct list_head list;
1: + char *name;
1: + enum event_trigger_type trigger_type;
1: + int flags;
1: + int (*func)(struct event_command *, struct trace_event_file *, char *, char *, char *);
1: + int (*reg)(char *, struct event_trigger_ops *, struct event_trigger_data *, struct trace_event_file *);
1: + void (*unreg)(char *, struct event_trigger_ops *, struct event_trigger_data *, struct trace_event_file *);
1: + void (*unreg_all)(struct trace_event_file *);
1: + int (*set_filter)(char *, struct event_trigger_data *, struct trace_event_file *);
1: + struct event_trigger_ops * (*get_trigger_ops)(char *, char *);
1: +};
1: +
1: +struct enable_trigger_data {
1: + struct trace_event_file *file;
1: + bool enable;
1: + bool hist;
1: +};
1: +
1: +enum event_command_flags {
1: + EVENT_CMD_FL_POST_TRIGGER = 1,
1: + EVENT_CMD_FL_NEEDS_REC = 2,
1: +};
1: +
1: +enum bpf_task_fd_type {
1: + BPF_FD_TYPE_RAW_TRACEPOINT = 0,
1: + BPF_FD_TYPE_TRACEPOINT = 1,
1: + BPF_FD_TYPE_KPROBE = 2,
1: + BPF_FD_TYPE_KRETPROBE = 3,
1: + BPF_FD_TYPE_UPROBE = 4,
1: + BPF_FD_TYPE_URETPROBE = 5,
1: +};
1: +
1: +struct kprobe_trace_entry_head {
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: +};
1: +
1: +struct kretprobe_trace_entry_head {
1: + struct trace_entry ent;
1: + long unsigned int func;
1: + long unsigned int ret_ip;
1: +};
1: +
1: +struct dyn_event;
1: +
1: +struct dyn_event_operations {
1: + struct list_head list;
1: + int (*create)(int, const char **);
1: + int (*show)(struct seq_file *, struct dyn_event *);
1: + bool (*is_busy)(struct dyn_event *);
1: + int (*free)(struct dyn_event *);
1: + bool (*match)(const char *, const char *, int, const char **, struct dyn_event *);
1: +};
1: +
1: +struct dyn_event {
1: + struct list_head list;
1: + struct dyn_event_operations *ops;
1: +};
1: +
1: +typedef int (*print_type_func_t)(struct trace_seq *, void *, void *);
1: +
1: +enum fetch_op {
1: + FETCH_OP_NOP = 0,
1: + FETCH_OP_REG = 1,
1: + FETCH_OP_STACK = 2,
1: + FETCH_OP_STACKP = 3,
1: + FETCH_OP_RETVAL = 4,
1: + FETCH_OP_IMM = 5,
1: + FETCH_OP_COMM = 6,
1: + FETCH_OP_ARG = 7,
1: + FETCH_OP_FOFFS = 8,
1: + FETCH_OP_DATA = 9,
1: + FETCH_OP_DEREF = 10,
1: + FETCH_OP_UDEREF = 11,
1: + FETCH_OP_ST_RAW = 12,
1: + FETCH_OP_ST_MEM = 13,
1: + FETCH_OP_ST_UMEM = 14,
1: + FETCH_OP_ST_STRING = 15,
1: + FETCH_OP_ST_USTRING = 16,
1: + FETCH_OP_MOD_BF = 17,
1: + FETCH_OP_LP_ARRAY = 18,
1: + FETCH_OP_END = 19,
1: + FETCH_NOP_SYMBOL = 20,
1: +};
1: +
1: +struct fetch_insn {
1: + enum fetch_op op;
1: + union {
1: + unsigned int param;
1: + struct {
1: + unsigned int size;
1: + int offset;
1: + };
1: + struct {
1: + unsigned char basesize;
1: + unsigned char lshift;
1: + unsigned char rshift;
1: + };
1: + long unsigned int immediate;
1: + void *data;
1: + };
1: +};
1: +
1: +struct fetch_type {
1: + const char *name;
1: + size_t size;
1: + int is_signed;
1: + print_type_func_t print;
1: + const char *fmt;
1: + const char *fmttype;
1: +};
1: +
1: +struct probe_arg {
1: + struct fetch_insn *code;
1: + bool dynamic;
1: + unsigned int offset;
1: + unsigned int count;
1: + const char *name;
1: + const char *comm;
1: + char *fmt;
1: + const struct fetch_type *type;
1: +};
1: +
1: +struct trace_uprobe_filter {
1: + rwlock_t rwlock;
1: + int nr_systemwide;
1: + struct list_head perf_events;
1: +};
1: +
1: +struct trace_probe_event {
1: + unsigned int flags;
1: + struct trace_event_class class;
1: + struct trace_event_call call;
1: + struct list_head files;
1: + struct list_head probes;
1: + struct trace_uprobe_filter filter[0];
1: +};
1: +
1: +struct trace_probe {
1: + struct list_head list;
1: + struct trace_probe_event *event;
1: + ssize_t size;
1: + unsigned int nr_args;
1: + struct probe_arg args[0];
1: +};
1: +
1: +struct event_file_link {
1: + struct trace_event_file *file;
1: + struct list_head list;
1: +};
1: +
1: +enum {
1: + TP_ERR_FILE_NOT_FOUND = 0,
1: + TP_ERR_NO_REGULAR_FILE = 1,
1: + TP_ERR_BAD_REFCNT = 2,
1: + TP_ERR_REFCNT_OPEN_BRACE = 3,
1: + TP_ERR_BAD_REFCNT_SUFFIX = 4,
1: + TP_ERR_BAD_UPROBE_OFFS = 5,
1: + TP_ERR_MAXACT_NO_KPROBE = 6,
1: + TP_ERR_BAD_MAXACT = 7,
1: + TP_ERR_MAXACT_TOO_BIG = 8,
1: + TP_ERR_BAD_PROBE_ADDR = 9,
1: + TP_ERR_BAD_RETPROBE = 10,
1: + TP_ERR_NO_GROUP_NAME = 11,
1: + TP_ERR_GROUP_TOO_LONG = 12,
1: + TP_ERR_BAD_GROUP_NAME = 13,
1: + TP_ERR_NO_EVENT_NAME = 14,
1: + TP_ERR_EVENT_TOO_LONG = 15,
1: + TP_ERR_BAD_EVENT_NAME = 16,
1: + TP_ERR_RETVAL_ON_PROBE = 17,
1: + TP_ERR_BAD_STACK_NUM = 18,
1: + TP_ERR_BAD_ARG_NUM = 19,
1: + TP_ERR_BAD_VAR = 20,
1: + TP_ERR_BAD_REG_NAME = 21,
1: + TP_ERR_BAD_MEM_ADDR = 22,
1: + TP_ERR_BAD_IMM = 23,
1: + TP_ERR_IMMSTR_NO_CLOSE = 24,
1: + TP_ERR_FILE_ON_KPROBE = 25,
1: + TP_ERR_BAD_FILE_OFFS = 26,
1: + TP_ERR_SYM_ON_UPROBE = 27,
1: + TP_ERR_TOO_MANY_OPS = 28,
1: + TP_ERR_DEREF_NEED_BRACE = 29,
1: + TP_ERR_BAD_DEREF_OFFS = 30,
1: + TP_ERR_DEREF_OPEN_BRACE = 31,
1: + TP_ERR_COMM_CANT_DEREF = 32,
1: + TP_ERR_BAD_FETCH_ARG = 33,
1: + TP_ERR_ARRAY_NO_CLOSE = 34,
1: + TP_ERR_BAD_ARRAY_SUFFIX = 35,
1: + TP_ERR_BAD_ARRAY_NUM = 36,
1: + TP_ERR_ARRAY_TOO_BIG = 37,
1: + TP_ERR_BAD_TYPE = 38,
1: + TP_ERR_BAD_STRING = 39,
1: + TP_ERR_BAD_BITFIELD = 40,
1: + TP_ERR_ARG_NAME_TOO_LONG = 41,
1: + TP_ERR_NO_ARG_NAME = 42,
1: + TP_ERR_BAD_ARG_NAME = 43,
1: + TP_ERR_USED_ARG_NAME = 44,
1: + TP_ERR_ARG_TOO_LONG = 45,
1: + TP_ERR_NO_ARG_BODY = 46,
1: + TP_ERR_BAD_INSN_BNDRY = 47,
1: + TP_ERR_FAIL_REG_PROBE = 48,
1: + TP_ERR_DIFF_PROBE_TYPE = 49,
1: + TP_ERR_DIFF_ARG_TYPE = 50,
1: + TP_ERR_SAME_PROBE = 51,
1: +};
1: +
1: +struct trace_kprobe {
1: + struct dyn_event devent;
1: + struct kretprobe rp;
1: + long unsigned int *nhit;
1: + const char *symbol;
1: + struct trace_probe tp;
1: +};
1: +
1: +struct trace_event_raw_cpu {
1: + struct trace_entry ent;
1: + u32 state;
1: + u32 cpu_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_powernv_throttle {
1: + struct trace_entry ent;
1: + int chip_id;
1: + u32 __data_loc_reason;
1: + int pmax;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_pstate_sample {
1: + struct trace_entry ent;
1: + u32 core_busy;
1: + u32 scaled_busy;
1: + u32 from;
1: + u32 to;
1: + u64 mperf;
1: + u64 aperf;
1: + u64 tsc;
1: + u32 freq;
1: + u32 io_boost;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cpu_frequency_limits {
1: + struct trace_entry ent;
1: + u32 min_freq;
1: + u32 max_freq;
1: + u32 cpu_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_device_pm_callback_start {
1: + struct trace_entry ent;
1: + u32 __data_loc_device;
1: + u32 __data_loc_driver;
1: + u32 __data_loc_parent;
1: + u32 __data_loc_pm_ops;
1: + int event;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_device_pm_callback_end {
1: + struct trace_entry ent;
1: + u32 __data_loc_device;
1: + u32 __data_loc_driver;
1: + int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_suspend_resume {
1: + struct trace_entry ent;
1: + const char *action;
1: + int val;
1: + bool start;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wakeup_source {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u64 state;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_clock {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u64 state;
1: + u64 cpu_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_power_domain {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u64 state;
1: + u64 cpu_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_pm_qos_request {
1: + struct trace_entry ent;
1: + int pm_qos_class;
1: + s32 value;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_pm_qos_update_request_timeout {
1: + struct trace_entry ent;
1: + int pm_qos_class;
1: + s32 value;
1: + long unsigned int timeout_us;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_pm_qos_update {
1: + struct trace_entry ent;
1: + enum pm_qos_req_action action;
1: + int prev_value;
1: + int curr_value;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_dev_pm_qos_request {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + enum dev_pm_qos_req_type type;
1: + s32 new_value;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_cpu {};
1: +
1: +struct trace_event_data_offsets_powernv_throttle {
1: + u32 reason;
1: +};
1: +
1: +struct trace_event_data_offsets_pstate_sample {};
1: +
1: +struct trace_event_data_offsets_cpu_frequency_limits {};
1: +
1: +struct trace_event_data_offsets_device_pm_callback_start {
1: + u32 device;
1: + u32 driver;
1: + u32 parent;
1: + u32 pm_ops;
1: +};
1: +
1: +struct trace_event_data_offsets_device_pm_callback_end {
1: + u32 device;
1: + u32 driver;
1: +};
1: +
1: +struct trace_event_data_offsets_suspend_resume {};
1: +
1: +struct trace_event_data_offsets_wakeup_source {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_clock {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_power_domain {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_pm_qos_request {};
1: +
1: +struct trace_event_data_offsets_pm_qos_update_request_timeout {};
1: +
1: +struct trace_event_data_offsets_pm_qos_update {};
1: +
1: +struct trace_event_data_offsets_dev_pm_qos_request {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_raw_rpm_internal {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + int flags;
1: + int usage_count;
1: + int disable_depth;
1: + int runtime_auto;
1: + int request_pending;
1: + int irq_safe;
1: + int child_count;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpm_return_int {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + long unsigned int ip;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_rpm_internal {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_rpm_return_int {
1: + u32 name;
1: +};
1: +
1: +struct trace_probe_log {
1: + const char *subsystem;
1: + const char **argv;
1: + int argc;
1: + int index;
1: +};
1: +
1: +enum uprobe_filter_ctx {
1: + UPROBE_FILTER_REGISTER = 0,
1: + UPROBE_FILTER_UNREGISTER = 1,
1: + UPROBE_FILTER_MMAP = 2,
1: +};
1: +
1: +struct uprobe_consumer {
1: + int (*handler)(struct uprobe_consumer *, struct pt_regs *);
1: + int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *);
1: + bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *);
1: + struct uprobe_consumer *next;
1: +};
1: +
1: +struct uprobe_trace_entry_head {
1: + struct trace_entry ent;
1: + long unsigned int vaddr[0];
1: +};
1: +
1: +struct trace_uprobe {
1: + struct dyn_event devent;
1: + struct uprobe_consumer consumer;
1: + struct path path;
1: + struct inode *inode;
1: + char *filename;
1: + long unsigned int offset;
1: + long unsigned int ref_ctr_offset;
1: + long unsigned int nhit;
1: + struct trace_probe tp;
1: +};
1: +
1: +struct uprobe_dispatch_data {
1: + struct trace_uprobe *tu;
1: + long unsigned int bp_addr;
1: +};
1: +
1: +struct uprobe_cpu_buffer {
1: + struct mutex mutex;
1: + void *buf;
1: +};
1: +
1: +typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *);
1: +
1: +typedef __u32 __le32;
1: +
1: +typedef __u64 __le64;
1: +
1: +enum {
1: + BPF_REG_0 = 0,
1: + BPF_REG_1 = 1,
1: + BPF_REG_2 = 2,
1: + BPF_REG_3 = 3,
1: + BPF_REG_4 = 4,
1: + BPF_REG_5 = 5,
1: + BPF_REG_6 = 6,
1: + BPF_REG_7 = 7,
1: + BPF_REG_8 = 8,
1: + BPF_REG_9 = 9,
1: + BPF_REG_10 = 10,
1: + __MAX_BPF_REG = 11,
1: +};
1: +
1: +enum xdp_action {
1: + XDP_ABORTED = 0,
1: + XDP_DROP = 1,
1: + XDP_PASS = 2,
1: + XDP_TX = 3,
1: + XDP_REDIRECT = 4,
1: +};
1: +
1: +enum bpf_arg_type {
1: + ARG_DONTCARE = 0,
1: + ARG_CONST_MAP_PTR = 1,
1: + ARG_PTR_TO_MAP_KEY = 2,
1: + ARG_PTR_TO_MAP_VALUE = 3,
1: + ARG_PTR_TO_UNINIT_MAP_VALUE = 4,
1: + ARG_PTR_TO_MAP_VALUE_OR_NULL = 5,
1: + ARG_PTR_TO_MEM = 6,
1: + ARG_PTR_TO_MEM_OR_NULL = 7,
1: + ARG_PTR_TO_UNINIT_MEM = 8,
1: + ARG_CONST_SIZE = 9,
1: + ARG_CONST_SIZE_OR_ZERO = 10,
1: + ARG_PTR_TO_CTX = 11,
1: + ARG_ANYTHING = 12,
1: + ARG_PTR_TO_SPIN_LOCK = 13,
1: + ARG_PTR_TO_SOCK_COMMON = 14,
1: + ARG_PTR_TO_INT = 15,
1: + ARG_PTR_TO_LONG = 16,
1: + ARG_PTR_TO_SOCKET = 17,
1: + ARG_PTR_TO_BTF_ID = 18,
1: +};
1: +
1: +enum bpf_return_type {
1: + RET_INTEGER = 0,
1: + RET_VOID = 1,
1: + RET_PTR_TO_MAP_VALUE = 2,
1: + RET_PTR_TO_MAP_VALUE_OR_NULL = 3,
1: + RET_PTR_TO_SOCKET_OR_NULL = 4,
1: + RET_PTR_TO_TCP_SOCK_OR_NULL = 5,
1: + RET_PTR_TO_SOCK_COMMON_OR_NULL = 6,
1: +};
1: +
1: +struct bpf_func_proto {
1: + u64 (*func)(u64, u64, u64, u64, u64);
1: + bool gpl_only;
1: + bool pkt_access;
1: + enum bpf_return_type ret_type;
1: + union {
1: + struct {
1: + enum bpf_arg_type arg1_type;
1: + enum bpf_arg_type arg2_type;
1: + enum bpf_arg_type arg3_type;
1: + enum bpf_arg_type arg4_type;
1: + enum bpf_arg_type arg5_type;
1: + };
1: + enum bpf_arg_type arg_type[5];
1: + };
1: + int *btf_id;
1: +};
1: +
1: +struct bpf_array_aux {
1: + enum bpf_prog_type type;
1: + bool jited;
1: + struct list_head poke_progs;
1: + struct bpf_map *map;
1: + struct mutex poke_mutex;
1: + struct work_struct work;
1: +};
1: +
1: +struct bpf_array {
1: + struct bpf_map map;
1: + u32 elem_size;
1: + u32 index_mask;
1: + struct bpf_array_aux *aux;
1: + union {
1: + char value[0];
1: + void *ptrs[0];
1: + void *pptrs[0];
1: + };
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +typedef long unsigned int (*bpf_ctx_copy_t)(void *, const void *, long unsigned int, long unsigned int);
1: +
1: +enum bpf_text_poke_type {
1: + BPF_MOD_CALL = 0,
1: + BPF_MOD_JUMP = 1,
1: +};
1: +
1: +enum xdp_mem_type {
1: + MEM_TYPE_PAGE_SHARED = 0,
1: + MEM_TYPE_PAGE_ORDER0 = 1,
1: + MEM_TYPE_PAGE_POOL = 2,
1: + MEM_TYPE_ZERO_COPY = 3,
1: + MEM_TYPE_MAX = 4,
1: +};
1: +
1: +struct zero_copy_allocator {
1: + void (*free)(struct zero_copy_allocator *, long unsigned int);
1: +};
1: +
1: +struct bpf_prog_dummy {
1: + struct bpf_prog prog;
1: +};
1: +
1: +typedef u64 (*btf_bpf_user_rnd_u32)();
1: +
1: +struct page_pool;
1: +
1: +struct xdp_mem_allocator {
1: + struct xdp_mem_info mem;
1: + union {
1: + void *allocator;
1: + struct page_pool *page_pool;
1: + struct zero_copy_allocator *zc_alloc;
1: + };
1: + struct rhash_head node;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct trace_event_raw_xdp_exception {
1: + struct trace_entry ent;
1: + int prog_id;
1: + u32 act;
1: + int ifindex;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xdp_bulk_tx {
1: + struct trace_entry ent;
1: + int ifindex;
1: + u32 act;
1: + int drops;
1: + int sent;
1: + int err;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xdp_redirect_template {
1: + struct trace_entry ent;
1: + int prog_id;
1: + u32 act;
1: + int ifindex;
1: + int err;
1: + int to_ifindex;
1: + u32 map_id;
1: + int map_index;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xdp_cpumap_kthread {
1: + struct trace_entry ent;
1: + int map_id;
1: + u32 act;
1: + int cpu;
1: + unsigned int drops;
1: + unsigned int processed;
1: + int sched;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xdp_cpumap_enqueue {
1: + struct trace_entry ent;
1: + int map_id;
1: + u32 act;
1: + int cpu;
1: + unsigned int drops;
1: + unsigned int processed;
1: + int to_cpu;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xdp_devmap_xmit {
1: + struct trace_entry ent;
1: + int map_id;
1: + u32 act;
1: + u32 map_index;
1: + int drops;
1: + int sent;
1: + int from_ifindex;
1: + int to_ifindex;
1: + int err;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mem_disconnect {
1: + struct trace_entry ent;
1: + const struct xdp_mem_allocator *xa;
1: + u32 mem_id;
1: + u32 mem_type;
1: + const void *allocator;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mem_connect {
1: + struct trace_entry ent;
1: + const struct xdp_mem_allocator *xa;
1: + u32 mem_id;
1: + u32 mem_type;
1: + const void *allocator;
1: + const struct xdp_rxq_info *rxq;
1: + int ifindex;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mem_return_failed {
1: + struct trace_entry ent;
1: + const struct page *page;
1: + u32 mem_id;
1: + u32 mem_type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_xdp_exception {};
1: +
1: +struct trace_event_data_offsets_xdp_bulk_tx {};
1: +
1: +struct trace_event_data_offsets_xdp_redirect_template {};
1: +
1: +struct trace_event_data_offsets_xdp_cpumap_kthread {};
1: +
1: +struct trace_event_data_offsets_xdp_cpumap_enqueue {};
1: +
1: +struct trace_event_data_offsets_xdp_devmap_xmit {};
1: +
1: +struct trace_event_data_offsets_mem_disconnect {};
1: +
1: +struct trace_event_data_offsets_mem_connect {};
1: +
1: +struct trace_event_data_offsets_mem_return_failed {};
1: +
1: +struct page___2;
1: +
1: +typedef struct page___2 *pgtable_t___2;
1: +
1: +struct address_space___2;
1: +
1: +struct mm_struct___2;
1: +
1: +struct dev_pagemap___2;
1: +
1: +struct page___2 {
1: + long unsigned int flags;
1: + union {
1: + struct {
1: + struct list_head lru;
1: + struct address_space___2 *mapping;
1: + long unsigned int index;
1: + long unsigned int private;
1: + };
1: + struct {
1: + dma_addr_t dma_addr;
1: + };
1: + struct {
1: + union {
1: + struct list_head slab_list;
1: + struct {
1: + struct page___2 *next;
1: + int pages;
1: + int pobjects;
1: + };
1: + };
1: + struct kmem_cache *slab_cache;
1: + void *freelist;
1: + union {
1: + void *s_mem;
1: + long unsigned int counters;
1: + struct {
1: + unsigned int inuse: 16;
1: + unsigned int objects: 15;
1: + unsigned int frozen: 1;
1: + };
1: + };
1: + };
1: + struct {
1: + long unsigned int compound_head;
1: + unsigned char compound_dtor;
1: + unsigned char compound_order;
1: + atomic_t compound_mapcount;
1: + };
1: + struct {
1: + long unsigned int _compound_pad_1;
1: + long unsigned int _compound_pad_2;
1: + struct list_head deferred_list;
1: + };
1: + struct {
1: + long unsigned int _pt_pad_1;
1: + pgtable_t___2 pmd_huge_pte;
1: + long unsigned int _pt_pad_2;
1: + union {
1: + struct mm_struct___2 *pt_mm;
1: + atomic_t pt_frag_refcount;
1: + };
1: + spinlock_t ptl;
1: + };
1: + struct {
1: + struct dev_pagemap___2 *pgmap;
1: + void *zone_device_data;
1: + };
1: + struct callback_head callback_head;
1: + };
1: + union {
1: + atomic_t _mapcount;
1: + unsigned int page_type;
1: + unsigned int active;
1: + int units;
1: + };
1: + atomic_t _refcount;
1: + long: 64;
1: +};
1: +
1: +struct perf_event___2;
1: +
1: +struct thread_struct___2 {
1: + struct desc_struct tls_array[3];
1: + long unsigned int sp;
1: + short unsigned int es;
1: + short unsigned int ds;
1: + short unsigned int fsindex;
1: + short unsigned int gsindex;
1: + long unsigned int fsbase;
1: + long unsigned int gsbase;
1: + struct perf_event___2 *ptrace_bps[4];
1: + long unsigned int debugreg6;
1: + long unsigned int ptrace_dr7;
1: + long unsigned int cr2;
1: + long unsigned int trap_nr;
1: + long unsigned int error_code;
1: + struct io_bitmap *io_bitmap;
1: + long unsigned int iopl_emul;
1: + mm_segment_t addr_limit;
1: + unsigned int sig_on_uaccess_err: 1;
1: + unsigned int uaccess_err: 1;
1: + long: 62;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct fpu fpu;
1: +};
1: +
1: +struct task_struct___2;
1: +
1: +struct hw_perf_event___2 {
1: + union {
1: + struct {
1: + u64 config;
1: + u64 last_tag;
1: + long unsigned int config_base;
1: + long unsigned int event_base;
1: + int event_base_rdpmc;
1: + int idx;
1: + int last_cpu;
1: + int flags;
1: + struct hw_perf_event_extra extra_reg;
1: + struct hw_perf_event_extra branch_reg;
1: + };
1: + struct {
1: + struct hrtimer hrtimer;
1: + };
1: + struct {
1: + struct list_head tp_list;
1: + };
1: + struct {
1: + u64 pwr_acc;
1: + u64 ptsc;
1: + };
1: + struct {
1: + struct arch_hw_breakpoint info;
1: + struct list_head bp_list;
1: + };
1: + struct {
1: + u8 iommu_bank;
1: + u8 iommu_cntr;
1: + u16 padding;
1: + u64 conf;
1: + u64 conf1;
1: + };
1: + };
1: + struct task_struct___2 *target;
1: + void *addr_filters;
1: + long unsigned int addr_filters_gen;
1: + int state;
1: + local64_t prev_count;
1: + u64 sample_period;
1: + u64 last_period;
1: + local64_t period_left;
1: + u64 interrupts_seq;
1: + u64 interrupts;
1: + u64 freq_time_stamp;
1: + u64 freq_count_stamp;
1: +};
1: +
1: +typedef void (*perf_overflow_handler_t___2)(struct perf_event___2 *, struct perf_sample_data *, struct pt_regs *);
1: +
1: +struct pmu___2;
1: +
1: +struct perf_event_context___2;
1: +
1: +struct ring_buffer___2;
1: +
1: +struct fasync_struct___2;
1: +
1: +struct pid_namespace___2;
1: +
1: +struct trace_event_call___2;
1: +
1: +struct perf_event___2 {
1: + struct list_head event_entry;
1: + struct list_head sibling_list;
1: + struct list_head active_list;
1: + struct rb_node group_node;
1: + u64 group_index;
1: + struct list_head migrate_entry;
1: + struct hlist_node hlist_entry;
1: + struct list_head active_entry;
1: + int nr_siblings;
1: + int event_caps;
1: + int group_caps;
1: + struct perf_event___2 *group_leader;
1: + struct pmu___2 *pmu;
1: + void *pmu_private;
1: + enum perf_event_state state;
1: + unsigned int attach_state;
1: + local64_t count;
1: + atomic64_t child_count;
1: + u64 total_time_enabled;
1: + u64 total_time_running;
1: + u64 tstamp;
1: + u64 shadow_ctx_time;
1: + struct perf_event_attr attr;
1: + u16 header_size;
1: + u16 id_header_size;
1: + u16 read_size;
1: + struct hw_perf_event___2 hw;
1: + struct perf_event_context___2 *ctx;
1: + atomic_long_t refcount;
1: + atomic64_t child_total_time_enabled;
1: + atomic64_t child_total_time_running;
1: + struct mutex child_mutex;
1: + struct list_head child_list;
1: + struct perf_event___2 *parent;
1: + int oncpu;
1: + int cpu;
1: + struct list_head owner_entry;
1: + struct task_struct___2 *owner;
1: + struct mutex mmap_mutex;
1: + atomic_t mmap_count;
1: + struct ring_buffer___2 *rb;
1: + struct list_head rb_entry;
1: + long unsigned int rcu_batches;
1: + int rcu_pending;
1: + wait_queue_head_t waitq;
1: + struct fasync_struct___2 *fasync;
1: + int pending_wakeup;
1: + int pending_kill;
1: + int pending_disable;
1: + struct irq_work pending;
1: + atomic_t event_limit;
1: + struct perf_addr_filters_head addr_filters;
1: + struct perf_addr_filter_range *addr_filter_ranges;
1: + long unsigned int addr_filters_gen;
1: + struct perf_event___2 *aux_event;
1: + void (*destroy)(struct perf_event___2 *);
1: + struct callback_head callback_head;
1: + struct pid_namespace___2 *ns;
1: + u64 id;
1: + u64 (*clock)();
1: + perf_overflow_handler_t___2 overflow_handler;
1: + void *overflow_handler_context;
1: + struct trace_event_call___2 *tp_event;
1: + struct event_filter *filter;
1: + void *security;
1: + struct list_head sb_list;
1: +};
1: +
1: +struct dentry_operations___2;
1: +
1: +struct dentry___2 {
1: + unsigned int d_flags;
1: + seqcount_t d_seq;
1: + struct hlist_bl_node d_hash;
1: + struct dentry___2 *d_parent;
1: + struct qstr d_name;
1: + struct inode___2 *d_inode;
1: + unsigned char d_iname[32];
1: + struct lockref d_lockref;
1: + const struct dentry_operations___2 *d_op;
1: + struct super_block___2 *d_sb;
1: + long unsigned int d_time;
1: + void *d_fsdata;
1: + union {
1: + struct list_head d_lru;
1: + wait_queue_head_t *d_wait;
1: + };
1: + struct list_head d_child;
1: + struct list_head d_subdirs;
1: + union {
1: + struct hlist_node d_alias;
1: + struct hlist_bl_node d_in_lookup_hash;
1: + struct callback_head d_rcu;
1: + } d_u;
1: +};
1: +
1: +struct address_space_operations___2;
1: +
1: +struct address_space___2 {
1: + struct inode___2 *host;
1: + struct xarray i_pages;
1: + gfp_t gfp_mask;
1: + atomic_t i_mmap_writable;
1: + struct rb_root_cached i_mmap;
1: + struct rw_semaphore i_mmap_rwsem;
1: + long unsigned int nrpages;
1: + long unsigned int nrexceptional;
1: + long unsigned int writeback_index;
1: + const struct address_space_operations___2 *a_ops;
1: + long unsigned int flags;
1: + errseq_t wb_err;
1: + spinlock_t private_lock;
1: + struct list_head private_list;
1: + void *private_data;
1: +};
1: +
1: +struct inode_operations___2;
1: +
1: +struct file_operations___2;
1: +
1: +struct pipe_inode_info___2;
1: +
1: +struct block_device___2;
1: +
1: +struct inode___2 {
1: + umode_t i_mode;
1: + short unsigned int i_opflags;
1: + kuid_t i_uid;
1: + kgid_t i_gid;
1: + unsigned int i_flags;
1: + struct posix_acl *i_acl;
1: + struct posix_acl *i_default_acl;
1: + const struct inode_operations___2 *i_op;
1: + struct super_block___2 *i_sb;
1: + struct address_space___2 *i_mapping;
1: + void *i_security;
1: + long unsigned int i_ino;
1: + union {
1: + const unsigned int i_nlink;
1: + unsigned int __i_nlink;
1: + };
1: + dev_t i_rdev;
1: + loff_t i_size;
1: + struct timespec64 i_atime;
1: + struct timespec64 i_mtime;
1: + struct timespec64 i_ctime;
1: + spinlock_t i_lock;
1: + short unsigned int i_bytes;
1: + u8 i_blkbits;
1: + u8 i_write_hint;
1: + blkcnt_t i_blocks;
1: + long unsigned int i_state;
1: + struct rw_semaphore i_rwsem;
1: + long unsigned int dirtied_when;
1: + long unsigned int dirtied_time_when;
1: + struct hlist_node i_hash;
1: + struct list_head i_io_list;
1: + struct list_head i_lru;
1: + struct list_head i_sb_list;
1: + struct list_head i_wb_list;
1: + union {
1: + struct hlist_head i_dentry;
1: + struct callback_head i_rcu;
1: + };
1: + atomic64_t i_version;
1: + atomic_t i_count;
1: + atomic_t i_dio_count;
1: + atomic_t i_writecount;
1: + atomic_t i_readcount;
1: + union {
1: + const struct file_operations___2 *i_fop;
1: + void (*free_inode)(struct inode___2 *);
1: + };
1: + struct file_lock_context *i_flctx;
1: + struct address_space___2 i_data;
1: + struct list_head i_devices;
1: + union {
1: + struct pipe_inode_info___2 *i_pipe;
1: + struct block_device___2 *i_bdev;
1: + struct cdev *i_cdev;
1: + char *i_link;
1: + unsigned int i_dir_seq;
1: + };
1: + __u32 i_generation;
1: + __u32 i_fsnotify_mask;
1: + struct fsnotify_mark_connector *i_fsnotify_marks;
1: + void *i_private;
1: +};
1: +
1: +struct vfsmount___2;
1: +
1: +struct path___2;
1: +
1: +struct dentry_operations___2 {
1: + int (*d_revalidate)(struct dentry___2 *, unsigned int);
1: + int (*d_weak_revalidate)(struct dentry___2 *, unsigned int);
1: + int (*d_hash)(const struct dentry___2 *, struct qstr *);
1: + int (*d_compare)(const struct dentry___2 *, unsigned int, const char *, const struct qstr *);
1: + int (*d_delete)(const struct dentry___2 *);
1: + int (*d_init)(struct dentry___2 *);
1: + void (*d_release)(struct dentry___2 *);
1: + void (*d_prune)(struct dentry___2 *);
1: + void (*d_iput)(struct dentry___2 *, struct inode___2 *);
1: + char * (*d_dname)(struct dentry___2 *, char *, int);
1: + struct vfsmount___2 * (*d_automount)(struct path___2 *);
1: + int (*d_manage)(const struct path___2 *, bool);
1: + struct dentry___2 * (*d_real)(struct dentry___2 *, const struct inode___2 *);
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct quota_format_type___2;
1: +
1: +struct mem_dqinfo___2 {
1: + struct quota_format_type___2 *dqi_format;
1: + int dqi_fmt_id;
1: + struct list_head dqi_dirty_list;
1: + long unsigned int dqi_flags;
1: + unsigned int dqi_bgrace;
1: + unsigned int dqi_igrace;
1: + qsize_t dqi_max_spc_limit;
1: + qsize_t dqi_max_ino_limit;
1: + void *dqi_priv;
1: +};
1: +
1: +struct quota_format_ops___2;
1: +
1: +struct quota_info___2 {
1: + unsigned int flags;
1: + struct rw_semaphore dqio_sem;
1: + struct inode___2 *files[3];
1: + struct mem_dqinfo___2 info[3];
1: + const struct quota_format_ops___2 *ops[3];
1: +};
1: +
1: +struct rcuwait___2 {
1: + struct task_struct___2 *task;
1: +};
1: +
1: +struct percpu_rw_semaphore___2 {
1: + struct rcu_sync rss;
1: + unsigned int *read_count;
1: + struct rw_semaphore rw_sem;
1: + struct rcuwait___2 writer;
1: + int readers_block;
1: +};
1: +
1: +struct sb_writers___2 {
1: + int frozen;
1: + wait_queue_head_t wait_unfrozen;
1: + struct percpu_rw_semaphore___2 rw_sem[3];
1: +};
1: +
1: +struct file_system_type___2;
1: +
1: +struct super_operations___2;
1: +
1: +struct dquot_operations___2;
1: +
1: +struct quotactl_ops___2;
1: +
1: +struct user_namespace___2;
1: +
1: +struct super_block___2 {
1: + struct list_head s_list;
1: + dev_t s_dev;
1: + unsigned char s_blocksize_bits;
1: + long unsigned int s_blocksize;
1: + loff_t s_maxbytes;
1: + struct file_system_type___2 *s_type;
1: + const struct super_operations___2 *s_op;
1: + const struct dquot_operations___2 *dq_op;
1: + const struct quotactl_ops___2 *s_qcop;
1: + const struct export_operations *s_export_op;
1: + long unsigned int s_flags;
1: + long unsigned int s_iflags;
1: + long unsigned int s_magic;
1: + struct dentry___2 *s_root;
1: + struct rw_semaphore s_umount;
1: + int s_count;
1: + atomic_t s_active;
1: + void *s_security;
1: + const struct xattr_handler **s_xattr;
1: + struct hlist_bl_head s_roots;
1: + struct list_head s_mounts;
1: + struct block_device___2 *s_bdev;
1: + struct backing_dev_info *s_bdi;
1: + struct mtd_info *s_mtd;
1: + struct hlist_node s_instances;
1: + unsigned int s_quota_types;
1: + struct quota_info___2 s_dquot;
1: + struct sb_writers___2 s_writers;
1: + void *s_fs_info;
1: + u32 s_time_gran;
1: + time64_t s_time_min;
1: + time64_t s_time_max;
1: + __u32 s_fsnotify_mask;
1: + struct fsnotify_mark_connector *s_fsnotify_marks;
1: + char s_id[32];
1: + uuid_t s_uuid;
1: + unsigned int s_max_links;
1: + fmode_t s_mode;
1: + struct mutex s_vfs_rename_mutex;
1: + const char *s_subtype;
1: + const struct dentry_operations___2 *s_d_op;
1: + int cleancache_poolid;
1: + struct shrinker s_shrink;
1: + atomic_long_t s_remove_count;
1: + atomic_long_t s_fsnotify_inode_refs;
1: + int s_readonly_remount;
1: + struct workqueue_struct *s_dio_done_wq;
1: + struct hlist_head s_pins;
1: + struct user_namespace___2 *s_user_ns;
1: + struct list_lru s_dentry_lru;
1: + struct list_lru s_inode_lru;
1: + struct callback_head rcu;
1: + struct work_struct destroy_work;
1: + struct mutex s_sync_lock;
1: + int s_stack_depth;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + spinlock_t s_inode_list_lock;
1: + struct list_head s_inodes;
1: + spinlock_t s_inode_wblist_lock;
1: + struct list_head s_inodes_wb;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct vfsmount___2 {
1: + struct dentry___2 *mnt_root;
1: + struct super_block___2 *mnt_sb;
1: + int mnt_flags;
1: +};
1: +
1: +struct path___2 {
1: + struct vfsmount___2 *mnt;
1: + struct dentry___2 *dentry;
1: +};
1: +
1: +struct vm_area_struct___2;
1: +
1: +struct vmacache___2 {
1: + u64 seqnum;
1: + struct vm_area_struct___2 *vmas[4];
1: +};
1: +
1: +struct vm_operations_struct___2;
1: +
1: +struct file___2;
1: +
1: +struct vm_area_struct___2 {
1: + long unsigned int vm_start;
1: + long unsigned int vm_end;
1: + struct vm_area_struct___2 *vm_next;
1: + struct vm_area_struct___2 *vm_prev;
1: + struct rb_node vm_rb;
1: + long unsigned int rb_subtree_gap;
1: + struct mm_struct___2 *vm_mm;
1: + pgprot_t vm_page_prot;
1: + long unsigned int vm_flags;
1: + struct {
1: + struct rb_node rb;
1: + long unsigned int rb_subtree_last;
1: + } shared;
1: + struct list_head anon_vma_chain;
1: + struct anon_vma *anon_vma;
1: + const struct vm_operations_struct___2 *vm_ops;
1: + long unsigned int vm_pgoff;
1: + struct file___2 *vm_file;
1: + void *vm_private_data;
1: + atomic_long_t swap_readahead_info;
1: + struct mempolicy *vm_policy;
1: + struct vm_userfaultfd_ctx vm_userfaultfd_ctx;
1: +};
1: +
1: +struct page_frag___2 {
1: + struct page___2 *page;
1: + __u32 offset;
1: + __u32 size;
1: +};
1: +
1: +struct core_state___2;
1: +
1: +struct mm_struct___2 {
1: + struct {
1: + struct vm_area_struct___2 *mmap;
1: + struct rb_root mm_rb;
1: + u64 vmacache_seqnum;
1: + long unsigned int (*get_unmapped_area)(struct file___2 *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: + long unsigned int mmap_base;
1: + long unsigned int mmap_legacy_base;
1: + long unsigned int mmap_compat_base;
1: + long unsigned int mmap_compat_legacy_base;
1: + long unsigned int task_size;
1: + long unsigned int highest_vm_end;
1: + pgd_t *pgd;
1: + atomic_t membarrier_state;
1: + atomic_t mm_users;
1: + atomic_t mm_count;
1: + atomic_long_t pgtables_bytes;
1: + int map_count;
1: + spinlock_t page_table_lock;
1: + struct rw_semaphore mmap_sem;
1: + struct list_head mmlist;
1: + long unsigned int hiwater_rss;
1: + long unsigned int hiwater_vm;
1: + long unsigned int total_vm;
1: + long unsigned int locked_vm;
1: + atomic64_t pinned_vm;
1: + long unsigned int data_vm;
1: + long unsigned int exec_vm;
1: + long unsigned int stack_vm;
1: + long unsigned int def_flags;
1: + spinlock_t arg_lock;
1: + long unsigned int start_code;
1: + long unsigned int end_code;
1: + long unsigned int start_data;
1: + long unsigned int end_data;
1: + long unsigned int start_brk;
1: + long unsigned int brk;
1: + long unsigned int start_stack;
1: + long unsigned int arg_start;
1: + long unsigned int arg_end;
1: + long unsigned int env_start;
1: + long unsigned int env_end;
1: + long unsigned int saved_auxv[46];
1: + struct mm_rss_stat rss_stat;
1: + struct linux_binfmt *binfmt;
1: + mm_context_t context;
1: + long unsigned int flags;
1: + struct core_state___2 *core_state;
1: + spinlock_t ioctx_lock;
1: + struct kioctx_table *ioctx_table;
1: + struct user_namespace___2 *user_ns;
1: + struct file___2 *exe_file;
1: + struct mmu_notifier_mm *mmu_notifier_mm;
1: + atomic_t tlb_flush_pending;
1: + bool tlb_flush_batched;
1: + struct uprobes_state uprobes_state;
1: + atomic_long_t hugetlb_usage;
1: + struct work_struct async_put_work;
1: + };
1: + long unsigned int cpu_bitmap[0];
1: +};
1: +
1: +struct pid___2;
1: +
1: +struct cred___2;
1: +
1: +struct nsproxy___2;
1: +
1: +struct signal_struct___2;
1: +
1: +struct css_set___2;
1: +
1: +struct vm_struct___2;
1: +
1: +struct task_struct___2 {
1: + struct thread_info thread_info;
1: + volatile long int state;
1: + void *stack;
1: + refcount_t usage;
1: + unsigned int flags;
1: + unsigned int ptrace;
1: + struct llist_node wake_entry;
1: + int on_cpu;
1: + unsigned int cpu;
1: + unsigned int wakee_flips;
1: + long unsigned int wakee_flip_decay_ts;
1: + struct task_struct___2 *last_wakee;
1: + int recent_used_cpu;
1: + int wake_cpu;
1: + int on_rq;
1: + int prio;
1: + int static_prio;
1: + int normal_prio;
1: + unsigned int rt_priority;
1: + const struct sched_class *sched_class;
1: + struct sched_entity se;
1: + struct sched_rt_entity rt;
1: + struct task_group *sched_task_group;
1: + struct sched_dl_entity dl;
1: + unsigned int btrace_seq;
1: + unsigned int policy;
1: + int nr_cpus_allowed;
1: + const cpumask_t *cpus_ptr;
1: + cpumask_t cpus_mask;
1: + struct sched_info sched_info;
1: + struct list_head tasks;
1: + struct plist_node pushable_tasks;
1: + struct rb_node pushable_dl_tasks;
1: + struct mm_struct___2 *mm;
1: + struct mm_struct___2 *active_mm;
1: + struct vmacache___2 vmacache;
1: + struct task_rss_stat rss_stat;
1: + int exit_state;
1: + int exit_code;
1: + int exit_signal;
1: + int pdeath_signal;
1: + long unsigned int jobctl;
1: + unsigned int personality;
1: + unsigned int sched_reset_on_fork: 1;
1: + unsigned int sched_contributes_to_load: 1;
1: + unsigned int sched_migrated: 1;
1: + unsigned int sched_remote_wakeup: 1;
1: + int: 28;
1: + unsigned int in_execve: 1;
1: + unsigned int in_iowait: 1;
1: + unsigned int restore_sigmask: 1;
1: + unsigned int no_cgroup_migration: 1;
1: + unsigned int frozen: 1;
1: + long unsigned int atomic_flags;
1: + struct restart_block restart_block;
1: + pid_t pid;
1: + pid_t tgid;
1: + long unsigned int stack_canary;
1: + struct task_struct___2 *real_parent;
1: + struct task_struct___2 *parent;
1: + struct list_head children;
1: + struct list_head sibling;
1: + struct task_struct___2 *group_leader;
1: + struct list_head ptraced;
1: + struct list_head ptrace_entry;
1: + struct pid___2 *thread_pid;
1: + struct hlist_node pid_links[4];
1: + struct list_head thread_group;
1: + struct list_head thread_node;
1: + struct completion *vfork_done;
1: + int *set_child_tid;
1: + int *clear_child_tid;
1: + u64 utime;
1: + u64 stime;
1: + u64 gtime;
1: + struct prev_cputime prev_cputime;
1: + long unsigned int nvcsw;
1: + long unsigned int nivcsw;
1: + u64 start_time;
1: + u64 start_boottime;
1: + long unsigned int min_flt;
1: + long unsigned int maj_flt;
1: + struct posix_cputimers posix_cputimers;
1: + const struct cred___2 *ptracer_cred;
1: + const struct cred___2 *real_cred;
1: + const struct cred___2 *cred;
1: + struct key *cached_requested_key;
1: + char comm[16];
1: + struct nameidata *nameidata;
1: + struct sysv_sem sysvsem;
1: + struct sysv_shm sysvshm;
1: + struct fs_struct *fs;
1: + struct files_struct *files;
1: + struct nsproxy___2 *nsproxy;
1: + struct signal_struct___2 *signal;
1: + struct sighand_struct *sighand;
1: + sigset_t blocked;
1: + sigset_t real_blocked;
1: + sigset_t saved_sigmask;
1: + struct sigpending pending;
1: + long unsigned int sas_ss_sp;
1: + size_t sas_ss_size;
1: + unsigned int sas_ss_flags;
1: + struct callback_head *task_works;
1: + struct audit_context *audit_context;
1: + kuid_t loginuid;
1: + unsigned int sessionid;
1: + struct seccomp seccomp;
1: + u32 parent_exec_id;
1: + u32 self_exec_id;
1: + spinlock_t alloc_lock;
1: + raw_spinlock_t pi_lock;
1: + struct wake_q_node wake_q;
1: + struct rb_root_cached pi_waiters;
1: + struct task_struct___2 *pi_top_task;
1: + struct rt_mutex_waiter *pi_blocked_on;
1: + void *journal_info;
1: + struct bio_list *bio_list;
1: + struct blk_plug *plug;
1: + struct reclaim_state *reclaim_state;
1: + struct backing_dev_info *backing_dev_info;
1: + struct io_context *io_context;
1: + struct capture_control *capture_control;
1: + long unsigned int ptrace_message;
1: + kernel_siginfo_t *last_siginfo;
1: + struct task_io_accounting ioac;
1: + u64 acct_rss_mem1;
1: + u64 acct_vm_mem1;
1: + u64 acct_timexpd;
1: + nodemask_t mems_allowed;
1: + seqcount_t mems_allowed_seq;
1: + int cpuset_mem_spread_rotor;
1: + int cpuset_slab_spread_rotor;
1: + struct css_set___2 *cgroups;
1: + struct list_head cg_list;
1: + struct robust_list_head *robust_list;
1: + struct compat_robust_list_head *compat_robust_list;
1: + struct list_head pi_state_list;
1: + struct futex_pi_state *pi_state_cache;
1: + struct mutex futex_exit_mutex;
1: + unsigned int futex_state;
1: + struct perf_event_context___2 *perf_event_ctxp[2];
1: + struct mutex perf_event_mutex;
1: + struct list_head perf_event_list;
1: + struct mempolicy *mempolicy;
1: + short int il_prev;
1: + short int pref_node_fork;
1: + struct rseq *rseq;
1: + u32 rseq_sig;
1: + long unsigned int rseq_event_mask;
1: + struct tlbflush_unmap_batch tlb_ubc;
1: + union {
1: + refcount_t rcu_users;
1: + struct callback_head rcu;
1: + };
1: + struct pipe_inode_info___2 *splice_pipe;
1: + struct page_frag___2 task_frag;
1: + struct task_delay_info *delays;
1: + int nr_dirtied;
1: + int nr_dirtied_pause;
1: + long unsigned int dirty_paused_when;
1: + u64 timer_slack_ns;
1: + u64 default_timer_slack_ns;
1: + long unsigned int trace;
1: + long unsigned int trace_recursion;
1: + struct uprobe_task *utask;
1: + int pagefault_disabled;
1: + struct task_struct___2 *oom_reaper_list;
1: + struct vm_struct___2 *stack_vm_area;
1: + refcount_t stack_refcount;
1: + void *security;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct thread_struct___2 thread;
1: +};
1: +
1: +struct dev_pagemap_ops___2;
1: +
1: +struct dev_pagemap___2 {
1: + struct vmem_altmap altmap;
1: + struct resource res;
1: + struct percpu_ref *ref;
1: + struct percpu_ref internal_ref;
1: + struct completion done;
1: + enum memory_type type;
1: + unsigned int flags;
1: + const struct dev_pagemap_ops___2 *ops;
1: +};
1: +
1: +struct fown_struct___2 {
1: + rwlock_t lock;
1: + struct pid___2 *pid;
1: + enum pid_type pid_type;
1: + kuid_t uid;
1: + kuid_t euid;
1: + int signum;
1: +};
1: +
1: +struct file___2 {
1: + union {
1: + struct llist_node fu_llist;
1: + struct callback_head fu_rcuhead;
1: + } f_u;
1: + struct path___2 f_path;
1: + struct inode___2 *f_inode;
1: + const struct file_operations___2 *f_op;
1: + spinlock_t f_lock;
1: + enum rw_hint f_write_hint;
1: + atomic_long_t f_count;
1: + unsigned int f_flags;
1: + fmode_t f_mode;
1: + struct mutex f_pos_lock;
1: + loff_t f_pos;
1: + struct fown_struct___2 f_owner;
1: + const struct cred___2 *f_cred;
1: + struct file_ra_state f_ra;
1: + u64 f_version;
1: + void *f_security;
1: + void *private_data;
1: + struct list_head f_ep_links;
1: + struct list_head f_tfile_llink;
1: + struct address_space___2 *f_mapping;
1: + errseq_t f_wb_err;
1: +};
1: +
1: +struct vm_fault___2;
1: +
1: +struct vm_operations_struct___2 {
1: + void (*open)(struct vm_area_struct___2 *);
1: + void (*close)(struct vm_area_struct___2 *);
1: + int (*split)(struct vm_area_struct___2 *, long unsigned int);
1: + int (*mremap)(struct vm_area_struct___2 *);
1: + vm_fault_t (*fault)(struct vm_fault___2 *);
1: + vm_fault_t (*huge_fault)(struct vm_fault___2 *, enum page_entry_size);
1: + void (*map_pages)(struct vm_fault___2 *, long unsigned int, long unsigned int);
1: + long unsigned int (*pagesize)(struct vm_area_struct___2 *);
1: + vm_fault_t (*page_mkwrite)(struct vm_fault___2 *);
1: + vm_fault_t (*pfn_mkwrite)(struct vm_fault___2 *);
1: + int (*access)(struct vm_area_struct___2 *, long unsigned int, void *, int, int);
1: + const char * (*name)(struct vm_area_struct___2 *);
1: + int (*set_policy)(struct vm_area_struct___2 *, struct mempolicy *);
1: + struct mempolicy * (*get_policy)(struct vm_area_struct___2 *, long unsigned int);
1: + struct page___2 * (*find_special_page)(struct vm_area_struct___2 *, long unsigned int);
1: +};
1: +
1: +struct core_thread___2 {
1: + struct task_struct___2 *task;
1: + struct core_thread___2 *next;
1: +};
1: +
1: +struct core_state___2 {
1: + atomic_t nr_threads;
1: + struct core_thread___2 dumper;
1: + struct completion startup;
1: +};
1: +
1: +struct proc_ns_operations___2;
1: +
1: +struct ns_common___2 {
1: + atomic_long_t stashed;
1: + const struct proc_ns_operations___2 *ops;
1: + unsigned int inum;
1: +};
1: +
1: +struct ucounts___2;
1: +
1: +struct user_namespace___2 {
1: + struct uid_gid_map uid_map;
1: + struct uid_gid_map gid_map;
1: + struct uid_gid_map projid_map;
1: + atomic_t count;
1: + struct user_namespace___2 *parent;
1: + int level;
1: + kuid_t owner;
1: + kgid_t group;
1: + struct ns_common___2 ns;
1: + long unsigned int flags;
1: + struct list_head keyring_name_list;
1: + struct key *user_keyring_register;
1: + struct rw_semaphore keyring_sem;
1: + struct work_struct work;
1: + struct ctl_table_set set;
1: + struct ctl_table_header *sysctls;
1: + struct ucounts___2 *ucounts;
1: + int ucount_max[9];
1: +};
1: +
1: +struct vm_fault___2 {
1: + struct vm_area_struct___2 *vma;
1: + unsigned int flags;
1: + gfp_t gfp_mask;
1: + long unsigned int pgoff;
1: + long unsigned int address;
1: + pmd_t *pmd;
1: + pud_t *pud;
1: + pte_t orig_pte;
1: + struct page___2 *cow_page;
1: + struct mem_cgroup *memcg;
1: + struct page___2 *page;
1: + pte_t *pte;
1: + spinlock_t *ptl;
1: + pgtable_t___2 prealloc_pte;
1: +};
1: +
1: +struct pglist_data___2;
1: +
1: +struct zone___2 {
1: + long unsigned int _watermark[3];
1: + long unsigned int watermark_boost;
1: + long unsigned int nr_reserved_highatomic;
1: + long int lowmem_reserve[4];
1: + int node;
1: + struct pglist_data___2 *zone_pgdat;
1: + struct per_cpu_pageset *pageset;
1: + long unsigned int zone_start_pfn;
1: + atomic_long_t managed_pages;
1: + long unsigned int spanned_pages;
1: + long unsigned int present_pages;
1: + const char *name;
1: + int initialized;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct zone_padding _pad1_;
1: + struct free_area free_area[11];
1: + long unsigned int flags;
1: + spinlock_t lock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct zone_padding _pad2_;
1: + long unsigned int percpu_drift_mark;
1: + long unsigned int compact_cached_free_pfn;
1: + long unsigned int compact_cached_migrate_pfn[2];
1: + long unsigned int compact_init_migrate_pfn;
1: + long unsigned int compact_init_free_pfn;
1: + unsigned int compact_considered;
1: + unsigned int compact_defer_shift;
1: + int compact_order_failed;
1: + bool compact_blockskip_flush;
1: + bool contiguous;
1: + short: 16;
1: + struct zone_padding _pad3_;
1: + atomic_long_t vm_stat[12];
1: + atomic_long_t vm_numa_stat[6];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct zoneref___2 {
1: + struct zone___2 *zone;
1: + int zone_idx;
1: +};
1: +
1: +struct zonelist___2 {
1: + struct zoneref___2 _zonerefs[257];
1: +};
1: +
1: +struct pglist_data___2 {
1: + struct zone___2 node_zones[4];
1: + struct zonelist___2 node_zonelists[2];
1: + int nr_zones;
1: + long unsigned int node_start_pfn;
1: + long unsigned int node_present_pages;
1: + long unsigned int node_spanned_pages;
1: + int node_id;
1: + wait_queue_head_t kswapd_wait;
1: + wait_queue_head_t pfmemalloc_wait;
1: + struct task_struct___2 *kswapd;
1: + int kswapd_order;
1: + enum zone_type kswapd_classzone_idx;
1: + int kswapd_failures;
1: + int kcompactd_max_order;
1: + enum zone_type kcompactd_classzone_idx;
1: + wait_queue_head_t kcompactd_wait;
1: + struct task_struct___2 *kcompactd;
1: + long unsigned int totalreserve_pages;
1: + long unsigned int min_unmapped_pages;
1: + long unsigned int min_slab_pages;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct zone_padding _pad1_;
1: + spinlock_t lru_lock;
1: + struct lruvec __lruvec;
1: + long unsigned int flags;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct zone_padding _pad2_;
1: + struct per_cpu_nodestat *per_cpu_nodestats;
1: + atomic_long_t vm_stat[32];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct fwnode_operations___2;
1: +
1: +struct device___2;
1: +
1: +struct fwnode_handle___2 {
1: + struct fwnode_handle___2 *secondary;
1: + const struct fwnode_operations___2 *ops;
1: + struct device___2 *dev;
1: +};
1: +
1: +struct fwnode_reference_args___2;
1: +
1: +struct fwnode_endpoint___2;
1: +
1: +struct fwnode_operations___2 {
1: + struct fwnode_handle___2 * (*get)(struct fwnode_handle___2 *);
1: + void (*put)(struct fwnode_handle___2 *);
1: + bool (*device_is_available)(const struct fwnode_handle___2 *);
1: + const void * (*device_get_match_data)(const struct fwnode_handle___2 *, const struct device___2 *);
1: + bool (*property_present)(const struct fwnode_handle___2 *, const char *);
1: + int (*property_read_int_array)(const struct fwnode_handle___2 *, const char *, unsigned int, void *, size_t);
1: + int (*property_read_string_array)(const struct fwnode_handle___2 *, const char *, const char **, size_t);
1: + const char * (*get_name)(const struct fwnode_handle___2 *);
1: + const char * (*get_name_prefix)(const struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 * (*get_parent)(const struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 * (*get_next_child_node)(const struct fwnode_handle___2 *, struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 * (*get_named_child_node)(const struct fwnode_handle___2 *, const char *);
1: + int (*get_reference_args)(const struct fwnode_handle___2 *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args___2 *);
1: + struct fwnode_handle___2 * (*graph_get_next_endpoint)(const struct fwnode_handle___2 *, struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 * (*graph_get_remote_endpoint)(const struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 * (*graph_get_port_parent)(struct fwnode_handle___2 *);
1: + int (*graph_parse_endpoint)(const struct fwnode_handle___2 *, struct fwnode_endpoint___2 *);
1: + int (*add_links)(const struct fwnode_handle___2 *, struct device___2 *);
1: +};
1: +
1: +struct kset___2;
1: +
1: +struct kobj_type___2;
1: +
1: +struct kernfs_node___2;
1: +
1: +struct kobject___2 {
1: + const char *name;
1: + struct list_head entry;
1: + struct kobject___2 *parent;
1: + struct kset___2 *kset;
1: + struct kobj_type___2 *ktype;
1: + struct kernfs_node___2 *sd;
1: + struct kref kref;
1: + unsigned int state_initialized: 1;
1: + unsigned int state_in_sysfs: 1;
1: + unsigned int state_add_uevent_sent: 1;
1: + unsigned int state_remove_uevent_sent: 1;
1: + unsigned int uevent_suppress: 1;
1: +};
1: +
1: +struct wakeup_source___2;
1: +
1: +struct dev_pm_info___2 {
1: + pm_message_t power_state;
1: + unsigned int can_wakeup: 1;
1: + unsigned int async_suspend: 1;
1: + bool in_dpm_list: 1;
1: + bool is_prepared: 1;
1: + bool is_suspended: 1;
1: + bool is_noirq_suspended: 1;
1: + bool is_late_suspended: 1;
1: + bool no_pm: 1;
1: + bool early_init: 1;
1: + bool direct_complete: 1;
1: + u32 driver_flags;
1: + spinlock_t lock;
1: + struct list_head entry;
1: + struct completion completion;
1: + struct wakeup_source___2 *wakeup;
1: + bool wakeup_path: 1;
1: + bool syscore: 1;
1: + bool no_pm_callbacks: 1;
1: + unsigned int must_resume: 1;
1: + unsigned int may_skip_resume: 1;
1: + struct hrtimer suspend_timer;
1: + long unsigned int timer_expires;
1: + struct work_struct work;
1: + wait_queue_head_t wait_queue;
1: + struct wake_irq *wakeirq;
1: + atomic_t usage_count;
1: + atomic_t child_count;
1: + unsigned int disable_depth: 3;
1: + unsigned int idle_notification: 1;
1: + unsigned int request_pending: 1;
1: + unsigned int deferred_resume: 1;
1: + unsigned int runtime_auto: 1;
1: + bool ignore_children: 1;
1: + unsigned int no_callbacks: 1;
1: + unsigned int irq_safe: 1;
1: + unsigned int use_autosuspend: 1;
1: + unsigned int timer_autosuspends: 1;
1: + unsigned int memalloc_noio: 1;
1: + unsigned int links_count;
1: + enum rpm_request request;
1: + enum rpm_status runtime_status;
1: + int runtime_error;
1: + int autosuspend_delay;
1: + u64 last_busy;
1: + u64 active_time;
1: + u64 suspended_time;
1: + u64 accounting_timestamp;
1: + struct pm_subsys_data *subsys_data;
1: + void (*set_latency_tolerance)(struct device___2 *, s32);
1: + struct dev_pm_qos *qos;
1: +};
1: +
1: +struct device_type___2;
1: +
1: +struct bus_type___2;
1: +
1: +struct device_driver___2;
1: +
1: +struct dev_pm_domain___2;
1: +
1: +struct dma_map_ops___2;
1: +
1: +struct device_node___2;
1: +
1: +struct class___2;
1: +
1: +struct attribute_group___2;
1: +
1: +struct device___2 {
1: + struct kobject___2 kobj;
1: + struct device___2 *parent;
1: + struct device_private *p;
1: + const char *init_name;
1: + const struct device_type___2 *type;
1: + struct bus_type___2 *bus;
1: + struct device_driver___2 *driver;
1: + void *platform_data;
1: + void *driver_data;
1: + struct mutex mutex;
1: + struct dev_links_info links;
1: + struct dev_pm_info___2 power;
1: + struct dev_pm_domain___2 *pm_domain;
1: + struct irq_domain *msi_domain;
1: + struct list_head msi_list;
1: + const struct dma_map_ops___2 *dma_ops;
1: + u64 *dma_mask;
1: + u64 coherent_dma_mask;
1: + u64 bus_dma_limit;
1: + long unsigned int dma_pfn_offset;
1: + struct device_dma_parameters *dma_parms;
1: + struct list_head dma_pools;
1: + struct dev_archdata archdata;
1: + struct device_node___2 *of_node;
1: + struct fwnode_handle___2 *fwnode;
1: + int numa_node;
1: + dev_t devt;
1: + u32 id;
1: + spinlock_t devres_lock;
1: + struct list_head devres_head;
1: + struct class___2 *class;
1: + const struct attribute_group___2 **groups;
1: + void (*release)(struct device___2 *);
1: + struct iommu_group *iommu_group;
1: + struct iommu_fwspec *iommu_fwspec;
1: + struct iommu_param *iommu_param;
1: + bool offline_disabled: 1;
1: + bool offline: 1;
1: + bool of_node_reused: 1;
1: + bool state_synced: 1;
1: +};
1: +
1: +struct fwnode_endpoint___2 {
1: + unsigned int port;
1: + unsigned int id;
1: + const struct fwnode_handle___2 *local_fwnode;
1: +};
1: +
1: +struct fwnode_reference_args___2 {
1: + struct fwnode_handle___2 *fwnode;
1: + unsigned int nargs;
1: + u64 args[8];
1: +};
1: +
1: +struct vm_struct___2 {
1: + struct vm_struct___2 *next;
1: + void *addr;
1: + long unsigned int size;
1: + long unsigned int flags;
1: + struct page___2 **pages;
1: + unsigned int nr_pages;
1: + phys_addr_t phys_addr;
1: + const void *caller;
1: +};
1: +
1: +struct smp_ops___2 {
1: + void (*smp_prepare_boot_cpu)();
1: + void (*smp_prepare_cpus)(unsigned int);
1: + void (*smp_cpus_done)(unsigned int);
1: + void (*stop_other_cpus)(int);
1: + void (*crash_stop_other_cpus)();
1: + void (*smp_send_reschedule)(int);
1: + int (*cpu_up)(unsigned int, struct task_struct___2 *);
1: + int (*cpu_disable)();
1: + void (*cpu_die)(unsigned int);
1: + void (*play_dead)();
1: + void (*send_call_func_ipi)(const struct cpumask *);
1: + void (*send_call_func_single_ipi)(int);
1: +};
1: +
1: +struct upid___2 {
1: + int nr;
1: + struct pid_namespace___2 *ns;
1: +};
1: +
1: +struct pid_namespace___2 {
1: + struct kref kref;
1: + struct idr idr;
1: + struct callback_head rcu;
1: + unsigned int pid_allocated;
1: + struct task_struct___2 *child_reaper;
1: + struct kmem_cache *pid_cachep;
1: + unsigned int level;
1: + struct pid_namespace___2 *parent;
1: + struct vfsmount___2 *proc_mnt;
1: + struct dentry___2 *proc_self;
1: + struct dentry___2 *proc_thread_self;
1: + struct fs_pin *bacct;
1: + struct user_namespace___2 *user_ns;
1: + struct ucounts___2 *ucounts;
1: + struct work_struct proc_work;
1: + kgid_t pid_gid;
1: + int hide_pid;
1: + int reboot;
1: + struct ns_common___2 ns;
1: +};
1: +
1: +struct pid___2 {
1: + refcount_t count;
1: + unsigned int level;
1: + struct hlist_head tasks[4];
1: + wait_queue_head_t wait_pidfd;
1: + struct callback_head rcu;
1: + struct upid___2 numbers[1];
1: +};
1: +
1: +struct signal_struct___2 {
1: + refcount_t sigcnt;
1: + atomic_t live;
1: + int nr_threads;
1: + struct list_head thread_head;
1: + wait_queue_head_t wait_chldexit;
1: + struct task_struct___2 *curr_target;
1: + struct sigpending shared_pending;
1: + struct hlist_head multiprocess;
1: + int group_exit_code;
1: + int notify_count;
1: + struct task_struct___2 *group_exit_task;
1: + int group_stop_count;
1: + unsigned int flags;
1: + unsigned int is_child_subreaper: 1;
1: + unsigned int has_child_subreaper: 1;
1: + int posix_timer_id;
1: + struct list_head posix_timers;
1: + struct hrtimer real_timer;
1: + ktime_t it_real_incr;
1: + struct cpu_itimer it[2];
1: + struct thread_group_cputimer cputimer;
1: + struct posix_cputimers posix_cputimers;
1: + struct pid___2 *pids[4];
1: + struct pid___2 *tty_old_pgrp;
1: + int leader;
1: + struct tty_struct *tty;
1: + seqlock_t stats_lock;
1: + u64 utime;
1: + u64 stime;
1: + u64 cutime;
1: + u64 cstime;
1: + u64 gtime;
1: + u64 cgtime;
1: + struct prev_cputime prev_cputime;
1: + long unsigned int nvcsw;
1: + long unsigned int nivcsw;
1: + long unsigned int cnvcsw;
1: + long unsigned int cnivcsw;
1: + long unsigned int min_flt;
1: + long unsigned int maj_flt;
1: + long unsigned int cmin_flt;
1: + long unsigned int cmaj_flt;
1: + long unsigned int inblock;
1: + long unsigned int oublock;
1: + long unsigned int cinblock;
1: + long unsigned int coublock;
1: + long unsigned int maxrss;
1: + long unsigned int cmaxrss;
1: + struct task_io_accounting ioac;
1: + long long unsigned int sum_sched_runtime;
1: + struct rlimit rlim[16];
1: + struct pacct_struct pacct;
1: + struct taskstats *stats;
1: + unsigned int audit_tty;
1: + struct tty_audit_buf *tty_audit_buf;
1: + bool oom_flag_origin;
1: + short int oom_score_adj;
1: + short int oom_score_adj_min;
1: + struct mm_struct___2 *oom_mm;
1: + struct mutex cred_guard_mutex;
1: +};
1: +
1: +struct cred___2 {
1: + atomic_t usage;
1: + kuid_t uid;
1: + kgid_t gid;
1: + kuid_t suid;
1: + kgid_t sgid;
1: + kuid_t euid;
1: + kgid_t egid;
1: + kuid_t fsuid;
1: + kgid_t fsgid;
1: + unsigned int securebits;
1: + kernel_cap_t cap_inheritable;
1: + kernel_cap_t cap_permitted;
1: + kernel_cap_t cap_effective;
1: + kernel_cap_t cap_bset;
1: + kernel_cap_t cap_ambient;
1: + unsigned char jit_keyring;
1: + struct key *session_keyring;
1: + struct key *process_keyring;
1: + struct key *thread_keyring;
1: + struct key *request_key_auth;
1: + void *security;
1: + struct user_struct *user;
1: + struct user_namespace___2 *user_ns;
1: + struct group_info *group_info;
1: + union {
1: + int non_rcu;
1: + struct callback_head rcu;
1: + };
1: +};
1: +
1: +struct net___2;
1: +
1: +struct cgroup_namespace___2;
1: +
1: +struct nsproxy___2 {
1: + atomic_t count;
1: + struct uts_namespace *uts_ns;
1: + struct ipc_namespace *ipc_ns;
1: + struct mnt_namespace *mnt_ns;
1: + struct pid_namespace___2 *pid_ns_for_children;
1: + struct net___2 *net_ns;
1: + struct cgroup_namespace___2 *cgroup_ns;
1: +};
1: +
1: +struct cgroup_subsys_state___2;
1: +
1: +struct cgroup___2;
1: +
1: +struct css_set___2 {
1: + struct cgroup_subsys_state___2 *subsys[4];
1: + refcount_t refcount;
1: + struct css_set___2 *dom_cset;
1: + struct cgroup___2 *dfl_cgrp;
1: + int nr_tasks;
1: + struct list_head tasks;
1: + struct list_head mg_tasks;
1: + struct list_head dying_tasks;
1: + struct list_head task_iters;
1: + struct list_head e_cset_node[4];
1: + struct list_head threaded_csets;
1: + struct list_head threaded_csets_node;
1: + struct hlist_node hlist;
1: + struct list_head cgrp_links;
1: + struct list_head mg_preload_node;
1: + struct list_head mg_node;
1: + struct cgroup___2 *mg_src_cgrp;
1: + struct cgroup___2 *mg_dst_cgrp;
1: + struct css_set___2 *mg_dst_cset;
1: + bool dead;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct perf_event_context___2 {
1: + struct pmu___2 *pmu;
1: + raw_spinlock_t lock;
1: + struct mutex mutex;
1: + struct list_head active_ctx_list;
1: + struct perf_event_groups pinned_groups;
1: + struct perf_event_groups flexible_groups;
1: + struct list_head event_list;
1: + struct list_head pinned_active;
1: + struct list_head flexible_active;
1: + int nr_events;
1: + int nr_active;
1: + int is_active;
1: + int nr_stat;
1: + int nr_freq;
1: + int rotate_disable;
1: + int rotate_necessary;
1: + refcount_t refcount;
1: + struct task_struct___2 *task;
1: + u64 time;
1: + u64 timestamp;
1: + struct perf_event_context___2 *parent_ctx;
1: + u64 parent_gen;
1: + u64 generation;
1: + int pin_count;
1: + void *task_ctx_data;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct pipe_buffer___2;
1: +
1: +struct pipe_inode_info___2 {
1: + struct mutex mutex;
1: + wait_queue_head_t wait;
1: + unsigned int head;
1: + unsigned int tail;
1: + unsigned int max_usage;
1: + unsigned int ring_size;
1: + unsigned int readers;
1: + unsigned int writers;
1: + unsigned int files;
1: + unsigned int r_counter;
1: + unsigned int w_counter;
1: + struct page___2 *tmp_page;
1: + struct fasync_struct___2 *fasync_readers;
1: + struct fasync_struct___2 *fasync_writers;
1: + struct pipe_buffer___2 *bufs;
1: + struct user_struct *user;
1: +};
1: +
1: +struct kiocb___2 {
1: + struct file___2 *ki_filp;
1: + loff_t ki_pos;
1: + void (*ki_complete)(struct kiocb___2 *, long int, long int);
1: + void *private;
1: + int ki_flags;
1: + u16 ki_hint;
1: + u16 ki_ioprio;
1: + unsigned int ki_cookie;
1: +};
1: +
1: +struct iattr___2 {
1: + unsigned int ia_valid;
1: + umode_t ia_mode;
1: + kuid_t ia_uid;
1: + kgid_t ia_gid;
1: + loff_t ia_size;
1: + struct timespec64 ia_atime;
1: + struct timespec64 ia_mtime;
1: + struct timespec64 ia_ctime;
1: + struct file___2 *ia_file;
1: +};
1: +
1: +struct dquot___2 {
1: + struct hlist_node dq_hash;
1: + struct list_head dq_inuse;
1: + struct list_head dq_free;
1: + struct list_head dq_dirty;
1: + struct mutex dq_lock;
1: + spinlock_t dq_dqb_lock;
1: + atomic_t dq_count;
1: + struct super_block___2 *dq_sb;
1: + struct kqid dq_id;
1: + loff_t dq_off;
1: + long unsigned int dq_flags;
1: + struct mem_dqblk dq_dqb;
1: +};
1: +
1: +struct module___2;
1: +
1: +struct quota_format_type___2 {
1: + int qf_fmt_id;
1: + const struct quota_format_ops___2 *qf_ops;
1: + struct module___2 *qf_owner;
1: + struct quota_format_type___2 *qf_next;
1: +};
1: +
1: +struct quota_format_ops___2 {
1: + int (*check_quota_file)(struct super_block___2 *, int);
1: + int (*read_file_info)(struct super_block___2 *, int);
1: + int (*write_file_info)(struct super_block___2 *, int);
1: + int (*free_file_info)(struct super_block___2 *, int);
1: + int (*read_dqblk)(struct dquot___2 *);
1: + int (*commit_dqblk)(struct dquot___2 *);
1: + int (*release_dqblk)(struct dquot___2 *);
1: + int (*get_next_id)(struct super_block___2 *, struct kqid *);
1: +};
1: +
1: +struct dquot_operations___2 {
1: + int (*write_dquot)(struct dquot___2 *);
1: + struct dquot___2 * (*alloc_dquot)(struct super_block___2 *, int);
1: + void (*destroy_dquot)(struct dquot___2 *);
1: + int (*acquire_dquot)(struct dquot___2 *);
1: + int (*release_dquot)(struct dquot___2 *);
1: + int (*mark_dirty)(struct dquot___2 *);
1: + int (*write_info)(struct super_block___2 *, int);
1: + qsize_t * (*get_reserved_space)(struct inode___2 *);
1: + int (*get_projid)(struct inode___2 *, kprojid_t *);
1: + int (*get_inode_usage)(struct inode___2 *, qsize_t *);
1: + int (*get_next_id)(struct super_block___2 *, struct kqid *);
1: +};
1: +
1: +struct quotactl_ops___2 {
1: + int (*quota_on)(struct super_block___2 *, int, int, const struct path___2 *);
1: + int (*quota_off)(struct super_block___2 *, int);
1: + int (*quota_enable)(struct super_block___2 *, unsigned int);
1: + int (*quota_disable)(struct super_block___2 *, unsigned int);
1: + int (*quota_sync)(struct super_block___2 *, int);
1: + int (*set_info)(struct super_block___2 *, int, struct qc_info *);
1: + int (*get_dqblk)(struct super_block___2 *, struct kqid, struct qc_dqblk *);
1: + int (*get_nextdqblk)(struct super_block___2 *, struct kqid *, struct qc_dqblk *);
1: + int (*set_dqblk)(struct super_block___2 *, struct kqid, struct qc_dqblk *);
1: + int (*get_state)(struct super_block___2 *, struct qc_state *);
1: + int (*rm_xquota)(struct super_block___2 *, unsigned int);
1: +};
1: +
1: +struct module_kobject___2 {
1: + struct kobject___2 kobj;
1: + struct module___2 *mod;
1: + struct kobject___2 *drivers_dir;
1: + struct module_param_attrs *mp;
1: + struct completion *kobj_completion;
1: +};
1: +
1: +struct mod_tree_node___2 {
1: + struct module___2 *mod;
1: + struct latch_tree_node node;
1: +};
1: +
1: +struct module_layout___2 {
1: + void *base;
1: + unsigned int size;
1: + unsigned int text_size;
1: + unsigned int ro_size;
1: + unsigned int ro_after_init_size;
1: + struct mod_tree_node___2 mtn;
1: +};
1: +
1: +struct module_attribute___2;
1: +
1: +struct kernel_param___2;
1: +
1: +struct module___2 {
1: + enum module_state state;
1: + struct list_head list;
1: + char name[56];
1: + struct module_kobject___2 mkobj;
1: + struct module_attribute___2 *modinfo_attrs;
1: + const char *version;
1: + const char *srcversion;
1: + struct kobject___2 *holders_dir;
1: + const struct kernel_symbol *syms;
1: + const s32 *crcs;
1: + unsigned int num_syms;
1: + struct mutex param_lock;
1: + struct kernel_param___2 *kp;
1: + unsigned int num_kp;
1: + unsigned int num_gpl_syms;
1: + const struct kernel_symbol *gpl_syms;
1: + const s32 *gpl_crcs;
1: + bool async_probe_requested;
1: + const struct kernel_symbol *gpl_future_syms;
1: + const s32 *gpl_future_crcs;
1: + unsigned int num_gpl_future_syms;
1: + unsigned int num_exentries;
1: + struct exception_table_entry *extable;
1: + int (*init)();
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct module_layout___2 core_layout;
1: + struct module_layout___2 init_layout;
1: + struct mod_arch_specific arch;
1: + long unsigned int taints;
1: + unsigned int num_bugs;
1: + struct list_head bug_list;
1: + struct bug_entry *bug_table;
1: + struct mod_kallsyms *kallsyms;
1: + struct mod_kallsyms core_kallsyms;
1: + struct module_sect_attrs *sect_attrs;
1: + struct module_notes_attrs *notes_attrs;
1: + char *args;
1: + void *percpu;
1: + unsigned int percpu_size;
1: + unsigned int num_tracepoints;
1: + tracepoint_ptr_t *tracepoints_ptrs;
1: + unsigned int num_srcu_structs;
1: + struct srcu_struct **srcu_struct_ptrs;
1: + struct jump_entry *jump_entries;
1: + unsigned int num_jump_entries;
1: + unsigned int num_trace_bprintk_fmt;
1: + const char **trace_bprintk_fmt_start;
1: + struct trace_event_call___2 **trace_events;
1: + unsigned int num_trace_events;
1: + struct trace_eval_map **trace_evals;
1: + unsigned int num_trace_evals;
1: + struct list_head source_list;
1: + struct list_head target_list;
1: + void (*exit)();
1: + atomic_t refcnt;
1: + struct error_injection_entry *ei_funcs;
1: + unsigned int num_ei_funcs;
1: +};
1: +
1: +struct iov_iter___2;
1: +
1: +struct address_space_operations___2 {
1: + int (*writepage)(struct page___2 *, struct writeback_control *);
1: + int (*readpage)(struct file___2 *, struct page___2 *);
1: + int (*writepages)(struct address_space___2 *, struct writeback_control *);
1: + int (*set_page_dirty)(struct page___2 *);
1: + int (*readpages)(struct file___2 *, struct address_space___2 *, struct list_head *, unsigned int);
1: + int (*write_begin)(struct file___2 *, struct address_space___2 *, loff_t, unsigned int, unsigned int, struct page___2 **, void **);
1: + int (*write_end)(struct file___2 *, struct address_space___2 *, loff_t, unsigned int, unsigned int, struct page___2 *, void *);
1: + sector_t (*bmap)(struct address_space___2 *, sector_t);
1: + void (*invalidatepage)(struct page___2 *, unsigned int, unsigned int);
1: + int (*releasepage)(struct page___2 *, gfp_t);
1: + void (*freepage)(struct page___2 *);
1: + ssize_t (*direct_IO)(struct kiocb___2 *, struct iov_iter___2 *);
1: + int (*migratepage)(struct address_space___2 *, struct page___2 *, struct page___2 *, enum migrate_mode);
1: + bool (*isolate_page)(struct page___2 *, isolate_mode_t);
1: + void (*putback_page)(struct page___2 *);
1: + int (*launder_page)(struct page___2 *);
1: + int (*is_partially_uptodate)(struct page___2 *, long unsigned int, long unsigned int);
1: + void (*is_dirty_writeback)(struct page___2 *, bool *, bool *);
1: + int (*error_remove_page)(struct address_space___2 *, struct page___2 *);
1: + int (*swap_activate)(struct swap_info_struct *, struct file___2 *, sector_t *);
1: + void (*swap_deactivate)(struct file___2 *);
1: +};
1: +
1: +struct bio_vec___2;
1: +
1: +struct iov_iter___2 {
1: + unsigned int type;
1: + size_t iov_offset;
1: + size_t count;
1: + union {
1: + const struct iovec *iov;
1: + const struct kvec *kvec;
1: + const struct bio_vec___2 *bvec;
1: + struct pipe_inode_info___2 *pipe;
1: + };
1: + union {
1: + long unsigned int nr_segs;
1: + struct {
1: + unsigned int head;
1: + unsigned int start_head;
1: + };
1: + };
1: +};
1: +
1: +struct block_device___2 {
1: + dev_t bd_dev;
1: + int bd_openers;
1: + struct inode___2 *bd_inode;
1: + struct super_block___2 *bd_super;
1: + struct mutex bd_mutex;
1: + void *bd_claiming;
1: + void *bd_holder;
1: + int bd_holders;
1: + bool bd_write_holder;
1: + struct list_head bd_holder_disks;
1: + struct block_device___2 *bd_contains;
1: + unsigned int bd_block_size;
1: + u8 bd_partno;
1: + struct hd_struct *bd_part;
1: + unsigned int bd_part_count;
1: + int bd_invalidated;
1: + struct gendisk *bd_disk;
1: + struct request_queue *bd_queue;
1: + struct backing_dev_info *bd_bdi;
1: + struct list_head bd_list;
1: + long unsigned int bd_private;
1: + int bd_fsfreeze_count;
1: + struct mutex bd_fsfreeze_mutex;
1: +};
1: +
1: +struct poll_table_struct___2;
1: +
1: +struct file_lock___2;
1: +
1: +struct seq_file___2;
1: +
1: +struct file_operations___2 {
1: + struct module___2 *owner;
1: + loff_t (*llseek)(struct file___2 *, loff_t, int);
1: + ssize_t (*read)(struct file___2 *, char *, size_t, loff_t *);
1: + ssize_t (*write)(struct file___2 *, const char *, size_t, loff_t *);
1: + ssize_t (*read_iter)(struct kiocb___2 *, struct iov_iter___2 *);
1: + ssize_t (*write_iter)(struct kiocb___2 *, struct iov_iter___2 *);
1: + int (*iopoll)(struct kiocb___2 *, bool);
1: + int (*iterate)(struct file___2 *, struct dir_context *);
1: + int (*iterate_shared)(struct file___2 *, struct dir_context *);
1: + __poll_t (*poll)(struct file___2 *, struct poll_table_struct___2 *);
1: + long int (*unlocked_ioctl)(struct file___2 *, unsigned int, long unsigned int);
1: + long int (*compat_ioctl)(struct file___2 *, unsigned int, long unsigned int);
1: + int (*mmap)(struct file___2 *, struct vm_area_struct___2 *);
1: + long unsigned int mmap_supported_flags;
1: + int (*open)(struct inode___2 *, struct file___2 *);
1: + int (*flush)(struct file___2 *, fl_owner_t);
1: + int (*release)(struct inode___2 *, struct file___2 *);
1: + int (*fsync)(struct file___2 *, loff_t, loff_t, int);
1: + int (*fasync)(int, struct file___2 *, int);
1: + int (*lock)(struct file___2 *, int, struct file_lock___2 *);
1: + ssize_t (*sendpage)(struct file___2 *, struct page___2 *, int, size_t, loff_t *, int);
1: + long unsigned int (*get_unmapped_area)(struct file___2 *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: + int (*check_flags)(int);
1: + int (*flock)(struct file___2 *, int, struct file_lock___2 *);
1: + ssize_t (*splice_write)(struct pipe_inode_info___2 *, struct file___2 *, loff_t *, size_t, unsigned int);
1: + ssize_t (*splice_read)(struct file___2 *, loff_t *, struct pipe_inode_info___2 *, size_t, unsigned int);
1: + int (*setlease)(struct file___2 *, long int, struct file_lock___2 **, void **);
1: + long int (*fallocate)(struct file___2 *, int, loff_t, loff_t);
1: + void (*show_fdinfo)(struct seq_file___2 *, struct file___2 *);
1: + ssize_t (*copy_file_range)(struct file___2 *, loff_t, struct file___2 *, loff_t, size_t, unsigned int);
1: + loff_t (*remap_file_range)(struct file___2 *, loff_t, struct file___2 *, loff_t, loff_t, unsigned int);
1: + int (*fadvise)(struct file___2 *, loff_t, loff_t, int);
1: +};
1: +
1: +struct inode_operations___2 {
1: + struct dentry___2 * (*lookup)(struct inode___2 *, struct dentry___2 *, unsigned int);
1: + const char * (*get_link)(struct dentry___2 *, struct inode___2 *, struct delayed_call *);
1: + int (*permission)(struct inode___2 *, int);
1: + struct posix_acl * (*get_acl)(struct inode___2 *, int);
1: + int (*readlink)(struct dentry___2 *, char *, int);
1: + int (*create)(struct inode___2 *, struct dentry___2 *, umode_t, bool);
1: + int (*link)(struct dentry___2 *, struct inode___2 *, struct dentry___2 *);
1: + int (*unlink)(struct inode___2 *, struct dentry___2 *);
1: + int (*symlink)(struct inode___2 *, struct dentry___2 *, const char *);
1: + int (*mkdir)(struct inode___2 *, struct dentry___2 *, umode_t);
1: + int (*rmdir)(struct inode___2 *, struct dentry___2 *);
1: + int (*mknod)(struct inode___2 *, struct dentry___2 *, umode_t, dev_t);
1: + int (*rename)(struct inode___2 *, struct dentry___2 *, struct inode___2 *, struct dentry___2 *, unsigned int);
1: + int (*setattr)(struct dentry___2 *, struct iattr___2 *);
1: + int (*getattr)(const struct path___2 *, struct kstat *, u32, unsigned int);
1: + ssize_t (*listxattr)(struct dentry___2 *, char *, size_t);
1: + int (*fiemap)(struct inode___2 *, struct fiemap_extent_info *, u64, u64);
1: + int (*update_time)(struct inode___2 *, struct timespec64 *, int);
1: + int (*atomic_open)(struct inode___2 *, struct dentry___2 *, struct file___2 *, unsigned int, umode_t);
1: + int (*tmpfile)(struct inode___2 *, struct dentry___2 *, umode_t);
1: + int (*set_acl)(struct inode___2 *, struct posix_acl *, int);
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct file_lock_operations___2 {
1: + void (*fl_copy_lock)(struct file_lock___2 *, struct file_lock___2 *);
1: + void (*fl_release_private)(struct file_lock___2 *);
1: +};
1: +
1: +struct lock_manager_operations___2;
1: +
1: +struct file_lock___2 {
1: + struct file_lock___2 *fl_blocker;
1: + struct list_head fl_list;
1: + struct hlist_node fl_link;
1: + struct list_head fl_blocked_requests;
1: + struct list_head fl_blocked_member;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + unsigned int fl_pid;
1: + int fl_link_cpu;
1: + wait_queue_head_t fl_wait;
1: + struct file___2 *fl_file;
1: + loff_t fl_start;
1: + loff_t fl_end;
1: + struct fasync_struct___2 *fl_fasync;
1: + long unsigned int fl_break_time;
1: + long unsigned int fl_downgrade_time;
1: + const struct file_lock_operations___2 *fl_ops;
1: + const struct lock_manager_operations___2 *fl_lmops;
1: + union {
1: + struct nfs_lock_info nfs_fl;
1: + struct nfs4_lock_info nfs4_fl;
1: + struct {
1: + struct list_head link;
1: + int state;
1: + unsigned int debug_id;
1: + } afs;
1: + } fl_u;
1: +};
1: +
1: +struct lock_manager_operations___2 {
1: + fl_owner_t (*lm_get_owner)(fl_owner_t);
1: + void (*lm_put_owner)(fl_owner_t);
1: + void (*lm_notify)(struct file_lock___2 *);
1: + int (*lm_grant)(struct file_lock___2 *, int);
1: + bool (*lm_break)(struct file_lock___2 *);
1: + int (*lm_change)(struct file_lock___2 *, int, struct list_head *);
1: + void (*lm_setup)(struct file_lock___2 *, void **);
1: +};
1: +
1: +struct fasync_struct___2 {
1: + rwlock_t fa_lock;
1: + int magic;
1: + int fa_fd;
1: + struct fasync_struct___2 *fa_next;
1: + struct file___2 *fa_file;
1: + struct callback_head fa_rcu;
1: +};
1: +
1: +struct file_system_type___2 {
1: + const char *name;
1: + int fs_flags;
1: + int (*init_fs_context)(struct fs_context *);
1: + const struct fs_parameter_description *parameters;
1: + struct dentry___2 * (*mount)(struct file_system_type___2 *, int, const char *, void *);
1: + void (*kill_sb)(struct super_block___2 *);
1: + struct module___2 *owner;
1: + struct file_system_type___2 *next;
1: + struct hlist_head fs_supers;
1: + struct lock_class_key s_lock_key;
1: + struct lock_class_key s_umount_key;
1: + struct lock_class_key s_vfs_rename_key;
1: + struct lock_class_key s_writers_key[3];
1: + struct lock_class_key i_lock_key;
1: + struct lock_class_key i_mutex_key;
1: + struct lock_class_key i_mutex_dir_key;
1: +};
1: +
1: +struct super_operations___2 {
1: + struct inode___2 * (*alloc_inode)(struct super_block___2 *);
1: + void (*destroy_inode)(struct inode___2 *);
1: + void (*free_inode)(struct inode___2 *);
1: + void (*dirty_inode)(struct inode___2 *, int);
1: + int (*write_inode)(struct inode___2 *, struct writeback_control *);
1: + int (*drop_inode)(struct inode___2 *);
1: + void (*evict_inode)(struct inode___2 *);
1: + void (*put_super)(struct super_block___2 *);
1: + int (*sync_fs)(struct super_block___2 *, int);
1: + int (*freeze_super)(struct super_block___2 *);
1: + int (*freeze_fs)(struct super_block___2 *);
1: + int (*thaw_super)(struct super_block___2 *);
1: + int (*unfreeze_fs)(struct super_block___2 *);
1: + int (*statfs)(struct dentry___2 *, struct kstatfs *);
1: + int (*remount_fs)(struct super_block___2 *, int *, char *);
1: + void (*umount_begin)(struct super_block___2 *);
1: + int (*show_options)(struct seq_file___2 *, struct dentry___2 *);
1: + int (*show_devname)(struct seq_file___2 *, struct dentry___2 *);
1: + int (*show_path)(struct seq_file___2 *, struct dentry___2 *);
1: + int (*show_stats)(struct seq_file___2 *, struct dentry___2 *);
1: + ssize_t (*quota_read)(struct super_block___2 *, int, char *, size_t, loff_t);
1: + ssize_t (*quota_write)(struct super_block___2 *, int, const char *, size_t, loff_t);
1: + struct dquot___2 ** (*get_dquots)(struct inode___2 *);
1: + int (*bdev_try_to_free_page)(struct super_block___2 *, struct page___2 *, gfp_t);
1: + long int (*nr_cached_objects)(struct super_block___2 *, struct shrink_control *);
1: + long int (*free_cached_objects)(struct super_block___2 *, struct shrink_control *);
1: +};
1: +
1: +typedef void (*poll_queue_proc___2)(struct file___2 *, wait_queue_head_t *, struct poll_table_struct___2 *);
1: +
1: +struct poll_table_struct___2 {
1: + poll_queue_proc___2 _qproc;
1: + __poll_t _key;
1: +};
1: +
1: +struct seq_operations___2;
1: +
1: +struct seq_file___2 {
1: + char *buf;
1: + size_t size;
1: + size_t from;
1: + size_t count;
1: + size_t pad_until;
1: + loff_t index;
1: + loff_t read_pos;
1: + u64 version;
1: + struct mutex lock;
1: + const struct seq_operations___2 *op;
1: + int poll_event;
1: + const struct file___2 *file;
1: + void *private;
1: +};
1: +
1: +struct dev_pagemap_ops___2 {
1: + void (*page_free)(struct page___2 *);
1: + void (*kill)(struct dev_pagemap___2 *);
1: + void (*cleanup)(struct dev_pagemap___2 *);
1: + vm_fault_t (*migrate_to_ram)(struct vm_fault___2 *);
1: +};
1: +
1: +typedef void compound_page_dtor___2(struct page___2 *);
1: +
1: +struct kernfs_root___2;
1: +
1: +struct kernfs_elem_dir___2 {
1: + long unsigned int subdirs;
1: + struct rb_root children;
1: + struct kernfs_root___2 *root;
1: +};
1: +
1: +struct kernfs_syscall_ops___2;
1: +
1: +struct kernfs_root___2 {
1: + struct kernfs_node___2 *kn;
1: + unsigned int flags;
1: + struct idr ino_idr;
1: + u32 last_id_lowbits;
1: + u32 id_highbits;
1: + struct kernfs_syscall_ops___2 *syscall_ops;
1: + struct list_head supers;
1: + wait_queue_head_t deactivate_waitq;
1: +};
1: +
1: +struct kernfs_elem_symlink___2 {
1: + struct kernfs_node___2 *target_kn;
1: +};
1: +
1: +struct kernfs_ops___2;
1: +
1: +struct kernfs_elem_attr___2 {
1: + const struct kernfs_ops___2 *ops;
1: + struct kernfs_open_node *open;
1: + loff_t size;
1: + struct kernfs_node___2 *notify_next;
1: +};
1: +
1: +struct kernfs_node___2 {
1: + atomic_t count;
1: + atomic_t active;
1: + struct kernfs_node___2 *parent;
1: + const char *name;
1: + struct rb_node rb;
1: + const void *ns;
1: + unsigned int hash;
1: + union {
1: + struct kernfs_elem_dir___2 dir;
1: + struct kernfs_elem_symlink___2 symlink;
1: + struct kernfs_elem_attr___2 attr;
1: + };
1: + void *priv;
1: + u64 id;
1: + short unsigned int flags;
1: + umode_t mode;
1: + struct kernfs_iattrs *iattr;
1: +};
1: +
1: +struct kernfs_open_file___2;
1: +
1: +struct kernfs_ops___2 {
1: + int (*open)(struct kernfs_open_file___2 *);
1: + void (*release)(struct kernfs_open_file___2 *);
1: + int (*seq_show)(struct seq_file___2 *, void *);
1: + void * (*seq_start)(struct seq_file___2 *, loff_t *);
1: + void * (*seq_next)(struct seq_file___2 *, void *, loff_t *);
1: + void (*seq_stop)(struct seq_file___2 *, void *);
1: + ssize_t (*read)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: + size_t atomic_write_len;
1: + bool prealloc;
1: + ssize_t (*write)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: + __poll_t (*poll)(struct kernfs_open_file___2 *, struct poll_table_struct___2 *);
1: + int (*mmap)(struct kernfs_open_file___2 *, struct vm_area_struct___2 *);
1: +};
1: +
1: +struct kernfs_syscall_ops___2 {
1: + int (*show_options)(struct seq_file___2 *, struct kernfs_root___2 *);
1: + int (*mkdir)(struct kernfs_node___2 *, const char *, umode_t);
1: + int (*rmdir)(struct kernfs_node___2 *);
1: + int (*rename)(struct kernfs_node___2 *, struct kernfs_node___2 *, const char *);
1: + int (*show_path)(struct seq_file___2 *, struct kernfs_node___2 *, struct kernfs_root___2 *);
1: +};
1: +
1: +struct kernfs_open_file___2 {
1: + struct kernfs_node___2 *kn;
1: + struct file___2 *file;
1: + struct seq_file___2 *seq_file;
1: + void *priv;
1: + struct mutex mutex;
1: + struct mutex prealloc_mutex;
1: + int event;
1: + struct list_head list;
1: + char *prealloc_buf;
1: + size_t atomic_write_len;
1: + bool mmapped: 1;
1: + bool released: 1;
1: + const struct vm_operations_struct___2 *vm_ops;
1: +};
1: +
1: +struct bin_attribute___2;
1: +
1: +struct attribute_group___2 {
1: + const char *name;
1: + umode_t (*is_visible)(struct kobject___2 *, struct attribute *, int);
1: + umode_t (*is_bin_visible)(struct kobject___2 *, struct bin_attribute___2 *, int);
1: + struct attribute **attrs;
1: + struct bin_attribute___2 **bin_attrs;
1: +};
1: +
1: +struct bin_attribute___2 {
1: + struct attribute attr;
1: + size_t size;
1: + void *private;
1: + ssize_t (*read)(struct file___2 *, struct kobject___2 *, struct bin_attribute___2 *, char *, loff_t, size_t);
1: + ssize_t (*write)(struct file___2 *, struct kobject___2 *, struct bin_attribute___2 *, char *, loff_t, size_t);
1: + int (*mmap)(struct file___2 *, struct kobject___2 *, struct bin_attribute___2 *, struct vm_area_struct___2 *);
1: +};
1: +
1: +struct sysfs_ops___2 {
1: + ssize_t (*show)(struct kobject___2 *, struct attribute *, char *);
1: + ssize_t (*store)(struct kobject___2 *, struct attribute *, const char *, size_t);
1: +};
1: +
1: +struct kset_uevent_ops___2;
1: +
1: +struct kset___2 {
1: + struct list_head list;
1: + spinlock_t list_lock;
1: + struct kobject___2 kobj;
1: + const struct kset_uevent_ops___2 *uevent_ops;
1: +};
1: +
1: +struct kobj_type___2 {
1: + void (*release)(struct kobject___2 *);
1: + const struct sysfs_ops___2 *sysfs_ops;
1: + struct attribute **default_attrs;
1: + const struct attribute_group___2 **default_groups;
1: + const struct kobj_ns_type_operations * (*child_ns_type)(struct kobject___2 *);
1: + const void * (*namespace)(struct kobject___2 *);
1: + void (*get_ownership)(struct kobject___2 *, kuid_t *, kgid_t *);
1: +};
1: +
1: +struct kset_uevent_ops___2 {
1: + int (* const filter)(struct kset___2 *, struct kobject___2 *);
1: + const char * (* const name)(struct kset___2 *, struct kobject___2 *);
1: + int (* const uevent)(struct kset___2 *, struct kobject___2 *, struct kobj_uevent_env *);
1: +};
1: +
1: +struct dev_pm_ops___2 {
1: + int (*prepare)(struct device___2 *);
1: + void (*complete)(struct device___2 *);
1: + int (*suspend)(struct device___2 *);
1: + int (*resume)(struct device___2 *);
1: + int (*freeze)(struct device___2 *);
1: + int (*thaw)(struct device___2 *);
1: + int (*poweroff)(struct device___2 *);
1: + int (*restore)(struct device___2 *);
1: + int (*suspend_late)(struct device___2 *);
1: + int (*resume_early)(struct device___2 *);
1: + int (*freeze_late)(struct device___2 *);
1: + int (*thaw_early)(struct device___2 *);
1: + int (*poweroff_late)(struct device___2 *);
1: + int (*restore_early)(struct device___2 *);
1: + int (*suspend_noirq)(struct device___2 *);
1: + int (*resume_noirq)(struct device___2 *);
1: + int (*freeze_noirq)(struct device___2 *);
1: + int (*thaw_noirq)(struct device___2 *);
1: + int (*poweroff_noirq)(struct device___2 *);
1: + int (*restore_noirq)(struct device___2 *);
1: + int (*runtime_suspend)(struct device___2 *);
1: + int (*runtime_resume)(struct device___2 *);
1: + int (*runtime_idle)(struct device___2 *);
1: +};
1: +
1: +struct wakeup_source___2 {
1: + const char *name;
1: + int id;
1: + struct list_head entry;
1: + spinlock_t lock;
1: + struct wake_irq *wakeirq;
1: + struct timer_list timer;
1: + long unsigned int timer_expires;
1: + ktime_t total_time;
1: + ktime_t max_time;
1: + ktime_t last_time;
1: + ktime_t start_prevent_time;
1: + ktime_t prevent_sleep_time;
1: + long unsigned int event_count;
1: + long unsigned int active_count;
1: + long unsigned int relax_count;
1: + long unsigned int expire_count;
1: + long unsigned int wakeup_count;
1: + struct device___2 *dev;
1: + bool active: 1;
1: + bool autosleep_enabled: 1;
1: +};
1: +
1: +struct dev_pm_domain___2 {
1: + struct dev_pm_ops___2 ops;
1: + int (*start)(struct device___2 *);
1: + void (*detach)(struct device___2 *, bool);
1: + int (*activate)(struct device___2 *);
1: + void (*sync)(struct device___2 *);
1: + void (*dismiss)(struct device___2 *);
1: +};
1: +
1: +struct bus_type___2 {
1: + const char *name;
1: + const char *dev_name;
1: + struct device___2 *dev_root;
1: + const struct attribute_group___2 **bus_groups;
1: + const struct attribute_group___2 **dev_groups;
1: + const struct attribute_group___2 **drv_groups;
1: + int (*match)(struct device___2 *, struct device_driver___2 *);
1: + int (*uevent)(struct device___2 *, struct kobj_uevent_env *);
1: + int (*probe)(struct device___2 *);
1: + void (*sync_state)(struct device___2 *);
1: + int (*remove)(struct device___2 *);
1: + void (*shutdown)(struct device___2 *);
1: + int (*online)(struct device___2 *);
1: + int (*offline)(struct device___2 *);
1: + int (*suspend)(struct device___2 *, pm_message_t);
1: + int (*resume)(struct device___2 *);
1: + int (*num_vf)(struct device___2 *);
1: + int (*dma_configure)(struct device___2 *);
1: + const struct dev_pm_ops___2 *pm;
1: + const struct iommu_ops *iommu_ops;
1: + struct subsys_private *p;
1: + struct lock_class_key lock_key;
1: + bool need_parent_lock;
1: +};
1: +
1: +struct device_driver___2 {
1: + const char *name;
1: + struct bus_type___2 *bus;
1: + struct module___2 *owner;
1: + const char *mod_name;
1: + bool suppress_bind_attrs;
1: + enum probe_type probe_type;
1: + const struct of_device_id *of_match_table;
1: + const struct acpi_device_id *acpi_match_table;
1: + int (*probe)(struct device___2 *);
1: + void (*sync_state)(struct device___2 *);
1: + int (*remove)(struct device___2 *);
1: + void (*shutdown)(struct device___2 *);
1: + int (*suspend)(struct device___2 *, pm_message_t);
1: + int (*resume)(struct device___2 *);
1: + const struct attribute_group___2 **groups;
1: + const struct attribute_group___2 **dev_groups;
1: + const struct dev_pm_ops___2 *pm;
1: + void (*coredump)(struct device___2 *);
1: + struct driver_private *p;
1: +};
1: +
1: +struct device_type___2 {
1: + const char *name;
1: + const struct attribute_group___2 **groups;
1: + int (*uevent)(struct device___2 *, struct kobj_uevent_env *);
1: + char * (*devnode)(struct device___2 *, umode_t *, kuid_t *, kgid_t *);
1: + void (*release)(struct device___2 *);
1: + const struct dev_pm_ops___2 *pm;
1: +};
1: +
1: +struct class___2 {
1: + const char *name;
1: + struct module___2 *owner;
1: + const struct attribute_group___2 **class_groups;
1: + const struct attribute_group___2 **dev_groups;
1: + struct kobject___2 *dev_kobj;
1: + int (*dev_uevent)(struct device___2 *, struct kobj_uevent_env *);
1: + char * (*devnode)(struct device___2 *, umode_t *);
1: + void (*class_release)(struct class___2 *);
1: + void (*dev_release)(struct device___2 *);
1: + int (*shutdown_pre)(struct device___2 *);
1: + const struct kobj_ns_type_operations *ns_type;
1: + const void * (*namespace)(struct device___2 *);
1: + void (*get_ownership)(struct device___2 *, kuid_t *, kgid_t *);
1: + const struct dev_pm_ops___2 *pm;
1: + struct subsys_private *p;
1: +};
1: +
1: +struct device_attribute___2 {
1: + struct attribute attr;
1: + ssize_t (*show)(struct device___2 *, struct device_attribute___2 *, char *);
1: + ssize_t (*store)(struct device___2 *, struct device_attribute___2 *, const char *, size_t);
1: +};
1: +
1: +struct dma_map_ops___2 {
1: + void * (*alloc)(struct device___2 *, size_t, dma_addr_t *, gfp_t, long unsigned int);
1: + void (*free)(struct device___2 *, size_t, void *, dma_addr_t, long unsigned int);
1: + int (*mmap)(struct device___2 *, struct vm_area_struct___2 *, void *, dma_addr_t, size_t, long unsigned int);
1: + int (*get_sgtable)(struct device___2 *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int);
1: + dma_addr_t (*map_page)(struct device___2 *, struct page___2 *, long unsigned int, size_t, enum dma_data_direction, long unsigned int);
1: + void (*unmap_page)(struct device___2 *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: + int (*map_sg)(struct device___2 *, struct scatterlist *, int, enum dma_data_direction, long unsigned int);
1: + void (*unmap_sg)(struct device___2 *, struct scatterlist *, int, enum dma_data_direction, long unsigned int);
1: + dma_addr_t (*map_resource)(struct device___2 *, phys_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: + void (*unmap_resource)(struct device___2 *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: + void (*sync_single_for_cpu)(struct device___2 *, dma_addr_t, size_t, enum dma_data_direction);
1: + void (*sync_single_for_device)(struct device___2 *, dma_addr_t, size_t, enum dma_data_direction);
1: + void (*sync_sg_for_cpu)(struct device___2 *, struct scatterlist *, int, enum dma_data_direction);
1: + void (*sync_sg_for_device)(struct device___2 *, struct scatterlist *, int, enum dma_data_direction);
1: + void (*cache_sync)(struct device___2 *, void *, size_t, enum dma_data_direction);
1: + int (*dma_supported)(struct device___2 *, u64);
1: + u64 (*get_required_mask)(struct device___2 *);
1: + size_t (*max_mapping_size)(struct device___2 *);
1: + long unsigned int (*get_merge_boundary)(struct device___2 *);
1: +};
1: +
1: +struct device_node___2 {
1: + const char *name;
1: + phandle phandle;
1: + const char *full_name;
1: + struct fwnode_handle___2 fwnode;
1: + struct property *properties;
1: + struct property *deadprops;
1: + struct device_node___2 *parent;
1: + struct device_node___2 *child;
1: + struct device_node___2 *sibling;
1: + long unsigned int _flags;
1: + void *data;
1: +};
1: +
1: +struct fd___2 {
1: + struct file___2 *file;
1: + unsigned int flags;
1: +};
1: +
1: +typedef struct poll_table_struct___2 poll_table___2;
1: +
1: +struct fqdir___2;
1: +
1: +struct netns_ipv4___2 {
1: + struct ctl_table_header *forw_hdr;
1: + struct ctl_table_header *frags_hdr;
1: + struct ctl_table_header *ipv4_hdr;
1: + struct ctl_table_header *route_hdr;
1: + struct ctl_table_header *xfrm4_hdr;
1: + struct ipv4_devconf *devconf_all;
1: + struct ipv4_devconf *devconf_dflt;
1: + struct ip_ra_chain *ra_chain;
1: + struct mutex ra_mutex;
1: + struct fib_rules_ops *rules_ops;
1: + bool fib_has_custom_rules;
1: + unsigned int fib_rules_require_fldissect;
1: + struct fib_table *fib_main;
1: + struct fib_table *fib_default;
1: + bool fib_has_custom_local_routes;
1: + struct hlist_head *fib_table_hash;
1: + bool fib_offload_disabled;
1: + struct sock *fibnl;
1: + struct sock **icmp_sk;
1: + struct sock *mc_autojoin_sk;
1: + struct inet_peer_base *peers;
1: + struct sock **tcp_sk;
1: + struct fqdir___2 *fqdir;
1: + struct xt_table *iptable_filter;
1: + struct xt_table *iptable_mangle;
1: + struct xt_table *iptable_raw;
1: + struct xt_table *arptable_filter;
1: + struct xt_table *iptable_security;
1: + struct xt_table *nat_table;
1: + int sysctl_icmp_echo_ignore_all;
1: + int sysctl_icmp_echo_ignore_broadcasts;
1: + int sysctl_icmp_ignore_bogus_error_responses;
1: + int sysctl_icmp_ratelimit;
1: + int sysctl_icmp_ratemask;
1: + int sysctl_icmp_errors_use_inbound_ifaddr;
1: + struct local_ports ip_local_ports;
1: + int sysctl_tcp_ecn;
1: + int sysctl_tcp_ecn_fallback;
1: + int sysctl_ip_default_ttl;
1: + int sysctl_ip_no_pmtu_disc;
1: + int sysctl_ip_fwd_use_pmtu;
1: + int sysctl_ip_fwd_update_priority;
1: + int sysctl_ip_nonlocal_bind;
1: + int sysctl_ip_dynaddr;
1: + int sysctl_ip_early_demux;
1: + int sysctl_tcp_early_demux;
1: + int sysctl_udp_early_demux;
1: + int sysctl_fwmark_reflect;
1: + int sysctl_tcp_fwmark_accept;
1: + int sysctl_tcp_mtu_probing;
1: + int sysctl_tcp_mtu_probe_floor;
1: + int sysctl_tcp_base_mss;
1: + int sysctl_tcp_min_snd_mss;
1: + int sysctl_tcp_probe_threshold;
1: + u32 sysctl_tcp_probe_interval;
1: + int sysctl_tcp_keepalive_time;
1: + int sysctl_tcp_keepalive_probes;
1: + int sysctl_tcp_keepalive_intvl;
1: + int sysctl_tcp_syn_retries;
1: + int sysctl_tcp_synack_retries;
1: + int sysctl_tcp_syncookies;
1: + int sysctl_tcp_reordering;
1: + int sysctl_tcp_retries1;
1: + int sysctl_tcp_retries2;
1: + int sysctl_tcp_orphan_retries;
1: + int sysctl_tcp_fin_timeout;
1: + unsigned int sysctl_tcp_notsent_lowat;
1: + int sysctl_tcp_tw_reuse;
1: + int sysctl_tcp_sack;
1: + int sysctl_tcp_window_scaling;
1: + int sysctl_tcp_timestamps;
1: + int sysctl_tcp_early_retrans;
1: + int sysctl_tcp_recovery;
1: + int sysctl_tcp_thin_linear_timeouts;
1: + int sysctl_tcp_slow_start_after_idle;
1: + int sysctl_tcp_retrans_collapse;
1: + int sysctl_tcp_stdurg;
1: + int sysctl_tcp_rfc1337;
1: + int sysctl_tcp_abort_on_overflow;
1: + int sysctl_tcp_fack;
1: + int sysctl_tcp_max_reordering;
1: + int sysctl_tcp_dsack;
1: + int sysctl_tcp_app_win;
1: + int sysctl_tcp_adv_win_scale;
1: + int sysctl_tcp_frto;
1: + int sysctl_tcp_nometrics_save;
1: + int sysctl_tcp_moderate_rcvbuf;
1: + int sysctl_tcp_tso_win_divisor;
1: + int sysctl_tcp_workaround_signed_windows;
1: + int sysctl_tcp_limit_output_bytes;
1: + int sysctl_tcp_challenge_ack_limit;
1: + int sysctl_tcp_min_tso_segs;
1: + int sysctl_tcp_min_rtt_wlen;
1: + int sysctl_tcp_autocorking;
1: + int sysctl_tcp_invalid_ratelimit;
1: + int sysctl_tcp_pacing_ss_ratio;
1: + int sysctl_tcp_pacing_ca_ratio;
1: + int sysctl_tcp_wmem[3];
1: + int sysctl_tcp_rmem[3];
1: + int sysctl_tcp_comp_sack_nr;
1: + long unsigned int sysctl_tcp_comp_sack_delay_ns;
1: + struct inet_timewait_death_row tcp_death_row;
1: + int sysctl_max_syn_backlog;
1: + int sysctl_tcp_fastopen;
1: + const struct tcp_congestion_ops *tcp_congestion_control;
1: + struct tcp_fastopen_context *tcp_fastopen_ctx;
1: + spinlock_t tcp_fastopen_ctx_lock;
1: + unsigned int sysctl_tcp_fastopen_blackhole_timeout;
1: + atomic_t tfo_active_disable_times;
1: + long unsigned int tfo_active_disable_stamp;
1: + int sysctl_udp_wmem_min;
1: + int sysctl_udp_rmem_min;
1: + int sysctl_igmp_max_memberships;
1: + int sysctl_igmp_max_msf;
1: + int sysctl_igmp_llm_reports;
1: + int sysctl_igmp_qrv;
1: + struct ping_group_range ping_group_range;
1: + atomic_t dev_addr_genid;
1: + long unsigned int *sysctl_local_reserved_ports;
1: + int sysctl_ip_prot_sock;
1: + struct mr_table *mrt;
1: + int sysctl_fib_multipath_use_neigh;
1: + int sysctl_fib_multipath_hash_policy;
1: + struct fib_notifier_ops *notifier_ops;
1: + unsigned int fib_seq;
1: + struct fib_notifier_ops *ipmr_notifier_ops;
1: + unsigned int ipmr_seq;
1: + atomic_t rt_genid;
1: + siphash_key_t ip_id_key;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct net_device___2;
1: +
1: +struct sk_buff___2;
1: +
1: +struct dst_ops___2 {
1: + short unsigned int family;
1: + unsigned int gc_thresh;
1: + int (*gc)(struct dst_ops___2 *);
1: + struct dst_entry * (*check)(struct dst_entry *, __u32);
1: + unsigned int (*default_advmss)(const struct dst_entry *);
1: + unsigned int (*mtu)(const struct dst_entry *);
1: + u32 * (*cow_metrics)(struct dst_entry *, long unsigned int);
1: + void (*destroy)(struct dst_entry *);
1: + void (*ifdown)(struct dst_entry *, struct net_device___2 *, int);
1: + struct dst_entry * (*negative_advice)(struct dst_entry *);
1: + void (*link_failure)(struct sk_buff___2 *);
1: + void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff___2 *, u32, bool);
1: + void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff___2 *);
1: + int (*local_out)(struct net___2 *, struct sock *, struct sk_buff___2 *);
1: + struct neighbour * (*neigh_lookup)(const struct dst_entry *, struct sk_buff___2 *, const void *);
1: + void (*confirm_neigh)(const struct dst_entry *, const void *);
1: + struct kmem_cache *kmem_cachep;
1: + struct percpu_counter pcpuc_entries;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct netns_ipv6___2 {
1: + struct netns_sysctl_ipv6 sysctl;
1: + struct ipv6_devconf *devconf_all;
1: + struct ipv6_devconf *devconf_dflt;
1: + struct inet_peer_base *peers;
1: + struct fqdir___2 *fqdir;
1: + struct xt_table *ip6table_filter;
1: + struct xt_table *ip6table_mangle;
1: + struct xt_table *ip6table_raw;
1: + struct xt_table *ip6table_security;
1: + struct xt_table *ip6table_nat;
1: + struct fib6_info *fib6_null_entry;
1: + struct rt6_info *ip6_null_entry;
1: + struct rt6_statistics *rt6_stats;
1: + struct timer_list ip6_fib_timer;
1: + struct hlist_head *fib_table_hash;
1: + struct fib6_table *fib6_main_tbl;
1: + struct list_head fib6_walkers;
1: + long: 64;
1: + long: 64;
1: + struct dst_ops___2 ip6_dst_ops;
1: + rwlock_t fib6_walker_lock;
1: + spinlock_t fib6_gc_lock;
1: + unsigned int ip6_rt_gc_expire;
1: + long unsigned int ip6_rt_last_gc;
1: + struct sock **icmp_sk;
1: + struct sock *ndisc_sk;
1: + struct sock *tcp_sk;
1: + struct sock *igmp_sk;
1: + struct sock *mc_autojoin_sk;
1: + atomic_t dev_addr_genid;
1: + atomic_t fib6_sernum;
1: + struct seg6_pernet_data *seg6_data;
1: + struct fib_notifier_ops *notifier_ops;
1: + struct fib_notifier_ops *ip6mr_notifier_ops;
1: + unsigned int ipmr_seq;
1: + struct {
1: + struct hlist_head head;
1: + spinlock_t lock;
1: + u32 seq;
1: + } ip6addrlbl_table;
1: + long: 64;
1: +};
1: +
1: +struct netns_nf_frag___2 {
1: + struct fqdir___2 *fqdir;
1: +};
1: +
1: +struct netns_xfrm___2 {
1: + struct list_head state_all;
1: + struct hlist_head *state_bydst;
1: + struct hlist_head *state_bysrc;
1: + struct hlist_head *state_byspi;
1: + unsigned int state_hmask;
1: + unsigned int state_num;
1: + struct work_struct state_hash_work;
1: + struct list_head policy_all;
1: + struct hlist_head *policy_byidx;
1: + unsigned int policy_idx_hmask;
1: + struct hlist_head policy_inexact[3];
1: + struct xfrm_policy_hash policy_bydst[3];
1: + unsigned int policy_count[6];
1: + struct work_struct policy_hash_work;
1: + struct xfrm_policy_hthresh policy_hthresh;
1: + struct list_head inexact_bins;
1: + struct sock *nlsk;
1: + struct sock *nlsk_stash;
1: + u32 sysctl_aevent_etime;
1: + u32 sysctl_aevent_rseqth;
1: + int sysctl_larval_drop;
1: + u32 sysctl_acq_expires;
1: + struct ctl_table_header *sysctl_hdr;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct dst_ops___2 xfrm4_dst_ops;
1: + struct dst_ops___2 xfrm6_dst_ops;
1: + spinlock_t xfrm_state_lock;
1: + spinlock_t xfrm_policy_lock;
1: + struct mutex xfrm_cfg_mutex;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct bpf_prog___2;
1: +
1: +struct net___2 {
1: + refcount_t passive;
1: + refcount_t count;
1: + spinlock_t rules_mod_lock;
1: + unsigned int dev_unreg_count;
1: + unsigned int dev_base_seq;
1: + int ifindex;
1: + spinlock_t nsid_lock;
1: + atomic_t fnhe_genid;
1: + struct list_head list;
1: + struct list_head exit_list;
1: + struct llist_node cleanup_list;
1: + struct key_tag *key_domain;
1: + struct user_namespace___2 *user_ns;
1: + struct ucounts___2 *ucounts;
1: + struct idr netns_ids;
1: + struct ns_common___2 ns;
1: + struct list_head dev_base_head;
1: + struct proc_dir_entry *proc_net;
1: + struct proc_dir_entry *proc_net_stat;
1: + struct ctl_table_set sysctls;
1: + struct sock *rtnl;
1: + struct sock *genl_sock;
1: + struct uevent_sock *uevent_sock;
1: + struct hlist_head *dev_name_head;
1: + struct hlist_head *dev_index_head;
1: + struct raw_notifier_head netdev_chain;
1: + u32 hash_mix;
1: + struct net_device___2 *loopback_dev;
1: + struct list_head rules_ops;
1: + struct netns_core core;
1: + struct netns_mib mib;
1: + struct netns_packet packet;
1: + struct netns_unix unx;
1: + struct netns_nexthop nexthop;
1: + long: 64;
1: + struct netns_ipv4___2 ipv4;
1: + struct netns_ipv6___2 ipv6;
1: + struct netns_nf nf;
1: + struct netns_xt xt;
1: + struct netns_ct ct;
1: + struct netns_nf_frag___2 nf_frag;
1: + struct ctl_table_header *nf_frag_frags_hdr;
1: + struct sock *nfnl;
1: + struct sock *nfnl_stash;
1: + struct net_generic *gen;
1: + struct bpf_prog___2 *flow_dissector_prog;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct netns_xfrm___2 xfrm;
1: + struct sock *diag_nlsk;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct cgroup_namespace___2 {
1: + refcount_t count;
1: + struct ns_common___2 ns;
1: + struct user_namespace___2 *user_ns;
1: + struct ucounts___2 *ucounts;
1: + struct css_set___2 *root_cset;
1: +};
1: +
1: +struct proc_ns_operations___2 {
1: + const char *name;
1: + const char *real_ns_name;
1: + int type;
1: + struct ns_common___2 * (*get)(struct task_struct___2 *);
1: + void (*put)(struct ns_common___2 *);
1: + int (*install)(struct nsproxy___2 *, struct ns_common___2 *);
1: + struct user_namespace___2 * (*owner)(struct ns_common___2 *);
1: + struct ns_common___2 * (*get_parent)(struct ns_common___2 *);
1: +};
1: +
1: +struct ucounts___2 {
1: + struct hlist_node node;
1: + struct user_namespace___2 *ns;
1: + kuid_t uid;
1: + int count;
1: + atomic_t ucount[9];
1: +};
1: +
1: +struct seq_operations___2 {
1: + void * (*start)(struct seq_file___2 *, loff_t *);
1: + void (*stop)(struct seq_file___2 *, void *);
1: + void * (*next)(struct seq_file___2 *, void *, loff_t *);
1: + int (*show)(struct seq_file___2 *, void *);
1: +};
1: +
1: +enum perf_event_read_format {
1: + PERF_FORMAT_TOTAL_TIME_ENABLED = 1,
1: + PERF_FORMAT_TOTAL_TIME_RUNNING = 2,
1: + PERF_FORMAT_ID = 4,
1: + PERF_FORMAT_GROUP = 8,
1: + PERF_FORMAT_MAX = 16,
1: +};
1: +
1: +enum perf_event_ioc_flags {
1: + PERF_IOC_FLAG_GROUP = 1,
1: +};
1: +
1: +struct perf_ns_link_info {
1: + __u64 dev;
1: + __u64 ino;
1: +};
1: +
1: +enum {
1: + NET_NS_INDEX = 0,
1: + UTS_NS_INDEX = 1,
1: + IPC_NS_INDEX = 2,
1: + PID_NS_INDEX = 3,
1: + USER_NS_INDEX = 4,
1: + MNT_NS_INDEX = 5,
1: + CGROUP_NS_INDEX = 6,
1: + NR_NAMESPACES = 7,
1: +};
1: +
1: +enum perf_event_type {
1: + PERF_RECORD_MMAP = 1,
1: + PERF_RECORD_LOST = 2,
1: + PERF_RECORD_COMM = 3,
1: + PERF_RECORD_EXIT = 4,
1: + PERF_RECORD_THROTTLE = 5,
1: + PERF_RECORD_UNTHROTTLE = 6,
1: + PERF_RECORD_FORK = 7,
1: + PERF_RECORD_READ = 8,
1: + PERF_RECORD_SAMPLE = 9,
1: + PERF_RECORD_MMAP2 = 10,
1: + PERF_RECORD_AUX = 11,
1: + PERF_RECORD_ITRACE_START = 12,
1: + PERF_RECORD_LOST_SAMPLES = 13,
1: + PERF_RECORD_SWITCH = 14,
1: + PERF_RECORD_SWITCH_CPU_WIDE = 15,
1: + PERF_RECORD_NAMESPACES = 16,
1: + PERF_RECORD_KSYMBOL = 17,
1: + PERF_RECORD_BPF_EVENT = 18,
1: + PERF_RECORD_MAX = 19,
1: +};
1: +
1: +enum perf_record_ksymbol_type {
1: + PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0,
1: + PERF_RECORD_KSYMBOL_TYPE_BPF = 1,
1: + PERF_RECORD_KSYMBOL_TYPE_MAX = 2,
1: +};
1: +
1: +enum perf_bpf_event_type {
1: + PERF_BPF_EVENT_UNKNOWN = 0,
1: + PERF_BPF_EVENT_PROG_LOAD = 1,
1: + PERF_BPF_EVENT_PROG_UNLOAD = 2,
1: + PERF_BPF_EVENT_MAX = 3,
1: +};
1: +
1: +struct kernel_param_ops___2 {
1: + unsigned int flags;
1: + int (*set)(const char *, const struct kernel_param___2 *);
1: + int (*get)(char *, const struct kernel_param___2 *);
1: + void (*free)(void *);
1: +};
1: +
1: +struct kparam_array___2;
1: +
1: +struct kernel_param___2 {
1: + const char *name;
1: + struct module___2 *mod;
1: + const struct kernel_param_ops___2 *ops;
1: + const u16 perm;
1: + s8 level;
1: + u8 flags;
1: + union {
1: + void *arg;
1: + const struct kparam_string *str;
1: + const struct kparam_array___2 *arr;
1: + };
1: +};
1: +
1: +struct kparam_array___2 {
1: + unsigned int max;
1: + unsigned int elemsize;
1: + unsigned int *num;
1: + const struct kernel_param_ops___2 *ops;
1: + void *elem;
1: +};
1: +
1: +struct module_attribute___2 {
1: + struct attribute attr;
1: + ssize_t (*show)(struct module_attribute___2 *, struct module_kobject___2 *, char *);
1: + ssize_t (*store)(struct module_attribute___2 *, struct module_kobject___2 *, const char *, size_t);
1: + void (*setup)(struct module___2 *, const char *);
1: + int (*test)(struct module___2 *);
1: + void (*free)(struct module___2 *);
1: +};
1: +
1: +struct trace_event_class___2;
1: +
1: +struct bpf_prog_array___2;
1: +
1: +struct trace_event_call___2 {
1: + struct list_head list;
1: + struct trace_event_class___2 *class;
1: + union {
1: + char *name;
1: + struct tracepoint *tp;
1: + };
1: + struct trace_event event;
1: + char *print_fmt;
1: + struct event_filter *filter;
1: + void *mod;
1: + void *data;
1: + int flags;
1: + int perf_refcount;
1: + struct hlist_head *perf_events;
1: + struct bpf_prog_array___2 *prog_array;
1: + int (*perf_perm)(struct trace_event_call___2 *, struct perf_event___2 *);
1: +};
1: +
1: +struct bpf_map___2;
1: +
1: +struct bpf_prog_aux___2;
1: +
1: +struct bpf_map_ops___2 {
1: + int (*map_alloc_check)(union bpf_attr *);
1: + struct bpf_map___2 * (*map_alloc)(union bpf_attr *);
1: + void (*map_release)(struct bpf_map___2 *, struct file___2 *);
1: + void (*map_free)(struct bpf_map___2 *);
1: + int (*map_get_next_key)(struct bpf_map___2 *, void *, void *);
1: + void (*map_release_uref)(struct bpf_map___2 *);
1: + void * (*map_lookup_elem_sys_only)(struct bpf_map___2 *, void *);
1: + void * (*map_lookup_elem)(struct bpf_map___2 *, void *);
1: + int (*map_update_elem)(struct bpf_map___2 *, void *, void *, u64);
1: + int (*map_delete_elem)(struct bpf_map___2 *, void *);
1: + int (*map_push_elem)(struct bpf_map___2 *, void *, u64);
1: + int (*map_pop_elem)(struct bpf_map___2 *, void *);
1: + int (*map_peek_elem)(struct bpf_map___2 *, void *);
1: + void * (*map_fd_get_ptr)(struct bpf_map___2 *, struct file___2 *, int);
1: + void (*map_fd_put_ptr)(void *);
1: + u32 (*map_gen_lookup)(struct bpf_map___2 *, struct bpf_insn *);
1: + u32 (*map_fd_sys_lookup_elem)(void *);
1: + void (*map_seq_show_elem)(struct bpf_map___2 *, void *, struct seq_file___2 *);
1: + int (*map_check_btf)(const struct bpf_map___2 *, const struct btf *, const struct btf_type *, const struct btf_type *);
1: + int (*map_poke_track)(struct bpf_map___2 *, struct bpf_prog_aux___2 *);
1: + void (*map_poke_untrack)(struct bpf_map___2 *, struct bpf_prog_aux___2 *);
1: + void (*map_poke_run)(struct bpf_map___2 *, u32, struct bpf_prog___2 *, struct bpf_prog___2 *);
1: + int (*map_direct_value_addr)(const struct bpf_map___2 *, u64 *, u32);
1: + int (*map_direct_value_meta)(const struct bpf_map___2 *, u64, u32 *);
1: + int (*map_mmap)(struct bpf_map___2 *, struct vm_area_struct___2 *);
1: +};
1: +
1: +struct bpf_map___2 {
1: + const struct bpf_map_ops___2 *ops;
1: + struct bpf_map___2 *inner_map_meta;
1: + void *security;
1: + enum bpf_map_type map_type;
1: + u32 key_size;
1: + u32 value_size;
1: + u32 max_entries;
1: + u32 map_flags;
1: + int spin_lock_off;
1: + u32 id;
1: + int numa_node;
1: + u32 btf_key_type_id;
1: + u32 btf_value_type_id;
1: + struct btf *btf;
1: + struct bpf_map_memory memory;
1: + char name[16];
1: + bool unpriv_array;
1: + bool frozen;
1: + long: 48;
1: + long: 64;
1: + long: 64;
1: + atomic64_t refcnt;
1: + atomic64_t usercnt;
1: + struct work_struct work;
1: + struct mutex freeze_mutex;
1: + u64 writecnt;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct bpf_jit_poke_descriptor___2;
1: +
1: +struct bpf_prog_ops___2;
1: +
1: +struct bpf_prog_offload___2;
1: +
1: +struct bpf_prog_aux___2 {
1: + atomic64_t refcnt;
1: + u32 used_map_cnt;
1: + u32 max_ctx_offset;
1: + u32 max_pkt_offset;
1: + u32 max_tp_access;
1: + u32 stack_depth;
1: + u32 id;
1: + u32 func_cnt;
1: + u32 func_idx;
1: + u32 attach_btf_id;
1: + struct bpf_prog___2 *linked_prog;
1: + bool verifier_zext;
1: + bool offload_requested;
1: + bool attach_btf_trace;
1: + bool func_proto_unreliable;
1: + enum bpf_tramp_prog_type trampoline_prog_type;
1: + struct bpf_trampoline *trampoline;
1: + struct hlist_node tramp_hlist;
1: + const struct btf_type *attach_func_proto;
1: + const char *attach_func_name;
1: + struct bpf_prog___2 **func;
1: + void *jit_data;
1: + struct bpf_jit_poke_descriptor___2 *poke_tab;
1: + u32 size_poke_tab;
1: + struct latch_tree_node ksym_tnode;
1: + struct list_head ksym_lnode;
1: + const struct bpf_prog_ops___2 *ops;
1: + struct bpf_map___2 **used_maps;
1: + struct bpf_prog___2 *prog;
1: + struct user_struct *user;
1: + u64 load_time;
1: + struct bpf_map___2 *cgroup_storage[2];
1: + char name[16];
1: + void *security;
1: + struct bpf_prog_offload___2 *offload;
1: + struct btf *btf;
1: + struct bpf_func_info *func_info;
1: + struct bpf_func_info_aux *func_info_aux;
1: + struct bpf_line_info *linfo;
1: + void **jited_linfo;
1: + u32 func_info_cnt;
1: + u32 nr_linfo;
1: + u32 linfo_idx;
1: + u32 num_exentries;
1: + struct exception_table_entry *extable;
1: + struct bpf_prog_stats *stats;
1: + union {
1: + struct work_struct work;
1: + struct callback_head rcu;
1: + };
1: +};
1: +
1: +struct bpf_prog___2 {
1: + u16 pages;
1: + u16 jited: 1;
1: + u16 jit_requested: 1;
1: + u16 gpl_compatible: 1;
1: + u16 cb_access: 1;
1: + u16 dst_needed: 1;
1: + u16 blinded: 1;
1: + u16 is_func: 1;
1: + u16 kprobe_override: 1;
1: + u16 has_callchain_buf: 1;
1: + u16 enforce_expected_attach_type: 1;
1: + enum bpf_prog_type type;
1: + enum bpf_attach_type expected_attach_type;
1: + u32 len;
1: + u32 jited_len;
1: + u8 tag[8];
1: + struct bpf_prog_aux___2 *aux;
1: + struct sock_fprog_kern *orig_prog;
1: + unsigned int (*bpf_func)(const void *, const struct bpf_insn *);
1: + union {
1: + struct sock_filter insns[0];
1: + struct bpf_insn insnsi[0];
1: + };
1: +};
1: +
1: +struct bpf_offloaded_map___2;
1: +
1: +struct bpf_map_dev_ops___2 {
1: + int (*map_get_next_key)(struct bpf_offloaded_map___2 *, void *, void *);
1: + int (*map_lookup_elem)(struct bpf_offloaded_map___2 *, void *, void *);
1: + int (*map_update_elem)(struct bpf_offloaded_map___2 *, void *, void *, u64);
1: + int (*map_delete_elem)(struct bpf_offloaded_map___2 *, void *);
1: +};
1: +
1: +struct bpf_offloaded_map___2 {
1: + struct bpf_map___2 map;
1: + struct net_device___2 *netdev;
1: + const struct bpf_map_dev_ops___2 *dev_ops;
1: + void *dev_priv;
1: + struct list_head offloads;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +typedef rx_handler_result_t rx_handler_func_t___2(struct sk_buff___2 **);
1: +
1: +typedef struct {
1: + struct net___2 *net;
1: +} possible_net_t___2;
1: +
1: +struct netdev_name_node___2;
1: +
1: +struct net_device_ops___2;
1: +
1: +struct ethtool_ops___2;
1: +
1: +struct header_ops___2;
1: +
1: +struct netdev_rx_queue___2;
1: +
1: +struct mini_Qdisc___2;
1: +
1: +struct netdev_queue___2;
1: +
1: +struct Qdisc___2;
1: +
1: +struct rtnl_link_ops___2;
1: +
1: +struct net_device___2 {
1: + char name[16];
1: + struct netdev_name_node___2 *name_node;
1: + struct dev_ifalias *ifalias;
1: + long unsigned int mem_end;
1: + long unsigned int mem_start;
1: + long unsigned int base_addr;
1: + int irq;
1: + long unsigned int state;
1: + struct list_head dev_list;
1: + struct list_head napi_list;
1: + struct list_head unreg_list;
1: + struct list_head close_list;
1: + struct list_head ptype_all;
1: + struct list_head ptype_specific;
1: + struct {
1: + struct list_head upper;
1: + struct list_head lower;
1: + } adj_list;
1: + netdev_features_t features;
1: + netdev_features_t hw_features;
1: + netdev_features_t wanted_features;
1: + netdev_features_t vlan_features;
1: + netdev_features_t hw_enc_features;
1: + netdev_features_t mpls_features;
1: + netdev_features_t gso_partial_features;
1: + int ifindex;
1: + int group;
1: + struct net_device_stats stats;
1: + atomic_long_t rx_dropped;
1: + atomic_long_t tx_dropped;
1: + atomic_long_t rx_nohandler;
1: + atomic_t carrier_up_count;
1: + atomic_t carrier_down_count;
1: + const struct net_device_ops___2 *netdev_ops;
1: + const struct ethtool_ops___2 *ethtool_ops;
1: + const struct ndisc_ops *ndisc_ops;
1: + const struct header_ops___2 *header_ops;
1: + unsigned int flags;
1: + unsigned int priv_flags;
1: + short unsigned int gflags;
1: + short unsigned int padded;
1: + unsigned char operstate;
1: + unsigned char link_mode;
1: + unsigned char if_port;
1: + unsigned char dma;
1: + unsigned int mtu;
1: + unsigned int min_mtu;
1: + unsigned int max_mtu;
1: + short unsigned int type;
1: + short unsigned int hard_header_len;
1: + unsigned char min_header_len;
1: + short unsigned int needed_headroom;
1: + short unsigned int needed_tailroom;
1: + unsigned char perm_addr[32];
1: + unsigned char addr_assign_type;
1: + unsigned char addr_len;
1: + unsigned char upper_level;
1: + unsigned char lower_level;
1: + short unsigned int neigh_priv_len;
1: + short unsigned int dev_id;
1: + short unsigned int dev_port;
1: + spinlock_t addr_list_lock;
1: + unsigned char name_assign_type;
1: + bool uc_promisc;
1: + struct netdev_hw_addr_list uc;
1: + struct netdev_hw_addr_list mc;
1: + struct netdev_hw_addr_list dev_addrs;
1: + struct kset___2 *queues_kset;
1: + unsigned int promiscuity;
1: + unsigned int allmulti;
1: + struct in_device *ip_ptr;
1: + struct inet6_dev *ip6_ptr;
1: + struct wireless_dev *ieee80211_ptr;
1: + struct wpan_dev *ieee802154_ptr;
1: + unsigned char *dev_addr;
1: + struct netdev_rx_queue___2 *_rx;
1: + unsigned int num_rx_queues;
1: + unsigned int real_num_rx_queues;
1: + struct bpf_prog___2 *xdp_prog;
1: + long unsigned int gro_flush_timeout;
1: + rx_handler_func_t___2 *rx_handler;
1: + void *rx_handler_data;
1: + struct mini_Qdisc___2 *miniq_ingress;
1: + struct netdev_queue___2 *ingress_queue;
1: + struct nf_hook_entries *nf_hooks_ingress;
1: + unsigned char broadcast[32];
1: + struct cpu_rmap *rx_cpu_rmap;
1: + struct hlist_node index_hlist;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct netdev_queue___2 *_tx;
1: + unsigned int num_tx_queues;
1: + unsigned int real_num_tx_queues;
1: + struct Qdisc___2 *qdisc;
1: + struct hlist_head qdisc_hash[16];
1: + unsigned int tx_queue_len;
1: + spinlock_t tx_global_lock;
1: + int watchdog_timeo;
1: + struct xps_dev_maps *xps_cpus_map;
1: + struct xps_dev_maps *xps_rxqs_map;
1: + struct mini_Qdisc___2 *miniq_egress;
1: + struct timer_list watchdog_timer;
1: + int *pcpu_refcnt;
1: + struct list_head todo_list;
1: + struct list_head link_watch_list;
1: + enum {
1: + NETREG_UNINITIALIZED___2 = 0,
1: + NETREG_REGISTERED___2 = 1,
1: + NETREG_UNREGISTERING___2 = 2,
1: + NETREG_UNREGISTERED___2 = 3,
1: + NETREG_RELEASED___2 = 4,
1: + NETREG_DUMMY___2 = 5,
1: + } reg_state: 8;
1: + bool dismantle;
1: + enum {
1: + RTNL_LINK_INITIALIZED___2 = 0,
1: + RTNL_LINK_INITIALIZING___2 = 1,
1: + } rtnl_link_state: 16;
1: + bool needs_free_netdev;
1: + void (*priv_destructor)(struct net_device___2 *);
1: + struct netpoll_info *npinfo;
1: + possible_net_t___2 nd_net;
1: + union {
1: + void *ml_priv;
1: + struct pcpu_lstats *lstats;
1: + struct pcpu_sw_netstats *tstats;
1: + struct pcpu_dstats *dstats;
1: + };
1: + struct device___2 dev;
1: + const struct attribute_group___2 *sysfs_groups[4];
1: + const struct attribute_group___2 *sysfs_rx_queue_group;
1: + const struct rtnl_link_ops___2 *rtnl_link_ops;
1: + unsigned int gso_max_size;
1: + u16 gso_max_segs;
1: + s16 num_tc;
1: + struct netdev_tc_txq tc_to_txq[16];
1: + u8 prio_tc_map[16];
1: + struct phy_device *phydev;
1: + struct sfp_bus *sfp_bus;
1: + struct lock_class_key qdisc_tx_busylock_key;
1: + struct lock_class_key qdisc_running_key;
1: + struct lock_class_key qdisc_xmit_lock_key;
1: + struct lock_class_key addr_list_lock_key;
1: + bool proto_down;
1: + unsigned int wol_enabled: 1;
1: +};
1: +
1: +struct bpf_prog_ops___2 {
1: + int (*test_run)(struct bpf_prog___2 *, const union bpf_attr *, union bpf_attr *);
1: +};
1: +
1: +struct bpf_prog_offload___2 {
1: + struct bpf_prog___2 *prog;
1: + struct net_device___2 *netdev;
1: + struct bpf_offload_dev *offdev;
1: + void *dev_priv;
1: + struct list_head offloads;
1: + bool dev_state;
1: + bool opt_failed;
1: + void *jited_image;
1: + u32 jited_len;
1: +};
1: +
1: +struct bpf_jit_poke_descriptor___2 {
1: + void *ip;
1: + union {
1: + struct {
1: + struct bpf_map___2 *map;
1: + u32 key;
1: + } tail_call;
1: + };
1: + bool ip_stable;
1: + u8 adj_off;
1: + u16 reason;
1: +};
1: +
1: +struct bpf_prog_array_item___2 {
1: + struct bpf_prog___2 *prog;
1: + struct bpf_cgroup_storage *cgroup_storage[2];
1: +};
1: +
1: +struct bpf_prog_array___2 {
1: + struct callback_head rcu;
1: + struct bpf_prog_array_item___2 items[0];
1: +};
1: +
1: +struct sk_buff___2 {
1: + union {
1: + struct {
1: + struct sk_buff___2 *next;
1: + struct sk_buff___2 *prev;
1: + union {
1: + struct net_device___2 *dev;
1: + long unsigned int dev_scratch;
1: + };
1: + };
1: + struct rb_node rbnode;
1: + struct list_head list;
1: + };
1: + union {
1: + struct sock *sk;
1: + int ip_defrag_offset;
1: + };
1: + union {
1: + ktime_t tstamp;
1: + u64 skb_mstamp_ns;
1: + };
1: + char cb[48];
1: + union {
1: + struct {
1: + long unsigned int _skb_refdst;
1: + void (*destructor)(struct sk_buff___2 *);
1: + };
1: + struct list_head tcp_tsorted_anchor;
1: + };
1: + long unsigned int _nfct;
1: + unsigned int len;
1: + unsigned int data_len;
1: + __u16 mac_len;
1: + __u16 hdr_len;
1: + __u16 queue_mapping;
1: + __u8 __cloned_offset[0];
1: + __u8 cloned: 1;
1: + __u8 nohdr: 1;
1: + __u8 fclone: 2;
1: + __u8 peeked: 1;
1: + __u8 head_frag: 1;
1: + __u8 pfmemalloc: 1;
1: + __u8 active_extensions;
1: + __u32 headers_start[0];
1: + __u8 __pkt_type_offset[0];
1: + __u8 pkt_type: 3;
1: + __u8 ignore_df: 1;
1: + __u8 nf_trace: 1;
1: + __u8 ip_summed: 2;
1: + __u8 ooo_okay: 1;
1: + __u8 l4_hash: 1;
1: + __u8 sw_hash: 1;
1: + __u8 wifi_acked_valid: 1;
1: + __u8 wifi_acked: 1;
1: + __u8 no_fcs: 1;
1: + __u8 encapsulation: 1;
1: + __u8 encap_hdr_csum: 1;
1: + __u8 csum_valid: 1;
1: + __u8 __pkt_vlan_present_offset[0];
1: + __u8 vlan_present: 1;
1: + __u8 csum_complete_sw: 1;
1: + __u8 csum_level: 2;
1: + __u8 csum_not_inet: 1;
1: + __u8 dst_pending_confirm: 1;
1: + __u8 ndisc_nodetype: 2;
1: + __u8 ipvs_property: 1;
1: + __u8 inner_protocol_type: 1;
1: + __u8 remcsum_offload: 1;
1: + __u8 tc_skip_classify: 1;
1: + __u8 tc_at_ingress: 1;
1: + __u8 tc_redirected: 1;
1: + __u8 tc_from_ingress: 1;
1: + __u16 tc_index;
1: + union {
1: + __wsum csum;
1: + struct {
1: + __u16 csum_start;
1: + __u16 csum_offset;
1: + };
1: + };
1: + __u32 priority;
1: + int skb_iif;
1: + __u32 hash;
1: + __be16 vlan_proto;
1: + __u16 vlan_tci;
1: + union {
1: + unsigned int napi_id;
1: + unsigned int sender_cpu;
1: + };
1: + __u32 secmark;
1: + union {
1: + __u32 mark;
1: + __u32 reserved_tailroom;
1: + };
1: + union {
1: + __be16 inner_protocol;
1: + __u8 inner_ipproto;
1: + };
1: + __u16 inner_transport_header;
1: + __u16 inner_network_header;
1: + __u16 inner_mac_header;
1: + __be16 protocol;
1: + __u16 transport_header;
1: + __u16 network_header;
1: + __u16 mac_header;
1: + __u32 headers_end[0];
1: + sk_buff_data_t tail;
1: + sk_buff_data_t end;
1: + unsigned char *head;
1: + unsigned char *data;
1: + unsigned int truesize;
1: + refcount_t users;
1: + struct skb_ext *extensions;
1: +};
1: +
1: +struct cgroup_file___2 {
1: + struct kernfs_node___2 *kn;
1: + long unsigned int notified_at;
1: + struct timer_list notify_timer;
1: +};
1: +
1: +struct cgroup_subsys___2;
1: +
1: +struct cgroup_subsys_state___2 {
1: + struct cgroup___2 *cgroup;
1: + struct cgroup_subsys___2 *ss;
1: + struct percpu_ref refcnt;
1: + struct list_head sibling;
1: + struct list_head children;
1: + struct list_head rstat_css_node;
1: + int id;
1: + unsigned int flags;
1: + u64 serial_nr;
1: + atomic_t online_cnt;
1: + struct work_struct destroy_work;
1: + struct rcu_work destroy_rwork;
1: + struct cgroup_subsys_state___2 *parent;
1: +};
1: +
1: +struct cgroup_root___2;
1: +
1: +struct cgroup_rstat_cpu___2;
1: +
1: +struct cgroup___2 {
1: + struct cgroup_subsys_state___2 self;
1: + long unsigned int flags;
1: + int level;
1: + int max_depth;
1: + int nr_descendants;
1: + int nr_dying_descendants;
1: + int max_descendants;
1: + int nr_populated_csets;
1: + int nr_populated_domain_children;
1: + int nr_populated_threaded_children;
1: + int nr_threaded_children;
1: + struct kernfs_node___2 *kn;
1: + struct cgroup_file___2 procs_file;
1: + struct cgroup_file___2 events_file;
1: + u16 subtree_control;
1: + u16 subtree_ss_mask;
1: + u16 old_subtree_control;
1: + u16 old_subtree_ss_mask;
1: + struct cgroup_subsys_state___2 *subsys[4];
1: + struct cgroup_root___2 *root;
1: + struct list_head cset_links;
1: + struct list_head e_csets[4];
1: + struct cgroup___2 *dom_cgrp;
1: + struct cgroup___2 *old_dom_cgrp;
1: + struct cgroup_rstat_cpu___2 *rstat_cpu;
1: + struct list_head rstat_css_list;
1: + struct cgroup_base_stat last_bstat;
1: + struct cgroup_base_stat bstat;
1: + struct prev_cputime prev_cputime;
1: + struct list_head pidlists;
1: + struct mutex pidlist_mutex;
1: + wait_queue_head_t offline_waitq;
1: + struct work_struct release_agent_work;
1: + struct psi_group psi;
1: + struct cgroup_bpf bpf;
1: + atomic_t congestion_count;
1: + struct cgroup_freezer_state freezer;
1: + u64 ancestor_ids[0];
1: +};
1: +
1: +struct cftype___2;
1: +
1: +struct cgroup_subsys___2 {
1: + struct cgroup_subsys_state___2 * (*css_alloc)(struct cgroup_subsys_state___2 *);
1: + int (*css_online)(struct cgroup_subsys_state___2 *);
1: + void (*css_offline)(struct cgroup_subsys_state___2 *);
1: + void (*css_released)(struct cgroup_subsys_state___2 *);
1: + void (*css_free)(struct cgroup_subsys_state___2 *);
1: + void (*css_reset)(struct cgroup_subsys_state___2 *);
1: + void (*css_rstat_flush)(struct cgroup_subsys_state___2 *, int);
1: + int (*css_extra_stat_show)(struct seq_file___2 *, struct cgroup_subsys_state___2 *);
1: + int (*can_attach)(struct cgroup_taskset *);
1: + void (*cancel_attach)(struct cgroup_taskset *);
1: + void (*attach)(struct cgroup_taskset *);
1: + void (*post_attach)();
1: + int (*can_fork)(struct task_struct___2 *);
1: + void (*cancel_fork)(struct task_struct___2 *);
1: + void (*fork)(struct task_struct___2 *);
1: + void (*exit)(struct task_struct___2 *);
1: + void (*release)(struct task_struct___2 *);
1: + void (*bind)(struct cgroup_subsys_state___2 *);
1: + bool early_init: 1;
1: + bool implicit_on_dfl: 1;
1: + bool threaded: 1;
1: + bool broken_hierarchy: 1;
1: + bool warned_broken_hierarchy: 1;
1: + int id;
1: + const char *name;
1: + const char *legacy_name;
1: + struct cgroup_root___2 *root;
1: + struct idr css_idr;
1: + struct list_head cfts;
1: + struct cftype___2 *dfl_cftypes;
1: + struct cftype___2 *legacy_cftypes;
1: + unsigned int depends_on;
1: +};
1: +
1: +struct cgroup_rstat_cpu___2 {
1: + struct u64_stats_sync bsync;
1: + struct cgroup_base_stat bstat;
1: + struct cgroup_base_stat last_bstat;
1: + struct cgroup___2 *updated_children;
1: + struct cgroup___2 *updated_next;
1: +};
1: +
1: +struct cgroup_root___2 {
1: + struct kernfs_root___2 *kf_root;
1: + unsigned int subsys_mask;
1: + int hierarchy_id;
1: + struct cgroup___2 cgrp;
1: + u64 cgrp_ancestor_id_storage;
1: + atomic_t nr_cgrps;
1: + struct list_head root_list;
1: + unsigned int flags;
1: + char release_agent_path[4096];
1: + char name[64];
1: +};
1: +
1: +struct cftype___2 {
1: + char name[64];
1: + long unsigned int private;
1: + size_t max_write_len;
1: + unsigned int flags;
1: + unsigned int file_offset;
1: + struct cgroup_subsys___2 *ss;
1: + struct list_head node;
1: + struct kernfs_ops___2 *kf_ops;
1: + int (*open)(struct kernfs_open_file___2 *);
1: + void (*release)(struct kernfs_open_file___2 *);
1: + u64 (*read_u64)(struct cgroup_subsys_state___2 *, struct cftype___2 *);
1: + s64 (*read_s64)(struct cgroup_subsys_state___2 *, struct cftype___2 *);
1: + int (*seq_show)(struct seq_file___2 *, void *);
1: + void * (*seq_start)(struct seq_file___2 *, loff_t *);
1: + void * (*seq_next)(struct seq_file___2 *, void *, loff_t *);
1: + void (*seq_stop)(struct seq_file___2 *, void *);
1: + int (*write_u64)(struct cgroup_subsys_state___2 *, struct cftype___2 *, u64);
1: + int (*write_s64)(struct cgroup_subsys_state___2 *, struct cftype___2 *, s64);
1: + ssize_t (*write)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: + __poll_t (*poll)(struct kernfs_open_file___2 *, struct poll_table_struct___2 *);
1: +};
1: +
1: +struct perf_cpu_context___2;
1: +
1: +struct perf_output_handle___2;
1: +
1: +struct pmu___2 {
1: + struct list_head entry;
1: + struct module___2 *module;
1: + struct device___2 *dev;
1: + const struct attribute_group___2 **attr_groups;
1: + const struct attribute_group___2 **attr_update;
1: + const char *name;
1: + int type;
1: + int capabilities;
1: + int *pmu_disable_count;
1: + struct perf_cpu_context___2 *pmu_cpu_context;
1: + atomic_t exclusive_cnt;
1: + int task_ctx_nr;
1: + int hrtimer_interval_ms;
1: + unsigned int nr_addr_filters;
1: + void (*pmu_enable)(struct pmu___2 *);
1: + void (*pmu_disable)(struct pmu___2 *);
1: + int (*event_init)(struct perf_event___2 *);
1: + void (*event_mapped)(struct perf_event___2 *, struct mm_struct___2 *);
1: + void (*event_unmapped)(struct perf_event___2 *, struct mm_struct___2 *);
1: + int (*add)(struct perf_event___2 *, int);
1: + void (*del)(struct perf_event___2 *, int);
1: + void (*start)(struct perf_event___2 *, int);
1: + void (*stop)(struct perf_event___2 *, int);
1: + void (*read)(struct perf_event___2 *);
1: + void (*start_txn)(struct pmu___2 *, unsigned int);
1: + int (*commit_txn)(struct pmu___2 *);
1: + void (*cancel_txn)(struct pmu___2 *);
1: + int (*event_idx)(struct perf_event___2 *);
1: + void (*sched_task)(struct perf_event_context___2 *, bool);
1: + size_t task_ctx_size;
1: + void (*swap_task_ctx)(struct perf_event_context___2 *, struct perf_event_context___2 *);
1: + void * (*setup_aux)(struct perf_event___2 *, void **, int, bool);
1: + void (*free_aux)(void *);
1: + long int (*snapshot_aux)(struct perf_event___2 *, struct perf_output_handle___2 *, long unsigned int);
1: + int (*addr_filters_validate)(struct list_head *);
1: + void (*addr_filters_sync)(struct perf_event___2 *);
1: + int (*aux_output_match)(struct perf_event___2 *);
1: + int (*filter_match)(struct perf_event___2 *);
1: + int (*check_period)(struct perf_event___2 *, u64);
1: +};
1: +
1: +struct perf_cpu_context___2 {
1: + struct perf_event_context___2 ctx;
1: + struct perf_event_context___2 *task_ctx;
1: + int active_oncpu;
1: + int exclusive;
1: + raw_spinlock_t hrtimer_lock;
1: + struct hrtimer hrtimer;
1: + ktime_t hrtimer_interval;
1: + unsigned int hrtimer_active;
1: + struct list_head sched_cb_entry;
1: + int sched_cb_usage;
1: + int online;
1: +};
1: +
1: +struct perf_output_handle___2 {
1: + struct perf_event___2 *event;
1: + struct ring_buffer___2 *rb;
1: + long unsigned int wakeup;
1: + long unsigned int size;
1: + u64 aux_flags;
1: + union {
1: + void *addr;
1: + long unsigned int head;
1: + };
1: + int page;
1: +};
1: +
1: +struct perf_addr_filter___2 {
1: + struct list_head entry;
1: + struct path___2 path;
1: + long unsigned int offset;
1: + long unsigned int size;
1: + enum perf_addr_filter_action_t action;
1: +};
1: +
1: +struct swevent_hlist {
1: + struct hlist_head heads[256];
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct pmu_event_list {
1: + raw_spinlock_t lock;
1: + struct list_head list;
1: +};
1: +
1: +struct ring_buffer___2 {
1: + refcount_t refcount;
1: + struct callback_head callback_head;
1: + int nr_pages;
1: + int overwrite;
1: + int paused;
1: + atomic_t poll;
1: + local_t head;
1: + unsigned int nest;
1: + local_t events;
1: + local_t wakeup;
1: + local_t lost;
1: + long int watermark;
1: + long int aux_watermark;
1: + spinlock_t event_lock;
1: + struct list_head event_list;
1: + atomic_t mmap_count;
1: + long unsigned int mmap_locked;
1: + struct user_struct *mmap_user;
1: + long int aux_head;
1: + unsigned int aux_nest;
1: + long int aux_wakeup;
1: + long unsigned int aux_pgoff;
1: + int aux_nr_pages;
1: + int aux_overwrite;
1: + atomic_t aux_mmap_count;
1: + long unsigned int aux_mmap_locked;
1: + void (*free_aux)(void *);
1: + refcount_t aux_refcount;
1: + int aux_in_sampling;
1: + void **aux_pages;
1: + void *aux_priv;
1: + struct perf_event_mmap_page *user_page;
1: + void *data_pages[0];
1: +};
1: +
1: +struct perf_pmu_events_attr___2 {
1: + struct device_attribute___2 attr;
1: + u64 id;
1: + const char *event_str;
1: +};
1: +
1: +struct trace_event_class___2 {
1: + const char *system;
1: + void *probe;
1: + void *perf_probe;
1: + int (*reg)(struct trace_event_call___2 *, enum trace_reg, void *);
1: + int (*define_fields)(struct trace_event_call___2 *);
1: + struct list_head * (*get_fields)(struct trace_event_call___2 *);
1: + struct list_head fields;
1: + int (*raw_init)(struct trace_event_call___2 *);
1: +};
1: +
1: +struct bio_vec___2 {
1: + struct page___2 *bv_page;
1: + unsigned int bv_len;
1: + unsigned int bv_offset;
1: +};
1: +
1: +struct pipe_buf_operations___2;
1: +
1: +struct pipe_buffer___2 {
1: + struct page___2 *page;
1: + unsigned int offset;
1: + unsigned int len;
1: + const struct pipe_buf_operations___2 *ops;
1: + unsigned int flags;
1: + long unsigned int private;
1: +};
1: +
1: +struct pipe_buf_operations___2 {
1: + int (*confirm)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: + void (*release)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: + int (*steal)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: + bool (*get)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: +};
1: +
1: +struct sk_buff_head___2 {
1: + struct sk_buff___2 *next;
1: + struct sk_buff___2 *prev;
1: + __u32 qlen;
1: + spinlock_t lock;
1: +};
1: +
1: +struct ethtool_ops___2 {
1: + void (*get_drvinfo)(struct net_device___2 *, struct ethtool_drvinfo *);
1: + int (*get_regs_len)(struct net_device___2 *);
1: + void (*get_regs)(struct net_device___2 *, struct ethtool_regs *, void *);
1: + void (*get_wol)(struct net_device___2 *, struct ethtool_wolinfo *);
1: + int (*set_wol)(struct net_device___2 *, struct ethtool_wolinfo *);
1: + u32 (*get_msglevel)(struct net_device___2 *);
1: + void (*set_msglevel)(struct net_device___2 *, u32);
1: + int (*nway_reset)(struct net_device___2 *);
1: + u32 (*get_link)(struct net_device___2 *);
1: + int (*get_eeprom_len)(struct net_device___2 *);
1: + int (*get_eeprom)(struct net_device___2 *, struct ethtool_eeprom *, u8 *);
1: + int (*set_eeprom)(struct net_device___2 *, struct ethtool_eeprom *, u8 *);
1: + int (*get_coalesce)(struct net_device___2 *, struct ethtool_coalesce *);
1: + int (*set_coalesce)(struct net_device___2 *, struct ethtool_coalesce *);
1: + void (*get_ringparam)(struct net_device___2 *, struct ethtool_ringparam *);
1: + int (*set_ringparam)(struct net_device___2 *, struct ethtool_ringparam *);
1: + void (*get_pauseparam)(struct net_device___2 *, struct ethtool_pauseparam *);
1: + int (*set_pauseparam)(struct net_device___2 *, struct ethtool_pauseparam *);
1: + void (*self_test)(struct net_device___2 *, struct ethtool_test *, u64 *);
1: + void (*get_strings)(struct net_device___2 *, u32, u8 *);
1: + int (*set_phys_id)(struct net_device___2 *, enum ethtool_phys_id_state);
1: + void (*get_ethtool_stats)(struct net_device___2 *, struct ethtool_stats *, u64 *);
1: + int (*begin)(struct net_device___2 *);
1: + void (*complete)(struct net_device___2 *);
1: + u32 (*get_priv_flags)(struct net_device___2 *);
1: + int (*set_priv_flags)(struct net_device___2 *, u32);
1: + int (*get_sset_count)(struct net_device___2 *, int);
1: + int (*get_rxnfc)(struct net_device___2 *, struct ethtool_rxnfc *, u32 *);
1: + int (*set_rxnfc)(struct net_device___2 *, struct ethtool_rxnfc *);
1: + int (*flash_device)(struct net_device___2 *, struct ethtool_flash *);
1: + int (*reset)(struct net_device___2 *, u32 *);
1: + u32 (*get_rxfh_key_size)(struct net_device___2 *);
1: + u32 (*get_rxfh_indir_size)(struct net_device___2 *);
1: + int (*get_rxfh)(struct net_device___2 *, u32 *, u8 *, u8 *);
1: + int (*set_rxfh)(struct net_device___2 *, const u32 *, const u8 *, const u8);
1: + int (*get_rxfh_context)(struct net_device___2 *, u32 *, u8 *, u8 *, u32);
1: + int (*set_rxfh_context)(struct net_device___2 *, const u32 *, const u8 *, const u8, u32 *, bool);
1: + void (*get_channels)(struct net_device___2 *, struct ethtool_channels *);
1: + int (*set_channels)(struct net_device___2 *, struct ethtool_channels *);
1: + int (*get_dump_flag)(struct net_device___2 *, struct ethtool_dump *);
1: + int (*get_dump_data)(struct net_device___2 *, struct ethtool_dump *, void *);
1: + int (*set_dump)(struct net_device___2 *, struct ethtool_dump *);
1: + int (*get_ts_info)(struct net_device___2 *, struct ethtool_ts_info *);
1: + int (*get_module_info)(struct net_device___2 *, struct ethtool_modinfo *);
1: + int (*get_module_eeprom)(struct net_device___2 *, struct ethtool_eeprom *, u8 *);
1: + int (*get_eee)(struct net_device___2 *, struct ethtool_eee *);
1: + int (*set_eee)(struct net_device___2 *, struct ethtool_eee *);
1: + int (*get_tunable)(struct net_device___2 *, const struct ethtool_tunable *, void *);
1: + int (*set_tunable)(struct net_device___2 *, const struct ethtool_tunable *, const void *);
1: + int (*get_per_queue_coalesce)(struct net_device___2 *, u32, struct ethtool_coalesce *);
1: + int (*set_per_queue_coalesce)(struct net_device___2 *, u32, struct ethtool_coalesce *);
1: + int (*get_link_ksettings)(struct net_device___2 *, struct ethtool_link_ksettings *);
1: + int (*set_link_ksettings)(struct net_device___2 *, const struct ethtool_link_ksettings *);
1: + int (*get_fecparam)(struct net_device___2 *, struct ethtool_fecparam *);
1: + int (*set_fecparam)(struct net_device___2 *, struct ethtool_fecparam *);
1: + void (*get_ethtool_phy_stats)(struct net_device___2 *, struct ethtool_stats *, u64 *);
1: +};
1: +
1: +struct inet_frags___2;
1: +
1: +struct fqdir___2 {
1: + long int high_thresh;
1: + long int low_thresh;
1: + int timeout;
1: + int max_dist;
1: + struct inet_frags___2 *f;
1: + struct net___2 *net;
1: + bool dead;
1: + long: 56;
1: + long: 64;
1: + long: 64;
1: + struct rhashtable rhashtable;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + atomic_long_t mem;
1: + struct work_struct destroy_work;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct inet_frag_queue___2;
1: +
1: +struct inet_frags___2 {
1: + unsigned int qsize;
1: + void (*constructor)(struct inet_frag_queue___2 *, const void *);
1: + void (*destructor)(struct inet_frag_queue___2 *);
1: + void (*frag_expire)(struct timer_list *);
1: + struct kmem_cache *frags_cachep;
1: + const char *frags_cache_name;
1: + struct rhashtable_params rhash_params;
1: + refcount_t refcnt;
1: + struct completion completion;
1: +};
1: +
1: +struct inet_frag_queue___2 {
1: + struct rhash_head node;
1: + union {
1: + struct frag_v4_compare_key v4;
1: + struct frag_v6_compare_key v6;
1: + } key;
1: + struct timer_list timer;
1: + spinlock_t lock;
1: + refcount_t refcnt;
1: + struct rb_root rb_fragments;
1: + struct sk_buff___2 *fragments_tail;
1: + struct sk_buff___2 *last_run_head;
1: + ktime_t stamp;
1: + int len;
1: + int meat;
1: + __u8 flags;
1: + u16 max_size;
1: + struct fqdir___2 *fqdir;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct xdp_rxq_info___2 {
1: + struct net_device___2 *dev;
1: + u32 queue_index;
1: + u32 reg_state;
1: + struct xdp_mem_info mem;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct xdp_frame___2 {
1: + void *data;
1: + u16 len;
1: + u16 headroom;
1: + u16 metasize;
1: + struct xdp_mem_info mem;
1: + struct net_device___2 *dev_rx;
1: +};
1: +
1: +struct netlink_callback___2 {
1: + struct sk_buff___2 *skb;
1: + const struct nlmsghdr *nlh;
1: + int (*dump)(struct sk_buff___2 *, struct netlink_callback___2 *);
1: + int (*done)(struct netlink_callback___2 *);
1: + void *data;
1: + struct module___2 *module;
1: + struct netlink_ext_ack *extack;
1: + u16 family;
1: + u16 min_dump_alloc;
1: + bool strict_check;
1: + u16 answer_flags;
1: + unsigned int prev_seq;
1: + unsigned int seq;
1: + union {
1: + u8 ctx[48];
1: + long int args[6];
1: + };
1: +};
1: +
1: +struct header_ops___2 {
1: + int (*create)(struct sk_buff___2 *, struct net_device___2 *, short unsigned int, const void *, const void *, unsigned int);
1: + int (*parse)(const struct sk_buff___2 *, unsigned char *);
1: + int (*cache)(const struct neighbour *, struct hh_cache *, __be16);
1: + void (*cache_update)(struct hh_cache *, const struct net_device___2 *, const unsigned char *);
1: + bool (*validate)(const char *, unsigned int);
1: + __be16 (*parse_protocol)(const struct sk_buff___2 *);
1: +};
1: +
1: +struct napi_struct___2 {
1: + struct list_head poll_list;
1: + long unsigned int state;
1: + int weight;
1: + long unsigned int gro_bitmask;
1: + int (*poll)(struct napi_struct___2 *, int);
1: + int poll_owner;
1: + struct net_device___2 *dev;
1: + struct gro_list gro_hash[8];
1: + struct sk_buff___2 *skb;
1: + struct list_head rx_list;
1: + int rx_count;
1: + struct hrtimer timer;
1: + struct list_head dev_list;
1: + struct hlist_node napi_hash_node;
1: + unsigned int napi_id;
1: +};
1: +
1: +struct netdev_queue___2 {
1: + struct net_device___2 *dev;
1: + struct Qdisc___2 *qdisc;
1: + struct Qdisc___2 *qdisc_sleeping;
1: + struct kobject___2 kobj;
1: + int numa_node;
1: + long unsigned int tx_maxrate;
1: + long unsigned int trans_timeout;
1: + struct net_device___2 *sb_dev;
1: + long: 64;
1: + spinlock_t _xmit_lock;
1: + int xmit_lock_owner;
1: + long unsigned int trans_start;
1: + long unsigned int state;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct dql dql;
1: +};
1: +
1: +struct qdisc_skb_head___2 {
1: + struct sk_buff___2 *head;
1: + struct sk_buff___2 *tail;
1: + __u32 qlen;
1: + spinlock_t lock;
1: +};
1: +
1: +struct Qdisc_ops___2;
1: +
1: +struct Qdisc___2 {
1: + int (*enqueue)(struct sk_buff___2 *, struct Qdisc___2 *, struct sk_buff___2 **);
1: + struct sk_buff___2 * (*dequeue)(struct Qdisc___2 *);
1: + unsigned int flags;
1: + u32 limit;
1: + const struct Qdisc_ops___2 *ops;
1: + struct qdisc_size_table *stab;
1: + struct hlist_node hash;
1: + u32 handle;
1: + u32 parent;
1: + struct netdev_queue___2 *dev_queue;
1: + struct net_rate_estimator *rate_est;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_queue *cpu_qstats;
1: + int padded;
1: + refcount_t refcnt;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct sk_buff_head___2 gso_skb;
1: + struct qdisc_skb_head___2 q;
1: + struct gnet_stats_basic_packed bstats;
1: + seqcount_t running;
1: + struct gnet_stats_queue qstats;
1: + long unsigned int state;
1: + struct Qdisc___2 *next_sched;
1: + struct sk_buff_head___2 skb_bad_txq;
1: + spinlock_t busylock;
1: + spinlock_t seqlock;
1: + bool empty;
1: + struct callback_head rcu;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct netdev_rx_queue___2 {
1: + struct rps_map *rps_map;
1: + struct rps_dev_flow_table *rps_flow_table;
1: + struct kobject___2 kobj;
1: + struct net_device___2 *dev;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct xdp_rxq_info___2 xdp_rxq;
1: +};
1: +
1: +struct netdev_bpf___2 {
1: + enum bpf_netdev_command command;
1: + union {
1: + struct {
1: + u32 flags;
1: + struct bpf_prog___2 *prog;
1: + struct netlink_ext_ack *extack;
1: + };
1: + struct {
1: + u32 prog_id;
1: + u32 prog_flags;
1: + };
1: + struct {
1: + struct bpf_offloaded_map___2 *offmap;
1: + };
1: + struct {
1: + struct xdp_umem *umem;
1: + u16 queue_id;
1: + } xsk;
1: + };
1: +};
1: +
1: +struct netdev_name_node___2 {
1: + struct hlist_node hlist;
1: + struct list_head list;
1: + struct net_device___2 *dev;
1: + const char *name;
1: +};
1: +
1: +struct net_device_ops___2 {
1: + int (*ndo_init)(struct net_device___2 *);
1: + void (*ndo_uninit)(struct net_device___2 *);
1: + int (*ndo_open)(struct net_device___2 *);
1: + int (*ndo_stop)(struct net_device___2 *);
1: + netdev_tx_t (*ndo_start_xmit)(struct sk_buff___2 *, struct net_device___2 *);
1: + netdev_features_t (*ndo_features_check)(struct sk_buff___2 *, struct net_device___2 *, netdev_features_t);
1: + u16 (*ndo_select_queue)(struct net_device___2 *, struct sk_buff___2 *, struct net_device___2 *);
1: + void (*ndo_change_rx_flags)(struct net_device___2 *, int);
1: + void (*ndo_set_rx_mode)(struct net_device___2 *);
1: + int (*ndo_set_mac_address)(struct net_device___2 *, void *);
1: + int (*ndo_validate_addr)(struct net_device___2 *);
1: + int (*ndo_do_ioctl)(struct net_device___2 *, struct ifreq *, int);
1: + int (*ndo_set_config)(struct net_device___2 *, struct ifmap *);
1: + int (*ndo_change_mtu)(struct net_device___2 *, int);
1: + int (*ndo_neigh_setup)(struct net_device___2 *, struct neigh_parms *);
1: + void (*ndo_tx_timeout)(struct net_device___2 *);
1: + void (*ndo_get_stats64)(struct net_device___2 *, struct rtnl_link_stats64 *);
1: + bool (*ndo_has_offload_stats)(const struct net_device___2 *, int);
1: + int (*ndo_get_offload_stats)(int, const struct net_device___2 *, void *);
1: + struct net_device_stats * (*ndo_get_stats)(struct net_device___2 *);
1: + int (*ndo_vlan_rx_add_vid)(struct net_device___2 *, __be16, u16);
1: + int (*ndo_vlan_rx_kill_vid)(struct net_device___2 *, __be16, u16);
1: + void (*ndo_poll_controller)(struct net_device___2 *);
1: + int (*ndo_netpoll_setup)(struct net_device___2 *, struct netpoll_info *);
1: + void (*ndo_netpoll_cleanup)(struct net_device___2 *);
1: + int (*ndo_set_vf_mac)(struct net_device___2 *, int, u8 *);
1: + int (*ndo_set_vf_vlan)(struct net_device___2 *, int, u16, u8, __be16);
1: + int (*ndo_set_vf_rate)(struct net_device___2 *, int, int, int);
1: + int (*ndo_set_vf_spoofchk)(struct net_device___2 *, int, bool);
1: + int (*ndo_set_vf_trust)(struct net_device___2 *, int, bool);
1: + int (*ndo_get_vf_config)(struct net_device___2 *, int, struct ifla_vf_info *);
1: + int (*ndo_set_vf_link_state)(struct net_device___2 *, int, int);
1: + int (*ndo_get_vf_stats)(struct net_device___2 *, int, struct ifla_vf_stats *);
1: + int (*ndo_set_vf_port)(struct net_device___2 *, int, struct nlattr **);
1: + int (*ndo_get_vf_port)(struct net_device___2 *, int, struct sk_buff___2 *);
1: + int (*ndo_get_vf_guid)(struct net_device___2 *, int, struct ifla_vf_guid *, struct ifla_vf_guid *);
1: + int (*ndo_set_vf_guid)(struct net_device___2 *, int, u64, int);
1: + int (*ndo_set_vf_rss_query_en)(struct net_device___2 *, int, bool);
1: + int (*ndo_setup_tc)(struct net_device___2 *, enum tc_setup_type, void *);
1: + int (*ndo_rx_flow_steer)(struct net_device___2 *, const struct sk_buff___2 *, u16, u32);
1: + int (*ndo_add_slave)(struct net_device___2 *, struct net_device___2 *, struct netlink_ext_ack *);
1: + int (*ndo_del_slave)(struct net_device___2 *, struct net_device___2 *);
1: + netdev_features_t (*ndo_fix_features)(struct net_device___2 *, netdev_features_t);
1: + int (*ndo_set_features)(struct net_device___2 *, netdev_features_t);
1: + int (*ndo_neigh_construct)(struct net_device___2 *, struct neighbour *);
1: + void (*ndo_neigh_destroy)(struct net_device___2 *, struct neighbour *);
1: + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device___2 *, const unsigned char *, u16, u16, struct netlink_ext_ack *);
1: + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device___2 *, const unsigned char *, u16);
1: + int (*ndo_fdb_dump)(struct sk_buff___2 *, struct netlink_callback___2 *, struct net_device___2 *, struct net_device___2 *, int *);
1: + int (*ndo_fdb_get)(struct sk_buff___2 *, struct nlattr **, struct net_device___2 *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *);
1: + int (*ndo_bridge_setlink)(struct net_device___2 *, struct nlmsghdr *, u16, struct netlink_ext_ack *);
1: + int (*ndo_bridge_getlink)(struct sk_buff___2 *, u32, u32, struct net_device___2 *, u32, int);
1: + int (*ndo_bridge_dellink)(struct net_device___2 *, struct nlmsghdr *, u16);
1: + int (*ndo_change_carrier)(struct net_device___2 *, bool);
1: + int (*ndo_get_phys_port_id)(struct net_device___2 *, struct netdev_phys_item_id *);
1: + int (*ndo_get_port_parent_id)(struct net_device___2 *, struct netdev_phys_item_id *);
1: + int (*ndo_get_phys_port_name)(struct net_device___2 *, char *, size_t);
1: + void (*ndo_udp_tunnel_add)(struct net_device___2 *, struct udp_tunnel_info *);
1: + void (*ndo_udp_tunnel_del)(struct net_device___2 *, struct udp_tunnel_info *);
1: + void * (*ndo_dfwd_add_station)(struct net_device___2 *, struct net_device___2 *);
1: + void (*ndo_dfwd_del_station)(struct net_device___2 *, void *);
1: + int (*ndo_set_tx_maxrate)(struct net_device___2 *, int, u32);
1: + int (*ndo_get_iflink)(const struct net_device___2 *);
1: + int (*ndo_change_proto_down)(struct net_device___2 *, bool);
1: + int (*ndo_fill_metadata_dst)(struct net_device___2 *, struct sk_buff___2 *);
1: + void (*ndo_set_rx_headroom)(struct net_device___2 *, int);
1: + int (*ndo_bpf)(struct net_device___2 *, struct netdev_bpf___2 *);
1: + int (*ndo_xdp_xmit)(struct net_device___2 *, int, struct xdp_frame___2 **, u32);
1: + int (*ndo_xsk_wakeup)(struct net_device___2 *, u32, u32);
1: + struct devlink_port * (*ndo_get_devlink_port)(struct net_device___2 *);
1: +};
1: +
1: +struct tcf_proto___2;
1: +
1: +struct mini_Qdisc___2 {
1: + struct tcf_proto___2 *filter_list;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_queue *cpu_qstats;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct rtnl_link_ops___2 {
1: + struct list_head list;
1: + const char *kind;
1: + size_t priv_size;
1: + void (*setup)(struct net_device___2 *);
1: + unsigned int maxtype;
1: + const struct nla_policy *policy;
1: + int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + int (*newlink)(struct net___2 *, struct net_device___2 *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + int (*changelink)(struct net_device___2 *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + void (*dellink)(struct net_device___2 *, struct list_head *);
1: + size_t (*get_size)(const struct net_device___2 *);
1: + int (*fill_info)(struct sk_buff___2 *, const struct net_device___2 *);
1: + size_t (*get_xstats_size)(const struct net_device___2 *);
1: + int (*fill_xstats)(struct sk_buff___2 *, const struct net_device___2 *);
1: + unsigned int (*get_num_tx_queues)();
1: + unsigned int (*get_num_rx_queues)();
1: + unsigned int slave_maxtype;
1: + const struct nla_policy *slave_policy;
1: + int (*slave_changelink)(struct net_device___2 *, struct net_device___2 *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + size_t (*get_slave_size)(const struct net_device___2 *, const struct net_device___2 *);
1: + int (*fill_slave_info)(struct sk_buff___2 *, const struct net_device___2 *, const struct net_device___2 *);
1: + struct net___2 * (*get_link_net)(const struct net_device___2 *);
1: + size_t (*get_linkxstats_size)(const struct net_device___2 *, int);
1: + int (*fill_linkxstats)(struct sk_buff___2 *, const struct net_device___2 *, int *, int);
1: +};
1: +
1: +struct softnet_data___2 {
1: + struct list_head poll_list;
1: + struct sk_buff_head___2 process_queue;
1: + unsigned int processed;
1: + unsigned int time_squeeze;
1: + unsigned int received_rps;
1: + struct softnet_data___2 *rps_ipi_list;
1: + struct sd_flow_limit *flow_limit;
1: + struct Qdisc___2 *output_queue;
1: + struct Qdisc___2 **output_queue_tailp;
1: + struct sk_buff___2 *completion_queue;
1: + struct {
1: + u16 recursion;
1: + u8 more;
1: + } xmit;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + unsigned int input_queue_head;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + call_single_data_t csd;
1: + struct softnet_data___2 *rps_ipi_next;
1: + unsigned int cpu;
1: + unsigned int input_queue_tail;
1: + unsigned int dropped;
1: + struct sk_buff_head___2 input_pkt_queue;
1: + struct napi_struct___2 backlog;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct gnet_dump___2 {
1: + spinlock_t *lock;
1: + struct sk_buff___2 *skb;
1: + struct nlattr *tail;
1: + int compat_tc_stats;
1: + int compat_xstats;
1: + int padattr;
1: + void *xstats;
1: + int xstats_len;
1: + struct tc_stats tc_stats;
1: +};
1: +
1: +struct Qdisc_class_ops___2;
1: +
1: +struct Qdisc_ops___2 {
1: + struct Qdisc_ops___2 *next;
1: + const struct Qdisc_class_ops___2 *cl_ops;
1: + char id[16];
1: + int priv_size;
1: + unsigned int static_flags;
1: + int (*enqueue)(struct sk_buff___2 *, struct Qdisc___2 *, struct sk_buff___2 **);
1: + struct sk_buff___2 * (*dequeue)(struct Qdisc___2 *);
1: + struct sk_buff___2 * (*peek)(struct Qdisc___2 *);
1: + int (*init)(struct Qdisc___2 *, struct nlattr *, struct netlink_ext_ack *);
1: + void (*reset)(struct Qdisc___2 *);
1: + void (*destroy)(struct Qdisc___2 *);
1: + int (*change)(struct Qdisc___2 *, struct nlattr *, struct netlink_ext_ack *);
1: + void (*attach)(struct Qdisc___2 *);
1: + int (*change_tx_queue_len)(struct Qdisc___2 *, unsigned int);
1: + int (*dump)(struct Qdisc___2 *, struct sk_buff___2 *);
1: + int (*dump_stats)(struct Qdisc___2 *, struct gnet_dump___2 *);
1: + void (*ingress_block_set)(struct Qdisc___2 *, u32);
1: + void (*egress_block_set)(struct Qdisc___2 *, u32);
1: + u32 (*ingress_block_get)(struct Qdisc___2 *);
1: + u32 (*egress_block_get)(struct Qdisc___2 *);
1: + struct module___2 *owner;
1: +};
1: +
1: +struct tcf_block___2;
1: +
1: +struct Qdisc_class_ops___2 {
1: + unsigned int flags;
1: + struct netdev_queue___2 * (*select_queue)(struct Qdisc___2 *, struct tcmsg *);
1: + int (*graft)(struct Qdisc___2 *, long unsigned int, struct Qdisc___2 *, struct Qdisc___2 **, struct netlink_ext_ack *);
1: + struct Qdisc___2 * (*leaf)(struct Qdisc___2 *, long unsigned int);
1: + void (*qlen_notify)(struct Qdisc___2 *, long unsigned int);
1: + long unsigned int (*find)(struct Qdisc___2 *, u32);
1: + int (*change)(struct Qdisc___2 *, u32, u32, struct nlattr **, long unsigned int *, struct netlink_ext_ack *);
1: + int (*delete)(struct Qdisc___2 *, long unsigned int);
1: + void (*walk)(struct Qdisc___2 *, struct qdisc_walker *);
1: + struct tcf_block___2 * (*tcf_block)(struct Qdisc___2 *, long unsigned int, struct netlink_ext_ack *);
1: + long unsigned int (*bind_tcf)(struct Qdisc___2 *, long unsigned int, u32);
1: + void (*unbind_tcf)(struct Qdisc___2 *, long unsigned int);
1: + int (*dump)(struct Qdisc___2 *, long unsigned int, struct sk_buff___2 *, struct tcmsg *);
1: + int (*dump_stats)(struct Qdisc___2 *, long unsigned int, struct gnet_dump___2 *);
1: +};
1: +
1: +struct tcf_chain___2;
1: +
1: +struct tcf_block___2 {
1: + struct mutex lock;
1: + struct list_head chain_list;
1: + u32 index;
1: + refcount_t refcnt;
1: + struct net___2 *net;
1: + struct Qdisc___2 *q;
1: + struct rw_semaphore cb_lock;
1: + struct flow_block flow_block;
1: + struct list_head owner_list;
1: + bool keep_dst;
1: + atomic_t offloadcnt;
1: + unsigned int nooffloaddevcnt;
1: + unsigned int lockeddevcnt;
1: + struct {
1: + struct tcf_chain___2 *chain;
1: + struct list_head filter_chain_list;
1: + } chain0;
1: + struct callback_head rcu;
1: + struct hlist_head proto_destroy_ht[128];
1: + struct mutex proto_destroy_lock;
1: +};
1: +
1: +struct tcf_result___2;
1: +
1: +struct tcf_proto_ops___2;
1: +
1: +struct tcf_proto___2 {
1: + struct tcf_proto___2 *next;
1: + void *root;
1: + int (*classify)(struct sk_buff___2 *, const struct tcf_proto___2 *, struct tcf_result___2 *);
1: + __be16 protocol;
1: + u32 prio;
1: + void *data;
1: + const struct tcf_proto_ops___2 *ops;
1: + struct tcf_chain___2 *chain;
1: + spinlock_t lock;
1: + bool deleting;
1: + refcount_t refcnt;
1: + struct callback_head rcu;
1: + struct hlist_node destroy_ht_node;
1: +};
1: +
1: +struct tcf_result___2 {
1: + union {
1: + struct {
1: + long unsigned int class;
1: + u32 classid;
1: + };
1: + const struct tcf_proto___2 *goto_tp;
1: + struct {
1: + bool ingress;
1: + struct gnet_stats_queue *qstats;
1: + };
1: + };
1: +};
1: +
1: +struct tcf_proto_ops___2 {
1: + struct list_head head;
1: + char kind[16];
1: + int (*classify)(struct sk_buff___2 *, const struct tcf_proto___2 *, struct tcf_result___2 *);
1: + int (*init)(struct tcf_proto___2 *);
1: + void (*destroy)(struct tcf_proto___2 *, bool, struct netlink_ext_ack *);
1: + void * (*get)(struct tcf_proto___2 *, u32);
1: + void (*put)(struct tcf_proto___2 *, void *);
1: + int (*change)(struct net___2 *, struct sk_buff___2 *, struct tcf_proto___2 *, long unsigned int, u32, struct nlattr **, void **, bool, bool, struct netlink_ext_ack *);
1: + int (*delete)(struct tcf_proto___2 *, void *, bool *, bool, struct netlink_ext_ack *);
1: + bool (*delete_empty)(struct tcf_proto___2 *);
1: + void (*walk)(struct tcf_proto___2 *, struct tcf_walker *, bool);
1: + int (*reoffload)(struct tcf_proto___2 *, bool, flow_setup_cb_t *, void *, struct netlink_ext_ack *);
1: + void (*hw_add)(struct tcf_proto___2 *, void *);
1: + void (*hw_del)(struct tcf_proto___2 *, void *);
1: + void (*bind_class)(void *, u32, long unsigned int);
1: + void * (*tmplt_create)(struct net___2 *, struct tcf_chain___2 *, struct nlattr **, struct netlink_ext_ack *);
1: + void (*tmplt_destroy)(void *);
1: + int (*dump)(struct net___2 *, struct tcf_proto___2 *, void *, struct sk_buff___2 *, struct tcmsg *, bool);
1: + int (*tmplt_dump)(struct sk_buff___2 *, struct net___2 *, void *);
1: + struct module___2 *owner;
1: + int flags;
1: +};
1: +
1: +struct tcf_chain___2 {
1: + struct mutex filter_chain_lock;
1: + struct tcf_proto___2 *filter_chain;
1: + struct list_head list;
1: + struct tcf_block___2 *block;
1: + u32 index;
1: + unsigned int refcnt;
1: + unsigned int action_refcnt;
1: + bool explicitly_created;
1: + bool flushing;
1: + const struct tcf_proto_ops___2 *tmplt_ops;
1: + void *tmplt_priv;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct bpf_redirect_info___2 {
1: + u32 flags;
1: + u32 tgt_index;
1: + void *tgt_value;
1: + struct bpf_map___2 *map;
1: + struct bpf_map___2 *map_to_flush;
1: + u32 kern_flags;
1: +};
1: +
1: +struct match_token {
1: + int token;
1: + const char *pattern;
1: +};
1: +
1: +enum {
1: + MAX_OPT_ARGS = 3,
1: +};
1: +
1: +typedef struct {
1: + char *from;
1: + char *to;
1: +} substring_t;
1: +
1: +typedef int (*remote_function_f)(void *);
1: +
1: +struct remote_function_call {
1: + struct task_struct___2 *p;
1: + remote_function_f func;
1: + void *info;
1: + int ret;
1: +};
1: +
1: +typedef void (*event_f)(struct perf_event___2 *, struct perf_cpu_context___2 *, struct perf_event_context___2 *, void *);
1: +
1: +struct event_function_struct {
1: + struct perf_event___2 *event;
1: + event_f func;
1: + void *data;
1: +};
1: +
1: +enum event_type_t {
1: + EVENT_FLEXIBLE = 1,
1: + EVENT_PINNED = 2,
1: + EVENT_TIME = 4,
1: + EVENT_CPU = 8,
1: + EVENT_ALL = 3,
1: +};
1: +
1: +struct stop_event_data {
1: + struct perf_event___2 *event;
1: + unsigned int restart;
1: +};
1: +
1: +struct sched_in_data {
1: + struct perf_event_context___2 *ctx;
1: + struct perf_cpu_context___2 *cpuctx;
1: + int can_add_hw;
1: +};
1: +
1: +struct perf_read_data {
1: + struct perf_event___2 *event;
1: + bool group;
1: + int ret;
1: +};
1: +
1: +struct perf_read_event {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: +};
1: +
1: +typedef void perf_iterate_f(struct perf_event___2 *, void *);
1: +
1: +struct remote_output {
1: + struct ring_buffer___2 *rb;
1: + int err;
1: +};
1: +
1: +struct perf_task_event {
1: + struct task_struct___2 *task;
1: + struct perf_event_context___2 *task_ctx;
1: + struct {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 ppid;
1: + u32 tid;
1: + u32 ptid;
1: + u64 time;
1: + } event_id;
1: +};
1: +
1: +struct perf_comm_event {
1: + struct task_struct___2 *task;
1: + char *comm;
1: + int comm_size;
1: + struct {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: + } event_id;
1: +};
1: +
1: +struct perf_namespaces_event {
1: + struct task_struct___2 *task;
1: + struct {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: + u64 nr_namespaces;
1: + struct perf_ns_link_info link_info[7];
1: + } event_id;
1: +};
1: +
1: +struct perf_mmap_event {
1: + struct vm_area_struct___2 *vma;
1: + const char *file_name;
1: + int file_size;
1: + int maj;
1: + int min;
1: + u64 ino;
1: + u64 ino_generation;
1: + u32 prot;
1: + u32 flags;
1: + struct {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: + u64 start;
1: + u64 len;
1: + u64 pgoff;
1: + } event_id;
1: +};
1: +
1: +struct perf_switch_event {
1: + struct task_struct___2 *task;
1: + struct task_struct___2 *next_prev;
1: + struct {
1: + struct perf_event_header header;
1: + u32 next_prev_pid;
1: + u32 next_prev_tid;
1: + } event_id;
1: +};
1: +
1: +struct perf_ksymbol_event {
1: + const char *name;
1: + int name_len;
1: + struct {
1: + struct perf_event_header header;
1: + u64 addr;
1: + u32 len;
1: + u16 ksym_type;
1: + u16 flags;
1: + } event_id;
1: +};
1: +
1: +struct perf_bpf_event {
1: + struct bpf_prog___2 *prog;
1: + struct {
1: + struct perf_event_header header;
1: + u16 type;
1: + u16 flags;
1: + u32 id;
1: + u8 tag[8];
1: + } event_id;
1: +};
1: +
1: +struct swevent_htable {
1: + struct swevent_hlist *swevent_hlist;
1: + struct mutex hlist_mutex;
1: + int hlist_refcount;
1: + int recursion[4];
1: +};
1: +
1: +enum perf_probe_config {
1: + PERF_PROBE_CONFIG_IS_RETPROBE = 1,
1: + PERF_UPROBE_REF_CTR_OFFSET_BITS = 32,
1: + PERF_UPROBE_REF_CTR_OFFSET_SHIFT = 32,
1: +};
1: +
1: +enum {
1: + IF_ACT_NONE = -1,
1: + IF_ACT_FILTER = 0,
1: + IF_ACT_START = 1,
1: + IF_ACT_STOP = 2,
1: + IF_SRC_FILE = 3,
1: + IF_SRC_KERNEL = 4,
1: + IF_SRC_FILEADDR = 5,
1: + IF_SRC_KERNELADDR = 6,
1: +};
1: +
1: +enum {
1: + IF_STATE_ACTION = 0,
1: + IF_STATE_SOURCE = 1,
1: + IF_STATE_END = 2,
1: +};
1: +
1: +struct perf_aux_event {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: +};
1: +
1: +struct perf_aux_event___2 {
1: + struct perf_event_header header;
1: + u64 offset;
1: + u64 size;
1: + u64 flags;
1: +};
1: +
1: +enum perf_callchain_context {
1: + PERF_CONTEXT_HV = -32,
1: + PERF_CONTEXT_KERNEL = -128,
1: + PERF_CONTEXT_USER = -512,
1: + PERF_CONTEXT_GUEST = -2048,
1: + PERF_CONTEXT_GUEST_KERNEL = -2176,
1: + PERF_CONTEXT_GUEST_USER = -2560,
1: + PERF_CONTEXT_MAX = -4095,
1: +};
1: +
1: +struct callchain_cpus_entries {
1: + struct callback_head callback_head;
1: + struct perf_callchain_entry *cpu_entries[0];
1: +};
1: +
1: +enum bp_type_idx {
1: + TYPE_INST = 0,
1: + TYPE_DATA = 0,
1: + TYPE_MAX = 1,
1: +};
1: +
1: +struct bp_cpuinfo {
1: + unsigned int cpu_pinned;
1: + unsigned int *tsk_pinned;
1: + unsigned int flexible;
1: +};
1: +
1: +struct bp_busy_slots {
1: + unsigned int pinned;
1: + unsigned int flexible;
1: +};
1: +
1: +typedef u8 uprobe_opcode_t;
1: +
1: +struct uprobe {
1: + struct rb_node rb_node;
1: + refcount_t ref;
1: + struct rw_semaphore register_rwsem;
1: + struct rw_semaphore consumer_rwsem;
1: + struct list_head pending_list;
1: + struct uprobe_consumer *consumers;
1: + struct inode___2 *inode;
1: + loff_t offset;
1: + loff_t ref_ctr_offset;
1: + long unsigned int flags;
1: + struct arch_uprobe arch;
1: +};
1: +
1: +struct xol_area {
1: + wait_queue_head_t wq;
1: + atomic_t slot_count;
1: + long unsigned int *bitmap;
1: + struct vm_special_mapping xol_mapping;
1: + struct page___2 *pages[2];
1: + long unsigned int vaddr;
1: +};
1: +
1: +struct compact_control;
1: +
1: +struct capture_control {
1: + struct compact_control *cc;
1: + struct page___2 *page;
1: +};
1: +
1: +typedef int filler_t(void *, struct page___2 *);
1: +
1: +struct page_vma_mapped_walk {
1: + struct page___2 *page;
1: + struct vm_area_struct___2 *vma;
1: + long unsigned int address;
1: + pmd_t *pmd;
1: + pte_t *pte;
1: + spinlock_t *ptl;
1: + unsigned int flags;
1: +};
1: +
1: +enum mmu_notifier_event {
1: + MMU_NOTIFY_UNMAP = 0,
1: + MMU_NOTIFY_CLEAR = 1,
1: + MMU_NOTIFY_PROTECTION_VMA = 2,
1: + MMU_NOTIFY_PROTECTION_PAGE = 3,
1: + MMU_NOTIFY_SOFT_DIRTY = 4,
1: + MMU_NOTIFY_RELEASE = 5,
1: +};
1: +
1: +struct mmu_notifier_range {
1: + struct vm_area_struct___2 *vma;
1: + struct mm_struct___2 *mm;
1: + long unsigned int start;
1: + long unsigned int end;
1: + unsigned int flags;
1: + enum mmu_notifier_event event;
1: +};
1: +
1: +struct compact_control {
1: + struct list_head freepages;
1: + struct list_head migratepages;
1: + unsigned int nr_freepages;
1: + unsigned int nr_migratepages;
1: + long unsigned int free_pfn;
1: + long unsigned int migrate_pfn;
1: + long unsigned int fast_start_pfn;
1: + struct zone___2 *zone;
1: + long unsigned int total_migrate_scanned;
1: + long unsigned int total_free_scanned;
1: + short unsigned int fast_search_fail;
1: + short int search_order;
1: + const gfp_t gfp_mask;
1: + int order;
1: + int migratetype;
1: + const unsigned int alloc_flags;
1: + const int classzone_idx;
1: + enum migrate_mode mode;
1: + bool ignore_skip_hint;
1: + bool no_set_skip_hint;
1: + bool ignore_block_suitable;
1: + bool direct_compaction;
1: + bool whole_zone;
1: + bool contended;
1: + bool rescan;
1: +};
1: +
1: +struct delayed_uprobe {
1: + struct list_head list;
1: + struct uprobe *uprobe;
1: + struct mm_struct___2 *mm;
1: +};
1: +
1: +struct map_info {
1: + struct map_info *next;
1: + struct mm_struct___2 *mm;
1: + long unsigned int vaddr;
1: +};
1: +
1: +struct static_key_mod {
1: + struct static_key_mod *next;
1: + struct jump_entry *entries;
1: + struct module___2 *mod;
1: +};
1: +
1: +struct static_key_deferred {
1: + struct static_key key;
1: + long unsigned int timeout;
1: + struct delayed_work work;
1: +};
1: +
1: +typedef void (*dr_release_t___2)(struct device___2 *, void *);
1: +
1: +typedef int (*dr_match_t___2)(struct device___2 *, void *, void *);
1: +
1: +enum rseq_cpu_id_state {
1: + RSEQ_CPU_ID_UNINITIALIZED = -1,
1: + RSEQ_CPU_ID_REGISTRATION_FAILED = -2,
1: +};
1: +
1: +enum rseq_flags {
1: + RSEQ_FLAG_UNREGISTER = 1,
1: +};
1: +
1: +enum rseq_cs_flags {
1: + RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT = 1,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL = 2,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE = 4,
1: +};
1: +
1: +struct rseq_cs {
1: + __u32 version;
1: + __u32 flags;
1: + __u64 start_ip;
1: + __u64 post_commit_offset;
1: + __u64 abort_ip;
1: +};
1: +
1: +struct trace_event_raw_rseq_update {
1: + struct trace_entry ent;
1: + s32 cpu_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rseq_ip_fixup {
1: + struct trace_entry ent;
1: + long unsigned int regs_ip;
1: + long unsigned int start_ip;
1: + long unsigned int post_commit_offset;
1: + long unsigned int abort_ip;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_rseq_update {};
1: +
1: +struct trace_event_data_offsets_rseq_ip_fixup {};
1: +
1: +struct __key_reference_with_attributes;
1: +
1: +typedef struct __key_reference_with_attributes *key_ref_t;
1: +
1: +enum key_being_used_for {
1: + VERIFYING_MODULE_SIGNATURE = 0,
1: + VERIFYING_FIRMWARE_SIGNATURE = 1,
1: + VERIFYING_KEXEC_PE_SIGNATURE = 2,
1: + VERIFYING_KEY_SIGNATURE = 3,
1: + VERIFYING_KEY_SELF_SIGNATURE = 4,
1: + VERIFYING_UNSPECIFIED_SIGNATURE = 5,
1: + NR__KEY_BEING_USED_FOR = 6,
1: +};
1: +
1: +struct key_preparsed_payload {
1: + char *description;
1: + union key_payload payload;
1: + const void *data;
1: + size_t datalen;
1: + size_t quotalen;
1: + time64_t expiry;
1: +};
1: +
1: +struct key_match_data {
1: + bool (*cmp)(const struct key *, const struct key_match_data *);
1: + const void *raw_data;
1: + void *preparsed;
1: + unsigned int lookup_type;
1: +};
1: +
1: +enum kernel_pkey_operation {
1: + kernel_pkey_encrypt = 0,
1: + kernel_pkey_decrypt = 1,
1: + kernel_pkey_sign = 2,
1: + kernel_pkey_verify = 3,
1: +};
1: +
1: +struct kernel_pkey_params {
1: + struct key *key;
1: + const char *encoding;
1: + const char *hash_algo;
1: + char *info;
1: + __u32 in_len;
1: + union {
1: + __u32 out_len;
1: + __u32 in2_len;
1: + };
1: + enum kernel_pkey_operation op: 8;
1: +};
1: +
1: +struct kernel_pkey_query {
1: + __u32 supported_ops;
1: + __u32 key_size;
1: + __u16 max_data_size;
1: + __u16 max_sig_size;
1: + __u16 max_enc_size;
1: + __u16 max_dec_size;
1: +};
1: +
1: +struct pkcs7_message;
1: +
1: +typedef struct pglist_data___2 pg_data_t___2;
1: +
1: +struct xa_node {
1: + unsigned char shift;
1: + unsigned char offset;
1: + unsigned char count;
1: + unsigned char nr_values;
1: + struct xa_node *parent;
1: + struct xarray *array;
1: + union {
1: + struct list_head private_list;
1: + struct callback_head callback_head;
1: + };
1: + void *slots[64];
1: + union {
1: + long unsigned int tags[3];
1: + long unsigned int marks[3];
1: + };
1: +};
1: +
1: +typedef void (*xa_update_node_t)(struct xa_node *);
1: +
1: +struct xa_state {
1: + struct xarray *xa;
1: + long unsigned int xa_index;
1: + unsigned char xa_shift;
1: + unsigned char xa_sibs;
1: + unsigned char xa_offset;
1: + unsigned char xa_pad;
1: + struct xa_node *xa_node;
1: + struct xa_node *xa_alloc;
1: + xa_update_node_t xa_update;
1: +};
1: +
1: +enum positive_aop_returns {
1: + AOP_WRITEPAGE_ACTIVATE = 524288,
1: + AOP_TRUNCATED_PAGE = 524289,
1: +};
1: +
1: +enum mapping_flags {
1: + AS_EIO = 0,
1: + AS_ENOSPC = 1,
1: + AS_MM_ALL_LOCKS = 2,
1: + AS_UNEVICTABLE = 3,
1: + AS_EXITING = 4,
1: + AS_NO_WRITEBACK_TAGS = 5,
1: +};
1: +
1: +enum iter_type {
1: + ITER_IOVEC = 4,
1: + ITER_KVEC = 8,
1: + ITER_BVEC = 16,
1: + ITER_PIPE = 32,
1: + ITER_DISCARD = 64,
1: +};
1: +
1: +struct pagevec {
1: + unsigned char nr;
1: + bool percpu_pvec_drained;
1: + struct page___2 *pages[15];
1: +};
1: +
1: +struct fid {
1: + union {
1: + struct {
1: + u32 ino;
1: + u32 gen;
1: + u32 parent_ino;
1: + u32 parent_gen;
1: + } i32;
1: + struct {
1: + u32 block;
1: + u16 partref;
1: + u16 parent_partref;
1: + u32 generation;
1: + u32 parent_block;
1: + u32 parent_generation;
1: + } udf;
1: + __u32 raw[0];
1: + };
1: +};
1: +
1: +struct trace_event_raw_mm_filemap_op_page_cache {
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + long unsigned int i_ino;
1: + long unsigned int index;
1: + dev_t s_dev;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_filemap_set_wb_err {
1: + struct trace_entry ent;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + errseq_t errseq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_file_check_and_advance_wb_err {
1: + struct trace_entry ent;
1: + struct file___2 *file;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + errseq_t old;
1: + errseq_t new;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_mm_filemap_op_page_cache {};
1: +
1: +struct trace_event_data_offsets_filemap_set_wb_err {};
1: +
1: +struct trace_event_data_offsets_file_check_and_advance_wb_err {};
1: +
1: +struct wait_page_key {
1: + struct page___2 *page;
1: + int bit_nr;
1: + int page_match;
1: +};
1: +
1: +struct wait_page_queue {
1: + struct page___2 *page;
1: + int bit_nr;
1: + wait_queue_entry_t wait;
1: +};
1: +
1: +enum behavior {
1: + EXCLUSIVE = 0,
1: + SHARED = 1,
1: + DROP = 2,
1: +};
1: +
1: +struct kmem_cache_order_objects {
1: + unsigned int x;
1: +};
1: +
1: +struct kmem_cache_cpu;
1: +
1: +struct kmem_cache_node;
1: +
1: +struct kmem_cache {
1: + struct kmem_cache_cpu *cpu_slab;
1: + slab_flags_t flags;
1: + long unsigned int min_partial;
1: + unsigned int size;
1: + unsigned int object_size;
1: + unsigned int offset;
1: + unsigned int cpu_partial;
1: + struct kmem_cache_order_objects oo;
1: + struct kmem_cache_order_objects max;
1: + struct kmem_cache_order_objects min;
1: + gfp_t allocflags;
1: + int refcount;
1: + void (*ctor)(void *);
1: + unsigned int inuse;
1: + unsigned int align;
1: + unsigned int red_left_pad;
1: + const char *name;
1: + struct list_head list;
1: + struct kobject kobj;
1: + struct work_struct kobj_remove_work;
1: + unsigned int remote_node_defrag_ratio;
1: + unsigned int useroffset;
1: + unsigned int usersize;
1: + struct kmem_cache_node *node[64];
1: +};
1: +
1: +struct kmem_cache_cpu {
1: + void **freelist;
1: + long unsigned int tid;
1: + struct page___2 *page;
1: + struct page___2 *partial;
1: +};
1: +
1: +struct kmem_cache_node {
1: + spinlock_t list_lock;
1: + long unsigned int nr_partial;
1: + struct list_head partial;
1: + atomic_long_t nr_slabs;
1: + atomic_long_t total_objects;
1: + struct list_head full;
1: +};
1: +
1: +struct zap_details {
1: + struct address_space___2 *check_mapping;
1: + long unsigned int first_index;
1: + long unsigned int last_index;
1: +};
1: +
1: +enum oom_constraint {
1: + CONSTRAINT_NONE = 0,
1: + CONSTRAINT_CPUSET = 1,
1: + CONSTRAINT_MEMORY_POLICY = 2,
1: + CONSTRAINT_MEMCG = 3,
1: +};
1: +
1: +struct oom_control {
1: + struct zonelist___2 *zonelist;
1: + nodemask_t *nodemask;
1: + struct mem_cgroup *memcg;
1: + const gfp_t gfp_mask;
1: + const int order;
1: + long unsigned int totalpages;
1: + struct task_struct___2 *chosen;
1: + long unsigned int chosen_points;
1: + enum oom_constraint constraint;
1: +};
1: +
1: +enum memcg_memory_event {
1: + MEMCG_LOW = 0,
1: + MEMCG_HIGH = 1,
1: + MEMCG_MAX = 2,
1: + MEMCG_OOM = 3,
1: + MEMCG_OOM_KILL = 4,
1: + MEMCG_SWAP_MAX = 5,
1: + MEMCG_SWAP_FAIL = 6,
1: + MEMCG_NR_MEMORY_EVENTS = 7,
1: +};
1: +
1: +enum compact_priority {
1: + COMPACT_PRIO_SYNC_FULL = 0,
1: + MIN_COMPACT_PRIORITY = 0,
1: + COMPACT_PRIO_SYNC_LIGHT = 1,
1: + MIN_COMPACT_COSTLY_PRIORITY = 1,
1: + DEF_COMPACT_PRIORITY = 1,
1: + COMPACT_PRIO_ASYNC = 2,
1: + INIT_COMPACT_PRIORITY = 2,
1: +};
1: +
1: +enum compact_result {
1: + COMPACT_NOT_SUITABLE_ZONE = 0,
1: + COMPACT_SKIPPED = 1,
1: + COMPACT_DEFERRED = 2,
1: + COMPACT_INACTIVE = 2,
1: + COMPACT_NO_SUITABLE_PAGE = 3,
1: + COMPACT_CONTINUE = 4,
1: + COMPACT_COMPLETE = 5,
1: + COMPACT_PARTIAL_SKIPPED = 6,
1: + COMPACT_CONTENDED = 7,
1: + COMPACT_SUCCESS = 8,
1: +};
1: +
1: +struct trace_event_raw_oom_score_adj_update {
1: + struct trace_entry ent;
1: + pid_t pid;
1: + char comm[16];
1: + short int oom_score_adj;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_reclaim_retry_zone {
1: + struct trace_entry ent;
1: + int node;
1: + int zone_idx;
1: + int order;
1: + long unsigned int reclaimable;
1: + long unsigned int available;
1: + long unsigned int min_wmark;
1: + int no_progress_loops;
1: + bool wmark_check;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mark_victim {
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wake_reaper {
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_start_task_reaping {
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_finish_task_reaping {
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_skip_task_reaping {
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_compact_retry {
1: + struct trace_entry ent;
1: + int order;
1: + int priority;
1: + int result;
1: + int retries;
1: + int max_retries;
1: + bool ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_oom_score_adj_update {};
1: +
1: +struct trace_event_data_offsets_reclaim_retry_zone {};
1: +
1: +struct trace_event_data_offsets_mark_victim {};
1: +
1: +struct trace_event_data_offsets_wake_reaper {};
1: +
1: +struct trace_event_data_offsets_start_task_reaping {};
1: +
1: +struct trace_event_data_offsets_finish_task_reaping {};
1: +
1: +struct trace_event_data_offsets_skip_task_reaping {};
1: +
1: +struct trace_event_data_offsets_compact_retry {};
1: +
1: +enum wb_congested_state {
1: + WB_async_congested = 0,
1: + WB_sync_congested = 1,
1: +};
1: +
1: +typedef void (*poll_queue_proc___3)(struct file___2 *, wait_queue_head_t *, struct poll_table_struct *);
1: +
1: +enum {
1: + XA_CHECK_SCHED = 4096,
1: +};
1: +
1: +struct fprop_global {
1: + struct percpu_counter events;
1: + unsigned int period;
1: + seqcount_t sequence;
1: +};
1: +
1: +enum wb_state {
1: + WB_registered = 0,
1: + WB_writeback_running = 1,
1: + WB_has_dirty_io = 2,
1: + WB_start_all = 3,
1: +};
1: +
1: +enum {
1: + BLK_RW_ASYNC = 0,
1: + BLK_RW_SYNC = 1,
1: +};
1: +
1: +struct wb_lock_cookie {
1: + bool locked;
1: + long unsigned int flags;
1: +};
1: +
1: +struct wb_domain {
1: + spinlock_t lock;
1: + struct fprop_global completions;
1: + struct timer_list period_timer;
1: + long unsigned int period_time;
1: + long unsigned int dirty_limit_tstamp;
1: + long unsigned int dirty_limit;
1: +};
1: +
1: +typedef int (*writepage_t)(struct page___2 *, struct writeback_control *, void *);
1: +
1: +struct dirty_throttle_control {
1: + struct bdi_writeback *wb;
1: + struct fprop_local_percpu *wb_completions;
1: + long unsigned int avail;
1: + long unsigned int dirty;
1: + long unsigned int thresh;
1: + long unsigned int bg_thresh;
1: + long unsigned int wb_dirty;
1: + long unsigned int wb_thresh;
1: + long unsigned int wb_bg_thresh;
1: + long unsigned int pos_ratio;
1: +};
1: +
1: +struct trace_event_raw_mm_lru_insertion {
1: + struct trace_entry ent;
1: + struct page___2 *page;
1: + long unsigned int pfn;
1: + int lru;
1: + long unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_lru_activate {
1: + struct trace_entry ent;
1: + struct page___2 *page;
1: + long unsigned int pfn;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_mm_lru_insertion {};
1: +
1: +struct trace_event_data_offsets_mm_lru_activate {};
1: +
1: +enum lruvec_flags {
1: + LRUVEC_CONGESTED = 0,
1: +};
1: +
1: +enum pgdat_flags {
1: + PGDAT_DIRTY = 0,
1: + PGDAT_WRITEBACK = 1,
1: + PGDAT_RECLAIM_LOCKED = 2,
1: +};
1: +
1: +struct reclaim_stat {
1: + unsigned int nr_dirty;
1: + unsigned int nr_unqueued_dirty;
1: + unsigned int nr_congested;
1: + unsigned int nr_writeback;
1: + unsigned int nr_immediate;
1: + unsigned int nr_activate[2];
1: + unsigned int nr_ref_keep;
1: + unsigned int nr_unmap_fail;
1: +};
1: +
1: +enum mem_cgroup_protection {
1: + MEMCG_PROT_NONE = 0,
1: + MEMCG_PROT_LOW = 1,
1: + MEMCG_PROT_MIN = 2,
1: +};
1: +
1: +struct mem_cgroup_reclaim_cookie {
1: + pg_data_t___2 *pgdat;
1: + unsigned int generation;
1: +};
1: +
1: +enum ttu_flags {
1: + TTU_MIGRATION = 1,
1: + TTU_MUNLOCK = 2,
1: + TTU_SPLIT_HUGE_PMD = 4,
1: + TTU_IGNORE_MLOCK = 8,
1: + TTU_IGNORE_ACCESS = 16,
1: + TTU_IGNORE_HWPOISON = 32,
1: + TTU_BATCH_FLUSH = 64,
1: + TTU_RMAP_LOCKED = 128,
1: + TTU_SPLIT_FREEZE = 256,
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_kswapd_sleep {
1: + struct trace_entry ent;
1: + int nid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_kswapd_wake {
1: + struct trace_entry ent;
1: + int nid;
1: + int zid;
1: + int order;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_wakeup_kswapd {
1: + struct trace_entry ent;
1: + int nid;
1: + int zid;
1: + int order;
1: + gfp_t gfp_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_direct_reclaim_begin_template {
1: + struct trace_entry ent;
1: + int order;
1: + gfp_t gfp_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_direct_reclaim_end_template {
1: + struct trace_entry ent;
1: + long unsigned int nr_reclaimed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_shrink_slab_start {
1: + struct trace_entry ent;
1: + struct shrinker *shr;
1: + void *shrink;
1: + int nid;
1: + long int nr_objects_to_shrink;
1: + gfp_t gfp_flags;
1: + long unsigned int cache_items;
1: + long long unsigned int delta;
1: + long unsigned int total_scan;
1: + int priority;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_shrink_slab_end {
1: + struct trace_entry ent;
1: + struct shrinker *shr;
1: + int nid;
1: + void *shrink;
1: + long int unused_scan;
1: + long int new_scan;
1: + int retval;
1: + long int total_scan;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_lru_isolate {
1: + struct trace_entry ent;
1: + int classzone_idx;
1: + int order;
1: + long unsigned int nr_requested;
1: + long unsigned int nr_scanned;
1: + long unsigned int nr_skipped;
1: + long unsigned int nr_taken;
1: + isolate_mode_t isolate_mode;
1: + int lru;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_writepage {
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + int reclaim_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_lru_shrink_inactive {
1: + struct trace_entry ent;
1: + int nid;
1: + long unsigned int nr_scanned;
1: + long unsigned int nr_reclaimed;
1: + long unsigned int nr_dirty;
1: + long unsigned int nr_writeback;
1: + long unsigned int nr_congested;
1: + long unsigned int nr_immediate;
1: + unsigned int nr_activate0;
1: + unsigned int nr_activate1;
1: + long unsigned int nr_ref_keep;
1: + long unsigned int nr_unmap_fail;
1: + int priority;
1: + int reclaim_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_lru_shrink_active {
1: + struct trace_entry ent;
1: + int nid;
1: + long unsigned int nr_taken;
1: + long unsigned int nr_active;
1: + long unsigned int nr_deactivated;
1: + long unsigned int nr_referenced;
1: + int priority;
1: + int reclaim_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_inactive_list_is_low {
1: + struct trace_entry ent;
1: + int nid;
1: + int reclaim_idx;
1: + long unsigned int total_inactive;
1: + long unsigned int inactive;
1: + long unsigned int total_active;
1: + long unsigned int active;
1: + long unsigned int ratio;
1: + int reclaim_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_vmscan_node_reclaim_begin {
1: + struct trace_entry ent;
1: + int nid;
1: + int order;
1: + gfp_t gfp_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_kswapd_sleep {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_kswapd_wake {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_wakeup_kswapd {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_direct_reclaim_begin_template {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_direct_reclaim_end_template {};
1: +
1: +struct trace_event_data_offsets_mm_shrink_slab_start {};
1: +
1: +struct trace_event_data_offsets_mm_shrink_slab_end {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_lru_isolate {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_writepage {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_lru_shrink_inactive {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_lru_shrink_active {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_inactive_list_is_low {};
1: +
1: +struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {};
1: +
1: +struct scan_control {
1: + long unsigned int nr_to_reclaim;
1: + nodemask_t *nodemask;
1: + struct mem_cgroup *target_mem_cgroup;
1: + unsigned int may_deactivate: 2;
1: + unsigned int force_deactivate: 1;
1: + unsigned int skipped_deactivate: 1;
1: + unsigned int may_writepage: 1;
1: + unsigned int may_unmap: 1;
1: + unsigned int may_swap: 1;
1: + unsigned int memcg_low_reclaim: 1;
1: + unsigned int memcg_low_skipped: 1;
1: + unsigned int hibernation_mode: 1;
1: + unsigned int compaction_ready: 1;
1: + unsigned int cache_trim_mode: 1;
1: + unsigned int file_is_tiny: 1;
1: + s8 order;
1: + s8 priority;
1: + s8 reclaim_idx;
1: + gfp_t gfp_mask;
1: + long unsigned int nr_scanned;
1: + long unsigned int nr_reclaimed;
1: + struct {
1: + unsigned int dirty;
1: + unsigned int unqueued_dirty;
1: + unsigned int congested;
1: + unsigned int writeback;
1: + unsigned int immediate;
1: + unsigned int file_taken;
1: + unsigned int taken;
1: + } nr;
1: + struct reclaim_state reclaim_state;
1: +};
1: +
1: +typedef enum {
1: + PAGE_KEEP = 0,
1: + PAGE_ACTIVATE = 1,
1: + PAGE_SUCCESS = 2,
1: + PAGE_CLEAN = 3,
1: +} pageout_t;
1: +
1: +enum page_references {
1: + PAGEREF_RECLAIM = 0,
1: + PAGEREF_RECLAIM_CLEAN = 1,
1: + PAGEREF_KEEP = 2,
1: + PAGEREF_ACTIVATE = 3,
1: +};
1: +
1: +enum scan_balance {
1: + SCAN_EQUAL = 0,
1: + SCAN_FRACT = 1,
1: + SCAN_ANON = 2,
1: + SCAN_FILE = 3,
1: +};
1: +
1: +enum {
1: + MPOL_DEFAULT = 0,
1: + MPOL_PREFERRED = 1,
1: + MPOL_BIND = 2,
1: + MPOL_INTERLEAVE = 3,
1: + MPOL_LOCAL = 4,
1: + MPOL_MAX = 5,
1: +};
1: +
1: +struct shared_policy {
1: + struct rb_root root;
1: + rwlock_t lock;
1: +};
1: +
1: +struct xattr;
1: +
1: +typedef int (*initxattrs)(struct inode___2 *, const struct xattr *, void *);
1: +
1: +struct xattr {
1: + const char *name;
1: + void *value;
1: + size_t value_len;
1: +};
1: +
1: +struct simple_xattrs {
1: + struct list_head head;
1: + spinlock_t lock;
1: +};
1: +
1: +struct simple_xattr {
1: + struct list_head list;
1: + char *name;
1: + size_t size;
1: + char value[0];
1: +};
1: +
1: +enum fid_type {
1: + FILEID_ROOT = 0,
1: + FILEID_INO32_GEN = 1,
1: + FILEID_INO32_GEN_PARENT = 2,
1: + FILEID_BTRFS_WITHOUT_PARENT = 77,
1: + FILEID_BTRFS_WITH_PARENT = 78,
1: + FILEID_BTRFS_WITH_PARENT_ROOT = 79,
1: + FILEID_UDF_WITHOUT_PARENT = 81,
1: + FILEID_UDF_WITH_PARENT = 82,
1: + FILEID_NILFS_WITHOUT_PARENT = 97,
1: + FILEID_NILFS_WITH_PARENT = 98,
1: + FILEID_FAT_WITHOUT_PARENT = 113,
1: + FILEID_FAT_WITH_PARENT = 114,
1: + FILEID_LUSTRE = 151,
1: + FILEID_KERNFS = 254,
1: + FILEID_INVALID = 255,
1: +};
1: +
1: +struct shmem_inode_info {
1: + spinlock_t lock;
1: + unsigned int seals;
1: + long unsigned int flags;
1: + long unsigned int alloced;
1: + long unsigned int swapped;
1: + struct list_head shrinklist;
1: + struct list_head swaplist;
1: + struct shared_policy policy;
1: + struct simple_xattrs xattrs;
1: + atomic_t stop_eviction;
1: + struct inode___2 vfs_inode;
1: +};
1: +
1: +struct shmem_sb_info {
1: + long unsigned int max_blocks;
1: + struct percpu_counter used_blocks;
1: + long unsigned int max_inodes;
1: + long unsigned int free_inodes;
1: + spinlock_t stat_lock;
1: + umode_t mode;
1: + unsigned char huge;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct mempolicy *mpol;
1: + spinlock_t shrinklist_lock;
1: + struct list_head shrinklist;
1: + long unsigned int shrinklist_len;
1: +};
1: +
1: +enum sgp_type {
1: + SGP_READ = 0,
1: + SGP_CACHE = 1,
1: + SGP_NOHUGE = 2,
1: + SGP_HUGE = 3,
1: + SGP_WRITE = 4,
1: + SGP_FALLOC = 5,
1: +};
1: +
1: +typedef void (*poll_queue_proc___4)(struct file *, wait_queue_head_t *, struct poll_table_struct___2 *);
1: +
1: +struct shmem_falloc {
1: + wait_queue_head_t *waitq;
1: + long unsigned int start;
1: + long unsigned int next;
1: + long unsigned int nr_falloced;
1: + long unsigned int nr_unswapped;
1: +};
1: +
1: +struct shmem_options {
1: + long long unsigned int blocks;
1: + long long unsigned int inodes;
1: + struct mempolicy *mpol;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: + int huge;
1: + int seen;
1: +};
1: +
1: +enum shmem_param {
1: + Opt_gid = 0,
1: + Opt_huge = 1,
1: + Opt_mode = 2,
1: + Opt_mpol = 3,
1: + Opt_nr_blocks = 4,
1: + Opt_nr_inodes = 5,
1: + Opt_size = 6,
1: + Opt_uid = 7,
1: +};
1: +
1: +enum pageblock_bits {
1: + PB_migrate = 0,
1: + PB_migrate_end = 2,
1: + PB_migrate_skip = 3,
1: + NR_PAGEBLOCK_BITS = 4,
1: +};
1: +
1: +enum writeback_stat_item {
1: + NR_DIRTY_THRESHOLD = 0,
1: + NR_DIRTY_BG_THRESHOLD = 1,
1: + NR_VM_WRITEBACK_STAT_ITEMS = 2,
1: +};
1: +
1: +struct contig_page_info {
1: + long unsigned int free_pages;
1: + long unsigned int free_blocks_total;
1: + long unsigned int free_blocks_suitable;
1: +};
1: +
1: +enum mminit_level {
1: + MMINIT_WARNING = 0,
1: + MMINIT_VERIFY = 1,
1: + MMINIT_TRACE = 2,
1: +};
1: +
1: +struct pcpu_group_info {
1: + int nr_units;
1: + long unsigned int base_offset;
1: + unsigned int *cpu_map;
1: +};
1: +
1: +struct pcpu_alloc_info {
1: + size_t static_size;
1: + size_t reserved_size;
1: + size_t dyn_size;
1: + size_t unit_size;
1: + size_t atom_size;
1: + size_t alloc_size;
1: + size_t __ai_size;
1: + int nr_groups;
1: + struct pcpu_group_info groups[0];
1: +};
1: +
1: +struct trace_event_raw_percpu_alloc_percpu {
1: + struct trace_entry ent;
1: + bool reserved;
1: + bool is_atomic;
1: + size_t size;
1: + size_t align;
1: + void *base_addr;
1: + int off;
1: + void *ptr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_percpu_free_percpu {
1: + struct trace_entry ent;
1: + void *base_addr;
1: + int off;
1: + void *ptr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_percpu_alloc_percpu_fail {
1: + struct trace_entry ent;
1: + bool reserved;
1: + bool is_atomic;
1: + size_t size;
1: + size_t align;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_percpu_create_chunk {
1: + struct trace_entry ent;
1: + void *base_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_percpu_destroy_chunk {
1: + struct trace_entry ent;
1: + void *base_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_percpu_alloc_percpu {};
1: +
1: +struct trace_event_data_offsets_percpu_free_percpu {};
1: +
1: +struct trace_event_data_offsets_percpu_alloc_percpu_fail {};
1: +
1: +struct trace_event_data_offsets_percpu_create_chunk {};
1: +
1: +struct trace_event_data_offsets_percpu_destroy_chunk {};
1: +
1: +struct pcpu_block_md {
1: + int scan_hint;
1: + int scan_hint_start;
1: + int contig_hint;
1: + int contig_hint_start;
1: + int left_free;
1: + int right_free;
1: + int first_free;
1: + int nr_bits;
1: +};
1: +
1: +struct pcpu_chunk {
1: + struct list_head list;
1: + int free_bytes;
1: + struct pcpu_block_md chunk_md;
1: + void *base_addr;
1: + long unsigned int *alloc_map;
1: + long unsigned int *bound_map;
1: + struct pcpu_block_md *md_blocks;
1: + void *data;
1: + bool immutable;
1: + int start_offset;
1: + int end_offset;
1: + int nr_pages;
1: + int nr_populated;
1: + int nr_empty_pop_pages;
1: + long unsigned int populated[0];
1: +};
1: +
1: +struct trace_event_raw_kmem_alloc {
1: + struct trace_entry ent;
1: + long unsigned int call_site;
1: + const void *ptr;
1: + size_t bytes_req;
1: + size_t bytes_alloc;
1: + gfp_t gfp_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_kmem_alloc_node {
1: + struct trace_entry ent;
1: + long unsigned int call_site;
1: + const void *ptr;
1: + size_t bytes_req;
1: + size_t bytes_alloc;
1: + gfp_t gfp_flags;
1: + int node;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_kmem_free {
1: + struct trace_entry ent;
1: + long unsigned int call_site;
1: + const void *ptr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_page_free {
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + unsigned int order;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_page_free_batched {
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_page_alloc {
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + unsigned int order;
1: + gfp_t gfp_flags;
1: + int migratetype;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_page {
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + unsigned int order;
1: + int migratetype;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_page_pcpu_drain {
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + unsigned int order;
1: + int migratetype;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_page_alloc_extfrag {
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + int alloc_order;
1: + int fallback_order;
1: + int alloc_migratetype;
1: + int fallback_migratetype;
1: + int change_ownership;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rss_stat {
1: + struct trace_entry ent;
1: + unsigned int mm_id;
1: + unsigned int curr;
1: + int member;
1: + long int size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_kmem_alloc {};
1: +
1: +struct trace_event_data_offsets_kmem_alloc_node {};
1: +
1: +struct trace_event_data_offsets_kmem_free {};
1: +
1: +struct trace_event_data_offsets_mm_page_free {};
1: +
1: +struct trace_event_data_offsets_mm_page_free_batched {};
1: +
1: +struct trace_event_data_offsets_mm_page_alloc {};
1: +
1: +struct trace_event_data_offsets_mm_page {};
1: +
1: +struct trace_event_data_offsets_mm_page_pcpu_drain {};
1: +
1: +struct trace_event_data_offsets_mm_page_alloc_extfrag {};
1: +
1: +struct trace_event_data_offsets_rss_stat {};
1: +
1: +enum slab_state {
1: + DOWN = 0,
1: + PARTIAL = 1,
1: + PARTIAL_NODE = 2,
1: + UP = 3,
1: + FULL = 4,
1: +};
1: +
1: +struct kmalloc_info_struct {
1: + const char *name[3];
1: + unsigned int size;
1: +};
1: +
1: +struct slabinfo {
1: + long unsigned int active_objs;
1: + long unsigned int num_objs;
1: + long unsigned int active_slabs;
1: + long unsigned int num_slabs;
1: + long unsigned int shared_avail;
1: + unsigned int limit;
1: + unsigned int batchcount;
1: + unsigned int shared;
1: + unsigned int objects_per_slab;
1: + unsigned int cache_order;
1: +};
1: +
1: +struct node___2 {
1: + struct device dev;
1: + struct list_head access_list;
1: +};
1: +
1: +typedef struct page___2 *new_page_t(struct page___2 *, long unsigned int);
1: +
1: +typedef void free_page_t(struct page___2 *, long unsigned int);
1: +
1: +struct alloc_context {
1: + struct zonelist___2 *zonelist;
1: + nodemask_t *nodemask;
1: + struct zoneref___2 *preferred_zoneref;
1: + int migratetype;
1: + enum zone_type high_zoneidx;
1: + bool spread_dirty_pages;
1: +};
1: +
1: +struct trace_event_raw_mm_compaction_isolate_template {
1: + struct trace_entry ent;
1: + long unsigned int start_pfn;
1: + long unsigned int end_pfn;
1: + long unsigned int nr_scanned;
1: + long unsigned int nr_taken;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_compaction_migratepages {
1: + struct trace_entry ent;
1: + long unsigned int nr_migrated;
1: + long unsigned int nr_failed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_compaction_begin {
1: + struct trace_entry ent;
1: + long unsigned int zone_start;
1: + long unsigned int migrate_pfn;
1: + long unsigned int free_pfn;
1: + long unsigned int zone_end;
1: + bool sync;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_compaction_end {
1: + struct trace_entry ent;
1: + long unsigned int zone_start;
1: + long unsigned int migrate_pfn;
1: + long unsigned int free_pfn;
1: + long unsigned int zone_end;
1: + bool sync;
1: + int status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_compaction_try_to_compact_pages {
1: + struct trace_entry ent;
1: + int order;
1: + gfp_t gfp_mask;
1: + int prio;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_compaction_suitable_template {
1: + struct trace_entry ent;
1: + int nid;
1: + enum zone_type idx;
1: + int order;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_compaction_defer_template {
1: + struct trace_entry ent;
1: + int nid;
1: + enum zone_type idx;
1: + int order;
1: + unsigned int considered;
1: + unsigned int defer_shift;
1: + int order_failed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mm_compaction_kcompactd_sleep {
1: + struct trace_entry ent;
1: + int nid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_kcompactd_wake_template {
1: + struct trace_entry ent;
1: + int nid;
1: + int order;
1: + enum zone_type classzone_idx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_mm_compaction_isolate_template {};
1: +
1: +struct trace_event_data_offsets_mm_compaction_migratepages {};
1: +
1: +struct trace_event_data_offsets_mm_compaction_begin {};
1: +
1: +struct trace_event_data_offsets_mm_compaction_end {};
1: +
1: +struct trace_event_data_offsets_mm_compaction_try_to_compact_pages {};
1: +
1: +struct trace_event_data_offsets_mm_compaction_suitable_template {};
1: +
1: +struct trace_event_data_offsets_mm_compaction_defer_template {};
1: +
1: +struct trace_event_data_offsets_mm_compaction_kcompactd_sleep {};
1: +
1: +struct trace_event_data_offsets_kcompactd_wake_template {};
1: +
1: +typedef enum {
1: + ISOLATE_ABORT = 0,
1: + ISOLATE_NONE = 1,
1: + ISOLATE_SUCCESS = 2,
1: +} isolate_migrate_t;
1: +
1: +struct anon_vma_chain {
1: + struct vm_area_struct___2 *vma;
1: + struct anon_vma *anon_vma;
1: + struct list_head same_vma;
1: + struct rb_node rb;
1: + long unsigned int rb_subtree_last;
1: +};
1: +
1: +enum lru_status {
1: + LRU_REMOVED = 0,
1: + LRU_REMOVED_RETRY = 1,
1: + LRU_ROTATE = 2,
1: + LRU_SKIP = 3,
1: + LRU_RETRY = 4,
1: +};
1: +
1: +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *);
1: +
1: +typedef struct {
1: + long unsigned int pd;
1: +} hugepd_t;
1: +
1: +struct follow_page_context {
1: + struct dev_pagemap *pgmap;
1: + unsigned int page_mask;
1: +};
1: +
1: +typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *);
1: +
1: +enum {
1: + SWP_USED = 1,
1: + SWP_WRITEOK = 2,
1: + SWP_DISCARDABLE = 4,
1: + SWP_DISCARDING = 8,
1: + SWP_SOLIDSTATE = 16,
1: + SWP_CONTINUED = 32,
1: + SWP_BLKDEV = 64,
1: + SWP_ACTIVATED = 128,
1: + SWP_FS = 256,
1: + SWP_AREA_DISCARD = 512,
1: + SWP_PAGE_DISCARD = 1024,
1: + SWP_STABLE_WRITES = 2048,
1: + SWP_SYNCHRONOUS_IO = 4096,
1: + SWP_VALID = 8192,
1: + SWP_SCANNING = 16384,
1: +};
1: +
1: +struct copy_subpage_arg {
1: + struct page___2 *dst;
1: + struct page___2 *src;
1: + struct vm_area_struct___2 *vma;
1: +};
1: +
1: +struct mm_walk;
1: +
1: +struct mm_walk_ops {
1: + int (*pud_entry)(pud_t *, long unsigned int, long unsigned int, struct mm_walk *);
1: + int (*pmd_entry)(pmd_t *, long unsigned int, long unsigned int, struct mm_walk *);
1: + int (*pte_entry)(pte_t *, long unsigned int, long unsigned int, struct mm_walk *);
1: + int (*pte_hole)(long unsigned int, long unsigned int, struct mm_walk *);
1: + int (*hugetlb_entry)(pte_t *, long unsigned int, long unsigned int, long unsigned int, struct mm_walk *);
1: + int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *);
1: + int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *);
1: + void (*post_vma)(struct mm_walk *);
1: +};
1: +
1: +struct mm_walk {
1: + const struct mm_walk_ops *ops;
1: + struct mm_struct___2 *mm;
1: + struct vm_area_struct___2 *vma;
1: + void *private;
1: +};
1: +
1: +enum {
1: + HUGETLB_SHMFS_INODE = 1,
1: + HUGETLB_ANONHUGE_INODE = 2,
1: +};
1: +
1: +struct rmap_walk_control {
1: + void *arg;
1: + bool (*rmap_one)(struct page___2 *, struct vm_area_struct___2 *, long unsigned int, void *);
1: + int (*done)(struct page___2 *);
1: + struct anon_vma * (*anon_lock)(struct page___2 *);
1: + bool (*invalid_vma)(struct vm_area_struct___2 *, void *);
1: +};
1: +
1: +struct page_referenced_arg {
1: + int mapcount;
1: + int referenced;
1: + long unsigned int vm_flags;
1: + struct mem_cgroup *memcg;
1: +};
1: +
1: +struct vmap_area {
1: + long unsigned int va_start;
1: + long unsigned int va_end;
1: + struct rb_node rb_node;
1: + struct list_head list;
1: + union {
1: + long unsigned int subtree_max_size;
1: + struct vm_struct *vm;
1: + struct llist_node purge_list;
1: + };
1: +};
1: +
1: +struct vfree_deferred {
1: + struct llist_head list;
1: + struct work_struct wq;
1: +};
1: +
1: +enum fit_type {
1: + NOTHING_FIT = 0,
1: + FL_FIT_TYPE = 1,
1: + LE_FIT_TYPE = 2,
1: + RE_FIT_TYPE = 3,
1: + NE_FIT_TYPE = 4,
1: +};
1: +
1: +struct vmap_block_queue {
1: + spinlock_t lock;
1: + struct list_head free;
1: +};
1: +
1: +struct vmap_block {
1: + spinlock_t lock;
1: + struct vmap_area *va;
1: + long unsigned int free;
1: + long unsigned int dirty;
1: + long unsigned int dirty_min;
1: + long unsigned int dirty_max;
1: + struct list_head free_list;
1: + struct callback_head callback_head;
1: + struct list_head purge;
1: +};
1: +
1: +struct page_frag_cache {
1: + void *va;
1: + __u16 offset;
1: + __u16 size;
1: + unsigned int pagecnt_bias;
1: + bool pfmemalloc;
1: +};
1: +
1: +enum zone_flags {
1: + ZONE_BOOSTED_WATERMARK = 0,
1: +};
1: +
1: +enum memmap_context {
1: + MEMMAP_EARLY = 0,
1: + MEMMAP_HOTPLUG = 1,
1: +};
1: +
1: +struct mminit_pfnnid_cache {
1: + long unsigned int last_start;
1: + long unsigned int last_end;
1: + int last_nid;
1: +};
1: +
1: +struct pcpu_drain {
1: + struct zone___2 *zone;
1: + struct work_struct work;
1: +};
1: +
1: +struct madvise_walk_private {
1: + struct mmu_gather *tlb;
1: + bool pageout;
1: +};
1: +
1: +struct vma_swap_readahead {
1: + short unsigned int win;
1: + short unsigned int offset;
1: + short unsigned int nr_pte;
1: + pte_t *ptes;
1: +};
1: +
1: +union swap_header {
1: + struct {
1: + char reserved[4086];
1: + char magic[10];
1: + } magic;
1: + struct {
1: + char bootbits[1024];
1: + __u32 version;
1: + __u32 last_page;
1: + __u32 nr_badpages;
1: + unsigned char sws_uuid[16];
1: + unsigned char sws_volume[16];
1: + __u32 padding[117];
1: + __u32 badpages[1];
1: + } info;
1: +};
1: +
1: +struct swap_extent {
1: + struct rb_node rb_node;
1: + long unsigned int start_page;
1: + long unsigned int nr_pages;
1: + sector_t start_block;
1: +};
1: +
1: +struct swap_slots_cache {
1: + bool lock_initialized;
1: + struct mutex alloc_lock;
1: + swp_entry_t *slots;
1: + int nr;
1: + int cur;
1: + spinlock_t free_lock;
1: + swp_entry_t *slots_ret;
1: + int n_ret;
1: +};
1: +
1: +struct dma_pool {
1: + struct list_head page_list;
1: + spinlock_t lock;
1: + size_t size;
1: + struct device___2 *dev;
1: + size_t allocation;
1: + size_t boundary;
1: + char name[32];
1: + struct list_head pools;
1: +};
1: +
1: +struct dma_page {
1: + struct list_head page_list;
1: + void *vaddr;
1: + dma_addr_t dma;
1: + unsigned int in_use;
1: + unsigned int offset;
1: +};
1: +
1: +enum string_size_units {
1: + STRING_UNITS_10 = 0,
1: + STRING_UNITS_2 = 1,
1: +};
1: +
1: +typedef void (*node_registration_func_t)(struct node___2 *);
1: +
1: +struct resv_map {
1: + struct kref refs;
1: + spinlock_t lock;
1: + struct list_head regions;
1: + long int adds_in_progress;
1: + struct list_head region_cache;
1: + long int region_cache_count;
1: +};
1: +
1: +struct huge_bootmem_page {
1: + struct list_head list;
1: + struct hstate *hstate;
1: +};
1: +
1: +struct file_region {
1: + struct list_head link;
1: + long int from;
1: + long int to;
1: +};
1: +
1: +enum vma_resv_mode {
1: + VMA_NEEDS_RESV = 0,
1: + VMA_COMMIT_RESV = 1,
1: + VMA_END_RESV = 2,
1: + VMA_ADD_RESV = 3,
1: +};
1: +
1: +struct node_hstate {
1: + struct kobject *hugepages_kobj;
1: + struct kobject *hstate_kobjs[2];
1: +};
1: +
1: +struct hugetlb_cgroup;
1: +
1: +struct nodemask_scratch {
1: + nodemask_t mask1;
1: + nodemask_t mask2;
1: +};
1: +
1: +struct sp_node {
1: + struct rb_node nd;
1: + long unsigned int start;
1: + long unsigned int end;
1: + struct mempolicy *policy;
1: +};
1: +
1: +struct mempolicy_operations {
1: + int (*create)(struct mempolicy *, const nodemask_t *);
1: + void (*rebind)(struct mempolicy *, const nodemask_t *);
1: +};
1: +
1: +struct queue_pages {
1: + struct list_head *pagelist;
1: + long unsigned int flags;
1: + nodemask_t *nmask;
1: + long unsigned int start;
1: + long unsigned int end;
1: + struct vm_area_struct___2 *first;
1: +};
1: +
1: +struct mmu_notifier_mm {
1: + struct hlist_head list;
1: + bool has_itree;
1: + spinlock_t lock;
1: + long unsigned int invalidate_seq;
1: + long unsigned int active_invalidate_ranges;
1: + struct rb_root_cached itree;
1: + wait_queue_head_t wq;
1: + struct hlist_head deferred_list;
1: +};
1: +
1: +struct interval_tree_node {
1: + struct rb_node rb;
1: + long unsigned int start;
1: + long unsigned int last;
1: + long unsigned int __subtree_last;
1: +};
1: +
1: +struct mmu_notifier;
1: +
1: +struct mmu_notifier_ops {
1: + void (*release)(struct mmu_notifier *, struct mm_struct___2 *);
1: + int (*clear_flush_young)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int, long unsigned int);
1: + int (*clear_young)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int, long unsigned int);
1: + int (*test_young)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int);
1: + void (*change_pte)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int, pte_t);
1: + int (*invalidate_range_start)(struct mmu_notifier *, const struct mmu_notifier_range *);
1: + void (*invalidate_range_end)(struct mmu_notifier *, const struct mmu_notifier_range *);
1: + void (*invalidate_range)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int, long unsigned int);
1: + struct mmu_notifier * (*alloc_notifier)(struct mm_struct___2 *);
1: + void (*free_notifier)(struct mmu_notifier *);
1: +};
1: +
1: +struct mmu_notifier {
1: + struct hlist_node hlist;
1: + const struct mmu_notifier_ops *ops;
1: + struct mm_struct___2 *mm;
1: + struct callback_head rcu;
1: + unsigned int users;
1: +};
1: +
1: +struct mmu_interval_notifier;
1: +
1: +struct mmu_interval_notifier_ops {
1: + bool (*invalidate)(struct mmu_interval_notifier *, const struct mmu_notifier_range *, long unsigned int);
1: +};
1: +
1: +struct mmu_interval_notifier {
1: + struct interval_tree_node interval_tree;
1: + const struct mmu_interval_notifier_ops *ops;
1: + struct mm_struct___2 *mm;
1: + struct hlist_node deferred_item;
1: + long unsigned int invalidate_seq;
1: +};
1: +
1: +enum stat_item {
1: + ALLOC_FASTPATH = 0,
1: + ALLOC_SLOWPATH = 1,
1: + FREE_FASTPATH = 2,
1: + FREE_SLOWPATH = 3,
1: + FREE_FROZEN = 4,
1: + FREE_ADD_PARTIAL = 5,
1: + FREE_REMOVE_PARTIAL = 6,
1: + ALLOC_FROM_PARTIAL = 7,
1: + ALLOC_SLAB = 8,
1: + ALLOC_REFILL = 9,
1: + ALLOC_NODE_MISMATCH = 10,
1: + FREE_SLAB = 11,
1: + CPUSLAB_FLUSH = 12,
1: + DEACTIVATE_FULL = 13,
1: + DEACTIVATE_EMPTY = 14,
1: + DEACTIVATE_TO_HEAD = 15,
1: + DEACTIVATE_TO_TAIL = 16,
1: + DEACTIVATE_REMOTE_FREES = 17,
1: + DEACTIVATE_BYPASS = 18,
1: + ORDER_FALLBACK = 19,
1: + CMPXCHG_DOUBLE_CPU_FAIL = 20,
1: + CMPXCHG_DOUBLE_FAIL = 21,
1: + CPU_PARTIAL_ALLOC = 22,
1: + CPU_PARTIAL_FREE = 23,
1: + CPU_PARTIAL_NODE = 24,
1: + CPU_PARTIAL_DRAIN = 25,
1: + NR_SLUB_STAT_ITEMS = 26,
1: +};
1: +
1: +struct track {
1: + long unsigned int addr;
1: + long unsigned int addrs[16];
1: + int cpu;
1: + int pid;
1: + long unsigned int when;
1: +};
1: +
1: +enum track_item {
1: + TRACK_ALLOC = 0,
1: + TRACK_FREE = 1,
1: +};
1: +
1: +struct detached_freelist {
1: + struct page___2 *page;
1: + void *tail;
1: + void *freelist;
1: + int cnt;
1: + struct kmem_cache *s;
1: +};
1: +
1: +struct location {
1: + long unsigned int count;
1: + long unsigned int addr;
1: + long long int sum_time;
1: + long int min_time;
1: + long int max_time;
1: + long int min_pid;
1: + long int max_pid;
1: + long unsigned int cpus[1];
1: + nodemask_t nodes;
1: +};
1: +
1: +struct loc_track {
1: + long unsigned int max;
1: + long unsigned int count;
1: + struct location *loc;
1: +};
1: +
1: +enum slab_stat_type {
1: + SL_ALL = 0,
1: + SL_PARTIAL = 1,
1: + SL_CPU = 2,
1: + SL_OBJECTS = 3,
1: + SL_TOTAL = 4,
1: +};
1: +
1: +struct slab_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct kmem_cache *, char *);
1: + ssize_t (*store)(struct kmem_cache *, const char *, size_t);
1: +};
1: +
1: +struct saved_alias {
1: + struct kmem_cache *s;
1: + const char *name;
1: + struct saved_alias *next;
1: +};
1: +
1: +enum slab_modes {
1: + M_NONE = 0,
1: + M_PARTIAL = 1,
1: + M_FULL = 2,
1: + M_FREE = 3,
1: +};
1: +
1: +struct buffer_head;
1: +
1: +typedef void bh_end_io_t(struct buffer_head *, int);
1: +
1: +struct buffer_head {
1: + long unsigned int b_state;
1: + struct buffer_head *b_this_page;
1: + struct page___2 *b_page;
1: + sector_t b_blocknr;
1: + size_t b_size;
1: + char *b_data;
1: + struct block_device *b_bdev;
1: + bh_end_io_t *b_end_io;
1: + void *b_private;
1: + struct list_head b_assoc_buffers;
1: + struct address_space___2 *b_assoc_map;
1: + atomic_t b_count;
1: +};
1: +
1: +enum bh_state_bits {
1: + BH_Uptodate = 0,
1: + BH_Dirty = 1,
1: + BH_Lock = 2,
1: + BH_Req = 3,
1: + BH_Uptodate_Lock = 4,
1: + BH_Mapped = 5,
1: + BH_New = 6,
1: + BH_Async_Read = 7,
1: + BH_Async_Write = 8,
1: + BH_Delay = 9,
1: + BH_Boundary = 10,
1: + BH_Write_EIO = 11,
1: + BH_Unwritten = 12,
1: + BH_Quiet = 13,
1: + BH_Meta = 14,
1: + BH_Prio = 15,
1: + BH_Defer_Completion = 16,
1: + BH_PrivateStart = 17,
1: +};
1: +
1: +struct trace_event_raw_mm_migrate_pages {
1: + struct trace_entry ent;
1: + long unsigned int succeeded;
1: + long unsigned int failed;
1: + enum migrate_mode mode;
1: + int reason;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_mm_migrate_pages {};
1: +
1: +struct hugetlbfs_inode_info {
1: + struct shared_policy policy;
1: + struct inode___2 vfs_inode;
1: + unsigned int seals;
1: +};
1: +
1: +typedef s32 compat_off_t;
1: +
1: +struct open_flags {
1: + int open_flag;
1: + umode_t mode;
1: + int acc_mode;
1: + int intent;
1: + int lookup_flags;
1: +};
1: +
1: +typedef __kernel_long_t __kernel_off_t;
1: +
1: +typedef __kernel_off_t off_t;
1: +
1: +struct file_dedupe_range_info {
1: + __s64 dest_fd;
1: + __u64 dest_offset;
1: + __u64 bytes_deduped;
1: + __s32 status;
1: + __u32 reserved;
1: +};
1: +
1: +struct file_dedupe_range {
1: + __u64 src_offset;
1: + __u64 src_length;
1: + __u16 dest_count;
1: + __u16 reserved1;
1: + __u32 reserved2;
1: + struct file_dedupe_range_info info[0];
1: +};
1: +
1: +typedef int __kernel_rwf_t;
1: +
1: +typedef __kernel_rwf_t rwf_t;
1: +
1: +typedef s32 compat_ssize_t;
1: +
1: +enum vfs_get_super_keying {
1: + vfs_get_single_super = 0,
1: + vfs_get_single_reconf_super = 1,
1: + vfs_get_keyed_super = 2,
1: + vfs_get_independent_super = 3,
1: +};
1: +
1: +typedef struct kobject___2 *kobj_probe_t(dev_t, int *, void *);
1: +
1: +struct char_device_struct {
1: + struct char_device_struct *next;
1: + unsigned int major;
1: + unsigned int baseminor;
1: + int minorct;
1: + char name[64];
1: + struct cdev *cdev;
1: +};
1: +
1: +struct kobj_map;
1: +
1: +struct stat {
1: + __kernel_ulong_t st_dev;
1: + __kernel_ulong_t st_ino;
1: + __kernel_ulong_t st_nlink;
1: + unsigned int st_mode;
1: + unsigned int st_uid;
1: + unsigned int st_gid;
1: + unsigned int __pad0;
1: + __kernel_ulong_t st_rdev;
1: + __kernel_long_t st_size;
1: + __kernel_long_t st_blksize;
1: + __kernel_long_t st_blocks;
1: + __kernel_ulong_t st_atime;
1: + __kernel_ulong_t st_atime_nsec;
1: + __kernel_ulong_t st_mtime;
1: + __kernel_ulong_t st_mtime_nsec;
1: + __kernel_ulong_t st_ctime;
1: + __kernel_ulong_t st_ctime_nsec;
1: + __kernel_long_t __unused[3];
1: +};
1: +
1: +struct __old_kernel_stat {
1: + short unsigned int st_dev;
1: + short unsigned int st_ino;
1: + short unsigned int st_mode;
1: + short unsigned int st_nlink;
1: + short unsigned int st_uid;
1: + short unsigned int st_gid;
1: + short unsigned int st_rdev;
1: + unsigned int st_size;
1: + unsigned int st_atime;
1: + unsigned int st_mtime;
1: + unsigned int st_ctime;
1: +};
1: +
1: +struct statx_timestamp {
1: + __s64 tv_sec;
1: + __u32 tv_nsec;
1: + __s32 __reserved;
1: +};
1: +
1: +struct statx {
1: + __u32 stx_mask;
1: + __u32 stx_blksize;
1: + __u64 stx_attributes;
1: + __u32 stx_nlink;
1: + __u32 stx_uid;
1: + __u32 stx_gid;
1: + __u16 stx_mode;
1: + __u16 __spare0[1];
1: + __u64 stx_ino;
1: + __u64 stx_size;
1: + __u64 stx_blocks;
1: + __u64 stx_attributes_mask;
1: + struct statx_timestamp stx_atime;
1: + struct statx_timestamp stx_btime;
1: + struct statx_timestamp stx_ctime;
1: + struct statx_timestamp stx_mtime;
1: + __u32 stx_rdev_major;
1: + __u32 stx_rdev_minor;
1: + __u32 stx_dev_major;
1: + __u32 stx_dev_minor;
1: + __u64 __spare2[14];
1: +};
1: +
1: +typedef u32 compat_ino_t;
1: +
1: +typedef u16 __compat_uid_t;
1: +
1: +typedef u16 __compat_gid_t;
1: +
1: +typedef u16 compat_mode_t;
1: +
1: +typedef u16 compat_dev_t;
1: +
1: +typedef u16 compat_nlink_t;
1: +
1: +struct compat_stat {
1: + compat_dev_t st_dev;
1: + u16 __pad1;
1: + compat_ino_t st_ino;
1: + compat_mode_t st_mode;
1: + compat_nlink_t st_nlink;
1: + __compat_uid_t st_uid;
1: + __compat_gid_t st_gid;
1: + compat_dev_t st_rdev;
1: + u16 __pad2;
1: + u32 st_size;
1: + u32 st_blksize;
1: + u32 st_blocks;
1: + u32 st_atime;
1: + u32 st_atime_nsec;
1: + u32 st_mtime;
1: + u32 st_mtime_nsec;
1: + u32 st_ctime;
1: + u32 st_ctime_nsec;
1: + u32 __unused4;
1: + u32 __unused5;
1: +};
1: +
1: +typedef short unsigned int ushort;
1: +
1: +struct user_arg_ptr {
1: + bool is_compat;
1: + union {
1: + const char * const *native;
1: + const compat_uptr_t *compat;
1: + } ptr;
1: +};
1: +
1: +enum inode_i_mutex_lock_class {
1: + I_MUTEX_NORMAL = 0,
1: + I_MUTEX_PARENT = 1,
1: + I_MUTEX_CHILD = 2,
1: + I_MUTEX_XATTR = 3,
1: + I_MUTEX_NONDIR2 = 4,
1: + I_MUTEX_PARENT2 = 5,
1: +};
1: +
1: +struct pseudo_fs_context {
1: + const struct super_operations *ops;
1: + const struct xattr_handler **xattr;
1: + const struct dentry_operations___2 *dops;
1: + long unsigned int magic;
1: +};
1: +
1: +struct name_snapshot {
1: + struct qstr name;
1: + unsigned char inline_name[32];
1: +};
1: +
1: +struct saved {
1: + struct path___2 link;
1: + struct delayed_call done;
1: + const char *name;
1: + unsigned int seq;
1: +};
1: +
1: +struct nameidata {
1: + struct path___2 path;
1: + struct qstr last;
1: + struct path___2 root;
1: + struct inode___2 *inode;
1: + unsigned int flags;
1: + unsigned int seq;
1: + unsigned int m_seq;
1: + int last_type;
1: + unsigned int depth;
1: + int total_link_count;
1: + struct saved *stack;
1: + struct saved internal[2];
1: + struct filename *name;
1: + struct nameidata *saved;
1: + struct inode___2 *link_inode;
1: + unsigned int root_seq;
1: + int dfd;
1: +};
1: +
1: +enum {
1: + LAST_NORM = 0,
1: + LAST_ROOT = 1,
1: + LAST_DOT = 2,
1: + LAST_DOTDOT = 3,
1: + LAST_BIND = 4,
1: +};
1: +
1: +struct mount;
1: +
1: +struct mnt_namespace {
1: + atomic_t count;
1: + struct ns_common___2 ns;
1: + struct mount *root;
1: + struct list_head list;
1: + struct user_namespace___2 *user_ns;
1: + struct ucounts___2 *ucounts;
1: + u64 seq;
1: + wait_queue_head_t poll;
1: + u64 event;
1: + unsigned int mounts;
1: + unsigned int pending_mounts;
1: +};
1: +
1: +struct mnt_pcp;
1: +
1: +struct mountpoint;
1: +
1: +struct mount {
1: + struct hlist_node mnt_hash;
1: + struct mount *mnt_parent;
1: + struct dentry___2 *mnt_mountpoint;
1: + struct vfsmount___2 mnt;
1: + union {
1: + struct callback_head mnt_rcu;
1: + struct llist_node mnt_llist;
1: + };
1: + struct mnt_pcp *mnt_pcp;
1: + struct list_head mnt_mounts;
1: + struct list_head mnt_child;
1: + struct list_head mnt_instance;
1: + const char *mnt_devname;
1: + struct list_head mnt_list;
1: + struct list_head mnt_expire;
1: + struct list_head mnt_share;
1: + struct list_head mnt_slave_list;
1: + struct list_head mnt_slave;
1: + struct mount *mnt_master;
1: + struct mnt_namespace *mnt_ns;
1: + struct mountpoint *mnt_mp;
1: + union {
1: + struct hlist_node mnt_mp_list;
1: + struct hlist_node mnt_umount;
1: + };
1: + struct list_head mnt_umounting;
1: + struct fsnotify_mark_connector *mnt_fsnotify_marks;
1: + __u32 mnt_fsnotify_mask;
1: + int mnt_id;
1: + int mnt_group_id;
1: + int mnt_expiry_mark;
1: + struct hlist_head mnt_pins;
1: + struct hlist_head mnt_stuck_children;
1: +};
1: +
1: +struct mnt_pcp {
1: + int mnt_count;
1: + int mnt_writers;
1: +};
1: +
1: +struct mountpoint {
1: + struct hlist_node m_hash;
1: + struct dentry___2 *m_dentry;
1: + struct hlist_head m_list;
1: + int m_count;
1: +};
1: +
1: +enum {
1: + WALK_FOLLOW = 1,
1: + WALK_MORE = 2,
1: +};
1: +
1: +struct word_at_a_time {
1: + const long unsigned int one_bits;
1: + const long unsigned int high_bits;
1: +};
1: +
1: +struct f_owner_ex {
1: + int type;
1: + __kernel_pid_t pid;
1: +};
1: +
1: +struct flock {
1: + short int l_type;
1: + short int l_whence;
1: + __kernel_off_t l_start;
1: + __kernel_off_t l_len;
1: + __kernel_pid_t l_pid;
1: +};
1: +
1: +struct compat_flock {
1: + short int l_type;
1: + short int l_whence;
1: + compat_off_t l_start;
1: + compat_off_t l_len;
1: + compat_pid_t l_pid;
1: +};
1: +
1: +struct compat_flock64 {
1: + short int l_type;
1: + short int l_whence;
1: + compat_loff_t l_start;
1: + compat_loff_t l_len;
1: + compat_pid_t l_pid;
1: +} __attribute__((packed));
1: +
1: +struct fiemap {
1: + __u64 fm_start;
1: + __u64 fm_length;
1: + __u32 fm_flags;
1: + __u32 fm_mapped_extents;
1: + __u32 fm_extent_count;
1: + __u32 fm_reserved;
1: + struct fiemap_extent fm_extents[0];
1: +};
1: +
1: +struct file_clone_range {
1: + __s64 src_fd;
1: + __u64 src_offset;
1: + __u64 src_length;
1: + __u64 dest_offset;
1: +};
1: +
1: +typedef int get_block_t(struct inode___2 *, sector_t, struct buffer_head *, int);
1: +
1: +struct space_resv {
1: + __s16 l_type;
1: + __s16 l_whence;
1: + __s64 l_start;
1: + __s64 l_len;
1: + __s32 l_sysid;
1: + __u32 l_pid;
1: + __s32 l_pad[4];
1: +};
1: +
1: +struct space_resv_32 {
1: + __s16 l_type;
1: + __s16 l_whence;
1: + __s64 l_start;
1: + __s64 l_len;
1: + __s32 l_sysid;
1: + __u32 l_pid;
1: + __s32 l_pad[4];
1: +} __attribute__((packed));
1: +
1: +struct linux_dirent64 {
1: + u64 d_ino;
1: + s64 d_off;
1: + short unsigned int d_reclen;
1: + unsigned char d_type;
1: + char d_name[0];
1: +};
1: +
1: +struct old_linux_dirent {
1: + long unsigned int d_ino;
1: + long unsigned int d_offset;
1: + short unsigned int d_namlen;
1: + char d_name[1];
1: +};
1: +
1: +struct readdir_callback {
1: + struct dir_context ctx;
1: + struct old_linux_dirent *dirent;
1: + int result;
1: +};
1: +
1: +struct linux_dirent {
1: + long unsigned int d_ino;
1: + long unsigned int d_off;
1: + short unsigned int d_reclen;
1: + char d_name[1];
1: +};
1: +
1: +struct getdents_callback {
1: + struct dir_context ctx;
1: + struct linux_dirent *current_dir;
1: + int prev_reclen;
1: + int count;
1: + int error;
1: +};
1: +
1: +struct getdents_callback64 {
1: + struct dir_context ctx;
1: + struct linux_dirent64 *current_dir;
1: + int prev_reclen;
1: + int count;
1: + int error;
1: +};
1: +
1: +struct compat_old_linux_dirent {
1: + compat_ulong_t d_ino;
1: + compat_ulong_t d_offset;
1: + short unsigned int d_namlen;
1: + char d_name[1];
1: +};
1: +
1: +struct compat_readdir_callback {
1: + struct dir_context ctx;
1: + struct compat_old_linux_dirent *dirent;
1: + int result;
1: +};
1: +
1: +struct compat_linux_dirent {
1: + compat_ulong_t d_ino;
1: + compat_ulong_t d_off;
1: + short unsigned int d_reclen;
1: + char d_name[1];
1: +};
1: +
1: +struct compat_getdents_callback {
1: + struct dir_context ctx;
1: + struct compat_linux_dirent *current_dir;
1: + struct compat_linux_dirent *previous;
1: + int count;
1: + int error;
1: +};
1: +
1: +typedef struct {
1: + long unsigned int fds_bits[16];
1: +} __kernel_fd_set;
1: +
1: +typedef __kernel_fd_set fd_set;
1: +
1: +struct poll_table_entry {
1: + struct file___2 *filp;
1: + __poll_t key;
1: + wait_queue_entry_t wait;
1: + wait_queue_head_t *wait_address;
1: +};
1: +
1: +struct poll_table_page;
1: +
1: +struct poll_wqueues {
1: + poll_table___2 pt;
1: + struct poll_table_page *table;
1: + struct task_struct___2 *polling_task;
1: + int triggered;
1: + int error;
1: + int inline_index;
1: + struct poll_table_entry inline_entries[9];
1: +};
1: +
1: +struct poll_table_page {
1: + struct poll_table_page *next;
1: + struct poll_table_entry *entry;
1: + struct poll_table_entry entries[0];
1: +};
1: +
1: +struct ip_ra_chain {
1: + struct ip_ra_chain *next;
1: + struct sock *sk;
1: + union {
1: + void (*destructor)(struct sock *);
1: + struct sock *saved_sk;
1: + };
1: + struct callback_head rcu;
1: +};
1: +
1: +struct fib_table {
1: + struct hlist_node tb_hlist;
1: + u32 tb_id;
1: + int tb_num_default;
1: + struct callback_head rcu;
1: + long unsigned int *tb_data;
1: + long unsigned int __data[0];
1: +};
1: +
1: +struct inet_peer_base {
1: + struct rb_root rb_root;
1: + seqlock_t lock;
1: + int total;
1: +};
1: +
1: +struct dst_metrics {
1: + u32 metrics[17];
1: + refcount_t refcnt;
1: +};
1: +
1: +enum poll_time_type {
1: + PT_TIMEVAL = 0,
1: + PT_OLD_TIMEVAL = 1,
1: + PT_TIMESPEC = 2,
1: + PT_OLD_TIMESPEC = 3,
1: +};
1: +
1: +typedef struct {
1: + long unsigned int *in;
1: + long unsigned int *out;
1: + long unsigned int *ex;
1: + long unsigned int *res_in;
1: + long unsigned int *res_out;
1: + long unsigned int *res_ex;
1: +} fd_set_bits;
1: +
1: +struct poll_list {
1: + struct poll_list *next;
1: + int len;
1: + struct pollfd entries[0];
1: +};
1: +
1: +struct compat_sel_arg_struct {
1: + compat_ulong_t n;
1: + compat_uptr_t inp;
1: + compat_uptr_t outp;
1: + compat_uptr_t exp;
1: + compat_uptr_t tvp;
1: +};
1: +
1: +enum dentry_d_lock_class {
1: + DENTRY_D_LOCK_NORMAL = 0,
1: + DENTRY_D_LOCK_NESTED = 1,
1: +};
1: +
1: +struct external_name {
1: + union {
1: + atomic_t count;
1: + struct callback_head head;
1: + } u;
1: + unsigned char name[0];
1: +};
1: +
1: +enum d_walk_ret {
1: + D_WALK_CONTINUE = 0,
1: + D_WALK_QUIT = 1,
1: + D_WALK_NORETRY = 2,
1: + D_WALK_SKIP = 3,
1: +};
1: +
1: +struct check_mount {
1: + struct vfsmount___2 *mnt;
1: + unsigned int mounted;
1: +};
1: +
1: +struct select_data {
1: + struct dentry___2 *start;
1: + union {
1: + long int found;
1: + struct dentry___2 *victim;
1: + };
1: + struct list_head dispose;
1: +};
1: +
1: +typedef long int pao_T_____4;
1: +
1: +struct fsxattr {
1: + __u32 fsx_xflags;
1: + __u32 fsx_extsize;
1: + __u32 fsx_nextents;
1: + __u32 fsx_projid;
1: + __u32 fsx_cowextsize;
1: + unsigned char fsx_pad[8];
1: +};
1: +
1: +enum file_time_flags {
1: + S_ATIME = 1,
1: + S_MTIME = 2,
1: + S_CTIME = 4,
1: + S_VERSION = 8,
1: +};
1: +
1: +struct proc_mounts {
1: + struct mnt_namespace *ns;
1: + struct path root;
1: + int (*show)(struct seq_file *, struct vfsmount___2 *);
1: + void *cached_mount;
1: + u64 cached_event;
1: + loff_t cached_index;
1: +};
1: +
1: +enum umount_tree_flags {
1: + UMOUNT_SYNC = 1,
1: + UMOUNT_PROPAGATE = 2,
1: + UMOUNT_CONNECTED = 4,
1: +};
1: +
1: +struct tree_descr {
1: + const char *name;
1: + const struct file_operations *ops;
1: + int mode;
1: +};
1: +
1: +struct simple_transaction_argresp {
1: + ssize_t size;
1: + char data[0];
1: +};
1: +
1: +struct simple_attr {
1: + int (*get)(void *, u64 *);
1: + int (*set)(void *, u64);
1: + char get_buf[24];
1: + char set_buf[24];
1: + void *data;
1: + const char *fmt;
1: + struct mutex mutex;
1: +};
1: +
1: +struct wb_completion {
1: + atomic_t cnt;
1: + wait_queue_head_t *waitq;
1: +};
1: +
1: +struct wb_writeback_work {
1: + long int nr_pages;
1: + struct super_block___2 *sb;
1: + long unsigned int *older_than_this;
1: + enum writeback_sync_modes sync_mode;
1: + unsigned int tagged_writepages: 1;
1: + unsigned int for_kupdate: 1;
1: + unsigned int range_cyclic: 1;
1: + unsigned int for_background: 1;
1: + unsigned int for_sync: 1;
1: + unsigned int auto_free: 1;
1: + enum wb_reason reason;
1: + struct list_head list;
1: + struct wb_completion *done;
1: +};
1: +
1: +struct trace_event_raw_writeback_page_template {
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + long unsigned int index;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_dirty_inode_template {
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + long unsigned int state;
1: + long unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_write_inode_template {
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + int sync_mode;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_work_class {
1: + struct trace_entry ent;
1: + char name[32];
1: + long int nr_pages;
1: + dev_t sb_dev;
1: + int sync_mode;
1: + int for_kupdate;
1: + int range_cyclic;
1: + int for_background;
1: + int reason;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_pages_written {
1: + struct trace_entry ent;
1: + long int pages;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_class {
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_bdi_register {
1: + struct trace_entry ent;
1: + char name[32];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wbc_class {
1: + struct trace_entry ent;
1: + char name[32];
1: + long int nr_to_write;
1: + long int pages_skipped;
1: + int sync_mode;
1: + int for_kupdate;
1: + int for_background;
1: + int for_reclaim;
1: + int range_cyclic;
1: + long int range_start;
1: + long int range_end;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_queue_io {
1: + struct trace_entry ent;
1: + char name[32];
1: + long unsigned int older;
1: + long int age;
1: + int moved;
1: + int reason;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_global_dirty_state {
1: + struct trace_entry ent;
1: + long unsigned int nr_dirty;
1: + long unsigned int nr_writeback;
1: + long unsigned int nr_unstable;
1: + long unsigned int background_thresh;
1: + long unsigned int dirty_thresh;
1: + long unsigned int dirty_limit;
1: + long unsigned int nr_dirtied;
1: + long unsigned int nr_written;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_bdi_dirty_ratelimit {
1: + struct trace_entry ent;
1: + char bdi[32];
1: + long unsigned int write_bw;
1: + long unsigned int avg_write_bw;
1: + long unsigned int dirty_rate;
1: + long unsigned int dirty_ratelimit;
1: + long unsigned int task_ratelimit;
1: + long unsigned int balanced_dirty_ratelimit;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_balance_dirty_pages {
1: + struct trace_entry ent;
1: + char bdi[32];
1: + long unsigned int limit;
1: + long unsigned int setpoint;
1: + long unsigned int dirty;
1: + long unsigned int bdi_setpoint;
1: + long unsigned int bdi_dirty;
1: + long unsigned int dirty_ratelimit;
1: + long unsigned int task_ratelimit;
1: + unsigned int dirtied;
1: + unsigned int dirtied_pause;
1: + long unsigned int paused;
1: + long int pause;
1: + long unsigned int period;
1: + long int think;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_sb_inodes_requeue {
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + long unsigned int state;
1: + long unsigned int dirtied_when;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_congest_waited_template {
1: + struct trace_entry ent;
1: + unsigned int usec_timeout;
1: + unsigned int usec_delayed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_single_inode_template {
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + long unsigned int state;
1: + long unsigned int dirtied_when;
1: + long unsigned int writeback_index;
1: + long int nr_to_write;
1: + long unsigned int wrote;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_writeback_inode_template {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int state;
1: + __u16 mode;
1: + long unsigned int dirtied_when;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_writeback_page_template {};
1: +
1: +struct trace_event_data_offsets_writeback_dirty_inode_template {};
1: +
1: +struct trace_event_data_offsets_writeback_write_inode_template {};
1: +
1: +struct trace_event_data_offsets_writeback_work_class {};
1: +
1: +struct trace_event_data_offsets_writeback_pages_written {};
1: +
1: +struct trace_event_data_offsets_writeback_class {};
1: +
1: +struct trace_event_data_offsets_writeback_bdi_register {};
1: +
1: +struct trace_event_data_offsets_wbc_class {};
1: +
1: +struct trace_event_data_offsets_writeback_queue_io {};
1: +
1: +struct trace_event_data_offsets_global_dirty_state {};
1: +
1: +struct trace_event_data_offsets_bdi_dirty_ratelimit {};
1: +
1: +struct trace_event_data_offsets_balance_dirty_pages {};
1: +
1: +struct trace_event_data_offsets_writeback_sb_inodes_requeue {};
1: +
1: +struct trace_event_data_offsets_writeback_congest_waited_template {};
1: +
1: +struct trace_event_data_offsets_writeback_single_inode_template {};
1: +
1: +struct trace_event_data_offsets_writeback_inode_template {};
1: +
1: +struct splice_desc {
1: + size_t total_len;
1: + unsigned int len;
1: + unsigned int flags;
1: + union {
1: + void *userptr;
1: + struct file___2 *file;
1: + void *data;
1: + } u;
1: + loff_t pos;
1: + loff_t *opos;
1: + size_t num_spliced;
1: + bool need_wakeup;
1: +};
1: +
1: +typedef int splice_actor(struct pipe_inode_info___2 *, struct pipe_buffer___2 *, struct splice_desc *);
1: +
1: +typedef int splice_direct_actor(struct pipe_inode_info___2 *, struct splice_desc *);
1: +
1: +struct utimbuf {
1: + __kernel_old_time_t actime;
1: + __kernel_old_time_t modtime;
1: +};
1: +
1: +struct old_utimbuf32 {
1: + old_time32_t actime;
1: + old_time32_t modtime;
1: +};
1: +
1: +typedef int __kernel_daddr_t;
1: +
1: +struct ustat {
1: + __kernel_daddr_t f_tfree;
1: + __kernel_ino_t f_tinode;
1: + char f_fname[6];
1: + char f_fpack[6];
1: +};
1: +
1: +struct statfs {
1: + __kernel_long_t f_type;
1: + __kernel_long_t f_bsize;
1: + __kernel_long_t f_blocks;
1: + __kernel_long_t f_bfree;
1: + __kernel_long_t f_bavail;
1: + __kernel_long_t f_files;
1: + __kernel_long_t f_ffree;
1: + __kernel_fsid_t f_fsid;
1: + __kernel_long_t f_namelen;
1: + __kernel_long_t f_frsize;
1: + __kernel_long_t f_flags;
1: + __kernel_long_t f_spare[4];
1: +};
1: +
1: +struct statfs64 {
1: + __kernel_long_t f_type;
1: + __kernel_long_t f_bsize;
1: + __u64 f_blocks;
1: + __u64 f_bfree;
1: + __u64 f_bavail;
1: + __u64 f_files;
1: + __u64 f_ffree;
1: + __kernel_fsid_t f_fsid;
1: + __kernel_long_t f_namelen;
1: + __kernel_long_t f_frsize;
1: + __kernel_long_t f_flags;
1: + __kernel_long_t f_spare[4];
1: +};
1: +
1: +struct compat_statfs64 {
1: + __u32 f_type;
1: + __u32 f_bsize;
1: + __u64 f_blocks;
1: + __u64 f_bfree;
1: + __u64 f_bavail;
1: + __u64 f_files;
1: + __u64 f_ffree;
1: + __kernel_fsid_t f_fsid;
1: + __u32 f_namelen;
1: + __u32 f_frsize;
1: + __u32 f_flags;
1: + __u32 f_spare[4];
1: +} __attribute__((packed));
1: +
1: +typedef s32 compat_daddr_t;
1: +
1: +typedef __kernel_fsid_t compat_fsid_t;
1: +
1: +struct compat_statfs {
1: + int f_type;
1: + int f_bsize;
1: + int f_blocks;
1: + int f_bfree;
1: + int f_bavail;
1: + int f_files;
1: + int f_ffree;
1: + compat_fsid_t f_fsid;
1: + int f_namelen;
1: + int f_frsize;
1: + int f_flags;
1: + int f_spare[4];
1: +};
1: +
1: +struct compat_ustat {
1: + compat_daddr_t f_tfree;
1: + compat_ino_t f_tinode;
1: + char f_fname[6];
1: + char f_fpack[6];
1: +};
1: +
1: +typedef struct ns_common *ns_get_path_helper_t(void *);
1: +
1: +struct ns_get_path_task_args {
1: + const struct proc_ns_operations *ns_ops;
1: + struct task_struct *task;
1: +};
1: +
1: +struct constant_table {
1: + const char *name;
1: + int value;
1: +};
1: +
1: +enum legacy_fs_param {
1: + LEGACY_FS_UNSET_PARAMS = 0,
1: + LEGACY_FS_MONOLITHIC_PARAMS = 1,
1: + LEGACY_FS_INDIVIDUAL_PARAMS = 2,
1: +};
1: +
1: +struct legacy_fs_context {
1: + char *legacy_data;
1: + size_t data_size;
1: + enum legacy_fs_param param_type;
1: +};
1: +
1: +enum fsconfig_command {
1: + FSCONFIG_SET_FLAG = 0,
1: + FSCONFIG_SET_STRING = 1,
1: + FSCONFIG_SET_BINARY = 2,
1: + FSCONFIG_SET_PATH = 3,
1: + FSCONFIG_SET_PATH_EMPTY = 4,
1: + FSCONFIG_SET_FD = 5,
1: + FSCONFIG_CMD_CREATE = 6,
1: + FSCONFIG_CMD_RECONFIGURE = 7,
1: +};
1: +
1: +struct dax_device;
1: +
1: +struct iomap_page_ops;
1: +
1: +struct iomap___2 {
1: + u64 addr;
1: + loff_t offset;
1: + u64 length;
1: + u16 type;
1: + u16 flags;
1: + struct block_device *bdev;
1: + struct dax_device *dax_dev;
1: + void *inline_data;
1: + void *private;
1: + const struct iomap_page_ops *page_ops;
1: +};
1: +
1: +struct iomap_page_ops {
1: + int (*page_prepare)(struct inode___2 *, loff_t, unsigned int, struct iomap___2 *);
1: + void (*page_done)(struct inode___2 *, loff_t, unsigned int, struct page___2 *, struct iomap___2 *);
1: +};
1: +
1: +struct bh_lru {
1: + struct buffer_head *bhs[16];
1: +};
1: +
1: +struct bh_accounting {
1: + int nr;
1: + int ratelimit;
1: +};
1: +
1: +enum {
1: + DISK_EVENT_MEDIA_CHANGE = 1,
1: + DISK_EVENT_EJECT_REQUEST = 2,
1: +};
1: +
1: +enum {
1: + BIOSET_NEED_BVECS = 1,
1: + BIOSET_NEED_RESCUER = 2,
1: +};
1: +
1: +struct bdev_inode {
1: + struct block_device bdev;
1: + struct inode___2 vfs_inode;
1: +};
1: +
1: +struct blkdev_dio {
1: + union {
1: + struct kiocb *iocb;
1: + struct task_struct *waiter;
1: + };
1: + size_t size;
1: + atomic_t ref;
1: + bool multi_bio: 1;
1: + bool should_dirty: 1;
1: + bool is_sync: 1;
1: + struct bio bio;
1: +};
1: +
1: +struct bd_holder_disk {
1: + struct list_head list;
1: + struct gendisk *disk;
1: + int refcnt;
1: +};
1: +
1: +struct blk_integrity;
1: +
1: +typedef int dio_iodone_t(struct kiocb___2 *, loff_t, ssize_t, void *);
1: +
1: +typedef void dio_submit_t(struct bio *, struct inode___2 *, loff_t);
1: +
1: +enum {
1: + DIO_LOCKING = 1,
1: + DIO_SKIP_HOLES = 2,
1: +};
1: +
1: +struct dio_submit {
1: + struct bio *bio;
1: + unsigned int blkbits;
1: + unsigned int blkfactor;
1: + unsigned int start_zero_done;
1: + int pages_in_io;
1: + sector_t block_in_file;
1: + unsigned int blocks_available;
1: + int reap_counter;
1: + sector_t final_block_in_request;
1: + int boundary;
1: + get_block_t *get_block;
1: + dio_submit_t *submit_io;
1: + loff_t logical_offset_in_bio;
1: + sector_t final_block_in_bio;
1: + sector_t next_block_for_io;
1: + struct page___2 *cur_page;
1: + unsigned int cur_page_offset;
1: + unsigned int cur_page_len;
1: + sector_t cur_page_block;
1: + loff_t cur_page_fs_offset;
1: + struct iov_iter___2 *iter;
1: + unsigned int head;
1: + unsigned int tail;
1: + size_t from;
1: + size_t to;
1: +};
1: +
1: +struct dio {
1: + int flags;
1: + int op;
1: + int op_flags;
1: + blk_qc_t bio_cookie;
1: + struct gendisk *bio_disk;
1: + struct inode___2 *inode;
1: + loff_t i_size;
1: + dio_iodone_t *end_io;
1: + void *private;
1: + spinlock_t bio_lock;
1: + int page_errors;
1: + int is_async;
1: + bool defer_completion;
1: + bool should_dirty;
1: + int io_error;
1: + long unsigned int refcount;
1: + struct bio *bio_list;
1: + struct task_struct___2 *waiter;
1: + struct kiocb___2 *iocb;
1: + ssize_t result;
1: + union {
1: + struct page___2 *pages[64];
1: + struct work_struct complete_work;
1: + };
1: + long: 64;
1: +};
1: +
1: +struct bvec_iter_all {
1: + struct bio_vec bv;
1: + int idx;
1: + unsigned int done;
1: +};
1: +
1: +struct mpage_readpage_args {
1: + struct bio *bio;
1: + struct page___2 *page;
1: + unsigned int nr_pages;
1: + bool is_readahead;
1: + sector_t last_block_in_bio;
1: + struct buffer_head map_bh;
1: + long unsigned int first_logical_block;
1: + get_block_t *get_block;
1: +};
1: +
1: +struct mpage_data {
1: + struct bio *bio;
1: + sector_t last_block_in_bio;
1: + get_block_t *get_block;
1: + unsigned int use_writepage;
1: +};
1: +
1: +typedef u32 nlink_t;
1: +
1: +typedef int (*proc_write_t)(struct file___2 *, char *, size_t);
1: +
1: +struct proc_dir_entry {
1: + atomic_t in_use;
1: + refcount_t refcnt;
1: + struct list_head pde_openers;
1: + spinlock_t pde_unload_lock;
1: + struct completion *pde_unload_completion;
1: + const struct inode_operations___2 *proc_iops;
1: + const struct file_operations___2 *proc_fops;
1: + const struct dentry_operations___2 *proc_dops;
1: + union {
1: + const struct seq_operations___2 *seq_ops;
1: + int (*single_show)(struct seq_file___2 *, void *);
1: + };
1: + proc_write_t write;
1: + void *data;
1: + unsigned int state_size;
1: + unsigned int low_ino;
1: + nlink_t nlink;
1: + kuid_t uid;
1: + kgid_t gid;
1: + loff_t size;
1: + struct proc_dir_entry *parent;
1: + struct rb_root subdir;
1: + struct rb_node subdir_node;
1: + char *name;
1: + umode_t mode;
1: + u8 namelen;
1: + char inline_name[0];
1: +};
1: +
1: +union proc_op {
1: + int (*proc_get_link)(struct dentry___2 *, struct path___2 *);
1: + int (*proc_show)(struct seq_file___2 *, struct pid_namespace *, struct pid *, struct task_struct *);
1: + const char *lsm;
1: +};
1: +
1: +struct proc_inode {
1: + struct pid *pid;
1: + unsigned int fd;
1: + union proc_op op;
1: + struct proc_dir_entry *pde;
1: + struct ctl_table_header *sysctl;
1: + struct ctl_table *sysctl_entry;
1: + struct hlist_node sysctl_inodes;
1: + const struct proc_ns_operations *ns_ops;
1: + struct inode___2 vfs_inode;
1: +};
1: +
1: +struct proc_fs_info {
1: + int flag;
1: + const char *str;
1: +};
1: +
1: +struct file_handle {
1: + __u32 handle_bytes;
1: + int handle_type;
1: + unsigned char f_handle[0];
1: +};
1: +
1: +struct inotify_inode_mark {
1: + struct fsnotify_mark fsn_mark;
1: + int wd;
1: +};
1: +
1: +struct dnotify_struct {
1: + struct dnotify_struct *dn_next;
1: + __u32 dn_mask;
1: + int dn_fd;
1: + struct file___2 *dn_filp;
1: + fl_owner_t dn_owner;
1: +};
1: +
1: +struct dnotify_mark {
1: + struct fsnotify_mark fsn_mark;
1: + struct dnotify_struct *dn;
1: +};
1: +
1: +struct inotify_event_info {
1: + struct fsnotify_event fse;
1: + u32 mask;
1: + int wd;
1: + u32 sync_cookie;
1: + int name_len;
1: + char name[0];
1: +};
1: +
1: +struct inotify_event {
1: + __s32 wd;
1: + __u32 mask;
1: + __u32 cookie;
1: + __u32 len;
1: + char name[0];
1: +};
1: +
1: +struct epoll_event {
1: + __poll_t events;
1: + __u64 data;
1: +} __attribute__((packed));
1: +
1: +struct epoll_filefd {
1: + struct file___2 *file;
1: + int fd;
1: +} __attribute__((packed));
1: +
1: +struct nested_call_node {
1: + struct list_head llink;
1: + void *cookie;
1: + void *ctx;
1: +};
1: +
1: +struct nested_calls {
1: + struct list_head tasks_call_list;
1: + spinlock_t lock;
1: +};
1: +
1: +struct eventpoll;
1: +
1: +struct epitem {
1: + union {
1: + struct rb_node rbn;
1: + struct callback_head rcu;
1: + };
1: + struct list_head rdllink;
1: + struct epitem *next;
1: + struct epoll_filefd ffd;
1: + int nwait;
1: + struct list_head pwqlist;
1: + struct eventpoll *ep;
1: + struct list_head fllink;
1: + struct wakeup_source *ws;
1: + struct epoll_event event;
1: +};
1: +
1: +struct eventpoll {
1: + struct mutex mtx;
1: + wait_queue_head_t wq;
1: + wait_queue_head_t poll_wait;
1: + struct list_head rdllist;
1: + rwlock_t lock;
1: + struct rb_root_cached rbr;
1: + struct epitem *ovflist;
1: + struct wakeup_source *ws;
1: + struct user_struct *user;
1: + struct file___2 *file;
1: + int visited;
1: + struct list_head visited_list_link;
1: + unsigned int napi_id;
1: +};
1: +
1: +struct eppoll_entry {
1: + struct list_head llink;
1: + struct epitem *base;
1: + wait_queue_entry_t wait;
1: + wait_queue_head_t *whead;
1: +};
1: +
1: +struct ep_pqueue {
1: + poll_table___2 pt;
1: + struct epitem *epi;
1: +};
1: +
1: +struct ep_send_events_data {
1: + int maxevents;
1: + struct epoll_event *events;
1: + int res;
1: +};
1: +
1: +struct signalfd_siginfo {
1: + __u32 ssi_signo;
1: + __s32 ssi_errno;
1: + __s32 ssi_code;
1: + __u32 ssi_pid;
1: + __u32 ssi_uid;
1: + __s32 ssi_fd;
1: + __u32 ssi_tid;
1: + __u32 ssi_band;
1: + __u32 ssi_overrun;
1: + __u32 ssi_trapno;
1: + __s32 ssi_status;
1: + __s32 ssi_int;
1: + __u64 ssi_ptr;
1: + __u64 ssi_utime;
1: + __u64 ssi_stime;
1: + __u64 ssi_addr;
1: + __u16 ssi_addr_lsb;
1: + __u16 __pad2;
1: + __s32 ssi_syscall;
1: + __u64 ssi_call_addr;
1: + __u32 ssi_arch;
1: + __u8 __pad[28];
1: +};
1: +
1: +struct signalfd_ctx {
1: + sigset_t sigmask;
1: +};
1: +
1: +struct timerfd_ctx {
1: + union {
1: + struct hrtimer tmr;
1: + struct alarm alarm;
1: + } t;
1: + ktime_t tintv;
1: + ktime_t moffs;
1: + wait_queue_head_t wqh;
1: + u64 ticks;
1: + int clockid;
1: + short unsigned int expired;
1: + short unsigned int settime_flags;
1: + struct callback_head rcu;
1: + struct list_head clist;
1: + spinlock_t cancel_lock;
1: + bool might_cancel;
1: +};
1: +
1: +struct eventfd_ctx {
1: + struct kref kref;
1: + wait_queue_head_t wqh;
1: + __u64 count;
1: + unsigned int flags;
1: + int id;
1: +};
1: +
1: +struct kioctx;
1: +
1: +struct kioctx_table {
1: + struct callback_head rcu;
1: + unsigned int nr;
1: + struct kioctx *table[0];
1: +};
1: +
1: +typedef __kernel_ulong_t aio_context_t;
1: +
1: +enum {
1: + IOCB_CMD_PREAD = 0,
1: + IOCB_CMD_PWRITE = 1,
1: + IOCB_CMD_FSYNC = 2,
1: + IOCB_CMD_FDSYNC = 3,
1: + IOCB_CMD_POLL = 5,
1: + IOCB_CMD_NOOP = 6,
1: + IOCB_CMD_PREADV = 7,
1: + IOCB_CMD_PWRITEV = 8,
1: +};
1: +
1: +struct io_event {
1: + __u64 data;
1: + __u64 obj;
1: + __s64 res;
1: + __s64 res2;
1: +};
1: +
1: +struct iocb {
1: + __u64 aio_data;
1: + __u32 aio_key;
1: + __kernel_rwf_t aio_rw_flags;
1: + __u16 aio_lio_opcode;
1: + __s16 aio_reqprio;
1: + __u32 aio_fildes;
1: + __u64 aio_buf;
1: + __u64 aio_nbytes;
1: + __s64 aio_offset;
1: + __u64 aio_reserved2;
1: + __u32 aio_flags;
1: + __u32 aio_resfd;
1: +};
1: +
1: +typedef int kiocb_cancel_fn(struct kiocb *);
1: +
1: +typedef u32 compat_aio_context_t;
1: +
1: +struct aio_ring {
1: + unsigned int id;
1: + unsigned int nr;
1: + unsigned int head;
1: + unsigned int tail;
1: + unsigned int magic;
1: + unsigned int compat_features;
1: + unsigned int incompat_features;
1: + unsigned int header_length;
1: + struct io_event io_events[0];
1: +};
1: +
1: +struct kioctx_cpu;
1: +
1: +struct ctx_rq_wait;
1: +
1: +struct kioctx {
1: + struct percpu_ref users;
1: + atomic_t dead;
1: + struct percpu_ref reqs;
1: + long unsigned int user_id;
1: + struct kioctx_cpu *cpu;
1: + unsigned int req_batch;
1: + unsigned int max_reqs;
1: + unsigned int nr_events;
1: + long unsigned int mmap_base;
1: + long unsigned int mmap_size;
1: + struct page___2 **ring_pages;
1: + long int nr_pages;
1: + struct rcu_work free_rwork;
1: + struct ctx_rq_wait *rq_wait;
1: + long: 64;
1: + struct {
1: + atomic_t reqs_available;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + };
1: + struct {
1: + spinlock_t ctx_lock;
1: + struct list_head active_reqs;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + };
1: + struct {
1: + struct mutex ring_lock;
1: + wait_queue_head_t wait;
1: + long: 64;
1: + };
1: + struct {
1: + unsigned int tail;
1: + unsigned int completed_events;
1: + spinlock_t completion_lock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + };
1: + struct page___2 *internal_pages[8];
1: + struct file *aio_ring_file;
1: + unsigned int id;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct kioctx_cpu {
1: + unsigned int reqs_available;
1: +};
1: +
1: +struct ctx_rq_wait {
1: + struct completion comp;
1: + atomic_t count;
1: +};
1: +
1: +struct fsync_iocb {
1: + struct file *file;
1: + struct work_struct work;
1: + bool datasync;
1: +};
1: +
1: +struct poll_iocb {
1: + struct file *file;
1: + struct wait_queue_head *head;
1: + __poll_t events;
1: + bool done;
1: + bool cancelled;
1: + struct wait_queue_entry wait;
1: + struct work_struct work;
1: +};
1: +
1: +struct eventfd_ctx___2;
1: +
1: +struct aio_kiocb {
1: + union {
1: + struct file *ki_filp;
1: + struct kiocb rw;
1: + struct fsync_iocb fsync;
1: + struct poll_iocb poll;
1: + };
1: + struct kioctx *ki_ctx;
1: + kiocb_cancel_fn *ki_cancel;
1: + struct io_event ki_res;
1: + struct list_head ki_list;
1: + refcount_t ki_refcnt;
1: + struct eventfd_ctx___2 *ki_eventfd;
1: +};
1: +
1: +struct aio_poll_table {
1: + struct poll_table_struct pt;
1: + struct aio_kiocb *iocb;
1: + int error;
1: +};
1: +
1: +struct __aio_sigset {
1: + const sigset_t *sigmask;
1: + size_t sigsetsize;
1: +};
1: +
1: +struct __compat_aio_sigset {
1: + compat_uptr_t sigmask;
1: + compat_size_t sigsetsize;
1: +};
1: +
1: +enum {
1: + PERCPU_REF_INIT_ATOMIC = 1,
1: + PERCPU_REF_INIT_DEAD = 2,
1: + PERCPU_REF_ALLOW_REINIT = 4,
1: +};
1: +
1: +struct user_msghdr {
1: + void *msg_name;
1: + int msg_namelen;
1: + struct iovec *msg_iov;
1: + __kernel_size_t msg_iovlen;
1: + void *msg_control;
1: + __kernel_size_t msg_controllen;
1: + unsigned int msg_flags;
1: +};
1: +
1: +enum sock_type {
1: + SOCK_STREAM = 1,
1: + SOCK_DGRAM = 2,
1: + SOCK_RAW = 3,
1: + SOCK_RDM = 4,
1: + SOCK_SEQPACKET = 5,
1: + SOCK_DCCP = 6,
1: + SOCK_PACKET = 10,
1: +};
1: +
1: +enum {
1: + IPPROTO_IP = 0,
1: + IPPROTO_ICMP = 1,
1: + IPPROTO_IGMP = 2,
1: + IPPROTO_IPIP = 4,
1: + IPPROTO_TCP = 6,
1: + IPPROTO_EGP = 8,
1: + IPPROTO_PUP = 12,
1: + IPPROTO_UDP = 17,
1: + IPPROTO_IDP = 22,
1: + IPPROTO_TP = 29,
1: + IPPROTO_DCCP = 33,
1: + IPPROTO_IPV6 = 41,
1: + IPPROTO_RSVP = 46,
1: + IPPROTO_GRE = 47,
1: + IPPROTO_ESP = 50,
1: + IPPROTO_AH = 51,
1: + IPPROTO_MTP = 92,
1: + IPPROTO_BEETPH = 94,
1: + IPPROTO_ENCAP = 98,
1: + IPPROTO_PIM = 103,
1: + IPPROTO_COMP = 108,
1: + IPPROTO_SCTP = 132,
1: + IPPROTO_UDPLITE = 136,
1: + IPPROTO_MPLS = 137,
1: + IPPROTO_RAW = 255,
1: + IPPROTO_MAX = 256,
1: +};
1: +
1: +struct scm_fp_list {
1: + short int count;
1: + short int max;
1: + struct user_struct *user;
1: + struct file___2 *fp[253];
1: +};
1: +
1: +struct unix_skb_parms {
1: + struct pid___2 *pid;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct scm_fp_list *fp;
1: + u32 secid;
1: + u32 consumed;
1: +};
1: +
1: +struct trace_event_raw_io_uring_create {
1: + struct trace_entry ent;
1: + int fd;
1: + void *ctx;
1: + u32 sq_entries;
1: + u32 cq_entries;
1: + u32 flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_io_uring_register {
1: + struct trace_entry ent;
1: + void *ctx;
1: + unsigned int opcode;
1: + unsigned int nr_files;
1: + unsigned int nr_bufs;
1: + bool eventfd;
1: + long int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_io_uring_file_get {
1: + struct trace_entry ent;
1: + void *ctx;
1: + int fd;
1: + char __data[0];
1: +};
1: +
1: +struct io_wq_work;
1: +
1: +struct trace_event_raw_io_uring_queue_async_work {
1: + struct trace_entry ent;
1: + void *ctx;
1: + int rw;
1: + void *req;
1: + struct io_wq_work *work;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct io_wq_work_node {
1: + struct io_wq_work_node *next;
1: +};
1: +
1: +struct io_wq_work {
1: + union {
1: + struct io_wq_work_node list;
1: + void *data;
1: + };
1: + void (*func)(struct io_wq_work **);
1: + struct files_struct *files;
1: + unsigned int flags;
1: +};
1: +
1: +struct trace_event_raw_io_uring_defer {
1: + struct trace_entry ent;
1: + void *ctx;
1: + void *req;
1: + long long unsigned int data;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_io_uring_link {
1: + struct trace_entry ent;
1: + void *ctx;
1: + void *req;
1: + void *target_req;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_io_uring_cqring_wait {
1: + struct trace_entry ent;
1: + void *ctx;
1: + int min_events;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_io_uring_fail_link {
1: + struct trace_entry ent;
1: + void *req;
1: + void *link;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_io_uring_complete {
1: + struct trace_entry ent;
1: + void *ctx;
1: + u64 user_data;
1: + long int res;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_io_uring_submit_sqe {
1: + struct trace_entry ent;
1: + void *ctx;
1: + u64 user_data;
1: + bool force_nonblock;
1: + bool sq_thread;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_io_uring_create {};
1: +
1: +struct trace_event_data_offsets_io_uring_register {};
1: +
1: +struct trace_event_data_offsets_io_uring_file_get {};
1: +
1: +struct trace_event_data_offsets_io_uring_queue_async_work {};
1: +
1: +struct trace_event_data_offsets_io_uring_defer {};
1: +
1: +struct trace_event_data_offsets_io_uring_link {};
1: +
1: +struct trace_event_data_offsets_io_uring_cqring_wait {};
1: +
1: +struct trace_event_data_offsets_io_uring_fail_link {};
1: +
1: +struct trace_event_data_offsets_io_uring_complete {};
1: +
1: +struct trace_event_data_offsets_io_uring_submit_sqe {};
1: +
1: +struct io_uring_sqe {
1: + __u8 opcode;
1: + __u8 flags;
1: + __u16 ioprio;
1: + __s32 fd;
1: + union {
1: + __u64 off;
1: + __u64 addr2;
1: + };
1: + __u64 addr;
1: + __u32 len;
1: + union {
1: + __kernel_rwf_t rw_flags;
1: + __u32 fsync_flags;
1: + __u16 poll_events;
1: + __u32 sync_range_flags;
1: + __u32 msg_flags;
1: + __u32 timeout_flags;
1: + __u32 accept_flags;
1: + __u32 cancel_flags;
1: + };
1: + __u64 user_data;
1: + union {
1: + __u16 buf_index;
1: + __u64 __pad2[3];
1: + };
1: +};
1: +
1: +enum {
1: + IORING_OP_NOP = 0,
1: + IORING_OP_READV = 1,
1: + IORING_OP_WRITEV = 2,
1: + IORING_OP_FSYNC = 3,
1: + IORING_OP_READ_FIXED = 4,
1: + IORING_OP_WRITE_FIXED = 5,
1: + IORING_OP_POLL_ADD = 6,
1: + IORING_OP_POLL_REMOVE = 7,
1: + IORING_OP_SYNC_FILE_RANGE = 8,
1: + IORING_OP_SENDMSG = 9,
1: + IORING_OP_RECVMSG = 10,
1: + IORING_OP_TIMEOUT = 11,
1: + IORING_OP_TIMEOUT_REMOVE = 12,
1: + IORING_OP_ACCEPT = 13,
1: + IORING_OP_ASYNC_CANCEL = 14,
1: + IORING_OP_LINK_TIMEOUT = 15,
1: + IORING_OP_CONNECT = 16,
1: + IORING_OP_LAST = 17,
1: +};
1: +
1: +struct io_uring_cqe {
1: + __u64 user_data;
1: + __s32 res;
1: + __u32 flags;
1: +};
1: +
1: +struct io_sqring_offsets {
1: + __u32 head;
1: + __u32 tail;
1: + __u32 ring_mask;
1: + __u32 ring_entries;
1: + __u32 flags;
1: + __u32 dropped;
1: + __u32 array;
1: + __u32 resv1;
1: + __u64 resv2;
1: +};
1: +
1: +struct io_cqring_offsets {
1: + __u32 head;
1: + __u32 tail;
1: + __u32 ring_mask;
1: + __u32 ring_entries;
1: + __u32 overflow;
1: + __u32 cqes;
1: + __u64 resv[2];
1: +};
1: +
1: +struct io_uring_params {
1: + __u32 sq_entries;
1: + __u32 cq_entries;
1: + __u32 flags;
1: + __u32 sq_thread_cpu;
1: + __u32 sq_thread_idle;
1: + __u32 features;
1: + __u32 resv[4];
1: + struct io_sqring_offsets sq_off;
1: + struct io_cqring_offsets cq_off;
1: +};
1: +
1: +struct io_uring_files_update {
1: + __u32 offset;
1: + __u32 resv;
1: + __u64 fds;
1: +};
1: +
1: +enum {
1: + IO_WQ_WORK_CANCEL = 1,
1: + IO_WQ_WORK_HAS_MM = 2,
1: + IO_WQ_WORK_HASHED = 4,
1: + IO_WQ_WORK_NEEDS_USER = 8,
1: + IO_WQ_WORK_NEEDS_FILES = 16,
1: + IO_WQ_WORK_UNBOUND = 32,
1: + IO_WQ_WORK_INTERNAL = 64,
1: + IO_WQ_WORK_CB = 128,
1: + IO_WQ_HASH_SHIFT = 24,
1: +};
1: +
1: +enum io_wq_cancel {
1: + IO_WQ_CANCEL_OK = 0,
1: + IO_WQ_CANCEL_RUNNING = 1,
1: + IO_WQ_CANCEL_NOTFOUND = 2,
1: +};
1: +
1: +typedef void get_work_fn(struct io_wq_work *);
1: +
1: +typedef void put_work_fn(struct io_wq_work *);
1: +
1: +struct io_wq_data {
1: + struct mm_struct___2 *mm;
1: + struct user_struct *user;
1: + const struct cred___2 *creds;
1: + get_work_fn *get_work;
1: + put_work_fn *put_work;
1: +};
1: +
1: +typedef bool work_cancel_fn(struct io_wq_work *, void *);
1: +
1: +struct io_uring {
1: + u32 head;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + u32 tail;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct io_rings {
1: + struct io_uring sq;
1: + struct io_uring cq;
1: + u32 sq_ring_mask;
1: + u32 cq_ring_mask;
1: + u32 sq_ring_entries;
1: + u32 cq_ring_entries;
1: + u32 sq_dropped;
1: + u32 sq_flags;
1: + u32 cq_overflow;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct io_uring_cqe cqes[0];
1: +};
1: +
1: +struct io_mapped_ubuf {
1: + u64 ubuf;
1: + size_t len;
1: + struct bio_vec___2 *bvec;
1: + unsigned int nr_bvecs;
1: +};
1: +
1: +struct fixed_file_table {
1: + struct file___2 **files;
1: +};
1: +
1: +struct io_wq;
1: +
1: +struct io_kiocb;
1: +
1: +struct io_ring_ctx {
1: + struct {
1: + struct percpu_ref refs;
1: + long: 64;
1: + };
1: + struct {
1: + unsigned int flags;
1: + bool compat;
1: + bool account_mem;
1: + bool cq_overflow_flushed;
1: + bool drain_next;
1: + u32 *sq_array;
1: + unsigned int cached_sq_head;
1: + unsigned int sq_entries;
1: + unsigned int sq_mask;
1: + unsigned int sq_thread_idle;
1: + unsigned int cached_sq_dropped;
1: + atomic_t cached_cq_overflow;
1: + struct io_uring_sqe *sq_sqes;
1: + struct list_head defer_list;
1: + struct list_head timeout_list;
1: + struct list_head cq_overflow_list;
1: + wait_queue_head_t inflight_wait;
1: + long: 64;
1: + };
1: + struct io_rings *rings;
1: + struct io_wq *io_wq;
1: + struct task_struct___2 *sqo_thread;
1: + struct mm_struct___2 *sqo_mm;
1: + wait_queue_head_t sqo_wait;
1: + struct fixed_file_table *file_table;
1: + unsigned int nr_user_files;
1: + unsigned int nr_user_bufs;
1: + struct io_mapped_ubuf *user_bufs;
1: + struct user_struct *user;
1: + const struct cred___2 *creds;
1: + struct completion *completions;
1: + struct io_kiocb *fallback_req;
1: + struct socket *ring_sock;
1: + long: 64;
1: + struct {
1: + unsigned int cached_cq_tail;
1: + unsigned int cq_entries;
1: + unsigned int cq_mask;
1: + atomic_t cq_timeouts;
1: + struct wait_queue_head cq_wait;
1: + struct fasync_struct___2 *cq_fasync;
1: + struct eventfd_ctx___2 *cq_ev_fd;
1: + long: 64;
1: + };
1: + struct {
1: + struct mutex uring_lock;
1: + wait_queue_head_t wait;
1: + long: 64;
1: + };
1: + struct {
1: + spinlock_t completion_lock;
1: + bool poll_multi_file;
1: + struct list_head poll_list;
1: + struct hlist_head *cancel_hash;
1: + unsigned int cancel_hash_bits;
1: + spinlock_t inflight_lock;
1: + struct list_head inflight_list;
1: + long: 64;
1: + };
1: +};
1: +
1: +struct io_rw {
1: + struct kiocb___2 kiocb;
1: + u64 addr;
1: + u64 len;
1: +};
1: +
1: +struct io_poll_iocb {
1: + struct file___2 *file;
1: + union {
1: + struct wait_queue_head *head;
1: + u64 addr;
1: + };
1: + __poll_t events;
1: + bool done;
1: + bool canceled;
1: + struct wait_queue_entry wait;
1: +};
1: +
1: +struct io_accept {
1: + struct file___2 *file;
1: + struct sockaddr *addr;
1: + int *addr_len;
1: + int flags;
1: +};
1: +
1: +struct io_sync {
1: + struct file___2 *file;
1: + loff_t len;
1: + loff_t off;
1: + int flags;
1: +};
1: +
1: +struct io_cancel {
1: + struct file___2 *file;
1: + u64 addr;
1: +};
1: +
1: +struct io_timeout {
1: + struct file___2 *file;
1: + u64 addr;
1: + int flags;
1: + unsigned int count;
1: +};
1: +
1: +struct io_connect {
1: + struct file___2 *file;
1: + struct sockaddr *addr;
1: + int addr_len;
1: +};
1: +
1: +struct io_sr_msg {
1: + struct file___2 *file;
1: + struct user_msghdr *msg;
1: + int msg_flags;
1: +};
1: +
1: +struct io_async_ctx;
1: +
1: +struct io_kiocb {
1: + union {
1: + struct file___2 *file;
1: + struct io_rw rw;
1: + struct io_poll_iocb poll;
1: + struct io_accept accept;
1: + struct io_sync sync;
1: + struct io_cancel cancel;
1: + struct io_timeout timeout;
1: + struct io_connect connect;
1: + struct io_sr_msg sr_msg;
1: + };
1: + struct io_async_ctx *io;
1: + struct file___2 *ring_file;
1: + int ring_fd;
1: + bool has_user;
1: + bool in_async;
1: + bool needs_fixed_file;
1: + u8 opcode;
1: + struct io_ring_ctx *ctx;
1: + union {
1: + struct list_head list;
1: + struct hlist_node hash_node;
1: + };
1: + struct list_head link_list;
1: + unsigned int flags;
1: + refcount_t refs;
1: + u64 user_data;
1: + u32 result;
1: + u32 sequence;
1: + struct list_head inflight_entry;
1: + struct io_wq_work work;
1: +};
1: +
1: +struct io_timeout_data {
1: + struct io_kiocb *req;
1: + struct hrtimer timer;
1: + struct timespec64 ts;
1: + enum hrtimer_mode mode;
1: + u32 seq_offset;
1: +};
1: +
1: +struct io_async_connect {
1: + struct __kernel_sockaddr_storage address;
1: +};
1: +
1: +struct io_async_msghdr {
1: + struct iovec fast_iov[8];
1: + struct iovec *iov;
1: + struct sockaddr *uaddr;
1: + struct msghdr msg;
1: +};
1: +
1: +struct io_async_rw {
1: + struct iovec fast_iov[8];
1: + struct iovec *iov;
1: + ssize_t nr_segs;
1: + ssize_t size;
1: +};
1: +
1: +struct io_async_ctx {
1: + union {
1: + struct io_async_rw rw;
1: + struct io_async_msghdr msg;
1: + struct io_async_connect connect;
1: + struct io_timeout_data timeout;
1: + };
1: +};
1: +
1: +struct io_submit_state {
1: + struct blk_plug plug;
1: + void *reqs[8];
1: + unsigned int free_reqs;
1: + unsigned int cur_req;
1: + struct file___2 *file;
1: + unsigned int fd;
1: + unsigned int has_refs;
1: + unsigned int used_refs;
1: + unsigned int ios_left;
1: +};
1: +
1: +struct io_poll_table {
1: + struct poll_table_struct___2 pt;
1: + struct io_kiocb *req;
1: + int error;
1: +};
1: +
1: +struct io_wait_queue {
1: + struct wait_queue_entry wq;
1: + struct io_ring_ctx *ctx;
1: + unsigned int to_wait;
1: + unsigned int nr_timeouts;
1: +};
1: +
1: +struct io_wq_work_list {
1: + struct io_wq_work_node *first;
1: + struct io_wq_work_node *last;
1: +};
1: +
1: +enum {
1: + IO_WORKER_F_UP = 1,
1: + IO_WORKER_F_RUNNING = 2,
1: + IO_WORKER_F_FREE = 4,
1: + IO_WORKER_F_EXITING = 8,
1: + IO_WORKER_F_FIXED = 16,
1: + IO_WORKER_F_BOUND = 32,
1: +};
1: +
1: +enum {
1: + IO_WQ_BIT_EXIT = 0,
1: + IO_WQ_BIT_CANCEL = 1,
1: + IO_WQ_BIT_ERROR = 2,
1: +};
1: +
1: +enum {
1: + IO_WQE_FLAG_STALLED = 1,
1: +};
1: +
1: +struct io_wqe;
1: +
1: +struct io_worker {
1: + refcount_t ref;
1: + unsigned int flags;
1: + struct hlist_nulls_node nulls_node;
1: + struct list_head all_list;
1: + struct task_struct___2 *task;
1: + struct io_wqe *wqe;
1: + struct io_wq_work *cur_work;
1: + spinlock_t lock;
1: + struct callback_head rcu;
1: + struct mm_struct___2 *mm;
1: + const struct cred___2 *creds;
1: + struct files_struct *restore_files;
1: +};
1: +
1: +struct io_wqe_acct {
1: + unsigned int nr_workers;
1: + unsigned int max_workers;
1: + atomic_t nr_running;
1: +};
1: +
1: +struct io_wq___2;
1: +
1: +struct io_wqe {
1: + struct {
1: + spinlock_t lock;
1: + struct io_wq_work_list work_list;
1: + long unsigned int hash_map;
1: + unsigned int flags;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + };
1: + int node;
1: + struct io_wqe_acct acct[2];
1: + struct hlist_nulls_head free_list;
1: + struct list_head all_list;
1: + struct io_wq___2 *wq;
1: +};
1: +
1: +enum {
1: + IO_WQ_ACCT_BOUND = 0,
1: + IO_WQ_ACCT_UNBOUND = 1,
1: +};
1: +
1: +struct io_wq___2 {
1: + struct io_wqe **wqes;
1: + long unsigned int state;
1: + get_work_fn *get_work;
1: + put_work_fn *put_work;
1: + struct task_struct___2 *manager;
1: + struct user_struct *user;
1: + const struct cred___2 *creds;
1: + struct mm_struct___2 *mm;
1: + refcount_t refs;
1: + struct completion done;
1: +};
1: +
1: +struct io_cb_cancel_data {
1: + struct io_wqe *wqe;
1: + work_cancel_fn *cancel;
1: + void *caller_data;
1: +};
1: +
1: +struct io_wq_flush_data {
1: + struct io_wq_work work;
1: + struct completion done;
1: +};
1: +
1: +struct flock64 {
1: + short int l_type;
1: + short int l_whence;
1: + __kernel_loff_t l_start;
1: + __kernel_loff_t l_len;
1: + __kernel_pid_t l_pid;
1: +};
1: +
1: +struct trace_event_raw_locks_get_lock_context {
1: + struct trace_entry ent;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + unsigned char type;
1: + struct file_lock_context *ctx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_filelock_lock {
1: + struct trace_entry ent;
1: + struct file_lock *fl;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + struct file_lock *fl_blocker;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_pid;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + loff_t fl_start;
1: + loff_t fl_end;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_filelock_lease {
1: + struct trace_entry ent;
1: + struct file_lock *fl;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + struct file_lock *fl_blocker;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + long unsigned int fl_break_time;
1: + long unsigned int fl_downgrade_time;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_generic_add_lease {
1: + struct trace_entry ent;
1: + long unsigned int i_ino;
1: + int wcount;
1: + int rcount;
1: + int icount;
1: + dev_t s_dev;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_leases_conflict {
1: + struct trace_entry ent;
1: + void *lease;
1: + void *breaker;
1: + unsigned int l_fl_flags;
1: + unsigned int b_fl_flags;
1: + unsigned char l_fl_type;
1: + unsigned char b_fl_type;
1: + bool conflict;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_locks_get_lock_context {};
1: +
1: +struct trace_event_data_offsets_filelock_lock {};
1: +
1: +struct trace_event_data_offsets_filelock_lease {};
1: +
1: +struct trace_event_data_offsets_generic_add_lease {};
1: +
1: +struct trace_event_data_offsets_leases_conflict {};
1: +
1: +struct file_lock_list_struct {
1: + spinlock_t lock;
1: + struct hlist_head hlist;
1: +};
1: +
1: +struct locks_iterator {
1: + int li_cpu;
1: + loff_t li_pos;
1: +};
1: +
1: +struct nfs_string {
1: + unsigned int len;
1: + const char *data;
1: +};
1: +
1: +struct nfs4_mount_data {
1: + int version;
1: + int flags;
1: + int rsize;
1: + int wsize;
1: + int timeo;
1: + int retrans;
1: + int acregmin;
1: + int acregmax;
1: + int acdirmin;
1: + int acdirmax;
1: + struct nfs_string client_addr;
1: + struct nfs_string mnt_path;
1: + struct nfs_string hostname;
1: + unsigned int host_addrlen;
1: + struct sockaddr *host_addr;
1: + int proto;
1: + int auth_flavourlen;
1: + int *auth_flavours;
1: +};
1: +
1: +struct compat_nfs_string {
1: + compat_uint_t len;
1: + compat_uptr_t data;
1: +};
1: +
1: +struct compat_nfs4_mount_data_v1 {
1: + compat_int_t version;
1: + compat_int_t flags;
1: + compat_int_t rsize;
1: + compat_int_t wsize;
1: + compat_int_t timeo;
1: + compat_int_t retrans;
1: + compat_int_t acregmin;
1: + compat_int_t acregmax;
1: + compat_int_t acdirmin;
1: + compat_int_t acdirmax;
1: + struct compat_nfs_string client_addr;
1: + struct compat_nfs_string mnt_path;
1: + struct compat_nfs_string hostname;
1: + compat_uint_t host_addrlen;
1: + compat_uptr_t host_addr;
1: + compat_int_t proto;
1: + compat_int_t auth_flavourlen;
1: + compat_uptr_t auth_flavours;
1: +};
1: +
1: +struct serial_icounter_struct {
1: + int cts;
1: + int dsr;
1: + int rng;
1: + int dcd;
1: + int rx;
1: + int tx;
1: + int frame;
1: + int overrun;
1: + int parity;
1: + int brk;
1: + int buf_overrun;
1: + int reserved[9];
1: +};
1: +
1: +struct serial_struct {
1: + int type;
1: + int line;
1: + unsigned int port;
1: + int irq;
1: + int flags;
1: + int xmit_fifo_size;
1: + int custom_divisor;
1: + int baud_base;
1: + short unsigned int close_delay;
1: + char io_type;
1: + char reserved_char[1];
1: + int hub6;
1: + short unsigned int closing_wait;
1: + short unsigned int closing_wait2;
1: + unsigned char *iomem_base;
1: + short unsigned int iomem_reg_shift;
1: + unsigned int port_high;
1: + long unsigned int iomap_base;
1: +};
1: +
1: +enum {
1: + VERBOSE_STATUS = 1,
1: +};
1: +
1: +enum {
1: + Enabled = 0,
1: + Magic = 1,
1: +};
1: +
1: +typedef struct {
1: + struct list_head list;
1: + long unsigned int flags;
1: + int offset;
1: + int size;
1: + char *magic;
1: + char *mask;
1: + const char *interpreter;
1: + char *name;
1: + struct dentry___2 *dentry;
1: + struct file *interp_file;
1: +} Node;
1: +
1: +typedef unsigned int __kernel_uid_t;
1: +
1: +typedef unsigned int __kernel_gid_t;
1: +
1: +struct elf64_phdr {
1: + Elf64_Word p_type;
1: + Elf64_Word p_flags;
1: + Elf64_Off p_offset;
1: + Elf64_Addr p_vaddr;
1: + Elf64_Addr p_paddr;
1: + Elf64_Xword p_filesz;
1: + Elf64_Xword p_memsz;
1: + Elf64_Xword p_align;
1: +};
1: +
1: +struct elf_prpsinfo {
1: + char pr_state;
1: + char pr_sname;
1: + char pr_zomb;
1: + char pr_nice;
1: + long unsigned int pr_flag;
1: + __kernel_uid_t pr_uid;
1: + __kernel_gid_t pr_gid;
1: + pid_t pr_pid;
1: + pid_t pr_ppid;
1: + pid_t pr_pgrp;
1: + pid_t pr_sid;
1: + char pr_fname[16];
1: + char pr_psargs[80];
1: +};
1: +
1: +struct arch_elf_state {};
1: +
1: +struct memelfnote {
1: + const char *name;
1: + int type;
1: + unsigned int datasz;
1: + void *data;
1: +};
1: +
1: +struct elf_thread_core_info {
1: + struct elf_thread_core_info *next;
1: + struct task_struct *task;
1: + struct elf_prstatus prstatus;
1: + struct memelfnote notes[0];
1: +};
1: +
1: +struct elf_note_info {
1: + struct elf_thread_core_info *thread;
1: + struct memelfnote psinfo;
1: + struct memelfnote signote;
1: + struct memelfnote auxv;
1: + struct memelfnote files;
1: + siginfo_t csigdata;
1: + size_t size;
1: + int thread_notes;
1: +};
1: +
1: +typedef __u32 Elf32_Addr;
1: +
1: +typedef __u16 Elf32_Half;
1: +
1: +typedef __u32 Elf32_Off;
1: +
1: +struct elf32_hdr {
1: + unsigned char e_ident[16];
1: + Elf32_Half e_type;
1: + Elf32_Half e_machine;
1: + Elf32_Word e_version;
1: + Elf32_Addr e_entry;
1: + Elf32_Off e_phoff;
1: + Elf32_Off e_shoff;
1: + Elf32_Word e_flags;
1: + Elf32_Half e_ehsize;
1: + Elf32_Half e_phentsize;
1: + Elf32_Half e_phnum;
1: + Elf32_Half e_shentsize;
1: + Elf32_Half e_shnum;
1: + Elf32_Half e_shstrndx;
1: +};
1: +
1: +struct elf32_phdr {
1: + Elf32_Word p_type;
1: + Elf32_Off p_offset;
1: + Elf32_Addr p_vaddr;
1: + Elf32_Addr p_paddr;
1: + Elf32_Word p_filesz;
1: + Elf32_Word p_memsz;
1: + Elf32_Word p_flags;
1: + Elf32_Word p_align;
1: +};
1: +
1: +struct elf32_shdr {
1: + Elf32_Word sh_name;
1: + Elf32_Word sh_type;
1: + Elf32_Word sh_flags;
1: + Elf32_Addr sh_addr;
1: + Elf32_Off sh_offset;
1: + Elf32_Word sh_size;
1: + Elf32_Word sh_link;
1: + Elf32_Word sh_info;
1: + Elf32_Word sh_addralign;
1: + Elf32_Word sh_entsize;
1: +};
1: +
1: +typedef struct user_regs_struct compat_elf_gregset_t;
1: +
1: +struct compat_elf_siginfo {
1: + compat_int_t si_signo;
1: + compat_int_t si_code;
1: + compat_int_t si_errno;
1: +};
1: +
1: +struct compat_elf_prstatus {
1: + struct compat_elf_siginfo pr_info;
1: + short int pr_cursig;
1: + compat_ulong_t pr_sigpend;
1: + compat_ulong_t pr_sighold;
1: + compat_pid_t pr_pid;
1: + compat_pid_t pr_ppid;
1: + compat_pid_t pr_pgrp;
1: + compat_pid_t pr_sid;
1: + struct old_timeval32 pr_utime;
1: + struct old_timeval32 pr_stime;
1: + struct old_timeval32 pr_cutime;
1: + struct old_timeval32 pr_cstime;
1: + compat_elf_gregset_t pr_reg;
1: + compat_int_t pr_fpvalid;
1: +};
1: +
1: +struct compat_elf_prpsinfo {
1: + char pr_state;
1: + char pr_sname;
1: + char pr_zomb;
1: + char pr_nice;
1: + compat_ulong_t pr_flag;
1: + __compat_uid_t pr_uid;
1: + __compat_gid_t pr_gid;
1: + compat_pid_t pr_pid;
1: + compat_pid_t pr_ppid;
1: + compat_pid_t pr_pgrp;
1: + compat_pid_t pr_sid;
1: + char pr_fname[16];
1: + char pr_psargs[80];
1: +};
1: +
1: +struct elf_thread_core_info___2 {
1: + struct elf_thread_core_info___2 *next;
1: + struct task_struct *task;
1: + struct compat_elf_prstatus prstatus;
1: + struct memelfnote notes[0];
1: +};
1: +
1: +struct elf_note_info___2 {
1: + struct elf_thread_core_info___2 *thread;
1: + struct memelfnote psinfo;
1: + struct memelfnote signote;
1: + struct memelfnote auxv;
1: + struct memelfnote files;
1: + compat_siginfo_t csigdata;
1: + size_t size;
1: + int thread_notes;
1: +};
1: +
1: +struct mb_cache_entry {
1: + struct list_head e_list;
1: + struct hlist_bl_node e_hash_list;
1: + atomic_t e_refcnt;
1: + u32 e_key;
1: + u32 e_referenced: 1;
1: + u32 e_reusable: 1;
1: + u64 e_value;
1: +};
1: +
1: +struct mb_cache {
1: + struct hlist_bl_head *c_hash;
1: + int c_bucket_bits;
1: + long unsigned int c_max_entries;
1: + spinlock_t c_list_lock;
1: + struct list_head c_list;
1: + long unsigned int c_entry_count;
1: + struct shrinker c_shrink;
1: + struct work_struct c_shrink_work;
1: +};
1: +
1: +struct posix_acl_xattr_entry {
1: + __le16 e_tag;
1: + __le16 e_perm;
1: + __le32 e_id;
1: +};
1: +
1: +struct posix_acl_xattr_header {
1: + __le32 a_version;
1: +};
1: +
1: +struct xdr_buf {
1: + struct kvec head[1];
1: + struct kvec tail[1];
1: + struct bio_vec *bvec;
1: + struct page___2 **pages;
1: + unsigned int page_base;
1: + unsigned int page_len;
1: + unsigned int flags;
1: + unsigned int buflen;
1: + unsigned int len;
1: +};
1: +
1: +struct xdr_array2_desc;
1: +
1: +typedef int (*xdr_xcode_elem_t)(struct xdr_array2_desc *, void *);
1: +
1: +struct xdr_array2_desc {
1: + unsigned int elem_size;
1: + unsigned int array_len;
1: + unsigned int array_maxlen;
1: + xdr_xcode_elem_t xcode;
1: +};
1: +
1: +struct nfsacl_encode_desc {
1: + struct xdr_array2_desc desc;
1: + unsigned int count;
1: + struct posix_acl *acl;
1: + int typeflag;
1: + kuid_t uid;
1: + kgid_t gid;
1: +};
1: +
1: +struct nfsacl_simple_acl {
1: + struct posix_acl acl;
1: + struct posix_acl_entry ace[4];
1: +};
1: +
1: +struct nfsacl_decode_desc {
1: + struct xdr_array2_desc desc;
1: + unsigned int count;
1: + struct posix_acl *acl;
1: +};
1: +
1: +struct lock_manager {
1: + struct list_head list;
1: + bool block_opens;
1: +};
1: +
1: +struct core_name {
1: + char *corename;
1: + int used;
1: + int size;
1: +};
1: +
1: +struct trace_event_raw_iomap_readpage_class {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + int nr_pages;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_iomap_page_class {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + long unsigned int pgoff;
1: + loff_t size;
1: + long unsigned int offset;
1: + unsigned int length;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_iomap_class {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + u64 addr;
1: + loff_t offset;
1: + u64 length;
1: + u16 type;
1: + u16 flags;
1: + dev_t bdev;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_iomap_apply {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + loff_t pos;
1: + loff_t length;
1: + unsigned int flags;
1: + const void *ops;
1: + void *actor;
1: + long unsigned int caller;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_iomap_readpage_class {};
1: +
1: +struct trace_event_data_offsets_iomap_page_class {};
1: +
1: +struct trace_event_data_offsets_iomap_class {};
1: +
1: +struct trace_event_data_offsets_iomap_apply {};
1: +
1: +struct iomap_ops {
1: + int (*iomap_begin)(struct inode___2 *, loff_t, loff_t, unsigned int, struct iomap___2 *, struct iomap___2 *);
1: + int (*iomap_end)(struct inode___2 *, loff_t, loff_t, ssize_t, unsigned int, struct iomap___2 *);
1: +};
1: +
1: +typedef loff_t (*iomap_actor_t)(struct inode___2 *, loff_t, loff_t, void *, struct iomap___2 *, struct iomap___2 *);
1: +
1: +struct iomap_ioend {
1: + struct list_head io_list;
1: + u16 io_type;
1: + u16 io_flags;
1: + struct inode___2 *io_inode;
1: + size_t io_size;
1: + loff_t io_offset;
1: + void *io_private;
1: + struct bio *io_bio;
1: + struct bio io_inline_bio;
1: +};
1: +
1: +struct iomap_writepage_ctx;
1: +
1: +struct iomap_writeback_ops {
1: + int (*map_blocks)(struct iomap_writepage_ctx *, struct inode___2 *, loff_t);
1: + int (*prepare_ioend)(struct iomap_ioend *, int);
1: + void (*discard_page)(struct page___2 *);
1: +};
1: +
1: +struct iomap_writepage_ctx {
1: + struct iomap___2 iomap;
1: + struct iomap_ioend *ioend;
1: + const struct iomap_writeback_ops *ops;
1: +};
1: +
1: +struct iomap_page {
1: + atomic_t read_count;
1: + atomic_t write_count;
1: + spinlock_t uptodate_lock;
1: + long unsigned int uptodate[1];
1: +};
1: +
1: +struct iomap_readpage_ctx {
1: + struct page___2 *cur_page;
1: + bool cur_page_in_bio;
1: + bool is_readahead;
1: + struct bio *bio;
1: + struct list_head *pages;
1: +};
1: +
1: +enum {
1: + IOMAP_WRITE_F_UNSHARE = 1,
1: +};
1: +
1: +struct iomap_dio_ops {
1: + int (*end_io)(struct kiocb___2 *, ssize_t, int, unsigned int);
1: +};
1: +
1: +struct iomap_dio {
1: + struct kiocb___2 *iocb;
1: + const struct iomap_dio_ops *dops;
1: + loff_t i_size;
1: + loff_t size;
1: + atomic_t ref;
1: + unsigned int flags;
1: + int error;
1: + bool wait_for_completion;
1: + union {
1: + struct {
1: + struct iov_iter___2 *iter;
1: + struct task_struct___2 *waiter;
1: + struct request_queue *last_queue;
1: + blk_qc_t cookie;
1: + } submit;
1: + struct {
1: + struct work_struct work;
1: + } aio;
1: + };
1: +};
1: +
1: +struct fiemap_ctx {
1: + struct fiemap_extent_info *fi;
1: + struct iomap___2 prev;
1: +};
1: +
1: +struct iomap_swapfile_info {
1: + struct iomap___2 iomap;
1: + struct swap_info_struct *sis;
1: + uint64_t lowest_ppage;
1: + uint64_t highest_ppage;
1: + long unsigned int nr_pages;
1: + int nr_extents;
1: +};
1: +
1: +enum {
1: + QIF_BLIMITS_B = 0,
1: + QIF_SPACE_B = 1,
1: + QIF_ILIMITS_B = 2,
1: + QIF_INODES_B = 3,
1: + QIF_BTIME_B = 4,
1: + QIF_ITIME_B = 5,
1: +};
1: +
1: +enum {
1: + DQF_ROOT_SQUASH_B = 0,
1: + DQF_SYS_FILE_B = 16,
1: + DQF_PRIVATE = 17,
1: +};
1: +
1: +typedef __kernel_uid32_t qid_t;
1: +
1: +enum {
1: + DQF_INFO_DIRTY_B = 17,
1: +};
1: +
1: +enum {
1: + DQST_LOOKUPS = 0,
1: + DQST_DROPS = 1,
1: + DQST_READS = 2,
1: + DQST_WRITES = 3,
1: + DQST_CACHE_HITS = 4,
1: + DQST_ALLOC_DQUOTS = 5,
1: + DQST_FREE_DQUOTS = 6,
1: + DQST_SYNCS = 7,
1: + _DQST_DQSTAT_LAST = 8,
1: +};
1: +
1: +enum {
1: + _DQUOT_USAGE_ENABLED = 0,
1: + _DQUOT_LIMITS_ENABLED = 1,
1: + _DQUOT_SUSPENDED = 2,
1: + _DQUOT_STATE_FLAGS = 3,
1: +};
1: +
1: +struct quota_module_name {
1: + int qm_fmt_id;
1: + char *qm_mod_name;
1: +};
1: +
1: +struct dquot_warn {
1: + struct super_block___2 *w_sb;
1: + struct kqid w_dq_id;
1: + short int w_type;
1: +};
1: +
1: +struct qtree_fmt_operations {
1: + void (*mem2disk_dqblk)(void *, struct dquot___2 *);
1: + void (*disk2mem_dqblk)(struct dquot___2 *, void *);
1: + int (*is_id)(void *, struct dquot___2 *);
1: +};
1: +
1: +struct qtree_mem_dqinfo {
1: + struct super_block___2 *dqi_sb;
1: + int dqi_type;
1: + unsigned int dqi_blocks;
1: + unsigned int dqi_free_blk;
1: + unsigned int dqi_free_entry;
1: + unsigned int dqi_blocksize_bits;
1: + unsigned int dqi_entry_size;
1: + unsigned int dqi_usable_bs;
1: + unsigned int dqi_qtree_depth;
1: + const struct qtree_fmt_operations *dqi_ops;
1: +};
1: +
1: +struct v2_disk_dqheader {
1: + __le32 dqh_magic;
1: + __le32 dqh_version;
1: +};
1: +
1: +struct v2r0_disk_dqblk {
1: + __le32 dqb_id;
1: + __le32 dqb_ihardlimit;
1: + __le32 dqb_isoftlimit;
1: + __le32 dqb_curinodes;
1: + __le32 dqb_bhardlimit;
1: + __le32 dqb_bsoftlimit;
1: + __le64 dqb_curspace;
1: + __le64 dqb_btime;
1: + __le64 dqb_itime;
1: +};
1: +
1: +struct v2r1_disk_dqblk {
1: + __le32 dqb_id;
1: + __le32 dqb_pad;
1: + __le64 dqb_ihardlimit;
1: + __le64 dqb_isoftlimit;
1: + __le64 dqb_curinodes;
1: + __le64 dqb_bhardlimit;
1: + __le64 dqb_bsoftlimit;
1: + __le64 dqb_curspace;
1: + __le64 dqb_btime;
1: + __le64 dqb_itime;
1: +};
1: +
1: +struct v2_disk_dqinfo {
1: + __le32 dqi_bgrace;
1: + __le32 dqi_igrace;
1: + __le32 dqi_flags;
1: + __le32 dqi_blocks;
1: + __le32 dqi_free_blk;
1: + __le32 dqi_free_entry;
1: +};
1: +
1: +struct qt_disk_dqdbheader {
1: + __le32 dqdh_next_free;
1: + __le32 dqdh_prev_free;
1: + __le16 dqdh_entries;
1: + __le16 dqdh_pad1;
1: + __le32 dqdh_pad2;
1: +};
1: +
1: +struct fs_disk_quota {
1: + __s8 d_version;
1: + __s8 d_flags;
1: + __u16 d_fieldmask;
1: + __u32 d_id;
1: + __u64 d_blk_hardlimit;
1: + __u64 d_blk_softlimit;
1: + __u64 d_ino_hardlimit;
1: + __u64 d_ino_softlimit;
1: + __u64 d_bcount;
1: + __u64 d_icount;
1: + __s32 d_itimer;
1: + __s32 d_btimer;
1: + __u16 d_iwarns;
1: + __u16 d_bwarns;
1: + __s32 d_padding2;
1: + __u64 d_rtb_hardlimit;
1: + __u64 d_rtb_softlimit;
1: + __u64 d_rtbcount;
1: + __s32 d_rtbtimer;
1: + __u16 d_rtbwarns;
1: + __s16 d_padding3;
1: + char d_padding4[8];
1: +};
1: +
1: +struct fs_qfilestat {
1: + __u64 qfs_ino;
1: + __u64 qfs_nblks;
1: + __u32 qfs_nextents;
1: +};
1: +
1: +typedef struct fs_qfilestat fs_qfilestat_t;
1: +
1: +struct fs_quota_stat {
1: + __s8 qs_version;
1: + __u16 qs_flags;
1: + __s8 qs_pad;
1: + fs_qfilestat_t qs_uquota;
1: + fs_qfilestat_t qs_gquota;
1: + __u32 qs_incoredqs;
1: + __s32 qs_btimelimit;
1: + __s32 qs_itimelimit;
1: + __s32 qs_rtbtimelimit;
1: + __u16 qs_bwarnlimit;
1: + __u16 qs_iwarnlimit;
1: +};
1: +
1: +struct fs_qfilestatv {
1: + __u64 qfs_ino;
1: + __u64 qfs_nblks;
1: + __u32 qfs_nextents;
1: + __u32 qfs_pad;
1: +};
1: +
1: +struct fs_quota_statv {
1: + __s8 qs_version;
1: + __u8 qs_pad1;
1: + __u16 qs_flags;
1: + __u32 qs_incoredqs;
1: + struct fs_qfilestatv qs_uquota;
1: + struct fs_qfilestatv qs_gquota;
1: + struct fs_qfilestatv qs_pquota;
1: + __s32 qs_btimelimit;
1: + __s32 qs_itimelimit;
1: + __s32 qs_rtbtimelimit;
1: + __u16 qs_bwarnlimit;
1: + __u16 qs_iwarnlimit;
1: + __u64 qs_pad2[8];
1: +};
1: +
1: +struct if_dqblk {
1: + __u64 dqb_bhardlimit;
1: + __u64 dqb_bsoftlimit;
1: + __u64 dqb_curspace;
1: + __u64 dqb_ihardlimit;
1: + __u64 dqb_isoftlimit;
1: + __u64 dqb_curinodes;
1: + __u64 dqb_btime;
1: + __u64 dqb_itime;
1: + __u32 dqb_valid;
1: +};
1: +
1: +struct if_nextdqblk {
1: + __u64 dqb_bhardlimit;
1: + __u64 dqb_bsoftlimit;
1: + __u64 dqb_curspace;
1: + __u64 dqb_ihardlimit;
1: + __u64 dqb_isoftlimit;
1: + __u64 dqb_curinodes;
1: + __u64 dqb_btime;
1: + __u64 dqb_itime;
1: + __u32 dqb_valid;
1: + __u32 dqb_id;
1: +};
1: +
1: +struct if_dqinfo {
1: + __u64 dqi_bgrace;
1: + __u64 dqi_igrace;
1: + __u32 dqi_flags;
1: + __u32 dqi_valid;
1: +};
1: +
1: +struct compat_if_dqblk {
1: + compat_u64 dqb_bhardlimit;
1: + compat_u64 dqb_bsoftlimit;
1: + compat_u64 dqb_curspace;
1: + compat_u64 dqb_ihardlimit;
1: + compat_u64 dqb_isoftlimit;
1: + compat_u64 dqb_curinodes;
1: + compat_u64 dqb_btime;
1: + compat_u64 dqb_itime;
1: + compat_uint_t dqb_valid;
1: +} __attribute__((packed));
1: +
1: +struct compat_fs_qfilestat {
1: + compat_u64 dqb_bhardlimit;
1: + compat_u64 qfs_nblks;
1: + compat_uint_t qfs_nextents;
1: +} __attribute__((packed));
1: +
1: +struct compat_fs_quota_stat {
1: + __s8 qs_version;
1: + char: 8;
1: + __u16 qs_flags;
1: + __s8 qs_pad;
1: + int: 24;
1: + struct compat_fs_qfilestat qs_uquota;
1: + struct compat_fs_qfilestat qs_gquota;
1: + compat_uint_t qs_incoredqs;
1: + compat_int_t qs_btimelimit;
1: + compat_int_t qs_itimelimit;
1: + compat_int_t qs_rtbtimelimit;
1: + __u16 qs_bwarnlimit;
1: + __u16 qs_iwarnlimit;
1: +} __attribute__((packed));
1: +
1: +enum {
1: + QUOTA_NL_C_UNSPEC = 0,
1: + QUOTA_NL_C_WARNING = 1,
1: + __QUOTA_NL_C_MAX = 2,
1: +};
1: +
1: +enum {
1: + QUOTA_NL_A_UNSPEC = 0,
1: + QUOTA_NL_A_QTYPE = 1,
1: + QUOTA_NL_A_EXCESS_ID = 2,
1: + QUOTA_NL_A_WARNING = 3,
1: + QUOTA_NL_A_DEV_MAJOR = 4,
1: + QUOTA_NL_A_DEV_MINOR = 5,
1: + QUOTA_NL_A_CAUSED_ID = 6,
1: + QUOTA_NL_A_PAD = 7,
1: + __QUOTA_NL_A_MAX = 8,
1: +};
1: +
1: +struct proc_maps_private {
1: + struct inode___2 *inode;
1: + struct task_struct *task;
1: + struct mm_struct___2 *mm;
1: + struct vm_area_struct___2 *tail_vma;
1: + struct mempolicy *task_mempolicy;
1: +};
1: +
1: +struct mem_size_stats {
1: + long unsigned int resident;
1: + long unsigned int shared_clean;
1: + long unsigned int shared_dirty;
1: + long unsigned int private_clean;
1: + long unsigned int private_dirty;
1: + long unsigned int referenced;
1: + long unsigned int anonymous;
1: + long unsigned int lazyfree;
1: + long unsigned int anonymous_thp;
1: + long unsigned int shmem_thp;
1: + long unsigned int file_thp;
1: + long unsigned int swap;
1: + long unsigned int shared_hugetlb;
1: + long unsigned int private_hugetlb;
1: + u64 pss;
1: + u64 pss_anon;
1: + u64 pss_file;
1: + u64 pss_shmem;
1: + u64 pss_locked;
1: + u64 swap_pss;
1: + bool check_shmem_swap;
1: +};
1: +
1: +enum clear_refs_types {
1: + CLEAR_REFS_ALL = 1,
1: + CLEAR_REFS_ANON = 2,
1: + CLEAR_REFS_MAPPED = 3,
1: + CLEAR_REFS_SOFT_DIRTY = 4,
1: + CLEAR_REFS_MM_HIWATER_RSS = 5,
1: + CLEAR_REFS_LAST = 6,
1: +};
1: +
1: +struct clear_refs_private {
1: + enum clear_refs_types type;
1: +};
1: +
1: +typedef struct {
1: + u64 pme;
1: +} pagemap_entry_t;
1: +
1: +struct pagemapread {
1: + int pos;
1: + int len;
1: + pagemap_entry_t *buffer;
1: + bool show_pfn;
1: +};
1: +
1: +struct numa_maps {
1: + long unsigned int pages;
1: + long unsigned int anon;
1: + long unsigned int active;
1: + long unsigned int writeback;
1: + long unsigned int mapcount_max;
1: + long unsigned int dirty;
1: + long unsigned int swapcache;
1: + long unsigned int node[64];
1: +};
1: +
1: +struct numa_maps_private {
1: + struct proc_maps_private proc_maps;
1: + struct numa_maps md;
1: +};
1: +
1: +enum {
1: + HIDEPID_OFF = 0,
1: + HIDEPID_NO_ACCESS = 1,
1: + HIDEPID_INVISIBLE = 2,
1: +};
1: +
1: +struct pde_opener {
1: + struct list_head lh;
1: + struct file___2 *file;
1: + bool closing;
1: + struct completion *c;
1: +};
1: +
1: +enum {
1: + BIAS = -2147483648,
1: +};
1: +
1: +typedef int (*proc_write_t___2)(struct file *, char *, size_t);
1: +
1: +struct proc_fs_context {
1: + struct pid_namespace *pid_ns;
1: + unsigned int mask;
1: + int hidepid;
1: + int gid;
1: +};
1: +
1: +enum proc_param {
1: + Opt_gid___2 = 0,
1: + Opt_hidepid = 1,
1: +};
1: +
1: +struct genradix_root;
1: +
1: +struct __genradix {
1: + struct genradix_root *root;
1: +};
1: +
1: +struct syscall_info {
1: + __u64 sp;
1: + struct seccomp_data data;
1: +};
1: +
1: +typedef struct dentry___2 *instantiate_t(struct dentry___2 *, struct task_struct *, const void *);
1: +
1: +struct pid_entry {
1: + const char *name;
1: + unsigned int len;
1: + umode_t mode;
1: + const struct inode_operations___2 *iop;
1: + const struct file_operations___2 *fop;
1: + union proc_op op;
1: +};
1: +
1: +struct limit_names {
1: + const char *name;
1: + const char *unit;
1: +};
1: +
1: +struct map_files_info {
1: + long unsigned int start;
1: + long unsigned int end;
1: + fmode_t mode;
1: +};
1: +
1: +struct tgid_iter {
1: + unsigned int tgid;
1: + struct task_struct *task;
1: +};
1: +
1: +struct fd_data {
1: + fmode_t mode;
1: + unsigned int fd;
1: +};
1: +
1: +struct seq_net_private {
1: + struct net *net;
1: +};
1: +
1: +struct vmcore {
1: + struct list_head list;
1: + long long unsigned int paddr;
1: + long long unsigned int size;
1: + loff_t offset;
1: +};
1: +
1: +typedef struct elf32_hdr Elf32_Ehdr;
1: +
1: +typedef struct elf32_phdr Elf32_Phdr;
1: +
1: +typedef struct elf64_phdr Elf64_Phdr;
1: +
1: +typedef struct elf32_note Elf32_Nhdr;
1: +
1: +typedef struct elf64_note Elf64_Nhdr;
1: +
1: +struct kernfs_iattrs {
1: + kuid_t ia_uid;
1: + kgid_t ia_gid;
1: + struct timespec64 ia_atime;
1: + struct timespec64 ia_mtime;
1: + struct timespec64 ia_ctime;
1: + struct simple_xattrs xattrs;
1: +};
1: +
1: +struct kernfs_super_info {
1: + struct super_block___2 *sb;
1: + struct kernfs_root___2 *root;
1: + const void *ns;
1: + struct list_head node;
1: +};
1: +
1: +enum kernfs_node_flag {
1: + KERNFS_ACTIVATED = 16,
1: + KERNFS_NS = 32,
1: + KERNFS_HAS_SEQ_SHOW = 64,
1: + KERNFS_HAS_MMAP = 128,
1: + KERNFS_LOCKDEP = 256,
1: + KERNFS_SUICIDAL = 1024,
1: + KERNFS_SUICIDED = 2048,
1: + KERNFS_EMPTY_DIR = 4096,
1: + KERNFS_HAS_RELEASE = 8192,
1: +};
1: +
1: +struct kernfs_open_node {
1: + atomic_t refcnt;
1: + atomic_t event;
1: + wait_queue_head_t poll;
1: + struct list_head files;
1: +};
1: +
1: +struct pts_mount_opts {
1: + int setuid;
1: + int setgid;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: + umode_t ptmxmode;
1: + int reserve;
1: + int max;
1: +};
1: +
1: +enum {
1: + Opt_uid___2 = 0,
1: + Opt_gid___3 = 1,
1: + Opt_mode___2 = 2,
1: + Opt_ptmxmode = 3,
1: + Opt_newinstance = 4,
1: + Opt_max = 5,
1: + Opt_err = 6,
1: +};
1: +
1: +struct pts_fs_info {
1: + struct ida allocated_ptys;
1: + struct pts_mount_opts mount_opts;
1: + struct super_block___2 *sb;
1: + struct dentry___2 *ptmx_dentry;
1: +};
1: +
1: +struct dcookie_struct {
1: + struct path___2 path;
1: + struct list_head hash_list;
1: +};
1: +
1: +struct dcookie_user {
1: + struct list_head next;
1: +};
1: +
1: +typedef unsigned int tid_t;
1: +
1: +struct transaction_chp_stats_s {
1: + long unsigned int cs_chp_time;
1: + __u32 cs_forced_to_close;
1: + __u32 cs_written;
1: + __u32 cs_dropped;
1: +};
1: +
1: +struct journal_s;
1: +
1: +typedef struct journal_s journal_t;
1: +
1: +struct journal_head;
1: +
1: +struct transaction_s;
1: +
1: +typedef struct transaction_s transaction_t;
1: +
1: +struct transaction_s {
1: + journal_t *t_journal;
1: + tid_t t_tid;
1: + enum {
1: + T_RUNNING = 0,
1: + T_LOCKED = 1,
1: + T_SWITCH = 2,
1: + T_FLUSH = 3,
1: + T_COMMIT = 4,
1: + T_COMMIT_DFLUSH = 5,
1: + T_COMMIT_JFLUSH = 6,
1: + T_COMMIT_CALLBACK = 7,
1: + T_FINISHED = 8,
1: + } t_state;
1: + long unsigned int t_log_start;
1: + int t_nr_buffers;
1: + struct journal_head *t_reserved_list;
1: + struct journal_head *t_buffers;
1: + struct journal_head *t_forget;
1: + struct journal_head *t_checkpoint_list;
1: + struct journal_head *t_checkpoint_io_list;
1: + struct journal_head *t_shadow_list;
1: + struct list_head t_inode_list;
1: + spinlock_t t_handle_lock;
1: + long unsigned int t_max_wait;
1: + long unsigned int t_start;
1: + long unsigned int t_requested;
1: + struct transaction_chp_stats_s t_chp_stats;
1: + atomic_t t_updates;
1: + atomic_t t_outstanding_credits;
1: + atomic_t t_outstanding_revokes;
1: + atomic_t t_handle_count;
1: + transaction_t *t_cpnext;
1: + transaction_t *t_cpprev;
1: + long unsigned int t_expires;
1: + ktime_t t_start_time;
1: + unsigned int t_synchronous_commit: 1;
1: + int t_need_data_flush;
1: + struct list_head t_private_list;
1: +};
1: +
1: +struct jbd2_buffer_trigger_type;
1: +
1: +struct journal_head {
1: + struct buffer_head *b_bh;
1: + spinlock_t b_state_lock;
1: + int b_jcount;
1: + unsigned int b_jlist;
1: + unsigned int b_modified;
1: + char *b_frozen_data;
1: + char *b_committed_data;
1: + transaction_t *b_transaction;
1: + transaction_t *b_next_transaction;
1: + struct journal_head *b_tnext;
1: + struct journal_head *b_tprev;
1: + transaction_t *b_cp_transaction;
1: + struct journal_head *b_cpnext;
1: + struct journal_head *b_cpprev;
1: + struct jbd2_buffer_trigger_type *b_triggers;
1: + struct jbd2_buffer_trigger_type *b_frozen_triggers;
1: +};
1: +
1: +struct jbd2_buffer_trigger_type {
1: + void (*t_frozen)(struct jbd2_buffer_trigger_type *, struct buffer_head *, void *, size_t);
1: + void (*t_abort)(struct jbd2_buffer_trigger_type *, struct buffer_head *);
1: +};
1: +
1: +struct crypto_tfm;
1: +
1: +struct cipher_tfm {
1: + int (*cit_setkey)(struct crypto_tfm *, const u8 *, unsigned int);
1: + void (*cit_encrypt_one)(struct crypto_tfm *, u8 *, const u8 *);
1: + void (*cit_decrypt_one)(struct crypto_tfm *, u8 *, const u8 *);
1: +};
1: +
1: +struct compress_tfm {
1: + int (*cot_compress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *);
1: + int (*cot_decompress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *);
1: +};
1: +
1: +struct crypto_alg;
1: +
1: +struct crypto_tfm {
1: + u32 crt_flags;
1: + union {
1: + struct cipher_tfm cipher;
1: + struct compress_tfm compress;
1: + } crt_u;
1: + void (*exit)(struct crypto_tfm *);
1: + struct crypto_alg *__crt_alg;
1: + void *__crt_ctx[0];
1: +};
1: +
1: +struct cipher_alg {
1: + unsigned int cia_min_keysize;
1: + unsigned int cia_max_keysize;
1: + int (*cia_setkey)(struct crypto_tfm *, const u8 *, unsigned int);
1: + void (*cia_encrypt)(struct crypto_tfm *, u8 *, const u8 *);
1: + void (*cia_decrypt)(struct crypto_tfm *, u8 *, const u8 *);
1: +};
1: +
1: +struct compress_alg {
1: + int (*coa_compress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *);
1: + int (*coa_decompress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *);
1: +};
1: +
1: +struct crypto_type;
1: +
1: +struct crypto_alg {
1: + struct list_head cra_list;
1: + struct list_head cra_users;
1: + u32 cra_flags;
1: + unsigned int cra_blocksize;
1: + unsigned int cra_ctxsize;
1: + unsigned int cra_alignmask;
1: + int cra_priority;
1: + refcount_t cra_refcnt;
1: + char cra_name[128];
1: + char cra_driver_name[128];
1: + const struct crypto_type *cra_type;
1: + union {
1: + struct cipher_alg cipher;
1: + struct compress_alg compress;
1: + } cra_u;
1: + int (*cra_init)(struct crypto_tfm *);
1: + void (*cra_exit)(struct crypto_tfm *);
1: + void (*cra_destroy)(struct crypto_alg *);
1: + struct module___2 *cra_module;
1: +};
1: +
1: +struct crypto_instance;
1: +
1: +struct crypto_type {
1: + unsigned int (*ctxsize)(struct crypto_alg *, u32, u32);
1: + unsigned int (*extsize)(struct crypto_alg *);
1: + int (*init)(struct crypto_tfm *, u32, u32);
1: + int (*init_tfm)(struct crypto_tfm *);
1: + void (*show)(struct seq_file *, struct crypto_alg *);
1: + int (*report)(struct sk_buff *, struct crypto_alg *);
1: + void (*free)(struct crypto_instance *);
1: + unsigned int type;
1: + unsigned int maskclear;
1: + unsigned int maskset;
1: + unsigned int tfmsize;
1: +};
1: +
1: +struct crypto_shash {
1: + unsigned int descsize;
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct jbd2_journal_handle;
1: +
1: +typedef struct jbd2_journal_handle handle_t;
1: +
1: +struct jbd2_journal_handle {
1: + union {
1: + transaction_t *h_transaction;
1: + journal_t *h_journal;
1: + };
1: + handle_t *h_rsv_handle;
1: + int h_total_credits;
1: + int h_revoke_credits;
1: + int h_revoke_credits_requested;
1: + int h_ref;
1: + int h_err;
1: + unsigned int h_sync: 1;
1: + unsigned int h_jdata: 1;
1: + unsigned int h_reserved: 1;
1: + unsigned int h_aborted: 1;
1: + unsigned int h_type: 8;
1: + unsigned int h_line_no: 16;
1: + long unsigned int h_start_jiffies;
1: + unsigned int h_requested_credits;
1: + unsigned int saved_alloc_context;
1: +};
1: +
1: +struct transaction_run_stats_s {
1: + long unsigned int rs_wait;
1: + long unsigned int rs_request_delay;
1: + long unsigned int rs_running;
1: + long unsigned int rs_locked;
1: + long unsigned int rs_flushing;
1: + long unsigned int rs_logging;
1: + __u32 rs_handle_count;
1: + __u32 rs_blocks;
1: + __u32 rs_blocks_logged;
1: +};
1: +
1: +struct transaction_stats_s {
1: + long unsigned int ts_tid;
1: + long unsigned int ts_requested;
1: + struct transaction_run_stats_s run;
1: +};
1: +
1: +struct journal_superblock_s;
1: +
1: +typedef struct journal_superblock_s journal_superblock_t;
1: +
1: +struct jbd2_revoke_table_s;
1: +
1: +struct journal_s {
1: + long unsigned int j_flags;
1: + int j_errno;
1: + struct buffer_head *j_sb_buffer;
1: + journal_superblock_t *j_superblock;
1: + int j_format_version;
1: + rwlock_t j_state_lock;
1: + int j_barrier_count;
1: + struct mutex j_barrier;
1: + transaction_t *j_running_transaction;
1: + transaction_t *j_committing_transaction;
1: + transaction_t *j_checkpoint_transactions;
1: + wait_queue_head_t j_wait_transaction_locked;
1: + wait_queue_head_t j_wait_done_commit;
1: + wait_queue_head_t j_wait_commit;
1: + wait_queue_head_t j_wait_updates;
1: + wait_queue_head_t j_wait_reserved;
1: + struct mutex j_checkpoint_mutex;
1: + struct buffer_head *j_chkpt_bhs[64];
1: + long unsigned int j_head;
1: + long unsigned int j_tail;
1: + long unsigned int j_free;
1: + long unsigned int j_first;
1: + long unsigned int j_last;
1: + struct block_device *j_dev;
1: + int j_blocksize;
1: + long long unsigned int j_blk_offset;
1: + char j_devname[56];
1: + struct block_device *j_fs_dev;
1: + unsigned int j_maxlen;
1: + atomic_t j_reserved_credits;
1: + spinlock_t j_list_lock;
1: + struct inode___2 *j_inode;
1: + tid_t j_tail_sequence;
1: + tid_t j_transaction_sequence;
1: + tid_t j_commit_sequence;
1: + tid_t j_commit_request;
1: + __u8 j_uuid[16];
1: + struct task_struct___2 *j_task;
1: + int j_max_transaction_buffers;
1: + int j_revoke_records_per_block;
1: + long unsigned int j_commit_interval;
1: + struct timer_list j_commit_timer;
1: + spinlock_t j_revoke_lock;
1: + struct jbd2_revoke_table_s *j_revoke;
1: + struct jbd2_revoke_table_s *j_revoke_table[2];
1: + struct buffer_head **j_wbuf;
1: + int j_wbufsize;
1: + pid_t j_last_sync_writer;
1: + u64 j_average_commit_time;
1: + u32 j_min_batch_time;
1: + u32 j_max_batch_time;
1: + void (*j_commit_callback)(journal_t *, transaction_t *);
1: + spinlock_t j_history_lock;
1: + struct proc_dir_entry *j_proc_entry;
1: + struct transaction_stats_s j_stats;
1: + unsigned int j_failed_commit;
1: + void *j_private;
1: + struct crypto_shash *j_chksum_driver;
1: + __u32 j_csum_seed;
1: +};
1: +
1: +struct journal_header_s {
1: + __be32 h_magic;
1: + __be32 h_blocktype;
1: + __be32 h_sequence;
1: +};
1: +
1: +typedef struct journal_header_s journal_header_t;
1: +
1: +struct journal_superblock_s {
1: + journal_header_t s_header;
1: + __be32 s_blocksize;
1: + __be32 s_maxlen;
1: + __be32 s_first;
1: + __be32 s_sequence;
1: + __be32 s_start;
1: + __be32 s_errno;
1: + __be32 s_feature_compat;
1: + __be32 s_feature_incompat;
1: + __be32 s_feature_ro_compat;
1: + __u8 s_uuid[16];
1: + __be32 s_nr_users;
1: + __be32 s_dynsuper;
1: + __be32 s_max_transaction;
1: + __be32 s_max_trans_data;
1: + __u8 s_checksum_type;
1: + __u8 s_padding2[3];
1: + __u32 s_padding[42];
1: + __be32 s_checksum;
1: + __u8 s_users[768];
1: +};
1: +
1: +enum jbd_state_bits {
1: + BH_JBD = 17,
1: + BH_JWrite = 18,
1: + BH_Freed = 19,
1: + BH_Revoked = 20,
1: + BH_RevokeValid = 21,
1: + BH_JBDDirty = 22,
1: + BH_JournalHead = 23,
1: + BH_Shadow = 24,
1: + BH_Verified = 25,
1: + BH_JBDPrivateStart = 26,
1: +};
1: +
1: +struct jbd2_inode {
1: + transaction_t *i_transaction;
1: + transaction_t *i_next_transaction;
1: + struct list_head i_list;
1: + struct inode___2 *i_vfs_inode;
1: + long unsigned int i_flags;
1: + loff_t i_dirty_start;
1: + loff_t i_dirty_end;
1: +};
1: +
1: +struct bgl_lock {
1: + spinlock_t lock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct blockgroup_lock {
1: + struct bgl_lock locks[128];
1: +};
1: +
1: +typedef int ext4_grpblk_t;
1: +
1: +typedef long long unsigned int ext4_fsblk_t;
1: +
1: +typedef __u32 ext4_lblk_t;
1: +
1: +typedef unsigned int ext4_group_t;
1: +
1: +struct ext4_allocation_request {
1: + struct inode___2 *inode;
1: + unsigned int len;
1: + ext4_lblk_t logical;
1: + ext4_lblk_t lleft;
1: + ext4_lblk_t lright;
1: + ext4_fsblk_t goal;
1: + ext4_fsblk_t pleft;
1: + ext4_fsblk_t pright;
1: + unsigned int flags;
1: +};
1: +
1: +struct ext4_system_blocks {
1: + struct rb_root root;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct ext4_group_desc {
1: + __le32 bg_block_bitmap_lo;
1: + __le32 bg_inode_bitmap_lo;
1: + __le32 bg_inode_table_lo;
1: + __le16 bg_free_blocks_count_lo;
1: + __le16 bg_free_inodes_count_lo;
1: + __le16 bg_used_dirs_count_lo;
1: + __le16 bg_flags;
1: + __le32 bg_exclude_bitmap_lo;
1: + __le16 bg_block_bitmap_csum_lo;
1: + __le16 bg_inode_bitmap_csum_lo;
1: + __le16 bg_itable_unused_lo;
1: + __le16 bg_checksum;
1: + __le32 bg_block_bitmap_hi;
1: + __le32 bg_inode_bitmap_hi;
1: + __le32 bg_inode_table_hi;
1: + __le16 bg_free_blocks_count_hi;
1: + __le16 bg_free_inodes_count_hi;
1: + __le16 bg_used_dirs_count_hi;
1: + __le16 bg_itable_unused_hi;
1: + __le32 bg_exclude_bitmap_hi;
1: + __le16 bg_block_bitmap_csum_hi;
1: + __le16 bg_inode_bitmap_csum_hi;
1: + __u32 bg_reserved;
1: +};
1: +
1: +struct flex_groups {
1: + atomic64_t free_clusters;
1: + atomic_t free_inodes;
1: + atomic_t used_dirs;
1: +};
1: +
1: +struct extent_status {
1: + struct rb_node rb_node;
1: + ext4_lblk_t es_lblk;
1: + ext4_lblk_t es_len;
1: + ext4_fsblk_t es_pblk;
1: +};
1: +
1: +struct ext4_es_tree {
1: + struct rb_root root;
1: + struct extent_status *cache_es;
1: +};
1: +
1: +struct ext4_es_stats {
1: + long unsigned int es_stats_shrunk;
1: + struct percpu_counter es_stats_cache_hits;
1: + struct percpu_counter es_stats_cache_misses;
1: + u64 es_stats_scan_time;
1: + u64 es_stats_max_scan_time;
1: + struct percpu_counter es_stats_all_cnt;
1: + struct percpu_counter es_stats_shk_cnt;
1: +};
1: +
1: +struct ext4_pending_tree {
1: + struct rb_root root;
1: +};
1: +
1: +struct ext4_inode_info {
1: + __le32 i_data[15];
1: + __u32 i_dtime;
1: + ext4_fsblk_t i_file_acl;
1: + ext4_group_t i_block_group;
1: + ext4_lblk_t i_dir_start_lookup;
1: + long unsigned int i_flags;
1: + struct rw_semaphore xattr_sem;
1: + struct list_head i_orphan;
1: + loff_t i_disksize;
1: + struct rw_semaphore i_data_sem;
1: + struct rw_semaphore i_mmap_sem;
1: + struct inode___2 vfs_inode;
1: + struct jbd2_inode *jinode;
1: + spinlock_t i_raw_lock;
1: + struct timespec64 i_crtime;
1: + struct list_head i_prealloc_list;
1: + spinlock_t i_prealloc_lock;
1: + struct ext4_es_tree i_es_tree;
1: + rwlock_t i_es_lock;
1: + struct list_head i_es_list;
1: + unsigned int i_es_all_nr;
1: + unsigned int i_es_shk_nr;
1: + ext4_lblk_t i_es_shrink_lblk;
1: + ext4_group_t i_last_alloc_group;
1: + unsigned int i_reserved_data_blocks;
1: + ext4_lblk_t i_da_metadata_calc_last_lblock;
1: + int i_da_metadata_calc_len;
1: + struct ext4_pending_tree i_pending_tree;
1: + __u16 i_extra_isize;
1: + u16 i_inline_off;
1: + u16 i_inline_size;
1: + qsize_t i_reserved_quota;
1: + spinlock_t i_completed_io_lock;
1: + struct list_head i_rsv_conversion_list;
1: + struct work_struct i_rsv_conversion_work;
1: + atomic_t i_unwritten;
1: + spinlock_t i_block_reservation_lock;
1: + tid_t i_sync_tid;
1: + tid_t i_datasync_tid;
1: + struct dquot *i_dquot[3];
1: + __u32 i_csum_seed;
1: + kprojid_t i_projid;
1: +};
1: +
1: +struct ext4_super_block {
1: + __le32 s_inodes_count;
1: + __le32 s_blocks_count_lo;
1: + __le32 s_r_blocks_count_lo;
1: + __le32 s_free_blocks_count_lo;
1: + __le32 s_free_inodes_count;
1: + __le32 s_first_data_block;
1: + __le32 s_log_block_size;
1: + __le32 s_log_cluster_size;
1: + __le32 s_blocks_per_group;
1: + __le32 s_clusters_per_group;
1: + __le32 s_inodes_per_group;
1: + __le32 s_mtime;
1: + __le32 s_wtime;
1: + __le16 s_mnt_count;
1: + __le16 s_max_mnt_count;
1: + __le16 s_magic;
1: + __le16 s_state;
1: + __le16 s_errors;
1: + __le16 s_minor_rev_level;
1: + __le32 s_lastcheck;
1: + __le32 s_checkinterval;
1: + __le32 s_creator_os;
1: + __le32 s_rev_level;
1: + __le16 s_def_resuid;
1: + __le16 s_def_resgid;
1: + __le32 s_first_ino;
1: + __le16 s_inode_size;
1: + __le16 s_block_group_nr;
1: + __le32 s_feature_compat;
1: + __le32 s_feature_incompat;
1: + __le32 s_feature_ro_compat;
1: + __u8 s_uuid[16];
1: + char s_volume_name[16];
1: + char s_last_mounted[64];
1: + __le32 s_algorithm_usage_bitmap;
1: + __u8 s_prealloc_blocks;
1: + __u8 s_prealloc_dir_blocks;
1: + __le16 s_reserved_gdt_blocks;
1: + __u8 s_journal_uuid[16];
1: + __le32 s_journal_inum;
1: + __le32 s_journal_dev;
1: + __le32 s_last_orphan;
1: + __le32 s_hash_seed[4];
1: + __u8 s_def_hash_version;
1: + __u8 s_jnl_backup_type;
1: + __le16 s_desc_size;
1: + __le32 s_default_mount_opts;
1: + __le32 s_first_meta_bg;
1: + __le32 s_mkfs_time;
1: + __le32 s_jnl_blocks[17];
1: + __le32 s_blocks_count_hi;
1: + __le32 s_r_blocks_count_hi;
1: + __le32 s_free_blocks_count_hi;
1: + __le16 s_min_extra_isize;
1: + __le16 s_want_extra_isize;
1: + __le32 s_flags;
1: + __le16 s_raid_stride;
1: + __le16 s_mmp_update_interval;
1: + __le64 s_mmp_block;
1: + __le32 s_raid_stripe_width;
1: + __u8 s_log_groups_per_flex;
1: + __u8 s_checksum_type;
1: + __u8 s_encryption_level;
1: + __u8 s_reserved_pad;
1: + __le64 s_kbytes_written;
1: + __le32 s_snapshot_inum;
1: + __le32 s_snapshot_id;
1: + __le64 s_snapshot_r_blocks_count;
1: + __le32 s_snapshot_list;
1: + __le32 s_error_count;
1: + __le32 s_first_error_time;
1: + __le32 s_first_error_ino;
1: + __le64 s_first_error_block;
1: + __u8 s_first_error_func[32];
1: + __le32 s_first_error_line;
1: + __le32 s_last_error_time;
1: + __le32 s_last_error_ino;
1: + __le32 s_last_error_line;
1: + __le64 s_last_error_block;
1: + __u8 s_last_error_func[32];
1: + __u8 s_mount_opts[64];
1: + __le32 s_usr_quota_inum;
1: + __le32 s_grp_quota_inum;
1: + __le32 s_overhead_clusters;
1: + __le32 s_backup_bgs[2];
1: + __u8 s_encrypt_algos[4];
1: + __u8 s_encrypt_pw_salt[16];
1: + __le32 s_lpf_ino;
1: + __le32 s_prj_quota_inum;
1: + __le32 s_checksum_seed;
1: + __u8 s_wtime_hi;
1: + __u8 s_mtime_hi;
1: + __u8 s_mkfs_time_hi;
1: + __u8 s_lastcheck_hi;
1: + __u8 s_first_error_time_hi;
1: + __u8 s_last_error_time_hi;
1: + __u8 s_pad[2];
1: + __le16 s_encoding;
1: + __le16 s_encoding_flags;
1: + __le32 s_reserved[95];
1: + __le32 s_checksum;
1: +};
1: +
1: +struct mb_cache___2;
1: +
1: +struct ext4_group_info;
1: +
1: +struct ext4_locality_group;
1: +
1: +struct ext4_li_request;
1: +
1: +struct ext4_sb_info {
1: + long unsigned int s_desc_size;
1: + long unsigned int s_inodes_per_block;
1: + long unsigned int s_blocks_per_group;
1: + long unsigned int s_clusters_per_group;
1: + long unsigned int s_inodes_per_group;
1: + long unsigned int s_itb_per_group;
1: + long unsigned int s_gdb_count;
1: + long unsigned int s_desc_per_block;
1: + ext4_group_t s_groups_count;
1: + ext4_group_t s_blockfile_groups;
1: + long unsigned int s_overhead;
1: + unsigned int s_cluster_ratio;
1: + unsigned int s_cluster_bits;
1: + loff_t s_bitmap_maxbytes;
1: + struct buffer_head *s_sbh;
1: + struct ext4_super_block *s_es;
1: + struct buffer_head **s_group_desc;
1: + unsigned int s_mount_opt;
1: + unsigned int s_mount_opt2;
1: + unsigned int s_mount_flags;
1: + unsigned int s_def_mount_opt;
1: + ext4_fsblk_t s_sb_block;
1: + atomic64_t s_resv_clusters;
1: + kuid_t s_resuid;
1: + kgid_t s_resgid;
1: + short unsigned int s_mount_state;
1: + short unsigned int s_pad;
1: + int s_addr_per_block_bits;
1: + int s_desc_per_block_bits;
1: + int s_inode_size;
1: + int s_first_ino;
1: + unsigned int s_inode_readahead_blks;
1: + unsigned int s_inode_goal;
1: + u32 s_hash_seed[4];
1: + int s_def_hash_version;
1: + int s_hash_unsigned;
1: + struct percpu_counter s_freeclusters_counter;
1: + struct percpu_counter s_freeinodes_counter;
1: + struct percpu_counter s_dirs_counter;
1: + struct percpu_counter s_dirtyclusters_counter;
1: + struct blockgroup_lock *s_blockgroup_lock;
1: + struct proc_dir_entry *s_proc;
1: + struct kobject___2 s_kobj;
1: + struct completion s_kobj_unregister;
1: + struct super_block___2 *s_sb;
1: + struct journal_s *s_journal;
1: + struct list_head s_orphan;
1: + struct mutex s_orphan_lock;
1: + long unsigned int s_ext4_flags;
1: + long unsigned int s_commit_interval;
1: + u32 s_max_batch_time;
1: + u32 s_min_batch_time;
1: + struct block_device *journal_bdev;
1: + char *s_qf_names[3];
1: + int s_jquota_fmt;
1: + unsigned int s_want_extra_isize;
1: + struct ext4_system_blocks *system_blks;
1: + struct ext4_group_info ***s_group_info;
1: + struct inode___2 *s_buddy_cache;
1: + spinlock_t s_md_lock;
1: + short unsigned int *s_mb_offsets;
1: + unsigned int *s_mb_maxs;
1: + unsigned int s_group_info_size;
1: + unsigned int s_mb_free_pending;
1: + struct list_head s_freed_data_list;
1: + long unsigned int s_stripe;
1: + unsigned int s_mb_stream_request;
1: + unsigned int s_mb_max_to_scan;
1: + unsigned int s_mb_min_to_scan;
1: + unsigned int s_mb_stats;
1: + unsigned int s_mb_order2_reqs;
1: + unsigned int s_mb_group_prealloc;
1: + unsigned int s_max_dir_size_kb;
1: + long unsigned int s_mb_last_group;
1: + long unsigned int s_mb_last_start;
1: + atomic_t s_bal_reqs;
1: + atomic_t s_bal_success;
1: + atomic_t s_bal_allocated;
1: + atomic_t s_bal_ex_scanned;
1: + atomic_t s_bal_goals;
1: + atomic_t s_bal_breaks;
1: + atomic_t s_bal_2orders;
1: + spinlock_t s_bal_lock;
1: + long unsigned int s_mb_buddies_generated;
1: + long long unsigned int s_mb_generation_time;
1: + atomic_t s_mb_lost_chunks;
1: + atomic_t s_mb_preallocated;
1: + atomic_t s_mb_discarded;
1: + atomic_t s_lock_busy;
1: + struct ext4_locality_group *s_locality_groups;
1: + long unsigned int s_sectors_written_start;
1: + u64 s_kbytes_written;
1: + unsigned int s_extent_max_zeroout_kb;
1: + unsigned int s_log_groups_per_flex;
1: + struct flex_groups *s_flex_groups;
1: + ext4_group_t s_flex_groups_allocated;
1: + struct workqueue_struct *rsv_conversion_wq;
1: + struct timer_list s_err_report;
1: + struct ext4_li_request *s_li_request;
1: + unsigned int s_li_wait_mult;
1: + struct task_struct___2 *s_mmp_tsk;
1: + atomic_t s_last_trim_minblks;
1: + struct crypto_shash *s_chksum_driver;
1: + __u32 s_csum_seed;
1: + struct shrinker s_es_shrinker;
1: + struct list_head s_es_list;
1: + long int s_es_nr_inode;
1: + struct ext4_es_stats s_es_stats;
1: + struct mb_cache___2 *s_ea_block_cache;
1: + struct mb_cache___2 *s_ea_inode_cache;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + spinlock_t s_es_lock;
1: + struct ratelimit_state s_err_ratelimit_state;
1: + struct ratelimit_state s_warning_ratelimit_state;
1: + struct ratelimit_state s_msg_ratelimit_state;
1: + struct percpu_rw_semaphore s_journal_flag_rwsem;
1: + struct dax_device *s_daxdev;
1: + long: 64;
1: +};
1: +
1: +struct ext4_group_info {
1: + long unsigned int bb_state;
1: + struct rb_root bb_free_root;
1: + ext4_grpblk_t bb_first_free;
1: + ext4_grpblk_t bb_free;
1: + ext4_grpblk_t bb_fragments;
1: + ext4_grpblk_t bb_largest_free_order;
1: + struct list_head bb_prealloc_list;
1: + struct rw_semaphore alloc_sem;
1: + ext4_grpblk_t bb_counters[0];
1: +};
1: +
1: +struct ext4_locality_group {
1: + struct mutex lg_mutex;
1: + struct list_head lg_prealloc_list[10];
1: + spinlock_t lg_prealloc_lock;
1: +};
1: +
1: +struct ext4_li_request {
1: + struct super_block___2 *lr_super;
1: + struct ext4_sb_info *lr_sbi;
1: + ext4_group_t lr_next_group;
1: + struct list_head lr_request;
1: + long unsigned int lr_next_sched;
1: + long unsigned int lr_timeout;
1: +};
1: +
1: +struct shash_desc {
1: + struct crypto_shash *tfm;
1: + void *__ctx[0];
1: +};
1: +
1: +struct ext4_map_blocks {
1: + ext4_fsblk_t m_pblk;
1: + ext4_lblk_t m_lblk;
1: + unsigned int m_len;
1: + unsigned int m_flags;
1: +};
1: +
1: +typedef enum {
1: + EXT4_IGET_NORMAL = 0,
1: + EXT4_IGET_SPECIAL = 1,
1: + EXT4_IGET_HANDLE = 2,
1: +} ext4_iget_flags;
1: +
1: +struct ext4_system_zone {
1: + struct rb_node node;
1: + ext4_fsblk_t start_blk;
1: + unsigned int count;
1: +};
1: +
1: +struct fscrypt_str {
1: + unsigned char *name;
1: + u32 len;
1: +};
1: +
1: +enum {
1: + EXT4_INODE_SECRM = 0,
1: + EXT4_INODE_UNRM = 1,
1: + EXT4_INODE_COMPR = 2,
1: + EXT4_INODE_SYNC = 3,
1: + EXT4_INODE_IMMUTABLE = 4,
1: + EXT4_INODE_APPEND = 5,
1: + EXT4_INODE_NODUMP = 6,
1: + EXT4_INODE_NOATIME = 7,
1: + EXT4_INODE_DIRTY = 8,
1: + EXT4_INODE_COMPRBLK = 9,
1: + EXT4_INODE_NOCOMPR = 10,
1: + EXT4_INODE_ENCRYPT = 11,
1: + EXT4_INODE_INDEX = 12,
1: + EXT4_INODE_IMAGIC = 13,
1: + EXT4_INODE_JOURNAL_DATA = 14,
1: + EXT4_INODE_NOTAIL = 15,
1: + EXT4_INODE_DIRSYNC = 16,
1: + EXT4_INODE_TOPDIR = 17,
1: + EXT4_INODE_HUGE_FILE = 18,
1: + EXT4_INODE_EXTENTS = 19,
1: + EXT4_INODE_VERITY = 20,
1: + EXT4_INODE_EA_INODE = 21,
1: + EXT4_INODE_EOFBLOCKS = 22,
1: + EXT4_INODE_INLINE_DATA = 28,
1: + EXT4_INODE_PROJINHERIT = 29,
1: + EXT4_INODE_RESERVED = 31,
1: +};
1: +
1: +struct ext4_dir_entry_2 {
1: + __le32 inode;
1: + __le16 rec_len;
1: + __u8 name_len;
1: + __u8 file_type;
1: + char name[255];
1: +};
1: +
1: +struct fname;
1: +
1: +struct dir_private_info {
1: + struct rb_root root;
1: + struct rb_node *curr_node;
1: + struct fname *extra_fname;
1: + loff_t last_pos;
1: + __u32 curr_hash;
1: + __u32 curr_minor_hash;
1: + __u32 next_hash;
1: +};
1: +
1: +struct fname {
1: + __u32 hash;
1: + __u32 minor_hash;
1: + struct rb_node rb_hash;
1: + struct fname *next;
1: + __u32 inode;
1: + __u8 name_len;
1: + __u8 file_type;
1: + char name[0];
1: +};
1: +
1: +enum SHIFT_DIRECTION {
1: + SHIFT_LEFT = 0,
1: + SHIFT_RIGHT = 1,
1: +};
1: +
1: +struct ext4_io_end_vec {
1: + struct list_head list;
1: + loff_t offset;
1: + ssize_t size;
1: +};
1: +
1: +struct ext4_io_end {
1: + struct list_head list;
1: + handle_t *handle;
1: + struct inode___2 *inode;
1: + struct bio *bio;
1: + unsigned int flag;
1: + atomic_t count;
1: + struct list_head list_vec;
1: +};
1: +
1: +typedef struct ext4_io_end ext4_io_end_t;
1: +
1: +enum {
1: + ES_WRITTEN_B = 0,
1: + ES_UNWRITTEN_B = 1,
1: + ES_DELAYED_B = 2,
1: + ES_HOLE_B = 3,
1: + ES_REFERENCED_B = 4,
1: + ES_FLAGS = 5,
1: +};
1: +
1: +enum {
1: + EXT4_STATE_JDATA = 0,
1: + EXT4_STATE_NEW = 1,
1: + EXT4_STATE_XATTR = 2,
1: + EXT4_STATE_NO_EXPAND = 3,
1: + EXT4_STATE_DA_ALLOC_CLOSE = 4,
1: + EXT4_STATE_EXT_MIGRATE = 5,
1: + EXT4_STATE_NEWENTRY = 6,
1: + EXT4_STATE_MAY_INLINE_DATA = 7,
1: + EXT4_STATE_EXT_PRECACHED = 8,
1: + EXT4_STATE_LUSTRE_EA_INODE = 9,
1: + EXT4_STATE_VERITY_IN_PROGRESS = 10,
1: +};
1: +
1: +struct ext4_iloc {
1: + struct buffer_head *bh;
1: + long unsigned int offset;
1: + ext4_group_t block_group;
1: +};
1: +
1: +struct ext4_extent_tail {
1: + __le32 et_checksum;
1: +};
1: +
1: +struct ext4_extent {
1: + __le32 ee_block;
1: + __le16 ee_len;
1: + __le16 ee_start_hi;
1: + __le32 ee_start_lo;
1: +};
1: +
1: +struct ext4_extent_idx {
1: + __le32 ei_block;
1: + __le32 ei_leaf_lo;
1: + __le16 ei_leaf_hi;
1: + __u16 ei_unused;
1: +};
1: +
1: +struct ext4_extent_header {
1: + __le16 eh_magic;
1: + __le16 eh_entries;
1: + __le16 eh_max;
1: + __le16 eh_depth;
1: + __le32 eh_generation;
1: +};
1: +
1: +struct ext4_ext_path {
1: + ext4_fsblk_t p_block;
1: + __u16 p_depth;
1: + __u16 p_maxdepth;
1: + struct ext4_extent *p_ext;
1: + struct ext4_extent_idx *p_idx;
1: + struct ext4_extent_header *p_hdr;
1: + struct buffer_head *p_bh;
1: +};
1: +
1: +struct partial_cluster {
1: + ext4_fsblk_t pclu;
1: + ext4_lblk_t lblk;
1: + enum {
1: + initial = 0,
1: + tofree = 1,
1: + nofree = 2,
1: + } state;
1: +};
1: +
1: +struct pending_reservation {
1: + struct rb_node rb_node;
1: + ext4_lblk_t lclu;
1: +};
1: +
1: +struct rsvd_count {
1: + int ndelonly;
1: + bool first_do_lblk_found;
1: + ext4_lblk_t first_do_lblk;
1: + ext4_lblk_t last_do_lblk;
1: + struct extent_status *left_es;
1: + bool partial;
1: + ext4_lblk_t lclu;
1: +};
1: +
1: +struct fsverity_info;
1: +
1: +struct fsmap {
1: + __u32 fmr_device;
1: + __u32 fmr_flags;
1: + __u64 fmr_physical;
1: + __u64 fmr_owner;
1: + __u64 fmr_offset;
1: + __u64 fmr_length;
1: + __u64 fmr_reserved[3];
1: +};
1: +
1: +struct ext4_fsmap {
1: + struct list_head fmr_list;
1: + dev_t fmr_device;
1: + uint32_t fmr_flags;
1: + uint64_t fmr_physical;
1: + uint64_t fmr_owner;
1: + uint64_t fmr_length;
1: +};
1: +
1: +struct ext4_fsmap_head {
1: + uint32_t fmh_iflags;
1: + uint32_t fmh_oflags;
1: + unsigned int fmh_count;
1: + unsigned int fmh_entries;
1: + struct ext4_fsmap fmh_keys[2];
1: +};
1: +
1: +typedef int (*ext4_fsmap_format_t)(struct ext4_fsmap *, void *);
1: +
1: +typedef int (*ext4_mballoc_query_range_fn)(struct super_block___2 *, ext4_group_t, ext4_grpblk_t, ext4_grpblk_t, void *);
1: +
1: +struct ext4_getfsmap_info {
1: + struct ext4_fsmap_head *gfi_head;
1: + ext4_fsmap_format_t gfi_formatter;
1: + void *gfi_format_arg;
1: + ext4_fsblk_t gfi_next_fsblk;
1: + u32 gfi_dev;
1: + ext4_group_t gfi_agno;
1: + struct ext4_fsmap gfi_low;
1: + struct ext4_fsmap gfi_high;
1: + struct ext4_fsmap gfi_lastfree;
1: + struct list_head gfi_meta_list;
1: + bool gfi_last;
1: +};
1: +
1: +struct ext4_getfsmap_dev {
1: + int (*gfd_fn)(struct super_block___2 *, struct ext4_fsmap *, struct ext4_getfsmap_info *);
1: + u32 gfd_dev;
1: +};
1: +
1: +struct dx_hash_info {
1: + u32 hash;
1: + u32 minor_hash;
1: + int hash_version;
1: + u32 *seed;
1: +};
1: +
1: +struct ext4_inode {
1: + __le16 i_mode;
1: + __le16 i_uid;
1: + __le32 i_size_lo;
1: + __le32 i_atime;
1: + __le32 i_ctime;
1: + __le32 i_mtime;
1: + __le32 i_dtime;
1: + __le16 i_gid;
1: + __le16 i_links_count;
1: + __le32 i_blocks_lo;
1: + __le32 i_flags;
1: + union {
1: + struct {
1: + __le32 l_i_version;
1: + } linux1;
1: + struct {
1: + __u32 h_i_translator;
1: + } hurd1;
1: + struct {
1: + __u32 m_i_reserved1;
1: + } masix1;
1: + } osd1;
1: + __le32 i_block[15];
1: + __le32 i_generation;
1: + __le32 i_file_acl_lo;
1: + __le32 i_size_high;
1: + __le32 i_obso_faddr;
1: + union {
1: + struct {
1: + __le16 l_i_blocks_high;
1: + __le16 l_i_file_acl_high;
1: + __le16 l_i_uid_high;
1: + __le16 l_i_gid_high;
1: + __le16 l_i_checksum_lo;
1: + __le16 l_i_reserved;
1: + } linux2;
1: + struct {
1: + __le16 h_i_reserved1;
1: + __u16 h_i_mode_high;
1: + __u16 h_i_uid_high;
1: + __u16 h_i_gid_high;
1: + __u32 h_i_author;
1: + } hurd2;
1: + struct {
1: + __le16 h_i_reserved1;
1: + __le16 m_i_file_acl_high;
1: + __u32 m_i_reserved2[2];
1: + } masix2;
1: + } osd2;
1: + __le16 i_extra_isize;
1: + __le16 i_checksum_hi;
1: + __le32 i_ctime_extra;
1: + __le32 i_mtime_extra;
1: + __le32 i_atime_extra;
1: + __le32 i_crtime;
1: + __le32 i_crtime_extra;
1: + __le32 i_version_hi;
1: + __le32 i_projid;
1: +};
1: +
1: +struct orlov_stats {
1: + __u64 free_clusters;
1: + __u32 free_inodes;
1: + __u32 used_dirs;
1: +};
1: +
1: +typedef struct {
1: + __le32 *p;
1: + __le32 key;
1: + struct buffer_head *bh;
1: +} Indirect;
1: +
1: +struct ext4_filename {
1: + const struct qstr *usr_fname;
1: + struct fscrypt_str disk_name;
1: + struct dx_hash_info hinfo;
1: +};
1: +
1: +struct ext4_xattr_ibody_header {
1: + __le32 h_magic;
1: +};
1: +
1: +struct ext4_xattr_entry {
1: + __u8 e_name_len;
1: + __u8 e_name_index;
1: + __le16 e_value_offs;
1: + __le32 e_value_inum;
1: + __le32 e_value_size;
1: + __le32 e_hash;
1: + char e_name[0];
1: +};
1: +
1: +struct ext4_xattr_info {
1: + const char *name;
1: + const void *value;
1: + size_t value_len;
1: + int name_index;
1: + int in_inode;
1: +};
1: +
1: +struct ext4_xattr_search {
1: + struct ext4_xattr_entry *first;
1: + void *base;
1: + void *end;
1: + struct ext4_xattr_entry *here;
1: + int not_found;
1: +};
1: +
1: +struct ext4_xattr_ibody_find {
1: + struct ext4_xattr_search s;
1: + struct ext4_iloc iloc;
1: +};
1: +
1: +typedef short unsigned int __kernel_uid16_t;
1: +
1: +typedef short unsigned int __kernel_gid16_t;
1: +
1: +typedef __kernel_uid16_t uid16_t;
1: +
1: +typedef __kernel_gid16_t gid16_t;
1: +
1: +struct ext4_io_submit {
1: + struct writeback_control *io_wbc;
1: + struct bio *io_bio;
1: + ext4_io_end_t *io_end;
1: + sector_t io_next_block;
1: +};
1: +
1: +struct ext4_xattr_inode_array {
1: + unsigned int count;
1: + struct inode___2 *inodes[0];
1: +};
1: +
1: +struct mpage_da_data {
1: + struct inode___2 *inode;
1: + struct writeback_control *wbc;
1: + long unsigned int first_page;
1: + long unsigned int next_page;
1: + long unsigned int last_page;
1: + struct ext4_map_blocks map;
1: + struct ext4_io_submit io_submit;
1: + unsigned int do_map: 1;
1: +};
1: +
1: +struct other_inode {
1: + long unsigned int orig_ino;
1: + struct ext4_inode *raw_inode;
1: +};
1: +
1: +struct fstrim_range {
1: + __u64 start;
1: + __u64 len;
1: + __u64 minlen;
1: +};
1: +
1: +struct ext4_new_group_input {
1: + __u32 group;
1: + __u64 block_bitmap;
1: + __u64 inode_bitmap;
1: + __u64 inode_table;
1: + __u32 blocks_count;
1: + __u16 reserved_blocks;
1: + __u16 unused;
1: +};
1: +
1: +struct compat_ext4_new_group_input {
1: + u32 group;
1: + compat_u64 block_bitmap;
1: + compat_u64 inode_bitmap;
1: + compat_u64 inode_table;
1: + u32 blocks_count;
1: + u16 reserved_blocks;
1: + u16 unused;
1: +} __attribute__((packed));
1: +
1: +struct ext4_new_group_data {
1: + __u32 group;
1: + __u64 block_bitmap;
1: + __u64 inode_bitmap;
1: + __u64 inode_table;
1: + __u32 blocks_count;
1: + __u16 reserved_blocks;
1: + __u16 mdata_blocks;
1: + __u32 free_clusters_count;
1: +};
1: +
1: +struct move_extent {
1: + __u32 reserved;
1: + __u32 donor_fd;
1: + __u64 orig_start;
1: + __u64 donor_start;
1: + __u64 len;
1: + __u64 moved_len;
1: +};
1: +
1: +struct fsmap_head {
1: + __u32 fmh_iflags;
1: + __u32 fmh_oflags;
1: + __u32 fmh_count;
1: + __u32 fmh_entries;
1: + __u64 fmh_reserved[6];
1: + struct fsmap fmh_keys[2];
1: + struct fsmap fmh_recs[0];
1: +};
1: +
1: +struct getfsmap_info {
1: + struct super_block___2 *gi_sb;
1: + struct fsmap_head *gi_data;
1: + unsigned int gi_idx;
1: + __u32 gi_last_flags;
1: +};
1: +
1: +struct ext4_free_data {
1: + struct list_head efd_list;
1: + struct rb_node efd_node;
1: + ext4_group_t efd_group;
1: + ext4_grpblk_t efd_start_cluster;
1: + ext4_grpblk_t efd_count;
1: + tid_t efd_tid;
1: +};
1: +
1: +struct ext4_prealloc_space {
1: + struct list_head pa_inode_list;
1: + struct list_head pa_group_list;
1: + union {
1: + struct list_head pa_tmp_list;
1: + struct callback_head pa_rcu;
1: + } u;
1: + spinlock_t pa_lock;
1: + atomic_t pa_count;
1: + unsigned int pa_deleted;
1: + ext4_fsblk_t pa_pstart;
1: + ext4_lblk_t pa_lstart;
1: + ext4_grpblk_t pa_len;
1: + ext4_grpblk_t pa_free;
1: + short unsigned int pa_type;
1: + spinlock_t *pa_obj_lock;
1: + struct inode___2 *pa_inode;
1: +};
1: +
1: +enum {
1: + MB_INODE_PA = 0,
1: + MB_GROUP_PA = 1,
1: +};
1: +
1: +struct ext4_free_extent {
1: + ext4_lblk_t fe_logical;
1: + ext4_grpblk_t fe_start;
1: + ext4_group_t fe_group;
1: + ext4_grpblk_t fe_len;
1: +};
1: +
1: +struct ext4_allocation_context {
1: + struct inode___2 *ac_inode;
1: + struct super_block___2 *ac_sb;
1: + struct ext4_free_extent ac_o_ex;
1: + struct ext4_free_extent ac_g_ex;
1: + struct ext4_free_extent ac_b_ex;
1: + struct ext4_free_extent ac_f_ex;
1: + __u16 ac_groups_scanned;
1: + __u16 ac_found;
1: + __u16 ac_tail;
1: + __u16 ac_buddy;
1: + __u16 ac_flags;
1: + __u8 ac_status;
1: + __u8 ac_criteria;
1: + __u8 ac_2order;
1: + __u8 ac_op;
1: + struct page___2 *ac_bitmap_page;
1: + struct page___2 *ac_buddy_page;
1: + struct ext4_prealloc_space *ac_pa;
1: + struct ext4_locality_group *ac_lg;
1: +};
1: +
1: +struct ext4_buddy {
1: + struct page___2 *bd_buddy_page;
1: + void *bd_buddy;
1: + struct page___2 *bd_bitmap_page;
1: + void *bd_bitmap;
1: + struct ext4_group_info *bd_info;
1: + struct super_block___2 *bd_sb;
1: + __u16 bd_blkbits;
1: + ext4_group_t bd_group;
1: +};
1: +
1: +struct sg {
1: + struct ext4_group_info info;
1: + ext4_grpblk_t counters[18];
1: +};
1: +
1: +struct migrate_struct {
1: + ext4_lblk_t first_block;
1: + ext4_lblk_t last_block;
1: + ext4_lblk_t curr_block;
1: + ext4_fsblk_t first_pblock;
1: + ext4_fsblk_t last_pblock;
1: +};
1: +
1: +struct mmp_struct {
1: + __le32 mmp_magic;
1: + __le32 mmp_seq;
1: + __le64 mmp_time;
1: + char mmp_nodename[64];
1: + char mmp_bdevname[32];
1: + __le16 mmp_check_interval;
1: + __le16 mmp_pad1;
1: + __le32 mmp_pad2[226];
1: + __le32 mmp_checksum;
1: +};
1: +
1: +struct mmpd_data {
1: + struct buffer_head *bh;
1: + struct super_block___2 *sb;
1: +};
1: +
1: +struct fscrypt_name {
1: + const struct qstr *usr_fname;
1: + struct fscrypt_str disk_name;
1: + u32 hash;
1: + u32 minor_hash;
1: + struct fscrypt_str crypto_buf;
1: + bool is_ciphertext_name;
1: +};
1: +
1: +struct ext4_dir_entry {
1: + __le32 inode;
1: + __le16 rec_len;
1: + __le16 name_len;
1: + char name[255];
1: +};
1: +
1: +struct ext4_dir_entry_tail {
1: + __le32 det_reserved_zero1;
1: + __le16 det_rec_len;
1: + __u8 det_reserved_zero2;
1: + __u8 det_reserved_ft;
1: + __le32 det_checksum;
1: +};
1: +
1: +typedef enum {
1: + EITHER = 0,
1: + INDEX = 1,
1: + DIRENT = 2,
1: + DIRENT_HTREE = 3,
1: +} dirblock_type_t;
1: +
1: +struct fake_dirent {
1: + __le32 inode;
1: + __le16 rec_len;
1: + u8 name_len;
1: + u8 file_type;
1: +};
1: +
1: +struct dx_countlimit {
1: + __le16 limit;
1: + __le16 count;
1: +};
1: +
1: +struct dx_entry {
1: + __le32 hash;
1: + __le32 block;
1: +};
1: +
1: +struct dx_root_info {
1: + __le32 reserved_zero;
1: + u8 hash_version;
1: + u8 info_length;
1: + u8 indirect_levels;
1: + u8 unused_flags;
1: +};
1: +
1: +struct dx_root {
1: + struct fake_dirent dot;
1: + char dot_name[4];
1: + struct fake_dirent dotdot;
1: + char dotdot_name[4];
1: + struct dx_root_info info;
1: + struct dx_entry entries[0];
1: +};
1: +
1: +struct dx_node {
1: + struct fake_dirent fake;
1: + struct dx_entry entries[0];
1: +};
1: +
1: +struct dx_frame {
1: + struct buffer_head *bh;
1: + struct dx_entry *entries;
1: + struct dx_entry *at;
1: +};
1: +
1: +struct dx_map_entry {
1: + u32 hash;
1: + u16 offs;
1: + u16 size;
1: +};
1: +
1: +struct dx_tail {
1: + u32 dt_reserved;
1: + __le32 dt_checksum;
1: +};
1: +
1: +struct ext4_renament {
1: + struct inode___2 *dir;
1: + struct dentry___2 *dentry;
1: + struct inode___2 *inode;
1: + bool is_dir;
1: + int dir_nlink_delta;
1: + struct buffer_head *bh;
1: + struct ext4_dir_entry_2 *de;
1: + int inlined;
1: + struct buffer_head *dir_bh;
1: + struct ext4_dir_entry_2 *parent_de;
1: + int dir_inlined;
1: +};
1: +
1: +enum bio_post_read_step {
1: + STEP_INITIAL = 0,
1: + STEP_DECRYPT = 1,
1: + STEP_VERITY = 2,
1: +};
1: +
1: +struct bio_post_read_ctx {
1: + struct bio *bio;
1: + struct work_struct work;
1: + unsigned int cur_step;
1: + unsigned int enabled_steps;
1: +};
1: +
1: +enum {
1: + BLOCK_BITMAP = 0,
1: + INODE_BITMAP = 1,
1: + INODE_TABLE = 2,
1: + GROUP_TABLE_COUNT = 3,
1: +};
1: +
1: +struct ext4_new_flex_group_data {
1: + struct ext4_new_group_data *groups;
1: + __u16 *bg_flags;
1: + ext4_group_t count;
1: +};
1: +
1: +enum {
1: + I_DATA_SEM_NORMAL = 0,
1: + I_DATA_SEM_OTHER = 1,
1: + I_DATA_SEM_QUOTA = 2,
1: +};
1: +
1: +struct ext4_lazy_init {
1: + long unsigned int li_state;
1: + struct list_head li_request_list;
1: + struct mutex li_list_mtx;
1: +};
1: +
1: +struct ext4_journal_cb_entry {
1: + struct list_head jce_list;
1: + void (*jce_func)(struct super_block___2 *, struct ext4_journal_cb_entry *, int);
1: +};
1: +
1: +struct trace_event_raw_ext4_other_inode_update_time {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ino_t orig_ino;
1: + uid_t uid;
1: + gid_t gid;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_free_inode {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + uid_t uid;
1: + gid_t gid;
1: + __u64 blocks;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_request_inode {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t dir;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_allocate_inode {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ino_t dir;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_evict_inode {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int nlink;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_drop_inode {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int drop;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_nfs_commit_metadata {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_mark_inode_dirty {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int ip;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_begin_ordered_truncate {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t new_size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__write_begin {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + unsigned int len;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__write_end {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + unsigned int len;
1: + unsigned int copied;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_writepages {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long int nr_to_write;
1: + long int pages_skipped;
1: + loff_t range_start;
1: + loff_t range_end;
1: + long unsigned int writeback_index;
1: + int sync_mode;
1: + char for_kupdate;
1: + char range_cyclic;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_da_write_pages {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int first_page;
1: + long int nr_to_write;
1: + int sync_mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_da_write_pages_extent {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 lblk;
1: + __u32 len;
1: + __u32 flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_writepages_result {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int ret;
1: + int pages_written;
1: + long int pages_skipped;
1: + long unsigned int writeback_index;
1: + int sync_mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__page_op {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int index;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_invalidatepage_op {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int index;
1: + unsigned int offset;
1: + unsigned int length;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_discard_blocks {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + __u64 blk;
1: + __u64 count;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__mb_new_pa {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 pa_pstart;
1: + __u64 pa_lstart;
1: + __u32 pa_len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_mb_release_inode_pa {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 block;
1: + __u32 count;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_mb_release_group_pa {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + __u64 pa_pstart;
1: + __u32 pa_len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_discard_preallocations {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_mb_discard_preallocations {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int needed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_request_blocks {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + unsigned int len;
1: + __u32 logical;
1: + __u32 lleft;
1: + __u32 lright;
1: + __u64 goal;
1: + __u64 pleft;
1: + __u64 pright;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_allocate_blocks {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 block;
1: + unsigned int len;
1: + __u32 logical;
1: + __u32 lleft;
1: + __u32 lright;
1: + __u64 goal;
1: + __u64 pleft;
1: + __u64 pright;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_free_blocks {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 block;
1: + long unsigned int count;
1: + int flags;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_sync_file_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ino_t parent;
1: + int datasync;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_sync_file_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_sync_fs {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int wait;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_alloc_da_blocks {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + unsigned int data_blocks;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_mballoc_alloc {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u32 orig_logical;
1: + int orig_start;
1: + __u32 orig_group;
1: + int orig_len;
1: + __u32 goal_logical;
1: + int goal_start;
1: + __u32 goal_group;
1: + int goal_len;
1: + __u32 result_logical;
1: + int result_start;
1: + __u32 result_group;
1: + int result_len;
1: + __u16 found;
1: + __u16 groups;
1: + __u16 buddy;
1: + __u16 flags;
1: + __u16 tail;
1: + __u8 cr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_mballoc_prealloc {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u32 orig_logical;
1: + int orig_start;
1: + __u32 orig_group;
1: + int orig_len;
1: + __u32 result_logical;
1: + int result_start;
1: + __u32 result_group;
1: + int result_len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__mballoc {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int result_start;
1: + __u32 result_group;
1: + int result_len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_forget {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 block;
1: + int is_metadata;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_da_update_reserve_space {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 i_blocks;
1: + int used_blocks;
1: + int reserved_data_blocks;
1: + int quota_claim;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_da_reserve_space {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 i_blocks;
1: + int reserved_data_blocks;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_da_release_space {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 i_blocks;
1: + int freed_blocks;
1: + int reserved_data_blocks;
1: + __u16 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__bitmap_load {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + __u32 group;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_direct_IO_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + long unsigned int len;
1: + int rw;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_direct_IO_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + long unsigned int len;
1: + int rw;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__fallocate_mode {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t offset;
1: + loff_t len;
1: + int mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_fallocate_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + unsigned int blocks;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_unlink_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ino_t parent;
1: + loff_t size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_unlink_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__truncate {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 blocks;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_convert_to_initialized_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t m_lblk;
1: + unsigned int m_len;
1: + ext4_lblk_t u_lblk;
1: + unsigned int u_len;
1: + ext4_fsblk_t u_pblk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_convert_to_initialized_fastpath {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t m_lblk;
1: + unsigned int m_len;
1: + ext4_lblk_t u_lblk;
1: + unsigned int u_len;
1: + ext4_fsblk_t u_pblk;
1: + ext4_lblk_t i_lblk;
1: + unsigned int i_len;
1: + ext4_fsblk_t i_pblk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__map_blocks_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + unsigned int len;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__map_blocks_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + unsigned int flags;
1: + ext4_fsblk_t pblk;
1: + ext4_lblk_t lblk;
1: + unsigned int len;
1: + unsigned int mflags;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_load_extent {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_fsblk_t pblk;
1: + ext4_lblk_t lblk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_load_inode {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_journal_start {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int ip;
1: + int blocks;
1: + int rsv_blocks;
1: + int revoke_creds;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_journal_start_reserved {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int ip;
1: + int blocks;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__trim {
1: + struct trace_entry ent;
1: + int dev_major;
1: + int dev_minor;
1: + __u32 group;
1: + int start;
1: + int len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_handle_unwritten_extents {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int flags;
1: + ext4_lblk_t lblk;
1: + ext4_fsblk_t pblk;
1: + unsigned int len;
1: + unsigned int allocated;
1: + ext4_fsblk_t newblk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_get_implied_cluster_alloc_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + unsigned int flags;
1: + ext4_lblk_t lblk;
1: + ext4_fsblk_t pblk;
1: + unsigned int len;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_put_in_cache {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + unsigned int len;
1: + ext4_fsblk_t start;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_in_cache {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_find_delalloc_range {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t from;
1: + ext4_lblk_t to;
1: + int reverse;
1: + int found;
1: + ext4_lblk_t found_blk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_get_reserved_cluster_alloc {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + unsigned int len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_show_extent {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_fsblk_t pblk;
1: + ext4_lblk_t lblk;
1: + short unsigned int len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_remove_blocks {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t from;
1: + ext4_lblk_t to;
1: + ext4_fsblk_t ee_pblk;
1: + ext4_lblk_t ee_lblk;
1: + short unsigned int ee_len;
1: + ext4_fsblk_t pc_pclu;
1: + ext4_lblk_t pc_lblk;
1: + int pc_state;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_rm_leaf {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t start;
1: + ext4_lblk_t ee_lblk;
1: + ext4_fsblk_t ee_pblk;
1: + short int ee_len;
1: + ext4_fsblk_t pc_pclu;
1: + ext4_lblk_t pc_lblk;
1: + int pc_state;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_rm_idx {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_fsblk_t pblk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_remove_space {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t start;
1: + ext4_lblk_t end;
1: + int depth;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_ext_remove_space_done {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t start;
1: + ext4_lblk_t end;
1: + int depth;
1: + ext4_fsblk_t pc_pclu;
1: + ext4_lblk_t pc_lblk;
1: + int pc_state;
1: + short unsigned int eh_entries;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__es_extent {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + ext4_lblk_t len;
1: + ext4_fsblk_t pblk;
1: + char status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_es_remove_extent {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t lblk;
1: + loff_t len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_es_find_extent_range_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_es_find_extent_range_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + ext4_lblk_t len;
1: + ext4_fsblk_t pblk;
1: + char status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_es_lookup_extent_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_es_lookup_extent_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + ext4_lblk_t len;
1: + ext4_fsblk_t pblk;
1: + char status;
1: + int found;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4__es_shrink_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int nr_to_scan;
1: + int cache_cnt;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_es_shrink_scan_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int nr_shrunk;
1: + int cache_cnt;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_collapse_range {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t offset;
1: + loff_t len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_insert_range {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t offset;
1: + loff_t len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_es_shrink {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int nr_shrunk;
1: + long long unsigned int scan_time;
1: + int nr_skipped;
1: + int retried;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_es_insert_delayed_block {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + ext4_lblk_t len;
1: + ext4_fsblk_t pblk;
1: + char status;
1: + bool allocated;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_fsmap_class {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + dev_t keydev;
1: + u32 agno;
1: + u64 bno;
1: + u64 len;
1: + u64 owner;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_getfsmap_class {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + dev_t keydev;
1: + u64 block;
1: + u64 len;
1: + u64 owner;
1: + u64 flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_shutdown {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ext4_error {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + const char *function;
1: + unsigned int line;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_ext4_other_inode_update_time {};
1: +
1: +struct trace_event_data_offsets_ext4_free_inode {};
1: +
1: +struct trace_event_data_offsets_ext4_request_inode {};
1: +
1: +struct trace_event_data_offsets_ext4_allocate_inode {};
1: +
1: +struct trace_event_data_offsets_ext4_evict_inode {};
1: +
1: +struct trace_event_data_offsets_ext4_drop_inode {};
1: +
1: +struct trace_event_data_offsets_ext4_nfs_commit_metadata {};
1: +
1: +struct trace_event_data_offsets_ext4_mark_inode_dirty {};
1: +
1: +struct trace_event_data_offsets_ext4_begin_ordered_truncate {};
1: +
1: +struct trace_event_data_offsets_ext4__write_begin {};
1: +
1: +struct trace_event_data_offsets_ext4__write_end {};
1: +
1: +struct trace_event_data_offsets_ext4_writepages {};
1: +
1: +struct trace_event_data_offsets_ext4_da_write_pages {};
1: +
1: +struct trace_event_data_offsets_ext4_da_write_pages_extent {};
1: +
1: +struct trace_event_data_offsets_ext4_writepages_result {};
1: +
1: +struct trace_event_data_offsets_ext4__page_op {};
1: +
1: +struct trace_event_data_offsets_ext4_invalidatepage_op {};
1: +
1: +struct trace_event_data_offsets_ext4_discard_blocks {};
1: +
1: +struct trace_event_data_offsets_ext4__mb_new_pa {};
1: +
1: +struct trace_event_data_offsets_ext4_mb_release_inode_pa {};
1: +
1: +struct trace_event_data_offsets_ext4_mb_release_group_pa {};
1: +
1: +struct trace_event_data_offsets_ext4_discard_preallocations {};
1: +
1: +struct trace_event_data_offsets_ext4_mb_discard_preallocations {};
1: +
1: +struct trace_event_data_offsets_ext4_request_blocks {};
1: +
1: +struct trace_event_data_offsets_ext4_allocate_blocks {};
1: +
1: +struct trace_event_data_offsets_ext4_free_blocks {};
1: +
1: +struct trace_event_data_offsets_ext4_sync_file_enter {};
1: +
1: +struct trace_event_data_offsets_ext4_sync_file_exit {};
1: +
1: +struct trace_event_data_offsets_ext4_sync_fs {};
1: +
1: +struct trace_event_data_offsets_ext4_alloc_da_blocks {};
1: +
1: +struct trace_event_data_offsets_ext4_mballoc_alloc {};
1: +
1: +struct trace_event_data_offsets_ext4_mballoc_prealloc {};
1: +
1: +struct trace_event_data_offsets_ext4__mballoc {};
1: +
1: +struct trace_event_data_offsets_ext4_forget {};
1: +
1: +struct trace_event_data_offsets_ext4_da_update_reserve_space {};
1: +
1: +struct trace_event_data_offsets_ext4_da_reserve_space {};
1: +
1: +struct trace_event_data_offsets_ext4_da_release_space {};
1: +
1: +struct trace_event_data_offsets_ext4__bitmap_load {};
1: +
1: +struct trace_event_data_offsets_ext4_direct_IO_enter {};
1: +
1: +struct trace_event_data_offsets_ext4_direct_IO_exit {};
1: +
1: +struct trace_event_data_offsets_ext4__fallocate_mode {};
1: +
1: +struct trace_event_data_offsets_ext4_fallocate_exit {};
1: +
1: +struct trace_event_data_offsets_ext4_unlink_enter {};
1: +
1: +struct trace_event_data_offsets_ext4_unlink_exit {};
1: +
1: +struct trace_event_data_offsets_ext4__truncate {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_convert_to_initialized_enter {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_convert_to_initialized_fastpath {};
1: +
1: +struct trace_event_data_offsets_ext4__map_blocks_enter {};
1: +
1: +struct trace_event_data_offsets_ext4__map_blocks_exit {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_load_extent {};
1: +
1: +struct trace_event_data_offsets_ext4_load_inode {};
1: +
1: +struct trace_event_data_offsets_ext4_journal_start {};
1: +
1: +struct trace_event_data_offsets_ext4_journal_start_reserved {};
1: +
1: +struct trace_event_data_offsets_ext4__trim {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_handle_unwritten_extents {};
1: +
1: +struct trace_event_data_offsets_ext4_get_implied_cluster_alloc_exit {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_put_in_cache {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_in_cache {};
1: +
1: +struct trace_event_data_offsets_ext4_find_delalloc_range {};
1: +
1: +struct trace_event_data_offsets_ext4_get_reserved_cluster_alloc {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_show_extent {};
1: +
1: +struct trace_event_data_offsets_ext4_remove_blocks {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_rm_leaf {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_rm_idx {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_remove_space {};
1: +
1: +struct trace_event_data_offsets_ext4_ext_remove_space_done {};
1: +
1: +struct trace_event_data_offsets_ext4__es_extent {};
1: +
1: +struct trace_event_data_offsets_ext4_es_remove_extent {};
1: +
1: +struct trace_event_data_offsets_ext4_es_find_extent_range_enter {};
1: +
1: +struct trace_event_data_offsets_ext4_es_find_extent_range_exit {};
1: +
1: +struct trace_event_data_offsets_ext4_es_lookup_extent_enter {};
1: +
1: +struct trace_event_data_offsets_ext4_es_lookup_extent_exit {};
1: +
1: +struct trace_event_data_offsets_ext4__es_shrink_enter {};
1: +
1: +struct trace_event_data_offsets_ext4_es_shrink_scan_exit {};
1: +
1: +struct trace_event_data_offsets_ext4_collapse_range {};
1: +
1: +struct trace_event_data_offsets_ext4_insert_range {};
1: +
1: +struct trace_event_data_offsets_ext4_es_shrink {};
1: +
1: +struct trace_event_data_offsets_ext4_es_insert_delayed_block {};
1: +
1: +struct trace_event_data_offsets_ext4_fsmap_class {};
1: +
1: +struct trace_event_data_offsets_ext4_getfsmap_class {};
1: +
1: +struct trace_event_data_offsets_ext4_shutdown {};
1: +
1: +struct trace_event_data_offsets_ext4_error {};
1: +
1: +enum {
1: + Opt_bsd_df = 0,
1: + Opt_minix_df = 1,
1: + Opt_grpid = 2,
1: + Opt_nogrpid = 3,
1: + Opt_resgid = 4,
1: + Opt_resuid = 5,
1: + Opt_sb = 6,
1: + Opt_err_cont = 7,
1: + Opt_err_panic = 8,
1: + Opt_err_ro = 9,
1: + Opt_nouid32 = 10,
1: + Opt_debug = 11,
1: + Opt_removed = 12,
1: + Opt_user_xattr = 13,
1: + Opt_nouser_xattr = 14,
1: + Opt_acl = 15,
1: + Opt_noacl = 16,
1: + Opt_auto_da_alloc = 17,
1: + Opt_noauto_da_alloc = 18,
1: + Opt_noload = 19,
1: + Opt_commit = 20,
1: + Opt_min_batch_time = 21,
1: + Opt_max_batch_time = 22,
1: + Opt_journal_dev = 23,
1: + Opt_journal_path = 24,
1: + Opt_journal_checksum = 25,
1: + Opt_journal_async_commit = 26,
1: + Opt_abort = 27,
1: + Opt_data_journal = 28,
1: + Opt_data_ordered = 29,
1: + Opt_data_writeback = 30,
1: + Opt_data_err_abort = 31,
1: + Opt_data_err_ignore = 32,
1: + Opt_test_dummy_encryption = 33,
1: + Opt_usrjquota = 34,
1: + Opt_grpjquota = 35,
1: + Opt_offusrjquota = 36,
1: + Opt_offgrpjquota = 37,
1: + Opt_jqfmt_vfsold = 38,
1: + Opt_jqfmt_vfsv0 = 39,
1: + Opt_jqfmt_vfsv1 = 40,
1: + Opt_quota = 41,
1: + Opt_noquota = 42,
1: + Opt_barrier = 43,
1: + Opt_nobarrier = 44,
1: + Opt_err___2 = 45,
1: + Opt_usrquota = 46,
1: + Opt_grpquota = 47,
1: + Opt_prjquota = 48,
1: + Opt_i_version = 49,
1: + Opt_dax = 50,
1: + Opt_stripe = 51,
1: + Opt_delalloc = 52,
1: + Opt_nodelalloc = 53,
1: + Opt_warn_on_error = 54,
1: + Opt_nowarn_on_error = 55,
1: + Opt_mblk_io_submit = 56,
1: + Opt_lazytime = 57,
1: + Opt_nolazytime = 58,
1: + Opt_debug_want_extra_isize = 59,
1: + Opt_nomblk_io_submit = 60,
1: + Opt_block_validity = 61,
1: + Opt_noblock_validity = 62,
1: + Opt_inode_readahead_blks = 63,
1: + Opt_journal_ioprio = 64,
1: + Opt_dioread_nolock = 65,
1: + Opt_dioread_lock = 66,
1: + Opt_discard = 67,
1: + Opt_nodiscard = 68,
1: + Opt_init_itable = 69,
1: + Opt_noinit_itable = 70,
1: + Opt_max_dir_size_kb = 71,
1: + Opt_nojournal_checksum = 72,
1: + Opt_nombcache = 73,
1: +};
1: +
1: +struct mount_opts {
1: + int token;
1: + int mount_opt;
1: + int flags;
1: +};
1: +
1: +struct ext4_mount_options {
1: + long unsigned int s_mount_opt;
1: + long unsigned int s_mount_opt2;
1: + kuid_t s_resuid;
1: + kgid_t s_resgid;
1: + long unsigned int s_commit_interval;
1: + u32 s_min_batch_time;
1: + u32 s_max_batch_time;
1: + int s_jquota_fmt;
1: + char *s_qf_names[3];
1: +};
1: +
1: +enum {
1: + attr_noop = 0,
1: + attr_delayed_allocation_blocks = 1,
1: + attr_session_write_kbytes = 2,
1: + attr_lifetime_write_kbytes = 3,
1: + attr_reserved_clusters = 4,
1: + attr_inode_readahead = 5,
1: + attr_trigger_test_error = 6,
1: + attr_first_error_time = 7,
1: + attr_last_error_time = 8,
1: + attr_feature = 9,
1: + attr_pointer_ui = 10,
1: + attr_pointer_atomic = 11,
1: + attr_journal_task = 12,
1: +};
1: +
1: +enum {
1: + ptr_explicit = 0,
1: + ptr_ext4_sb_info_offset = 1,
1: + ptr_ext4_super_block_offset = 2,
1: +};
1: +
1: +struct ext4_attr {
1: + struct attribute attr;
1: + short int attr_id;
1: + short int attr_ptr;
1: + union {
1: + int offset;
1: + void *explicit_ptr;
1: + } u;
1: +};
1: +
1: +struct ext4_xattr_header {
1: + __le32 h_magic;
1: + __le32 h_refcount;
1: + __le32 h_blocks;
1: + __le32 h_hash;
1: + __le32 h_checksum;
1: + __u32 h_reserved[3];
1: +};
1: +
1: +struct ext4_xattr_block_find {
1: + struct ext4_xattr_search s;
1: + struct buffer_head *bh;
1: +};
1: +
1: +typedef struct {
1: + __le16 e_tag;
1: + __le16 e_perm;
1: + __le32 e_id;
1: +} ext4_acl_entry;
1: +
1: +typedef struct {
1: + __le32 a_version;
1: +} ext4_acl_header;
1: +
1: +struct commit_header {
1: + __be32 h_magic;
1: + __be32 h_blocktype;
1: + __be32 h_sequence;
1: + unsigned char h_chksum_type;
1: + unsigned char h_chksum_size;
1: + unsigned char h_padding[2];
1: + __be32 h_chksum[8];
1: + __be64 h_commit_sec;
1: + __be32 h_commit_nsec;
1: +};
1: +
1: +struct journal_block_tag3_s {
1: + __be32 t_blocknr;
1: + __be32 t_flags;
1: + __be32 t_blocknr_high;
1: + __be32 t_checksum;
1: +};
1: +
1: +typedef struct journal_block_tag3_s journal_block_tag3_t;
1: +
1: +struct journal_block_tag_s {
1: + __be32 t_blocknr;
1: + __be16 t_checksum;
1: + __be16 t_flags;
1: + __be32 t_blocknr_high;
1: +};
1: +
1: +typedef struct journal_block_tag_s journal_block_tag_t;
1: +
1: +struct jbd2_journal_block_tail {
1: + __be32 t_checksum;
1: +};
1: +
1: +struct jbd2_journal_revoke_header_s {
1: + journal_header_t r_header;
1: + __be32 r_count;
1: +};
1: +
1: +typedef struct jbd2_journal_revoke_header_s jbd2_journal_revoke_header_t;
1: +
1: +struct recovery_info {
1: + tid_t start_transaction;
1: + tid_t end_transaction;
1: + int nr_replays;
1: + int nr_revokes;
1: + int nr_revoke_hits;
1: +};
1: +
1: +enum passtype {
1: + PASS_SCAN = 0,
1: + PASS_REVOKE = 1,
1: + PASS_REPLAY = 2,
1: +};
1: +
1: +struct jbd2_revoke_table_s {
1: + int hash_size;
1: + int hash_shift;
1: + struct list_head *hash_table;
1: +};
1: +
1: +struct jbd2_revoke_record_s {
1: + struct list_head hash;
1: + tid_t sequence;
1: + long long unsigned int blocknr;
1: +};
1: +
1: +struct trace_event_raw_jbd2_checkpoint {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int result;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_commit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char sync_commit;
1: + int transaction;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_end_commit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char sync_commit;
1: + int transaction;
1: + int head;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_submit_inode_data {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_handle_start_class {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + unsigned int type;
1: + unsigned int line_no;
1: + int requested_blocks;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_handle_extend {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + unsigned int type;
1: + unsigned int line_no;
1: + int buffer_credits;
1: + int requested_blocks;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_handle_stats {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + unsigned int type;
1: + unsigned int line_no;
1: + int interval;
1: + int sync;
1: + int requested_blocks;
1: + int dirtied_blocks;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_run_stats {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + long unsigned int wait;
1: + long unsigned int request_delay;
1: + long unsigned int running;
1: + long unsigned int locked;
1: + long unsigned int flushing;
1: + long unsigned int logging;
1: + __u32 handle_count;
1: + __u32 blocks;
1: + __u32 blocks_logged;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_checkpoint_stats {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + long unsigned int chp_time;
1: + __u32 forced_to_close;
1: + __u32 written;
1: + __u32 dropped;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_update_log_tail {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + tid_t tail_sequence;
1: + tid_t first_tid;
1: + long unsigned int block_nr;
1: + long unsigned int freed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_write_superblock {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int write_op;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_jbd2_lock_buffer_stall {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int stall_ms;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_jbd2_checkpoint {};
1: +
1: +struct trace_event_data_offsets_jbd2_commit {};
1: +
1: +struct trace_event_data_offsets_jbd2_end_commit {};
1: +
1: +struct trace_event_data_offsets_jbd2_submit_inode_data {};
1: +
1: +struct trace_event_data_offsets_jbd2_handle_start_class {};
1: +
1: +struct trace_event_data_offsets_jbd2_handle_extend {};
1: +
1: +struct trace_event_data_offsets_jbd2_handle_stats {};
1: +
1: +struct trace_event_data_offsets_jbd2_run_stats {};
1: +
1: +struct trace_event_data_offsets_jbd2_checkpoint_stats {};
1: +
1: +struct trace_event_data_offsets_jbd2_update_log_tail {};
1: +
1: +struct trace_event_data_offsets_jbd2_write_superblock {};
1: +
1: +struct trace_event_data_offsets_jbd2_lock_buffer_stall {};
1: +
1: +struct jbd2_stats_proc_session {
1: + journal_t *journal;
1: + struct transaction_stats_s *stats;
1: + int start;
1: + int max;
1: +};
1: +
1: +struct ramfs_mount_opts {
1: + umode_t mode;
1: +};
1: +
1: +struct ramfs_fs_info {
1: + struct ramfs_mount_opts mount_opts;
1: +};
1: +
1: +enum ramfs_param {
1: + Opt_mode___3 = 0,
1: +};
1: +
1: +enum hugetlbfs_size_type {
1: + NO_SIZE = 0,
1: + SIZE_STD = 1,
1: + SIZE_PERCENT = 2,
1: +};
1: +
1: +struct hugetlbfs_fs_context {
1: + struct hstate *hstate;
1: + long long unsigned int max_size_opt;
1: + long long unsigned int min_size_opt;
1: + long int max_hpages;
1: + long int nr_inodes;
1: + long int min_hpages;
1: + enum hugetlbfs_size_type max_val_type;
1: + enum hugetlbfs_size_type min_val_type;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: +};
1: +
1: +enum hugetlb_param {
1: + Opt_gid___4 = 0,
1: + Opt_min_size = 1,
1: + Opt_mode___4 = 2,
1: + Opt_nr_inodes___2 = 3,
1: + Opt_pagesize = 4,
1: + Opt_size___2 = 5,
1: + Opt_uid___3 = 6,
1: +};
1: +
1: +typedef u16 wchar_t;
1: +
1: +struct nls_table {
1: + const char *charset;
1: + const char *alias;
1: + int (*uni2char)(wchar_t, unsigned char *, int);
1: + int (*char2uni)(const unsigned char *, int, wchar_t *);
1: + const unsigned char *charset2lower;
1: + const unsigned char *charset2upper;
1: + struct module *owner;
1: + struct nls_table *next;
1: +};
1: +
1: +struct fat_mount_options {
1: + kuid_t fs_uid;
1: + kgid_t fs_gid;
1: + short unsigned int fs_fmask;
1: + short unsigned int fs_dmask;
1: + short unsigned int codepage;
1: + int time_offset;
1: + char *iocharset;
1: + short unsigned int shortname;
1: + unsigned char name_check;
1: + unsigned char errors;
1: + unsigned char nfs;
1: + short unsigned int allow_utime;
1: + unsigned int quiet: 1;
1: + unsigned int showexec: 1;
1: + unsigned int sys_immutable: 1;
1: + unsigned int dotsOK: 1;
1: + unsigned int isvfat: 1;
1: + unsigned int utf8: 1;
1: + unsigned int unicode_xlate: 1;
1: + unsigned int numtail: 1;
1: + unsigned int flush: 1;
1: + unsigned int nocase: 1;
1: + unsigned int usefree: 1;
1: + unsigned int tz_set: 1;
1: + unsigned int rodir: 1;
1: + unsigned int discard: 1;
1: + unsigned int dos1xfloppy: 1;
1: +};
1: +
1: +struct fatent_operations;
1: +
1: +struct msdos_sb_info {
1: + short unsigned int sec_per_clus;
1: + short unsigned int cluster_bits;
1: + unsigned int cluster_size;
1: + unsigned char fats;
1: + unsigned char fat_bits;
1: + short unsigned int fat_start;
1: + long unsigned int fat_length;
1: + long unsigned int dir_start;
1: + short unsigned int dir_entries;
1: + long unsigned int data_start;
1: + long unsigned int max_cluster;
1: + long unsigned int root_cluster;
1: + long unsigned int fsinfo_sector;
1: + struct mutex fat_lock;
1: + struct mutex nfs_build_inode_lock;
1: + struct mutex s_lock;
1: + unsigned int prev_free;
1: + unsigned int free_clusters;
1: + unsigned int free_clus_valid;
1: + struct fat_mount_options options;
1: + struct nls_table *nls_disk;
1: + struct nls_table *nls_io;
1: + const void *dir_ops;
1: + int dir_per_block;
1: + int dir_per_block_bits;
1: + unsigned int vol_id;
1: + int fatent_shift;
1: + const struct fatent_operations *fatent_ops;
1: + struct inode___2 *fat_inode;
1: + struct inode___2 *fsinfo_inode;
1: + struct ratelimit_state ratelimit;
1: + spinlock_t inode_hash_lock;
1: + struct hlist_head inode_hashtable[256];
1: + spinlock_t dir_hash_lock;
1: + struct hlist_head dir_hashtable[256];
1: + unsigned int dirty;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct fat_entry;
1: +
1: +struct fatent_operations {
1: + void (*ent_blocknr)(struct super_block___2 *, int, int *, sector_t *);
1: + void (*ent_set_ptr)(struct fat_entry *, int);
1: + int (*ent_bread)(struct super_block___2 *, struct fat_entry *, int, sector_t);
1: + int (*ent_get)(struct fat_entry *);
1: + void (*ent_put)(struct fat_entry *, int);
1: + int (*ent_next)(struct fat_entry *);
1: +};
1: +
1: +struct msdos_inode_info {
1: + spinlock_t cache_lru_lock;
1: + struct list_head cache_lru;
1: + int nr_caches;
1: + unsigned int cache_valid_id;
1: + loff_t mmu_private;
1: + int i_start;
1: + int i_logstart;
1: + int i_attrs;
1: + loff_t i_pos;
1: + struct hlist_node i_fat_hash;
1: + struct hlist_node i_dir_hash;
1: + struct rw_semaphore truncate_lock;
1: + struct inode___2 vfs_inode;
1: +};
1: +
1: +struct fat_entry {
1: + int entry;
1: + union {
1: + u8 *ent12_p[2];
1: + __le16 *ent16_p;
1: + __le32 *ent32_p;
1: + } u;
1: + int nr_bhs;
1: + struct buffer_head *bhs[2];
1: + struct inode___2 *fat_inode;
1: +};
1: +
1: +struct fat_cache {
1: + struct list_head cache_list;
1: + int nr_contig;
1: + int fcluster;
1: + int dcluster;
1: +};
1: +
1: +struct fat_cache_id {
1: + unsigned int id;
1: + int nr_contig;
1: + int fcluster;
1: + int dcluster;
1: +};
1: +
1: +struct compat_dirent {
1: + u32 d_ino;
1: + compat_off_t d_off;
1: + u16 d_reclen;
1: + char d_name[256];
1: +};
1: +
1: +enum utf16_endian {
1: + UTF16_HOST_ENDIAN = 0,
1: + UTF16_LITTLE_ENDIAN = 1,
1: + UTF16_BIG_ENDIAN = 2,
1: +};
1: +
1: +struct __fat_dirent {
1: + long int d_ino;
1: + __kernel_off_t d_off;
1: + short unsigned int d_reclen;
1: + char d_name[256];
1: +};
1: +
1: +struct msdos_dir_entry {
1: + __u8 name[11];
1: + __u8 attr;
1: + __u8 lcase;
1: + __u8 ctime_cs;
1: + __le16 ctime;
1: + __le16 cdate;
1: + __le16 adate;
1: + __le16 starthi;
1: + __le16 time;
1: + __le16 date;
1: + __le16 start;
1: + __le32 size;
1: +};
1: +
1: +struct msdos_dir_slot {
1: + __u8 id;
1: + __u8 name0_4[10];
1: + __u8 attr;
1: + __u8 reserved;
1: + __u8 alias_checksum;
1: + __u8 name5_10[12];
1: + __le16 start;
1: + __u8 name11_12[4];
1: +};
1: +
1: +struct fat_slot_info {
1: + loff_t i_pos;
1: + loff_t slot_off;
1: + int nr_slots;
1: + struct msdos_dir_entry *de;
1: + struct buffer_head *bh;
1: +};
1: +
1: +typedef long long unsigned int llu;
1: +
1: +enum {
1: + PARSE_INVALID = 1,
1: + PARSE_NOT_LONGNAME = 2,
1: + PARSE_EOF = 3,
1: +};
1: +
1: +struct fat_ioctl_filldir_callback {
1: + struct dir_context ctx;
1: + void *dirent;
1: + int result;
1: + const char *longname;
1: + int long_len;
1: + const char *shortname;
1: + int short_len;
1: +};
1: +
1: +struct fat_boot_sector {
1: + __u8 ignored[3];
1: + __u8 system_id[8];
1: + __u8 sector_size[2];
1: + __u8 sec_per_clus;
1: + __le16 reserved;
1: + __u8 fats;
1: + __u8 dir_entries[2];
1: + __u8 sectors[2];
1: + __u8 media;
1: + __le16 fat_length;
1: + __le16 secs_track;
1: + __le16 heads;
1: + __le32 hidden;
1: + __le32 total_sect;
1: + union {
1: + struct {
1: + __u8 drive_number;
1: + __u8 state;
1: + __u8 signature;
1: + __u8 vol_id[4];
1: + __u8 vol_label[11];
1: + __u8 fs_type[8];
1: + } fat16;
1: + struct {
1: + __le32 length;
1: + __le16 flags;
1: + __u8 version[2];
1: + __le32 root_cluster;
1: + __le16 info_sector;
1: + __le16 backup_boot;
1: + __le16 reserved2[6];
1: + __u8 drive_number;
1: + __u8 state;
1: + __u8 signature;
1: + __u8 vol_id[4];
1: + __u8 vol_label[11];
1: + __u8 fs_type[8];
1: + } fat32;
1: + };
1: +};
1: +
1: +struct fat_boot_fsinfo {
1: + __le32 signature1;
1: + __le32 reserved1[120];
1: + __le32 signature2;
1: + __le32 free_clusters;
1: + __le32 next_cluster;
1: + __le32 reserved2[4];
1: +};
1: +
1: +struct fat_bios_param_block {
1: + u16 fat_sector_size;
1: + u8 fat_sec_per_clus;
1: + u16 fat_reserved;
1: + u8 fat_fats;
1: + u16 fat_dir_entries;
1: + u16 fat_sectors;
1: + u16 fat_fat_length;
1: + u32 fat_total_sect;
1: + u8 fat16_state;
1: + u32 fat16_vol_id;
1: + u32 fat32_length;
1: + u32 fat32_root_cluster;
1: + u16 fat32_info_sector;
1: + u8 fat32_state;
1: + u32 fat32_vol_id;
1: +};
1: +
1: +struct fat_floppy_defaults {
1: + unsigned int nr_sectors;
1: + unsigned int sec_per_clus;
1: + unsigned int dir_entries;
1: + unsigned int media;
1: + unsigned int fat_length;
1: +};
1: +
1: +enum {
1: + Opt_check_n = 0,
1: + Opt_check_r = 1,
1: + Opt_check_s = 2,
1: + Opt_uid___4 = 3,
1: + Opt_gid___5 = 4,
1: + Opt_umask = 5,
1: + Opt_dmask = 6,
1: + Opt_fmask = 7,
1: + Opt_allow_utime = 8,
1: + Opt_codepage = 9,
1: + Opt_usefree = 10,
1: + Opt_nocase = 11,
1: + Opt_quiet = 12,
1: + Opt_showexec = 13,
1: + Opt_debug___2 = 14,
1: + Opt_immutable = 15,
1: + Opt_dots = 16,
1: + Opt_nodots = 17,
1: + Opt_charset = 18,
1: + Opt_shortname_lower = 19,
1: + Opt_shortname_win95 = 20,
1: + Opt_shortname_winnt = 21,
1: + Opt_shortname_mixed = 22,
1: + Opt_utf8_no = 23,
1: + Opt_utf8_yes = 24,
1: + Opt_uni_xl_no = 25,
1: + Opt_uni_xl_yes = 26,
1: + Opt_nonumtail_no = 27,
1: + Opt_nonumtail_yes = 28,
1: + Opt_obsolete = 29,
1: + Opt_flush = 30,
1: + Opt_tz_utc = 31,
1: + Opt_rodir = 32,
1: + Opt_err_cont___2 = 33,
1: + Opt_err_panic___2 = 34,
1: + Opt_err_ro___2 = 35,
1: + Opt_discard___2 = 36,
1: + Opt_nfs = 37,
1: + Opt_time_offset = 38,
1: + Opt_nfs_stale_rw = 39,
1: + Opt_nfs_nostale_ro = 40,
1: + Opt_err___3 = 41,
1: + Opt_dos1xfloppy = 42,
1: +};
1: +
1: +struct fat_fid {
1: + u32 i_gen;
1: + u32 i_pos_low;
1: + u16 i_pos_hi;
1: + u16 parent_i_pos_hi;
1: + u32 parent_i_pos_low;
1: + u32 parent_i_gen;
1: +};
1: +
1: +struct shortname_info {
1: + unsigned char lower: 1;
1: + unsigned char upper: 1;
1: + unsigned char valid: 1;
1: +};
1: +
1: +struct iso_directory_record {
1: + __u8 length[1];
1: + __u8 ext_attr_length[1];
1: + __u8 extent[8];
1: + __u8 size[8];
1: + __u8 date[7];
1: + __u8 flags[1];
1: + __u8 file_unit_size[1];
1: + __u8 interleave[1];
1: + __u8 volume_sequence_number[4];
1: + __u8 name_len[1];
1: + char name[0];
1: +};
1: +
1: +struct iso_inode_info {
1: + long unsigned int i_iget5_block;
1: + long unsigned int i_iget5_offset;
1: + unsigned int i_first_extent;
1: + unsigned char i_file_format;
1: + unsigned char i_format_parm[3];
1: + long unsigned int i_next_section_block;
1: + long unsigned int i_next_section_offset;
1: + off_t i_section_size;
1: + struct inode___2 vfs_inode;
1: +};
1: +
1: +struct isofs_sb_info {
1: + long unsigned int s_ninodes;
1: + long unsigned int s_nzones;
1: + long unsigned int s_firstdatazone;
1: + long unsigned int s_log_zone_size;
1: + long unsigned int s_max_size;
1: + int s_rock_offset;
1: + s32 s_sbsector;
1: + unsigned char s_joliet_level;
1: + unsigned char s_mapping;
1: + unsigned char s_check;
1: + unsigned char s_session;
1: + unsigned int s_high_sierra: 1;
1: + unsigned int s_rock: 2;
1: + unsigned int s_utf8: 1;
1: + unsigned int s_cruft: 1;
1: + unsigned int s_nocompress: 1;
1: + unsigned int s_hide: 1;
1: + unsigned int s_showassoc: 1;
1: + unsigned int s_overriderockperm: 1;
1: + unsigned int s_uid_set: 1;
1: + unsigned int s_gid_set: 1;
1: + umode_t s_fmode;
1: + umode_t s_dmode;
1: + kgid_t s_gid;
1: + kuid_t s_uid;
1: + struct nls_table *s_nls_iocharset;
1: +};
1: +
1: +struct cdrom_msf0 {
1: + __u8 minute;
1: + __u8 second;
1: + __u8 frame;
1: +};
1: +
1: +union cdrom_addr {
1: + struct cdrom_msf0 msf;
1: + int lba;
1: +};
1: +
1: +struct cdrom_tocentry {
1: + __u8 cdte_track;
1: + __u8 cdte_adr: 4;
1: + __u8 cdte_ctrl: 4;
1: + __u8 cdte_format;
1: + union cdrom_addr cdte_addr;
1: + __u8 cdte_datamode;
1: +};
1: +
1: +struct cdrom_multisession {
1: + union cdrom_addr addr;
1: + __u8 xa_flag;
1: + __u8 addr_format;
1: +};
1: +
1: +struct iso_volume_descriptor {
1: + __u8 type[1];
1: + char id[5];
1: + __u8 version[1];
1: + __u8 data[2041];
1: +};
1: +
1: +struct iso_primary_descriptor {
1: + __u8 type[1];
1: + char id[5];
1: + __u8 version[1];
1: + __u8 unused1[1];
1: + char system_id[32];
1: + char volume_id[32];
1: + __u8 unused2[8];
1: + __u8 volume_space_size[8];
1: + __u8 unused3[32];
1: + __u8 volume_set_size[4];
1: + __u8 volume_sequence_number[4];
1: + __u8 logical_block_size[4];
1: + __u8 path_table_size[8];
1: + __u8 type_l_path_table[4];
1: + __u8 opt_type_l_path_table[4];
1: + __u8 type_m_path_table[4];
1: + __u8 opt_type_m_path_table[4];
1: + __u8 root_directory_record[34];
1: + char volume_set_id[128];
1: + char publisher_id[128];
1: + char preparer_id[128];
1: + char application_id[128];
1: + char copyright_file_id[37];
1: + char abstract_file_id[37];
1: + char bibliographic_file_id[37];
1: + __u8 creation_date[17];
1: + __u8 modification_date[17];
1: + __u8 expiration_date[17];
1: + __u8 effective_date[17];
1: + __u8 file_structure_version[1];
1: + __u8 unused4[1];
1: + __u8 application_data[512];
1: + __u8 unused5[653];
1: +};
1: +
1: +struct iso_supplementary_descriptor {
1: + __u8 type[1];
1: + char id[5];
1: + __u8 version[1];
1: + __u8 flags[1];
1: + char system_id[32];
1: + char volume_id[32];
1: + __u8 unused2[8];
1: + __u8 volume_space_size[8];
1: + __u8 escape[32];
1: + __u8 volume_set_size[4];
1: + __u8 volume_sequence_number[4];
1: + __u8 logical_block_size[4];
1: + __u8 path_table_size[8];
1: + __u8 type_l_path_table[4];
1: + __u8 opt_type_l_path_table[4];
1: + __u8 type_m_path_table[4];
1: + __u8 opt_type_m_path_table[4];
1: + __u8 root_directory_record[34];
1: + char volume_set_id[128];
1: + char publisher_id[128];
1: + char preparer_id[128];
1: + char application_id[128];
1: + char copyright_file_id[37];
1: + char abstract_file_id[37];
1: + char bibliographic_file_id[37];
1: + __u8 creation_date[17];
1: + __u8 modification_date[17];
1: + __u8 expiration_date[17];
1: + __u8 effective_date[17];
1: + __u8 file_structure_version[1];
1: + __u8 unused4[1];
1: + __u8 application_data[512];
1: + __u8 unused5[653];
1: +};
1: +
1: +struct hs_volume_descriptor {
1: + __u8 foo[8];
1: + __u8 type[1];
1: + char id[5];
1: + __u8 version[1];
1: + __u8 data[2033];
1: +};
1: +
1: +struct hs_primary_descriptor {
1: + __u8 foo[8];
1: + __u8 type[1];
1: + __u8 id[5];
1: + __u8 version[1];
1: + __u8 unused1[1];
1: + char system_id[32];
1: + char volume_id[32];
1: + __u8 unused2[8];
1: + __u8 volume_space_size[8];
1: + __u8 unused3[32];
1: + __u8 volume_set_size[4];
1: + __u8 volume_sequence_number[4];
1: + __u8 logical_block_size[4];
1: + __u8 path_table_size[8];
1: + __u8 type_l_path_table[4];
1: + __u8 unused4[28];
1: + __u8 root_directory_record[34];
1: +};
1: +
1: +enum isofs_file_format {
1: + isofs_file_normal = 0,
1: + isofs_file_sparse = 1,
1: + isofs_file_compressed = 2,
1: +};
1: +
1: +struct iso9660_options {
1: + unsigned int rock: 1;
1: + unsigned int joliet: 1;
1: + unsigned int cruft: 1;
1: + unsigned int hide: 1;
1: + unsigned int showassoc: 1;
1: + unsigned int nocompress: 1;
1: + unsigned int overriderockperm: 1;
1: + unsigned int uid_set: 1;
1: + unsigned int gid_set: 1;
1: + unsigned int utf8: 1;
1: + unsigned char map;
1: + unsigned char check;
1: + unsigned int blocksize;
1: + umode_t fmode;
1: + umode_t dmode;
1: + kgid_t gid;
1: + kuid_t uid;
1: + char *iocharset;
1: + s32 session;
1: + s32 sbsector;
1: +};
1: +
1: +enum {
1: + Opt_block = 0,
1: + Opt_check_r___2 = 1,
1: + Opt_check_s___2 = 2,
1: + Opt_cruft = 3,
1: + Opt_gid___6 = 4,
1: + Opt_ignore = 5,
1: + Opt_iocharset = 6,
1: + Opt_map_a = 7,
1: + Opt_map_n = 8,
1: + Opt_map_o = 9,
1: + Opt_mode___5 = 10,
1: + Opt_nojoliet = 11,
1: + Opt_norock = 12,
1: + Opt_sb___2 = 13,
1: + Opt_session = 14,
1: + Opt_uid___5 = 15,
1: + Opt_unhide = 16,
1: + Opt_utf8 = 17,
1: + Opt_err___4 = 18,
1: + Opt_nocompress = 19,
1: + Opt_hide = 20,
1: + Opt_showassoc = 21,
1: + Opt_dmode = 22,
1: + Opt_overriderockperm = 23,
1: +};
1: +
1: +struct isofs_iget5_callback_data {
1: + long unsigned int block;
1: + long unsigned int offset;
1: +};
1: +
1: +struct SU_SP_s {
1: + __u8 magic[2];
1: + __u8 skip;
1: +};
1: +
1: +struct SU_CE_s {
1: + __u8 extent[8];
1: + __u8 offset[8];
1: + __u8 size[8];
1: +};
1: +
1: +struct SU_ER_s {
1: + __u8 len_id;
1: + __u8 len_des;
1: + __u8 len_src;
1: + __u8 ext_ver;
1: + __u8 data[0];
1: +};
1: +
1: +struct RR_RR_s {
1: + __u8 flags[1];
1: +};
1: +
1: +struct RR_PX_s {
1: + __u8 mode[8];
1: + __u8 n_links[8];
1: + __u8 uid[8];
1: + __u8 gid[8];
1: +};
1: +
1: +struct RR_PN_s {
1: + __u8 dev_high[8];
1: + __u8 dev_low[8];
1: +};
1: +
1: +struct SL_component {
1: + __u8 flags;
1: + __u8 len;
1: + __u8 text[0];
1: +};
1: +
1: +struct RR_SL_s {
1: + __u8 flags;
1: + struct SL_component link;
1: +};
1: +
1: +struct RR_NM_s {
1: + __u8 flags;
1: + char name[0];
1: +};
1: +
1: +struct RR_CL_s {
1: + __u8 location[8];
1: +};
1: +
1: +struct RR_PL_s {
1: + __u8 location[8];
1: +};
1: +
1: +struct stamp {
1: + __u8 time[7];
1: +};
1: +
1: +struct RR_TF_s {
1: + __u8 flags;
1: + struct stamp times[0];
1: +};
1: +
1: +struct RR_ZF_s {
1: + __u8 algorithm[2];
1: + __u8 parms[2];
1: + __u8 real_size[8];
1: +};
1: +
1: +struct rock_ridge {
1: + __u8 signature[2];
1: + __u8 len;
1: + __u8 version;
1: + union {
1: + struct SU_SP_s SP;
1: + struct SU_CE_s CE;
1: + struct SU_ER_s ER;
1: + struct RR_RR_s RR;
1: + struct RR_PX_s PX;
1: + struct RR_PN_s PN;
1: + struct RR_SL_s SL;
1: + struct RR_NM_s NM;
1: + struct RR_CL_s CL;
1: + struct RR_PL_s PL;
1: + struct RR_TF_s TF;
1: + struct RR_ZF_s ZF;
1: + } u;
1: +};
1: +
1: +struct rock_state {
1: + void *buffer;
1: + unsigned char *chr;
1: + int len;
1: + int cont_size;
1: + int cont_extent;
1: + int cont_offset;
1: + int cont_loops;
1: + struct inode___2 *inode;
1: +};
1: +
1: +struct isofs_fid {
1: + u32 block;
1: + u16 offset;
1: + u16 parent_offset;
1: + u32 generation;
1: + u32 parent_block;
1: + u32 parent_generation;
1: +};
1: +
1: +typedef unsigned char Byte;
1: +
1: +typedef long unsigned int uLong;
1: +
1: +struct internal_state;
1: +
1: +struct z_stream_s {
1: + const Byte *next_in;
1: + uLong avail_in;
1: + uLong total_in;
1: + Byte *next_out;
1: + uLong avail_out;
1: + uLong total_out;
1: + char *msg;
1: + struct internal_state *state;
1: + void *workspace;
1: + int data_type;
1: + uLong adler;
1: + uLong reserved;
1: +};
1: +
1: +struct internal_state {
1: + int dummy;
1: +};
1: +
1: +typedef struct z_stream_s z_stream;
1: +
1: +typedef z_stream *z_streamp;
1: +
1: +typedef __kernel_old_time_t time_t;
1: +
1: +struct rpc_timer {
1: + struct list_head list;
1: + long unsigned int expires;
1: + struct delayed_work dwork;
1: +};
1: +
1: +struct rpc_wait_queue {
1: + spinlock_t lock;
1: + struct list_head tasks[4];
1: + unsigned char maxpriority;
1: + unsigned char priority;
1: + unsigned char nr;
1: + short unsigned int qlen;
1: + struct rpc_timer timer_list;
1: + const char *name;
1: +};
1: +
1: +struct nfs_seqid_counter {
1: + ktime_t create_time;
1: + int owner_id;
1: + int flags;
1: + u32 counter;
1: + spinlock_t lock;
1: + struct list_head list;
1: + struct rpc_wait_queue wait;
1: +};
1: +
1: +struct nfs4_stateid_struct {
1: + union {
1: + char data[16];
1: + struct {
1: + __be32 seqid;
1: + char other[12];
1: + };
1: + };
1: + enum {
1: + NFS4_INVALID_STATEID_TYPE = 0,
1: + NFS4_SPECIAL_STATEID_TYPE = 1,
1: + NFS4_OPEN_STATEID_TYPE = 2,
1: + NFS4_LOCK_STATEID_TYPE = 3,
1: + NFS4_DELEGATION_STATEID_TYPE = 4,
1: + NFS4_LAYOUT_STATEID_TYPE = 5,
1: + NFS4_PNFS_DS_STATEID_TYPE = 6,
1: + NFS4_REVOKED_STATEID_TYPE = 7,
1: + } type;
1: +};
1: +
1: +typedef struct nfs4_stateid_struct nfs4_stateid;
1: +
1: +struct nfs4_state;
1: +
1: +struct nfs4_lock_state {
1: + struct list_head ls_locks;
1: + struct nfs4_state *ls_state;
1: + long unsigned int ls_flags;
1: + struct nfs_seqid_counter ls_seqid;
1: + nfs4_stateid ls_stateid;
1: + refcount_t ls_count;
1: + fl_owner_t ls_owner;
1: +};
1: +
1: +struct in_addr {
1: + __be32 s_addr;
1: +};
1: +
1: +struct sockaddr_in {
1: + __kernel_sa_family_t sin_family;
1: + __be16 sin_port;
1: + struct in_addr sin_addr;
1: + unsigned char __pad[8];
1: +};
1: +
1: +struct sockaddr_in6 {
1: + short unsigned int sin6_family;
1: + __be16 sin6_port;
1: + __be32 sin6_flowinfo;
1: + struct in6_addr sin6_addr;
1: + __u32 sin6_scope_id;
1: +};
1: +
1: +typedef u32 rpc_authflavor_t;
1: +
1: +enum rpc_auth_flavors {
1: + RPC_AUTH_NULL = 0,
1: + RPC_AUTH_UNIX = 1,
1: + RPC_AUTH_SHORT = 2,
1: + RPC_AUTH_DES = 3,
1: + RPC_AUTH_KRB = 4,
1: + RPC_AUTH_GSS = 6,
1: + RPC_AUTH_MAXFLAVOR = 8,
1: + RPC_AUTH_GSS_KRB5 = 390003,
1: + RPC_AUTH_GSS_KRB5I = 390004,
1: + RPC_AUTH_GSS_KRB5P = 390005,
1: + RPC_AUTH_GSS_LKEY = 390006,
1: + RPC_AUTH_GSS_LKEYI = 390007,
1: + RPC_AUTH_GSS_LKEYP = 390008,
1: + RPC_AUTH_GSS_SPKM = 390009,
1: + RPC_AUTH_GSS_SPKMI = 390010,
1: + RPC_AUTH_GSS_SPKMP = 390011,
1: +};
1: +
1: +struct xdr_netobj {
1: + unsigned int len;
1: + u8 *data;
1: +};
1: +
1: +struct rpc_rqst;
1: +
1: +struct xdr_stream {
1: + __be32 *p;
1: + struct xdr_buf *buf;
1: + __be32 *end;
1: + struct kvec *iov;
1: + struct kvec scratch;
1: + struct page___2 **page_ptr;
1: + unsigned int nwords;
1: + struct rpc_rqst *rqst;
1: +};
1: +
1: +struct rpc_xprt;
1: +
1: +struct rpc_task;
1: +
1: +struct rpc_cred;
1: +
1: +struct rpc_rqst {
1: + struct rpc_xprt *rq_xprt;
1: + struct xdr_buf rq_snd_buf;
1: + struct xdr_buf rq_rcv_buf;
1: + struct rpc_task *rq_task;
1: + struct rpc_cred *rq_cred;
1: + __be32 rq_xid;
1: + int rq_cong;
1: + u32 rq_seqno;
1: + int rq_enc_pages_num;
1: + struct page___2 **rq_enc_pages;
1: + void (*rq_release_snd_buf)(struct rpc_rqst *);
1: + union {
1: + struct list_head rq_list;
1: + struct rb_node rq_recv;
1: + };
1: + struct list_head rq_xmit;
1: + struct list_head rq_xmit2;
1: + void *rq_buffer;
1: + size_t rq_callsize;
1: + void *rq_rbuffer;
1: + size_t rq_rcvsize;
1: + size_t rq_xmit_bytes_sent;
1: + size_t rq_reply_bytes_recvd;
1: + struct xdr_buf rq_private_buf;
1: + long unsigned int rq_majortimeo;
1: + long unsigned int rq_timeout;
1: + ktime_t rq_rtt;
1: + unsigned int rq_retries;
1: + unsigned int rq_connect_cookie;
1: + atomic_t rq_pin;
1: + u32 rq_bytes_sent;
1: + ktime_t rq_xtime;
1: + int rq_ntrans;
1: +};
1: +
1: +typedef void (*kxdreproc_t)(struct rpc_rqst *, struct xdr_stream *, const void *);
1: +
1: +typedef int (*kxdrdproc_t)(struct rpc_rqst *, struct xdr_stream *, void *);
1: +
1: +struct rpc_procinfo;
1: +
1: +struct rpc_message {
1: + const struct rpc_procinfo *rpc_proc;
1: + void *rpc_argp;
1: + void *rpc_resp;
1: + const struct cred___2 *rpc_cred;
1: +};
1: +
1: +struct rpc_procinfo {
1: + u32 p_proc;
1: + kxdreproc_t p_encode;
1: + kxdrdproc_t p_decode;
1: + unsigned int p_arglen;
1: + unsigned int p_replen;
1: + unsigned int p_timer;
1: + u32 p_statidx;
1: + const char *p_name;
1: +};
1: +
1: +struct rpc_wait {
1: + struct list_head list;
1: + struct list_head links;
1: + struct list_head timer_list;
1: +};
1: +
1: +struct rpc_call_ops;
1: +
1: +struct rpc_clnt;
1: +
1: +struct rpc_task {
1: + atomic_t tk_count;
1: + int tk_status;
1: + struct list_head tk_task;
1: + void (*tk_callback)(struct rpc_task *);
1: + void (*tk_action)(struct rpc_task *);
1: + long unsigned int tk_timeout;
1: + long unsigned int tk_runstate;
1: + struct rpc_wait_queue *tk_waitqueue;
1: + union {
1: + struct work_struct tk_work;
1: + struct rpc_wait tk_wait;
1: + } u;
1: + int tk_rpc_status;
1: + struct rpc_message tk_msg;
1: + void *tk_calldata;
1: + const struct rpc_call_ops *tk_ops;
1: + struct rpc_clnt *tk_client;
1: + struct rpc_xprt *tk_xprt;
1: + struct rpc_cred *tk_op_cred;
1: + struct rpc_rqst *tk_rqstp;
1: + struct workqueue_struct *tk_workqueue;
1: + ktime_t tk_start;
1: + pid_t tk_owner;
1: + short unsigned int tk_flags;
1: + short unsigned int tk_timeouts;
1: + short unsigned int tk_pid;
1: + unsigned char tk_priority: 2;
1: + unsigned char tk_garb_retry: 2;
1: + unsigned char tk_cred_retry: 2;
1: + unsigned char tk_rebind_retry: 2;
1: +};
1: +
1: +struct rpc_call_ops {
1: + void (*rpc_call_prepare)(struct rpc_task *, void *);
1: + void (*rpc_call_done)(struct rpc_task *, void *);
1: + void (*rpc_count_stats)(struct rpc_task *, void *);
1: + void (*rpc_release)(void *);
1: +};
1: +
1: +struct rpc_pipe_dir_head {
1: + struct list_head pdh_entries;
1: + struct dentry___2 *pdh_dentry;
1: +};
1: +
1: +struct rpc_rtt {
1: + long unsigned int timeo;
1: + long unsigned int srtt[5];
1: + long unsigned int sdrtt[5];
1: + int ntimeouts[5];
1: +};
1: +
1: +struct rpc_timeout {
1: + long unsigned int to_initval;
1: + long unsigned int to_maxval;
1: + long unsigned int to_increment;
1: + unsigned int to_retries;
1: + unsigned char to_exponential;
1: +};
1: +
1: +struct rpc_xprt_switch;
1: +
1: +struct rpc_xprt_iter_ops;
1: +
1: +struct rpc_xprt_iter {
1: + struct rpc_xprt_switch *xpi_xpswitch;
1: + struct rpc_xprt *xpi_cursor;
1: + const struct rpc_xprt_iter_ops *xpi_ops;
1: +};
1: +
1: +struct rpc_auth;
1: +
1: +struct rpc_stat;
1: +
1: +struct rpc_iostats;
1: +
1: +struct rpc_program;
1: +
1: +struct rpc_clnt {
1: + atomic_t cl_count;
1: + unsigned int cl_clid;
1: + struct list_head cl_clients;
1: + struct list_head cl_tasks;
1: + spinlock_t cl_lock;
1: + struct rpc_xprt *cl_xprt;
1: + const struct rpc_procinfo *cl_procinfo;
1: + u32 cl_prog;
1: + u32 cl_vers;
1: + u32 cl_maxproc;
1: + struct rpc_auth *cl_auth;
1: + struct rpc_stat *cl_stats;
1: + struct rpc_iostats *cl_metrics;
1: + unsigned int cl_softrtry: 1;
1: + unsigned int cl_softerr: 1;
1: + unsigned int cl_discrtry: 1;
1: + unsigned int cl_noretranstimeo: 1;
1: + unsigned int cl_autobind: 1;
1: + unsigned int cl_chatty: 1;
1: + struct rpc_rtt *cl_rtt;
1: + const struct rpc_timeout *cl_timeout;
1: + atomic_t cl_swapper;
1: + int cl_nodelen;
1: + char cl_nodename[65];
1: + struct rpc_pipe_dir_head cl_pipedir_objects;
1: + struct rpc_clnt *cl_parent;
1: + struct rpc_rtt cl_rtt_default;
1: + struct rpc_timeout cl_timeout_default;
1: + const struct rpc_program *cl_program;
1: + const char *cl_principal;
1: + struct rpc_xprt_iter cl_xpi;
1: + const struct cred___2 *cl_cred;
1: +};
1: +
1: +struct rpc_xprt_ops;
1: +
1: +struct svc_xprt;
1: +
1: +struct rpc_xprt {
1: + struct kref kref;
1: + const struct rpc_xprt_ops *ops;
1: + const struct rpc_timeout *timeout;
1: + struct __kernel_sockaddr_storage addr;
1: + size_t addrlen;
1: + int prot;
1: + long unsigned int cong;
1: + long unsigned int cwnd;
1: + size_t max_payload;
1: + struct rpc_wait_queue binding;
1: + struct rpc_wait_queue sending;
1: + struct rpc_wait_queue pending;
1: + struct rpc_wait_queue backlog;
1: + struct list_head free;
1: + unsigned int max_reqs;
1: + unsigned int min_reqs;
1: + unsigned int num_reqs;
1: + long unsigned int state;
1: + unsigned char resvport: 1;
1: + unsigned char reuseport: 1;
1: + atomic_t swapper;
1: + unsigned int bind_index;
1: + struct list_head xprt_switch;
1: + long unsigned int bind_timeout;
1: + long unsigned int reestablish_timeout;
1: + unsigned int connect_cookie;
1: + struct work_struct task_cleanup;
1: + struct timer_list timer;
1: + long unsigned int last_used;
1: + long unsigned int idle_timeout;
1: + long unsigned int connect_timeout;
1: + long unsigned int max_reconnect_timeout;
1: + atomic_long_t queuelen;
1: + spinlock_t transport_lock;
1: + spinlock_t reserve_lock;
1: + spinlock_t queue_lock;
1: + u32 xid;
1: + struct rpc_task *snd_task;
1: + struct list_head xmit_queue;
1: + struct svc_xprt *bc_xprt;
1: + struct rb_root recv_queue;
1: + struct {
1: + long unsigned int bind_count;
1: + long unsigned int connect_count;
1: + long unsigned int connect_start;
1: + long unsigned int connect_time;
1: + long unsigned int sends;
1: + long unsigned int recvs;
1: + long unsigned int bad_xids;
1: + long unsigned int max_slots;
1: + long long unsigned int req_u;
1: + long long unsigned int bklog_u;
1: + long long unsigned int sending_u;
1: + long long unsigned int pending_u;
1: + } stat;
1: + struct net___2 *xprt_net;
1: + const char *servername;
1: + const char *address_strings[6];
1: + struct callback_head rcu;
1: +};
1: +
1: +struct rpc_credops;
1: +
1: +struct rpc_cred {
1: + struct hlist_node cr_hash;
1: + struct list_head cr_lru;
1: + struct callback_head cr_rcu;
1: + struct rpc_auth *cr_auth;
1: + const struct rpc_credops *cr_ops;
1: + long unsigned int cr_expire;
1: + long unsigned int cr_flags;
1: + refcount_t cr_count;
1: + const struct cred___2 *cr_cred;
1: +};
1: +
1: +struct rpc_task_setup {
1: + struct rpc_task *task;
1: + struct rpc_clnt *rpc_client;
1: + struct rpc_xprt *rpc_xprt;
1: + struct rpc_cred *rpc_op_cred;
1: + const struct rpc_message *rpc_message;
1: + const struct rpc_call_ops *callback_ops;
1: + void *callback_data;
1: + struct workqueue_struct *workqueue;
1: + short unsigned int flags;
1: + signed char priority;
1: +};
1: +
1: +enum rpc_display_format_t {
1: + RPC_DISPLAY_ADDR = 0,
1: + RPC_DISPLAY_PORT = 1,
1: + RPC_DISPLAY_PROTO = 2,
1: + RPC_DISPLAY_HEX_ADDR = 3,
1: + RPC_DISPLAY_HEX_PORT = 4,
1: + RPC_DISPLAY_NETID = 5,
1: + RPC_DISPLAY_MAX = 6,
1: +};
1: +
1: +struct rpc_xprt_ops {
1: + void (*set_buffer_size)(struct rpc_xprt *, size_t, size_t);
1: + int (*reserve_xprt)(struct rpc_xprt *, struct rpc_task *);
1: + void (*release_xprt)(struct rpc_xprt *, struct rpc_task *);
1: + void (*alloc_slot)(struct rpc_xprt *, struct rpc_task *);
1: + void (*free_slot)(struct rpc_xprt *, struct rpc_rqst *);
1: + void (*rpcbind)(struct rpc_task *);
1: + void (*set_port)(struct rpc_xprt *, short unsigned int);
1: + void (*connect)(struct rpc_xprt *, struct rpc_task *);
1: + int (*buf_alloc)(struct rpc_task *);
1: + void (*buf_free)(struct rpc_task *);
1: + void (*prepare_request)(struct rpc_rqst *);
1: + int (*send_request)(struct rpc_rqst *);
1: + void (*wait_for_reply_request)(struct rpc_task *);
1: + void (*timer)(struct rpc_xprt *, struct rpc_task *);
1: + void (*release_request)(struct rpc_task *);
1: + void (*close)(struct rpc_xprt *);
1: + void (*destroy)(struct rpc_xprt *);
1: + void (*set_connect_timeout)(struct rpc_xprt *, long unsigned int, long unsigned int);
1: + void (*print_stats)(struct rpc_xprt *, struct seq_file *);
1: + int (*enable_swap)(struct rpc_xprt *);
1: + void (*disable_swap)(struct rpc_xprt *);
1: + void (*inject_disconnect)(struct rpc_xprt *);
1: + int (*bc_setup)(struct rpc_xprt *, unsigned int);
1: + size_t (*bc_maxpayload)(struct rpc_xprt *);
1: + unsigned int (*bc_num_slots)(struct rpc_xprt *);
1: + void (*bc_free_rqst)(struct rpc_rqst *);
1: + void (*bc_destroy)(struct rpc_xprt *, unsigned int);
1: +};
1: +
1: +enum xprt_transports {
1: + XPRT_TRANSPORT_UDP = 17,
1: + XPRT_TRANSPORT_TCP = 6,
1: + XPRT_TRANSPORT_BC_TCP = -2147483642,
1: + XPRT_TRANSPORT_RDMA = 256,
1: + XPRT_TRANSPORT_BC_RDMA = -2147483392,
1: + XPRT_TRANSPORT_LOCAL = 257,
1: +};
1: +
1: +struct svc_xprt_class;
1: +
1: +struct svc_xprt_ops;
1: +
1: +struct svc_serv;
1: +
1: +struct svc_xprt {
1: + struct svc_xprt_class *xpt_class;
1: + const struct svc_xprt_ops *xpt_ops;
1: + struct kref xpt_ref;
1: + struct list_head xpt_list;
1: + struct list_head xpt_ready;
1: + long unsigned int xpt_flags;
1: + struct svc_serv *xpt_server;
1: + atomic_t xpt_reserved;
1: + atomic_t xpt_nr_rqsts;
1: + struct mutex xpt_mutex;
1: + spinlock_t xpt_lock;
1: + void *xpt_auth_cache;
1: + struct list_head xpt_deferred;
1: + struct __kernel_sockaddr_storage xpt_local;
1: + size_t xpt_locallen;
1: + struct __kernel_sockaddr_storage xpt_remote;
1: + size_t xpt_remotelen;
1: + char xpt_remotebuf[58];
1: + struct list_head xpt_users;
1: + struct net___2 *xpt_net;
1: + const struct cred___2 *xpt_cred;
1: + struct rpc_xprt *xpt_bc_xprt;
1: + struct rpc_xprt_switch *xpt_bc_xps;
1: +};
1: +
1: +struct rpc_xprt_switch {
1: + spinlock_t xps_lock;
1: + struct kref xps_kref;
1: + unsigned int xps_nxprts;
1: + unsigned int xps_nactive;
1: + atomic_long_t xps_queuelen;
1: + struct list_head xps_xprt_list;
1: + struct net___2 *xps_net;
1: + const struct rpc_xprt_iter_ops *xps_iter_ops;
1: + struct callback_head xps_rcu;
1: +};
1: +
1: +struct auth_cred {
1: + const struct cred___2 *cred;
1: + const char *principal;
1: +};
1: +
1: +struct rpc_authops;
1: +
1: +struct rpc_cred_cache;
1: +
1: +struct rpc_auth {
1: + unsigned int au_cslack;
1: + unsigned int au_rslack;
1: + unsigned int au_verfsize;
1: + unsigned int au_ralign;
1: + unsigned int au_flags;
1: + const struct rpc_authops *au_ops;
1: + rpc_authflavor_t au_flavor;
1: + refcount_t au_count;
1: + struct rpc_cred_cache *au_credcache;
1: +};
1: +
1: +struct rpc_credops {
1: + const char *cr_name;
1: + int (*cr_init)(struct rpc_auth *, struct rpc_cred *);
1: + void (*crdestroy)(struct rpc_cred *);
1: + int (*crmatch)(struct auth_cred *, struct rpc_cred *, int);
1: + int (*crmarshal)(struct rpc_task *, struct xdr_stream *);
1: + int (*crrefresh)(struct rpc_task *);
1: + int (*crvalidate)(struct rpc_task *, struct xdr_stream *);
1: + int (*crwrap_req)(struct rpc_task *, struct xdr_stream *);
1: + int (*crunwrap_resp)(struct rpc_task *, struct xdr_stream *);
1: + int (*crkey_timeout)(struct rpc_cred *);
1: + char * (*crstringify_acceptor)(struct rpc_cred *);
1: + bool (*crneed_reencode)(struct rpc_task *);
1: +};
1: +
1: +struct rpc_auth_create_args;
1: +
1: +struct rpcsec_gss_info;
1: +
1: +struct rpc_authops {
1: + struct module___2 *owner;
1: + rpc_authflavor_t au_flavor;
1: + char *au_name;
1: + struct rpc_auth * (*create)(const struct rpc_auth_create_args *, struct rpc_clnt *);
1: + void (*destroy)(struct rpc_auth *);
1: + int (*hash_cred)(struct auth_cred *, unsigned int);
1: + struct rpc_cred * (*lookup_cred)(struct rpc_auth *, struct auth_cred *, int);
1: + struct rpc_cred * (*crcreate)(struct rpc_auth *, struct auth_cred *, int, gfp_t);
1: + int (*list_pseudoflavors)(rpc_authflavor_t *, int);
1: + rpc_authflavor_t (*info2flavor)(struct rpcsec_gss_info *);
1: + int (*flavor2info)(rpc_authflavor_t, struct rpcsec_gss_info *);
1: + int (*key_timeout)(struct rpc_auth *, struct rpc_cred *);
1: +};
1: +
1: +struct rpc_auth_create_args {
1: + rpc_authflavor_t pseudoflavor;
1: + const char *target_name;
1: +};
1: +
1: +struct rpcsec_gss_oid {
1: + unsigned int len;
1: + u8 data[32];
1: +};
1: +
1: +struct rpcsec_gss_info {
1: + struct rpcsec_gss_oid oid;
1: + u32 qop;
1: + u32 service;
1: +};
1: +
1: +struct rpc_stat {
1: + const struct rpc_program *program;
1: + unsigned int netcnt;
1: + unsigned int netudpcnt;
1: + unsigned int nettcpcnt;
1: + unsigned int nettcpconn;
1: + unsigned int netreconn;
1: + unsigned int rpccnt;
1: + unsigned int rpcretrans;
1: + unsigned int rpcauthrefresh;
1: + unsigned int rpcgarbage;
1: +};
1: +
1: +struct rpc_version;
1: +
1: +struct rpc_program {
1: + const char *name;
1: + u32 number;
1: + unsigned int nrvers;
1: + const struct rpc_version **version;
1: + struct rpc_stat *stats;
1: + const char *pipe_dir_name;
1: +};
1: +
1: +struct svc_program;
1: +
1: +struct svc_stat {
1: + struct svc_program *program;
1: + unsigned int netcnt;
1: + unsigned int netudpcnt;
1: + unsigned int nettcpcnt;
1: + unsigned int nettcpconn;
1: + unsigned int rpccnt;
1: + unsigned int rpcbadfmt;
1: + unsigned int rpcbadauth;
1: + unsigned int rpcbadclnt;
1: +};
1: +
1: +struct svc_version;
1: +
1: +struct svc_rqst;
1: +
1: +struct svc_process_info;
1: +
1: +struct svc_program {
1: + struct svc_program *pg_next;
1: + u32 pg_prog;
1: + unsigned int pg_lovers;
1: + unsigned int pg_hivers;
1: + unsigned int pg_nvers;
1: + const struct svc_version **pg_vers;
1: + char *pg_name;
1: + char *pg_class;
1: + struct svc_stat *pg_stats;
1: + int (*pg_authenticate)(struct svc_rqst *);
1: + __be32 (*pg_init_request)(struct svc_rqst *, const struct svc_program *, struct svc_process_info *);
1: + int (*pg_rpcbind_set)(struct net___2 *, const struct svc_program *, u32, int, short unsigned int, short unsigned int);
1: +};
1: +
1: +struct rpc_pipe_msg {
1: + struct list_head list;
1: + void *data;
1: + size_t len;
1: + size_t copied;
1: + int errno;
1: +};
1: +
1: +struct rpc_pipe_ops {
1: + ssize_t (*upcall)(struct file___2 *, struct rpc_pipe_msg *, char *, size_t);
1: + ssize_t (*downcall)(struct file___2 *, const char *, size_t);
1: + void (*release_pipe)(struct inode___2 *);
1: + int (*open_pipe)(struct inode___2 *);
1: + void (*destroy_msg)(struct rpc_pipe_msg *);
1: +};
1: +
1: +struct rpc_pipe {
1: + struct list_head pipe;
1: + struct list_head in_upcall;
1: + struct list_head in_downcall;
1: + int pipelen;
1: + int nreaders;
1: + int nwriters;
1: + int flags;
1: + struct delayed_work queue_timeout;
1: + const struct rpc_pipe_ops *ops;
1: + spinlock_t lock;
1: + struct dentry___2 *dentry;
1: +};
1: +
1: +struct rpc_xprt_iter_ops {
1: + void (*xpi_rewind)(struct rpc_xprt_iter *);
1: + struct rpc_xprt * (*xpi_xprt)(struct rpc_xprt_iter *);
1: + struct rpc_xprt * (*xpi_next)(struct rpc_xprt_iter *);
1: +};
1: +
1: +struct rpc_iostats {
1: + spinlock_t om_lock;
1: + long unsigned int om_ops;
1: + long unsigned int om_ntrans;
1: + long unsigned int om_timeouts;
1: + long long unsigned int om_bytes_sent;
1: + long long unsigned int om_bytes_recv;
1: + ktime_t om_queue;
1: + ktime_t om_rtt;
1: + ktime_t om_execute;
1: + long unsigned int om_error_status;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct rpc_version {
1: + u32 number;
1: + unsigned int nrprocs;
1: + const struct rpc_procinfo *procs;
1: + unsigned int *counts;
1: +};
1: +
1: +struct rpc_create_args {
1: + struct net___2 *net;
1: + int protocol;
1: + struct sockaddr *address;
1: + size_t addrsize;
1: + struct sockaddr *saddress;
1: + const struct rpc_timeout *timeout;
1: + const char *servername;
1: + const char *nodename;
1: + const struct rpc_program *program;
1: + u32 prognumber;
1: + u32 version;
1: + rpc_authflavor_t authflavor;
1: + u32 nconnect;
1: + long unsigned int flags;
1: + char *client_name;
1: + struct svc_xprt *bc_xprt;
1: + const struct cred___2 *cred;
1: +};
1: +
1: +struct nfs_fh {
1: + short unsigned int size;
1: + unsigned char data[128];
1: +};
1: +
1: +enum nfs3_stable_how {
1: + NFS_UNSTABLE = 0,
1: + NFS_DATA_SYNC = 1,
1: + NFS_FILE_SYNC = 2,
1: + NFS_INVALID_STABLE_HOW = -1,
1: +};
1: +
1: +struct nfs4_label {
1: + uint32_t lfs;
1: + uint32_t pi;
1: + u32 len;
1: + char *label;
1: +};
1: +
1: +typedef struct {
1: + char data[8];
1: +} nfs4_verifier;
1: +
1: +struct gss_api_mech;
1: +
1: +struct gss_ctx {
1: + struct gss_api_mech *mech_type;
1: + void *internal_ctx_id;
1: +};
1: +
1: +struct gss_api_ops;
1: +
1: +struct pf_desc;
1: +
1: +struct gss_api_mech {
1: + struct list_head gm_list;
1: + struct module___2 *gm_owner;
1: + struct rpcsec_gss_oid gm_oid;
1: + char *gm_name;
1: + const struct gss_api_ops *gm_ops;
1: + int gm_pf_num;
1: + struct pf_desc *gm_pfs;
1: + const char *gm_upcall_enctypes;
1: +};
1: +
1: +struct pf_desc {
1: + u32 pseudoflavor;
1: + u32 qop;
1: + u32 service;
1: + char *name;
1: + char *auth_domain_name;
1: + bool datatouch;
1: +};
1: +
1: +struct gss_api_ops {
1: + int (*gss_import_sec_context)(const void *, size_t, struct gss_ctx *, time_t *, gfp_t);
1: + u32 (*gss_get_mic)(struct gss_ctx *, struct xdr_buf *, struct xdr_netobj *);
1: + u32 (*gss_verify_mic)(struct gss_ctx *, struct xdr_buf *, struct xdr_netobj *);
1: + u32 (*gss_wrap)(struct gss_ctx *, int, struct xdr_buf *, struct page___2 **);
1: + u32 (*gss_unwrap)(struct gss_ctx *, int, struct xdr_buf *);
1: + void (*gss_delete_sec_context)(void *);
1: +};
1: +
1: +struct nfs4_string {
1: + unsigned int len;
1: + char *data;
1: +};
1: +
1: +struct nfs_fsid {
1: + uint64_t major;
1: + uint64_t minor;
1: +};
1: +
1: +struct nfs4_threshold {
1: + __u32 bm;
1: + __u32 l_type;
1: + __u64 rd_sz;
1: + __u64 wr_sz;
1: + __u64 rd_io_sz;
1: + __u64 wr_io_sz;
1: +};
1: +
1: +struct nfs_fattr {
1: + unsigned int valid;
1: + umode_t mode;
1: + __u32 nlink;
1: + kuid_t uid;
1: + kgid_t gid;
1: + dev_t rdev;
1: + __u64 size;
1: + union {
1: + struct {
1: + __u32 blocksize;
1: + __u32 blocks;
1: + } nfs2;
1: + struct {
1: + __u64 used;
1: + } nfs3;
1: + } du;
1: + struct nfs_fsid fsid;
1: + __u64 fileid;
1: + __u64 mounted_on_fileid;
1: + struct timespec64 atime;
1: + struct timespec64 mtime;
1: + struct timespec64 ctime;
1: + __u64 change_attr;
1: + __u64 pre_change_attr;
1: + __u64 pre_size;
1: + struct timespec64 pre_mtime;
1: + struct timespec64 pre_ctime;
1: + long unsigned int time_start;
1: + long unsigned int gencount;
1: + struct nfs4_string *owner_name;
1: + struct nfs4_string *group_name;
1: + struct nfs4_threshold *mdsthreshold;
1: +};
1: +
1: +struct nfs_fsinfo {
1: + struct nfs_fattr *fattr;
1: + __u32 rtmax;
1: + __u32 rtpref;
1: + __u32 rtmult;
1: + __u32 wtmax;
1: + __u32 wtpref;
1: + __u32 wtmult;
1: + __u32 dtpref;
1: + __u64 maxfilesize;
1: + struct timespec64 time_delta;
1: + __u32 lease_time;
1: + __u32 nlayouttypes;
1: + __u32 layouttype[8];
1: + __u32 blksize;
1: + __u32 clone_blksize;
1: +};
1: +
1: +struct nfs_fsstat {
1: + struct nfs_fattr *fattr;
1: + __u64 tbytes;
1: + __u64 fbytes;
1: + __u64 abytes;
1: + __u64 tfiles;
1: + __u64 ffiles;
1: + __u64 afiles;
1: +};
1: +
1: +struct nfs_pathconf {
1: + struct nfs_fattr *fattr;
1: + __u32 max_link;
1: + __u32 max_namelen;
1: +};
1: +
1: +struct nfs4_change_info {
1: + u32 atomic;
1: + u64 before;
1: + u64 after;
1: +};
1: +
1: +struct nfs4_slot;
1: +
1: +struct nfs4_sequence_args {
1: + struct nfs4_slot *sa_slot;
1: + u8 sa_cache_this: 1;
1: + u8 sa_privileged: 1;
1: +};
1: +
1: +struct nfs4_sequence_res {
1: + struct nfs4_slot *sr_slot;
1: + long unsigned int sr_timestamp;
1: + int sr_status;
1: + u32 sr_status_flags;
1: + u32 sr_highest_slotid;
1: + u32 sr_target_highest_slotid;
1: +};
1: +
1: +struct pnfs_layout_range {
1: + u32 iomode;
1: + u64 offset;
1: + u64 length;
1: +};
1: +
1: +struct nfs_open_context;
1: +
1: +struct nfs_lock_context {
1: + refcount_t count;
1: + struct list_head list;
1: + struct nfs_open_context *open_context;
1: + fl_owner_t lockowner;
1: + atomic_t io_count;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct nfs_open_context {
1: + struct nfs_lock_context lock_context;
1: + fl_owner_t flock_owner;
1: + struct dentry___2 *dentry;
1: + const struct cred___2 *cred;
1: + struct rpc_cred *ll_cred;
1: + struct nfs4_state *state;
1: + fmode_t mode;
1: + long unsigned int flags;
1: + int error;
1: + struct list_head list;
1: + struct nfs4_threshold *mdsthreshold;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct nlm_host;
1: +
1: +struct nfs_auth_info {
1: + unsigned int flavor_len;
1: + rpc_authflavor_t flavors[12];
1: +};
1: +
1: +struct pnfs_layoutdriver_type;
1: +
1: +struct nfs_client;
1: +
1: +struct nfs_iostats;
1: +
1: +struct nfs_server {
1: + struct nfs_client *nfs_client;
1: + struct list_head client_link;
1: + struct list_head master_link;
1: + struct rpc_clnt *client;
1: + struct rpc_clnt *client_acl;
1: + struct nlm_host *nlm_host;
1: + struct nfs_iostats *io_stats;
1: + atomic_long_t writeback;
1: + int flags;
1: + unsigned int caps;
1: + unsigned int rsize;
1: + unsigned int rpages;
1: + unsigned int wsize;
1: + unsigned int wpages;
1: + unsigned int wtmult;
1: + unsigned int dtsize;
1: + short unsigned int port;
1: + unsigned int bsize;
1: + unsigned int acregmin;
1: + unsigned int acregmax;
1: + unsigned int acdirmin;
1: + unsigned int acdirmax;
1: + unsigned int namelen;
1: + unsigned int options;
1: + unsigned int clone_blksize;
1: + struct nfs_fsid fsid;
1: + __u64 maxfilesize;
1: + struct timespec64 time_delta;
1: + long unsigned int mount_time;
1: + struct super_block___2 *super;
1: + dev_t s_dev;
1: + struct nfs_auth_info auth_info;
1: + u32 pnfs_blksize;
1: + u32 attr_bitmask[3];
1: + u32 attr_bitmask_nl[3];
1: + u32 exclcreat_bitmask[3];
1: + u32 cache_consistency_bitmask[3];
1: + u32 acl_bitmask;
1: + u32 fh_expire_type;
1: + struct pnfs_layoutdriver_type *pnfs_curr_ld;
1: + struct rpc_wait_queue roc_rpcwaitq;
1: + void *pnfs_ld_data;
1: + struct rb_root state_owners;
1: + struct ida openowner_id;
1: + struct ida lockowner_id;
1: + struct list_head state_owners_lru;
1: + struct list_head layouts;
1: + struct list_head delegations;
1: + struct list_head ss_copies;
1: + long unsigned int mig_gen;
1: + long unsigned int mig_status;
1: + void (*destroy)(struct nfs_server *);
1: + atomic_t active;
1: + struct __kernel_sockaddr_storage mountd_address;
1: + size_t mountd_addrlen;
1: + u32 mountd_version;
1: + short unsigned int mountd_port;
1: + short unsigned int mountd_protocol;
1: + struct rpc_wait_queue uoc_rpcwaitq;
1: + unsigned int read_hdrsize;
1: + const struct cred___2 *cred;
1: +};
1: +
1: +struct pnfs_layout_hdr;
1: +
1: +struct nfs41_server_owner;
1: +
1: +struct nfs41_server_scope;
1: +
1: +struct nfs41_impl_id;
1: +
1: +struct nfs_rpc_ops;
1: +
1: +struct nfs_subversion;
1: +
1: +struct idmap;
1: +
1: +struct nfs4_minor_version_ops;
1: +
1: +struct nfs4_slot_table;
1: +
1: +struct nfs4_session;
1: +
1: +struct nfs_client {
1: + refcount_t cl_count;
1: + atomic_t cl_mds_count;
1: + int cl_cons_state;
1: + long unsigned int cl_res_state;
1: + long unsigned int cl_flags;
1: + struct __kernel_sockaddr_storage cl_addr;
1: + size_t cl_addrlen;
1: + char *cl_hostname;
1: + char *cl_acceptor;
1: + struct list_head cl_share_link;
1: + struct list_head cl_superblocks;
1: + struct rpc_clnt *cl_rpcclient;
1: + const struct nfs_rpc_ops *rpc_ops;
1: + int cl_proto;
1: + struct nfs_subversion *cl_nfs_mod;
1: + u32 cl_minorversion;
1: + unsigned int cl_nconnect;
1: + const char *cl_principal;
1: + struct list_head cl_ds_clients;
1: + u64 cl_clientid;
1: + nfs4_verifier cl_confirm;
1: + long unsigned int cl_state;
1: + spinlock_t cl_lock;
1: + long unsigned int cl_lease_time;
1: + long unsigned int cl_last_renewal;
1: + struct delayed_work cl_renewd;
1: + struct rpc_wait_queue cl_rpcwaitq;
1: + struct idmap *cl_idmap;
1: + const char *cl_owner_id;
1: + u32 cl_cb_ident;
1: + const struct nfs4_minor_version_ops *cl_mvops;
1: + long unsigned int cl_mig_gen;
1: + struct nfs4_slot_table *cl_slot_tbl;
1: + u32 cl_seqid;
1: + u32 cl_exchange_flags;
1: + struct nfs4_session *cl_session;
1: + bool cl_preserve_clid;
1: + struct nfs41_server_owner *cl_serverowner;
1: + struct nfs41_server_scope *cl_serverscope;
1: + struct nfs41_impl_id *cl_implid;
1: + long unsigned int cl_sp4_flags;
1: + char cl_ipaddr[48];
1: + struct net___2 *cl_net;
1: + struct list_head pending_cb_stateids;
1: +};
1: +
1: +struct pnfs_layout_segment {
1: + struct list_head pls_list;
1: + struct list_head pls_lc_list;
1: + struct pnfs_layout_range pls_range;
1: + refcount_t pls_refcount;
1: + u32 pls_seq;
1: + long unsigned int pls_flags;
1: + struct pnfs_layout_hdr *pls_layout;
1: +};
1: +
1: +struct nfs_seqid {
1: + struct nfs_seqid_counter *sequence;
1: + struct list_head list;
1: + struct rpc_task *task;
1: +};
1: +
1: +struct nfs_write_verifier {
1: + char data[8];
1: +};
1: +
1: +struct nfs_writeverf {
1: + struct nfs_write_verifier verifier;
1: + enum nfs3_stable_how committed;
1: +};
1: +
1: +struct nfs_pgio_args {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + struct nfs_open_context *context;
1: + struct nfs_lock_context *lock_context;
1: + nfs4_stateid stateid;
1: + __u64 offset;
1: + __u32 count;
1: + unsigned int pgbase;
1: + struct page___2 **pages;
1: + union {
1: + unsigned int replen;
1: + struct {
1: + const u32 *bitmask;
1: + enum nfs3_stable_how stable;
1: + };
1: + };
1: +};
1: +
1: +struct nfs_pgio_res {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fattr *fattr;
1: + __u32 count;
1: + __u32 op_status;
1: + union {
1: + struct {
1: + unsigned int replen;
1: + int eof;
1: + };
1: + struct {
1: + struct nfs_writeverf *verf;
1: + const struct nfs_server *server;
1: + };
1: + };
1: +};
1: +
1: +struct nfs_commitargs {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + __u64 offset;
1: + __u32 count;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs_commitres {
1: + struct nfs4_sequence_res seq_res;
1: + __u32 op_status;
1: + struct nfs_fattr *fattr;
1: + struct nfs_writeverf *verf;
1: + const struct nfs_server *server;
1: +};
1: +
1: +struct nfs_removeargs {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + struct qstr name;
1: +};
1: +
1: +struct nfs_removeres {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_server *server;
1: + struct nfs_fattr *dir_attr;
1: + struct nfs4_change_info cinfo;
1: +};
1: +
1: +struct nfs_renameargs {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *old_dir;
1: + const struct nfs_fh *new_dir;
1: + const struct qstr *old_name;
1: + const struct qstr *new_name;
1: +};
1: +
1: +struct nfs_renameres {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_server *server;
1: + struct nfs4_change_info old_cinfo;
1: + struct nfs_fattr *old_fattr;
1: + struct nfs4_change_info new_cinfo;
1: + struct nfs_fattr *new_fattr;
1: +};
1: +
1: +struct nfs_entry {
1: + __u64 ino;
1: + __u64 cookie;
1: + __u64 prev_cookie;
1: + const char *name;
1: + unsigned int len;
1: + int eof;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: + unsigned char d_type;
1: + struct nfs_server *server;
1: +};
1: +
1: +struct nfs4_pathname {
1: + unsigned int ncomponents;
1: + struct nfs4_string components[512];
1: +};
1: +
1: +struct nfs4_fs_location {
1: + unsigned int nservers;
1: + struct nfs4_string servers[10];
1: + struct nfs4_pathname rootpath;
1: +};
1: +
1: +struct nfs4_fs_locations {
1: + struct nfs_fattr fattr;
1: + const struct nfs_server *server;
1: + struct nfs4_pathname fs_path;
1: + int nlocations;
1: + struct nfs4_fs_location locations[10];
1: +};
1: +
1: +struct pnfs_ds_commit_info {};
1: +
1: +struct nfs_page_array {
1: + struct page___2 **pagevec;
1: + unsigned int npages;
1: + struct page___2 *page_array[8];
1: +};
1: +
1: +struct nfs_page;
1: +
1: +struct nfs_pgio_completion_ops;
1: +
1: +struct nfs_rw_ops;
1: +
1: +struct nfs_io_completion;
1: +
1: +struct nfs_direct_req;
1: +
1: +struct nfs_pgio_header {
1: + struct inode___2 *inode;
1: + const struct cred___2 *cred;
1: + struct list_head pages;
1: + struct nfs_page *req;
1: + struct nfs_writeverf verf;
1: + fmode_t rw_mode;
1: + struct pnfs_layout_segment *lseg;
1: + loff_t io_start;
1: + const struct rpc_call_ops *mds_ops;
1: + void (*release)(struct nfs_pgio_header *);
1: + const struct nfs_pgio_completion_ops *completion_ops;
1: + const struct nfs_rw_ops *rw_ops;
1: + struct nfs_io_completion *io_completion;
1: + struct nfs_direct_req *dreq;
1: + int pnfs_error;
1: + int error;
1: + unsigned int good_bytes;
1: + long unsigned int flags;
1: + struct rpc_task task;
1: + struct nfs_fattr fattr;
1: + struct nfs_pgio_args args;
1: + struct nfs_pgio_res res;
1: + long unsigned int timestamp;
1: + int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *);
1: + __u64 mds_offset;
1: + struct nfs_page_array page_array;
1: + struct nfs_client *ds_clp;
1: + int ds_commit_idx;
1: + int pgio_mirror_idx;
1: +};
1: +
1: +struct nfs_page {
1: + struct list_head wb_list;
1: + struct page___2 *wb_page;
1: + struct nfs_lock_context *wb_lock_context;
1: + long unsigned int wb_index;
1: + unsigned int wb_offset;
1: + unsigned int wb_pgbase;
1: + unsigned int wb_bytes;
1: + struct kref wb_kref;
1: + long unsigned int wb_flags;
1: + struct nfs_write_verifier wb_verf;
1: + struct nfs_page *wb_this_page;
1: + struct nfs_page *wb_head;
1: + short unsigned int wb_nio;
1: +};
1: +
1: +struct nfs_pgio_completion_ops {
1: + void (*error_cleanup)(struct list_head *, int);
1: + void (*init_hdr)(struct nfs_pgio_header *);
1: + void (*completion)(struct nfs_pgio_header *);
1: + void (*reschedule_io)(struct nfs_pgio_header *);
1: +};
1: +
1: +struct nfs_rw_ops {
1: + struct nfs_pgio_header * (*rw_alloc_header)();
1: + void (*rw_free_header)(struct nfs_pgio_header *);
1: + int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *, struct inode___2 *);
1: + void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
1: + void (*rw_initiate)(struct nfs_pgio_header *, struct rpc_message *, const struct nfs_rpc_ops *, struct rpc_task_setup *, int);
1: +};
1: +
1: +struct nfs_mds_commit_info {
1: + atomic_t rpcs_out;
1: + atomic_long_t ncommit;
1: + struct list_head list;
1: +};
1: +
1: +struct nfs_commit_data;
1: +
1: +struct nfs_commit_info;
1: +
1: +struct nfs_commit_completion_ops {
1: + void (*completion)(struct nfs_commit_data *);
1: + void (*resched_write)(struct nfs_commit_info *, struct nfs_page *);
1: +};
1: +
1: +struct nfs_commit_data {
1: + struct rpc_task task;
1: + struct inode___2 *inode;
1: + const struct cred___2 *cred;
1: + struct nfs_fattr fattr;
1: + struct nfs_writeverf verf;
1: + struct list_head pages;
1: + struct list_head list;
1: + struct nfs_direct_req *dreq;
1: + struct nfs_commitargs args;
1: + struct nfs_commitres res;
1: + struct nfs_open_context *context;
1: + struct pnfs_layout_segment *lseg;
1: + struct nfs_client *ds_clp;
1: + int ds_commit_index;
1: + loff_t lwb;
1: + const struct rpc_call_ops *mds_ops;
1: + const struct nfs_commit_completion_ops *completion_ops;
1: + int (*commit_done_cb)(struct rpc_task *, struct nfs_commit_data *);
1: + long unsigned int flags;
1: +};
1: +
1: +struct nfs_commit_info {
1: + struct inode___2 *inode;
1: + struct nfs_mds_commit_info *mds;
1: + struct pnfs_ds_commit_info *ds;
1: + struct nfs_direct_req *dreq;
1: + const struct nfs_commit_completion_ops *completion_ops;
1: +};
1: +
1: +struct nfs_unlinkdata {
1: + struct nfs_removeargs args;
1: + struct nfs_removeres res;
1: + struct dentry___2 *dentry;
1: + wait_queue_head_t wq;
1: + const struct cred___2 *cred;
1: + struct nfs_fattr dir_attr;
1: + long int timeout;
1: +};
1: +
1: +struct nfs_renamedata {
1: + struct nfs_renameargs args;
1: + struct nfs_renameres res;
1: + const struct cred___2 *cred;
1: + struct inode___2 *old_dir;
1: + struct dentry___2 *old_dentry;
1: + struct nfs_fattr old_fattr;
1: + struct inode___2 *new_dir;
1: + struct dentry___2 *new_dentry;
1: + struct nfs_fattr new_fattr;
1: + void (*complete)(struct rpc_task *, struct nfs_renamedata *);
1: + long int timeout;
1: + bool cancelled;
1: +};
1: +
1: +struct nlmclnt_operations;
1: +
1: +struct nfs_mount_info;
1: +
1: +struct nfs_access_entry;
1: +
1: +struct nfs_client_initdata;
1: +
1: +struct nfs_rpc_ops {
1: + u32 version;
1: + const struct dentry_operations___2 *dentry_ops;
1: + const struct inode_operations___2 *dir_inode_ops;
1: + const struct inode_operations___2 *file_inode_ops;
1: + const struct file_operations___2 *file_ops;
1: + const struct nlmclnt_operations *nlmclnt_ops;
1: + int (*getroot)(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
1: + struct vfsmount___2 * (*submount)(struct nfs_server *, struct dentry___2 *, struct nfs_fh *, struct nfs_fattr *);
1: + struct dentry___2 * (*try_mount)(int, const char *, struct nfs_mount_info *, struct nfs_subversion *);
1: + int (*getattr)(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_label *, struct inode___2 *);
1: + int (*setattr)(struct dentry___2 *, struct nfs_fattr *, struct iattr *);
1: + int (*lookup)(struct inode___2 *, const struct qstr *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_label *);
1: + int (*lookupp)(struct inode___2 *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_label *);
1: + int (*access)(struct inode___2 *, struct nfs_access_entry *);
1: + int (*readlink)(struct inode___2 *, struct page___2 *, unsigned int, unsigned int);
1: + int (*create)(struct inode___2 *, struct dentry___2 *, struct iattr *, int);
1: + int (*remove)(struct inode___2 *, struct dentry___2 *);
1: + void (*unlink_setup)(struct rpc_message *, struct dentry___2 *, struct inode___2 *);
1: + void (*unlink_rpc_prepare)(struct rpc_task *, struct nfs_unlinkdata *);
1: + int (*unlink_done)(struct rpc_task *, struct inode___2 *);
1: + void (*rename_setup)(struct rpc_message *, struct dentry___2 *, struct dentry___2 *);
1: + void (*rename_rpc_prepare)(struct rpc_task *, struct nfs_renamedata *);
1: + int (*rename_done)(struct rpc_task *, struct inode___2 *, struct inode___2 *);
1: + int (*link)(struct inode___2 *, struct inode___2 *, const struct qstr *);
1: + int (*symlink)(struct inode___2 *, struct dentry___2 *, struct page___2 *, unsigned int, struct iattr *);
1: + int (*mkdir)(struct inode___2 *, struct dentry___2 *, struct iattr *);
1: + int (*rmdir)(struct inode___2 *, const struct qstr *);
1: + int (*readdir)(struct dentry___2 *, const struct cred___2 *, u64, struct page___2 **, unsigned int, bool);
1: + int (*mknod)(struct inode___2 *, struct dentry___2 *, struct iattr *, dev_t);
1: + int (*statfs)(struct nfs_server *, struct nfs_fh *, struct nfs_fsstat *);
1: + int (*fsinfo)(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
1: + int (*pathconf)(struct nfs_server *, struct nfs_fh *, struct nfs_pathconf *);
1: + int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1: + int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1: + int (*pgio_rpc_prepare)(struct rpc_task *, struct nfs_pgio_header *);
1: + void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1: + int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1: + void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *, struct rpc_clnt **);
1: + int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1: + void (*commit_setup)(struct nfs_commit_data *, struct rpc_message *, struct rpc_clnt **);
1: + void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1: + int (*commit_done)(struct rpc_task *, struct nfs_commit_data *);
1: + int (*lock)(struct file___2 *, int, struct file_lock *);
1: + int (*lock_check_bounds)(const struct file_lock *);
1: + void (*clear_acl_cache)(struct inode___2 *);
1: + void (*close_context)(struct nfs_open_context *, int);
1: + struct inode___2 * (*open_context)(struct inode___2 *, struct nfs_open_context *, int, struct iattr *, int *);
1: + int (*have_delegation)(struct inode___2 *, fmode_t);
1: + struct nfs_client * (*alloc_client)(const struct nfs_client_initdata *);
1: + struct nfs_client * (*init_client)(struct nfs_client *, const struct nfs_client_initdata *);
1: + void (*free_client)(struct nfs_client *);
1: + struct nfs_server * (*create_server)(struct nfs_mount_info *, struct nfs_subversion *);
1: + struct nfs_server * (*clone_server)(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, rpc_authflavor_t);
1: +};
1: +
1: +struct nlmclnt_operations {
1: + void (*nlmclnt_alloc_call)(void *);
1: + bool (*nlmclnt_unlock_prepare)(struct rpc_task *, void *);
1: + void (*nlmclnt_release_call)(void *);
1: +};
1: +
1: +struct nfs_parsed_mount_data;
1: +
1: +struct nfs_clone_mount;
1: +
1: +struct nfs_mount_info {
1: + void (*fill_super)(struct super_block___2 *, struct nfs_mount_info *);
1: + int (*set_security)(struct super_block___2 *, struct dentry___2 *, struct nfs_mount_info *);
1: + struct nfs_parsed_mount_data *parsed;
1: + struct nfs_clone_mount *cloned;
1: + struct nfs_fh *mntfh;
1: +};
1: +
1: +struct nfs_subversion {
1: + struct module___2 *owner;
1: + struct file_system_type___2 *nfs_fs;
1: + const struct rpc_version *rpc_vers;
1: + const struct nfs_rpc_ops *rpc_ops;
1: + const struct super_operations *sops;
1: + const struct xattr_handler **xattr;
1: + struct list_head list;
1: +};
1: +
1: +struct nfs_access_entry {
1: + struct rb_node rb_node;
1: + struct list_head lru;
1: + const struct cred___2 *cred;
1: + __u32 mask;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct nfs_client_initdata {
1: + long unsigned int init_flags;
1: + const char *hostname;
1: + const struct sockaddr *addr;
1: + const char *nodename;
1: + const char *ip_addr;
1: + size_t addrlen;
1: + struct nfs_subversion *nfs_mod;
1: + int proto;
1: + u32 minorversion;
1: + unsigned int nconnect;
1: + struct net___2 *net;
1: + const struct rpc_timeout *timeparms;
1: + const struct cred___2 *cred;
1: +};
1: +
1: +struct nfs4_state_recovery_ops;
1: +
1: +struct nfs4_state_maintenance_ops;
1: +
1: +struct nfs4_mig_recovery_ops;
1: +
1: +struct nfs4_minor_version_ops {
1: + u32 minor_version;
1: + unsigned int init_caps;
1: + int (*init_client)(struct nfs_client *);
1: + void (*shutdown_client)(struct nfs_client *);
1: + bool (*match_stateid)(const nfs4_stateid *, const nfs4_stateid *);
1: + int (*find_root_sec)(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
1: + void (*free_lock_state)(struct nfs_server *, struct nfs4_lock_state *);
1: + int (*test_and_free_expired)(struct nfs_server *, nfs4_stateid *, const struct cred___2 *);
1: + struct nfs_seqid * (*alloc_seqid)(struct nfs_seqid_counter *, gfp_t);
1: + void (*session_trunk)(struct rpc_clnt *, struct rpc_xprt *, void *);
1: + const struct rpc_call_ops *call_sync_ops;
1: + const struct nfs4_state_recovery_ops *reboot_recovery_ops;
1: + const struct nfs4_state_recovery_ops *nograce_recovery_ops;
1: + const struct nfs4_state_maintenance_ops *state_renewal_ops;
1: + const struct nfs4_mig_recovery_ops *mig_recovery_ops;
1: +};
1: +
1: +struct nfs_iostats {
1: + long long unsigned int bytes[8];
1: + long unsigned int events[27];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct nfs4_state_owner;
1: +
1: +struct nfs4_state {
1: + struct list_head open_states;
1: + struct list_head inode_states;
1: + struct list_head lock_states;
1: + struct nfs4_state_owner *owner;
1: + struct inode___2 *inode;
1: + long unsigned int flags;
1: + spinlock_t state_lock;
1: + seqlock_t seqlock;
1: + nfs4_stateid stateid;
1: + nfs4_stateid open_stateid;
1: + unsigned int n_rdonly;
1: + unsigned int n_wronly;
1: + unsigned int n_rdwr;
1: + fmode_t state;
1: + refcount_t count;
1: + wait_queue_head_t waitq;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct svc_cred {
1: + kuid_t cr_uid;
1: + kgid_t cr_gid;
1: + struct group_info *cr_group_info;
1: + u32 cr_flavor;
1: + char *cr_raw_principal;
1: + char *cr_principal;
1: + char *cr_targ_princ;
1: + struct gss_api_mech *cr_gss_mech;
1: +};
1: +
1: +struct cache_deferred_req;
1: +
1: +struct cache_req {
1: + struct cache_deferred_req * (*defer)(struct cache_req *);
1: + int thread_wait;
1: +};
1: +
1: +struct svc_cacherep;
1: +
1: +struct svc_pool;
1: +
1: +struct svc_procedure;
1: +
1: +struct auth_ops;
1: +
1: +struct svc_deferred_req;
1: +
1: +struct auth_domain;
1: +
1: +struct svc_rqst {
1: + struct list_head rq_all;
1: + struct callback_head rq_rcu_head;
1: + struct svc_xprt *rq_xprt;
1: + struct __kernel_sockaddr_storage rq_addr;
1: + size_t rq_addrlen;
1: + struct __kernel_sockaddr_storage rq_daddr;
1: + size_t rq_daddrlen;
1: + struct svc_serv *rq_server;
1: + struct svc_pool *rq_pool;
1: + const struct svc_procedure *rq_procinfo;
1: + struct auth_ops *rq_authop;
1: + struct svc_cred rq_cred;
1: + void *rq_xprt_ctxt;
1: + struct svc_deferred_req *rq_deferred;
1: + size_t rq_xprt_hlen;
1: + struct xdr_buf rq_arg;
1: + struct xdr_buf rq_res;
1: + struct page___2 *rq_pages[260];
1: + struct page___2 **rq_respages;
1: + struct page___2 **rq_next_page;
1: + struct page___2 **rq_page_end;
1: + struct kvec rq_vec[259];
1: + __be32 rq_xid;
1: + u32 rq_prog;
1: + u32 rq_vers;
1: + u32 rq_proc;
1: + u32 rq_prot;
1: + int rq_cachetype;
1: + long unsigned int rq_flags;
1: + ktime_t rq_qtime;
1: + void *rq_argp;
1: + void *rq_resp;
1: + void *rq_auth_data;
1: + int rq_auth_slack;
1: + int rq_reserved;
1: + ktime_t rq_stime;
1: + struct cache_req rq_chandle;
1: + struct auth_domain *rq_client;
1: + struct auth_domain *rq_gssclient;
1: + struct svc_cacherep *rq_cacherep;
1: + struct task_struct___2 *rq_task;
1: + spinlock_t rq_lock;
1: + struct net___2 *rq_bc_net;
1: +};
1: +
1: +struct nlmclnt_initdata {
1: + const char *hostname;
1: + const struct sockaddr *address;
1: + size_t addrlen;
1: + short unsigned int protocol;
1: + u32 nfs_version;
1: + int noresvport;
1: + struct net___2 *net;
1: + const struct nlmclnt_operations *nlmclnt_ops;
1: + const struct cred___2 *cred;
1: +};
1: +
1: +struct cache_head {
1: + struct hlist_node cache_list;
1: + time_t expiry_time;
1: + time_t last_refresh;
1: + struct kref ref;
1: + long unsigned int flags;
1: +};
1: +
1: +struct cache_detail {
1: + struct module___2 *owner;
1: + int hash_size;
1: + struct hlist_head *hash_table;
1: + spinlock_t hash_lock;
1: + char *name;
1: + void (*cache_put)(struct kref *);
1: + int (*cache_upcall)(struct cache_detail *, struct cache_head *);
1: + void (*cache_request)(struct cache_detail *, struct cache_head *, char **, int *);
1: + int (*cache_parse)(struct cache_detail *, char *, int);
1: + int (*cache_show)(struct seq_file *, struct cache_detail *, struct cache_head *);
1: + void (*warn_no_listener)(struct cache_detail *, int);
1: + struct cache_head * (*alloc)();
1: + void (*flush)();
1: + int (*match)(struct cache_head *, struct cache_head *);
1: + void (*init)(struct cache_head *, struct cache_head *);
1: + void (*update)(struct cache_head *, struct cache_head *);
1: + time_t flush_time;
1: + struct list_head others;
1: + time_t nextcheck;
1: + int entries;
1: + struct list_head queue;
1: + atomic_t writers;
1: + time_t last_close;
1: + time_t last_warn;
1: + union {
1: + struct proc_dir_entry *procfs;
1: + struct dentry___2 *pipefs;
1: + };
1: + struct net___2 *net;
1: +};
1: +
1: +struct cache_deferred_req {
1: + struct hlist_node hash;
1: + struct list_head recent;
1: + struct cache_head *item;
1: + void *owner;
1: + void (*revisit)(struct cache_deferred_req *, int);
1: +};
1: +
1: +struct auth_domain {
1: + struct kref ref;
1: + struct hlist_node hash;
1: + char *name;
1: + struct auth_ops *flavour;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct auth_ops {
1: + char *name;
1: + struct module___2 *owner;
1: + int flavour;
1: + int (*accept)(struct svc_rqst *, __be32 *);
1: + int (*release)(struct svc_rqst *);
1: + void (*domain_release)(struct auth_domain *);
1: + int (*set_client)(struct svc_rqst *);
1: +};
1: +
1: +struct svc_pool_stats {
1: + atomic_long_t packets;
1: + long unsigned int sockets_queued;
1: + atomic_long_t threads_woken;
1: + atomic_long_t threads_timedout;
1: +};
1: +
1: +struct svc_pool {
1: + unsigned int sp_id;
1: + spinlock_t sp_lock;
1: + struct list_head sp_sockets;
1: + unsigned int sp_nrthreads;
1: + struct list_head sp_all_threads;
1: + struct svc_pool_stats sp_stats;
1: + long unsigned int sp_flags;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct svc_serv_ops {
1: + void (*svo_shutdown)(struct svc_serv *, struct net___2 *);
1: + int (*svo_function)(void *);
1: + void (*svo_enqueue_xprt)(struct svc_xprt *);
1: + int (*svo_setup)(struct svc_serv *, struct svc_pool *, int);
1: + struct module___2 *svo_module;
1: +};
1: +
1: +struct svc_serv {
1: + struct svc_program *sv_program;
1: + struct svc_stat *sv_stats;
1: + spinlock_t sv_lock;
1: + unsigned int sv_nrthreads;
1: + unsigned int sv_maxconn;
1: + unsigned int sv_max_payload;
1: + unsigned int sv_max_mesg;
1: + unsigned int sv_xdrsize;
1: + struct list_head sv_permsocks;
1: + struct list_head sv_tempsocks;
1: + int sv_tmpcnt;
1: + struct timer_list sv_temptimer;
1: + char *sv_name;
1: + unsigned int sv_nrpools;
1: + struct svc_pool *sv_pools;
1: + const struct svc_serv_ops *sv_ops;
1: +};
1: +
1: +struct svc_procedure {
1: + __be32 (*pc_func)(struct svc_rqst *);
1: + int (*pc_decode)(struct svc_rqst *, __be32 *);
1: + int (*pc_encode)(struct svc_rqst *, __be32 *);
1: + void (*pc_release)(struct svc_rqst *);
1: + unsigned int pc_argsize;
1: + unsigned int pc_ressize;
1: + unsigned int pc_cachetype;
1: + unsigned int pc_xdrressize;
1: +};
1: +
1: +struct svc_deferred_req {
1: + u32 prot;
1: + struct svc_xprt *xprt;
1: + struct __kernel_sockaddr_storage addr;
1: + size_t addrlen;
1: + struct __kernel_sockaddr_storage daddr;
1: + size_t daddrlen;
1: + struct cache_deferred_req handle;
1: + size_t xprt_hlen;
1: + int argslen;
1: + __be32 args[0];
1: +};
1: +
1: +struct svc_process_info {
1: + union {
1: + int (*dispatch)(struct svc_rqst *, __be32 *);
1: + struct {
1: + unsigned int lovers;
1: + unsigned int hivers;
1: + } mismatch;
1: + };
1: +};
1: +
1: +struct svc_version {
1: + u32 vs_vers;
1: + u32 vs_nproc;
1: + const struct svc_procedure *vs_proc;
1: + unsigned int *vs_count;
1: + u32 vs_xdrsize;
1: + bool vs_hidden;
1: + bool vs_rpcb_optnl;
1: + bool vs_need_cong_ctrl;
1: + int (*vs_dispatch)(struct svc_rqst *, __be32 *);
1: +};
1: +
1: +struct svc_xprt_ops {
1: + struct svc_xprt * (*xpo_create)(struct svc_serv *, struct net___2 *, struct sockaddr *, int, int);
1: + struct svc_xprt * (*xpo_accept)(struct svc_xprt *);
1: + int (*xpo_has_wspace)(struct svc_xprt *);
1: + int (*xpo_recvfrom)(struct svc_rqst *);
1: + int (*xpo_sendto)(struct svc_rqst *);
1: + void (*xpo_release_rqst)(struct svc_rqst *);
1: + void (*xpo_detach)(struct svc_xprt *);
1: + void (*xpo_free)(struct svc_xprt *);
1: + void (*xpo_secure_port)(struct svc_rqst *);
1: + void (*xpo_kill_temp_xprt)(struct svc_xprt *);
1: +};
1: +
1: +struct svc_xprt_class {
1: + const char *xcl_name;
1: + struct module___2 *xcl_owner;
1: + const struct svc_xprt_ops *xcl_ops;
1: + struct list_head xcl_list;
1: + u32 xcl_max_payload;
1: + int xcl_ident;
1: +};
1: +
1: +struct nfs4_state_recovery_ops {
1: + int owner_flag_bit;
1: + int state_flag_bit;
1: + int (*recover_open)(struct nfs4_state_owner *, struct nfs4_state *);
1: + int (*recover_lock)(struct nfs4_state *, struct file_lock *);
1: + int (*establish_clid)(struct nfs_client *, const struct cred___2 *);
1: + int (*reclaim_complete)(struct nfs_client *, const struct cred___2 *);
1: + int (*detect_trunking)(struct nfs_client *, struct nfs_client **, const struct cred___2 *);
1: +};
1: +
1: +struct nfs4_state_maintenance_ops {
1: + int (*sched_state_renewal)(struct nfs_client *, const struct cred___2 *, unsigned int);
1: + const struct cred___2 * (*get_state_renewal_cred)(struct nfs_client *);
1: + int (*renew_lease)(struct nfs_client *, const struct cred___2 *);
1: +};
1: +
1: +struct nfs4_mig_recovery_ops {
1: + int (*get_locations)(struct inode___2 *, struct nfs4_fs_locations *, struct page___2 *, const struct cred___2 *);
1: + int (*fsid_present)(struct inode___2 *, const struct cred___2 *);
1: +};
1: +
1: +struct nfs4_state_owner {
1: + struct nfs_server *so_server;
1: + struct list_head so_lru;
1: + long unsigned int so_expires;
1: + struct rb_node so_server_node;
1: + const struct cred___2 *so_cred;
1: + spinlock_t so_lock;
1: + atomic_t so_count;
1: + long unsigned int so_flags;
1: + struct list_head so_states;
1: + struct nfs_seqid_counter so_seqid;
1: + seqcount_t so_reclaim_seqcount;
1: + struct mutex so_delegreturn_mutex;
1: +};
1: +
1: +enum nfs_stat_bytecounters {
1: + NFSIOS_NORMALREADBYTES = 0,
1: + NFSIOS_NORMALWRITTENBYTES = 1,
1: + NFSIOS_DIRECTREADBYTES = 2,
1: + NFSIOS_DIRECTWRITTENBYTES = 3,
1: + NFSIOS_SERVERREADBYTES = 4,
1: + NFSIOS_SERVERWRITTENBYTES = 5,
1: + NFSIOS_READPAGES = 6,
1: + NFSIOS_WRITEPAGES = 7,
1: + __NFSIOS_BYTESMAX = 8,
1: +};
1: +
1: +enum nfs_stat_eventcounters {
1: + NFSIOS_INODEREVALIDATE = 0,
1: + NFSIOS_DENTRYREVALIDATE = 1,
1: + NFSIOS_DATAINVALIDATE = 2,
1: + NFSIOS_ATTRINVALIDATE = 3,
1: + NFSIOS_VFSOPEN = 4,
1: + NFSIOS_VFSLOOKUP = 5,
1: + NFSIOS_VFSACCESS = 6,
1: + NFSIOS_VFSUPDATEPAGE = 7,
1: + NFSIOS_VFSREADPAGE = 8,
1: + NFSIOS_VFSREADPAGES = 9,
1: + NFSIOS_VFSWRITEPAGE = 10,
1: + NFSIOS_VFSWRITEPAGES = 11,
1: + NFSIOS_VFSGETDENTS = 12,
1: + NFSIOS_VFSSETATTR = 13,
1: + NFSIOS_VFSFLUSH = 14,
1: + NFSIOS_VFSFSYNC = 15,
1: + NFSIOS_VFSLOCK = 16,
1: + NFSIOS_VFSRELEASE = 17,
1: + NFSIOS_CONGESTIONWAIT = 18,
1: + NFSIOS_SETATTRTRUNC = 19,
1: + NFSIOS_EXTENDWRITE = 20,
1: + NFSIOS_SILLYRENAME = 21,
1: + NFSIOS_SHORTREAD = 22,
1: + NFSIOS_SHORTWRITE = 23,
1: + NFSIOS_DELAY = 24,
1: + NFSIOS_PNFS_READ = 25,
1: + NFSIOS_PNFS_WRITE = 26,
1: + __NFSIOS_COUNTSMAX = 27,
1: +};
1: +
1: +struct nfs_clone_mount {
1: + const struct super_block___2 *sb;
1: + const struct dentry___2 *dentry;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: + char *hostname;
1: + char *mnt_path;
1: + struct sockaddr *addr;
1: + size_t addrlen;
1: + rpc_authflavor_t authflavor;
1: +};
1: +
1: +struct nfs_parsed_mount_data {
1: + int flags;
1: + unsigned int rsize;
1: + unsigned int wsize;
1: + unsigned int timeo;
1: + unsigned int retrans;
1: + unsigned int acregmin;
1: + unsigned int acregmax;
1: + unsigned int acdirmin;
1: + unsigned int acdirmax;
1: + unsigned int namlen;
1: + unsigned int options;
1: + unsigned int bsize;
1: + struct nfs_auth_info auth_info;
1: + rpc_authflavor_t selected_flavor;
1: + char *client_address;
1: + unsigned int version;
1: + unsigned int minorversion;
1: + char *fscache_uniq;
1: + bool need_mount;
1: + struct {
1: + struct __kernel_sockaddr_storage address;
1: + size_t addrlen;
1: + char *hostname;
1: + u32 version;
1: + int port;
1: + short unsigned int protocol;
1: + } mount_server;
1: + struct {
1: + struct __kernel_sockaddr_storage address;
1: + size_t addrlen;
1: + char *hostname;
1: + char *export_path;
1: + int port;
1: + short unsigned int protocol;
1: + short unsigned int nconnect;
1: + } nfs_server;
1: + void *lsm_opts;
1: + struct net___2 *net;
1: +};
1: +
1: +struct bl_dev_msg {
1: + int32_t status;
1: + uint32_t major;
1: + uint32_t minor;
1: +};
1: +
1: +struct nfs_netns_client;
1: +
1: +struct nfs_net {
1: + struct cache_detail *nfs_dns_resolve;
1: + struct rpc_pipe *bl_device_pipe;
1: + struct bl_dev_msg bl_mount_reply;
1: + wait_queue_head_t bl_wq;
1: + struct mutex bl_mutex;
1: + struct list_head nfs_client_list;
1: + struct list_head nfs_volume_list;
1: + struct idr cb_ident_idr;
1: + short unsigned int nfs_callback_tcpport;
1: + short unsigned int nfs_callback_tcpport6;
1: + int cb_users[1];
1: + struct nfs_netns_client *nfs_client;
1: + spinlock_t nfs_client_lock;
1: + ktime_t boot_time;
1: + struct proc_dir_entry *proc_nfsfs;
1: +};
1: +
1: +struct nfs_netns_client {
1: + struct kobject___2 kobject;
1: + struct net___2 *net;
1: + const char *identifier;
1: +};
1: +
1: +typedef int filler_t___2(void *, struct page *);
1: +
1: +struct nfs_open_dir_context {
1: + struct list_head list;
1: + const struct cred *cred;
1: + long unsigned int attr_gencount;
1: + __u64 dir_cookie;
1: + __u64 dup_cookie;
1: + signed char duped;
1: +};
1: +
1: +struct nfs4_cached_acl;
1: +
1: +struct nfs_delegation;
1: +
1: +struct nfs_inode {
1: + __u64 fileid;
1: + struct nfs_fh fh;
1: + long unsigned int flags;
1: + long unsigned int cache_validity;
1: + long unsigned int read_cache_jiffies;
1: + long unsigned int attrtimeo;
1: + long unsigned int attrtimeo_timestamp;
1: + long unsigned int attr_gencount;
1: + long unsigned int cache_change_attribute;
1: + struct rb_root access_cache;
1: + struct list_head access_cache_entry_lru;
1: + struct list_head access_cache_inode_lru;
1: + __be32 cookieverf[2];
1: + atomic_long_t nrequests;
1: + struct nfs_mds_commit_info commit_info;
1: + struct list_head open_files;
1: + struct rw_semaphore rmdir_sem;
1: + struct mutex commit_mutex;
1: + struct nfs4_cached_acl *nfs4_acl;
1: + struct list_head open_states;
1: + struct nfs_delegation *delegation;
1: + struct rw_semaphore rwsem;
1: + struct pnfs_layout_hdr *layout;
1: + __u64 write_io;
1: + __u64 read_io;
1: + struct inode vfs_inode;
1: +};
1: +
1: +struct nfs_delegation {
1: + struct list_head super_list;
1: + const struct cred *cred;
1: + struct inode *inode;
1: + nfs4_stateid stateid;
1: + fmode_t type;
1: + long unsigned int pagemod_limit;
1: + __u64 change_attr;
1: + long unsigned int flags;
1: + spinlock_t lock;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct nfs_cache_array_entry {
1: + u64 cookie;
1: + u64 ino;
1: + struct qstr string;
1: + unsigned char d_type;
1: +};
1: +
1: +struct nfs_cache_array {
1: + int size;
1: + int eof_index;
1: + u64 last_cookie;
1: + struct nfs_cache_array_entry array[0];
1: +};
1: +
1: +typedef int (*decode_dirent_t)(struct xdr_stream *, struct nfs_entry *, bool);
1: +
1: +typedef struct {
1: + struct file *file;
1: + struct page *page;
1: + struct dir_context *ctx;
1: + long unsigned int page_index;
1: + u64 *dir_cookie;
1: + u64 last_cookie;
1: + loff_t current_index;
1: + decode_dirent_t decode;
1: + long unsigned int timestamp;
1: + long unsigned int gencount;
1: + unsigned int cache_entry_index;
1: + bool plus;
1: + bool eof;
1: +} nfs_readdir_descriptor_t;
1: +
1: +struct nfs_find_desc {
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: +};
1: +
1: +struct nfs2_fh {
1: + char data[32];
1: +};
1: +
1: +struct nfs3_fh {
1: + short unsigned int size;
1: + unsigned char data[64];
1: +};
1: +
1: +struct nfs4_sessionid {
1: + unsigned char data[16];
1: +};
1: +
1: +struct nfs4_channel_attrs {
1: + u32 max_rqst_sz;
1: + u32 max_resp_sz;
1: + u32 max_resp_sz_cached;
1: + u32 max_ops;
1: + u32 max_reqs;
1: +};
1: +
1: +struct nfs4_slot {
1: + struct nfs4_slot_table *table;
1: + struct nfs4_slot *next;
1: + long unsigned int generation;
1: + u32 slot_nr;
1: + u32 seq_nr;
1: + u32 seq_nr_last_acked;
1: + u32 seq_nr_highest_sent;
1: + unsigned int privileged: 1;
1: + unsigned int seq_done: 1;
1: +};
1: +
1: +struct nfs4_slot_table {
1: + struct nfs4_session *session;
1: + struct nfs4_slot *slots;
1: + long unsigned int used_slots[16];
1: + spinlock_t slot_tbl_lock;
1: + struct rpc_wait_queue slot_tbl_waitq;
1: + wait_queue_head_t slot_waitq;
1: + u32 max_slots;
1: + u32 max_slotid;
1: + u32 highest_used_slotid;
1: + u32 target_highest_slotid;
1: + u32 server_highest_slotid;
1: + s32 d_target_highest_slotid;
1: + s32 d2_target_highest_slotid;
1: + long unsigned int generation;
1: + struct completion complete;
1: + long unsigned int slot_tbl_state;
1: +};
1: +
1: +struct nfs4_session {
1: + struct nfs4_sessionid sess_id;
1: + u32 flags;
1: + long unsigned int session_state;
1: + u32 hash_alg;
1: + u32 ssv_len;
1: + struct nfs4_channel_attrs fc_attrs;
1: + struct nfs4_slot_table fc_slot_table;
1: + struct nfs4_channel_attrs bc_attrs;
1: + struct nfs4_slot_table bc_slot_table;
1: + struct nfs_client *clp;
1: +};
1: +
1: +struct nfs_mount_data {
1: + int version;
1: + int fd;
1: + struct nfs2_fh old_root;
1: + int flags;
1: + int rsize;
1: + int wsize;
1: + int timeo;
1: + int retrans;
1: + int acregmin;
1: + int acregmax;
1: + int acdirmin;
1: + int acdirmax;
1: + struct sockaddr_in addr;
1: + char hostname[256];
1: + int namlen;
1: + unsigned int bsize;
1: + struct nfs3_fh root;
1: + int pseudoflavor;
1: + char context[257];
1: +};
1: +
1: +struct nfs_mount_request {
1: + struct sockaddr *sap;
1: + size_t salen;
1: + char *hostname;
1: + char *dirpath;
1: + u32 version;
1: + short unsigned int protocol;
1: + struct nfs_fh *fh;
1: + int noresvport;
1: + unsigned int *auth_flav_len;
1: + rpc_authflavor_t *auth_flavs;
1: + struct net *net;
1: +};
1: +
1: +enum {
1: + Opt_soft = 0,
1: + Opt_softerr = 1,
1: + Opt_hard = 2,
1: + Opt_posix = 3,
1: + Opt_noposix = 4,
1: + Opt_cto = 5,
1: + Opt_nocto = 6,
1: + Opt_ac = 7,
1: + Opt_noac = 8,
1: + Opt_lock = 9,
1: + Opt_nolock = 10,
1: + Opt_udp = 11,
1: + Opt_tcp = 12,
1: + Opt_rdma = 13,
1: + Opt_acl___2 = 14,
1: + Opt_noacl___2 = 15,
1: + Opt_rdirplus = 16,
1: + Opt_nordirplus = 17,
1: + Opt_sharecache = 18,
1: + Opt_nosharecache = 19,
1: + Opt_resvport = 20,
1: + Opt_noresvport = 21,
1: + Opt_fscache = 22,
1: + Opt_nofscache = 23,
1: + Opt_migration = 24,
1: + Opt_nomigration = 25,
1: + Opt_port = 26,
1: + Opt_rsize = 27,
1: + Opt_wsize = 28,
1: + Opt_bsize = 29,
1: + Opt_timeo = 30,
1: + Opt_retrans = 31,
1: + Opt_acregmin = 32,
1: + Opt_acregmax = 33,
1: + Opt_acdirmin = 34,
1: + Opt_acdirmax = 35,
1: + Opt_actimeo = 36,
1: + Opt_namelen = 37,
1: + Opt_mountport = 38,
1: + Opt_mountvers = 39,
1: + Opt_minorversion = 40,
1: + Opt_nfsvers = 41,
1: + Opt_sec = 42,
1: + Opt_proto = 43,
1: + Opt_mountproto = 44,
1: + Opt_mounthost = 45,
1: + Opt_addr = 46,
1: + Opt_mountaddr = 47,
1: + Opt_clientaddr = 48,
1: + Opt_nconnect = 49,
1: + Opt_lookupcache = 50,
1: + Opt_fscache_uniq = 51,
1: + Opt_local_lock = 52,
1: + Opt_userspace = 53,
1: + Opt_deprecated = 54,
1: + Opt_sloppy = 55,
1: + Opt_err___5 = 56,
1: +};
1: +
1: +enum {
1: + Opt_xprt_udp = 0,
1: + Opt_xprt_udp6 = 1,
1: + Opt_xprt_tcp = 2,
1: + Opt_xprt_tcp6 = 3,
1: + Opt_xprt_rdma = 4,
1: + Opt_xprt_rdma6 = 5,
1: + Opt_xprt_err = 6,
1: +};
1: +
1: +enum {
1: + Opt_sec_none = 0,
1: + Opt_sec_sys = 1,
1: + Opt_sec_krb5 = 2,
1: + Opt_sec_krb5i = 3,
1: + Opt_sec_krb5p = 4,
1: + Opt_sec_lkey = 5,
1: + Opt_sec_lkeyi = 6,
1: + Opt_sec_lkeyp = 7,
1: + Opt_sec_spkm = 8,
1: + Opt_sec_spkmi = 9,
1: + Opt_sec_spkmp = 10,
1: + Opt_sec_err = 11,
1: +};
1: +
1: +enum {
1: + Opt_lookupcache_all = 0,
1: + Opt_lookupcache_positive = 1,
1: + Opt_lookupcache_none = 2,
1: + Opt_lookupcache_err = 3,
1: +};
1: +
1: +enum {
1: + Opt_local_lock_all = 0,
1: + Opt_local_lock_flock = 1,
1: + Opt_local_lock_posix = 2,
1: + Opt_local_lock_none = 3,
1: + Opt_local_lock_err = 4,
1: +};
1: +
1: +enum {
1: + Opt_vers_2 = 0,
1: + Opt_vers_3 = 1,
1: + Opt_vers_4 = 2,
1: + Opt_vers_4_0 = 3,
1: + Opt_vers_4_1 = 4,
1: + Opt_vers_4_2 = 5,
1: + Opt_vers_err = 6,
1: +};
1: +
1: +struct nfs_sb_mountdata {
1: + struct nfs_server *server;
1: + int mntflags;
1: +};
1: +
1: +struct proc_nfs_info {
1: + int flag;
1: + const char *str;
1: + const char *nostr;
1: +};
1: +
1: +enum {
1: + NFS_IOHDR_ERROR = 0,
1: + NFS_IOHDR_EOF = 1,
1: + NFS_IOHDR_REDO = 2,
1: + NFS_IOHDR_STAT = 3,
1: + NFS_IOHDR_RESEND_PNFS = 4,
1: + NFS_IOHDR_RESEND_MDS = 5,
1: +};
1: +
1: +struct nfs_direct_req {
1: + struct kref kref;
1: + struct nfs_open_context *ctx;
1: + struct nfs_lock_context *l_ctx;
1: + struct kiocb *iocb;
1: + struct inode *inode;
1: + atomic_t io_count;
1: + spinlock_t lock;
1: + loff_t io_start;
1: + ssize_t count;
1: + ssize_t max_count;
1: + ssize_t bytes_left;
1: + ssize_t error;
1: + struct completion completion;
1: + struct nfs_mds_commit_info mds_cinfo;
1: + struct pnfs_ds_commit_info ds_cinfo;
1: + struct work_struct work;
1: + int flags;
1: + struct nfs_writeverf verf;
1: +};
1: +
1: +enum {
1: + PG_BUSY = 0,
1: + PG_MAPPED = 1,
1: + PG_CLEAN = 2,
1: + PG_COMMIT_TO_DS = 3,
1: + PG_INODE_REF = 4,
1: + PG_HEADLOCK = 5,
1: + PG_TEARDOWN = 6,
1: + PG_UNLOCKPAGE = 7,
1: + PG_UPTODATE = 8,
1: + PG_WB_END = 9,
1: + PG_REMOVE = 10,
1: + PG_CONTENDED1 = 11,
1: + PG_CONTENDED2 = 12,
1: +};
1: +
1: +struct nfs_pageio_descriptor;
1: +
1: +struct nfs_pageio_ops {
1: + void (*pg_init)(struct nfs_pageio_descriptor *, struct nfs_page *);
1: + size_t (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *, struct nfs_page *);
1: + int (*pg_doio)(struct nfs_pageio_descriptor *);
1: + unsigned int (*pg_get_mirror_count)(struct nfs_pageio_descriptor *, struct nfs_page *);
1: + void (*pg_cleanup)(struct nfs_pageio_descriptor *);
1: +};
1: +
1: +struct nfs_pgio_mirror {
1: + struct list_head pg_list;
1: + long unsigned int pg_bytes_written;
1: + size_t pg_count;
1: + size_t pg_bsize;
1: + unsigned int pg_base;
1: + unsigned char pg_recoalesce: 1;
1: +};
1: +
1: +struct nfs_pageio_descriptor {
1: + struct inode *pg_inode;
1: + const struct nfs_pageio_ops *pg_ops;
1: + const struct nfs_rw_ops *pg_rw_ops;
1: + int pg_ioflags;
1: + int pg_error;
1: + const struct rpc_call_ops *pg_rpc_callops;
1: + const struct nfs_pgio_completion_ops *pg_completion_ops;
1: + struct pnfs_layout_segment *pg_lseg;
1: + struct nfs_io_completion *pg_io_completion;
1: + struct nfs_direct_req *pg_dreq;
1: + unsigned int pg_bsize;
1: + u32 pg_mirror_count;
1: + struct nfs_pgio_mirror *pg_mirrors;
1: + struct nfs_pgio_mirror pg_mirrors_static[1];
1: + struct nfs_pgio_mirror *pg_mirrors_dynamic;
1: + u32 pg_mirror_idx;
1: + short unsigned int pg_maxretrans;
1: + unsigned char pg_moreio: 1;
1: +};
1: +
1: +typedef void (*rpc_action)(struct rpc_task *);
1: +
1: +struct nfs_readdesc {
1: + struct nfs_pageio_descriptor *pgio;
1: + struct nfs_open_context *ctx;
1: +};
1: +
1: +typedef int (*writepage_t___2)(struct page *, struct writeback_control *, void *);
1: +
1: +struct nfs_io_completion {
1: + void (*complete)(void *);
1: + void *data;
1: + struct kref refcount;
1: +};
1: +
1: +enum pnfs_try_status {
1: + PNFS_ATTEMPTED = 0,
1: + PNFS_NOT_ATTEMPTED = 1,
1: + PNFS_TRY_AGAIN = 2,
1: +};
1: +
1: +enum {
1: + MOUNTPROC_NULL = 0,
1: + MOUNTPROC_MNT = 1,
1: + MOUNTPROC_DUMP = 2,
1: + MOUNTPROC_UMNT = 3,
1: + MOUNTPROC_UMNTALL = 4,
1: + MOUNTPROC_EXPORT = 5,
1: +};
1: +
1: +enum {
1: + MOUNTPROC3_NULL = 0,
1: + MOUNTPROC3_MNT = 1,
1: + MOUNTPROC3_DUMP = 2,
1: + MOUNTPROC3_UMNT = 3,
1: + MOUNTPROC3_UMNTALL = 4,
1: + MOUNTPROC3_EXPORT = 5,
1: +};
1: +
1: +enum mountstat {
1: + MNT_OK = 0,
1: + MNT_EPERM = 1,
1: + MNT_ENOENT = 2,
1: + MNT_EACCES = 13,
1: + MNT_EINVAL = 22,
1: +};
1: +
1: +enum mountstat3 {
1: + MNT3_OK = 0,
1: + MNT3ERR_PERM = 1,
1: + MNT3ERR_NOENT = 2,
1: + MNT3ERR_IO = 5,
1: + MNT3ERR_ACCES = 13,
1: + MNT3ERR_NOTDIR = 20,
1: + MNT3ERR_INVAL = 22,
1: + MNT3ERR_NAMETOOLONG = 63,
1: + MNT3ERR_NOTSUPP = 10004,
1: + MNT3ERR_SERVERFAULT = 10006,
1: +};
1: +
1: +struct mountres {
1: + int errno;
1: + struct nfs_fh *fh;
1: + unsigned int *auth_count;
1: + rpc_authflavor_t *auth_flavors;
1: +};
1: +
1: +enum nfs_stat {
1: + NFS_OK = 0,
1: + NFSERR_PERM = 1,
1: + NFSERR_NOENT = 2,
1: + NFSERR_IO = 5,
1: + NFSERR_NXIO = 6,
1: + NFSERR_EAGAIN = 11,
1: + NFSERR_ACCES = 13,
1: + NFSERR_EXIST = 17,
1: + NFSERR_XDEV = 18,
1: + NFSERR_NODEV = 19,
1: + NFSERR_NOTDIR = 20,
1: + NFSERR_ISDIR = 21,
1: + NFSERR_INVAL = 22,
1: + NFSERR_FBIG = 27,
1: + NFSERR_NOSPC = 28,
1: + NFSERR_ROFS = 30,
1: + NFSERR_MLINK = 31,
1: + NFSERR_OPNOTSUPP = 45,
1: + NFSERR_NAMETOOLONG = 63,
1: + NFSERR_NOTEMPTY = 66,
1: + NFSERR_DQUOT = 69,
1: + NFSERR_STALE = 70,
1: + NFSERR_REMOTE = 71,
1: + NFSERR_WFLUSH = 99,
1: + NFSERR_BADHANDLE = 10001,
1: + NFSERR_NOT_SYNC = 10002,
1: + NFSERR_BAD_COOKIE = 10003,
1: + NFSERR_NOTSUPP = 10004,
1: + NFSERR_TOOSMALL = 10005,
1: + NFSERR_SERVERFAULT = 10006,
1: + NFSERR_BADTYPE = 10007,
1: + NFSERR_JUKEBOX = 10008,
1: + NFSERR_SAME = 10009,
1: + NFSERR_DENIED = 10010,
1: + NFSERR_EXPIRED = 10011,
1: + NFSERR_LOCKED = 10012,
1: + NFSERR_GRACE = 10013,
1: + NFSERR_FHEXPIRED = 10014,
1: + NFSERR_SHARE_DENIED = 10015,
1: + NFSERR_WRONGSEC = 10016,
1: + NFSERR_CLID_INUSE = 10017,
1: + NFSERR_RESOURCE = 10018,
1: + NFSERR_MOVED = 10019,
1: + NFSERR_NOFILEHANDLE = 10020,
1: + NFSERR_MINOR_VERS_MISMATCH = 10021,
1: + NFSERR_STALE_CLIENTID = 10022,
1: + NFSERR_STALE_STATEID = 10023,
1: + NFSERR_OLD_STATEID = 10024,
1: + NFSERR_BAD_STATEID = 10025,
1: + NFSERR_BAD_SEQID = 10026,
1: + NFSERR_NOT_SAME = 10027,
1: + NFSERR_LOCK_RANGE = 10028,
1: + NFSERR_SYMLINK = 10029,
1: + NFSERR_RESTOREFH = 10030,
1: + NFSERR_LEASE_MOVED = 10031,
1: + NFSERR_ATTRNOTSUPP = 10032,
1: + NFSERR_NO_GRACE = 10033,
1: + NFSERR_RECLAIM_BAD = 10034,
1: + NFSERR_RECLAIM_CONFLICT = 10035,
1: + NFSERR_BAD_XDR = 10036,
1: + NFSERR_LOCKS_HELD = 10037,
1: + NFSERR_OPENMODE = 10038,
1: + NFSERR_BADOWNER = 10039,
1: + NFSERR_BADCHAR = 10040,
1: + NFSERR_BADNAME = 10041,
1: + NFSERR_BAD_RANGE = 10042,
1: + NFSERR_LOCK_NOTSUPP = 10043,
1: + NFSERR_OP_ILLEGAL = 10044,
1: + NFSERR_DEADLOCK = 10045,
1: + NFSERR_FILE_OPEN = 10046,
1: + NFSERR_ADMIN_REVOKED = 10047,
1: + NFSERR_CB_PATH_DOWN = 10048,
1: +};
1: +
1: +struct trace_event_raw_nfs_inode_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + u64 version;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_inode_event_done {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u32 fhandle;
1: + unsigned char type;
1: + u64 fileid;
1: + u64 version;
1: + loff_t size;
1: + long unsigned int nfsi_flags;
1: + long unsigned int cache_validity;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_lookup_event {
1: + struct trace_entry ent;
1: + long unsigned int flags;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_lookup_event_done {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + long unsigned int flags;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_atomic_open_enter {
1: + struct trace_entry ent;
1: + long unsigned int flags;
1: + unsigned int fmode;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_atomic_open_exit {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + long unsigned int flags;
1: + unsigned int fmode;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_create_enter {
1: + struct trace_entry ent;
1: + long unsigned int flags;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_create_exit {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + long unsigned int flags;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_directory_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_directory_event_done {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_link_enter {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 fileid;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_link_exit {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u64 fileid;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_rename_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 old_dir;
1: + u64 new_dir;
1: + u32 __data_loc_old_name;
1: + u32 __data_loc_new_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_rename_event_done {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int error;
1: + u64 old_dir;
1: + u32 __data_loc_old_name;
1: + u64 new_dir;
1: + u32 __data_loc_new_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_sillyrename_unlink {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int error;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_initiate_read {
1: + struct trace_entry ent;
1: + loff_t offset;
1: + long unsigned int count;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_readpage_done {
1: + struct trace_entry ent;
1: + int status;
1: + loff_t offset;
1: + bool eof;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_initiate_write {
1: + struct trace_entry ent;
1: + loff_t offset;
1: + long unsigned int count;
1: + enum nfs3_stable_how stable;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_writeback_done {
1: + struct trace_entry ent;
1: + int status;
1: + loff_t offset;
1: + enum nfs3_stable_how stable;
1: + long long unsigned int verifier;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_initiate_commit {
1: + struct trace_entry ent;
1: + loff_t offset;
1: + long unsigned int count;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_commit_done {
1: + struct trace_entry ent;
1: + int status;
1: + loff_t offset;
1: + long long unsigned int verifier;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_fh_to_dentry {
1: + struct trace_entry ent;
1: + int error;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs_xdr_status {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + long unsigned int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_inode_event {};
1: +
1: +struct trace_event_data_offsets_nfs_inode_event_done {};
1: +
1: +struct trace_event_data_offsets_nfs_lookup_event {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_lookup_event_done {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_atomic_open_enter {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_atomic_open_exit {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_create_enter {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_create_exit {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_directory_event {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_directory_event_done {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_link_enter {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_link_exit {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_rename_event {
1: + u32 old_name;
1: + u32 new_name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_rename_event_done {
1: + u32 old_name;
1: + u32 new_name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_sillyrename_unlink {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs_initiate_read {};
1: +
1: +struct trace_event_data_offsets_nfs_readpage_done {};
1: +
1: +struct trace_event_data_offsets_nfs_initiate_write {};
1: +
1: +struct trace_event_data_offsets_nfs_writeback_done {};
1: +
1: +struct trace_event_data_offsets_nfs_initiate_commit {};
1: +
1: +struct trace_event_data_offsets_nfs_commit_done {};
1: +
1: +struct trace_event_data_offsets_nfs_fh_to_dentry {};
1: +
1: +struct trace_event_data_offsets_nfs_xdr_status {};
1: +
1: +enum {
1: + FILEID_HIGH_OFF = 0,
1: + FILEID_LOW_OFF = 1,
1: + FILE_I_TYPE_OFF = 2,
1: + EMBED_FH_OFF = 3,
1: +};
1: +
1: +struct nfs2_fsstat {
1: + __u32 tsize;
1: + __u32 bsize;
1: + __u32 blocks;
1: + __u32 bfree;
1: + __u32 bavail;
1: +};
1: +
1: +struct nfs_sattrargs {
1: + struct nfs_fh *fh;
1: + struct iattr *sattr;
1: +};
1: +
1: +struct nfs_diropargs {
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: +};
1: +
1: +struct nfs_createargs {
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: + struct iattr *sattr;
1: +};
1: +
1: +struct nfs_linkargs {
1: + struct nfs_fh *fromfh;
1: + struct nfs_fh *tofh;
1: + const char *toname;
1: + unsigned int tolen;
1: +};
1: +
1: +struct nfs_symlinkargs {
1: + struct nfs_fh *fromfh;
1: + const char *fromname;
1: + unsigned int fromlen;
1: + struct page **pages;
1: + unsigned int pathlen;
1: + struct iattr *sattr;
1: +};
1: +
1: +struct nfs_readdirargs {
1: + struct nfs_fh *fh;
1: + __u32 cookie;
1: + unsigned int count;
1: + struct page **pages;
1: +};
1: +
1: +struct nfs_diropok {
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: +};
1: +
1: +struct nfs_readlinkargs {
1: + struct nfs_fh *fh;
1: + unsigned int pgbase;
1: + unsigned int pglen;
1: + struct page **pages;
1: +};
1: +
1: +struct nfs_createdata {
1: + struct nfs_createargs arg;
1: + struct nfs_diropok res;
1: + struct nfs_fh fhandle;
1: + struct nfs_fattr fattr;
1: +};
1: +
1: +enum nfs_ftype {
1: + NFNON = 0,
1: + NFREG = 1,
1: + NFDIR = 2,
1: + NFBLK = 3,
1: + NFCHR = 4,
1: + NFLNK = 5,
1: + NFSOCK = 6,
1: + NFBAD = 7,
1: + NFFIFO = 8,
1: +};
1: +
1: +enum nfs2_ftype {
1: + NF2NON = 0,
1: + NF2REG = 1,
1: + NF2DIR = 2,
1: + NF2BLK = 3,
1: + NF2CHR = 4,
1: + NF2LNK = 5,
1: + NF2SOCK = 6,
1: + NF2BAD = 7,
1: + NF2FIFO = 8,
1: +};
1: +
1: +enum nfs3_createmode {
1: + NFS3_CREATE_UNCHECKED = 0,
1: + NFS3_CREATE_GUARDED = 1,
1: + NFS3_CREATE_EXCLUSIVE = 2,
1: +};
1: +
1: +enum nfs3_ftype {
1: + NF3NON = 0,
1: + NF3REG = 1,
1: + NF3DIR = 2,
1: + NF3BLK = 3,
1: + NF3CHR = 4,
1: + NF3LNK = 5,
1: + NF3SOCK = 6,
1: + NF3FIFO = 7,
1: + NF3BAD = 8,
1: +};
1: +
1: +struct nfs3_sattrargs {
1: + struct nfs_fh *fh;
1: + struct iattr *sattr;
1: + unsigned int guard;
1: + struct timespec64 guardtime;
1: +};
1: +
1: +struct nfs3_diropargs {
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: +};
1: +
1: +struct nfs3_accessargs {
1: + struct nfs_fh *fh;
1: + __u32 access;
1: +};
1: +
1: +struct nfs3_createargs {
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: + struct iattr *sattr;
1: + enum nfs3_createmode createmode;
1: + __be32 verifier[2];
1: +};
1: +
1: +struct nfs3_mkdirargs {
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: + struct iattr *sattr;
1: +};
1: +
1: +struct nfs3_symlinkargs {
1: + struct nfs_fh *fromfh;
1: + const char *fromname;
1: + unsigned int fromlen;
1: + struct page **pages;
1: + unsigned int pathlen;
1: + struct iattr *sattr;
1: +};
1: +
1: +struct nfs3_mknodargs {
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: + enum nfs3_ftype type;
1: + struct iattr *sattr;
1: + dev_t rdev;
1: +};
1: +
1: +struct nfs3_linkargs {
1: + struct nfs_fh *fromfh;
1: + struct nfs_fh *tofh;
1: + const char *toname;
1: + unsigned int tolen;
1: +};
1: +
1: +struct nfs3_readdirargs {
1: + struct nfs_fh *fh;
1: + __u64 cookie;
1: + __be32 verf[2];
1: + bool plus;
1: + unsigned int count;
1: + struct page **pages;
1: +};
1: +
1: +struct nfs3_diropres {
1: + struct nfs_fattr *dir_attr;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: +};
1: +
1: +struct nfs3_accessres {
1: + struct nfs_fattr *fattr;
1: + __u32 access;
1: +};
1: +
1: +struct nfs3_readlinkargs {
1: + struct nfs_fh *fh;
1: + unsigned int pgbase;
1: + unsigned int pglen;
1: + struct page **pages;
1: +};
1: +
1: +struct nfs3_linkres {
1: + struct nfs_fattr *dir_attr;
1: + struct nfs_fattr *fattr;
1: +};
1: +
1: +struct nfs3_readdirres {
1: + struct nfs_fattr *dir_attr;
1: + __be32 *verf;
1: + bool plus;
1: +};
1: +
1: +struct nfs3_createdata {
1: + struct rpc_message msg;
1: + union {
1: + struct nfs3_createargs create;
1: + struct nfs3_mkdirargs mkdir;
1: + struct nfs3_symlinkargs symlink;
1: + struct nfs3_mknodargs mknod;
1: + } arg;
1: + struct nfs3_diropres res;
1: + struct nfs_fh fh;
1: + struct nfs_fattr fattr;
1: + struct nfs_fattr dir_attr;
1: +};
1: +
1: +struct nfs3_getaclargs {
1: + struct nfs_fh *fh;
1: + int mask;
1: + struct page **pages;
1: +};
1: +
1: +struct nfs3_setaclargs {
1: + struct inode *inode;
1: + int mask;
1: + struct posix_acl *acl_access;
1: + struct posix_acl *acl_default;
1: + size_t len;
1: + unsigned int npages;
1: + struct page **pages;
1: +};
1: +
1: +struct nfs3_getaclres {
1: + struct nfs_fattr *fattr;
1: + int mask;
1: + unsigned int acl_access_count;
1: + unsigned int acl_default_count;
1: + struct posix_acl *acl_access;
1: + struct posix_acl *acl_default;
1: +};
1: +
1: +enum nfsstat4 {
1: + NFS4_OK = 0,
1: + NFS4ERR_PERM = 1,
1: + NFS4ERR_NOENT = 2,
1: + NFS4ERR_IO = 5,
1: + NFS4ERR_NXIO = 6,
1: + NFS4ERR_ACCESS = 13,
1: + NFS4ERR_EXIST = 17,
1: + NFS4ERR_XDEV = 18,
1: + NFS4ERR_NOTDIR = 20,
1: + NFS4ERR_ISDIR = 21,
1: + NFS4ERR_INVAL = 22,
1: + NFS4ERR_FBIG = 27,
1: + NFS4ERR_NOSPC = 28,
1: + NFS4ERR_ROFS = 30,
1: + NFS4ERR_MLINK = 31,
1: + NFS4ERR_NAMETOOLONG = 63,
1: + NFS4ERR_NOTEMPTY = 66,
1: + NFS4ERR_DQUOT = 69,
1: + NFS4ERR_STALE = 70,
1: + NFS4ERR_BADHANDLE = 10001,
1: + NFS4ERR_BAD_COOKIE = 10003,
1: + NFS4ERR_NOTSUPP = 10004,
1: + NFS4ERR_TOOSMALL = 10005,
1: + NFS4ERR_SERVERFAULT = 10006,
1: + NFS4ERR_BADTYPE = 10007,
1: + NFS4ERR_DELAY = 10008,
1: + NFS4ERR_SAME = 10009,
1: + NFS4ERR_DENIED = 10010,
1: + NFS4ERR_EXPIRED = 10011,
1: + NFS4ERR_LOCKED = 10012,
1: + NFS4ERR_GRACE = 10013,
1: + NFS4ERR_FHEXPIRED = 10014,
1: + NFS4ERR_SHARE_DENIED = 10015,
1: + NFS4ERR_WRONGSEC = 10016,
1: + NFS4ERR_CLID_INUSE = 10017,
1: + NFS4ERR_RESOURCE = 10018,
1: + NFS4ERR_MOVED = 10019,
1: + NFS4ERR_NOFILEHANDLE = 10020,
1: + NFS4ERR_MINOR_VERS_MISMATCH = 10021,
1: + NFS4ERR_STALE_CLIENTID = 10022,
1: + NFS4ERR_STALE_STATEID = 10023,
1: + NFS4ERR_OLD_STATEID = 10024,
1: + NFS4ERR_BAD_STATEID = 10025,
1: + NFS4ERR_BAD_SEQID = 10026,
1: + NFS4ERR_NOT_SAME = 10027,
1: + NFS4ERR_LOCK_RANGE = 10028,
1: + NFS4ERR_SYMLINK = 10029,
1: + NFS4ERR_RESTOREFH = 10030,
1: + NFS4ERR_LEASE_MOVED = 10031,
1: + NFS4ERR_ATTRNOTSUPP = 10032,
1: + NFS4ERR_NO_GRACE = 10033,
1: + NFS4ERR_RECLAIM_BAD = 10034,
1: + NFS4ERR_RECLAIM_CONFLICT = 10035,
1: + NFS4ERR_BADXDR = 10036,
1: + NFS4ERR_LOCKS_HELD = 10037,
1: + NFS4ERR_OPENMODE = 10038,
1: + NFS4ERR_BADOWNER = 10039,
1: + NFS4ERR_BADCHAR = 10040,
1: + NFS4ERR_BADNAME = 10041,
1: + NFS4ERR_BAD_RANGE = 10042,
1: + NFS4ERR_LOCK_NOTSUPP = 10043,
1: + NFS4ERR_OP_ILLEGAL = 10044,
1: + NFS4ERR_DEADLOCK = 10045,
1: + NFS4ERR_FILE_OPEN = 10046,
1: + NFS4ERR_ADMIN_REVOKED = 10047,
1: + NFS4ERR_CB_PATH_DOWN = 10048,
1: + NFS4ERR_BADIOMODE = 10049,
1: + NFS4ERR_BADLAYOUT = 10050,
1: + NFS4ERR_BAD_SESSION_DIGEST = 10051,
1: + NFS4ERR_BADSESSION = 10052,
1: + NFS4ERR_BADSLOT = 10053,
1: + NFS4ERR_COMPLETE_ALREADY = 10054,
1: + NFS4ERR_CONN_NOT_BOUND_TO_SESSION = 10055,
1: + NFS4ERR_DELEG_ALREADY_WANTED = 10056,
1: + NFS4ERR_BACK_CHAN_BUSY = 10057,
1: + NFS4ERR_LAYOUTTRYLATER = 10058,
1: + NFS4ERR_LAYOUTUNAVAILABLE = 10059,
1: + NFS4ERR_NOMATCHING_LAYOUT = 10060,
1: + NFS4ERR_RECALLCONFLICT = 10061,
1: + NFS4ERR_UNKNOWN_LAYOUTTYPE = 10062,
1: + NFS4ERR_SEQ_MISORDERED = 10063,
1: + NFS4ERR_SEQUENCE_POS = 10064,
1: + NFS4ERR_REQ_TOO_BIG = 10065,
1: + NFS4ERR_REP_TOO_BIG = 10066,
1: + NFS4ERR_REP_TOO_BIG_TO_CACHE = 10067,
1: + NFS4ERR_RETRY_UNCACHED_REP = 10068,
1: + NFS4ERR_UNSAFE_COMPOUND = 10069,
1: + NFS4ERR_TOO_MANY_OPS = 10070,
1: + NFS4ERR_OP_NOT_IN_SESSION = 10071,
1: + NFS4ERR_HASH_ALG_UNSUPP = 10072,
1: + NFS4ERR_CLIENTID_BUSY = 10074,
1: + NFS4ERR_PNFS_IO_HOLE = 10075,
1: + NFS4ERR_SEQ_FALSE_RETRY = 10076,
1: + NFS4ERR_BAD_HIGH_SLOT = 10077,
1: + NFS4ERR_DEADSESSION = 10078,
1: + NFS4ERR_ENCR_ALG_UNSUPP = 10079,
1: + NFS4ERR_PNFS_NO_LAYOUT = 10080,
1: + NFS4ERR_NOT_ONLY_OP = 10081,
1: + NFS4ERR_WRONG_CRED = 10082,
1: + NFS4ERR_WRONG_TYPE = 10083,
1: + NFS4ERR_DIRDELEG_UNAVAIL = 10084,
1: + NFS4ERR_REJECT_DELEG = 10085,
1: + NFS4ERR_RETURNCONFLICT = 10086,
1: + NFS4ERR_DELEG_REVOKED = 10087,
1: + NFS4ERR_PARTNER_NOTSUPP = 10088,
1: + NFS4ERR_PARTNER_NO_AUTH = 10089,
1: + NFS4ERR_UNION_NOTSUPP = 10090,
1: + NFS4ERR_OFFLOAD_DENIED = 10091,
1: + NFS4ERR_WRONG_LFS = 10092,
1: + NFS4ERR_BADLABEL = 10093,
1: + NFS4ERR_OFFLOAD_NO_REQS = 10094,
1: +};
1: +
1: +enum nfs_ftype4 {
1: + NF4BAD = 0,
1: + NF4REG = 1,
1: + NF4DIR = 2,
1: + NF4BLK = 3,
1: + NF4CHR = 4,
1: + NF4LNK = 5,
1: + NF4SOCK = 6,
1: + NF4FIFO = 7,
1: + NF4ATTRDIR = 8,
1: + NF4NAMEDATTR = 9,
1: +};
1: +
1: +enum open_claim_type4 {
1: + NFS4_OPEN_CLAIM_NULL = 0,
1: + NFS4_OPEN_CLAIM_PREVIOUS = 1,
1: + NFS4_OPEN_CLAIM_DELEGATE_CUR = 2,
1: + NFS4_OPEN_CLAIM_DELEGATE_PREV = 3,
1: + NFS4_OPEN_CLAIM_FH = 4,
1: + NFS4_OPEN_CLAIM_DELEG_CUR_FH = 5,
1: + NFS4_OPEN_CLAIM_DELEG_PREV_FH = 6,
1: +};
1: +
1: +enum createmode4 {
1: + NFS4_CREATE_UNCHECKED = 0,
1: + NFS4_CREATE_GUARDED = 1,
1: + NFS4_CREATE_EXCLUSIVE = 2,
1: + NFS4_CREATE_EXCLUSIVE4_1 = 3,
1: +};
1: +
1: +enum {
1: + NFSPROC4_CLNT_NULL = 0,
1: + NFSPROC4_CLNT_READ = 1,
1: + NFSPROC4_CLNT_WRITE = 2,
1: + NFSPROC4_CLNT_COMMIT = 3,
1: + NFSPROC4_CLNT_OPEN = 4,
1: + NFSPROC4_CLNT_OPEN_CONFIRM = 5,
1: + NFSPROC4_CLNT_OPEN_NOATTR = 6,
1: + NFSPROC4_CLNT_OPEN_DOWNGRADE = 7,
1: + NFSPROC4_CLNT_CLOSE = 8,
1: + NFSPROC4_CLNT_SETATTR = 9,
1: + NFSPROC4_CLNT_FSINFO = 10,
1: + NFSPROC4_CLNT_RENEW = 11,
1: + NFSPROC4_CLNT_SETCLIENTID = 12,
1: + NFSPROC4_CLNT_SETCLIENTID_CONFIRM = 13,
1: + NFSPROC4_CLNT_LOCK = 14,
1: + NFSPROC4_CLNT_LOCKT = 15,
1: + NFSPROC4_CLNT_LOCKU = 16,
1: + NFSPROC4_CLNT_ACCESS = 17,
1: + NFSPROC4_CLNT_GETATTR = 18,
1: + NFSPROC4_CLNT_LOOKUP = 19,
1: + NFSPROC4_CLNT_LOOKUP_ROOT = 20,
1: + NFSPROC4_CLNT_REMOVE = 21,
1: + NFSPROC4_CLNT_RENAME = 22,
1: + NFSPROC4_CLNT_LINK = 23,
1: + NFSPROC4_CLNT_SYMLINK = 24,
1: + NFSPROC4_CLNT_CREATE = 25,
1: + NFSPROC4_CLNT_PATHCONF = 26,
1: + NFSPROC4_CLNT_STATFS = 27,
1: + NFSPROC4_CLNT_READLINK = 28,
1: + NFSPROC4_CLNT_READDIR = 29,
1: + NFSPROC4_CLNT_SERVER_CAPS = 30,
1: + NFSPROC4_CLNT_DELEGRETURN = 31,
1: + NFSPROC4_CLNT_GETACL = 32,
1: + NFSPROC4_CLNT_SETACL = 33,
1: + NFSPROC4_CLNT_FS_LOCATIONS = 34,
1: + NFSPROC4_CLNT_RELEASE_LOCKOWNER = 35,
1: + NFSPROC4_CLNT_SECINFO = 36,
1: + NFSPROC4_CLNT_FSID_PRESENT = 37,
1: + NFSPROC4_CLNT_EXCHANGE_ID = 38,
1: + NFSPROC4_CLNT_CREATE_SESSION = 39,
1: + NFSPROC4_CLNT_DESTROY_SESSION = 40,
1: + NFSPROC4_CLNT_SEQUENCE = 41,
1: + NFSPROC4_CLNT_GET_LEASE_TIME = 42,
1: + NFSPROC4_CLNT_RECLAIM_COMPLETE = 43,
1: + NFSPROC4_CLNT_LAYOUTGET = 44,
1: + NFSPROC4_CLNT_GETDEVICEINFO = 45,
1: + NFSPROC4_CLNT_LAYOUTCOMMIT = 46,
1: + NFSPROC4_CLNT_LAYOUTRETURN = 47,
1: + NFSPROC4_CLNT_SECINFO_NO_NAME = 48,
1: + NFSPROC4_CLNT_TEST_STATEID = 49,
1: + NFSPROC4_CLNT_FREE_STATEID = 50,
1: + NFSPROC4_CLNT_GETDEVICELIST = 51,
1: + NFSPROC4_CLNT_BIND_CONN_TO_SESSION = 52,
1: + NFSPROC4_CLNT_DESTROY_CLIENTID = 53,
1: + NFSPROC4_CLNT_SEEK = 54,
1: + NFSPROC4_CLNT_ALLOCATE = 55,
1: + NFSPROC4_CLNT_DEALLOCATE = 56,
1: + NFSPROC4_CLNT_LAYOUTSTATS = 57,
1: + NFSPROC4_CLNT_CLONE = 58,
1: + NFSPROC4_CLNT_COPY = 59,
1: + NFSPROC4_CLNT_OFFLOAD_CANCEL = 60,
1: + NFSPROC4_CLNT_LOOKUPP = 61,
1: + NFSPROC4_CLNT_LAYOUTERROR = 62,
1: + NFSPROC4_CLNT_COPY_NOTIFY = 63,
1: +};
1: +
1: +struct nfs4_get_lease_time_args {
1: + struct nfs4_sequence_args la_seq_args;
1: +};
1: +
1: +struct nfs4_get_lease_time_res {
1: + struct nfs4_sequence_res lr_seq_res;
1: + struct nfs_fsinfo *lr_fsinfo;
1: +};
1: +
1: +struct nfs4_xdr_opaque_data;
1: +
1: +struct nfs4_xdr_opaque_ops {
1: + void (*encode)(struct xdr_stream *, const void *, const struct nfs4_xdr_opaque_data *);
1: + void (*free)(struct nfs4_xdr_opaque_data *);
1: +};
1: +
1: +struct nfs4_xdr_opaque_data {
1: + const struct nfs4_xdr_opaque_ops *ops;
1: + void *data;
1: +};
1: +
1: +struct nfs4_layoutdriver_data {
1: + struct page **pages;
1: + __u32 pglen;
1: + __u32 len;
1: +};
1: +
1: +struct nfs4_layoutget_args {
1: + struct nfs4_sequence_args seq_args;
1: + __u32 type;
1: + struct pnfs_layout_range range;
1: + __u64 minlength;
1: + __u32 maxcount;
1: + struct inode *inode;
1: + struct nfs_open_context *ctx;
1: + nfs4_stateid stateid;
1: + struct nfs4_layoutdriver_data layout;
1: +};
1: +
1: +struct nfs4_layoutget_res {
1: + struct nfs4_sequence_res seq_res;
1: + int status;
1: + __u32 return_on_close;
1: + struct pnfs_layout_range range;
1: + __u32 type;
1: + nfs4_stateid stateid;
1: + struct nfs4_layoutdriver_data *layoutp;
1: +};
1: +
1: +struct nfs4_layoutget {
1: + struct nfs4_layoutget_args args;
1: + struct nfs4_layoutget_res res;
1: + const struct cred *cred;
1: + gfp_t gfp_flags;
1: +};
1: +
1: +struct nfs4_layoutreturn_args {
1: + struct nfs4_sequence_args seq_args;
1: + struct pnfs_layout_hdr *layout;
1: + struct inode *inode;
1: + struct pnfs_layout_range range;
1: + nfs4_stateid stateid;
1: + __u32 layout_type;
1: + struct nfs4_xdr_opaque_data *ld_private;
1: +};
1: +
1: +struct nfs4_layoutreturn_res {
1: + struct nfs4_sequence_res seq_res;
1: + u32 lrs_present;
1: + nfs4_stateid stateid;
1: +};
1: +
1: +struct stateowner_id {
1: + __u64 create_time;
1: + __u32 uniquifier;
1: +};
1: +
1: +struct nfs_openargs {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + struct nfs_seqid *seqid;
1: + int open_flags;
1: + fmode_t fmode;
1: + u32 share_access;
1: + u32 access;
1: + __u64 clientid;
1: + struct stateowner_id id;
1: + union {
1: + struct {
1: + struct iattr *attrs;
1: + nfs4_verifier verifier;
1: + };
1: + nfs4_stateid delegation;
1: + fmode_t delegation_type;
1: + } u;
1: + const struct qstr *name;
1: + const struct nfs_server *server;
1: + const u32 *bitmask;
1: + const u32 *open_bitmap;
1: + enum open_claim_type4 claim;
1: + enum createmode4 createmode;
1: + const struct nfs4_label *label;
1: + umode_t umask;
1: + struct nfs4_layoutget_args *lg_args;
1: +};
1: +
1: +struct nfs_openres {
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_fh fh;
1: + struct nfs4_change_info cinfo;
1: + __u32 rflags;
1: + struct nfs_fattr *f_attr;
1: + struct nfs4_label *f_label;
1: + struct nfs_seqid *seqid;
1: + const struct nfs_server *server;
1: + fmode_t delegation_type;
1: + nfs4_stateid delegation;
1: + long unsigned int pagemod_limit;
1: + __u32 do_recall;
1: + __u32 attrset[3];
1: + struct nfs4_string *owner;
1: + struct nfs4_string *group_owner;
1: + __u32 access_request;
1: + __u32 access_supported;
1: + __u32 access_result;
1: + struct nfs4_layoutget_res *lg_res;
1: +};
1: +
1: +struct nfs_open_confirmargs {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + nfs4_stateid *stateid;
1: + struct nfs_seqid *seqid;
1: +};
1: +
1: +struct nfs_open_confirmres {
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_seqid *seqid;
1: +};
1: +
1: +struct nfs_closeargs {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + nfs4_stateid stateid;
1: + struct nfs_seqid *seqid;
1: + fmode_t fmode;
1: + u32 share_access;
1: + const u32 *bitmask;
1: + struct nfs4_layoutreturn_args *lr_args;
1: +};
1: +
1: +struct nfs_closeres {
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_fattr *fattr;
1: + struct nfs_seqid *seqid;
1: + const struct nfs_server *server;
1: + struct nfs4_layoutreturn_res *lr_res;
1: + int lr_ret;
1: +};
1: +
1: +struct nfs_lowner {
1: + __u64 clientid;
1: + __u64 id;
1: + dev_t s_dev;
1: +};
1: +
1: +struct nfs_lock_args {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + struct file_lock *fl;
1: + struct nfs_seqid *lock_seqid;
1: + nfs4_stateid lock_stateid;
1: + struct nfs_seqid *open_seqid;
1: + nfs4_stateid open_stateid;
1: + struct nfs_lowner lock_owner;
1: + unsigned char block: 1;
1: + unsigned char reclaim: 1;
1: + unsigned char new_lock: 1;
1: + unsigned char new_lock_owner: 1;
1: +};
1: +
1: +struct nfs_lock_res {
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_seqid *lock_seqid;
1: + struct nfs_seqid *open_seqid;
1: +};
1: +
1: +struct nfs_locku_args {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + struct file_lock *fl;
1: + struct nfs_seqid *seqid;
1: + nfs4_stateid stateid;
1: +};
1: +
1: +struct nfs_locku_res {
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_seqid *seqid;
1: +};
1: +
1: +struct nfs_lockt_args {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + struct file_lock *fl;
1: + struct nfs_lowner lock_owner;
1: +};
1: +
1: +struct nfs_lockt_res {
1: + struct nfs4_sequence_res seq_res;
1: + struct file_lock *denied;
1: +};
1: +
1: +struct nfs_release_lockowner_args {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_lowner lock_owner;
1: +};
1: +
1: +struct nfs_release_lockowner_res {
1: + struct nfs4_sequence_res seq_res;
1: +};
1: +
1: +struct nfs4_delegreturnargs {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fhandle;
1: + const nfs4_stateid *stateid;
1: + const u32 *bitmask;
1: + struct nfs4_layoutreturn_args *lr_args;
1: +};
1: +
1: +struct nfs4_delegreturnres {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fattr *fattr;
1: + struct nfs_server *server;
1: + struct nfs4_layoutreturn_res *lr_res;
1: + int lr_ret;
1: +};
1: +
1: +struct nfs_setattrargs {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + nfs4_stateid stateid;
1: + struct iattr *iap;
1: + const struct nfs_server *server;
1: + const u32 *bitmask;
1: + const struct nfs4_label *label;
1: +};
1: +
1: +struct nfs_setaclargs {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + size_t acl_len;
1: + struct page **acl_pages;
1: +};
1: +
1: +struct nfs_setaclres {
1: + struct nfs4_sequence_res seq_res;
1: +};
1: +
1: +struct nfs_getaclargs {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + size_t acl_len;
1: + struct page **acl_pages;
1: +};
1: +
1: +struct nfs_getaclres {
1: + struct nfs4_sequence_res seq_res;
1: + size_t acl_len;
1: + size_t acl_data_offset;
1: + int acl_flags;
1: + struct page *acl_scratch;
1: +};
1: +
1: +struct nfs_setattrres {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: + const struct nfs_server *server;
1: +};
1: +
1: +typedef u64 clientid4;
1: +
1: +struct nfs4_accessargs {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: + u32 access;
1: +};
1: +
1: +struct nfs4_accessres {
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + u32 supported;
1: + u32 access;
1: +};
1: +
1: +struct nfs4_create_arg {
1: + struct nfs4_sequence_args seq_args;
1: + u32 ftype;
1: + union {
1: + struct {
1: + struct page **pages;
1: + unsigned int len;
1: + } symlink;
1: + struct {
1: + u32 specdata1;
1: + u32 specdata2;
1: + } device;
1: + } u;
1: + const struct qstr *name;
1: + const struct nfs_server *server;
1: + const struct iattr *attrs;
1: + const struct nfs_fh *dir_fh;
1: + const u32 *bitmask;
1: + const struct nfs4_label *label;
1: + umode_t umask;
1: +};
1: +
1: +struct nfs4_create_res {
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: + struct nfs4_change_info dir_cinfo;
1: +};
1: +
1: +struct nfs4_fsinfo_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_fsinfo_res {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fsinfo *fsinfo;
1: +};
1: +
1: +struct nfs4_getattr_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_getattr_res {
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: +};
1: +
1: +struct nfs4_link_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const struct nfs_fh *dir_fh;
1: + const struct qstr *name;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_link_res {
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: + struct nfs4_change_info cinfo;
1: + struct nfs_fattr *dir_attr;
1: +};
1: +
1: +struct nfs4_lookup_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *dir_fh;
1: + const struct qstr *name;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_lookup_res {
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + struct nfs_fh *fh;
1: + struct nfs4_label *label;
1: +};
1: +
1: +struct nfs4_lookupp_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_lookupp_res {
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + struct nfs_fh *fh;
1: + struct nfs4_label *label;
1: +};
1: +
1: +struct nfs4_lookup_root_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_pathconf_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_pathconf_res {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_pathconf *pathconf;
1: +};
1: +
1: +struct nfs4_readdir_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + u64 cookie;
1: + nfs4_verifier verifier;
1: + u32 count;
1: + struct page **pages;
1: + unsigned int pgbase;
1: + const u32 *bitmask;
1: + bool plus;
1: +};
1: +
1: +struct nfs4_readdir_res {
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_verifier verifier;
1: + unsigned int pgbase;
1: +};
1: +
1: +struct nfs4_readlink {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + unsigned int pgbase;
1: + unsigned int pglen;
1: + struct page **pages;
1: +};
1: +
1: +struct nfs4_readlink_res {
1: + struct nfs4_sequence_res seq_res;
1: +};
1: +
1: +struct nfs4_setclientid {
1: + const nfs4_verifier *sc_verifier;
1: + u32 sc_prog;
1: + unsigned int sc_netid_len;
1: + char sc_netid[6];
1: + unsigned int sc_uaddr_len;
1: + char sc_uaddr[58];
1: + struct nfs_client *sc_clnt;
1: + struct rpc_cred *sc_cred;
1: +};
1: +
1: +struct nfs4_setclientid_res {
1: + u64 clientid;
1: + nfs4_verifier confirm;
1: +};
1: +
1: +struct nfs4_statfs_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_statfs_res {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fsstat *fsstat;
1: +};
1: +
1: +struct nfs4_server_caps_arg {
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fhandle;
1: + const u32 *bitmask;
1: +};
1: +
1: +struct nfs4_server_caps_res {
1: + struct nfs4_sequence_res seq_res;
1: + u32 attr_bitmask[3];
1: + u32 exclcreat_bitmask[3];
1: + u32 acl_bitmask;
1: + u32 has_links;
1: + u32 has_symlinks;
1: + u32 fh_expire_type;
1: +};
1: +
1: +struct nfs4_fs_locations_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *dir_fh;
1: + const struct nfs_fh *fh;
1: + const struct qstr *name;
1: + struct page *page;
1: + const u32 *bitmask;
1: + clientid4 clientid;
1: + unsigned char migration: 1;
1: + unsigned char renew: 1;
1: +};
1: +
1: +struct nfs4_fs_locations_res {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs4_fs_locations *fs_locations;
1: + unsigned char migration: 1;
1: + unsigned char renew: 1;
1: +};
1: +
1: +struct nfs4_secinfo4 {
1: + u32 flavor;
1: + struct rpcsec_gss_info flavor_info;
1: +};
1: +
1: +struct nfs4_secinfo_flavors {
1: + unsigned int num_flavors;
1: + struct nfs4_secinfo4 flavors[0];
1: +};
1: +
1: +struct nfs4_secinfo_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *dir_fh;
1: + const struct qstr *name;
1: +};
1: +
1: +struct nfs4_secinfo_res {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs4_secinfo_flavors *flavors;
1: +};
1: +
1: +struct nfs4_fsid_present_arg {
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + clientid4 clientid;
1: + unsigned char renew: 1;
1: +};
1: +
1: +struct nfs4_fsid_present_res {
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fh *fh;
1: + unsigned char renew: 1;
1: +};
1: +
1: +struct nfs4_cached_acl {
1: + int cached;
1: + size_t len;
1: + char data[0];
1: +};
1: +
1: +enum nfs4_client_state {
1: + NFS4CLNT_MANAGER_RUNNING = 0,
1: + NFS4CLNT_CHECK_LEASE = 1,
1: + NFS4CLNT_LEASE_EXPIRED = 2,
1: + NFS4CLNT_RECLAIM_REBOOT = 3,
1: + NFS4CLNT_RECLAIM_NOGRACE = 4,
1: + NFS4CLNT_DELEGRETURN = 5,
1: + NFS4CLNT_SESSION_RESET = 6,
1: + NFS4CLNT_LEASE_CONFIRM = 7,
1: + NFS4CLNT_SERVER_SCOPE_MISMATCH = 8,
1: + NFS4CLNT_PURGE_STATE = 9,
1: + NFS4CLNT_BIND_CONN_TO_SESSION = 10,
1: + NFS4CLNT_MOVED = 11,
1: + NFS4CLNT_LEASE_MOVED = 12,
1: + NFS4CLNT_DELEGATION_EXPIRED = 13,
1: + NFS4CLNT_RUN_MANAGER = 14,
1: + NFS4CLNT_DELEGRETURN_RUNNING = 15,
1: +};
1: +
1: +enum {
1: + NFS_OWNER_RECLAIM_REBOOT = 0,
1: + NFS_OWNER_RECLAIM_NOGRACE = 1,
1: +};
1: +
1: +enum {
1: + LK_STATE_IN_USE = 0,
1: + NFS_DELEGATED_STATE = 1,
1: + NFS_OPEN_STATE = 2,
1: + NFS_O_RDONLY_STATE = 3,
1: + NFS_O_WRONLY_STATE = 4,
1: + NFS_O_RDWR_STATE = 5,
1: + NFS_STATE_RECLAIM_REBOOT = 6,
1: + NFS_STATE_RECLAIM_NOGRACE = 7,
1: + NFS_STATE_POSIX_LOCKS = 8,
1: + NFS_STATE_RECOVERY_FAILED = 9,
1: + NFS_STATE_MAY_NOTIFY_LOCK = 10,
1: + NFS_STATE_CHANGE_WAIT = 11,
1: + NFS_CLNT_DST_SSC_COPY_STATE = 12,
1: + NFS_CLNT_SRC_SSC_COPY_STATE = 13,
1: + NFS_SRV_SSC_COPY_STATE = 14,
1: +};
1: +
1: +struct nfs4_exception {
1: + struct nfs4_state *state;
1: + struct inode *inode;
1: + nfs4_stateid *stateid;
1: + long int timeout;
1: + unsigned char delay: 1;
1: + unsigned char recovering: 1;
1: + unsigned char retry: 1;
1: + bool interruptible;
1: +};
1: +
1: +struct nfs4_opendata {
1: + struct kref kref;
1: + struct nfs_openargs o_arg;
1: + struct nfs_openres o_res;
1: + struct nfs_open_confirmargs c_arg;
1: + struct nfs_open_confirmres c_res;
1: + struct nfs4_string owner_name;
1: + struct nfs4_string group_name;
1: + struct nfs4_label *a_label;
1: + struct nfs_fattr f_attr;
1: + struct nfs4_label *f_label;
1: + struct dentry *dir;
1: + struct dentry *dentry;
1: + struct nfs4_state_owner *owner;
1: + struct nfs4_state *state;
1: + struct iattr attrs;
1: + struct nfs4_layoutget *lgp;
1: + long unsigned int timestamp;
1: + bool rpc_done;
1: + bool file_created;
1: + bool is_recover;
1: + bool cancelled;
1: + int rpc_status;
1: +};
1: +
1: +enum {
1: + NFS_DELEGATION_NEED_RECLAIM = 0,
1: + NFS_DELEGATION_RETURN = 1,
1: + NFS_DELEGATION_RETURN_IF_CLOSED = 2,
1: + NFS_DELEGATION_REFERENCED = 3,
1: + NFS_DELEGATION_RETURNING = 4,
1: + NFS_DELEGATION_REVOKED = 5,
1: + NFS_DELEGATION_TEST_EXPIRED = 6,
1: + NFS_DELEGATION_INODE_FREEING = 7,
1: +};
1: +
1: +enum nfs4_slot_tbl_state {
1: + NFS4_SLOT_TBL_DRAINING = 0,
1: +};
1: +
1: +struct nfs4_call_sync_data {
1: + const struct nfs_server *seq_server;
1: + struct nfs4_sequence_args *seq_args;
1: + struct nfs4_sequence_res *seq_res;
1: +};
1: +
1: +struct nfs4_open_createattrs {
1: + struct nfs4_label *label;
1: + struct iattr *sattr;
1: + __u32 verf[2];
1: +};
1: +
1: +struct nfs4_closedata {
1: + struct inode *inode;
1: + struct nfs4_state *state;
1: + struct nfs_closeargs arg;
1: + struct nfs_closeres res;
1: + struct {
1: + struct nfs4_layoutreturn_args arg;
1: + struct nfs4_layoutreturn_res res;
1: + struct nfs4_xdr_opaque_data ld_private;
1: + u32 roc_barrier;
1: + bool roc;
1: + } lr;
1: + struct nfs_fattr fattr;
1: + long unsigned int timestamp;
1: +};
1: +
1: +struct nfs4_createdata {
1: + struct rpc_message msg;
1: + struct nfs4_create_arg arg;
1: + struct nfs4_create_res res;
1: + struct nfs_fh fh;
1: + struct nfs_fattr fattr;
1: + struct nfs4_label *label;
1: +};
1: +
1: +struct nfs4_renewdata {
1: + struct nfs_client *client;
1: + long unsigned int timestamp;
1: +};
1: +
1: +struct nfs4_delegreturndata {
1: + struct nfs4_delegreturnargs args;
1: + struct nfs4_delegreturnres res;
1: + struct nfs_fh fh;
1: + nfs4_stateid stateid;
1: + long unsigned int timestamp;
1: + struct {
1: + struct nfs4_layoutreturn_args arg;
1: + struct nfs4_layoutreturn_res res;
1: + struct nfs4_xdr_opaque_data ld_private;
1: + u32 roc_barrier;
1: + bool roc;
1: + } lr;
1: + struct nfs_fattr fattr;
1: + int rpc_status;
1: + struct inode *inode;
1: +};
1: +
1: +struct nfs4_unlockdata {
1: + struct nfs_locku_args arg;
1: + struct nfs_locku_res res;
1: + struct nfs4_lock_state *lsp;
1: + struct nfs_open_context *ctx;
1: + struct nfs_lock_context *l_ctx;
1: + struct file_lock fl;
1: + struct nfs_server *server;
1: + long unsigned int timestamp;
1: +};
1: +
1: +struct nfs4_lockdata {
1: + struct nfs_lock_args arg;
1: + struct nfs_lock_res res;
1: + struct nfs4_lock_state *lsp;
1: + struct nfs_open_context *ctx;
1: + struct file_lock fl;
1: + long unsigned int timestamp;
1: + int rpc_status;
1: + int cancelled;
1: + struct nfs_server *server;
1: +};
1: +
1: +struct nfs_release_lockowner_data {
1: + struct nfs4_lock_state *lsp;
1: + struct nfs_server *server;
1: + struct nfs_release_lockowner_args args;
1: + struct nfs_release_lockowner_res res;
1: + long unsigned int timestamp;
1: +};
1: +
1: +struct nfs4_get_lease_time_data {
1: + struct nfs4_get_lease_time_args *args;
1: + struct nfs4_get_lease_time_res *res;
1: + struct nfs_client *clp;
1: +};
1: +
1: +enum opentype4 {
1: + NFS4_OPEN_NOCREATE = 0,
1: + NFS4_OPEN_CREATE = 1,
1: +};
1: +
1: +enum limit_by4 {
1: + NFS4_LIMIT_SIZE = 1,
1: + NFS4_LIMIT_BLOCKS = 2,
1: +};
1: +
1: +enum open_delegation_type4 {
1: + NFS4_OPEN_DELEGATE_NONE = 0,
1: + NFS4_OPEN_DELEGATE_READ = 1,
1: + NFS4_OPEN_DELEGATE_WRITE = 2,
1: + NFS4_OPEN_DELEGATE_NONE_EXT = 3,
1: +};
1: +
1: +enum why_no_delegation4 {
1: + WND4_NOT_WANTED = 0,
1: + WND4_CONTENTION = 1,
1: + WND4_RESOURCE = 2,
1: + WND4_NOT_SUPP_FTYPE = 3,
1: + WND4_WRITE_DELEG_NOT_SUPP_FTYPE = 4,
1: + WND4_NOT_SUPP_UPGRADE = 5,
1: + WND4_NOT_SUPP_DOWNGRADE = 6,
1: + WND4_CANCELLED = 7,
1: + WND4_IS_DIR = 8,
1: +};
1: +
1: +enum lock_type4 {
1: + NFS4_UNLOCK_LT = 0,
1: + NFS4_READ_LT = 1,
1: + NFS4_WRITE_LT = 2,
1: + NFS4_READW_LT = 3,
1: + NFS4_WRITEW_LT = 4,
1: +};
1: +
1: +struct compound_hdr {
1: + int32_t status;
1: + uint32_t nops;
1: + __be32 *nops_p;
1: + uint32_t taglen;
1: + char *tag;
1: + uint32_t replen;
1: + u32 minorversion;
1: +};
1: +
1: +struct nfs_referral_count {
1: + struct list_head list;
1: + const struct task_struct *task;
1: + unsigned int referral_count;
1: +};
1: +
1: +struct rpc_pipe_dir_object_ops;
1: +
1: +struct rpc_pipe_dir_object {
1: + struct list_head pdo_head;
1: + const struct rpc_pipe_dir_object_ops *pdo_ops;
1: + void *pdo_data;
1: +};
1: +
1: +struct rpc_pipe_dir_object_ops {
1: + int (*create)(struct dentry *, struct rpc_pipe_dir_object *);
1: + void (*destroy)(struct dentry *, struct rpc_pipe_dir_object *);
1: +};
1: +
1: +struct rpc_inode {
1: + struct inode vfs_inode;
1: + void *private;
1: + struct rpc_pipe *pipe;
1: + wait_queue_head_t waitq;
1: +};
1: +
1: +struct idmap_legacy_upcalldata;
1: +
1: +struct idmap {
1: + struct rpc_pipe_dir_object idmap_pdo;
1: + struct rpc_pipe *idmap_pipe;
1: + struct idmap_legacy_upcalldata *idmap_upcall_data;
1: + struct mutex idmap_mutex;
1: + const struct cred *cred;
1: +};
1: +
1: +struct user_key_payload {
1: + struct callback_head rcu;
1: + short unsigned int datalen;
1: + long: 48;
1: + char data[0];
1: +};
1: +
1: +struct request_key_auth {
1: + struct callback_head rcu;
1: + struct key *target_key;
1: + struct key *dest_keyring;
1: + const struct cred *cred;
1: + void *callout_info;
1: + size_t callout_len;
1: + pid_t pid;
1: + char op[8];
1: +};
1: +
1: +struct idmap_msg {
1: + __u8 im_type;
1: + __u8 im_conv;
1: + char im_name[128];
1: + __u32 im_id;
1: + __u8 im_status;
1: +};
1: +
1: +struct idmap_legacy_upcalldata {
1: + struct rpc_pipe_msg pipe_msg;
1: + struct idmap_msg idmap_msg;
1: + struct key *authkey;
1: + struct idmap *idmap;
1: +};
1: +
1: +enum {
1: + Opt_find_uid = 0,
1: + Opt_find_gid = 1,
1: + Opt_find_user = 2,
1: + Opt_find_group = 3,
1: + Opt_find_err = 4,
1: +};
1: +
1: +enum nfs4_callback_procnum {
1: + CB_NULL = 0,
1: + CB_COMPOUND = 1,
1: +};
1: +
1: +struct nfs_callback_data {
1: + unsigned int users;
1: + struct svc_serv *serv;
1: +};
1: +
1: +enum rpc_accept_stat {
1: + RPC_SUCCESS = 0,
1: + RPC_PROG_UNAVAIL = 1,
1: + RPC_PROG_MISMATCH = 2,
1: + RPC_PROC_UNAVAIL = 3,
1: + RPC_GARBAGE_ARGS = 4,
1: + RPC_SYSTEM_ERR = 5,
1: + RPC_DROP_REPLY = 60000,
1: +};
1: +
1: +enum rpc_auth_stat {
1: + RPC_AUTH_OK = 0,
1: + RPC_AUTH_BADCRED = 1,
1: + RPC_AUTH_REJECTEDCRED = 2,
1: + RPC_AUTH_BADVERF = 3,
1: + RPC_AUTH_REJECTEDVERF = 4,
1: + RPC_AUTH_TOOWEAK = 5,
1: + RPCSEC_GSS_CREDPROBLEM = 13,
1: + RPCSEC_GSS_CTXPROBLEM = 14,
1: +};
1: +
1: +enum nfs4_callback_opnum {
1: + OP_CB_GETATTR = 3,
1: + OP_CB_RECALL = 4,
1: + OP_CB_LAYOUTRECALL = 5,
1: + OP_CB_NOTIFY = 6,
1: + OP_CB_PUSH_DELEG = 7,
1: + OP_CB_RECALL_ANY = 8,
1: + OP_CB_RECALLABLE_OBJ_AVAIL = 9,
1: + OP_CB_RECALL_SLOT = 10,
1: + OP_CB_SEQUENCE = 11,
1: + OP_CB_WANTS_CANCELLED = 12,
1: + OP_CB_NOTIFY_LOCK = 13,
1: + OP_CB_NOTIFY_DEVICEID = 14,
1: + OP_CB_OFFLOAD = 15,
1: + OP_CB_ILLEGAL = 10044,
1: +};
1: +
1: +struct cb_process_state {
1: + __be32 drc_status;
1: + struct nfs_client *clp;
1: + struct nfs4_slot *slot;
1: + u32 minorversion;
1: + struct net *net;
1: +};
1: +
1: +struct cb_compound_hdr_arg {
1: + unsigned int taglen;
1: + const char *tag;
1: + unsigned int minorversion;
1: + unsigned int cb_ident;
1: + unsigned int nops;
1: +};
1: +
1: +struct cb_compound_hdr_res {
1: + __be32 *status;
1: + unsigned int taglen;
1: + const char *tag;
1: + __be32 *nops;
1: +};
1: +
1: +struct cb_getattrargs {
1: + struct nfs_fh fh;
1: + uint32_t bitmap[2];
1: +};
1: +
1: +struct cb_getattrres {
1: + __be32 status;
1: + uint32_t bitmap[2];
1: + uint64_t size;
1: + uint64_t change_attr;
1: + struct timespec64 ctime;
1: + struct timespec64 mtime;
1: +};
1: +
1: +struct cb_recallargs {
1: + struct nfs_fh fh;
1: + nfs4_stateid stateid;
1: + uint32_t truncate;
1: +};
1: +
1: +struct callback_op {
1: + __be32 (*process_op)(void *, void *, struct cb_process_state *);
1: + __be32 (*decode_args)(struct svc_rqst *, struct xdr_stream *, void *);
1: + __be32 (*encode_res)(struct svc_rqst *, struct xdr_stream *, const void *);
1: + long int res_maxsize;
1: +};
1: +
1: +struct xprt_create {
1: + int ident;
1: + struct net *net;
1: + struct sockaddr *srcaddr;
1: + struct sockaddr *dstaddr;
1: + size_t addrlen;
1: + const char *servername;
1: + struct svc_xprt *bc_xprt;
1: + struct rpc_xprt_switch *bc_xps;
1: + unsigned int flags;
1: +};
1: +
1: +struct trace_event_raw_nfs4_clientid_event {
1: + struct trace_entry ent;
1: + u32 __data_loc_dstaddr;
1: + long unsigned int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_setup_sequence {
1: + struct trace_entry ent;
1: + unsigned int session;
1: + unsigned int slot_nr;
1: + unsigned int seq_nr;
1: + unsigned int highest_used_slotid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_state_mgr {
1: + struct trace_entry ent;
1: + long unsigned int state;
1: + u32 __data_loc_hostname;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_state_mgr_failed {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + long unsigned int state;
1: + u32 __data_loc_hostname;
1: + u32 __data_loc_section;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_xdr_status {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 op;
1: + long unsigned int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_open_event {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + unsigned int flags;
1: + unsigned int fmode;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + int openstateid_seq;
1: + u32 openstateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_cached_open {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + unsigned int fmode;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_close {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + unsigned int fmode;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_lock_event {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + int cmd;
1: + char type;
1: + loff_t start;
1: + loff_t end;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_set_lock {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + int cmd;
1: + char type;
1: + loff_t start;
1: + loff_t end;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + int lockstateid_seq;
1: + u32 lockstateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_state_lock_reclaim {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + long unsigned int state_flags;
1: + long unsigned int lock_flags;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_set_delegation_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + unsigned int fmode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_delegreturn_exit {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_lookup_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int error;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_lookupp {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + long unsigned int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_rename {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int error;
1: + u64 olddir;
1: + u32 __data_loc_oldname;
1: + u64 newdir;
1: + u32 __data_loc_newname;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_inode_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + long unsigned int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_inode_stateid_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_getattr_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + unsigned int valid;
1: + long unsigned int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_inode_callback_event {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + u32 __data_loc_dstaddr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_inode_stateid_callback_event {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + u32 __data_loc_dstaddr;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_idmap_event {
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + u32 id;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_read_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + loff_t offset;
1: + size_t count;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_write_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + loff_t offset;
1: + size_t count;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_nfs4_commit_event {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + loff_t offset;
1: + size_t count;
1: + long unsigned int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_clientid_event {
1: + u32 dstaddr;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_setup_sequence {};
1: +
1: +struct trace_event_data_offsets_nfs4_state_mgr {
1: + u32 hostname;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_state_mgr_failed {
1: + u32 hostname;
1: + u32 section;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_xdr_status {};
1: +
1: +struct trace_event_data_offsets_nfs4_open_event {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_cached_open {};
1: +
1: +struct trace_event_data_offsets_nfs4_close {};
1: +
1: +struct trace_event_data_offsets_nfs4_lock_event {};
1: +
1: +struct trace_event_data_offsets_nfs4_set_lock {};
1: +
1: +struct trace_event_data_offsets_nfs4_state_lock_reclaim {};
1: +
1: +struct trace_event_data_offsets_nfs4_set_delegation_event {};
1: +
1: +struct trace_event_data_offsets_nfs4_delegreturn_exit {};
1: +
1: +struct trace_event_data_offsets_nfs4_lookup_event {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_lookupp {};
1: +
1: +struct trace_event_data_offsets_nfs4_rename {
1: + u32 oldname;
1: + u32 newname;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_inode_event {};
1: +
1: +struct trace_event_data_offsets_nfs4_inode_stateid_event {};
1: +
1: +struct trace_event_data_offsets_nfs4_getattr_event {};
1: +
1: +struct trace_event_data_offsets_nfs4_inode_callback_event {
1: + u32 dstaddr;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_inode_stateid_callback_event {
1: + u32 dstaddr;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_idmap_event {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_nfs4_read_event {};
1: +
1: +struct trace_event_data_offsets_nfs4_write_event {};
1: +
1: +struct trace_event_data_offsets_nfs4_commit_event {};
1: +
1: +struct getdents_callback___2 {
1: + struct dir_context ctx;
1: + char *name;
1: + u64 ino;
1: + int found;
1: + int sequence;
1: +};
1: +
1: +struct nlm_host___2;
1: +
1: +struct nlm_lockowner {
1: + struct list_head list;
1: + refcount_t count;
1: + struct nlm_host___2 *host;
1: + fl_owner_t owner;
1: + uint32_t pid;
1: +};
1: +
1: +struct nsm_handle;
1: +
1: +struct nlm_host___2 {
1: + struct hlist_node h_hash;
1: + struct __kernel_sockaddr_storage h_addr;
1: + size_t h_addrlen;
1: + struct __kernel_sockaddr_storage h_srcaddr;
1: + size_t h_srcaddrlen;
1: + struct rpc_clnt *h_rpcclnt;
1: + char *h_name;
1: + u32 h_version;
1: + short unsigned int h_proto;
1: + short unsigned int h_reclaiming: 1;
1: + short unsigned int h_server: 1;
1: + short unsigned int h_noresvport: 1;
1: + short unsigned int h_inuse: 1;
1: + wait_queue_head_t h_gracewait;
1: + struct rw_semaphore h_rwsem;
1: + u32 h_state;
1: + u32 h_nsmstate;
1: + u32 h_pidcount;
1: + refcount_t h_count;
1: + struct mutex h_mutex;
1: + long unsigned int h_nextrebind;
1: + long unsigned int h_expires;
1: + struct list_head h_lockowners;
1: + spinlock_t h_lock;
1: + struct list_head h_granted;
1: + struct list_head h_reclaim;
1: + struct nsm_handle *h_nsmhandle;
1: + char *h_addrbuf;
1: + struct net *net;
1: + const struct cred *h_cred;
1: + char nodename[65];
1: + const struct nlmclnt_operations *h_nlmclnt_ops;
1: +};
1: +
1: +enum {
1: + NLM_LCK_GRANTED = 0,
1: + NLM_LCK_DENIED = 1,
1: + NLM_LCK_DENIED_NOLOCKS = 2,
1: + NLM_LCK_BLOCKED = 3,
1: + NLM_LCK_DENIED_GRACE_PERIOD = 4,
1: + NLM_DEADLCK = 5,
1: + NLM_ROFS = 6,
1: + NLM_STALE_FH = 7,
1: + NLM_FBIG = 8,
1: + NLM_FAILED = 9,
1: +};
1: +
1: +struct nsm_private {
1: + unsigned char data[16];
1: +};
1: +
1: +struct nlm_lock {
1: + char *caller;
1: + unsigned int len;
1: + struct nfs_fh fh;
1: + struct xdr_netobj oh;
1: + u32 svid;
1: + struct file_lock fl;
1: +};
1: +
1: +struct nlm_cookie {
1: + unsigned char data[32];
1: + unsigned int len;
1: +};
1: +
1: +struct nlm_args {
1: + struct nlm_cookie cookie;
1: + struct nlm_lock lock;
1: + u32 block;
1: + u32 reclaim;
1: + u32 state;
1: + u32 monitor;
1: + u32 fsm_access;
1: + u32 fsm_mode;
1: +};
1: +
1: +struct nlm_res {
1: + struct nlm_cookie cookie;
1: + __be32 status;
1: + struct nlm_lock lock;
1: +};
1: +
1: +struct nsm_handle {
1: + struct list_head sm_link;
1: + refcount_t sm_count;
1: + char *sm_mon_name;
1: + char *sm_name;
1: + struct __kernel_sockaddr_storage sm_addr;
1: + size_t sm_addrlen;
1: + unsigned int sm_monitored: 1;
1: + unsigned int sm_sticky: 1;
1: + struct nsm_private sm_priv;
1: + char sm_addrbuf[51];
1: +};
1: +
1: +struct nlm_block;
1: +
1: +struct nlm_rqst {
1: + refcount_t a_count;
1: + unsigned int a_flags;
1: + struct nlm_host___2 *a_host;
1: + struct nlm_args a_args;
1: + struct nlm_res a_res;
1: + struct nlm_block *a_block;
1: + unsigned int a_retries;
1: + u8 a_owner[74];
1: + void *a_callback_data;
1: +};
1: +
1: +struct nlm_file;
1: +
1: +struct nlm_block {
1: + struct kref b_count;
1: + struct list_head b_list;
1: + struct list_head b_flist;
1: + struct nlm_rqst *b_call;
1: + struct svc_serv *b_daemon;
1: + struct nlm_host___2 *b_host;
1: + long unsigned int b_when;
1: + unsigned int b_id;
1: + unsigned char b_granted;
1: + struct nlm_file *b_file;
1: + struct cache_req *b_cache_req;
1: + struct cache_deferred_req *b_deferred_req;
1: + unsigned int b_flags;
1: +};
1: +
1: +struct nlm_share;
1: +
1: +struct nlm_file {
1: + struct hlist_node f_list;
1: + struct nfs_fh f_handle;
1: + struct file *f_file;
1: + struct nlm_share *f_shares;
1: + struct list_head f_blocks;
1: + unsigned int f_locks;
1: + unsigned int f_count;
1: + struct mutex f_mutex;
1: +};
1: +
1: +struct nlm_wait {
1: + struct list_head b_list;
1: + wait_queue_head_t b_wait;
1: + struct nlm_host___2 *b_host;
1: + struct file_lock *b_lock;
1: + short unsigned int b_reclaim;
1: + __be32 b_status;
1: +};
1: +
1: +struct nlm_wait___2;
1: +
1: +struct nlm_reboot {
1: + char *mon;
1: + unsigned int len;
1: + u32 state;
1: + struct nsm_private priv;
1: +};
1: +
1: +struct lockd_net {
1: + unsigned int nlmsvc_users;
1: + long unsigned int next_gc;
1: + long unsigned int nrhosts;
1: + struct delayed_work grace_period_end;
1: + struct lock_manager lockd_manager;
1: + struct list_head nsm_handles;
1: +};
1: +
1: +struct nlm_lookup_host_info {
1: + const int server;
1: + const struct sockaddr *sap;
1: + const size_t salen;
1: + const short unsigned int protocol;
1: + const u32 version;
1: + const char *hostname;
1: + const size_t hostname_len;
1: + const int noresvport;
1: + struct net *net;
1: + const struct cred *cred;
1: +};
1: +
1: +struct ipv4_devconf {
1: + void *sysctl;
1: + int data[32];
1: + long unsigned int state[1];
1: +};
1: +
1: +struct in_ifaddr;
1: +
1: +struct ip_mc_list;
1: +
1: +struct in_device {
1: + struct net_device *dev;
1: + refcount_t refcnt;
1: + int dead;
1: + struct in_ifaddr *ifa_list;
1: + struct ip_mc_list *mc_list;
1: + struct ip_mc_list **mc_hash;
1: + int mc_count;
1: + spinlock_t mc_tomb_lock;
1: + struct ip_mc_list *mc_tomb;
1: + long unsigned int mr_v1_seen;
1: + long unsigned int mr_v2_seen;
1: + long unsigned int mr_maxdelay;
1: + long unsigned int mr_qi;
1: + long unsigned int mr_qri;
1: + unsigned char mr_qrv;
1: + unsigned char mr_gq_running;
1: + unsigned char mr_ifc_count;
1: + struct timer_list mr_gq_timer;
1: + struct timer_list mr_ifc_timer;
1: + struct neigh_parms *arp_parms;
1: + struct ipv4_devconf cnf;
1: + struct callback_head callback_head;
1: +};
1: +
1: +enum netdev_cmd {
1: + NETDEV_UP = 1,
1: + NETDEV_DOWN = 2,
1: + NETDEV_REBOOT = 3,
1: + NETDEV_CHANGE = 4,
1: + NETDEV_REGISTER = 5,
1: + NETDEV_UNREGISTER = 6,
1: + NETDEV_CHANGEMTU = 7,
1: + NETDEV_CHANGEADDR = 8,
1: + NETDEV_PRE_CHANGEADDR = 9,
1: + NETDEV_GOING_DOWN = 10,
1: + NETDEV_CHANGENAME = 11,
1: + NETDEV_FEAT_CHANGE = 12,
1: + NETDEV_BONDING_FAILOVER = 13,
1: + NETDEV_PRE_UP = 14,
1: + NETDEV_PRE_TYPE_CHANGE = 15,
1: + NETDEV_POST_TYPE_CHANGE = 16,
1: + NETDEV_POST_INIT = 17,
1: + NETDEV_RELEASE = 18,
1: + NETDEV_NOTIFY_PEERS = 19,
1: + NETDEV_JOIN = 20,
1: + NETDEV_CHANGEUPPER = 21,
1: + NETDEV_RESEND_IGMP = 22,
1: + NETDEV_PRECHANGEMTU = 23,
1: + NETDEV_CHANGEINFODATA = 24,
1: + NETDEV_BONDING_INFO = 25,
1: + NETDEV_PRECHANGEUPPER = 26,
1: + NETDEV_CHANGELOWERSTATE = 27,
1: + NETDEV_UDP_TUNNEL_PUSH_INFO = 28,
1: + NETDEV_UDP_TUNNEL_DROP_INFO = 29,
1: + NETDEV_CHANGE_TX_QUEUE_LEN = 30,
1: + NETDEV_CVLAN_FILTER_PUSH_INFO = 31,
1: + NETDEV_CVLAN_FILTER_DROP_INFO = 32,
1: + NETDEV_SVLAN_FILTER_PUSH_INFO = 33,
1: + NETDEV_SVLAN_FILTER_DROP_INFO = 34,
1: +};
1: +
1: +struct in_ifaddr {
1: + struct hlist_node hash;
1: + struct in_ifaddr *ifa_next;
1: + struct in_device *ifa_dev;
1: + struct callback_head callback_head;
1: + __be32 ifa_local;
1: + __be32 ifa_address;
1: + __be32 ifa_mask;
1: + __u32 ifa_rt_priority;
1: + __be32 ifa_broadcast;
1: + unsigned char ifa_scope;
1: + unsigned char ifa_prefixlen;
1: + __u32 ifa_flags;
1: + char ifa_label[16];
1: + __u32 ifa_valid_lft;
1: + __u32 ifa_preferred_lft;
1: + long unsigned int ifa_cstamp;
1: + long unsigned int ifa_tstamp;
1: +};
1: +
1: +struct inet6_ifaddr {
1: + struct in6_addr addr;
1: + __u32 prefix_len;
1: + __u32 rt_priority;
1: + __u32 valid_lft;
1: + __u32 prefered_lft;
1: + refcount_t refcnt;
1: + spinlock_t lock;
1: + int state;
1: + __u32 flags;
1: + __u8 dad_probes;
1: + __u8 stable_privacy_retry;
1: + __u16 scope;
1: + __u64 dad_nonce;
1: + long unsigned int cstamp;
1: + long unsigned int tstamp;
1: + struct delayed_work dad_work;
1: + struct inet6_dev *idev;
1: + struct fib6_info *rt;
1: + struct hlist_node addr_lst;
1: + struct list_head if_list;
1: + struct list_head tmp_list;
1: + struct inet6_ifaddr *ifpub;
1: + int regen_count;
1: + bool tokenized;
1: + struct callback_head rcu;
1: + struct in6_addr peer_addr;
1: +};
1: +
1: +struct nlmsvc_binding {
1: + __be32 (*fopen)(struct svc_rqst *, struct nfs_fh *, struct file **);
1: + void (*fclose)(struct file *);
1: +};
1: +
1: +typedef int (*nlm_host_match_fn_t)(void *, struct nlm_host___2 *);
1: +
1: +struct nlm_share {
1: + struct nlm_share *s_next;
1: + struct nlm_host___2 *s_host;
1: + struct nlm_file *s_file;
1: + struct xdr_netobj s_owner;
1: + u32 s_access;
1: + u32 s_mode;
1: +};
1: +
1: +enum {
1: + NSMPROC_NULL = 0,
1: + NSMPROC_STAT = 1,
1: + NSMPROC_MON = 2,
1: + NSMPROC_UNMON = 3,
1: + NSMPROC_UNMON_ALL = 4,
1: + NSMPROC_SIMU_CRASH = 5,
1: + NSMPROC_NOTIFY = 6,
1: +};
1: +
1: +struct nsm_args {
1: + struct nsm_private *priv;
1: + u32 prog;
1: + u32 vers;
1: + u32 proc;
1: + char *mon_name;
1: + const char *nodename;
1: +};
1: +
1: +struct nsm_res {
1: + u32 status;
1: + u32 state;
1: +};
1: +
1: +typedef u32 unicode_t;
1: +
1: +struct utf8_table {
1: + int cmask;
1: + int cval;
1: + int shift;
1: + long int lmask;
1: + long int lval;
1: +};
1: +
1: +typedef unsigned int autofs_wqt_t;
1: +
1: +struct autofs_sb_info;
1: +
1: +struct autofs_info {
1: + struct dentry *dentry;
1: + struct inode *inode;
1: + int flags;
1: + struct completion expire_complete;
1: + struct list_head active;
1: + struct list_head expiring;
1: + struct autofs_sb_info *sbi;
1: + long unsigned int last_used;
1: + int count;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct autofs_wait_queue;
1: +
1: +struct autofs_sb_info {
1: + u32 magic;
1: + int pipefd;
1: + struct file *pipe;
1: + struct pid *oz_pgrp;
1: + int version;
1: + int sub_version;
1: + int min_proto;
1: + int max_proto;
1: + unsigned int flags;
1: + long unsigned int exp_timeout;
1: + unsigned int type;
1: + struct super_block *sb;
1: + struct mutex wq_mutex;
1: + struct mutex pipe_mutex;
1: + spinlock_t fs_lock;
1: + struct autofs_wait_queue *queues;
1: + spinlock_t lookup_lock;
1: + struct list_head active_list;
1: + struct list_head expiring_list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct autofs_wait_queue {
1: + wait_queue_head_t queue;
1: + struct autofs_wait_queue *next;
1: + autofs_wqt_t wait_queue_token;
1: + struct qstr name;
1: + u32 dev;
1: + u64 ino;
1: + kuid_t uid;
1: + kgid_t gid;
1: + pid_t pid;
1: + pid_t tgid;
1: + int status;
1: + unsigned int wait_ctr;
1: +};
1: +
1: +enum {
1: + Opt_err___6 = 0,
1: + Opt_fd = 1,
1: + Opt_uid___6 = 2,
1: + Opt_gid___7 = 3,
1: + Opt_pgrp = 4,
1: + Opt_minproto = 5,
1: + Opt_maxproto = 6,
1: + Opt_indirect = 7,
1: + Opt_direct = 8,
1: + Opt_offset = 9,
1: + Opt_strictexpire = 10,
1: + Opt_ignore___2 = 11,
1: +};
1: +
1: +struct autofs_packet_hdr {
1: + int proto_version;
1: + int type;
1: +};
1: +
1: +struct autofs_packet_expire {
1: + struct autofs_packet_hdr hdr;
1: + int len;
1: + char name[256];
1: +};
1: +
1: +enum {
1: + AUTOFS_IOC_READY_CMD = 96,
1: + AUTOFS_IOC_FAIL_CMD = 97,
1: + AUTOFS_IOC_CATATONIC_CMD = 98,
1: + AUTOFS_IOC_PROTOVER_CMD = 99,
1: + AUTOFS_IOC_SETTIMEOUT_CMD = 100,
1: + AUTOFS_IOC_EXPIRE_CMD = 101,
1: +};
1: +
1: +enum autofs_notify {
1: + NFY_NONE = 0,
1: + NFY_MOUNT = 1,
1: + NFY_EXPIRE = 2,
1: +};
1: +
1: +enum {
1: + AUTOFS_IOC_EXPIRE_MULTI_CMD = 102,
1: + AUTOFS_IOC_PROTOSUBVER_CMD = 103,
1: + AUTOFS_IOC_ASKUMOUNT_CMD = 112,
1: +};
1: +
1: +struct autofs_packet_missing {
1: + struct autofs_packet_hdr hdr;
1: + autofs_wqt_t wait_queue_token;
1: + int len;
1: + char name[256];
1: +};
1: +
1: +struct autofs_packet_expire_multi {
1: + struct autofs_packet_hdr hdr;
1: + autofs_wqt_t wait_queue_token;
1: + int len;
1: + char name[256];
1: +};
1: +
1: +union autofs_packet_union {
1: + struct autofs_packet_hdr hdr;
1: + struct autofs_packet_missing missing;
1: + struct autofs_packet_expire expire;
1: + struct autofs_packet_expire_multi expire_multi;
1: +};
1: +
1: +struct autofs_v5_packet {
1: + struct autofs_packet_hdr hdr;
1: + autofs_wqt_t wait_queue_token;
1: + __u32 dev;
1: + __u64 ino;
1: + __u32 uid;
1: + __u32 gid;
1: + __u32 pid;
1: + __u32 tgid;
1: + __u32 len;
1: + char name[256];
1: +};
1: +
1: +typedef struct autofs_v5_packet autofs_packet_missing_indirect_t;
1: +
1: +typedef struct autofs_v5_packet autofs_packet_expire_indirect_t;
1: +
1: +typedef struct autofs_v5_packet autofs_packet_missing_direct_t;
1: +
1: +typedef struct autofs_v5_packet autofs_packet_expire_direct_t;
1: +
1: +union autofs_v5_packet_union {
1: + struct autofs_packet_hdr hdr;
1: + struct autofs_v5_packet v5_packet;
1: + autofs_packet_missing_indirect_t missing_indirect;
1: + autofs_packet_expire_indirect_t expire_indirect;
1: + autofs_packet_missing_direct_t missing_direct;
1: + autofs_packet_expire_direct_t expire_direct;
1: +};
1: +
1: +struct args_protover {
1: + __u32 version;
1: +};
1: +
1: +struct args_protosubver {
1: + __u32 sub_version;
1: +};
1: +
1: +struct args_openmount {
1: + __u32 devid;
1: +};
1: +
1: +struct args_ready {
1: + __u32 token;
1: +};
1: +
1: +struct args_fail {
1: + __u32 token;
1: + __s32 status;
1: +};
1: +
1: +struct args_setpipefd {
1: + __s32 pipefd;
1: +};
1: +
1: +struct args_timeout {
1: + __u64 timeout;
1: +};
1: +
1: +struct args_requester {
1: + __u32 uid;
1: + __u32 gid;
1: +};
1: +
1: +struct args_expire {
1: + __u32 how;
1: +};
1: +
1: +struct args_askumount {
1: + __u32 may_umount;
1: +};
1: +
1: +struct args_in {
1: + __u32 type;
1: +};
1: +
1: +struct args_out {
1: + __u32 devid;
1: + __u32 magic;
1: +};
1: +
1: +struct args_ismountpoint {
1: + union {
1: + struct args_in in;
1: + struct args_out out;
1: + };
1: +};
1: +
1: +struct autofs_dev_ioctl {
1: + __u32 ver_major;
1: + __u32 ver_minor;
1: + __u32 size;
1: + __s32 ioctlfd;
1: + union {
1: + struct args_protover protover;
1: + struct args_protosubver protosubver;
1: + struct args_openmount openmount;
1: + struct args_ready ready;
1: + struct args_fail fail;
1: + struct args_setpipefd setpipefd;
1: + struct args_timeout timeout;
1: + struct args_requester requester;
1: + struct args_expire expire;
1: + struct args_askumount askumount;
1: + struct args_ismountpoint ismountpoint;
1: + };
1: + char path[0];
1: +};
1: +
1: +enum {
1: + AUTOFS_DEV_IOCTL_VERSION_CMD = 113,
1: + AUTOFS_DEV_IOCTL_PROTOVER_CMD = 114,
1: + AUTOFS_DEV_IOCTL_PROTOSUBVER_CMD = 115,
1: + AUTOFS_DEV_IOCTL_OPENMOUNT_CMD = 116,
1: + AUTOFS_DEV_IOCTL_CLOSEMOUNT_CMD = 117,
1: + AUTOFS_DEV_IOCTL_READY_CMD = 118,
1: + AUTOFS_DEV_IOCTL_FAIL_CMD = 119,
1: + AUTOFS_DEV_IOCTL_SETPIPEFD_CMD = 120,
1: + AUTOFS_DEV_IOCTL_CATATONIC_CMD = 121,
1: + AUTOFS_DEV_IOCTL_TIMEOUT_CMD = 122,
1: + AUTOFS_DEV_IOCTL_REQUESTER_CMD = 123,
1: + AUTOFS_DEV_IOCTL_EXPIRE_CMD = 124,
1: + AUTOFS_DEV_IOCTL_ASKUMOUNT_CMD = 125,
1: + AUTOFS_DEV_IOCTL_ISMOUNTPOINT_CMD = 126,
1: +};
1: +
1: +typedef int (*ioctl_fn)(struct file *, struct autofs_sb_info *, struct autofs_dev_ioctl *);
1: +
1: +struct debugfs_fsdata {
1: + const struct file_operations *real_fops;
1: + refcount_t active_users;
1: + struct completion active_users_drained;
1: +};
1: +
1: +struct debugfs_mount_opts {
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: +};
1: +
1: +enum {
1: + Opt_uid___7 = 0,
1: + Opt_gid___8 = 1,
1: + Opt_mode___6 = 2,
1: + Opt_err___7 = 3,
1: +};
1: +
1: +struct debugfs_fs_info {
1: + struct debugfs_mount_opts mount_opts;
1: +};
1: +
1: +struct debugfs_reg32 {
1: + char *name;
1: + long unsigned int offset;
1: +};
1: +
1: +struct debugfs_regset32 {
1: + const struct debugfs_reg32 *regs;
1: + int nregs;
1: + void *base;
1: +};
1: +
1: +struct array_data {
1: + void *array;
1: + u32 elements;
1: +};
1: +
1: +struct debugfs_devm_entry {
1: + int (*read)(struct seq_file *, void *);
1: + struct device *dev;
1: +};
1: +
1: +struct tracefs_dir_ops {
1: + int (*mkdir)(const char *);
1: + int (*rmdir)(const char *);
1: +};
1: +
1: +struct tracefs_mount_opts {
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: +};
1: +
1: +struct tracefs_fs_info {
1: + struct tracefs_mount_opts mount_opts;
1: +};
1: +
1: +typedef unsigned int __kernel_mode_t;
1: +
1: +struct ipc64_perm {
1: + __kernel_key_t key;
1: + __kernel_uid32_t uid;
1: + __kernel_gid32_t gid;
1: + __kernel_uid32_t cuid;
1: + __kernel_gid32_t cgid;
1: + __kernel_mode_t mode;
1: + unsigned char __pad1[0];
1: + short unsigned int seq;
1: + short unsigned int __pad2;
1: + __kernel_ulong_t __unused1;
1: + __kernel_ulong_t __unused2;
1: +};
1: +
1: +typedef s32 compat_key_t;
1: +
1: +typedef u32 __compat_gid32_t;
1: +
1: +struct compat_ipc64_perm {
1: + compat_key_t key;
1: + __compat_uid32_t uid;
1: + __compat_gid32_t gid;
1: + __compat_uid32_t cuid;
1: + __compat_gid32_t cgid;
1: + short unsigned int mode;
1: + short unsigned int __pad1;
1: + short unsigned int seq;
1: + short unsigned int __pad2;
1: + compat_ulong_t unused1;
1: + compat_ulong_t unused2;
1: +};
1: +
1: +struct compat_ipc_perm {
1: + key_t key;
1: + __compat_uid_t uid;
1: + __compat_gid_t gid;
1: + __compat_uid_t cuid;
1: + __compat_gid_t cgid;
1: + compat_mode_t mode;
1: + short unsigned int seq;
1: +};
1: +
1: +struct rhlist_head {
1: + struct rhash_head rhead;
1: + struct rhlist_head *next;
1: +};
1: +
1: +struct ipc_perm {
1: + __kernel_key_t key;
1: + __kernel_uid_t uid;
1: + __kernel_gid_t gid;
1: + __kernel_uid_t cuid;
1: + __kernel_gid_t cgid;
1: + __kernel_mode_t mode;
1: + short unsigned int seq;
1: +};
1: +
1: +struct ipc_params {
1: + key_t key;
1: + int flg;
1: + union {
1: + size_t size;
1: + int nsems;
1: + } u;
1: +};
1: +
1: +struct ipc_ops {
1: + int (*getnew)(struct ipc_namespace *, struct ipc_params *);
1: + int (*associate)(struct kern_ipc_perm *, int);
1: + int (*more_checks)(struct kern_ipc_perm *, struct ipc_params *);
1: +};
1: +
1: +struct ipc_proc_iface {
1: + const char *path;
1: + const char *header;
1: + int ids;
1: + int (*show)(struct seq_file *, void *);
1: +};
1: +
1: +struct ipc_proc_iter {
1: + struct ipc_namespace *ns;
1: + struct pid_namespace *pid_ns;
1: + struct ipc_proc_iface *iface;
1: +};
1: +
1: +struct msg_msgseg;
1: +
1: +struct msg_msg {
1: + struct list_head m_list;
1: + long int m_type;
1: + size_t m_ts;
1: + struct msg_msgseg *next;
1: + void *security;
1: +};
1: +
1: +struct msg_msgseg {
1: + struct msg_msgseg *next;
1: +};
1: +
1: +typedef int __kernel_ipc_pid_t;
1: +
1: +struct msgbuf {
1: + __kernel_long_t mtype;
1: + char mtext[1];
1: +};
1: +
1: +struct msg;
1: +
1: +struct msqid_ds {
1: + struct ipc_perm msg_perm;
1: + struct msg *msg_first;
1: + struct msg *msg_last;
1: + __kernel_old_time_t msg_stime;
1: + __kernel_old_time_t msg_rtime;
1: + __kernel_old_time_t msg_ctime;
1: + long unsigned int msg_lcbytes;
1: + long unsigned int msg_lqbytes;
1: + short unsigned int msg_cbytes;
1: + short unsigned int msg_qnum;
1: + short unsigned int msg_qbytes;
1: + __kernel_ipc_pid_t msg_lspid;
1: + __kernel_ipc_pid_t msg_lrpid;
1: +};
1: +
1: +struct msqid64_ds {
1: + struct ipc64_perm msg_perm;
1: + long int msg_stime;
1: + long int msg_rtime;
1: + long int msg_ctime;
1: + long unsigned int msg_cbytes;
1: + long unsigned int msg_qnum;
1: + long unsigned int msg_qbytes;
1: + __kernel_pid_t msg_lspid;
1: + __kernel_pid_t msg_lrpid;
1: + long unsigned int __unused4;
1: + long unsigned int __unused5;
1: +};
1: +
1: +struct msginfo {
1: + int msgpool;
1: + int msgmap;
1: + int msgmax;
1: + int msgmnb;
1: + int msgmni;
1: + int msgssz;
1: + int msgtql;
1: + short unsigned int msgseg;
1: +};
1: +
1: +typedef u16 compat_ipc_pid_t;
1: +
1: +struct compat_msqid64_ds {
1: + struct compat_ipc64_perm msg_perm;
1: + compat_ulong_t msg_stime;
1: + compat_ulong_t msg_stime_high;
1: + compat_ulong_t msg_rtime;
1: + compat_ulong_t msg_rtime_high;
1: + compat_ulong_t msg_ctime;
1: + compat_ulong_t msg_ctime_high;
1: + compat_ulong_t msg_cbytes;
1: + compat_ulong_t msg_qnum;
1: + compat_ulong_t msg_qbytes;
1: + compat_pid_t msg_lspid;
1: + compat_pid_t msg_lrpid;
1: + compat_ulong_t __unused4;
1: + compat_ulong_t __unused5;
1: +};
1: +
1: +struct msg_queue {
1: + struct kern_ipc_perm q_perm;
1: + time64_t q_stime;
1: + time64_t q_rtime;
1: + time64_t q_ctime;
1: + long unsigned int q_cbytes;
1: + long unsigned int q_qnum;
1: + long unsigned int q_qbytes;
1: + struct pid *q_lspid;
1: + struct pid *q_lrpid;
1: + struct list_head q_messages;
1: + struct list_head q_receivers;
1: + struct list_head q_senders;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct msg_receiver {
1: + struct list_head r_list;
1: + struct task_struct *r_tsk;
1: + int r_mode;
1: + long int r_msgtype;
1: + long int r_maxsize;
1: + struct msg_msg *r_msg;
1: +};
1: +
1: +struct msg_sender {
1: + struct list_head list;
1: + struct task_struct *tsk;
1: + size_t msgsz;
1: +};
1: +
1: +struct compat_msqid_ds {
1: + struct compat_ipc_perm msg_perm;
1: + compat_uptr_t msg_first;
1: + compat_uptr_t msg_last;
1: + old_time32_t msg_stime;
1: + old_time32_t msg_rtime;
1: + old_time32_t msg_ctime;
1: + compat_ulong_t msg_lcbytes;
1: + compat_ulong_t msg_lqbytes;
1: + short unsigned int msg_cbytes;
1: + short unsigned int msg_qnum;
1: + short unsigned int msg_qbytes;
1: + compat_ipc_pid_t msg_lspid;
1: + compat_ipc_pid_t msg_lrpid;
1: +};
1: +
1: +struct compat_msgbuf {
1: + compat_long_t mtype;
1: + char mtext[1];
1: +};
1: +
1: +struct sem;
1: +
1: +struct sem_queue;
1: +
1: +struct sem_undo;
1: +
1: +struct semid_ds {
1: + struct ipc_perm sem_perm;
1: + __kernel_old_time_t sem_otime;
1: + __kernel_old_time_t sem_ctime;
1: + struct sem *sem_base;
1: + struct sem_queue *sem_pending;
1: + struct sem_queue **sem_pending_last;
1: + struct sem_undo *undo;
1: + short unsigned int sem_nsems;
1: +};
1: +
1: +struct sem {
1: + int semval;
1: + struct pid *sempid;
1: + spinlock_t lock;
1: + struct list_head pending_alter;
1: + struct list_head pending_const;
1: + time64_t sem_otime;
1: +};
1: +
1: +struct sembuf;
1: +
1: +struct sem_queue {
1: + struct list_head list;
1: + struct task_struct *sleeper;
1: + struct sem_undo *undo;
1: + struct pid *pid;
1: + int status;
1: + struct sembuf *sops;
1: + struct sembuf *blocking;
1: + int nsops;
1: + bool alter;
1: + bool dupsop;
1: +};
1: +
1: +struct sem_undo {
1: + struct list_head list_proc;
1: + struct callback_head rcu;
1: + struct sem_undo_list *ulp;
1: + struct list_head list_id;
1: + int semid;
1: + short int *semadj;
1: +};
1: +
1: +struct semid64_ds {
1: + struct ipc64_perm sem_perm;
1: + __kernel_long_t sem_otime;
1: + __kernel_ulong_t __unused1;
1: + __kernel_long_t sem_ctime;
1: + __kernel_ulong_t __unused2;
1: + __kernel_ulong_t sem_nsems;
1: + __kernel_ulong_t __unused3;
1: + __kernel_ulong_t __unused4;
1: +};
1: +
1: +struct sembuf {
1: + short unsigned int sem_num;
1: + short int sem_op;
1: + short int sem_flg;
1: +};
1: +
1: +struct seminfo {
1: + int semmap;
1: + int semmni;
1: + int semmns;
1: + int semmnu;
1: + int semmsl;
1: + int semopm;
1: + int semume;
1: + int semusz;
1: + int semvmx;
1: + int semaem;
1: +};
1: +
1: +struct sem_undo_list {
1: + refcount_t refcnt;
1: + spinlock_t lock;
1: + struct list_head list_proc;
1: +};
1: +
1: +struct compat_semid64_ds {
1: + struct compat_ipc64_perm sem_perm;
1: + compat_ulong_t sem_otime;
1: + compat_ulong_t sem_otime_high;
1: + compat_ulong_t sem_ctime;
1: + compat_ulong_t sem_ctime_high;
1: + compat_ulong_t sem_nsems;
1: + compat_ulong_t __unused3;
1: + compat_ulong_t __unused4;
1: +};
1: +
1: +struct sem_array {
1: + struct kern_ipc_perm sem_perm;
1: + time64_t sem_ctime;
1: + struct list_head pending_alter;
1: + struct list_head pending_const;
1: + struct list_head list_id;
1: + int sem_nsems;
1: + int complex_count;
1: + unsigned int use_global_lock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct sem sems[0];
1: +};
1: +
1: +struct compat_semid_ds {
1: + struct compat_ipc_perm sem_perm;
1: + old_time32_t sem_otime;
1: + old_time32_t sem_ctime;
1: + compat_uptr_t sem_base;
1: + compat_uptr_t sem_pending;
1: + compat_uptr_t sem_pending_last;
1: + compat_uptr_t undo;
1: + short unsigned int sem_nsems;
1: +};
1: +
1: +struct shmid_ds {
1: + struct ipc_perm shm_perm;
1: + int shm_segsz;
1: + __kernel_old_time_t shm_atime;
1: + __kernel_old_time_t shm_dtime;
1: + __kernel_old_time_t shm_ctime;
1: + __kernel_ipc_pid_t shm_cpid;
1: + __kernel_ipc_pid_t shm_lpid;
1: + short unsigned int shm_nattch;
1: + short unsigned int shm_unused;
1: + void *shm_unused2;
1: + void *shm_unused3;
1: +};
1: +
1: +struct shmid64_ds {
1: + struct ipc64_perm shm_perm;
1: + size_t shm_segsz;
1: + long int shm_atime;
1: + long int shm_dtime;
1: + long int shm_ctime;
1: + __kernel_pid_t shm_cpid;
1: + __kernel_pid_t shm_lpid;
1: + long unsigned int shm_nattch;
1: + long unsigned int __unused4;
1: + long unsigned int __unused5;
1: +};
1: +
1: +struct shminfo64 {
1: + long unsigned int shmmax;
1: + long unsigned int shmmin;
1: + long unsigned int shmmni;
1: + long unsigned int shmseg;
1: + long unsigned int shmall;
1: + long unsigned int __unused1;
1: + long unsigned int __unused2;
1: + long unsigned int __unused3;
1: + long unsigned int __unused4;
1: +};
1: +
1: +struct shminfo {
1: + int shmmax;
1: + int shmmin;
1: + int shmmni;
1: + int shmseg;
1: + int shmall;
1: +};
1: +
1: +struct shm_info {
1: + int used_ids;
1: + __kernel_ulong_t shm_tot;
1: + __kernel_ulong_t shm_rss;
1: + __kernel_ulong_t shm_swp;
1: + __kernel_ulong_t swap_attempts;
1: + __kernel_ulong_t swap_successes;
1: +};
1: +
1: +struct compat_shmid64_ds {
1: + struct compat_ipc64_perm shm_perm;
1: + compat_size_t shm_segsz;
1: + compat_ulong_t shm_atime;
1: + compat_ulong_t shm_atime_high;
1: + compat_ulong_t shm_dtime;
1: + compat_ulong_t shm_dtime_high;
1: + compat_ulong_t shm_ctime;
1: + compat_ulong_t shm_ctime_high;
1: + compat_pid_t shm_cpid;
1: + compat_pid_t shm_lpid;
1: + compat_ulong_t shm_nattch;
1: + compat_ulong_t __unused4;
1: + compat_ulong_t __unused5;
1: +};
1: +
1: +struct shmid_kernel {
1: + struct kern_ipc_perm shm_perm;
1: + struct file *shm_file;
1: + long unsigned int shm_nattch;
1: + long unsigned int shm_segsz;
1: + time64_t shm_atim;
1: + time64_t shm_dtim;
1: + time64_t shm_ctim;
1: + struct pid *shm_cprid;
1: + struct pid *shm_lprid;
1: + struct user_struct *mlock_user;
1: + struct task_struct *shm_creator;
1: + struct list_head shm_clist;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct shm_file_data {
1: + int id;
1: + struct ipc_namespace *ns;
1: + struct file *file;
1: + const struct vm_operations_struct *vm_ops;
1: +};
1: +
1: +struct compat_shmid_ds {
1: + struct compat_ipc_perm shm_perm;
1: + int shm_segsz;
1: + old_time32_t shm_atime;
1: + old_time32_t shm_dtime;
1: + old_time32_t shm_ctime;
1: + compat_ipc_pid_t shm_cpid;
1: + compat_ipc_pid_t shm_lpid;
1: + short unsigned int shm_nattch;
1: + short unsigned int shm_unused;
1: + compat_uptr_t shm_unused2;
1: + compat_uptr_t shm_unused3;
1: +};
1: +
1: +struct compat_shminfo64 {
1: + compat_ulong_t shmmax;
1: + compat_ulong_t shmmin;
1: + compat_ulong_t shmmni;
1: + compat_ulong_t shmseg;
1: + compat_ulong_t shmall;
1: + compat_ulong_t __unused1;
1: + compat_ulong_t __unused2;
1: + compat_ulong_t __unused3;
1: + compat_ulong_t __unused4;
1: +};
1: +
1: +struct compat_shm_info {
1: + compat_int_t used_ids;
1: + compat_ulong_t shm_tot;
1: + compat_ulong_t shm_rss;
1: + compat_ulong_t shm_swp;
1: + compat_ulong_t swap_attempts;
1: + compat_ulong_t swap_successes;
1: +};
1: +
1: +struct compat_ipc_kludge {
1: + compat_uptr_t msgp;
1: + compat_long_t msgtyp;
1: +};
1: +
1: +struct mqueue_fs_context {
1: + struct ipc_namespace *ipc_ns;
1: +};
1: +
1: +struct posix_msg_tree_node {
1: + struct rb_node rb_node;
1: + struct list_head msg_list;
1: + int priority;
1: +};
1: +
1: +struct ext_wait_queue {
1: + struct task_struct *task;
1: + struct list_head list;
1: + struct msg_msg *msg;
1: + int state;
1: +};
1: +
1: +struct mqueue_inode_info {
1: + spinlock_t lock;
1: + struct inode vfs_inode;
1: + wait_queue_head_t wait_q;
1: + struct rb_root msg_tree;
1: + struct rb_node *msg_tree_rightmost;
1: + struct posix_msg_tree_node *node_cache;
1: + struct mq_attr attr;
1: + struct sigevent notify;
1: + struct pid *notify_owner;
1: + struct user_namespace *notify_user_ns;
1: + struct user_struct *user;
1: + struct sock *notify_sock;
1: + struct sk_buff *notify_cookie;
1: + struct ext_wait_queue e_wait_q[2];
1: + long unsigned int qsize;
1: +};
1: +
1: +struct compat_mq_attr {
1: + compat_long_t mq_flags;
1: + compat_long_t mq_maxmsg;
1: + compat_long_t mq_msgsize;
1: + compat_long_t mq_curmsgs;
1: + compat_long_t __reserved[4];
1: +};
1: +
1: +enum key_state {
1: + KEY_IS_UNINSTANTIATED = 0,
1: + KEY_IS_POSITIVE = 1,
1: +};
1: +
1: +struct key_user {
1: + struct rb_node node;
1: + struct mutex cons_lock;
1: + spinlock_t lock;
1: + refcount_t usage;
1: + atomic_t nkeys;
1: + atomic_t nikeys;
1: + kuid_t uid;
1: + int qnkeys;
1: + int qnbytes;
1: +};
1: +
1: +struct assoc_array_edit;
1: +
1: +struct assoc_array_ops {
1: + long unsigned int (*get_key_chunk)(const void *, int);
1: + long unsigned int (*get_object_key_chunk)(const void *, int);
1: + bool (*compare_object)(const void *, const void *);
1: + int (*diff_objects)(const void *, const void *);
1: + void (*free_object)(void *);
1: +};
1: +
1: +struct assoc_array_node {
1: + struct assoc_array_ptr *back_pointer;
1: + u8 parent_slot;
1: + struct assoc_array_ptr *slots[16];
1: + long unsigned int nr_leaves_on_branch;
1: +};
1: +
1: +struct assoc_array_shortcut {
1: + struct assoc_array_ptr *back_pointer;
1: + int parent_slot;
1: + int skip_to_level;
1: + struct assoc_array_ptr *next_node;
1: + long unsigned int index_key[0];
1: +};
1: +
1: +struct assoc_array_edit___2 {
1: + struct callback_head rcu;
1: + struct assoc_array *array;
1: + const struct assoc_array_ops *ops;
1: + const struct assoc_array_ops *ops_for_excised_subtree;
1: + struct assoc_array_ptr *leaf;
1: + struct assoc_array_ptr **leaf_p;
1: + struct assoc_array_ptr *dead_leaf;
1: + struct assoc_array_ptr *new_meta[3];
1: + struct assoc_array_ptr *excised_meta[1];
1: + struct assoc_array_ptr *excised_subtree;
1: + struct assoc_array_ptr **set_backpointers[16];
1: + struct assoc_array_ptr *set_backpointers_to;
1: + struct assoc_array_node *adjust_count_on;
1: + long int adjust_count_by;
1: + struct {
1: + struct assoc_array_ptr **ptr;
1: + struct assoc_array_ptr *to;
1: + } set[2];
1: + struct {
1: + u8 *p;
1: + u8 to;
1: + } set_parent_slot[1];
1: + u8 segment_cache[17];
1: +};
1: +
1: +struct keyring_search_context {
1: + struct keyring_index_key index_key;
1: + const struct cred *cred;
1: + struct key_match_data match_data;
1: + unsigned int flags;
1: + int (*iterator)(const void *, void *);
1: + int skipped_ret;
1: + bool possessed;
1: + key_ref_t result;
1: + time64_t now;
1: +};
1: +
1: +struct keyring_read_iterator_context {
1: + size_t buflen;
1: + size_t count;
1: + key_serial_t *buffer;
1: +};
1: +
1: +struct keyctl_dh_params {
1: + union {
1: + __s32 private;
1: + __s32 priv;
1: + };
1: + __s32 prime;
1: + __s32 base;
1: +};
1: +
1: +struct keyctl_kdf_params {
1: + char *hashname;
1: + char *otherinfo;
1: + __u32 otherinfolen;
1: + __u32 __spare[8];
1: +};
1: +
1: +struct keyctl_pkey_query {
1: + __u32 supported_ops;
1: + __u32 key_size;
1: + __u16 max_data_size;
1: + __u16 max_sig_size;
1: + __u16 max_enc_size;
1: + __u16 max_dec_size;
1: + __u32 __spare[10];
1: +};
1: +
1: +struct keyctl_pkey_params {
1: + __s32 key_id;
1: + __u32 in_len;
1: + union {
1: + __u32 out_len;
1: + __u32 in2_len;
1: + };
1: + __u32 __spare[7];
1: +};
1: +
1: +enum {
1: + Opt_err___8 = 0,
1: + Opt_enc = 1,
1: + Opt_hash = 2,
1: +};
1: +
1: +struct vfs_cap_data {
1: + __le32 magic_etc;
1: + struct {
1: + __le32 permitted;
1: + __le32 inheritable;
1: + } data[2];
1: +};
1: +
1: +struct vfs_ns_cap_data {
1: + __le32 magic_etc;
1: + struct {
1: + __le32 permitted;
1: + __le32 inheritable;
1: + } data[2];
1: + __le32 rootid;
1: +};
1: +
1: +struct sctp_endpoint;
1: +
1: +union security_list_options {
1: + int (*binder_set_context_mgr)(struct task_struct *);
1: + int (*binder_transaction)(struct task_struct *, struct task_struct *);
1: + int (*binder_transfer_binder)(struct task_struct *, struct task_struct *);
1: + int (*binder_transfer_file)(struct task_struct *, struct task_struct *, struct file *);
1: + int (*ptrace_access_check)(struct task_struct *, unsigned int);
1: + int (*ptrace_traceme)(struct task_struct *);
1: + int (*capget)(struct task_struct *, kernel_cap_t *, kernel_cap_t *, kernel_cap_t *);
1: + int (*capset)(struct cred *, const struct cred *, const kernel_cap_t *, const kernel_cap_t *, const kernel_cap_t *);
1: + int (*capable)(const struct cred *, struct user_namespace *, int, unsigned int);
1: + int (*quotactl)(int, int, int, struct super_block *);
1: + int (*quota_on)(struct dentry *);
1: + int (*syslog)(int);
1: + int (*settime)(const struct timespec64 *, const struct timezone *);
1: + int (*vm_enough_memory)(struct mm_struct *, long int);
1: + int (*bprm_set_creds)(struct linux_binprm *);
1: + int (*bprm_check_security)(struct linux_binprm *);
1: + void (*bprm_committing_creds)(struct linux_binprm *);
1: + void (*bprm_committed_creds)(struct linux_binprm *);
1: + int (*fs_context_dup)(struct fs_context *, struct fs_context *);
1: + int (*fs_context_parse_param)(struct fs_context *, struct fs_parameter *);
1: + int (*sb_alloc_security)(struct super_block *);
1: + void (*sb_free_security)(struct super_block *);
1: + void (*sb_free_mnt_opts)(void *);
1: + int (*sb_eat_lsm_opts)(char *, void **);
1: + int (*sb_remount)(struct super_block *, void *);
1: + int (*sb_kern_mount)(struct super_block *);
1: + int (*sb_show_options)(struct seq_file *, struct super_block *);
1: + int (*sb_statfs)(struct dentry *);
1: + int (*sb_mount)(const char *, const struct path *, const char *, long unsigned int, void *);
1: + int (*sb_umount)(struct vfsmount *, int);
1: + int (*sb_pivotroot)(const struct path *, const struct path *);
1: + int (*sb_set_mnt_opts)(struct super_block *, void *, long unsigned int, long unsigned int *);
1: + int (*sb_clone_mnt_opts)(const struct super_block *, struct super_block *, long unsigned int, long unsigned int *);
1: + int (*sb_add_mnt_opt)(const char *, const char *, int, void **);
1: + int (*move_mount)(const struct path *, const struct path *);
1: + int (*dentry_init_security)(struct dentry *, int, const struct qstr *, void **, u32 *);
1: + int (*dentry_create_files_as)(struct dentry *, int, struct qstr *, const struct cred *, struct cred *);
1: + int (*path_notify)(const struct path *, u64, unsigned int);
1: + int (*inode_alloc_security)(struct inode *);
1: + void (*inode_free_security)(struct inode *);
1: + int (*inode_init_security)(struct inode *, struct inode *, const struct qstr *, const char **, void **, size_t *);
1: + int (*inode_create)(struct inode *, struct dentry *, umode_t);
1: + int (*inode_link)(struct dentry *, struct inode *, struct dentry *);
1: + int (*inode_unlink)(struct inode *, struct dentry *);
1: + int (*inode_symlink)(struct inode *, struct dentry *, const char *);
1: + int (*inode_mkdir)(struct inode *, struct dentry *, umode_t);
1: + int (*inode_rmdir)(struct inode *, struct dentry *);
1: + int (*inode_mknod)(struct inode *, struct dentry *, umode_t, dev_t);
1: + int (*inode_rename)(struct inode *, struct dentry *, struct inode *, struct dentry *);
1: + int (*inode_readlink)(struct dentry *);
1: + int (*inode_follow_link)(struct dentry *, struct inode *, bool);
1: + int (*inode_permission)(struct inode *, int);
1: + int (*inode_setattr)(struct dentry *, struct iattr *);
1: + int (*inode_getattr)(const struct path *);
1: + int (*inode_setxattr)(struct dentry *, const char *, const void *, size_t, int);
1: + void (*inode_post_setxattr)(struct dentry *, const char *, const void *, size_t, int);
1: + int (*inode_getxattr)(struct dentry *, const char *);
1: + int (*inode_listxattr)(struct dentry *);
1: + int (*inode_removexattr)(struct dentry *, const char *);
1: + int (*inode_need_killpriv)(struct dentry *);
1: + int (*inode_killpriv)(struct dentry *);
1: + int (*inode_getsecurity)(struct inode *, const char *, void **, bool);
1: + int (*inode_setsecurity)(struct inode *, const char *, const void *, size_t, int);
1: + int (*inode_listsecurity)(struct inode *, char *, size_t);
1: + void (*inode_getsecid)(struct inode *, u32 *);
1: + int (*inode_copy_up)(struct dentry *, struct cred **);
1: + int (*inode_copy_up_xattr)(const char *);
1: + int (*kernfs_init_security)(struct kernfs_node *, struct kernfs_node *);
1: + int (*file_permission)(struct file *, int);
1: + int (*file_alloc_security)(struct file *);
1: + void (*file_free_security)(struct file *);
1: + int (*file_ioctl)(struct file *, unsigned int, long unsigned int);
1: + int (*mmap_addr)(long unsigned int);
1: + int (*mmap_file)(struct file *, long unsigned int, long unsigned int, long unsigned int);
1: + int (*file_mprotect)(struct vm_area_struct *, long unsigned int, long unsigned int);
1: + int (*file_lock)(struct file *, unsigned int);
1: + int (*file_fcntl)(struct file *, unsigned int, long unsigned int);
1: + void (*file_set_fowner)(struct file *);
1: + int (*file_send_sigiotask)(struct task_struct *, struct fown_struct *, int);
1: + int (*file_receive)(struct file *);
1: + int (*file_open)(struct file *);
1: + int (*task_alloc)(struct task_struct *, long unsigned int);
1: + void (*task_free)(struct task_struct *);
1: + int (*cred_alloc_blank)(struct cred *, gfp_t);
1: + void (*cred_free)(struct cred *);
1: + int (*cred_prepare)(struct cred *, const struct cred *, gfp_t);
1: + void (*cred_transfer)(struct cred *, const struct cred *);
1: + void (*cred_getsecid)(const struct cred *, u32 *);
1: + int (*kernel_act_as)(struct cred *, u32);
1: + int (*kernel_create_files_as)(struct cred *, struct inode *);
1: + int (*kernel_module_request)(char *);
1: + int (*kernel_load_data)(enum kernel_load_data_id);
1: + int (*kernel_read_file)(struct file *, enum kernel_read_file_id);
1: + int (*kernel_post_read_file)(struct file *, char *, loff_t, enum kernel_read_file_id);
1: + int (*task_fix_setuid)(struct cred *, const struct cred *, int);
1: + int (*task_setpgid)(struct task_struct *, pid_t);
1: + int (*task_getpgid)(struct task_struct *);
1: + int (*task_getsid)(struct task_struct *);
1: + void (*task_getsecid)(struct task_struct *, u32 *);
1: + int (*task_setnice)(struct task_struct *, int);
1: + int (*task_setioprio)(struct task_struct *, int);
1: + int (*task_getioprio)(struct task_struct *);
1: + int (*task_prlimit)(const struct cred *, const struct cred *, unsigned int);
1: + int (*task_setrlimit)(struct task_struct *, unsigned int, struct rlimit *);
1: + int (*task_setscheduler)(struct task_struct *);
1: + int (*task_getscheduler)(struct task_struct *);
1: + int (*task_movememory)(struct task_struct *);
1: + int (*task_kill)(struct task_struct *, struct kernel_siginfo *, int, const struct cred *);
1: + int (*task_prctl)(int, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: + void (*task_to_inode)(struct task_struct *, struct inode *);
1: + int (*ipc_permission)(struct kern_ipc_perm *, short int);
1: + void (*ipc_getsecid)(struct kern_ipc_perm *, u32 *);
1: + int (*msg_msg_alloc_security)(struct msg_msg *);
1: + void (*msg_msg_free_security)(struct msg_msg *);
1: + int (*msg_queue_alloc_security)(struct kern_ipc_perm *);
1: + void (*msg_queue_free_security)(struct kern_ipc_perm *);
1: + int (*msg_queue_associate)(struct kern_ipc_perm *, int);
1: + int (*msg_queue_msgctl)(struct kern_ipc_perm *, int);
1: + int (*msg_queue_msgsnd)(struct kern_ipc_perm *, struct msg_msg *, int);
1: + int (*msg_queue_msgrcv)(struct kern_ipc_perm *, struct msg_msg *, struct task_struct *, long int, int);
1: + int (*shm_alloc_security)(struct kern_ipc_perm *);
1: + void (*shm_free_security)(struct kern_ipc_perm *);
1: + int (*shm_associate)(struct kern_ipc_perm *, int);
1: + int (*shm_shmctl)(struct kern_ipc_perm *, int);
1: + int (*shm_shmat)(struct kern_ipc_perm *, char *, int);
1: + int (*sem_alloc_security)(struct kern_ipc_perm *);
1: + void (*sem_free_security)(struct kern_ipc_perm *);
1: + int (*sem_associate)(struct kern_ipc_perm *, int);
1: + int (*sem_semctl)(struct kern_ipc_perm *, int);
1: + int (*sem_semop)(struct kern_ipc_perm *, struct sembuf *, unsigned int, int);
1: + int (*netlink_send)(struct sock *, struct sk_buff *);
1: + void (*d_instantiate)(struct dentry *, struct inode *);
1: + int (*getprocattr)(struct task_struct *, char *, char **);
1: + int (*setprocattr)(const char *, void *, size_t);
1: + int (*ismaclabel)(const char *);
1: + int (*secid_to_secctx)(u32, char **, u32 *);
1: + int (*secctx_to_secid)(const char *, u32, u32 *);
1: + void (*release_secctx)(char *, u32);
1: + void (*inode_invalidate_secctx)(struct inode *);
1: + int (*inode_notifysecctx)(struct inode *, void *, u32);
1: + int (*inode_setsecctx)(struct dentry *, void *, u32);
1: + int (*inode_getsecctx)(struct inode *, void **, u32 *);
1: + int (*unix_stream_connect)(struct sock *, struct sock *, struct sock *);
1: + int (*unix_may_send)(struct socket *, struct socket *);
1: + int (*socket_create)(int, int, int, int);
1: + int (*socket_post_create)(struct socket *, int, int, int, int);
1: + int (*socket_socketpair)(struct socket *, struct socket *);
1: + int (*socket_bind)(struct socket *, struct sockaddr *, int);
1: + int (*socket_connect)(struct socket *, struct sockaddr *, int);
1: + int (*socket_listen)(struct socket *, int);
1: + int (*socket_accept)(struct socket *, struct socket *);
1: + int (*socket_sendmsg)(struct socket *, struct msghdr *, int);
1: + int (*socket_recvmsg)(struct socket *, struct msghdr *, int, int);
1: + int (*socket_getsockname)(struct socket *);
1: + int (*socket_getpeername)(struct socket *);
1: + int (*socket_getsockopt)(struct socket *, int, int);
1: + int (*socket_setsockopt)(struct socket *, int, int);
1: + int (*socket_shutdown)(struct socket *, int);
1: + int (*socket_sock_rcv_skb)(struct sock *, struct sk_buff *);
1: + int (*socket_getpeersec_stream)(struct socket *, char *, int *, unsigned int);
1: + int (*socket_getpeersec_dgram)(struct socket *, struct sk_buff *, u32 *);
1: + int (*sk_alloc_security)(struct sock *, int, gfp_t);
1: + void (*sk_free_security)(struct sock *);
1: + void (*sk_clone_security)(const struct sock *, struct sock *);
1: + void (*sk_getsecid)(struct sock *, u32 *);
1: + void (*sock_graft)(struct sock *, struct socket *);
1: + int (*inet_conn_request)(struct sock *, struct sk_buff *, struct request_sock *);
1: + void (*inet_csk_clone)(struct sock *, const struct request_sock *);
1: + void (*inet_conn_established)(struct sock *, struct sk_buff *);
1: + int (*secmark_relabel_packet)(u32);
1: + void (*secmark_refcount_inc)();
1: + void (*secmark_refcount_dec)();
1: + void (*req_classify_flow)(const struct request_sock *, struct flowi *);
1: + int (*tun_dev_alloc_security)(void **);
1: + void (*tun_dev_free_security)(void *);
1: + int (*tun_dev_create)();
1: + int (*tun_dev_attach_queue)(void *);
1: + int (*tun_dev_attach)(struct sock *, void *);
1: + int (*tun_dev_open)(void *);
1: + int (*sctp_assoc_request)(struct sctp_endpoint *, struct sk_buff *);
1: + int (*sctp_bind_connect)(struct sock *, int, struct sockaddr *, int);
1: + void (*sctp_sk_clone)(struct sctp_endpoint *, struct sock *, struct sock *);
1: + int (*key_alloc)(struct key *, const struct cred *, long unsigned int);
1: + void (*key_free)(struct key *);
1: + int (*key_permission)(key_ref_t, const struct cred *, unsigned int);
1: + int (*key_getsecurity)(struct key *, char **);
1: + int (*audit_rule_init)(u32, u32, char *, void **);
1: + int (*audit_rule_known)(struct audit_krule *);
1: + int (*audit_rule_match)(u32, u32, u32, void *);
1: + void (*audit_rule_free)(void *);
1: + int (*locked_down)(enum lockdown_reason);
1: + int (*perf_event_open)(struct perf_event_attr *, int);
1: + int (*perf_event_alloc)(struct perf_event *);
1: + void (*perf_event_free)(struct perf_event *);
1: + int (*perf_event_read)(struct perf_event *);
1: + int (*perf_event_write)(struct perf_event *);
1: +};
1: +
1: +struct security_hook_heads {
1: + struct hlist_head binder_set_context_mgr;
1: + struct hlist_head binder_transaction;
1: + struct hlist_head binder_transfer_binder;
1: + struct hlist_head binder_transfer_file;
1: + struct hlist_head ptrace_access_check;
1: + struct hlist_head ptrace_traceme;
1: + struct hlist_head capget;
1: + struct hlist_head capset;
1: + struct hlist_head capable;
1: + struct hlist_head quotactl;
1: + struct hlist_head quota_on;
1: + struct hlist_head syslog;
1: + struct hlist_head settime;
1: + struct hlist_head vm_enough_memory;
1: + struct hlist_head bprm_set_creds;
1: + struct hlist_head bprm_check_security;
1: + struct hlist_head bprm_committing_creds;
1: + struct hlist_head bprm_committed_creds;
1: + struct hlist_head fs_context_dup;
1: + struct hlist_head fs_context_parse_param;
1: + struct hlist_head sb_alloc_security;
1: + struct hlist_head sb_free_security;
1: + struct hlist_head sb_free_mnt_opts;
1: + struct hlist_head sb_eat_lsm_opts;
1: + struct hlist_head sb_remount;
1: + struct hlist_head sb_kern_mount;
1: + struct hlist_head sb_show_options;
1: + struct hlist_head sb_statfs;
1: + struct hlist_head sb_mount;
1: + struct hlist_head sb_umount;
1: + struct hlist_head sb_pivotroot;
1: + struct hlist_head sb_set_mnt_opts;
1: + struct hlist_head sb_clone_mnt_opts;
1: + struct hlist_head sb_add_mnt_opt;
1: + struct hlist_head move_mount;
1: + struct hlist_head dentry_init_security;
1: + struct hlist_head dentry_create_files_as;
1: + struct hlist_head path_notify;
1: + struct hlist_head inode_alloc_security;
1: + struct hlist_head inode_free_security;
1: + struct hlist_head inode_init_security;
1: + struct hlist_head inode_create;
1: + struct hlist_head inode_link;
1: + struct hlist_head inode_unlink;
1: + struct hlist_head inode_symlink;
1: + struct hlist_head inode_mkdir;
1: + struct hlist_head inode_rmdir;
1: + struct hlist_head inode_mknod;
1: + struct hlist_head inode_rename;
1: + struct hlist_head inode_readlink;
1: + struct hlist_head inode_follow_link;
1: + struct hlist_head inode_permission;
1: + struct hlist_head inode_setattr;
1: + struct hlist_head inode_getattr;
1: + struct hlist_head inode_setxattr;
1: + struct hlist_head inode_post_setxattr;
1: + struct hlist_head inode_getxattr;
1: + struct hlist_head inode_listxattr;
1: + struct hlist_head inode_removexattr;
1: + struct hlist_head inode_need_killpriv;
1: + struct hlist_head inode_killpriv;
1: + struct hlist_head inode_getsecurity;
1: + struct hlist_head inode_setsecurity;
1: + struct hlist_head inode_listsecurity;
1: + struct hlist_head inode_getsecid;
1: + struct hlist_head inode_copy_up;
1: + struct hlist_head inode_copy_up_xattr;
1: + struct hlist_head kernfs_init_security;
1: + struct hlist_head file_permission;
1: + struct hlist_head file_alloc_security;
1: + struct hlist_head file_free_security;
1: + struct hlist_head file_ioctl;
1: + struct hlist_head mmap_addr;
1: + struct hlist_head mmap_file;
1: + struct hlist_head file_mprotect;
1: + struct hlist_head file_lock;
1: + struct hlist_head file_fcntl;
1: + struct hlist_head file_set_fowner;
1: + struct hlist_head file_send_sigiotask;
1: + struct hlist_head file_receive;
1: + struct hlist_head file_open;
1: + struct hlist_head task_alloc;
1: + struct hlist_head task_free;
1: + struct hlist_head cred_alloc_blank;
1: + struct hlist_head cred_free;
1: + struct hlist_head cred_prepare;
1: + struct hlist_head cred_transfer;
1: + struct hlist_head cred_getsecid;
1: + struct hlist_head kernel_act_as;
1: + struct hlist_head kernel_create_files_as;
1: + struct hlist_head kernel_load_data;
1: + struct hlist_head kernel_read_file;
1: + struct hlist_head kernel_post_read_file;
1: + struct hlist_head kernel_module_request;
1: + struct hlist_head task_fix_setuid;
1: + struct hlist_head task_setpgid;
1: + struct hlist_head task_getpgid;
1: + struct hlist_head task_getsid;
1: + struct hlist_head task_getsecid;
1: + struct hlist_head task_setnice;
1: + struct hlist_head task_setioprio;
1: + struct hlist_head task_getioprio;
1: + struct hlist_head task_prlimit;
1: + struct hlist_head task_setrlimit;
1: + struct hlist_head task_setscheduler;
1: + struct hlist_head task_getscheduler;
1: + struct hlist_head task_movememory;
1: + struct hlist_head task_kill;
1: + struct hlist_head task_prctl;
1: + struct hlist_head task_to_inode;
1: + struct hlist_head ipc_permission;
1: + struct hlist_head ipc_getsecid;
1: + struct hlist_head msg_msg_alloc_security;
1: + struct hlist_head msg_msg_free_security;
1: + struct hlist_head msg_queue_alloc_security;
1: + struct hlist_head msg_queue_free_security;
1: + struct hlist_head msg_queue_associate;
1: + struct hlist_head msg_queue_msgctl;
1: + struct hlist_head msg_queue_msgsnd;
1: + struct hlist_head msg_queue_msgrcv;
1: + struct hlist_head shm_alloc_security;
1: + struct hlist_head shm_free_security;
1: + struct hlist_head shm_associate;
1: + struct hlist_head shm_shmctl;
1: + struct hlist_head shm_shmat;
1: + struct hlist_head sem_alloc_security;
1: + struct hlist_head sem_free_security;
1: + struct hlist_head sem_associate;
1: + struct hlist_head sem_semctl;
1: + struct hlist_head sem_semop;
1: + struct hlist_head netlink_send;
1: + struct hlist_head d_instantiate;
1: + struct hlist_head getprocattr;
1: + struct hlist_head setprocattr;
1: + struct hlist_head ismaclabel;
1: + struct hlist_head secid_to_secctx;
1: + struct hlist_head secctx_to_secid;
1: + struct hlist_head release_secctx;
1: + struct hlist_head inode_invalidate_secctx;
1: + struct hlist_head inode_notifysecctx;
1: + struct hlist_head inode_setsecctx;
1: + struct hlist_head inode_getsecctx;
1: + struct hlist_head unix_stream_connect;
1: + struct hlist_head unix_may_send;
1: + struct hlist_head socket_create;
1: + struct hlist_head socket_post_create;
1: + struct hlist_head socket_socketpair;
1: + struct hlist_head socket_bind;
1: + struct hlist_head socket_connect;
1: + struct hlist_head socket_listen;
1: + struct hlist_head socket_accept;
1: + struct hlist_head socket_sendmsg;
1: + struct hlist_head socket_recvmsg;
1: + struct hlist_head socket_getsockname;
1: + struct hlist_head socket_getpeername;
1: + struct hlist_head socket_getsockopt;
1: + struct hlist_head socket_setsockopt;
1: + struct hlist_head socket_shutdown;
1: + struct hlist_head socket_sock_rcv_skb;
1: + struct hlist_head socket_getpeersec_stream;
1: + struct hlist_head socket_getpeersec_dgram;
1: + struct hlist_head sk_alloc_security;
1: + struct hlist_head sk_free_security;
1: + struct hlist_head sk_clone_security;
1: + struct hlist_head sk_getsecid;
1: + struct hlist_head sock_graft;
1: + struct hlist_head inet_conn_request;
1: + struct hlist_head inet_csk_clone;
1: + struct hlist_head inet_conn_established;
1: + struct hlist_head secmark_relabel_packet;
1: + struct hlist_head secmark_refcount_inc;
1: + struct hlist_head secmark_refcount_dec;
1: + struct hlist_head req_classify_flow;
1: + struct hlist_head tun_dev_alloc_security;
1: + struct hlist_head tun_dev_free_security;
1: + struct hlist_head tun_dev_create;
1: + struct hlist_head tun_dev_attach_queue;
1: + struct hlist_head tun_dev_attach;
1: + struct hlist_head tun_dev_open;
1: + struct hlist_head sctp_assoc_request;
1: + struct hlist_head sctp_bind_connect;
1: + struct hlist_head sctp_sk_clone;
1: + struct hlist_head key_alloc;
1: + struct hlist_head key_free;
1: + struct hlist_head key_permission;
1: + struct hlist_head key_getsecurity;
1: + struct hlist_head audit_rule_init;
1: + struct hlist_head audit_rule_known;
1: + struct hlist_head audit_rule_match;
1: + struct hlist_head audit_rule_free;
1: + struct hlist_head locked_down;
1: + struct hlist_head perf_event_open;
1: + struct hlist_head perf_event_alloc;
1: + struct hlist_head perf_event_free;
1: + struct hlist_head perf_event_read;
1: + struct hlist_head perf_event_write;
1: +};
1: +
1: +struct security_hook_list {
1: + struct hlist_node list;
1: + struct hlist_head *head;
1: + union security_list_options hook;
1: + char *lsm;
1: +};
1: +
1: +struct lsm_blob_sizes {
1: + int lbs_cred;
1: + int lbs_file;
1: + int lbs_inode;
1: + int lbs_ipc;
1: + int lbs_msg_msg;
1: + int lbs_task;
1: +};
1: +
1: +enum lsm_order {
1: + LSM_ORDER_FIRST = -1,
1: + LSM_ORDER_MUTABLE = 0,
1: +};
1: +
1: +struct lsm_info {
1: + const char *name;
1: + enum lsm_order order;
1: + long unsigned int flags;
1: + int *enabled;
1: + int (*init)();
1: + struct lsm_blob_sizes *blobs;
1: +};
1: +
1: +enum lsm_event {
1: + LSM_POLICY_CHANGE = 0,
1: +};
1: +
1: +typedef int (*initxattrs___2)(struct inode *, const struct xattr *, void *);
1: +
1: +enum ib_uverbs_write_cmds {
1: + IB_USER_VERBS_CMD_GET_CONTEXT = 0,
1: + IB_USER_VERBS_CMD_QUERY_DEVICE = 1,
1: + IB_USER_VERBS_CMD_QUERY_PORT = 2,
1: + IB_USER_VERBS_CMD_ALLOC_PD = 3,
1: + IB_USER_VERBS_CMD_DEALLOC_PD = 4,
1: + IB_USER_VERBS_CMD_CREATE_AH = 5,
1: + IB_USER_VERBS_CMD_MODIFY_AH = 6,
1: + IB_USER_VERBS_CMD_QUERY_AH = 7,
1: + IB_USER_VERBS_CMD_DESTROY_AH = 8,
1: + IB_USER_VERBS_CMD_REG_MR = 9,
1: + IB_USER_VERBS_CMD_REG_SMR = 10,
1: + IB_USER_VERBS_CMD_REREG_MR = 11,
1: + IB_USER_VERBS_CMD_QUERY_MR = 12,
1: + IB_USER_VERBS_CMD_DEREG_MR = 13,
1: + IB_USER_VERBS_CMD_ALLOC_MW = 14,
1: + IB_USER_VERBS_CMD_BIND_MW = 15,
1: + IB_USER_VERBS_CMD_DEALLOC_MW = 16,
1: + IB_USER_VERBS_CMD_CREATE_COMP_CHANNEL = 17,
1: + IB_USER_VERBS_CMD_CREATE_CQ = 18,
1: + IB_USER_VERBS_CMD_RESIZE_CQ = 19,
1: + IB_USER_VERBS_CMD_DESTROY_CQ = 20,
1: + IB_USER_VERBS_CMD_POLL_CQ = 21,
1: + IB_USER_VERBS_CMD_PEEK_CQ = 22,
1: + IB_USER_VERBS_CMD_REQ_NOTIFY_CQ = 23,
1: + IB_USER_VERBS_CMD_CREATE_QP = 24,
1: + IB_USER_VERBS_CMD_QUERY_QP = 25,
1: + IB_USER_VERBS_CMD_MODIFY_QP = 26,
1: + IB_USER_VERBS_CMD_DESTROY_QP = 27,
1: + IB_USER_VERBS_CMD_POST_SEND = 28,
1: + IB_USER_VERBS_CMD_POST_RECV = 29,
1: + IB_USER_VERBS_CMD_ATTACH_MCAST = 30,
1: + IB_USER_VERBS_CMD_DETACH_MCAST = 31,
1: + IB_USER_VERBS_CMD_CREATE_SRQ = 32,
1: + IB_USER_VERBS_CMD_MODIFY_SRQ = 33,
1: + IB_USER_VERBS_CMD_QUERY_SRQ = 34,
1: + IB_USER_VERBS_CMD_DESTROY_SRQ = 35,
1: + IB_USER_VERBS_CMD_POST_SRQ_RECV = 36,
1: + IB_USER_VERBS_CMD_OPEN_XRCD = 37,
1: + IB_USER_VERBS_CMD_CLOSE_XRCD = 38,
1: + IB_USER_VERBS_CMD_CREATE_XSRQ = 39,
1: + IB_USER_VERBS_CMD_OPEN_QP = 40,
1: +};
1: +
1: +enum ib_uverbs_create_qp_mask {
1: + IB_UVERBS_CREATE_QP_MASK_IND_TABLE = 1,
1: +};
1: +
1: +enum ib_uverbs_wr_opcode {
1: + IB_UVERBS_WR_RDMA_WRITE = 0,
1: + IB_UVERBS_WR_RDMA_WRITE_WITH_IMM = 1,
1: + IB_UVERBS_WR_SEND = 2,
1: + IB_UVERBS_WR_SEND_WITH_IMM = 3,
1: + IB_UVERBS_WR_RDMA_READ = 4,
1: + IB_UVERBS_WR_ATOMIC_CMP_AND_SWP = 5,
1: + IB_UVERBS_WR_ATOMIC_FETCH_AND_ADD = 6,
1: + IB_UVERBS_WR_LOCAL_INV = 7,
1: + IB_UVERBS_WR_BIND_MW = 8,
1: + IB_UVERBS_WR_SEND_WITH_INV = 9,
1: + IB_UVERBS_WR_TSO = 10,
1: + IB_UVERBS_WR_RDMA_READ_WITH_INV = 11,
1: + IB_UVERBS_WR_MASKED_ATOMIC_CMP_AND_SWP = 12,
1: + IB_UVERBS_WR_MASKED_ATOMIC_FETCH_AND_ADD = 13,
1: +};
1: +
1: +enum ib_uverbs_access_flags {
1: + IB_UVERBS_ACCESS_LOCAL_WRITE = 1,
1: + IB_UVERBS_ACCESS_REMOTE_WRITE = 2,
1: + IB_UVERBS_ACCESS_REMOTE_READ = 4,
1: + IB_UVERBS_ACCESS_REMOTE_ATOMIC = 8,
1: + IB_UVERBS_ACCESS_MW_BIND = 16,
1: + IB_UVERBS_ACCESS_ZERO_BASED = 32,
1: + IB_UVERBS_ACCESS_ON_DEMAND = 64,
1: + IB_UVERBS_ACCESS_HUGETLB = 128,
1: +};
1: +
1: +struct lsm_network_audit {
1: + int netif;
1: + struct sock *sk;
1: + u16 family;
1: + __be16 dport;
1: + __be16 sport;
1: + union {
1: + struct {
1: + __be32 daddr;
1: + __be32 saddr;
1: + } v4;
1: + struct {
1: + struct in6_addr daddr;
1: + struct in6_addr saddr;
1: + } v6;
1: + } fam;
1: +};
1: +
1: +struct lsm_ioctlop_audit {
1: + struct path path;
1: + u16 cmd;
1: +};
1: +
1: +struct lsm_ibpkey_audit {
1: + u64 subnet_prefix;
1: + u16 pkey;
1: +};
1: +
1: +struct lsm_ibendport_audit {
1: + char dev_name[64];
1: + u8 port;
1: +};
1: +
1: +struct selinux_state;
1: +
1: +struct selinux_audit_data {
1: + u32 ssid;
1: + u32 tsid;
1: + u16 tclass;
1: + u32 requested;
1: + u32 audited;
1: + u32 denied;
1: + int result;
1: + struct selinux_state *state;
1: +};
1: +
1: +struct common_audit_data {
1: + char type;
1: + union {
1: + struct path path;
1: + struct dentry *dentry;
1: + struct inode *inode;
1: + struct lsm_network_audit *net;
1: + int cap;
1: + int ipc_id;
1: + struct task_struct *tsk;
1: + struct {
1: + key_serial_t key;
1: + char *key_desc;
1: + } key_struct;
1: + char *kmod_name;
1: + struct lsm_ioctlop_audit *op;
1: + struct file *file;
1: + struct lsm_ibpkey_audit *ibpkey;
1: + struct lsm_ibendport_audit *ibendport;
1: + } u;
1: + union {
1: + struct selinux_audit_data *selinux_audit_data;
1: + };
1: +};
1: +
1: +enum {
1: + POLICYDB_CAPABILITY_NETPEER = 0,
1: + POLICYDB_CAPABILITY_OPENPERM = 1,
1: + POLICYDB_CAPABILITY_EXTSOCKCLASS = 2,
1: + POLICYDB_CAPABILITY_ALWAYSNETWORK = 3,
1: + POLICYDB_CAPABILITY_CGROUPSECLABEL = 4,
1: + POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION = 5,
1: + __POLICYDB_CAPABILITY_MAX = 6,
1: +};
1: +
1: +struct selinux_avc;
1: +
1: +struct selinux_ss;
1: +
1: +struct selinux_state {
1: + bool disabled;
1: + bool enforcing;
1: + bool checkreqprot;
1: + bool initialized;
1: + bool policycap[6];
1: + struct selinux_avc *avc;
1: + struct selinux_ss *ss;
1: +};
1: +
1: +struct avc_cache {
1: + struct hlist_head slots[512];
1: + spinlock_t slots_lock[512];
1: + atomic_t lru_hint;
1: + atomic_t active_nodes;
1: + u32 latest_notif;
1: +};
1: +
1: +struct selinux_avc {
1: + unsigned int avc_cache_threshold;
1: + struct avc_cache avc_cache;
1: +};
1: +
1: +struct av_decision {
1: + u32 allowed;
1: + u32 auditallow;
1: + u32 auditdeny;
1: + u32 seqno;
1: + u32 flags;
1: +};
1: +
1: +struct extended_perms_data {
1: + u32 p[8];
1: +};
1: +
1: +struct extended_perms_decision {
1: + u8 used;
1: + u8 driver;
1: + struct extended_perms_data *allowed;
1: + struct extended_perms_data *auditallow;
1: + struct extended_perms_data *dontaudit;
1: +};
1: +
1: +struct extended_perms {
1: + u16 len;
1: + struct extended_perms_data drivers;
1: +};
1: +
1: +struct avc_cache_stats {
1: + unsigned int lookups;
1: + unsigned int misses;
1: + unsigned int allocations;
1: + unsigned int reclaims;
1: + unsigned int frees;
1: +};
1: +
1: +struct security_class_mapping {
1: + const char *name;
1: + const char *perms[33];
1: +};
1: +
1: +struct avc_xperms_node;
1: +
1: +struct avc_entry {
1: + u32 ssid;
1: + u32 tsid;
1: + u16 tclass;
1: + struct av_decision avd;
1: + struct avc_xperms_node *xp_node;
1: +};
1: +
1: +struct avc_xperms_node {
1: + struct extended_perms xp;
1: + struct list_head xpd_head;
1: +};
1: +
1: +struct avc_node {
1: + struct avc_entry ae;
1: + struct hlist_node list;
1: + struct callback_head rhead;
1: +};
1: +
1: +struct avc_xperms_decision_node {
1: + struct extended_perms_decision xpd;
1: + struct list_head xpd_list;
1: +};
1: +
1: +struct avc_callback_node {
1: + int (*callback)(u32);
1: + u32 events;
1: + struct avc_callback_node *next;
1: +};
1: +
1: +typedef __u16 __sum16;
1: +
1: +enum sctp_endpoint_type {
1: + SCTP_EP_TYPE_SOCKET = 0,
1: + SCTP_EP_TYPE_ASSOCIATION = 1,
1: +};
1: +
1: +struct sctp_chunk;
1: +
1: +struct sctp_inq {
1: + struct list_head in_chunk_list;
1: + struct sctp_chunk *in_progress;
1: + struct work_struct immediate;
1: +};
1: +
1: +struct sctp_bind_addr {
1: + __u16 port;
1: + struct list_head address_list;
1: +};
1: +
1: +struct sctp_ep_common {
1: + struct hlist_node node;
1: + int hashent;
1: + enum sctp_endpoint_type type;
1: + refcount_t refcnt;
1: + bool dead;
1: + struct sock *sk;
1: + struct net *net;
1: + struct sctp_inq inqueue;
1: + struct sctp_bind_addr bind_addr;
1: +};
1: +
1: +struct sctp_hmac_algo_param;
1: +
1: +struct sctp_chunks_param;
1: +
1: +struct sctp_endpoint {
1: + struct sctp_ep_common base;
1: + struct list_head asocs;
1: + __u8 secret_key[32];
1: + __u8 *digest;
1: + __u32 sndbuf_policy;
1: + __u32 rcvbuf_policy;
1: + struct crypto_shash **auth_hmacs;
1: + struct sctp_hmac_algo_param *auth_hmacs_list;
1: + struct sctp_chunks_param *auth_chunk_list;
1: + struct list_head endpoint_shared_keys;
1: + __u16 active_key_id;
1: + __u8 ecn_enable: 1;
1: + __u8 auth_enable: 1;
1: + __u8 intl_enable: 1;
1: + __u8 prsctp_enable: 1;
1: + __u8 asconf_enable: 1;
1: + __u8 reconf_enable: 1;
1: + __u8 strreset_enable;
1: + u32 secid;
1: + u32 peer_secid;
1: +};
1: +
1: +struct inet_listen_hashbucket {
1: + spinlock_t lock;
1: + unsigned int count;
1: + union {
1: + struct hlist_head head;
1: + struct hlist_nulls_head nulls_head;
1: + };
1: +};
1: +
1: +struct inet_ehash_bucket;
1: +
1: +struct inet_bind_hashbucket;
1: +
1: +struct inet_hashinfo {
1: + struct inet_ehash_bucket *ehash;
1: + spinlock_t *ehash_locks;
1: + unsigned int ehash_mask;
1: + unsigned int ehash_locks_mask;
1: + struct kmem_cache *bind_bucket_cachep;
1: + struct inet_bind_hashbucket *bhash;
1: + unsigned int bhash_size;
1: + unsigned int lhash2_mask;
1: + struct inet_listen_hashbucket *lhash2;
1: + long: 64;
1: + struct inet_listen_hashbucket listening_hash[32];
1: +};
1: +
1: +struct tcp_fastopen_context {
1: + siphash_key_t key[2];
1: + int num;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct nf_hook_state;
1: +
1: +typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *);
1: +
1: +struct nf_hook_entry {
1: + nf_hookfn *hook;
1: + void *priv;
1: +};
1: +
1: +struct nf_hook_entries {
1: + u16 num_hook_entries;
1: + struct nf_hook_entry hooks[0];
1: +};
1: +
1: +struct nf_hook_state {
1: + unsigned int hook;
1: + u_int8_t pf;
1: + struct net_device *in;
1: + struct net_device *out;
1: + struct sock *sk;
1: + struct net *net;
1: + int (*okfn)(struct net *, struct sock *, struct sk_buff *);
1: +};
1: +
1: +struct nf_hook_ops {
1: + nf_hookfn *hook;
1: + struct net_device *dev;
1: + void *priv;
1: + u_int8_t pf;
1: + unsigned int hooknum;
1: + int priority;
1: +};
1: +
1: +enum nf_nat_manip_type {
1: + NF_NAT_MANIP_SRC = 0,
1: + NF_NAT_MANIP_DST = 1,
1: +};
1: +
1: +enum ip_conntrack_dir {
1: + IP_CT_DIR_ORIGINAL = 0,
1: + IP_CT_DIR_REPLY = 1,
1: + IP_CT_DIR_MAX = 2,
1: +};
1: +
1: +struct nf_conn;
1: +
1: +struct nf_nat_hook {
1: + int (*parse_nat_setup)(struct nf_conn *, enum nf_nat_manip_type, const struct nlattr *);
1: + void (*decode_session)(struct sk_buff *, struct flowi *);
1: + unsigned int (*manip_pkt)(struct sk_buff *, struct nf_conn *, enum nf_nat_manip_type, enum ip_conntrack_dir);
1: +};
1: +
1: +enum nf_ip_hook_priorities {
1: + NF_IP_PRI_FIRST = -2147483648,
1: + NF_IP_PRI_RAW_BEFORE_DEFRAG = -450,
1: + NF_IP_PRI_CONNTRACK_DEFRAG = -400,
1: + NF_IP_PRI_RAW = -300,
1: + NF_IP_PRI_SELINUX_FIRST = -225,
1: + NF_IP_PRI_CONNTRACK = -200,
1: + NF_IP_PRI_MANGLE = -150,
1: + NF_IP_PRI_NAT_DST = -100,
1: + NF_IP_PRI_FILTER = 0,
1: + NF_IP_PRI_SECURITY = 50,
1: + NF_IP_PRI_NAT_SRC = 100,
1: + NF_IP_PRI_SELINUX_LAST = 225,
1: + NF_IP_PRI_CONNTRACK_HELPER = 300,
1: + NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647,
1: + NF_IP_PRI_LAST = 2147483647,
1: +};
1: +
1: +enum nf_ip6_hook_priorities {
1: + NF_IP6_PRI_FIRST = -2147483648,
1: + NF_IP6_PRI_RAW_BEFORE_DEFRAG = -450,
1: + NF_IP6_PRI_CONNTRACK_DEFRAG = -400,
1: + NF_IP6_PRI_RAW = -300,
1: + NF_IP6_PRI_SELINUX_FIRST = -225,
1: + NF_IP6_PRI_CONNTRACK = -200,
1: + NF_IP6_PRI_MANGLE = -150,
1: + NF_IP6_PRI_NAT_DST = -100,
1: + NF_IP6_PRI_FILTER = 0,
1: + NF_IP6_PRI_SECURITY = 50,
1: + NF_IP6_PRI_NAT_SRC = 100,
1: + NF_IP6_PRI_SELINUX_LAST = 225,
1: + NF_IP6_PRI_CONNTRACK_HELPER = 300,
1: + NF_IP6_PRI_LAST = 2147483647,
1: +};
1: +
1: +enum {
1: + TCPF_ESTABLISHED = 2,
1: + TCPF_SYN_SENT = 4,
1: + TCPF_SYN_RECV = 8,
1: + TCPF_FIN_WAIT1 = 16,
1: + TCPF_FIN_WAIT2 = 32,
1: + TCPF_TIME_WAIT = 64,
1: + TCPF_CLOSE = 128,
1: + TCPF_CLOSE_WAIT = 256,
1: + TCPF_LAST_ACK = 512,
1: + TCPF_LISTEN = 1024,
1: + TCPF_CLOSING = 2048,
1: + TCPF_NEW_SYN_RECV = 4096,
1: +};
1: +
1: +struct sock_reuseport {
1: + struct callback_head rcu;
1: + u16 max_socks;
1: + u16 num_socks;
1: + unsigned int synq_overflow_ts;
1: + unsigned int reuseport_id;
1: + unsigned int bind_inany: 1;
1: + unsigned int has_conns: 1;
1: + struct bpf_prog *prog;
1: + struct sock *socks[0];
1: +};
1: +
1: +struct socket_alloc {
1: + struct socket socket;
1: + struct inode vfs_inode;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct ip_options {
1: + __be32 faddr;
1: + __be32 nexthop;
1: + unsigned char optlen;
1: + unsigned char srr;
1: + unsigned char rr;
1: + unsigned char ts;
1: + unsigned char is_strictroute: 1;
1: + unsigned char srr_is_hit: 1;
1: + unsigned char is_changed: 1;
1: + unsigned char rr_needaddr: 1;
1: + unsigned char ts_needtime: 1;
1: + unsigned char ts_needaddr: 1;
1: + unsigned char router_alert;
1: + unsigned char cipso;
1: + unsigned char __pad2;
1: + unsigned char __data[0];
1: +};
1: +
1: +struct ip_options_rcu {
1: + struct callback_head rcu;
1: + struct ip_options opt;
1: +};
1: +
1: +struct ipv6_opt_hdr;
1: +
1: +struct ipv6_rt_hdr;
1: +
1: +struct ipv6_txoptions {
1: + refcount_t refcnt;
1: + int tot_len;
1: + __u16 opt_flen;
1: + __u16 opt_nflen;
1: + struct ipv6_opt_hdr *hopopt;
1: + struct ipv6_opt_hdr *dst0opt;
1: + struct ipv6_rt_hdr *srcrt;
1: + struct ipv6_opt_hdr *dst1opt;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct inet_cork {
1: + unsigned int flags;
1: + __be32 addr;
1: + struct ip_options *opt;
1: + unsigned int fragsize;
1: + int length;
1: + struct dst_entry *dst;
1: + u8 tx_flags;
1: + __u8 ttl;
1: + __s16 tos;
1: + char priority;
1: + __u16 gso_size;
1: + u64 transmit_time;
1: + u32 mark;
1: +};
1: +
1: +struct inet_cork_full {
1: + struct inet_cork base;
1: + struct flowi fl;
1: +};
1: +
1: +struct ipv6_pinfo;
1: +
1: +struct ip_mc_socklist;
1: +
1: +struct inet_sock {
1: + struct sock sk;
1: + struct ipv6_pinfo *pinet6;
1: + __be32 inet_saddr;
1: + __s16 uc_ttl;
1: + __u16 cmsg_flags;
1: + __be16 inet_sport;
1: + __u16 inet_id;
1: + struct ip_options_rcu *inet_opt;
1: + int rx_dst_ifindex;
1: + __u8 tos;
1: + __u8 min_ttl;
1: + __u8 mc_ttl;
1: + __u8 pmtudisc;
1: + __u8 recverr: 1;
1: + __u8 is_icsk: 1;
1: + __u8 freebind: 1;
1: + __u8 hdrincl: 1;
1: + __u8 mc_loop: 1;
1: + __u8 transparent: 1;
1: + __u8 mc_all: 1;
1: + __u8 nodefrag: 1;
1: + __u8 bind_address_no_port: 1;
1: + __u8 defer_connect: 1;
1: + __u8 rcv_tos;
1: + __u8 convert_csum;
1: + int uc_index;
1: + int mc_index;
1: + __be32 mc_addr;
1: + struct ip_mc_socklist *mc_list;
1: + struct inet_cork_full cork;
1: +};
1: +
1: +struct in6_pktinfo {
1: + struct in6_addr ipi6_addr;
1: + int ipi6_ifindex;
1: +};
1: +
1: +struct inet6_cork {
1: + struct ipv6_txoptions *opt;
1: + u8 hop_limit;
1: + u8 tclass;
1: +};
1: +
1: +struct ipv6_mc_socklist;
1: +
1: +struct ipv6_ac_socklist;
1: +
1: +struct ipv6_fl_socklist;
1: +
1: +struct ipv6_pinfo {
1: + struct in6_addr saddr;
1: + struct in6_pktinfo sticky_pktinfo;
1: + const struct in6_addr *daddr_cache;
1: + __be32 flow_label;
1: + __u32 frag_size;
1: + __u16 __unused_1: 7;
1: + __s16 hop_limit: 9;
1: + __u16 mc_loop: 1;
1: + __u16 __unused_2: 6;
1: + __s16 mcast_hops: 9;
1: + int ucast_oif;
1: + int mcast_oif;
1: + union {
1: + struct {
1: + __u16 srcrt: 1;
1: + __u16 osrcrt: 1;
1: + __u16 rxinfo: 1;
1: + __u16 rxoinfo: 1;
1: + __u16 rxhlim: 1;
1: + __u16 rxohlim: 1;
1: + __u16 hopopts: 1;
1: + __u16 ohopopts: 1;
1: + __u16 dstopts: 1;
1: + __u16 odstopts: 1;
1: + __u16 rxflow: 1;
1: + __u16 rxtclass: 1;
1: + __u16 rxpmtu: 1;
1: + __u16 rxorigdstaddr: 1;
1: + __u16 recvfragsize: 1;
1: + } bits;
1: + __u16 all;
1: + } rxopt;
1: + __u16 recverr: 1;
1: + __u16 sndflow: 1;
1: + __u16 repflow: 1;
1: + __u16 pmtudisc: 3;
1: + __u16 padding: 1;
1: + __u16 srcprefs: 3;
1: + __u16 dontfrag: 1;
1: + __u16 autoflowlabel: 1;
1: + __u16 autoflowlabel_set: 1;
1: + __u16 mc_all: 1;
1: + __u16 rtalert_isolate: 1;
1: + __u8 min_hopcount;
1: + __u8 tclass;
1: + __be32 rcv_flowinfo;
1: + __u32 dst_cookie;
1: + __u32 rx_dst_cookie;
1: + struct ipv6_mc_socklist *ipv6_mc_list;
1: + struct ipv6_ac_socklist *ipv6_ac_list;
1: + struct ipv6_fl_socklist *ipv6_fl_list;
1: + struct ipv6_txoptions *opt;
1: + struct sk_buff *pktoptions;
1: + struct sk_buff *rxpmtu;
1: + struct inet6_cork cork;
1: +};
1: +
1: +struct tcphdr {
1: + __be16 source;
1: + __be16 dest;
1: + __be32 seq;
1: + __be32 ack_seq;
1: + __u16 res1: 4;
1: + __u16 doff: 4;
1: + __u16 fin: 1;
1: + __u16 syn: 1;
1: + __u16 rst: 1;
1: + __u16 psh: 1;
1: + __u16 ack: 1;
1: + __u16 urg: 1;
1: + __u16 ece: 1;
1: + __u16 cwr: 1;
1: + __be16 window;
1: + __sum16 check;
1: + __be16 urg_ptr;
1: +};
1: +
1: +struct iphdr {
1: + __u8 ihl: 4;
1: + __u8 version: 4;
1: + __u8 tos;
1: + __be16 tot_len;
1: + __be16 id;
1: + __be16 frag_off;
1: + __u8 ttl;
1: + __u8 protocol;
1: + __sum16 check;
1: + __be32 saddr;
1: + __be32 daddr;
1: +};
1: +
1: +struct ipv6_rt_hdr {
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: + __u8 type;
1: + __u8 segments_left;
1: +};
1: +
1: +struct ipv6_opt_hdr {
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: +};
1: +
1: +struct ipv6hdr {
1: + __u8 priority: 4;
1: + __u8 version: 4;
1: + __u8 flow_lbl[3];
1: + __be16 payload_len;
1: + __u8 nexthdr;
1: + __u8 hop_limit;
1: + struct in6_addr saddr;
1: + struct in6_addr daddr;
1: +};
1: +
1: +struct udphdr {
1: + __be16 source;
1: + __be16 dest;
1: + __be16 len;
1: + __sum16 check;
1: +};
1: +
1: +struct inet6_skb_parm {
1: + int iif;
1: + __be16 ra;
1: + __u16 dst0;
1: + __u16 srcrt;
1: + __u16 dst1;
1: + __u16 lastopt;
1: + __u16 nhoff;
1: + __u16 flags;
1: + __u16 frag_max_size;
1: +};
1: +
1: +struct ip6_sf_socklist;
1: +
1: +struct ipv6_mc_socklist {
1: + struct in6_addr addr;
1: + int ifindex;
1: + unsigned int sfmode;
1: + struct ipv6_mc_socklist *next;
1: + rwlock_t sflock;
1: + struct ip6_sf_socklist *sflist;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct ipv6_ac_socklist {
1: + struct in6_addr acl_addr;
1: + int acl_ifindex;
1: + struct ipv6_ac_socklist *acl_next;
1: +};
1: +
1: +struct ip6_flowlabel;
1: +
1: +struct ipv6_fl_socklist {
1: + struct ipv6_fl_socklist *next;
1: + struct ip6_flowlabel *fl;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct ip6_sf_socklist {
1: + unsigned int sl_max;
1: + unsigned int sl_count;
1: + struct in6_addr sl_addr[0];
1: +};
1: +
1: +struct ip6_flowlabel {
1: + struct ip6_flowlabel *next;
1: + __be32 label;
1: + atomic_t users;
1: + struct in6_addr dst;
1: + struct ipv6_txoptions *opt;
1: + long unsigned int linger;
1: + struct callback_head rcu;
1: + u8 share;
1: + union {
1: + struct pid *pid;
1: + kuid_t uid;
1: + } owner;
1: + long unsigned int lastuse;
1: + long unsigned int expires;
1: + struct net *fl_net;
1: +};
1: +
1: +struct inet_ehash_bucket {
1: + struct hlist_nulls_head chain;
1: +};
1: +
1: +struct inet_bind_hashbucket {
1: + spinlock_t lock;
1: + struct hlist_head chain;
1: +};
1: +
1: +struct inet_skb_parm {
1: + int iif;
1: + struct ip_options opt;
1: + u16 flags;
1: + u16 frag_max_size;
1: +};
1: +
1: +struct ack_sample {
1: + u32 pkts_acked;
1: + s32 rtt_us;
1: + u32 in_flight;
1: +};
1: +
1: +struct rate_sample {
1: + u64 prior_mstamp;
1: + u32 prior_delivered;
1: + s32 delivered;
1: + long int interval_us;
1: + u32 snd_interval_us;
1: + u32 rcv_interval_us;
1: + long int rtt_us;
1: + int losses;
1: + u32 acked_sacked;
1: + u32 prior_in_flight;
1: + bool is_app_limited;
1: + bool is_retrans;
1: + bool is_ack_delayed;
1: +};
1: +
1: +struct nf_ipv6_ops {
1: + void (*route_input)(struct sk_buff *);
1: + int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *));
1: + int (*reroute)(struct sk_buff *, const struct nf_queue_entry *);
1: +};
1: +
1: +struct nf_queue_entry {
1: + struct list_head list;
1: + struct sk_buff *skb;
1: + unsigned int id;
1: + unsigned int hook_index;
1: + struct nf_hook_state state;
1: + u16 size;
1: +};
1: +
1: +struct tty_file_private {
1: + struct tty_struct *tty;
1: + struct file *file;
1: + struct list_head list;
1: +};
1: +
1: +struct netlbl_lsm_cache {
1: + refcount_t refcount;
1: + void (*free)(const void *);
1: + void *data;
1: +};
1: +
1: +struct netlbl_lsm_catmap {
1: + u32 startbit;
1: + u64 bitmap[4];
1: + struct netlbl_lsm_catmap *next;
1: +};
1: +
1: +struct netlbl_lsm_secattr {
1: + u32 flags;
1: + u32 type;
1: + char *domain;
1: + struct netlbl_lsm_cache *cache;
1: + struct {
1: + struct {
1: + struct netlbl_lsm_catmap *cat;
1: + u32 lvl;
1: + } mls;
1: + u32 secid;
1: + } attr;
1: +};
1: +
1: +struct dccp_hdr {
1: + __be16 dccph_sport;
1: + __be16 dccph_dport;
1: + __u8 dccph_doff;
1: + __u8 dccph_cscov: 4;
1: + __u8 dccph_ccval: 4;
1: + __sum16 dccph_checksum;
1: + __u8 dccph_x: 1;
1: + __u8 dccph_type: 4;
1: + __u8 dccph_reserved: 3;
1: + __u8 dccph_seq2;
1: + __be16 dccph_seq;
1: +};
1: +
1: +enum dccp_state {
1: + DCCP_OPEN = 1,
1: + DCCP_REQUESTING = 2,
1: + DCCP_LISTEN = 10,
1: + DCCP_RESPOND = 3,
1: + DCCP_ACTIVE_CLOSEREQ = 4,
1: + DCCP_PASSIVE_CLOSE = 8,
1: + DCCP_CLOSING = 11,
1: + DCCP_TIME_WAIT = 6,
1: + DCCP_CLOSED = 7,
1: + DCCP_NEW_SYN_RECV = 12,
1: + DCCP_PARTOPEN = 13,
1: + DCCP_PASSIVE_CLOSEREQ = 14,
1: + DCCP_MAX_STATES = 15,
1: +};
1: +
1: +typedef __s32 sctp_assoc_t;
1: +
1: +enum sctp_msg_flags {
1: + MSG_NOTIFICATION = 32768,
1: +};
1: +
1: +struct sctp_initmsg {
1: + __u16 sinit_num_ostreams;
1: + __u16 sinit_max_instreams;
1: + __u16 sinit_max_attempts;
1: + __u16 sinit_max_init_timeo;
1: +};
1: +
1: +struct sctp_sndrcvinfo {
1: + __u16 sinfo_stream;
1: + __u16 sinfo_ssn;
1: + __u16 sinfo_flags;
1: + __u32 sinfo_ppid;
1: + __u32 sinfo_context;
1: + __u32 sinfo_timetolive;
1: + __u32 sinfo_tsn;
1: + __u32 sinfo_cumtsn;
1: + sctp_assoc_t sinfo_assoc_id;
1: +};
1: +
1: +struct sctp_rtoinfo {
1: + sctp_assoc_t srto_assoc_id;
1: + __u32 srto_initial;
1: + __u32 srto_max;
1: + __u32 srto_min;
1: +};
1: +
1: +struct sctp_assocparams {
1: + sctp_assoc_t sasoc_assoc_id;
1: + __u16 sasoc_asocmaxrxt;
1: + __u16 sasoc_number_peer_destinations;
1: + __u32 sasoc_peer_rwnd;
1: + __u32 sasoc_local_rwnd;
1: + __u32 sasoc_cookie_life;
1: +};
1: +
1: +struct sctp_paddrparams {
1: + sctp_assoc_t spp_assoc_id;
1: + struct __kernel_sockaddr_storage spp_address;
1: + __u32 spp_hbinterval;
1: + __u16 spp_pathmaxrxt;
1: + __u32 spp_pathmtu;
1: + __u32 spp_sackdelay;
1: + __u32 spp_flags;
1: + __u32 spp_ipv6_flowlabel;
1: + __u8 spp_dscp;
1: + char: 8;
1: +} __attribute__((packed));
1: +
1: +struct sctphdr {
1: + __be16 source;
1: + __be16 dest;
1: + __be32 vtag;
1: + __le32 checksum;
1: +};
1: +
1: +struct sctp_chunkhdr {
1: + __u8 type;
1: + __u8 flags;
1: + __be16 length;
1: +};
1: +
1: +enum sctp_cid {
1: + SCTP_CID_DATA = 0,
1: + SCTP_CID_INIT = 1,
1: + SCTP_CID_INIT_ACK = 2,
1: + SCTP_CID_SACK = 3,
1: + SCTP_CID_HEARTBEAT = 4,
1: + SCTP_CID_HEARTBEAT_ACK = 5,
1: + SCTP_CID_ABORT = 6,
1: + SCTP_CID_SHUTDOWN = 7,
1: + SCTP_CID_SHUTDOWN_ACK = 8,
1: + SCTP_CID_ERROR = 9,
1: + SCTP_CID_COOKIE_ECHO = 10,
1: + SCTP_CID_COOKIE_ACK = 11,
1: + SCTP_CID_ECN_ECNE = 12,
1: + SCTP_CID_ECN_CWR = 13,
1: + SCTP_CID_SHUTDOWN_COMPLETE = 14,
1: + SCTP_CID_AUTH = 15,
1: + SCTP_CID_I_DATA = 64,
1: + SCTP_CID_FWD_TSN = 192,
1: + SCTP_CID_ASCONF = 193,
1: + SCTP_CID_I_FWD_TSN = 194,
1: + SCTP_CID_ASCONF_ACK = 128,
1: + SCTP_CID_RECONF = 130,
1: +};
1: +
1: +struct sctp_paramhdr {
1: + __be16 type;
1: + __be16 length;
1: +};
1: +
1: +enum sctp_param {
1: + SCTP_PARAM_HEARTBEAT_INFO = 256,
1: + SCTP_PARAM_IPV4_ADDRESS = 1280,
1: + SCTP_PARAM_IPV6_ADDRESS = 1536,
1: + SCTP_PARAM_STATE_COOKIE = 1792,
1: + SCTP_PARAM_UNRECOGNIZED_PARAMETERS = 2048,
1: + SCTP_PARAM_COOKIE_PRESERVATIVE = 2304,
1: + SCTP_PARAM_HOST_NAME_ADDRESS = 2816,
1: + SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = 3072,
1: + SCTP_PARAM_ECN_CAPABLE = 128,
1: + SCTP_PARAM_RANDOM = 640,
1: + SCTP_PARAM_CHUNKS = 896,
1: + SCTP_PARAM_HMAC_ALGO = 1152,
1: + SCTP_PARAM_SUPPORTED_EXT = 2176,
1: + SCTP_PARAM_FWD_TSN_SUPPORT = 192,
1: + SCTP_PARAM_ADD_IP = 448,
1: + SCTP_PARAM_DEL_IP = 704,
1: + SCTP_PARAM_ERR_CAUSE = 960,
1: + SCTP_PARAM_SET_PRIMARY = 1216,
1: + SCTP_PARAM_SUCCESS_REPORT = 1472,
1: + SCTP_PARAM_ADAPTATION_LAYER_IND = 1728,
1: + SCTP_PARAM_RESET_OUT_REQUEST = 3328,
1: + SCTP_PARAM_RESET_IN_REQUEST = 3584,
1: + SCTP_PARAM_RESET_TSN_REQUEST = 3840,
1: + SCTP_PARAM_RESET_RESPONSE = 4096,
1: + SCTP_PARAM_RESET_ADD_OUT_STREAMS = 4352,
1: + SCTP_PARAM_RESET_ADD_IN_STREAMS = 4608,
1: +};
1: +
1: +struct sctp_datahdr {
1: + __be32 tsn;
1: + __be16 stream;
1: + __be16 ssn;
1: + __u32 ppid;
1: + __u8 payload[0];
1: +};
1: +
1: +struct sctp_idatahdr {
1: + __be32 tsn;
1: + __be16 stream;
1: + __be16 reserved;
1: + __be32 mid;
1: + union {
1: + __u32 ppid;
1: + __be32 fsn;
1: + };
1: + __u8 payload[0];
1: +};
1: +
1: +struct sctp_inithdr {
1: + __be32 init_tag;
1: + __be32 a_rwnd;
1: + __be16 num_outbound_streams;
1: + __be16 num_inbound_streams;
1: + __be32 initial_tsn;
1: + __u8 params[0];
1: +};
1: +
1: +struct sctp_init_chunk {
1: + struct sctp_chunkhdr chunk_hdr;
1: + struct sctp_inithdr init_hdr;
1: +};
1: +
1: +struct sctp_ipv4addr_param {
1: + struct sctp_paramhdr param_hdr;
1: + struct in_addr addr;
1: +};
1: +
1: +struct sctp_ipv6addr_param {
1: + struct sctp_paramhdr param_hdr;
1: + struct in6_addr addr;
1: +};
1: +
1: +struct sctp_cookie_preserve_param {
1: + struct sctp_paramhdr param_hdr;
1: + __be32 lifespan_increment;
1: +};
1: +
1: +struct sctp_hostname_param {
1: + struct sctp_paramhdr param_hdr;
1: + uint8_t hostname[0];
1: +};
1: +
1: +struct sctp_supported_addrs_param {
1: + struct sctp_paramhdr param_hdr;
1: + __be16 types[0];
1: +};
1: +
1: +struct sctp_adaptation_ind_param {
1: + struct sctp_paramhdr param_hdr;
1: + __be32 adaptation_ind;
1: +};
1: +
1: +struct sctp_supported_ext_param {
1: + struct sctp_paramhdr param_hdr;
1: + __u8 chunks[0];
1: +};
1: +
1: +struct sctp_random_param {
1: + struct sctp_paramhdr param_hdr;
1: + __u8 random_val[0];
1: +};
1: +
1: +struct sctp_chunks_param {
1: + struct sctp_paramhdr param_hdr;
1: + __u8 chunks[0];
1: +};
1: +
1: +struct sctp_hmac_algo_param {
1: + struct sctp_paramhdr param_hdr;
1: + __be16 hmac_ids[0];
1: +};
1: +
1: +struct sctp_cookie_param {
1: + struct sctp_paramhdr p;
1: + __u8 body[0];
1: +};
1: +
1: +struct sctp_gap_ack_block {
1: + __be16 start;
1: + __be16 end;
1: +};
1: +
1: +union sctp_sack_variable {
1: + struct sctp_gap_ack_block gab;
1: + __be32 dup;
1: +};
1: +
1: +struct sctp_sackhdr {
1: + __be32 cum_tsn_ack;
1: + __be32 a_rwnd;
1: + __be16 num_gap_ack_blocks;
1: + __be16 num_dup_tsns;
1: + union sctp_sack_variable variable[0];
1: +};
1: +
1: +struct sctp_heartbeathdr {
1: + struct sctp_paramhdr info;
1: +};
1: +
1: +struct sctp_shutdownhdr {
1: + __be32 cum_tsn_ack;
1: +};
1: +
1: +struct sctp_errhdr {
1: + __be16 cause;
1: + __be16 length;
1: + __u8 variable[0];
1: +};
1: +
1: +struct sctp_ecnehdr {
1: + __be32 lowest_tsn;
1: +};
1: +
1: +struct sctp_cwrhdr {
1: + __be32 lowest_tsn;
1: +};
1: +
1: +struct sctp_fwdtsn_skip {
1: + __be16 stream;
1: + __be16 ssn;
1: +};
1: +
1: +struct sctp_fwdtsn_hdr {
1: + __be32 new_cum_tsn;
1: + struct sctp_fwdtsn_skip skip[0];
1: +};
1: +
1: +struct sctp_ifwdtsn_skip {
1: + __be16 stream;
1: + __u8 reserved;
1: + __u8 flags;
1: + __be32 mid;
1: +};
1: +
1: +struct sctp_ifwdtsn_hdr {
1: + __be32 new_cum_tsn;
1: + struct sctp_ifwdtsn_skip skip[0];
1: +};
1: +
1: +struct sctp_addip_param {
1: + struct sctp_paramhdr param_hdr;
1: + __be32 crr_id;
1: +};
1: +
1: +struct sctp_addiphdr {
1: + __be32 serial;
1: + __u8 params[0];
1: +};
1: +
1: +struct sctp_authhdr {
1: + __be16 shkey_id;
1: + __be16 hmac_id;
1: + __u8 hmac[0];
1: +};
1: +
1: +union sctp_addr {
1: + struct sockaddr_in v4;
1: + struct sockaddr_in6 v6;
1: + struct sockaddr sa;
1: +};
1: +
1: +struct sctp_cookie {
1: + __u32 my_vtag;
1: + __u32 peer_vtag;
1: + __u32 my_ttag;
1: + __u32 peer_ttag;
1: + ktime_t expiration;
1: + __u16 sinit_num_ostreams;
1: + __u16 sinit_max_instreams;
1: + __u32 initial_tsn;
1: + union sctp_addr peer_addr;
1: + __u16 my_port;
1: + __u8 prsctp_capable;
1: + __u8 padding;
1: + __u32 adaptation_ind;
1: + __u8 auth_random[36];
1: + __u8 auth_hmacs[10];
1: + __u8 auth_chunks[20];
1: + __u32 raw_addr_list_len;
1: + struct sctp_init_chunk peer_init[0];
1: +};
1: +
1: +struct sctp_tsnmap {
1: + long unsigned int *tsn_map;
1: + __u32 base_tsn;
1: + __u32 cumulative_tsn_ack_point;
1: + __u32 max_tsn_seen;
1: + __u16 len;
1: + __u16 pending_data;
1: + __u16 num_dup_tsns;
1: + __be32 dup_tsns[16];
1: +};
1: +
1: +struct sctp_inithdr_host {
1: + __u32 init_tag;
1: + __u32 a_rwnd;
1: + __u16 num_outbound_streams;
1: + __u16 num_inbound_streams;
1: + __u32 initial_tsn;
1: +};
1: +
1: +enum sctp_state {
1: + SCTP_STATE_CLOSED = 0,
1: + SCTP_STATE_COOKIE_WAIT = 1,
1: + SCTP_STATE_COOKIE_ECHOED = 2,
1: + SCTP_STATE_ESTABLISHED = 3,
1: + SCTP_STATE_SHUTDOWN_PENDING = 4,
1: + SCTP_STATE_SHUTDOWN_SENT = 5,
1: + SCTP_STATE_SHUTDOWN_RECEIVED = 6,
1: + SCTP_STATE_SHUTDOWN_ACK_SENT = 7,
1: +};
1: +
1: +struct sctp_stream_out_ext;
1: +
1: +struct sctp_stream_out {
1: + union {
1: + __u32 mid;
1: + __u16 ssn;
1: + };
1: + __u32 mid_uo;
1: + struct sctp_stream_out_ext *ext;
1: + __u8 state;
1: +};
1: +
1: +struct sctp_stream_in {
1: + union {
1: + __u32 mid;
1: + __u16 ssn;
1: + };
1: + __u32 mid_uo;
1: + __u32 fsn;
1: + __u32 fsn_uo;
1: + char pd_mode;
1: + char pd_mode_uo;
1: +};
1: +
1: +struct sctp_stream_interleave;
1: +
1: +struct sctp_stream {
1: + struct {
1: + struct __genradix tree;
1: + struct sctp_stream_out type[0];
1: + } out;
1: + struct {
1: + struct __genradix tree;
1: + struct sctp_stream_in type[0];
1: + } in;
1: + __u16 outcnt;
1: + __u16 incnt;
1: + struct sctp_stream_out *out_curr;
1: + union {
1: + struct {
1: + struct list_head prio_list;
1: + };
1: + struct {
1: + struct list_head rr_list;
1: + struct sctp_stream_out_ext *rr_next;
1: + };
1: + };
1: + struct sctp_stream_interleave *si;
1: +};
1: +
1: +struct sctp_sched_ops;
1: +
1: +struct sctp_association;
1: +
1: +struct sctp_outq {
1: + struct sctp_association *asoc;
1: + struct list_head out_chunk_list;
1: + struct sctp_sched_ops *sched;
1: + unsigned int out_qlen;
1: + unsigned int error;
1: + struct list_head control_chunk_list;
1: + struct list_head sacked;
1: + struct list_head retransmit;
1: + struct list_head abandoned;
1: + __u32 outstanding_bytes;
1: + char fast_rtx;
1: + char cork;
1: +};
1: +
1: +struct sctp_ulpq {
1: + char pd_mode;
1: + struct sctp_association *asoc;
1: + struct sk_buff_head reasm;
1: + struct sk_buff_head reasm_uo;
1: + struct sk_buff_head lobby;
1: +};
1: +
1: +struct sctp_priv_assoc_stats {
1: + struct __kernel_sockaddr_storage obs_rto_ipaddr;
1: + __u64 max_obs_rto;
1: + __u64 isacks;
1: + __u64 osacks;
1: + __u64 opackets;
1: + __u64 ipackets;
1: + __u64 rtxchunks;
1: + __u64 outofseqtsns;
1: + __u64 idupchunks;
1: + __u64 gapcnt;
1: + __u64 ouodchunks;
1: + __u64 iuodchunks;
1: + __u64 oodchunks;
1: + __u64 iodchunks;
1: + __u64 octrlchunks;
1: + __u64 ictrlchunks;
1: +};
1: +
1: +struct sctp_transport;
1: +
1: +struct sctp_auth_bytes;
1: +
1: +struct sctp_shared_key;
1: +
1: +struct sctp_association {
1: + struct sctp_ep_common base;
1: + struct list_head asocs;
1: + sctp_assoc_t assoc_id;
1: + struct sctp_endpoint *ep;
1: + struct sctp_cookie c;
1: + struct {
1: + struct list_head transport_addr_list;
1: + __u32 rwnd;
1: + __u16 transport_count;
1: + __u16 port;
1: + struct sctp_transport *primary_path;
1: + union sctp_addr primary_addr;
1: + struct sctp_transport *active_path;
1: + struct sctp_transport *retran_path;
1: + struct sctp_transport *last_sent_to;
1: + struct sctp_transport *last_data_from;
1: + struct sctp_tsnmap tsn_map;
1: + __be16 addip_disabled_mask;
1: + __u16 ecn_capable: 1;
1: + __u16 ipv4_address: 1;
1: + __u16 ipv6_address: 1;
1: + __u16 hostname_address: 1;
1: + __u16 asconf_capable: 1;
1: + __u16 prsctp_capable: 1;
1: + __u16 reconf_capable: 1;
1: + __u16 intl_capable: 1;
1: + __u16 auth_capable: 1;
1: + __u16 sack_needed: 1;
1: + __u16 sack_generation: 1;
1: + __u16 zero_window_announced: 1;
1: + __u32 sack_cnt;
1: + __u32 adaptation_ind;
1: + struct sctp_inithdr_host i;
1: + void *cookie;
1: + int cookie_len;
1: + __u32 addip_serial;
1: + struct sctp_random_param *peer_random;
1: + struct sctp_chunks_param *peer_chunks;
1: + struct sctp_hmac_algo_param *peer_hmacs;
1: + } peer;
1: + enum sctp_state state;
1: + int overall_error_count;
1: + ktime_t cookie_life;
1: + long unsigned int rto_initial;
1: + long unsigned int rto_max;
1: + long unsigned int rto_min;
1: + int max_burst;
1: + int max_retrans;
1: + __u16 pf_retrans;
1: + __u16 ps_retrans;
1: + __u16 max_init_attempts;
1: + __u16 init_retries;
1: + long unsigned int max_init_timeo;
1: + long unsigned int hbinterval;
1: + __u16 pathmaxrxt;
1: + __u32 flowlabel;
1: + __u8 dscp;
1: + __u8 pmtu_pending;
1: + __u32 pathmtu;
1: + __u32 param_flags;
1: + __u32 sackfreq;
1: + long unsigned int sackdelay;
1: + long unsigned int timeouts[11];
1: + struct timer_list timers[11];
1: + struct sctp_transport *shutdown_last_sent_to;
1: + struct sctp_transport *init_last_sent_to;
1: + int shutdown_retries;
1: + __u32 next_tsn;
1: + __u32 ctsn_ack_point;
1: + __u32 adv_peer_ack_point;
1: + __u32 highest_sacked;
1: + __u32 fast_recovery_exit;
1: + __u8 fast_recovery;
1: + __u16 unack_data;
1: + __u32 rtx_data_chunks;
1: + __u32 rwnd;
1: + __u32 a_rwnd;
1: + __u32 rwnd_over;
1: + __u32 rwnd_press;
1: + int sndbuf_used;
1: + atomic_t rmem_alloc;
1: + wait_queue_head_t wait;
1: + __u32 frag_point;
1: + __u32 user_frag;
1: + int init_err_counter;
1: + int init_cycle;
1: + __u16 default_stream;
1: + __u16 default_flags;
1: + __u32 default_ppid;
1: + __u32 default_context;
1: + __u32 default_timetolive;
1: + __u32 default_rcv_context;
1: + struct sctp_stream stream;
1: + struct sctp_outq outqueue;
1: + struct sctp_ulpq ulpq;
1: + __u32 last_ecne_tsn;
1: + __u32 last_cwr_tsn;
1: + int numduptsns;
1: + struct sctp_chunk *addip_last_asconf;
1: + struct list_head asconf_ack_list;
1: + struct list_head addip_chunk_list;
1: + __u32 addip_serial;
1: + int src_out_of_asoc_ok;
1: + union sctp_addr *asconf_addr_del_pending;
1: + struct sctp_transport *new_transport;
1: + struct list_head endpoint_shared_keys;
1: + struct sctp_auth_bytes *asoc_shared_key;
1: + struct sctp_shared_key *shkey;
1: + __u16 default_hmac_id;
1: + __u16 active_key_id;
1: + __u8 need_ecne: 1;
1: + __u8 temp: 1;
1: + __u8 pf_expose: 2;
1: + __u8 force_delay: 1;
1: + __u8 strreset_enable;
1: + __u8 strreset_outstanding;
1: + __u32 strreset_outseq;
1: + __u32 strreset_inseq;
1: + __u32 strreset_result[2];
1: + struct sctp_chunk *strreset_chunk;
1: + struct sctp_priv_assoc_stats stats;
1: + int sent_cnt_removable;
1: + __u16 subscribe;
1: + __u64 abandoned_unsent[3];
1: + __u64 abandoned_sent[3];
1: + struct callback_head rcu;
1: +};
1: +
1: +struct sctp_auth_bytes {
1: + refcount_t refcnt;
1: + __u32 len;
1: + __u8 data[0];
1: +};
1: +
1: +struct sctp_shared_key {
1: + struct list_head key_list;
1: + struct sctp_auth_bytes *key;
1: + refcount_t refcnt;
1: + __u16 key_id;
1: + __u8 deactivated;
1: +};
1: +
1: +enum {
1: + SCTP_MAX_STREAM = 65535,
1: +};
1: +
1: +enum sctp_event_timeout {
1: + SCTP_EVENT_TIMEOUT_NONE = 0,
1: + SCTP_EVENT_TIMEOUT_T1_COOKIE = 1,
1: + SCTP_EVENT_TIMEOUT_T1_INIT = 2,
1: + SCTP_EVENT_TIMEOUT_T2_SHUTDOWN = 3,
1: + SCTP_EVENT_TIMEOUT_T3_RTX = 4,
1: + SCTP_EVENT_TIMEOUT_T4_RTO = 5,
1: + SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD = 6,
1: + SCTP_EVENT_TIMEOUT_HEARTBEAT = 7,
1: + SCTP_EVENT_TIMEOUT_RECONF = 8,
1: + SCTP_EVENT_TIMEOUT_SACK = 9,
1: + SCTP_EVENT_TIMEOUT_AUTOCLOSE = 10,
1: +};
1: +
1: +enum {
1: + SCTP_MAX_DUP_TSNS = 16,
1: +};
1: +
1: +enum sctp_scope {
1: + SCTP_SCOPE_GLOBAL = 0,
1: + SCTP_SCOPE_PRIVATE = 1,
1: + SCTP_SCOPE_LINK = 2,
1: + SCTP_SCOPE_LOOPBACK = 3,
1: + SCTP_SCOPE_UNUSABLE = 4,
1: +};
1: +
1: +enum {
1: + SCTP_AUTH_HMAC_ID_RESERVED_0 = 0,
1: + SCTP_AUTH_HMAC_ID_SHA1 = 1,
1: + SCTP_AUTH_HMAC_ID_RESERVED_2 = 2,
1: + SCTP_AUTH_HMAC_ID_SHA256 = 3,
1: + __SCTP_AUTH_HMAC_MAX = 4,
1: +};
1: +
1: +struct sctp_ulpevent {
1: + struct sctp_association *asoc;
1: + struct sctp_chunk *chunk;
1: + unsigned int rmem_len;
1: + union {
1: + __u32 mid;
1: + __u16 ssn;
1: + };
1: + union {
1: + __u32 ppid;
1: + __u32 fsn;
1: + };
1: + __u32 tsn;
1: + __u32 cumtsn;
1: + __u16 stream;
1: + __u16 flags;
1: + __u16 msg_flags;
1: +} __attribute__((packed));
1: +
1: +union sctp_addr_param;
1: +
1: +union sctp_params {
1: + void *v;
1: + struct sctp_paramhdr *p;
1: + struct sctp_cookie_preserve_param *life;
1: + struct sctp_hostname_param *dns;
1: + struct sctp_cookie_param *cookie;
1: + struct sctp_supported_addrs_param *sat;
1: + struct sctp_ipv4addr_param *v4;
1: + struct sctp_ipv6addr_param *v6;
1: + union sctp_addr_param *addr;
1: + struct sctp_adaptation_ind_param *aind;
1: + struct sctp_supported_ext_param *ext;
1: + struct sctp_random_param *random;
1: + struct sctp_chunks_param *chunks;
1: + struct sctp_hmac_algo_param *hmac_algo;
1: + struct sctp_addip_param *addip;
1: +};
1: +
1: +struct sctp_sender_hb_info;
1: +
1: +struct sctp_signed_cookie;
1: +
1: +struct sctp_datamsg;
1: +
1: +struct sctp_chunk {
1: + struct list_head list;
1: + refcount_t refcnt;
1: + int sent_count;
1: + union {
1: + struct list_head transmitted_list;
1: + struct list_head stream_list;
1: + };
1: + struct list_head frag_list;
1: + struct sk_buff *skb;
1: + union {
1: + struct sk_buff *head_skb;
1: + struct sctp_shared_key *shkey;
1: + };
1: + union sctp_params param_hdr;
1: + union {
1: + __u8 *v;
1: + struct sctp_datahdr *data_hdr;
1: + struct sctp_inithdr *init_hdr;
1: + struct sctp_sackhdr *sack_hdr;
1: + struct sctp_heartbeathdr *hb_hdr;
1: + struct sctp_sender_hb_info *hbs_hdr;
1: + struct sctp_shutdownhdr *shutdown_hdr;
1: + struct sctp_signed_cookie *cookie_hdr;
1: + struct sctp_ecnehdr *ecne_hdr;
1: + struct sctp_cwrhdr *ecn_cwr_hdr;
1: + struct sctp_errhdr *err_hdr;
1: + struct sctp_addiphdr *addip_hdr;
1: + struct sctp_fwdtsn_hdr *fwdtsn_hdr;
1: + struct sctp_authhdr *auth_hdr;
1: + struct sctp_idatahdr *idata_hdr;
1: + struct sctp_ifwdtsn_hdr *ifwdtsn_hdr;
1: + } subh;
1: + __u8 *chunk_end;
1: + struct sctp_chunkhdr *chunk_hdr;
1: + struct sctphdr *sctp_hdr;
1: + struct sctp_sndrcvinfo sinfo;
1: + struct sctp_association *asoc;
1: + struct sctp_ep_common *rcvr;
1: + long unsigned int sent_at;
1: + union sctp_addr source;
1: + union sctp_addr dest;
1: + struct sctp_datamsg *msg;
1: + struct sctp_transport *transport;
1: + struct sk_buff *auth_chunk;
1: + __u16 rtt_in_progress: 1;
1: + __u16 has_tsn: 1;
1: + __u16 has_ssn: 1;
1: + __u16 singleton: 1;
1: + __u16 end_of_packet: 1;
1: + __u16 ecn_ce_done: 1;
1: + __u16 pdiscard: 1;
1: + __u16 tsn_gap_acked: 1;
1: + __u16 data_accepted: 1;
1: + __u16 auth: 1;
1: + __u16 has_asconf: 1;
1: + __u16 tsn_missing_report: 2;
1: + __u16 fast_retransmit: 2;
1: +};
1: +
1: +struct sctp_stream_interleave {
1: + __u16 data_chunk_len;
1: + __u16 ftsn_chunk_len;
1: + struct sctp_chunk * (*make_datafrag)(const struct sctp_association *, const struct sctp_sndrcvinfo *, int, __u8, gfp_t);
1: + void (*assign_number)(struct sctp_chunk *);
1: + bool (*validate_data)(struct sctp_chunk *);
1: + int (*ulpevent_data)(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
1: + int (*enqueue_event)(struct sctp_ulpq *, struct sctp_ulpevent *);
1: + void (*renege_events)(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
1: + void (*start_pd)(struct sctp_ulpq *, gfp_t);
1: + void (*abort_pd)(struct sctp_ulpq *, gfp_t);
1: + void (*generate_ftsn)(struct sctp_outq *, __u32);
1: + bool (*validate_ftsn)(struct sctp_chunk *);
1: + void (*report_ftsn)(struct sctp_ulpq *, __u32);
1: + void (*handle_ftsn)(struct sctp_ulpq *, struct sctp_chunk *);
1: +};
1: +
1: +struct sctp_bind_bucket {
1: + short unsigned int port;
1: + signed char fastreuse;
1: + signed char fastreuseport;
1: + kuid_t fastuid;
1: + struct hlist_node node;
1: + struct hlist_head owner;
1: + struct net *net;
1: +};
1: +
1: +enum sctp_socket_type {
1: + SCTP_SOCKET_UDP = 0,
1: + SCTP_SOCKET_UDP_HIGH_BANDWIDTH = 1,
1: + SCTP_SOCKET_TCP = 2,
1: +};
1: +
1: +struct sctp_pf;
1: +
1: +struct sctp_sock {
1: + struct inet_sock inet;
1: + enum sctp_socket_type type;
1: + int: 32;
1: + struct sctp_pf *pf;
1: + struct crypto_shash *hmac;
1: + char *sctp_hmac_alg;
1: + struct sctp_endpoint *ep;
1: + struct sctp_bind_bucket *bind_hash;
1: + __u16 default_stream;
1: + short: 16;
1: + __u32 default_ppid;
1: + __u16 default_flags;
1: + short: 16;
1: + __u32 default_context;
1: + __u32 default_timetolive;
1: + __u32 default_rcv_context;
1: + int max_burst;
1: + __u32 hbinterval;
1: + __u16 pathmaxrxt;
1: + short: 16;
1: + __u32 flowlabel;
1: + __u8 dscp;
1: + char: 8;
1: + __u16 pf_retrans;
1: + __u16 ps_retrans;
1: + short: 16;
1: + __u32 pathmtu;
1: + __u32 sackdelay;
1: + __u32 sackfreq;
1: + __u32 param_flags;
1: + __u32 default_ss;
1: + struct sctp_rtoinfo rtoinfo;
1: + struct sctp_paddrparams paddrparam;
1: + struct sctp_assocparams assocparams;
1: + __u16 subscribe;
1: + struct sctp_initmsg initmsg;
1: + short: 16;
1: + int user_frag;
1: + __u32 autoclose;
1: + __u32 adaptation_ind;
1: + __u32 pd_point;
1: + __u16 nodelay: 1;
1: + __u16 pf_expose: 2;
1: + __u16 reuse: 1;
1: + __u16 disable_fragments: 1;
1: + __u16 v4mapped: 1;
1: + __u16 frag_interleave: 1;
1: + __u16 recvrcvinfo: 1;
1: + __u16 recvnxtinfo: 1;
1: + __u16 data_ready_signalled: 1;
1: + int: 22;
1: + atomic_t pd_mode;
1: + struct sk_buff_head pd_lobby;
1: + struct list_head auto_asconf_list;
1: + int do_auto_asconf;
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct sctp_af;
1: +
1: +struct sctp_pf {
1: + void (*event_msgname)(struct sctp_ulpevent *, char *, int *);
1: + void (*skb_msgname)(struct sk_buff *, char *, int *);
1: + int (*af_supported)(sa_family_t, struct sctp_sock *);
1: + int (*cmp_addr)(const union sctp_addr *, const union sctp_addr *, struct sctp_sock *);
1: + int (*bind_verify)(struct sctp_sock *, union sctp_addr *);
1: + int (*send_verify)(struct sctp_sock *, union sctp_addr *);
1: + int (*supported_addrs)(const struct sctp_sock *, __be16 *);
1: + struct sock * (*create_accept_sk)(struct sock *, struct sctp_association *, bool);
1: + int (*addr_to_user)(struct sctp_sock *, union sctp_addr *);
1: + void (*to_sk_saddr)(union sctp_addr *, struct sock *);
1: + void (*to_sk_daddr)(union sctp_addr *, struct sock *);
1: + void (*copy_ip_options)(struct sock *, struct sock *);
1: + struct sctp_af *af;
1: +};
1: +
1: +struct sctp_signed_cookie {
1: + __u8 signature[32];
1: + __u32 __pad;
1: + struct sctp_cookie c;
1: +} __attribute__((packed));
1: +
1: +union sctp_addr_param {
1: + struct sctp_paramhdr p;
1: + struct sctp_ipv4addr_param v4;
1: + struct sctp_ipv6addr_param v6;
1: +};
1: +
1: +struct sctp_sender_hb_info {
1: + struct sctp_paramhdr param_hdr;
1: + union sctp_addr daddr;
1: + long unsigned int sent_at;
1: + __u64 hb_nonce;
1: +};
1: +
1: +struct sctp_af {
1: + int (*sctp_xmit)(struct sk_buff *, struct sctp_transport *);
1: + int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*getsockopt)(struct sock *, int, int, char *, int *);
1: + int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: + void (*get_dst)(struct sctp_transport *, union sctp_addr *, struct flowi *, struct sock *);
1: + void (*get_saddr)(struct sctp_sock *, struct sctp_transport *, struct flowi *);
1: + void (*copy_addrlist)(struct list_head *, struct net_device *);
1: + int (*cmp_addr)(const union sctp_addr *, const union sctp_addr *);
1: + void (*addr_copy)(union sctp_addr *, union sctp_addr *);
1: + void (*from_skb)(union sctp_addr *, struct sk_buff *, int);
1: + void (*from_sk)(union sctp_addr *, struct sock *);
1: + void (*from_addr_param)(union sctp_addr *, union sctp_addr_param *, __be16, int);
1: + int (*to_addr_param)(const union sctp_addr *, union sctp_addr_param *);
1: + int (*addr_valid)(union sctp_addr *, struct sctp_sock *, const struct sk_buff *);
1: + enum sctp_scope (*scope)(union sctp_addr *);
1: + void (*inaddr_any)(union sctp_addr *, __be16);
1: + int (*is_any)(const union sctp_addr *);
1: + int (*available)(union sctp_addr *, struct sctp_sock *);
1: + int (*skb_iif)(const struct sk_buff *);
1: + int (*is_ce)(const struct sk_buff *);
1: + void (*seq_dump_addr)(struct seq_file *, union sctp_addr *);
1: + void (*ecn_capable)(struct sock *);
1: + __u16 net_header_len;
1: + int sockaddr_len;
1: + int (*ip_options_len)(struct sock *);
1: + sa_family_t sa_family;
1: + struct list_head list;
1: +};
1: +
1: +struct sctp_packet {
1: + __u16 source_port;
1: + __u16 destination_port;
1: + __u32 vtag;
1: + struct list_head chunk_list;
1: + size_t overhead;
1: + size_t size;
1: + size_t max_size;
1: + struct sctp_transport *transport;
1: + struct sctp_chunk *auth;
1: + u8 has_cookie_echo: 1;
1: + u8 has_sack: 1;
1: + u8 has_auth: 1;
1: + u8 has_data: 1;
1: + u8 ipfragok: 1;
1: +};
1: +
1: +struct sctp_transport {
1: + struct list_head transports;
1: + struct rhlist_head node;
1: + refcount_t refcnt;
1: + __u32 rto_pending: 1;
1: + __u32 hb_sent: 1;
1: + __u32 pmtu_pending: 1;
1: + __u32 dst_pending_confirm: 1;
1: + __u32 sack_generation: 1;
1: + u32 dst_cookie;
1: + struct flowi fl;
1: + union sctp_addr ipaddr;
1: + struct sctp_af *af_specific;
1: + struct sctp_association *asoc;
1: + long unsigned int rto;
1: + __u32 rtt;
1: + __u32 rttvar;
1: + __u32 srtt;
1: + __u32 cwnd;
1: + __u32 ssthresh;
1: + __u32 partial_bytes_acked;
1: + __u32 flight_size;
1: + __u32 burst_limited;
1: + struct dst_entry *dst;
1: + union sctp_addr saddr;
1: + long unsigned int hbinterval;
1: + long unsigned int sackdelay;
1: + __u32 sackfreq;
1: + atomic_t mtu_info;
1: + ktime_t last_time_heard;
1: + long unsigned int last_time_sent;
1: + long unsigned int last_time_ecne_reduced;
1: + __u16 pathmaxrxt;
1: + __u32 flowlabel;
1: + __u8 dscp;
1: + __u16 pf_retrans;
1: + __u16 ps_retrans;
1: + __u32 pathmtu;
1: + __u32 param_flags;
1: + int init_sent_count;
1: + int state;
1: + short unsigned int error_count;
1: + struct timer_list T3_rtx_timer;
1: + struct timer_list hb_timer;
1: + struct timer_list proto_unreach_timer;
1: + struct timer_list reconf_timer;
1: + struct list_head transmitted;
1: + struct sctp_packet packet;
1: + struct list_head send_ready;
1: + struct {
1: + __u32 next_tsn_at_change;
1: + char changeover_active;
1: + char cycling_changeover;
1: + char cacc_saw_newack;
1: + } cacc;
1: + __u64 hb_nonce;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct sctp_datamsg {
1: + struct list_head chunks;
1: + refcount_t refcnt;
1: + long unsigned int expires_at;
1: + int send_error;
1: + u8 send_failed: 1;
1: + u8 can_delay: 1;
1: + u8 abandoned: 1;
1: +};
1: +
1: +struct sctp_stream_priorities {
1: + struct list_head prio_sched;
1: + struct list_head active;
1: + struct sctp_stream_out_ext *next;
1: + __u16 prio;
1: +};
1: +
1: +struct sctp_stream_out_ext {
1: + __u64 abandoned_unsent[3];
1: + __u64 abandoned_sent[3];
1: + struct list_head outq;
1: + union {
1: + struct {
1: + struct list_head prio_list;
1: + struct sctp_stream_priorities *prio_head;
1: + };
1: + struct {
1: + struct list_head rr_list;
1: + };
1: + };
1: +};
1: +
1: +struct task_security_struct {
1: + u32 osid;
1: + u32 sid;
1: + u32 exec_sid;
1: + u32 create_sid;
1: + u32 keycreate_sid;
1: + u32 sockcreate_sid;
1: +};
1: +
1: +enum label_initialized {
1: + LABEL_INVALID = 0,
1: + LABEL_INITIALIZED = 1,
1: + LABEL_PENDING = 2,
1: +};
1: +
1: +struct inode_security_struct {
1: + struct inode *inode;
1: + struct list_head list;
1: + u32 task_sid;
1: + u32 sid;
1: + u16 sclass;
1: + unsigned char initialized;
1: + spinlock_t lock;
1: +};
1: +
1: +struct file_security_struct {
1: + u32 sid;
1: + u32 fown_sid;
1: + u32 isid;
1: + u32 pseqno;
1: +};
1: +
1: +struct superblock_security_struct {
1: + struct super_block *sb;
1: + u32 sid;
1: + u32 def_sid;
1: + u32 mntpoint_sid;
1: + short unsigned int behavior;
1: + short unsigned int flags;
1: + struct mutex lock;
1: + struct list_head isec_head;
1: + spinlock_t isec_lock;
1: +};
1: +
1: +struct msg_security_struct {
1: + u32 sid;
1: +};
1: +
1: +struct ipc_security_struct {
1: + u16 sclass;
1: + u32 sid;
1: +};
1: +
1: +struct sk_security_struct {
1: + enum {
1: + NLBL_UNSET = 0,
1: + NLBL_REQUIRE = 1,
1: + NLBL_LABELED = 2,
1: + NLBL_REQSKB = 3,
1: + NLBL_CONNLABELED = 4,
1: + } nlbl_state;
1: + struct netlbl_lsm_secattr *nlbl_secattr;
1: + u32 sid;
1: + u32 peer_sid;
1: + u16 sclass;
1: + enum {
1: + SCTP_ASSOC_UNSET = 0,
1: + SCTP_ASSOC_SET = 1,
1: + } sctp_assoc_state;
1: +};
1: +
1: +struct tun_security_struct {
1: + u32 sid;
1: +};
1: +
1: +struct key_security_struct {
1: + u32 sid;
1: +};
1: +
1: +struct perf_event_security_struct {
1: + u32 sid;
1: +};
1: +
1: +struct selinux_mnt_opts {
1: + const char *fscontext;
1: + const char *context;
1: + const char *rootcontext;
1: + const char *defcontext;
1: +};
1: +
1: +enum {
1: + Opt_error = -1,
1: + Opt_context = 0,
1: + Opt_defcontext = 1,
1: + Opt_fscontext = 2,
1: + Opt_rootcontext = 3,
1: + Opt_seclabel = 4,
1: +};
1: +
1: +enum sel_inos {
1: + SEL_ROOT_INO = 2,
1: + SEL_LOAD = 3,
1: + SEL_ENFORCE = 4,
1: + SEL_CONTEXT = 5,
1: + SEL_ACCESS = 6,
1: + SEL_CREATE = 7,
1: + SEL_RELABEL = 8,
1: + SEL_USER = 9,
1: + SEL_POLICYVERS = 10,
1: + SEL_COMMIT_BOOLS = 11,
1: + SEL_MLS = 12,
1: + SEL_DISABLE = 13,
1: + SEL_MEMBER = 14,
1: + SEL_CHECKREQPROT = 15,
1: + SEL_COMPAT_NET = 16,
1: + SEL_REJECT_UNKNOWN = 17,
1: + SEL_DENY_UNKNOWN = 18,
1: + SEL_STATUS = 19,
1: + SEL_POLICY = 20,
1: + SEL_VALIDATE_TRANS = 21,
1: + SEL_INO_NEXT = 22,
1: +};
1: +
1: +struct selinux_fs_info {
1: + struct dentry *bool_dir;
1: + unsigned int bool_num;
1: + char **bool_pending_names;
1: + unsigned int *bool_pending_values;
1: + struct dentry *class_dir;
1: + long unsigned int last_class_ino;
1: + bool policy_opened;
1: + struct dentry *policycap_dir;
1: + struct mutex mutex;
1: + long unsigned int last_ino;
1: + struct selinux_state *state;
1: + struct super_block *sb;
1: +};
1: +
1: +struct policy_load_memory {
1: + size_t len;
1: + void *data;
1: +};
1: +
1: +enum {
1: + SELNL_MSG_SETENFORCE = 16,
1: + SELNL_MSG_POLICYLOAD = 17,
1: + SELNL_MSG_MAX = 18,
1: +};
1: +
1: +enum selinux_nlgroups {
1: + SELNLGRP_NONE = 0,
1: + SELNLGRP_AVC = 1,
1: + __SELNLGRP_MAX = 2,
1: +};
1: +
1: +struct selnl_msg_setenforce {
1: + __s32 val;
1: +};
1: +
1: +struct selnl_msg_policyload {
1: + __u32 seqno;
1: +};
1: +
1: +enum {
1: + XFRM_MSG_BASE = 16,
1: + XFRM_MSG_NEWSA = 16,
1: + XFRM_MSG_DELSA = 17,
1: + XFRM_MSG_GETSA = 18,
1: + XFRM_MSG_NEWPOLICY = 19,
1: + XFRM_MSG_DELPOLICY = 20,
1: + XFRM_MSG_GETPOLICY = 21,
1: + XFRM_MSG_ALLOCSPI = 22,
1: + XFRM_MSG_ACQUIRE = 23,
1: + XFRM_MSG_EXPIRE = 24,
1: + XFRM_MSG_UPDPOLICY = 25,
1: + XFRM_MSG_UPDSA = 26,
1: + XFRM_MSG_POLEXPIRE = 27,
1: + XFRM_MSG_FLUSHSA = 28,
1: + XFRM_MSG_FLUSHPOLICY = 29,
1: + XFRM_MSG_NEWAE = 30,
1: + XFRM_MSG_GETAE = 31,
1: + XFRM_MSG_REPORT = 32,
1: + XFRM_MSG_MIGRATE = 33,
1: + XFRM_MSG_NEWSADINFO = 34,
1: + XFRM_MSG_GETSADINFO = 35,
1: + XFRM_MSG_NEWSPDINFO = 36,
1: + XFRM_MSG_GETSPDINFO = 37,
1: + XFRM_MSG_MAPPING = 38,
1: + __XFRM_MSG_MAX = 39,
1: +};
1: +
1: +enum {
1: + RTM_BASE = 16,
1: + RTM_NEWLINK = 16,
1: + RTM_DELLINK = 17,
1: + RTM_GETLINK = 18,
1: + RTM_SETLINK = 19,
1: + RTM_NEWADDR = 20,
1: + RTM_DELADDR = 21,
1: + RTM_GETADDR = 22,
1: + RTM_NEWROUTE = 24,
1: + RTM_DELROUTE = 25,
1: + RTM_GETROUTE = 26,
1: + RTM_NEWNEIGH = 28,
1: + RTM_DELNEIGH = 29,
1: + RTM_GETNEIGH = 30,
1: + RTM_NEWRULE = 32,
1: + RTM_DELRULE = 33,
1: + RTM_GETRULE = 34,
1: + RTM_NEWQDISC = 36,
1: + RTM_DELQDISC = 37,
1: + RTM_GETQDISC = 38,
1: + RTM_NEWTCLASS = 40,
1: + RTM_DELTCLASS = 41,
1: + RTM_GETTCLASS = 42,
1: + RTM_NEWTFILTER = 44,
1: + RTM_DELTFILTER = 45,
1: + RTM_GETTFILTER = 46,
1: + RTM_NEWACTION = 48,
1: + RTM_DELACTION = 49,
1: + RTM_GETACTION = 50,
1: + RTM_NEWPREFIX = 52,
1: + RTM_GETMULTICAST = 58,
1: + RTM_GETANYCAST = 62,
1: + RTM_NEWNEIGHTBL = 64,
1: + RTM_GETNEIGHTBL = 66,
1: + RTM_SETNEIGHTBL = 67,
1: + RTM_NEWNDUSEROPT = 68,
1: + RTM_NEWADDRLABEL = 72,
1: + RTM_DELADDRLABEL = 73,
1: + RTM_GETADDRLABEL = 74,
1: + RTM_GETDCB = 78,
1: + RTM_SETDCB = 79,
1: + RTM_NEWNETCONF = 80,
1: + RTM_DELNETCONF = 81,
1: + RTM_GETNETCONF = 82,
1: + RTM_NEWMDB = 84,
1: + RTM_DELMDB = 85,
1: + RTM_GETMDB = 86,
1: + RTM_NEWNSID = 88,
1: + RTM_DELNSID = 89,
1: + RTM_GETNSID = 90,
1: + RTM_NEWSTATS = 92,
1: + RTM_GETSTATS = 94,
1: + RTM_NEWCACHEREPORT = 96,
1: + RTM_NEWCHAIN = 100,
1: + RTM_DELCHAIN = 101,
1: + RTM_GETCHAIN = 102,
1: + RTM_NEWNEXTHOP = 104,
1: + RTM_DELNEXTHOP = 105,
1: + RTM_GETNEXTHOP = 106,
1: + RTM_NEWLINKPROP = 108,
1: + RTM_DELLINKPROP = 109,
1: + RTM_GETLINKPROP = 110,
1: + __RTM_MAX = 111,
1: +};
1: +
1: +struct nlmsg_perm {
1: + u16 nlmsg_type;
1: + u32 perm;
1: +};
1: +
1: +struct netdev_notifier_info {
1: + struct net_device *dev;
1: + struct netlink_ext_ack *extack;
1: +};
1: +
1: +struct netif_security_struct {
1: + struct net *ns;
1: + int ifindex;
1: + u32 sid;
1: +};
1: +
1: +struct sel_netif {
1: + struct list_head list;
1: + struct netif_security_struct nsec;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct netnode_security_struct {
1: + union {
1: + __be32 ipv4;
1: + struct in6_addr ipv6;
1: + } addr;
1: + u32 sid;
1: + u16 family;
1: +};
1: +
1: +struct sel_netnode_bkt {
1: + unsigned int size;
1: + struct list_head list;
1: +};
1: +
1: +struct sel_netnode {
1: + struct netnode_security_struct nsec;
1: + struct list_head list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct netport_security_struct {
1: + u32 sid;
1: + u16 port;
1: + u8 protocol;
1: +};
1: +
1: +struct sel_netport_bkt {
1: + int size;
1: + struct list_head list;
1: +};
1: +
1: +struct sel_netport {
1: + struct netport_security_struct psec;
1: + struct list_head list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct pkey_security_struct {
1: + u64 subnet_prefix;
1: + u16 pkey;
1: + u32 sid;
1: +};
1: +
1: +struct sel_ib_pkey_bkt {
1: + int size;
1: + struct list_head list;
1: +};
1: +
1: +struct sel_ib_pkey {
1: + struct pkey_security_struct psec;
1: + struct list_head list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct ebitmap_node {
1: + struct ebitmap_node *next;
1: + long unsigned int maps[6];
1: + u32 startbit;
1: +};
1: +
1: +struct ebitmap {
1: + struct ebitmap_node *node;
1: + u32 highbit;
1: +};
1: +
1: +struct policy_file {
1: + char *data;
1: + size_t len;
1: +};
1: +
1: +struct hashtab_node {
1: + void *key;
1: + void *datum;
1: + struct hashtab_node *next;
1: +};
1: +
1: +struct hashtab {
1: + struct hashtab_node **htable;
1: + u32 size;
1: + u32 nel;
1: + u32 (*hash_value)(struct hashtab *, const void *);
1: + int (*keycmp)(struct hashtab *, const void *, const void *);
1: +};
1: +
1: +struct hashtab_info {
1: + u32 slots_used;
1: + u32 max_chain_len;
1: +};
1: +
1: +struct symtab {
1: + struct hashtab *table;
1: + u32 nprim;
1: +};
1: +
1: +struct mls_level {
1: + u32 sens;
1: + struct ebitmap cat;
1: +};
1: +
1: +struct mls_range {
1: + struct mls_level level[2];
1: +};
1: +
1: +struct context___2 {
1: + u32 user;
1: + u32 role;
1: + u32 type;
1: + u32 len;
1: + struct mls_range range;
1: + char *str;
1: +};
1: +
1: +struct sidtab_entry_leaf {
1: + struct context___2 context;
1: +};
1: +
1: +struct sidtab_node_inner;
1: +
1: +struct sidtab_node_leaf;
1: +
1: +union sidtab_entry_inner {
1: + struct sidtab_node_inner *ptr_inner;
1: + struct sidtab_node_leaf *ptr_leaf;
1: +};
1: +
1: +struct sidtab_node_inner {
1: + union sidtab_entry_inner entries[512];
1: +};
1: +
1: +struct sidtab_node_leaf {
1: + struct sidtab_entry_leaf entries[56];
1: +};
1: +
1: +struct sidtab_isid_entry {
1: + int set;
1: + struct context___2 context;
1: +};
1: +
1: +struct sidtab;
1: +
1: +struct sidtab_convert_params {
1: + int (*func)(struct context___2 *, struct context___2 *, void *);
1: + void *args;
1: + struct sidtab *target;
1: +};
1: +
1: +struct sidtab {
1: + union sidtab_entry_inner roots[4];
1: + u32 count;
1: + struct sidtab_convert_params *convert;
1: + spinlock_t lock;
1: + u32 rcache[3];
1: + struct sidtab_isid_entry isids[27];
1: +};
1: +
1: +struct avtab_key {
1: + u16 source_type;
1: + u16 target_type;
1: + u16 target_class;
1: + u16 specified;
1: +};
1: +
1: +struct avtab_extended_perms {
1: + u8 specified;
1: + u8 driver;
1: + struct extended_perms_data perms;
1: +};
1: +
1: +struct avtab_datum {
1: + union {
1: + u32 data;
1: + struct avtab_extended_perms *xperms;
1: + } u;
1: +};
1: +
1: +struct avtab_node {
1: + struct avtab_key key;
1: + struct avtab_datum datum;
1: + struct avtab_node *next;
1: +};
1: +
1: +struct avtab {
1: + struct avtab_node **htable;
1: + u32 nel;
1: + u32 nslot;
1: + u32 mask;
1: +};
1: +
1: +struct type_set;
1: +
1: +struct constraint_expr {
1: + u32 expr_type;
1: + u32 attr;
1: + u32 op;
1: + struct ebitmap names;
1: + struct type_set *type_names;
1: + struct constraint_expr *next;
1: +};
1: +
1: +struct type_set {
1: + struct ebitmap types;
1: + struct ebitmap negset;
1: + u32 flags;
1: +};
1: +
1: +struct constraint_node {
1: + u32 permissions;
1: + struct constraint_expr *expr;
1: + struct constraint_node *next;
1: +};
1: +
1: +struct common_datum {
1: + u32 value;
1: + struct symtab permissions;
1: +};
1: +
1: +struct class_datum {
1: + u32 value;
1: + char *comkey;
1: + struct common_datum *comdatum;
1: + struct symtab permissions;
1: + struct constraint_node *constraints;
1: + struct constraint_node *validatetrans;
1: + char default_user;
1: + char default_role;
1: + char default_type;
1: + char default_range;
1: +};
1: +
1: +struct role_datum {
1: + u32 value;
1: + u32 bounds;
1: + struct ebitmap dominates;
1: + struct ebitmap types;
1: +};
1: +
1: +struct role_trans {
1: + u32 role;
1: + u32 type;
1: + u32 tclass;
1: + u32 new_role;
1: + struct role_trans *next;
1: +};
1: +
1: +struct role_allow {
1: + u32 role;
1: + u32 new_role;
1: + struct role_allow *next;
1: +};
1: +
1: +struct type_datum {
1: + u32 value;
1: + u32 bounds;
1: + unsigned char primary;
1: + unsigned char attribute;
1: +};
1: +
1: +struct user_datum {
1: + u32 value;
1: + u32 bounds;
1: + struct ebitmap roles;
1: + struct mls_range range;
1: + struct mls_level dfltlevel;
1: +};
1: +
1: +struct cond_bool_datum {
1: + __u32 value;
1: + int state;
1: +};
1: +
1: +struct ocontext {
1: + union {
1: + char *name;
1: + struct {
1: + u8 protocol;
1: + u16 low_port;
1: + u16 high_port;
1: + } port;
1: + struct {
1: + u32 addr;
1: + u32 mask;
1: + } node;
1: + struct {
1: + u32 addr[4];
1: + u32 mask[4];
1: + } node6;
1: + struct {
1: + u64 subnet_prefix;
1: + u16 low_pkey;
1: + u16 high_pkey;
1: + } ibpkey;
1: + struct {
1: + char *dev_name;
1: + u8 port;
1: + } ibendport;
1: + } u;
1: + union {
1: + u32 sclass;
1: + u32 behavior;
1: + } v;
1: + struct context___2 context[2];
1: + u32 sid[2];
1: + struct ocontext *next;
1: +};
1: +
1: +struct genfs {
1: + char *fstype;
1: + struct ocontext *head;
1: + struct genfs *next;
1: +};
1: +
1: +struct cond_node;
1: +
1: +struct policydb {
1: + int mls_enabled;
1: + struct symtab symtab[8];
1: + char **sym_val_to_name[8];
1: + struct class_datum **class_val_to_struct;
1: + struct role_datum **role_val_to_struct;
1: + struct user_datum **user_val_to_struct;
1: + struct type_datum **type_val_to_struct;
1: + struct avtab te_avtab;
1: + struct role_trans *role_tr;
1: + struct ebitmap filename_trans_ttypes;
1: + struct hashtab *filename_trans;
1: + struct cond_bool_datum **bool_val_to_struct;
1: + struct avtab te_cond_avtab;
1: + struct cond_node *cond_list;
1: + struct role_allow *role_allow;
1: + struct ocontext *ocontexts[9];
1: + struct genfs *genfs;
1: + struct hashtab *range_tr;
1: + struct ebitmap *type_attr_map_array;
1: + struct ebitmap policycaps;
1: + struct ebitmap permissive_map;
1: + size_t len;
1: + unsigned int policyvers;
1: + unsigned int reject_unknown: 1;
1: + unsigned int allow_unknown: 1;
1: + u16 process_class;
1: + u32 process_trans_perms;
1: +};
1: +
1: +struct selinux_mapping;
1: +
1: +struct selinux_map {
1: + struct selinux_mapping *mapping;
1: + u16 size;
1: +};
1: +
1: +struct selinux_ss {
1: + struct sidtab *sidtab;
1: + struct policydb policydb;
1: + rwlock_t policy_rwlock;
1: + u32 latest_granting;
1: + struct selinux_map map;
1: + struct page *status_page;
1: + struct mutex status_lock;
1: +};
1: +
1: +struct perm_datum {
1: + u32 value;
1: +};
1: +
1: +struct filename_trans {
1: + u32 stype;
1: + u32 ttype;
1: + u16 tclass;
1: + const char *name;
1: +};
1: +
1: +struct filename_trans_datum {
1: + u32 otype;
1: +};
1: +
1: +struct level_datum {
1: + struct mls_level *level;
1: + unsigned char isalias;
1: +};
1: +
1: +struct cat_datum {
1: + u32 value;
1: + unsigned char isalias;
1: +};
1: +
1: +struct range_trans {
1: + u32 source_type;
1: + u32 target_type;
1: + u32 target_class;
1: +};
1: +
1: +struct cond_expr;
1: +
1: +struct cond_av_list;
1: +
1: +struct cond_node {
1: + int cur_state;
1: + struct cond_expr *expr;
1: + struct cond_av_list *true_list;
1: + struct cond_av_list *false_list;
1: + struct cond_node *next;
1: +};
1: +
1: +struct policy_data {
1: + struct policydb *p;
1: + void *fp;
1: +};
1: +
1: +struct cond_expr {
1: + __u32 expr_type;
1: + __u32 bool;
1: + struct cond_expr *next;
1: +};
1: +
1: +struct cond_av_list {
1: + struct avtab_node *node;
1: + struct cond_av_list *next;
1: +};
1: +
1: +struct selinux_mapping {
1: + u16 value;
1: + unsigned int num_perms;
1: + u32 perms[32];
1: +};
1: +
1: +struct policydb_compat_info {
1: + int version;
1: + int sym_num;
1: + int ocon_num;
1: +};
1: +
1: +struct convert_context_args {
1: + struct selinux_state *state;
1: + struct policydb *oldp;
1: + struct policydb *newp;
1: +};
1: +
1: +struct selinux_audit_rule {
1: + u32 au_seqno;
1: + struct context___2 au_ctxt;
1: +};
1: +
1: +struct cond_insertf_data {
1: + struct policydb *p;
1: + struct cond_av_list *other;
1: + struct cond_av_list *head;
1: + struct cond_av_list *tail;
1: +};
1: +
1: +struct selinux_kernel_status {
1: + u32 version;
1: + u32 sequence;
1: + u32 enforcing;
1: + u32 policyload;
1: + u32 deny_unknown;
1: +};
1: +
1: +struct sockaddr_un {
1: + __kernel_sa_family_t sun_family;
1: + char sun_path[108];
1: +};
1: +
1: +struct unix_address {
1: + refcount_t refcnt;
1: + int len;
1: + unsigned int hash;
1: + struct sockaddr_un name[0];
1: +};
1: +
1: +struct unix_sock {
1: + struct sock sk;
1: + struct unix_address *addr;
1: + struct path path;
1: + struct mutex iolock;
1: + struct mutex bindlock;
1: + struct sock *peer;
1: + struct list_head link;
1: + atomic_long_t inflight;
1: + spinlock_t lock;
1: + long unsigned int gc_flags;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct socket_wq peer_wq;
1: + wait_queue_entry_t peer_wake;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +enum integrity_status {
1: + INTEGRITY_PASS = 0,
1: + INTEGRITY_PASS_IMMUTABLE = 1,
1: + INTEGRITY_FAIL = 2,
1: + INTEGRITY_NOLABEL = 3,
1: + INTEGRITY_NOXATTRS = 4,
1: + INTEGRITY_UNKNOWN = 5,
1: +};
1: +
1: +struct ima_digest_data {
1: + u8 algo;
1: + u8 length;
1: + union {
1: + struct {
1: + u8 unused;
1: + u8 type;
1: + } sha1;
1: + struct {
1: + u8 type;
1: + u8 algo;
1: + } ng;
1: + u8 data[2];
1: + } xattr;
1: + u8 digest[0];
1: +};
1: +
1: +struct integrity_iint_cache {
1: + struct rb_node rb_node;
1: + struct mutex mutex;
1: + struct inode *inode;
1: + u64 version;
1: + long unsigned int flags;
1: + long unsigned int measured_pcrs;
1: + long unsigned int atomic_flags;
1: + enum integrity_status ima_file_status: 4;
1: + enum integrity_status ima_mmap_status: 4;
1: + enum integrity_status ima_bprm_status: 4;
1: + enum integrity_status ima_read_status: 4;
1: + enum integrity_status ima_creds_status: 4;
1: + enum integrity_status evm_status: 4;
1: + struct ima_digest_data *ima_hash;
1: +};
1: +
1: +struct crypto_async_request;
1: +
1: +typedef void (*crypto_completion_t)(struct crypto_async_request *, int);
1: +
1: +struct crypto_async_request {
1: + struct list_head list;
1: + crypto_completion_t complete;
1: + void *data;
1: + struct crypto_tfm *tfm;
1: + u32 flags;
1: +};
1: +
1: +struct crypto_wait {
1: + struct completion completion;
1: + int err;
1: +};
1: +
1: +struct crypto_template;
1: +
1: +struct crypto_instance {
1: + struct crypto_alg alg;
1: + struct crypto_template *tmpl;
1: + struct hlist_node list;
1: + void *__ctx[0];
1: +};
1: +
1: +struct rtattr;
1: +
1: +struct crypto_template {
1: + struct list_head list;
1: + struct hlist_head instances;
1: + struct module *module;
1: + struct crypto_instance * (*alloc)(struct rtattr **);
1: + void (*free)(struct crypto_instance *);
1: + int (*create)(struct crypto_template *, struct rtattr **);
1: + char name[128];
1: +};
1: +
1: +enum {
1: + CRYPTO_MSG_ALG_REQUEST = 0,
1: + CRYPTO_MSG_ALG_REGISTER = 1,
1: + CRYPTO_MSG_ALG_LOADED = 2,
1: +};
1: +
1: +struct crypto_larval {
1: + struct crypto_alg alg;
1: + struct crypto_alg *adult;
1: + struct completion completion;
1: + u32 mask;
1: +};
1: +
1: +enum {
1: + CRYPTOA_UNSPEC = 0,
1: + CRYPTOA_ALG = 1,
1: + CRYPTOA_TYPE = 2,
1: + CRYPTOA_U32 = 3,
1: + __CRYPTOA_MAX = 4,
1: +};
1: +
1: +struct crypto_attr_alg {
1: + char name[128];
1: +};
1: +
1: +struct crypto_attr_type {
1: + u32 type;
1: + u32 mask;
1: +};
1: +
1: +struct crypto_attr_u32 {
1: + u32 num;
1: +};
1: +
1: +struct rtattr {
1: + short unsigned int rta_len;
1: + short unsigned int rta_type;
1: +};
1: +
1: +struct crypto_spawn {
1: + struct list_head list;
1: + struct crypto_alg *alg;
1: + struct crypto_instance *inst;
1: + const struct crypto_type *frontend;
1: + u32 mask;
1: +};
1: +
1: +struct crypto_queue {
1: + struct list_head list;
1: + struct list_head *backlog;
1: + unsigned int qlen;
1: + unsigned int max_qlen;
1: +};
1: +
1: +struct scatter_walk {
1: + struct scatterlist *sg;
1: + unsigned int offset;
1: +};
1: +
1: +struct aead_request {
1: + struct crypto_async_request base;
1: + unsigned int assoclen;
1: + unsigned int cryptlen;
1: + u8 *iv;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + void *__ctx[0];
1: +};
1: +
1: +struct crypto_aead;
1: +
1: +struct aead_alg {
1: + int (*setkey)(struct crypto_aead *, const u8 *, unsigned int);
1: + int (*setauthsize)(struct crypto_aead *, unsigned int);
1: + int (*encrypt)(struct aead_request *);
1: + int (*decrypt)(struct aead_request *);
1: + int (*init)(struct crypto_aead *);
1: + void (*exit)(struct crypto_aead *);
1: + unsigned int ivsize;
1: + unsigned int maxauthsize;
1: + unsigned int chunksize;
1: + struct crypto_alg base;
1: +};
1: +
1: +struct crypto_aead {
1: + unsigned int authsize;
1: + unsigned int reqsize;
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct aead_instance {
1: + void (*free)(struct aead_instance *);
1: + union {
1: + struct {
1: + char head[64];
1: + struct crypto_instance base;
1: + } s;
1: + struct aead_alg alg;
1: + };
1: +};
1: +
1: +struct crypto_aead_spawn {
1: + struct crypto_spawn base;
1: +};
1: +
1: +enum crypto_attr_type_t {
1: + CRYPTOCFGA_UNSPEC = 0,
1: + CRYPTOCFGA_PRIORITY_VAL = 1,
1: + CRYPTOCFGA_REPORT_LARVAL = 2,
1: + CRYPTOCFGA_REPORT_HASH = 3,
1: + CRYPTOCFGA_REPORT_BLKCIPHER = 4,
1: + CRYPTOCFGA_REPORT_AEAD = 5,
1: + CRYPTOCFGA_REPORT_COMPRESS = 6,
1: + CRYPTOCFGA_REPORT_RNG = 7,
1: + CRYPTOCFGA_REPORT_CIPHER = 8,
1: + CRYPTOCFGA_REPORT_AKCIPHER = 9,
1: + CRYPTOCFGA_REPORT_KPP = 10,
1: + CRYPTOCFGA_REPORT_ACOMP = 11,
1: + CRYPTOCFGA_STAT_LARVAL = 12,
1: + CRYPTOCFGA_STAT_HASH = 13,
1: + CRYPTOCFGA_STAT_BLKCIPHER = 14,
1: + CRYPTOCFGA_STAT_AEAD = 15,
1: + CRYPTOCFGA_STAT_COMPRESS = 16,
1: + CRYPTOCFGA_STAT_RNG = 17,
1: + CRYPTOCFGA_STAT_CIPHER = 18,
1: + CRYPTOCFGA_STAT_AKCIPHER = 19,
1: + CRYPTOCFGA_STAT_KPP = 20,
1: + CRYPTOCFGA_STAT_ACOMP = 21,
1: + __CRYPTOCFGA_MAX = 22,
1: +};
1: +
1: +struct crypto_report_aead {
1: + char type[64];
1: + char geniv[64];
1: + unsigned int blocksize;
1: + unsigned int maxauthsize;
1: + unsigned int ivsize;
1: +};
1: +
1: +struct crypto_sync_skcipher;
1: +
1: +struct aead_geniv_ctx {
1: + spinlock_t lock;
1: + struct crypto_aead *child;
1: + struct crypto_sync_skcipher *sknull;
1: + u8 salt[0];
1: +};
1: +
1: +struct crypto_rng;
1: +
1: +struct rng_alg {
1: + int (*generate)(struct crypto_rng *, const u8 *, unsigned int, u8 *, unsigned int);
1: + int (*seed)(struct crypto_rng *, const u8 *, unsigned int);
1: + void (*set_ent)(struct crypto_rng *, const u8 *, unsigned int);
1: + unsigned int seedsize;
1: + struct crypto_alg base;
1: +};
1: +
1: +struct crypto_rng {
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct crypto_cipher {
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct skcipher_request {
1: + unsigned int cryptlen;
1: + u8 *iv;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + struct crypto_async_request base;
1: + void *__ctx[0];
1: +};
1: +
1: +struct crypto_skcipher {
1: + int (*setkey)(struct crypto_skcipher *, const u8 *, unsigned int);
1: + int (*encrypt)(struct skcipher_request *);
1: + int (*decrypt)(struct skcipher_request *);
1: + unsigned int ivsize;
1: + unsigned int reqsize;
1: + unsigned int keysize;
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct crypto_sync_skcipher {
1: + struct crypto_skcipher base;
1: +};
1: +
1: +struct skcipher_alg {
1: + int (*setkey)(struct crypto_skcipher *, const u8 *, unsigned int);
1: + int (*encrypt)(struct skcipher_request *);
1: + int (*decrypt)(struct skcipher_request *);
1: + int (*init)(struct crypto_skcipher *);
1: + void (*exit)(struct crypto_skcipher *);
1: + unsigned int min_keysize;
1: + unsigned int max_keysize;
1: + unsigned int ivsize;
1: + unsigned int chunksize;
1: + unsigned int walksize;
1: + struct crypto_alg base;
1: +};
1: +
1: +struct skcipher_instance {
1: + void (*free)(struct skcipher_instance *);
1: + union {
1: + struct {
1: + char head[64];
1: + struct crypto_instance base;
1: + } s;
1: + struct skcipher_alg alg;
1: + };
1: +};
1: +
1: +struct crypto_skcipher_spawn {
1: + struct crypto_spawn base;
1: +};
1: +
1: +struct skcipher_walk {
1: + union {
1: + struct {
1: + struct page *page;
1: + long unsigned int offset;
1: + } phys;
1: + struct {
1: + u8 *page;
1: + void *addr;
1: + } virt;
1: + } src;
1: + union {
1: + struct {
1: + struct page *page;
1: + long unsigned int offset;
1: + } phys;
1: + struct {
1: + u8 *page;
1: + void *addr;
1: + } virt;
1: + } dst;
1: + struct scatter_walk in;
1: + unsigned int nbytes;
1: + struct scatter_walk out;
1: + unsigned int total;
1: + struct list_head buffers;
1: + u8 *page;
1: + u8 *buffer;
1: + u8 *oiv;
1: + void *iv;
1: + unsigned int ivsize;
1: + int flags;
1: + unsigned int blocksize;
1: + unsigned int stride;
1: + unsigned int alignmask;
1: +};
1: +
1: +struct skcipher_ctx_simple {
1: + struct crypto_cipher *cipher;
1: +};
1: +
1: +struct crypto_report_blkcipher {
1: + char type[64];
1: + char geniv[64];
1: + unsigned int blocksize;
1: + unsigned int min_keysize;
1: + unsigned int max_keysize;
1: + unsigned int ivsize;
1: +};
1: +
1: +enum {
1: + SKCIPHER_WALK_PHYS = 1,
1: + SKCIPHER_WALK_SLOW = 2,
1: + SKCIPHER_WALK_COPY = 4,
1: + SKCIPHER_WALK_DIFF = 8,
1: + SKCIPHER_WALK_SLEEP = 16,
1: +};
1: +
1: +struct skcipher_walk_buffer {
1: + struct list_head entry;
1: + struct scatter_walk dst;
1: + unsigned int len;
1: + u8 *data;
1: + u8 buffer[0];
1: +};
1: +
1: +struct hash_alg_common {
1: + unsigned int digestsize;
1: + unsigned int statesize;
1: + struct crypto_alg base;
1: +};
1: +
1: +struct ahash_request {
1: + struct crypto_async_request base;
1: + unsigned int nbytes;
1: + struct scatterlist *src;
1: + u8 *result;
1: + void *priv;
1: + void *__ctx[0];
1: +};
1: +
1: +struct crypto_ahash;
1: +
1: +struct ahash_alg {
1: + int (*init)(struct ahash_request *);
1: + int (*update)(struct ahash_request *);
1: + int (*final)(struct ahash_request *);
1: + int (*finup)(struct ahash_request *);
1: + int (*digest)(struct ahash_request *);
1: + int (*export)(struct ahash_request *, void *);
1: + int (*import)(struct ahash_request *, const void *);
1: + int (*setkey)(struct crypto_ahash *, const u8 *, unsigned int);
1: + struct hash_alg_common halg;
1: +};
1: +
1: +struct crypto_ahash {
1: + int (*init)(struct ahash_request *);
1: + int (*update)(struct ahash_request *);
1: + int (*final)(struct ahash_request *);
1: + int (*finup)(struct ahash_request *);
1: + int (*digest)(struct ahash_request *);
1: + int (*export)(struct ahash_request *, void *);
1: + int (*import)(struct ahash_request *, const void *);
1: + int (*setkey)(struct crypto_ahash *, const u8 *, unsigned int);
1: + unsigned int reqsize;
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct shash_alg {
1: + int (*init)(struct shash_desc *);
1: + int (*update)(struct shash_desc *, const u8 *, unsigned int);
1: + int (*final)(struct shash_desc *, u8 *);
1: + int (*finup)(struct shash_desc *, const u8 *, unsigned int, u8 *);
1: + int (*digest)(struct shash_desc *, const u8 *, unsigned int, u8 *);
1: + int (*export)(struct shash_desc *, void *);
1: + int (*import)(struct shash_desc *, const void *);
1: + int (*setkey)(struct crypto_shash *, const u8 *, unsigned int);
1: + unsigned int descsize;
1: + int: 32;
1: + unsigned int digestsize;
1: + unsigned int statesize;
1: + struct crypto_alg base;
1: +};
1: +
1: +struct crypto_hash_walk {
1: + char *data;
1: + unsigned int offset;
1: + unsigned int alignmask;
1: + struct page *pg;
1: + unsigned int entrylen;
1: + unsigned int total;
1: + struct scatterlist *sg;
1: + unsigned int flags;
1: +};
1: +
1: +struct ahash_instance {
1: + struct ahash_alg alg;
1: +};
1: +
1: +struct crypto_ahash_spawn {
1: + struct crypto_spawn base;
1: +};
1: +
1: +struct crypto_report_hash {
1: + char type[64];
1: + unsigned int blocksize;
1: + unsigned int digestsize;
1: +};
1: +
1: +struct ahash_request_priv {
1: + crypto_completion_t complete;
1: + void *data;
1: + u8 *result;
1: + u32 flags;
1: + void *ubuf[0];
1: +};
1: +
1: +struct shash_instance {
1: + struct shash_alg alg;
1: +};
1: +
1: +struct crypto_shash_spawn {
1: + struct crypto_spawn base;
1: +};
1: +
1: +struct crypto_report_akcipher {
1: + char type[64];
1: +};
1: +
1: +struct akcipher_request {
1: + struct crypto_async_request base;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + unsigned int src_len;
1: + unsigned int dst_len;
1: + void *__ctx[0];
1: +};
1: +
1: +struct crypto_akcipher {
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct akcipher_alg {
1: + int (*sign)(struct akcipher_request *);
1: + int (*verify)(struct akcipher_request *);
1: + int (*encrypt)(struct akcipher_request *);
1: + int (*decrypt)(struct akcipher_request *);
1: + int (*set_pub_key)(struct crypto_akcipher *, const void *, unsigned int);
1: + int (*set_priv_key)(struct crypto_akcipher *, const void *, unsigned int);
1: + unsigned int (*max_size)(struct crypto_akcipher *);
1: + int (*init)(struct crypto_akcipher *);
1: + void (*exit)(struct crypto_akcipher *);
1: + unsigned int reqsize;
1: + struct crypto_alg base;
1: +};
1: +
1: +struct akcipher_instance {
1: + void (*free)(struct akcipher_instance *);
1: + union {
1: + struct {
1: + char head[80];
1: + struct crypto_instance base;
1: + } s;
1: + struct akcipher_alg alg;
1: + };
1: +};
1: +
1: +struct crypto_akcipher_spawn {
1: + struct crypto_spawn base;
1: +};
1: +
1: +struct crypto_report_kpp {
1: + char type[64];
1: +};
1: +
1: +struct kpp_request {
1: + struct crypto_async_request base;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + unsigned int src_len;
1: + unsigned int dst_len;
1: + void *__ctx[0];
1: +};
1: +
1: +struct crypto_kpp {
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct kpp_alg {
1: + int (*set_secret)(struct crypto_kpp *, const void *, unsigned int);
1: + int (*generate_public_key)(struct kpp_request *);
1: + int (*compute_shared_secret)(struct kpp_request *);
1: + unsigned int (*max_size)(struct crypto_kpp *);
1: + int (*init)(struct crypto_kpp *);
1: + void (*exit)(struct crypto_kpp *);
1: + unsigned int reqsize;
1: + struct crypto_alg base;
1: +};
1: +
1: +enum asn1_class {
1: + ASN1_UNIV = 0,
1: + ASN1_APPL = 1,
1: + ASN1_CONT = 2,
1: + ASN1_PRIV = 3,
1: +};
1: +
1: +enum asn1_method {
1: + ASN1_PRIM = 0,
1: + ASN1_CONS = 1,
1: +};
1: +
1: +enum asn1_tag {
1: + ASN1_EOC = 0,
1: + ASN1_BOOL = 1,
1: + ASN1_INT = 2,
1: + ASN1_BTS = 3,
1: + ASN1_OTS = 4,
1: + ASN1_NULL = 5,
1: + ASN1_OID = 6,
1: + ASN1_ODE = 7,
1: + ASN1_EXT = 8,
1: + ASN1_REAL = 9,
1: + ASN1_ENUM = 10,
1: + ASN1_EPDV = 11,
1: + ASN1_UTF8STR = 12,
1: + ASN1_RELOID = 13,
1: + ASN1_SEQ = 16,
1: + ASN1_SET = 17,
1: + ASN1_NUMSTR = 18,
1: + ASN1_PRNSTR = 19,
1: + ASN1_TEXSTR = 20,
1: + ASN1_VIDSTR = 21,
1: + ASN1_IA5STR = 22,
1: + ASN1_UNITIM = 23,
1: + ASN1_GENTIM = 24,
1: + ASN1_GRASTR = 25,
1: + ASN1_VISSTR = 26,
1: + ASN1_GENSTR = 27,
1: + ASN1_UNISTR = 28,
1: + ASN1_CHRSTR = 29,
1: + ASN1_BMPSTR = 30,
1: + ASN1_LONG_TAG = 31,
1: +};
1: +
1: +typedef int (*asn1_action_t)(void *, size_t, unsigned char, const void *, size_t);
1: +
1: +struct asn1_decoder {
1: + const unsigned char *machine;
1: + size_t machlen;
1: + const asn1_action_t *actions;
1: +};
1: +
1: +enum asn1_opcode {
1: + ASN1_OP_MATCH = 0,
1: + ASN1_OP_MATCH_OR_SKIP = 1,
1: + ASN1_OP_MATCH_ACT = 2,
1: + ASN1_OP_MATCH_ACT_OR_SKIP = 3,
1: + ASN1_OP_MATCH_JUMP = 4,
1: + ASN1_OP_MATCH_JUMP_OR_SKIP = 5,
1: + ASN1_OP_MATCH_ANY = 8,
1: + ASN1_OP_MATCH_ANY_OR_SKIP = 9,
1: + ASN1_OP_MATCH_ANY_ACT = 10,
1: + ASN1_OP_MATCH_ANY_ACT_OR_SKIP = 11,
1: + ASN1_OP_COND_MATCH_OR_SKIP = 17,
1: + ASN1_OP_COND_MATCH_ACT_OR_SKIP = 19,
1: + ASN1_OP_COND_MATCH_JUMP_OR_SKIP = 21,
1: + ASN1_OP_COND_MATCH_ANY = 24,
1: + ASN1_OP_COND_MATCH_ANY_OR_SKIP = 25,
1: + ASN1_OP_COND_MATCH_ANY_ACT = 26,
1: + ASN1_OP_COND_MATCH_ANY_ACT_OR_SKIP = 27,
1: + ASN1_OP_COND_FAIL = 28,
1: + ASN1_OP_COMPLETE = 29,
1: + ASN1_OP_ACT = 30,
1: + ASN1_OP_MAYBE_ACT = 31,
1: + ASN1_OP_END_SEQ = 32,
1: + ASN1_OP_END_SET = 33,
1: + ASN1_OP_END_SEQ_OF = 34,
1: + ASN1_OP_END_SET_OF = 35,
1: + ASN1_OP_END_SEQ_ACT = 36,
1: + ASN1_OP_END_SET_ACT = 37,
1: + ASN1_OP_END_SEQ_OF_ACT = 38,
1: + ASN1_OP_END_SET_OF_ACT = 39,
1: + ASN1_OP_RETURN = 40,
1: + ASN1_OP__NR = 41,
1: +};
1: +
1: +enum rsapubkey_actions {
1: + ACT_rsa_get_e = 0,
1: + ACT_rsa_get_n = 1,
1: + NR__rsapubkey_actions = 2,
1: +};
1: +
1: +enum rsaprivkey_actions {
1: + ACT_rsa_get_d = 0,
1: + ACT_rsa_get_dp = 1,
1: + ACT_rsa_get_dq = 2,
1: + ACT_rsa_get_e___2 = 3,
1: + ACT_rsa_get_n___2 = 4,
1: + ACT_rsa_get_p = 5,
1: + ACT_rsa_get_q = 6,
1: + ACT_rsa_get_qinv = 7,
1: + NR__rsaprivkey_actions = 8,
1: +};
1: +
1: +typedef long unsigned int mpi_limb_t;
1: +
1: +struct gcry_mpi {
1: + int alloced;
1: + int nlimbs;
1: + int nbits;
1: + int sign;
1: + unsigned int flags;
1: + mpi_limb_t *d;
1: +};
1: +
1: +typedef struct gcry_mpi *MPI;
1: +
1: +struct rsa_key {
1: + const u8 *n;
1: + const u8 *e;
1: + const u8 *d;
1: + const u8 *p;
1: + const u8 *q;
1: + const u8 *dp;
1: + const u8 *dq;
1: + const u8 *qinv;
1: + size_t n_sz;
1: + size_t e_sz;
1: + size_t d_sz;
1: + size_t p_sz;
1: + size_t q_sz;
1: + size_t dp_sz;
1: + size_t dq_sz;
1: + size_t qinv_sz;
1: +};
1: +
1: +struct rsa_mpi_key {
1: + MPI n;
1: + MPI e;
1: + MPI d;
1: +};
1: +
1: +struct asn1_decoder___2;
1: +
1: +struct rsa_asn1_template {
1: + const char *name;
1: + const u8 *data;
1: + size_t size;
1: +};
1: +
1: +struct pkcs1pad_ctx {
1: + struct crypto_akcipher *child;
1: + unsigned int key_size;
1: +};
1: +
1: +struct pkcs1pad_inst_ctx {
1: + struct crypto_akcipher_spawn spawn;
1: + const struct rsa_asn1_template *digest_info;
1: +};
1: +
1: +struct pkcs1pad_request {
1: + struct scatterlist in_sg[2];
1: + struct scatterlist out_sg[1];
1: + uint8_t *in_buf;
1: + uint8_t *out_buf;
1: + struct akcipher_request child_req;
1: +};
1: +
1: +struct crypto_report_acomp {
1: + char type[64];
1: +};
1: +
1: +struct acomp_req {
1: + struct crypto_async_request base;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + unsigned int slen;
1: + unsigned int dlen;
1: + u32 flags;
1: + void *__ctx[0];
1: +};
1: +
1: +struct crypto_acomp {
1: + int (*compress)(struct acomp_req *);
1: + int (*decompress)(struct acomp_req *);
1: + void (*dst_free)(struct scatterlist *);
1: + unsigned int reqsize;
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct acomp_alg {
1: + int (*compress)(struct acomp_req *);
1: + int (*decompress)(struct acomp_req *);
1: + void (*dst_free)(struct scatterlist *);
1: + int (*init)(struct crypto_acomp *);
1: + void (*exit)(struct crypto_acomp *);
1: + unsigned int reqsize;
1: + struct crypto_alg base;
1: +};
1: +
1: +struct crypto_report_comp {
1: + char type[64];
1: +};
1: +
1: +struct crypto_scomp {
1: + struct crypto_tfm base;
1: +};
1: +
1: +struct scomp_alg {
1: + void * (*alloc_ctx)(struct crypto_scomp *);
1: + void (*free_ctx)(struct crypto_scomp *, void *);
1: + int (*compress)(struct crypto_scomp *, const u8 *, unsigned int, u8 *, unsigned int *, void *);
1: + int (*decompress)(struct crypto_scomp *, const u8 *, unsigned int, u8 *, unsigned int *, void *);
1: + struct crypto_alg base;
1: +};
1: +
1: +struct scomp_scratch {
1: + spinlock_t lock;
1: + void *src;
1: + void *dst;
1: +};
1: +
1: +struct cryptomgr_param {
1: + struct rtattr *tb[34];
1: + struct {
1: + struct rtattr attr;
1: + struct crypto_attr_type data;
1: + } type;
1: + union {
1: + struct rtattr attr;
1: + struct {
1: + struct rtattr attr;
1: + struct crypto_attr_alg data;
1: + } alg;
1: + struct {
1: + struct rtattr attr;
1: + struct crypto_attr_u32 data;
1: + } nu32;
1: + } attrs[32];
1: + char template[128];
1: + struct crypto_larval *larval;
1: + u32 otype;
1: + u32 omask;
1: +};
1: +
1: +struct crypto_test_param {
1: + char driver[128];
1: + char alg[128];
1: + u32 type;
1: +};
1: +
1: +struct cmac_tfm_ctx {
1: + struct crypto_cipher *child;
1: + u8 ctx[0];
1: +};
1: +
1: +struct cmac_desc_ctx {
1: + unsigned int len;
1: + u8 ctx[0];
1: +};
1: +
1: +struct hmac_ctx {
1: + struct crypto_shash *hash;
1: +};
1: +
1: +struct md5_state {
1: + u32 hash[4];
1: + u32 block[16];
1: + u64 byte_count;
1: +};
1: +
1: +struct sha1_state {
1: + u32 state[5];
1: + u64 count;
1: + u8 buffer[64];
1: +};
1: +
1: +typedef void sha1_block_fn(struct sha1_state *, const u8 *, int);
1: +
1: +struct sha256_state {
1: + u32 state[8];
1: + u64 count;
1: + u8 buf[64];
1: +};
1: +
1: +typedef struct {
1: + u64 a;
1: + u64 b;
1: +} u128;
1: +
1: +typedef struct {
1: + __be64 a;
1: + __be64 b;
1: +} be128;
1: +
1: +typedef struct {
1: + __le64 b;
1: + __le64 a;
1: +} le128;
1: +
1: +struct gf128mul_4k {
1: + be128 t[256];
1: +};
1: +
1: +struct gf128mul_64k {
1: + struct gf128mul_4k *t[16];
1: +};
1: +
1: +struct crypto_rfc3686_ctx {
1: + struct crypto_skcipher *child;
1: + u8 nonce[4];
1: +};
1: +
1: +struct crypto_rfc3686_req_ctx {
1: + u8 iv[16];
1: + struct skcipher_request subreq;
1: +};
1: +
1: +struct gcm_instance_ctx {
1: + struct crypto_skcipher_spawn ctr;
1: + struct crypto_ahash_spawn ghash;
1: +};
1: +
1: +struct crypto_gcm_ctx {
1: + struct crypto_skcipher *ctr;
1: + struct crypto_ahash *ghash;
1: +};
1: +
1: +struct crypto_rfc4106_ctx {
1: + struct crypto_aead *child;
1: + u8 nonce[4];
1: +};
1: +
1: +struct crypto_rfc4106_req_ctx {
1: + struct scatterlist src[3];
1: + struct scatterlist dst[3];
1: + struct aead_request subreq;
1: +};
1: +
1: +struct crypto_rfc4543_instance_ctx {
1: + struct crypto_aead_spawn aead;
1: +};
1: +
1: +struct crypto_rfc4543_ctx {
1: + struct crypto_aead *child;
1: + struct crypto_sync_skcipher *null;
1: + u8 nonce[4];
1: +};
1: +
1: +struct crypto_rfc4543_req_ctx {
1: + struct aead_request subreq;
1: +};
1: +
1: +struct crypto_gcm_ghash_ctx {
1: + unsigned int cryptlen;
1: + struct scatterlist *src;
1: + int (*complete)(struct aead_request *, u32);
1: +};
1: +
1: +struct crypto_gcm_req_priv_ctx {
1: + u8 iv[16];
1: + u8 auth_tag[16];
1: + u8 iauth_tag[16];
1: + struct scatterlist src[3];
1: + struct scatterlist dst[3];
1: + struct scatterlist sg;
1: + struct crypto_gcm_ghash_ctx ghash_ctx;
1: + union {
1: + struct ahash_request ahreq;
1: + struct skcipher_request skreq;
1: + } u;
1: +};
1: +
1: +struct ccm_instance_ctx {
1: + struct crypto_skcipher_spawn ctr;
1: + struct crypto_ahash_spawn mac;
1: +};
1: +
1: +struct crypto_ccm_ctx {
1: + struct crypto_ahash *mac;
1: + struct crypto_skcipher *ctr;
1: +};
1: +
1: +struct crypto_rfc4309_ctx {
1: + struct crypto_aead *child;
1: + u8 nonce[3];
1: +};
1: +
1: +struct crypto_rfc4309_req_ctx {
1: + struct scatterlist src[3];
1: + struct scatterlist dst[3];
1: + struct aead_request subreq;
1: +};
1: +
1: +struct crypto_ccm_req_priv_ctx {
1: + u8 odata[16];
1: + u8 idata[16];
1: + u8 auth_tag[16];
1: + u32 flags;
1: + struct scatterlist src[3];
1: + struct scatterlist dst[3];
1: + union {
1: + struct ahash_request ahreq;
1: + struct skcipher_request skreq;
1: + };
1: +};
1: +
1: +struct cbcmac_tfm_ctx {
1: + struct crypto_cipher *child;
1: +};
1: +
1: +struct cbcmac_desc_ctx {
1: + unsigned int len;
1: +};
1: +
1: +struct des_ctx {
1: + u32 expkey[32];
1: +};
1: +
1: +struct des3_ede_ctx {
1: + u32 expkey[96];
1: +};
1: +
1: +struct crypto_aes_ctx {
1: + u32 key_enc[60];
1: + u32 key_dec[60];
1: + u32 key_length;
1: +};
1: +
1: +struct chksum_ctx {
1: + u32 key;
1: +};
1: +
1: +struct chksum_desc_ctx {
1: + u32 crc;
1: +};
1: +
1: +enum {
1: + CRYPTO_AUTHENC_KEYA_UNSPEC = 0,
1: + CRYPTO_AUTHENC_KEYA_PARAM = 1,
1: +};
1: +
1: +struct crypto_authenc_key_param {
1: + __be32 enckeylen;
1: +};
1: +
1: +struct crypto_authenc_keys {
1: + const u8 *authkey;
1: + const u8 *enckey;
1: + unsigned int authkeylen;
1: + unsigned int enckeylen;
1: +};
1: +
1: +struct authenc_instance_ctx {
1: + struct crypto_ahash_spawn auth;
1: + struct crypto_skcipher_spawn enc;
1: + unsigned int reqoff;
1: +};
1: +
1: +struct crypto_authenc_ctx {
1: + struct crypto_ahash *auth;
1: + struct crypto_skcipher *enc;
1: + struct crypto_sync_skcipher *null;
1: +};
1: +
1: +struct authenc_request_ctx {
1: + struct scatterlist src[2];
1: + struct scatterlist dst[2];
1: + char tail[0];
1: +};
1: +
1: +struct authenc_esn_instance_ctx {
1: + struct crypto_ahash_spawn auth;
1: + struct crypto_skcipher_spawn enc;
1: +};
1: +
1: +struct crypto_authenc_esn_ctx {
1: + unsigned int reqoff;
1: + struct crypto_ahash *auth;
1: + struct crypto_skcipher *enc;
1: + struct crypto_sync_skcipher *null;
1: +};
1: +
1: +struct authenc_esn_request_ctx {
1: + struct scatterlist src[2];
1: + struct scatterlist dst[2];
1: + char tail[0];
1: +};
1: +
1: +struct crypto_report_rng {
1: + char type[64];
1: + unsigned int seedsize;
1: +};
1: +
1: +struct random_ready_callback {
1: + struct list_head list;
1: + void (*func)(struct random_ready_callback *);
1: + struct module *owner;
1: +};
1: +
1: +struct drbg_string {
1: + const unsigned char *buf;
1: + size_t len;
1: + struct list_head list;
1: +};
1: +
1: +typedef uint32_t drbg_flag_t;
1: +
1: +struct drbg_core {
1: + drbg_flag_t flags;
1: + __u8 statelen;
1: + __u8 blocklen_bytes;
1: + char cra_name[128];
1: + char backend_cra_name[128];
1: +};
1: +
1: +struct drbg_state;
1: +
1: +struct drbg_state_ops {
1: + int (*update)(struct drbg_state *, struct list_head *, int);
1: + int (*generate)(struct drbg_state *, unsigned char *, unsigned int, struct list_head *);
1: + int (*crypto_init)(struct drbg_state *);
1: + int (*crypto_fini)(struct drbg_state *);
1: +};
1: +
1: +struct drbg_state {
1: + struct mutex drbg_mutex;
1: + unsigned char *V;
1: + unsigned char *Vbuf;
1: + unsigned char *C;
1: + unsigned char *Cbuf;
1: + size_t reseed_ctr;
1: + size_t reseed_threshold;
1: + unsigned char *scratchpad;
1: + unsigned char *scratchpadbuf;
1: + void *priv_data;
1: + struct crypto_skcipher *ctr_handle;
1: + struct skcipher_request *ctr_req;
1: + __u8 *outscratchpadbuf;
1: + __u8 *outscratchpad;
1: + struct crypto_wait ctr_wait;
1: + struct scatterlist sg_in;
1: + struct scatterlist sg_out;
1: + bool seeded;
1: + bool pr;
1: + bool fips_primed;
1: + unsigned char *prev;
1: + struct work_struct seed_work;
1: + struct crypto_rng *jent;
1: + const struct drbg_state_ops *d_ops;
1: + const struct drbg_core *core;
1: + struct drbg_string test_data;
1: + struct random_ready_callback random_ready;
1: +};
1: +
1: +enum drbg_prefixes {
1: + DRBG_PREFIX0 = 0,
1: + DRBG_PREFIX1 = 1,
1: + DRBG_PREFIX2 = 2,
1: + DRBG_PREFIX3 = 3,
1: +};
1: +
1: +struct sdesc {
1: + struct shash_desc shash;
1: + char ctx[0];
1: +};
1: +
1: +struct rand_data {
1: + __u64 data;
1: + __u64 old_data;
1: + __u64 prev_time;
1: + __u64 last_delta;
1: + __s64 last_delta2;
1: + unsigned int osr;
1: + unsigned char *mem;
1: + unsigned int memlocation;
1: + unsigned int memblocks;
1: + unsigned int memblocksize;
1: + unsigned int memaccessloops;
1: +};
1: +
1: +struct rand_data___2;
1: +
1: +struct jitterentropy {
1: + spinlock_t jent_lock;
1: + struct rand_data___2 *entropy_collector;
1: +};
1: +
1: +struct ghash_ctx {
1: + struct gf128mul_4k *gf128;
1: +};
1: +
1: +struct ghash_desc_ctx {
1: + u8 buffer[16];
1: + u32 bytes;
1: +};
1: +
1: +enum asymmetric_payload_bits {
1: + asym_crypto = 0,
1: + asym_subtype = 1,
1: + asym_key_ids = 2,
1: + asym_auth = 3,
1: +};
1: +
1: +struct asymmetric_key_id {
1: + short unsigned int len;
1: + unsigned char data[0];
1: +};
1: +
1: +struct asymmetric_key_ids {
1: + void *id[2];
1: +};
1: +
1: +struct public_key_signature;
1: +
1: +struct asymmetric_key_subtype {
1: + struct module *owner;
1: + const char *name;
1: + short unsigned int name_len;
1: + void (*describe)(const struct key *, struct seq_file *);
1: + void (*destroy)(void *, void *);
1: + int (*query)(const struct kernel_pkey_params *, struct kernel_pkey_query *);
1: + int (*eds_op)(struct kernel_pkey_params *, const void *, void *);
1: + int (*verify_signature)(const struct key *, const struct public_key_signature *);
1: +};
1: +
1: +struct public_key_signature {
1: + struct asymmetric_key_id *auth_ids[2];
1: + u8 *s;
1: + u32 s_size;
1: + u8 *digest;
1: + u8 digest_size;
1: + const char *pkey_algo;
1: + const char *hash_algo;
1: + const char *encoding;
1: +};
1: +
1: +struct asymmetric_key_parser {
1: + struct list_head link;
1: + struct module *owner;
1: + const char *name;
1: + int (*parse)(struct key_preparsed_payload *);
1: +};
1: +
1: +enum OID {
1: + OID_id_dsa_with_sha1 = 0,
1: + OID_id_dsa = 1,
1: + OID_id_ecdsa_with_sha1 = 2,
1: + OID_id_ecPublicKey = 3,
1: + OID_rsaEncryption = 4,
1: + OID_md2WithRSAEncryption = 5,
1: + OID_md3WithRSAEncryption = 6,
1: + OID_md4WithRSAEncryption = 7,
1: + OID_sha1WithRSAEncryption = 8,
1: + OID_sha256WithRSAEncryption = 9,
1: + OID_sha384WithRSAEncryption = 10,
1: + OID_sha512WithRSAEncryption = 11,
1: + OID_sha224WithRSAEncryption = 12,
1: + OID_data = 13,
1: + OID_signed_data = 14,
1: + OID_email_address = 15,
1: + OID_contentType = 16,
1: + OID_messageDigest = 17,
1: + OID_signingTime = 18,
1: + OID_smimeCapabilites = 19,
1: + OID_smimeAuthenticatedAttrs = 20,
1: + OID_md2 = 21,
1: + OID_md4 = 22,
1: + OID_md5 = 23,
1: + OID_msIndirectData = 24,
1: + OID_msStatementType = 25,
1: + OID_msSpOpusInfo = 26,
1: + OID_msPeImageDataObjId = 27,
1: + OID_msIndividualSPKeyPurpose = 28,
1: + OID_msOutlookExpress = 29,
1: + OID_certAuthInfoAccess = 30,
1: + OID_sha1 = 31,
1: + OID_sha256 = 32,
1: + OID_sha384 = 33,
1: + OID_sha512 = 34,
1: + OID_sha224 = 35,
1: + OID_commonName = 36,
1: + OID_surname = 37,
1: + OID_countryName = 38,
1: + OID_locality = 39,
1: + OID_stateOrProvinceName = 40,
1: + OID_organizationName = 41,
1: + OID_organizationUnitName = 42,
1: + OID_title = 43,
1: + OID_description = 44,
1: + OID_name = 45,
1: + OID_givenName = 46,
1: + OID_initials = 47,
1: + OID_generationalQualifier = 48,
1: + OID_subjectKeyIdentifier = 49,
1: + OID_keyUsage = 50,
1: + OID_subjectAltName = 51,
1: + OID_issuerAltName = 52,
1: + OID_basicConstraints = 53,
1: + OID_crlDistributionPoints = 54,
1: + OID_certPolicies = 55,
1: + OID_authorityKeyIdentifier = 56,
1: + OID_extKeyUsage = 57,
1: + OID_gostCPSignA = 58,
1: + OID_gostCPSignB = 59,
1: + OID_gostCPSignC = 60,
1: + OID_gost2012PKey256 = 61,
1: + OID_gost2012PKey512 = 62,
1: + OID_gost2012Digest256 = 63,
1: + OID_gost2012Digest512 = 64,
1: + OID_gost2012Signature256 = 65,
1: + OID_gost2012Signature512 = 66,
1: + OID_gostTC26Sign256A = 67,
1: + OID_gostTC26Sign256B = 68,
1: + OID_gostTC26Sign256C = 69,
1: + OID_gostTC26Sign256D = 70,
1: + OID_gostTC26Sign512A = 71,
1: + OID_gostTC26Sign512B = 72,
1: + OID_gostTC26Sign512C = 73,
1: + OID__NR = 74,
1: +};
1: +
1: +struct public_key {
1: + void *key;
1: + u32 keylen;
1: + enum OID algo;
1: + void *params;
1: + u32 paramlen;
1: + bool key_is_private;
1: + const char *id_type;
1: + const char *pkey_algo;
1: +};
1: +
1: +enum x509_actions {
1: + ACT_x509_extract_key_data = 0,
1: + ACT_x509_extract_name_segment = 1,
1: + ACT_x509_note_OID = 2,
1: + ACT_x509_note_issuer = 3,
1: + ACT_x509_note_not_after = 4,
1: + ACT_x509_note_not_before = 5,
1: + ACT_x509_note_params = 6,
1: + ACT_x509_note_pkey_algo = 7,
1: + ACT_x509_note_serial = 8,
1: + ACT_x509_note_signature = 9,
1: + ACT_x509_note_subject = 10,
1: + ACT_x509_note_tbs_certificate = 11,
1: + ACT_x509_process_extension = 12,
1: + NR__x509_actions = 13,
1: +};
1: +
1: +enum x509_akid_actions {
1: + ACT_x509_akid_note_kid = 0,
1: + ACT_x509_akid_note_name = 1,
1: + ACT_x509_akid_note_serial = 2,
1: + ACT_x509_extract_name_segment___2 = 3,
1: + ACT_x509_note_OID___2 = 4,
1: + NR__x509_akid_actions = 5,
1: +};
1: +
1: +struct x509_certificate {
1: + struct x509_certificate *next;
1: + struct x509_certificate *signer;
1: + struct public_key *pub;
1: + struct public_key_signature *sig;
1: + char *issuer;
1: + char *subject;
1: + struct asymmetric_key_id *id;
1: + struct asymmetric_key_id *skid;
1: + time64_t valid_from;
1: + time64_t valid_to;
1: + const void *tbs;
1: + unsigned int tbs_size;
1: + unsigned int raw_sig_size;
1: + const void *raw_sig;
1: + const void *raw_serial;
1: + unsigned int raw_serial_size;
1: + unsigned int raw_issuer_size;
1: + const void *raw_issuer;
1: + const void *raw_subject;
1: + unsigned int raw_subject_size;
1: + unsigned int raw_skid_size;
1: + const void *raw_skid;
1: + unsigned int index;
1: + bool seen;
1: + bool verified;
1: + bool self_signed;
1: + bool unsupported_key;
1: + bool unsupported_sig;
1: + bool blacklisted;
1: +};
1: +
1: +struct x509_parse_context {
1: + struct x509_certificate *cert;
1: + long unsigned int data;
1: + const void *cert_start;
1: + const void *key;
1: + size_t key_size;
1: + const void *params;
1: + size_t params_size;
1: + enum OID key_algo;
1: + enum OID last_oid;
1: + enum OID algo_oid;
1: + unsigned char nr_mpi;
1: + u8 o_size;
1: + u8 cn_size;
1: + u8 email_size;
1: + u16 o_offset;
1: + u16 cn_offset;
1: + u16 email_offset;
1: + unsigned int raw_akid_size;
1: + const void *raw_akid;
1: + const void *akid_raw_issuer;
1: + unsigned int akid_raw_issuer_size;
1: +};
1: +
1: +enum pkcs7_actions {
1: + ACT_pkcs7_check_content_type = 0,
1: + ACT_pkcs7_extract_cert = 1,
1: + ACT_pkcs7_note_OID = 2,
1: + ACT_pkcs7_note_certificate_list = 3,
1: + ACT_pkcs7_note_content = 4,
1: + ACT_pkcs7_note_data = 5,
1: + ACT_pkcs7_note_signed_info = 6,
1: + ACT_pkcs7_note_signeddata_version = 7,
1: + ACT_pkcs7_note_signerinfo_version = 8,
1: + ACT_pkcs7_sig_note_authenticated_attr = 9,
1: + ACT_pkcs7_sig_note_digest_algo = 10,
1: + ACT_pkcs7_sig_note_issuer = 11,
1: + ACT_pkcs7_sig_note_pkey_algo = 12,
1: + ACT_pkcs7_sig_note_serial = 13,
1: + ACT_pkcs7_sig_note_set_of_authattrs = 14,
1: + ACT_pkcs7_sig_note_signature = 15,
1: + ACT_pkcs7_sig_note_skid = 16,
1: + NR__pkcs7_actions = 17,
1: +};
1: +
1: +struct pkcs7_signed_info {
1: + struct pkcs7_signed_info *next;
1: + struct x509_certificate *signer;
1: + unsigned int index;
1: + bool unsupported_crypto;
1: + bool blacklisted;
1: + const void *msgdigest;
1: + unsigned int msgdigest_len;
1: + unsigned int authattrs_len;
1: + const void *authattrs;
1: + long unsigned int aa_set;
1: + time64_t signing_time;
1: + struct public_key_signature *sig;
1: +};
1: +
1: +struct pkcs7_message___2 {
1: + struct x509_certificate *certs;
1: + struct x509_certificate *crl;
1: + struct pkcs7_signed_info *signed_infos;
1: + u8 version;
1: + bool have_authattrs;
1: + enum OID data_type;
1: + size_t data_len;
1: + size_t data_hdrlen;
1: + const void *data;
1: +};
1: +
1: +struct pkcs7_parse_context {
1: + struct pkcs7_message___2 *msg;
1: + struct pkcs7_signed_info *sinfo;
1: + struct pkcs7_signed_info **ppsinfo;
1: + struct x509_certificate *certs;
1: + struct x509_certificate **ppcerts;
1: + long unsigned int data;
1: + enum OID last_oid;
1: + unsigned int x509_index;
1: + unsigned int sinfo_index;
1: + const void *raw_serial;
1: + unsigned int raw_serial_size;
1: + unsigned int raw_issuer_size;
1: + const void *raw_issuer;
1: + const void *raw_skid;
1: + unsigned int raw_skid_size;
1: + bool expect_skid;
1: +};
1: +
1: +enum hash_algo {
1: + HASH_ALGO_MD4 = 0,
1: + HASH_ALGO_MD5 = 1,
1: + HASH_ALGO_SHA1 = 2,
1: + HASH_ALGO_RIPE_MD_160 = 3,
1: + HASH_ALGO_SHA256 = 4,
1: + HASH_ALGO_SHA384 = 5,
1: + HASH_ALGO_SHA512 = 6,
1: + HASH_ALGO_SHA224 = 7,
1: + HASH_ALGO_RIPE_MD_128 = 8,
1: + HASH_ALGO_RIPE_MD_256 = 9,
1: + HASH_ALGO_RIPE_MD_320 = 10,
1: + HASH_ALGO_WP_256 = 11,
1: + HASH_ALGO_WP_384 = 12,
1: + HASH_ALGO_WP_512 = 13,
1: + HASH_ALGO_TGR_128 = 14,
1: + HASH_ALGO_TGR_160 = 15,
1: + HASH_ALGO_TGR_192 = 16,
1: + HASH_ALGO_SM3_256 = 17,
1: + HASH_ALGO_STREEBOG_256 = 18,
1: + HASH_ALGO_STREEBOG_512 = 19,
1: + HASH_ALGO__LAST = 20,
1: +};
1: +
1: +struct biovec_slab {
1: + int nr_vecs;
1: + char *name;
1: + struct kmem_cache *slab;
1: +};
1: +
1: +enum rq_qos_id {
1: + RQ_QOS_WBT = 0,
1: + RQ_QOS_LATENCY = 1,
1: + RQ_QOS_COST = 2,
1: +};
1: +
1: +struct rq_qos_ops;
1: +
1: +struct rq_qos {
1: + struct rq_qos_ops *ops;
1: + struct request_queue *q;
1: + enum rq_qos_id id;
1: + struct rq_qos *next;
1: + struct dentry *debugfs_dir;
1: +};
1: +
1: +struct rq_map_data {
1: + struct page **pages;
1: + int page_order;
1: + int nr_entries;
1: + long unsigned int offset;
1: + int null_mapped;
1: + int from_user;
1: +};
1: +
1: +enum hctx_type {
1: + HCTX_TYPE_DEFAULT = 0,
1: + HCTX_TYPE_READ = 1,
1: + HCTX_TYPE_POLL = 2,
1: + HCTX_MAX_TYPES = 3,
1: +};
1: +
1: +struct rq_qos_ops {
1: + void (*throttle)(struct rq_qos *, struct bio *);
1: + void (*track)(struct rq_qos *, struct request *, struct bio *);
1: + void (*merge)(struct rq_qos *, struct request *, struct bio *);
1: + void (*issue)(struct rq_qos *, struct request *);
1: + void (*requeue)(struct rq_qos *, struct request *);
1: + void (*done)(struct rq_qos *, struct request *);
1: + void (*done_bio)(struct rq_qos *, struct bio *);
1: + void (*cleanup)(struct rq_qos *, struct bio *);
1: + void (*queue_depth_changed)(struct rq_qos *);
1: + void (*exit)(struct rq_qos *);
1: + const struct blk_mq_debugfs_attr *debugfs_attrs;
1: +};
1: +
1: +struct bio_slab {
1: + struct kmem_cache *slab;
1: + unsigned int slab_ref;
1: + unsigned int slab_size;
1: + char name[8];
1: +};
1: +
1: +struct bio_map_data {
1: + int is_our_pages;
1: + struct iov_iter iter;
1: + struct iovec iov[0];
1: +};
1: +
1: +enum {
1: + BLK_MQ_F_SHOULD_MERGE = 1,
1: + BLK_MQ_F_TAG_SHARED = 2,
1: + BLK_MQ_F_BLOCKING = 32,
1: + BLK_MQ_F_NO_SCHED = 64,
1: + BLK_MQ_F_ALLOC_POLICY_START_BIT = 8,
1: + BLK_MQ_F_ALLOC_POLICY_BITS = 1,
1: + BLK_MQ_S_STOPPED = 0,
1: + BLK_MQ_S_TAG_ACTIVE = 1,
1: + BLK_MQ_S_SCHED_RESTART = 2,
1: + BLK_MQ_MAX_DEPTH = 10240,
1: + BLK_MQ_CPU_WORK_BATCH = 8,
1: +};
1: +
1: +enum {
1: + WBT_RWQ_BG = 0,
1: + WBT_RWQ_KSWAPD = 1,
1: + WBT_RWQ_DISCARD = 2,
1: + WBT_NUM_RWQ = 3,
1: +};
1: +
1: +struct blk_plug_cb;
1: +
1: +typedef void (*blk_plug_cb_fn)(struct blk_plug_cb *, bool);
1: +
1: +struct blk_plug_cb {
1: + struct list_head list;
1: + blk_plug_cb_fn callback;
1: + void *data;
1: +};
1: +
1: +enum {
1: + BLK_MQ_REQ_NOWAIT = 1,
1: + BLK_MQ_REQ_RESERVED = 2,
1: + BLK_MQ_REQ_INTERNAL = 4,
1: + BLK_MQ_REQ_PREEMPT = 8,
1: +};
1: +
1: +struct trace_event_raw_block_buffer {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + size_t size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_rq_requeue {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + u32 __data_loc_cmd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_rq_complete {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + int error;
1: + char rwbs[8];
1: + u32 __data_loc_cmd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_rq {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + unsigned int bytes;
1: + char rwbs[8];
1: + char comm[16];
1: + u32 __data_loc_cmd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_bio_bounce {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_bio_complete {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + int error;
1: + char rwbs[8];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_bio_merge {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_bio_queue {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_get_rq {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_plug {
1: + struct trace_entry ent;
1: + char comm[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_unplug {
1: + struct trace_entry ent;
1: + int nr_rq;
1: + char comm[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_split {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + sector_t new_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_bio_remap {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + dev_t old_dev;
1: + sector_t old_sector;
1: + char rwbs[8];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_block_rq_remap {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + dev_t old_dev;
1: + sector_t old_sector;
1: + unsigned int nr_bios;
1: + char rwbs[8];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_block_buffer {};
1: +
1: +struct trace_event_data_offsets_block_rq_requeue {
1: + u32 cmd;
1: +};
1: +
1: +struct trace_event_data_offsets_block_rq_complete {
1: + u32 cmd;
1: +};
1: +
1: +struct trace_event_data_offsets_block_rq {
1: + u32 cmd;
1: +};
1: +
1: +struct trace_event_data_offsets_block_bio_bounce {};
1: +
1: +struct trace_event_data_offsets_block_bio_complete {};
1: +
1: +struct trace_event_data_offsets_block_bio_merge {};
1: +
1: +struct trace_event_data_offsets_block_bio_queue {};
1: +
1: +struct trace_event_data_offsets_block_get_rq {};
1: +
1: +struct trace_event_data_offsets_block_plug {};
1: +
1: +struct trace_event_data_offsets_block_unplug {};
1: +
1: +struct trace_event_data_offsets_block_split {};
1: +
1: +struct trace_event_data_offsets_block_bio_remap {};
1: +
1: +struct trace_event_data_offsets_block_rq_remap {};
1: +
1: +struct queue_sysfs_entry {
1: + struct attribute attr;
1: + ssize_t (*show)(struct request_queue *, char *);
1: + ssize_t (*store)(struct request_queue *, const char *, size_t);
1: +};
1: +
1: +enum {
1: + REQ_FSEQ_PREFLUSH = 1,
1: + REQ_FSEQ_DATA = 2,
1: + REQ_FSEQ_POSTFLUSH = 4,
1: + REQ_FSEQ_DONE = 8,
1: + REQ_FSEQ_ACTIONS = 7,
1: + FLUSH_PENDING_TIMEOUT = 5000,
1: +};
1: +
1: +enum blk_default_limits {
1: + BLK_MAX_SEGMENTS = 128,
1: + BLK_SAFE_MAX_SECTORS = 255,
1: + BLK_DEF_MAX_SECTORS = 2560,
1: + BLK_MAX_SEGMENT_SIZE = 65536,
1: + BLK_SEG_BOUNDARY_MASK = -1,
1: +};
1: +
1: +enum {
1: + ICQ_EXITED = 4,
1: +};
1: +
1: +enum {
1: + sysctl_hung_task_timeout_secs = 0,
1: +};
1: +
1: +struct req_iterator {
1: + struct bvec_iter iter;
1: + struct bio *bio;
1: +};
1: +
1: +typedef bool (*sb_for_each_fn)(struct sbitmap *, unsigned int, void *);
1: +
1: +typedef bool busy_iter_fn(struct blk_mq_hw_ctx *, struct request *, void *, bool);
1: +
1: +enum {
1: + BLK_MQ_UNIQUE_TAG_BITS = 16,
1: + BLK_MQ_UNIQUE_TAG_MASK = 65535,
1: +};
1: +
1: +enum {
1: + BLK_MQ_TAG_FAIL = -1,
1: + BLK_MQ_TAG_MIN = 1,
1: + BLK_MQ_TAG_MAX = -2,
1: +};
1: +
1: +struct mq_inflight {
1: + struct hd_struct *part;
1: + unsigned int inflight[2];
1: +};
1: +
1: +struct flush_busy_ctx_data {
1: + struct blk_mq_hw_ctx *hctx;
1: + struct list_head *list;
1: +};
1: +
1: +struct dispatch_rq_data {
1: + struct blk_mq_hw_ctx *hctx;
1: + struct request *rq;
1: +};
1: +
1: +struct blk_mq_qe_pair {
1: + struct list_head node;
1: + struct request_queue *q;
1: + struct elevator_type *type;
1: +};
1: +
1: +struct sbq_wait {
1: + struct sbitmap_queue *sbq;
1: + struct wait_queue_entry wait;
1: +};
1: +
1: +typedef bool busy_tag_iter_fn(struct request *, void *, bool);
1: +
1: +struct bt_iter_data {
1: + struct blk_mq_hw_ctx *hctx;
1: + busy_iter_fn *fn;
1: + void *data;
1: + bool reserved;
1: +};
1: +
1: +struct bt_tags_iter_data {
1: + struct blk_mq_tags *tags;
1: + busy_tag_iter_fn *fn;
1: + void *data;
1: + bool reserved;
1: +};
1: +
1: +struct blk_queue_stats {
1: + struct list_head callbacks;
1: + spinlock_t lock;
1: + bool enable_accounting;
1: +};
1: +
1: +struct blk_mq_ctx_sysfs_entry {
1: + struct attribute attr;
1: + ssize_t (*show)(struct blk_mq_ctx *, char *);
1: + ssize_t (*store)(struct blk_mq_ctx *, const char *, size_t);
1: +};
1: +
1: +struct blk_mq_hw_ctx_sysfs_entry {
1: + struct attribute attr;
1: + ssize_t (*show)(struct blk_mq_hw_ctx *, char *);
1: + ssize_t (*store)(struct blk_mq_hw_ctx *, const char *, size_t);
1: +};
1: +
1: +struct disk_part_iter {
1: + struct gendisk *disk;
1: + struct hd_struct *part;
1: + int idx;
1: + unsigned int flags;
1: +};
1: +
1: +struct hd_geometry {
1: + unsigned char heads;
1: + unsigned char sectors;
1: + short unsigned int cylinders;
1: + long unsigned int start;
1: +};
1: +
1: +struct blkpg_ioctl_arg {
1: + int op;
1: + int flags;
1: + int datalen;
1: + void *data;
1: +};
1: +
1: +struct blkpg_partition {
1: + long long int start;
1: + long long int length;
1: + int pno;
1: + char devname[64];
1: + char volname[64];
1: +};
1: +
1: +struct pr_reservation {
1: + __u64 key;
1: + __u32 type;
1: + __u32 flags;
1: +};
1: +
1: +struct pr_registration {
1: + __u64 old_key;
1: + __u64 new_key;
1: + __u32 flags;
1: + __u32 __pad;
1: +};
1: +
1: +struct pr_preempt {
1: + __u64 old_key;
1: + __u64 new_key;
1: + __u32 type;
1: + __u32 flags;
1: +};
1: +
1: +struct pr_clear {
1: + __u64 key;
1: + __u32 flags;
1: + __u32 __pad;
1: +};
1: +
1: +struct klist_node;
1: +
1: +struct klist {
1: + spinlock_t k_lock;
1: + struct list_head k_list;
1: + void (*get)(struct klist_node *);
1: + void (*put)(struct klist_node *);
1: +};
1: +
1: +struct klist_node {
1: + void *n_klist;
1: + struct list_head n_node;
1: + struct kref n_ref;
1: +};
1: +
1: +struct klist_iter {
1: + struct klist *i_klist;
1: + struct klist_node *i_cur;
1: +};
1: +
1: +struct class_dev_iter {
1: + struct klist_iter ki;
1: + const struct device_type *type;
1: +};
1: +
1: +enum {
1: + DISK_EVENT_FLAG_POLL = 1,
1: + DISK_EVENT_FLAG_UEVENT = 2,
1: +};
1: +
1: +struct disk_events {
1: + struct list_head node;
1: + struct gendisk *disk;
1: + spinlock_t lock;
1: + struct mutex block_mutex;
1: + int block;
1: + unsigned int pending;
1: + unsigned int clearing;
1: + long int poll_msecs;
1: + struct delayed_work dwork;
1: +};
1: +
1: +struct badblocks {
1: + struct device *dev;
1: + int count;
1: + int unacked_exist;
1: + int shift;
1: + u64 *page;
1: + int changed;
1: + seqlock_t lock;
1: + sector_t sector;
1: + sector_t size;
1: +};
1: +
1: +typedef struct kobject *kobj_probe_t___2(dev_t, int *, void *);
1: +
1: +struct blk_major_name {
1: + struct blk_major_name *next;
1: + int major;
1: + char name[16];
1: +};
1: +
1: +typedef struct {
1: + struct page *v;
1: +} Sector;
1: +
1: +struct parsed_partitions {
1: + struct block_device *bdev;
1: + char name[32];
1: + struct {
1: + sector_t from;
1: + sector_t size;
1: + int flags;
1: + bool has_info;
1: + struct partition_meta_info info;
1: + } *parts;
1: + int next;
1: + int limit;
1: + bool access_beyond_eod;
1: + char *pp_buf;
1: +};
1: +
1: +enum {
1: + IOPRIO_WHO_PROCESS = 1,
1: + IOPRIO_WHO_PGRP = 2,
1: + IOPRIO_WHO_USER = 3,
1: +};
1: +
1: +enum {
1: + DOS_EXTENDED_PARTITION = 5,
1: + LINUX_EXTENDED_PARTITION = 133,
1: + WIN98_EXTENDED_PARTITION = 15,
1: + SUN_WHOLE_DISK = 5,
1: + LINUX_SWAP_PARTITION = 130,
1: + LINUX_DATA_PARTITION = 131,
1: + LINUX_LVM_PARTITION = 142,
1: + LINUX_RAID_PARTITION = 253,
1: + SOLARIS_X86_PARTITION = 130,
1: + NEW_SOLARIS_X86_PARTITION = 191,
1: + DM6_AUX1PARTITION = 81,
1: + DM6_AUX3PARTITION = 83,
1: + DM6_PARTITION = 84,
1: + EZD_PARTITION = 85,
1: + FREEBSD_PARTITION = 165,
1: + OPENBSD_PARTITION = 166,
1: + NETBSD_PARTITION = 169,
1: + BSDI_PARTITION = 183,
1: + MINIX_PARTITION = 129,
1: + UNIXWARE_PARTITION = 99,
1: +};
1: +
1: +struct partition {
1: + unsigned char boot_ind;
1: + unsigned char head;
1: + unsigned char sector;
1: + unsigned char cyl;
1: + unsigned char sys_ind;
1: + unsigned char end_head;
1: + unsigned char end_sector;
1: + unsigned char end_cyl;
1: + __le32 start_sect;
1: + __le32 nr_sects;
1: +};
1: +
1: +struct _gpt_header {
1: + __le64 signature;
1: + __le32 revision;
1: + __le32 header_size;
1: + __le32 header_crc32;
1: + __le32 reserved1;
1: + __le64 my_lba;
1: + __le64 alternate_lba;
1: + __le64 first_usable_lba;
1: + __le64 last_usable_lba;
1: + efi_guid_t disk_guid;
1: + __le64 partition_entry_lba;
1: + __le32 num_partition_entries;
1: + __le32 sizeof_partition_entry;
1: + __le32 partition_entry_array_crc32;
1: +} __attribute__((packed));
1: +
1: +typedef struct _gpt_header gpt_header;
1: +
1: +struct _gpt_entry_attributes {
1: + u64 required_to_function: 1;
1: + u64 reserved: 47;
1: + u64 type_guid_specific: 16;
1: +};
1: +
1: +typedef struct _gpt_entry_attributes gpt_entry_attributes;
1: +
1: +struct _gpt_entry {
1: + efi_guid_t partition_type_guid;
1: + efi_guid_t unique_partition_guid;
1: + __le64 starting_lba;
1: + __le64 ending_lba;
1: + gpt_entry_attributes attributes;
1: + efi_char16_t partition_name[36];
1: +};
1: +
1: +typedef struct _gpt_entry gpt_entry;
1: +
1: +struct _gpt_mbr_record {
1: + u8 boot_indicator;
1: + u8 start_head;
1: + u8 start_sector;
1: + u8 start_track;
1: + u8 os_type;
1: + u8 end_head;
1: + u8 end_sector;
1: + u8 end_track;
1: + __le32 starting_lba;
1: + __le32 size_in_lba;
1: +};
1: +
1: +typedef struct _gpt_mbr_record gpt_mbr_record;
1: +
1: +struct _legacy_mbr {
1: + u8 boot_code[440];
1: + __le32 unique_mbr_signature;
1: + __le16 unknown;
1: + gpt_mbr_record partition_record[4];
1: + __le16 signature;
1: +} __attribute__((packed));
1: +
1: +typedef struct _legacy_mbr legacy_mbr;
1: +
1: +struct rq_wait {
1: + wait_queue_head_t wait;
1: + atomic_t inflight;
1: +};
1: +
1: +struct rq_depth {
1: + unsigned int max_depth;
1: + int scale_step;
1: + bool scaled_max;
1: + unsigned int queue_depth;
1: + unsigned int default_depth;
1: +};
1: +
1: +typedef bool acquire_inflight_cb_t(struct rq_wait *, void *);
1: +
1: +typedef void cleanup_cb_t(struct rq_wait *, void *);
1: +
1: +struct rq_qos_wait_data {
1: + struct wait_queue_entry wq;
1: + struct task_struct *task;
1: + struct rq_wait *rqw;
1: + acquire_inflight_cb_t *cb;
1: + void *private_data;
1: + bool got_token;
1: +};
1: +
1: +struct request_sense;
1: +
1: +struct cdrom_generic_command {
1: + unsigned char cmd[12];
1: + unsigned char *buffer;
1: + unsigned int buflen;
1: + int stat;
1: + struct request_sense *sense;
1: + unsigned char data_direction;
1: + int quiet;
1: + int timeout;
1: + void *reserved[1];
1: +};
1: +
1: +struct request_sense {
1: + __u8 error_code: 7;
1: + __u8 valid: 1;
1: + __u8 segment_number;
1: + __u8 sense_key: 4;
1: + __u8 reserved2: 1;
1: + __u8 ili: 1;
1: + __u8 reserved1: 2;
1: + __u8 information[4];
1: + __u8 add_sense_len;
1: + __u8 command_info[4];
1: + __u8 asc;
1: + __u8 ascq;
1: + __u8 fruc;
1: + __u8 sks[3];
1: + __u8 asb[46];
1: +};
1: +
1: +struct scsi_ioctl_command {
1: + unsigned int inlen;
1: + unsigned int outlen;
1: + unsigned char data[0];
1: +};
1: +
1: +enum scsi_device_event {
1: + SDEV_EVT_MEDIA_CHANGE = 1,
1: + SDEV_EVT_INQUIRY_CHANGE_REPORTED = 2,
1: + SDEV_EVT_CAPACITY_CHANGE_REPORTED = 3,
1: + SDEV_EVT_SOFT_THRESHOLD_REACHED_REPORTED = 4,
1: + SDEV_EVT_MODE_PARAMETER_CHANGE_REPORTED = 5,
1: + SDEV_EVT_LUN_CHANGE_REPORTED = 6,
1: + SDEV_EVT_ALUA_STATE_CHANGE_REPORTED = 7,
1: + SDEV_EVT_POWER_ON_RESET_OCCURRED = 8,
1: + SDEV_EVT_FIRST = 1,
1: + SDEV_EVT_LAST = 8,
1: + SDEV_EVT_MAXBITS = 9,
1: +};
1: +
1: +struct scsi_request {
1: + unsigned char __cmd[16];
1: + unsigned char *cmd;
1: + short unsigned int cmd_len;
1: + int result;
1: + unsigned int sense_len;
1: + unsigned int resid_len;
1: + int retries;
1: + void *sense;
1: +};
1: +
1: +struct blk_cmd_filter {
1: + long unsigned int read_ok[4];
1: + long unsigned int write_ok[4];
1: +};
1: +
1: +struct sg_io_hdr {
1: + int interface_id;
1: + int dxfer_direction;
1: + unsigned char cmd_len;
1: + unsigned char mx_sb_len;
1: + short unsigned int iovec_count;
1: + unsigned int dxfer_len;
1: + void *dxferp;
1: + unsigned char *cmdp;
1: + void *sbp;
1: + unsigned int timeout;
1: + unsigned int flags;
1: + int pack_id;
1: + void *usr_ptr;
1: + unsigned char status;
1: + unsigned char masked_status;
1: + unsigned char msg_status;
1: + unsigned char sb_len_wr;
1: + short unsigned int host_status;
1: + short unsigned int driver_status;
1: + int resid;
1: + unsigned int duration;
1: + unsigned int info;
1: +};
1: +
1: +struct compat_sg_io_hdr {
1: + compat_int_t interface_id;
1: + compat_int_t dxfer_direction;
1: + unsigned char cmd_len;
1: + unsigned char mx_sb_len;
1: + short unsigned int iovec_count;
1: + compat_uint_t dxfer_len;
1: + compat_uint_t dxferp;
1: + compat_uptr_t cmdp;
1: + compat_uptr_t sbp;
1: + compat_uint_t timeout;
1: + compat_uint_t flags;
1: + compat_int_t pack_id;
1: + compat_uptr_t usr_ptr;
1: + unsigned char status;
1: + unsigned char masked_status;
1: + unsigned char msg_status;
1: + unsigned char sb_len_wr;
1: + short unsigned int host_status;
1: + short unsigned int driver_status;
1: + compat_int_t resid;
1: + compat_uint_t duration;
1: + compat_uint_t info;
1: +};
1: +
1: +struct bsg_device {
1: + struct request_queue *queue;
1: + spinlock_t lock;
1: + struct hlist_node dev_list;
1: + refcount_t ref_count;
1: + char name[20];
1: + int max_queue;
1: +};
1: +
1: +struct deadline_data {
1: + struct rb_root sort_list[2];
1: + struct list_head fifo_list[2];
1: + struct request *next_rq[2];
1: + unsigned int batching;
1: + unsigned int starved;
1: + int fifo_expire[2];
1: + int fifo_batch;
1: + int writes_starved;
1: + int front_merges;
1: + spinlock_t lock;
1: + spinlock_t zone_lock;
1: + struct list_head dispatch;
1: +};
1: +
1: +struct trace_event_raw_kyber_latency {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char domain[16];
1: + char type[8];
1: + u8 percentile;
1: + u8 numerator;
1: + u8 denominator;
1: + unsigned int samples;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_kyber_adjust {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char domain[16];
1: + unsigned int depth;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_kyber_throttled {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char domain[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_kyber_latency {};
1: +
1: +struct trace_event_data_offsets_kyber_adjust {};
1: +
1: +struct trace_event_data_offsets_kyber_throttled {};
1: +
1: +enum {
1: + KYBER_READ = 0,
1: + KYBER_WRITE = 1,
1: + KYBER_DISCARD = 2,
1: + KYBER_OTHER = 3,
1: + KYBER_NUM_DOMAINS = 4,
1: +};
1: +
1: +enum {
1: + KYBER_ASYNC_PERCENT = 75,
1: +};
1: +
1: +enum {
1: + KYBER_LATENCY_SHIFT = 2,
1: + KYBER_GOOD_BUCKETS = 4,
1: + KYBER_LATENCY_BUCKETS = 8,
1: +};
1: +
1: +enum {
1: + KYBER_TOTAL_LATENCY = 0,
1: + KYBER_IO_LATENCY = 1,
1: +};
1: +
1: +struct kyber_cpu_latency {
1: + atomic_t buckets[48];
1: +};
1: +
1: +struct kyber_ctx_queue {
1: + spinlock_t lock;
1: + struct list_head rq_list[4];
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct kyber_queue_data {
1: + struct request_queue *q;
1: + struct sbitmap_queue domain_tokens[4];
1: + unsigned int async_depth;
1: + struct kyber_cpu_latency *cpu_latency;
1: + struct timer_list timer;
1: + unsigned int latency_buckets[48];
1: + long unsigned int latency_timeout[3];
1: + int domain_p99[3];
1: + u64 latency_targets[3];
1: +};
1: +
1: +struct kyber_hctx_data {
1: + spinlock_t lock;
1: + struct list_head rqs[4];
1: + unsigned int cur_domain;
1: + unsigned int batching;
1: + struct kyber_ctx_queue *kcqs;
1: + struct sbitmap kcq_map[4];
1: + struct sbq_wait domain_wait[4];
1: + struct sbq_wait_state *domain_ws[4];
1: + atomic_t wait_index[4];
1: +};
1: +
1: +struct flush_kcq_data {
1: + struct kyber_hctx_data *khd;
1: + unsigned int sched_domain;
1: + struct list_head *list;
1: +};
1: +
1: +typedef u32 compat_caddr_t;
1: +
1: +struct cdrom_read_audio {
1: + union cdrom_addr addr;
1: + __u8 addr_format;
1: + int nframes;
1: + __u8 *buf;
1: +};
1: +
1: +struct compat_hd_geometry {
1: + unsigned char heads;
1: + unsigned char sectors;
1: + short unsigned int cylinders;
1: + u32 start;
1: +};
1: +
1: +struct compat_cdrom_read_audio {
1: + union cdrom_addr addr;
1: + u8 addr_format;
1: + compat_int_t nframes;
1: + compat_caddr_t buf;
1: +};
1: +
1: +struct compat_cdrom_generic_command {
1: + unsigned char cmd[12];
1: + compat_caddr_t buffer;
1: + compat_uint_t buflen;
1: + compat_int_t stat;
1: + compat_caddr_t sense;
1: + unsigned char data_direction;
1: + compat_int_t quiet;
1: + compat_int_t timeout;
1: + compat_caddr_t reserved[1];
1: +};
1: +
1: +struct compat_blkpg_ioctl_arg {
1: + compat_int_t op;
1: + compat_int_t flags;
1: + compat_int_t datalen;
1: + compat_caddr_t data;
1: +};
1: +
1: +struct show_busy_params {
1: + struct seq_file *m;
1: + struct blk_mq_hw_ctx *hctx;
1: +};
1: +
1: +typedef int (*cmp_r_func_t)(const void *, const void *, const void *);
1: +
1: +typedef __kernel_long_t __kernel_ptrdiff_t;
1: +
1: +typedef __kernel_ptrdiff_t ptrdiff_t;
1: +
1: +struct region {
1: + unsigned int start;
1: + unsigned int off;
1: + unsigned int group_len;
1: + unsigned int end;
1: +};
1: +
1: +enum {
1: + REG_OP_ISFREE = 0,
1: + REG_OP_ALLOC = 1,
1: + REG_OP_RELEASE = 2,
1: +};
1: +
1: +typedef struct scatterlist *sg_alloc_fn(unsigned int, gfp_t);
1: +
1: +typedef void sg_free_fn(struct scatterlist *, unsigned int);
1: +
1: +struct sg_page_iter {
1: + struct scatterlist *sg;
1: + unsigned int sg_pgoffset;
1: + unsigned int __nents;
1: + int __pg_advance;
1: +};
1: +
1: +struct sg_dma_page_iter {
1: + struct sg_page_iter base;
1: +};
1: +
1: +struct sg_mapping_iter {
1: + struct page *page;
1: + void *addr;
1: + size_t length;
1: + size_t consumed;
1: + struct sg_page_iter piter;
1: + unsigned int __offset;
1: + unsigned int __remaining;
1: + unsigned int __flags;
1: +};
1: +
1: +typedef int (*cmp_func)(void *, const struct list_head *, const struct list_head *);
1: +
1: +struct __kfifo {
1: + unsigned int in;
1: + unsigned int out;
1: + unsigned int mask;
1: + unsigned int esize;
1: + void *data;
1: +};
1: +
1: +struct rhltable {
1: + struct rhashtable ht;
1: +};
1: +
1: +struct rhashtable_walker {
1: + struct list_head list;
1: + struct bucket_table *tbl;
1: +};
1: +
1: +struct rhashtable_iter {
1: + struct rhashtable *ht;
1: + struct rhash_head *p;
1: + struct rhlist_head *list;
1: + struct rhashtable_walker walker;
1: + unsigned int slot;
1: + unsigned int skip;
1: + bool end_of_table;
1: +};
1: +
1: +union nested_table {
1: + union nested_table *table;
1: + struct rhash_lock_head *bucket;
1: +};
1: +
1: +struct once_work {
1: + struct work_struct work;
1: + struct static_key_true *key;
1: +};
1: +
1: +struct genradix_iter {
1: + size_t offset;
1: + size_t pos;
1: +};
1: +
1: +struct genradix_node {
1: + union {
1: + struct genradix_node *children[512];
1: + u8 data[4096];
1: + };
1: +};
1: +
1: +struct reciprocal_value {
1: + u32 m;
1: + u8 sh1;
1: + u8 sh2;
1: +};
1: +
1: +struct reciprocal_value_adv {
1: + u32 m;
1: + u8 sh;
1: + u8 exp;
1: + bool is_wide_m;
1: +};
1: +
1: +struct arc4_ctx {
1: + u32 S[256];
1: + u32 x;
1: + u32 y;
1: +};
1: +
1: +enum devm_ioremap_type {
1: + DEVM_IOREMAP = 0,
1: + DEVM_IOREMAP_NC = 1,
1: + DEVM_IOREMAP_UC = 2,
1: + DEVM_IOREMAP_WC = 3,
1: +};
1: +
1: +struct pcim_iomap_devres {
1: + void *table[6];
1: +};
1: +
1: +enum assoc_array_walk_status {
1: + assoc_array_walk_tree_empty = 0,
1: + assoc_array_walk_found_terminal_node = 1,
1: + assoc_array_walk_found_wrong_shortcut = 2,
1: +};
1: +
1: +struct assoc_array_walk_result {
1: + struct {
1: + struct assoc_array_node *node;
1: + int level;
1: + int slot;
1: + } terminal_node;
1: + struct {
1: + struct assoc_array_shortcut *shortcut;
1: + int level;
1: + int sc_level;
1: + long unsigned int sc_segments;
1: + long unsigned int dissimilarity;
1: + } wrong_shortcut;
1: +};
1: +
1: +struct assoc_array_delete_collapse_context {
1: + struct assoc_array_node *node;
1: + const void *skip_leaf;
1: + int slot;
1: +};
1: +
1: +struct gen_pool_chunk {
1: + struct list_head next_chunk;
1: + atomic_long_t avail;
1: + phys_addr_t phys_addr;
1: + void *owner;
1: + long unsigned int start_addr;
1: + long unsigned int end_addr;
1: + long unsigned int bits[0];
1: +};
1: +
1: +struct genpool_data_align {
1: + int align;
1: +};
1: +
1: +struct genpool_data_fixed {
1: + long unsigned int offset;
1: +};
1: +
1: +typedef struct {
1: + unsigned char op;
1: + unsigned char bits;
1: + short unsigned int val;
1: +} code;
1: +
1: +typedef enum {
1: + HEAD = 0,
1: + FLAGS = 1,
1: + TIME = 2,
1: + OS = 3,
1: + EXLEN = 4,
1: + EXTRA = 5,
1: + NAME = 6,
1: + COMMENT = 7,
1: + HCRC = 8,
1: + DICTID = 9,
1: + DICT = 10,
1: + TYPE = 11,
1: + TYPEDO = 12,
1: + STORED = 13,
1: + COPY = 14,
1: + TABLE = 15,
1: + LENLENS = 16,
1: + CODELENS = 17,
1: + LEN = 18,
1: + LENEXT = 19,
1: + DIST = 20,
1: + DISTEXT = 21,
1: + MATCH = 22,
1: + LIT = 23,
1: + CHECK = 24,
1: + LENGTH = 25,
1: + DONE = 26,
1: + BAD = 27,
1: + MEM = 28,
1: + SYNC = 29,
1: +} inflate_mode;
1: +
1: +struct inflate_state {
1: + inflate_mode mode;
1: + int last;
1: + int wrap;
1: + int havedict;
1: + int flags;
1: + unsigned int dmax;
1: + long unsigned int check;
1: + long unsigned int total;
1: + unsigned int wbits;
1: + unsigned int wsize;
1: + unsigned int whave;
1: + unsigned int write;
1: + unsigned char *window;
1: + long unsigned int hold;
1: + unsigned int bits;
1: + unsigned int length;
1: + unsigned int offset;
1: + unsigned int extra;
1: + const code *lencode;
1: + const code *distcode;
1: + unsigned int lenbits;
1: + unsigned int distbits;
1: + unsigned int ncode;
1: + unsigned int nlen;
1: + unsigned int ndist;
1: + unsigned int have;
1: + code *next;
1: + short unsigned int lens[320];
1: + short unsigned int work[288];
1: + code codes[2048];
1: +};
1: +
1: +union uu {
1: + short unsigned int us;
1: + unsigned char b[2];
1: +};
1: +
1: +typedef unsigned int uInt;
1: +
1: +typedef enum {
1: + CODES = 0,
1: + LENS = 1,
1: + DISTS = 2,
1: +} codetype;
1: +
1: +struct inflate_workspace {
1: + struct inflate_state inflate_state;
1: + unsigned char working_window[32768];
1: +};
1: +
1: +typedef unsigned char uch;
1: +
1: +typedef short unsigned int ush;
1: +
1: +typedef long unsigned int ulg;
1: +
1: +struct ct_data_s {
1: + union {
1: + ush freq;
1: + ush code;
1: + } fc;
1: + union {
1: + ush dad;
1: + ush len;
1: + } dl;
1: +};
1: +
1: +typedef struct ct_data_s ct_data;
1: +
1: +struct static_tree_desc_s {
1: + const ct_data *static_tree;
1: + const int *extra_bits;
1: + int extra_base;
1: + int elems;
1: + int max_length;
1: +};
1: +
1: +typedef struct static_tree_desc_s static_tree_desc;
1: +
1: +struct tree_desc_s {
1: + ct_data *dyn_tree;
1: + int max_code;
1: + static_tree_desc *stat_desc;
1: +};
1: +
1: +typedef ush Pos;
1: +
1: +typedef unsigned int IPos;
1: +
1: +struct deflate_state {
1: + z_streamp strm;
1: + int status;
1: + Byte *pending_buf;
1: + ulg pending_buf_size;
1: + Byte *pending_out;
1: + int pending;
1: + int noheader;
1: + Byte data_type;
1: + Byte method;
1: + int last_flush;
1: + uInt w_size;
1: + uInt w_bits;
1: + uInt w_mask;
1: + Byte *window;
1: + ulg window_size;
1: + Pos *prev;
1: + Pos *head;
1: + uInt ins_h;
1: + uInt hash_size;
1: + uInt hash_bits;
1: + uInt hash_mask;
1: + uInt hash_shift;
1: + long int block_start;
1: + uInt match_length;
1: + IPos prev_match;
1: + int match_available;
1: + uInt strstart;
1: + uInt match_start;
1: + uInt lookahead;
1: + uInt prev_length;
1: + uInt max_chain_length;
1: + uInt max_lazy_match;
1: + int level;
1: + int strategy;
1: + uInt good_match;
1: + int nice_match;
1: + struct ct_data_s dyn_ltree[573];
1: + struct ct_data_s dyn_dtree[61];
1: + struct ct_data_s bl_tree[39];
1: + struct tree_desc_s l_desc;
1: + struct tree_desc_s d_desc;
1: + struct tree_desc_s bl_desc;
1: + ush bl_count[16];
1: + int heap[573];
1: + int heap_len;
1: + int heap_max;
1: + uch depth[573];
1: + uch *l_buf;
1: + uInt lit_bufsize;
1: + uInt last_lit;
1: + ush *d_buf;
1: + ulg opt_len;
1: + ulg static_len;
1: + ulg compressed_len;
1: + uInt matches;
1: + int last_eob_len;
1: + ush bi_buf;
1: + int bi_valid;
1: +};
1: +
1: +typedef struct deflate_state deflate_state;
1: +
1: +struct deflate_workspace {
1: + deflate_state deflate_memory;
1: + Byte *window_memory;
1: + Pos *prev_memory;
1: + Pos *head_memory;
1: + char *overlay_memory;
1: +};
1: +
1: +typedef struct deflate_workspace deflate_workspace;
1: +
1: +typedef enum {
1: + need_more = 0,
1: + block_done = 1,
1: + finish_started = 2,
1: + finish_done = 3,
1: +} block_state;
1: +
1: +typedef block_state (*compress_func)(deflate_state *, int);
1: +
1: +struct config_s {
1: + ush good_length;
1: + ush max_lazy;
1: + ush nice_length;
1: + ush max_chain;
1: + compress_func func;
1: +};
1: +
1: +typedef struct config_s config;
1: +
1: +typedef struct tree_desc_s tree_desc;
1: +
1: +typedef struct {
1: + const uint8_t *externalDict;
1: + size_t extDictSize;
1: + const uint8_t *prefixEnd;
1: + size_t prefixSize;
1: +} LZ4_streamDecode_t_internal;
1: +
1: +typedef union {
1: + long long unsigned int table[4];
1: + LZ4_streamDecode_t_internal internal_donotuse;
1: +} LZ4_streamDecode_t;
1: +
1: +typedef uint8_t BYTE;
1: +
1: +typedef uint16_t U16;
1: +
1: +typedef uint32_t U32;
1: +
1: +typedef uint64_t U64;
1: +
1: +typedef uintptr_t uptrval;
1: +
1: +typedef enum {
1: + noDict = 0,
1: + withPrefix64k = 1,
1: + usingExtDict = 2,
1: +} dict_directive;
1: +
1: +typedef enum {
1: + endOnOutputSize = 0,
1: + endOnInputSize = 1,
1: +} endCondition_directive;
1: +
1: +typedef enum {
1: + decode_full_block = 0,
1: + partial_decode = 1,
1: +} earlyEnd_directive;
1: +
1: +enum xz_mode {
1: + XZ_SINGLE = 0,
1: + XZ_PREALLOC = 1,
1: + XZ_DYNALLOC = 2,
1: +};
1: +
1: +enum xz_ret {
1: + XZ_OK = 0,
1: + XZ_STREAM_END = 1,
1: + XZ_UNSUPPORTED_CHECK = 2,
1: + XZ_MEM_ERROR = 3,
1: + XZ_MEMLIMIT_ERROR = 4,
1: + XZ_FORMAT_ERROR = 5,
1: + XZ_OPTIONS_ERROR = 6,
1: + XZ_DATA_ERROR = 7,
1: + XZ_BUF_ERROR = 8,
1: +};
1: +
1: +struct xz_buf {
1: + const uint8_t *in;
1: + size_t in_pos;
1: + size_t in_size;
1: + uint8_t *out;
1: + size_t out_pos;
1: + size_t out_size;
1: +};
1: +
1: +typedef uint64_t vli_type;
1: +
1: +enum xz_check {
1: + XZ_CHECK_NONE = 0,
1: + XZ_CHECK_CRC32 = 1,
1: + XZ_CHECK_CRC64 = 4,
1: + XZ_CHECK_SHA256 = 10,
1: +};
1: +
1: +struct xz_dec_hash {
1: + vli_type unpadded;
1: + vli_type uncompressed;
1: + uint32_t crc32;
1: +};
1: +
1: +struct xz_dec_lzma2;
1: +
1: +struct xz_dec_bcj;
1: +
1: +struct xz_dec {
1: + enum {
1: + SEQ_STREAM_HEADER = 0,
1: + SEQ_BLOCK_START = 1,
1: + SEQ_BLOCK_HEADER = 2,
1: + SEQ_BLOCK_UNCOMPRESS = 3,
1: + SEQ_BLOCK_PADDING = 4,
1: + SEQ_BLOCK_CHECK = 5,
1: + SEQ_INDEX = 6,
1: + SEQ_INDEX_PADDING = 7,
1: + SEQ_INDEX_CRC32 = 8,
1: + SEQ_STREAM_FOOTER = 9,
1: + } sequence;
1: + uint32_t pos;
1: + vli_type vli;
1: + size_t in_start;
1: + size_t out_start;
1: + uint32_t crc32;
1: + enum xz_check check_type;
1: + enum xz_mode mode;
1: + bool allow_buf_error;
1: + struct {
1: + vli_type compressed;
1: + vli_type uncompressed;
1: + uint32_t size;
1: + } block_header;
1: + struct {
1: + vli_type compressed;
1: + vli_type uncompressed;
1: + vli_type count;
1: + struct xz_dec_hash hash;
1: + } block;
1: + struct {
1: + enum {
1: + SEQ_INDEX_COUNT = 0,
1: + SEQ_INDEX_UNPADDED = 1,
1: + SEQ_INDEX_UNCOMPRESSED = 2,
1: + } sequence;
1: + vli_type size;
1: + vli_type count;
1: + struct xz_dec_hash hash;
1: + } index;
1: + struct {
1: + size_t pos;
1: + size_t size;
1: + uint8_t buf[1024];
1: + } temp;
1: + struct xz_dec_lzma2 *lzma2;
1: + struct xz_dec_bcj *bcj;
1: + bool bcj_active;
1: +};
1: +
1: +enum lzma_state {
1: + STATE_LIT_LIT = 0,
1: + STATE_MATCH_LIT_LIT = 1,
1: + STATE_REP_LIT_LIT = 2,
1: + STATE_SHORTREP_LIT_LIT = 3,
1: + STATE_MATCH_LIT = 4,
1: + STATE_REP_LIT = 5,
1: + STATE_SHORTREP_LIT = 6,
1: + STATE_LIT_MATCH = 7,
1: + STATE_LIT_LONGREP = 8,
1: + STATE_LIT_SHORTREP = 9,
1: + STATE_NONLIT_MATCH = 10,
1: + STATE_NONLIT_REP = 11,
1: +};
1: +
1: +struct dictionary {
1: + uint8_t *buf;
1: + size_t start;
1: + size_t pos;
1: + size_t full;
1: + size_t limit;
1: + size_t end;
1: + uint32_t size;
1: + uint32_t size_max;
1: + uint32_t allocated;
1: + enum xz_mode mode;
1: +};
1: +
1: +struct rc_dec {
1: + uint32_t range;
1: + uint32_t code;
1: + uint32_t init_bytes_left;
1: + const uint8_t *in;
1: + size_t in_pos;
1: + size_t in_limit;
1: +};
1: +
1: +struct lzma_len_dec {
1: + uint16_t choice;
1: + uint16_t choice2;
1: + uint16_t low[128];
1: + uint16_t mid[128];
1: + uint16_t high[256];
1: +};
1: +
1: +struct lzma_dec {
1: + uint32_t rep0;
1: + uint32_t rep1;
1: + uint32_t rep2;
1: + uint32_t rep3;
1: + enum lzma_state state;
1: + uint32_t len;
1: + uint32_t lc;
1: + uint32_t literal_pos_mask;
1: + uint32_t pos_mask;
1: + uint16_t is_match[192];
1: + uint16_t is_rep[12];
1: + uint16_t is_rep0[12];
1: + uint16_t is_rep1[12];
1: + uint16_t is_rep2[12];
1: + uint16_t is_rep0_long[192];
1: + uint16_t dist_slot[256];
1: + uint16_t dist_special[114];
1: + uint16_t dist_align[16];
1: + struct lzma_len_dec match_len_dec;
1: + struct lzma_len_dec rep_len_dec;
1: + uint16_t literal[12288];
1: +};
1: +
1: +enum lzma2_seq {
1: + SEQ_CONTROL = 0,
1: + SEQ_UNCOMPRESSED_1 = 1,
1: + SEQ_UNCOMPRESSED_2 = 2,
1: + SEQ_COMPRESSED_0 = 3,
1: + SEQ_COMPRESSED_1 = 4,
1: + SEQ_PROPERTIES = 5,
1: + SEQ_LZMA_PREPARE = 6,
1: + SEQ_LZMA_RUN = 7,
1: + SEQ_COPY = 8,
1: +};
1: +
1: +struct lzma2_dec {
1: + enum lzma2_seq sequence;
1: + enum lzma2_seq next_sequence;
1: + uint32_t uncompressed;
1: + uint32_t compressed;
1: + bool need_dict_reset;
1: + bool need_props;
1: +};
1: +
1: +struct xz_dec_lzma2___2 {
1: + struct rc_dec rc;
1: + struct dictionary dict;
1: + struct lzma2_dec lzma2;
1: + struct lzma_dec lzma;
1: + struct {
1: + uint32_t size;
1: + uint8_t buf[63];
1: + } temp;
1: +};
1: +
1: +struct xz_dec_bcj___2 {
1: + enum {
1: + BCJ_X86 = 4,
1: + BCJ_POWERPC = 5,
1: + BCJ_IA64 = 6,
1: + BCJ_ARM = 7,
1: + BCJ_ARMTHUMB = 8,
1: + BCJ_SPARC = 9,
1: + } type;
1: + enum xz_ret ret;
1: + bool single_call;
1: + uint32_t pos;
1: + uint32_t x86_prev_mask;
1: + uint8_t *out;
1: + size_t out_pos;
1: + size_t out_size;
1: + struct {
1: + size_t filtered;
1: + size_t size;
1: + uint8_t buf[16];
1: + } temp;
1: +};
1: +
1: +struct ei_entry {
1: + struct list_head list;
1: + long unsigned int start_addr;
1: + long unsigned int end_addr;
1: + int etype;
1: + void *priv;
1: +};
1: +
1: +struct nla_bitfield32 {
1: + __u32 value;
1: + __u32 selector;
1: +};
1: +
1: +enum nla_policy_validation {
1: + NLA_VALIDATE_NONE = 0,
1: + NLA_VALIDATE_RANGE = 1,
1: + NLA_VALIDATE_MIN = 2,
1: + NLA_VALIDATE_MAX = 3,
1: + NLA_VALIDATE_FUNCTION = 4,
1: +};
1: +
1: +struct cpu_rmap {
1: + struct kref refcount;
1: + u16 size;
1: + u16 used;
1: + void **obj;
1: + struct {
1: + u16 index;
1: + u16 dist;
1: + } near[0];
1: +};
1: +
1: +struct irq_glue {
1: + struct irq_affinity_notify notify;
1: + struct cpu_rmap *rmap;
1: + u16 index;
1: +};
1: +
1: +typedef mpi_limb_t *mpi_ptr_t;
1: +
1: +typedef int mpi_size_t;
1: +
1: +typedef mpi_limb_t UWtype;
1: +
1: +typedef unsigned int UHWtype;
1: +
1: +struct karatsuba_ctx {
1: + struct karatsuba_ctx *next;
1: + mpi_ptr_t tspace;
1: + mpi_size_t tspace_size;
1: + mpi_ptr_t tp;
1: + mpi_size_t tp_size;
1: +};
1: +
1: +typedef long int mpi_limb_signed_t;
1: +
1: +struct sg_pool {
1: + size_t size;
1: + char *name;
1: + struct kmem_cache *slab;
1: + mempool_t *pool;
1: +};
1: +
1: +struct font_desc {
1: + int idx;
1: + const char *name;
1: + int width;
1: + int height;
1: + const void *data;
1: + int pref;
1: +};
1: +
1: +struct msr {
1: + union {
1: + struct {
1: + u32 l;
1: + u32 h;
1: + };
1: + u64 q;
1: + };
1: +};
1: +
1: +struct msr_info {
1: + u32 msr_no;
1: + struct msr reg;
1: + struct msr *msrs;
1: + int err;
1: +};
1: +
1: +struct msr_regs_info {
1: + u32 *regs;
1: + int err;
1: +};
1: +
1: +struct msr_info_completion {
1: + struct msr_info msr;
1: + struct completion done;
1: +};
1: +
1: +struct trace_event_raw_msr_trace_class {
1: + struct trace_entry ent;
1: + unsigned int msr;
1: + u64 val;
1: + int failed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_msr_trace_class {};
1: +
1: +struct pci_sriov {
1: + int pos;
1: + int nres;
1: + u32 cap;
1: + u16 ctrl;
1: + u16 total_VFs;
1: + u16 initial_VFs;
1: + u16 num_VFs;
1: + u16 offset;
1: + u16 stride;
1: + u16 vf_device;
1: + u32 pgsz;
1: + u8 link;
1: + u8 max_VF_buses;
1: + u16 driver_max_VFs;
1: + struct pci_dev *dev;
1: + struct pci_dev *self;
1: + u32 class;
1: + u8 hdr_type;
1: + u16 subsystem_vendor;
1: + u16 subsystem_device;
1: + resource_size_t barsz[6];
1: + bool drivers_autoprobe;
1: +};
1: +
1: +struct pci_bus_resource {
1: + struct list_head list;
1: + struct resource *res;
1: + unsigned int flags;
1: +};
1: +
1: +typedef u64 pci_bus_addr_t;
1: +
1: +struct pci_bus_region {
1: + pci_bus_addr_t start;
1: + pci_bus_addr_t end;
1: +};
1: +
1: +enum pci_fixup_pass {
1: + pci_fixup_early = 0,
1: + pci_fixup_header = 1,
1: + pci_fixup_final = 2,
1: + pci_fixup_enable = 3,
1: + pci_fixup_resume = 4,
1: + pci_fixup_suspend = 5,
1: + pci_fixup_resume_early = 6,
1: + pci_fixup_suspend_late = 7,
1: +};
1: +
1: +struct hotplug_slot_ops;
1: +
1: +struct hotplug_slot {
1: + const struct hotplug_slot_ops *ops;
1: + struct list_head slot_list;
1: + struct pci_slot *pci_slot;
1: + struct module *owner;
1: + const char *mod_name;
1: +};
1: +
1: +enum pci_dev_flags {
1: + PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG = 1,
1: + PCI_DEV_FLAGS_NO_D3 = 2,
1: + PCI_DEV_FLAGS_ASSIGNED = 4,
1: + PCI_DEV_FLAGS_ACS_ENABLED_QUIRK = 8,
1: + PCI_DEV_FLAG_PCIE_BRIDGE_ALIAS = 32,
1: + PCI_DEV_FLAGS_NO_BUS_RESET = 64,
1: + PCI_DEV_FLAGS_NO_PM_RESET = 128,
1: + PCI_DEV_FLAGS_VPD_REF_F0 = 256,
1: + PCI_DEV_FLAGS_BRIDGE_XLATE_ROOT = 512,
1: + PCI_DEV_FLAGS_NO_FLR_RESET = 1024,
1: + PCI_DEV_FLAGS_NO_RELAXED_ORDERING = 2048,
1: +};
1: +
1: +enum pci_bus_flags {
1: + PCI_BUS_FLAGS_NO_MSI = 1,
1: + PCI_BUS_FLAGS_NO_MMRBC = 2,
1: + PCI_BUS_FLAGS_NO_AERSID = 4,
1: + PCI_BUS_FLAGS_NO_EXTCFG = 8,
1: +};
1: +
1: +enum pci_bus_speed {
1: + PCI_SPEED_33MHz = 0,
1: + PCI_SPEED_66MHz = 1,
1: + PCI_SPEED_66MHz_PCIX = 2,
1: + PCI_SPEED_100MHz_PCIX = 3,
1: + PCI_SPEED_133MHz_PCIX = 4,
1: + PCI_SPEED_66MHz_PCIX_ECC = 5,
1: + PCI_SPEED_100MHz_PCIX_ECC = 6,
1: + PCI_SPEED_133MHz_PCIX_ECC = 7,
1: + PCI_SPEED_66MHz_PCIX_266 = 9,
1: + PCI_SPEED_100MHz_PCIX_266 = 10,
1: + PCI_SPEED_133MHz_PCIX_266 = 11,
1: + AGP_UNKNOWN = 12,
1: + AGP_1X = 13,
1: + AGP_2X = 14,
1: + AGP_4X = 15,
1: + AGP_8X = 16,
1: + PCI_SPEED_66MHz_PCIX_533 = 17,
1: + PCI_SPEED_100MHz_PCIX_533 = 18,
1: + PCI_SPEED_133MHz_PCIX_533 = 19,
1: + PCIE_SPEED_2_5GT = 20,
1: + PCIE_SPEED_5_0GT = 21,
1: + PCIE_SPEED_8_0GT = 22,
1: + PCIE_SPEED_16_0GT = 23,
1: + PCIE_SPEED_32_0GT = 24,
1: + PCI_SPEED_UNKNOWN = 255,
1: +};
1: +
1: +struct pci_host_bridge {
1: + struct device dev;
1: + struct pci_bus *bus;
1: + struct pci_ops *ops;
1: + void *sysdata;
1: + int busnr;
1: + struct list_head windows;
1: + struct list_head dma_ranges;
1: + u8 (*swizzle_irq)(struct pci_dev *, u8 *);
1: + int (*map_irq)(const struct pci_dev *, u8, u8);
1: + void (*release_fn)(struct pci_host_bridge *);
1: + void *release_data;
1: + struct msi_controller *msi;
1: + unsigned int ignore_reset_delay: 1;
1: + unsigned int no_ext_tags: 1;
1: + unsigned int native_aer: 1;
1: + unsigned int native_pcie_hotplug: 1;
1: + unsigned int native_shpc_hotplug: 1;
1: + unsigned int native_pme: 1;
1: + unsigned int native_ltr: 1;
1: + unsigned int preserve_config: 1;
1: + resource_size_t (*align_resource)(struct pci_dev *, const struct resource *, resource_size_t, resource_size_t, resource_size_t);
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long unsigned int private[0];
1: +};
1: +
1: +enum {
1: + PCI_REASSIGN_ALL_RSRC = 1,
1: + PCI_REASSIGN_ALL_BUS = 2,
1: + PCI_PROBE_ONLY = 4,
1: + PCI_CAN_SKIP_ISA_ALIGN = 8,
1: + PCI_ENABLE_PROC_DOMAINS = 16,
1: + PCI_COMPAT_DOMAIN_0 = 32,
1: + PCI_SCAN_ALL_PCIE_DEVS = 64,
1: +};
1: +
1: +enum pcie_bus_config_types {
1: + PCIE_BUS_TUNE_OFF = 0,
1: + PCIE_BUS_DEFAULT = 1,
1: + PCIE_BUS_SAFE = 2,
1: + PCIE_BUS_PERFORMANCE = 3,
1: + PCIE_BUS_PEER2PEER = 4,
1: +};
1: +
1: +struct hotplug_slot_ops {
1: + int (*enable_slot)(struct hotplug_slot *);
1: + int (*disable_slot)(struct hotplug_slot *);
1: + int (*set_attention_status)(struct hotplug_slot *, u8);
1: + int (*hardware_test)(struct hotplug_slot *, u32);
1: + int (*get_power_status)(struct hotplug_slot *, u8 *);
1: + int (*get_attention_status)(struct hotplug_slot *, u8 *);
1: + int (*get_latch_status)(struct hotplug_slot *, u8 *);
1: + int (*get_adapter_status)(struct hotplug_slot *, u8 *);
1: + int (*reset_slot)(struct hotplug_slot *, int);
1: +};
1: +
1: +enum pci_bar_type {
1: + pci_bar_unknown = 0,
1: + pci_bar_io = 1,
1: + pci_bar_mem32 = 2,
1: + pci_bar_mem64 = 3,
1: +};
1: +
1: +struct pci_domain_busn_res {
1: + struct list_head list;
1: + struct resource res;
1: + int domain_nr;
1: +};
1: +
1: +struct bus_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct bus_type *, char *);
1: + ssize_t (*store)(struct bus_type *, const char *, size_t);
1: +};
1: +
1: +enum pcie_reset_state {
1: + pcie_deassert_reset = 1,
1: + pcie_warm_reset = 2,
1: + pcie_hot_reset = 3,
1: +};
1: +
1: +enum pcie_link_width {
1: + PCIE_LNK_WIDTH_RESRV = 0,
1: + PCIE_LNK_X1 = 1,
1: + PCIE_LNK_X2 = 2,
1: + PCIE_LNK_X4 = 4,
1: + PCIE_LNK_X8 = 8,
1: + PCIE_LNK_X12 = 12,
1: + PCIE_LNK_X16 = 16,
1: + PCIE_LNK_X32 = 32,
1: + PCIE_LNK_WIDTH_UNKNOWN = 255,
1: +};
1: +
1: +struct pci_cap_saved_data {
1: + u16 cap_nr;
1: + bool cap_extended;
1: + unsigned int size;
1: + u32 data[0];
1: +};
1: +
1: +struct pci_cap_saved_state {
1: + struct hlist_node next;
1: + struct pci_cap_saved_data cap;
1: +};
1: +
1: +typedef int (*arch_set_vga_state_t)(struct pci_dev *, bool, unsigned int, u32);
1: +
1: +struct pci_platform_pm_ops {
1: + bool (*bridge_d3)(struct pci_dev *);
1: + bool (*is_manageable)(struct pci_dev *);
1: + int (*set_state)(struct pci_dev *, pci_power_t);
1: + pci_power_t (*get_state)(struct pci_dev *);
1: + void (*refresh_state)(struct pci_dev *);
1: + pci_power_t (*choose_state)(struct pci_dev *);
1: + int (*set_wakeup)(struct pci_dev *, bool);
1: + bool (*need_resume)(struct pci_dev *);
1: +};
1: +
1: +struct pci_pme_device {
1: + struct list_head list;
1: + struct pci_dev *dev;
1: +};
1: +
1: +struct pci_saved_state {
1: + u32 config_space[16];
1: + struct pci_cap_saved_data cap[0];
1: +};
1: +
1: +struct pci_devres {
1: + unsigned int enabled: 1;
1: + unsigned int pinned: 1;
1: + unsigned int orig_intx: 1;
1: + unsigned int restore_intx: 1;
1: + unsigned int mwi: 1;
1: + u32 region_mask;
1: +};
1: +
1: +struct driver_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct device_driver *, char *);
1: + ssize_t (*store)(struct device_driver *, const char *, size_t);
1: +};
1: +
1: +enum pci_ers_result {
1: + PCI_ERS_RESULT_NONE = 1,
1: + PCI_ERS_RESULT_CAN_RECOVER = 2,
1: + PCI_ERS_RESULT_NEED_RESET = 3,
1: + PCI_ERS_RESULT_DISCONNECT = 4,
1: + PCI_ERS_RESULT_RECOVERED = 5,
1: + PCI_ERS_RESULT_NO_AER_DRIVER = 6,
1: +};
1: +
1: +enum dev_dma_attr {
1: + DEV_DMA_NOT_SUPPORTED = 0,
1: + DEV_DMA_NON_COHERENT = 1,
1: + DEV_DMA_COHERENT = 2,
1: +};
1: +
1: +struct pcie_device {
1: + int irq;
1: + struct pci_dev *port;
1: + u32 service;
1: + void *priv_data;
1: + struct device device;
1: +};
1: +
1: +struct pcie_port_service_driver {
1: + const char *name;
1: + int (*probe)(struct pcie_device *);
1: + void (*remove)(struct pcie_device *);
1: + int (*suspend)(struct pcie_device *);
1: + int (*resume_noirq)(struct pcie_device *);
1: + int (*resume)(struct pcie_device *);
1: + int (*runtime_suspend)(struct pcie_device *);
1: + int (*runtime_resume)(struct pcie_device *);
1: + void (*error_resume)(struct pci_dev *);
1: + pci_ers_result_t (*reset_link)(struct pci_dev *);
1: + int port_type;
1: + u32 service;
1: + struct device_driver driver;
1: +};
1: +
1: +struct pci_dynid {
1: + struct list_head node;
1: + struct pci_device_id id;
1: +};
1: +
1: +struct drv_dev_and_id {
1: + struct pci_driver *drv;
1: + struct pci_dev *dev;
1: + const struct pci_device_id *id;
1: +};
1: +
1: +enum pci_mmap_state {
1: + pci_mmap_io = 0,
1: + pci_mmap_mem = 1,
1: +};
1: +
1: +enum pci_mmap_api {
1: + PCI_MMAP_SYSFS = 0,
1: + PCI_MMAP_PROCFS = 1,
1: +};
1: +
1: +enum pci_lost_interrupt_reason {
1: + PCI_LOST_IRQ_NO_INFORMATION = 0,
1: + PCI_LOST_IRQ_DISABLE_MSI = 1,
1: + PCI_LOST_IRQ_DISABLE_MSIX = 2,
1: + PCI_LOST_IRQ_DISABLE_ACPI = 3,
1: +};
1: +
1: +struct pci_vpd_ops;
1: +
1: +struct pci_vpd {
1: + const struct pci_vpd_ops *ops;
1: + struct bin_attribute *attr;
1: + struct mutex lock;
1: + unsigned int len;
1: + u16 flag;
1: + u8 cap;
1: + unsigned int busy: 1;
1: + unsigned int valid: 1;
1: +};
1: +
1: +struct pci_vpd_ops {
1: + ssize_t (*read)(struct pci_dev *, loff_t, size_t, void *);
1: + ssize_t (*write)(struct pci_dev *, loff_t, size_t, const void *);
1: + int (*set_size)(struct pci_dev *, size_t);
1: +};
1: +
1: +struct pci_dev_resource {
1: + struct list_head list;
1: + struct resource *res;
1: + struct pci_dev *dev;
1: + resource_size_t start;
1: + resource_size_t end;
1: + resource_size_t add_size;
1: + resource_size_t min_align;
1: + long unsigned int flags;
1: +};
1: +
1: +enum release_type {
1: + leaf_only = 0,
1: + whole_subtree = 1,
1: +};
1: +
1: +enum enable_type {
1: + undefined = -1,
1: + user_disabled = 0,
1: + auto_disabled = 1,
1: + user_enabled = 2,
1: + auto_enabled = 3,
1: +};
1: +
1: +struct portdrv_service_data {
1: + struct pcie_port_service_driver *drv;
1: + struct device *dev;
1: + u32 service;
1: +};
1: +
1: +typedef int (*pcie_pm_callback_t)(struct pcie_device *);
1: +
1: +struct aspm_latency {
1: + u32 l0s;
1: + u32 l1;
1: +};
1: +
1: +struct pcie_link_state {
1: + struct pci_dev *pdev;
1: + struct pci_dev *downstream;
1: + struct pcie_link_state *root;
1: + struct pcie_link_state *parent;
1: + struct list_head sibling;
1: + u32 aspm_support: 7;
1: + u32 aspm_enabled: 7;
1: + u32 aspm_capable: 7;
1: + u32 aspm_default: 7;
1: + char: 4;
1: + u32 aspm_disable: 7;
1: + u32 clkpm_capable: 1;
1: + u32 clkpm_enabled: 1;
1: + u32 clkpm_default: 1;
1: + u32 clkpm_disable: 1;
1: + struct aspm_latency latency_up;
1: + struct aspm_latency latency_dw;
1: + struct aspm_latency acceptable[8];
1: + struct {
1: + u32 up_cap_ptr;
1: + u32 dw_cap_ptr;
1: + u32 ctl1;
1: + u32 ctl2;
1: + } l1ss;
1: +};
1: +
1: +struct aspm_register_info {
1: + u32 support: 2;
1: + u32 enabled: 2;
1: + u32 latency_encoding_l0s;
1: + u32 latency_encoding_l1;
1: + u32 l1ss_cap_ptr;
1: + u32 l1ss_cap;
1: + u32 l1ss_ctl1;
1: + u32 l1ss_ctl2;
1: +};
1: +
1: +struct aer_stats {
1: + u64 dev_cor_errs[16];
1: + u64 dev_fatal_errs[27];
1: + u64 dev_nonfatal_errs[27];
1: + u64 dev_total_cor_errs;
1: + u64 dev_total_fatal_errs;
1: + u64 dev_total_nonfatal_errs;
1: + u64 rootport_total_cor_errs;
1: + u64 rootport_total_fatal_errs;
1: + u64 rootport_total_nonfatal_errs;
1: +};
1: +
1: +struct aer_header_log_regs {
1: + unsigned int dw0;
1: + unsigned int dw1;
1: + unsigned int dw2;
1: + unsigned int dw3;
1: +};
1: +
1: +struct aer_err_info {
1: + struct pci_dev *dev[5];
1: + int error_dev_num;
1: + unsigned int id: 16;
1: + unsigned int severity: 2;
1: + unsigned int __pad1: 5;
1: + unsigned int multi_error_valid: 1;
1: + unsigned int first_error: 5;
1: + unsigned int __pad2: 2;
1: + unsigned int tlp_header_valid: 1;
1: + unsigned int status;
1: + unsigned int mask;
1: + struct aer_header_log_regs tlp;
1: +};
1: +
1: +struct aer_err_source {
1: + unsigned int status;
1: + unsigned int id;
1: +};
1: +
1: +struct aer_rpc {
1: + struct pci_dev *rpd;
1: + struct {
1: + union {
1: + struct __kfifo kfifo;
1: + struct aer_err_source *type;
1: + const struct aer_err_source *const_type;
1: + char (*rectype)[0];
1: + struct aer_err_source *ptr;
1: + const struct aer_err_source *ptr_const;
1: + };
1: + struct aer_err_source buf[128];
1: + } aer_fifo;
1: +};
1: +
1: +struct pcie_pme_service_data {
1: + spinlock_t lock;
1: + struct pcie_device *srv;
1: + struct work_struct work;
1: + bool noirq;
1: +};
1: +
1: +struct pci_filp_private {
1: + enum pci_mmap_state mmap_state;
1: + int write_combine;
1: +};
1: +
1: +struct pci_slot_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct pci_slot *, char *);
1: + ssize_t (*store)(struct pci_slot *, const char *, size_t);
1: +};
1: +
1: +struct acpi_bus_type {
1: + struct list_head list;
1: + const char *name;
1: + bool (*match)(struct device *);
1: + struct acpi_device * (*find_companion)(struct device *);
1: + void (*setup)(struct device *);
1: + void (*cleanup)(struct device *);
1: +};
1: +
1: +struct acpi_pci_root {
1: + struct acpi_device *device;
1: + struct pci_bus *bus;
1: + u16 segment;
1: + struct resource secondary;
1: + u32 osc_support_set;
1: + u32 osc_control_set;
1: + phys_addr_t mcfg_addr;
1: +};
1: +
1: +enum pm_qos_flags_status {
1: + PM_QOS_FLAGS_UNDEFINED = -1,
1: + PM_QOS_FLAGS_NONE = 0,
1: + PM_QOS_FLAGS_SOME = 1,
1: + PM_QOS_FLAGS_ALL = 2,
1: +};
1: +
1: +struct hpx_type0 {
1: + u32 revision;
1: + u8 cache_line_size;
1: + u8 latency_timer;
1: + u8 enable_serr;
1: + u8 enable_perr;
1: +};
1: +
1: +struct hpx_type1 {
1: + u32 revision;
1: + u8 max_mem_read;
1: + u8 avg_max_split;
1: + u16 tot_max_split;
1: +};
1: +
1: +struct hpx_type2 {
1: + u32 revision;
1: + u32 unc_err_mask_and;
1: + u32 unc_err_mask_or;
1: + u32 unc_err_sever_and;
1: + u32 unc_err_sever_or;
1: + u32 cor_err_mask_and;
1: + u32 cor_err_mask_or;
1: + u32 adv_err_cap_and;
1: + u32 adv_err_cap_or;
1: + u16 pci_exp_devctl_and;
1: + u16 pci_exp_devctl_or;
1: + u16 pci_exp_lnkctl_and;
1: + u16 pci_exp_lnkctl_or;
1: + u32 sec_unc_err_sever_and;
1: + u32 sec_unc_err_sever_or;
1: + u32 sec_unc_err_mask_and;
1: + u32 sec_unc_err_mask_or;
1: +};
1: +
1: +struct hpx_type3 {
1: + u16 device_type;
1: + u16 function_type;
1: + u16 config_space_location;
1: + u16 pci_exp_cap_id;
1: + u16 pci_exp_cap_ver;
1: + u16 pci_exp_vendor_id;
1: + u16 dvsec_id;
1: + u16 dvsec_rev;
1: + u16 match_offset;
1: + u32 match_mask_and;
1: + u32 match_value;
1: + u16 reg_offset;
1: + u32 reg_mask_and;
1: + u32 reg_mask_or;
1: +};
1: +
1: +enum hpx_type3_dev_type {
1: + HPX_TYPE_ENDPOINT = 1,
1: + HPX_TYPE_LEG_END = 2,
1: + HPX_TYPE_RC_END = 4,
1: + HPX_TYPE_RC_EC = 8,
1: + HPX_TYPE_ROOT_PORT = 16,
1: + HPX_TYPE_UPSTREAM = 32,
1: + HPX_TYPE_DOWNSTREAM = 64,
1: + HPX_TYPE_PCI_BRIDGE = 128,
1: + HPX_TYPE_PCIE_BRIDGE = 256,
1: +};
1: +
1: +enum hpx_type3_fn_type {
1: + HPX_FN_NORMAL = 1,
1: + HPX_FN_SRIOV_PHYS = 2,
1: + HPX_FN_SRIOV_VIRT = 4,
1: +};
1: +
1: +enum hpx_type3_cfg_loc {
1: + HPX_CFG_PCICFG = 0,
1: + HPX_CFG_PCIE_CAP = 1,
1: + HPX_CFG_PCIE_CAP_EXT = 2,
1: + HPX_CFG_VEND_CAP = 3,
1: + HPX_CFG_DVSEC = 4,
1: + HPX_CFG_MAX = 5,
1: +};
1: +
1: +enum device_link_state {
1: + DL_STATE_NONE = -1,
1: + DL_STATE_DORMANT = 0,
1: + DL_STATE_AVAILABLE = 1,
1: + DL_STATE_CONSUMER_PROBE = 2,
1: + DL_STATE_ACTIVE = 3,
1: + DL_STATE_SUPPLIER_UNBIND = 4,
1: +};
1: +
1: +struct device_link {
1: + struct device *supplier;
1: + struct list_head s_node;
1: + struct device *consumer;
1: + struct list_head c_node;
1: + enum device_link_state status;
1: + u32 flags;
1: + refcount_t rpm_active;
1: + struct kref kref;
1: + struct callback_head callback_head;
1: + bool supplier_preactivated;
1: +};
1: +
1: +enum pci_irq_reroute_variant {
1: + INTEL_IRQ_REROUTE_VARIANT = 1,
1: + MAX_IRQ_REROUTE_VARIANTS = 3,
1: +};
1: +
1: +struct pci_fixup {
1: + u16 vendor;
1: + u16 device;
1: + u32 class;
1: + unsigned int class_shift;
1: + int hook_offset;
1: +};
1: +
1: +enum {
1: + NVME_REG_CAP = 0,
1: + NVME_REG_VS = 8,
1: + NVME_REG_INTMS = 12,
1: + NVME_REG_INTMC = 16,
1: + NVME_REG_CC = 20,
1: + NVME_REG_CSTS = 28,
1: + NVME_REG_NSSR = 32,
1: + NVME_REG_AQA = 36,
1: + NVME_REG_ASQ = 40,
1: + NVME_REG_ACQ = 48,
1: + NVME_REG_CMBLOC = 56,
1: + NVME_REG_CMBSZ = 60,
1: + NVME_REG_BPINFO = 64,
1: + NVME_REG_BPRSEL = 68,
1: + NVME_REG_BPMBL = 72,
1: + NVME_REG_PMRCAP = 3584,
1: + NVME_REG_PMRCTL = 3588,
1: + NVME_REG_PMRSTS = 3592,
1: + NVME_REG_PMREBS = 3596,
1: + NVME_REG_PMRSWTP = 3600,
1: + NVME_REG_DBS = 4096,
1: +};
1: +
1: +enum {
1: + NVME_CC_ENABLE = 1,
1: + NVME_CC_CSS_NVM = 0,
1: + NVME_CC_EN_SHIFT = 0,
1: + NVME_CC_CSS_SHIFT = 4,
1: + NVME_CC_MPS_SHIFT = 7,
1: + NVME_CC_AMS_SHIFT = 11,
1: + NVME_CC_SHN_SHIFT = 14,
1: + NVME_CC_IOSQES_SHIFT = 16,
1: + NVME_CC_IOCQES_SHIFT = 20,
1: + NVME_CC_AMS_RR = 0,
1: + NVME_CC_AMS_WRRU = 2048,
1: + NVME_CC_AMS_VS = 14336,
1: + NVME_CC_SHN_NONE = 0,
1: + NVME_CC_SHN_NORMAL = 16384,
1: + NVME_CC_SHN_ABRUPT = 32768,
1: + NVME_CC_SHN_MASK = 49152,
1: + NVME_CC_IOSQES = 393216,
1: + NVME_CC_IOCQES = 4194304,
1: + NVME_CSTS_RDY = 1,
1: + NVME_CSTS_CFS = 2,
1: + NVME_CSTS_NSSRO = 16,
1: + NVME_CSTS_PP = 32,
1: + NVME_CSTS_SHST_NORMAL = 0,
1: + NVME_CSTS_SHST_OCCUR = 4,
1: + NVME_CSTS_SHST_CMPLT = 8,
1: + NVME_CSTS_SHST_MASK = 12,
1: +};
1: +
1: +enum {
1: + NVME_AEN_BIT_NS_ATTR = 8,
1: + NVME_AEN_BIT_FW_ACT = 9,
1: + NVME_AEN_BIT_ANA_CHANGE = 11,
1: + NVME_AEN_BIT_DISC_CHANGE = 31,
1: +};
1: +
1: +enum {
1: + SWITCHTEC_GAS_MRPC_OFFSET = 0,
1: + SWITCHTEC_GAS_TOP_CFG_OFFSET = 4096,
1: + SWITCHTEC_GAS_SW_EVENT_OFFSET = 6144,
1: + SWITCHTEC_GAS_SYS_INFO_OFFSET = 8192,
1: + SWITCHTEC_GAS_FLASH_INFO_OFFSET = 8704,
1: + SWITCHTEC_GAS_PART_CFG_OFFSET = 16384,
1: + SWITCHTEC_GAS_NTB_OFFSET = 65536,
1: + SWITCHTEC_GAS_PFF_CSR_OFFSET = 1261568,
1: +};
1: +
1: +enum {
1: + SWITCHTEC_NTB_REG_INFO_OFFSET = 0,
1: + SWITCHTEC_NTB_REG_CTRL_OFFSET = 16384,
1: + SWITCHTEC_NTB_REG_DBMSG_OFFSET = 409600,
1: +};
1: +
1: +struct nt_partition_info {
1: + u32 xlink_enabled;
1: + u32 target_part_low;
1: + u32 target_part_high;
1: + u32 reserved;
1: +};
1: +
1: +struct ntb_info_regs {
1: + u8 partition_count;
1: + u8 partition_id;
1: + u16 reserved1;
1: + u64 ep_map;
1: + u16 requester_id;
1: + u16 reserved2;
1: + u32 reserved3[4];
1: + struct nt_partition_info ntp_info[48];
1: +} __attribute__((packed));
1: +
1: +struct ntb_ctrl_regs {
1: + u32 partition_status;
1: + u32 partition_op;
1: + u32 partition_ctrl;
1: + u32 bar_setup;
1: + u32 bar_error;
1: + u16 lut_table_entries;
1: + u16 lut_table_offset;
1: + u32 lut_error;
1: + u16 req_id_table_size;
1: + u16 req_id_table_offset;
1: + u32 req_id_error;
1: + u32 reserved1[7];
1: + struct {
1: + u32 ctl;
1: + u32 win_size;
1: + u64 xlate_addr;
1: + } bar_entry[6];
1: + struct {
1: + u32 win_size;
1: + u32 reserved[3];
1: + } bar_ext_entry[6];
1: + u32 reserved2[192];
1: + u32 req_id_table[512];
1: + u32 reserved3[256];
1: + u64 lut_entry[512];
1: +};
1: +
1: +struct pci_dev_reset_methods {
1: + u16 vendor;
1: + u16 device;
1: + int (*reset)(struct pci_dev *, int);
1: +};
1: +
1: +struct pci_dev_acs_enabled {
1: + u16 vendor;
1: + u16 device;
1: + int (*acs_enabled)(struct pci_dev *, u16);
1: +};
1: +
1: +struct pci_dev_acs_ops {
1: + u16 vendor;
1: + u16 device;
1: + int (*enable_acs)(struct pci_dev *);
1: + int (*disable_acs_redir)(struct pci_dev *);
1: +};
1: +
1: +typedef acpi_status (*acpi_walk_callback)(acpi_handle, u32, void *, void **);
1: +
1: +struct msix_entry {
1: + u32 vector;
1: + u16 entry;
1: +};
1: +
1: +enum dmi_device_type {
1: + DMI_DEV_TYPE_ANY = 0,
1: + DMI_DEV_TYPE_OTHER = 1,
1: + DMI_DEV_TYPE_UNKNOWN = 2,
1: + DMI_DEV_TYPE_VIDEO = 3,
1: + DMI_DEV_TYPE_SCSI = 4,
1: + DMI_DEV_TYPE_ETHERNET = 5,
1: + DMI_DEV_TYPE_TOKENRING = 6,
1: + DMI_DEV_TYPE_SOUND = 7,
1: + DMI_DEV_TYPE_PATA = 8,
1: + DMI_DEV_TYPE_SATA = 9,
1: + DMI_DEV_TYPE_SAS = 10,
1: + DMI_DEV_TYPE_IPMI = -1,
1: + DMI_DEV_TYPE_OEM_STRING = -2,
1: + DMI_DEV_TYPE_DEV_ONBOARD = -3,
1: + DMI_DEV_TYPE_DEV_SLOT = -4,
1: +};
1: +
1: +struct dmi_device {
1: + struct list_head list;
1: + int type;
1: + const char *name;
1: + void *device_data;
1: +};
1: +
1: +struct dmi_dev_onboard {
1: + struct dmi_device dev;
1: + int instance;
1: + int segment;
1: + int bus;
1: + int devfn;
1: +};
1: +
1: +enum smbios_attr_enum {
1: + SMBIOS_ATTR_NONE = 0,
1: + SMBIOS_ATTR_LABEL_SHOW = 1,
1: + SMBIOS_ATTR_INSTANCE_SHOW = 2,
1: +};
1: +
1: +enum acpi_attr_enum {
1: + ACPI_ATTR_LABEL_SHOW = 0,
1: + ACPI_ATTR_INDEX_SHOW = 1,
1: +};
1: +
1: +enum hdmi_infoframe_type {
1: + HDMI_INFOFRAME_TYPE_VENDOR = 129,
1: + HDMI_INFOFRAME_TYPE_AVI = 130,
1: + HDMI_INFOFRAME_TYPE_SPD = 131,
1: + HDMI_INFOFRAME_TYPE_AUDIO = 132,
1: + HDMI_INFOFRAME_TYPE_DRM = 135,
1: +};
1: +
1: +struct hdmi_any_infoframe {
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: +};
1: +
1: +enum hdmi_colorspace {
1: + HDMI_COLORSPACE_RGB = 0,
1: + HDMI_COLORSPACE_YUV422 = 1,
1: + HDMI_COLORSPACE_YUV444 = 2,
1: + HDMI_COLORSPACE_YUV420 = 3,
1: + HDMI_COLORSPACE_RESERVED4 = 4,
1: + HDMI_COLORSPACE_RESERVED5 = 5,
1: + HDMI_COLORSPACE_RESERVED6 = 6,
1: + HDMI_COLORSPACE_IDO_DEFINED = 7,
1: +};
1: +
1: +enum hdmi_scan_mode {
1: + HDMI_SCAN_MODE_NONE = 0,
1: + HDMI_SCAN_MODE_OVERSCAN = 1,
1: + HDMI_SCAN_MODE_UNDERSCAN = 2,
1: + HDMI_SCAN_MODE_RESERVED = 3,
1: +};
1: +
1: +enum hdmi_colorimetry {
1: + HDMI_COLORIMETRY_NONE = 0,
1: + HDMI_COLORIMETRY_ITU_601 = 1,
1: + HDMI_COLORIMETRY_ITU_709 = 2,
1: + HDMI_COLORIMETRY_EXTENDED = 3,
1: +};
1: +
1: +enum hdmi_picture_aspect {
1: + HDMI_PICTURE_ASPECT_NONE = 0,
1: + HDMI_PICTURE_ASPECT_4_3 = 1,
1: + HDMI_PICTURE_ASPECT_16_9 = 2,
1: + HDMI_PICTURE_ASPECT_64_27 = 3,
1: + HDMI_PICTURE_ASPECT_256_135 = 4,
1: + HDMI_PICTURE_ASPECT_RESERVED = 5,
1: +};
1: +
1: +enum hdmi_active_aspect {
1: + HDMI_ACTIVE_ASPECT_16_9_TOP = 2,
1: + HDMI_ACTIVE_ASPECT_14_9_TOP = 3,
1: + HDMI_ACTIVE_ASPECT_16_9_CENTER = 4,
1: + HDMI_ACTIVE_ASPECT_PICTURE = 8,
1: + HDMI_ACTIVE_ASPECT_4_3 = 9,
1: + HDMI_ACTIVE_ASPECT_16_9 = 10,
1: + HDMI_ACTIVE_ASPECT_14_9 = 11,
1: + HDMI_ACTIVE_ASPECT_4_3_SP_14_9 = 13,
1: + HDMI_ACTIVE_ASPECT_16_9_SP_14_9 = 14,
1: + HDMI_ACTIVE_ASPECT_16_9_SP_4_3 = 15,
1: +};
1: +
1: +enum hdmi_extended_colorimetry {
1: + HDMI_EXTENDED_COLORIMETRY_XV_YCC_601 = 0,
1: + HDMI_EXTENDED_COLORIMETRY_XV_YCC_709 = 1,
1: + HDMI_EXTENDED_COLORIMETRY_S_YCC_601 = 2,
1: + HDMI_EXTENDED_COLORIMETRY_OPYCC_601 = 3,
1: + HDMI_EXTENDED_COLORIMETRY_OPRGB = 4,
1: + HDMI_EXTENDED_COLORIMETRY_BT2020_CONST_LUM = 5,
1: + HDMI_EXTENDED_COLORIMETRY_BT2020 = 6,
1: + HDMI_EXTENDED_COLORIMETRY_RESERVED = 7,
1: +};
1: +
1: +enum hdmi_quantization_range {
1: + HDMI_QUANTIZATION_RANGE_DEFAULT = 0,
1: + HDMI_QUANTIZATION_RANGE_LIMITED = 1,
1: + HDMI_QUANTIZATION_RANGE_FULL = 2,
1: + HDMI_QUANTIZATION_RANGE_RESERVED = 3,
1: +};
1: +
1: +enum hdmi_nups {
1: + HDMI_NUPS_UNKNOWN = 0,
1: + HDMI_NUPS_HORIZONTAL = 1,
1: + HDMI_NUPS_VERTICAL = 2,
1: + HDMI_NUPS_BOTH = 3,
1: +};
1: +
1: +enum hdmi_ycc_quantization_range {
1: + HDMI_YCC_QUANTIZATION_RANGE_LIMITED = 0,
1: + HDMI_YCC_QUANTIZATION_RANGE_FULL = 1,
1: +};
1: +
1: +enum hdmi_content_type {
1: + HDMI_CONTENT_TYPE_GRAPHICS = 0,
1: + HDMI_CONTENT_TYPE_PHOTO = 1,
1: + HDMI_CONTENT_TYPE_CINEMA = 2,
1: + HDMI_CONTENT_TYPE_GAME = 3,
1: +};
1: +
1: +enum hdmi_metadata_type {
1: + HDMI_STATIC_METADATA_TYPE1 = 1,
1: +};
1: +
1: +enum hdmi_eotf {
1: + HDMI_EOTF_TRADITIONAL_GAMMA_SDR = 0,
1: + HDMI_EOTF_TRADITIONAL_GAMMA_HDR = 1,
1: + HDMI_EOTF_SMPTE_ST2084 = 2,
1: + HDMI_EOTF_BT_2100_HLG = 3,
1: +};
1: +
1: +struct hdmi_avi_infoframe {
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + enum hdmi_colorspace colorspace;
1: + enum hdmi_scan_mode scan_mode;
1: + enum hdmi_colorimetry colorimetry;
1: + enum hdmi_picture_aspect picture_aspect;
1: + enum hdmi_active_aspect active_aspect;
1: + bool itc;
1: + enum hdmi_extended_colorimetry extended_colorimetry;
1: + enum hdmi_quantization_range quantization_range;
1: + enum hdmi_nups nups;
1: + unsigned char video_code;
1: + enum hdmi_ycc_quantization_range ycc_quantization_range;
1: + enum hdmi_content_type content_type;
1: + unsigned char pixel_repeat;
1: + short unsigned int top_bar;
1: + short unsigned int bottom_bar;
1: + short unsigned int left_bar;
1: + short unsigned int right_bar;
1: +};
1: +
1: +struct hdmi_drm_infoframe {
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + enum hdmi_eotf eotf;
1: + enum hdmi_metadata_type metadata_type;
1: + struct {
1: + u16 x;
1: + u16 y;
1: + } display_primaries[3];
1: + struct {
1: + u16 x;
1: + u16 y;
1: + } white_point;
1: + u16 max_display_mastering_luminance;
1: + u16 min_display_mastering_luminance;
1: + u16 max_cll;
1: + u16 max_fall;
1: +};
1: +
1: +enum hdmi_spd_sdi {
1: + HDMI_SPD_SDI_UNKNOWN = 0,
1: + HDMI_SPD_SDI_DSTB = 1,
1: + HDMI_SPD_SDI_DVDP = 2,
1: + HDMI_SPD_SDI_DVHS = 3,
1: + HDMI_SPD_SDI_HDDVR = 4,
1: + HDMI_SPD_SDI_DVC = 5,
1: + HDMI_SPD_SDI_DSC = 6,
1: + HDMI_SPD_SDI_VCD = 7,
1: + HDMI_SPD_SDI_GAME = 8,
1: + HDMI_SPD_SDI_PC = 9,
1: + HDMI_SPD_SDI_BD = 10,
1: + HDMI_SPD_SDI_SACD = 11,
1: + HDMI_SPD_SDI_HDDVD = 12,
1: + HDMI_SPD_SDI_PMP = 13,
1: +};
1: +
1: +struct hdmi_spd_infoframe {
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + char vendor[8];
1: + char product[16];
1: + enum hdmi_spd_sdi sdi;
1: +};
1: +
1: +enum hdmi_audio_coding_type {
1: + HDMI_AUDIO_CODING_TYPE_STREAM = 0,
1: + HDMI_AUDIO_CODING_TYPE_PCM = 1,
1: + HDMI_AUDIO_CODING_TYPE_AC3 = 2,
1: + HDMI_AUDIO_CODING_TYPE_MPEG1 = 3,
1: + HDMI_AUDIO_CODING_TYPE_MP3 = 4,
1: + HDMI_AUDIO_CODING_TYPE_MPEG2 = 5,
1: + HDMI_AUDIO_CODING_TYPE_AAC_LC = 6,
1: + HDMI_AUDIO_CODING_TYPE_DTS = 7,
1: + HDMI_AUDIO_CODING_TYPE_ATRAC = 8,
1: + HDMI_AUDIO_CODING_TYPE_DSD = 9,
1: + HDMI_AUDIO_CODING_TYPE_EAC3 = 10,
1: + HDMI_AUDIO_CODING_TYPE_DTS_HD = 11,
1: + HDMI_AUDIO_CODING_TYPE_MLP = 12,
1: + HDMI_AUDIO_CODING_TYPE_DST = 13,
1: + HDMI_AUDIO_CODING_TYPE_WMA_PRO = 14,
1: + HDMI_AUDIO_CODING_TYPE_CXT = 15,
1: +};
1: +
1: +enum hdmi_audio_sample_size {
1: + HDMI_AUDIO_SAMPLE_SIZE_STREAM = 0,
1: + HDMI_AUDIO_SAMPLE_SIZE_16 = 1,
1: + HDMI_AUDIO_SAMPLE_SIZE_20 = 2,
1: + HDMI_AUDIO_SAMPLE_SIZE_24 = 3,
1: +};
1: +
1: +enum hdmi_audio_sample_frequency {
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM = 0,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_32000 = 1,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_44100 = 2,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_48000 = 3,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_88200 = 4,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_96000 = 5,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_176400 = 6,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_192000 = 7,
1: +};
1: +
1: +enum hdmi_audio_coding_type_ext {
1: + HDMI_AUDIO_CODING_TYPE_EXT_CT = 0,
1: + HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC = 1,
1: + HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC_V2 = 2,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG_SURROUND = 3,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC = 4,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC_V2 = 5,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_AAC_LC = 6,
1: + HDMI_AUDIO_CODING_TYPE_EXT_DRA = 7,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC_SURROUND = 8,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_AAC_LC_SURROUND = 10,
1: +};
1: +
1: +struct hdmi_audio_infoframe {
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + unsigned char channels;
1: + enum hdmi_audio_coding_type coding_type;
1: + enum hdmi_audio_sample_size sample_size;
1: + enum hdmi_audio_sample_frequency sample_frequency;
1: + enum hdmi_audio_coding_type_ext coding_type_ext;
1: + unsigned char channel_allocation;
1: + unsigned char level_shift_value;
1: + bool downmix_inhibit;
1: +};
1: +
1: +enum hdmi_3d_structure {
1: + HDMI_3D_STRUCTURE_INVALID = -1,
1: + HDMI_3D_STRUCTURE_FRAME_PACKING = 0,
1: + HDMI_3D_STRUCTURE_FIELD_ALTERNATIVE = 1,
1: + HDMI_3D_STRUCTURE_LINE_ALTERNATIVE = 2,
1: + HDMI_3D_STRUCTURE_SIDE_BY_SIDE_FULL = 3,
1: + HDMI_3D_STRUCTURE_L_DEPTH = 4,
1: + HDMI_3D_STRUCTURE_L_DEPTH_GFX_GFX_DEPTH = 5,
1: + HDMI_3D_STRUCTURE_TOP_AND_BOTTOM = 6,
1: + HDMI_3D_STRUCTURE_SIDE_BY_SIDE_HALF = 8,
1: +};
1: +
1: +struct hdmi_vendor_infoframe {
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + unsigned int oui;
1: + u8 vic;
1: + enum hdmi_3d_structure s3d_struct;
1: + unsigned int s3d_ext_data;
1: +};
1: +
1: +union hdmi_vendor_any_infoframe {
1: + struct {
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + unsigned int oui;
1: + } any;
1: + struct hdmi_vendor_infoframe hdmi;
1: +};
1: +
1: +union hdmi_infoframe {
1: + struct hdmi_any_infoframe any;
1: + struct hdmi_avi_infoframe avi;
1: + struct hdmi_spd_infoframe spd;
1: + union hdmi_vendor_any_infoframe vendor;
1: + struct hdmi_audio_infoframe audio;
1: + struct hdmi_drm_infoframe drm;
1: +};
1: +
1: +struct console_font {
1: + unsigned int width;
1: + unsigned int height;
1: + unsigned int charcount;
1: + unsigned char *data;
1: +};
1: +
1: +struct vt_mode {
1: + char mode;
1: + char waitv;
1: + short int relsig;
1: + short int acqsig;
1: + short int frsig;
1: +};
1: +
1: +struct uni_pagedir;
1: +
1: +struct uni_screen;
1: +
1: +struct vc_data {
1: + struct tty_port port;
1: + short unsigned int vc_num;
1: + unsigned int vc_cols;
1: + unsigned int vc_rows;
1: + unsigned int vc_size_row;
1: + unsigned int vc_scan_lines;
1: + long unsigned int vc_origin;
1: + long unsigned int vc_scr_end;
1: + long unsigned int vc_visible_origin;
1: + unsigned int vc_top;
1: + unsigned int vc_bottom;
1: + const struct consw *vc_sw;
1: + short unsigned int *vc_screenbuf;
1: + unsigned int vc_screenbuf_size;
1: + unsigned char vc_mode;
1: + unsigned char vc_attr;
1: + unsigned char vc_def_color;
1: + unsigned char vc_color;
1: + unsigned char vc_s_color;
1: + unsigned char vc_ulcolor;
1: + unsigned char vc_itcolor;
1: + unsigned char vc_halfcolor;
1: + unsigned int vc_cursor_type;
1: + short unsigned int vc_complement_mask;
1: + short unsigned int vc_s_complement_mask;
1: + unsigned int vc_x;
1: + unsigned int vc_y;
1: + unsigned int vc_saved_x;
1: + unsigned int vc_saved_y;
1: + long unsigned int vc_pos;
1: + short unsigned int vc_hi_font_mask;
1: + struct console_font vc_font;
1: + short unsigned int vc_video_erase_char;
1: + unsigned int vc_state;
1: + unsigned int vc_npar;
1: + unsigned int vc_par[16];
1: + struct vt_mode vt_mode;
1: + struct pid *vt_pid;
1: + int vt_newvt;
1: + wait_queue_head_t paste_wait;
1: + unsigned int vc_charset: 1;
1: + unsigned int vc_s_charset: 1;
1: + unsigned int vc_disp_ctrl: 1;
1: + unsigned int vc_toggle_meta: 1;
1: + unsigned int vc_decscnm: 1;
1: + unsigned int vc_decom: 1;
1: + unsigned int vc_decawm: 1;
1: + unsigned int vc_deccm: 1;
1: + unsigned int vc_decim: 1;
1: + unsigned int vc_intensity: 2;
1: + unsigned int vc_italic: 1;
1: + unsigned int vc_underline: 1;
1: + unsigned int vc_blink: 1;
1: + unsigned int vc_reverse: 1;
1: + unsigned int vc_s_intensity: 2;
1: + unsigned int vc_s_italic: 1;
1: + unsigned int vc_s_underline: 1;
1: + unsigned int vc_s_blink: 1;
1: + unsigned int vc_s_reverse: 1;
1: + unsigned int vc_priv: 3;
1: + unsigned int vc_need_wrap: 1;
1: + unsigned int vc_can_do_color: 1;
1: + unsigned int vc_report_mouse: 2;
1: + unsigned char vc_utf: 1;
1: + unsigned char vc_utf_count;
1: + int vc_utf_char;
1: + unsigned int vc_tab_stop[8];
1: + unsigned char vc_palette[48];
1: + short unsigned int *vc_translate;
1: + unsigned char vc_G0_charset;
1: + unsigned char vc_G1_charset;
1: + unsigned char vc_saved_G0;
1: + unsigned char vc_saved_G1;
1: + unsigned int vc_resize_user;
1: + unsigned int vc_bell_pitch;
1: + unsigned int vc_bell_duration;
1: + short unsigned int vc_cur_blink_ms;
1: + struct vc_data **vc_display_fg;
1: + struct uni_pagedir *vc_uni_pagedir;
1: + struct uni_pagedir **vc_uni_pagedir_loc;
1: + struct uni_screen *vc_uni_screen;
1: +};
1: +
1: +struct vc {
1: + struct vc_data *d;
1: + struct work_struct SAK_work;
1: +};
1: +
1: +struct vgastate {
1: + void *vgabase;
1: + long unsigned int membase;
1: + __u32 memsize;
1: + __u32 flags;
1: + __u32 depth;
1: + __u32 num_attr;
1: + __u32 num_crtc;
1: + __u32 num_gfx;
1: + __u32 num_seq;
1: + void *vidstate;
1: +};
1: +
1: +struct vgacon_scrollback_info {
1: + void *data;
1: + int tail;
1: + int size;
1: + int rows;
1: + int cnt;
1: + int cur;
1: + int save;
1: + int restore;
1: +};
1: +
1: +struct linux_logo {
1: + int type;
1: + unsigned int width;
1: + unsigned int height;
1: + unsigned int clutsize;
1: + const unsigned char *clut;
1: + const unsigned char *data;
1: +};
1: +
1: +struct fb_fix_screeninfo {
1: + char id[16];
1: + long unsigned int smem_start;
1: + __u32 smem_len;
1: + __u32 type;
1: + __u32 type_aux;
1: + __u32 visual;
1: + __u16 xpanstep;
1: + __u16 ypanstep;
1: + __u16 ywrapstep;
1: + __u32 line_length;
1: + long unsigned int mmio_start;
1: + __u32 mmio_len;
1: + __u32 accel;
1: + __u16 capabilities;
1: + __u16 reserved[2];
1: +};
1: +
1: +struct fb_bitfield {
1: + __u32 offset;
1: + __u32 length;
1: + __u32 msb_right;
1: +};
1: +
1: +struct fb_var_screeninfo {
1: + __u32 xres;
1: + __u32 yres;
1: + __u32 xres_virtual;
1: + __u32 yres_virtual;
1: + __u32 xoffset;
1: + __u32 yoffset;
1: + __u32 bits_per_pixel;
1: + __u32 grayscale;
1: + struct fb_bitfield red;
1: + struct fb_bitfield green;
1: + struct fb_bitfield blue;
1: + struct fb_bitfield transp;
1: + __u32 nonstd;
1: + __u32 activate;
1: + __u32 height;
1: + __u32 width;
1: + __u32 accel_flags;
1: + __u32 pixclock;
1: + __u32 left_margin;
1: + __u32 right_margin;
1: + __u32 upper_margin;
1: + __u32 lower_margin;
1: + __u32 hsync_len;
1: + __u32 vsync_len;
1: + __u32 sync;
1: + __u32 vmode;
1: + __u32 rotate;
1: + __u32 colorspace;
1: + __u32 reserved[4];
1: +};
1: +
1: +struct fb_cmap {
1: + __u32 start;
1: + __u32 len;
1: + __u16 *red;
1: + __u16 *green;
1: + __u16 *blue;
1: + __u16 *transp;
1: +};
1: +
1: +enum {
1: + FB_BLANK_UNBLANK = 0,
1: + FB_BLANK_NORMAL = 1,
1: + FB_BLANK_VSYNC_SUSPEND = 2,
1: + FB_BLANK_HSYNC_SUSPEND = 3,
1: + FB_BLANK_POWERDOWN = 4,
1: +};
1: +
1: +struct fb_copyarea {
1: + __u32 dx;
1: + __u32 dy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 sx;
1: + __u32 sy;
1: +};
1: +
1: +struct fb_fillrect {
1: + __u32 dx;
1: + __u32 dy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 color;
1: + __u32 rop;
1: +};
1: +
1: +struct fb_image {
1: + __u32 dx;
1: + __u32 dy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 fg_color;
1: + __u32 bg_color;
1: + __u8 depth;
1: + const char *data;
1: + struct fb_cmap cmap;
1: +};
1: +
1: +struct fbcurpos {
1: + __u16 x;
1: + __u16 y;
1: +};
1: +
1: +struct fb_cursor {
1: + __u16 set;
1: + __u16 enable;
1: + __u16 rop;
1: + const char *mask;
1: + struct fbcurpos hot;
1: + struct fb_image image;
1: +};
1: +
1: +struct fb_chroma {
1: + __u32 redx;
1: + __u32 greenx;
1: + __u32 bluex;
1: + __u32 whitex;
1: + __u32 redy;
1: + __u32 greeny;
1: + __u32 bluey;
1: + __u32 whitey;
1: +};
1: +
1: +struct fb_videomode;
1: +
1: +struct fb_monspecs {
1: + struct fb_chroma chroma;
1: + struct fb_videomode *modedb;
1: + __u8 manufacturer[4];
1: + __u8 monitor[14];
1: + __u8 serial_no[14];
1: + __u8 ascii[14];
1: + __u32 modedb_len;
1: + __u32 model;
1: + __u32 serial;
1: + __u32 year;
1: + __u32 week;
1: + __u32 hfmin;
1: + __u32 hfmax;
1: + __u32 dclkmin;
1: + __u32 dclkmax;
1: + __u16 input;
1: + __u16 dpms;
1: + __u16 signal;
1: + __u16 vfmin;
1: + __u16 vfmax;
1: + __u16 gamma;
1: + __u16 gtf: 1;
1: + __u16 misc;
1: + __u8 version;
1: + __u8 revision;
1: + __u8 max_x;
1: + __u8 max_y;
1: +};
1: +
1: +struct fb_videomode {
1: + const char *name;
1: + u32 refresh;
1: + u32 xres;
1: + u32 yres;
1: + u32 pixclock;
1: + u32 left_margin;
1: + u32 right_margin;
1: + u32 upper_margin;
1: + u32 lower_margin;
1: + u32 hsync_len;
1: + u32 vsync_len;
1: + u32 sync;
1: + u32 vmode;
1: + u32 flag;
1: +};
1: +
1: +struct fb_info;
1: +
1: +struct fb_event {
1: + struct fb_info *info;
1: + void *data;
1: +};
1: +
1: +struct fb_pixmap {
1: + u8 *addr;
1: + u32 size;
1: + u32 offset;
1: + u32 buf_align;
1: + u32 scan_align;
1: + u32 access_align;
1: + u32 flags;
1: + u32 blit_x;
1: + u32 blit_y;
1: + void (*writeio)(struct fb_info *, void *, void *, unsigned int);
1: + void (*readio)(struct fb_info *, void *, void *, unsigned int);
1: +};
1: +
1: +struct fb_deferred_io;
1: +
1: +struct fb_ops;
1: +
1: +struct fb_tile_ops;
1: +
1: +struct apertures_struct;
1: +
1: +struct fb_info {
1: + atomic_t count;
1: + int node;
1: + int flags;
1: + int fbcon_rotate_hint;
1: + struct mutex lock;
1: + struct mutex mm_lock;
1: + struct fb_var_screeninfo var;
1: + struct fb_fix_screeninfo fix;
1: + struct fb_monspecs monspecs;
1: + struct work_struct queue;
1: + struct fb_pixmap pixmap;
1: + struct fb_pixmap sprite;
1: + struct fb_cmap cmap;
1: + struct list_head modelist;
1: + struct fb_videomode *mode;
1: + struct delayed_work deferred_work;
1: + struct fb_deferred_io *fbdefio;
1: + struct fb_ops *fbops;
1: + struct device *device;
1: + struct device *dev;
1: + int class_flag;
1: + struct fb_tile_ops *tileops;
1: + union {
1: + char *screen_base;
1: + char *screen_buffer;
1: + };
1: + long unsigned int screen_size;
1: + void *pseudo_palette;
1: + u32 state;
1: + void *fbcon_par;
1: + void *par;
1: + struct apertures_struct *apertures;
1: + bool skip_vt_switch;
1: +};
1: +
1: +struct fb_blit_caps {
1: + u32 x;
1: + u32 y;
1: + u32 len;
1: + u32 flags;
1: +};
1: +
1: +struct fb_deferred_io {
1: + long unsigned int delay;
1: + struct mutex lock;
1: + struct list_head pagelist;
1: + void (*first_io)(struct fb_info *);
1: + void (*deferred_io)(struct fb_info *, struct list_head *);
1: +};
1: +
1: +struct fb_ops {
1: + struct module *owner;
1: + int (*fb_open)(struct fb_info *, int);
1: + int (*fb_release)(struct fb_info *, int);
1: + ssize_t (*fb_read)(struct fb_info *, char *, size_t, loff_t *);
1: + ssize_t (*fb_write)(struct fb_info *, const char *, size_t, loff_t *);
1: + int (*fb_check_var)(struct fb_var_screeninfo *, struct fb_info *);
1: + int (*fb_set_par)(struct fb_info *);
1: + int (*fb_setcolreg)(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, struct fb_info *);
1: + int (*fb_setcmap)(struct fb_cmap *, struct fb_info *);
1: + int (*fb_blank)(int, struct fb_info *);
1: + int (*fb_pan_display)(struct fb_var_screeninfo *, struct fb_info *);
1: + void (*fb_fillrect)(struct fb_info *, const struct fb_fillrect *);
1: + void (*fb_copyarea)(struct fb_info *, const struct fb_copyarea *);
1: + void (*fb_imageblit)(struct fb_info *, const struct fb_image *);
1: + int (*fb_cursor)(struct fb_info *, struct fb_cursor *);
1: + int (*fb_sync)(struct fb_info *);
1: + int (*fb_ioctl)(struct fb_info *, unsigned int, long unsigned int);
1: + int (*fb_compat_ioctl)(struct fb_info *, unsigned int, long unsigned int);
1: + int (*fb_mmap)(struct fb_info *, struct vm_area_struct *);
1: + void (*fb_get_caps)(struct fb_info *, struct fb_blit_caps *, struct fb_var_screeninfo *);
1: + void (*fb_destroy)(struct fb_info *);
1: + int (*fb_debug_enter)(struct fb_info *);
1: + int (*fb_debug_leave)(struct fb_info *);
1: +};
1: +
1: +struct fb_tilemap {
1: + __u32 width;
1: + __u32 height;
1: + __u32 depth;
1: + __u32 length;
1: + const __u8 *data;
1: +};
1: +
1: +struct fb_tilerect {
1: + __u32 sx;
1: + __u32 sy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 index;
1: + __u32 fg;
1: + __u32 bg;
1: + __u32 rop;
1: +};
1: +
1: +struct fb_tilearea {
1: + __u32 sx;
1: + __u32 sy;
1: + __u32 dx;
1: + __u32 dy;
1: + __u32 width;
1: + __u32 height;
1: +};
1: +
1: +struct fb_tileblit {
1: + __u32 sx;
1: + __u32 sy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 fg;
1: + __u32 bg;
1: + __u32 length;
1: + __u32 *indices;
1: +};
1: +
1: +struct fb_tilecursor {
1: + __u32 sx;
1: + __u32 sy;
1: + __u32 mode;
1: + __u32 shape;
1: + __u32 fg;
1: + __u32 bg;
1: +};
1: +
1: +struct fb_tile_ops {
1: + void (*fb_settile)(struct fb_info *, struct fb_tilemap *);
1: + void (*fb_tilecopy)(struct fb_info *, struct fb_tilearea *);
1: + void (*fb_tilefill)(struct fb_info *, struct fb_tilerect *);
1: + void (*fb_tileblit)(struct fb_info *, struct fb_tileblit *);
1: + void (*fb_tilecursor)(struct fb_info *, struct fb_tilecursor *);
1: + int (*fb_get_tilemax)(struct fb_info *);
1: +};
1: +
1: +struct aperture {
1: + resource_size_t base;
1: + resource_size_t size;
1: +};
1: +
1: +struct apertures_struct {
1: + unsigned int count;
1: + struct aperture ranges[0];
1: +};
1: +
1: +enum backlight_update_reason {
1: + BACKLIGHT_UPDATE_HOTKEY = 0,
1: + BACKLIGHT_UPDATE_SYSFS = 1,
1: +};
1: +
1: +enum backlight_type {
1: + BACKLIGHT_RAW = 1,
1: + BACKLIGHT_PLATFORM = 2,
1: + BACKLIGHT_FIRMWARE = 3,
1: + BACKLIGHT_TYPE_MAX = 4,
1: +};
1: +
1: +enum backlight_notification {
1: + BACKLIGHT_REGISTERED = 0,
1: + BACKLIGHT_UNREGISTERED = 1,
1: +};
1: +
1: +enum backlight_scale {
1: + BACKLIGHT_SCALE_UNKNOWN = 0,
1: + BACKLIGHT_SCALE_LINEAR = 1,
1: + BACKLIGHT_SCALE_NON_LINEAR = 2,
1: +};
1: +
1: +struct backlight_device;
1: +
1: +struct backlight_ops {
1: + unsigned int options;
1: + int (*update_status)(struct backlight_device *);
1: + int (*get_brightness)(struct backlight_device *);
1: + int (*check_fb)(struct backlight_device *, struct fb_info *);
1: +};
1: +
1: +struct backlight_properties {
1: + int brightness;
1: + int max_brightness;
1: + int power;
1: + int fb_blank;
1: + enum backlight_type type;
1: + unsigned int state;
1: + enum backlight_scale scale;
1: +};
1: +
1: +struct backlight_device {
1: + struct backlight_properties props;
1: + struct mutex update_lock;
1: + struct mutex ops_lock;
1: + const struct backlight_ops *ops;
1: + struct notifier_block fb_notif;
1: + struct list_head entry;
1: + struct device dev;
1: + bool fb_bl_on[32];
1: + int use_count;
1: +};
1: +
1: +struct generic_bl_info {
1: + const char *name;
1: + int max_intensity;
1: + int default_intensity;
1: + int limit_mask;
1: + void (*set_bl_intensity)(int);
1: + void (*kick_battery)();
1: +};
1: +
1: +struct fb_cmap_user {
1: + __u32 start;
1: + __u32 len;
1: + __u16 *red;
1: + __u16 *green;
1: + __u16 *blue;
1: + __u16 *transp;
1: +};
1: +
1: +struct fb_modelist {
1: + struct list_head list;
1: + struct fb_videomode mode;
1: +};
1: +
1: +struct logo_data {
1: + int depth;
1: + int needs_directpalette;
1: + int needs_truepalette;
1: + int needs_cmapreset;
1: + const struct linux_logo *logo;
1: +};
1: +
1: +struct fb_fix_screeninfo32 {
1: + char id[16];
1: + compat_caddr_t smem_start;
1: + u32 smem_len;
1: + u32 type;
1: + u32 type_aux;
1: + u32 visual;
1: + u16 xpanstep;
1: + u16 ypanstep;
1: + u16 ywrapstep;
1: + u32 line_length;
1: + compat_caddr_t mmio_start;
1: + u32 mmio_len;
1: + u32 accel;
1: + u16 reserved[3];
1: +};
1: +
1: +struct fb_cmap32 {
1: + u32 start;
1: + u32 len;
1: + compat_caddr_t red;
1: + compat_caddr_t green;
1: + compat_caddr_t blue;
1: + compat_caddr_t transp;
1: +};
1: +
1: +struct dmt_videomode {
1: + u32 dmt_id;
1: + u32 std_2byte_code;
1: + u32 cvt_3byte_code;
1: + const struct fb_videomode *mode;
1: +};
1: +
1: +struct broken_edid {
1: + u8 manufacturer[4];
1: + u32 model;
1: + u32 fix;
1: +};
1: +
1: +struct __fb_timings {
1: + u32 dclk;
1: + u32 hfreq;
1: + u32 vfreq;
1: + u32 hactive;
1: + u32 vactive;
1: + u32 hblank;
1: + u32 vblank;
1: + u32 htotal;
1: + u32 vtotal;
1: +};
1: +
1: +struct fb_cvt_data {
1: + u32 xres;
1: + u32 yres;
1: + u32 refresh;
1: + u32 f_refresh;
1: + u32 pixclock;
1: + u32 hperiod;
1: + u32 hblank;
1: + u32 hfreq;
1: + u32 htotal;
1: + u32 vtotal;
1: + u32 vsync;
1: + u32 hsync;
1: + u32 h_front_porch;
1: + u32 h_back_porch;
1: + u32 v_front_porch;
1: + u32 v_back_porch;
1: + u32 h_margin;
1: + u32 v_margin;
1: + u32 interlace;
1: + u32 aspect_ratio;
1: + u32 active_pixels;
1: + u32 flags;
1: + u32 status;
1: +};
1: +
1: +typedef unsigned char u_char;
1: +
1: +typedef short unsigned int u_short;
1: +
1: +struct fb_con2fbmap {
1: + __u32 console;
1: + __u32 framebuffer;
1: +};
1: +
1: +struct fbcon_display {
1: + const u_char *fontdata;
1: + int userfont;
1: + u_short scrollmode;
1: + u_short inverse;
1: + short int yscroll;
1: + int vrows;
1: + int cursor_shape;
1: + int con_rotate;
1: + u32 xres_virtual;
1: + u32 yres_virtual;
1: + u32 height;
1: + u32 width;
1: + u32 bits_per_pixel;
1: + u32 grayscale;
1: + u32 nonstd;
1: + u32 accel_flags;
1: + u32 rotate;
1: + struct fb_bitfield red;
1: + struct fb_bitfield green;
1: + struct fb_bitfield blue;
1: + struct fb_bitfield transp;
1: + const struct fb_videomode *mode;
1: +};
1: +
1: +struct fbcon_ops {
1: + void (*bmove)(struct vc_data *, struct fb_info *, int, int, int, int, int, int);
1: + void (*clear)(struct vc_data *, struct fb_info *, int, int, int, int);
1: + void (*putcs)(struct vc_data *, struct fb_info *, const short unsigned int *, int, int, int, int, int);
1: + void (*clear_margins)(struct vc_data *, struct fb_info *, int, int);
1: + void (*cursor)(struct vc_data *, struct fb_info *, int, int, int, int);
1: + int (*update_start)(struct fb_info *);
1: + int (*rotate_font)(struct fb_info *, struct vc_data *);
1: + struct fb_var_screeninfo var;
1: + struct timer_list cursor_timer;
1: + struct fb_cursor cursor_state;
1: + struct fbcon_display *p;
1: + struct fb_info *info;
1: + int currcon;
1: + int cur_blink_jiffies;
1: + int cursor_flash;
1: + int cursor_reset;
1: + int blank_state;
1: + int graphics;
1: + int save_graphics;
1: + int flags;
1: + int rotate;
1: + int cur_rotate;
1: + char *cursor_data;
1: + u8 *fontbuffer;
1: + u8 *fontdata;
1: + u8 *cursor_src;
1: + u32 cursor_size;
1: + u32 fd_size;
1: +};
1: +
1: +enum {
1: + FBCON_LOGO_CANSHOW = -1,
1: + FBCON_LOGO_DRAW = -2,
1: + FBCON_LOGO_DONTSHOW = -3,
1: +};
1: +
1: +enum drm_panel_orientation {
1: + DRM_MODE_PANEL_ORIENTATION_UNKNOWN = -1,
1: + DRM_MODE_PANEL_ORIENTATION_NORMAL = 0,
1: + DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP = 1,
1: + DRM_MODE_PANEL_ORIENTATION_LEFT_UP = 2,
1: + DRM_MODE_PANEL_ORIENTATION_RIGHT_UP = 3,
1: +};
1: +
1: +typedef u16 acpi_owner_id;
1: +
1: +union acpi_name_union {
1: + u32 integer;
1: + char ascii[4];
1: +};
1: +
1: +struct acpi_table_desc {
1: + acpi_physical_address address;
1: + struct acpi_table_header *pointer;
1: + u32 length;
1: + union acpi_name_union signature;
1: + acpi_owner_id owner_id;
1: + u8 flags;
1: + u16 validation_count;
1: +};
1: +
1: +struct acpi_madt_io_sapic {
1: + struct acpi_subtable_header header;
1: + u8 id;
1: + u8 reserved;
1: + u32 global_irq_base;
1: + u64 address;
1: +};
1: +
1: +struct acpi_madt_interrupt_source {
1: + struct acpi_subtable_header header;
1: + u16 inti_flags;
1: + u8 type;
1: + u8 id;
1: + u8 eid;
1: + u8 io_sapic_vector;
1: + u32 global_irq;
1: + u32 flags;
1: +};
1: +
1: +struct acpi_madt_generic_interrupt {
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u32 cpu_interface_number;
1: + u32 uid;
1: + u32 flags;
1: + u32 parking_version;
1: + u32 performance_interrupt;
1: + u64 parked_address;
1: + u64 base_address;
1: + u64 gicv_base_address;
1: + u64 gich_base_address;
1: + u32 vgic_interrupt;
1: + u64 gicr_base_address;
1: + u64 arm_mpidr;
1: + u8 efficiency_class;
1: + u8 reserved2[1];
1: + u16 spe_interrupt;
1: +} __attribute__((packed));
1: +
1: +struct acpi_madt_generic_distributor {
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u32 gic_id;
1: + u64 base_address;
1: + u32 global_irq_base;
1: + u8 version;
1: + u8 reserved2[3];
1: +};
1: +
1: +enum acpi_subtable_type {
1: + ACPI_SUBTABLE_COMMON = 0,
1: + ACPI_SUBTABLE_HMAT = 1,
1: +};
1: +
1: +struct acpi_subtable_entry {
1: + union acpi_subtable_headers *hdr;
1: + enum acpi_subtable_type type;
1: +};
1: +
1: +enum acpi_predicate {
1: + all_versions = 0,
1: + less_than_or_equal = 1,
1: + equal = 2,
1: + greater_than_or_equal = 3,
1: +};
1: +
1: +struct acpi_platform_list {
1: + char oem_id[7];
1: + char oem_table_id[9];
1: + u32 oem_revision;
1: + char *table;
1: + enum acpi_predicate pred;
1: + char *reason;
1: + u32 data;
1: +};
1: +
1: +typedef u32 (*acpi_interface_handler)(acpi_string, u32);
1: +
1: +struct acpi_osi_entry {
1: + char string[64];
1: + bool enable;
1: +};
1: +
1: +struct acpi_osi_config {
1: + u8 default_disabling;
1: + unsigned int linux_enable: 1;
1: + unsigned int linux_dmi: 1;
1: + unsigned int linux_cmdline: 1;
1: + unsigned int darwin_enable: 1;
1: + unsigned int darwin_dmi: 1;
1: + unsigned int darwin_cmdline: 1;
1: +};
1: +
1: +struct acpi_predefined_names {
1: + const char *name;
1: + u8 type;
1: + char *val;
1: +};
1: +
1: +typedef u32 (*acpi_osd_handler)(void *);
1: +
1: +typedef void (*acpi_osd_exec_callback)(void *);
1: +
1: +typedef u32 (*acpi_gpe_handler)(acpi_handle, u32, void *);
1: +
1: +typedef void (*acpi_notify_handler)(acpi_handle, u32, void *);
1: +
1: +typedef void (*acpi_object_handler)(acpi_handle, void *);
1: +
1: +typedef acpi_status (*acpi_adr_space_handler)(u32, acpi_physical_address, u32, u64 *, void *, void *);
1: +
1: +typedef acpi_status (*acpi_adr_space_setup)(acpi_handle, u32, void *, void **);
1: +
1: +struct acpi_pci_id {
1: + u16 segment;
1: + u16 bus;
1: + u16 device;
1: + u16 function;
1: +};
1: +
1: +struct acpi_mem_space_context {
1: + u32 length;
1: + acpi_physical_address address;
1: + acpi_physical_address mapped_physical_address;
1: + u8 *mapped_logical_address;
1: + acpi_size mapped_length;
1: +};
1: +
1: +typedef enum {
1: + OSL_GLOBAL_LOCK_HANDLER = 0,
1: + OSL_NOTIFY_HANDLER = 1,
1: + OSL_GPE_HANDLER = 2,
1: + OSL_DEBUGGER_MAIN_THREAD = 3,
1: + OSL_DEBUGGER_EXEC_THREAD = 4,
1: + OSL_EC_POLL_HANDLER = 5,
1: + OSL_EC_BURST_HANDLER = 6,
1: +} acpi_execute_type;
1: +
1: +union acpi_operand_object;
1: +
1: +struct acpi_namespace_node {
1: + union acpi_operand_object *object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 flags;
1: + union acpi_name_union name;
1: + struct acpi_namespace_node *parent;
1: + struct acpi_namespace_node *child;
1: + struct acpi_namespace_node *peer;
1: + acpi_owner_id owner_id;
1: +};
1: +
1: +struct acpi_object_common {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: +};
1: +
1: +struct acpi_object_integer {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 fill[3];
1: + u64 value;
1: +};
1: +
1: +struct acpi_object_string {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + char *pointer;
1: + u32 length;
1: +};
1: +
1: +struct acpi_object_buffer {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 *pointer;
1: + u32 length;
1: + u32 aml_length;
1: + u8 *aml_start;
1: + struct acpi_namespace_node *node;
1: +};
1: +
1: +struct acpi_object_package {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object **elements;
1: + u8 *aml_start;
1: + u32 aml_length;
1: + u32 count;
1: +};
1: +
1: +struct acpi_object_event {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + void *os_semaphore;
1: +};
1: +
1: +struct acpi_walk_state;
1: +
1: +typedef acpi_status (*acpi_internal_method)(struct acpi_walk_state *);
1: +
1: +struct acpi_object_method {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 info_flags;
1: + u8 param_count;
1: + u8 sync_level;
1: + union acpi_operand_object *mutex;
1: + union acpi_operand_object *node;
1: + u8 *aml_start;
1: + union {
1: + acpi_internal_method implementation;
1: + union acpi_operand_object *handler;
1: + } dispatch;
1: + u32 aml_length;
1: + acpi_owner_id owner_id;
1: + u8 thread_count;
1: +};
1: +
1: +struct acpi_thread_state;
1: +
1: +struct acpi_object_mutex {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 sync_level;
1: + u16 acquisition_depth;
1: + void *os_mutex;
1: + u64 thread_id;
1: + struct acpi_thread_state *owner_thread;
1: + union acpi_operand_object *prev;
1: + union acpi_operand_object *next;
1: + struct acpi_namespace_node *node;
1: + u8 original_sync_level;
1: +};
1: +
1: +struct acpi_object_region {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 space_id;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object *handler;
1: + union acpi_operand_object *next;
1: + acpi_physical_address address;
1: + u32 length;
1: +};
1: +
1: +struct acpi_object_notify_common {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: +};
1: +
1: +struct acpi_gpe_block_info;
1: +
1: +struct acpi_object_device {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: + struct acpi_gpe_block_info *gpe_block;
1: +};
1: +
1: +struct acpi_object_power_resource {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: + u32 system_level;
1: + u32 resource_order;
1: +};
1: +
1: +struct acpi_object_processor {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 proc_id;
1: + u8 length;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: + acpi_io_address address;
1: +};
1: +
1: +struct acpi_object_thermal_zone {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: +};
1: +
1: +struct acpi_object_field_common {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + union acpi_operand_object *region_obj;
1: +};
1: +
1: +struct acpi_object_region_field {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + u16 resource_length;
1: + union acpi_operand_object *region_obj;
1: + u8 *resource_buffer;
1: + u16 pin_number_index;
1: + u8 *internal_pcc_buffer;
1: +};
1: +
1: +struct acpi_object_buffer_field {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + union acpi_operand_object *buffer_obj;
1: +};
1: +
1: +struct acpi_object_bank_field {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + union acpi_operand_object *region_obj;
1: + union acpi_operand_object *bank_obj;
1: +};
1: +
1: +struct acpi_object_index_field {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + union acpi_operand_object *index_obj;
1: + union acpi_operand_object *data_obj;
1: +};
1: +
1: +struct acpi_object_notify_handler {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + struct acpi_namespace_node *node;
1: + u32 handler_type;
1: + acpi_notify_handler handler;
1: + void *context;
1: + union acpi_operand_object *next[2];
1: +};
1: +
1: +struct acpi_object_addr_handler {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 space_id;
1: + u8 handler_flags;
1: + acpi_adr_space_handler handler;
1: + struct acpi_namespace_node *node;
1: + void *context;
1: + acpi_adr_space_setup setup;
1: + union acpi_operand_object *region_list;
1: + union acpi_operand_object *next;
1: +};
1: +
1: +struct acpi_object_reference {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 class;
1: + u8 target_type;
1: + u8 resolved;
1: + void *object;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object **where;
1: + u8 *index_pointer;
1: + u8 *aml;
1: + u32 value;
1: +};
1: +
1: +struct acpi_object_extra {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + struct acpi_namespace_node *method_REG;
1: + struct acpi_namespace_node *scope_node;
1: + void *region_context;
1: + u8 *aml_start;
1: + u32 aml_length;
1: +};
1: +
1: +struct acpi_object_data {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + acpi_object_handler handler;
1: + void *pointer;
1: +};
1: +
1: +struct acpi_object_cache_list {
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *next;
1: +};
1: +
1: +union acpi_operand_object {
1: + struct acpi_object_common common;
1: + struct acpi_object_integer integer;
1: + struct acpi_object_string string;
1: + struct acpi_object_buffer buffer;
1: + struct acpi_object_package package;
1: + struct acpi_object_event event;
1: + struct acpi_object_method method;
1: + struct acpi_object_mutex mutex;
1: + struct acpi_object_region region;
1: + struct acpi_object_notify_common common_notify;
1: + struct acpi_object_device device;
1: + struct acpi_object_power_resource power_resource;
1: + struct acpi_object_processor processor;
1: + struct acpi_object_thermal_zone thermal_zone;
1: + struct acpi_object_field_common common_field;
1: + struct acpi_object_region_field field;
1: + struct acpi_object_buffer_field buffer_field;
1: + struct acpi_object_bank_field bank_field;
1: + struct acpi_object_index_field index_field;
1: + struct acpi_object_notify_handler notify;
1: + struct acpi_object_addr_handler address_space;
1: + struct acpi_object_reference reference;
1: + struct acpi_object_extra extra;
1: + struct acpi_object_data data;
1: + struct acpi_object_cache_list cache;
1: + struct acpi_namespace_node node;
1: +};
1: +
1: +union acpi_parse_object;
1: +
1: +union acpi_generic_state;
1: +
1: +struct acpi_parse_state {
1: + u8 *aml_start;
1: + u8 *aml;
1: + u8 *aml_end;
1: + u8 *pkg_start;
1: + u8 *pkg_end;
1: + union acpi_parse_object *start_op;
1: + struct acpi_namespace_node *start_node;
1: + union acpi_generic_state *scope;
1: + union acpi_parse_object *start_scope;
1: + u32 aml_size;
1: +};
1: +
1: +typedef acpi_status (*acpi_parse_downwards)(struct acpi_walk_state *, union acpi_parse_object **);
1: +
1: +typedef acpi_status (*acpi_parse_upwards)(struct acpi_walk_state *);
1: +
1: +struct acpi_opcode_info;
1: +
1: +struct acpi_walk_state {
1: + struct acpi_walk_state *next;
1: + u8 descriptor_type;
1: + u8 walk_type;
1: + u16 opcode;
1: + u8 next_op_info;
1: + u8 num_operands;
1: + u8 operand_index;
1: + acpi_owner_id owner_id;
1: + u8 last_predicate;
1: + u8 current_result;
1: + u8 return_used;
1: + u8 scope_depth;
1: + u8 pass_number;
1: + u8 namespace_override;
1: + u8 result_size;
1: + u8 result_count;
1: + u8 *aml;
1: + u32 arg_types;
1: + u32 method_breakpoint;
1: + u32 user_breakpoint;
1: + u32 parse_flags;
1: + struct acpi_parse_state parser_state;
1: + u32 prev_arg_types;
1: + u32 arg_count;
1: + u16 method_nesting_depth;
1: + u8 method_is_nested;
1: + struct acpi_namespace_node arguments[7];
1: + struct acpi_namespace_node local_variables[8];
1: + union acpi_operand_object *operands[9];
1: + union acpi_operand_object **params;
1: + u8 *aml_last_while;
1: + union acpi_operand_object **caller_return_desc;
1: + union acpi_generic_state *control_state;
1: + struct acpi_namespace_node *deferred_node;
1: + union acpi_operand_object *implicit_return_obj;
1: + struct acpi_namespace_node *method_call_node;
1: + union acpi_parse_object *method_call_op;
1: + union acpi_operand_object *method_desc;
1: + struct acpi_namespace_node *method_node;
1: + char *method_pathname;
1: + union acpi_parse_object *op;
1: + const struct acpi_opcode_info *op_info;
1: + union acpi_parse_object *origin;
1: + union acpi_operand_object *result_obj;
1: + union acpi_generic_state *results;
1: + union acpi_operand_object *return_desc;
1: + union acpi_generic_state *scope_info;
1: + union acpi_parse_object *prev_op;
1: + union acpi_parse_object *next_op;
1: + struct acpi_thread_state *thread;
1: + acpi_parse_downwards descending_callback;
1: + acpi_parse_upwards ascending_callback;
1: +};
1: +
1: +struct acpi_gpe_handler_info {
1: + acpi_gpe_handler address;
1: + void *context;
1: + struct acpi_namespace_node *method_node;
1: + u8 original_flags;
1: + u8 originally_enabled;
1: +};
1: +
1: +struct acpi_gpe_notify_info {
1: + struct acpi_namespace_node *device_node;
1: + struct acpi_gpe_notify_info *next;
1: +};
1: +
1: +union acpi_gpe_dispatch_info {
1: + struct acpi_namespace_node *method_node;
1: + struct acpi_gpe_handler_info *handler;
1: + struct acpi_gpe_notify_info *notify_list;
1: +};
1: +
1: +struct acpi_gpe_register_info;
1: +
1: +struct acpi_gpe_event_info {
1: + union acpi_gpe_dispatch_info dispatch;
1: + struct acpi_gpe_register_info *register_info;
1: + u8 flags;
1: + u8 gpe_number;
1: + u8 runtime_count;
1: + u8 disable_for_dispatch;
1: +};
1: +
1: +struct acpi_gpe_register_info {
1: + struct acpi_generic_address status_address;
1: + struct acpi_generic_address enable_address;
1: + u16 base_gpe_number;
1: + u8 enable_for_wake;
1: + u8 enable_for_run;
1: + u8 mask_for_run;
1: + u8 enable_mask;
1: +} __attribute__((packed));
1: +
1: +struct acpi_gpe_xrupt_info;
1: +
1: +struct acpi_gpe_block_info {
1: + struct acpi_namespace_node *node;
1: + struct acpi_gpe_block_info *previous;
1: + struct acpi_gpe_block_info *next;
1: + struct acpi_gpe_xrupt_info *xrupt_block;
1: + struct acpi_gpe_register_info *register_info;
1: + struct acpi_gpe_event_info *event_info;
1: + u64 address;
1: + u32 register_count;
1: + u16 gpe_count;
1: + u16 block_base_number;
1: + u8 space_id;
1: + u8 initialized;
1: +};
1: +
1: +struct acpi_gpe_xrupt_info {
1: + struct acpi_gpe_xrupt_info *previous;
1: + struct acpi_gpe_xrupt_info *next;
1: + struct acpi_gpe_block_info *gpe_block_list_head;
1: + u32 interrupt_number;
1: +};
1: +
1: +struct acpi_common_state {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: +};
1: +
1: +struct acpi_update_state {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + union acpi_operand_object *object;
1: +};
1: +
1: +struct acpi_pkg_state {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u32 index;
1: + union acpi_operand_object *source_object;
1: + union acpi_operand_object *dest_object;
1: + struct acpi_walk_state *walk_state;
1: + void *this_target_obj;
1: + u32 num_packages;
1: +};
1: +
1: +struct acpi_control_state {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u16 opcode;
1: + union acpi_parse_object *predicate_op;
1: + u8 *aml_predicate_start;
1: + u8 *package_end;
1: + u64 loop_timeout;
1: +};
1: +
1: +union acpi_parse_value {
1: + u64 integer;
1: + u32 size;
1: + char *string;
1: + u8 *buffer;
1: + char *name;
1: + union acpi_parse_object *arg;
1: +};
1: +
1: +struct acpi_parse_obj_common {
1: + union acpi_parse_object *parent;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 aml_opcode;
1: + u8 *aml;
1: + union acpi_parse_object *next;
1: + struct acpi_namespace_node *node;
1: + union acpi_parse_value value;
1: + u8 arg_list_length;
1: +};
1: +
1: +struct acpi_parse_obj_named {
1: + union acpi_parse_object *parent;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 aml_opcode;
1: + u8 *aml;
1: + union acpi_parse_object *next;
1: + struct acpi_namespace_node *node;
1: + union acpi_parse_value value;
1: + u8 arg_list_length;
1: + char *path;
1: + u8 *data;
1: + u32 length;
1: + u32 name;
1: +};
1: +
1: +struct acpi_parse_obj_asl {
1: + union acpi_parse_object *parent;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 aml_opcode;
1: + u8 *aml;
1: + union acpi_parse_object *next;
1: + struct acpi_namespace_node *node;
1: + union acpi_parse_value value;
1: + u8 arg_list_length;
1: + union acpi_parse_object *child;
1: + union acpi_parse_object *parent_method;
1: + char *filename;
1: + u8 file_changed;
1: + char *parent_filename;
1: + char *external_name;
1: + char *namepath;
1: + char name_seg[4];
1: + u32 extra_value;
1: + u32 column;
1: + u32 line_number;
1: + u32 logical_line_number;
1: + u32 logical_byte_offset;
1: + u32 end_line;
1: + u32 end_logical_line;
1: + u32 acpi_btype;
1: + u32 aml_length;
1: + u32 aml_subtree_length;
1: + u32 final_aml_length;
1: + u32 final_aml_offset;
1: + u32 compile_flags;
1: + u16 parse_opcode;
1: + u8 aml_opcode_length;
1: + u8 aml_pkg_len_bytes;
1: + u8 extra;
1: + char parse_op_name[20];
1: +};
1: +
1: +union acpi_parse_object {
1: + struct acpi_parse_obj_common common;
1: + struct acpi_parse_obj_named named;
1: + struct acpi_parse_obj_asl asl;
1: +};
1: +
1: +struct acpi_scope_state {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + struct acpi_namespace_node *node;
1: +};
1: +
1: +struct acpi_pscope_state {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u32 arg_count;
1: + union acpi_parse_object *op;
1: + u8 *arg_end;
1: + u8 *pkg_end;
1: + u32 arg_list;
1: +};
1: +
1: +struct acpi_thread_state {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u8 current_sync_level;
1: + struct acpi_walk_state *walk_state_list;
1: + union acpi_operand_object *acquired_mutex_list;
1: + u64 thread_id;
1: +};
1: +
1: +struct acpi_result_values {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + union acpi_operand_object *obj_desc[8];
1: +};
1: +
1: +struct acpi_global_notify_handler {
1: + acpi_notify_handler handler;
1: + void *context;
1: +};
1: +
1: +struct acpi_notify_info {
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u8 handler_list_id;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object *handler_list_head;
1: + struct acpi_global_notify_handler *global;
1: +};
1: +
1: +union acpi_generic_state {
1: + struct acpi_common_state common;
1: + struct acpi_control_state control;
1: + struct acpi_update_state update;
1: + struct acpi_scope_state scope;
1: + struct acpi_pscope_state parse_scope;
1: + struct acpi_pkg_state pkg;
1: + struct acpi_thread_state thread;
1: + struct acpi_result_values results;
1: + struct acpi_notify_info notify;
1: +};
1: +
1: +struct acpi_opcode_info {
1: + u32 parse_args;
1: + u32 runtime_args;
1: + u16 flags;
1: + u8 object_type;
1: + u8 class;
1: + u8 type;
1: +};
1: +
1: +struct acpi_os_dpc {
1: + acpi_osd_exec_callback function;
1: + void *context;
1: + struct work_struct work;
1: +};
1: +
1: +struct acpi_ioremap {
1: + struct list_head list;
1: + void *virt;
1: + acpi_physical_address phys;
1: + acpi_size size;
1: + long unsigned int refcount;
1: +};
1: +
1: +struct acpi_hp_work {
1: + struct work_struct work;
1: + struct acpi_device *adev;
1: + u32 src;
1: +};
1: +
1: +struct acpi_pld_info {
1: + u8 revision;
1: + u8 ignore_color;
1: + u8 red;
1: + u8 green;
1: + u8 blue;
1: + u16 width;
1: + u16 height;
1: + u8 user_visible;
1: + u8 dock;
1: + u8 lid;
1: + u8 panel;
1: + u8 vertical_position;
1: + u8 horizontal_position;
1: + u8 shape;
1: + u8 group_orientation;
1: + u8 group_token;
1: + u8 group_position;
1: + u8 bay;
1: + u8 ejectable;
1: + u8 ospm_eject_required;
1: + u8 cabinet_number;
1: + u8 card_cage_number;
1: + u8 reference;
1: + u8 rotation;
1: + u8 order;
1: + u8 reserved;
1: + u16 vertical_offset;
1: + u16 horizontal_offset;
1: +};
1: +
1: +struct acpi_handle_list {
1: + u32 count;
1: + acpi_handle handles[10];
1: +};
1: +
1: +struct acpi_device_bus_id {
1: + char bus_id[15];
1: + unsigned int instance_no;
1: + struct list_head node;
1: +};
1: +
1: +struct acpi_dev_match_info {
1: + struct acpi_device_id hid[2];
1: + const char *uid;
1: + s64 hrv;
1: +};
1: +
1: +struct nvs_region {
1: + __u64 phys_start;
1: + __u64 size;
1: + struct list_head node;
1: +};
1: +
1: +struct nvs_page {
1: + long unsigned int phys_start;
1: + unsigned int size;
1: + void *kaddr;
1: + void *data;
1: + bool unmap;
1: + struct list_head node;
1: +};
1: +
1: +typedef u32 acpi_event_status;
1: +
1: +struct acpi_table_facs {
1: + char signature[4];
1: + u32 length;
1: + u32 hardware_signature;
1: + u32 firmware_waking_vector;
1: + u32 global_lock;
1: + u32 flags;
1: + u64 xfirmware_waking_vector;
1: + u8 version;
1: + u8 reserved[3];
1: + u32 ospm_flags;
1: + u8 reserved1[24];
1: +};
1: +
1: +struct lpi_device_info {
1: + char *name;
1: + int enabled;
1: + union acpi_object *package;
1: +};
1: +
1: +struct lpi_device_constraint {
1: + int uid;
1: + int min_dstate;
1: + int function_states;
1: +};
1: +
1: +struct lpi_constraints {
1: + acpi_handle handle;
1: + int min_dstate;
1: +};
1: +
1: +struct acpi_hardware_id {
1: + struct list_head list;
1: + const char *id;
1: +};
1: +
1: +struct acpi_data_node {
1: + const char *name;
1: + acpi_handle handle;
1: + struct fwnode_handle fwnode;
1: + struct fwnode_handle *parent;
1: + struct acpi_device_data data;
1: + struct list_head sibling;
1: + struct kobject kobj;
1: + struct completion kobj_done;
1: +};
1: +
1: +struct acpi_data_node_attr {
1: + struct attribute attr;
1: + ssize_t (*show)(struct acpi_data_node *, char *);
1: + ssize_t (*store)(struct acpi_data_node *, const char *, size_t);
1: +};
1: +
1: +struct acpi_device_physical_node {
1: + unsigned int node_id;
1: + struct list_head node;
1: + struct device *dev;
1: + bool put_online: 1;
1: +};
1: +
1: +typedef u32 (*acpi_event_handler)(void *);
1: +
1: +typedef acpi_status (*acpi_table_handler)(u32, void *, void *);
1: +
1: +enum acpi_bus_device_type {
1: + ACPI_BUS_TYPE_DEVICE = 0,
1: + ACPI_BUS_TYPE_POWER = 1,
1: + ACPI_BUS_TYPE_PROCESSOR = 2,
1: + ACPI_BUS_TYPE_THERMAL = 3,
1: + ACPI_BUS_TYPE_POWER_BUTTON = 4,
1: + ACPI_BUS_TYPE_SLEEP_BUTTON = 5,
1: + ACPI_BUS_TYPE_ECDT_EC = 6,
1: + ACPI_BUS_DEVICE_TYPE_COUNT = 7,
1: +};
1: +
1: +struct acpi_osc_context {
1: + char *uuid_str;
1: + int rev;
1: + struct acpi_buffer cap;
1: + struct acpi_buffer ret;
1: +};
1: +
1: +struct acpi_pnp_device_id {
1: + u32 length;
1: + char *string;
1: +};
1: +
1: +struct acpi_pnp_device_id_list {
1: + u32 count;
1: + u32 list_size;
1: + struct acpi_pnp_device_id ids[1];
1: +};
1: +
1: +struct acpi_device_info {
1: + u32 info_size;
1: + u32 name;
1: + acpi_object_type type;
1: + u8 param_count;
1: + u16 valid;
1: + u8 flags;
1: + u8 highest_dstates[4];
1: + u8 lowest_dstates[5];
1: + u64 address;
1: + struct acpi_pnp_device_id hardware_id;
1: + struct acpi_pnp_device_id unique_id;
1: + struct acpi_pnp_device_id class_code;
1: + struct acpi_pnp_device_id_list compatible_id_list;
1: +};
1: +
1: +struct acpi_table_spcr {
1: + struct acpi_table_header header;
1: + u8 interface_type;
1: + u8 reserved[3];
1: + struct acpi_generic_address serial_port;
1: + u8 interrupt_type;
1: + u8 pc_interrupt;
1: + u32 interrupt;
1: + u8 baud_rate;
1: + u8 parity;
1: + u8 stop_bits;
1: + u8 flow_control;
1: + u8 terminal_type;
1: + u8 reserved1;
1: + u16 pci_device_id;
1: + u16 pci_vendor_id;
1: + u8 pci_bus;
1: + u8 pci_device;
1: + u8 pci_function;
1: + u32 pci_flags;
1: + u8 pci_segment;
1: + u32 reserved2;
1: +} __attribute__((packed));
1: +
1: +struct acpi_table_stao {
1: + struct acpi_table_header header;
1: + u8 ignore_uart;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_irq {
1: + u8 descriptor_length;
1: + u8 triggering;
1: + u8 polarity;
1: + u8 shareable;
1: + u8 wake_capable;
1: + u8 interrupt_count;
1: + u8 interrupts[1];
1: +};
1: +
1: +struct acpi_resource_dma {
1: + u8 type;
1: + u8 bus_master;
1: + u8 transfer;
1: + u8 channel_count;
1: + u8 channels[1];
1: +};
1: +
1: +struct acpi_resource_start_dependent {
1: + u8 descriptor_length;
1: + u8 compatibility_priority;
1: + u8 performance_robustness;
1: +};
1: +
1: +struct acpi_resource_io {
1: + u8 io_decode;
1: + u8 alignment;
1: + u8 address_length;
1: + u16 minimum;
1: + u16 maximum;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_fixed_io {
1: + u16 address;
1: + u8 address_length;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_fixed_dma {
1: + u16 request_lines;
1: + u16 channels;
1: + u8 width;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_vendor {
1: + u16 byte_length;
1: + u8 byte_data[1];
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_vendor_typed {
1: + u16 byte_length;
1: + u8 uuid_subtype;
1: + u8 uuid[16];
1: + u8 byte_data[1];
1: +};
1: +
1: +struct acpi_resource_end_tag {
1: + u8 checksum;
1: +};
1: +
1: +struct acpi_resource_memory24 {
1: + u8 write_protect;
1: + u16 minimum;
1: + u16 maximum;
1: + u16 alignment;
1: + u16 address_length;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_memory32 {
1: + u8 write_protect;
1: + u32 minimum;
1: + u32 maximum;
1: + u32 alignment;
1: + u32 address_length;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_fixed_memory32 {
1: + u8 write_protect;
1: + u32 address;
1: + u32 address_length;
1: +} __attribute__((packed));
1: +
1: +struct acpi_memory_attribute {
1: + u8 write_protect;
1: + u8 caching;
1: + u8 range_type;
1: + u8 translation;
1: +};
1: +
1: +struct acpi_io_attribute {
1: + u8 range_type;
1: + u8 translation;
1: + u8 translation_type;
1: + u8 reserved1;
1: +};
1: +
1: +union acpi_resource_attribute {
1: + struct acpi_memory_attribute mem;
1: + struct acpi_io_attribute io;
1: + u8 type_specific;
1: +};
1: +
1: +struct acpi_resource_label {
1: + u16 string_length;
1: + char *string_ptr;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_source {
1: + u8 index;
1: + u16 string_length;
1: + char *string_ptr;
1: +} __attribute__((packed));
1: +
1: +struct acpi_address16_attribute {
1: + u16 granularity;
1: + u16 minimum;
1: + u16 maximum;
1: + u16 translation_offset;
1: + u16 address_length;
1: +};
1: +
1: +struct acpi_address32_attribute {
1: + u32 granularity;
1: + u32 minimum;
1: + u32 maximum;
1: + u32 translation_offset;
1: + u32 address_length;
1: +};
1: +
1: +struct acpi_address64_attribute {
1: + u64 granularity;
1: + u64 minimum;
1: + u64 maximum;
1: + u64 translation_offset;
1: + u64 address_length;
1: +};
1: +
1: +struct acpi_resource_address {
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: +};
1: +
1: +struct acpi_resource_address16 {
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: + struct acpi_address16_attribute address;
1: + struct acpi_resource_source resource_source;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_address32 {
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: + struct acpi_address32_attribute address;
1: + struct acpi_resource_source resource_source;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_address64 {
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: + struct acpi_address64_attribute address;
1: + struct acpi_resource_source resource_source;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_extended_address64 {
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: + u8 revision_ID;
1: + struct acpi_address64_attribute address;
1: + u64 type_specific;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_extended_irq {
1: + u8 producer_consumer;
1: + u8 triggering;
1: + u8 polarity;
1: + u8 shareable;
1: + u8 wake_capable;
1: + u8 interrupt_count;
1: + struct acpi_resource_source resource_source;
1: + u32 interrupts[1];
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_generic_register {
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_size;
1: + u64 address;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_gpio {
1: + u8 revision_id;
1: + u8 connection_type;
1: + u8 producer_consumer;
1: + u8 pin_config;
1: + u8 shareable;
1: + u8 wake_capable;
1: + u8 io_restriction;
1: + u8 triggering;
1: + u8 polarity;
1: + u16 drive_strength;
1: + u16 debounce_timeout;
1: + u16 pin_table_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u16 *pin_table;
1: + u8 *vendor_data;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_common_serialbus {
1: + u8 revision_id;
1: + u8 type;
1: + u8 producer_consumer;
1: + u8 slave_mode;
1: + u8 connection_sharing;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u8 *vendor_data;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_i2c_serialbus {
1: + u8 revision_id;
1: + u8 type;
1: + u8 producer_consumer;
1: + u8 slave_mode;
1: + u8 connection_sharing;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u8 *vendor_data;
1: + u8 access_mode;
1: + u16 slave_address;
1: + u32 connection_speed;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_spi_serialbus {
1: + u8 revision_id;
1: + u8 type;
1: + u8 producer_consumer;
1: + u8 slave_mode;
1: + u8 connection_sharing;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u8 *vendor_data;
1: + u8 wire_mode;
1: + u8 device_polarity;
1: + u8 data_bit_length;
1: + u8 clock_phase;
1: + u8 clock_polarity;
1: + u16 device_selection;
1: + u32 connection_speed;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_uart_serialbus {
1: + u8 revision_id;
1: + u8 type;
1: + u8 producer_consumer;
1: + u8 slave_mode;
1: + u8 connection_sharing;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u8 *vendor_data;
1: + u8 endian;
1: + u8 data_bits;
1: + u8 stop_bits;
1: + u8 flow_control;
1: + u8 parity;
1: + u8 lines_enabled;
1: + u16 rx_fifo_size;
1: + u16 tx_fifo_size;
1: + u32 default_baud_rate;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_pin_function {
1: + u8 revision_id;
1: + u8 pin_config;
1: + u8 shareable;
1: + u16 function_number;
1: + u16 pin_table_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u16 *pin_table;
1: + u8 *vendor_data;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_pin_config {
1: + u8 revision_id;
1: + u8 producer_consumer;
1: + u8 shareable;
1: + u8 pin_config_type;
1: + u32 pin_config_value;
1: + u16 pin_table_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u16 *pin_table;
1: + u8 *vendor_data;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_pin_group {
1: + u8 revision_id;
1: + u8 producer_consumer;
1: + u16 pin_table_length;
1: + u16 vendor_length;
1: + u16 *pin_table;
1: + struct acpi_resource_label resource_label;
1: + u8 *vendor_data;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_pin_group_function {
1: + u8 revision_id;
1: + u8 producer_consumer;
1: + u8 shareable;
1: + u16 function_number;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + struct acpi_resource_label resource_source_label;
1: + u8 *vendor_data;
1: +} __attribute__((packed));
1: +
1: +struct acpi_resource_pin_group_config {
1: + u8 revision_id;
1: + u8 producer_consumer;
1: + u8 shareable;
1: + u8 pin_config_type;
1: + u32 pin_config_value;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + struct acpi_resource_label resource_source_label;
1: + u8 *vendor_data;
1: +} __attribute__((packed));
1: +
1: +union acpi_resource_data {
1: + struct acpi_resource_irq irq;
1: + struct acpi_resource_dma dma;
1: + struct acpi_resource_start_dependent start_dpf;
1: + struct acpi_resource_io io;
1: + struct acpi_resource_fixed_io fixed_io;
1: + struct acpi_resource_fixed_dma fixed_dma;
1: + struct acpi_resource_vendor vendor;
1: + struct acpi_resource_vendor_typed vendor_typed;
1: + struct acpi_resource_end_tag end_tag;
1: + struct acpi_resource_memory24 memory24;
1: + struct acpi_resource_memory32 memory32;
1: + struct acpi_resource_fixed_memory32 fixed_memory32;
1: + struct acpi_resource_address16 address16;
1: + struct acpi_resource_address32 address32;
1: + struct acpi_resource_address64 address64;
1: + struct acpi_resource_extended_address64 ext_address64;
1: + struct acpi_resource_extended_irq extended_irq;
1: + struct acpi_resource_generic_register generic_reg;
1: + struct acpi_resource_gpio gpio;
1: + struct acpi_resource_i2c_serialbus i2c_serial_bus;
1: + struct acpi_resource_spi_serialbus spi_serial_bus;
1: + struct acpi_resource_uart_serialbus uart_serial_bus;
1: + struct acpi_resource_common_serialbus common_serial_bus;
1: + struct acpi_resource_pin_function pin_function;
1: + struct acpi_resource_pin_config pin_config;
1: + struct acpi_resource_pin_group pin_group;
1: + struct acpi_resource_pin_group_function pin_group_function;
1: + struct acpi_resource_pin_group_config pin_group_config;
1: + struct acpi_resource_address address;
1: +};
1: +
1: +struct acpi_resource {
1: + u32 type;
1: + u32 length;
1: + union acpi_resource_data data;
1: +} __attribute__((packed));
1: +
1: +typedef acpi_status (*acpi_walk_resource_callback)(struct acpi_resource *, void *);
1: +
1: +enum acpi_reconfig_event {
1: + ACPI_RECONFIG_DEVICE_ADD = 0,
1: + ACPI_RECONFIG_DEVICE_REMOVE = 1,
1: +};
1: +
1: +struct acpi_probe_entry;
1: +
1: +typedef bool (*acpi_probe_entry_validate_subtbl)(struct acpi_subtable_header *, struct acpi_probe_entry *);
1: +
1: +struct acpi_probe_entry {
1: + __u8 id[5];
1: + __u8 type;
1: + acpi_probe_entry_validate_subtbl subtable_valid;
1: + union {
1: + acpi_tbl_table_handler probe_table;
1: + acpi_tbl_entry_handler probe_subtbl;
1: + };
1: + kernel_ulong_t driver_data;
1: +};
1: +
1: +struct acpi_dep_data {
1: + struct list_head node;
1: + acpi_handle master;
1: + acpi_handle slave;
1: +};
1: +
1: +struct acpi_table_events_work {
1: + struct work_struct work;
1: + void *table;
1: + u32 event;
1: +};
1: +
1: +struct resource_win {
1: + struct resource res;
1: + resource_size_t offset;
1: +};
1: +
1: +struct res_proc_context {
1: + struct list_head *list;
1: + int (*preproc)(struct acpi_resource *, void *);
1: + void *preproc_data;
1: + int count;
1: + int error;
1: +};
1: +
1: +struct thermal_cooling_device_ops;
1: +
1: +struct thermal_cooling_device {
1: + int id;
1: + char type[20];
1: + struct device device;
1: + struct device_node *np;
1: + void *devdata;
1: + void *stats;
1: + const struct thermal_cooling_device_ops *ops;
1: + bool updated;
1: + struct mutex lock;
1: + struct list_head thermal_instances;
1: + struct list_head node;
1: +};
1: +
1: +enum thermal_device_mode {
1: + THERMAL_DEVICE_DISABLED = 0,
1: + THERMAL_DEVICE_ENABLED = 1,
1: +};
1: +
1: +enum thermal_trip_type {
1: + THERMAL_TRIP_ACTIVE = 0,
1: + THERMAL_TRIP_PASSIVE = 1,
1: + THERMAL_TRIP_HOT = 2,
1: + THERMAL_TRIP_CRITICAL = 3,
1: +};
1: +
1: +enum thermal_trend {
1: + THERMAL_TREND_STABLE = 0,
1: + THERMAL_TREND_RAISING = 1,
1: + THERMAL_TREND_DROPPING = 2,
1: + THERMAL_TREND_RAISE_FULL = 3,
1: + THERMAL_TREND_DROP_FULL = 4,
1: +};
1: +
1: +enum thermal_notify_event {
1: + THERMAL_EVENT_UNSPECIFIED = 0,
1: + THERMAL_EVENT_TEMP_SAMPLE = 1,
1: + THERMAL_TRIP_VIOLATED = 2,
1: + THERMAL_TRIP_CHANGED = 3,
1: + THERMAL_DEVICE_DOWN = 4,
1: + THERMAL_DEVICE_UP = 5,
1: + THERMAL_DEVICE_POWER_CAPABILITY_CHANGED = 6,
1: + THERMAL_TABLE_CHANGED = 7,
1: +};
1: +
1: +struct thermal_zone_device;
1: +
1: +struct thermal_zone_device_ops {
1: + int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: + int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: + int (*get_temp)(struct thermal_zone_device *, int *);
1: + int (*set_trips)(struct thermal_zone_device *, int, int);
1: + int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
1: + int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
1: + int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
1: + int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
1: + int (*set_trip_temp)(struct thermal_zone_device *, int, int);
1: + int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
1: + int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
1: + int (*get_crit_temp)(struct thermal_zone_device *, int *);
1: + int (*set_emul_temp)(struct thermal_zone_device *, int);
1: + int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
1: + int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
1: +};
1: +
1: +struct thermal_attr;
1: +
1: +struct thermal_zone_params;
1: +
1: +struct thermal_governor;
1: +
1: +struct thermal_zone_device {
1: + int id;
1: + char type[20];
1: + struct device device;
1: + struct attribute_group trips_attribute_group;
1: + struct thermal_attr *trip_temp_attrs;
1: + struct thermal_attr *trip_type_attrs;
1: + struct thermal_attr *trip_hyst_attrs;
1: + void *devdata;
1: + int trips;
1: + long unsigned int trips_disabled;
1: + int passive_delay;
1: + int polling_delay;
1: + int temperature;
1: + int last_temperature;
1: + int emul_temperature;
1: + int passive;
1: + int prev_low_trip;
1: + int prev_high_trip;
1: + unsigned int forced_passive;
1: + atomic_t need_update;
1: + struct thermal_zone_device_ops *ops;
1: + struct thermal_zone_params *tzp;
1: + struct thermal_governor *governor;
1: + void *governor_data;
1: + struct list_head thermal_instances;
1: + struct ida ida;
1: + struct mutex lock;
1: + struct list_head node;
1: + struct delayed_work poll_queue;
1: + enum thermal_notify_event notify_event;
1: +};
1: +
1: +struct thermal_cooling_device_ops {
1: + int (*get_max_state)(struct thermal_cooling_device *, long unsigned int *);
1: + int (*get_cur_state)(struct thermal_cooling_device *, long unsigned int *);
1: + int (*set_cur_state)(struct thermal_cooling_device *, long unsigned int);
1: + int (*get_requested_power)(struct thermal_cooling_device *, struct thermal_zone_device *, u32 *);
1: + int (*state2power)(struct thermal_cooling_device *, struct thermal_zone_device *, long unsigned int, u32 *);
1: + int (*power2state)(struct thermal_cooling_device *, struct thermal_zone_device *, u32, long unsigned int *);
1: +};
1: +
1: +struct thermal_attr {
1: + struct device_attribute attr;
1: + char name[20];
1: +};
1: +
1: +struct thermal_bind_params;
1: +
1: +struct thermal_zone_params {
1: + char governor_name[20];
1: + bool no_hwmon;
1: + int num_tbps;
1: + struct thermal_bind_params *tbp;
1: + u32 sustainable_power;
1: + s32 k_po;
1: + s32 k_pu;
1: + s32 k_i;
1: + s32 k_d;
1: + s32 integral_cutoff;
1: + int slope;
1: + int offset;
1: +};
1: +
1: +struct thermal_governor {
1: + char name[20];
1: + int (*bind_to_tz)(struct thermal_zone_device *);
1: + void (*unbind_from_tz)(struct thermal_zone_device *);
1: + int (*throttle)(struct thermal_zone_device *, int);
1: + struct list_head governor_list;
1: +};
1: +
1: +struct thermal_bind_params {
1: + struct thermal_cooling_device *cdev;
1: + int weight;
1: + int trip_mask;
1: + long unsigned int *binding_limits;
1: + int (*match)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: +};
1: +
1: +struct acpi_lpi_state {
1: + u32 min_residency;
1: + u32 wake_latency;
1: + u32 flags;
1: + u32 arch_flags;
1: + u32 res_cnt_freq;
1: + u32 enable_parent_state;
1: + u64 address;
1: + u8 index;
1: + u8 entry_method;
1: + char desc[32];
1: +};
1: +
1: +struct acpi_processor_power {
1: + int count;
1: + union {
1: + struct acpi_processor_cx states[8];
1: + struct acpi_lpi_state lpi_states[8];
1: + };
1: + int timer_broadcast_on_state;
1: +};
1: +
1: +struct acpi_psd_package {
1: + u64 num_entries;
1: + u64 revision;
1: + u64 domain;
1: + u64 coord_type;
1: + u64 num_processors;
1: +};
1: +
1: +struct acpi_pct_register {
1: + u8 descriptor;
1: + u16 length;
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 reserved;
1: + u64 address;
1: +} __attribute__((packed));
1: +
1: +struct acpi_processor_px {
1: + u64 core_frequency;
1: + u64 power;
1: + u64 transition_latency;
1: + u64 bus_master_latency;
1: + u64 control;
1: + u64 status;
1: +};
1: +
1: +struct acpi_processor_performance {
1: + unsigned int state;
1: + unsigned int platform_limit;
1: + struct acpi_pct_register control_register;
1: + struct acpi_pct_register status_register;
1: + short: 16;
1: + unsigned int state_count;
1: + int: 32;
1: + struct acpi_processor_px *states;
1: + struct acpi_psd_package domain_info;
1: + cpumask_var_t shared_cpu_map;
1: + unsigned int shared_type;
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct acpi_tsd_package {
1: + u64 num_entries;
1: + u64 revision;
1: + u64 domain;
1: + u64 coord_type;
1: + u64 num_processors;
1: +};
1: +
1: +struct acpi_processor_tx_tss {
1: + u64 freqpercentage;
1: + u64 power;
1: + u64 transition_latency;
1: + u64 control;
1: + u64 status;
1: +};
1: +
1: +struct acpi_processor_tx {
1: + u16 power;
1: + u16 performance;
1: +};
1: +
1: +struct acpi_processor;
1: +
1: +struct acpi_processor_throttling {
1: + unsigned int state;
1: + unsigned int platform_limit;
1: + struct acpi_pct_register control_register;
1: + struct acpi_pct_register status_register;
1: + short: 16;
1: + unsigned int state_count;
1: + int: 32;
1: + struct acpi_processor_tx_tss *states_tss;
1: + struct acpi_tsd_package domain_info;
1: + cpumask_var_t shared_cpu_map;
1: + int (*acpi_processor_get_throttling)(struct acpi_processor *);
1: + int (*acpi_processor_set_throttling)(struct acpi_processor *, int, bool);
1: + u32 address;
1: + u8 duty_offset;
1: + u8 duty_width;
1: + u8 tsd_valid_flag;
1: + char: 8;
1: + unsigned int shared_type;
1: + struct acpi_processor_tx states[16];
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct acpi_processor_lx {
1: + int px;
1: + int tx;
1: +};
1: +
1: +struct acpi_processor_limit {
1: + struct acpi_processor_lx state;
1: + struct acpi_processor_lx thermal;
1: + struct acpi_processor_lx user;
1: +};
1: +
1: +struct acpi_processor {
1: + acpi_handle handle;
1: + u32 acpi_id;
1: + phys_cpuid_t phys_id;
1: + u32 id;
1: + u32 pblk;
1: + int performance_platform_limit;
1: + int throttling_platform_limit;
1: + struct acpi_processor_flags flags;
1: + struct acpi_processor_power power;
1: + struct acpi_processor_performance *performance;
1: + struct acpi_processor_throttling throttling;
1: + struct acpi_processor_limit limit;
1: + struct thermal_cooling_device *cdev;
1: + struct device *dev;
1: + struct freq_qos_request perflib_req;
1: + struct freq_qos_request thermal_req;
1: +};
1: +
1: +struct acpi_processor_errata {
1: + u8 smp;
1: + struct {
1: + u8 throttle: 1;
1: + u8 fdma: 1;
1: + u8 reserved: 6;
1: + u32 bmisx;
1: + } piix4;
1: +};
1: +
1: +struct acpi_table_ecdt {
1: + struct acpi_table_header header;
1: + struct acpi_generic_address control;
1: + struct acpi_generic_address data;
1: + u32 uid;
1: + u8 gpe;
1: + u8 id[1];
1: +} __attribute__((packed));
1: +
1: +struct transaction;
1: +
1: +struct acpi_ec {
1: + acpi_handle handle;
1: + int gpe;
1: + int irq;
1: + long unsigned int command_addr;
1: + long unsigned int data_addr;
1: + bool global_lock;
1: + long unsigned int flags;
1: + long unsigned int reference_count;
1: + struct mutex mutex;
1: + wait_queue_head_t wait;
1: + struct list_head list;
1: + struct transaction *curr;
1: + spinlock_t lock;
1: + struct work_struct work;
1: + long unsigned int timestamp;
1: + long unsigned int nr_pending_queries;
1: + bool busy_polling;
1: + unsigned int polling_guard;
1: +};
1: +
1: +struct transaction {
1: + const u8 *wdata;
1: + u8 *rdata;
1: + short unsigned int irq_count;
1: + u8 command;
1: + u8 wi;
1: + u8 ri;
1: + u8 wlen;
1: + u8 rlen;
1: + u8 flags;
1: +};
1: +
1: +typedef int (*acpi_ec_query_func)(void *);
1: +
1: +enum ec_command {
1: + ACPI_EC_COMMAND_READ = 128,
1: + ACPI_EC_COMMAND_WRITE = 129,
1: + ACPI_EC_BURST_ENABLE = 130,
1: + ACPI_EC_BURST_DISABLE = 131,
1: + ACPI_EC_COMMAND_QUERY = 132,
1: +};
1: +
1: +enum {
1: + EC_FLAGS_QUERY_ENABLED = 0,
1: + EC_FLAGS_QUERY_PENDING = 1,
1: + EC_FLAGS_QUERY_GUARDING = 2,
1: + EC_FLAGS_EVENT_HANDLER_INSTALLED = 3,
1: + EC_FLAGS_EC_HANDLER_INSTALLED = 4,
1: + EC_FLAGS_QUERY_METHODS_INSTALLED = 5,
1: + EC_FLAGS_STARTED = 6,
1: + EC_FLAGS_STOPPED = 7,
1: + EC_FLAGS_EVENTS_MASKED = 8,
1: +};
1: +
1: +struct acpi_ec_query_handler {
1: + struct list_head node;
1: + acpi_ec_query_func func;
1: + acpi_handle handle;
1: + void *data;
1: + u8 query_bit;
1: + struct kref kref;
1: +};
1: +
1: +struct acpi_ec_query {
1: + struct transaction transaction;
1: + struct work_struct work;
1: + struct acpi_ec_query_handler *handler;
1: +};
1: +
1: +struct dock_station {
1: + acpi_handle handle;
1: + long unsigned int last_dock_time;
1: + u32 flags;
1: + struct list_head dependent_devices;
1: + struct list_head sibling;
1: + struct platform_device *dock_device;
1: +};
1: +
1: +struct dock_dependent_device {
1: + struct list_head list;
1: + struct acpi_device *adev;
1: +};
1: +
1: +enum dock_callback_type {
1: + DOCK_CALL_HANDLER = 0,
1: + DOCK_CALL_FIXUP = 1,
1: + DOCK_CALL_UEVENT = 2,
1: +};
1: +
1: +struct acpi_pci_root_ops;
1: +
1: +struct acpi_pci_root_info {
1: + struct acpi_pci_root *root;
1: + struct acpi_device *bridge;
1: + struct acpi_pci_root_ops *ops;
1: + struct list_head resources;
1: + char name[16];
1: +};
1: +
1: +struct acpi_pci_root_ops {
1: + struct pci_ops *pci_ops;
1: + int (*init_info)(struct acpi_pci_root_info *);
1: + void (*release_info)(struct acpi_pci_root_info *);
1: + int (*prepare_resources)(struct acpi_pci_root_info *);
1: +};
1: +
1: +struct pci_osc_bit_struct {
1: + u32 bit;
1: + char *desc;
1: +};
1: +
1: +struct acpi_handle_node {
1: + struct list_head node;
1: + acpi_handle handle;
1: +};
1: +
1: +struct acpi_pci_link_irq {
1: + u32 active;
1: + u8 triggering;
1: + u8 polarity;
1: + u8 resource_type;
1: + u8 possible_count;
1: + u32 possible[16];
1: + u8 initialized: 1;
1: + u8 reserved: 7;
1: +};
1: +
1: +struct acpi_pci_link {
1: + struct list_head list;
1: + struct acpi_device *device;
1: + struct acpi_pci_link_irq irq;
1: + int refcnt;
1: +};
1: +
1: +struct acpi_pci_routing_table {
1: + u32 length;
1: + u32 pin;
1: + u64 address;
1: + u32 source_index;
1: + char source[4];
1: +};
1: +
1: +struct acpi_prt_entry {
1: + struct acpi_pci_id id;
1: + u8 pin;
1: + acpi_handle link;
1: + u32 index;
1: +};
1: +
1: +struct prt_quirk {
1: + const struct dmi_system_id *system;
1: + unsigned int segment;
1: + unsigned int bus;
1: + unsigned int device;
1: + unsigned char pin;
1: + const char *source;
1: + const char *actual_source;
1: +};
1: +
1: +struct apd_private_data;
1: +
1: +struct apd_device_desc {
1: + unsigned int flags;
1: + unsigned int fixed_clk_rate;
1: + struct property_entry *properties;
1: + int (*setup)(struct apd_private_data *);
1: +};
1: +
1: +struct apd_private_data {
1: + struct clk *clk;
1: + struct acpi_device *adev;
1: + const struct apd_device_desc *dev_desc;
1: +};
1: +
1: +struct acpi_power_dependent_device {
1: + struct device *dev;
1: + struct list_head node;
1: +};
1: +
1: +struct acpi_power_resource {
1: + struct acpi_device device;
1: + struct list_head list_node;
1: + char *name;
1: + u32 system_level;
1: + u32 order;
1: + unsigned int ref_count;
1: + bool wakeup_enabled;
1: + struct mutex resource_lock;
1: + struct list_head dependents;
1: +};
1: +
1: +struct acpi_power_resource_entry {
1: + struct list_head node;
1: + struct acpi_power_resource *resource;
1: +};
1: +
1: +struct acpi_bus_event {
1: + struct list_head node;
1: + acpi_device_class device_class;
1: + acpi_bus_id bus_id;
1: + u32 type;
1: + u32 data;
1: +};
1: +
1: +struct acpi_genl_event {
1: + acpi_device_class device_class;
1: + char bus_id[15];
1: + u32 type;
1: + u32 data;
1: +};
1: +
1: +enum {
1: + ACPI_GENL_ATTR_UNSPEC = 0,
1: + ACPI_GENL_ATTR_EVENT = 1,
1: + __ACPI_GENL_ATTR_MAX = 2,
1: +};
1: +
1: +enum {
1: + ACPI_GENL_CMD_UNSPEC = 0,
1: + ACPI_GENL_CMD_EVENT = 1,
1: + __ACPI_GENL_CMD_MAX = 2,
1: +};
1: +
1: +struct acpi_ged_device {
1: + struct device *dev;
1: + struct list_head event_list;
1: +};
1: +
1: +struct acpi_ged_event {
1: + struct list_head node;
1: + struct device *dev;
1: + unsigned int gsi;
1: + unsigned int irq;
1: + acpi_handle handle;
1: +};
1: +
1: +typedef void (*acpi_gbl_event_handler)(u32, acpi_handle, u32, void *);
1: +
1: +struct acpi_table_bert {
1: + struct acpi_table_header header;
1: + u32 region_length;
1: + u64 address;
1: +};
1: +
1: +struct acpi_table_attr {
1: + struct bin_attribute attr;
1: + char name[4];
1: + int instance;
1: + char filename[8];
1: + struct list_head node;
1: +};
1: +
1: +struct acpi_data_attr {
1: + struct bin_attribute attr;
1: + u64 addr;
1: +};
1: +
1: +struct acpi_data_obj {
1: + char *name;
1: + int (*fn)(void *, struct acpi_data_attr *);
1: +};
1: +
1: +struct event_counter {
1: + u32 count;
1: + u32 flags;
1: +};
1: +
1: +struct acpi_device_properties {
1: + const guid_t *guid;
1: + const union acpi_object *properties;
1: + struct list_head list;
1: +};
1: +
1: +struct always_present_id {
1: + struct acpi_device_id hid[2];
1: + struct x86_cpu_id cpu_ids[2];
1: + struct dmi_system_id dmi_ids[2];
1: + const char *uid;
1: +};
1: +
1: +struct acpi_lpat {
1: + int temp;
1: + int raw;
1: +};
1: +
1: +struct acpi_lpat_conversion_table {
1: + struct acpi_lpat *lpat;
1: + int lpat_count;
1: +};
1: +
1: +struct acpi_table_lpit {
1: + struct acpi_table_header header;
1: +};
1: +
1: +struct acpi_lpit_header {
1: + u32 type;
1: + u32 length;
1: + u16 unique_id;
1: + u16 reserved;
1: + u32 flags;
1: +};
1: +
1: +struct acpi_lpit_native {
1: + struct acpi_lpit_header header;
1: + struct acpi_generic_address entry_trigger;
1: + u32 residency;
1: + u32 latency;
1: + struct acpi_generic_address residency_counter;
1: + u64 counter_frequency;
1: +} __attribute__((packed));
1: +
1: +struct lpit_residency_info {
1: + struct acpi_generic_address gaddr;
1: + u64 frequency;
1: + void *iomem_addr;
1: +};
1: +
1: +struct acpi_name_info {
1: + char name[4];
1: + u16 argument_list;
1: + u8 expected_btypes;
1: +} __attribute__((packed));
1: +
1: +struct acpi_package_info {
1: + u8 type;
1: + u8 object_type1;
1: + u8 count1;
1: + u8 object_type2;
1: + u8 count2;
1: + u16 reserved;
1: +} __attribute__((packed));
1: +
1: +struct acpi_package_info2 {
1: + u8 type;
1: + u8 count;
1: + u8 object_type[4];
1: + u8 reserved;
1: +};
1: +
1: +struct acpi_package_info3 {
1: + u8 type;
1: + u8 count;
1: + u8 object_type[2];
1: + u8 tail_object_type;
1: + u16 reserved;
1: +} __attribute__((packed));
1: +
1: +struct acpi_package_info4 {
1: + u8 type;
1: + u8 object_type1;
1: + u8 count1;
1: + u8 sub_object_types;
1: + u8 pkg_count;
1: + u16 reserved;
1: +} __attribute__((packed));
1: +
1: +union acpi_predefined_info {
1: + struct acpi_name_info info;
1: + struct acpi_package_info ret_info;
1: + struct acpi_package_info2 ret_info2;
1: + struct acpi_package_info3 ret_info3;
1: + struct acpi_package_info4 ret_info4;
1: +};
1: +
1: +struct acpi_evaluate_info {
1: + struct acpi_namespace_node *prefix_node;
1: + const char *relative_pathname;
1: + union acpi_operand_object **parameters;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object *obj_desc;
1: + char *full_pathname;
1: + const union acpi_predefined_info *predefined;
1: + union acpi_operand_object *return_object;
1: + union acpi_operand_object *parent_package;
1: + u32 return_flags;
1: + u32 return_btype;
1: + u16 param_count;
1: + u16 node_flags;
1: + u8 pass_number;
1: + u8 return_object_type;
1: + u8 flags;
1: +};
1: +
1: +enum {
1: + ACPI_REFCLASS_LOCAL = 0,
1: + ACPI_REFCLASS_ARG = 1,
1: + ACPI_REFCLASS_REFOF = 2,
1: + ACPI_REFCLASS_INDEX = 3,
1: + ACPI_REFCLASS_TABLE = 4,
1: + ACPI_REFCLASS_NAME = 5,
1: + ACPI_REFCLASS_DEBUG = 6,
1: + ACPI_REFCLASS_MAX = 6,
1: +};
1: +
1: +struct acpi_common_descriptor {
1: + void *common_pointer;
1: + u8 descriptor_type;
1: +};
1: +
1: +union acpi_descriptor {
1: + struct acpi_common_descriptor common;
1: + union acpi_operand_object object;
1: + struct acpi_namespace_node node;
1: + union acpi_parse_object op;
1: +};
1: +
1: +typedef enum {
1: + ACPI_IMODE_LOAD_PASS1 = 1,
1: + ACPI_IMODE_LOAD_PASS2 = 2,
1: + ACPI_IMODE_EXECUTE = 3,
1: +} acpi_interpreter_mode;
1: +
1: +struct acpi_create_field_info {
1: + struct acpi_namespace_node *region_node;
1: + struct acpi_namespace_node *field_node;
1: + struct acpi_namespace_node *register_node;
1: + struct acpi_namespace_node *data_register_node;
1: + struct acpi_namespace_node *connection_node;
1: + u8 *resource_buffer;
1: + u32 bank_value;
1: + u32 field_bit_position;
1: + u32 field_bit_length;
1: + u16 resource_length;
1: + u16 pin_number_index;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 field_type;
1: + u8 access_length;
1: +};
1: +
1: +struct acpi_init_walk_info {
1: + u32 table_index;
1: + u32 object_count;
1: + u32 method_count;
1: + u32 serial_method_count;
1: + u32 non_serial_method_count;
1: + u32 serialized_method_count;
1: + u32 device_count;
1: + u32 op_region_count;
1: + u32 field_count;
1: + u32 buffer_count;
1: + u32 package_count;
1: + u32 op_region_init;
1: + u32 field_init;
1: + u32 buffer_init;
1: + u32 package_init;
1: + acpi_owner_id owner_id;
1: +};
1: +
1: +typedef u32 acpi_name;
1: +
1: +typedef acpi_status (*acpi_exception_handler)(acpi_status, acpi_name, u16, u32, void *);
1: +
1: +enum {
1: + AML_FIELD_ACCESS_ANY = 0,
1: + AML_FIELD_ACCESS_BYTE = 1,
1: + AML_FIELD_ACCESS_WORD = 2,
1: + AML_FIELD_ACCESS_DWORD = 3,
1: + AML_FIELD_ACCESS_QWORD = 4,
1: + AML_FIELD_ACCESS_BUFFER = 5,
1: +};
1: +
1: +typedef acpi_status (*acpi_execute_op)(struct acpi_walk_state *);
1: +
1: +struct acpi_fixed_event_handler {
1: + acpi_event_handler handler;
1: + void *context;
1: +};
1: +
1: +struct acpi_fixed_event_info {
1: + u8 status_register_id;
1: + u8 enable_register_id;
1: + u16 status_bit_mask;
1: + u16 enable_bit_mask;
1: +};
1: +
1: +typedef u32 acpi_mutex_handle;
1: +
1: +struct acpi_gpe_walk_info {
1: + struct acpi_namespace_node *gpe_device;
1: + struct acpi_gpe_block_info *gpe_block;
1: + u16 count;
1: + acpi_owner_id owner_id;
1: + u8 execute_by_owner_id;
1: +};
1: +
1: +struct acpi_gpe_device_info {
1: + u32 index;
1: + u32 next_block_base_index;
1: + acpi_status status;
1: + struct acpi_namespace_node *gpe_device;
1: +};
1: +
1: +typedef acpi_status (*acpi_gpe_callback)(struct acpi_gpe_xrupt_info *, struct acpi_gpe_block_info *, void *);
1: +
1: +struct acpi_connection_info {
1: + u8 *connection;
1: + u16 length;
1: + u8 access_length;
1: +};
1: +
1: +struct acpi_reg_walk_info {
1: + u32 function;
1: + u32 reg_run_count;
1: + acpi_adr_space_type space_id;
1: +};
1: +
1: +typedef u32 (*acpi_sci_handler)(void *);
1: +
1: +struct acpi_sci_handler_info {
1: + struct acpi_sci_handler_info *next;
1: + acpi_sci_handler address;
1: + void *context;
1: +};
1: +
1: +enum {
1: + AML_FIELD_UPDATE_PRESERVE = 0,
1: + AML_FIELD_UPDATE_WRITE_AS_ONES = 32,
1: + AML_FIELD_UPDATE_WRITE_AS_ZEROS = 64,
1: +};
1: +
1: +struct acpi_signal_fatal_info {
1: + u32 type;
1: + u32 code;
1: + u32 argument;
1: +};
1: +
1: +enum {
1: + MATCH_MTR = 0,
1: + MATCH_MEQ = 1,
1: + MATCH_MLE = 2,
1: + MATCH_MLT = 3,
1: + MATCH_MGE = 4,
1: + MATCH_MGT = 5,
1: +};
1: +
1: +enum {
1: + AML_FIELD_ATTRIB_QUICK = 2,
1: + AML_FIELD_ATTRIB_SEND_RECEIVE = 4,
1: + AML_FIELD_ATTRIB_BYTE = 6,
1: + AML_FIELD_ATTRIB_WORD = 8,
1: + AML_FIELD_ATTRIB_BLOCK = 10,
1: + AML_FIELD_ATTRIB_BYTES = 11,
1: + AML_FIELD_ATTRIB_PROCESS_CALL = 12,
1: + AML_FIELD_ATTRIB_BLOCK_PROCESS_CALL = 13,
1: + AML_FIELD_ATTRIB_RAW_BYTES = 14,
1: + AML_FIELD_ATTRIB_RAW_PROCESS_BYTES = 15,
1: +};
1: +
1: +typedef enum {
1: + ACPI_TRACE_AML_METHOD = 0,
1: + ACPI_TRACE_AML_OPCODE = 1,
1: + ACPI_TRACE_AML_REGION = 2,
1: +} acpi_trace_event_type;
1: +
1: +struct acpi_bit_register_info {
1: + u8 parent_register;
1: + u8 bit_position;
1: + u16 access_bit_mask;
1: +};
1: +
1: +struct acpi_port_info {
1: + char *name;
1: + u16 start;
1: + u16 end;
1: + u8 osi_dependency;
1: +};
1: +
1: +struct acpi_pci_device {
1: + acpi_handle device;
1: + struct acpi_pci_device *next;
1: +};
1: +
1: +typedef acpi_status (*acpi_init_handler)(acpi_handle, u32);
1: +
1: +struct acpi_device_walk_info {
1: + struct acpi_table_desc *table_desc;
1: + struct acpi_evaluate_info *evaluate_info;
1: + u32 device_count;
1: + u32 num_STA;
1: + u32 num_INI;
1: +};
1: +
1: +typedef acpi_status (*acpi_pkg_callback)(u8, union acpi_operand_object *, union acpi_generic_state *, void *);
1: +
1: +struct acpi_table_list {
1: + struct acpi_table_desc *tables;
1: + u32 current_table_count;
1: + u32 max_table_count;
1: + u8 flags;
1: +};
1: +
1: +enum acpi_return_package_types {
1: + ACPI_PTYPE1_FIXED = 1,
1: + ACPI_PTYPE1_VAR = 2,
1: + ACPI_PTYPE1_OPTION = 3,
1: + ACPI_PTYPE2 = 4,
1: + ACPI_PTYPE2_COUNT = 5,
1: + ACPI_PTYPE2_PKG_COUNT = 6,
1: + ACPI_PTYPE2_FIXED = 7,
1: + ACPI_PTYPE2_MIN = 8,
1: + ACPI_PTYPE2_REV_FIXED = 9,
1: + ACPI_PTYPE2_FIX_VAR = 10,
1: + ACPI_PTYPE2_VAR_VAR = 11,
1: + ACPI_PTYPE2_UUID_PAIR = 12,
1: + ACPI_PTYPE_CUSTOM = 13,
1: +};
1: +
1: +typedef acpi_status (*acpi_object_converter)(struct acpi_namespace_node *, union acpi_operand_object *, union acpi_operand_object **);
1: +
1: +struct acpi_simple_repair_info {
1: + char name[4];
1: + u32 unexpected_btypes;
1: + u32 package_index;
1: + acpi_object_converter object_converter;
1: +};
1: +
1: +typedef acpi_status (*acpi_repair_function)(struct acpi_evaluate_info *, union acpi_operand_object **);
1: +
1: +struct acpi_repair_info {
1: + char name[4];
1: + acpi_repair_function repair_function;
1: +};
1: +
1: +struct acpi_namestring_info {
1: + const char *external_name;
1: + const char *next_external_char;
1: + char *internal_name;
1: + u32 length;
1: + u32 num_segments;
1: + u32 num_carats;
1: + u8 fully_qualified;
1: +};
1: +
1: +struct acpi_rw_lock {
1: + void *writer_mutex;
1: + void *reader_mutex;
1: + u32 num_readers;
1: +};
1: +
1: +struct acpi_get_devices_info {
1: + acpi_walk_callback user_function;
1: + void *context;
1: + const char *hid;
1: +};
1: +
1: +struct aml_resource_small_header {
1: + u8 descriptor_type;
1: +};
1: +
1: +struct aml_resource_irq {
1: + u8 descriptor_type;
1: + u16 irq_mask;
1: + u8 flags;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_dma {
1: + u8 descriptor_type;
1: + u8 dma_channel_mask;
1: + u8 flags;
1: +};
1: +
1: +struct aml_resource_start_dependent {
1: + u8 descriptor_type;
1: + u8 flags;
1: +};
1: +
1: +struct aml_resource_end_dependent {
1: + u8 descriptor_type;
1: +};
1: +
1: +struct aml_resource_io {
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 minimum;
1: + u16 maximum;
1: + u8 alignment;
1: + u8 address_length;
1: +};
1: +
1: +struct aml_resource_fixed_io {
1: + u8 descriptor_type;
1: + u16 address;
1: + u8 address_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_vendor_small {
1: + u8 descriptor_type;
1: +};
1: +
1: +struct aml_resource_end_tag {
1: + u8 descriptor_type;
1: + u8 checksum;
1: +};
1: +
1: +struct aml_resource_fixed_dma {
1: + u8 descriptor_type;
1: + u16 request_lines;
1: + u16 channels;
1: + u8 width;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_large_header {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_memory24 {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 flags;
1: + u16 minimum;
1: + u16 maximum;
1: + u16 alignment;
1: + u16 address_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_vendor_large {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_memory32 {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 flags;
1: + u32 minimum;
1: + u32 maximum;
1: + u32 alignment;
1: + u32 address_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_fixed_memory32 {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 flags;
1: + u32 address;
1: + u32 address_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_address {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_extended_address64 {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: + u8 revision_ID;
1: + u8 reserved;
1: + u64 granularity;
1: + u64 minimum;
1: + u64 maximum;
1: + u64 translation_offset;
1: + u64 address_length;
1: + u64 type_specific;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_address64 {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: + u64 granularity;
1: + u64 minimum;
1: + u64 maximum;
1: + u64 translation_offset;
1: + u64 address_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_address32 {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: + u32 granularity;
1: + u32 minimum;
1: + u32 maximum;
1: + u32 translation_offset;
1: + u32 address_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_address16 {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: + u16 granularity;
1: + u16 minimum;
1: + u16 maximum;
1: + u16 translation_offset;
1: + u16 address_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_extended_irq {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 flags;
1: + u8 interrupt_count;
1: + u32 interrupts[1];
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_generic_register {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 address_space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_size;
1: + u64 address;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_gpio {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 connection_type;
1: + u16 flags;
1: + u16 int_flags;
1: + u8 pin_config;
1: + u16 drive_strength;
1: + u16 debounce_timeout;
1: + u16 pin_table_offset;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_common_serialbus {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 res_source_index;
1: + u8 type;
1: + u8 flags;
1: + u16 type_specific_flags;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_i2c_serialbus {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 res_source_index;
1: + u8 type;
1: + u8 flags;
1: + u16 type_specific_flags;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u32 connection_speed;
1: + u16 slave_address;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_spi_serialbus {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 res_source_index;
1: + u8 type;
1: + u8 flags;
1: + u16 type_specific_flags;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u32 connection_speed;
1: + u8 data_bit_length;
1: + u8 clock_phase;
1: + u8 clock_polarity;
1: + u16 device_selection;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_uart_serialbus {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 res_source_index;
1: + u8 type;
1: + u8 flags;
1: + u16 type_specific_flags;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u32 default_baud_rate;
1: + u16 rx_fifo_size;
1: + u16 tx_fifo_size;
1: + u8 parity;
1: + u8 lines_enabled;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_pin_function {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u8 pin_config;
1: + u16 function_number;
1: + u16 pin_table_offset;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_pin_config {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u8 pin_config_type;
1: + u32 pin_config_value;
1: + u16 pin_table_offset;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_pin_group {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u16 pin_table_offset;
1: + u16 label_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_pin_group_function {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u16 function_number;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 res_source_label_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: +} __attribute__((packed));
1: +
1: +struct aml_resource_pin_group_config {
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u8 pin_config_type;
1: + u32 pin_config_value;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 res_source_label_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: +} __attribute__((packed));
1: +
1: +union aml_resource {
1: + u8 descriptor_type;
1: + struct aml_resource_small_header small_header;
1: + struct aml_resource_large_header large_header;
1: + struct aml_resource_irq irq;
1: + struct aml_resource_dma dma;
1: + struct aml_resource_start_dependent start_dpf;
1: + struct aml_resource_end_dependent end_dpf;
1: + struct aml_resource_io io;
1: + struct aml_resource_fixed_io fixed_io;
1: + struct aml_resource_fixed_dma fixed_dma;
1: + struct aml_resource_vendor_small vendor_small;
1: + struct aml_resource_end_tag end_tag;
1: + struct aml_resource_memory24 memory24;
1: + struct aml_resource_generic_register generic_reg;
1: + struct aml_resource_vendor_large vendor_large;
1: + struct aml_resource_memory32 memory32;
1: + struct aml_resource_fixed_memory32 fixed_memory32;
1: + struct aml_resource_address16 address16;
1: + struct aml_resource_address32 address32;
1: + struct aml_resource_address64 address64;
1: + struct aml_resource_extended_address64 ext_address64;
1: + struct aml_resource_extended_irq extended_irq;
1: + struct aml_resource_gpio gpio;
1: + struct aml_resource_i2c_serialbus i2c_serial_bus;
1: + struct aml_resource_spi_serialbus spi_serial_bus;
1: + struct aml_resource_uart_serialbus uart_serial_bus;
1: + struct aml_resource_common_serialbus common_serial_bus;
1: + struct aml_resource_pin_function pin_function;
1: + struct aml_resource_pin_config pin_config;
1: + struct aml_resource_pin_group pin_group;
1: + struct aml_resource_pin_group_function pin_group_function;
1: + struct aml_resource_pin_group_config pin_group_config;
1: + struct aml_resource_address address;
1: + u32 dword_item;
1: + u16 word_item;
1: + u8 byte_item;
1: +};
1: +
1: +struct acpi_rsconvert_info {
1: + u8 opcode;
1: + u8 resource_offset;
1: + u8 aml_offset;
1: + u8 value;
1: +};
1: +
1: +enum {
1: + ACPI_RSC_INITGET = 0,
1: + ACPI_RSC_INITSET = 1,
1: + ACPI_RSC_FLAGINIT = 2,
1: + ACPI_RSC_1BITFLAG = 3,
1: + ACPI_RSC_2BITFLAG = 4,
1: + ACPI_RSC_3BITFLAG = 5,
1: + ACPI_RSC_ADDRESS = 6,
1: + ACPI_RSC_BITMASK = 7,
1: + ACPI_RSC_BITMASK16 = 8,
1: + ACPI_RSC_COUNT = 9,
1: + ACPI_RSC_COUNT16 = 10,
1: + ACPI_RSC_COUNT_GPIO_PIN = 11,
1: + ACPI_RSC_COUNT_GPIO_RES = 12,
1: + ACPI_RSC_COUNT_GPIO_VEN = 13,
1: + ACPI_RSC_COUNT_SERIAL_RES = 14,
1: + ACPI_RSC_COUNT_SERIAL_VEN = 15,
1: + ACPI_RSC_DATA8 = 16,
1: + ACPI_RSC_EXIT_EQ = 17,
1: + ACPI_RSC_EXIT_LE = 18,
1: + ACPI_RSC_EXIT_NE = 19,
1: + ACPI_RSC_LENGTH = 20,
1: + ACPI_RSC_MOVE_GPIO_PIN = 21,
1: + ACPI_RSC_MOVE_GPIO_RES = 22,
1: + ACPI_RSC_MOVE_SERIAL_RES = 23,
1: + ACPI_RSC_MOVE_SERIAL_VEN = 24,
1: + ACPI_RSC_MOVE8 = 25,
1: + ACPI_RSC_MOVE16 = 26,
1: + ACPI_RSC_MOVE32 = 27,
1: + ACPI_RSC_MOVE64 = 28,
1: + ACPI_RSC_SET8 = 29,
1: + ACPI_RSC_SOURCE = 30,
1: + ACPI_RSC_SOURCEX = 31,
1: +};
1: +
1: +typedef u16 acpi_rs_length;
1: +
1: +typedef acpi_status (*acpi_walk_aml_callback)(u8 *, u32, u32, u8, void **);
1: +
1: +typedef u32 acpi_rsdesc_size;
1: +
1: +struct acpi_vendor_uuid {
1: + u8 subtype;
1: + u8 data[16];
1: +};
1: +
1: +struct acpi_vendor_walk_info {
1: + struct acpi_vendor_uuid *uuid;
1: + struct acpi_buffer *buffer;
1: + acpi_status status;
1: +};
1: +
1: +struct acpi_fadt_info {
1: + const char *name;
1: + u16 address64;
1: + u16 address32;
1: + u16 length;
1: + u8 default_length;
1: + u8 flags;
1: +};
1: +
1: +struct acpi_fadt_pm_info {
1: + struct acpi_generic_address *target;
1: + u16 source;
1: + u8 register_num;
1: +};
1: +
1: +struct acpi_table_rsdp {
1: + char signature[8];
1: + u8 checksum;
1: + char oem_id[6];
1: + u8 revision;
1: + u32 rsdt_physical_address;
1: + u32 length;
1: + u64 xsdt_physical_address;
1: + u8 extended_checksum;
1: + u8 reserved[3];
1: +} __attribute__((packed));
1: +
1: +struct acpi_address_range {
1: + struct acpi_address_range *next;
1: + struct acpi_namespace_node *region_node;
1: + acpi_physical_address start_address;
1: + acpi_physical_address end_address;
1: +};
1: +
1: +struct acpi_pkg_info {
1: + u8 *free_space;
1: + acpi_size length;
1: + u32 object_space;
1: + u32 num_packages;
1: +};
1: +
1: +struct acpi_exception_info {
1: + char *name;
1: +};
1: +
1: +struct acpi_mutex_info {
1: + void *mutex;
1: + u32 use_count;
1: + u64 thread_id;
1: +};
1: +
1: +struct acpi_comment_node {
1: + char *comment;
1: + struct acpi_comment_node *next;
1: +};
1: +
1: +struct acpi_interface_info {
1: + char *name;
1: + struct acpi_interface_info *next;
1: + u8 flags;
1: + u8 value;
1: +};
1: +
1: +enum led_brightness {
1: + LED_OFF = 0,
1: + LED_ON = 1,
1: + LED_HALF = 127,
1: + LED_FULL = 255,
1: +};
1: +
1: +struct led_pattern;
1: +
1: +struct led_trigger;
1: +
1: +struct led_classdev {
1: + const char *name;
1: + enum led_brightness brightness;
1: + enum led_brightness max_brightness;
1: + int flags;
1: + long unsigned int work_flags;
1: + void (*brightness_set)(struct led_classdev *, enum led_brightness);
1: + int (*brightness_set_blocking)(struct led_classdev *, enum led_brightness);
1: + enum led_brightness (*brightness_get)(struct led_classdev *);
1: + int (*blink_set)(struct led_classdev *, long unsigned int *, long unsigned int *);
1: + int (*pattern_set)(struct led_classdev *, struct led_pattern *, u32, int);
1: + int (*pattern_clear)(struct led_classdev *);
1: + struct device *dev;
1: + const struct attribute_group **groups;
1: + struct list_head node;
1: + const char *default_trigger;
1: + long unsigned int blink_delay_on;
1: + long unsigned int blink_delay_off;
1: + struct timer_list blink_timer;
1: + int blink_brightness;
1: + int new_blink_brightness;
1: + void (*flash_resume)(struct led_classdev *);
1: + struct work_struct set_brightness_work;
1: + int delayed_set_value;
1: + struct rw_semaphore trigger_lock;
1: + struct led_trigger *trigger;
1: + struct list_head trig_list;
1: + void *trigger_data;
1: + bool activated;
1: + struct mutex led_access;
1: +};
1: +
1: +struct led_pattern {
1: + u32 delta_t;
1: + int brightness;
1: +};
1: +
1: +struct led_trigger {
1: + const char *name;
1: + int (*activate)(struct led_classdev *);
1: + void (*deactivate)(struct led_classdev *);
1: + rwlock_t leddev_list_lock;
1: + struct list_head led_cdevs;
1: + struct list_head next_trig;
1: + const struct attribute_group **groups;
1: +};
1: +
1: +enum power_supply_property {
1: + POWER_SUPPLY_PROP_STATUS = 0,
1: + POWER_SUPPLY_PROP_CHARGE_TYPE = 1,
1: + POWER_SUPPLY_PROP_HEALTH = 2,
1: + POWER_SUPPLY_PROP_PRESENT = 3,
1: + POWER_SUPPLY_PROP_ONLINE = 4,
1: + POWER_SUPPLY_PROP_AUTHENTIC = 5,
1: + POWER_SUPPLY_PROP_TECHNOLOGY = 6,
1: + POWER_SUPPLY_PROP_CYCLE_COUNT = 7,
1: + POWER_SUPPLY_PROP_VOLTAGE_MAX = 8,
1: + POWER_SUPPLY_PROP_VOLTAGE_MIN = 9,
1: + POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN = 10,
1: + POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN = 11,
1: + POWER_SUPPLY_PROP_VOLTAGE_NOW = 12,
1: + POWER_SUPPLY_PROP_VOLTAGE_AVG = 13,
1: + POWER_SUPPLY_PROP_VOLTAGE_OCV = 14,
1: + POWER_SUPPLY_PROP_VOLTAGE_BOOT = 15,
1: + POWER_SUPPLY_PROP_CURRENT_MAX = 16,
1: + POWER_SUPPLY_PROP_CURRENT_NOW = 17,
1: + POWER_SUPPLY_PROP_CURRENT_AVG = 18,
1: + POWER_SUPPLY_PROP_CURRENT_BOOT = 19,
1: + POWER_SUPPLY_PROP_POWER_NOW = 20,
1: + POWER_SUPPLY_PROP_POWER_AVG = 21,
1: + POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN = 22,
1: + POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN = 23,
1: + POWER_SUPPLY_PROP_CHARGE_FULL = 24,
1: + POWER_SUPPLY_PROP_CHARGE_EMPTY = 25,
1: + POWER_SUPPLY_PROP_CHARGE_NOW = 26,
1: + POWER_SUPPLY_PROP_CHARGE_AVG = 27,
1: + POWER_SUPPLY_PROP_CHARGE_COUNTER = 28,
1: + POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT = 29,
1: + POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX = 30,
1: + POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE = 31,
1: + POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX = 32,
1: + POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT = 33,
1: + POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX = 34,
1: + POWER_SUPPLY_PROP_CHARGE_CONTROL_START_THRESHOLD = 35,
1: + POWER_SUPPLY_PROP_CHARGE_CONTROL_END_THRESHOLD = 36,
1: + POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT = 37,
1: + POWER_SUPPLY_PROP_INPUT_VOLTAGE_LIMIT = 38,
1: + POWER_SUPPLY_PROP_INPUT_POWER_LIMIT = 39,
1: + POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN = 40,
1: + POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN = 41,
1: + POWER_SUPPLY_PROP_ENERGY_FULL = 42,
1: + POWER_SUPPLY_PROP_ENERGY_EMPTY = 43,
1: + POWER_SUPPLY_PROP_ENERGY_NOW = 44,
1: + POWER_SUPPLY_PROP_ENERGY_AVG = 45,
1: + POWER_SUPPLY_PROP_CAPACITY = 46,
1: + POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN = 47,
1: + POWER_SUPPLY_PROP_CAPACITY_ALERT_MAX = 48,
1: + POWER_SUPPLY_PROP_CAPACITY_LEVEL = 49,
1: + POWER_SUPPLY_PROP_TEMP = 50,
1: + POWER_SUPPLY_PROP_TEMP_MAX = 51,
1: + POWER_SUPPLY_PROP_TEMP_MIN = 52,
1: + POWER_SUPPLY_PROP_TEMP_ALERT_MIN = 53,
1: + POWER_SUPPLY_PROP_TEMP_ALERT_MAX = 54,
1: + POWER_SUPPLY_PROP_TEMP_AMBIENT = 55,
1: + POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MIN = 56,
1: + POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MAX = 57,
1: + POWER_SUPPLY_PROP_TIME_TO_EMPTY_NOW = 58,
1: + POWER_SUPPLY_PROP_TIME_TO_EMPTY_AVG = 59,
1: + POWER_SUPPLY_PROP_TIME_TO_FULL_NOW = 60,
1: + POWER_SUPPLY_PROP_TIME_TO_FULL_AVG = 61,
1: + POWER_SUPPLY_PROP_TYPE = 62,
1: + POWER_SUPPLY_PROP_USB_TYPE = 63,
1: + POWER_SUPPLY_PROP_SCOPE = 64,
1: + POWER_SUPPLY_PROP_PRECHARGE_CURRENT = 65,
1: + POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT = 66,
1: + POWER_SUPPLY_PROP_CALIBRATE = 67,
1: + POWER_SUPPLY_PROP_MODEL_NAME = 68,
1: + POWER_SUPPLY_PROP_MANUFACTURER = 69,
1: + POWER_SUPPLY_PROP_SERIAL_NUMBER = 70,
1: +};
1: +
1: +enum power_supply_type {
1: + POWER_SUPPLY_TYPE_UNKNOWN = 0,
1: + POWER_SUPPLY_TYPE_BATTERY = 1,
1: + POWER_SUPPLY_TYPE_UPS = 2,
1: + POWER_SUPPLY_TYPE_MAINS = 3,
1: + POWER_SUPPLY_TYPE_USB = 4,
1: + POWER_SUPPLY_TYPE_USB_DCP = 5,
1: + POWER_SUPPLY_TYPE_USB_CDP = 6,
1: + POWER_SUPPLY_TYPE_USB_ACA = 7,
1: + POWER_SUPPLY_TYPE_USB_TYPE_C = 8,
1: + POWER_SUPPLY_TYPE_USB_PD = 9,
1: + POWER_SUPPLY_TYPE_USB_PD_DRP = 10,
1: + POWER_SUPPLY_TYPE_APPLE_BRICK_ID = 11,
1: +};
1: +
1: +enum power_supply_usb_type {
1: + POWER_SUPPLY_USB_TYPE_UNKNOWN = 0,
1: + POWER_SUPPLY_USB_TYPE_SDP = 1,
1: + POWER_SUPPLY_USB_TYPE_DCP = 2,
1: + POWER_SUPPLY_USB_TYPE_CDP = 3,
1: + POWER_SUPPLY_USB_TYPE_ACA = 4,
1: + POWER_SUPPLY_USB_TYPE_C = 5,
1: + POWER_SUPPLY_USB_TYPE_PD = 6,
1: + POWER_SUPPLY_USB_TYPE_PD_DRP = 7,
1: + POWER_SUPPLY_USB_TYPE_PD_PPS = 8,
1: + POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID = 9,
1: +};
1: +
1: +union power_supply_propval {
1: + int intval;
1: + const char *strval;
1: +};
1: +
1: +struct power_supply_config {
1: + struct device_node *of_node;
1: + struct fwnode_handle *fwnode;
1: + void *drv_data;
1: + const struct attribute_group **attr_grp;
1: + char **supplied_to;
1: + size_t num_supplicants;
1: +};
1: +
1: +struct power_supply;
1: +
1: +struct power_supply_desc {
1: + const char *name;
1: + enum power_supply_type type;
1: + enum power_supply_usb_type *usb_types;
1: + size_t num_usb_types;
1: + enum power_supply_property *properties;
1: + size_t num_properties;
1: + int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
1: + int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
1: + int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
1: + void (*external_power_changed)(struct power_supply *);
1: + void (*set_charged)(struct power_supply *);
1: + bool no_thermal;
1: + int use_for_apm;
1: +};
1: +
1: +struct power_supply {
1: + const struct power_supply_desc *desc;
1: + char **supplied_to;
1: + size_t num_supplicants;
1: + char **supplied_from;
1: + size_t num_supplies;
1: + struct device_node *of_node;
1: + void *drv_data;
1: + struct device dev;
1: + struct work_struct changed_work;
1: + struct delayed_work deferred_register_work;
1: + spinlock_t changed_lock;
1: + bool changed;
1: + bool initialized;
1: + bool removing;
1: + atomic_t use_cnt;
1: + struct thermal_zone_device *tzd;
1: + struct thermal_cooling_device *tcd;
1: + struct led_trigger *charging_full_trig;
1: + char *charging_full_trig_name;
1: + struct led_trigger *charging_trig;
1: + char *charging_trig_name;
1: + struct led_trigger *full_trig;
1: + char *full_trig_name;
1: + struct led_trigger *online_trig;
1: + char *online_trig_name;
1: + struct led_trigger *charging_blink_full_solid_trig;
1: + char *charging_blink_full_solid_trig_name;
1: +};
1: +
1: +struct acpi_ac_bl {
1: + const char *hid;
1: + int hrv;
1: +};
1: +
1: +struct acpi_ac {
1: + struct power_supply *charger;
1: + struct power_supply_desc charger_desc;
1: + struct acpi_device *device;
1: + long long unsigned int state;
1: + struct notifier_block battery_nb;
1: +};
1: +
1: +struct input_id {
1: + __u16 bustype;
1: + __u16 vendor;
1: + __u16 product;
1: + __u16 version;
1: +};
1: +
1: +struct input_absinfo {
1: + __s32 value;
1: + __s32 minimum;
1: + __s32 maximum;
1: + __s32 fuzz;
1: + __s32 flat;
1: + __s32 resolution;
1: +};
1: +
1: +struct input_keymap_entry {
1: + __u8 flags;
1: + __u8 len;
1: + __u16 index;
1: + __u32 keycode;
1: + __u8 scancode[32];
1: +};
1: +
1: +struct ff_replay {
1: + __u16 length;
1: + __u16 delay;
1: +};
1: +
1: +struct ff_trigger {
1: + __u16 button;
1: + __u16 interval;
1: +};
1: +
1: +struct ff_envelope {
1: + __u16 attack_length;
1: + __u16 attack_level;
1: + __u16 fade_length;
1: + __u16 fade_level;
1: +};
1: +
1: +struct ff_constant_effect {
1: + __s16 level;
1: + struct ff_envelope envelope;
1: +};
1: +
1: +struct ff_ramp_effect {
1: + __s16 start_level;
1: + __s16 end_level;
1: + struct ff_envelope envelope;
1: +};
1: +
1: +struct ff_condition_effect {
1: + __u16 right_saturation;
1: + __u16 left_saturation;
1: + __s16 right_coeff;
1: + __s16 left_coeff;
1: + __u16 deadband;
1: + __s16 center;
1: +};
1: +
1: +struct ff_periodic_effect {
1: + __u16 waveform;
1: + __u16 period;
1: + __s16 magnitude;
1: + __s16 offset;
1: + __u16 phase;
1: + struct ff_envelope envelope;
1: + __u32 custom_len;
1: + __s16 *custom_data;
1: +};
1: +
1: +struct ff_rumble_effect {
1: + __u16 strong_magnitude;
1: + __u16 weak_magnitude;
1: +};
1: +
1: +struct ff_effect {
1: + __u16 type;
1: + __s16 id;
1: + __u16 direction;
1: + struct ff_trigger trigger;
1: + struct ff_replay replay;
1: + union {
1: + struct ff_constant_effect constant;
1: + struct ff_ramp_effect ramp;
1: + struct ff_periodic_effect periodic;
1: + struct ff_condition_effect condition[2];
1: + struct ff_rumble_effect rumble;
1: + } u;
1: +};
1: +
1: +struct input_device_id {
1: + kernel_ulong_t flags;
1: + __u16 bustype;
1: + __u16 vendor;
1: + __u16 product;
1: + __u16 version;
1: + kernel_ulong_t evbit[1];
1: + kernel_ulong_t keybit[12];
1: + kernel_ulong_t relbit[1];
1: + kernel_ulong_t absbit[1];
1: + kernel_ulong_t mscbit[1];
1: + kernel_ulong_t ledbit[1];
1: + kernel_ulong_t sndbit[1];
1: + kernel_ulong_t ffbit[2];
1: + kernel_ulong_t swbit[1];
1: + kernel_ulong_t propbit[1];
1: + kernel_ulong_t driver_info;
1: +};
1: +
1: +struct input_value {
1: + __u16 type;
1: + __u16 code;
1: + __s32 value;
1: +};
1: +
1: +enum input_clock_type {
1: + INPUT_CLK_REAL = 0,
1: + INPUT_CLK_MONO = 1,
1: + INPUT_CLK_BOOT = 2,
1: + INPUT_CLK_MAX = 3,
1: +};
1: +
1: +struct ff_device;
1: +
1: +struct input_dev_poller;
1: +
1: +struct input_mt;
1: +
1: +struct input_handle;
1: +
1: +struct input_dev {
1: + const char *name;
1: + const char *phys;
1: + const char *uniq;
1: + struct input_id id;
1: + long unsigned int propbit[1];
1: + long unsigned int evbit[1];
1: + long unsigned int keybit[12];
1: + long unsigned int relbit[1];
1: + long unsigned int absbit[1];
1: + long unsigned int mscbit[1];
1: + long unsigned int ledbit[1];
1: + long unsigned int sndbit[1];
1: + long unsigned int ffbit[2];
1: + long unsigned int swbit[1];
1: + unsigned int hint_events_per_packet;
1: + unsigned int keycodemax;
1: + unsigned int keycodesize;
1: + void *keycode;
1: + int (*setkeycode)(struct input_dev *, const struct input_keymap_entry *, unsigned int *);
1: + int (*getkeycode)(struct input_dev *, struct input_keymap_entry *);
1: + struct ff_device *ff;
1: + struct input_dev_poller *poller;
1: + unsigned int repeat_key;
1: + struct timer_list timer;
1: + int rep[2];
1: + struct input_mt *mt;
1: + struct input_absinfo *absinfo;
1: + long unsigned int key[12];
1: + long unsigned int led[1];
1: + long unsigned int snd[1];
1: + long unsigned int sw[1];
1: + int (*open)(struct input_dev *);
1: + void (*close)(struct input_dev *);
1: + int (*flush)(struct input_dev *, struct file *);
1: + int (*event)(struct input_dev *, unsigned int, unsigned int, int);
1: + struct input_handle *grab;
1: + spinlock_t event_lock;
1: + struct mutex mutex;
1: + unsigned int users;
1: + bool going_away;
1: + struct device dev;
1: + struct list_head h_list;
1: + struct list_head node;
1: + unsigned int num_vals;
1: + unsigned int max_vals;
1: + struct input_value *vals;
1: + bool devres_managed;
1: + ktime_t timestamp[3];
1: +};
1: +
1: +struct ff_device {
1: + int (*upload)(struct input_dev *, struct ff_effect *, struct ff_effect *);
1: + int (*erase)(struct input_dev *, int);
1: + int (*playback)(struct input_dev *, int, int);
1: + void (*set_gain)(struct input_dev *, u16);
1: + void (*set_autocenter)(struct input_dev *, u16);
1: + void (*destroy)(struct ff_device *);
1: + void *private;
1: + long unsigned int ffbit[2];
1: + struct mutex mutex;
1: + int max_effects;
1: + struct ff_effect *effects;
1: + struct file *effect_owners[0];
1: +};
1: +
1: +struct input_handler;
1: +
1: +struct input_handle {
1: + void *private;
1: + int open;
1: + const char *name;
1: + struct input_dev *dev;
1: + struct input_handler *handler;
1: + struct list_head d_node;
1: + struct list_head h_node;
1: +};
1: +
1: +struct input_handler {
1: + void *private;
1: + void (*event)(struct input_handle *, unsigned int, unsigned int, int);
1: + void (*events)(struct input_handle *, const struct input_value *, unsigned int);
1: + bool (*filter)(struct input_handle *, unsigned int, unsigned int, int);
1: + bool (*match)(struct input_handler *, struct input_dev *);
1: + int (*connect)(struct input_handler *, struct input_dev *, const struct input_device_id *);
1: + void (*disconnect)(struct input_handle *);
1: + void (*start)(struct input_handle *);
1: + bool legacy_minors;
1: + int minor;
1: + const char *name;
1: + const struct input_device_id *id_table;
1: + struct list_head h_list;
1: + struct list_head node;
1: +};
1: +
1: +enum {
1: + ACPI_BUTTON_LID_INIT_IGNORE = 0,
1: + ACPI_BUTTON_LID_INIT_OPEN = 1,
1: + ACPI_BUTTON_LID_INIT_METHOD = 2,
1: + ACPI_BUTTON_LID_INIT_DISABLED = 3,
1: +};
1: +
1: +struct acpi_button {
1: + unsigned int type;
1: + struct input_dev *input;
1: + char phys[32];
1: + long unsigned int pushed;
1: + int last_state;
1: + ktime_t last_time;
1: + bool suspended;
1: +};
1: +
1: +struct acpi_fan_fps {
1: + u64 control;
1: + u64 trip_point;
1: + u64 speed;
1: + u64 noise_level;
1: + u64 power;
1: +};
1: +
1: +struct acpi_fan_fif {
1: + u64 revision;
1: + u64 fine_grain_ctrl;
1: + u64 step_size;
1: + u64 low_speed_notification;
1: +};
1: +
1: +struct acpi_fan {
1: + bool acpi4;
1: + struct acpi_fan_fif fif;
1: + struct acpi_fan_fps *fps;
1: + int fps_count;
1: + struct thermal_cooling_device *cdev;
1: +};
1: +
1: +struct acpi_video_brightness_flags {
1: + u8 _BCL_no_ac_battery_levels: 1;
1: + u8 _BCL_reversed: 1;
1: + u8 _BQC_use_index: 1;
1: +};
1: +
1: +struct acpi_video_device_brightness {
1: + int curr;
1: + int count;
1: + int *levels;
1: + struct acpi_video_brightness_flags flags;
1: +};
1: +
1: +enum acpi_backlight_type {
1: + acpi_backlight_undef = -1,
1: + acpi_backlight_none = 0,
1: + acpi_backlight_video = 1,
1: + acpi_backlight_vendor = 2,
1: + acpi_backlight_native = 3,
1: +};
1: +
1: +enum acpi_video_level_idx {
1: + ACPI_VIDEO_AC_LEVEL = 0,
1: + ACPI_VIDEO_BATTERY_LEVEL = 1,
1: + ACPI_VIDEO_FIRST_LEVEL = 2,
1: +};
1: +
1: +struct acpi_video_bus_flags {
1: + u8 multihead: 1;
1: + u8 rom: 1;
1: + u8 post: 1;
1: + u8 reserved: 5;
1: +};
1: +
1: +struct acpi_video_bus_cap {
1: + u8 _DOS: 1;
1: + u8 _DOD: 1;
1: + u8 _ROM: 1;
1: + u8 _GPD: 1;
1: + u8 _SPD: 1;
1: + u8 _VPO: 1;
1: + u8 reserved: 2;
1: +};
1: +
1: +struct acpi_video_device_attrib {
1: + u32 display_index: 4;
1: + u32 display_port_attachment: 4;
1: + u32 display_type: 4;
1: + u32 vendor_specific: 4;
1: + u32 bios_can_detect: 1;
1: + u32 depend_on_vga: 1;
1: + u32 pipe_id: 3;
1: + u32 reserved: 10;
1: + u32 device_id_scheme: 1;
1: +};
1: +
1: +struct acpi_video_device;
1: +
1: +struct acpi_video_enumerated_device {
1: + union {
1: + u32 int_val;
1: + struct acpi_video_device_attrib attrib;
1: + } value;
1: + struct acpi_video_device *bind_info;
1: +};
1: +
1: +struct acpi_video_device_flags {
1: + u8 crt: 1;
1: + u8 lcd: 1;
1: + u8 tvout: 1;
1: + u8 dvi: 1;
1: + u8 bios: 1;
1: + u8 unknown: 1;
1: + u8 notify: 1;
1: + u8 reserved: 1;
1: +};
1: +
1: +struct acpi_video_device_cap {
1: + u8 _ADR: 1;
1: + u8 _BCL: 1;
1: + u8 _BCM: 1;
1: + u8 _BQC: 1;
1: + u8 _BCQ: 1;
1: + u8 _DDC: 1;
1: +};
1: +
1: +struct acpi_video_bus;
1: +
1: +struct acpi_video_device {
1: + long unsigned int device_id;
1: + struct acpi_video_device_flags flags;
1: + struct acpi_video_device_cap cap;
1: + struct list_head entry;
1: + struct delayed_work switch_brightness_work;
1: + int switch_brightness_event;
1: + struct acpi_video_bus *video;
1: + struct acpi_device *dev;
1: + struct acpi_video_device_brightness *brightness;
1: + struct backlight_device *backlight;
1: + struct thermal_cooling_device *cooling_dev;
1: +};
1: +
1: +struct acpi_video_bus {
1: + struct acpi_device *device;
1: + bool backlight_registered;
1: + u8 dos_setting;
1: + struct acpi_video_enumerated_device *attached_array;
1: + u8 attached_count;
1: + u8 child_count;
1: + struct acpi_video_bus_cap cap;
1: + struct acpi_video_bus_flags flags;
1: + struct list_head video_device_list;
1: + struct mutex device_list_lock;
1: + struct list_head entry;
1: + struct input_dev *input;
1: + char phys[32];
1: + struct notifier_block pm_nb;
1: +};
1: +
1: +struct acpi_lpi_states_array {
1: + unsigned int size;
1: + unsigned int composite_states_size;
1: + struct acpi_lpi_state *entries;
1: + struct acpi_lpi_state *composite_states[8];
1: +};
1: +
1: +struct throttling_tstate {
1: + unsigned int cpu;
1: + int target_state;
1: +};
1: +
1: +struct acpi_processor_throttling_arg {
1: + struct acpi_processor *pr;
1: + int target_state;
1: + bool force;
1: +};
1: +
1: +struct container_dev {
1: + struct device dev;
1: + int (*offline)(struct container_dev *);
1: +};
1: +
1: +struct acpi_thermal_state {
1: + u8 critical: 1;
1: + u8 hot: 1;
1: + u8 passive: 1;
1: + u8 active: 1;
1: + u8 reserved: 4;
1: + int active_index;
1: +};
1: +
1: +struct acpi_thermal_state_flags {
1: + u8 valid: 1;
1: + u8 enabled: 1;
1: + u8 reserved: 6;
1: +};
1: +
1: +struct acpi_thermal_critical {
1: + struct acpi_thermal_state_flags flags;
1: + long unsigned int temperature;
1: +};
1: +
1: +struct acpi_thermal_hot {
1: + struct acpi_thermal_state_flags flags;
1: + long unsigned int temperature;
1: +};
1: +
1: +struct acpi_thermal_passive {
1: + struct acpi_thermal_state_flags flags;
1: + long unsigned int temperature;
1: + long unsigned int tc1;
1: + long unsigned int tc2;
1: + long unsigned int tsp;
1: + struct acpi_handle_list devices;
1: +};
1: +
1: +struct acpi_thermal_active {
1: + struct acpi_thermal_state_flags flags;
1: + long unsigned int temperature;
1: + struct acpi_handle_list devices;
1: +};
1: +
1: +struct acpi_thermal_trips {
1: + struct acpi_thermal_critical critical;
1: + struct acpi_thermal_hot hot;
1: + struct acpi_thermal_passive passive;
1: + struct acpi_thermal_active active[10];
1: +};
1: +
1: +struct acpi_thermal_flags {
1: + u8 cooling_mode: 1;
1: + u8 devices: 1;
1: + u8 reserved: 6;
1: +};
1: +
1: +struct acpi_thermal {
1: + struct acpi_device *device;
1: + acpi_bus_id name;
1: + long unsigned int temperature;
1: + long unsigned int last_temperature;
1: + long unsigned int polling_frequency;
1: + volatile u8 zombie;
1: + struct acpi_thermal_flags flags;
1: + struct acpi_thermal_state state;
1: + struct acpi_thermal_trips trips;
1: + struct acpi_handle_list devices;
1: + struct thermal_zone_device *thermal_zone;
1: + int tz_enabled;
1: + int kelvin_offset;
1: + struct work_struct thermal_check_work;
1: +};
1: +
1: +struct acpi_table_slit {
1: + struct acpi_table_header header;
1: + u64 locality_count;
1: + u8 entry[1];
1: +} __attribute__((packed));
1: +
1: +struct acpi_table_srat {
1: + struct acpi_table_header header;
1: + u32 table_revision;
1: + u64 reserved;
1: +};
1: +
1: +enum acpi_srat_type {
1: + ACPI_SRAT_TYPE_CPU_AFFINITY = 0,
1: + ACPI_SRAT_TYPE_MEMORY_AFFINITY = 1,
1: + ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2,
1: + ACPI_SRAT_TYPE_GICC_AFFINITY = 3,
1: + ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4,
1: + ACPI_SRAT_TYPE_GENERIC_AFFINITY = 5,
1: + ACPI_SRAT_TYPE_RESERVED = 6,
1: +};
1: +
1: +struct acpi_srat_mem_affinity {
1: + struct acpi_subtable_header header;
1: + u32 proximity_domain;
1: + u16 reserved;
1: + u64 base_address;
1: + u64 length;
1: + u32 reserved1;
1: + u32 flags;
1: + u64 reserved2;
1: +} __attribute__((packed));
1: +
1: +struct acpi_srat_gicc_affinity {
1: + struct acpi_subtable_header header;
1: + u32 proximity_domain;
1: + u32 acpi_processor_uid;
1: + u32 flags;
1: + u32 clock_domain;
1: +} __attribute__((packed));
1: +
1: +struct acpi_pci_ioapic {
1: + acpi_handle root_handle;
1: + acpi_handle handle;
1: + u32 gsi_base;
1: + struct resource res;
1: + struct pci_dev *pdev;
1: + struct list_head list;
1: +};
1: +
1: +enum dmi_entry_type {
1: + DMI_ENTRY_BIOS = 0,
1: + DMI_ENTRY_SYSTEM = 1,
1: + DMI_ENTRY_BASEBOARD = 2,
1: + DMI_ENTRY_CHASSIS = 3,
1: + DMI_ENTRY_PROCESSOR = 4,
1: + DMI_ENTRY_MEM_CONTROLLER = 5,
1: + DMI_ENTRY_MEM_MODULE = 6,
1: + DMI_ENTRY_CACHE = 7,
1: + DMI_ENTRY_PORT_CONNECTOR = 8,
1: + DMI_ENTRY_SYSTEM_SLOT = 9,
1: + DMI_ENTRY_ONBOARD_DEVICE = 10,
1: + DMI_ENTRY_OEMSTRINGS = 11,
1: + DMI_ENTRY_SYSCONF = 12,
1: + DMI_ENTRY_BIOS_LANG = 13,
1: + DMI_ENTRY_GROUP_ASSOC = 14,
1: + DMI_ENTRY_SYSTEM_EVENT_LOG = 15,
1: + DMI_ENTRY_PHYS_MEM_ARRAY = 16,
1: + DMI_ENTRY_MEM_DEVICE = 17,
1: + DMI_ENTRY_32_MEM_ERROR = 18,
1: + DMI_ENTRY_MEM_ARRAY_MAPPED_ADDR = 19,
1: + DMI_ENTRY_MEM_DEV_MAPPED_ADDR = 20,
1: + DMI_ENTRY_BUILTIN_POINTING_DEV = 21,
1: + DMI_ENTRY_PORTABLE_BATTERY = 22,
1: + DMI_ENTRY_SYSTEM_RESET = 23,
1: + DMI_ENTRY_HW_SECURITY = 24,
1: + DMI_ENTRY_SYSTEM_POWER_CONTROLS = 25,
1: + DMI_ENTRY_VOLTAGE_PROBE = 26,
1: + DMI_ENTRY_COOLING_DEV = 27,
1: + DMI_ENTRY_TEMP_PROBE = 28,
1: + DMI_ENTRY_ELECTRICAL_CURRENT_PROBE = 29,
1: + DMI_ENTRY_OOB_REMOTE_ACCESS = 30,
1: + DMI_ENTRY_BIS_ENTRY = 31,
1: + DMI_ENTRY_SYSTEM_BOOT = 32,
1: + DMI_ENTRY_MGMT_DEV = 33,
1: + DMI_ENTRY_MGMT_DEV_COMPONENT = 34,
1: + DMI_ENTRY_MGMT_DEV_THRES = 35,
1: + DMI_ENTRY_MEM_CHANNEL = 36,
1: + DMI_ENTRY_IPMI_DEV = 37,
1: + DMI_ENTRY_SYS_POWER_SUPPLY = 38,
1: + DMI_ENTRY_ADDITIONAL = 39,
1: + DMI_ENTRY_ONBOARD_DEV_EXT = 40,
1: + DMI_ENTRY_MGMT_CONTROLLER_HOST = 41,
1: + DMI_ENTRY_INACTIVE = 126,
1: + DMI_ENTRY_END_OF_TABLE = 127,
1: +};
1: +
1: +struct dmi_header {
1: + u8 type;
1: + u8 length;
1: + u16 handle;
1: +};
1: +
1: +enum {
1: + POWER_SUPPLY_STATUS_UNKNOWN = 0,
1: + POWER_SUPPLY_STATUS_CHARGING = 1,
1: + POWER_SUPPLY_STATUS_DISCHARGING = 2,
1: + POWER_SUPPLY_STATUS_NOT_CHARGING = 3,
1: + POWER_SUPPLY_STATUS_FULL = 4,
1: +};
1: +
1: +enum {
1: + POWER_SUPPLY_TECHNOLOGY_UNKNOWN = 0,
1: + POWER_SUPPLY_TECHNOLOGY_NiMH = 1,
1: + POWER_SUPPLY_TECHNOLOGY_LION = 2,
1: + POWER_SUPPLY_TECHNOLOGY_LIPO = 3,
1: + POWER_SUPPLY_TECHNOLOGY_LiFe = 4,
1: + POWER_SUPPLY_TECHNOLOGY_NiCd = 5,
1: + POWER_SUPPLY_TECHNOLOGY_LiMn = 6,
1: +};
1: +
1: +enum {
1: + POWER_SUPPLY_CAPACITY_LEVEL_UNKNOWN = 0,
1: + POWER_SUPPLY_CAPACITY_LEVEL_CRITICAL = 1,
1: + POWER_SUPPLY_CAPACITY_LEVEL_LOW = 2,
1: + POWER_SUPPLY_CAPACITY_LEVEL_NORMAL = 3,
1: + POWER_SUPPLY_CAPACITY_LEVEL_HIGH = 4,
1: + POWER_SUPPLY_CAPACITY_LEVEL_FULL = 5,
1: +};
1: +
1: +struct acpi_battery_hook {
1: + const char *name;
1: + int (*add_battery)(struct power_supply *);
1: + int (*remove_battery)(struct power_supply *);
1: + struct list_head list;
1: +};
1: +
1: +enum {
1: + ACPI_BATTERY_ALARM_PRESENT = 0,
1: + ACPI_BATTERY_XINFO_PRESENT = 1,
1: + ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY = 2,
1: + ACPI_BATTERY_QUIRK_THINKPAD_MAH = 3,
1: + ACPI_BATTERY_QUIRK_DEGRADED_FULL_CHARGE = 4,
1: +};
1: +
1: +struct acpi_battery {
1: + struct mutex lock;
1: + struct mutex sysfs_lock;
1: + struct power_supply *bat;
1: + struct power_supply_desc bat_desc;
1: + struct acpi_device *device;
1: + struct notifier_block pm_nb;
1: + struct list_head list;
1: + long unsigned int update_time;
1: + int revision;
1: + int rate_now;
1: + int capacity_now;
1: + int voltage_now;
1: + int design_capacity;
1: + int full_charge_capacity;
1: + int technology;
1: + int design_voltage;
1: + int design_capacity_warning;
1: + int design_capacity_low;
1: + int cycle_count;
1: + int measurement_accuracy;
1: + int max_sampling_time;
1: + int min_sampling_time;
1: + int max_averaging_interval;
1: + int min_averaging_interval;
1: + int capacity_granularity_1;
1: + int capacity_granularity_2;
1: + int alarm;
1: + char model_number[32];
1: + char serial_number[32];
1: + char type[32];
1: + char oem_info[32];
1: + int state;
1: + int power_unit;
1: + long unsigned int flags;
1: +};
1: +
1: +struct acpi_offsets {
1: + size_t offset;
1: + u8 mode;
1: +};
1: +
1: +struct acpi_table_bgrt {
1: + struct acpi_table_header header;
1: + u16 version;
1: + u8 status;
1: + u8 image_type;
1: + u64 image_address;
1: + u32 image_offset_x;
1: + u32 image_offset_y;
1: +};
1: +
1: +struct acpi_pcct_hw_reduced {
1: + struct acpi_subtable_header header;
1: + u32 platform_interrupt;
1: + u8 flags;
1: + u8 reserved;
1: + u64 base_address;
1: + u64 length;
1: + struct acpi_generic_address doorbell_register;
1: + u64 preserve_mask;
1: + u64 write_mask;
1: + u32 latency;
1: + u32 max_access_rate;
1: + u16 min_turnaround_time;
1: +} __attribute__((packed));
1: +
1: +struct acpi_pcct_shared_memory {
1: + u32 signature;
1: + u16 command;
1: + u16 status;
1: +};
1: +
1: +struct mbox_chan;
1: +
1: +struct mbox_chan_ops {
1: + int (*send_data)(struct mbox_chan *, void *);
1: + int (*flush)(struct mbox_chan *, long unsigned int);
1: + int (*startup)(struct mbox_chan *);
1: + void (*shutdown)(struct mbox_chan *);
1: + bool (*last_tx_done)(struct mbox_chan *);
1: + bool (*peek_data)(struct mbox_chan *);
1: +};
1: +
1: +struct mbox_controller;
1: +
1: +struct mbox_client;
1: +
1: +struct mbox_chan {
1: + struct mbox_controller *mbox;
1: + unsigned int txdone_method;
1: + struct mbox_client *cl;
1: + struct completion tx_complete;
1: + void *active_req;
1: + unsigned int msg_count;
1: + unsigned int msg_free;
1: + void *msg_data[20];
1: + spinlock_t lock;
1: + void *con_priv;
1: +};
1: +
1: +struct mbox_controller {
1: + struct device *dev;
1: + const struct mbox_chan_ops *ops;
1: + struct mbox_chan *chans;
1: + int num_chans;
1: + bool txdone_irq;
1: + bool txdone_poll;
1: + unsigned int txpoll_period;
1: + struct mbox_chan * (*of_xlate)(struct mbox_controller *, const struct of_phandle_args *);
1: + struct hrtimer poll_hrt;
1: + struct list_head node;
1: +};
1: +
1: +struct mbox_client {
1: + struct device *dev;
1: + bool tx_block;
1: + long unsigned int tx_tout;
1: + bool knows_txdone;
1: + void (*rx_callback)(struct mbox_client *, void *);
1: + void (*tx_prepare)(struct mbox_client *, void *);
1: + void (*tx_done)(struct mbox_client *, void *, int);
1: +};
1: +
1: +struct cpc_register_resource {
1: + acpi_object_type type;
1: + u64 *sys_mem_vaddr;
1: + union {
1: + struct cpc_reg reg;
1: + u64 int_value;
1: + } cpc_entry;
1: +};
1: +
1: +struct cpc_desc {
1: + int num_entries;
1: + int version;
1: + int cpu_id;
1: + int write_cmd_status;
1: + int write_cmd_id;
1: + struct cpc_register_resource cpc_regs[21];
1: + struct acpi_psd_package domain_info;
1: + struct kobject kobj;
1: +};
1: +
1: +enum cppc_regs {
1: + HIGHEST_PERF = 0,
1: + NOMINAL_PERF = 1,
1: + LOW_NON_LINEAR_PERF = 2,
1: + LOWEST_PERF = 3,
1: + GUARANTEED_PERF = 4,
1: + DESIRED_PERF = 5,
1: + MIN_PERF = 6,
1: + MAX_PERF = 7,
1: + PERF_REDUC_TOLERANCE = 8,
1: + TIME_WINDOW = 9,
1: + CTR_WRAP_TIME = 10,
1: + REFERENCE_CTR = 11,
1: + DELIVERED_CTR = 12,
1: + PERF_LIMITED = 13,
1: + ENABLE = 14,
1: + AUTO_SEL_ENABLE = 15,
1: + AUTO_ACT_WINDOW = 16,
1: + ENERGY_PERF = 17,
1: + REFERENCE_PERF = 18,
1: + LOWEST_FREQ = 19,
1: + NOMINAL_FREQ = 20,
1: +};
1: +
1: +struct cppc_perf_caps {
1: + u32 guaranteed_perf;
1: + u32 highest_perf;
1: + u32 nominal_perf;
1: + u32 lowest_perf;
1: + u32 lowest_nonlinear_perf;
1: + u32 lowest_freq;
1: + u32 nominal_freq;
1: +};
1: +
1: +struct cppc_perf_ctrls {
1: + u32 max_perf;
1: + u32 min_perf;
1: + u32 desired_perf;
1: +};
1: +
1: +struct cppc_perf_fb_ctrs {
1: + u64 reference;
1: + u64 delivered;
1: + u64 reference_perf;
1: + u64 wraparound_time;
1: +};
1: +
1: +struct cppc_cpudata {
1: + int cpu;
1: + struct cppc_perf_caps perf_caps;
1: + struct cppc_perf_ctrls perf_ctrls;
1: + struct cppc_perf_fb_ctrs perf_fb_ctrs;
1: + struct cpufreq_policy *cur_policy;
1: + unsigned int shared_type;
1: + cpumask_var_t shared_cpu_map;
1: +};
1: +
1: +struct cppc_pcc_data {
1: + struct mbox_chan *pcc_channel;
1: + void *pcc_comm_addr;
1: + bool pcc_channel_acquired;
1: + unsigned int deadline_us;
1: + unsigned int pcc_mpar;
1: + unsigned int pcc_mrtt;
1: + unsigned int pcc_nominal;
1: + bool pending_pcc_write_cmd;
1: + bool platform_owns_pcc;
1: + unsigned int pcc_write_cnt;
1: + struct rw_semaphore pcc_lock;
1: + wait_queue_head_t pcc_write_wait_q;
1: + ktime_t last_cmd_cmpl_time;
1: + ktime_t last_mpar_reset;
1: + int mpar_count;
1: + int refcount;
1: +};
1: +
1: +struct cppc_attr {
1: + struct attribute attr;
1: + ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: + ssize_t (*store)(struct kobject *, struct attribute *, const char *, ssize_t);
1: +};
1: +
1: +struct pnp_resource {
1: + struct list_head list;
1: + struct resource res;
1: +};
1: +
1: +struct pnp_port {
1: + resource_size_t min;
1: + resource_size_t max;
1: + resource_size_t align;
1: + resource_size_t size;
1: + unsigned char flags;
1: +};
1: +
1: +typedef struct {
1: + long unsigned int bits[4];
1: +} pnp_irq_mask_t;
1: +
1: +struct pnp_irq {
1: + pnp_irq_mask_t map;
1: + unsigned char flags;
1: +};
1: +
1: +struct pnp_dma {
1: + unsigned char map;
1: + unsigned char flags;
1: +};
1: +
1: +struct pnp_mem {
1: + resource_size_t min;
1: + resource_size_t max;
1: + resource_size_t align;
1: + resource_size_t size;
1: + unsigned char flags;
1: +};
1: +
1: +struct pnp_option {
1: + struct list_head list;
1: + unsigned int flags;
1: + long unsigned int type;
1: + union {
1: + struct pnp_port port;
1: + struct pnp_irq irq;
1: + struct pnp_dma dma;
1: + struct pnp_mem mem;
1: + } u;
1: +};
1: +
1: +struct pnp_info_buffer {
1: + char *buffer;
1: + char *curr;
1: + long unsigned int size;
1: + long unsigned int len;
1: + int stop;
1: + int error;
1: +};
1: +
1: +typedef struct pnp_info_buffer pnp_info_buffer_t;
1: +
1: +struct pnp_fixup {
1: + char id[7];
1: + void (*quirk_function)(struct pnp_dev *);
1: +};
1: +
1: +struct acpipnp_parse_option_s {
1: + struct pnp_dev *dev;
1: + unsigned int option_flags;
1: +};
1: +
1: +struct clk_bulk_data {
1: + const char *id;
1: + struct clk *clk;
1: +};
1: +
1: +struct clk_bulk_devres {
1: + struct clk_bulk_data *clks;
1: + int num_clks;
1: +};
1: +
1: +struct clk_hw;
1: +
1: +struct clk_lookup {
1: + struct list_head node;
1: + const char *dev_id;
1: + const char *con_id;
1: + struct clk *clk;
1: + struct clk_hw *clk_hw;
1: +};
1: +
1: +struct clk_core;
1: +
1: +struct clk_init_data;
1: +
1: +struct clk_hw {
1: + struct clk_core *core;
1: + struct clk *clk;
1: + const struct clk_init_data *init;
1: +};
1: +
1: +struct clk_rate_request {
1: + long unsigned int rate;
1: + long unsigned int min_rate;
1: + long unsigned int max_rate;
1: + long unsigned int best_parent_rate;
1: + struct clk_hw *best_parent_hw;
1: +};
1: +
1: +struct clk_duty {
1: + unsigned int num;
1: + unsigned int den;
1: +};
1: +
1: +struct clk_ops {
1: + int (*prepare)(struct clk_hw *);
1: + void (*unprepare)(struct clk_hw *);
1: + int (*is_prepared)(struct clk_hw *);
1: + void (*unprepare_unused)(struct clk_hw *);
1: + int (*enable)(struct clk_hw *);
1: + void (*disable)(struct clk_hw *);
1: + int (*is_enabled)(struct clk_hw *);
1: + void (*disable_unused)(struct clk_hw *);
1: + int (*save_context)(struct clk_hw *);
1: + void (*restore_context)(struct clk_hw *);
1: + long unsigned int (*recalc_rate)(struct clk_hw *, long unsigned int);
1: + long int (*round_rate)(struct clk_hw *, long unsigned int, long unsigned int *);
1: + int (*determine_rate)(struct clk_hw *, struct clk_rate_request *);
1: + int (*set_parent)(struct clk_hw *, u8);
1: + u8 (*get_parent)(struct clk_hw *);
1: + int (*set_rate)(struct clk_hw *, long unsigned int, long unsigned int);
1: + int (*set_rate_and_parent)(struct clk_hw *, long unsigned int, long unsigned int, u8);
1: + long unsigned int (*recalc_accuracy)(struct clk_hw *, long unsigned int);
1: + int (*get_phase)(struct clk_hw *);
1: + int (*set_phase)(struct clk_hw *, int);
1: + int (*get_duty_cycle)(struct clk_hw *, struct clk_duty *);
1: + int (*set_duty_cycle)(struct clk_hw *, struct clk_duty *);
1: + void (*init)(struct clk_hw *);
1: + void (*debug_init)(struct clk_hw *, struct dentry *);
1: +};
1: +
1: +struct clk_parent_data {
1: + const struct clk_hw *hw;
1: + const char *fw_name;
1: + const char *name;
1: + int index;
1: +};
1: +
1: +struct clk_init_data {
1: + const char *name;
1: + const struct clk_ops *ops;
1: + const char * const *parent_names;
1: + const struct clk_parent_data *parent_data;
1: + const struct clk_hw **parent_hws;
1: + u8 num_parents;
1: + long unsigned int flags;
1: +};
1: +
1: +struct clk_lookup_alloc {
1: + struct clk_lookup cl;
1: + char dev_id[20];
1: + char con_id[16];
1: +};
1: +
1: +struct clk_notifier {
1: + struct clk *clk;
1: + struct srcu_notifier_head notifier_head;
1: + struct list_head node;
1: +};
1: +
1: +struct clk {
1: + struct clk_core *core;
1: + struct device *dev;
1: + const char *dev_id;
1: + const char *con_id;
1: + long unsigned int min_rate;
1: + long unsigned int max_rate;
1: + unsigned int exclusive_count;
1: + struct hlist_node clks_node;
1: +};
1: +
1: +struct clk_notifier_data {
1: + struct clk *clk;
1: + long unsigned int old_rate;
1: + long unsigned int new_rate;
1: +};
1: +
1: +struct clk_parent_map;
1: +
1: +struct clk_core {
1: + const char *name;
1: + const struct clk_ops *ops;
1: + struct clk_hw *hw;
1: + struct module *owner;
1: + struct device *dev;
1: + struct device_node *of_node;
1: + struct clk_core *parent;
1: + struct clk_parent_map *parents;
1: + u8 num_parents;
1: + u8 new_parent_index;
1: + long unsigned int rate;
1: + long unsigned int req_rate;
1: + long unsigned int new_rate;
1: + struct clk_core *new_parent;
1: + struct clk_core *new_child;
1: + long unsigned int flags;
1: + bool orphan;
1: + bool rpm_enabled;
1: + unsigned int enable_count;
1: + unsigned int prepare_count;
1: + unsigned int protect_count;
1: + long unsigned int min_rate;
1: + long unsigned int max_rate;
1: + long unsigned int accuracy;
1: + int phase;
1: + struct clk_duty duty;
1: + struct hlist_head children;
1: + struct hlist_node child_node;
1: + struct hlist_head clks;
1: + unsigned int notifier_count;
1: + struct dentry *dentry;
1: + struct hlist_node debug_node;
1: + struct kref ref;
1: +};
1: +
1: +struct clk_parent_map {
1: + const struct clk_hw *hw;
1: + struct clk_core *core;
1: + const char *fw_name;
1: + const char *name;
1: + int index;
1: +};
1: +
1: +struct trace_event_raw_clk {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_clk_rate {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + long unsigned int rate;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_clk_parent {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u32 __data_loc_pname;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_clk_phase {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + int phase;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_clk_duty_cycle {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int num;
1: + unsigned int den;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_clk {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_clk_rate {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_clk_parent {
1: + u32 name;
1: + u32 pname;
1: +};
1: +
1: +struct trace_event_data_offsets_clk_phase {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_clk_duty_cycle {
1: + u32 name;
1: +};
1: +
1: +struct clk_div_table {
1: + unsigned int val;
1: + unsigned int div;
1: +};
1: +
1: +struct clk_divider {
1: + struct clk_hw hw;
1: + void *reg;
1: + u8 shift;
1: + u8 width;
1: + u8 flags;
1: + const struct clk_div_table *table;
1: + spinlock_t *lock;
1: +};
1: +
1: +struct clk_fixed_factor {
1: + struct clk_hw hw;
1: + unsigned int mult;
1: + unsigned int div;
1: +};
1: +
1: +struct clk_fixed_rate {
1: + struct clk_hw hw;
1: + long unsigned int fixed_rate;
1: + long unsigned int fixed_accuracy;
1: +};
1: +
1: +struct clk_gate {
1: + struct clk_hw hw;
1: + void *reg;
1: + u8 bit_idx;
1: + u8 flags;
1: + spinlock_t *lock;
1: +};
1: +
1: +struct clk_multiplier {
1: + struct clk_hw hw;
1: + void *reg;
1: + u8 shift;
1: + u8 width;
1: + u8 flags;
1: + spinlock_t *lock;
1: +};
1: +
1: +struct clk_mux {
1: + struct clk_hw hw;
1: + void *reg;
1: + u32 *table;
1: + u32 mask;
1: + u8 shift;
1: + u8 flags;
1: + spinlock_t *lock;
1: +};
1: +
1: +struct clk_composite {
1: + struct clk_hw hw;
1: + struct clk_ops ops;
1: + struct clk_hw *mux_hw;
1: + struct clk_hw *rate_hw;
1: + struct clk_hw *gate_hw;
1: + const struct clk_ops *mux_ops;
1: + const struct clk_ops *rate_ops;
1: + const struct clk_ops *gate_ops;
1: +};
1: +
1: +struct clk_fractional_divider {
1: + struct clk_hw hw;
1: + void *reg;
1: + u8 mshift;
1: + u8 mwidth;
1: + u32 mmask;
1: + u8 nshift;
1: + u8 nwidth;
1: + u32 nmask;
1: + u8 flags;
1: + void (*approximation)(struct clk_hw *, long unsigned int, long unsigned int *, long unsigned int *, long unsigned int *);
1: + spinlock_t *lock;
1: +};
1: +
1: +struct gpio_desc;
1: +
1: +struct clk_gpio {
1: + struct clk_hw hw;
1: + struct gpio_desc *gpiod;
1: +};
1: +
1: +enum gpiod_flags {
1: + GPIOD_ASIS = 0,
1: + GPIOD_IN = 1,
1: + GPIOD_OUT_LOW = 3,
1: + GPIOD_OUT_HIGH = 7,
1: + GPIOD_OUT_LOW_OPEN_DRAIN = 11,
1: + GPIOD_OUT_HIGH_OPEN_DRAIN = 15,
1: +};
1: +
1: +struct pmc_clk {
1: + const char *name;
1: + long unsigned int freq;
1: + const char *parent_name;
1: +};
1: +
1: +struct pmc_clk_data {
1: + void *base;
1: + const struct pmc_clk *clks;
1: + bool critical;
1: +};
1: +
1: +struct clk_plt_fixed {
1: + struct clk_hw *clk;
1: + struct clk_lookup *lookup;
1: +};
1: +
1: +struct clk_plt {
1: + struct clk_hw hw;
1: + void *reg;
1: + struct clk_lookup *lookup;
1: + spinlock_t lock;
1: +};
1: +
1: +struct clk_plt_data {
1: + struct clk_plt_fixed **parents;
1: + u8 nparents;
1: + struct clk_plt *clks[6];
1: + struct clk_lookup *mclk_lookup;
1: + struct clk_lookup *ether_clk_lookup;
1: +};
1: +
1: +typedef s32 dma_cookie_t;
1: +
1: +enum dma_status {
1: + DMA_COMPLETE = 0,
1: + DMA_IN_PROGRESS = 1,
1: + DMA_PAUSED = 2,
1: + DMA_ERROR = 3,
1: +};
1: +
1: +enum dma_transaction_type {
1: + DMA_MEMCPY = 0,
1: + DMA_XOR = 1,
1: + DMA_PQ = 2,
1: + DMA_XOR_VAL = 3,
1: + DMA_PQ_VAL = 4,
1: + DMA_MEMSET = 5,
1: + DMA_MEMSET_SG = 6,
1: + DMA_INTERRUPT = 7,
1: + DMA_PRIVATE = 8,
1: + DMA_ASYNC_TX = 9,
1: + DMA_SLAVE = 10,
1: + DMA_CYCLIC = 11,
1: + DMA_INTERLEAVE = 12,
1: + DMA_TX_TYPE_END = 13,
1: +};
1: +
1: +enum dma_transfer_direction {
1: + DMA_MEM_TO_MEM = 0,
1: + DMA_MEM_TO_DEV = 1,
1: + DMA_DEV_TO_MEM = 2,
1: + DMA_DEV_TO_DEV = 3,
1: + DMA_TRANS_NONE = 4,
1: +};
1: +
1: +struct data_chunk {
1: + size_t size;
1: + size_t icg;
1: + size_t dst_icg;
1: + size_t src_icg;
1: +};
1: +
1: +struct dma_interleaved_template {
1: + dma_addr_t src_start;
1: + dma_addr_t dst_start;
1: + enum dma_transfer_direction dir;
1: + bool src_inc;
1: + bool dst_inc;
1: + bool src_sgl;
1: + bool dst_sgl;
1: + size_t numf;
1: + size_t frame_size;
1: + struct data_chunk sgl[0];
1: +};
1: +
1: +enum dma_ctrl_flags {
1: + DMA_PREP_INTERRUPT = 1,
1: + DMA_CTRL_ACK = 2,
1: + DMA_PREP_PQ_DISABLE_P = 4,
1: + DMA_PREP_PQ_DISABLE_Q = 8,
1: + DMA_PREP_CONTINUE = 16,
1: + DMA_PREP_FENCE = 32,
1: + DMA_CTRL_REUSE = 64,
1: + DMA_PREP_CMD = 128,
1: +};
1: +
1: +enum sum_check_bits {
1: + SUM_CHECK_P = 0,
1: + SUM_CHECK_Q = 1,
1: +};
1: +
1: +enum sum_check_flags {
1: + SUM_CHECK_P_RESULT = 1,
1: + SUM_CHECK_Q_RESULT = 2,
1: +};
1: +
1: +typedef struct {
1: + long unsigned int bits[1];
1: +} dma_cap_mask_t;
1: +
1: +struct dma_chan_percpu {
1: + long unsigned int memcpy_count;
1: + long unsigned int bytes_transferred;
1: +};
1: +
1: +struct dma_router {
1: + struct device *dev;
1: + void (*route_free)(struct device *, void *);
1: +};
1: +
1: +struct dma_device;
1: +
1: +struct dma_chan_dev;
1: +
1: +struct dma_chan___2 {
1: + struct dma_device *device;
1: + dma_cookie_t cookie;
1: + dma_cookie_t completed_cookie;
1: + int chan_id;
1: + struct dma_chan_dev *dev;
1: + struct list_head device_node;
1: + struct dma_chan_percpu *local;
1: + int client_count;
1: + int table_count;
1: + struct dma_router *router;
1: + void *route_data;
1: + void *private;
1: +};
1: +
1: +typedef bool (*dma_filter_fn)(struct dma_chan___2 *, void *);
1: +
1: +struct dma_slave_map;
1: +
1: +struct dma_filter {
1: + dma_filter_fn fn;
1: + int mapcnt;
1: + const struct dma_slave_map *map;
1: +};
1: +
1: +enum dmaengine_alignment {
1: + DMAENGINE_ALIGN_1_BYTE = 0,
1: + DMAENGINE_ALIGN_2_BYTES = 1,
1: + DMAENGINE_ALIGN_4_BYTES = 2,
1: + DMAENGINE_ALIGN_8_BYTES = 3,
1: + DMAENGINE_ALIGN_16_BYTES = 4,
1: + DMAENGINE_ALIGN_32_BYTES = 5,
1: + DMAENGINE_ALIGN_64_BYTES = 6,
1: +};
1: +
1: +enum dma_residue_granularity {
1: + DMA_RESIDUE_GRANULARITY_DESCRIPTOR = 0,
1: + DMA_RESIDUE_GRANULARITY_SEGMENT = 1,
1: + DMA_RESIDUE_GRANULARITY_BURST = 2,
1: +};
1: +
1: +struct dma_async_tx_descriptor;
1: +
1: +struct dma_slave_config;
1: +
1: +struct dma_tx_state;
1: +
1: +struct dma_device {
1: + unsigned int chancnt;
1: + unsigned int privatecnt;
1: + struct list_head channels;
1: + struct list_head global_node;
1: + struct dma_filter filter;
1: + dma_cap_mask_t cap_mask;
1: + short unsigned int max_xor;
1: + short unsigned int max_pq;
1: + enum dmaengine_alignment copy_align;
1: + enum dmaengine_alignment xor_align;
1: + enum dmaengine_alignment pq_align;
1: + enum dmaengine_alignment fill_align;
1: + int dev_id;
1: + struct device *dev;
1: + u32 src_addr_widths;
1: + u32 dst_addr_widths;
1: + u32 directions;
1: + u32 max_burst;
1: + bool descriptor_reuse;
1: + enum dma_residue_granularity residue_granularity;
1: + int (*device_alloc_chan_resources)(struct dma_chan___2 *);
1: + void (*device_free_chan_resources)(struct dma_chan___2 *);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_memcpy)(struct dma_chan___2 *, dma_addr_t, dma_addr_t, size_t, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_xor)(struct dma_chan___2 *, dma_addr_t, dma_addr_t *, unsigned int, size_t, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_xor_val)(struct dma_chan___2 *, dma_addr_t *, unsigned int, size_t, enum sum_check_flags *, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_pq)(struct dma_chan___2 *, dma_addr_t *, dma_addr_t *, unsigned int, const unsigned char *, size_t, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_pq_val)(struct dma_chan___2 *, dma_addr_t *, dma_addr_t *, unsigned int, const unsigned char *, size_t, enum sum_check_flags *, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_memset)(struct dma_chan___2 *, dma_addr_t, int, size_t, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_memset_sg)(struct dma_chan___2 *, struct scatterlist *, unsigned int, int, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_interrupt)(struct dma_chan___2 *, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_slave_sg)(struct dma_chan___2 *, struct scatterlist *, unsigned int, enum dma_transfer_direction, long unsigned int, void *);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_cyclic)(struct dma_chan___2 *, dma_addr_t, size_t, size_t, enum dma_transfer_direction, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_interleaved_dma)(struct dma_chan___2 *, struct dma_interleaved_template *, long unsigned int);
1: + struct dma_async_tx_descriptor * (*device_prep_dma_imm_data)(struct dma_chan___2 *, dma_addr_t, u64, long unsigned int);
1: + int (*device_config)(struct dma_chan___2 *, struct dma_slave_config *);
1: + int (*device_pause)(struct dma_chan___2 *);
1: + int (*device_resume)(struct dma_chan___2 *);
1: + int (*device_terminate_all)(struct dma_chan___2 *);
1: + void (*device_synchronize)(struct dma_chan___2 *);
1: + enum dma_status (*device_tx_status)(struct dma_chan___2 *, dma_cookie_t, struct dma_tx_state *);
1: + void (*device_issue_pending)(struct dma_chan___2 *);
1: +};
1: +
1: +struct dma_chan_dev {
1: + struct dma_chan___2 *chan;
1: + struct device device;
1: + int dev_id;
1: + atomic_t *idr_ref;
1: +};
1: +
1: +enum dma_slave_buswidth {
1: + DMA_SLAVE_BUSWIDTH_UNDEFINED = 0,
1: + DMA_SLAVE_BUSWIDTH_1_BYTE = 1,
1: + DMA_SLAVE_BUSWIDTH_2_BYTES = 2,
1: + DMA_SLAVE_BUSWIDTH_3_BYTES = 3,
1: + DMA_SLAVE_BUSWIDTH_4_BYTES = 4,
1: + DMA_SLAVE_BUSWIDTH_8_BYTES = 8,
1: + DMA_SLAVE_BUSWIDTH_16_BYTES = 16,
1: + DMA_SLAVE_BUSWIDTH_32_BYTES = 32,
1: + DMA_SLAVE_BUSWIDTH_64_BYTES = 64,
1: +};
1: +
1: +struct dma_slave_config {
1: + enum dma_transfer_direction direction;
1: + phys_addr_t src_addr;
1: + phys_addr_t dst_addr;
1: + enum dma_slave_buswidth src_addr_width;
1: + enum dma_slave_buswidth dst_addr_width;
1: + u32 src_maxburst;
1: + u32 dst_maxburst;
1: + u32 src_port_window_size;
1: + u32 dst_port_window_size;
1: + bool device_fc;
1: + unsigned int slave_id;
1: +};
1: +
1: +struct dma_slave_caps {
1: + u32 src_addr_widths;
1: + u32 dst_addr_widths;
1: + u32 directions;
1: + u32 max_burst;
1: + bool cmd_pause;
1: + bool cmd_resume;
1: + bool cmd_terminate;
1: + enum dma_residue_granularity residue_granularity;
1: + bool descriptor_reuse;
1: +};
1: +
1: +typedef void (*dma_async_tx_callback)(void *);
1: +
1: +enum dmaengine_tx_result {
1: + DMA_TRANS_NOERROR = 0,
1: + DMA_TRANS_READ_FAILED = 1,
1: + DMA_TRANS_WRITE_FAILED = 2,
1: + DMA_TRANS_ABORTED = 3,
1: +};
1: +
1: +struct dmaengine_result {
1: + enum dmaengine_tx_result result;
1: + u32 residue;
1: +};
1: +
1: +typedef void (*dma_async_tx_callback_result)(void *, const struct dmaengine_result *);
1: +
1: +struct dmaengine_unmap_data {
1: + u8 map_cnt;
1: + u8 to_cnt;
1: + u8 from_cnt;
1: + u8 bidi_cnt;
1: + struct device *dev;
1: + struct kref kref;
1: + size_t len;
1: + dma_addr_t addr[0];
1: +};
1: +
1: +struct dma_async_tx_descriptor {
1: + dma_cookie_t cookie;
1: + enum dma_ctrl_flags flags;
1: + dma_addr_t phys;
1: + struct dma_chan___2 *chan;
1: + dma_cookie_t (*tx_submit)(struct dma_async_tx_descriptor *);
1: + int (*desc_free)(struct dma_async_tx_descriptor *);
1: + dma_async_tx_callback callback;
1: + dma_async_tx_callback_result callback_result;
1: + void *callback_param;
1: + struct dmaengine_unmap_data *unmap;
1: +};
1: +
1: +struct dma_tx_state {
1: + dma_cookie_t last;
1: + dma_cookie_t used;
1: + u32 residue;
1: +};
1: +
1: +struct dma_slave_map {
1: + const char *devname;
1: + const char *slave;
1: + void *param;
1: +};
1: +
1: +struct dma_chan_tbl_ent {
1: + struct dma_chan___2 *chan;
1: +};
1: +
1: +struct dmaengine_unmap_pool {
1: + struct kmem_cache *cache;
1: + const char *name;
1: + mempool_t *pool;
1: + size_t size;
1: +};
1: +
1: +struct dmaengine_desc_callback {
1: + dma_async_tx_callback callback;
1: + dma_async_tx_callback_result callback_result;
1: + void *callback_param;
1: +};
1: +
1: +struct virt_dma_desc {
1: + struct dma_async_tx_descriptor tx;
1: + struct dmaengine_result tx_result;
1: + struct list_head node;
1: +};
1: +
1: +struct virt_dma_chan {
1: + struct dma_chan___2 chan;
1: + struct tasklet_struct task;
1: + void (*desc_free)(struct virt_dma_desc *);
1: + spinlock_t lock;
1: + struct list_head desc_allocated;
1: + struct list_head desc_submitted;
1: + struct list_head desc_issued;
1: + struct list_head desc_completed;
1: + struct virt_dma_desc *cyclic;
1: + struct virt_dma_desc *vd_terminated;
1: +};
1: +
1: +struct acpi_table_csrt {
1: + struct acpi_table_header header;
1: +};
1: +
1: +struct acpi_csrt_group {
1: + u32 length;
1: + u32 vendor_id;
1: + u32 subvendor_id;
1: + u16 device_id;
1: + u16 subdevice_id;
1: + u16 revision;
1: + u16 reserved;
1: + u32 shared_info_length;
1: +};
1: +
1: +struct acpi_csrt_shared_info {
1: + u16 major_version;
1: + u16 minor_version;
1: + u32 mmio_base_low;
1: + u32 mmio_base_high;
1: + u32 gsi_interrupt;
1: + u8 interrupt_polarity;
1: + u8 interrupt_mode;
1: + u8 num_channels;
1: + u8 dma_address_width;
1: + u16 base_request_line;
1: + u16 num_handshake_signals;
1: + u32 max_block_size;
1: +};
1: +
1: +struct acpi_dma_spec {
1: + int chan_id;
1: + int slave_id;
1: + struct device *dev;
1: +};
1: +
1: +struct acpi_dma {
1: + struct list_head dma_controllers;
1: + struct device *dev;
1: + struct dma_chan___2 * (*acpi_dma_xlate)(struct acpi_dma_spec *, struct acpi_dma *);
1: + void *data;
1: + short unsigned int base_request_line;
1: + short unsigned int end_request_line;
1: +};
1: +
1: +struct acpi_dma_filter_info {
1: + dma_cap_mask_t dma_cap;
1: + dma_filter_fn filter_fn;
1: +};
1: +
1: +struct acpi_dma_parser_data {
1: + struct acpi_dma_spec dma_spec;
1: + size_t index;
1: + size_t n;
1: +};
1: +
1: +struct dw_dma_slave {
1: + struct device *dma_dev;
1: + u8 src_id;
1: + u8 dst_id;
1: + u8 m_master;
1: + u8 p_master;
1: + bool hs_polarity;
1: +};
1: +
1: +struct dw_dma_platform_data {
1: + unsigned int nr_channels;
1: + unsigned char chan_allocation_order;
1: + unsigned char chan_priority;
1: + unsigned int block_size;
1: + unsigned char nr_masters;
1: + unsigned char data_width[4];
1: + unsigned char multi_block[8];
1: + unsigned char protctl;
1: +};
1: +
1: +struct dw_dma;
1: +
1: +struct dw_dma_chip {
1: + struct device *dev;
1: + int id;
1: + int irq;
1: + void *regs;
1: + struct clk *clk;
1: + struct dw_dma *dw;
1: + const struct dw_dma_platform_data *pdata;
1: +};
1: +
1: +struct dma_pool___2;
1: +
1: +struct dw_dma_chan;
1: +
1: +struct dw_dma {
1: + struct dma_device dma;
1: + char name[20];
1: + void *regs;
1: + struct dma_pool___2 *desc_pool;
1: + struct tasklet_struct tasklet;
1: + struct dw_dma_chan *chan;
1: + u8 all_chan_mask;
1: + u8 in_use;
1: + void (*initialize_chan)(struct dw_dma_chan *);
1: + void (*suspend_chan)(struct dw_dma_chan *, bool);
1: + void (*resume_chan)(struct dw_dma_chan *, bool);
1: + u32 (*prepare_ctllo)(struct dw_dma_chan *);
1: + void (*encode_maxburst)(struct dw_dma_chan *, u32 *);
1: + u32 (*bytes2block)(struct dw_dma_chan *, size_t, unsigned int, size_t *);
1: + size_t (*block2bytes)(struct dw_dma_chan *, u32, u32);
1: + void (*set_device_name)(struct dw_dma *, int);
1: + void (*disable)(struct dw_dma *);
1: + void (*enable)(struct dw_dma *);
1: + struct dw_dma_platform_data *pdata;
1: +};
1: +
1: +enum dw_dma_fc {
1: + DW_DMA_FC_D_M2M = 0,
1: + DW_DMA_FC_D_M2P = 1,
1: + DW_DMA_FC_D_P2M = 2,
1: + DW_DMA_FC_D_P2P = 3,
1: + DW_DMA_FC_P_P2M = 4,
1: + DW_DMA_FC_SP_P2P = 5,
1: + DW_DMA_FC_P_M2P = 6,
1: + DW_DMA_FC_DP_P2P = 7,
1: +};
1: +
1: +struct dw_dma_chan_regs {
1: + u32 SAR;
1: + u32 __pad_SAR;
1: + u32 DAR;
1: + u32 __pad_DAR;
1: + u32 LLP;
1: + u32 __pad_LLP;
1: + u32 CTL_LO;
1: + u32 CTL_HI;
1: + u32 SSTAT;
1: + u32 __pad_SSTAT;
1: + u32 DSTAT;
1: + u32 __pad_DSTAT;
1: + u32 SSTATAR;
1: + u32 __pad_SSTATAR;
1: + u32 DSTATAR;
1: + u32 __pad_DSTATAR;
1: + u32 CFG_LO;
1: + u32 CFG_HI;
1: + u32 SGR;
1: + u32 __pad_SGR;
1: + u32 DSR;
1: + u32 __pad_DSR;
1: +};
1: +
1: +struct dw_dma_irq_regs {
1: + u32 XFER;
1: + u32 __pad_XFER;
1: + u32 BLOCK;
1: + u32 __pad_BLOCK;
1: + u32 SRC_TRAN;
1: + u32 __pad_SRC_TRAN;
1: + u32 DST_TRAN;
1: + u32 __pad_DST_TRAN;
1: + u32 ERROR;
1: + u32 __pad_ERROR;
1: +};
1: +
1: +struct dw_dma_regs {
1: + struct dw_dma_chan_regs CHAN[8];
1: + struct dw_dma_irq_regs RAW;
1: + struct dw_dma_irq_regs STATUS;
1: + struct dw_dma_irq_regs MASK;
1: + struct dw_dma_irq_regs CLEAR;
1: + u32 STATUS_INT;
1: + u32 __pad_STATUS_INT;
1: + u32 REQ_SRC;
1: + u32 __pad_REQ_SRC;
1: + u32 REQ_DST;
1: + u32 __pad_REQ_DST;
1: + u32 SGL_REQ_SRC;
1: + u32 __pad_SGL_REQ_SRC;
1: + u32 SGL_REQ_DST;
1: + u32 __pad_SGL_REQ_DST;
1: + u32 LAST_SRC;
1: + u32 __pad_LAST_SRC;
1: + u32 LAST_DST;
1: + u32 __pad_LAST_DST;
1: + u32 CFG;
1: + u32 __pad_CFG;
1: + u32 CH_EN;
1: + u32 __pad_CH_EN;
1: + u32 ID;
1: + u32 __pad_ID;
1: + u32 TEST;
1: + u32 __pad_TEST;
1: + u32 CLASS_PRIORITY0;
1: + u32 __pad_CLASS_PRIORITY0;
1: + u32 CLASS_PRIORITY1;
1: + u32 __pad_CLASS_PRIORITY1;
1: + u32 __reserved;
1: + u32 DWC_PARAMS[8];
1: + u32 MULTI_BLK_TYPE;
1: + u32 MAX_BLK_SIZE;
1: + u32 DW_PARAMS;
1: + u32 COMP_TYPE;
1: + u32 COMP_VERSION;
1: + u32 FIFO_PARTITION0;
1: + u32 __pad_FIFO_PARTITION0;
1: + u32 FIFO_PARTITION1;
1: + u32 __pad_FIFO_PARTITION1;
1: + u32 SAI_ERR;
1: + u32 __pad_SAI_ERR;
1: + u32 GLOBAL_CFG;
1: + u32 __pad_GLOBAL_CFG;
1: +};
1: +
1: +enum dw_dmac_flags {
1: + DW_DMA_IS_CYCLIC = 0,
1: + DW_DMA_IS_SOFT_LLP = 1,
1: + DW_DMA_IS_PAUSED = 2,
1: + DW_DMA_IS_INITIALIZED = 3,
1: +};
1: +
1: +struct dw_dma_chan {
1: + struct dma_chan___2 chan;
1: + void *ch_regs;
1: + u8 mask;
1: + u8 priority;
1: + enum dma_transfer_direction direction;
1: + struct list_head *tx_node_active;
1: + spinlock_t lock;
1: + long unsigned int flags;
1: + struct list_head active_list;
1: + struct list_head queue;
1: + unsigned int descs_allocated;
1: + unsigned int block_size;
1: + bool nollp;
1: + struct dw_dma_slave dws;
1: + struct dma_slave_config dma_sconfig;
1: +};
1: +
1: +struct dw_lli {
1: + __le32 sar;
1: + __le32 dar;
1: + __le32 llp;
1: + __le32 ctllo;
1: + __le32 ctlhi;
1: + __le32 sstat;
1: + __le32 dstat;
1: +};
1: +
1: +struct dw_desc {
1: + struct dw_lli lli;
1: + struct list_head desc_node;
1: + struct list_head tx_list;
1: + struct dma_async_tx_descriptor txd;
1: + size_t len;
1: + size_t total_len;
1: + u32 residue;
1: +};
1: +
1: +struct dw_dma_chip_pdata {
1: + const struct dw_dma_platform_data *pdata;
1: + int (*probe)(struct dw_dma_chip *);
1: + int (*remove)(struct dw_dma_chip *);
1: + struct dw_dma_chip *chip;
1: +};
1: +
1: +enum dw_dma_msize {
1: + DW_DMA_MSIZE_1 = 0,
1: + DW_DMA_MSIZE_4 = 1,
1: + DW_DMA_MSIZE_8 = 2,
1: + DW_DMA_MSIZE_16 = 3,
1: + DW_DMA_MSIZE_32 = 4,
1: + DW_DMA_MSIZE_64 = 5,
1: + DW_DMA_MSIZE_128 = 6,
1: + DW_DMA_MSIZE_256 = 7,
1: +};
1: +
1: +enum idma32_msize {
1: + IDMA32_MSIZE_1 = 0,
1: + IDMA32_MSIZE_2 = 1,
1: + IDMA32_MSIZE_4 = 2,
1: + IDMA32_MSIZE_8 = 3,
1: + IDMA32_MSIZE_16 = 4,
1: + IDMA32_MSIZE_32 = 5,
1: +};
1: +
1: +struct hsu_dma;
1: +
1: +struct hsu_dma_chip {
1: + struct device *dev;
1: + int irq;
1: + void *regs;
1: + unsigned int length;
1: + unsigned int offset;
1: + struct hsu_dma *hsu;
1: +};
1: +
1: +struct hsu_dma_chan;
1: +
1: +struct hsu_dma {
1: + struct dma_device dma;
1: + struct hsu_dma_chan *chan;
1: + short unsigned int nr_channels;
1: +};
1: +
1: +struct hsu_dma_sg {
1: + dma_addr_t addr;
1: + unsigned int len;
1: +};
1: +
1: +struct hsu_dma_desc {
1: + struct virt_dma_desc vdesc;
1: + enum dma_transfer_direction direction;
1: + struct hsu_dma_sg *sg;
1: + unsigned int nents;
1: + size_t length;
1: + unsigned int active;
1: + enum dma_status status;
1: +};
1: +
1: +struct hsu_dma_chan {
1: + struct virt_dma_chan vchan;
1: + void *reg;
1: + enum dma_transfer_direction direction;
1: + struct dma_slave_config config;
1: + struct hsu_dma_desc *desc;
1: +};
1: +
1: +struct serial_struct32 {
1: + compat_int_t type;
1: + compat_int_t line;
1: + compat_uint_t port;
1: + compat_int_t irq;
1: + compat_int_t flags;
1: + compat_int_t xmit_fifo_size;
1: + compat_int_t custom_divisor;
1: + compat_int_t baud_base;
1: + short unsigned int close_delay;
1: + char io_type;
1: + char reserved_char[1];
1: + compat_int_t hub6;
1: + short unsigned int closing_wait;
1: + short unsigned int closing_wait2;
1: + compat_uint_t iomem_base;
1: + short unsigned int iomem_reg_shift;
1: + unsigned int port_high;
1: + compat_int_t reserved[1];
1: +};
1: +
1: +struct n_tty_data {
1: + size_t read_head;
1: + size_t commit_head;
1: + size_t canon_head;
1: + size_t echo_head;
1: + size_t echo_commit;
1: + size_t echo_mark;
1: + long unsigned int char_map[4];
1: + long unsigned int overrun_time;
1: + int num_overrun;
1: + bool no_room;
1: + unsigned char lnext: 1;
1: + unsigned char erasing: 1;
1: + unsigned char raw: 1;
1: + unsigned char real_raw: 1;
1: + unsigned char icanon: 1;
1: + unsigned char push: 1;
1: + char read_buf[4096];
1: + long unsigned int read_flags[64];
1: + unsigned char echo_buf[4096];
1: + size_t read_tail;
1: + size_t line_start;
1: + unsigned int column;
1: + unsigned int canon_column;
1: + size_t echo_tail;
1: + struct mutex atomic_read_lock;
1: + struct mutex output_lock;
1: +};
1: +
1: +enum {
1: + ERASE = 0,
1: + WERASE = 1,
1: + KILL = 2,
1: +};
1: +
1: +struct termios {
1: + tcflag_t c_iflag;
1: + tcflag_t c_oflag;
1: + tcflag_t c_cflag;
1: + tcflag_t c_lflag;
1: + cc_t c_line;
1: + cc_t c_cc[19];
1: +};
1: +
1: +struct termios2 {
1: + tcflag_t c_iflag;
1: + tcflag_t c_oflag;
1: + tcflag_t c_cflag;
1: + tcflag_t c_lflag;
1: + cc_t c_line;
1: + cc_t c_cc[19];
1: + speed_t c_ispeed;
1: + speed_t c_ospeed;
1: +};
1: +
1: +struct termio {
1: + short unsigned int c_iflag;
1: + short unsigned int c_oflag;
1: + short unsigned int c_cflag;
1: + short unsigned int c_lflag;
1: + unsigned char c_line;
1: + unsigned char c_cc[8];
1: +};
1: +
1: +struct ldsem_waiter {
1: + struct list_head list;
1: + struct task_struct *task;
1: +};
1: +
1: +struct pts_fs_info___2;
1: +
1: +struct tty_audit_buf {
1: + struct mutex mutex;
1: + dev_t dev;
1: + unsigned int icanon: 1;
1: + size_t valid;
1: + unsigned char *data;
1: +};
1: +
1: +struct sysrq_state {
1: + struct input_handle handle;
1: + struct work_struct reinject_work;
1: + long unsigned int key_down[12];
1: + unsigned int alt;
1: + unsigned int alt_use;
1: + bool active;
1: + bool need_reinject;
1: + bool reinjecting;
1: + bool reset_canceled;
1: + bool reset_requested;
1: + long unsigned int reset_keybit[12];
1: + int reset_seq_len;
1: + int reset_seq_cnt;
1: + int reset_seq_version;
1: + struct timer_list keyreset_timer;
1: +};
1: +
1: +struct consolefontdesc {
1: + short unsigned int charcount;
1: + short unsigned int charheight;
1: + char *chardata;
1: +};
1: +
1: +struct unipair {
1: + short unsigned int unicode;
1: + short unsigned int fontpos;
1: +};
1: +
1: +struct unimapdesc {
1: + short unsigned int entry_ct;
1: + struct unipair *entries;
1: +};
1: +
1: +struct kbentry {
1: + unsigned char kb_table;
1: + unsigned char kb_index;
1: + short unsigned int kb_value;
1: +};
1: +
1: +struct kbsentry {
1: + unsigned char kb_func;
1: + unsigned char kb_string[512];
1: +};
1: +
1: +struct kbkeycode {
1: + unsigned int scancode;
1: + unsigned int keycode;
1: +};
1: +
1: +struct kbd_repeat {
1: + int delay;
1: + int period;
1: +};
1: +
1: +struct console_font_op {
1: + unsigned int op;
1: + unsigned int flags;
1: + unsigned int width;
1: + unsigned int height;
1: + unsigned int charcount;
1: + unsigned char *data;
1: +};
1: +
1: +struct vt_stat {
1: + short unsigned int v_active;
1: + short unsigned int v_signal;
1: + short unsigned int v_state;
1: +};
1: +
1: +struct vt_sizes {
1: + short unsigned int v_rows;
1: + short unsigned int v_cols;
1: + short unsigned int v_scrollsize;
1: +};
1: +
1: +struct vt_consize {
1: + short unsigned int v_rows;
1: + short unsigned int v_cols;
1: + short unsigned int v_vlin;
1: + short unsigned int v_clin;
1: + short unsigned int v_vcol;
1: + short unsigned int v_ccol;
1: +};
1: +
1: +struct vt_event {
1: + unsigned int event;
1: + unsigned int oldev;
1: + unsigned int newev;
1: + unsigned int pad[4];
1: +};
1: +
1: +struct vt_setactivate {
1: + unsigned int console;
1: + struct vt_mode mode;
1: +};
1: +
1: +struct vt_spawn_console {
1: + spinlock_t lock;
1: + struct pid *pid;
1: + int sig;
1: +};
1: +
1: +struct vt_event_wait {
1: + struct list_head list;
1: + struct vt_event event;
1: + int done;
1: +};
1: +
1: +struct compat_consolefontdesc {
1: + short unsigned int charcount;
1: + short unsigned int charheight;
1: + compat_caddr_t chardata;
1: +};
1: +
1: +struct compat_console_font_op {
1: + compat_uint_t op;
1: + compat_uint_t flags;
1: + compat_uint_t width;
1: + compat_uint_t height;
1: + compat_uint_t charcount;
1: + compat_caddr_t data;
1: +};
1: +
1: +struct compat_unimapdesc {
1: + short unsigned int entry_ct;
1: + compat_caddr_t entries;
1: +};
1: +
1: +struct vt_notifier_param {
1: + struct vc_data *vc;
1: + unsigned int c;
1: +};
1: +
1: +struct vcs_poll_data {
1: + struct notifier_block notifier;
1: + unsigned int cons_num;
1: + int event;
1: + wait_queue_head_t waitq;
1: + struct fasync_struct *fasync;
1: +};
1: +
1: +struct tiocl_selection {
1: + short unsigned int xs;
1: + short unsigned int ys;
1: + short unsigned int xe;
1: + short unsigned int ye;
1: + short unsigned int sel_mode;
1: +};
1: +
1: +struct keyboard_notifier_param {
1: + struct vc_data *vc;
1: + int down;
1: + int shift;
1: + int ledstate;
1: + unsigned int value;
1: +};
1: +
1: +struct kbd_struct {
1: + unsigned char lockstate;
1: + unsigned char slockstate;
1: + unsigned char ledmode: 1;
1: + unsigned char ledflagstate: 4;
1: + char: 3;
1: + unsigned char default_ledflagstate: 4;
1: + unsigned char kbdmode: 3;
1: + char: 1;
1: + unsigned char modeflags: 5;
1: +};
1: +
1: +struct kbdiacr {
1: + unsigned char diacr;
1: + unsigned char base;
1: + unsigned char result;
1: +};
1: +
1: +struct kbdiacrs {
1: + unsigned int kb_cnt;
1: + struct kbdiacr kbdiacr[256];
1: +};
1: +
1: +struct kbdiacruc {
1: + unsigned int diacr;
1: + unsigned int base;
1: + unsigned int result;
1: +};
1: +
1: +struct kbdiacrsuc {
1: + unsigned int kb_cnt;
1: + struct kbdiacruc kbdiacruc[256];
1: +};
1: +
1: +typedef void k_handler_fn(struct vc_data *, unsigned char, char);
1: +
1: +typedef void fn_handler_fn(struct vc_data *);
1: +
1: +struct getset_keycode_data {
1: + struct input_keymap_entry ke;
1: + int error;
1: +};
1: +
1: +struct kbd_led_trigger {
1: + struct led_trigger trigger;
1: + unsigned int mask;
1: +};
1: +
1: +struct uni_pagedir {
1: + u16 **uni_pgdir[32];
1: + long unsigned int refcount;
1: + long unsigned int sum;
1: + unsigned char *inverse_translations[4];
1: + u16 *inverse_trans_unicode;
1: +};
1: +
1: +typedef uint32_t char32_t;
1: +
1: +struct uni_screen {
1: + char32_t *lines[0];
1: +};
1: +
1: +struct con_driver {
1: + const struct consw *con;
1: + const char *desc;
1: + struct device *dev;
1: + int node;
1: + int first;
1: + int last;
1: + int flag;
1: +};
1: +
1: +enum {
1: + blank_off = 0,
1: + blank_normal_wait = 1,
1: + blank_vesa_wait = 2,
1: +};
1: +
1: +enum {
1: + EPecma = 0,
1: + EPdec = 1,
1: + EPeq = 2,
1: + EPgt = 3,
1: + EPlt = 4,
1: +};
1: +
1: +struct rgb {
1: + u8 r;
1: + u8 g;
1: + u8 b;
1: +};
1: +
1: +enum {
1: + ESnormal = 0,
1: + ESesc = 1,
1: + ESsquare = 2,
1: + ESgetpars = 3,
1: + ESfunckey = 4,
1: + EShash = 5,
1: + ESsetG0 = 6,
1: + ESsetG1 = 7,
1: + ESpercent = 8,
1: + EScsiignore = 9,
1: + ESnonstd = 10,
1: + ESpalette = 11,
1: + ESosc = 12,
1: +};
1: +
1: +struct interval {
1: + uint32_t first;
1: + uint32_t last;
1: +};
1: +
1: +struct serial_rs485 {
1: + __u32 flags;
1: + __u32 delay_rts_before_send;
1: + __u32 delay_rts_after_send;
1: + __u32 padding[5];
1: +};
1: +
1: +struct serial_iso7816 {
1: + __u32 flags;
1: + __u32 tg;
1: + __u32 sc_fi;
1: + __u32 sc_di;
1: + __u32 clk;
1: + __u32 reserved[5];
1: +};
1: +
1: +struct circ_buf {
1: + char *buf;
1: + int head;
1: + int tail;
1: +};
1: +
1: +struct uart_port;
1: +
1: +struct uart_ops {
1: + unsigned int (*tx_empty)(struct uart_port *);
1: + void (*set_mctrl)(struct uart_port *, unsigned int);
1: + unsigned int (*get_mctrl)(struct uart_port *);
1: + void (*stop_tx)(struct uart_port *);
1: + void (*start_tx)(struct uart_port *);
1: + void (*throttle)(struct uart_port *);
1: + void (*unthrottle)(struct uart_port *);
1: + void (*send_xchar)(struct uart_port *, char);
1: + void (*stop_rx)(struct uart_port *);
1: + void (*enable_ms)(struct uart_port *);
1: + void (*break_ctl)(struct uart_port *, int);
1: + int (*startup)(struct uart_port *);
1: + void (*shutdown)(struct uart_port *);
1: + void (*flush_buffer)(struct uart_port *);
1: + void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: + void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: + void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: + const char * (*type)(struct uart_port *);
1: + void (*release_port)(struct uart_port *);
1: + int (*request_port)(struct uart_port *);
1: + void (*config_port)(struct uart_port *, int);
1: + int (*verify_port)(struct uart_port *, struct serial_struct *);
1: + int (*ioctl)(struct uart_port *, unsigned int, long unsigned int);
1: +};
1: +
1: +struct uart_icount {
1: + __u32 cts;
1: + __u32 dsr;
1: + __u32 rng;
1: + __u32 dcd;
1: + __u32 rx;
1: + __u32 tx;
1: + __u32 frame;
1: + __u32 overrun;
1: + __u32 parity;
1: + __u32 brk;
1: + __u32 buf_overrun;
1: +};
1: +
1: +typedef unsigned int upf_t;
1: +
1: +typedef unsigned int upstat_t;
1: +
1: +struct uart_state;
1: +
1: +struct uart_port {
1: + spinlock_t lock;
1: + long unsigned int iobase;
1: + unsigned char *membase;
1: + unsigned int (*serial_in)(struct uart_port *, int);
1: + void (*serial_out)(struct uart_port *, int, int);
1: + void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: + void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: + unsigned int (*get_mctrl)(struct uart_port *);
1: + void (*set_mctrl)(struct uart_port *, unsigned int);
1: + unsigned int (*get_divisor)(struct uart_port *, unsigned int, unsigned int *);
1: + void (*set_divisor)(struct uart_port *, unsigned int, unsigned int, unsigned int);
1: + int (*startup)(struct uart_port *);
1: + void (*shutdown)(struct uart_port *);
1: + void (*throttle)(struct uart_port *);
1: + void (*unthrottle)(struct uart_port *);
1: + int (*handle_irq)(struct uart_port *);
1: + void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: + void (*handle_break)(struct uart_port *);
1: + int (*rs485_config)(struct uart_port *, struct serial_rs485 *);
1: + int (*iso7816_config)(struct uart_port *, struct serial_iso7816 *);
1: + unsigned int irq;
1: + long unsigned int irqflags;
1: + unsigned int uartclk;
1: + unsigned int fifosize;
1: + unsigned char x_char;
1: + unsigned char regshift;
1: + unsigned char iotype;
1: + unsigned char quirks;
1: + unsigned int read_status_mask;
1: + unsigned int ignore_status_mask;
1: + struct uart_state *state;
1: + struct uart_icount icount;
1: + struct console *cons;
1: + long unsigned int sysrq;
1: + unsigned int sysrq_ch;
1: + upf_t flags;
1: + upstat_t status;
1: + int hw_stopped;
1: + unsigned int mctrl;
1: + unsigned int timeout;
1: + unsigned int type;
1: + const struct uart_ops *ops;
1: + unsigned int custom_divisor;
1: + unsigned int line;
1: + unsigned int minor;
1: + resource_size_t mapbase;
1: + resource_size_t mapsize;
1: + struct device *dev;
1: + unsigned char hub6;
1: + unsigned char suspended;
1: + unsigned char unused[2];
1: + const char *name;
1: + struct attribute_group *attr_group;
1: + const struct attribute_group **tty_groups;
1: + struct serial_rs485 rs485;
1: + struct serial_iso7816 iso7816;
1: + void *private_data;
1: +};
1: +
1: +enum uart_pm_state {
1: + UART_PM_STATE_ON = 0,
1: + UART_PM_STATE_OFF = 3,
1: + UART_PM_STATE_UNDEFINED = 4,
1: +};
1: +
1: +struct uart_state {
1: + struct tty_port port;
1: + enum uart_pm_state pm_state;
1: + struct circ_buf xmit;
1: + atomic_t refcount;
1: + wait_queue_head_t remove_wait;
1: + struct uart_port *uart_port;
1: +};
1: +
1: +struct uart_driver {
1: + struct module *owner;
1: + const char *driver_name;
1: + const char *dev_name;
1: + int major;
1: + int minor;
1: + int nr;
1: + struct console *cons;
1: + struct uart_state *state;
1: + struct tty_driver *tty_driver;
1: +};
1: +
1: +struct uart_match {
1: + struct uart_port *port;
1: + struct uart_driver *driver;
1: +};
1: +
1: +struct earlycon_device {
1: + struct console *con;
1: + struct uart_port port;
1: + char options[16];
1: + unsigned int baud;
1: +};
1: +
1: +struct earlycon_id {
1: + char name[15];
1: + char name_term;
1: + char compatible[128];
1: + int (*setup)(struct earlycon_device *, const char *);
1: +};
1: +
1: +enum hwparam_type {
1: + hwparam_ioport = 0,
1: + hwparam_iomem = 1,
1: + hwparam_ioport_or_iomem = 2,
1: + hwparam_irq = 3,
1: + hwparam_dma = 4,
1: + hwparam_dma_addr = 5,
1: + hwparam_other = 6,
1: +};
1: +
1: +struct plat_serial8250_port {
1: + long unsigned int iobase;
1: + void *membase;
1: + resource_size_t mapbase;
1: + unsigned int irq;
1: + long unsigned int irqflags;
1: + unsigned int uartclk;
1: + void *private_data;
1: + unsigned char regshift;
1: + unsigned char iotype;
1: + unsigned char hub6;
1: + upf_t flags;
1: + unsigned int type;
1: + unsigned int (*serial_in)(struct uart_port *, int);
1: + void (*serial_out)(struct uart_port *, int, int);
1: + void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: + void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: + unsigned int (*get_mctrl)(struct uart_port *);
1: + int (*handle_irq)(struct uart_port *);
1: + void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: + void (*handle_break)(struct uart_port *);
1: +};
1: +
1: +enum {
1: + PLAT8250_DEV_LEGACY = -1,
1: + PLAT8250_DEV_PLATFORM = 0,
1: + PLAT8250_DEV_PLATFORM1 = 1,
1: + PLAT8250_DEV_PLATFORM2 = 2,
1: + PLAT8250_DEV_FOURPORT = 3,
1: + PLAT8250_DEV_ACCENT = 4,
1: + PLAT8250_DEV_BOCA = 5,
1: + PLAT8250_DEV_EXAR_ST16C554 = 6,
1: + PLAT8250_DEV_HUB6 = 7,
1: + PLAT8250_DEV_AU1X00 = 8,
1: + PLAT8250_DEV_SM501 = 9,
1: +};
1: +
1: +struct uart_8250_port;
1: +
1: +struct uart_8250_ops {
1: + int (*setup_irq)(struct uart_8250_port *);
1: + void (*release_irq)(struct uart_8250_port *);
1: +};
1: +
1: +struct mctrl_gpios;
1: +
1: +struct uart_8250_dma;
1: +
1: +struct uart_8250_em485;
1: +
1: +struct uart_8250_port {
1: + struct uart_port port;
1: + struct timer_list timer;
1: + struct list_head list;
1: + u32 capabilities;
1: + short unsigned int bugs;
1: + bool fifo_bug;
1: + unsigned int tx_loadsz;
1: + unsigned char acr;
1: + unsigned char fcr;
1: + unsigned char ier;
1: + unsigned char lcr;
1: + unsigned char mcr;
1: + unsigned char mcr_mask;
1: + unsigned char mcr_force;
1: + unsigned char cur_iotype;
1: + unsigned int rpm_tx_active;
1: + unsigned char canary;
1: + unsigned char probe;
1: + struct mctrl_gpios *gpios;
1: + unsigned char lsr_saved_flags;
1: + unsigned char msr_saved_flags;
1: + struct uart_8250_dma *dma;
1: + const struct uart_8250_ops *ops;
1: + int (*dl_read)(struct uart_8250_port *);
1: + void (*dl_write)(struct uart_8250_port *, int);
1: + struct uart_8250_em485 *em485;
1: + struct delayed_work overrun_backoff;
1: + u32 overrun_backoff_time_ms;
1: +};
1: +
1: +struct uart_8250_em485 {
1: + struct hrtimer start_tx_timer;
1: + struct hrtimer stop_tx_timer;
1: + struct hrtimer *active_timer;
1: + struct uart_8250_port *port;
1: +};
1: +
1: +struct uart_8250_dma {
1: + int (*tx_dma)(struct uart_8250_port *);
1: + int (*rx_dma)(struct uart_8250_port *);
1: + dma_filter_fn fn;
1: + void *rx_param;
1: + void *tx_param;
1: + struct dma_slave_config rxconf;
1: + struct dma_slave_config txconf;
1: + struct dma_chan___2 *rxchan;
1: + struct dma_chan___2 *txchan;
1: + phys_addr_t rx_dma_addr;
1: + phys_addr_t tx_dma_addr;
1: + dma_addr_t rx_addr;
1: + dma_addr_t tx_addr;
1: + dma_cookie_t rx_cookie;
1: + dma_cookie_t tx_cookie;
1: + void *rx_buf;
1: + size_t rx_size;
1: + size_t tx_size;
1: + unsigned char tx_running;
1: + unsigned char tx_err;
1: + unsigned char rx_running;
1: +};
1: +
1: +struct old_serial_port {
1: + unsigned int uart;
1: + unsigned int baud_base;
1: + unsigned int port;
1: + unsigned int irq;
1: + upf_t flags;
1: + unsigned char io_type;
1: + unsigned char *iomem_base;
1: + short unsigned int iomem_reg_shift;
1: +};
1: +
1: +struct irq_info {
1: + struct hlist_node node;
1: + int irq;
1: + spinlock_t lock;
1: + struct list_head *head;
1: +};
1: +
1: +struct serial8250_config {
1: + const char *name;
1: + short unsigned int fifo_size;
1: + short unsigned int tx_loadsz;
1: + unsigned char fcr;
1: + unsigned char rxtrig_bytes[4];
1: + unsigned int flags;
1: +};
1: +
1: +struct dw8250_port_data {
1: + int line;
1: + struct uart_8250_dma dma;
1: + u8 dlf_size;
1: +};
1: +
1: +struct pciserial_board {
1: + unsigned int flags;
1: + unsigned int num_ports;
1: + unsigned int base_baud;
1: + unsigned int uart_offset;
1: + unsigned int reg_shift;
1: + unsigned int first_offset;
1: +};
1: +
1: +struct serial_private;
1: +
1: +struct pci_serial_quirk {
1: + u32 vendor;
1: + u32 device;
1: + u32 subvendor;
1: + u32 subdevice;
1: + int (*probe)(struct pci_dev *);
1: + int (*init)(struct pci_dev *);
1: + int (*setup)(struct serial_private *, const struct pciserial_board *, struct uart_8250_port *, int);
1: + void (*exit)(struct pci_dev *);
1: +};
1: +
1: +struct serial_private {
1: + struct pci_dev *dev;
1: + unsigned int nr;
1: + struct pci_serial_quirk *quirk;
1: + const struct pciserial_board *board;
1: + int line[0];
1: +};
1: +
1: +struct f815xxa_data {
1: + spinlock_t lock;
1: + int idx;
1: +};
1: +
1: +struct timedia_struct {
1: + int num;
1: + const short unsigned int *ids;
1: +};
1: +
1: +struct quatech_feature {
1: + u16 devid;
1: + bool amcc;
1: +};
1: +
1: +enum pci_board_num_t {
1: + pbn_default = 0,
1: + pbn_b0_1_115200 = 1,
1: + pbn_b0_2_115200 = 2,
1: + pbn_b0_4_115200 = 3,
1: + pbn_b0_5_115200 = 4,
1: + pbn_b0_8_115200 = 5,
1: + pbn_b0_1_921600 = 6,
1: + pbn_b0_2_921600 = 7,
1: + pbn_b0_4_921600 = 8,
1: + pbn_b0_2_1130000 = 9,
1: + pbn_b0_4_1152000 = 10,
1: + pbn_b0_4_1250000 = 11,
1: + pbn_b0_2_1843200 = 12,
1: + pbn_b0_4_1843200 = 13,
1: + pbn_b0_1_4000000 = 14,
1: + pbn_b0_bt_1_115200 = 15,
1: + pbn_b0_bt_2_115200 = 16,
1: + pbn_b0_bt_4_115200 = 17,
1: + pbn_b0_bt_8_115200 = 18,
1: + pbn_b0_bt_1_460800 = 19,
1: + pbn_b0_bt_2_460800 = 20,
1: + pbn_b0_bt_4_460800 = 21,
1: + pbn_b0_bt_1_921600 = 22,
1: + pbn_b0_bt_2_921600 = 23,
1: + pbn_b0_bt_4_921600 = 24,
1: + pbn_b0_bt_8_921600 = 25,
1: + pbn_b1_1_115200 = 26,
1: + pbn_b1_2_115200 = 27,
1: + pbn_b1_4_115200 = 28,
1: + pbn_b1_8_115200 = 29,
1: + pbn_b1_16_115200 = 30,
1: + pbn_b1_1_921600 = 31,
1: + pbn_b1_2_921600 = 32,
1: + pbn_b1_4_921600 = 33,
1: + pbn_b1_8_921600 = 34,
1: + pbn_b1_2_1250000 = 35,
1: + pbn_b1_bt_1_115200 = 36,
1: + pbn_b1_bt_2_115200 = 37,
1: + pbn_b1_bt_4_115200 = 38,
1: + pbn_b1_bt_2_921600 = 39,
1: + pbn_b1_1_1382400 = 40,
1: + pbn_b1_2_1382400 = 41,
1: + pbn_b1_4_1382400 = 42,
1: + pbn_b1_8_1382400 = 43,
1: + pbn_b2_1_115200 = 44,
1: + pbn_b2_2_115200 = 45,
1: + pbn_b2_4_115200 = 46,
1: + pbn_b2_8_115200 = 47,
1: + pbn_b2_1_460800 = 48,
1: + pbn_b2_4_460800 = 49,
1: + pbn_b2_8_460800 = 50,
1: + pbn_b2_16_460800 = 51,
1: + pbn_b2_1_921600 = 52,
1: + pbn_b2_4_921600 = 53,
1: + pbn_b2_8_921600 = 54,
1: + pbn_b2_8_1152000 = 55,
1: + pbn_b2_bt_1_115200 = 56,
1: + pbn_b2_bt_2_115200 = 57,
1: + pbn_b2_bt_4_115200 = 58,
1: + pbn_b2_bt_2_921600 = 59,
1: + pbn_b2_bt_4_921600 = 60,
1: + pbn_b3_2_115200 = 61,
1: + pbn_b3_4_115200 = 62,
1: + pbn_b3_8_115200 = 63,
1: + pbn_b4_bt_2_921600 = 64,
1: + pbn_b4_bt_4_921600 = 65,
1: + pbn_b4_bt_8_921600 = 66,
1: + pbn_panacom = 67,
1: + pbn_panacom2 = 68,
1: + pbn_panacom4 = 69,
1: + pbn_plx_romulus = 70,
1: + pbn_endrun_2_4000000 = 71,
1: + pbn_oxsemi = 72,
1: + pbn_oxsemi_1_4000000 = 73,
1: + pbn_oxsemi_2_4000000 = 74,
1: + pbn_oxsemi_4_4000000 = 75,
1: + pbn_oxsemi_8_4000000 = 76,
1: + pbn_intel_i960 = 77,
1: + pbn_sgi_ioc3 = 78,
1: + pbn_computone_4 = 79,
1: + pbn_computone_6 = 80,
1: + pbn_computone_8 = 81,
1: + pbn_sbsxrsio = 82,
1: + pbn_pasemi_1682M = 83,
1: + pbn_ni8430_2 = 84,
1: + pbn_ni8430_4 = 85,
1: + pbn_ni8430_8 = 86,
1: + pbn_ni8430_16 = 87,
1: + pbn_ADDIDATA_PCIe_1_3906250 = 88,
1: + pbn_ADDIDATA_PCIe_2_3906250 = 89,
1: + pbn_ADDIDATA_PCIe_4_3906250 = 90,
1: + pbn_ADDIDATA_PCIe_8_3906250 = 91,
1: + pbn_ce4100_1_115200 = 92,
1: + pbn_omegapci = 93,
1: + pbn_NETMOS9900_2s_115200 = 94,
1: + pbn_brcm_trumanage = 95,
1: + pbn_fintek_4 = 96,
1: + pbn_fintek_8 = 97,
1: + pbn_fintek_12 = 98,
1: + pbn_fintek_F81504A = 99,
1: + pbn_fintek_F81508A = 100,
1: + pbn_fintek_F81512A = 101,
1: + pbn_wch382_2 = 102,
1: + pbn_wch384_4 = 103,
1: + pbn_pericom_PI7C9X7951 = 104,
1: + pbn_pericom_PI7C9X7952 = 105,
1: + pbn_pericom_PI7C9X7954 = 106,
1: + pbn_pericom_PI7C9X7958 = 107,
1: + pbn_sunix_pci_1s = 108,
1: + pbn_sunix_pci_2s = 109,
1: + pbn_sunix_pci_4s = 110,
1: + pbn_sunix_pci_8s = 111,
1: + pbn_sunix_pci_16s = 112,
1: + pbn_moxa8250_2p = 113,
1: + pbn_moxa8250_4p = 114,
1: + pbn_moxa8250_8p = 115,
1: +};
1: +
1: +struct acpi_gpio_params {
1: + unsigned int crs_entry_index;
1: + unsigned int line_index;
1: + bool active_low;
1: +};
1: +
1: +struct exar8250_platform {
1: + int (*rs485_config)(struct uart_port *, struct serial_rs485 *);
1: + int (*register_gpio)(struct pci_dev *, struct uart_8250_port *);
1: +};
1: +
1: +struct exar8250;
1: +
1: +struct exar8250_board {
1: + unsigned int num_ports;
1: + unsigned int reg_shift;
1: + int (*setup)(struct exar8250 *, struct pci_dev *, struct uart_8250_port *, int);
1: + void (*exit)(struct pci_dev *);
1: +};
1: +
1: +struct exar8250 {
1: + unsigned int nr;
1: + struct exar8250_board *board;
1: + void *virt;
1: + int line[0];
1: +};
1: +
1: +struct lpss8250;
1: +
1: +struct lpss8250_board {
1: + long unsigned int freq;
1: + unsigned int base_baud;
1: + int (*setup)(struct lpss8250 *, struct uart_port *);
1: + void (*exit)(struct lpss8250 *);
1: +};
1: +
1: +struct lpss8250 {
1: + struct dw8250_port_data data;
1: + struct lpss8250_board *board;
1: + struct dw_dma_chip dma_chip;
1: + struct dw_dma_slave dma_param;
1: + u8 dma_maxburst;
1: +};
1: +
1: +struct hsu_dma_slave {
1: + struct device *dma_dev;
1: + int chan_id;
1: +};
1: +
1: +struct mid8250;
1: +
1: +struct mid8250_board {
1: + unsigned int flags;
1: + long unsigned int freq;
1: + unsigned int base_baud;
1: + int (*setup)(struct mid8250 *, struct uart_port *);
1: + void (*exit)(struct mid8250 *);
1: +};
1: +
1: +struct mid8250 {
1: + int line;
1: + int dma_index;
1: + struct pci_dev *dma_dev;
1: + struct uart_8250_dma dma;
1: + struct mid8250_board *board;
1: + struct hsu_dma_chip dma_chip;
1: +};
1: +
1: +typedef int splice_actor___2(struct pipe_inode_info *, struct pipe_buffer *, struct splice_desc *);
1: +
1: +struct memdev {
1: + const char *name;
1: + umode_t mode;
1: + const struct file_operations *fops;
1: + fmode_t fmode;
1: +};
1: +
1: +struct timer_rand_state {
1: + cycles_t last_time;
1: + long int last_delta;
1: + long int last_delta2;
1: +};
1: +
1: +struct trace_event_raw_add_device_randomness {
1: + struct trace_entry ent;
1: + int bytes;
1: + long unsigned int IP;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_random__mix_pool_bytes {
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int bytes;
1: + long unsigned int IP;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_credit_entropy_bits {
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int bits;
1: + int entropy_count;
1: + long unsigned int IP;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_push_to_pool {
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int pool_bits;
1: + int input_bits;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_debit_entropy {
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int debit_bits;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_add_input_randomness {
1: + struct trace_entry ent;
1: + int input_bits;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_add_disk_randomness {
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int input_bits;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xfer_secondary_pool {
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int xfer_bits;
1: + int request_bits;
1: + int pool_entropy;
1: + int input_entropy;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_random__get_random_bytes {
1: + struct trace_entry ent;
1: + int nbytes;
1: + long unsigned int IP;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_random__extract_entropy {
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int nbytes;
1: + int entropy_count;
1: + long unsigned int IP;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_random_read {
1: + struct trace_entry ent;
1: + int got_bits;
1: + int need_bits;
1: + int pool_left;
1: + int input_left;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_urandom_read {
1: + struct trace_entry ent;
1: + int got_bits;
1: + int pool_left;
1: + int input_left;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_add_device_randomness {};
1: +
1: +struct trace_event_data_offsets_random__mix_pool_bytes {};
1: +
1: +struct trace_event_data_offsets_credit_entropy_bits {};
1: +
1: +struct trace_event_data_offsets_push_to_pool {};
1: +
1: +struct trace_event_data_offsets_debit_entropy {};
1: +
1: +struct trace_event_data_offsets_add_input_randomness {};
1: +
1: +struct trace_event_data_offsets_add_disk_randomness {};
1: +
1: +struct trace_event_data_offsets_xfer_secondary_pool {};
1: +
1: +struct trace_event_data_offsets_random__get_random_bytes {};
1: +
1: +struct trace_event_data_offsets_random__extract_entropy {};
1: +
1: +struct trace_event_data_offsets_random_read {};
1: +
1: +struct trace_event_data_offsets_urandom_read {};
1: +
1: +struct poolinfo {
1: + int poolbitshift;
1: + int poolwords;
1: + int poolbytes;
1: + int poolfracbits;
1: + int tap1;
1: + int tap2;
1: + int tap3;
1: + int tap4;
1: + int tap5;
1: +};
1: +
1: +struct crng_state {
1: + __u32 state[16];
1: + long unsigned int init_time;
1: + spinlock_t lock;
1: +};
1: +
1: +struct entropy_store {
1: + const struct poolinfo *poolinfo;
1: + __u32 *pool;
1: + const char *name;
1: + struct entropy_store *pull;
1: + struct work_struct push_work;
1: + long unsigned int last_pulled;
1: + spinlock_t lock;
1: + short unsigned int add_ptr;
1: + short unsigned int input_rotate;
1: + int entropy_count;
1: + unsigned int initialized: 1;
1: + unsigned int last_data_init: 1;
1: + __u8 last_data[10];
1: +};
1: +
1: +struct fast_pool {
1: + __u32 pool[4];
1: + long unsigned int last;
1: + short unsigned int reg_idx;
1: + unsigned char count;
1: +};
1: +
1: +struct batched_entropy {
1: + union {
1: + u64 entropy_u64[8];
1: + u32 entropy_u32[16];
1: + };
1: + unsigned int position;
1: + spinlock_t batch_lock;
1: +};
1: +
1: +struct hpet_info {
1: + long unsigned int hi_ireqfreq;
1: + long unsigned int hi_flags;
1: + short unsigned int hi_hpet;
1: + short unsigned int hi_timer;
1: +};
1: +
1: +struct hpet_timer {
1: + u64 hpet_config;
1: + union {
1: + u64 _hpet_hc64;
1: + u32 _hpet_hc32;
1: + long unsigned int _hpet_compare;
1: + } _u1;
1: + u64 hpet_fsb[2];
1: +};
1: +
1: +struct hpet {
1: + u64 hpet_cap;
1: + u64 res0;
1: + u64 hpet_config;
1: + u64 res1;
1: + u64 hpet_isr;
1: + u64 res2[25];
1: + union {
1: + u64 _hpet_mc64;
1: + u32 _hpet_mc32;
1: + long unsigned int _hpet_mc;
1: + } _u0;
1: + u64 res3;
1: + struct hpet_timer hpet_timers[1];
1: +};
1: +
1: +struct hpets;
1: +
1: +struct hpet_dev {
1: + struct hpets *hd_hpets;
1: + struct hpet *hd_hpet;
1: + struct hpet_timer *hd_timer;
1: + long unsigned int hd_ireqfreq;
1: + long unsigned int hd_irqdata;
1: + wait_queue_head_t hd_waitqueue;
1: + struct fasync_struct *hd_async_queue;
1: + unsigned int hd_flags;
1: + unsigned int hd_irq;
1: + unsigned int hd_hdwirq;
1: + char hd_name[7];
1: +};
1: +
1: +struct hpets {
1: + struct hpets *hp_next;
1: + struct hpet *hp_hpet;
1: + long unsigned int hp_hpet_phys;
1: + struct clocksource *hp_clocksource;
1: + long long unsigned int hp_tick_freq;
1: + long unsigned int hp_delta;
1: + unsigned int hp_ntimer;
1: + unsigned int hp_which;
1: + struct hpet_dev hp_dev[1];
1: +};
1: +
1: +struct compat_hpet_info {
1: + compat_ulong_t hi_ireqfreq;
1: + compat_ulong_t hi_flags;
1: + short unsigned int hi_hpet;
1: + short unsigned int hi_timer;
1: +};
1: +
1: +struct nvram_ops {
1: + ssize_t (*get_size)();
1: + unsigned char (*read_byte)(int);
1: + void (*write_byte)(unsigned char, int);
1: + ssize_t (*read)(char *, size_t, loff_t *);
1: + ssize_t (*write)(char *, size_t, loff_t *);
1: + long int (*initialize)();
1: + long int (*set_checksum)();
1: +};
1: +
1: +struct hwrng {
1: + const char *name;
1: + int (*init)(struct hwrng *);
1: + void (*cleanup)(struct hwrng *);
1: + int (*data_present)(struct hwrng *, int);
1: + int (*data_read)(struct hwrng *, u32 *);
1: + int (*read)(struct hwrng *, void *, size_t, bool);
1: + long unsigned int priv;
1: + short unsigned int quality;
1: + struct list_head list;
1: + struct kref ref;
1: + struct completion cleanup_done;
1: +};
1: +
1: +enum {
1: + VIA_STRFILT_CNT_SHIFT = 16,
1: + VIA_STRFILT_FAIL = 32768,
1: + VIA_STRFILT_ENABLE = 16384,
1: + VIA_RAWBITS_ENABLE = 8192,
1: + VIA_RNG_ENABLE = 64,
1: + VIA_NOISESRC1 = 256,
1: + VIA_NOISESRC2 = 512,
1: + VIA_XSTORE_CNT_MASK = 15,
1: + VIA_RNG_CHUNK_8 = 0,
1: + VIA_RNG_CHUNK_4 = 1,
1: + VIA_RNG_CHUNK_4_MASK = -1,
1: + VIA_RNG_CHUNK_2 = 2,
1: + VIA_RNG_CHUNK_2_MASK = 65535,
1: + VIA_RNG_CHUNK_1 = 3,
1: + VIA_RNG_CHUNK_1_MASK = 255,
1: +};
1: +
1: +enum chipset_type {
1: + NOT_SUPPORTED = 0,
1: + SUPPORTED = 1,
1: +};
1: +
1: +struct agp_version {
1: + u16 major;
1: + u16 minor;
1: +};
1: +
1: +struct agp_bridge_data;
1: +
1: +struct agp_memory {
1: + struct agp_memory *next;
1: + struct agp_memory *prev;
1: + struct agp_bridge_data *bridge;
1: + struct page **pages;
1: + size_t page_count;
1: + int key;
1: + int num_scratch_pages;
1: + off_t pg_start;
1: + u32 type;
1: + u32 physical;
1: + bool is_bound;
1: + bool is_flushed;
1: + struct list_head mapped_list;
1: + struct scatterlist *sg_list;
1: + int num_sg;
1: +};
1: +
1: +struct agp_bridge_driver;
1: +
1: +struct agp_bridge_data {
1: + const struct agp_version *version;
1: + const struct agp_bridge_driver *driver;
1: + const struct vm_operations_struct *vm_ops;
1: + void *previous_size;
1: + void *current_size;
1: + void *dev_private_data;
1: + struct pci_dev *dev;
1: + u32 *gatt_table;
1: + u32 *gatt_table_real;
1: + long unsigned int scratch_page;
1: + struct page *scratch_page_page;
1: + dma_addr_t scratch_page_dma;
1: + long unsigned int gart_bus_addr;
1: + long unsigned int gatt_bus_addr;
1: + u32 mode;
1: + enum chipset_type type;
1: + long unsigned int *key_list;
1: + atomic_t current_memory_agp;
1: + atomic_t agp_in_use;
1: + int max_memory_agp;
1: + int aperture_size_idx;
1: + int capndx;
1: + int flags;
1: + char major_version;
1: + char minor_version;
1: + struct list_head list;
1: + u32 apbase_config;
1: + struct list_head mapped_list;
1: + spinlock_t mapped_lock;
1: +};
1: +
1: +enum aper_size_type {
1: + U8_APER_SIZE = 0,
1: + U16_APER_SIZE = 1,
1: + U32_APER_SIZE = 2,
1: + LVL2_APER_SIZE = 3,
1: + FIXED_APER_SIZE = 4,
1: +};
1: +
1: +struct gatt_mask {
1: + long unsigned int mask;
1: + u32 type;
1: +};
1: +
1: +struct agp_bridge_driver {
1: + struct module *owner;
1: + const void *aperture_sizes;
1: + int num_aperture_sizes;
1: + enum aper_size_type size_type;
1: + bool cant_use_aperture;
1: + bool needs_scratch_page;
1: + const struct gatt_mask *masks;
1: + int (*fetch_size)();
1: + int (*configure)();
1: + void (*agp_enable)(struct agp_bridge_data *, u32);
1: + void (*cleanup)();
1: + void (*tlb_flush)(struct agp_memory *);
1: + long unsigned int (*mask_memory)(struct agp_bridge_data *, dma_addr_t, int);
1: + void (*cache_flush)();
1: + int (*create_gatt_table)(struct agp_bridge_data *);
1: + int (*free_gatt_table)(struct agp_bridge_data *);
1: + int (*insert_memory)(struct agp_memory *, off_t, int);
1: + int (*remove_memory)(struct agp_memory *, off_t, int);
1: + struct agp_memory * (*alloc_by_type)(size_t, int);
1: + void (*free_by_type)(struct agp_memory *);
1: + struct page * (*agp_alloc_page)(struct agp_bridge_data *);
1: + int (*agp_alloc_pages)(struct agp_bridge_data *, struct agp_memory *, size_t);
1: + void (*agp_destroy_page)(struct page *, int);
1: + void (*agp_destroy_pages)(struct agp_memory *);
1: + int (*agp_type_to_mask_type)(struct agp_bridge_data *, int);
1: +};
1: +
1: +struct agp_kern_info {
1: + struct agp_version version;
1: + struct pci_dev *device;
1: + enum chipset_type chipset;
1: + long unsigned int mode;
1: + long unsigned int aper_base;
1: + size_t aper_size;
1: + int max_memory;
1: + int current_memory;
1: + bool cant_use_aperture;
1: + long unsigned int page_mask;
1: + const struct vm_operations_struct *vm_ops;
1: +};
1: +
1: +struct agp_info {
1: + struct agp_version version;
1: + u32 bridge_id;
1: + u32 agp_mode;
1: + long unsigned int aper_base;
1: + size_t aper_size;
1: + size_t pg_total;
1: + size_t pg_system;
1: + size_t pg_used;
1: +};
1: +
1: +struct agp_setup {
1: + u32 agp_mode;
1: +};
1: +
1: +struct agp_segment {
1: + off_t pg_start;
1: + size_t pg_count;
1: + int prot;
1: +};
1: +
1: +struct agp_segment_priv {
1: + off_t pg_start;
1: + size_t pg_count;
1: + pgprot_t prot;
1: +};
1: +
1: +struct agp_region {
1: + pid_t pid;
1: + size_t seg_count;
1: + struct agp_segment *seg_list;
1: +};
1: +
1: +struct agp_allocate {
1: + int key;
1: + size_t pg_count;
1: + u32 type;
1: + u32 physical;
1: +};
1: +
1: +struct agp_bind {
1: + int key;
1: + off_t pg_start;
1: +};
1: +
1: +struct agp_unbind {
1: + int key;
1: + u32 priority;
1: +};
1: +
1: +struct agp_client {
1: + struct agp_client *next;
1: + struct agp_client *prev;
1: + pid_t pid;
1: + int num_segments;
1: + struct agp_segment_priv **segments;
1: +};
1: +
1: +struct agp_controller {
1: + struct agp_controller *next;
1: + struct agp_controller *prev;
1: + pid_t pid;
1: + int num_clients;
1: + struct agp_memory *pool;
1: + struct agp_client *clients;
1: +};
1: +
1: +struct agp_file_private {
1: + struct agp_file_private *next;
1: + struct agp_file_private *prev;
1: + pid_t my_pid;
1: + long unsigned int access_flags;
1: +};
1: +
1: +struct agp_front_data {
1: + struct mutex agp_mutex;
1: + struct agp_controller *current_controller;
1: + struct agp_controller *controllers;
1: + struct agp_file_private *file_priv_list;
1: + bool used_by_controller;
1: + bool backend_acquired;
1: +};
1: +
1: +struct aper_size_info_8 {
1: + int size;
1: + int num_entries;
1: + int page_order;
1: + u8 size_value;
1: +};
1: +
1: +struct aper_size_info_16 {
1: + int size;
1: + int num_entries;
1: + int page_order;
1: + u16 size_value;
1: +};
1: +
1: +struct aper_size_info_32 {
1: + int size;
1: + int num_entries;
1: + int page_order;
1: + u32 size_value;
1: +};
1: +
1: +struct aper_size_info_lvl2 {
1: + int size;
1: + int num_entries;
1: + u32 size_value;
1: +};
1: +
1: +struct aper_size_info_fixed {
1: + int size;
1: + int num_entries;
1: + int page_order;
1: +};
1: +
1: +struct agp_3_5_dev {
1: + struct list_head list;
1: + u8 capndx;
1: + u32 maxbw;
1: + struct pci_dev *dev;
1: +};
1: +
1: +struct isoch_data {
1: + u32 maxbw;
1: + u32 n;
1: + u32 y;
1: + u32 l;
1: + u32 rq;
1: + struct agp_3_5_dev *dev;
1: +};
1: +
1: +struct agp_info32 {
1: + struct agp_version version;
1: + u32 bridge_id;
1: + u32 agp_mode;
1: + compat_long_t aper_base;
1: + compat_size_t aper_size;
1: + compat_size_t pg_total;
1: + compat_size_t pg_system;
1: + compat_size_t pg_used;
1: +};
1: +
1: +struct agp_segment32 {
1: + compat_off_t pg_start;
1: + compat_size_t pg_count;
1: + compat_int_t prot;
1: +};
1: +
1: +struct agp_region32 {
1: + compat_pid_t pid;
1: + compat_size_t seg_count;
1: + struct agp_segment32 *seg_list;
1: +};
1: +
1: +struct agp_allocate32 {
1: + compat_int_t key;
1: + compat_size_t pg_count;
1: + u32 type;
1: + u32 physical;
1: +};
1: +
1: +struct agp_bind32 {
1: + compat_int_t key;
1: + compat_off_t pg_start;
1: +};
1: +
1: +struct agp_unbind32 {
1: + compat_int_t key;
1: + u32 priority;
1: +};
1: +
1: +struct intel_agp_driver_description {
1: + unsigned int chip_id;
1: + char *name;
1: + const struct agp_bridge_driver *driver;
1: +};
1: +
1: +struct intel_gtt_driver {
1: + unsigned int gen: 8;
1: + unsigned int is_g33: 1;
1: + unsigned int is_pineview: 1;
1: + unsigned int is_ironlake: 1;
1: + unsigned int has_pgtbl_enable: 1;
1: + unsigned int dma_mask_size: 8;
1: + int (*setup)();
1: + void (*cleanup)();
1: + void (*write_entry)(dma_addr_t, unsigned int, unsigned int);
1: + bool (*check_flags)(unsigned int);
1: + void (*chipset_flush)();
1: +};
1: +
1: +struct _intel_private {
1: + const struct intel_gtt_driver *driver;
1: + struct pci_dev *pcidev;
1: + struct pci_dev *bridge_dev;
1: + u8 *registers;
1: + phys_addr_t gtt_phys_addr;
1: + u32 PGETBL_save;
1: + u32 *gtt;
1: + bool clear_fake_agp;
1: + int num_dcache_entries;
1: + void *i9xx_flush_page;
1: + char *i81x_gtt_table;
1: + struct resource ifp_resource;
1: + int resource_valid;
1: + struct page *scratch_page;
1: + phys_addr_t scratch_page_dma;
1: + int refcount;
1: + unsigned int needs_dmar: 1;
1: + phys_addr_t gma_bus_addr;
1: + resource_size_t stolen_size;
1: + unsigned int gtt_total_entries;
1: + unsigned int gtt_mappable_entries;
1: +};
1: +
1: +struct intel_gtt_driver_description {
1: + unsigned int gmch_chip_id;
1: + char *name;
1: + const struct intel_gtt_driver *gtt_driver;
1: +};
1: +
1: +struct iommu_group {
1: + struct kobject kobj;
1: + struct kobject *devices_kobj;
1: + struct list_head devices;
1: + struct mutex mutex;
1: + struct blocking_notifier_head notifier;
1: + void *iommu_data;
1: + void (*iommu_data_release)(void *);
1: + char *name;
1: + int id;
1: + struct iommu_domain *default_domain;
1: + struct iommu_domain *domain;
1: +};
1: +
1: +typedef unsigned int ioasid_t;
1: +
1: +enum iommu_fault_type {
1: + IOMMU_FAULT_DMA_UNRECOV = 1,
1: + IOMMU_FAULT_PAGE_REQ = 2,
1: +};
1: +
1: +struct iommu_device {
1: + struct list_head list;
1: + const struct iommu_ops *ops;
1: + struct fwnode_handle *fwnode;
1: + struct device *dev;
1: +};
1: +
1: +struct fsl_mc_obj_desc {
1: + char type[16];
1: + int id;
1: + u16 vendor;
1: + u16 ver_major;
1: + u16 ver_minor;
1: + u8 irq_count;
1: + u8 region_count;
1: + u32 state;
1: + char label[16];
1: + u16 flags;
1: +};
1: +
1: +struct fsl_mc_io;
1: +
1: +struct fsl_mc_device_irq;
1: +
1: +struct fsl_mc_resource;
1: +
1: +struct fsl_mc_device {
1: + struct device dev;
1: + u64 dma_mask;
1: + u16 flags;
1: + u16 icid;
1: + u16 mc_handle;
1: + struct fsl_mc_io *mc_io;
1: + struct fsl_mc_obj_desc obj_desc;
1: + struct resource *regions;
1: + struct fsl_mc_device_irq **irqs;
1: + struct fsl_mc_resource *resource;
1: + struct device_link *consumer_link;
1: +};
1: +
1: +enum fsl_mc_pool_type {
1: + FSL_MC_POOL_DPMCP = 0,
1: + FSL_MC_POOL_DPBP = 1,
1: + FSL_MC_POOL_DPCON = 2,
1: + FSL_MC_POOL_IRQ = 3,
1: + FSL_MC_NUM_POOL_TYPES = 4,
1: +};
1: +
1: +struct fsl_mc_resource_pool;
1: +
1: +struct fsl_mc_resource {
1: + enum fsl_mc_pool_type type;
1: + s32 id;
1: + void *data;
1: + struct fsl_mc_resource_pool *parent_pool;
1: + struct list_head node;
1: +};
1: +
1: +struct fsl_mc_device_irq {
1: + struct msi_desc *msi_desc;
1: + struct fsl_mc_device *mc_dev;
1: + u8 dev_irq_index;
1: + struct fsl_mc_resource resource;
1: +};
1: +
1: +struct fsl_mc_io {
1: + struct device *dev;
1: + u16 flags;
1: + u32 portal_size;
1: + phys_addr_t portal_phys_addr;
1: + void *portal_virt_addr;
1: + struct fsl_mc_device *dpmcp_dev;
1: + union {
1: + struct mutex mutex;
1: + spinlock_t spinlock;
1: + };
1: +};
1: +
1: +struct group_device {
1: + struct list_head list;
1: + struct device *dev;
1: + char *name;
1: +};
1: +
1: +struct iommu_group_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct iommu_group *, char *);
1: + ssize_t (*store)(struct iommu_group *, const char *, size_t);
1: +};
1: +
1: +struct group_for_pci_data {
1: + struct pci_dev *pdev;
1: + struct iommu_group *group;
1: +};
1: +
1: +struct trace_event_raw_iommu_group_event {
1: + struct trace_entry ent;
1: + int gid;
1: + u32 __data_loc_device;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_iommu_device_event {
1: + struct trace_entry ent;
1: + u32 __data_loc_device;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_map {
1: + struct trace_entry ent;
1: + u64 iova;
1: + u64 paddr;
1: + size_t size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_unmap {
1: + struct trace_entry ent;
1: + u64 iova;
1: + size_t size;
1: + size_t unmapped_size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_iommu_error {
1: + struct trace_entry ent;
1: + u32 __data_loc_device;
1: + u32 __data_loc_driver;
1: + u64 iova;
1: + int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_iommu_group_event {
1: + u32 device;
1: +};
1: +
1: +struct trace_event_data_offsets_iommu_device_event {
1: + u32 device;
1: +};
1: +
1: +struct trace_event_data_offsets_map {};
1: +
1: +struct trace_event_data_offsets_unmap {};
1: +
1: +struct trace_event_data_offsets_iommu_error {
1: + u32 device;
1: + u32 driver;
1: +};
1: +
1: +struct iova {
1: + struct rb_node node;
1: + long unsigned int pfn_hi;
1: + long unsigned int pfn_lo;
1: +};
1: +
1: +struct iova_magazine;
1: +
1: +struct iova_cpu_rcache;
1: +
1: +struct iova_rcache {
1: + spinlock_t lock;
1: + long unsigned int depot_size;
1: + struct iova_magazine *depot[32];
1: + struct iova_cpu_rcache *cpu_rcaches;
1: +};
1: +
1: +struct iova_domain;
1: +
1: +typedef void (*iova_flush_cb)(struct iova_domain *);
1: +
1: +typedef void (*iova_entry_dtor)(long unsigned int);
1: +
1: +struct iova_fq;
1: +
1: +struct iova_domain {
1: + spinlock_t iova_rbtree_lock;
1: + struct rb_root rbroot;
1: + struct rb_node *cached_node;
1: + struct rb_node *cached32_node;
1: + long unsigned int granule;
1: + long unsigned int start_pfn;
1: + long unsigned int dma_32bit_pfn;
1: + long unsigned int max32_alloc_size;
1: + struct iova_fq *fq;
1: + atomic64_t fq_flush_start_cnt;
1: + atomic64_t fq_flush_finish_cnt;
1: + struct iova anchor;
1: + struct iova_rcache rcaches[6];
1: + iova_flush_cb flush_cb;
1: + iova_entry_dtor entry_dtor;
1: + struct timer_list fq_timer;
1: + atomic_t fq_timer_on;
1: +};
1: +
1: +struct iova_fq_entry {
1: + long unsigned int iova_pfn;
1: + long unsigned int pages;
1: + long unsigned int data;
1: + u64 counter;
1: +};
1: +
1: +struct iova_fq {
1: + struct iova_fq_entry entries[256];
1: + unsigned int head;
1: + unsigned int tail;
1: + spinlock_t lock;
1: +};
1: +
1: +struct iommu_dma_msi_page {
1: + struct list_head list;
1: + dma_addr_t iova;
1: + phys_addr_t phys;
1: +};
1: +
1: +enum iommu_dma_cookie_type {
1: + IOMMU_DMA_IOVA_COOKIE = 0,
1: + IOMMU_DMA_MSI_COOKIE = 1,
1: +};
1: +
1: +struct iommu_dma_cookie {
1: + enum iommu_dma_cookie_type type;
1: + union {
1: + struct iova_domain iovad;
1: + dma_addr_t msi_iova;
1: + };
1: + struct list_head msi_page_list;
1: + struct iommu_domain *fq_domain;
1: +};
1: +
1: +struct iova_magazine {
1: + long unsigned int size;
1: + long unsigned int pfns[128];
1: +};
1: +
1: +struct iova_cpu_rcache {
1: + spinlock_t lock;
1: + struct iova_magazine *loaded;
1: + struct iova_magazine *prev;
1: +};
1: +
1: +struct amd_iommu_device_info {
1: + int max_pasids;
1: + u32 flags;
1: +};
1: +
1: +struct amd_iommu_fault {
1: + u64 address;
1: + u32 pasid;
1: + u16 device_id;
1: + u16 tag;
1: + u16 flags;
1: +};
1: +
1: +struct protection_domain {
1: + struct list_head list;
1: + struct list_head dev_list;
1: + struct iommu_domain domain;
1: + spinlock_t lock;
1: + u16 id;
1: + int mode;
1: + u64 *pt_root;
1: + int glx;
1: + u64 *gcr3_tbl;
1: + long unsigned int flags;
1: + unsigned int dev_cnt;
1: + unsigned int dev_iommu[32];
1: +};
1: +
1: +struct amd_iommu___2 {
1: + struct list_head list;
1: + int index;
1: + raw_spinlock_t lock;
1: + struct pci_dev *dev;
1: + struct pci_dev *root_pdev;
1: + u64 mmio_phys;
1: + u64 mmio_phys_end;
1: + u8 *mmio_base;
1: + u32 cap;
1: + u8 acpi_flags;
1: + u64 features;
1: + bool is_iommu_v2;
1: + u16 devid;
1: + u16 cap_ptr;
1: + u16 pci_seg;
1: + u64 exclusion_start;
1: + u64 exclusion_length;
1: + u8 *cmd_buf;
1: + u32 cmd_buf_head;
1: + u32 cmd_buf_tail;
1: + u8 *evt_buf;
1: + u8 *ppr_log;
1: + u8 *ga_log;
1: + u8 *ga_log_tail;
1: + bool int_enabled;
1: + bool need_sync;
1: + struct iommu_device iommu;
1: + u32 stored_addr_lo;
1: + u32 stored_addr_hi;
1: + u32 stored_l1[108];
1: + u32 stored_l2[131];
1: + u8 max_banks;
1: + u8 max_counters;
1: + u32 flags;
1: + volatile u64 cmd_sem;
1: + struct irq_affinity_notify intcapxt_notify;
1: +};
1: +
1: +struct acpihid_map_entry {
1: + struct list_head list;
1: + u8 uid[256];
1: + u8 hid[9];
1: + u16 devid;
1: + u16 root_devid;
1: + bool cmd_line;
1: + struct iommu_group *group;
1: +};
1: +
1: +struct iommu_dev_data {
1: + spinlock_t lock;
1: + struct list_head list;
1: + struct llist_node dev_data_list;
1: + struct protection_domain *domain;
1: + struct pci_dev *pdev;
1: + u16 devid;
1: + bool iommu_v2;
1: + bool passthrough;
1: + struct {
1: + bool enabled;
1: + int qdep;
1: + } ats;
1: + bool pri_tlp;
1: + u32 errata;
1: + bool use_vapic;
1: + bool defer_attach;
1: + struct ratelimit_state rs;
1: +};
1: +
1: +struct dev_table_entry {
1: + u64 data[4];
1: +};
1: +
1: +struct unity_map_entry {
1: + struct list_head list;
1: + u16 devid_start;
1: + u16 devid_end;
1: + u64 address_start;
1: + u64 address_end;
1: + int prot;
1: +};
1: +
1: +struct iommu_cmd {
1: + u32 data[4];
1: +};
1: +
1: +enum {
1: + IRQ_REMAP_XAPIC_MODE = 0,
1: + IRQ_REMAP_X2APIC_MODE = 1,
1: +};
1: +
1: +struct irq_remap_table {
1: + raw_spinlock_t lock;
1: + unsigned int min_index;
1: + u32 *table;
1: +};
1: +
1: +struct devid_map {
1: + struct list_head list;
1: + u8 id;
1: + u16 devid;
1: + bool cmd_line;
1: +};
1: +
1: +enum amd_iommu_intr_mode_type {
1: + AMD_IOMMU_GUEST_IR_LEGACY = 0,
1: + AMD_IOMMU_GUEST_IR_LEGACY_GA = 1,
1: + AMD_IOMMU_GUEST_IR_VAPIC = 2,
1: +};
1: +
1: +struct ivhd_header {
1: + u8 type;
1: + u8 flags;
1: + u16 length;
1: + u16 devid;
1: + u16 cap_ptr;
1: + u64 mmio_phys;
1: + u16 pci_seg;
1: + u16 info;
1: + u32 efr_attr;
1: + u64 efr_reg;
1: + u64 res;
1: +};
1: +
1: +struct ivhd_entry {
1: + u8 type;
1: + u16 devid;
1: + u8 flags;
1: + u32 ext;
1: + u32 hidh;
1: + u64 cid;
1: + u8 uidf;
1: + u8 uidl;
1: + u8 uid;
1: +} __attribute__((packed));
1: +
1: +struct ivmd_header {
1: + u8 type;
1: + u8 flags;
1: + u16 length;
1: + u16 devid;
1: + u16 aux;
1: + u64 resv;
1: + u64 range_start;
1: + u64 range_length;
1: +};
1: +
1: +enum iommu_init_state {
1: + IOMMU_START_STATE = 0,
1: + IOMMU_IVRS_DETECTED = 1,
1: + IOMMU_ACPI_FINISHED = 2,
1: + IOMMU_ENABLED = 3,
1: + IOMMU_PCI_INIT = 4,
1: + IOMMU_INTERRUPTS_EN = 5,
1: + IOMMU_DMA_OPS = 6,
1: + IOMMU_INITIALIZED = 7,
1: + IOMMU_NOT_FOUND = 8,
1: + IOMMU_INIT_ERROR = 9,
1: + IOMMU_CMDLINE_DISABLED = 10,
1: +};
1: +
1: +struct ivrs_quirk_entry {
1: + u8 id;
1: + u16 devid;
1: +};
1: +
1: +enum {
1: + DELL_INSPIRON_7375 = 0,
1: + DELL_LATITUDE_5495 = 1,
1: + LENOVO_IDEAPAD_330S_15ARR = 2,
1: +};
1: +
1: +struct acpi_table_dmar {
1: + struct acpi_table_header header;
1: + u8 width;
1: + u8 flags;
1: + u8 reserved[10];
1: +};
1: +
1: +struct acpi_dmar_header {
1: + u16 type;
1: + u16 length;
1: +};
1: +
1: +enum acpi_dmar_type {
1: + ACPI_DMAR_TYPE_HARDWARE_UNIT = 0,
1: + ACPI_DMAR_TYPE_RESERVED_MEMORY = 1,
1: + ACPI_DMAR_TYPE_ROOT_ATS = 2,
1: + ACPI_DMAR_TYPE_HARDWARE_AFFINITY = 3,
1: + ACPI_DMAR_TYPE_NAMESPACE = 4,
1: + ACPI_DMAR_TYPE_RESERVED = 5,
1: +};
1: +
1: +struct acpi_dmar_device_scope {
1: + u8 entry_type;
1: + u8 length;
1: + u16 reserved;
1: + u8 enumeration_id;
1: + u8 bus;
1: +};
1: +
1: +enum acpi_dmar_scope_type {
1: + ACPI_DMAR_SCOPE_TYPE_NOT_USED = 0,
1: + ACPI_DMAR_SCOPE_TYPE_ENDPOINT = 1,
1: + ACPI_DMAR_SCOPE_TYPE_BRIDGE = 2,
1: + ACPI_DMAR_SCOPE_TYPE_IOAPIC = 3,
1: + ACPI_DMAR_SCOPE_TYPE_HPET = 4,
1: + ACPI_DMAR_SCOPE_TYPE_NAMESPACE = 5,
1: + ACPI_DMAR_SCOPE_TYPE_RESERVED = 6,
1: +};
1: +
1: +struct acpi_dmar_pci_path {
1: + u8 device;
1: + u8 function;
1: +};
1: +
1: +struct acpi_dmar_hardware_unit {
1: + struct acpi_dmar_header header;
1: + u8 flags;
1: + u8 reserved;
1: + u16 segment;
1: + u64 address;
1: +};
1: +
1: +struct acpi_dmar_reserved_memory {
1: + struct acpi_dmar_header header;
1: + u16 reserved;
1: + u16 segment;
1: + u64 base_address;
1: + u64 end_address;
1: +};
1: +
1: +struct acpi_dmar_atsr {
1: + struct acpi_dmar_header header;
1: + u8 flags;
1: + u8 reserved;
1: + u16 segment;
1: +};
1: +
1: +struct acpi_dmar_rhsa {
1: + struct acpi_dmar_header header;
1: + u32 reserved;
1: + u64 base_address;
1: + u32 proximity_domain;
1: +} __attribute__((packed));
1: +
1: +struct acpi_dmar_andd {
1: + struct acpi_dmar_header header;
1: + u8 reserved[3];
1: + u8 device_number;
1: + char device_name[1];
1: +} __attribute__((packed));
1: +
1: +struct dmar_dev_scope {
1: + struct device *dev;
1: + u8 bus;
1: + u8 devfn;
1: +};
1: +
1: +struct intel_iommu;
1: +
1: +struct dmar_drhd_unit {
1: + struct list_head list;
1: + struct acpi_dmar_header *hdr;
1: + u64 reg_base_addr;
1: + struct dmar_dev_scope *devices;
1: + int devices_cnt;
1: + u16 segment;
1: + u8 ignored: 1;
1: + u8 include_all: 1;
1: + struct intel_iommu *iommu;
1: +};
1: +
1: +struct iommu_flush {
1: + void (*flush_context)(struct intel_iommu *, u16, u16, u8, u64);
1: + void (*flush_iotlb)(struct intel_iommu *, u16, u64, unsigned int, u64);
1: +};
1: +
1: +struct dmar_domain;
1: +
1: +struct root_entry;
1: +
1: +struct q_inval;
1: +
1: +struct intel_iommu {
1: + void *reg;
1: + u64 reg_phys;
1: + u64 reg_size;
1: + u64 cap;
1: + u64 ecap;
1: + u32 gcmd;
1: + raw_spinlock_t register_lock;
1: + int seq_id;
1: + int agaw;
1: + int msagaw;
1: + unsigned int irq;
1: + unsigned int pr_irq;
1: + u16 segment;
1: + unsigned char name[13];
1: + long unsigned int *domain_ids;
1: + struct dmar_domain ***domains;
1: + spinlock_t lock;
1: + struct root_entry *root_entry;
1: + struct iommu_flush flush;
1: + struct q_inval *qi;
1: + u32 *iommu_state;
1: + struct iommu_device iommu;
1: + int node;
1: + u32 flags;
1: +};
1: +
1: +struct dmar_pci_path {
1: + u8 bus;
1: + u8 device;
1: + u8 function;
1: +};
1: +
1: +struct dmar_pci_notify_info {
1: + struct pci_dev *dev;
1: + long unsigned int event;
1: + int bus;
1: + u16 seg;
1: + u16 level;
1: + struct dmar_pci_path path[0];
1: +};
1: +
1: +enum {
1: + QI_FREE = 0,
1: + QI_IN_USE = 1,
1: + QI_DONE = 2,
1: + QI_ABORT = 3,
1: +};
1: +
1: +struct qi_desc {
1: + u64 qw0;
1: + u64 qw1;
1: + u64 qw2;
1: + u64 qw3;
1: +};
1: +
1: +struct q_inval {
1: + raw_spinlock_t q_lock;
1: + void *desc;
1: + int *desc_status;
1: + int free_head;
1: + int free_tail;
1: + int free_cnt;
1: +};
1: +
1: +struct root_entry {
1: + u64 lo;
1: + u64 hi;
1: +};
1: +
1: +struct dma_pte;
1: +
1: +struct dmar_domain {
1: + int nid;
1: + unsigned int iommu_refcnt[128];
1: + u16 iommu_did[128];
1: + unsigned int auxd_refcnt;
1: + bool has_iotlb_device;
1: + struct list_head devices;
1: + struct list_head auxd;
1: + struct iova_domain iovad;
1: + struct dma_pte *pgd;
1: + int gaw;
1: + int agaw;
1: + int flags;
1: + int iommu_coherency;
1: + int iommu_snooping;
1: + int iommu_count;
1: + int iommu_superpage;
1: + u64 max_addr;
1: + int default_pasid;
1: + struct iommu_domain domain;
1: +};
1: +
1: +struct dma_pte {
1: + u64 val;
1: +};
1: +
1: +typedef int (*dmar_res_handler_t)(struct acpi_dmar_header *, void *);
1: +
1: +struct dmar_res_callback {
1: + dmar_res_handler_t cb[5];
1: + void *arg[5];
1: + bool ignore_unhandled;
1: + bool print_entry;
1: +};
1: +
1: +enum faulttype {
1: + DMA_REMAP = 0,
1: + INTR_REMAP = 1,
1: + UNKNOWN = 2,
1: +};
1: +
1: +struct memory_notify {
1: + long unsigned int start_pfn;
1: + long unsigned int nr_pages;
1: + int status_change_nid_normal;
1: + int status_change_nid_high;
1: + int status_change_nid;
1: +};
1: +
1: +enum {
1: + SR_DMAR_FECTL_REG = 0,
1: + SR_DMAR_FEDATA_REG = 1,
1: + SR_DMAR_FEADDR_REG = 2,
1: + SR_DMAR_FEUADDR_REG = 3,
1: + MAX_SR_DMAR_REGS = 4,
1: +};
1: +
1: +struct context_entry {
1: + u64 lo;
1: + u64 hi;
1: +};
1: +
1: +struct pasid_table;
1: +
1: +struct device_domain_info {
1: + struct list_head link;
1: + struct list_head global;
1: + struct list_head table;
1: + struct list_head auxiliary_domains;
1: + u8 bus;
1: + u8 devfn;
1: + u16 pfsid;
1: + u8 pasid_supported: 3;
1: + u8 pasid_enabled: 1;
1: + u8 pri_supported: 1;
1: + u8 pri_enabled: 1;
1: + u8 ats_supported: 1;
1: + u8 ats_enabled: 1;
1: + u8 auxd_enabled: 1;
1: + u8 ats_qdep;
1: + struct device *dev;
1: + struct intel_iommu *iommu;
1: + struct dmar_domain *domain;
1: + struct pasid_table *pasid_table;
1: +};
1: +
1: +struct pasid_table {
1: + void *table;
1: + int order;
1: + int max_pasid;
1: + struct list_head dev;
1: +};
1: +
1: +struct dmar_rmrr_unit {
1: + struct list_head list;
1: + struct acpi_dmar_header *hdr;
1: + u64 base_address;
1: + u64 end_address;
1: + struct dmar_dev_scope *devices;
1: + int devices_cnt;
1: +};
1: +
1: +struct dmar_atsr_unit {
1: + struct list_head list;
1: + struct acpi_dmar_header *hdr;
1: + struct dmar_dev_scope *devices;
1: + int devices_cnt;
1: + u8 include_all: 1;
1: +};
1: +
1: +struct domain_context_mapping_data {
1: + struct dmar_domain *domain;
1: + struct intel_iommu *iommu;
1: + struct pasid_table *table;
1: +};
1: +
1: +struct pasid_dir_entry {
1: + u64 val;
1: +};
1: +
1: +struct pasid_entry {
1: + u64 val[8];
1: +};
1: +
1: +struct pasid_table_opaque {
1: + struct pasid_table **pasid_table;
1: + int segment;
1: + int bus;
1: + int devfn;
1: +};
1: +
1: +struct trace_event_raw_dma_map {
1: + struct trace_entry ent;
1: + u32 __data_loc_dev_name;
1: + dma_addr_t dev_addr;
1: + phys_addr_t phys_addr;
1: + size_t size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_dma_unmap {
1: + struct trace_entry ent;
1: + u32 __data_loc_dev_name;
1: + dma_addr_t dev_addr;
1: + size_t size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_dma_map {
1: + u32 dev_name;
1: +};
1: +
1: +struct trace_event_data_offsets_dma_unmap {
1: + u32 dev_name;
1: +};
1: +
1: +struct i2c_msg {
1: + __u16 addr;
1: + __u16 flags;
1: + __u16 len;
1: + __u8 *buf;
1: +};
1: +
1: +union i2c_smbus_data {
1: + __u8 byte;
1: + __u16 word;
1: + __u8 block[34];
1: +};
1: +
1: +struct i2c_algorithm;
1: +
1: +struct i2c_lock_operations;
1: +
1: +struct i2c_bus_recovery_info;
1: +
1: +struct i2c_adapter_quirks;
1: +
1: +struct i2c_adapter {
1: + struct module *owner;
1: + unsigned int class;
1: + const struct i2c_algorithm *algo;
1: + void *algo_data;
1: + const struct i2c_lock_operations *lock_ops;
1: + struct rt_mutex bus_lock;
1: + struct rt_mutex mux_lock;
1: + int timeout;
1: + int retries;
1: + struct device dev;
1: + long unsigned int locked_flags;
1: + int nr;
1: + char name[48];
1: + struct completion dev_released;
1: + struct mutex userspace_clients_lock;
1: + struct list_head userspace_clients;
1: + struct i2c_bus_recovery_info *bus_recovery_info;
1: + const struct i2c_adapter_quirks *quirks;
1: + struct irq_domain *host_notify_domain;
1: +};
1: +
1: +struct i2c_algorithm {
1: + int (*master_xfer)(struct i2c_adapter *, struct i2c_msg *, int);
1: + int (*master_xfer_atomic)(struct i2c_adapter *, struct i2c_msg *, int);
1: + int (*smbus_xfer)(struct i2c_adapter *, u16, short unsigned int, char, u8, int, union i2c_smbus_data *);
1: + int (*smbus_xfer_atomic)(struct i2c_adapter *, u16, short unsigned int, char, u8, int, union i2c_smbus_data *);
1: + u32 (*functionality)(struct i2c_adapter *);
1: +};
1: +
1: +struct i2c_lock_operations {
1: + void (*lock_bus)(struct i2c_adapter *, unsigned int);
1: + int (*trylock_bus)(struct i2c_adapter *, unsigned int);
1: + void (*unlock_bus)(struct i2c_adapter *, unsigned int);
1: +};
1: +
1: +struct i2c_bus_recovery_info {
1: + int (*recover_bus)(struct i2c_adapter *);
1: + int (*get_scl)(struct i2c_adapter *);
1: + void (*set_scl)(struct i2c_adapter *, int);
1: + int (*get_sda)(struct i2c_adapter *);
1: + void (*set_sda)(struct i2c_adapter *, int);
1: + int (*get_bus_free)(struct i2c_adapter *);
1: + void (*prepare_recovery)(struct i2c_adapter *);
1: + void (*unprepare_recovery)(struct i2c_adapter *);
1: + struct gpio_desc *scl_gpiod;
1: + struct gpio_desc *sda_gpiod;
1: +};
1: +
1: +struct i2c_adapter_quirks {
1: + u64 flags;
1: + int max_num_msgs;
1: + u16 max_write_len;
1: + u16 max_read_len;
1: + u16 max_comb_1st_msg_len;
1: + u16 max_comb_2nd_msg_len;
1: +};
1: +
1: +struct hdr_static_metadata {
1: + __u8 eotf;
1: + __u8 metadata_type;
1: + __u16 max_cll;
1: + __u16 max_fall;
1: + __u16 min_cll;
1: +};
1: +
1: +struct hdr_sink_metadata {
1: + __u32 metadata_type;
1: + union {
1: + struct hdr_static_metadata hdmi_type1;
1: + };
1: +};
1: +
1: +typedef unsigned int drm_magic_t;
1: +
1: +struct drm_clip_rect {
1: + short unsigned int x1;
1: + short unsigned int y1;
1: + short unsigned int x2;
1: + short unsigned int y2;
1: +};
1: +
1: +struct drm_event {
1: + __u32 type;
1: + __u32 length;
1: +};
1: +
1: +struct drm_event_vblank {
1: + struct drm_event base;
1: + __u64 user_data;
1: + __u32 tv_sec;
1: + __u32 tv_usec;
1: + __u32 sequence;
1: + __u32 crtc_id;
1: +};
1: +
1: +struct drm_event_crtc_sequence {
1: + struct drm_event base;
1: + __u64 user_data;
1: + __s64 time_ns;
1: + __u64 sequence;
1: +};
1: +
1: +enum drm_mode_subconnector {
1: + DRM_MODE_SUBCONNECTOR_Automatic = 0,
1: + DRM_MODE_SUBCONNECTOR_Unknown = 0,
1: + DRM_MODE_SUBCONNECTOR_DVID = 3,
1: + DRM_MODE_SUBCONNECTOR_DVIA = 4,
1: + DRM_MODE_SUBCONNECTOR_Composite = 5,
1: + DRM_MODE_SUBCONNECTOR_SVIDEO = 6,
1: + DRM_MODE_SUBCONNECTOR_Component = 8,
1: + DRM_MODE_SUBCONNECTOR_SCART = 9,
1: +};
1: +
1: +struct drm_mode_fb_cmd2 {
1: + __u32 fb_id;
1: + __u32 width;
1: + __u32 height;
1: + __u32 pixel_format;
1: + __u32 flags;
1: + __u32 handles[4];
1: + __u32 pitches[4];
1: + __u32 offsets[4];
1: + __u64 modifier[4];
1: +};
1: +
1: +struct drm_mode_create_dumb {
1: + __u32 height;
1: + __u32 width;
1: + __u32 bpp;
1: + __u32 flags;
1: + __u32 handle;
1: + __u32 pitch;
1: + __u64 size;
1: +};
1: +
1: +struct drm_modeset_lock;
1: +
1: +struct drm_modeset_acquire_ctx {
1: + struct ww_acquire_ctx ww_ctx;
1: + struct drm_modeset_lock *contended;
1: + struct list_head locked;
1: + bool trylock_only;
1: + bool interruptible;
1: +};
1: +
1: +struct drm_modeset_lock {
1: + struct ww_mutex mutex;
1: + struct list_head head;
1: +};
1: +
1: +struct drm_rect {
1: + int x1;
1: + int y1;
1: + int x2;
1: + int y2;
1: +};
1: +
1: +struct drm_object_properties;
1: +
1: +struct drm_mode_object {
1: + uint32_t id;
1: + uint32_t type;
1: + struct drm_object_properties *properties;
1: + struct kref refcount;
1: + void (*free_cb)(struct kref *);
1: +};
1: +
1: +struct drm_property;
1: +
1: +struct drm_object_properties {
1: + int count;
1: + struct drm_property *properties[24];
1: + uint64_t values[24];
1: +};
1: +
1: +struct drm_device;
1: +
1: +struct drm_property {
1: + struct list_head head;
1: + struct drm_mode_object base;
1: + uint32_t flags;
1: + char name[32];
1: + uint32_t num_values;
1: + uint64_t *values;
1: + struct drm_device *dev;
1: + struct list_head enum_list;
1: +};
1: +
1: +struct drm_framebuffer;
1: +
1: +struct drm_file;
1: +
1: +struct drm_framebuffer_funcs {
1: + void (*destroy)(struct drm_framebuffer *);
1: + int (*create_handle)(struct drm_framebuffer *, struct drm_file *, unsigned int *);
1: + int (*dirty)(struct drm_framebuffer *, struct drm_file *, unsigned int, unsigned int, struct drm_clip_rect *, unsigned int);
1: +};
1: +
1: +struct drm_format_info;
1: +
1: +struct drm_gem_object;
1: +
1: +struct drm_framebuffer {
1: + struct drm_device *dev;
1: + struct list_head head;
1: + struct drm_mode_object base;
1: + char comm[16];
1: + const struct drm_format_info *format;
1: + const struct drm_framebuffer_funcs *funcs;
1: + unsigned int pitches[4];
1: + unsigned int offsets[4];
1: + uint64_t modifier;
1: + unsigned int width;
1: + unsigned int height;
1: + int flags;
1: + int hot_x;
1: + int hot_y;
1: + struct list_head filp_head;
1: + struct drm_gem_object *obj[4];
1: +};
1: +
1: +struct drm_prime_file_private {
1: + struct mutex lock;
1: + struct rb_root dmabufs;
1: + struct rb_root handles;
1: +};
1: +
1: +struct drm_master;
1: +
1: +struct drm_minor;
1: +
1: +struct drm_file {
1: + bool authenticated;
1: + bool stereo_allowed;
1: + bool universal_planes;
1: + bool atomic;
1: + bool aspect_ratio_allowed;
1: + bool writeback_connectors;
1: + bool is_master;
1: + struct drm_master *master;
1: + struct pid *pid;
1: + drm_magic_t magic;
1: + struct list_head lhead;
1: + struct drm_minor *minor;
1: + struct idr object_idr;
1: + spinlock_t table_lock;
1: + struct idr syncobj_idr;
1: + spinlock_t syncobj_table_lock;
1: + struct file *filp;
1: + void *driver_priv;
1: + struct list_head fbs;
1: + struct mutex fbs_lock;
1: + struct list_head blobs;
1: + wait_queue_head_t event_wait;
1: + struct list_head pending_event_list;
1: + struct list_head event_list;
1: + int event_space;
1: + struct mutex event_read_lock;
1: + struct drm_prime_file_private prime;
1: +};
1: +
1: +struct drm_mode_config_funcs;
1: +
1: +struct drm_atomic_state;
1: +
1: +struct drm_mode_config_helper_funcs;
1: +
1: +struct drm_mode_config {
1: + struct mutex mutex;
1: + struct drm_modeset_lock connection_mutex;
1: + struct drm_modeset_acquire_ctx *acquire_ctx;
1: + struct mutex idr_mutex;
1: + struct idr object_idr;
1: + struct idr tile_idr;
1: + struct mutex fb_lock;
1: + int num_fb;
1: + struct list_head fb_list;
1: + spinlock_t connector_list_lock;
1: + int num_connector;
1: + struct ida connector_ida;
1: + struct list_head connector_list;
1: + struct llist_head connector_free_list;
1: + struct work_struct connector_free_work;
1: + int num_encoder;
1: + struct list_head encoder_list;
1: + int num_total_plane;
1: + struct list_head plane_list;
1: + int num_crtc;
1: + struct list_head crtc_list;
1: + struct list_head property_list;
1: + struct list_head privobj_list;
1: + int min_width;
1: + int min_height;
1: + int max_width;
1: + int max_height;
1: + const struct drm_mode_config_funcs *funcs;
1: + resource_size_t fb_base;
1: + bool poll_enabled;
1: + bool poll_running;
1: + bool delayed_event;
1: + struct delayed_work output_poll_work;
1: + struct mutex blob_lock;
1: + struct list_head property_blob_list;
1: + struct drm_property *edid_property;
1: + struct drm_property *dpms_property;
1: + struct drm_property *path_property;
1: + struct drm_property *tile_property;
1: + struct drm_property *link_status_property;
1: + struct drm_property *plane_type_property;
1: + struct drm_property *prop_src_x;
1: + struct drm_property *prop_src_y;
1: + struct drm_property *prop_src_w;
1: + struct drm_property *prop_src_h;
1: + struct drm_property *prop_crtc_x;
1: + struct drm_property *prop_crtc_y;
1: + struct drm_property *prop_crtc_w;
1: + struct drm_property *prop_crtc_h;
1: + struct drm_property *prop_fb_id;
1: + struct drm_property *prop_in_fence_fd;
1: + struct drm_property *prop_out_fence_ptr;
1: + struct drm_property *prop_crtc_id;
1: + struct drm_property *prop_fb_damage_clips;
1: + struct drm_property *prop_active;
1: + struct drm_property *prop_mode_id;
1: + struct drm_property *prop_vrr_enabled;
1: + struct drm_property *dvi_i_subconnector_property;
1: + struct drm_property *dvi_i_select_subconnector_property;
1: + struct drm_property *tv_subconnector_property;
1: + struct drm_property *tv_select_subconnector_property;
1: + struct drm_property *tv_mode_property;
1: + struct drm_property *tv_left_margin_property;
1: + struct drm_property *tv_right_margin_property;
1: + struct drm_property *tv_top_margin_property;
1: + struct drm_property *tv_bottom_margin_property;
1: + struct drm_property *tv_brightness_property;
1: + struct drm_property *tv_contrast_property;
1: + struct drm_property *tv_flicker_reduction_property;
1: + struct drm_property *tv_overscan_property;
1: + struct drm_property *tv_saturation_property;
1: + struct drm_property *tv_hue_property;
1: + struct drm_property *scaling_mode_property;
1: + struct drm_property *aspect_ratio_property;
1: + struct drm_property *content_type_property;
1: + struct drm_property *degamma_lut_property;
1: + struct drm_property *degamma_lut_size_property;
1: + struct drm_property *ctm_property;
1: + struct drm_property *gamma_lut_property;
1: + struct drm_property *gamma_lut_size_property;
1: + struct drm_property *suggested_x_property;
1: + struct drm_property *suggested_y_property;
1: + struct drm_property *non_desktop_property;
1: + struct drm_property *panel_orientation_property;
1: + struct drm_property *writeback_fb_id_property;
1: + struct drm_property *writeback_pixel_formats_property;
1: + struct drm_property *writeback_out_fence_ptr_property;
1: + struct drm_property *hdr_output_metadata_property;
1: + struct drm_property *content_protection_property;
1: + struct drm_property *hdcp_content_type_property;
1: + uint32_t preferred_depth;
1: + uint32_t prefer_shadow;
1: + bool prefer_shadow_fbdev;
1: + bool quirk_addfb_prefer_xbgr_30bpp;
1: + bool quirk_addfb_prefer_host_byte_order;
1: + bool async_page_flip;
1: + bool allow_fb_modifiers;
1: + bool normalize_zpos;
1: + struct drm_property *modifiers_property;
1: + uint32_t cursor_width;
1: + uint32_t cursor_height;
1: + struct drm_atomic_state *suspend_state;
1: + const struct drm_mode_config_helper_funcs *helper_private;
1: +};
1: +
1: +struct drm_vram_mm;
1: +
1: +enum switch_power_state {
1: + DRM_SWITCH_POWER_ON = 0,
1: + DRM_SWITCH_POWER_OFF = 1,
1: + DRM_SWITCH_POWER_CHANGING = 2,
1: + DRM_SWITCH_POWER_DYNAMIC_OFF = 3,
1: +};
1: +
1: +struct drm_driver;
1: +
1: +struct drm_vblank_crtc;
1: +
1: +struct drm_agp_head;
1: +
1: +struct drm_vma_offset_manager;
1: +
1: +struct drm_fb_helper;
1: +
1: +struct drm_device {
1: + struct list_head legacy_dev_list;
1: + int if_version;
1: + struct kref ref;
1: + struct device *dev;
1: + struct drm_driver *driver;
1: + void *dev_private;
1: + struct drm_minor *primary;
1: + struct drm_minor *render;
1: + bool registered;
1: + struct drm_master *master;
1: + u32 driver_features;
1: + bool unplugged;
1: + struct inode *anon_inode;
1: + char *unique;
1: + struct mutex struct_mutex;
1: + struct mutex master_mutex;
1: + int open_count;
1: + struct mutex filelist_mutex;
1: + struct list_head filelist;
1: + struct list_head filelist_internal;
1: + struct mutex clientlist_mutex;
1: + struct list_head clientlist;
1: + bool irq_enabled;
1: + int irq;
1: + bool vblank_disable_immediate;
1: + struct drm_vblank_crtc *vblank;
1: + spinlock_t vblank_time_lock;
1: + spinlock_t vbl_lock;
1: + u32 max_vblank_count;
1: + struct list_head vblank_event_list;
1: + spinlock_t event_lock;
1: + struct drm_agp_head *agp;
1: + struct pci_dev *pdev;
1: + unsigned int num_crtcs;
1: + struct drm_mode_config mode_config;
1: + struct mutex object_name_lock;
1: + struct idr object_name_idr;
1: + struct drm_vma_offset_manager *vma_offset_manager;
1: + struct drm_vram_mm *vram_mm;
1: + enum switch_power_state switch_power_state;
1: + struct drm_fb_helper *fb_helper;
1: +};
1: +
1: +struct drm_format_info {
1: + u32 format;
1: + u8 depth;
1: + u8 num_planes;
1: + union {
1: + u8 cpp[3];
1: + u8 char_per_block[3];
1: + };
1: + u8 block_w[3];
1: + u8 block_h[3];
1: + u8 hsub;
1: + u8 vsub;
1: + bool has_alpha;
1: + bool is_yuv;
1: +};
1: +
1: +enum drm_connector_force {
1: + DRM_FORCE_UNSPECIFIED = 0,
1: + DRM_FORCE_OFF = 1,
1: + DRM_FORCE_ON = 2,
1: + DRM_FORCE_ON_DIGITAL = 3,
1: +};
1: +
1: +enum drm_connector_status {
1: + connector_status_connected = 1,
1: + connector_status_disconnected = 2,
1: + connector_status_unknown = 3,
1: +};
1: +
1: +enum drm_connector_registration_state {
1: + DRM_CONNECTOR_INITIALIZING = 0,
1: + DRM_CONNECTOR_REGISTERED = 1,
1: + DRM_CONNECTOR_UNREGISTERED = 2,
1: +};
1: +
1: +enum subpixel_order {
1: + SubPixelUnknown = 0,
1: + SubPixelHorizontalRGB = 1,
1: + SubPixelHorizontalBGR = 2,
1: + SubPixelVerticalRGB = 3,
1: + SubPixelVerticalBGR = 4,
1: + SubPixelNone = 5,
1: +};
1: +
1: +struct drm_scrambling {
1: + bool supported;
1: + bool low_rates;
1: +};
1: +
1: +struct drm_scdc {
1: + bool supported;
1: + bool read_request;
1: + struct drm_scrambling scrambling;
1: +};
1: +
1: +struct drm_hdmi_info {
1: + struct drm_scdc scdc;
1: + long unsigned int y420_vdb_modes[2];
1: + long unsigned int y420_cmdb_modes[2];
1: + u64 y420_cmdb_map;
1: + u8 y420_dc_modes;
1: +};
1: +
1: +enum drm_link_status {
1: + DRM_LINK_STATUS_GOOD = 0,
1: + DRM_LINK_STATUS_BAD = 1,
1: +};
1: +
1: +struct drm_display_info {
1: + unsigned int width_mm;
1: + unsigned int height_mm;
1: + unsigned int bpc;
1: + enum subpixel_order subpixel_order;
1: + int panel_orientation;
1: + u32 color_formats;
1: + const u32 *bus_formats;
1: + unsigned int num_bus_formats;
1: + u32 bus_flags;
1: + int max_tmds_clock;
1: + bool dvi_dual;
1: + bool has_hdmi_infoframe;
1: + bool rgb_quant_range_selectable;
1: + u8 edid_hdmi_dc_modes;
1: + u8 cea_rev;
1: + struct drm_hdmi_info hdmi;
1: + bool non_desktop;
1: +};
1: +
1: +struct drm_connector_tv_margins {
1: + unsigned int bottom;
1: + unsigned int left;
1: + unsigned int right;
1: + unsigned int top;
1: +};
1: +
1: +struct drm_tv_connector_state {
1: + enum drm_mode_subconnector subconnector;
1: + struct drm_connector_tv_margins margins;
1: + unsigned int mode;
1: + unsigned int brightness;
1: + unsigned int contrast;
1: + unsigned int flicker_reduction;
1: + unsigned int overscan;
1: + unsigned int saturation;
1: + unsigned int hue;
1: +};
1: +
1: +struct drm_connector;
1: +
1: +struct drm_crtc;
1: +
1: +struct drm_encoder;
1: +
1: +struct drm_crtc_commit;
1: +
1: +struct drm_writeback_job;
1: +
1: +struct drm_property_blob;
1: +
1: +struct drm_connector_state {
1: + struct drm_connector *connector;
1: + struct drm_crtc *crtc;
1: + struct drm_encoder *best_encoder;
1: + enum drm_link_status link_status;
1: + struct drm_atomic_state *state;
1: + struct drm_crtc_commit *commit;
1: + struct drm_tv_connector_state tv;
1: + bool self_refresh_aware;
1: + enum hdmi_picture_aspect picture_aspect_ratio;
1: + unsigned int content_type;
1: + unsigned int hdcp_content_type;
1: + unsigned int scaling_mode;
1: + unsigned int content_protection;
1: + u32 colorspace;
1: + struct drm_writeback_job *writeback_job;
1: + u8 max_requested_bpc;
1: + u8 max_bpc;
1: + struct drm_property_blob *hdr_output_metadata;
1: +};
1: +
1: +struct drm_cmdline_mode {
1: + char name[32];
1: + bool specified;
1: + bool refresh_specified;
1: + bool bpp_specified;
1: + int xres;
1: + int yres;
1: + int bpp;
1: + int refresh;
1: + bool rb;
1: + bool interlace;
1: + bool cvt;
1: + bool margins;
1: + enum drm_connector_force force;
1: + unsigned int rotation_reflection;
1: + struct drm_connector_tv_margins tv_margins;
1: +};
1: +
1: +struct drm_connector_funcs;
1: +
1: +struct drm_connector_helper_funcs;
1: +
1: +struct drm_tile_group;
1: +
1: +struct drm_connector {
1: + struct drm_device *dev;
1: + struct device *kdev;
1: + struct device_attribute *attr;
1: + struct list_head head;
1: + struct drm_mode_object base;
1: + char *name;
1: + struct mutex mutex;
1: + unsigned int index;
1: + int connector_type;
1: + int connector_type_id;
1: + bool interlace_allowed;
1: + bool doublescan_allowed;
1: + bool stereo_allowed;
1: + bool ycbcr_420_allowed;
1: + enum drm_connector_registration_state registration_state;
1: + struct list_head modes;
1: + enum drm_connector_status status;
1: + struct list_head probed_modes;
1: + struct drm_display_info display_info;
1: + const struct drm_connector_funcs *funcs;
1: + struct drm_property_blob *edid_blob_ptr;
1: + struct drm_object_properties properties;
1: + struct drm_property *scaling_mode_property;
1: + struct drm_property *vrr_capable_property;
1: + struct drm_property *colorspace_property;
1: + struct drm_property_blob *path_blob_ptr;
1: + struct drm_property *max_bpc_property;
1: + uint8_t polled;
1: + int dpms;
1: + const struct drm_connector_helper_funcs *helper_private;
1: + struct drm_cmdline_mode cmdline_mode;
1: + enum drm_connector_force force;
1: + bool override_edid;
1: + u32 possible_encoders;
1: + struct drm_encoder *encoder;
1: + uint8_t eld[128];
1: + bool latency_present[2];
1: + int video_latency[2];
1: + int audio_latency[2];
1: + struct i2c_adapter *ddc;
1: + int null_edid_counter;
1: + unsigned int bad_edid_counter;
1: + bool edid_corrupt;
1: + struct dentry *debugfs_entry;
1: + struct drm_connector_state *state;
1: + struct drm_property_blob *tile_blob_ptr;
1: + bool has_tile;
1: + struct drm_tile_group *tile_group;
1: + bool tile_is_single_monitor;
1: + uint8_t num_h_tile;
1: + uint8_t num_v_tile;
1: + uint8_t tile_h_loc;
1: + uint8_t tile_v_loc;
1: + uint16_t tile_h_size;
1: + uint16_t tile_v_size;
1: + struct llist_node free_node;
1: + struct hdr_sink_metadata hdr_sink_metadata;
1: +};
1: +
1: +enum drm_mode_status {
1: + MODE_OK = 0,
1: + MODE_HSYNC = 1,
1: + MODE_VSYNC = 2,
1: + MODE_H_ILLEGAL = 3,
1: + MODE_V_ILLEGAL = 4,
1: + MODE_BAD_WIDTH = 5,
1: + MODE_NOMODE = 6,
1: + MODE_NO_INTERLACE = 7,
1: + MODE_NO_DBLESCAN = 8,
1: + MODE_NO_VSCAN = 9,
1: + MODE_MEM = 10,
1: + MODE_VIRTUAL_X = 11,
1: + MODE_VIRTUAL_Y = 12,
1: + MODE_MEM_VIRT = 13,
1: + MODE_NOCLOCK = 14,
1: + MODE_CLOCK_HIGH = 15,
1: + MODE_CLOCK_LOW = 16,
1: + MODE_CLOCK_RANGE = 17,
1: + MODE_BAD_HVALUE = 18,
1: + MODE_BAD_VVALUE = 19,
1: + MODE_BAD_VSCAN = 20,
1: + MODE_HSYNC_NARROW = 21,
1: + MODE_HSYNC_WIDE = 22,
1: + MODE_HBLANK_NARROW = 23,
1: + MODE_HBLANK_WIDE = 24,
1: + MODE_VSYNC_NARROW = 25,
1: + MODE_VSYNC_WIDE = 26,
1: + MODE_VBLANK_NARROW = 27,
1: + MODE_VBLANK_WIDE = 28,
1: + MODE_PANEL = 29,
1: + MODE_INTERLACE_WIDTH = 30,
1: + MODE_ONE_WIDTH = 31,
1: + MODE_ONE_HEIGHT = 32,
1: + MODE_ONE_SIZE = 33,
1: + MODE_NO_REDUCED = 34,
1: + MODE_NO_STEREO = 35,
1: + MODE_NO_420 = 36,
1: + MODE_STALE = -3,
1: + MODE_BAD = -2,
1: + MODE_ERROR = -1,
1: +};
1: +
1: +struct drm_display_mode {
1: + struct list_head head;
1: + char name[32];
1: + enum drm_mode_status status;
1: + unsigned int type;
1: + int clock;
1: + int hdisplay;
1: + int hsync_start;
1: + int hsync_end;
1: + int htotal;
1: + int hskew;
1: + int vdisplay;
1: + int vsync_start;
1: + int vsync_end;
1: + int vtotal;
1: + int vscan;
1: + unsigned int flags;
1: + int width_mm;
1: + int height_mm;
1: + int crtc_clock;
1: + int crtc_hdisplay;
1: + int crtc_hblank_start;
1: + int crtc_hblank_end;
1: + int crtc_hsync_start;
1: + int crtc_hsync_end;
1: + int crtc_htotal;
1: + int crtc_hskew;
1: + int crtc_vdisplay;
1: + int crtc_vblank_start;
1: + int crtc_vblank_end;
1: + int crtc_vsync_start;
1: + int crtc_vsync_end;
1: + int crtc_vtotal;
1: + int *private;
1: + int private_flags;
1: + int vrefresh;
1: + int hsync;
1: + enum hdmi_picture_aspect picture_aspect_ratio;
1: + struct list_head export_head;
1: +};
1: +
1: +struct drm_crtc_crc_entry;
1: +
1: +struct drm_crtc_crc {
1: + spinlock_t lock;
1: + const char *source;
1: + bool opened;
1: + bool overflow;
1: + struct drm_crtc_crc_entry *entries;
1: + int head;
1: + int tail;
1: + size_t values_cnt;
1: + wait_queue_head_t wq;
1: +};
1: +
1: +struct drm_plane;
1: +
1: +struct drm_crtc_funcs;
1: +
1: +struct drm_crtc_helper_funcs;
1: +
1: +struct drm_crtc_state;
1: +
1: +struct drm_self_refresh_data;
1: +
1: +struct drm_crtc {
1: + struct drm_device *dev;
1: + struct device_node *port;
1: + struct list_head head;
1: + char *name;
1: + struct drm_modeset_lock mutex;
1: + struct drm_mode_object base;
1: + struct drm_plane *primary;
1: + struct drm_plane *cursor;
1: + unsigned int index;
1: + int cursor_x;
1: + int cursor_y;
1: + bool enabled;
1: + struct drm_display_mode mode;
1: + struct drm_display_mode hwmode;
1: + int x;
1: + int y;
1: + const struct drm_crtc_funcs *funcs;
1: + uint32_t gamma_size;
1: + uint16_t *gamma_store;
1: + const struct drm_crtc_helper_funcs *helper_private;
1: + struct drm_object_properties properties;
1: + struct drm_crtc_state *state;
1: + struct list_head commit_list;
1: + spinlock_t commit_lock;
1: + struct dentry *debugfs_entry;
1: + struct drm_crtc_crc crc;
1: + unsigned int fence_context;
1: + spinlock_t fence_lock;
1: + long unsigned int fence_seqno;
1: + char timeline_name[32];
1: + struct drm_self_refresh_data *self_refresh_data;
1: +};
1: +
1: +struct drm_bridge;
1: +
1: +struct drm_encoder_funcs;
1: +
1: +struct drm_encoder_helper_funcs;
1: +
1: +struct drm_encoder {
1: + struct drm_device *dev;
1: + struct list_head head;
1: + struct drm_mode_object base;
1: + char *name;
1: + int encoder_type;
1: + unsigned int index;
1: + uint32_t possible_crtcs;
1: + uint32_t possible_clones;
1: + struct drm_crtc *crtc;
1: + struct drm_bridge *bridge;
1: + const struct drm_encoder_funcs *funcs;
1: + const struct drm_encoder_helper_funcs *helper_private;
1: +};
1: +
1: +struct __drm_planes_state;
1: +
1: +struct __drm_crtcs_state;
1: +
1: +struct __drm_connnectors_state;
1: +
1: +struct __drm_private_objs_state;
1: +
1: +struct drm_atomic_state {
1: + struct kref ref;
1: + struct drm_device *dev;
1: + bool allow_modeset: 1;
1: + bool legacy_cursor_update: 1;
1: + bool async_update: 1;
1: + bool duplicated: 1;
1: + struct __drm_planes_state *planes;
1: + struct __drm_crtcs_state *crtcs;
1: + int num_connector;
1: + struct __drm_connnectors_state *connectors;
1: + int num_private_objs;
1: + struct __drm_private_objs_state *private_objs;
1: + struct drm_modeset_acquire_ctx *acquire_ctx;
1: + struct drm_crtc_commit *fake_commit;
1: + struct work_struct commit_work;
1: +};
1: +
1: +struct drm_pending_vblank_event;
1: +
1: +struct drm_crtc_commit {
1: + struct drm_crtc *crtc;
1: + struct kref ref;
1: + struct completion flip_done;
1: + struct completion hw_done;
1: + struct completion cleanup_done;
1: + struct list_head commit_entry;
1: + struct drm_pending_vblank_event *event;
1: + bool abort_completion;
1: +};
1: +
1: +struct drm_property_blob {
1: + struct drm_mode_object base;
1: + struct drm_device *dev;
1: + struct list_head head_global;
1: + struct list_head head_file;
1: + size_t length;
1: + void *data;
1: +};
1: +
1: +struct drm_printer;
1: +
1: +struct drm_connector_funcs {
1: + int (*dpms)(struct drm_connector *, int);
1: + void (*reset)(struct drm_connector *);
1: + enum drm_connector_status (*detect)(struct drm_connector *, bool);
1: + void (*force)(struct drm_connector *);
1: + int (*fill_modes)(struct drm_connector *, uint32_t, uint32_t);
1: + int (*set_property)(struct drm_connector *, struct drm_property *, uint64_t);
1: + int (*late_register)(struct drm_connector *);
1: + void (*early_unregister)(struct drm_connector *);
1: + void (*destroy)(struct drm_connector *);
1: + struct drm_connector_state * (*atomic_duplicate_state)(struct drm_connector *);
1: + void (*atomic_destroy_state)(struct drm_connector *, struct drm_connector_state *);
1: + int (*atomic_set_property)(struct drm_connector *, struct drm_connector_state *, struct drm_property *, uint64_t);
1: + int (*atomic_get_property)(struct drm_connector *, const struct drm_connector_state *, struct drm_property *, uint64_t *);
1: + void (*atomic_print_state)(struct drm_printer *, const struct drm_connector_state *);
1: +};
1: +
1: +struct drm_printer {
1: + void (*printfn)(struct drm_printer *, struct va_format *);
1: + void (*puts)(struct drm_printer *, const char *);
1: + void *arg;
1: + const char *prefix;
1: +};
1: +
1: +struct drm_writeback_connector;
1: +
1: +struct drm_connector_helper_funcs {
1: + int (*get_modes)(struct drm_connector *);
1: + int (*detect_ctx)(struct drm_connector *, struct drm_modeset_acquire_ctx *, bool);
1: + enum drm_mode_status (*mode_valid)(struct drm_connector *, struct drm_display_mode *);
1: + struct drm_encoder * (*best_encoder)(struct drm_connector *);
1: + struct drm_encoder * (*atomic_best_encoder)(struct drm_connector *, struct drm_connector_state *);
1: + int (*atomic_check)(struct drm_connector *, struct drm_atomic_state *);
1: + void (*atomic_commit)(struct drm_connector *, struct drm_connector_state *);
1: + int (*prepare_writeback_job)(struct drm_writeback_connector *, struct drm_writeback_job *);
1: + void (*cleanup_writeback_job)(struct drm_writeback_connector *, struct drm_writeback_job *);
1: +};
1: +
1: +struct drm_tile_group {
1: + struct kref refcount;
1: + struct drm_device *dev;
1: + int id;
1: + u8 group_data[8];
1: +};
1: +
1: +struct drm_connector_list_iter {
1: + struct drm_device *dev;
1: + struct drm_connector *conn;
1: +};
1: +
1: +struct drm_mode_config_funcs {
1: + struct drm_framebuffer * (*fb_create)(struct drm_device *, struct drm_file *, const struct drm_mode_fb_cmd2 *);
1: + const struct drm_format_info * (*get_format_info)(const struct drm_mode_fb_cmd2 *);
1: + void (*output_poll_changed)(struct drm_device *);
1: + enum drm_mode_status (*mode_valid)(struct drm_device *, const struct drm_display_mode *);
1: + int (*atomic_check)(struct drm_device *, struct drm_atomic_state *);
1: + int (*atomic_commit)(struct drm_device *, struct drm_atomic_state *, bool);
1: + struct drm_atomic_state * (*atomic_state_alloc)(struct drm_device *);
1: + void (*atomic_state_clear)(struct drm_atomic_state *);
1: + void (*atomic_state_free)(struct drm_atomic_state *);
1: +};
1: +
1: +struct drm_mode_config_helper_funcs {
1: + void (*atomic_commit_tail)(struct drm_atomic_state *);
1: +};
1: +
1: +struct dma_buf;
1: +
1: +struct dma_buf_attachment;
1: +
1: +struct drm_ioctl_desc;
1: +
1: +struct drm_driver {
1: + int (*load)(struct drm_device *, long unsigned int);
1: + int (*open)(struct drm_device *, struct drm_file *);
1: + void (*postclose)(struct drm_device *, struct drm_file *);
1: + void (*lastclose)(struct drm_device *);
1: + void (*unload)(struct drm_device *);
1: + void (*release)(struct drm_device *);
1: + u32 (*get_vblank_counter)(struct drm_device *, unsigned int);
1: + int (*enable_vblank)(struct drm_device *, unsigned int);
1: + void (*disable_vblank)(struct drm_device *, unsigned int);
1: + bool (*get_scanout_position)(struct drm_device *, unsigned int, bool, int *, int *, ktime_t *, ktime_t *, const struct drm_display_mode *);
1: + bool (*get_vblank_timestamp)(struct drm_device *, unsigned int, int *, ktime_t *, bool);
1: + irqreturn_t (*irq_handler)(int, void *);
1: + void (*irq_preinstall)(struct drm_device *);
1: + int (*irq_postinstall)(struct drm_device *);
1: + void (*irq_uninstall)(struct drm_device *);
1: + int (*master_create)(struct drm_device *, struct drm_master *);
1: + void (*master_destroy)(struct drm_device *, struct drm_master *);
1: + int (*master_set)(struct drm_device *, struct drm_file *, bool);
1: + void (*master_drop)(struct drm_device *, struct drm_file *);
1: + int (*debugfs_init)(struct drm_minor *);
1: + void (*gem_free_object)(struct drm_gem_object *);
1: + void (*gem_free_object_unlocked)(struct drm_gem_object *);
1: + int (*gem_open_object)(struct drm_gem_object *, struct drm_file *);
1: + void (*gem_close_object)(struct drm_gem_object *, struct drm_file *);
1: + void (*gem_print_info)(struct drm_printer *, unsigned int, const struct drm_gem_object *);
1: + struct drm_gem_object * (*gem_create_object)(struct drm_device *, size_t);
1: + int (*prime_handle_to_fd)(struct drm_device *, struct drm_file *, uint32_t, uint32_t, int *);
1: + int (*prime_fd_to_handle)(struct drm_device *, struct drm_file *, int, uint32_t *);
1: + struct dma_buf * (*gem_prime_export)(struct drm_gem_object *, int);
1: + struct drm_gem_object * (*gem_prime_import)(struct drm_device *, struct dma_buf *);
1: + int (*gem_prime_pin)(struct drm_gem_object *);
1: + void (*gem_prime_unpin)(struct drm_gem_object *);
1: + struct sg_table * (*gem_prime_get_sg_table)(struct drm_gem_object *);
1: + struct drm_gem_object * (*gem_prime_import_sg_table)(struct drm_device *, struct dma_buf_attachment *, struct sg_table *);
1: + void * (*gem_prime_vmap)(struct drm_gem_object *);
1: + void (*gem_prime_vunmap)(struct drm_gem_object *, void *);
1: + int (*gem_prime_mmap)(struct drm_gem_object *, struct vm_area_struct *);
1: + int (*dumb_create)(struct drm_file *, struct drm_device *, struct drm_mode_create_dumb *);
1: + int (*dumb_map_offset)(struct drm_file *, struct drm_device *, uint32_t, uint64_t *);
1: + int (*dumb_destroy)(struct drm_file *, struct drm_device *, uint32_t);
1: + const struct vm_operations_struct *gem_vm_ops;
1: + int major;
1: + int minor;
1: + int patchlevel;
1: + char *name;
1: + char *desc;
1: + char *date;
1: + u32 driver_features;
1: + const struct drm_ioctl_desc *ioctls;
1: + int num_ioctls;
1: + const struct file_operations *fops;
1: + struct list_head legacy_dev_list;
1: + int (*firstopen)(struct drm_device *);
1: + void (*preclose)(struct drm_device *, struct drm_file *);
1: + int (*dma_ioctl)(struct drm_device *, void *, struct drm_file *);
1: + int (*dma_quiescent)(struct drm_device *);
1: + int (*context_dtor)(struct drm_device *, int);
1: + int dev_priv_size;
1: +};
1: +
1: +struct drm_minor {
1: + int index;
1: + int type;
1: + struct device *kdev;
1: + struct drm_device *dev;
1: + struct dentry *debugfs_root;
1: + struct list_head debugfs_list;
1: + struct mutex debugfs_lock;
1: +};
1: +
1: +struct drm_vblank_crtc {
1: + struct drm_device *dev;
1: + wait_queue_head_t queue;
1: + struct timer_list disable_timer;
1: + seqlock_t seqlock;
1: + atomic64_t count;
1: + ktime_t time;
1: + atomic_t refcount;
1: + u32 last;
1: + u32 max_vblank_count;
1: + unsigned int inmodeset;
1: + unsigned int pipe;
1: + int framedur_ns;
1: + int linedur_ns;
1: + struct drm_display_mode hwmode;
1: + bool enabled;
1: +};
1: +
1: +struct drm_client_funcs;
1: +
1: +struct drm_mode_set;
1: +
1: +struct drm_client_dev {
1: + struct drm_device *dev;
1: + const char *name;
1: + struct list_head list;
1: + const struct drm_client_funcs *funcs;
1: + struct drm_file *file;
1: + struct mutex modeset_mutex;
1: + struct drm_mode_set *modesets;
1: +};
1: +
1: +struct drm_client_buffer;
1: +
1: +struct drm_fb_helper_funcs;
1: +
1: +struct drm_fb_helper {
1: + struct drm_client_dev client;
1: + struct drm_client_buffer *buffer;
1: + struct drm_framebuffer *fb;
1: + struct drm_device *dev;
1: + const struct drm_fb_helper_funcs *funcs;
1: + struct fb_info *fbdev;
1: + u32 pseudo_palette[17];
1: + struct drm_clip_rect dirty_clip;
1: + spinlock_t dirty_lock;
1: + struct work_struct dirty_work;
1: + struct work_struct resume_work;
1: + struct mutex lock;
1: + struct list_head kernel_fb_list;
1: + bool delayed_hotplug;
1: + bool deferred_setup;
1: + int preferred_bpp;
1: +};
1: +
1: +enum drm_color_encoding {
1: + DRM_COLOR_YCBCR_BT601 = 0,
1: + DRM_COLOR_YCBCR_BT709 = 1,
1: + DRM_COLOR_YCBCR_BT2020 = 2,
1: + DRM_COLOR_ENCODING_MAX = 3,
1: +};
1: +
1: +enum drm_color_range {
1: + DRM_COLOR_YCBCR_LIMITED_RANGE = 0,
1: + DRM_COLOR_YCBCR_FULL_RANGE = 1,
1: + DRM_COLOR_RANGE_MAX = 2,
1: +};
1: +
1: +struct dma_fence;
1: +
1: +struct drm_plane_state {
1: + struct drm_plane *plane;
1: + struct drm_crtc *crtc;
1: + struct drm_framebuffer *fb;
1: + struct dma_fence *fence;
1: + int32_t crtc_x;
1: + int32_t crtc_y;
1: + uint32_t crtc_w;
1: + uint32_t crtc_h;
1: + uint32_t src_x;
1: + uint32_t src_y;
1: + uint32_t src_h;
1: + uint32_t src_w;
1: + u16 alpha;
1: + uint16_t pixel_blend_mode;
1: + unsigned int rotation;
1: + unsigned int zpos;
1: + unsigned int normalized_zpos;
1: + enum drm_color_encoding color_encoding;
1: + enum drm_color_range color_range;
1: + struct drm_property_blob *fb_damage_clips;
1: + struct drm_rect src;
1: + struct drm_rect dst;
1: + bool visible;
1: + struct drm_crtc_commit *commit;
1: + struct drm_atomic_state *state;
1: +};
1: +
1: +enum drm_plane_type {
1: + DRM_PLANE_TYPE_OVERLAY = 0,
1: + DRM_PLANE_TYPE_PRIMARY = 1,
1: + DRM_PLANE_TYPE_CURSOR = 2,
1: +};
1: +
1: +struct drm_plane_funcs;
1: +
1: +struct drm_plane_helper_funcs;
1: +
1: +struct drm_plane {
1: + struct drm_device *dev;
1: + struct list_head head;
1: + char *name;
1: + struct drm_modeset_lock mutex;
1: + struct drm_mode_object base;
1: + uint32_t possible_crtcs;
1: + uint32_t *format_types;
1: + unsigned int format_count;
1: + bool format_default;
1: + uint64_t *modifiers;
1: + unsigned int modifier_count;
1: + struct drm_crtc *crtc;
1: + struct drm_framebuffer *fb;
1: + struct drm_framebuffer *old_fb;
1: + const struct drm_plane_funcs *funcs;
1: + struct drm_object_properties properties;
1: + enum drm_plane_type type;
1: + unsigned int index;
1: + const struct drm_plane_helper_funcs *helper_private;
1: + struct drm_plane_state *state;
1: + struct drm_property *alpha_property;
1: + struct drm_property *zpos_property;
1: + struct drm_property *rotation_property;
1: + struct drm_property *blend_mode_property;
1: + struct drm_property *color_encoding_property;
1: + struct drm_property *color_range_property;
1: +};
1: +
1: +struct drm_plane_funcs {
1: + int (*update_plane)(struct drm_plane *, struct drm_crtc *, struct drm_framebuffer *, int, int, unsigned int, unsigned int, uint32_t, uint32_t, uint32_t, uint32_t, struct drm_modeset_acquire_ctx *);
1: + int (*disable_plane)(struct drm_plane *, struct drm_modeset_acquire_ctx *);
1: + void (*destroy)(struct drm_plane *);
1: + void (*reset)(struct drm_plane *);
1: + int (*set_property)(struct drm_plane *, struct drm_property *, uint64_t);
1: + struct drm_plane_state * (*atomic_duplicate_state)(struct drm_plane *);
1: + void (*atomic_destroy_state)(struct drm_plane *, struct drm_plane_state *);
1: + int (*atomic_set_property)(struct drm_plane *, struct drm_plane_state *, struct drm_property *, uint64_t);
1: + int (*atomic_get_property)(struct drm_plane *, const struct drm_plane_state *, struct drm_property *, uint64_t *);
1: + int (*late_register)(struct drm_plane *);
1: + void (*early_unregister)(struct drm_plane *);
1: + void (*atomic_print_state)(struct drm_printer *, const struct drm_plane_state *);
1: + bool (*format_mod_supported)(struct drm_plane *, uint32_t, uint64_t);
1: +};
1: +
1: +struct drm_plane_helper_funcs {
1: + int (*prepare_fb)(struct drm_plane *, struct drm_plane_state *);
1: + void (*cleanup_fb)(struct drm_plane *, struct drm_plane_state *);
1: + int (*atomic_check)(struct drm_plane *, struct drm_plane_state *);
1: + void (*atomic_update)(struct drm_plane *, struct drm_plane_state *);
1: + void (*atomic_disable)(struct drm_plane *, struct drm_plane_state *);
1: + int (*atomic_async_check)(struct drm_plane *, struct drm_plane_state *);
1: + void (*atomic_async_update)(struct drm_plane *, struct drm_plane_state *);
1: +};
1: +
1: +struct drm_crtc_crc_entry {
1: + bool has_frame_counter;
1: + uint32_t frame;
1: + uint32_t crcs[10];
1: +};
1: +
1: +struct drm_crtc_state {
1: + struct drm_crtc *crtc;
1: + bool enable;
1: + bool active;
1: + bool planes_changed: 1;
1: + bool mode_changed: 1;
1: + bool active_changed: 1;
1: + bool connectors_changed: 1;
1: + bool zpos_changed: 1;
1: + bool color_mgmt_changed: 1;
1: + bool no_vblank: 1;
1: + u32 plane_mask;
1: + u32 connector_mask;
1: + u32 encoder_mask;
1: + struct drm_display_mode adjusted_mode;
1: + struct drm_display_mode mode;
1: + struct drm_property_blob *mode_blob;
1: + struct drm_property_blob *degamma_lut;
1: + struct drm_property_blob *ctm;
1: + struct drm_property_blob *gamma_lut;
1: + u32 target_vblank;
1: + bool async_flip;
1: + bool vrr_enabled;
1: + bool self_refresh_active;
1: + struct drm_pending_vblank_event *event;
1: + struct drm_crtc_commit *commit;
1: + struct drm_atomic_state *state;
1: +};
1: +
1: +struct drm_pending_event {
1: + struct completion *completion;
1: + void (*completion_release)(struct completion *);
1: + struct drm_event *event;
1: + struct dma_fence *fence;
1: + struct drm_file *file_priv;
1: + struct list_head link;
1: + struct list_head pending_link;
1: +};
1: +
1: +struct drm_pending_vblank_event {
1: + struct drm_pending_event base;
1: + unsigned int pipe;
1: + u64 sequence;
1: + union {
1: + struct drm_event base;
1: + struct drm_event_vblank vbl;
1: + struct drm_event_crtc_sequence seq;
1: + } event;
1: +};
1: +
1: +struct drm_crtc_funcs {
1: + void (*reset)(struct drm_crtc *);
1: + int (*cursor_set)(struct drm_crtc *, struct drm_file *, uint32_t, uint32_t, uint32_t);
1: + int (*cursor_set2)(struct drm_crtc *, struct drm_file *, uint32_t, uint32_t, uint32_t, int32_t, int32_t);
1: + int (*cursor_move)(struct drm_crtc *, int, int);
1: + int (*gamma_set)(struct drm_crtc *, u16 *, u16 *, u16 *, uint32_t, struct drm_modeset_acquire_ctx *);
1: + void (*destroy)(struct drm_crtc *);
1: + int (*set_config)(struct drm_mode_set *, struct drm_modeset_acquire_ctx *);
1: + int (*page_flip)(struct drm_crtc *, struct drm_framebuffer *, struct drm_pending_vblank_event *, uint32_t, struct drm_modeset_acquire_ctx *);
1: + int (*page_flip_target)(struct drm_crtc *, struct drm_framebuffer *, struct drm_pending_vblank_event *, uint32_t, uint32_t, struct drm_modeset_acquire_ctx *);
1: + int (*set_property)(struct drm_crtc *, struct drm_property *, uint64_t);
1: + struct drm_crtc_state * (*atomic_duplicate_state)(struct drm_crtc *);
1: + void (*atomic_destroy_state)(struct drm_crtc *, struct drm_crtc_state *);
1: + int (*atomic_set_property)(struct drm_crtc *, struct drm_crtc_state *, struct drm_property *, uint64_t);
1: + int (*atomic_get_property)(struct drm_crtc *, const struct drm_crtc_state *, struct drm_property *, uint64_t *);
1: + int (*late_register)(struct drm_crtc *);
1: + void (*early_unregister)(struct drm_crtc *);
1: + int (*set_crc_source)(struct drm_crtc *, const char *);
1: + int (*verify_crc_source)(struct drm_crtc *, const char *, size_t *);
1: + const char * const * (*get_crc_sources)(struct drm_crtc *, size_t *);
1: + void (*atomic_print_state)(struct drm_printer *, const struct drm_crtc_state *);
1: + u32 (*get_vblank_counter)(struct drm_crtc *);
1: + int (*enable_vblank)(struct drm_crtc *);
1: + void (*disable_vblank)(struct drm_crtc *);
1: +};
1: +
1: +struct drm_mode_set {
1: + struct drm_framebuffer *fb;
1: + struct drm_crtc *crtc;
1: + struct drm_display_mode *mode;
1: + uint32_t x;
1: + uint32_t y;
1: + struct drm_connector **connectors;
1: + size_t num_connectors;
1: +};
1: +
1: +enum mode_set_atomic {
1: + LEAVE_ATOMIC_MODE_SET = 0,
1: + ENTER_ATOMIC_MODE_SET = 1,
1: +};
1: +
1: +struct drm_crtc_helper_funcs {
1: + void (*dpms)(struct drm_crtc *, int);
1: + void (*prepare)(struct drm_crtc *);
1: + void (*commit)(struct drm_crtc *);
1: + enum drm_mode_status (*mode_valid)(struct drm_crtc *, const struct drm_display_mode *);
1: + bool (*mode_fixup)(struct drm_crtc *, const struct drm_display_mode *, struct drm_display_mode *);
1: + int (*mode_set)(struct drm_crtc *, struct drm_display_mode *, struct drm_display_mode *, int, int, struct drm_framebuffer *);
1: + void (*mode_set_nofb)(struct drm_crtc *);
1: + int (*mode_set_base)(struct drm_crtc *, int, int, struct drm_framebuffer *);
1: + int (*mode_set_base_atomic)(struct drm_crtc *, struct drm_framebuffer *, int, int, enum mode_set_atomic);
1: + void (*disable)(struct drm_crtc *);
1: + int (*atomic_check)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*atomic_begin)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*atomic_flush)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*atomic_enable)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*atomic_disable)(struct drm_crtc *, struct drm_crtc_state *);
1: +};
1: +
1: +struct __drm_planes_state {
1: + struct drm_plane *ptr;
1: + struct drm_plane_state *state;
1: + struct drm_plane_state *old_state;
1: + struct drm_plane_state *new_state;
1: +};
1: +
1: +struct __drm_crtcs_state {
1: + struct drm_crtc *ptr;
1: + struct drm_crtc_state *state;
1: + struct drm_crtc_state *old_state;
1: + struct drm_crtc_state *new_state;
1: + struct drm_crtc_commit *commit;
1: + s32 *out_fence_ptr;
1: + u64 last_vblank_count;
1: +};
1: +
1: +struct __drm_connnectors_state {
1: + struct drm_connector *ptr;
1: + struct drm_connector_state *state;
1: + struct drm_connector_state *old_state;
1: + struct drm_connector_state *new_state;
1: + s32 *out_fence_ptr;
1: +};
1: +
1: +struct drm_private_state;
1: +
1: +struct drm_private_obj;
1: +
1: +struct drm_private_state_funcs {
1: + struct drm_private_state * (*atomic_duplicate_state)(struct drm_private_obj *);
1: + void (*atomic_destroy_state)(struct drm_private_obj *, struct drm_private_state *);
1: +};
1: +
1: +struct drm_private_state {
1: + struct drm_atomic_state *state;
1: +};
1: +
1: +struct drm_private_obj {
1: + struct list_head head;
1: + struct drm_modeset_lock lock;
1: + struct drm_private_state *state;
1: + const struct drm_private_state_funcs *funcs;
1: +};
1: +
1: +struct __drm_private_objs_state {
1: + struct drm_private_obj *ptr;
1: + struct drm_private_state *state;
1: + struct drm_private_state *old_state;
1: + struct drm_private_state *new_state;
1: +};
1: +
1: +struct drm_encoder_funcs {
1: + void (*reset)(struct drm_encoder *);
1: + void (*destroy)(struct drm_encoder *);
1: + int (*late_register)(struct drm_encoder *);
1: + void (*early_unregister)(struct drm_encoder *);
1: +};
1: +
1: +struct drm_bridge_timings;
1: +
1: +struct drm_bridge_funcs;
1: +
1: +struct drm_bridge {
1: + struct drm_device *dev;
1: + struct drm_encoder *encoder;
1: + struct drm_bridge *next;
1: + struct list_head list;
1: + const struct drm_bridge_timings *timings;
1: + const struct drm_bridge_funcs *funcs;
1: + void *driver_private;
1: +};
1: +
1: +struct drm_encoder_helper_funcs {
1: + void (*dpms)(struct drm_encoder *, int);
1: + enum drm_mode_status (*mode_valid)(struct drm_encoder *, const struct drm_display_mode *);
1: + bool (*mode_fixup)(struct drm_encoder *, const struct drm_display_mode *, struct drm_display_mode *);
1: + void (*prepare)(struct drm_encoder *);
1: + void (*commit)(struct drm_encoder *);
1: + void (*mode_set)(struct drm_encoder *, struct drm_display_mode *, struct drm_display_mode *);
1: + void (*atomic_mode_set)(struct drm_encoder *, struct drm_crtc_state *, struct drm_connector_state *);
1: + struct drm_crtc * (*get_crtc)(struct drm_encoder *);
1: + enum drm_connector_status (*detect)(struct drm_encoder *, struct drm_connector *);
1: + void (*atomic_disable)(struct drm_encoder *, struct drm_atomic_state *);
1: + void (*atomic_enable)(struct drm_encoder *, struct drm_atomic_state *);
1: + void (*disable)(struct drm_encoder *);
1: + void (*enable)(struct drm_encoder *);
1: + int (*atomic_check)(struct drm_encoder *, struct drm_crtc_state *, struct drm_connector_state *);
1: +};
1: +
1: +struct drm_bridge_funcs {
1: + int (*attach)(struct drm_bridge *);
1: + void (*detach)(struct drm_bridge *);
1: + enum drm_mode_status (*mode_valid)(struct drm_bridge *, const struct drm_display_mode *);
1: + bool (*mode_fixup)(struct drm_bridge *, const struct drm_display_mode *, struct drm_display_mode *);
1: + void (*disable)(struct drm_bridge *);
1: + void (*post_disable)(struct drm_bridge *);
1: + void (*mode_set)(struct drm_bridge *, const struct drm_display_mode *, const struct drm_display_mode *);
1: + void (*pre_enable)(struct drm_bridge *);
1: + void (*enable)(struct drm_bridge *);
1: + void (*atomic_pre_enable)(struct drm_bridge *, struct drm_atomic_state *);
1: + void (*atomic_enable)(struct drm_bridge *, struct drm_atomic_state *);
1: + void (*atomic_disable)(struct drm_bridge *, struct drm_atomic_state *);
1: + void (*atomic_post_disable)(struct drm_bridge *, struct drm_atomic_state *);
1: +};
1: +
1: +struct drm_bridge_timings {
1: + u32 input_bus_flags;
1: + u32 setup_time_ps;
1: + u32 hold_time_ps;
1: + bool dual_link;
1: +};
1: +
1: +enum drm_driver_feature {
1: + DRIVER_GEM = 1,
1: + DRIVER_MODESET = 2,
1: + DRIVER_RENDER = 8,
1: + DRIVER_ATOMIC = 16,
1: + DRIVER_SYNCOBJ = 32,
1: + DRIVER_SYNCOBJ_TIMELINE = 64,
1: + DRIVER_USE_AGP = 33554432,
1: + DRIVER_LEGACY = 67108864,
1: + DRIVER_PCI_DMA = 134217728,
1: + DRIVER_SG = 268435456,
1: + DRIVER_HAVE_DMA = 536870912,
1: + DRIVER_HAVE_IRQ = 1073741824,
1: + DRIVER_KMS_LEGACY_CONTEXT = -2147483648,
1: +};
1: +
1: +struct drm_mm;
1: +
1: +struct drm_mm_node {
1: + long unsigned int color;
1: + u64 start;
1: + u64 size;
1: + struct drm_mm *mm;
1: + struct list_head node_list;
1: + struct list_head hole_stack;
1: + struct rb_node rb;
1: + struct rb_node rb_hole_size;
1: + struct rb_node rb_hole_addr;
1: + u64 __subtree_last;
1: + u64 hole_size;
1: + long unsigned int flags;
1: +};
1: +
1: +struct drm_vma_offset_node {
1: + rwlock_t vm_lock;
1: + struct drm_mm_node vm_node;
1: + struct rb_root vm_files;
1: + bool readonly: 1;
1: +};
1: +
1: +struct dma_resv_list;
1: +
1: +struct dma_resv {
1: + struct ww_mutex lock;
1: + seqcount_t seq;
1: + struct dma_fence *fence_excl;
1: + struct dma_resv_list *fence;
1: +};
1: +
1: +struct drm_gem_object_funcs;
1: +
1: +struct drm_gem_object {
1: + struct kref refcount;
1: + unsigned int handle_count;
1: + struct drm_device *dev;
1: + struct file *filp;
1: + struct drm_vma_offset_node vma_node;
1: + size_t size;
1: + int name;
1: + struct dma_buf *dma_buf;
1: + struct dma_buf_attachment *import_attach;
1: + struct dma_resv *resv;
1: + struct dma_resv _resv;
1: + const struct drm_gem_object_funcs *funcs;
1: +};
1: +
1: +enum drm_ioctl_flags {
1: + DRM_AUTH = 1,
1: + DRM_MASTER = 2,
1: + DRM_ROOT_ONLY = 4,
1: + DRM_UNLOCKED = 16,
1: + DRM_RENDER_ALLOW = 32,
1: +};
1: +
1: +typedef int drm_ioctl_t(struct drm_device *, void *, struct drm_file *);
1: +
1: +struct drm_ioctl_desc {
1: + unsigned int cmd;
1: + enum drm_ioctl_flags flags;
1: + drm_ioctl_t *func;
1: + const char *name;
1: +};
1: +
1: +struct drm_client_funcs {
1: + struct module *owner;
1: + void (*unregister)(struct drm_client_dev *);
1: + int (*restore)(struct drm_client_dev *);
1: + int (*hotplug)(struct drm_client_dev *);
1: +};
1: +
1: +struct drm_client_buffer {
1: + struct drm_client_dev *client;
1: + u32 handle;
1: + u32 pitch;
1: + struct drm_gem_object *gem;
1: + void *vaddr;
1: + struct drm_framebuffer *fb;
1: +};
1: +
1: +struct drm_fb_helper_surface_size {
1: + u32 fb_width;
1: + u32 fb_height;
1: + u32 surface_width;
1: + u32 surface_height;
1: + u32 surface_bpp;
1: + u32 surface_depth;
1: +};
1: +
1: +struct drm_fb_helper_funcs {
1: + int (*fb_probe)(struct drm_fb_helper *, struct drm_fb_helper_surface_size *);
1: +};
1: +
1: +struct drm_dp_aux_msg {
1: + unsigned int address;
1: + u8 request;
1: + u8 reply;
1: + void *buffer;
1: + size_t size;
1: +};
1: +
1: +struct cec_adapter;
1: +
1: +struct drm_dp_aux_cec {
1: + struct mutex lock;
1: + struct cec_adapter *adap;
1: + struct drm_connector *connector;
1: + struct delayed_work unregister_work;
1: +};
1: +
1: +struct drm_dp_aux {
1: + const char *name;
1: + struct i2c_adapter ddc;
1: + struct device *dev;
1: + struct drm_crtc *crtc;
1: + struct mutex hw_mutex;
1: + struct work_struct crc_work;
1: + u8 crc_count;
1: + ssize_t (*transfer)(struct drm_dp_aux *, struct drm_dp_aux_msg *);
1: + unsigned int i2c_nack_count;
1: + unsigned int i2c_defer_count;
1: + struct drm_dp_aux_cec cec;
1: + bool is_remote;
1: +};
1: +
1: +struct drm_dp_dpcd_ident {
1: + u8 oui[3];
1: + u8 device_id[6];
1: + u8 hw_rev;
1: + u8 sw_major_rev;
1: + u8 sw_minor_rev;
1: +};
1: +
1: +struct drm_dp_desc {
1: + struct drm_dp_dpcd_ident ident;
1: + u32 quirks;
1: +};
1: +
1: +enum drm_dp_quirk {
1: + DP_DPCD_QUIRK_CONSTANT_N = 0,
1: + DP_DPCD_QUIRK_NO_PSR = 1,
1: + DP_DPCD_QUIRK_NO_SINK_COUNT = 2,
1: +};
1: +
1: +struct dpcd_quirk {
1: + u8 oui[3];
1: + u8 device_id[6];
1: + bool is_branch;
1: + u32 quirks;
1: +};
1: +
1: +struct dp_sdp_header {
1: + u8 HB0;
1: + u8 HB1;
1: + u8 HB2;
1: + u8 HB3;
1: +};
1: +
1: +struct drm_dsc_rc_range_parameters {
1: + u8 range_min_qp;
1: + u8 range_max_qp;
1: + u8 range_bpg_offset;
1: +};
1: +
1: +struct drm_dsc_config {
1: + u8 line_buf_depth;
1: + u8 bits_per_component;
1: + bool convert_rgb;
1: + u8 slice_count;
1: + u16 slice_width;
1: + u16 slice_height;
1: + bool simple_422;
1: + u16 pic_width;
1: + u16 pic_height;
1: + u8 rc_tgt_offset_high;
1: + u8 rc_tgt_offset_low;
1: + u16 bits_per_pixel;
1: + u8 rc_edge_factor;
1: + u8 rc_quant_incr_limit1;
1: + u8 rc_quant_incr_limit0;
1: + u16 initial_xmit_delay;
1: + u16 initial_dec_delay;
1: + bool block_pred_enable;
1: + u8 first_line_bpg_offset;
1: + u16 initial_offset;
1: + u16 rc_buf_thresh[14];
1: + struct drm_dsc_rc_range_parameters rc_range_params[15];
1: + u16 rc_model_size;
1: + u8 flatness_min_qp;
1: + u8 flatness_max_qp;
1: + u8 initial_scale_value;
1: + u16 scale_decrement_interval;
1: + u16 scale_increment_interval;
1: + u16 nfl_bpg_offset;
1: + u16 slice_bpg_offset;
1: + u16 final_offset;
1: + bool vbr_enable;
1: + u8 mux_word_size;
1: + u16 slice_chunk_size;
1: + u16 rc_bits;
1: + u8 dsc_version_minor;
1: + u8 dsc_version_major;
1: + bool native_422;
1: + bool native_420;
1: + u8 second_line_bpg_offset;
1: + u16 nsl_bpg_offset;
1: + u16 second_line_offset_adj;
1: +};
1: +
1: +struct drm_dsc_picture_parameter_set {
1: + u8 dsc_version;
1: + u8 pps_identifier;
1: + u8 pps_reserved;
1: + u8 pps_3;
1: + u8 pps_4;
1: + u8 bits_per_pixel_low;
1: + __be16 pic_height;
1: + __be16 pic_width;
1: + __be16 slice_height;
1: + __be16 slice_width;
1: + __be16 chunk_size;
1: + u8 initial_xmit_delay_high;
1: + u8 initial_xmit_delay_low;
1: + __be16 initial_dec_delay;
1: + u8 pps20_reserved;
1: + u8 initial_scale_value;
1: + __be16 scale_increment_interval;
1: + u8 scale_decrement_interval_high;
1: + u8 scale_decrement_interval_low;
1: + u8 pps26_reserved;
1: + u8 first_line_bpg_offset;
1: + __be16 nfl_bpg_offset;
1: + __be16 slice_bpg_offset;
1: + __be16 initial_offset;
1: + __be16 final_offset;
1: + u8 flatness_min_qp;
1: + u8 flatness_max_qp;
1: + __be16 rc_model_size;
1: + u8 rc_edge_factor;
1: + u8 rc_quant_incr_limit0;
1: + u8 rc_quant_incr_limit1;
1: + u8 rc_tgt_offset;
1: + u8 rc_buf_thresh[14];
1: + __be16 rc_range_parameters[15];
1: + u8 native_422_420;
1: + u8 second_line_bpg_offset;
1: + __be16 nsl_bpg_offset;
1: + __be16 second_line_offset_adj;
1: + u32 pps_long_94_reserved;
1: + u32 pps_long_98_reserved;
1: + u32 pps_long_102_reserved;
1: + u32 pps_long_106_reserved;
1: + u32 pps_long_110_reserved;
1: + u32 pps_long_114_reserved;
1: + u32 pps_long_118_reserved;
1: + u32 pps_long_122_reserved;
1: + __be16 pps_short_126_reserved;
1: +} __attribute__((packed));
1: +
1: +struct est_timings {
1: + u8 t1;
1: + u8 t2;
1: + u8 mfg_rsvd;
1: +};
1: +
1: +struct std_timing {
1: + u8 hsize;
1: + u8 vfreq_aspect;
1: +};
1: +
1: +struct detailed_pixel_timing {
1: + u8 hactive_lo;
1: + u8 hblank_lo;
1: + u8 hactive_hblank_hi;
1: + u8 vactive_lo;
1: + u8 vblank_lo;
1: + u8 vactive_vblank_hi;
1: + u8 hsync_offset_lo;
1: + u8 hsync_pulse_width_lo;
1: + u8 vsync_offset_pulse_width_lo;
1: + u8 hsync_vsync_offset_pulse_width_hi;
1: + u8 width_mm_lo;
1: + u8 height_mm_lo;
1: + u8 width_height_mm_hi;
1: + u8 hborder;
1: + u8 vborder;
1: + u8 misc;
1: +};
1: +
1: +struct detailed_data_string {
1: + u8 str[13];
1: +};
1: +
1: +struct detailed_data_monitor_range {
1: + u8 min_vfreq;
1: + u8 max_vfreq;
1: + u8 min_hfreq_khz;
1: + u8 max_hfreq_khz;
1: + u8 pixel_clock_mhz;
1: + u8 flags;
1: + union {
1: + struct {
1: + u8 reserved;
1: + u8 hfreq_start_khz;
1: + u8 c;
1: + __le16 m;
1: + u8 k;
1: + u8 j;
1: + } __attribute__((packed)) gtf2;
1: + struct {
1: + u8 version;
1: + u8 data1;
1: + u8 data2;
1: + u8 supported_aspects;
1: + u8 flags;
1: + u8 supported_scalings;
1: + u8 preferred_refresh;
1: + } cvt;
1: + } formula;
1: +} __attribute__((packed));
1: +
1: +struct detailed_data_wpindex {
1: + u8 white_yx_lo;
1: + u8 white_x_hi;
1: + u8 white_y_hi;
1: + u8 gamma;
1: +};
1: +
1: +struct cvt_timing {
1: + u8 code[3];
1: +};
1: +
1: +struct detailed_non_pixel {
1: + u8 pad1;
1: + u8 type;
1: + u8 pad2;
1: + union {
1: + struct detailed_data_string str;
1: + struct detailed_data_monitor_range range;
1: + struct detailed_data_wpindex color;
1: + struct std_timing timings[6];
1: + struct cvt_timing cvt[4];
1: + } data;
1: +} __attribute__((packed));
1: +
1: +struct detailed_timing {
1: + __le16 pixel_clock;
1: + union {
1: + struct detailed_pixel_timing pixel_data;
1: + struct detailed_non_pixel other_data;
1: + } data;
1: +};
1: +
1: +struct edid {
1: + u8 header[8];
1: + u8 mfg_id[2];
1: + u8 prod_code[2];
1: + u32 serial;
1: + u8 mfg_week;
1: + u8 mfg_year;
1: + u8 version;
1: + u8 revision;
1: + u8 input;
1: + u8 width_cm;
1: + u8 height_cm;
1: + u8 gamma;
1: + u8 features;
1: + u8 red_green_lo;
1: + u8 black_white_lo;
1: + u8 red_x;
1: + u8 red_y;
1: + u8 green_x;
1: + u8 green_y;
1: + u8 blue_x;
1: + u8 blue_y;
1: + u8 white_x;
1: + u8 white_y;
1: + struct est_timings established_timings;
1: + struct std_timing standard_timings[8];
1: + struct detailed_timing detailed_timings[4];
1: + u8 extensions;
1: + u8 checksum;
1: +};
1: +
1: +struct drm_dp_vcpi {
1: + int vcpi;
1: + int pbn;
1: + int aligned_pbn;
1: + int num_slots;
1: +};
1: +
1: +struct drm_dp_mst_branch;
1: +
1: +struct drm_dp_mst_topology_mgr;
1: +
1: +struct drm_dp_mst_port {
1: + struct kref topology_kref;
1: + struct kref malloc_kref;
1: + u8 port_num;
1: + bool input;
1: + bool mcs;
1: + bool ddps;
1: + u8 pdt;
1: + bool ldps;
1: + u8 dpcd_rev;
1: + u8 num_sdp_streams;
1: + u8 num_sdp_stream_sinks;
1: + uint16_t available_pbn;
1: + struct list_head next;
1: + struct drm_dp_mst_branch *mstb;
1: + struct drm_dp_aux aux;
1: + struct drm_dp_mst_branch *parent;
1: + struct drm_dp_vcpi vcpi;
1: + struct drm_connector *connector;
1: + struct drm_dp_mst_topology_mgr *mgr;
1: + struct edid *cached_edid;
1: + bool has_audio;
1: +};
1: +
1: +struct drm_dp_sideband_msg_tx;
1: +
1: +struct drm_dp_mst_branch {
1: + struct kref topology_kref;
1: + struct kref malloc_kref;
1: + struct list_head destroy_next;
1: + u8 rad[8];
1: + u8 lct;
1: + int num_ports;
1: + int msg_slots;
1: + struct list_head ports;
1: + struct drm_dp_mst_port *port_parent;
1: + struct drm_dp_mst_topology_mgr *mgr;
1: + struct drm_dp_sideband_msg_tx *tx_slots[2];
1: + int last_seqno;
1: + bool link_address_sent;
1: + u8 guid[16];
1: +};
1: +
1: +struct drm_dp_sideband_msg_hdr {
1: + u8 lct;
1: + u8 lcr;
1: + u8 rad[8];
1: + bool broadcast;
1: + bool path_msg;
1: + u8 msg_len;
1: + bool somt;
1: + bool eomt;
1: + bool seqno;
1: +};
1: +
1: +struct drm_dp_sideband_msg_rx {
1: + u8 chunk[48];
1: + u8 msg[256];
1: + u8 curchunk_len;
1: + u8 curchunk_idx;
1: + u8 curchunk_hdrlen;
1: + u8 curlen;
1: + bool have_somt;
1: + bool have_eomt;
1: + struct drm_dp_sideband_msg_hdr initial_hdr;
1: +};
1: +
1: +struct drm_dp_mst_topology_cbs;
1: +
1: +struct drm_dp_payload;
1: +
1: +struct drm_dp_mst_topology_mgr {
1: + struct drm_private_obj base;
1: + struct drm_device *dev;
1: + const struct drm_dp_mst_topology_cbs *cbs;
1: + int max_dpcd_transaction_bytes;
1: + struct drm_dp_aux *aux;
1: + int max_payloads;
1: + int conn_base_id;
1: + struct drm_dp_sideband_msg_rx down_rep_recv;
1: + struct drm_dp_sideband_msg_rx up_req_recv;
1: + struct mutex lock;
1: + struct mutex probe_lock;
1: + bool mst_state;
1: + struct drm_dp_mst_branch *mst_primary;
1: + u8 dpcd[15];
1: + u8 sink_count;
1: + int pbn_div;
1: + const struct drm_private_state_funcs *funcs;
1: + struct mutex qlock;
1: + bool is_waiting_for_dwn_reply;
1: + struct list_head tx_msg_downq;
1: + struct mutex payload_lock;
1: + struct drm_dp_vcpi **proposed_vcpis;
1: + struct drm_dp_payload *payloads;
1: + long unsigned int payload_mask;
1: + long unsigned int vcpi_mask;
1: + wait_queue_head_t tx_waitq;
1: + struct work_struct work;
1: + struct work_struct tx_work;
1: + struct list_head destroy_port_list;
1: + struct list_head destroy_branch_device_list;
1: + struct mutex delayed_destroy_lock;
1: + struct work_struct delayed_destroy_work;
1: + struct list_head up_req_list;
1: + struct mutex up_req_lock;
1: + struct work_struct up_req_work;
1: +};
1: +
1: +struct drm_dp_nak_reply {
1: + u8 guid[16];
1: + u8 reason;
1: + u8 nak_data;
1: +};
1: +
1: +struct drm_dp_link_addr_reply_port {
1: + bool input_port;
1: + u8 peer_device_type;
1: + u8 port_number;
1: + bool mcs;
1: + bool ddps;
1: + bool legacy_device_plug_status;
1: + u8 dpcd_revision;
1: + u8 peer_guid[16];
1: + u8 num_sdp_streams;
1: + u8 num_sdp_stream_sinks;
1: +};
1: +
1: +struct drm_dp_link_address_ack_reply {
1: + u8 guid[16];
1: + u8 nports;
1: + struct drm_dp_link_addr_reply_port ports[16];
1: +};
1: +
1: +struct drm_dp_port_number_rep {
1: + u8 port_number;
1: +};
1: +
1: +struct drm_dp_enum_path_resources_ack_reply {
1: + u8 port_number;
1: + u16 full_payload_bw_number;
1: + u16 avail_payload_bw_number;
1: +};
1: +
1: +struct drm_dp_allocate_payload_ack_reply {
1: + u8 port_number;
1: + u8 vcpi;
1: + u16 allocated_pbn;
1: +};
1: +
1: +struct drm_dp_query_payload_ack_reply {
1: + u8 port_number;
1: + u16 allocated_pbn;
1: +};
1: +
1: +struct drm_dp_remote_dpcd_read_ack_reply {
1: + u8 port_number;
1: + u8 num_bytes;
1: + u8 bytes[255];
1: +};
1: +
1: +struct drm_dp_remote_dpcd_write_ack_reply {
1: + u8 port_number;
1: +};
1: +
1: +struct drm_dp_remote_dpcd_write_nak_reply {
1: + u8 port_number;
1: + u8 reason;
1: + u8 bytes_written_before_failure;
1: +};
1: +
1: +struct drm_dp_remote_i2c_read_ack_reply {
1: + u8 port_number;
1: + u8 num_bytes;
1: + u8 bytes[255];
1: +};
1: +
1: +struct drm_dp_remote_i2c_read_nak_reply {
1: + u8 port_number;
1: + u8 nak_reason;
1: + u8 i2c_nak_transaction;
1: +};
1: +
1: +struct drm_dp_remote_i2c_write_ack_reply {
1: + u8 port_number;
1: +};
1: +
1: +union ack_replies {
1: + struct drm_dp_nak_reply nak;
1: + struct drm_dp_link_address_ack_reply link_addr;
1: + struct drm_dp_port_number_rep port_number;
1: + struct drm_dp_enum_path_resources_ack_reply path_resources;
1: + struct drm_dp_allocate_payload_ack_reply allocate_payload;
1: + struct drm_dp_query_payload_ack_reply query_payload;
1: + struct drm_dp_remote_dpcd_read_ack_reply remote_dpcd_read_ack;
1: + struct drm_dp_remote_dpcd_write_ack_reply remote_dpcd_write_ack;
1: + struct drm_dp_remote_dpcd_write_nak_reply remote_dpcd_write_nack;
1: + struct drm_dp_remote_i2c_read_ack_reply remote_i2c_read_ack;
1: + struct drm_dp_remote_i2c_read_nak_reply remote_i2c_read_nack;
1: + struct drm_dp_remote_i2c_write_ack_reply remote_i2c_write_ack;
1: +};
1: +
1: +struct drm_dp_sideband_msg_reply_body {
1: + u8 reply_type;
1: + u8 req_type;
1: + union ack_replies u;
1: +};
1: +
1: +struct drm_dp_sideband_msg_tx {
1: + u8 msg[256];
1: + u8 chunk[48];
1: + u8 cur_offset;
1: + u8 cur_len;
1: + struct drm_dp_mst_branch *dst;
1: + struct list_head next;
1: + int seqno;
1: + int state;
1: + bool path_msg;
1: + struct drm_dp_sideband_msg_reply_body reply;
1: +};
1: +
1: +struct drm_dp_allocate_payload {
1: + u8 port_number;
1: + u8 number_sdp_streams;
1: + u8 vcpi;
1: + u16 pbn;
1: + u8 sdp_stream_sink[16];
1: +};
1: +
1: +struct drm_dp_connection_status_notify {
1: + u8 guid[16];
1: + u8 port_number;
1: + bool legacy_device_plug_status;
1: + bool displayport_device_plug_status;
1: + bool message_capability_status;
1: + bool input_port;
1: + u8 peer_device_type;
1: +};
1: +
1: +struct drm_dp_remote_dpcd_read {
1: + u8 port_number;
1: + u32 dpcd_address;
1: + u8 num_bytes;
1: +};
1: +
1: +struct drm_dp_remote_dpcd_write {
1: + u8 port_number;
1: + u32 dpcd_address;
1: + u8 num_bytes;
1: + u8 *bytes;
1: +};
1: +
1: +struct drm_dp_remote_i2c_read_tx {
1: + u8 i2c_dev_id;
1: + u8 num_bytes;
1: + u8 *bytes;
1: + u8 no_stop_bit;
1: + u8 i2c_transaction_delay;
1: +};
1: +
1: +struct drm_dp_remote_i2c_read {
1: + u8 num_transactions;
1: + u8 port_number;
1: + struct drm_dp_remote_i2c_read_tx transactions[4];
1: + u8 read_i2c_device_id;
1: + u8 num_bytes_read;
1: +};
1: +
1: +struct drm_dp_remote_i2c_write {
1: + u8 port_number;
1: + u8 write_i2c_device_id;
1: + u8 num_bytes;
1: + u8 *bytes;
1: +};
1: +
1: +struct drm_dp_port_number_req {
1: + u8 port_number;
1: +};
1: +
1: +struct drm_dp_query_payload {
1: + u8 port_number;
1: + u8 vcpi;
1: +};
1: +
1: +struct drm_dp_resource_status_notify {
1: + u8 port_number;
1: + u8 guid[16];
1: + u16 available_pbn;
1: +};
1: +
1: +union ack_req {
1: + struct drm_dp_connection_status_notify conn_stat;
1: + struct drm_dp_port_number_req port_num;
1: + struct drm_dp_resource_status_notify resource_stat;
1: + struct drm_dp_query_payload query_payload;
1: + struct drm_dp_allocate_payload allocate_payload;
1: + struct drm_dp_remote_dpcd_read dpcd_read;
1: + struct drm_dp_remote_dpcd_write dpcd_write;
1: + struct drm_dp_remote_i2c_read i2c_read;
1: + struct drm_dp_remote_i2c_write i2c_write;
1: +};
1: +
1: +struct drm_dp_sideband_msg_req_body {
1: + u8 req_type;
1: + union ack_req u;
1: +};
1: +
1: +struct drm_dp_mst_topology_cbs {
1: + struct drm_connector * (*add_connector)(struct drm_dp_mst_topology_mgr *, struct drm_dp_mst_port *, const char *);
1: + void (*register_connector)(struct drm_connector *);
1: + void (*destroy_connector)(struct drm_dp_mst_topology_mgr *, struct drm_connector *);
1: +};
1: +
1: +struct drm_dp_payload {
1: + int payload_state;
1: + int start_slot;
1: + int num_slots;
1: + int vcpi;
1: +};
1: +
1: +struct drm_dp_vcpi_allocation {
1: + struct drm_dp_mst_port *port;
1: + int vcpi;
1: + struct list_head next;
1: +};
1: +
1: +struct drm_dp_mst_topology_state {
1: + struct drm_private_state base;
1: + struct list_head vcpis;
1: + struct drm_dp_mst_topology_mgr *mgr;
1: +};
1: +
1: +struct drm_dp_pending_up_req {
1: + struct drm_dp_sideband_msg_hdr hdr;
1: + struct drm_dp_sideband_msg_req_body msg;
1: + struct list_head next;
1: +};
1: +
1: +struct dma_fence_ops;
1: +
1: +struct dma_fence {
1: + spinlock_t *lock;
1: + const struct dma_fence_ops *ops;
1: + union {
1: + struct list_head cb_list;
1: + ktime_t timestamp;
1: + struct callback_head rcu;
1: + };
1: + u64 context;
1: + u64 seqno;
1: + long unsigned int flags;
1: + struct kref refcount;
1: + int error;
1: +};
1: +
1: +struct dma_fence_ops {
1: + bool use_64bit_seqno;
1: + const char * (*get_driver_name)(struct dma_fence *);
1: + const char * (*get_timeline_name)(struct dma_fence *);
1: + bool (*enable_signaling)(struct dma_fence *);
1: + bool (*signaled)(struct dma_fence *);
1: + long int (*wait)(struct dma_fence *, bool, long int);
1: + void (*release)(struct dma_fence *);
1: + void (*fence_value_str)(struct dma_fence *, char *, int);
1: + void (*timeline_value_str)(struct dma_fence *, char *, int);
1: +};
1: +
1: +struct drm_color_lut {
1: + __u16 red;
1: + __u16 green;
1: + __u16 blue;
1: + __u16 reserved;
1: +};
1: +
1: +struct drm_writeback_job {
1: + struct drm_writeback_connector *connector;
1: + bool prepared;
1: + struct work_struct cleanup_work;
1: + struct list_head list_entry;
1: + struct drm_framebuffer *fb;
1: + struct dma_fence *out_fence;
1: + void *priv;
1: +};
1: +
1: +struct drm_writeback_connector {
1: + struct drm_connector base;
1: + struct drm_encoder encoder;
1: + struct drm_property_blob *pixel_formats_blob_ptr;
1: + spinlock_t job_lock;
1: + struct list_head job_queue;
1: + unsigned int fence_context;
1: + spinlock_t fence_lock;
1: + long unsigned int fence_seqno;
1: + char timeline_name[32];
1: +};
1: +
1: +enum drm_lspcon_mode {
1: + DRM_LSPCON_MODE_INVALID = 0,
1: + DRM_LSPCON_MODE_LS = 1,
1: + DRM_LSPCON_MODE_PCON = 2,
1: +};
1: +
1: +enum drm_dp_dual_mode_type {
1: + DRM_DP_DUAL_MODE_NONE = 0,
1: + DRM_DP_DUAL_MODE_UNKNOWN = 1,
1: + DRM_DP_DUAL_MODE_TYPE1_DVI = 2,
1: + DRM_DP_DUAL_MODE_TYPE1_HDMI = 3,
1: + DRM_DP_DUAL_MODE_TYPE2_DVI = 4,
1: + DRM_DP_DUAL_MODE_TYPE2_HDMI = 5,
1: + DRM_DP_DUAL_MODE_LSPCON = 6,
1: +};
1: +
1: +struct drm_simple_display_pipe;
1: +
1: +struct drm_simple_display_pipe_funcs {
1: + enum drm_mode_status (*mode_valid)(struct drm_simple_display_pipe *, const struct drm_display_mode *);
1: + void (*enable)(struct drm_simple_display_pipe *, struct drm_crtc_state *, struct drm_plane_state *);
1: + void (*disable)(struct drm_simple_display_pipe *);
1: + int (*check)(struct drm_simple_display_pipe *, struct drm_plane_state *, struct drm_crtc_state *);
1: + void (*update)(struct drm_simple_display_pipe *, struct drm_plane_state *);
1: + int (*prepare_fb)(struct drm_simple_display_pipe *, struct drm_plane_state *);
1: + void (*cleanup_fb)(struct drm_simple_display_pipe *, struct drm_plane_state *);
1: + int (*enable_vblank)(struct drm_simple_display_pipe *);
1: + void (*disable_vblank)(struct drm_simple_display_pipe *);
1: +};
1: +
1: +struct drm_simple_display_pipe {
1: + struct drm_crtc crtc;
1: + struct drm_plane plane;
1: + struct drm_encoder encoder;
1: + struct drm_connector *connector;
1: + const struct drm_simple_display_pipe_funcs *funcs;
1: +};
1: +
1: +struct dma_fence_cb;
1: +
1: +typedef void (*dma_fence_func_t)(struct dma_fence *, struct dma_fence_cb *);
1: +
1: +struct dma_fence_cb {
1: + struct list_head node;
1: + dma_fence_func_t func;
1: +};
1: +
1: +struct dma_buf_ops {
1: + bool cache_sgt_mapping;
1: + bool dynamic_mapping;
1: + int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
1: + void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
1: + struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *, enum dma_data_direction);
1: + void (*unmap_dma_buf)(struct dma_buf_attachment *, struct sg_table *, enum dma_data_direction);
1: + void (*release)(struct dma_buf *);
1: + int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
1: + int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
1: + int (*mmap)(struct dma_buf *, struct vm_area_struct *);
1: + void * (*map)(struct dma_buf *, long unsigned int);
1: + void (*unmap)(struct dma_buf *, long unsigned int, void *);
1: + void * (*vmap)(struct dma_buf *);
1: + void (*vunmap)(struct dma_buf *, void *);
1: +};
1: +
1: +struct dma_buf_poll_cb_t {
1: + struct dma_fence_cb cb;
1: + wait_queue_head_t *poll;
1: + __poll_t active;
1: +};
1: +
1: +struct dma_buf {
1: + size_t size;
1: + struct file *file;
1: + struct list_head attachments;
1: + const struct dma_buf_ops *ops;
1: + struct mutex lock;
1: + unsigned int vmapping_counter;
1: + void *vmap_ptr;
1: + const char *exp_name;
1: + const char *name;
1: + struct module *owner;
1: + struct list_head list_node;
1: + void *priv;
1: + struct dma_resv *resv;
1: + wait_queue_head_t poll;
1: + struct dma_buf_poll_cb_t cb_excl;
1: + struct dma_buf_poll_cb_t cb_shared;
1: +};
1: +
1: +struct dma_buf_attachment {
1: + struct dma_buf *dmabuf;
1: + struct device *dev;
1: + struct list_head node;
1: + struct sg_table *sgt;
1: + enum dma_data_direction dir;
1: + bool dynamic_mapping;
1: + void *priv;
1: +};
1: +
1: +struct dma_resv_list {
1: + struct callback_head rcu;
1: + u32 shared_count;
1: + u32 shared_max;
1: + struct dma_fence *shared[0];
1: +};
1: +
1: +struct drm_mm {
1: + void (*color_adjust)(const struct drm_mm_node *, long unsigned int, u64 *, u64 *);
1: + struct list_head hole_stack;
1: + struct drm_mm_node head_node;
1: + struct rb_root_cached interval_tree;
1: + struct rb_root_cached holes_size;
1: + struct rb_root holes_addr;
1: + long unsigned int scan_active;
1: +};
1: +
1: +struct drm_vma_offset_manager {
1: + rwlock_t vm_lock;
1: + struct drm_mm vm_addr_space_mm;
1: +};
1: +
1: +struct drm_gem_object_funcs {
1: + void (*free)(struct drm_gem_object *);
1: + int (*open)(struct drm_gem_object *, struct drm_file *);
1: + void (*close)(struct drm_gem_object *, struct drm_file *);
1: + void (*print_info)(struct drm_printer *, unsigned int, const struct drm_gem_object *);
1: + struct dma_buf * (*export)(struct drm_gem_object *, int);
1: + int (*pin)(struct drm_gem_object *);
1: + void (*unpin)(struct drm_gem_object *);
1: + struct sg_table * (*get_sg_table)(struct drm_gem_object *);
1: + void * (*vmap)(struct drm_gem_object *);
1: + void (*vunmap)(struct drm_gem_object *, void *);
1: + int (*mmap)(struct drm_gem_object *, struct vm_area_struct *);
1: + const struct vm_operations_struct *vm_ops;
1: +};
1: +
1: +struct drm_mode_rect {
1: + __s32 x1;
1: + __s32 y1;
1: + __s32 x2;
1: + __s32 y2;
1: +};
1: +
1: +struct drm_atomic_helper_damage_iter {
1: + struct drm_rect plane_src;
1: + const struct drm_rect *clips;
1: + uint32_t num_clips;
1: + uint32_t curr_clip;
1: + bool full_update;
1: +};
1: +
1: +struct ewma_psr_time {
1: + long unsigned int internal;
1: +};
1: +
1: +struct drm_self_refresh_data {
1: + struct drm_crtc *crtc;
1: + struct delayed_work entry_work;
1: + struct mutex avg_mutex;
1: + struct ewma_psr_time entry_avg_ms;
1: + struct ewma_psr_time exit_avg_ms;
1: +};
1: +
1: +struct display_timing;
1: +
1: +struct drm_panel;
1: +
1: +struct drm_panel_funcs {
1: + int (*prepare)(struct drm_panel *);
1: + int (*enable)(struct drm_panel *);
1: + int (*disable)(struct drm_panel *);
1: + int (*unprepare)(struct drm_panel *);
1: + int (*get_modes)(struct drm_panel *);
1: + int (*get_timings)(struct drm_panel *, unsigned int, struct display_timing *);
1: +};
1: +
1: +struct drm_panel {
1: + struct drm_device *drm;
1: + struct drm_connector *connector;
1: + struct device *dev;
1: + const struct drm_panel_funcs *funcs;
1: + int connector_type;
1: + struct list_head list;
1: +};
1: +
1: +struct panel_bridge {
1: + struct drm_bridge bridge;
1: + struct drm_connector connector;
1: + struct drm_panel *panel;
1: + u32 connector_type;
1: +};
1: +
1: +struct drm_master {
1: + struct kref refcount;
1: + struct drm_device *dev;
1: + char *unique;
1: + int unique_len;
1: + struct idr magic_map;
1: + void *driver_priv;
1: + struct drm_master *lessor;
1: + int lessee_id;
1: + struct list_head lessee_list;
1: + struct list_head lessees;
1: + struct idr leases;
1: + struct idr lessee_idr;
1: +};
1: +
1: +struct drm_auth {
1: + drm_magic_t magic;
1: +};
1: +
1: +enum drm_minor_type {
1: + DRM_MINOR_PRIMARY = 0,
1: + DRM_MINOR_CONTROL = 1,
1: + DRM_MINOR_RENDER = 2,
1: +};
1: +
1: +struct xa_limit {
1: + u32 max;
1: + u32 min;
1: +};
1: +
1: +struct drm_gem_close {
1: + __u32 handle;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_gem_flink {
1: + __u32 handle;
1: + __u32 name;
1: +};
1: +
1: +struct drm_gem_open {
1: + __u32 name;
1: + __u32 handle;
1: + __u64 size;
1: +};
1: +
1: +struct ww_class {
1: + atomic_long_t stamp;
1: + struct lock_class_key acquire_key;
1: + struct lock_class_key mutex_key;
1: + const char *acquire_name;
1: + const char *mutex_name;
1: + unsigned int is_wait_die;
1: +};
1: +
1: +struct drm_version {
1: + int version_major;
1: + int version_minor;
1: + int version_patchlevel;
1: + __kernel_size_t name_len;
1: + char *name;
1: + __kernel_size_t date_len;
1: + char *date;
1: + __kernel_size_t desc_len;
1: + char *desc;
1: +};
1: +
1: +struct drm_unique {
1: + __kernel_size_t unique_len;
1: + char *unique;
1: +};
1: +
1: +struct drm_client {
1: + int idx;
1: + int auth;
1: + long unsigned int pid;
1: + long unsigned int uid;
1: + long unsigned int magic;
1: + long unsigned int iocs;
1: +};
1: +
1: +enum drm_stat_type {
1: + _DRM_STAT_LOCK = 0,
1: + _DRM_STAT_OPENS = 1,
1: + _DRM_STAT_CLOSES = 2,
1: + _DRM_STAT_IOCTLS = 3,
1: + _DRM_STAT_LOCKS = 4,
1: + _DRM_STAT_UNLOCKS = 5,
1: + _DRM_STAT_VALUE = 6,
1: + _DRM_STAT_BYTE = 7,
1: + _DRM_STAT_COUNT = 8,
1: + _DRM_STAT_IRQ = 9,
1: + _DRM_STAT_PRIMARY = 10,
1: + _DRM_STAT_SECONDARY = 11,
1: + _DRM_STAT_DMA = 12,
1: + _DRM_STAT_SPECIAL = 13,
1: + _DRM_STAT_MISSED = 14,
1: +};
1: +
1: +struct drm_stats {
1: + long unsigned int count;
1: + struct {
1: + long unsigned int value;
1: + enum drm_stat_type type;
1: + } data[15];
1: +};
1: +
1: +struct drm_set_version {
1: + int drm_di_major;
1: + int drm_di_minor;
1: + int drm_dd_major;
1: + int drm_dd_minor;
1: +};
1: +
1: +struct drm_get_cap {
1: + __u64 capability;
1: + __u64 value;
1: +};
1: +
1: +struct drm_set_client_cap {
1: + __u64 capability;
1: + __u64 value;
1: +};
1: +
1: +struct drm_agp_head {
1: + struct agp_kern_info agp_info;
1: + struct list_head memory;
1: + long unsigned int mode;
1: + struct agp_bridge_data *bridge;
1: + int enabled;
1: + int acquired;
1: + long unsigned int base;
1: + int agp_mtrr;
1: + int cant_use_aperture;
1: + long unsigned int page_mask;
1: +};
1: +
1: +enum drm_map_type {
1: + _DRM_FRAME_BUFFER = 0,
1: + _DRM_REGISTERS = 1,
1: + _DRM_SHM = 2,
1: + _DRM_AGP = 3,
1: + _DRM_SCATTER_GATHER = 4,
1: + _DRM_CONSISTENT = 5,
1: +};
1: +
1: +enum drm_map_flags {
1: + _DRM_RESTRICTED = 1,
1: + _DRM_READ_ONLY = 2,
1: + _DRM_LOCKED = 4,
1: + _DRM_KERNEL = 8,
1: + _DRM_WRITE_COMBINING = 16,
1: + _DRM_CONTAINS_LOCK = 32,
1: + _DRM_REMOVABLE = 64,
1: + _DRM_DRIVER = 128,
1: +};
1: +
1: +struct drm_local_map {
1: + resource_size_t offset;
1: + long unsigned int size;
1: + enum drm_map_type type;
1: + enum drm_map_flags flags;
1: + void *handle;
1: + int mtrr;
1: +};
1: +
1: +struct drm_agp_mem {
1: + long unsigned int handle;
1: + struct agp_memory *memory;
1: + long unsigned int bound;
1: + int pages;
1: + struct list_head head;
1: +};
1: +
1: +struct drm_irq_busid {
1: + int irq;
1: + int busnum;
1: + int devnum;
1: + int funcnum;
1: +};
1: +
1: +struct drm_dma_handle {
1: + dma_addr_t busaddr;
1: + void *vaddr;
1: + size_t size;
1: +};
1: +
1: +typedef struct drm_dma_handle drm_dma_handle_t;
1: +
1: +struct class_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct class *, struct class_attribute *, char *);
1: + ssize_t (*store)(struct class *, struct class_attribute *, const char *, size_t);
1: +};
1: +
1: +struct class_attribute_string {
1: + struct class_attribute attr;
1: + char *str;
1: +};
1: +
1: +struct drm_hash_item {
1: + struct hlist_node head;
1: + long unsigned int key;
1: +};
1: +
1: +struct drm_open_hash {
1: + struct hlist_head *table;
1: + u8 order;
1: +};
1: +
1: +enum drm_mm_insert_mode {
1: + DRM_MM_INSERT_BEST = 0,
1: + DRM_MM_INSERT_LOW = 1,
1: + DRM_MM_INSERT_HIGH = 2,
1: + DRM_MM_INSERT_EVICT = 3,
1: + DRM_MM_INSERT_ONCE = -2147483648,
1: + DRM_MM_INSERT_HIGHEST = -2147483646,
1: + DRM_MM_INSERT_LOWEST = -2147483647,
1: +};
1: +
1: +struct drm_mm_scan {
1: + struct drm_mm *mm;
1: + u64 size;
1: + u64 alignment;
1: + u64 remainder_mask;
1: + u64 range_start;
1: + u64 range_end;
1: + u64 hit_start;
1: + u64 hit_end;
1: + long unsigned int color;
1: + enum drm_mm_insert_mode mode;
1: +};
1: +
1: +struct drm_mode_modeinfo {
1: + __u32 clock;
1: + __u16 hdisplay;
1: + __u16 hsync_start;
1: + __u16 hsync_end;
1: + __u16 htotal;
1: + __u16 hskew;
1: + __u16 vdisplay;
1: + __u16 vsync_start;
1: + __u16 vsync_end;
1: + __u16 vtotal;
1: + __u16 vscan;
1: + __u32 vrefresh;
1: + __u32 flags;
1: + __u32 type;
1: + char name[32];
1: +};
1: +
1: +struct drm_mode_crtc {
1: + __u64 set_connectors_ptr;
1: + __u32 count_connectors;
1: + __u32 crtc_id;
1: + __u32 fb_id;
1: + __u32 x;
1: + __u32 y;
1: + __u32 gamma_size;
1: + __u32 mode_valid;
1: + struct drm_mode_modeinfo mode;
1: +};
1: +
1: +struct drm_format_name_buf {
1: + char str[32];
1: +};
1: +
1: +struct displayid_hdr {
1: + u8 rev;
1: + u8 bytes;
1: + u8 prod_id;
1: + u8 ext_count;
1: +};
1: +
1: +struct displayid_block {
1: + u8 tag;
1: + u8 rev;
1: + u8 num_bytes;
1: +};
1: +
1: +struct displayid_tiled_block {
1: + struct displayid_block base;
1: + u8 tile_cap;
1: + u8 topo[3];
1: + u8 tile_size[4];
1: + u8 tile_pixel_bezel[5];
1: + u8 topology_id[8];
1: +};
1: +
1: +struct displayid_detailed_timings_1 {
1: + u8 pixel_clock[3];
1: + u8 flags;
1: + u8 hactive[2];
1: + u8 hblank[2];
1: + u8 hsync[2];
1: + u8 hsw[2];
1: + u8 vactive[2];
1: + u8 vblank[2];
1: + u8 vsync[2];
1: + u8 vsw[2];
1: +};
1: +
1: +struct displayid_detailed_timing_block {
1: + struct displayid_block base;
1: + struct displayid_detailed_timings_1 timings[0];
1: +};
1: +
1: +struct hdr_metadata_infoframe {
1: + __u8 eotf;
1: + __u8 metadata_type;
1: + struct {
1: + __u16 x;
1: + __u16 y;
1: + } display_primaries[3];
1: + struct {
1: + __u16 x;
1: + __u16 y;
1: + } white_point;
1: + __u16 max_display_mastering_luminance;
1: + __u16 min_display_mastering_luminance;
1: + __u16 max_cll;
1: + __u16 max_fall;
1: +};
1: +
1: +struct hdr_output_metadata {
1: + __u32 metadata_type;
1: + union {
1: + struct hdr_metadata_infoframe hdmi_metadata_type1;
1: + };
1: +};
1: +
1: +struct cea_sad {
1: + u8 format;
1: + u8 channels;
1: + u8 freq;
1: + u8 byte2;
1: +};
1: +
1: +struct detailed_mode_closure {
1: + struct drm_connector *connector;
1: + struct edid *edid;
1: + bool preferred;
1: + u32 quirks;
1: + int modes;
1: +};
1: +
1: +struct edid_quirk {
1: + char vendor[4];
1: + int product_id;
1: + u32 quirks;
1: +};
1: +
1: +struct minimode {
1: + short int w;
1: + short int h;
1: + short int r;
1: + short int rb;
1: +};
1: +
1: +typedef void detailed_cb(struct detailed_timing *, void *);
1: +
1: +struct stereo_mandatory_mode {
1: + int width;
1: + int height;
1: + int vrefresh;
1: + unsigned int flags;
1: +};
1: +
1: +struct i2c_device_id {
1: + char name[20];
1: + kernel_ulong_t driver_data;
1: +};
1: +
1: +struct i2c_client {
1: + short unsigned int flags;
1: + short unsigned int addr;
1: + char name[20];
1: + struct i2c_adapter *adapter;
1: + struct device dev;
1: + int init_irq;
1: + int irq;
1: + struct list_head detected;
1: +};
1: +
1: +enum i2c_alert_protocol {
1: + I2C_PROTOCOL_SMBUS_ALERT = 0,
1: + I2C_PROTOCOL_SMBUS_HOST_NOTIFY = 1,
1: +};
1: +
1: +struct i2c_board_info;
1: +
1: +struct i2c_driver {
1: + unsigned int class;
1: + int (*probe)(struct i2c_client *, const struct i2c_device_id *);
1: + int (*remove)(struct i2c_client *);
1: + int (*probe_new)(struct i2c_client *);
1: + void (*shutdown)(struct i2c_client *);
1: + void (*alert)(struct i2c_client *, enum i2c_alert_protocol, unsigned int);
1: + int (*command)(struct i2c_client *, unsigned int, void *);
1: + struct device_driver driver;
1: + const struct i2c_device_id *id_table;
1: + int (*detect)(struct i2c_client *, struct i2c_board_info *);
1: + const short unsigned int *address_list;
1: + struct list_head clients;
1: + bool disable_i2c_core_irq_mapping;
1: +};
1: +
1: +struct i2c_board_info {
1: + char type[20];
1: + short unsigned int flags;
1: + short unsigned int addr;
1: + const char *dev_name;
1: + void *platform_data;
1: + struct device_node *of_node;
1: + struct fwnode_handle *fwnode;
1: + const struct property_entry *properties;
1: + const struct resource *resources;
1: + unsigned int num_resources;
1: + int irq;
1: +};
1: +
1: +struct drm_encoder_slave_funcs {
1: + void (*set_config)(struct drm_encoder *, void *);
1: + void (*destroy)(struct drm_encoder *);
1: + void (*dpms)(struct drm_encoder *, int);
1: + void (*save)(struct drm_encoder *);
1: + void (*restore)(struct drm_encoder *);
1: + bool (*mode_fixup)(struct drm_encoder *, const struct drm_display_mode *, struct drm_display_mode *);
1: + int (*mode_valid)(struct drm_encoder *, struct drm_display_mode *);
1: + void (*mode_set)(struct drm_encoder *, struct drm_display_mode *, struct drm_display_mode *);
1: + enum drm_connector_status (*detect)(struct drm_encoder *, struct drm_connector *);
1: + int (*get_modes)(struct drm_encoder *, struct drm_connector *);
1: + int (*create_resources)(struct drm_encoder *, struct drm_connector *);
1: + int (*set_property)(struct drm_encoder *, struct drm_connector *, struct drm_property *, uint64_t);
1: +};
1: +
1: +struct drm_encoder_slave {
1: + struct drm_encoder base;
1: + const struct drm_encoder_slave_funcs *slave_funcs;
1: + void *slave_priv;
1: + void *bus_priv;
1: +};
1: +
1: +struct drm_i2c_encoder_driver {
1: + struct i2c_driver i2c_driver;
1: + int (*encoder_init)(struct i2c_client *, struct drm_device *, struct drm_encoder_slave *);
1: +};
1: +
1: +struct trace_event_raw_drm_vblank_event {
1: + struct trace_entry ent;
1: + int crtc;
1: + unsigned int seq;
1: + ktime_t time;
1: + bool high_prec;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drm_vblank_event_queued {
1: + struct trace_entry ent;
1: + struct drm_file *file;
1: + int crtc;
1: + unsigned int seq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drm_vblank_event_delivered {
1: + struct trace_entry ent;
1: + struct drm_file *file;
1: + int crtc;
1: + unsigned int seq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_drm_vblank_event {};
1: +
1: +struct trace_event_data_offsets_drm_vblank_event_queued {};
1: +
1: +struct trace_event_data_offsets_drm_vblank_event_delivered {};
1: +
1: +struct dma_buf_export_info {
1: + const char *exp_name;
1: + struct module *owner;
1: + const struct dma_buf_ops *ops;
1: + size_t size;
1: + int flags;
1: + struct dma_resv *resv;
1: + void *priv;
1: +};
1: +
1: +struct drm_prime_handle {
1: + __u32 handle;
1: + __u32 flags;
1: + __s32 fd;
1: +};
1: +
1: +struct drm_prime_member {
1: + struct dma_buf *dma_buf;
1: + uint32_t handle;
1: + struct rb_node dmabuf_rb;
1: + struct rb_node handle_rb;
1: +};
1: +
1: +struct drm_vma_offset_file {
1: + struct rb_node vm_rb;
1: + struct drm_file *vm_tag;
1: + long unsigned int vm_count;
1: +};
1: +
1: +struct drm_flip_work;
1: +
1: +typedef void (*drm_flip_func_t)(struct drm_flip_work *, void *);
1: +
1: +struct drm_flip_work {
1: + const char *name;
1: + drm_flip_func_t func;
1: + struct work_struct worker;
1: + struct list_head queued;
1: + struct list_head commited;
1: + spinlock_t lock;
1: +};
1: +
1: +struct drm_flip_task {
1: + struct list_head node;
1: + void *data;
1: +};
1: +
1: +struct drm_info_list {
1: + const char *name;
1: + int (*show)(struct seq_file *, void *);
1: + u32 driver_features;
1: + void *data;
1: +};
1: +
1: +struct drm_info_node {
1: + struct drm_minor *minor;
1: + const struct drm_info_list *info_ent;
1: + struct list_head list;
1: + struct dentry *dent;
1: +};
1: +
1: +struct drm_mode_fb_cmd {
1: + __u32 fb_id;
1: + __u32 width;
1: + __u32 height;
1: + __u32 pitch;
1: + __u32 bpp;
1: + __u32 depth;
1: + __u32 handle;
1: +};
1: +
1: +struct drm_mode_fb_dirty_cmd {
1: + __u32 fb_id;
1: + __u32 flags;
1: + __u32 color;
1: + __u32 num_clips;
1: + __u64 clips_ptr;
1: +};
1: +
1: +struct drm_mode_rmfb_work {
1: + struct work_struct work;
1: + struct list_head fbs;
1: +};
1: +
1: +struct drm_mode_get_connector {
1: + __u64 encoders_ptr;
1: + __u64 modes_ptr;
1: + __u64 props_ptr;
1: + __u64 prop_values_ptr;
1: + __u32 count_modes;
1: + __u32 count_props;
1: + __u32 count_encoders;
1: + __u32 encoder_id;
1: + __u32 connector_id;
1: + __u32 connector_type;
1: + __u32 connector_type_id;
1: + __u32 connection;
1: + __u32 mm_width;
1: + __u32 mm_height;
1: + __u32 subpixel;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_mode_connector_set_property {
1: + __u64 value;
1: + __u32 prop_id;
1: + __u32 connector_id;
1: +};
1: +
1: +struct drm_mode_obj_set_property {
1: + __u64 value;
1: + __u32 prop_id;
1: + __u32 obj_id;
1: + __u32 obj_type;
1: +};
1: +
1: +struct drm_prop_enum_list {
1: + int type;
1: + const char *name;
1: +};
1: +
1: +struct drm_conn_prop_enum_list {
1: + int type;
1: + const char *name;
1: + struct ida ida;
1: +};
1: +
1: +struct drm_mode_get_encoder {
1: + __u32 encoder_id;
1: + __u32 encoder_type;
1: + __u32 crtc_id;
1: + __u32 possible_crtcs;
1: + __u32 possible_clones;
1: +};
1: +
1: +struct drm_mode_obj_get_properties {
1: + __u64 props_ptr;
1: + __u64 prop_values_ptr;
1: + __u32 count_props;
1: + __u32 obj_id;
1: + __u32 obj_type;
1: +};
1: +
1: +struct drm_mode_property_enum {
1: + __u64 value;
1: + char name[32];
1: +};
1: +
1: +struct drm_mode_get_property {
1: + __u64 values_ptr;
1: + __u64 enum_blob_ptr;
1: + __u32 prop_id;
1: + __u32 flags;
1: + char name[32];
1: + __u32 count_values;
1: + __u32 count_enum_blobs;
1: +};
1: +
1: +struct drm_mode_get_blob {
1: + __u32 blob_id;
1: + __u32 length;
1: + __u64 data;
1: +};
1: +
1: +struct drm_mode_create_blob {
1: + __u64 data;
1: + __u32 length;
1: + __u32 blob_id;
1: +};
1: +
1: +struct drm_mode_destroy_blob {
1: + __u32 blob_id;
1: +};
1: +
1: +struct drm_property_enum {
1: + uint64_t value;
1: + struct list_head head;
1: + char name[32];
1: +};
1: +
1: +struct drm_mode_set_plane {
1: + __u32 plane_id;
1: + __u32 crtc_id;
1: + __u32 fb_id;
1: + __u32 flags;
1: + __s32 crtc_x;
1: + __s32 crtc_y;
1: + __u32 crtc_w;
1: + __u32 crtc_h;
1: + __u32 src_x;
1: + __u32 src_y;
1: + __u32 src_h;
1: + __u32 src_w;
1: +};
1: +
1: +struct drm_mode_get_plane {
1: + __u32 plane_id;
1: + __u32 crtc_id;
1: + __u32 fb_id;
1: + __u32 possible_crtcs;
1: + __u32 gamma_size;
1: + __u32 count_format_types;
1: + __u64 format_type_ptr;
1: +};
1: +
1: +struct drm_mode_get_plane_res {
1: + __u64 plane_id_ptr;
1: + __u32 count_planes;
1: +};
1: +
1: +struct drm_mode_cursor {
1: + __u32 flags;
1: + __u32 crtc_id;
1: + __s32 x;
1: + __s32 y;
1: + __u32 width;
1: + __u32 height;
1: + __u32 handle;
1: +};
1: +
1: +struct drm_mode_cursor2 {
1: + __u32 flags;
1: + __u32 crtc_id;
1: + __s32 x;
1: + __s32 y;
1: + __u32 width;
1: + __u32 height;
1: + __u32 handle;
1: + __s32 hot_x;
1: + __s32 hot_y;
1: +};
1: +
1: +struct drm_mode_crtc_page_flip_target {
1: + __u32 crtc_id;
1: + __u32 fb_id;
1: + __u32 flags;
1: + __u32 sequence;
1: + __u64 user_data;
1: +};
1: +
1: +struct drm_format_modifier_blob {
1: + __u32 version;
1: + __u32 flags;
1: + __u32 count_formats;
1: + __u32 formats_offset;
1: + __u32 count_modifiers;
1: + __u32 modifiers_offset;
1: +};
1: +
1: +struct drm_format_modifier {
1: + __u64 formats;
1: + __u32 offset;
1: + __u32 pad;
1: + __u64 modifier;
1: +};
1: +
1: +struct drm_mode_crtc_lut {
1: + __u32 crtc_id;
1: + __u32 gamma_size;
1: + __u64 red;
1: + __u64 green;
1: + __u64 blue;
1: +};
1: +
1: +enum drm_color_lut_tests {
1: + DRM_COLOR_LUT_EQUAL_CHANNELS = 1,
1: + DRM_COLOR_LUT_NON_DECREASING = 2,
1: +};
1: +
1: +struct drm_print_iterator {
1: + void *data;
1: + ssize_t start;
1: + ssize_t remain;
1: + ssize_t offset;
1: +};
1: +
1: +struct drm_mode_map_dumb {
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: +};
1: +
1: +struct drm_mode_destroy_dumb {
1: + __u32 handle;
1: +};
1: +
1: +struct drm_mode_card_res {
1: + __u64 fb_id_ptr;
1: + __u64 crtc_id_ptr;
1: + __u64 connector_id_ptr;
1: + __u64 encoder_id_ptr;
1: + __u32 count_fbs;
1: + __u32 count_crtcs;
1: + __u32 count_connectors;
1: + __u32 count_encoders;
1: + __u32 min_width;
1: + __u32 max_width;
1: + __u32 min_height;
1: + __u32 max_height;
1: +};
1: +
1: +enum drm_vblank_seq_type {
1: + _DRM_VBLANK_ABSOLUTE = 0,
1: + _DRM_VBLANK_RELATIVE = 1,
1: + _DRM_VBLANK_HIGH_CRTC_MASK = 62,
1: + _DRM_VBLANK_EVENT = 67108864,
1: + _DRM_VBLANK_FLIP = 134217728,
1: + _DRM_VBLANK_NEXTONMISS = 268435456,
1: + _DRM_VBLANK_SECONDARY = 536870912,
1: + _DRM_VBLANK_SIGNAL = 1073741824,
1: +};
1: +
1: +struct drm_wait_vblank_request {
1: + enum drm_vblank_seq_type type;
1: + unsigned int sequence;
1: + long unsigned int signal;
1: +};
1: +
1: +struct drm_wait_vblank_reply {
1: + enum drm_vblank_seq_type type;
1: + unsigned int sequence;
1: + long int tval_sec;
1: + long int tval_usec;
1: +};
1: +
1: +union drm_wait_vblank {
1: + struct drm_wait_vblank_request request;
1: + struct drm_wait_vblank_reply reply;
1: +};
1: +
1: +struct drm_modeset_ctl {
1: + __u32 crtc;
1: + __u32 cmd;
1: +};
1: +
1: +struct drm_crtc_get_sequence {
1: + __u32 crtc_id;
1: + __u32 active;
1: + __u64 sequence;
1: + __s64 sequence_ns;
1: +};
1: +
1: +struct drm_crtc_queue_sequence {
1: + __u32 crtc_id;
1: + __u32 flags;
1: + __u64 sequence;
1: + __u64 user_data;
1: +};
1: +
1: +enum dma_fence_flag_bits {
1: + DMA_FENCE_FLAG_SIGNALED_BIT = 0,
1: + DMA_FENCE_FLAG_TIMESTAMP_BIT = 1,
1: + DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT = 2,
1: + DMA_FENCE_FLAG_USER_BITS = 3,
1: +};
1: +
1: +struct sync_file {
1: + struct file *file;
1: + char user_name[32];
1: + struct list_head sync_file_list;
1: + wait_queue_head_t wq;
1: + long unsigned int flags;
1: + struct dma_fence *fence;
1: + struct dma_fence_cb cb;
1: +};
1: +
1: +struct drm_syncobj_create {
1: + __u32 handle;
1: + __u32 flags;
1: +};
1: +
1: +struct drm_syncobj_destroy {
1: + __u32 handle;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_syncobj_handle {
1: + __u32 handle;
1: + __u32 flags;
1: + __s32 fd;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_syncobj_transfer {
1: + __u32 src_handle;
1: + __u32 dst_handle;
1: + __u64 src_point;
1: + __u64 dst_point;
1: + __u32 flags;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_syncobj_wait {
1: + __u64 handles;
1: + __s64 timeout_nsec;
1: + __u32 count_handles;
1: + __u32 flags;
1: + __u32 first_signaled;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_syncobj_timeline_wait {
1: + __u64 handles;
1: + __u64 points;
1: + __s64 timeout_nsec;
1: + __u32 count_handles;
1: + __u32 flags;
1: + __u32 first_signaled;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_syncobj_array {
1: + __u64 handles;
1: + __u32 count_handles;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_syncobj_timeline_array {
1: + __u64 handles;
1: + __u64 points;
1: + __u32 count_handles;
1: + __u32 flags;
1: +};
1: +
1: +struct dma_fence_chain {
1: + struct dma_fence base;
1: + spinlock_t lock;
1: + struct dma_fence *prev;
1: + u64 prev_seqno;
1: + struct dma_fence *fence;
1: + struct dma_fence_cb cb;
1: + struct irq_work work;
1: +};
1: +
1: +struct drm_syncobj {
1: + struct kref refcount;
1: + struct dma_fence *fence;
1: + struct list_head cb_list;
1: + spinlock_t lock;
1: + struct file *file;
1: +};
1: +
1: +struct syncobj_wait_entry {
1: + struct list_head node;
1: + struct task_struct *task;
1: + struct dma_fence *fence;
1: + struct dma_fence_cb fence_cb;
1: + u64 point;
1: +};
1: +
1: +struct drm_mode_create_lease {
1: + __u64 object_ids;
1: + __u32 object_count;
1: + __u32 flags;
1: + __u32 lessee_id;
1: + __u32 fd;
1: +};
1: +
1: +struct drm_mode_list_lessees {
1: + __u32 count_lessees;
1: + __u32 pad;
1: + __u64 lessees_ptr;
1: +};
1: +
1: +struct drm_mode_get_lease {
1: + __u32 count_objects;
1: + __u32 pad;
1: + __u64 objects_ptr;
1: +};
1: +
1: +struct drm_mode_revoke_lease {
1: + __u32 lessee_id;
1: +};
1: +
1: +struct drm_client_offset {
1: + int x;
1: + int y;
1: +};
1: +
1: +struct drm_mode_atomic {
1: + __u32 flags;
1: + __u32 count_objs;
1: + __u64 objs_ptr;
1: + __u64 count_props_ptr;
1: + __u64 props_ptr;
1: + __u64 prop_values_ptr;
1: + __u64 reserved;
1: + __u64 user_data;
1: +};
1: +
1: +struct drm_out_fence_state {
1: + s32 *out_fence_ptr;
1: + struct sync_file *sync_file;
1: + int fd;
1: +};
1: +
1: +struct hdcp_srm_header {
1: + u8 srm_id;
1: + u8 reserved;
1: + __be16 srm_version;
1: + u8 srm_gen_no;
1: +} __attribute__((packed));
1: +
1: +struct hdcp_srm {
1: + u32 revoked_ksv_cnt;
1: + u8 *revoked_ksv_list;
1: + struct mutex mutex;
1: +};
1: +
1: +typedef unsigned int drm_drawable_t;
1: +
1: +struct drm_agp_mode {
1: + long unsigned int mode;
1: +};
1: +
1: +struct drm_agp_buffer {
1: + long unsigned int size;
1: + long unsigned int handle;
1: + long unsigned int type;
1: + long unsigned int physical;
1: +};
1: +
1: +struct drm_agp_binding {
1: + long unsigned int handle;
1: + long unsigned int offset;
1: +};
1: +
1: +struct drm_agp_info {
1: + int agp_version_major;
1: + int agp_version_minor;
1: + long unsigned int mode;
1: + long unsigned int aperture_base;
1: + long unsigned int aperture_size;
1: + long unsigned int memory_allowed;
1: + long unsigned int memory_used;
1: + short unsigned int id_vendor;
1: + short unsigned int id_device;
1: +};
1: +
1: +typedef int drm_ioctl_compat_t(struct file *, unsigned int, long unsigned int);
1: +
1: +struct drm_version_32 {
1: + int version_major;
1: + int version_minor;
1: + int version_patchlevel;
1: + u32 name_len;
1: + u32 name;
1: + u32 date_len;
1: + u32 date;
1: + u32 desc_len;
1: + u32 desc;
1: +};
1: +
1: +typedef struct drm_version_32 drm_version32_t;
1: +
1: +struct drm_unique32 {
1: + u32 unique_len;
1: + u32 unique;
1: +};
1: +
1: +typedef struct drm_unique32 drm_unique32_t;
1: +
1: +struct drm_client32 {
1: + int idx;
1: + int auth;
1: + u32 pid;
1: + u32 uid;
1: + u32 magic;
1: + u32 iocs;
1: +};
1: +
1: +typedef struct drm_client32 drm_client32_t;
1: +
1: +struct drm_stats32 {
1: + u32 count;
1: + struct {
1: + u32 value;
1: + enum drm_stat_type type;
1: + } data[15];
1: +};
1: +
1: +typedef struct drm_stats32 drm_stats32_t;
1: +
1: +struct drm_agp_mode32 {
1: + u32 mode;
1: +};
1: +
1: +typedef struct drm_agp_mode32 drm_agp_mode32_t;
1: +
1: +struct drm_agp_info32 {
1: + int agp_version_major;
1: + int agp_version_minor;
1: + u32 mode;
1: + u32 aperture_base;
1: + u32 aperture_size;
1: + u32 memory_allowed;
1: + u32 memory_used;
1: + short unsigned int id_vendor;
1: + short unsigned int id_device;
1: +};
1: +
1: +typedef struct drm_agp_info32 drm_agp_info32_t;
1: +
1: +struct drm_agp_buffer32 {
1: + u32 size;
1: + u32 handle;
1: + u32 type;
1: + u32 physical;
1: +};
1: +
1: +typedef struct drm_agp_buffer32 drm_agp_buffer32_t;
1: +
1: +struct drm_agp_binding32 {
1: + u32 handle;
1: + u32 offset;
1: +};
1: +
1: +typedef struct drm_agp_binding32 drm_agp_binding32_t;
1: +
1: +struct drm_update_draw32 {
1: + drm_drawable_t handle;
1: + unsigned int type;
1: + unsigned int num;
1: + u64 data;
1: +} __attribute__((packed));
1: +
1: +typedef struct drm_update_draw32 drm_update_draw32_t;
1: +
1: +struct drm_wait_vblank_request32 {
1: + enum drm_vblank_seq_type type;
1: + unsigned int sequence;
1: + u32 signal;
1: +};
1: +
1: +struct drm_wait_vblank_reply32 {
1: + enum drm_vblank_seq_type type;
1: + unsigned int sequence;
1: + s32 tval_sec;
1: + s32 tval_usec;
1: +};
1: +
1: +union drm_wait_vblank32 {
1: + struct drm_wait_vblank_request32 request;
1: + struct drm_wait_vblank_reply32 reply;
1: +};
1: +
1: +typedef union drm_wait_vblank32 drm_wait_vblank32_t;
1: +
1: +struct drm_mode_fb_cmd232 {
1: + u32 fb_id;
1: + u32 width;
1: + u32 height;
1: + u32 pixel_format;
1: + u32 flags;
1: + u32 handles[4];
1: + u32 pitches[4];
1: + u32 offsets[4];
1: + u64 modifier[4];
1: +} __attribute__((packed));
1: +
1: +struct mipi_dsi_msg {
1: + u8 channel;
1: + u8 type;
1: + u16 flags;
1: + size_t tx_len;
1: + const void *tx_buf;
1: + size_t rx_len;
1: + void *rx_buf;
1: +};
1: +
1: +struct mipi_dsi_packet {
1: + size_t size;
1: + u8 header[4];
1: + size_t payload_length;
1: + const u8 *payload;
1: +};
1: +
1: +struct mipi_dsi_host;
1: +
1: +struct mipi_dsi_device;
1: +
1: +struct mipi_dsi_host_ops {
1: + int (*attach)(struct mipi_dsi_host *, struct mipi_dsi_device *);
1: + int (*detach)(struct mipi_dsi_host *, struct mipi_dsi_device *);
1: + ssize_t (*transfer)(struct mipi_dsi_host *, const struct mipi_dsi_msg *);
1: +};
1: +
1: +struct mipi_dsi_host {
1: + struct device *dev;
1: + const struct mipi_dsi_host_ops *ops;
1: + struct list_head list;
1: +};
1: +
1: +enum mipi_dsi_pixel_format {
1: + MIPI_DSI_FMT_RGB888 = 0,
1: + MIPI_DSI_FMT_RGB666 = 1,
1: + MIPI_DSI_FMT_RGB666_PACKED = 2,
1: + MIPI_DSI_FMT_RGB565 = 3,
1: +};
1: +
1: +struct mipi_dsi_device {
1: + struct mipi_dsi_host *host;
1: + struct device dev;
1: + char name[20];
1: + unsigned int channel;
1: + unsigned int lanes;
1: + enum mipi_dsi_pixel_format format;
1: + long unsigned int mode_flags;
1: + long unsigned int hs_rate;
1: + long unsigned int lp_rate;
1: +};
1: +
1: +struct mipi_dsi_device_info {
1: + char type[20];
1: + u32 channel;
1: + struct device_node *node;
1: +};
1: +
1: +enum mipi_dsi_dcs_tear_mode {
1: + MIPI_DSI_DCS_TEAR_MODE_VBLANK = 0,
1: + MIPI_DSI_DCS_TEAR_MODE_VHBLANK = 1,
1: +};
1: +
1: +struct mipi_dsi_driver {
1: + struct device_driver driver;
1: + int (*probe)(struct mipi_dsi_device *);
1: + int (*remove)(struct mipi_dsi_device *);
1: + void (*shutdown)(struct mipi_dsi_device *);
1: +};
1: +
1: +enum {
1: + MIPI_DSI_V_SYNC_START = 1,
1: + MIPI_DSI_V_SYNC_END = 17,
1: + MIPI_DSI_H_SYNC_START = 33,
1: + MIPI_DSI_H_SYNC_END = 49,
1: + MIPI_DSI_COLOR_MODE_OFF = 2,
1: + MIPI_DSI_COLOR_MODE_ON = 18,
1: + MIPI_DSI_SHUTDOWN_PERIPHERAL = 34,
1: + MIPI_DSI_TURN_ON_PERIPHERAL = 50,
1: + MIPI_DSI_GENERIC_SHORT_WRITE_0_PARAM = 3,
1: + MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM = 19,
1: + MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM = 35,
1: + MIPI_DSI_GENERIC_READ_REQUEST_0_PARAM = 4,
1: + MIPI_DSI_GENERIC_READ_REQUEST_1_PARAM = 20,
1: + MIPI_DSI_GENERIC_READ_REQUEST_2_PARAM = 36,
1: + MIPI_DSI_DCS_SHORT_WRITE = 5,
1: + MIPI_DSI_DCS_SHORT_WRITE_PARAM = 21,
1: + MIPI_DSI_DCS_READ = 6,
1: + MIPI_DSI_DCS_COMPRESSION_MODE = 7,
1: + MIPI_DSI_PPS_LONG_WRITE = 10,
1: + MIPI_DSI_SET_MAXIMUM_RETURN_PACKET_SIZE = 55,
1: + MIPI_DSI_END_OF_TRANSMISSION = 8,
1: + MIPI_DSI_NULL_PACKET = 9,
1: + MIPI_DSI_BLANKING_PACKET = 25,
1: + MIPI_DSI_GENERIC_LONG_WRITE = 41,
1: + MIPI_DSI_DCS_LONG_WRITE = 57,
1: + MIPI_DSI_LOOSELY_PACKED_PIXEL_STREAM_YCBCR20 = 12,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR24 = 28,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR16 = 44,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_30 = 13,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_36 = 29,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR12 = 61,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_16 = 14,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_18 = 30,
1: + MIPI_DSI_PIXEL_STREAM_3BYTE_18 = 46,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_24 = 62,
1: +};
1: +
1: +enum {
1: + MIPI_DCS_NOP = 0,
1: + MIPI_DCS_SOFT_RESET = 1,
1: + MIPI_DCS_GET_DISPLAY_ID = 4,
1: + MIPI_DCS_GET_RED_CHANNEL = 6,
1: + MIPI_DCS_GET_GREEN_CHANNEL = 7,
1: + MIPI_DCS_GET_BLUE_CHANNEL = 8,
1: + MIPI_DCS_GET_DISPLAY_STATUS = 9,
1: + MIPI_DCS_GET_POWER_MODE = 10,
1: + MIPI_DCS_GET_ADDRESS_MODE = 11,
1: + MIPI_DCS_GET_PIXEL_FORMAT = 12,
1: + MIPI_DCS_GET_DISPLAY_MODE = 13,
1: + MIPI_DCS_GET_SIGNAL_MODE = 14,
1: + MIPI_DCS_GET_DIAGNOSTIC_RESULT = 15,
1: + MIPI_DCS_ENTER_SLEEP_MODE = 16,
1: + MIPI_DCS_EXIT_SLEEP_MODE = 17,
1: + MIPI_DCS_ENTER_PARTIAL_MODE = 18,
1: + MIPI_DCS_ENTER_NORMAL_MODE = 19,
1: + MIPI_DCS_EXIT_INVERT_MODE = 32,
1: + MIPI_DCS_ENTER_INVERT_MODE = 33,
1: + MIPI_DCS_SET_GAMMA_CURVE = 38,
1: + MIPI_DCS_SET_DISPLAY_OFF = 40,
1: + MIPI_DCS_SET_DISPLAY_ON = 41,
1: + MIPI_DCS_SET_COLUMN_ADDRESS = 42,
1: + MIPI_DCS_SET_PAGE_ADDRESS = 43,
1: + MIPI_DCS_WRITE_MEMORY_START = 44,
1: + MIPI_DCS_WRITE_LUT = 45,
1: + MIPI_DCS_READ_MEMORY_START = 46,
1: + MIPI_DCS_SET_PARTIAL_AREA = 48,
1: + MIPI_DCS_SET_SCROLL_AREA = 51,
1: + MIPI_DCS_SET_TEAR_OFF = 52,
1: + MIPI_DCS_SET_TEAR_ON = 53,
1: + MIPI_DCS_SET_ADDRESS_MODE = 54,
1: + MIPI_DCS_SET_SCROLL_START = 55,
1: + MIPI_DCS_EXIT_IDLE_MODE = 56,
1: + MIPI_DCS_ENTER_IDLE_MODE = 57,
1: + MIPI_DCS_SET_PIXEL_FORMAT = 58,
1: + MIPI_DCS_WRITE_MEMORY_CONTINUE = 60,
1: + MIPI_DCS_READ_MEMORY_CONTINUE = 62,
1: + MIPI_DCS_SET_TEAR_SCANLINE = 68,
1: + MIPI_DCS_GET_SCANLINE = 69,
1: + MIPI_DCS_SET_DISPLAY_BRIGHTNESS = 81,
1: + MIPI_DCS_GET_DISPLAY_BRIGHTNESS = 82,
1: + MIPI_DCS_WRITE_CONTROL_DISPLAY = 83,
1: + MIPI_DCS_GET_CONTROL_DISPLAY = 84,
1: + MIPI_DCS_WRITE_POWER_SAVE = 85,
1: + MIPI_DCS_GET_POWER_SAVE = 86,
1: + MIPI_DCS_SET_CABC_MIN_BRIGHTNESS = 94,
1: + MIPI_DCS_GET_CABC_MIN_BRIGHTNESS = 95,
1: + MIPI_DCS_READ_DDB_START = 161,
1: + MIPI_DCS_READ_DDB_CONTINUE = 168,
1: +};
1: +
1: +struct drm_dmi_panel_orientation_data {
1: + int width;
1: + int height;
1: + const char * const *bios_dates;
1: + int orientation;
1: +};
1: +
1: +typedef u32 depot_stack_handle_t;
1: +
1: +enum drm_i915_pmu_engine_sample {
1: + I915_SAMPLE_BUSY = 0,
1: + I915_SAMPLE_WAIT = 1,
1: + I915_SAMPLE_SEMA = 2,
1: +};
1: +
1: +struct drm_i915_gem_pwrite {
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: + __u64 size;
1: + __u64 data_ptr;
1: +};
1: +
1: +enum pipe {
1: + INVALID_PIPE = -1,
1: + PIPE_A = 0,
1: + PIPE_B = 1,
1: + PIPE_C = 2,
1: + PIPE_D = 3,
1: + _PIPE_EDP = 4,
1: + I915_MAX_PIPES = 4,
1: +};
1: +
1: +enum transcoder {
1: + INVALID_TRANSCODER = -1,
1: + TRANSCODER_A = 0,
1: + TRANSCODER_B = 1,
1: + TRANSCODER_C = 2,
1: + TRANSCODER_D = 3,
1: + TRANSCODER_EDP = 4,
1: + TRANSCODER_DSI_0 = 5,
1: + TRANSCODER_DSI_1 = 6,
1: + TRANSCODER_DSI_A = 5,
1: + TRANSCODER_DSI_C = 6,
1: + I915_MAX_TRANSCODERS = 7,
1: +};
1: +
1: +enum i9xx_plane_id {
1: + PLANE_A = 0,
1: + PLANE_B = 1,
1: + PLANE_C = 2,
1: +};
1: +
1: +enum plane_id {
1: + PLANE_PRIMARY = 0,
1: + PLANE_SPRITE0 = 1,
1: + PLANE_SPRITE1 = 2,
1: + PLANE_SPRITE2 = 3,
1: + PLANE_SPRITE3 = 4,
1: + PLANE_SPRITE4 = 5,
1: + PLANE_SPRITE5 = 6,
1: + PLANE_CURSOR = 7,
1: + I915_MAX_PLANES = 8,
1: +};
1: +
1: +enum port {
1: + PORT_NONE = -1,
1: + PORT_A = 0,
1: + PORT_B = 1,
1: + PORT_C = 2,
1: + PORT_D = 3,
1: + PORT_E = 4,
1: + PORT_F = 5,
1: + PORT_G = 6,
1: + PORT_H = 7,
1: + PORT_I = 8,
1: + I915_MAX_PORTS = 9,
1: +};
1: +
1: +enum tc_port_mode {
1: + TC_PORT_TBT_ALT = 0,
1: + TC_PORT_DP_ALT = 1,
1: + TC_PORT_LEGACY = 2,
1: +};
1: +
1: +enum dpio_phy {
1: + DPIO_PHY0 = 0,
1: + DPIO_PHY1 = 1,
1: + DPIO_PHY2 = 2,
1: +};
1: +
1: +enum aux_ch {
1: + AUX_CH_A = 0,
1: + AUX_CH_B = 1,
1: + AUX_CH_C = 2,
1: + AUX_CH_D = 3,
1: + AUX_CH_E = 4,
1: + AUX_CH_F = 5,
1: + AUX_CH_G = 6,
1: +};
1: +
1: +struct intel_link_m_n {
1: + u32 tu;
1: + u32 gmch_m;
1: + u32 gmch_n;
1: + u32 link_m;
1: + u32 link_n;
1: +};
1: +
1: +enum phy_fia {
1: + FIA1 = 0,
1: + FIA2 = 1,
1: + FIA3 = 2,
1: +};
1: +
1: +struct intel_cdclk_vals {
1: + u16 refclk;
1: + u32 cdclk;
1: + u8 divider;
1: + u8 ratio;
1: +};
1: +
1: +struct cec_devnode {
1: + struct device dev;
1: + struct cdev cdev;
1: + int minor;
1: + bool registered;
1: + bool unregistered;
1: + struct list_head fhs;
1: + struct mutex lock;
1: +};
1: +
1: +struct cec_log_addrs {
1: + __u8 log_addr[4];
1: + __u16 log_addr_mask;
1: + __u8 cec_version;
1: + __u8 num_log_addrs;
1: + __u32 vendor_id;
1: + __u32 flags;
1: + char osd_name[15];
1: + __u8 primary_device_type[4];
1: + __u8 log_addr_type[4];
1: + __u8 all_device_types[4];
1: + __u8 features[48];
1: +};
1: +
1: +struct cec_drm_connector_info {
1: + __u32 card_no;
1: + __u32 connector_id;
1: +};
1: +
1: +struct cec_connector_info {
1: + __u32 type;
1: + union {
1: + struct cec_drm_connector_info drm;
1: + __u32 raw[16];
1: + };
1: +};
1: +
1: +struct rc_dev;
1: +
1: +struct cec_data;
1: +
1: +struct cec_adap_ops;
1: +
1: +struct cec_fh;
1: +
1: +struct cec_adapter {
1: + struct module *owner;
1: + char name[32];
1: + struct cec_devnode devnode;
1: + struct mutex lock;
1: + struct rc_dev *rc;
1: + struct list_head transmit_queue;
1: + unsigned int transmit_queue_sz;
1: + struct list_head wait_queue;
1: + struct cec_data *transmitting;
1: + bool transmit_in_progress;
1: + struct task_struct *kthread_config;
1: + struct completion config_completion;
1: + struct task_struct *kthread;
1: + wait_queue_head_t kthread_waitq;
1: + wait_queue_head_t waitq;
1: + const struct cec_adap_ops *ops;
1: + void *priv;
1: + u32 capabilities;
1: + u8 available_log_addrs;
1: + u16 phys_addr;
1: + bool needs_hpd;
1: + bool is_configuring;
1: + bool is_configured;
1: + bool cec_pin_is_high;
1: + u8 last_initiator;
1: + u32 monitor_all_cnt;
1: + u32 monitor_pin_cnt;
1: + u32 follower_cnt;
1: + struct cec_fh *cec_follower;
1: + struct cec_fh *cec_initiator;
1: + bool passthrough;
1: + struct cec_log_addrs log_addrs;
1: + struct cec_connector_info conn_info;
1: + u32 tx_timeouts;
1: + struct dentry *cec_dir;
1: + struct dentry *status_file;
1: + struct dentry *error_inj_file;
1: + u16 phys_addrs[15];
1: + u32 sequence;
1: + char input_phys[32];
1: +};
1: +
1: +struct hdcp2_cert_rx {
1: + u8 receiver_id[5];
1: + u8 kpub_rx[131];
1: + u8 reserved[2];
1: + u8 dcp_signature[384];
1: +};
1: +
1: +struct hdcp2_streamid_type {
1: + u8 stream_id;
1: + u8 stream_type;
1: +};
1: +
1: +struct hdcp2_tx_caps {
1: + u8 version;
1: + u8 tx_cap_mask[2];
1: +};
1: +
1: +struct hdcp2_ake_init {
1: + u8 msg_id;
1: + u8 r_tx[8];
1: + struct hdcp2_tx_caps tx_caps;
1: +};
1: +
1: +struct hdcp2_ake_send_cert {
1: + u8 msg_id;
1: + struct hdcp2_cert_rx cert_rx;
1: + u8 r_rx[8];
1: + u8 rx_caps[3];
1: +};
1: +
1: +struct hdcp2_ake_no_stored_km {
1: + u8 msg_id;
1: + u8 e_kpub_km[128];
1: +};
1: +
1: +struct hdcp2_ake_send_hprime {
1: + u8 msg_id;
1: + u8 h_prime[32];
1: +};
1: +
1: +struct hdcp2_ake_send_pairing_info {
1: + u8 msg_id;
1: + u8 e_kh_km[16];
1: +};
1: +
1: +struct hdcp2_lc_init {
1: + u8 msg_id;
1: + u8 r_n[8];
1: +};
1: +
1: +struct hdcp2_lc_send_lprime {
1: + u8 msg_id;
1: + u8 l_prime[32];
1: +};
1: +
1: +struct hdcp2_ske_send_eks {
1: + u8 msg_id;
1: + u8 e_dkey_ks[16];
1: + u8 riv[8];
1: +};
1: +
1: +struct hdcp2_rep_send_receiverid_list {
1: + u8 msg_id;
1: + u8 rx_info[2];
1: + u8 seq_num_v[3];
1: + u8 v_prime[16];
1: + u8 receiver_ids[155];
1: +};
1: +
1: +struct hdcp2_rep_send_ack {
1: + u8 msg_id;
1: + u8 v[16];
1: +};
1: +
1: +struct hdcp2_rep_stream_ready {
1: + u8 msg_id;
1: + u8 m_prime[32];
1: +};
1: +
1: +enum hdcp_wired_protocol {
1: + HDCP_PROTOCOL_INVALID = 0,
1: + HDCP_PROTOCOL_HDMI = 1,
1: + HDCP_PROTOCOL_DP = 2,
1: +};
1: +
1: +enum mei_fw_ddi {
1: + MEI_DDI_INVALID_PORT = 0,
1: + MEI_DDI_B = 1,
1: + MEI_DDI_C = 2,
1: + MEI_DDI_D = 3,
1: + MEI_DDI_E = 4,
1: + MEI_DDI_F = 5,
1: + MEI_DDI_A = 7,
1: + MEI_DDI_RANGE_END = 7,
1: +};
1: +
1: +enum mei_fw_tc {
1: + MEI_INVALID_TRANSCODER = 0,
1: + MEI_TRANSCODER_EDP = 1,
1: + MEI_TRANSCODER_DSI0 = 2,
1: + MEI_TRANSCODER_DSI1 = 3,
1: + MEI_TRANSCODER_A = 16,
1: + MEI_TRANSCODER_B = 17,
1: + MEI_TRANSCODER_C = 18,
1: + MEI_TRANSCODER_D = 19,
1: +};
1: +
1: +struct hdcp_port_data {
1: + enum mei_fw_ddi fw_ddi;
1: + enum mei_fw_tc fw_tc;
1: + u8 port_type;
1: + u8 protocol;
1: + u16 k;
1: + u32 seq_num_m;
1: + struct hdcp2_streamid_type *streams;
1: +};
1: +
1: +struct i915_hdcp_component_ops {
1: + struct module *owner;
1: + int (*initiate_hdcp2_session)(struct device *, struct hdcp_port_data *, struct hdcp2_ake_init *);
1: + int (*verify_receiver_cert_prepare_km)(struct device *, struct hdcp_port_data *, struct hdcp2_ake_send_cert *, bool *, struct hdcp2_ake_no_stored_km *, size_t *);
1: + int (*verify_hprime)(struct device *, struct hdcp_port_data *, struct hdcp2_ake_send_hprime *);
1: + int (*store_pairing_info)(struct device *, struct hdcp_port_data *, struct hdcp2_ake_send_pairing_info *);
1: + int (*initiate_locality_check)(struct device *, struct hdcp_port_data *, struct hdcp2_lc_init *);
1: + int (*verify_lprime)(struct device *, struct hdcp_port_data *, struct hdcp2_lc_send_lprime *);
1: + int (*get_session_key)(struct device *, struct hdcp_port_data *, struct hdcp2_ske_send_eks *);
1: + int (*repeater_check_flow_prepare_ack)(struct device *, struct hdcp_port_data *, struct hdcp2_rep_send_receiverid_list *, struct hdcp2_rep_send_ack *);
1: + int (*verify_mprime)(struct device *, struct hdcp_port_data *, struct hdcp2_rep_stream_ready *);
1: + int (*enable_hdcp_authentication)(struct device *, struct hdcp_port_data *);
1: + int (*close_hdcp_session)(struct device *, struct hdcp_port_data *);
1: +};
1: +
1: +struct i915_hdcp_comp_master {
1: + struct device *mei_dev;
1: + const struct i915_hdcp_component_ops *ops;
1: + struct mutex mutex;
1: +};
1: +
1: +struct cec_msg {
1: + __u64 tx_ts;
1: + __u64 rx_ts;
1: + __u32 len;
1: + __u32 timeout;
1: + __u32 sequence;
1: + __u32 flags;
1: + __u8 msg[16];
1: + __u8 reply;
1: + __u8 rx_status;
1: + __u8 tx_status;
1: + __u8 tx_arb_lost_cnt;
1: + __u8 tx_nack_cnt;
1: + __u8 tx_low_drive_cnt;
1: + __u8 tx_error_cnt;
1: +};
1: +
1: +struct cec_event_state_change {
1: + __u16 phys_addr;
1: + __u16 log_addr_mask;
1: + __u16 have_conn_info;
1: +};
1: +
1: +struct cec_event_lost_msgs {
1: + __u32 lost_msgs;
1: +};
1: +
1: +struct cec_event {
1: + __u64 ts;
1: + __u32 event;
1: + __u32 flags;
1: + union {
1: + struct cec_event_state_change state_change;
1: + struct cec_event_lost_msgs lost_msgs;
1: + __u32 raw[16];
1: + };
1: +};
1: +
1: +enum rc_proto {
1: + RC_PROTO_UNKNOWN = 0,
1: + RC_PROTO_OTHER = 1,
1: + RC_PROTO_RC5 = 2,
1: + RC_PROTO_RC5X_20 = 3,
1: + RC_PROTO_RC5_SZ = 4,
1: + RC_PROTO_JVC = 5,
1: + RC_PROTO_SONY12 = 6,
1: + RC_PROTO_SONY15 = 7,
1: + RC_PROTO_SONY20 = 8,
1: + RC_PROTO_NEC = 9,
1: + RC_PROTO_NECX = 10,
1: + RC_PROTO_NEC32 = 11,
1: + RC_PROTO_SANYO = 12,
1: + RC_PROTO_MCIR2_KBD = 13,
1: + RC_PROTO_MCIR2_MSE = 14,
1: + RC_PROTO_RC6_0 = 15,
1: + RC_PROTO_RC6_6A_20 = 16,
1: + RC_PROTO_RC6_6A_24 = 17,
1: + RC_PROTO_RC6_6A_32 = 18,
1: + RC_PROTO_RC6_MCE = 19,
1: + RC_PROTO_SHARP = 20,
1: + RC_PROTO_XMP = 21,
1: + RC_PROTO_CEC = 22,
1: + RC_PROTO_IMON = 23,
1: + RC_PROTO_RCMM12 = 24,
1: + RC_PROTO_RCMM24 = 25,
1: + RC_PROTO_RCMM32 = 26,
1: + RC_PROTO_XBOX_DVD = 27,
1: +};
1: +
1: +struct rc_map_table {
1: + u32 scancode;
1: + u32 keycode;
1: +};
1: +
1: +struct rc_map {
1: + struct rc_map_table *scan;
1: + unsigned int size;
1: + unsigned int len;
1: + unsigned int alloc;
1: + enum rc_proto rc_proto;
1: + const char *name;
1: + spinlock_t lock;
1: +};
1: +
1: +enum rc_driver_type {
1: + RC_DRIVER_SCANCODE = 0,
1: + RC_DRIVER_IR_RAW = 1,
1: + RC_DRIVER_IR_RAW_TX = 2,
1: +};
1: +
1: +struct rc_scancode_filter {
1: + u32 data;
1: + u32 mask;
1: +};
1: +
1: +struct ir_raw_event_ctrl;
1: +
1: +struct rc_dev {
1: + struct device dev;
1: + bool managed_alloc;
1: + const struct attribute_group *sysfs_groups[5];
1: + const char *device_name;
1: + const char *input_phys;
1: + struct input_id input_id;
1: + const char *driver_name;
1: + const char *map_name;
1: + struct rc_map rc_map;
1: + struct mutex lock;
1: + unsigned int minor;
1: + struct ir_raw_event_ctrl *raw;
1: + struct input_dev *input_dev;
1: + enum rc_driver_type driver_type;
1: + bool idle;
1: + bool encode_wakeup;
1: + u64 allowed_protocols;
1: + u64 enabled_protocols;
1: + u64 allowed_wakeup_protocols;
1: + enum rc_proto wakeup_protocol;
1: + struct rc_scancode_filter scancode_filter;
1: + struct rc_scancode_filter scancode_wakeup_filter;
1: + u32 scancode_mask;
1: + u32 users;
1: + void *priv;
1: + spinlock_t keylock;
1: + bool keypressed;
1: + long unsigned int keyup_jiffies;
1: + struct timer_list timer_keyup;
1: + struct timer_list timer_repeat;
1: + u32 last_keycode;
1: + enum rc_proto last_protocol;
1: + u32 last_scancode;
1: + u8 last_toggle;
1: + u32 timeout;
1: + u32 min_timeout;
1: + u32 max_timeout;
1: + u32 rx_resolution;
1: + u32 tx_resolution;
1: + bool registered;
1: + int (*change_protocol)(struct rc_dev *, u64 *);
1: + int (*open)(struct rc_dev *);
1: + void (*close)(struct rc_dev *);
1: + int (*s_tx_mask)(struct rc_dev *, u32);
1: + int (*s_tx_carrier)(struct rc_dev *, u32);
1: + int (*s_tx_duty_cycle)(struct rc_dev *, u32);
1: + int (*s_rx_carrier_range)(struct rc_dev *, u32, u32);
1: + int (*tx_ir)(struct rc_dev *, unsigned int *, unsigned int);
1: + void (*s_idle)(struct rc_dev *, bool);
1: + int (*s_learning_mode)(struct rc_dev *, int);
1: + int (*s_carrier_report)(struct rc_dev *, int);
1: + int (*s_filter)(struct rc_dev *, struct rc_scancode_filter *);
1: + int (*s_wakeup_filter)(struct rc_dev *, struct rc_scancode_filter *);
1: + int (*s_timeout)(struct rc_dev *, unsigned int);
1: +};
1: +
1: +struct cec_data {
1: + struct list_head list;
1: + struct list_head xfer_list;
1: + struct cec_adapter *adap;
1: + struct cec_msg msg;
1: + struct cec_fh *fh;
1: + struct delayed_work work;
1: + struct completion c;
1: + u8 attempts;
1: + bool blocking;
1: + bool completed;
1: +};
1: +
1: +struct cec_event_entry {
1: + struct list_head list;
1: + struct cec_event ev;
1: +};
1: +
1: +struct cec_fh {
1: + struct list_head list;
1: + struct list_head xfer_list;
1: + struct cec_adapter *adap;
1: + u8 mode_initiator;
1: + u8 mode_follower;
1: + wait_queue_head_t wait;
1: + struct mutex lock;
1: + struct list_head events[8];
1: + u16 queued_events[8];
1: + unsigned int total_queued_events;
1: + struct cec_event_entry core_events[2];
1: + struct list_head msgs;
1: + unsigned int queued_msgs;
1: +};
1: +
1: +struct cec_adap_ops {
1: + int (*adap_enable)(struct cec_adapter *, bool);
1: + int (*adap_monitor_all_enable)(struct cec_adapter *, bool);
1: + int (*adap_monitor_pin_enable)(struct cec_adapter *, bool);
1: + int (*adap_log_addr)(struct cec_adapter *, u8);
1: + int (*adap_transmit)(struct cec_adapter *, u8, u32, struct cec_msg *);
1: + void (*adap_status)(struct cec_adapter *, struct seq_file *);
1: + void (*adap_free)(struct cec_adapter *);
1: + int (*error_inj_show)(struct cec_adapter *, struct seq_file *);
1: + bool (*error_inj_parse_line)(struct cec_adapter *, char *);
1: + int (*received)(struct cec_adapter *, struct cec_msg *);
1: +};
1: +
1: +struct io_mapping {
1: + resource_size_t base;
1: + long unsigned int size;
1: + pgprot_t prot;
1: + void *iomem;
1: +};
1: +
1: +struct i2c_algo_bit_data {
1: + void *data;
1: + void (*setsda)(void *, int);
1: + void (*setscl)(void *, int);
1: + int (*getsda)(void *);
1: + int (*getscl)(void *);
1: + int (*pre_xfer)(struct i2c_adapter *);
1: + void (*post_xfer)(struct i2c_adapter *);
1: + int udelay;
1: + int timeout;
1: + bool can_do_atomic;
1: +};
1: +
1: +struct i915_params {
1: + char *vbt_firmware;
1: + int modeset;
1: + int lvds_channel_mode;
1: + int panel_use_ssc;
1: + int vbt_sdvo_panel_type;
1: + int enable_dc;
1: + int enable_fbc;
1: + int enable_psr;
1: + int disable_power_well;
1: + int enable_ips;
1: + int invert_brightness;
1: + int enable_guc;
1: + int guc_log_level;
1: + char *guc_firmware_path;
1: + char *huc_firmware_path;
1: + char *dmc_firmware_path;
1: + int mmio_debug;
1: + int edp_vswing;
1: + int reset;
1: + unsigned int inject_probe_failure;
1: + int fastboot;
1: + int enable_dpcd_backlight;
1: + char *force_probe;
1: + long unsigned int fake_lmem_start;
1: + bool alpha_support;
1: + bool enable_hangcheck;
1: + bool prefault_disable;
1: + bool load_detect_test;
1: + bool force_reset_modeset_test;
1: + bool error_capture;
1: + bool disable_display;
1: + bool verbose_state_checks;
1: + bool nuclear_pageflip;
1: + bool enable_dp_mst;
1: + bool enable_gvt;
1: +};
1: +
1: +typedef struct {
1: + u32 reg;
1: +} i915_reg_t;
1: +
1: +enum intel_backlight_type {
1: + INTEL_BACKLIGHT_PMIC = 0,
1: + INTEL_BACKLIGHT_LPSS = 1,
1: + INTEL_BACKLIGHT_DISPLAY_DDI = 2,
1: + INTEL_BACKLIGHT_DSI_DCS = 3,
1: + INTEL_BACKLIGHT_PANEL_DRIVER_INTERFACE = 4,
1: + INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE = 5,
1: +};
1: +
1: +struct edp_power_seq {
1: + u16 t1_t3;
1: + u16 t8;
1: + u16 t9;
1: + u16 t10;
1: + u16 t11_t12;
1: +};
1: +
1: +enum mipi_seq {
1: + MIPI_SEQ_END = 0,
1: + MIPI_SEQ_DEASSERT_RESET = 1,
1: + MIPI_SEQ_INIT_OTP = 2,
1: + MIPI_SEQ_DISPLAY_ON = 3,
1: + MIPI_SEQ_DISPLAY_OFF = 4,
1: + MIPI_SEQ_ASSERT_RESET = 5,
1: + MIPI_SEQ_BACKLIGHT_ON = 6,
1: + MIPI_SEQ_BACKLIGHT_OFF = 7,
1: + MIPI_SEQ_TEAR_ON = 8,
1: + MIPI_SEQ_TEAR_OFF = 9,
1: + MIPI_SEQ_POWER_ON = 10,
1: + MIPI_SEQ_POWER_OFF = 11,
1: + MIPI_SEQ_MAX = 12,
1: +};
1: +
1: +struct mipi_config {
1: + u16 panel_id;
1: + u32 enable_dithering: 1;
1: + u32 rsvd1: 1;
1: + u32 is_bridge: 1;
1: + u32 panel_arch_type: 2;
1: + u32 is_cmd_mode: 1;
1: + u32 video_transfer_mode: 2;
1: + u32 cabc_supported: 1;
1: + u32 pwm_blc: 1;
1: + u32 videomode_color_format: 4;
1: + u32 rotation: 2;
1: + u32 bta_enabled: 1;
1: + u32 rsvd2: 15;
1: + u16 dual_link: 2;
1: + u16 lane_cnt: 2;
1: + u16 pixel_overlap: 3;
1: + u16 rgb_flip: 1;
1: + u16 dl_dcs_cabc_ports: 2;
1: + u16 dl_dcs_backlight_ports: 2;
1: + u16 rsvd3: 4;
1: + u16 rsvd4;
1: + u8 rsvd5;
1: + u32 target_burst_mode_freq;
1: + u32 dsi_ddr_clk;
1: + u32 bridge_ref_clk;
1: + u8 byte_clk_sel: 2;
1: + u8 rsvd6: 6;
1: + u16 dphy_param_valid: 1;
1: + u16 eot_pkt_disabled: 1;
1: + u16 enable_clk_stop: 1;
1: + u16 rsvd7: 13;
1: + u32 hs_tx_timeout;
1: + u32 lp_rx_timeout;
1: + u32 turn_around_timeout;
1: + u32 device_reset_timer;
1: + u32 master_init_timer;
1: + u32 dbi_bw_timer;
1: + u32 lp_byte_clk_val;
1: + u32 prepare_cnt: 6;
1: + u32 rsvd8: 2;
1: + u32 clk_zero_cnt: 8;
1: + u32 trail_cnt: 5;
1: + u32 rsvd9: 3;
1: + u32 exit_zero_cnt: 6;
1: + u32 rsvd10: 2;
1: + u32 clk_lane_switch_cnt;
1: + u32 hl_switch_cnt;
1: + u32 rsvd11[6];
1: + u8 tclk_miss;
1: + u8 tclk_post;
1: + u8 rsvd12;
1: + u8 tclk_pre;
1: + u8 tclk_prepare;
1: + u8 tclk_settle;
1: + u8 tclk_term_enable;
1: + u8 tclk_trail;
1: + u16 tclk_prepare_clkzero;
1: + u8 rsvd13;
1: + u8 td_term_enable;
1: + u8 teot;
1: + u8 ths_exit;
1: + u8 ths_prepare;
1: + u16 ths_prepare_hszero;
1: + u8 rsvd14;
1: + u8 ths_settle;
1: + u8 ths_skip;
1: + u8 ths_trail;
1: + u8 tinit;
1: + u8 tlpx;
1: + u8 rsvd15[3];
1: + u8 panel_enable;
1: + u8 bl_enable;
1: + u8 pwm_enable;
1: + u8 reset_r_n;
1: + u8 pwr_down_r;
1: + u8 stdby_r_n;
1: +} __attribute__((packed));
1: +
1: +struct mipi_pps_data {
1: + u16 panel_on_delay;
1: + u16 bl_enable_delay;
1: + u16 bl_disable_delay;
1: + u16 panel_off_delay;
1: + u16 panel_power_cycle_delay;
1: +};
1: +
1: +typedef depot_stack_handle_t intel_wakeref_t;
1: +
1: +struct intel_wakeref;
1: +
1: +struct intel_wakeref_ops {
1: + int (*get)(struct intel_wakeref *);
1: + int (*put)(struct intel_wakeref *);
1: +};
1: +
1: +struct intel_runtime_pm;
1: +
1: +struct intel_wakeref {
1: + atomic_t count;
1: + struct mutex mutex;
1: + intel_wakeref_t wakeref;
1: + struct intel_runtime_pm *rpm;
1: + const struct intel_wakeref_ops *ops;
1: + struct work_struct work;
1: +};
1: +
1: +struct intel_runtime_pm {
1: + atomic_t wakeref_count;
1: + struct device *kdev;
1: + bool available;
1: + bool suspended;
1: + bool irqs_enabled;
1: +};
1: +
1: +struct intel_wakeref_auto {
1: + struct intel_runtime_pm *rpm;
1: + struct timer_list timer;
1: + intel_wakeref_t wakeref;
1: + spinlock_t lock;
1: + refcount_t count;
1: +};
1: +
1: +enum i915_drm_suspend_mode {
1: + I915_DRM_SUSPEND_IDLE = 0,
1: + I915_DRM_SUSPEND_MEM = 1,
1: + I915_DRM_SUSPEND_HIBERNATE = 2,
1: +};
1: +
1: +enum intel_display_power_domain {
1: + POWER_DOMAIN_DISPLAY_CORE = 0,
1: + POWER_DOMAIN_PIPE_A = 1,
1: + POWER_DOMAIN_PIPE_B = 2,
1: + POWER_DOMAIN_PIPE_C = 3,
1: + POWER_DOMAIN_PIPE_D = 4,
1: + POWER_DOMAIN_PIPE_A_PANEL_FITTER = 5,
1: + POWER_DOMAIN_PIPE_B_PANEL_FITTER = 6,
1: + POWER_DOMAIN_PIPE_C_PANEL_FITTER = 7,
1: + POWER_DOMAIN_PIPE_D_PANEL_FITTER = 8,
1: + POWER_DOMAIN_TRANSCODER_A = 9,
1: + POWER_DOMAIN_TRANSCODER_B = 10,
1: + POWER_DOMAIN_TRANSCODER_C = 11,
1: + POWER_DOMAIN_TRANSCODER_D = 12,
1: + POWER_DOMAIN_TRANSCODER_EDP = 13,
1: + POWER_DOMAIN_TRANSCODER_VDSC_PW2 = 14,
1: + POWER_DOMAIN_TRANSCODER_DSI_A = 15,
1: + POWER_DOMAIN_TRANSCODER_DSI_C = 16,
1: + POWER_DOMAIN_PORT_DDI_A_LANES = 17,
1: + POWER_DOMAIN_PORT_DDI_B_LANES = 18,
1: + POWER_DOMAIN_PORT_DDI_C_LANES = 19,
1: + POWER_DOMAIN_PORT_DDI_D_LANES = 20,
1: + POWER_DOMAIN_PORT_DDI_E_LANES = 21,
1: + POWER_DOMAIN_PORT_DDI_F_LANES = 22,
1: + POWER_DOMAIN_PORT_DDI_G_LANES = 23,
1: + POWER_DOMAIN_PORT_DDI_H_LANES = 24,
1: + POWER_DOMAIN_PORT_DDI_I_LANES = 25,
1: + POWER_DOMAIN_PORT_DDI_A_IO = 26,
1: + POWER_DOMAIN_PORT_DDI_B_IO = 27,
1: + POWER_DOMAIN_PORT_DDI_C_IO = 28,
1: + POWER_DOMAIN_PORT_DDI_D_IO = 29,
1: + POWER_DOMAIN_PORT_DDI_E_IO = 30,
1: + POWER_DOMAIN_PORT_DDI_F_IO = 31,
1: + POWER_DOMAIN_PORT_DDI_G_IO = 32,
1: + POWER_DOMAIN_PORT_DDI_H_IO = 33,
1: + POWER_DOMAIN_PORT_DDI_I_IO = 34,
1: + POWER_DOMAIN_PORT_DSI = 35,
1: + POWER_DOMAIN_PORT_CRT = 36,
1: + POWER_DOMAIN_PORT_OTHER = 37,
1: + POWER_DOMAIN_VGA = 38,
1: + POWER_DOMAIN_AUDIO = 39,
1: + POWER_DOMAIN_AUX_A = 40,
1: + POWER_DOMAIN_AUX_B = 41,
1: + POWER_DOMAIN_AUX_C = 42,
1: + POWER_DOMAIN_AUX_D = 43,
1: + POWER_DOMAIN_AUX_E = 44,
1: + POWER_DOMAIN_AUX_F = 45,
1: + POWER_DOMAIN_AUX_G = 46,
1: + POWER_DOMAIN_AUX_H = 47,
1: + POWER_DOMAIN_AUX_I = 48,
1: + POWER_DOMAIN_AUX_IO_A = 49,
1: + POWER_DOMAIN_AUX_C_TBT = 50,
1: + POWER_DOMAIN_AUX_D_TBT = 51,
1: + POWER_DOMAIN_AUX_E_TBT = 52,
1: + POWER_DOMAIN_AUX_F_TBT = 53,
1: + POWER_DOMAIN_AUX_G_TBT = 54,
1: + POWER_DOMAIN_AUX_H_TBT = 55,
1: + POWER_DOMAIN_AUX_I_TBT = 56,
1: + POWER_DOMAIN_GMBUS = 57,
1: + POWER_DOMAIN_MODESET = 58,
1: + POWER_DOMAIN_GT_IRQ = 59,
1: + POWER_DOMAIN_DPLL_DC_OFF = 60,
1: + POWER_DOMAIN_INIT = 61,
1: + POWER_DOMAIN_NUM = 62,
1: +};
1: +
1: +enum i915_power_well_id {
1: + DISP_PW_ID_NONE = 0,
1: + VLV_DISP_PW_DISP2D = 1,
1: + BXT_DISP_PW_DPIO_CMN_A = 2,
1: + VLV_DISP_PW_DPIO_CMN_BC = 3,
1: + GLK_DISP_PW_DPIO_CMN_C = 4,
1: + CHV_DISP_PW_DPIO_CMN_D = 5,
1: + HSW_DISP_PW_GLOBAL = 6,
1: + SKL_DISP_PW_MISC_IO = 7,
1: + SKL_DISP_PW_1 = 8,
1: + SKL_DISP_PW_2 = 9,
1: + SKL_DISP_DC_OFF = 10,
1: +};
1: +
1: +struct drm_i915_private;
1: +
1: +struct i915_power_well;
1: +
1: +struct i915_power_well_ops {
1: + void (*sync_hw)(struct drm_i915_private *, struct i915_power_well *);
1: + void (*enable)(struct drm_i915_private *, struct i915_power_well *);
1: + void (*disable)(struct drm_i915_private *, struct i915_power_well *);
1: + bool (*is_enabled)(struct drm_i915_private *, struct i915_power_well *);
1: +};
1: +
1: +typedef u8 intel_engine_mask_t;
1: +
1: +enum intel_platform {
1: + INTEL_PLATFORM_UNINITIALIZED = 0,
1: + INTEL_I830 = 1,
1: + INTEL_I845G = 2,
1: + INTEL_I85X = 3,
1: + INTEL_I865G = 4,
1: + INTEL_I915G = 5,
1: + INTEL_I915GM = 6,
1: + INTEL_I945G = 7,
1: + INTEL_I945GM = 8,
1: + INTEL_G33 = 9,
1: + INTEL_PINEVIEW = 10,
1: + INTEL_I965G = 11,
1: + INTEL_I965GM = 12,
1: + INTEL_G45 = 13,
1: + INTEL_GM45 = 14,
1: + INTEL_IRONLAKE = 15,
1: + INTEL_SANDYBRIDGE = 16,
1: + INTEL_IVYBRIDGE = 17,
1: + INTEL_VALLEYVIEW = 18,
1: + INTEL_HASWELL = 19,
1: + INTEL_BROADWELL = 20,
1: + INTEL_CHERRYVIEW = 21,
1: + INTEL_SKYLAKE = 22,
1: + INTEL_BROXTON = 23,
1: + INTEL_KABYLAKE = 24,
1: + INTEL_GEMINILAKE = 25,
1: + INTEL_COFFEELAKE = 26,
1: + INTEL_CANNONLAKE = 27,
1: + INTEL_ICELAKE = 28,
1: + INTEL_ELKHARTLAKE = 29,
1: + INTEL_TIGERLAKE = 30,
1: + INTEL_MAX_PLATFORMS = 31,
1: +};
1: +
1: +enum intel_ppgtt_type {
1: + INTEL_PPGTT_NONE = 0,
1: + INTEL_PPGTT_ALIASING = 1,
1: + INTEL_PPGTT_FULL = 2,
1: +};
1: +
1: +struct color_luts {
1: + u32 degamma_lut_size;
1: + u32 gamma_lut_size;
1: + u32 degamma_lut_tests;
1: + u32 gamma_lut_tests;
1: +};
1: +
1: +struct intel_device_info {
1: + u16 gen_mask;
1: + u8 gen;
1: + u8 gt;
1: + intel_engine_mask_t engine_mask;
1: + enum intel_platform platform;
1: + enum intel_ppgtt_type ppgtt_type;
1: + unsigned int ppgtt_size;
1: + unsigned int page_sizes;
1: + u32 memory_regions;
1: + u32 display_mmio_offset;
1: + u8 pipe_mask;
1: + u8 is_mobile: 1;
1: + u8 is_lp: 1;
1: + u8 require_force_probe: 1;
1: + u8 is_dgfx: 1;
1: + u8 has_64bit_reloc: 1;
1: + u8 gpu_reset_clobbers_display: 1;
1: + u8 has_reset_engine: 1;
1: + u8 has_fpga_dbg: 1;
1: + u8 has_global_mocs: 1;
1: + u8 has_gt_uc: 1;
1: + u8 has_l3_dpf: 1;
1: + u8 has_llc: 1;
1: + u8 has_logical_ring_contexts: 1;
1: + u8 has_logical_ring_elsq: 1;
1: + u8 has_logical_ring_preemption: 1;
1: + u8 has_pooled_eu: 1;
1: + u8 has_rc6: 1;
1: + u8 has_rc6p: 1;
1: + u8 has_rps: 1;
1: + u8 has_runtime_pm: 1;
1: + u8 has_snoop: 1;
1: + u8 has_coherent_ggtt: 1;
1: + u8 unfenced_needs_alignment: 1;
1: + u8 hws_needs_physical: 1;
1: + struct {
1: + u8 cursor_needs_physical: 1;
1: + u8 has_csr: 1;
1: + u8 has_ddi: 1;
1: + u8 has_dp_mst: 1;
1: + u8 has_dsb: 1;
1: + u8 has_dsc: 1;
1: + u8 has_fbc: 1;
1: + u8 has_gmch: 1;
1: + u8 has_hdcp: 1;
1: + u8 has_hotplug: 1;
1: + u8 has_ipc: 1;
1: + u8 has_modular_fia: 1;
1: + u8 has_overlay: 1;
1: + u8 has_psr: 1;
1: + u8 overlay_needs_physical: 1;
1: + u8 supports_tv: 1;
1: + } display;
1: + u16 ddb_size;
1: + int pipe_offsets[7];
1: + int trans_offsets[7];
1: + int cursor_offsets[4];
1: + struct color_luts color;
1: +};
1: +
1: +struct sseu_dev_info {
1: + u8 slice_mask;
1: + u8 subslice_mask[6];
1: + u8 eu_mask[96];
1: + u16 eu_total;
1: + u8 eu_per_subslice;
1: + u8 min_eu_in_pool;
1: + u8 subslice_7eu[3];
1: + u8 has_slice_pg: 1;
1: + u8 has_subslice_pg: 1;
1: + u8 has_eu_pg: 1;
1: + u8 max_slices;
1: + u8 max_subslices;
1: + u8 max_eus_per_subslice;
1: + u8 ss_stride;
1: + u8 eu_stride;
1: +};
1: +
1: +struct intel_runtime_info {
1: + u32 platform_mask[2];
1: + u16 device_id;
1: + u8 num_sprites[4];
1: + u8 num_scalers[4];
1: + u8 num_engines;
1: + struct sseu_dev_info sseu;
1: + u32 cs_timestamp_frequency_khz;
1: + u8 vdbox_sfc_access;
1: +};
1: +
1: +struct intel_driver_caps {
1: + unsigned int scheduler;
1: + bool has_logical_contexts: 1;
1: +};
1: +
1: +enum forcewake_domains {
1: + FORCEWAKE_RENDER = 1,
1: + FORCEWAKE_BLITTER = 2,
1: + FORCEWAKE_MEDIA = 4,
1: + FORCEWAKE_MEDIA_VDBOX0 = 8,
1: + FORCEWAKE_MEDIA_VDBOX1 = 16,
1: + FORCEWAKE_MEDIA_VDBOX2 = 32,
1: + FORCEWAKE_MEDIA_VDBOX3 = 64,
1: + FORCEWAKE_MEDIA_VEBOX0 = 128,
1: + FORCEWAKE_MEDIA_VEBOX1 = 256,
1: + FORCEWAKE_ALL = 511,
1: +};
1: +
1: +struct intel_uncore;
1: +
1: +struct intel_uncore_funcs {
1: + void (*force_wake_get)(struct intel_uncore *, enum forcewake_domains);
1: + void (*force_wake_put)(struct intel_uncore *, enum forcewake_domains);
1: + enum forcewake_domains (*read_fw_domains)(struct intel_uncore *, i915_reg_t);
1: + enum forcewake_domains (*write_fw_domains)(struct intel_uncore *, i915_reg_t);
1: + u8 (*mmio_readb)(struct intel_uncore *, i915_reg_t, bool);
1: + u16 (*mmio_readw)(struct intel_uncore *, i915_reg_t, bool);
1: + u32 (*mmio_readl)(struct intel_uncore *, i915_reg_t, bool);
1: + u64 (*mmio_readq)(struct intel_uncore *, i915_reg_t, bool);
1: + void (*mmio_writeb)(struct intel_uncore *, i915_reg_t, u8, bool);
1: + void (*mmio_writew)(struct intel_uncore *, i915_reg_t, u16, bool);
1: + void (*mmio_writel)(struct intel_uncore *, i915_reg_t, u32, bool);
1: +};
1: +
1: +struct intel_forcewake_range;
1: +
1: +struct intel_uncore_forcewake_domain;
1: +
1: +struct intel_uncore_mmio_debug;
1: +
1: +struct intel_uncore {
1: + void *regs;
1: + struct drm_i915_private *i915;
1: + struct intel_runtime_pm *rpm;
1: + spinlock_t lock;
1: + unsigned int flags;
1: + const struct intel_forcewake_range *fw_domains_table;
1: + unsigned int fw_domains_table_entries;
1: + struct notifier_block pmic_bus_access_nb;
1: + struct intel_uncore_funcs funcs;
1: + unsigned int fifo_count;
1: + enum forcewake_domains fw_domains;
1: + enum forcewake_domains fw_domains_active;
1: + enum forcewake_domains fw_domains_timer;
1: + enum forcewake_domains fw_domains_saved;
1: + struct intel_uncore_forcewake_domain *fw_domain[9];
1: + unsigned int user_forcewake_count;
1: + struct intel_uncore_mmio_debug *debug;
1: +};
1: +
1: +struct intel_uncore_mmio_debug {
1: + spinlock_t lock;
1: + int unclaimed_mmio_check;
1: + int saved_mmio_check;
1: + u32 suspend_count;
1: +};
1: +
1: +struct i915_virtual_gpu {
1: + struct mutex lock;
1: + bool active;
1: + u32 caps;
1: +};
1: +
1: +struct intel_gvt;
1: +
1: +struct intel_wopcm {
1: + u32 size;
1: + struct {
1: + u32 base;
1: + u32 size;
1: + } guc;
1: +};
1: +
1: +struct intel_csr {
1: + struct work_struct work;
1: + const char *fw_path;
1: + u32 required_version;
1: + u32 max_fw_size;
1: + u32 *dmc_payload;
1: + u32 dmc_fw_size;
1: + u32 version;
1: + u32 mmio_count;
1: + i915_reg_t mmioaddr[20];
1: + u32 mmiodata[20];
1: + u32 dc_state;
1: + u32 target_dc_state;
1: + u32 allowed_dc_mask;
1: + intel_wakeref_t wakeref;
1: +};
1: +
1: +struct intel_gmbus {
1: + struct i2c_adapter adapter;
1: + u32 force_bit;
1: + u32 reg0;
1: + i915_reg_t gpio_reg;
1: + struct i2c_algo_bit_data bit_algo;
1: + struct drm_i915_private *dev_priv;
1: +};
1: +
1: +struct i915_hotplug {
1: + struct delayed_work hotplug_work;
1: + struct {
1: + long unsigned int last_jiffies;
1: + int count;
1: + enum {
1: + HPD_ENABLED = 0,
1: + HPD_DISABLED = 1,
1: + HPD_MARK_DISABLED = 2,
1: + } state;
1: + } stats[13];
1: + u32 event_bits;
1: + u32 retry_bits;
1: + struct delayed_work reenable_work;
1: + u32 long_port_mask;
1: + u32 short_port_mask;
1: + struct work_struct dig_port_work;
1: + struct work_struct poll_init_work;
1: + bool poll_enabled;
1: + unsigned int hpd_storm_threshold;
1: + u8 hpd_short_storm_enabled;
1: + struct workqueue_struct *dp_wq;
1: +};
1: +
1: +struct i915_vma;
1: +
1: +struct intel_fbc_state_cache {
1: + struct i915_vma *vma;
1: + long unsigned int flags;
1: + struct {
1: + unsigned int mode_flags;
1: + u32 hsw_bdw_pixel_rate;
1: + } crtc;
1: + struct {
1: + unsigned int rotation;
1: + int src_w;
1: + int src_h;
1: + bool visible;
1: + int adjusted_x;
1: + int adjusted_y;
1: + int y;
1: + u16 pixel_blend_mode;
1: + } plane;
1: + struct {
1: + const struct drm_format_info *format;
1: + unsigned int stride;
1: + } fb;
1: +};
1: +
1: +struct intel_fbc_reg_params {
1: + struct i915_vma *vma;
1: + long unsigned int flags;
1: + struct {
1: + enum pipe pipe;
1: + enum i9xx_plane_id i9xx_plane;
1: + unsigned int fence_y_offset;
1: + } crtc;
1: + struct {
1: + const struct drm_format_info *format;
1: + unsigned int stride;
1: + } fb;
1: + int cfb_size;
1: + unsigned int gen9_wa_cfb_stride;
1: +};
1: +
1: +struct intel_crtc;
1: +
1: +struct intel_fbc {
1: + struct mutex lock;
1: + unsigned int threshold;
1: + unsigned int possible_framebuffer_bits;
1: + unsigned int busy_bits;
1: + unsigned int visible_pipes_mask;
1: + struct intel_crtc *crtc;
1: + struct drm_mm_node compressed_fb;
1: + struct drm_mm_node *compressed_llb;
1: + bool false_color;
1: + bool enabled;
1: + bool active;
1: + bool flip_pending;
1: + bool underrun_detected;
1: + struct work_struct underrun_work;
1: + struct intel_fbc_state_cache state_cache;
1: + struct intel_fbc_reg_params params;
1: + const char *no_fbc_reason;
1: +};
1: +
1: +enum drrs_refresh_rate_type {
1: + DRRS_HIGH_RR = 0,
1: + DRRS_LOW_RR = 1,
1: + DRRS_MAX_RR = 2,
1: +};
1: +
1: +enum drrs_support_type {
1: + DRRS_NOT_SUPPORTED = 0,
1: + STATIC_DRRS_SUPPORT = 1,
1: + SEAMLESS_DRRS_SUPPORT = 2,
1: +};
1: +
1: +struct intel_dp;
1: +
1: +struct i915_drrs {
1: + struct mutex mutex;
1: + struct delayed_work work;
1: + struct intel_dp *dp;
1: + unsigned int busy_frontbuffer_bits;
1: + enum drrs_refresh_rate_type refresh_rate_type;
1: + enum drrs_support_type type;
1: +};
1: +
1: +struct opregion_header;
1: +
1: +struct opregion_acpi;
1: +
1: +struct opregion_swsci;
1: +
1: +struct opregion_asle;
1: +
1: +struct intel_opregion {
1: + struct opregion_header *header;
1: + struct opregion_acpi *acpi;
1: + struct opregion_swsci *swsci;
1: + u32 swsci_gbda_sub_functions;
1: + u32 swsci_sbcb_sub_functions;
1: + struct opregion_asle *asle;
1: + void *rvda;
1: + void *vbt_firmware;
1: + const void *vbt;
1: + u32 vbt_size;
1: + u32 *lid_state;
1: + struct work_struct asle_work;
1: + struct notifier_block acpi_notifier;
1: +};
1: +
1: +enum psr_lines_to_wait {
1: + PSR_0_LINES_TO_WAIT = 0,
1: + PSR_1_LINE_TO_WAIT = 1,
1: + PSR_4_LINES_TO_WAIT = 2,
1: + PSR_8_LINES_TO_WAIT = 3,
1: +};
1: +
1: +struct child_device_config;
1: +
1: +struct ddi_vbt_port_info {
1: + const struct child_device_config *child;
1: + int max_tmds_clock;
1: + u8 hdmi_level_shift;
1: + u8 supports_dvi: 1;
1: + u8 supports_hdmi: 1;
1: + u8 supports_dp: 1;
1: + u8 supports_edp: 1;
1: + u8 supports_typec_usb: 1;
1: + u8 supports_tbt: 1;
1: + u8 alternate_aux_channel;
1: + u8 alternate_ddc_pin;
1: + u8 dp_boost_level;
1: + u8 hdmi_boost_level;
1: + int dp_max_link_rate;
1: +};
1: +
1: +struct sdvo_device_mapping {
1: + u8 initialized;
1: + u8 dvo_port;
1: + u8 slave_addr;
1: + u8 dvo_wiring;
1: + u8 i2c_pin;
1: + u8 ddc_pin;
1: +};
1: +
1: +struct intel_vbt_data {
1: + struct drm_display_mode *lfp_lvds_vbt_mode;
1: + struct drm_display_mode *sdvo_lvds_vbt_mode;
1: + unsigned int int_tv_support: 1;
1: + unsigned int lvds_dither: 1;
1: + unsigned int int_crt_support: 1;
1: + unsigned int lvds_use_ssc: 1;
1: + unsigned int int_lvds_support: 1;
1: + unsigned int display_clock_mode: 1;
1: + unsigned int fdi_rx_polarity_inverted: 1;
1: + unsigned int panel_type: 4;
1: + int lvds_ssc_freq;
1: + unsigned int bios_lvds_val;
1: + enum drm_panel_orientation orientation;
1: + enum drrs_support_type drrs_type;
1: + struct {
1: + int rate;
1: + int lanes;
1: + int preemphasis;
1: + int vswing;
1: + bool low_vswing;
1: + bool initialized;
1: + int bpp;
1: + struct edp_power_seq pps;
1: + } edp;
1: + struct {
1: + bool enable;
1: + bool full_link;
1: + bool require_aux_wakeup;
1: + int idle_frames;
1: + enum psr_lines_to_wait lines_to_wait;
1: + int tp1_wakeup_time_us;
1: + int tp2_tp3_wakeup_time_us;
1: + int psr2_tp2_tp3_wakeup_time_us;
1: + } psr;
1: + struct {
1: + u16 pwm_freq_hz;
1: + bool present;
1: + bool active_low_pwm;
1: + u8 min_brightness;
1: + u8 controller;
1: + enum intel_backlight_type type;
1: + } backlight;
1: + struct {
1: + u16 panel_id;
1: + struct mipi_config *config;
1: + struct mipi_pps_data *pps;
1: + u16 bl_ports;
1: + u16 cabc_ports;
1: + u8 seq_version;
1: + u32 size;
1: + u8 *data;
1: + const u8 *sequence[12];
1: + u8 *deassert_seq;
1: + enum drm_panel_orientation orientation;
1: + } dsi;
1: + int crt_ddc_pin;
1: + int child_dev_num;
1: + struct child_device_config *child_dev;
1: + struct ddi_vbt_port_info ddi_port_info[9];
1: + struct sdvo_device_mapping sdvo_mappings[2];
1: +};
1: +
1: +struct intel_cdclk_state {
1: + unsigned int cdclk;
1: + unsigned int vco;
1: + unsigned int ref;
1: + unsigned int bypass;
1: + u8 voltage_level;
1: +};
1: +
1: +struct intel_crtc_state;
1: +
1: +struct intel_atomic_state;
1: +
1: +struct intel_initial_plane_config;
1: +
1: +struct intel_encoder;
1: +
1: +struct drm_i915_display_funcs {
1: + void (*get_cdclk)(struct drm_i915_private *, struct intel_cdclk_state *);
1: + void (*set_cdclk)(struct drm_i915_private *, const struct intel_cdclk_state *, enum pipe);
1: + int (*get_fifo_size)(struct drm_i915_private *, enum i9xx_plane_id);
1: + int (*compute_pipe_wm)(struct intel_crtc_state *);
1: + int (*compute_intermediate_wm)(struct intel_crtc_state *);
1: + void (*initial_watermarks)(struct intel_atomic_state *, struct intel_crtc_state *);
1: + void (*atomic_update_watermarks)(struct intel_atomic_state *, struct intel_crtc_state *);
1: + void (*optimize_watermarks)(struct intel_atomic_state *, struct intel_crtc_state *);
1: + int (*compute_global_watermarks)(struct intel_atomic_state *);
1: + void (*update_wm)(struct intel_crtc *);
1: + int (*modeset_calc_cdclk)(struct intel_atomic_state *);
1: + u8 (*calc_voltage_level)(int);
1: + bool (*get_pipe_config)(struct intel_crtc *, struct intel_crtc_state *);
1: + void (*get_initial_plane_config)(struct intel_crtc *, struct intel_initial_plane_config *);
1: + int (*crtc_compute_clock)(struct intel_crtc *, struct intel_crtc_state *);
1: + void (*crtc_enable)(struct intel_crtc_state *, struct intel_atomic_state *);
1: + void (*crtc_disable)(struct intel_crtc_state *, struct intel_atomic_state *);
1: + void (*commit_modeset_enables)(struct intel_atomic_state *);
1: + void (*commit_modeset_disables)(struct intel_atomic_state *);
1: + void (*audio_codec_enable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + void (*audio_codec_disable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + void (*fdi_link_train)(struct intel_crtc *, const struct intel_crtc_state *);
1: + void (*init_clock_gating)(struct drm_i915_private *);
1: + void (*hpd_irq_setup)(struct drm_i915_private *);
1: + int (*color_check)(struct intel_crtc_state *);
1: + void (*color_commit)(const struct intel_crtc_state *);
1: + void (*load_luts)(const struct intel_crtc_state *);
1: + void (*read_luts)(struct intel_crtc_state *);
1: +};
1: +
1: +enum intel_pch {
1: + PCH_NOP = -1,
1: + PCH_NONE = 0,
1: + PCH_IBX = 1,
1: + PCH_CPT = 2,
1: + PCH_LPT = 3,
1: + PCH_SPT = 4,
1: + PCH_CNP = 5,
1: + PCH_ICP = 6,
1: + PCH_JSP = 7,
1: + PCH_MCC = 8,
1: + PCH_TGP = 9,
1: +};
1: +
1: +struct i915_page_dma {
1: + struct page *page;
1: + union {
1: + dma_addr_t daddr;
1: + u32 ggtt_offset;
1: + };
1: +};
1: +
1: +struct i915_page_scratch {
1: + struct i915_page_dma base;
1: + u64 encode;
1: +};
1: +
1: +struct pagestash {
1: + spinlock_t lock;
1: + struct pagevec pvec;
1: +};
1: +
1: +enum i915_cache_level {
1: + I915_CACHE_NONE = 0,
1: + I915_CACHE_LLC = 1,
1: + I915_CACHE_L3_LLC = 2,
1: + I915_CACHE_WT = 3,
1: +};
1: +
1: +struct i915_vma_ops {
1: + int (*bind_vma)(struct i915_vma *, enum i915_cache_level, u32);
1: + void (*unbind_vma)(struct i915_vma *);
1: + int (*set_pages)(struct i915_vma *);
1: + void (*clear_pages)(struct i915_vma *);
1: +};
1: +
1: +struct intel_gt;
1: +
1: +struct drm_i915_file_private;
1: +
1: +struct i915_address_space {
1: + struct kref ref;
1: + struct rcu_work rcu;
1: + struct drm_mm mm;
1: + struct intel_gt *gt;
1: + struct drm_i915_private *i915;
1: + struct device *dma;
1: + struct drm_i915_file_private *file;
1: + u64 total;
1: + u64 reserved;
1: + unsigned int bind_async_flags;
1: + atomic_t open;
1: + struct mutex mutex;
1: + struct i915_page_scratch scratch[4];
1: + unsigned int scratch_order;
1: + unsigned int top;
1: + struct list_head bound_list;
1: + struct pagestash free_pages;
1: + bool is_ggtt: 1;
1: + bool pt_kmap_wc: 1;
1: + bool has_read_only: 1;
1: + u64 (*pte_encode)(dma_addr_t, enum i915_cache_level, u32);
1: + int (*allocate_va_range)(struct i915_address_space *, u64, u64);
1: + void (*clear_range)(struct i915_address_space *, u64, u64);
1: + void (*insert_page)(struct i915_address_space *, dma_addr_t, u64, enum i915_cache_level, u32);
1: + void (*insert_entries)(struct i915_address_space *, struct i915_vma *, enum i915_cache_level, u32);
1: + void (*cleanup)(struct i915_address_space *);
1: + struct i915_vma_ops vma_ops;
1: +};
1: +
1: +struct i915_ggtt;
1: +
1: +struct i915_fence_reg {
1: + struct list_head link;
1: + struct i915_ggtt *ggtt;
1: + struct i915_vma *vma;
1: + atomic_t pin_count;
1: + int id;
1: + bool dirty;
1: +};
1: +
1: +struct i915_ppgtt;
1: +
1: +struct i915_ggtt {
1: + struct i915_address_space vm;
1: + struct io_mapping iomap;
1: + struct resource gmadr;
1: + resource_size_t mappable_end;
1: + void *gsm;
1: + void (*invalidate)(struct i915_ggtt *);
1: + struct i915_ppgtt *alias;
1: + bool do_idle_maps;
1: + int mtrr;
1: + u32 bit_6_swizzle_x;
1: + u32 bit_6_swizzle_y;
1: + u32 pin_bias;
1: + unsigned int num_fences;
1: + struct i915_fence_reg fence_regs[32];
1: + struct list_head fence_list;
1: + struct list_head userfault_list;
1: + struct intel_wakeref_auto userfault_wakeref;
1: + struct drm_mm_node error_capture;
1: + struct drm_mm_node uc_fw;
1: +};
1: +
1: +struct intel_memory_region;
1: +
1: +struct i915_gem_mm {
1: + struct drm_mm stolen;
1: + struct mutex stolen_lock;
1: + spinlock_t obj_lock;
1: + struct list_head purge_list;
1: + struct list_head shrink_list;
1: + struct llist_head free_list;
1: + struct work_struct free_work;
1: + atomic_t free_count;
1: + struct pagestash wc_stash;
1: + struct vfsmount *gemfs;
1: + struct intel_memory_region *regions[3];
1: + struct notifier_block oom_notifier;
1: + struct notifier_block vmap_notifier;
1: + struct shrinker shrinker;
1: + struct workqueue_struct *userptr_wq;
1: + u64 shrink_memory;
1: + u32 shrink_count;
1: +};
1: +
1: +enum intel_pipe_crc_source {
1: + INTEL_PIPE_CRC_SOURCE_NONE = 0,
1: + INTEL_PIPE_CRC_SOURCE_PLANE1 = 1,
1: + INTEL_PIPE_CRC_SOURCE_PLANE2 = 2,
1: + INTEL_PIPE_CRC_SOURCE_PLANE3 = 3,
1: + INTEL_PIPE_CRC_SOURCE_PLANE4 = 4,
1: + INTEL_PIPE_CRC_SOURCE_PLANE5 = 5,
1: + INTEL_PIPE_CRC_SOURCE_PLANE6 = 6,
1: + INTEL_PIPE_CRC_SOURCE_PLANE7 = 7,
1: + INTEL_PIPE_CRC_SOURCE_PIPE = 8,
1: + INTEL_PIPE_CRC_SOURCE_TV = 9,
1: + INTEL_PIPE_CRC_SOURCE_DP_B = 10,
1: + INTEL_PIPE_CRC_SOURCE_DP_C = 11,
1: + INTEL_PIPE_CRC_SOURCE_DP_D = 12,
1: + INTEL_PIPE_CRC_SOURCE_AUTO = 13,
1: + INTEL_PIPE_CRC_SOURCE_MAX = 14,
1: +};
1: +
1: +struct intel_pipe_crc {
1: + spinlock_t lock;
1: + int skipped;
1: + enum intel_pipe_crc_source source;
1: +};
1: +
1: +struct intel_dpll_hw_state {
1: + u32 dpll;
1: + u32 dpll_md;
1: + u32 fp0;
1: + u32 fp1;
1: + u32 wrpll;
1: + u32 spll;
1: + u32 ctrl1;
1: + u32 cfgcr1;
1: + u32 cfgcr2;
1: + u32 cfgcr0;
1: + u32 ebb0;
1: + u32 ebb4;
1: + u32 pll0;
1: + u32 pll1;
1: + u32 pll2;
1: + u32 pll3;
1: + u32 pll6;
1: + u32 pll8;
1: + u32 pll9;
1: + u32 pll10;
1: + u32 pcsdw12;
1: + u32 mg_refclkin_ctl;
1: + u32 mg_clktop2_coreclkctl1;
1: + u32 mg_clktop2_hsclkctl;
1: + u32 mg_pll_div0;
1: + u32 mg_pll_div1;
1: + u32 mg_pll_lf;
1: + u32 mg_pll_frac_lock;
1: + u32 mg_pll_ssc;
1: + u32 mg_pll_bias;
1: + u32 mg_pll_tdc_coldst_bias;
1: + u32 mg_pll_bias_mask;
1: + u32 mg_pll_tdc_coldst_bias_mask;
1: +};
1: +
1: +struct intel_shared_dpll_state {
1: + unsigned int crtc_mask;
1: + struct intel_dpll_hw_state hw_state;
1: +};
1: +
1: +struct dpll_info;
1: +
1: +struct intel_shared_dpll {
1: + struct intel_shared_dpll_state state;
1: + unsigned int active_mask;
1: + bool on;
1: + const struct dpll_info *info;
1: + intel_wakeref_t wakeref;
1: +};
1: +
1: +struct i915_wa;
1: +
1: +struct i915_wa_list {
1: + const char *name;
1: + const char *engine_name;
1: + struct i915_wa *list;
1: + unsigned int count;
1: + unsigned int wa_count;
1: +};
1: +
1: +struct i915_frontbuffer_tracking {
1: + spinlock_t lock;
1: + unsigned int busy_bits;
1: + unsigned int flip_bits;
1: +};
1: +
1: +struct intel_atomic_helper {
1: + struct llist_head free_list;
1: + struct work_struct free_work;
1: +};
1: +
1: +struct intel_l3_parity {
1: + u32 *remap_info[2];
1: + struct work_struct error_work;
1: + int which_slice;
1: +};
1: +
1: +struct i915_power_domains {
1: + bool initializing;
1: + bool display_core_suspended;
1: + int power_well_count;
1: + intel_wakeref_t wakeref;
1: + struct mutex lock;
1: + int domain_use_count[62];
1: + struct delayed_work async_put_work;
1: + intel_wakeref_t async_put_wakeref;
1: + u64 async_put_domains[2];
1: + struct i915_power_well *power_wells;
1: +};
1: +
1: +struct i915_psr {
1: + struct mutex lock;
1: + u32 debug;
1: + bool sink_support;
1: + bool enabled;
1: + struct intel_dp *dp;
1: + enum pipe pipe;
1: + enum transcoder transcoder;
1: + bool active;
1: + struct work_struct work;
1: + unsigned int busy_frontbuffer_bits;
1: + bool sink_psr2_support;
1: + bool link_standby;
1: + bool colorimetry_support;
1: + bool psr2_enabled;
1: + u8 sink_sync_latency;
1: + ktime_t last_entry_attempt;
1: + ktime_t last_exit;
1: + bool sink_not_reliable;
1: + bool irq_aux_error;
1: + u16 su_x_granularity;
1: + bool dc3co_enabled;
1: + u32 dc3co_exit_delay;
1: + struct delayed_work idle_work;
1: +};
1: +
1: +struct i915_gpu_state;
1: +
1: +struct i915_gpu_error {
1: + spinlock_t lock;
1: + struct i915_gpu_state *first_error;
1: + atomic_t pending_fb_pin;
1: + atomic_t reset_count;
1: + atomic_t reset_engine_count[8];
1: +};
1: +
1: +struct i915_suspend_saved_registers {
1: + u32 saveDSPARB;
1: + u32 saveFBC_CONTROL;
1: + u32 saveCACHE_MODE_0;
1: + u32 saveMI_ARB_STATE;
1: + u32 saveSWF0[16];
1: + u32 saveSWF1[16];
1: + u32 saveSWF3[3];
1: + u64 saveFENCE[32];
1: + u32 savePCH_PORT_HOTPLUG;
1: + u16 saveGCDGMBUS;
1: +};
1: +
1: +enum intel_ddb_partitioning {
1: + INTEL_DDB_PART_1_2 = 0,
1: + INTEL_DDB_PART_5_6 = 1,
1: +};
1: +
1: +struct ilk_wm_values {
1: + u32 wm_pipe[3];
1: + u32 wm_lp[3];
1: + u32 wm_lp_spr[3];
1: + u32 wm_linetime[3];
1: + bool enable_fbc_wm;
1: + enum intel_ddb_partitioning partitioning;
1: +};
1: +
1: +struct skl_ddb_allocation {
1: + u8 enabled_slices;
1: +};
1: +
1: +struct skl_ddb_values {
1: + unsigned int dirty_pipes;
1: + struct skl_ddb_allocation ddb;
1: +};
1: +
1: +struct g4x_pipe_wm {
1: + u16 plane[8];
1: + u16 fbc;
1: +};
1: +
1: +struct g4x_sr_wm {
1: + u16 plane;
1: + u16 cursor;
1: + u16 fbc;
1: +};
1: +
1: +struct vlv_wm_ddl_values {
1: + u8 plane[8];
1: +};
1: +
1: +struct vlv_wm_values {
1: + struct g4x_pipe_wm pipe[3];
1: + struct g4x_sr_wm sr;
1: + struct vlv_wm_ddl_values ddl[3];
1: + u8 level;
1: + bool cxsr;
1: +};
1: +
1: +struct g4x_wm_values {
1: + struct g4x_pipe_wm pipe[2];
1: + struct g4x_sr_wm sr;
1: + struct g4x_sr_wm hpll;
1: + bool cxsr;
1: + bool hpll_en;
1: + bool fbc_en;
1: +};
1: +
1: +enum intel_dram_type {
1: + INTEL_DRAM_UNKNOWN = 0,
1: + INTEL_DRAM_DDR3 = 1,
1: + INTEL_DRAM_DDR4 = 2,
1: + INTEL_DRAM_LPDDR3 = 3,
1: + INTEL_DRAM_LPDDR4 = 4,
1: +};
1: +
1: +struct dram_info {
1: + bool valid;
1: + bool is_16gb_dimm;
1: + u8 num_channels;
1: + u8 ranks;
1: + u32 bandwidth_kbps;
1: + bool symmetric_memory;
1: + enum intel_dram_type type;
1: +};
1: +
1: +struct intel_bw_info {
1: + unsigned int deratedbw[3];
1: + u8 num_qgv_points;
1: + u8 num_planes;
1: +};
1: +
1: +struct i915_perf;
1: +
1: +struct i915_oa_reg;
1: +
1: +struct i915_oa_config {
1: + struct i915_perf *perf;
1: + char uuid[37];
1: + int id;
1: + const struct i915_oa_reg *mux_regs;
1: + u32 mux_regs_len;
1: + const struct i915_oa_reg *b_counter_regs;
1: + u32 b_counter_regs_len;
1: + const struct i915_oa_reg *flex_regs;
1: + u32 flex_regs_len;
1: + struct attribute_group sysfs_metric;
1: + struct attribute *attrs[2];
1: + struct device_attribute sysfs_metric_id;
1: + struct kref ref;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct i915_perf_stream;
1: +
1: +struct i915_oa_ops {
1: + bool (*is_valid_b_counter_reg)(struct i915_perf *, u32);
1: + bool (*is_valid_mux_reg)(struct i915_perf *, u32);
1: + bool (*is_valid_flex_reg)(struct i915_perf *, u32);
1: + int (*enable_metric_set)(struct i915_perf_stream *);
1: + void (*disable_metric_set)(struct i915_perf_stream *);
1: + void (*oa_enable)(struct i915_perf_stream *);
1: + void (*oa_disable)(struct i915_perf_stream *);
1: + int (*read)(struct i915_perf_stream *, char *, size_t, size_t *);
1: + u32 (*oa_hw_tail_read)(struct i915_perf_stream *);
1: +};
1: +
1: +struct i915_oa_format;
1: +
1: +struct i915_perf {
1: + struct drm_i915_private *i915;
1: + struct kobject *metrics_kobj;
1: + struct ctl_table_header *sysctl_header;
1: + struct mutex metrics_lock;
1: + struct idr metrics_idr;
1: + struct mutex lock;
1: + struct i915_perf_stream *exclusive_stream;
1: + struct ratelimit_state spurious_report_rs;
1: + struct i915_oa_config test_config;
1: + u32 gen7_latched_oastatus1;
1: + u32 ctx_oactxctrl_offset;
1: + u32 ctx_flexeu0_offset;
1: + u32 gen8_valid_ctx_bit;
1: + struct i915_oa_ops ops;
1: + const struct i915_oa_format *oa_formats;
1: + atomic64_t noa_programming_delay;
1: +};
1: +
1: +enum intel_uc_fw_type {
1: + INTEL_UC_FW_TYPE_GUC = 0,
1: + INTEL_UC_FW_TYPE_HUC = 1,
1: +};
1: +
1: +enum intel_uc_fw_status {
1: + INTEL_UC_FIRMWARE_NOT_SUPPORTED = -1,
1: + INTEL_UC_FIRMWARE_UNINITIALIZED = 0,
1: + INTEL_UC_FIRMWARE_DISABLED = 1,
1: + INTEL_UC_FIRMWARE_SELECTED = 2,
1: + INTEL_UC_FIRMWARE_MISSING = 3,
1: + INTEL_UC_FIRMWARE_ERROR = 4,
1: + INTEL_UC_FIRMWARE_AVAILABLE = 5,
1: + INTEL_UC_FIRMWARE_FAIL = 6,
1: + INTEL_UC_FIRMWARE_TRANSFERRED = 7,
1: + INTEL_UC_FIRMWARE_RUNNING = 8,
1: +};
1: +
1: +struct drm_i915_gem_object;
1: +
1: +struct intel_uc_fw {
1: + enum intel_uc_fw_type type;
1: + union {
1: + const enum intel_uc_fw_status status;
1: + enum intel_uc_fw_status __status;
1: + };
1: + const char *path;
1: + bool user_overridden;
1: + size_t size;
1: + struct drm_i915_gem_object *obj;
1: + u16 major_ver_wanted;
1: + u16 minor_ver_wanted;
1: + u16 major_ver_found;
1: + u16 minor_ver_found;
1: + u32 rsa_size;
1: + u32 ucode_size;
1: +};
1: +
1: +struct intel_guc_log {
1: + u32 level;
1: + struct i915_vma *vma;
1: + struct {
1: + void *buf_addr;
1: + bool started;
1: + struct work_struct flush_work;
1: + struct rchan *channel;
1: + struct mutex lock;
1: + u32 full_count;
1: + } relay;
1: + struct {
1: + u32 sampled_overflow;
1: + u32 overflow;
1: + u32 flush;
1: + } stats[3];
1: +};
1: +
1: +struct guc_ct_buffer_desc;
1: +
1: +struct intel_guc_ct_buffer {
1: + struct guc_ct_buffer_desc *desc;
1: + u32 *cmds;
1: +};
1: +
1: +struct intel_guc_ct_channel {
1: + struct i915_vma *vma;
1: + struct intel_guc_ct_buffer ctbs[2];
1: + u32 owner;
1: + u32 next_fence;
1: + bool enabled;
1: +};
1: +
1: +struct intel_guc_ct {
1: + struct intel_guc_ct_channel host_channel;
1: + spinlock_t lock;
1: + struct list_head pending_requests;
1: + struct list_head incoming_requests;
1: + struct work_struct worker;
1: +};
1: +
1: +struct __guc_ads_blob;
1: +
1: +struct intel_guc_client;
1: +
1: +struct intel_guc {
1: + struct intel_uc_fw fw;
1: + struct intel_guc_log log;
1: + struct intel_guc_ct ct;
1: + spinlock_t irq_lock;
1: + unsigned int msg_enabled_mask;
1: + struct {
1: + bool enabled;
1: + void (*reset)(struct intel_guc *);
1: + void (*enable)(struct intel_guc *);
1: + void (*disable)(struct intel_guc *);
1: + } interrupts;
1: + bool submission_supported;
1: + struct i915_vma *ads_vma;
1: + struct __guc_ads_blob *ads_blob;
1: + struct i915_vma *stage_desc_pool;
1: + void *stage_desc_pool_vaddr;
1: + struct ida stage_ids;
1: + struct intel_guc_client *execbuf_client;
1: + long unsigned int doorbell_bitmap[4];
1: + u32 db_cacheline;
1: + u32 params[14];
1: + struct {
1: + u32 base;
1: + unsigned int count;
1: + enum forcewake_domains fw_domains;
1: + } send_regs;
1: + u32 mmio_msg;
1: + struct mutex send_mutex;
1: + int (*send)(struct intel_guc *, const u32 *, u32, u32 *, u32);
1: + void (*handler)(struct intel_guc *);
1: + void (*notify)(struct intel_guc *);
1: +};
1: +
1: +struct intel_huc {
1: + struct intel_uc_fw fw;
1: + struct i915_vma *rsa_data;
1: + struct {
1: + i915_reg_t reg;
1: + u32 mask;
1: + u32 value;
1: + } status;
1: +};
1: +
1: +struct intel_uc {
1: + struct intel_guc guc;
1: + struct intel_huc huc;
1: + struct drm_i915_gem_object *load_err_log;
1: +};
1: +
1: +struct intel_gt_timelines {
1: + spinlock_t lock;
1: + struct list_head active_list;
1: + spinlock_t hwsp_lock;
1: + struct list_head hwsp_free_list;
1: +};
1: +
1: +struct intel_gt_requests {
1: + struct delayed_work retire_work;
1: +};
1: +
1: +struct intel_reset {
1: + long unsigned int flags;
1: + struct mutex mutex;
1: + wait_queue_head_t queue;
1: + struct srcu_struct backoff_srcu;
1: +};
1: +
1: +struct intel_llc {};
1: +
1: +struct intel_rc6 {
1: + u64 prev_hw_residency[4];
1: + u64 cur_residency[4];
1: + struct drm_i915_gem_object *pctx;
1: + bool supported: 1;
1: + bool enabled: 1;
1: + bool wakeref: 1;
1: + bool ctx_corrupted: 1;
1: +};
1: +
1: +struct intel_rps_ei {
1: + ktime_t ktime;
1: + u32 render_c0;
1: + u32 media_c0;
1: +};
1: +
1: +struct intel_ips {
1: + u64 last_count1;
1: + long unsigned int last_time1;
1: + long unsigned int chipset_power;
1: + u64 last_count2;
1: + u64 last_time2;
1: + long unsigned int gfx_power;
1: + u8 corr;
1: + int c;
1: + int m;
1: +};
1: +
1: +struct intel_rps {
1: + struct mutex lock;
1: + struct work_struct work;
1: + bool enabled;
1: + bool active;
1: + u32 pm_iir;
1: + u32 pm_intrmsk_mbz;
1: + u32 pm_events;
1: + u8 cur_freq;
1: + u8 last_freq;
1: + u8 min_freq_softlimit;
1: + u8 max_freq_softlimit;
1: + u8 max_freq;
1: + u8 min_freq;
1: + u8 boost_freq;
1: + u8 idle_freq;
1: + u8 efficient_freq;
1: + u8 rp1_freq;
1: + u8 rp0_freq;
1: + u16 gpll_ref_freq;
1: + int last_adj;
1: + struct {
1: + struct mutex mutex;
1: + enum {
1: + LOW_POWER = 0,
1: + BETWEEN = 1,
1: + HIGH_POWER = 2,
1: + } mode;
1: + unsigned int interactive;
1: + u8 up_threshold;
1: + u8 down_threshold;
1: + } power;
1: + atomic_t num_waiters;
1: + atomic_t boosts;
1: + struct intel_rps_ei ei;
1: + struct intel_ips ips;
1: +};
1: +
1: +struct intel_engine_cs;
1: +
1: +struct intel_gt {
1: + struct drm_i915_private *i915;
1: + struct intel_uncore *uncore;
1: + struct i915_ggtt *ggtt;
1: + struct intel_uc uc;
1: + struct intel_gt_timelines timelines;
1: + struct intel_gt_requests requests;
1: + struct intel_wakeref wakeref;
1: + atomic_t user_wakeref;
1: + struct list_head closed_vma;
1: + spinlock_t closed_lock;
1: + struct intel_reset reset;
1: + intel_wakeref_t awake;
1: + struct intel_llc llc;
1: + struct intel_rc6 rc6;
1: + struct intel_rps rps;
1: + ktime_t last_init_time;
1: + struct i915_vma *scratch;
1: + spinlock_t irq_lock;
1: + u32 gt_imr;
1: + u32 pm_ier;
1: + u32 pm_imr;
1: + u32 pm_guc_events;
1: + struct intel_engine_cs *engine[8];
1: + struct intel_engine_cs *engine_class[20];
1: +};
1: +
1: +struct i915_gem_contexts {
1: + spinlock_t lock;
1: + struct list_head list;
1: + struct llist_head free_list;
1: + struct work_struct free_work;
1: +};
1: +
1: +struct i915_pmu_sample {
1: + u64 cur;
1: +};
1: +
1: +struct i915_pmu {
1: + struct hlist_node node;
1: + struct pmu base;
1: + const char *name;
1: + spinlock_t lock;
1: + struct hrtimer timer;
1: + u64 enable;
1: + ktime_t timer_last;
1: + unsigned int enable_count[20];
1: + bool timer_enabled;
1: + struct i915_pmu_sample sample[4];
1: + ktime_t sleep_last;
1: + void *i915_attr;
1: + void *pmu_attr;
1: +};
1: +
1: +struct i915_gem_context;
1: +
1: +struct intel_overlay;
1: +
1: +struct intel_dpll_mgr;
1: +
1: +struct intel_fbdev;
1: +
1: +struct i915_audio_component;
1: +
1: +struct vlv_s0ix_state;
1: +
1: +struct drm_i915_private {
1: + struct drm_device drm;
1: + const struct intel_device_info __info;
1: + struct intel_runtime_info __runtime;
1: + struct intel_driver_caps caps;
1: + struct resource dsm;
1: + struct resource dsm_reserved;
1: + resource_size_t stolen_usable_size;
1: + struct intel_uncore uncore;
1: + struct intel_uncore_mmio_debug mmio_debug;
1: + struct i915_virtual_gpu vgpu;
1: + struct intel_gvt *gvt;
1: + struct intel_wopcm wopcm;
1: + struct intel_csr csr;
1: + struct intel_gmbus gmbus[15];
1: + struct mutex gmbus_mutex;
1: + u32 gpio_mmio_base;
1: + u32 hsw_psr_mmio_adjust;
1: + u32 mipi_mmio_base;
1: + u32 pps_mmio_base;
1: + wait_queue_head_t gmbus_wait_queue;
1: + struct pci_dev *bridge_dev;
1: + struct i915_gem_context *kernel_context;
1: + struct intel_engine_cs *engine[8];
1: + struct rb_root uabi_engines;
1: + struct resource mch_res;
1: + spinlock_t irq_lock;
1: + bool display_irqs_enabled;
1: + struct pm_qos_request pm_qos;
1: + struct mutex sb_lock;
1: + struct pm_qos_request sb_qos;
1: + union {
1: + u32 irq_mask;
1: + u32 de_irq_mask[4];
1: + };
1: + u32 pipestat_irq_mask[4];
1: + struct i915_hotplug hotplug;
1: + struct intel_fbc fbc;
1: + struct i915_drrs drrs;
1: + struct intel_opregion opregion;
1: + struct intel_vbt_data vbt;
1: + bool preserve_bios_swizzle;
1: + struct intel_overlay *overlay;
1: + struct mutex backlight_lock;
1: + struct mutex pps_mutex;
1: + unsigned int fsb_freq;
1: + unsigned int mem_freq;
1: + unsigned int is_ddr3;
1: + unsigned int skl_preferred_vco_freq;
1: + unsigned int max_cdclk_freq;
1: + unsigned int max_dotclk_freq;
1: + unsigned int rawclk_freq;
1: + unsigned int hpll_freq;
1: + unsigned int fdi_pll_freq;
1: + unsigned int czclk_freq;
1: + struct {
1: + struct intel_cdclk_state logical;
1: + struct intel_cdclk_state actual;
1: + struct intel_cdclk_state hw;
1: + const struct intel_cdclk_vals *table;
1: + int force_min_cdclk;
1: + } cdclk;
1: + struct workqueue_struct *wq;
1: + struct workqueue_struct *modeset_wq;
1: + struct workqueue_struct *flip_wq;
1: + struct drm_i915_display_funcs display;
1: + enum intel_pch pch_type;
1: + short unsigned int pch_id;
1: + long unsigned int quirks;
1: + struct drm_atomic_state *modeset_restore_state;
1: + struct drm_modeset_acquire_ctx reset_ctx;
1: + struct i915_ggtt ggtt;
1: + struct i915_gem_mm mm;
1: + struct hlist_head mm_structs[128];
1: + struct mutex mm_lock;
1: + struct intel_crtc *plane_to_crtc_mapping[4];
1: + struct intel_crtc *pipe_to_crtc_mapping[4];
1: + struct intel_pipe_crc pipe_crc[4];
1: + int num_shared_dpll;
1: + struct intel_shared_dpll shared_dplls[9];
1: + const struct intel_dpll_mgr *dpll_mgr;
1: + struct mutex dpll_lock;
1: + u8 active_pipes;
1: + int min_cdclk[4];
1: + u8 min_voltage_level[4];
1: + int dpio_phy_iosf_port[2];
1: + struct i915_wa_list gt_wa_list;
1: + struct i915_frontbuffer_tracking fb_tracking;
1: + struct intel_atomic_helper atomic_helper;
1: + u16 orig_clock;
1: + bool mchbar_need_disable;
1: + struct intel_l3_parity l3_parity;
1: + u32 edram_size_mb;
1: + struct i915_power_domains power_domains;
1: + struct i915_psr psr;
1: + struct i915_gpu_error gpu_error;
1: + struct drm_i915_gem_object *vlv_pctx;
1: + struct intel_fbdev *fbdev;
1: + struct work_struct fbdev_suspend_work;
1: + struct drm_property *broadcast_rgb_property;
1: + struct drm_property *force_audio_property;
1: + struct i915_audio_component *audio_component;
1: + bool audio_component_registered;
1: + struct mutex av_mutex;
1: + int audio_power_refcount;
1: + u32 audio_freq_cntrl;
1: + u32 fdi_rx_config;
1: + u32 chv_phy_control;
1: + u32 chv_dpll_md[4];
1: + u32 bxt_phy_grc;
1: + u32 suspend_count;
1: + bool power_domains_suspended;
1: + struct i915_suspend_saved_registers regfile;
1: + struct vlv_s0ix_state *vlv_s0ix_state;
1: + enum {
1: + I915_SAGV_UNKNOWN = 0,
1: + I915_SAGV_DISABLED = 1,
1: + I915_SAGV_ENABLED = 2,
1: + I915_SAGV_NOT_CONTROLLED = 3,
1: + } sagv_status;
1: + u32 sagv_block_time_us;
1: + struct {
1: + u16 pri_latency[5];
1: + u16 spr_latency[5];
1: + u16 cur_latency[5];
1: + u16 skl_latency[8];
1: + union {
1: + struct ilk_wm_values hw;
1: + struct skl_ddb_values skl_hw;
1: + struct vlv_wm_values vlv;
1: + struct g4x_wm_values g4x;
1: + };
1: + u8 max_level;
1: + struct mutex wm_mutex;
1: + bool distrust_bios_wm;
1: + } wm;
1: + struct dram_info dram_info;
1: + struct intel_bw_info max_bw[6];
1: + struct drm_private_obj bw_obj;
1: + struct intel_runtime_pm runtime_pm;
1: + struct i915_perf perf;
1: + struct intel_gt gt;
1: + struct {
1: + struct notifier_block pm_notifier;
1: + struct i915_gem_contexts contexts;
1: + } gem;
1: + u8 pch_ssc_use;
1: + u8 vblank_enabled;
1: + bool chv_phy_assert[2];
1: + bool ipc_enabled;
1: + struct intel_encoder *av_enc_map[4];
1: + struct {
1: + struct platform_device *platdev;
1: + int irq;
1: + } lpe_audio;
1: + struct i915_pmu pmu;
1: + struct i915_hdcp_comp_master *hdcp_master;
1: + bool hdcp_comp_added;
1: + struct mutex hdcp_comp_mutex;
1: +};
1: +
1: +struct i915_power_well_desc;
1: +
1: +struct i915_power_well {
1: + const struct i915_power_well_desc *desc;
1: + int count;
1: + bool hw_enabled;
1: +};
1: +
1: +struct i915_power_well_regs {
1: + i915_reg_t bios;
1: + i915_reg_t driver;
1: + i915_reg_t kvmr;
1: + i915_reg_t debug;
1: +};
1: +
1: +struct i915_power_well_desc {
1: + const char *name;
1: + bool always_on;
1: + u64 domains;
1: + enum i915_power_well_id id;
1: + union {
1: + struct {
1: + u8 idx;
1: + } vlv;
1: + struct {
1: + enum dpio_phy phy;
1: + } bxt;
1: + struct {
1: + const struct i915_power_well_regs *regs;
1: + u8 idx;
1: + u8 irq_pipe_mask;
1: + bool has_vga: 1;
1: + bool has_fuses: 1;
1: + bool is_tc_tbt: 1;
1: + } hsw;
1: + };
1: + const struct i915_power_well_ops *ops;
1: +};
1: +
1: +enum intel_dpll_id {
1: + DPLL_ID_PRIVATE = -1,
1: + DPLL_ID_PCH_PLL_A = 0,
1: + DPLL_ID_PCH_PLL_B = 1,
1: + DPLL_ID_WRPLL1 = 0,
1: + DPLL_ID_WRPLL2 = 1,
1: + DPLL_ID_SPLL = 2,
1: + DPLL_ID_LCPLL_810 = 3,
1: + DPLL_ID_LCPLL_1350 = 4,
1: + DPLL_ID_LCPLL_2700 = 5,
1: + DPLL_ID_SKL_DPLL0 = 0,
1: + DPLL_ID_SKL_DPLL1 = 1,
1: + DPLL_ID_SKL_DPLL2 = 2,
1: + DPLL_ID_SKL_DPLL3 = 3,
1: + DPLL_ID_ICL_DPLL0 = 0,
1: + DPLL_ID_ICL_DPLL1 = 1,
1: + DPLL_ID_EHL_DPLL4 = 2,
1: + DPLL_ID_ICL_TBTPLL = 2,
1: + DPLL_ID_ICL_MGPLL1 = 3,
1: + DPLL_ID_ICL_MGPLL2 = 4,
1: + DPLL_ID_ICL_MGPLL3 = 5,
1: + DPLL_ID_ICL_MGPLL4 = 6,
1: + DPLL_ID_TGL_MGPLL5 = 7,
1: + DPLL_ID_TGL_MGPLL6 = 8,
1: +};
1: +
1: +enum icl_port_dpll_id {
1: + ICL_PORT_DPLL_DEFAULT = 0,
1: + ICL_PORT_DPLL_MG_PHY = 1,
1: + ICL_PORT_DPLL_COUNT = 2,
1: +};
1: +
1: +struct intel_shared_dpll_funcs {
1: + void (*prepare)(struct drm_i915_private *, struct intel_shared_dpll *);
1: + void (*enable)(struct drm_i915_private *, struct intel_shared_dpll *);
1: + void (*disable)(struct drm_i915_private *, struct intel_shared_dpll *);
1: + bool (*get_hw_state)(struct drm_i915_private *, struct intel_shared_dpll *, struct intel_dpll_hw_state *);
1: +};
1: +
1: +struct dpll_info {
1: + const char *name;
1: + const struct intel_shared_dpll_funcs *funcs;
1: + enum intel_dpll_id id;
1: + u32 flags;
1: +};
1: +
1: +enum dsb_id {
1: + INVALID_DSB = -1,
1: + DSB1 = 0,
1: + DSB2 = 1,
1: + DSB3 = 2,
1: + MAX_DSB_PER_PIPE = 3,
1: +};
1: +
1: +struct intel_dsb {
1: + atomic_t refcount;
1: + enum dsb_id id;
1: + u32 *cmd_buf;
1: + struct i915_vma *vma;
1: + int free_pos;
1: + u32 ins_start_offset;
1: +};
1: +
1: +struct i915_page_sizes {
1: + unsigned int phys;
1: + unsigned int sg;
1: + unsigned int gtt;
1: +};
1: +
1: +struct i915_active_fence {
1: + struct dma_fence *fence;
1: + struct dma_fence_cb cb;
1: +};
1: +
1: +struct active_node;
1: +
1: +struct i915_active {
1: + atomic_t count;
1: + struct mutex mutex;
1: + spinlock_t tree_lock;
1: + struct active_node *cache;
1: + struct rb_root tree;
1: + struct i915_active_fence excl;
1: + long unsigned int flags;
1: + int (*active)(struct i915_active *);
1: + void (*retire)(struct i915_active *);
1: + struct work_struct work;
1: + struct llist_head preallocated_barriers;
1: +};
1: +
1: +enum i915_ggtt_view_type {
1: + I915_GGTT_VIEW_NORMAL = 0,
1: + I915_GGTT_VIEW_ROTATED = 32,
1: + I915_GGTT_VIEW_PARTIAL = 12,
1: + I915_GGTT_VIEW_REMAPPED = 36,
1: +};
1: +
1: +struct intel_partial_info {
1: + u64 offset;
1: + unsigned int size;
1: +} __attribute__((packed));
1: +
1: +struct intel_remapped_plane_info {
1: + unsigned int width;
1: + unsigned int height;
1: + unsigned int stride;
1: + unsigned int offset;
1: +};
1: +
1: +struct intel_rotation_info {
1: + struct intel_remapped_plane_info plane[2];
1: +};
1: +
1: +struct intel_remapped_info {
1: + struct intel_remapped_plane_info plane[2];
1: + unsigned int unused_mbz;
1: +};
1: +
1: +struct i915_ggtt_view {
1: + enum i915_ggtt_view_type type;
1: + union {
1: + struct intel_partial_info partial;
1: + struct intel_rotation_info rotated;
1: + struct intel_remapped_info remapped;
1: + };
1: +} __attribute__((packed));
1: +
1: +struct i915_vma {
1: + struct drm_mm_node node;
1: + struct drm_i915_gem_object *obj;
1: + struct i915_address_space *vm;
1: + const struct i915_vma_ops *ops;
1: + struct i915_fence_reg *fence;
1: + struct dma_resv *resv;
1: + struct sg_table *pages;
1: + void *iomap;
1: + void *private;
1: + u64 size;
1: + u64 display_alignment;
1: + struct i915_page_sizes page_sizes;
1: + u32 fence_size;
1: + u32 fence_alignment;
1: + atomic_t open_count;
1: + atomic_t flags;
1: + struct i915_active active;
1: + atomic_t pages_count;
1: + struct mutex pages_mutex;
1: + struct i915_ggtt_view ggtt_view;
1: + struct list_head vm_link;
1: + struct list_head obj_link;
1: + struct rb_node obj_node;
1: + struct hlist_node obj_hash;
1: + struct list_head exec_link;
1: + struct list_head reloc_link;
1: + struct list_head evict_link;
1: + struct list_head closed_link;
1: + unsigned int *exec_flags;
1: + struct hlist_node exec_node;
1: + u32 exec_handle;
1: +};
1: +
1: +enum {
1: + __I915_SAMPLE_FREQ_ACT = 0,
1: + __I915_SAMPLE_FREQ_REQ = 1,
1: + __I915_SAMPLE_RC6 = 2,
1: + __I915_SAMPLE_RC6_LAST_REPORTED = 3,
1: + __I915_NUM_PMU_SAMPLERS = 4,
1: +};
1: +
1: +struct i915_priolist {
1: + struct list_head requests[4];
1: + struct rb_node node;
1: + long unsigned int used;
1: + int priority;
1: +};
1: +
1: +struct intel_engine_pool {
1: + spinlock_t lock;
1: + struct list_head cache_list[4];
1: +};
1: +
1: +struct i915_gem_object_page_iter {
1: + struct scatterlist *sg_pos;
1: + unsigned int sg_idx;
1: + struct xarray radix;
1: + struct mutex lock;
1: +};
1: +
1: +struct i915_mm_struct;
1: +
1: +struct i915_mmu_object;
1: +
1: +struct i915_gem_userptr {
1: + uintptr_t ptr;
1: + struct i915_mm_struct *mm;
1: + struct i915_mmu_object *mmu_object;
1: + struct work_struct *work;
1: +};
1: +
1: +struct drm_i915_gem_object_ops;
1: +
1: +struct intel_frontbuffer;
1: +
1: +struct drm_i915_gem_object {
1: + struct drm_gem_object base;
1: + const struct drm_i915_gem_object_ops *ops;
1: + struct {
1: + spinlock_t lock;
1: + struct list_head list;
1: + struct rb_root tree;
1: + } vma;
1: + struct list_head lut_list;
1: + struct drm_mm_node *stolen;
1: + union {
1: + struct callback_head rcu;
1: + struct llist_node freed;
1: + };
1: + unsigned int userfault_count;
1: + struct list_head userfault_link;
1: + long unsigned int flags;
1: + unsigned int cache_level: 3;
1: + unsigned int cache_coherent: 2;
1: + unsigned int cache_dirty: 1;
1: + u16 read_domains;
1: + u16 write_domain;
1: + struct intel_frontbuffer *frontbuffer;
1: + unsigned int tiling_and_stride;
1: + atomic_t bind_count;
1: + struct {
1: + struct mutex lock;
1: + atomic_t pages_pin_count;
1: + atomic_t shrink_pin;
1: + struct intel_memory_region *region;
1: + struct list_head blocks;
1: + struct list_head region_link;
1: + struct sg_table *pages;
1: + void *mapping;
1: + struct i915_page_sizes page_sizes;
1: + struct i915_gem_object_page_iter get_page;
1: + struct list_head link;
1: + unsigned int madv: 2;
1: + bool dirty: 1;
1: + bool quirked: 1;
1: + } mm;
1: + long unsigned int *bit_17;
1: + union {
1: + struct i915_gem_userptr userptr;
1: + long unsigned int scratch;
1: + void *gvt_info;
1: + };
1: + struct drm_dma_handle *phys_handle;
1: +};
1: +
1: +struct intel_sseu {
1: + u8 slice_mask;
1: + u8 subslice_mask;
1: + u8 min_eus_per_subslice;
1: + u8 max_eus_per_subslice;
1: +};
1: +
1: +struct i915_syncmap;
1: +
1: +struct intel_timeline_cacheline;
1: +
1: +struct intel_timeline {
1: + u64 fence_context;
1: + u32 seqno;
1: + struct mutex mutex;
1: + atomic_t pin_count;
1: + atomic_t active_count;
1: + const u32 *hwsp_seqno;
1: + struct i915_vma *hwsp_ggtt;
1: + u32 hwsp_offset;
1: + struct intel_timeline_cacheline *hwsp_cacheline;
1: + bool has_initial_breadcrumb;
1: + struct list_head requests;
1: + struct i915_active_fence last_request;
1: + struct intel_timeline *retire;
1: + struct i915_syncmap *sync;
1: + struct list_head link;
1: + struct intel_gt *gt;
1: + struct kref kref;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct i915_wa {
1: + i915_reg_t reg;
1: + u32 mask;
1: + u32 val;
1: + u32 read;
1: +};
1: +
1: +struct intel_hw_status_page {
1: + struct i915_vma *vma;
1: + u32 *addr;
1: +};
1: +
1: +struct intel_instdone {
1: + u32 instdone;
1: + u32 slice_common;
1: + u32 sampler[24];
1: + u32 row[24];
1: +};
1: +
1: +struct i915_wa_ctx_bb {
1: + u32 offset;
1: + u32 size;
1: +};
1: +
1: +struct i915_ctx_workarounds {
1: + struct i915_wa_ctx_bb indirect_ctx;
1: + struct i915_wa_ctx_bb per_ctx;
1: + struct i915_vma *vma;
1: +};
1: +
1: +enum intel_engine_id {
1: + RCS0 = 0,
1: + BCS0 = 1,
1: + VCS0 = 2,
1: + VCS1 = 3,
1: + VCS2 = 4,
1: + VCS3 = 5,
1: + VECS0 = 6,
1: + VECS1 = 7,
1: + I915_NUM_ENGINES = 8,
1: +};
1: +
1: +struct i915_request;
1: +
1: +struct intel_engine_execlists {
1: + struct tasklet_struct tasklet;
1: + struct timer_list timer;
1: + struct timer_list preempt;
1: + struct i915_priolist default_priolist;
1: + bool no_priolist;
1: + u32 *submit_reg;
1: + u32 *ctrl_reg;
1: + struct i915_request * const *active;
1: + struct i915_request *inflight[3];
1: + struct i915_request *pending[3];
1: + unsigned int port_mask;
1: + int switch_priority_hint;
1: + int queue_priority_hint;
1: + struct rb_root_cached queue;
1: + struct rb_root_cached virtual;
1: + u32 *csb_write;
1: + u32 *csb_status;
1: + u8 csb_size;
1: + u8 csb_head;
1: +};
1: +
1: +struct i915_sw_fence {
1: + wait_queue_head_t wait;
1: + long unsigned int flags;
1: + atomic_t pending;
1: + int error;
1: +};
1: +
1: +struct i915_sw_dma_fence_cb {
1: + struct dma_fence_cb base;
1: + struct i915_sw_fence *fence;
1: +};
1: +
1: +struct i915_sched_attr {
1: + int priority;
1: +};
1: +
1: +struct i915_sched_node {
1: + struct list_head signalers_list;
1: + struct list_head waiters_list;
1: + struct list_head link;
1: + struct i915_sched_attr attr;
1: + unsigned int flags;
1: + intel_engine_mask_t semaphores;
1: +};
1: +
1: +struct i915_dependency {
1: + struct i915_sched_node *signaler;
1: + struct i915_sched_node *waiter;
1: + struct list_head signal_link;
1: + struct list_head wait_link;
1: + struct list_head dfs_link;
1: + long unsigned int flags;
1: +};
1: +
1: +struct intel_context;
1: +
1: +struct intel_ring;
1: +
1: +struct i915_capture_list;
1: +
1: +struct i915_request {
1: + struct dma_fence fence;
1: + spinlock_t lock;
1: + struct drm_i915_private *i915;
1: + struct i915_gem_context *gem_context;
1: + struct intel_engine_cs *engine;
1: + struct intel_context *hw_context;
1: + struct intel_ring *ring;
1: + struct intel_timeline *timeline;
1: + struct list_head signal_link;
1: + long unsigned int rcustate;
1: + struct pin_cookie cookie;
1: + struct i915_sw_fence submit;
1: + union {
1: + wait_queue_entry_t submitq;
1: + struct i915_sw_dma_fence_cb dmaq;
1: + };
1: + struct list_head execute_cb;
1: + struct i915_sw_fence semaphore;
1: + struct i915_sched_node sched;
1: + struct i915_dependency dep;
1: + intel_engine_mask_t execution_mask;
1: + const u32 *hwsp_seqno;
1: + struct intel_timeline_cacheline *hwsp_cacheline;
1: + u32 head;
1: + u32 infix;
1: + u32 postfix;
1: + u32 tail;
1: + u32 wa_tail;
1: + u32 reserved_space;
1: + struct i915_vma *batch;
1: + struct i915_capture_list *capture_list;
1: + long unsigned int emitted_jiffies;
1: + long unsigned int flags;
1: + struct list_head link;
1: + struct drm_i915_file_private *file_priv;
1: + struct list_head client_link;
1: +};
1: +
1: +struct intel_ring {
1: + struct kref ref;
1: + struct i915_vma *vma;
1: + void *vaddr;
1: + atomic_t pin_count;
1: + u32 head;
1: + u32 tail;
1: + u32 emit;
1: + u32 space;
1: + u32 size;
1: + u32 effective_size;
1: +};
1: +
1: +struct intel_breadcrumbs {
1: + spinlock_t irq_lock;
1: + struct list_head signalers;
1: + struct irq_work irq_work;
1: + unsigned int irq_enabled;
1: + bool irq_armed;
1: +};
1: +
1: +struct intel_engine_pmu {
1: + u32 enable;
1: + unsigned int enable_count[3];
1: + struct i915_pmu_sample sample[3];
1: +};
1: +
1: +struct intel_context_ops;
1: +
1: +struct drm_i915_reg_table;
1: +
1: +struct intel_engine_cs {
1: + struct drm_i915_private *i915;
1: + struct intel_gt *gt;
1: + struct intel_uncore *uncore;
1: + char name[8];
1: + enum intel_engine_id id;
1: + enum intel_engine_id legacy_idx;
1: + unsigned int hw_id;
1: + unsigned int guc_id;
1: + intel_engine_mask_t mask;
1: + u8 class;
1: + u8 instance;
1: + u16 uabi_class;
1: + u16 uabi_instance;
1: + u32 uabi_capabilities;
1: + u32 context_size;
1: + u32 mmio_base;
1: + unsigned int context_tag;
1: + struct rb_node uabi_node;
1: + struct intel_sseu sseu;
1: + struct {
1: + spinlock_t lock;
1: + struct list_head requests;
1: + } active;
1: + struct llist_head barrier_tasks;
1: + struct intel_context *kernel_context;
1: + intel_engine_mask_t saturated;
1: + struct {
1: + struct delayed_work work;
1: + struct i915_request *systole;
1: + } heartbeat;
1: + long unsigned int serial;
1: + long unsigned int wakeref_serial;
1: + struct intel_wakeref wakeref;
1: + struct drm_i915_gem_object *default_state;
1: + void *pinned_default_state;
1: + struct {
1: + struct intel_ring *ring;
1: + struct intel_timeline *timeline;
1: + } legacy;
1: + struct intel_breadcrumbs breadcrumbs;
1: + struct intel_engine_pmu pmu;
1: + struct intel_engine_pool pool;
1: + struct intel_hw_status_page status_page;
1: + struct i915_ctx_workarounds wa_ctx;
1: + struct i915_wa_list ctx_wa_list;
1: + struct i915_wa_list wa_list;
1: + struct i915_wa_list whitelist;
1: + u32 irq_keep_mask;
1: + u32 irq_enable_mask;
1: + void (*irq_enable)(struct intel_engine_cs *);
1: + void (*irq_disable)(struct intel_engine_cs *);
1: + int (*resume)(struct intel_engine_cs *);
1: + struct {
1: + void (*prepare)(struct intel_engine_cs *);
1: + void (*reset)(struct intel_engine_cs *, bool);
1: + void (*finish)(struct intel_engine_cs *);
1: + } reset;
1: + void (*park)(struct intel_engine_cs *);
1: + void (*unpark)(struct intel_engine_cs *);
1: + void (*set_default_submission)(struct intel_engine_cs *);
1: + const struct intel_context_ops *cops;
1: + int (*request_alloc)(struct i915_request *);
1: + int (*emit_flush)(struct i915_request *, u32);
1: + int (*emit_bb_start)(struct i915_request *, u64, u32, unsigned int);
1: + int (*emit_init_breadcrumb)(struct i915_request *);
1: + u32 * (*emit_fini_breadcrumb)(struct i915_request *, u32 *);
1: + unsigned int emit_fini_breadcrumb_dw;
1: + void (*submit_request)(struct i915_request *);
1: + void (*bond_execute)(struct i915_request *, struct dma_fence *);
1: + void (*schedule)(struct i915_request *, const struct i915_sched_attr *);
1: + void (*cancel_requests)(struct intel_engine_cs *);
1: + void (*destroy)(struct intel_engine_cs *);
1: + struct intel_engine_execlists execlists;
1: + struct intel_timeline *retire;
1: + struct work_struct retire_work;
1: + struct atomic_notifier_head context_status_notifier;
1: + unsigned int flags;
1: + struct hlist_head cmd_hash[512];
1: + const struct drm_i915_reg_table *reg_tables;
1: + int reg_table_count;
1: + u32 (*get_cmd_length_mask)(u32);
1: + struct {
1: + seqlock_t lock;
1: + unsigned int enabled;
1: + unsigned int active;
1: + ktime_t enabled_at;
1: + ktime_t start;
1: + ktime_t total;
1: + } stats;
1: + struct {
1: + long unsigned int heartbeat_interval_ms;
1: + long unsigned int preempt_timeout_ms;
1: + long unsigned int stop_timeout_ms;
1: + long unsigned int timeslice_duration_ms;
1: + } props;
1: +};
1: +
1: +struct intel_context {
1: + struct kref ref;
1: + struct intel_engine_cs *engine;
1: + struct intel_engine_cs *inflight;
1: + struct i915_address_space *vm;
1: + struct i915_gem_context *gem_context;
1: + struct list_head signal_link;
1: + struct list_head signals;
1: + struct i915_vma *state;
1: + struct intel_ring *ring;
1: + struct intel_timeline *timeline;
1: + long unsigned int flags;
1: + u32 *lrc_reg_state;
1: + u64 lrc_desc;
1: + u32 tag;
1: + unsigned int active_count;
1: + atomic_t pin_count;
1: + struct mutex pin_mutex;
1: + struct i915_active active;
1: + const struct intel_context_ops *ops;
1: + struct intel_sseu sseu;
1: +};
1: +
1: +struct intel_context_ops {
1: + int (*alloc)(struct intel_context *);
1: + int (*pin)(struct intel_context *);
1: + void (*unpin)(struct intel_context *);
1: + void (*enter)(struct intel_context *);
1: + void (*exit)(struct intel_context *);
1: + void (*reset)(struct intel_context *);
1: + void (*destroy)(struct kref *);
1: +};
1: +
1: +struct drm_i915_reg_descriptor;
1: +
1: +struct drm_i915_reg_table {
1: + const struct drm_i915_reg_descriptor *regs;
1: + int num_regs;
1: +};
1: +
1: +struct i915_gem_engines;
1: +
1: +struct i915_gem_context {
1: + struct drm_i915_private *i915;
1: + struct drm_i915_file_private *file_priv;
1: + struct i915_gem_engines *engines;
1: + struct mutex engines_mutex;
1: + struct intel_timeline *timeline;
1: + struct i915_address_space *vm;
1: + struct pid *pid;
1: + const char *name;
1: + struct list_head link;
1: + struct llist_node free_link;
1: + struct kref ref;
1: + struct callback_head rcu;
1: + long unsigned int user_flags;
1: + long unsigned int flags;
1: + struct mutex mutex;
1: + struct i915_sched_attr sched;
1: + atomic_t guilty_count;
1: + atomic_t active_count;
1: + long unsigned int hang_timestamp[2];
1: + u8 remap_slice;
1: + struct xarray handles_vma;
1: + long unsigned int *jump_whitelist;
1: + u32 jump_whitelist_cmds;
1: +};
1: +
1: +struct i915_capture_list {
1: + struct i915_capture_list *next;
1: + struct i915_vma *vma;
1: +};
1: +
1: +struct drm_i915_file_private {
1: + struct drm_i915_private *dev_priv;
1: + union {
1: + struct drm_file *file;
1: + struct callback_head rcu;
1: + };
1: + struct {
1: + spinlock_t lock;
1: + struct list_head request_list;
1: + } mm;
1: + struct idr context_idr;
1: + struct mutex context_idr_lock;
1: + struct idr vm_idr;
1: + struct mutex vm_idr_lock;
1: + unsigned int bsd_engine;
1: + atomic_t ban_score;
1: + long unsigned int hang_timestamp;
1: +};
1: +
1: +struct drm_i915_gem_object_ops {
1: + unsigned int flags;
1: + int (*get_pages)(struct drm_i915_gem_object *);
1: + void (*put_pages)(struct drm_i915_gem_object *, struct sg_table *);
1: + void (*truncate)(struct drm_i915_gem_object *);
1: + void (*writeback)(struct drm_i915_gem_object *);
1: + int (*pwrite)(struct drm_i915_gem_object *, const struct drm_i915_gem_pwrite *);
1: + int (*dmabuf_export)(struct drm_i915_gem_object *);
1: + void (*release)(struct drm_i915_gem_object *);
1: +};
1: +
1: +struct i915_buddy_block;
1: +
1: +struct i915_buddy_mm {
1: + struct list_head *free_list;
1: + struct i915_buddy_block **roots;
1: + unsigned int n_roots;
1: + unsigned int max_order;
1: + u64 chunk_size;
1: + u64 size;
1: +};
1: +
1: +struct intel_memory_region_ops;
1: +
1: +struct intel_memory_region {
1: + struct drm_i915_private *i915;
1: + const struct intel_memory_region_ops *ops;
1: + struct io_mapping iomap;
1: + struct resource region;
1: + struct drm_mm_node fake_mappable;
1: + struct i915_buddy_mm mm;
1: + struct mutex mm_lock;
1: + struct kref kref;
1: + resource_size_t io_start;
1: + resource_size_t min_page_size;
1: + unsigned int type;
1: + unsigned int instance;
1: + unsigned int id;
1: + dma_addr_t remap_addr;
1: + struct {
1: + struct mutex lock;
1: + struct list_head list;
1: + struct list_head purgeable;
1: + } objects;
1: +};
1: +
1: +struct intel_frontbuffer {
1: + struct kref ref;
1: + atomic_t bits;
1: + struct i915_active write;
1: + struct drm_i915_gem_object *obj;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct i915_gem_engines {
1: + struct callback_head rcu;
1: + unsigned int num_engines;
1: + struct intel_context *engines[0];
1: +};
1: +
1: +enum forcewake_domain_id {
1: + FW_DOMAIN_ID_RENDER = 0,
1: + FW_DOMAIN_ID_BLITTER = 1,
1: + FW_DOMAIN_ID_MEDIA = 2,
1: + FW_DOMAIN_ID_MEDIA_VDBOX0 = 3,
1: + FW_DOMAIN_ID_MEDIA_VDBOX1 = 4,
1: + FW_DOMAIN_ID_MEDIA_VDBOX2 = 5,
1: + FW_DOMAIN_ID_MEDIA_VDBOX3 = 6,
1: + FW_DOMAIN_ID_MEDIA_VEBOX0 = 7,
1: + FW_DOMAIN_ID_MEDIA_VEBOX1 = 8,
1: + FW_DOMAIN_ID_COUNT = 9,
1: +};
1: +
1: +struct intel_forcewake_range {
1: + u32 start;
1: + u32 end;
1: + enum forcewake_domains domains;
1: +};
1: +
1: +struct intel_uncore_forcewake_domain {
1: + struct intel_uncore *uncore;
1: + enum forcewake_domain_id id;
1: + enum forcewake_domains mask;
1: + unsigned int wake_count;
1: + bool active;
1: + struct hrtimer timer;
1: + u32 *reg_set;
1: + u32 *reg_ack;
1: +};
1: +
1: +struct guc_ct_buffer_desc {
1: + u32 addr;
1: + u64 host_private;
1: + u32 size;
1: + u32 head;
1: + u32 tail;
1: + u32 is_in_error;
1: + u32 fence;
1: + u32 status;
1: + u32 owner;
1: + u32 owner_sub_id;
1: + u32 reserved[5];
1: +} __attribute__((packed));
1: +
1: +enum guc_log_buffer_type {
1: + GUC_ISR_LOG_BUFFER = 0,
1: + GUC_DPC_LOG_BUFFER = 1,
1: + GUC_CRASH_DUMP_LOG_BUFFER = 2,
1: + GUC_MAX_LOG_BUFFER = 3,
1: +};
1: +
1: +struct i915_page_table {
1: + struct i915_page_dma base;
1: + atomic_t used;
1: +};
1: +
1: +struct i915_page_directory {
1: + struct i915_page_table pt;
1: + spinlock_t lock;
1: + void *entry[512];
1: +};
1: +
1: +struct i915_ppgtt {
1: + struct i915_address_space vm;
1: + struct i915_page_directory *pd;
1: +};
1: +
1: +struct i915_buddy_block {
1: + u64 header;
1: + struct i915_buddy_block *left;
1: + struct i915_buddy_block *right;
1: + struct i915_buddy_block *parent;
1: + void *private;
1: + struct list_head link;
1: + struct list_head tmp_link;
1: +};
1: +
1: +enum intel_region_id {
1: + INTEL_REGION_SMEM = 0,
1: + INTEL_REGION_LMEM = 1,
1: + INTEL_REGION_STOLEN = 2,
1: + INTEL_REGION_UNKNOWN = 3,
1: +};
1: +
1: +struct intel_memory_region_ops {
1: + unsigned int flags;
1: + int (*init)(struct intel_memory_region *);
1: + void (*release)(struct intel_memory_region *);
1: + struct drm_i915_gem_object * (*create_object)(struct intel_memory_region *, resource_size_t, unsigned int);
1: +};
1: +
1: +struct drm_i915_error_object;
1: +
1: +struct i915_error_uc {
1: + struct intel_uc_fw guc_fw;
1: + struct intel_uc_fw huc_fw;
1: + struct drm_i915_error_object *guc_log;
1: +};
1: +
1: +struct drm_i915_error_object {
1: + u64 gtt_offset;
1: + u64 gtt_size;
1: + u32 gtt_page_sizes;
1: + int num_pages;
1: + int page_count;
1: + int unused;
1: + u32 *pages[0];
1: +};
1: +
1: +struct drm_i915_error_context {
1: + char comm[16];
1: + pid_t pid;
1: + int active;
1: + int guilty;
1: + struct i915_sched_attr sched_attr;
1: +};
1: +
1: +struct drm_i915_error_request {
1: + long unsigned int flags;
1: + long int jiffies;
1: + pid_t pid;
1: + u32 context;
1: + u32 seqno;
1: + u32 start;
1: + u32 head;
1: + u32 tail;
1: + struct i915_sched_attr sched_attr;
1: +};
1: +
1: +struct drm_i915_error_engine {
1: + const struct intel_engine_cs *engine;
1: + bool idle;
1: + int num_requests;
1: + u32 reset_count;
1: + u32 rq_head;
1: + u32 rq_post;
1: + u32 rq_tail;
1: + u32 cpu_ring_head;
1: + u32 cpu_ring_tail;
1: + u32 start;
1: + u32 tail;
1: + u32 head;
1: + u32 ctl;
1: + u32 mode;
1: + u32 hws;
1: + u32 ipeir;
1: + u32 ipehr;
1: + u32 bbstate;
1: + u32 instpm;
1: + u32 instps;
1: + u64 bbaddr;
1: + u64 acthd;
1: + u32 fault_reg;
1: + u64 faddr;
1: + u32 rc_psmi;
1: + struct intel_instdone instdone;
1: + struct drm_i915_error_context context;
1: + struct drm_i915_error_object *ringbuffer;
1: + struct drm_i915_error_object *batchbuffer;
1: + struct drm_i915_error_object *wa_batchbuffer;
1: + struct drm_i915_error_object *ctx;
1: + struct drm_i915_error_object *hws_page;
1: + struct drm_i915_error_object **user_bo;
1: + long int user_bo_count;
1: + struct drm_i915_error_object *wa_ctx;
1: + struct drm_i915_error_object *default_state;
1: + struct drm_i915_error_request *requests;
1: + struct drm_i915_error_request execlist[2];
1: + unsigned int num_ports;
1: + struct {
1: + u32 gfx_mode;
1: + union {
1: + u64 pdp[4];
1: + u32 pp_dir_base;
1: + };
1: + } vm_info;
1: + struct drm_i915_error_engine *next;
1: +};
1: +
1: +struct intel_overlay_error_state;
1: +
1: +struct intel_display_error_state;
1: +
1: +struct i915_gpu_state {
1: + struct kref ref;
1: + ktime_t time;
1: + ktime_t boottime;
1: + ktime_t uptime;
1: + long unsigned int capture;
1: + struct drm_i915_private *i915;
1: + char error_msg[128];
1: + bool simulated;
1: + bool awake;
1: + bool wakelock;
1: + bool suspended;
1: + int iommu;
1: + u32 reset_count;
1: + u32 suspend_count;
1: + struct intel_device_info device_info;
1: + struct intel_runtime_info runtime_info;
1: + struct intel_driver_caps driver_caps;
1: + struct i915_params params;
1: + struct i915_error_uc uc;
1: + u32 eir;
1: + u32 pgtbl_er;
1: + u32 ier;
1: + u32 gtier[6];
1: + u32 ngtier;
1: + u32 ccid;
1: + u32 derrmr;
1: + u32 forcewake;
1: + u32 error;
1: + u32 err_int;
1: + u32 fault_data0;
1: + u32 fault_data1;
1: + u32 done_reg;
1: + u32 gac_eco;
1: + u32 gam_ecochk;
1: + u32 gab_ctl;
1: + u32 gfx_mode;
1: + u32 gtt_cache;
1: + u32 aux_err;
1: + u32 sfc_done[4];
1: + u32 gam_done;
1: + u32 nfence;
1: + u64 fence[32];
1: + struct intel_overlay_error_state *overlay;
1: + struct intel_display_error_state *display;
1: + struct drm_i915_error_engine *engine;
1: + struct scatterlist *sgl;
1: + struct scatterlist *fit;
1: +};
1: +
1: +struct i915_oa_format {
1: + u32 format;
1: + int size;
1: +};
1: +
1: +struct i915_oa_reg {
1: + i915_reg_t addr;
1: + u32 value;
1: +};
1: +
1: +struct i915_perf_stream_ops {
1: + void (*enable)(struct i915_perf_stream *);
1: + void (*disable)(struct i915_perf_stream *);
1: + void (*poll_wait)(struct i915_perf_stream *, struct file *, poll_table *);
1: + int (*wait_unlocked)(struct i915_perf_stream *);
1: + int (*read)(struct i915_perf_stream *, char *, size_t, size_t *);
1: + void (*destroy)(struct i915_perf_stream *);
1: +};
1: +
1: +struct i915_perf_stream {
1: + struct i915_perf *perf;
1: + struct intel_uncore *uncore;
1: + struct intel_engine_cs *engine;
1: + u32 sample_flags;
1: + int sample_size;
1: + struct i915_gem_context *ctx;
1: + bool enabled;
1: + bool hold_preemption;
1: + const struct i915_perf_stream_ops *ops;
1: + struct i915_oa_config *oa_config;
1: + struct llist_head oa_config_bos;
1: + struct intel_context *pinned_ctx;
1: + u32 specific_ctx_id;
1: + u32 specific_ctx_id_mask;
1: + struct hrtimer poll_check_timer;
1: + wait_queue_head_t poll_wq;
1: + bool pollin;
1: + bool periodic;
1: + int period_exponent;
1: + struct {
1: + struct i915_vma *vma;
1: + u8 *vaddr;
1: + u32 last_ctx_id;
1: + int format;
1: + int format_size;
1: + int size_exponent;
1: + spinlock_t ptr_lock;
1: + struct {
1: + u32 offset;
1: + } tails[2];
1: + unsigned int aged_tail_idx;
1: + u64 aging_timestamp;
1: + u32 head;
1: + } oa_buffer;
1: + struct i915_vma *noa_wait;
1: +};
1: +
1: +enum hpd_pin {
1: + HPD_NONE = 0,
1: + HPD_TV = 0,
1: + HPD_CRT = 1,
1: + HPD_SDVO_B = 2,
1: + HPD_SDVO_C = 3,
1: + HPD_PORT_A = 4,
1: + HPD_PORT_B = 5,
1: + HPD_PORT_C = 6,
1: + HPD_PORT_D = 7,
1: + HPD_PORT_E = 8,
1: + HPD_PORT_F = 9,
1: + HPD_PORT_G = 10,
1: + HPD_PORT_H = 11,
1: + HPD_PORT_I = 12,
1: + HPD_NUM_PINS = 13,
1: +};
1: +
1: +struct dpll {
1: + int n;
1: + int m1;
1: + int m2;
1: + int p1;
1: + int p2;
1: + int dot;
1: + int vco;
1: + int m;
1: + int p;
1: +};
1: +
1: +struct icl_port_dpll {
1: + struct intel_shared_dpll *pll;
1: + struct intel_dpll_hw_state hw_state;
1: +};
1: +
1: +struct intel_scaler {
1: + int in_use;
1: + u32 mode;
1: +};
1: +
1: +struct intel_crtc_scaler_state {
1: + struct intel_scaler scalers[2];
1: + unsigned int scaler_users;
1: + int scaler_id;
1: +};
1: +
1: +struct intel_wm_level {
1: + bool enable;
1: + u32 pri_val;
1: + u32 spr_val;
1: + u32 cur_val;
1: + u32 fbc_val;
1: +};
1: +
1: +struct intel_pipe_wm {
1: + struct intel_wm_level wm[5];
1: + u32 linetime;
1: + bool fbc_wm_enabled;
1: + bool pipe_enabled;
1: + bool sprites_enabled;
1: + bool sprites_scaled;
1: +};
1: +
1: +struct skl_wm_level {
1: + u16 min_ddb_alloc;
1: + u16 plane_res_b;
1: + u8 plane_res_l;
1: + bool plane_en;
1: + bool ignore_lines;
1: +};
1: +
1: +struct skl_plane_wm {
1: + struct skl_wm_level wm[8];
1: + struct skl_wm_level uv_wm[8];
1: + struct skl_wm_level trans_wm;
1: + bool is_planar;
1: +};
1: +
1: +struct skl_pipe_wm {
1: + struct skl_plane_wm planes[8];
1: + u32 linetime;
1: +};
1: +
1: +struct skl_ddb_entry {
1: + u16 start;
1: + u16 end;
1: +};
1: +
1: +struct vlv_wm_state {
1: + struct g4x_pipe_wm wm[3];
1: + struct g4x_sr_wm sr[3];
1: + u8 num_levels;
1: + bool cxsr;
1: +};
1: +
1: +struct vlv_fifo_state {
1: + u16 plane[8];
1: +};
1: +
1: +struct g4x_wm_state {
1: + struct g4x_pipe_wm wm;
1: + struct g4x_sr_wm sr;
1: + struct g4x_sr_wm hpll;
1: + bool cxsr;
1: + bool hpll_en;
1: + bool fbc_en;
1: +};
1: +
1: +struct intel_crtc_wm_state {
1: + union {
1: + struct {
1: + struct intel_pipe_wm intermediate;
1: + struct intel_pipe_wm optimal;
1: + } ilk;
1: + struct {
1: + struct skl_pipe_wm optimal;
1: + struct skl_ddb_entry ddb;
1: + struct skl_ddb_entry plane_ddb_y[8];
1: + struct skl_ddb_entry plane_ddb_uv[8];
1: + } skl;
1: + struct {
1: + struct g4x_pipe_wm raw[3];
1: + struct vlv_wm_state intermediate;
1: + struct vlv_wm_state optimal;
1: + struct vlv_fifo_state fifo_state;
1: + } vlv;
1: + struct {
1: + struct g4x_pipe_wm raw[3];
1: + struct g4x_wm_state intermediate;
1: + struct g4x_wm_state optimal;
1: + } g4x;
1: + };
1: + bool need_postvbl_update;
1: +};
1: +
1: +enum intel_output_format {
1: + INTEL_OUTPUT_FORMAT_INVALID = 0,
1: + INTEL_OUTPUT_FORMAT_RGB = 1,
1: + INTEL_OUTPUT_FORMAT_YCBCR420 = 2,
1: + INTEL_OUTPUT_FORMAT_YCBCR444 = 3,
1: +};
1: +
1: +struct intel_crtc_state {
1: + struct drm_crtc_state base;
1: + long unsigned int quirks;
1: + unsigned int fb_bits;
1: + bool update_pipe;
1: + bool disable_cxsr;
1: + bool update_wm_pre;
1: + bool update_wm_post;
1: + bool fifo_changed;
1: + bool preload_luts;
1: + int pipe_src_w;
1: + int pipe_src_h;
1: + unsigned int pixel_rate;
1: + bool has_pch_encoder;
1: + bool has_infoframe;
1: + enum transcoder cpu_transcoder;
1: + bool limited_color_range;
1: + unsigned int output_types;
1: + bool has_hdmi_sink;
1: + bool has_audio;
1: + bool dither;
1: + bool dither_force_disable;
1: + bool clock_set;
1: + bool sdvo_tv_clock;
1: + bool bw_constrained;
1: + struct dpll dpll;
1: + struct intel_shared_dpll *shared_dpll;
1: + struct intel_dpll_hw_state dpll_hw_state;
1: + struct icl_port_dpll icl_port_dplls[2];
1: + struct {
1: + u32 ctrl;
1: + u32 div;
1: + } dsi_pll;
1: + int pipe_bpp;
1: + struct intel_link_m_n dp_m_n;
1: + struct intel_link_m_n dp_m2_n2;
1: + bool has_drrs;
1: + bool has_psr;
1: + bool has_psr2;
1: + u32 dc3co_exitline;
1: + int port_clock;
1: + unsigned int pixel_multiplier;
1: + u8 lane_count;
1: + u8 lane_lat_optim_mask;
1: + u8 min_voltage_level;
1: + struct {
1: + u32 control;
1: + u32 pgm_ratios;
1: + u32 lvds_border_bits;
1: + } gmch_pfit;
1: + struct {
1: + u32 pos;
1: + u32 size;
1: + bool enabled;
1: + bool force_thru;
1: + } pch_pfit;
1: + int fdi_lanes;
1: + struct intel_link_m_n fdi_m_n;
1: + bool ips_enabled;
1: + bool crc_enabled;
1: + bool enable_fbc;
1: + bool double_wide;
1: + int pbn;
1: + struct intel_crtc_scaler_state scaler_state;
1: + enum pipe hsw_workaround_pipe;
1: + bool disable_lp_wm;
1: + struct intel_crtc_wm_state wm;
1: + int min_cdclk[8];
1: + u32 data_rate[8];
1: + u32 gamma_mode;
1: + union {
1: + u32 csc_mode;
1: + u32 cgm_mode;
1: + };
1: + u8 active_planes;
1: + u8 nv12_planes;
1: + u8 c8_planes;
1: + u8 update_planes;
1: + struct {
1: + u32 enable;
1: + u32 gcp;
1: + union hdmi_infoframe avi;
1: + union hdmi_infoframe spd;
1: + union hdmi_infoframe hdmi;
1: + union hdmi_infoframe drm;
1: + } infoframes;
1: + bool hdmi_scrambling;
1: + bool hdmi_high_tmds_clock_ratio;
1: + enum intel_output_format output_format;
1: + bool lspcon_downsampling;
1: + bool gamma_enable;
1: + bool csc_enable;
1: + struct {
1: + bool compression_enable;
1: + bool dsc_split;
1: + u16 compressed_bpp;
1: + u8 slice_count;
1: + struct drm_dsc_config config;
1: + } dsc;
1: + bool fec_enable;
1: + enum transcoder master_transcoder;
1: + u8 sync_mode_slaves_mask;
1: +};
1: +
1: +struct intel_atomic_state {
1: + struct drm_atomic_state base;
1: + intel_wakeref_t wakeref;
1: + struct {
1: + struct intel_cdclk_state logical;
1: + struct intel_cdclk_state actual;
1: + int force_min_cdclk;
1: + bool force_min_cdclk_changed;
1: + enum pipe pipe;
1: + } cdclk;
1: + bool dpll_set;
1: + bool modeset;
1: + u8 active_pipe_changes;
1: + u8 active_pipes;
1: + int min_cdclk[4];
1: + u8 min_voltage_level[4];
1: + struct intel_shared_dpll_state shared_dpll[9];
1: + bool skip_intermediate_wm;
1: + bool rps_interactive;
1: + bool global_state_changed;
1: + struct skl_ddb_values wm_results;
1: + struct i915_sw_fence commit_ready;
1: + struct llist_node freed;
1: +};
1: +
1: +struct intel_crtc {
1: + struct drm_crtc base;
1: + enum pipe pipe;
1: + bool active;
1: + u8 plane_ids_mask;
1: + long long unsigned int enabled_power_domains;
1: + struct intel_overlay *overlay;
1: + struct intel_crtc_state *config;
1: + bool cpu_fifo_underrun_disabled;
1: + bool pch_fifo_underrun_disabled;
1: + struct {
1: + union {
1: + struct intel_pipe_wm ilk;
1: + struct vlv_wm_state vlv;
1: + struct g4x_wm_state g4x;
1: + } active;
1: + } wm;
1: + int scanline_offset;
1: + struct {
1: + unsigned int start_vbl_count;
1: + ktime_t start_vbl_time;
1: + int min_vbl;
1: + int max_vbl;
1: + int scanline_start;
1: + } debug;
1: + int num_scalers;
1: + struct intel_dsb dsb;
1: +};
1: +
1: +struct intel_framebuffer;
1: +
1: +struct intel_initial_plane_config {
1: + struct intel_framebuffer *fb;
1: + unsigned int tiling;
1: + int size;
1: + u32 base;
1: + u8 rotation;
1: +};
1: +
1: +enum intel_output_type {
1: + INTEL_OUTPUT_UNUSED = 0,
1: + INTEL_OUTPUT_ANALOG = 1,
1: + INTEL_OUTPUT_DVO = 2,
1: + INTEL_OUTPUT_SDVO = 3,
1: + INTEL_OUTPUT_LVDS = 4,
1: + INTEL_OUTPUT_TVOUT = 5,
1: + INTEL_OUTPUT_HDMI = 6,
1: + INTEL_OUTPUT_DP = 7,
1: + INTEL_OUTPUT_EDP = 8,
1: + INTEL_OUTPUT_DSI = 9,
1: + INTEL_OUTPUT_DDI = 10,
1: + INTEL_OUTPUT_DP_MST = 11,
1: +};
1: +
1: +enum intel_hotplug_state {
1: + INTEL_HOTPLUG_UNCHANGED = 0,
1: + INTEL_HOTPLUG_CHANGED = 1,
1: + INTEL_HOTPLUG_RETRY = 2,
1: +};
1: +
1: +struct intel_connector;
1: +
1: +struct intel_encoder {
1: + struct drm_encoder base;
1: + enum intel_output_type type;
1: + enum port port;
1: + u16 cloneable;
1: + u8 pipe_mask;
1: + enum intel_hotplug_state (*hotplug)(struct intel_encoder *, struct intel_connector *, bool);
1: + enum intel_output_type (*compute_output_type)(struct intel_encoder *, struct intel_crtc_state *, struct drm_connector_state *);
1: + int (*compute_config)(struct intel_encoder *, struct intel_crtc_state *, struct drm_connector_state *);
1: + void (*update_prepare)(struct intel_atomic_state *, struct intel_encoder *, struct intel_crtc *);
1: + void (*pre_pll_enable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + void (*pre_enable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + void (*enable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + void (*update_complete)(struct intel_atomic_state *, struct intel_encoder *, struct intel_crtc *);
1: + void (*disable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + void (*post_disable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + void (*post_pll_disable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + void (*update_pipe)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + bool (*get_hw_state)(struct intel_encoder *, enum pipe *);
1: + void (*get_config)(struct intel_encoder *, struct intel_crtc_state *);
1: + void (*get_power_domains)(struct intel_encoder *, struct intel_crtc_state *);
1: + void (*suspend)(struct intel_encoder *);
1: + enum hpd_pin hpd_pin;
1: + enum intel_display_power_domain power_domain;
1: + const struct drm_connector *audio_connector;
1: +};
1: +
1: +struct intel_dp_compliance_data {
1: + long unsigned int edid;
1: + u8 video_pattern;
1: + u16 hdisplay;
1: + u16 vdisplay;
1: + u8 bpc;
1: +};
1: +
1: +struct intel_dp_compliance {
1: + long unsigned int test_type;
1: + struct intel_dp_compliance_data test_data;
1: + bool test_active;
1: + int test_link_rate;
1: + u8 test_lane_count;
1: +};
1: +
1: +struct intel_dp_mst_encoder;
1: +
1: +struct intel_dp {
1: + i915_reg_t output_reg;
1: + u32 DP;
1: + int link_rate;
1: + u8 lane_count;
1: + u8 sink_count;
1: + bool link_mst;
1: + bool link_trained;
1: + bool has_audio;
1: + bool reset_link_params;
1: + u8 dpcd[15];
1: + u8 psr_dpcd[2];
1: + u8 downstream_ports[16];
1: + u8 edp_dpcd[3];
1: + u8 dsc_dpcd[15];
1: + u8 fec_capable;
1: + short: 16;
1: + int num_source_rates;
1: + int: 32;
1: + const int *source_rates;
1: + int num_sink_rates;
1: + int sink_rates[8];
1: + bool use_rate_select;
1: + int: 24;
1: + int num_common_rates;
1: + int common_rates[8];
1: + int max_link_lane_count;
1: + int max_link_rate;
1: + struct drm_dp_desc desc;
1: + int: 32;
1: + struct drm_dp_aux aux;
1: + u32 aux_busy_last_status;
1: + u8 train_set[4];
1: + int panel_power_up_delay;
1: + int panel_power_down_delay;
1: + int panel_power_cycle_delay;
1: + int backlight_on_delay;
1: + int backlight_off_delay;
1: + int: 32;
1: + struct delayed_work panel_vdd_work;
1: + bool want_panel_vdd;
1: + long: 56;
1: + long unsigned int last_power_on;
1: + long unsigned int last_backlight_off;
1: + ktime_t panel_power_off_time;
1: + struct notifier_block edp_notifier;
1: + enum pipe pps_pipe;
1: + enum pipe active_pipe;
1: + bool pps_reset;
1: + struct edp_power_seq pps_delays;
1: + bool can_mst;
1: + bool is_mst;
1: + int: 24;
1: + int active_mst_links;
1: + struct {
1: + i915_reg_t dp_tp_ctl;
1: + i915_reg_t dp_tp_status;
1: + } regs;
1: + int: 32;
1: + struct intel_connector *attached_connector;
1: + struct intel_dp_mst_encoder *mst_encoders[4];
1: + struct drm_dp_mst_topology_mgr mst_mgr;
1: + u32 (*get_aux_clock_divider)(struct intel_dp *, int);
1: + u32 (*get_aux_send_ctl)(struct intel_dp *, int, u32);
1: + i915_reg_t (*aux_ch_ctl_reg)(struct intel_dp *);
1: + i915_reg_t (*aux_ch_data_reg)(struct intel_dp *, int);
1: + void (*prepare_link_retrain)(struct intel_dp *);
1: + struct intel_dp_compliance compliance;
1: + bool force_dsc_en;
1: + long: 56;
1: +} __attribute__((packed));
1: +
1: +struct child_device_config {
1: + u16 handle;
1: + u16 device_type;
1: + union {
1: + u8 device_id[10];
1: + struct {
1: + u8 i2c_speed;
1: + u8 dp_onboard_redriver;
1: + u8 dp_ondock_redriver;
1: + u8 hdmi_level_shifter_value: 5;
1: + u8 hdmi_max_data_rate: 3;
1: + u16 dtd_buf_ptr;
1: + u8 edidless_efp: 1;
1: + u8 compression_enable: 1;
1: + u8 compression_method: 1;
1: + u8 ganged_edp: 1;
1: + u8 reserved0: 4;
1: + u8 compression_structure_index: 4;
1: + u8 reserved1: 4;
1: + u8 slave_port;
1: + u8 reserved2;
1: + };
1: + };
1: + u16 addin_offset;
1: + u8 dvo_port;
1: + u8 i2c_pin;
1: + u8 slave_addr;
1: + u8 ddc_pin;
1: + u16 edid_ptr;
1: + u8 dvo_cfg;
1: + union {
1: + struct {
1: + u8 dvo2_port;
1: + u8 i2c2_pin;
1: + u8 slave2_addr;
1: + u8 ddc2_pin;
1: + };
1: + struct {
1: + u8 efp_routed: 1;
1: + u8 lane_reversal: 1;
1: + u8 lspcon: 1;
1: + u8 iboost: 1;
1: + u8 hpd_invert: 1;
1: + u8 use_vbt_vswing: 1;
1: + u8 flag_reserved: 2;
1: + u8 hdmi_support: 1;
1: + u8 dp_support: 1;
1: + u8 tmds_support: 1;
1: + u8 support_reserved: 5;
1: + u8 aux_channel;
1: + u8 dongle_detect;
1: + };
1: + };
1: + u8 pipe_cap: 2;
1: + u8 sdvo_stall: 1;
1: + u8 hpd_status: 2;
1: + u8 integrated_encoder: 1;
1: + u8 capabilities_reserved: 2;
1: + u8 dvo_wiring;
1: + union {
1: + u8 dvo2_wiring;
1: + u8 mipi_bridge_type;
1: + };
1: + u16 extended_type;
1: + u8 dvo_function;
1: + u8 dp_usb_type_c: 1;
1: + u8 tbt: 1;
1: + u8 flags2_reserved: 2;
1: + u8 dp_port_trace_length: 4;
1: + u8 dp_gpio_index;
1: + u16 dp_gpio_pin_num;
1: + u8 dp_iboost_level: 4;
1: + u8 hdmi_iboost_level: 4;
1: + u8 dp_max_link_rate: 2;
1: + u8 dp_max_link_rate_reserved: 6;
1: +} __attribute__((packed));
1: +
1: +struct intel_dpll_mgr {
1: + const struct dpll_info *dpll_info;
1: + bool (*get_dplls)(struct intel_atomic_state *, struct intel_crtc *, struct intel_encoder *);
1: + void (*put_dplls)(struct intel_atomic_state *, struct intel_crtc *);
1: + void (*update_active_dpll)(struct intel_atomic_state *, struct intel_crtc *, struct intel_encoder *);
1: + void (*dump_hw_state)(struct drm_i915_private *, const struct intel_dpll_hw_state *);
1: +};
1: +
1: +struct intel_fbdev {
1: + struct drm_fb_helper helper;
1: + struct intel_framebuffer *fb;
1: + struct i915_vma *vma;
1: + long unsigned int vma_flags;
1: + async_cookie_t cookie;
1: + int preferred_bpp;
1: + bool hpd_suspended: 1;
1: + bool hpd_waiting: 1;
1: + struct mutex hpd_lock;
1: +};
1: +
1: +struct vlv_s0ix_state {
1: + u32 wr_watermark;
1: + u32 gfx_prio_ctrl;
1: + u32 arb_mode;
1: + u32 gfx_pend_tlb0;
1: + u32 gfx_pend_tlb1;
1: + u32 lra_limits[13];
1: + u32 media_max_req_count;
1: + u32 gfx_max_req_count;
1: + u32 render_hwsp;
1: + u32 ecochk;
1: + u32 bsd_hwsp;
1: + u32 blt_hwsp;
1: + u32 tlb_rd_addr;
1: + u32 g3dctl;
1: + u32 gsckgctl;
1: + u32 mbctl;
1: + u32 ucgctl1;
1: + u32 ucgctl3;
1: + u32 rcgctl1;
1: + u32 rcgctl2;
1: + u32 rstctl;
1: + u32 misccpctl;
1: + u32 gfxpause;
1: + u32 rpdeuhwtc;
1: + u32 rpdeuc;
1: + u32 ecobus;
1: + u32 pwrdwnupctl;
1: + u32 rp_down_timeout;
1: + u32 rp_deucsw;
1: + u32 rcubmabdtmr;
1: + u32 rcedata;
1: + u32 spare2gh;
1: + u32 gt_imr;
1: + u32 gt_ier;
1: + u32 pm_imr;
1: + u32 pm_ier;
1: + u32 gt_scratch[8];
1: + u32 tilectl;
1: + u32 gt_fifoctl;
1: + u32 gtlc_wake_ctrl;
1: + u32 gtlc_survive;
1: + u32 pmwgicz;
1: + u32 gu_ctl0;
1: + u32 gu_ctl1;
1: + u32 pcbr;
1: + u32 clock_gate_dis2;
1: +};
1: +
1: +struct dram_dimm_info {
1: + u8 size;
1: + u8 width;
1: + u8 ranks;
1: +};
1: +
1: +struct dram_channel_info {
1: + struct dram_dimm_info dimm_l;
1: + struct dram_dimm_info dimm_s;
1: + u8 ranks;
1: + bool is_16gb_dimm;
1: +};
1: +
1: +struct intel_framebuffer {
1: + struct drm_framebuffer base;
1: + struct intel_frontbuffer *frontbuffer;
1: + struct intel_rotation_info rot_info;
1: + struct {
1: + unsigned int x;
1: + unsigned int y;
1: + } normal[2];
1: + struct {
1: + unsigned int x;
1: + unsigned int y;
1: + unsigned int pitch;
1: + } rotated[2];
1: +};
1: +
1: +struct pwm_device;
1: +
1: +struct intel_panel {
1: + struct drm_display_mode *fixed_mode;
1: + struct drm_display_mode *downclock_mode;
1: + struct {
1: + bool present;
1: + u32 level;
1: + u32 min;
1: + u32 max;
1: + bool enabled;
1: + bool combination_mode;
1: + bool active_low_pwm;
1: + bool alternate_pwm_increment;
1: + bool util_pin_active_low;
1: + u8 controller;
1: + struct pwm_device *pwm;
1: + struct backlight_device *device;
1: + int (*setup)(struct intel_connector *, enum pipe);
1: + u32 (*get)(struct intel_connector *);
1: + void (*set)(const struct drm_connector_state *, u32);
1: + void (*disable)(const struct drm_connector_state *);
1: + void (*enable)(const struct intel_crtc_state *, const struct drm_connector_state *);
1: + u32 (*hz_to_pwm)(struct intel_connector *, u32);
1: + void (*power)(struct intel_connector *, bool);
1: + } backlight;
1: +};
1: +
1: +struct intel_hdcp_shim;
1: +
1: +struct intel_hdcp {
1: + const struct intel_hdcp_shim *shim;
1: + struct mutex mutex;
1: + u64 value;
1: + struct delayed_work check_work;
1: + struct work_struct prop_work;
1: + bool hdcp_encrypted;
1: + bool hdcp2_supported;
1: + bool hdcp2_encrypted;
1: + u8 content_type;
1: + struct hdcp_port_data port_data;
1: + bool is_paired;
1: + bool is_repeater;
1: + u32 seq_num_v;
1: + u32 seq_num_m;
1: + wait_queue_head_t cp_irq_queue;
1: + atomic_t cp_irq_count;
1: + int cp_irq_count_cached;
1: + enum transcoder cpu_transcoder;
1: +};
1: +
1: +struct intel_connector {
1: + struct drm_connector base;
1: + struct intel_encoder *encoder;
1: + u32 acpi_device_id;
1: + bool (*get_hw_state)(struct intel_connector *);
1: + struct intel_panel panel;
1: + struct edid *edid;
1: + struct edid *detect_edid;
1: + u8 polled;
1: + void *port;
1: + struct intel_dp *mst_port;
1: + struct work_struct modeset_retry_work;
1: + struct intel_hdcp hdcp;
1: +};
1: +
1: +struct intel_digital_port;
1: +
1: +struct intel_hdcp_shim {
1: + int (*write_an_aksv)(struct intel_digital_port *, u8 *);
1: + int (*read_bksv)(struct intel_digital_port *, u8 *);
1: + int (*read_bstatus)(struct intel_digital_port *, u8 *);
1: + int (*repeater_present)(struct intel_digital_port *, bool *);
1: + int (*read_ri_prime)(struct intel_digital_port *, u8 *);
1: + int (*read_ksv_ready)(struct intel_digital_port *, bool *);
1: + int (*read_ksv_fifo)(struct intel_digital_port *, int, u8 *);
1: + int (*read_v_prime_part)(struct intel_digital_port *, int, u32 *);
1: + int (*toggle_signalling)(struct intel_digital_port *, bool);
1: + bool (*check_link)(struct intel_digital_port *);
1: + int (*hdcp_capable)(struct intel_digital_port *, bool *);
1: + enum hdcp_wired_protocol protocol;
1: + int (*hdcp_2_2_capable)(struct intel_digital_port *, bool *);
1: + int (*write_2_2_msg)(struct intel_digital_port *, void *, size_t);
1: + int (*read_2_2_msg)(struct intel_digital_port *, u8, void *, size_t);
1: + int (*config_stream_type)(struct intel_digital_port *, bool, u8);
1: + int (*check_2_2_link)(struct intel_digital_port *);
1: +};
1: +
1: +struct cec_notifier;
1: +
1: +struct intel_hdmi {
1: + i915_reg_t hdmi_reg;
1: + int ddc_bus;
1: + struct {
1: + enum drm_dp_dual_mode_type type;
1: + int max_tmds_clock;
1: + } dp_dual_mode;
1: + bool has_hdmi_sink;
1: + bool has_audio;
1: + struct intel_connector *attached_connector;
1: + struct cec_notifier *cec_notifier;
1: +};
1: +
1: +enum lspcon_vendor {
1: + LSPCON_VENDOR_MCA = 0,
1: + LSPCON_VENDOR_PARADE = 1,
1: +};
1: +
1: +struct intel_lspcon {
1: + bool active;
1: + enum drm_lspcon_mode mode;
1: + enum lspcon_vendor vendor;
1: +};
1: +
1: +struct intel_digital_port {
1: + struct intel_encoder base;
1: + u32 saved_port_bits;
1: + struct intel_dp dp;
1: + struct intel_hdmi hdmi;
1: + struct intel_lspcon lspcon;
1: + enum irqreturn (*hpd_pulse)(struct intel_digital_port *, bool);
1: + bool release_cl2_override;
1: + u8 max_lanes;
1: + enum aux_ch aux_ch;
1: + enum intel_display_power_domain ddi_io_power_domain;
1: + struct mutex tc_lock;
1: + intel_wakeref_t tc_lock_wakeref;
1: + int tc_link_refcount;
1: + bool tc_legacy_port: 1;
1: + char tc_port_name[8];
1: + enum tc_port_mode tc_mode;
1: + enum phy_fia tc_phy_fia;
1: + u8 tc_phy_fia_idx;
1: + void (*write_infoframe)(struct intel_encoder *, const struct intel_crtc_state *, unsigned int, const void *, ssize_t);
1: + void (*read_infoframe)(struct intel_encoder *, const struct intel_crtc_state *, unsigned int, void *, ssize_t);
1: + void (*set_infoframes)(struct intel_encoder *, bool, const struct intel_crtc_state *, const struct drm_connector_state *);
1: + u32 (*infoframes_enabled)(struct intel_encoder *, const struct intel_crtc_state *);
1: +};
1: +
1: +enum vlv_wm_level {
1: + VLV_WM_LEVEL_PM2 = 0,
1: + VLV_WM_LEVEL_PM5 = 1,
1: + VLV_WM_LEVEL_DDR_DVFS = 2,
1: + NUM_VLV_WM_LEVELS = 3,
1: +};
1: +
1: +enum g4x_wm_level {
1: + G4X_WM_LEVEL_NORMAL = 0,
1: + G4X_WM_LEVEL_SR = 1,
1: + G4X_WM_LEVEL_HPLL = 2,
1: + NUM_G4X_WM_LEVELS = 3,
1: +};
1: +
1: +struct intel_dp_mst_encoder {
1: + struct intel_encoder base;
1: + enum pipe pipe;
1: + struct intel_digital_port *primary;
1: + struct intel_connector *connector;
1: +};
1: +
1: +enum tc_port {
1: + PORT_TC_NONE = -1,
1: + PORT_TC1 = 0,
1: + PORT_TC2 = 1,
1: + PORT_TC3 = 2,
1: + PORT_TC4 = 3,
1: + PORT_TC5 = 4,
1: + PORT_TC6 = 5,
1: + I915_MAX_TC_PORTS = 6,
1: +};
1: +
1: +typedef bool (*long_pulse_detect_func)(enum hpd_pin, u32);
1: +
1: +enum drm_i915_gem_engine_class {
1: + I915_ENGINE_CLASS_RENDER = 0,
1: + I915_ENGINE_CLASS_COPY = 1,
1: + I915_ENGINE_CLASS_VIDEO = 2,
1: + I915_ENGINE_CLASS_VIDEO_ENHANCE = 3,
1: + I915_ENGINE_CLASS_INVALID = -1,
1: +};
1: +
1: +struct drm_i915_getparam {
1: + __s32 param;
1: + int *value;
1: +};
1: +
1: +typedef struct drm_i915_getparam drm_i915_getparam_t;
1: +
1: +enum vga_switcheroo_state {
1: + VGA_SWITCHEROO_OFF = 0,
1: + VGA_SWITCHEROO_ON = 1,
1: + VGA_SWITCHEROO_NOT_FOUND = 2,
1: +};
1: +
1: +enum vga_switcheroo_client_id {
1: + VGA_SWITCHEROO_UNKNOWN_ID = 4096,
1: + VGA_SWITCHEROO_IGD = 0,
1: + VGA_SWITCHEROO_DIS = 1,
1: + VGA_SWITCHEROO_MAX_CLIENTS = 2,
1: +};
1: +
1: +struct vga_switcheroo_client_ops {
1: + void (*set_gpu_state)(struct pci_dev *, enum vga_switcheroo_state);
1: + void (*reprobe)(struct pci_dev *);
1: + bool (*can_switch)(struct pci_dev *);
1: + void (*gpu_bound)(struct pci_dev *, enum vga_switcheroo_client_id);
1: +};
1: +
1: +enum {
1: + VLV_IOSF_SB_BUNIT = 0,
1: + VLV_IOSF_SB_CCK = 1,
1: + VLV_IOSF_SB_CCU = 2,
1: + VLV_IOSF_SB_DPIO = 3,
1: + VLV_IOSF_SB_FLISDSI = 4,
1: + VLV_IOSF_SB_GPIO = 5,
1: + VLV_IOSF_SB_NC = 6,
1: + VLV_IOSF_SB_PUNIT = 7,
1: +};
1: +
1: +struct intel_css_header {
1: + u32 module_type;
1: + u32 header_len;
1: + u32 header_ver;
1: + u32 module_id;
1: + u32 module_vendor;
1: + u32 date;
1: + u32 size;
1: + u32 key_size;
1: + u32 modulus_size;
1: + u32 exponent_size;
1: + u32 reserved1[12];
1: + u32 version;
1: + u32 reserved2[8];
1: + u32 kernel_header_info;
1: +};
1: +
1: +struct intel_fw_info {
1: + u8 reserved1;
1: + u8 dmc_id;
1: + char stepping;
1: + char substepping;
1: + u32 offset;
1: + u32 reserved2;
1: +};
1: +
1: +struct intel_package_header {
1: + u8 header_len;
1: + u8 header_ver;
1: + u8 reserved[10];
1: + u32 num_entries;
1: +};
1: +
1: +struct intel_dmc_header_base {
1: + u32 signature;
1: + u8 header_len;
1: + u8 header_ver;
1: + u16 dmcc_ver;
1: + u32 project;
1: + u32 fw_size;
1: + u32 fw_version;
1: +};
1: +
1: +struct intel_dmc_header_v1 {
1: + struct intel_dmc_header_base base;
1: + u32 mmio_count;
1: + u32 mmioaddr[8];
1: + u32 mmiodata[8];
1: + char dfile[32];
1: + u32 reserved1[2];
1: +};
1: +
1: +struct intel_dmc_header_v3 {
1: + struct intel_dmc_header_base base;
1: + u32 start_mmioaddr;
1: + u32 reserved[9];
1: + char dfile[32];
1: + u32 mmio_count;
1: + u32 mmioaddr[20];
1: + u32 mmiodata[20];
1: +};
1: +
1: +struct stepping_info {
1: + char stepping;
1: + char substepping;
1: +};
1: +
1: +enum intel_memory_type {
1: + INTEL_MEMORY_SYSTEM = 0,
1: + INTEL_MEMORY_LOCAL = 1,
1: + INTEL_MEMORY_STOLEN = 2,
1: +};
1: +
1: +struct drm_intel_sprite_colorkey {
1: + __u32 plane_id;
1: + __u32 min_value;
1: + __u32 channel_mask;
1: + __u32 max_value;
1: + __u32 flags;
1: +};
1: +
1: +typedef struct {
1: + u32 val;
1: +} uint_fixed_16_16_t;
1: +
1: +struct skl_wm_params {
1: + bool x_tiled;
1: + bool y_tiled;
1: + bool rc_surface;
1: + bool is_planar;
1: + u32 width;
1: + u8 cpp;
1: + u32 plane_pixel_rate;
1: + u32 y_min_scanlines;
1: + u32 plane_bytes_per_line;
1: + uint_fixed_16_16_t plane_blocks_per_line;
1: + uint_fixed_16_16_t y_tile_minimum;
1: + u32 linetime_us;
1: + u32 dbuf_block_size;
1: +};
1: +
1: +struct intel_wm_config {
1: + unsigned int num_pipes_active;
1: + bool sprites_enabled;
1: + bool sprites_scaled;
1: +};
1: +
1: +struct intel_plane;
1: +
1: +struct intel_plane_state {
1: + struct drm_plane_state base;
1: + struct i915_ggtt_view view;
1: + struct i915_vma *vma;
1: + long unsigned int flags;
1: + struct {
1: + u32 offset;
1: + u32 stride;
1: + int x;
1: + int y;
1: + } color_plane[2];
1: + u32 ctl;
1: + u32 color_ctl;
1: + int scaler_id;
1: + struct intel_plane *planar_linked_plane;
1: + u32 planar_slave;
1: + struct drm_intel_sprite_colorkey ckey;
1: +};
1: +
1: +struct intel_plane {
1: + struct drm_plane base;
1: + enum i9xx_plane_id i9xx_plane;
1: + enum plane_id id;
1: + enum pipe pipe;
1: + bool has_fbc;
1: + bool has_ccs;
1: + u32 frontbuffer_bit;
1: + struct {
1: + u32 base;
1: + u32 cntl;
1: + u32 size;
1: + } cursor;
1: + unsigned int (*max_stride)(struct intel_plane *, u32, u64, unsigned int);
1: + void (*update_plane)(struct intel_plane *, const struct intel_crtc_state *, const struct intel_plane_state *);
1: + void (*update_slave)(struct intel_plane *, const struct intel_crtc_state *, const struct intel_plane_state *);
1: + void (*disable_plane)(struct intel_plane *, const struct intel_crtc_state *);
1: + bool (*get_hw_state)(struct intel_plane *, enum pipe *);
1: + int (*check_plane)(struct intel_crtc_state *, struct intel_plane_state *);
1: + int (*min_cdclk)(const struct intel_crtc_state *, const struct intel_plane_state *);
1: +};
1: +
1: +struct intel_watermark_params {
1: + u16 fifo_size;
1: + u16 max_wm;
1: + u8 default_wm;
1: + u8 guard_size;
1: + u8 cacheline_size;
1: +};
1: +
1: +struct cxsr_latency {
1: + bool is_desktop: 1;
1: + bool is_ddr3: 1;
1: + u16 fsb_freq;
1: + u16 mem_freq;
1: + u16 display_sr;
1: + u16 display_hpll_disable;
1: + u16 cursor_sr;
1: + u16 cursor_hpll_disable;
1: +};
1: +
1: +struct ilk_wm_maximums {
1: + u16 pri;
1: + u16 spr;
1: + u16 cur;
1: + u16 fbc;
1: +};
1: +
1: +enum intel_sbi_destination {
1: + SBI_ICLK = 0,
1: + SBI_MPHY = 1,
1: +};
1: +
1: +struct drm_i915_reg_read {
1: + __u64 offset;
1: + __u64 val;
1: +};
1: +
1: +enum ack_type {
1: + ACK_CLEAR = 0,
1: + ACK_SET = 1,
1: +};
1: +
1: +struct reg_whitelist {
1: + i915_reg_t offset_ldw;
1: + i915_reg_t offset_udw;
1: + u16 gen_mask;
1: + u8 size;
1: +};
1: +
1: +struct remap_pfn {
1: + struct mm_struct *mm;
1: + long unsigned int pfn;
1: + pgprot_t prot;
1: +};
1: +
1: +enum i915_sw_fence_notify {
1: + FENCE_COMPLETE = 0,
1: + FENCE_FREE = 1,
1: +};
1: +
1: +typedef int (*i915_sw_fence_notify_t)(struct i915_sw_fence *, enum i915_sw_fence_notify);
1: +
1: +enum {
1: + DEBUG_FENCE_IDLE = 0,
1: + DEBUG_FENCE_NOTIFY = 1,
1: +};
1: +
1: +struct i915_sw_dma_fence_cb_timer {
1: + struct i915_sw_dma_fence_cb base;
1: + struct dma_fence *dma;
1: + struct timer_list timer;
1: + struct irq_work work;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct dma_fence_work;
1: +
1: +struct dma_fence_work_ops {
1: + const char *name;
1: + int (*work)(struct dma_fence_work *);
1: + void (*release)(struct dma_fence_work *);
1: +};
1: +
1: +struct dma_fence_work {
1: + struct dma_fence dma;
1: + spinlock_t lock;
1: + struct i915_sw_fence chain;
1: + struct i915_sw_dma_fence_cb cb;
1: + struct work_struct work;
1: + const struct dma_fence_work_ops *ops;
1: +};
1: +
1: +struct i915_syncmap___2 {
1: + u64 prefix;
1: + unsigned int height;
1: + unsigned int bitmap;
1: + struct i915_syncmap___2 *parent;
1: +};
1: +
1: +struct i915_user_extension {
1: + __u64 next_extension;
1: + __u32 name;
1: + __u32 flags;
1: + __u32 rsvd[4];
1: +};
1: +
1: +typedef int (*i915_user_extension_fn)(struct i915_user_extension *, void *);
1: +
1: +struct drm_i915_getparam32 {
1: + s32 param;
1: + u32 value;
1: +};
1: +
1: +struct i915_gem_engines_iter {
1: + unsigned int idx;
1: + const struct i915_gem_engines *engines;
1: +};
1: +
1: +struct guc_execlist_context {
1: + u32 context_desc;
1: + u32 context_id;
1: + u32 ring_status;
1: + u32 ring_lrca;
1: + u32 ring_begin;
1: + u32 ring_end;
1: + u32 ring_next_free_location;
1: + u32 ring_current_tail_pointer_value;
1: + u8 engine_state_submit_value;
1: + u8 engine_state_wait_value;
1: + u16 pagefault_count;
1: + u16 engine_submit_queue_count;
1: +} __attribute__((packed));
1: +
1: +struct guc_stage_desc {
1: + u32 sched_common_area;
1: + u32 stage_id;
1: + u32 pas_id;
1: + u8 engines_used;
1: + u64 db_trigger_cpu;
1: + u32 db_trigger_uk;
1: + u64 db_trigger_phy;
1: + u16 db_id;
1: + struct guc_execlist_context lrc[5];
1: + u8 attribute;
1: + u32 priority;
1: + u32 wq_sampled_tail_offset;
1: + u32 wq_total_submit_enqueues;
1: + u32 process_desc;
1: + u32 wq_addr;
1: + u32 wq_size;
1: + u32 engine_presence;
1: + u8 engine_suspended;
1: + u8 reserved0[3];
1: + u64 reserved1[1];
1: + u64 desc_private;
1: +} __attribute__((packed));
1: +
1: +enum i915_map_type {
1: + I915_MAP_WB = 0,
1: + I915_MAP_WC = 1,
1: + I915_MAP_FORCE_WB = -2147483648,
1: + I915_MAP_FORCE_WC = -2147483647,
1: +};
1: +
1: +struct intel_guc_client {
1: + struct i915_vma *vma;
1: + void *vaddr;
1: + struct intel_guc *guc;
1: + u32 priority;
1: + u32 stage_id;
1: + u32 proc_desc_offset;
1: + u16 doorbell_id;
1: + long unsigned int doorbell_offset;
1: + spinlock_t wq_lock;
1: +};
1: +
1: +struct file_stats {
1: + struct i915_address_space *vm;
1: + long unsigned int count;
1: + u64 total;
1: + u64 unbound;
1: + u64 active;
1: + u64 inactive;
1: + u64 closed;
1: +};
1: +
1: +struct i915_debugfs_files {
1: + const char *name;
1: + const struct file_operations *fops;
1: +};
1: +
1: +struct dpcd_block {
1: + unsigned int offset;
1: + unsigned int end;
1: + size_t size;
1: + bool edp;
1: +};
1: +
1: +struct i915_str_attribute {
1: + struct device_attribute attr;
1: + const char *str;
1: +};
1: +
1: +struct i915_ext_attribute {
1: + struct device_attribute attr;
1: + long unsigned int val;
1: +};
1: +
1: +enum {
1: + I915_FENCE_FLAG_ACTIVE = 3,
1: + I915_FENCE_FLAG_SIGNAL = 4,
1: +};
1: +
1: +typedef void (*i915_global_func_t)();
1: +
1: +struct i915_global {
1: + struct list_head link;
1: + i915_global_func_t shrink;
1: + i915_global_func_t exit;
1: +};
1: +
1: +struct i915_global_context {
1: + struct i915_global base;
1: + struct kmem_cache *slab_ce;
1: +};
1: +
1: +struct engine_mmio_base {
1: + u32 gen: 8;
1: + u32 base: 24;
1: +};
1: +
1: +struct engine_info {
1: + unsigned int hw_id;
1: + u8 class;
1: + u8 instance;
1: + struct engine_mmio_base mmio_bases[3];
1: +};
1: +
1: +struct measure_breadcrumb {
1: + struct i915_request rq;
1: + struct intel_timeline timeline;
1: + struct intel_ring ring;
1: + u32 cs[1024];
1: +};
1: +
1: +enum {
1: + I915_PRIORITY_MIN = -1024,
1: + I915_PRIORITY_NORMAL = 0,
1: + I915_PRIORITY_MAX = 1024,
1: + I915_PRIORITY_HEARTBEAT = 1025,
1: + I915_PRIORITY_DISPLAY = 1026,
1: +};
1: +
1: +struct intel_engine_pool_node {
1: + struct i915_active active;
1: + struct drm_i915_gem_object *obj;
1: + struct list_head link;
1: + struct intel_engine_pool *pool;
1: +};
1: +
1: +struct legacy_ring {
1: + struct intel_gt *gt;
1: + u8 class;
1: + u8 instance;
1: +};
1: +
1: +struct ia_constants {
1: + unsigned int min_gpu_freq;
1: + unsigned int max_gpu_freq;
1: + unsigned int min_ring_freq;
1: + unsigned int max_ia_freq;
1: +};
1: +
1: +enum {
1: + INTEL_ADVANCED_CONTEXT = 0,
1: + INTEL_LEGACY_32B_CONTEXT = 1,
1: + INTEL_ADVANCED_AD_CONTEXT = 2,
1: + INTEL_LEGACY_64B_CONTEXT = 3,
1: +};
1: +
1: +enum {
1: + INTEL_CONTEXT_SCHEDULE_IN = 0,
1: + INTEL_CONTEXT_SCHEDULE_OUT = 1,
1: + INTEL_CONTEXT_SCHEDULE_PREEMPTED = 2,
1: +};
1: +
1: +enum intel_gt_scratch_field {
1: + INTEL_GT_SCRATCH_FIELD_DEFAULT = 0,
1: + INTEL_GT_SCRATCH_FIELD_RENDER_FLUSH = 128,
1: + INTEL_GT_SCRATCH_FIELD_COHERENTL3_WA = 256,
1: + INTEL_GT_SCRATCH_FIELD_PERF_CS_GPR = 2048,
1: + INTEL_GT_SCRATCH_FIELD_PERF_PREDICATE_RESULT_1 = 2096,
1: +};
1: +
1: +struct ve_node {
1: + struct rb_node rb;
1: + int prio;
1: +};
1: +
1: +struct ve_bond {
1: + const struct intel_engine_cs *master;
1: + intel_engine_mask_t sibling_mask;
1: +};
1: +
1: +struct virtual_engine {
1: + struct intel_engine_cs base;
1: + struct intel_context context;
1: + struct i915_request *request;
1: + struct ve_node nodes[8];
1: + struct ve_bond *bonds;
1: + unsigned int num_bonds;
1: + unsigned int num_siblings;
1: + struct intel_engine_cs *siblings[0];
1: +};
1: +
1: +struct lri {
1: + i915_reg_t reg;
1: + u32 value;
1: +};
1: +
1: +typedef u32 * (*wa_bb_func_t)(struct intel_engine_cs *, u32 *);
1: +
1: +enum i915_mocs_table_index {
1: + I915_MOCS_UNCACHED = 0,
1: + I915_MOCS_PTE = 1,
1: + I915_MOCS_CACHED = 2,
1: +};
1: +
1: +struct drm_i915_mocs_entry {
1: + u32 control_value;
1: + u16 l3cc_value;
1: + u16 used;
1: +};
1: +
1: +struct drm_i915_mocs_table {
1: + unsigned int size;
1: + unsigned int n_entries;
1: + const struct drm_i915_mocs_entry *table;
1: +};
1: +
1: +struct intel_renderstate_rodata {
1: + const u32 *reloc;
1: + const u32 *batch;
1: + const u32 batch_items;
1: +};
1: +
1: +struct intel_renderstate {
1: + const struct intel_renderstate_rodata *rodata;
1: + struct drm_i915_gem_object *obj;
1: + struct i915_vma *vma;
1: + u32 batch_offset;
1: + u32 batch_size;
1: + u32 aux_offset;
1: + u32 aux_size;
1: +};
1: +
1: +struct intel_wedge_me {
1: + struct delayed_work work;
1: + struct intel_gt *gt;
1: + const char *name;
1: +};
1: +
1: +typedef int (*reset_func)(struct intel_gt *, intel_engine_mask_t, unsigned int);
1: +
1: +struct cparams {
1: + u16 i;
1: + u16 t;
1: + u16 m;
1: + u16 c;
1: +};
1: +
1: +struct intel_timeline_hwsp;
1: +
1: +struct intel_timeline_cacheline {
1: + struct i915_active active;
1: + struct intel_timeline_hwsp *hwsp;
1: + void *vaddr;
1: +};
1: +
1: +struct intel_timeline_hwsp {
1: + struct intel_gt *gt;
1: + struct intel_gt_timelines *gt_timelines;
1: + struct list_head free_link;
1: + struct i915_vma *vma;
1: + u64 free_bitmap;
1: +};
1: +
1: +struct drm_i915_gem_busy {
1: + __u32 handle;
1: + __u32 busy;
1: +};
1: +
1: +enum fb_op_origin {
1: + ORIGIN_GTT = 0,
1: + ORIGIN_CPU = 1,
1: + ORIGIN_CS = 2,
1: + ORIGIN_FLIP = 3,
1: + ORIGIN_DIRTYFB = 4,
1: +};
1: +
1: +struct clflush {
1: + struct dma_fence_work base;
1: + struct drm_i915_gem_object *obj;
1: +};
1: +
1: +struct i915_sleeve {
1: + struct i915_vma *vma;
1: + struct drm_i915_gem_object *obj;
1: + struct sg_table *pages;
1: + struct i915_page_sizes page_sizes;
1: +};
1: +
1: +struct clear_pages_work {
1: + struct dma_fence dma;
1: + struct dma_fence_cb cb;
1: + struct i915_sw_fence wait;
1: + struct work_struct work;
1: + struct irq_work irq_work;
1: + struct i915_sleeve *sleeve;
1: + struct intel_context *ce;
1: + u32 value;
1: +};
1: +
1: +struct i915_engine_class_instance {
1: + __u16 engine_class;
1: + __u16 engine_instance;
1: +};
1: +
1: +struct drm_i915_gem_context_create_ext {
1: + __u32 ctx_id;
1: + __u32 flags;
1: + __u64 extensions;
1: +};
1: +
1: +struct drm_i915_gem_context_param {
1: + __u32 ctx_id;
1: + __u32 size;
1: + __u64 param;
1: + __u64 value;
1: +};
1: +
1: +struct drm_i915_gem_context_param_sseu {
1: + struct i915_engine_class_instance engine;
1: + __u32 flags;
1: + __u64 slice_mask;
1: + __u64 subslice_mask;
1: + __u16 min_eus_per_subslice;
1: + __u16 max_eus_per_subslice;
1: + __u32 rsvd;
1: +};
1: +
1: +struct i915_context_engines_load_balance {
1: + struct i915_user_extension base;
1: + __u16 engine_index;
1: + __u16 num_siblings;
1: + __u32 flags;
1: + __u64 mbz64;
1: + struct i915_engine_class_instance engines[0];
1: +};
1: +
1: +struct i915_context_engines_bond {
1: + struct i915_user_extension base;
1: + struct i915_engine_class_instance master;
1: + __u16 virtual_index;
1: + __u16 num_bonds;
1: + __u64 flags;
1: + __u64 mbz64[4];
1: + struct i915_engine_class_instance engines[0];
1: +};
1: +
1: +struct i915_context_param_engines {
1: + __u64 extensions;
1: + struct i915_engine_class_instance engines[0];
1: +};
1: +
1: +struct drm_i915_gem_context_create_ext_setparam {
1: + struct i915_user_extension base;
1: + struct drm_i915_gem_context_param param;
1: +};
1: +
1: +struct drm_i915_gem_context_create_ext_clone {
1: + struct i915_user_extension base;
1: + __u32 clone_id;
1: + __u32 flags;
1: + __u64 rsvd;
1: +};
1: +
1: +struct drm_i915_gem_context_destroy {
1: + __u32 ctx_id;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_i915_gem_vm_control {
1: + __u64 extensions;
1: + __u32 flags;
1: + __u32 vm_id;
1: +};
1: +
1: +struct drm_i915_reset_stats {
1: + __u32 ctx_id;
1: + __u32 flags;
1: + __u32 reset_count;
1: + __u32 batch_active;
1: + __u32 batch_pending;
1: + __u32 pad;
1: +};
1: +
1: +struct radix_tree_iter {
1: + long unsigned int index;
1: + long unsigned int next_index;
1: + long unsigned int tags;
1: + struct xa_node *node;
1: +};
1: +
1: +enum {
1: + RADIX_TREE_ITER_TAG_MASK = 15,
1: + RADIX_TREE_ITER_TAGGED = 16,
1: + RADIX_TREE_ITER_CONTIG = 32,
1: +};
1: +
1: +struct i915_lut_handle {
1: + struct list_head obj_link;
1: + struct i915_gem_context *ctx;
1: + u32 handle;
1: +};
1: +
1: +struct i915_global_gem_context {
1: + struct i915_global base;
1: + struct kmem_cache *slab_luts;
1: +};
1: +
1: +struct context_barrier_task {
1: + struct i915_active base;
1: + void (*task)(void *);
1: + void *data;
1: +};
1: +
1: +struct set_engines {
1: + struct i915_gem_context *ctx;
1: + struct i915_gem_engines *engines;
1: +};
1: +
1: +struct create_ext {
1: + struct i915_gem_context *ctx;
1: + struct drm_i915_file_private *fpriv;
1: +};
1: +
1: +struct drm_i915_gem_set_domain {
1: + __u32 handle;
1: + __u32 read_domains;
1: + __u32 write_domain;
1: +};
1: +
1: +struct drm_i915_gem_caching {
1: + __u32 handle;
1: + __u32 caching;
1: +};
1: +
1: +struct i915_vma_work;
1: +
1: +struct drm_i915_gem_relocation_entry {
1: + __u32 target_handle;
1: + __u32 delta;
1: + __u64 offset;
1: + __u64 presumed_offset;
1: + __u32 read_domains;
1: + __u32 write_domain;
1: +};
1: +
1: +struct drm_i915_gem_exec_object {
1: + __u32 handle;
1: + __u32 relocation_count;
1: + __u64 relocs_ptr;
1: + __u64 alignment;
1: + __u64 offset;
1: +};
1: +
1: +struct drm_i915_gem_execbuffer {
1: + __u64 buffers_ptr;
1: + __u32 buffer_count;
1: + __u32 batch_start_offset;
1: + __u32 batch_len;
1: + __u32 DR1;
1: + __u32 DR4;
1: + __u32 num_cliprects;
1: + __u64 cliprects_ptr;
1: +};
1: +
1: +struct drm_i915_gem_exec_object2 {
1: + __u32 handle;
1: + __u32 relocation_count;
1: + __u64 relocs_ptr;
1: + __u64 alignment;
1: + __u64 offset;
1: + __u64 flags;
1: + union {
1: + __u64 rsvd1;
1: + __u64 pad_to_size;
1: + };
1: + __u64 rsvd2;
1: +};
1: +
1: +struct drm_i915_gem_exec_fence {
1: + __u32 handle;
1: + __u32 flags;
1: +};
1: +
1: +struct drm_i915_gem_execbuffer2 {
1: + __u64 buffers_ptr;
1: + __u32 buffer_count;
1: + __u32 batch_start_offset;
1: + __u32 batch_len;
1: + __u32 DR1;
1: + __u32 DR4;
1: + __u32 num_cliprects;
1: + __u64 cliprects_ptr;
1: + __u64 flags;
1: + __u64 rsvd1;
1: + __u64 rsvd2;
1: +};
1: +
1: +enum {
1: + FORCE_CPU_RELOC = 1,
1: + FORCE_GTT_RELOC = 2,
1: + FORCE_GPU_RELOC = 3,
1: +};
1: +
1: +struct reloc_cache {
1: + struct drm_mm_node node;
1: + long unsigned int vaddr;
1: + long unsigned int page;
1: + unsigned int gen;
1: + bool use_64bit_reloc: 1;
1: + bool has_llc: 1;
1: + bool has_fence: 1;
1: + bool needs_unfenced: 1;
1: + struct intel_context *ce;
1: + struct i915_request *rq;
1: + u32 *rq_cmd;
1: + unsigned int rq_size;
1: +};
1: +
1: +struct i915_execbuffer {
1: + struct drm_i915_private *i915;
1: + struct drm_file *file;
1: + struct drm_i915_gem_execbuffer2 *args;
1: + struct drm_i915_gem_exec_object2 *exec;
1: + struct i915_vma **vma;
1: + unsigned int *flags;
1: + struct intel_engine_cs *engine;
1: + struct intel_context *context;
1: + struct i915_gem_context *gem_context;
1: + struct i915_request *request;
1: + struct i915_vma *batch;
1: + unsigned int buffer_count;
1: + struct list_head unbound;
1: + struct list_head relocs;
1: + struct reloc_cache reloc_cache;
1: + u64 invalid_flags;
1: + u32 context_flags;
1: + u32 batch_start_offset;
1: + u32 batch_len;
1: + u32 batch_flags;
1: + int lut_size;
1: + struct hlist_head *buckets;
1: +};
1: +
1: +struct stub_fence {
1: + struct dma_fence dma;
1: + struct i915_sw_fence chain;
1: +};
1: +
1: +enum i915_mm_subclass {
1: + I915_MM_NORMAL = 0,
1: + I915_MM_SHRINKER = 1,
1: +};
1: +
1: +struct i915_global_object {
1: + struct i915_global base;
1: + struct kmem_cache *slab_objects;
1: +};
1: +
1: +struct drm_i915_gem_mmap {
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: + __u64 size;
1: + __u64 addr_ptr;
1: + __u64 flags;
1: +};
1: +
1: +struct drm_i915_gem_mmap_gtt {
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: +};
1: +
1: +struct sgt_iter {
1: + struct scatterlist *sgp;
1: + union {
1: + long unsigned int pfn;
1: + dma_addr_t dma;
1: + };
1: + unsigned int curr;
1: + unsigned int max;
1: +};
1: +
1: +struct drm_i915_gem_set_tiling {
1: + __u32 handle;
1: + __u32 tiling_mode;
1: + __u32 stride;
1: + __u32 swizzle_mode;
1: +};
1: +
1: +struct drm_i915_gem_get_tiling {
1: + __u32 handle;
1: + __u32 tiling_mode;
1: + __u32 swizzle_mode;
1: + __u32 phys_swizzle_mode;
1: +};
1: +
1: +struct drm_i915_gem_userptr {
1: + __u64 user_ptr;
1: + __u64 user_size;
1: + __u32 flags;
1: + __u32 handle;
1: +};
1: +
1: +struct i915_mmu_notifier;
1: +
1: +struct i915_mm_struct {
1: + struct mm_struct *mm;
1: + struct drm_i915_private *i915;
1: + struct i915_mmu_notifier *mn;
1: + struct hlist_node node;
1: + struct kref kref;
1: + struct work_struct work;
1: +};
1: +
1: +struct i915_mmu_object {
1: + struct i915_mmu_notifier *mn;
1: + struct drm_i915_gem_object *obj;
1: + struct interval_tree_node it;
1: +};
1: +
1: +struct i915_mmu_notifier {
1: + spinlock_t lock;
1: + struct hlist_node node;
1: + struct mmu_notifier mn;
1: + struct rb_root_cached objects;
1: + struct i915_mm_struct *mm;
1: +};
1: +
1: +struct get_pages_work {
1: + struct work_struct work;
1: + struct drm_i915_gem_object *obj;
1: + struct task_struct *task;
1: +};
1: +
1: +struct dma_fence_array {
1: + struct dma_fence base;
1: + spinlock_t lock;
1: + unsigned int num_fences;
1: + atomic_t num_pending;
1: + struct dma_fence **fences;
1: + struct irq_work work;
1: +};
1: +
1: +struct drm_i915_gem_wait {
1: + __u32 bo_handle;
1: + __u32 flags;
1: + __s64 timeout_ns;
1: +};
1: +
1: +struct active_node {
1: + struct i915_active_fence base;
1: + struct i915_active *ref;
1: + struct rb_node node;
1: + u64 timeline;
1: +};
1: +
1: +struct i915_global_active {
1: + struct i915_global base;
1: + struct kmem_cache *slab_cache;
1: +};
1: +
1: +struct i915_global_block {
1: + struct i915_global base;
1: + struct kmem_cache *slab_blocks;
1: +};
1: +
1: +struct drm_i915_cmd_descriptor {
1: + u32 flags;
1: + struct {
1: + u32 value;
1: + u32 mask;
1: + } cmd;
1: + union {
1: + u32 fixed;
1: + u32 mask;
1: + } length;
1: + struct {
1: + u32 offset;
1: + u32 mask;
1: + u32 step;
1: + } reg;
1: + struct {
1: + u32 offset;
1: + u32 mask;
1: + u32 expected;
1: + u32 condition_offset;
1: + u32 condition_mask;
1: + } bits[3];
1: +};
1: +
1: +struct drm_i915_cmd_table {
1: + const struct drm_i915_cmd_descriptor *table;
1: + int count;
1: +};
1: +
1: +struct drm_i915_reg_descriptor {
1: + i915_reg_t addr;
1: + u32 mask;
1: + u32 value;
1: +};
1: +
1: +struct cmd_node {
1: + const struct drm_i915_cmd_descriptor *desc;
1: + struct hlist_node node;
1: +};
1: +
1: +typedef u32 gen6_pte_t;
1: +
1: +typedef u64 gen8_pte_t;
1: +
1: +struct gen6_ppgtt {
1: + struct i915_ppgtt base;
1: + struct i915_vma *vma;
1: + gen6_pte_t *pd_addr;
1: + atomic_t pin_count;
1: + struct mutex pin_mutex;
1: + bool scan_for_unused_pt;
1: +};
1: +
1: +enum vgt_g2v_type {
1: + VGT_G2V_PPGTT_L3_PAGE_TABLE_CREATE = 2,
1: + VGT_G2V_PPGTT_L3_PAGE_TABLE_DESTROY = 3,
1: + VGT_G2V_PPGTT_L4_PAGE_TABLE_CREATE = 4,
1: + VGT_G2V_PPGTT_L4_PAGE_TABLE_DESTROY = 5,
1: + VGT_G2V_EXECLIST_CONTEXT_CREATE = 6,
1: + VGT_G2V_EXECLIST_CONTEXT_DESTROY = 7,
1: + VGT_G2V_MAX = 8,
1: +};
1: +
1: +struct sgt_dma {
1: + struct scatterlist *sg;
1: + dma_addr_t dma;
1: + dma_addr_t max;
1: +};
1: +
1: +struct insert_page {
1: + struct i915_address_space *vm;
1: + dma_addr_t addr;
1: + u64 offset;
1: + enum i915_cache_level level;
1: +};
1: +
1: +struct insert_entries {
1: + struct i915_address_space *vm;
1: + struct i915_vma *vma;
1: + enum i915_cache_level level;
1: + u32 flags;
1: +};
1: +
1: +struct clear_range {
1: + struct i915_address_space *vm;
1: + u64 start;
1: + u64 length;
1: +};
1: +
1: +struct drm_i915_gem_create {
1: + __u64 size;
1: + __u32 handle;
1: + __u32 pad;
1: +};
1: +
1: +struct drm_i915_gem_pread {
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: + __u64 size;
1: + __u64 data_ptr;
1: +};
1: +
1: +struct drm_i915_gem_sw_finish {
1: + __u32 handle;
1: +};
1: +
1: +struct drm_i915_gem_get_aperture {
1: + __u64 aper_size;
1: + __u64 aper_available_size;
1: +};
1: +
1: +struct drm_i915_gem_madvise {
1: + __u32 handle;
1: + __u32 madv;
1: + __u32 retained;
1: +};
1: +
1: +struct park_work {
1: + struct rcu_work work;
1: + int epoch;
1: +};
1: +
1: +struct drm_i915_perf_oa_config {
1: + char uuid[36];
1: + __u32 n_mux_regs;
1: + __u32 n_boolean_regs;
1: + __u32 n_flex_regs;
1: + __u64 mux_regs_ptr;
1: + __u64 boolean_regs_ptr;
1: + __u64 flex_regs_ptr;
1: +};
1: +
1: +struct drm_i915_query_item {
1: + __u64 query_id;
1: + __s32 length;
1: + __u32 flags;
1: + __u64 data_ptr;
1: +};
1: +
1: +struct drm_i915_query {
1: + __u32 num_items;
1: + __u32 flags;
1: + __u64 items_ptr;
1: +};
1: +
1: +struct drm_i915_query_topology_info {
1: + __u16 flags;
1: + __u16 max_slices;
1: + __u16 max_subslices;
1: + __u16 max_eus_per_subslice;
1: + __u16 subslice_offset;
1: + __u16 subslice_stride;
1: + __u16 eu_offset;
1: + __u16 eu_stride;
1: + __u8 data[0];
1: +};
1: +
1: +struct drm_i915_engine_info {
1: + struct i915_engine_class_instance engine;
1: + __u32 rsvd0;
1: + __u64 flags;
1: + __u64 capabilities;
1: + __u64 rsvd1[4];
1: +};
1: +
1: +struct drm_i915_query_engine_info {
1: + __u32 num_engines;
1: + __u32 rsvd[3];
1: + struct drm_i915_engine_info engines[0];
1: +};
1: +
1: +struct drm_i915_query_perf_config {
1: + union {
1: + __u64 n_configs;
1: + __u64 config;
1: + char uuid[36];
1: + };
1: + __u32 flags;
1: + __u8 data[0];
1: +};
1: +
1: +struct execute_cb {
1: + struct list_head link;
1: + struct irq_work work;
1: + struct i915_sw_fence *fence;
1: + void (*hook)(struct i915_request *, struct dma_fence *);
1: + struct i915_request *signal;
1: +};
1: +
1: +struct i915_global_request {
1: + struct i915_global base;
1: + struct kmem_cache *slab_requests;
1: + struct kmem_cache *slab_dependencies;
1: + struct kmem_cache *slab_execute_cbs;
1: +};
1: +
1: +struct request_wait {
1: + struct dma_fence_cb cb;
1: + struct task_struct *tsk;
1: +};
1: +
1: +struct i915_global_scheduler {
1: + struct i915_global base;
1: + struct kmem_cache *slab_dependencies;
1: + struct kmem_cache *slab_priorities;
1: +};
1: +
1: +struct sched_cache {
1: + struct list_head *priolist;
1: +};
1: +
1: +struct trace_event_raw_intel_pipe_enable {
1: + struct trace_entry ent;
1: + u32 frame[3];
1: + u32 scanline[3];
1: + enum pipe pipe;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_intel_pipe_disable {
1: + struct trace_entry ent;
1: + u32 frame[3];
1: + u32 scanline[3];
1: + enum pipe pipe;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_intel_pipe_crc {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 crcs[5];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_intel_cpu_fifo_underrun {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_intel_pch_fifo_underrun {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_intel_memory_cxsr {
1: + struct trace_entry ent;
1: + u32 frame[3];
1: + u32 scanline[3];
1: + bool old;
1: + bool new;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_g4x_wm {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u16 primary;
1: + u16 sprite;
1: + u16 cursor;
1: + u16 sr_plane;
1: + u16 sr_cursor;
1: + u16 sr_fbc;
1: + u16 hpll_plane;
1: + u16 hpll_cursor;
1: + u16 hpll_fbc;
1: + bool cxsr;
1: + bool hpll;
1: + bool fbc;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vlv_wm {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 level;
1: + u32 cxsr;
1: + u32 primary;
1: + u32 sprite0;
1: + u32 sprite1;
1: + u32 cursor;
1: + u32 sr_plane;
1: + u32 sr_cursor;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_vlv_fifo_size {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 sprite0_start;
1: + u32 sprite1_start;
1: + u32 fifo_size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_intel_update_plane {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + int src[4];
1: + int dst[4];
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_intel_disable_plane {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_pipe_update_start {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 min;
1: + u32 max;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_pipe_update_vblank_evaded {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 min;
1: + u32 max;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_pipe_update_end {
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_object_create {
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + u64 size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_shrink {
1: + struct trace_entry ent;
1: + int dev;
1: + long unsigned int target;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_vma_bind {
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + struct i915_address_space *vm;
1: + u64 offset;
1: + u64 size;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_vma_unbind {
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + struct i915_address_space *vm;
1: + u64 offset;
1: + u64 size;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_object_pwrite {
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + u64 offset;
1: + u64 len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_object_pread {
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + u64 offset;
1: + u64 len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_object_fault {
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + u64 index;
1: + bool gtt;
1: + bool write;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_object {
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_evict {
1: + struct trace_entry ent;
1: + u32 dev;
1: + struct i915_address_space *vm;
1: + u64 size;
1: + u64 align;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_evict_node {
1: + struct trace_entry ent;
1: + u32 dev;
1: + struct i915_address_space *vm;
1: + u64 start;
1: + u64 size;
1: + long unsigned int color;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_gem_evict_vm {
1: + struct trace_entry ent;
1: + u32 dev;
1: + struct i915_address_space *vm;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_request_queue {
1: + struct trace_entry ent;
1: + u32 dev;
1: + u64 ctx;
1: + u16 class;
1: + u16 instance;
1: + u32 seqno;
1: + u32 flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_request {
1: + struct trace_entry ent;
1: + u32 dev;
1: + u64 ctx;
1: + u16 class;
1: + u16 instance;
1: + u32 seqno;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_request_wait_begin {
1: + struct trace_entry ent;
1: + u32 dev;
1: + u64 ctx;
1: + u16 class;
1: + u16 instance;
1: + u32 seqno;
1: + unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_reg_rw {
1: + struct trace_entry ent;
1: + u64 val;
1: + u32 reg;
1: + u16 write;
1: + u16 len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_intel_gpu_freq_change {
1: + struct trace_entry ent;
1: + u32 freq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_ppgtt {
1: + struct trace_entry ent;
1: + struct i915_address_space *vm;
1: + u32 dev;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i915_context {
1: + struct trace_entry ent;
1: + u32 dev;
1: + struct i915_gem_context *ctx;
1: + struct i915_address_space *vm;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_intel_pipe_enable {};
1: +
1: +struct trace_event_data_offsets_intel_pipe_disable {};
1: +
1: +struct trace_event_data_offsets_intel_pipe_crc {};
1: +
1: +struct trace_event_data_offsets_intel_cpu_fifo_underrun {};
1: +
1: +struct trace_event_data_offsets_intel_pch_fifo_underrun {};
1: +
1: +struct trace_event_data_offsets_intel_memory_cxsr {};
1: +
1: +struct trace_event_data_offsets_g4x_wm {};
1: +
1: +struct trace_event_data_offsets_vlv_wm {};
1: +
1: +struct trace_event_data_offsets_vlv_fifo_size {};
1: +
1: +struct trace_event_data_offsets_intel_update_plane {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_intel_disable_plane {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_i915_pipe_update_start {};
1: +
1: +struct trace_event_data_offsets_i915_pipe_update_vblank_evaded {};
1: +
1: +struct trace_event_data_offsets_i915_pipe_update_end {};
1: +
1: +struct trace_event_data_offsets_i915_gem_object_create {};
1: +
1: +struct trace_event_data_offsets_i915_gem_shrink {};
1: +
1: +struct trace_event_data_offsets_i915_vma_bind {};
1: +
1: +struct trace_event_data_offsets_i915_vma_unbind {};
1: +
1: +struct trace_event_data_offsets_i915_gem_object_pwrite {};
1: +
1: +struct trace_event_data_offsets_i915_gem_object_pread {};
1: +
1: +struct trace_event_data_offsets_i915_gem_object_fault {};
1: +
1: +struct trace_event_data_offsets_i915_gem_object {};
1: +
1: +struct trace_event_data_offsets_i915_gem_evict {};
1: +
1: +struct trace_event_data_offsets_i915_gem_evict_node {};
1: +
1: +struct trace_event_data_offsets_i915_gem_evict_vm {};
1: +
1: +struct trace_event_data_offsets_i915_request_queue {};
1: +
1: +struct trace_event_data_offsets_i915_request {};
1: +
1: +struct trace_event_data_offsets_i915_request_wait_begin {};
1: +
1: +struct trace_event_data_offsets_i915_reg_rw {};
1: +
1: +struct trace_event_data_offsets_intel_gpu_freq_change {};
1: +
1: +struct trace_event_data_offsets_i915_ppgtt {};
1: +
1: +struct trace_event_data_offsets_i915_context {};
1: +
1: +struct i915_global_vma {
1: + struct i915_global base;
1: + struct kmem_cache *slab_vmas;
1: +};
1: +
1: +struct i915_vma_work___2 {
1: + struct dma_fence_work base;
1: + struct i915_vma *vma;
1: + enum i915_cache_level cache_level;
1: + unsigned int flags;
1: +};
1: +
1: +struct uc_css_header {
1: + u32 module_type;
1: + u32 header_size_dw;
1: + u32 header_version;
1: + u32 module_id;
1: + u32 module_vendor;
1: + u32 date;
1: + u32 size_dw;
1: + u32 key_size_dw;
1: + u32 modulus_size_dw;
1: + u32 exponent_size_dw;
1: + u32 time;
1: + char username[8];
1: + char buildnumber[12];
1: + u32 sw_version;
1: + u32 reserved[14];
1: + u32 header_info;
1: +};
1: +
1: +struct uc_fw_blob {
1: + u8 major;
1: + u8 minor;
1: + const char *path;
1: +} __attribute__((packed));
1: +
1: +struct uc_fw_platform_requirement {
1: + enum intel_platform p;
1: + u8 rev;
1: + struct uc_fw_blob blobs[2];
1: +} __attribute__((packed));
1: +
1: +enum intel_guc_msg_type {
1: + INTEL_GUC_MSG_TYPE_REQUEST = 0,
1: + INTEL_GUC_MSG_TYPE_RESPONSE = 15,
1: +};
1: +
1: +enum intel_guc_action {
1: + INTEL_GUC_ACTION_DEFAULT = 0,
1: + INTEL_GUC_ACTION_REQUEST_PREEMPTION = 2,
1: + INTEL_GUC_ACTION_REQUEST_ENGINE_RESET = 3,
1: + INTEL_GUC_ACTION_ALLOCATE_DOORBELL = 16,
1: + INTEL_GUC_ACTION_DEALLOCATE_DOORBELL = 32,
1: + INTEL_GUC_ACTION_LOG_BUFFER_FILE_FLUSH_COMPLETE = 48,
1: + INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING = 64,
1: + INTEL_GUC_ACTION_FORCE_LOG_BUFFER_FLUSH = 770,
1: + INTEL_GUC_ACTION_ENTER_S_STATE = 1281,
1: + INTEL_GUC_ACTION_EXIT_S_STATE = 1282,
1: + INTEL_GUC_ACTION_SLPC_REQUEST = 12291,
1: + INTEL_GUC_ACTION_SAMPLE_FORCEWAKE = 12293,
1: + INTEL_GUC_ACTION_AUTHENTICATE_HUC = 16384,
1: + INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER = 17669,
1: + INTEL_GUC_ACTION_DEREGISTER_COMMAND_TRANSPORT_BUFFER = 17670,
1: + INTEL_GUC_ACTION_LIMIT = 17671,
1: +};
1: +
1: +enum intel_guc_sleep_state_status {
1: + INTEL_GUC_SLEEP_STATE_SUCCESS = 1,
1: + INTEL_GUC_SLEEP_STATE_PREEMPT_TO_IDLE_FAILED = 2,
1: + INTEL_GUC_SLEEP_STATE_ENGINE_RESET_FAILED = 3,
1: +};
1: +
1: +enum intel_guc_response_status {
1: + INTEL_GUC_RESPONSE_STATUS_SUCCESS = 0,
1: + INTEL_GUC_RESPONSE_STATUS_GENERIC_FAIL = 61440,
1: +};
1: +
1: +enum intel_guc_recv_message {
1: + INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED = 2,
1: + INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER = 8,
1: +};
1: +
1: +struct guc_policy {
1: + u32 execution_quantum;
1: + u32 preemption_time;
1: + u32 fault_time;
1: + u32 policy_flags;
1: + u32 reserved[8];
1: +};
1: +
1: +struct guc_policies {
1: + struct guc_policy policy[20];
1: + u32 submission_queue_depth[5];
1: + u32 dpc_promote_time;
1: + u32 is_valid;
1: + u32 max_num_work_items;
1: + u32 reserved[4];
1: +};
1: +
1: +struct guc_mmio_reg {
1: + u32 offset;
1: + u32 value;
1: + u32 flags;
1: +};
1: +
1: +struct guc_mmio_regset {
1: + struct guc_mmio_reg registers[64];
1: + u32 values_valid;
1: + u32 number_of_registers;
1: +};
1: +
1: +struct guc_mmio_reg_state {
1: + struct guc_mmio_regset engine_reg[80];
1: + u32 reserved[98];
1: +};
1: +
1: +struct guc_gt_system_info {
1: + u32 slice_enabled;
1: + u32 rcs_enabled;
1: + u32 reserved0;
1: + u32 bcs_enabled;
1: + u32 vdbox_enable_mask;
1: + u32 vdbox_sfc_support_mask;
1: + u32 vebox_enable_mask;
1: + u32 reserved[9];
1: +};
1: +
1: +struct guc_ct_pool_entry {
1: + struct guc_ct_buffer_desc desc;
1: + u32 reserved[7];
1: +} __attribute__((packed));
1: +
1: +struct guc_clients_info {
1: + u32 clients_num;
1: + u32 reserved0[13];
1: + u32 ct_pool_addr;
1: + u32 ct_pool_count;
1: + u32 reserved[4];
1: +};
1: +
1: +struct guc_ads {
1: + u32 reg_state_addr;
1: + u32 reg_state_buffer;
1: + u32 scheduler_policies;
1: + u32 gt_system_info;
1: + u32 clients_info;
1: + u32 control_data;
1: + u32 golden_context_lrca[5];
1: + u32 eng_state_size[5];
1: + u32 reserved[16];
1: +};
1: +
1: +struct __guc_ads_blob {
1: + struct guc_ads ads;
1: + struct guc_policies policies;
1: + struct guc_mmio_reg_state reg_state;
1: + struct guc_gt_system_info system_info;
1: + struct guc_clients_info clients_info;
1: + struct guc_ct_pool_entry ct_pool[2];
1: + u8 reg_state_buffer[40960];
1: +};
1: +
1: +struct ct_request {
1: + struct list_head link;
1: + u32 fence;
1: + u32 status;
1: + u32 response_len;
1: + u32 *response_buf;
1: +};
1: +
1: +struct ct_incoming_request {
1: + struct list_head link;
1: + u32 msg[0];
1: +};
1: +
1: +enum {
1: + CTB_SEND = 0,
1: + CTB_RECV = 1,
1: +};
1: +
1: +enum {
1: + CTB_OWNER_HOST = 0,
1: +};
1: +
1: +struct guc_log_buffer_state {
1: + u32 marker[2];
1: + u32 read_ptr;
1: + u32 write_ptr;
1: + u32 size;
1: + u32 sampled_write_ptr;
1: + union {
1: + struct {
1: + u32 flush_to_file: 1;
1: + u32 buffer_full_cnt: 4;
1: + u32 reserved: 27;
1: + };
1: + u32 flags;
1: + };
1: + u32 version;
1: +};
1: +
1: +struct guc_wq_item {
1: + u32 header;
1: + u32 context_desc;
1: + u32 submit_element_info;
1: + u32 fence_id;
1: +};
1: +
1: +struct guc_process_desc {
1: + u32 stage_id;
1: + u64 db_base_addr;
1: + u32 head;
1: + u32 tail;
1: + u32 error_offset;
1: + u64 wq_base_addr;
1: + u32 wq_size_bytes;
1: + u32 wq_status;
1: + u32 engine_presence;
1: + u32 priority;
1: + u32 reserved[30];
1: +} __attribute__((packed));
1: +
1: +struct guc_doorbell_info {
1: + u32 db_status;
1: + u32 cookie;
1: + u32 reserved[14];
1: +};
1: +
1: +enum hdmi_force_audio {
1: + HDMI_AUDIO_OFF_DVI = -2,
1: + HDMI_AUDIO_OFF = -1,
1: + HDMI_AUDIO_AUTO = 0,
1: + HDMI_AUDIO_ON = 1,
1: +};
1: +
1: +struct intel_digital_connector_state {
1: + struct drm_connector_state base;
1: + enum hdmi_force_audio force_audio;
1: + int broadcast_rgb;
1: +};
1: +
1: +struct component_ops {
1: + int (*bind)(struct device *, struct device *, void *);
1: + void (*unbind)(struct device *, struct device *, void *);
1: +};
1: +
1: +struct drm_audio_component_ops {
1: + struct module *owner;
1: + long unsigned int (*get_power)(struct device *);
1: + void (*put_power)(struct device *, long unsigned int);
1: + void (*codec_wake_override)(struct device *, bool);
1: + int (*get_cdclk_freq)(struct device *);
1: + int (*sync_audio_rate)(struct device *, int, int, int);
1: + int (*get_eld)(struct device *, int, int, bool *, unsigned char *, int);
1: +};
1: +
1: +struct drm_audio_component;
1: +
1: +struct drm_audio_component_audio_ops {
1: + void *audio_ptr;
1: + void (*pin_eld_notify)(void *, int, int);
1: + int (*pin2port)(void *, int);
1: + int (*master_bind)(struct device *, struct drm_audio_component *);
1: + void (*master_unbind)(struct device *, struct drm_audio_component *);
1: +};
1: +
1: +struct drm_audio_component {
1: + struct device *dev;
1: + const struct drm_audio_component_ops *ops;
1: + const struct drm_audio_component_audio_ops *audio_ops;
1: +};
1: +
1: +enum i915_component_type {
1: + I915_COMPONENT_AUDIO = 1,
1: + I915_COMPONENT_HDCP = 2,
1: +};
1: +
1: +struct i915_audio_component {
1: + struct drm_audio_component base;
1: + int aud_sample_rate[9];
1: +};
1: +
1: +struct dp_aud_n_m {
1: + int sample_rate;
1: + int clock;
1: + u16 m;
1: + u16 n;
1: +};
1: +
1: +struct hdmi_aud_ncts {
1: + int sample_rate;
1: + int clock;
1: + int n;
1: + int cts;
1: +};
1: +
1: +enum phy {
1: + PHY_NONE = -1,
1: + PHY_A = 0,
1: + PHY_B = 1,
1: + PHY_C = 2,
1: + PHY_D = 3,
1: + PHY_E = 4,
1: + PHY_F = 5,
1: + PHY_G = 6,
1: + PHY_H = 7,
1: + PHY_I = 8,
1: + I915_MAX_PHYS = 9,
1: +};
1: +
1: +enum mipi_seq_element {
1: + MIPI_SEQ_ELEM_END = 0,
1: + MIPI_SEQ_ELEM_SEND_PKT = 1,
1: + MIPI_SEQ_ELEM_DELAY = 2,
1: + MIPI_SEQ_ELEM_GPIO = 3,
1: + MIPI_SEQ_ELEM_I2C = 4,
1: + MIPI_SEQ_ELEM_SPI = 5,
1: + MIPI_SEQ_ELEM_PMIC = 6,
1: + MIPI_SEQ_ELEM_MAX = 7,
1: +};
1: +
1: +struct vbt_header {
1: + u8 signature[20];
1: + u16 version;
1: + u16 header_size;
1: + u16 vbt_size;
1: + u8 vbt_checksum;
1: + u8 reserved0;
1: + u32 bdb_offset;
1: + u32 aim_offset[4];
1: +};
1: +
1: +struct bdb_header {
1: + u8 signature[16];
1: + u16 version;
1: + u16 header_size;
1: + u16 bdb_size;
1: +};
1: +
1: +enum bdb_block_id {
1: + BDB_GENERAL_FEATURES = 1,
1: + BDB_GENERAL_DEFINITIONS = 2,
1: + BDB_OLD_TOGGLE_LIST = 3,
1: + BDB_MODE_SUPPORT_LIST = 4,
1: + BDB_GENERIC_MODE_TABLE = 5,
1: + BDB_EXT_MMIO_REGS = 6,
1: + BDB_SWF_IO = 7,
1: + BDB_SWF_MMIO = 8,
1: + BDB_PSR = 9,
1: + BDB_MODE_REMOVAL_TABLE = 10,
1: + BDB_CHILD_DEVICE_TABLE = 11,
1: + BDB_DRIVER_FEATURES = 12,
1: + BDB_DRIVER_PERSISTENCE = 13,
1: + BDB_EXT_TABLE_PTRS = 14,
1: + BDB_DOT_CLOCK_OVERRIDE = 15,
1: + BDB_DISPLAY_SELECT = 16,
1: + BDB_DRIVER_ROTATION = 18,
1: + BDB_DISPLAY_REMOVE = 19,
1: + BDB_OEM_CUSTOM = 20,
1: + BDB_EFP_LIST = 21,
1: + BDB_SDVO_LVDS_OPTIONS = 22,
1: + BDB_SDVO_PANEL_DTDS = 23,
1: + BDB_SDVO_LVDS_PNP_IDS = 24,
1: + BDB_SDVO_LVDS_POWER_SEQ = 25,
1: + BDB_TV_OPTIONS = 26,
1: + BDB_EDP = 27,
1: + BDB_LVDS_OPTIONS = 40,
1: + BDB_LVDS_LFP_DATA_PTRS = 41,
1: + BDB_LVDS_LFP_DATA = 42,
1: + BDB_LVDS_BACKLIGHT = 43,
1: + BDB_LVDS_POWER = 44,
1: + BDB_MIPI_CONFIG = 52,
1: + BDB_MIPI_SEQUENCE = 53,
1: + BDB_COMPRESSION_PARAMETERS = 56,
1: + BDB_SKIP = 254,
1: +};
1: +
1: +struct bdb_general_features {
1: + u8 panel_fitting: 2;
1: + u8 flexaim: 1;
1: + u8 msg_enable: 1;
1: + u8 clear_screen: 3;
1: + u8 color_flip: 1;
1: + u8 download_ext_vbt: 1;
1: + u8 enable_ssc: 1;
1: + u8 ssc_freq: 1;
1: + u8 enable_lfp_on_override: 1;
1: + u8 disable_ssc_ddt: 1;
1: + u8 underscan_vga_timings: 1;
1: + u8 display_clock_mode: 1;
1: + u8 vbios_hotplug_support: 1;
1: + u8 disable_smooth_vision: 1;
1: + u8 single_dvi: 1;
1: + u8 rotate_180: 1;
1: + u8 fdi_rx_polarity_inverted: 1;
1: + u8 vbios_extended_mode: 1;
1: + u8 copy_ilfp_dtd_to_sdvo_lvds_dtd: 1;
1: + u8 panel_best_fit_timing: 1;
1: + u8 ignore_strap_state: 1;
1: + u8 legacy_monitor_detect;
1: + u8 int_crt_support: 1;
1: + u8 int_tv_support: 1;
1: + u8 int_efp_support: 1;
1: + u8 dp_ssc_enable: 1;
1: + u8 dp_ssc_freq: 1;
1: + u8 dp_ssc_dongle_supported: 1;
1: + u8 rsvd11: 2;
1: +};
1: +
1: +enum vbt_gmbus_ddi {
1: + DDC_BUS_DDI_B = 1,
1: + DDC_BUS_DDI_C = 2,
1: + DDC_BUS_DDI_D = 3,
1: + DDC_BUS_DDI_F = 4,
1: + ICL_DDC_BUS_DDI_A = 1,
1: + ICL_DDC_BUS_DDI_B = 2,
1: + TGL_DDC_BUS_DDI_C = 3,
1: + ICL_DDC_BUS_PORT_1 = 4,
1: + ICL_DDC_BUS_PORT_2 = 5,
1: + ICL_DDC_BUS_PORT_3 = 6,
1: + ICL_DDC_BUS_PORT_4 = 7,
1: + TGL_DDC_BUS_PORT_5 = 8,
1: + TGL_DDC_BUS_PORT_6 = 9,
1: +};
1: +
1: +struct bdb_general_definitions {
1: + u8 crt_ddc_gmbus_pin;
1: + u8 dpms_acpi: 1;
1: + u8 skip_boot_crt_detect: 1;
1: + u8 dpms_aim: 1;
1: + u8 rsvd1: 5;
1: + u8 boot_display[2];
1: + u8 child_dev_size;
1: + u8 devices[0];
1: +};
1: +
1: +struct psr_table {
1: + u8 full_link: 1;
1: + u8 require_aux_to_wakeup: 1;
1: + u8 feature_bits_rsvd: 6;
1: + u8 idle_frames: 4;
1: + u8 lines_to_wait: 3;
1: + u8 wait_times_rsvd: 1;
1: + u16 tp1_wakeup_time;
1: + u16 tp2_tp3_wakeup_time;
1: +};
1: +
1: +struct bdb_psr {
1: + struct psr_table psr_table[16];
1: + u32 psr2_tp2_tp3_wakeup_time;
1: +};
1: +
1: +struct bdb_driver_features {
1: + u8 boot_dev_algorithm: 1;
1: + u8 block_display_switch: 1;
1: + u8 allow_display_switch: 1;
1: + u8 hotplug_dvo: 1;
1: + u8 dual_view_zoom: 1;
1: + u8 int15h_hook: 1;
1: + u8 sprite_in_clone: 1;
1: + u8 primary_lfp_id: 1;
1: + u16 boot_mode_x;
1: + u16 boot_mode_y;
1: + u8 boot_mode_bpp;
1: + u8 boot_mode_refresh;
1: + u16 enable_lfp_primary: 1;
1: + u16 selective_mode_pruning: 1;
1: + u16 dual_frequency: 1;
1: + u16 render_clock_freq: 1;
1: + u16 nt_clone_support: 1;
1: + u16 power_scheme_ui: 1;
1: + u16 sprite_display_assign: 1;
1: + u16 cui_aspect_scaling: 1;
1: + u16 preserve_aspect_ratio: 1;
1: + u16 sdvo_device_power_down: 1;
1: + u16 crt_hotplug: 1;
1: + u16 lvds_config: 2;
1: + u16 tv_hotplug: 1;
1: + u16 hdmi_config: 2;
1: + u8 static_display: 1;
1: + u8 reserved2: 7;
1: + u16 legacy_crt_max_x;
1: + u16 legacy_crt_max_y;
1: + u8 legacy_crt_max_refresh;
1: + u8 hdmi_termination;
1: + u8 custom_vbt_version;
1: + u16 rmpm_enabled: 1;
1: + u16 s2ddt_enabled: 1;
1: + u16 dpst_enabled: 1;
1: + u16 bltclt_enabled: 1;
1: + u16 adb_enabled: 1;
1: + u16 drrs_enabled: 1;
1: + u16 grs_enabled: 1;
1: + u16 gpmt_enabled: 1;
1: + u16 tbt_enabled: 1;
1: + u16 psr_enabled: 1;
1: + u16 ips_enabled: 1;
1: + u16 reserved3: 4;
1: + u16 pc_feature_valid: 1;
1: +} __attribute__((packed));
1: +
1: +struct bdb_sdvo_lvds_options {
1: + u8 panel_backlight;
1: + u8 h40_set_panel_type;
1: + u8 panel_type;
1: + u8 ssc_clk_freq;
1: + u16 als_low_trip;
1: + u16 als_high_trip;
1: + u8 sclalarcoeff_tab_row_num;
1: + u8 sclalarcoeff_tab_row_size;
1: + u8 coefficient[8];
1: + u8 panel_misc_bits_1;
1: + u8 panel_misc_bits_2;
1: + u8 panel_misc_bits_3;
1: + u8 panel_misc_bits_4;
1: +};
1: +
1: +struct lvds_dvo_timing {
1: + u16 clock;
1: + u8 hactive_lo;
1: + u8 hblank_lo;
1: + u8 hblank_hi: 4;
1: + u8 hactive_hi: 4;
1: + u8 vactive_lo;
1: + u8 vblank_lo;
1: + u8 vblank_hi: 4;
1: + u8 vactive_hi: 4;
1: + u8 hsync_off_lo;
1: + u8 hsync_pulse_width_lo;
1: + u8 vsync_pulse_width_lo: 4;
1: + u8 vsync_off_lo: 4;
1: + u8 vsync_pulse_width_hi: 2;
1: + u8 vsync_off_hi: 2;
1: + u8 hsync_pulse_width_hi: 2;
1: + u8 hsync_off_hi: 2;
1: + u8 himage_lo;
1: + u8 vimage_lo;
1: + u8 vimage_hi: 4;
1: + u8 himage_hi: 4;
1: + u8 h_border;
1: + u8 v_border;
1: + u8 rsvd1: 3;
1: + u8 digital: 2;
1: + u8 vsync_positive: 1;
1: + u8 hsync_positive: 1;
1: + u8 non_interlaced: 1;
1: +};
1: +
1: +struct bdb_sdvo_panel_dtds {
1: + struct lvds_dvo_timing dtds[4];
1: +};
1: +
1: +struct edp_fast_link_params {
1: + u8 rate: 4;
1: + u8 lanes: 4;
1: + u8 preemphasis: 4;
1: + u8 vswing: 4;
1: +};
1: +
1: +struct edp_pwm_delays {
1: + u16 pwm_on_to_backlight_enable;
1: + u16 backlight_disable_to_pwm_off;
1: +};
1: +
1: +struct edp_full_link_params {
1: + u8 preemphasis: 4;
1: + u8 vswing: 4;
1: +};
1: +
1: +struct bdb_edp {
1: + struct edp_power_seq power_seqs[16];
1: + u32 color_depth;
1: + struct edp_fast_link_params fast_link_params[16];
1: + u32 sdrrs_msa_timing_delay;
1: + u16 edp_s3d_feature;
1: + u16 edp_t3_optimization;
1: + u64 edp_vswing_preemph;
1: + u16 fast_link_training;
1: + u16 dpcd_600h_write_required;
1: + struct edp_pwm_delays pwm_delays[16];
1: + u16 full_link_params_provided;
1: + struct edp_full_link_params full_link_params[16];
1: +} __attribute__((packed));
1: +
1: +struct bdb_lvds_options {
1: + u8 panel_type;
1: + u8 panel_type2;
1: + u8 pfit_mode: 2;
1: + u8 pfit_text_mode_enhanced: 1;
1: + u8 pfit_gfx_mode_enhanced: 1;
1: + u8 pfit_ratio_auto: 1;
1: + u8 pixel_dither: 1;
1: + u8 lvds_edid: 1;
1: + u8 rsvd2: 1;
1: + u8 rsvd4;
1: + u32 lvds_panel_channel_bits;
1: + u16 ssc_bits;
1: + u16 ssc_freq;
1: + u16 ssc_ddt;
1: + u16 panel_color_depth;
1: + u32 dps_panel_type_bits;
1: + u32 blt_control_type_bits;
1: + u16 lcdvcc_s0_enable;
1: + u32 rotation;
1: +} __attribute__((packed));
1: +
1: +struct lvds_lfp_data_ptr {
1: + u16 fp_timing_offset;
1: + u8 fp_table_size;
1: + u16 dvo_timing_offset;
1: + u8 dvo_table_size;
1: + u16 panel_pnp_id_offset;
1: + u8 pnp_table_size;
1: +} __attribute__((packed));
1: +
1: +struct bdb_lvds_lfp_data_ptrs {
1: + u8 lvds_entries;
1: + struct lvds_lfp_data_ptr ptr[16];
1: +} __attribute__((packed));
1: +
1: +struct lvds_fp_timing {
1: + u16 x_res;
1: + u16 y_res;
1: + u32 lvds_reg;
1: + u32 lvds_reg_val;
1: + u32 pp_on_reg;
1: + u32 pp_on_reg_val;
1: + u32 pp_off_reg;
1: + u32 pp_off_reg_val;
1: + u32 pp_cycle_reg;
1: + u32 pp_cycle_reg_val;
1: + u32 pfit_reg;
1: + u32 pfit_reg_val;
1: + u16 terminator;
1: +} __attribute__((packed));
1: +
1: +struct lvds_pnp_id {
1: + u16 mfg_name;
1: + u16 product_code;
1: + u32 serial;
1: + u8 mfg_week;
1: + u8 mfg_year;
1: +} __attribute__((packed));
1: +
1: +struct lvds_lfp_data_entry {
1: + struct lvds_fp_timing fp_timing;
1: + struct lvds_dvo_timing dvo_timing;
1: + struct lvds_pnp_id pnp_id;
1: +} __attribute__((packed));
1: +
1: +struct bdb_lvds_lfp_data {
1: + struct lvds_lfp_data_entry data[16];
1: +};
1: +
1: +struct lfp_backlight_data_entry {
1: + u8 type: 2;
1: + u8 active_low_pwm: 1;
1: + u8 obsolete1: 5;
1: + u16 pwm_freq_hz;
1: + u8 min_brightness;
1: + u8 obsolete2;
1: + u8 obsolete3;
1: +} __attribute__((packed));
1: +
1: +struct lfp_backlight_control_method {
1: + u8 type: 4;
1: + u8 controller: 4;
1: +};
1: +
1: +struct bdb_lfp_backlight_data {
1: + u8 entry_size;
1: + struct lfp_backlight_data_entry data[16];
1: + u8 level[16];
1: + struct lfp_backlight_control_method backlight_control[16];
1: +} __attribute__((packed));
1: +
1: +struct bdb_mipi_config {
1: + struct mipi_config config[6];
1: + struct mipi_pps_data pps[6];
1: +};
1: +
1: +struct bdb_mipi_sequence {
1: + u8 version;
1: + u8 data[0];
1: +};
1: +
1: +struct intel_bw_state {
1: + struct drm_private_state base;
1: + unsigned int data_rate[4];
1: + u8 num_active_planes[4];
1: +};
1: +
1: +struct intel_qgv_point {
1: + u16 dclk;
1: + u16 t_rp;
1: + u16 t_rdpre;
1: + u16 t_rc;
1: + u16 t_ras;
1: + u16 t_rcd;
1: +};
1: +
1: +struct intel_qgv_info {
1: + struct intel_qgv_point points[3];
1: + u8 num_points;
1: + u8 num_channels;
1: + u8 t_bl;
1: + enum intel_dram_type dram_type;
1: +};
1: +
1: +struct intel_sa_info {
1: + u16 displayrtids;
1: + u8 deburst;
1: + u8 deprogbwlimit;
1: +};
1: +
1: +struct drm_color_ctm {
1: + __u64 matrix[9];
1: +};
1: +
1: +enum {
1: + PROCMON_0_85V_DOT_0 = 0,
1: + PROCMON_0_95V_DOT_0 = 1,
1: + PROCMON_0_95V_DOT_1 = 2,
1: + PROCMON_1_05V_DOT_0 = 3,
1: + PROCMON_1_05V_DOT_1 = 4,
1: +};
1: +
1: +struct cnl_procmon {
1: + u32 dw1;
1: + u32 dw9;
1: + u32 dw10;
1: +};
1: +
1: +enum intel_broadcast_rgb {
1: + INTEL_BROADCAST_RGB_AUTO = 0,
1: + INTEL_BROADCAST_RGB_FULL = 1,
1: + INTEL_BROADCAST_RGB_LIMITED = 2,
1: +};
1: +
1: +enum hdmi_packet_type {
1: + HDMI_PACKET_TYPE_NULL = 0,
1: + HDMI_PACKET_TYPE_AUDIO_CLOCK_REGEN = 1,
1: + HDMI_PACKET_TYPE_AUDIO_SAMPLE = 2,
1: + HDMI_PACKET_TYPE_GENERAL_CONTROL = 3,
1: + HDMI_PACKET_TYPE_ACP = 4,
1: + HDMI_PACKET_TYPE_ISRC1 = 5,
1: + HDMI_PACKET_TYPE_ISRC2 = 6,
1: + HDMI_PACKET_TYPE_ONE_BIT_AUDIO_SAMPLE = 7,
1: + HDMI_PACKET_TYPE_DST_AUDIO = 8,
1: + HDMI_PACKET_TYPE_HBR_AUDIO_STREAM = 9,
1: + HDMI_PACKET_TYPE_GAMUT_METADATA = 10,
1: +};
1: +
1: +struct drm_i915_get_pipe_from_crtc_id {
1: + __u32 crtc_id;
1: + __u32 pipe;
1: +};
1: +
1: +enum dpio_channel {
1: + DPIO_CH0 = 0,
1: + DPIO_CH1 = 1,
1: +};
1: +
1: +struct intel_cursor_error_state {
1: + u32 control;
1: + u32 position;
1: + u32 base;
1: + u32 size;
1: +};
1: +
1: +struct intel_pipe_error_state {
1: + bool power_domain_on;
1: + u32 source;
1: + u32 stat;
1: +};
1: +
1: +struct intel_plane_error_state {
1: + u32 control;
1: + u32 stride;
1: + u32 size;
1: + u32 pos;
1: + u32 addr;
1: + u32 surface;
1: + u32 tile_offset;
1: +};
1: +
1: +struct intel_transcoder_error_state {
1: + bool available;
1: + bool power_domain_on;
1: + enum transcoder cpu_transcoder;
1: + u32 conf;
1: + u32 htotal;
1: + u32 hblank;
1: + u32 hsync;
1: + u32 vtotal;
1: + u32 vblank;
1: + u32 vsync;
1: +};
1: +
1: +struct intel_display_error_state {
1: + u32 power_well_driver;
1: + struct intel_cursor_error_state cursor[4];
1: + struct intel_pipe_error_state pipe[4];
1: + struct intel_plane_error_state plane[4];
1: + struct intel_transcoder_error_state transcoder[5];
1: +};
1: +
1: +struct drm_i915_error_state_buf {
1: + struct drm_i915_private *i915;
1: + struct scatterlist *sgl;
1: + struct scatterlist *cur;
1: + struct scatterlist *end;
1: + char *buf;
1: + size_t bytes;
1: + size_t size;
1: + loff_t iter;
1: + int err;
1: +};
1: +
1: +enum link_m_n_set {
1: + M1_N1 = 0,
1: + M2_N2 = 1,
1: +};
1: +
1: +struct intel_load_detect_pipe {
1: + struct drm_atomic_state *restore_state;
1: +};
1: +
1: +struct intel_limit {
1: + struct {
1: + int min;
1: + int max;
1: + } dot;
1: + struct {
1: + int min;
1: + int max;
1: + } vco;
1: + struct {
1: + int min;
1: + int max;
1: + } n;
1: + struct {
1: + int min;
1: + int max;
1: + } m;
1: + struct {
1: + int min;
1: + int max;
1: + } m1;
1: + struct {
1: + int min;
1: + int max;
1: + } m2;
1: + struct {
1: + int min;
1: + int max;
1: + } p;
1: + struct {
1: + int min;
1: + int max;
1: + } p1;
1: + struct {
1: + int dot_limit;
1: + int p2_slow;
1: + int p2_fast;
1: + } p2;
1: +};
1: +
1: +struct wait_rps_boost {
1: + struct wait_queue_entry wait;
1: + struct drm_crtc *crtc;
1: + struct i915_request *request;
1: +};
1: +
1: +struct skl_hw_state {
1: + struct skl_ddb_entry ddb_y[8];
1: + struct skl_ddb_entry ddb_uv[8];
1: + struct skl_ddb_allocation ddb;
1: + struct skl_pipe_wm wm;
1: +};
1: +
1: +enum skl_power_gate {
1: + SKL_PG0 = 0,
1: + SKL_PG1 = 1,
1: + SKL_PG2 = 2,
1: + ICL_PG3 = 3,
1: + ICL_PG4 = 4,
1: +};
1: +
1: +struct bxt_ddi_phy_info {
1: + bool dual_channel;
1: + enum dpio_phy rcomp_phy;
1: + int reset_delay;
1: + u32 pwron_mask;
1: + struct {
1: + enum port port;
1: + } channel[2];
1: +};
1: +
1: +struct hsw_wrpll_rnp {
1: + unsigned int p;
1: + unsigned int n2;
1: + unsigned int r2;
1: +};
1: +
1: +struct skl_dpll_regs {
1: + i915_reg_t ctl;
1: + i915_reg_t cfgcr1;
1: + i915_reg_t cfgcr2;
1: +};
1: +
1: +struct skl_wrpll_context {
1: + u64 min_deviation;
1: + u64 central_freq;
1: + u64 dco_freq;
1: + unsigned int p;
1: +};
1: +
1: +struct skl_wrpll_params {
1: + u32 dco_fraction;
1: + u32 dco_integer;
1: + u32 qdiv_ratio;
1: + u32 qdiv_mode;
1: + u32 kdiv;
1: + u32 pdiv;
1: + u32 central_freq;
1: +};
1: +
1: +struct bxt_clk_div {
1: + int clock;
1: + u32 p1;
1: + u32 p2;
1: + u32 m2_int;
1: + u32 m2_frac;
1: + bool m2_frac_en;
1: + u32 n;
1: + int vco;
1: +};
1: +
1: +struct icl_combo_pll_params {
1: + int clock;
1: + struct skl_wrpll_params wrpll;
1: +};
1: +
1: +struct hdcp2_rep_stream_manage {
1: + u8 msg_id;
1: + u8 seq_num_m[3];
1: + __be16 k;
1: + struct hdcp2_streamid_type streams[1];
1: +};
1: +
1: +enum hdcp_port_type {
1: + HDCP_PORT_TYPE_INVALID = 0,
1: + HDCP_PORT_TYPE_INTEGRATED = 1,
1: + HDCP_PORT_TYPE_LSPCON = 2,
1: + HDCP_PORT_TYPE_CPDP = 3,
1: +};
1: +
1: +enum check_link_response {
1: + HDCP_LINK_PROTECTED = 0,
1: + HDCP_TOPOLOGY_CHANGE = 1,
1: + HDCP_LINK_INTEGRITY_FAILURE = 2,
1: + HDCP_REAUTH_REQUEST = 3,
1: +};
1: +
1: +struct intel_hdmi_lpe_audio_port_pdata {
1: + u8 eld[128];
1: + int port;
1: + int pipe;
1: + int ls_clock;
1: + bool dp_output;
1: +};
1: +
1: +struct intel_hdmi_lpe_audio_pdata {
1: + struct intel_hdmi_lpe_audio_port_pdata port[3];
1: + int num_ports;
1: + int num_pipes;
1: + void (*notify_audio_lpe)(struct platform_device *, int);
1: + spinlock_t lpe_audio_slock;
1: +};
1: +
1: +struct drm_intel_overlay_put_image {
1: + __u32 flags;
1: + __u32 bo_handle;
1: + __u16 stride_Y;
1: + __u16 stride_UV;
1: + __u32 offset_Y;
1: + __u32 offset_U;
1: + __u32 offset_V;
1: + __u16 src_width;
1: + __u16 src_height;
1: + __u16 src_scan_width;
1: + __u16 src_scan_height;
1: + __u32 crtc_id;
1: + __u16 dst_x;
1: + __u16 dst_y;
1: + __u16 dst_width;
1: + __u16 dst_height;
1: +};
1: +
1: +struct drm_intel_overlay_attrs {
1: + __u32 flags;
1: + __u32 color_key;
1: + __s32 brightness;
1: + __u32 contrast;
1: + __u32 saturation;
1: + __u32 gamma0;
1: + __u32 gamma1;
1: + __u32 gamma2;
1: + __u32 gamma3;
1: + __u32 gamma4;
1: + __u32 gamma5;
1: +};
1: +
1: +struct overlay_registers {
1: + u32 OBUF_0Y;
1: + u32 OBUF_1Y;
1: + u32 OBUF_0U;
1: + u32 OBUF_0V;
1: + u32 OBUF_1U;
1: + u32 OBUF_1V;
1: + u32 OSTRIDE;
1: + u32 YRGB_VPH;
1: + u32 UV_VPH;
1: + u32 HORZ_PH;
1: + u32 INIT_PHS;
1: + u32 DWINPOS;
1: + u32 DWINSZ;
1: + u32 SWIDTH;
1: + u32 SWIDTHSW;
1: + u32 SHEIGHT;
1: + u32 YRGBSCALE;
1: + u32 UVSCALE;
1: + u32 OCLRC0;
1: + u32 OCLRC1;
1: + u32 DCLRKV;
1: + u32 DCLRKM;
1: + u32 SCLRKVH;
1: + u32 SCLRKVL;
1: + u32 SCLRKEN;
1: + u32 OCONFIG;
1: + u32 OCMD;
1: + u32 RESERVED1;
1: + u32 OSTART_0Y;
1: + u32 OSTART_1Y;
1: + u32 OSTART_0U;
1: + u32 OSTART_0V;
1: + u32 OSTART_1U;
1: + u32 OSTART_1V;
1: + u32 OTILEOFF_0Y;
1: + u32 OTILEOFF_1Y;
1: + u32 OTILEOFF_0U;
1: + u32 OTILEOFF_0V;
1: + u32 OTILEOFF_1U;
1: + u32 OTILEOFF_1V;
1: + u32 FASTHSCALE;
1: + u32 UVSCALEV;
1: + u32 RESERVEDC[86];
1: + u16 Y_VCOEFS[51];
1: + u16 RESERVEDD[77];
1: + u16 Y_HCOEFS[85];
1: + u16 RESERVEDE[171];
1: + u16 UV_VCOEFS[51];
1: + u16 RESERVEDF[77];
1: + u16 UV_HCOEFS[51];
1: + u16 RESERVEDG[77];
1: +};
1: +
1: +struct intel_overlay_error_state {
1: + struct overlay_registers regs;
1: + long unsigned int base;
1: + u32 dovsta;
1: + u32 isr;
1: +};
1: +
1: +struct intel_overlay {
1: + struct drm_i915_private *i915;
1: + struct intel_context *context;
1: + struct intel_crtc *crtc;
1: + struct i915_vma *vma;
1: + struct i915_vma *old_vma;
1: + bool active;
1: + bool pfit_active;
1: + u32 pfit_vscale_ratio;
1: + u32 color_key: 24;
1: + u32 color_key_enabled: 1;
1: + u32 brightness;
1: + u32 contrast;
1: + u32 saturation;
1: + u32 old_xscale;
1: + u32 old_yscale;
1: + struct drm_i915_gem_object *reg_bo;
1: + struct overlay_registers *regs;
1: + u32 flip_addr;
1: + struct i915_active last_flip;
1: + void (*flip_complete)(struct intel_overlay *);
1: +};
1: +
1: +struct dp_sdp {
1: + struct dp_sdp_header sdp_header;
1: + u8 db[32];
1: +};
1: +
1: +struct intel_quirk {
1: + int device;
1: + int subsystem_vendor;
1: + int subsystem_device;
1: + void (*hook)(struct drm_i915_private *);
1: +};
1: +
1: +struct intel_dmi_quirk {
1: + void (*hook)(struct drm_i915_private *);
1: + struct dmi_system_id (*dmi_id_list)[0];
1: +};
1: +
1: +struct opregion_header {
1: + u8 signature[16];
1: + u32 size;
1: + struct {
1: + u8 rsvd;
1: + u8 revision;
1: + u8 minor;
1: + u8 major;
1: + } over;
1: + u8 bios_ver[32];
1: + u8 vbios_ver[16];
1: + u8 driver_ver[16];
1: + u32 mboxes;
1: + u32 driver_model;
1: + u32 pcon;
1: + u8 dver[32];
1: + u8 rsvd[124];
1: +};
1: +
1: +struct opregion_acpi {
1: + u32 drdy;
1: + u32 csts;
1: + u32 cevt;
1: + u8 rsvd1[20];
1: + u32 didl[8];
1: + u32 cpdl[8];
1: + u32 cadl[8];
1: + u32 nadl[8];
1: + u32 aslp;
1: + u32 tidx;
1: + u32 chpd;
1: + u32 clid;
1: + u32 cdck;
1: + u32 sxsw;
1: + u32 evts;
1: + u32 cnot;
1: + u32 nrdy;
1: + u32 did2[7];
1: + u32 cpd2[7];
1: + u8 rsvd2[4];
1: +};
1: +
1: +struct opregion_swsci {
1: + u32 scic;
1: + u32 parm;
1: + u32 dslp;
1: + u8 rsvd[244];
1: +};
1: +
1: +struct opregion_asle {
1: + u32 ardy;
1: + u32 aslc;
1: + u32 tche;
1: + u32 alsi;
1: + u32 bclp;
1: + u32 pfit;
1: + u32 cblv;
1: + u16 bclm[20];
1: + u32 cpfm;
1: + u32 epfm;
1: + u8 plut[74];
1: + u32 pfmb;
1: + u32 cddv;
1: + u32 pcft;
1: + u32 srot;
1: + u32 iuer;
1: + u64 fdss;
1: + u32 fdsp;
1: + u32 stat;
1: + u64 rvda;
1: + u32 rvds;
1: + u8 rsvd[58];
1: +} __attribute__((packed));
1: +
1: +struct intel_dvo_dev_ops;
1: +
1: +struct intel_dvo_device {
1: + const char *name;
1: + int type;
1: + i915_reg_t dvo_reg;
1: + i915_reg_t dvo_srcdim_reg;
1: + u32 gpio;
1: + int slave_addr;
1: + const struct intel_dvo_dev_ops *dev_ops;
1: + void *dev_priv;
1: + struct i2c_adapter *i2c_bus;
1: +};
1: +
1: +struct intel_dvo_dev_ops {
1: + bool (*init)(struct intel_dvo_device *, struct i2c_adapter *);
1: + void (*create_resources)(struct intel_dvo_device *);
1: + void (*dpms)(struct intel_dvo_device *, bool);
1: + int (*mode_valid)(struct intel_dvo_device *, struct drm_display_mode *);
1: + void (*prepare)(struct intel_dvo_device *);
1: + void (*commit)(struct intel_dvo_device *);
1: + void (*mode_set)(struct intel_dvo_device *, const struct drm_display_mode *, const struct drm_display_mode *);
1: + enum drm_connector_status (*detect)(struct intel_dvo_device *);
1: + bool (*get_hw_state)(struct intel_dvo_device *);
1: + struct drm_display_mode * (*get_modes)(struct intel_dvo_device *);
1: + void (*destroy)(struct intel_dvo_device *);
1: + void (*dump_regs)(struct intel_dvo_device *);
1: +};
1: +
1: +struct ch7017_priv {
1: + u8 dummy;
1: +};
1: +
1: +struct ch7xxx_id_struct {
1: + u8 vid;
1: + char *name;
1: +};
1: +
1: +struct ch7xxx_did_struct {
1: + u8 did;
1: + char *name;
1: +};
1: +
1: +struct ch7xxx_priv {
1: + bool quiet;
1: +};
1: +
1: +struct ivch_priv {
1: + bool quiet;
1: + u16 width;
1: + u16 height;
1: + u16 reg_backup[24];
1: +};
1: +
1: +enum {
1: + MODE_640x480 = 0,
1: + MODE_800x600 = 1,
1: + MODE_1024x768 = 2,
1: +};
1: +
1: +struct ns2501_reg {
1: + u8 offset;
1: + u8 value;
1: +};
1: +
1: +struct ns2501_configuration {
1: + u8 sync;
1: + u8 conf;
1: + u8 syncb;
1: + u8 dither;
1: + u8 pll_a;
1: + u16 pll_b;
1: + u16 hstart;
1: + u16 hstop;
1: + u16 vstart;
1: + u16 vstop;
1: + u16 vsync;
1: + u16 vtotal;
1: + u16 hpos;
1: + u16 vpos;
1: + u16 voffs;
1: + u16 hscale;
1: + u16 vscale;
1: +};
1: +
1: +struct ns2501_priv {
1: + bool quiet;
1: + const struct ns2501_configuration *conf;
1: +};
1: +
1: +struct sil164_priv {
1: + bool quiet;
1: +};
1: +
1: +struct tfp410_priv {
1: + bool quiet;
1: +};
1: +
1: +struct intel_dsi_host;
1: +
1: +struct intel_dsi {
1: + struct intel_encoder base;
1: + struct intel_dsi_host *dsi_hosts[9];
1: + intel_wakeref_t io_wakeref[9];
1: + struct gpio_desc *gpio_panel;
1: + struct intel_connector *attached_connector;
1: + union {
1: + u16 ports;
1: + u16 phys;
1: + };
1: + bool hs;
1: + int channel;
1: + u16 operation_mode;
1: + unsigned int lane_count;
1: + enum mipi_dsi_pixel_format pixel_format;
1: + u32 video_mode_format;
1: + u8 eotp_pkt;
1: + u8 clock_stop;
1: + u8 escape_clk_div;
1: + u8 dual_link;
1: + u16 dcs_backlight_ports;
1: + u16 dcs_cabc_ports;
1: + bool bgr_enabled;
1: + u8 pixel_overlap;
1: + u32 port_bits;
1: + u32 bw_timer;
1: + u32 dphy_reg;
1: + u32 dphy_data_lane_reg;
1: + u32 video_frmt_cfg_bits;
1: + u16 lp_byte_clk;
1: + u16 hs_tx_timeout;
1: + u16 lp_rx_timeout;
1: + u16 turn_arnd_val;
1: + u16 rst_timer_val;
1: + u16 hs_to_lp_count;
1: + u16 clk_lp_to_hs_count;
1: + u16 clk_hs_to_lp_count;
1: + u16 init_count;
1: + u32 pclk;
1: + u16 burst_mode_ratio;
1: + u16 backlight_off_delay;
1: + u16 backlight_on_delay;
1: + u16 panel_on_delay;
1: + u16 panel_off_delay;
1: + u16 panel_pwr_cycle_delay;
1: +};
1: +
1: +struct intel_dsi_host {
1: + struct mipi_dsi_host base;
1: + struct intel_dsi *intel_dsi;
1: + enum port port;
1: + struct mipi_dsi_device *device;
1: +};
1: +
1: +struct intel_crt {
1: + struct intel_encoder base;
1: + struct intel_connector *connector;
1: + bool force_hotplug_required;
1: + i915_reg_t adpa_reg;
1: +};
1: +
1: +struct ddi_buf_trans {
1: + u32 trans1;
1: + u32 trans2;
1: + u8 i_boost;
1: +};
1: +
1: +struct bxt_ddi_buf_trans {
1: + u8 margin;
1: + u8 scale;
1: + u8 enable;
1: + u8 deemphasis;
1: +};
1: +
1: +struct cnl_ddi_buf_trans {
1: + u8 dw2_swing_sel;
1: + u8 dw7_n_scalar;
1: + u8 dw4_cursor_coeff;
1: + u8 dw4_post_cursor_2;
1: + u8 dw4_post_cursor_1;
1: +};
1: +
1: +struct icl_mg_phy_ddi_buf_trans {
1: + u32 cri_txdeemph_override_5_0;
1: + u32 cri_txdeemph_override_11_6;
1: + u32 cri_txdeemph_override_17_12;
1: +};
1: +
1: +struct tgl_dkl_phy_ddi_buf_trans {
1: + u32 dkl_vswing_control;
1: + u32 dkl_preshoot_control;
1: + u32 dkl_de_emphasis_control;
1: +};
1: +
1: +struct link_config_limits {
1: + int min_clock;
1: + int max_clock;
1: + int min_lane_count;
1: + int max_lane_count;
1: + int min_bpp;
1: + int max_bpp;
1: +};
1: +
1: +struct dp_link_dpll {
1: + int clock;
1: + struct dpll dpll;
1: +};
1: +
1: +typedef bool (*vlv_pipe_check)(struct drm_i915_private *, enum pipe);
1: +
1: +struct pps_registers {
1: + i915_reg_t pp_ctrl;
1: + i915_reg_t pp_stat;
1: + i915_reg_t pp_on;
1: + i915_reg_t pp_off;
1: + i915_reg_t pp_div;
1: +};
1: +
1: +struct hdcp2_dp_errata_stream_type {
1: + u8 msg_id;
1: + u8 stream_type;
1: +};
1: +
1: +struct hdcp2_dp_msg_data {
1: + u8 msg_id;
1: + u32 offset;
1: + bool msg_detectable;
1: + u32 timeout;
1: + u32 timeout2;
1: +};
1: +
1: +struct gpio_map {
1: + u16 base_offset;
1: + bool init;
1: +};
1: +
1: +typedef const u8 * (*fn_mipi_elem_exec)(struct intel_dsi *, const u8 *);
1: +
1: +struct intel_dvo {
1: + struct intel_encoder base;
1: + struct intel_dvo_device dev;
1: + struct intel_connector *attached_connector;
1: + bool panel_wants_dither;
1: +};
1: +
1: +enum i915_gpio {
1: + GPIOA = 0,
1: + GPIOB = 1,
1: + GPIOC = 2,
1: + GPIOD = 3,
1: + GPIOE = 4,
1: + GPIOF = 5,
1: + GPIOG = 6,
1: + GPIOH = 7,
1: + __GPIOI_UNUSED = 8,
1: + GPIOJ = 9,
1: + GPIOK = 10,
1: + GPIOL = 11,
1: + GPIOM = 12,
1: + GPION = 13,
1: + GPIOO = 14,
1: +};
1: +
1: +struct gmbus_pin {
1: + const char *name;
1: + enum i915_gpio gpio;
1: +};
1: +
1: +struct hdcp2_hdmi_msg_timeout {
1: + u8 msg_id;
1: + u16 timeout;
1: +};
1: +
1: +enum vga_switcheroo_handler_flags_t {
1: + VGA_SWITCHEROO_CAN_SWITCH_DDC = 1,
1: + VGA_SWITCHEROO_NEEDS_EDP_CONFIG = 2,
1: +};
1: +
1: +struct intel_lvds_pps {
1: + int t1_t2;
1: + int t3;
1: + int t4;
1: + int t5;
1: + int tx;
1: + int divider;
1: + int port;
1: + bool powerdown_on_reset;
1: +};
1: +
1: +struct intel_lvds_encoder {
1: + struct intel_encoder base;
1: + bool is_dual_link;
1: + i915_reg_t reg;
1: + u32 a3_power;
1: + struct intel_lvds_pps init_pps;
1: + u32 init_lvds_val;
1: + struct intel_connector *attached_connector;
1: +};
1: +
1: +enum pwm_polarity {
1: + PWM_POLARITY_NORMAL = 0,
1: + PWM_POLARITY_INVERSED = 1,
1: +};
1: +
1: +struct pwm_args {
1: + unsigned int period;
1: + enum pwm_polarity polarity;
1: +};
1: +
1: +struct pwm_state {
1: + unsigned int period;
1: + unsigned int duty_cycle;
1: + enum pwm_polarity polarity;
1: + bool enabled;
1: +};
1: +
1: +struct pwm_chip;
1: +
1: +struct pwm_device {
1: + const char *label;
1: + long unsigned int flags;
1: + unsigned int hwpwm;
1: + unsigned int pwm;
1: + struct pwm_chip *chip;
1: + void *chip_data;
1: + struct pwm_args args;
1: + struct pwm_state state;
1: +};
1: +
1: +struct pwm_ops;
1: +
1: +struct pwm_chip {
1: + struct device *dev;
1: + const struct pwm_ops *ops;
1: + int base;
1: + unsigned int npwm;
1: + struct pwm_device * (*of_xlate)(struct pwm_chip *, const struct of_phandle_args *);
1: + unsigned int of_pwm_n_cells;
1: + struct list_head list;
1: + struct pwm_device *pwms;
1: +};
1: +
1: +struct pwm_capture;
1: +
1: +struct pwm_ops {
1: + int (*request)(struct pwm_chip *, struct pwm_device *);
1: + void (*free)(struct pwm_chip *, struct pwm_device *);
1: + int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
1: + int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
1: + void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
1: + struct module *owner;
1: + int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
1: + int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
1: + int (*enable)(struct pwm_chip *, struct pwm_device *);
1: + void (*disable)(struct pwm_chip *, struct pwm_device *);
1: +};
1: +
1: +struct pwm_capture {
1: + unsigned int period;
1: + unsigned int duty_cycle;
1: +};
1: +
1: +struct intel_sdvo_caps {
1: + u8 vendor_id;
1: + u8 device_id;
1: + u8 device_rev_id;
1: + u8 sdvo_version_major;
1: + u8 sdvo_version_minor;
1: + unsigned int sdvo_inputs_mask: 2;
1: + unsigned int smooth_scaling: 1;
1: + unsigned int sharp_scaling: 1;
1: + unsigned int up_scaling: 1;
1: + unsigned int down_scaling: 1;
1: + unsigned int stall_support: 1;
1: + unsigned int pad: 1;
1: + u16 output_flags;
1: +};
1: +
1: +struct intel_sdvo_dtd {
1: + struct {
1: + u16 clock;
1: + u8 h_active;
1: + u8 h_blank;
1: + u8 h_high;
1: + u8 v_active;
1: + u8 v_blank;
1: + u8 v_high;
1: + } part1;
1: + struct {
1: + u8 h_sync_off;
1: + u8 h_sync_width;
1: + u8 v_sync_off_width;
1: + u8 sync_off_width_high;
1: + u8 dtd_flags;
1: + u8 sdvo_flags;
1: + u8 v_sync_off_high;
1: + u8 reserved;
1: + } part2;
1: +};
1: +
1: +struct intel_sdvo_pixel_clock_range {
1: + u16 min;
1: + u16 max;
1: +};
1: +
1: +struct intel_sdvo_preferred_input_timing_args {
1: + u16 clock;
1: + u16 width;
1: + u16 height;
1: + u8 interlace: 1;
1: + u8 scaled: 1;
1: + u8 pad: 6;
1: +} __attribute__((packed));
1: +
1: +struct intel_sdvo_get_trained_inputs_response {
1: + unsigned int input0_trained: 1;
1: + unsigned int input1_trained: 1;
1: + unsigned int pad: 6;
1: +} __attribute__((packed));
1: +
1: +struct intel_sdvo_in_out_map {
1: + u16 in0;
1: + u16 in1;
1: +};
1: +
1: +struct intel_sdvo_set_target_input_args {
1: + unsigned int target_1: 1;
1: + unsigned int pad: 7;
1: +} __attribute__((packed));
1: +
1: +struct intel_sdvo_tv_format {
1: + unsigned int ntsc_m: 1;
1: + unsigned int ntsc_j: 1;
1: + unsigned int ntsc_443: 1;
1: + unsigned int pal_b: 1;
1: + unsigned int pal_d: 1;
1: + unsigned int pal_g: 1;
1: + unsigned int pal_h: 1;
1: + unsigned int pal_i: 1;
1: + unsigned int pal_m: 1;
1: + unsigned int pal_n: 1;
1: + unsigned int pal_nc: 1;
1: + unsigned int pal_60: 1;
1: + unsigned int secam_b: 1;
1: + unsigned int secam_d: 1;
1: + unsigned int secam_g: 1;
1: + unsigned int secam_k: 1;
1: + unsigned int secam_k1: 1;
1: + unsigned int secam_l: 1;
1: + unsigned int secam_60: 1;
1: + unsigned int hdtv_std_smpte_240m_1080i_59: 1;
1: + unsigned int hdtv_std_smpte_240m_1080i_60: 1;
1: + unsigned int hdtv_std_smpte_260m_1080i_59: 1;
1: + unsigned int hdtv_std_smpte_260m_1080i_60: 1;
1: + unsigned int hdtv_std_smpte_274m_1080i_50: 1;
1: + unsigned int hdtv_std_smpte_274m_1080i_59: 1;
1: + unsigned int hdtv_std_smpte_274m_1080i_60: 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_23: 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_24: 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_25: 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_29: 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_30: 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_50: 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_59: 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_60: 1;
1: + unsigned int hdtv_std_smpte_295m_1080i_50: 1;
1: + unsigned int hdtv_std_smpte_295m_1080p_50: 1;
1: + unsigned int hdtv_std_smpte_296m_720p_59: 1;
1: + unsigned int hdtv_std_smpte_296m_720p_60: 1;
1: + unsigned int hdtv_std_smpte_296m_720p_50: 1;
1: + unsigned int hdtv_std_smpte_293m_480p_59: 1;
1: + unsigned int hdtv_std_smpte_170m_480i_59: 1;
1: + unsigned int hdtv_std_iturbt601_576i_50: 1;
1: + unsigned int hdtv_std_iturbt601_576p_50: 1;
1: + unsigned int hdtv_std_eia_7702a_480i_60: 1;
1: + unsigned int hdtv_std_eia_7702a_480p_60: 1;
1: + unsigned int pad: 3;
1: +} __attribute__((packed));
1: +
1: +struct intel_sdvo_sdtv_resolution_request {
1: + unsigned int ntsc_m: 1;
1: + unsigned int ntsc_j: 1;
1: + unsigned int ntsc_443: 1;
1: + unsigned int pal_b: 1;
1: + unsigned int pal_d: 1;
1: + unsigned int pal_g: 1;
1: + unsigned int pal_h: 1;
1: + unsigned int pal_i: 1;
1: + unsigned int pal_m: 1;
1: + unsigned int pal_n: 1;
1: + unsigned int pal_nc: 1;
1: + unsigned int pal_60: 1;
1: + unsigned int secam_b: 1;
1: + unsigned int secam_d: 1;
1: + unsigned int secam_g: 1;
1: + unsigned int secam_k: 1;
1: + unsigned int secam_k1: 1;
1: + unsigned int secam_l: 1;
1: + unsigned int secam_60: 1;
1: + unsigned int pad: 5;
1: +} __attribute__((packed));
1: +
1: +struct intel_sdvo_enhancements_reply {
1: + unsigned int flicker_filter: 1;
1: + unsigned int flicker_filter_adaptive: 1;
1: + unsigned int flicker_filter_2d: 1;
1: + unsigned int saturation: 1;
1: + unsigned int hue: 1;
1: + unsigned int brightness: 1;
1: + unsigned int contrast: 1;
1: + unsigned int overscan_h: 1;
1: + unsigned int overscan_v: 1;
1: + unsigned int hpos: 1;
1: + unsigned int vpos: 1;
1: + unsigned int sharpness: 1;
1: + unsigned int dot_crawl: 1;
1: + unsigned int dither: 1;
1: + unsigned int tv_chroma_filter: 1;
1: + unsigned int tv_luma_filter: 1;
1: +} __attribute__((packed));
1: +
1: +struct intel_sdvo_encode {
1: + u8 dvi_rev;
1: + u8 hdmi_rev;
1: +};
1: +
1: +struct intel_sdvo {
1: + struct intel_encoder base;
1: + struct i2c_adapter *i2c;
1: + u8 slave_addr;
1: + long: 56;
1: + struct i2c_adapter ddc;
1: + i915_reg_t sdvo_reg;
1: + u16 controlled_output;
1: + struct intel_sdvo_caps caps;
1: + short: 16;
1: + int pixel_clock_min;
1: + int pixel_clock_max;
1: + u16 attached_output;
1: + u16 hotplug_active;
1: + enum port port;
1: + bool has_hdmi_monitor;
1: + bool has_hdmi_audio;
1: + u8 ddc_bus;
1: + u8 dtd_sdvo_flags;
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct intel_sdvo_connector {
1: + struct intel_connector base;
1: + u16 output_flag;
1: + u8 tv_format_supported[19];
1: + int format_supported_num;
1: + struct drm_property *tv_format;
1: + struct drm_property *left;
1: + struct drm_property *right;
1: + struct drm_property *top;
1: + struct drm_property *bottom;
1: + struct drm_property *hpos;
1: + struct drm_property *vpos;
1: + struct drm_property *contrast;
1: + struct drm_property *saturation;
1: + struct drm_property *hue;
1: + struct drm_property *sharpness;
1: + struct drm_property *flicker_filter;
1: + struct drm_property *flicker_filter_adaptive;
1: + struct drm_property *flicker_filter_2d;
1: + struct drm_property *tv_chroma_filter;
1: + struct drm_property *tv_luma_filter;
1: + struct drm_property *dot_crawl;
1: + struct drm_property *brightness;
1: + u32 max_hscan;
1: + u32 max_vscan;
1: + bool is_hdmi;
1: +};
1: +
1: +struct intel_sdvo_connector_state {
1: + struct intel_digital_connector_state base;
1: + struct {
1: + unsigned int overscan_h;
1: + unsigned int overscan_v;
1: + unsigned int hpos;
1: + unsigned int vpos;
1: + unsigned int sharpness;
1: + unsigned int flicker_filter;
1: + unsigned int flicker_filter_2d;
1: + unsigned int flicker_filter_adaptive;
1: + unsigned int chroma_filter;
1: + unsigned int luma_filter;
1: + unsigned int dot_crawl;
1: + } tv;
1: +};
1: +
1: +struct intel_tv {
1: + struct intel_encoder base;
1: + int type;
1: +};
1: +
1: +struct video_levels {
1: + u16 blank;
1: + u16 black;
1: + u8 burst;
1: +};
1: +
1: +struct color_conversion {
1: + u16 ry;
1: + u16 gy;
1: + u16 by;
1: + u16 ay;
1: + u16 ru;
1: + u16 gu;
1: + u16 bu;
1: + u16 au;
1: + u16 rv;
1: + u16 gv;
1: + u16 bv;
1: + u16 av;
1: +};
1: +
1: +struct tv_mode {
1: + const char *name;
1: + u32 clock;
1: + u16 refresh;
1: + u8 oversample;
1: + u8 hsync_end;
1: + u16 hblank_start;
1: + u16 hblank_end;
1: + u16 htotal;
1: + bool progressive: 1;
1: + bool trilevel_sync: 1;
1: + bool component_only: 1;
1: + u8 vsync_start_f1;
1: + u8 vsync_start_f2;
1: + u8 vsync_len;
1: + bool veq_ena: 1;
1: + u8 veq_start_f1;
1: + u8 veq_start_f2;
1: + u8 veq_len;
1: + u8 vi_end_f1;
1: + u8 vi_end_f2;
1: + u16 nbr_end;
1: + bool burst_ena: 1;
1: + u8 hburst_start;
1: + u8 hburst_len;
1: + u8 vburst_start_f1;
1: + u16 vburst_end_f1;
1: + u8 vburst_start_f2;
1: + u16 vburst_end_f2;
1: + u8 vburst_start_f3;
1: + u16 vburst_end_f3;
1: + u8 vburst_start_f4;
1: + u16 vburst_end_f4;
1: + u16 dda2_size;
1: + u16 dda3_size;
1: + u8 dda1_inc;
1: + u16 dda2_inc;
1: + u16 dda3_inc;
1: + u32 sc_reset;
1: + bool pal_burst: 1;
1: + const struct video_levels *composite_levels;
1: + const struct video_levels *svideo_levels;
1: + const struct color_conversion *composite_color;
1: + const struct color_conversion *svideo_color;
1: + const u32 *filter_table;
1: +};
1: +
1: +struct intel_tv_connector_state {
1: + struct drm_connector_state base;
1: + struct {
1: + u16 top;
1: + u16 bottom;
1: + } margins;
1: + bool bypass_vfilter;
1: +};
1: +
1: +struct input_res {
1: + u16 w;
1: + u16 h;
1: +};
1: +
1: +struct drm_dsc_pps_infoframe {
1: + struct dp_sdp_header pps_header;
1: + struct drm_dsc_picture_parameter_set pps_payload;
1: +};
1: +
1: +enum ROW_INDEX_BPP {
1: + ROW_INDEX_6BPP = 0,
1: + ROW_INDEX_8BPP = 1,
1: + ROW_INDEX_10BPP = 2,
1: + ROW_INDEX_12BPP = 3,
1: + ROW_INDEX_15BPP = 4,
1: + MAX_ROW_INDEX = 5,
1: +};
1: +
1: +enum COLUMN_INDEX_BPC {
1: + COLUMN_INDEX_8BPC = 0,
1: + COLUMN_INDEX_10BPC = 1,
1: + COLUMN_INDEX_12BPC = 2,
1: + COLUMN_INDEX_14BPC = 3,
1: + COLUMN_INDEX_16BPC = 4,
1: + MAX_COLUMN_INDEX = 5,
1: +};
1: +
1: +struct rc_parameters {
1: + u16 initial_xmit_delay;
1: + u8 first_line_bpg_offset;
1: + u16 initial_offset;
1: + u8 flatness_min_qp;
1: + u8 flatness_max_qp;
1: + u8 rc_quant_incr_limit0;
1: + u8 rc_quant_incr_limit1;
1: + struct drm_dsc_rc_range_parameters rc_range_params[15];
1: +};
1: +
1: +enum drm_i915_oa_format {
1: + I915_OA_FORMAT_A13 = 1,
1: + I915_OA_FORMAT_A29 = 2,
1: + I915_OA_FORMAT_A13_B8_C8 = 3,
1: + I915_OA_FORMAT_B4_C8 = 4,
1: + I915_OA_FORMAT_A45_B8_C8 = 5,
1: + I915_OA_FORMAT_B4_C8_A16 = 6,
1: + I915_OA_FORMAT_C4_B8 = 7,
1: + I915_OA_FORMAT_A12 = 8,
1: + I915_OA_FORMAT_A12_B8_C8 = 9,
1: + I915_OA_FORMAT_A32u40_A4u32_B8_C8 = 10,
1: + I915_OA_FORMAT_MAX = 11,
1: +};
1: +
1: +enum drm_i915_perf_property_id {
1: + DRM_I915_PERF_PROP_CTX_HANDLE = 1,
1: + DRM_I915_PERF_PROP_SAMPLE_OA = 2,
1: + DRM_I915_PERF_PROP_OA_METRICS_SET = 3,
1: + DRM_I915_PERF_PROP_OA_FORMAT = 4,
1: + DRM_I915_PERF_PROP_OA_EXPONENT = 5,
1: + DRM_I915_PERF_PROP_HOLD_PREEMPTION = 6,
1: + DRM_I915_PERF_PROP_MAX = 7,
1: +};
1: +
1: +struct drm_i915_perf_open_param {
1: + __u32 flags;
1: + __u32 num_properties;
1: + __u64 properties_ptr;
1: +};
1: +
1: +struct drm_i915_perf_record_header {
1: + __u32 type;
1: + __u16 pad;
1: + __u16 size;
1: +};
1: +
1: +enum drm_i915_perf_record_type {
1: + DRM_I915_PERF_RECORD_SAMPLE = 1,
1: + DRM_I915_PERF_RECORD_OA_REPORT_LOST = 2,
1: + DRM_I915_PERF_RECORD_OA_BUFFER_LOST = 3,
1: + DRM_I915_PERF_RECORD_MAX = 4,
1: +};
1: +
1: +struct perf_open_properties {
1: + u32 sample_flags;
1: + u64 single_context: 1;
1: + u64 hold_preemption: 1;
1: + u64 ctx_handle;
1: + int metrics_set;
1: + int oa_format;
1: + bool oa_periodic;
1: + int oa_period_exponent;
1: + struct intel_engine_cs *engine;
1: +};
1: +
1: +struct i915_oa_config_bo {
1: + struct llist_node node;
1: + struct i915_oa_config *oa_config;
1: + struct i915_vma *vma;
1: +};
1: +
1: +struct flex {
1: + i915_reg_t reg;
1: + u32 offset;
1: + u32 value;
1: +};
1: +
1: +struct compress {
1: + struct pagevec pool;
1: + struct z_stream_s zstream;
1: + void *tmp;
1: + bool wc;
1: +};
1: +
1: +struct capture_vma {
1: + struct capture_vma *next;
1: + void **slot;
1: +};
1: +
1: +struct _balloon_info_ {
1: + struct drm_mm_node space[4];
1: +};
1: +
1: +struct vga_device {
1: + struct list_head list;
1: + struct pci_dev *pdev;
1: + unsigned int decodes;
1: + unsigned int owns;
1: + unsigned int locks;
1: + unsigned int io_lock_cnt;
1: + unsigned int mem_lock_cnt;
1: + unsigned int io_norm_cnt;
1: + unsigned int mem_norm_cnt;
1: + bool bridge_has_one_vga;
1: + void *cookie;
1: + void (*irq_set_state)(void *, bool);
1: + unsigned int (*set_vga_decode)(void *, bool);
1: +};
1: +
1: +struct vga_arb_user_card {
1: + struct pci_dev *pdev;
1: + unsigned int mem_cnt;
1: + unsigned int io_cnt;
1: +};
1: +
1: +struct vga_arb_private {
1: + struct list_head list;
1: + struct pci_dev *target;
1: + struct vga_arb_user_card cards[16];
1: + spinlock_t lock;
1: +};
1: +
1: +struct cb_id {
1: + __u32 idx;
1: + __u32 val;
1: +};
1: +
1: +struct cn_msg {
1: + struct cb_id id;
1: + __u32 seq;
1: + __u32 ack;
1: + __u16 len;
1: + __u16 flags;
1: + __u8 data[0];
1: +};
1: +
1: +struct cn_queue_dev {
1: + atomic_t refcnt;
1: + unsigned char name[32];
1: + struct list_head queue_list;
1: + spinlock_t queue_lock;
1: + struct sock *nls;
1: +};
1: +
1: +struct cn_callback_id {
1: + unsigned char name[32];
1: + struct cb_id id;
1: +};
1: +
1: +struct cn_callback_entry {
1: + struct list_head callback_entry;
1: + refcount_t refcnt;
1: + struct cn_queue_dev *pdev;
1: + struct cn_callback_id id;
1: + void (*callback)(struct cn_msg *, struct netlink_skb_parms *);
1: + u32 seq;
1: + u32 group;
1: +};
1: +
1: +struct cn_dev {
1: + struct cb_id id;
1: + u32 seq;
1: + u32 groups;
1: + struct sock *nls;
1: + struct cn_queue_dev *cbdev;
1: +};
1: +
1: +enum proc_cn_mcast_op {
1: + PROC_CN_MCAST_LISTEN = 1,
1: + PROC_CN_MCAST_IGNORE = 2,
1: +};
1: +
1: +struct fork_proc_event {
1: + __kernel_pid_t parent_pid;
1: + __kernel_pid_t parent_tgid;
1: + __kernel_pid_t child_pid;
1: + __kernel_pid_t child_tgid;
1: +};
1: +
1: +struct exec_proc_event {
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: +};
1: +
1: +struct id_proc_event {
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + union {
1: + __u32 ruid;
1: + __u32 rgid;
1: + } r;
1: + union {
1: + __u32 euid;
1: + __u32 egid;
1: + } e;
1: +};
1: +
1: +struct sid_proc_event {
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: +};
1: +
1: +struct ptrace_proc_event {
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + __kernel_pid_t tracer_pid;
1: + __kernel_pid_t tracer_tgid;
1: +};
1: +
1: +struct comm_proc_event {
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + char comm[16];
1: +};
1: +
1: +struct coredump_proc_event {
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + __kernel_pid_t parent_pid;
1: + __kernel_pid_t parent_tgid;
1: +};
1: +
1: +struct exit_proc_event {
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + __u32 exit_code;
1: + __u32 exit_signal;
1: + __kernel_pid_t parent_pid;
1: + __kernel_pid_t parent_tgid;
1: +};
1: +
1: +struct proc_event {
1: + enum what what;
1: + __u32 cpu;
1: + __u64 timestamp_ns;
1: + union {
1: + struct {
1: + __u32 err;
1: + } ack;
1: + struct fork_proc_event fork;
1: + struct exec_proc_event exec;
1: + struct id_proc_event id;
1: + struct sid_proc_event sid;
1: + struct ptrace_proc_event ptrace;
1: + struct comm_proc_event comm;
1: + struct coredump_proc_event coredump;
1: + struct exit_proc_event exit;
1: + } event_data;
1: +};
1: +
1: +struct component_master_ops {
1: + int (*bind)(struct device *);
1: + void (*unbind)(struct device *);
1: +};
1: +
1: +struct component;
1: +
1: +struct component_match_array {
1: + void *data;
1: + int (*compare)(struct device *, void *);
1: + int (*compare_typed)(struct device *, int, void *);
1: + void (*release)(struct device *, void *);
1: + struct component *component;
1: + bool duplicate;
1: +};
1: +
1: +struct master;
1: +
1: +struct component {
1: + struct list_head node;
1: + struct master *master;
1: + bool bound;
1: + const struct component_ops *ops;
1: + int subcomponent;
1: + struct device *dev;
1: +};
1: +
1: +struct component_match {
1: + size_t alloc;
1: + size_t num;
1: + struct component_match_array *compare;
1: +};
1: +
1: +struct master {
1: + struct list_head node;
1: + bool bound;
1: + const struct component_master_ops *ops;
1: + struct device *dev;
1: + struct component_match *match;
1: + struct dentry *dentry;
1: +};
1: +
1: +struct wake_irq {
1: + struct device *dev;
1: + unsigned int status;
1: + int irq;
1: + const char *name;
1: +};
1: +
1: +enum dpm_order {
1: + DPM_ORDER_NONE = 0,
1: + DPM_ORDER_DEV_AFTER_PARENT = 1,
1: + DPM_ORDER_PARENT_BEFORE_DEV = 2,
1: + DPM_ORDER_DEV_LAST = 3,
1: +};
1: +
1: +struct subsys_private {
1: + struct kset subsys;
1: + struct kset *devices_kset;
1: + struct list_head interfaces;
1: + struct mutex mutex;
1: + struct kset *drivers_kset;
1: + struct klist klist_devices;
1: + struct klist klist_drivers;
1: + struct blocking_notifier_head bus_notifier;
1: + unsigned int drivers_autoprobe: 1;
1: + struct bus_type *bus;
1: + struct kset glue_dirs;
1: + struct class *class;
1: +};
1: +
1: +struct driver_private {
1: + struct kobject kobj;
1: + struct klist klist_devices;
1: + struct klist_node knode_bus;
1: + struct module_kobject *mkobj;
1: + struct device_driver *driver;
1: +};
1: +
1: +struct device_private {
1: + struct klist klist_children;
1: + struct klist_node knode_parent;
1: + struct klist_node knode_driver;
1: + struct klist_node knode_bus;
1: + struct klist_node knode_class;
1: + struct list_head deferred_probe;
1: + struct device_driver *async_driver;
1: + struct device *device;
1: + u8 dead: 1;
1: +};
1: +
1: +union device_attr_group_devres {
1: + const struct attribute_group *group;
1: + const struct attribute_group **groups;
1: +};
1: +
1: +struct class_dir {
1: + struct kobject kobj;
1: + struct class *class;
1: +};
1: +
1: +struct root_device {
1: + struct device dev;
1: + struct module *owner;
1: +};
1: +
1: +struct subsys_dev_iter {
1: + struct klist_iter ki;
1: + const struct device_type *type;
1: +};
1: +
1: +struct device_attach_data {
1: + struct device *dev;
1: + bool check_async;
1: + bool want_async;
1: + bool have_async;
1: +};
1: +
1: +struct class_compat {
1: + struct kobject *kobj;
1: +};
1: +
1: +struct platform_object {
1: + struct platform_device pdev;
1: + char name[0];
1: +};
1: +
1: +struct cpu_attr {
1: + struct device_attribute attr;
1: + const struct cpumask * const map;
1: +};
1: +
1: +struct probe {
1: + struct probe *next;
1: + dev_t dev;
1: + long unsigned int range;
1: + struct module *owner;
1: + kobj_probe_t___2 *get;
1: + int (*lock)(dev_t, void *);
1: + void *data;
1: +};
1: +
1: +struct kobj_map___2 {
1: + struct probe *probes[255];
1: + struct mutex *lock;
1: +};
1: +
1: +struct devres_node {
1: + struct list_head entry;
1: + dr_release_t release;
1: + const char *name;
1: + size_t size;
1: +};
1: +
1: +struct devres {
1: + struct devres_node node;
1: + u8 data[0];
1: +};
1: +
1: +struct devres_group {
1: + struct devres_node node[2];
1: + void *id;
1: + int color;
1: +};
1: +
1: +struct action_devres {
1: + void *data;
1: + void (*action)(void *);
1: +};
1: +
1: +struct pages_devres {
1: + long unsigned int addr;
1: + unsigned int order;
1: +};
1: +
1: +struct attribute_container {
1: + struct list_head node;
1: + struct klist containers;
1: + struct class *class;
1: + const struct attribute_group *grp;
1: + struct device_attribute **attrs;
1: + int (*match)(struct attribute_container *, struct device *);
1: + long unsigned int flags;
1: +};
1: +
1: +struct internal_container {
1: + struct klist_node node;
1: + struct attribute_container *cont;
1: + struct device classdev;
1: +};
1: +
1: +struct transport_container;
1: +
1: +struct transport_class {
1: + struct class class;
1: + int (*setup)(struct transport_container *, struct device *, struct device *);
1: + int (*configure)(struct transport_container *, struct device *, struct device *);
1: + int (*remove)(struct transport_container *, struct device *, struct device *);
1: +};
1: +
1: +struct transport_container {
1: + struct attribute_container ac;
1: + const struct attribute_group *statistics;
1: +};
1: +
1: +struct anon_transport_class {
1: + struct transport_class tclass;
1: + struct attribute_container container;
1: +};
1: +
1: +struct reset_control;
1: +
1: +struct mii_bus;
1: +
1: +struct mdio_device {
1: + struct device dev;
1: + struct mii_bus *bus;
1: + char modalias[32];
1: + int (*bus_match)(struct device *, struct device_driver *);
1: + void (*device_free)(struct mdio_device *);
1: + void (*device_remove)(struct mdio_device *);
1: + int addr;
1: + int flags;
1: + struct gpio_desc *reset_gpio;
1: + struct reset_control *reset_ctrl;
1: + unsigned int reset_assert_delay;
1: + unsigned int reset_deassert_delay;
1: +};
1: +
1: +struct phy_c45_device_ids {
1: + u32 devices_in_package;
1: + u32 device_ids[8];
1: +};
1: +
1: +enum phy_state {
1: + PHY_DOWN = 0,
1: + PHY_READY = 1,
1: + PHY_HALTED = 2,
1: + PHY_UP = 3,
1: + PHY_RUNNING = 4,
1: + PHY_NOLINK = 5,
1: +};
1: +
1: +typedef enum {
1: + PHY_INTERFACE_MODE_NA = 0,
1: + PHY_INTERFACE_MODE_INTERNAL = 1,
1: + PHY_INTERFACE_MODE_MII = 2,
1: + PHY_INTERFACE_MODE_GMII = 3,
1: + PHY_INTERFACE_MODE_SGMII = 4,
1: + PHY_INTERFACE_MODE_TBI = 5,
1: + PHY_INTERFACE_MODE_REVMII = 6,
1: + PHY_INTERFACE_MODE_RMII = 7,
1: + PHY_INTERFACE_MODE_RGMII = 8,
1: + PHY_INTERFACE_MODE_RGMII_ID = 9,
1: + PHY_INTERFACE_MODE_RGMII_RXID = 10,
1: + PHY_INTERFACE_MODE_RGMII_TXID = 11,
1: + PHY_INTERFACE_MODE_RTBI = 12,
1: + PHY_INTERFACE_MODE_SMII = 13,
1: + PHY_INTERFACE_MODE_XGMII = 14,
1: + PHY_INTERFACE_MODE_MOCA = 15,
1: + PHY_INTERFACE_MODE_QSGMII = 16,
1: + PHY_INTERFACE_MODE_TRGMII = 17,
1: + PHY_INTERFACE_MODE_1000BASEX = 18,
1: + PHY_INTERFACE_MODE_2500BASEX = 19,
1: + PHY_INTERFACE_MODE_RXAUI = 20,
1: + PHY_INTERFACE_MODE_XAUI = 21,
1: + PHY_INTERFACE_MODE_10GKR = 22,
1: + PHY_INTERFACE_MODE_USXGMII = 23,
1: + PHY_INTERFACE_MODE_MAX = 24,
1: +} phy_interface_t;
1: +
1: +struct phylink;
1: +
1: +struct phy_driver;
1: +
1: +struct phy_device {
1: + struct mdio_device mdio;
1: + struct phy_driver *drv;
1: + u32 phy_id;
1: + struct phy_c45_device_ids c45_ids;
1: + unsigned int is_c45: 1;
1: + unsigned int is_internal: 1;
1: + unsigned int is_pseudo_fixed_link: 1;
1: + unsigned int is_gigabit_capable: 1;
1: + unsigned int has_fixups: 1;
1: + unsigned int suspended: 1;
1: + unsigned int sysfs_links: 1;
1: + unsigned int loopback_enabled: 1;
1: + unsigned int autoneg: 1;
1: + unsigned int link: 1;
1: + unsigned int autoneg_complete: 1;
1: + unsigned int interrupts: 1;
1: + enum phy_state state;
1: + u32 dev_flags;
1: + phy_interface_t interface;
1: + int speed;
1: + int duplex;
1: + int pause;
1: + int asym_pause;
1: + long unsigned int supported[2];
1: + long unsigned int advertising[2];
1: + long unsigned int lp_advertising[2];
1: + long unsigned int adv_old[2];
1: + u32 eee_broken_modes;
1: + int irq;
1: + void *priv;
1: + struct delayed_work state_queue;
1: + struct mutex lock;
1: + bool sfp_bus_attached;
1: + struct sfp_bus *sfp_bus;
1: + struct phylink *phylink;
1: + struct net_device *attached_dev;
1: + u8 mdix;
1: + u8 mdix_ctrl;
1: + void (*phy_link_change)(struct phy_device *, bool, bool);
1: + void (*adjust_link)(struct net_device *);
1: +};
1: +
1: +struct mii_bus {
1: + struct module *owner;
1: + const char *name;
1: + char id[61];
1: + void *priv;
1: + int (*read)(struct mii_bus *, int, int);
1: + int (*write)(struct mii_bus *, int, int, u16);
1: + int (*reset)(struct mii_bus *);
1: + struct mutex mdio_lock;
1: + struct device *parent;
1: + enum {
1: + MDIOBUS_ALLOCATED = 1,
1: + MDIOBUS_REGISTERED = 2,
1: + MDIOBUS_UNREGISTERED = 3,
1: + MDIOBUS_RELEASED = 4,
1: + } state;
1: + struct device dev;
1: + struct mdio_device *mdio_map[32];
1: + u32 phy_mask;
1: + u32 phy_ignore_ta_mask;
1: + int irq[32];
1: + int reset_delay_us;
1: + struct gpio_desc *reset_gpiod;
1: +};
1: +
1: +struct mdio_driver_common {
1: + struct device_driver driver;
1: + int flags;
1: +};
1: +
1: +struct phy_driver {
1: + struct mdio_driver_common mdiodrv;
1: + u32 phy_id;
1: + char *name;
1: + u32 phy_id_mask;
1: + const long unsigned int * const features;
1: + u32 flags;
1: + const void *driver_data;
1: + int (*soft_reset)(struct phy_device *);
1: + int (*config_init)(struct phy_device *);
1: + int (*probe)(struct phy_device *);
1: + int (*get_features)(struct phy_device *);
1: + int (*suspend)(struct phy_device *);
1: + int (*resume)(struct phy_device *);
1: + int (*config_aneg)(struct phy_device *);
1: + int (*aneg_done)(struct phy_device *);
1: + int (*read_status)(struct phy_device *);
1: + int (*ack_interrupt)(struct phy_device *);
1: + int (*config_intr)(struct phy_device *);
1: + int (*did_interrupt)(struct phy_device *);
1: + int (*handle_interrupt)(struct phy_device *);
1: + void (*remove)(struct phy_device *);
1: + int (*match_phy_device)(struct phy_device *);
1: + int (*ts_info)(struct phy_device *, struct ethtool_ts_info *);
1: + int (*hwtstamp)(struct phy_device *, struct ifreq *);
1: + bool (*rxtstamp)(struct phy_device *, struct sk_buff *, int);
1: + void (*txtstamp)(struct phy_device *, struct sk_buff *, int);
1: + int (*set_wol)(struct phy_device *, struct ethtool_wolinfo *);
1: + void (*get_wol)(struct phy_device *, struct ethtool_wolinfo *);
1: + void (*link_change_notify)(struct phy_device *);
1: + int (*read_mmd)(struct phy_device *, int, u16);
1: + int (*write_mmd)(struct phy_device *, int, u16, u16);
1: + int (*read_page)(struct phy_device *);
1: + int (*write_page)(struct phy_device *, int);
1: + int (*module_info)(struct phy_device *, struct ethtool_modinfo *);
1: + int (*module_eeprom)(struct phy_device *, struct ethtool_eeprom *, u8 *);
1: + int (*get_sset_count)(struct phy_device *);
1: + void (*get_strings)(struct phy_device *, u8 *);
1: + void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *);
1: + int (*get_tunable)(struct phy_device *, struct ethtool_tunable *, void *);
1: + int (*set_tunable)(struct phy_device *, struct ethtool_tunable *, const void *);
1: + int (*set_loopback)(struct phy_device *, bool);
1: +};
1: +
1: +struct device_connection {
1: + struct fwnode_handle *fwnode;
1: + const char *endpoint[2];
1: + const char *id;
1: + struct list_head list;
1: +};
1: +
1: +typedef void * (*devcon_match_fn_t)(struct device_connection *, int, void *);
1: +
1: +struct software_node;
1: +
1: +struct software_node_ref_args {
1: + const struct software_node *node;
1: + unsigned int nargs;
1: + u64 args[8];
1: +};
1: +
1: +struct software_node_reference;
1: +
1: +struct software_node {
1: + const char *name;
1: + const struct software_node *parent;
1: + const struct property_entry *properties;
1: + const struct software_node_reference *references;
1: +};
1: +
1: +struct software_node_reference {
1: + const char *name;
1: + unsigned int nrefs;
1: + const struct software_node_ref_args *refs;
1: +};
1: +
1: +struct swnode {
1: + int id;
1: + struct kobject kobj;
1: + struct fwnode_handle fwnode;
1: + const struct software_node *node;
1: + struct ida child_ids;
1: + struct list_head entry;
1: + struct list_head children;
1: + struct swnode *parent;
1: + unsigned int allocated: 1;
1: +};
1: +
1: +struct req {
1: + struct req *next;
1: + struct completion done;
1: + int err;
1: + const char *name;
1: + umode_t mode;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct device *dev;
1: +};
1: +
1: +typedef int (*pm_callback_t)(struct device *);
1: +
1: +struct pm_clk_notifier_block {
1: + struct notifier_block nb;
1: + struct dev_pm_domain *pm_domain;
1: + char *con_ids[0];
1: +};
1: +
1: +enum pce_status {
1: + PCE_STATUS_NONE = 0,
1: + PCE_STATUS_ACQUIRED = 1,
1: + PCE_STATUS_ENABLED = 2,
1: + PCE_STATUS_ERROR = 3,
1: +};
1: +
1: +struct pm_clock_entry {
1: + struct list_head node;
1: + char *con_id;
1: + struct clk *clk;
1: + enum pce_status status;
1: +};
1: +
1: +enum fw_opt {
1: + FW_OPT_UEVENT = 1,
1: + FW_OPT_NOWAIT = 2,
1: + FW_OPT_USERHELPER = 4,
1: + FW_OPT_NO_WARN = 8,
1: + FW_OPT_NOCACHE = 16,
1: + FW_OPT_NOFALLBACK = 32,
1: +};
1: +
1: +enum fw_status {
1: + FW_STATUS_UNKNOWN = 0,
1: + FW_STATUS_LOADING = 1,
1: + FW_STATUS_DONE = 2,
1: + FW_STATUS_ABORTED = 3,
1: +};
1: +
1: +struct fw_state {
1: + struct completion completion;
1: + enum fw_status status;
1: +};
1: +
1: +struct firmware_cache;
1: +
1: +struct fw_priv {
1: + struct kref ref;
1: + struct list_head list;
1: + struct firmware_cache *fwc;
1: + struct fw_state fw_st;
1: + void *data;
1: + size_t size;
1: + size_t allocated_size;
1: + const char *fw_name;
1: +};
1: +
1: +struct firmware_cache {
1: + spinlock_t lock;
1: + struct list_head head;
1: + int state;
1: + spinlock_t name_lock;
1: + struct list_head fw_names;
1: + struct delayed_work work;
1: + struct notifier_block pm_notify;
1: +};
1: +
1: +struct fw_cache_entry {
1: + struct list_head list;
1: + const char *name;
1: +};
1: +
1: +struct fw_name_devm {
1: + long unsigned int magic;
1: + const char *name;
1: +};
1: +
1: +struct firmware_work {
1: + struct work_struct work;
1: + struct module *module;
1: + const char *name;
1: + struct device *device;
1: + void *context;
1: + void (*cont)(const struct firmware *, void *);
1: + enum fw_opt opt_flags;
1: +};
1: +
1: +struct node_access_nodes {
1: + struct device dev;
1: + struct list_head list_node;
1: + unsigned int access;
1: +};
1: +
1: +struct node_attr {
1: + struct device_attribute attr;
1: + enum node_states state;
1: +};
1: +
1: +enum regcache_type {
1: + REGCACHE_NONE = 0,
1: + REGCACHE_RBTREE = 1,
1: + REGCACHE_COMPRESSED = 2,
1: + REGCACHE_FLAT = 3,
1: +};
1: +
1: +struct reg_default {
1: + unsigned int reg;
1: + unsigned int def;
1: +};
1: +
1: +struct reg_sequence {
1: + unsigned int reg;
1: + unsigned int def;
1: + unsigned int delay_us;
1: +};
1: +
1: +enum regmap_endian {
1: + REGMAP_ENDIAN_DEFAULT = 0,
1: + REGMAP_ENDIAN_BIG = 1,
1: + REGMAP_ENDIAN_LITTLE = 2,
1: + REGMAP_ENDIAN_NATIVE = 3,
1: +};
1: +
1: +struct regmap_range {
1: + unsigned int range_min;
1: + unsigned int range_max;
1: +};
1: +
1: +struct regmap_access_table {
1: + const struct regmap_range *yes_ranges;
1: + unsigned int n_yes_ranges;
1: + const struct regmap_range *no_ranges;
1: + unsigned int n_no_ranges;
1: +};
1: +
1: +typedef void (*regmap_lock)(void *);
1: +
1: +typedef void (*regmap_unlock)(void *);
1: +
1: +struct regmap_range_cfg;
1: +
1: +struct regmap_config {
1: + const char *name;
1: + int reg_bits;
1: + int reg_stride;
1: + int pad_bits;
1: + int val_bits;
1: + bool (*writeable_reg)(struct device *, unsigned int);
1: + bool (*readable_reg)(struct device *, unsigned int);
1: + bool (*volatile_reg)(struct device *, unsigned int);
1: + bool (*precious_reg)(struct device *, unsigned int);
1: + bool (*writeable_noinc_reg)(struct device *, unsigned int);
1: + bool (*readable_noinc_reg)(struct device *, unsigned int);
1: + bool disable_locking;
1: + regmap_lock lock;
1: + regmap_unlock unlock;
1: + void *lock_arg;
1: + int (*reg_read)(void *, unsigned int, unsigned int *);
1: + int (*reg_write)(void *, unsigned int, unsigned int);
1: + bool fast_io;
1: + unsigned int max_register;
1: + const struct regmap_access_table *wr_table;
1: + const struct regmap_access_table *rd_table;
1: + const struct regmap_access_table *volatile_table;
1: + const struct regmap_access_table *precious_table;
1: + const struct regmap_access_table *wr_noinc_table;
1: + const struct regmap_access_table *rd_noinc_table;
1: + const struct reg_default *reg_defaults;
1: + unsigned int num_reg_defaults;
1: + enum regcache_type cache_type;
1: + const void *reg_defaults_raw;
1: + unsigned int num_reg_defaults_raw;
1: + long unsigned int read_flag_mask;
1: + long unsigned int write_flag_mask;
1: + bool zero_flag_mask;
1: + bool use_single_read;
1: + bool use_single_write;
1: + bool can_multi_write;
1: + enum regmap_endian reg_format_endian;
1: + enum regmap_endian val_format_endian;
1: + const struct regmap_range_cfg *ranges;
1: + unsigned int num_ranges;
1: + bool use_hwlock;
1: + unsigned int hwlock_id;
1: + unsigned int hwlock_mode;
1: +};
1: +
1: +struct regmap_range_cfg {
1: + const char *name;
1: + unsigned int range_min;
1: + unsigned int range_max;
1: + unsigned int selector_reg;
1: + unsigned int selector_mask;
1: + int selector_shift;
1: + unsigned int window_start;
1: + unsigned int window_len;
1: +};
1: +
1: +typedef int (*regmap_hw_write)(void *, const void *, size_t);
1: +
1: +typedef int (*regmap_hw_gather_write)(void *, const void *, size_t, const void *, size_t);
1: +
1: +struct regmap_async;
1: +
1: +typedef int (*regmap_hw_async_write)(void *, const void *, size_t, const void *, size_t, struct regmap_async *);
1: +
1: +struct regmap;
1: +
1: +struct regmap_async {
1: + struct list_head list;
1: + struct regmap *map;
1: + void *work_buf;
1: +};
1: +
1: +typedef int (*regmap_hw_read)(void *, const void *, size_t, void *, size_t);
1: +
1: +typedef int (*regmap_hw_reg_read)(void *, unsigned int, unsigned int *);
1: +
1: +typedef int (*regmap_hw_reg_write)(void *, unsigned int, unsigned int);
1: +
1: +typedef int (*regmap_hw_reg_update_bits)(void *, unsigned int, unsigned int, unsigned int);
1: +
1: +typedef struct regmap_async * (*regmap_hw_async_alloc)();
1: +
1: +typedef void (*regmap_hw_free_context)(void *);
1: +
1: +struct regmap_bus {
1: + bool fast_io;
1: + regmap_hw_write write;
1: + regmap_hw_gather_write gather_write;
1: + regmap_hw_async_write async_write;
1: + regmap_hw_reg_write reg_write;
1: + regmap_hw_reg_update_bits reg_update_bits;
1: + regmap_hw_read read;
1: + regmap_hw_reg_read reg_read;
1: + regmap_hw_free_context free_context;
1: + regmap_hw_async_alloc async_alloc;
1: + u8 read_flag_mask;
1: + enum regmap_endian reg_format_endian_default;
1: + enum regmap_endian val_format_endian_default;
1: + size_t max_raw_read;
1: + size_t max_raw_write;
1: +};
1: +
1: +struct reg_field {
1: + unsigned int reg;
1: + unsigned int lsb;
1: + unsigned int msb;
1: + unsigned int id_size;
1: + unsigned int id_offset;
1: +};
1: +
1: +struct regmap_format {
1: + size_t buf_size;
1: + size_t reg_bytes;
1: + size_t pad_bytes;
1: + size_t val_bytes;
1: + void (*format_write)(struct regmap *, unsigned int, unsigned int);
1: + void (*format_reg)(void *, unsigned int, unsigned int);
1: + void (*format_val)(void *, unsigned int, unsigned int);
1: + unsigned int (*parse_val)(const void *);
1: + void (*parse_inplace)(void *);
1: +};
1: +
1: +struct hwspinlock;
1: +
1: +struct regcache_ops;
1: +
1: +struct regmap {
1: + union {
1: + struct mutex mutex;
1: + struct {
1: + spinlock_t spinlock;
1: + long unsigned int spinlock_flags;
1: + };
1: + };
1: + regmap_lock lock;
1: + regmap_unlock unlock;
1: + void *lock_arg;
1: + gfp_t alloc_flags;
1: + struct device *dev;
1: + void *work_buf;
1: + struct regmap_format format;
1: + const struct regmap_bus *bus;
1: + void *bus_context;
1: + const char *name;
1: + bool async;
1: + spinlock_t async_lock;
1: + wait_queue_head_t async_waitq;
1: + struct list_head async_list;
1: + struct list_head async_free;
1: + int async_ret;
1: + bool debugfs_disable;
1: + struct dentry *debugfs;
1: + const char *debugfs_name;
1: + unsigned int debugfs_reg_len;
1: + unsigned int debugfs_val_len;
1: + unsigned int debugfs_tot_len;
1: + struct list_head debugfs_off_cache;
1: + struct mutex cache_lock;
1: + unsigned int max_register;
1: + bool (*writeable_reg)(struct device *, unsigned int);
1: + bool (*readable_reg)(struct device *, unsigned int);
1: + bool (*volatile_reg)(struct device *, unsigned int);
1: + bool (*precious_reg)(struct device *, unsigned int);
1: + bool (*writeable_noinc_reg)(struct device *, unsigned int);
1: + bool (*readable_noinc_reg)(struct device *, unsigned int);
1: + const struct regmap_access_table *wr_table;
1: + const struct regmap_access_table *rd_table;
1: + const struct regmap_access_table *volatile_table;
1: + const struct regmap_access_table *precious_table;
1: + const struct regmap_access_table *wr_noinc_table;
1: + const struct regmap_access_table *rd_noinc_table;
1: + int (*reg_read)(void *, unsigned int, unsigned int *);
1: + int (*reg_write)(void *, unsigned int, unsigned int);
1: + int (*reg_update_bits)(void *, unsigned int, unsigned int, unsigned int);
1: + bool defer_caching;
1: + long unsigned int read_flag_mask;
1: + long unsigned int write_flag_mask;
1: + int reg_shift;
1: + int reg_stride;
1: + int reg_stride_order;
1: + const struct regcache_ops *cache_ops;
1: + enum regcache_type cache_type;
1: + unsigned int cache_size_raw;
1: + unsigned int cache_word_size;
1: + unsigned int num_reg_defaults;
1: + unsigned int num_reg_defaults_raw;
1: + bool cache_only;
1: + bool cache_bypass;
1: + bool cache_free;
1: + struct reg_default *reg_defaults;
1: + const void *reg_defaults_raw;
1: + void *cache;
1: + bool cache_dirty;
1: + bool no_sync_defaults;
1: + struct reg_sequence *patch;
1: + int patch_regs;
1: + bool use_single_read;
1: + bool use_single_write;
1: + bool can_multi_write;
1: + size_t max_raw_read;
1: + size_t max_raw_write;
1: + struct rb_root range_tree;
1: + void *selector_work_buf;
1: + struct hwspinlock *hwlock;
1: +};
1: +
1: +struct regcache_ops {
1: + const char *name;
1: + enum regcache_type type;
1: + int (*init)(struct regmap *);
1: + int (*exit)(struct regmap *);
1: + void (*debugfs_init)(struct regmap *);
1: + int (*read)(struct regmap *, unsigned int, unsigned int *);
1: + int (*write)(struct regmap *, unsigned int, unsigned int);
1: + int (*sync)(struct regmap *, unsigned int, unsigned int);
1: + int (*drop)(struct regmap *, unsigned int, unsigned int);
1: +};
1: +
1: +struct regmap_range_node {
1: + struct rb_node node;
1: + const char *name;
1: + struct regmap *map;
1: + unsigned int range_min;
1: + unsigned int range_max;
1: + unsigned int selector_reg;
1: + unsigned int selector_mask;
1: + int selector_shift;
1: + unsigned int window_start;
1: + unsigned int window_len;
1: +};
1: +
1: +struct regmap_field {
1: + struct regmap *regmap;
1: + unsigned int mask;
1: + unsigned int shift;
1: + unsigned int reg;
1: + unsigned int id_size;
1: + unsigned int id_offset;
1: +};
1: +
1: +struct trace_event_raw_regmap_reg {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int reg;
1: + unsigned int val;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_regmap_block {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int reg;
1: + int count;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_regcache_sync {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u32 __data_loc_status;
1: + u32 __data_loc_type;
1: + int type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_regmap_bool {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + int flag;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_regmap_async {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_regcache_drop_region {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int from;
1: + unsigned int to;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_regmap_reg {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_regmap_block {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_regcache_sync {
1: + u32 name;
1: + u32 status;
1: + u32 type;
1: +};
1: +
1: +struct trace_event_data_offsets_regmap_bool {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_regmap_async {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_regcache_drop_region {
1: + u32 name;
1: +};
1: +
1: +struct regcache_rbtree_node {
1: + void *block;
1: + long int *cache_present;
1: + unsigned int base_reg;
1: + unsigned int blklen;
1: + struct rb_node node;
1: +};
1: +
1: +struct regcache_rbtree_ctx {
1: + struct rb_root root;
1: + struct regcache_rbtree_node *cached_rbnode;
1: +};
1: +
1: +struct regmap_debugfs_off_cache {
1: + struct list_head list;
1: + off_t min;
1: + off_t max;
1: + unsigned int base_reg;
1: + unsigned int max_reg;
1: +};
1: +
1: +struct regmap_debugfs_node {
1: + struct regmap *map;
1: + const char *name;
1: + struct list_head link;
1: +};
1: +
1: +typedef void (*irq_write_msi_msg_t)(struct msi_desc *, struct msi_msg *);
1: +
1: +struct platform_msi_priv_data {
1: + struct device *dev;
1: + void *host_data;
1: + msi_alloc_info_t arg;
1: + irq_write_msi_msg_t write_msg;
1: + int devid;
1: +};
1: +
1: +typedef long unsigned int __kernel_old_dev_t;
1: +
1: +enum {
1: + LO_FLAGS_READ_ONLY = 1,
1: + LO_FLAGS_AUTOCLEAR = 4,
1: + LO_FLAGS_PARTSCAN = 8,
1: + LO_FLAGS_DIRECT_IO = 16,
1: +};
1: +
1: +struct loop_info {
1: + int lo_number;
1: + __kernel_old_dev_t lo_device;
1: + long unsigned int lo_inode;
1: + __kernel_old_dev_t lo_rdevice;
1: + int lo_offset;
1: + int lo_encrypt_type;
1: + int lo_encrypt_key_size;
1: + int lo_flags;
1: + char lo_name[64];
1: + unsigned char lo_encrypt_key[32];
1: + long unsigned int lo_init[2];
1: + char reserved[4];
1: +};
1: +
1: +struct loop_info64 {
1: + __u64 lo_device;
1: + __u64 lo_inode;
1: + __u64 lo_rdevice;
1: + __u64 lo_offset;
1: + __u64 lo_sizelimit;
1: + __u32 lo_number;
1: + __u32 lo_encrypt_type;
1: + __u32 lo_encrypt_key_size;
1: + __u32 lo_flags;
1: + __u8 lo_file_name[64];
1: + __u8 lo_crypt_name[64];
1: + __u8 lo_encrypt_key[32];
1: + __u64 lo_init[2];
1: +};
1: +
1: +enum {
1: + Lo_unbound = 0,
1: + Lo_bound = 1,
1: + Lo_rundown = 2,
1: +};
1: +
1: +struct loop_func_table;
1: +
1: +struct loop_device {
1: + int lo_number;
1: + atomic_t lo_refcnt;
1: + loff_t lo_offset;
1: + loff_t lo_sizelimit;
1: + int lo_flags;
1: + int (*transfer)(struct loop_device *, int, struct page *, unsigned int, struct page *, unsigned int, int, sector_t);
1: + char lo_file_name[64];
1: + char lo_crypt_name[64];
1: + char lo_encrypt_key[32];
1: + int lo_encrypt_key_size;
1: + struct loop_func_table *lo_encryption;
1: + __u32 lo_init[2];
1: + kuid_t lo_key_owner;
1: + int (*ioctl)(struct loop_device *, int, long unsigned int);
1: + struct file *lo_backing_file;
1: + struct block_device *lo_device;
1: + void *key_data;
1: + gfp_t old_gfp_mask;
1: + spinlock_t lo_lock;
1: + int lo_state;
1: + struct kthread_worker worker;
1: + struct task_struct *worker_task;
1: + bool use_dio;
1: + bool sysfs_inited;
1: + struct request_queue *lo_queue;
1: + struct blk_mq_tag_set tag_set;
1: + struct gendisk *lo_disk;
1: +};
1: +
1: +struct loop_func_table {
1: + int number;
1: + int (*transfer)(struct loop_device *, int, struct page *, unsigned int, struct page *, unsigned int, int, sector_t);
1: + int (*init)(struct loop_device *, const struct loop_info64 *);
1: + int (*release)(struct loop_device *);
1: + int (*ioctl)(struct loop_device *, int, long unsigned int);
1: + struct module *owner;
1: +};
1: +
1: +struct loop_cmd {
1: + struct kthread_work work;
1: + bool use_aio;
1: + atomic_t ref;
1: + long int ret;
1: + struct kiocb iocb;
1: + struct bio_vec *bvec;
1: + struct cgroup_subsys_state *css;
1: +};
1: +
1: +struct compat_loop_info {
1: + compat_int_t lo_number;
1: + compat_dev_t lo_device;
1: + compat_ulong_t lo_inode;
1: + compat_dev_t lo_rdevice;
1: + compat_int_t lo_offset;
1: + compat_int_t lo_encrypt_type;
1: + compat_int_t lo_encrypt_key_size;
1: + compat_int_t lo_flags;
1: + char lo_name[64];
1: + unsigned char lo_encrypt_key[32];
1: + compat_ulong_t lo_init[2];
1: + char reserved[4];
1: +};
1: +
1: +struct dma_buf_sync {
1: + __u64 flags;
1: +};
1: +
1: +struct dma_buf_list {
1: + struct list_head head;
1: + struct mutex lock;
1: +};
1: +
1: +struct trace_event_raw_dma_fence {
1: + struct trace_entry ent;
1: + u32 __data_loc_driver;
1: + u32 __data_loc_timeline;
1: + unsigned int context;
1: + unsigned int seqno;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_dma_fence {
1: + u32 driver;
1: + u32 timeline;
1: +};
1: +
1: +struct default_wait_cb {
1: + struct dma_fence_cb base;
1: + struct task_struct *task;
1: +};
1: +
1: +struct dma_fence_array_cb {
1: + struct dma_fence_cb cb;
1: + struct dma_fence_array *array;
1: +};
1: +
1: +enum seqno_fence_condition {
1: + SEQNO_FENCE_WAIT_GEQUAL = 0,
1: + SEQNO_FENCE_WAIT_NONZERO = 1,
1: +};
1: +
1: +struct seqno_fence {
1: + struct dma_fence base;
1: + const struct dma_fence_ops *ops;
1: + struct dma_buf *sync_buf;
1: + uint32_t seqno_ofs;
1: + enum seqno_fence_condition condition;
1: +};
1: +
1: +struct sync_merge_data {
1: + char name[32];
1: + __s32 fd2;
1: + __s32 fence;
1: + __u32 flags;
1: + __u32 pad;
1: +};
1: +
1: +struct sync_fence_info {
1: + char obj_name[32];
1: + char driver_name[32];
1: + __s32 status;
1: + __u32 flags;
1: + __u64 timestamp_ns;
1: +};
1: +
1: +struct sync_file_info {
1: + char name[32];
1: + __s32 status;
1: + __u32 flags;
1: + __u32 num_fences;
1: + __u32 pad;
1: + __u64 sync_fence_info;
1: +};
1: +
1: +struct scsi_sense_hdr {
1: + u8 response_code;
1: + u8 sense_key;
1: + u8 asc;
1: + u8 ascq;
1: + u8 byte4;
1: + u8 byte5;
1: + u8 byte6;
1: + u8 additional_length;
1: +};
1: +
1: +typedef __u64 blist_flags_t;
1: +
1: +enum scsi_device_state {
1: + SDEV_CREATED = 1,
1: + SDEV_RUNNING = 2,
1: + SDEV_CANCEL = 3,
1: + SDEV_DEL = 4,
1: + SDEV_QUIESCE = 5,
1: + SDEV_OFFLINE = 6,
1: + SDEV_TRANSPORT_OFFLINE = 7,
1: + SDEV_BLOCK = 8,
1: + SDEV_CREATED_BLOCK = 9,
1: +};
1: +
1: +struct scsi_vpd {
1: + struct callback_head rcu;
1: + int len;
1: + unsigned char data[0];
1: +};
1: +
1: +struct Scsi_Host;
1: +
1: +struct scsi_target;
1: +
1: +struct scsi_device_handler;
1: +
1: +struct scsi_device {
1: + struct Scsi_Host *host;
1: + struct request_queue *request_queue;
1: + struct list_head siblings;
1: + struct list_head same_target_siblings;
1: + atomic_t device_busy;
1: + atomic_t device_blocked;
1: + spinlock_t list_lock;
1: + struct list_head cmd_list;
1: + struct list_head starved_entry;
1: + short unsigned int queue_depth;
1: + short unsigned int max_queue_depth;
1: + short unsigned int last_queue_full_depth;
1: + short unsigned int last_queue_full_count;
1: + long unsigned int last_queue_full_time;
1: + long unsigned int queue_ramp_up_period;
1: + long unsigned int last_queue_ramp_up;
1: + unsigned int id;
1: + unsigned int channel;
1: + u64 lun;
1: + unsigned int manufacturer;
1: + unsigned int sector_size;
1: + void *hostdata;
1: + unsigned char type;
1: + char scsi_level;
1: + char inq_periph_qual;
1: + struct mutex inquiry_mutex;
1: + unsigned char inquiry_len;
1: + unsigned char *inquiry;
1: + const char *vendor;
1: + const char *model;
1: + const char *rev;
1: + struct scsi_vpd *vpd_pg0;
1: + struct scsi_vpd *vpd_pg83;
1: + struct scsi_vpd *vpd_pg80;
1: + struct scsi_vpd *vpd_pg89;
1: + unsigned char current_tag;
1: + struct scsi_target *sdev_target;
1: + blist_flags_t sdev_bflags;
1: + unsigned int eh_timeout;
1: + unsigned int removable: 1;
1: + unsigned int changed: 1;
1: + unsigned int busy: 1;
1: + unsigned int lockable: 1;
1: + unsigned int locked: 1;
1: + unsigned int borken: 1;
1: + unsigned int disconnect: 1;
1: + unsigned int soft_reset: 1;
1: + unsigned int sdtr: 1;
1: + unsigned int wdtr: 1;
1: + unsigned int ppr: 1;
1: + unsigned int tagged_supported: 1;
1: + unsigned int simple_tags: 1;
1: + unsigned int was_reset: 1;
1: + unsigned int expecting_cc_ua: 1;
1: + unsigned int use_10_for_rw: 1;
1: + unsigned int use_10_for_ms: 1;
1: + unsigned int no_report_opcodes: 1;
1: + unsigned int no_write_same: 1;
1: + unsigned int use_16_for_rw: 1;
1: + unsigned int skip_ms_page_8: 1;
1: + unsigned int skip_ms_page_3f: 1;
1: + unsigned int skip_vpd_pages: 1;
1: + unsigned int try_vpd_pages: 1;
1: + unsigned int use_192_bytes_for_3f: 1;
1: + unsigned int no_start_on_add: 1;
1: + unsigned int allow_restart: 1;
1: + unsigned int manage_start_stop: 1;
1: + unsigned int start_stop_pwr_cond: 1;
1: + unsigned int no_uld_attach: 1;
1: + unsigned int select_no_atn: 1;
1: + unsigned int fix_capacity: 1;
1: + unsigned int guess_capacity: 1;
1: + unsigned int retry_hwerror: 1;
1: + unsigned int last_sector_bug: 1;
1: + unsigned int no_read_disc_info: 1;
1: + unsigned int no_read_capacity_16: 1;
1: + unsigned int try_rc_10_first: 1;
1: + unsigned int security_supported: 1;
1: + unsigned int is_visible: 1;
1: + unsigned int wce_default_on: 1;
1: + unsigned int no_dif: 1;
1: + unsigned int broken_fua: 1;
1: + unsigned int lun_in_cdb: 1;
1: + unsigned int unmap_limit_for_ws: 1;
1: + unsigned int rpm_autosuspend: 1;
1: + atomic_t disk_events_disable_depth;
1: + long unsigned int supported_events[1];
1: + long unsigned int pending_events[1];
1: + struct list_head event_list;
1: + struct work_struct event_work;
1: + unsigned int max_device_blocked;
1: + atomic_t iorequest_cnt;
1: + atomic_t iodone_cnt;
1: + atomic_t ioerr_cnt;
1: + struct device sdev_gendev;
1: + struct device sdev_dev;
1: + struct execute_work ew;
1: + struct work_struct requeue_work;
1: + struct scsi_device_handler *handler;
1: + void *handler_data;
1: + unsigned char access_state;
1: + struct mutex state_mutex;
1: + enum scsi_device_state sdev_state;
1: + struct task_struct *quiesced_by;
1: + long unsigned int sdev_data[0];
1: +};
1: +
1: +enum scsi_host_state {
1: + SHOST_CREATED = 1,
1: + SHOST_RUNNING = 2,
1: + SHOST_CANCEL = 3,
1: + SHOST_DEL = 4,
1: + SHOST_RECOVERY = 5,
1: + SHOST_CANCEL_RECOVERY = 6,
1: + SHOST_DEL_RECOVERY = 7,
1: +};
1: +
1: +struct scsi_host_template;
1: +
1: +struct scsi_transport_template;
1: +
1: +struct Scsi_Host {
1: + struct list_head __devices;
1: + struct list_head __targets;
1: + struct list_head starved_list;
1: + spinlock_t default_lock;
1: + spinlock_t *host_lock;
1: + struct mutex scan_mutex;
1: + struct list_head eh_cmd_q;
1: + struct task_struct *ehandler;
1: + struct completion *eh_action;
1: + wait_queue_head_t host_wait;
1: + struct scsi_host_template *hostt;
1: + struct scsi_transport_template *transportt;
1: + struct blk_mq_tag_set tag_set;
1: + atomic_t host_blocked;
1: + unsigned int host_failed;
1: + unsigned int host_eh_scheduled;
1: + unsigned int host_no;
1: + int eh_deadline;
1: + long unsigned int last_reset;
1: + unsigned int max_channel;
1: + unsigned int max_id;
1: + u64 max_lun;
1: + unsigned int unique_id;
1: + short unsigned int max_cmd_len;
1: + int this_id;
1: + int can_queue;
1: + short int cmd_per_lun;
1: + short unsigned int sg_tablesize;
1: + short unsigned int sg_prot_tablesize;
1: + unsigned int max_sectors;
1: + unsigned int max_segment_size;
1: + long unsigned int dma_boundary;
1: + long unsigned int virt_boundary_mask;
1: + unsigned int nr_hw_queues;
1: + unsigned int active_mode: 2;
1: + unsigned int unchecked_isa_dma: 1;
1: + unsigned int host_self_blocked: 1;
1: + unsigned int reverse_ordering: 1;
1: + unsigned int tmf_in_progress: 1;
1: + unsigned int async_scan: 1;
1: + unsigned int eh_noresume: 1;
1: + unsigned int no_write_same: 1;
1: + unsigned int use_cmd_list: 1;
1: + unsigned int short_inquiry: 1;
1: + unsigned int no_scsi2_lun_in_cdb: 1;
1: + char work_q_name[20];
1: + struct workqueue_struct *work_q;
1: + struct workqueue_struct *tmf_work_q;
1: + unsigned int max_host_blocked;
1: + unsigned int prot_capabilities;
1: + unsigned char prot_guard_type;
1: + long unsigned int base;
1: + long unsigned int io_port;
1: + unsigned char n_io_port;
1: + unsigned char dma_channel;
1: + unsigned int irq;
1: + enum scsi_host_state shost_state;
1: + struct device shost_gendev;
1: + struct device shost_dev;
1: + void *shost_data;
1: + struct device *dma_dev;
1: + long unsigned int hostdata[0];
1: +};
1: +
1: +enum scsi_target_state {
1: + STARGET_CREATED = 1,
1: + STARGET_RUNNING = 2,
1: + STARGET_REMOVE = 3,
1: + STARGET_CREATED_REMOVE = 4,
1: + STARGET_DEL = 5,
1: +};
1: +
1: +struct scsi_target {
1: + struct scsi_device *starget_sdev_user;
1: + struct list_head siblings;
1: + struct list_head devices;
1: + struct device dev;
1: + struct kref reap_ref;
1: + unsigned int channel;
1: + unsigned int id;
1: + unsigned int create: 1;
1: + unsigned int single_lun: 1;
1: + unsigned int pdt_1f_for_no_lun: 1;
1: + unsigned int no_report_luns: 1;
1: + unsigned int expecting_lun_change: 1;
1: + atomic_t target_busy;
1: + atomic_t target_blocked;
1: + unsigned int can_queue;
1: + unsigned int max_target_blocked;
1: + char scsi_level;
1: + enum scsi_target_state state;
1: + void *hostdata;
1: + long unsigned int starget_data[0];
1: +};
1: +
1: +struct scsi_data_buffer {
1: + struct sg_table table;
1: + unsigned int length;
1: +};
1: +
1: +struct scsi_pointer {
1: + char *ptr;
1: + int this_residual;
1: + struct scatterlist *buffer;
1: + int buffers_residual;
1: + dma_addr_t dma_handle;
1: + volatile int Status;
1: + volatile int Message;
1: + volatile int have_data_in;
1: + volatile int sent_command;
1: + volatile int phase;
1: +};
1: +
1: +struct scsi_cmnd {
1: + struct scsi_request req;
1: + struct scsi_device *device;
1: + struct list_head list;
1: + struct list_head eh_entry;
1: + struct delayed_work abort_work;
1: + struct callback_head rcu;
1: + int eh_eflags;
1: + long unsigned int jiffies_at_alloc;
1: + int retries;
1: + int allowed;
1: + unsigned char prot_op;
1: + unsigned char prot_type;
1: + unsigned char prot_flags;
1: + short unsigned int cmd_len;
1: + enum dma_data_direction sc_data_direction;
1: + unsigned char *cmnd;
1: + struct scsi_data_buffer sdb;
1: + struct scsi_data_buffer *prot_sdb;
1: + unsigned int underflow;
1: + unsigned int transfersize;
1: + struct request *request;
1: + unsigned char *sense_buffer;
1: + void (*scsi_done)(struct scsi_cmnd *);
1: + struct scsi_pointer SCp;
1: + unsigned char *host_scribble;
1: + int result;
1: + int flags;
1: + long unsigned int state;
1: + unsigned char tag;
1: +};
1: +
1: +enum scsi_prot_operations {
1: + SCSI_PROT_NORMAL = 0,
1: + SCSI_PROT_READ_INSERT = 1,
1: + SCSI_PROT_WRITE_STRIP = 2,
1: + SCSI_PROT_READ_STRIP = 3,
1: + SCSI_PROT_WRITE_INSERT = 4,
1: + SCSI_PROT_READ_PASS = 5,
1: + SCSI_PROT_WRITE_PASS = 6,
1: +};
1: +
1: +struct scsi_driver {
1: + struct device_driver gendrv;
1: + void (*rescan)(struct device *);
1: + blk_status_t (*init_command)(struct scsi_cmnd *);
1: + void (*uninit_command)(struct scsi_cmnd *);
1: + int (*done)(struct scsi_cmnd *);
1: + int (*eh_action)(struct scsi_cmnd *, int);
1: + void (*eh_reset)(struct scsi_cmnd *);
1: +};
1: +
1: +struct scsi_host_cmd_pool;
1: +
1: +struct scsi_host_template {
1: + struct module *module;
1: + const char *name;
1: + const char * (*info)(struct Scsi_Host *);
1: + int (*ioctl)(struct scsi_device *, unsigned int, void *);
1: + int (*compat_ioctl)(struct scsi_device *, unsigned int, void *);
1: + int (*queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
1: + void (*commit_rqs)(struct Scsi_Host *, u16);
1: + int (*eh_abort_handler)(struct scsi_cmnd *);
1: + int (*eh_device_reset_handler)(struct scsi_cmnd *);
1: + int (*eh_target_reset_handler)(struct scsi_cmnd *);
1: + int (*eh_bus_reset_handler)(struct scsi_cmnd *);
1: + int (*eh_host_reset_handler)(struct scsi_cmnd *);
1: + int (*slave_alloc)(struct scsi_device *);
1: + int (*slave_configure)(struct scsi_device *);
1: + void (*slave_destroy)(struct scsi_device *);
1: + int (*target_alloc)(struct scsi_target *);
1: + void (*target_destroy)(struct scsi_target *);
1: + int (*scan_finished)(struct Scsi_Host *, long unsigned int);
1: + void (*scan_start)(struct Scsi_Host *);
1: + int (*change_queue_depth)(struct scsi_device *, int);
1: + int (*map_queues)(struct Scsi_Host *);
1: + int (*bios_param)(struct scsi_device *, struct block_device *, sector_t, int *);
1: + void (*unlock_native_capacity)(struct scsi_device *);
1: + int (*show_info)(struct seq_file *, struct Scsi_Host *);
1: + int (*write_info)(struct Scsi_Host *, char *, int);
1: + enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
1: + int (*host_reset)(struct Scsi_Host *, int);
1: + const char *proc_name;
1: + struct proc_dir_entry *proc_dir;
1: + int can_queue;
1: + int this_id;
1: + short unsigned int sg_tablesize;
1: + short unsigned int sg_prot_tablesize;
1: + unsigned int max_sectors;
1: + unsigned int max_segment_size;
1: + long unsigned int dma_boundary;
1: + long unsigned int virt_boundary_mask;
1: + short int cmd_per_lun;
1: + unsigned char present;
1: + int tag_alloc_policy;
1: + unsigned int track_queue_depth: 1;
1: + unsigned int supported_mode: 2;
1: + unsigned int unchecked_isa_dma: 1;
1: + unsigned int emulated: 1;
1: + unsigned int skip_settle_delay: 1;
1: + unsigned int no_write_same: 1;
1: + unsigned int force_blk_mq: 1;
1: + unsigned int max_host_blocked;
1: + struct device_attribute **shost_attrs;
1: + struct device_attribute **sdev_attrs;
1: + const struct attribute_group **sdev_groups;
1: + u64 vendor_id;
1: + unsigned int cmd_size;
1: + struct scsi_host_cmd_pool *cmd_pool;
1: + int rpm_autosuspend_delay;
1: +};
1: +
1: +struct trace_event_raw_scsi_dispatch_cmd_start {
1: + struct trace_entry ent;
1: + unsigned int host_no;
1: + unsigned int channel;
1: + unsigned int id;
1: + unsigned int lun;
1: + unsigned int opcode;
1: + unsigned int cmd_len;
1: + unsigned int data_sglen;
1: + unsigned int prot_sglen;
1: + unsigned char prot_op;
1: + u32 __data_loc_cmnd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_scsi_dispatch_cmd_error {
1: + struct trace_entry ent;
1: + unsigned int host_no;
1: + unsigned int channel;
1: + unsigned int id;
1: + unsigned int lun;
1: + int rtn;
1: + unsigned int opcode;
1: + unsigned int cmd_len;
1: + unsigned int data_sglen;
1: + unsigned int prot_sglen;
1: + unsigned char prot_op;
1: + u32 __data_loc_cmnd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_scsi_cmd_done_timeout_template {
1: + struct trace_entry ent;
1: + unsigned int host_no;
1: + unsigned int channel;
1: + unsigned int id;
1: + unsigned int lun;
1: + int result;
1: + unsigned int opcode;
1: + unsigned int cmd_len;
1: + unsigned int data_sglen;
1: + unsigned int prot_sglen;
1: + unsigned char prot_op;
1: + u32 __data_loc_cmnd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_scsi_eh_wakeup {
1: + struct trace_entry ent;
1: + unsigned int host_no;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_scsi_dispatch_cmd_start {
1: + u32 cmnd;
1: +};
1: +
1: +struct trace_event_data_offsets_scsi_dispatch_cmd_error {
1: + u32 cmnd;
1: +};
1: +
1: +struct trace_event_data_offsets_scsi_cmd_done_timeout_template {
1: + u32 cmnd;
1: +};
1: +
1: +struct trace_event_data_offsets_scsi_eh_wakeup {};
1: +
1: +struct scsi_transport_template {
1: + struct transport_container host_attrs;
1: + struct transport_container target_attrs;
1: + struct transport_container device_attrs;
1: + int (*user_scan)(struct Scsi_Host *, uint, uint, u64);
1: + int device_size;
1: + int device_private_offset;
1: + int target_size;
1: + int target_private_offset;
1: + int host_size;
1: + unsigned int create_work_queue: 1;
1: + void (*eh_strategy_handler)(struct Scsi_Host *);
1: +};
1: +
1: +struct scsi_idlun {
1: + __u32 dev_id;
1: + __u32 host_unique_id;
1: +};
1: +
1: +typedef void (*activate_complete)(void *, int);
1: +
1: +struct scsi_device_handler {
1: + struct list_head list;
1: + struct module *module;
1: + const char *name;
1: + int (*check_sense)(struct scsi_device *, struct scsi_sense_hdr *);
1: + int (*attach)(struct scsi_device *);
1: + void (*detach)(struct scsi_device *);
1: + int (*activate)(struct scsi_device *, activate_complete, void *);
1: + blk_status_t (*prep_fn)(struct scsi_device *, struct request *);
1: + int (*set_params)(struct scsi_device *, const char *);
1: + void (*rescan)(struct scsi_device *);
1: +};
1: +
1: +struct scsi_eh_save {
1: + int result;
1: + unsigned int resid_len;
1: + int eh_eflags;
1: + enum dma_data_direction data_direction;
1: + unsigned int underflow;
1: + unsigned char cmd_len;
1: + unsigned char prot_op;
1: + unsigned char *cmnd;
1: + struct scsi_data_buffer sdb;
1: + unsigned char eh_cmnd[16];
1: + struct scatterlist sense_sgl;
1: +};
1: +
1: +struct scsi_varlen_cdb_hdr {
1: + __u8 opcode;
1: + __u8 control;
1: + __u8 misc[5];
1: + __u8 additional_cdb_length;
1: + __be16 service_action;
1: +};
1: +
1: +struct scsi_mode_data {
1: + __u32 length;
1: + __u16 block_descriptor_length;
1: + __u8 medium_type;
1: + __u8 device_specific;
1: + __u8 header_length;
1: + __u8 longlba: 1;
1: +};
1: +
1: +struct scsi_event {
1: + enum scsi_device_event evt_type;
1: + struct list_head node;
1: +};
1: +
1: +enum scsi_host_prot_capabilities {
1: + SHOST_DIF_TYPE1_PROTECTION = 1,
1: + SHOST_DIF_TYPE2_PROTECTION = 2,
1: + SHOST_DIF_TYPE3_PROTECTION = 4,
1: + SHOST_DIX_TYPE0_PROTECTION = 8,
1: + SHOST_DIX_TYPE1_PROTECTION = 16,
1: + SHOST_DIX_TYPE2_PROTECTION = 32,
1: + SHOST_DIX_TYPE3_PROTECTION = 64,
1: +};
1: +
1: +enum {
1: + ACTION_FAIL = 0,
1: + ACTION_REPREP = 1,
1: + ACTION_RETRY = 2,
1: + ACTION_DELAYED_RETRY = 3,
1: +};
1: +
1: +struct value_name_pair;
1: +
1: +struct sa_name_list {
1: + int opcode;
1: + const struct value_name_pair *arr;
1: + int arr_sz;
1: +};
1: +
1: +struct value_name_pair {
1: + int value;
1: + const char *name;
1: +};
1: +
1: +struct error_info {
1: + short unsigned int code12;
1: + short unsigned int size;
1: +};
1: +
1: +struct error_info2 {
1: + unsigned char code1;
1: + unsigned char code2_min;
1: + unsigned char code2_max;
1: + const char *str;
1: + const char *fmt;
1: +};
1: +
1: +struct scsi_lun {
1: + __u8 scsi_lun[8];
1: +};
1: +
1: +enum scsi_timeouts {
1: + SCSI_DEFAULT_EH_TIMEOUT = 10000,
1: +};
1: +
1: +enum scsi_scan_mode {
1: + SCSI_SCAN_INITIAL = 0,
1: + SCSI_SCAN_RESCAN = 1,
1: + SCSI_SCAN_MANUAL = 2,
1: +};
1: +
1: +struct async_scan_data {
1: + struct list_head list;
1: + struct Scsi_Host *shost;
1: + struct completion prev_finished;
1: +};
1: +
1: +enum scsi_devinfo_key {
1: + SCSI_DEVINFO_GLOBAL = 0,
1: + SCSI_DEVINFO_SPI = 1,
1: +};
1: +
1: +struct scsi_dev_info_list {
1: + struct list_head dev_info_list;
1: + char vendor[8];
1: + char model[16];
1: + blist_flags_t flags;
1: + unsigned int compatible;
1: +};
1: +
1: +struct scsi_dev_info_list_table {
1: + struct list_head node;
1: + struct list_head scsi_dev_info_list;
1: + const char *name;
1: + int key;
1: +};
1: +
1: +struct double_list {
1: + struct list_head *top;
1: + struct list_head *bottom;
1: +};
1: +
1: +struct spi_transport_attrs {
1: + int period;
1: + int min_period;
1: + int offset;
1: + int max_offset;
1: + unsigned int width: 1;
1: + unsigned int max_width: 1;
1: + unsigned int iu: 1;
1: + unsigned int max_iu: 1;
1: + unsigned int dt: 1;
1: + unsigned int qas: 1;
1: + unsigned int max_qas: 1;
1: + unsigned int wr_flow: 1;
1: + unsigned int rd_strm: 1;
1: + unsigned int rti: 1;
1: + unsigned int pcomp_en: 1;
1: + unsigned int hold_mcs: 1;
1: + unsigned int initial_dv: 1;
1: + long unsigned int flags;
1: + unsigned int support_sync: 1;
1: + unsigned int support_wide: 1;
1: + unsigned int support_dt: 1;
1: + unsigned int support_dt_only;
1: + unsigned int support_ius;
1: + unsigned int support_qas;
1: + unsigned int dv_pending: 1;
1: + unsigned int dv_in_progress: 1;
1: + struct mutex dv_mutex;
1: +};
1: +
1: +enum spi_signal_type {
1: + SPI_SIGNAL_UNKNOWN = 1,
1: + SPI_SIGNAL_SE = 2,
1: + SPI_SIGNAL_LVD = 3,
1: + SPI_SIGNAL_HVD = 4,
1: +};
1: +
1: +struct spi_host_attrs {
1: + enum spi_signal_type signalling;
1: +};
1: +
1: +struct spi_function_template {
1: + void (*get_period)(struct scsi_target *);
1: + void (*set_period)(struct scsi_target *, int);
1: + void (*get_offset)(struct scsi_target *);
1: + void (*set_offset)(struct scsi_target *, int);
1: + void (*get_width)(struct scsi_target *);
1: + void (*set_width)(struct scsi_target *, int);
1: + void (*get_iu)(struct scsi_target *);
1: + void (*set_iu)(struct scsi_target *, int);
1: + void (*get_dt)(struct scsi_target *);
1: + void (*set_dt)(struct scsi_target *, int);
1: + void (*get_qas)(struct scsi_target *);
1: + void (*set_qas)(struct scsi_target *, int);
1: + void (*get_wr_flow)(struct scsi_target *);
1: + void (*set_wr_flow)(struct scsi_target *, int);
1: + void (*get_rd_strm)(struct scsi_target *);
1: + void (*set_rd_strm)(struct scsi_target *, int);
1: + void (*get_rti)(struct scsi_target *);
1: + void (*set_rti)(struct scsi_target *, int);
1: + void (*get_pcomp_en)(struct scsi_target *);
1: + void (*set_pcomp_en)(struct scsi_target *, int);
1: + void (*get_hold_mcs)(struct scsi_target *);
1: + void (*set_hold_mcs)(struct scsi_target *, int);
1: + void (*get_signalling)(struct Scsi_Host *);
1: + void (*set_signalling)(struct Scsi_Host *, enum spi_signal_type);
1: + int (*deny_binding)(struct scsi_target *);
1: + long unsigned int show_period: 1;
1: + long unsigned int show_offset: 1;
1: + long unsigned int show_width: 1;
1: + long unsigned int show_iu: 1;
1: + long unsigned int show_dt: 1;
1: + long unsigned int show_qas: 1;
1: + long unsigned int show_wr_flow: 1;
1: + long unsigned int show_rd_strm: 1;
1: + long unsigned int show_rti: 1;
1: + long unsigned int show_pcomp_en: 1;
1: + long unsigned int show_hold_mcs: 1;
1: +};
1: +
1: +enum {
1: + SPI_BLIST_NOIUS = 1,
1: +};
1: +
1: +struct spi_internal {
1: + struct scsi_transport_template t;
1: + struct spi_function_template *f;
1: +};
1: +
1: +enum spi_compare_returns {
1: + SPI_COMPARE_SUCCESS = 0,
1: + SPI_COMPARE_FAILURE = 1,
1: + SPI_COMPARE_SKIP_TEST = 2,
1: +};
1: +
1: +struct work_queue_wrapper {
1: + struct work_struct work;
1: + struct scsi_device *sdev;
1: +};
1: +
1: +enum bip_flags {
1: + BIP_BLOCK_INTEGRITY = 1,
1: + BIP_MAPPED_INTEGRITY = 2,
1: + BIP_CTRL_NOCHECK = 4,
1: + BIP_DISK_NOCHECK = 8,
1: + BIP_IP_CHECKSUM = 16,
1: +};
1: +
1: +enum t10_dif_type {
1: + T10_PI_TYPE0_PROTECTION = 0,
1: + T10_PI_TYPE1_PROTECTION = 1,
1: + T10_PI_TYPE2_PROTECTION = 2,
1: + T10_PI_TYPE3_PROTECTION = 3,
1: +};
1: +
1: +enum scsi_prot_flags {
1: + SCSI_PROT_TRANSFER_PI = 1,
1: + SCSI_PROT_GUARD_CHECK = 2,
1: + SCSI_PROT_REF_CHECK = 4,
1: + SCSI_PROT_REF_INCREMENT = 8,
1: + SCSI_PROT_IP_CHECKSUM = 16,
1: +};
1: +
1: +enum {
1: + SD_EXT_CDB_SIZE = 32,
1: + SD_MEMPOOL_SIZE = 2,
1: +};
1: +
1: +enum {
1: + SD_DEF_XFER_BLOCKS = 65535,
1: + SD_MAX_XFER_BLOCKS = -1,
1: + SD_MAX_WS10_BLOCKS = 65535,
1: + SD_MAX_WS16_BLOCKS = 8388607,
1: +};
1: +
1: +enum {
1: + SD_LBP_FULL = 0,
1: + SD_LBP_UNMAP = 1,
1: + SD_LBP_WS16 = 2,
1: + SD_LBP_WS10 = 3,
1: + SD_LBP_ZERO = 4,
1: + SD_LBP_DISABLE = 5,
1: +};
1: +
1: +enum {
1: + SD_ZERO_WRITE = 0,
1: + SD_ZERO_WS = 1,
1: + SD_ZERO_WS16_UNMAP = 2,
1: + SD_ZERO_WS10_UNMAP = 3,
1: +};
1: +
1: +struct opal_dev;
1: +
1: +struct scsi_disk {
1: + struct scsi_driver *driver;
1: + struct scsi_device *device;
1: + struct device dev;
1: + struct gendisk *disk;
1: + struct opal_dev *opal_dev;
1: + atomic_t openers;
1: + sector_t capacity;
1: + u32 max_xfer_blocks;
1: + u32 opt_xfer_blocks;
1: + u32 max_ws_blocks;
1: + u32 max_unmap_blocks;
1: + u32 unmap_granularity;
1: + u32 unmap_alignment;
1: + u32 index;
1: + unsigned int physical_block_size;
1: + unsigned int max_medium_access_timeouts;
1: + unsigned int medium_access_timed_out;
1: + u8 media_present;
1: + u8 write_prot;
1: + u8 protection_type;
1: + u8 provisioning_mode;
1: + u8 zeroing_mode;
1: + unsigned int ATO: 1;
1: + unsigned int cache_override: 1;
1: + unsigned int WCE: 1;
1: + unsigned int RCD: 1;
1: + unsigned int DPOFUA: 1;
1: + unsigned int first_scan: 1;
1: + unsigned int lbpme: 1;
1: + unsigned int lbprz: 1;
1: + unsigned int lbpu: 1;
1: + unsigned int lbpws: 1;
1: + unsigned int lbpws10: 1;
1: + unsigned int lbpvpd: 1;
1: + unsigned int ws10: 1;
1: + unsigned int ws16: 1;
1: + unsigned int rc_basis: 2;
1: + unsigned int zoned: 2;
1: + unsigned int urswrz: 1;
1: + unsigned int security: 1;
1: + unsigned int ignore_medium_access_errors: 1;
1: +};
1: +
1: +struct cdrom_mcn {
1: + __u8 medium_catalog_number[14];
1: +};
1: +
1: +struct packet_command {
1: + unsigned char cmd[12];
1: + unsigned char *buffer;
1: + unsigned int buflen;
1: + int stat;
1: + struct scsi_sense_hdr *sshdr;
1: + unsigned char data_direction;
1: + int quiet;
1: + int timeout;
1: + void *reserved[1];
1: +};
1: +
1: +struct cdrom_device_ops;
1: +
1: +struct cdrom_device_info {
1: + const struct cdrom_device_ops *ops;
1: + struct list_head list;
1: + struct gendisk *disk;
1: + void *handle;
1: + int mask;
1: + int speed;
1: + int capacity;
1: + unsigned int options: 30;
1: + unsigned int mc_flags: 2;
1: + unsigned int vfs_events;
1: + unsigned int ioctl_events;
1: + int use_count;
1: + char name[20];
1: + __u8 sanyo_slot: 2;
1: + __u8 keeplocked: 1;
1: + __u8 reserved: 5;
1: + int cdda_method;
1: + __u8 last_sense;
1: + __u8 media_written;
1: + short unsigned int mmc3_profile;
1: + int for_data;
1: + int (*exit)(struct cdrom_device_info *);
1: + int mrw_mode_page;
1: +};
1: +
1: +struct cdrom_device_ops {
1: + int (*open)(struct cdrom_device_info *, int);
1: + void (*release)(struct cdrom_device_info *);
1: + int (*drive_status)(struct cdrom_device_info *, int);
1: + unsigned int (*check_events)(struct cdrom_device_info *, unsigned int, int);
1: + int (*media_changed)(struct cdrom_device_info *, int);
1: + int (*tray_move)(struct cdrom_device_info *, int);
1: + int (*lock_door)(struct cdrom_device_info *, int);
1: + int (*select_speed)(struct cdrom_device_info *, int);
1: + int (*select_disc)(struct cdrom_device_info *, int);
1: + int (*get_last_session)(struct cdrom_device_info *, struct cdrom_multisession *);
1: + int (*get_mcn)(struct cdrom_device_info *, struct cdrom_mcn *);
1: + int (*reset)(struct cdrom_device_info *);
1: + int (*audio_ioctl)(struct cdrom_device_info *, unsigned int, void *);
1: + const int capability;
1: + int (*generic_packet)(struct cdrom_device_info *, struct packet_command *);
1: +};
1: +
1: +enum {
1: + mechtype_caddy = 0,
1: + mechtype_tray = 1,
1: + mechtype_popup = 2,
1: + mechtype_individual_changer = 4,
1: + mechtype_cartridge_changer = 5,
1: +};
1: +
1: +struct event_header {
1: + __be16 data_len;
1: + __u8 notification_class: 3;
1: + __u8 reserved1: 4;
1: + __u8 nea: 1;
1: + __u8 supp_event_class;
1: +};
1: +
1: +struct media_event_desc {
1: + __u8 media_event_code: 4;
1: + __u8 reserved1: 4;
1: + __u8 door_open: 1;
1: + __u8 media_present: 1;
1: + __u8 reserved2: 6;
1: + __u8 start_slot;
1: + __u8 end_slot;
1: +};
1: +
1: +struct scsi_cd {
1: + struct scsi_driver *driver;
1: + unsigned int capacity;
1: + struct scsi_device *device;
1: + unsigned int vendor;
1: + long unsigned int ms_offset;
1: + unsigned int writeable: 1;
1: + unsigned int use: 1;
1: + unsigned int xa_flag: 1;
1: + unsigned int readcd_known: 1;
1: + unsigned int readcd_cdda: 1;
1: + unsigned int media_present: 1;
1: + int tur_mismatch;
1: + bool tur_changed: 1;
1: + bool get_event_changed: 1;
1: + bool ignore_get_event: 1;
1: + struct cdrom_device_info cdi;
1: + struct kref kref;
1: + struct gendisk *disk;
1: +};
1: +
1: +typedef struct scsi_cd Scsi_CD;
1: +
1: +struct cdrom_ti {
1: + __u8 cdti_trk0;
1: + __u8 cdti_ind0;
1: + __u8 cdti_trk1;
1: + __u8 cdti_ind1;
1: +};
1: +
1: +struct cdrom_tochdr {
1: + __u8 cdth_trk0;
1: + __u8 cdth_trk1;
1: +};
1: +
1: +struct ccs_modesel_head {
1: + __u8 _r1;
1: + __u8 medium;
1: + __u8 _r2;
1: + __u8 block_desc_length;
1: + __u8 density;
1: + __u8 number_blocks_hi;
1: + __u8 number_blocks_med;
1: + __u8 number_blocks_lo;
1: + __u8 _r3;
1: + __u8 block_length_hi;
1: + __u8 block_length_med;
1: + __u8 block_length_lo;
1: +};
1: +
1: +typedef struct sg_io_hdr sg_io_hdr_t;
1: +
1: +struct sg_scsi_id {
1: + int host_no;
1: + int channel;
1: + int scsi_id;
1: + int lun;
1: + int scsi_type;
1: + short int h_cmd_per_lun;
1: + short int d_queue_depth;
1: + int unused[2];
1: +};
1: +
1: +typedef struct sg_scsi_id sg_scsi_id_t;
1: +
1: +struct sg_req_info {
1: + char req_state;
1: + char orphan;
1: + char sg_io_owned;
1: + char problem;
1: + int pack_id;
1: + void *usr_ptr;
1: + unsigned int duration;
1: + int unused;
1: +};
1: +
1: +typedef struct sg_req_info sg_req_info_t;
1: +
1: +struct sg_header {
1: + int pack_len;
1: + int reply_len;
1: + int pack_id;
1: + int result;
1: + unsigned int twelve_byte: 1;
1: + unsigned int target_status: 5;
1: + unsigned int host_status: 8;
1: + unsigned int driver_status: 8;
1: + unsigned int other_flags: 10;
1: + unsigned char sense_buffer[16];
1: +};
1: +
1: +struct sg_scatter_hold {
1: + short unsigned int k_use_sg;
1: + unsigned int sglist_len;
1: + unsigned int bufflen;
1: + struct page **pages;
1: + int page_order;
1: + char dio_in_use;
1: + unsigned char cmd_opcode;
1: +};
1: +
1: +typedef struct sg_scatter_hold Sg_scatter_hold;
1: +
1: +struct sg_fd;
1: +
1: +struct sg_request {
1: + struct list_head entry;
1: + struct sg_fd *parentfp;
1: + Sg_scatter_hold data;
1: + sg_io_hdr_t header;
1: + unsigned char sense_b[96];
1: + char res_used;
1: + char orphan;
1: + char sg_io_owned;
1: + char done;
1: + struct request *rq;
1: + struct bio *bio;
1: + struct execute_work ew;
1: +};
1: +
1: +typedef struct sg_request Sg_request;
1: +
1: +struct sg_device;
1: +
1: +struct sg_fd {
1: + struct list_head sfd_siblings;
1: + struct sg_device *parentdp;
1: + wait_queue_head_t read_wait;
1: + rwlock_t rq_list_lock;
1: + struct mutex f_mutex;
1: + int timeout;
1: + int timeout_user;
1: + Sg_scatter_hold reserve;
1: + struct list_head rq_list;
1: + struct fasync_struct *async_qp;
1: + Sg_request req_arr[16];
1: + char force_packid;
1: + char cmd_q;
1: + unsigned char next_cmd_len;
1: + char keep_orphan;
1: + char mmap_called;
1: + char res_in_use;
1: + struct kref f_ref;
1: + struct execute_work ew;
1: +};
1: +
1: +struct sg_device {
1: + struct scsi_device *device;
1: + wait_queue_head_t open_wait;
1: + struct mutex open_rel_lock;
1: + int sg_tablesize;
1: + u32 index;
1: + struct list_head sfds;
1: + rwlock_t sfd_lock;
1: + atomic_t detaching;
1: + bool exclude;
1: + int open_cnt;
1: + char sgdebug;
1: + struct gendisk *disk;
1: + struct cdev *cdev;
1: + struct kref d_ref;
1: +};
1: +
1: +typedef struct sg_fd Sg_fd;
1: +
1: +typedef struct sg_device Sg_device;
1: +
1: +struct compat_sg_req_info {
1: + char req_state;
1: + char orphan;
1: + char sg_io_owned;
1: + char problem;
1: + int pack_id;
1: + compat_uptr_t usr_ptr;
1: + unsigned int duration;
1: + int unused;
1: +};
1: +
1: +struct sg_proc_deviter {
1: + loff_t index;
1: + size_t max;
1: +};
1: +
1: +enum {
1: + ATA_MAX_DEVICES = 2,
1: + ATA_MAX_PRD = 256,
1: + ATA_SECT_SIZE = 512,
1: + ATA_MAX_SECTORS_128 = 128,
1: + ATA_MAX_SECTORS = 256,
1: + ATA_MAX_SECTORS_1024 = 1024,
1: + ATA_MAX_SECTORS_LBA48 = 65535,
1: + ATA_MAX_SECTORS_TAPE = 65535,
1: + ATA_MAX_TRIM_RNUM = 64,
1: + ATA_ID_WORDS = 256,
1: + ATA_ID_CONFIG = 0,
1: + ATA_ID_CYLS = 1,
1: + ATA_ID_HEADS = 3,
1: + ATA_ID_SECTORS = 6,
1: + ATA_ID_SERNO = 10,
1: + ATA_ID_BUF_SIZE = 21,
1: + ATA_ID_FW_REV = 23,
1: + ATA_ID_PROD = 27,
1: + ATA_ID_MAX_MULTSECT = 47,
1: + ATA_ID_DWORD_IO = 48,
1: + ATA_ID_TRUSTED = 48,
1: + ATA_ID_CAPABILITY = 49,
1: + ATA_ID_OLD_PIO_MODES = 51,
1: + ATA_ID_OLD_DMA_MODES = 52,
1: + ATA_ID_FIELD_VALID = 53,
1: + ATA_ID_CUR_CYLS = 54,
1: + ATA_ID_CUR_HEADS = 55,
1: + ATA_ID_CUR_SECTORS = 56,
1: + ATA_ID_MULTSECT = 59,
1: + ATA_ID_LBA_CAPACITY = 60,
1: + ATA_ID_SWDMA_MODES = 62,
1: + ATA_ID_MWDMA_MODES = 63,
1: + ATA_ID_PIO_MODES = 64,
1: + ATA_ID_EIDE_DMA_MIN = 65,
1: + ATA_ID_EIDE_DMA_TIME = 66,
1: + ATA_ID_EIDE_PIO = 67,
1: + ATA_ID_EIDE_PIO_IORDY = 68,
1: + ATA_ID_ADDITIONAL_SUPP = 69,
1: + ATA_ID_QUEUE_DEPTH = 75,
1: + ATA_ID_SATA_CAPABILITY = 76,
1: + ATA_ID_SATA_CAPABILITY_2 = 77,
1: + ATA_ID_FEATURE_SUPP = 78,
1: + ATA_ID_MAJOR_VER = 80,
1: + ATA_ID_COMMAND_SET_1 = 82,
1: + ATA_ID_COMMAND_SET_2 = 83,
1: + ATA_ID_CFSSE = 84,
1: + ATA_ID_CFS_ENABLE_1 = 85,
1: + ATA_ID_CFS_ENABLE_2 = 86,
1: + ATA_ID_CSF_DEFAULT = 87,
1: + ATA_ID_UDMA_MODES = 88,
1: + ATA_ID_HW_CONFIG = 93,
1: + ATA_ID_SPG = 98,
1: + ATA_ID_LBA_CAPACITY_2 = 100,
1: + ATA_ID_SECTOR_SIZE = 106,
1: + ATA_ID_WWN = 108,
1: + ATA_ID_LOGICAL_SECTOR_SIZE = 117,
1: + ATA_ID_COMMAND_SET_3 = 119,
1: + ATA_ID_COMMAND_SET_4 = 120,
1: + ATA_ID_LAST_LUN = 126,
1: + ATA_ID_DLF = 128,
1: + ATA_ID_CSFO = 129,
1: + ATA_ID_CFA_POWER = 160,
1: + ATA_ID_CFA_KEY_MGMT = 162,
1: + ATA_ID_CFA_MODES = 163,
1: + ATA_ID_DATA_SET_MGMT = 169,
1: + ATA_ID_SCT_CMD_XPORT = 206,
1: + ATA_ID_ROT_SPEED = 217,
1: + ATA_ID_PIO4 = 2,
1: + ATA_ID_SERNO_LEN = 20,
1: + ATA_ID_FW_REV_LEN = 8,
1: + ATA_ID_PROD_LEN = 40,
1: + ATA_ID_WWN_LEN = 8,
1: + ATA_PCI_CTL_OFS = 2,
1: + ATA_PIO0 = 1,
1: + ATA_PIO1 = 3,
1: + ATA_PIO2 = 7,
1: + ATA_PIO3 = 15,
1: + ATA_PIO4 = 31,
1: + ATA_PIO5 = 63,
1: + ATA_PIO6 = 127,
1: + ATA_PIO4_ONLY = 16,
1: + ATA_SWDMA0 = 1,
1: + ATA_SWDMA1 = 3,
1: + ATA_SWDMA2 = 7,
1: + ATA_SWDMA2_ONLY = 4,
1: + ATA_MWDMA0 = 1,
1: + ATA_MWDMA1 = 3,
1: + ATA_MWDMA2 = 7,
1: + ATA_MWDMA3 = 15,
1: + ATA_MWDMA4 = 31,
1: + ATA_MWDMA12_ONLY = 6,
1: + ATA_MWDMA2_ONLY = 4,
1: + ATA_UDMA0 = 1,
1: + ATA_UDMA1 = 3,
1: + ATA_UDMA2 = 7,
1: + ATA_UDMA3 = 15,
1: + ATA_UDMA4 = 31,
1: + ATA_UDMA5 = 63,
1: + ATA_UDMA6 = 127,
1: + ATA_UDMA7 = 255,
1: + ATA_UDMA24_ONLY = 20,
1: + ATA_UDMA_MASK_40C = 7,
1: + ATA_PRD_SZ = 8,
1: + ATA_PRD_TBL_SZ = 2048,
1: + ATA_PRD_EOT = -2147483648,
1: + ATA_DMA_TABLE_OFS = 4,
1: + ATA_DMA_STATUS = 2,
1: + ATA_DMA_CMD = 0,
1: + ATA_DMA_WR = 8,
1: + ATA_DMA_START = 1,
1: + ATA_DMA_INTR = 4,
1: + ATA_DMA_ERR = 2,
1: + ATA_DMA_ACTIVE = 1,
1: + ATA_HOB = 128,
1: + ATA_NIEN = 2,
1: + ATA_LBA = 64,
1: + ATA_DEV1 = 16,
1: + ATA_DEVICE_OBS = 160,
1: + ATA_DEVCTL_OBS = 8,
1: + ATA_BUSY = 128,
1: + ATA_DRDY = 64,
1: + ATA_DF = 32,
1: + ATA_DSC = 16,
1: + ATA_DRQ = 8,
1: + ATA_CORR = 4,
1: + ATA_SENSE = 2,
1: + ATA_ERR = 1,
1: + ATA_SRST = 4,
1: + ATA_ICRC = 128,
1: + ATA_BBK = 128,
1: + ATA_UNC = 64,
1: + ATA_MC = 32,
1: + ATA_IDNF = 16,
1: + ATA_MCR = 8,
1: + ATA_ABORTED = 4,
1: + ATA_TRK0NF = 2,
1: + ATA_AMNF = 1,
1: + ATAPI_LFS = 240,
1: + ATAPI_EOM = 2,
1: + ATAPI_ILI = 1,
1: + ATAPI_IO = 2,
1: + ATAPI_COD = 1,
1: + ATA_REG_DATA = 0,
1: + ATA_REG_ERR = 1,
1: + ATA_REG_NSECT = 2,
1: + ATA_REG_LBAL = 3,
1: + ATA_REG_LBAM = 4,
1: + ATA_REG_LBAH = 5,
1: + ATA_REG_DEVICE = 6,
1: + ATA_REG_STATUS = 7,
1: + ATA_REG_FEATURE = 1,
1: + ATA_REG_CMD = 7,
1: + ATA_REG_BYTEL = 4,
1: + ATA_REG_BYTEH = 5,
1: + ATA_REG_DEVSEL = 6,
1: + ATA_REG_IRQ = 2,
1: + ATA_CMD_DEV_RESET = 8,
1: + ATA_CMD_CHK_POWER = 229,
1: + ATA_CMD_STANDBY = 226,
1: + ATA_CMD_IDLE = 227,
1: + ATA_CMD_EDD = 144,
1: + ATA_CMD_DOWNLOAD_MICRO = 146,
1: + ATA_CMD_DOWNLOAD_MICRO_DMA = 147,
1: + ATA_CMD_NOP = 0,
1: + ATA_CMD_FLUSH = 231,
1: + ATA_CMD_FLUSH_EXT = 234,
1: + ATA_CMD_ID_ATA = 236,
1: + ATA_CMD_ID_ATAPI = 161,
1: + ATA_CMD_SERVICE = 162,
1: + ATA_CMD_READ = 200,
1: + ATA_CMD_READ_EXT = 37,
1: + ATA_CMD_READ_QUEUED = 38,
1: + ATA_CMD_READ_STREAM_EXT = 43,
1: + ATA_CMD_READ_STREAM_DMA_EXT = 42,
1: + ATA_CMD_WRITE = 202,
1: + ATA_CMD_WRITE_EXT = 53,
1: + ATA_CMD_WRITE_QUEUED = 54,
1: + ATA_CMD_WRITE_STREAM_EXT = 59,
1: + ATA_CMD_WRITE_STREAM_DMA_EXT = 58,
1: + ATA_CMD_WRITE_FUA_EXT = 61,
1: + ATA_CMD_WRITE_QUEUED_FUA_EXT = 62,
1: + ATA_CMD_FPDMA_READ = 96,
1: + ATA_CMD_FPDMA_WRITE = 97,
1: + ATA_CMD_NCQ_NON_DATA = 99,
1: + ATA_CMD_FPDMA_SEND = 100,
1: + ATA_CMD_FPDMA_RECV = 101,
1: + ATA_CMD_PIO_READ = 32,
1: + ATA_CMD_PIO_READ_EXT = 36,
1: + ATA_CMD_PIO_WRITE = 48,
1: + ATA_CMD_PIO_WRITE_EXT = 52,
1: + ATA_CMD_READ_MULTI = 196,
1: + ATA_CMD_READ_MULTI_EXT = 41,
1: + ATA_CMD_WRITE_MULTI = 197,
1: + ATA_CMD_WRITE_MULTI_EXT = 57,
1: + ATA_CMD_WRITE_MULTI_FUA_EXT = 206,
1: + ATA_CMD_SET_FEATURES = 239,
1: + ATA_CMD_SET_MULTI = 198,
1: + ATA_CMD_PACKET = 160,
1: + ATA_CMD_VERIFY = 64,
1: + ATA_CMD_VERIFY_EXT = 66,
1: + ATA_CMD_WRITE_UNCORR_EXT = 69,
1: + ATA_CMD_STANDBYNOW1 = 224,
1: + ATA_CMD_IDLEIMMEDIATE = 225,
1: + ATA_CMD_SLEEP = 230,
1: + ATA_CMD_INIT_DEV_PARAMS = 145,
1: + ATA_CMD_READ_NATIVE_MAX = 248,
1: + ATA_CMD_READ_NATIVE_MAX_EXT = 39,
1: + ATA_CMD_SET_MAX = 249,
1: + ATA_CMD_SET_MAX_EXT = 55,
1: + ATA_CMD_READ_LOG_EXT = 47,
1: + ATA_CMD_WRITE_LOG_EXT = 63,
1: + ATA_CMD_READ_LOG_DMA_EXT = 71,
1: + ATA_CMD_WRITE_LOG_DMA_EXT = 87,
1: + ATA_CMD_TRUSTED_NONDATA = 91,
1: + ATA_CMD_TRUSTED_RCV = 92,
1: + ATA_CMD_TRUSTED_RCV_DMA = 93,
1: + ATA_CMD_TRUSTED_SND = 94,
1: + ATA_CMD_TRUSTED_SND_DMA = 95,
1: + ATA_CMD_PMP_READ = 228,
1: + ATA_CMD_PMP_READ_DMA = 233,
1: + ATA_CMD_PMP_WRITE = 232,
1: + ATA_CMD_PMP_WRITE_DMA = 235,
1: + ATA_CMD_CONF_OVERLAY = 177,
1: + ATA_CMD_SEC_SET_PASS = 241,
1: + ATA_CMD_SEC_UNLOCK = 242,
1: + ATA_CMD_SEC_ERASE_PREP = 243,
1: + ATA_CMD_SEC_ERASE_UNIT = 244,
1: + ATA_CMD_SEC_FREEZE_LOCK = 245,
1: + ATA_CMD_SEC_DISABLE_PASS = 246,
1: + ATA_CMD_CONFIG_STREAM = 81,
1: + ATA_CMD_SMART = 176,
1: + ATA_CMD_MEDIA_LOCK = 222,
1: + ATA_CMD_MEDIA_UNLOCK = 223,
1: + ATA_CMD_DSM = 6,
1: + ATA_CMD_CHK_MED_CRD_TYP = 209,
1: + ATA_CMD_CFA_REQ_EXT_ERR = 3,
1: + ATA_CMD_CFA_WRITE_NE = 56,
1: + ATA_CMD_CFA_TRANS_SECT = 135,
1: + ATA_CMD_CFA_ERASE = 192,
1: + ATA_CMD_CFA_WRITE_MULT_NE = 205,
1: + ATA_CMD_REQ_SENSE_DATA = 11,
1: + ATA_CMD_SANITIZE_DEVICE = 180,
1: + ATA_CMD_ZAC_MGMT_IN = 74,
1: + ATA_CMD_ZAC_MGMT_OUT = 159,
1: + ATA_CMD_RESTORE = 16,
1: + ATA_SUBCMD_FPDMA_RECV_RD_LOG_DMA_EXT = 1,
1: + ATA_SUBCMD_FPDMA_RECV_ZAC_MGMT_IN = 2,
1: + ATA_SUBCMD_FPDMA_SEND_DSM = 0,
1: + ATA_SUBCMD_FPDMA_SEND_WR_LOG_DMA_EXT = 2,
1: + ATA_SUBCMD_NCQ_NON_DATA_ABORT_QUEUE = 0,
1: + ATA_SUBCMD_NCQ_NON_DATA_SET_FEATURES = 5,
1: + ATA_SUBCMD_NCQ_NON_DATA_ZERO_EXT = 6,
1: + ATA_SUBCMD_NCQ_NON_DATA_ZAC_MGMT_OUT = 7,
1: + ATA_SUBCMD_ZAC_MGMT_IN_REPORT_ZONES = 0,
1: + ATA_SUBCMD_ZAC_MGMT_OUT_CLOSE_ZONE = 1,
1: + ATA_SUBCMD_ZAC_MGMT_OUT_FINISH_ZONE = 2,
1: + ATA_SUBCMD_ZAC_MGMT_OUT_OPEN_ZONE = 3,
1: + ATA_SUBCMD_ZAC_MGMT_OUT_RESET_WRITE_POINTER = 4,
1: + ATA_LOG_DIRECTORY = 0,
1: + ATA_LOG_SATA_NCQ = 16,
1: + ATA_LOG_NCQ_NON_DATA = 18,
1: + ATA_LOG_NCQ_SEND_RECV = 19,
1: + ATA_LOG_IDENTIFY_DEVICE = 48,
1: + ATA_LOG_SECURITY = 6,
1: + ATA_LOG_SATA_SETTINGS = 8,
1: + ATA_LOG_ZONED_INFORMATION = 9,
1: + ATA_LOG_DEVSLP_OFFSET = 48,
1: + ATA_LOG_DEVSLP_SIZE = 8,
1: + ATA_LOG_DEVSLP_MDAT = 0,
1: + ATA_LOG_DEVSLP_MDAT_MASK = 31,
1: + ATA_LOG_DEVSLP_DETO = 1,
1: + ATA_LOG_DEVSLP_VALID = 7,
1: + ATA_LOG_DEVSLP_VALID_MASK = 128,
1: + ATA_LOG_NCQ_PRIO_OFFSET = 9,
1: + ATA_LOG_NCQ_SEND_RECV_SUBCMDS_OFFSET = 0,
1: + ATA_LOG_NCQ_SEND_RECV_SUBCMDS_DSM = 1,
1: + ATA_LOG_NCQ_SEND_RECV_DSM_OFFSET = 4,
1: + ATA_LOG_NCQ_SEND_RECV_DSM_TRIM = 1,
1: + ATA_LOG_NCQ_SEND_RECV_RD_LOG_OFFSET = 8,
1: + ATA_LOG_NCQ_SEND_RECV_RD_LOG_SUPPORTED = 1,
1: + ATA_LOG_NCQ_SEND_RECV_WR_LOG_OFFSET = 12,
1: + ATA_LOG_NCQ_SEND_RECV_WR_LOG_SUPPORTED = 1,
1: + ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_OFFSET = 16,
1: + ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_OUT_SUPPORTED = 1,
1: + ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_IN_SUPPORTED = 2,
1: + ATA_LOG_NCQ_SEND_RECV_SIZE = 20,
1: + ATA_LOG_NCQ_NON_DATA_SUBCMDS_OFFSET = 0,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_OFFSET = 0,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_NCQ = 1,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_ALL = 2,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_STREAMING = 4,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_NON_STREAMING = 8,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_SELECTED = 16,
1: + ATA_LOG_NCQ_NON_DATA_ZAC_MGMT_OFFSET = 28,
1: + ATA_LOG_NCQ_NON_DATA_ZAC_MGMT_OUT = 1,
1: + ATA_LOG_NCQ_NON_DATA_SIZE = 64,
1: + ATA_CMD_READ_LONG = 34,
1: + ATA_CMD_READ_LONG_ONCE = 35,
1: + ATA_CMD_WRITE_LONG = 50,
1: + ATA_CMD_WRITE_LONG_ONCE = 51,
1: + SETFEATURES_XFER = 3,
1: + XFER_UDMA_7 = 71,
1: + XFER_UDMA_6 = 70,
1: + XFER_UDMA_5 = 69,
1: + XFER_UDMA_4 = 68,
1: + XFER_UDMA_3 = 67,
1: + XFER_UDMA_2 = 66,
1: + XFER_UDMA_1 = 65,
1: + XFER_UDMA_0 = 64,
1: + XFER_MW_DMA_4 = 36,
1: + XFER_MW_DMA_3 = 35,
1: + XFER_MW_DMA_2 = 34,
1: + XFER_MW_DMA_1 = 33,
1: + XFER_MW_DMA_0 = 32,
1: + XFER_SW_DMA_2 = 18,
1: + XFER_SW_DMA_1 = 17,
1: + XFER_SW_DMA_0 = 16,
1: + XFER_PIO_6 = 14,
1: + XFER_PIO_5 = 13,
1: + XFER_PIO_4 = 12,
1: + XFER_PIO_3 = 11,
1: + XFER_PIO_2 = 10,
1: + XFER_PIO_1 = 9,
1: + XFER_PIO_0 = 8,
1: + XFER_PIO_SLOW = 0,
1: + SETFEATURES_WC_ON = 2,
1: + SETFEATURES_WC_OFF = 130,
1: + SETFEATURES_RA_ON = 170,
1: + SETFEATURES_RA_OFF = 85,
1: + SETFEATURES_AAM_ON = 66,
1: + SETFEATURES_AAM_OFF = 194,
1: + SETFEATURES_SPINUP = 7,
1: + SETFEATURES_SPINUP_TIMEOUT = 30000,
1: + SETFEATURES_SATA_ENABLE = 16,
1: + SETFEATURES_SATA_DISABLE = 144,
1: + SATA_FPDMA_OFFSET = 1,
1: + SATA_FPDMA_AA = 2,
1: + SATA_DIPM = 3,
1: + SATA_FPDMA_IN_ORDER = 4,
1: + SATA_AN = 5,
1: + SATA_SSP = 6,
1: + SATA_DEVSLP = 9,
1: + SETFEATURE_SENSE_DATA = 195,
1: + ATA_SET_MAX_ADDR = 0,
1: + ATA_SET_MAX_PASSWD = 1,
1: + ATA_SET_MAX_LOCK = 2,
1: + ATA_SET_MAX_UNLOCK = 3,
1: + ATA_SET_MAX_FREEZE_LOCK = 4,
1: + ATA_SET_MAX_PASSWD_DMA = 5,
1: + ATA_SET_MAX_UNLOCK_DMA = 6,
1: + ATA_DCO_RESTORE = 192,
1: + ATA_DCO_FREEZE_LOCK = 193,
1: + ATA_DCO_IDENTIFY = 194,
1: + ATA_DCO_SET = 195,
1: + ATA_SMART_ENABLE = 216,
1: + ATA_SMART_READ_VALUES = 208,
1: + ATA_SMART_READ_THRESHOLDS = 209,
1: + ATA_DSM_TRIM = 1,
1: + ATA_SMART_LBAM_PASS = 79,
1: + ATA_SMART_LBAH_PASS = 194,
1: + ATAPI_PKT_DMA = 1,
1: + ATAPI_DMADIR = 4,
1: + ATAPI_CDB_LEN = 16,
1: + SATA_PMP_MAX_PORTS = 15,
1: + SATA_PMP_CTRL_PORT = 15,
1: + SATA_PMP_GSCR_DWORDS = 128,
1: + SATA_PMP_GSCR_PROD_ID = 0,
1: + SATA_PMP_GSCR_REV = 1,
1: + SATA_PMP_GSCR_PORT_INFO = 2,
1: + SATA_PMP_GSCR_ERROR = 32,
1: + SATA_PMP_GSCR_ERROR_EN = 33,
1: + SATA_PMP_GSCR_FEAT = 64,
1: + SATA_PMP_GSCR_FEAT_EN = 96,
1: + SATA_PMP_PSCR_STATUS = 0,
1: + SATA_PMP_PSCR_ERROR = 1,
1: + SATA_PMP_PSCR_CONTROL = 2,
1: + SATA_PMP_FEAT_BIST = 1,
1: + SATA_PMP_FEAT_PMREQ = 2,
1: + SATA_PMP_FEAT_DYNSSC = 4,
1: + SATA_PMP_FEAT_NOTIFY = 8,
1: + ATA_CBL_NONE = 0,
1: + ATA_CBL_PATA40 = 1,
1: + ATA_CBL_PATA80 = 2,
1: + ATA_CBL_PATA40_SHORT = 3,
1: + ATA_CBL_PATA_UNK = 4,
1: + ATA_CBL_PATA_IGN = 5,
1: + ATA_CBL_SATA = 6,
1: + SCR_STATUS = 0,
1: + SCR_ERROR = 1,
1: + SCR_CONTROL = 2,
1: + SCR_ACTIVE = 3,
1: + SCR_NOTIFICATION = 4,
1: + SERR_DATA_RECOVERED = 1,
1: + SERR_COMM_RECOVERED = 2,
1: + SERR_DATA = 256,
1: + SERR_PERSISTENT = 512,
1: + SERR_PROTOCOL = 1024,
1: + SERR_INTERNAL = 2048,
1: + SERR_PHYRDY_CHG = 65536,
1: + SERR_PHY_INT_ERR = 131072,
1: + SERR_COMM_WAKE = 262144,
1: + SERR_10B_8B_ERR = 524288,
1: + SERR_DISPARITY = 1048576,
1: + SERR_CRC = 2097152,
1: + SERR_HANDSHAKE = 4194304,
1: + SERR_LINK_SEQ_ERR = 8388608,
1: + SERR_TRANS_ST_ERROR = 16777216,
1: + SERR_UNRECOG_FIS = 33554432,
1: + SERR_DEV_XCHG = 67108864,
1: +};
1: +
1: +enum ata_prot_flags {
1: + ATA_PROT_FLAG_PIO = 1,
1: + ATA_PROT_FLAG_DMA = 2,
1: + ATA_PROT_FLAG_NCQ = 4,
1: + ATA_PROT_FLAG_ATAPI = 8,
1: + ATA_PROT_UNKNOWN = 255,
1: + ATA_PROT_NODATA = 0,
1: + ATA_PROT_PIO = 1,
1: + ATA_PROT_DMA = 2,
1: + ATA_PROT_NCQ_NODATA = 4,
1: + ATA_PROT_NCQ = 6,
1: + ATAPI_PROT_NODATA = 8,
1: + ATAPI_PROT_PIO = 9,
1: + ATAPI_PROT_DMA = 10,
1: +};
1: +
1: +struct ata_bmdma_prd {
1: + __le32 addr;
1: + __le32 flags_len;
1: +};
1: +
1: +enum {
1: + ATA_MSG_DRV = 1,
1: + ATA_MSG_INFO = 2,
1: + ATA_MSG_PROBE = 4,
1: + ATA_MSG_WARN = 8,
1: + ATA_MSG_MALLOC = 16,
1: + ATA_MSG_CTL = 32,
1: + ATA_MSG_INTR = 64,
1: + ATA_MSG_ERR = 128,
1: +};
1: +
1: +enum {
1: + LIBATA_MAX_PRD = 128,
1: + LIBATA_DUMB_MAX_PRD = 64,
1: + ATA_DEF_QUEUE = 1,
1: + ATA_MAX_QUEUE = 32,
1: + ATA_TAG_INTERNAL = 32,
1: + ATA_SHORT_PAUSE = 16,
1: + ATAPI_MAX_DRAIN = 16384,
1: + ATA_ALL_DEVICES = 3,
1: + ATA_SHT_EMULATED = 1,
1: + ATA_SHT_THIS_ID = -1,
1: + ATA_TFLAG_LBA48 = 1,
1: + ATA_TFLAG_ISADDR = 2,
1: + ATA_TFLAG_DEVICE = 4,
1: + ATA_TFLAG_WRITE = 8,
1: + ATA_TFLAG_LBA = 16,
1: + ATA_TFLAG_FUA = 32,
1: + ATA_TFLAG_POLLING = 64,
1: + ATA_DFLAG_LBA = 1,
1: + ATA_DFLAG_LBA48 = 2,
1: + ATA_DFLAG_CDB_INTR = 4,
1: + ATA_DFLAG_NCQ = 8,
1: + ATA_DFLAG_FLUSH_EXT = 16,
1: + ATA_DFLAG_ACPI_PENDING = 32,
1: + ATA_DFLAG_ACPI_FAILED = 64,
1: + ATA_DFLAG_AN = 128,
1: + ATA_DFLAG_TRUSTED = 256,
1: + ATA_DFLAG_DMADIR = 1024,
1: + ATA_DFLAG_CFG_MASK = 4095,
1: + ATA_DFLAG_PIO = 4096,
1: + ATA_DFLAG_NCQ_OFF = 8192,
1: + ATA_DFLAG_SLEEPING = 32768,
1: + ATA_DFLAG_DUBIOUS_XFER = 65536,
1: + ATA_DFLAG_NO_UNLOAD = 131072,
1: + ATA_DFLAG_UNLOCK_HPA = 262144,
1: + ATA_DFLAG_NCQ_SEND_RECV = 524288,
1: + ATA_DFLAG_NCQ_PRIO = 1048576,
1: + ATA_DFLAG_NCQ_PRIO_ENABLE = 2097152,
1: + ATA_DFLAG_INIT_MASK = 16777215,
1: + ATA_DFLAG_DETACH = 16777216,
1: + ATA_DFLAG_DETACHED = 33554432,
1: + ATA_DFLAG_DA = 67108864,
1: + ATA_DFLAG_DEVSLP = 134217728,
1: + ATA_DFLAG_ACPI_DISABLED = 268435456,
1: + ATA_DFLAG_D_SENSE = 536870912,
1: + ATA_DFLAG_ZAC = 1073741824,
1: + ATA_DEV_UNKNOWN = 0,
1: + ATA_DEV_ATA = 1,
1: + ATA_DEV_ATA_UNSUP = 2,
1: + ATA_DEV_ATAPI = 3,
1: + ATA_DEV_ATAPI_UNSUP = 4,
1: + ATA_DEV_PMP = 5,
1: + ATA_DEV_PMP_UNSUP = 6,
1: + ATA_DEV_SEMB = 7,
1: + ATA_DEV_SEMB_UNSUP = 8,
1: + ATA_DEV_ZAC = 9,
1: + ATA_DEV_ZAC_UNSUP = 10,
1: + ATA_DEV_NONE = 11,
1: + ATA_LFLAG_NO_HRST = 2,
1: + ATA_LFLAG_NO_SRST = 4,
1: + ATA_LFLAG_ASSUME_ATA = 8,
1: + ATA_LFLAG_ASSUME_SEMB = 16,
1: + ATA_LFLAG_ASSUME_CLASS = 24,
1: + ATA_LFLAG_NO_RETRY = 32,
1: + ATA_LFLAG_DISABLED = 64,
1: + ATA_LFLAG_SW_ACTIVITY = 128,
1: + ATA_LFLAG_NO_LPM = 256,
1: + ATA_LFLAG_RST_ONCE = 512,
1: + ATA_LFLAG_CHANGED = 1024,
1: + ATA_LFLAG_NO_DB_DELAY = 2048,
1: + ATA_FLAG_SLAVE_POSS = 1,
1: + ATA_FLAG_SATA = 2,
1: + ATA_FLAG_NO_LPM = 4,
1: + ATA_FLAG_NO_LOG_PAGE = 32,
1: + ATA_FLAG_NO_ATAPI = 64,
1: + ATA_FLAG_PIO_DMA = 128,
1: + ATA_FLAG_PIO_LBA48 = 256,
1: + ATA_FLAG_PIO_POLLING = 512,
1: + ATA_FLAG_NCQ = 1024,
1: + ATA_FLAG_NO_POWEROFF_SPINDOWN = 2048,
1: + ATA_FLAG_NO_HIBERNATE_SPINDOWN = 4096,
1: + ATA_FLAG_DEBUGMSG = 8192,
1: + ATA_FLAG_FPDMA_AA = 16384,
1: + ATA_FLAG_IGN_SIMPLEX = 32768,
1: + ATA_FLAG_NO_IORDY = 65536,
1: + ATA_FLAG_ACPI_SATA = 131072,
1: + ATA_FLAG_AN = 262144,
1: + ATA_FLAG_PMP = 524288,
1: + ATA_FLAG_FPDMA_AUX = 1048576,
1: + ATA_FLAG_EM = 2097152,
1: + ATA_FLAG_SW_ACTIVITY = 4194304,
1: + ATA_FLAG_NO_DIPM = 8388608,
1: + ATA_FLAG_SAS_HOST = 16777216,
1: + ATA_PFLAG_EH_PENDING = 1,
1: + ATA_PFLAG_EH_IN_PROGRESS = 2,
1: + ATA_PFLAG_FROZEN = 4,
1: + ATA_PFLAG_RECOVERED = 8,
1: + ATA_PFLAG_LOADING = 16,
1: + ATA_PFLAG_SCSI_HOTPLUG = 64,
1: + ATA_PFLAG_INITIALIZING = 128,
1: + ATA_PFLAG_RESETTING = 256,
1: + ATA_PFLAG_UNLOADING = 512,
1: + ATA_PFLAG_UNLOADED = 1024,
1: + ATA_PFLAG_SUSPENDED = 131072,
1: + ATA_PFLAG_PM_PENDING = 262144,
1: + ATA_PFLAG_INIT_GTM_VALID = 524288,
1: + ATA_PFLAG_PIO32 = 1048576,
1: + ATA_PFLAG_PIO32CHANGE = 2097152,
1: + ATA_PFLAG_EXTERNAL = 4194304,
1: + ATA_QCFLAG_ACTIVE = 1,
1: + ATA_QCFLAG_DMAMAP = 2,
1: + ATA_QCFLAG_IO = 8,
1: + ATA_QCFLAG_RESULT_TF = 16,
1: + ATA_QCFLAG_CLEAR_EXCL = 32,
1: + ATA_QCFLAG_QUIET = 64,
1: + ATA_QCFLAG_RETRY = 128,
1: + ATA_QCFLAG_FAILED = 65536,
1: + ATA_QCFLAG_SENSE_VALID = 131072,
1: + ATA_QCFLAG_EH_SCHEDULED = 262144,
1: + ATA_HOST_SIMPLEX = 1,
1: + ATA_HOST_STARTED = 2,
1: + ATA_HOST_PARALLEL_SCAN = 4,
1: + ATA_HOST_IGNORE_ATA = 8,
1: + ATA_TMOUT_BOOT = 30000,
1: + ATA_TMOUT_BOOT_QUICK = 7000,
1: + ATA_TMOUT_INTERNAL_QUICK = 5000,
1: + ATA_TMOUT_MAX_PARK = 30000,
1: + ATA_TMOUT_FF_WAIT_LONG = 2000,
1: + ATA_TMOUT_FF_WAIT = 800,
1: + ATA_WAIT_AFTER_RESET = 150,
1: + ATA_TMOUT_PMP_SRST_WAIT = 5000,
1: + ATA_TMOUT_SPURIOUS_PHY = 10000,
1: + BUS_UNKNOWN = 0,
1: + BUS_DMA = 1,
1: + BUS_IDLE = 2,
1: + BUS_NOINTR = 3,
1: + BUS_NODATA = 4,
1: + BUS_TIMER = 5,
1: + BUS_PIO = 6,
1: + BUS_EDD = 7,
1: + BUS_IDENTIFY = 8,
1: + BUS_PACKET = 9,
1: + PORT_UNKNOWN = 0,
1: + PORT_ENABLED = 1,
1: + PORT_DISABLED = 2,
1: + ATA_NR_PIO_MODES = 7,
1: + ATA_NR_MWDMA_MODES = 5,
1: + ATA_NR_UDMA_MODES = 8,
1: + ATA_SHIFT_PIO = 0,
1: + ATA_SHIFT_MWDMA = 7,
1: + ATA_SHIFT_UDMA = 12,
1: + ATA_SHIFT_PRIO = 6,
1: + ATA_PRIO_HIGH = 2,
1: + ATA_DMA_PAD_SZ = 4,
1: + ATA_ERING_SIZE = 32,
1: + ATA_DEFER_LINK = 1,
1: + ATA_DEFER_PORT = 2,
1: + ATA_EH_DESC_LEN = 80,
1: + ATA_EH_REVALIDATE = 1,
1: + ATA_EH_SOFTRESET = 2,
1: + ATA_EH_HARDRESET = 4,
1: + ATA_EH_RESET = 6,
1: + ATA_EH_ENABLE_LINK = 8,
1: + ATA_EH_PARK = 32,
1: + ATA_EH_PERDEV_MASK = 33,
1: + ATA_EH_ALL_ACTIONS = 15,
1: + ATA_EHI_HOTPLUGGED = 1,
1: + ATA_EHI_NO_AUTOPSY = 4,
1: + ATA_EHI_QUIET = 8,
1: + ATA_EHI_NO_RECOVERY = 16,
1: + ATA_EHI_DID_SOFTRESET = 65536,
1: + ATA_EHI_DID_HARDRESET = 131072,
1: + ATA_EHI_PRINTINFO = 262144,
1: + ATA_EHI_SETMODE = 524288,
1: + ATA_EHI_POST_SETMODE = 1048576,
1: + ATA_EHI_DID_RESET = 196608,
1: + ATA_EHI_TO_SLAVE_MASK = 12,
1: + ATA_EH_MAX_TRIES = 5,
1: + ATA_LINK_RESUME_TRIES = 5,
1: + ATA_PROBE_MAX_TRIES = 3,
1: + ATA_EH_DEV_TRIES = 3,
1: + ATA_EH_PMP_TRIES = 5,
1: + ATA_EH_PMP_LINK_TRIES = 3,
1: + SATA_PMP_RW_TIMEOUT = 3000,
1: + ATA_EH_CMD_TIMEOUT_TABLE_SIZE = 6,
1: + ATA_HORKAGE_DIAGNOSTIC = 1,
1: + ATA_HORKAGE_NODMA = 2,
1: + ATA_HORKAGE_NONCQ = 4,
1: + ATA_HORKAGE_MAX_SEC_128 = 8,
1: + ATA_HORKAGE_BROKEN_HPA = 16,
1: + ATA_HORKAGE_DISABLE = 32,
1: + ATA_HORKAGE_HPA_SIZE = 64,
1: + ATA_HORKAGE_IVB = 256,
1: + ATA_HORKAGE_STUCK_ERR = 512,
1: + ATA_HORKAGE_BRIDGE_OK = 1024,
1: + ATA_HORKAGE_ATAPI_MOD16_DMA = 2048,
1: + ATA_HORKAGE_FIRMWARE_WARN = 4096,
1: + ATA_HORKAGE_1_5_GBPS = 8192,
1: + ATA_HORKAGE_NOSETXFER = 16384,
1: + ATA_HORKAGE_BROKEN_FPDMA_AA = 32768,
1: + ATA_HORKAGE_DUMP_ID = 65536,
1: + ATA_HORKAGE_MAX_SEC_LBA48 = 131072,
1: + ATA_HORKAGE_ATAPI_DMADIR = 262144,
1: + ATA_HORKAGE_NO_NCQ_TRIM = 524288,
1: + ATA_HORKAGE_NOLPM = 1048576,
1: + ATA_HORKAGE_WD_BROKEN_LPM = 2097152,
1: + ATA_HORKAGE_ZERO_AFTER_TRIM = 4194304,
1: + ATA_HORKAGE_NO_DMA_LOG = 8388608,
1: + ATA_HORKAGE_NOTRIM = 16777216,
1: + ATA_HORKAGE_MAX_SEC_1024 = 33554432,
1: + ATA_DMA_MASK_ATA = 1,
1: + ATA_DMA_MASK_ATAPI = 2,
1: + ATA_DMA_MASK_CFA = 4,
1: + ATAPI_READ = 0,
1: + ATAPI_WRITE = 1,
1: + ATAPI_READ_CD = 2,
1: + ATAPI_PASS_THRU = 3,
1: + ATAPI_MISC = 4,
1: + ATA_TIMING_SETUP = 1,
1: + ATA_TIMING_ACT8B = 2,
1: + ATA_TIMING_REC8B = 4,
1: + ATA_TIMING_CYC8B = 8,
1: + ATA_TIMING_8BIT = 14,
1: + ATA_TIMING_ACTIVE = 16,
1: + ATA_TIMING_RECOVER = 32,
1: + ATA_TIMING_DMACK_HOLD = 64,
1: + ATA_TIMING_CYCLE = 128,
1: + ATA_TIMING_UDMA = 256,
1: + ATA_TIMING_ALL = 511,
1: + ATA_ACPI_FILTER_SETXFER = 1,
1: + ATA_ACPI_FILTER_LOCK = 2,
1: + ATA_ACPI_FILTER_DIPM = 4,
1: + ATA_ACPI_FILTER_FPDMA_OFFSET = 8,
1: + ATA_ACPI_FILTER_FPDMA_AA = 16,
1: + ATA_ACPI_FILTER_DEFAULT = 7,
1: +};
1: +
1: +enum ata_xfer_mask {
1: + ATA_MASK_PIO = 127,
1: + ATA_MASK_MWDMA = 3968,
1: + ATA_MASK_UDMA = 1044480,
1: +};
1: +
1: +enum ata_completion_errors {
1: + AC_ERR_OK = 0,
1: + AC_ERR_DEV = 1,
1: + AC_ERR_HSM = 2,
1: + AC_ERR_TIMEOUT = 4,
1: + AC_ERR_MEDIA = 8,
1: + AC_ERR_ATA_BUS = 16,
1: + AC_ERR_HOST_BUS = 32,
1: + AC_ERR_SYSTEM = 64,
1: + AC_ERR_INVALID = 128,
1: + AC_ERR_OTHER = 256,
1: + AC_ERR_NODEV_HINT = 512,
1: + AC_ERR_NCQ = 1024,
1: +};
1: +
1: +enum ata_lpm_policy {
1: + ATA_LPM_UNKNOWN = 0,
1: + ATA_LPM_MAX_POWER = 1,
1: + ATA_LPM_MED_POWER = 2,
1: + ATA_LPM_MED_POWER_WITH_DIPM = 3,
1: + ATA_LPM_MIN_POWER_WITH_PARTIAL = 4,
1: + ATA_LPM_MIN_POWER = 5,
1: +};
1: +
1: +struct ata_queued_cmd;
1: +
1: +typedef void (*ata_qc_cb_t)(struct ata_queued_cmd *);
1: +
1: +struct ata_taskfile {
1: + long unsigned int flags;
1: + u8 protocol;
1: + u8 ctl;
1: + u8 hob_feature;
1: + u8 hob_nsect;
1: + u8 hob_lbal;
1: + u8 hob_lbam;
1: + u8 hob_lbah;
1: + u8 feature;
1: + u8 nsect;
1: + u8 lbal;
1: + u8 lbam;
1: + u8 lbah;
1: + u8 device;
1: + u8 command;
1: + u32 auxiliary;
1: +};
1: +
1: +struct ata_port;
1: +
1: +struct ata_device;
1: +
1: +struct ata_queued_cmd {
1: + struct ata_port *ap;
1: + struct ata_device *dev;
1: + struct scsi_cmnd *scsicmd;
1: + void (*scsidone)(struct scsi_cmnd *);
1: + struct ata_taskfile tf;
1: + u8 cdb[16];
1: + long unsigned int flags;
1: + unsigned int tag;
1: + unsigned int hw_tag;
1: + unsigned int n_elem;
1: + unsigned int orig_n_elem;
1: + int dma_dir;
1: + unsigned int sect_size;
1: + unsigned int nbytes;
1: + unsigned int extrabytes;
1: + unsigned int curbytes;
1: + struct scatterlist sgent;
1: + struct scatterlist *sg;
1: + struct scatterlist *cursg;
1: + unsigned int cursg_ofs;
1: + unsigned int err_mask;
1: + struct ata_taskfile result_tf;
1: + ata_qc_cb_t complete_fn;
1: + void *private_data;
1: + void *lldd_task;
1: +};
1: +
1: +struct ata_link;
1: +
1: +typedef int (*ata_prereset_fn_t)(struct ata_link *, long unsigned int);
1: +
1: +struct ata_eh_info {
1: + struct ata_device *dev;
1: + u32 serror;
1: + unsigned int err_mask;
1: + unsigned int action;
1: + unsigned int dev_action[2];
1: + unsigned int flags;
1: + unsigned int probe_mask;
1: + char desc[80];
1: + int desc_len;
1: +};
1: +
1: +struct ata_eh_context {
1: + struct ata_eh_info i;
1: + int tries[2];
1: + int cmd_timeout_idx[12];
1: + unsigned int classes[2];
1: + unsigned int did_probe_mask;
1: + unsigned int unloaded_mask;
1: + unsigned int saved_ncq_enabled;
1: + u8 saved_xfer_mode[2];
1: + long unsigned int last_reset;
1: +};
1: +
1: +struct ata_ering_entry {
1: + unsigned int eflags;
1: + unsigned int err_mask;
1: + u64 timestamp;
1: +};
1: +
1: +struct ata_ering {
1: + int cursor;
1: + struct ata_ering_entry ring[32];
1: +};
1: +
1: +struct ata_device {
1: + struct ata_link *link;
1: + unsigned int devno;
1: + unsigned int horkage;
1: + long unsigned int flags;
1: + struct scsi_device *sdev;
1: + void *private_data;
1: + union acpi_object *gtf_cache;
1: + unsigned int gtf_filter;
1: + struct device tdev;
1: + u64 n_sectors;
1: + u64 n_native_sectors;
1: + unsigned int class;
1: + long unsigned int unpark_deadline;
1: + u8 pio_mode;
1: + u8 dma_mode;
1: + u8 xfer_mode;
1: + unsigned int xfer_shift;
1: + unsigned int multi_count;
1: + unsigned int max_sectors;
1: + unsigned int cdb_len;
1: + long unsigned int pio_mask;
1: + long unsigned int mwdma_mask;
1: + long unsigned int udma_mask;
1: + u16 cylinders;
1: + u16 heads;
1: + u16 sectors;
1: + long: 16;
1: + long: 64;
1: + union {
1: + u16 id[256];
1: + u32 gscr[128];
1: + };
1: + u8 devslp_timing[8];
1: + u8 ncq_send_recv_cmds[20];
1: + u8 ncq_non_data_cmds[64];
1: + u32 zac_zoned_cap;
1: + u32 zac_zones_optimal_open;
1: + u32 zac_zones_optimal_nonseq;
1: + u32 zac_zones_max_open;
1: + int spdn_cnt;
1: + struct ata_ering ering;
1: + long: 64;
1: +};
1: +
1: +struct ata_link {
1: + struct ata_port *ap;
1: + int pmp;
1: + struct device tdev;
1: + unsigned int active_tag;
1: + u32 sactive;
1: + unsigned int flags;
1: + u32 saved_scontrol;
1: + unsigned int hw_sata_spd_limit;
1: + unsigned int sata_spd_limit;
1: + unsigned int sata_spd;
1: + enum ata_lpm_policy lpm_policy;
1: + struct ata_eh_info eh_info;
1: + struct ata_eh_context eh_context;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct ata_device device[2];
1: + long unsigned int last_lpm_change;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +typedef int (*ata_reset_fn_t)(struct ata_link *, unsigned int *, long unsigned int);
1: +
1: +typedef void (*ata_postreset_fn_t)(struct ata_link *, unsigned int *);
1: +
1: +enum sw_activity {
1: + OFF = 0,
1: + BLINK_ON = 1,
1: + BLINK_OFF = 2,
1: +};
1: +
1: +struct ata_ioports {
1: + void *cmd_addr;
1: + void *data_addr;
1: + void *error_addr;
1: + void *feature_addr;
1: + void *nsect_addr;
1: + void *lbal_addr;
1: + void *lbam_addr;
1: + void *lbah_addr;
1: + void *device_addr;
1: + void *status_addr;
1: + void *command_addr;
1: + void *altstatus_addr;
1: + void *ctl_addr;
1: + void *bmdma_addr;
1: + void *scr_addr;
1: +};
1: +
1: +struct ata_port_operations;
1: +
1: +struct ata_host {
1: + spinlock_t lock;
1: + struct device *dev;
1: + void * const *iomap;
1: + unsigned int n_ports;
1: + unsigned int n_tags;
1: + void *private_data;
1: + struct ata_port_operations *ops;
1: + long unsigned int flags;
1: + struct kref kref;
1: + struct mutex eh_mutex;
1: + struct task_struct *eh_owner;
1: + struct ata_port *simplex_claimed;
1: + struct ata_port *ports[0];
1: +};
1: +
1: +struct ata_port_operations {
1: + int (*qc_defer)(struct ata_queued_cmd *);
1: + int (*check_atapi_dma)(struct ata_queued_cmd *);
1: + enum ata_completion_errors (*qc_prep)(struct ata_queued_cmd *);
1: + unsigned int (*qc_issue)(struct ata_queued_cmd *);
1: + bool (*qc_fill_rtf)(struct ata_queued_cmd *);
1: + int (*cable_detect)(struct ata_port *);
1: + long unsigned int (*mode_filter)(struct ata_device *, long unsigned int);
1: + void (*set_piomode)(struct ata_port *, struct ata_device *);
1: + void (*set_dmamode)(struct ata_port *, struct ata_device *);
1: + int (*set_mode)(struct ata_link *, struct ata_device **);
1: + unsigned int (*read_id)(struct ata_device *, struct ata_taskfile *, u16 *);
1: + void (*dev_config)(struct ata_device *);
1: + void (*freeze)(struct ata_port *);
1: + void (*thaw)(struct ata_port *);
1: + ata_prereset_fn_t prereset;
1: + ata_reset_fn_t softreset;
1: + ata_reset_fn_t hardreset;
1: + ata_postreset_fn_t postreset;
1: + ata_prereset_fn_t pmp_prereset;
1: + ata_reset_fn_t pmp_softreset;
1: + ata_reset_fn_t pmp_hardreset;
1: + ata_postreset_fn_t pmp_postreset;
1: + void (*error_handler)(struct ata_port *);
1: + void (*lost_interrupt)(struct ata_port *);
1: + void (*post_internal_cmd)(struct ata_queued_cmd *);
1: + void (*sched_eh)(struct ata_port *);
1: + void (*end_eh)(struct ata_port *);
1: + int (*scr_read)(struct ata_link *, unsigned int, u32 *);
1: + int (*scr_write)(struct ata_link *, unsigned int, u32);
1: + void (*pmp_attach)(struct ata_port *);
1: + void (*pmp_detach)(struct ata_port *);
1: + int (*set_lpm)(struct ata_link *, enum ata_lpm_policy, unsigned int);
1: + int (*port_suspend)(struct ata_port *, pm_message_t);
1: + int (*port_resume)(struct ata_port *);
1: + int (*port_start)(struct ata_port *);
1: + void (*port_stop)(struct ata_port *);
1: + void (*host_stop)(struct ata_host *);
1: + void (*sff_dev_select)(struct ata_port *, unsigned int);
1: + void (*sff_set_devctl)(struct ata_port *, u8);
1: + u8 (*sff_check_status)(struct ata_port *);
1: + u8 (*sff_check_altstatus)(struct ata_port *);
1: + void (*sff_tf_load)(struct ata_port *, const struct ata_taskfile *);
1: + void (*sff_tf_read)(struct ata_port *, struct ata_taskfile *);
1: + void (*sff_exec_command)(struct ata_port *, const struct ata_taskfile *);
1: + unsigned int (*sff_data_xfer)(struct ata_queued_cmd *, unsigned char *, unsigned int, int);
1: + void (*sff_irq_on)(struct ata_port *);
1: + bool (*sff_irq_check)(struct ata_port *);
1: + void (*sff_irq_clear)(struct ata_port *);
1: + void (*sff_drain_fifo)(struct ata_queued_cmd *);
1: + void (*bmdma_setup)(struct ata_queued_cmd *);
1: + void (*bmdma_start)(struct ata_queued_cmd *);
1: + void (*bmdma_stop)(struct ata_queued_cmd *);
1: + u8 (*bmdma_status)(struct ata_port *);
1: + ssize_t (*em_show)(struct ata_port *, char *);
1: + ssize_t (*em_store)(struct ata_port *, const char *, size_t);
1: + ssize_t (*sw_activity_show)(struct ata_device *, char *);
1: + ssize_t (*sw_activity_store)(struct ata_device *, enum sw_activity);
1: + ssize_t (*transmit_led_message)(struct ata_port *, u32, ssize_t);
1: + void (*phy_reset)(struct ata_port *);
1: + void (*eng_timeout)(struct ata_port *);
1: + const struct ata_port_operations *inherits;
1: +};
1: +
1: +struct ata_port_stats {
1: + long unsigned int unhandled_irq;
1: + long unsigned int idle_irq;
1: + long unsigned int rw_reqbuf;
1: +};
1: +
1: +struct ata_acpi_drive {
1: + u32 pio;
1: + u32 dma;
1: +};
1: +
1: +struct ata_acpi_gtm {
1: + struct ata_acpi_drive drive[2];
1: + u32 flags;
1: +};
1: +
1: +struct ata_port {
1: + struct Scsi_Host *scsi_host;
1: + struct ata_port_operations *ops;
1: + spinlock_t *lock;
1: + long unsigned int flags;
1: + unsigned int pflags;
1: + unsigned int print_id;
1: + unsigned int local_port_no;
1: + unsigned int port_no;
1: + struct ata_ioports ioaddr;
1: + u8 ctl;
1: + u8 last_ctl;
1: + struct ata_link *sff_pio_task_link;
1: + struct delayed_work sff_pio_task;
1: + struct ata_bmdma_prd *bmdma_prd;
1: + dma_addr_t bmdma_prd_dma;
1: + unsigned int pio_mask;
1: + unsigned int mwdma_mask;
1: + unsigned int udma_mask;
1: + unsigned int cbl;
1: + struct ata_queued_cmd qcmd[33];
1: + long unsigned int sas_tag_allocated;
1: + u64 qc_active;
1: + int nr_active_links;
1: + unsigned int sas_last_tag;
1: + long: 64;
1: + struct ata_link link;
1: + struct ata_link *slave_link;
1: + int nr_pmp_links;
1: + struct ata_link *pmp_link;
1: + struct ata_link *excl_link;
1: + struct ata_port_stats stats;
1: + struct ata_host *host;
1: + struct device *dev;
1: + struct device tdev;
1: + struct mutex scsi_scan_mutex;
1: + struct delayed_work hotplug_task;
1: + struct work_struct scsi_rescan_task;
1: + unsigned int hsm_task_state;
1: + u32 msg_enable;
1: + struct list_head eh_done_q;
1: + wait_queue_head_t eh_wait_q;
1: + int eh_tries;
1: + struct completion park_req_pending;
1: + pm_message_t pm_mesg;
1: + enum ata_lpm_policy target_lpm_policy;
1: + struct timer_list fastdrain_timer;
1: + long unsigned int fastdrain_cnt;
1: + int em_message_type;
1: + void *private_data;
1: + struct ata_acpi_gtm __acpi_init_gtm;
1: + int: 32;
1: + u8 sector_buf[512];
1: +};
1: +
1: +struct ata_port_info {
1: + long unsigned int flags;
1: + long unsigned int link_flags;
1: + long unsigned int pio_mask;
1: + long unsigned int mwdma_mask;
1: + long unsigned int udma_mask;
1: + struct ata_port_operations *port_ops;
1: + void *private_data;
1: +};
1: +
1: +struct ata_timing {
1: + short unsigned int mode;
1: + short unsigned int setup;
1: + short unsigned int act8b;
1: + short unsigned int rec8b;
1: + short unsigned int cyc8b;
1: + short unsigned int active;
1: + short unsigned int recover;
1: + short unsigned int dmack_hold;
1: + short unsigned int cycle;
1: + short unsigned int udma;
1: +};
1: +
1: +struct pci_bits {
1: + unsigned int reg;
1: + unsigned int width;
1: + long unsigned int mask;
1: + long unsigned int val;
1: +};
1: +
1: +enum ata_link_iter_mode {
1: + ATA_LITER_EDGE = 0,
1: + ATA_LITER_HOST_FIRST = 1,
1: + ATA_LITER_PMP_FIRST = 2,
1: +};
1: +
1: +enum ata_dev_iter_mode {
1: + ATA_DITER_ENABLED = 0,
1: + ATA_DITER_ENABLED_REVERSE = 1,
1: + ATA_DITER_ALL = 2,
1: + ATA_DITER_ALL_REVERSE = 3,
1: +};
1: +
1: +struct trace_event_raw_ata_qc_issue {
1: + struct trace_entry ent;
1: + unsigned int ata_port;
1: + unsigned int ata_dev;
1: + unsigned int tag;
1: + unsigned char cmd;
1: + unsigned char dev;
1: + unsigned char lbal;
1: + unsigned char lbam;
1: + unsigned char lbah;
1: + unsigned char nsect;
1: + unsigned char feature;
1: + unsigned char hob_lbal;
1: + unsigned char hob_lbam;
1: + unsigned char hob_lbah;
1: + unsigned char hob_nsect;
1: + unsigned char hob_feature;
1: + unsigned char ctl;
1: + unsigned char proto;
1: + long unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ata_qc_complete_template {
1: + struct trace_entry ent;
1: + unsigned int ata_port;
1: + unsigned int ata_dev;
1: + unsigned int tag;
1: + unsigned char status;
1: + unsigned char dev;
1: + unsigned char lbal;
1: + unsigned char lbam;
1: + unsigned char lbah;
1: + unsigned char nsect;
1: + unsigned char error;
1: + unsigned char hob_lbal;
1: + unsigned char hob_lbam;
1: + unsigned char hob_lbah;
1: + unsigned char hob_nsect;
1: + unsigned char hob_feature;
1: + unsigned char ctl;
1: + long unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ata_eh_link_autopsy {
1: + struct trace_entry ent;
1: + unsigned int ata_port;
1: + unsigned int ata_dev;
1: + unsigned int eh_action;
1: + unsigned int eh_err_mask;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_ata_eh_link_autopsy_qc {
1: + struct trace_entry ent;
1: + unsigned int ata_port;
1: + unsigned int ata_dev;
1: + unsigned int tag;
1: + unsigned int qc_flags;
1: + unsigned int eh_err_mask;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_ata_qc_issue {};
1: +
1: +struct trace_event_data_offsets_ata_qc_complete_template {};
1: +
1: +struct trace_event_data_offsets_ata_eh_link_autopsy {};
1: +
1: +struct trace_event_data_offsets_ata_eh_link_autopsy_qc {};
1: +
1: +enum {
1: + ATA_READID_POSTRESET = 1,
1: + ATA_DNXFER_PIO = 0,
1: + ATA_DNXFER_DMA = 1,
1: + ATA_DNXFER_40C = 2,
1: + ATA_DNXFER_FORCE_PIO = 3,
1: + ATA_DNXFER_FORCE_PIO0 = 4,
1: + ATA_DNXFER_QUIET = -2147483648,
1: +};
1: +
1: +struct ata_force_param {
1: + const char *name;
1: + unsigned int cbl;
1: + int spd_limit;
1: + long unsigned int xfer_mask;
1: + unsigned int horkage_on;
1: + unsigned int horkage_off;
1: + unsigned int lflags;
1: +};
1: +
1: +struct ata_force_ent {
1: + int port;
1: + int device;
1: + struct ata_force_param param;
1: +};
1: +
1: +struct ata_xfer_ent {
1: + int shift;
1: + int bits;
1: + u8 base;
1: +};
1: +
1: +struct ata_blacklist_entry {
1: + const char *model_num;
1: + const char *model_rev;
1: + long unsigned int horkage;
1: +};
1: +
1: +typedef unsigned int (*ata_xlat_func_t)(struct ata_queued_cmd *);
1: +
1: +struct ata_scsi_args {
1: + struct ata_device *dev;
1: + u16 *id;
1: + struct scsi_cmnd *cmd;
1: +};
1: +
1: +enum ata_lpm_hints {
1: + ATA_LPM_EMPTY = 1,
1: + ATA_LPM_HIPM = 2,
1: + ATA_LPM_WAKE_ONLY = 4,
1: +};
1: +
1: +enum {
1: + ATA_EH_SPDN_NCQ_OFF = 1,
1: + ATA_EH_SPDN_SPEED_DOWN = 2,
1: + ATA_EH_SPDN_FALLBACK_TO_PIO = 4,
1: + ATA_EH_SPDN_KEEP_ERRORS = 8,
1: + ATA_EFLAG_IS_IO = 1,
1: + ATA_EFLAG_DUBIOUS_XFER = 2,
1: + ATA_EFLAG_OLD_ER = -2147483648,
1: + ATA_ECAT_NONE = 0,
1: + ATA_ECAT_ATA_BUS = 1,
1: + ATA_ECAT_TOUT_HSM = 2,
1: + ATA_ECAT_UNK_DEV = 3,
1: + ATA_ECAT_DUBIOUS_NONE = 4,
1: + ATA_ECAT_DUBIOUS_ATA_BUS = 5,
1: + ATA_ECAT_DUBIOUS_TOUT_HSM = 6,
1: + ATA_ECAT_DUBIOUS_UNK_DEV = 7,
1: + ATA_ECAT_NR = 8,
1: + ATA_EH_CMD_DFL_TIMEOUT = 5000,
1: + ATA_EH_RESET_COOL_DOWN = 5000,
1: + ATA_EH_PRERESET_TIMEOUT = 10000,
1: + ATA_EH_FASTDRAIN_INTERVAL = 3000,
1: + ATA_EH_UA_TRIES = 5,
1: + ATA_EH_PROBE_TRIAL_INTERVAL = 60000,
1: + ATA_EH_PROBE_TRIALS = 2,
1: +};
1: +
1: +struct ata_eh_cmd_timeout_ent {
1: + const u8 *commands;
1: + const long unsigned int *timeouts;
1: +};
1: +
1: +struct speed_down_verdict_arg {
1: + u64 since;
1: + int xfer_ok;
1: + int nr_errors[8];
1: +};
1: +
1: +struct ata_internal {
1: + struct scsi_transport_template t;
1: + struct device_attribute private_port_attrs[3];
1: + struct device_attribute private_link_attrs[3];
1: + struct device_attribute private_dev_attrs[9];
1: + struct transport_container link_attr_cont;
1: + struct transport_container dev_attr_cont;
1: + struct device_attribute *link_attrs[4];
1: + struct device_attribute *port_attrs[4];
1: + struct device_attribute *dev_attrs[10];
1: +};
1: +
1: +struct ata_show_ering_arg {
1: + char *buf;
1: + int written;
1: +};
1: +
1: +enum hsm_task_states {
1: + HSM_ST_IDLE = 0,
1: + HSM_ST_FIRST = 1,
1: + HSM_ST = 2,
1: + HSM_ST_LAST = 3,
1: + HSM_ST_ERR = 4,
1: +};
1: +
1: +struct ata_acpi_gtf {
1: + u8 tf[7];
1: +};
1: +
1: +struct ata_acpi_hotplug_context {
1: + struct acpi_hotplug_context hp;
1: + union {
1: + struct ata_port *ap;
1: + struct ata_device *dev;
1: + } data;
1: +};
1: +
1: +struct regulator;
1: +
1: +struct phy_configure_opts_mipi_dphy {
1: + unsigned int clk_miss;
1: + unsigned int clk_post;
1: + unsigned int clk_pre;
1: + unsigned int clk_prepare;
1: + unsigned int clk_settle;
1: + unsigned int clk_term_en;
1: + unsigned int clk_trail;
1: + unsigned int clk_zero;
1: + unsigned int d_term_en;
1: + unsigned int eot;
1: + unsigned int hs_exit;
1: + unsigned int hs_prepare;
1: + unsigned int hs_settle;
1: + unsigned int hs_skip;
1: + unsigned int hs_trail;
1: + unsigned int hs_zero;
1: + unsigned int init;
1: + unsigned int lpx;
1: + unsigned int ta_get;
1: + unsigned int ta_go;
1: + unsigned int ta_sure;
1: + unsigned int wakeup;
1: + long unsigned int hs_clk_rate;
1: + long unsigned int lp_clk_rate;
1: + unsigned char lanes;
1: +};
1: +
1: +enum phy_mode {
1: + PHY_MODE_INVALID = 0,
1: + PHY_MODE_USB_HOST = 1,
1: + PHY_MODE_USB_HOST_LS = 2,
1: + PHY_MODE_USB_HOST_FS = 3,
1: + PHY_MODE_USB_HOST_HS = 4,
1: + PHY_MODE_USB_HOST_SS = 5,
1: + PHY_MODE_USB_DEVICE = 6,
1: + PHY_MODE_USB_DEVICE_LS = 7,
1: + PHY_MODE_USB_DEVICE_FS = 8,
1: + PHY_MODE_USB_DEVICE_HS = 9,
1: + PHY_MODE_USB_DEVICE_SS = 10,
1: + PHY_MODE_USB_OTG = 11,
1: + PHY_MODE_UFS_HS_A = 12,
1: + PHY_MODE_UFS_HS_B = 13,
1: + PHY_MODE_PCIE = 14,
1: + PHY_MODE_ETHERNET = 15,
1: + PHY_MODE_MIPI_DPHY = 16,
1: + PHY_MODE_SATA = 17,
1: + PHY_MODE_LVDS = 18,
1: +};
1: +
1: +union phy_configure_opts {
1: + struct phy_configure_opts_mipi_dphy mipi_dphy;
1: +};
1: +
1: +struct phy___2;
1: +
1: +struct phy_ops {
1: + int (*init)(struct phy___2 *);
1: + int (*exit)(struct phy___2 *);
1: + int (*power_on)(struct phy___2 *);
1: + int (*power_off)(struct phy___2 *);
1: + int (*set_mode)(struct phy___2 *, enum phy_mode, int);
1: + int (*configure)(struct phy___2 *, union phy_configure_opts *);
1: + int (*validate)(struct phy___2 *, enum phy_mode, int, union phy_configure_opts *);
1: + int (*reset)(struct phy___2 *);
1: + int (*calibrate)(struct phy___2 *);
1: + void (*release)(struct phy___2 *);
1: + struct module *owner;
1: +};
1: +
1: +struct phy_attrs {
1: + u32 bus_width;
1: + enum phy_mode mode;
1: +};
1: +
1: +struct phy___2 {
1: + struct device dev;
1: + int id;
1: + const struct phy_ops *ops;
1: + struct mutex mutex;
1: + int init_count;
1: + int power_count;
1: + struct phy_attrs attrs;
1: + struct regulator *pwr;
1: +};
1: +
1: +enum {
1: + AHCI_MAX_PORTS = 32,
1: + AHCI_MAX_CLKS = 5,
1: + AHCI_MAX_SG = 168,
1: + AHCI_DMA_BOUNDARY = -1,
1: + AHCI_MAX_CMDS = 32,
1: + AHCI_CMD_SZ = 32,
1: + AHCI_CMD_SLOT_SZ = 1024,
1: + AHCI_RX_FIS_SZ = 256,
1: + AHCI_CMD_TBL_CDB = 64,
1: + AHCI_CMD_TBL_HDR_SZ = 128,
1: + AHCI_CMD_TBL_SZ = 2816,
1: + AHCI_CMD_TBL_AR_SZ = 90112,
1: + AHCI_PORT_PRIV_DMA_SZ = 91392,
1: + AHCI_PORT_PRIV_FBS_DMA_SZ = 95232,
1: + AHCI_IRQ_ON_SG = -2147483648,
1: + AHCI_CMD_ATAPI = 32,
1: + AHCI_CMD_WRITE = 64,
1: + AHCI_CMD_PREFETCH = 128,
1: + AHCI_CMD_RESET = 256,
1: + AHCI_CMD_CLR_BUSY = 1024,
1: + RX_FIS_PIO_SETUP = 32,
1: + RX_FIS_D2H_REG = 64,
1: + RX_FIS_SDB = 88,
1: + RX_FIS_UNK = 96,
1: + HOST_CAP = 0,
1: + HOST_CTL = 4,
1: + HOST_IRQ_STAT = 8,
1: + HOST_PORTS_IMPL = 12,
1: + HOST_VERSION = 16,
1: + HOST_EM_LOC = 28,
1: + HOST_EM_CTL = 32,
1: + HOST_CAP2 = 36,
1: + HOST_RESET = 1,
1: + HOST_IRQ_EN = 2,
1: + HOST_MRSM = 4,
1: + HOST_AHCI_EN = -2147483648,
1: + HOST_CAP_SXS = 32,
1: + HOST_CAP_EMS = 64,
1: + HOST_CAP_CCC = 128,
1: + HOST_CAP_PART = 8192,
1: + HOST_CAP_SSC = 16384,
1: + HOST_CAP_PIO_MULTI = 32768,
1: + HOST_CAP_FBS = 65536,
1: + HOST_CAP_PMP = 131072,
1: + HOST_CAP_ONLY = 262144,
1: + HOST_CAP_CLO = 16777216,
1: + HOST_CAP_LED = 33554432,
1: + HOST_CAP_ALPM = 67108864,
1: + HOST_CAP_SSS = 134217728,
1: + HOST_CAP_MPS = 268435456,
1: + HOST_CAP_SNTF = 536870912,
1: + HOST_CAP_NCQ = 1073741824,
1: + HOST_CAP_64 = -2147483648,
1: + HOST_CAP2_BOH = 1,
1: + HOST_CAP2_NVMHCI = 2,
1: + HOST_CAP2_APST = 4,
1: + HOST_CAP2_SDS = 8,
1: + HOST_CAP2_SADM = 16,
1: + HOST_CAP2_DESO = 32,
1: + PORT_LST_ADDR = 0,
1: + PORT_LST_ADDR_HI = 4,
1: + PORT_FIS_ADDR = 8,
1: + PORT_FIS_ADDR_HI = 12,
1: + PORT_IRQ_STAT = 16,
1: + PORT_IRQ_MASK = 20,
1: + PORT_CMD = 24,
1: + PORT_TFDATA = 32,
1: + PORT_SIG = 36,
1: + PORT_CMD_ISSUE = 56,
1: + PORT_SCR_STAT = 40,
1: + PORT_SCR_CTL = 44,
1: + PORT_SCR_ERR = 48,
1: + PORT_SCR_ACT = 52,
1: + PORT_SCR_NTF = 60,
1: + PORT_FBS = 64,
1: + PORT_DEVSLP = 68,
1: + PORT_IRQ_COLD_PRES = -2147483648,
1: + PORT_IRQ_TF_ERR = 1073741824,
1: + PORT_IRQ_HBUS_ERR = 536870912,
1: + PORT_IRQ_HBUS_DATA_ERR = 268435456,
1: + PORT_IRQ_IF_ERR = 134217728,
1: + PORT_IRQ_IF_NONFATAL = 67108864,
1: + PORT_IRQ_OVERFLOW = 16777216,
1: + PORT_IRQ_BAD_PMP = 8388608,
1: + PORT_IRQ_PHYRDY = 4194304,
1: + PORT_IRQ_DEV_ILCK = 128,
1: + PORT_IRQ_CONNECT = 64,
1: + PORT_IRQ_SG_DONE = 32,
1: + PORT_IRQ_UNK_FIS = 16,
1: + PORT_IRQ_SDB_FIS = 8,
1: + PORT_IRQ_DMAS_FIS = 4,
1: + PORT_IRQ_PIOS_FIS = 2,
1: + PORT_IRQ_D2H_REG_FIS = 1,
1: + PORT_IRQ_FREEZE = 683671632,
1: + PORT_IRQ_ERROR = 2025848912,
1: + DEF_PORT_IRQ = 2025848959,
1: + PORT_CMD_ASP = 134217728,
1: + PORT_CMD_ALPE = 67108864,
1: + PORT_CMD_ATAPI = 16777216,
1: + PORT_CMD_FBSCP = 4194304,
1: + PORT_CMD_ESP = 2097152,
1: + PORT_CMD_HPCP = 262144,
1: + PORT_CMD_PMP = 131072,
1: + PORT_CMD_LIST_ON = 32768,
1: + PORT_CMD_FIS_ON = 16384,
1: + PORT_CMD_FIS_RX = 16,
1: + PORT_CMD_CLO = 8,
1: + PORT_CMD_POWER_ON = 4,
1: + PORT_CMD_SPIN_UP = 2,
1: + PORT_CMD_START = 1,
1: + PORT_CMD_ICC_MASK = -268435456,
1: + PORT_CMD_ICC_ACTIVE = 268435456,
1: + PORT_CMD_ICC_PARTIAL = 536870912,
1: + PORT_CMD_ICC_SLUMBER = 1610612736,
1: + PORT_FBS_DWE_OFFSET = 16,
1: + PORT_FBS_ADO_OFFSET = 12,
1: + PORT_FBS_DEV_OFFSET = 8,
1: + PORT_FBS_DEV_MASK = 3840,
1: + PORT_FBS_SDE = 4,
1: + PORT_FBS_DEC = 2,
1: + PORT_FBS_EN = 1,
1: + PORT_DEVSLP_DM_OFFSET = 25,
1: + PORT_DEVSLP_DM_MASK = 503316480,
1: + PORT_DEVSLP_DITO_OFFSET = 15,
1: + PORT_DEVSLP_MDAT_OFFSET = 10,
1: + PORT_DEVSLP_DETO_OFFSET = 2,
1: + PORT_DEVSLP_DSP = 2,
1: + PORT_DEVSLP_ADSE = 1,
1: + AHCI_HFLAG_NO_NCQ = 1,
1: + AHCI_HFLAG_IGN_IRQ_IF_ERR = 2,
1: + AHCI_HFLAG_IGN_SERR_INTERNAL = 4,
1: + AHCI_HFLAG_32BIT_ONLY = 8,
1: + AHCI_HFLAG_MV_PATA = 16,
1: + AHCI_HFLAG_NO_MSI = 32,
1: + AHCI_HFLAG_NO_PMP = 64,
1: + AHCI_HFLAG_SECT255 = 256,
1: + AHCI_HFLAG_YES_NCQ = 512,
1: + AHCI_HFLAG_NO_SUSPEND = 1024,
1: + AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = 2048,
1: + AHCI_HFLAG_NO_SNTF = 4096,
1: + AHCI_HFLAG_NO_FPDMA_AA = 8192,
1: + AHCI_HFLAG_YES_FBS = 16384,
1: + AHCI_HFLAG_DELAY_ENGINE = 32768,
1: + AHCI_HFLAG_NO_DEVSLP = 131072,
1: + AHCI_HFLAG_NO_FBS = 262144,
1: + AHCI_HFLAG_MULTI_MSI = 1048576,
1: + AHCI_HFLAG_WAKE_BEFORE_STOP = 4194304,
1: + AHCI_HFLAG_YES_ALPM = 8388608,
1: + AHCI_HFLAG_NO_WRITE_TO_RO = 16777216,
1: + AHCI_HFLAG_IS_MOBILE = 33554432,
1: + AHCI_HFLAG_SUSPEND_PHYS = 67108864,
1: + AHCI_FLAG_COMMON = 393346,
1: + ICH_MAP = 144,
1: + PCS_6 = 146,
1: + PCS_7 = 148,
1: + EM_MAX_SLOTS = 8,
1: + EM_MAX_RETRY = 5,
1: + EM_CTL_RST = 512,
1: + EM_CTL_TM = 256,
1: + EM_CTL_MR = 1,
1: + EM_CTL_ALHD = 67108864,
1: + EM_CTL_XMT = 33554432,
1: + EM_CTL_SMB = 16777216,
1: + EM_CTL_SGPIO = 524288,
1: + EM_CTL_SES = 262144,
1: + EM_CTL_SAFTE = 131072,
1: + EM_CTL_LED = 65536,
1: + EM_MSG_TYPE_LED = 1,
1: + EM_MSG_TYPE_SAFTE = 2,
1: + EM_MSG_TYPE_SES2 = 4,
1: + EM_MSG_TYPE_SGPIO = 8,
1: +};
1: +
1: +struct ahci_cmd_hdr {
1: + __le32 opts;
1: + __le32 status;
1: + __le32 tbl_addr;
1: + __le32 tbl_addr_hi;
1: + __le32 reserved[4];
1: +};
1: +
1: +struct ahci_em_priv {
1: + enum sw_activity blink_policy;
1: + struct timer_list timer;
1: + long unsigned int saved_activity;
1: + long unsigned int activity;
1: + long unsigned int led_state;
1: + struct ata_link *link;
1: +};
1: +
1: +struct ahci_port_priv {
1: + struct ata_link *active_link;
1: + struct ahci_cmd_hdr *cmd_slot;
1: + dma_addr_t cmd_slot_dma;
1: + void *cmd_tbl;
1: + dma_addr_t cmd_tbl_dma;
1: + void *rx_fis;
1: + dma_addr_t rx_fis_dma;
1: + unsigned int ncq_saw_d2h: 1;
1: + unsigned int ncq_saw_dmas: 1;
1: + unsigned int ncq_saw_sdb: 1;
1: + spinlock_t lock;
1: + u32 intr_mask;
1: + bool fbs_supported;
1: + bool fbs_enabled;
1: + int fbs_last_dev;
1: + struct ahci_em_priv em_priv[8];
1: + char *irq_desc;
1: +};
1: +
1: +struct ahci_host_priv {
1: + unsigned int flags;
1: + u32 force_port_map;
1: + u32 mask_port_map;
1: + void *mmio;
1: + u32 cap;
1: + u32 cap2;
1: + u32 version;
1: + u32 port_map;
1: + u32 saved_cap;
1: + u32 saved_cap2;
1: + u32 saved_port_map;
1: + u32 em_loc;
1: + u32 em_buf_sz;
1: + u32 em_msg_type;
1: + bool got_runtime_pm;
1: + struct clk *clks[5];
1: + struct reset_control *rsts;
1: + struct regulator **target_pwrs;
1: + struct regulator *ahci_regulator;
1: + struct regulator *phy_regulator;
1: + struct phy___2 **phys;
1: + unsigned int nports;
1: + void *plat_data;
1: + unsigned int irq;
1: + void (*start_engine)(struct ata_port *);
1: + int (*stop_engine)(struct ata_port *);
1: + irqreturn_t (*irq_handler)(int, void *);
1: + int (*get_irq_vector)(struct ata_host *, int);
1: +};
1: +
1: +enum {
1: + AHCI_PCI_BAR_STA2X11 = 0,
1: + AHCI_PCI_BAR_CAVIUM = 0,
1: + AHCI_PCI_BAR_ENMOTUS = 2,
1: + AHCI_PCI_BAR_CAVIUM_GEN5 = 4,
1: + AHCI_PCI_BAR_STANDARD = 5,
1: +};
1: +
1: +enum board_ids {
1: + board_ahci = 0,
1: + board_ahci_ign_iferr = 1,
1: + board_ahci_mobile = 2,
1: + board_ahci_nomsi = 3,
1: + board_ahci_noncq = 4,
1: + board_ahci_nosntf = 5,
1: + board_ahci_yes_fbs = 6,
1: + board_ahci_al = 7,
1: + board_ahci_avn = 8,
1: + board_ahci_mcp65 = 9,
1: + board_ahci_mcp77 = 10,
1: + board_ahci_mcp89 = 11,
1: + board_ahci_mv = 12,
1: + board_ahci_sb600 = 13,
1: + board_ahci_sb700 = 14,
1: + board_ahci_vt8251 = 15,
1: + board_ahci_pcs7 = 16,
1: + board_ahci_mcp_linux = 9,
1: + board_ahci_mcp67 = 9,
1: + board_ahci_mcp73 = 9,
1: + board_ahci_mcp79 = 10,
1: +};
1: +
1: +struct ahci_sg {
1: + __le32 addr;
1: + __le32 addr_hi;
1: + __le32 reserved;
1: + __le32 flags_size;
1: +};
1: +
1: +enum {
1: + PIIX_IOCFG = 84,
1: + ICH5_PMR = 144,
1: + ICH5_PCS = 146,
1: + PIIX_SIDPR_BAR = 5,
1: + PIIX_SIDPR_LEN = 16,
1: + PIIX_SIDPR_IDX = 0,
1: + PIIX_SIDPR_DATA = 4,
1: + PIIX_FLAG_CHECKINTR = 268435456,
1: + PIIX_FLAG_SIDPR = 536870912,
1: + PIIX_PATA_FLAGS = 1,
1: + PIIX_SATA_FLAGS = 268435458,
1: + PIIX_FLAG_PIO16 = 1073741824,
1: + PIIX_80C_PRI = 48,
1: + PIIX_80C_SEC = 192,
1: + P0 = 0,
1: + P1 = 1,
1: + P2 = 2,
1: + P3 = 3,
1: + IDE = -1,
1: + NA = -2,
1: + RV = -3,
1: + PIIX_AHCI_DEVICE = 6,
1: + PIIX_HOST_BROKEN_SUSPEND = 16777216,
1: +};
1: +
1: +enum piix_controller_ids {
1: + piix_pata_mwdma = 0,
1: + piix_pata_33 = 1,
1: + ich_pata_33 = 2,
1: + ich_pata_66 = 3,
1: + ich_pata_100 = 4,
1: + ich_pata_100_nomwdma1 = 5,
1: + ich5_sata = 6,
1: + ich6_sata = 7,
1: + ich6m_sata = 8,
1: + ich8_sata = 9,
1: + ich8_2port_sata = 10,
1: + ich8m_apple_sata = 11,
1: + tolapai_sata = 12,
1: + piix_pata_vmw = 13,
1: + ich8_sata_snb = 14,
1: + ich8_2port_sata_snb = 15,
1: + ich8_2port_sata_byt = 16,
1: +};
1: +
1: +struct piix_map_db {
1: + const u32 mask;
1: + const u16 port_enable;
1: + int map[0];
1: +};
1: +
1: +struct piix_host_priv {
1: + const int *map;
1: + u32 saved_iocfg;
1: + void *sidpr;
1: +};
1: +
1: +struct ich_laptop {
1: + u16 device;
1: + u16 subvendor;
1: + u16 subdevice;
1: +};
1: +
1: +enum {
1: + D0TIM = 128,
1: + D1TIM = 132,
1: + PM = 7,
1: + MDM = 768,
1: + UDM = 458752,
1: + PPE = 1073741824,
1: + USD = -2147483648,
1: +};
1: +
1: +struct ethtool_cmd {
1: + __u32 cmd;
1: + __u32 supported;
1: + __u32 advertising;
1: + __u16 speed;
1: + __u8 duplex;
1: + __u8 port;
1: + __u8 phy_address;
1: + __u8 transceiver;
1: + __u8 autoneg;
1: + __u8 mdio_support;
1: + __u32 maxtxpkt;
1: + __u32 maxrxpkt;
1: + __u16 speed_hi;
1: + __u8 eth_tp_mdix;
1: + __u8 eth_tp_mdix_ctrl;
1: + __u32 lp_advertising;
1: + __u32 reserved[2];
1: +};
1: +
1: +enum netdev_state_t {
1: + __LINK_STATE_START = 0,
1: + __LINK_STATE_PRESENT = 1,
1: + __LINK_STATE_NOCARRIER = 2,
1: + __LINK_STATE_LINKWATCH_PENDING = 3,
1: + __LINK_STATE_DORMANT = 4,
1: +};
1: +
1: +struct mii_ioctl_data {
1: + __u16 phy_id;
1: + __u16 reg_num;
1: + __u16 val_in;
1: + __u16 val_out;
1: +};
1: +
1: +struct mii_if_info {
1: + int phy_id;
1: + int advertising;
1: + int phy_id_mask;
1: + int reg_num_mask;
1: + unsigned int full_duplex: 1;
1: + unsigned int force_media: 1;
1: + unsigned int supports_gmii: 1;
1: + struct net_device *dev;
1: + int (*mdio_read)(struct net_device *, int, int);
1: + void (*mdio_write)(struct net_device *, int, int, int);
1: +};
1: +
1: +struct devprobe2 {
1: + struct net_device * (*probe)(int);
1: + int status;
1: +};
1: +
1: +enum {
1: + NETIF_F_SG_BIT = 0,
1: + NETIF_F_IP_CSUM_BIT = 1,
1: + __UNUSED_NETIF_F_1 = 2,
1: + NETIF_F_HW_CSUM_BIT = 3,
1: + NETIF_F_IPV6_CSUM_BIT = 4,
1: + NETIF_F_HIGHDMA_BIT = 5,
1: + NETIF_F_FRAGLIST_BIT = 6,
1: + NETIF_F_HW_VLAN_CTAG_TX_BIT = 7,
1: + NETIF_F_HW_VLAN_CTAG_RX_BIT = 8,
1: + NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9,
1: + NETIF_F_VLAN_CHALLENGED_BIT = 10,
1: + NETIF_F_GSO_BIT = 11,
1: + NETIF_F_LLTX_BIT = 12,
1: + NETIF_F_NETNS_LOCAL_BIT = 13,
1: + NETIF_F_GRO_BIT = 14,
1: + NETIF_F_LRO_BIT = 15,
1: + NETIF_F_GSO_SHIFT = 16,
1: + NETIF_F_TSO_BIT = 16,
1: + NETIF_F_GSO_ROBUST_BIT = 17,
1: + NETIF_F_TSO_ECN_BIT = 18,
1: + NETIF_F_TSO_MANGLEID_BIT = 19,
1: + NETIF_F_TSO6_BIT = 20,
1: + NETIF_F_FSO_BIT = 21,
1: + NETIF_F_GSO_GRE_BIT = 22,
1: + NETIF_F_GSO_GRE_CSUM_BIT = 23,
1: + NETIF_F_GSO_IPXIP4_BIT = 24,
1: + NETIF_F_GSO_IPXIP6_BIT = 25,
1: + NETIF_F_GSO_UDP_TUNNEL_BIT = 26,
1: + NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT = 27,
1: + NETIF_F_GSO_PARTIAL_BIT = 28,
1: + NETIF_F_GSO_TUNNEL_REMCSUM_BIT = 29,
1: + NETIF_F_GSO_SCTP_BIT = 30,
1: + NETIF_F_GSO_ESP_BIT = 31,
1: + NETIF_F_GSO_UDP_BIT = 32,
1: + NETIF_F_GSO_UDP_L4_BIT = 33,
1: + NETIF_F_GSO_LAST = 33,
1: + NETIF_F_FCOE_CRC_BIT = 34,
1: + NETIF_F_SCTP_CRC_BIT = 35,
1: + NETIF_F_FCOE_MTU_BIT = 36,
1: + NETIF_F_NTUPLE_BIT = 37,
1: + NETIF_F_RXHASH_BIT = 38,
1: + NETIF_F_RXCSUM_BIT = 39,
1: + NETIF_F_NOCACHE_COPY_BIT = 40,
1: + NETIF_F_LOOPBACK_BIT = 41,
1: + NETIF_F_RXFCS_BIT = 42,
1: + NETIF_F_RXALL_BIT = 43,
1: + NETIF_F_HW_VLAN_STAG_TX_BIT = 44,
1: + NETIF_F_HW_VLAN_STAG_RX_BIT = 45,
1: + NETIF_F_HW_VLAN_STAG_FILTER_BIT = 46,
1: + NETIF_F_HW_L2FW_DOFFLOAD_BIT = 47,
1: + NETIF_F_HW_TC_BIT = 48,
1: + NETIF_F_HW_ESP_BIT = 49,
1: + NETIF_F_HW_ESP_TX_CSUM_BIT = 50,
1: + NETIF_F_RX_UDP_TUNNEL_PORT_BIT = 51,
1: + NETIF_F_HW_TLS_TX_BIT = 52,
1: + NETIF_F_HW_TLS_RX_BIT = 53,
1: + NETIF_F_GRO_HW_BIT = 54,
1: + NETIF_F_HW_TLS_RECORD_BIT = 55,
1: + NETDEV_FEATURE_COUNT = 56,
1: +};
1: +
1: +typedef struct bio_vec skb_frag_t;
1: +
1: +struct skb_shared_hwtstamps {
1: + ktime_t hwtstamp;
1: +};
1: +
1: +enum {
1: + SKBTX_HW_TSTAMP = 1,
1: + SKBTX_SW_TSTAMP = 2,
1: + SKBTX_IN_PROGRESS = 4,
1: + SKBTX_DEV_ZEROCOPY = 8,
1: + SKBTX_WIFI_STATUS = 16,
1: + SKBTX_SHARED_FRAG = 32,
1: + SKBTX_SCHED_TSTAMP = 64,
1: +};
1: +
1: +struct skb_shared_info {
1: + __u8 __unused;
1: + __u8 meta_len;
1: + __u8 nr_frags;
1: + __u8 tx_flags;
1: + short unsigned int gso_size;
1: + short unsigned int gso_segs;
1: + struct sk_buff *frag_list;
1: + struct skb_shared_hwtstamps hwtstamps;
1: + unsigned int gso_type;
1: + u32 tskey;
1: + atomic_t dataref;
1: + void *destructor_arg;
1: + skb_frag_t frags[17];
1: +};
1: +
1: +enum net_device_flags {
1: + IFF_UP = 1,
1: + IFF_BROADCAST = 2,
1: + IFF_DEBUG = 4,
1: + IFF_LOOPBACK = 8,
1: + IFF_POINTOPOINT = 16,
1: + IFF_NOTRAILERS = 32,
1: + IFF_RUNNING = 64,
1: + IFF_NOARP = 128,
1: + IFF_PROMISC = 256,
1: + IFF_ALLMULTI = 512,
1: + IFF_MASTER = 1024,
1: + IFF_SLAVE = 2048,
1: + IFF_MULTICAST = 4096,
1: + IFF_PORTSEL = 8192,
1: + IFF_AUTOMEDIA = 16384,
1: + IFF_DYNAMIC = 32768,
1: + IFF_LOWER_UP = 65536,
1: + IFF_DORMANT = 131072,
1: + IFF_ECHO = 262144,
1: +};
1: +
1: +enum netdev_priv_flags {
1: + IFF_802_1Q_VLAN = 1,
1: + IFF_EBRIDGE = 2,
1: + IFF_BONDING = 4,
1: + IFF_ISATAP = 8,
1: + IFF_WAN_HDLC = 16,
1: + IFF_XMIT_DST_RELEASE = 32,
1: + IFF_DONT_BRIDGE = 64,
1: + IFF_DISABLE_NETPOLL = 128,
1: + IFF_MACVLAN_PORT = 256,
1: + IFF_BRIDGE_PORT = 512,
1: + IFF_OVS_DATAPATH = 1024,
1: + IFF_TX_SKB_SHARING = 2048,
1: + IFF_UNICAST_FLT = 4096,
1: + IFF_TEAM_PORT = 8192,
1: + IFF_SUPP_NOFCS = 16384,
1: + IFF_LIVE_ADDR_CHANGE = 32768,
1: + IFF_MACVLAN = 65536,
1: + IFF_XMIT_DST_RELEASE_PERM = 131072,
1: + IFF_L3MDEV_MASTER = 262144,
1: + IFF_NO_QUEUE = 524288,
1: + IFF_OPENVSWITCH = 1048576,
1: + IFF_L3MDEV_SLAVE = 2097152,
1: + IFF_TEAM = 4194304,
1: + IFF_RXFH_CONFIGURED = 8388608,
1: + IFF_PHONY_HEADROOM = 16777216,
1: + IFF_MACSEC = 33554432,
1: + IFF_NO_RX_HANDLER = 67108864,
1: + IFF_FAILOVER = 134217728,
1: + IFF_FAILOVER_SLAVE = 268435456,
1: + IFF_L3MDEV_RX_HANDLER = 536870912,
1: + IFF_LIVE_RENAME_OK = 1073741824,
1: +};
1: +
1: +struct netpoll;
1: +
1: +struct netpoll_info {
1: + refcount_t refcnt;
1: + struct semaphore dev_lock;
1: + struct sk_buff_head txq;
1: + struct delayed_work tx_work;
1: + struct netpoll *netpoll;
1: + struct callback_head rcu;
1: +};
1: +
1: +union inet_addr {
1: + __u32 all[4];
1: + __be32 ip;
1: + __be32 ip6[4];
1: + struct in_addr in;
1: + struct in6_addr in6;
1: +};
1: +
1: +struct netpoll {
1: + struct net_device *dev;
1: + char dev_name[16];
1: + const char *name;
1: + union inet_addr local_ip;
1: + union inet_addr remote_ip;
1: + bool ipv6;
1: + u16 local_port;
1: + u16 remote_port;
1: + u8 remote_mac[6];
1: +};
1: +
1: +struct netconsole_target {
1: + struct list_head list;
1: + bool enabled;
1: + bool extended;
1: + struct netpoll np;
1: +};
1: +
1: +struct mdio_board_info {
1: + const char *bus_id;
1: + char modalias[32];
1: + int mdio_addr;
1: + const void *platform_data;
1: +};
1: +
1: +struct mdio_board_entry {
1: + struct list_head list;
1: + struct mdio_board_info board_info;
1: +};
1: +
1: +struct phy_setting {
1: + u32 speed;
1: + u8 duplex;
1: + u8 bit;
1: +};
1: +
1: +struct phy_fixup {
1: + struct list_head list;
1: + char bus_id[64];
1: + u32 phy_uid;
1: + u32 phy_uid_mask;
1: + int (*run)(struct phy_device *);
1: +};
1: +
1: +struct sfp_eeprom_base {
1: + u8 phys_id;
1: + u8 phys_ext_id;
1: + u8 connector;
1: + u8 if_1x_copper_passive: 1;
1: + u8 if_1x_copper_active: 1;
1: + u8 if_1x_lx: 1;
1: + u8 if_1x_sx: 1;
1: + u8 e10g_base_sr: 1;
1: + u8 e10g_base_lr: 1;
1: + u8 e10g_base_lrm: 1;
1: + u8 e10g_base_er: 1;
1: + u8 sonet_oc3_short_reach: 1;
1: + u8 sonet_oc3_smf_intermediate_reach: 1;
1: + u8 sonet_oc3_smf_long_reach: 1;
1: + u8 unallocated_5_3: 1;
1: + u8 sonet_oc12_short_reach: 1;
1: + u8 sonet_oc12_smf_intermediate_reach: 1;
1: + u8 sonet_oc12_smf_long_reach: 1;
1: + u8 unallocated_5_7: 1;
1: + u8 sonet_oc48_short_reach: 1;
1: + u8 sonet_oc48_intermediate_reach: 1;
1: + u8 sonet_oc48_long_reach: 1;
1: + u8 sonet_reach_bit2: 1;
1: + u8 sonet_reach_bit1: 1;
1: + u8 sonet_oc192_short_reach: 1;
1: + u8 escon_smf_1310_laser: 1;
1: + u8 escon_mmf_1310_led: 1;
1: + u8 e1000_base_sx: 1;
1: + u8 e1000_base_lx: 1;
1: + u8 e1000_base_cx: 1;
1: + u8 e1000_base_t: 1;
1: + u8 e100_base_lx: 1;
1: + u8 e100_base_fx: 1;
1: + u8 e_base_bx10: 1;
1: + u8 e_base_px: 1;
1: + u8 fc_tech_electrical_inter_enclosure: 1;
1: + u8 fc_tech_lc: 1;
1: + u8 fc_tech_sa: 1;
1: + u8 fc_ll_m: 1;
1: + u8 fc_ll_l: 1;
1: + u8 fc_ll_i: 1;
1: + u8 fc_ll_s: 1;
1: + u8 fc_ll_v: 1;
1: + u8 unallocated_8_0: 1;
1: + u8 unallocated_8_1: 1;
1: + u8 sfp_ct_passive: 1;
1: + u8 sfp_ct_active: 1;
1: + u8 fc_tech_ll: 1;
1: + u8 fc_tech_sl: 1;
1: + u8 fc_tech_sn: 1;
1: + u8 fc_tech_electrical_intra_enclosure: 1;
1: + u8 fc_media_sm: 1;
1: + u8 unallocated_9_1: 1;
1: + u8 fc_media_m5: 1;
1: + u8 fc_media_m6: 1;
1: + u8 fc_media_tv: 1;
1: + u8 fc_media_mi: 1;
1: + u8 fc_media_tp: 1;
1: + u8 fc_media_tw: 1;
1: + u8 fc_speed_100: 1;
1: + u8 unallocated_10_1: 1;
1: + u8 fc_speed_200: 1;
1: + u8 fc_speed_3200: 1;
1: + u8 fc_speed_400: 1;
1: + u8 fc_speed_1600: 1;
1: + u8 fc_speed_800: 1;
1: + u8 fc_speed_1200: 1;
1: + u8 encoding;
1: + u8 br_nominal;
1: + u8 rate_id;
1: + u8 link_len[6];
1: + char vendor_name[16];
1: + u8 extended_cc;
1: + char vendor_oui[3];
1: + char vendor_pn[16];
1: + char vendor_rev[4];
1: + union {
1: + __be16 optical_wavelength;
1: + __be16 cable_compliance;
1: + struct {
1: + u8 sff8431_app_e: 1;
1: + u8 fc_pi_4_app_h: 1;
1: + u8 reserved60_2: 6;
1: + u8 reserved61: 8;
1: + } passive;
1: + struct {
1: + u8 sff8431_app_e: 1;
1: + u8 fc_pi_4_app_h: 1;
1: + u8 sff8431_lim: 1;
1: + u8 fc_pi_4_lim: 1;
1: + u8 reserved60_4: 4;
1: + u8 reserved61: 8;
1: + } active;
1: + };
1: + u8 reserved62;
1: + u8 cc_base;
1: +};
1: +
1: +struct sfp_eeprom_ext {
1: + __be16 options;
1: + u8 br_max;
1: + u8 br_min;
1: + char vendor_sn[16];
1: + char datecode[8];
1: + u8 diagmon;
1: + u8 enhopts;
1: + u8 sff8472_compliance;
1: + u8 cc_ext;
1: +};
1: +
1: +struct sfp_eeprom_id {
1: + struct sfp_eeprom_base base;
1: + struct sfp_eeprom_ext ext;
1: +};
1: +
1: +struct sfp_upstream_ops {
1: + void (*attach)(void *, struct sfp_bus *);
1: + void (*detach)(void *, struct sfp_bus *);
1: + int (*module_insert)(void *, const struct sfp_eeprom_id *);
1: + void (*module_remove)(void *);
1: + void (*link_down)(void *);
1: + void (*link_up)(void *);
1: + int (*connect_phy)(void *, struct phy_device *);
1: + void (*disconnect_phy)(void *);
1: +};
1: +
1: +struct trace_event_raw_mdio_access {
1: + struct trace_entry ent;
1: + char busid[61];
1: + char read;
1: + u8 addr;
1: + u16 val;
1: + unsigned int regnum;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_mdio_access {};
1: +
1: +struct mdio_driver {
1: + struct mdio_driver_common mdiodrv;
1: + int (*probe)(struct mdio_device *);
1: + void (*remove)(struct mdio_device *);
1: +};
1: +
1: +struct mdio_device_id {
1: + __u32 phy_id;
1: + __u32 phy_id_mask;
1: +};
1: +
1: +enum {
1: + SKB_GSO_TCPV4 = 1,
1: + SKB_GSO_DODGY = 2,
1: + SKB_GSO_TCP_ECN = 4,
1: + SKB_GSO_TCP_FIXEDID = 8,
1: + SKB_GSO_TCPV6 = 16,
1: + SKB_GSO_FCOE = 32,
1: + SKB_GSO_GRE = 64,
1: + SKB_GSO_GRE_CSUM = 128,
1: + SKB_GSO_IPXIP4 = 256,
1: + SKB_GSO_IPXIP6 = 512,
1: + SKB_GSO_UDP_TUNNEL = 1024,
1: + SKB_GSO_UDP_TUNNEL_CSUM = 2048,
1: + SKB_GSO_PARTIAL = 4096,
1: + SKB_GSO_TUNNEL_REMCSUM = 8192,
1: + SKB_GSO_SCTP = 16384,
1: + SKB_GSO_ESP = 32768,
1: + SKB_GSO_UDP = 65536,
1: + SKB_GSO_UDP_L4 = 131072,
1: +};
1: +
1: +enum ethtool_stringset {
1: + ETH_SS_TEST = 0,
1: + ETH_SS_STATS = 1,
1: + ETH_SS_PRIV_FLAGS = 2,
1: + ETH_SS_NTUPLE_FILTERS = 3,
1: + ETH_SS_FEATURES = 4,
1: + ETH_SS_RSS_HASH_FUNCS = 5,
1: + ETH_SS_TUNABLES = 6,
1: + ETH_SS_PHY_STATS = 7,
1: + ETH_SS_PHY_TUNABLES = 8,
1: +};
1: +
1: +enum ethtool_test_flags {
1: + ETH_TEST_FL_OFFLINE = 1,
1: + ETH_TEST_FL_FAILED = 2,
1: + ETH_TEST_FL_EXTERNAL_LB = 4,
1: + ETH_TEST_FL_EXTERNAL_LB_DONE = 8,
1: +};
1: +
1: +enum {
1: + ETH_RSS_HASH_TOP_BIT = 0,
1: + ETH_RSS_HASH_XOR_BIT = 1,
1: + ETH_RSS_HASH_CRC32_BIT = 2,
1: + ETH_RSS_HASH_FUNCS_COUNT = 3,
1: +};
1: +
1: +struct netdev_hw_addr {
1: + struct list_head list;
1: + unsigned char addr[32];
1: + unsigned char type;
1: + bool global_use;
1: + int sync_cnt;
1: + int refcount;
1: + int synced;
1: + struct callback_head callback_head;
1: +};
1: +
1: +enum gro_result {
1: + GRO_MERGED = 0,
1: + GRO_MERGED_FREE = 1,
1: + GRO_HELD = 2,
1: + GRO_NORMAL = 3,
1: + GRO_DROP = 4,
1: + GRO_CONSUMED = 5,
1: +};
1: +
1: +typedef enum gro_result gro_result_t;
1: +
1: +enum netdev_queue_state_t {
1: + __QUEUE_STATE_DRV_XOFF = 0,
1: + __QUEUE_STATE_STACK_XOFF = 1,
1: + __QUEUE_STATE_FROZEN = 2,
1: +};
1: +
1: +enum skb_free_reason {
1: + SKB_REASON_CONSUMED = 0,
1: + SKB_REASON_DROPPED = 1,
1: +};
1: +
1: +enum {
1: + NETIF_MSG_DRV = 1,
1: + NETIF_MSG_PROBE = 2,
1: + NETIF_MSG_LINK = 4,
1: + NETIF_MSG_TIMER = 8,
1: + NETIF_MSG_IFDOWN = 16,
1: + NETIF_MSG_IFUP = 32,
1: + NETIF_MSG_RX_ERR = 64,
1: + NETIF_MSG_TX_ERR = 128,
1: + NETIF_MSG_TX_QUEUED = 256,
1: + NETIF_MSG_INTR = 512,
1: + NETIF_MSG_TX_DONE = 1024,
1: + NETIF_MSG_RX_STATUS = 2048,
1: + NETIF_MSG_PKTDATA = 4096,
1: + NETIF_MSG_HW = 8192,
1: + NETIF_MSG_WOL = 16384,
1: +};
1: +
1: +enum {
1: + SOF_TIMESTAMPING_TX_HARDWARE = 1,
1: + SOF_TIMESTAMPING_TX_SOFTWARE = 2,
1: + SOF_TIMESTAMPING_RX_HARDWARE = 4,
1: + SOF_TIMESTAMPING_RX_SOFTWARE = 8,
1: + SOF_TIMESTAMPING_SOFTWARE = 16,
1: + SOF_TIMESTAMPING_SYS_HARDWARE = 32,
1: + SOF_TIMESTAMPING_RAW_HARDWARE = 64,
1: + SOF_TIMESTAMPING_OPT_ID = 128,
1: + SOF_TIMESTAMPING_TX_SCHED = 256,
1: + SOF_TIMESTAMPING_TX_ACK = 512,
1: + SOF_TIMESTAMPING_OPT_CMSG = 1024,
1: + SOF_TIMESTAMPING_OPT_TSONLY = 2048,
1: + SOF_TIMESTAMPING_OPT_STATS = 4096,
1: + SOF_TIMESTAMPING_OPT_PKTINFO = 8192,
1: + SOF_TIMESTAMPING_OPT_TX_SWHW = 16384,
1: + SOF_TIMESTAMPING_LAST = 16384,
1: + SOF_TIMESTAMPING_MASK = 32767,
1: +};
1: +
1: +struct hwtstamp_config {
1: + int flags;
1: + int tx_type;
1: + int rx_filter;
1: +};
1: +
1: +enum hwtstamp_tx_types {
1: + HWTSTAMP_TX_OFF = 0,
1: + HWTSTAMP_TX_ON = 1,
1: + HWTSTAMP_TX_ONESTEP_SYNC = 2,
1: +};
1: +
1: +enum hwtstamp_rx_filters {
1: + HWTSTAMP_FILTER_NONE = 0,
1: + HWTSTAMP_FILTER_ALL = 1,
1: + HWTSTAMP_FILTER_SOME = 2,
1: + HWTSTAMP_FILTER_PTP_V1_L4_EVENT = 3,
1: + HWTSTAMP_FILTER_PTP_V1_L4_SYNC = 4,
1: + HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ = 5,
1: + HWTSTAMP_FILTER_PTP_V2_L4_EVENT = 6,
1: + HWTSTAMP_FILTER_PTP_V2_L4_SYNC = 7,
1: + HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ = 8,
1: + HWTSTAMP_FILTER_PTP_V2_L2_EVENT = 9,
1: + HWTSTAMP_FILTER_PTP_V2_L2_SYNC = 10,
1: + HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ = 11,
1: + HWTSTAMP_FILTER_PTP_V2_EVENT = 12,
1: + HWTSTAMP_FILTER_PTP_V2_SYNC = 13,
1: + HWTSTAMP_FILTER_PTP_V2_DELAY_REQ = 14,
1: + HWTSTAMP_FILTER_NTP_ALL = 15,
1: +};
1: +
1: +struct sensor_device_attribute {
1: + struct device_attribute dev_attr;
1: + int index;
1: +};
1: +
1: +struct ptp_clock_time {
1: + __s64 sec;
1: + __u32 nsec;
1: + __u32 reserved;
1: +};
1: +
1: +struct ptp_extts_request {
1: + unsigned int index;
1: + unsigned int flags;
1: + unsigned int rsv[2];
1: +};
1: +
1: +struct ptp_perout_request {
1: + struct ptp_clock_time start;
1: + struct ptp_clock_time period;
1: + unsigned int index;
1: + unsigned int flags;
1: + unsigned int rsv[4];
1: +};
1: +
1: +enum ptp_pin_function {
1: + PTP_PF_NONE = 0,
1: + PTP_PF_EXTTS = 1,
1: + PTP_PF_PEROUT = 2,
1: + PTP_PF_PHYSYNC = 3,
1: +};
1: +
1: +struct ptp_pin_desc {
1: + char name[64];
1: + unsigned int index;
1: + unsigned int func;
1: + unsigned int chan;
1: + unsigned int rsv[5];
1: +};
1: +
1: +struct ptp_clock_request {
1: + enum {
1: + PTP_CLK_REQ_EXTTS = 0,
1: + PTP_CLK_REQ_PEROUT = 1,
1: + PTP_CLK_REQ_PPS = 2,
1: + } type;
1: + union {
1: + struct ptp_extts_request extts;
1: + struct ptp_perout_request perout;
1: + };
1: +};
1: +
1: +struct ptp_system_timestamp {
1: + struct timespec64 pre_ts;
1: + struct timespec64 post_ts;
1: +};
1: +
1: +struct ptp_clock_info {
1: + struct module *owner;
1: + char name[16];
1: + s32 max_adj;
1: + int n_alarm;
1: + int n_ext_ts;
1: + int n_per_out;
1: + int n_pins;
1: + int pps;
1: + struct ptp_pin_desc *pin_config;
1: + int (*adjfine)(struct ptp_clock_info *, long int);
1: + int (*adjfreq)(struct ptp_clock_info *, s32);
1: + int (*adjtime)(struct ptp_clock_info *, s64);
1: + int (*gettime64)(struct ptp_clock_info *, struct timespec64 *);
1: + int (*gettimex64)(struct ptp_clock_info *, struct timespec64 *, struct ptp_system_timestamp *);
1: + int (*getcrosststamp)(struct ptp_clock_info *, struct system_device_crosststamp *);
1: + int (*settime64)(struct ptp_clock_info *, const struct timespec64 *);
1: + int (*enable)(struct ptp_clock_info *, struct ptp_clock_request *, int);
1: + int (*verify)(struct ptp_clock_info *, unsigned int, enum ptp_pin_function, unsigned int);
1: + long int (*do_aux_work)(struct ptp_clock_info *);
1: +};
1: +
1: +struct tg3_tx_buffer_desc {
1: + u32 addr_hi;
1: + u32 addr_lo;
1: + u32 len_flags;
1: + u32 vlan_tag;
1: +};
1: +
1: +struct tg3_rx_buffer_desc {
1: + u32 addr_hi;
1: + u32 addr_lo;
1: + u32 idx_len;
1: + u32 type_flags;
1: + u32 ip_tcp_csum;
1: + u32 err_vlan;
1: + u32 reserved;
1: + u32 opaque;
1: +};
1: +
1: +struct tg3_ext_rx_buffer_desc {
1: + struct {
1: + u32 addr_hi;
1: + u32 addr_lo;
1: + } addrlist[3];
1: + u32 len2_len1;
1: + u32 resv_len3;
1: + struct tg3_rx_buffer_desc std;
1: +};
1: +
1: +struct tg3_internal_buffer_desc {
1: + u32 addr_hi;
1: + u32 addr_lo;
1: + u32 nic_mbuf;
1: + u16 len;
1: + u16 cqid_sqid;
1: + u32 flags;
1: + u32 __cookie1;
1: + u32 __cookie2;
1: + u32 __cookie3;
1: +};
1: +
1: +struct tg3_hw_status {
1: + u32 status;
1: + u32 status_tag;
1: + u16 rx_jumbo_consumer;
1: + u16 rx_consumer;
1: + u16 rx_mini_consumer;
1: + u16 reserved;
1: + struct {
1: + u16 rx_producer;
1: + u16 tx_consumer;
1: + } idx[16];
1: +};
1: +
1: +typedef struct {
1: + u32 high;
1: + u32 low;
1: +} tg3_stat64_t;
1: +
1: +struct tg3_hw_stats {
1: + u8 __reserved0[256];
1: + tg3_stat64_t rx_octets;
1: + u64 __reserved1;
1: + tg3_stat64_t rx_fragments;
1: + tg3_stat64_t rx_ucast_packets;
1: + tg3_stat64_t rx_mcast_packets;
1: + tg3_stat64_t rx_bcast_packets;
1: + tg3_stat64_t rx_fcs_errors;
1: + tg3_stat64_t rx_align_errors;
1: + tg3_stat64_t rx_xon_pause_rcvd;
1: + tg3_stat64_t rx_xoff_pause_rcvd;
1: + tg3_stat64_t rx_mac_ctrl_rcvd;
1: + tg3_stat64_t rx_xoff_entered;
1: + tg3_stat64_t rx_frame_too_long_errors;
1: + tg3_stat64_t rx_jabbers;
1: + tg3_stat64_t rx_undersize_packets;
1: + tg3_stat64_t rx_in_length_errors;
1: + tg3_stat64_t rx_out_length_errors;
1: + tg3_stat64_t rx_64_or_less_octet_packets;
1: + tg3_stat64_t rx_65_to_127_octet_packets;
1: + tg3_stat64_t rx_128_to_255_octet_packets;
1: + tg3_stat64_t rx_256_to_511_octet_packets;
1: + tg3_stat64_t rx_512_to_1023_octet_packets;
1: + tg3_stat64_t rx_1024_to_1522_octet_packets;
1: + tg3_stat64_t rx_1523_to_2047_octet_packets;
1: + tg3_stat64_t rx_2048_to_4095_octet_packets;
1: + tg3_stat64_t rx_4096_to_8191_octet_packets;
1: + tg3_stat64_t rx_8192_to_9022_octet_packets;
1: + u64 __unused0[37];
1: + tg3_stat64_t tx_octets;
1: + u64 __reserved2;
1: + tg3_stat64_t tx_collisions;
1: + tg3_stat64_t tx_xon_sent;
1: + tg3_stat64_t tx_xoff_sent;
1: + tg3_stat64_t tx_flow_control;
1: + tg3_stat64_t tx_mac_errors;
1: + tg3_stat64_t tx_single_collisions;
1: + tg3_stat64_t tx_mult_collisions;
1: + tg3_stat64_t tx_deferred;
1: + u64 __reserved3;
1: + tg3_stat64_t tx_excessive_collisions;
1: + tg3_stat64_t tx_late_collisions;
1: + tg3_stat64_t tx_collide_2times;
1: + tg3_stat64_t tx_collide_3times;
1: + tg3_stat64_t tx_collide_4times;
1: + tg3_stat64_t tx_collide_5times;
1: + tg3_stat64_t tx_collide_6times;
1: + tg3_stat64_t tx_collide_7times;
1: + tg3_stat64_t tx_collide_8times;
1: + tg3_stat64_t tx_collide_9times;
1: + tg3_stat64_t tx_collide_10times;
1: + tg3_stat64_t tx_collide_11times;
1: + tg3_stat64_t tx_collide_12times;
1: + tg3_stat64_t tx_collide_13times;
1: + tg3_stat64_t tx_collide_14times;
1: + tg3_stat64_t tx_collide_15times;
1: + tg3_stat64_t tx_ucast_packets;
1: + tg3_stat64_t tx_mcast_packets;
1: + tg3_stat64_t tx_bcast_packets;
1: + tg3_stat64_t tx_carrier_sense_errors;
1: + tg3_stat64_t tx_discards;
1: + tg3_stat64_t tx_errors;
1: + u64 __unused1[31];
1: + tg3_stat64_t COS_rx_packets[16];
1: + tg3_stat64_t COS_rx_filter_dropped;
1: + tg3_stat64_t dma_writeq_full;
1: + tg3_stat64_t dma_write_prioq_full;
1: + tg3_stat64_t rxbds_empty;
1: + tg3_stat64_t rx_discards;
1: + tg3_stat64_t rx_errors;
1: + tg3_stat64_t rx_threshold_hit;
1: + u64 __unused2[9];
1: + tg3_stat64_t COS_out_packets[16];
1: + tg3_stat64_t dma_readq_full;
1: + tg3_stat64_t dma_read_prioq_full;
1: + tg3_stat64_t tx_comp_queue_full;
1: + tg3_stat64_t ring_set_send_prod_index;
1: + tg3_stat64_t ring_status_update;
1: + tg3_stat64_t nic_irqs;
1: + tg3_stat64_t nic_avoided_irqs;
1: + tg3_stat64_t nic_tx_threshold_hit;
1: + tg3_stat64_t mbuf_lwm_thresh_hit;
1: + u8 __reserved4[312];
1: +};
1: +
1: +struct tg3_ocir {
1: + u32 signature;
1: + u16 version_flags;
1: + u16 refresh_int;
1: + u32 refresh_tmr;
1: + u32 update_tmr;
1: + u32 dst_base_addr;
1: + u16 src_hdr_offset;
1: + u16 src_hdr_length;
1: + u16 src_data_offset;
1: + u16 src_data_length;
1: + u16 dst_hdr_offset;
1: + u16 dst_data_offset;
1: + u16 dst_reg_upd_offset;
1: + u16 dst_sem_offset;
1: + u32 reserved1[2];
1: + u32 port0_flags;
1: + u32 port1_flags;
1: + u32 port2_flags;
1: + u32 port3_flags;
1: + u32 reserved2[1];
1: +};
1: +
1: +struct ring_info {
1: + u8 *data;
1: + dma_addr_t mapping;
1: +};
1: +
1: +struct tg3_tx_ring_info {
1: + struct sk_buff *skb;
1: + dma_addr_t mapping;
1: + bool fragmented;
1: +};
1: +
1: +struct tg3_link_config {
1: + u32 advertising;
1: + u32 speed;
1: + u8 duplex;
1: + u8 autoneg;
1: + u8 flowctrl;
1: + u8 active_flowctrl;
1: + u8 active_duplex;
1: + u32 active_speed;
1: + u32 rmt_adv;
1: +};
1: +
1: +struct tg3_bufmgr_config {
1: + u32 mbuf_read_dma_low_water;
1: + u32 mbuf_mac_rx_low_water;
1: + u32 mbuf_high_water;
1: + u32 mbuf_read_dma_low_water_jumbo;
1: + u32 mbuf_mac_rx_low_water_jumbo;
1: + u32 mbuf_high_water_jumbo;
1: + u32 dma_low_water;
1: + u32 dma_high_water;
1: +};
1: +
1: +struct tg3_ethtool_stats {
1: + u64 rx_octets;
1: + u64 rx_fragments;
1: + u64 rx_ucast_packets;
1: + u64 rx_mcast_packets;
1: + u64 rx_bcast_packets;
1: + u64 rx_fcs_errors;
1: + u64 rx_align_errors;
1: + u64 rx_xon_pause_rcvd;
1: + u64 rx_xoff_pause_rcvd;
1: + u64 rx_mac_ctrl_rcvd;
1: + u64 rx_xoff_entered;
1: + u64 rx_frame_too_long_errors;
1: + u64 rx_jabbers;
1: + u64 rx_undersize_packets;
1: + u64 rx_in_length_errors;
1: + u64 rx_out_length_errors;
1: + u64 rx_64_or_less_octet_packets;
1: + u64 rx_65_to_127_octet_packets;
1: + u64 rx_128_to_255_octet_packets;
1: + u64 rx_256_to_511_octet_packets;
1: + u64 rx_512_to_1023_octet_packets;
1: + u64 rx_1024_to_1522_octet_packets;
1: + u64 rx_1523_to_2047_octet_packets;
1: + u64 rx_2048_to_4095_octet_packets;
1: + u64 rx_4096_to_8191_octet_packets;
1: + u64 rx_8192_to_9022_octet_packets;
1: + u64 tx_octets;
1: + u64 tx_collisions;
1: + u64 tx_xon_sent;
1: + u64 tx_xoff_sent;
1: + u64 tx_flow_control;
1: + u64 tx_mac_errors;
1: + u64 tx_single_collisions;
1: + u64 tx_mult_collisions;
1: + u64 tx_deferred;
1: + u64 tx_excessive_collisions;
1: + u64 tx_late_collisions;
1: + u64 tx_collide_2times;
1: + u64 tx_collide_3times;
1: + u64 tx_collide_4times;
1: + u64 tx_collide_5times;
1: + u64 tx_collide_6times;
1: + u64 tx_collide_7times;
1: + u64 tx_collide_8times;
1: + u64 tx_collide_9times;
1: + u64 tx_collide_10times;
1: + u64 tx_collide_11times;
1: + u64 tx_collide_12times;
1: + u64 tx_collide_13times;
1: + u64 tx_collide_14times;
1: + u64 tx_collide_15times;
1: + u64 tx_ucast_packets;
1: + u64 tx_mcast_packets;
1: + u64 tx_bcast_packets;
1: + u64 tx_carrier_sense_errors;
1: + u64 tx_discards;
1: + u64 tx_errors;
1: + u64 dma_writeq_full;
1: + u64 dma_write_prioq_full;
1: + u64 rxbds_empty;
1: + u64 rx_discards;
1: + u64 rx_errors;
1: + u64 rx_threshold_hit;
1: + u64 dma_readq_full;
1: + u64 dma_read_prioq_full;
1: + u64 tx_comp_queue_full;
1: + u64 ring_set_send_prod_index;
1: + u64 ring_status_update;
1: + u64 nic_irqs;
1: + u64 nic_avoided_irqs;
1: + u64 nic_tx_threshold_hit;
1: + u64 mbuf_lwm_thresh_hit;
1: +};
1: +
1: +struct tg3_rx_prodring_set {
1: + u32 rx_std_prod_idx;
1: + u32 rx_std_cons_idx;
1: + u32 rx_jmb_prod_idx;
1: + u32 rx_jmb_cons_idx;
1: + struct tg3_rx_buffer_desc *rx_std;
1: + struct tg3_ext_rx_buffer_desc *rx_jmb;
1: + struct ring_info *rx_std_buffers;
1: + struct ring_info *rx_jmb_buffers;
1: + dma_addr_t rx_std_mapping;
1: + dma_addr_t rx_jmb_mapping;
1: +};
1: +
1: +struct tg3;
1: +
1: +struct tg3_napi {
1: + struct napi_struct napi;
1: + struct tg3 *tp;
1: + struct tg3_hw_status *hw_status;
1: + u32 chk_msi_cnt;
1: + u32 last_tag;
1: + u32 last_irq_tag;
1: + u32 int_mbox;
1: + u32 coal_now;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + u32 consmbox;
1: + u32 rx_rcb_ptr;
1: + u32 last_rx_cons;
1: + u16 *rx_rcb_prod_idx;
1: + struct tg3_rx_prodring_set prodring;
1: + struct tg3_rx_buffer_desc *rx_rcb;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + u32 tx_prod;
1: + u32 tx_cons;
1: + u32 tx_pending;
1: + u32 last_tx_cons;
1: + u32 prodmbox;
1: + struct tg3_tx_buffer_desc *tx_ring;
1: + struct tg3_tx_ring_info *tx_buffers;
1: + dma_addr_t status_mapping;
1: + dma_addr_t rx_rcb_mapping;
1: + dma_addr_t tx_desc_mapping;
1: + char irq_lbl[16];
1: + unsigned int irq_vec;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct ptp_clock;
1: +
1: +struct tg3 {
1: + unsigned int irq_sync;
1: + spinlock_t lock;
1: + spinlock_t indirect_lock;
1: + u32 (*read32)(struct tg3 *, u32);
1: + void (*write32)(struct tg3 *, u32, u32);
1: + u32 (*read32_mbox)(struct tg3 *, u32);
1: + void (*write32_mbox)(struct tg3 *, u32, u32);
1: + void *regs;
1: + void *aperegs;
1: + struct net_device *dev;
1: + struct pci_dev *pdev;
1: + u32 coal_now;
1: + u32 msg_enable;
1: + struct ptp_clock_info ptp_info;
1: + struct ptp_clock *ptp_clock;
1: + s64 ptp_adjust;
1: + void (*write32_tx_mbox)(struct tg3 *, u32, u32);
1: + u32 dma_limit;
1: + u32 txq_req;
1: + u32 txq_cnt;
1: + u32 txq_max;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct tg3_napi napi[5];
1: + void (*write32_rx_mbox)(struct tg3 *, u32, u32);
1: + u32 rx_copy_thresh;
1: + u32 rx_std_ring_mask;
1: + u32 rx_jmb_ring_mask;
1: + u32 rx_ret_ring_mask;
1: + u32 rx_pending;
1: + u32 rx_jumbo_pending;
1: + u32 rx_std_max_post;
1: + u32 rx_offset;
1: + u32 rx_pkt_map_sz;
1: + u32 rxq_req;
1: + u32 rxq_cnt;
1: + u32 rxq_max;
1: + bool rx_refill;
1: + long unsigned int rx_dropped;
1: + long unsigned int tx_dropped;
1: + struct rtnl_link_stats64 net_stats_prev;
1: + struct tg3_ethtool_stats estats_prev;
1: + long unsigned int tg3_flags[2];
1: + union {
1: + long unsigned int phy_crc_errors;
1: + long unsigned int last_event_jiffies;
1: + };
1: + struct timer_list timer;
1: + u16 timer_counter;
1: + u16 timer_multiplier;
1: + u32 timer_offset;
1: + u16 asf_counter;
1: + u16 asf_multiplier;
1: + u32 serdes_counter;
1: + struct tg3_link_config link_config;
1: + struct tg3_bufmgr_config bufmgr_config;
1: + u32 rx_mode;
1: + u32 tx_mode;
1: + u32 mac_mode;
1: + u32 mi_mode;
1: + u32 misc_host_ctrl;
1: + u32 grc_mode;
1: + u32 grc_local_ctrl;
1: + u32 dma_rwctrl;
1: + u32 coalesce_mode;
1: + u32 pwrmgmt_thresh;
1: + u32 rxptpctl;
1: + u32 pci_chip_rev_id;
1: + u16 pci_cmd;
1: + u8 pci_cacheline_sz;
1: + u8 pci_lat_timer;
1: + int pci_fn;
1: + int msi_cap;
1: + int pcix_cap;
1: + int pcie_readrq;
1: + struct mii_bus *mdio_bus;
1: + int old_link;
1: + u8 phy_addr;
1: + u8 phy_ape_lock;
1: + u32 phy_id;
1: + u32 phy_flags;
1: + u32 led_ctrl;
1: + u32 phy_otp;
1: + u32 setlpicnt;
1: + u8 rss_ind_tbl[128];
1: + char board_part_number[24];
1: + char fw_ver[32];
1: + u32 nic_sram_data_cfg;
1: + u32 pci_clock_ctrl;
1: + struct pci_dev *pdev_peer;
1: + struct tg3_hw_stats *hw_stats;
1: + dma_addr_t stats_mapping;
1: + struct work_struct reset_task;
1: + int nvram_lock_cnt;
1: + u32 nvram_size;
1: + u32 nvram_pagesize;
1: + u32 nvram_jedecnum;
1: + unsigned int irq_max;
1: + unsigned int irq_cnt;
1: + struct ethtool_coalesce coal;
1: + struct ethtool_eee eee;
1: + const char *fw_needed;
1: + const struct firmware *fw;
1: + u32 fw_len;
1: + struct device *hwmon_dev;
1: + bool link_up;
1: + bool pcierr_recovery;
1: + u32 ape_hb;
1: + long unsigned int ape_hb_interval;
1: + long unsigned int ape_hb_jiffies;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +enum TG3_FLAGS {
1: + TG3_FLAG_TAGGED_STATUS = 0,
1: + TG3_FLAG_TXD_MBOX_HWBUG = 1,
1: + TG3_FLAG_USE_LINKCHG_REG = 2,
1: + TG3_FLAG_ERROR_PROCESSED = 3,
1: + TG3_FLAG_ENABLE_ASF = 4,
1: + TG3_FLAG_ASPM_WORKAROUND = 5,
1: + TG3_FLAG_POLL_SERDES = 6,
1: + TG3_FLAG_POLL_CPMU_LINK = 7,
1: + TG3_FLAG_MBOX_WRITE_REORDER = 8,
1: + TG3_FLAG_PCIX_TARGET_HWBUG = 9,
1: + TG3_FLAG_WOL_SPEED_100MB = 10,
1: + TG3_FLAG_WOL_ENABLE = 11,
1: + TG3_FLAG_EEPROM_WRITE_PROT = 12,
1: + TG3_FLAG_NVRAM = 13,
1: + TG3_FLAG_NVRAM_BUFFERED = 14,
1: + TG3_FLAG_SUPPORT_MSI = 15,
1: + TG3_FLAG_SUPPORT_MSIX = 16,
1: + TG3_FLAG_USING_MSI = 17,
1: + TG3_FLAG_USING_MSIX = 18,
1: + TG3_FLAG_PCIX_MODE = 19,
1: + TG3_FLAG_PCI_HIGH_SPEED = 20,
1: + TG3_FLAG_PCI_32BIT = 21,
1: + TG3_FLAG_SRAM_USE_CONFIG = 22,
1: + TG3_FLAG_TX_RECOVERY_PENDING = 23,
1: + TG3_FLAG_WOL_CAP = 24,
1: + TG3_FLAG_JUMBO_RING_ENABLE = 25,
1: + TG3_FLAG_PAUSE_AUTONEG = 26,
1: + TG3_FLAG_CPMU_PRESENT = 27,
1: + TG3_FLAG_40BIT_DMA_BUG = 28,
1: + TG3_FLAG_BROKEN_CHECKSUMS = 29,
1: + TG3_FLAG_JUMBO_CAPABLE = 30,
1: + TG3_FLAG_CHIP_RESETTING = 31,
1: + TG3_FLAG_INIT_COMPLETE = 32,
1: + TG3_FLAG_MAX_RXPEND_64 = 33,
1: + TG3_FLAG_PCI_EXPRESS = 34,
1: + TG3_FLAG_ASF_NEW_HANDSHAKE = 35,
1: + TG3_FLAG_HW_AUTONEG = 36,
1: + TG3_FLAG_IS_NIC = 37,
1: + TG3_FLAG_FLASH = 38,
1: + TG3_FLAG_FW_TSO = 39,
1: + TG3_FLAG_HW_TSO_1 = 40,
1: + TG3_FLAG_HW_TSO_2 = 41,
1: + TG3_FLAG_HW_TSO_3 = 42,
1: + TG3_FLAG_TSO_CAPABLE = 43,
1: + TG3_FLAG_TSO_BUG = 44,
1: + TG3_FLAG_ICH_WORKAROUND = 45,
1: + TG3_FLAG_1SHOT_MSI = 46,
1: + TG3_FLAG_NO_FWARE_REPORTED = 47,
1: + TG3_FLAG_NO_NVRAM_ADDR_TRANS = 48,
1: + TG3_FLAG_ENABLE_APE = 49,
1: + TG3_FLAG_PROTECTED_NVRAM = 50,
1: + TG3_FLAG_5701_DMA_BUG = 51,
1: + TG3_FLAG_USE_PHYLIB = 52,
1: + TG3_FLAG_MDIOBUS_INITED = 53,
1: + TG3_FLAG_LRG_PROD_RING_CAP = 54,
1: + TG3_FLAG_RGMII_INBAND_DISABLE = 55,
1: + TG3_FLAG_RGMII_EXT_IBND_RX_EN = 56,
1: + TG3_FLAG_RGMII_EXT_IBND_TX_EN = 57,
1: + TG3_FLAG_CLKREQ_BUG = 58,
1: + TG3_FLAG_NO_NVRAM = 59,
1: + TG3_FLAG_ENABLE_RSS = 60,
1: + TG3_FLAG_ENABLE_TSS = 61,
1: + TG3_FLAG_SHORT_DMA_BUG = 62,
1: + TG3_FLAG_USE_JUMBO_BDFLAG = 63,
1: + TG3_FLAG_L1PLLPD_EN = 64,
1: + TG3_FLAG_APE_HAS_NCSI = 65,
1: + TG3_FLAG_TX_TSTAMP_EN = 66,
1: + TG3_FLAG_4K_FIFO_LIMIT = 67,
1: + TG3_FLAG_5719_5720_RDMA_BUG = 68,
1: + TG3_FLAG_RESET_TASK_PENDING = 69,
1: + TG3_FLAG_PTP_CAPABLE = 70,
1: + TG3_FLAG_5705_PLUS = 71,
1: + TG3_FLAG_IS_5788 = 72,
1: + TG3_FLAG_5750_PLUS = 73,
1: + TG3_FLAG_5780_CLASS = 74,
1: + TG3_FLAG_5755_PLUS = 75,
1: + TG3_FLAG_57765_PLUS = 76,
1: + TG3_FLAG_57765_CLASS = 77,
1: + TG3_FLAG_5717_PLUS = 78,
1: + TG3_FLAG_IS_SSB_CORE = 79,
1: + TG3_FLAG_FLUSH_POSTED_WRITES = 80,
1: + TG3_FLAG_ROBOSWITCH = 81,
1: + TG3_FLAG_ONE_DMA_AT_ONCE = 82,
1: + TG3_FLAG_RGMII_MODE = 83,
1: + TG3_FLAG_NUMBER_OF_FLAGS = 84,
1: +};
1: +
1: +struct tg3_firmware_hdr {
1: + __be32 version;
1: + __be32 base_addr;
1: + __be32 len;
1: +};
1: +
1: +struct tg3_fiber_aneginfo {
1: + int state;
1: + u32 flags;
1: + long unsigned int link_time;
1: + long unsigned int cur_time;
1: + u32 ability_match_cfg;
1: + int ability_match_count;
1: + char ability_match;
1: + char idle_match;
1: + char ack_match;
1: + u32 txconfig;
1: + u32 rxconfig;
1: +};
1: +
1: +struct subsys_tbl_ent {
1: + u16 subsys_vendor;
1: + u16 subsys_devid;
1: + u32 phy_id;
1: +};
1: +
1: +struct tg3_dev_id {
1: + u32 vendor;
1: + u32 device;
1: +};
1: +
1: +struct tg3_dev_id___2 {
1: + u32 vendor;
1: + u32 device;
1: + u32 rev;
1: +};
1: +
1: +struct mem_entry {
1: + u32 offset;
1: + u32 len;
1: +};
1: +
1: +enum mac {
1: + mac_82557_D100_A = 0,
1: + mac_82557_D100_B = 1,
1: + mac_82557_D100_C = 2,
1: + mac_82558_D101_A4 = 4,
1: + mac_82558_D101_B0 = 5,
1: + mac_82559_D101M = 8,
1: + mac_82559_D101S = 9,
1: + mac_82550_D102 = 12,
1: + mac_82550_D102_C = 13,
1: + mac_82551_E = 14,
1: + mac_82551_F = 15,
1: + mac_82551_10 = 16,
1: + mac_unknown = 255,
1: +};
1: +
1: +enum phy___3 {
1: + phy_100a = 992,
1: + phy_100c = 55575208,
1: + phy_82555_tx = 22020776,
1: + phy_nsc_tx = 1543512064,
1: + phy_82562_et = 53478056,
1: + phy_82562_em = 52429480,
1: + phy_82562_ek = 51380904,
1: + phy_82562_eh = 24117928,
1: + phy_82552_v = -798949299,
1: + phy_unknown = -1,
1: +};
1: +
1: +struct csr {
1: + struct {
1: + u8 status;
1: + u8 stat_ack;
1: + u8 cmd_lo;
1: + u8 cmd_hi;
1: + u32 gen_ptr;
1: + } scb;
1: + u32 port;
1: + u16 flash_ctrl;
1: + u8 eeprom_ctrl_lo;
1: + u8 eeprom_ctrl_hi;
1: + u32 mdi_ctrl;
1: + u32 rx_dma_count;
1: +};
1: +
1: +enum scb_status {
1: + rus_no_res = 8,
1: + rus_ready = 16,
1: + rus_mask = 60,
1: +};
1: +
1: +enum ru_state {
1: + RU_SUSPENDED = 0,
1: + RU_RUNNING = 1,
1: + RU_UNINITIALIZED = -1,
1: +};
1: +
1: +enum scb_stat_ack {
1: + stat_ack_not_ours = 0,
1: + stat_ack_sw_gen = 4,
1: + stat_ack_rnr = 16,
1: + stat_ack_cu_idle = 32,
1: + stat_ack_frame_rx = 64,
1: + stat_ack_cu_cmd_done = 128,
1: + stat_ack_not_present = 255,
1: + stat_ack_rx = 84,
1: + stat_ack_tx = 160,
1: +};
1: +
1: +enum scb_cmd_hi {
1: + irq_mask_none = 0,
1: + irq_mask_all = 1,
1: + irq_sw_gen = 2,
1: +};
1: +
1: +enum scb_cmd_lo {
1: + cuc_nop = 0,
1: + ruc_start = 1,
1: + ruc_load_base = 6,
1: + cuc_start = 16,
1: + cuc_resume = 32,
1: + cuc_dump_addr = 64,
1: + cuc_dump_stats = 80,
1: + cuc_load_base = 96,
1: + cuc_dump_reset = 112,
1: +};
1: +
1: +enum cuc_dump {
1: + cuc_dump_complete = 40965,
1: + cuc_dump_reset_complete = 40967,
1: +};
1: +
1: +enum port___2 {
1: + software_reset = 0,
1: + selftest = 1,
1: + selective_reset = 2,
1: +};
1: +
1: +enum eeprom_ctrl_lo {
1: + eesk = 1,
1: + eecs = 2,
1: + eedi = 4,
1: + eedo = 8,
1: +};
1: +
1: +enum mdi_ctrl {
1: + mdi_write = 67108864,
1: + mdi_read = 134217728,
1: + mdi_ready = 268435456,
1: +};
1: +
1: +enum eeprom_op {
1: + op_write = 5,
1: + op_read = 6,
1: + op_ewds = 16,
1: + op_ewen = 19,
1: +};
1: +
1: +enum eeprom_offsets {
1: + eeprom_cnfg_mdix = 3,
1: + eeprom_phy_iface = 6,
1: + eeprom_id = 10,
1: + eeprom_config_asf = 13,
1: + eeprom_smbus_addr = 144,
1: +};
1: +
1: +enum eeprom_cnfg_mdix {
1: + eeprom_mdix_enabled = 128,
1: +};
1: +
1: +enum eeprom_phy_iface {
1: + NoSuchPhy = 0,
1: + I82553AB = 1,
1: + I82553C = 2,
1: + I82503 = 3,
1: + DP83840 = 4,
1: + S80C240 = 5,
1: + S80C24 = 6,
1: + I82555 = 7,
1: + DP83840A = 10,
1: +};
1: +
1: +enum eeprom_id {
1: + eeprom_id_wol = 32,
1: +};
1: +
1: +enum eeprom_config_asf {
1: + eeprom_asf = 32768,
1: + eeprom_gcl = 16384,
1: +};
1: +
1: +enum cb_status {
1: + cb_complete = 32768,
1: + cb_ok = 8192,
1: +};
1: +
1: +enum cb_command {
1: + cb_nop = 0,
1: + cb_iaaddr = 1,
1: + cb_config = 2,
1: + cb_multi = 3,
1: + cb_tx = 4,
1: + cb_ucode = 5,
1: + cb_dump = 6,
1: + cb_tx_sf = 8,
1: + cb_tx_nc = 16,
1: + cb_cid = 7936,
1: + cb_i = 8192,
1: + cb_s = 16384,
1: + cb_el = 32768,
1: +};
1: +
1: +struct rfd {
1: + __le16 status;
1: + __le16 command;
1: + __le32 link;
1: + __le32 rbd;
1: + __le16 actual_size;
1: + __le16 size;
1: +};
1: +
1: +struct rx {
1: + struct rx *next;
1: + struct rx *prev;
1: + struct sk_buff *skb;
1: + dma_addr_t dma_addr;
1: +};
1: +
1: +struct config {
1: + u8 byte_count: 6;
1: + u8 pad0: 2;
1: + u8 rx_fifo_limit: 4;
1: + u8 tx_fifo_limit: 3;
1: + u8 pad1: 1;
1: + u8 adaptive_ifs;
1: + u8 mwi_enable: 1;
1: + u8 type_enable: 1;
1: + u8 read_align_enable: 1;
1: + u8 term_write_cache_line: 1;
1: + u8 pad3: 4;
1: + u8 rx_dma_max_count: 7;
1: + u8 pad4: 1;
1: + u8 tx_dma_max_count: 7;
1: + u8 dma_max_count_enable: 1;
1: + u8 late_scb_update: 1;
1: + u8 direct_rx_dma: 1;
1: + u8 tno_intr: 1;
1: + u8 cna_intr: 1;
1: + u8 standard_tcb: 1;
1: + u8 standard_stat_counter: 1;
1: + u8 rx_save_overruns: 1;
1: + u8 rx_save_bad_frames: 1;
1: + u8 rx_discard_short_frames: 1;
1: + u8 tx_underrun_retry: 2;
1: + u8 pad7: 2;
1: + u8 rx_extended_rfd: 1;
1: + u8 tx_two_frames_in_fifo: 1;
1: + u8 tx_dynamic_tbd: 1;
1: + u8 mii_mode: 1;
1: + u8 pad8: 6;
1: + u8 csma_disabled: 1;
1: + u8 rx_tcpudp_checksum: 1;
1: + u8 pad9: 3;
1: + u8 vlan_arp_tco: 1;
1: + u8 link_status_wake: 1;
1: + u8 arp_wake: 1;
1: + u8 mcmatch_wake: 1;
1: + u8 pad10: 3;
1: + u8 no_source_addr_insertion: 1;
1: + u8 preamble_length: 2;
1: + u8 loopback: 2;
1: + u8 linear_priority: 3;
1: + u8 pad11: 5;
1: + u8 linear_priority_mode: 1;
1: + u8 pad12: 3;
1: + u8 ifs: 4;
1: + u8 ip_addr_lo;
1: + u8 ip_addr_hi;
1: + u8 promiscuous_mode: 1;
1: + u8 broadcast_disabled: 1;
1: + u8 wait_after_win: 1;
1: + u8 pad15_1: 1;
1: + u8 ignore_ul_bit: 1;
1: + u8 crc_16_bit: 1;
1: + u8 pad15_2: 1;
1: + u8 crs_or_cdt: 1;
1: + u8 fc_delay_lo;
1: + u8 fc_delay_hi;
1: + u8 rx_stripping: 1;
1: + u8 tx_padding: 1;
1: + u8 rx_crc_transfer: 1;
1: + u8 rx_long_ok: 1;
1: + u8 fc_priority_threshold: 3;
1: + u8 pad18: 1;
1: + u8 addr_wake: 1;
1: + u8 magic_packet_disable: 1;
1: + u8 fc_disable: 1;
1: + u8 fc_restop: 1;
1: + u8 fc_restart: 1;
1: + u8 fc_reject: 1;
1: + u8 full_duplex_force: 1;
1: + u8 full_duplex_pin: 1;
1: + u8 pad20_1: 5;
1: + u8 fc_priority_location: 1;
1: + u8 multi_ia: 1;
1: + u8 pad20_2: 1;
1: + u8 pad21_1: 3;
1: + u8 multicast_all: 1;
1: + u8 pad21_2: 4;
1: + u8 rx_d102_mode: 1;
1: + u8 rx_vlan_drop: 1;
1: + u8 pad22: 6;
1: + u8 pad_d102[9];
1: +};
1: +
1: +struct multi {
1: + __le16 count;
1: + u8 addr[386];
1: +};
1: +
1: +struct cb {
1: + __le16 status;
1: + __le16 command;
1: + __le32 link;
1: + union {
1: + u8 iaaddr[6];
1: + __le32 ucode[134];
1: + struct config config;
1: + struct multi multi;
1: + struct {
1: + u32 tbd_array;
1: + u16 tcb_byte_count;
1: + u8 threshold;
1: + u8 tbd_count;
1: + struct {
1: + __le32 buf_addr;
1: + __le16 size;
1: + u16 eol;
1: + } tbd;
1: + } tcb;
1: + __le32 dump_buffer_addr;
1: + } u;
1: + struct cb *next;
1: + struct cb *prev;
1: + dma_addr_t dma_addr;
1: + struct sk_buff *skb;
1: +};
1: +
1: +enum loopback {
1: + lb_none = 0,
1: + lb_mac = 1,
1: + lb_phy = 3,
1: +};
1: +
1: +struct stats {
1: + __le32 tx_good_frames;
1: + __le32 tx_max_collisions;
1: + __le32 tx_late_collisions;
1: + __le32 tx_underruns;
1: + __le32 tx_lost_crs;
1: + __le32 tx_deferred;
1: + __le32 tx_single_collisions;
1: + __le32 tx_multiple_collisions;
1: + __le32 tx_total_collisions;
1: + __le32 rx_good_frames;
1: + __le32 rx_crc_errors;
1: + __le32 rx_alignment_errors;
1: + __le32 rx_resource_errors;
1: + __le32 rx_overrun_errors;
1: + __le32 rx_cdt_errors;
1: + __le32 rx_short_frame_errors;
1: + __le32 fc_xmt_pause;
1: + __le32 fc_rcv_pause;
1: + __le32 fc_rcv_unsupported;
1: + __le16 xmt_tco_frames;
1: + __le16 rcv_tco_frames;
1: + __le32 complete;
1: +};
1: +
1: +struct mem {
1: + struct {
1: + u32 signature;
1: + u32 result;
1: + } selftest;
1: + struct stats stats;
1: + u8 dump_buf[596];
1: +};
1: +
1: +struct param_range {
1: + u32 min;
1: + u32 max;
1: + u32 count;
1: +};
1: +
1: +struct params {
1: + struct param_range rfds;
1: + struct param_range cbs;
1: +};
1: +
1: +struct nic {
1: + u32 msg_enable;
1: + struct net_device *netdev;
1: + struct pci_dev *pdev;
1: + u16 (*mdio_ctrl)(struct nic *, u32, u32, u32, u16);
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct rx *rxs;
1: + struct rx *rx_to_use;
1: + struct rx *rx_to_clean;
1: + struct rfd blank_rfd;
1: + enum ru_state ru_running;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + spinlock_t cb_lock;
1: + spinlock_t cmd_lock;
1: + struct csr *csr;
1: + enum scb_cmd_lo cuc_cmd;
1: + unsigned int cbs_avail;
1: + struct napi_struct napi;
1: + struct cb *cbs;
1: + struct cb *cb_to_use;
1: + struct cb *cb_to_send;
1: + struct cb *cb_to_clean;
1: + __le16 tx_command;
1: + long: 48;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + enum {
1: + ich = 1,
1: + promiscuous = 2,
1: + multicast_all = 4,
1: + wol_magic = 8,
1: + ich_10h_workaround = 16,
1: + } flags;
1: + enum mac mac;
1: + enum phy___3 phy;
1: + struct params params;
1: + struct timer_list watchdog;
1: + struct mii_if_info mii;
1: + struct work_struct tx_timeout_task;
1: + enum loopback loopback;
1: + struct mem *mem;
1: + dma_addr_t dma_addr;
1: + struct dma_pool___2 *cbs_pool;
1: + dma_addr_t cbs_dma_addr;
1: + u8 adaptive_ifs;
1: + u8 tx_threshold;
1: + u32 tx_frames;
1: + u32 tx_collisions;
1: + u32 tx_deferred;
1: + u32 tx_single_collisions;
1: + u32 tx_multiple_collisions;
1: + u32 tx_fc_pause;
1: + u32 tx_tco_frames;
1: + u32 rx_fc_pause;
1: + u32 rx_fc_unsupported;
1: + u32 rx_tco_frames;
1: + u32 rx_short_frame_errors;
1: + u32 rx_over_length_errors;
1: + u16 eeprom_wc;
1: + __le16 eeprom[256];
1: + spinlock_t mdio_lock;
1: + const struct firmware *fw;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct vlan_hdr {
1: + __be16 h_vlan_TCI;
1: + __be16 h_vlan_encapsulated_proto;
1: +};
1: +
1: +struct qdisc_walker {
1: + int stop;
1: + int skip;
1: + int count;
1: + int (*fn)(struct Qdisc *, long unsigned int, struct qdisc_walker *);
1: +};
1: +
1: +typedef enum {
1: + e1000_undefined = 0,
1: + e1000_82542_rev2_0 = 1,
1: + e1000_82542_rev2_1 = 2,
1: + e1000_82543 = 3,
1: + e1000_82544 = 4,
1: + e1000_82540 = 5,
1: + e1000_82545 = 6,
1: + e1000_82545_rev_3 = 7,
1: + e1000_82546 = 8,
1: + e1000_ce4100 = 9,
1: + e1000_82546_rev_3 = 10,
1: + e1000_82541 = 11,
1: + e1000_82541_rev_2 = 12,
1: + e1000_82547 = 13,
1: + e1000_82547_rev_2 = 14,
1: + e1000_num_macs = 15,
1: +} e1000_mac_type;
1: +
1: +typedef enum {
1: + e1000_eeprom_uninitialized = 0,
1: + e1000_eeprom_spi = 1,
1: + e1000_eeprom_microwire = 2,
1: + e1000_eeprom_flash = 3,
1: + e1000_eeprom_none = 4,
1: + e1000_num_eeprom_types = 5,
1: +} e1000_eeprom_type;
1: +
1: +typedef enum {
1: + e1000_media_type_copper = 0,
1: + e1000_media_type_fiber = 1,
1: + e1000_media_type_internal_serdes = 2,
1: + e1000_num_media_types = 3,
1: +} e1000_media_type;
1: +
1: +enum {
1: + e1000_10_half = 0,
1: + e1000_10_full = 1,
1: + e1000_100_half = 2,
1: + e1000_100_full = 3,
1: +};
1: +
1: +typedef enum {
1: + E1000_FC_NONE = 0,
1: + E1000_FC_RX_PAUSE = 1,
1: + E1000_FC_TX_PAUSE = 2,
1: + E1000_FC_FULL = 3,
1: + E1000_FC_DEFAULT = 255,
1: +} e1000_fc_type;
1: +
1: +struct e1000_shadow_ram {
1: + u16 eeprom_word;
1: + bool modified;
1: +};
1: +
1: +typedef enum {
1: + e1000_bus_type_unknown = 0,
1: + e1000_bus_type_pci = 1,
1: + e1000_bus_type_pcix = 2,
1: + e1000_bus_type_reserved = 3,
1: +} e1000_bus_type;
1: +
1: +typedef enum {
1: + e1000_bus_speed_unknown = 0,
1: + e1000_bus_speed_33 = 1,
1: + e1000_bus_speed_66 = 2,
1: + e1000_bus_speed_100 = 3,
1: + e1000_bus_speed_120 = 4,
1: + e1000_bus_speed_133 = 5,
1: + e1000_bus_speed_reserved = 6,
1: +} e1000_bus_speed;
1: +
1: +typedef enum {
1: + e1000_bus_width_unknown = 0,
1: + e1000_bus_width_32 = 1,
1: + e1000_bus_width_64 = 2,
1: + e1000_bus_width_reserved = 3,
1: +} e1000_bus_width;
1: +
1: +typedef enum {
1: + e1000_cable_length_50 = 0,
1: + e1000_cable_length_50_80 = 1,
1: + e1000_cable_length_80_110 = 2,
1: + e1000_cable_length_110_140 = 3,
1: + e1000_cable_length_140 = 4,
1: + e1000_cable_length_undefined = 255,
1: +} e1000_cable_length;
1: +
1: +typedef enum {
1: + e1000_10bt_ext_dist_enable_normal = 0,
1: + e1000_10bt_ext_dist_enable_lower = 1,
1: + e1000_10bt_ext_dist_enable_undefined = 255,
1: +} e1000_10bt_ext_dist_enable;
1: +
1: +typedef enum {
1: + e1000_rev_polarity_normal = 0,
1: + e1000_rev_polarity_reversed = 1,
1: + e1000_rev_polarity_undefined = 255,
1: +} e1000_rev_polarity;
1: +
1: +typedef enum {
1: + e1000_downshift_normal = 0,
1: + e1000_downshift_activated = 1,
1: + e1000_downshift_undefined = 255,
1: +} e1000_downshift;
1: +
1: +typedef enum {
1: + e1000_smart_speed_default = 0,
1: + e1000_smart_speed_on = 1,
1: + e1000_smart_speed_off = 2,
1: +} e1000_smart_speed;
1: +
1: +typedef enum {
1: + e1000_polarity_reversal_enabled = 0,
1: + e1000_polarity_reversal_disabled = 1,
1: + e1000_polarity_reversal_undefined = 255,
1: +} e1000_polarity_reversal;
1: +
1: +typedef enum {
1: + e1000_auto_x_mode_manual_mdi = 0,
1: + e1000_auto_x_mode_manual_mdix = 1,
1: + e1000_auto_x_mode_auto1 = 2,
1: + e1000_auto_x_mode_auto2 = 3,
1: + e1000_auto_x_mode_undefined = 255,
1: +} e1000_auto_x_mode;
1: +
1: +typedef enum {
1: + e1000_1000t_rx_status_not_ok = 0,
1: + e1000_1000t_rx_status_ok = 1,
1: + e1000_1000t_rx_status_undefined = 255,
1: +} e1000_1000t_rx_status;
1: +
1: +typedef enum {
1: + e1000_phy_m88 = 0,
1: + e1000_phy_igp = 1,
1: + e1000_phy_8211 = 2,
1: + e1000_phy_8201 = 3,
1: + e1000_phy_undefined = 255,
1: +} e1000_phy_type;
1: +
1: +typedef enum {
1: + e1000_ms_hw_default = 0,
1: + e1000_ms_force_master = 1,
1: + e1000_ms_force_slave = 2,
1: + e1000_ms_auto = 3,
1: +} e1000_ms_type;
1: +
1: +typedef enum {
1: + e1000_ffe_config_enabled = 0,
1: + e1000_ffe_config_active = 1,
1: + e1000_ffe_config_blocked = 2,
1: +} e1000_ffe_config;
1: +
1: +typedef enum {
1: + e1000_dsp_config_disabled = 0,
1: + e1000_dsp_config_enabled = 1,
1: + e1000_dsp_config_activated = 2,
1: + e1000_dsp_config_undefined = 255,
1: +} e1000_dsp_config;
1: +
1: +struct e1000_phy_info {
1: + e1000_cable_length cable_length;
1: + e1000_10bt_ext_dist_enable extended_10bt_distance;
1: + e1000_rev_polarity cable_polarity;
1: + e1000_downshift downshift;
1: + e1000_polarity_reversal polarity_correction;
1: + e1000_auto_x_mode mdix_mode;
1: + e1000_1000t_rx_status local_rx;
1: + e1000_1000t_rx_status remote_rx;
1: +};
1: +
1: +struct e1000_phy_stats {
1: + u32 idle_errors;
1: + u32 receive_errors;
1: +};
1: +
1: +struct e1000_eeprom_info {
1: + e1000_eeprom_type type;
1: + u16 word_size;
1: + u16 opcode_bits;
1: + u16 address_bits;
1: + u16 delay_usec;
1: + u16 page_size;
1: +};
1: +
1: +struct e1000_host_mng_dhcp_cookie {
1: + u32 signature;
1: + u8 status;
1: + u8 reserved0;
1: + u16 vlan_id;
1: + u32 reserved1;
1: + u16 reserved2;
1: + u8 reserved3;
1: + u8 checksum;
1: +};
1: +
1: +struct e1000_rx_desc {
1: + __le64 buffer_addr;
1: + __le16 length;
1: + __le16 csum;
1: + u8 status;
1: + u8 errors;
1: + __le16 special;
1: +};
1: +
1: +struct e1000_tx_desc {
1: + __le64 buffer_addr;
1: + union {
1: + __le32 data;
1: + struct {
1: + __le16 length;
1: + u8 cso;
1: + u8 cmd;
1: + } flags;
1: + } lower;
1: + union {
1: + __le32 data;
1: + struct {
1: + u8 status;
1: + u8 css;
1: + __le16 special;
1: + } fields;
1: + } upper;
1: +};
1: +
1: +struct e1000_context_desc {
1: + union {
1: + __le32 ip_config;
1: + struct {
1: + u8 ipcss;
1: + u8 ipcso;
1: + __le16 ipcse;
1: + } ip_fields;
1: + } lower_setup;
1: + union {
1: + __le32 tcp_config;
1: + struct {
1: + u8 tucss;
1: + u8 tucso;
1: + __le16 tucse;
1: + } tcp_fields;
1: + } upper_setup;
1: + __le32 cmd_and_length;
1: + union {
1: + __le32 data;
1: + struct {
1: + u8 status;
1: + u8 hdr_len;
1: + __le16 mss;
1: + } fields;
1: + } tcp_seg_setup;
1: +};
1: +
1: +struct e1000_hw_stats {
1: + u64 crcerrs;
1: + u64 algnerrc;
1: + u64 symerrs;
1: + u64 rxerrc;
1: + u64 txerrc;
1: + u64 mpc;
1: + u64 scc;
1: + u64 ecol;
1: + u64 mcc;
1: + u64 latecol;
1: + u64 colc;
1: + u64 dc;
1: + u64 tncrs;
1: + u64 sec;
1: + u64 cexterr;
1: + u64 rlec;
1: + u64 xonrxc;
1: + u64 xontxc;
1: + u64 xoffrxc;
1: + u64 xofftxc;
1: + u64 fcruc;
1: + u64 prc64;
1: + u64 prc127;
1: + u64 prc255;
1: + u64 prc511;
1: + u64 prc1023;
1: + u64 prc1522;
1: + u64 gprc;
1: + u64 bprc;
1: + u64 mprc;
1: + u64 gptc;
1: + u64 gorcl;
1: + u64 gorch;
1: + u64 gotcl;
1: + u64 gotch;
1: + u64 rnbc;
1: + u64 ruc;
1: + u64 rfc;
1: + u64 roc;
1: + u64 rlerrc;
1: + u64 rjc;
1: + u64 mgprc;
1: + u64 mgpdc;
1: + u64 mgptc;
1: + u64 torl;
1: + u64 torh;
1: + u64 totl;
1: + u64 toth;
1: + u64 tpr;
1: + u64 tpt;
1: + u64 ptc64;
1: + u64 ptc127;
1: + u64 ptc255;
1: + u64 ptc511;
1: + u64 ptc1023;
1: + u64 ptc1522;
1: + u64 mptc;
1: + u64 bptc;
1: + u64 tsctc;
1: + u64 tsctfc;
1: + u64 iac;
1: + u64 icrxptc;
1: + u64 icrxatc;
1: + u64 ictxptc;
1: + u64 ictxatc;
1: + u64 ictxqec;
1: + u64 ictxqmtc;
1: + u64 icrxdmtc;
1: + u64 icrxoc;
1: +};
1: +
1: +struct e1000_hw {
1: + u8 *hw_addr;
1: + u8 *flash_address;
1: + void *ce4100_gbe_mdio_base_virt;
1: + e1000_mac_type mac_type;
1: + e1000_phy_type phy_type;
1: + u32 phy_init_script;
1: + e1000_media_type media_type;
1: + void *back;
1: + struct e1000_shadow_ram *eeprom_shadow_ram;
1: + u32 flash_bank_size;
1: + u32 flash_base_addr;
1: + e1000_fc_type fc;
1: + e1000_bus_speed bus_speed;
1: + e1000_bus_width bus_width;
1: + e1000_bus_type bus_type;
1: + struct e1000_eeprom_info eeprom;
1: + e1000_ms_type master_slave;
1: + e1000_ms_type original_master_slave;
1: + e1000_ffe_config ffe_config_state;
1: + u32 asf_firmware_present;
1: + u32 eeprom_semaphore_present;
1: + long unsigned int io_base;
1: + u32 phy_id;
1: + u32 phy_revision;
1: + u32 phy_addr;
1: + u32 original_fc;
1: + u32 txcw;
1: + u32 autoneg_failed;
1: + u32 max_frame_size;
1: + u32 min_frame_size;
1: + u32 mc_filter_type;
1: + u32 num_mc_addrs;
1: + u32 collision_delta;
1: + u32 tx_packet_delta;
1: + u32 ledctl_default;
1: + u32 ledctl_mode1;
1: + u32 ledctl_mode2;
1: + bool tx_pkt_filtering;
1: + struct e1000_host_mng_dhcp_cookie mng_cookie;
1: + u16 phy_spd_default;
1: + u16 autoneg_advertised;
1: + u16 pci_cmd_word;
1: + u16 fc_high_water;
1: + u16 fc_low_water;
1: + u16 fc_pause_time;
1: + u16 current_ifs_val;
1: + u16 ifs_min_val;
1: + u16 ifs_max_val;
1: + u16 ifs_step_size;
1: + u16 ifs_ratio;
1: + u16 device_id;
1: + u16 vendor_id;
1: + u16 subsystem_id;
1: + u16 subsystem_vendor_id;
1: + u8 revision_id;
1: + u8 autoneg;
1: + u8 mdix;
1: + u8 forced_speed_duplex;
1: + u8 wait_autoneg_complete;
1: + u8 dma_fairness;
1: + u8 mac_addr[6];
1: + u8 perm_mac_addr[6];
1: + bool disable_polarity_correction;
1: + bool speed_downgraded;
1: + e1000_smart_speed smart_speed;
1: + e1000_dsp_config dsp_config_state;
1: + bool get_link_status;
1: + bool serdes_has_link;
1: + bool tbi_compatibility_en;
1: + bool tbi_compatibility_on;
1: + bool laa_is_present;
1: + bool phy_reset_disable;
1: + bool initialize_hw_bits_disable;
1: + bool fc_send_xon;
1: + bool fc_strict_ieee;
1: + bool report_tx_early;
1: + bool adaptive_ifs;
1: + bool ifs_params_forced;
1: + bool in_ifs_mode;
1: + bool mng_reg_access_disabled;
1: + bool leave_av_bit_off;
1: + bool bad_tx_carr_stats_fd;
1: + bool has_smbus;
1: +};
1: +
1: +struct e1000_tx_buffer {
1: + struct sk_buff *skb;
1: + dma_addr_t dma;
1: + long unsigned int time_stamp;
1: + u16 length;
1: + u16 next_to_watch;
1: + bool mapped_as_page;
1: + short unsigned int segs;
1: + unsigned int bytecount;
1: +};
1: +
1: +struct e1000_rx_buffer {
1: + union {
1: + struct page *page;
1: + u8 *data;
1: + } rxbuf;
1: + dma_addr_t dma;
1: +};
1: +
1: +struct e1000_tx_ring {
1: + void *desc;
1: + dma_addr_t dma;
1: + unsigned int size;
1: + unsigned int count;
1: + unsigned int next_to_use;
1: + unsigned int next_to_clean;
1: + struct e1000_tx_buffer *buffer_info;
1: + u16 tdh;
1: + u16 tdt;
1: + bool last_tx_tso;
1: +};
1: +
1: +struct e1000_rx_ring {
1: + void *desc;
1: + dma_addr_t dma;
1: + unsigned int size;
1: + unsigned int count;
1: + unsigned int next_to_use;
1: + unsigned int next_to_clean;
1: + struct e1000_rx_buffer *buffer_info;
1: + struct sk_buff *rx_skb_top;
1: + int cpu;
1: + u16 rdh;
1: + u16 rdt;
1: +};
1: +
1: +struct e1000_adapter {
1: + long unsigned int active_vlans[64];
1: + u16 mng_vlan_id;
1: + u32 bd_number;
1: + u32 rx_buffer_len;
1: + u32 wol;
1: + u32 smartspeed;
1: + u32 en_mng_pt;
1: + u16 link_speed;
1: + u16 link_duplex;
1: + spinlock_t stats_lock;
1: + unsigned int total_tx_bytes;
1: + unsigned int total_tx_packets;
1: + unsigned int total_rx_bytes;
1: + unsigned int total_rx_packets;
1: + u32 itr;
1: + u32 itr_setting;
1: + u16 tx_itr;
1: + u16 rx_itr;
1: + u8 fc_autoneg;
1: + struct e1000_tx_ring *tx_ring;
1: + unsigned int restart_queue;
1: + u32 txd_cmd;
1: + u32 tx_int_delay;
1: + u32 tx_abs_int_delay;
1: + u32 gotcl;
1: + u64 gotcl_old;
1: + u64 tpt_old;
1: + u64 colc_old;
1: + u32 tx_timeout_count;
1: + u32 tx_fifo_head;
1: + u32 tx_head_addr;
1: + u32 tx_fifo_size;
1: + u8 tx_timeout_factor;
1: + atomic_t tx_fifo_stall;
1: + bool pcix_82544;
1: + bool detect_tx_hung;
1: + bool dump_buffers;
1: + bool (*clean_rx)(struct e1000_adapter *, struct e1000_rx_ring *, int *, int);
1: + void (*alloc_rx_buf)(struct e1000_adapter *, struct e1000_rx_ring *, int);
1: + struct e1000_rx_ring *rx_ring;
1: + struct napi_struct napi;
1: + int num_tx_queues;
1: + int num_rx_queues;
1: + u64 hw_csum_err;
1: + u64 hw_csum_good;
1: + u32 alloc_rx_buff_failed;
1: + u32 rx_int_delay;
1: + u32 rx_abs_int_delay;
1: + bool rx_csum;
1: + u32 gorcl;
1: + u64 gorcl_old;
1: + struct net_device *netdev;
1: + struct pci_dev *pdev;
1: + struct e1000_hw hw;
1: + struct e1000_hw_stats stats;
1: + struct e1000_phy_info phy_info;
1: + struct e1000_phy_stats phy_stats;
1: + u32 test_icr;
1: + struct e1000_tx_ring test_tx_ring;
1: + struct e1000_rx_ring test_rx_ring;
1: + int msg_enable;
1: + bool tso_force;
1: + bool smart_power_down;
1: + bool quad_port_a;
1: + long unsigned int flags;
1: + u32 eeprom_wol;
1: + int bars;
1: + int need_ioport;
1: + bool discarding;
1: + struct work_struct reset_task;
1: + struct delayed_work watchdog_task;
1: + struct delayed_work fifo_stall_task;
1: + struct delayed_work phy_info_task;
1: +};
1: +
1: +enum e1000_state_t {
1: + __E1000_TESTING = 0,
1: + __E1000_RESETTING = 1,
1: + __E1000_DOWN = 2,
1: + __E1000_DISABLED = 3,
1: +};
1: +
1: +enum latency_range {
1: + lowest_latency = 0,
1: + low_latency = 1,
1: + bulk_latency = 2,
1: + latency_invalid = 255,
1: +};
1: +
1: +struct my_u {
1: + __le64 a;
1: + __le64 b;
1: +};
1: +
1: +enum {
1: + e1000_igp_cable_length_10 = 10,
1: + e1000_igp_cable_length_20 = 20,
1: + e1000_igp_cable_length_30 = 30,
1: + e1000_igp_cable_length_40 = 40,
1: + e1000_igp_cable_length_50 = 50,
1: + e1000_igp_cable_length_60 = 60,
1: + e1000_igp_cable_length_70 = 70,
1: + e1000_igp_cable_length_80 = 80,
1: + e1000_igp_cable_length_90 = 90,
1: + e1000_igp_cable_length_100 = 100,
1: + e1000_igp_cable_length_110 = 110,
1: + e1000_igp_cable_length_115 = 115,
1: + e1000_igp_cable_length_120 = 120,
1: + e1000_igp_cable_length_130 = 130,
1: + e1000_igp_cable_length_140 = 140,
1: + e1000_igp_cable_length_150 = 150,
1: + e1000_igp_cable_length_160 = 160,
1: + e1000_igp_cable_length_170 = 170,
1: + e1000_igp_cable_length_180 = 180,
1: +};
1: +
1: +enum {
1: + NETDEV_STATS = 0,
1: + E1000_STATS = 1,
1: +};
1: +
1: +struct e1000_stats {
1: + char stat_string[32];
1: + int type;
1: + int sizeof_stat;
1: + int stat_offset;
1: +};
1: +
1: +struct e1000_opt_list {
1: + int i;
1: + char *str;
1: +};
1: +
1: +struct e1000_option {
1: + enum {
1: + enable_option = 0,
1: + range_option = 1,
1: + list_option = 2,
1: + } type;
1: + const char *name;
1: + const char *err;
1: + int def;
1: + union {
1: + struct {
1: + int min;
1: + int max;
1: + } r;
1: + struct {
1: + int nr;
1: + const struct e1000_opt_list *p;
1: + } l;
1: + } arg;
1: +};
1: +
1: +enum e1000_mac_type {
1: + e1000_82571 = 0,
1: + e1000_82572 = 1,
1: + e1000_82573 = 2,
1: + e1000_82574 = 3,
1: + e1000_82583 = 4,
1: + e1000_80003es2lan = 5,
1: + e1000_ich8lan = 6,
1: + e1000_ich9lan = 7,
1: + e1000_ich10lan = 8,
1: + e1000_pchlan = 9,
1: + e1000_pch2lan = 10,
1: + e1000_pch_lpt = 11,
1: + e1000_pch_spt = 12,
1: + e1000_pch_cnp = 13,
1: + e1000_pch_tgp = 14,
1: +};
1: +
1: +enum e1000_media_type {
1: + e1000_media_type_unknown = 0,
1: + e1000_media_type_copper___2 = 1,
1: + e1000_media_type_fiber___2 = 2,
1: + e1000_media_type_internal_serdes___2 = 3,
1: + e1000_num_media_types___2 = 4,
1: +};
1: +
1: +enum e1000_nvm_type {
1: + e1000_nvm_unknown = 0,
1: + e1000_nvm_none = 1,
1: + e1000_nvm_eeprom_spi = 2,
1: + e1000_nvm_flash_hw = 3,
1: + e1000_nvm_flash_sw = 4,
1: +};
1: +
1: +enum e1000_nvm_override {
1: + e1000_nvm_override_none = 0,
1: + e1000_nvm_override_spi_small = 1,
1: + e1000_nvm_override_spi_large = 2,
1: +};
1: +
1: +enum e1000_phy_type {
1: + e1000_phy_unknown = 0,
1: + e1000_phy_none = 1,
1: + e1000_phy_m88___2 = 2,
1: + e1000_phy_igp___2 = 3,
1: + e1000_phy_igp_2 = 4,
1: + e1000_phy_gg82563 = 5,
1: + e1000_phy_igp_3 = 6,
1: + e1000_phy_ife = 7,
1: + e1000_phy_bm = 8,
1: + e1000_phy_82578 = 9,
1: + e1000_phy_82577 = 10,
1: + e1000_phy_82579 = 11,
1: + e1000_phy_i217 = 12,
1: +};
1: +
1: +enum e1000_bus_width {
1: + e1000_bus_width_unknown___2 = 0,
1: + e1000_bus_width_pcie_x1 = 1,
1: + e1000_bus_width_pcie_x2 = 2,
1: + e1000_bus_width_pcie_x4 = 4,
1: + e1000_bus_width_pcie_x8 = 8,
1: + e1000_bus_width_32___2 = 9,
1: + e1000_bus_width_64___2 = 10,
1: + e1000_bus_width_reserved___2 = 11,
1: +};
1: +
1: +enum e1000_1000t_rx_status {
1: + e1000_1000t_rx_status_not_ok___2 = 0,
1: + e1000_1000t_rx_status_ok___2 = 1,
1: + e1000_1000t_rx_status_undefined___2 = 255,
1: +};
1: +
1: +enum e1000_rev_polarity {
1: + e1000_rev_polarity_normal___2 = 0,
1: + e1000_rev_polarity_reversed___2 = 1,
1: + e1000_rev_polarity_undefined___2 = 255,
1: +};
1: +
1: +enum e1000_fc_mode {
1: + e1000_fc_none = 0,
1: + e1000_fc_rx_pause = 1,
1: + e1000_fc_tx_pause = 2,
1: + e1000_fc_full = 3,
1: + e1000_fc_default = 255,
1: +};
1: +
1: +enum e1000_ms_type {
1: + e1000_ms_hw_default___2 = 0,
1: + e1000_ms_force_master___2 = 1,
1: + e1000_ms_force_slave___2 = 2,
1: + e1000_ms_auto___2 = 3,
1: +};
1: +
1: +enum e1000_smart_speed {
1: + e1000_smart_speed_default___2 = 0,
1: + e1000_smart_speed_on___2 = 1,
1: + e1000_smart_speed_off___2 = 2,
1: +};
1: +
1: +enum e1000_serdes_link_state {
1: + e1000_serdes_link_down = 0,
1: + e1000_serdes_link_autoneg_progress = 1,
1: + e1000_serdes_link_autoneg_complete = 2,
1: + e1000_serdes_link_forced_up = 3,
1: +};
1: +
1: +struct e1000_hw_stats___2 {
1: + u64 crcerrs;
1: + u64 algnerrc;
1: + u64 symerrs;
1: + u64 rxerrc;
1: + u64 mpc;
1: + u64 scc;
1: + u64 ecol;
1: + u64 mcc;
1: + u64 latecol;
1: + u64 colc;
1: + u64 dc;
1: + u64 tncrs;
1: + u64 sec;
1: + u64 cexterr;
1: + u64 rlec;
1: + u64 xonrxc;
1: + u64 xontxc;
1: + u64 xoffrxc;
1: + u64 xofftxc;
1: + u64 fcruc;
1: + u64 prc64;
1: + u64 prc127;
1: + u64 prc255;
1: + u64 prc511;
1: + u64 prc1023;
1: + u64 prc1522;
1: + u64 gprc;
1: + u64 bprc;
1: + u64 mprc;
1: + u64 gptc;
1: + u64 gorc;
1: + u64 gotc;
1: + u64 rnbc;
1: + u64 ruc;
1: + u64 rfc;
1: + u64 roc;
1: + u64 rjc;
1: + u64 mgprc;
1: + u64 mgpdc;
1: + u64 mgptc;
1: + u64 tor;
1: + u64 tot;
1: + u64 tpr;
1: + u64 tpt;
1: + u64 ptc64;
1: + u64 ptc127;
1: + u64 ptc255;
1: + u64 ptc511;
1: + u64 ptc1023;
1: + u64 ptc1522;
1: + u64 mptc;
1: + u64 bptc;
1: + u64 tsctc;
1: + u64 tsctfc;
1: + u64 iac;
1: + u64 icrxptc;
1: + u64 icrxatc;
1: + u64 ictxptc;
1: + u64 ictxatc;
1: + u64 ictxqec;
1: + u64 ictxqmtc;
1: + u64 icrxdmtc;
1: + u64 icrxoc;
1: +};
1: +
1: +struct e1000_hw___2;
1: +
1: +struct e1000_mac_operations {
1: + s32 (*id_led_init)(struct e1000_hw___2 *);
1: + s32 (*blink_led)(struct e1000_hw___2 *);
1: + bool (*check_mng_mode)(struct e1000_hw___2 *);
1: + s32 (*check_for_link)(struct e1000_hw___2 *);
1: + s32 (*cleanup_led)(struct e1000_hw___2 *);
1: + void (*clear_hw_cntrs)(struct e1000_hw___2 *);
1: + void (*clear_vfta)(struct e1000_hw___2 *);
1: + s32 (*get_bus_info)(struct e1000_hw___2 *);
1: + void (*set_lan_id)(struct e1000_hw___2 *);
1: + s32 (*get_link_up_info)(struct e1000_hw___2 *, u16 *, u16 *);
1: + s32 (*led_on)(struct e1000_hw___2 *);
1: + s32 (*led_off)(struct e1000_hw___2 *);
1: + void (*update_mc_addr_list)(struct e1000_hw___2 *, u8 *, u32);
1: + s32 (*reset_hw)(struct e1000_hw___2 *);
1: + s32 (*init_hw)(struct e1000_hw___2 *);
1: + s32 (*setup_link)(struct e1000_hw___2 *);
1: + s32 (*setup_physical_interface)(struct e1000_hw___2 *);
1: + s32 (*setup_led)(struct e1000_hw___2 *);
1: + void (*write_vfta)(struct e1000_hw___2 *, u32, u32);
1: + void (*config_collision_dist)(struct e1000_hw___2 *);
1: + int (*rar_set)(struct e1000_hw___2 *, u8 *, u32);
1: + s32 (*read_mac_addr)(struct e1000_hw___2 *);
1: + u32 (*rar_get_count)(struct e1000_hw___2 *);
1: +};
1: +
1: +struct e1000_mac_info {
1: + struct e1000_mac_operations ops;
1: + u8 addr[6];
1: + u8 perm_addr[6];
1: + enum e1000_mac_type type;
1: + u32 collision_delta;
1: + u32 ledctl_default;
1: + u32 ledctl_mode1;
1: + u32 ledctl_mode2;
1: + u32 mc_filter_type;
1: + u32 tx_packet_delta;
1: + u32 txcw;
1: + u16 current_ifs_val;
1: + u16 ifs_max_val;
1: + u16 ifs_min_val;
1: + u16 ifs_ratio;
1: + u16 ifs_step_size;
1: + u16 mta_reg_count;
1: + u32 mta_shadow[128];
1: + u16 rar_entry_count;
1: + u8 forced_speed_duplex;
1: + bool adaptive_ifs;
1: + bool has_fwsm;
1: + bool arc_subsystem_valid;
1: + bool autoneg;
1: + bool autoneg_failed;
1: + bool get_link_status;
1: + bool in_ifs_mode;
1: + bool serdes_has_link;
1: + bool tx_pkt_filtering;
1: + enum e1000_serdes_link_state serdes_link_state;
1: +};
1: +
1: +struct e1000_fc_info {
1: + u32 high_water;
1: + u32 low_water;
1: + u16 pause_time;
1: + u16 refresh_time;
1: + bool send_xon;
1: + bool strict_ieee;
1: + enum e1000_fc_mode current_mode;
1: + enum e1000_fc_mode requested_mode;
1: +};
1: +
1: +struct e1000_phy_operations {
1: + s32 (*acquire)(struct e1000_hw___2 *);
1: + s32 (*cfg_on_link_up)(struct e1000_hw___2 *);
1: + s32 (*check_polarity)(struct e1000_hw___2 *);
1: + s32 (*check_reset_block)(struct e1000_hw___2 *);
1: + s32 (*commit)(struct e1000_hw___2 *);
1: + s32 (*force_speed_duplex)(struct e1000_hw___2 *);
1: + s32 (*get_cfg_done)(struct e1000_hw___2 *);
1: + s32 (*get_cable_length)(struct e1000_hw___2 *);
1: + s32 (*get_info)(struct e1000_hw___2 *);
1: + s32 (*set_page)(struct e1000_hw___2 *, u16);
1: + s32 (*read_reg)(struct e1000_hw___2 *, u32, u16 *);
1: + s32 (*read_reg_locked)(struct e1000_hw___2 *, u32, u16 *);
1: + s32 (*read_reg_page)(struct e1000_hw___2 *, u32, u16 *);
1: + void (*release)(struct e1000_hw___2 *);
1: + s32 (*reset)(struct e1000_hw___2 *);
1: + s32 (*set_d0_lplu_state)(struct e1000_hw___2 *, bool);
1: + s32 (*set_d3_lplu_state)(struct e1000_hw___2 *, bool);
1: + s32 (*write_reg)(struct e1000_hw___2 *, u32, u16);
1: + s32 (*write_reg_locked)(struct e1000_hw___2 *, u32, u16);
1: + s32 (*write_reg_page)(struct e1000_hw___2 *, u32, u16);
1: + void (*power_up)(struct e1000_hw___2 *);
1: + void (*power_down)(struct e1000_hw___2 *);
1: +};
1: +
1: +struct e1000_phy_info___2 {
1: + struct e1000_phy_operations ops;
1: + enum e1000_phy_type type;
1: + enum e1000_1000t_rx_status local_rx;
1: + enum e1000_1000t_rx_status remote_rx;
1: + enum e1000_ms_type ms_type;
1: + enum e1000_ms_type original_ms_type;
1: + enum e1000_rev_polarity cable_polarity;
1: + enum e1000_smart_speed smart_speed;
1: + u32 addr;
1: + u32 id;
1: + u32 reset_delay_us;
1: + u32 revision;
1: + enum e1000_media_type media_type;
1: + u16 autoneg_advertised;
1: + u16 autoneg_mask;
1: + u16 cable_length;
1: + u16 max_cable_length;
1: + u16 min_cable_length;
1: + u8 mdix;
1: + bool disable_polarity_correction;
1: + bool is_mdix;
1: + bool polarity_correction;
1: + bool speed_downgraded;
1: + bool autoneg_wait_to_complete;
1: +};
1: +
1: +struct e1000_nvm_operations {
1: + s32 (*acquire)(struct e1000_hw___2 *);
1: + s32 (*read)(struct e1000_hw___2 *, u16, u16, u16 *);
1: + void (*release)(struct e1000_hw___2 *);
1: + void (*reload)(struct e1000_hw___2 *);
1: + s32 (*update)(struct e1000_hw___2 *);
1: + s32 (*valid_led_default)(struct e1000_hw___2 *, u16 *);
1: + s32 (*validate)(struct e1000_hw___2 *);
1: + s32 (*write)(struct e1000_hw___2 *, u16, u16, u16 *);
1: +};
1: +
1: +struct e1000_nvm_info {
1: + struct e1000_nvm_operations ops;
1: + enum e1000_nvm_type type;
1: + enum e1000_nvm_override override;
1: + u32 flash_bank_size;
1: + u32 flash_base_addr;
1: + u16 word_size;
1: + u16 delay_usec;
1: + u16 address_bits;
1: + u16 opcode_bits;
1: + u16 page_size;
1: +};
1: +
1: +struct e1000_bus_info {
1: + enum e1000_bus_width width;
1: + u16 func;
1: +};
1: +
1: +struct e1000_dev_spec_82571 {
1: + bool laa_is_present;
1: + u32 smb_counter;
1: +};
1: +
1: +struct e1000_dev_spec_80003es2lan {
1: + bool mdic_wa_enable;
1: +};
1: +
1: +struct e1000_shadow_ram___2 {
1: + u16 value;
1: + bool modified;
1: +};
1: +
1: +enum e1000_ulp_state {
1: + e1000_ulp_state_unknown = 0,
1: + e1000_ulp_state_off = 1,
1: + e1000_ulp_state_on = 2,
1: +};
1: +
1: +struct e1000_dev_spec_ich8lan {
1: + bool kmrn_lock_loss_workaround_enabled;
1: + struct e1000_shadow_ram___2 shadow_ram[2048];
1: + bool nvm_k1_enabled;
1: + bool eee_disable;
1: + u16 eee_lp_ability;
1: + enum e1000_ulp_state ulp_state;
1: +};
1: +
1: +struct e1000_adapter___2;
1: +
1: +struct e1000_hw___2 {
1: + struct e1000_adapter___2 *adapter;
1: + void *hw_addr;
1: + void *flash_address;
1: + struct e1000_mac_info mac;
1: + struct e1000_fc_info fc;
1: + struct e1000_phy_info___2 phy;
1: + struct e1000_nvm_info nvm;
1: + struct e1000_bus_info bus;
1: + struct e1000_host_mng_dhcp_cookie mng_cookie;
1: + union {
1: + struct e1000_dev_spec_82571 e82571;
1: + struct e1000_dev_spec_80003es2lan e80003es2lan;
1: + struct e1000_dev_spec_ich8lan ich8lan;
1: + } dev_spec;
1: +};
1: +
1: +struct e1000_phy_regs {
1: + u16 bmcr;
1: + u16 bmsr;
1: + u16 advertise;
1: + u16 lpa;
1: + u16 expansion;
1: + u16 ctrl1000;
1: + u16 stat1000;
1: + u16 estatus;
1: +};
1: +
1: +struct e1000_buffer;
1: +
1: +struct e1000_ring {
1: + struct e1000_adapter___2 *adapter;
1: + void *desc;
1: + dma_addr_t dma;
1: + unsigned int size;
1: + unsigned int count;
1: + u16 next_to_use;
1: + u16 next_to_clean;
1: + void *head;
1: + void *tail;
1: + struct e1000_buffer *buffer_info;
1: + char name[21];
1: + u32 ims_val;
1: + u32 itr_val;
1: + void *itr_register;
1: + int set_itr;
1: + struct sk_buff *rx_skb_top;
1: +};
1: +
1: +struct e1000_info;
1: +
1: +struct e1000_adapter___2 {
1: + struct timer_list watchdog_timer;
1: + struct timer_list phy_info_timer;
1: + struct timer_list blink_timer;
1: + struct work_struct reset_task;
1: + struct work_struct watchdog_task;
1: + const struct e1000_info *ei;
1: + long unsigned int active_vlans[64];
1: + u32 bd_number;
1: + u32 rx_buffer_len;
1: + u16 mng_vlan_id;
1: + u16 link_speed;
1: + u16 link_duplex;
1: + u16 eeprom_vers;
1: + long unsigned int state;
1: + u32 itr;
1: + u32 itr_setting;
1: + u16 tx_itr;
1: + u16 rx_itr;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct e1000_ring *tx_ring;
1: + u32 tx_fifo_limit;
1: + struct napi_struct napi;
1: + unsigned int uncorr_errors;
1: + unsigned int corr_errors;
1: + unsigned int restart_queue;
1: + u32 txd_cmd;
1: + bool detect_tx_hung;
1: + bool tx_hang_recheck;
1: + u8 tx_timeout_factor;
1: + u32 tx_int_delay;
1: + u32 tx_abs_int_delay;
1: + unsigned int total_tx_bytes;
1: + unsigned int total_tx_packets;
1: + unsigned int total_rx_bytes;
1: + unsigned int total_rx_packets;
1: + u64 tpt_old;
1: + u64 colc_old;
1: + u32 gotc;
1: + u64 gotc_old;
1: + u32 tx_timeout_count;
1: + u32 tx_fifo_head;
1: + u32 tx_head_addr;
1: + u32 tx_fifo_size;
1: + u32 tx_dma_failed;
1: + u32 tx_hwtstamp_timeouts;
1: + u32 tx_hwtstamp_skipped;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + bool (*clean_rx)(struct e1000_ring *, int *, int);
1: + void (*alloc_rx_buf)(struct e1000_ring *, int, gfp_t);
1: + struct e1000_ring *rx_ring;
1: + u32 rx_int_delay;
1: + u32 rx_abs_int_delay;
1: + u64 hw_csum_err;
1: + u64 hw_csum_good;
1: + u64 rx_hdr_split;
1: + u32 gorc;
1: + u64 gorc_old;
1: + u32 alloc_rx_buff_failed;
1: + u32 rx_dma_failed;
1: + u32 rx_hwtstamp_cleared;
1: + unsigned int rx_ps_pages;
1: + u16 rx_ps_bsize0;
1: + u32 max_frame_size;
1: + u32 min_frame_size;
1: + struct net_device *netdev;
1: + struct pci_dev *pdev;
1: + struct e1000_hw___2 hw;
1: + spinlock_t stats64_lock;
1: + struct e1000_hw_stats___2 stats;
1: + struct e1000_phy_info___2 phy_info;
1: + struct e1000_phy_stats phy_stats;
1: + struct e1000_phy_regs phy_regs;
1: + struct e1000_ring test_tx_ring;
1: + struct e1000_ring test_rx_ring;
1: + u32 test_icr;
1: + u32 msg_enable;
1: + unsigned int num_vectors;
1: + struct msix_entry *msix_entries;
1: + int int_mode;
1: + u32 eiac_mask;
1: + u32 eeprom_wol;
1: + u32 wol;
1: + u32 pba;
1: + u32 max_hw_frame_size;
1: + bool fc_autoneg;
1: + unsigned int flags;
1: + unsigned int flags2;
1: + struct work_struct downshift_task;
1: + struct work_struct update_phy_task;
1: + struct work_struct print_hang_task;
1: + int phy_hang_count;
1: + u16 tx_ring_count;
1: + u16 rx_ring_count;
1: + struct hwtstamp_config hwtstamp_config;
1: + struct delayed_work systim_overflow_work;
1: + struct sk_buff *tx_hwtstamp_skb;
1: + long unsigned int tx_hwtstamp_start;
1: + struct work_struct tx_hwtstamp_work;
1: + spinlock_t systim_lock;
1: + struct cyclecounter cc;
1: + struct timecounter tc;
1: + struct ptp_clock *ptp_clock;
1: + struct ptp_clock_info ptp_clock_info;
1: + struct pm_qos_request pm_qos_req;
1: + s32 ptp_delta;
1: + u16 eee_advert;
1: +};
1: +
1: +struct e1000_ps_page {
1: + struct page *page;
1: + u64 dma;
1: +};
1: +
1: +struct e1000_buffer {
1: + dma_addr_t dma;
1: + struct sk_buff *skb;
1: + union {
1: + struct {
1: + long unsigned int time_stamp;
1: + u16 length;
1: + u16 next_to_watch;
1: + unsigned int segs;
1: + unsigned int bytecount;
1: + u16 mapped_as_page;
1: + };
1: + struct {
1: + struct e1000_ps_page *ps_pages;
1: + struct page *page;
1: + };
1: + };
1: +};
1: +
1: +struct e1000_info {
1: + enum e1000_mac_type mac;
1: + unsigned int flags;
1: + unsigned int flags2;
1: + u32 pba;
1: + u32 max_hw_frame_size;
1: + s32 (*get_variants)(struct e1000_adapter___2 *);
1: + const struct e1000_mac_operations *mac_ops;
1: + const struct e1000_phy_operations *phy_ops;
1: + const struct e1000_nvm_operations *nvm_ops;
1: +};
1: +
1: +enum e1000_state_t___2 {
1: + __E1000_TESTING___2 = 0,
1: + __E1000_RESETTING___2 = 1,
1: + __E1000_ACCESS_SHARED_RESOURCE = 2,
1: + __E1000_DOWN___2 = 3,
1: +};
1: +
1: +struct ich8_hsfsts {
1: + u16 flcdone: 1;
1: + u16 flcerr: 1;
1: + u16 dael: 1;
1: + u16 berasesz: 2;
1: + u16 flcinprog: 1;
1: + u16 reserved1: 2;
1: + u16 reserved2: 6;
1: + u16 fldesvalid: 1;
1: + u16 flockdn: 1;
1: +};
1: +
1: +union ich8_hws_flash_status {
1: + struct ich8_hsfsts hsf_status;
1: + u16 regval;
1: +};
1: +
1: +struct ich8_hsflctl {
1: + u16 flcgo: 1;
1: + u16 flcycle: 2;
1: + u16 reserved: 5;
1: + u16 fldbcount: 2;
1: + u16 flockdn: 6;
1: +};
1: +
1: +union ich8_hws_flash_ctrl {
1: + struct ich8_hsflctl hsf_ctrl;
1: + u16 regval;
1: +};
1: +
1: +struct ich8_pr {
1: + u32 base: 13;
1: + u32 reserved1: 2;
1: + u32 rpe: 1;
1: + u32 limit: 13;
1: + u32 reserved2: 2;
1: + u32 wpe: 1;
1: +};
1: +
1: +union ich8_flash_protected_range {
1: + struct ich8_pr range;
1: + u32 regval;
1: +};
1: +
1: +struct e1000_host_mng_command_header {
1: + u8 command_id;
1: + u8 checksum;
1: + u16 reserved1;
1: + u16 reserved2;
1: + u16 command_length;
1: +};
1: +
1: +enum e1000_mng_mode {
1: + e1000_mng_mode_none = 0,
1: + e1000_mng_mode_asf = 1,
1: + e1000_mng_mode_pt = 2,
1: + e1000_mng_mode_ipmi = 3,
1: + e1000_mng_mode_host_if_only = 4,
1: +};
1: +
1: +struct e1000_option___2 {
1: + enum {
1: + enable_option___2 = 0,
1: + range_option___2 = 1,
1: + list_option___2 = 2,
1: + } type;
1: + const char *name;
1: + const char *err;
1: + int def;
1: + union {
1: + struct {
1: + int min;
1: + int max;
1: + } r;
1: + struct {
1: + int nr;
1: + struct e1000_opt_list *p;
1: + } l;
1: + } arg;
1: +};
1: +
1: +union e1000_rx_desc_extended {
1: + struct {
1: + __le64 buffer_addr;
1: + __le64 reserved;
1: + } read;
1: + struct {
1: + struct {
1: + __le32 mrq;
1: + union {
1: + __le32 rss;
1: + struct {
1: + __le16 ip_id;
1: + __le16 csum;
1: + } csum_ip;
1: + } hi_dword;
1: + } lower;
1: + struct {
1: + __le32 status_error;
1: + __le16 length;
1: + __le16 vlan;
1: + } upper;
1: + } wb;
1: +};
1: +
1: +enum pkt_hash_types {
1: + PKT_HASH_TYPE_NONE = 0,
1: + PKT_HASH_TYPE_L2 = 1,
1: + PKT_HASH_TYPE_L3 = 2,
1: + PKT_HASH_TYPE_L4 = 3,
1: +};
1: +
1: +union e1000_rx_desc_packet_split {
1: + struct {
1: + __le64 buffer_addr[4];
1: + } read;
1: + struct {
1: + struct {
1: + __le32 mrq;
1: + union {
1: + __le32 rss;
1: + struct {
1: + __le16 ip_id;
1: + __le16 csum;
1: + } csum_ip;
1: + } hi_dword;
1: + } lower;
1: + struct {
1: + __le32 status_error;
1: + __le16 length0;
1: + __le16 vlan;
1: + } middle;
1: + struct {
1: + __le16 header_status;
1: + __le16 length[3];
1: + } upper;
1: + __le64 reserved;
1: + } wb;
1: +};
1: +
1: +enum e1000_boards {
1: + board_82571 = 0,
1: + board_82572 = 1,
1: + board_82573 = 2,
1: + board_82574 = 3,
1: + board_82583 = 4,
1: + board_80003es2lan = 5,
1: + board_ich8lan = 6,
1: + board_ich9lan = 7,
1: + board_ich10lan = 8,
1: + board_pchlan = 9,
1: + board_pch2lan = 10,
1: + board_pch_lpt = 11,
1: + board_pch_spt = 12,
1: + board_pch_cnp = 13,
1: +};
1: +
1: +struct e1000_reg_info {
1: + u32 ofs;
1: + char *name;
1: +};
1: +
1: +struct my_u0 {
1: + __le64 a;
1: + __le64 b;
1: +};
1: +
1: +struct my_u1 {
1: + __le64 a;
1: + __le64 b;
1: + __le64 c;
1: + __le64 d;
1: +};
1: +
1: +enum {
1: + PCI_DEV_REG1 = 64,
1: + PCI_DEV_REG2 = 68,
1: + PCI_DEV_STATUS = 124,
1: + PCI_DEV_REG3 = 128,
1: + PCI_DEV_REG4 = 132,
1: + PCI_DEV_REG5 = 136,
1: + PCI_CFG_REG_0 = 144,
1: + PCI_CFG_REG_1 = 148,
1: + PSM_CONFIG_REG0 = 152,
1: + PSM_CONFIG_REG1 = 156,
1: + PSM_CONFIG_REG2 = 352,
1: + PSM_CONFIG_REG3 = 356,
1: + PSM_CONFIG_REG4 = 360,
1: + PCI_LDO_CTRL = 188,
1: +};
1: +
1: +enum pci_dev_reg_1 {
1: + PCI_Y2_PIG_ENA = -2147483648,
1: + PCI_Y2_DLL_DIS = 1073741824,
1: + PCI_SW_PWR_ON_RST = 1073741824,
1: + PCI_Y2_PHY2_COMA = 536870912,
1: + PCI_Y2_PHY1_COMA = 268435456,
1: + PCI_Y2_PHY2_POWD = 134217728,
1: + PCI_Y2_PHY1_POWD = 67108864,
1: + PCI_Y2_PME_LEGACY = 32768,
1: + PCI_PHY_LNK_TIM_MSK = 768,
1: + PCI_ENA_L1_EVENT = 128,
1: + PCI_ENA_GPHY_LNK = 64,
1: + PCI_FORCE_PEX_L1 = 32,
1: +};
1: +
1: +enum pci_dev_reg_2 {
1: + PCI_VPD_WR_THR = -16777216,
1: + PCI_DEV_SEL = 16646144,
1: + PCI_VPD_ROM_SZ = 114688,
1: + PCI_PATCH_DIR = 3840,
1: + PCI_EXT_PATCHS = 240,
1: + PCI_EN_DUMMY_RD = 8,
1: + PCI_REV_DESC = 4,
1: + PCI_USEDATA64 = 1,
1: +};
1: +
1: +enum pci_dev_reg_3 {
1: + P_CLK_ASF_REGS_DIS = 262144,
1: + P_CLK_COR_REGS_D0_DIS = 131072,
1: + P_CLK_MACSEC_DIS = 131072,
1: + P_CLK_PCI_REGS_D0_DIS = 65536,
1: + P_CLK_COR_YTB_ARB_DIS = 32768,
1: + P_CLK_MAC_LNK1_D3_DIS = 16384,
1: + P_CLK_COR_LNK1_D0_DIS = 8192,
1: + P_CLK_MAC_LNK1_D0_DIS = 4096,
1: + P_CLK_COR_LNK1_D3_DIS = 2048,
1: + P_CLK_PCI_MST_ARB_DIS = 1024,
1: + P_CLK_COR_REGS_D3_DIS = 512,
1: + P_CLK_PCI_REGS_D3_DIS = 256,
1: + P_CLK_REF_LNK1_GM_DIS = 128,
1: + P_CLK_COR_LNK1_GM_DIS = 64,
1: + P_CLK_PCI_COMMON_DIS = 32,
1: + P_CLK_COR_COMMON_DIS = 16,
1: + P_CLK_PCI_LNK1_BMU_DIS = 8,
1: + P_CLK_COR_LNK1_BMU_DIS = 4,
1: + P_CLK_PCI_LNK1_BIU_DIS = 2,
1: + P_CLK_COR_LNK1_BIU_DIS = 1,
1: + PCIE_OUR3_WOL_D3_COLD_SET = 406548,
1: +};
1: +
1: +enum pci_dev_reg_4 {
1: + P_PEX_LTSSM_STAT_MSK = -33554432,
1: + P_PEX_LTSSM_L1_STAT = 52,
1: + P_PEX_LTSSM_DET_STAT = 1,
1: + P_TIMER_VALUE_MSK = 16711680,
1: + P_FORCE_ASPM_REQUEST = 32768,
1: + P_ASPM_GPHY_LINK_DOWN = 16384,
1: + P_ASPM_INT_FIFO_EMPTY = 8192,
1: + P_ASPM_CLKRUN_REQUEST = 4096,
1: + P_ASPM_FORCE_CLKREQ_ENA = 16,
1: + P_ASPM_CLKREQ_PAD_CTL = 8,
1: + P_ASPM_A1_MODE_SELECT = 4,
1: + P_CLK_GATE_PEX_UNIT_ENA = 2,
1: + P_CLK_GATE_ROOT_COR_ENA = 1,
1: + P_ASPM_CONTROL_MSK = 61440,
1: +};
1: +
1: +enum pci_dev_reg_5 {
1: + P_CTL_DIV_CORE_CLK_ENA = -2147483648,
1: + P_CTL_SRESET_VMAIN_AV = 1073741824,
1: + P_CTL_BYPASS_VMAIN_AV = 536870912,
1: + P_CTL_TIM_VMAIN_AV_MSK = 402653184,
1: + P_REL_PCIE_RST_DE_ASS = 67108864,
1: + P_REL_GPHY_REC_PACKET = 33554432,
1: + P_REL_INT_FIFO_N_EMPTY = 16777216,
1: + P_REL_MAIN_PWR_AVAIL = 8388608,
1: + P_REL_CLKRUN_REQ_REL = 4194304,
1: + P_REL_PCIE_RESET_ASS = 2097152,
1: + P_REL_PME_ASSERTED = 1048576,
1: + P_REL_PCIE_EXIT_L1_ST = 524288,
1: + P_REL_LOADER_NOT_FIN = 262144,
1: + P_REL_PCIE_RX_EX_IDLE = 131072,
1: + P_REL_GPHY_LINK_UP = 65536,
1: + P_GAT_PCIE_RST_ASSERTED = 1024,
1: + P_GAT_GPHY_N_REC_PACKET = 512,
1: + P_GAT_INT_FIFO_EMPTY = 256,
1: + P_GAT_MAIN_PWR_N_AVAIL = 128,
1: + P_GAT_CLKRUN_REQ_REL = 64,
1: + P_GAT_PCIE_RESET_ASS = 32,
1: + P_GAT_PME_DE_ASSERTED = 16,
1: + P_GAT_PCIE_ENTER_L1_ST = 8,
1: + P_GAT_LOADER_FINISHED = 4,
1: + P_GAT_PCIE_RX_EL_IDLE = 2,
1: + P_GAT_GPHY_LINK_DOWN = 1,
1: + PCIE_OUR5_EVENT_CLK_D3_SET = 50987786,
1: +};
1: +
1: +enum {
1: + PSM_CONFIG_REG4_TIMER_PHY_LINK_DETECT_MSK = 240,
1: + PSM_CONFIG_REG4_TIMER_PHY_LINK_DETECT_BASE = 4,
1: + PSM_CONFIG_REG4_DEBUG_TIMER = 2,
1: + PSM_CONFIG_REG4_RST_PHY_LINK_DETECT = 1,
1: +};
1: +
1: +enum csr_regs {
1: + B0_RAP = 0,
1: + B0_CTST = 4,
1: + B0_POWER_CTRL = 7,
1: + B0_ISRC = 8,
1: + B0_IMSK = 12,
1: + B0_HWE_ISRC = 16,
1: + B0_HWE_IMSK = 20,
1: + B0_Y2_SP_ISRC2 = 28,
1: + B0_Y2_SP_ISRC3 = 32,
1: + B0_Y2_SP_EISR = 36,
1: + B0_Y2_SP_LISR = 40,
1: + B0_Y2_SP_ICR = 44,
1: + B2_MAC_1 = 256,
1: + B2_MAC_2 = 264,
1: + B2_MAC_3 = 272,
1: + B2_CONN_TYP = 280,
1: + B2_PMD_TYP = 281,
1: + B2_MAC_CFG = 282,
1: + B2_CHIP_ID = 283,
1: + B2_E_0 = 284,
1: + B2_Y2_CLK_GATE = 285,
1: + B2_Y2_HW_RES = 286,
1: + B2_E_3 = 287,
1: + B2_Y2_CLK_CTRL = 288,
1: + B2_TI_INI = 304,
1: + B2_TI_VAL = 308,
1: + B2_TI_CTRL = 312,
1: + B2_TI_TEST = 313,
1: + B2_TST_CTRL1 = 344,
1: + B2_TST_CTRL2 = 345,
1: + B2_GP_IO = 348,
1: + B2_I2C_CTRL = 352,
1: + B2_I2C_DATA = 356,
1: + B2_I2C_IRQ = 360,
1: + B2_I2C_SW = 364,
1: + Y2_PEX_PHY_DATA = 368,
1: + Y2_PEX_PHY_ADDR = 370,
1: + B3_RAM_ADDR = 384,
1: + B3_RAM_DATA_LO = 388,
1: + B3_RAM_DATA_HI = 392,
1: + B3_RI_WTO_R1 = 400,
1: + B3_RI_WTO_XA1 = 401,
1: + B3_RI_WTO_XS1 = 402,
1: + B3_RI_RTO_R1 = 403,
1: + B3_RI_RTO_XA1 = 404,
1: + B3_RI_RTO_XS1 = 405,
1: + B3_RI_WTO_R2 = 406,
1: + B3_RI_WTO_XA2 = 407,
1: + B3_RI_WTO_XS2 = 408,
1: + B3_RI_RTO_R2 = 409,
1: + B3_RI_RTO_XA2 = 410,
1: + B3_RI_RTO_XS2 = 411,
1: + B3_RI_TO_VAL = 412,
1: + B3_RI_CTRL = 416,
1: + B3_RI_TEST = 418,
1: + B3_MA_TOINI_RX1 = 432,
1: + B3_MA_TOINI_RX2 = 433,
1: + B3_MA_TOINI_TX1 = 434,
1: + B3_MA_TOINI_TX2 = 435,
1: + B3_MA_TOVAL_RX1 = 436,
1: + B3_MA_TOVAL_RX2 = 437,
1: + B3_MA_TOVAL_TX1 = 438,
1: + B3_MA_TOVAL_TX2 = 439,
1: + B3_MA_TO_CTRL = 440,
1: + B3_MA_TO_TEST = 442,
1: + B3_MA_RCINI_RX1 = 448,
1: + B3_MA_RCINI_RX2 = 449,
1: + B3_MA_RCINI_TX1 = 450,
1: + B3_MA_RCINI_TX2 = 451,
1: + B3_MA_RCVAL_RX1 = 452,
1: + B3_MA_RCVAL_RX2 = 453,
1: + B3_MA_RCVAL_TX1 = 454,
1: + B3_MA_RCVAL_TX2 = 455,
1: + B3_MA_RC_CTRL = 456,
1: + B3_MA_RC_TEST = 458,
1: + B3_PA_TOINI_RX1 = 464,
1: + B3_PA_TOINI_RX2 = 468,
1: + B3_PA_TOINI_TX1 = 472,
1: + B3_PA_TOINI_TX2 = 476,
1: + B3_PA_TOVAL_RX1 = 480,
1: + B3_PA_TOVAL_RX2 = 484,
1: + B3_PA_TOVAL_TX1 = 488,
1: + B3_PA_TOVAL_TX2 = 492,
1: + B3_PA_CTRL = 496,
1: + B3_PA_TEST = 498,
1: + Y2_CFG_SPC = 7168,
1: + Y2_CFG_AER = 7424,
1: +};
1: +
1: +enum {
1: + Y2_VMAIN_AVAIL = 131072,
1: + Y2_VAUX_AVAIL = 65536,
1: + Y2_HW_WOL_ON = 32768,
1: + Y2_HW_WOL_OFF = 16384,
1: + Y2_ASF_ENABLE = 8192,
1: + Y2_ASF_DISABLE = 4096,
1: + Y2_CLK_RUN_ENA = 2048,
1: + Y2_CLK_RUN_DIS = 1024,
1: + Y2_LED_STAT_ON = 512,
1: + Y2_LED_STAT_OFF = 256,
1: + CS_ST_SW_IRQ = 128,
1: + CS_CL_SW_IRQ = 64,
1: + CS_STOP_DONE = 32,
1: + CS_STOP_MAST = 16,
1: + CS_MRST_CLR = 8,
1: + CS_MRST_SET = 4,
1: + CS_RST_CLR = 2,
1: + CS_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + PC_VAUX_ENA = 128,
1: + PC_VAUX_DIS = 64,
1: + PC_VCC_ENA = 32,
1: + PC_VCC_DIS = 16,
1: + PC_VAUX_ON = 8,
1: + PC_VAUX_OFF = 4,
1: + PC_VCC_ON = 2,
1: + PC_VCC_OFF = 1,
1: +};
1: +
1: +enum {
1: + Y2_IS_HW_ERR = -2147483648,
1: + Y2_IS_STAT_BMU = 1073741824,
1: + Y2_IS_ASF = 536870912,
1: + Y2_IS_CPU_TO = 268435456,
1: + Y2_IS_POLL_CHK = 134217728,
1: + Y2_IS_TWSI_RDY = 67108864,
1: + Y2_IS_IRQ_SW = 33554432,
1: + Y2_IS_TIMINT = 16777216,
1: + Y2_IS_IRQ_PHY2 = 4096,
1: + Y2_IS_IRQ_MAC2 = 2048,
1: + Y2_IS_CHK_RX2 = 1024,
1: + Y2_IS_CHK_TXS2 = 512,
1: + Y2_IS_CHK_TXA2 = 256,
1: + Y2_IS_PSM_ACK = 128,
1: + Y2_IS_PTP_TIST = 64,
1: + Y2_IS_PHY_QLNK = 32,
1: + Y2_IS_IRQ_PHY1 = 16,
1: + Y2_IS_IRQ_MAC1 = 8,
1: + Y2_IS_CHK_RX1 = 4,
1: + Y2_IS_CHK_TXS1 = 2,
1: + Y2_IS_CHK_TXA1 = 1,
1: + Y2_IS_BASE = -1073741824,
1: + Y2_IS_PORT_1 = 29,
1: + Y2_IS_PORT_2 = 7424,
1: + Y2_IS_ERROR = -2147480307,
1: +};
1: +
1: +enum {
1: + Y2_IS_TIST_OV = 536870912,
1: + Y2_IS_SENSOR = 268435456,
1: + Y2_IS_MST_ERR = 134217728,
1: + Y2_IS_IRQ_STAT = 67108864,
1: + Y2_IS_PCI_EXP = 33554432,
1: + Y2_IS_PCI_NEXP = 16777216,
1: + Y2_IS_PAR_RD2 = 8192,
1: + Y2_IS_PAR_WR2 = 4096,
1: + Y2_IS_PAR_MAC2 = 2048,
1: + Y2_IS_PAR_RX2 = 1024,
1: + Y2_IS_TCP_TXS2 = 512,
1: + Y2_IS_TCP_TXA2 = 256,
1: + Y2_IS_PAR_RD1 = 32,
1: + Y2_IS_PAR_WR1 = 16,
1: + Y2_IS_PAR_MAC1 = 8,
1: + Y2_IS_PAR_RX1 = 4,
1: + Y2_IS_TCP_TXS1 = 2,
1: + Y2_IS_TCP_TXA1 = 1,
1: + Y2_HWE_L1_MASK = 63,
1: + Y2_HWE_L2_MASK = 16128,
1: + Y2_HWE_ALL_MASK = 738213695,
1: +};
1: +
1: +enum {
1: + DPT_START = 2,
1: + DPT_STOP = 1,
1: +};
1: +
1: +enum {
1: + TST_FRC_DPERR_MR = 128,
1: + TST_FRC_DPERR_MW = 64,
1: + TST_FRC_DPERR_TR = 32,
1: + TST_FRC_DPERR_TW = 16,
1: + TST_FRC_APERR_M = 8,
1: + TST_FRC_APERR_T = 4,
1: + TST_CFG_WRITE_ON = 2,
1: + TST_CFG_WRITE_OFF = 1,
1: +};
1: +
1: +enum {
1: + GLB_GPIO_CLK_DEB_ENA = -2147483648,
1: + GLB_GPIO_CLK_DBG_MSK = 1006632960,
1: + GLB_GPIO_INT_RST_D3_DIS = 32768,
1: + GLB_GPIO_LED_PAD_SPEED_UP = 16384,
1: + GLB_GPIO_STAT_RACE_DIS = 8192,
1: + GLB_GPIO_TEST_SEL_MSK = 6144,
1: + GLB_GPIO_TEST_SEL_BASE = 2048,
1: + GLB_GPIO_RAND_ENA = 1024,
1: + GLB_GPIO_RAND_BIT_1 = 512,
1: +};
1: +
1: +enum {
1: + CFG_CHIP_R_MSK = 240,
1: + CFG_DIS_M2_CLK = 2,
1: + CFG_SNG_MAC = 1,
1: +};
1: +
1: +enum {
1: + CHIP_ID_YUKON_XL = 179,
1: + CHIP_ID_YUKON_EC_U = 180,
1: + CHIP_ID_YUKON_EX = 181,
1: + CHIP_ID_YUKON_EC = 182,
1: + CHIP_ID_YUKON_FE = 183,
1: + CHIP_ID_YUKON_FE_P = 184,
1: + CHIP_ID_YUKON_SUPR = 185,
1: + CHIP_ID_YUKON_UL_2 = 186,
1: + CHIP_ID_YUKON_OPT = 188,
1: + CHIP_ID_YUKON_PRM = 189,
1: + CHIP_ID_YUKON_OP_2 = 190,
1: +};
1: +
1: +enum yukon_xl_rev {
1: + CHIP_REV_YU_XL_A0 = 0,
1: + CHIP_REV_YU_XL_A1 = 1,
1: + CHIP_REV_YU_XL_A2 = 2,
1: + CHIP_REV_YU_XL_A3 = 3,
1: +};
1: +
1: +enum yukon_ec_rev {
1: + CHIP_REV_YU_EC_A1 = 0,
1: + CHIP_REV_YU_EC_A2 = 1,
1: + CHIP_REV_YU_EC_A3 = 2,
1: +};
1: +
1: +enum yukon_ec_u_rev {
1: + CHIP_REV_YU_EC_U_A0 = 1,
1: + CHIP_REV_YU_EC_U_A1 = 2,
1: + CHIP_REV_YU_EC_U_B0 = 3,
1: + CHIP_REV_YU_EC_U_B1 = 5,
1: +};
1: +
1: +enum yukon_fe_p_rev {
1: + CHIP_REV_YU_FE2_A0 = 0,
1: +};
1: +
1: +enum yukon_ex_rev {
1: + CHIP_REV_YU_EX_A0 = 1,
1: + CHIP_REV_YU_EX_B0 = 2,
1: +};
1: +
1: +enum yukon_supr_rev {
1: + CHIP_REV_YU_SU_A0 = 0,
1: + CHIP_REV_YU_SU_B0 = 1,
1: + CHIP_REV_YU_SU_B1 = 3,
1: +};
1: +
1: +enum yukon_prm_rev {
1: + CHIP_REV_YU_PRM_Z1 = 1,
1: + CHIP_REV_YU_PRM_A0 = 2,
1: +};
1: +
1: +enum {
1: + Y2_STATUS_LNK2_INAC = 128,
1: + Y2_CLK_GAT_LNK2_DIS = 64,
1: + Y2_COR_CLK_LNK2_DIS = 32,
1: + Y2_PCI_CLK_LNK2_DIS = 16,
1: + Y2_STATUS_LNK1_INAC = 8,
1: + Y2_CLK_GAT_LNK1_DIS = 4,
1: + Y2_COR_CLK_LNK1_DIS = 2,
1: + Y2_PCI_CLK_LNK1_DIS = 1,
1: +};
1: +
1: +enum {
1: + CFG_LED_MODE_MSK = 28,
1: + CFG_LINK_2_AVAIL = 2,
1: + CFG_LINK_1_AVAIL = 1,
1: +};
1: +
1: +enum {
1: + Y2_CLK_DIV_VAL_MSK = 16711680,
1: + Y2_CLK_DIV_VAL2_MSK = 14680064,
1: + Y2_CLK_SELECT2_MSK = 2031616,
1: + Y2_CLK_DIV_ENA = 2,
1: + Y2_CLK_DIV_DIS = 1,
1: +};
1: +
1: +enum {
1: + TIM_START = 4,
1: + TIM_STOP = 2,
1: + TIM_CLR_IRQ = 1,
1: +};
1: +
1: +enum {
1: + PEX_RD_ACCESS = -2147483648,
1: + PEX_DB_ACCESS = 1073741824,
1: +};
1: +
1: +enum {
1: + RI_CLR_RD_PERR = 512,
1: + RI_CLR_WR_PERR = 256,
1: + RI_RST_CLR = 2,
1: + RI_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + TXA_ENA_FSYNC = 128,
1: + TXA_DIS_FSYNC = 64,
1: + TXA_ENA_ALLOC = 32,
1: + TXA_DIS_ALLOC = 16,
1: + TXA_START_RC = 8,
1: + TXA_STOP_RC = 4,
1: + TXA_ENA_ARB = 2,
1: + TXA_DIS_ARB = 1,
1: +};
1: +
1: +enum {
1: + TXA_ITI_INI = 512,
1: + TXA_ITI_VAL = 516,
1: + TXA_LIM_INI = 520,
1: + TXA_LIM_VAL = 524,
1: + TXA_CTRL = 528,
1: + TXA_TEST = 529,
1: + TXA_STAT = 530,
1: + RSS_KEY = 544,
1: + RSS_CFG = 584,
1: +};
1: +
1: +enum {
1: + HASH_TCP_IPV6_EX_CTRL = 32,
1: + HASH_IPV6_EX_CTRL = 16,
1: + HASH_TCP_IPV6_CTRL = 8,
1: + HASH_IPV6_CTRL = 4,
1: + HASH_TCP_IPV4_CTRL = 2,
1: + HASH_IPV4_CTRL = 1,
1: + HASH_ALL = 63,
1: +};
1: +
1: +enum {
1: + B6_EXT_REG = 768,
1: + B7_CFG_SPC = 896,
1: + B8_RQ1_REGS = 1024,
1: + B8_RQ2_REGS = 1152,
1: + B8_TS1_REGS = 1536,
1: + B8_TA1_REGS = 1664,
1: + B8_TS2_REGS = 1792,
1: + B8_TA2_REGS = 1920,
1: + B16_RAM_REGS = 2048,
1: +};
1: +
1: +enum {
1: + B8_Q_REGS = 1024,
1: + Q_D = 0,
1: + Q_VLAN = 32,
1: + Q_DONE = 36,
1: + Q_AC_L = 40,
1: + Q_AC_H = 44,
1: + Q_BC = 48,
1: + Q_CSR = 52,
1: + Q_TEST = 56,
1: + Q_WM = 64,
1: + Q_AL = 66,
1: + Q_RSP = 68,
1: + Q_RSL = 70,
1: + Q_RP = 72,
1: + Q_RL = 74,
1: + Q_WP = 76,
1: + Q_WSP = 77,
1: + Q_WL = 78,
1: + Q_WSL = 79,
1: +};
1: +
1: +enum {
1: + F_TX_CHK_AUTO_OFF = -2147483648,
1: + F_TX_CHK_AUTO_ON = 1073741824,
1: + F_M_RX_RAM_DIS = 16777216,
1: +};
1: +
1: +enum {
1: + Y2_B8_PREF_REGS = 1104,
1: + PREF_UNIT_CTRL = 0,
1: + PREF_UNIT_LAST_IDX = 4,
1: + PREF_UNIT_ADDR_LO = 8,
1: + PREF_UNIT_ADDR_HI = 12,
1: + PREF_UNIT_GET_IDX = 16,
1: + PREF_UNIT_PUT_IDX = 20,
1: + PREF_UNIT_FIFO_WP = 32,
1: + PREF_UNIT_FIFO_RP = 36,
1: + PREF_UNIT_FIFO_WM = 40,
1: + PREF_UNIT_FIFO_LEV = 44,
1: + PREF_UNIT_MASK_IDX = 4095,
1: +};
1: +
1: +enum {
1: + RB_START = 0,
1: + RB_END = 4,
1: + RB_WP = 8,
1: + RB_RP = 12,
1: + RB_RX_UTPP = 16,
1: + RB_RX_LTPP = 20,
1: + RB_RX_UTHP = 24,
1: + RB_RX_LTHP = 28,
1: + RB_PC = 32,
1: + RB_LEV = 36,
1: + RB_CTRL = 40,
1: + RB_TST1 = 41,
1: + RB_TST2 = 42,
1: +};
1: +
1: +enum {
1: + Q_R1 = 0,
1: + Q_R2 = 128,
1: + Q_XS1 = 512,
1: + Q_XA1 = 640,
1: + Q_XS2 = 768,
1: + Q_XA2 = 896,
1: +};
1: +
1: +enum {
1: + PHY_ADDR_MARV = 0,
1: +};
1: +
1: +enum {
1: + LNK_SYNC_INI = 3120,
1: + LNK_SYNC_VAL = 3124,
1: + LNK_SYNC_CTRL = 3128,
1: + LNK_SYNC_TST = 3129,
1: + LNK_LED_REG = 3132,
1: + RX_GMF_EA = 3136,
1: + RX_GMF_AF_THR = 3140,
1: + RX_GMF_CTRL_T = 3144,
1: + RX_GMF_FL_MSK = 3148,
1: + RX_GMF_FL_THR = 3152,
1: + RX_GMF_FL_CTRL = 3154,
1: + RX_GMF_TR_THR = 3156,
1: + RX_GMF_UP_THR = 3160,
1: + RX_GMF_LP_THR = 3162,
1: + RX_GMF_VLAN = 3164,
1: + RX_GMF_WP = 3168,
1: + RX_GMF_WLEV = 3176,
1: + RX_GMF_RP = 3184,
1: + RX_GMF_RLEV = 3192,
1: +};
1: +
1: +enum {
1: + BMU_IDLE = -2147483648,
1: + BMU_RX_TCP_PKT = 1073741824,
1: + BMU_RX_IP_PKT = 536870912,
1: + BMU_ENA_RX_RSS_HASH = 32768,
1: + BMU_DIS_RX_RSS_HASH = 16384,
1: + BMU_ENA_RX_CHKSUM = 8192,
1: + BMU_DIS_RX_CHKSUM = 4096,
1: + BMU_CLR_IRQ_PAR = 2048,
1: + BMU_CLR_IRQ_TCP = 2048,
1: + BMU_CLR_IRQ_CHK = 1024,
1: + BMU_STOP = 512,
1: + BMU_START = 256,
1: + BMU_FIFO_OP_ON = 128,
1: + BMU_FIFO_OP_OFF = 64,
1: + BMU_FIFO_ENA = 32,
1: + BMU_FIFO_RST = 16,
1: + BMU_OP_ON = 8,
1: + BMU_OP_OFF = 4,
1: + BMU_RST_CLR = 2,
1: + BMU_RST_SET = 1,
1: + BMU_CLR_RESET = 22,
1: + BMU_OPER_INIT = 3368,
1: + BMU_WM_DEFAULT = 1536,
1: + BMU_WM_PEX = 128,
1: +};
1: +
1: +enum {
1: + TBMU_TEST_BMU_TX_CHK_AUTO_OFF = -2147483648,
1: + TBMU_TEST_BMU_TX_CHK_AUTO_ON = 1073741824,
1: + TBMU_TEST_HOME_ADD_PAD_FIX1_EN = 536870912,
1: + TBMU_TEST_HOME_ADD_PAD_FIX1_DIS = 268435456,
1: + TBMU_TEST_ROUTING_ADD_FIX_EN = 134217728,
1: + TBMU_TEST_ROUTING_ADD_FIX_DIS = 67108864,
1: + TBMU_TEST_HOME_ADD_FIX_EN = 33554432,
1: + TBMU_TEST_HOME_ADD_FIX_DIS = 16777216,
1: + TBMU_TEST_TEST_RSPTR_ON = 4194304,
1: + TBMU_TEST_TEST_RSPTR_OFF = 2097152,
1: + TBMU_TEST_TESTSTEP_RSPTR = 1048576,
1: + TBMU_TEST_TEST_RPTR_ON = 262144,
1: + TBMU_TEST_TEST_RPTR_OFF = 131072,
1: + TBMU_TEST_TESTSTEP_RPTR = 65536,
1: + TBMU_TEST_TEST_WSPTR_ON = 16384,
1: + TBMU_TEST_TEST_WSPTR_OFF = 8192,
1: + TBMU_TEST_TESTSTEP_WSPTR = 4096,
1: + TBMU_TEST_TEST_WPTR_ON = 1024,
1: + TBMU_TEST_TEST_WPTR_OFF = 512,
1: + TBMU_TEST_TESTSTEP_WPTR = 256,
1: + TBMU_TEST_TEST_REQ_NB_ON = 64,
1: + TBMU_TEST_TEST_REQ_NB_OFF = 32,
1: + TBMU_TEST_TESTSTEP_REQ_NB = 16,
1: + TBMU_TEST_TEST_DONE_IDX_ON = 4,
1: + TBMU_TEST_TEST_DONE_IDX_OFF = 2,
1: + TBMU_TEST_TESTSTEP_DONE_IDX = 1,
1: +};
1: +
1: +enum {
1: + PREF_UNIT_OP_ON = 8,
1: + PREF_UNIT_OP_OFF = 4,
1: + PREF_UNIT_RST_CLR = 2,
1: + PREF_UNIT_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + RB_ENA_STFWD = 32,
1: + RB_DIS_STFWD = 16,
1: + RB_ENA_OP_MD = 8,
1: + RB_DIS_OP_MD = 4,
1: + RB_RST_CLR = 2,
1: + RB_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + TX_GMF_EA = 3392,
1: + TX_GMF_AE_THR = 3396,
1: + TX_GMF_CTRL_T = 3400,
1: + TX_GMF_WP = 3424,
1: + TX_GMF_WSP = 3428,
1: + TX_GMF_WLEV = 3432,
1: + TX_GMF_RP = 3440,
1: + TX_GMF_RSTP = 3444,
1: + TX_GMF_RLEV = 3448,
1: + ECU_AE_THR = 112,
1: + ECU_TXFF_LEV = 416,
1: + ECU_JUMBO_WM = 128,
1: +};
1: +
1: +enum {
1: + B28_DPT_INI = 3584,
1: + B28_DPT_VAL = 3588,
1: + B28_DPT_CTRL = 3592,
1: + B28_DPT_TST = 3594,
1: +};
1: +
1: +enum {
1: + GMAC_TI_ST_VAL = 3604,
1: + GMAC_TI_ST_CTRL = 3608,
1: + GMAC_TI_ST_TST = 3610,
1: +};
1: +
1: +enum {
1: + CPU_WDOG = 3656,
1: + CPU_CNTR = 3660,
1: + CPU_TIM = 3664,
1: + CPU_AHB_ADDR = 3668,
1: + CPU_AHB_WDATA = 3672,
1: + CPU_AHB_RDATA = 3676,
1: + HCU_MAP_BASE = 3680,
1: + CPU_AHB_CTRL = 3684,
1: + HCU_CCSR = 3688,
1: + HCU_HCSR = 3692,
1: +};
1: +
1: +enum {
1: + B28_Y2_SMB_CONFIG = 3648,
1: + B28_Y2_SMB_CSD_REG = 3652,
1: + B28_Y2_ASF_IRQ_V_BASE = 3680,
1: + B28_Y2_ASF_STAT_CMD = 3688,
1: + B28_Y2_ASF_HOST_COM = 3692,
1: + B28_Y2_DATA_REG_1 = 3696,
1: + B28_Y2_DATA_REG_2 = 3700,
1: + B28_Y2_DATA_REG_3 = 3704,
1: + B28_Y2_DATA_REG_4 = 3708,
1: +};
1: +
1: +enum {
1: + STAT_CTRL = 3712,
1: + STAT_LAST_IDX = 3716,
1: + STAT_LIST_ADDR_LO = 3720,
1: + STAT_LIST_ADDR_HI = 3724,
1: + STAT_TXA1_RIDX = 3728,
1: + STAT_TXS1_RIDX = 3730,
1: + STAT_TXA2_RIDX = 3732,
1: + STAT_TXS2_RIDX = 3734,
1: + STAT_TX_IDX_TH = 3736,
1: + STAT_PUT_IDX = 3740,
1: + STAT_FIFO_WP = 3744,
1: + STAT_FIFO_RP = 3748,
1: + STAT_FIFO_RSP = 3750,
1: + STAT_FIFO_LEVEL = 3752,
1: + STAT_FIFO_SHLVL = 3754,
1: + STAT_FIFO_WM = 3756,
1: + STAT_FIFO_ISR_WM = 3757,
1: + STAT_LEV_TIMER_INI = 3760,
1: + STAT_LEV_TIMER_CNT = 3764,
1: + STAT_LEV_TIMER_CTRL = 3768,
1: + STAT_LEV_TIMER_TEST = 3769,
1: + STAT_TX_TIMER_INI = 3776,
1: + STAT_TX_TIMER_CNT = 3780,
1: + STAT_TX_TIMER_CTRL = 3784,
1: + STAT_TX_TIMER_TEST = 3785,
1: + STAT_ISR_TIMER_INI = 3792,
1: + STAT_ISR_TIMER_CNT = 3796,
1: + STAT_ISR_TIMER_CTRL = 3800,
1: + STAT_ISR_TIMER_TEST = 3801,
1: +};
1: +
1: +enum {
1: + LINKLED_OFF = 1,
1: + LINKLED_ON = 2,
1: + LINKLED_LINKSYNC_OFF = 4,
1: + LINKLED_LINKSYNC_ON = 8,
1: + LINKLED_BLINK_OFF = 16,
1: + LINKLED_BLINK_ON = 32,
1: +};
1: +
1: +enum {
1: + GMAC_CTRL = 3840,
1: + GPHY_CTRL = 3844,
1: + GMAC_IRQ_SRC = 3848,
1: + GMAC_IRQ_MSK = 3852,
1: + GMAC_LINK_CTRL = 3856,
1: + WOL_CTRL_STAT = 3872,
1: + WOL_MATCH_CTL = 3874,
1: + WOL_MATCH_RES = 3875,
1: + WOL_MAC_ADDR = 3876,
1: + WOL_PATT_RPTR = 3884,
1: + WOL_PATT_LEN_LO = 3888,
1: + WOL_PATT_LEN_HI = 3892,
1: + WOL_PATT_CNT_0 = 3896,
1: + WOL_PATT_CNT_4 = 3900,
1: +};
1: +
1: +enum {
1: + BASE_GMAC_1 = 10240,
1: + BASE_GMAC_2 = 14336,
1: +};
1: +
1: +enum {
1: + PHY_MARV_CTRL = 0,
1: + PHY_MARV_STAT = 1,
1: + PHY_MARV_ID0 = 2,
1: + PHY_MARV_ID1 = 3,
1: + PHY_MARV_AUNE_ADV = 4,
1: + PHY_MARV_AUNE_LP = 5,
1: + PHY_MARV_AUNE_EXP = 6,
1: + PHY_MARV_NEPG = 7,
1: + PHY_MARV_NEPG_LP = 8,
1: + PHY_MARV_1000T_CTRL = 9,
1: + PHY_MARV_1000T_STAT = 10,
1: + PHY_MARV_EXT_STAT = 15,
1: + PHY_MARV_PHY_CTRL = 16,
1: + PHY_MARV_PHY_STAT = 17,
1: + PHY_MARV_INT_MASK = 18,
1: + PHY_MARV_INT_STAT = 19,
1: + PHY_MARV_EXT_CTRL = 20,
1: + PHY_MARV_RXE_CNT = 21,
1: + PHY_MARV_EXT_ADR = 22,
1: + PHY_MARV_PORT_IRQ = 23,
1: + PHY_MARV_LED_CTRL = 24,
1: + PHY_MARV_LED_OVER = 25,
1: + PHY_MARV_EXT_CTRL_2 = 26,
1: + PHY_MARV_EXT_P_STAT = 27,
1: + PHY_MARV_CABLE_DIAG = 28,
1: + PHY_MARV_PAGE_ADDR = 29,
1: + PHY_MARV_PAGE_DATA = 30,
1: + PHY_MARV_FE_LED_PAR = 22,
1: + PHY_MARV_FE_LED_SER = 23,
1: + PHY_MARV_FE_VCT_TX = 26,
1: + PHY_MARV_FE_VCT_RX = 27,
1: + PHY_MARV_FE_SPEC_2 = 28,
1: +};
1: +
1: +enum {
1: + PHY_CT_RESET = 32768,
1: + PHY_CT_LOOP = 16384,
1: + PHY_CT_SPS_LSB = 8192,
1: + PHY_CT_ANE = 4096,
1: + PHY_CT_PDOWN = 2048,
1: + PHY_CT_ISOL = 1024,
1: + PHY_CT_RE_CFG = 512,
1: + PHY_CT_DUP_MD = 256,
1: + PHY_CT_COL_TST = 128,
1: + PHY_CT_SPS_MSB = 64,
1: +};
1: +
1: +enum {
1: + PHY_CT_SP1000 = 64,
1: + PHY_CT_SP100 = 8192,
1: + PHY_CT_SP10 = 0,
1: +};
1: +
1: +enum {
1: + PHY_MARV_ID0_VAL = 321,
1: + PHY_BCOM_ID1_A1 = 24641,
1: + PHY_BCOM_ID1_B2 = 24643,
1: + PHY_BCOM_ID1_C0 = 24644,
1: + PHY_BCOM_ID1_C5 = 24647,
1: + PHY_MARV_ID1_B0 = 3107,
1: + PHY_MARV_ID1_B2 = 3109,
1: + PHY_MARV_ID1_C2 = 3266,
1: + PHY_MARV_ID1_Y2 = 3217,
1: + PHY_MARV_ID1_FE = 3203,
1: + PHY_MARV_ID1_ECU = 3248,
1: +};
1: +
1: +enum {
1: + PHY_AN_NXT_PG = 32768,
1: + PHY_AN_ACK = 16384,
1: + PHY_AN_RF = 8192,
1: + PHY_AN_PAUSE_ASYM = 2048,
1: + PHY_AN_PAUSE_CAP = 1024,
1: + PHY_AN_100BASE4 = 512,
1: + PHY_AN_100FULL = 256,
1: + PHY_AN_100HALF = 128,
1: + PHY_AN_10FULL = 64,
1: + PHY_AN_10HALF = 32,
1: + PHY_AN_CSMA = 1,
1: + PHY_AN_SEL = 31,
1: + PHY_AN_FULL = 321,
1: + PHY_AN_ALL = 480,
1: +};
1: +
1: +enum {
1: + PHY_M_AN_NXT_PG = 32768,
1: + PHY_M_AN_ACK = 16384,
1: + PHY_M_AN_RF = 8192,
1: + PHY_M_AN_ASP = 2048,
1: + PHY_M_AN_PC = 1024,
1: + PHY_M_AN_100_T4 = 512,
1: + PHY_M_AN_100_FD = 256,
1: + PHY_M_AN_100_HD = 128,
1: + PHY_M_AN_10_FD = 64,
1: + PHY_M_AN_10_HD = 32,
1: + PHY_M_AN_SEL_MSK = 496,
1: +};
1: +
1: +enum {
1: + PHY_M_AN_ASP_X = 256,
1: + PHY_M_AN_PC_X = 128,
1: + PHY_M_AN_1000X_AHD = 64,
1: + PHY_M_AN_1000X_AFD = 32,
1: +};
1: +
1: +enum {
1: + PHY_M_P_NO_PAUSE_X = 0,
1: + PHY_M_P_SYM_MD_X = 128,
1: + PHY_M_P_ASYM_MD_X = 256,
1: + PHY_M_P_BOTH_MD_X = 384,
1: +};
1: +
1: +enum {
1: + PHY_M_1000C_TEST = 57344,
1: + PHY_M_1000C_MSE = 4096,
1: + PHY_M_1000C_MSC = 2048,
1: + PHY_M_1000C_MPD = 1024,
1: + PHY_M_1000C_AFD = 512,
1: + PHY_M_1000C_AHD = 256,
1: +};
1: +
1: +enum {
1: + PHY_M_PC_TX_FFD_MSK = 49152,
1: + PHY_M_PC_RX_FFD_MSK = 12288,
1: + PHY_M_PC_ASS_CRS_TX = 2048,
1: + PHY_M_PC_FL_GOOD = 1024,
1: + PHY_M_PC_EN_DET_MSK = 768,
1: + PHY_M_PC_ENA_EXT_D = 128,
1: + PHY_M_PC_MDIX_MSK = 96,
1: + PHY_M_PC_DIS_125CLK = 16,
1: + PHY_M_PC_MAC_POW_UP = 8,
1: + PHY_M_PC_SQE_T_ENA = 4,
1: + PHY_M_PC_POL_R_DIS = 2,
1: + PHY_M_PC_DIS_JABBER = 1,
1: +};
1: +
1: +enum {
1: + PHY_M_PC_MAN_MDI = 0,
1: + PHY_M_PC_MAN_MDIX = 1,
1: + PHY_M_PC_ENA_AUTO = 3,
1: +};
1: +
1: +enum {
1: + PHY_M_PC_COP_TX_DIS = 8,
1: + PHY_M_PC_POW_D_ENA = 4,
1: +};
1: +
1: +enum {
1: + PHY_M_PC_ENA_DTE_DT = 32768,
1: + PHY_M_PC_ENA_ENE_DT = 16384,
1: + PHY_M_PC_DIS_NLP_CK = 8192,
1: + PHY_M_PC_ENA_LIP_NP = 4096,
1: + PHY_M_PC_DIS_NLP_GN = 2048,
1: + PHY_M_PC_DIS_SCRAMB = 512,
1: + PHY_M_PC_DIS_FEFI = 256,
1: + PHY_M_PC_SH_TP_SEL = 64,
1: + PHY_M_PC_RX_FD_MSK = 12,
1: +};
1: +
1: +enum {
1: + PHY_M_PS_SPEED_MSK = 49152,
1: + PHY_M_PS_SPEED_1000 = 32768,
1: + PHY_M_PS_SPEED_100 = 16384,
1: + PHY_M_PS_SPEED_10 = 0,
1: + PHY_M_PS_FULL_DUP = 8192,
1: + PHY_M_PS_PAGE_REC = 4096,
1: + PHY_M_PS_SPDUP_RES = 2048,
1: + PHY_M_PS_LINK_UP = 1024,
1: + PHY_M_PS_CABLE_MSK = 896,
1: + PHY_M_PS_MDI_X_STAT = 64,
1: + PHY_M_PS_DOWNS_STAT = 32,
1: + PHY_M_PS_ENDET_STAT = 16,
1: + PHY_M_PS_TX_P_EN = 8,
1: + PHY_M_PS_RX_P_EN = 4,
1: + PHY_M_PS_POL_REV = 2,
1: + PHY_M_PS_JABBER = 1,
1: +};
1: +
1: +enum {
1: + PHY_M_IS_AN_ERROR = 32768,
1: + PHY_M_IS_LSP_CHANGE = 16384,
1: + PHY_M_IS_DUP_CHANGE = 8192,
1: + PHY_M_IS_AN_PR = 4096,
1: + PHY_M_IS_AN_COMPL = 2048,
1: + PHY_M_IS_LST_CHANGE = 1024,
1: + PHY_M_IS_SYMB_ERROR = 512,
1: + PHY_M_IS_FALSE_CARR = 256,
1: + PHY_M_IS_FIFO_ERROR = 128,
1: + PHY_M_IS_MDI_CHANGE = 64,
1: + PHY_M_IS_DOWNSH_DET = 32,
1: + PHY_M_IS_END_CHANGE = 16,
1: + PHY_M_IS_DTE_CHANGE = 4,
1: + PHY_M_IS_POL_CHANGE = 2,
1: + PHY_M_IS_JABBER = 1,
1: + PHY_M_DEF_MSK = 25600,
1: + PHY_M_AN_MSK = 34816,
1: +};
1: +
1: +enum {
1: + PHY_M_EC_ENA_BC_EXT = 32768,
1: + PHY_M_EC_ENA_LIN_LB = 16384,
1: + PHY_M_EC_DIS_LINK_P = 4096,
1: + PHY_M_EC_M_DSC_MSK = 3072,
1: + PHY_M_EC_S_DSC_MSK = 768,
1: + PHY_M_EC_M_DSC_MSK2 = 3584,
1: + PHY_M_EC_DOWN_S_ENA = 256,
1: + PHY_M_EC_RX_TIM_CT = 128,
1: + PHY_M_EC_MAC_S_MSK = 112,
1: + PHY_M_EC_FIB_AN_ENA = 8,
1: + PHY_M_EC_DTE_D_ENA = 4,
1: + PHY_M_EC_TX_TIM_CT = 2,
1: + PHY_M_EC_TRANS_DIS = 1,
1: + PHY_M_10B_TE_ENABLE = 128,
1: +};
1: +
1: +enum {
1: + PHY_M_PC_DIS_LINK_Pa = 32768,
1: + PHY_M_PC_DSC_MSK = 28672,
1: + PHY_M_PC_DOWN_S_ENA = 2048,
1: +};
1: +
1: +enum {
1: + MAC_TX_CLK_0_MHZ = 2,
1: + MAC_TX_CLK_2_5_MHZ = 6,
1: + MAC_TX_CLK_25_MHZ = 7,
1: +};
1: +
1: +enum {
1: + PHY_M_LEDC_DIS_LED = 32768,
1: + PHY_M_LEDC_PULS_MSK = 28672,
1: + PHY_M_LEDC_F_INT = 2048,
1: + PHY_M_LEDC_BL_R_MSK = 1792,
1: + PHY_M_LEDC_DP_C_LSB = 128,
1: + PHY_M_LEDC_TX_C_LSB = 64,
1: + PHY_M_LEDC_LK_C_MSK = 56,
1: +};
1: +
1: +enum {
1: + PHY_M_LEDC_LINK_MSK = 24,
1: + PHY_M_LEDC_DP_CTRL = 4,
1: + PHY_M_LEDC_DP_C_MSB = 4,
1: + PHY_M_LEDC_RX_CTRL = 2,
1: + PHY_M_LEDC_TX_CTRL = 1,
1: + PHY_M_LEDC_TX_C_MSB = 1,
1: +};
1: +
1: +enum {
1: + PHY_M_POLC_LS1M_MSK = 61440,
1: + PHY_M_POLC_IS0M_MSK = 3840,
1: + PHY_M_POLC_LOS_MSK = 192,
1: + PHY_M_POLC_INIT_MSK = 48,
1: + PHY_M_POLC_STA1_MSK = 12,
1: + PHY_M_POLC_STA0_MSK = 3,
1: +};
1: +
1: +enum {
1: + PULS_NO_STR = 0,
1: + PULS_21MS = 1,
1: + PULS_42MS = 2,
1: + PULS_84MS = 3,
1: + PULS_170MS = 4,
1: + PULS_340MS = 5,
1: + PULS_670MS = 6,
1: + PULS_1300MS = 7,
1: +};
1: +
1: +enum {
1: + BLINK_42MS = 0,
1: + BLINK_84MS = 1,
1: + BLINK_170MS = 2,
1: + BLINK_340MS = 3,
1: + BLINK_670MS = 4,
1: +};
1: +
1: +enum led_mode {
1: + MO_LED_NORM = 0,
1: + MO_LED_BLINK = 1,
1: + MO_LED_OFF = 2,
1: + MO_LED_ON = 3,
1: +};
1: +
1: +enum {
1: + PHY_M_FC_AUTO_SEL = 32768,
1: + PHY_M_FC_AN_REG_ACC = 16384,
1: + PHY_M_FC_RESOLUTION = 8192,
1: + PHY_M_SER_IF_AN_BP = 4096,
1: + PHY_M_SER_IF_BP_ST = 2048,
1: + PHY_M_IRQ_POLARITY = 1024,
1: + PHY_M_DIS_AUT_MED = 512,
1: + PHY_M_UNDOC1 = 128,
1: + PHY_M_DTE_POW_STAT = 16,
1: + PHY_M_MODE_MASK = 15,
1: +};
1: +
1: +enum {
1: + PHY_M_FELP_LED2_MSK = 3840,
1: + PHY_M_FELP_LED1_MSK = 240,
1: + PHY_M_FELP_LED0_MSK = 15,
1: +};
1: +
1: +enum {
1: + LED_PAR_CTRL_COLX = 0,
1: + LED_PAR_CTRL_ERROR = 1,
1: + LED_PAR_CTRL_DUPLEX = 2,
1: + LED_PAR_CTRL_DP_COL = 3,
1: + LED_PAR_CTRL_SPEED = 4,
1: + LED_PAR_CTRL_LINK = 5,
1: + LED_PAR_CTRL_TX = 6,
1: + LED_PAR_CTRL_RX = 7,
1: + LED_PAR_CTRL_ACT = 8,
1: + LED_PAR_CTRL_LNK_RX = 9,
1: + LED_PAR_CTRL_LNK_AC = 10,
1: + LED_PAR_CTRL_ACT_BL = 11,
1: + LED_PAR_CTRL_TX_BL = 12,
1: + LED_PAR_CTRL_RX_BL = 13,
1: + LED_PAR_CTRL_COL_BL = 14,
1: + LED_PAR_CTRL_INACT = 15,
1: +};
1: +
1: +enum {
1: + PHY_M_FESC_DIS_WAIT = 4,
1: + PHY_M_FESC_ENA_MCLK = 2,
1: + PHY_M_FESC_SEL_CL_A = 1,
1: +};
1: +
1: +enum {
1: + PHY_M_FIB_FORCE_LNK = 1024,
1: + PHY_M_FIB_SIGD_POL = 512,
1: + PHY_M_FIB_TX_DIS = 8,
1: +};
1: +
1: +enum {
1: + PHY_M_MAC_MD_MSK = 896,
1: + PHY_M_MAC_GMIF_PUP = 8,
1: + PHY_M_MAC_MD_AUTO = 3,
1: + PHY_M_MAC_MD_COPPER = 5,
1: + PHY_M_MAC_MD_1000BX = 7,
1: +};
1: +
1: +enum {
1: + PHY_M_LEDC_LOS_MSK = 61440,
1: + PHY_M_LEDC_INIT_MSK = 3840,
1: + PHY_M_LEDC_STA1_MSK = 240,
1: + PHY_M_LEDC_STA0_MSK = 15,
1: +};
1: +
1: +enum {
1: + GM_GP_STAT = 0,
1: + GM_GP_CTRL = 4,
1: + GM_TX_CTRL = 8,
1: + GM_RX_CTRL = 12,
1: + GM_TX_FLOW_CTRL = 16,
1: + GM_TX_PARAM = 20,
1: + GM_SERIAL_MODE = 24,
1: + GM_SRC_ADDR_1L = 28,
1: + GM_SRC_ADDR_1M = 32,
1: + GM_SRC_ADDR_1H = 36,
1: + GM_SRC_ADDR_2L = 40,
1: + GM_SRC_ADDR_2M = 44,
1: + GM_SRC_ADDR_2H = 48,
1: + GM_MC_ADDR_H1 = 52,
1: + GM_MC_ADDR_H2 = 56,
1: + GM_MC_ADDR_H3 = 60,
1: + GM_MC_ADDR_H4 = 64,
1: + GM_TX_IRQ_SRC = 68,
1: + GM_RX_IRQ_SRC = 72,
1: + GM_TR_IRQ_SRC = 76,
1: + GM_TX_IRQ_MSK = 80,
1: + GM_RX_IRQ_MSK = 84,
1: + GM_TR_IRQ_MSK = 88,
1: + GM_SMI_CTRL = 128,
1: + GM_SMI_DATA = 132,
1: + GM_PHY_ADDR = 136,
1: + GM_MIB_CNT_BASE = 256,
1: + GM_MIB_CNT_END = 604,
1: +};
1: +
1: +enum {
1: + GM_RXF_UC_OK = 256,
1: + GM_RXF_BC_OK = 264,
1: + GM_RXF_MPAUSE = 272,
1: + GM_RXF_MC_OK = 280,
1: + GM_RXF_FCS_ERR = 288,
1: + GM_RXO_OK_LO = 304,
1: + GM_RXO_OK_HI = 312,
1: + GM_RXO_ERR_LO = 320,
1: + GM_RXO_ERR_HI = 328,
1: + GM_RXF_SHT = 336,
1: + GM_RXE_FRAG = 344,
1: + GM_RXF_64B = 352,
1: + GM_RXF_127B = 360,
1: + GM_RXF_255B = 368,
1: + GM_RXF_511B = 376,
1: + GM_RXF_1023B = 384,
1: + GM_RXF_1518B = 392,
1: + GM_RXF_MAX_SZ = 400,
1: + GM_RXF_LNG_ERR = 408,
1: + GM_RXF_JAB_PKT = 416,
1: + GM_RXE_FIFO_OV = 432,
1: + GM_TXF_UC_OK = 448,
1: + GM_TXF_BC_OK = 456,
1: + GM_TXF_MPAUSE = 464,
1: + GM_TXF_MC_OK = 472,
1: + GM_TXO_OK_LO = 480,
1: + GM_TXO_OK_HI = 488,
1: + GM_TXF_64B = 496,
1: + GM_TXF_127B = 504,
1: + GM_TXF_255B = 512,
1: + GM_TXF_511B = 520,
1: + GM_TXF_1023B = 528,
1: + GM_TXF_1518B = 536,
1: + GM_TXF_MAX_SZ = 544,
1: + GM_TXF_COL = 560,
1: + GM_TXF_LAT_COL = 568,
1: + GM_TXF_ABO_COL = 576,
1: + GM_TXF_MUL_COL = 584,
1: + GM_TXF_SNG_COL = 592,
1: + GM_TXE_FIFO_UR = 600,
1: +};
1: +
1: +enum {
1: + GM_GPCR_PROM_ENA = 16384,
1: + GM_GPCR_FC_TX_DIS = 8192,
1: + GM_GPCR_TX_ENA = 4096,
1: + GM_GPCR_RX_ENA = 2048,
1: + GM_GPCR_BURST_ENA = 1024,
1: + GM_GPCR_LOOP_ENA = 512,
1: + GM_GPCR_PART_ENA = 256,
1: + GM_GPCR_GIGS_ENA = 128,
1: + GM_GPCR_FL_PASS = 64,
1: + GM_GPCR_DUP_FULL = 32,
1: + GM_GPCR_FC_RX_DIS = 16,
1: + GM_GPCR_SPEED_100 = 8,
1: + GM_GPCR_AU_DUP_DIS = 4,
1: + GM_GPCR_AU_FCT_DIS = 2,
1: + GM_GPCR_AU_SPD_DIS = 1,
1: +};
1: +
1: +enum {
1: + GM_TXCR_FORCE_JAM = 32768,
1: + GM_TXCR_CRC_DIS = 16384,
1: + GM_TXCR_PAD_DIS = 8192,
1: + GM_TXCR_COL_THR_MSK = 7168,
1: +};
1: +
1: +enum {
1: + GM_RXCR_UCF_ENA = 32768,
1: + GM_RXCR_MCF_ENA = 16384,
1: + GM_RXCR_CRC_DIS = 8192,
1: + GM_RXCR_PASS_FC = 4096,
1: +};
1: +
1: +enum {
1: + GM_TXPA_JAMLEN_MSK = 49152,
1: + GM_TXPA_JAMIPG_MSK = 15872,
1: + GM_TXPA_JAMDAT_MSK = 496,
1: + GM_TXPA_BO_LIM_MSK = 15,
1: + TX_JAM_LEN_DEF = 3,
1: + TX_JAM_IPG_DEF = 11,
1: + TX_IPG_JAM_DEF = 28,
1: + TX_BOF_LIM_DEF = 4,
1: +};
1: +
1: +enum {
1: + GM_SMOD_DATABL_MSK = 63488,
1: + GM_SMOD_LIMIT_4 = 1024,
1: + GM_SMOD_VLAN_ENA = 512,
1: + GM_SMOD_JUMBO_ENA = 256,
1: + GM_NEW_FLOW_CTRL = 64,
1: + GM_SMOD_IPG_MSK = 31,
1: +};
1: +
1: +enum {
1: + GM_SMI_CT_PHY_A_MSK = 63488,
1: + GM_SMI_CT_REG_A_MSK = 1984,
1: + GM_SMI_CT_OP_RD = 32,
1: + GM_SMI_CT_RD_VAL = 16,
1: + GM_SMI_CT_BUSY = 8,
1: +};
1: +
1: +enum {
1: + GM_PAR_MIB_CLR = 32,
1: + GM_PAR_MIB_TST = 16,
1: +};
1: +
1: +enum {
1: + GMR_FS_LEN = 2147418112,
1: + GMR_FS_VLAN = 8192,
1: + GMR_FS_JABBER = 4096,
1: + GMR_FS_UN_SIZE = 2048,
1: + GMR_FS_MC = 1024,
1: + GMR_FS_BC = 512,
1: + GMR_FS_RX_OK = 256,
1: + GMR_FS_GOOD_FC = 128,
1: + GMR_FS_BAD_FC = 64,
1: + GMR_FS_MII_ERR = 32,
1: + GMR_FS_LONG_ERR = 16,
1: + GMR_FS_FRAGMENT = 8,
1: + GMR_FS_CRC_ERR = 2,
1: + GMR_FS_RX_FF_OV = 1,
1: + GMR_FS_ANY_ERR = 6267,
1: +};
1: +
1: +enum {
1: + RX_GCLKMAC_ENA = -2147483648,
1: + RX_GCLKMAC_OFF = 1073741824,
1: + RX_STFW_DIS = 536870912,
1: + RX_STFW_ENA = 268435456,
1: + RX_TRUNC_ON = 134217728,
1: + RX_TRUNC_OFF = 67108864,
1: + RX_VLAN_STRIP_ON = 33554432,
1: + RX_VLAN_STRIP_OFF = 16777216,
1: + RX_MACSEC_FLUSH_ON = 8388608,
1: + RX_MACSEC_FLUSH_OFF = 4194304,
1: + RX_MACSEC_ASF_FLUSH_ON = 2097152,
1: + RX_MACSEC_ASF_FLUSH_OFF = 1048576,
1: + GMF_RX_OVER_ON = 524288,
1: + GMF_RX_OVER_OFF = 262144,
1: + GMF_ASF_RX_OVER_ON = 131072,
1: + GMF_ASF_RX_OVER_OFF = 65536,
1: + GMF_WP_TST_ON = 16384,
1: + GMF_WP_TST_OFF = 8192,
1: + GMF_WP_STEP = 4096,
1: + GMF_RP_TST_ON = 1024,
1: + GMF_RP_TST_OFF = 512,
1: + GMF_RP_STEP = 256,
1: + GMF_RX_F_FL_ON = 128,
1: + GMF_RX_F_FL_OFF = 64,
1: + GMF_CLI_RX_FO = 32,
1: + GMF_CLI_RX_C = 16,
1: + GMF_OPER_ON = 8,
1: + GMF_OPER_OFF = 4,
1: + GMF_RST_CLR = 2,
1: + GMF_RST_SET = 1,
1: + RX_GMF_FL_THR_DEF = 10,
1: + GMF_RX_CTRL_DEF = 136,
1: +};
1: +
1: +enum {
1: + RX_IPV6_SA_MOB_ENA = 512,
1: + RX_IPV6_SA_MOB_DIS = 256,
1: + RX_IPV6_DA_MOB_ENA = 128,
1: + RX_IPV6_DA_MOB_DIS = 64,
1: + RX_PTR_SYNCDLY_ENA = 32,
1: + RX_PTR_SYNCDLY_DIS = 16,
1: + RX_ASF_NEWFLAG_ENA = 8,
1: + RX_ASF_NEWFLAG_DIS = 4,
1: + RX_FLSH_MISSPKT_ENA = 2,
1: + RX_FLSH_MISSPKT_DIS = 1,
1: +};
1: +
1: +enum {
1: + TX_DYN_WM_ENA = 3,
1: +};
1: +
1: +enum {
1: + TX_STFW_DIS = -2147483648,
1: + TX_STFW_ENA = 1073741824,
1: + TX_VLAN_TAG_ON = 33554432,
1: + TX_VLAN_TAG_OFF = 16777216,
1: + TX_PCI_JUM_ENA = 8388608,
1: + TX_PCI_JUM_DIS = 4194304,
1: + GMF_WSP_TST_ON = 262144,
1: + GMF_WSP_TST_OFF = 131072,
1: + GMF_WSP_STEP = 65536,
1: + GMF_CLI_TX_FU = 64,
1: + GMF_CLI_TX_FC = 32,
1: + GMF_CLI_TX_PE = 16,
1: +};
1: +
1: +enum {
1: + GMT_ST_START = 4,
1: + GMT_ST_STOP = 2,
1: + GMT_ST_CLR_IRQ = 1,
1: +};
1: +
1: +enum {
1: + Y2_ASF_OS_PRES = 16,
1: + Y2_ASF_RESET = 8,
1: + Y2_ASF_RUNNING = 4,
1: + Y2_ASF_CLR_HSTI = 2,
1: + Y2_ASF_IRQ = 1,
1: + Y2_ASF_UC_STATE = 12,
1: + Y2_ASF_CLK_HALT = 0,
1: +};
1: +
1: +enum {
1: + HCU_CCSR_SMBALERT_MONITOR = 134217728,
1: + HCU_CCSR_CPU_SLEEP = 67108864,
1: + HCU_CCSR_CS_TO = 33554432,
1: + HCU_CCSR_WDOG = 16777216,
1: + HCU_CCSR_CLR_IRQ_HOST = 131072,
1: + HCU_CCSR_SET_IRQ_HCU = 65536,
1: + HCU_CCSR_AHB_RST = 512,
1: + HCU_CCSR_CPU_RST_MODE = 256,
1: + HCU_CCSR_SET_SYNC_CPU = 32,
1: + HCU_CCSR_CPU_CLK_DIVIDE_MSK = 24,
1: + HCU_CCSR_CPU_CLK_DIVIDE_BASE = 8,
1: + HCU_CCSR_OS_PRSNT = 4,
1: + HCU_CCSR_UC_STATE_MSK = 3,
1: + HCU_CCSR_UC_STATE_BASE = 1,
1: + HCU_CCSR_ASF_RESET = 0,
1: + HCU_CCSR_ASF_HALTED = 2,
1: + HCU_CCSR_ASF_RUNNING = 1,
1: +};
1: +
1: +enum {
1: + SC_STAT_CLR_IRQ = 16,
1: + SC_STAT_OP_ON = 8,
1: + SC_STAT_OP_OFF = 4,
1: + SC_STAT_RST_CLR = 2,
1: + SC_STAT_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + GMC_SET_RST = 32768,
1: + GMC_SEC_RST_OFF = 16384,
1: + GMC_BYP_MACSECRX_ON = 8192,
1: + GMC_BYP_MACSECRX_OFF = 4096,
1: + GMC_BYP_MACSECTX_ON = 2048,
1: + GMC_BYP_MACSECTX_OFF = 1024,
1: + GMC_BYP_RETR_ON = 512,
1: + GMC_BYP_RETR_OFF = 256,
1: + GMC_H_BURST_ON = 128,
1: + GMC_H_BURST_OFF = 64,
1: + GMC_F_LOOPB_ON = 32,
1: + GMC_F_LOOPB_OFF = 16,
1: + GMC_PAUSE_ON = 8,
1: + GMC_PAUSE_OFF = 4,
1: + GMC_RST_CLR = 2,
1: + GMC_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + GPC_TX_PAUSE = 1073741824,
1: + GPC_RX_PAUSE = 536870912,
1: + GPC_SPEED = 402653184,
1: + GPC_LINK = 67108864,
1: + GPC_DUPLEX = 33554432,
1: + GPC_CLOCK = 16777216,
1: + GPC_PDOWN = 8388608,
1: + GPC_TSTMODE = 4194304,
1: + GPC_REG18 = 2097152,
1: + GPC_REG12SEL = 1572864,
1: + GPC_REG18SEL = 393216,
1: + GPC_SPILOCK = 65536,
1: + GPC_LEDMUX = 49152,
1: + GPC_INTPOL = 8192,
1: + GPC_DETECT = 4096,
1: + GPC_1000HD = 2048,
1: + GPC_SLAVE = 1024,
1: + GPC_PAUSE = 512,
1: + GPC_LEDCTL = 192,
1: + GPC_RST_CLR = 2,
1: + GPC_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + GM_IS_TX_CO_OV = 32,
1: + GM_IS_RX_CO_OV = 16,
1: + GM_IS_TX_FF_UR = 8,
1: + GM_IS_TX_COMPL = 4,
1: + GM_IS_RX_FF_OR = 2,
1: + GM_IS_RX_COMPL = 1,
1: +};
1: +
1: +enum {
1: + GMLC_RST_CLR = 2,
1: + GMLC_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + WOL_CTL_LINK_CHG_OCC = 32768,
1: + WOL_CTL_MAGIC_PKT_OCC = 16384,
1: + WOL_CTL_PATTERN_OCC = 8192,
1: + WOL_CTL_CLEAR_RESULT = 4096,
1: + WOL_CTL_ENA_PME_ON_LINK_CHG = 2048,
1: + WOL_CTL_DIS_PME_ON_LINK_CHG = 1024,
1: + WOL_CTL_ENA_PME_ON_MAGIC_PKT = 512,
1: + WOL_CTL_DIS_PME_ON_MAGIC_PKT = 256,
1: + WOL_CTL_ENA_PME_ON_PATTERN = 128,
1: + WOL_CTL_DIS_PME_ON_PATTERN = 64,
1: + WOL_CTL_ENA_LINK_CHG_UNIT = 32,
1: + WOL_CTL_DIS_LINK_CHG_UNIT = 16,
1: + WOL_CTL_ENA_MAGIC_PKT_UNIT = 8,
1: + WOL_CTL_DIS_MAGIC_PKT_UNIT = 4,
1: + WOL_CTL_ENA_PATTERN_UNIT = 2,
1: + WOL_CTL_DIS_PATTERN_UNIT = 1,
1: +};
1: +
1: +enum {
1: + UDPTCP = 1,
1: + CALSUM = 2,
1: + WR_SUM = 4,
1: + INIT_SUM = 8,
1: + LOCK_SUM = 16,
1: + INS_VLAN = 32,
1: + EOP = 128,
1: +};
1: +
1: +enum {
1: + HW_OWNER = 128,
1: + OP_TCPWRITE = 17,
1: + OP_TCPSTART = 18,
1: + OP_TCPINIT = 20,
1: + OP_TCPLCK = 24,
1: + OP_TCPCHKSUM = 18,
1: + OP_TCPIS = 22,
1: + OP_TCPLW = 25,
1: + OP_TCPLSW = 27,
1: + OP_TCPLISW = 31,
1: + OP_ADDR64 = 33,
1: + OP_VLAN = 34,
1: + OP_ADDR64VLAN = 35,
1: + OP_LRGLEN = 36,
1: + OP_LRGLENVLAN = 38,
1: + OP_MSS = 40,
1: + OP_MSSVLAN = 42,
1: + OP_BUFFER = 64,
1: + OP_PACKET = 65,
1: + OP_LARGESEND = 67,
1: + OP_LSOV2 = 69,
1: + OP_RXSTAT = 96,
1: + OP_RXTIMESTAMP = 97,
1: + OP_RXVLAN = 98,
1: + OP_RXCHKS = 100,
1: + OP_RXCHKSVLAN = 102,
1: + OP_RXTIMEVLAN = 99,
1: + OP_RSS_HASH = 101,
1: + OP_TXINDEXLE = 104,
1: + OP_MACSEC = 108,
1: + OP_PUTIDX = 112,
1: +};
1: +
1: +enum status_css {
1: + CSS_TCPUDPCSOK = 128,
1: + CSS_ISUDP = 64,
1: + CSS_ISTCP = 32,
1: + CSS_ISIPFRAG = 16,
1: + CSS_ISIPV6 = 8,
1: + CSS_IPV4CSUMOK = 4,
1: + CSS_ISIPV4 = 2,
1: + CSS_LINK_BIT = 1,
1: +};
1: +
1: +struct sky2_tx_le {
1: + __le32 addr;
1: + __le16 length;
1: + u8 ctrl;
1: + u8 opcode;
1: +};
1: +
1: +struct sky2_rx_le {
1: + __le32 addr;
1: + __le16 length;
1: + u8 ctrl;
1: + u8 opcode;
1: +};
1: +
1: +struct sky2_status_le {
1: + __le32 status;
1: + __le16 length;
1: + u8 css;
1: + u8 opcode;
1: +};
1: +
1: +struct tx_ring_info {
1: + struct sk_buff *skb;
1: + long unsigned int flags;
1: + dma_addr_t mapaddr;
1: + __u32 maplen;
1: +};
1: +
1: +struct rx_ring_info {
1: + struct sk_buff *skb;
1: + dma_addr_t data_addr;
1: + __u32 data_size;
1: + dma_addr_t frag_addr[2];
1: +};
1: +
1: +enum flow_control {
1: + FC_NONE = 0,
1: + FC_TX = 1,
1: + FC_RX = 2,
1: + FC_BOTH = 3,
1: +};
1: +
1: +struct sky2_stats {
1: + struct u64_stats_sync syncp;
1: + u64 packets;
1: + u64 bytes;
1: +};
1: +
1: +struct sky2_hw;
1: +
1: +struct sky2_port {
1: + struct sky2_hw *hw;
1: + struct net_device *netdev;
1: + unsigned int port;
1: + u32 msg_enable;
1: + spinlock_t phy_lock;
1: + struct tx_ring_info *tx_ring;
1: + struct sky2_tx_le *tx_le;
1: + struct sky2_stats tx_stats;
1: + u16 tx_ring_size;
1: + u16 tx_cons;
1: + u16 tx_prod;
1: + u16 tx_next;
1: + u16 tx_pending;
1: + u16 tx_last_mss;
1: + u32 tx_last_upper;
1: + u32 tx_tcpsum;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct rx_ring_info *rx_ring;
1: + struct sky2_rx_le *rx_le;
1: + struct sky2_stats rx_stats;
1: + u16 rx_next;
1: + u16 rx_put;
1: + u16 rx_pending;
1: + u16 rx_data_size;
1: + u16 rx_nfrags;
1: + long unsigned int last_rx;
1: + struct {
1: + long unsigned int last;
1: + u32 mac_rp;
1: + u8 mac_lev;
1: + u8 fifo_rp;
1: + u8 fifo_lev;
1: + } check;
1: + dma_addr_t rx_le_map;
1: + dma_addr_t tx_le_map;
1: + u16 advertising;
1: + u16 speed;
1: + u8 wol;
1: + u8 duplex;
1: + u16 flags;
1: + enum flow_control flow_mode;
1: + enum flow_control flow_status;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct sky2_hw {
1: + void *regs;
1: + struct pci_dev *pdev;
1: + struct napi_struct napi;
1: + struct net_device *dev[2];
1: + long unsigned int flags;
1: + u8 chip_id;
1: + u8 chip_rev;
1: + u8 pmd_type;
1: + u8 ports;
1: + struct sky2_status_le *st_le;
1: + u32 st_size;
1: + u32 st_idx;
1: + dma_addr_t st_dma;
1: + struct timer_list watchdog_timer;
1: + struct work_struct restart_work;
1: + wait_queue_head_t msi_wait;
1: + char irq_name[0];
1: +};
1: +
1: +struct sky2_stat {
1: + char name[32];
1: + u16 offset;
1: +};
1: +
1: +struct vlan_ethhdr {
1: + unsigned char h_dest[6];
1: + unsigned char h_source[6];
1: + __be16 h_vlan_proto;
1: + __be16 h_vlan_TCI;
1: + __be16 h_vlan_encapsulated_proto;
1: +};
1: +
1: +enum {
1: + NvRegIrqStatus = 0,
1: + NvRegIrqMask = 4,
1: + NvRegUnknownSetupReg6 = 8,
1: + NvRegPollingInterval = 12,
1: + NvRegMSIMap0 = 32,
1: + NvRegMSIMap1 = 36,
1: + NvRegMSIIrqMask = 48,
1: + NvRegMisc1 = 128,
1: + NvRegMacReset = 52,
1: + NvRegTransmitterControl = 132,
1: + NvRegTransmitterStatus = 136,
1: + NvRegPacketFilterFlags = 140,
1: + NvRegOffloadConfig = 144,
1: + NvRegReceiverControl = 148,
1: + NvRegReceiverStatus = 152,
1: + NvRegSlotTime = 156,
1: + NvRegTxDeferral = 160,
1: + NvRegRxDeferral = 164,
1: + NvRegMacAddrA = 168,
1: + NvRegMacAddrB = 172,
1: + NvRegMulticastAddrA = 176,
1: + NvRegMulticastAddrB = 180,
1: + NvRegMulticastMaskA = 184,
1: + NvRegMulticastMaskB = 188,
1: + NvRegPhyInterface = 192,
1: + NvRegBackOffControl = 196,
1: + NvRegTxRingPhysAddr = 256,
1: + NvRegRxRingPhysAddr = 260,
1: + NvRegRingSizes = 264,
1: + NvRegTransmitPoll = 268,
1: + NvRegLinkSpeed = 272,
1: + NvRegUnknownSetupReg5 = 304,
1: + NvRegTxWatermark = 316,
1: + NvRegTxRxControl = 324,
1: + NvRegTxRingPhysAddrHigh = 328,
1: + NvRegRxRingPhysAddrHigh = 332,
1: + NvRegTxPauseFrame = 368,
1: + NvRegTxPauseFrameLimit = 372,
1: + NvRegMIIStatus = 384,
1: + NvRegMIIMask = 388,
1: + NvRegAdapterControl = 392,
1: + NvRegMIISpeed = 396,
1: + NvRegMIIControl = 400,
1: + NvRegMIIData = 404,
1: + NvRegTxUnicast = 416,
1: + NvRegTxMulticast = 420,
1: + NvRegTxBroadcast = 424,
1: + NvRegWakeUpFlags = 512,
1: + NvRegMgmtUnitGetVersion = 516,
1: + NvRegMgmtUnitVersion = 520,
1: + NvRegPowerCap = 616,
1: + NvRegPowerState = 620,
1: + NvRegMgmtUnitControl = 632,
1: + NvRegTxCnt = 640,
1: + NvRegTxZeroReXmt = 644,
1: + NvRegTxOneReXmt = 648,
1: + NvRegTxManyReXmt = 652,
1: + NvRegTxLateCol = 656,
1: + NvRegTxUnderflow = 660,
1: + NvRegTxLossCarrier = 664,
1: + NvRegTxExcessDef = 668,
1: + NvRegTxRetryErr = 672,
1: + NvRegRxFrameErr = 676,
1: + NvRegRxExtraByte = 680,
1: + NvRegRxLateCol = 684,
1: + NvRegRxRunt = 688,
1: + NvRegRxFrameTooLong = 692,
1: + NvRegRxOverflow = 696,
1: + NvRegRxFCSErr = 700,
1: + NvRegRxFrameAlignErr = 704,
1: + NvRegRxLenErr = 708,
1: + NvRegRxUnicast = 712,
1: + NvRegRxMulticast = 716,
1: + NvRegRxBroadcast = 720,
1: + NvRegTxDef = 724,
1: + NvRegTxFrame = 728,
1: + NvRegRxCnt = 732,
1: + NvRegTxPause = 736,
1: + NvRegRxPause = 740,
1: + NvRegRxDropFrame = 744,
1: + NvRegVlanControl = 768,
1: + NvRegMSIXMap0 = 992,
1: + NvRegMSIXMap1 = 996,
1: + NvRegMSIXIrqStatus = 1008,
1: + NvRegPowerState2 = 1536,
1: +};
1: +
1: +struct ring_desc {
1: + __le32 buf;
1: + __le32 flaglen;
1: +};
1: +
1: +struct ring_desc_ex {
1: + __le32 bufhigh;
1: + __le32 buflow;
1: + __le32 txvlan;
1: + __le32 flaglen;
1: +};
1: +
1: +union ring_type {
1: + struct ring_desc *orig;
1: + struct ring_desc_ex *ex;
1: +};
1: +
1: +struct nv_ethtool_str {
1: + char name[32];
1: +};
1: +
1: +struct nv_ethtool_stats {
1: + u64 tx_bytes;
1: + u64 tx_zero_rexmt;
1: + u64 tx_one_rexmt;
1: + u64 tx_many_rexmt;
1: + u64 tx_late_collision;
1: + u64 tx_fifo_errors;
1: + u64 tx_carrier_errors;
1: + u64 tx_excess_deferral;
1: + u64 tx_retry_error;
1: + u64 rx_frame_error;
1: + u64 rx_extra_byte;
1: + u64 rx_late_collision;
1: + u64 rx_runt;
1: + u64 rx_frame_too_long;
1: + u64 rx_over_errors;
1: + u64 rx_crc_errors;
1: + u64 rx_frame_align_error;
1: + u64 rx_length_error;
1: + u64 rx_unicast;
1: + u64 rx_multicast;
1: + u64 rx_broadcast;
1: + u64 rx_packets;
1: + u64 rx_errors_total;
1: + u64 tx_errors_total;
1: + u64 tx_deferral;
1: + u64 tx_packets;
1: + u64 rx_bytes;
1: + u64 tx_pause;
1: + u64 rx_pause;
1: + u64 rx_drop_frame;
1: + u64 tx_unicast;
1: + u64 tx_multicast;
1: + u64 tx_broadcast;
1: +};
1: +
1: +struct register_test {
1: + __u32 reg;
1: + __u32 mask;
1: +};
1: +
1: +struct nv_skb_map {
1: + struct sk_buff *skb;
1: + dma_addr_t dma;
1: + unsigned int dma_len: 31;
1: + unsigned int dma_single: 1;
1: + struct ring_desc_ex *first_tx_desc;
1: + struct nv_skb_map *next_tx_ctx;
1: +};
1: +
1: +struct nv_txrx_stats {
1: + u64 stat_rx_packets;
1: + u64 stat_rx_bytes;
1: + u64 stat_rx_missed_errors;
1: + u64 stat_rx_dropped;
1: + u64 stat_tx_packets;
1: + u64 stat_tx_bytes;
1: + u64 stat_tx_dropped;
1: +};
1: +
1: +struct fe_priv {
1: + spinlock_t lock;
1: + struct net_device *dev;
1: + struct napi_struct napi;
1: + spinlock_t hwstats_lock;
1: + struct nv_ethtool_stats estats;
1: + int in_shutdown;
1: + u32 linkspeed;
1: + int duplex;
1: + int autoneg;
1: + int fixed_mode;
1: + int phyaddr;
1: + int wolenabled;
1: + unsigned int phy_oui;
1: + unsigned int phy_model;
1: + unsigned int phy_rev;
1: + u16 gigabit;
1: + int intr_test;
1: + int recover_error;
1: + int quiet_count;
1: + dma_addr_t ring_addr;
1: + struct pci_dev *pci_dev;
1: + u32 orig_mac[2];
1: + u32 events;
1: + u32 irqmask;
1: + u32 desc_ver;
1: + u32 txrxctl_bits;
1: + u32 vlanctl_bits;
1: + u32 driver_data;
1: + u32 device_id;
1: + u32 register_size;
1: + u32 mac_in_use;
1: + int mgmt_version;
1: + int mgmt_sema;
1: + void *base;
1: + union ring_type get_rx;
1: + union ring_type put_rx;
1: + union ring_type last_rx;
1: + struct nv_skb_map *get_rx_ctx;
1: + struct nv_skb_map *put_rx_ctx;
1: + struct nv_skb_map *last_rx_ctx;
1: + struct nv_skb_map *rx_skb;
1: + union ring_type rx_ring;
1: + unsigned int rx_buf_sz;
1: + unsigned int pkt_limit;
1: + struct timer_list oom_kick;
1: + struct timer_list nic_poll;
1: + struct timer_list stats_poll;
1: + u32 nic_poll_irq;
1: + int rx_ring_size;
1: + struct u64_stats_sync swstats_rx_syncp;
1: + struct nv_txrx_stats *txrx_stats;
1: + int need_linktimer;
1: + long unsigned int link_timeout;
1: + union ring_type get_tx;
1: + union ring_type put_tx;
1: + union ring_type last_tx;
1: + struct nv_skb_map *get_tx_ctx;
1: + struct nv_skb_map *put_tx_ctx;
1: + struct nv_skb_map *last_tx_ctx;
1: + struct nv_skb_map *tx_skb;
1: + union ring_type tx_ring;
1: + u32 tx_flags;
1: + int tx_ring_size;
1: + int tx_limit;
1: + u32 tx_pkts_in_progress;
1: + struct nv_skb_map *tx_change_owner;
1: + struct nv_skb_map *tx_end_flip;
1: + int tx_stop;
1: + struct u64_stats_sync swstats_tx_syncp;
1: + u32 msi_flags;
1: + struct msix_entry msi_x_entry[8];
1: + u32 pause_flags;
1: + u32 saved_config_space[385];
1: + char name_rx[19];
1: + char name_tx[19];
1: + char name_other[22];
1: +};
1: +
1: +enum {
1: + NV_OPTIMIZATION_MODE_THROUGHPUT = 0,
1: + NV_OPTIMIZATION_MODE_CPU = 1,
1: + NV_OPTIMIZATION_MODE_DYNAMIC = 2,
1: +};
1: +
1: +enum {
1: + NV_MSI_INT_DISABLED = 0,
1: + NV_MSI_INT_ENABLED = 1,
1: +};
1: +
1: +enum {
1: + NV_MSIX_INT_DISABLED = 0,
1: + NV_MSIX_INT_ENABLED = 1,
1: +};
1: +
1: +enum {
1: + NV_DMA_64BIT_DISABLED = 0,
1: + NV_DMA_64BIT_ENABLED = 1,
1: +};
1: +
1: +enum {
1: + NV_CROSSOVER_DETECTION_DISABLED = 0,
1: + NV_CROSSOVER_DETECTION_ENABLED = 1,
1: +};
1: +
1: +enum {
1: + HAS_MII_XCVR = 65536,
1: + HAS_CHIP_XCVR = 131072,
1: + HAS_LNK_CHNG = 262144,
1: +};
1: +
1: +enum {
1: + RTL8139 = 0,
1: + RTL8129 = 1,
1: +};
1: +
1: +enum RTL8139_registers {
1: + MAC0 = 0,
1: + MAR0 = 8,
1: + TxStatus0 = 16,
1: + TxAddr0 = 32,
1: + RxBuf = 48,
1: + ChipCmd = 55,
1: + RxBufPtr = 56,
1: + RxBufAddr = 58,
1: + IntrMask = 60,
1: + IntrStatus = 62,
1: + TxConfig = 64,
1: + RxConfig = 68,
1: + Timer = 72,
1: + RxMissed = 76,
1: + Cfg9346 = 80,
1: + Config0 = 81,
1: + Config1 = 82,
1: + TimerInt = 84,
1: + MediaStatus = 88,
1: + Config3 = 89,
1: + Config4 = 90,
1: + HltClk = 91,
1: + MultiIntr = 92,
1: + TxSummary = 96,
1: + BasicModeCtrl = 98,
1: + BasicModeStatus = 100,
1: + NWayAdvert = 102,
1: + NWayLPAR = 104,
1: + NWayExpansion = 106,
1: + FIFOTMS = 112,
1: + CSCR = 116,
1: + PARA78 = 120,
1: + FlashReg = 212,
1: + PARA7c = 124,
1: + Config5 = 216,
1: +};
1: +
1: +enum ClearBitMasks {
1: + MultiIntrClear = 61440,
1: + ChipCmdClear = 226,
1: + Config1Clear = 206,
1: +};
1: +
1: +enum ChipCmdBits {
1: + CmdReset = 16,
1: + CmdRxEnb = 8,
1: + CmdTxEnb = 4,
1: + RxBufEmpty = 1,
1: +};
1: +
1: +enum IntrStatusBits {
1: + PCIErr = 32768,
1: + PCSTimeout = 16384,
1: + RxFIFOOver = 64,
1: + RxUnderrun = 32,
1: + RxOverflow = 16,
1: + TxErr = 8,
1: + TxOK = 4,
1: + RxErr = 2,
1: + RxOK = 1,
1: + RxAckBits = 81,
1: +};
1: +
1: +enum TxStatusBits {
1: + TxHostOwns = 8192,
1: + TxUnderrun = 16384,
1: + TxStatOK = 32768,
1: + TxOutOfWindow = 536870912,
1: + TxAborted = 1073741824,
1: + TxCarrierLost = -2147483648,
1: +};
1: +
1: +enum RxStatusBits {
1: + RxMulticast = 32768,
1: + RxPhysical = 16384,
1: + RxBroadcast = 8192,
1: + RxBadSymbol = 32,
1: + RxRunt = 16,
1: + RxTooLong = 8,
1: + RxCRCErr = 4,
1: + RxBadAlign = 2,
1: + RxStatusOK = 1,
1: +};
1: +
1: +enum rx_mode_bits {
1: + AcceptErr = 32,
1: + AcceptRunt = 16,
1: + AcceptBroadcast = 8,
1: + AcceptMulticast = 4,
1: + AcceptMyPhys = 2,
1: + AcceptAllPhys = 1,
1: +};
1: +
1: +enum tx_config_bits {
1: + TxIFGShift = 24,
1: + TxIFG84 = 0,
1: + TxIFG88 = 16777216,
1: + TxIFG92 = 33554432,
1: + TxIFG96 = 50331648,
1: + TxLoopBack = 393216,
1: + TxCRC = 65536,
1: + TxClearAbt = 1,
1: + TxDMAShift = 8,
1: + TxRetryShift = 4,
1: + TxVersionMask = 2088763392,
1: +};
1: +
1: +enum Config1Bits {
1: + Cfg1_PM_Enable = 1,
1: + Cfg1_VPD_Enable = 2,
1: + Cfg1_PIO = 4,
1: + Cfg1_MMIO = 8,
1: + LWAKE = 16,
1: + Cfg1_Driver_Load = 32,
1: + Cfg1_LED0 = 64,
1: + Cfg1_LED1 = 128,
1: + SLEEP = 2,
1: + PWRDN = 1,
1: +};
1: +
1: +enum Config3Bits {
1: + Cfg3_FBtBEn = 1,
1: + Cfg3_FuncRegEn = 2,
1: + Cfg3_CLKRUN_En = 4,
1: + Cfg3_CardB_En = 8,
1: + Cfg3_LinkUp = 16,
1: + Cfg3_Magic = 32,
1: + Cfg3_PARM_En = 64,
1: + Cfg3_GNTSel = 128,
1: +};
1: +
1: +enum Config4Bits {
1: + LWPTN = 4,
1: +};
1: +
1: +enum Config5Bits {
1: + Cfg5_PME_STS = 1,
1: + Cfg5_LANWake = 2,
1: + Cfg5_LDPS = 4,
1: + Cfg5_FIFOAddrPtr = 8,
1: + Cfg5_UWF = 16,
1: + Cfg5_MWF = 32,
1: + Cfg5_BWF = 64,
1: +};
1: +
1: +enum CSCRBits {
1: + CSCR_LinkOKBit = 1024,
1: + CSCR_LinkChangeBit = 2048,
1: + CSCR_LinkStatusBits = 61440,
1: + CSCR_LinkDownOffCmd = 960,
1: + CSCR_LinkDownCmd = 62400,
1: +};
1: +
1: +enum Cfg9346Bits {
1: + Cfg9346_Lock = 0,
1: + Cfg9346_Unlock = 192,
1: +};
1: +
1: +typedef enum {
1: + CH_8139 = 0,
1: + CH_8139_K = 1,
1: + CH_8139A = 2,
1: + CH_8139A_G = 3,
1: + CH_8139B = 4,
1: + CH_8130 = 5,
1: + CH_8139C = 6,
1: + CH_8100 = 7,
1: + CH_8100B_8139D = 8,
1: + CH_8101 = 9,
1: +} chip_t;
1: +
1: +enum chip_flags {
1: + HasHltClk = 1,
1: + HasLWake = 2,
1: +};
1: +
1: +struct rtl_extra_stats {
1: + long unsigned int early_rx;
1: + long unsigned int tx_buf_mapped;
1: + long unsigned int tx_timeouts;
1: + long unsigned int rx_lost_in_ring;
1: +};
1: +
1: +struct rtl8139_stats {
1: + u64 packets;
1: + u64 bytes;
1: + struct u64_stats_sync syncp;
1: +};
1: +
1: +struct rtl8139_private {
1: + void *mmio_addr;
1: + int drv_flags;
1: + struct pci_dev *pci_dev;
1: + u32 msg_enable;
1: + struct napi_struct napi;
1: + struct net_device *dev;
1: + unsigned char *rx_ring;
1: + unsigned int cur_rx;
1: + struct rtl8139_stats rx_stats;
1: + dma_addr_t rx_ring_dma;
1: + unsigned int tx_flag;
1: + long unsigned int cur_tx;
1: + long unsigned int dirty_tx;
1: + struct rtl8139_stats tx_stats;
1: + unsigned char *tx_buf[4];
1: + unsigned char *tx_bufs;
1: + dma_addr_t tx_bufs_dma;
1: + signed char phys[4];
1: + char twistie;
1: + char twist_row;
1: + char twist_col;
1: + unsigned int watchdog_fired: 1;
1: + unsigned int default_port: 4;
1: + unsigned int have_thread: 1;
1: + spinlock_t lock;
1: + spinlock_t rx_lock;
1: + chip_t chipset;
1: + u32 rx_config;
1: + struct rtl_extra_stats xstats;
1: + struct delayed_work thread;
1: + struct mii_if_info mii;
1: + unsigned int regs_len;
1: + long unsigned int fifo_copy_timeout;
1: +};
1: +
1: +struct rtl8169_private;
1: +
1: +typedef void (*rtl_fw_write_t)(struct rtl8169_private *, int, int);
1: +
1: +enum mac_version {
1: + RTL_GIGA_MAC_VER_02 = 0,
1: + RTL_GIGA_MAC_VER_03 = 1,
1: + RTL_GIGA_MAC_VER_04 = 2,
1: + RTL_GIGA_MAC_VER_05 = 3,
1: + RTL_GIGA_MAC_VER_06 = 4,
1: + RTL_GIGA_MAC_VER_07 = 5,
1: + RTL_GIGA_MAC_VER_08 = 6,
1: + RTL_GIGA_MAC_VER_09 = 7,
1: + RTL_GIGA_MAC_VER_10 = 8,
1: + RTL_GIGA_MAC_VER_11 = 9,
1: + RTL_GIGA_MAC_VER_12 = 10,
1: + RTL_GIGA_MAC_VER_13 = 11,
1: + RTL_GIGA_MAC_VER_14 = 12,
1: + RTL_GIGA_MAC_VER_15 = 13,
1: + RTL_GIGA_MAC_VER_16 = 14,
1: + RTL_GIGA_MAC_VER_17 = 15,
1: + RTL_GIGA_MAC_VER_18 = 16,
1: + RTL_GIGA_MAC_VER_19 = 17,
1: + RTL_GIGA_MAC_VER_20 = 18,
1: + RTL_GIGA_MAC_VER_21 = 19,
1: + RTL_GIGA_MAC_VER_22 = 20,
1: + RTL_GIGA_MAC_VER_23 = 21,
1: + RTL_GIGA_MAC_VER_24 = 22,
1: + RTL_GIGA_MAC_VER_25 = 23,
1: + RTL_GIGA_MAC_VER_26 = 24,
1: + RTL_GIGA_MAC_VER_27 = 25,
1: + RTL_GIGA_MAC_VER_28 = 26,
1: + RTL_GIGA_MAC_VER_29 = 27,
1: + RTL_GIGA_MAC_VER_30 = 28,
1: + RTL_GIGA_MAC_VER_31 = 29,
1: + RTL_GIGA_MAC_VER_32 = 30,
1: + RTL_GIGA_MAC_VER_33 = 31,
1: + RTL_GIGA_MAC_VER_34 = 32,
1: + RTL_GIGA_MAC_VER_35 = 33,
1: + RTL_GIGA_MAC_VER_36 = 34,
1: + RTL_GIGA_MAC_VER_37 = 35,
1: + RTL_GIGA_MAC_VER_38 = 36,
1: + RTL_GIGA_MAC_VER_39 = 37,
1: + RTL_GIGA_MAC_VER_40 = 38,
1: + RTL_GIGA_MAC_VER_41 = 39,
1: + RTL_GIGA_MAC_VER_42 = 40,
1: + RTL_GIGA_MAC_VER_43 = 41,
1: + RTL_GIGA_MAC_VER_44 = 42,
1: + RTL_GIGA_MAC_VER_45 = 43,
1: + RTL_GIGA_MAC_VER_46 = 44,
1: + RTL_GIGA_MAC_VER_47 = 45,
1: + RTL_GIGA_MAC_VER_48 = 46,
1: + RTL_GIGA_MAC_VER_49 = 47,
1: + RTL_GIGA_MAC_VER_50 = 48,
1: + RTL_GIGA_MAC_VER_51 = 49,
1: + RTL_GIGA_MAC_VER_52 = 50,
1: + RTL_GIGA_MAC_VER_60 = 51,
1: + RTL_GIGA_MAC_VER_61 = 52,
1: + RTL_GIGA_MAC_NONE = 53,
1: +};
1: +
1: +struct rtl8169_stats {
1: + u64 packets;
1: + u64 bytes;
1: + struct u64_stats_sync syncp;
1: +};
1: +
1: +struct ring_info___2 {
1: + struct sk_buff *skb;
1: + u32 len;
1: +};
1: +
1: +struct rtl8169_tc_offsets {
1: + bool inited;
1: + __le64 tx_errors;
1: + __le32 tx_multi_collision;
1: + __le16 tx_aborted;
1: +};
1: +
1: +struct TxDesc;
1: +
1: +struct RxDesc;
1: +
1: +struct rtl8169_counters;
1: +
1: +struct rtl_fw;
1: +
1: +struct rtl8169_private {
1: + void *mmio_addr;
1: + struct pci_dev *pci_dev;
1: + struct net_device *dev;
1: + struct phy_device *phydev;
1: + struct napi_struct napi;
1: + u32 msg_enable;
1: + enum mac_version mac_version;
1: + u32 cur_rx;
1: + u32 cur_tx;
1: + u32 dirty_tx;
1: + struct rtl8169_stats rx_stats;
1: + struct rtl8169_stats tx_stats;
1: + struct TxDesc *TxDescArray;
1: + struct RxDesc *RxDescArray;
1: + dma_addr_t TxPhyAddr;
1: + dma_addr_t RxPhyAddr;
1: + struct page *Rx_databuff[256];
1: + struct ring_info___2 tx_skb[64];
1: + u16 cp_cmd;
1: + u32 irq_mask;
1: + struct clk *clk;
1: + struct {
1: + long unsigned int flags[1];
1: + struct mutex mutex;
1: + struct work_struct work;
1: + } wk;
1: + unsigned int irq_enabled: 1;
1: + unsigned int supports_gmii: 1;
1: + unsigned int aspm_manageable: 1;
1: + dma_addr_t counters_phys_addr;
1: + struct rtl8169_counters *counters;
1: + struct rtl8169_tc_offsets tc_offset;
1: + u32 saved_wolopts;
1: + int eee_adv;
1: + const char *fw_name;
1: + struct rtl_fw *rtl_fw;
1: + u32 ocp_base;
1: +};
1: +
1: +typedef int (*rtl_fw_read_t)(struct rtl8169_private *, int);
1: +
1: +struct rtl_fw_phy_action {
1: + __le32 *code;
1: + size_t size;
1: +};
1: +
1: +struct rtl_fw {
1: + rtl_fw_write_t phy_write;
1: + rtl_fw_read_t phy_read;
1: + rtl_fw_write_t mac_mcu_write;
1: + rtl_fw_read_t mac_mcu_read;
1: + const struct firmware *fw;
1: + const char *fw_name;
1: + struct device *dev;
1: + char version[32];
1: + struct rtl_fw_phy_action phy_action;
1: +};
1: +
1: +enum rtl_registers {
1: + MAC0___2 = 0,
1: + MAC4 = 4,
1: + MAR0___2 = 8,
1: + CounterAddrLow = 16,
1: + CounterAddrHigh = 20,
1: + TxDescStartAddrLow = 32,
1: + TxDescStartAddrHigh = 36,
1: + TxHDescStartAddrLow = 40,
1: + TxHDescStartAddrHigh = 44,
1: + FLASH = 48,
1: + ERSR = 54,
1: + ChipCmd___2 = 55,
1: + TxPoll = 56,
1: + IntrMask___2 = 60,
1: + IntrStatus___2 = 62,
1: + TxConfig___2 = 64,
1: + RxConfig___2 = 68,
1: + RxMissed___2 = 76,
1: + Cfg9346___2 = 80,
1: + Config0___2 = 81,
1: + Config1___2 = 82,
1: + Config2 = 83,
1: + Config3___2 = 84,
1: + Config4___2 = 85,
1: + Config5___2 = 86,
1: + PHYAR = 96,
1: + PHYstatus = 108,
1: + RxMaxSize = 218,
1: + CPlusCmd = 224,
1: + IntrMitigate = 226,
1: + RxDescAddrLow = 228,
1: + RxDescAddrHigh = 232,
1: + EarlyTxThres = 236,
1: + MaxTxPacketSize = 236,
1: + FuncEvent = 240,
1: + FuncEventMask = 244,
1: + FuncPresetState = 248,
1: + IBCR0 = 248,
1: + IBCR2 = 249,
1: + IBIMR0 = 250,
1: + IBISR0 = 251,
1: + FuncForceEvent = 252,
1: +};
1: +
1: +enum rtl8168_8101_registers {
1: + CSIDR = 100,
1: + CSIAR = 104,
1: + PMCH = 111,
1: + EPHYAR = 128,
1: + DLLPR = 208,
1: + DBG_REG = 209,
1: + TWSI = 210,
1: + MCU = 211,
1: + EFUSEAR = 220,
1: + MISC_1 = 242,
1: +};
1: +
1: +enum rtl8168_registers {
1: + LED_FREQ = 26,
1: + EEE_LED = 27,
1: + ERIDR = 112,
1: + ERIAR = 116,
1: + EPHY_RXER_NUM = 124,
1: + OCPDR = 176,
1: + OCPAR = 180,
1: + GPHY_OCP = 184,
1: + RDSAR1 = 208,
1: + MISC = 240,
1: +};
1: +
1: +enum rtl8125_registers {
1: + IntrMask_8125 = 56,
1: + IntrStatus_8125 = 60,
1: + TxPoll_8125 = 144,
1: + MAC0_BKP = 6624,
1: +};
1: +
1: +enum rtl_register_content {
1: + SYSErr = 32768,
1: + PCSTimeout___2 = 16384,
1: + SWInt = 256,
1: + TxDescUnavail = 128,
1: + RxFIFOOver___2 = 64,
1: + LinkChg = 32,
1: + RxOverflow___2 = 16,
1: + TxErr___2 = 8,
1: + TxOK___2 = 4,
1: + RxErr___2 = 2,
1: + RxOK___2 = 1,
1: + RxRWT = 4194304,
1: + RxRES = 2097152,
1: + RxRUNT = 1048576,
1: + RxCRC = 524288,
1: + StopReq = 128,
1: + CmdReset___2 = 16,
1: + CmdRxEnb___2 = 8,
1: + CmdTxEnb___2 = 4,
1: + RxBufEmpty___2 = 1,
1: + HPQ = 128,
1: + NPQ = 64,
1: + FSWInt = 1,
1: + Cfg9346_Lock___2 = 0,
1: + Cfg9346_Unlock___2 = 192,
1: + AcceptErr___2 = 32,
1: + AcceptRunt___2 = 16,
1: + AcceptBroadcast___2 = 8,
1: + AcceptMulticast___2 = 4,
1: + AcceptMyPhys___2 = 2,
1: + AcceptAllPhys___2 = 1,
1: + TxInterFrameGapShift = 24,
1: + TxDMAShift___2 = 8,
1: + LEDS1 = 128,
1: + LEDS0 = 64,
1: + Speed_down = 16,
1: + MEMMAP = 8,
1: + IOMAP = 4,
1: + VPD = 2,
1: + PMEnable = 1,
1: + ClkReqEn = 128,
1: + MSIEnable = 32,
1: + PCI_Clock_66MHz = 1,
1: + PCI_Clock_33MHz = 0,
1: + MagicPacket = 32,
1: + LinkUp = 16,
1: + Jumbo_En0 = 4,
1: + Rdy_to_L23 = 2,
1: + Beacon_en = 1,
1: + Jumbo_En1 = 2,
1: + BWF = 64,
1: + MWF = 32,
1: + UWF = 16,
1: + Spi_en = 8,
1: + LanWake = 2,
1: + PMEStatus = 1,
1: + ASPM_en = 1,
1: + EnableBist = 32768,
1: + Mac_dbgo_oe = 16384,
1: + Normal_mode = 8192,
1: + Force_half_dup = 4096,
1: + Force_rxflow_en = 2048,
1: + Force_txflow_en = 1024,
1: + Cxpl_dbg_sel = 512,
1: + ASF = 256,
1: + PktCntrDisable = 128,
1: + Mac_dbgo_sel = 28,
1: + RxVlan = 64,
1: + RxChkSum = 32,
1: + PCIDAC = 16,
1: + PCIMulRW = 8,
1: + TBI_Enable = 128,
1: + TxFlowCtrl = 64,
1: + RxFlowCtrl = 32,
1: + _1000bpsF = 16,
1: + _100bps = 8,
1: + _10bps = 4,
1: + LinkStatus = 2,
1: + FullDup = 1,
1: + CounterReset = 1,
1: + CounterDump = 8,
1: + MagicPacket_v2 = 65536,
1: +};
1: +
1: +enum rtl_desc_bit {
1: + DescOwn = -2147483648,
1: + RingEnd = 1073741824,
1: + FirstFrag = 536870912,
1: + LastFrag = 268435456,
1: +};
1: +
1: +enum rtl_tx_desc_bit {
1: + TD_LSO = 134217728,
1: + TxVlanTag = 131072,
1: +};
1: +
1: +enum rtl_tx_desc_bit_0 {
1: + TD0_TCP_CS = 65536,
1: + TD0_UDP_CS = 131072,
1: + TD0_IP_CS = 262144,
1: +};
1: +
1: +enum rtl_tx_desc_bit_1 {
1: + TD1_GTSENV4 = 67108864,
1: + TD1_GTSENV6 = 33554432,
1: + TD1_IPv6_CS = 268435456,
1: + TD1_IPv4_CS = 536870912,
1: + TD1_TCP_CS = 1073741824,
1: + TD1_UDP_CS = -2147483648,
1: +};
1: +
1: +enum rtl_rx_desc_bit {
1: + PID1 = 262144,
1: + PID0 = 131072,
1: + IPFail = 65536,
1: + UDPFail = 32768,
1: + TCPFail = 16384,
1: + RxVlanTag = 65536,
1: +};
1: +
1: +struct TxDesc {
1: + __le32 opts1;
1: + __le32 opts2;
1: + __le64 addr;
1: +};
1: +
1: +struct RxDesc {
1: + __le32 opts1;
1: + __le32 opts2;
1: + __le64 addr;
1: +};
1: +
1: +struct rtl8169_counters {
1: + __le64 tx_packets;
1: + __le64 rx_packets;
1: + __le64 tx_errors;
1: + __le32 rx_errors;
1: + __le16 rx_missed;
1: + __le16 align_errors;
1: + __le32 tx_one_collision;
1: + __le32 tx_multi_collision;
1: + __le64 rx_unicast;
1: + __le64 rx_broadcast;
1: + __le32 rx_multicast;
1: + __le16 tx_aborted;
1: + __le16 tx_underun;
1: +};
1: +
1: +enum rtl_flag {
1: + RTL_FLAG_TASK_ENABLED = 0,
1: + RTL_FLAG_TASK_RESET_PENDING = 1,
1: + RTL_FLAG_MAX = 2,
1: +};
1: +
1: +typedef void (*rtl_generic_fct)(struct rtl8169_private *);
1: +
1: +struct rtl_cond {
1: + bool (*check)(struct rtl8169_private *);
1: + const char *msg;
1: +};
1: +
1: +struct rtl_coalesce_scale {
1: + u32 nsecs[2];
1: +};
1: +
1: +struct rtl_coalesce_info {
1: + u32 speed;
1: + struct rtl_coalesce_scale scalev[4];
1: +};
1: +
1: +struct phy_reg {
1: + u16 reg;
1: + u16 val;
1: +};
1: +
1: +struct ephy_info {
1: + unsigned int offset;
1: + u16 mask;
1: + u16 bits;
1: +};
1: +
1: +struct rtl_mac_info {
1: + u16 mask;
1: + u16 val;
1: + u16 mac_version;
1: +};
1: +
1: +enum rtl_fw_opcode {
1: + PHY_READ = 0,
1: + PHY_DATA_OR = 1,
1: + PHY_DATA_AND = 2,
1: + PHY_BJMPN = 3,
1: + PHY_MDIO_CHG = 4,
1: + PHY_CLEAR_READCOUNT = 7,
1: + PHY_WRITE = 8,
1: + PHY_READCOUNT_EQ_SKIP = 9,
1: + PHY_COMP_EQ_SKIPN = 10,
1: + PHY_COMP_NEQ_SKIPN = 11,
1: + PHY_WRITE_PREVIOUS = 12,
1: + PHY_SKIPN = 13,
1: + PHY_DELAY_MS = 14,
1: +};
1: +
1: +struct fw_info {
1: + u32 magic;
1: + char version[32];
1: + __le32 fw_start;
1: + __le32 fw_len;
1: + u8 chksum;
1: +} __attribute__((packed));
1: +
1: +struct ohci {
1: + void *registers;
1: +};
1: +
1: +struct cdrom_msf {
1: + __u8 cdmsf_min0;
1: + __u8 cdmsf_sec0;
1: + __u8 cdmsf_frame0;
1: + __u8 cdmsf_min1;
1: + __u8 cdmsf_sec1;
1: + __u8 cdmsf_frame1;
1: +};
1: +
1: +struct cdrom_volctrl {
1: + __u8 channel0;
1: + __u8 channel1;
1: + __u8 channel2;
1: + __u8 channel3;
1: +};
1: +
1: +struct cdrom_subchnl {
1: + __u8 cdsc_format;
1: + __u8 cdsc_audiostatus;
1: + __u8 cdsc_adr: 4;
1: + __u8 cdsc_ctrl: 4;
1: + __u8 cdsc_trk;
1: + __u8 cdsc_ind;
1: + union cdrom_addr cdsc_absaddr;
1: + union cdrom_addr cdsc_reladdr;
1: +};
1: +
1: +struct cdrom_blk {
1: + unsigned int from;
1: + short unsigned int len;
1: +};
1: +
1: +struct dvd_layer {
1: + __u8 book_version: 4;
1: + __u8 book_type: 4;
1: + __u8 min_rate: 4;
1: + __u8 disc_size: 4;
1: + __u8 layer_type: 4;
1: + __u8 track_path: 1;
1: + __u8 nlayers: 2;
1: + char: 1;
1: + __u8 track_density: 4;
1: + __u8 linear_density: 4;
1: + __u8 bca: 1;
1: + __u32 start_sector;
1: + __u32 end_sector;
1: + __u32 end_sector_l0;
1: +};
1: +
1: +struct dvd_physical {
1: + __u8 type;
1: + __u8 layer_num;
1: + struct dvd_layer layer[4];
1: +};
1: +
1: +struct dvd_copyright {
1: + __u8 type;
1: + __u8 layer_num;
1: + __u8 cpst;
1: + __u8 rmi;
1: +};
1: +
1: +struct dvd_disckey {
1: + __u8 type;
1: + unsigned int agid: 2;
1: + __u8 value[2048];
1: +};
1: +
1: +struct dvd_bca {
1: + __u8 type;
1: + int len;
1: + __u8 value[188];
1: +};
1: +
1: +struct dvd_manufact {
1: + __u8 type;
1: + __u8 layer_num;
1: + int len;
1: + __u8 value[2048];
1: +};
1: +
1: +typedef union {
1: + __u8 type;
1: + struct dvd_physical physical;
1: + struct dvd_copyright copyright;
1: + struct dvd_disckey disckey;
1: + struct dvd_bca bca;
1: + struct dvd_manufact manufact;
1: +} dvd_struct;
1: +
1: +typedef __u8 dvd_key[5];
1: +
1: +typedef __u8 dvd_challenge[10];
1: +
1: +struct dvd_lu_send_agid {
1: + __u8 type;
1: + unsigned int agid: 2;
1: +};
1: +
1: +struct dvd_host_send_challenge {
1: + __u8 type;
1: + unsigned int agid: 2;
1: + dvd_challenge chal;
1: +};
1: +
1: +struct dvd_send_key {
1: + __u8 type;
1: + unsigned int agid: 2;
1: + dvd_key key;
1: +};
1: +
1: +struct dvd_lu_send_challenge {
1: + __u8 type;
1: + unsigned int agid: 2;
1: + dvd_challenge chal;
1: +};
1: +
1: +struct dvd_lu_send_title_key {
1: + __u8 type;
1: + unsigned int agid: 2;
1: + dvd_key title_key;
1: + int lba;
1: + unsigned int cpm: 1;
1: + unsigned int cp_sec: 1;
1: + unsigned int cgms: 2;
1: +};
1: +
1: +struct dvd_lu_send_asf {
1: + __u8 type;
1: + unsigned int agid: 2;
1: + unsigned int asf: 1;
1: +};
1: +
1: +struct dvd_host_send_rpcstate {
1: + __u8 type;
1: + __u8 pdrc;
1: +};
1: +
1: +struct dvd_lu_send_rpcstate {
1: + __u8 type: 2;
1: + __u8 vra: 3;
1: + __u8 ucca: 3;
1: + __u8 region_mask;
1: + __u8 rpc_scheme;
1: +};
1: +
1: +typedef union {
1: + __u8 type;
1: + struct dvd_lu_send_agid lsa;
1: + struct dvd_host_send_challenge hsc;
1: + struct dvd_send_key lsk;
1: + struct dvd_lu_send_challenge lsc;
1: + struct dvd_send_key hsk;
1: + struct dvd_lu_send_title_key lstk;
1: + struct dvd_lu_send_asf lsasf;
1: + struct dvd_host_send_rpcstate hrpcs;
1: + struct dvd_lu_send_rpcstate lrpcs;
1: +} dvd_authinfo;
1: +
1: +struct mrw_feature_desc {
1: + __be16 feature_code;
1: + __u8 curr: 1;
1: + __u8 persistent: 1;
1: + __u8 feature_version: 4;
1: + __u8 reserved1: 2;
1: + __u8 add_len;
1: + __u8 write: 1;
1: + __u8 reserved2: 7;
1: + __u8 reserved3;
1: + __u8 reserved4;
1: + __u8 reserved5;
1: +};
1: +
1: +struct rwrt_feature_desc {
1: + __be16 feature_code;
1: + __u8 curr: 1;
1: + __u8 persistent: 1;
1: + __u8 feature_version: 4;
1: + __u8 reserved1: 2;
1: + __u8 add_len;
1: + __u32 last_lba;
1: + __u32 block_size;
1: + __u16 blocking;
1: + __u8 page_present: 1;
1: + __u8 reserved2: 7;
1: + __u8 reserved3;
1: +};
1: +
1: +typedef struct {
1: + __be16 disc_information_length;
1: + __u8 disc_status: 2;
1: + __u8 border_status: 2;
1: + __u8 erasable: 1;
1: + __u8 reserved1: 3;
1: + __u8 n_first_track;
1: + __u8 n_sessions_lsb;
1: + __u8 first_track_lsb;
1: + __u8 last_track_lsb;
1: + __u8 mrw_status: 2;
1: + __u8 dbit: 1;
1: + __u8 reserved2: 2;
1: + __u8 uru: 1;
1: + __u8 dbc_v: 1;
1: + __u8 did_v: 1;
1: + __u8 disc_type;
1: + __u8 n_sessions_msb;
1: + __u8 first_track_msb;
1: + __u8 last_track_msb;
1: + __u32 disc_id;
1: + __u32 lead_in;
1: + __u32 lead_out;
1: + __u8 disc_bar_code[8];
1: + __u8 reserved3;
1: + __u8 n_opc;
1: +} disc_information;
1: +
1: +typedef struct {
1: + __be16 track_information_length;
1: + __u8 track_lsb;
1: + __u8 session_lsb;
1: + __u8 reserved1;
1: + __u8 track_mode: 4;
1: + __u8 copy: 1;
1: + __u8 damage: 1;
1: + __u8 reserved2: 2;
1: + __u8 data_mode: 4;
1: + __u8 fp: 1;
1: + __u8 packet: 1;
1: + __u8 blank: 1;
1: + __u8 rt: 1;
1: + __u8 nwa_v: 1;
1: + __u8 lra_v: 1;
1: + __u8 reserved3: 6;
1: + __be32 track_start;
1: + __be32 next_writable;
1: + __be32 free_blocks;
1: + __be32 fixed_packet_size;
1: + __be32 track_size;
1: + __be32 last_rec_address;
1: +} track_information;
1: +
1: +struct mode_page_header {
1: + __be16 mode_data_length;
1: + __u8 medium_type;
1: + __u8 reserved1;
1: + __u8 reserved2;
1: + __u8 reserved3;
1: + __be16 desc_length;
1: +};
1: +
1: +typedef struct {
1: + int data;
1: + int audio;
1: + int cdi;
1: + int xa;
1: + long int error;
1: +} tracktype;
1: +
1: +struct cdrom_mechstat_header {
1: + __u8 curslot: 5;
1: + __u8 changer_state: 2;
1: + __u8 fault: 1;
1: + __u8 reserved1: 4;
1: + __u8 door_open: 1;
1: + __u8 mech_state: 3;
1: + __u8 curlba[3];
1: + __u8 nslots;
1: + __u16 slot_tablelen;
1: +};
1: +
1: +struct cdrom_slot {
1: + __u8 change: 1;
1: + __u8 reserved1: 6;
1: + __u8 disc_present: 1;
1: + __u8 reserved2[3];
1: +};
1: +
1: +struct cdrom_changer_info {
1: + struct cdrom_mechstat_header hdr;
1: + struct cdrom_slot slots[256];
1: +};
1: +
1: +struct modesel_head {
1: + __u8 reserved1;
1: + __u8 medium;
1: + __u8 reserved2;
1: + __u8 block_desc_length;
1: + __u8 density;
1: + __u8 number_of_blocks_hi;
1: + __u8 number_of_blocks_med;
1: + __u8 number_of_blocks_lo;
1: + __u8 reserved3;
1: + __u8 block_length_hi;
1: + __u8 block_length_med;
1: + __u8 block_length_lo;
1: +};
1: +
1: +typedef struct {
1: + __u16 report_key_length;
1: + __u8 reserved1;
1: + __u8 reserved2;
1: + __u8 ucca: 3;
1: + __u8 vra: 3;
1: + __u8 type_code: 2;
1: + __u8 region_mask;
1: + __u8 rpc_scheme;
1: + __u8 reserved3;
1: +} rpc_state_t;
1: +
1: +struct cdrom_sysctl_settings {
1: + char info[1000];
1: + int autoclose;
1: + int autoeject;
1: + int debug;
1: + int lock;
1: + int check;
1: +};
1: +
1: +enum cdrom_print_option {
1: + CTL_NAME = 0,
1: + CTL_SPEED = 1,
1: + CTL_SLOTS = 2,
1: + CTL_CAPABILITY = 3,
1: +};
1: +
1: +struct socket_state_t {
1: + u_int flags;
1: + u_int csc_mask;
1: + u_char Vcc;
1: + u_char Vpp;
1: + u_char io_irq;
1: +};
1: +
1: +typedef struct socket_state_t socket_state_t;
1: +
1: +struct pccard_io_map {
1: + u_char map;
1: + u_char flags;
1: + u_short speed;
1: + phys_addr_t start;
1: + phys_addr_t stop;
1: +};
1: +
1: +struct pccard_mem_map {
1: + u_char map;
1: + u_char flags;
1: + u_short speed;
1: + phys_addr_t static_start;
1: + u_int card_start;
1: + struct resource *res;
1: +};
1: +
1: +typedef struct pccard_mem_map pccard_mem_map;
1: +
1: +struct io_window_t {
1: + u_int InUse;
1: + u_int Config;
1: + struct resource *res;
1: +};
1: +
1: +typedef struct io_window_t io_window_t;
1: +
1: +struct pcmcia_socket;
1: +
1: +struct pccard_operations {
1: + int (*init)(struct pcmcia_socket *);
1: + int (*suspend)(struct pcmcia_socket *);
1: + int (*get_status)(struct pcmcia_socket *, u_int *);
1: + int (*set_socket)(struct pcmcia_socket *, socket_state_t *);
1: + int (*set_io_map)(struct pcmcia_socket *, struct pccard_io_map *);
1: + int (*set_mem_map)(struct pcmcia_socket *, struct pccard_mem_map *);
1: +};
1: +
1: +struct pccard_resource_ops;
1: +
1: +struct pcmcia_callback;
1: +
1: +struct pcmcia_socket {
1: + struct module *owner;
1: + socket_state_t socket;
1: + u_int state;
1: + u_int suspended_state;
1: + u_short functions;
1: + u_short lock_count;
1: + pccard_mem_map cis_mem;
1: + void *cis_virt;
1: + io_window_t io[2];
1: + pccard_mem_map win[4];
1: + struct list_head cis_cache;
1: + size_t fake_cis_len;
1: + u8 *fake_cis;
1: + struct list_head socket_list;
1: + struct completion socket_released;
1: + unsigned int sock;
1: + u_int features;
1: + u_int irq_mask;
1: + u_int map_size;
1: + u_int io_offset;
1: + u_int pci_irq;
1: + struct pci_dev *cb_dev;
1: + u8 resource_setup_done;
1: + struct pccard_operations *ops;
1: + struct pccard_resource_ops *resource_ops;
1: + void *resource_data;
1: + void (*zoom_video)(struct pcmcia_socket *, int);
1: + int (*power_hook)(struct pcmcia_socket *, int);
1: + void (*tune_bridge)(struct pcmcia_socket *, struct pci_bus *);
1: + struct task_struct *thread;
1: + struct completion thread_done;
1: + unsigned int thread_events;
1: + unsigned int sysfs_events;
1: + struct mutex skt_mutex;
1: + struct mutex ops_mutex;
1: + spinlock_t thread_lock;
1: + struct pcmcia_callback *callback;
1: + struct list_head devices_list;
1: + u8 device_count;
1: + u8 pcmcia_pfc;
1: + atomic_t present;
1: + unsigned int pcmcia_irq;
1: + struct device dev;
1: + void *driver_data;
1: + int resume_status;
1: +};
1: +
1: +struct pccard_resource_ops {
1: + int (*validate_mem)(struct pcmcia_socket *);
1: + int (*find_io)(struct pcmcia_socket *, unsigned int, unsigned int *, unsigned int, unsigned int, struct resource **);
1: + struct resource * (*find_mem)(long unsigned int, long unsigned int, long unsigned int, int, struct pcmcia_socket *);
1: + int (*init)(struct pcmcia_socket *);
1: + void (*exit)(struct pcmcia_socket *);
1: +};
1: +
1: +struct pcmcia_callback {
1: + struct module *owner;
1: + int (*add)(struct pcmcia_socket *);
1: + int (*remove)(struct pcmcia_socket *);
1: + void (*requery)(struct pcmcia_socket *);
1: + int (*validate)(struct pcmcia_socket *, unsigned int *);
1: + int (*suspend)(struct pcmcia_socket *);
1: + int (*early_resume)(struct pcmcia_socket *);
1: + int (*resume)(struct pcmcia_socket *);
1: +};
1: +
1: +enum {
1: + PCMCIA_IOPORT_0 = 0,
1: + PCMCIA_IOPORT_1 = 1,
1: + PCMCIA_IOMEM_0 = 2,
1: + PCMCIA_IOMEM_1 = 3,
1: + PCMCIA_IOMEM_2 = 4,
1: + PCMCIA_IOMEM_3 = 5,
1: + PCMCIA_NUM_RESOURCES = 6,
1: +};
1: +
1: +typedef unsigned char cisdata_t;
1: +
1: +struct cistpl_longlink_mfc_t {
1: + u_char nfn;
1: + struct {
1: + u_char space;
1: + u_int addr;
1: + } fn[8];
1: +};
1: +
1: +typedef struct cistpl_longlink_mfc_t cistpl_longlink_mfc_t;
1: +
1: +struct cistpl_vers_1_t {
1: + u_char major;
1: + u_char minor;
1: + u_char ns;
1: + u_char ofs[4];
1: + char str[254];
1: +};
1: +
1: +typedef struct cistpl_vers_1_t cistpl_vers_1_t;
1: +
1: +struct cistpl_manfid_t {
1: + u_short manf;
1: + u_short card;
1: +};
1: +
1: +typedef struct cistpl_manfid_t cistpl_manfid_t;
1: +
1: +struct cistpl_funcid_t {
1: + u_char func;
1: + u_char sysinit;
1: +};
1: +
1: +typedef struct cistpl_funcid_t cistpl_funcid_t;
1: +
1: +struct cistpl_config_t {
1: + u_char last_idx;
1: + u_int base;
1: + u_int rmask[4];
1: + u_char subtuples;
1: +};
1: +
1: +typedef struct cistpl_config_t cistpl_config_t;
1: +
1: +struct cistpl_device_geo_t {
1: + u_char ngeo;
1: + struct {
1: + u_char buswidth;
1: + u_int erase_block;
1: + u_int read_block;
1: + u_int write_block;
1: + u_int partition;
1: + u_int interleave;
1: + } geo[4];
1: +};
1: +
1: +typedef struct cistpl_device_geo_t cistpl_device_geo_t;
1: +
1: +struct pcmcia_device_id {
1: + __u16 match_flags;
1: + __u16 manf_id;
1: + __u16 card_id;
1: + __u8 func_id;
1: + __u8 function;
1: + __u8 device_no;
1: + __u32 prod_id_hash[4];
1: + const char *prod_id[4];
1: + kernel_ulong_t driver_info;
1: + char *cisfile;
1: +};
1: +
1: +struct pcmcia_dynids {
1: + struct mutex lock;
1: + struct list_head list;
1: +};
1: +
1: +struct pcmcia_device;
1: +
1: +struct pcmcia_driver {
1: + const char *name;
1: + int (*probe)(struct pcmcia_device *);
1: + void (*remove)(struct pcmcia_device *);
1: + int (*suspend)(struct pcmcia_device *);
1: + int (*resume)(struct pcmcia_device *);
1: + struct module *owner;
1: + const struct pcmcia_device_id *id_table;
1: + struct device_driver drv;
1: + struct pcmcia_dynids dynids;
1: +};
1: +
1: +struct config_t;
1: +
1: +struct pcmcia_device {
1: + struct pcmcia_socket *socket;
1: + char *devname;
1: + u8 device_no;
1: + u8 func;
1: + struct config_t *function_config;
1: + struct list_head socket_device_list;
1: + unsigned int irq;
1: + struct resource *resource[6];
1: + resource_size_t card_addr;
1: + unsigned int vpp;
1: + unsigned int config_flags;
1: + unsigned int config_base;
1: + unsigned int config_index;
1: + unsigned int config_regs;
1: + unsigned int io_lines;
1: + u16 suspended: 1;
1: + u16 _irq: 1;
1: + u16 _io: 1;
1: + u16 _win: 4;
1: + u16 _locked: 1;
1: + u16 allow_func_id_match: 1;
1: + u16 has_manf_id: 1;
1: + u16 has_card_id: 1;
1: + u16 has_func_id: 1;
1: + u16 reserved: 4;
1: + u8 func_id;
1: + u16 manf_id;
1: + u16 card_id;
1: + char *prod_id[4];
1: + u64 dma_mask;
1: + struct device dev;
1: + void *priv;
1: + unsigned int open;
1: +};
1: +
1: +struct config_t {
1: + struct kref ref;
1: + unsigned int state;
1: + struct resource io[2];
1: + struct resource mem[4];
1: +};
1: +
1: +typedef struct config_t config_t;
1: +
1: +struct pcmcia_dynid {
1: + struct list_head node;
1: + struct pcmcia_device_id id;
1: +};
1: +
1: +typedef long unsigned int u_long;
1: +
1: +typedef struct pccard_io_map pccard_io_map;
1: +
1: +struct cistpl_longlink_t {
1: + u_int addr;
1: +};
1: +
1: +typedef struct cistpl_longlink_t cistpl_longlink_t;
1: +
1: +struct cistpl_checksum_t {
1: + u_short addr;
1: + u_short len;
1: + u_char sum;
1: +};
1: +
1: +typedef struct cistpl_checksum_t cistpl_checksum_t;
1: +
1: +struct cistpl_altstr_t {
1: + u_char ns;
1: + u_char ofs[4];
1: + char str[254];
1: +};
1: +
1: +typedef struct cistpl_altstr_t cistpl_altstr_t;
1: +
1: +struct cistpl_device_t {
1: + u_char ndev;
1: + struct {
1: + u_char type;
1: + u_char wp;
1: + u_int speed;
1: + u_int size;
1: + } dev[4];
1: +};
1: +
1: +typedef struct cistpl_device_t cistpl_device_t;
1: +
1: +struct cistpl_jedec_t {
1: + u_char nid;
1: + struct {
1: + u_char mfr;
1: + u_char info;
1: + } id[4];
1: +};
1: +
1: +typedef struct cistpl_jedec_t cistpl_jedec_t;
1: +
1: +struct cistpl_funce_t {
1: + u_char type;
1: + u_char data[0];
1: +};
1: +
1: +typedef struct cistpl_funce_t cistpl_funce_t;
1: +
1: +struct cistpl_bar_t {
1: + u_char attr;
1: + u_int size;
1: +};
1: +
1: +typedef struct cistpl_bar_t cistpl_bar_t;
1: +
1: +struct cistpl_power_t {
1: + u_char present;
1: + u_char flags;
1: + u_int param[7];
1: +};
1: +
1: +typedef struct cistpl_power_t cistpl_power_t;
1: +
1: +struct cistpl_timing_t {
1: + u_int wait;
1: + u_int waitscale;
1: + u_int ready;
1: + u_int rdyscale;
1: + u_int reserved;
1: + u_int rsvscale;
1: +};
1: +
1: +typedef struct cistpl_timing_t cistpl_timing_t;
1: +
1: +struct cistpl_io_t {
1: + u_char flags;
1: + u_char nwin;
1: + struct {
1: + u_int base;
1: + u_int len;
1: + } win[16];
1: +};
1: +
1: +typedef struct cistpl_io_t cistpl_io_t;
1: +
1: +struct cistpl_irq_t {
1: + u_int IRQInfo1;
1: + u_int IRQInfo2;
1: +};
1: +
1: +typedef struct cistpl_irq_t cistpl_irq_t;
1: +
1: +struct cistpl_mem_t {
1: + u_char flags;
1: + u_char nwin;
1: + struct {
1: + u_int len;
1: + u_int card_addr;
1: + u_int host_addr;
1: + } win[8];
1: +};
1: +
1: +typedef struct cistpl_mem_t cistpl_mem_t;
1: +
1: +struct cistpl_cftable_entry_t {
1: + u_char index;
1: + u_short flags;
1: + u_char interface;
1: + cistpl_power_t vcc;
1: + cistpl_power_t vpp1;
1: + cistpl_power_t vpp2;
1: + cistpl_timing_t timing;
1: + cistpl_io_t io;
1: + cistpl_irq_t irq;
1: + cistpl_mem_t mem;
1: + u_char subtuples;
1: +};
1: +
1: +typedef struct cistpl_cftable_entry_t cistpl_cftable_entry_t;
1: +
1: +struct cistpl_cftable_entry_cb_t {
1: + u_char index;
1: + u_int flags;
1: + cistpl_power_t vcc;
1: + cistpl_power_t vpp1;
1: + cistpl_power_t vpp2;
1: + u_char io;
1: + cistpl_irq_t irq;
1: + u_char mem;
1: + u_char subtuples;
1: +};
1: +
1: +typedef struct cistpl_cftable_entry_cb_t cistpl_cftable_entry_cb_t;
1: +
1: +struct cistpl_vers_2_t {
1: + u_char vers;
1: + u_char comply;
1: + u_short dindex;
1: + u_char vspec8;
1: + u_char vspec9;
1: + u_char nhdr;
1: + u_char vendor;
1: + u_char info;
1: + char str[244];
1: +};
1: +
1: +typedef struct cistpl_vers_2_t cistpl_vers_2_t;
1: +
1: +struct cistpl_org_t {
1: + u_char data_org;
1: + char desc[30];
1: +};
1: +
1: +typedef struct cistpl_org_t cistpl_org_t;
1: +
1: +struct cistpl_format_t {
1: + u_char type;
1: + u_char edc;
1: + u_int offset;
1: + u_int length;
1: +};
1: +
1: +typedef struct cistpl_format_t cistpl_format_t;
1: +
1: +union cisparse_t {
1: + cistpl_device_t device;
1: + cistpl_checksum_t checksum;
1: + cistpl_longlink_t longlink;
1: + cistpl_longlink_mfc_t longlink_mfc;
1: + cistpl_vers_1_t version_1;
1: + cistpl_altstr_t altstr;
1: + cistpl_jedec_t jedec;
1: + cistpl_manfid_t manfid;
1: + cistpl_funcid_t funcid;
1: + cistpl_funce_t funce;
1: + cistpl_bar_t bar;
1: + cistpl_config_t config;
1: + cistpl_cftable_entry_t cftable_entry;
1: + cistpl_cftable_entry_cb_t cftable_entry_cb;
1: + cistpl_device_geo_t device_geo;
1: + cistpl_vers_2_t vers_2;
1: + cistpl_org_t org;
1: + cistpl_format_t format;
1: +};
1: +
1: +typedef union cisparse_t cisparse_t;
1: +
1: +struct tuple_t {
1: + u_int Attributes;
1: + cisdata_t DesiredTuple;
1: + u_int Flags;
1: + u_int LinkOffset;
1: + u_int CISOffset;
1: + cisdata_t TupleCode;
1: + cisdata_t TupleLink;
1: + cisdata_t TupleOffset;
1: + cisdata_t TupleDataMax;
1: + cisdata_t TupleDataLen;
1: + cisdata_t *TupleData;
1: +};
1: +
1: +typedef struct tuple_t tuple_t;
1: +
1: +struct cis_cache_entry {
1: + struct list_head node;
1: + unsigned int addr;
1: + unsigned int len;
1: + unsigned int attr;
1: + unsigned char cache[0];
1: +};
1: +
1: +struct tuple_flags {
1: + u_int link_space: 4;
1: + u_int has_link: 1;
1: + u_int mfc_fn: 3;
1: + u_int space: 4;
1: +};
1: +
1: +struct pcmcia_cfg_mem {
1: + struct pcmcia_device *p_dev;
1: + int (*conf_check)(struct pcmcia_device *, void *);
1: + void *priv_data;
1: + cisparse_t parse;
1: + cistpl_cftable_entry_t dflt;
1: +};
1: +
1: +struct pcmcia_loop_mem {
1: + struct pcmcia_device *p_dev;
1: + void *priv_data;
1: + int (*loop_tuple)(struct pcmcia_device *, tuple_t *, void *);
1: +};
1: +
1: +struct pcmcia_loop_get {
1: + size_t len;
1: + cisdata_t **buf;
1: +};
1: +
1: +struct resource_map {
1: + u_long base;
1: + u_long num;
1: + struct resource_map *next;
1: +};
1: +
1: +struct socket_data {
1: + struct resource_map mem_db;
1: + struct resource_map mem_db_valid;
1: + struct resource_map io_db;
1: +};
1: +
1: +struct pcmcia_align_data {
1: + long unsigned int mask;
1: + long unsigned int offset;
1: + struct resource_map *map;
1: +};
1: +
1: +struct yenta_socket;
1: +
1: +struct cardbus_type {
1: + int (*override)(struct yenta_socket *);
1: + void (*save_state)(struct yenta_socket *);
1: + void (*restore_state)(struct yenta_socket *);
1: + int (*sock_init)(struct yenta_socket *);
1: +};
1: +
1: +struct yenta_socket {
1: + struct pci_dev *dev;
1: + int cb_irq;
1: + int io_irq;
1: + void *base;
1: + struct timer_list poll_timer;
1: + struct pcmcia_socket socket;
1: + struct cardbus_type *type;
1: + u32 flags;
1: + unsigned int probe_status;
1: + unsigned int private[8];
1: + u32 saved_state[2];
1: +};
1: +
1: +enum {
1: + CARDBUS_TYPE_DEFAULT = -1,
1: + CARDBUS_TYPE_TI = 0,
1: + CARDBUS_TYPE_TI113X = 1,
1: + CARDBUS_TYPE_TI12XX = 2,
1: + CARDBUS_TYPE_TI1250 = 3,
1: + CARDBUS_TYPE_RICOH = 4,
1: + CARDBUS_TYPE_TOPIC95 = 5,
1: + CARDBUS_TYPE_TOPIC97 = 6,
1: + CARDBUS_TYPE_O2MICRO = 7,
1: + CARDBUS_TYPE_ENE = 8,
1: +};
1: +
1: +enum usb_device_speed {
1: + USB_SPEED_UNKNOWN = 0,
1: + USB_SPEED_LOW = 1,
1: + USB_SPEED_FULL = 2,
1: + USB_SPEED_HIGH = 3,
1: + USB_SPEED_WIRELESS = 4,
1: + USB_SPEED_SUPER = 5,
1: + USB_SPEED_SUPER_PLUS = 6,
1: +};
1: +
1: +enum usb_device_state {
1: + USB_STATE_NOTATTACHED = 0,
1: + USB_STATE_ATTACHED = 1,
1: + USB_STATE_POWERED = 2,
1: + USB_STATE_RECONNECTING = 3,
1: + USB_STATE_UNAUTHENTICATED = 4,
1: + USB_STATE_DEFAULT = 5,
1: + USB_STATE_ADDRESS = 6,
1: + USB_STATE_CONFIGURED = 7,
1: + USB_STATE_SUSPENDED = 8,
1: +};
1: +
1: +enum usb_otg_state {
1: + OTG_STATE_UNDEFINED = 0,
1: + OTG_STATE_B_IDLE = 1,
1: + OTG_STATE_B_SRP_INIT = 2,
1: + OTG_STATE_B_PERIPHERAL = 3,
1: + OTG_STATE_B_WAIT_ACON = 4,
1: + OTG_STATE_B_HOST = 5,
1: + OTG_STATE_A_IDLE = 6,
1: + OTG_STATE_A_WAIT_VRISE = 7,
1: + OTG_STATE_A_WAIT_BCON = 8,
1: + OTG_STATE_A_HOST = 9,
1: + OTG_STATE_A_SUSPEND = 10,
1: + OTG_STATE_A_PERIPHERAL = 11,
1: + OTG_STATE_A_WAIT_VFALL = 12,
1: + OTG_STATE_A_VBUS_ERR = 13,
1: +};
1: +
1: +enum usb_dr_mode {
1: + USB_DR_MODE_UNKNOWN = 0,
1: + USB_DR_MODE_HOST = 1,
1: + USB_DR_MODE_PERIPHERAL = 2,
1: + USB_DR_MODE_OTG = 3,
1: +};
1: +
1: +struct usb_device_id {
1: + __u16 match_flags;
1: + __u16 idVendor;
1: + __u16 idProduct;
1: + __u16 bcdDevice_lo;
1: + __u16 bcdDevice_hi;
1: + __u8 bDeviceClass;
1: + __u8 bDeviceSubClass;
1: + __u8 bDeviceProtocol;
1: + __u8 bInterfaceClass;
1: + __u8 bInterfaceSubClass;
1: + __u8 bInterfaceProtocol;
1: + __u8 bInterfaceNumber;
1: + kernel_ulong_t driver_info;
1: +};
1: +
1: +struct usb_descriptor_header {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: +};
1: +
1: +struct usb_device_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 bcdUSB;
1: + __u8 bDeviceClass;
1: + __u8 bDeviceSubClass;
1: + __u8 bDeviceProtocol;
1: + __u8 bMaxPacketSize0;
1: + __le16 idVendor;
1: + __le16 idProduct;
1: + __le16 bcdDevice;
1: + __u8 iManufacturer;
1: + __u8 iProduct;
1: + __u8 iSerialNumber;
1: + __u8 bNumConfigurations;
1: +};
1: +
1: +struct usb_config_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 wTotalLength;
1: + __u8 bNumInterfaces;
1: + __u8 bConfigurationValue;
1: + __u8 iConfiguration;
1: + __u8 bmAttributes;
1: + __u8 bMaxPower;
1: +} __attribute__((packed));
1: +
1: +struct usb_interface_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bInterfaceNumber;
1: + __u8 bAlternateSetting;
1: + __u8 bNumEndpoints;
1: + __u8 bInterfaceClass;
1: + __u8 bInterfaceSubClass;
1: + __u8 bInterfaceProtocol;
1: + __u8 iInterface;
1: +};
1: +
1: +struct usb_endpoint_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bEndpointAddress;
1: + __u8 bmAttributes;
1: + __le16 wMaxPacketSize;
1: + __u8 bInterval;
1: + __u8 bRefresh;
1: + __u8 bSynchAddress;
1: +} __attribute__((packed));
1: +
1: +struct usb_ssp_isoc_ep_comp_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 wReseved;
1: + __le32 dwBytesPerInterval;
1: +};
1: +
1: +struct usb_ss_ep_comp_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bMaxBurst;
1: + __u8 bmAttributes;
1: + __le16 wBytesPerInterval;
1: +};
1: +
1: +struct usb_interface_assoc_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bFirstInterface;
1: + __u8 bInterfaceCount;
1: + __u8 bFunctionClass;
1: + __u8 bFunctionSubClass;
1: + __u8 bFunctionProtocol;
1: + __u8 iFunction;
1: +};
1: +
1: +struct usb_bos_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 wTotalLength;
1: + __u8 bNumDeviceCaps;
1: +} __attribute__((packed));
1: +
1: +struct usb_ext_cap_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: + __le32 bmAttributes;
1: +} __attribute__((packed));
1: +
1: +struct usb_ss_cap_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: + __u8 bmAttributes;
1: + __le16 wSpeedSupported;
1: + __u8 bFunctionalitySupport;
1: + __u8 bU1devExitLat;
1: + __le16 bU2DevExitLat;
1: +};
1: +
1: +struct usb_ss_container_id_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: + __u8 bReserved;
1: + __u8 ContainerID[16];
1: +};
1: +
1: +struct usb_ssp_cap_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: + __u8 bReserved;
1: + __le32 bmAttributes;
1: + __le16 wFunctionalitySupport;
1: + __le16 wReserved;
1: + __le32 bmSublinkSpeedAttr[1];
1: +};
1: +
1: +struct usb_ptm_cap_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: +};
1: +
1: +enum usb3_link_state {
1: + USB3_LPM_U0 = 0,
1: + USB3_LPM_U1 = 1,
1: + USB3_LPM_U2 = 2,
1: + USB3_LPM_U3 = 3,
1: +};
1: +
1: +struct ep_device;
1: +
1: +struct usb_host_endpoint {
1: + struct usb_endpoint_descriptor desc;
1: + struct usb_ss_ep_comp_descriptor ss_ep_comp;
1: + struct usb_ssp_isoc_ep_comp_descriptor ssp_isoc_ep_comp;
1: + char: 8;
1: + struct list_head urb_list;
1: + void *hcpriv;
1: + struct ep_device *ep_dev;
1: + unsigned char *extra;
1: + int extralen;
1: + int enabled;
1: + int streams;
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct usb_host_interface {
1: + struct usb_interface_descriptor desc;
1: + int extralen;
1: + unsigned char *extra;
1: + struct usb_host_endpoint *endpoint;
1: + char *string;
1: +};
1: +
1: +enum usb_interface_condition {
1: + USB_INTERFACE_UNBOUND = 0,
1: + USB_INTERFACE_BINDING = 1,
1: + USB_INTERFACE_BOUND = 2,
1: + USB_INTERFACE_UNBINDING = 3,
1: +};
1: +
1: +struct usb_interface {
1: + struct usb_host_interface *altsetting;
1: + struct usb_host_interface *cur_altsetting;
1: + unsigned int num_altsetting;
1: + struct usb_interface_assoc_descriptor *intf_assoc;
1: + int minor;
1: + enum usb_interface_condition condition;
1: + unsigned int sysfs_files_created: 1;
1: + unsigned int ep_devs_created: 1;
1: + unsigned int unregistering: 1;
1: + unsigned int needs_remote_wakeup: 1;
1: + unsigned int needs_altsetting0: 1;
1: + unsigned int needs_binding: 1;
1: + unsigned int resetting_device: 1;
1: + unsigned int authorized: 1;
1: + struct device dev;
1: + struct device *usb_dev;
1: + struct work_struct reset_ws;
1: +};
1: +
1: +struct usb_interface_cache {
1: + unsigned int num_altsetting;
1: + struct kref ref;
1: + struct usb_host_interface altsetting[0];
1: +};
1: +
1: +struct usb_host_config {
1: + struct usb_config_descriptor desc;
1: + char *string;
1: + struct usb_interface_assoc_descriptor *intf_assoc[16];
1: + struct usb_interface *interface[32];
1: + struct usb_interface_cache *intf_cache[32];
1: + unsigned char *extra;
1: + int extralen;
1: +};
1: +
1: +struct usb_host_bos {
1: + struct usb_bos_descriptor *desc;
1: + struct usb_ext_cap_descriptor *ext_cap;
1: + struct usb_ss_cap_descriptor *ss_cap;
1: + struct usb_ssp_cap_descriptor *ssp_cap;
1: + struct usb_ss_container_id_descriptor *ss_id;
1: + struct usb_ptm_cap_descriptor *ptm_cap;
1: +};
1: +
1: +struct usb_devmap {
1: + long unsigned int devicemap[2];
1: +};
1: +
1: +struct usb_device;
1: +
1: +struct mon_bus;
1: +
1: +struct usb_bus {
1: + struct device *controller;
1: + struct device *sysdev;
1: + int busnum;
1: + const char *bus_name;
1: + u8 uses_pio_for_control;
1: + u8 otg_port;
1: + unsigned int is_b_host: 1;
1: + unsigned int b_hnp_enable: 1;
1: + unsigned int no_stop_on_short: 1;
1: + unsigned int no_sg_constraint: 1;
1: + unsigned int sg_tablesize;
1: + int devnum_next;
1: + struct mutex devnum_next_mutex;
1: + struct usb_devmap devmap;
1: + struct usb_device *root_hub;
1: + struct usb_bus *hs_companion;
1: + int bandwidth_allocated;
1: + int bandwidth_int_reqs;
1: + int bandwidth_isoc_reqs;
1: + unsigned int resuming_ports;
1: + struct mon_bus *mon_bus;
1: + int monitored;
1: +};
1: +
1: +struct wusb_dev;
1: +
1: +enum usb_device_removable {
1: + USB_DEVICE_REMOVABLE_UNKNOWN = 0,
1: + USB_DEVICE_REMOVABLE = 1,
1: + USB_DEVICE_FIXED = 2,
1: +};
1: +
1: +struct usb2_lpm_parameters {
1: + unsigned int besl;
1: + int timeout;
1: +};
1: +
1: +struct usb3_lpm_parameters {
1: + unsigned int mel;
1: + unsigned int pel;
1: + unsigned int sel;
1: + int timeout;
1: +};
1: +
1: +struct usb_tt;
1: +
1: +struct usb_device {
1: + int devnum;
1: + char devpath[16];
1: + u32 route;
1: + enum usb_device_state state;
1: + enum usb_device_speed speed;
1: + unsigned int rx_lanes;
1: + unsigned int tx_lanes;
1: + struct usb_tt *tt;
1: + int ttport;
1: + unsigned int toggle[2];
1: + struct usb_device *parent;
1: + struct usb_bus *bus;
1: + struct usb_host_endpoint ep0;
1: + struct device dev;
1: + struct usb_device_descriptor descriptor;
1: + struct usb_host_bos *bos;
1: + struct usb_host_config *config;
1: + struct usb_host_config *actconfig;
1: + struct usb_host_endpoint *ep_in[16];
1: + struct usb_host_endpoint *ep_out[16];
1: + char **rawdescriptors;
1: + short unsigned int bus_mA;
1: + u8 portnum;
1: + u8 level;
1: + u8 devaddr;
1: + unsigned int can_submit: 1;
1: + unsigned int persist_enabled: 1;
1: + unsigned int have_langid: 1;
1: + unsigned int authorized: 1;
1: + unsigned int authenticated: 1;
1: + unsigned int wusb: 1;
1: + unsigned int lpm_capable: 1;
1: + unsigned int usb2_hw_lpm_capable: 1;
1: + unsigned int usb2_hw_lpm_besl_capable: 1;
1: + unsigned int usb2_hw_lpm_enabled: 1;
1: + unsigned int usb2_hw_lpm_allowed: 1;
1: + unsigned int usb3_lpm_u1_enabled: 1;
1: + unsigned int usb3_lpm_u2_enabled: 1;
1: + int string_langid;
1: + char *product;
1: + char *manufacturer;
1: + char *serial;
1: + struct list_head filelist;
1: + int maxchild;
1: + u32 quirks;
1: + atomic_t urbnum;
1: + long unsigned int active_duration;
1: + long unsigned int connect_time;
1: + unsigned int do_remote_wakeup: 1;
1: + unsigned int reset_resume: 1;
1: + unsigned int port_is_suspended: 1;
1: + struct wusb_dev *wusb_dev;
1: + int slot_id;
1: + enum usb_device_removable removable;
1: + struct usb2_lpm_parameters l1_params;
1: + struct usb3_lpm_parameters u1_params;
1: + struct usb3_lpm_parameters u2_params;
1: + unsigned int lpm_disable_count;
1: + u16 hub_delay;
1: +};
1: +
1: +enum usb_port_connect_type {
1: + USB_PORT_CONNECT_TYPE_UNKNOWN = 0,
1: + USB_PORT_CONNECT_TYPE_HOT_PLUG = 1,
1: + USB_PORT_CONNECT_TYPE_HARD_WIRED = 2,
1: + USB_PORT_NOT_USED = 3,
1: +};
1: +
1: +struct usb_tt {
1: + struct usb_device *hub;
1: + int multi;
1: + unsigned int think_time;
1: + void *hcpriv;
1: + spinlock_t lock;
1: + struct list_head clear_list;
1: + struct work_struct clear_work;
1: +};
1: +
1: +struct usb_dynids {
1: + spinlock_t lock;
1: + struct list_head list;
1: +};
1: +
1: +struct usbdrv_wrap {
1: + struct device_driver driver;
1: + int for_devices;
1: +};
1: +
1: +struct usb_driver {
1: + const char *name;
1: + int (*probe)(struct usb_interface *, const struct usb_device_id *);
1: + void (*disconnect)(struct usb_interface *);
1: + int (*unlocked_ioctl)(struct usb_interface *, unsigned int, void *);
1: + int (*suspend)(struct usb_interface *, pm_message_t);
1: + int (*resume)(struct usb_interface *);
1: + int (*reset_resume)(struct usb_interface *);
1: + int (*pre_reset)(struct usb_interface *);
1: + int (*post_reset)(struct usb_interface *);
1: + const struct usb_device_id *id_table;
1: + const struct attribute_group **dev_groups;
1: + struct usb_dynids dynids;
1: + struct usbdrv_wrap drvwrap;
1: + unsigned int no_dynamic_id: 1;
1: + unsigned int supports_autosuspend: 1;
1: + unsigned int disable_hub_initiated_lpm: 1;
1: + unsigned int soft_unbind: 1;
1: +};
1: +
1: +struct usb_device_driver {
1: + const char *name;
1: + int (*probe)(struct usb_device *);
1: + void (*disconnect)(struct usb_device *);
1: + int (*suspend)(struct usb_device *, pm_message_t);
1: + int (*resume)(struct usb_device *, pm_message_t);
1: + const struct attribute_group **dev_groups;
1: + struct usbdrv_wrap drvwrap;
1: + unsigned int supports_autosuspend: 1;
1: +};
1: +
1: +struct usb_iso_packet_descriptor {
1: + unsigned int offset;
1: + unsigned int length;
1: + unsigned int actual_length;
1: + int status;
1: +};
1: +
1: +struct usb_anchor {
1: + struct list_head urb_list;
1: + wait_queue_head_t wait;
1: + spinlock_t lock;
1: + atomic_t suspend_wakeups;
1: + unsigned int poisoned: 1;
1: +};
1: +
1: +struct urb;
1: +
1: +typedef void (*usb_complete_t)(struct urb *);
1: +
1: +struct urb {
1: + struct kref kref;
1: + int unlinked;
1: + void *hcpriv;
1: + atomic_t use_count;
1: + atomic_t reject;
1: + struct list_head urb_list;
1: + struct list_head anchor_list;
1: + struct usb_anchor *anchor;
1: + struct usb_device *dev;
1: + struct usb_host_endpoint *ep;
1: + unsigned int pipe;
1: + unsigned int stream_id;
1: + int status;
1: + unsigned int transfer_flags;
1: + void *transfer_buffer;
1: + dma_addr_t transfer_dma;
1: + struct scatterlist *sg;
1: + int num_mapped_sgs;
1: + int num_sgs;
1: + u32 transfer_buffer_length;
1: + u32 actual_length;
1: + unsigned char *setup_packet;
1: + dma_addr_t setup_dma;
1: + int start_frame;
1: + int number_of_packets;
1: + int interval;
1: + int error_count;
1: + void *context;
1: + usb_complete_t complete;
1: + struct usb_iso_packet_descriptor iso_frame_desc[0];
1: +};
1: +
1: +struct giveback_urb_bh {
1: + bool running;
1: + spinlock_t lock;
1: + struct list_head head;
1: + struct tasklet_struct bh;
1: + struct usb_host_endpoint *completing_ep;
1: +};
1: +
1: +enum usb_dev_authorize_policy {
1: + USB_DEVICE_AUTHORIZE_NONE = 0,
1: + USB_DEVICE_AUTHORIZE_ALL = 1,
1: + USB_DEVICE_AUTHORIZE_INTERNAL = 2,
1: +};
1: +
1: +struct usb_phy_roothub;
1: +
1: +struct hc_driver;
1: +
1: +struct usb_phy;
1: +
1: +struct usb_hcd {
1: + struct usb_bus self;
1: + struct kref kref;
1: + const char *product_desc;
1: + int speed;
1: + char irq_descr[24];
1: + struct timer_list rh_timer;
1: + struct urb *status_urb;
1: + struct work_struct wakeup_work;
1: + struct work_struct died_work;
1: + const struct hc_driver *driver;
1: + struct usb_phy *usb_phy;
1: + struct usb_phy_roothub *phy_roothub;
1: + long unsigned int flags;
1: + enum usb_dev_authorize_policy dev_policy;
1: + unsigned int rh_registered: 1;
1: + unsigned int rh_pollable: 1;
1: + unsigned int msix_enabled: 1;
1: + unsigned int msi_enabled: 1;
1: + unsigned int skip_phy_initialization: 1;
1: + unsigned int uses_new_polling: 1;
1: + unsigned int wireless: 1;
1: + unsigned int has_tt: 1;
1: + unsigned int amd_resume_bug: 1;
1: + unsigned int can_do_streams: 1;
1: + unsigned int tpl_support: 1;
1: + unsigned int cant_recv_wakeups: 1;
1: + unsigned int irq;
1: + void *regs;
1: + resource_size_t rsrc_start;
1: + resource_size_t rsrc_len;
1: + unsigned int power_budget;
1: + struct giveback_urb_bh high_prio_bh;
1: + struct giveback_urb_bh low_prio_bh;
1: + struct mutex *address0_mutex;
1: + struct mutex *bandwidth_mutex;
1: + struct usb_hcd *shared_hcd;
1: + struct usb_hcd *primary_hcd;
1: + struct dma_pool___2 *pool[4];
1: + int state;
1: + struct gen_pool *localmem_pool;
1: + long unsigned int hcd_priv[0];
1: +};
1: +
1: +struct hc_driver {
1: + const char *description;
1: + const char *product_desc;
1: + size_t hcd_priv_size;
1: + irqreturn_t (*irq)(struct usb_hcd *);
1: + int flags;
1: + int (*reset)(struct usb_hcd *);
1: + int (*start)(struct usb_hcd *);
1: + int (*pci_suspend)(struct usb_hcd *, bool);
1: + int (*pci_resume)(struct usb_hcd *, bool);
1: + void (*stop)(struct usb_hcd *);
1: + void (*shutdown)(struct usb_hcd *);
1: + int (*get_frame_number)(struct usb_hcd *);
1: + int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
1: + int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
1: + int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
1: + void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
1: + void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
1: + void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
1: + int (*hub_status_data)(struct usb_hcd *, char *);
1: + int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
1: + int (*bus_suspend)(struct usb_hcd *);
1: + int (*bus_resume)(struct usb_hcd *);
1: + int (*start_port_reset)(struct usb_hcd *, unsigned int);
1: + long unsigned int (*get_resuming_ports)(struct usb_hcd *);
1: + void (*relinquish_port)(struct usb_hcd *, int);
1: + int (*port_handed_over)(struct usb_hcd *, int);
1: + void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
1: + int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
1: + void (*free_dev)(struct usb_hcd *, struct usb_device *);
1: + int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
1: + int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
1: + int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
1: + int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
1: + int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
1: + void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
1: + int (*address_device)(struct usb_hcd *, struct usb_device *);
1: + int (*enable_device)(struct usb_hcd *, struct usb_device *);
1: + int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
1: + int (*reset_device)(struct usb_hcd *, struct usb_device *);
1: + int (*update_device)(struct usb_hcd *, struct usb_device *);
1: + int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
1: + int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
1: + int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
1: + int (*find_raw_port_number)(struct usb_hcd *, int);
1: + int (*port_power)(struct usb_hcd *, int, bool);
1: +};
1: +
1: +enum usb_phy_type {
1: + USB_PHY_TYPE_UNDEFINED = 0,
1: + USB_PHY_TYPE_USB2 = 1,
1: + USB_PHY_TYPE_USB3 = 2,
1: +};
1: +
1: +enum usb_phy_events {
1: + USB_EVENT_NONE = 0,
1: + USB_EVENT_VBUS = 1,
1: + USB_EVENT_ID = 2,
1: + USB_EVENT_CHARGER = 3,
1: + USB_EVENT_ENUMERATED = 4,
1: +};
1: +
1: +struct extcon_dev;
1: +
1: +enum usb_charger_type {
1: + UNKNOWN_TYPE = 0,
1: + SDP_TYPE = 1,
1: + DCP_TYPE = 2,
1: + CDP_TYPE = 3,
1: + ACA_TYPE = 4,
1: +};
1: +
1: +enum usb_charger_state {
1: + USB_CHARGER_DEFAULT = 0,
1: + USB_CHARGER_PRESENT = 1,
1: + USB_CHARGER_ABSENT = 2,
1: +};
1: +
1: +struct usb_charger_current {
1: + unsigned int sdp_min;
1: + unsigned int sdp_max;
1: + unsigned int dcp_min;
1: + unsigned int dcp_max;
1: + unsigned int cdp_min;
1: + unsigned int cdp_max;
1: + unsigned int aca_min;
1: + unsigned int aca_max;
1: +};
1: +
1: +struct usb_otg;
1: +
1: +struct usb_phy_io_ops;
1: +
1: +struct usb_phy {
1: + struct device *dev;
1: + const char *label;
1: + unsigned int flags;
1: + enum usb_phy_type type;
1: + enum usb_phy_events last_event;
1: + struct usb_otg *otg;
1: + struct device *io_dev;
1: + struct usb_phy_io_ops *io_ops;
1: + void *io_priv;
1: + struct extcon_dev *edev;
1: + struct extcon_dev *id_edev;
1: + struct notifier_block vbus_nb;
1: + struct notifier_block id_nb;
1: + struct notifier_block type_nb;
1: + enum usb_charger_type chg_type;
1: + enum usb_charger_state chg_state;
1: + struct usb_charger_current chg_cur;
1: + struct work_struct chg_work;
1: + struct atomic_notifier_head notifier;
1: + u16 port_status;
1: + u16 port_change;
1: + struct list_head head;
1: + int (*init)(struct usb_phy *);
1: + void (*shutdown)(struct usb_phy *);
1: + int (*set_vbus)(struct usb_phy *, int);
1: + int (*set_power)(struct usb_phy *, unsigned int);
1: + int (*set_suspend)(struct usb_phy *, int);
1: + int (*set_wakeup)(struct usb_phy *, bool);
1: + int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
1: + int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
1: + enum usb_charger_type (*charger_detect)(struct usb_phy *);
1: +};
1: +
1: +struct usb_port_status {
1: + __le16 wPortStatus;
1: + __le16 wPortChange;
1: + __le32 dwExtPortStatus;
1: +};
1: +
1: +struct usb_hub_status {
1: + __le16 wHubStatus;
1: + __le16 wHubChange;
1: +};
1: +
1: +struct usb_hub_descriptor {
1: + __u8 bDescLength;
1: + __u8 bDescriptorType;
1: + __u8 bNbrPorts;
1: + __le16 wHubCharacteristics;
1: + __u8 bPwrOn2PwrGood;
1: + __u8 bHubContrCurrent;
1: + union {
1: + struct {
1: + __u8 DeviceRemovable[4];
1: + __u8 PortPwrCtrlMask[4];
1: + } hs;
1: + struct {
1: + __u8 bHubHdrDecLat;
1: + __le16 wHubDelay;
1: + __le16 DeviceRemovable;
1: + } __attribute__((packed)) ss;
1: + } u;
1: +} __attribute__((packed));
1: +
1: +struct usb_mon_operations {
1: + void (*urb_submit)(struct usb_bus *, struct urb *);
1: + void (*urb_submit_error)(struct usb_bus *, struct urb *, int);
1: + void (*urb_complete)(struct usb_bus *, struct urb *, int);
1: +};
1: +
1: +struct usb_phy_io_ops {
1: + int (*read)(struct usb_phy *, u32);
1: + int (*write)(struct usb_phy *, u32, u32);
1: +};
1: +
1: +struct usb_gadget;
1: +
1: +struct usb_otg {
1: + u8 default_a;
1: + struct phy___2 *phy;
1: + struct usb_phy *usb_phy;
1: + struct usb_bus *host;
1: + struct usb_gadget *gadget;
1: + enum usb_otg_state state;
1: + int (*set_host)(struct usb_otg *, struct usb_bus *);
1: + int (*set_peripheral)(struct usb_otg *, struct usb_gadget *);
1: + int (*set_vbus)(struct usb_otg *, bool);
1: + int (*start_srp)(struct usb_otg *);
1: + int (*start_hnp)(struct usb_otg *);
1: +};
1: +
1: +typedef u32 usb_port_location_t;
1: +
1: +struct usb_port;
1: +
1: +struct usb_hub {
1: + struct device *intfdev;
1: + struct usb_device *hdev;
1: + struct kref kref;
1: + struct urb *urb;
1: + u8 (*buffer)[8];
1: + union {
1: + struct usb_hub_status hub;
1: + struct usb_port_status port;
1: + } *status;
1: + struct mutex status_mutex;
1: + int error;
1: + int nerrors;
1: + long unsigned int event_bits[1];
1: + long unsigned int change_bits[1];
1: + long unsigned int removed_bits[1];
1: + long unsigned int wakeup_bits[1];
1: + long unsigned int power_bits[1];
1: + long unsigned int child_usage_bits[1];
1: + long unsigned int warm_reset_bits[1];
1: + struct usb_hub_descriptor *descriptor;
1: + struct usb_tt tt;
1: + unsigned int mA_per_port;
1: + unsigned int wakeup_enabled_descendants;
1: + unsigned int limited_power: 1;
1: + unsigned int quiescing: 1;
1: + unsigned int disconnected: 1;
1: + unsigned int in_reset: 1;
1: + unsigned int quirk_check_port_auto_suspend: 1;
1: + unsigned int has_indicators: 1;
1: + u8 indicator[31];
1: + struct delayed_work leds;
1: + struct delayed_work init_work;
1: + struct work_struct events;
1: + spinlock_t irq_urb_lock;
1: + struct timer_list irq_urb_retry;
1: + struct usb_port **ports;
1: +};
1: +
1: +struct usb_dev_state;
1: +
1: +struct usb_port {
1: + struct usb_device *child;
1: + struct device dev;
1: + struct usb_dev_state *port_owner;
1: + struct usb_port *peer;
1: + struct dev_pm_qos_request *req;
1: + enum usb_port_connect_type connect_type;
1: + usb_port_location_t location;
1: + struct mutex status_lock;
1: + u32 over_current_count;
1: + u8 portnum;
1: + u32 quirks;
1: + unsigned int is_superspeed: 1;
1: + unsigned int usb3_lpm_u1_permit: 1;
1: + unsigned int usb3_lpm_u2_permit: 1;
1: +};
1: +
1: +struct find_interface_arg {
1: + int minor;
1: + struct device_driver *drv;
1: +};
1: +
1: +struct each_dev_arg {
1: + void *data;
1: + int (*fn)(struct usb_device *, void *);
1: +};
1: +
1: +struct usb_qualifier_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 bcdUSB;
1: + __u8 bDeviceClass;
1: + __u8 bDeviceSubClass;
1: + __u8 bDeviceProtocol;
1: + __u8 bMaxPacketSize0;
1: + __u8 bNumConfigurations;
1: + __u8 bRESERVED;
1: +};
1: +
1: +struct usb_set_sel_req {
1: + __u8 u1_sel;
1: + __u8 u1_pel;
1: + __le16 u2_sel;
1: + __le16 u2_pel;
1: +};
1: +
1: +struct usbdevfs_hub_portinfo {
1: + char nports;
1: + char port[127];
1: +};
1: +
1: +enum hub_led_mode {
1: + INDICATOR_AUTO = 0,
1: + INDICATOR_CYCLE = 1,
1: + INDICATOR_GREEN_BLINK = 2,
1: + INDICATOR_GREEN_BLINK_OFF = 3,
1: + INDICATOR_AMBER_BLINK = 4,
1: + INDICATOR_AMBER_BLINK_OFF = 5,
1: + INDICATOR_ALT_BLINK = 6,
1: + INDICATOR_ALT_BLINK_OFF = 7,
1: +};
1: +
1: +struct usb_tt_clear {
1: + struct list_head clear_list;
1: + unsigned int tt;
1: + u16 devinfo;
1: + struct usb_hcd *hcd;
1: + struct usb_host_endpoint *ep;
1: +};
1: +
1: +enum hub_activation_type {
1: + HUB_INIT = 0,
1: + HUB_INIT2 = 1,
1: + HUB_INIT3 = 2,
1: + HUB_POST_RESET = 3,
1: + HUB_RESUME = 4,
1: + HUB_RESET_RESUME = 5,
1: +};
1: +
1: +enum hub_quiescing_type {
1: + HUB_DISCONNECT = 0,
1: + HUB_PRE_RESET = 1,
1: + HUB_SUSPEND = 2,
1: +};
1: +
1: +struct usb_ctrlrequest {
1: + __u8 bRequestType;
1: + __u8 bRequest;
1: + __le16 wValue;
1: + __le16 wIndex;
1: + __le16 wLength;
1: +};
1: +
1: +enum usb_led_event {
1: + USB_LED_EVENT_HOST = 0,
1: + USB_LED_EVENT_GADGET = 1,
1: +};
1: +
1: +struct usb_sg_request {
1: + int status;
1: + size_t bytes;
1: + spinlock_t lock;
1: + struct usb_device *dev;
1: + int pipe;
1: + int entries;
1: + struct urb **urbs;
1: + int count;
1: + struct completion complete;
1: +};
1: +
1: +struct usb_cdc_header_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdCDC;
1: +} __attribute__((packed));
1: +
1: +struct usb_cdc_call_mgmt_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bmCapabilities;
1: + __u8 bDataInterface;
1: +};
1: +
1: +struct usb_cdc_acm_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bmCapabilities;
1: +};
1: +
1: +struct usb_cdc_union_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bMasterInterface0;
1: + __u8 bSlaveInterface0;
1: +};
1: +
1: +struct usb_cdc_country_functional_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 iCountryCodeRelDate;
1: + __le16 wCountyCode0;
1: +};
1: +
1: +struct usb_cdc_network_terminal_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bEntityId;
1: + __u8 iName;
1: + __u8 bChannelIndex;
1: + __u8 bPhysicalInterface;
1: +};
1: +
1: +struct usb_cdc_ether_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 iMACAddress;
1: + __le32 bmEthernetStatistics;
1: + __le16 wMaxSegmentSize;
1: + __le16 wNumberMCFilters;
1: + __u8 bNumberPowerFilters;
1: +} __attribute__((packed));
1: +
1: +struct usb_cdc_dmm_desc {
1: + __u8 bFunctionLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubtype;
1: + __u16 bcdVersion;
1: + __le16 wMaxCommand;
1: +} __attribute__((packed));
1: +
1: +struct usb_cdc_mdlm_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdVersion;
1: + __u8 bGUID[16];
1: +} __attribute__((packed));
1: +
1: +struct usb_cdc_mdlm_detail_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bGuidDescriptorType;
1: + __u8 bDetailData[0];
1: +};
1: +
1: +struct usb_cdc_obex_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdVersion;
1: +} __attribute__((packed));
1: +
1: +struct usb_cdc_ncm_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdNcmVersion;
1: + __u8 bmNetworkCapabilities;
1: +} __attribute__((packed));
1: +
1: +struct usb_cdc_mbim_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdMBIMVersion;
1: + __le16 wMaxControlMessage;
1: + __u8 bNumberFilters;
1: + __u8 bMaxFilterSize;
1: + __le16 wMaxSegmentSize;
1: + __u8 bmNetworkCapabilities;
1: +} __attribute__((packed));
1: +
1: +struct usb_cdc_mbim_extended_desc {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdMBIMExtendedVersion;
1: + __u8 bMaxOutstandingCommandMessages;
1: + __le16 wMTU;
1: +} __attribute__((packed));
1: +
1: +struct usb_cdc_parsed_header {
1: + struct usb_cdc_union_desc *usb_cdc_union_desc;
1: + struct usb_cdc_header_desc *usb_cdc_header_desc;
1: + struct usb_cdc_call_mgmt_descriptor *usb_cdc_call_mgmt_descriptor;
1: + struct usb_cdc_acm_descriptor *usb_cdc_acm_descriptor;
1: + struct usb_cdc_country_functional_desc *usb_cdc_country_functional_desc;
1: + struct usb_cdc_network_terminal_desc *usb_cdc_network_terminal_desc;
1: + struct usb_cdc_ether_desc *usb_cdc_ether_desc;
1: + struct usb_cdc_dmm_desc *usb_cdc_dmm_desc;
1: + struct usb_cdc_mdlm_desc *usb_cdc_mdlm_desc;
1: + struct usb_cdc_mdlm_detail_desc *usb_cdc_mdlm_detail_desc;
1: + struct usb_cdc_obex_desc *usb_cdc_obex_desc;
1: + struct usb_cdc_ncm_desc *usb_cdc_ncm_desc;
1: + struct usb_cdc_mbim_desc *usb_cdc_mbim_desc;
1: + struct usb_cdc_mbim_extended_desc *usb_cdc_mbim_extended_desc;
1: + bool phonet_magic_present;
1: +};
1: +
1: +struct api_context {
1: + struct completion done;
1: + int status;
1: +};
1: +
1: +struct set_config_request {
1: + struct usb_device *udev;
1: + int config;
1: + struct work_struct work;
1: + struct list_head node;
1: +};
1: +
1: +struct usb_dynid {
1: + struct list_head node;
1: + struct usb_device_id id;
1: +};
1: +
1: +struct usb_dev_cap_header {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: +};
1: +
1: +struct usb_class_driver {
1: + char *name;
1: + char * (*devnode)(struct device *, umode_t *);
1: + const struct file_operations *fops;
1: + int minor_base;
1: +};
1: +
1: +struct usb_class {
1: + struct kref kref;
1: + struct class *class;
1: +};
1: +
1: +struct ep_device {
1: + struct usb_endpoint_descriptor *desc;
1: + struct usb_device *udev;
1: + struct device dev;
1: +};
1: +
1: +struct usbdevfs_ctrltransfer {
1: + __u8 bRequestType;
1: + __u8 bRequest;
1: + __u16 wValue;
1: + __u16 wIndex;
1: + __u16 wLength;
1: + __u32 timeout;
1: + void *data;
1: +};
1: +
1: +struct usbdevfs_bulktransfer {
1: + unsigned int ep;
1: + unsigned int len;
1: + unsigned int timeout;
1: + void *data;
1: +};
1: +
1: +struct usbdevfs_setinterface {
1: + unsigned int interface;
1: + unsigned int altsetting;
1: +};
1: +
1: +struct usbdevfs_disconnectsignal {
1: + unsigned int signr;
1: + void *context;
1: +};
1: +
1: +struct usbdevfs_getdriver {
1: + unsigned int interface;
1: + char driver[256];
1: +};
1: +
1: +struct usbdevfs_connectinfo {
1: + unsigned int devnum;
1: + unsigned char slow;
1: +};
1: +
1: +struct usbdevfs_conninfo_ex {
1: + __u32 size;
1: + __u32 busnum;
1: + __u32 devnum;
1: + __u32 speed;
1: + __u8 num_ports;
1: + __u8 ports[7];
1: +};
1: +
1: +struct usbdevfs_iso_packet_desc {
1: + unsigned int length;
1: + unsigned int actual_length;
1: + unsigned int status;
1: +};
1: +
1: +struct usbdevfs_urb {
1: + unsigned char type;
1: + unsigned char endpoint;
1: + int status;
1: + unsigned int flags;
1: + void *buffer;
1: + int buffer_length;
1: + int actual_length;
1: + int start_frame;
1: + union {
1: + int number_of_packets;
1: + unsigned int stream_id;
1: + };
1: + int error_count;
1: + unsigned int signr;
1: + void *usercontext;
1: + struct usbdevfs_iso_packet_desc iso_frame_desc[0];
1: +};
1: +
1: +struct usbdevfs_ioctl {
1: + int ifno;
1: + int ioctl_code;
1: + void *data;
1: +};
1: +
1: +struct usbdevfs_disconnect_claim {
1: + unsigned int interface;
1: + unsigned int flags;
1: + char driver[256];
1: +};
1: +
1: +struct usbdevfs_streams {
1: + unsigned int num_streams;
1: + unsigned int num_eps;
1: + unsigned char eps[0];
1: +};
1: +
1: +struct usbdevfs_ctrltransfer32 {
1: + u8 bRequestType;
1: + u8 bRequest;
1: + u16 wValue;
1: + u16 wIndex;
1: + u16 wLength;
1: + u32 timeout;
1: + compat_caddr_t data;
1: +};
1: +
1: +struct usbdevfs_bulktransfer32 {
1: + compat_uint_t ep;
1: + compat_uint_t len;
1: + compat_uint_t timeout;
1: + compat_caddr_t data;
1: +};
1: +
1: +struct usbdevfs_disconnectsignal32 {
1: + compat_int_t signr;
1: + compat_caddr_t context;
1: +};
1: +
1: +struct usbdevfs_urb32 {
1: + unsigned char type;
1: + unsigned char endpoint;
1: + compat_int_t status;
1: + compat_uint_t flags;
1: + compat_caddr_t buffer;
1: + compat_int_t buffer_length;
1: + compat_int_t actual_length;
1: + compat_int_t start_frame;
1: + compat_int_t number_of_packets;
1: + compat_int_t error_count;
1: + compat_uint_t signr;
1: + compat_caddr_t usercontext;
1: + struct usbdevfs_iso_packet_desc iso_frame_desc[0];
1: +};
1: +
1: +struct usbdevfs_ioctl32 {
1: + s32 ifno;
1: + s32 ioctl_code;
1: + compat_caddr_t data;
1: +};
1: +
1: +struct usb_dev_state___2 {
1: + struct list_head list;
1: + struct usb_device *dev;
1: + struct file *file;
1: + spinlock_t lock;
1: + struct list_head async_pending;
1: + struct list_head async_completed;
1: + struct list_head memory_list;
1: + wait_queue_head_t wait;
1: + wait_queue_head_t wait_for_resume;
1: + unsigned int discsignr;
1: + struct pid *disc_pid;
1: + const struct cred *cred;
1: + sigval_t disccontext;
1: + long unsigned int ifclaimed;
1: + u32 disabled_bulk_eps;
1: + long unsigned int interface_allowed_mask;
1: + int not_yet_resumed;
1: + bool suspend_allowed;
1: + bool privileges_dropped;
1: +};
1: +
1: +struct usb_memory {
1: + struct list_head memlist;
1: + int vma_use_count;
1: + int urb_use_count;
1: + u32 size;
1: + void *mem;
1: + dma_addr_t dma_handle;
1: + long unsigned int vm_start;
1: + struct usb_dev_state___2 *ps;
1: +};
1: +
1: +struct async {
1: + struct list_head asynclist;
1: + struct usb_dev_state___2 *ps;
1: + struct pid *pid;
1: + const struct cred *cred;
1: + unsigned int signr;
1: + unsigned int ifnum;
1: + void *userbuffer;
1: + void *userurb;
1: + sigval_t userurb_sigval;
1: + struct urb *urb;
1: + struct usb_memory *usbm;
1: + unsigned int mem_usage;
1: + int status;
1: + u8 bulk_addr;
1: + u8 bulk_status;
1: +};
1: +
1: +enum snoop_when {
1: + SUBMIT = 0,
1: + COMPLETE = 1,
1: +};
1: +
1: +struct quirk_entry {
1: + u16 vid;
1: + u16 pid;
1: + u32 flags;
1: +};
1: +
1: +struct device_connect_event {
1: + atomic_t count;
1: + wait_queue_head_t wait;
1: +};
1: +
1: +struct class_info {
1: + int class;
1: + char *class_name;
1: +};
1: +
1: +struct usb_phy_roothub___2 {
1: + struct phy___2 *phy;
1: + struct list_head list;
1: +};
1: +
1: +typedef void (*companion_fn)(struct pci_dev *, struct usb_hcd *, struct pci_dev *, struct usb_hcd *);
1: +
1: +struct mon_bus {
1: + struct list_head bus_link;
1: + spinlock_t lock;
1: + struct usb_bus *u_bus;
1: + int text_inited;
1: + int bin_inited;
1: + struct dentry *dent_s;
1: + struct dentry *dent_t;
1: + struct dentry *dent_u;
1: + struct device *classdev;
1: + int nreaders;
1: + struct list_head r_list;
1: + struct kref ref;
1: + unsigned int cnt_events;
1: + unsigned int cnt_text_lost;
1: +};
1: +
1: +struct mon_reader {
1: + struct list_head r_link;
1: + struct mon_bus *m_bus;
1: + void *r_data;
1: + void (*rnf_submit)(void *, struct urb *);
1: + void (*rnf_error)(void *, struct urb *, int);
1: + void (*rnf_complete)(void *, struct urb *, int);
1: +};
1: +
1: +struct snap {
1: + int slen;
1: + char str[80];
1: +};
1: +
1: +struct mon_iso_desc {
1: + int status;
1: + unsigned int offset;
1: + unsigned int length;
1: +};
1: +
1: +struct mon_event_text {
1: + struct list_head e_link;
1: + int type;
1: + long unsigned int id;
1: + unsigned int tstamp;
1: + int busnum;
1: + char devnum;
1: + char epnum;
1: + char is_in;
1: + char xfertype;
1: + int length;
1: + int status;
1: + int interval;
1: + int start_frame;
1: + int error_count;
1: + char setup_flag;
1: + char data_flag;
1: + int numdesc;
1: + struct mon_iso_desc isodesc[5];
1: + unsigned char setup[8];
1: + unsigned char data[32];
1: +};
1: +
1: +struct mon_reader_text {
1: + struct kmem_cache *e_slab;
1: + int nevents;
1: + struct list_head e_list;
1: + struct mon_reader r;
1: + wait_queue_head_t wait;
1: + int printf_size;
1: + size_t printf_offset;
1: + size_t printf_togo;
1: + char *printf_buf;
1: + struct mutex printf_lock;
1: + char slab_name[30];
1: +};
1: +
1: +struct mon_text_ptr {
1: + int cnt;
1: + int limit;
1: + char *pbuf;
1: +};
1: +
1: +struct iso_rec {
1: + int error_count;
1: + int numdesc;
1: +};
1: +
1: +struct mon_bin_hdr {
1: + u64 id;
1: + unsigned char type;
1: + unsigned char xfer_type;
1: + unsigned char epnum;
1: + unsigned char devnum;
1: + short unsigned int busnum;
1: + char flag_setup;
1: + char flag_data;
1: + s64 ts_sec;
1: + s32 ts_usec;
1: + int status;
1: + unsigned int len_urb;
1: + unsigned int len_cap;
1: + union {
1: + unsigned char setup[8];
1: + struct iso_rec iso;
1: + } s;
1: + int interval;
1: + int start_frame;
1: + unsigned int xfer_flags;
1: + unsigned int ndesc;
1: +};
1: +
1: +struct mon_bin_isodesc {
1: + int iso_status;
1: + unsigned int iso_off;
1: + unsigned int iso_len;
1: + u32 _pad;
1: +};
1: +
1: +struct mon_bin_stats {
1: + u32 queued;
1: + u32 dropped;
1: +};
1: +
1: +struct mon_bin_get {
1: + struct mon_bin_hdr *hdr;
1: + void *data;
1: + size_t alloc;
1: +};
1: +
1: +struct mon_bin_mfetch {
1: + u32 *offvec;
1: + u32 nfetch;
1: + u32 nflush;
1: +};
1: +
1: +struct mon_bin_get32 {
1: + u32 hdr32;
1: + u32 data32;
1: + u32 alloc32;
1: +};
1: +
1: +struct mon_bin_mfetch32 {
1: + u32 offvec32;
1: + u32 nfetch32;
1: + u32 nflush32;
1: +};
1: +
1: +struct mon_pgmap {
1: + struct page *pg;
1: + unsigned char *ptr;
1: +};
1: +
1: +struct mon_reader_bin {
1: + spinlock_t b_lock;
1: + unsigned int b_size;
1: + unsigned int b_cnt;
1: + unsigned int b_in;
1: + unsigned int b_out;
1: + unsigned int b_read;
1: + struct mon_pgmap *b_vec;
1: + wait_queue_head_t b_wait;
1: + struct mutex fetch_lock;
1: + int mmap_active;
1: + struct mon_reader r;
1: + unsigned int cnt_lost;
1: +};
1: +
1: +enum amd_chipset_gen {
1: + NOT_AMD_CHIPSET = 0,
1: + AMD_CHIPSET_SB600 = 1,
1: + AMD_CHIPSET_SB700 = 2,
1: + AMD_CHIPSET_SB800 = 3,
1: + AMD_CHIPSET_HUDSON2 = 4,
1: + AMD_CHIPSET_BOLTON = 5,
1: + AMD_CHIPSET_YANGTZE = 6,
1: + AMD_CHIPSET_TAISHAN = 7,
1: + AMD_CHIPSET_UNKNOWN = 8,
1: +};
1: +
1: +struct amd_chipset_type {
1: + enum amd_chipset_gen gen;
1: + u8 rev;
1: +};
1: +
1: +struct amd_chipset_info {
1: + struct pci_dev *nb_dev;
1: + struct pci_dev *smbus_dev;
1: + int nb_type;
1: + struct amd_chipset_type sb_type;
1: + int isoc_reqs;
1: + int probe_count;
1: + bool need_pll_quirk;
1: +};
1: +
1: +struct ehci_per_sched {
1: + struct usb_device *udev;
1: + struct usb_host_endpoint *ep;
1: + struct list_head ps_list;
1: + u16 tt_usecs;
1: + u16 cs_mask;
1: + u16 period;
1: + u16 phase;
1: + u8 bw_phase;
1: + u8 phase_uf;
1: + u8 usecs;
1: + u8 c_usecs;
1: + u8 bw_uperiod;
1: + u8 bw_period;
1: +};
1: +
1: +enum ehci_rh_state {
1: + EHCI_RH_HALTED = 0,
1: + EHCI_RH_SUSPENDED = 1,
1: + EHCI_RH_RUNNING = 2,
1: + EHCI_RH_STOPPING = 3,
1: +};
1: +
1: +enum ehci_hrtimer_event {
1: + EHCI_HRTIMER_POLL_ASS = 0,
1: + EHCI_HRTIMER_POLL_PSS = 1,
1: + EHCI_HRTIMER_POLL_DEAD = 2,
1: + EHCI_HRTIMER_UNLINK_INTR = 3,
1: + EHCI_HRTIMER_FREE_ITDS = 4,
1: + EHCI_HRTIMER_ACTIVE_UNLINK = 5,
1: + EHCI_HRTIMER_START_UNLINK_INTR = 6,
1: + EHCI_HRTIMER_ASYNC_UNLINKS = 7,
1: + EHCI_HRTIMER_IAA_WATCHDOG = 8,
1: + EHCI_HRTIMER_DISABLE_PERIODIC = 9,
1: + EHCI_HRTIMER_DISABLE_ASYNC = 10,
1: + EHCI_HRTIMER_IO_WATCHDOG = 11,
1: + EHCI_HRTIMER_NUM_EVENTS = 12,
1: +};
1: +
1: +struct ehci_caps;
1: +
1: +struct ehci_regs;
1: +
1: +struct ehci_dbg_port;
1: +
1: +struct ehci_qh;
1: +
1: +union ehci_shadow;
1: +
1: +struct ehci_itd;
1: +
1: +struct ehci_sitd;
1: +
1: +struct ehci_hcd {
1: + enum ehci_hrtimer_event next_hrtimer_event;
1: + unsigned int enabled_hrtimer_events;
1: + ktime_t hr_timeouts[12];
1: + struct hrtimer hrtimer;
1: + int PSS_poll_count;
1: + int ASS_poll_count;
1: + int died_poll_count;
1: + struct ehci_caps *caps;
1: + struct ehci_regs *regs;
1: + struct ehci_dbg_port *debug;
1: + __u32 hcs_params;
1: + spinlock_t lock;
1: + enum ehci_rh_state rh_state;
1: + bool scanning: 1;
1: + bool need_rescan: 1;
1: + bool intr_unlinking: 1;
1: + bool iaa_in_progress: 1;
1: + bool async_unlinking: 1;
1: + bool shutdown: 1;
1: + struct ehci_qh *qh_scan_next;
1: + struct ehci_qh *async;
1: + struct ehci_qh *dummy;
1: + struct list_head async_unlink;
1: + struct list_head async_idle;
1: + unsigned int async_unlink_cycle;
1: + unsigned int async_count;
1: + __le32 old_current;
1: + __le32 old_token;
1: + unsigned int periodic_size;
1: + __le32 *periodic;
1: + dma_addr_t periodic_dma;
1: + struct list_head intr_qh_list;
1: + unsigned int i_thresh;
1: + union ehci_shadow *pshadow;
1: + struct list_head intr_unlink_wait;
1: + struct list_head intr_unlink;
1: + unsigned int intr_unlink_wait_cycle;
1: + unsigned int intr_unlink_cycle;
1: + unsigned int now_frame;
1: + unsigned int last_iso_frame;
1: + unsigned int intr_count;
1: + unsigned int isoc_count;
1: + unsigned int periodic_count;
1: + unsigned int uframe_periodic_max;
1: + struct list_head cached_itd_list;
1: + struct ehci_itd *last_itd_to_free;
1: + struct list_head cached_sitd_list;
1: + struct ehci_sitd *last_sitd_to_free;
1: + long unsigned int reset_done[15];
1: + long unsigned int bus_suspended;
1: + long unsigned int companion_ports;
1: + long unsigned int owned_ports;
1: + long unsigned int port_c_suspend;
1: + long unsigned int suspended_ports;
1: + long unsigned int resuming_ports;
1: + struct dma_pool___2 *qh_pool;
1: + struct dma_pool___2 *qtd_pool;
1: + struct dma_pool___2 *itd_pool;
1: + struct dma_pool___2 *sitd_pool;
1: + unsigned int random_frame;
1: + long unsigned int next_statechange;
1: + ktime_t last_periodic_enable;
1: + u32 command;
1: + unsigned int no_selective_suspend: 1;
1: + unsigned int has_fsl_port_bug: 1;
1: + unsigned int has_fsl_hs_errata: 1;
1: + unsigned int has_fsl_susp_errata: 1;
1: + unsigned int big_endian_mmio: 1;
1: + unsigned int big_endian_desc: 1;
1: + unsigned int big_endian_capbase: 1;
1: + unsigned int has_amcc_usb23: 1;
1: + unsigned int need_io_watchdog: 1;
1: + unsigned int amd_pll_fix: 1;
1: + unsigned int use_dummy_qh: 1;
1: + unsigned int has_synopsys_hc_bug: 1;
1: + unsigned int frame_index_bug: 1;
1: + unsigned int need_oc_pp_cycle: 1;
1: + unsigned int imx28_write_fix: 1;
1: + __le32 *ohci_hcctrl_reg;
1: + unsigned int has_hostpc: 1;
1: + unsigned int has_tdi_phy_lpm: 1;
1: + unsigned int has_ppcd: 1;
1: + u8 sbrn;
1: + u8 bandwidth[64];
1: + u8 tt_budget[64];
1: + struct list_head tt_list;
1: + long unsigned int priv[0];
1: +};
1: +
1: +struct ehci_caps {
1: + u32 hc_capbase;
1: + u32 hcs_params;
1: + u32 hcc_params;
1: + u8 portroute[8];
1: +};
1: +
1: +struct ehci_regs {
1: + u32 command;
1: + u32 status;
1: + u32 intr_enable;
1: + u32 frame_index;
1: + u32 segment;
1: + u32 frame_list;
1: + u32 async_next;
1: + u32 reserved1[2];
1: + u32 txfill_tuning;
1: + u32 reserved2[6];
1: + u32 configured_flag;
1: + u32 port_status[0];
1: + u32 reserved3[9];
1: + u32 usbmode;
1: + u32 reserved4[6];
1: + u32 hostpc[0];
1: + u32 reserved5[17];
1: + u32 usbmode_ex;
1: +};
1: +
1: +struct ehci_dbg_port {
1: + u32 control;
1: + u32 pids;
1: + u32 data03;
1: + u32 data47;
1: + u32 address;
1: +};
1: +
1: +struct ehci_fstn;
1: +
1: +union ehci_shadow {
1: + struct ehci_qh *qh;
1: + struct ehci_itd *itd;
1: + struct ehci_sitd *sitd;
1: + struct ehci_fstn *fstn;
1: + __le32 *hw_next;
1: + void *ptr;
1: +};
1: +
1: +struct ehci_qh_hw;
1: +
1: +struct ehci_qtd;
1: +
1: +struct ehci_qh {
1: + struct ehci_qh_hw *hw;
1: + dma_addr_t qh_dma;
1: + union ehci_shadow qh_next;
1: + struct list_head qtd_list;
1: + struct list_head intr_node;
1: + struct ehci_qtd *dummy;
1: + struct list_head unlink_node;
1: + struct ehci_per_sched ps;
1: + unsigned int unlink_cycle;
1: + u8 qh_state;
1: + u8 xacterrs;
1: + u8 unlink_reason;
1: + u8 gap_uf;
1: + unsigned int is_out: 1;
1: + unsigned int clearing_tt: 1;
1: + unsigned int dequeue_during_giveback: 1;
1: + unsigned int should_be_inactive: 1;
1: +};
1: +
1: +struct ehci_iso_stream;
1: +
1: +struct ehci_itd {
1: + __le32 hw_next;
1: + __le32 hw_transaction[8];
1: + __le32 hw_bufp[7];
1: + __le32 hw_bufp_hi[7];
1: + dma_addr_t itd_dma;
1: + union ehci_shadow itd_next;
1: + struct urb *urb;
1: + struct ehci_iso_stream *stream;
1: + struct list_head itd_list;
1: + unsigned int frame;
1: + unsigned int pg;
1: + unsigned int index[8];
1: + long: 64;
1: +};
1: +
1: +struct ehci_sitd {
1: + __le32 hw_next;
1: + __le32 hw_fullspeed_ep;
1: + __le32 hw_uframe;
1: + __le32 hw_results;
1: + __le32 hw_buf[2];
1: + __le32 hw_backpointer;
1: + __le32 hw_buf_hi[2];
1: + dma_addr_t sitd_dma;
1: + union ehci_shadow sitd_next;
1: + struct urb *urb;
1: + struct ehci_iso_stream *stream;
1: + struct list_head sitd_list;
1: + unsigned int frame;
1: + unsigned int index;
1: +};
1: +
1: +struct ehci_qtd {
1: + __le32 hw_next;
1: + __le32 hw_alt_next;
1: + __le32 hw_token;
1: + __le32 hw_buf[5];
1: + __le32 hw_buf_hi[5];
1: + dma_addr_t qtd_dma;
1: + struct list_head qtd_list;
1: + struct urb *urb;
1: + size_t length;
1: +};
1: +
1: +struct ehci_fstn {
1: + __le32 hw_next;
1: + __le32 hw_prev;
1: + dma_addr_t fstn_dma;
1: + union ehci_shadow fstn_next;
1: + long: 64;
1: +};
1: +
1: +struct ehci_qh_hw {
1: + __le32 hw_next;
1: + __le32 hw_info1;
1: + __le32 hw_info2;
1: + __le32 hw_current;
1: + __le32 hw_qtd_next;
1: + __le32 hw_alt_next;
1: + __le32 hw_token;
1: + __le32 hw_buf[5];
1: + __le32 hw_buf_hi[5];
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct ehci_iso_packet {
1: + u64 bufp;
1: + __le32 transaction;
1: + u8 cross;
1: + u32 buf1;
1: +};
1: +
1: +struct ehci_iso_sched {
1: + struct list_head td_list;
1: + unsigned int span;
1: + unsigned int first_packet;
1: + struct ehci_iso_packet packet[0];
1: +};
1: +
1: +struct ehci_iso_stream {
1: + struct ehci_qh_hw *hw;
1: + u8 bEndpointAddress;
1: + u8 highspeed;
1: + struct list_head td_list;
1: + struct list_head free_list;
1: + struct ehci_per_sched ps;
1: + unsigned int next_uframe;
1: + __le32 splits;
1: + u16 uperiod;
1: + u16 maxp;
1: + unsigned int bandwidth;
1: + __le32 buf0;
1: + __le32 buf1;
1: + __le32 buf2;
1: + __le32 address;
1: +};
1: +
1: +struct ehci_tt {
1: + u16 bandwidth[8];
1: + struct list_head tt_list;
1: + struct list_head ps_list;
1: + struct usb_tt *usb_tt;
1: + int tt_port;
1: +};
1: +
1: +struct ehci_driver_overrides {
1: + size_t extra_priv_size;
1: + int (*reset)(struct usb_hcd *);
1: + int (*port_power)(struct usb_hcd *, int, bool);
1: +};
1: +
1: +typedef __u32 __hc32;
1: +
1: +typedef __u16 __hc16;
1: +
1: +struct td;
1: +
1: +struct ed {
1: + __hc32 hwINFO;
1: + __hc32 hwTailP;
1: + __hc32 hwHeadP;
1: + __hc32 hwNextED;
1: + dma_addr_t dma;
1: + struct td *dummy;
1: + struct ed *ed_next;
1: + struct ed *ed_prev;
1: + struct list_head td_list;
1: + struct list_head in_use_list;
1: + u8 state;
1: + u8 type;
1: + u8 branch;
1: + u16 interval;
1: + u16 load;
1: + u16 last_iso;
1: + u16 tick;
1: + unsigned int takeback_wdh_cnt;
1: + struct td *pending_td;
1: + long: 64;
1: +};
1: +
1: +struct td {
1: + __hc32 hwINFO;
1: + __hc32 hwCBP;
1: + __hc32 hwNextTD;
1: + __hc32 hwBE;
1: + __hc16 hwPSW[2];
1: + __u8 index;
1: + struct ed *ed;
1: + struct td *td_hash;
1: + struct td *next_dl_td;
1: + struct urb *urb;
1: + dma_addr_t td_dma;
1: + dma_addr_t data_dma;
1: + struct list_head td_list;
1: + long: 64;
1: +};
1: +
1: +struct ohci_hcca {
1: + __hc32 int_table[32];
1: + __hc32 frame_no;
1: + __hc32 done_head;
1: + u8 reserved_for_hc[116];
1: + u8 what[4];
1: +};
1: +
1: +struct ohci_roothub_regs {
1: + __hc32 a;
1: + __hc32 b;
1: + __hc32 status;
1: + __hc32 portstatus[15];
1: +};
1: +
1: +struct ohci_regs {
1: + __hc32 revision;
1: + __hc32 control;
1: + __hc32 cmdstatus;
1: + __hc32 intrstatus;
1: + __hc32 intrenable;
1: + __hc32 intrdisable;
1: + __hc32 hcca;
1: + __hc32 ed_periodcurrent;
1: + __hc32 ed_controlhead;
1: + __hc32 ed_controlcurrent;
1: + __hc32 ed_bulkhead;
1: + __hc32 ed_bulkcurrent;
1: + __hc32 donehead;
1: + __hc32 fminterval;
1: + __hc32 fmremaining;
1: + __hc32 fmnumber;
1: + __hc32 periodicstart;
1: + __hc32 lsthresh;
1: + struct ohci_roothub_regs roothub;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct urb_priv {
1: + struct ed *ed;
1: + u16 length;
1: + u16 td_cnt;
1: + struct list_head pending;
1: + struct td *td[0];
1: +};
1: +
1: +typedef struct urb_priv urb_priv_t;
1: +
1: +enum ohci_rh_state {
1: + OHCI_RH_HALTED = 0,
1: + OHCI_RH_SUSPENDED = 1,
1: + OHCI_RH_RUNNING = 2,
1: +};
1: +
1: +struct ohci_hcd {
1: + spinlock_t lock;
1: + struct ohci_regs *regs;
1: + struct ohci_hcca *hcca;
1: + dma_addr_t hcca_dma;
1: + struct ed *ed_rm_list;
1: + struct ed *ed_bulktail;
1: + struct ed *ed_controltail;
1: + struct ed *periodic[32];
1: + void (*start_hnp)(struct ohci_hcd *);
1: + struct dma_pool___2 *td_cache;
1: + struct dma_pool___2 *ed_cache;
1: + struct td *td_hash[64];
1: + struct td *dl_start;
1: + struct td *dl_end;
1: + struct list_head pending;
1: + struct list_head eds_in_use;
1: + enum ohci_rh_state rh_state;
1: + int num_ports;
1: + int load[32];
1: + u32 hc_control;
1: + long unsigned int next_statechange;
1: + u32 fminterval;
1: + unsigned int autostop: 1;
1: + unsigned int working: 1;
1: + unsigned int restart_work: 1;
1: + long unsigned int flags;
1: + unsigned int prev_frame_no;
1: + unsigned int wdh_cnt;
1: + unsigned int prev_wdh_cnt;
1: + u32 prev_donehead;
1: + struct timer_list io_watchdog;
1: + struct work_struct nec_work;
1: + struct dentry *debug_dir;
1: + long unsigned int priv[0];
1: +};
1: +
1: +struct ohci_driver_overrides {
1: + const char *product_desc;
1: + size_t extra_priv_size;
1: + int (*reset)(struct usb_hcd *);
1: +};
1: +
1: +struct debug_buffer {
1: + ssize_t (*fill_func)(struct debug_buffer *);
1: + struct ohci_hcd *ohci;
1: + struct mutex mutex;
1: + size_t count;
1: + char *page;
1: +};
1: +
1: +struct uhci_td;
1: +
1: +struct uhci_qh {
1: + __le32 link;
1: + __le32 element;
1: + dma_addr_t dma_handle;
1: + struct list_head node;
1: + struct usb_host_endpoint *hep;
1: + struct usb_device *udev;
1: + struct list_head queue;
1: + struct uhci_td *dummy_td;
1: + struct uhci_td *post_td;
1: + struct usb_iso_packet_descriptor *iso_packet_desc;
1: + long unsigned int advance_jiffies;
1: + unsigned int unlink_frame;
1: + unsigned int period;
1: + short int phase;
1: + short int load;
1: + unsigned int iso_frame;
1: + int state;
1: + int type;
1: + int skel;
1: + unsigned int initial_toggle: 1;
1: + unsigned int needs_fixup: 1;
1: + unsigned int is_stopped: 1;
1: + unsigned int wait_expired: 1;
1: + unsigned int bandwidth_reserved: 1;
1: +};
1: +
1: +struct uhci_td {
1: + __le32 link;
1: + __le32 status;
1: + __le32 token;
1: + __le32 buffer;
1: + dma_addr_t dma_handle;
1: + struct list_head list;
1: + int frame;
1: + struct list_head fl_list;
1: +};
1: +
1: +enum uhci_rh_state {
1: + UHCI_RH_RESET = 0,
1: + UHCI_RH_SUSPENDED = 1,
1: + UHCI_RH_AUTO_STOPPED = 2,
1: + UHCI_RH_RESUMING = 3,
1: + UHCI_RH_SUSPENDING = 4,
1: + UHCI_RH_RUNNING = 5,
1: + UHCI_RH_RUNNING_NODEVS = 6,
1: +};
1: +
1: +struct uhci_hcd {
1: + struct dentry *dentry;
1: + long unsigned int io_addr;
1: + void *regs;
1: + struct dma_pool___2 *qh_pool;
1: + struct dma_pool___2 *td_pool;
1: + struct uhci_td *term_td;
1: + struct uhci_qh *skelqh[11];
1: + struct uhci_qh *next_qh;
1: + spinlock_t lock;
1: + dma_addr_t frame_dma_handle;
1: + __le32 *frame;
1: + void **frame_cpu;
1: + enum uhci_rh_state rh_state;
1: + long unsigned int auto_stop_time;
1: + unsigned int frame_number;
1: + unsigned int is_stopped;
1: + unsigned int last_iso_frame;
1: + unsigned int cur_iso_frame;
1: + unsigned int scan_in_progress: 1;
1: + unsigned int need_rescan: 1;
1: + unsigned int dead: 1;
1: + unsigned int RD_enable: 1;
1: + unsigned int is_initialized: 1;
1: + unsigned int fsbr_is_on: 1;
1: + unsigned int fsbr_is_wanted: 1;
1: + unsigned int fsbr_expiring: 1;
1: + struct timer_list fsbr_timer;
1: + unsigned int oc_low: 1;
1: + unsigned int wait_for_hp: 1;
1: + unsigned int big_endian_mmio: 1;
1: + unsigned int big_endian_desc: 1;
1: + unsigned int is_aspeed: 1;
1: + long unsigned int port_c_suspend;
1: + long unsigned int resuming_ports;
1: + long unsigned int ports_timeout;
1: + struct list_head idle_qh_list;
1: + int rh_numports;
1: + wait_queue_head_t waitqh;
1: + int num_waiting;
1: + int total_load;
1: + short int load[32];
1: + struct clk *clk;
1: + void (*reset_hc)(struct uhci_hcd *);
1: + int (*check_and_reset_hc)(struct uhci_hcd *);
1: + void (*configure_hc)(struct uhci_hcd *);
1: + int (*resume_detect_interrupts_are_broken)(struct uhci_hcd *);
1: + int (*global_suspend_mode_is_broken)(struct uhci_hcd *);
1: +};
1: +
1: +struct urb_priv___2 {
1: + struct list_head node;
1: + struct urb *urb;
1: + struct uhci_qh *qh;
1: + struct list_head td_list;
1: + unsigned int fsbr: 1;
1: +};
1: +
1: +struct xhci_cap_regs {
1: + __le32 hc_capbase;
1: + __le32 hcs_params1;
1: + __le32 hcs_params2;
1: + __le32 hcs_params3;
1: + __le32 hcc_params;
1: + __le32 db_off;
1: + __le32 run_regs_off;
1: + __le32 hcc_params2;
1: +};
1: +
1: +struct xhci_op_regs {
1: + __le32 command;
1: + __le32 status;
1: + __le32 page_size;
1: + __le32 reserved1;
1: + __le32 reserved2;
1: + __le32 dev_notification;
1: + __le64 cmd_ring;
1: + __le32 reserved3[4];
1: + __le64 dcbaa_ptr;
1: + __le32 config_reg;
1: + __le32 reserved4[241];
1: + __le32 port_status_base;
1: + __le32 port_power_base;
1: + __le32 port_link_base;
1: + __le32 reserved5;
1: + __le32 reserved6[1016];
1: +};
1: +
1: +struct xhci_intr_reg {
1: + __le32 irq_pending;
1: + __le32 irq_control;
1: + __le32 erst_size;
1: + __le32 rsvd;
1: + __le64 erst_base;
1: + __le64 erst_dequeue;
1: +};
1: +
1: +struct xhci_run_regs {
1: + __le32 microframe_index;
1: + __le32 rsvd[7];
1: + struct xhci_intr_reg ir_set[128];
1: +};
1: +
1: +struct xhci_doorbell_array {
1: + __le32 doorbell[256];
1: +};
1: +
1: +struct xhci_container_ctx {
1: + unsigned int type;
1: + int size;
1: + u8 *bytes;
1: + dma_addr_t dma;
1: +};
1: +
1: +struct xhci_slot_ctx {
1: + __le32 dev_info;
1: + __le32 dev_info2;
1: + __le32 tt_info;
1: + __le32 dev_state;
1: + __le32 reserved[4];
1: +};
1: +
1: +struct xhci_ep_ctx {
1: + __le32 ep_info;
1: + __le32 ep_info2;
1: + __le64 deq;
1: + __le32 tx_info;
1: + __le32 reserved[3];
1: +};
1: +
1: +struct xhci_input_control_ctx {
1: + __le32 drop_flags;
1: + __le32 add_flags;
1: + __le32 rsvd2[6];
1: +};
1: +
1: +union xhci_trb;
1: +
1: +struct xhci_command {
1: + struct xhci_container_ctx *in_ctx;
1: + u32 status;
1: + int slot_id;
1: + struct completion *completion;
1: + union xhci_trb *command_trb;
1: + struct list_head cmd_list;
1: +};
1: +
1: +struct xhci_link_trb {
1: + __le64 segment_ptr;
1: + __le32 intr_target;
1: + __le32 control;
1: +};
1: +
1: +struct xhci_transfer_event {
1: + __le64 buffer;
1: + __le32 transfer_len;
1: + __le32 flags;
1: +};
1: +
1: +struct xhci_event_cmd {
1: + __le64 cmd_trb;
1: + __le32 status;
1: + __le32 flags;
1: +};
1: +
1: +struct xhci_generic_trb {
1: + __le32 field[4];
1: +};
1: +
1: +union xhci_trb {
1: + struct xhci_link_trb link;
1: + struct xhci_transfer_event trans_event;
1: + struct xhci_event_cmd event_cmd;
1: + struct xhci_generic_trb generic;
1: +};
1: +
1: +struct xhci_stream_ctx {
1: + __le64 stream_ring;
1: + __le32 reserved[2];
1: +};
1: +
1: +struct xhci_ring;
1: +
1: +struct xhci_stream_info {
1: + struct xhci_ring **stream_rings;
1: + unsigned int num_streams;
1: + struct xhci_stream_ctx *stream_ctx_array;
1: + unsigned int num_stream_ctxs;
1: + dma_addr_t ctx_array_dma;
1: + struct xarray trb_address_map;
1: + struct xhci_command *free_streams_command;
1: +};
1: +
1: +enum xhci_ring_type {
1: + TYPE_CTRL = 0,
1: + TYPE_ISOC = 1,
1: + TYPE_BULK = 2,
1: + TYPE_INTR = 3,
1: + TYPE_STREAM = 4,
1: + TYPE_COMMAND = 5,
1: + TYPE_EVENT = 6,
1: +};
1: +
1: +struct xhci_segment;
1: +
1: +struct xhci_ring {
1: + struct xhci_segment *first_seg;
1: + struct xhci_segment *last_seg;
1: + union xhci_trb *enqueue;
1: + struct xhci_segment *enq_seg;
1: + union xhci_trb *dequeue;
1: + struct xhci_segment *deq_seg;
1: + struct list_head td_list;
1: + u32 cycle_state;
1: + unsigned int err_count;
1: + unsigned int stream_id;
1: + unsigned int num_segs;
1: + unsigned int num_trbs_free;
1: + unsigned int num_trbs_free_temp;
1: + unsigned int bounce_buf_len;
1: + enum xhci_ring_type type;
1: + bool last_td_was_short;
1: + struct xarray *trb_address_map;
1: +};
1: +
1: +struct xhci_bw_info {
1: + unsigned int ep_interval;
1: + unsigned int mult;
1: + unsigned int num_packets;
1: + unsigned int max_packet_size;
1: + unsigned int max_esit_payload;
1: + unsigned int type;
1: +};
1: +
1: +struct xhci_hcd;
1: +
1: +struct xhci_virt_ep {
1: + struct xhci_ring *ring;
1: + struct xhci_stream_info *stream_info;
1: + struct xhci_ring *new_ring;
1: + unsigned int ep_state;
1: + struct list_head cancelled_td_list;
1: + struct timer_list stop_cmd_timer;
1: + struct xhci_hcd *xhci;
1: + struct xhci_segment *queued_deq_seg;
1: + union xhci_trb *queued_deq_ptr;
1: + bool skip;
1: + struct xhci_bw_info bw_info;
1: + struct list_head bw_endpoint_list;
1: + int next_frame_id;
1: + bool use_extended_tbc;
1: +};
1: +
1: +struct xhci_erst_entry;
1: +
1: +struct xhci_erst {
1: + struct xhci_erst_entry *entries;
1: + unsigned int num_entries;
1: + dma_addr_t erst_dma_addr;
1: + unsigned int erst_size;
1: +};
1: +
1: +struct s3_save {
1: + u32 command;
1: + u32 dev_nt;
1: + u64 dcbaa_ptr;
1: + u32 config_reg;
1: + u32 irq_pending;
1: + u32 irq_control;
1: + u32 erst_size;
1: + u64 erst_base;
1: + u64 erst_dequeue;
1: +};
1: +
1: +struct xhci_bus_state {
1: + long unsigned int bus_suspended;
1: + long unsigned int next_statechange;
1: + u32 port_c_suspend;
1: + u32 suspended_ports;
1: + u32 port_remote_wakeup;
1: + long unsigned int resume_done[31];
1: + long unsigned int resuming_ports;
1: + long unsigned int rexit_ports;
1: + struct completion rexit_done[31];
1: +};
1: +
1: +struct xhci_port;
1: +
1: +struct xhci_hub {
1: + struct xhci_port **ports;
1: + unsigned int num_ports;
1: + struct usb_hcd *hcd;
1: + struct xhci_bus_state bus_state;
1: + u8 maj_rev;
1: + u8 min_rev;
1: + u32 *psi;
1: + u8 psi_count;
1: + u8 psi_uid_count;
1: +};
1: +
1: +struct xhci_device_context_array;
1: +
1: +struct xhci_scratchpad;
1: +
1: +struct xhci_virt_device;
1: +
1: +struct xhci_root_port_bw_info;
1: +
1: +struct xhci_hcd {
1: + struct usb_hcd *main_hcd;
1: + struct usb_hcd *shared_hcd;
1: + struct xhci_cap_regs *cap_regs;
1: + struct xhci_op_regs *op_regs;
1: + struct xhci_run_regs *run_regs;
1: + struct xhci_doorbell_array *dba;
1: + struct xhci_intr_reg *ir_set;
1: + __u32 hcs_params1;
1: + __u32 hcs_params2;
1: + __u32 hcs_params3;
1: + __u32 hcc_params;
1: + __u32 hcc_params2;
1: + spinlock_t lock;
1: + u8 sbrn;
1: + u16 hci_version;
1: + u8 max_slots;
1: + u8 max_interrupters;
1: + u8 max_ports;
1: + u8 isoc_threshold;
1: + u32 imod_interval;
1: + int event_ring_max;
1: + int page_size;
1: + int page_shift;
1: + int msix_count;
1: + struct clk *clk;
1: + struct clk *reg_clk;
1: + struct xhci_device_context_array *dcbaa;
1: + struct xhci_ring *cmd_ring;
1: + unsigned int cmd_ring_state;
1: + struct list_head cmd_list;
1: + unsigned int cmd_ring_reserved_trbs;
1: + struct delayed_work cmd_timer;
1: + struct completion cmd_ring_stop_completion;
1: + struct xhci_command *current_cmd;
1: + struct xhci_ring *event_ring;
1: + struct xhci_erst erst;
1: + struct xhci_scratchpad *scratchpad;
1: + struct list_head lpm_failed_devs;
1: + struct mutex mutex;
1: + struct xhci_command *lpm_command;
1: + struct xhci_virt_device *devs[256];
1: + struct xhci_root_port_bw_info *rh_bw;
1: + struct dma_pool___2 *device_pool;
1: + struct dma_pool___2 *segment_pool;
1: + struct dma_pool___2 *small_streams_pool;
1: + struct dma_pool___2 *medium_streams_pool;
1: + unsigned int xhc_state;
1: + u32 command;
1: + struct s3_save s3;
1: + long long unsigned int quirks;
1: + unsigned int num_active_eps;
1: + unsigned int limit_active_eps;
1: + struct xhci_port *hw_ports;
1: + struct xhci_hub usb2_rhub;
1: + struct xhci_hub usb3_rhub;
1: + unsigned int hw_lpm_support: 1;
1: + unsigned int broken_suspend: 1;
1: + u32 *ext_caps;
1: + unsigned int num_ext_caps;
1: + struct timer_list comp_mode_recovery_timer;
1: + u32 port_status_u0;
1: + u16 test_mode;
1: + struct dentry *debugfs_root;
1: + struct dentry *debugfs_slots;
1: + struct list_head regset_list;
1: + void *dbc;
1: + long unsigned int priv[0];
1: +};
1: +
1: +struct xhci_segment {
1: + union xhci_trb *trbs;
1: + struct xhci_segment *next;
1: + dma_addr_t dma;
1: + dma_addr_t bounce_dma;
1: + void *bounce_buf;
1: + unsigned int bounce_offs;
1: + unsigned int bounce_len;
1: +};
1: +
1: +enum xhci_overhead_type {
1: + LS_OVERHEAD_TYPE = 0,
1: + FS_OVERHEAD_TYPE = 1,
1: + HS_OVERHEAD_TYPE = 2,
1: +};
1: +
1: +struct xhci_interval_bw {
1: + unsigned int num_packets;
1: + struct list_head endpoints;
1: + unsigned int overhead[3];
1: +};
1: +
1: +struct xhci_interval_bw_table {
1: + unsigned int interval0_esit_payload;
1: + struct xhci_interval_bw interval_bw[16];
1: + unsigned int bw_used;
1: + unsigned int ss_bw_in;
1: + unsigned int ss_bw_out;
1: +};
1: +
1: +struct xhci_tt_bw_info;
1: +
1: +struct xhci_virt_device {
1: + struct usb_device *udev;
1: + struct xhci_container_ctx *out_ctx;
1: + struct xhci_container_ctx *in_ctx;
1: + struct xhci_virt_ep eps[31];
1: + u8 fake_port;
1: + u8 real_port;
1: + struct xhci_interval_bw_table *bw_table;
1: + struct xhci_tt_bw_info *tt_info;
1: + long unsigned int flags;
1: + u16 current_mel;
1: + void *debugfs_private;
1: +};
1: +
1: +struct xhci_tt_bw_info {
1: + struct list_head tt_list;
1: + int slot_id;
1: + int ttport;
1: + struct xhci_interval_bw_table bw_table;
1: + int active_eps;
1: +};
1: +
1: +struct xhci_root_port_bw_info {
1: + struct list_head tts;
1: + unsigned int num_active_tts;
1: + struct xhci_interval_bw_table bw_table;
1: +};
1: +
1: +struct xhci_device_context_array {
1: + __le64 dev_context_ptrs[256];
1: + dma_addr_t dma;
1: +};
1: +
1: +enum xhci_setup_dev {
1: + SETUP_CONTEXT_ONLY = 0,
1: + SETUP_CONTEXT_ADDRESS = 1,
1: +};
1: +
1: +struct xhci_td {
1: + struct list_head td_list;
1: + struct list_head cancelled_td_list;
1: + struct urb *urb;
1: + struct xhci_segment *start_seg;
1: + union xhci_trb *first_trb;
1: + union xhci_trb *last_trb;
1: + struct xhci_segment *bounce_seg;
1: + bool urb_length_set;
1: +};
1: +
1: +struct xhci_dequeue_state {
1: + struct xhci_segment *new_deq_seg;
1: + union xhci_trb *new_deq_ptr;
1: + int new_cycle_state;
1: + unsigned int stream_id;
1: +};
1: +
1: +struct xhci_erst_entry {
1: + __le64 seg_addr;
1: + __le32 seg_size;
1: + __le32 rsvd;
1: +};
1: +
1: +struct xhci_scratchpad {
1: + u64 *sp_array;
1: + dma_addr_t sp_dma;
1: + void **sp_buffers;
1: +};
1: +
1: +struct urb_priv___3 {
1: + int num_tds;
1: + int num_tds_done;
1: + struct xhci_td td[0];
1: +};
1: +
1: +struct xhci_port {
1: + __le32 *addr;
1: + int hw_portnum;
1: + int hcd_portnum;
1: + struct xhci_hub *rhub;
1: +};
1: +
1: +struct xhci_driver_overrides {
1: + size_t extra_priv_size;
1: + int (*reset)(struct usb_hcd *);
1: + int (*start)(struct usb_hcd *);
1: +};
1: +
1: +typedef void (*xhci_get_quirks_t)(struct device *, struct xhci_hcd *);
1: +
1: +enum xhci_ep_reset_type {
1: + EP_HARD_RESET = 0,
1: + EP_SOFT_RESET = 1,
1: +};
1: +
1: +struct kfifo {
1: + union {
1: + struct __kfifo kfifo;
1: + unsigned char *type;
1: + const unsigned char *const_type;
1: + char (*rectype)[0];
1: + void *ptr;
1: + const void *ptr_const;
1: + };
1: + unsigned char buf[0];
1: +};
1: +
1: +struct dbc_regs {
1: + __le32 capability;
1: + __le32 doorbell;
1: + __le32 ersts;
1: + __le32 __reserved_0;
1: + __le64 erstba;
1: + __le64 erdp;
1: + __le32 control;
1: + __le32 status;
1: + __le32 portsc;
1: + __le32 __reserved_1;
1: + __le64 dccp;
1: + __le32 devinfo1;
1: + __le32 devinfo2;
1: +};
1: +
1: +struct dbc_str_descs {
1: + char string0[64];
1: + char manufacturer[64];
1: + char product[64];
1: + char serial[64];
1: +};
1: +
1: +enum dbc_state {
1: + DS_DISABLED = 0,
1: + DS_INITIALIZED = 1,
1: + DS_ENABLED = 2,
1: + DS_CONNECTED = 3,
1: + DS_CONFIGURED = 4,
1: + DS_STALLED = 5,
1: +};
1: +
1: +struct dbc_ep;
1: +
1: +struct dbc_request {
1: + void *buf;
1: + unsigned int length;
1: + dma_addr_t dma;
1: + void (*complete)(struct xhci_hcd *, struct dbc_request *);
1: + struct list_head list_pool;
1: + int status;
1: + unsigned int actual;
1: + struct dbc_ep *dep;
1: + struct list_head list_pending;
1: + dma_addr_t trb_dma;
1: + union xhci_trb *trb;
1: + unsigned int direction: 1;
1: +};
1: +
1: +struct xhci_dbc;
1: +
1: +struct dbc_ep {
1: + struct xhci_dbc *dbc;
1: + struct list_head list_pending;
1: + struct xhci_ring *ring;
1: + unsigned int direction: 1;
1: +};
1: +
1: +struct dbc_port {
1: + struct tty_port port;
1: + spinlock_t port_lock;
1: + struct list_head read_pool;
1: + struct list_head read_queue;
1: + unsigned int n_read;
1: + struct tasklet_struct push;
1: + struct list_head write_pool;
1: + struct kfifo write_fifo;
1: + bool registered;
1: + struct dbc_ep *in;
1: + struct dbc_ep *out;
1: +};
1: +
1: +struct xhci_dbc {
1: + spinlock_t lock;
1: + struct xhci_hcd *xhci;
1: + struct dbc_regs *regs;
1: + struct xhci_ring *ring_evt;
1: + struct xhci_ring *ring_in;
1: + struct xhci_ring *ring_out;
1: + struct xhci_erst erst;
1: + struct xhci_container_ctx *ctx;
1: + struct dbc_str_descs *string;
1: + dma_addr_t string_dma;
1: + size_t string_size;
1: + enum dbc_state state;
1: + struct delayed_work event_work;
1: + unsigned int resume_required: 1;
1: + struct dbc_ep eps[2];
1: + struct dbc_port port;
1: +};
1: +
1: +struct trace_event_raw_xhci_log_msg {
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_ctx {
1: + struct trace_entry ent;
1: + int ctx_64;
1: + unsigned int ctx_type;
1: + dma_addr_t ctx_dma;
1: + u8 *ctx_va;
1: + unsigned int ctx_ep_num;
1: + int slot_id;
1: + u32 __data_loc_ctx_data;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_trb {
1: + struct trace_entry ent;
1: + u32 type;
1: + u32 field0;
1: + u32 field1;
1: + u32 field2;
1: + u32 field3;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_free_virt_dev {
1: + struct trace_entry ent;
1: + void *vdev;
1: + long long unsigned int out_ctx;
1: + long long unsigned int in_ctx;
1: + u8 fake_port;
1: + u8 real_port;
1: + u16 current_mel;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_virt_dev {
1: + struct trace_entry ent;
1: + void *vdev;
1: + long long unsigned int out_ctx;
1: + long long unsigned int in_ctx;
1: + int devnum;
1: + int state;
1: + int speed;
1: + u8 portnum;
1: + u8 level;
1: + int slot_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_urb {
1: + struct trace_entry ent;
1: + void *urb;
1: + unsigned int pipe;
1: + unsigned int stream;
1: + int status;
1: + unsigned int flags;
1: + int num_mapped_sgs;
1: + int num_sgs;
1: + int length;
1: + int actual;
1: + int epnum;
1: + int dir_in;
1: + int type;
1: + int slot_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_ep_ctx {
1: + struct trace_entry ent;
1: + u32 info;
1: + u32 info2;
1: + u64 deq;
1: + u32 tx_info;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_slot_ctx {
1: + struct trace_entry ent;
1: + u32 info;
1: + u32 info2;
1: + u32 tt_info;
1: + u32 state;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_ctrl_ctx {
1: + struct trace_entry ent;
1: + u32 drop;
1: + u32 add;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_ring {
1: + struct trace_entry ent;
1: + u32 type;
1: + void *ring;
1: + dma_addr_t enq;
1: + dma_addr_t deq;
1: + dma_addr_t enq_seg;
1: + dma_addr_t deq_seg;
1: + unsigned int num_segs;
1: + unsigned int stream_id;
1: + unsigned int cycle_state;
1: + unsigned int num_trbs_free;
1: + unsigned int bounce_buf_len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_portsc {
1: + struct trace_entry ent;
1: + u32 portnum;
1: + u32 portsc;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_log_doorbell {
1: + struct trace_entry ent;
1: + u32 slot;
1: + u32 doorbell;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xhci_dbc_log_request {
1: + struct trace_entry ent;
1: + struct dbc_request *req;
1: + bool dir;
1: + unsigned int actual;
1: + unsigned int length;
1: + int status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_xhci_log_msg {
1: + u32 msg;
1: +};
1: +
1: +struct trace_event_data_offsets_xhci_log_ctx {
1: + u32 ctx_data;
1: +};
1: +
1: +struct trace_event_data_offsets_xhci_log_trb {};
1: +
1: +struct trace_event_data_offsets_xhci_log_free_virt_dev {};
1: +
1: +struct trace_event_data_offsets_xhci_log_virt_dev {};
1: +
1: +struct trace_event_data_offsets_xhci_log_urb {};
1: +
1: +struct trace_event_data_offsets_xhci_log_ep_ctx {};
1: +
1: +struct trace_event_data_offsets_xhci_log_slot_ctx {};
1: +
1: +struct trace_event_data_offsets_xhci_log_ctrl_ctx {};
1: +
1: +struct trace_event_data_offsets_xhci_log_ring {};
1: +
1: +struct trace_event_data_offsets_xhci_log_portsc {};
1: +
1: +struct trace_event_data_offsets_xhci_log_doorbell {};
1: +
1: +struct trace_event_data_offsets_xhci_dbc_log_request {};
1: +
1: +struct xhci_regset {
1: + char name[32];
1: + struct debugfs_regset32 regset;
1: + size_t nregs;
1: + struct list_head list;
1: +};
1: +
1: +struct xhci_file_map {
1: + const char *name;
1: + int (*show)(struct seq_file *, void *);
1: +};
1: +
1: +struct xhci_ep_priv {
1: + char name[32];
1: + struct dentry *root;
1: +};
1: +
1: +struct xhci_slot_priv {
1: + char name[32];
1: + struct dentry *root;
1: + struct xhci_ep_priv *eps[31];
1: + struct xhci_virt_device *dev;
1: +};
1: +
1: +struct usblp {
1: + struct usb_device *dev;
1: + struct mutex wmut;
1: + struct mutex mut;
1: + spinlock_t lock;
1: + char *readbuf;
1: + char *statusbuf;
1: + struct usb_anchor urbs;
1: + wait_queue_head_t rwait;
1: + wait_queue_head_t wwait;
1: + int readcount;
1: + int ifnum;
1: + struct usb_interface *intf;
1: + struct {
1: + int alt_setting;
1: + struct usb_endpoint_descriptor *epwrite;
1: + struct usb_endpoint_descriptor *epread;
1: + } protocol[4];
1: + int current_protocol;
1: + int minor;
1: + int wcomplete;
1: + int rcomplete;
1: + int wstatus;
1: + int rstatus;
1: + unsigned int quirks;
1: + unsigned int flags;
1: + unsigned char used;
1: + unsigned char present;
1: + unsigned char bidir;
1: + unsigned char no_paper;
1: + unsigned char *device_id_string;
1: +};
1: +
1: +struct quirk_printer_struct {
1: + __u16 vendorId;
1: + __u16 productId;
1: + unsigned int quirks;
1: +};
1: +
1: +enum {
1: + US_FL_SINGLE_LUN = 1,
1: + US_FL_NEED_OVERRIDE = 2,
1: + US_FL_SCM_MULT_TARG = 4,
1: + US_FL_FIX_INQUIRY = 8,
1: + US_FL_FIX_CAPACITY = 16,
1: + US_FL_IGNORE_RESIDUE = 32,
1: + US_FL_BULK32 = 64,
1: + US_FL_NOT_LOCKABLE = 128,
1: + US_FL_GO_SLOW = 256,
1: + US_FL_NO_WP_DETECT = 512,
1: + US_FL_MAX_SECTORS_64 = 1024,
1: + US_FL_IGNORE_DEVICE = 2048,
1: + US_FL_CAPACITY_HEURISTICS = 4096,
1: + US_FL_MAX_SECTORS_MIN = 8192,
1: + US_FL_BULK_IGNORE_TAG = 16384,
1: + US_FL_SANE_SENSE = 32768,
1: + US_FL_CAPACITY_OK = 65536,
1: + US_FL_BAD_SENSE = 131072,
1: + US_FL_NO_READ_DISC_INFO = 262144,
1: + US_FL_NO_READ_CAPACITY_16 = 524288,
1: + US_FL_INITIAL_READ10 = 1048576,
1: + US_FL_WRITE_CACHE = 2097152,
1: + US_FL_NEEDS_CAP16 = 4194304,
1: + US_FL_IGNORE_UAS = 8388608,
1: + US_FL_BROKEN_FUA = 16777216,
1: + US_FL_NO_ATA_1X = 33554432,
1: + US_FL_NO_REPORT_OPCODES = 67108864,
1: + US_FL_MAX_SECTORS_240 = 134217728,
1: + US_FL_NO_REPORT_LUNS = 268435456,
1: + US_FL_ALWAYS_SYNC = 536870912,
1: +};
1: +
1: +struct us_data;
1: +
1: +struct us_unusual_dev {
1: + const char *vendorName;
1: + const char *productName;
1: + __u8 useProtocol;
1: + __u8 useTransport;
1: + int (*initFunction)(struct us_data *);
1: +};
1: +
1: +typedef int (*trans_cmnd)(struct scsi_cmnd *, struct us_data *);
1: +
1: +typedef int (*trans_reset)(struct us_data *);
1: +
1: +typedef void (*proto_cmnd)(struct scsi_cmnd *, struct us_data *);
1: +
1: +typedef void (*extra_data_destructor)(void *);
1: +
1: +typedef void (*pm_hook)(struct us_data *, int);
1: +
1: +struct us_data {
1: + struct mutex dev_mutex;
1: + struct usb_device *pusb_dev;
1: + struct usb_interface *pusb_intf;
1: + struct us_unusual_dev *unusual_dev;
1: + long unsigned int fflags;
1: + long unsigned int dflags;
1: + unsigned int send_bulk_pipe;
1: + unsigned int recv_bulk_pipe;
1: + unsigned int send_ctrl_pipe;
1: + unsigned int recv_ctrl_pipe;
1: + unsigned int recv_intr_pipe;
1: + char *transport_name;
1: + char *protocol_name;
1: + __le32 bcs_signature;
1: + u8 subclass;
1: + u8 protocol;
1: + u8 max_lun;
1: + u8 ifnum;
1: + u8 ep_bInterval;
1: + trans_cmnd transport;
1: + trans_reset transport_reset;
1: + proto_cmnd proto_handler;
1: + struct scsi_cmnd *srb;
1: + unsigned int tag;
1: + char scsi_name[32];
1: + struct urb *current_urb;
1: + struct usb_ctrlrequest *cr;
1: + struct usb_sg_request current_sg;
1: + unsigned char *iobuf;
1: + dma_addr_t iobuf_dma;
1: + struct task_struct *ctl_thread;
1: + struct completion cmnd_ready;
1: + struct completion notify;
1: + wait_queue_head_t delay_wait;
1: + struct delayed_work scan_dwork;
1: + void *extra;
1: + extra_data_destructor extra_destructor;
1: + pm_hook suspend_resume_hook;
1: + int use_last_sector_hacks;
1: + int last_sector_retries;
1: +};
1: +
1: +enum xfer_buf_dir {
1: + TO_XFER_BUF = 0,
1: + FROM_XFER_BUF = 1,
1: +};
1: +
1: +struct bulk_cb_wrap {
1: + __le32 Signature;
1: + __u32 Tag;
1: + __le32 DataTransferLength;
1: + __u8 Flags;
1: + __u8 Lun;
1: + __u8 Length;
1: + __u8 CDB[16];
1: +};
1: +
1: +struct bulk_cs_wrap {
1: + __le32 Signature;
1: + __u32 Tag;
1: + __le32 Residue;
1: + __u8 Status;
1: +};
1: +
1: +struct swoc_info {
1: + __u8 rev;
1: + __u8 reserved[8];
1: + __u16 LinuxSKU;
1: + __u16 LinuxVer;
1: + __u8 reserved2[47];
1: +} __attribute__((packed));
1: +
1: +struct ignore_entry {
1: + u16 vid;
1: + u16 pid;
1: + u16 bcdmin;
1: + u16 bcdmax;
1: +};
1: +
1: +struct usb_debug_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDebugInEndpoint;
1: + __u8 bDebugOutEndpoint;
1: +};
1: +
1: +struct ehci_dev {
1: + u32 bus;
1: + u32 slot;
1: + u32 func;
1: +};
1: +
1: +typedef void (*set_debug_port_t)(int);
1: +
1: +struct usb_hcd___2;
1: +
1: +struct serio_device_id {
1: + __u8 type;
1: + __u8 extra;
1: + __u8 id;
1: + __u8 proto;
1: +};
1: +
1: +struct serio_driver;
1: +
1: +struct serio {
1: + void *port_data;
1: + char name[32];
1: + char phys[32];
1: + char firmware_id[128];
1: + bool manual_bind;
1: + struct serio_device_id id;
1: + spinlock_t lock;
1: + int (*write)(struct serio *, unsigned char);
1: + int (*open)(struct serio *);
1: + void (*close)(struct serio *);
1: + int (*start)(struct serio *);
1: + void (*stop)(struct serio *);
1: + struct serio *parent;
1: + struct list_head child_node;
1: + struct list_head children;
1: + unsigned int depth;
1: + struct serio_driver *drv;
1: + struct mutex drv_mutex;
1: + struct device dev;
1: + struct list_head node;
1: + struct mutex *ps2_cmd_mutex;
1: +};
1: +
1: +struct serio_driver {
1: + const char *description;
1: + const struct serio_device_id *id_table;
1: + bool manual_bind;
1: + void (*write_wakeup)(struct serio *);
1: + irqreturn_t (*interrupt)(struct serio *, unsigned char, unsigned int);
1: + int (*connect)(struct serio *, struct serio_driver *);
1: + int (*reconnect)(struct serio *);
1: + int (*fast_reconnect)(struct serio *);
1: + void (*disconnect)(struct serio *);
1: + void (*cleanup)(struct serio *);
1: + struct device_driver driver;
1: +};
1: +
1: +enum serio_event_type {
1: + SERIO_RESCAN_PORT = 0,
1: + SERIO_RECONNECT_PORT = 1,
1: + SERIO_RECONNECT_SUBTREE = 2,
1: + SERIO_REGISTER_PORT = 3,
1: + SERIO_ATTACH_DRIVER = 4,
1: +};
1: +
1: +struct serio_event {
1: + enum serio_event_type type;
1: + void *object;
1: + struct module *owner;
1: + struct list_head node;
1: +};
1: +
1: +enum i8042_controller_reset_mode {
1: + I8042_RESET_NEVER = 0,
1: + I8042_RESET_ALWAYS = 1,
1: + I8042_RESET_ON_S2RAM = 2,
1: +};
1: +
1: +struct i8042_port {
1: + struct serio *serio;
1: + int irq;
1: + bool exists;
1: + bool driver_bound;
1: + signed char mux;
1: +};
1: +
1: +struct serport {
1: + struct tty_struct *tty;
1: + wait_queue_head_t wait;
1: + struct serio *serio;
1: + struct serio_device_id id;
1: + spinlock_t lock;
1: + long unsigned int flags;
1: +};
1: +
1: +struct ps2dev {
1: + struct serio *serio;
1: + struct mutex cmd_mutex;
1: + wait_queue_head_t wait;
1: + long unsigned int flags;
1: + u8 cmdbuf[8];
1: + u8 cmdcnt;
1: + u8 nak;
1: +};
1: +
1: +struct input_mt_slot {
1: + int abs[14];
1: + unsigned int frame;
1: + unsigned int key;
1: +};
1: +
1: +struct input_mt {
1: + int trkid;
1: + int num_slots;
1: + int slot;
1: + unsigned int flags;
1: + unsigned int frame;
1: + int *red;
1: + struct input_mt_slot slots[0];
1: +};
1: +
1: +union input_seq_state {
1: + struct {
1: + short unsigned int pos;
1: + bool mutex_acquired;
1: + };
1: + void *p;
1: +};
1: +
1: +struct input_devres {
1: + struct input_dev *input;
1: +};
1: +
1: +struct input_event {
1: + __kernel_ulong_t __sec;
1: + __kernel_ulong_t __usec;
1: + __u16 type;
1: + __u16 code;
1: + __s32 value;
1: +};
1: +
1: +struct input_event_compat {
1: + compat_ulong_t sec;
1: + compat_ulong_t usec;
1: + __u16 type;
1: + __u16 code;
1: + __s32 value;
1: +};
1: +
1: +struct ff_periodic_effect_compat {
1: + __u16 waveform;
1: + __u16 period;
1: + __s16 magnitude;
1: + __s16 offset;
1: + __u16 phase;
1: + struct ff_envelope envelope;
1: + __u32 custom_len;
1: + compat_uptr_t custom_data;
1: +};
1: +
1: +struct ff_effect_compat {
1: + __u16 type;
1: + __s16 id;
1: + __u16 direction;
1: + struct ff_trigger trigger;
1: + struct ff_replay replay;
1: + union {
1: + struct ff_constant_effect constant;
1: + struct ff_ramp_effect ramp;
1: + struct ff_periodic_effect_compat periodic;
1: + struct ff_condition_effect condition[2];
1: + struct ff_rumble_effect rumble;
1: + } u;
1: +};
1: +
1: +struct input_mt_pos {
1: + s16 x;
1: + s16 y;
1: +};
1: +
1: +struct input_dev_poller {
1: + void (*poll)(struct input_dev *);
1: + unsigned int poll_interval;
1: + unsigned int poll_interval_max;
1: + unsigned int poll_interval_min;
1: + struct input_dev *input;
1: + struct delayed_work work;
1: +};
1: +
1: +struct ml_effect_state {
1: + struct ff_effect *effect;
1: + long unsigned int flags;
1: + int count;
1: + long unsigned int play_at;
1: + long unsigned int stop_at;
1: + long unsigned int adj_at;
1: +};
1: +
1: +struct ml_device {
1: + void *private;
1: + struct ml_effect_state states[16];
1: + int gain;
1: + struct timer_list timer;
1: + struct input_dev *dev;
1: + int (*play_effect)(struct input_dev *, void *, struct ff_effect *);
1: +};
1: +
1: +struct input_polled_dev {
1: + void *private;
1: + void (*open)(struct input_polled_dev *);
1: + void (*close)(struct input_polled_dev *);
1: + void (*poll)(struct input_polled_dev *);
1: + unsigned int poll_interval;
1: + unsigned int poll_interval_max;
1: + unsigned int poll_interval_min;
1: + struct input_dev *input;
1: + struct delayed_work work;
1: + bool devres_managed;
1: +};
1: +
1: +struct input_polled_devres {
1: + struct input_polled_dev *polldev;
1: +};
1: +
1: +struct key_entry {
1: + int type;
1: + u32 code;
1: + union {
1: + u16 keycode;
1: + struct {
1: + u8 code;
1: + u8 value;
1: + } sw;
1: + };
1: +};
1: +
1: +struct led_init_data {
1: + struct fwnode_handle *fwnode;
1: + const char *default_label;
1: + const char *devicename;
1: + bool devname_mandatory;
1: +};
1: +
1: +struct input_led {
1: + struct led_classdev cdev;
1: + struct input_handle *handle;
1: + unsigned int code;
1: +};
1: +
1: +struct input_leds {
1: + struct input_handle handle;
1: + unsigned int num_leds;
1: + struct input_led leds[0];
1: +};
1: +
1: +struct input_mask {
1: + __u32 type;
1: + __u32 codes_size;
1: + __u64 codes_ptr;
1: +};
1: +
1: +struct evdev_client;
1: +
1: +struct evdev {
1: + int open;
1: + struct input_handle handle;
1: + wait_queue_head_t wait;
1: + struct evdev_client *grab;
1: + struct list_head client_list;
1: + spinlock_t client_lock;
1: + struct mutex mutex;
1: + struct device dev;
1: + struct cdev cdev;
1: + bool exist;
1: +};
1: +
1: +struct evdev_client {
1: + unsigned int head;
1: + unsigned int tail;
1: + unsigned int packet_head;
1: + spinlock_t buffer_lock;
1: + struct fasync_struct *fasync;
1: + struct evdev *evdev;
1: + struct list_head node;
1: + enum input_clock_type clk_type;
1: + bool revoked;
1: + long unsigned int *evmasks[32];
1: + unsigned int bufsize;
1: + struct input_event buffer[0];
1: +};
1: +
1: +struct atkbd {
1: + struct ps2dev ps2dev;
1: + struct input_dev *dev;
1: + char name[64];
1: + char phys[32];
1: + short unsigned int id;
1: + short unsigned int keycode[512];
1: + long unsigned int force_release_mask[8];
1: + unsigned char set;
1: + bool translated;
1: + bool extra;
1: + bool write;
1: + bool softrepeat;
1: + bool softraw;
1: + bool scroll;
1: + bool enabled;
1: + unsigned char emul;
1: + bool resend;
1: + bool release;
1: + long unsigned int xl_bit;
1: + unsigned int last;
1: + long unsigned int time;
1: + long unsigned int err_count;
1: + struct delayed_work event_work;
1: + long unsigned int event_jiffies;
1: + long unsigned int event_mask;
1: + struct mutex mutex;
1: +};
1: +
1: +enum psmouse_state {
1: + PSMOUSE_IGNORE = 0,
1: + PSMOUSE_INITIALIZING = 1,
1: + PSMOUSE_RESYNCING = 2,
1: + PSMOUSE_CMD_MODE = 3,
1: + PSMOUSE_ACTIVATED = 4,
1: +};
1: +
1: +typedef enum {
1: + PSMOUSE_BAD_DATA = 0,
1: + PSMOUSE_GOOD_DATA = 1,
1: + PSMOUSE_FULL_PACKET = 2,
1: +} psmouse_ret_t;
1: +
1: +enum psmouse_scale {
1: + PSMOUSE_SCALE11 = 0,
1: + PSMOUSE_SCALE21 = 1,
1: +};
1: +
1: +enum psmouse_type {
1: + PSMOUSE_NONE = 0,
1: + PSMOUSE_PS2 = 1,
1: + PSMOUSE_PS2PP = 2,
1: + PSMOUSE_THINKPS = 3,
1: + PSMOUSE_GENPS = 4,
1: + PSMOUSE_IMPS = 5,
1: + PSMOUSE_IMEX = 6,
1: + PSMOUSE_SYNAPTICS = 7,
1: + PSMOUSE_ALPS = 8,
1: + PSMOUSE_LIFEBOOK = 9,
1: + PSMOUSE_TRACKPOINT = 10,
1: + PSMOUSE_TOUCHKIT_PS2 = 11,
1: + PSMOUSE_CORTRON = 12,
1: + PSMOUSE_HGPK = 13,
1: + PSMOUSE_ELANTECH = 14,
1: + PSMOUSE_FSP = 15,
1: + PSMOUSE_SYNAPTICS_RELATIVE = 16,
1: + PSMOUSE_CYPRESS = 17,
1: + PSMOUSE_FOCALTECH = 18,
1: + PSMOUSE_VMMOUSE = 19,
1: + PSMOUSE_BYD = 20,
1: + PSMOUSE_SYNAPTICS_SMBUS = 21,
1: + PSMOUSE_ELANTECH_SMBUS = 22,
1: + PSMOUSE_AUTO = 23,
1: +};
1: +
1: +struct psmouse;
1: +
1: +struct psmouse_protocol {
1: + enum psmouse_type type;
1: + bool maxproto;
1: + bool ignore_parity;
1: + bool try_passthru;
1: + bool smbus_companion;
1: + const char *name;
1: + const char *alias;
1: + int (*detect)(struct psmouse *, bool);
1: + int (*init)(struct psmouse *);
1: +};
1: +
1: +struct psmouse {
1: + void *private;
1: + struct input_dev *dev;
1: + struct ps2dev ps2dev;
1: + struct delayed_work resync_work;
1: + const char *vendor;
1: + const char *name;
1: + const struct psmouse_protocol *protocol;
1: + unsigned char packet[8];
1: + unsigned char badbyte;
1: + unsigned char pktcnt;
1: + unsigned char pktsize;
1: + unsigned char oob_data_type;
1: + unsigned char extra_buttons;
1: + bool acks_disable_command;
1: + unsigned int model;
1: + long unsigned int last;
1: + long unsigned int out_of_sync_cnt;
1: + long unsigned int num_resyncs;
1: + enum psmouse_state state;
1: + char devname[64];
1: + char phys[32];
1: + unsigned int rate;
1: + unsigned int resolution;
1: + unsigned int resetafter;
1: + unsigned int resync_time;
1: + bool smartscroll;
1: + psmouse_ret_t (*protocol_handler)(struct psmouse *);
1: + void (*set_rate)(struct psmouse *, unsigned int);
1: + void (*set_resolution)(struct psmouse *, unsigned int);
1: + void (*set_scale)(struct psmouse *, enum psmouse_scale);
1: + int (*reconnect)(struct psmouse *);
1: + int (*fast_reconnect)(struct psmouse *);
1: + void (*disconnect)(struct psmouse *);
1: + void (*cleanup)(struct psmouse *);
1: + int (*poll)(struct psmouse *);
1: + void (*pt_activate)(struct psmouse *);
1: + void (*pt_deactivate)(struct psmouse *);
1: +};
1: +
1: +struct psmouse_attribute {
1: + struct device_attribute dattr;
1: + void *data;
1: + ssize_t (*show)(struct psmouse *, void *, char *);
1: + ssize_t (*set)(struct psmouse *, void *, const char *, size_t);
1: + bool protect;
1: +};
1: +
1: +struct rmi_2d_axis_alignment {
1: + bool swap_axes;
1: + bool flip_x;
1: + bool flip_y;
1: + u16 clip_x_low;
1: + u16 clip_y_low;
1: + u16 clip_x_high;
1: + u16 clip_y_high;
1: + u16 offset_x;
1: + u16 offset_y;
1: + u8 delta_x_threshold;
1: + u8 delta_y_threshold;
1: +};
1: +
1: +enum rmi_sensor_type {
1: + rmi_sensor_default = 0,
1: + rmi_sensor_touchscreen = 1,
1: + rmi_sensor_touchpad = 2,
1: +};
1: +
1: +struct rmi_2d_sensor_platform_data {
1: + struct rmi_2d_axis_alignment axis_align;
1: + enum rmi_sensor_type sensor_type;
1: + int x_mm;
1: + int y_mm;
1: + int disable_report_mask;
1: + u16 rezero_wait;
1: + bool topbuttonpad;
1: + bool kernel_tracking;
1: + int dmax;
1: + int dribble;
1: + int palm_detect;
1: +};
1: +
1: +struct rmi_f30_data {
1: + bool buttonpad;
1: + bool trackstick_buttons;
1: + bool disable;
1: +};
1: +
1: +enum rmi_reg_state {
1: + RMI_REG_STATE_DEFAULT = 0,
1: + RMI_REG_STATE_OFF = 1,
1: + RMI_REG_STATE_ON = 2,
1: +};
1: +
1: +struct rmi_f01_power_management {
1: + enum rmi_reg_state nosleep;
1: + u8 wakeup_threshold;
1: + u8 doze_holdoff;
1: + u8 doze_interval;
1: +};
1: +
1: +struct rmi_device_platform_data_spi {
1: + u32 block_delay_us;
1: + u32 split_read_block_delay_us;
1: + u32 read_delay_us;
1: + u32 write_delay_us;
1: + u32 split_read_byte_delay_us;
1: + u32 pre_delay_us;
1: + u32 post_delay_us;
1: + u8 bits_per_word;
1: + u16 mode;
1: + void *cs_assert_data;
1: + int (*cs_assert)(const void *, const bool);
1: +};
1: +
1: +struct rmi_device_platform_data {
1: + int reset_delay_ms;
1: + int irq;
1: + struct rmi_device_platform_data_spi spi_data;
1: + struct rmi_2d_sensor_platform_data sensor_pdata;
1: + struct rmi_f01_power_management power_management;
1: + struct rmi_f30_data f30_data;
1: +};
1: +
1: +enum synaptics_pkt_type {
1: + SYN_NEWABS = 0,
1: + SYN_NEWABS_STRICT = 1,
1: + SYN_NEWABS_RELAXED = 2,
1: + SYN_OLDABS = 3,
1: +};
1: +
1: +struct synaptics_hw_state {
1: + int x;
1: + int y;
1: + int z;
1: + int w;
1: + unsigned int left: 1;
1: + unsigned int right: 1;
1: + unsigned int middle: 1;
1: + unsigned int up: 1;
1: + unsigned int down: 1;
1: + u8 ext_buttons;
1: + s8 scroll;
1: +};
1: +
1: +struct synaptics_device_info {
1: + u32 model_id;
1: + u32 firmware_id;
1: + u32 board_id;
1: + u32 capabilities;
1: + u32 ext_cap;
1: + u32 ext_cap_0c;
1: + u32 ext_cap_10;
1: + u32 identity;
1: + u32 x_res;
1: + u32 y_res;
1: + u32 x_max;
1: + u32 y_max;
1: + u32 x_min;
1: + u32 y_min;
1: +};
1: +
1: +struct synaptics_data {
1: + struct synaptics_device_info info;
1: + enum synaptics_pkt_type pkt_type;
1: + u8 mode;
1: + int scroll;
1: + bool absolute_mode;
1: + bool disable_gesture;
1: + struct serio *pt_port;
1: + struct synaptics_hw_state agm;
1: + unsigned int agm_count;
1: + long unsigned int press_start;
1: + bool press;
1: + bool report_press;
1: + bool is_forcepad;
1: +};
1: +
1: +struct min_max_quirk {
1: + const char * const *pnp_ids;
1: + struct {
1: + u32 min;
1: + u32 max;
1: + } board_id;
1: + u32 x_min;
1: + u32 x_max;
1: + u32 y_min;
1: + u32 y_max;
1: +};
1: +
1: +enum {
1: + SYNAPTICS_INTERTOUCH_NOT_SET = -1,
1: + SYNAPTICS_INTERTOUCH_OFF = 0,
1: + SYNAPTICS_INTERTOUCH_ON = 1,
1: +};
1: +
1: +struct focaltech_finger_state {
1: + bool active;
1: + bool valid;
1: + unsigned int x;
1: + unsigned int y;
1: +};
1: +
1: +struct focaltech_hw_state {
1: + struct focaltech_finger_state fingers[5];
1: + unsigned int width;
1: + bool pressed;
1: +};
1: +
1: +struct focaltech_data {
1: + unsigned int x_max;
1: + unsigned int y_max;
1: + struct focaltech_hw_state state;
1: +};
1: +
1: +enum SS4_PACKET_ID {
1: + SS4_PACKET_ID_IDLE = 0,
1: + SS4_PACKET_ID_ONE = 1,
1: + SS4_PACKET_ID_TWO = 2,
1: + SS4_PACKET_ID_MULTI = 3,
1: + SS4_PACKET_ID_STICK = 4,
1: +};
1: +
1: +enum V7_PACKET_ID {
1: + V7_PACKET_ID_IDLE = 0,
1: + V7_PACKET_ID_TWO = 1,
1: + V7_PACKET_ID_MULTI = 2,
1: + V7_PACKET_ID_NEW = 3,
1: + V7_PACKET_ID_UNKNOWN = 4,
1: +};
1: +
1: +struct alps_protocol_info {
1: + u16 version;
1: + u8 byte0;
1: + u8 mask0;
1: + unsigned int flags;
1: +};
1: +
1: +struct alps_model_info {
1: + u8 signature[3];
1: + struct alps_protocol_info protocol_info;
1: +};
1: +
1: +struct alps_nibble_commands {
1: + int command;
1: + unsigned char data;
1: +};
1: +
1: +struct alps_bitmap_point {
1: + int start_bit;
1: + int num_bits;
1: +};
1: +
1: +struct alps_fields {
1: + unsigned int x_map;
1: + unsigned int y_map;
1: + unsigned int fingers;
1: + int pressure;
1: + struct input_mt_pos st;
1: + struct input_mt_pos mt[4];
1: + unsigned int first_mp: 1;
1: + unsigned int is_mp: 1;
1: + unsigned int left: 1;
1: + unsigned int right: 1;
1: + unsigned int middle: 1;
1: + unsigned int ts_left: 1;
1: + unsigned int ts_right: 1;
1: + unsigned int ts_middle: 1;
1: +};
1: +
1: +struct alps_data {
1: + struct psmouse *psmouse;
1: + struct input_dev *dev2;
1: + struct input_dev *dev3;
1: + char phys2[32];
1: + char phys3[32];
1: + struct delayed_work dev3_register_work;
1: + const struct alps_nibble_commands *nibble_commands;
1: + int addr_command;
1: + u16 proto_version;
1: + u8 byte0;
1: + u8 mask0;
1: + u8 dev_id[3];
1: + u8 fw_ver[3];
1: + int flags;
1: + int x_max;
1: + int y_max;
1: + int x_bits;
1: + int y_bits;
1: + unsigned int x_res;
1: + unsigned int y_res;
1: + int (*hw_init)(struct psmouse *);
1: + void (*process_packet)(struct psmouse *);
1: + int (*decode_fields)(struct alps_fields *, unsigned char *, struct psmouse *);
1: + void (*set_abs_params)(struct alps_data *, struct input_dev *);
1: + int prev_fin;
1: + int multi_packet;
1: + int second_touch;
1: + unsigned char multi_data[6];
1: + struct alps_fields f;
1: + u8 quirks;
1: + struct timer_list timer;
1: +};
1: +
1: +struct byd_data {
1: + struct timer_list timer;
1: + struct psmouse *psmouse;
1: + s32 abs_x;
1: + s32 abs_y;
1: + volatile long unsigned int last_touch_time;
1: + bool btn_left;
1: + bool btn_right;
1: + bool touch;
1: +};
1: +
1: +struct ps2pp_info {
1: + u8 model;
1: + u8 kind;
1: + u16 features;
1: +};
1: +
1: +struct lifebook_data {
1: + struct input_dev *dev2;
1: + char phys[32];
1: +};
1: +
1: +struct trackpoint_data {
1: + u8 variant_id;
1: + u8 firmware_id;
1: + u8 sensitivity;
1: + u8 speed;
1: + u8 inertia;
1: + u8 reach;
1: + u8 draghys;
1: + u8 mindrag;
1: + u8 thresh;
1: + u8 upthresh;
1: + u8 ztime;
1: + u8 jenks;
1: + u8 drift_time;
1: + bool press_to_select;
1: + bool skipback;
1: + bool ext_dev;
1: +};
1: +
1: +struct trackpoint_attr_data {
1: + size_t field_offset;
1: + u8 command;
1: + u8 mask;
1: + bool inverted;
1: + u8 power_on_default;
1: +};
1: +
1: +struct cytp_contact {
1: + int x;
1: + int y;
1: + int z;
1: +};
1: +
1: +struct cytp_report_data {
1: + int contact_cnt;
1: + struct cytp_contact contacts[2];
1: + unsigned int left: 1;
1: + unsigned int right: 1;
1: + unsigned int middle: 1;
1: + unsigned int tap: 1;
1: +};
1: +
1: +struct cytp_data {
1: + int fw_version;
1: + int pkt_size;
1: + int mode;
1: + int tp_min_pressure;
1: + int tp_max_pressure;
1: + int tp_width;
1: + int tp_high;
1: + int tp_max_abs_x;
1: + int tp_max_abs_y;
1: + int tp_res_x;
1: + int tp_res_y;
1: + int tp_metrics_supported;
1: +};
1: +
1: +struct psmouse_smbus_dev {
1: + struct i2c_board_info board;
1: + struct psmouse *psmouse;
1: + struct i2c_client *client;
1: + struct list_head node;
1: + bool dead;
1: + bool need_deactivate;
1: +};
1: +
1: +struct psmouse_smbus_removal_work {
1: + struct work_struct work;
1: + struct i2c_client *client;
1: +};
1: +
1: +struct touchscreen_properties {
1: + unsigned int max_x;
1: + unsigned int max_y;
1: + bool invert_x;
1: + bool invert_y;
1: + bool swap_x_y;
1: +};
1: +
1: +struct trace_event_raw_rtc_time_alarm_class {
1: + struct trace_entry ent;
1: + time64_t secs;
1: + int err;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rtc_irq_set_freq {
1: + struct trace_entry ent;
1: + int freq;
1: + int err;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rtc_irq_set_state {
1: + struct trace_entry ent;
1: + int enabled;
1: + int err;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rtc_alarm_irq_enable {
1: + struct trace_entry ent;
1: + unsigned int enabled;
1: + int err;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rtc_offset_class {
1: + struct trace_entry ent;
1: + long int offset;
1: + int err;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rtc_timer_class {
1: + struct trace_entry ent;
1: + struct rtc_timer *timer;
1: + ktime_t expires;
1: + ktime_t period;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_rtc_time_alarm_class {};
1: +
1: +struct trace_event_data_offsets_rtc_irq_set_freq {};
1: +
1: +struct trace_event_data_offsets_rtc_irq_set_state {};
1: +
1: +struct trace_event_data_offsets_rtc_alarm_irq_enable {};
1: +
1: +struct trace_event_data_offsets_rtc_offset_class {};
1: +
1: +struct trace_event_data_offsets_rtc_timer_class {};
1: +
1: +enum {
1: + none = 0,
1: + day = 1,
1: + month = 2,
1: + year = 3,
1: +};
1: +
1: +struct nvmem_cell_info {
1: + const char *name;
1: + unsigned int offset;
1: + unsigned int bytes;
1: + unsigned int bit_offset;
1: + unsigned int nbits;
1: +};
1: +
1: +typedef int (*nvmem_reg_read_t)(void *, unsigned int, void *, size_t);
1: +
1: +typedef int (*nvmem_reg_write_t)(void *, unsigned int, void *, size_t);
1: +
1: +enum nvmem_type {
1: + NVMEM_TYPE_UNKNOWN = 0,
1: + NVMEM_TYPE_EEPROM = 1,
1: + NVMEM_TYPE_OTP = 2,
1: + NVMEM_TYPE_BATTERY_BACKED = 3,
1: +};
1: +
1: +struct nvmem_config {
1: + struct device *dev;
1: + const char *name;
1: + int id;
1: + struct module *owner;
1: + const struct nvmem_cell_info *cells;
1: + int ncells;
1: + enum nvmem_type type;
1: + bool read_only;
1: + bool root_only;
1: + bool no_of_node;
1: + nvmem_reg_read_t reg_read;
1: + nvmem_reg_write_t reg_write;
1: + int size;
1: + int word_size;
1: + int stride;
1: + void *priv;
1: + bool compat;
1: + struct device *base_dev;
1: +};
1: +
1: +struct nvmem_device;
1: +
1: +struct cmos_rtc_board_info {
1: + void (*wake_on)(struct device *);
1: + void (*wake_off)(struct device *);
1: + u32 flags;
1: + int address_space;
1: + u8 rtc_day_alarm;
1: + u8 rtc_mon_alarm;
1: + u8 rtc_century;
1: +};
1: +
1: +struct cmos_rtc {
1: + struct rtc_device *rtc;
1: + struct device *dev;
1: + int irq;
1: + struct resource *iomem;
1: + time64_t alarm_expires;
1: + void (*wake_on)(struct device *);
1: + void (*wake_off)(struct device *);
1: + u8 enabled_wake;
1: + u8 suspend_ctrl;
1: + u8 day_alrm;
1: + u8 mon_alrm;
1: + u8 century;
1: + struct rtc_wkalrm saved_wkalrm;
1: +};
1: +
1: +struct i2c_devinfo {
1: + struct list_head list;
1: + int busnum;
1: + struct i2c_board_info board_info;
1: +};
1: +
1: +struct i2c_device_identity {
1: + u16 manufacturer_id;
1: + u16 part_id;
1: + u8 die_revision;
1: +};
1: +
1: +struct i2c_timings {
1: + u32 bus_freq_hz;
1: + u32 scl_rise_ns;
1: + u32 scl_fall_ns;
1: + u32 scl_int_delay_ns;
1: + u32 sda_fall_ns;
1: + u32 sda_hold_ns;
1: + u32 digital_filter_width_ns;
1: + u32 analog_filter_cutoff_freq_hz;
1: +};
1: +
1: +struct trace_event_raw_i2c_write {
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 msg_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u16 len;
1: + u32 __data_loc_buf;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i2c_read {
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 msg_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u16 len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i2c_reply {
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 msg_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u16 len;
1: + u32 __data_loc_buf;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_i2c_result {
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 nr_msgs;
1: + __s16 ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_i2c_write {
1: + u32 buf;
1: +};
1: +
1: +struct trace_event_data_offsets_i2c_read {};
1: +
1: +struct trace_event_data_offsets_i2c_reply {
1: + u32 buf;
1: +};
1: +
1: +struct trace_event_data_offsets_i2c_result {};
1: +
1: +struct i2c_dummy_devres {
1: + struct i2c_client *client;
1: +};
1: +
1: +struct i2c_cmd_arg {
1: + unsigned int cmd;
1: + void *arg;
1: +};
1: +
1: +struct class_compat___2;
1: +
1: +struct i2c_smbus_alert_setup {
1: + int irq;
1: +};
1: +
1: +struct trace_event_raw_smbus_write {
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u8 command;
1: + __u8 len;
1: + __u32 protocol;
1: + __u8 buf[34];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_smbus_read {
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 flags;
1: + __u16 addr;
1: + __u8 command;
1: + __u32 protocol;
1: + __u8 buf[34];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_smbus_reply {
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u8 command;
1: + __u8 len;
1: + __u32 protocol;
1: + __u8 buf[34];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_smbus_result {
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u8 read_write;
1: + __u8 command;
1: + __s16 res;
1: + __u32 protocol;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_smbus_write {};
1: +
1: +struct trace_event_data_offsets_smbus_read {};
1: +
1: +struct trace_event_data_offsets_smbus_reply {};
1: +
1: +struct trace_event_data_offsets_smbus_result {};
1: +
1: +struct i2c_acpi_handler_data {
1: + struct acpi_connection_info info;
1: + struct i2c_adapter *adapter;
1: +};
1: +
1: +struct gsb_buffer {
1: + u8 status;
1: + u8 len;
1: + union {
1: + u16 wdata;
1: + u8 bdata;
1: + u8 data[0];
1: + };
1: +};
1: +
1: +struct i2c_acpi_lookup {
1: + struct i2c_board_info *info;
1: + acpi_handle adapter_handle;
1: + acpi_handle device_handle;
1: + acpi_handle search_handle;
1: + int n;
1: + int index;
1: + u32 speed;
1: + u32 min_speed;
1: + u32 force_speed;
1: +};
1: +
1: +struct i2c_smbus_alert {
1: + struct work_struct alert;
1: + struct i2c_client *ara;
1: +};
1: +
1: +struct alert_data {
1: + short unsigned int addr;
1: + enum i2c_alert_protocol type;
1: + unsigned int data;
1: +};
1: +
1: +struct itco_wdt_platform_data {
1: + char name[32];
1: + unsigned int version;
1: + void *no_reboot_priv;
1: + int (*update_no_reboot_bit)(void *, bool);
1: +};
1: +
1: +struct i801_priv {
1: + struct i2c_adapter adapter;
1: + long unsigned int smba;
1: + unsigned char original_hstcfg;
1: + unsigned char original_slvcmd;
1: + struct pci_dev *pci_dev;
1: + unsigned int features;
1: + wait_queue_head_t waitq;
1: + u8 status;
1: + u8 cmd;
1: + bool is_read;
1: + int count;
1: + int len;
1: + u8 *data;
1: + struct platform_device *tco_pdev;
1: + bool acpi_reserved;
1: + struct mutex acpi_lock;
1: +};
1: +
1: +struct dmi_onboard_device_info {
1: + const char *name;
1: + u8 type;
1: + short unsigned int i2c_addr;
1: + const char *i2c_type;
1: +};
1: +
1: +struct pps_ktime {
1: + __s64 sec;
1: + __s32 nsec;
1: + __u32 flags;
1: +};
1: +
1: +struct pps_ktime_compat {
1: + __s64 sec;
1: + __s32 nsec;
1: + __u32 flags;
1: +};
1: +
1: +struct pps_kinfo {
1: + __u32 assert_sequence;
1: + __u32 clear_sequence;
1: + struct pps_ktime assert_tu;
1: + struct pps_ktime clear_tu;
1: + int current_mode;
1: +};
1: +
1: +struct pps_kinfo_compat {
1: + __u32 assert_sequence;
1: + __u32 clear_sequence;
1: + struct pps_ktime_compat assert_tu;
1: + struct pps_ktime_compat clear_tu;
1: + int current_mode;
1: +} __attribute__((packed));
1: +
1: +struct pps_kparams {
1: + int api_version;
1: + int mode;
1: + struct pps_ktime assert_off_tu;
1: + struct pps_ktime clear_off_tu;
1: +};
1: +
1: +struct pps_fdata {
1: + struct pps_kinfo info;
1: + struct pps_ktime timeout;
1: +};
1: +
1: +struct pps_fdata_compat {
1: + struct pps_kinfo_compat info;
1: + struct pps_ktime_compat timeout;
1: +} __attribute__((packed));
1: +
1: +struct pps_bind_args {
1: + int tsformat;
1: + int edge;
1: + int consumer;
1: +};
1: +
1: +struct pps_device;
1: +
1: +struct pps_source_info {
1: + char name[32];
1: + char path[32];
1: + int mode;
1: + void (*echo)(struct pps_device *, int, void *);
1: + struct module *owner;
1: + struct device *dev;
1: +};
1: +
1: +struct pps_device {
1: + struct pps_source_info info;
1: + struct pps_kparams params;
1: + __u32 assert_sequence;
1: + __u32 clear_sequence;
1: + struct pps_ktime assert_tu;
1: + struct pps_ktime clear_tu;
1: + int current_mode;
1: + unsigned int last_ev;
1: + wait_queue_head_t queue;
1: + unsigned int id;
1: + const void *lookup_cookie;
1: + struct cdev cdev;
1: + struct device *dev;
1: + struct fasync_struct *async_queue;
1: + spinlock_t lock;
1: +};
1: +
1: +struct pps_event_time {
1: + struct timespec64 ts_real;
1: +};
1: +
1: +struct ptp_extts_event {
1: + struct ptp_clock_time t;
1: + unsigned int index;
1: + unsigned int flags;
1: + unsigned int rsv[2];
1: +};
1: +
1: +enum ptp_clock_events {
1: + PTP_CLOCK_ALARM = 0,
1: + PTP_CLOCK_EXTTS = 1,
1: + PTP_CLOCK_PPS = 2,
1: + PTP_CLOCK_PPSUSR = 3,
1: +};
1: +
1: +struct ptp_clock_event {
1: + int type;
1: + int index;
1: + union {
1: + u64 timestamp;
1: + struct pps_event_time pps_times;
1: + };
1: +};
1: +
1: +struct timestamp_event_queue {
1: + struct ptp_extts_event buf[128];
1: + int head;
1: + int tail;
1: + spinlock_t lock;
1: +};
1: +
1: +struct ptp_clock___2 {
1: + struct posix_clock clock;
1: + struct device dev;
1: + struct ptp_clock_info *info;
1: + dev_t devid;
1: + int index;
1: + struct pps_device *pps_source;
1: + long int dialed_frequency;
1: + struct timestamp_event_queue tsevq;
1: + struct mutex tsevq_mux;
1: + struct mutex pincfg_mux;
1: + wait_queue_head_t tsev_wq;
1: + int defunct;
1: + struct device_attribute *pin_dev_attr;
1: + struct attribute **pin_attr;
1: + struct attribute_group pin_attr_group;
1: + const struct attribute_group *pin_attr_groups[2];
1: + struct kthread_worker *kworker;
1: + struct kthread_delayed_work aux_work;
1: +};
1: +
1: +struct ptp_clock_caps {
1: + int max_adj;
1: + int n_alarm;
1: + int n_ext_ts;
1: + int n_per_out;
1: + int pps;
1: + int n_pins;
1: + int cross_timestamping;
1: + int rsv[13];
1: +};
1: +
1: +struct ptp_sys_offset {
1: + unsigned int n_samples;
1: + unsigned int rsv[3];
1: + struct ptp_clock_time ts[51];
1: +};
1: +
1: +struct ptp_sys_offset_extended {
1: + unsigned int n_samples;
1: + unsigned int rsv[3];
1: + struct ptp_clock_time ts[75];
1: +};
1: +
1: +struct ptp_sys_offset_precise {
1: + struct ptp_clock_time device;
1: + struct ptp_clock_time sys_realtime;
1: + struct ptp_clock_time sys_monoraw;
1: + unsigned int rsv[4];
1: +};
1: +
1: +enum power_supply_notifier_events {
1: + PSY_EVENT_PROP_CHANGED = 0,
1: +};
1: +
1: +struct power_supply_battery_ocv_table {
1: + int ocv;
1: + int capacity;
1: +};
1: +
1: +struct power_supply_battery_info {
1: + int energy_full_design_uwh;
1: + int charge_full_design_uah;
1: + int voltage_min_design_uv;
1: + int voltage_max_design_uv;
1: + int precharge_current_ua;
1: + int charge_term_current_ua;
1: + int constant_charge_current_max_ua;
1: + int constant_charge_voltage_max_uv;
1: + int factory_internal_resistance_uohm;
1: + int ocv_temp[20];
1: + struct power_supply_battery_ocv_table *ocv_table[20];
1: + int ocv_table_size[20];
1: +};
1: +
1: +struct psy_am_i_supplied_data {
1: + struct power_supply *psy;
1: + unsigned int count;
1: +};
1: +
1: +enum hwmon_sensor_types {
1: + hwmon_chip = 0,
1: + hwmon_temp = 1,
1: + hwmon_in = 2,
1: + hwmon_curr = 3,
1: + hwmon_power = 4,
1: + hwmon_energy = 5,
1: + hwmon_humidity = 6,
1: + hwmon_fan = 7,
1: + hwmon_pwm = 8,
1: + hwmon_max = 9,
1: +};
1: +
1: +enum hwmon_temp_attributes {
1: + hwmon_temp_input = 0,
1: + hwmon_temp_type = 1,
1: + hwmon_temp_lcrit = 2,
1: + hwmon_temp_lcrit_hyst = 3,
1: + hwmon_temp_min = 4,
1: + hwmon_temp_min_hyst = 5,
1: + hwmon_temp_max = 6,
1: + hwmon_temp_max_hyst = 7,
1: + hwmon_temp_crit = 8,
1: + hwmon_temp_crit_hyst = 9,
1: + hwmon_temp_emergency = 10,
1: + hwmon_temp_emergency_hyst = 11,
1: + hwmon_temp_alarm = 12,
1: + hwmon_temp_lcrit_alarm = 13,
1: + hwmon_temp_min_alarm = 14,
1: + hwmon_temp_max_alarm = 15,
1: + hwmon_temp_crit_alarm = 16,
1: + hwmon_temp_emergency_alarm = 17,
1: + hwmon_temp_fault = 18,
1: + hwmon_temp_offset = 19,
1: + hwmon_temp_label = 20,
1: + hwmon_temp_lowest = 21,
1: + hwmon_temp_highest = 22,
1: + hwmon_temp_reset_history = 23,
1: +};
1: +
1: +enum hwmon_in_attributes {
1: + hwmon_in_input = 0,
1: + hwmon_in_min = 1,
1: + hwmon_in_max = 2,
1: + hwmon_in_lcrit = 3,
1: + hwmon_in_crit = 4,
1: + hwmon_in_average = 5,
1: + hwmon_in_lowest = 6,
1: + hwmon_in_highest = 7,
1: + hwmon_in_reset_history = 8,
1: + hwmon_in_label = 9,
1: + hwmon_in_alarm = 10,
1: + hwmon_in_min_alarm = 11,
1: + hwmon_in_max_alarm = 12,
1: + hwmon_in_lcrit_alarm = 13,
1: + hwmon_in_crit_alarm = 14,
1: + hwmon_in_enable = 15,
1: +};
1: +
1: +enum hwmon_curr_attributes {
1: + hwmon_curr_input = 0,
1: + hwmon_curr_min = 1,
1: + hwmon_curr_max = 2,
1: + hwmon_curr_lcrit = 3,
1: + hwmon_curr_crit = 4,
1: + hwmon_curr_average = 5,
1: + hwmon_curr_lowest = 6,
1: + hwmon_curr_highest = 7,
1: + hwmon_curr_reset_history = 8,
1: + hwmon_curr_label = 9,
1: + hwmon_curr_alarm = 10,
1: + hwmon_curr_min_alarm = 11,
1: + hwmon_curr_max_alarm = 12,
1: + hwmon_curr_lcrit_alarm = 13,
1: + hwmon_curr_crit_alarm = 14,
1: +};
1: +
1: +struct hwmon_ops {
1: + umode_t (*is_visible)(const void *, enum hwmon_sensor_types, u32, int);
1: + int (*read)(struct device *, enum hwmon_sensor_types, u32, int, long int *);
1: + int (*read_string)(struct device *, enum hwmon_sensor_types, u32, int, const char **);
1: + int (*write)(struct device *, enum hwmon_sensor_types, u32, int, long int);
1: +};
1: +
1: +struct hwmon_channel_info {
1: + enum hwmon_sensor_types type;
1: + const u32 *config;
1: +};
1: +
1: +struct hwmon_chip_info {
1: + const struct hwmon_ops *ops;
1: + const struct hwmon_channel_info **info;
1: +};
1: +
1: +struct power_supply_hwmon {
1: + struct power_supply *psy;
1: + long unsigned int *props;
1: +};
1: +
1: +enum hwmon_chip_attributes {
1: + hwmon_chip_temp_reset_history = 0,
1: + hwmon_chip_in_reset_history = 1,
1: + hwmon_chip_curr_reset_history = 2,
1: + hwmon_chip_power_reset_history = 3,
1: + hwmon_chip_register_tz = 4,
1: + hwmon_chip_update_interval = 5,
1: + hwmon_chip_alarms = 6,
1: + hwmon_chip_samples = 7,
1: + hwmon_chip_curr_samples = 8,
1: + hwmon_chip_in_samples = 9,
1: + hwmon_chip_power_samples = 10,
1: + hwmon_chip_temp_samples = 11,
1: +};
1: +
1: +enum hwmon_power_attributes {
1: + hwmon_power_average = 0,
1: + hwmon_power_average_interval = 1,
1: + hwmon_power_average_interval_max = 2,
1: + hwmon_power_average_interval_min = 3,
1: + hwmon_power_average_highest = 4,
1: + hwmon_power_average_lowest = 5,
1: + hwmon_power_average_max = 6,
1: + hwmon_power_average_min = 7,
1: + hwmon_power_input = 8,
1: + hwmon_power_input_highest = 9,
1: + hwmon_power_input_lowest = 10,
1: + hwmon_power_reset_history = 11,
1: + hwmon_power_accuracy = 12,
1: + hwmon_power_cap = 13,
1: + hwmon_power_cap_hyst = 14,
1: + hwmon_power_cap_max = 15,
1: + hwmon_power_cap_min = 16,
1: + hwmon_power_min = 17,
1: + hwmon_power_max = 18,
1: + hwmon_power_crit = 19,
1: + hwmon_power_lcrit = 20,
1: + hwmon_power_label = 21,
1: + hwmon_power_alarm = 22,
1: + hwmon_power_cap_alarm = 23,
1: + hwmon_power_min_alarm = 24,
1: + hwmon_power_max_alarm = 25,
1: + hwmon_power_lcrit_alarm = 26,
1: + hwmon_power_crit_alarm = 27,
1: +};
1: +
1: +enum hwmon_energy_attributes {
1: + hwmon_energy_input = 0,
1: + hwmon_energy_label = 1,
1: +};
1: +
1: +enum hwmon_humidity_attributes {
1: + hwmon_humidity_input = 0,
1: + hwmon_humidity_label = 1,
1: + hwmon_humidity_min = 2,
1: + hwmon_humidity_min_hyst = 3,
1: + hwmon_humidity_max = 4,
1: + hwmon_humidity_max_hyst = 5,
1: + hwmon_humidity_alarm = 6,
1: + hwmon_humidity_fault = 7,
1: +};
1: +
1: +enum hwmon_fan_attributes {
1: + hwmon_fan_input = 0,
1: + hwmon_fan_label = 1,
1: + hwmon_fan_min = 2,
1: + hwmon_fan_max = 3,
1: + hwmon_fan_div = 4,
1: + hwmon_fan_pulses = 5,
1: + hwmon_fan_target = 6,
1: + hwmon_fan_alarm = 7,
1: + hwmon_fan_min_alarm = 8,
1: + hwmon_fan_max_alarm = 9,
1: + hwmon_fan_fault = 10,
1: +};
1: +
1: +enum hwmon_pwm_attributes {
1: + hwmon_pwm_input = 0,
1: + hwmon_pwm_enable = 1,
1: + hwmon_pwm_mode = 2,
1: + hwmon_pwm_freq = 3,
1: +};
1: +
1: +struct trace_event_raw_hwmon_attr_class {
1: + struct trace_entry ent;
1: + int index;
1: + u32 __data_loc_attr_name;
1: + long int val;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_hwmon_attr_show_string {
1: + struct trace_entry ent;
1: + int index;
1: + u32 __data_loc_attr_name;
1: + u32 __data_loc_label;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_hwmon_attr_class {
1: + u32 attr_name;
1: +};
1: +
1: +struct trace_event_data_offsets_hwmon_attr_show_string {
1: + u32 attr_name;
1: + u32 label;
1: +};
1: +
1: +struct hwmon_device {
1: + const char *name;
1: + struct device dev;
1: + const struct hwmon_chip_info *chip;
1: + struct attribute_group group;
1: + const struct attribute_group **groups;
1: +};
1: +
1: +struct hwmon_device_attribute {
1: + struct device_attribute dev_attr;
1: + const struct hwmon_ops *ops;
1: + enum hwmon_sensor_types type;
1: + u32 attr;
1: + int index;
1: + char name[32];
1: +};
1: +
1: +struct trace_event_raw_thermal_temperature {
1: + struct trace_entry ent;
1: + u32 __data_loc_thermal_zone;
1: + int id;
1: + int temp_prev;
1: + int temp;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cdev_update {
1: + struct trace_entry ent;
1: + u32 __data_loc_type;
1: + long unsigned int target;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_thermal_zone_trip {
1: + struct trace_entry ent;
1: + u32 __data_loc_thermal_zone;
1: + int id;
1: + int trip;
1: + enum thermal_trip_type trip_type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_thermal_temperature {
1: + u32 thermal_zone;
1: +};
1: +
1: +struct trace_event_data_offsets_cdev_update {
1: + u32 type;
1: +};
1: +
1: +struct trace_event_data_offsets_thermal_zone_trip {
1: + u32 thermal_zone;
1: +};
1: +
1: +struct thermal_instance {
1: + int id;
1: + char name[20];
1: + struct thermal_zone_device *tz;
1: + struct thermal_cooling_device *cdev;
1: + int trip;
1: + bool initialized;
1: + long unsigned int upper;
1: + long unsigned int lower;
1: + long unsigned int target;
1: + char attr_name[20];
1: + struct device_attribute attr;
1: + char weight_attr_name[20];
1: + struct device_attribute weight_attr;
1: + struct list_head tz_node;
1: + struct list_head cdev_node;
1: + unsigned int weight;
1: +};
1: +
1: +struct thermal_hwmon_device {
1: + char type[20];
1: + struct device *device;
1: + int count;
1: + struct list_head tz_list;
1: + struct list_head node;
1: +};
1: +
1: +struct thermal_hwmon_attr {
1: + struct device_attribute attr;
1: + char name[16];
1: +};
1: +
1: +struct thermal_hwmon_temp {
1: + struct list_head hwmon_node;
1: + struct thermal_zone_device *tz;
1: + struct thermal_hwmon_attr temp_input;
1: + struct thermal_hwmon_attr temp_crit;
1: +};
1: +
1: +struct mdp_device_descriptor_s {
1: + __u32 number;
1: + __u32 major;
1: + __u32 minor;
1: + __u32 raid_disk;
1: + __u32 state;
1: + __u32 reserved[27];
1: +};
1: +
1: +typedef struct mdp_device_descriptor_s mdp_disk_t;
1: +
1: +struct mdp_superblock_s {
1: + __u32 md_magic;
1: + __u32 major_version;
1: + __u32 minor_version;
1: + __u32 patch_version;
1: + __u32 gvalid_words;
1: + __u32 set_uuid0;
1: + __u32 ctime;
1: + __u32 level;
1: + __u32 size;
1: + __u32 nr_disks;
1: + __u32 raid_disks;
1: + __u32 md_minor;
1: + __u32 not_persistent;
1: + __u32 set_uuid1;
1: + __u32 set_uuid2;
1: + __u32 set_uuid3;
1: + __u32 gstate_creserved[16];
1: + __u32 utime;
1: + __u32 state;
1: + __u32 active_disks;
1: + __u32 working_disks;
1: + __u32 failed_disks;
1: + __u32 spare_disks;
1: + __u32 sb_csum;
1: + __u32 events_lo;
1: + __u32 events_hi;
1: + __u32 cp_events_lo;
1: + __u32 cp_events_hi;
1: + __u32 recovery_cp;
1: + __u64 reshape_position;
1: + __u32 new_level;
1: + __u32 delta_disks;
1: + __u32 new_layout;
1: + __u32 new_chunk;
1: + __u32 gstate_sreserved[14];
1: + __u32 layout;
1: + __u32 chunk_size;
1: + __u32 root_pv;
1: + __u32 root_block;
1: + __u32 pstate_reserved[60];
1: + mdp_disk_t disks[27];
1: + __u32 reserved[0];
1: + mdp_disk_t this_disk;
1: +};
1: +
1: +typedef struct mdp_superblock_s mdp_super_t;
1: +
1: +struct mdp_superblock_1 {
1: + __le32 magic;
1: + __le32 major_version;
1: + __le32 feature_map;
1: + __le32 pad0;
1: + __u8 set_uuid[16];
1: + char set_name[32];
1: + __le64 ctime;
1: + __le32 level;
1: + __le32 layout;
1: + __le64 size;
1: + __le32 chunksize;
1: + __le32 raid_disks;
1: + union {
1: + __le32 bitmap_offset;
1: + struct {
1: + __le16 offset;
1: + __le16 size;
1: + } ppl;
1: + };
1: + __le32 new_level;
1: + __le64 reshape_position;
1: + __le32 delta_disks;
1: + __le32 new_layout;
1: + __le32 new_chunk;
1: + __le32 new_offset;
1: + __le64 data_offset;
1: + __le64 data_size;
1: + __le64 super_offset;
1: + union {
1: + __le64 recovery_offset;
1: + __le64 journal_tail;
1: + };
1: + __le32 dev_number;
1: + __le32 cnt_corrected_read;
1: + __u8 device_uuid[16];
1: + __u8 devflags;
1: + __u8 bblog_shift;
1: + __le16 bblog_size;
1: + __le32 bblog_offset;
1: + __le64 utime;
1: + __le64 events;
1: + __le64 resync_offset;
1: + __le32 sb_csum;
1: + __le32 max_dev;
1: + __u8 pad3[32];
1: + __le16 dev_roles[0];
1: +};
1: +
1: +struct mdu_version_s {
1: + int major;
1: + int minor;
1: + int patchlevel;
1: +};
1: +
1: +typedef struct mdu_version_s mdu_version_t;
1: +
1: +struct mdu_bitmap_file_s {
1: + char pathname[4096];
1: +};
1: +
1: +typedef struct mdu_bitmap_file_s mdu_bitmap_file_t;
1: +
1: +struct mddev;
1: +
1: +struct md_rdev;
1: +
1: +struct md_cluster_operations {
1: + int (*join)(struct mddev *, int);
1: + int (*leave)(struct mddev *);
1: + int (*slot_number)(struct mddev *);
1: + int (*resync_info_update)(struct mddev *, sector_t, sector_t);
1: + void (*resync_info_get)(struct mddev *, sector_t *, sector_t *);
1: + int (*metadata_update_start)(struct mddev *);
1: + int (*metadata_update_finish)(struct mddev *);
1: + void (*metadata_update_cancel)(struct mddev *);
1: + int (*resync_start)(struct mddev *);
1: + int (*resync_finish)(struct mddev *);
1: + int (*area_resyncing)(struct mddev *, int, sector_t, sector_t);
1: + int (*add_new_disk)(struct mddev *, struct md_rdev *);
1: + void (*add_new_disk_cancel)(struct mddev *);
1: + int (*new_disk_ack)(struct mddev *, bool);
1: + int (*remove_disk)(struct mddev *, struct md_rdev *);
1: + void (*load_bitmaps)(struct mddev *, int);
1: + int (*gather_bitmaps)(struct md_rdev *);
1: + int (*resize_bitmaps)(struct mddev *, sector_t, sector_t);
1: + int (*lock_all_bitmaps)(struct mddev *);
1: + void (*unlock_all_bitmaps)(struct mddev *);
1: + void (*update_size)(struct mddev *, sector_t);
1: +};
1: +
1: +struct md_cluster_info;
1: +
1: +struct md_personality;
1: +
1: +struct md_thread;
1: +
1: +struct bitmap;
1: +
1: +struct mddev {
1: + void *private;
1: + struct md_personality *pers;
1: + dev_t unit;
1: + int md_minor;
1: + struct list_head disks;
1: + long unsigned int flags;
1: + long unsigned int sb_flags;
1: + int suspended;
1: + atomic_t active_io;
1: + int ro;
1: + int sysfs_active;
1: + struct gendisk *gendisk;
1: + struct kobject kobj;
1: + int hold_active;
1: + int major_version;
1: + int minor_version;
1: + int patch_version;
1: + int persistent;
1: + int external;
1: + char metadata_type[17];
1: + int chunk_sectors;
1: + time64_t ctime;
1: + time64_t utime;
1: + int level;
1: + int layout;
1: + char clevel[16];
1: + int raid_disks;
1: + int max_disks;
1: + sector_t dev_sectors;
1: + sector_t array_sectors;
1: + int external_size;
1: + __u64 events;
1: + int can_decrease_events;
1: + char uuid[16];
1: + sector_t reshape_position;
1: + int delta_disks;
1: + int new_level;
1: + int new_layout;
1: + int new_chunk_sectors;
1: + int reshape_backwards;
1: + struct md_thread *thread;
1: + struct md_thread *sync_thread;
1: + char *last_sync_action;
1: + sector_t curr_resync;
1: + sector_t curr_resync_completed;
1: + long unsigned int resync_mark;
1: + sector_t resync_mark_cnt;
1: + sector_t curr_mark_cnt;
1: + sector_t resync_max_sectors;
1: + atomic64_t resync_mismatches;
1: + sector_t suspend_lo;
1: + sector_t suspend_hi;
1: + int sync_speed_min;
1: + int sync_speed_max;
1: + int parallel_resync;
1: + int ok_start_degraded;
1: + long unsigned int recovery;
1: + int recovery_disabled;
1: + int in_sync;
1: + struct mutex open_mutex;
1: + struct mutex reconfig_mutex;
1: + atomic_t active;
1: + atomic_t openers;
1: + int changed;
1: + int degraded;
1: + atomic_t recovery_active;
1: + wait_queue_head_t recovery_wait;
1: + sector_t recovery_cp;
1: + sector_t resync_min;
1: + sector_t resync_max;
1: + struct kernfs_node *sysfs_state;
1: + struct kernfs_node *sysfs_action;
1: + struct work_struct del_work;
1: + spinlock_t lock;
1: + wait_queue_head_t sb_wait;
1: + atomic_t pending_writes;
1: + unsigned int safemode;
1: + unsigned int safemode_delay;
1: + struct timer_list safemode_timer;
1: + struct percpu_ref writes_pending;
1: + int sync_checkers;
1: + struct request_queue *queue;
1: + struct bitmap *bitmap;
1: + struct {
1: + struct file *file;
1: + loff_t offset;
1: + long unsigned int space;
1: + loff_t default_offset;
1: + long unsigned int default_space;
1: + struct mutex mutex;
1: + long unsigned int chunksize;
1: + long unsigned int daemon_sleep;
1: + long unsigned int max_write_behind;
1: + int external;
1: + int nodes;
1: + char cluster_name[64];
1: + } bitmap_info;
1: + atomic_t max_corr_read_errors;
1: + struct list_head all_mddevs;
1: + struct attribute_group *to_remove;
1: + struct bio_set bio_set;
1: + struct bio_set sync_set;
1: + struct bio *flush_bio;
1: + atomic_t flush_pending;
1: + ktime_t start_flush;
1: + ktime_t last_flush;
1: + struct work_struct flush_work;
1: + struct work_struct event_work;
1: + mempool_t *wb_info_pool;
1: + void (*sync_super)(struct mddev *, struct md_rdev *);
1: + struct md_cluster_info *cluster_info;
1: + unsigned int good_device_nr;
1: + bool has_superblocks: 1;
1: + bool fail_last_dev: 1;
1: +};
1: +
1: +struct md_rdev {
1: + struct list_head same_set;
1: + sector_t sectors;
1: + struct mddev *mddev;
1: + int last_events;
1: + struct block_device *meta_bdev;
1: + struct block_device *bdev;
1: + struct page *sb_page;
1: + struct page *bb_page;
1: + int sb_loaded;
1: + __u64 sb_events;
1: + sector_t data_offset;
1: + sector_t new_data_offset;
1: + sector_t sb_start;
1: + int sb_size;
1: + int preferred_minor;
1: + struct kobject kobj;
1: + long unsigned int flags;
1: + wait_queue_head_t blocked_wait;
1: + int desc_nr;
1: + int raid_disk;
1: + int new_raid_disk;
1: + int saved_raid_disk;
1: + union {
1: + sector_t recovery_offset;
1: + sector_t journal_tail;
1: + };
1: + atomic_t nr_pending;
1: + atomic_t read_errors;
1: + time64_t last_read_error;
1: + atomic_t corrected_errors;
1: + struct list_head wb_list;
1: + spinlock_t wb_list_lock;
1: + wait_queue_head_t wb_io_wait;
1: + struct work_struct del_work;
1: + struct kernfs_node *sysfs_state;
1: + struct badblocks badblocks;
1: + struct {
1: + short int offset;
1: + unsigned int size;
1: + sector_t sector;
1: + } ppl;
1: +};
1: +
1: +enum flag_bits {
1: + Faulty = 0,
1: + In_sync = 1,
1: + Bitmap_sync = 2,
1: + WriteMostly = 3,
1: + AutoDetected = 4,
1: + Blocked = 5,
1: + WriteErrorSeen = 6,
1: + FaultRecorded = 7,
1: + BlockedBadBlocks = 8,
1: + WantReplacement = 9,
1: + Replacement = 10,
1: + Candidate = 11,
1: + Journal = 12,
1: + ClusterRemove = 13,
1: + RemoveSynchronized = 14,
1: + ExternalBbl = 15,
1: + FailFast = 16,
1: + LastDev = 17,
1: + WBCollisionCheck = 18,
1: +};
1: +
1: +enum mddev_flags {
1: + MD_ARRAY_FIRST_USE = 0,
1: + MD_CLOSING = 1,
1: + MD_JOURNAL_CLEAN = 2,
1: + MD_HAS_JOURNAL = 3,
1: + MD_CLUSTER_RESYNC_LOCKED = 4,
1: + MD_FAILFAST_SUPPORTED = 5,
1: + MD_HAS_PPL = 6,
1: + MD_HAS_MULTIPLE_PPLS = 7,
1: + MD_ALLOW_SB_UPDATE = 8,
1: + MD_UPDATING_SB = 9,
1: + MD_NOT_READY = 10,
1: + MD_BROKEN = 11,
1: +};
1: +
1: +enum mddev_sb_flags {
1: + MD_SB_CHANGE_DEVS = 0,
1: + MD_SB_CHANGE_CLEAN = 1,
1: + MD_SB_CHANGE_PENDING = 2,
1: + MD_SB_NEED_REWRITE = 3,
1: +};
1: +
1: +struct md_personality {
1: + char *name;
1: + int level;
1: + struct list_head list;
1: + struct module *owner;
1: + bool (*make_request)(struct mddev *, struct bio *);
1: + int (*run)(struct mddev *);
1: + int (*start)(struct mddev *);
1: + void (*free)(struct mddev *, void *);
1: + void (*status)(struct seq_file *, struct mddev *);
1: + void (*error_handler)(struct mddev *, struct md_rdev *);
1: + int (*hot_add_disk)(struct mddev *, struct md_rdev *);
1: + int (*hot_remove_disk)(struct mddev *, struct md_rdev *);
1: + int (*spare_active)(struct mddev *);
1: + sector_t (*sync_request)(struct mddev *, sector_t, int *);
1: + int (*resize)(struct mddev *, sector_t);
1: + sector_t (*size)(struct mddev *, sector_t, int);
1: + int (*check_reshape)(struct mddev *);
1: + int (*start_reshape)(struct mddev *);
1: + void (*finish_reshape)(struct mddev *);
1: + void (*update_reshape_pos)(struct mddev *);
1: + void (*quiesce)(struct mddev *, int);
1: + void * (*takeover)(struct mddev *);
1: + int (*congested)(struct mddev *, int);
1: + int (*change_consistency_policy)(struct mddev *, const char *);
1: +};
1: +
1: +struct md_thread {
1: + void (*run)(struct md_thread *);
1: + struct mddev *mddev;
1: + wait_queue_head_t wqueue;
1: + long unsigned int flags;
1: + struct task_struct *tsk;
1: + long unsigned int timeout;
1: + void *private;
1: +};
1: +
1: +struct bitmap_page;
1: +
1: +struct bitmap_counts {
1: + spinlock_t lock;
1: + struct bitmap_page *bp;
1: + long unsigned int pages;
1: + long unsigned int missing_pages;
1: + long unsigned int chunkshift;
1: + long unsigned int chunks;
1: +};
1: +
1: +struct bitmap_storage {
1: + struct file *file;
1: + struct page *sb_page;
1: + struct page **filemap;
1: + long unsigned int *filemap_attr;
1: + long unsigned int file_pages;
1: + long unsigned int bytes;
1: +};
1: +
1: +struct bitmap {
1: + struct bitmap_counts counts;
1: + struct mddev *mddev;
1: + __u64 events_cleared;
1: + int need_sync;
1: + struct bitmap_storage storage;
1: + long unsigned int flags;
1: + int allclean;
1: + atomic_t behind_writes;
1: + long unsigned int behind_writes_used;
1: + long unsigned int daemon_lastrun;
1: + long unsigned int last_end_sync;
1: + atomic_t pending_writes;
1: + wait_queue_head_t write_wait;
1: + wait_queue_head_t overflow_wait;
1: + wait_queue_head_t behind_wait;
1: + struct kernfs_node *sysfs_can_clear;
1: + int cluster_slot;
1: +};
1: +
1: +enum recovery_flags {
1: + MD_RECOVERY_RUNNING = 0,
1: + MD_RECOVERY_SYNC = 1,
1: + MD_RECOVERY_RECOVER = 2,
1: + MD_RECOVERY_INTR = 3,
1: + MD_RECOVERY_DONE = 4,
1: + MD_RECOVERY_NEEDED = 5,
1: + MD_RECOVERY_REQUESTED = 6,
1: + MD_RECOVERY_CHECK = 7,
1: + MD_RECOVERY_RESHAPE = 8,
1: + MD_RECOVERY_FROZEN = 9,
1: + MD_RECOVERY_ERROR = 10,
1: + MD_RECOVERY_WAIT = 11,
1: + MD_RESYNCING_REMOTE = 12,
1: +};
1: +
1: +struct md_sysfs_entry {
1: + struct attribute attr;
1: + ssize_t (*show)(struct mddev *, char *);
1: + ssize_t (*store)(struct mddev *, const char *, size_t);
1: +};
1: +
1: +struct bitmap_page {
1: + char *map;
1: + unsigned int hijacked: 1;
1: + unsigned int pending: 1;
1: + unsigned int count: 30;
1: +};
1: +
1: +struct super_type {
1: + char *name;
1: + struct module *owner;
1: + int (*load_super)(struct md_rdev *, struct md_rdev *, int);
1: + int (*validate_super)(struct mddev *, struct md_rdev *);
1: + void (*sync_super)(struct mddev *, struct md_rdev *);
1: + long long unsigned int (*rdev_size_change)(struct md_rdev *, sector_t);
1: + int (*allow_new_offset)(struct md_rdev *, long long unsigned int);
1: +};
1: +
1: +struct rdev_sysfs_entry {
1: + struct attribute attr;
1: + ssize_t (*show)(struct md_rdev *, char *);
1: + ssize_t (*store)(struct md_rdev *, const char *, size_t);
1: +};
1: +
1: +enum array_state {
1: + clear = 0,
1: + inactive = 1,
1: + suspended = 2,
1: + readonly = 3,
1: + read_auto = 4,
1: + clean = 5,
1: + active = 6,
1: + write_pending = 7,
1: + active_idle = 8,
1: + broken = 9,
1: + bad_word = 10,
1: +};
1: +
1: +struct detected_devices_node {
1: + struct list_head list;
1: + dev_t dev;
1: +};
1: +
1: +typedef __u16 bitmap_counter_t;
1: +
1: +enum bitmap_state {
1: + BITMAP_STALE = 1,
1: + BITMAP_WRITE_ERROR = 2,
1: + BITMAP_HOSTENDIAN = 15,
1: +};
1: +
1: +struct bitmap_super_s {
1: + __le32 magic;
1: + __le32 version;
1: + __u8 uuid[16];
1: + __le64 events;
1: + __le64 events_cleared;
1: + __le64 sync_size;
1: + __le32 state;
1: + __le32 chunksize;
1: + __le32 daemon_sleep;
1: + __le32 write_behind;
1: + __le32 sectors_reserved;
1: + __le32 nodes;
1: + __u8 cluster_name[64];
1: + __u8 pad[120];
1: +};
1: +
1: +typedef struct bitmap_super_s bitmap_super_t;
1: +
1: +enum bitmap_page_attr {
1: + BITMAP_PAGE_DIRTY = 0,
1: + BITMAP_PAGE_PENDING = 1,
1: + BITMAP_PAGE_NEEDWRITE = 2,
1: +};
1: +
1: +enum dm_queue_mode {
1: + DM_TYPE_NONE = 0,
1: + DM_TYPE_BIO_BASED = 1,
1: + DM_TYPE_REQUEST_BASED = 2,
1: + DM_TYPE_DAX_BIO_BASED = 3,
1: + DM_TYPE_NVME_BIO_BASED = 4,
1: +};
1: +
1: +typedef enum {
1: + STATUSTYPE_INFO = 0,
1: + STATUSTYPE_TABLE = 1,
1: +} status_type_t;
1: +
1: +union map_info___2 {
1: + void *ptr;
1: +};
1: +
1: +struct dm_target;
1: +
1: +typedef int (*dm_ctr_fn)(struct dm_target *, unsigned int, char **);
1: +
1: +struct dm_table;
1: +
1: +struct target_type;
1: +
1: +struct dm_target {
1: + struct dm_table *table;
1: + struct target_type *type;
1: + sector_t begin;
1: + sector_t len;
1: + uint32_t max_io_len;
1: + unsigned int num_flush_bios;
1: + unsigned int num_discard_bios;
1: + unsigned int num_secure_erase_bios;
1: + unsigned int num_write_same_bios;
1: + unsigned int num_write_zeroes_bios;
1: + unsigned int per_io_data_size;
1: + void *private;
1: + char *error;
1: + bool flush_supported: 1;
1: + bool discards_supported: 1;
1: +};
1: +
1: +typedef void (*dm_dtr_fn)(struct dm_target *);
1: +
1: +typedef int (*dm_map_fn)(struct dm_target *, struct bio *);
1: +
1: +typedef int (*dm_clone_and_map_request_fn)(struct dm_target *, struct request *, union map_info___2 *, struct request **);
1: +
1: +typedef void (*dm_release_clone_request_fn)(struct request *, union map_info___2 *);
1: +
1: +typedef int (*dm_endio_fn)(struct dm_target *, struct bio *, blk_status_t *);
1: +
1: +typedef int (*dm_request_endio_fn)(struct dm_target *, struct request *, blk_status_t, union map_info___2 *);
1: +
1: +typedef void (*dm_presuspend_fn)(struct dm_target *);
1: +
1: +typedef void (*dm_presuspend_undo_fn)(struct dm_target *);
1: +
1: +typedef void (*dm_postsuspend_fn)(struct dm_target *);
1: +
1: +typedef int (*dm_preresume_fn)(struct dm_target *);
1: +
1: +typedef void (*dm_resume_fn)(struct dm_target *);
1: +
1: +typedef void (*dm_status_fn)(struct dm_target *, status_type_t, unsigned int, char *, unsigned int);
1: +
1: +typedef int (*dm_message_fn)(struct dm_target *, unsigned int, char **, char *, unsigned int);
1: +
1: +typedef int (*dm_prepare_ioctl_fn)(struct dm_target *, struct block_device **);
1: +
1: +struct dm_dev;
1: +
1: +typedef int (*iterate_devices_callout_fn)(struct dm_target *, struct dm_dev *, sector_t, sector_t, void *);
1: +
1: +struct dm_dev {
1: + struct block_device *bdev;
1: + struct dax_device *dax_dev;
1: + fmode_t mode;
1: + char name[16];
1: +};
1: +
1: +typedef int (*dm_iterate_devices_fn)(struct dm_target *, iterate_devices_callout_fn, void *);
1: +
1: +typedef void (*dm_io_hints_fn)(struct dm_target *, struct queue_limits *);
1: +
1: +typedef int (*dm_busy_fn)(struct dm_target *);
1: +
1: +typedef long int (*dm_dax_direct_access_fn)(struct dm_target *, long unsigned int, long int, void **, pfn_t *);
1: +
1: +typedef size_t (*dm_dax_copy_iter_fn)(struct dm_target *, long unsigned int, void *, size_t, struct iov_iter *);
1: +
1: +struct target_type {
1: + uint64_t features;
1: + const char *name;
1: + struct module *module;
1: + unsigned int version[3];
1: + dm_ctr_fn ctr;
1: + dm_dtr_fn dtr;
1: + dm_map_fn map;
1: + dm_clone_and_map_request_fn clone_and_map_rq;
1: + dm_release_clone_request_fn release_clone_rq;
1: + dm_endio_fn end_io;
1: + dm_request_endio_fn rq_end_io;
1: + dm_presuspend_fn presuspend;
1: + dm_presuspend_undo_fn presuspend_undo;
1: + dm_postsuspend_fn postsuspend;
1: + dm_preresume_fn preresume;
1: + dm_resume_fn resume;
1: + dm_status_fn status;
1: + dm_message_fn message;
1: + dm_prepare_ioctl_fn prepare_ioctl;
1: + dm_busy_fn busy;
1: + dm_iterate_devices_fn iterate_devices;
1: + dm_io_hints_fn io_hints;
1: + dm_dax_direct_access_fn direct_access;
1: + dm_dax_copy_iter_fn dax_copy_from_iter;
1: + dm_dax_copy_iter_fn dax_copy_to_iter;
1: + struct list_head list;
1: +};
1: +
1: +struct dm_stats_last_position;
1: +
1: +struct dm_stats {
1: + struct mutex mutex;
1: + struct list_head list;
1: + struct dm_stats_last_position *last;
1: + sector_t last_sector;
1: + unsigned int last_rw;
1: +};
1: +
1: +struct dm_stats_aux {
1: + bool merged;
1: + long long unsigned int duration_ns;
1: +};
1: +
1: +struct dm_kobject_holder {
1: + struct kobject kobj;
1: + struct completion completion;
1: +};
1: +
1: +struct mapped_device {
1: + struct mutex suspend_lock;
1: + struct mutex table_devices_lock;
1: + struct list_head table_devices;
1: + void *map;
1: + long unsigned int flags;
1: + struct mutex type_lock;
1: + enum dm_queue_mode type;
1: + int numa_node_id;
1: + struct request_queue *queue;
1: + atomic_t holders;
1: + atomic_t open_count;
1: + struct dm_target *immutable_target;
1: + struct target_type *immutable_target_type;
1: + char name[16];
1: + struct gendisk *disk;
1: + struct dax_device *dax_dev;
1: + struct work_struct work;
1: + wait_queue_head_t wait;
1: + spinlock_t deferred_lock;
1: + struct bio_list deferred;
1: + void *interface_ptr;
1: + wait_queue_head_t eventq;
1: + atomic_t event_nr;
1: + atomic_t uevent_seq;
1: + struct list_head uevent_list;
1: + spinlock_t uevent_lock;
1: + unsigned int internal_suspend_count;
1: + struct bio_set io_bs;
1: + struct bio_set bs;
1: + struct workqueue_struct *wq;
1: + struct super_block *frozen_sb;
1: + struct hd_geometry geometry;
1: + struct dm_kobject_holder kobj_holder;
1: + struct block_device *bdev;
1: + struct dm_stats stats;
1: + struct blk_mq_tag_set *tag_set;
1: + bool init_tio_pdu: 1;
1: + struct srcu_struct io_barrier;
1: +};
1: +
1: +struct dax_operations {
1: + long int (*direct_access)(struct dax_device *, long unsigned int, long int, void **, pfn_t *);
1: + bool (*dax_supported)(struct dax_device *, struct block_device *, int, sector_t, sector_t);
1: + size_t (*copy_from_iter)(struct dax_device *, long unsigned int, void *, size_t, struct iov_iter *);
1: + size_t (*copy_to_iter)(struct dax_device *, long unsigned int, void *, size_t, struct iov_iter *);
1: +};
1: +
1: +struct dm_io;
1: +
1: +struct clone_info {
1: + struct dm_table *map;
1: + struct bio *bio;
1: + struct dm_io *io;
1: + sector_t sector;
1: + unsigned int sector_count;
1: +};
1: +
1: +struct dm_target_io {
1: + unsigned int magic;
1: + struct dm_io *io;
1: + struct dm_target *ti;
1: + unsigned int target_bio_nr;
1: + unsigned int *len_ptr;
1: + bool inside_dm_io;
1: + struct bio clone;
1: +};
1: +
1: +struct dm_io {
1: + unsigned int magic;
1: + struct mapped_device *md;
1: + blk_status_t status;
1: + atomic_t io_count;
1: + struct bio *orig_bio;
1: + long unsigned int start_time;
1: + spinlock_t endio_lock;
1: + struct dm_stats_aux stats_aux;
1: + struct dm_target_io tio;
1: +};
1: +
1: +struct dm_md_mempools {
1: + struct bio_set bs;
1: + struct bio_set io_bs;
1: +};
1: +
1: +struct table_device {
1: + struct list_head list;
1: + refcount_t count;
1: + struct dm_dev dm_dev;
1: +};
1: +
1: +struct dm_pr {
1: + u64 old_key;
1: + u64 new_key;
1: + u32 flags;
1: + bool fail_early;
1: +};
1: +
1: +struct dm_md_mempools___2;
1: +
1: +struct dm_table {
1: + struct mapped_device *md;
1: + enum dm_queue_mode type;
1: + unsigned int depth;
1: + unsigned int counts[16];
1: + sector_t *index[16];
1: + unsigned int num_targets;
1: + unsigned int num_allocated;
1: + sector_t *highs;
1: + struct dm_target *targets;
1: + struct target_type *immutable_target_type;
1: + bool integrity_supported: 1;
1: + bool singleton: 1;
1: + unsigned int integrity_added: 1;
1: + fmode_t mode;
1: + struct list_head devices;
1: + void (*event_fn)(void *);
1: + void *event_context;
1: + struct dm_md_mempools___2 *mempools;
1: + struct list_head target_callbacks;
1: +};
1: +
1: +struct dm_target_callbacks {
1: + struct list_head list;
1: + int (*congested_fn)(struct dm_target_callbacks *, int);
1: +};
1: +
1: +struct dm_arg_set {
1: + unsigned int argc;
1: + char **argv;
1: +};
1: +
1: +struct dm_arg {
1: + unsigned int min;
1: + unsigned int max;
1: + char *error;
1: +};
1: +
1: +struct dm_dev_internal {
1: + struct list_head list;
1: + refcount_t count;
1: + struct dm_dev *dm_dev;
1: +};
1: +
1: +enum suspend_mode {
1: + PRESUSPEND = 0,
1: + PRESUSPEND_UNDO = 1,
1: + POSTSUSPEND = 2,
1: +};
1: +
1: +struct linear_c {
1: + struct dm_dev *dev;
1: + sector_t start;
1: +};
1: +
1: +struct stripe {
1: + struct dm_dev *dev;
1: + sector_t physical_start;
1: + atomic_t error_count;
1: +};
1: +
1: +struct stripe_c {
1: + uint32_t stripes;
1: + int stripes_shift;
1: + sector_t stripe_width;
1: + uint32_t chunk_size;
1: + int chunk_size_shift;
1: + struct dm_target *ti;
1: + struct work_struct trigger_event;
1: + struct stripe stripe[0];
1: +};
1: +
1: +struct dm_ioctl {
1: + __u32 version[3];
1: + __u32 data_size;
1: + __u32 data_start;
1: + __u32 target_count;
1: + __s32 open_count;
1: + __u32 flags;
1: + __u32 event_nr;
1: + __u32 padding;
1: + __u64 dev;
1: + char name[128];
1: + char uuid[129];
1: + char data[7];
1: +};
1: +
1: +struct dm_target_spec {
1: + __u64 sector_start;
1: + __u64 length;
1: + __s32 status;
1: + __u32 next;
1: + char target_type[16];
1: +};
1: +
1: +struct dm_target_deps {
1: + __u32 count;
1: + __u32 padding;
1: + __u64 dev[0];
1: +};
1: +
1: +struct dm_name_list {
1: + __u64 dev;
1: + __u32 next;
1: + char name[0];
1: +};
1: +
1: +struct dm_target_versions {
1: + __u32 next;
1: + __u32 version[3];
1: + char name[0];
1: +};
1: +
1: +struct dm_target_msg {
1: + __u64 sector;
1: + char message[0];
1: +};
1: +
1: +enum {
1: + DM_VERSION_CMD = 0,
1: + DM_REMOVE_ALL_CMD = 1,
1: + DM_LIST_DEVICES_CMD = 2,
1: + DM_DEV_CREATE_CMD = 3,
1: + DM_DEV_REMOVE_CMD = 4,
1: + DM_DEV_RENAME_CMD = 5,
1: + DM_DEV_SUSPEND_CMD = 6,
1: + DM_DEV_STATUS_CMD = 7,
1: + DM_DEV_WAIT_CMD = 8,
1: + DM_TABLE_LOAD_CMD = 9,
1: + DM_TABLE_CLEAR_CMD = 10,
1: + DM_TABLE_DEPS_CMD = 11,
1: + DM_TABLE_STATUS_CMD = 12,
1: + DM_LIST_VERSIONS_CMD = 13,
1: + DM_TARGET_MSG_CMD = 14,
1: + DM_DEV_SET_GEOMETRY_CMD = 15,
1: + DM_DEV_ARM_POLL_CMD = 16,
1: + DM_GET_TARGET_VERSION_CMD = 17,
1: +};
1: +
1: +struct dm_file {
1: + volatile unsigned int global_event_nr;
1: +};
1: +
1: +struct hash_cell {
1: + struct list_head name_list;
1: + struct list_head uuid_list;
1: + char *name;
1: + char *uuid;
1: + struct mapped_device *md;
1: + struct dm_table *new_map;
1: +};
1: +
1: +struct vers_iter {
1: + size_t param_size;
1: + struct dm_target_versions *vers;
1: + struct dm_target_versions *old_vers;
1: + char *end;
1: + uint32_t flags;
1: +};
1: +
1: +typedef int (*ioctl_fn___2)(struct file *, struct dm_ioctl *, size_t);
1: +
1: +struct dm_io_region {
1: + struct block_device *bdev;
1: + sector_t sector;
1: + sector_t count;
1: +};
1: +
1: +struct page_list {
1: + struct page_list *next;
1: + struct page *page;
1: +};
1: +
1: +typedef void (*io_notify_fn)(long unsigned int, void *);
1: +
1: +enum dm_io_mem_type {
1: + DM_IO_PAGE_LIST = 0,
1: + DM_IO_BIO = 1,
1: + DM_IO_VMA = 2,
1: + DM_IO_KMEM = 3,
1: +};
1: +
1: +struct dm_io_memory {
1: + enum dm_io_mem_type type;
1: + unsigned int offset;
1: + union {
1: + struct page_list *pl;
1: + struct bio *bio;
1: + void *vma;
1: + void *addr;
1: + } ptr;
1: +};
1: +
1: +struct dm_io_notify {
1: + io_notify_fn fn;
1: + void *context;
1: +};
1: +
1: +struct dm_io_client;
1: +
1: +struct dm_io_request {
1: + int bi_op;
1: + int bi_op_flags;
1: + struct dm_io_memory mem;
1: + struct dm_io_notify notify;
1: + struct dm_io_client *client;
1: +};
1: +
1: +struct dm_io_client {
1: + mempool_t pool;
1: + struct bio_set bios;
1: +};
1: +
1: +struct io {
1: + long unsigned int error_bits;
1: + atomic_t count;
1: + struct dm_io_client *client;
1: + io_notify_fn callback;
1: + void *context;
1: + void *vma_invalidate_address;
1: + long unsigned int vma_invalidate_size;
1: + long: 64;
1: +};
1: +
1: +struct dpages {
1: + void (*get_page)(struct dpages *, struct page **, long unsigned int *, unsigned int *);
1: + void (*next_page)(struct dpages *);
1: + union {
1: + unsigned int context_u;
1: + struct bvec_iter context_bi;
1: + };
1: + void *context_ptr;
1: + void *vma_invalidate_address;
1: + long unsigned int vma_invalidate_size;
1: +};
1: +
1: +struct sync_io {
1: + long unsigned int error_bits;
1: + struct completion wait;
1: +};
1: +
1: +struct dm_kcopyd_throttle {
1: + unsigned int throttle;
1: + unsigned int num_io_jobs;
1: + unsigned int io_period;
1: + unsigned int total_period;
1: + unsigned int last_jiffies;
1: +};
1: +
1: +typedef void (*dm_kcopyd_notify_fn)(int, long unsigned int, void *);
1: +
1: +struct dm_kcopyd_client {
1: + struct page_list *pages;
1: + unsigned int nr_reserved_pages;
1: + unsigned int nr_free_pages;
1: + unsigned int sub_job_size;
1: + struct dm_io_client *io_client;
1: + wait_queue_head_t destroyq;
1: + mempool_t job_pool;
1: + struct workqueue_struct *kcopyd_wq;
1: + struct work_struct kcopyd_work;
1: + struct dm_kcopyd_throttle *throttle;
1: + atomic_t nr_jobs;
1: + spinlock_t job_lock;
1: + struct list_head callback_jobs;
1: + struct list_head complete_jobs;
1: + struct list_head io_jobs;
1: + struct list_head pages_jobs;
1: +};
1: +
1: +struct kcopyd_job {
1: + struct dm_kcopyd_client *kc;
1: + struct list_head list;
1: + long unsigned int flags;
1: + int read_err;
1: + long unsigned int write_err;
1: + int rw;
1: + struct dm_io_region source;
1: + unsigned int num_dests;
1: + struct dm_io_region dests[8];
1: + struct page_list *pages;
1: + dm_kcopyd_notify_fn fn;
1: + void *context;
1: + struct mutex lock;
1: + atomic_t sub_jobs;
1: + sector_t progress;
1: + sector_t write_offset;
1: + struct kcopyd_job *master_job;
1: +};
1: +
1: +struct dm_sysfs_attr {
1: + struct attribute attr;
1: + ssize_t (*show)(struct mapped_device *, char *);
1: + ssize_t (*store)(struct mapped_device *, const char *, size_t);
1: +};
1: +
1: +struct dm_stats_last_position {
1: + sector_t last_sector;
1: + unsigned int last_rw;
1: +};
1: +
1: +struct dm_stat_percpu {
1: + long long unsigned int sectors[2];
1: + long long unsigned int ios[2];
1: + long long unsigned int merges[2];
1: + long long unsigned int ticks[2];
1: + long long unsigned int io_ticks[2];
1: + long long unsigned int io_ticks_total;
1: + long long unsigned int time_in_queue;
1: + long long unsigned int *histogram;
1: +};
1: +
1: +struct dm_stat_shared {
1: + atomic_t in_flight[2];
1: + long long unsigned int stamp;
1: + struct dm_stat_percpu tmp;
1: +};
1: +
1: +struct dm_stat {
1: + struct list_head list_entry;
1: + int id;
1: + unsigned int stat_flags;
1: + size_t n_entries;
1: + sector_t start;
1: + sector_t end;
1: + sector_t step;
1: + unsigned int n_histogram_entries;
1: + long long unsigned int *histogram_boundaries;
1: + const char *program_id;
1: + const char *aux_data;
1: + struct callback_head callback_head;
1: + size_t shared_alloc_size;
1: + size_t percpu_alloc_size;
1: + size_t histogram_alloc_size;
1: + struct dm_stat_percpu *stat_percpu[64];
1: + struct dm_stat_shared stat_shared[0];
1: +};
1: +
1: +struct dm_rq_target_io;
1: +
1: +struct dm_rq_clone_bio_info {
1: + struct bio *orig;
1: + struct dm_rq_target_io *tio;
1: + struct bio clone;
1: +};
1: +
1: +struct dm_rq_target_io {
1: + struct mapped_device *md;
1: + struct dm_target *ti;
1: + struct request *orig;
1: + struct request *clone;
1: + struct kthread_work work;
1: + blk_status_t error;
1: + union map_info___2 info;
1: + struct dm_stats_aux stats_aux;
1: + long unsigned int duration_jiffies;
1: + unsigned int n_sectors;
1: + unsigned int completed;
1: +};
1: +
1: +struct dm_bio_details {
1: + struct gendisk *bi_disk;
1: + u8 bi_partno;
1: + long unsigned int bi_flags;
1: + struct bvec_iter bi_iter;
1: +};
1: +
1: +typedef sector_t region_t;
1: +
1: +struct dm_dirty_log_type;
1: +
1: +struct dm_dirty_log {
1: + struct dm_dirty_log_type *type;
1: + int (*flush_callback_fn)(struct dm_target *);
1: + void *context;
1: +};
1: +
1: +struct dm_dirty_log_type {
1: + const char *name;
1: + struct module *module;
1: + struct list_head list;
1: + int (*ctr)(struct dm_dirty_log *, struct dm_target *, unsigned int, char **);
1: + void (*dtr)(struct dm_dirty_log *);
1: + int (*presuspend)(struct dm_dirty_log *);
1: + int (*postsuspend)(struct dm_dirty_log *);
1: + int (*resume)(struct dm_dirty_log *);
1: + uint32_t (*get_region_size)(struct dm_dirty_log *);
1: + int (*is_clean)(struct dm_dirty_log *, region_t);
1: + int (*in_sync)(struct dm_dirty_log *, region_t, int);
1: + int (*flush)(struct dm_dirty_log *);
1: + void (*mark_region)(struct dm_dirty_log *, region_t);
1: + void (*clear_region)(struct dm_dirty_log *, region_t);
1: + int (*get_resync_work)(struct dm_dirty_log *, region_t *);
1: + void (*set_region_sync)(struct dm_dirty_log *, region_t, int);
1: + region_t (*get_sync_count)(struct dm_dirty_log *);
1: + int (*status)(struct dm_dirty_log *, status_type_t, char *, unsigned int);
1: + int (*is_remote_recovering)(struct dm_dirty_log *, region_t);
1: +};
1: +
1: +enum dm_rh_region_states {
1: + DM_RH_CLEAN = 1,
1: + DM_RH_DIRTY = 2,
1: + DM_RH_NOSYNC = 4,
1: + DM_RH_RECOVERING = 8,
1: +};
1: +
1: +enum dm_raid1_error {
1: + DM_RAID1_WRITE_ERROR = 0,
1: + DM_RAID1_FLUSH_ERROR = 1,
1: + DM_RAID1_SYNC_ERROR = 2,
1: + DM_RAID1_READ_ERROR = 3,
1: +};
1: +
1: +struct mirror_set;
1: +
1: +struct mirror {
1: + struct mirror_set *ms;
1: + atomic_t error_count;
1: + long unsigned int error_type;
1: + struct dm_dev *dev;
1: + sector_t offset;
1: +};
1: +
1: +struct dm_region_hash;
1: +
1: +struct dm_kcopyd_client___2;
1: +
1: +struct mirror_set {
1: + struct dm_target *ti;
1: + struct list_head list;
1: + uint64_t features;
1: + spinlock_t lock;
1: + struct bio_list reads;
1: + struct bio_list writes;
1: + struct bio_list failures;
1: + struct bio_list holds;
1: + struct dm_region_hash *rh;
1: + struct dm_kcopyd_client___2 *kcopyd_client;
1: + struct dm_io_client *io_client;
1: + region_t nr_regions;
1: + int in_sync;
1: + int log_failure;
1: + int leg_failure;
1: + atomic_t suspend;
1: + atomic_t default_mirror;
1: + struct workqueue_struct *kmirrord_wq;
1: + struct work_struct kmirrord_work;
1: + struct timer_list timer;
1: + long unsigned int timer_pending;
1: + struct work_struct trigger_event;
1: + unsigned int nr_mirrors;
1: + struct mirror mirror[0];
1: +};
1: +
1: +struct dm_raid1_bio_record {
1: + struct mirror *m;
1: + struct dm_bio_details details;
1: + region_t write_region;
1: +};
1: +
1: +struct dm_region;
1: +
1: +struct log_header_disk {
1: + __le32 magic;
1: + __le32 version;
1: + __le64 nr_regions;
1: +};
1: +
1: +struct log_header_core {
1: + uint32_t magic;
1: + uint32_t version;
1: + uint64_t nr_regions;
1: +};
1: +
1: +enum sync {
1: + DEFAULTSYNC = 0,
1: + NOSYNC = 1,
1: + FORCESYNC = 2,
1: +};
1: +
1: +struct log_c {
1: + struct dm_target *ti;
1: + int touched_dirtied;
1: + int touched_cleaned;
1: + int flush_failed;
1: + uint32_t region_size;
1: + unsigned int region_count;
1: + region_t sync_count;
1: + unsigned int bitset_uint32_count;
1: + uint32_t *clean_bits;
1: + uint32_t *sync_bits;
1: + uint32_t *recovering_bits;
1: + int sync_search;
1: + enum sync sync;
1: + struct dm_io_request io_req;
1: + int log_dev_failed;
1: + int log_dev_flush_failed;
1: + struct dm_dev *log_dev;
1: + struct log_header_core header;
1: + struct dm_io_region header_location;
1: + struct log_header_disk *disk_header;
1: +};
1: +
1: +struct dm_region_hash___2 {
1: + uint32_t region_size;
1: + unsigned int region_shift;
1: + struct dm_dirty_log *log;
1: + rwlock_t hash_lock;
1: + unsigned int mask;
1: + unsigned int nr_buckets;
1: + unsigned int prime;
1: + unsigned int shift;
1: + struct list_head *buckets;
1: + int flush_failure;
1: + unsigned int max_recovery;
1: + spinlock_t region_lock;
1: + atomic_t recovery_in_flight;
1: + struct list_head clean_regions;
1: + struct list_head quiesced_regions;
1: + struct list_head recovered_regions;
1: + struct list_head failed_recovered_regions;
1: + struct semaphore recovery_count;
1: + mempool_t region_pool;
1: + void *context;
1: + sector_t target_begin;
1: + void (*dispatch_bios)(void *, struct bio_list *);
1: + void (*wakeup_workers)(void *);
1: + void (*wakeup_all_recovery_waiters)(void *);
1: +};
1: +
1: +struct dm_region___2 {
1: + struct dm_region_hash___2 *rh;
1: + region_t key;
1: + int state;
1: + struct list_head hash_list;
1: + struct list_head list;
1: + atomic_t pending;
1: + struct bio_list delayed_bios;
1: +};
1: +
1: +enum {
1: + EDAC_REPORTING_ENABLED = 0,
1: + EDAC_REPORTING_DISABLED = 1,
1: + EDAC_REPORTING_FORCE = 2,
1: +};
1: +
1: +enum dev_type {
1: + DEV_UNKNOWN = 0,
1: + DEV_X1 = 1,
1: + DEV_X2 = 2,
1: + DEV_X4 = 3,
1: + DEV_X8 = 4,
1: + DEV_X16 = 5,
1: + DEV_X32 = 6,
1: + DEV_X64 = 7,
1: +};
1: +
1: +enum hw_event_mc_err_type {
1: + HW_EVENT_ERR_CORRECTED = 0,
1: + HW_EVENT_ERR_UNCORRECTED = 1,
1: + HW_EVENT_ERR_DEFERRED = 2,
1: + HW_EVENT_ERR_FATAL = 3,
1: + HW_EVENT_ERR_INFO = 4,
1: +};
1: +
1: +enum mem_type {
1: + MEM_EMPTY = 0,
1: + MEM_RESERVED = 1,
1: + MEM_UNKNOWN = 2,
1: + MEM_FPM = 3,
1: + MEM_EDO = 4,
1: + MEM_BEDO = 5,
1: + MEM_SDR = 6,
1: + MEM_RDR = 7,
1: + MEM_DDR = 8,
1: + MEM_RDDR = 9,
1: + MEM_RMBS = 10,
1: + MEM_DDR2 = 11,
1: + MEM_FB_DDR2 = 12,
1: + MEM_RDDR2 = 13,
1: + MEM_XDR = 14,
1: + MEM_DDR3 = 15,
1: + MEM_RDDR3 = 16,
1: + MEM_LRDDR3 = 17,
1: + MEM_DDR4 = 18,
1: + MEM_RDDR4 = 19,
1: + MEM_LRDDR4 = 20,
1: + MEM_NVDIMM = 21,
1: +};
1: +
1: +enum edac_type {
1: + EDAC_UNKNOWN = 0,
1: + EDAC_NONE = 1,
1: + EDAC_RESERVED = 2,
1: + EDAC_PARITY = 3,
1: + EDAC_EC = 4,
1: + EDAC_SECDED = 5,
1: + EDAC_S2ECD2ED = 6,
1: + EDAC_S4ECD4ED = 7,
1: + EDAC_S8ECD8ED = 8,
1: + EDAC_S16ECD16ED = 9,
1: +};
1: +
1: +enum scrub_type {
1: + SCRUB_UNKNOWN = 0,
1: + SCRUB_NONE = 1,
1: + SCRUB_SW_PROG = 2,
1: + SCRUB_SW_SRC = 3,
1: + SCRUB_SW_PROG_SRC = 4,
1: + SCRUB_SW_TUNABLE = 5,
1: + SCRUB_HW_PROG = 6,
1: + SCRUB_HW_SRC = 7,
1: + SCRUB_HW_PROG_SRC = 8,
1: + SCRUB_HW_TUNABLE = 9,
1: +};
1: +
1: +enum edac_mc_layer_type {
1: + EDAC_MC_LAYER_BRANCH = 0,
1: + EDAC_MC_LAYER_CHANNEL = 1,
1: + EDAC_MC_LAYER_SLOT = 2,
1: + EDAC_MC_LAYER_CHIP_SELECT = 3,
1: + EDAC_MC_LAYER_ALL_MEM = 4,
1: +};
1: +
1: +struct edac_mc_layer {
1: + enum edac_mc_layer_type type;
1: + unsigned int size;
1: + bool is_virt_csrow;
1: +};
1: +
1: +struct mem_ctl_info;
1: +
1: +struct dimm_info {
1: + struct device dev;
1: + char label[32];
1: + unsigned int location[3];
1: + struct mem_ctl_info *mci;
1: + unsigned int idx;
1: + u32 grain;
1: + enum dev_type dtype;
1: + enum mem_type mtype;
1: + enum edac_type edac_mode;
1: + u32 nr_pages;
1: + unsigned int csrow;
1: + unsigned int cschannel;
1: + u16 smbios_handle;
1: +};
1: +
1: +struct mcidev_sysfs_attribute;
1: +
1: +struct edac_raw_error_desc {
1: + char location[256];
1: + char label[296];
1: + long int grain;
1: + u16 error_count;
1: + int top_layer;
1: + int mid_layer;
1: + int low_layer;
1: + long unsigned int page_frame_number;
1: + long unsigned int offset_in_page;
1: + long unsigned int syndrome;
1: + const char *msg;
1: + const char *other_detail;
1: + bool enable_per_layer_report;
1: +};
1: +
1: +struct csrow_info;
1: +
1: +struct mem_ctl_info {
1: + struct device dev;
1: + struct bus_type *bus;
1: + struct list_head link;
1: + struct module *owner;
1: + long unsigned int mtype_cap;
1: + long unsigned int edac_ctl_cap;
1: + long unsigned int edac_cap;
1: + long unsigned int scrub_cap;
1: + enum scrub_type scrub_mode;
1: + int (*set_sdram_scrub_rate)(struct mem_ctl_info *, u32);
1: + int (*get_sdram_scrub_rate)(struct mem_ctl_info *);
1: + void (*edac_check)(struct mem_ctl_info *);
1: + long unsigned int (*ctl_page_to_phys)(struct mem_ctl_info *, long unsigned int);
1: + int mc_idx;
1: + struct csrow_info **csrows;
1: + unsigned int nr_csrows;
1: + unsigned int num_cschannel;
1: + unsigned int n_layers;
1: + struct edac_mc_layer *layers;
1: + bool csbased;
1: + unsigned int tot_dimms;
1: + struct dimm_info **dimms;
1: + struct device *pdev;
1: + const char *mod_name;
1: + const char *ctl_name;
1: + const char *dev_name;
1: + void *pvt_info;
1: + long unsigned int start_time;
1: + u32 ce_noinfo_count;
1: + u32 ue_noinfo_count;
1: + u32 ue_mc;
1: + u32 ce_mc;
1: + u32 *ce_per_layer[3];
1: + u32 *ue_per_layer[3];
1: + struct completion complete;
1: + const struct mcidev_sysfs_attribute *mc_driver_sysfs_attributes;
1: + struct delayed_work work;
1: + struct edac_raw_error_desc error_desc;
1: + int op_state;
1: + struct dentry *debugfs;
1: + u8 fake_inject_layer[3];
1: + bool fake_inject_ue;
1: + u16 fake_inject_count;
1: +};
1: +
1: +struct rank_info {
1: + int chan_idx;
1: + struct csrow_info *csrow;
1: + struct dimm_info *dimm;
1: + u32 ce_count;
1: +};
1: +
1: +struct csrow_info {
1: + struct device dev;
1: + long unsigned int first_page;
1: + long unsigned int last_page;
1: + long unsigned int page_mask;
1: + int csrow_idx;
1: + u32 ue_count;
1: + u32 ce_count;
1: + struct mem_ctl_info *mci;
1: + u32 nr_channels;
1: + struct rank_info **channels;
1: +};
1: +
1: +struct edac_device_counter {
1: + u32 ue_count;
1: + u32 ce_count;
1: +};
1: +
1: +struct edac_device_ctl_info;
1: +
1: +struct edac_dev_sysfs_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct edac_device_ctl_info *, char *);
1: + ssize_t (*store)(struct edac_device_ctl_info *, const char *, size_t);
1: +};
1: +
1: +struct edac_device_instance;
1: +
1: +struct edac_device_ctl_info {
1: + struct list_head link;
1: + struct module *owner;
1: + int dev_idx;
1: + int log_ue;
1: + int log_ce;
1: + int panic_on_ue;
1: + unsigned int poll_msec;
1: + long unsigned int delay;
1: + struct edac_dev_sysfs_attribute *sysfs_attributes;
1: + struct bus_type *edac_subsys;
1: + int op_state;
1: + struct delayed_work work;
1: + void (*edac_check)(struct edac_device_ctl_info *);
1: + struct device *dev;
1: + const char *mod_name;
1: + const char *ctl_name;
1: + const char *dev_name;
1: + void *pvt_info;
1: + long unsigned int start_time;
1: + struct completion removal_complete;
1: + char name[32];
1: + u32 nr_instances;
1: + struct edac_device_instance *instances;
1: + struct edac_device_counter counters;
1: + struct kobject kobj;
1: +};
1: +
1: +struct edac_device_block;
1: +
1: +struct edac_dev_sysfs_block_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: + ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
1: + struct edac_device_block *block;
1: + unsigned int value;
1: +};
1: +
1: +struct edac_device_block {
1: + struct edac_device_instance *instance;
1: + char name[32];
1: + struct edac_device_counter counters;
1: + int nr_attribs;
1: + struct edac_dev_sysfs_block_attribute *block_attributes;
1: + struct kobject kobj;
1: +};
1: +
1: +struct edac_device_instance {
1: + struct edac_device_ctl_info *ctl;
1: + char name[35];
1: + struct edac_device_counter counters;
1: + u32 nr_blocks;
1: + struct edac_device_block *blocks;
1: + struct kobject kobj;
1: +};
1: +
1: +struct dev_ch_attribute {
1: + struct device_attribute attr;
1: + unsigned int channel;
1: +};
1: +
1: +struct ctl_info_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct edac_device_ctl_info *, char *);
1: + ssize_t (*store)(struct edac_device_ctl_info *, const char *, size_t);
1: +};
1: +
1: +struct instance_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct edac_device_instance *, char *);
1: + ssize_t (*store)(struct edac_device_instance *, const char *, size_t);
1: +};
1: +
1: +struct edac_pci_counter {
1: + atomic_t pe_count;
1: + atomic_t npe_count;
1: +};
1: +
1: +struct edac_pci_ctl_info {
1: + struct list_head link;
1: + int pci_idx;
1: + struct bus_type *edac_subsys;
1: + int op_state;
1: + struct delayed_work work;
1: + void (*edac_check)(struct edac_pci_ctl_info *);
1: + struct device *dev;
1: + const char *mod_name;
1: + const char *ctl_name;
1: + const char *dev_name;
1: + void *pvt_info;
1: + long unsigned int start_time;
1: + struct completion complete;
1: + char name[32];
1: + struct edac_pci_counter counters;
1: + struct kobject kobj;
1: +};
1: +
1: +struct edac_pci_gen_data {
1: + int edac_idx;
1: +};
1: +
1: +struct instance_attribute___2 {
1: + struct attribute attr;
1: + ssize_t (*show)(struct edac_pci_ctl_info *, char *);
1: + ssize_t (*store)(struct edac_pci_ctl_info *, const char *, size_t);
1: +};
1: +
1: +struct edac_pci_dev_attribute {
1: + struct attribute attr;
1: + void *value;
1: + ssize_t (*show)(void *, char *);
1: + ssize_t (*store)(void *, const char *, size_t);
1: +};
1: +
1: +typedef void (*pci_parity_check_fn_t)(struct pci_dev *);
1: +
1: +enum tt_ids {
1: + TT_INSTR = 0,
1: + TT_DATA = 1,
1: + TT_GEN = 2,
1: + TT_RESV = 3,
1: +};
1: +
1: +enum ll_ids {
1: + LL_RESV = 0,
1: + LL_L1 = 1,
1: + LL_L2 = 2,
1: + LL_LG = 3,
1: +};
1: +
1: +enum ii_ids {
1: + II_MEM = 0,
1: + II_RESV = 1,
1: + II_IO = 2,
1: + II_GEN = 3,
1: +};
1: +
1: +enum rrrr_ids {
1: + R4_GEN = 0,
1: + R4_RD = 1,
1: + R4_WR = 2,
1: + R4_DRD = 3,
1: + R4_DWR = 4,
1: + R4_IRD = 5,
1: + R4_PREF = 6,
1: + R4_EVICT = 7,
1: + R4_SNOOP = 8,
1: +};
1: +
1: +struct amd_decoder_ops {
1: + bool (*mc0_mce)(u16, u8);
1: + bool (*mc1_mce)(u16, u8);
1: + bool (*mc2_mce)(u16, u8);
1: +};
1: +
1: +struct smca_mce_desc {
1: + const char * const *descs;
1: + unsigned int num_descs;
1: +};
1: +
1: +struct freq_attr {
1: + struct attribute attr;
1: + ssize_t (*show)(struct cpufreq_policy *, char *);
1: + ssize_t (*store)(struct cpufreq_policy *, const char *, size_t);
1: +};
1: +
1: +struct cpufreq_driver {
1: + char name[16];
1: + u8 flags;
1: + void *driver_data;
1: + int (*init)(struct cpufreq_policy *);
1: + int (*verify)(struct cpufreq_policy *);
1: + int (*setpolicy)(struct cpufreq_policy *);
1: + int (*target)(struct cpufreq_policy *, unsigned int, unsigned int);
1: + int (*target_index)(struct cpufreq_policy *, unsigned int);
1: + unsigned int (*fast_switch)(struct cpufreq_policy *, unsigned int);
1: + unsigned int (*resolve_freq)(struct cpufreq_policy *, unsigned int);
1: + unsigned int (*get_intermediate)(struct cpufreq_policy *, unsigned int);
1: + int (*target_intermediate)(struct cpufreq_policy *, unsigned int);
1: + unsigned int (*get)(unsigned int);
1: + void (*update_limits)(unsigned int);
1: + int (*bios_limit)(int, unsigned int *);
1: + int (*online)(struct cpufreq_policy *);
1: + int (*offline)(struct cpufreq_policy *);
1: + int (*exit)(struct cpufreq_policy *);
1: + void (*stop_cpu)(struct cpufreq_policy *);
1: + int (*suspend)(struct cpufreq_policy *);
1: + int (*resume)(struct cpufreq_policy *);
1: + void (*ready)(struct cpufreq_policy *);
1: + struct freq_attr **attr;
1: + bool boost_enabled;
1: + int (*set_boost)(int);
1: +};
1: +
1: +struct gov_attr_set {
1: + struct kobject kobj;
1: + struct list_head policy_list;
1: + struct mutex update_lock;
1: + int usage_count;
1: +};
1: +
1: +struct governor_attr {
1: + struct attribute attr;
1: + ssize_t (*show)(struct gov_attr_set *, char *);
1: + ssize_t (*store)(struct gov_attr_set *, const char *, size_t);
1: +};
1: +
1: +enum {
1: + OD_NORMAL_SAMPLE = 0,
1: + OD_SUB_SAMPLE = 1,
1: +};
1: +
1: +struct dbs_data {
1: + struct gov_attr_set attr_set;
1: + void *tuners;
1: + unsigned int ignore_nice_load;
1: + unsigned int sampling_rate;
1: + unsigned int sampling_down_factor;
1: + unsigned int up_threshold;
1: + unsigned int io_is_busy;
1: +};
1: +
1: +struct policy_dbs_info {
1: + struct cpufreq_policy *policy;
1: + struct mutex update_mutex;
1: + u64 last_sample_time;
1: + s64 sample_delay_ns;
1: + atomic_t work_count;
1: + struct irq_work irq_work;
1: + struct work_struct work;
1: + struct dbs_data *dbs_data;
1: + struct list_head list;
1: + unsigned int rate_mult;
1: + unsigned int idle_periods;
1: + bool is_shared;
1: + bool work_in_progress;
1: +};
1: +
1: +struct dbs_governor {
1: + struct cpufreq_governor gov;
1: + struct kobj_type kobj_type;
1: + struct dbs_data *gdbs_data;
1: + unsigned int (*gov_dbs_update)(struct cpufreq_policy *);
1: + struct policy_dbs_info * (*alloc)();
1: + void (*free)(struct policy_dbs_info *);
1: + int (*init)(struct dbs_data *);
1: + void (*exit)(struct dbs_data *);
1: + void (*start)(struct cpufreq_policy *);
1: +};
1: +
1: +struct od_ops {
1: + unsigned int (*powersave_bias_target)(struct cpufreq_policy *, unsigned int, unsigned int);
1: +};
1: +
1: +struct od_policy_dbs_info {
1: + struct policy_dbs_info policy_dbs;
1: + unsigned int freq_lo;
1: + unsigned int freq_lo_delay_us;
1: + unsigned int freq_hi_delay_us;
1: + unsigned int sample_type: 1;
1: +};
1: +
1: +struct od_dbs_tuners {
1: + unsigned int powersave_bias;
1: +};
1: +
1: +struct cpu_dbs_info {
1: + u64 prev_cpu_idle;
1: + u64 prev_update_time;
1: + u64 prev_cpu_nice;
1: + unsigned int prev_load;
1: + struct update_util_data update_util;
1: + struct policy_dbs_info *policy_dbs;
1: +};
1: +
1: +enum {
1: + UNDEFINED_CAPABLE = 0,
1: + SYSTEM_INTEL_MSR_CAPABLE = 1,
1: + SYSTEM_AMD_MSR_CAPABLE = 2,
1: + SYSTEM_IO_CAPABLE = 3,
1: +};
1: +
1: +struct acpi_cpufreq_data {
1: + unsigned int resume;
1: + unsigned int cpu_feature;
1: + unsigned int acpi_perf_cpu;
1: + cpumask_var_t freqdomain_cpus;
1: + void (*cpu_freq_write)(struct acpi_pct_register *, u32);
1: + u32 (*cpu_freq_read)(struct acpi_pct_register *);
1: +};
1: +
1: +struct drv_cmd {
1: + struct acpi_pct_register *reg;
1: + u32 val;
1: + union {
1: + void (*write)(struct acpi_pct_register *, u32);
1: + u32 (*read)(struct acpi_pct_register *);
1: + } func;
1: +};
1: +
1: +enum acpi_preferred_pm_profiles {
1: + PM_UNSPECIFIED = 0,
1: + PM_DESKTOP = 1,
1: + PM_MOBILE = 2,
1: + PM_WORKSTATION = 3,
1: + PM_ENTERPRISE_SERVER = 4,
1: + PM_SOHO_SERVER = 5,
1: + PM_APPLIANCE_PC = 6,
1: + PM_PERFORMANCE_SERVER = 7,
1: + PM_TABLET = 8,
1: +};
1: +
1: +struct sample {
1: + int32_t core_avg_perf;
1: + int32_t busy_scaled;
1: + u64 aperf;
1: + u64 mperf;
1: + u64 tsc;
1: + u64 time;
1: +};
1: +
1: +struct pstate_data {
1: + int current_pstate;
1: + int min_pstate;
1: + int max_pstate;
1: + int max_pstate_physical;
1: + int scaling;
1: + int turbo_pstate;
1: + unsigned int max_freq;
1: + unsigned int turbo_freq;
1: +};
1: +
1: +struct vid_data {
1: + int min;
1: + int max;
1: + int turbo;
1: + int32_t ratio;
1: +};
1: +
1: +struct global_params {
1: + bool no_turbo;
1: + bool turbo_disabled;
1: + bool turbo_disabled_mf;
1: + int max_perf_pct;
1: + int min_perf_pct;
1: +};
1: +
1: +struct cpudata {
1: + int cpu;
1: + unsigned int policy;
1: + struct update_util_data update_util;
1: + bool update_util_set;
1: + struct pstate_data pstate;
1: + struct vid_data vid;
1: + u64 last_update;
1: + u64 last_sample_time;
1: + u64 aperf_mperf_shift;
1: + u64 prev_aperf;
1: + u64 prev_mperf;
1: + u64 prev_tsc;
1: + u64 prev_cummulative_iowait;
1: + struct sample sample;
1: + int32_t min_perf_ratio;
1: + int32_t max_perf_ratio;
1: + struct acpi_processor_performance acpi_perf_data;
1: + bool valid_pss_table;
1: + unsigned int iowait_boost;
1: + s16 epp_powersave;
1: + s16 epp_policy;
1: + s16 epp_default;
1: + s16 epp_saved;
1: + u64 hwp_req_cached;
1: + u64 hwp_cap_cached;
1: + u64 last_io_update;
1: + unsigned int sched_flags;
1: + u32 hwp_boost_min;
1: +};
1: +
1: +struct pstate_funcs {
1: + int (*get_max)();
1: + int (*get_max_physical)();
1: + int (*get_min)();
1: + int (*get_turbo)();
1: + int (*get_scaling)();
1: + int (*get_aperf_mperf_shift)();
1: + u64 (*get_val)(struct cpudata *, int);
1: + void (*get_vid)(struct cpudata *);
1: +};
1: +
1: +enum {
1: + PSS = 0,
1: + PPC = 1,
1: +};
1: +
1: +struct cpuidle_governor {
1: + char name[16];
1: + struct list_head governor_list;
1: + unsigned int rating;
1: + int (*enable)(struct cpuidle_driver *, struct cpuidle_device *);
1: + void (*disable)(struct cpuidle_driver *, struct cpuidle_device *);
1: + int (*select)(struct cpuidle_driver *, struct cpuidle_device *, bool *);
1: + void (*reflect)(struct cpuidle_device *, int);
1: +};
1: +
1: +struct cpuidle_state_kobj {
1: + struct cpuidle_state *state;
1: + struct cpuidle_state_usage *state_usage;
1: + struct completion kobj_unregister;
1: + struct kobject kobj;
1: + struct cpuidle_device *device;
1: +};
1: +
1: +struct cpuidle_device_kobj {
1: + struct cpuidle_device *dev;
1: + struct completion kobj_unregister;
1: + struct kobject kobj;
1: +};
1: +
1: +struct cpuidle_attr {
1: + struct attribute attr;
1: + ssize_t (*show)(struct cpuidle_device *, char *);
1: + ssize_t (*store)(struct cpuidle_device *, const char *, size_t);
1: +};
1: +
1: +struct cpuidle_state_attr {
1: + struct attribute attr;
1: + ssize_t (*show)(struct cpuidle_state *, struct cpuidle_state_usage *, char *);
1: + ssize_t (*store)(struct cpuidle_state *, struct cpuidle_state_usage *, const char *, size_t);
1: +};
1: +
1: +struct menu_device {
1: + int needs_update;
1: + int tick_wakeup;
1: + u64 next_timer_ns;
1: + unsigned int bucket;
1: + unsigned int correction_factor[12];
1: + unsigned int intervals[8];
1: + int interval_ptr;
1: +};
1: +
1: +struct led_properties {
1: + u32 color;
1: + bool color_present;
1: + const char *function;
1: + u32 func_enum;
1: + bool func_enum_present;
1: + const char *label;
1: +};
1: +
1: +struct dmi_memdev_info {
1: + const char *device;
1: + const char *bank;
1: + u64 size;
1: + u16 handle;
1: + u8 type;
1: +};
1: +
1: +struct dmi_device_attribute {
1: + struct device_attribute dev_attr;
1: + int field;
1: +};
1: +
1: +struct mafield {
1: + const char *prefix;
1: + int field;
1: +};
1: +
1: +struct firmware_map_entry {
1: + u64 start;
1: + u64 end;
1: + const char *type;
1: + struct list_head list;
1: + struct kobject kobj;
1: +};
1: +
1: +struct memmap_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct firmware_map_entry *, char *);
1: +};
1: +
1: +struct bmp_header {
1: + u16 id;
1: + u32 size;
1: +} __attribute__((packed));
1: +
1: +typedef efi_status_t efi_query_variable_store_t(u32, long unsigned int, bool);
1: +
1: +typedef struct {
1: + efi_guid_t guid;
1: + u32 table;
1: +} efi_config_table_32_t;
1: +
1: +typedef struct {
1: + u32 version;
1: + u32 length;
1: + u64 memory_protection_attribute;
1: +} efi_properties_table_t;
1: +
1: +struct efivar_operations {
1: + efi_get_variable_t *get_variable;
1: + efi_get_next_variable_t *get_next_variable;
1: + efi_set_variable_t *set_variable;
1: + efi_set_variable_t *set_variable_nonblocking;
1: + efi_query_variable_store_t *query_variable_store;
1: +};
1: +
1: +struct efivars {
1: + struct kset *kset;
1: + struct kobject *kobject;
1: + const struct efivar_operations *ops;
1: +};
1: +
1: +struct efi_variable {
1: + efi_char16_t VariableName[512];
1: + efi_guid_t VendorGuid;
1: + long unsigned int DataSize;
1: + __u8 Data[1024];
1: + efi_status_t Status;
1: + __u32 Attributes;
1: +} __attribute__((packed));
1: +
1: +struct efivar_entry {
1: + struct efi_variable var;
1: + struct list_head list;
1: + struct kobject kobj;
1: + bool scanning;
1: + bool deleting;
1: +};
1: +
1: +struct linux_efi_random_seed {
1: + u32 size;
1: + u8 bits[0];
1: +};
1: +
1: +struct linux_efi_memreserve {
1: + int size;
1: + atomic_t count;
1: + phys_addr_t next;
1: + struct {
1: + phys_addr_t base;
1: + phys_addr_t size;
1: + } entry[0];
1: +};
1: +
1: +struct efi_generic_dev_path {
1: + u8 type;
1: + u8 sub_type;
1: + u16 length;
1: +};
1: +
1: +struct variable_validate {
1: + efi_guid_t vendor;
1: + char *name;
1: + bool (*validate)(efi_char16_t *, int, u8 *, long unsigned int);
1: +};
1: +
1: +typedef struct {
1: + u32 version;
1: + u32 num_entries;
1: + u32 desc_size;
1: + u32 reserved;
1: + efi_memory_desc_t entry[0];
1: +} efi_memory_attributes_table_t;
1: +
1: +struct linux_efi_tpm_eventlog {
1: + u32 size;
1: + u32 final_events_preboot_size;
1: + u8 version;
1: + u8 log[0];
1: +};
1: +
1: +struct efi_tcg2_final_events_table {
1: + u64 version;
1: + u64 nr_events;
1: + u8 events[0];
1: +};
1: +
1: +struct tpm_digest {
1: + u16 alg_id;
1: + u8 digest[64];
1: +};
1: +
1: +enum tpm_duration {
1: + TPM_SHORT = 0,
1: + TPM_MEDIUM = 1,
1: + TPM_LONG = 2,
1: + TPM_LONG_LONG = 3,
1: + TPM_UNDEFINED = 4,
1: + TPM_NUM_DURATIONS = 4,
1: +};
1: +
1: +struct tcg_efi_specid_event_algs {
1: + u16 alg_id;
1: + u16 digest_size;
1: +};
1: +
1: +struct tcg_efi_specid_event_head {
1: + u8 signature[16];
1: + u32 platform_class;
1: + u8 spec_version_minor;
1: + u8 spec_version_major;
1: + u8 spec_errata;
1: + u8 uintnsize;
1: + u32 num_algs;
1: + struct tcg_efi_specid_event_algs digest_sizes[0];
1: +};
1: +
1: +struct tcg_pcr_event {
1: + u32 pcr_idx;
1: + u32 event_type;
1: + u8 digest[20];
1: + u32 event_size;
1: + u8 event[0];
1: +};
1: +
1: +struct tcg_event_field {
1: + u32 event_size;
1: + u8 event[0];
1: +};
1: +
1: +struct tcg_pcr_event2_head {
1: + u32 pcr_idx;
1: + u32 event_type;
1: + u32 count;
1: + struct tpm_digest digests[0];
1: +};
1: +
1: +typedef struct {
1: + u64 length;
1: + u64 data;
1: +} efi_capsule_block_desc_t;
1: +
1: +struct compat_efi_variable {
1: + efi_char16_t VariableName[512];
1: + efi_guid_t VendorGuid;
1: + __u32 DataSize;
1: + __u8 Data[1024];
1: + __u32 Status;
1: + __u32 Attributes;
1: +};
1: +
1: +struct efivar_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct efivar_entry *, char *);
1: + ssize_t (*store)(struct efivar_entry *, const char *, size_t);
1: +};
1: +
1: +struct efi_system_resource_entry_v1 {
1: + efi_guid_t fw_class;
1: + u32 fw_type;
1: + u32 fw_version;
1: + u32 lowest_supported_fw_version;
1: + u32 capsule_flags;
1: + u32 last_attempt_version;
1: + u32 last_attempt_status;
1: +};
1: +
1: +struct efi_system_resource_table {
1: + u32 fw_resource_count;
1: + u32 fw_resource_count_max;
1: + u64 fw_resource_version;
1: + u8 entries[0];
1: +};
1: +
1: +struct esre_entry {
1: + union {
1: + struct efi_system_resource_entry_v1 *esre1;
1: + } esre;
1: + struct kobject kobj;
1: + struct list_head list;
1: +};
1: +
1: +struct esre_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct esre_entry *, char *);
1: + ssize_t (*store)(struct esre_entry *, const char *, size_t);
1: +};
1: +
1: +struct efi_runtime_map_entry {
1: + efi_memory_desc_t md;
1: + struct kobject kobj;
1: +};
1: +
1: +struct map_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct efi_runtime_map_entry *, char *);
1: +};
1: +
1: +struct hid_device_id {
1: + __u16 bus;
1: + __u16 group;
1: + __u32 vendor;
1: + __u32 product;
1: + kernel_ulong_t driver_data;
1: +};
1: +
1: +struct hid_item {
1: + unsigned int format;
1: + __u8 size;
1: + __u8 type;
1: + __u8 tag;
1: + union {
1: + __u8 u8;
1: + __s8 s8;
1: + __u16 u16;
1: + __s16 s16;
1: + __u32 u32;
1: + __s32 s32;
1: + __u8 *longdata;
1: + } data;
1: +};
1: +
1: +struct hid_global {
1: + unsigned int usage_page;
1: + __s32 logical_minimum;
1: + __s32 logical_maximum;
1: + __s32 physical_minimum;
1: + __s32 physical_maximum;
1: + __s32 unit_exponent;
1: + unsigned int unit;
1: + unsigned int report_id;
1: + unsigned int report_size;
1: + unsigned int report_count;
1: +};
1: +
1: +struct hid_local {
1: + unsigned int usage[12288];
1: + u8 usage_size[12288];
1: + unsigned int collection_index[12288];
1: + unsigned int usage_index;
1: + unsigned int usage_minimum;
1: + unsigned int delimiter_depth;
1: + unsigned int delimiter_branch;
1: +};
1: +
1: +struct hid_collection {
1: + int parent_idx;
1: + unsigned int type;
1: + unsigned int usage;
1: + unsigned int level;
1: +};
1: +
1: +struct hid_usage {
1: + unsigned int hid;
1: + unsigned int collection_index;
1: + unsigned int usage_index;
1: + __s8 resolution_multiplier;
1: + __s8 wheel_factor;
1: + __u16 code;
1: + __u8 type;
1: + __s8 hat_min;
1: + __s8 hat_max;
1: + __s8 hat_dir;
1: + __s16 wheel_accumulated;
1: +};
1: +
1: +struct hid_report;
1: +
1: +struct hid_input;
1: +
1: +struct hid_field {
1: + unsigned int physical;
1: + unsigned int logical;
1: + unsigned int application;
1: + struct hid_usage *usage;
1: + unsigned int maxusage;
1: + unsigned int flags;
1: + unsigned int report_offset;
1: + unsigned int report_size;
1: + unsigned int report_count;
1: + unsigned int report_type;
1: + __s32 *value;
1: + __s32 logical_minimum;
1: + __s32 logical_maximum;
1: + __s32 physical_minimum;
1: + __s32 physical_maximum;
1: + __s32 unit_exponent;
1: + unsigned int unit;
1: + struct hid_report *report;
1: + unsigned int index;
1: + struct hid_input *hidinput;
1: + __u16 dpad;
1: +};
1: +
1: +struct hid_device;
1: +
1: +struct hid_report {
1: + struct list_head list;
1: + struct list_head hidinput_list;
1: + unsigned int id;
1: + unsigned int type;
1: + unsigned int application;
1: + struct hid_field *field[256];
1: + unsigned int maxfield;
1: + unsigned int size;
1: + struct hid_device *device;
1: +};
1: +
1: +struct hid_input {
1: + struct list_head list;
1: + struct hid_report *report;
1: + struct input_dev *input;
1: + const char *name;
1: + bool registered;
1: + struct list_head reports;
1: + unsigned int application;
1: +};
1: +
1: +enum hid_type {
1: + HID_TYPE_OTHER = 0,
1: + HID_TYPE_USBMOUSE = 1,
1: + HID_TYPE_USBNONE = 2,
1: +};
1: +
1: +struct hid_report_enum {
1: + unsigned int numbered;
1: + struct list_head report_list;
1: + struct hid_report *report_id_hash[256];
1: +};
1: +
1: +struct hid_driver;
1: +
1: +struct hid_ll_driver;
1: +
1: +struct hid_device {
1: + __u8 *dev_rdesc;
1: + unsigned int dev_rsize;
1: + __u8 *rdesc;
1: + unsigned int rsize;
1: + struct hid_collection *collection;
1: + unsigned int collection_size;
1: + unsigned int maxcollection;
1: + unsigned int maxapplication;
1: + __u16 bus;
1: + __u16 group;
1: + __u32 vendor;
1: + __u32 product;
1: + __u32 version;
1: + enum hid_type type;
1: + unsigned int country;
1: + struct hid_report_enum report_enum[3];
1: + struct work_struct led_work;
1: + struct semaphore driver_input_lock;
1: + struct device dev;
1: + struct hid_driver *driver;
1: + struct hid_ll_driver *ll_driver;
1: + struct mutex ll_open_lock;
1: + unsigned int ll_open_count;
1: + long unsigned int status;
1: + unsigned int claimed;
1: + unsigned int quirks;
1: + bool io_started;
1: + struct list_head inputs;
1: + void *hiddev;
1: + void *hidraw;
1: + char name[128];
1: + char phys[64];
1: + char uniq[64];
1: + void *driver_data;
1: + int (*ff_init)(struct hid_device *);
1: + int (*hiddev_connect)(struct hid_device *, unsigned int);
1: + void (*hiddev_disconnect)(struct hid_device *);
1: + void (*hiddev_hid_event)(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
1: + void (*hiddev_report_event)(struct hid_device *, struct hid_report *);
1: + short unsigned int debug;
1: + struct dentry *debug_dir;
1: + struct dentry *debug_rdesc;
1: + struct dentry *debug_events;
1: + struct list_head debug_list;
1: + spinlock_t debug_list_lock;
1: + wait_queue_head_t debug_wait;
1: +};
1: +
1: +struct hid_report_id;
1: +
1: +struct hid_usage_id;
1: +
1: +struct hid_driver {
1: + char *name;
1: + const struct hid_device_id *id_table;
1: + struct list_head dyn_list;
1: + spinlock_t dyn_lock;
1: + bool (*match)(struct hid_device *, bool);
1: + int (*probe)(struct hid_device *, const struct hid_device_id *);
1: + void (*remove)(struct hid_device *);
1: + const struct hid_report_id *report_table;
1: + int (*raw_event)(struct hid_device *, struct hid_report *, u8 *, int);
1: + const struct hid_usage_id *usage_table;
1: + int (*event)(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
1: + void (*report)(struct hid_device *, struct hid_report *);
1: + __u8 * (*report_fixup)(struct hid_device *, __u8 *, unsigned int *);
1: + int (*input_mapping)(struct hid_device *, struct hid_input *, struct hid_field *, struct hid_usage *, long unsigned int **, int *);
1: + int (*input_mapped)(struct hid_device *, struct hid_input *, struct hid_field *, struct hid_usage *, long unsigned int **, int *);
1: + int (*input_configured)(struct hid_device *, struct hid_input *);
1: + void (*feature_mapping)(struct hid_device *, struct hid_field *, struct hid_usage *);
1: + int (*suspend)(struct hid_device *, pm_message_t);
1: + int (*resume)(struct hid_device *);
1: + int (*reset_resume)(struct hid_device *);
1: + struct device_driver driver;
1: +};
1: +
1: +struct hid_ll_driver {
1: + int (*start)(struct hid_device *);
1: + void (*stop)(struct hid_device *);
1: + int (*open)(struct hid_device *);
1: + void (*close)(struct hid_device *);
1: + int (*power)(struct hid_device *, int);
1: + int (*parse)(struct hid_device *);
1: + void (*request)(struct hid_device *, struct hid_report *, int);
1: + int (*wait)(struct hid_device *);
1: + int (*raw_request)(struct hid_device *, unsigned char, __u8 *, size_t, unsigned char, int);
1: + int (*output_report)(struct hid_device *, __u8 *, size_t);
1: + int (*idle)(struct hid_device *, int, int, int);
1: +};
1: +
1: +struct hid_parser {
1: + struct hid_global global;
1: + struct hid_global global_stack[4];
1: + unsigned int global_stack_ptr;
1: + struct hid_local local;
1: + unsigned int *collection_stack;
1: + unsigned int collection_stack_ptr;
1: + unsigned int collection_stack_size;
1: + struct hid_device *device;
1: + unsigned int scan_flags;
1: +};
1: +
1: +struct hid_report_id {
1: + __u32 report_type;
1: +};
1: +
1: +struct hid_usage_id {
1: + __u32 usage_hid;
1: + __u32 usage_type;
1: + __u32 usage_code;
1: +};
1: +
1: +struct hiddev {
1: + int minor;
1: + int exist;
1: + int open;
1: + struct mutex existancelock;
1: + wait_queue_head_t wait;
1: + struct hid_device *hid;
1: + struct list_head list;
1: + spinlock_t list_lock;
1: + bool initialized;
1: +};
1: +
1: +struct hidraw {
1: + unsigned int minor;
1: + int exist;
1: + int open;
1: + wait_queue_head_t wait;
1: + struct hid_device *hid;
1: + struct device *dev;
1: + spinlock_t list_lock;
1: + struct list_head list;
1: +};
1: +
1: +struct hid_dynid {
1: + struct list_head list;
1: + struct hid_device_id id;
1: +};
1: +
1: +typedef bool (*hid_usage_cmp_t)(struct hid_usage *, unsigned int, unsigned int);
1: +
1: +struct quirks_list_struct {
1: + struct hid_device_id hid_bl_item;
1: + struct list_head node;
1: +};
1: +
1: +struct hid_debug_list {
1: + struct {
1: + union {
1: + struct __kfifo kfifo;
1: + char *type;
1: + const char *const_type;
1: + char (*rectype)[0];
1: + char *ptr;
1: + const char *ptr_const;
1: + };
1: + char buf[0];
1: + } hid_debug_fifo;
1: + struct fasync_struct *fasync;
1: + struct hid_device *hdev;
1: + struct list_head node;
1: + struct mutex read_mutex;
1: +};
1: +
1: +struct hid_usage_entry {
1: + unsigned int page;
1: + unsigned int usage;
1: + const char *description;
1: +};
1: +
1: +struct hidraw_devinfo {
1: + __u32 bustype;
1: + __s16 vendor;
1: + __s16 product;
1: +};
1: +
1: +struct hidraw_report {
1: + __u8 *value;
1: + int len;
1: +};
1: +
1: +struct hidraw_list {
1: + struct hidraw_report buffer[64];
1: + int head;
1: + int tail;
1: + struct fasync_struct *fasync;
1: + struct hidraw *hidraw;
1: + struct list_head node;
1: + struct mutex read_mutex;
1: +};
1: +
1: +struct a4tech_sc {
1: + long unsigned int quirks;
1: + unsigned int hw_wheel;
1: + __s32 delayed_value;
1: +};
1: +
1: +struct apple_sc {
1: + long unsigned int quirks;
1: + unsigned int fn_on;
1: + long unsigned int pressed_numlock[12];
1: +};
1: +
1: +struct apple_key_translation {
1: + u16 from;
1: + u16 to;
1: + u8 flags;
1: +};
1: +
1: +struct lg_drv_data {
1: + long unsigned int quirks;
1: + void *device_props;
1: +};
1: +
1: +struct dev_type___2 {
1: + u16 idVendor;
1: + u16 idProduct;
1: + const short int *ff;
1: +};
1: +
1: +struct lg4ff_wheel_data {
1: + const u32 product_id;
1: + u16 combine;
1: + u16 range;
1: + const u16 min_range;
1: + const u16 max_range;
1: + u8 led_state;
1: + struct led_classdev *led[5];
1: + const u32 alternate_modes;
1: + const char * const real_tag;
1: + const char * const real_name;
1: + const u16 real_product_id;
1: + void (*set_range)(struct hid_device *, u16);
1: +};
1: +
1: +struct lg4ff_device_entry {
1: + spinlock_t report_lock;
1: + struct hid_report *report;
1: + struct lg4ff_wheel_data wdata;
1: +};
1: +
1: +struct lg4ff_wheel {
1: + const u32 product_id;
1: + const short int *ff_effects;
1: + const u16 min_range;
1: + const u16 max_range;
1: + void (*set_range)(struct hid_device *, u16);
1: +};
1: +
1: +struct lg4ff_compat_mode_switch {
1: + const u8 cmd_count;
1: + u8 cmd[0];
1: +};
1: +
1: +struct lg4ff_wheel_ident_info {
1: + const u32 modes;
1: + const u16 mask;
1: + const u16 result;
1: + const u16 real_product_id;
1: +};
1: +
1: +struct lg4ff_multimode_wheel {
1: + const u16 product_id;
1: + const u32 alternate_modes;
1: + const char *real_tag;
1: + const char *real_name;
1: +};
1: +
1: +struct lg4ff_alternate_mode {
1: + const u16 product_id;
1: + const char *tag;
1: + const char *name;
1: +};
1: +
1: +enum lg_g15_model {
1: + LG_G15 = 0,
1: + LG_G15_V2 = 1,
1: + LG_G510 = 2,
1: + LG_G510_USB_AUDIO = 3,
1: +};
1: +
1: +enum lg_g15_led_type {
1: + LG_G15_KBD_BRIGHTNESS = 0,
1: + LG_G15_LCD_BRIGHTNESS = 1,
1: + LG_G15_BRIGHTNESS_MAX = 2,
1: + LG_G15_MACRO_PRESET1 = 2,
1: + LG_G15_MACRO_PRESET2 = 3,
1: + LG_G15_MACRO_PRESET3 = 4,
1: + LG_G15_MACRO_RECORD = 5,
1: + LG_G15_LED_MAX = 6,
1: +};
1: +
1: +struct lg_g15_led {
1: + struct led_classdev cdev;
1: + enum led_brightness brightness;
1: + enum lg_g15_led_type led;
1: + u8 red;
1: + u8 green;
1: + u8 blue;
1: +};
1: +
1: +struct lg_g15_data {
1: + u8 transfer_buf[20];
1: + struct mutex mutex;
1: + struct work_struct work;
1: + struct input_dev *input;
1: + struct hid_device *hdev;
1: + enum lg_g15_model model;
1: + struct lg_g15_led leds[6];
1: + bool game_mode_enabled;
1: +};
1: +
1: +struct ms_data {
1: + long unsigned int quirks;
1: + struct hid_device *hdev;
1: + struct work_struct ff_worker;
1: + __u8 strong;
1: + __u8 weak;
1: + void *output_report_dmabuf;
1: +};
1: +
1: +enum {
1: + MAGNITUDE_STRONG = 2,
1: + MAGNITUDE_WEAK = 3,
1: + MAGNITUDE_NUM = 4,
1: +};
1: +
1: +struct xb1s_ff_report {
1: + __u8 report_id;
1: + __u8 enable;
1: + __u8 magnitude[4];
1: + __u8 duration_10ms;
1: + __u8 start_delay_10ms;
1: + __u8 loop_count;
1: +};
1: +
1: +struct ntrig_data {
1: + __u16 x;
1: + __u16 y;
1: + __u16 w;
1: + __u16 h;
1: + __u16 id;
1: + bool tipswitch;
1: + bool confidence;
1: + bool first_contact_touch;
1: + bool reading_mt;
1: + __u8 mt_footer[4];
1: + __u8 mt_foot_count;
1: + __s8 act_state;
1: + __s8 deactivate_slack;
1: + __s8 activate_slack;
1: + __u16 min_width;
1: + __u16 min_height;
1: + __u16 activation_width;
1: + __u16 activation_height;
1: + __u16 sensor_logical_width;
1: + __u16 sensor_logical_height;
1: + __u16 sensor_physical_width;
1: + __u16 sensor_physical_height;
1: +};
1: +
1: +struct plff_device {
1: + struct hid_report *report;
1: + s32 maxval;
1: + s32 *strong;
1: + s32 *weak;
1: +};
1: +
1: +enum {
1: + POWER_SUPPLY_SCOPE_UNKNOWN = 0,
1: + POWER_SUPPLY_SCOPE_SYSTEM = 1,
1: + POWER_SUPPLY_SCOPE_DEVICE = 2,
1: +};
1: +
1: +struct sixaxis_led {
1: + u8 time_enabled;
1: + u8 duty_length;
1: + u8 enabled;
1: + u8 duty_off;
1: + u8 duty_on;
1: +};
1: +
1: +struct sixaxis_rumble {
1: + u8 padding;
1: + u8 right_duration;
1: + u8 right_motor_on;
1: + u8 left_duration;
1: + u8 left_motor_force;
1: +};
1: +
1: +struct sixaxis_output_report {
1: + u8 report_id;
1: + struct sixaxis_rumble rumble;
1: + u8 padding[4];
1: + u8 leds_bitmap;
1: + struct sixaxis_led led[4];
1: + struct sixaxis_led _reserved;
1: +};
1: +
1: +union sixaxis_output_report_01 {
1: + struct sixaxis_output_report data;
1: + u8 buf[36];
1: +};
1: +
1: +struct motion_output_report_02 {
1: + u8 type;
1: + u8 zero;
1: + u8 r;
1: + u8 g;
1: + u8 b;
1: + u8 zero2;
1: + u8 rumble;
1: +};
1: +
1: +struct ds4_calibration_data {
1: + int abs_code;
1: + short int bias;
1: + int sens_numer;
1: + int sens_denom;
1: +};
1: +
1: +enum ds4_dongle_state {
1: + DONGLE_DISCONNECTED = 0,
1: + DONGLE_CALIBRATING = 1,
1: + DONGLE_CONNECTED = 2,
1: + DONGLE_DISABLED = 3,
1: +};
1: +
1: +enum sony_worker {
1: + SONY_WORKER_STATE = 0,
1: + SONY_WORKER_HOTPLUG = 1,
1: +};
1: +
1: +struct sony_sc {
1: + spinlock_t lock;
1: + struct list_head list_node;
1: + struct hid_device *hdev;
1: + struct input_dev *touchpad;
1: + struct input_dev *sensor_dev;
1: + struct led_classdev *leds[4];
1: + long unsigned int quirks;
1: + struct work_struct hotplug_worker;
1: + struct work_struct state_worker;
1: + void (*send_output_report)(struct sony_sc *);
1: + struct power_supply *battery;
1: + struct power_supply_desc battery_desc;
1: + int device_id;
1: + unsigned int fw_version;
1: + unsigned int hw_version;
1: + u8 *output_report_dmabuf;
1: + u8 mac_address[6];
1: + u8 hotplug_worker_initialized;
1: + u8 state_worker_initialized;
1: + u8 defer_initialization;
1: + u8 cable_state;
1: + u8 battery_charging;
1: + u8 battery_capacity;
1: + u8 led_state[4];
1: + u8 led_delay_on[4];
1: + u8 led_delay_off[4];
1: + u8 led_count;
1: + bool timestamp_initialized;
1: + u16 prev_timestamp;
1: + unsigned int timestamp_us;
1: + u8 ds4_bt_poll_interval;
1: + enum ds4_dongle_state ds4_dongle_state;
1: + struct ds4_calibration_data ds4_calib_data[6];
1: +};
1: +
1: +struct hid_control_fifo {
1: + unsigned char dir;
1: + struct hid_report *report;
1: + char *raw_report;
1: +};
1: +
1: +struct hid_output_fifo {
1: + struct hid_report *report;
1: + char *raw_report;
1: +};
1: +
1: +struct hid_class_descriptor {
1: + __u8 bDescriptorType;
1: + __le16 wDescriptorLength;
1: +} __attribute__((packed));
1: +
1: +struct hid_descriptor {
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 bcdHID;
1: + __u8 bCountryCode;
1: + __u8 bNumDescriptors;
1: + struct hid_class_descriptor desc[1];
1: +} __attribute__((packed));
1: +
1: +struct usbhid_device {
1: + struct hid_device *hid;
1: + struct usb_interface *intf;
1: + int ifnum;
1: + unsigned int bufsize;
1: + struct urb *urbin;
1: + char *inbuf;
1: + dma_addr_t inbuf_dma;
1: + struct urb *urbctrl;
1: + struct usb_ctrlrequest *cr;
1: + struct hid_control_fifo ctrl[256];
1: + unsigned char ctrlhead;
1: + unsigned char ctrltail;
1: + char *ctrlbuf;
1: + dma_addr_t ctrlbuf_dma;
1: + long unsigned int last_ctrl;
1: + struct urb *urbout;
1: + struct hid_output_fifo out[256];
1: + unsigned char outhead;
1: + unsigned char outtail;
1: + char *outbuf;
1: + dma_addr_t outbuf_dma;
1: + long unsigned int last_out;
1: + spinlock_t lock;
1: + long unsigned int iofl;
1: + struct timer_list io_retry;
1: + long unsigned int stop_retry;
1: + unsigned int retry_delay;
1: + struct work_struct reset_work;
1: + wait_queue_head_t wait;
1: +};
1: +
1: +struct hiddev_event {
1: + unsigned int hid;
1: + int value;
1: +};
1: +
1: +struct hiddev_devinfo {
1: + __u32 bustype;
1: + __u32 busnum;
1: + __u32 devnum;
1: + __u32 ifnum;
1: + __s16 vendor;
1: + __s16 product;
1: + __s16 version;
1: + __u32 num_applications;
1: +};
1: +
1: +struct hiddev_collection_info {
1: + __u32 index;
1: + __u32 type;
1: + __u32 usage;
1: + __u32 level;
1: +};
1: +
1: +struct hiddev_report_info {
1: + __u32 report_type;
1: + __u32 report_id;
1: + __u32 num_fields;
1: +};
1: +
1: +struct hiddev_field_info {
1: + __u32 report_type;
1: + __u32 report_id;
1: + __u32 field_index;
1: + __u32 maxusage;
1: + __u32 flags;
1: + __u32 physical;
1: + __u32 logical;
1: + __u32 application;
1: + __s32 logical_minimum;
1: + __s32 logical_maximum;
1: + __s32 physical_minimum;
1: + __s32 physical_maximum;
1: + __u32 unit_exponent;
1: + __u32 unit;
1: +};
1: +
1: +struct hiddev_usage_ref {
1: + __u32 report_type;
1: + __u32 report_id;
1: + __u32 field_index;
1: + __u32 usage_index;
1: + __u32 usage_code;
1: + __s32 value;
1: +};
1: +
1: +struct hiddev_usage_ref_multi {
1: + struct hiddev_usage_ref uref;
1: + __u32 num_values;
1: + __s32 values[1024];
1: +};
1: +
1: +struct hiddev_list {
1: + struct hiddev_usage_ref buffer[2048];
1: + int head;
1: + int tail;
1: + unsigned int flags;
1: + struct fasync_struct *fasync;
1: + struct hiddev *hiddev;
1: + struct list_head node;
1: + struct mutex thread_lock;
1: +};
1: +
1: +struct pidff_usage {
1: + struct hid_field *field;
1: + s32 *value;
1: +};
1: +
1: +struct pidff_device {
1: + struct hid_device *hid;
1: + struct hid_report *reports[13];
1: + struct pidff_usage set_effect[7];
1: + struct pidff_usage set_envelope[5];
1: + struct pidff_usage set_condition[8];
1: + struct pidff_usage set_periodic[5];
1: + struct pidff_usage set_constant[2];
1: + struct pidff_usage set_ramp[3];
1: + struct pidff_usage device_gain[1];
1: + struct pidff_usage block_load[2];
1: + struct pidff_usage pool[3];
1: + struct pidff_usage effect_operation[2];
1: + struct pidff_usage block_free[1];
1: + struct hid_field *create_new_effect_type;
1: + struct hid_field *set_effect_type;
1: + struct hid_field *effect_direction;
1: + struct hid_field *device_control;
1: + struct hid_field *block_load_status;
1: + struct hid_field *effect_operation_status;
1: + int control_id[2];
1: + int type_id[11];
1: + int status_id[2];
1: + int operation_id[2];
1: + int pid_id[64];
1: +};
1: +
1: +enum rfkill_type {
1: + RFKILL_TYPE_ALL = 0,
1: + RFKILL_TYPE_WLAN = 1,
1: + RFKILL_TYPE_BLUETOOTH = 2,
1: + RFKILL_TYPE_UWB = 3,
1: + RFKILL_TYPE_WIMAX = 4,
1: + RFKILL_TYPE_WWAN = 5,
1: + RFKILL_TYPE_GPS = 6,
1: + RFKILL_TYPE_FM = 7,
1: + RFKILL_TYPE_NFC = 8,
1: + NUM_RFKILL_TYPES = 9,
1: +};
1: +
1: +struct rfkill;
1: +
1: +struct rfkill_ops {
1: + void (*poll)(struct rfkill *, void *);
1: + void (*query)(struct rfkill *, void *);
1: + int (*set_block)(void *, bool);
1: +};
1: +
1: +enum {
1: + DISABLE_ASL_WLAN = 1,
1: + DISABLE_ASL_BLUETOOTH = 2,
1: + DISABLE_ASL_IRDA = 4,
1: + DISABLE_ASL_CAMERA = 8,
1: + DISABLE_ASL_TV = 16,
1: + DISABLE_ASL_GPS = 32,
1: + DISABLE_ASL_DISPLAYSWITCH = 64,
1: + DISABLE_ASL_MODEM = 128,
1: + DISABLE_ASL_CARDREADER = 256,
1: + DISABLE_ASL_3G = 512,
1: + DISABLE_ASL_WIMAX = 1024,
1: + DISABLE_ASL_HWCF = 2048,
1: +};
1: +
1: +enum {
1: + CM_ASL_WLAN = 0,
1: + CM_ASL_BLUETOOTH = 1,
1: + CM_ASL_IRDA = 2,
1: + CM_ASL_1394 = 3,
1: + CM_ASL_CAMERA = 4,
1: + CM_ASL_TV = 5,
1: + CM_ASL_GPS = 6,
1: + CM_ASL_DVDROM = 7,
1: + CM_ASL_DISPLAYSWITCH = 8,
1: + CM_ASL_PANELBRIGHT = 9,
1: + CM_ASL_BIOSFLASH = 10,
1: + CM_ASL_ACPIFLASH = 11,
1: + CM_ASL_CPUFV = 12,
1: + CM_ASL_CPUTEMPERATURE = 13,
1: + CM_ASL_FANCPU = 14,
1: + CM_ASL_FANCHASSIS = 15,
1: + CM_ASL_USBPORT1 = 16,
1: + CM_ASL_USBPORT2 = 17,
1: + CM_ASL_USBPORT3 = 18,
1: + CM_ASL_MODEM = 19,
1: + CM_ASL_CARDREADER = 20,
1: + CM_ASL_3G = 21,
1: + CM_ASL_WIMAX = 22,
1: + CM_ASL_HWCF = 23,
1: + CM_ASL_LID = 24,
1: + CM_ASL_TYPE = 25,
1: + CM_ASL_PANELPOWER = 26,
1: + CM_ASL_TPD = 27,
1: +};
1: +
1: +struct eeepc_laptop {
1: + acpi_handle handle;
1: + u32 cm_supported;
1: + bool cpufv_disabled;
1: + bool hotplug_disabled;
1: + u16 event_count[128];
1: + struct platform_device *platform_device;
1: + struct acpi_device *device;
1: + struct backlight_device *backlight_device;
1: + struct input_dev *inputdev;
1: + struct rfkill *wlan_rfkill;
1: + struct rfkill *bluetooth_rfkill;
1: + struct rfkill *wwan3g_rfkill;
1: + struct rfkill *wimax_rfkill;
1: + struct hotplug_slot hotplug_slot;
1: + struct mutex hotplug_lock;
1: + struct led_classdev tpd_led;
1: + int tpd_led_wk;
1: + struct workqueue_struct *led_workqueue;
1: + struct work_struct tpd_led_work;
1: +};
1: +
1: +struct eeepc_cpufv {
1: + int num;
1: + int cur;
1: +};
1: +
1: +struct pmc_bit_map {
1: + const char *name;
1: + u32 bit_mask;
1: +};
1: +
1: +struct pmc_reg_map {
1: + const struct pmc_bit_map *d3_sts_0;
1: + const struct pmc_bit_map *d3_sts_1;
1: + const struct pmc_bit_map *func_dis;
1: + const struct pmc_bit_map *func_dis_2;
1: + const struct pmc_bit_map *pss;
1: +};
1: +
1: +struct pmc_data {
1: + const struct pmc_reg_map *map;
1: + const struct pmc_clk *clks;
1: +};
1: +
1: +struct pmc_dev {
1: + u32 base_addr;
1: + void *regmap;
1: + const struct pmc_reg_map *map;
1: + struct dentry *dbgfs_dir;
1: + bool init;
1: +};
1: +
1: +struct acpi_table_pcct {
1: + struct acpi_table_header header;
1: + u32 flags;
1: + u64 reserved;
1: +};
1: +
1: +enum acpi_pcct_type {
1: + ACPI_PCCT_TYPE_GENERIC_SUBSPACE = 0,
1: + ACPI_PCCT_TYPE_HW_REDUCED_SUBSPACE = 1,
1: + ACPI_PCCT_TYPE_HW_REDUCED_SUBSPACE_TYPE2 = 2,
1: + ACPI_PCCT_TYPE_EXT_PCC_MASTER_SUBSPACE = 3,
1: + ACPI_PCCT_TYPE_EXT_PCC_SLAVE_SUBSPACE = 4,
1: + ACPI_PCCT_TYPE_RESERVED = 5,
1: +};
1: +
1: +struct acpi_pcct_subspace {
1: + struct acpi_subtable_header header;
1: + u8 reserved[6];
1: + u64 base_address;
1: + u64 length;
1: + struct acpi_generic_address doorbell_register;
1: + u64 preserve_mask;
1: + u64 write_mask;
1: + u32 latency;
1: + u32 max_access_rate;
1: + u16 min_turnaround_time;
1: +} __attribute__((packed));
1: +
1: +struct acpi_pcct_hw_reduced_type2 {
1: + struct acpi_subtable_header header;
1: + u32 platform_interrupt;
1: + u8 flags;
1: + u8 reserved;
1: + u64 base_address;
1: + u64 length;
1: + struct acpi_generic_address doorbell_register;
1: + u64 preserve_mask;
1: + u64 write_mask;
1: + u32 latency;
1: + u32 max_access_rate;
1: + u16 min_turnaround_time;
1: + struct acpi_generic_address platform_ack_register;
1: + u64 ack_preserve_mask;
1: + u64 ack_write_mask;
1: +} __attribute__((packed));
1: +
1: +struct cper_sec_proc_arm {
1: + u32 validation_bits;
1: + u16 err_info_num;
1: + u16 context_info_num;
1: + u32 section_length;
1: + u8 affinity_level;
1: + u8 reserved[3];
1: + u64 mpidr;
1: + u64 midr;
1: + u32 running_state;
1: + u32 psci_state;
1: +};
1: +
1: +struct trace_event_raw_mc_event {
1: + struct trace_entry ent;
1: + unsigned int error_type;
1: + u32 __data_loc_msg;
1: + u32 __data_loc_label;
1: + u16 error_count;
1: + u8 mc_index;
1: + s8 top_layer;
1: + s8 middle_layer;
1: + s8 lower_layer;
1: + long int address;
1: + u8 grain_bits;
1: + long int syndrome;
1: + u32 __data_loc_driver_detail;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_arm_event {
1: + struct trace_entry ent;
1: + u64 mpidr;
1: + u64 midr;
1: + u32 running_state;
1: + u32 psci_state;
1: + u8 affinity;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_non_standard_event {
1: + struct trace_entry ent;
1: + char sec_type[16];
1: + char fru_id[16];
1: + u32 __data_loc_fru_text;
1: + u8 sev;
1: + u32 len;
1: + u32 __data_loc_buf;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_aer_event {
1: + struct trace_entry ent;
1: + u32 __data_loc_dev_name;
1: + u32 status;
1: + u8 severity;
1: + u8 tlp_header_valid;
1: + u32 tlp_header[4];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_mc_event {
1: + u32 msg;
1: + u32 label;
1: + u32 driver_detail;
1: +};
1: +
1: +struct trace_event_data_offsets_arm_event {};
1: +
1: +struct trace_event_data_offsets_non_standard_event {
1: + u32 fru_text;
1: + u32 buf;
1: +};
1: +
1: +struct trace_event_data_offsets_aer_event {
1: + u32 dev_name;
1: +};
1: +
1: +struct nvmem_cell_lookup {
1: + const char *nvmem_name;
1: + const char *cell_name;
1: + const char *dev_id;
1: + const char *con_id;
1: + struct list_head node;
1: +};
1: +
1: +enum {
1: + NVMEM_ADD = 1,
1: + NVMEM_REMOVE = 2,
1: + NVMEM_CELL_ADD = 3,
1: + NVMEM_CELL_REMOVE = 4,
1: +};
1: +
1: +struct nvmem_cell_table {
1: + const char *nvmem_name;
1: + const struct nvmem_cell_info *cells;
1: + size_t ncells;
1: + struct list_head node;
1: +};
1: +
1: +struct nvmem_device___2 {
1: + struct module *owner;
1: + struct device dev;
1: + int stride;
1: + int word_size;
1: + int id;
1: + struct kref refcnt;
1: + size_t size;
1: + bool read_only;
1: + int flags;
1: + enum nvmem_type type;
1: + struct bin_attribute eeprom;
1: + struct device *base_dev;
1: + struct list_head cells;
1: + nvmem_reg_read_t reg_read;
1: + nvmem_reg_write_t reg_write;
1: + void *priv;
1: +};
1: +
1: +struct nvmem_cell {
1: + const char *name;
1: + int offset;
1: + int bytes;
1: + int bit_offset;
1: + int nbits;
1: + struct device_node *np;
1: + struct nvmem_device___2 *nvmem;
1: + struct list_head node;
1: +};
1: +
1: +struct snd_shutdown_f_ops;
1: +
1: +struct snd_info_entry;
1: +
1: +struct snd_card {
1: + int number;
1: + char id[16];
1: + char driver[16];
1: + char shortname[32];
1: + char longname[80];
1: + char irq_descr[32];
1: + char mixername[80];
1: + char components[128];
1: + struct module *module;
1: + void *private_data;
1: + void (*private_free)(struct snd_card *);
1: + struct list_head devices;
1: + struct device ctl_dev;
1: + unsigned int last_numid;
1: + struct rw_semaphore controls_rwsem;
1: + rwlock_t ctl_files_rwlock;
1: + int controls_count;
1: + int user_ctl_count;
1: + struct list_head controls;
1: + struct list_head ctl_files;
1: + struct snd_info_entry *proc_root;
1: + struct proc_dir_entry *proc_root_link;
1: + struct list_head files_list;
1: + struct snd_shutdown_f_ops *s_f_ops;
1: + spinlock_t files_lock;
1: + int shutdown;
1: + struct completion *release_completion;
1: + struct device *dev;
1: + struct device card_dev;
1: + const struct attribute_group *dev_groups[4];
1: + bool registered;
1: + int sync_irq;
1: + wait_queue_head_t remove_sleep;
1: + unsigned int power_state;
1: + wait_queue_head_t power_sleep;
1: +};
1: +
1: +struct snd_info_buffer;
1: +
1: +struct snd_info_entry_text {
1: + void (*read)(struct snd_info_entry *, struct snd_info_buffer *);
1: + void (*write)(struct snd_info_entry *, struct snd_info_buffer *);
1: +};
1: +
1: +struct snd_info_entry_ops;
1: +
1: +struct snd_info_entry {
1: + const char *name;
1: + umode_t mode;
1: + long int size;
1: + short unsigned int content;
1: + union {
1: + struct snd_info_entry_text text;
1: + struct snd_info_entry_ops *ops;
1: + } c;
1: + struct snd_info_entry *parent;
1: + struct module *module;
1: + void *private_data;
1: + void (*private_free)(struct snd_info_entry *);
1: + struct proc_dir_entry *p;
1: + struct mutex access;
1: + struct list_head children;
1: + struct list_head list;
1: +};
1: +
1: +struct snd_minor {
1: + int type;
1: + int card;
1: + int device;
1: + const struct file_operations *f_ops;
1: + void *private_data;
1: + struct device *dev;
1: + struct snd_card *card_ptr;
1: +};
1: +
1: +struct snd_info_buffer {
1: + char *buffer;
1: + unsigned int curr;
1: + unsigned int size;
1: + unsigned int len;
1: + int stop;
1: + int error;
1: +};
1: +
1: +struct snd_info_entry_ops {
1: + int (*open)(struct snd_info_entry *, short unsigned int, void **);
1: + int (*release)(struct snd_info_entry *, short unsigned int, void *);
1: + ssize_t (*read)(struct snd_info_entry *, void *, struct file *, char *, size_t, loff_t);
1: + ssize_t (*write)(struct snd_info_entry *, void *, struct file *, const char *, size_t, loff_t);
1: + loff_t (*llseek)(struct snd_info_entry *, void *, struct file *, loff_t, int);
1: + __poll_t (*poll)(struct snd_info_entry *, void *, struct file *, poll_table *);
1: + int (*ioctl)(struct snd_info_entry *, void *, struct file *, unsigned int, long unsigned int);
1: + int (*mmap)(struct snd_info_entry *, void *, struct inode *, struct file *, struct vm_area_struct *);
1: +};
1: +
1: +enum {
1: + SND_CTL_SUBDEV_PCM = 0,
1: + SND_CTL_SUBDEV_RAWMIDI = 1,
1: + SND_CTL_SUBDEV_ITEMS = 2,
1: +};
1: +
1: +struct snd_monitor_file {
1: + struct file *file;
1: + const struct file_operations *disconnected_f_op;
1: + struct list_head shutdown_list;
1: + struct list_head list;
1: +};
1: +
1: +enum snd_device_type {
1: + SNDRV_DEV_LOWLEVEL = 0,
1: + SNDRV_DEV_INFO = 1,
1: + SNDRV_DEV_BUS = 2,
1: + SNDRV_DEV_CODEC = 3,
1: + SNDRV_DEV_PCM = 4,
1: + SNDRV_DEV_COMPRESS = 5,
1: + SNDRV_DEV_RAWMIDI = 6,
1: + SNDRV_DEV_TIMER = 7,
1: + SNDRV_DEV_SEQUENCER = 8,
1: + SNDRV_DEV_HWDEP = 9,
1: + SNDRV_DEV_JACK = 10,
1: + SNDRV_DEV_CONTROL = 11,
1: +};
1: +
1: +enum snd_device_state {
1: + SNDRV_DEV_BUILD = 0,
1: + SNDRV_DEV_REGISTERED = 1,
1: + SNDRV_DEV_DISCONNECTED = 2,
1: +};
1: +
1: +struct snd_device;
1: +
1: +struct snd_device_ops {
1: + int (*dev_free)(struct snd_device *);
1: + int (*dev_register)(struct snd_device *);
1: + int (*dev_disconnect)(struct snd_device *);
1: +};
1: +
1: +struct snd_device {
1: + struct list_head list;
1: + struct snd_card *card;
1: + enum snd_device_state state;
1: + enum snd_device_type type;
1: + void *device_data;
1: + struct snd_device_ops *ops;
1: +};
1: +
1: +struct snd_aes_iec958 {
1: + unsigned char status[24];
1: + unsigned char subcode[147];
1: + unsigned char pad;
1: + unsigned char dig_subframe[4];
1: +};
1: +
1: +struct snd_ctl_card_info {
1: + int card;
1: + int pad;
1: + unsigned char id[16];
1: + unsigned char driver[16];
1: + unsigned char name[32];
1: + unsigned char longname[80];
1: + unsigned char reserved_[16];
1: + unsigned char mixername[80];
1: + unsigned char components[128];
1: +};
1: +
1: +typedef int snd_ctl_elem_type_t;
1: +
1: +typedef int snd_ctl_elem_iface_t;
1: +
1: +struct snd_ctl_elem_id {
1: + unsigned int numid;
1: + snd_ctl_elem_iface_t iface;
1: + unsigned int device;
1: + unsigned int subdevice;
1: + unsigned char name[44];
1: + unsigned int index;
1: +};
1: +
1: +struct snd_ctl_elem_list {
1: + unsigned int offset;
1: + unsigned int space;
1: + unsigned int used;
1: + unsigned int count;
1: + struct snd_ctl_elem_id *pids;
1: + unsigned char reserved[50];
1: +};
1: +
1: +struct snd_ctl_elem_info {
1: + struct snd_ctl_elem_id id;
1: + snd_ctl_elem_type_t type;
1: + unsigned int access;
1: + unsigned int count;
1: + __kernel_pid_t owner;
1: + union {
1: + struct {
1: + long int min;
1: + long int max;
1: + long int step;
1: + } integer;
1: + struct {
1: + long long int min;
1: + long long int max;
1: + long long int step;
1: + } integer64;
1: + struct {
1: + unsigned int items;
1: + unsigned int item;
1: + char name[64];
1: + __u64 names_ptr;
1: + unsigned int names_length;
1: + } enumerated;
1: + unsigned char reserved[128];
1: + } value;
1: + union {
1: + short unsigned int d[4];
1: + short unsigned int *d_ptr;
1: + } dimen;
1: + unsigned char reserved[56];
1: +};
1: +
1: +struct snd_ctl_elem_value {
1: + struct snd_ctl_elem_id id;
1: + unsigned int indirect: 1;
1: + union {
1: + union {
1: + long int value[128];
1: + long int *value_ptr;
1: + } integer;
1: + union {
1: + long long int value[64];
1: + long long int *value_ptr;
1: + } integer64;
1: + union {
1: + unsigned int item[128];
1: + unsigned int *item_ptr;
1: + } enumerated;
1: + union {
1: + unsigned char data[512];
1: + unsigned char *data_ptr;
1: + } bytes;
1: + struct snd_aes_iec958 iec958;
1: + } value;
1: + struct timespec tstamp;
1: + unsigned char reserved[112];
1: +};
1: +
1: +struct snd_ctl_tlv {
1: + unsigned int numid;
1: + unsigned int length;
1: + unsigned int tlv[0];
1: +};
1: +
1: +enum sndrv_ctl_event_type {
1: + SNDRV_CTL_EVENT_ELEM = 0,
1: + SNDRV_CTL_EVENT_LAST = 0,
1: +};
1: +
1: +struct snd_ctl_event {
1: + int type;
1: + union {
1: + struct {
1: + unsigned int mask;
1: + struct snd_ctl_elem_id id;
1: + } elem;
1: + unsigned char data8[60];
1: + } data;
1: +};
1: +
1: +struct snd_kcontrol;
1: +
1: +typedef int snd_kcontrol_info_t(struct snd_kcontrol *, struct snd_ctl_elem_info *);
1: +
1: +typedef int snd_kcontrol_get_t(struct snd_kcontrol *, struct snd_ctl_elem_value *);
1: +
1: +typedef int snd_kcontrol_put_t(struct snd_kcontrol *, struct snd_ctl_elem_value *);
1: +
1: +typedef int snd_kcontrol_tlv_rw_t(struct snd_kcontrol *, int, unsigned int, unsigned int *);
1: +
1: +struct snd_ctl_file;
1: +
1: +struct snd_kcontrol_volatile {
1: + struct snd_ctl_file *owner;
1: + unsigned int access;
1: +};
1: +
1: +struct snd_kcontrol {
1: + struct list_head list;
1: + struct snd_ctl_elem_id id;
1: + unsigned int count;
1: + snd_kcontrol_info_t *info;
1: + snd_kcontrol_get_t *get;
1: + snd_kcontrol_put_t *put;
1: + union {
1: + snd_kcontrol_tlv_rw_t *c;
1: + const unsigned int *p;
1: + } tlv;
1: + long unsigned int private_value;
1: + void *private_data;
1: + void (*private_free)(struct snd_kcontrol *);
1: + struct snd_kcontrol_volatile vd[0];
1: +};
1: +
1: +enum {
1: + SNDRV_CTL_TLV_OP_READ = 0,
1: + SNDRV_CTL_TLV_OP_WRITE = 1,
1: + SNDRV_CTL_TLV_OP_CMD = -1,
1: +};
1: +
1: +struct snd_kcontrol_new {
1: + snd_ctl_elem_iface_t iface;
1: + unsigned int device;
1: + unsigned int subdevice;
1: + const unsigned char *name;
1: + unsigned int index;
1: + unsigned int access;
1: + unsigned int count;
1: + snd_kcontrol_info_t *info;
1: + snd_kcontrol_get_t *get;
1: + snd_kcontrol_put_t *put;
1: + union {
1: + snd_kcontrol_tlv_rw_t *c;
1: + const unsigned int *p;
1: + } tlv;
1: + long unsigned int private_value;
1: +};
1: +
1: +struct snd_ctl_file {
1: + struct list_head list;
1: + struct snd_card *card;
1: + struct pid *pid;
1: + int preferred_subdevice[2];
1: + wait_queue_head_t change_sleep;
1: + spinlock_t read_lock;
1: + struct fasync_struct *fasync;
1: + int subscribed;
1: + struct list_head events;
1: +};
1: +
1: +struct snd_kctl_event {
1: + struct list_head list;
1: + struct snd_ctl_elem_id id;
1: + unsigned int mask;
1: +};
1: +
1: +typedef int (*snd_kctl_ioctl_func_t)(struct snd_card *, struct snd_ctl_file *, unsigned int, long unsigned int);
1: +
1: +struct snd_kctl_ioctl {
1: + struct list_head list;
1: + snd_kctl_ioctl_func_t fioctl;
1: +};
1: +
1: +enum snd_ctl_add_mode {
1: + CTL_ADD_EXCLUSIVE = 0,
1: + CTL_REPLACE = 1,
1: + CTL_ADD_ON_REPLACE = 2,
1: +};
1: +
1: +struct user_element {
1: + struct snd_ctl_elem_info info;
1: + struct snd_card *card;
1: + char *elem_data;
1: + long unsigned int elem_data_size;
1: + void *tlv_data;
1: + long unsigned int tlv_data_size;
1: + void *priv_data;
1: +};
1: +
1: +struct snd_ctl_elem_list32 {
1: + u32 offset;
1: + u32 space;
1: + u32 used;
1: + u32 count;
1: + u32 pids;
1: + unsigned char reserved[50];
1: +};
1: +
1: +struct snd_ctl_elem_info32 {
1: + struct snd_ctl_elem_id id;
1: + s32 type;
1: + u32 access;
1: + u32 count;
1: + s32 owner;
1: + union {
1: + struct {
1: + s32 min;
1: + s32 max;
1: + s32 step;
1: + } integer;
1: + struct {
1: + u64 min;
1: + u64 max;
1: + u64 step;
1: + } integer64;
1: + struct {
1: + u32 items;
1: + u32 item;
1: + char name[64];
1: + u64 names_ptr;
1: + u32 names_length;
1: + } enumerated;
1: + unsigned char reserved[128];
1: + } value;
1: + unsigned char reserved[64];
1: +};
1: +
1: +struct snd_ctl_elem_value32 {
1: + struct snd_ctl_elem_id id;
1: + unsigned int indirect;
1: + union {
1: + s32 integer[128];
1: + unsigned char data[512];
1: + } value;
1: + unsigned char reserved[128];
1: +};
1: +
1: +enum {
1: + SNDRV_CTL_IOCTL_ELEM_LIST32 = -1069001456,
1: + SNDRV_CTL_IOCTL_ELEM_INFO32 = -1055894255,
1: + SNDRV_CTL_IOCTL_ELEM_READ32 = -1027320558,
1: + SNDRV_CTL_IOCTL_ELEM_WRITE32 = -1027320557,
1: + SNDRV_CTL_IOCTL_ELEM_ADD32 = -1055894249,
1: + SNDRV_CTL_IOCTL_ELEM_REPLACE32 = -1055894248,
1: +};
1: +
1: +struct snd_pci_quirk {
1: + short unsigned int subvendor;
1: + short unsigned int subdevice;
1: + short unsigned int subdevice_mask;
1: + int value;
1: +};
1: +
1: +struct snd_info_private_data {
1: + struct snd_info_buffer *rbuffer;
1: + struct snd_info_buffer *wbuffer;
1: + struct snd_info_entry *entry;
1: + void *file_private_data;
1: +};
1: +
1: +struct link_ctl_info {
1: + snd_ctl_elem_type_t type;
1: + int count;
1: + int min_val;
1: + int max_val;
1: +};
1: +
1: +struct link_master {
1: + struct list_head slaves;
1: + struct link_ctl_info info;
1: + int val;
1: + unsigned int tlv[4];
1: + void (*hook)(void *, int);
1: + void *hook_private_data;
1: +};
1: +
1: +struct link_slave {
1: + struct list_head list;
1: + struct link_master *master;
1: + struct link_ctl_info info;
1: + int vals[2];
1: + unsigned int flags;
1: + struct snd_kcontrol *kctl;
1: + struct snd_kcontrol slave;
1: +};
1: +
1: +enum snd_jack_types {
1: + SND_JACK_HEADPHONE = 1,
1: + SND_JACK_MICROPHONE = 2,
1: + SND_JACK_HEADSET = 3,
1: + SND_JACK_LINEOUT = 4,
1: + SND_JACK_MECHANICAL = 8,
1: + SND_JACK_VIDEOOUT = 16,
1: + SND_JACK_AVOUT = 20,
1: + SND_JACK_LINEIN = 32,
1: + SND_JACK_BTN_0 = 16384,
1: + SND_JACK_BTN_1 = 8192,
1: + SND_JACK_BTN_2 = 4096,
1: + SND_JACK_BTN_3 = 2048,
1: + SND_JACK_BTN_4 = 1024,
1: + SND_JACK_BTN_5 = 512,
1: +};
1: +
1: +struct snd_jack {
1: + struct list_head kctl_list;
1: + struct snd_card *card;
1: + const char *id;
1: + struct input_dev *input_dev;
1: + int registered;
1: + int type;
1: + char name[100];
1: + unsigned int key[6];
1: + void *private_data;
1: + void (*private_free)(struct snd_jack *);
1: +};
1: +
1: +struct snd_jack_kctl {
1: + struct snd_kcontrol *kctl;
1: + struct list_head list;
1: + unsigned int mask_bits;
1: +};
1: +
1: +struct snd_hwdep_info {
1: + unsigned int device;
1: + int card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + int iface;
1: + unsigned char reserved[64];
1: +};
1: +
1: +struct snd_hwdep_dsp_status {
1: + unsigned int version;
1: + unsigned char id[32];
1: + unsigned int num_dsps;
1: + unsigned int dsp_loaded;
1: + unsigned int chip_ready;
1: + unsigned char reserved[16];
1: +};
1: +
1: +struct snd_hwdep_dsp_image {
1: + unsigned int index;
1: + unsigned char name[64];
1: + unsigned char *image;
1: + size_t length;
1: + long unsigned int driver_data;
1: +};
1: +
1: +struct snd_hwdep;
1: +
1: +struct snd_hwdep_ops {
1: + long long int (*llseek)(struct snd_hwdep *, struct file *, long long int, int);
1: + long int (*read)(struct snd_hwdep *, char *, long int, loff_t *);
1: + long int (*write)(struct snd_hwdep *, const char *, long int, loff_t *);
1: + int (*open)(struct snd_hwdep *, struct file *);
1: + int (*release)(struct snd_hwdep *, struct file *);
1: + __poll_t (*poll)(struct snd_hwdep *, struct file *, poll_table *);
1: + int (*ioctl)(struct snd_hwdep *, struct file *, unsigned int, long unsigned int);
1: + int (*ioctl_compat)(struct snd_hwdep *, struct file *, unsigned int, long unsigned int);
1: + int (*mmap)(struct snd_hwdep *, struct file *, struct vm_area_struct *);
1: + int (*dsp_status)(struct snd_hwdep *, struct snd_hwdep_dsp_status *);
1: + int (*dsp_load)(struct snd_hwdep *, struct snd_hwdep_dsp_image *);
1: +};
1: +
1: +struct snd_hwdep {
1: + struct snd_card *card;
1: + struct list_head list;
1: + int device;
1: + char id[32];
1: + char name[80];
1: + int iface;
1: + struct snd_hwdep_ops ops;
1: + wait_queue_head_t open_wait;
1: + void *private_data;
1: + void (*private_free)(struct snd_hwdep *);
1: + struct device dev;
1: + struct mutex open_mutex;
1: + int used;
1: + unsigned int dsp_loaded;
1: + unsigned int exclusive: 1;
1: +};
1: +
1: +struct snd_hwdep_dsp_image32 {
1: + u32 index;
1: + unsigned char name[64];
1: + u32 image;
1: + u32 length;
1: + u32 driver_data;
1: +};
1: +
1: +enum {
1: + SNDRV_HWDEP_IOCTL_DSP_LOAD32 = 1079003139,
1: +};
1: +
1: +enum {
1: + SNDRV_TIMER_CLASS_NONE = -1,
1: + SNDRV_TIMER_CLASS_SLAVE = 0,
1: + SNDRV_TIMER_CLASS_GLOBAL = 1,
1: + SNDRV_TIMER_CLASS_CARD = 2,
1: + SNDRV_TIMER_CLASS_PCM = 3,
1: + SNDRV_TIMER_CLASS_LAST = 3,
1: +};
1: +
1: +enum {
1: + SNDRV_TIMER_SCLASS_NONE = 0,
1: + SNDRV_TIMER_SCLASS_APPLICATION = 1,
1: + SNDRV_TIMER_SCLASS_SEQUENCER = 2,
1: + SNDRV_TIMER_SCLASS_OSS_SEQUENCER = 3,
1: + SNDRV_TIMER_SCLASS_LAST = 3,
1: +};
1: +
1: +struct snd_timer_id {
1: + int dev_class;
1: + int dev_sclass;
1: + int card;
1: + int device;
1: + int subdevice;
1: +};
1: +
1: +struct snd_timer_ginfo {
1: + struct snd_timer_id tid;
1: + unsigned int flags;
1: + int card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + long unsigned int reserved0;
1: + long unsigned int resolution;
1: + long unsigned int resolution_min;
1: + long unsigned int resolution_max;
1: + unsigned int clients;
1: + unsigned char reserved[32];
1: +};
1: +
1: +struct snd_timer_gparams {
1: + struct snd_timer_id tid;
1: + long unsigned int period_num;
1: + long unsigned int period_den;
1: + unsigned char reserved[32];
1: +};
1: +
1: +struct snd_timer_gstatus {
1: + struct snd_timer_id tid;
1: + long unsigned int resolution;
1: + long unsigned int resolution_num;
1: + long unsigned int resolution_den;
1: + unsigned char reserved[32];
1: +};
1: +
1: +struct snd_timer_select {
1: + struct snd_timer_id id;
1: + unsigned char reserved[32];
1: +};
1: +
1: +struct snd_timer_info {
1: + unsigned int flags;
1: + int card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + long unsigned int reserved0;
1: + long unsigned int resolution;
1: + unsigned char reserved[64];
1: +};
1: +
1: +struct snd_timer_params {
1: + unsigned int flags;
1: + unsigned int ticks;
1: + unsigned int queue_size;
1: + unsigned int reserved0;
1: + unsigned int filter;
1: + unsigned char reserved[60];
1: +};
1: +
1: +struct snd_timer_status {
1: + struct timespec tstamp;
1: + unsigned int resolution;
1: + unsigned int lost;
1: + unsigned int overrun;
1: + unsigned int queue;
1: + unsigned char reserved[64];
1: +};
1: +
1: +struct snd_timer_read {
1: + unsigned int resolution;
1: + unsigned int ticks;
1: +};
1: +
1: +enum {
1: + SNDRV_TIMER_EVENT_RESOLUTION = 0,
1: + SNDRV_TIMER_EVENT_TICK = 1,
1: + SNDRV_TIMER_EVENT_START = 2,
1: + SNDRV_TIMER_EVENT_STOP = 3,
1: + SNDRV_TIMER_EVENT_CONTINUE = 4,
1: + SNDRV_TIMER_EVENT_PAUSE = 5,
1: + SNDRV_TIMER_EVENT_EARLY = 6,
1: + SNDRV_TIMER_EVENT_SUSPEND = 7,
1: + SNDRV_TIMER_EVENT_RESUME = 8,
1: + SNDRV_TIMER_EVENT_MSTART = 12,
1: + SNDRV_TIMER_EVENT_MSTOP = 13,
1: + SNDRV_TIMER_EVENT_MCONTINUE = 14,
1: + SNDRV_TIMER_EVENT_MPAUSE = 15,
1: + SNDRV_TIMER_EVENT_MSUSPEND = 17,
1: + SNDRV_TIMER_EVENT_MRESUME = 18,
1: +};
1: +
1: +struct snd_timer_tread {
1: + int event;
1: + struct timespec tstamp;
1: + unsigned int val;
1: +};
1: +
1: +struct snd_timer;
1: +
1: +struct snd_timer_hardware {
1: + unsigned int flags;
1: + long unsigned int resolution;
1: + long unsigned int resolution_min;
1: + long unsigned int resolution_max;
1: + long unsigned int ticks;
1: + int (*open)(struct snd_timer *);
1: + int (*close)(struct snd_timer *);
1: + long unsigned int (*c_resolution)(struct snd_timer *);
1: + int (*start)(struct snd_timer *);
1: + int (*stop)(struct snd_timer *);
1: + int (*set_period)(struct snd_timer *, long unsigned int, long unsigned int);
1: + int (*precise_resolution)(struct snd_timer *, long unsigned int *, long unsigned int *);
1: +};
1: +
1: +struct snd_timer {
1: + int tmr_class;
1: + struct snd_card *card;
1: + struct module *module;
1: + int tmr_device;
1: + int tmr_subdevice;
1: + char id[64];
1: + char name[80];
1: + unsigned int flags;
1: + int running;
1: + long unsigned int sticks;
1: + void *private_data;
1: + void (*private_free)(struct snd_timer *);
1: + struct snd_timer_hardware hw;
1: + spinlock_t lock;
1: + struct list_head device_list;
1: + struct list_head open_list_head;
1: + struct list_head active_list_head;
1: + struct list_head ack_list_head;
1: + struct list_head sack_list_head;
1: + struct tasklet_struct task_queue;
1: + int max_instances;
1: + int num_instances;
1: +};
1: +
1: +struct snd_timer_instance {
1: + struct snd_timer *timer;
1: + char *owner;
1: + unsigned int flags;
1: + void *private_data;
1: + void (*private_free)(struct snd_timer_instance *);
1: + void (*callback)(struct snd_timer_instance *, long unsigned int, long unsigned int);
1: + void (*ccallback)(struct snd_timer_instance *, int, struct timespec *, long unsigned int);
1: + void (*disconnect)(struct snd_timer_instance *);
1: + void *callback_data;
1: + long unsigned int ticks;
1: + long unsigned int cticks;
1: + long unsigned int pticks;
1: + long unsigned int resolution;
1: + long unsigned int lost;
1: + int slave_class;
1: + unsigned int slave_id;
1: + struct list_head open_list;
1: + struct list_head active_list;
1: + struct list_head ack_list;
1: + struct list_head slave_list_head;
1: + struct list_head slave_active_head;
1: + struct snd_timer_instance *master;
1: +};
1: +
1: +struct snd_timer_user {
1: + struct snd_timer_instance *timeri;
1: + int tread;
1: + long unsigned int ticks;
1: + long unsigned int overrun;
1: + int qhead;
1: + int qtail;
1: + int qused;
1: + int queue_size;
1: + bool disconnected;
1: + struct snd_timer_read *queue;
1: + struct snd_timer_tread *tqueue;
1: + spinlock_t qlock;
1: + long unsigned int last_resolution;
1: + unsigned int filter;
1: + struct timespec tstamp;
1: + wait_queue_head_t qchange_sleep;
1: + struct fasync_struct *fasync;
1: + struct mutex ioctl_lock;
1: +};
1: +
1: +struct snd_timer_system_private {
1: + struct timer_list tlist;
1: + struct snd_timer *snd_timer;
1: + long unsigned int last_expires;
1: + long unsigned int last_jiffies;
1: + long unsigned int correction;
1: +};
1: +
1: +enum {
1: + SNDRV_TIMER_IOCTL_START_OLD = 21536,
1: + SNDRV_TIMER_IOCTL_STOP_OLD = 21537,
1: + SNDRV_TIMER_IOCTL_CONTINUE_OLD = 21538,
1: + SNDRV_TIMER_IOCTL_PAUSE_OLD = 21539,
1: +};
1: +
1: +struct snd_timer_gparams32 {
1: + struct snd_timer_id tid;
1: + u32 period_num;
1: + u32 period_den;
1: + unsigned char reserved[32];
1: +};
1: +
1: +struct snd_timer_info32 {
1: + u32 flags;
1: + s32 card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + u32 reserved0;
1: + u32 resolution;
1: + unsigned char reserved[64];
1: +};
1: +
1: +struct snd_timer_status32 {
1: + struct old_timespec32 tstamp;
1: + u32 resolution;
1: + u32 lost;
1: + u32 overrun;
1: + u32 queue;
1: + unsigned char reserved[64];
1: +};
1: +
1: +enum {
1: + SNDRV_TIMER_IOCTL_GPARAMS32 = 1077695492,
1: + SNDRV_TIMER_IOCTL_INFO32 = -2132782063,
1: + SNDRV_TIMER_IOCTL_STATUS32 = 1079530516,
1: +};
1: +
1: +struct snd_hrtimer {
1: + struct snd_timer *timer;
1: + struct hrtimer hrt;
1: + bool in_callback;
1: +};
1: +
1: +typedef long unsigned int snd_pcm_uframes_t;
1: +
1: +typedef long int snd_pcm_sframes_t;
1: +
1: +enum {
1: + SNDRV_PCM_CLASS_GENERIC = 0,
1: + SNDRV_PCM_CLASS_MULTI = 1,
1: + SNDRV_PCM_CLASS_MODEM = 2,
1: + SNDRV_PCM_CLASS_DIGITIZER = 3,
1: + SNDRV_PCM_CLASS_LAST = 3,
1: +};
1: +
1: +enum {
1: + SNDRV_PCM_STREAM_PLAYBACK = 0,
1: + SNDRV_PCM_STREAM_CAPTURE = 1,
1: + SNDRV_PCM_STREAM_LAST = 1,
1: +};
1: +
1: +typedef int snd_pcm_access_t;
1: +
1: +typedef int snd_pcm_format_t;
1: +
1: +typedef int snd_pcm_subformat_t;
1: +
1: +typedef int snd_pcm_state_t;
1: +
1: +union snd_pcm_sync_id {
1: + unsigned char id[16];
1: + short unsigned int id16[8];
1: + unsigned int id32[4];
1: +};
1: +
1: +struct snd_pcm_info {
1: + unsigned int device;
1: + unsigned int subdevice;
1: + int stream;
1: + int card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + unsigned char subname[32];
1: + int dev_class;
1: + int dev_subclass;
1: + unsigned int subdevices_count;
1: + unsigned int subdevices_avail;
1: + union snd_pcm_sync_id sync;
1: + unsigned char reserved[64];
1: +};
1: +
1: +struct snd_interval {
1: + unsigned int min;
1: + unsigned int max;
1: + unsigned int openmin: 1;
1: + unsigned int openmax: 1;
1: + unsigned int integer: 1;
1: + unsigned int empty: 1;
1: +};
1: +
1: +struct snd_mask {
1: + __u32 bits[8];
1: +};
1: +
1: +struct snd_pcm_hw_params {
1: + unsigned int flags;
1: + struct snd_mask masks[3];
1: + struct snd_mask mres[5];
1: + struct snd_interval intervals[12];
1: + struct snd_interval ires[9];
1: + unsigned int rmask;
1: + unsigned int cmask;
1: + unsigned int info;
1: + unsigned int msbits;
1: + unsigned int rate_num;
1: + unsigned int rate_den;
1: + snd_pcm_uframes_t fifo_size;
1: + unsigned char reserved[64];
1: +};
1: +
1: +enum {
1: + SNDRV_PCM_TSTAMP_NONE = 0,
1: + SNDRV_PCM_TSTAMP_ENABLE = 1,
1: + SNDRV_PCM_TSTAMP_LAST = 1,
1: +};
1: +
1: +struct snd_pcm_status {
1: + snd_pcm_state_t state;
1: + struct timespec trigger_tstamp;
1: + struct timespec tstamp;
1: + snd_pcm_uframes_t appl_ptr;
1: + snd_pcm_uframes_t hw_ptr;
1: + snd_pcm_sframes_t delay;
1: + snd_pcm_uframes_t avail;
1: + snd_pcm_uframes_t avail_max;
1: + snd_pcm_uframes_t overrange;
1: + snd_pcm_state_t suspended_state;
1: + __u32 audio_tstamp_data;
1: + struct timespec audio_tstamp;
1: + struct timespec driver_tstamp;
1: + __u32 audio_tstamp_accuracy;
1: + unsigned char reserved[20];
1: +};
1: +
1: +struct snd_pcm_mmap_status {
1: + snd_pcm_state_t state;
1: + int pad1;
1: + snd_pcm_uframes_t hw_ptr;
1: + struct timespec tstamp;
1: + snd_pcm_state_t suspended_state;
1: + struct timespec audio_tstamp;
1: +};
1: +
1: +struct snd_pcm_mmap_control {
1: + snd_pcm_uframes_t appl_ptr;
1: + snd_pcm_uframes_t avail_min;
1: +};
1: +
1: +struct snd_dma_device {
1: + int type;
1: + struct device *dev;
1: +};
1: +
1: +struct snd_dma_buffer {
1: + struct snd_dma_device dev;
1: + unsigned char *area;
1: + dma_addr_t addr;
1: + size_t bytes;
1: + void *private_data;
1: +};
1: +
1: +struct snd_pcm_hardware {
1: + unsigned int info;
1: + u64 formats;
1: + unsigned int rates;
1: + unsigned int rate_min;
1: + unsigned int rate_max;
1: + unsigned int channels_min;
1: + unsigned int channels_max;
1: + size_t buffer_bytes_max;
1: + size_t period_bytes_min;
1: + size_t period_bytes_max;
1: + unsigned int periods_min;
1: + unsigned int periods_max;
1: + size_t fifo_size;
1: +};
1: +
1: +struct snd_pcm_substream;
1: +
1: +struct snd_pcm_audio_tstamp_config;
1: +
1: +struct snd_pcm_audio_tstamp_report;
1: +
1: +struct snd_pcm_ops {
1: + int (*open)(struct snd_pcm_substream *);
1: + int (*close)(struct snd_pcm_substream *);
1: + int (*ioctl)(struct snd_pcm_substream *, unsigned int, void *);
1: + int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *);
1: + int (*hw_free)(struct snd_pcm_substream *);
1: + int (*prepare)(struct snd_pcm_substream *);
1: + int (*trigger)(struct snd_pcm_substream *, int);
1: + int (*sync_stop)(struct snd_pcm_substream *);
1: + snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *);
1: + int (*get_time_info)(struct snd_pcm_substream *, struct timespec *, struct timespec *, struct snd_pcm_audio_tstamp_config *, struct snd_pcm_audio_tstamp_report *);
1: + int (*fill_silence)(struct snd_pcm_substream *, int, long unsigned int, long unsigned int);
1: + int (*copy_user)(struct snd_pcm_substream *, int, long unsigned int, void *, long unsigned int);
1: + int (*copy_kernel)(struct snd_pcm_substream *, int, long unsigned int, void *, long unsigned int);
1: + struct page * (*page)(struct snd_pcm_substream *, long unsigned int);
1: + int (*mmap)(struct snd_pcm_substream *, struct vm_area_struct *);
1: + int (*ack)(struct snd_pcm_substream *);
1: +};
1: +
1: +struct snd_pcm_group {
1: + spinlock_t lock;
1: + struct mutex mutex;
1: + struct list_head substreams;
1: + refcount_t refs;
1: +};
1: +
1: +struct snd_pcm;
1: +
1: +struct snd_pcm_str;
1: +
1: +struct snd_pcm_runtime;
1: +
1: +struct snd_pcm_substream {
1: + struct snd_pcm *pcm;
1: + struct snd_pcm_str *pstr;
1: + void *private_data;
1: + int number;
1: + char name[32];
1: + int stream;
1: + struct pm_qos_request latency_pm_qos_req;
1: + size_t buffer_bytes_max;
1: + struct snd_dma_buffer dma_buffer;
1: + size_t dma_max;
1: + const struct snd_pcm_ops *ops;
1: + struct snd_pcm_runtime *runtime;
1: + struct snd_timer *timer;
1: + unsigned int timer_running: 1;
1: + long int wait_time;
1: + struct snd_pcm_substream *next;
1: + struct list_head link_list;
1: + struct snd_pcm_group self_group;
1: + struct snd_pcm_group *group;
1: + int ref_count;
1: + atomic_t mmap_count;
1: + unsigned int f_flags;
1: + void (*pcm_release)(struct snd_pcm_substream *);
1: + struct pid *pid;
1: + struct snd_info_entry *proc_root;
1: + unsigned int hw_opened: 1;
1: + unsigned int managed_buffer_alloc: 1;
1: +};
1: +
1: +struct snd_pcm_audio_tstamp_config {
1: + u32 type_requested: 4;
1: + u32 report_delay: 1;
1: +};
1: +
1: +struct snd_pcm_audio_tstamp_report {
1: + u32 valid: 1;
1: + u32 actual_type: 4;
1: + u32 accuracy_report: 1;
1: + u32 accuracy;
1: +};
1: +
1: +struct snd_pcm_hw_rule;
1: +
1: +typedef int (*snd_pcm_hw_rule_func_t)(struct snd_pcm_hw_params *, struct snd_pcm_hw_rule *);
1: +
1: +struct snd_pcm_hw_rule {
1: + unsigned int cond;
1: + int var;
1: + int deps[4];
1: + snd_pcm_hw_rule_func_t func;
1: + void *private;
1: +};
1: +
1: +struct snd_pcm_hw_constraints {
1: + struct snd_mask masks[3];
1: + struct snd_interval intervals[12];
1: + unsigned int rules_num;
1: + unsigned int rules_all;
1: + struct snd_pcm_hw_rule *rules;
1: +};
1: +
1: +struct snd_pcm_runtime {
1: + struct snd_pcm_substream *trigger_master;
1: + struct timespec trigger_tstamp;
1: + bool trigger_tstamp_latched;
1: + int overrange;
1: + snd_pcm_uframes_t avail_max;
1: + snd_pcm_uframes_t hw_ptr_base;
1: + snd_pcm_uframes_t hw_ptr_interrupt;
1: + long unsigned int hw_ptr_jiffies;
1: + long unsigned int hw_ptr_buffer_jiffies;
1: + snd_pcm_sframes_t delay;
1: + u64 hw_ptr_wrap;
1: + snd_pcm_access_t access;
1: + snd_pcm_format_t format;
1: + snd_pcm_subformat_t subformat;
1: + unsigned int rate;
1: + unsigned int channels;
1: + snd_pcm_uframes_t period_size;
1: + unsigned int periods;
1: + snd_pcm_uframes_t buffer_size;
1: + snd_pcm_uframes_t min_align;
1: + size_t byte_align;
1: + unsigned int frame_bits;
1: + unsigned int sample_bits;
1: + unsigned int info;
1: + unsigned int rate_num;
1: + unsigned int rate_den;
1: + unsigned int no_period_wakeup: 1;
1: + int tstamp_mode;
1: + unsigned int period_step;
1: + snd_pcm_uframes_t start_threshold;
1: + snd_pcm_uframes_t stop_threshold;
1: + snd_pcm_uframes_t silence_threshold;
1: + snd_pcm_uframes_t silence_size;
1: + snd_pcm_uframes_t boundary;
1: + snd_pcm_uframes_t silence_start;
1: + snd_pcm_uframes_t silence_filled;
1: + union snd_pcm_sync_id sync;
1: + struct snd_pcm_mmap_status *status;
1: + struct snd_pcm_mmap_control *control;
1: + snd_pcm_uframes_t twake;
1: + wait_queue_head_t sleep;
1: + wait_queue_head_t tsleep;
1: + struct fasync_struct *fasync;
1: + bool stop_operating;
1: + void *private_data;
1: + void (*private_free)(struct snd_pcm_runtime *);
1: + struct snd_pcm_hardware hw;
1: + struct snd_pcm_hw_constraints hw_constraints;
1: + unsigned int timer_resolution;
1: + int tstamp_type;
1: + unsigned char *dma_area;
1: + dma_addr_t dma_addr;
1: + size_t dma_bytes;
1: + struct snd_dma_buffer *dma_buffer_p;
1: + unsigned int buffer_changed: 1;
1: + struct snd_pcm_audio_tstamp_config audio_tstamp_config;
1: + struct snd_pcm_audio_tstamp_report audio_tstamp_report;
1: + struct timespec driver_tstamp;
1: +};
1: +
1: +struct snd_pcm_str {
1: + int stream;
1: + struct snd_pcm *pcm;
1: + unsigned int substream_count;
1: + unsigned int substream_opened;
1: + struct snd_pcm_substream *substream;
1: + struct snd_info_entry *proc_root;
1: + struct snd_kcontrol *chmap_kctl;
1: + struct device dev;
1: +};
1: +
1: +struct snd_pcm {
1: + struct snd_card *card;
1: + struct list_head list;
1: + int device;
1: + unsigned int info_flags;
1: + short unsigned int dev_class;
1: + short unsigned int dev_subclass;
1: + char id[64];
1: + char name[80];
1: + struct snd_pcm_str streams[2];
1: + struct mutex open_mutex;
1: + wait_queue_head_t open_wait;
1: + void *private_data;
1: + void (*private_free)(struct snd_pcm *);
1: + bool internal;
1: + bool nonatomic;
1: + bool no_device_suspend;
1: +};
1: +
1: +typedef u32 u_int32_t;
1: +
1: +typedef u64 u_int64_t;
1: +
1: +enum {
1: + SNDRV_PCM_MMAP_OFFSET_DATA = 0,
1: + SNDRV_PCM_MMAP_OFFSET_STATUS = -2147483648,
1: + SNDRV_PCM_MMAP_OFFSET_CONTROL = -2130706432,
1: +};
1: +
1: +typedef int snd_pcm_hw_param_t;
1: +
1: +struct snd_pcm_sw_params {
1: + int tstamp_mode;
1: + unsigned int period_step;
1: + unsigned int sleep_min;
1: + snd_pcm_uframes_t avail_min;
1: + snd_pcm_uframes_t xfer_align;
1: + snd_pcm_uframes_t start_threshold;
1: + snd_pcm_uframes_t stop_threshold;
1: + snd_pcm_uframes_t silence_threshold;
1: + snd_pcm_uframes_t silence_size;
1: + snd_pcm_uframes_t boundary;
1: + unsigned int proto;
1: + unsigned int tstamp_type;
1: + unsigned char reserved[56];
1: +};
1: +
1: +struct snd_pcm_channel_info {
1: + unsigned int channel;
1: + __kernel_off_t offset;
1: + unsigned int first;
1: + unsigned int step;
1: +};
1: +
1: +enum {
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_COMPAT = 0,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_DEFAULT = 1,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK = 2,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ABSOLUTE = 3,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ESTIMATED = 4,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED = 5,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LAST = 5,
1: +};
1: +
1: +struct snd_pcm_sync_ptr {
1: + unsigned int flags;
1: + union {
1: + struct snd_pcm_mmap_status status;
1: + unsigned char reserved[64];
1: + } s;
1: + union {
1: + struct snd_pcm_mmap_control control;
1: + unsigned char reserved[64];
1: + } c;
1: +};
1: +
1: +struct snd_xferi {
1: + snd_pcm_sframes_t result;
1: + void *buf;
1: + snd_pcm_uframes_t frames;
1: +};
1: +
1: +struct snd_xfern {
1: + snd_pcm_sframes_t result;
1: + void **bufs;
1: + snd_pcm_uframes_t frames;
1: +};
1: +
1: +enum {
1: + SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0,
1: + SNDRV_PCM_TSTAMP_TYPE_MONOTONIC = 1,
1: + SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW = 2,
1: + SNDRV_PCM_TSTAMP_TYPE_LAST = 2,
1: +};
1: +
1: +struct snd_pcm_file {
1: + struct snd_pcm_substream *substream;
1: + int no_compat_mmap;
1: + unsigned int user_pversion;
1: +};
1: +
1: +struct snd_pcm_hw_constraint_list {
1: + const unsigned int *list;
1: + unsigned int count;
1: + unsigned int mask;
1: +};
1: +
1: +struct snd_pcm_hw_params_old {
1: + unsigned int flags;
1: + unsigned int masks[3];
1: + struct snd_interval intervals[12];
1: + unsigned int rmask;
1: + unsigned int cmask;
1: + unsigned int info;
1: + unsigned int msbits;
1: + unsigned int rate_num;
1: + unsigned int rate_den;
1: + snd_pcm_uframes_t fifo_size;
1: + unsigned char reserved[64];
1: +};
1: +
1: +struct action_ops {
1: + int (*pre_action)(struct snd_pcm_substream *, int);
1: + int (*do_action)(struct snd_pcm_substream *, int);
1: + void (*undo_action)(struct snd_pcm_substream *, int);
1: + void (*post_action)(struct snd_pcm_substream *, int);
1: +};
1: +
1: +struct snd_pcm_hw_params32 {
1: + u32 flags;
1: + struct snd_mask masks[3];
1: + struct snd_mask mres[5];
1: + struct snd_interval intervals[12];
1: + struct snd_interval ires[9];
1: + u32 rmask;
1: + u32 cmask;
1: + u32 info;
1: + u32 msbits;
1: + u32 rate_num;
1: + u32 rate_den;
1: + u32 fifo_size;
1: + unsigned char reserved[64];
1: +};
1: +
1: +struct snd_pcm_sw_params32 {
1: + s32 tstamp_mode;
1: + u32 period_step;
1: + u32 sleep_min;
1: + u32 avail_min;
1: + u32 xfer_align;
1: + u32 start_threshold;
1: + u32 stop_threshold;
1: + u32 silence_threshold;
1: + u32 silence_size;
1: + u32 boundary;
1: + u32 proto;
1: + u32 tstamp_type;
1: + unsigned char reserved[56];
1: +};
1: +
1: +struct snd_pcm_channel_info32 {
1: + u32 channel;
1: + u32 offset;
1: + u32 first;
1: + u32 step;
1: +};
1: +
1: +struct snd_pcm_status32 {
1: + s32 state;
1: + struct old_timespec32 trigger_tstamp;
1: + struct old_timespec32 tstamp;
1: + u32 appl_ptr;
1: + u32 hw_ptr;
1: + s32 delay;
1: + u32 avail;
1: + u32 avail_max;
1: + u32 overrange;
1: + s32 suspended_state;
1: + u32 audio_tstamp_data;
1: + struct old_timespec32 audio_tstamp;
1: + struct old_timespec32 driver_tstamp;
1: + u32 audio_tstamp_accuracy;
1: + unsigned char reserved[36];
1: +};
1: +
1: +struct snd_xferi32 {
1: + s32 result;
1: + u32 buf;
1: + u32 frames;
1: +};
1: +
1: +struct snd_xfern32 {
1: + s32 result;
1: + u32 bufs;
1: + u32 frames;
1: +};
1: +
1: +struct snd_pcm_mmap_status32 {
1: + s32 state;
1: + s32 pad1;
1: + u32 hw_ptr;
1: + struct old_timespec32 tstamp;
1: + s32 suspended_state;
1: + struct old_timespec32 audio_tstamp;
1: +};
1: +
1: +struct snd_pcm_mmap_control32 {
1: + u32 appl_ptr;
1: + u32 avail_min;
1: +};
1: +
1: +struct snd_pcm_sync_ptr32 {
1: + u32 flags;
1: + union {
1: + struct snd_pcm_mmap_status32 status;
1: + unsigned char reserved[64];
1: + } s;
1: + union {
1: + struct snd_pcm_mmap_control32 control;
1: + unsigned char reserved[64];
1: + } c;
1: +};
1: +
1: +enum {
1: + SNDRV_PCM_IOCTL_HW_REFINE32 = -1034141424,
1: + SNDRV_PCM_IOCTL_HW_PARAMS32 = -1034141423,
1: + SNDRV_PCM_IOCTL_SW_PARAMS32 = -1066909421,
1: + SNDRV_PCM_IOCTL_STATUS32 = -2140389088,
1: + SNDRV_PCM_IOCTL_STATUS_EXT32 = -1066647260,
1: + SNDRV_PCM_IOCTL_DELAY32 = -2147204831,
1: + SNDRV_PCM_IOCTL_CHANNEL_INFO32 = -2146418382,
1: + SNDRV_PCM_IOCTL_REWIND32 = 1074020678,
1: + SNDRV_PCM_IOCTL_FORWARD32 = 1074020681,
1: + SNDRV_PCM_IOCTL_WRITEI_FRAMES32 = 1074544976,
1: + SNDRV_PCM_IOCTL_READI_FRAMES32 = -2146680495,
1: + SNDRV_PCM_IOCTL_WRITEN_FRAMES32 = 1074544978,
1: + SNDRV_PCM_IOCTL_READN_FRAMES32 = -2146680493,
1: + SNDRV_PCM_IOCTL_SYNC_PTR32 = -1065074397,
1: +};
1: +
1: +enum {
1: + SNDRV_CHMAP_UNKNOWN = 0,
1: + SNDRV_CHMAP_NA = 1,
1: + SNDRV_CHMAP_MONO = 2,
1: + SNDRV_CHMAP_FL = 3,
1: + SNDRV_CHMAP_FR = 4,
1: + SNDRV_CHMAP_RL = 5,
1: + SNDRV_CHMAP_RR = 6,
1: + SNDRV_CHMAP_FC = 7,
1: + SNDRV_CHMAP_LFE = 8,
1: + SNDRV_CHMAP_SL = 9,
1: + SNDRV_CHMAP_SR = 10,
1: + SNDRV_CHMAP_RC = 11,
1: + SNDRV_CHMAP_FLC = 12,
1: + SNDRV_CHMAP_FRC = 13,
1: + SNDRV_CHMAP_RLC = 14,
1: + SNDRV_CHMAP_RRC = 15,
1: + SNDRV_CHMAP_FLW = 16,
1: + SNDRV_CHMAP_FRW = 17,
1: + SNDRV_CHMAP_FLH = 18,
1: + SNDRV_CHMAP_FCH = 19,
1: + SNDRV_CHMAP_FRH = 20,
1: + SNDRV_CHMAP_TC = 21,
1: + SNDRV_CHMAP_TFL = 22,
1: + SNDRV_CHMAP_TFR = 23,
1: + SNDRV_CHMAP_TFC = 24,
1: + SNDRV_CHMAP_TRL = 25,
1: + SNDRV_CHMAP_TRR = 26,
1: + SNDRV_CHMAP_TRC = 27,
1: + SNDRV_CHMAP_TFLC = 28,
1: + SNDRV_CHMAP_TFRC = 29,
1: + SNDRV_CHMAP_TSL = 30,
1: + SNDRV_CHMAP_TSR = 31,
1: + SNDRV_CHMAP_LLFE = 32,
1: + SNDRV_CHMAP_RLFE = 33,
1: + SNDRV_CHMAP_BC = 34,
1: + SNDRV_CHMAP_BLC = 35,
1: + SNDRV_CHMAP_BRC = 36,
1: + SNDRV_CHMAP_LAST = 36,
1: +};
1: +
1: +struct snd_ratnum {
1: + unsigned int num;
1: + unsigned int den_min;
1: + unsigned int den_max;
1: + unsigned int den_step;
1: +};
1: +
1: +struct snd_ratden {
1: + unsigned int num_min;
1: + unsigned int num_max;
1: + unsigned int num_step;
1: + unsigned int den;
1: +};
1: +
1: +struct snd_pcm_hw_constraint_ratnums {
1: + int nrats;
1: + const struct snd_ratnum *rats;
1: +};
1: +
1: +struct snd_pcm_hw_constraint_ratdens {
1: + int nrats;
1: + const struct snd_ratden *rats;
1: +};
1: +
1: +struct snd_pcm_hw_constraint_ranges {
1: + unsigned int count;
1: + const struct snd_interval *ranges;
1: + unsigned int mask;
1: +};
1: +
1: +struct snd_pcm_chmap_elem {
1: + unsigned char channels;
1: + unsigned char map[15];
1: +};
1: +
1: +struct snd_pcm_chmap {
1: + struct snd_pcm *pcm;
1: + int stream;
1: + struct snd_kcontrol *kctl;
1: + const struct snd_pcm_chmap_elem *chmap;
1: + unsigned int max_channels;
1: + unsigned int channel_mask;
1: + void *private_data;
1: +};
1: +
1: +typedef int (*pcm_transfer_f)(struct snd_pcm_substream *, int, long unsigned int, void *, long unsigned int);
1: +
1: +typedef int (*pcm_copy_f)(struct snd_pcm_substream *, snd_pcm_uframes_t, void *, snd_pcm_uframes_t, snd_pcm_uframes_t, pcm_transfer_f);
1: +
1: +struct pcm_format_data {
1: + unsigned char width;
1: + unsigned char phys;
1: + signed char le;
1: + signed char signd;
1: + unsigned char silence[8];
1: +};
1: +
1: +struct snd_sg_page {
1: + void *buf;
1: + dma_addr_t addr;
1: +};
1: +
1: +struct snd_sg_buf {
1: + int size;
1: + int pages;
1: + int tblsize;
1: + struct snd_sg_page *table;
1: + struct page **page_table;
1: + struct device *dev;
1: +};
1: +
1: +struct snd_seq_device {
1: + struct snd_card *card;
1: + int device;
1: + const char *id;
1: + char name[80];
1: + int argsize;
1: + void *driver_data;
1: + void *private_data;
1: + void (*private_free)(struct snd_seq_device *);
1: + struct device dev;
1: +};
1: +
1: +struct snd_seq_driver {
1: + struct device_driver driver;
1: + char *id;
1: + int argsize;
1: +};
1: +
1: +typedef atomic_t snd_use_lock_t;
1: +
1: +typedef unsigned char snd_seq_event_type_t;
1: +
1: +struct snd_seq_addr {
1: + unsigned char client;
1: + unsigned char port;
1: +};
1: +
1: +struct snd_seq_connect {
1: + struct snd_seq_addr sender;
1: + struct snd_seq_addr dest;
1: +};
1: +
1: +struct snd_seq_ev_note {
1: + unsigned char channel;
1: + unsigned char note;
1: + unsigned char velocity;
1: + unsigned char off_velocity;
1: + unsigned int duration;
1: +};
1: +
1: +struct snd_seq_ev_ctrl {
1: + unsigned char channel;
1: + unsigned char unused1;
1: + unsigned char unused2;
1: + unsigned char unused3;
1: + unsigned int param;
1: + int value;
1: +};
1: +
1: +struct snd_seq_ev_raw8 {
1: + unsigned char d[12];
1: +};
1: +
1: +struct snd_seq_ev_raw32 {
1: + unsigned int d[3];
1: +};
1: +
1: +struct snd_seq_ev_ext {
1: + unsigned int len;
1: + void *ptr;
1: +} __attribute__((packed));
1: +
1: +struct snd_seq_result {
1: + int event;
1: + int result;
1: +};
1: +
1: +struct snd_seq_real_time {
1: + unsigned int tv_sec;
1: + unsigned int tv_nsec;
1: +};
1: +
1: +typedef unsigned int snd_seq_tick_time_t;
1: +
1: +union snd_seq_timestamp {
1: + snd_seq_tick_time_t tick;
1: + struct snd_seq_real_time time;
1: +};
1: +
1: +struct snd_seq_queue_skew {
1: + unsigned int value;
1: + unsigned int base;
1: +};
1: +
1: +struct snd_seq_ev_queue_control {
1: + unsigned char queue;
1: + unsigned char pad[3];
1: + union {
1: + int value;
1: + union snd_seq_timestamp time;
1: + unsigned int position;
1: + struct snd_seq_queue_skew skew;
1: + unsigned int d32[2];
1: + unsigned char d8[8];
1: + } param;
1: +};
1: +
1: +struct snd_seq_event;
1: +
1: +struct snd_seq_ev_quote {
1: + struct snd_seq_addr origin;
1: + short unsigned int value;
1: + struct snd_seq_event *event;
1: +} __attribute__((packed));
1: +
1: +struct snd_seq_event {
1: + snd_seq_event_type_t type;
1: + unsigned char flags;
1: + char tag;
1: + unsigned char queue;
1: + union snd_seq_timestamp time;
1: + struct snd_seq_addr source;
1: + struct snd_seq_addr dest;
1: + union {
1: + struct snd_seq_ev_note note;
1: + struct snd_seq_ev_ctrl control;
1: + struct snd_seq_ev_raw8 raw8;
1: + struct snd_seq_ev_raw32 raw32;
1: + struct snd_seq_ev_ext ext;
1: + struct snd_seq_ev_queue_control queue;
1: + union snd_seq_timestamp time;
1: + struct snd_seq_addr addr;
1: + struct snd_seq_connect connect;
1: + struct snd_seq_result result;
1: + struct snd_seq_ev_quote quote;
1: + } data;
1: +} __attribute__((packed));
1: +
1: +struct snd_seq_system_info {
1: + int queues;
1: + int clients;
1: + int ports;
1: + int channels;
1: + int cur_clients;
1: + int cur_queues;
1: + char reserved[24];
1: +};
1: +
1: +struct snd_seq_running_info {
1: + unsigned char client;
1: + unsigned char big_endian;
1: + unsigned char cpu_mode;
1: + unsigned char pad;
1: + unsigned char reserved[12];
1: +};
1: +
1: +typedef int snd_seq_client_type_t;
1: +
1: +struct snd_seq_client_info {
1: + int client;
1: + snd_seq_client_type_t type;
1: + char name[64];
1: + unsigned int filter;
1: + unsigned char multicast_filter[8];
1: + unsigned char event_filter[32];
1: + int num_ports;
1: + int event_lost;
1: + int card;
1: + int pid;
1: + char reserved[56];
1: +};
1: +
1: +struct snd_seq_client_pool {
1: + int client;
1: + int output_pool;
1: + int input_pool;
1: + int output_room;
1: + int output_free;
1: + int input_free;
1: + char reserved[64];
1: +};
1: +
1: +struct snd_seq_remove_events {
1: + unsigned int remove_mode;
1: + union snd_seq_timestamp time;
1: + unsigned char queue;
1: + struct snd_seq_addr dest;
1: + unsigned char channel;
1: + int type;
1: + char tag;
1: + int reserved[10];
1: +};
1: +
1: +struct snd_seq_port_info {
1: + struct snd_seq_addr addr;
1: + char name[64];
1: + unsigned int capability;
1: + unsigned int type;
1: + int midi_channels;
1: + int midi_voices;
1: + int synth_voices;
1: + int read_use;
1: + int write_use;
1: + void *kernel;
1: + unsigned int flags;
1: + unsigned char time_queue;
1: + char reserved[59];
1: +};
1: +
1: +struct snd_seq_queue_info {
1: + int queue;
1: + int owner;
1: + unsigned int locked: 1;
1: + char name[64];
1: + unsigned int flags;
1: + char reserved[60];
1: +};
1: +
1: +struct snd_seq_queue_status {
1: + int queue;
1: + int events;
1: + snd_seq_tick_time_t tick;
1: + struct snd_seq_real_time time;
1: + int running;
1: + int flags;
1: + char reserved[64];
1: +};
1: +
1: +struct snd_seq_queue_tempo {
1: + int queue;
1: + unsigned int tempo;
1: + int ppq;
1: + unsigned int skew_value;
1: + unsigned int skew_base;
1: + char reserved[24];
1: +};
1: +
1: +struct snd_seq_queue_timer {
1: + int queue;
1: + int type;
1: + union {
1: + struct {
1: + struct snd_timer_id id;
1: + unsigned int resolution;
1: + } alsa;
1: + } u;
1: + char reserved[64];
1: +};
1: +
1: +struct snd_seq_queue_client {
1: + int queue;
1: + int client;
1: + int used;
1: + char reserved[64];
1: +};
1: +
1: +struct snd_seq_port_subscribe {
1: + struct snd_seq_addr sender;
1: + struct snd_seq_addr dest;
1: + unsigned int voices;
1: + unsigned int flags;
1: + unsigned char queue;
1: + unsigned char pad[3];
1: + char reserved[64];
1: +};
1: +
1: +struct snd_seq_query_subs {
1: + struct snd_seq_addr root;
1: + int type;
1: + int index;
1: + int num_subs;
1: + struct snd_seq_addr addr;
1: + unsigned char queue;
1: + unsigned int flags;
1: + char reserved[64];
1: +};
1: +
1: +typedef struct snd_seq_real_time snd_seq_real_time_t;
1: +
1: +struct snd_seq_port_callback {
1: + struct module *owner;
1: + void *private_data;
1: + int (*subscribe)(void *, struct snd_seq_port_subscribe *);
1: + int (*unsubscribe)(void *, struct snd_seq_port_subscribe *);
1: + int (*use)(void *, struct snd_seq_port_subscribe *);
1: + int (*unuse)(void *, struct snd_seq_port_subscribe *);
1: + int (*event_input)(struct snd_seq_event *, int, void *, int, int);
1: + void (*private_free)(void *);
1: +};
1: +
1: +struct snd_seq_pool;
1: +
1: +struct snd_seq_event_cell {
1: + struct snd_seq_event event;
1: + struct snd_seq_pool *pool;
1: + struct snd_seq_event_cell *next;
1: +};
1: +
1: +struct snd_seq_pool {
1: + struct snd_seq_event_cell *ptr;
1: + struct snd_seq_event_cell *free;
1: + int total_elements;
1: + atomic_t counter;
1: + int size;
1: + int room;
1: + int closing;
1: + int max_used;
1: + int event_alloc_nopool;
1: + int event_alloc_failures;
1: + int event_alloc_success;
1: + wait_queue_head_t output_sleep;
1: + spinlock_t lock;
1: +};
1: +
1: +struct snd_seq_fifo {
1: + struct snd_seq_pool *pool;
1: + struct snd_seq_event_cell *head;
1: + struct snd_seq_event_cell *tail;
1: + int cells;
1: + spinlock_t lock;
1: + snd_use_lock_t use_lock;
1: + wait_queue_head_t input_sleep;
1: + atomic_t overflow;
1: +};
1: +
1: +struct snd_seq_subscribers {
1: + struct snd_seq_port_subscribe info;
1: + struct list_head src_list;
1: + struct list_head dest_list;
1: + atomic_t ref_count;
1: +};
1: +
1: +struct snd_seq_port_subs_info {
1: + struct list_head list_head;
1: + unsigned int count;
1: + unsigned int exclusive: 1;
1: + struct rw_semaphore list_mutex;
1: + rwlock_t list_lock;
1: + int (*open)(void *, struct snd_seq_port_subscribe *);
1: + int (*close)(void *, struct snd_seq_port_subscribe *);
1: +};
1: +
1: +struct snd_seq_client_port {
1: + struct snd_seq_addr addr;
1: + struct module *owner;
1: + char name[64];
1: + struct list_head list;
1: + snd_use_lock_t use_lock;
1: + struct snd_seq_port_subs_info c_src;
1: + struct snd_seq_port_subs_info c_dest;
1: + int (*event_input)(struct snd_seq_event *, int, void *, int, int);
1: + void (*private_free)(void *);
1: + void *private_data;
1: + unsigned int closing: 1;
1: + unsigned int timestamping: 1;
1: + unsigned int time_real: 1;
1: + int time_queue;
1: + unsigned int capability;
1: + unsigned int type;
1: + int midi_channels;
1: + int midi_voices;
1: + int synth_voices;
1: +};
1: +
1: +struct snd_seq_user_client {
1: + struct file *file;
1: + struct pid *owner;
1: + struct snd_seq_fifo *fifo;
1: + int fifo_pool_size;
1: +};
1: +
1: +struct snd_seq_kernel_client {
1: + struct snd_card *card;
1: +};
1: +
1: +struct snd_seq_client {
1: + snd_seq_client_type_t type;
1: + unsigned int accept_input: 1;
1: + unsigned int accept_output: 1;
1: + char name[64];
1: + int number;
1: + unsigned int filter;
1: + long unsigned int event_filter[4];
1: + snd_use_lock_t use_lock;
1: + int event_lost;
1: + int num_ports;
1: + struct list_head ports_list_head;
1: + rwlock_t ports_lock;
1: + struct mutex ports_mutex;
1: + struct mutex ioctl_mutex;
1: + int convert32;
1: + struct snd_seq_pool *pool;
1: + union {
1: + struct snd_seq_user_client user;
1: + struct snd_seq_kernel_client kernel;
1: + } data;
1: +};
1: +
1: +struct snd_seq_usage {
1: + int cur;
1: + int peak;
1: +};
1: +
1: +struct snd_seq_prioq {
1: + struct snd_seq_event_cell *head;
1: + struct snd_seq_event_cell *tail;
1: + int cells;
1: + spinlock_t lock;
1: +};
1: +
1: +struct snd_seq_timer_tick {
1: + snd_seq_tick_time_t cur_tick;
1: + long unsigned int resolution;
1: + long unsigned int fraction;
1: +};
1: +
1: +struct snd_seq_timer {
1: + unsigned int running: 1;
1: + unsigned int initialized: 1;
1: + unsigned int tempo;
1: + int ppq;
1: + snd_seq_real_time_t cur_time;
1: + struct snd_seq_timer_tick tick;
1: + int tick_updated;
1: + int type;
1: + struct snd_timer_id alsa_id;
1: + struct snd_timer_instance *timeri;
1: + unsigned int ticks;
1: + long unsigned int preferred_resolution;
1: + unsigned int skew;
1: + unsigned int skew_base;
1: + struct timespec64 last_update;
1: + spinlock_t lock;
1: +};
1: +
1: +struct snd_seq_queue {
1: + int queue;
1: + char name[64];
1: + struct snd_seq_prioq *tickq;
1: + struct snd_seq_prioq *timeq;
1: + struct snd_seq_timer *timer;
1: + int owner;
1: + unsigned int locked: 1;
1: + unsigned int klocked: 1;
1: + unsigned int check_again: 1;
1: + unsigned int check_blocked: 1;
1: + unsigned int flags;
1: + unsigned int info_flags;
1: + spinlock_t owner_lock;
1: + spinlock_t check_lock;
1: + long unsigned int clients_bitmap[3];
1: + unsigned int clients;
1: + struct mutex timer_mutex;
1: + snd_use_lock_t use_lock;
1: +};
1: +
1: +struct ioctl_handler {
1: + unsigned int cmd;
1: + int (*func)(struct snd_seq_client *, void *);
1: +};
1: +
1: +struct snd_seq_port_info32 {
1: + struct snd_seq_addr addr;
1: + char name[64];
1: + u32 capability;
1: + u32 type;
1: + s32 midi_channels;
1: + s32 midi_voices;
1: + s32 synth_voices;
1: + s32 read_use;
1: + s32 write_use;
1: + u32 kernel;
1: + u32 flags;
1: + unsigned char time_queue;
1: + char reserved[59];
1: +};
1: +
1: +enum {
1: + SNDRV_SEQ_IOCTL_CREATE_PORT32 = -1062972640,
1: + SNDRV_SEQ_IOCTL_DELETE_PORT32 = 1084511009,
1: + SNDRV_SEQ_IOCTL_GET_PORT_INFO32 = -1062972638,
1: + SNDRV_SEQ_IOCTL_SET_PORT_INFO32 = 1084511011,
1: + SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT32 = -1062972590,
1: +};
1: +
1: +typedef int (*snd_seq_dump_func_t)(void *, void *, int);
1: +
1: +struct snd_seq_dummy_port {
1: + int client;
1: + int port;
1: + int duplex;
1: + int connect;
1: +};
1: +
1: +struct hda_device_id {
1: + __u32 vendor_id;
1: + __u32 rev_id;
1: + __u8 api_version;
1: + const char *name;
1: + long unsigned int driver_data;
1: +};
1: +
1: +typedef u16 hda_nid_t;
1: +
1: +struct snd_array {
1: + unsigned int used;
1: + unsigned int alloced;
1: + unsigned int elem_size;
1: + unsigned int alloc_align;
1: + void *list;
1: +};
1: +
1: +struct regmap___2;
1: +
1: +struct hdac_bus;
1: +
1: +struct hdac_widget_tree;
1: +
1: +struct hdac_device {
1: + struct device dev;
1: + int type;
1: + struct hdac_bus *bus;
1: + unsigned int addr;
1: + struct list_head list;
1: + hda_nid_t afg;
1: + hda_nid_t mfg;
1: + unsigned int vendor_id;
1: + unsigned int subsystem_id;
1: + unsigned int revision_id;
1: + unsigned int afg_function_id;
1: + unsigned int mfg_function_id;
1: + unsigned int afg_unsol: 1;
1: + unsigned int mfg_unsol: 1;
1: + unsigned int power_caps;
1: + const char *vendor_name;
1: + const char *chip_name;
1: + int (*exec_verb)(struct hdac_device *, unsigned int, unsigned int, unsigned int *);
1: + unsigned int num_nodes;
1: + hda_nid_t start_nid;
1: + hda_nid_t end_nid;
1: + atomic_t in_pm;
1: + struct mutex widget_lock;
1: + struct hdac_widget_tree *widgets;
1: + struct regmap___2 *regmap;
1: + struct snd_array vendor_verbs;
1: + bool lazy_cache: 1;
1: + bool caps_overwriting: 1;
1: + bool cache_coef: 1;
1: +};
1: +
1: +struct hdac_rb {
1: + __le32 *buf;
1: + dma_addr_t addr;
1: + short unsigned int rp;
1: + short unsigned int wp;
1: + int cmds[8];
1: + u32 res[8];
1: +};
1: +
1: +struct hdac_bus_ops;
1: +
1: +struct hdac_ext_bus_ops;
1: +
1: +struct hdac_bus {
1: + struct device *dev;
1: + const struct hdac_bus_ops *ops;
1: + const struct hdac_ext_bus_ops *ext_ops;
1: + long unsigned int addr;
1: + void *remap_addr;
1: + int irq;
1: + void *ppcap;
1: + void *spbcap;
1: + void *mlcap;
1: + void *gtscap;
1: + void *drsmcap;
1: + struct list_head codec_list;
1: + unsigned int num_codecs;
1: + struct hdac_device *caddr_tbl[16];
1: + u32 unsol_queue[128];
1: + unsigned int unsol_rp;
1: + unsigned int unsol_wp;
1: + struct work_struct unsol_work;
1: + long unsigned int codec_mask;
1: + long unsigned int codec_powered;
1: + struct hdac_rb corb;
1: + struct hdac_rb rirb;
1: + unsigned int last_cmd[8];
1: + struct snd_dma_buffer rb;
1: + struct snd_dma_buffer posbuf;
1: + int dma_type;
1: + struct list_head stream_list;
1: + bool chip_init: 1;
1: + bool sync_write: 1;
1: + bool use_posbuf: 1;
1: + bool snoop: 1;
1: + bool align_bdle_4k: 1;
1: + bool reverse_assign: 1;
1: + bool corbrp_self_clear: 1;
1: + bool polling_mode: 1;
1: + int poll_count;
1: + int bdl_pos_adj;
1: + spinlock_t reg_lock;
1: + struct mutex cmd_mutex;
1: + struct mutex lock;
1: + struct drm_audio_component *audio_component;
1: + long int display_power_status;
1: + long unsigned int display_power_active;
1: + int num_streams;
1: + int idx;
1: + struct list_head hlink_list;
1: + bool cmd_dma_state;
1: +};
1: +
1: +enum {
1: + HDA_DEV_CORE = 0,
1: + HDA_DEV_LEGACY = 1,
1: + HDA_DEV_ASOC = 2,
1: +};
1: +
1: +struct hdac_driver {
1: + struct device_driver driver;
1: + int type;
1: + const struct hda_device_id *id_table;
1: + int (*match)(struct hdac_device *, struct hdac_driver *);
1: + void (*unsol_event)(struct hdac_device *, unsigned int);
1: + int (*probe)(struct hdac_device *);
1: + int (*remove)(struct hdac_device *);
1: + void (*shutdown)(struct hdac_device *);
1: +};
1: +
1: +struct hdac_bus_ops {
1: + int (*command)(struct hdac_bus *, unsigned int);
1: + int (*get_response)(struct hdac_bus *, unsigned int, unsigned int *);
1: +};
1: +
1: +struct hdac_ext_bus_ops {
1: + int (*hdev_attach)(struct hdac_device *);
1: + int (*hdev_detach)(struct hdac_device *);
1: +};
1: +
1: +struct hda_bus {
1: + struct hdac_bus core;
1: + struct snd_card *card;
1: + struct pci_dev *pci;
1: + const char *modelname;
1: + struct mutex prepare_mutex;
1: + long unsigned int pcm_dev_bits[1];
1: + unsigned int needs_damn_long_delay: 1;
1: + unsigned int allow_bus_reset: 1;
1: + unsigned int shutdown: 1;
1: + unsigned int response_reset: 1;
1: + unsigned int in_reset: 1;
1: + unsigned int no_response_fallback: 1;
1: + unsigned int bus_probing: 1;
1: + unsigned int keep_power: 1;
1: + int primary_dig_out_type;
1: + unsigned int mixer_assigned;
1: +};
1: +
1: +struct hda_codec;
1: +
1: +typedef int (*hda_codec_patch_t)(struct hda_codec *);
1: +
1: +struct hda_codec_ops {
1: + int (*build_controls)(struct hda_codec *);
1: + int (*build_pcms)(struct hda_codec *);
1: + int (*init)(struct hda_codec *);
1: + void (*free)(struct hda_codec *);
1: + void (*unsol_event)(struct hda_codec *, unsigned int);
1: + void (*set_power_state)(struct hda_codec *, hda_nid_t, unsigned int);
1: + int (*suspend)(struct hda_codec *);
1: + int (*resume)(struct hda_codec *);
1: + int (*check_power_status)(struct hda_codec *, hda_nid_t);
1: + void (*reboot_notify)(struct hda_codec *);
1: + void (*stream_pm)(struct hda_codec *, hda_nid_t, bool);
1: +};
1: +
1: +struct hda_beep;
1: +
1: +struct hda_fixup;
1: +
1: +struct hda_codec {
1: + struct hdac_device core;
1: + struct hda_bus *bus;
1: + struct snd_card *card;
1: + unsigned int addr;
1: + u32 probe_id;
1: + const struct hda_device_id *preset;
1: + const char *modelname;
1: + struct hda_codec_ops patch_ops;
1: + struct list_head pcm_list_head;
1: + void *spec;
1: + struct hda_beep *beep;
1: + unsigned int beep_mode;
1: + u32 *wcaps;
1: + struct snd_array mixers;
1: + struct snd_array nids;
1: + struct list_head conn_list;
1: + struct mutex spdif_mutex;
1: + struct mutex control_mutex;
1: + struct snd_array spdif_out;
1: + unsigned int spdif_in_enable;
1: + const hda_nid_t *slave_dig_outs;
1: + struct snd_array init_pins;
1: + struct snd_array driver_pins;
1: + struct snd_array cvt_setups;
1: + struct mutex user_mutex;
1: + struct snd_hwdep *hwdep;
1: + unsigned int in_freeing: 1;
1: + unsigned int registered: 1;
1: + unsigned int display_power_control: 1;
1: + unsigned int spdif_status_reset: 1;
1: + unsigned int pin_amp_workaround: 1;
1: + unsigned int single_adc_amp: 1;
1: + unsigned int no_sticky_stream: 1;
1: + unsigned int pins_shutup: 1;
1: + unsigned int no_trigger_sense: 1;
1: + unsigned int no_jack_detect: 1;
1: + unsigned int inv_eapd: 1;
1: + unsigned int inv_jack_detect: 1;
1: + unsigned int pcm_format_first: 1;
1: + unsigned int cached_write: 1;
1: + unsigned int dp_mst: 1;
1: + unsigned int dump_coef: 1;
1: + unsigned int power_save_node: 1;
1: + unsigned int auto_runtime_pm: 1;
1: + unsigned int force_pin_prefix: 1;
1: + unsigned int link_down_at_suspend: 1;
1: + unsigned int relaxed_resume: 1;
1: + unsigned int mst_no_extra_pcms: 1;
1: + long unsigned int power_on_acct;
1: + long unsigned int power_off_acct;
1: + long unsigned int power_jiffies;
1: + unsigned int (*power_filter)(struct hda_codec *, hda_nid_t, unsigned int);
1: + void (*proc_widget_hook)(struct snd_info_buffer *, struct hda_codec *, hda_nid_t);
1: + struct snd_array jacktbl;
1: + long unsigned int jackpoll_interval;
1: + struct delayed_work jackpoll_work;
1: + int depop_delay;
1: + int fixup_id;
1: + const struct hda_fixup *fixup_list;
1: + const char *fixup_name;
1: + struct snd_array verbs;
1: +};
1: +
1: +struct hda_codec_driver {
1: + struct hdac_driver core;
1: + const struct hda_device_id *id;
1: +};
1: +
1: +struct hda_pintbl;
1: +
1: +struct hda_verb;
1: +
1: +struct hda_fixup {
1: + int type;
1: + bool chained: 1;
1: + bool chained_before: 1;
1: + int chain_id;
1: + union {
1: + const struct hda_pintbl *pins;
1: + const struct hda_verb *verbs;
1: + void (*func)(struct hda_codec *, const struct hda_fixup *, int);
1: + } v;
1: +};
1: +
1: +struct hda_verb {
1: + hda_nid_t nid;
1: + u32 verb;
1: + u32 param;
1: +};
1: +
1: +struct hda_pintbl {
1: + hda_nid_t nid;
1: + u32 val;
1: +};
1: +
1: +enum {
1: + AC_WID_AUD_OUT = 0,
1: + AC_WID_AUD_IN = 1,
1: + AC_WID_AUD_MIX = 2,
1: + AC_WID_AUD_SEL = 3,
1: + AC_WID_PIN = 4,
1: + AC_WID_POWER = 5,
1: + AC_WID_VOL_KNB = 6,
1: + AC_WID_BEEP = 7,
1: + AC_WID_VENDOR = 15,
1: +};
1: +
1: +enum {
1: + HDA_INPUT = 0,
1: + HDA_OUTPUT = 1,
1: +};
1: +
1: +struct hda_pcm_stream;
1: +
1: +struct hda_pcm_ops {
1: + int (*open)(struct hda_pcm_stream *, struct hda_codec *, struct snd_pcm_substream *);
1: + int (*close)(struct hda_pcm_stream *, struct hda_codec *, struct snd_pcm_substream *);
1: + int (*prepare)(struct hda_pcm_stream *, struct hda_codec *, unsigned int, unsigned int, struct snd_pcm_substream *);
1: + int (*cleanup)(struct hda_pcm_stream *, struct hda_codec *, struct snd_pcm_substream *);
1: + unsigned int (*get_delay)(struct hda_pcm_stream *, struct hda_codec *, struct snd_pcm_substream *);
1: +};
1: +
1: +struct hda_pcm_stream {
1: + unsigned int substreams;
1: + unsigned int channels_min;
1: + unsigned int channels_max;
1: + hda_nid_t nid;
1: + u32 rates;
1: + u64 formats;
1: + unsigned int maxbps;
1: + const struct snd_pcm_chmap_elem *chmap;
1: + struct hda_pcm_ops ops;
1: +};
1: +
1: +enum {
1: + HDA_PCM_TYPE_AUDIO = 0,
1: + HDA_PCM_TYPE_SPDIF = 1,
1: + HDA_PCM_TYPE_HDMI = 2,
1: + HDA_PCM_TYPE_MODEM = 3,
1: + HDA_PCM_NTYPES = 4,
1: +};
1: +
1: +struct hda_pcm {
1: + char *name;
1: + struct hda_pcm_stream stream[2];
1: + unsigned int pcm_type;
1: + int device;
1: + struct snd_pcm *pcm;
1: + bool own_chmap;
1: + struct hda_codec *codec;
1: + struct kref kref;
1: + struct list_head list;
1: +};
1: +
1: +struct hda_beep {
1: + struct input_dev *dev;
1: + struct hda_codec *codec;
1: + char phys[32];
1: + int tone;
1: + hda_nid_t nid;
1: + unsigned int registered: 1;
1: + unsigned int enabled: 1;
1: + unsigned int linear_tone: 1;
1: + unsigned int playing: 1;
1: + struct work_struct beep_work;
1: + struct mutex mutex;
1: + void (*power_hook)(struct hda_beep *, bool);
1: +};
1: +
1: +struct hda_pincfg {
1: + hda_nid_t nid;
1: + unsigned char ctrl;
1: + unsigned char target;
1: + unsigned int cfg;
1: +};
1: +
1: +struct hda_spdif_out {
1: + hda_nid_t nid;
1: + unsigned int status;
1: + short unsigned int ctls;
1: +};
1: +
1: +enum {
1: + HDA_VMUTE_OFF = 0,
1: + HDA_VMUTE_ON = 1,
1: + HDA_VMUTE_FOLLOW_MASTER = 2,
1: +};
1: +
1: +struct hda_vmaster_mute_hook {
1: + struct snd_kcontrol *sw_kctl;
1: + void (*hook)(void *, int);
1: + unsigned int mute_mode;
1: + struct hda_codec *codec;
1: +};
1: +
1: +struct hda_input_mux_item {
1: + char label[32];
1: + unsigned int index;
1: +};
1: +
1: +struct hda_input_mux {
1: + unsigned int num_items;
1: + struct hda_input_mux_item items[16];
1: +};
1: +
1: +enum {
1: + HDA_FRONT = 0,
1: + HDA_REAR = 1,
1: + HDA_CLFE = 2,
1: + HDA_SIDE = 3,
1: +};
1: +
1: +enum {
1: + HDA_DIG_NONE = 0,
1: + HDA_DIG_EXCLUSIVE = 1,
1: + HDA_DIG_ANALOG_DUP = 2,
1: +};
1: +
1: +struct hda_multi_out {
1: + int num_dacs;
1: + const hda_nid_t *dac_nids;
1: + hda_nid_t hp_nid;
1: + hda_nid_t hp_out_nid[5];
1: + hda_nid_t extra_out_nid[5];
1: + hda_nid_t dig_out_nid;
1: + const hda_nid_t *slave_dig_outs;
1: + int max_channels;
1: + int dig_out_used;
1: + int no_share_stream;
1: + int share_spdif;
1: + unsigned int analog_rates;
1: + unsigned int analog_maxbps;
1: + u64 analog_formats;
1: + unsigned int spdif_rates;
1: + unsigned int spdif_maxbps;
1: + u64 spdif_formats;
1: +};
1: +
1: +struct hda_nid_item {
1: + struct snd_kcontrol *kctl;
1: + unsigned int index;
1: + hda_nid_t nid;
1: + short unsigned int flags;
1: +};
1: +
1: +struct hda_amp_list {
1: + hda_nid_t nid;
1: + unsigned char dir;
1: + unsigned char idx;
1: +};
1: +
1: +struct hda_loopback_check {
1: + const struct hda_amp_list *amplist;
1: + int power_on;
1: +};
1: +
1: +struct hda_conn_list {
1: + struct list_head list;
1: + int len;
1: + hda_nid_t nid;
1: + hda_nid_t conns[0];
1: +};
1: +
1: +struct hda_cvt_setup {
1: + hda_nid_t nid;
1: + u8 stream_tag;
1: + u8 channel_id;
1: + u16 format_id;
1: + unsigned char active;
1: + unsigned char dirty;
1: +};
1: +
1: +typedef int (*map_slave_func_t)(struct hda_codec *, void *, struct snd_kcontrol *);
1: +
1: +struct slave_init_arg {
1: + struct hda_codec *codec;
1: + int step;
1: +};
1: +
1: +enum {
1: + AC_JACK_LINE_OUT = 0,
1: + AC_JACK_SPEAKER = 1,
1: + AC_JACK_HP_OUT = 2,
1: + AC_JACK_CD = 3,
1: + AC_JACK_SPDIF_OUT = 4,
1: + AC_JACK_DIG_OTHER_OUT = 5,
1: + AC_JACK_MODEM_LINE_SIDE = 6,
1: + AC_JACK_MODEM_HAND_SIDE = 7,
1: + AC_JACK_LINE_IN = 8,
1: + AC_JACK_AUX = 9,
1: + AC_JACK_MIC_IN = 10,
1: + AC_JACK_TELEPHONY = 11,
1: + AC_JACK_SPDIF_IN = 12,
1: + AC_JACK_DIG_OTHER_IN = 13,
1: + AC_JACK_OTHER = 15,
1: +};
1: +
1: +enum {
1: + AC_JACK_PORT_COMPLEX = 0,
1: + AC_JACK_PORT_NONE = 1,
1: + AC_JACK_PORT_FIXED = 2,
1: + AC_JACK_PORT_BOTH = 3,
1: +};
1: +
1: +enum {
1: + AUTO_PIN_LINE_OUT = 0,
1: + AUTO_PIN_SPEAKER_OUT = 1,
1: + AUTO_PIN_HP_OUT = 2,
1: +};
1: +
1: +struct auto_pin_cfg_item {
1: + hda_nid_t pin;
1: + int type;
1: + unsigned int is_headset_mic: 1;
1: + unsigned int is_headphone_mic: 1;
1: + unsigned int has_boost_on_pin: 1;
1: +};
1: +
1: +struct auto_pin_cfg {
1: + int line_outs;
1: + hda_nid_t line_out_pins[5];
1: + int speaker_outs;
1: + hda_nid_t speaker_pins[5];
1: + int hp_outs;
1: + int line_out_type;
1: + hda_nid_t hp_pins[5];
1: + int num_inputs;
1: + struct auto_pin_cfg_item inputs[8];
1: + int dig_outs;
1: + hda_nid_t dig_out_pins[2];
1: + hda_nid_t dig_in_pin;
1: + hda_nid_t mono_out_pin;
1: + int dig_out_type[2];
1: + int dig_in_type;
1: +};
1: +
1: +struct hda_jack_callback;
1: +
1: +typedef void (*hda_jack_callback_fn)(struct hda_codec *, struct hda_jack_callback *);
1: +
1: +struct hda_jack_tbl;
1: +
1: +struct hda_jack_callback {
1: + hda_nid_t nid;
1: + int dev_id;
1: + hda_jack_callback_fn func;
1: + unsigned int private_data;
1: + unsigned int unsol_res;
1: + struct hda_jack_tbl *jack;
1: + struct hda_jack_callback *next;
1: +};
1: +
1: +struct hda_jack_tbl {
1: + hda_nid_t nid;
1: + int dev_id;
1: + unsigned char tag;
1: + struct hda_jack_callback *callback;
1: + unsigned int pin_sense;
1: + unsigned int jack_detect: 1;
1: + unsigned int jack_dirty: 1;
1: + unsigned int phantom_jack: 1;
1: + unsigned int block_report: 1;
1: + hda_nid_t gating_jack;
1: + hda_nid_t gated_jack;
1: + int type;
1: + int button_state;
1: + struct snd_jack *jack;
1: +};
1: +
1: +struct hda_jack_keymap {
1: + enum snd_jack_types type;
1: + int key;
1: +};
1: +
1: +enum {
1: + HDA_JACK_NOT_PRESENT = 0,
1: + HDA_JACK_PRESENT = 1,
1: + HDA_JACK_PHANTOM = 2,
1: +};
1: +
1: +enum {
1: + AC_JACK_LOC_NONE = 0,
1: + AC_JACK_LOC_REAR = 1,
1: + AC_JACK_LOC_FRONT = 2,
1: + AC_JACK_LOC_LEFT = 3,
1: + AC_JACK_LOC_RIGHT = 4,
1: + AC_JACK_LOC_TOP = 5,
1: + AC_JACK_LOC_BOTTOM = 6,
1: +};
1: +
1: +enum {
1: + AC_JACK_LOC_EXTERNAL = 0,
1: + AC_JACK_LOC_INTERNAL = 16,
1: + AC_JACK_LOC_SEPARATE = 32,
1: + AC_JACK_LOC_OTHER = 48,
1: +};
1: +
1: +enum {
1: + AC_JACK_LOC_REAR_PANEL = 7,
1: + AC_JACK_LOC_DRIVE_BAY = 8,
1: + AC_JACK_LOC_RISER = 23,
1: + AC_JACK_LOC_HDMI = 24,
1: + AC_JACK_LOC_ATAPI = 25,
1: + AC_JACK_LOC_MOBILE_IN = 55,
1: + AC_JACK_LOC_MOBILE_OUT = 56,
1: +};
1: +
1: +struct hda_model_fixup {
1: + const int id;
1: + const char *name;
1: +};
1: +
1: +struct snd_hda_pin_quirk {
1: + unsigned int codec;
1: + short unsigned int subvendor;
1: + const struct hda_pintbl *pins;
1: + int value;
1: +};
1: +
1: +enum {
1: + HDA_FIXUP_INVALID = 0,
1: + HDA_FIXUP_PINS = 1,
1: + HDA_FIXUP_VERBS = 2,
1: + HDA_FIXUP_FUNC = 3,
1: + HDA_FIXUP_PINCTLS = 4,
1: +};
1: +
1: +enum {
1: + HDA_FIXUP_ACT_PRE_PROBE = 0,
1: + HDA_FIXUP_ACT_PROBE = 1,
1: + HDA_FIXUP_ACT_INIT = 2,
1: + HDA_FIXUP_ACT_BUILD = 3,
1: + HDA_FIXUP_ACT_FREE = 4,
1: +};
1: +
1: +enum {
1: + AUTO_PIN_MIC = 0,
1: + AUTO_PIN_LINE_IN = 1,
1: + AUTO_PIN_CD = 2,
1: + AUTO_PIN_AUX = 3,
1: + AUTO_PIN_LAST = 4,
1: +};
1: +
1: +enum {
1: + INPUT_PIN_ATTR_UNUSED = 0,
1: + INPUT_PIN_ATTR_INT = 1,
1: + INPUT_PIN_ATTR_DOCK = 2,
1: + INPUT_PIN_ATTR_NORMAL = 3,
1: + INPUT_PIN_ATTR_REAR = 4,
1: + INPUT_PIN_ATTR_FRONT = 5,
1: + INPUT_PIN_ATTR_LAST = 5,
1: +};
1: +
1: +struct auto_out_pin {
1: + hda_nid_t pin;
1: + short int seq;
1: +};
1: +
1: +struct hdac_stream {
1: + struct hdac_bus *bus;
1: + struct snd_dma_buffer bdl;
1: + __le32 *posbuf;
1: + int direction;
1: + unsigned int bufsize;
1: + unsigned int period_bytes;
1: + unsigned int frags;
1: + unsigned int fifo_size;
1: + void *sd_addr;
1: + u32 sd_int_sta_mask;
1: + struct snd_pcm_substream *substream;
1: + unsigned int format_val;
1: + unsigned char stream_tag;
1: + unsigned char index;
1: + int assigned_key;
1: + bool opened: 1;
1: + bool running: 1;
1: + bool prepared: 1;
1: + bool no_period_wakeup: 1;
1: + bool locked: 1;
1: + bool stripe: 1;
1: + long unsigned int start_wallclk;
1: + long unsigned int period_wallclk;
1: + struct timecounter tc;
1: + struct cyclecounter cc;
1: + int delay_negative_threshold;
1: + struct list_head list;
1: +};
1: +
1: +struct azx_dev {
1: + struct hdac_stream core;
1: + unsigned int irq_pending: 1;
1: + unsigned int insufficient: 1;
1: +};
1: +
1: +struct azx;
1: +
1: +struct hda_controller_ops {
1: + int (*disable_msi_reset_irq)(struct azx *);
1: + void (*pcm_mmap_prepare)(struct snd_pcm_substream *, struct vm_area_struct *);
1: + int (*position_check)(struct azx *, struct azx_dev *);
1: + int (*link_power)(struct azx *, bool);
1: +};
1: +
1: +typedef unsigned int (*azx_get_pos_callback_t)(struct azx *, struct azx_dev *);
1: +
1: +typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *, unsigned int);
1: +
1: +struct azx {
1: + struct hda_bus bus;
1: + struct snd_card *card;
1: + struct pci_dev *pci;
1: + int dev_index;
1: + int driver_type;
1: + unsigned int driver_caps;
1: + int playback_streams;
1: + int playback_index_offset;
1: + int capture_streams;
1: + int capture_index_offset;
1: + int num_streams;
1: + int jackpoll_interval;
1: + const struct hda_controller_ops *ops;
1: + azx_get_pos_callback_t get_position[2];
1: + azx_get_delay_callback_t get_delay[2];
1: + struct mutex open_mutex;
1: + struct list_head pcm_list;
1: + int codec_probe_mask;
1: + unsigned int beep_mode;
1: + int bdl_pos_adj;
1: + unsigned int running: 1;
1: + unsigned int fallback_to_single_cmd: 1;
1: + unsigned int single_cmd: 1;
1: + unsigned int msi: 1;
1: + unsigned int probing: 1;
1: + unsigned int snoop: 1;
1: + unsigned int uc_buffer: 1;
1: + unsigned int align_buffer_size: 1;
1: + unsigned int region_requested: 1;
1: + unsigned int disabled: 1;
1: + unsigned int gts_present: 1;
1: +};
1: +
1: +struct azx_pcm {
1: + struct azx *chip;
1: + struct snd_pcm *pcm;
1: + struct hda_codec *codec;
1: + struct hda_pcm *info;
1: + struct list_head list;
1: +};
1: +
1: +struct trace_event_raw_azx_pcm_trigger {
1: + struct trace_entry ent;
1: + int card;
1: + int idx;
1: + int cmd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_azx_get_position {
1: + struct trace_entry ent;
1: + int card;
1: + int idx;
1: + unsigned int pos;
1: + unsigned int delay;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_azx_pcm {
1: + struct trace_entry ent;
1: + unsigned char stream_tag;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_azx_pcm_trigger {};
1: +
1: +struct trace_event_data_offsets_azx_get_position {};
1: +
1: +struct trace_event_data_offsets_azx_pcm {};
1: +
1: +enum {
1: + SNDRV_HWDEP_IFACE_OPL2 = 0,
1: + SNDRV_HWDEP_IFACE_OPL3 = 1,
1: + SNDRV_HWDEP_IFACE_OPL4 = 2,
1: + SNDRV_HWDEP_IFACE_SB16CSP = 3,
1: + SNDRV_HWDEP_IFACE_EMU10K1 = 4,
1: + SNDRV_HWDEP_IFACE_YSS225 = 5,
1: + SNDRV_HWDEP_IFACE_ICS2115 = 6,
1: + SNDRV_HWDEP_IFACE_SSCAPE = 7,
1: + SNDRV_HWDEP_IFACE_VX = 8,
1: + SNDRV_HWDEP_IFACE_MIXART = 9,
1: + SNDRV_HWDEP_IFACE_USX2Y = 10,
1: + SNDRV_HWDEP_IFACE_EMUX_WAVETABLE = 11,
1: + SNDRV_HWDEP_IFACE_BLUETOOTH = 12,
1: + SNDRV_HWDEP_IFACE_USX2Y_PCM = 13,
1: + SNDRV_HWDEP_IFACE_PCXHR = 14,
1: + SNDRV_HWDEP_IFACE_SB_RC = 15,
1: + SNDRV_HWDEP_IFACE_HDA = 16,
1: + SNDRV_HWDEP_IFACE_USB_STREAM = 17,
1: + SNDRV_HWDEP_IFACE_FW_DICE = 18,
1: + SNDRV_HWDEP_IFACE_FW_FIREWORKS = 19,
1: + SNDRV_HWDEP_IFACE_FW_BEBOB = 20,
1: + SNDRV_HWDEP_IFACE_FW_OXFW = 21,
1: + SNDRV_HWDEP_IFACE_FW_DIGI00X = 22,
1: + SNDRV_HWDEP_IFACE_FW_TASCAM = 23,
1: + SNDRV_HWDEP_IFACE_LINE6 = 24,
1: + SNDRV_HWDEP_IFACE_FW_MOTU = 25,
1: + SNDRV_HWDEP_IFACE_FW_FIREFACE = 26,
1: + SNDRV_HWDEP_IFACE_LAST = 26,
1: +};
1: +
1: +struct hda_verb_ioctl {
1: + u32 verb;
1: + u32 res;
1: +};
1: +
1: +enum {
1: + SND_INTEL_DSP_DRIVER_ANY = 0,
1: + SND_INTEL_DSP_DRIVER_LEGACY = 1,
1: + SND_INTEL_DSP_DRIVER_SST = 2,
1: + SND_INTEL_DSP_DRIVER_SOF = 3,
1: + SND_INTEL_DSP_DRIVER_LAST = 3,
1: +};
1: +
1: +enum {
1: + AZX_SNOOP_TYPE_NONE = 0,
1: + AZX_SNOOP_TYPE_SCH = 1,
1: + AZX_SNOOP_TYPE_ATI = 2,
1: + AZX_SNOOP_TYPE_NVIDIA = 3,
1: +};
1: +
1: +struct hda_intel {
1: + struct azx chip;
1: + struct work_struct irq_pending_work;
1: + struct completion probe_wait;
1: + struct work_struct probe_work;
1: + struct list_head list;
1: + unsigned int irq_pending_warned: 1;
1: + unsigned int probe_continued: 1;
1: + unsigned int use_vga_switcheroo: 1;
1: + unsigned int vga_switcheroo_registered: 1;
1: + unsigned int init_failed: 1;
1: + bool need_i915_power: 1;
1: +};
1: +
1: +struct trace_event_raw_hda_pm {
1: + struct trace_entry ent;
1: + int dev_index;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_hda_pm {};
1: +
1: +enum {
1: + POS_FIX_AUTO = 0,
1: + POS_FIX_LPIB = 1,
1: + POS_FIX_POSBUF = 2,
1: + POS_FIX_VIACOMBO = 3,
1: + POS_FIX_COMBO = 4,
1: + POS_FIX_SKL = 5,
1: + POS_FIX_FIFO = 6,
1: +};
1: +
1: +enum {
1: + AZX_DRIVER_ICH = 0,
1: + AZX_DRIVER_PCH = 1,
1: + AZX_DRIVER_SCH = 2,
1: + AZX_DRIVER_SKL = 3,
1: + AZX_DRIVER_HDMI = 4,
1: + AZX_DRIVER_ATI = 5,
1: + AZX_DRIVER_ATIHDMI = 6,
1: + AZX_DRIVER_ATIHDMI_NS = 7,
1: + AZX_DRIVER_VIA = 8,
1: + AZX_DRIVER_SIS = 9,
1: + AZX_DRIVER_ULI = 10,
1: + AZX_DRIVER_NVIDIA = 11,
1: + AZX_DRIVER_TERA = 12,
1: + AZX_DRIVER_CTX = 13,
1: + AZX_DRIVER_CTHDA = 14,
1: + AZX_DRIVER_CMEDIA = 15,
1: + AZX_DRIVER_ZHAOXIN = 16,
1: + AZX_DRIVER_GENERIC = 17,
1: + AZX_NUM_DRIVERS = 18,
1: +};
1: +
1: +enum {
1: + AC_GRP_AUDIO_FUNCTION = 1,
1: + AC_GRP_MODEM_FUNCTION = 2,
1: +};
1: +
1: +struct hda_vendor_id {
1: + unsigned int id;
1: + const char *name;
1: +};
1: +
1: +struct hda_rate_tbl {
1: + unsigned int hz;
1: + unsigned int alsa_bits;
1: + unsigned int hda_fmt;
1: +};
1: +
1: +struct hdac_widget_tree {
1: + struct kobject *root;
1: + struct kobject *afg;
1: + struct kobject **nodes;
1: +};
1: +
1: +struct widget_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct hdac_device *, hda_nid_t, struct widget_attribute *, char *);
1: + ssize_t (*store)(struct hdac_device *, hda_nid_t, struct widget_attribute *, const char *, size_t);
1: +};
1: +
1: +struct hdac_cea_channel_speaker_allocation {
1: + int ca_index;
1: + int speakers[8];
1: + int channels;
1: + int spk_mask;
1: +};
1: +
1: +struct hdac_chmap;
1: +
1: +struct hdac_chmap_ops {
1: + int (*chmap_cea_alloc_validate_get_type)(struct hdac_chmap *, struct hdac_cea_channel_speaker_allocation *, int);
1: + void (*cea_alloc_to_tlv_chmap)(struct hdac_chmap *, struct hdac_cea_channel_speaker_allocation *, unsigned int *, int);
1: + int (*chmap_validate)(struct hdac_chmap *, int, int, unsigned char *);
1: + int (*get_spk_alloc)(struct hdac_device *, int);
1: + void (*get_chmap)(struct hdac_device *, int, unsigned char *);
1: + void (*set_chmap)(struct hdac_device *, int, unsigned char *, int);
1: + bool (*is_pcm_attached)(struct hdac_device *, int);
1: + int (*pin_get_slot_channel)(struct hdac_device *, hda_nid_t, int);
1: + int (*pin_set_slot_channel)(struct hdac_device *, hda_nid_t, int, int);
1: + void (*set_channel_count)(struct hdac_device *, hda_nid_t, int);
1: +};
1: +
1: +struct hdac_chmap {
1: + unsigned int channels_max;
1: + struct hdac_chmap_ops ops;
1: + struct hdac_device *hdac;
1: +};
1: +
1: +enum cea_speaker_placement {
1: + FL = 1,
1: + FC = 2,
1: + FR = 4,
1: + FLC = 8,
1: + FRC = 16,
1: + RL = 32,
1: + RC = 64,
1: + RR = 128,
1: + RLC = 256,
1: + RRC = 512,
1: + LFE = 1024,
1: + FLW = 2048,
1: + FRW = 4096,
1: + FLH = 8192,
1: + FCH = 16384,
1: + FRH = 32768,
1: + TC = 65536,
1: +};
1: +
1: +struct channel_map_table {
1: + unsigned char map;
1: + int spk_mask;
1: +};
1: +
1: +struct trace_event_raw_hda_send_cmd {
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_hda_get_response {
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_hda_unsol_event {
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_hdac_stream {
1: + struct trace_entry ent;
1: + unsigned char stream_tag;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_hda_send_cmd {
1: + u32 msg;
1: +};
1: +
1: +struct trace_event_data_offsets_hda_get_response {
1: + u32 msg;
1: +};
1: +
1: +struct trace_event_data_offsets_hda_unsol_event {
1: + u32 msg;
1: +};
1: +
1: +struct trace_event_data_offsets_hdac_stream {};
1: +
1: +struct component_match___2;
1: +
1: +struct nhlt_specific_cfg {
1: + u32 size;
1: + u8 caps[0];
1: +};
1: +
1: +struct nhlt_endpoint {
1: + u32 length;
1: + u8 linktype;
1: + u8 instance_id;
1: + u16 vendor_id;
1: + u16 device_id;
1: + u16 revision_id;
1: + u32 subsystem_id;
1: + u8 device_type;
1: + u8 direction;
1: + u8 virtual_bus_id;
1: + struct nhlt_specific_cfg config;
1: +} __attribute__((packed));
1: +
1: +struct nhlt_acpi_table {
1: + struct acpi_table_header header;
1: + u8 endpoint_count;
1: + struct nhlt_endpoint desc[0];
1: +} __attribute__((packed));
1: +
1: +struct config_entry {
1: + u32 flags;
1: + u16 device;
1: + const struct dmi_system_id *dmi_table;
1: +};
1: +
1: +enum nhlt_link_type {
1: + NHLT_LINK_HDA = 0,
1: + NHLT_LINK_DSP = 1,
1: + NHLT_LINK_DMIC = 2,
1: + NHLT_LINK_SSP = 3,
1: + NHLT_LINK_INVALID = 4,
1: +};
1: +
1: +struct nhlt_resource_desc {
1: + u32 extra;
1: + u16 flags;
1: + u64 addr_spc_gra;
1: + u64 min_addr;
1: + u64 max_addr;
1: + u64 addr_trans_offset;
1: + u64 length;
1: +} __attribute__((packed));
1: +
1: +struct nhlt_device_specific_config {
1: + u8 virtual_slot;
1: + u8 config_type;
1: +};
1: +
1: +struct nhlt_dmic_array_config {
1: + struct nhlt_device_specific_config device_config;
1: + u8 array_type;
1: +};
1: +
1: +struct nhlt_vendor_dmic_array_config {
1: + struct nhlt_dmic_array_config dmic_config;
1: + u8 nb_mics;
1: +};
1: +
1: +enum {
1: + NHLT_MIC_ARRAY_2CH_SMALL = 10,
1: + NHLT_MIC_ARRAY_2CH_BIG = 11,
1: + NHLT_MIC_ARRAY_4CH_1ST_GEOM = 12,
1: + NHLT_MIC_ARRAY_4CH_L_SHAPED = 13,
1: + NHLT_MIC_ARRAY_4CH_2ND_GEOM = 14,
1: + NHLT_MIC_ARRAY_VENDOR_DEFINED = 15,
1: +};
1: +
1: +struct pcibios_fwaddrmap {
1: + struct list_head list;
1: + struct pci_dev *dev;
1: + resource_size_t fw_addr[11];
1: +};
1: +
1: +struct pci_check_idx_range {
1: + int start;
1: + int end;
1: +};
1: +
1: +struct pci_raw_ops {
1: + int (*read)(unsigned int, unsigned int, unsigned int, int, int, u32 *);
1: + int (*write)(unsigned int, unsigned int, unsigned int, int, int, u32);
1: +};
1: +
1: +struct pci_mmcfg_region {
1: + struct list_head list;
1: + struct resource res;
1: + u64 address;
1: + char *virt;
1: + u16 segment;
1: + u8 start_bus;
1: + u8 end_bus;
1: + char name[30];
1: +};
1: +
1: +struct acpi_table_mcfg {
1: + struct acpi_table_header header;
1: + u8 reserved[8];
1: +};
1: +
1: +struct acpi_mcfg_allocation {
1: + u64 address;
1: + u16 pci_segment;
1: + u8 start_bus_number;
1: + u8 end_bus_number;
1: + u32 reserved;
1: +};
1: +
1: +struct pci_mmcfg_hostbridge_probe {
1: + u32 bus;
1: + u32 devfn;
1: + u32 vendor;
1: + u32 device;
1: + const char * (*probe)();
1: +};
1: +
1: +typedef bool (*check_reserved_t)(u64, u64, unsigned int);
1: +
1: +struct pci_root_info {
1: + struct acpi_pci_root_info common;
1: + struct pci_sysdata sd;
1: + bool mcfg_added;
1: + u8 start_bus;
1: + u8 end_bus;
1: +};
1: +
1: +struct irq_info___2 {
1: + u8 bus;
1: + u8 devfn;
1: + struct {
1: + u8 link;
1: + u16 bitmap;
1: + } __attribute__((packed)) irq[4];
1: + u8 slot;
1: + u8 rfu;
1: +};
1: +
1: +struct irq_routing_table {
1: + u32 signature;
1: + u16 version;
1: + u16 size;
1: + u8 rtr_bus;
1: + u8 rtr_devfn;
1: + u16 exclusive_irqs;
1: + u16 rtr_vendor;
1: + u16 rtr_device;
1: + u32 miniport_data;
1: + u8 rfu[11];
1: + u8 checksum;
1: + struct irq_info___2 slots[0];
1: +};
1: +
1: +struct irq_router {
1: + char *name;
1: + u16 vendor;
1: + u16 device;
1: + int (*get)(struct pci_dev *, struct pci_dev *, int);
1: + int (*set)(struct pci_dev *, struct pci_dev *, int, int);
1: +};
1: +
1: +struct irq_router_handler {
1: + u16 vendor;
1: + int (*probe)(struct irq_router *, struct pci_dev *, u16);
1: +};
1: +
1: +struct pci_setup_rom {
1: + struct setup_data data;
1: + uint16_t vendor;
1: + uint16_t devid;
1: + uint64_t pcilen;
1: + long unsigned int segment;
1: + long unsigned int bus;
1: + long unsigned int device;
1: + long unsigned int function;
1: + uint8_t romdata[0];
1: +};
1: +
1: +enum pci_bf_sort_state {
1: + pci_bf_sort_default = 0,
1: + pci_force_nobf = 1,
1: + pci_force_bf = 2,
1: + pci_dmi_bf = 3,
1: +};
1: +
1: +struct pci_root_res {
1: + struct list_head list;
1: + struct resource res;
1: +};
1: +
1: +struct pci_root_info___2 {
1: + struct list_head list;
1: + char name[12];
1: + struct list_head resources;
1: + struct resource busn;
1: + int node;
1: + int link;
1: +};
1: +
1: +struct amd_hostbridge {
1: + u32 bus;
1: + u32 slot;
1: + u32 device;
1: +};
1: +
1: +struct saved_msr {
1: + bool valid;
1: + struct msr_info info;
1: +};
1: +
1: +struct saved_msrs {
1: + unsigned int num;
1: + struct saved_msr *array;
1: +};
1: +
1: +struct saved_context {
1: + struct pt_regs regs;
1: + u16 ds;
1: + u16 es;
1: + u16 fs;
1: + u16 gs;
1: + long unsigned int kernelmode_gs_base;
1: + long unsigned int usermode_gs_base;
1: + long unsigned int fs_base;
1: + long unsigned int cr0;
1: + long unsigned int cr2;
1: + long unsigned int cr3;
1: + long unsigned int cr4;
1: + u64 misc_enable;
1: + bool misc_enable_saved;
1: + struct saved_msrs saved_msrs;
1: + long unsigned int efer;
1: + u16 gdt_pad;
1: + struct desc_ptr gdt_desc;
1: + u16 idt_pad;
1: + struct desc_ptr idt;
1: + u16 ldt;
1: + u16 tss;
1: + long unsigned int tr;
1: + long unsigned int safety;
1: + long unsigned int return_address;
1: +} __attribute__((packed));
1: +
1: +typedef int (*pm_cpu_match_t)(const struct x86_cpu_id *);
1: +
1: +struct restore_data_record {
1: + long unsigned int jump_address;
1: + long unsigned int jump_address_phys;
1: + long unsigned int cr3;
1: + long unsigned int magic;
1: + u8 e820_digest[16];
1: +};
1: +
1: +struct __kernel_old_timespec {
1: + __kernel_old_time_t tv_sec;
1: + long int tv_nsec;
1: +};
1: +
1: +struct __kernel_sock_timeval {
1: + __s64 tv_sec;
1: + __s64 tv_usec;
1: +};
1: +
1: +struct mmsghdr {
1: + struct user_msghdr msg_hdr;
1: + unsigned int msg_len;
1: +};
1: +
1: +struct scm_timestamping_internal {
1: + struct timespec64 ts[3];
1: +};
1: +
1: +enum sock_shutdown_cmd {
1: + SHUT_RD = 0,
1: + SHUT_WR = 1,
1: + SHUT_RDWR = 2,
1: +};
1: +
1: +struct net_proto_family {
1: + int family;
1: + int (*create)(struct net *, struct socket *, int, int);
1: + struct module *owner;
1: +};
1: +
1: +enum {
1: + SOCK_WAKE_IO = 0,
1: + SOCK_WAKE_WAITD = 1,
1: + SOCK_WAKE_SPACE = 2,
1: + SOCK_WAKE_URG = 3,
1: +};
1: +
1: +struct ifconf {
1: + int ifc_len;
1: + union {
1: + char *ifcu_buf;
1: + struct ifreq *ifcu_req;
1: + } ifc_ifcu;
1: +};
1: +
1: +struct compat_ifmap {
1: + compat_ulong_t mem_start;
1: + compat_ulong_t mem_end;
1: + short unsigned int base_addr;
1: + unsigned char irq;
1: + unsigned char dma;
1: + unsigned char port;
1: +};
1: +
1: +struct compat_if_settings {
1: + unsigned int type;
1: + unsigned int size;
1: + compat_uptr_t ifs_ifsu;
1: +};
1: +
1: +struct compat_ifreq {
1: + union {
1: + char ifrn_name[16];
1: + } ifr_ifrn;
1: + union {
1: + struct sockaddr ifru_addr;
1: + struct sockaddr ifru_dstaddr;
1: + struct sockaddr ifru_broadaddr;
1: + struct sockaddr ifru_netmask;
1: + struct sockaddr ifru_hwaddr;
1: + short int ifru_flags;
1: + compat_int_t ifru_ivalue;
1: + compat_int_t ifru_mtu;
1: + struct compat_ifmap ifru_map;
1: + char ifru_slave[16];
1: + char ifru_newname[16];
1: + compat_caddr_t ifru_data;
1: + struct compat_if_settings ifru_settings;
1: + } ifr_ifru;
1: +};
1: +
1: +struct compat_ifconf {
1: + compat_int_t ifc_len;
1: + compat_caddr_t ifcbuf;
1: +};
1: +
1: +struct compat_ethtool_rx_flow_spec {
1: + u32 flow_type;
1: + union ethtool_flow_union h_u;
1: + struct ethtool_flow_ext h_ext;
1: + union ethtool_flow_union m_u;
1: + struct ethtool_flow_ext m_ext;
1: + compat_u64 ring_cookie;
1: + u32 location;
1: +} __attribute__((packed));
1: +
1: +struct compat_ethtool_rxnfc {
1: + u32 cmd;
1: + u32 flow_type;
1: + compat_u64 data;
1: + struct compat_ethtool_rx_flow_spec fs;
1: + u32 rule_cnt;
1: + u32 rule_locs[0];
1: +} __attribute__((packed));
1: +
1: +struct compat_msghdr {
1: + compat_uptr_t msg_name;
1: + compat_int_t msg_namelen;
1: + compat_uptr_t msg_iov;
1: + compat_size_t msg_iovlen;
1: + compat_uptr_t msg_control;
1: + compat_size_t msg_controllen;
1: + compat_uint_t msg_flags;
1: +};
1: +
1: +struct compat_mmsghdr {
1: + struct compat_msghdr msg_hdr;
1: + compat_uint_t msg_len;
1: +};
1: +
1: +struct scm_ts_pktinfo {
1: + __u32 if_index;
1: + __u32 pkt_length;
1: + __u32 reserved[2];
1: +};
1: +
1: +enum sock_flags {
1: + SOCK_DEAD = 0,
1: + SOCK_DONE = 1,
1: + SOCK_URGINLINE = 2,
1: + SOCK_KEEPOPEN = 3,
1: + SOCK_LINGER = 4,
1: + SOCK_DESTROY = 5,
1: + SOCK_BROADCAST = 6,
1: + SOCK_TIMESTAMP = 7,
1: + SOCK_ZAPPED = 8,
1: + SOCK_USE_WRITE_QUEUE = 9,
1: + SOCK_DBG = 10,
1: + SOCK_RCVTSTAMP = 11,
1: + SOCK_RCVTSTAMPNS = 12,
1: + SOCK_LOCALROUTE = 13,
1: + SOCK_QUEUE_SHRUNK = 14,
1: + SOCK_MEMALLOC = 15,
1: + SOCK_TIMESTAMPING_RX_SOFTWARE = 16,
1: + SOCK_FASYNC = 17,
1: + SOCK_RXQ_OVFL = 18,
1: + SOCK_ZEROCOPY = 19,
1: + SOCK_WIFI_STATUS = 20,
1: + SOCK_NOFCS = 21,
1: + SOCK_FILTER_LOCKED = 22,
1: + SOCK_SELECT_ERR_QUEUE = 23,
1: + SOCK_RCU_FREE = 24,
1: + SOCK_TXTIME = 25,
1: + SOCK_XDP = 26,
1: + SOCK_TSTAMP_NEW = 27,
1: +};
1: +
1: +struct sock_skb_cb {
1: + u32 dropcount;
1: +};
1: +
1: +struct in6_rtmsg {
1: + struct in6_addr rtmsg_dst;
1: + struct in6_addr rtmsg_src;
1: + struct in6_addr rtmsg_gateway;
1: + __u32 rtmsg_type;
1: + __u16 rtmsg_dst_len;
1: + __u16 rtmsg_src_len;
1: + __u32 rtmsg_metric;
1: + long unsigned int rtmsg_info;
1: + __u32 rtmsg_flags;
1: + int rtmsg_ifindex;
1: +};
1: +
1: +struct rtentry {
1: + long unsigned int rt_pad1;
1: + struct sockaddr rt_dst;
1: + struct sockaddr rt_gateway;
1: + struct sockaddr rt_genmask;
1: + short unsigned int rt_flags;
1: + short int rt_pad2;
1: + long unsigned int rt_pad3;
1: + void *rt_pad4;
1: + short int rt_metric;
1: + char *rt_dev;
1: + long unsigned int rt_mtu;
1: + long unsigned int rt_window;
1: + short unsigned int rt_irtt;
1: +};
1: +
1: +struct sock_extended_err {
1: + __u32 ee_errno;
1: + __u8 ee_origin;
1: + __u8 ee_type;
1: + __u8 ee_code;
1: + __u8 ee_pad;
1: + __u32 ee_info;
1: + __u32 ee_data;
1: +};
1: +
1: +struct sock_exterr_skb {
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + struct sock_extended_err ee;
1: + u16 addr_offset;
1: + __be16 port;
1: + u8 opt_stats: 1;
1: + u8 unused: 7;
1: +};
1: +
1: +struct used_address {
1: + struct __kernel_sockaddr_storage name;
1: + unsigned int name_len;
1: +};
1: +
1: +struct rtentry32 {
1: + u32 rt_pad1;
1: + struct sockaddr rt_dst;
1: + struct sockaddr rt_gateway;
1: + struct sockaddr rt_genmask;
1: + short unsigned int rt_flags;
1: + short int rt_pad2;
1: + u32 rt_pad3;
1: + unsigned char rt_tos;
1: + unsigned char rt_class;
1: + short int rt_pad4;
1: + short int rt_metric;
1: + u32 rt_dev;
1: + u32 rt_mtu;
1: + u32 rt_window;
1: + short unsigned int rt_irtt;
1: +};
1: +
1: +struct in6_rtmsg32 {
1: + struct in6_addr rtmsg_dst;
1: + struct in6_addr rtmsg_src;
1: + struct in6_addr rtmsg_gateway;
1: + u32 rtmsg_type;
1: + u16 rtmsg_dst_len;
1: + u16 rtmsg_src_len;
1: + u32 rtmsg_metric;
1: + u32 rtmsg_info;
1: + u32 rtmsg_flags;
1: + s32 rtmsg_ifindex;
1: +};
1: +
1: +struct linger {
1: + int l_onoff;
1: + int l_linger;
1: +};
1: +
1: +struct cmsghdr {
1: + __kernel_size_t cmsg_len;
1: + int cmsg_level;
1: + int cmsg_type;
1: +};
1: +
1: +struct ucred {
1: + __u32 pid;
1: + __u32 uid;
1: + __u32 gid;
1: +};
1: +
1: +struct mmpin {
1: + struct user_struct *user;
1: + unsigned int num_pg;
1: +};
1: +
1: +struct ubuf_info {
1: + void (*callback)(struct ubuf_info *, bool);
1: + union {
1: + struct {
1: + long unsigned int desc;
1: + void *ctx;
1: + };
1: + struct {
1: + u32 id;
1: + u16 len;
1: + u16 zerocopy: 1;
1: + u32 bytelen;
1: + };
1: + };
1: + refcount_t refcnt;
1: + struct mmpin mmp;
1: +};
1: +
1: +struct prot_inuse {
1: + int val[64];
1: +};
1: +
1: +struct rt6key {
1: + struct in6_addr addr;
1: + int plen;
1: +};
1: +
1: +struct rtable;
1: +
1: +struct fnhe_hash_bucket;
1: +
1: +struct fib_nh_common {
1: + struct net_device *nhc_dev;
1: + int nhc_oif;
1: + unsigned char nhc_scope;
1: + u8 nhc_family;
1: + u8 nhc_gw_family;
1: + unsigned char nhc_flags;
1: + struct lwtunnel_state *nhc_lwtstate;
1: + union {
1: + __be32 ipv4;
1: + struct in6_addr ipv6;
1: + } nhc_gw;
1: + int nhc_weight;
1: + atomic_t nhc_upper_bound;
1: + struct rtable **nhc_pcpu_rth_output;
1: + struct rtable *nhc_rth_input;
1: + struct fnhe_hash_bucket *nhc_exceptions;
1: +};
1: +
1: +struct rt6_exception_bucket;
1: +
1: +struct fib6_nh {
1: + struct fib_nh_common nh_common;
1: + struct rt6_info **rt6i_pcpu;
1: + struct rt6_exception_bucket *rt6i_exception_bucket;
1: +};
1: +
1: +struct fib6_node;
1: +
1: +struct nexthop;
1: +
1: +struct fib6_info {
1: + struct fib6_table *fib6_table;
1: + struct fib6_info *fib6_next;
1: + struct fib6_node *fib6_node;
1: + union {
1: + struct list_head fib6_siblings;
1: + struct list_head nh_list;
1: + };
1: + unsigned int fib6_nsiblings;
1: + refcount_t fib6_ref;
1: + long unsigned int expires;
1: + struct dst_metrics *fib6_metrics;
1: + struct rt6key fib6_dst;
1: + u32 fib6_flags;
1: + struct rt6key fib6_src;
1: + struct rt6key fib6_prefsrc;
1: + u32 fib6_metric;
1: + u8 fib6_protocol;
1: + u8 fib6_type;
1: + u8 should_flush: 1;
1: + u8 dst_nocount: 1;
1: + u8 dst_nopolicy: 1;
1: + u8 dst_host: 1;
1: + u8 fib6_destroying: 1;
1: + u8 unused: 3;
1: + struct callback_head rcu;
1: + struct nexthop *nh;
1: + struct fib6_nh fib6_nh[0];
1: +};
1: +
1: +struct uncached_list;
1: +
1: +struct rt6_info {
1: + struct dst_entry dst;
1: + struct fib6_info *from;
1: + struct rt6key rt6i_dst;
1: + struct rt6key rt6i_src;
1: + struct in6_addr rt6i_gateway;
1: + struct inet6_dev *rt6i_idev;
1: + u32 rt6i_flags;
1: + struct list_head rt6i_uncached;
1: + struct uncached_list *rt6i_uncached_list;
1: + short unsigned int rt6i_nfheader_len;
1: +};
1: +
1: +struct rt6_statistics {
1: + __u32 fib_nodes;
1: + __u32 fib_route_nodes;
1: + __u32 fib_rt_entries;
1: + __u32 fib_rt_cache;
1: + __u32 fib_discarded_routes;
1: + atomic_t fib_rt_alloc;
1: + atomic_t fib_rt_uncache;
1: +};
1: +
1: +struct fib6_node {
1: + struct fib6_node *parent;
1: + struct fib6_node *left;
1: + struct fib6_node *right;
1: + struct fib6_info *leaf;
1: + __u16 fn_bit;
1: + __u16 fn_flags;
1: + int fn_sernum;
1: + struct fib6_info *rr_ptr;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct fib6_table {
1: + struct hlist_node tb6_hlist;
1: + u32 tb6_id;
1: + spinlock_t tb6_lock;
1: + struct fib6_node tb6_root;
1: + struct inet_peer_base tb6_peers;
1: + unsigned int flags;
1: + unsigned int fib_seq;
1: +};
1: +
1: +typedef union {
1: + __be32 a4;
1: + __be32 a6[4];
1: + struct in6_addr in6;
1: +} xfrm_address_t;
1: +
1: +struct xfrm_id {
1: + xfrm_address_t daddr;
1: + __be32 spi;
1: + __u8 proto;
1: +};
1: +
1: +struct xfrm_sec_ctx {
1: + __u8 ctx_doi;
1: + __u8 ctx_alg;
1: + __u16 ctx_len;
1: + __u32 ctx_sid;
1: + char ctx_str[0];
1: +};
1: +
1: +struct xfrm_selector {
1: + xfrm_address_t daddr;
1: + xfrm_address_t saddr;
1: + __be16 dport;
1: + __be16 dport_mask;
1: + __be16 sport;
1: + __be16 sport_mask;
1: + __u16 family;
1: + __u8 prefixlen_d;
1: + __u8 prefixlen_s;
1: + __u8 proto;
1: + int ifindex;
1: + __kernel_uid32_t user;
1: +};
1: +
1: +struct xfrm_lifetime_cfg {
1: + __u64 soft_byte_limit;
1: + __u64 hard_byte_limit;
1: + __u64 soft_packet_limit;
1: + __u64 hard_packet_limit;
1: + __u64 soft_add_expires_seconds;
1: + __u64 hard_add_expires_seconds;
1: + __u64 soft_use_expires_seconds;
1: + __u64 hard_use_expires_seconds;
1: +};
1: +
1: +struct xfrm_lifetime_cur {
1: + __u64 bytes;
1: + __u64 packets;
1: + __u64 add_time;
1: + __u64 use_time;
1: +};
1: +
1: +struct xfrm_replay_state {
1: + __u32 oseq;
1: + __u32 seq;
1: + __u32 bitmap;
1: +};
1: +
1: +struct xfrm_replay_state_esn {
1: + unsigned int bmp_len;
1: + __u32 oseq;
1: + __u32 seq;
1: + __u32 oseq_hi;
1: + __u32 seq_hi;
1: + __u32 replay_window;
1: + __u32 bmp[0];
1: +};
1: +
1: +struct xfrm_algo {
1: + char alg_name[64];
1: + unsigned int alg_key_len;
1: + char alg_key[0];
1: +};
1: +
1: +struct xfrm_algo_auth {
1: + char alg_name[64];
1: + unsigned int alg_key_len;
1: + unsigned int alg_trunc_len;
1: + char alg_key[0];
1: +};
1: +
1: +struct xfrm_algo_aead {
1: + char alg_name[64];
1: + unsigned int alg_key_len;
1: + unsigned int alg_icv_len;
1: + char alg_key[0];
1: +};
1: +
1: +struct xfrm_stats {
1: + __u32 replay_window;
1: + __u32 replay;
1: + __u32 integrity_failed;
1: +};
1: +
1: +enum {
1: + XFRM_POLICY_TYPE_MAIN = 0,
1: + XFRM_POLICY_TYPE_SUB = 1,
1: + XFRM_POLICY_TYPE_MAX = 2,
1: + XFRM_POLICY_TYPE_ANY = 255,
1: +};
1: +
1: +struct xfrm_encap_tmpl {
1: + __u16 encap_type;
1: + __be16 encap_sport;
1: + __be16 encap_dport;
1: + xfrm_address_t encap_oa;
1: +};
1: +
1: +struct xfrm_mark {
1: + __u32 v;
1: + __u32 m;
1: +};
1: +
1: +struct xfrm_address_filter {
1: + xfrm_address_t saddr;
1: + xfrm_address_t daddr;
1: + __u16 family;
1: + __u8 splen;
1: + __u8 dplen;
1: +};
1: +
1: +struct xfrm_state_walk {
1: + struct list_head all;
1: + u8 state;
1: + u8 dying;
1: + u8 proto;
1: + u32 seq;
1: + struct xfrm_address_filter *filter;
1: +};
1: +
1: +struct xfrm_state_offload {
1: + struct net_device *dev;
1: + long unsigned int offload_handle;
1: + unsigned int num_exthdrs;
1: + u8 flags;
1: +};
1: +
1: +struct xfrm_mode {
1: + u8 encap;
1: + u8 family;
1: + u8 flags;
1: +};
1: +
1: +struct xfrm_replay;
1: +
1: +struct xfrm_type;
1: +
1: +struct xfrm_type_offload;
1: +
1: +struct xfrm_state {
1: + possible_net_t xs_net;
1: + union {
1: + struct hlist_node gclist;
1: + struct hlist_node bydst;
1: + };
1: + struct hlist_node bysrc;
1: + struct hlist_node byspi;
1: + refcount_t refcnt;
1: + spinlock_t lock;
1: + struct xfrm_id id;
1: + struct xfrm_selector sel;
1: + struct xfrm_mark mark;
1: + u32 if_id;
1: + u32 tfcpad;
1: + u32 genid;
1: + struct xfrm_state_walk km;
1: + struct {
1: + u32 reqid;
1: + u8 mode;
1: + u8 replay_window;
1: + u8 aalgo;
1: + u8 ealgo;
1: + u8 calgo;
1: + u8 flags;
1: + u16 family;
1: + xfrm_address_t saddr;
1: + int header_len;
1: + int trailer_len;
1: + u32 extra_flags;
1: + struct xfrm_mark smark;
1: + } props;
1: + struct xfrm_lifetime_cfg lft;
1: + struct xfrm_algo_auth *aalg;
1: + struct xfrm_algo *ealg;
1: + struct xfrm_algo *calg;
1: + struct xfrm_algo_aead *aead;
1: + const char *geniv;
1: + struct xfrm_encap_tmpl *encap;
1: + xfrm_address_t *coaddr;
1: + struct xfrm_state *tunnel;
1: + atomic_t tunnel_users;
1: + struct xfrm_replay_state replay;
1: + struct xfrm_replay_state_esn *replay_esn;
1: + struct xfrm_replay_state preplay;
1: + struct xfrm_replay_state_esn *preplay_esn;
1: + const struct xfrm_replay *repl;
1: + u32 xflags;
1: + u32 replay_maxage;
1: + u32 replay_maxdiff;
1: + struct timer_list rtimer;
1: + struct xfrm_stats stats;
1: + struct xfrm_lifetime_cur curlft;
1: + struct hrtimer mtimer;
1: + struct xfrm_state_offload xso;
1: + long int saved_tmo;
1: + time64_t lastused;
1: + struct page_frag xfrag;
1: + const struct xfrm_type *type;
1: + struct xfrm_mode inner_mode;
1: + struct xfrm_mode inner_mode_iaf;
1: + struct xfrm_mode outer_mode;
1: + const struct xfrm_type_offload *type_offload;
1: + struct xfrm_sec_ctx *security;
1: + void *data;
1: +};
1: +
1: +enum txtime_flags {
1: + SOF_TXTIME_DEADLINE_MODE = 1,
1: + SOF_TXTIME_REPORT_ERRORS = 2,
1: + SOF_TXTIME_FLAGS_LAST = 2,
1: + SOF_TXTIME_FLAGS_MASK = 3,
1: +};
1: +
1: +struct sock_txtime {
1: + __kernel_clockid_t clockid;
1: + __u32 flags;
1: +};
1: +
1: +struct xfrm_policy_walk_entry {
1: + struct list_head all;
1: + u8 dead;
1: +};
1: +
1: +struct xfrm_policy_queue {
1: + struct sk_buff_head hold_queue;
1: + struct timer_list hold_timer;
1: + long unsigned int timeout;
1: +};
1: +
1: +struct xfrm_tmpl {
1: + struct xfrm_id id;
1: + xfrm_address_t saddr;
1: + short unsigned int encap_family;
1: + u32 reqid;
1: + u8 mode;
1: + u8 share;
1: + u8 optional;
1: + u8 allalgs;
1: + u32 aalgos;
1: + u32 ealgos;
1: + u32 calgos;
1: +};
1: +
1: +struct xfrm_policy {
1: + possible_net_t xp_net;
1: + struct hlist_node bydst;
1: + struct hlist_node byidx;
1: + rwlock_t lock;
1: + refcount_t refcnt;
1: + u32 pos;
1: + struct timer_list timer;
1: + atomic_t genid;
1: + u32 priority;
1: + u32 index;
1: + u32 if_id;
1: + struct xfrm_mark mark;
1: + struct xfrm_selector selector;
1: + struct xfrm_lifetime_cfg lft;
1: + struct xfrm_lifetime_cur curlft;
1: + struct xfrm_policy_walk_entry walk;
1: + struct xfrm_policy_queue polq;
1: + bool bydst_reinsert;
1: + u8 type;
1: + u8 action;
1: + u8 flags;
1: + u8 xfrm_nr;
1: + u16 family;
1: + struct xfrm_sec_ctx *security;
1: + struct xfrm_tmpl xfrm_vec[6];
1: + struct hlist_node bydst_inexact_list;
1: + struct callback_head rcu;
1: +};
1: +
1: +enum sk_pacing {
1: + SK_PACING_NONE = 0,
1: + SK_PACING_NEEDED = 1,
1: + SK_PACING_FQ = 2,
1: +};
1: +
1: +struct sockcm_cookie {
1: + u64 transmit_time;
1: + u32 mark;
1: + u16 tsflags;
1: +};
1: +
1: +struct fastopen_queue {
1: + struct request_sock *rskq_rst_head;
1: + struct request_sock *rskq_rst_tail;
1: + spinlock_t lock;
1: + int qlen;
1: + int max_qlen;
1: + struct tcp_fastopen_context *ctx;
1: +};
1: +
1: +struct request_sock_queue {
1: + spinlock_t rskq_lock;
1: + u8 rskq_defer_accept;
1: + u32 synflood_warned;
1: + atomic_t qlen;
1: + atomic_t young;
1: + struct request_sock *rskq_accept_head;
1: + struct request_sock *rskq_accept_tail;
1: + struct fastopen_queue fastopenq;
1: +};
1: +
1: +struct minmax_sample {
1: + u32 t;
1: + u32 v;
1: +};
1: +
1: +struct minmax {
1: + struct minmax_sample s[3];
1: +};
1: +
1: +struct inet_connection_sock_af_ops {
1: + int (*queue_xmit)(struct sock *, struct sk_buff *, struct flowi *);
1: + void (*send_check)(struct sock *, struct sk_buff *);
1: + int (*rebuild_header)(struct sock *);
1: + void (*sk_rx_dst_set)(struct sock *, const struct sk_buff *);
1: + int (*conn_request)(struct sock *, struct sk_buff *);
1: + struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *);
1: + u16 net_header_len;
1: + u16 net_frag_header_len;
1: + u16 sockaddr_len;
1: + int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*getsockopt)(struct sock *, int, int, char *, int *);
1: + int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: + void (*addr2sockaddr)(struct sock *, struct sockaddr *);
1: + void (*mtu_reduced)(struct sock *);
1: +};
1: +
1: +struct inet_bind_bucket;
1: +
1: +struct tcp_ulp_ops;
1: +
1: +struct inet_connection_sock {
1: + struct inet_sock icsk_inet;
1: + struct request_sock_queue icsk_accept_queue;
1: + struct inet_bind_bucket *icsk_bind_hash;
1: + long unsigned int icsk_timeout;
1: + struct timer_list icsk_retransmit_timer;
1: + struct timer_list icsk_delack_timer;
1: + __u32 icsk_rto;
1: + __u32 icsk_pmtu_cookie;
1: + const struct tcp_congestion_ops *icsk_ca_ops;
1: + const struct inet_connection_sock_af_ops *icsk_af_ops;
1: + const struct tcp_ulp_ops *icsk_ulp_ops;
1: + void *icsk_ulp_data;
1: + void (*icsk_clean_acked)(struct sock *, u32);
1: + struct hlist_node icsk_listen_portaddr_node;
1: + unsigned int (*icsk_sync_mss)(struct sock *, u32);
1: + __u8 icsk_ca_state: 6;
1: + __u8 icsk_ca_setsockopt: 1;
1: + __u8 icsk_ca_dst_locked: 1;
1: + __u8 icsk_retransmits;
1: + __u8 icsk_pending;
1: + __u8 icsk_backoff;
1: + __u8 icsk_syn_retries;
1: + __u8 icsk_probes_out;
1: + __u16 icsk_ext_hdr_len;
1: + struct {
1: + __u8 pending;
1: + __u8 quick;
1: + __u8 pingpong;
1: + __u8 blocked;
1: + __u32 ato;
1: + long unsigned int timeout;
1: + __u32 lrcvtime;
1: + __u16 last_seg_size;
1: + __u16 rcv_mss;
1: + } icsk_ack;
1: + struct {
1: + int enabled;
1: + int search_high;
1: + int search_low;
1: + int probe_size;
1: + u32 probe_timestamp;
1: + } icsk_mtup;
1: + u32 icsk_user_timeout;
1: + u64 icsk_ca_priv[13];
1: +};
1: +
1: +struct inet_bind_bucket {
1: + possible_net_t ib_net;
1: + int l3mdev;
1: + short unsigned int port;
1: + signed char fastreuse;
1: + signed char fastreuseport;
1: + kuid_t fastuid;
1: + struct in6_addr fast_v6_rcv_saddr;
1: + __be32 fast_rcv_saddr;
1: + short unsigned int fast_sk_family;
1: + bool fast_ipv6_only;
1: + struct hlist_node node;
1: + struct hlist_head owners;
1: +};
1: +
1: +struct tcp_ulp_ops {
1: + struct list_head list;
1: + int (*init)(struct sock *);
1: + void (*update)(struct sock *, struct proto *, void (*)(struct sock *));
1: + void (*release)(struct sock *);
1: + int (*get_info)(const struct sock *, struct sk_buff *);
1: + size_t (*get_info_size)(const struct sock *);
1: + char name[16];
1: + struct module *owner;
1: +};
1: +
1: +struct tcp_fastopen_cookie {
1: + __le64 val[2];
1: + s8 len;
1: + bool exp;
1: +};
1: +
1: +struct tcp_sack_block {
1: + u32 start_seq;
1: + u32 end_seq;
1: +};
1: +
1: +struct tcp_options_received {
1: + int ts_recent_stamp;
1: + u32 ts_recent;
1: + u32 rcv_tsval;
1: + u32 rcv_tsecr;
1: + u16 saw_tstamp: 1;
1: + u16 tstamp_ok: 1;
1: + u16 dsack: 1;
1: + u16 wscale_ok: 1;
1: + u16 sack_ok: 3;
1: + u16 smc_ok: 1;
1: + u16 snd_wscale: 4;
1: + u16 rcv_wscale: 4;
1: + u8 num_sacks;
1: + u16 user_mss;
1: + u16 mss_clamp;
1: +};
1: +
1: +struct tcp_rack {
1: + u64 mstamp;
1: + u32 rtt_us;
1: + u32 end_seq;
1: + u32 last_delivered;
1: + u8 reo_wnd_steps;
1: + u8 reo_wnd_persist: 5;
1: + u8 dsack_seen: 1;
1: + u8 advanced: 1;
1: +};
1: +
1: +struct tcp_sock_af_ops;
1: +
1: +struct tcp_md5sig_info;
1: +
1: +struct tcp_fastopen_request;
1: +
1: +struct tcp_sock {
1: + struct inet_connection_sock inet_conn;
1: + u16 tcp_header_len;
1: + u16 gso_segs;
1: + __be32 pred_flags;
1: + u64 bytes_received;
1: + u32 segs_in;
1: + u32 data_segs_in;
1: + u32 rcv_nxt;
1: + u32 copied_seq;
1: + u32 rcv_wup;
1: + u32 snd_nxt;
1: + u32 segs_out;
1: + u32 data_segs_out;
1: + u64 bytes_sent;
1: + u64 bytes_acked;
1: + u32 dsack_dups;
1: + u32 snd_una;
1: + u32 snd_sml;
1: + u32 rcv_tstamp;
1: + u32 lsndtime;
1: + u32 last_oow_ack_time;
1: + u32 compressed_ack_rcv_nxt;
1: + u32 tsoffset;
1: + struct list_head tsq_node;
1: + struct list_head tsorted_sent_queue;
1: + u32 snd_wl1;
1: + u32 snd_wnd;
1: + u32 max_window;
1: + u32 mss_cache;
1: + u32 window_clamp;
1: + u32 rcv_ssthresh;
1: + struct tcp_rack rack;
1: + u16 advmss;
1: + u8 compressed_ack;
1: + u32 chrono_start;
1: + u32 chrono_stat[3];
1: + u8 chrono_type: 2;
1: + u8 rate_app_limited: 1;
1: + u8 fastopen_connect: 1;
1: + u8 fastopen_no_cookie: 1;
1: + u8 is_sack_reneg: 1;
1: + u8 fastopen_client_fail: 2;
1: + u8 nonagle: 4;
1: + u8 thin_lto: 1;
1: + u8 recvmsg_inq: 1;
1: + u8 repair: 1;
1: + u8 frto: 1;
1: + u8 repair_queue;
1: + u8 syn_data: 1;
1: + u8 syn_fastopen: 1;
1: + u8 syn_fastopen_exp: 1;
1: + u8 syn_fastopen_ch: 1;
1: + u8 syn_data_acked: 1;
1: + u8 save_syn: 1;
1: + u8 is_cwnd_limited: 1;
1: + u8 syn_smc: 1;
1: + u32 tlp_high_seq;
1: + u32 tcp_tx_delay;
1: + u64 tcp_wstamp_ns;
1: + u64 tcp_clock_cache;
1: + u64 tcp_mstamp;
1: + u32 srtt_us;
1: + u32 mdev_us;
1: + u32 mdev_max_us;
1: + u32 rttvar_us;
1: + u32 rtt_seq;
1: + struct minmax rtt_min;
1: + u32 packets_out;
1: + u32 retrans_out;
1: + u32 max_packets_out;
1: + u32 max_packets_seq;
1: + u16 urg_data;
1: + u8 ecn_flags;
1: + u8 keepalive_probes;
1: + u32 reordering;
1: + u32 reord_seen;
1: + u32 snd_up;
1: + struct tcp_options_received rx_opt;
1: + u32 snd_ssthresh;
1: + u32 snd_cwnd;
1: + u32 snd_cwnd_cnt;
1: + u32 snd_cwnd_clamp;
1: + u32 snd_cwnd_used;
1: + u32 snd_cwnd_stamp;
1: + u32 prior_cwnd;
1: + u32 prr_delivered;
1: + u32 prr_out;
1: + u32 delivered;
1: + u32 delivered_ce;
1: + u32 lost;
1: + u32 app_limited;
1: + u64 first_tx_mstamp;
1: + u64 delivered_mstamp;
1: + u32 rate_delivered;
1: + u32 rate_interval_us;
1: + u32 rcv_wnd;
1: + u32 write_seq;
1: + u32 notsent_lowat;
1: + u32 pushed_seq;
1: + u32 lost_out;
1: + u32 sacked_out;
1: + struct hrtimer pacing_timer;
1: + struct hrtimer compressed_ack_timer;
1: + struct sk_buff *lost_skb_hint;
1: + struct sk_buff *retransmit_skb_hint;
1: + struct rb_root out_of_order_queue;
1: + struct sk_buff *ooo_last_skb;
1: + struct tcp_sack_block duplicate_sack[1];
1: + struct tcp_sack_block selective_acks[4];
1: + struct tcp_sack_block recv_sack_cache[4];
1: + struct sk_buff *highest_sack;
1: + int lost_cnt_hint;
1: + u32 prior_ssthresh;
1: + u32 high_seq;
1: + u32 retrans_stamp;
1: + u32 undo_marker;
1: + int undo_retrans;
1: + u64 bytes_retrans;
1: + u32 total_retrans;
1: + u32 urg_seq;
1: + unsigned int keepalive_time;
1: + unsigned int keepalive_intvl;
1: + int linger2;
1: + u8 bpf_sock_ops_cb_flags;
1: + u32 rcv_ooopack;
1: + u32 rcv_rtt_last_tsecr;
1: + struct {
1: + u32 rtt_us;
1: + u32 seq;
1: + u64 time;
1: + } rcv_rtt_est;
1: + struct {
1: + u32 space;
1: + u32 seq;
1: + u64 time;
1: + } rcvq_space;
1: + struct {
1: + u32 probe_seq_start;
1: + u32 probe_seq_end;
1: + } mtu_probe;
1: + u32 mtu_info;
1: + const struct tcp_sock_af_ops *af_specific;
1: + struct tcp_md5sig_info *md5sig_info;
1: + struct tcp_fastopen_request *fastopen_req;
1: + struct request_sock *fastopen_rsk;
1: + u32 *saved_syn;
1: +};
1: +
1: +struct tcp_md5sig_key;
1: +
1: +struct tcp_sock_af_ops {
1: + struct tcp_md5sig_key * (*md5_lookup)(const struct sock *, const struct sock *);
1: + int (*calc_md5_hash)(char *, const struct tcp_md5sig_key *, const struct sock *, const struct sk_buff *);
1: + int (*md5_parse)(struct sock *, int, char *, int);
1: +};
1: +
1: +struct tcp_md5sig_info {
1: + struct hlist_head head;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcp_fastopen_request {
1: + struct tcp_fastopen_cookie cookie;
1: + struct msghdr *data;
1: + size_t size;
1: + int copied;
1: + struct ubuf_info *uarg;
1: +};
1: +
1: +union tcp_md5_addr {
1: + struct in_addr a4;
1: + struct in6_addr a6;
1: +};
1: +
1: +struct tcp_md5sig_key {
1: + struct hlist_node node;
1: + u8 keylen;
1: + u8 family;
1: + union tcp_md5_addr addr;
1: + u8 prefixlen;
1: + u8 key[80];
1: + struct callback_head rcu;
1: +};
1: +
1: +struct fib6_config {
1: + u32 fc_table;
1: + u32 fc_metric;
1: + int fc_dst_len;
1: + int fc_src_len;
1: + int fc_ifindex;
1: + u32 fc_flags;
1: + u32 fc_protocol;
1: + u16 fc_type;
1: + u16 fc_delete_all_nh: 1;
1: + u16 fc_ignore_dev_down: 1;
1: + u16 __unused: 14;
1: + u32 fc_nh_id;
1: + struct in6_addr fc_dst;
1: + struct in6_addr fc_src;
1: + struct in6_addr fc_prefsrc;
1: + struct in6_addr fc_gateway;
1: + long unsigned int fc_expires;
1: + struct nlattr *fc_mx;
1: + int fc_mx_len;
1: + int fc_mp_len;
1: + struct nlattr *fc_mp;
1: + struct nl_info fc_nlinfo;
1: + struct nlattr *fc_encap;
1: + u16 fc_encap_type;
1: +};
1: +
1: +struct fib_nh_exception {
1: + struct fib_nh_exception *fnhe_next;
1: + int fnhe_genid;
1: + __be32 fnhe_daddr;
1: + u32 fnhe_pmtu;
1: + bool fnhe_mtu_locked;
1: + __be32 fnhe_gw;
1: + long unsigned int fnhe_expires;
1: + struct rtable *fnhe_rth_input;
1: + struct rtable *fnhe_rth_output;
1: + long unsigned int fnhe_stamp;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct rtable {
1: + struct dst_entry dst;
1: + int rt_genid;
1: + unsigned int rt_flags;
1: + __u16 rt_type;
1: + __u8 rt_is_input;
1: + __u8 rt_uses_gateway;
1: + int rt_iif;
1: + u8 rt_gw_family;
1: + union {
1: + __be32 rt_gw4;
1: + struct in6_addr rt_gw6;
1: + };
1: + u32 rt_mtu_locked: 1;
1: + u32 rt_pmtu: 31;
1: + struct list_head rt_uncached;
1: + struct uncached_list *rt_uncached_list;
1: +};
1: +
1: +struct fnhe_hash_bucket {
1: + struct fib_nh_exception *chain;
1: +};
1: +
1: +struct net_protocol {
1: + int (*early_demux)(struct sk_buff *);
1: + int (*early_demux_handler)(struct sk_buff *);
1: + int (*handler)(struct sk_buff *);
1: + int (*err_handler)(struct sk_buff *, u32);
1: + unsigned int no_policy: 1;
1: + unsigned int netns_ok: 1;
1: + unsigned int icmp_strict_tag_validation: 1;
1: +};
1: +
1: +struct rt6_exception_bucket {
1: + struct hlist_head chain;
1: + int depth;
1: +};
1: +
1: +struct xfrm_replay {
1: + void (*advance)(struct xfrm_state *, __be32);
1: + int (*check)(struct xfrm_state *, struct sk_buff *, __be32);
1: + int (*recheck)(struct xfrm_state *, struct sk_buff *, __be32);
1: + void (*notify)(struct xfrm_state *, int);
1: + int (*overflow)(struct xfrm_state *, struct sk_buff *);
1: +};
1: +
1: +struct xfrm_type {
1: + char *description;
1: + struct module *owner;
1: + u8 proto;
1: + u8 flags;
1: + int (*init_state)(struct xfrm_state *);
1: + void (*destructor)(struct xfrm_state *);
1: + int (*input)(struct xfrm_state *, struct sk_buff *);
1: + int (*output)(struct xfrm_state *, struct sk_buff *);
1: + int (*reject)(struct xfrm_state *, struct sk_buff *, const struct flowi *);
1: + int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **);
1: +};
1: +
1: +struct xfrm_type_offload {
1: + char *description;
1: + struct module *owner;
1: + u8 proto;
1: + void (*encap)(struct xfrm_state *, struct sk_buff *);
1: + int (*input_tail)(struct xfrm_state *, struct sk_buff *);
1: + int (*xmit)(struct xfrm_state *, struct sk_buff *, netdev_features_t);
1: +};
1: +
1: +enum {
1: + SK_MEMINFO_RMEM_ALLOC = 0,
1: + SK_MEMINFO_RCVBUF = 1,
1: + SK_MEMINFO_WMEM_ALLOC = 2,
1: + SK_MEMINFO_SNDBUF = 3,
1: + SK_MEMINFO_FWD_ALLOC = 4,
1: + SK_MEMINFO_WMEM_QUEUED = 5,
1: + SK_MEMINFO_OPTMEM = 6,
1: + SK_MEMINFO_BACKLOG = 7,
1: + SK_MEMINFO_DROPS = 8,
1: + SK_MEMINFO_VARS = 9,
1: +};
1: +
1: +enum sknetlink_groups {
1: + SKNLGRP_NONE = 0,
1: + SKNLGRP_INET_TCP_DESTROY = 1,
1: + SKNLGRP_INET_UDP_DESTROY = 2,
1: + SKNLGRP_INET6_TCP_DESTROY = 3,
1: + SKNLGRP_INET6_UDP_DESTROY = 4,
1: + __SKNLGRP_MAX = 5,
1: +};
1: +
1: +struct inet_request_sock {
1: + struct request_sock req;
1: + u16 snd_wscale: 4;
1: + u16 rcv_wscale: 4;
1: + u16 tstamp_ok: 1;
1: + u16 sack_ok: 1;
1: + u16 wscale_ok: 1;
1: + u16 ecn_ok: 1;
1: + u16 acked: 1;
1: + u16 no_srccheck: 1;
1: + u16 smc_ok: 1;
1: + u32 ir_mark;
1: + union {
1: + struct ip_options_rcu *ireq_opt;
1: + struct {
1: + struct ipv6_txoptions *ipv6_opt;
1: + struct sk_buff *pktopts;
1: + };
1: + };
1: +};
1: +
1: +struct tcp_request_sock_ops;
1: +
1: +struct tcp_request_sock {
1: + struct inet_request_sock req;
1: + const struct tcp_request_sock_ops *af_specific;
1: + u64 snt_synack;
1: + bool tfo_listener;
1: + u32 txhash;
1: + u32 rcv_isn;
1: + u32 snt_isn;
1: + u32 ts_off;
1: + u32 last_oow_ack_time;
1: + u32 rcv_nxt;
1: +};
1: +
1: +enum tcp_synack_type {
1: + TCP_SYNACK_NORMAL = 0,
1: + TCP_SYNACK_FASTOPEN = 1,
1: + TCP_SYNACK_COOKIE = 2,
1: +};
1: +
1: +struct tcp_request_sock_ops {
1: + u16 mss_clamp;
1: + struct tcp_md5sig_key * (*req_md5_lookup)(const struct sock *, const struct sock *);
1: + int (*calc_md5_hash)(char *, const struct tcp_md5sig_key *, const struct sock *, const struct sk_buff *);
1: + void (*init_req)(struct request_sock *, const struct sock *, struct sk_buff *);
1: + __u32 (*cookie_init_seq)(const struct sk_buff *, __u16 *);
1: + struct dst_entry * (*route_req)(const struct sock *, struct flowi *, const struct request_sock *);
1: + u32 (*init_seq)(const struct sk_buff *);
1: + u32 (*init_ts_off)(const struct net *, const struct sk_buff *);
1: + int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type);
1: +};
1: +
1: +struct ts_state {
1: + unsigned int offset;
1: + char cb[40];
1: +};
1: +
1: +struct ts_config;
1: +
1: +struct ts_ops {
1: + const char *name;
1: + struct ts_config * (*init)(const void *, unsigned int, gfp_t, int);
1: + unsigned int (*find)(struct ts_config *, struct ts_state *);
1: + void (*destroy)(struct ts_config *);
1: + void * (*get_pattern)(struct ts_config *);
1: + unsigned int (*get_pattern_len)(struct ts_config *);
1: + struct module *owner;
1: + struct list_head list;
1: +};
1: +
1: +struct ts_config {
1: + struct ts_ops *ops;
1: + int flags;
1: + unsigned int (*get_next_block)(unsigned int, const u8 **, struct ts_config *, struct ts_state *);
1: + void (*finish)(struct ts_config *, struct ts_state *);
1: +};
1: +
1: +struct nf_conntrack {
1: + atomic_t use;
1: +};
1: +
1: +enum {
1: + SKB_FCLONE_UNAVAILABLE = 0,
1: + SKB_FCLONE_ORIG = 1,
1: + SKB_FCLONE_CLONE = 2,
1: +};
1: +
1: +struct sk_buff_fclones {
1: + struct sk_buff skb1;
1: + struct sk_buff skb2;
1: + refcount_t fclone_ref;
1: +};
1: +
1: +struct skb_seq_state {
1: + __u32 lower_offset;
1: + __u32 upper_offset;
1: + __u32 frag_idx;
1: + __u32 stepped_offset;
1: + struct sk_buff *root_skb;
1: + struct sk_buff *cur_skb;
1: + __u8 *frag_data;
1: +};
1: +
1: +struct skb_checksum_ops {
1: + __wsum (*update)(const void *, int, __wsum);
1: + __wsum (*combine)(__wsum, __wsum, int, int);
1: +};
1: +
1: +struct skb_gso_cb {
1: + union {
1: + int mac_offset;
1: + int data_offset;
1: + };
1: + int encap_level;
1: + __wsum csum;
1: + __u16 csum_start;
1: +};
1: +
1: +struct napi_gro_cb {
1: + void *frag0;
1: + unsigned int frag0_len;
1: + int data_offset;
1: + u16 flush;
1: + u16 flush_id;
1: + u16 count;
1: + u16 gro_remcsum_start;
1: + long unsigned int age;
1: + u16 proto;
1: + u8 same_flow: 1;
1: + u8 encap_mark: 1;
1: + u8 csum_valid: 1;
1: + u8 csum_cnt: 3;
1: + u8 free: 2;
1: + u8 is_ipv6: 1;
1: + u8 is_fou: 1;
1: + u8 is_atomic: 1;
1: + u8 recursion_counter: 4;
1: + __wsum csum;
1: + struct sk_buff *last;
1: +};
1: +
1: +struct ip_auth_hdr {
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: + __be16 reserved;
1: + __be32 spi;
1: + __be32 seq_no;
1: + __u8 auth_data[0];
1: +};
1: +
1: +struct frag_hdr {
1: + __u8 nexthdr;
1: + __u8 reserved;
1: + __be16 frag_off;
1: + __be32 identification;
1: +};
1: +
1: +enum {
1: + SCM_TSTAMP_SND = 0,
1: + SCM_TSTAMP_SCHED = 1,
1: + SCM_TSTAMP_ACK = 2,
1: +};
1: +
1: +struct xfrm_offload {
1: + struct {
1: + __u32 low;
1: + __u32 hi;
1: + } seq;
1: + __u32 flags;
1: + __u32 status;
1: + __u8 proto;
1: +};
1: +
1: +struct sec_path {
1: + int len;
1: + int olen;
1: + struct xfrm_state *xvec[6];
1: + struct xfrm_offload ovec[1];
1: +};
1: +
1: +struct mpls_shim_hdr {
1: + __be32 label_stack_entry;
1: +};
1: +
1: +struct napi_alloc_cache {
1: + struct page_frag_cache page;
1: + unsigned int skb_count;
1: + void *skb_cache[64];
1: +};
1: +
1: +struct scm_cookie {
1: + struct pid *pid;
1: + struct scm_fp_list *fp;
1: + struct scm_creds creds;
1: + u32 secid;
1: +};
1: +
1: +struct scm_timestamping {
1: + struct __kernel_old_timespec ts[3];
1: +};
1: +
1: +struct scm_timestamping64 {
1: + struct __kernel_timespec ts[3];
1: +};
1: +
1: +enum {
1: + TCA_STATS_UNSPEC = 0,
1: + TCA_STATS_BASIC = 1,
1: + TCA_STATS_RATE_EST = 2,
1: + TCA_STATS_QUEUE = 3,
1: + TCA_STATS_APP = 4,
1: + TCA_STATS_RATE_EST64 = 5,
1: + TCA_STATS_PAD = 6,
1: + TCA_STATS_BASIC_HW = 7,
1: + TCA_STATS_PKT64 = 8,
1: + __TCA_STATS_MAX = 9,
1: +};
1: +
1: +struct gnet_stats_basic {
1: + __u64 bytes;
1: + __u32 packets;
1: +};
1: +
1: +struct gnet_stats_rate_est {
1: + __u32 bps;
1: + __u32 pps;
1: +};
1: +
1: +struct gnet_stats_rate_est64 {
1: + __u64 bps;
1: + __u64 pps;
1: +};
1: +
1: +struct gnet_estimator {
1: + signed char interval;
1: + unsigned char ewma_log;
1: +};
1: +
1: +struct net_rate_estimator {
1: + struct gnet_stats_basic_packed *bstats;
1: + spinlock_t *stats_lock;
1: + seqcount_t *running;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + u8 ewma_log;
1: + u8 intvl_log;
1: + seqcount_t seq;
1: + u64 last_packets;
1: + u64 last_bytes;
1: + u64 avpps;
1: + u64 avbps;
1: + long unsigned int next_jiffies;
1: + struct timer_list timer;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct rtgenmsg {
1: + unsigned char rtgen_family;
1: +};
1: +
1: +enum rtnetlink_groups {
1: + RTNLGRP_NONE = 0,
1: + RTNLGRP_LINK = 1,
1: + RTNLGRP_NOTIFY = 2,
1: + RTNLGRP_NEIGH = 3,
1: + RTNLGRP_TC = 4,
1: + RTNLGRP_IPV4_IFADDR = 5,
1: + RTNLGRP_IPV4_MROUTE = 6,
1: + RTNLGRP_IPV4_ROUTE = 7,
1: + RTNLGRP_IPV4_RULE = 8,
1: + RTNLGRP_IPV6_IFADDR = 9,
1: + RTNLGRP_IPV6_MROUTE = 10,
1: + RTNLGRP_IPV6_ROUTE = 11,
1: + RTNLGRP_IPV6_IFINFO = 12,
1: + RTNLGRP_DECnet_IFADDR = 13,
1: + RTNLGRP_NOP2 = 14,
1: + RTNLGRP_DECnet_ROUTE = 15,
1: + RTNLGRP_DECnet_RULE = 16,
1: + RTNLGRP_NOP4 = 17,
1: + RTNLGRP_IPV6_PREFIX = 18,
1: + RTNLGRP_IPV6_RULE = 19,
1: + RTNLGRP_ND_USEROPT = 20,
1: + RTNLGRP_PHONET_IFADDR = 21,
1: + RTNLGRP_PHONET_ROUTE = 22,
1: + RTNLGRP_DCB = 23,
1: + RTNLGRP_IPV4_NETCONF = 24,
1: + RTNLGRP_IPV6_NETCONF = 25,
1: + RTNLGRP_MDB = 26,
1: + RTNLGRP_MPLS_ROUTE = 27,
1: + RTNLGRP_NSID = 28,
1: + RTNLGRP_MPLS_NETCONF = 29,
1: + RTNLGRP_IPV4_MROUTE_R = 30,
1: + RTNLGRP_IPV6_MROUTE_R = 31,
1: + RTNLGRP_NEXTHOP = 32,
1: + __RTNLGRP_MAX = 33,
1: +};
1: +
1: +enum {
1: + NETNSA_NONE = 0,
1: + NETNSA_NSID = 1,
1: + NETNSA_PID = 2,
1: + NETNSA_FD = 3,
1: + NETNSA_TARGET_NSID = 4,
1: + NETNSA_CURRENT_NSID = 5,
1: + __NETNSA_MAX = 6,
1: +};
1: +
1: +typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *, struct netlink_ext_ack *);
1: +
1: +typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *);
1: +
1: +enum rtnl_link_flags {
1: + RTNL_FLAG_DOIT_UNLOCKED = 1,
1: +};
1: +
1: +struct net_fill_args {
1: + u32 portid;
1: + u32 seq;
1: + int flags;
1: + int cmd;
1: + int nsid;
1: + bool add_ref;
1: + int ref_nsid;
1: +};
1: +
1: +struct rtnl_net_dump_cb {
1: + struct net *tgt_net;
1: + struct net *ref_net;
1: + struct sk_buff *skb;
1: + struct net_fill_args fillargs;
1: + int idx;
1: + int s_idx;
1: +};
1: +
1: +typedef u16 u_int16_t;
1: +
1: +struct flow_dissector_key_control {
1: + u16 thoff;
1: + u16 addr_type;
1: + u32 flags;
1: +};
1: +
1: +enum flow_dissect_ret {
1: + FLOW_DISSECT_RET_OUT_GOOD = 0,
1: + FLOW_DISSECT_RET_OUT_BAD = 1,
1: + FLOW_DISSECT_RET_PROTO_AGAIN = 2,
1: + FLOW_DISSECT_RET_IPPROTO_AGAIN = 3,
1: + FLOW_DISSECT_RET_CONTINUE = 4,
1: +};
1: +
1: +struct flow_dissector_key_basic {
1: + __be16 n_proto;
1: + u8 ip_proto;
1: + u8 padding;
1: +};
1: +
1: +struct flow_dissector_key_tags {
1: + u32 flow_label;
1: +};
1: +
1: +struct flow_dissector_key_vlan {
1: + union {
1: + struct {
1: + u16 vlan_id: 12;
1: + u16 vlan_dei: 1;
1: + u16 vlan_priority: 3;
1: + };
1: + __be16 vlan_tci;
1: + };
1: + __be16 vlan_tpid;
1: +};
1: +
1: +struct flow_dissector_key_mpls {
1: + u32 mpls_ttl: 8;
1: + u32 mpls_bos: 1;
1: + u32 mpls_tc: 3;
1: + u32 mpls_label: 20;
1: +};
1: +
1: +struct flow_dissector_key_enc_opts {
1: + u8 data[255];
1: + u8 len;
1: + __be16 dst_opt_type;
1: +};
1: +
1: +struct flow_dissector_key_keyid {
1: + __be32 keyid;
1: +};
1: +
1: +struct flow_dissector_key_ipv4_addrs {
1: + __be32 src;
1: + __be32 dst;
1: +};
1: +
1: +struct flow_dissector_key_ipv6_addrs {
1: + struct in6_addr src;
1: + struct in6_addr dst;
1: +};
1: +
1: +struct flow_dissector_key_tipc {
1: + __be32 key;
1: +};
1: +
1: +struct flow_dissector_key_addrs {
1: + union {
1: + struct flow_dissector_key_ipv4_addrs v4addrs;
1: + struct flow_dissector_key_ipv6_addrs v6addrs;
1: + struct flow_dissector_key_tipc tipckey;
1: + };
1: +};
1: +
1: +struct flow_dissector_key_arp {
1: + __u32 sip;
1: + __u32 tip;
1: + __u8 op;
1: + unsigned char sha[6];
1: + unsigned char tha[6];
1: +};
1: +
1: +struct flow_dissector_key_ports {
1: + union {
1: + __be32 ports;
1: + struct {
1: + __be16 src;
1: + __be16 dst;
1: + };
1: + };
1: +};
1: +
1: +struct flow_dissector_key_icmp {
1: + struct {
1: + u8 type;
1: + u8 code;
1: + };
1: + u16 id;
1: +};
1: +
1: +struct flow_dissector_key_eth_addrs {
1: + unsigned char dst[6];
1: + unsigned char src[6];
1: +};
1: +
1: +struct flow_dissector_key_tcp {
1: + __be16 flags;
1: +};
1: +
1: +struct flow_dissector_key_ip {
1: + __u8 tos;
1: + __u8 ttl;
1: +};
1: +
1: +struct flow_dissector_key_meta {
1: + int ingress_ifindex;
1: + u16 ingress_iftype;
1: +};
1: +
1: +struct flow_dissector_key_ct {
1: + u16 ct_state;
1: + u16 ct_zone;
1: + u32 ct_mark;
1: + u32 ct_labels[4];
1: +};
1: +
1: +struct flow_dissector_key {
1: + enum flow_dissector_key_id key_id;
1: + size_t offset;
1: +};
1: +
1: +struct flow_keys_basic {
1: + struct flow_dissector_key_control control;
1: + struct flow_dissector_key_basic basic;
1: +};
1: +
1: +struct flow_keys {
1: + struct flow_dissector_key_control control;
1: + struct flow_dissector_key_basic basic;
1: + struct flow_dissector_key_tags tags;
1: + struct flow_dissector_key_vlan vlan;
1: + struct flow_dissector_key_vlan cvlan;
1: + struct flow_dissector_key_keyid keyid;
1: + struct flow_dissector_key_ports ports;
1: + struct flow_dissector_key_icmp icmp;
1: + struct flow_dissector_key_addrs addrs;
1: + int: 32;
1: +};
1: +
1: +struct flow_keys_digest {
1: + u8 data[16];
1: +};
1: +
1: +struct bpf_flow_keys;
1: +
1: +struct bpf_flow_dissector {
1: + struct bpf_flow_keys *flow_keys;
1: + const struct sk_buff *skb;
1: + void *data;
1: + void *data_end;
1: +};
1: +
1: +struct bpf_flow_keys {
1: + __u16 nhoff;
1: + __u16 thoff;
1: + __u16 addr_proto;
1: + __u8 is_frag;
1: + __u8 is_first_frag;
1: + __u8 is_encap;
1: + __u8 ip_proto;
1: + __be16 n_proto;
1: + __be16 sport;
1: + __be16 dport;
1: + union {
1: + struct {
1: + __be32 ipv4_src;
1: + __be32 ipv4_dst;
1: + };
1: + struct {
1: + __u32 ipv6_src[4];
1: + __u32 ipv6_dst[4];
1: + };
1: + };
1: + __u32 flags;
1: + __be32 flow_label;
1: +};
1: +
1: +enum ip_conntrack_info {
1: + IP_CT_ESTABLISHED = 0,
1: + IP_CT_RELATED = 1,
1: + IP_CT_NEW = 2,
1: + IP_CT_IS_REPLY = 3,
1: + IP_CT_ESTABLISHED_REPLY = 3,
1: + IP_CT_RELATED_REPLY = 4,
1: + IP_CT_NUMBER = 5,
1: + IP_CT_UNTRACKED = 7,
1: +};
1: +
1: +struct xt_table_info;
1: +
1: +struct xt_table {
1: + struct list_head list;
1: + unsigned int valid_hooks;
1: + struct xt_table_info *private;
1: + struct module *me;
1: + u_int8_t af;
1: + int priority;
1: + int (*table_init)(struct net *);
1: + char name[32];
1: +};
1: +
1: +union nf_inet_addr {
1: + __u32 all[4];
1: + __be32 ip;
1: + __be32 ip6[4];
1: + struct in_addr in;
1: + struct in6_addr in6;
1: +};
1: +
1: +struct ip_ct_tcp_state {
1: + u_int32_t td_end;
1: + u_int32_t td_maxend;
1: + u_int32_t td_maxwin;
1: + u_int32_t td_maxack;
1: + u_int8_t td_scale;
1: + u_int8_t flags;
1: +};
1: +
1: +struct ip_ct_tcp {
1: + struct ip_ct_tcp_state seen[2];
1: + u_int8_t state;
1: + u_int8_t last_dir;
1: + u_int8_t retrans;
1: + u_int8_t last_index;
1: + u_int32_t last_seq;
1: + u_int32_t last_ack;
1: + u_int32_t last_end;
1: + u_int16_t last_win;
1: + u_int8_t last_wscale;
1: + u_int8_t last_flags;
1: +};
1: +
1: +enum bpf_ret_code {
1: + BPF_OK = 0,
1: + BPF_DROP = 2,
1: + BPF_REDIRECT = 7,
1: + BPF_LWT_REROUTE = 128,
1: +};
1: +
1: +enum devlink_port_type {
1: + DEVLINK_PORT_TYPE_NOTSET = 0,
1: + DEVLINK_PORT_TYPE_AUTO = 1,
1: + DEVLINK_PORT_TYPE_ETH = 2,
1: + DEVLINK_PORT_TYPE_IB = 3,
1: +};
1: +
1: +enum devlink_port_flavour {
1: + DEVLINK_PORT_FLAVOUR_PHYSICAL = 0,
1: + DEVLINK_PORT_FLAVOUR_CPU = 1,
1: + DEVLINK_PORT_FLAVOUR_DSA = 2,
1: + DEVLINK_PORT_FLAVOUR_PCI_PF = 3,
1: + DEVLINK_PORT_FLAVOUR_PCI_VF = 4,
1: +};
1: +
1: +struct devlink_port_phys_attrs {
1: + u32 port_number;
1: + u32 split_subport_number;
1: +};
1: +
1: +struct devlink_port_pci_pf_attrs {
1: + u16 pf;
1: +};
1: +
1: +struct devlink_port_pci_vf_attrs {
1: + u16 pf;
1: + u16 vf;
1: +};
1: +
1: +struct devlink_port_attrs {
1: + u8 set: 1;
1: + u8 split: 1;
1: + u8 switch_port: 1;
1: + enum devlink_port_flavour flavour;
1: + struct netdev_phys_item_id switch_id;
1: + union {
1: + struct devlink_port_phys_attrs phys;
1: + struct devlink_port_pci_pf_attrs pci_pf;
1: + struct devlink_port_pci_vf_attrs pci_vf;
1: + };
1: +};
1: +
1: +struct devlink;
1: +
1: +struct devlink_port {
1: + struct list_head list;
1: + struct list_head param_list;
1: + struct devlink *devlink;
1: + unsigned int index;
1: + bool registered;
1: + spinlock_t type_lock;
1: + enum devlink_port_type type;
1: + enum devlink_port_type desired_type;
1: + void *type_dev;
1: + struct devlink_port_attrs attrs;
1: + struct delayed_work type_warn_dw;
1: +};
1: +
1: +struct ip_tunnel_key {
1: + __be64 tun_id;
1: + union {
1: + struct {
1: + __be32 src;
1: + __be32 dst;
1: + } ipv4;
1: + struct {
1: + struct in6_addr src;
1: + struct in6_addr dst;
1: + } ipv6;
1: + } u;
1: + __be16 tun_flags;
1: + u8 tos;
1: + u8 ttl;
1: + __be32 label;
1: + __be16 tp_src;
1: + __be16 tp_dst;
1: +};
1: +
1: +struct dst_cache_pcpu;
1: +
1: +struct dst_cache {
1: + struct dst_cache_pcpu *cache;
1: + long unsigned int reset_ts;
1: +};
1: +
1: +struct ip_tunnel_info {
1: + struct ip_tunnel_key key;
1: + struct dst_cache dst_cache;
1: + u8 options_len;
1: + u8 mode;
1: +};
1: +
1: +struct lwtunnel_state {
1: + __u16 type;
1: + __u16 flags;
1: + __u16 headroom;
1: + atomic_t refcnt;
1: + int (*orig_output)(struct net *, struct sock *, struct sk_buff *);
1: + int (*orig_input)(struct sk_buff *);
1: + struct callback_head rcu;
1: + __u8 data[0];
1: +};
1: +
1: +union tcp_word_hdr {
1: + struct tcphdr hdr;
1: + __be32 words[5];
1: +};
1: +
1: +enum devlink_sb_pool_type {
1: + DEVLINK_SB_POOL_TYPE_INGRESS = 0,
1: + DEVLINK_SB_POOL_TYPE_EGRESS = 1,
1: +};
1: +
1: +enum devlink_sb_threshold_type {
1: + DEVLINK_SB_THRESHOLD_TYPE_STATIC = 0,
1: + DEVLINK_SB_THRESHOLD_TYPE_DYNAMIC = 1,
1: +};
1: +
1: +enum devlink_eswitch_encap_mode {
1: + DEVLINK_ESWITCH_ENCAP_MODE_NONE = 0,
1: + DEVLINK_ESWITCH_ENCAP_MODE_BASIC = 1,
1: +};
1: +
1: +enum devlink_trap_action {
1: + DEVLINK_TRAP_ACTION_DROP = 0,
1: + DEVLINK_TRAP_ACTION_TRAP = 1,
1: +};
1: +
1: +enum devlink_trap_type {
1: + DEVLINK_TRAP_TYPE_DROP = 0,
1: + DEVLINK_TRAP_TYPE_EXCEPTION = 1,
1: +};
1: +
1: +enum devlink_dpipe_field_mapping_type {
1: + DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0,
1: + DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 1,
1: +};
1: +
1: +struct devlink_dpipe_headers;
1: +
1: +struct devlink_ops;
1: +
1: +struct devlink {
1: + struct list_head list;
1: + struct list_head port_list;
1: + struct list_head sb_list;
1: + struct list_head dpipe_table_list;
1: + struct list_head resource_list;
1: + struct list_head param_list;
1: + struct list_head region_list;
1: + u32 snapshot_id;
1: + struct list_head reporter_list;
1: + struct mutex reporters_lock;
1: + struct devlink_dpipe_headers *dpipe_headers;
1: + struct list_head trap_list;
1: + struct list_head trap_group_list;
1: + const struct devlink_ops *ops;
1: + struct device *dev;
1: + possible_net_t _net;
1: + struct mutex lock;
1: + u8 reload_failed: 1;
1: + u8 reload_enabled: 1;
1: + u8 registered: 1;
1: + long: 61;
1: + long: 64;
1: + long: 64;
1: + char priv[0];
1: +};
1: +
1: +struct devlink_dpipe_header;
1: +
1: +struct devlink_dpipe_headers {
1: + struct devlink_dpipe_header **headers;
1: + unsigned int headers_count;
1: +};
1: +
1: +struct devlink_info_req;
1: +
1: +struct devlink_sb_pool_info;
1: +
1: +struct devlink_trap;
1: +
1: +struct devlink_trap_group;
1: +
1: +struct devlink_ops {
1: + int (*reload_down)(struct devlink *, bool, struct netlink_ext_ack *);
1: + int (*reload_up)(struct devlink *, struct netlink_ext_ack *);
1: + int (*port_type_set)(struct devlink_port *, enum devlink_port_type);
1: + int (*port_split)(struct devlink *, unsigned int, unsigned int, struct netlink_ext_ack *);
1: + int (*port_unsplit)(struct devlink *, unsigned int, struct netlink_ext_ack *);
1: + int (*sb_pool_get)(struct devlink *, unsigned int, u16, struct devlink_sb_pool_info *);
1: + int (*sb_pool_set)(struct devlink *, unsigned int, u16, u32, enum devlink_sb_threshold_type, struct netlink_ext_ack *);
1: + int (*sb_port_pool_get)(struct devlink_port *, unsigned int, u16, u32 *);
1: + int (*sb_port_pool_set)(struct devlink_port *, unsigned int, u16, u32, struct netlink_ext_ack *);
1: + int (*sb_tc_pool_bind_get)(struct devlink_port *, unsigned int, u16, enum devlink_sb_pool_type, u16 *, u32 *);
1: + int (*sb_tc_pool_bind_set)(struct devlink_port *, unsigned int, u16, enum devlink_sb_pool_type, u16, u32, struct netlink_ext_ack *);
1: + int (*sb_occ_snapshot)(struct devlink *, unsigned int);
1: + int (*sb_occ_max_clear)(struct devlink *, unsigned int);
1: + int (*sb_occ_port_pool_get)(struct devlink_port *, unsigned int, u16, u32 *, u32 *);
1: + int (*sb_occ_tc_port_bind_get)(struct devlink_port *, unsigned int, u16, enum devlink_sb_pool_type, u32 *, u32 *);
1: + int (*eswitch_mode_get)(struct devlink *, u16 *);
1: + int (*eswitch_mode_set)(struct devlink *, u16, struct netlink_ext_ack *);
1: + int (*eswitch_inline_mode_get)(struct devlink *, u8 *);
1: + int (*eswitch_inline_mode_set)(struct devlink *, u8, struct netlink_ext_ack *);
1: + int (*eswitch_encap_mode_get)(struct devlink *, enum devlink_eswitch_encap_mode *);
1: + int (*eswitch_encap_mode_set)(struct devlink *, enum devlink_eswitch_encap_mode, struct netlink_ext_ack *);
1: + int (*info_get)(struct devlink *, struct devlink_info_req *, struct netlink_ext_ack *);
1: + int (*flash_update)(struct devlink *, const char *, const char *, struct netlink_ext_ack *);
1: + int (*trap_init)(struct devlink *, const struct devlink_trap *, void *);
1: + void (*trap_fini)(struct devlink *, const struct devlink_trap *, void *);
1: + int (*trap_action_set)(struct devlink *, const struct devlink_trap *, enum devlink_trap_action);
1: + int (*trap_group_init)(struct devlink *, const struct devlink_trap_group *);
1: +};
1: +
1: +struct devlink_sb_pool_info {
1: + enum devlink_sb_pool_type pool_type;
1: + u32 size;
1: + enum devlink_sb_threshold_type threshold_type;
1: + u32 cell_size;
1: +};
1: +
1: +struct devlink_dpipe_field {
1: + const char *name;
1: + unsigned int id;
1: + unsigned int bitwidth;
1: + enum devlink_dpipe_field_mapping_type mapping_type;
1: +};
1: +
1: +struct devlink_dpipe_header {
1: + const char *name;
1: + unsigned int id;
1: + struct devlink_dpipe_field *fields;
1: + unsigned int fields_count;
1: + bool global;
1: +};
1: +
1: +struct devlink_trap_group {
1: + const char *name;
1: + u16 id;
1: + bool generic;
1: +};
1: +
1: +struct devlink_trap {
1: + enum devlink_trap_type type;
1: + enum devlink_trap_action init_action;
1: + bool generic;
1: + u16 id;
1: + const char *name;
1: + struct devlink_trap_group group;
1: + u32 metadata_cap;
1: +};
1: +
1: +struct arphdr {
1: + __be16 ar_hrd;
1: + __be16 ar_pro;
1: + unsigned char ar_hln;
1: + unsigned char ar_pln;
1: + __be16 ar_op;
1: +};
1: +
1: +struct fib_info;
1: +
1: +struct fib_nh {
1: + struct fib_nh_common nh_common;
1: + struct hlist_node nh_hash;
1: + struct fib_info *nh_parent;
1: + __be32 nh_saddr;
1: + int nh_saddr_genid;
1: +};
1: +
1: +struct fib_info {
1: + struct hlist_node fib_hash;
1: + struct hlist_node fib_lhash;
1: + struct list_head nh_list;
1: + struct net *fib_net;
1: + int fib_treeref;
1: + refcount_t fib_clntref;
1: + unsigned int fib_flags;
1: + unsigned char fib_dead;
1: + unsigned char fib_protocol;
1: + unsigned char fib_scope;
1: + unsigned char fib_type;
1: + __be32 fib_prefsrc;
1: + u32 fib_tb_id;
1: + u32 fib_priority;
1: + struct dst_metrics *fib_metrics;
1: + int fib_nhs;
1: + bool fib_nh_is_v6;
1: + bool nh_updated;
1: + struct nexthop *nh;
1: + struct callback_head rcu;
1: + struct fib_nh fib_nh[0];
1: +};
1: +
1: +struct nh_info;
1: +
1: +struct nh_group;
1: +
1: +struct nexthop {
1: + struct rb_node rb_node;
1: + struct list_head fi_list;
1: + struct list_head f6i_list;
1: + struct list_head grp_list;
1: + struct net *net;
1: + u32 id;
1: + u8 protocol;
1: + u8 nh_flags;
1: + bool is_group;
1: + refcount_t refcnt;
1: + struct callback_head rcu;
1: + union {
1: + struct nh_info *nh_info;
1: + struct nh_group *nh_grp;
1: + };
1: +};
1: +
1: +struct nh_info {
1: + struct hlist_node dev_hash;
1: + struct nexthop *nh_parent;
1: + u8 family;
1: + bool reject_nh;
1: + union {
1: + struct fib_nh_common fib_nhc;
1: + struct fib_nh fib_nh;
1: + struct fib6_nh fib6_nh;
1: + };
1: +};
1: +
1: +struct nh_grp_entry {
1: + struct nexthop *nh;
1: + u8 weight;
1: + atomic_t upper_bound;
1: + struct list_head nh_list;
1: + struct nexthop *nh_parent;
1: +};
1: +
1: +struct nh_group {
1: + u16 num_nh;
1: + bool mpath;
1: + bool has_v4;
1: + struct nh_grp_entry nh_entries[0];
1: +};
1: +
1: +struct ip_tunnel_encap {
1: + u16 type;
1: + u16 flags;
1: + __be16 sport;
1: + __be16 dport;
1: +};
1: +
1: +struct ip_tunnel_encap_ops {
1: + size_t (*encap_hlen)(struct ip_tunnel_encap *);
1: + int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *, struct flowi4 *);
1: + int (*err_handler)(struct sk_buff *, u32);
1: +};
1: +
1: +enum metadata_type {
1: + METADATA_IP_TUNNEL = 0,
1: + METADATA_HW_PORT_MUX = 1,
1: +};
1: +
1: +struct hw_port_info {
1: + struct net_device *lower_dev;
1: + u32 port_id;
1: +};
1: +
1: +struct metadata_dst {
1: + struct dst_entry dst;
1: + enum metadata_type type;
1: + union {
1: + struct ip_tunnel_info tun_info;
1: + struct hw_port_info port_info;
1: + } u;
1: +};
1: +
1: +struct gre_base_hdr {
1: + __be16 flags;
1: + __be16 protocol;
1: +};
1: +
1: +struct gre_full_hdr {
1: + struct gre_base_hdr fixed_header;
1: + __be16 csum;
1: + __be16 reserved1;
1: + __be32 key;
1: + __be32 seq;
1: +};
1: +
1: +struct pptp_gre_header {
1: + struct gre_base_hdr gre_hd;
1: + __be16 payload_len;
1: + __be16 call_id;
1: + __be32 seq;
1: + __be32 ack;
1: +};
1: +
1: +struct tipc_basic_hdr {
1: + __be32 w[4];
1: +};
1: +
1: +struct icmphdr {
1: + __u8 type;
1: + __u8 code;
1: + __sum16 checksum;
1: + union {
1: + struct {
1: + __be16 id;
1: + __be16 sequence;
1: + } echo;
1: + __be32 gateway;
1: + struct {
1: + __be16 __unused;
1: + __be16 mtu;
1: + } frag;
1: + __u8 reserved[4];
1: + } un;
1: +};
1: +
1: +enum l2tp_debug_flags {
1: + L2TP_MSG_DEBUG = 1,
1: + L2TP_MSG_CONTROL = 2,
1: + L2TP_MSG_SEQ = 4,
1: + L2TP_MSG_DATA = 8,
1: +};
1: +
1: +struct pppoe_tag {
1: + __be16 tag_type;
1: + __be16 tag_len;
1: + char tag_data[0];
1: +};
1: +
1: +struct pppoe_hdr {
1: + __u8 type: 4;
1: + __u8 ver: 4;
1: + __u8 code;
1: + __be16 sid;
1: + __be16 length;
1: + struct pppoe_tag tag[0];
1: +};
1: +
1: +struct mpls_label {
1: + __be32 entry;
1: +};
1: +
1: +enum batadv_packettype {
1: + BATADV_IV_OGM = 0,
1: + BATADV_BCAST = 1,
1: + BATADV_CODED = 2,
1: + BATADV_ELP = 3,
1: + BATADV_OGM2 = 4,
1: + BATADV_UNICAST = 64,
1: + BATADV_UNICAST_FRAG = 65,
1: + BATADV_UNICAST_4ADDR = 66,
1: + BATADV_ICMP = 67,
1: + BATADV_UNICAST_TVLV = 68,
1: +};
1: +
1: +struct batadv_unicast_packet {
1: + __u8 packet_type;
1: + __u8 version;
1: + __u8 ttl;
1: + __u8 ttvn;
1: + __u8 dest[6];
1: +};
1: +
1: +union nf_conntrack_man_proto {
1: + __be16 all;
1: + struct {
1: + __be16 port;
1: + } tcp;
1: + struct {
1: + __be16 port;
1: + } udp;
1: + struct {
1: + __be16 id;
1: + } icmp;
1: + struct {
1: + __be16 port;
1: + } dccp;
1: + struct {
1: + __be16 port;
1: + } sctp;
1: + struct {
1: + __be16 key;
1: + } gre;
1: +};
1: +
1: +struct nf_conntrack_man {
1: + union nf_inet_addr u3;
1: + union nf_conntrack_man_proto u;
1: + u_int16_t l3num;
1: +};
1: +
1: +struct nf_conntrack_tuple {
1: + struct nf_conntrack_man src;
1: + struct {
1: + union nf_inet_addr u3;
1: + union {
1: + __be16 all;
1: + struct {
1: + __be16 port;
1: + } tcp;
1: + struct {
1: + __be16 port;
1: + } udp;
1: + struct {
1: + u_int8_t type;
1: + u_int8_t code;
1: + } icmp;
1: + struct {
1: + __be16 port;
1: + } dccp;
1: + struct {
1: + __be16 port;
1: + } sctp;
1: + struct {
1: + __be16 key;
1: + } gre;
1: + } u;
1: + u_int8_t protonum;
1: + u_int8_t dir;
1: + } dst;
1: +};
1: +
1: +struct nf_conntrack_tuple_hash {
1: + struct hlist_nulls_node hnnode;
1: + struct nf_conntrack_tuple tuple;
1: +};
1: +
1: +struct nf_ct_dccp {
1: + u_int8_t role[2];
1: + u_int8_t state;
1: + u_int8_t last_pkt;
1: + u_int8_t last_dir;
1: + u_int64_t handshake_seq;
1: +};
1: +
1: +enum sctp_conntrack {
1: + SCTP_CONNTRACK_NONE = 0,
1: + SCTP_CONNTRACK_CLOSED = 1,
1: + SCTP_CONNTRACK_COOKIE_WAIT = 2,
1: + SCTP_CONNTRACK_COOKIE_ECHOED = 3,
1: + SCTP_CONNTRACK_ESTABLISHED = 4,
1: + SCTP_CONNTRACK_SHUTDOWN_SENT = 5,
1: + SCTP_CONNTRACK_SHUTDOWN_RECD = 6,
1: + SCTP_CONNTRACK_SHUTDOWN_ACK_SENT = 7,
1: + SCTP_CONNTRACK_HEARTBEAT_SENT = 8,
1: + SCTP_CONNTRACK_HEARTBEAT_ACKED = 9,
1: + SCTP_CONNTRACK_MAX = 10,
1: +};
1: +
1: +struct ip_ct_sctp {
1: + enum sctp_conntrack state;
1: + __be32 vtag[2];
1: +};
1: +
1: +struct nf_ct_udp {
1: + long unsigned int stream_ts;
1: +};
1: +
1: +struct nf_ct_gre {
1: + unsigned int stream_timeout;
1: + unsigned int timeout;
1: +};
1: +
1: +union nf_conntrack_proto {
1: + struct nf_ct_dccp dccp;
1: + struct ip_ct_sctp sctp;
1: + struct ip_ct_tcp tcp;
1: + struct nf_ct_udp udp;
1: + struct nf_ct_gre gre;
1: + unsigned int tmpl_padto;
1: +};
1: +
1: +struct nf_ct_ext;
1: +
1: +struct nf_conn {
1: + struct nf_conntrack ct_general;
1: + spinlock_t lock;
1: + u32 timeout;
1: + struct nf_conntrack_tuple_hash tuplehash[2];
1: + long unsigned int status;
1: + u16 cpu;
1: + possible_net_t ct_net;
1: + struct hlist_node nat_bysource;
1: + u8 __nfct_init_offset[0];
1: + struct nf_conn *master;
1: + u_int32_t secmark;
1: + struct nf_ct_ext *ext;
1: + union nf_conntrack_proto proto;
1: +};
1: +
1: +struct nf_conntrack_zone {
1: + u16 id;
1: + u8 flags;
1: + u8 dir;
1: +};
1: +
1: +struct xt_table_info {
1: + unsigned int size;
1: + unsigned int number;
1: + unsigned int initial_entries;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int stacksize;
1: + void ***jumpstack;
1: + unsigned char entries[0];
1: +};
1: +
1: +struct nf_ct_ext {
1: + u8 offset[4];
1: + u8 len;
1: + char data[0];
1: +};
1: +
1: +enum nf_ct_ext_id {
1: + NF_CT_EXT_HELPER = 0,
1: + NF_CT_EXT_NAT = 1,
1: + NF_CT_EXT_SEQADJ = 2,
1: + NF_CT_EXT_ACCT = 3,
1: + NF_CT_EXT_NUM = 4,
1: +};
1: +
1: +struct nf_conn_labels {
1: + long unsigned int bits[2];
1: +};
1: +
1: +struct _flow_keys_digest_data {
1: + __be16 n_proto;
1: + u8 ip_proto;
1: + u8 padding;
1: + __be32 ports;
1: + __be32 src;
1: + __be32 dst;
1: +};
1: +
1: +enum {
1: + IF_OPER_UNKNOWN = 0,
1: + IF_OPER_NOTPRESENT = 1,
1: + IF_OPER_DOWN = 2,
1: + IF_OPER_LOWERLAYERDOWN = 3,
1: + IF_OPER_TESTING = 4,
1: + IF_OPER_DORMANT = 5,
1: + IF_OPER_UP = 6,
1: +};
1: +
1: +enum nf_dev_hooks {
1: + NF_NETDEV_INGRESS = 0,
1: + NF_NETDEV_NUMHOOKS = 1,
1: +};
1: +
1: +struct xdp_buff {
1: + void *data;
1: + void *data_end;
1: + void *data_meta;
1: + void *data_hard_start;
1: + long unsigned int handle;
1: + struct xdp_rxq_info *rxq;
1: +};
1: +
1: +struct ifbond {
1: + __s32 bond_mode;
1: + __s32 num_slaves;
1: + __s32 miimon;
1: +};
1: +
1: +typedef struct ifbond ifbond;
1: +
1: +struct ifslave {
1: + __s32 slave_id;
1: + char slave_name[16];
1: + __s8 link;
1: + __s8 state;
1: + __u32 link_failure_count;
1: +};
1: +
1: +typedef struct ifslave ifslave;
1: +
1: +struct netdev_boot_setup {
1: + char name[16];
1: + struct ifmap map;
1: +};
1: +
1: +enum {
1: + NAPIF_STATE_SCHED = 1,
1: + NAPIF_STATE_MISSED = 2,
1: + NAPIF_STATE_DISABLE = 4,
1: + NAPIF_STATE_NPSVC = 8,
1: + NAPIF_STATE_HASHED = 16,
1: + NAPIF_STATE_NO_BUSY_POLL = 32,
1: + NAPIF_STATE_IN_BUSY_POLL = 64,
1: +};
1: +
1: +struct udp_tunnel_info {
1: + short unsigned int type;
1: + sa_family_t sa_family;
1: + __be16 port;
1: +};
1: +
1: +struct packet_type {
1: + __be16 type;
1: + bool ignore_outgoing;
1: + struct net_device *dev;
1: + int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
1: + void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
1: + bool (*id_match)(struct packet_type *, struct sock *);
1: + void *af_packet_priv;
1: + struct list_head list;
1: +};
1: +
1: +struct offload_callbacks {
1: + struct sk_buff * (*gso_segment)(struct sk_buff *, netdev_features_t);
1: + struct sk_buff * (*gro_receive)(struct list_head *, struct sk_buff *);
1: + int (*gro_complete)(struct sk_buff *, int);
1: +};
1: +
1: +struct packet_offload {
1: + __be16 type;
1: + u16 priority;
1: + struct offload_callbacks callbacks;
1: + struct list_head list;
1: +};
1: +
1: +struct netdev_notifier_info_ext {
1: + struct netdev_notifier_info info;
1: + union {
1: + u32 mtu;
1: + } ext;
1: +};
1: +
1: +struct netdev_notifier_change_info {
1: + struct netdev_notifier_info info;
1: + unsigned int flags_changed;
1: +};
1: +
1: +struct netdev_notifier_changeupper_info {
1: + struct netdev_notifier_info info;
1: + struct net_device *upper_dev;
1: + bool master;
1: + bool linking;
1: + void *upper_info;
1: +};
1: +
1: +struct netdev_notifier_changelowerstate_info {
1: + struct netdev_notifier_info info;
1: + void *lower_state_info;
1: +};
1: +
1: +struct netdev_notifier_pre_changeaddr_info {
1: + struct netdev_notifier_info info;
1: + const unsigned char *dev_addr;
1: +};
1: +
1: +typedef int (*bpf_op_t)(struct net_device *, struct netdev_bpf *);
1: +
1: +struct netdev_bonding_info {
1: + ifslave slave;
1: + ifbond master;
1: +};
1: +
1: +struct netdev_notifier_bonding_info {
1: + struct netdev_notifier_info info;
1: + struct netdev_bonding_info bonding_info;
1: +};
1: +
1: +enum qdisc_state_t {
1: + __QDISC_STATE_SCHED = 0,
1: + __QDISC_STATE_DEACTIVATED = 1,
1: +};
1: +
1: +struct tcf_walker {
1: + int stop;
1: + int skip;
1: + int count;
1: + bool nonempty;
1: + long unsigned int cookie;
1: + int (*fn)(struct tcf_proto *, void *, struct tcf_walker *);
1: +};
1: +
1: +struct qdisc_skb_cb {
1: + struct {
1: + unsigned int pkt_len;
1: + u16 slave_dev_queue_mapping;
1: + u16 tc_classid;
1: + };
1: + unsigned char data[20];
1: +};
1: +
1: +struct udp_hslot;
1: +
1: +struct udp_table {
1: + struct udp_hslot *hash;
1: + struct udp_hslot *hash2;
1: + unsigned int mask;
1: + unsigned int log;
1: +};
1: +
1: +enum {
1: + IPV4_DEVCONF_FORWARDING = 1,
1: + IPV4_DEVCONF_MC_FORWARDING = 2,
1: + IPV4_DEVCONF_PROXY_ARP = 3,
1: + IPV4_DEVCONF_ACCEPT_REDIRECTS = 4,
1: + IPV4_DEVCONF_SECURE_REDIRECTS = 5,
1: + IPV4_DEVCONF_SEND_REDIRECTS = 6,
1: + IPV4_DEVCONF_SHARED_MEDIA = 7,
1: + IPV4_DEVCONF_RP_FILTER = 8,
1: + IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9,
1: + IPV4_DEVCONF_BOOTP_RELAY = 10,
1: + IPV4_DEVCONF_LOG_MARTIANS = 11,
1: + IPV4_DEVCONF_TAG = 12,
1: + IPV4_DEVCONF_ARPFILTER = 13,
1: + IPV4_DEVCONF_MEDIUM_ID = 14,
1: + IPV4_DEVCONF_NOXFRM = 15,
1: + IPV4_DEVCONF_NOPOLICY = 16,
1: + IPV4_DEVCONF_FORCE_IGMP_VERSION = 17,
1: + IPV4_DEVCONF_ARP_ANNOUNCE = 18,
1: + IPV4_DEVCONF_ARP_IGNORE = 19,
1: + IPV4_DEVCONF_PROMOTE_SECONDARIES = 20,
1: + IPV4_DEVCONF_ARP_ACCEPT = 21,
1: + IPV4_DEVCONF_ARP_NOTIFY = 22,
1: + IPV4_DEVCONF_ACCEPT_LOCAL = 23,
1: + IPV4_DEVCONF_SRC_VMARK = 24,
1: + IPV4_DEVCONF_PROXY_ARP_PVLAN = 25,
1: + IPV4_DEVCONF_ROUTE_LOCALNET = 26,
1: + IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27,
1: + IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28,
1: + IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29,
1: + IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30,
1: + IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31,
1: + IPV4_DEVCONF_BC_FORWARDING = 32,
1: + __IPV4_DEVCONF_MAX = 33,
1: +};
1: +
1: +struct udp_hslot {
1: + struct hlist_head head;
1: + int count;
1: + spinlock_t lock;
1: +};
1: +
1: +struct dev_kfree_skb_cb {
1: + enum skb_free_reason reason;
1: +};
1: +
1: +struct netdev_adjacent {
1: + struct net_device *dev;
1: + bool master;
1: + bool ignore;
1: + u16 ref_nr;
1: + void *private;
1: + struct list_head list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct ethtool_value {
1: + __u32 cmd;
1: + __u32 data;
1: +};
1: +
1: +enum tunable_id {
1: + ETHTOOL_ID_UNSPEC = 0,
1: + ETHTOOL_RX_COPYBREAK = 1,
1: + ETHTOOL_TX_COPYBREAK = 2,
1: + ETHTOOL_PFC_PREVENTION_TOUT = 3,
1: + __ETHTOOL_TUNABLE_COUNT = 4,
1: +};
1: +
1: +enum tunable_type_id {
1: + ETHTOOL_TUNABLE_UNSPEC = 0,
1: + ETHTOOL_TUNABLE_U8 = 1,
1: + ETHTOOL_TUNABLE_U16 = 2,
1: + ETHTOOL_TUNABLE_U32 = 3,
1: + ETHTOOL_TUNABLE_U64 = 4,
1: + ETHTOOL_TUNABLE_STRING = 5,
1: + ETHTOOL_TUNABLE_S8 = 6,
1: + ETHTOOL_TUNABLE_S16 = 7,
1: + ETHTOOL_TUNABLE_S32 = 8,
1: + ETHTOOL_TUNABLE_S64 = 9,
1: +};
1: +
1: +enum phy_tunable_id {
1: + ETHTOOL_PHY_ID_UNSPEC = 0,
1: + ETHTOOL_PHY_DOWNSHIFT = 1,
1: + ETHTOOL_PHY_FAST_LINK_DOWN = 2,
1: + ETHTOOL_PHY_EDPD = 3,
1: + __ETHTOOL_PHY_TUNABLE_COUNT = 4,
1: +};
1: +
1: +struct ethtool_gstrings {
1: + __u32 cmd;
1: + __u32 string_set;
1: + __u32 len;
1: + __u8 data[0];
1: +};
1: +
1: +struct ethtool_sset_info {
1: + __u32 cmd;
1: + __u32 reserved;
1: + __u64 sset_mask;
1: + __u32 data[0];
1: +};
1: +
1: +struct ethtool_perm_addr {
1: + __u32 cmd;
1: + __u32 size;
1: + __u8 data[0];
1: +};
1: +
1: +enum ethtool_flags {
1: + ETH_FLAG_TXVLAN = 128,
1: + ETH_FLAG_RXVLAN = 256,
1: + ETH_FLAG_LRO = 32768,
1: + ETH_FLAG_NTUPLE = 134217728,
1: + ETH_FLAG_RXHASH = 268435456,
1: +};
1: +
1: +struct ethtool_rxfh {
1: + __u32 cmd;
1: + __u32 rss_context;
1: + __u32 indir_size;
1: + __u32 key_size;
1: + __u8 hfunc;
1: + __u8 rsvd8[3];
1: + __u32 rsvd32;
1: + __u32 rss_config[0];
1: +};
1: +
1: +struct ethtool_get_features_block {
1: + __u32 available;
1: + __u32 requested;
1: + __u32 active;
1: + __u32 never_changed;
1: +};
1: +
1: +struct ethtool_gfeatures {
1: + __u32 cmd;
1: + __u32 size;
1: + struct ethtool_get_features_block features[0];
1: +};
1: +
1: +struct ethtool_set_features_block {
1: + __u32 valid;
1: + __u32 requested;
1: +};
1: +
1: +struct ethtool_sfeatures {
1: + __u32 cmd;
1: + __u32 size;
1: + struct ethtool_set_features_block features[0];
1: +};
1: +
1: +enum ethtool_sfeatures_retval_bits {
1: + ETHTOOL_F_UNSUPPORTED__BIT = 0,
1: + ETHTOOL_F_WISH__BIT = 1,
1: + ETHTOOL_F_COMPAT__BIT = 2,
1: +};
1: +
1: +struct ethtool_per_queue_op {
1: + __u32 cmd;
1: + __u32 sub_command;
1: + __u32 queue_mask[128];
1: + char data[0];
1: +};
1: +
1: +struct flow_rule;
1: +
1: +struct ethtool_rx_flow_rule {
1: + struct flow_rule *rule;
1: + long unsigned int priv[0];
1: +};
1: +
1: +struct flow_match {
1: + struct flow_dissector *dissector;
1: + void *mask;
1: + void *key;
1: +};
1: +
1: +enum flow_action_id {
1: + FLOW_ACTION_ACCEPT = 0,
1: + FLOW_ACTION_DROP = 1,
1: + FLOW_ACTION_TRAP = 2,
1: + FLOW_ACTION_GOTO = 3,
1: + FLOW_ACTION_REDIRECT = 4,
1: + FLOW_ACTION_MIRRED = 5,
1: + FLOW_ACTION_REDIRECT_INGRESS = 6,
1: + FLOW_ACTION_MIRRED_INGRESS = 7,
1: + FLOW_ACTION_VLAN_PUSH = 8,
1: + FLOW_ACTION_VLAN_POP = 9,
1: + FLOW_ACTION_VLAN_MANGLE = 10,
1: + FLOW_ACTION_TUNNEL_ENCAP = 11,
1: + FLOW_ACTION_TUNNEL_DECAP = 12,
1: + FLOW_ACTION_MANGLE = 13,
1: + FLOW_ACTION_ADD = 14,
1: + FLOW_ACTION_CSUM = 15,
1: + FLOW_ACTION_MARK = 16,
1: + FLOW_ACTION_PTYPE = 17,
1: + FLOW_ACTION_WAKE = 18,
1: + FLOW_ACTION_QUEUE = 19,
1: + FLOW_ACTION_SAMPLE = 20,
1: + FLOW_ACTION_POLICE = 21,
1: + FLOW_ACTION_CT = 22,
1: + FLOW_ACTION_MPLS_PUSH = 23,
1: + FLOW_ACTION_MPLS_POP = 24,
1: + FLOW_ACTION_MPLS_MANGLE = 25,
1: + NUM_FLOW_ACTIONS = 26,
1: +};
1: +
1: +typedef void (*action_destr)(void *);
1: +
1: +enum flow_action_mangle_base {
1: + FLOW_ACT_MANGLE_UNSPEC = 0,
1: + FLOW_ACT_MANGLE_HDR_TYPE_ETH = 1,
1: + FLOW_ACT_MANGLE_HDR_TYPE_IP4 = 2,
1: + FLOW_ACT_MANGLE_HDR_TYPE_IP6 = 3,
1: + FLOW_ACT_MANGLE_HDR_TYPE_TCP = 4,
1: + FLOW_ACT_MANGLE_HDR_TYPE_UDP = 5,
1: +};
1: +
1: +struct psample_group;
1: +
1: +struct flow_action_entry {
1: + enum flow_action_id id;
1: + action_destr destructor;
1: + void *destructor_priv;
1: + union {
1: + u32 chain_index;
1: + struct net_device *dev;
1: + struct {
1: + u16 vid;
1: + __be16 proto;
1: + u8 prio;
1: + } vlan;
1: + struct {
1: + enum flow_action_mangle_base htype;
1: + u32 offset;
1: + u32 mask;
1: + u32 val;
1: + } mangle;
1: + struct ip_tunnel_info *tunnel;
1: + u32 csum_flags;
1: + u32 mark;
1: + u16 ptype;
1: + struct {
1: + u32 ctx;
1: + u32 index;
1: + u8 vf;
1: + } queue;
1: + struct {
1: + struct psample_group *psample_group;
1: + u32 rate;
1: + u32 trunc_size;
1: + bool truncate;
1: + } sample;
1: + struct {
1: + s64 burst;
1: + u64 rate_bytes_ps;
1: + } police;
1: + struct {
1: + int action;
1: + u16 zone;
1: + } ct;
1: + struct {
1: + u32 label;
1: + __be16 proto;
1: + u8 tc;
1: + u8 bos;
1: + u8 ttl;
1: + } mpls_push;
1: + struct {
1: + __be16 proto;
1: + } mpls_pop;
1: + struct {
1: + u32 label;
1: + u8 tc;
1: + u8 bos;
1: + u8 ttl;
1: + } mpls_mangle;
1: + };
1: +};
1: +
1: +struct flow_action {
1: + unsigned int num_entries;
1: + struct flow_action_entry entries[0];
1: +};
1: +
1: +struct flow_rule {
1: + struct flow_match match;
1: + struct flow_action action;
1: +};
1: +
1: +struct ethtool_rx_flow_spec_input {
1: + const struct ethtool_rx_flow_spec *fs;
1: + u32 rss_ctx;
1: +};
1: +
1: +struct xsk_queue;
1: +
1: +struct xdp_umem_page;
1: +
1: +struct xdp_umem_fq_reuse;
1: +
1: +struct xdp_umem {
1: + struct xsk_queue *fq;
1: + struct xsk_queue *cq;
1: + struct xdp_umem_page *pages;
1: + u64 chunk_mask;
1: + u64 size;
1: + u32 headroom;
1: + u32 chunk_size_nohr;
1: + struct user_struct *user;
1: + long unsigned int address;
1: + refcount_t users;
1: + struct work_struct work;
1: + struct page **pgs;
1: + u32 npgs;
1: + u16 queue_id;
1: + u8 need_wakeup;
1: + u8 flags;
1: + int id;
1: + struct net_device *dev;
1: + struct xdp_umem_fq_reuse *fq_reuse;
1: + bool zc;
1: + spinlock_t xsk_list_lock;
1: + struct list_head xsk_list;
1: +};
1: +
1: +struct xdp_umem_page {
1: + void *addr;
1: + dma_addr_t dma;
1: +};
1: +
1: +struct xdp_umem_fq_reuse {
1: + u32 nentries;
1: + u32 length;
1: + u64 handles[0];
1: +};
1: +
1: +struct ethtool_link_usettings {
1: + struct ethtool_link_settings base;
1: + struct {
1: + __u32 supported[3];
1: + __u32 advertising[3];
1: + __u32 lp_advertising[3];
1: + } link_modes;
1: +};
1: +
1: +struct ethtool_rx_flow_key {
1: + struct flow_dissector_key_basic basic;
1: + union {
1: + struct flow_dissector_key_ipv4_addrs ipv4;
1: + struct flow_dissector_key_ipv6_addrs ipv6;
1: + };
1: + struct flow_dissector_key_ports tp;
1: + struct flow_dissector_key_ip ip;
1: + struct flow_dissector_key_vlan vlan;
1: + struct flow_dissector_key_eth_addrs eth_addrs;
1: + long: 48;
1: +};
1: +
1: +struct ethtool_rx_flow_match {
1: + struct flow_dissector dissector;
1: + int: 32;
1: + struct ethtool_rx_flow_key key;
1: + struct ethtool_rx_flow_key mask;
1: +};
1: +
1: +struct xfrm_dst {
1: + union {
1: + struct dst_entry dst;
1: + struct rtable rt;
1: + struct rt6_info rt6;
1: + } u;
1: + struct dst_entry *route;
1: + struct dst_entry *child;
1: + struct dst_entry *path;
1: + struct xfrm_policy *pols[2];
1: + int num_pols;
1: + int num_xfrms;
1: + u32 xfrm_genid;
1: + u32 policy_genid;
1: + u32 route_mtu_cached;
1: + u32 child_mtu_cached;
1: + u32 route_cookie;
1: + u32 path_cookie;
1: +};
1: +
1: +enum {
1: + NDA_UNSPEC = 0,
1: + NDA_DST = 1,
1: + NDA_LLADDR = 2,
1: + NDA_CACHEINFO = 3,
1: + NDA_PROBES = 4,
1: + NDA_VLAN = 5,
1: + NDA_PORT = 6,
1: + NDA_VNI = 7,
1: + NDA_IFINDEX = 8,
1: + NDA_MASTER = 9,
1: + NDA_LINK_NETNSID = 10,
1: + NDA_SRC_VNI = 11,
1: + NDA_PROTOCOL = 12,
1: + __NDA_MAX = 13,
1: +};
1: +
1: +struct nda_cacheinfo {
1: + __u32 ndm_confirmed;
1: + __u32 ndm_used;
1: + __u32 ndm_updated;
1: + __u32 ndm_refcnt;
1: +};
1: +
1: +struct ndt_stats {
1: + __u64 ndts_allocs;
1: + __u64 ndts_destroys;
1: + __u64 ndts_hash_grows;
1: + __u64 ndts_res_failed;
1: + __u64 ndts_lookups;
1: + __u64 ndts_hits;
1: + __u64 ndts_rcv_probes_mcast;
1: + __u64 ndts_rcv_probes_ucast;
1: + __u64 ndts_periodic_gc_runs;
1: + __u64 ndts_forced_gc_runs;
1: + __u64 ndts_table_fulls;
1: +};
1: +
1: +enum {
1: + NDTPA_UNSPEC = 0,
1: + NDTPA_IFINDEX = 1,
1: + NDTPA_REFCNT = 2,
1: + NDTPA_REACHABLE_TIME = 3,
1: + NDTPA_BASE_REACHABLE_TIME = 4,
1: + NDTPA_RETRANS_TIME = 5,
1: + NDTPA_GC_STALETIME = 6,
1: + NDTPA_DELAY_PROBE_TIME = 7,
1: + NDTPA_QUEUE_LEN = 8,
1: + NDTPA_APP_PROBES = 9,
1: + NDTPA_UCAST_PROBES = 10,
1: + NDTPA_MCAST_PROBES = 11,
1: + NDTPA_ANYCAST_DELAY = 12,
1: + NDTPA_PROXY_DELAY = 13,
1: + NDTPA_PROXY_QLEN = 14,
1: + NDTPA_LOCKTIME = 15,
1: + NDTPA_QUEUE_LENBYTES = 16,
1: + NDTPA_MCAST_REPROBES = 17,
1: + NDTPA_PAD = 18,
1: + __NDTPA_MAX = 19,
1: +};
1: +
1: +struct ndtmsg {
1: + __u8 ndtm_family;
1: + __u8 ndtm_pad1;
1: + __u16 ndtm_pad2;
1: +};
1: +
1: +struct ndt_config {
1: + __u16 ndtc_key_len;
1: + __u16 ndtc_entry_size;
1: + __u32 ndtc_entries;
1: + __u32 ndtc_last_flush;
1: + __u32 ndtc_last_rand;
1: + __u32 ndtc_hash_rnd;
1: + __u32 ndtc_hash_mask;
1: + __u32 ndtc_hash_chain_gc;
1: + __u32 ndtc_proxy_qlen;
1: +};
1: +
1: +enum {
1: + NDTA_UNSPEC = 0,
1: + NDTA_NAME = 1,
1: + NDTA_THRESH1 = 2,
1: + NDTA_THRESH2 = 3,
1: + NDTA_THRESH3 = 4,
1: + NDTA_CONFIG = 5,
1: + NDTA_PARMS = 6,
1: + NDTA_STATS = 7,
1: + NDTA_GC_INTERVAL = 8,
1: + NDTA_PAD = 9,
1: + __NDTA_MAX = 10,
1: +};
1: +
1: +enum {
1: + RTN_UNSPEC = 0,
1: + RTN_UNICAST = 1,
1: + RTN_LOCAL = 2,
1: + RTN_BROADCAST = 3,
1: + RTN_ANYCAST = 4,
1: + RTN_MULTICAST = 5,
1: + RTN_BLACKHOLE = 6,
1: + RTN_UNREACHABLE = 7,
1: + RTN_PROHIBIT = 8,
1: + RTN_THROW = 9,
1: + RTN_NAT = 10,
1: + RTN_XRESOLVE = 11,
1: + __RTN_MAX = 12,
1: +};
1: +
1: +enum {
1: + NEIGH_ARP_TABLE = 0,
1: + NEIGH_ND_TABLE = 1,
1: + NEIGH_DN_TABLE = 2,
1: + NEIGH_NR_TABLES = 3,
1: + NEIGH_LINK_TABLE = 3,
1: +};
1: +
1: +struct neigh_seq_state {
1: + struct seq_net_private p;
1: + struct neigh_table *tbl;
1: + struct neigh_hash_table *nht;
1: + void * (*neigh_sub_iter)(struct neigh_seq_state *, struct neighbour *, loff_t *);
1: + unsigned int bucket;
1: + unsigned int flags;
1: +};
1: +
1: +struct neighbour_cb {
1: + long unsigned int sched_next;
1: + unsigned int flags;
1: +};
1: +
1: +enum netevent_notif_type {
1: + NETEVENT_NEIGH_UPDATE = 1,
1: + NETEVENT_REDIRECT = 2,
1: + NETEVENT_DELAY_PROBE_TIME_UPDATE = 3,
1: + NETEVENT_IPV4_MPATH_HASH_UPDATE = 4,
1: + NETEVENT_IPV6_MPATH_HASH_UPDATE = 5,
1: + NETEVENT_IPV4_FWD_UPDATE_PRIORITY_UPDATE = 6,
1: +};
1: +
1: +struct neigh_dump_filter {
1: + int master_idx;
1: + int dev_idx;
1: +};
1: +
1: +struct neigh_sysctl_table {
1: + struct ctl_table_header *sysctl_header;
1: + struct ctl_table neigh_vars[21];
1: +};
1: +
1: +struct netlink_dump_control {
1: + int (*start)(struct netlink_callback *);
1: + int (*dump)(struct sk_buff *, struct netlink_callback *);
1: + int (*done)(struct netlink_callback *);
1: + void *data;
1: + struct module *module;
1: + u16 min_dump_alloc;
1: +};
1: +
1: +struct rtnl_link_stats {
1: + __u32 rx_packets;
1: + __u32 tx_packets;
1: + __u32 rx_bytes;
1: + __u32 tx_bytes;
1: + __u32 rx_errors;
1: + __u32 tx_errors;
1: + __u32 rx_dropped;
1: + __u32 tx_dropped;
1: + __u32 multicast;
1: + __u32 collisions;
1: + __u32 rx_length_errors;
1: + __u32 rx_over_errors;
1: + __u32 rx_crc_errors;
1: + __u32 rx_frame_errors;
1: + __u32 rx_fifo_errors;
1: + __u32 rx_missed_errors;
1: + __u32 tx_aborted_errors;
1: + __u32 tx_carrier_errors;
1: + __u32 tx_fifo_errors;
1: + __u32 tx_heartbeat_errors;
1: + __u32 tx_window_errors;
1: + __u32 rx_compressed;
1: + __u32 tx_compressed;
1: + __u32 rx_nohandler;
1: +};
1: +
1: +struct rtnl_link_ifmap {
1: + __u64 mem_start;
1: + __u64 mem_end;
1: + __u64 base_addr;
1: + __u16 irq;
1: + __u8 dma;
1: + __u8 port;
1: +};
1: +
1: +enum {
1: + IFLA_UNSPEC = 0,
1: + IFLA_ADDRESS = 1,
1: + IFLA_BROADCAST = 2,
1: + IFLA_IFNAME = 3,
1: + IFLA_MTU = 4,
1: + IFLA_LINK = 5,
1: + IFLA_QDISC = 6,
1: + IFLA_STATS = 7,
1: + IFLA_COST = 8,
1: + IFLA_PRIORITY = 9,
1: + IFLA_MASTER = 10,
1: + IFLA_WIRELESS = 11,
1: + IFLA_PROTINFO = 12,
1: + IFLA_TXQLEN = 13,
1: + IFLA_MAP = 14,
1: + IFLA_WEIGHT = 15,
1: + IFLA_OPERSTATE = 16,
1: + IFLA_LINKMODE = 17,
1: + IFLA_LINKINFO = 18,
1: + IFLA_NET_NS_PID = 19,
1: + IFLA_IFALIAS = 20,
1: + IFLA_NUM_VF = 21,
1: + IFLA_VFINFO_LIST = 22,
1: + IFLA_STATS64 = 23,
1: + IFLA_VF_PORTS = 24,
1: + IFLA_PORT_SELF = 25,
1: + IFLA_AF_SPEC = 26,
1: + IFLA_GROUP = 27,
1: + IFLA_NET_NS_FD = 28,
1: + IFLA_EXT_MASK = 29,
1: + IFLA_PROMISCUITY = 30,
1: + IFLA_NUM_TX_QUEUES = 31,
1: + IFLA_NUM_RX_QUEUES = 32,
1: + IFLA_CARRIER = 33,
1: + IFLA_PHYS_PORT_ID = 34,
1: + IFLA_CARRIER_CHANGES = 35,
1: + IFLA_PHYS_SWITCH_ID = 36,
1: + IFLA_LINK_NETNSID = 37,
1: + IFLA_PHYS_PORT_NAME = 38,
1: + IFLA_PROTO_DOWN = 39,
1: + IFLA_GSO_MAX_SEGS = 40,
1: + IFLA_GSO_MAX_SIZE = 41,
1: + IFLA_PAD = 42,
1: + IFLA_XDP = 43,
1: + IFLA_EVENT = 44,
1: + IFLA_NEW_NETNSID = 45,
1: + IFLA_IF_NETNSID = 46,
1: + IFLA_TARGET_NETNSID = 46,
1: + IFLA_CARRIER_UP_COUNT = 47,
1: + IFLA_CARRIER_DOWN_COUNT = 48,
1: + IFLA_NEW_IFINDEX = 49,
1: + IFLA_MIN_MTU = 50,
1: + IFLA_MAX_MTU = 51,
1: + IFLA_PROP_LIST = 52,
1: + IFLA_ALT_IFNAME = 53,
1: + __IFLA_MAX = 54,
1: +};
1: +
1: +enum {
1: + IFLA_BRPORT_UNSPEC = 0,
1: + IFLA_BRPORT_STATE = 1,
1: + IFLA_BRPORT_PRIORITY = 2,
1: + IFLA_BRPORT_COST = 3,
1: + IFLA_BRPORT_MODE = 4,
1: + IFLA_BRPORT_GUARD = 5,
1: + IFLA_BRPORT_PROTECT = 6,
1: + IFLA_BRPORT_FAST_LEAVE = 7,
1: + IFLA_BRPORT_LEARNING = 8,
1: + IFLA_BRPORT_UNICAST_FLOOD = 9,
1: + IFLA_BRPORT_PROXYARP = 10,
1: + IFLA_BRPORT_LEARNING_SYNC = 11,
1: + IFLA_BRPORT_PROXYARP_WIFI = 12,
1: + IFLA_BRPORT_ROOT_ID = 13,
1: + IFLA_BRPORT_BRIDGE_ID = 14,
1: + IFLA_BRPORT_DESIGNATED_PORT = 15,
1: + IFLA_BRPORT_DESIGNATED_COST = 16,
1: + IFLA_BRPORT_ID = 17,
1: + IFLA_BRPORT_NO = 18,
1: + IFLA_BRPORT_TOPOLOGY_CHANGE_ACK = 19,
1: + IFLA_BRPORT_CONFIG_PENDING = 20,
1: + IFLA_BRPORT_MESSAGE_AGE_TIMER = 21,
1: + IFLA_BRPORT_FORWARD_DELAY_TIMER = 22,
1: + IFLA_BRPORT_HOLD_TIMER = 23,
1: + IFLA_BRPORT_FLUSH = 24,
1: + IFLA_BRPORT_MULTICAST_ROUTER = 25,
1: + IFLA_BRPORT_PAD = 26,
1: + IFLA_BRPORT_MCAST_FLOOD = 27,
1: + IFLA_BRPORT_MCAST_TO_UCAST = 28,
1: + IFLA_BRPORT_VLAN_TUNNEL = 29,
1: + IFLA_BRPORT_BCAST_FLOOD = 30,
1: + IFLA_BRPORT_GROUP_FWD_MASK = 31,
1: + IFLA_BRPORT_NEIGH_SUPPRESS = 32,
1: + IFLA_BRPORT_ISOLATED = 33,
1: + IFLA_BRPORT_BACKUP_PORT = 34,
1: + __IFLA_BRPORT_MAX = 35,
1: +};
1: +
1: +enum {
1: + IFLA_INFO_UNSPEC = 0,
1: + IFLA_INFO_KIND = 1,
1: + IFLA_INFO_DATA = 2,
1: + IFLA_INFO_XSTATS = 3,
1: + IFLA_INFO_SLAVE_KIND = 4,
1: + IFLA_INFO_SLAVE_DATA = 5,
1: + __IFLA_INFO_MAX = 6,
1: +};
1: +
1: +enum {
1: + IFLA_VF_INFO_UNSPEC = 0,
1: + IFLA_VF_INFO = 1,
1: + __IFLA_VF_INFO_MAX = 2,
1: +};
1: +
1: +enum {
1: + IFLA_VF_UNSPEC = 0,
1: + IFLA_VF_MAC = 1,
1: + IFLA_VF_VLAN = 2,
1: + IFLA_VF_TX_RATE = 3,
1: + IFLA_VF_SPOOFCHK = 4,
1: + IFLA_VF_LINK_STATE = 5,
1: + IFLA_VF_RATE = 6,
1: + IFLA_VF_RSS_QUERY_EN = 7,
1: + IFLA_VF_STATS = 8,
1: + IFLA_VF_TRUST = 9,
1: + IFLA_VF_IB_NODE_GUID = 10,
1: + IFLA_VF_IB_PORT_GUID = 11,
1: + IFLA_VF_VLAN_LIST = 12,
1: + IFLA_VF_BROADCAST = 13,
1: + __IFLA_VF_MAX = 14,
1: +};
1: +
1: +struct ifla_vf_mac {
1: + __u32 vf;
1: + __u8 mac[32];
1: +};
1: +
1: +struct ifla_vf_broadcast {
1: + __u8 broadcast[32];
1: +};
1: +
1: +struct ifla_vf_vlan {
1: + __u32 vf;
1: + __u32 vlan;
1: + __u32 qos;
1: +};
1: +
1: +enum {
1: + IFLA_VF_VLAN_INFO_UNSPEC = 0,
1: + IFLA_VF_VLAN_INFO = 1,
1: + __IFLA_VF_VLAN_INFO_MAX = 2,
1: +};
1: +
1: +struct ifla_vf_vlan_info {
1: + __u32 vf;
1: + __u32 vlan;
1: + __u32 qos;
1: + __be16 vlan_proto;
1: +};
1: +
1: +struct ifla_vf_tx_rate {
1: + __u32 vf;
1: + __u32 rate;
1: +};
1: +
1: +struct ifla_vf_rate {
1: + __u32 vf;
1: + __u32 min_tx_rate;
1: + __u32 max_tx_rate;
1: +};
1: +
1: +struct ifla_vf_spoofchk {
1: + __u32 vf;
1: + __u32 setting;
1: +};
1: +
1: +struct ifla_vf_link_state {
1: + __u32 vf;
1: + __u32 link_state;
1: +};
1: +
1: +struct ifla_vf_rss_query_en {
1: + __u32 vf;
1: + __u32 setting;
1: +};
1: +
1: +enum {
1: + IFLA_VF_STATS_RX_PACKETS = 0,
1: + IFLA_VF_STATS_TX_PACKETS = 1,
1: + IFLA_VF_STATS_RX_BYTES = 2,
1: + IFLA_VF_STATS_TX_BYTES = 3,
1: + IFLA_VF_STATS_BROADCAST = 4,
1: + IFLA_VF_STATS_MULTICAST = 5,
1: + IFLA_VF_STATS_PAD = 6,
1: + IFLA_VF_STATS_RX_DROPPED = 7,
1: + IFLA_VF_STATS_TX_DROPPED = 8,
1: + __IFLA_VF_STATS_MAX = 9,
1: +};
1: +
1: +struct ifla_vf_trust {
1: + __u32 vf;
1: + __u32 setting;
1: +};
1: +
1: +enum {
1: + IFLA_VF_PORT_UNSPEC = 0,
1: + IFLA_VF_PORT = 1,
1: + __IFLA_VF_PORT_MAX = 2,
1: +};
1: +
1: +enum {
1: + IFLA_PORT_UNSPEC = 0,
1: + IFLA_PORT_VF = 1,
1: + IFLA_PORT_PROFILE = 2,
1: + IFLA_PORT_VSI_TYPE = 3,
1: + IFLA_PORT_INSTANCE_UUID = 4,
1: + IFLA_PORT_HOST_UUID = 5,
1: + IFLA_PORT_REQUEST = 6,
1: + IFLA_PORT_RESPONSE = 7,
1: + __IFLA_PORT_MAX = 8,
1: +};
1: +
1: +struct if_stats_msg {
1: + __u8 family;
1: + __u8 pad1;
1: + __u16 pad2;
1: + __u32 ifindex;
1: + __u32 filter_mask;
1: +};
1: +
1: +enum {
1: + IFLA_STATS_UNSPEC = 0,
1: + IFLA_STATS_LINK_64 = 1,
1: + IFLA_STATS_LINK_XSTATS = 2,
1: + IFLA_STATS_LINK_XSTATS_SLAVE = 3,
1: + IFLA_STATS_LINK_OFFLOAD_XSTATS = 4,
1: + IFLA_STATS_AF_SPEC = 5,
1: + __IFLA_STATS_MAX = 6,
1: +};
1: +
1: +enum {
1: + IFLA_OFFLOAD_XSTATS_UNSPEC = 0,
1: + IFLA_OFFLOAD_XSTATS_CPU_HIT = 1,
1: + __IFLA_OFFLOAD_XSTATS_MAX = 2,
1: +};
1: +
1: +enum {
1: + XDP_ATTACHED_NONE = 0,
1: + XDP_ATTACHED_DRV = 1,
1: + XDP_ATTACHED_SKB = 2,
1: + XDP_ATTACHED_HW = 3,
1: + XDP_ATTACHED_MULTI = 4,
1: +};
1: +
1: +enum {
1: + IFLA_XDP_UNSPEC = 0,
1: + IFLA_XDP_FD = 1,
1: + IFLA_XDP_ATTACHED = 2,
1: + IFLA_XDP_FLAGS = 3,
1: + IFLA_XDP_PROG_ID = 4,
1: + IFLA_XDP_DRV_PROG_ID = 5,
1: + IFLA_XDP_SKB_PROG_ID = 6,
1: + IFLA_XDP_HW_PROG_ID = 7,
1: + __IFLA_XDP_MAX = 8,
1: +};
1: +
1: +enum {
1: + IFLA_EVENT_NONE = 0,
1: + IFLA_EVENT_REBOOT = 1,
1: + IFLA_EVENT_FEATURES = 2,
1: + IFLA_EVENT_BONDING_FAILOVER = 3,
1: + IFLA_EVENT_NOTIFY_PEERS = 4,
1: + IFLA_EVENT_IGMP_RESEND = 5,
1: + IFLA_EVENT_BONDING_OPTIONS = 6,
1: +};
1: +
1: +enum {
1: + IFLA_BRIDGE_FLAGS = 0,
1: + IFLA_BRIDGE_MODE = 1,
1: + IFLA_BRIDGE_VLAN_INFO = 2,
1: + IFLA_BRIDGE_VLAN_TUNNEL_INFO = 3,
1: + __IFLA_BRIDGE_MAX = 4,
1: +};
1: +
1: +enum {
1: + BR_MCAST_DIR_RX = 0,
1: + BR_MCAST_DIR_TX = 1,
1: + BR_MCAST_DIR_SIZE = 2,
1: +};
1: +
1: +enum rtattr_type_t {
1: + RTA_UNSPEC = 0,
1: + RTA_DST = 1,
1: + RTA_SRC = 2,
1: + RTA_IIF = 3,
1: + RTA_OIF = 4,
1: + RTA_GATEWAY = 5,
1: + RTA_PRIORITY = 6,
1: + RTA_PREFSRC = 7,
1: + RTA_METRICS = 8,
1: + RTA_MULTIPATH = 9,
1: + RTA_PROTOINFO = 10,
1: + RTA_FLOW = 11,
1: + RTA_CACHEINFO = 12,
1: + RTA_SESSION = 13,
1: + RTA_MP_ALGO = 14,
1: + RTA_TABLE = 15,
1: + RTA_MARK = 16,
1: + RTA_MFC_STATS = 17,
1: + RTA_VIA = 18,
1: + RTA_NEWDST = 19,
1: + RTA_PREF = 20,
1: + RTA_ENCAP_TYPE = 21,
1: + RTA_ENCAP = 22,
1: + RTA_EXPIRES = 23,
1: + RTA_PAD = 24,
1: + RTA_UID = 25,
1: + RTA_TTL_PROPAGATE = 26,
1: + RTA_IP_PROTO = 27,
1: + RTA_SPORT = 28,
1: + RTA_DPORT = 29,
1: + RTA_NH_ID = 30,
1: + __RTA_MAX = 31,
1: +};
1: +
1: +struct rta_cacheinfo {
1: + __u32 rta_clntref;
1: + __u32 rta_lastuse;
1: + __s32 rta_expires;
1: + __u32 rta_error;
1: + __u32 rta_used;
1: + __u32 rta_id;
1: + __u32 rta_ts;
1: + __u32 rta_tsage;
1: +};
1: +
1: +struct ifinfomsg {
1: + unsigned char ifi_family;
1: + unsigned char __ifi_pad;
1: + short unsigned int ifi_type;
1: + int ifi_index;
1: + unsigned int ifi_flags;
1: + unsigned int ifi_change;
1: +};
1: +
1: +struct rtnl_af_ops {
1: + struct list_head list;
1: + int family;
1: + int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32);
1: + size_t (*get_link_af_size)(const struct net_device *, u32);
1: + int (*validate_link_af)(const struct net_device *, const struct nlattr *);
1: + int (*set_link_af)(struct net_device *, const struct nlattr *);
1: + int (*fill_stats_af)(struct sk_buff *, const struct net_device *);
1: + size_t (*get_stats_af_size)(const struct net_device *);
1: +};
1: +
1: +struct rtnl_link {
1: + rtnl_doit_func doit;
1: + rtnl_dumpit_func dumpit;
1: + struct module *owner;
1: + unsigned int flags;
1: + struct callback_head rcu;
1: +};
1: +
1: +enum {
1: + IF_LINK_MODE_DEFAULT = 0,
1: + IF_LINK_MODE_DORMANT = 1,
1: +};
1: +
1: +enum lw_bits {
1: + LW_URGENT = 0,
1: +};
1: +
1: +struct seg6_pernet_data {
1: + struct mutex lock;
1: + struct in6_addr *tun_src;
1: +};
1: +
1: +enum bpf_func_id {
1: + BPF_FUNC_unspec = 0,
1: + BPF_FUNC_map_lookup_elem = 1,
1: + BPF_FUNC_map_update_elem = 2,
1: + BPF_FUNC_map_delete_elem = 3,
1: + BPF_FUNC_probe_read = 4,
1: + BPF_FUNC_ktime_get_ns = 5,
1: + BPF_FUNC_trace_printk = 6,
1: + BPF_FUNC_get_prandom_u32 = 7,
1: + BPF_FUNC_get_smp_processor_id = 8,
1: + BPF_FUNC_skb_store_bytes = 9,
1: + BPF_FUNC_l3_csum_replace = 10,
1: + BPF_FUNC_l4_csum_replace = 11,
1: + BPF_FUNC_tail_call = 12,
1: + BPF_FUNC_clone_redirect = 13,
1: + BPF_FUNC_get_current_pid_tgid = 14,
1: + BPF_FUNC_get_current_uid_gid = 15,
1: + BPF_FUNC_get_current_comm = 16,
1: + BPF_FUNC_get_cgroup_classid = 17,
1: + BPF_FUNC_skb_vlan_push = 18,
1: + BPF_FUNC_skb_vlan_pop = 19,
1: + BPF_FUNC_skb_get_tunnel_key = 20,
1: + BPF_FUNC_skb_set_tunnel_key = 21,
1: + BPF_FUNC_perf_event_read = 22,
1: + BPF_FUNC_redirect = 23,
1: + BPF_FUNC_get_route_realm = 24,
1: + BPF_FUNC_perf_event_output = 25,
1: + BPF_FUNC_skb_load_bytes = 26,
1: + BPF_FUNC_get_stackid = 27,
1: + BPF_FUNC_csum_diff = 28,
1: + BPF_FUNC_skb_get_tunnel_opt = 29,
1: + BPF_FUNC_skb_set_tunnel_opt = 30,
1: + BPF_FUNC_skb_change_proto = 31,
1: + BPF_FUNC_skb_change_type = 32,
1: + BPF_FUNC_skb_under_cgroup = 33,
1: + BPF_FUNC_get_hash_recalc = 34,
1: + BPF_FUNC_get_current_task = 35,
1: + BPF_FUNC_probe_write_user = 36,
1: + BPF_FUNC_current_task_under_cgroup = 37,
1: + BPF_FUNC_skb_change_tail = 38,
1: + BPF_FUNC_skb_pull_data = 39,
1: + BPF_FUNC_csum_update = 40,
1: + BPF_FUNC_set_hash_invalid = 41,
1: + BPF_FUNC_get_numa_node_id = 42,
1: + BPF_FUNC_skb_change_head = 43,
1: + BPF_FUNC_xdp_adjust_head = 44,
1: + BPF_FUNC_probe_read_str = 45,
1: + BPF_FUNC_get_socket_cookie = 46,
1: + BPF_FUNC_get_socket_uid = 47,
1: + BPF_FUNC_set_hash = 48,
1: + BPF_FUNC_setsockopt = 49,
1: + BPF_FUNC_skb_adjust_room = 50,
1: + BPF_FUNC_redirect_map = 51,
1: + BPF_FUNC_sk_redirect_map = 52,
1: + BPF_FUNC_sock_map_update = 53,
1: + BPF_FUNC_xdp_adjust_meta = 54,
1: + BPF_FUNC_perf_event_read_value = 55,
1: + BPF_FUNC_perf_prog_read_value = 56,
1: + BPF_FUNC_getsockopt = 57,
1: + BPF_FUNC_override_return = 58,
1: + BPF_FUNC_sock_ops_cb_flags_set = 59,
1: + BPF_FUNC_msg_redirect_map = 60,
1: + BPF_FUNC_msg_apply_bytes = 61,
1: + BPF_FUNC_msg_cork_bytes = 62,
1: + BPF_FUNC_msg_pull_data = 63,
1: + BPF_FUNC_bind = 64,
1: + BPF_FUNC_xdp_adjust_tail = 65,
1: + BPF_FUNC_skb_get_xfrm_state = 66,
1: + BPF_FUNC_get_stack = 67,
1: + BPF_FUNC_skb_load_bytes_relative = 68,
1: + BPF_FUNC_fib_lookup = 69,
1: + BPF_FUNC_sock_hash_update = 70,
1: + BPF_FUNC_msg_redirect_hash = 71,
1: + BPF_FUNC_sk_redirect_hash = 72,
1: + BPF_FUNC_lwt_push_encap = 73,
1: + BPF_FUNC_lwt_seg6_store_bytes = 74,
1: + BPF_FUNC_lwt_seg6_adjust_srh = 75,
1: + BPF_FUNC_lwt_seg6_action = 76,
1: + BPF_FUNC_rc_repeat = 77,
1: + BPF_FUNC_rc_keydown = 78,
1: + BPF_FUNC_skb_cgroup_id = 79,
1: + BPF_FUNC_get_current_cgroup_id = 80,
1: + BPF_FUNC_get_local_storage = 81,
1: + BPF_FUNC_sk_select_reuseport = 82,
1: + BPF_FUNC_skb_ancestor_cgroup_id = 83,
1: + BPF_FUNC_sk_lookup_tcp = 84,
1: + BPF_FUNC_sk_lookup_udp = 85,
1: + BPF_FUNC_sk_release = 86,
1: + BPF_FUNC_map_push_elem = 87,
1: + BPF_FUNC_map_pop_elem = 88,
1: + BPF_FUNC_map_peek_elem = 89,
1: + BPF_FUNC_msg_push_data = 90,
1: + BPF_FUNC_msg_pop_data = 91,
1: + BPF_FUNC_rc_pointer_rel = 92,
1: + BPF_FUNC_spin_lock = 93,
1: + BPF_FUNC_spin_unlock = 94,
1: + BPF_FUNC_sk_fullsock = 95,
1: + BPF_FUNC_tcp_sock = 96,
1: + BPF_FUNC_skb_ecn_set_ce = 97,
1: + BPF_FUNC_get_listener_sock = 98,
1: + BPF_FUNC_skc_lookup_tcp = 99,
1: + BPF_FUNC_tcp_check_syncookie = 100,
1: + BPF_FUNC_sysctl_get_name = 101,
1: + BPF_FUNC_sysctl_get_current_value = 102,
1: + BPF_FUNC_sysctl_get_new_value = 103,
1: + BPF_FUNC_sysctl_set_new_value = 104,
1: + BPF_FUNC_strtol = 105,
1: + BPF_FUNC_strtoul = 106,
1: + BPF_FUNC_sk_storage_get = 107,
1: + BPF_FUNC_sk_storage_delete = 108,
1: + BPF_FUNC_send_signal = 109,
1: + BPF_FUNC_tcp_gen_syncookie = 110,
1: + BPF_FUNC_skb_output = 111,
1: + BPF_FUNC_probe_read_user = 112,
1: + BPF_FUNC_probe_read_kernel = 113,
1: + BPF_FUNC_probe_read_user_str = 114,
1: + BPF_FUNC_probe_read_kernel_str = 115,
1: + __BPF_FUNC_MAX_ID = 116,
1: +};
1: +
1: +enum bpf_adj_room_mode {
1: + BPF_ADJ_ROOM_NET = 0,
1: + BPF_ADJ_ROOM_MAC = 1,
1: +};
1: +
1: +enum bpf_hdr_start_off {
1: + BPF_HDR_START_MAC = 0,
1: + BPF_HDR_START_NET = 1,
1: +};
1: +
1: +struct bpf_sock {
1: + __u32 bound_dev_if;
1: + __u32 family;
1: + __u32 type;
1: + __u32 protocol;
1: + __u32 mark;
1: + __u32 priority;
1: + __u32 src_ip4;
1: + __u32 src_ip6[4];
1: + __u32 src_port;
1: + __u32 dst_port;
1: + __u32 dst_ip4;
1: + __u32 dst_ip6[4];
1: + __u32 state;
1: +};
1: +
1: +struct __sk_buff {
1: + __u32 len;
1: + __u32 pkt_type;
1: + __u32 mark;
1: + __u32 queue_mapping;
1: + __u32 protocol;
1: + __u32 vlan_present;
1: + __u32 vlan_tci;
1: + __u32 vlan_proto;
1: + __u32 priority;
1: + __u32 ingress_ifindex;
1: + __u32 ifindex;
1: + __u32 tc_index;
1: + __u32 cb[5];
1: + __u32 hash;
1: + __u32 tc_classid;
1: + __u32 data;
1: + __u32 data_end;
1: + __u32 napi_id;
1: + __u32 family;
1: + __u32 remote_ip4;
1: + __u32 local_ip4;
1: + __u32 remote_ip6[4];
1: + __u32 local_ip6[4];
1: + __u32 remote_port;
1: + __u32 local_port;
1: + __u32 data_meta;
1: + union {
1: + struct bpf_flow_keys *flow_keys;
1: + };
1: + __u64 tstamp;
1: + __u32 wire_len;
1: + __u32 gso_segs;
1: + union {
1: + struct bpf_sock *sk;
1: + };
1: +};
1: +
1: +struct bpf_tunnel_key {
1: + __u32 tunnel_id;
1: + union {
1: + __u32 remote_ipv4;
1: + __u32 remote_ipv6[4];
1: + };
1: + __u8 tunnel_tos;
1: + __u8 tunnel_ttl;
1: + __u16 tunnel_ext;
1: + __u32 tunnel_label;
1: +};
1: +
1: +struct bpf_xfrm_state {
1: + __u32 reqid;
1: + __u32 spi;
1: + __u16 family;
1: + __u16 ext;
1: + union {
1: + __u32 remote_ipv4;
1: + __u32 remote_ipv6[4];
1: + };
1: +};
1: +
1: +struct bpf_tcp_sock {
1: + __u32 snd_cwnd;
1: + __u32 srtt_us;
1: + __u32 rtt_min;
1: + __u32 snd_ssthresh;
1: + __u32 rcv_nxt;
1: + __u32 snd_nxt;
1: + __u32 snd_una;
1: + __u32 mss_cache;
1: + __u32 ecn_flags;
1: + __u32 rate_delivered;
1: + __u32 rate_interval_us;
1: + __u32 packets_out;
1: + __u32 retrans_out;
1: + __u32 total_retrans;
1: + __u32 segs_in;
1: + __u32 data_segs_in;
1: + __u32 segs_out;
1: + __u32 data_segs_out;
1: + __u32 lost_out;
1: + __u32 sacked_out;
1: + __u64 bytes_received;
1: + __u64 bytes_acked;
1: + __u32 dsack_dups;
1: + __u32 delivered;
1: + __u32 delivered_ce;
1: + __u32 icsk_retransmits;
1: +};
1: +
1: +struct bpf_sock_tuple {
1: + union {
1: + struct {
1: + __be32 saddr;
1: + __be32 daddr;
1: + __be16 sport;
1: + __be16 dport;
1: + } ipv4;
1: + struct {
1: + __be32 saddr[4];
1: + __be32 daddr[4];
1: + __be16 sport;
1: + __be16 dport;
1: + } ipv6;
1: + };
1: +};
1: +
1: +struct bpf_xdp_sock {
1: + __u32 queue_id;
1: +};
1: +
1: +enum sk_action {
1: + SK_DROP = 0,
1: + SK_PASS = 1,
1: +};
1: +
1: +struct sk_msg_md {
1: + union {
1: + void *data;
1: + };
1: + union {
1: + void *data_end;
1: + };
1: + __u32 family;
1: + __u32 remote_ip4;
1: + __u32 local_ip4;
1: + __u32 remote_ip6[4];
1: + __u32 local_ip6[4];
1: + __u32 remote_port;
1: + __u32 local_port;
1: + __u32 size;
1: +};
1: +
1: +struct sk_reuseport_md {
1: + union {
1: + void *data;
1: + };
1: + union {
1: + void *data_end;
1: + };
1: + __u32 len;
1: + __u32 eth_protocol;
1: + __u32 ip_protocol;
1: + __u32 bind_inany;
1: + __u32 hash;
1: +};
1: +
1: +struct bpf_sock_addr {
1: + __u32 user_family;
1: + __u32 user_ip4;
1: + __u32 user_ip6[4];
1: + __u32 user_port;
1: + __u32 family;
1: + __u32 type;
1: + __u32 protocol;
1: + __u32 msg_src_ip4;
1: + __u32 msg_src_ip6[4];
1: + union {
1: + struct bpf_sock *sk;
1: + };
1: +};
1: +
1: +struct bpf_sock_ops {
1: + __u32 op;
1: + union {
1: + __u32 args[4];
1: + __u32 reply;
1: + __u32 replylong[4];
1: + };
1: + __u32 family;
1: + __u32 remote_ip4;
1: + __u32 local_ip4;
1: + __u32 remote_ip6[4];
1: + __u32 local_ip6[4];
1: + __u32 remote_port;
1: + __u32 local_port;
1: + __u32 is_fullsock;
1: + __u32 snd_cwnd;
1: + __u32 srtt_us;
1: + __u32 bpf_sock_ops_cb_flags;
1: + __u32 state;
1: + __u32 rtt_min;
1: + __u32 snd_ssthresh;
1: + __u32 rcv_nxt;
1: + __u32 snd_nxt;
1: + __u32 snd_una;
1: + __u32 mss_cache;
1: + __u32 ecn_flags;
1: + __u32 rate_delivered;
1: + __u32 rate_interval_us;
1: + __u32 packets_out;
1: + __u32 retrans_out;
1: + __u32 total_retrans;
1: + __u32 segs_in;
1: + __u32 data_segs_in;
1: + __u32 segs_out;
1: + __u32 data_segs_out;
1: + __u32 lost_out;
1: + __u32 sacked_out;
1: + __u32 sk_txhash;
1: + __u64 bytes_received;
1: + __u64 bytes_acked;
1: + union {
1: + struct bpf_sock *sk;
1: + };
1: +};
1: +
1: +enum {
1: + BPF_SOCK_OPS_VOID = 0,
1: + BPF_SOCK_OPS_TIMEOUT_INIT = 1,
1: + BPF_SOCK_OPS_RWND_INIT = 2,
1: + BPF_SOCK_OPS_TCP_CONNECT_CB = 3,
1: + BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 4,
1: + BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 5,
1: + BPF_SOCK_OPS_NEEDS_ECN = 6,
1: + BPF_SOCK_OPS_BASE_RTT = 7,
1: + BPF_SOCK_OPS_RTO_CB = 8,
1: + BPF_SOCK_OPS_RETRANS_CB = 9,
1: + BPF_SOCK_OPS_STATE_CB = 10,
1: + BPF_SOCK_OPS_TCP_LISTEN_CB = 11,
1: + BPF_SOCK_OPS_RTT_CB = 12,
1: +};
1: +
1: +enum {
1: + BPF_FIB_LKUP_RET_SUCCESS = 0,
1: + BPF_FIB_LKUP_RET_BLACKHOLE = 1,
1: + BPF_FIB_LKUP_RET_UNREACHABLE = 2,
1: + BPF_FIB_LKUP_RET_PROHIBIT = 3,
1: + BPF_FIB_LKUP_RET_NOT_FWDED = 4,
1: + BPF_FIB_LKUP_RET_FWD_DISABLED = 5,
1: + BPF_FIB_LKUP_RET_UNSUPP_LWT = 6,
1: + BPF_FIB_LKUP_RET_NO_NEIGH = 7,
1: + BPF_FIB_LKUP_RET_FRAG_NEEDED = 8,
1: +};
1: +
1: +struct bpf_fib_lookup {
1: + __u8 family;
1: + __u8 l4_protocol;
1: + __be16 sport;
1: + __be16 dport;
1: + __u16 tot_len;
1: + __u32 ifindex;
1: + union {
1: + __u8 tos;
1: + __be32 flowinfo;
1: + __u32 rt_metric;
1: + };
1: + union {
1: + __be32 ipv4_src;
1: + __u32 ipv6_src[4];
1: + };
1: + union {
1: + __be32 ipv4_dst;
1: + __u32 ipv6_dst[4];
1: + };
1: + __be16 h_vlan_proto;
1: + __be16 h_vlan_TCI;
1: + __u8 smac[6];
1: + __u8 dmac[6];
1: +};
1: +
1: +enum bpf_access_type {
1: + BPF_READ = 1,
1: + BPF_WRITE = 2,
1: +};
1: +
1: +enum bpf_reg_type {
1: + NOT_INIT = 0,
1: + SCALAR_VALUE = 1,
1: + PTR_TO_CTX = 2,
1: + CONST_PTR_TO_MAP = 3,
1: + PTR_TO_MAP_VALUE = 4,
1: + PTR_TO_MAP_VALUE_OR_NULL = 5,
1: + PTR_TO_STACK = 6,
1: + PTR_TO_PACKET_META = 7,
1: + PTR_TO_PACKET = 8,
1: + PTR_TO_PACKET_END = 9,
1: + PTR_TO_FLOW_KEYS = 10,
1: + PTR_TO_SOCKET = 11,
1: + PTR_TO_SOCKET_OR_NULL = 12,
1: + PTR_TO_SOCK_COMMON = 13,
1: + PTR_TO_SOCK_COMMON_OR_NULL = 14,
1: + PTR_TO_TCP_SOCK = 15,
1: + PTR_TO_TCP_SOCK_OR_NULL = 16,
1: + PTR_TO_TP_BUFFER = 17,
1: + PTR_TO_XDP_SOCK = 18,
1: + PTR_TO_BTF_ID = 19,
1: +};
1: +
1: +struct bpf_verifier_log;
1: +
1: +struct bpf_insn_access_aux {
1: + enum bpf_reg_type reg_type;
1: + union {
1: + int ctx_field_size;
1: + u32 btf_id;
1: + };
1: + struct bpf_verifier_log *log;
1: +};
1: +
1: +struct bpf_verifier_ops {
1: + const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *);
1: + bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *);
1: + int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *);
1: + int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *);
1: + u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *);
1: +};
1: +
1: +struct sk_reuseport_kern {
1: + struct sk_buff *skb;
1: + struct sock *sk;
1: + struct sock *selected_sk;
1: + void *data_end;
1: + u32 hash;
1: + u32 reuseport_id;
1: + bool bind_inany;
1: +};
1: +
1: +enum rt_scope_t {
1: + RT_SCOPE_UNIVERSE = 0,
1: + RT_SCOPE_SITE = 200,
1: + RT_SCOPE_LINK = 253,
1: + RT_SCOPE_HOST = 254,
1: + RT_SCOPE_NOWHERE = 255,
1: +};
1: +
1: +enum rt_class_t {
1: + RT_TABLE_UNSPEC = 0,
1: + RT_TABLE_COMPAT = 252,
1: + RT_TABLE_DEFAULT = 253,
1: + RT_TABLE_MAIN = 254,
1: + RT_TABLE_LOCAL = 255,
1: + RT_TABLE_MAX = -1,
1: +};
1: +
1: +struct bpf_skb_data_end {
1: + struct qdisc_skb_cb qdisc_cb;
1: + void *data_meta;
1: + void *data_end;
1: +};
1: +
1: +struct bpf_sock_addr_kern {
1: + struct sock *sk;
1: + struct sockaddr *uaddr;
1: + u64 tmp_reg;
1: + void *t_ctx;
1: +};
1: +
1: +struct bpf_sock_ops_kern {
1: + struct sock *sk;
1: + u32 op;
1: + union {
1: + u32 args[4];
1: + u32 reply;
1: + u32 replylong[4];
1: + };
1: + u32 is_fullsock;
1: + u64 temp;
1: +};
1: +
1: +struct ipv6_bpf_stub {
1: + int (*inet6_bind)(struct sock *, struct sockaddr *, int, bool, bool);
1: + struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *);
1: +};
1: +
1: +struct fib_result {
1: + __be32 prefix;
1: + unsigned char prefixlen;
1: + unsigned char nh_sel;
1: + unsigned char type;
1: + unsigned char scope;
1: + u32 tclassid;
1: + struct fib_nh_common *nhc;
1: + struct fib_info *fi;
1: + struct fib_table *table;
1: + struct hlist_head *fa_head;
1: +};
1: +
1: +enum {
1: + INET_ECN_NOT_ECT = 0,
1: + INET_ECN_ECT_1 = 1,
1: + INET_ECN_ECT_0 = 2,
1: + INET_ECN_CE = 3,
1: + INET_ECN_MASK = 3,
1: +};
1: +
1: +struct tcp_skb_cb {
1: + __u32 seq;
1: + __u32 end_seq;
1: + union {
1: + __u32 tcp_tw_isn;
1: + struct {
1: + u16 tcp_gso_segs;
1: + u16 tcp_gso_size;
1: + };
1: + };
1: + __u8 tcp_flags;
1: + __u8 sacked;
1: + __u8 ip_dsfield;
1: + __u8 txstamp_ack: 1;
1: + __u8 eor: 1;
1: + __u8 has_rxtstamp: 1;
1: + __u8 unused: 5;
1: + __u32 ack_seq;
1: + union {
1: + struct {
1: + __u32 in_flight: 30;
1: + __u32 is_app_limited: 1;
1: + __u32 unused: 1;
1: + __u32 delivered;
1: + u64 first_tx_mstamp;
1: + u64 delivered_mstamp;
1: + } tx;
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + struct {
1: + __u32 flags;
1: + struct sock *sk_redir;
1: + void *data_end;
1: + } bpf;
1: + };
1: +};
1: +
1: +struct sk_msg_sg {
1: + u32 start;
1: + u32 curr;
1: + u32 end;
1: + u32 size;
1: + u32 copybreak;
1: + long unsigned int copy;
1: + struct scatterlist data[19];
1: +};
1: +
1: +struct sk_msg {
1: + struct sk_msg_sg sg;
1: + void *data;
1: + void *data_end;
1: + u32 apply_bytes;
1: + u32 cork_bytes;
1: + u32 flags;
1: + struct sk_buff *skb;
1: + struct sock *sk_redir;
1: + struct sock *sk;
1: + struct list_head list;
1: +};
1: +
1: +struct _bpf_dtab_netdev {
1: + struct net_device *dev;
1: +};
1: +
1: +struct xdp_sock {
1: + struct sock sk;
1: + struct xsk_queue *rx;
1: + struct net_device *dev;
1: + struct xdp_umem *umem;
1: + struct list_head flush_node;
1: + u16 queue_id;
1: + bool zc;
1: + enum {
1: + XSK_READY = 0,
1: + XSK_BOUND = 1,
1: + XSK_UNBOUND = 2,
1: + } state;
1: + struct mutex mutex;
1: + long: 64;
1: + long: 64;
1: + struct xsk_queue *tx;
1: + struct list_head list;
1: + spinlock_t tx_completion_lock;
1: + spinlock_t rx_lock;
1: + u64 rx_dropped;
1: + struct list_head map_list;
1: + spinlock_t map_list_lock;
1: +};
1: +
1: +typedef u64 (*btf_bpf_skb_get_pay_offset)(struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_skb_get_nlattr)(struct sk_buff *, u32, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_get_nlattr_nest)(struct sk_buff *, u32, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_load_helper_8)(const struct sk_buff *, const void *, int, int);
1: +
1: +typedef u64 (*btf_bpf_skb_load_helper_8_no_cache)(const struct sk_buff *, int);
1: +
1: +typedef u64 (*btf_bpf_skb_load_helper_16)(const struct sk_buff *, const void *, int, int);
1: +
1: +typedef u64 (*btf_bpf_skb_load_helper_16_no_cache)(const struct sk_buff *, int);
1: +
1: +typedef u64 (*btf_bpf_skb_load_helper_32)(const struct sk_buff *, const void *, int, int);
1: +
1: +typedef u64 (*btf_bpf_skb_load_helper_32_no_cache)(const struct sk_buff *, int);
1: +
1: +typedef u64 (*btf_bpf_get_raw_cpu_id)();
1: +
1: +struct bpf_scratchpad {
1: + union {
1: + __be32 diff[128];
1: + u8 buff[512];
1: + };
1: +};
1: +
1: +typedef u64 (*btf_bpf_skb_store_bytes)(struct sk_buff *, u32, const void *, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_skb_load_bytes)(const struct sk_buff *, u32, void *, u32);
1: +
1: +typedef u64 (*btf_bpf_flow_dissector_load_bytes)(const struct bpf_flow_dissector *, u32, void *, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_load_bytes_relative)(const struct sk_buff *, u32, void *, u32, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_pull_data)(struct sk_buff *, u32);
1: +
1: +typedef u64 (*btf_bpf_sk_fullsock)(struct sock *);
1: +
1: +typedef u64 (*btf_sk_skb_pull_data)(struct sk_buff *, u32);
1: +
1: +typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64);
1: +
1: +typedef u64 (*btf_bpf_l4_csum_replace)(struct sk_buff *, u32, u64, u64, u64);
1: +
1: +typedef u64 (*btf_bpf_csum_diff)(__be32 *, u32, __be32 *, u32, __wsum);
1: +
1: +typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum);
1: +
1: +typedef u64 (*btf_bpf_clone_redirect)(struct sk_buff *, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_redirect)(u32, u64);
1: +
1: +typedef u64 (*btf_bpf_msg_apply_bytes)(struct sk_msg *, u32);
1: +
1: +typedef u64 (*btf_bpf_msg_cork_bytes)(struct sk_msg *, u32);
1: +
1: +typedef u64 (*btf_bpf_msg_pull_data)(struct sk_msg *, u32, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_msg_push_data)(struct sk_msg *, u32, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_msg_pop_data)(struct sk_msg *, u32, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_set_hash_invalid)(struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_set_hash)(struct sk_buff *, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_vlan_push)(struct sk_buff *, __be16, u16);
1: +
1: +typedef u64 (*btf_bpf_skb_vlan_pop)(struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_skb_change_proto)(struct sk_buff *, __be16, u64);
1: +
1: +typedef u64 (*btf_bpf_skb_change_type)(struct sk_buff *, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_adjust_room)(struct sk_buff *, s32, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_skb_change_tail)(struct sk_buff *, u32, u64);
1: +
1: +typedef u64 (*btf_sk_skb_change_tail)(struct sk_buff *, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_skb_change_head)(struct sk_buff *, u32, u64);
1: +
1: +typedef u64 (*btf_sk_skb_change_head)(struct sk_buff *, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int);
1: +
1: +typedef u64 (*btf_bpf_xdp_adjust_tail)(struct xdp_buff *, int);
1: +
1: +typedef u64 (*btf_bpf_xdp_adjust_meta)(struct xdp_buff *, int);
1: +
1: +typedef u64 (*btf_bpf_xdp_redirect)(u32, u64);
1: +
1: +typedef u64 (*btf_bpf_xdp_redirect_map)(struct bpf_map *, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_skb_event_output)(struct sk_buff *, struct bpf_map *, u64, void *, u64);
1: +
1: +typedef u64 (*btf_bpf_skb_get_tunnel_key)(struct sk_buff *, struct bpf_tunnel_key *, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_skb_get_tunnel_opt)(struct sk_buff *, u8 *, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_set_tunnel_key)(struct sk_buff *, const struct bpf_tunnel_key *, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_skb_set_tunnel_opt)(struct sk_buff *, const u8 *, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_under_cgroup)(struct sk_buff *, struct bpf_map *, u32);
1: +
1: +typedef u64 (*btf_bpf_xdp_event_output)(struct xdp_buff *, struct bpf_map *, u64, void *, u64);
1: +
1: +typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_get_socket_cookie_sock_addr)(struct bpf_sock_addr_kern *);
1: +
1: +typedef u64 (*btf_bpf_get_socket_cookie_sock_ops)(struct bpf_sock_ops_kern *);
1: +
1: +typedef u64 (*btf_bpf_get_socket_uid)(struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_sockopt_event_output)(struct bpf_sock_ops_kern *, struct bpf_map *, u64, void *, u64);
1: +
1: +typedef u64 (*btf_bpf_setsockopt)(struct bpf_sock_ops_kern *, int, int, char *, int);
1: +
1: +typedef u64 (*btf_bpf_getsockopt)(struct bpf_sock_ops_kern *, int, int, char *, int);
1: +
1: +typedef u64 (*btf_bpf_sock_ops_cb_flags_set)(struct bpf_sock_ops_kern *, int);
1: +
1: +typedef u64 (*btf_bpf_bind)(struct bpf_sock_addr_kern *, struct sockaddr *, int);
1: +
1: +typedef u64 (*btf_bpf_skb_get_xfrm_state)(struct sk_buff *, u32, struct bpf_xfrm_state *, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_xdp_fib_lookup)(struct xdp_buff *, struct bpf_fib_lookup *, int, u32);
1: +
1: +typedef u64 (*btf_bpf_skb_fib_lookup)(struct sk_buff *, struct bpf_fib_lookup *, int, u32);
1: +
1: +typedef u64 (*btf_bpf_lwt_in_push_encap)(struct sk_buff *, u32, void *, u32);
1: +
1: +typedef u64 (*btf_bpf_lwt_xmit_push_encap)(struct sk_buff *, u32, void *, u32);
1: +
1: +typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64);
1: +
1: +typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64);
1: +
1: +typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64);
1: +
1: +typedef u64 (*btf_bpf_sk_release)(struct sock *);
1: +
1: +typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64);
1: +
1: +typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64);
1: +
1: +typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64);
1: +
1: +typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64);
1: +
1: +typedef u64 (*btf_bpf_tcp_sock)(struct sock *);
1: +
1: +typedef u64 (*btf_bpf_get_listener_sock)(struct sock *);
1: +
1: +typedef u64 (*btf_bpf_skb_ecn_set_ce)(struct sk_buff *);
1: +
1: +typedef u64 (*btf_bpf_tcp_check_syncookie)(struct sock *, void *, u32, struct tcphdr *, u32);
1: +
1: +typedef u64 (*btf_bpf_tcp_gen_syncookie)(struct sock *, void *, u32, struct tcphdr *, u32);
1: +
1: +typedef u64 (*btf_sk_select_reuseport)(struct sk_reuseport_kern *, struct bpf_map *, void *, u32);
1: +
1: +typedef u64 (*btf_sk_reuseport_load_bytes)(const struct sk_reuseport_kern *, u32, void *, u32);
1: +
1: +typedef u64 (*btf_sk_reuseport_load_bytes_relative)(const struct sk_reuseport_kern *, u32, void *, u32, u32);
1: +
1: +struct bpf_dtab_netdev;
1: +
1: +struct bpf_cpu_map_entry;
1: +
1: +struct sock_diag_req {
1: + __u8 sdiag_family;
1: + __u8 sdiag_protocol;
1: +};
1: +
1: +struct sock_diag_handler {
1: + __u8 family;
1: + int (*dump)(struct sk_buff *, struct nlmsghdr *);
1: + int (*get_info)(struct sk_buff *, struct sock *);
1: + int (*destroy)(struct sk_buff *, struct nlmsghdr *);
1: +};
1: +
1: +struct broadcast_sk {
1: + struct sock *sk;
1: + struct work_struct work;
1: +};
1: +
1: +typedef int gifconf_func_t(struct net_device *, char *, int, int);
1: +
1: +struct tso_t {
1: + int next_frag_idx;
1: + void *data;
1: + size_t size;
1: + u16 ip_id;
1: + bool ipv6;
1: + u32 tcp_seq;
1: +};
1: +
1: +struct fib_notifier_info {
1: + int family;
1: + struct netlink_ext_ack *extack;
1: +};
1: +
1: +enum fib_event_type {
1: + FIB_EVENT_ENTRY_REPLACE = 0,
1: + FIB_EVENT_ENTRY_APPEND = 1,
1: + FIB_EVENT_ENTRY_ADD = 2,
1: + FIB_EVENT_ENTRY_DEL = 3,
1: + FIB_EVENT_RULE_ADD = 4,
1: + FIB_EVENT_RULE_DEL = 5,
1: + FIB_EVENT_NH_ADD = 6,
1: + FIB_EVENT_NH_DEL = 7,
1: + FIB_EVENT_VIF_ADD = 8,
1: + FIB_EVENT_VIF_DEL = 9,
1: +};
1: +
1: +struct fib_notifier_net {
1: + struct list_head fib_notifier_ops;
1: + struct atomic_notifier_head fib_chain;
1: +};
1: +
1: +struct xdp_attachment_info {
1: + struct bpf_prog *prog;
1: + u32 flags;
1: +};
1: +
1: +struct ptr_ring {
1: + int producer;
1: + spinlock_t producer_lock;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + int consumer_head;
1: + int consumer_tail;
1: + spinlock_t consumer_lock;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + int size;
1: + int batch;
1: + void **queue;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct pp_alloc_cache {
1: + u32 count;
1: + void *cache[128];
1: +};
1: +
1: +struct page_pool_params {
1: + unsigned int flags;
1: + unsigned int order;
1: + unsigned int pool_size;
1: + int nid;
1: + struct device *dev;
1: + enum dma_data_direction dma_dir;
1: + unsigned int max_len;
1: + unsigned int offset;
1: +};
1: +
1: +struct page_pool {
1: + struct page_pool_params p;
1: + struct delayed_work release_dw;
1: + void (*disconnect)(void *);
1: + long unsigned int defer_start;
1: + long unsigned int defer_warn;
1: + u32 pages_state_hold_cnt;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct pp_alloc_cache alloc;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct ptr_ring ring;
1: + atomic_t pages_state_release_cnt;
1: + refcount_t user_cnt;
1: + u64 destroy_cnt;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct flow_match_meta {
1: + struct flow_dissector_key_meta *key;
1: + struct flow_dissector_key_meta *mask;
1: +};
1: +
1: +struct flow_match_basic {
1: + struct flow_dissector_key_basic *key;
1: + struct flow_dissector_key_basic *mask;
1: +};
1: +
1: +struct flow_match_control {
1: + struct flow_dissector_key_control *key;
1: + struct flow_dissector_key_control *mask;
1: +};
1: +
1: +struct flow_match_eth_addrs {
1: + struct flow_dissector_key_eth_addrs *key;
1: + struct flow_dissector_key_eth_addrs *mask;
1: +};
1: +
1: +struct flow_match_vlan {
1: + struct flow_dissector_key_vlan *key;
1: + struct flow_dissector_key_vlan *mask;
1: +};
1: +
1: +struct flow_match_ipv4_addrs {
1: + struct flow_dissector_key_ipv4_addrs *key;
1: + struct flow_dissector_key_ipv4_addrs *mask;
1: +};
1: +
1: +struct flow_match_ipv6_addrs {
1: + struct flow_dissector_key_ipv6_addrs *key;
1: + struct flow_dissector_key_ipv6_addrs *mask;
1: +};
1: +
1: +struct flow_match_ip {
1: + struct flow_dissector_key_ip *key;
1: + struct flow_dissector_key_ip *mask;
1: +};
1: +
1: +struct flow_match_ports {
1: + struct flow_dissector_key_ports *key;
1: + struct flow_dissector_key_ports *mask;
1: +};
1: +
1: +struct flow_match_icmp {
1: + struct flow_dissector_key_icmp *key;
1: + struct flow_dissector_key_icmp *mask;
1: +};
1: +
1: +struct flow_match_tcp {
1: + struct flow_dissector_key_tcp *key;
1: + struct flow_dissector_key_tcp *mask;
1: +};
1: +
1: +struct flow_match_mpls {
1: + struct flow_dissector_key_mpls *key;
1: + struct flow_dissector_key_mpls *mask;
1: +};
1: +
1: +struct flow_match_enc_keyid {
1: + struct flow_dissector_key_keyid *key;
1: + struct flow_dissector_key_keyid *mask;
1: +};
1: +
1: +struct flow_match_enc_opts {
1: + struct flow_dissector_key_enc_opts *key;
1: + struct flow_dissector_key_enc_opts *mask;
1: +};
1: +
1: +enum flow_block_command {
1: + FLOW_BLOCK_BIND = 0,
1: + FLOW_BLOCK_UNBIND = 1,
1: +};
1: +
1: +enum flow_block_binder_type {
1: + FLOW_BLOCK_BINDER_TYPE_UNSPEC = 0,
1: + FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS = 1,
1: + FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS = 2,
1: +};
1: +
1: +struct flow_block_offload {
1: + enum flow_block_command command;
1: + enum flow_block_binder_type binder_type;
1: + bool block_shared;
1: + bool unlocked_driver_cb;
1: + struct net *net;
1: + struct flow_block *block;
1: + struct list_head cb_list;
1: + struct list_head *driver_block_list;
1: + struct netlink_ext_ack *extack;
1: +};
1: +
1: +struct flow_block_cb {
1: + struct list_head driver_list;
1: + struct list_head list;
1: + flow_setup_cb_t *cb;
1: + void *cb_ident;
1: + void *cb_priv;
1: + void (*release)(void *);
1: + unsigned int refcnt;
1: +};
1: +
1: +typedef int flow_indr_block_bind_cb_t(struct net_device *, void *, enum tc_setup_type, void *);
1: +
1: +typedef void flow_indr_block_cmd_t(struct net_device *, flow_indr_block_bind_cb_t *, void *, enum flow_block_command);
1: +
1: +struct flow_indr_block_entry {
1: + flow_indr_block_cmd_t *cb;
1: + struct list_head list;
1: +};
1: +
1: +struct flow_indr_block_cb {
1: + struct list_head list;
1: + void *cb_priv;
1: + flow_indr_block_bind_cb_t *cb;
1: + void *cb_ident;
1: +};
1: +
1: +struct flow_indr_block_dev {
1: + struct rhash_head ht_node;
1: + struct net_device *dev;
1: + unsigned int refcnt;
1: + struct list_head cb_list;
1: +};
1: +
1: +struct rx_queue_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct netdev_rx_queue *, char *);
1: + ssize_t (*store)(struct netdev_rx_queue *, const char *, size_t);
1: +};
1: +
1: +struct netdev_queue_attribute {
1: + struct attribute attr;
1: + ssize_t (*show)(struct netdev_queue *, char *);
1: + ssize_t (*store)(struct netdev_queue *, const char *, size_t);
1: +};
1: +
1: +struct fib_rule_uid_range {
1: + __u32 start;
1: + __u32 end;
1: +};
1: +
1: +enum {
1: + FRA_UNSPEC = 0,
1: + FRA_DST = 1,
1: + FRA_SRC = 2,
1: + FRA_IIFNAME = 3,
1: + FRA_GOTO = 4,
1: + FRA_UNUSED2 = 5,
1: + FRA_PRIORITY = 6,
1: + FRA_UNUSED3 = 7,
1: + FRA_UNUSED4 = 8,
1: + FRA_UNUSED5 = 9,
1: + FRA_FWMARK = 10,
1: + FRA_FLOW = 11,
1: + FRA_TUN_ID = 12,
1: + FRA_SUPPRESS_IFGROUP = 13,
1: + FRA_SUPPRESS_PREFIXLEN = 14,
1: + FRA_TABLE = 15,
1: + FRA_FWMASK = 16,
1: + FRA_OIFNAME = 17,
1: + FRA_PAD = 18,
1: + FRA_L3MDEV = 19,
1: + FRA_UID_RANGE = 20,
1: + FRA_PROTOCOL = 21,
1: + FRA_IP_PROTO = 22,
1: + FRA_SPORT_RANGE = 23,
1: + FRA_DPORT_RANGE = 24,
1: + __FRA_MAX = 25,
1: +};
1: +
1: +enum {
1: + FR_ACT_UNSPEC = 0,
1: + FR_ACT_TO_TBL = 1,
1: + FR_ACT_GOTO = 2,
1: + FR_ACT_NOP = 3,
1: + FR_ACT_RES3 = 4,
1: + FR_ACT_RES4 = 5,
1: + FR_ACT_BLACKHOLE = 6,
1: + FR_ACT_UNREACHABLE = 7,
1: + FR_ACT_PROHIBIT = 8,
1: + __FR_ACT_MAX = 9,
1: +};
1: +
1: +struct fib_rule_notifier_info {
1: + struct fib_notifier_info info;
1: + struct fib_rule *rule;
1: +};
1: +
1: +struct trace_event_raw_kfree_skb {
1: + struct trace_entry ent;
1: + void *skbaddr;
1: + void *location;
1: + short unsigned int protocol;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_consume_skb {
1: + struct trace_entry ent;
1: + void *skbaddr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_skb_copy_datagram_iovec {
1: + struct trace_entry ent;
1: + const void *skbaddr;
1: + int len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_kfree_skb {};
1: +
1: +struct trace_event_data_offsets_consume_skb {};
1: +
1: +struct trace_event_data_offsets_skb_copy_datagram_iovec {};
1: +
1: +struct trace_event_raw_net_dev_start_xmit {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u16 queue_mapping;
1: + const void *skbaddr;
1: + bool vlan_tagged;
1: + u16 vlan_proto;
1: + u16 vlan_tci;
1: + u16 protocol;
1: + u8 ip_summed;
1: + unsigned int len;
1: + unsigned int data_len;
1: + int network_offset;
1: + bool transport_offset_valid;
1: + int transport_offset;
1: + u8 tx_flags;
1: + u16 gso_size;
1: + u16 gso_segs;
1: + u16 gso_type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_net_dev_xmit {
1: + struct trace_entry ent;
1: + void *skbaddr;
1: + unsigned int len;
1: + int rc;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_net_dev_xmit_timeout {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u32 __data_loc_driver;
1: + int queue_index;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_net_dev_template {
1: + struct trace_entry ent;
1: + void *skbaddr;
1: + unsigned int len;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_net_dev_rx_verbose_template {
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int napi_id;
1: + u16 queue_mapping;
1: + const void *skbaddr;
1: + bool vlan_tagged;
1: + u16 vlan_proto;
1: + u16 vlan_tci;
1: + u16 protocol;
1: + u8 ip_summed;
1: + u32 hash;
1: + bool l4_hash;
1: + unsigned int len;
1: + unsigned int data_len;
1: + unsigned int truesize;
1: + bool mac_header_valid;
1: + int mac_header;
1: + unsigned char nr_frags;
1: + u16 gso_size;
1: + u16 gso_type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_net_dev_rx_exit_template {
1: + struct trace_entry ent;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_net_dev_start_xmit {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_net_dev_xmit {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_net_dev_xmit_timeout {
1: + u32 name;
1: + u32 driver;
1: +};
1: +
1: +struct trace_event_data_offsets_net_dev_template {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_net_dev_rx_verbose_template {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_data_offsets_net_dev_rx_exit_template {};
1: +
1: +struct trace_event_raw_napi_poll {
1: + struct trace_entry ent;
1: + struct napi_struct *napi;
1: + u32 __data_loc_dev_name;
1: + int work;
1: + int budget;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_napi_poll {
1: + u32 dev_name;
1: +};
1: +
1: +enum tcp_ca_state {
1: + TCP_CA_Open = 0,
1: + TCP_CA_Disorder = 1,
1: + TCP_CA_CWR = 2,
1: + TCP_CA_Recovery = 3,
1: + TCP_CA_Loss = 4,
1: +};
1: +
1: +struct trace_event_raw_sock_rcvqueue_full {
1: + struct trace_entry ent;
1: + int rmem_alloc;
1: + unsigned int truesize;
1: + int sk_rcvbuf;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sock_exceed_buf_limit {
1: + struct trace_entry ent;
1: + char name[32];
1: + long int *sysctl_mem;
1: + long int allocated;
1: + int sysctl_rmem;
1: + int rmem_alloc;
1: + int sysctl_wmem;
1: + int wmem_alloc;
1: + int wmem_queued;
1: + int kind;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_inet_sock_set_state {
1: + struct trace_entry ent;
1: + const void *skaddr;
1: + int oldstate;
1: + int newstate;
1: + __u16 sport;
1: + __u16 dport;
1: + __u16 family;
1: + __u8 protocol;
1: + __u8 saddr[4];
1: + __u8 daddr[4];
1: + __u8 saddr_v6[16];
1: + __u8 daddr_v6[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_sock_rcvqueue_full {};
1: +
1: +struct trace_event_data_offsets_sock_exceed_buf_limit {};
1: +
1: +struct trace_event_data_offsets_inet_sock_set_state {};
1: +
1: +struct trace_event_raw_udp_fail_queue_rcv_skb {
1: + struct trace_entry ent;
1: + int rc;
1: + __u16 lport;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_udp_fail_queue_rcv_skb {};
1: +
1: +struct trace_event_raw_tcp_event_sk_skb {
1: + struct trace_entry ent;
1: + const void *skbaddr;
1: + const void *skaddr;
1: + int state;
1: + __u16 sport;
1: + __u16 dport;
1: + __u8 saddr[4];
1: + __u8 daddr[4];
1: + __u8 saddr_v6[16];
1: + __u8 daddr_v6[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_tcp_event_sk {
1: + struct trace_entry ent;
1: + const void *skaddr;
1: + __u16 sport;
1: + __u16 dport;
1: + __u8 saddr[4];
1: + __u8 daddr[4];
1: + __u8 saddr_v6[16];
1: + __u8 daddr_v6[16];
1: + __u64 sock_cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_tcp_retransmit_synack {
1: + struct trace_entry ent;
1: + const void *skaddr;
1: + const void *req;
1: + __u16 sport;
1: + __u16 dport;
1: + __u8 saddr[4];
1: + __u8 daddr[4];
1: + __u8 saddr_v6[16];
1: + __u8 daddr_v6[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_tcp_probe {
1: + struct trace_entry ent;
1: + __u8 saddr[28];
1: + __u8 daddr[28];
1: + __u16 sport;
1: + __u16 dport;
1: + __u32 mark;
1: + __u16 data_len;
1: + __u32 snd_nxt;
1: + __u32 snd_una;
1: + __u32 snd_cwnd;
1: + __u32 ssthresh;
1: + __u32 snd_wnd;
1: + __u32 srtt;
1: + __u32 rcv_wnd;
1: + __u64 sock_cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_tcp_event_sk_skb {};
1: +
1: +struct trace_event_data_offsets_tcp_event_sk {};
1: +
1: +struct trace_event_data_offsets_tcp_retransmit_synack {};
1: +
1: +struct trace_event_data_offsets_tcp_probe {};
1: +
1: +struct trace_event_raw_fib_table_lookup {
1: + struct trace_entry ent;
1: + u32 tb_id;
1: + int err;
1: + int oif;
1: + int iif;
1: + u8 proto;
1: + __u8 tos;
1: + __u8 scope;
1: + __u8 flags;
1: + __u8 src[4];
1: + __u8 dst[4];
1: + __u8 gw4[4];
1: + __u8 gw6[16];
1: + u16 sport;
1: + u16 dport;
1: + u32 __data_loc_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_fib_table_lookup {
1: + u32 name;
1: +};
1: +
1: +struct trace_event_raw_qdisc_dequeue {
1: + struct trace_entry ent;
1: + struct Qdisc *qdisc;
1: + const struct netdev_queue *txq;
1: + int packets;
1: + void *skbaddr;
1: + int ifindex;
1: + u32 handle;
1: + u32 parent;
1: + long unsigned int txq_state;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_qdisc_dequeue {};
1: +
1: +struct trace_event_raw_neigh_create {
1: + struct trace_entry ent;
1: + u32 family;
1: + u32 __data_loc_dev;
1: + int entries;
1: + u8 created;
1: + u8 gc_exempt;
1: + u8 primary_key4[4];
1: + u8 primary_key6[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_neigh_update {
1: + struct trace_entry ent;
1: + u32 family;
1: + u32 __data_loc_dev;
1: + u8 lladdr[32];
1: + u8 lladdr_len;
1: + u8 flags;
1: + u8 nud_state;
1: + u8 type;
1: + u8 dead;
1: + int refcnt;
1: + __u8 primary_key4[4];
1: + __u8 primary_key6[16];
1: + long unsigned int confirmed;
1: + long unsigned int updated;
1: + long unsigned int used;
1: + u8 new_lladdr[32];
1: + u8 new_state;
1: + u32 update_flags;
1: + u32 pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_neigh__update {
1: + struct trace_entry ent;
1: + u32 family;
1: + u32 __data_loc_dev;
1: + u8 lladdr[32];
1: + u8 lladdr_len;
1: + u8 flags;
1: + u8 nud_state;
1: + u8 type;
1: + u8 dead;
1: + int refcnt;
1: + __u8 primary_key4[4];
1: + __u8 primary_key6[16];
1: + long unsigned int confirmed;
1: + long unsigned int updated;
1: + long unsigned int used;
1: + u32 err;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_neigh_create {
1: + u32 dev;
1: +};
1: +
1: +struct trace_event_data_offsets_neigh_update {
1: + u32 dev;
1: +};
1: +
1: +struct trace_event_data_offsets_neigh__update {
1: + u32 dev;
1: +};
1: +
1: +struct dst_cache_pcpu {
1: + long unsigned int refresh_ts;
1: + struct dst_entry *dst;
1: + u32 cookie;
1: + union {
1: + struct in_addr in_saddr;
1: + struct in6_addr in6_saddr;
1: + };
1: +};
1: +
1: +struct gro_cell;
1: +
1: +struct gro_cells {
1: + struct gro_cell *cells;
1: +};
1: +
1: +struct gro_cell {
1: + struct sk_buff_head napi_skbs;
1: + struct napi_struct napi;
1: +};
1: +
1: +struct group_req {
1: + __u32 gr_interface;
1: + struct __kernel_sockaddr_storage gr_group;
1: +};
1: +
1: +struct group_source_req {
1: + __u32 gsr_interface;
1: + struct __kernel_sockaddr_storage gsr_group;
1: + struct __kernel_sockaddr_storage gsr_source;
1: +};
1: +
1: +struct group_filter {
1: + __u32 gf_interface;
1: + struct __kernel_sockaddr_storage gf_group;
1: + __u32 gf_fmode;
1: + __u32 gf_numsrc;
1: + struct __kernel_sockaddr_storage gf_slist[1];
1: +};
1: +
1: +struct compat_cmsghdr {
1: + compat_size_t cmsg_len;
1: + compat_int_t cmsg_level;
1: + compat_int_t cmsg_type;
1: +};
1: +
1: +struct compat_group_req {
1: + __u32 gr_interface;
1: + struct __kernel_sockaddr_storage gr_group;
1: +} __attribute__((packed));
1: +
1: +struct compat_group_source_req {
1: + __u32 gsr_interface;
1: + struct __kernel_sockaddr_storage gsr_group;
1: + struct __kernel_sockaddr_storage gsr_source;
1: +} __attribute__((packed));
1: +
1: +struct compat_group_filter {
1: + __u32 gf_interface;
1: + struct __kernel_sockaddr_storage gf_group;
1: + __u32 gf_fmode;
1: + __u32 gf_numsrc;
1: + struct __kernel_sockaddr_storage gf_slist[1];
1: +} __attribute__((packed));
1: +
1: +typedef struct sk_buff * (*gro_receive_t)(struct list_head *, struct sk_buff *);
1: +
1: +struct nvmem_cell___2;
1: +
1: +struct fddi_8022_1_hdr {
1: + __u8 dsap;
1: + __u8 ssap;
1: + __u8 ctrl;
1: +};
1: +
1: +struct fddi_8022_2_hdr {
1: + __u8 dsap;
1: + __u8 ssap;
1: + __u8 ctrl_1;
1: + __u8 ctrl_2;
1: +};
1: +
1: +struct fddi_snap_hdr {
1: + __u8 dsap;
1: + __u8 ssap;
1: + __u8 ctrl;
1: + __u8 oui[3];
1: + __be16 ethertype;
1: +};
1: +
1: +struct fddihdr {
1: + __u8 fc;
1: + __u8 daddr[6];
1: + __u8 saddr[6];
1: + union {
1: + struct fddi_8022_1_hdr llc_8022_1;
1: + struct fddi_8022_2_hdr llc_8022_2;
1: + struct fddi_snap_hdr llc_snap;
1: + } hdr;
1: +} __attribute__((packed));
1: +
1: +struct tc_ratespec {
1: + unsigned char cell_log;
1: + __u8 linklayer;
1: + short unsigned int overhead;
1: + short int cell_align;
1: + short unsigned int mpu;
1: + __u32 rate;
1: +};
1: +
1: +struct tc_prio_qopt {
1: + int bands;
1: + __u8 priomap[16];
1: +};
1: +
1: +enum {
1: + TCA_UNSPEC = 0,
1: + TCA_KIND = 1,
1: + TCA_OPTIONS = 2,
1: + TCA_STATS = 3,
1: + TCA_XSTATS = 4,
1: + TCA_RATE = 5,
1: + TCA_FCNT = 6,
1: + TCA_STATS2 = 7,
1: + TCA_STAB = 8,
1: + TCA_PAD = 9,
1: + TCA_DUMP_INVISIBLE = 10,
1: + TCA_CHAIN = 11,
1: + TCA_HW_OFFLOAD = 12,
1: + TCA_INGRESS_BLOCK = 13,
1: + TCA_EGRESS_BLOCK = 14,
1: + __TCA_MAX = 15,
1: +};
1: +
1: +struct skb_array {
1: + struct ptr_ring ring;
1: +};
1: +
1: +struct psched_ratecfg {
1: + u64 rate_bytes_ps;
1: + u32 mult;
1: + u16 overhead;
1: + u8 linklayer;
1: + u8 shift;
1: +};
1: +
1: +struct mini_Qdisc_pair {
1: + struct mini_Qdisc miniq1;
1: + struct mini_Qdisc miniq2;
1: + struct mini_Qdisc **p_miniq;
1: +};
1: +
1: +struct pfifo_fast_priv {
1: + struct skb_array q[3];
1: +};
1: +
1: +struct tc_qopt_offload_stats {
1: + struct gnet_stats_basic_packed *bstats;
1: + struct gnet_stats_queue *qstats;
1: +};
1: +
1: +enum tc_mq_command {
1: + TC_MQ_CREATE = 0,
1: + TC_MQ_DESTROY = 1,
1: + TC_MQ_STATS = 2,
1: + TC_MQ_GRAFT = 3,
1: +};
1: +
1: +struct tc_mq_opt_offload_graft_params {
1: + long unsigned int queue;
1: + u32 child_handle;
1: +};
1: +
1: +struct tc_mq_qopt_offload {
1: + enum tc_mq_command command;
1: + u32 handle;
1: + union {
1: + struct tc_qopt_offload_stats stats;
1: + struct tc_mq_opt_offload_graft_params graft_params;
1: + };
1: +};
1: +
1: +struct mq_sched {
1: + struct Qdisc **qdiscs;
1: +};
1: +
1: +enum tc_link_layer {
1: + TC_LINKLAYER_UNAWARE = 0,
1: + TC_LINKLAYER_ETHERNET = 1,
1: + TC_LINKLAYER_ATM = 2,
1: +};
1: +
1: +enum {
1: + TCA_STAB_UNSPEC = 0,
1: + TCA_STAB_BASE = 1,
1: + TCA_STAB_DATA = 2,
1: + __TCA_STAB_MAX = 3,
1: +};
1: +
1: +struct qdisc_rate_table {
1: + struct tc_ratespec rate;
1: + u32 data[256];
1: + struct qdisc_rate_table *next;
1: + int refcnt;
1: +};
1: +
1: +struct Qdisc_class_common {
1: + u32 classid;
1: + struct hlist_node hnode;
1: +};
1: +
1: +struct Qdisc_class_hash {
1: + struct hlist_head *hash;
1: + unsigned int hashsize;
1: + unsigned int hashmask;
1: + unsigned int hashelems;
1: +};
1: +
1: +struct qdisc_watchdog {
1: + u64 last_expires;
1: + struct hrtimer timer;
1: + struct Qdisc *qdisc;
1: +};
1: +
1: +enum tc_root_command {
1: + TC_ROOT_GRAFT = 0,
1: +};
1: +
1: +struct tc_root_qopt_offload {
1: + enum tc_root_command command;
1: + u32 handle;
1: + bool ingress;
1: +};
1: +
1: +struct check_loop_arg {
1: + struct qdisc_walker w;
1: + struct Qdisc *p;
1: + int depth;
1: +};
1: +
1: +struct tcf_bind_args {
1: + struct tcf_walker w;
1: + u32 classid;
1: + long unsigned int cl;
1: +};
1: +
1: +struct qdisc_dump_args {
1: + struct qdisc_walker w;
1: + struct sk_buff *skb;
1: + struct netlink_callback *cb;
1: +};
1: +
1: +enum net_xmit_qdisc_t {
1: + __NET_XMIT_STOLEN = 65536,
1: + __NET_XMIT_BYPASS = 131072,
1: +};
1: +
1: +enum {
1: + TCA_ACT_UNSPEC = 0,
1: + TCA_ACT_KIND = 1,
1: + TCA_ACT_OPTIONS = 2,
1: + TCA_ACT_INDEX = 3,
1: + TCA_ACT_STATS = 4,
1: + TCA_ACT_PAD = 5,
1: + TCA_ACT_COOKIE = 6,
1: + TCA_ACT_FLAGS = 7,
1: + __TCA_ACT_MAX = 8,
1: +};
1: +
1: +enum tca_id {
1: + TCA_ID_UNSPEC = 0,
1: + TCA_ID_POLICE = 1,
1: + TCA_ID_GACT = 5,
1: + TCA_ID_IPT = 6,
1: + TCA_ID_PEDIT = 7,
1: + TCA_ID_MIRRED = 8,
1: + TCA_ID_NAT = 9,
1: + TCA_ID_XT = 10,
1: + TCA_ID_SKBEDIT = 11,
1: + TCA_ID_VLAN = 12,
1: + TCA_ID_BPF = 13,
1: + TCA_ID_CONNMARK = 14,
1: + TCA_ID_SKBMOD = 15,
1: + TCA_ID_CSUM = 16,
1: + TCA_ID_TUNNEL_KEY = 17,
1: + TCA_ID_SIMP = 22,
1: + TCA_ID_IFE = 25,
1: + TCA_ID_SAMPLE = 26,
1: + TCA_ID_CTINFO = 27,
1: + TCA_ID_MPLS = 28,
1: + TCA_ID_CT = 29,
1: + __TCA_ID_MAX = 255,
1: +};
1: +
1: +struct tcf_t {
1: + __u64 install;
1: + __u64 lastuse;
1: + __u64 expires;
1: + __u64 firstuse;
1: +};
1: +
1: +struct psample_group {
1: + struct list_head list;
1: + struct net *net;
1: + u32 group_num;
1: + u32 refcount;
1: + u32 seq;
1: + struct callback_head rcu;
1: +};
1: +
1: +enum qdisc_class_ops_flags {
1: + QDISC_CLASS_OPS_DOIT_UNLOCKED = 1,
1: +};
1: +
1: +enum tcf_proto_ops_flags {
1: + TCF_PROTO_OPS_DOIT_UNLOCKED = 1,
1: +};
1: +
1: +typedef void tcf_chain_head_change_t(struct tcf_proto *, void *);
1: +
1: +struct tcf_idrinfo {
1: + struct mutex lock;
1: + struct idr action_idr;
1: + struct net *net;
1: +};
1: +
1: +struct tc_action_ops;
1: +
1: +struct tc_cookie;
1: +
1: +struct tc_action {
1: + const struct tc_action_ops *ops;
1: + __u32 type;
1: + struct tcf_idrinfo *idrinfo;
1: + u32 tcfa_index;
1: + refcount_t tcfa_refcnt;
1: + atomic_t tcfa_bindcnt;
1: + int tcfa_action;
1: + struct tcf_t tcfa_tm;
1: + struct gnet_stats_basic_packed tcfa_bstats;
1: + struct gnet_stats_basic_packed tcfa_bstats_hw;
1: + struct gnet_stats_queue tcfa_qstats;
1: + struct net_rate_estimator *tcfa_rate_est;
1: + spinlock_t tcfa_lock;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_basic_cpu *cpu_bstats_hw;
1: + struct gnet_stats_queue *cpu_qstats;
1: + struct tc_cookie *act_cookie;
1: + struct tcf_chain *goto_chain;
1: + u32 tcfa_flags;
1: +};
1: +
1: +typedef void (*tc_action_priv_destructor)(void *);
1: +
1: +struct tc_action_ops {
1: + struct list_head head;
1: + char kind[16];
1: + enum tca_id id;
1: + size_t size;
1: + struct module *owner;
1: + int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *);
1: + int (*dump)(struct sk_buff *, struct tc_action *, int, int);
1: + void (*cleanup)(struct tc_action *);
1: + int (*lookup)(struct net *, struct tc_action **, u32);
1: + int (*init)(struct net *, struct nlattr *, struct nlattr *, struct tc_action **, int, int, bool, struct tcf_proto *, u32, struct netlink_ext_ack *);
1: + int (*walk)(struct net *, struct sk_buff *, struct netlink_callback *, int, const struct tc_action_ops *, struct netlink_ext_ack *);
1: + void (*stats_update)(struct tc_action *, u64, u32, u64, bool);
1: + size_t (*get_fill_size)(const struct tc_action *);
1: + struct net_device * (*get_dev)(const struct tc_action *, tc_action_priv_destructor *);
1: + struct psample_group * (*get_psample_group)(const struct tc_action *, tc_action_priv_destructor *);
1: +};
1: +
1: +struct tc_cookie {
1: + u8 *data;
1: + u32 len;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcf_block_ext_info {
1: + enum flow_block_binder_type binder_type;
1: + tcf_chain_head_change_t *chain_head_change;
1: + void *chain_head_change_priv;
1: + u32 block_index;
1: +};
1: +
1: +struct tcf_exts {
1: + __u32 type;
1: + int nr_actions;
1: + struct tc_action **actions;
1: + struct net *net;
1: + int action;
1: + int police;
1: +};
1: +
1: +enum pedit_header_type {
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK = 0,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_ETH = 1,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_IP4 = 2,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_IP6 = 3,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_TCP = 4,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_UDP = 5,
1: + __PEDIT_HDR_TYPE_MAX = 6,
1: +};
1: +
1: +enum pedit_cmd {
1: + TCA_PEDIT_KEY_EX_CMD_SET = 0,
1: + TCA_PEDIT_KEY_EX_CMD_ADD = 1,
1: + __PEDIT_CMD_MAX = 2,
1: +};
1: +
1: +struct tc_pedit_key {
1: + __u32 mask;
1: + __u32 val;
1: + __u32 off;
1: + __u32 at;
1: + __u32 offmask;
1: + __u32 shift;
1: +};
1: +
1: +struct tcf_pedit_key_ex {
1: + enum pedit_header_type htype;
1: + enum pedit_cmd cmd;
1: +};
1: +
1: +struct tcf_pedit {
1: + struct tc_action common;
1: + unsigned char tcfp_nkeys;
1: + unsigned char tcfp_flags;
1: + struct tc_pedit_key *tcfp_keys;
1: + struct tcf_pedit_key_ex *tcfp_keys_ex;
1: +};
1: +
1: +struct tcf_mirred {
1: + struct tc_action common;
1: + int tcfm_eaction;
1: + bool tcfm_mac_header_xmit;
1: + struct net_device *tcfm_dev;
1: + struct list_head tcfm_list;
1: +};
1: +
1: +struct tcf_vlan_params {
1: + int tcfv_action;
1: + u16 tcfv_push_vid;
1: + __be16 tcfv_push_proto;
1: + u8 tcfv_push_prio;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcf_vlan {
1: + struct tc_action common;
1: + struct tcf_vlan_params *vlan_p;
1: +};
1: +
1: +struct tcf_tunnel_key_params {
1: + struct callback_head rcu;
1: + int tcft_action;
1: + struct metadata_dst *tcft_enc_metadata;
1: +};
1: +
1: +struct tcf_tunnel_key {
1: + struct tc_action common;
1: + struct tcf_tunnel_key_params *params;
1: +};
1: +
1: +struct tcf_csum_params {
1: + u32 update_flags;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcf_csum {
1: + struct tc_action common;
1: + struct tcf_csum_params *params;
1: +};
1: +
1: +struct tcf_gact {
1: + struct tc_action common;
1: +};
1: +
1: +struct tcf_police_params {
1: + int tcfp_result;
1: + u32 tcfp_ewma_rate;
1: + s64 tcfp_burst;
1: + u32 tcfp_mtu;
1: + s64 tcfp_mtu_ptoks;
1: + struct psched_ratecfg rate;
1: + bool rate_present;
1: + struct psched_ratecfg peak;
1: + bool peak_present;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcf_police {
1: + struct tc_action common;
1: + struct tcf_police_params *params;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + spinlock_t tcfp_lock;
1: + s64 tcfp_toks;
1: + s64 tcfp_ptoks;
1: + s64 tcfp_t_c;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct tcf_sample {
1: + struct tc_action common;
1: + u32 rate;
1: + bool truncate;
1: + u32 trunc_size;
1: + struct psample_group *psample_group;
1: + u32 psample_group_num;
1: + struct list_head tcfm_list;
1: +};
1: +
1: +struct tcf_skbedit_params {
1: + u32 flags;
1: + u32 priority;
1: + u32 mark;
1: + u32 mask;
1: + u16 queue_mapping;
1: + u16 ptype;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcf_skbedit {
1: + struct tc_action common;
1: + struct tcf_skbedit_params *params;
1: +};
1: +
1: +struct nf_nat_range2 {
1: + unsigned int flags;
1: + union nf_inet_addr min_addr;
1: + union nf_inet_addr max_addr;
1: + union nf_conntrack_man_proto min_proto;
1: + union nf_conntrack_man_proto max_proto;
1: + union nf_conntrack_man_proto base_proto;
1: +};
1: +
1: +struct tcf_ct_params {
1: + struct nf_conn *tmpl;
1: + u16 zone;
1: + u32 mark;
1: + u32 mark_mask;
1: + u32 labels[4];
1: + u32 labels_mask[4];
1: + struct nf_nat_range2 range;
1: + bool ipv4_range;
1: + u16 ct_action;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcf_ct {
1: + struct tc_action common;
1: + struct tcf_ct_params *params;
1: +};
1: +
1: +struct tcf_mpls_params {
1: + int tcfm_action;
1: + u32 tcfm_label;
1: + u8 tcfm_tc;
1: + u8 tcfm_ttl;
1: + u8 tcfm_bos;
1: + __be16 tcfm_proto;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct tcf_mpls {
1: + struct tc_action common;
1: + struct tcf_mpls_params *mpls_p;
1: +};
1: +
1: +struct tcf_filter_chain_list_item {
1: + struct list_head list;
1: + tcf_chain_head_change_t *chain_head_change;
1: + void *chain_head_change_priv;
1: +};
1: +
1: +struct tcf_net {
1: + spinlock_t idr_lock;
1: + struct idr idr;
1: +};
1: +
1: +struct tcf_block_owner_item {
1: + struct list_head list;
1: + struct Qdisc *q;
1: + enum flow_block_binder_type binder_type;
1: +};
1: +
1: +struct tcf_chain_info {
1: + struct tcf_proto **pprev;
1: + struct tcf_proto *next;
1: +};
1: +
1: +struct tcf_dump_args {
1: + struct tcf_walker w;
1: + struct sk_buff *skb;
1: + struct netlink_callback *cb;
1: + struct tcf_block *block;
1: + struct Qdisc *q;
1: + u32 parent;
1: +};
1: +
1: +struct tcamsg {
1: + unsigned char tca_family;
1: + unsigned char tca__pad1;
1: + short unsigned int tca__pad2;
1: +};
1: +
1: +enum {
1: + TCA_ROOT_UNSPEC = 0,
1: + TCA_ROOT_TAB = 1,
1: + TCA_ROOT_FLAGS = 2,
1: + TCA_ROOT_COUNT = 3,
1: + TCA_ROOT_TIME_DELTA = 4,
1: + __TCA_ROOT_MAX = 5,
1: +};
1: +
1: +struct tc_action_net {
1: + struct tcf_idrinfo *idrinfo;
1: + const struct tc_action_ops *ops;
1: +};
1: +
1: +struct tc_fifo_qopt {
1: + __u32 limit;
1: +};
1: +
1: +struct tcf_ematch_tree_hdr {
1: + __u16 nmatches;
1: + __u16 progid;
1: +};
1: +
1: +enum {
1: + TCA_EMATCH_TREE_UNSPEC = 0,
1: + TCA_EMATCH_TREE_HDR = 1,
1: + TCA_EMATCH_TREE_LIST = 2,
1: + __TCA_EMATCH_TREE_MAX = 3,
1: +};
1: +
1: +struct tcf_ematch_hdr {
1: + __u16 matchid;
1: + __u16 kind;
1: + __u16 flags;
1: + __u16 pad;
1: +};
1: +
1: +struct tcf_pkt_info {
1: + unsigned char *ptr;
1: + int nexthdr;
1: +};
1: +
1: +struct tcf_ematch_ops;
1: +
1: +struct tcf_ematch {
1: + struct tcf_ematch_ops *ops;
1: + long unsigned int data;
1: + unsigned int datalen;
1: + u16 matchid;
1: + u16 flags;
1: + struct net *net;
1: +};
1: +
1: +struct tcf_ematch_ops {
1: + int kind;
1: + int datalen;
1: + int (*change)(struct net *, void *, int, struct tcf_ematch *);
1: + int (*match)(struct sk_buff *, struct tcf_ematch *, struct tcf_pkt_info *);
1: + void (*destroy)(struct tcf_ematch *);
1: + int (*dump)(struct sk_buff *, struct tcf_ematch *);
1: + struct module *owner;
1: + struct list_head link;
1: +};
1: +
1: +struct tcf_ematch_tree {
1: + struct tcf_ematch_tree_hdr hdr;
1: + struct tcf_ematch *matches;
1: +};
1: +
1: +struct sockaddr_nl {
1: + __kernel_sa_family_t nl_family;
1: + short unsigned int nl_pad;
1: + __u32 nl_pid;
1: + __u32 nl_groups;
1: +};
1: +
1: +struct nlmsgerr {
1: + int error;
1: + struct nlmsghdr msg;
1: +};
1: +
1: +enum nlmsgerr_attrs {
1: + NLMSGERR_ATTR_UNUSED = 0,
1: + NLMSGERR_ATTR_MSG = 1,
1: + NLMSGERR_ATTR_OFFS = 2,
1: + NLMSGERR_ATTR_COOKIE = 3,
1: + __NLMSGERR_ATTR_MAX = 4,
1: + NLMSGERR_ATTR_MAX = 3,
1: +};
1: +
1: +struct nl_pktinfo {
1: + __u32 group;
1: +};
1: +
1: +enum {
1: + NETLINK_UNCONNECTED = 0,
1: + NETLINK_CONNECTED = 1,
1: +};
1: +
1: +enum netlink_skb_flags {
1: + NETLINK_SKB_DST = 8,
1: +};
1: +
1: +struct netlink_notify {
1: + struct net *net;
1: + u32 portid;
1: + int protocol;
1: +};
1: +
1: +struct netlink_tap {
1: + struct net_device *dev;
1: + struct module *module;
1: + struct list_head list;
1: +};
1: +
1: +struct netlink_sock {
1: + struct sock sk;
1: + u32 portid;
1: + u32 dst_portid;
1: + u32 dst_group;
1: + u32 flags;
1: + u32 subscriptions;
1: + u32 ngroups;
1: + long unsigned int *groups;
1: + long unsigned int state;
1: + size_t max_recvmsg_len;
1: + wait_queue_head_t wait;
1: + bool bound;
1: + bool cb_running;
1: + int dump_done_errno;
1: + struct netlink_callback cb;
1: + struct mutex *cb_mutex;
1: + struct mutex cb_def_mutex;
1: + void (*netlink_rcv)(struct sk_buff *);
1: + int (*netlink_bind)(struct net *, int);
1: + void (*netlink_unbind)(struct net *, int);
1: + struct module *module;
1: + struct rhash_head node;
1: + struct callback_head rcu;
1: + struct work_struct work;
1: +};
1: +
1: +struct listeners;
1: +
1: +struct netlink_table {
1: + struct rhashtable hash;
1: + struct hlist_head mc_list;
1: + struct listeners *listeners;
1: + unsigned int flags;
1: + unsigned int groups;
1: + struct mutex *cb_mutex;
1: + struct module *module;
1: + int (*bind)(struct net *, int);
1: + void (*unbind)(struct net *, int);
1: + bool (*compare)(struct net *, struct sock *);
1: + int registered;
1: +};
1: +
1: +struct listeners {
1: + struct callback_head rcu;
1: + long unsigned int masks[0];
1: +};
1: +
1: +struct netlink_tap_net {
1: + struct list_head netlink_tap_all;
1: + struct mutex netlink_tap_lock;
1: +};
1: +
1: +struct netlink_compare_arg {
1: + possible_net_t pnet;
1: + u32 portid;
1: +};
1: +
1: +struct netlink_broadcast_data {
1: + struct sock *exclude_sk;
1: + struct net *net;
1: + u32 portid;
1: + u32 group;
1: + int failure;
1: + int delivery_failure;
1: + int congested;
1: + int delivered;
1: + gfp_t allocation;
1: + struct sk_buff *skb;
1: + struct sk_buff *skb2;
1: + int (*tx_filter)(struct sock *, struct sk_buff *, void *);
1: + void *tx_data;
1: +};
1: +
1: +struct netlink_set_err_data {
1: + struct sock *exclude_sk;
1: + u32 portid;
1: + u32 group;
1: + int code;
1: +};
1: +
1: +struct nl_seq_iter {
1: + struct seq_net_private p;
1: + struct rhashtable_iter hti;
1: + int link;
1: +};
1: +
1: +enum {
1: + CTRL_CMD_UNSPEC = 0,
1: + CTRL_CMD_NEWFAMILY = 1,
1: + CTRL_CMD_DELFAMILY = 2,
1: + CTRL_CMD_GETFAMILY = 3,
1: + CTRL_CMD_NEWOPS = 4,
1: + CTRL_CMD_DELOPS = 5,
1: + CTRL_CMD_GETOPS = 6,
1: + CTRL_CMD_NEWMCAST_GRP = 7,
1: + CTRL_CMD_DELMCAST_GRP = 8,
1: + CTRL_CMD_GETMCAST_GRP = 9,
1: + __CTRL_CMD_MAX = 10,
1: +};
1: +
1: +enum {
1: + CTRL_ATTR_UNSPEC = 0,
1: + CTRL_ATTR_FAMILY_ID = 1,
1: + CTRL_ATTR_FAMILY_NAME = 2,
1: + CTRL_ATTR_VERSION = 3,
1: + CTRL_ATTR_HDRSIZE = 4,
1: + CTRL_ATTR_MAXATTR = 5,
1: + CTRL_ATTR_OPS = 6,
1: + CTRL_ATTR_MCAST_GROUPS = 7,
1: + __CTRL_ATTR_MAX = 8,
1: +};
1: +
1: +enum {
1: + CTRL_ATTR_OP_UNSPEC = 0,
1: + CTRL_ATTR_OP_ID = 1,
1: + CTRL_ATTR_OP_FLAGS = 2,
1: + __CTRL_ATTR_OP_MAX = 3,
1: +};
1: +
1: +enum {
1: + CTRL_ATTR_MCAST_GRP_UNSPEC = 0,
1: + CTRL_ATTR_MCAST_GRP_NAME = 1,
1: + CTRL_ATTR_MCAST_GRP_ID = 2,
1: + __CTRL_ATTR_MCAST_GRP_MAX = 3,
1: +};
1: +
1: +struct genl_dumpit_info {
1: + const struct genl_family *family;
1: + const struct genl_ops *ops;
1: + struct nlattr **attrs;
1: +};
1: +
1: +struct nf_hook_entries_rcu_head {
1: + struct callback_head head;
1: + void *allocation;
1: +};
1: +
1: +struct nf_ct_hook {
1: + int (*update)(struct net *, struct sk_buff *);
1: + void (*destroy)(struct nf_conntrack *);
1: + bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *);
1: +};
1: +
1: +struct nfnl_ct_hook {
1: + struct nf_conn * (*get_ct)(const struct sk_buff *, enum ip_conntrack_info *);
1: + size_t (*build_size)(const struct nf_conn *);
1: + int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t);
1: + int (*parse)(const struct nlattr *, struct nf_conn *);
1: + int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32);
1: + void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32);
1: +};
1: +
1: +struct nf_loginfo {
1: + u_int8_t type;
1: + union {
1: + struct {
1: + u_int32_t copy_len;
1: + u_int16_t group;
1: + u_int16_t qthreshold;
1: + u_int16_t flags;
1: + } ulog;
1: + struct {
1: + u_int8_t level;
1: + u_int8_t logflags;
1: + } log;
1: + } u;
1: +};
1: +
1: +struct nf_log_buf {
1: + unsigned int count;
1: + char buf[1020];
1: +};
1: +
1: +struct ip_rt_info {
1: + __be32 daddr;
1: + __be32 saddr;
1: + u_int8_t tos;
1: + u_int32_t mark;
1: +};
1: +
1: +struct ip6_rt_info {
1: + struct in6_addr daddr;
1: + struct in6_addr saddr;
1: + u_int32_t mark;
1: +};
1: +
1: +struct nf_sockopt_ops {
1: + struct list_head list;
1: + u_int8_t pf;
1: + int set_optmin;
1: + int set_optmax;
1: + int (*set)(struct sock *, int, void *, unsigned int);
1: + int (*compat_set)(struct sock *, int, void *, unsigned int);
1: + int get_optmin;
1: + int get_optmax;
1: + int (*get)(struct sock *, int, void *, int *);
1: + int (*compat_get)(struct sock *, int, void *, int *);
1: + struct module *owner;
1: +};
1: +
1: +enum nfnetlink_groups {
1: + NFNLGRP_NONE = 0,
1: + NFNLGRP_CONNTRACK_NEW = 1,
1: + NFNLGRP_CONNTRACK_UPDATE = 2,
1: + NFNLGRP_CONNTRACK_DESTROY = 3,
1: + NFNLGRP_CONNTRACK_EXP_NEW = 4,
1: + NFNLGRP_CONNTRACK_EXP_UPDATE = 5,
1: + NFNLGRP_CONNTRACK_EXP_DESTROY = 6,
1: + NFNLGRP_NFTABLES = 7,
1: + NFNLGRP_ACCT_QUOTA = 8,
1: + NFNLGRP_NFTRACE = 9,
1: + __NFNLGRP_MAX = 10,
1: +};
1: +
1: +struct nfgenmsg {
1: + __u8 nfgen_family;
1: + __u8 version;
1: + __be16 res_id;
1: +};
1: +
1: +enum nfnl_batch_attributes {
1: + NFNL_BATCH_UNSPEC = 0,
1: + NFNL_BATCH_GENID = 1,
1: + __NFNL_BATCH_MAX = 2,
1: +};
1: +
1: +struct nfnl_callback {
1: + int (*call)(struct net *, struct sock *, struct sk_buff *, const struct nlmsghdr *, const struct nlattr * const *, struct netlink_ext_ack *);
1: + int (*call_rcu)(struct net *, struct sock *, struct sk_buff *, const struct nlmsghdr *, const struct nlattr * const *, struct netlink_ext_ack *);
1: + int (*call_batch)(struct net *, struct sock *, struct sk_buff *, const struct nlmsghdr *, const struct nlattr * const *, struct netlink_ext_ack *);
1: + const struct nla_policy *policy;
1: + const u_int16_t attr_count;
1: +};
1: +
1: +struct nfnetlink_subsystem {
1: + const char *name;
1: + __u8 subsys_id;
1: + __u8 cb_count;
1: + const struct nfnl_callback *cb;
1: + struct module *owner;
1: + int (*commit)(struct net *, struct sk_buff *);
1: + int (*abort)(struct net *, struct sk_buff *, bool);
1: + void (*cleanup)(struct net *);
1: + bool (*valid_genid)(struct net *, u32);
1: +};
1: +
1: +struct nfnl_err {
1: + struct list_head head;
1: + struct nlmsghdr *nlh;
1: + int err;
1: + struct netlink_ext_ack extack;
1: +};
1: +
1: +enum {
1: + NFNL_BATCH_FAILURE = 1,
1: + NFNL_BATCH_DONE = 2,
1: + NFNL_BATCH_REPLAY = 4,
1: +};
1: +
1: +enum nfulnl_msg_types {
1: + NFULNL_MSG_PACKET = 0,
1: + NFULNL_MSG_CONFIG = 1,
1: + NFULNL_MSG_MAX = 2,
1: +};
1: +
1: +struct nfulnl_msg_packet_hdr {
1: + __be16 hw_protocol;
1: + __u8 hook;
1: + __u8 _pad;
1: +};
1: +
1: +struct nfulnl_msg_packet_hw {
1: + __be16 hw_addrlen;
1: + __u16 _pad;
1: + __u8 hw_addr[8];
1: +};
1: +
1: +struct nfulnl_msg_packet_timestamp {
1: + __be64 sec;
1: + __be64 usec;
1: +};
1: +
1: +enum nfulnl_vlan_attr {
1: + NFULA_VLAN_UNSPEC = 0,
1: + NFULA_VLAN_PROTO = 1,
1: + NFULA_VLAN_TCI = 2,
1: + __NFULA_VLAN_MAX = 3,
1: +};
1: +
1: +enum nfulnl_attr_type {
1: + NFULA_UNSPEC = 0,
1: + NFULA_PACKET_HDR = 1,
1: + NFULA_MARK = 2,
1: + NFULA_TIMESTAMP = 3,
1: + NFULA_IFINDEX_INDEV = 4,
1: + NFULA_IFINDEX_OUTDEV = 5,
1: + NFULA_IFINDEX_PHYSINDEV = 6,
1: + NFULA_IFINDEX_PHYSOUTDEV = 7,
1: + NFULA_HWADDR = 8,
1: + NFULA_PAYLOAD = 9,
1: + NFULA_PREFIX = 10,
1: + NFULA_UID = 11,
1: + NFULA_SEQ = 12,
1: + NFULA_SEQ_GLOBAL = 13,
1: + NFULA_GID = 14,
1: + NFULA_HWTYPE = 15,
1: + NFULA_HWHEADER = 16,
1: + NFULA_HWLEN = 17,
1: + NFULA_CT = 18,
1: + NFULA_CT_INFO = 19,
1: + NFULA_VLAN = 20,
1: + NFULA_L2HDR = 21,
1: + __NFULA_MAX = 22,
1: +};
1: +
1: +enum nfulnl_msg_config_cmds {
1: + NFULNL_CFG_CMD_NONE = 0,
1: + NFULNL_CFG_CMD_BIND = 1,
1: + NFULNL_CFG_CMD_UNBIND = 2,
1: + NFULNL_CFG_CMD_PF_BIND = 3,
1: + NFULNL_CFG_CMD_PF_UNBIND = 4,
1: +};
1: +
1: +struct nfulnl_msg_config_cmd {
1: + __u8 command;
1: +};
1: +
1: +struct nfulnl_msg_config_mode {
1: + __be32 copy_range;
1: + __u8 copy_mode;
1: + __u8 _pad;
1: +} __attribute__((packed));
1: +
1: +enum nfulnl_attr_config {
1: + NFULA_CFG_UNSPEC = 0,
1: + NFULA_CFG_CMD = 1,
1: + NFULA_CFG_MODE = 2,
1: + NFULA_CFG_NLBUFSIZ = 3,
1: + NFULA_CFG_TIMEOUT = 4,
1: + NFULA_CFG_QTHRESH = 5,
1: + NFULA_CFG_FLAGS = 6,
1: + __NFULA_CFG_MAX = 7,
1: +};
1: +
1: +struct nfulnl_instance {
1: + struct hlist_node hlist;
1: + spinlock_t lock;
1: + refcount_t use;
1: + unsigned int qlen;
1: + struct sk_buff *skb;
1: + struct timer_list timer;
1: + struct net *net;
1: + struct user_namespace *peer_user_ns;
1: + u32 peer_portid;
1: + unsigned int flushtimeout;
1: + unsigned int nlbufsiz;
1: + unsigned int qthreshold;
1: + u_int32_t copy_range;
1: + u_int32_t seq;
1: + u_int16_t group_num;
1: + u_int16_t flags;
1: + u_int8_t copy_mode;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct nfnl_log_net {
1: + spinlock_t instances_lock;
1: + struct hlist_head instance_table[16];
1: + atomic_t global_seq;
1: +};
1: +
1: +struct iter_state {
1: + struct seq_net_private p;
1: + unsigned int bucket;
1: +};
1: +
1: +enum ip_conntrack_status {
1: + IPS_EXPECTED_BIT = 0,
1: + IPS_EXPECTED = 1,
1: + IPS_SEEN_REPLY_BIT = 1,
1: + IPS_SEEN_REPLY = 2,
1: + IPS_ASSURED_BIT = 2,
1: + IPS_ASSURED = 4,
1: + IPS_CONFIRMED_BIT = 3,
1: + IPS_CONFIRMED = 8,
1: + IPS_SRC_NAT_BIT = 4,
1: + IPS_SRC_NAT = 16,
1: + IPS_DST_NAT_BIT = 5,
1: + IPS_DST_NAT = 32,
1: + IPS_NAT_MASK = 48,
1: + IPS_SEQ_ADJUST_BIT = 6,
1: + IPS_SEQ_ADJUST = 64,
1: + IPS_SRC_NAT_DONE_BIT = 7,
1: + IPS_SRC_NAT_DONE = 128,
1: + IPS_DST_NAT_DONE_BIT = 8,
1: + IPS_DST_NAT_DONE = 256,
1: + IPS_NAT_DONE_MASK = 384,
1: + IPS_DYING_BIT = 9,
1: + IPS_DYING = 512,
1: + IPS_FIXED_TIMEOUT_BIT = 10,
1: + IPS_FIXED_TIMEOUT = 1024,
1: + IPS_TEMPLATE_BIT = 11,
1: + IPS_TEMPLATE = 2048,
1: + IPS_UNTRACKED_BIT = 12,
1: + IPS_UNTRACKED = 4096,
1: + IPS_HELPER_BIT = 13,
1: + IPS_HELPER = 8192,
1: + IPS_OFFLOAD_BIT = 14,
1: + IPS_OFFLOAD = 16384,
1: + IPS_UNCHANGEABLE_MASK = 19449,
1: + __IPS_MAX_BIT = 15,
1: +};
1: +
1: +enum ip_conntrack_events {
1: + IPCT_NEW = 0,
1: + IPCT_RELATED = 1,
1: + IPCT_DESTROY = 2,
1: + IPCT_REPLY = 3,
1: + IPCT_ASSURED = 4,
1: + IPCT_PROTOINFO = 5,
1: + IPCT_HELPER = 6,
1: + IPCT_MARK = 7,
1: + IPCT_SEQADJ = 8,
1: + IPCT_NATSEQADJ = 8,
1: + IPCT_SECMARK = 9,
1: + IPCT_LABEL = 10,
1: + IPCT_SYNPROXY = 11,
1: + __IPCT_MAX = 12,
1: +};
1: +
1: +struct nf_conntrack_tuple_mask {
1: + struct {
1: + union nf_inet_addr u3;
1: + union nf_conntrack_man_proto u;
1: + } src;
1: +};
1: +
1: +struct nf_conntrack_l4proto {
1: + u_int8_t l4proto;
1: + bool allow_clash;
1: + u16 nlattr_size;
1: + bool (*can_early_drop)(const struct nf_conn *);
1: + int (*to_nlattr)(struct sk_buff *, struct nlattr *, struct nf_conn *);
1: + int (*from_nlattr)(struct nlattr **, struct nf_conn *);
1: + int (*tuple_to_nlattr)(struct sk_buff *, const struct nf_conntrack_tuple *);
1: + unsigned int (*nlattr_tuple_size)();
1: + int (*nlattr_to_tuple)(struct nlattr **, struct nf_conntrack_tuple *);
1: + const struct nla_policy *nla_policy;
1: + struct {
1: + int (*nlattr_to_obj)(struct nlattr **, struct net *, void *);
1: + int (*obj_to_nlattr)(struct sk_buff *, const void *);
1: + u16 obj_size;
1: + u16 nlattr_max;
1: + const struct nla_policy *nla_policy;
1: + } ctnl_timeout;
1: + void (*print_conntrack)(struct seq_file *, struct nf_conn *);
1: +};
1: +
1: +struct nf_conntrack_helper;
1: +
1: +struct nf_conntrack_expect {
1: + struct hlist_node lnode;
1: + struct hlist_node hnode;
1: + struct nf_conntrack_tuple tuple;
1: + struct nf_conntrack_tuple_mask mask;
1: + void (*expectfn)(struct nf_conn *, struct nf_conntrack_expect *);
1: + struct nf_conntrack_helper *helper;
1: + struct nf_conn *master;
1: + struct timer_list timeout;
1: + refcount_t use;
1: + unsigned int flags;
1: + unsigned int class;
1: + union nf_inet_addr saved_addr;
1: + union nf_conntrack_man_proto saved_proto;
1: + enum ip_conntrack_dir dir;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct nf_conntrack_expect_policy;
1: +
1: +struct nf_conntrack_helper {
1: + struct hlist_node hnode;
1: + char name[16];
1: + refcount_t refcnt;
1: + struct module *me;
1: + const struct nf_conntrack_expect_policy *expect_policy;
1: + struct nf_conntrack_tuple tuple;
1: + int (*help)(struct sk_buff *, unsigned int, struct nf_conn *, enum ip_conntrack_info);
1: + void (*destroy)(struct nf_conn *);
1: + int (*from_nlattr)(struct nlattr *, struct nf_conn *);
1: + int (*to_nlattr)(struct sk_buff *, const struct nf_conn *);
1: + unsigned int expect_class_max;
1: + unsigned int flags;
1: + unsigned int queue_num;
1: + u16 data_len;
1: + char nat_mod_name[16];
1: +};
1: +
1: +struct nf_conntrack_expect_policy {
1: + unsigned int max_expected;
1: + unsigned int timeout;
1: + char name[16];
1: +};
1: +
1: +struct nf_conn_help {
1: + struct nf_conntrack_helper *helper;
1: + struct hlist_head expectations;
1: + u8 expecting[4];
1: + int: 32;
1: + char data[32];
1: +};
1: +
1: +enum nf_ct_ecache_state {
1: + NFCT_ECACHE_UNKNOWN = 0,
1: + NFCT_ECACHE_DESTROY_FAIL = 1,
1: + NFCT_ECACHE_DESTROY_SENT = 2,
1: +};
1: +
1: +struct nf_conntrack_ecache {
1: + long unsigned int cache;
1: + u16 missed;
1: + u16 ctmask;
1: + u16 expmask;
1: + enum nf_ct_ecache_state state: 8;
1: + u32 portid;
1: +};
1: +
1: +struct nf_conn_counter {
1: + atomic64_t packets;
1: + atomic64_t bytes;
1: +};
1: +
1: +struct nf_conn_acct {
1: + struct nf_conn_counter counter[2];
1: +};
1: +
1: +struct nf_conn_tstamp {
1: + u_int64_t start;
1: + u_int64_t stop;
1: +};
1: +
1: +struct nf_ct_timeout {
1: + __u16 l3num;
1: + const struct nf_conntrack_l4proto *l4proto;
1: + char data[0];
1: +};
1: +
1: +struct nf_conn_timeout {
1: + struct nf_ct_timeout *timeout;
1: +};
1: +
1: +struct conntrack_gc_work {
1: + struct delayed_work dwork;
1: + u32 last_bucket;
1: + bool exiting;
1: + bool early_drop;
1: + long int next_gc_run;
1: +};
1: +
1: +enum ctattr_l4proto {
1: + CTA_PROTO_UNSPEC = 0,
1: + CTA_PROTO_NUM = 1,
1: + CTA_PROTO_SRC_PORT = 2,
1: + CTA_PROTO_DST_PORT = 3,
1: + CTA_PROTO_ICMP_ID = 4,
1: + CTA_PROTO_ICMP_TYPE = 5,
1: + CTA_PROTO_ICMP_CODE = 6,
1: + CTA_PROTO_ICMPV6_ID = 7,
1: + CTA_PROTO_ICMPV6_TYPE = 8,
1: + CTA_PROTO_ICMPV6_CODE = 9,
1: + __CTA_PROTO_MAX = 10,
1: +};
1: +
1: +struct iter_data {
1: + int (*iter)(struct nf_conn *, void *);
1: + void *data;
1: + struct net *net;
1: +};
1: +
1: +struct ct_iter_state {
1: + struct seq_net_private p;
1: + struct hlist_nulls_head *hash;
1: + unsigned int htable_size;
1: + unsigned int bucket;
1: + u_int64_t time_now;
1: +};
1: +
1: +enum nf_ct_sysctl_index {
1: + NF_SYSCTL_CT_MAX = 0,
1: + NF_SYSCTL_CT_COUNT = 1,
1: + NF_SYSCTL_CT_BUCKETS = 2,
1: + NF_SYSCTL_CT_CHECKSUM = 3,
1: + NF_SYSCTL_CT_LOG_INVALID = 4,
1: + NF_SYSCTL_CT_EXPECT_MAX = 5,
1: + NF_SYSCTL_CT_ACCT = 6,
1: + NF_SYSCTL_CT_HELPER = 7,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_GENERIC = 8,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_SYN_SENT = 9,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_SYN_RECV = 10,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_ESTABLISHED = 11,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_FIN_WAIT = 12,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_CLOSE_WAIT = 13,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_LAST_ACK = 14,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_TIME_WAIT = 15,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_CLOSE = 16,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_RETRANS = 17,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_UNACK = 18,
1: + NF_SYSCTL_CT_PROTO_TCP_LOOSE = 19,
1: + NF_SYSCTL_CT_PROTO_TCP_LIBERAL = 20,
1: + NF_SYSCTL_CT_PROTO_TCP_MAX_RETRANS = 21,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_UDP = 22,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM = 23,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_ICMP = 24,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_ICMPV6 = 25,
1: + __NF_SYSCTL_CT_LAST_SYSCTL = 26,
1: +};
1: +
1: +enum ip_conntrack_expect_events {
1: + IPEXP_NEW = 0,
1: + IPEXP_DESTROY = 1,
1: +};
1: +
1: +struct ct_expect_iter_state {
1: + struct seq_net_private p;
1: + unsigned int bucket;
1: +};
1: +
1: +struct nf_ct_ext_type {
1: + void (*destroy)(struct nf_conn *);
1: + enum nf_ct_ext_id id;
1: + u8 len;
1: + u8 align;
1: +};
1: +
1: +enum nf_ct_helper_flags {
1: + NF_CT_HELPER_F_USERSPACE = 1,
1: + NF_CT_HELPER_F_CONFIGURED = 2,
1: +};
1: +
1: +struct nf_ct_helper_expectfn {
1: + struct list_head head;
1: + const char *name;
1: + void (*expectfn)(struct nf_conn *, struct nf_conntrack_expect *);
1: +};
1: +
1: +struct nf_conntrack_nat_helper {
1: + struct list_head list;
1: + char mod_name[16];
1: + struct module *module;
1: +};
1: +
1: +struct nf_conntrack_net {
1: + unsigned int users4;
1: + unsigned int users6;
1: + unsigned int users_bridge;
1: +};
1: +
1: +struct nf_ct_bridge_info {
1: + struct nf_hook_ops *ops;
1: + unsigned int ops_size;
1: + struct module *me;
1: +};
1: +
1: +struct nf_ct_tcp_flags {
1: + __u8 flags;
1: + __u8 mask;
1: +};
1: +
1: +enum {
1: + TCP_FLAG_CWR = 32768,
1: + TCP_FLAG_ECE = 16384,
1: + TCP_FLAG_URG = 8192,
1: + TCP_FLAG_ACK = 4096,
1: + TCP_FLAG_PSH = 2048,
1: + TCP_FLAG_RST = 1024,
1: + TCP_FLAG_SYN = 512,
1: + TCP_FLAG_FIN = 256,
1: + TCP_RESERVED_BITS = 15,
1: + TCP_DATA_OFFSET = 240,
1: +};
1: +
1: +struct nf_conn_synproxy {
1: + u32 isn;
1: + u32 its;
1: + u32 tsoff;
1: +};
1: +
1: +enum tcp_bit_set {
1: + TCP_SYN_SET = 0,
1: + TCP_SYNACK_SET = 1,
1: + TCP_FIN_SET = 2,
1: + TCP_ACK_SET = 3,
1: + TCP_RST_SET = 4,
1: + TCP_NONE_SET = 5,
1: +};
1: +
1: +enum ctattr_protoinfo {
1: + CTA_PROTOINFO_UNSPEC = 0,
1: + CTA_PROTOINFO_TCP = 1,
1: + CTA_PROTOINFO_DCCP = 2,
1: + CTA_PROTOINFO_SCTP = 3,
1: + __CTA_PROTOINFO_MAX = 4,
1: +};
1: +
1: +enum ctattr_protoinfo_tcp {
1: + CTA_PROTOINFO_TCP_UNSPEC = 0,
1: + CTA_PROTOINFO_TCP_STATE = 1,
1: + CTA_PROTOINFO_TCP_WSCALE_ORIGINAL = 2,
1: + CTA_PROTOINFO_TCP_WSCALE_REPLY = 3,
1: + CTA_PROTOINFO_TCP_FLAGS_ORIGINAL = 4,
1: + CTA_PROTOINFO_TCP_FLAGS_REPLY = 5,
1: + __CTA_PROTOINFO_TCP_MAX = 6,
1: +};
1: +
1: +struct tcp_sack_block_wire {
1: + __be32 start_seq;
1: + __be32 end_seq;
1: +};
1: +
1: +struct nf_ct_seqadj {
1: + u32 correction_pos;
1: + s32 offset_before;
1: + s32 offset_after;
1: +};
1: +
1: +struct nf_conn_seqadj {
1: + struct nf_ct_seqadj seq[2];
1: +};
1: +
1: +struct icmpv6_echo {
1: + __be16 identifier;
1: + __be16 sequence;
1: +};
1: +
1: +struct icmpv6_nd_advt {
1: + __u32 reserved: 5;
1: + __u32 override: 1;
1: + __u32 solicited: 1;
1: + __u32 router: 1;
1: + __u32 reserved2: 24;
1: +};
1: +
1: +struct icmpv6_nd_ra {
1: + __u8 hop_limit;
1: + __u8 reserved: 3;
1: + __u8 router_pref: 2;
1: + __u8 home_agent: 1;
1: + __u8 other: 1;
1: + __u8 managed: 1;
1: + __be16 rt_lifetime;
1: +};
1: +
1: +struct icmp6hdr {
1: + __u8 icmp6_type;
1: + __u8 icmp6_code;
1: + __sum16 icmp6_cksum;
1: + union {
1: + __be32 un_data32[1];
1: + __be16 un_data16[2];
1: + __u8 un_data8[4];
1: + struct icmpv6_echo u_echo;
1: + struct icmpv6_nd_advt u_nd_advt;
1: + struct icmpv6_nd_ra u_nd_ra;
1: + } icmp6_dataun;
1: +};
1: +
1: +enum cntl_msg_types {
1: + IPCTNL_MSG_CT_NEW = 0,
1: + IPCTNL_MSG_CT_GET = 1,
1: + IPCTNL_MSG_CT_DELETE = 2,
1: + IPCTNL_MSG_CT_GET_CTRZERO = 3,
1: + IPCTNL_MSG_CT_GET_STATS_CPU = 4,
1: + IPCTNL_MSG_CT_GET_STATS = 5,
1: + IPCTNL_MSG_CT_GET_DYING = 6,
1: + IPCTNL_MSG_CT_GET_UNCONFIRMED = 7,
1: + IPCTNL_MSG_MAX = 8,
1: +};
1: +
1: +enum ctnl_exp_msg_types {
1: + IPCTNL_MSG_EXP_NEW = 0,
1: + IPCTNL_MSG_EXP_GET = 1,
1: + IPCTNL_MSG_EXP_DELETE = 2,
1: + IPCTNL_MSG_EXP_GET_STATS_CPU = 3,
1: + IPCTNL_MSG_EXP_MAX = 4,
1: +};
1: +
1: +enum ctattr_type {
1: + CTA_UNSPEC = 0,
1: + CTA_TUPLE_ORIG = 1,
1: + CTA_TUPLE_REPLY = 2,
1: + CTA_STATUS = 3,
1: + CTA_PROTOINFO = 4,
1: + CTA_HELP = 5,
1: + CTA_NAT_SRC = 6,
1: + CTA_TIMEOUT = 7,
1: + CTA_MARK = 8,
1: + CTA_COUNTERS_ORIG = 9,
1: + CTA_COUNTERS_REPLY = 10,
1: + CTA_USE = 11,
1: + CTA_ID = 12,
1: + CTA_NAT_DST = 13,
1: + CTA_TUPLE_MASTER = 14,
1: + CTA_SEQ_ADJ_ORIG = 15,
1: + CTA_NAT_SEQ_ADJ_ORIG = 15,
1: + CTA_SEQ_ADJ_REPLY = 16,
1: + CTA_NAT_SEQ_ADJ_REPLY = 16,
1: + CTA_SECMARK = 17,
1: + CTA_ZONE = 18,
1: + CTA_SECCTX = 19,
1: + CTA_TIMESTAMP = 20,
1: + CTA_MARK_MASK = 21,
1: + CTA_LABELS = 22,
1: + CTA_LABELS_MASK = 23,
1: + CTA_SYNPROXY = 24,
1: + __CTA_MAX = 25,
1: +};
1: +
1: +enum ctattr_tuple {
1: + CTA_TUPLE_UNSPEC = 0,
1: + CTA_TUPLE_IP = 1,
1: + CTA_TUPLE_PROTO = 2,
1: + CTA_TUPLE_ZONE = 3,
1: + __CTA_TUPLE_MAX = 4,
1: +};
1: +
1: +enum ctattr_ip {
1: + CTA_IP_UNSPEC = 0,
1: + CTA_IP_V4_SRC = 1,
1: + CTA_IP_V4_DST = 2,
1: + CTA_IP_V6_SRC = 3,
1: + CTA_IP_V6_DST = 4,
1: + __CTA_IP_MAX = 5,
1: +};
1: +
1: +enum ctattr_counters {
1: + CTA_COUNTERS_UNSPEC = 0,
1: + CTA_COUNTERS_PACKETS = 1,
1: + CTA_COUNTERS_BYTES = 2,
1: + CTA_COUNTERS32_PACKETS = 3,
1: + CTA_COUNTERS32_BYTES = 4,
1: + CTA_COUNTERS_PAD = 5,
1: + __CTA_COUNTERS_MAX = 6,
1: +};
1: +
1: +enum ctattr_tstamp {
1: + CTA_TIMESTAMP_UNSPEC = 0,
1: + CTA_TIMESTAMP_START = 1,
1: + CTA_TIMESTAMP_STOP = 2,
1: + CTA_TIMESTAMP_PAD = 3,
1: + __CTA_TIMESTAMP_MAX = 4,
1: +};
1: +
1: +enum ctattr_seqadj {
1: + CTA_SEQADJ_UNSPEC = 0,
1: + CTA_SEQADJ_CORRECTION_POS = 1,
1: + CTA_SEQADJ_OFFSET_BEFORE = 2,
1: + CTA_SEQADJ_OFFSET_AFTER = 3,
1: + __CTA_SEQADJ_MAX = 4,
1: +};
1: +
1: +enum ctattr_synproxy {
1: + CTA_SYNPROXY_UNSPEC = 0,
1: + CTA_SYNPROXY_ISN = 1,
1: + CTA_SYNPROXY_ITS = 2,
1: + CTA_SYNPROXY_TSOFF = 3,
1: + __CTA_SYNPROXY_MAX = 4,
1: +};
1: +
1: +enum ctattr_expect {
1: + CTA_EXPECT_UNSPEC = 0,
1: + CTA_EXPECT_MASTER = 1,
1: + CTA_EXPECT_TUPLE = 2,
1: + CTA_EXPECT_MASK = 3,
1: + CTA_EXPECT_TIMEOUT = 4,
1: + CTA_EXPECT_ID = 5,
1: + CTA_EXPECT_HELP_NAME = 6,
1: + CTA_EXPECT_ZONE = 7,
1: + CTA_EXPECT_FLAGS = 8,
1: + CTA_EXPECT_CLASS = 9,
1: + CTA_EXPECT_NAT = 10,
1: + CTA_EXPECT_FN = 11,
1: + __CTA_EXPECT_MAX = 12,
1: +};
1: +
1: +enum ctattr_expect_nat {
1: + CTA_EXPECT_NAT_UNSPEC = 0,
1: + CTA_EXPECT_NAT_DIR = 1,
1: + CTA_EXPECT_NAT_TUPLE = 2,
1: + __CTA_EXPECT_NAT_MAX = 3,
1: +};
1: +
1: +enum ctattr_help {
1: + CTA_HELP_UNSPEC = 0,
1: + CTA_HELP_NAME = 1,
1: + CTA_HELP_INFO = 2,
1: + __CTA_HELP_MAX = 3,
1: +};
1: +
1: +enum ctattr_secctx {
1: + CTA_SECCTX_UNSPEC = 0,
1: + CTA_SECCTX_NAME = 1,
1: + __CTA_SECCTX_MAX = 2,
1: +};
1: +
1: +enum ctattr_stats_cpu {
1: + CTA_STATS_UNSPEC = 0,
1: + CTA_STATS_SEARCHED = 1,
1: + CTA_STATS_FOUND = 2,
1: + CTA_STATS_NEW = 3,
1: + CTA_STATS_INVALID = 4,
1: + CTA_STATS_IGNORE = 5,
1: + CTA_STATS_DELETE = 6,
1: + CTA_STATS_DELETE_LIST = 7,
1: + CTA_STATS_INSERT = 8,
1: + CTA_STATS_INSERT_FAILED = 9,
1: + CTA_STATS_DROP = 10,
1: + CTA_STATS_EARLY_DROP = 11,
1: + CTA_STATS_ERROR = 12,
1: + CTA_STATS_SEARCH_RESTART = 13,
1: + __CTA_STATS_MAX = 14,
1: +};
1: +
1: +enum ctattr_stats_global {
1: + CTA_STATS_GLOBAL_UNSPEC = 0,
1: + CTA_STATS_GLOBAL_ENTRIES = 1,
1: + CTA_STATS_GLOBAL_MAX_ENTRIES = 2,
1: + __CTA_STATS_GLOBAL_MAX = 3,
1: +};
1: +
1: +enum ctattr_expect_stats {
1: + CTA_STATS_EXP_UNSPEC = 0,
1: + CTA_STATS_EXP_NEW = 1,
1: + CTA_STATS_EXP_CREATE = 2,
1: + CTA_STATS_EXP_DELETE = 3,
1: + __CTA_STATS_EXP_MAX = 4,
1: +};
1: +
1: +struct ctnetlink_filter {
1: + u8 family;
1: + struct {
1: + u_int32_t val;
1: + u_int32_t mask;
1: + } mark;
1: +};
1: +
1: +enum nf_ct_ftp_type {
1: + NF_CT_FTP_PORT = 0,
1: + NF_CT_FTP_PASV = 1,
1: + NF_CT_FTP_EPRT = 2,
1: + NF_CT_FTP_EPSV = 3,
1: +};
1: +
1: +struct nf_ct_ftp_master {
1: + u_int32_t seq_aft_nl[4];
1: + u_int16_t seq_aft_nl_num[2];
1: + u_int16_t flags[2];
1: +};
1: +
1: +struct ftp_search {
1: + const char *pattern;
1: + size_t plen;
1: + char skip;
1: + char term;
1: + enum nf_ct_ftp_type ftptype;
1: + int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char, unsigned int *);
1: +};
1: +
1: +struct nf_ct_sip_master {
1: + unsigned int register_cseq;
1: + unsigned int invite_cseq;
1: + __be16 forced_dport;
1: +};
1: +
1: +enum sip_expectation_classes {
1: + SIP_EXPECT_SIGNALLING = 0,
1: + SIP_EXPECT_AUDIO = 1,
1: + SIP_EXPECT_VIDEO = 2,
1: + SIP_EXPECT_IMAGE = 3,
1: + __SIP_EXPECT_MAX = 4,
1: +};
1: +
1: +struct sdp_media_type {
1: + const char *name;
1: + unsigned int len;
1: + enum sip_expectation_classes class;
1: +};
1: +
1: +struct sip_handler {
1: + const char *method;
1: + unsigned int len;
1: + int (*request)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int);
1: + int (*response)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int, unsigned int);
1: +};
1: +
1: +struct sip_header {
1: + const char *name;
1: + const char *cname;
1: + const char *search;
1: + unsigned int len;
1: + unsigned int clen;
1: + unsigned int slen;
1: + int (*match_len)(const struct nf_conn *, const char *, const char *, int *);
1: +};
1: +
1: +enum sip_header_types {
1: + SIP_HDR_CSEQ = 0,
1: + SIP_HDR_FROM = 1,
1: + SIP_HDR_TO = 2,
1: + SIP_HDR_CONTACT = 3,
1: + SIP_HDR_VIA_UDP = 4,
1: + SIP_HDR_VIA_TCP = 5,
1: + SIP_HDR_EXPIRES = 6,
1: + SIP_HDR_CONTENT_LENGTH = 7,
1: + SIP_HDR_CALL_ID = 8,
1: +};
1: +
1: +enum sdp_header_types {
1: + SDP_HDR_UNSPEC = 0,
1: + SDP_HDR_VERSION = 1,
1: + SDP_HDR_OWNER = 2,
1: + SDP_HDR_CONNECTION = 3,
1: + SDP_HDR_MEDIA = 4,
1: +};
1: +
1: +struct nf_nat_sip_hooks {
1: + unsigned int (*msg)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *);
1: + void (*seq_adjust)(struct sk_buff *, unsigned int, s16);
1: + unsigned int (*expect)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, struct nf_conntrack_expect *, unsigned int, unsigned int);
1: + unsigned int (*sdp_addr)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int, enum sdp_header_types, enum sdp_header_types, const union nf_inet_addr *);
1: + unsigned int (*sdp_port)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int, unsigned int, u_int16_t);
1: + unsigned int (*sdp_session)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int, const union nf_inet_addr *);
1: + unsigned int (*sdp_media)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, struct nf_conntrack_expect *, struct nf_conntrack_expect *, unsigned int, unsigned int, union nf_inet_addr *);
1: +};
1: +
1: +union nf_conntrack_nat_help {};
1: +
1: +struct nf_conn_nat {
1: + union nf_conntrack_nat_help help;
1: + int masq_index;
1: +};
1: +
1: +struct nf_nat_lookup_hook_priv {
1: + struct nf_hook_entries *entries;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct nf_nat_hooks_net {
1: + struct nf_hook_ops *nat_hook_ops;
1: + unsigned int users;
1: +};
1: +
1: +struct nat_net {
1: + struct nf_nat_hooks_net nat_proto_net[13];
1: +};
1: +
1: +struct nf_nat_proto_clean {
1: + u8 l3proto;
1: + u8 l4proto;
1: +};
1: +
1: +enum ctattr_nat {
1: + CTA_NAT_UNSPEC = 0,
1: + CTA_NAT_V4_MINIP = 1,
1: + CTA_NAT_V4_MAXIP = 2,
1: + CTA_NAT_PROTO = 3,
1: + CTA_NAT_V6_MINIP = 4,
1: + CTA_NAT_V6_MAXIP = 5,
1: + __CTA_NAT_MAX = 6,
1: +};
1: +
1: +enum ctattr_protonat {
1: + CTA_PROTONAT_UNSPEC = 0,
1: + CTA_PROTONAT_PORT_MIN = 1,
1: + CTA_PROTONAT_PORT_MAX = 2,
1: + __CTA_PROTONAT_MAX = 3,
1: +};
1: +
1: +struct sctp_bind_hashbucket {
1: + spinlock_t lock;
1: + struct hlist_head chain;
1: +};
1: +
1: +struct sctp_hashbucket {
1: + rwlock_t lock;
1: + struct hlist_head chain;
1: +};
1: +
1: +struct sctp_globals {
1: + struct list_head address_families;
1: + struct sctp_hashbucket *ep_hashtable;
1: + struct sctp_bind_hashbucket *port_hashtable;
1: + struct rhltable transport_hashtable;
1: + int ep_hashsize;
1: + int port_hashsize;
1: + __u16 max_instreams;
1: + __u16 max_outstreams;
1: + bool checksum_disable;
1: +};
1: +
1: +struct masq_dev_work {
1: + struct work_struct work;
1: + struct net *net;
1: + struct in6_addr addr;
1: + int ifindex;
1: +};
1: +
1: +struct xt_action_param;
1: +
1: +struct xt_mtchk_param;
1: +
1: +struct xt_mtdtor_param;
1: +
1: +struct xt_match {
1: + struct list_head list;
1: + char name[29];
1: + u_int8_t revision;
1: + bool (*match)(const struct sk_buff *, struct xt_action_param *);
1: + int (*checkentry)(const struct xt_mtchk_param *);
1: + void (*destroy)(const struct xt_mtdtor_param *);
1: + void (*compat_from_user)(void *, const void *);
1: + int (*compat_to_user)(void *, const void *);
1: + struct module *me;
1: + const char *table;
1: + unsigned int matchsize;
1: + unsigned int usersize;
1: + unsigned int compatsize;
1: + unsigned int hooks;
1: + short unsigned int proto;
1: + short unsigned int family;
1: +};
1: +
1: +struct xt_entry_match {
1: + union {
1: + struct {
1: + __u16 match_size;
1: + char name[29];
1: + __u8 revision;
1: + } user;
1: + struct {
1: + __u16 match_size;
1: + struct xt_match *match;
1: + } kernel;
1: + __u16 match_size;
1: + } u;
1: + unsigned char data[0];
1: +};
1: +
1: +struct xt_tgchk_param;
1: +
1: +struct xt_tgdtor_param;
1: +
1: +struct xt_target {
1: + struct list_head list;
1: + char name[29];
1: + u_int8_t revision;
1: + unsigned int (*target)(struct sk_buff *, const struct xt_action_param *);
1: + int (*checkentry)(const struct xt_tgchk_param *);
1: + void (*destroy)(const struct xt_tgdtor_param *);
1: + void (*compat_from_user)(void *, const void *);
1: + int (*compat_to_user)(void *, const void *);
1: + struct module *me;
1: + const char *table;
1: + unsigned int targetsize;
1: + unsigned int usersize;
1: + unsigned int compatsize;
1: + unsigned int hooks;
1: + short unsigned int proto;
1: + short unsigned int family;
1: +};
1: +
1: +struct xt_entry_target {
1: + union {
1: + struct {
1: + __u16 target_size;
1: + char name[29];
1: + __u8 revision;
1: + } user;
1: + struct {
1: + __u16 target_size;
1: + struct xt_target *target;
1: + } kernel;
1: + __u16 target_size;
1: + } u;
1: + unsigned char data[0];
1: +};
1: +
1: +struct xt_standard_target {
1: + struct xt_entry_target target;
1: + int verdict;
1: +};
1: +
1: +struct xt_error_target {
1: + struct xt_entry_target target;
1: + char errorname[30];
1: +};
1: +
1: +struct xt_counters {
1: + __u64 pcnt;
1: + __u64 bcnt;
1: +};
1: +
1: +struct xt_counters_info {
1: + char name[32];
1: + unsigned int num_counters;
1: + struct xt_counters counters[0];
1: +};
1: +
1: +struct xt_action_param {
1: + union {
1: + const struct xt_match *match;
1: + const struct xt_target *target;
1: + };
1: + union {
1: + const void *matchinfo;
1: + const void *targinfo;
1: + };
1: + const struct nf_hook_state *state;
1: + int fragoff;
1: + unsigned int thoff;
1: + bool hotdrop;
1: +};
1: +
1: +struct xt_mtchk_param {
1: + struct net *net;
1: + const char *table;
1: + const void *entryinfo;
1: + const struct xt_match *match;
1: + void *matchinfo;
1: + unsigned int hook_mask;
1: + u_int8_t family;
1: + bool nft_compat;
1: +};
1: +
1: +struct xt_mtdtor_param {
1: + struct net *net;
1: + const struct xt_match *match;
1: + void *matchinfo;
1: + u_int8_t family;
1: +};
1: +
1: +struct xt_tgchk_param {
1: + struct net *net;
1: + const char *table;
1: + const void *entryinfo;
1: + const struct xt_target *target;
1: + void *targinfo;
1: + unsigned int hook_mask;
1: + u_int8_t family;
1: + bool nft_compat;
1: +};
1: +
1: +struct xt_tgdtor_param {
1: + struct net *net;
1: + const struct xt_target *target;
1: + void *targinfo;
1: + u_int8_t family;
1: +};
1: +
1: +struct xt_percpu_counter_alloc_state {
1: + unsigned int off;
1: + const char *mem;
1: +};
1: +
1: +struct compat_xt_entry_match {
1: + union {
1: + struct {
1: + u_int16_t match_size;
1: + char name[29];
1: + u_int8_t revision;
1: + } user;
1: + struct {
1: + u_int16_t match_size;
1: + compat_uptr_t match;
1: + } kernel;
1: + u_int16_t match_size;
1: + } u;
1: + unsigned char data[0];
1: +};
1: +
1: +struct compat_xt_entry_target {
1: + union {
1: + struct {
1: + u_int16_t target_size;
1: + char name[29];
1: + u_int8_t revision;
1: + } user;
1: + struct {
1: + u_int16_t target_size;
1: + compat_uptr_t target;
1: + } kernel;
1: + u_int16_t target_size;
1: + } u;
1: + unsigned char data[0];
1: +};
1: +
1: +struct compat_xt_counters {
1: + compat_u64 pcnt;
1: + compat_u64 bcnt;
1: +};
1: +
1: +struct compat_xt_counters_info {
1: + char name[32];
1: + compat_uint_t num_counters;
1: + struct compat_xt_counters counters[0];
1: +} __attribute__((packed));
1: +
1: +struct compat_delta {
1: + unsigned int offset;
1: + int delta;
1: +};
1: +
1: +struct xt_af {
1: + struct mutex mutex;
1: + struct list_head match;
1: + struct list_head target;
1: + struct mutex compat_mutex;
1: + struct compat_delta *compat_tab;
1: + unsigned int number;
1: + unsigned int cur;
1: +};
1: +
1: +struct compat_xt_standard_target {
1: + struct compat_xt_entry_target t;
1: + compat_uint_t verdict;
1: +};
1: +
1: +struct compat_xt_error_target {
1: + struct compat_xt_entry_target t;
1: + char errorname[30];
1: +};
1: +
1: +struct nf_mttg_trav {
1: + struct list_head *head;
1: + struct list_head *curr;
1: + uint8_t class;
1: +};
1: +
1: +enum {
1: + MTTG_TRAV_INIT = 0,
1: + MTTG_TRAV_NFP_UNSPEC = 1,
1: + MTTG_TRAV_NFP_SPEC = 2,
1: + MTTG_TRAV_DONE = 3,
1: +};
1: +
1: +struct xt_tcp {
1: + __u16 spts[2];
1: + __u16 dpts[2];
1: + __u8 option;
1: + __u8 flg_mask;
1: + __u8 flg_cmp;
1: + __u8 invflags;
1: +};
1: +
1: +struct xt_udp {
1: + __u16 spts[2];
1: + __u16 dpts[2];
1: + __u8 invflags;
1: +};
1: +
1: +enum {
1: + CONNSECMARK_SAVE = 1,
1: + CONNSECMARK_RESTORE = 2,
1: +};
1: +
1: +struct xt_connsecmark_target_info {
1: + __u8 mode;
1: +};
1: +
1: +struct xt_nflog_info {
1: + __u32 len;
1: + __u16 group;
1: + __u16 threshold;
1: + __u16 flags;
1: + __u16 pad;
1: + char prefix[64];
1: +};
1: +
1: +struct xt_secmark_target_info {
1: + __u8 mode;
1: + __u32 secid;
1: + char secctx[256];
1: +};
1: +
1: +struct ipt_ip {
1: + struct in_addr src;
1: + struct in_addr dst;
1: + struct in_addr smsk;
1: + struct in_addr dmsk;
1: + char iniface[16];
1: + char outiface[16];
1: + unsigned char iniface_mask[16];
1: + unsigned char outiface_mask[16];
1: + __u16 proto;
1: + __u8 flags;
1: + __u8 invflags;
1: +};
1: +
1: +struct ipt_entry {
1: + struct ipt_ip ip;
1: + unsigned int nfcache;
1: + __u16 target_offset;
1: + __u16 next_offset;
1: + unsigned int comefrom;
1: + struct xt_counters counters;
1: + unsigned char elems[0];
1: +};
1: +
1: +struct ip6t_ip6 {
1: + struct in6_addr src;
1: + struct in6_addr dst;
1: + struct in6_addr smsk;
1: + struct in6_addr dmsk;
1: + char iniface[16];
1: + char outiface[16];
1: + unsigned char iniface_mask[16];
1: + unsigned char outiface_mask[16];
1: + __u16 proto;
1: + __u8 tos;
1: + __u8 flags;
1: + __u8 invflags;
1: +};
1: +
1: +struct ip6t_entry {
1: + struct ip6t_ip6 ipv6;
1: + unsigned int nfcache;
1: + __u16 target_offset;
1: + __u16 next_offset;
1: + unsigned int comefrom;
1: + struct xt_counters counters;
1: + unsigned char elems[0];
1: +};
1: +
1: +struct xt_tcpmss_info {
1: + __u16 mss;
1: +};
1: +
1: +enum {
1: + XT_CONNTRACK_STATE = 1,
1: + XT_CONNTRACK_PROTO = 2,
1: + XT_CONNTRACK_ORIGSRC = 4,
1: + XT_CONNTRACK_ORIGDST = 8,
1: + XT_CONNTRACK_REPLSRC = 16,
1: + XT_CONNTRACK_REPLDST = 32,
1: + XT_CONNTRACK_STATUS = 64,
1: + XT_CONNTRACK_EXPIRES = 128,
1: + XT_CONNTRACK_ORIGSRC_PORT = 256,
1: + XT_CONNTRACK_ORIGDST_PORT = 512,
1: + XT_CONNTRACK_REPLSRC_PORT = 1024,
1: + XT_CONNTRACK_REPLDST_PORT = 2048,
1: + XT_CONNTRACK_DIRECTION = 4096,
1: + XT_CONNTRACK_STATE_ALIAS = 8192,
1: +};
1: +
1: +struct xt_conntrack_mtinfo1 {
1: + union nf_inet_addr origsrc_addr;
1: + union nf_inet_addr origsrc_mask;
1: + union nf_inet_addr origdst_addr;
1: + union nf_inet_addr origdst_mask;
1: + union nf_inet_addr replsrc_addr;
1: + union nf_inet_addr replsrc_mask;
1: + union nf_inet_addr repldst_addr;
1: + union nf_inet_addr repldst_mask;
1: + __u32 expires_min;
1: + __u32 expires_max;
1: + __u16 l4proto;
1: + __be16 origsrc_port;
1: + __be16 origdst_port;
1: + __be16 replsrc_port;
1: + __be16 repldst_port;
1: + __u16 match_flags;
1: + __u16 invert_flags;
1: + __u8 state_mask;
1: + __u8 status_mask;
1: +};
1: +
1: +struct xt_conntrack_mtinfo2 {
1: + union nf_inet_addr origsrc_addr;
1: + union nf_inet_addr origsrc_mask;
1: + union nf_inet_addr origdst_addr;
1: + union nf_inet_addr origdst_mask;
1: + union nf_inet_addr replsrc_addr;
1: + union nf_inet_addr replsrc_mask;
1: + union nf_inet_addr repldst_addr;
1: + union nf_inet_addr repldst_mask;
1: + __u32 expires_min;
1: + __u32 expires_max;
1: + __u16 l4proto;
1: + __be16 origsrc_port;
1: + __be16 origdst_port;
1: + __be16 replsrc_port;
1: + __be16 repldst_port;
1: + __u16 match_flags;
1: + __u16 invert_flags;
1: + __u16 state_mask;
1: + __u16 status_mask;
1: +};
1: +
1: +struct xt_conntrack_mtinfo3 {
1: + union nf_inet_addr origsrc_addr;
1: + union nf_inet_addr origsrc_mask;
1: + union nf_inet_addr origdst_addr;
1: + union nf_inet_addr origdst_mask;
1: + union nf_inet_addr replsrc_addr;
1: + union nf_inet_addr replsrc_mask;
1: + union nf_inet_addr repldst_addr;
1: + union nf_inet_addr repldst_mask;
1: + __u32 expires_min;
1: + __u32 expires_max;
1: + __u16 l4proto;
1: + __u16 origsrc_port;
1: + __u16 origdst_port;
1: + __u16 replsrc_port;
1: + __u16 repldst_port;
1: + __u16 match_flags;
1: + __u16 invert_flags;
1: + __u16 state_mask;
1: + __u16 status_mask;
1: + __u16 origsrc_port_high;
1: + __u16 origdst_port_high;
1: + __u16 replsrc_port_high;
1: + __u16 repldst_port_high;
1: +};
1: +
1: +enum xt_policy_flags {
1: + XT_POLICY_MATCH_IN = 1,
1: + XT_POLICY_MATCH_OUT = 2,
1: + XT_POLICY_MATCH_NONE = 4,
1: + XT_POLICY_MATCH_STRICT = 8,
1: +};
1: +
1: +struct xt_policy_spec {
1: + __u8 saddr: 1;
1: + __u8 daddr: 1;
1: + __u8 proto: 1;
1: + __u8 mode: 1;
1: + __u8 spi: 1;
1: + __u8 reqid: 1;
1: +};
1: +
1: +struct xt_policy_elem {
1: + union {
1: + struct {
1: + union nf_inet_addr saddr;
1: + union nf_inet_addr smask;
1: + union nf_inet_addr daddr;
1: + union nf_inet_addr dmask;
1: + };
1: + };
1: + __be32 spi;
1: + __u32 reqid;
1: + __u8 proto;
1: + __u8 mode;
1: + struct xt_policy_spec match;
1: + struct xt_policy_spec invert;
1: +};
1: +
1: +struct xt_policy_info {
1: + struct xt_policy_elem pol[4];
1: + __u16 flags;
1: + __u16 len;
1: +};
1: +
1: +struct xt_state_info {
1: + unsigned int statemask;
1: +};
1: +
1: +struct ip_mreqn {
1: + struct in_addr imr_multiaddr;
1: + struct in_addr imr_address;
1: + int imr_ifindex;
1: +};
1: +
1: +struct mr_table_ops {
1: + const struct rhashtable_params *rht_params;
1: + void *cmparg_any;
1: +};
1: +
1: +struct vif_device {
1: + struct net_device *dev;
1: + long unsigned int bytes_in;
1: + long unsigned int bytes_out;
1: + long unsigned int pkt_in;
1: + long unsigned int pkt_out;
1: + long unsigned int rate_limit;
1: + unsigned char threshold;
1: + short unsigned int flags;
1: + int link;
1: + struct netdev_phys_item_id dev_parent_id;
1: + __be32 local;
1: + __be32 remote;
1: +};
1: +
1: +struct mr_table {
1: + struct list_head list;
1: + possible_net_t net;
1: + struct mr_table_ops ops;
1: + u32 id;
1: + struct sock *mroute_sk;
1: + struct timer_list ipmr_expire_timer;
1: + struct list_head mfc_unres_queue;
1: + struct vif_device vif_table[32];
1: + struct rhltable mfc_hash;
1: + struct list_head mfc_cache_list;
1: + int maxvif;
1: + atomic_t cache_resolve_queue_len;
1: + bool mroute_do_assert;
1: + bool mroute_do_pim;
1: + bool mroute_do_wrvifwhole;
1: + int mroute_reg_vif_num;
1: +};
1: +
1: +struct rtmsg {
1: + unsigned char rtm_family;
1: + unsigned char rtm_dst_len;
1: + unsigned char rtm_src_len;
1: + unsigned char rtm_tos;
1: + unsigned char rtm_table;
1: + unsigned char rtm_protocol;
1: + unsigned char rtm_scope;
1: + unsigned char rtm_type;
1: + unsigned int rtm_flags;
1: +};
1: +
1: +struct rtvia {
1: + __kernel_sa_family_t rtvia_family;
1: + __u8 rtvia_addr[0];
1: +};
1: +
1: +struct ip_sf_list;
1: +
1: +struct ip_mc_list {
1: + struct in_device *interface;
1: + __be32 multiaddr;
1: + unsigned int sfmode;
1: + struct ip_sf_list *sources;
1: + struct ip_sf_list *tomb;
1: + long unsigned int sfcount[2];
1: + union {
1: + struct ip_mc_list *next;
1: + struct ip_mc_list *next_rcu;
1: + };
1: + struct ip_mc_list *next_hash;
1: + struct timer_list timer;
1: + int users;
1: + refcount_t refcnt;
1: + spinlock_t lock;
1: + char tm_running;
1: + char reporter;
1: + char unsolicit_count;
1: + char loaded;
1: + unsigned char gsquery;
1: + unsigned char crcount;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct ip_sf_socklist {
1: + unsigned int sl_max;
1: + unsigned int sl_count;
1: + struct callback_head rcu;
1: + __be32 sl_addr[0];
1: +};
1: +
1: +struct ip_mc_socklist {
1: + struct ip_mc_socklist *next_rcu;
1: + struct ip_mreqn multi;
1: + unsigned int sfmode;
1: + struct ip_sf_socklist *sflist;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct ip_sf_list {
1: + struct ip_sf_list *sf_next;
1: + long unsigned int sf_count[2];
1: + __be32 sf_inaddr;
1: + unsigned char sf_gsresp;
1: + unsigned char sf_oldin;
1: + unsigned char sf_crcount;
1: +};
1: +
1: +struct ipv4_addr_key {
1: + __be32 addr;
1: + int vif;
1: +};
1: +
1: +struct inetpeer_addr {
1: + union {
1: + struct ipv4_addr_key a4;
1: + struct in6_addr a6;
1: + u32 key[4];
1: + };
1: + __u16 family;
1: +};
1: +
1: +struct inet_peer {
1: + struct rb_node rb_node;
1: + struct inetpeer_addr daddr;
1: + u32 metrics[17];
1: + u32 rate_tokens;
1: + u32 n_redirects;
1: + long unsigned int rate_last;
1: + union {
1: + struct {
1: + atomic_t rid;
1: + };
1: + struct callback_head rcu;
1: + };
1: + __u32 dtime;
1: + refcount_t refcnt;
1: +};
1: +
1: +struct uncached_list {
1: + spinlock_t lock;
1: + struct list_head head;
1: +};
1: +
1: +struct rt_cache_stat {
1: + unsigned int in_slow_tot;
1: + unsigned int in_slow_mc;
1: + unsigned int in_no_route;
1: + unsigned int in_brd;
1: + unsigned int in_martian_dst;
1: + unsigned int in_martian_src;
1: + unsigned int out_slow_tot;
1: + unsigned int out_slow_mc;
1: +};
1: +
1: +struct fib_prop {
1: + int error;
1: + u8 scope;
1: +};
1: +
1: +struct net_offload {
1: + struct offload_callbacks callbacks;
1: + unsigned int flags;
1: +};
1: +
1: +struct raw_hashinfo {
1: + rwlock_t lock;
1: + struct hlist_head ht[256];
1: +};
1: +
1: +enum ip_defrag_users {
1: + IP_DEFRAG_LOCAL_DELIVER = 0,
1: + IP_DEFRAG_CALL_RA_CHAIN = 1,
1: + IP_DEFRAG_CONNTRACK_IN = 2,
1: + __IP_DEFRAG_CONNTRACK_IN_END = 65537,
1: + IP_DEFRAG_CONNTRACK_OUT = 65538,
1: + __IP_DEFRAG_CONNTRACK_OUT_END = 131073,
1: + IP_DEFRAG_CONNTRACK_BRIDGE_IN = 131074,
1: + __IP_DEFRAG_CONNTRACK_BRIDGE_IN = 196609,
1: + IP_DEFRAG_VS_IN = 196610,
1: + IP_DEFRAG_VS_OUT = 196611,
1: + IP_DEFRAG_VS_FWD = 196612,
1: + IP_DEFRAG_AF_PACKET = 196613,
1: + IP_DEFRAG_MACVLAN = 196614,
1: +};
1: +
1: +enum {
1: + INET_FRAG_FIRST_IN = 1,
1: + INET_FRAG_LAST_IN = 2,
1: + INET_FRAG_COMPLETE = 4,
1: + INET_FRAG_HASH_DEAD = 8,
1: +};
1: +
1: +struct ipq {
1: + struct inet_frag_queue q;
1: + u8 ecn;
1: + u16 max_df_size;
1: + int iif;
1: + unsigned int rid;
1: + struct inet_peer *peer;
1: +};
1: +
1: +struct ip_options_data {
1: + struct ip_options_rcu opt;
1: + char data[40];
1: +};
1: +
1: +struct ipcm_cookie {
1: + struct sockcm_cookie sockc;
1: + __be32 addr;
1: + int oif;
1: + struct ip_options_rcu *opt;
1: + __u8 ttl;
1: + __s16 tos;
1: + char priority;
1: + __u16 gso_size;
1: +};
1: +
1: +struct ip_fraglist_iter {
1: + struct sk_buff *frag;
1: + struct iphdr *iph;
1: + int offset;
1: + unsigned int hlen;
1: +};
1: +
1: +struct ip_frag_state {
1: + bool DF;
1: + unsigned int hlen;
1: + unsigned int ll_rs;
1: + unsigned int mtu;
1: + unsigned int left;
1: + int offset;
1: + int ptr;
1: + __be16 not_last_frag;
1: +};
1: +
1: +struct ip_reply_arg {
1: + struct kvec iov[1];
1: + int flags;
1: + __wsum csum;
1: + int csumoffset;
1: + int bound_dev_if;
1: + u8 tos;
1: + kuid_t uid;
1: +};
1: +
1: +enum {
1: + LWTUNNEL_XMIT_DONE = 0,
1: + LWTUNNEL_XMIT_CONTINUE = 1,
1: +};
1: +
1: +struct ip_mreq_source {
1: + __be32 imr_multiaddr;
1: + __be32 imr_interface;
1: + __be32 imr_sourceaddr;
1: +};
1: +
1: +struct ip_msfilter {
1: + __be32 imsf_multiaddr;
1: + __be32 imsf_interface;
1: + __u32 imsf_fmode;
1: + __u32 imsf_numsrc;
1: + __be32 imsf_slist[1];
1: +};
1: +
1: +struct in_pktinfo {
1: + int ipi_ifindex;
1: + struct in_addr ipi_spec_dst;
1: + struct in_addr ipi_addr;
1: +};
1: +
1: +struct inet_timewait_sock {
1: + struct sock_common __tw_common;
1: + __u32 tw_mark;
1: + volatile unsigned char tw_substate;
1: + unsigned char tw_rcv_wscale;
1: + __be16 tw_sport;
1: + unsigned int tw_kill: 1;
1: + unsigned int tw_transparent: 1;
1: + unsigned int tw_flowlabel: 20;
1: + unsigned int tw_pad: 2;
1: + unsigned int tw_tos: 8;
1: + u32 tw_txhash;
1: + u32 tw_priority;
1: + struct timer_list tw_timer;
1: + struct inet_bind_bucket *tw_tb;
1: +};
1: +
1: +struct tcpvegas_info {
1: + __u32 tcpv_enabled;
1: + __u32 tcpv_rttcnt;
1: + __u32 tcpv_rtt;
1: + __u32 tcpv_minrtt;
1: +};
1: +
1: +struct tcp_dctcp_info {
1: + __u16 dctcp_enabled;
1: + __u16 dctcp_ce_state;
1: + __u32 dctcp_alpha;
1: + __u32 dctcp_ab_ecn;
1: + __u32 dctcp_ab_tot;
1: +};
1: +
1: +struct tcp_bbr_info {
1: + __u32 bbr_bw_lo;
1: + __u32 bbr_bw_hi;
1: + __u32 bbr_min_rtt;
1: + __u32 bbr_pacing_gain;
1: + __u32 bbr_cwnd_gain;
1: +};
1: +
1: +union tcp_cc_info {
1: + struct tcpvegas_info vegas;
1: + struct tcp_dctcp_info dctcp;
1: + struct tcp_bbr_info bbr;
1: +};
1: +
1: +enum {
1: + BPF_TCP_ESTABLISHED = 1,
1: + BPF_TCP_SYN_SENT = 2,
1: + BPF_TCP_SYN_RECV = 3,
1: + BPF_TCP_FIN_WAIT1 = 4,
1: + BPF_TCP_FIN_WAIT2 = 5,
1: + BPF_TCP_TIME_WAIT = 6,
1: + BPF_TCP_CLOSE = 7,
1: + BPF_TCP_CLOSE_WAIT = 8,
1: + BPF_TCP_LAST_ACK = 9,
1: + BPF_TCP_LISTEN = 10,
1: + BPF_TCP_CLOSING = 11,
1: + BPF_TCP_NEW_SYN_RECV = 12,
1: + BPF_TCP_MAX_STATES = 13,
1: +};
1: +
1: +enum inet_csk_ack_state_t {
1: + ICSK_ACK_SCHED = 1,
1: + ICSK_ACK_TIMER = 2,
1: + ICSK_ACK_PUSHED = 4,
1: + ICSK_ACK_PUSHED2 = 8,
1: + ICSK_ACK_NOW = 16,
1: +};
1: +
1: +struct tcp_repair_opt {
1: + __u32 opt_code;
1: + __u32 opt_val;
1: +};
1: +
1: +struct tcp_repair_window {
1: + __u32 snd_wl1;
1: + __u32 snd_wnd;
1: + __u32 max_window;
1: + __u32 rcv_wnd;
1: + __u32 rcv_wup;
1: +};
1: +
1: +enum {
1: + TCP_NO_QUEUE = 0,
1: + TCP_RECV_QUEUE = 1,
1: + TCP_SEND_QUEUE = 2,
1: + TCP_QUEUES_NR = 3,
1: +};
1: +
1: +struct tcp_info {
1: + __u8 tcpi_state;
1: + __u8 tcpi_ca_state;
1: + __u8 tcpi_retransmits;
1: + __u8 tcpi_probes;
1: + __u8 tcpi_backoff;
1: + __u8 tcpi_options;
1: + __u8 tcpi_snd_wscale: 4;
1: + __u8 tcpi_rcv_wscale: 4;
1: + __u8 tcpi_delivery_rate_app_limited: 1;
1: + __u8 tcpi_fastopen_client_fail: 2;
1: + __u32 tcpi_rto;
1: + __u32 tcpi_ato;
1: + __u32 tcpi_snd_mss;
1: + __u32 tcpi_rcv_mss;
1: + __u32 tcpi_unacked;
1: + __u32 tcpi_sacked;
1: + __u32 tcpi_lost;
1: + __u32 tcpi_retrans;
1: + __u32 tcpi_fackets;
1: + __u32 tcpi_last_data_sent;
1: + __u32 tcpi_last_ack_sent;
1: + __u32 tcpi_last_data_recv;
1: + __u32 tcpi_last_ack_recv;
1: + __u32 tcpi_pmtu;
1: + __u32 tcpi_rcv_ssthresh;
1: + __u32 tcpi_rtt;
1: + __u32 tcpi_rttvar;
1: + __u32 tcpi_snd_ssthresh;
1: + __u32 tcpi_snd_cwnd;
1: + __u32 tcpi_advmss;
1: + __u32 tcpi_reordering;
1: + __u32 tcpi_rcv_rtt;
1: + __u32 tcpi_rcv_space;
1: + __u32 tcpi_total_retrans;
1: + __u64 tcpi_pacing_rate;
1: + __u64 tcpi_max_pacing_rate;
1: + __u64 tcpi_bytes_acked;
1: + __u64 tcpi_bytes_received;
1: + __u32 tcpi_segs_out;
1: + __u32 tcpi_segs_in;
1: + __u32 tcpi_notsent_bytes;
1: + __u32 tcpi_min_rtt;
1: + __u32 tcpi_data_segs_in;
1: + __u32 tcpi_data_segs_out;
1: + __u64 tcpi_delivery_rate;
1: + __u64 tcpi_busy_time;
1: + __u64 tcpi_rwnd_limited;
1: + __u64 tcpi_sndbuf_limited;
1: + __u32 tcpi_delivered;
1: + __u32 tcpi_delivered_ce;
1: + __u64 tcpi_bytes_sent;
1: + __u64 tcpi_bytes_retrans;
1: + __u32 tcpi_dsack_dups;
1: + __u32 tcpi_reord_seen;
1: + __u32 tcpi_rcv_ooopack;
1: + __u32 tcpi_snd_wnd;
1: +};
1: +
1: +enum {
1: + TCP_NLA_PAD = 0,
1: + TCP_NLA_BUSY = 1,
1: + TCP_NLA_RWND_LIMITED = 2,
1: + TCP_NLA_SNDBUF_LIMITED = 3,
1: + TCP_NLA_DATA_SEGS_OUT = 4,
1: + TCP_NLA_TOTAL_RETRANS = 5,
1: + TCP_NLA_PACING_RATE = 6,
1: + TCP_NLA_DELIVERY_RATE = 7,
1: + TCP_NLA_SND_CWND = 8,
1: + TCP_NLA_REORDERING = 9,
1: + TCP_NLA_MIN_RTT = 10,
1: + TCP_NLA_RECUR_RETRANS = 11,
1: + TCP_NLA_DELIVERY_RATE_APP_LMT = 12,
1: + TCP_NLA_SNDQ_SIZE = 13,
1: + TCP_NLA_CA_STATE = 14,
1: + TCP_NLA_SND_SSTHRESH = 15,
1: + TCP_NLA_DELIVERED = 16,
1: + TCP_NLA_DELIVERED_CE = 17,
1: + TCP_NLA_BYTES_SENT = 18,
1: + TCP_NLA_BYTES_RETRANS = 19,
1: + TCP_NLA_DSACK_DUPS = 20,
1: + TCP_NLA_REORD_SEEN = 21,
1: + TCP_NLA_SRTT = 22,
1: +};
1: +
1: +struct tcp_zerocopy_receive {
1: + __u64 address;
1: + __u32 length;
1: + __u32 recv_skip_hint;
1: +};
1: +
1: +struct tcp_md5sig_pool {
1: + struct ahash_request *md5_req;
1: + void *scratch;
1: +};
1: +
1: +enum tcp_chrono {
1: + TCP_CHRONO_UNSPEC = 0,
1: + TCP_CHRONO_BUSY = 1,
1: + TCP_CHRONO_RWND_LIMITED = 2,
1: + TCP_CHRONO_SNDBUF_LIMITED = 3,
1: + __TCP_CHRONO_MAX = 4,
1: +};
1: +
1: +struct tcp_splice_state {
1: + struct pipe_inode_info *pipe;
1: + size_t len;
1: + unsigned int flags;
1: +};
1: +
1: +enum tcp_fastopen_client_fail {
1: + TFO_STATUS_UNSPEC = 0,
1: + TFO_COOKIE_UNAVAILABLE = 1,
1: + TFO_DATA_NOT_ACKED = 2,
1: + TFO_SYN_RETRANSMITTED = 3,
1: +};
1: +
1: +enum tcp_queue {
1: + TCP_FRAG_IN_WRITE_QUEUE = 0,
1: + TCP_FRAG_IN_RTX_QUEUE = 1,
1: +};
1: +
1: +enum tcp_ca_ack_event_flags {
1: + CA_ACK_SLOWPATH = 1,
1: + CA_ACK_WIN_UPDATE = 2,
1: + CA_ACK_ECE = 4,
1: +};
1: +
1: +struct tcp_sacktag_state {
1: + u32 reord;
1: + u64 first_sackt;
1: + u64 last_sackt;
1: + struct rate_sample *rate;
1: + int flag;
1: + unsigned int mss_now;
1: +};
1: +
1: +enum tsq_flags {
1: + TSQF_THROTTLED = 1,
1: + TSQF_QUEUED = 2,
1: + TCPF_TSQ_DEFERRED = 4,
1: + TCPF_WRITE_TIMER_DEFERRED = 8,
1: + TCPF_DELACK_TIMER_DEFERRED = 16,
1: + TCPF_MTU_REDUCED_DEFERRED = 32,
1: +};
1: +
1: +struct tcp_out_options {
1: + u16 options;
1: + u16 mss;
1: + u8 ws;
1: + u8 num_sack_blocks;
1: + u8 hash_size;
1: + __u8 *hash_location;
1: + __u32 tsval;
1: + __u32 tsecr;
1: + struct tcp_fastopen_cookie *fastopen_cookie;
1: +};
1: +
1: +struct tsq_tasklet {
1: + struct tasklet_struct tasklet;
1: + struct list_head head;
1: +};
1: +
1: +struct tcp_md5sig {
1: + struct __kernel_sockaddr_storage tcpm_addr;
1: + __u8 tcpm_flags;
1: + __u8 tcpm_prefixlen;
1: + __u16 tcpm_keylen;
1: + __u32 __tcpm_pad;
1: + __u8 tcpm_key[80];
1: +};
1: +
1: +struct tcp_timewait_sock {
1: + struct inet_timewait_sock tw_sk;
1: + u32 tw_rcv_wnd;
1: + u32 tw_ts_offset;
1: + u32 tw_ts_recent;
1: + u32 tw_last_oow_ack_time;
1: + int tw_ts_recent_stamp;
1: + u32 tw_tx_delay;
1: + struct tcp_md5sig_key *tw_md5_key;
1: +};
1: +
1: +struct icmp_err {
1: + int errno;
1: + unsigned int fatal: 1;
1: +};
1: +
1: +enum tcp_tw_status {
1: + TCP_TW_SUCCESS = 0,
1: + TCP_TW_RST = 1,
1: + TCP_TW_ACK = 2,
1: + TCP_TW_SYN = 3,
1: +};
1: +
1: +struct tcp4_pseudohdr {
1: + __be32 saddr;
1: + __be32 daddr;
1: + __u8 pad;
1: + __u8 protocol;
1: + __be16 len;
1: +};
1: +
1: +enum tcp_seq_states {
1: + TCP_SEQ_STATE_LISTENING = 0,
1: + TCP_SEQ_STATE_ESTABLISHED = 1,
1: +};
1: +
1: +struct tcp_seq_afinfo {
1: + sa_family_t family;
1: +};
1: +
1: +struct tcp_iter_state {
1: + struct seq_net_private p;
1: + enum tcp_seq_states state;
1: + struct sock *syn_wait_sk;
1: + int bucket;
1: + int offset;
1: + int sbucket;
1: + int num;
1: + loff_t last_pos;
1: +};
1: +
1: +enum tcp_metric_index {
1: + TCP_METRIC_RTT = 0,
1: + TCP_METRIC_RTTVAR = 1,
1: + TCP_METRIC_SSTHRESH = 2,
1: + TCP_METRIC_CWND = 3,
1: + TCP_METRIC_REORDERING = 4,
1: + TCP_METRIC_RTT_US = 5,
1: + TCP_METRIC_RTTVAR_US = 6,
1: + __TCP_METRIC_MAX = 7,
1: +};
1: +
1: +enum {
1: + TCP_METRICS_ATTR_UNSPEC = 0,
1: + TCP_METRICS_ATTR_ADDR_IPV4 = 1,
1: + TCP_METRICS_ATTR_ADDR_IPV6 = 2,
1: + TCP_METRICS_ATTR_AGE = 3,
1: + TCP_METRICS_ATTR_TW_TSVAL = 4,
1: + TCP_METRICS_ATTR_TW_TS_STAMP = 5,
1: + TCP_METRICS_ATTR_VALS = 6,
1: + TCP_METRICS_ATTR_FOPEN_MSS = 7,
1: + TCP_METRICS_ATTR_FOPEN_SYN_DROPS = 8,
1: + TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS = 9,
1: + TCP_METRICS_ATTR_FOPEN_COOKIE = 10,
1: + TCP_METRICS_ATTR_SADDR_IPV4 = 11,
1: + TCP_METRICS_ATTR_SADDR_IPV6 = 12,
1: + TCP_METRICS_ATTR_PAD = 13,
1: + __TCP_METRICS_ATTR_MAX = 14,
1: +};
1: +
1: +enum {
1: + TCP_METRICS_CMD_UNSPEC = 0,
1: + TCP_METRICS_CMD_GET = 1,
1: + TCP_METRICS_CMD_DEL = 2,
1: + __TCP_METRICS_CMD_MAX = 3,
1: +};
1: +
1: +struct tcp_fastopen_metrics {
1: + u16 mss;
1: + u16 syn_loss: 10;
1: + u16 try_exp: 2;
1: + long unsigned int last_syn_loss;
1: + struct tcp_fastopen_cookie cookie;
1: +};
1: +
1: +struct tcp_metrics_block {
1: + struct tcp_metrics_block *tcpm_next;
1: + possible_net_t tcpm_net;
1: + struct inetpeer_addr tcpm_saddr;
1: + struct inetpeer_addr tcpm_daddr;
1: + long unsigned int tcpm_stamp;
1: + u32 tcpm_lock;
1: + u32 tcpm_vals[5];
1: + struct tcp_fastopen_metrics tcpm_fastopen;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct tcpm_hash_bucket {
1: + struct tcp_metrics_block *chain;
1: +};
1: +
1: +struct icmp_filter {
1: + __u32 data;
1: +};
1: +
1: +struct raw_iter_state {
1: + struct seq_net_private p;
1: + int bucket;
1: +};
1: +
1: +struct raw_sock {
1: + struct inet_sock inet;
1: + struct icmp_filter filter;
1: + u32 ipmr_table;
1: +};
1: +
1: +struct raw_frag_vec {
1: + struct msghdr *msg;
1: + union {
1: + struct icmphdr icmph;
1: + char c[1];
1: + } hdr;
1: + int hlen;
1: +};
1: +
1: +struct udp_sock {
1: + struct inet_sock inet;
1: + int pending;
1: + unsigned int corkflag;
1: + __u8 encap_type;
1: + unsigned char no_check6_tx: 1;
1: + unsigned char no_check6_rx: 1;
1: + unsigned char encap_enabled: 1;
1: + unsigned char gro_enabled: 1;
1: + __u16 len;
1: + __u16 gso_size;
1: + __u16 pcslen;
1: + __u16 pcrlen;
1: + __u8 pcflag;
1: + __u8 unused[3];
1: + int (*encap_rcv)(struct sock *, struct sk_buff *);
1: + int (*encap_err_lookup)(struct sock *, struct sk_buff *);
1: + void (*encap_destroy)(struct sock *);
1: + struct sk_buff * (*gro_receive)(struct sock *, struct list_head *, struct sk_buff *);
1: + int (*gro_complete)(struct sock *, struct sk_buff *, int);
1: + long: 64;
1: + long: 64;
1: + struct sk_buff_head reader_queue;
1: + int forward_deficit;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct udp_skb_cb {
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + __u16 cscov;
1: + __u8 partial_cov;
1: +};
1: +
1: +struct udp_dev_scratch {
1: + u32 _tsize_state;
1: + u16 len;
1: + bool is_linear;
1: + bool csum_unnecessary;
1: +};
1: +
1: +struct udp_seq_afinfo {
1: + sa_family_t family;
1: + struct udp_table *udp_table;
1: +};
1: +
1: +struct udp_iter_state {
1: + struct seq_net_private p;
1: + int bucket;
1: +};
1: +
1: +struct inet_protosw {
1: + struct list_head list;
1: + short unsigned int type;
1: + short unsigned int protocol;
1: + struct proto *prot;
1: + const struct proto_ops *ops;
1: + unsigned char flags;
1: +};
1: +
1: +typedef struct sk_buff * (*gro_receive_sk_t)(struct sock *, struct list_head *, struct sk_buff *);
1: +
1: +typedef struct sock * (*udp_lookup_t)(struct sk_buff *, __be16, __be16);
1: +
1: +struct arpreq {
1: + struct sockaddr arp_pa;
1: + struct sockaddr arp_ha;
1: + int arp_flags;
1: + struct sockaddr arp_netmask;
1: + char arp_dev[16];
1: +};
1: +
1: +enum {
1: + AX25_VALUES_IPDEFMODE = 0,
1: + AX25_VALUES_AXDEFMODE = 1,
1: + AX25_VALUES_BACKOFF = 2,
1: + AX25_VALUES_CONMODE = 3,
1: + AX25_VALUES_WINDOW = 4,
1: + AX25_VALUES_EWINDOW = 5,
1: + AX25_VALUES_T1 = 6,
1: + AX25_VALUES_T2 = 7,
1: + AX25_VALUES_T3 = 8,
1: + AX25_VALUES_IDLE = 9,
1: + AX25_VALUES_N2 = 10,
1: + AX25_VALUES_PACLEN = 11,
1: + AX25_VALUES_PROTOCOL = 12,
1: + AX25_VALUES_DS_TIMEOUT = 13,
1: + AX25_MAX_VALUES = 14,
1: +};
1: +
1: +enum {
1: + XFRM_LOOKUP_ICMP = 1,
1: + XFRM_LOOKUP_QUEUE = 2,
1: + XFRM_LOOKUP_KEEP_DST_REF = 4,
1: +};
1: +
1: +struct icmp_bxm {
1: + struct sk_buff *skb;
1: + int offset;
1: + int data_len;
1: + struct {
1: + struct icmphdr icmph;
1: + __be32 times[3];
1: + } data;
1: + int head_len;
1: + struct ip_options_data replyopts;
1: +};
1: +
1: +struct icmp_control {
1: + bool (*handler)(struct sk_buff *);
1: + short int error;
1: +};
1: +
1: +struct ifaddrmsg {
1: + __u8 ifa_family;
1: + __u8 ifa_prefixlen;
1: + __u8 ifa_flags;
1: + __u8 ifa_scope;
1: + __u32 ifa_index;
1: +};
1: +
1: +enum {
1: + IFA_UNSPEC = 0,
1: + IFA_ADDRESS = 1,
1: + IFA_LOCAL = 2,
1: + IFA_LABEL = 3,
1: + IFA_BROADCAST = 4,
1: + IFA_ANYCAST = 5,
1: + IFA_CACHEINFO = 6,
1: + IFA_MULTICAST = 7,
1: + IFA_FLAGS = 8,
1: + IFA_RT_PRIORITY = 9,
1: + IFA_TARGET_NETNSID = 10,
1: + __IFA_MAX = 11,
1: +};
1: +
1: +struct ifa_cacheinfo {
1: + __u32 ifa_prefered;
1: + __u32 ifa_valid;
1: + __u32 cstamp;
1: + __u32 tstamp;
1: +};
1: +
1: +enum {
1: + IFLA_INET_UNSPEC = 0,
1: + IFLA_INET_CONF = 1,
1: + __IFLA_INET_MAX = 2,
1: +};
1: +
1: +struct in_validator_info {
1: + __be32 ivi_addr;
1: + struct in_device *ivi_dev;
1: + struct netlink_ext_ack *extack;
1: +};
1: +
1: +struct netconfmsg {
1: + __u8 ncm_family;
1: +};
1: +
1: +enum {
1: + NETCONFA_UNSPEC = 0,
1: + NETCONFA_IFINDEX = 1,
1: + NETCONFA_FORWARDING = 2,
1: + NETCONFA_RP_FILTER = 3,
1: + NETCONFA_MC_FORWARDING = 4,
1: + NETCONFA_PROXY_NEIGH = 5,
1: + NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6,
1: + NETCONFA_INPUT = 7,
1: + NETCONFA_BC_FORWARDING = 8,
1: + __NETCONFA_MAX = 9,
1: +};
1: +
1: +struct inet_fill_args {
1: + u32 portid;
1: + u32 seq;
1: + int event;
1: + unsigned int flags;
1: + int netnsid;
1: + int ifindex;
1: +};
1: +
1: +struct devinet_sysctl_table {
1: + struct ctl_table_header *sysctl_header;
1: + struct ctl_table devinet_vars[33];
1: +};
1: +
1: +struct pingv6_ops {
1: + int (*ipv6_recv_error)(struct sock *, struct msghdr *, int, int *);
1: + void (*ip6_datagram_recv_common_ctl)(struct sock *, struct msghdr *, struct sk_buff *);
1: + void (*ip6_datagram_recv_specific_ctl)(struct sock *, struct msghdr *, struct sk_buff *);
1: + int (*icmpv6_err_convert)(u8, u8, int *);
1: + void (*ipv6_icmp_error)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *);
1: + int (*ipv6_chk_addr)(struct net *, const struct in6_addr *, const struct net_device *, int);
1: +};
1: +
1: +struct igmphdr {
1: + __u8 type;
1: + __u8 code;
1: + __sum16 csum;
1: + __be32 group;
1: +};
1: +
1: +struct igmpv3_grec {
1: + __u8 grec_type;
1: + __u8 grec_auxwords;
1: + __be16 grec_nsrcs;
1: + __be32 grec_mca;
1: + __be32 grec_src[0];
1: +};
1: +
1: +struct igmpv3_report {
1: + __u8 type;
1: + __u8 resv1;
1: + __sum16 csum;
1: + __be16 resv2;
1: + __be16 ngrec;
1: + struct igmpv3_grec grec[0];
1: +};
1: +
1: +struct igmpv3_query {
1: + __u8 type;
1: + __u8 code;
1: + __sum16 csum;
1: + __be32 group;
1: + __u8 qrv: 3;
1: + __u8 suppress: 1;
1: + __u8 resv: 4;
1: + __u8 qqic;
1: + __be16 nsrcs;
1: + __be32 srcs[0];
1: +};
1: +
1: +struct igmp_mc_iter_state {
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct in_device *in_dev;
1: +};
1: +
1: +struct igmp_mcf_iter_state {
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct in_device *idev;
1: + struct ip_mc_list *im;
1: +};
1: +
1: +struct rtnexthop {
1: + short unsigned int rtnh_len;
1: + unsigned char rtnh_flags;
1: + unsigned char rtnh_hops;
1: + int rtnh_ifindex;
1: +};
1: +
1: +struct fib_config {
1: + u8 fc_dst_len;
1: + u8 fc_tos;
1: + u8 fc_protocol;
1: + u8 fc_scope;
1: + u8 fc_type;
1: + u8 fc_gw_family;
1: + u32 fc_table;
1: + __be32 fc_dst;
1: + union {
1: + __be32 fc_gw4;
1: + struct in6_addr fc_gw6;
1: + };
1: + int fc_oif;
1: + u32 fc_flags;
1: + u32 fc_priority;
1: + __be32 fc_prefsrc;
1: + u32 fc_nh_id;
1: + struct nlattr *fc_mx;
1: + struct rtnexthop *fc_mp;
1: + int fc_mx_len;
1: + int fc_mp_len;
1: + u32 fc_flow;
1: + u32 fc_nlflags;
1: + struct nl_info fc_nlinfo;
1: + struct nlattr *fc_encap;
1: + u16 fc_encap_type;
1: +};
1: +
1: +struct fib_result_nl {
1: + __be32 fl_addr;
1: + u32 fl_mark;
1: + unsigned char fl_tos;
1: + unsigned char fl_scope;
1: + unsigned char tb_id_in;
1: + unsigned char tb_id;
1: + unsigned char prefixlen;
1: + unsigned char nh_sel;
1: + unsigned char type;
1: + unsigned char scope;
1: + int err;
1: +};
1: +
1: +struct fib_dump_filter {
1: + u32 table_id;
1: + bool filter_set;
1: + bool dump_all_families;
1: + bool dump_routes;
1: + bool dump_exceptions;
1: + unsigned char protocol;
1: + unsigned char rt_type;
1: + unsigned int flags;
1: + struct net_device *dev;
1: +};
1: +
1: +struct fib_nh_notifier_info {
1: + struct fib_notifier_info info;
1: + struct fib_nh *fib_nh;
1: +};
1: +
1: +enum lwtunnel_encap_types {
1: + LWTUNNEL_ENCAP_NONE = 0,
1: + LWTUNNEL_ENCAP_MPLS = 1,
1: + LWTUNNEL_ENCAP_IP = 2,
1: + LWTUNNEL_ENCAP_ILA = 3,
1: + LWTUNNEL_ENCAP_IP6 = 4,
1: + LWTUNNEL_ENCAP_SEG6 = 5,
1: + LWTUNNEL_ENCAP_BPF = 6,
1: + LWTUNNEL_ENCAP_SEG6_LOCAL = 7,
1: + __LWTUNNEL_ENCAP_MAX = 8,
1: +};
1: +
1: +struct fib_alias {
1: + struct hlist_node fa_list;
1: + struct fib_info *fa_info;
1: + u8 fa_tos;
1: + u8 fa_type;
1: + u8 fa_state;
1: + u8 fa_slen;
1: + u32 tb_id;
1: + s16 fa_default;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct fib_entry_notifier_info {
1: + struct fib_notifier_info info;
1: + u32 dst;
1: + int dst_len;
1: + struct fib_info *fi;
1: + u8 tos;
1: + u8 type;
1: + u32 tb_id;
1: +};
1: +
1: +typedef unsigned int t_key;
1: +
1: +struct key_vector {
1: + t_key key;
1: + unsigned char pos;
1: + unsigned char bits;
1: + unsigned char slen;
1: + union {
1: + struct hlist_head leaf;
1: + struct key_vector *tnode[0];
1: + };
1: +};
1: +
1: +struct tnode {
1: + struct callback_head rcu;
1: + t_key empty_children;
1: + t_key full_children;
1: + struct key_vector *parent;
1: + struct key_vector kv[1];
1: +};
1: +
1: +struct trie_stat {
1: + unsigned int totdepth;
1: + unsigned int maxdepth;
1: + unsigned int tnodes;
1: + unsigned int leaves;
1: + unsigned int nullpointers;
1: + unsigned int prefixes;
1: + unsigned int nodesizes[32];
1: +};
1: +
1: +struct trie {
1: + struct key_vector kv[1];
1: +};
1: +
1: +struct fib_trie_iter {
1: + struct seq_net_private p;
1: + struct fib_table *tb;
1: + struct key_vector *tnode;
1: + unsigned int index;
1: + unsigned int depth;
1: +};
1: +
1: +struct fib_route_iter {
1: + struct seq_net_private p;
1: + struct fib_table *main_tb;
1: + struct key_vector *tnode;
1: + loff_t pos;
1: + t_key key;
1: +};
1: +
1: +struct ipfrag_skb_cb {
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + };
1: + struct sk_buff *next_frag;
1: + int frag_run_len;
1: +};
1: +
1: +struct ping_iter_state {
1: + struct seq_net_private p;
1: + int bucket;
1: + sa_family_t family;
1: +};
1: +
1: +struct pingfakehdr {
1: + struct icmphdr icmph;
1: + struct msghdr *msg;
1: + sa_family_t family;
1: + __wsum wcheck;
1: +};
1: +
1: +struct ping_table {
1: + struct hlist_nulls_head hash[64];
1: + rwlock_t lock;
1: +};
1: +
1: +struct lwtunnel_encap_ops {
1: + int (*build_state)(struct nlattr *, unsigned int, const void *, struct lwtunnel_state **, struct netlink_ext_ack *);
1: + void (*destroy_state)(struct lwtunnel_state *);
1: + int (*output)(struct net *, struct sock *, struct sk_buff *);
1: + int (*input)(struct sk_buff *);
1: + int (*fill_encap)(struct sk_buff *, struct lwtunnel_state *);
1: + int (*get_encap_size)(struct lwtunnel_state *);
1: + int (*cmp_encap)(struct lwtunnel_state *, struct lwtunnel_state *);
1: + int (*xmit)(struct sk_buff *);
1: + struct module *owner;
1: +};
1: +
1: +struct ip6_tnl_encap_ops {
1: + size_t (*encap_hlen)(struct ip_tunnel_encap *);
1: + int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *, struct flowi6 *);
1: + int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32);
1: +};
1: +
1: +struct erspan_md2 {
1: + __be32 timestamp;
1: + __be16 sgt;
1: + __u8 hwid_upper: 2;
1: + __u8 ft: 5;
1: + __u8 p: 1;
1: + __u8 o: 1;
1: + __u8 gra: 2;
1: + __u8 dir: 1;
1: + __u8 hwid: 4;
1: +};
1: +
1: +struct nhmsg {
1: + unsigned char nh_family;
1: + unsigned char nh_scope;
1: + unsigned char nh_protocol;
1: + unsigned char resvd;
1: + unsigned int nh_flags;
1: +};
1: +
1: +struct nexthop_grp {
1: + __u32 id;
1: + __u8 weight;
1: + __u8 resvd1;
1: + __u16 resvd2;
1: +};
1: +
1: +enum {
1: + NEXTHOP_GRP_TYPE_MPATH = 0,
1: + __NEXTHOP_GRP_TYPE_MAX = 1,
1: +};
1: +
1: +enum {
1: + NHA_UNSPEC = 0,
1: + NHA_ID = 1,
1: + NHA_GROUP = 2,
1: + NHA_GROUP_TYPE = 3,
1: + NHA_BLACKHOLE = 4,
1: + NHA_OIF = 5,
1: + NHA_GATEWAY = 6,
1: + NHA_ENCAP_TYPE = 7,
1: + NHA_ENCAP = 8,
1: + NHA_GROUPS = 9,
1: + NHA_MASTER = 10,
1: + __NHA_MAX = 11,
1: +};
1: +
1: +struct nh_config {
1: + u32 nh_id;
1: + u8 nh_family;
1: + u8 nh_protocol;
1: + u8 nh_blackhole;
1: + u32 nh_flags;
1: + int nh_ifindex;
1: + struct net_device *dev;
1: + union {
1: + __be32 ipv4;
1: + struct in6_addr ipv6;
1: + } gw;
1: + struct nlattr *nh_grp;
1: + u16 nh_grp_type;
1: + struct nlattr *nh_encap;
1: + u16 nh_encap_type;
1: + u32 nlflags;
1: + struct nl_info nlinfo;
1: +};
1: +
1: +struct ip_tunnel_parm {
1: + char name[16];
1: + int link;
1: + __be16 i_flags;
1: + __be16 o_flags;
1: + __be32 i_key;
1: + __be32 o_key;
1: + struct iphdr iph;
1: +};
1: +
1: +enum tunnel_encap_types {
1: + TUNNEL_ENCAP_NONE = 0,
1: + TUNNEL_ENCAP_FOU = 1,
1: + TUNNEL_ENCAP_GUE = 2,
1: + TUNNEL_ENCAP_MPLS = 3,
1: +};
1: +
1: +struct ip_tunnel_prl_entry {
1: + struct ip_tunnel_prl_entry *next;
1: + __be32 addr;
1: + u16 flags;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct ip_tunnel {
1: + struct ip_tunnel *next;
1: + struct hlist_node hash_node;
1: + struct net_device *dev;
1: + struct net *net;
1: + long unsigned int err_time;
1: + int err_count;
1: + u32 i_seqno;
1: + u32 o_seqno;
1: + int tun_hlen;
1: + u32 index;
1: + u8 erspan_ver;
1: + u8 dir;
1: + u16 hwid;
1: + struct dst_cache dst_cache;
1: + struct ip_tunnel_parm parms;
1: + int mlink;
1: + int encap_hlen;
1: + int hlen;
1: + struct ip_tunnel_encap encap;
1: + struct ip_tunnel_prl_entry *prl;
1: + unsigned int prl_count;
1: + unsigned int ip_tnl_net_id;
1: + struct gro_cells gro_cells;
1: + __u32 fwmark;
1: + bool collect_md;
1: + bool ignore_df;
1: +};
1: +
1: +struct tnl_ptk_info {
1: + __be16 flags;
1: + __be16 proto;
1: + __be32 key;
1: + __be32 seq;
1: + int hdr_len;
1: +};
1: +
1: +struct ip_tunnel_net {
1: + struct net_device *fb_tunnel_dev;
1: + struct rtnl_link_ops *rtnl_link_ops;
1: + struct hlist_head tunnels[128];
1: + struct ip_tunnel *collect_md_tun;
1: + int type;
1: +};
1: +
1: +struct inet6_protocol {
1: + void (*early_demux)(struct sk_buff *);
1: + void (*early_demux_handler)(struct sk_buff *);
1: + int (*handler)(struct sk_buff *);
1: + int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32);
1: + unsigned int flags;
1: +};
1: +
1: +struct snmp_mib {
1: + const char *name;
1: + int entry;
1: +};
1: +
1: +struct fib4_rule {
1: + struct fib_rule common;
1: + u8 dst_len;
1: + u8 src_len;
1: + u8 tos;
1: + __be32 src;
1: + __be32 srcmask;
1: + __be32 dst;
1: + __be32 dstmask;
1: +};
1: +
1: +enum {
1: + PIM_TYPE_HELLO = 0,
1: + PIM_TYPE_REGISTER = 1,
1: + PIM_TYPE_REGISTER_STOP = 2,
1: + PIM_TYPE_JOIN_PRUNE = 3,
1: + PIM_TYPE_BOOTSTRAP = 4,
1: + PIM_TYPE_ASSERT = 5,
1: + PIM_TYPE_GRAFT = 6,
1: + PIM_TYPE_GRAFT_ACK = 7,
1: + PIM_TYPE_CANDIDATE_RP_ADV = 8,
1: +};
1: +
1: +struct pimreghdr {
1: + __u8 type;
1: + __u8 reserved;
1: + __be16 csum;
1: + __be32 flags;
1: +};
1: +
1: +typedef short unsigned int vifi_t;
1: +
1: +struct vifctl {
1: + vifi_t vifc_vifi;
1: + unsigned char vifc_flags;
1: + unsigned char vifc_threshold;
1: + unsigned int vifc_rate_limit;
1: + union {
1: + struct in_addr vifc_lcl_addr;
1: + int vifc_lcl_ifindex;
1: + };
1: + struct in_addr vifc_rmt_addr;
1: +};
1: +
1: +struct mfcctl {
1: + struct in_addr mfcc_origin;
1: + struct in_addr mfcc_mcastgrp;
1: + vifi_t mfcc_parent;
1: + unsigned char mfcc_ttls[32];
1: + unsigned int mfcc_pkt_cnt;
1: + unsigned int mfcc_byte_cnt;
1: + unsigned int mfcc_wrong_if;
1: + int mfcc_expire;
1: +};
1: +
1: +struct sioc_sg_req {
1: + struct in_addr src;
1: + struct in_addr grp;
1: + long unsigned int pktcnt;
1: + long unsigned int bytecnt;
1: + long unsigned int wrong_if;
1: +};
1: +
1: +struct sioc_vif_req {
1: + vifi_t vifi;
1: + long unsigned int icount;
1: + long unsigned int ocount;
1: + long unsigned int ibytes;
1: + long unsigned int obytes;
1: +};
1: +
1: +struct igmpmsg {
1: + __u32 unused1;
1: + __u32 unused2;
1: + unsigned char im_msgtype;
1: + unsigned char im_mbz;
1: + unsigned char im_vif;
1: + unsigned char unused3;
1: + struct in_addr im_src;
1: + struct in_addr im_dst;
1: +};
1: +
1: +enum {
1: + IPMRA_TABLE_UNSPEC = 0,
1: + IPMRA_TABLE_ID = 1,
1: + IPMRA_TABLE_CACHE_RES_QUEUE_LEN = 2,
1: + IPMRA_TABLE_MROUTE_REG_VIF_NUM = 3,
1: + IPMRA_TABLE_MROUTE_DO_ASSERT = 4,
1: + IPMRA_TABLE_MROUTE_DO_PIM = 5,
1: + IPMRA_TABLE_VIFS = 6,
1: + IPMRA_TABLE_MROUTE_DO_WRVIFWHOLE = 7,
1: + __IPMRA_TABLE_MAX = 8,
1: +};
1: +
1: +enum {
1: + IPMRA_VIF_UNSPEC = 0,
1: + IPMRA_VIF = 1,
1: + __IPMRA_VIF_MAX = 2,
1: +};
1: +
1: +enum {
1: + IPMRA_VIFA_UNSPEC = 0,
1: + IPMRA_VIFA_IFINDEX = 1,
1: + IPMRA_VIFA_VIF_ID = 2,
1: + IPMRA_VIFA_FLAGS = 3,
1: + IPMRA_VIFA_BYTES_IN = 4,
1: + IPMRA_VIFA_BYTES_OUT = 5,
1: + IPMRA_VIFA_PACKETS_IN = 6,
1: + IPMRA_VIFA_PACKETS_OUT = 7,
1: + IPMRA_VIFA_LOCAL_ADDR = 8,
1: + IPMRA_VIFA_REMOTE_ADDR = 9,
1: + IPMRA_VIFA_PAD = 10,
1: + __IPMRA_VIFA_MAX = 11,
1: +};
1: +
1: +enum {
1: + IPMRA_CREPORT_UNSPEC = 0,
1: + IPMRA_CREPORT_MSGTYPE = 1,
1: + IPMRA_CREPORT_VIF_ID = 2,
1: + IPMRA_CREPORT_SRC_ADDR = 3,
1: + IPMRA_CREPORT_DST_ADDR = 4,
1: + IPMRA_CREPORT_PKT = 5,
1: + __IPMRA_CREPORT_MAX = 6,
1: +};
1: +
1: +struct vif_entry_notifier_info {
1: + struct fib_notifier_info info;
1: + struct net_device *dev;
1: + short unsigned int vif_index;
1: + short unsigned int vif_flags;
1: + u32 tb_id;
1: +};
1: +
1: +enum {
1: + MFC_STATIC = 1,
1: + MFC_OFFLOAD = 2,
1: +};
1: +
1: +struct mr_mfc {
1: + struct rhlist_head mnode;
1: + short unsigned int mfc_parent;
1: + int mfc_flags;
1: + union {
1: + struct {
1: + long unsigned int expires;
1: + struct sk_buff_head unresolved;
1: + } unres;
1: + struct {
1: + long unsigned int last_assert;
1: + int minvif;
1: + int maxvif;
1: + long unsigned int bytes;
1: + long unsigned int pkt;
1: + long unsigned int wrong_if;
1: + long unsigned int lastuse;
1: + unsigned char ttls[32];
1: + refcount_t refcount;
1: + } res;
1: + } mfc_un;
1: + struct list_head list;
1: + struct callback_head rcu;
1: + void (*free)(struct callback_head *);
1: +};
1: +
1: +struct mfc_entry_notifier_info {
1: + struct fib_notifier_info info;
1: + struct mr_mfc *mfc;
1: + u32 tb_id;
1: +};
1: +
1: +struct mr_vif_iter {
1: + struct seq_net_private p;
1: + struct mr_table *mrt;
1: + int ct;
1: +};
1: +
1: +struct mr_mfc_iter {
1: + struct seq_net_private p;
1: + struct mr_table *mrt;
1: + struct list_head *cache;
1: + spinlock_t *lock;
1: +};
1: +
1: +struct mfc_cache_cmp_arg {
1: + __be32 mfc_mcastgrp;
1: + __be32 mfc_origin;
1: +};
1: +
1: +struct mfc_cache {
1: + struct mr_mfc _c;
1: + union {
1: + struct {
1: + __be32 mfc_mcastgrp;
1: + __be32 mfc_origin;
1: + };
1: + struct mfc_cache_cmp_arg cmparg;
1: + };
1: +};
1: +
1: +struct compat_sioc_sg_req {
1: + struct in_addr src;
1: + struct in_addr grp;
1: + compat_ulong_t pktcnt;
1: + compat_ulong_t bytecnt;
1: + compat_ulong_t wrong_if;
1: +};
1: +
1: +struct compat_sioc_vif_req {
1: + vifi_t vifi;
1: + compat_ulong_t icount;
1: + compat_ulong_t ocount;
1: + compat_ulong_t ibytes;
1: + compat_ulong_t obytes;
1: +};
1: +
1: +typedef u64 pao_T_____5;
1: +
1: +struct rta_mfc_stats {
1: + __u64 mfcs_packets;
1: + __u64 mfcs_bytes;
1: + __u64 mfcs_wrong_if;
1: +};
1: +
1: +struct xfrm_tunnel {
1: + int (*handler)(struct sk_buff *);
1: + int (*err_handler)(struct sk_buff *, u32);
1: + struct xfrm_tunnel *next;
1: + int priority;
1: +};
1: +
1: +struct ic_device {
1: + struct ic_device *next;
1: + struct net_device *dev;
1: + short unsigned int flags;
1: + short int able;
1: + __be32 xid;
1: +};
1: +
1: +struct bootp_pkt {
1: + struct iphdr iph;
1: + struct udphdr udph;
1: + u8 op;
1: + u8 htype;
1: + u8 hlen;
1: + u8 hops;
1: + __be32 xid;
1: + __be16 secs;
1: + __be16 flags;
1: + __be32 client_ip;
1: + __be32 your_ip;
1: + __be32 server_ip;
1: + __be32 relay_ip;
1: + u8 hw_addr[16];
1: + u8 serv_name[64];
1: + u8 boot_file[128];
1: + u8 exten[312];
1: +};
1: +
1: +struct xt_get_revision {
1: + char name[29];
1: + __u8 revision;
1: +};
1: +
1: +struct ipt_icmp {
1: + __u8 type;
1: + __u8 code[2];
1: + __u8 invflags;
1: +};
1: +
1: +struct ipt_getinfo {
1: + char name[32];
1: + unsigned int valid_hooks;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int num_entries;
1: + unsigned int size;
1: +};
1: +
1: +struct ipt_replace {
1: + char name[32];
1: + unsigned int valid_hooks;
1: + unsigned int num_entries;
1: + unsigned int size;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int num_counters;
1: + struct xt_counters *counters;
1: + struct ipt_entry entries[0];
1: +};
1: +
1: +struct ipt_get_entries {
1: + char name[32];
1: + unsigned int size;
1: + struct ipt_entry entrytable[0];
1: +};
1: +
1: +struct ipt_standard {
1: + struct ipt_entry entry;
1: + struct xt_standard_target target;
1: +};
1: +
1: +struct ipt_error {
1: + struct ipt_entry entry;
1: + struct xt_error_target target;
1: +};
1: +
1: +struct compat_ipt_entry {
1: + struct ipt_ip ip;
1: + compat_uint_t nfcache;
1: + __u16 target_offset;
1: + __u16 next_offset;
1: + compat_uint_t comefrom;
1: + struct compat_xt_counters counters;
1: + unsigned char elems[0];
1: +};
1: +
1: +struct compat_ipt_replace {
1: + char name[32];
1: + u32 valid_hooks;
1: + u32 num_entries;
1: + u32 size;
1: + u32 hook_entry[5];
1: + u32 underflow[5];
1: + u32 num_counters;
1: + compat_uptr_t counters;
1: + struct compat_ipt_entry entries[0];
1: +} __attribute__((packed));
1: +
1: +struct compat_ipt_get_entries {
1: + char name[32];
1: + compat_uint_t size;
1: + struct compat_ipt_entry entrytable[0];
1: +} __attribute__((packed));
1: +
1: +enum ipt_reject_with {
1: + IPT_ICMP_NET_UNREACHABLE = 0,
1: + IPT_ICMP_HOST_UNREACHABLE = 1,
1: + IPT_ICMP_PROT_UNREACHABLE = 2,
1: + IPT_ICMP_PORT_UNREACHABLE = 3,
1: + IPT_ICMP_ECHOREPLY = 4,
1: + IPT_ICMP_NET_PROHIBITED = 5,
1: + IPT_ICMP_HOST_PROHIBITED = 6,
1: + IPT_TCP_RESET = 7,
1: + IPT_ICMP_ADMIN_PROHIBITED = 8,
1: +};
1: +
1: +struct ipt_reject_info {
1: + enum ipt_reject_with with;
1: +};
1: +
1: +struct bictcp {
1: + u32 cnt;
1: + u32 last_max_cwnd;
1: + u32 last_cwnd;
1: + u32 last_time;
1: + u32 bic_origin_point;
1: + u32 bic_K;
1: + u32 delay_min;
1: + u32 epoch_start;
1: + u32 ack_cnt;
1: + u32 tcp_cwnd;
1: + u16 unused;
1: + u8 sample_cnt;
1: + u8 found;
1: + u32 round_start;
1: + u32 end_seq;
1: + u32 last_ack;
1: + u32 curr_rtt;
1: +};
1: +
1: +struct netlbl_audit {
1: + u32 secid;
1: + kuid_t loginuid;
1: + unsigned int sessionid;
1: +};
1: +
1: +struct cipso_v4_std_map_tbl {
1: + struct {
1: + u32 *cipso;
1: + u32 *local;
1: + u32 cipso_size;
1: + u32 local_size;
1: + } lvl;
1: + struct {
1: + u32 *cipso;
1: + u32 *local;
1: + u32 cipso_size;
1: + u32 local_size;
1: + } cat;
1: +};
1: +
1: +struct cipso_v4_doi {
1: + u32 doi;
1: + u32 type;
1: + union {
1: + struct cipso_v4_std_map_tbl *std;
1: + } map;
1: + u8 tags[5];
1: + refcount_t refcount;
1: + struct list_head list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct cipso_v4_map_cache_bkt {
1: + spinlock_t lock;
1: + u32 size;
1: + struct list_head list;
1: +};
1: +
1: +struct cipso_v4_map_cache_entry {
1: + u32 hash;
1: + unsigned char *key;
1: + size_t key_len;
1: + struct netlbl_lsm_cache *lsm_data;
1: + u32 activity;
1: + struct list_head list;
1: +};
1: +
1: +struct xfrm_policy_afinfo {
1: + struct dst_ops *dst_ops;
1: + struct dst_entry * (*dst_lookup)(struct net *, int, int, const xfrm_address_t *, const xfrm_address_t *, u32);
1: + int (*get_saddr)(struct net *, int, xfrm_address_t *, xfrm_address_t *, u32);
1: + int (*fill_dst)(struct xfrm_dst *, struct net_device *, const struct flowi *);
1: + struct dst_entry * (*blackhole_route)(struct net *, struct dst_entry *);
1: +};
1: +
1: +struct xfrm_state_afinfo {
1: + u8 family;
1: + u8 proto;
1: + const struct xfrm_type_offload *type_offload_esp;
1: + const struct xfrm_type *type_esp;
1: + const struct xfrm_type *type_ipip;
1: + const struct xfrm_type *type_ipip6;
1: + const struct xfrm_type *type_comp;
1: + const struct xfrm_type *type_ah;
1: + const struct xfrm_type *type_routing;
1: + const struct xfrm_type *type_dstopts;
1: + int (*output)(struct net *, struct sock *, struct sk_buff *);
1: + int (*output_finish)(struct sock *, struct sk_buff *);
1: + int (*extract_input)(struct xfrm_state *, struct sk_buff *);
1: + int (*extract_output)(struct xfrm_state *, struct sk_buff *);
1: + int (*transport_finish)(struct sk_buff *, int);
1: + void (*local_error)(struct sk_buff *, u32);
1: +};
1: +
1: +struct ip6_tnl;
1: +
1: +struct xfrm_tunnel_skb_cb {
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + union {
1: + struct ip_tunnel *ip4;
1: + struct ip6_tnl *ip6;
1: + } tunnel;
1: +};
1: +
1: +struct xfrm_mode_skb_cb {
1: + struct xfrm_tunnel_skb_cb header;
1: + __be16 id;
1: + __be16 frag_off;
1: + u8 ihl;
1: + u8 tos;
1: + u8 ttl;
1: + u8 protocol;
1: + u8 optlen;
1: + u8 flow_lbl[3];
1: +};
1: +
1: +struct xfrm_spi_skb_cb {
1: + struct xfrm_tunnel_skb_cb header;
1: + unsigned int daddroff;
1: + unsigned int family;
1: + __be32 seq;
1: +};
1: +
1: +struct xfrm_input_afinfo {
1: + unsigned int family;
1: + int (*callback)(struct sk_buff *, u8, int);
1: +};
1: +
1: +struct xfrm4_protocol {
1: + int (*handler)(struct sk_buff *);
1: + int (*input_handler)(struct sk_buff *, int, __be32, int);
1: + int (*cb_handler)(struct sk_buff *, int);
1: + int (*err_handler)(struct sk_buff *, u32);
1: + struct xfrm4_protocol *next;
1: + int priority;
1: +};
1: +
1: +enum {
1: + XFRM_STATE_VOID = 0,
1: + XFRM_STATE_ACQ = 1,
1: + XFRM_STATE_VALID = 2,
1: + XFRM_STATE_ERROR = 3,
1: + XFRM_STATE_EXPIRED = 4,
1: + XFRM_STATE_DEAD = 5,
1: +};
1: +
1: +struct xfrm_if;
1: +
1: +struct xfrm_if_cb {
1: + struct xfrm_if * (*decode_session)(struct sk_buff *, short unsigned int);
1: +};
1: +
1: +struct xfrm_if_parms {
1: + int link;
1: + u32 if_id;
1: +};
1: +
1: +struct xfrm_if {
1: + struct xfrm_if *next;
1: + struct net_device *dev;
1: + struct net *net;
1: + struct xfrm_if_parms p;
1: + struct gro_cells gro_cells;
1: +};
1: +
1: +struct xfrm_policy_walk {
1: + struct xfrm_policy_walk_entry walk;
1: + u8 type;
1: + u32 seq;
1: +};
1: +
1: +struct xfrmk_spdinfo {
1: + u32 incnt;
1: + u32 outcnt;
1: + u32 fwdcnt;
1: + u32 inscnt;
1: + u32 outscnt;
1: + u32 fwdscnt;
1: + u32 spdhcnt;
1: + u32 spdhmcnt;
1: +};
1: +
1: +struct xfrm_flo {
1: + struct dst_entry *dst_orig;
1: + u8 flags;
1: +};
1: +
1: +struct xfrm_pol_inexact_node {
1: + struct rb_node node;
1: + union {
1: + xfrm_address_t addr;
1: + struct callback_head rcu;
1: + };
1: + u8 prefixlen;
1: + struct rb_root root;
1: + struct hlist_head hhead;
1: +};
1: +
1: +struct xfrm_pol_inexact_key {
1: + possible_net_t net;
1: + u32 if_id;
1: + u16 family;
1: + u8 dir;
1: + u8 type;
1: +};
1: +
1: +struct xfrm_pol_inexact_bin {
1: + struct xfrm_pol_inexact_key k;
1: + struct rhash_head head;
1: + struct hlist_head hhead;
1: + seqcount_t count;
1: + struct rb_root root_d;
1: + struct rb_root root_s;
1: + struct list_head inexact_bins;
1: + struct callback_head rcu;
1: +};
1: +
1: +enum xfrm_pol_inexact_candidate_type {
1: + XFRM_POL_CAND_BOTH = 0,
1: + XFRM_POL_CAND_SADDR = 1,
1: + XFRM_POL_CAND_DADDR = 2,
1: + XFRM_POL_CAND_ANY = 3,
1: + XFRM_POL_CAND_MAX = 4,
1: +};
1: +
1: +struct xfrm_pol_inexact_candidates {
1: + struct hlist_head *res[4];
1: +};
1: +
1: +enum xfrm_ae_ftype_t {
1: + XFRM_AE_UNSPEC = 0,
1: + XFRM_AE_RTHR = 1,
1: + XFRM_AE_RVAL = 2,
1: + XFRM_AE_LVAL = 4,
1: + XFRM_AE_ETHR = 8,
1: + XFRM_AE_CR = 16,
1: + XFRM_AE_CE = 32,
1: + XFRM_AE_CU = 64,
1: + __XFRM_AE_MAX = 65,
1: +};
1: +
1: +enum xfrm_nlgroups {
1: + XFRMNLGRP_NONE = 0,
1: + XFRMNLGRP_ACQUIRE = 1,
1: + XFRMNLGRP_EXPIRE = 2,
1: + XFRMNLGRP_SA = 3,
1: + XFRMNLGRP_POLICY = 4,
1: + XFRMNLGRP_AEVENTS = 5,
1: + XFRMNLGRP_REPORT = 6,
1: + XFRMNLGRP_MIGRATE = 7,
1: + XFRMNLGRP_MAPPING = 8,
1: + __XFRMNLGRP_MAX = 9,
1: +};
1: +
1: +enum {
1: + XFRM_MODE_FLAG_TUNNEL = 1,
1: +};
1: +
1: +struct km_event {
1: + union {
1: + u32 hard;
1: + u32 proto;
1: + u32 byid;
1: + u32 aevent;
1: + u32 type;
1: + } data;
1: + u32 seq;
1: + u32 portid;
1: + u32 event;
1: + struct net *net;
1: +};
1: +
1: +struct xfrm_kmaddress {
1: + xfrm_address_t local;
1: + xfrm_address_t remote;
1: + u32 reserved;
1: + u16 family;
1: +};
1: +
1: +struct xfrm_migrate {
1: + xfrm_address_t old_daddr;
1: + xfrm_address_t old_saddr;
1: + xfrm_address_t new_daddr;
1: + xfrm_address_t new_saddr;
1: + u8 proto;
1: + u8 mode;
1: + u16 reserved;
1: + u32 reqid;
1: + u16 old_family;
1: + u16 new_family;
1: +};
1: +
1: +struct xfrm_mgr {
1: + struct list_head list;
1: + int (*notify)(struct xfrm_state *, const struct km_event *);
1: + int (*acquire)(struct xfrm_state *, struct xfrm_tmpl *, struct xfrm_policy *);
1: + struct xfrm_policy * (*compile_policy)(struct sock *, int, u8 *, int, int *);
1: + int (*new_mapping)(struct xfrm_state *, xfrm_address_t *, __be16);
1: + int (*notify_policy)(struct xfrm_policy *, int, const struct km_event *);
1: + int (*report)(struct net *, u8, struct xfrm_selector *, xfrm_address_t *);
1: + int (*migrate)(const struct xfrm_selector *, u8, u8, const struct xfrm_migrate *, int, const struct xfrm_kmaddress *, const struct xfrm_encap_tmpl *);
1: + bool (*is_alive)(const struct km_event *);
1: +};
1: +
1: +struct xfrmk_sadinfo {
1: + u32 sadhcnt;
1: + u32 sadhmcnt;
1: + u32 sadcnt;
1: +};
1: +
1: +struct ip_beet_phdr {
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: + __u8 padlen;
1: + __u8 reserved;
1: +};
1: +
1: +struct __ip6_tnl_parm {
1: + char name[16];
1: + int link;
1: + __u8 proto;
1: + __u8 encap_limit;
1: + __u8 hop_limit;
1: + bool collect_md;
1: + __be32 flowinfo;
1: + __u32 flags;
1: + struct in6_addr laddr;
1: + struct in6_addr raddr;
1: + __be16 i_flags;
1: + __be16 o_flags;
1: + __be32 i_key;
1: + __be32 o_key;
1: + __u32 fwmark;
1: + __u32 index;
1: + __u8 erspan_ver;
1: + __u8 dir;
1: + __u16 hwid;
1: +};
1: +
1: +struct ip6_tnl {
1: + struct ip6_tnl *next;
1: + struct net_device *dev;
1: + struct net *net;
1: + struct __ip6_tnl_parm parms;
1: + struct flowi fl;
1: + struct dst_cache dst_cache;
1: + struct gro_cells gro_cells;
1: + int err_count;
1: + long unsigned int err_time;
1: + __u32 i_seqno;
1: + __u32 o_seqno;
1: + int hlen;
1: + int tun_hlen;
1: + int encap_hlen;
1: + struct ip_tunnel_encap encap;
1: + int mlink;
1: +};
1: +
1: +struct xfrm_skb_cb {
1: + struct xfrm_tunnel_skb_cb header;
1: + union {
1: + struct {
1: + __u32 low;
1: + __u32 hi;
1: + } output;
1: + struct {
1: + __be32 low;
1: + __be32 hi;
1: + } input;
1: + } seq;
1: +};
1: +
1: +struct xfrm_trans_tasklet {
1: + struct tasklet_struct tasklet;
1: + struct sk_buff_head queue;
1: +};
1: +
1: +struct xfrm_trans_cb {
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + int (*finish)(struct net *, struct sock *, struct sk_buff *);
1: +};
1: +
1: +struct sadb_alg {
1: + __u8 sadb_alg_id;
1: + __u8 sadb_alg_ivlen;
1: + __u16 sadb_alg_minbits;
1: + __u16 sadb_alg_maxbits;
1: + __u16 sadb_alg_reserved;
1: +};
1: +
1: +struct xfrm_algo_aead_info {
1: + char *geniv;
1: + u16 icv_truncbits;
1: +};
1: +
1: +struct xfrm_algo_auth_info {
1: + u16 icv_truncbits;
1: + u16 icv_fullbits;
1: +};
1: +
1: +struct xfrm_algo_encr_info {
1: + char *geniv;
1: + u16 blockbits;
1: + u16 defkeybits;
1: +};
1: +
1: +struct xfrm_algo_comp_info {
1: + u16 threshold;
1: +};
1: +
1: +struct xfrm_algo_desc {
1: + char *name;
1: + char *compat;
1: + u8 available: 1;
1: + u8 pfkey_supported: 1;
1: + union {
1: + struct xfrm_algo_aead_info aead;
1: + struct xfrm_algo_auth_info auth;
1: + struct xfrm_algo_encr_info encr;
1: + struct xfrm_algo_comp_info comp;
1: + } uinfo;
1: + struct sadb_alg desc;
1: +};
1: +
1: +struct xfrm_algo_list {
1: + struct xfrm_algo_desc *algs;
1: + int entries;
1: + u32 type;
1: + u32 mask;
1: +};
1: +
1: +struct xfrm_aead_name {
1: + const char *name;
1: + int icvbits;
1: +};
1: +
1: +enum {
1: + XFRM_SHARE_ANY = 0,
1: + XFRM_SHARE_SESSION = 1,
1: + XFRM_SHARE_USER = 2,
1: + XFRM_SHARE_UNIQUE = 3,
1: +};
1: +
1: +struct xfrm_user_sec_ctx {
1: + __u16 len;
1: + __u16 exttype;
1: + __u8 ctx_alg;
1: + __u8 ctx_doi;
1: + __u16 ctx_len;
1: +};
1: +
1: +struct xfrm_user_tmpl {
1: + struct xfrm_id id;
1: + __u16 family;
1: + xfrm_address_t saddr;
1: + __u32 reqid;
1: + __u8 mode;
1: + __u8 share;
1: + __u8 optional;
1: + __u32 aalgos;
1: + __u32 ealgos;
1: + __u32 calgos;
1: +};
1: +
1: +struct xfrm_userpolicy_type {
1: + __u8 type;
1: + __u16 reserved1;
1: + __u8 reserved2;
1: +};
1: +
1: +enum xfrm_attr_type_t {
1: + XFRMA_UNSPEC = 0,
1: + XFRMA_ALG_AUTH = 1,
1: + XFRMA_ALG_CRYPT = 2,
1: + XFRMA_ALG_COMP = 3,
1: + XFRMA_ENCAP = 4,
1: + XFRMA_TMPL = 5,
1: + XFRMA_SA = 6,
1: + XFRMA_POLICY = 7,
1: + XFRMA_SEC_CTX = 8,
1: + XFRMA_LTIME_VAL = 9,
1: + XFRMA_REPLAY_VAL = 10,
1: + XFRMA_REPLAY_THRESH = 11,
1: + XFRMA_ETIMER_THRESH = 12,
1: + XFRMA_SRCADDR = 13,
1: + XFRMA_COADDR = 14,
1: + XFRMA_LASTUSED = 15,
1: + XFRMA_POLICY_TYPE = 16,
1: + XFRMA_MIGRATE = 17,
1: + XFRMA_ALG_AEAD = 18,
1: + XFRMA_KMADDRESS = 19,
1: + XFRMA_ALG_AUTH_TRUNC = 20,
1: + XFRMA_MARK = 21,
1: + XFRMA_TFCPAD = 22,
1: + XFRMA_REPLAY_ESN_VAL = 23,
1: + XFRMA_SA_EXTRA_FLAGS = 24,
1: + XFRMA_PROTO = 25,
1: + XFRMA_ADDRESS_FILTER = 26,
1: + XFRMA_PAD = 27,
1: + XFRMA_OFFLOAD_DEV = 28,
1: + XFRMA_SET_MARK = 29,
1: + XFRMA_SET_MARK_MASK = 30,
1: + XFRMA_IF_ID = 31,
1: + __XFRMA_MAX = 32,
1: +};
1: +
1: +enum xfrm_sadattr_type_t {
1: + XFRMA_SAD_UNSPEC = 0,
1: + XFRMA_SAD_CNT = 1,
1: + XFRMA_SAD_HINFO = 2,
1: + __XFRMA_SAD_MAX = 3,
1: +};
1: +
1: +struct xfrmu_sadhinfo {
1: + __u32 sadhcnt;
1: + __u32 sadhmcnt;
1: +};
1: +
1: +enum xfrm_spdattr_type_t {
1: + XFRMA_SPD_UNSPEC = 0,
1: + XFRMA_SPD_INFO = 1,
1: + XFRMA_SPD_HINFO = 2,
1: + XFRMA_SPD_IPV4_HTHRESH = 3,
1: + XFRMA_SPD_IPV6_HTHRESH = 4,
1: + __XFRMA_SPD_MAX = 5,
1: +};
1: +
1: +struct xfrmu_spdinfo {
1: + __u32 incnt;
1: + __u32 outcnt;
1: + __u32 fwdcnt;
1: + __u32 inscnt;
1: + __u32 outscnt;
1: + __u32 fwdscnt;
1: +};
1: +
1: +struct xfrmu_spdhinfo {
1: + __u32 spdhcnt;
1: + __u32 spdhmcnt;
1: +};
1: +
1: +struct xfrmu_spdhthresh {
1: + __u8 lbits;
1: + __u8 rbits;
1: +};
1: +
1: +struct xfrm_usersa_info {
1: + struct xfrm_selector sel;
1: + struct xfrm_id id;
1: + xfrm_address_t saddr;
1: + struct xfrm_lifetime_cfg lft;
1: + struct xfrm_lifetime_cur curlft;
1: + struct xfrm_stats stats;
1: + __u32 seq;
1: + __u32 reqid;
1: + __u16 family;
1: + __u8 mode;
1: + __u8 replay_window;
1: + __u8 flags;
1: +};
1: +
1: +struct xfrm_usersa_id {
1: + xfrm_address_t daddr;
1: + __be32 spi;
1: + __u16 family;
1: + __u8 proto;
1: +};
1: +
1: +struct xfrm_aevent_id {
1: + struct xfrm_usersa_id sa_id;
1: + xfrm_address_t saddr;
1: + __u32 flags;
1: + __u32 reqid;
1: +};
1: +
1: +struct xfrm_userspi_info {
1: + struct xfrm_usersa_info info;
1: + __u32 min;
1: + __u32 max;
1: +};
1: +
1: +struct xfrm_userpolicy_info {
1: + struct xfrm_selector sel;
1: + struct xfrm_lifetime_cfg lft;
1: + struct xfrm_lifetime_cur curlft;
1: + __u32 priority;
1: + __u32 index;
1: + __u8 dir;
1: + __u8 action;
1: + __u8 flags;
1: + __u8 share;
1: +};
1: +
1: +struct xfrm_userpolicy_id {
1: + struct xfrm_selector sel;
1: + __u32 index;
1: + __u8 dir;
1: +};
1: +
1: +struct xfrm_user_acquire {
1: + struct xfrm_id id;
1: + xfrm_address_t saddr;
1: + struct xfrm_selector sel;
1: + struct xfrm_userpolicy_info policy;
1: + __u32 aalgos;
1: + __u32 ealgos;
1: + __u32 calgos;
1: + __u32 seq;
1: +};
1: +
1: +struct xfrm_user_expire {
1: + struct xfrm_usersa_info state;
1: + __u8 hard;
1: +};
1: +
1: +struct xfrm_user_polexpire {
1: + struct xfrm_userpolicy_info pol;
1: + __u8 hard;
1: +};
1: +
1: +struct xfrm_usersa_flush {
1: + __u8 proto;
1: +};
1: +
1: +struct xfrm_user_report {
1: + __u8 proto;
1: + struct xfrm_selector sel;
1: +};
1: +
1: +struct xfrm_user_mapping {
1: + struct xfrm_usersa_id id;
1: + __u32 reqid;
1: + xfrm_address_t old_saddr;
1: + xfrm_address_t new_saddr;
1: + __be16 old_sport;
1: + __be16 new_sport;
1: +};
1: +
1: +struct xfrm_user_offload {
1: + int ifindex;
1: + __u8 flags;
1: +};
1: +
1: +struct xfrm_dump_info {
1: + struct sk_buff *in_skb;
1: + struct sk_buff *out_skb;
1: + u32 nlmsg_seq;
1: + u16 nlmsg_flags;
1: +};
1: +
1: +struct xfrm_link {
1: + int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **);
1: + int (*start)(struct netlink_callback *);
1: + int (*dump)(struct sk_buff *, struct netlink_callback *);
1: + int (*done)(struct netlink_callback *);
1: + const struct nla_policy *nla_pol;
1: + int nla_max;
1: +};
1: +
1: +struct unix_stream_read_state {
1: + int (*recv_actor)(struct sk_buff *, int, int, struct unix_stream_read_state *);
1: + struct socket *socket;
1: + struct msghdr *msg;
1: + struct pipe_inode_info *pipe;
1: + size_t size;
1: + int flags;
1: + unsigned int splice_flags;
1: +};
1: +
1: +struct ipv6_params {
1: + __s32 disable_ipv6;
1: + __s32 autoconf;
1: +};
1: +
1: +enum flowlabel_reflect {
1: + FLOWLABEL_REFLECT_ESTABLISHED = 1,
1: + FLOWLABEL_REFLECT_TCP_RESET = 2,
1: + FLOWLABEL_REFLECT_ICMPV6_ECHO_REPLIES = 4,
1: +};
1: +
1: +struct ac6_iter_state {
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct inet6_dev *idev;
1: +};
1: +
1: +struct ip6_fraglist_iter {
1: + struct ipv6hdr *tmp_hdr;
1: + struct sk_buff *frag;
1: + int offset;
1: + unsigned int hlen;
1: + __be32 frag_id;
1: + u8 nexthdr;
1: +};
1: +
1: +struct ip6_frag_state {
1: + u8 *prevhdr;
1: + unsigned int hlen;
1: + unsigned int mtu;
1: + unsigned int left;
1: + int offset;
1: + int ptr;
1: + int hroom;
1: + int troom;
1: + __be32 frag_id;
1: + u8 nexthdr;
1: +};
1: +
1: +struct ip6_ra_chain {
1: + struct ip6_ra_chain *next;
1: + struct sock *sk;
1: + int sel;
1: + void (*destructor)(struct sock *);
1: +};
1: +
1: +struct ipcm6_cookie {
1: + struct sockcm_cookie sockc;
1: + __s16 hlimit;
1: + __s16 tclass;
1: + __s8 dontfrag;
1: + struct ipv6_txoptions *opt;
1: + __u16 gso_size;
1: +};
1: +
1: +enum {
1: + IFLA_INET6_UNSPEC = 0,
1: + IFLA_INET6_FLAGS = 1,
1: + IFLA_INET6_CONF = 2,
1: + IFLA_INET6_STATS = 3,
1: + IFLA_INET6_MCAST = 4,
1: + IFLA_INET6_CACHEINFO = 5,
1: + IFLA_INET6_ICMP6STATS = 6,
1: + IFLA_INET6_TOKEN = 7,
1: + IFLA_INET6_ADDR_GEN_MODE = 8,
1: + __IFLA_INET6_MAX = 9,
1: +};
1: +
1: +enum in6_addr_gen_mode {
1: + IN6_ADDR_GEN_MODE_EUI64 = 0,
1: + IN6_ADDR_GEN_MODE_NONE = 1,
1: + IN6_ADDR_GEN_MODE_STABLE_PRIVACY = 2,
1: + IN6_ADDR_GEN_MODE_RANDOM = 3,
1: +};
1: +
1: +struct ifla_cacheinfo {
1: + __u32 max_reasm_len;
1: + __u32 tstamp;
1: + __u32 reachable_time;
1: + __u32 retrans_time;
1: +};
1: +
1: +struct wpan_phy;
1: +
1: +struct wpan_dev_header_ops;
1: +
1: +struct wpan_dev {
1: + struct wpan_phy *wpan_phy;
1: + int iftype;
1: + struct list_head list;
1: + struct net_device *netdev;
1: + const struct wpan_dev_header_ops *header_ops;
1: + struct net_device *lowpan_dev;
1: + u32 identifier;
1: + __le16 pan_id;
1: + __le16 short_addr;
1: + __le64 extended_addr;
1: + atomic_t bsn;
1: + atomic_t dsn;
1: + u8 min_be;
1: + u8 max_be;
1: + u8 csma_retries;
1: + s8 frame_retries;
1: + bool lbt;
1: + bool promiscuous_mode;
1: + bool ackreq;
1: +};
1: +
1: +struct prefixmsg {
1: + unsigned char prefix_family;
1: + unsigned char prefix_pad1;
1: + short unsigned int prefix_pad2;
1: + int prefix_ifindex;
1: + unsigned char prefix_type;
1: + unsigned char prefix_len;
1: + unsigned char prefix_flags;
1: + unsigned char prefix_pad3;
1: +};
1: +
1: +enum {
1: + PREFIX_UNSPEC = 0,
1: + PREFIX_ADDRESS = 1,
1: + PREFIX_CACHEINFO = 2,
1: + __PREFIX_MAX = 3,
1: +};
1: +
1: +struct prefix_cacheinfo {
1: + __u32 preferred_time;
1: + __u32 valid_time;
1: +};
1: +
1: +struct in6_ifreq {
1: + struct in6_addr ifr6_addr;
1: + __u32 ifr6_prefixlen;
1: + int ifr6_ifindex;
1: +};
1: +
1: +enum {
1: + DEVCONF_FORWARDING = 0,
1: + DEVCONF_HOPLIMIT = 1,
1: + DEVCONF_MTU6 = 2,
1: + DEVCONF_ACCEPT_RA = 3,
1: + DEVCONF_ACCEPT_REDIRECTS = 4,
1: + DEVCONF_AUTOCONF = 5,
1: + DEVCONF_DAD_TRANSMITS = 6,
1: + DEVCONF_RTR_SOLICITS = 7,
1: + DEVCONF_RTR_SOLICIT_INTERVAL = 8,
1: + DEVCONF_RTR_SOLICIT_DELAY = 9,
1: + DEVCONF_USE_TEMPADDR = 10,
1: + DEVCONF_TEMP_VALID_LFT = 11,
1: + DEVCONF_TEMP_PREFERED_LFT = 12,
1: + DEVCONF_REGEN_MAX_RETRY = 13,
1: + DEVCONF_MAX_DESYNC_FACTOR = 14,
1: + DEVCONF_MAX_ADDRESSES = 15,
1: + DEVCONF_FORCE_MLD_VERSION = 16,
1: + DEVCONF_ACCEPT_RA_DEFRTR = 17,
1: + DEVCONF_ACCEPT_RA_PINFO = 18,
1: + DEVCONF_ACCEPT_RA_RTR_PREF = 19,
1: + DEVCONF_RTR_PROBE_INTERVAL = 20,
1: + DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21,
1: + DEVCONF_PROXY_NDP = 22,
1: + DEVCONF_OPTIMISTIC_DAD = 23,
1: + DEVCONF_ACCEPT_SOURCE_ROUTE = 24,
1: + DEVCONF_MC_FORWARDING = 25,
1: + DEVCONF_DISABLE_IPV6 = 26,
1: + DEVCONF_ACCEPT_DAD = 27,
1: + DEVCONF_FORCE_TLLAO = 28,
1: + DEVCONF_NDISC_NOTIFY = 29,
1: + DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30,
1: + DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31,
1: + DEVCONF_SUPPRESS_FRAG_NDISC = 32,
1: + DEVCONF_ACCEPT_RA_FROM_LOCAL = 33,
1: + DEVCONF_USE_OPTIMISTIC = 34,
1: + DEVCONF_ACCEPT_RA_MTU = 35,
1: + DEVCONF_STABLE_SECRET = 36,
1: + DEVCONF_USE_OIF_ADDRS_ONLY = 37,
1: + DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38,
1: + DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39,
1: + DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40,
1: + DEVCONF_DROP_UNSOLICITED_NA = 41,
1: + DEVCONF_KEEP_ADDR_ON_DOWN = 42,
1: + DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43,
1: + DEVCONF_SEG6_ENABLED = 44,
1: + DEVCONF_SEG6_REQUIRE_HMAC = 45,
1: + DEVCONF_ENHANCED_DAD = 46,
1: + DEVCONF_ADDR_GEN_MODE = 47,
1: + DEVCONF_DISABLE_POLICY = 48,
1: + DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49,
1: + DEVCONF_NDISC_TCLASS = 50,
1: + DEVCONF_MAX = 51,
1: +};
1: +
1: +enum {
1: + INET6_IFADDR_STATE_PREDAD = 0,
1: + INET6_IFADDR_STATE_DAD = 1,
1: + INET6_IFADDR_STATE_POSTDAD = 2,
1: + INET6_IFADDR_STATE_ERRDAD = 3,
1: + INET6_IFADDR_STATE_DEAD = 4,
1: +};
1: +
1: +enum nl802154_cca_modes {
1: + __NL802154_CCA_INVALID = 0,
1: + NL802154_CCA_ENERGY = 1,
1: + NL802154_CCA_CARRIER = 2,
1: + NL802154_CCA_ENERGY_CARRIER = 3,
1: + NL802154_CCA_ALOHA = 4,
1: + NL802154_CCA_UWB_SHR = 5,
1: + NL802154_CCA_UWB_MULTIPLEXED = 6,
1: + __NL802154_CCA_ATTR_AFTER_LAST = 7,
1: + NL802154_CCA_ATTR_MAX = 6,
1: +};
1: +
1: +enum nl802154_cca_opts {
1: + NL802154_CCA_OPT_ENERGY_CARRIER_AND = 0,
1: + NL802154_CCA_OPT_ENERGY_CARRIER_OR = 1,
1: + __NL802154_CCA_OPT_ATTR_AFTER_LAST = 2,
1: + NL802154_CCA_OPT_ATTR_MAX = 1,
1: +};
1: +
1: +enum nl802154_supported_bool_states {
1: + NL802154_SUPPORTED_BOOL_FALSE = 0,
1: + NL802154_SUPPORTED_BOOL_TRUE = 1,
1: + __NL802154_SUPPORTED_BOOL_INVALD = 2,
1: + NL802154_SUPPORTED_BOOL_BOTH = 3,
1: + __NL802154_SUPPORTED_BOOL_AFTER_LAST = 4,
1: + NL802154_SUPPORTED_BOOL_MAX = 3,
1: +};
1: +
1: +struct wpan_phy_supported {
1: + u32 channels[32];
1: + u32 cca_modes;
1: + u32 cca_opts;
1: + u32 iftypes;
1: + enum nl802154_supported_bool_states lbt;
1: + u8 min_minbe;
1: + u8 max_minbe;
1: + u8 min_maxbe;
1: + u8 max_maxbe;
1: + u8 min_csma_backoffs;
1: + u8 max_csma_backoffs;
1: + s8 min_frame_retries;
1: + s8 max_frame_retries;
1: + size_t tx_powers_size;
1: + size_t cca_ed_levels_size;
1: + const s32 *tx_powers;
1: + const s32 *cca_ed_levels;
1: +};
1: +
1: +struct wpan_phy_cca {
1: + enum nl802154_cca_modes mode;
1: + enum nl802154_cca_opts opt;
1: +};
1: +
1: +struct wpan_phy {
1: + const void *privid;
1: + u32 flags;
1: + u8 current_channel;
1: + u8 current_page;
1: + struct wpan_phy_supported supported;
1: + s32 transmit_power;
1: + struct wpan_phy_cca cca;
1: + __le64 perm_extended_addr;
1: + s32 cca_ed_level;
1: + u8 symbol_duration;
1: + u16 lifs_period;
1: + u16 sifs_period;
1: + struct device dev;
1: + possible_net_t _net;
1: + char priv[0];
1: +};
1: +
1: +struct ieee802154_addr {
1: + u8 mode;
1: + __le16 pan_id;
1: + union {
1: + __le16 short_addr;
1: + __le64 extended_addr;
1: + };
1: +};
1: +
1: +struct wpan_dev_header_ops {
1: + int (*create)(struct sk_buff *, struct net_device *, const struct ieee802154_addr *, const struct ieee802154_addr *, unsigned int);
1: +};
1: +
1: +union fwnet_hwaddr {
1: + u8 u[16];
1: + struct {
1: + __be64 uniq_id;
1: + u8 max_rec;
1: + u8 sspd;
1: + __be16 fifo_hi;
1: + __be32 fifo_lo;
1: + } uc;
1: +};
1: +
1: +struct in6_validator_info {
1: + struct in6_addr i6vi_addr;
1: + struct inet6_dev *i6vi_dev;
1: + struct netlink_ext_ack *extack;
1: +};
1: +
1: +struct ifa6_config {
1: + const struct in6_addr *pfx;
1: + unsigned int plen;
1: + const struct in6_addr *peer_pfx;
1: + u32 rt_priority;
1: + u32 ifa_flags;
1: + u32 preferred_lft;
1: + u32 valid_lft;
1: + u16 scope;
1: +};
1: +
1: +enum cleanup_prefix_rt_t {
1: + CLEANUP_PREFIX_RT_NOP = 0,
1: + CLEANUP_PREFIX_RT_DEL = 1,
1: + CLEANUP_PREFIX_RT_EXPIRE = 2,
1: +};
1: +
1: +enum {
1: + IPV6_SADDR_RULE_INIT = 0,
1: + IPV6_SADDR_RULE_LOCAL = 1,
1: + IPV6_SADDR_RULE_SCOPE = 2,
1: + IPV6_SADDR_RULE_PREFERRED = 3,
1: + IPV6_SADDR_RULE_OIF = 4,
1: + IPV6_SADDR_RULE_LABEL = 5,
1: + IPV6_SADDR_RULE_PRIVACY = 6,
1: + IPV6_SADDR_RULE_ORCHID = 7,
1: + IPV6_SADDR_RULE_PREFIX = 8,
1: + IPV6_SADDR_RULE_MAX = 9,
1: +};
1: +
1: +struct ipv6_saddr_score {
1: + int rule;
1: + int addr_type;
1: + struct inet6_ifaddr *ifa;
1: + long unsigned int scorebits[1];
1: + int scopedist;
1: + int matchlen;
1: +};
1: +
1: +struct ipv6_saddr_dst {
1: + const struct in6_addr *addr;
1: + int ifindex;
1: + int scope;
1: + int label;
1: + unsigned int prefs;
1: +};
1: +
1: +struct if6_iter_state {
1: + struct seq_net_private p;
1: + int bucket;
1: + int offset;
1: +};
1: +
1: +enum addr_type_t {
1: + UNICAST_ADDR = 0,
1: + MULTICAST_ADDR = 1,
1: + ANYCAST_ADDR = 2,
1: +};
1: +
1: +struct inet6_fill_args {
1: + u32 portid;
1: + u32 seq;
1: + int event;
1: + unsigned int flags;
1: + int netnsid;
1: + int ifindex;
1: + enum addr_type_t type;
1: +};
1: +
1: +enum {
1: + DAD_PROCESS = 0,
1: + DAD_BEGIN = 1,
1: + DAD_ABORT = 2,
1: +};
1: +
1: +struct ifaddrlblmsg {
1: + __u8 ifal_family;
1: + __u8 __ifal_reserved;
1: + __u8 ifal_prefixlen;
1: + __u8 ifal_flags;
1: + __u32 ifal_index;
1: + __u32 ifal_seq;
1: +};
1: +
1: +enum {
1: + IFAL_ADDRESS = 1,
1: + IFAL_LABEL = 2,
1: + __IFAL_MAX = 3,
1: +};
1: +
1: +struct ip6addrlbl_entry {
1: + struct in6_addr prefix;
1: + int prefixlen;
1: + int ifindex;
1: + int addrtype;
1: + u32 label;
1: + struct hlist_node list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct ip6addrlbl_init_table {
1: + const struct in6_addr *prefix;
1: + int prefixlen;
1: + u32 label;
1: +};
1: +
1: +struct rd_msg {
1: + struct icmp6hdr icmph;
1: + struct in6_addr target;
1: + struct in6_addr dest;
1: + __u8 opt[0];
1: +};
1: +
1: +struct fib6_gc_args {
1: + int timeout;
1: + int more;
1: +};
1: +
1: +struct rt6_exception {
1: + struct hlist_node hlist;
1: + struct rt6_info *rt6i;
1: + long unsigned int stamp;
1: + struct callback_head rcu;
1: +};
1: +
1: +typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int);
1: +
1: +struct rt6_rtnl_dump_arg {
1: + struct sk_buff *skb;
1: + struct netlink_callback *cb;
1: + struct net *net;
1: + struct fib_dump_filter filter;
1: +};
1: +
1: +struct netevent_redirect {
1: + struct dst_entry *old;
1: + struct dst_entry *new;
1: + struct neighbour *neigh;
1: + const void *daddr;
1: +};
1: +
1: +struct trace_event_raw_fib6_table_lookup {
1: + struct trace_entry ent;
1: + u32 tb_id;
1: + int err;
1: + int oif;
1: + int iif;
1: + __u8 tos;
1: + __u8 scope;
1: + __u8 flags;
1: + __u8 src[16];
1: + __u8 dst[16];
1: + u16 sport;
1: + u16 dport;
1: + u8 proto;
1: + u8 rt_type;
1: + u32 __data_loc_name;
1: + __u8 gw[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_fib6_table_lookup {
1: + u32 name;
1: +};
1: +
1: +enum rt6_nud_state {
1: + RT6_NUD_FAIL_HARD = -3,
1: + RT6_NUD_FAIL_PROBE = -2,
1: + RT6_NUD_FAIL_DO_RR = -1,
1: + RT6_NUD_SUCCEED = 1,
1: +};
1: +
1: +struct fib6_nh_dm_arg {
1: + struct net *net;
1: + const struct in6_addr *saddr;
1: + int oif;
1: + int flags;
1: + struct fib6_nh *nh;
1: +};
1: +
1: +struct fib6_nh_frl_arg {
1: + u32 flags;
1: + int oif;
1: + int strict;
1: + int *mpri;
1: + bool *do_rr;
1: + struct fib6_nh *nh;
1: +};
1: +
1: +struct fib6_nh_excptn_arg {
1: + struct rt6_info *rt;
1: + int plen;
1: +};
1: +
1: +struct fib6_nh_match_arg {
1: + const struct net_device *dev;
1: + const struct in6_addr *gw;
1: + struct fib6_nh *match;
1: +};
1: +
1: +struct fib6_nh_age_excptn_arg {
1: + struct fib6_gc_args *gc_args;
1: + long unsigned int now;
1: +};
1: +
1: +struct fib6_nh_rd_arg {
1: + struct fib6_result *res;
1: + struct flowi6 *fl6;
1: + const struct in6_addr *gw;
1: + struct rt6_info **ret;
1: +};
1: +
1: +struct ip6rd_flowi {
1: + struct flowi6 fl6;
1: + struct in6_addr gateway;
1: +};
1: +
1: +struct fib6_nh_del_cached_rt_arg {
1: + struct fib6_config *cfg;
1: + struct fib6_info *f6i;
1: +};
1: +
1: +struct arg_dev_net_ip {
1: + struct net_device *dev;
1: + struct net *net;
1: + struct in6_addr *addr;
1: +};
1: +
1: +struct arg_netdev_event {
1: + const struct net_device *dev;
1: + union {
1: + unsigned char nh_flags;
1: + long unsigned int event;
1: + };
1: +};
1: +
1: +struct rt6_mtu_change_arg {
1: + struct net_device *dev;
1: + unsigned int mtu;
1: + struct fib6_info *f6i;
1: +};
1: +
1: +struct rt6_nh {
1: + struct fib6_info *fib6_info;
1: + struct fib6_config r_cfg;
1: + struct list_head next;
1: +};
1: +
1: +struct fib6_nh_exception_dump_walker {
1: + struct rt6_rtnl_dump_arg *dump;
1: + struct fib6_info *rt;
1: + unsigned int flags;
1: + unsigned int skip;
1: + unsigned int count;
1: +};
1: +
1: +enum fib6_walk_state {
1: + FWS_L = 0,
1: + FWS_R = 1,
1: + FWS_C = 2,
1: + FWS_U = 3,
1: +};
1: +
1: +struct fib6_walker {
1: + struct list_head lh;
1: + struct fib6_node *root;
1: + struct fib6_node *node;
1: + struct fib6_info *leaf;
1: + enum fib6_walk_state state;
1: + unsigned int skip;
1: + unsigned int count;
1: + unsigned int skip_in_node;
1: + int (*func)(struct fib6_walker *);
1: + void *args;
1: +};
1: +
1: +struct fib6_entry_notifier_info {
1: + struct fib_notifier_info info;
1: + struct fib6_info *rt;
1: + unsigned int nsiblings;
1: +};
1: +
1: +struct ipv6_route_iter {
1: + struct seq_net_private p;
1: + struct fib6_walker w;
1: + loff_t skip;
1: + struct fib6_table *tbl;
1: + int sernum;
1: +};
1: +
1: +struct fib6_cleaner {
1: + struct fib6_walker w;
1: + struct net *net;
1: + int (*func)(struct fib6_info *, void *);
1: + int sernum;
1: + void *arg;
1: + bool skip_notify;
1: +};
1: +
1: +enum {
1: + FIB6_NO_SERNUM_CHANGE = 0,
1: +};
1: +
1: +struct fib6_dump_arg {
1: + struct net *net;
1: + struct notifier_block *nb;
1: + struct netlink_ext_ack *extack;
1: +};
1: +
1: +struct fib6_nh_pcpu_arg {
1: + struct fib6_info *from;
1: + const struct fib6_table *table;
1: +};
1: +
1: +struct lookup_args {
1: + int offset;
1: + const struct in6_addr *addr;
1: +};
1: +
1: +struct ipv6_mreq {
1: + struct in6_addr ipv6mr_multiaddr;
1: + int ipv6mr_ifindex;
1: +};
1: +
1: +struct in6_flowlabel_req {
1: + struct in6_addr flr_dst;
1: + __be32 flr_label;
1: + __u8 flr_action;
1: + __u8 flr_share;
1: + __u16 flr_flags;
1: + __u16 flr_expires;
1: + __u16 flr_linger;
1: + __u32 __flr_pad;
1: +};
1: +
1: +struct ip6_mtuinfo {
1: + struct sockaddr_in6 ip6m_addr;
1: + __u32 ip6m_mtu;
1: +};
1: +
1: +struct ipv6_sr_hdr {
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: + __u8 type;
1: + __u8 segments_left;
1: + __u8 first_segment;
1: + __u8 flags;
1: + __u16 tag;
1: + struct in6_addr segments[0];
1: +};
1: +
1: +struct nduseroptmsg {
1: + unsigned char nduseropt_family;
1: + unsigned char nduseropt_pad1;
1: + short unsigned int nduseropt_opts_len;
1: + int nduseropt_ifindex;
1: + __u8 nduseropt_icmp_type;
1: + __u8 nduseropt_icmp_code;
1: + short unsigned int nduseropt_pad2;
1: + unsigned int nduseropt_pad3;
1: +};
1: +
1: +enum {
1: + NDUSEROPT_UNSPEC = 0,
1: + NDUSEROPT_SRCADDR = 1,
1: + __NDUSEROPT_MAX = 2,
1: +};
1: +
1: +struct nd_msg {
1: + struct icmp6hdr icmph;
1: + struct in6_addr target;
1: + __u8 opt[0];
1: +};
1: +
1: +struct rs_msg {
1: + struct icmp6hdr icmph;
1: + __u8 opt[0];
1: +};
1: +
1: +struct ra_msg {
1: + struct icmp6hdr icmph;
1: + __be32 reachable_time;
1: + __be32 retrans_timer;
1: +};
1: +
1: +struct icmp6_filter {
1: + __u32 data[8];
1: +};
1: +
1: +struct raw6_sock {
1: + struct inet_sock inet;
1: + __u32 checksum;
1: + __u32 offset;
1: + struct icmp6_filter filter;
1: + __u32 ip6mr_table;
1: + struct ipv6_pinfo inet6;
1: +};
1: +
1: +struct raw6_frag_vec {
1: + struct msghdr *msg;
1: + int hlen;
1: + char c[4];
1: +};
1: +
1: +typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *);
1: +
1: +struct icmpv6_msg {
1: + struct sk_buff *skb;
1: + int offset;
1: + uint8_t type;
1: +};
1: +
1: +struct icmp6_err {
1: + int err;
1: + int fatal;
1: +};
1: +
1: +struct mld_msg {
1: + struct icmp6hdr mld_hdr;
1: + struct in6_addr mld_mca;
1: +};
1: +
1: +struct mld2_grec {
1: + __u8 grec_type;
1: + __u8 grec_auxwords;
1: + __be16 grec_nsrcs;
1: + struct in6_addr grec_mca;
1: + struct in6_addr grec_src[0];
1: +};
1: +
1: +struct mld2_report {
1: + struct icmp6hdr mld2r_hdr;
1: + struct mld2_grec mld2r_grec[0];
1: +};
1: +
1: +struct mld2_query {
1: + struct icmp6hdr mld2q_hdr;
1: + struct in6_addr mld2q_mca;
1: + __u8 mld2q_qrv: 3;
1: + __u8 mld2q_suppress: 1;
1: + __u8 mld2q_resv2: 4;
1: + __u8 mld2q_qqic;
1: + __be16 mld2q_nsrcs;
1: + struct in6_addr mld2q_srcs[0];
1: +};
1: +
1: +struct igmp6_mc_iter_state {
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct inet6_dev *idev;
1: +};
1: +
1: +struct igmp6_mcf_iter_state {
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct inet6_dev *idev;
1: + struct ifmcaddr6 *im;
1: +};
1: +
1: +enum ip6_defrag_users {
1: + IP6_DEFRAG_LOCAL_DELIVER = 0,
1: + IP6_DEFRAG_CONNTRACK_IN = 1,
1: + __IP6_DEFRAG_CONNTRACK_IN = 65536,
1: + IP6_DEFRAG_CONNTRACK_OUT = 65537,
1: + __IP6_DEFRAG_CONNTRACK_OUT = 131072,
1: + IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 131073,
1: + __IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 196608,
1: +};
1: +
1: +struct frag_queue {
1: + struct inet_frag_queue q;
1: + int iif;
1: + __u16 nhoffset;
1: + u8 ecn;
1: +};
1: +
1: +struct tcp6_pseudohdr {
1: + struct in6_addr saddr;
1: + struct in6_addr daddr;
1: + __be32 len;
1: + __be32 protocol;
1: +};
1: +
1: +struct rt0_hdr {
1: + struct ipv6_rt_hdr rt_hdr;
1: + __u32 reserved;
1: + struct in6_addr addr[0];
1: +};
1: +
1: +struct tlvtype_proc {
1: + int type;
1: + bool (*func)(struct sk_buff *, int);
1: +};
1: +
1: +struct ip6fl_iter_state {
1: + struct seq_net_private p;
1: + struct pid_namespace *pid_ns;
1: + int bucket;
1: +};
1: +
1: +struct sr6_tlv {
1: + __u8 type;
1: + __u8 len;
1: + __u8 data[0];
1: +};
1: +
1: +enum {
1: + SEG6_ATTR_UNSPEC = 0,
1: + SEG6_ATTR_DST = 1,
1: + SEG6_ATTR_DSTLEN = 2,
1: + SEG6_ATTR_HMACKEYID = 3,
1: + SEG6_ATTR_SECRET = 4,
1: + SEG6_ATTR_SECRETLEN = 5,
1: + SEG6_ATTR_ALGID = 6,
1: + SEG6_ATTR_HMACINFO = 7,
1: + __SEG6_ATTR_MAX = 8,
1: +};
1: +
1: +enum {
1: + SEG6_CMD_UNSPEC = 0,
1: + SEG6_CMD_SETHMAC = 1,
1: + SEG6_CMD_DUMPHMAC = 2,
1: + SEG6_CMD_SET_TUNSRC = 3,
1: + SEG6_CMD_GET_TUNSRC = 4,
1: + __SEG6_CMD_MAX = 5,
1: +};
1: +
1: +struct xfrm6_protocol {
1: + int (*handler)(struct sk_buff *);
1: + int (*cb_handler)(struct sk_buff *, int);
1: + int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32);
1: + struct xfrm6_protocol *next;
1: + int priority;
1: +};
1: +
1: +struct br_input_skb_cb {
1: + struct net_device *brdev;
1: + u16 frag_max_size;
1: + u8 proxyarp_replied: 1;
1: + u8 src_port_isolated: 1;
1: +};
1: +
1: +struct nf_bridge_frag_data;
1: +
1: +struct calipso_doi;
1: +
1: +struct netlbl_calipso_ops {
1: + int (*doi_add)(struct calipso_doi *, struct netlbl_audit *);
1: + void (*doi_free)(struct calipso_doi *);
1: + int (*doi_remove)(u32, struct netlbl_audit *);
1: + struct calipso_doi * (*doi_getdef)(u32);
1: + void (*doi_putdef)(struct calipso_doi *);
1: + int (*doi_walk)(u32 *, int (*)(struct calipso_doi *, void *), void *);
1: + int (*sock_getattr)(struct sock *, struct netlbl_lsm_secattr *);
1: + int (*sock_setattr)(struct sock *, const struct calipso_doi *, const struct netlbl_lsm_secattr *);
1: + void (*sock_delattr)(struct sock *);
1: + int (*req_setattr)(struct request_sock *, const struct calipso_doi *, const struct netlbl_lsm_secattr *);
1: + void (*req_delattr)(struct request_sock *);
1: + int (*opt_getattr)(const unsigned char *, struct netlbl_lsm_secattr *);
1: + unsigned char * (*skbuff_optptr)(const struct sk_buff *);
1: + int (*skbuff_setattr)(struct sk_buff *, const struct calipso_doi *, const struct netlbl_lsm_secattr *);
1: + int (*skbuff_delattr)(struct sk_buff *);
1: + void (*cache_invalidate)();
1: + int (*cache_add)(const unsigned char *, const struct netlbl_lsm_secattr *);
1: +};
1: +
1: +struct calipso_doi {
1: + u32 doi;
1: + u32 type;
1: + refcount_t refcount;
1: + struct list_head list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct calipso_map_cache_bkt {
1: + spinlock_t lock;
1: + u32 size;
1: + struct list_head list;
1: +};
1: +
1: +struct calipso_map_cache_entry {
1: + u32 hash;
1: + unsigned char *key;
1: + size_t key_len;
1: + struct netlbl_lsm_cache *lsm_data;
1: + u32 activity;
1: + struct list_head list;
1: +};
1: +
1: +struct ah_data {
1: + int icv_full_len;
1: + int icv_trunc_len;
1: + struct crypto_ahash *ahash;
1: +};
1: +
1: +struct tmp_ext {
1: + struct in6_addr daddr;
1: + char hdrs[0];
1: +};
1: +
1: +struct ah_skb_cb {
1: + struct xfrm_skb_cb xfrm;
1: + void *tmp;
1: +};
1: +
1: +struct ip_esp_hdr {
1: + __be32 spi;
1: + __be32 seq_no;
1: + __u8 enc_data[0];
1: +};
1: +
1: +struct esp_info {
1: + struct ip_esp_hdr *esph;
1: + __be64 seqno;
1: + int tfclen;
1: + int tailen;
1: + int plen;
1: + int clen;
1: + int len;
1: + int nfrags;
1: + __u8 proto;
1: + bool inplace;
1: +};
1: +
1: +struct esp_skb_cb {
1: + struct xfrm_skb_cb xfrm;
1: + void *tmp;
1: +};
1: +
1: +struct ip6t_standard {
1: + struct ip6t_entry entry;
1: + struct xt_standard_target target;
1: +};
1: +
1: +struct ip6t_error {
1: + struct ip6t_entry entry;
1: + struct xt_error_target target;
1: +};
1: +
1: +struct ip6t_icmp {
1: + __u8 type;
1: + __u8 code[2];
1: + __u8 invflags;
1: +};
1: +
1: +struct ip6t_getinfo {
1: + char name[32];
1: + unsigned int valid_hooks;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int num_entries;
1: + unsigned int size;
1: +};
1: +
1: +struct ip6t_replace {
1: + char name[32];
1: + unsigned int valid_hooks;
1: + unsigned int num_entries;
1: + unsigned int size;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int num_counters;
1: + struct xt_counters *counters;
1: + struct ip6t_entry entries[0];
1: +};
1: +
1: +struct ip6t_get_entries {
1: + char name[32];
1: + unsigned int size;
1: + struct ip6t_entry entrytable[0];
1: +};
1: +
1: +struct compat_ip6t_entry {
1: + struct ip6t_ip6 ipv6;
1: + compat_uint_t nfcache;
1: + __u16 target_offset;
1: + __u16 next_offset;
1: + compat_uint_t comefrom;
1: + struct compat_xt_counters counters;
1: + unsigned char elems[0];
1: +} __attribute__((packed));
1: +
1: +struct compat_ip6t_replace {
1: + char name[32];
1: + u32 valid_hooks;
1: + u32 num_entries;
1: + u32 size;
1: + u32 hook_entry[5];
1: + u32 underflow[5];
1: + u32 num_counters;
1: + compat_uptr_t counters;
1: + struct compat_ip6t_entry entries[0];
1: +} __attribute__((packed));
1: +
1: +struct compat_ip6t_get_entries {
1: + char name[32];
1: + compat_uint_t size;
1: + struct compat_ip6t_entry entrytable[0];
1: +} __attribute__((packed));
1: +
1: +struct ip6t_ipv6header_info {
1: + __u8 matchflags;
1: + __u8 invflags;
1: + __u8 modeflag;
1: +};
1: +
1: +enum ip6t_reject_with {
1: + IP6T_ICMP6_NO_ROUTE = 0,
1: + IP6T_ICMP6_ADM_PROHIBITED = 1,
1: + IP6T_ICMP6_NOT_NEIGHBOUR = 2,
1: + IP6T_ICMP6_ADDR_UNREACH = 3,
1: + IP6T_ICMP6_PORT_UNREACH = 4,
1: + IP6T_ICMP6_ECHOREPLY = 5,
1: + IP6T_TCP_RESET = 6,
1: + IP6T_ICMP6_POLICY_FAIL = 7,
1: + IP6T_ICMP6_REJECT_ROUTE = 8,
1: +};
1: +
1: +struct ip6t_reject_info {
1: + __u32 with;
1: +};
1: +
1: +enum {
1: + IFLA_IPTUN_UNSPEC = 0,
1: + IFLA_IPTUN_LINK = 1,
1: + IFLA_IPTUN_LOCAL = 2,
1: + IFLA_IPTUN_REMOTE = 3,
1: + IFLA_IPTUN_TTL = 4,
1: + IFLA_IPTUN_TOS = 5,
1: + IFLA_IPTUN_ENCAP_LIMIT = 6,
1: + IFLA_IPTUN_FLOWINFO = 7,
1: + IFLA_IPTUN_FLAGS = 8,
1: + IFLA_IPTUN_PROTO = 9,
1: + IFLA_IPTUN_PMTUDISC = 10,
1: + IFLA_IPTUN_6RD_PREFIX = 11,
1: + IFLA_IPTUN_6RD_RELAY_PREFIX = 12,
1: + IFLA_IPTUN_6RD_PREFIXLEN = 13,
1: + IFLA_IPTUN_6RD_RELAY_PREFIXLEN = 14,
1: + IFLA_IPTUN_ENCAP_TYPE = 15,
1: + IFLA_IPTUN_ENCAP_FLAGS = 16,
1: + IFLA_IPTUN_ENCAP_SPORT = 17,
1: + IFLA_IPTUN_ENCAP_DPORT = 18,
1: + IFLA_IPTUN_COLLECT_METADATA = 19,
1: + IFLA_IPTUN_FWMARK = 20,
1: + __IFLA_IPTUN_MAX = 21,
1: +};
1: +
1: +struct ip_tunnel_prl {
1: + __be32 addr;
1: + __u16 flags;
1: + __u16 __reserved;
1: + __u32 datalen;
1: + __u32 __reserved2;
1: +};
1: +
1: +struct sit_net {
1: + struct ip_tunnel *tunnels_r_l[16];
1: + struct ip_tunnel *tunnels_r[16];
1: + struct ip_tunnel *tunnels_l[16];
1: + struct ip_tunnel *tunnels_wc[1];
1: + struct ip_tunnel **tunnels[4];
1: + struct net_device *fb_tunnel_dev;
1: +};
1: +
1: +struct metadata_dst___2;
1: +
1: +enum {
1: + IP6_FH_F_FRAG = 1,
1: + IP6_FH_F_AUTH = 2,
1: + IP6_FH_F_SKIP_RH = 4,
1: +};
1: +
1: +struct sockaddr_pkt {
1: + short unsigned int spkt_family;
1: + unsigned char spkt_device[14];
1: + __be16 spkt_protocol;
1: +};
1: +
1: +struct sockaddr_ll {
1: + short unsigned int sll_family;
1: + __be16 sll_protocol;
1: + int sll_ifindex;
1: + short unsigned int sll_hatype;
1: + unsigned char sll_pkttype;
1: + unsigned char sll_halen;
1: + unsigned char sll_addr[8];
1: +};
1: +
1: +struct tpacket_stats {
1: + unsigned int tp_packets;
1: + unsigned int tp_drops;
1: +};
1: +
1: +struct tpacket_stats_v3 {
1: + unsigned int tp_packets;
1: + unsigned int tp_drops;
1: + unsigned int tp_freeze_q_cnt;
1: +};
1: +
1: +struct tpacket_rollover_stats {
1: + __u64 tp_all;
1: + __u64 tp_huge;
1: + __u64 tp_failed;
1: +};
1: +
1: +union tpacket_stats_u {
1: + struct tpacket_stats stats1;
1: + struct tpacket_stats_v3 stats3;
1: +};
1: +
1: +struct tpacket_auxdata {
1: + __u32 tp_status;
1: + __u32 tp_len;
1: + __u32 tp_snaplen;
1: + __u16 tp_mac;
1: + __u16 tp_net;
1: + __u16 tp_vlan_tci;
1: + __u16 tp_vlan_tpid;
1: +};
1: +
1: +struct tpacket_hdr {
1: + long unsigned int tp_status;
1: + unsigned int tp_len;
1: + unsigned int tp_snaplen;
1: + short unsigned int tp_mac;
1: + short unsigned int tp_net;
1: + unsigned int tp_sec;
1: + unsigned int tp_usec;
1: +};
1: +
1: +struct tpacket2_hdr {
1: + __u32 tp_status;
1: + __u32 tp_len;
1: + __u32 tp_snaplen;
1: + __u16 tp_mac;
1: + __u16 tp_net;
1: + __u32 tp_sec;
1: + __u32 tp_nsec;
1: + __u16 tp_vlan_tci;
1: + __u16 tp_vlan_tpid;
1: + __u8 tp_padding[4];
1: +};
1: +
1: +struct tpacket_hdr_variant1 {
1: + __u32 tp_rxhash;
1: + __u32 tp_vlan_tci;
1: + __u16 tp_vlan_tpid;
1: + __u16 tp_padding;
1: +};
1: +
1: +struct tpacket3_hdr {
1: + __u32 tp_next_offset;
1: + __u32 tp_sec;
1: + __u32 tp_nsec;
1: + __u32 tp_snaplen;
1: + __u32 tp_len;
1: + __u32 tp_status;
1: + __u16 tp_mac;
1: + __u16 tp_net;
1: + union {
1: + struct tpacket_hdr_variant1 hv1;
1: + };
1: + __u8 tp_padding[8];
1: +};
1: +
1: +struct tpacket_bd_ts {
1: + unsigned int ts_sec;
1: + union {
1: + unsigned int ts_usec;
1: + unsigned int ts_nsec;
1: + };
1: +};
1: +
1: +struct tpacket_hdr_v1 {
1: + __u32 block_status;
1: + __u32 num_pkts;
1: + __u32 offset_to_first_pkt;
1: + __u32 blk_len;
1: + __u64 seq_num;
1: + struct tpacket_bd_ts ts_first_pkt;
1: + struct tpacket_bd_ts ts_last_pkt;
1: +};
1: +
1: +union tpacket_bd_header_u {
1: + struct tpacket_hdr_v1 bh1;
1: +};
1: +
1: +struct tpacket_block_desc {
1: + __u32 version;
1: + __u32 offset_to_priv;
1: + union tpacket_bd_header_u hdr;
1: +};
1: +
1: +enum tpacket_versions {
1: + TPACKET_V1 = 0,
1: + TPACKET_V2 = 1,
1: + TPACKET_V3 = 2,
1: +};
1: +
1: +struct tpacket_req {
1: + unsigned int tp_block_size;
1: + unsigned int tp_block_nr;
1: + unsigned int tp_frame_size;
1: + unsigned int tp_frame_nr;
1: +};
1: +
1: +struct tpacket_req3 {
1: + unsigned int tp_block_size;
1: + unsigned int tp_block_nr;
1: + unsigned int tp_frame_size;
1: + unsigned int tp_frame_nr;
1: + unsigned int tp_retire_blk_tov;
1: + unsigned int tp_sizeof_priv;
1: + unsigned int tp_feature_req_word;
1: +};
1: +
1: +union tpacket_req_u {
1: + struct tpacket_req req;
1: + struct tpacket_req3 req3;
1: +};
1: +
1: +typedef __u16 __virtio16;
1: +
1: +struct virtio_net_hdr {
1: + __u8 flags;
1: + __u8 gso_type;
1: + __virtio16 hdr_len;
1: + __virtio16 gso_size;
1: + __virtio16 csum_start;
1: + __virtio16 csum_offset;
1: +};
1: +
1: +struct packet_mclist {
1: + struct packet_mclist *next;
1: + int ifindex;
1: + int count;
1: + short unsigned int type;
1: + short unsigned int alen;
1: + unsigned char addr[32];
1: +};
1: +
1: +struct pgv;
1: +
1: +struct tpacket_kbdq_core {
1: + struct pgv *pkbdq;
1: + unsigned int feature_req_word;
1: + unsigned int hdrlen;
1: + unsigned char reset_pending_on_curr_blk;
1: + unsigned char delete_blk_timer;
1: + short unsigned int kactive_blk_num;
1: + short unsigned int blk_sizeof_priv;
1: + short unsigned int last_kactive_blk_num;
1: + char *pkblk_start;
1: + char *pkblk_end;
1: + int kblk_size;
1: + unsigned int max_frame_len;
1: + unsigned int knum_blocks;
1: + uint64_t knxt_seq_num;
1: + char *prev;
1: + char *nxt_offset;
1: + struct sk_buff *skb;
1: + atomic_t blk_fill_in_prog;
1: + short unsigned int retire_blk_tov;
1: + short unsigned int version;
1: + long unsigned int tov_in_jiffies;
1: + struct timer_list retire_blk_timer;
1: +};
1: +
1: +struct pgv {
1: + char *buffer;
1: +};
1: +
1: +struct packet_ring_buffer {
1: + struct pgv *pg_vec;
1: + unsigned int head;
1: + unsigned int frames_per_block;
1: + unsigned int frame_size;
1: + unsigned int frame_max;
1: + unsigned int pg_vec_order;
1: + unsigned int pg_vec_pages;
1: + unsigned int pg_vec_len;
1: + unsigned int *pending_refcnt;
1: + struct tpacket_kbdq_core prb_bdqc;
1: +};
1: +
1: +struct packet_fanout {
1: + possible_net_t net;
1: + unsigned int num_members;
1: + u16 id;
1: + u8 type;
1: + u8 flags;
1: + union {
1: + atomic_t rr_cur;
1: + struct bpf_prog *bpf_prog;
1: + };
1: + struct list_head list;
1: + struct sock *arr[256];
1: + spinlock_t lock;
1: + refcount_t sk_ref;
1: + long: 64;
1: + long: 64;
1: + struct packet_type prot_hook;
1: +};
1: +
1: +struct packet_rollover {
1: + int sock;
1: + atomic_long_t num;
1: + atomic_long_t num_huge;
1: + atomic_long_t num_failed;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + u32 history[16];
1: +};
1: +
1: +struct packet_sock {
1: + struct sock sk;
1: + struct packet_fanout *fanout;
1: + union tpacket_stats_u stats;
1: + struct packet_ring_buffer rx_ring;
1: + struct packet_ring_buffer tx_ring;
1: + int copy_thresh;
1: + spinlock_t bind_lock;
1: + struct mutex pg_vec_lock;
1: + unsigned int running;
1: + unsigned int auxdata: 1;
1: + unsigned int origdev: 1;
1: + unsigned int has_vnet_hdr: 1;
1: + unsigned int tp_loss: 1;
1: + unsigned int tp_tx_has_off: 1;
1: + int pressure;
1: + int ifindex;
1: + __be16 num;
1: + struct packet_rollover *rollover;
1: + struct packet_mclist *mclist;
1: + atomic_t mapped;
1: + enum tpacket_versions tp_version;
1: + unsigned int tp_hdrlen;
1: + unsigned int tp_reserve;
1: + unsigned int tp_tstamp;
1: + struct completion skb_completion;
1: + struct net_device *cached_dev;
1: + int (*xmit)(struct sk_buff *);
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + struct packet_type prot_hook;
1: + atomic_t tp_drops;
1: + long: 32;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: +};
1: +
1: +struct packet_mreq_max {
1: + int mr_ifindex;
1: + short unsigned int mr_type;
1: + short unsigned int mr_alen;
1: + unsigned char mr_address[32];
1: +};
1: +
1: +union tpacket_uhdr {
1: + struct tpacket_hdr *h1;
1: + struct tpacket2_hdr *h2;
1: + struct tpacket3_hdr *h3;
1: + void *raw;
1: +};
1: +
1: +struct packet_skb_cb {
1: + union {
1: + struct sockaddr_pkt pkt;
1: + union {
1: + unsigned int origlen;
1: + struct sockaddr_ll ll;
1: + };
1: + } sa;
1: +};
1: +
1: +enum rpc_msg_type {
1: + RPC_CALL = 0,
1: + RPC_REPLY = 1,
1: +};
1: +
1: +enum rpc_reply_stat {
1: + RPC_MSG_ACCEPTED = 0,
1: + RPC_MSG_DENIED = 1,
1: +};
1: +
1: +enum rpc_reject_stat {
1: + RPC_MISMATCH = 0,
1: + RPC_AUTH_ERROR = 1,
1: +};
1: +
1: +enum {
1: + SUNRPC_PIPEFS_NFS_PRIO = 0,
1: + SUNRPC_PIPEFS_RPC_PRIO = 1,
1: +};
1: +
1: +enum {
1: + RPC_PIPEFS_MOUNT = 0,
1: + RPC_PIPEFS_UMOUNT = 1,
1: +};
1: +
1: +struct rpc_add_xprt_test {
1: + void (*add_xprt_test)(struct rpc_clnt *, struct rpc_xprt *, void *);
1: + void *data;
1: +};
1: +
1: +struct sunrpc_net {
1: + struct proc_dir_entry *proc_net_rpc;
1: + struct cache_detail *ip_map_cache;
1: + struct cache_detail *unix_gid_cache;
1: + struct cache_detail *rsc_cache;
1: + struct cache_detail *rsi_cache;
1: + struct super_block *pipefs_sb;
1: + struct rpc_pipe *gssd_dummy;
1: + struct mutex pipefs_sb_lock;
1: + struct list_head all_clients;
1: + spinlock_t rpc_client_lock;
1: + struct rpc_clnt *rpcb_local_clnt;
1: + struct rpc_clnt *rpcb_local_clnt4;
1: + spinlock_t rpcb_clnt_lock;
1: + unsigned int rpcb_users;
1: + unsigned int rpcb_is_af_local: 1;
1: + struct mutex gssp_lock;
1: + struct rpc_clnt *gssp_clnt;
1: + int use_gss_proxy;
1: + int pipe_version;
1: + atomic_t pipe_users;
1: + struct proc_dir_entry *use_gssp_proc;
1: +};
1: +
1: +struct rpc_cb_add_xprt_calldata {
1: + struct rpc_xprt_switch *xps;
1: + struct rpc_xprt *xprt;
1: +};
1: +
1: +struct connect_timeout_data {
1: + long unsigned int connect_timeout;
1: + long unsigned int reconnect_timeout;
1: +};
1: +
1: +struct xprt_class {
1: + struct list_head list;
1: + int ident;
1: + struct rpc_xprt * (*setup)(struct xprt_create *);
1: + struct module *owner;
1: + char name[32];
1: +};
1: +
1: +enum xprt_xid_rb_cmp {
1: + XID_RB_EQUAL = 0,
1: + XID_RB_LEFT = 1,
1: + XID_RB_RIGHT = 2,
1: +};
1: +
1: +struct xdr_skb_reader {
1: + struct sk_buff *skb;
1: + unsigned int offset;
1: + size_t count;
1: + __wsum csum;
1: +};
1: +
1: +typedef size_t (*xdr_skb_read_actor)(struct xdr_skb_reader *, void *, size_t);
1: +
1: +typedef __be32 rpc_fraghdr;
1: +
1: +struct svc_sock {
1: + struct svc_xprt sk_xprt;
1: + struct socket *sk_sock;
1: + struct sock *sk_sk;
1: + void (*sk_ostate)(struct sock *);
1: + void (*sk_odata)(struct sock *);
1: + void (*sk_owspace)(struct sock *);
1: + __be32 sk_reclen;
1: + u32 sk_tcplen;
1: + u32 sk_datalen;
1: + struct page *sk_pages[259];
1: +};
1: +
1: +struct sock_xprt {
1: + struct rpc_xprt xprt;
1: + struct socket *sock;
1: + struct sock *inet;
1: + struct file *file;
1: + struct {
1: + struct {
1: + __be32 fraghdr;
1: + __be32 xid;
1: + __be32 calldir;
1: + };
1: + u32 offset;
1: + u32 len;
1: + long unsigned int copied;
1: + } recv;
1: + struct {
1: + u32 offset;
1: + } xmit;
1: + long unsigned int sock_state;
1: + struct delayed_work connect_worker;
1: + struct work_struct error_worker;
1: + struct work_struct recv_worker;
1: + struct mutex recv_mutex;
1: + struct __kernel_sockaddr_storage srcaddr;
1: + short unsigned int srcport;
1: + int xprt_err;
1: + size_t rcvsize;
1: + size_t sndsize;
1: + struct rpc_timeout tcp_timeout;
1: + void (*old_data_ready)(struct sock *);
1: + void (*old_state_change)(struct sock *);
1: + void (*old_write_space)(struct sock *);
1: + void (*old_error_report)(struct sock *);
1: +};
1: +
1: +struct rpc_buffer {
1: + size_t len;
1: + char data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_task_status {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + int status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_request {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + int version;
1: + bool async;
1: + u32 __data_loc_progname;
1: + u32 __data_loc_procname;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_task_running {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + const void *action;
1: + long unsigned int runstate;
1: + int status;
1: + short unsigned int flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_task_queued {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + long unsigned int timeout;
1: + long unsigned int runstate;
1: + int status;
1: + short unsigned int flags;
1: + u32 __data_loc_q_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_failure {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_reply_event {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 __data_loc_progname;
1: + u32 version;
1: + u32 __data_loc_procname;
1: + u32 __data_loc_servername;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_stats_latency {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + int version;
1: + u32 __data_loc_progname;
1: + u32 __data_loc_procname;
1: + long unsigned int backlog;
1: + long unsigned int rtt;
1: + long unsigned int execute;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_xdr_overflow {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + int version;
1: + size_t requested;
1: + const void *end;
1: + const void *p;
1: + const void *head_base;
1: + size_t head_len;
1: + const void *tail_base;
1: + size_t tail_len;
1: + unsigned int page_len;
1: + unsigned int len;
1: + u32 __data_loc_progname;
1: + u32 __data_loc_procedure;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_xdr_alignment {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + int version;
1: + size_t offset;
1: + unsigned int copied;
1: + const void *head_base;
1: + size_t head_len;
1: + const void *tail_base;
1: + size_t tail_len;
1: + unsigned int page_len;
1: + unsigned int len;
1: + u32 __data_loc_progname;
1: + u32 __data_loc_procedure;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_reply_pages {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + const void *head_base;
1: + size_t head_len;
1: + const void *tail_base;
1: + size_t tail_len;
1: + unsigned int page_len;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xs_socket_event {
1: + struct trace_entry ent;
1: + unsigned int socket_state;
1: + unsigned int sock_state;
1: + long long unsigned int ino;
1: + u32 __data_loc_dstaddr;
1: + u32 __data_loc_dstport;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xs_socket_event_done {
1: + struct trace_entry ent;
1: + int error;
1: + unsigned int socket_state;
1: + unsigned int sock_state;
1: + long long unsigned int ino;
1: + u32 __data_loc_dstaddr;
1: + u32 __data_loc_dstport;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpc_xprt_event {
1: + struct trace_entry ent;
1: + u32 xid;
1: + int status;
1: + u32 __data_loc_addr;
1: + u32 __data_loc_port;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xprt_transmit {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 seqno;
1: + int status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xprt_enq_xmit {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 seqno;
1: + int stage;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xprt_ping {
1: + struct trace_entry ent;
1: + int status;
1: + u32 __data_loc_addr;
1: + u32 __data_loc_port;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xprt_writelock_event {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + unsigned int snd_task_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xprt_cong_event {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + unsigned int snd_task_id;
1: + long unsigned int cong;
1: + long unsigned int cwnd;
1: + bool wait;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xs_stream_read_data {
1: + struct trace_entry ent;
1: + ssize_t err;
1: + size_t total;
1: + u32 __data_loc_addr;
1: + u32 __data_loc_port;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_xs_stream_read_request {
1: + struct trace_entry ent;
1: + u32 __data_loc_addr;
1: + u32 __data_loc_port;
1: + u32 xid;
1: + long unsigned int copied;
1: + unsigned int reclen;
1: + unsigned int offset;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_recv {
1: + struct trace_entry ent;
1: + u32 xid;
1: + int len;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_authenticate {
1: + struct trace_entry ent;
1: + u32 xid;
1: + long unsigned int svc_status;
1: + long unsigned int auth_stat;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_process {
1: + struct trace_entry ent;
1: + u32 xid;
1: + u32 vers;
1: + u32 proc;
1: + u32 __data_loc_service;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_rqst_event {
1: + struct trace_entry ent;
1: + u32 xid;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_rqst_status {
1: + struct trace_entry ent;
1: + u32 xid;
1: + int status;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_xprt_do_enqueue {
1: + struct trace_entry ent;
1: + struct svc_xprt *xprt;
1: + int pid;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_xprt_event {
1: + struct trace_entry ent;
1: + struct svc_xprt *xprt;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_xprt_dequeue {
1: + struct trace_entry ent;
1: + struct svc_xprt *xprt;
1: + long unsigned int flags;
1: + long unsigned int wakeup;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_wake_up {
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_handle_xprt {
1: + struct trace_entry ent;
1: + struct svc_xprt *xprt;
1: + int len;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_stats_latency {
1: + struct trace_entry ent;
1: + u32 xid;
1: + long unsigned int execute;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_svc_deferred_event {
1: + struct trace_entry ent;
1: + u32 xid;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_rpc_task_status {};
1: +
1: +struct trace_event_data_offsets_rpc_request {
1: + u32 progname;
1: + u32 procname;
1: +};
1: +
1: +struct trace_event_data_offsets_rpc_task_running {};
1: +
1: +struct trace_event_data_offsets_rpc_task_queued {
1: + u32 q_name;
1: +};
1: +
1: +struct trace_event_data_offsets_rpc_failure {};
1: +
1: +struct trace_event_data_offsets_rpc_reply_event {
1: + u32 progname;
1: + u32 procname;
1: + u32 servername;
1: +};
1: +
1: +struct trace_event_data_offsets_rpc_stats_latency {
1: + u32 progname;
1: + u32 procname;
1: +};
1: +
1: +struct trace_event_data_offsets_rpc_xdr_overflow {
1: + u32 progname;
1: + u32 procedure;
1: +};
1: +
1: +struct trace_event_data_offsets_rpc_xdr_alignment {
1: + u32 progname;
1: + u32 procedure;
1: +};
1: +
1: +struct trace_event_data_offsets_rpc_reply_pages {};
1: +
1: +struct trace_event_data_offsets_xs_socket_event {
1: + u32 dstaddr;
1: + u32 dstport;
1: +};
1: +
1: +struct trace_event_data_offsets_xs_socket_event_done {
1: + u32 dstaddr;
1: + u32 dstport;
1: +};
1: +
1: +struct trace_event_data_offsets_rpc_xprt_event {
1: + u32 addr;
1: + u32 port;
1: +};
1: +
1: +struct trace_event_data_offsets_xprt_transmit {};
1: +
1: +struct trace_event_data_offsets_xprt_enq_xmit {};
1: +
1: +struct trace_event_data_offsets_xprt_ping {
1: + u32 addr;
1: + u32 port;
1: +};
1: +
1: +struct trace_event_data_offsets_xprt_writelock_event {};
1: +
1: +struct trace_event_data_offsets_xprt_cong_event {};
1: +
1: +struct trace_event_data_offsets_xs_stream_read_data {
1: + u32 addr;
1: + u32 port;
1: +};
1: +
1: +struct trace_event_data_offsets_xs_stream_read_request {
1: + u32 addr;
1: + u32 port;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_recv {
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_authenticate {};
1: +
1: +struct trace_event_data_offsets_svc_process {
1: + u32 service;
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_rqst_event {
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_rqst_status {
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_xprt_do_enqueue {
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_xprt_event {
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_xprt_dequeue {
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_wake_up {};
1: +
1: +struct trace_event_data_offsets_svc_handle_xprt {
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_stats_latency {
1: + u32 addr;
1: +};
1: +
1: +struct trace_event_data_offsets_svc_deferred_event {
1: + u32 addr;
1: +};
1: +
1: +struct rpc_cred_cache {
1: + struct hlist_head *hashtable;
1: + unsigned int hashbits;
1: + spinlock_t lock;
1: +};
1: +
1: +enum {
1: + SVC_POOL_AUTO = -1,
1: + SVC_POOL_GLOBAL = 0,
1: + SVC_POOL_PERCPU = 1,
1: + SVC_POOL_PERNODE = 2,
1: +};
1: +
1: +struct svc_pool_map {
1: + int count;
1: + int mode;
1: + unsigned int npools;
1: + unsigned int *pool_to;
1: + unsigned int *to_pool;
1: +};
1: +
1: +struct unix_domain {
1: + struct auth_domain h;
1: +};
1: +
1: +struct ip_map {
1: + struct cache_head h;
1: + char m_class[8];
1: + struct in6_addr m_addr;
1: + struct unix_domain *m_client;
1: + struct callback_head m_rcu;
1: +};
1: +
1: +struct unix_gid {
1: + struct cache_head h;
1: + kuid_t uid;
1: + struct group_info *gi;
1: + struct callback_head rcu;
1: +};
1: +
1: +enum {
1: + RPCBPROC_NULL = 0,
1: + RPCBPROC_SET = 1,
1: + RPCBPROC_UNSET = 2,
1: + RPCBPROC_GETPORT = 3,
1: + RPCBPROC_GETADDR = 3,
1: + RPCBPROC_DUMP = 4,
1: + RPCBPROC_CALLIT = 5,
1: + RPCBPROC_BCAST = 5,
1: + RPCBPROC_GETTIME = 6,
1: + RPCBPROC_UADDR2TADDR = 7,
1: + RPCBPROC_TADDR2UADDR = 8,
1: + RPCBPROC_GETVERSADDR = 9,
1: + RPCBPROC_INDIRECT = 10,
1: + RPCBPROC_GETADDRLIST = 11,
1: + RPCBPROC_GETSTAT = 12,
1: +};
1: +
1: +struct rpcbind_args {
1: + struct rpc_xprt *r_xprt;
1: + u32 r_prog;
1: + u32 r_vers;
1: + u32 r_prot;
1: + short unsigned int r_port;
1: + const char *r_netid;
1: + const char *r_addr;
1: + const char *r_owner;
1: + int r_status;
1: +};
1: +
1: +struct rpcb_info {
1: + u32 rpc_vers;
1: + const struct rpc_procinfo *rpc_proc;
1: +};
1: +
1: +struct thread_deferred_req {
1: + struct cache_deferred_req handle;
1: + struct completion completion;
1: +};
1: +
1: +struct cache_queue {
1: + struct list_head list;
1: + int reader;
1: +};
1: +
1: +struct cache_request {
1: + struct cache_queue q;
1: + struct cache_head *item;
1: + char *buf;
1: + int len;
1: + int readers;
1: +};
1: +
1: +struct cache_reader {
1: + struct cache_queue q;
1: + int offset;
1: +};
1: +
1: +struct rpc_filelist {
1: + const char *name;
1: + const struct file_operations *i_fop;
1: + umode_t mode;
1: +};
1: +
1: +enum {
1: + RPCAUTH_info = 0,
1: + RPCAUTH_EOF = 1,
1: +};
1: +
1: +enum {
1: + RPCAUTH_lockd = 0,
1: + RPCAUTH_mount = 1,
1: + RPCAUTH_nfs = 2,
1: + RPCAUTH_portmap = 3,
1: + RPCAUTH_statd = 4,
1: + RPCAUTH_nfsd4_cb = 5,
1: + RPCAUTH_cache = 6,
1: + RPCAUTH_nfsd = 7,
1: + RPCAUTH_gssd = 8,
1: + RPCAUTH_RootEOF = 9,
1: +};
1: +
1: +struct svc_xpt_user {
1: + struct list_head list;
1: + void (*callback)(struct svc_xpt_user *);
1: +};
1: +
1: +typedef struct rpc_xprt * (*xprt_switch_find_xprt_t)(struct rpc_xprt_switch *, const struct rpc_xprt *);
1: +
1: +enum rpc_gss_proc {
1: + RPC_GSS_PROC_DATA = 0,
1: + RPC_GSS_PROC_INIT = 1,
1: + RPC_GSS_PROC_CONTINUE_INIT = 2,
1: + RPC_GSS_PROC_DESTROY = 3,
1: +};
1: +
1: +enum rpc_gss_svc {
1: + RPC_GSS_SVC_NONE = 1,
1: + RPC_GSS_SVC_INTEGRITY = 2,
1: + RPC_GSS_SVC_PRIVACY = 3,
1: +};
1: +
1: +struct gss_cl_ctx {
1: + refcount_t count;
1: + enum rpc_gss_proc gc_proc;
1: + u32 gc_seq;
1: + u32 gc_seq_xmit;
1: + spinlock_t gc_seq_lock;
1: + struct gss_ctx *gc_gss_ctx;
1: + struct xdr_netobj gc_wire_ctx;
1: + struct xdr_netobj gc_acceptor;
1: + u32 gc_win;
1: + long unsigned int gc_expiry;
1: + struct callback_head gc_rcu;
1: +};
1: +
1: +struct gss_upcall_msg;
1: +
1: +struct gss_cred {
1: + struct rpc_cred gc_base;
1: + enum rpc_gss_svc gc_service;
1: + struct gss_cl_ctx *gc_ctx;
1: + struct gss_upcall_msg *gc_upcall;
1: + const char *gc_principal;
1: + long unsigned int gc_upcall_timestamp;
1: +};
1: +
1: +struct gss_auth;
1: +
1: +struct gss_upcall_msg {
1: + refcount_t count;
1: + kuid_t uid;
1: + const char *service_name;
1: + struct rpc_pipe_msg msg;
1: + struct list_head list;
1: + struct gss_auth *auth;
1: + struct rpc_pipe *pipe;
1: + struct rpc_wait_queue rpc_waitqueue;
1: + wait_queue_head_t waitqueue;
1: + struct gss_cl_ctx *ctx;
1: + char databuf[256];
1: +};
1: +
1: +typedef unsigned int OM_uint32;
1: +
1: +struct gss_pipe {
1: + struct rpc_pipe_dir_object pdo;
1: + struct rpc_pipe *pipe;
1: + struct rpc_clnt *clnt;
1: + const char *name;
1: + struct kref kref;
1: +};
1: +
1: +struct gss_auth {
1: + struct kref kref;
1: + struct hlist_node hash;
1: + struct rpc_auth rpc_auth;
1: + struct gss_api_mech *mech;
1: + enum rpc_gss_svc service;
1: + struct rpc_clnt *client;
1: + struct net *net;
1: + struct gss_pipe *gss_pipe[2];
1: + const char *target_name;
1: +};
1: +
1: +struct gss_alloc_pdo {
1: + struct rpc_clnt *clnt;
1: + const char *name;
1: + const struct rpc_pipe_ops *upcall_ops;
1: +};
1: +
1: +struct rpc_gss_wire_cred {
1: + u32 gc_v;
1: + u32 gc_proc;
1: + u32 gc_seq;
1: + u32 gc_svc;
1: + struct xdr_netobj gc_ctx;
1: +};
1: +
1: +struct gssp_in_token {
1: + struct page **pages;
1: + unsigned int page_base;
1: + unsigned int page_len;
1: +};
1: +
1: +struct gssp_upcall_data {
1: + struct xdr_netobj in_handle;
1: + struct gssp_in_token in_token;
1: + struct xdr_netobj out_handle;
1: + struct xdr_netobj out_token;
1: + struct rpcsec_gss_oid mech_oid;
1: + struct svc_cred creds;
1: + int found_creds;
1: + int major_status;
1: + int minor_status;
1: +};
1: +
1: +struct rsi {
1: + struct cache_head h;
1: + struct xdr_netobj in_handle;
1: + struct xdr_netobj in_token;
1: + struct xdr_netobj out_handle;
1: + struct xdr_netobj out_token;
1: + int major_status;
1: + int minor_status;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct gss_svc_seq_data {
1: + int sd_max;
1: + long unsigned int sd_win[2];
1: + spinlock_t sd_lock;
1: +};
1: +
1: +struct rsc {
1: + struct cache_head h;
1: + struct xdr_netobj handle;
1: + struct svc_cred cred;
1: + struct gss_svc_seq_data seqdata;
1: + struct gss_ctx *mechctx;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct gss_domain {
1: + struct auth_domain h;
1: + u32 pseudoflavor;
1: +};
1: +
1: +struct gss_svc_data {
1: + struct rpc_gss_wire_cred clcred;
1: + __be32 *verf_start;
1: + struct rsc *rsci;
1: +};
1: +
1: +typedef struct xdr_netobj gssx_buffer;
1: +
1: +typedef struct xdr_netobj utf8string;
1: +
1: +typedef struct xdr_netobj gssx_OID;
1: +
1: +struct gssx_option {
1: + gssx_buffer option;
1: + gssx_buffer value;
1: +};
1: +
1: +struct gssx_option_array {
1: + u32 count;
1: + struct gssx_option *data;
1: +};
1: +
1: +struct gssx_status {
1: + u64 major_status;
1: + gssx_OID mech;
1: + u64 minor_status;
1: + utf8string major_status_string;
1: + utf8string minor_status_string;
1: + gssx_buffer server_ctx;
1: + struct gssx_option_array options;
1: +};
1: +
1: +struct gssx_call_ctx {
1: + utf8string locale;
1: + gssx_buffer server_ctx;
1: + struct gssx_option_array options;
1: +};
1: +
1: +struct gssx_name {
1: + gssx_buffer display_name;
1: +};
1: +
1: +typedef struct gssx_name gssx_name;
1: +
1: +struct gssx_cred_element {
1: + gssx_name MN;
1: + gssx_OID mech;
1: + u32 cred_usage;
1: + u64 initiator_time_rec;
1: + u64 acceptor_time_rec;
1: + struct gssx_option_array options;
1: +};
1: +
1: +struct gssx_cred_element_array {
1: + u32 count;
1: + struct gssx_cred_element *data;
1: +};
1: +
1: +struct gssx_cred {
1: + gssx_name desired_name;
1: + struct gssx_cred_element_array elements;
1: + gssx_buffer cred_handle_reference;
1: + u32 needs_release;
1: +};
1: +
1: +struct gssx_ctx {
1: + gssx_buffer exported_context_token;
1: + gssx_buffer state;
1: + u32 need_release;
1: + gssx_OID mech;
1: + gssx_name src_name;
1: + gssx_name targ_name;
1: + u64 lifetime;
1: + u64 ctx_flags;
1: + u32 locally_initiated;
1: + u32 open;
1: + struct gssx_option_array options;
1: +};
1: +
1: +struct gssx_cb {
1: + u64 initiator_addrtype;
1: + gssx_buffer initiator_address;
1: + u64 acceptor_addrtype;
1: + gssx_buffer acceptor_address;
1: + gssx_buffer application_data;
1: +};
1: +
1: +struct gssx_arg_accept_sec_context {
1: + struct gssx_call_ctx call_ctx;
1: + struct gssx_ctx *context_handle;
1: + struct gssx_cred *cred_handle;
1: + struct gssp_in_token input_token;
1: + struct gssx_cb *input_cb;
1: + u32 ret_deleg_cred;
1: + struct gssx_option_array options;
1: + struct page **pages;
1: + unsigned int npages;
1: +};
1: +
1: +struct gssx_res_accept_sec_context {
1: + struct gssx_status status;
1: + struct gssx_ctx *context_handle;
1: + gssx_buffer *output_token;
1: + struct gssx_option_array options;
1: +};
1: +
1: +enum {
1: + GSSX_NULL = 0,
1: + GSSX_INDICATE_MECHS = 1,
1: + GSSX_GET_CALL_CONTEXT = 2,
1: + GSSX_IMPORT_AND_CANON_NAME = 3,
1: + GSSX_EXPORT_CRED = 4,
1: + GSSX_IMPORT_CRED = 5,
1: + GSSX_ACQUIRE_CRED = 6,
1: + GSSX_STORE_CRED = 7,
1: + GSSX_INIT_SEC_CONTEXT = 8,
1: + GSSX_ACCEPT_SEC_CONTEXT = 9,
1: + GSSX_RELEASE_HANDLE = 10,
1: + GSSX_GET_MIC = 11,
1: + GSSX_VERIFY = 12,
1: + GSSX_WRAP = 13,
1: + GSSX_UNWRAP = 14,
1: + GSSX_WRAP_SIZE_LIMIT = 15,
1: +};
1: +
1: +struct gssx_name_attr {
1: + gssx_buffer attr;
1: + gssx_buffer value;
1: + struct gssx_option_array extensions;
1: +};
1: +
1: +struct gssx_name_attr_array {
1: + u32 count;
1: + struct gssx_name_attr *data;
1: +};
1: +
1: +struct trace_event_raw_rpcgss_gssapi_event {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 maj_stat;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_import_ctx {
1: + struct trace_entry ent;
1: + int status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_accept_upcall {
1: + struct trace_entry ent;
1: + u32 xid;
1: + u32 minor_status;
1: + long unsigned int major_status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_unwrap_failed {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_bad_seqno {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 expected;
1: + u32 received;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_seqno {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 seqno;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_need_reencode {
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 seq_xmit;
1: + u32 seqno;
1: + bool ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_upcall_msg {
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_upcall_result {
1: + struct trace_entry ent;
1: + u32 uid;
1: + int result;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_context {
1: + struct trace_entry ent;
1: + long unsigned int expiry;
1: + long unsigned int now;
1: + unsigned int timeout;
1: + int len;
1: + u32 __data_loc_acceptor;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_createauth {
1: + struct trace_entry ent;
1: + unsigned int flavor;
1: + int error;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rpcgss_oid_to_mech {
1: + struct trace_entry ent;
1: + u32 __data_loc_oid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_rpcgss_gssapi_event {};
1: +
1: +struct trace_event_data_offsets_rpcgss_import_ctx {};
1: +
1: +struct trace_event_data_offsets_rpcgss_accept_upcall {};
1: +
1: +struct trace_event_data_offsets_rpcgss_unwrap_failed {};
1: +
1: +struct trace_event_data_offsets_rpcgss_bad_seqno {};
1: +
1: +struct trace_event_data_offsets_rpcgss_seqno {};
1: +
1: +struct trace_event_data_offsets_rpcgss_need_reencode {};
1: +
1: +struct trace_event_data_offsets_rpcgss_upcall_msg {
1: + u32 msg;
1: +};
1: +
1: +struct trace_event_data_offsets_rpcgss_upcall_result {};
1: +
1: +struct trace_event_data_offsets_rpcgss_context {
1: + u32 acceptor;
1: +};
1: +
1: +struct trace_event_data_offsets_rpcgss_createauth {};
1: +
1: +struct trace_event_data_offsets_rpcgss_oid_to_mech {
1: + u32 oid;
1: +};
1: +
1: +enum nl80211_commands {
1: + NL80211_CMD_UNSPEC = 0,
1: + NL80211_CMD_GET_WIPHY = 1,
1: + NL80211_CMD_SET_WIPHY = 2,
1: + NL80211_CMD_NEW_WIPHY = 3,
1: + NL80211_CMD_DEL_WIPHY = 4,
1: + NL80211_CMD_GET_INTERFACE = 5,
1: + NL80211_CMD_SET_INTERFACE = 6,
1: + NL80211_CMD_NEW_INTERFACE = 7,
1: + NL80211_CMD_DEL_INTERFACE = 8,
1: + NL80211_CMD_GET_KEY = 9,
1: + NL80211_CMD_SET_KEY = 10,
1: + NL80211_CMD_NEW_KEY = 11,
1: + NL80211_CMD_DEL_KEY = 12,
1: + NL80211_CMD_GET_BEACON = 13,
1: + NL80211_CMD_SET_BEACON = 14,
1: + NL80211_CMD_START_AP = 15,
1: + NL80211_CMD_NEW_BEACON = 15,
1: + NL80211_CMD_STOP_AP = 16,
1: + NL80211_CMD_DEL_BEACON = 16,
1: + NL80211_CMD_GET_STATION = 17,
1: + NL80211_CMD_SET_STATION = 18,
1: + NL80211_CMD_NEW_STATION = 19,
1: + NL80211_CMD_DEL_STATION = 20,
1: + NL80211_CMD_GET_MPATH = 21,
1: + NL80211_CMD_SET_MPATH = 22,
1: + NL80211_CMD_NEW_MPATH = 23,
1: + NL80211_CMD_DEL_MPATH = 24,
1: + NL80211_CMD_SET_BSS = 25,
1: + NL80211_CMD_SET_REG = 26,
1: + NL80211_CMD_REQ_SET_REG = 27,
1: + NL80211_CMD_GET_MESH_CONFIG = 28,
1: + NL80211_CMD_SET_MESH_CONFIG = 29,
1: + NL80211_CMD_SET_MGMT_EXTRA_IE = 30,
1: + NL80211_CMD_GET_REG = 31,
1: + NL80211_CMD_GET_SCAN = 32,
1: + NL80211_CMD_TRIGGER_SCAN = 33,
1: + NL80211_CMD_NEW_SCAN_RESULTS = 34,
1: + NL80211_CMD_SCAN_ABORTED = 35,
1: + NL80211_CMD_REG_CHANGE = 36,
1: + NL80211_CMD_AUTHENTICATE = 37,
1: + NL80211_CMD_ASSOCIATE = 38,
1: + NL80211_CMD_DEAUTHENTICATE = 39,
1: + NL80211_CMD_DISASSOCIATE = 40,
1: + NL80211_CMD_MICHAEL_MIC_FAILURE = 41,
1: + NL80211_CMD_REG_BEACON_HINT = 42,
1: + NL80211_CMD_JOIN_IBSS = 43,
1: + NL80211_CMD_LEAVE_IBSS = 44,
1: + NL80211_CMD_TESTMODE = 45,
1: + NL80211_CMD_CONNECT = 46,
1: + NL80211_CMD_ROAM = 47,
1: + NL80211_CMD_DISCONNECT = 48,
1: + NL80211_CMD_SET_WIPHY_NETNS = 49,
1: + NL80211_CMD_GET_SURVEY = 50,
1: + NL80211_CMD_NEW_SURVEY_RESULTS = 51,
1: + NL80211_CMD_SET_PMKSA = 52,
1: + NL80211_CMD_DEL_PMKSA = 53,
1: + NL80211_CMD_FLUSH_PMKSA = 54,
1: + NL80211_CMD_REMAIN_ON_CHANNEL = 55,
1: + NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL = 56,
1: + NL80211_CMD_SET_TX_BITRATE_MASK = 57,
1: + NL80211_CMD_REGISTER_FRAME = 58,
1: + NL80211_CMD_REGISTER_ACTION = 58,
1: + NL80211_CMD_FRAME = 59,
1: + NL80211_CMD_ACTION = 59,
1: + NL80211_CMD_FRAME_TX_STATUS = 60,
1: + NL80211_CMD_ACTION_TX_STATUS = 60,
1: + NL80211_CMD_SET_POWER_SAVE = 61,
1: + NL80211_CMD_GET_POWER_SAVE = 62,
1: + NL80211_CMD_SET_CQM = 63,
1: + NL80211_CMD_NOTIFY_CQM = 64,
1: + NL80211_CMD_SET_CHANNEL = 65,
1: + NL80211_CMD_SET_WDS_PEER = 66,
1: + NL80211_CMD_FRAME_WAIT_CANCEL = 67,
1: + NL80211_CMD_JOIN_MESH = 68,
1: + NL80211_CMD_LEAVE_MESH = 69,
1: + NL80211_CMD_UNPROT_DEAUTHENTICATE = 70,
1: + NL80211_CMD_UNPROT_DISASSOCIATE = 71,
1: + NL80211_CMD_NEW_PEER_CANDIDATE = 72,
1: + NL80211_CMD_GET_WOWLAN = 73,
1: + NL80211_CMD_SET_WOWLAN = 74,
1: + NL80211_CMD_START_SCHED_SCAN = 75,
1: + NL80211_CMD_STOP_SCHED_SCAN = 76,
1: + NL80211_CMD_SCHED_SCAN_RESULTS = 77,
1: + NL80211_CMD_SCHED_SCAN_STOPPED = 78,
1: + NL80211_CMD_SET_REKEY_OFFLOAD = 79,
1: + NL80211_CMD_PMKSA_CANDIDATE = 80,
1: + NL80211_CMD_TDLS_OPER = 81,
1: + NL80211_CMD_TDLS_MGMT = 82,
1: + NL80211_CMD_UNEXPECTED_FRAME = 83,
1: + NL80211_CMD_PROBE_CLIENT = 84,
1: + NL80211_CMD_REGISTER_BEACONS = 85,
1: + NL80211_CMD_UNEXPECTED_4ADDR_FRAME = 86,
1: + NL80211_CMD_SET_NOACK_MAP = 87,
1: + NL80211_CMD_CH_SWITCH_NOTIFY = 88,
1: + NL80211_CMD_START_P2P_DEVICE = 89,
1: + NL80211_CMD_STOP_P2P_DEVICE = 90,
1: + NL80211_CMD_CONN_FAILED = 91,
1: + NL80211_CMD_SET_MCAST_RATE = 92,
1: + NL80211_CMD_SET_MAC_ACL = 93,
1: + NL80211_CMD_RADAR_DETECT = 94,
1: + NL80211_CMD_GET_PROTOCOL_FEATURES = 95,
1: + NL80211_CMD_UPDATE_FT_IES = 96,
1: + NL80211_CMD_FT_EVENT = 97,
1: + NL80211_CMD_CRIT_PROTOCOL_START = 98,
1: + NL80211_CMD_CRIT_PROTOCOL_STOP = 99,
1: + NL80211_CMD_GET_COALESCE = 100,
1: + NL80211_CMD_SET_COALESCE = 101,
1: + NL80211_CMD_CHANNEL_SWITCH = 102,
1: + NL80211_CMD_VENDOR = 103,
1: + NL80211_CMD_SET_QOS_MAP = 104,
1: + NL80211_CMD_ADD_TX_TS = 105,
1: + NL80211_CMD_DEL_TX_TS = 106,
1: + NL80211_CMD_GET_MPP = 107,
1: + NL80211_CMD_JOIN_OCB = 108,
1: + NL80211_CMD_LEAVE_OCB = 109,
1: + NL80211_CMD_CH_SWITCH_STARTED_NOTIFY = 110,
1: + NL80211_CMD_TDLS_CHANNEL_SWITCH = 111,
1: + NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH = 112,
1: + NL80211_CMD_WIPHY_REG_CHANGE = 113,
1: + NL80211_CMD_ABORT_SCAN = 114,
1: + NL80211_CMD_START_NAN = 115,
1: + NL80211_CMD_STOP_NAN = 116,
1: + NL80211_CMD_ADD_NAN_FUNCTION = 117,
1: + NL80211_CMD_DEL_NAN_FUNCTION = 118,
1: + NL80211_CMD_CHANGE_NAN_CONFIG = 119,
1: + NL80211_CMD_NAN_MATCH = 120,
1: + NL80211_CMD_SET_MULTICAST_TO_UNICAST = 121,
1: + NL80211_CMD_UPDATE_CONNECT_PARAMS = 122,
1: + NL80211_CMD_SET_PMK = 123,
1: + NL80211_CMD_DEL_PMK = 124,
1: + NL80211_CMD_PORT_AUTHORIZED = 125,
1: + NL80211_CMD_RELOAD_REGDB = 126,
1: + NL80211_CMD_EXTERNAL_AUTH = 127,
1: + NL80211_CMD_STA_OPMODE_CHANGED = 128,
1: + NL80211_CMD_CONTROL_PORT_FRAME = 129,
1: + NL80211_CMD_GET_FTM_RESPONDER_STATS = 130,
1: + NL80211_CMD_PEER_MEASUREMENT_START = 131,
1: + NL80211_CMD_PEER_MEASUREMENT_RESULT = 132,
1: + NL80211_CMD_PEER_MEASUREMENT_COMPLETE = 133,
1: + NL80211_CMD_NOTIFY_RADAR = 134,
1: + NL80211_CMD_UPDATE_OWE_INFO = 135,
1: + NL80211_CMD_PROBE_MESH_LINK = 136,
1: + __NL80211_CMD_AFTER_LAST = 137,
1: + NL80211_CMD_MAX = 136,
1: +};
1: +
1: +enum nl80211_attrs {
1: + NL80211_ATTR_UNSPEC = 0,
1: + NL80211_ATTR_WIPHY = 1,
1: + NL80211_ATTR_WIPHY_NAME = 2,
1: + NL80211_ATTR_IFINDEX = 3,
1: + NL80211_ATTR_IFNAME = 4,
1: + NL80211_ATTR_IFTYPE = 5,
1: + NL80211_ATTR_MAC = 6,
1: + NL80211_ATTR_KEY_DATA = 7,
1: + NL80211_ATTR_KEY_IDX = 8,
1: + NL80211_ATTR_KEY_CIPHER = 9,
1: + NL80211_ATTR_KEY_SEQ = 10,
1: + NL80211_ATTR_KEY_DEFAULT = 11,
1: + NL80211_ATTR_BEACON_INTERVAL = 12,
1: + NL80211_ATTR_DTIM_PERIOD = 13,
1: + NL80211_ATTR_BEACON_HEAD = 14,
1: + NL80211_ATTR_BEACON_TAIL = 15,
1: + NL80211_ATTR_STA_AID = 16,
1: + NL80211_ATTR_STA_FLAGS = 17,
1: + NL80211_ATTR_STA_LISTEN_INTERVAL = 18,
1: + NL80211_ATTR_STA_SUPPORTED_RATES = 19,
1: + NL80211_ATTR_STA_VLAN = 20,
1: + NL80211_ATTR_STA_INFO = 21,
1: + NL80211_ATTR_WIPHY_BANDS = 22,
1: + NL80211_ATTR_MNTR_FLAGS = 23,
1: + NL80211_ATTR_MESH_ID = 24,
1: + NL80211_ATTR_STA_PLINK_ACTION = 25,
1: + NL80211_ATTR_MPATH_NEXT_HOP = 26,
1: + NL80211_ATTR_MPATH_INFO = 27,
1: + NL80211_ATTR_BSS_CTS_PROT = 28,
1: + NL80211_ATTR_BSS_SHORT_PREAMBLE = 29,
1: + NL80211_ATTR_BSS_SHORT_SLOT_TIME = 30,
1: + NL80211_ATTR_HT_CAPABILITY = 31,
1: + NL80211_ATTR_SUPPORTED_IFTYPES = 32,
1: + NL80211_ATTR_REG_ALPHA2 = 33,
1: + NL80211_ATTR_REG_RULES = 34,
1: + NL80211_ATTR_MESH_CONFIG = 35,
1: + NL80211_ATTR_BSS_BASIC_RATES = 36,
1: + NL80211_ATTR_WIPHY_TXQ_PARAMS = 37,
1: + NL80211_ATTR_WIPHY_FREQ = 38,
1: + NL80211_ATTR_WIPHY_CHANNEL_TYPE = 39,
1: + NL80211_ATTR_KEY_DEFAULT_MGMT = 40,
1: + NL80211_ATTR_MGMT_SUBTYPE = 41,
1: + NL80211_ATTR_IE = 42,
1: + NL80211_ATTR_MAX_NUM_SCAN_SSIDS = 43,
1: + NL80211_ATTR_SCAN_FREQUENCIES = 44,
1: + NL80211_ATTR_SCAN_SSIDS = 45,
1: + NL80211_ATTR_GENERATION = 46,
1: + NL80211_ATTR_BSS = 47,
1: + NL80211_ATTR_REG_INITIATOR = 48,
1: + NL80211_ATTR_REG_TYPE = 49,
1: + NL80211_ATTR_SUPPORTED_COMMANDS = 50,
1: + NL80211_ATTR_FRAME = 51,
1: + NL80211_ATTR_SSID = 52,
1: + NL80211_ATTR_AUTH_TYPE = 53,
1: + NL80211_ATTR_REASON_CODE = 54,
1: + NL80211_ATTR_KEY_TYPE = 55,
1: + NL80211_ATTR_MAX_SCAN_IE_LEN = 56,
1: + NL80211_ATTR_CIPHER_SUITES = 57,
1: + NL80211_ATTR_FREQ_BEFORE = 58,
1: + NL80211_ATTR_FREQ_AFTER = 59,
1: + NL80211_ATTR_FREQ_FIXED = 60,
1: + NL80211_ATTR_WIPHY_RETRY_SHORT = 61,
1: + NL80211_ATTR_WIPHY_RETRY_LONG = 62,
1: + NL80211_ATTR_WIPHY_FRAG_THRESHOLD = 63,
1: + NL80211_ATTR_WIPHY_RTS_THRESHOLD = 64,
1: + NL80211_ATTR_TIMED_OUT = 65,
1: + NL80211_ATTR_USE_MFP = 66,
1: + NL80211_ATTR_STA_FLAGS2 = 67,
1: + NL80211_ATTR_CONTROL_PORT = 68,
1: + NL80211_ATTR_TESTDATA = 69,
1: + NL80211_ATTR_PRIVACY = 70,
1: + NL80211_ATTR_DISCONNECTED_BY_AP = 71,
1: + NL80211_ATTR_STATUS_CODE = 72,
1: + NL80211_ATTR_CIPHER_SUITES_PAIRWISE = 73,
1: + NL80211_ATTR_CIPHER_SUITE_GROUP = 74,
1: + NL80211_ATTR_WPA_VERSIONS = 75,
1: + NL80211_ATTR_AKM_SUITES = 76,
1: + NL80211_ATTR_REQ_IE = 77,
1: + NL80211_ATTR_RESP_IE = 78,
1: + NL80211_ATTR_PREV_BSSID = 79,
1: + NL80211_ATTR_KEY = 80,
1: + NL80211_ATTR_KEYS = 81,
1: + NL80211_ATTR_PID = 82,
1: + NL80211_ATTR_4ADDR = 83,
1: + NL80211_ATTR_SURVEY_INFO = 84,
1: + NL80211_ATTR_PMKID = 85,
1: + NL80211_ATTR_MAX_NUM_PMKIDS = 86,
1: + NL80211_ATTR_DURATION = 87,
1: + NL80211_ATTR_COOKIE = 88,
1: + NL80211_ATTR_WIPHY_COVERAGE_CLASS = 89,
1: + NL80211_ATTR_TX_RATES = 90,
1: + NL80211_ATTR_FRAME_MATCH = 91,
1: + NL80211_ATTR_ACK = 92,
1: + NL80211_ATTR_PS_STATE = 93,
1: + NL80211_ATTR_CQM = 94,
1: + NL80211_ATTR_LOCAL_STATE_CHANGE = 95,
1: + NL80211_ATTR_AP_ISOLATE = 96,
1: + NL80211_ATTR_WIPHY_TX_POWER_SETTING = 97,
1: + NL80211_ATTR_WIPHY_TX_POWER_LEVEL = 98,
1: + NL80211_ATTR_TX_FRAME_TYPES = 99,
1: + NL80211_ATTR_RX_FRAME_TYPES = 100,
1: + NL80211_ATTR_FRAME_TYPE = 101,
1: + NL80211_ATTR_CONTROL_PORT_ETHERTYPE = 102,
1: + NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT = 103,
1: + NL80211_ATTR_SUPPORT_IBSS_RSN = 104,
1: + NL80211_ATTR_WIPHY_ANTENNA_TX = 105,
1: + NL80211_ATTR_WIPHY_ANTENNA_RX = 106,
1: + NL80211_ATTR_MCAST_RATE = 107,
1: + NL80211_ATTR_OFFCHANNEL_TX_OK = 108,
1: + NL80211_ATTR_BSS_HT_OPMODE = 109,
1: + NL80211_ATTR_KEY_DEFAULT_TYPES = 110,
1: + NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION = 111,
1: + NL80211_ATTR_MESH_SETUP = 112,
1: + NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX = 113,
1: + NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX = 114,
1: + NL80211_ATTR_SUPPORT_MESH_AUTH = 115,
1: + NL80211_ATTR_STA_PLINK_STATE = 116,
1: + NL80211_ATTR_WOWLAN_TRIGGERS = 117,
1: + NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED = 118,
1: + NL80211_ATTR_SCHED_SCAN_INTERVAL = 119,
1: + NL80211_ATTR_INTERFACE_COMBINATIONS = 120,
1: + NL80211_ATTR_SOFTWARE_IFTYPES = 121,
1: + NL80211_ATTR_REKEY_DATA = 122,
1: + NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS = 123,
1: + NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN = 124,
1: + NL80211_ATTR_SCAN_SUPP_RATES = 125,
1: + NL80211_ATTR_HIDDEN_SSID = 126,
1: + NL80211_ATTR_IE_PROBE_RESP = 127,
1: + NL80211_ATTR_IE_ASSOC_RESP = 128,
1: + NL80211_ATTR_STA_WME = 129,
1: + NL80211_ATTR_SUPPORT_AP_UAPSD = 130,
1: + NL80211_ATTR_ROAM_SUPPORT = 131,
1: + NL80211_ATTR_SCHED_SCAN_MATCH = 132,
1: + NL80211_ATTR_MAX_MATCH_SETS = 133,
1: + NL80211_ATTR_PMKSA_CANDIDATE = 134,
1: + NL80211_ATTR_TX_NO_CCK_RATE = 135,
1: + NL80211_ATTR_TDLS_ACTION = 136,
1: + NL80211_ATTR_TDLS_DIALOG_TOKEN = 137,
1: + NL80211_ATTR_TDLS_OPERATION = 138,
1: + NL80211_ATTR_TDLS_SUPPORT = 139,
1: + NL80211_ATTR_TDLS_EXTERNAL_SETUP = 140,
1: + NL80211_ATTR_DEVICE_AP_SME = 141,
1: + NL80211_ATTR_DONT_WAIT_FOR_ACK = 142,
1: + NL80211_ATTR_FEATURE_FLAGS = 143,
1: + NL80211_ATTR_PROBE_RESP_OFFLOAD = 144,
1: + NL80211_ATTR_PROBE_RESP = 145,
1: + NL80211_ATTR_DFS_REGION = 146,
1: + NL80211_ATTR_DISABLE_HT = 147,
1: + NL80211_ATTR_HT_CAPABILITY_MASK = 148,
1: + NL80211_ATTR_NOACK_MAP = 149,
1: + NL80211_ATTR_INACTIVITY_TIMEOUT = 150,
1: + NL80211_ATTR_RX_SIGNAL_DBM = 151,
1: + NL80211_ATTR_BG_SCAN_PERIOD = 152,
1: + NL80211_ATTR_WDEV = 153,
1: + NL80211_ATTR_USER_REG_HINT_TYPE = 154,
1: + NL80211_ATTR_CONN_FAILED_REASON = 155,
1: + NL80211_ATTR_AUTH_DATA = 156,
1: + NL80211_ATTR_VHT_CAPABILITY = 157,
1: + NL80211_ATTR_SCAN_FLAGS = 158,
1: + NL80211_ATTR_CHANNEL_WIDTH = 159,
1: + NL80211_ATTR_CENTER_FREQ1 = 160,
1: + NL80211_ATTR_CENTER_FREQ2 = 161,
1: + NL80211_ATTR_P2P_CTWINDOW = 162,
1: + NL80211_ATTR_P2P_OPPPS = 163,
1: + NL80211_ATTR_LOCAL_MESH_POWER_MODE = 164,
1: + NL80211_ATTR_ACL_POLICY = 165,
1: + NL80211_ATTR_MAC_ADDRS = 166,
1: + NL80211_ATTR_MAC_ACL_MAX = 167,
1: + NL80211_ATTR_RADAR_EVENT = 168,
1: + NL80211_ATTR_EXT_CAPA = 169,
1: + NL80211_ATTR_EXT_CAPA_MASK = 170,
1: + NL80211_ATTR_STA_CAPABILITY = 171,
1: + NL80211_ATTR_STA_EXT_CAPABILITY = 172,
1: + NL80211_ATTR_PROTOCOL_FEATURES = 173,
1: + NL80211_ATTR_SPLIT_WIPHY_DUMP = 174,
1: + NL80211_ATTR_DISABLE_VHT = 175,
1: + NL80211_ATTR_VHT_CAPABILITY_MASK = 176,
1: + NL80211_ATTR_MDID = 177,
1: + NL80211_ATTR_IE_RIC = 178,
1: + NL80211_ATTR_CRIT_PROT_ID = 179,
1: + NL80211_ATTR_MAX_CRIT_PROT_DURATION = 180,
1: + NL80211_ATTR_PEER_AID = 181,
1: + NL80211_ATTR_COALESCE_RULE = 182,
1: + NL80211_ATTR_CH_SWITCH_COUNT = 183,
1: + NL80211_ATTR_CH_SWITCH_BLOCK_TX = 184,
1: + NL80211_ATTR_CSA_IES = 185,
1: + NL80211_ATTR_CSA_C_OFF_BEACON = 186,
1: + NL80211_ATTR_CSA_C_OFF_PRESP = 187,
1: + NL80211_ATTR_RXMGMT_FLAGS = 188,
1: + NL80211_ATTR_STA_SUPPORTED_CHANNELS = 189,
1: + NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES = 190,
1: + NL80211_ATTR_HANDLE_DFS = 191,
1: + NL80211_ATTR_SUPPORT_5_MHZ = 192,
1: + NL80211_ATTR_SUPPORT_10_MHZ = 193,
1: + NL80211_ATTR_OPMODE_NOTIF = 194,
1: + NL80211_ATTR_VENDOR_ID = 195,
1: + NL80211_ATTR_VENDOR_SUBCMD = 196,
1: + NL80211_ATTR_VENDOR_DATA = 197,
1: + NL80211_ATTR_VENDOR_EVENTS = 198,
1: + NL80211_ATTR_QOS_MAP = 199,
1: + NL80211_ATTR_MAC_HINT = 200,
1: + NL80211_ATTR_WIPHY_FREQ_HINT = 201,
1: + NL80211_ATTR_MAX_AP_ASSOC_STA = 202,
1: + NL80211_ATTR_TDLS_PEER_CAPABILITY = 203,
1: + NL80211_ATTR_SOCKET_OWNER = 204,
1: + NL80211_ATTR_CSA_C_OFFSETS_TX = 205,
1: + NL80211_ATTR_MAX_CSA_COUNTERS = 206,
1: + NL80211_ATTR_TDLS_INITIATOR = 207,
1: + NL80211_ATTR_USE_RRM = 208,
1: + NL80211_ATTR_WIPHY_DYN_ACK = 209,
1: + NL80211_ATTR_TSID = 210,
1: + NL80211_ATTR_USER_PRIO = 211,
1: + NL80211_ATTR_ADMITTED_TIME = 212,
1: + NL80211_ATTR_SMPS_MODE = 213,
1: + NL80211_ATTR_OPER_CLASS = 214,
1: + NL80211_ATTR_MAC_MASK = 215,
1: + NL80211_ATTR_WIPHY_SELF_MANAGED_REG = 216,
1: + NL80211_ATTR_EXT_FEATURES = 217,
1: + NL80211_ATTR_SURVEY_RADIO_STATS = 218,
1: + NL80211_ATTR_NETNS_FD = 219,
1: + NL80211_ATTR_SCHED_SCAN_DELAY = 220,
1: + NL80211_ATTR_REG_INDOOR = 221,
1: + NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS = 222,
1: + NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL = 223,
1: + NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS = 224,
1: + NL80211_ATTR_SCHED_SCAN_PLANS = 225,
1: + NL80211_ATTR_PBSS = 226,
1: + NL80211_ATTR_BSS_SELECT = 227,
1: + NL80211_ATTR_STA_SUPPORT_P2P_PS = 228,
1: + NL80211_ATTR_PAD = 229,
1: + NL80211_ATTR_IFTYPE_EXT_CAPA = 230,
1: + NL80211_ATTR_MU_MIMO_GROUP_DATA = 231,
1: + NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR = 232,
1: + NL80211_ATTR_SCAN_START_TIME_TSF = 233,
1: + NL80211_ATTR_SCAN_START_TIME_TSF_BSSID = 234,
1: + NL80211_ATTR_MEASUREMENT_DURATION = 235,
1: + NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY = 236,
1: + NL80211_ATTR_MESH_PEER_AID = 237,
1: + NL80211_ATTR_NAN_MASTER_PREF = 238,
1: + NL80211_ATTR_BANDS = 239,
1: + NL80211_ATTR_NAN_FUNC = 240,
1: + NL80211_ATTR_NAN_MATCH = 241,
1: + NL80211_ATTR_FILS_KEK = 242,
1: + NL80211_ATTR_FILS_NONCES = 243,
1: + NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED = 244,
1: + NL80211_ATTR_BSSID = 245,
1: + NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI = 246,
1: + NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST = 247,
1: + NL80211_ATTR_TIMEOUT_REASON = 248,
1: + NL80211_ATTR_FILS_ERP_USERNAME = 249,
1: + NL80211_ATTR_FILS_ERP_REALM = 250,
1: + NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM = 251,
1: + NL80211_ATTR_FILS_ERP_RRK = 252,
1: + NL80211_ATTR_FILS_CACHE_ID = 253,
1: + NL80211_ATTR_PMK = 254,
1: + NL80211_ATTR_SCHED_SCAN_MULTI = 255,
1: + NL80211_ATTR_SCHED_SCAN_MAX_REQS = 256,
1: + NL80211_ATTR_WANT_1X_4WAY_HS = 257,
1: + NL80211_ATTR_PMKR0_NAME = 258,
1: + NL80211_ATTR_PORT_AUTHORIZED = 259,
1: + NL80211_ATTR_EXTERNAL_AUTH_ACTION = 260,
1: + NL80211_ATTR_EXTERNAL_AUTH_SUPPORT = 261,
1: + NL80211_ATTR_NSS = 262,
1: + NL80211_ATTR_ACK_SIGNAL = 263,
1: + NL80211_ATTR_CONTROL_PORT_OVER_NL80211 = 264,
1: + NL80211_ATTR_TXQ_STATS = 265,
1: + NL80211_ATTR_TXQ_LIMIT = 266,
1: + NL80211_ATTR_TXQ_MEMORY_LIMIT = 267,
1: + NL80211_ATTR_TXQ_QUANTUM = 268,
1: + NL80211_ATTR_HE_CAPABILITY = 269,
1: + NL80211_ATTR_FTM_RESPONDER = 270,
1: + NL80211_ATTR_FTM_RESPONDER_STATS = 271,
1: + NL80211_ATTR_TIMEOUT = 272,
1: + NL80211_ATTR_PEER_MEASUREMENTS = 273,
1: + NL80211_ATTR_AIRTIME_WEIGHT = 274,
1: + NL80211_ATTR_STA_TX_POWER_SETTING = 275,
1: + NL80211_ATTR_STA_TX_POWER = 276,
1: + NL80211_ATTR_SAE_PASSWORD = 277,
1: + NL80211_ATTR_TWT_RESPONDER = 278,
1: + NL80211_ATTR_HE_OBSS_PD = 279,
1: + NL80211_ATTR_WIPHY_EDMG_CHANNELS = 280,
1: + NL80211_ATTR_WIPHY_EDMG_BW_CONFIG = 281,
1: + NL80211_ATTR_VLAN_ID = 282,
1: + __NL80211_ATTR_AFTER_LAST = 283,
1: + NUM_NL80211_ATTR = 283,
1: + NL80211_ATTR_MAX = 282,
1: +};
1: +
1: +enum nl80211_iftype {
1: + NL80211_IFTYPE_UNSPECIFIED = 0,
1: + NL80211_IFTYPE_ADHOC = 1,
1: + NL80211_IFTYPE_STATION = 2,
1: + NL80211_IFTYPE_AP = 3,
1: + NL80211_IFTYPE_AP_VLAN = 4,
1: + NL80211_IFTYPE_WDS = 5,
1: + NL80211_IFTYPE_MONITOR = 6,
1: + NL80211_IFTYPE_MESH_POINT = 7,
1: + NL80211_IFTYPE_P2P_CLIENT = 8,
1: + NL80211_IFTYPE_P2P_GO = 9,
1: + NL80211_IFTYPE_P2P_DEVICE = 10,
1: + NL80211_IFTYPE_OCB = 11,
1: + NL80211_IFTYPE_NAN = 12,
1: + NUM_NL80211_IFTYPES = 13,
1: + NL80211_IFTYPE_MAX = 12,
1: +};
1: +
1: +struct nl80211_sta_flag_update {
1: + __u32 mask;
1: + __u32 set;
1: +};
1: +
1: +enum nl80211_reg_initiator {
1: + NL80211_REGDOM_SET_BY_CORE = 0,
1: + NL80211_REGDOM_SET_BY_USER = 1,
1: + NL80211_REGDOM_SET_BY_DRIVER = 2,
1: + NL80211_REGDOM_SET_BY_COUNTRY_IE = 3,
1: +};
1: +
1: +enum nl80211_dfs_regions {
1: + NL80211_DFS_UNSET = 0,
1: + NL80211_DFS_FCC = 1,
1: + NL80211_DFS_ETSI = 2,
1: + NL80211_DFS_JP = 3,
1: +};
1: +
1: +enum nl80211_user_reg_hint_type {
1: + NL80211_USER_REG_HINT_USER = 0,
1: + NL80211_USER_REG_HINT_CELL_BASE = 1,
1: + NL80211_USER_REG_HINT_INDOOR = 2,
1: +};
1: +
1: +enum nl80211_mntr_flags {
1: + __NL80211_MNTR_FLAG_INVALID = 0,
1: + NL80211_MNTR_FLAG_FCSFAIL = 1,
1: + NL80211_MNTR_FLAG_PLCPFAIL = 2,
1: + NL80211_MNTR_FLAG_CONTROL = 3,
1: + NL80211_MNTR_FLAG_OTHER_BSS = 4,
1: + NL80211_MNTR_FLAG_COOK_FRAMES = 5,
1: + NL80211_MNTR_FLAG_ACTIVE = 6,
1: + __NL80211_MNTR_FLAG_AFTER_LAST = 7,
1: + NL80211_MNTR_FLAG_MAX = 6,
1: +};
1: +
1: +enum nl80211_mesh_power_mode {
1: + NL80211_MESH_POWER_UNKNOWN = 0,
1: + NL80211_MESH_POWER_ACTIVE = 1,
1: + NL80211_MESH_POWER_LIGHT_SLEEP = 2,
1: + NL80211_MESH_POWER_DEEP_SLEEP = 3,
1: + __NL80211_MESH_POWER_AFTER_LAST = 4,
1: + NL80211_MESH_POWER_MAX = 3,
1: +};
1: +
1: +enum nl80211_ac {
1: + NL80211_AC_VO = 0,
1: + NL80211_AC_VI = 1,
1: + NL80211_AC_BE = 2,
1: + NL80211_AC_BK = 3,
1: + NL80211_NUM_ACS = 4,
1: +};
1: +
1: +enum nl80211_key_mode {
1: + NL80211_KEY_RX_TX = 0,
1: + NL80211_KEY_NO_TX = 1,
1: + NL80211_KEY_SET_TX = 2,
1: +};
1: +
1: +enum nl80211_chan_width {
1: + NL80211_CHAN_WIDTH_20_NOHT = 0,
1: + NL80211_CHAN_WIDTH_20 = 1,
1: + NL80211_CHAN_WIDTH_40 = 2,
1: + NL80211_CHAN_WIDTH_80 = 3,
1: + NL80211_CHAN_WIDTH_80P80 = 4,
1: + NL80211_CHAN_WIDTH_160 = 5,
1: + NL80211_CHAN_WIDTH_5 = 6,
1: + NL80211_CHAN_WIDTH_10 = 7,
1: +};
1: +
1: +enum nl80211_bss_scan_width {
1: + NL80211_BSS_CHAN_WIDTH_20 = 0,
1: + NL80211_BSS_CHAN_WIDTH_10 = 1,
1: + NL80211_BSS_CHAN_WIDTH_5 = 2,
1: +};
1: +
1: +enum nl80211_auth_type {
1: + NL80211_AUTHTYPE_OPEN_SYSTEM = 0,
1: + NL80211_AUTHTYPE_SHARED_KEY = 1,
1: + NL80211_AUTHTYPE_FT = 2,
1: + NL80211_AUTHTYPE_NETWORK_EAP = 3,
1: + NL80211_AUTHTYPE_SAE = 4,
1: + NL80211_AUTHTYPE_FILS_SK = 5,
1: + NL80211_AUTHTYPE_FILS_SK_PFS = 6,
1: + NL80211_AUTHTYPE_FILS_PK = 7,
1: + __NL80211_AUTHTYPE_NUM = 8,
1: + NL80211_AUTHTYPE_MAX = 7,
1: + NL80211_AUTHTYPE_AUTOMATIC = 8,
1: +};
1: +
1: +enum nl80211_mfp {
1: + NL80211_MFP_NO = 0,
1: + NL80211_MFP_REQUIRED = 1,
1: + NL80211_MFP_OPTIONAL = 2,
1: +};
1: +
1: +enum nl80211_txrate_gi {
1: + NL80211_TXRATE_DEFAULT_GI = 0,
1: + NL80211_TXRATE_FORCE_SGI = 1,
1: + NL80211_TXRATE_FORCE_LGI = 2,
1: +};
1: +
1: +enum nl80211_band {
1: + NL80211_BAND_2GHZ = 0,
1: + NL80211_BAND_5GHZ = 1,
1: + NL80211_BAND_60GHZ = 2,
1: + NL80211_BAND_6GHZ = 3,
1: + NUM_NL80211_BANDS = 4,
1: +};
1: +
1: +enum nl80211_tx_power_setting {
1: + NL80211_TX_POWER_AUTOMATIC = 0,
1: + NL80211_TX_POWER_LIMITED = 1,
1: + NL80211_TX_POWER_FIXED = 2,
1: +};
1: +
1: +struct nl80211_wowlan_tcp_data_seq {
1: + __u32 start;
1: + __u32 offset;
1: + __u32 len;
1: +};
1: +
1: +struct nl80211_wowlan_tcp_data_token {
1: + __u32 offset;
1: + __u32 len;
1: + __u8 token_stream[0];
1: +};
1: +
1: +struct nl80211_wowlan_tcp_data_token_feature {
1: + __u32 min_len;
1: + __u32 max_len;
1: + __u32 bufsize;
1: +};
1: +
1: +enum nl80211_coalesce_condition {
1: + NL80211_COALESCE_CONDITION_MATCH = 0,
1: + NL80211_COALESCE_CONDITION_NO_MATCH = 1,
1: +};
1: +
1: +enum nl80211_hidden_ssid {
1: + NL80211_HIDDEN_SSID_NOT_IN_USE = 0,
1: + NL80211_HIDDEN_SSID_ZERO_LEN = 1,
1: + NL80211_HIDDEN_SSID_ZERO_CONTENTS = 2,
1: +};
1: +
1: +enum nl80211_tdls_operation {
1: + NL80211_TDLS_DISCOVERY_REQ = 0,
1: + NL80211_TDLS_SETUP = 1,
1: + NL80211_TDLS_TEARDOWN = 2,
1: + NL80211_TDLS_ENABLE_LINK = 3,
1: + NL80211_TDLS_DISABLE_LINK = 4,
1: +};
1: +
1: +enum nl80211_feature_flags {
1: + NL80211_FEATURE_SK_TX_STATUS = 1,
1: + NL80211_FEATURE_HT_IBSS = 2,
1: + NL80211_FEATURE_INACTIVITY_TIMER = 4,
1: + NL80211_FEATURE_CELL_BASE_REG_HINTS = 8,
1: + NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 16,
1: + NL80211_FEATURE_SAE = 32,
1: + NL80211_FEATURE_LOW_PRIORITY_SCAN = 64,
1: + NL80211_FEATURE_SCAN_FLUSH = 128,
1: + NL80211_FEATURE_AP_SCAN = 256,
1: + NL80211_FEATURE_VIF_TXPOWER = 512,
1: + NL80211_FEATURE_NEED_OBSS_SCAN = 1024,
1: + NL80211_FEATURE_P2P_GO_CTWIN = 2048,
1: + NL80211_FEATURE_P2P_GO_OPPPS = 4096,
1: + NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 16384,
1: + NL80211_FEATURE_FULL_AP_CLIENT_STATE = 32768,
1: + NL80211_FEATURE_USERSPACE_MPM = 65536,
1: + NL80211_FEATURE_ACTIVE_MONITOR = 131072,
1: + NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 262144,
1: + NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 524288,
1: + NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 1048576,
1: + NL80211_FEATURE_QUIET = 2097152,
1: + NL80211_FEATURE_TX_POWER_INSERTION = 4194304,
1: + NL80211_FEATURE_ACKTO_ESTIMATION = 8388608,
1: + NL80211_FEATURE_STATIC_SMPS = 16777216,
1: + NL80211_FEATURE_DYNAMIC_SMPS = 33554432,
1: + NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 67108864,
1: + NL80211_FEATURE_MAC_ON_CREATE = 134217728,
1: + NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 268435456,
1: + NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 536870912,
1: + NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 1073741824,
1: + NL80211_FEATURE_ND_RANDOM_MAC_ADDR = -2147483648,
1: +};
1: +
1: +enum nl80211_ext_feature_index {
1: + NL80211_EXT_FEATURE_VHT_IBSS = 0,
1: + NL80211_EXT_FEATURE_RRM = 1,
1: + NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER = 2,
1: + NL80211_EXT_FEATURE_SCAN_START_TIME = 3,
1: + NL80211_EXT_FEATURE_BSS_PARENT_TSF = 4,
1: + NL80211_EXT_FEATURE_SET_SCAN_DWELL = 5,
1: + NL80211_EXT_FEATURE_BEACON_RATE_LEGACY = 6,
1: + NL80211_EXT_FEATURE_BEACON_RATE_HT = 7,
1: + NL80211_EXT_FEATURE_BEACON_RATE_VHT = 8,
1: + NL80211_EXT_FEATURE_FILS_STA = 9,
1: + NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA = 10,
1: + NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED = 11,
1: + NL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI = 12,
1: + NL80211_EXT_FEATURE_CQM_RSSI_LIST = 13,
1: + NL80211_EXT_FEATURE_FILS_SK_OFFLOAD = 14,
1: + NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK = 15,
1: + NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X = 16,
1: + NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME = 17,
1: + NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP = 18,
1: + NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE = 19,
1: + NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 20,
1: + NL80211_EXT_FEATURE_MFP_OPTIONAL = 21,
1: + NL80211_EXT_FEATURE_LOW_SPAN_SCAN = 22,
1: + NL80211_EXT_FEATURE_LOW_POWER_SCAN = 23,
1: + NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN = 24,
1: + NL80211_EXT_FEATURE_DFS_OFFLOAD = 25,
1: + NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211 = 26,
1: + NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT = 27,
1: + NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT = 27,
1: + NL80211_EXT_FEATURE_TXQS = 28,
1: + NL80211_EXT_FEATURE_SCAN_RANDOM_SN = 29,
1: + NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT = 30,
1: + NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 = 31,
1: + NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER = 32,
1: + NL80211_EXT_FEATURE_AIRTIME_FAIRNESS = 33,
1: + NL80211_EXT_FEATURE_AP_PMKSA_CACHING = 34,
1: + NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD = 35,
1: + NL80211_EXT_FEATURE_EXT_KEY_ID = 36,
1: + NL80211_EXT_FEATURE_STA_TX_PWR = 37,
1: + NL80211_EXT_FEATURE_SAE_OFFLOAD = 38,
1: + NL80211_EXT_FEATURE_VLAN_OFFLOAD = 39,
1: + NL80211_EXT_FEATURE_AQL = 40,
1: + NUM_NL80211_EXT_FEATURES = 41,
1: + MAX_NL80211_EXT_FEATURES = 40,
1: +};
1: +
1: +enum nl80211_timeout_reason {
1: + NL80211_TIMEOUT_UNSPECIFIED = 0,
1: + NL80211_TIMEOUT_SCAN = 1,
1: + NL80211_TIMEOUT_AUTH = 2,
1: + NL80211_TIMEOUT_ASSOC = 3,
1: +};
1: +
1: +enum nl80211_acl_policy {
1: + NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED = 0,
1: + NL80211_ACL_POLICY_DENY_UNLESS_LISTED = 1,
1: +};
1: +
1: +enum nl80211_smps_mode {
1: + NL80211_SMPS_OFF = 0,
1: + NL80211_SMPS_STATIC = 1,
1: + NL80211_SMPS_DYNAMIC = 2,
1: + __NL80211_SMPS_AFTER_LAST = 3,
1: + NL80211_SMPS_MAX = 2,
1: +};
1: +
1: +enum nl80211_radar_event {
1: + NL80211_RADAR_DETECTED = 0,
1: + NL80211_RADAR_CAC_FINISHED = 1,
1: + NL80211_RADAR_CAC_ABORTED = 2,
1: + NL80211_RADAR_NOP_FINISHED = 3,
1: + NL80211_RADAR_PRE_CAC_EXPIRED = 4,
1: + NL80211_RADAR_CAC_STARTED = 5,
1: +};
1: +
1: +enum nl80211_dfs_state {
1: + NL80211_DFS_USABLE = 0,
1: + NL80211_DFS_UNAVAILABLE = 1,
1: + NL80211_DFS_AVAILABLE = 2,
1: +};
1: +
1: +enum nl80211_crit_proto_id {
1: + NL80211_CRIT_PROTO_UNSPEC = 0,
1: + NL80211_CRIT_PROTO_DHCP = 1,
1: + NL80211_CRIT_PROTO_EAPOL = 2,
1: + NL80211_CRIT_PROTO_APIPA = 3,
1: + NUM_NL80211_CRIT_PROTO = 4,
1: +};
1: +
1: +struct nl80211_vendor_cmd_info {
1: + __u32 vendor_id;
1: + __u32 subcmd;
1: +};
1: +
1: +enum nl80211_bss_select_attr {
1: + __NL80211_BSS_SELECT_ATTR_INVALID = 0,
1: + NL80211_BSS_SELECT_ATTR_RSSI = 1,
1: + NL80211_BSS_SELECT_ATTR_BAND_PREF = 2,
1: + NL80211_BSS_SELECT_ATTR_RSSI_ADJUST = 3,
1: + __NL80211_BSS_SELECT_ATTR_AFTER_LAST = 4,
1: + NL80211_BSS_SELECT_ATTR_MAX = 3,
1: +};
1: +
1: +enum nl80211_nan_function_type {
1: + NL80211_NAN_FUNC_PUBLISH = 0,
1: + NL80211_NAN_FUNC_SUBSCRIBE = 1,
1: + NL80211_NAN_FUNC_FOLLOW_UP = 2,
1: + __NL80211_NAN_FUNC_TYPE_AFTER_LAST = 3,
1: + NL80211_NAN_FUNC_MAX_TYPE = 2,
1: +};
1: +
1: +enum nl80211_external_auth_action {
1: + NL80211_EXTERNAL_AUTH_START = 0,
1: + NL80211_EXTERNAL_AUTH_ABORT = 1,
1: +};
1: +
1: +enum nl80211_preamble {
1: + NL80211_PREAMBLE_LEGACY = 0,
1: + NL80211_PREAMBLE_HT = 1,
1: + NL80211_PREAMBLE_VHT = 2,
1: + NL80211_PREAMBLE_DMG = 3,
1: +};
1: +
1: +enum ieee80211_bss_type {
1: + IEEE80211_BSS_TYPE_ESS = 0,
1: + IEEE80211_BSS_TYPE_PBSS = 1,
1: + IEEE80211_BSS_TYPE_IBSS = 2,
1: + IEEE80211_BSS_TYPE_MBSS = 3,
1: + IEEE80211_BSS_TYPE_ANY = 4,
1: +};
1: +
1: +enum ieee80211_edmg_bw_config {
1: + IEEE80211_EDMG_BW_CONFIG_4 = 4,
1: + IEEE80211_EDMG_BW_CONFIG_5 = 5,
1: + IEEE80211_EDMG_BW_CONFIG_6 = 6,
1: + IEEE80211_EDMG_BW_CONFIG_7 = 7,
1: + IEEE80211_EDMG_BW_CONFIG_8 = 8,
1: + IEEE80211_EDMG_BW_CONFIG_9 = 9,
1: + IEEE80211_EDMG_BW_CONFIG_10 = 10,
1: + IEEE80211_EDMG_BW_CONFIG_11 = 11,
1: + IEEE80211_EDMG_BW_CONFIG_12 = 12,
1: + IEEE80211_EDMG_BW_CONFIG_13 = 13,
1: + IEEE80211_EDMG_BW_CONFIG_14 = 14,
1: + IEEE80211_EDMG_BW_CONFIG_15 = 15,
1: +};
1: +
1: +struct ieee80211_edmg {
1: + u8 channels;
1: + enum ieee80211_edmg_bw_config bw_config;
1: +};
1: +
1: +struct ieee80211_channel;
1: +
1: +struct cfg80211_chan_def {
1: + struct ieee80211_channel *chan;
1: + enum nl80211_chan_width width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + struct ieee80211_edmg edmg;
1: +};
1: +
1: +struct wiphy;
1: +
1: +struct cfg80211_conn;
1: +
1: +struct cfg80211_cached_keys;
1: +
1: +struct cfg80211_internal_bss;
1: +
1: +struct cfg80211_cqm_config;
1: +
1: +struct wireless_dev {
1: + struct wiphy *wiphy;
1: + enum nl80211_iftype iftype;
1: + struct list_head list;
1: + struct net_device *netdev;
1: + u32 identifier;
1: + struct list_head mgmt_registrations;
1: + spinlock_t mgmt_registrations_lock;
1: + struct mutex mtx;
1: + bool use_4addr;
1: + bool is_running;
1: + u8 address[6];
1: + u8 ssid[32];
1: + u8 ssid_len;
1: + u8 mesh_id_len;
1: + u8 mesh_id_up_len;
1: + struct cfg80211_conn *conn;
1: + struct cfg80211_cached_keys *connect_keys;
1: + enum ieee80211_bss_type conn_bss_type;
1: + u32 conn_owner_nlportid;
1: + struct work_struct disconnect_wk;
1: + u8 disconnect_bssid[6];
1: + struct list_head event_list;
1: + spinlock_t event_lock;
1: + struct cfg80211_internal_bss *current_bss;
1: + struct cfg80211_chan_def preset_chandef;
1: + struct cfg80211_chan_def chandef;
1: + bool ibss_fixed;
1: + bool ibss_dfs_possible;
1: + bool ps;
1: + int ps_timeout;
1: + int beacon_interval;
1: + u32 ap_unexpected_nlportid;
1: + u32 owner_nlportid;
1: + bool nl_owner_dead;
1: + bool cac_started;
1: + long unsigned int cac_start_time;
1: + unsigned int cac_time_ms;
1: + struct cfg80211_cqm_config *cqm_config;
1: + struct list_head pmsr_list;
1: + spinlock_t pmsr_lock;
1: + struct work_struct pmsr_free_wk;
1: +};
1: +
1: +struct ieee80211_mcs_info {
1: + u8 rx_mask[10];
1: + __le16 rx_highest;
1: + u8 tx_params;
1: + u8 reserved[3];
1: +};
1: +
1: +struct ieee80211_ht_cap {
1: + __le16 cap_info;
1: + u8 ampdu_params_info;
1: + struct ieee80211_mcs_info mcs;
1: + __le16 extended_ht_cap_info;
1: + __le32 tx_BF_cap_info;
1: + u8 antenna_selection_info;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_vht_mcs_info {
1: + __le16 rx_mcs_map;
1: + __le16 rx_highest;
1: + __le16 tx_mcs_map;
1: + __le16 tx_highest;
1: +};
1: +
1: +struct ieee80211_vht_cap {
1: + __le32 vht_cap_info;
1: + struct ieee80211_vht_mcs_info supp_mcs;
1: +};
1: +
1: +struct ieee80211_he_cap_elem {
1: + u8 mac_cap_info[6];
1: + u8 phy_cap_info[11];
1: +};
1: +
1: +struct ieee80211_he_mcs_nss_supp {
1: + __le16 rx_mcs_80;
1: + __le16 tx_mcs_80;
1: + __le16 rx_mcs_160;
1: + __le16 tx_mcs_160;
1: + __le16 rx_mcs_80p80;
1: + __le16 tx_mcs_80p80;
1: +};
1: +
1: +enum ieee80211_reasoncode {
1: + WLAN_REASON_UNSPECIFIED = 1,
1: + WLAN_REASON_PREV_AUTH_NOT_VALID = 2,
1: + WLAN_REASON_DEAUTH_LEAVING = 3,
1: + WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY = 4,
1: + WLAN_REASON_DISASSOC_AP_BUSY = 5,
1: + WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA = 6,
1: + WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA = 7,
1: + WLAN_REASON_DISASSOC_STA_HAS_LEFT = 8,
1: + WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH = 9,
1: + WLAN_REASON_DISASSOC_BAD_POWER = 10,
1: + WLAN_REASON_DISASSOC_BAD_SUPP_CHAN = 11,
1: + WLAN_REASON_INVALID_IE = 13,
1: + WLAN_REASON_MIC_FAILURE = 14,
1: + WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT = 15,
1: + WLAN_REASON_GROUP_KEY_HANDSHAKE_TIMEOUT = 16,
1: + WLAN_REASON_IE_DIFFERENT = 17,
1: + WLAN_REASON_INVALID_GROUP_CIPHER = 18,
1: + WLAN_REASON_INVALID_PAIRWISE_CIPHER = 19,
1: + WLAN_REASON_INVALID_AKMP = 20,
1: + WLAN_REASON_UNSUPP_RSN_VERSION = 21,
1: + WLAN_REASON_INVALID_RSN_IE_CAP = 22,
1: + WLAN_REASON_IEEE8021X_FAILED = 23,
1: + WLAN_REASON_CIPHER_SUITE_REJECTED = 24,
1: + WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE = 25,
1: + WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED = 26,
1: + WLAN_REASON_DISASSOC_UNSPECIFIED_QOS = 32,
1: + WLAN_REASON_DISASSOC_QAP_NO_BANDWIDTH = 33,
1: + WLAN_REASON_DISASSOC_LOW_ACK = 34,
1: + WLAN_REASON_DISASSOC_QAP_EXCEED_TXOP = 35,
1: + WLAN_REASON_QSTA_LEAVE_QBSS = 36,
1: + WLAN_REASON_QSTA_NOT_USE = 37,
1: + WLAN_REASON_QSTA_REQUIRE_SETUP = 38,
1: + WLAN_REASON_QSTA_TIMEOUT = 39,
1: + WLAN_REASON_QSTA_CIPHER_NOT_SUPP = 45,
1: + WLAN_REASON_MESH_PEER_CANCELED = 52,
1: + WLAN_REASON_MESH_MAX_PEERS = 53,
1: + WLAN_REASON_MESH_CONFIG = 54,
1: + WLAN_REASON_MESH_CLOSE = 55,
1: + WLAN_REASON_MESH_MAX_RETRIES = 56,
1: + WLAN_REASON_MESH_CONFIRM_TIMEOUT = 57,
1: + WLAN_REASON_MESH_INVALID_GTK = 58,
1: + WLAN_REASON_MESH_INCONSISTENT_PARAM = 59,
1: + WLAN_REASON_MESH_INVALID_SECURITY = 60,
1: + WLAN_REASON_MESH_PATH_ERROR = 61,
1: + WLAN_REASON_MESH_PATH_NOFORWARD = 62,
1: + WLAN_REASON_MESH_PATH_DEST_UNREACHABLE = 63,
1: + WLAN_REASON_MAC_EXISTS_IN_MBSS = 64,
1: + WLAN_REASON_MESH_CHAN_REGULATORY = 65,
1: + WLAN_REASON_MESH_CHAN = 66,
1: +};
1: +
1: +enum ieee80211_key_len {
1: + WLAN_KEY_LEN_WEP40 = 5,
1: + WLAN_KEY_LEN_WEP104 = 13,
1: + WLAN_KEY_LEN_CCMP = 16,
1: + WLAN_KEY_LEN_CCMP_256 = 32,
1: + WLAN_KEY_LEN_TKIP = 32,
1: + WLAN_KEY_LEN_AES_CMAC = 16,
1: + WLAN_KEY_LEN_SMS4 = 32,
1: + WLAN_KEY_LEN_GCMP = 16,
1: + WLAN_KEY_LEN_GCMP_256 = 32,
1: + WLAN_KEY_LEN_BIP_CMAC_256 = 32,
1: + WLAN_KEY_LEN_BIP_GMAC_128 = 16,
1: + WLAN_KEY_LEN_BIP_GMAC_256 = 32,
1: +};
1: +
1: +enum environment_cap {
1: + ENVIRON_ANY = 0,
1: + ENVIRON_INDOOR = 1,
1: + ENVIRON_OUTDOOR = 2,
1: +};
1: +
1: +struct regulatory_request {
1: + struct callback_head callback_head;
1: + int wiphy_idx;
1: + enum nl80211_reg_initiator initiator;
1: + enum nl80211_user_reg_hint_type user_reg_hint_type;
1: + char alpha2[3];
1: + enum nl80211_dfs_regions dfs_region;
1: + bool intersect;
1: + bool processed;
1: + enum environment_cap country_ie_env;
1: + struct list_head list;
1: +};
1: +
1: +enum ieee80211_regulatory_flags {
1: + REGULATORY_CUSTOM_REG = 1,
1: + REGULATORY_STRICT_REG = 2,
1: + REGULATORY_DISABLE_BEACON_HINTS = 4,
1: + REGULATORY_COUNTRY_IE_FOLLOW_POWER = 8,
1: + REGULATORY_COUNTRY_IE_IGNORE = 16,
1: + REGULATORY_ENABLE_RELAX_NO_IR = 32,
1: + REGULATORY_IGNORE_STALE_KICKOFF = 64,
1: + REGULATORY_WIPHY_SELF_MANAGED = 128,
1: +};
1: +
1: +struct ieee80211_freq_range {
1: + u32 start_freq_khz;
1: + u32 end_freq_khz;
1: + u32 max_bandwidth_khz;
1: +};
1: +
1: +struct ieee80211_power_rule {
1: + u32 max_antenna_gain;
1: + u32 max_eirp;
1: +};
1: +
1: +struct ieee80211_wmm_ac {
1: + u16 cw_min;
1: + u16 cw_max;
1: + u16 cot;
1: + u8 aifsn;
1: +};
1: +
1: +struct ieee80211_wmm_rule {
1: + struct ieee80211_wmm_ac client[4];
1: + struct ieee80211_wmm_ac ap[4];
1: +};
1: +
1: +struct ieee80211_reg_rule {
1: + struct ieee80211_freq_range freq_range;
1: + struct ieee80211_power_rule power_rule;
1: + struct ieee80211_wmm_rule wmm_rule;
1: + u32 flags;
1: + u32 dfs_cac_ms;
1: + bool has_wmm;
1: +};
1: +
1: +struct ieee80211_regdomain {
1: + struct callback_head callback_head;
1: + u32 n_reg_rules;
1: + char alpha2[3];
1: + enum nl80211_dfs_regions dfs_region;
1: + struct ieee80211_reg_rule reg_rules[0];
1: +};
1: +
1: +struct ieee80211_channel {
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + u16 hw_value;
1: + u32 flags;
1: + int max_antenna_gain;
1: + int max_power;
1: + int max_reg_power;
1: + bool beacon_found;
1: + u32 orig_flags;
1: + int orig_mag;
1: + int orig_mpwr;
1: + enum nl80211_dfs_state dfs_state;
1: + long unsigned int dfs_state_entered;
1: + unsigned int dfs_cac_ms;
1: +};
1: +
1: +struct ieee80211_rate {
1: + u32 flags;
1: + u16 bitrate;
1: + u16 hw_value;
1: + u16 hw_value_short;
1: +};
1: +
1: +struct ieee80211_he_obss_pd {
1: + bool enable;
1: + u8 min_offset;
1: + u8 max_offset;
1: +};
1: +
1: +struct ieee80211_sta_ht_cap {
1: + u16 cap;
1: + bool ht_supported;
1: + u8 ampdu_factor;
1: + u8 ampdu_density;
1: + struct ieee80211_mcs_info mcs;
1: + char: 8;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_sta_vht_cap {
1: + bool vht_supported;
1: + u32 cap;
1: + struct ieee80211_vht_mcs_info vht_mcs;
1: +};
1: +
1: +struct ieee80211_sta_he_cap {
1: + bool has_he;
1: + struct ieee80211_he_cap_elem he_cap_elem;
1: + struct ieee80211_he_mcs_nss_supp he_mcs_nss_supp;
1: + u8 ppe_thres[25];
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_sband_iftype_data {
1: + u16 types_mask;
1: + struct ieee80211_sta_he_cap he_cap;
1: +};
1: +
1: +struct ieee80211_supported_band {
1: + struct ieee80211_channel *channels;
1: + struct ieee80211_rate *bitrates;
1: + enum nl80211_band band;
1: + int n_channels;
1: + int n_bitrates;
1: + struct ieee80211_sta_ht_cap ht_cap;
1: + struct ieee80211_sta_vht_cap vht_cap;
1: + struct ieee80211_edmg edmg_cap;
1: + u16 n_iftype_data;
1: + const struct ieee80211_sband_iftype_data *iftype_data;
1: +};
1: +
1: +struct vif_params {
1: + u32 flags;
1: + int use_4addr;
1: + u8 macaddr[6];
1: + const u8 *vht_mumimo_groups;
1: + const u8 *vht_mumimo_follow_addr;
1: +};
1: +
1: +struct key_params {
1: + const u8 *key;
1: + const u8 *seq;
1: + int key_len;
1: + int seq_len;
1: + u16 vlan_id;
1: + u32 cipher;
1: + enum nl80211_key_mode mode;
1: +};
1: +
1: +struct survey_info {
1: + struct ieee80211_channel *channel;
1: + u64 time;
1: + u64 time_busy;
1: + u64 time_ext_busy;
1: + u64 time_rx;
1: + u64 time_tx;
1: + u64 time_scan;
1: + u64 time_bss_rx;
1: + u32 filled;
1: + s8 noise;
1: +};
1: +
1: +struct cfg80211_crypto_settings {
1: + u32 wpa_versions;
1: + u32 cipher_group;
1: + int n_ciphers_pairwise;
1: + u32 ciphers_pairwise[5];
1: + int n_akm_suites;
1: + u32 akm_suites[2];
1: + bool control_port;
1: + __be16 control_port_ethertype;
1: + bool control_port_no_encrypt;
1: + bool control_port_over_nl80211;
1: + struct key_params *wep_keys;
1: + int wep_tx_key;
1: + const u8 *psk;
1: + const u8 *sae_pwd;
1: + u8 sae_pwd_len;
1: +};
1: +
1: +struct cfg80211_beacon_data {
1: + const u8 *head;
1: + const u8 *tail;
1: + const u8 *beacon_ies;
1: + const u8 *proberesp_ies;
1: + const u8 *assocresp_ies;
1: + const u8 *probe_resp;
1: + const u8 *lci;
1: + const u8 *civicloc;
1: + s8 ftm_responder;
1: + size_t head_len;
1: + size_t tail_len;
1: + size_t beacon_ies_len;
1: + size_t proberesp_ies_len;
1: + size_t assocresp_ies_len;
1: + size_t probe_resp_len;
1: + size_t lci_len;
1: + size_t civicloc_len;
1: +};
1: +
1: +struct mac_address {
1: + u8 addr[6];
1: +};
1: +
1: +struct cfg80211_acl_data {
1: + enum nl80211_acl_policy acl_policy;
1: + int n_acl_entries;
1: + struct mac_address mac_addrs[0];
1: +};
1: +
1: +struct cfg80211_bitrate_mask {
1: + struct {
1: + u32 legacy;
1: + u8 ht_mcs[10];
1: + u16 vht_mcs[8];
1: + enum nl80211_txrate_gi gi;
1: + } control[4];
1: +};
1: +
1: +struct cfg80211_ap_settings {
1: + struct cfg80211_chan_def chandef;
1: + struct cfg80211_beacon_data beacon;
1: + int beacon_interval;
1: + int dtim_period;
1: + const u8 *ssid;
1: + size_t ssid_len;
1: + enum nl80211_hidden_ssid hidden_ssid;
1: + struct cfg80211_crypto_settings crypto;
1: + bool privacy;
1: + enum nl80211_auth_type auth_type;
1: + enum nl80211_smps_mode smps_mode;
1: + int inactivity_timeout;
1: + u8 p2p_ctwindow;
1: + bool p2p_opp_ps;
1: + const struct cfg80211_acl_data *acl;
1: + bool pbss;
1: + struct cfg80211_bitrate_mask beacon_rate;
1: + const struct ieee80211_ht_cap *ht_cap;
1: + const struct ieee80211_vht_cap *vht_cap;
1: + const struct ieee80211_he_cap_elem *he_cap;
1: + bool ht_required;
1: + bool vht_required;
1: + bool twt_responder;
1: + u32 flags;
1: + struct ieee80211_he_obss_pd he_obss_pd;
1: +};
1: +
1: +struct cfg80211_csa_settings {
1: + struct cfg80211_chan_def chandef;
1: + struct cfg80211_beacon_data beacon_csa;
1: + const u16 *counter_offsets_beacon;
1: + const u16 *counter_offsets_presp;
1: + unsigned int n_counter_offsets_beacon;
1: + unsigned int n_counter_offsets_presp;
1: + struct cfg80211_beacon_data beacon_after;
1: + bool radar_required;
1: + bool block_tx;
1: + u8 count;
1: +};
1: +
1: +struct sta_txpwr {
1: + s16 power;
1: + enum nl80211_tx_power_setting type;
1: +};
1: +
1: +struct station_parameters {
1: + const u8 *supported_rates;
1: + struct net_device *vlan;
1: + u32 sta_flags_mask;
1: + u32 sta_flags_set;
1: + u32 sta_modify_mask;
1: + int listen_interval;
1: + u16 aid;
1: + u16 vlan_id;
1: + u16 peer_aid;
1: + u8 supported_rates_len;
1: + u8 plink_action;
1: + u8 plink_state;
1: + const struct ieee80211_ht_cap *ht_capa;
1: + const struct ieee80211_vht_cap *vht_capa;
1: + u8 uapsd_queues;
1: + u8 max_sp;
1: + enum nl80211_mesh_power_mode local_pm;
1: + u16 capability;
1: + const u8 *ext_capab;
1: + u8 ext_capab_len;
1: + const u8 *supported_channels;
1: + u8 supported_channels_len;
1: + const u8 *supported_oper_classes;
1: + u8 supported_oper_classes_len;
1: + u8 opmode_notif;
1: + bool opmode_notif_used;
1: + int support_p2p_ps;
1: + const struct ieee80211_he_cap_elem *he_capa;
1: + u8 he_capa_len;
1: + u16 airtime_weight;
1: + struct sta_txpwr txpwr;
1: +};
1: +
1: +struct station_del_parameters {
1: + const u8 *mac;
1: + u8 subtype;
1: + u16 reason_code;
1: +};
1: +
1: +struct rate_info {
1: + u8 flags;
1: + u8 mcs;
1: + u16 legacy;
1: + u8 nss;
1: + u8 bw;
1: + u8 he_gi;
1: + u8 he_dcm;
1: + u8 he_ru_alloc;
1: + u8 n_bonded_ch;
1: +};
1: +
1: +struct sta_bss_parameters {
1: + u8 flags;
1: + u8 dtim_period;
1: + u16 beacon_interval;
1: +};
1: +
1: +struct cfg80211_txq_stats {
1: + u32 filled;
1: + u32 backlog_bytes;
1: + u32 backlog_packets;
1: + u32 flows;
1: + u32 drops;
1: + u32 ecn_marks;
1: + u32 overlimit;
1: + u32 overmemory;
1: + u32 collisions;
1: + u32 tx_bytes;
1: + u32 tx_packets;
1: + u32 max_flows;
1: +};
1: +
1: +struct cfg80211_tid_stats {
1: + u32 filled;
1: + u64 rx_msdu;
1: + u64 tx_msdu;
1: + u64 tx_msdu_retries;
1: + u64 tx_msdu_failed;
1: + struct cfg80211_txq_stats txq_stats;
1: +};
1: +
1: +struct station_info {
1: + u64 filled;
1: + u32 connected_time;
1: + u32 inactive_time;
1: + u64 assoc_at;
1: + u64 rx_bytes;
1: + u64 tx_bytes;
1: + u16 llid;
1: + u16 plid;
1: + u8 plink_state;
1: + s8 signal;
1: + s8 signal_avg;
1: + u8 chains;
1: + s8 chain_signal[4];
1: + s8 chain_signal_avg[4];
1: + struct rate_info txrate;
1: + struct rate_info rxrate;
1: + u32 rx_packets;
1: + u32 tx_packets;
1: + u32 tx_retries;
1: + u32 tx_failed;
1: + u32 rx_dropped_misc;
1: + struct sta_bss_parameters bss_param;
1: + struct nl80211_sta_flag_update sta_flags;
1: + int generation;
1: + const u8 *assoc_req_ies;
1: + size_t assoc_req_ies_len;
1: + u32 beacon_loss_count;
1: + s64 t_offset;
1: + enum nl80211_mesh_power_mode local_pm;
1: + enum nl80211_mesh_power_mode peer_pm;
1: + enum nl80211_mesh_power_mode nonpeer_pm;
1: + u32 expected_throughput;
1: + u64 tx_duration;
1: + u64 rx_duration;
1: + u64 rx_beacon;
1: + u8 rx_beacon_signal_avg;
1: + u8 connected_to_gate;
1: + struct cfg80211_tid_stats *pertid;
1: + s8 ack_signal;
1: + s8 avg_ack_signal;
1: + u16 airtime_weight;
1: + u32 rx_mpdu_count;
1: + u32 fcs_err_count;
1: + u32 airtime_link_metric;
1: +};
1: +
1: +struct mpath_info {
1: + u32 filled;
1: + u32 frame_qlen;
1: + u32 sn;
1: + u32 metric;
1: + u32 exptime;
1: + u32 discovery_timeout;
1: + u8 discovery_retries;
1: + u8 flags;
1: + u8 hop_count;
1: + u32 path_change_count;
1: + int generation;
1: +};
1: +
1: +struct bss_parameters {
1: + int use_cts_prot;
1: + int use_short_preamble;
1: + int use_short_slot_time;
1: + const u8 *basic_rates;
1: + u8 basic_rates_len;
1: + int ap_isolate;
1: + int ht_opmode;
1: + s8 p2p_ctwindow;
1: + s8 p2p_opp_ps;
1: +};
1: +
1: +struct mesh_config {
1: + u16 dot11MeshRetryTimeout;
1: + u16 dot11MeshConfirmTimeout;
1: + u16 dot11MeshHoldingTimeout;
1: + u16 dot11MeshMaxPeerLinks;
1: + u8 dot11MeshMaxRetries;
1: + u8 dot11MeshTTL;
1: + u8 element_ttl;
1: + bool auto_open_plinks;
1: + u32 dot11MeshNbrOffsetMaxNeighbor;
1: + u8 dot11MeshHWMPmaxPREQretries;
1: + u32 path_refresh_time;
1: + u16 min_discovery_timeout;
1: + u32 dot11MeshHWMPactivePathTimeout;
1: + u16 dot11MeshHWMPpreqMinInterval;
1: + u16 dot11MeshHWMPperrMinInterval;
1: + u16 dot11MeshHWMPnetDiameterTraversalTime;
1: + u8 dot11MeshHWMPRootMode;
1: + bool dot11MeshConnectedToMeshGate;
1: + u16 dot11MeshHWMPRannInterval;
1: + bool dot11MeshGateAnnouncementProtocol;
1: + bool dot11MeshForwarding;
1: + s32 rssi_threshold;
1: + u16 ht_opmode;
1: + u32 dot11MeshHWMPactivePathToRootTimeout;
1: + u16 dot11MeshHWMProotInterval;
1: + u16 dot11MeshHWMPconfirmationInterval;
1: + enum nl80211_mesh_power_mode power_mode;
1: + u16 dot11MeshAwakeWindowDuration;
1: + u32 plink_timeout;
1: +};
1: +
1: +struct mesh_setup {
1: + struct cfg80211_chan_def chandef;
1: + const u8 *mesh_id;
1: + u8 mesh_id_len;
1: + u8 sync_method;
1: + u8 path_sel_proto;
1: + u8 path_metric;
1: + u8 auth_id;
1: + const u8 *ie;
1: + u8 ie_len;
1: + bool is_authenticated;
1: + bool is_secure;
1: + bool user_mpm;
1: + u8 dtim_period;
1: + u16 beacon_interval;
1: + int mcast_rate[4];
1: + u32 basic_rates;
1: + struct cfg80211_bitrate_mask beacon_rate;
1: + bool userspace_handles_dfs;
1: + bool control_port_over_nl80211;
1: +};
1: +
1: +struct ocb_setup {
1: + struct cfg80211_chan_def chandef;
1: +};
1: +
1: +struct ieee80211_txq_params {
1: + enum nl80211_ac ac;
1: + u16 txop;
1: + u16 cwmin;
1: + u16 cwmax;
1: + u8 aifs;
1: +};
1: +
1: +struct cfg80211_ssid {
1: + u8 ssid[32];
1: + u8 ssid_len;
1: +};
1: +
1: +struct cfg80211_scan_info {
1: + u64 scan_start_tsf;
1: + u8 tsf_bssid[6];
1: + bool aborted;
1: +};
1: +
1: +struct cfg80211_scan_request {
1: + struct cfg80211_ssid *ssids;
1: + int n_ssids;
1: + u32 n_channels;
1: + enum nl80211_bss_scan_width scan_width;
1: + const u8 *ie;
1: + size_t ie_len;
1: + u16 duration;
1: + bool duration_mandatory;
1: + u32 flags;
1: + u32 rates[4];
1: + struct wireless_dev *wdev;
1: + u8 mac_addr[6];
1: + u8 mac_addr_mask[6];
1: + u8 bssid[6];
1: + struct wiphy *wiphy;
1: + long unsigned int scan_start;
1: + struct cfg80211_scan_info info;
1: + bool notified;
1: + bool no_cck;
1: + struct ieee80211_channel *channels[0];
1: +};
1: +
1: +enum cfg80211_signal_type {
1: + CFG80211_SIGNAL_TYPE_NONE = 0,
1: + CFG80211_SIGNAL_TYPE_MBM = 1,
1: + CFG80211_SIGNAL_TYPE_UNSPEC = 2,
1: +};
1: +
1: +struct ieee80211_txrx_stypes;
1: +
1: +struct ieee80211_iface_combination;
1: +
1: +struct wiphy_wowlan_support;
1: +
1: +struct cfg80211_wowlan;
1: +
1: +struct wiphy_iftype_ext_capab;
1: +
1: +struct wiphy_coalesce_support;
1: +
1: +struct wiphy_vendor_command;
1: +
1: +struct cfg80211_pmsr_capabilities;
1: +
1: +struct wiphy {
1: + u8 perm_addr[6];
1: + u8 addr_mask[6];
1: + struct mac_address *addresses;
1: + const struct ieee80211_txrx_stypes *mgmt_stypes;
1: + const struct ieee80211_iface_combination *iface_combinations;
1: + int n_iface_combinations;
1: + u16 software_iftypes;
1: + u16 n_addresses;
1: + u16 interface_modes;
1: + u16 max_acl_mac_addrs;
1: + u32 flags;
1: + u32 regulatory_flags;
1: + u32 features;
1: + u8 ext_features[6];
1: + u32 ap_sme_capa;
1: + enum cfg80211_signal_type signal_type;
1: + int bss_priv_size;
1: + u8 max_scan_ssids;
1: + u8 max_sched_scan_reqs;
1: + u8 max_sched_scan_ssids;
1: + u8 max_match_sets;
1: + u16 max_scan_ie_len;
1: + u16 max_sched_scan_ie_len;
1: + u32 max_sched_scan_plans;
1: + u32 max_sched_scan_plan_interval;
1: + u32 max_sched_scan_plan_iterations;
1: + int n_cipher_suites;
1: + const u32 *cipher_suites;
1: + int n_akm_suites;
1: + const u32 *akm_suites;
1: + u8 retry_short;
1: + u8 retry_long;
1: + u32 frag_threshold;
1: + u32 rts_threshold;
1: + u8 coverage_class;
1: + char fw_version[32];
1: + u32 hw_version;
1: + const struct wiphy_wowlan_support *wowlan;
1: + struct cfg80211_wowlan *wowlan_config;
1: + u16 max_remain_on_channel_duration;
1: + u8 max_num_pmkids;
1: + u32 available_antennas_tx;
1: + u32 available_antennas_rx;
1: + u32 probe_resp_offload;
1: + const u8 *extended_capabilities;
1: + const u8 *extended_capabilities_mask;
1: + u8 extended_capabilities_len;
1: + const struct wiphy_iftype_ext_capab *iftype_ext_capab;
1: + unsigned int num_iftype_ext_capab;
1: + const void *privid;
1: + struct ieee80211_supported_band *bands[4];
1: + void (*reg_notifier)(struct wiphy *, struct regulatory_request *);
1: + const struct ieee80211_regdomain *regd;
1: + struct device dev;
1: + bool registered;
1: + struct dentry *debugfsdir;
1: + const struct ieee80211_ht_cap *ht_capa_mod_mask;
1: + const struct ieee80211_vht_cap *vht_capa_mod_mask;
1: + struct list_head wdev_list;
1: + possible_net_t _net;
1: + const struct wiphy_coalesce_support *coalesce;
1: + const struct wiphy_vendor_command *vendor_commands;
1: + const struct nl80211_vendor_cmd_info *vendor_events;
1: + int n_vendor_commands;
1: + int n_vendor_events;
1: + u16 max_ap_assoc_sta;
1: + u8 max_num_csa_counters;
1: + u8 max_adj_channel_rssi_comp;
1: + u32 bss_select_support;
1: + u8 nan_supported_bands;
1: + u32 txq_limit;
1: + u32 txq_memory_limit;
1: + u32 txq_quantum;
1: + u8 support_mbssid: 1;
1: + u8 support_only_he_mbssid: 1;
1: + const struct cfg80211_pmsr_capabilities *pmsr_capa;
1: + long: 64;
1: + long: 64;
1: + long: 64;
1: + char priv[0];
1: +};
1: +
1: +struct cfg80211_match_set {
1: + struct cfg80211_ssid ssid;
1: + u8 bssid[6];
1: + s32 rssi_thold;
1: + s32 per_band_rssi_thold[4];
1: +};
1: +
1: +struct cfg80211_sched_scan_plan {
1: + u32 interval;
1: + u32 iterations;
1: +};
1: +
1: +struct cfg80211_bss_select_adjust {
1: + enum nl80211_band band;
1: + s8 delta;
1: +};
1: +
1: +struct cfg80211_sched_scan_request {
1: + u64 reqid;
1: + struct cfg80211_ssid *ssids;
1: + int n_ssids;
1: + u32 n_channels;
1: + enum nl80211_bss_scan_width scan_width;
1: + const u8 *ie;
1: + size_t ie_len;
1: + u32 flags;
1: + struct cfg80211_match_set *match_sets;
1: + int n_match_sets;
1: + s32 min_rssi_thold;
1: + u32 delay;
1: + struct cfg80211_sched_scan_plan *scan_plans;
1: + int n_scan_plans;
1: + u8 mac_addr[6];
1: + u8 mac_addr_mask[6];
1: + bool relative_rssi_set;
1: + s8 relative_rssi;
1: + struct cfg80211_bss_select_adjust rssi_adjust;
1: + struct wiphy *wiphy;
1: + struct net_device *dev;
1: + long unsigned int scan_start;
1: + bool report_results;
1: + struct callback_head callback_head;
1: + u32 owner_nlportid;
1: + bool nl_owner_dead;
1: + struct list_head list;
1: + struct ieee80211_channel *channels[0];
1: +};
1: +
1: +struct cfg80211_bss_ies {
1: + u64 tsf;
1: + struct callback_head callback_head;
1: + int len;
1: + bool from_beacon;
1: + u8 data[0];
1: +};
1: +
1: +struct cfg80211_bss {
1: + struct ieee80211_channel *channel;
1: + enum nl80211_bss_scan_width scan_width;
1: + const struct cfg80211_bss_ies *ies;
1: + const struct cfg80211_bss_ies *beacon_ies;
1: + const struct cfg80211_bss_ies *proberesp_ies;
1: + struct cfg80211_bss *hidden_beacon_bss;
1: + struct cfg80211_bss *transmitted_bss;
1: + struct list_head nontrans_list;
1: + s32 signal;
1: + u16 beacon_interval;
1: + u16 capability;
1: + u8 bssid[6];
1: + u8 chains;
1: + s8 chain_signal[4];
1: + u8 bssid_index;
1: + u8 max_bssid_indicator;
1: + int: 24;
1: + u8 priv[0];
1: +};
1: +
1: +struct cfg80211_auth_request {
1: + struct cfg80211_bss *bss;
1: + const u8 *ie;
1: + size_t ie_len;
1: + enum nl80211_auth_type auth_type;
1: + const u8 *key;
1: + u8 key_len;
1: + u8 key_idx;
1: + const u8 *auth_data;
1: + size_t auth_data_len;
1: +};
1: +
1: +struct cfg80211_assoc_request {
1: + struct cfg80211_bss *bss;
1: + const u8 *ie;
1: + const u8 *prev_bssid;
1: + size_t ie_len;
1: + struct cfg80211_crypto_settings crypto;
1: + bool use_mfp;
1: + int: 24;
1: + u32 flags;
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + struct ieee80211_vht_cap vht_capa;
1: + struct ieee80211_vht_cap vht_capa_mask;
1: + int: 32;
1: + const u8 *fils_kek;
1: + size_t fils_kek_len;
1: + const u8 *fils_nonces;
1: +} __attribute__((packed));
1: +
1: +struct cfg80211_deauth_request {
1: + const u8 *bssid;
1: + const u8 *ie;
1: + size_t ie_len;
1: + u16 reason_code;
1: + bool local_state_change;
1: +};
1: +
1: +struct cfg80211_disassoc_request {
1: + struct cfg80211_bss *bss;
1: + const u8 *ie;
1: + size_t ie_len;
1: + u16 reason_code;
1: + bool local_state_change;
1: +};
1: +
1: +struct cfg80211_ibss_params {
1: + const u8 *ssid;
1: + const u8 *bssid;
1: + struct cfg80211_chan_def chandef;
1: + const u8 *ie;
1: + u8 ssid_len;
1: + u8 ie_len;
1: + u16 beacon_interval;
1: + u32 basic_rates;
1: + bool channel_fixed;
1: + bool privacy;
1: + bool control_port;
1: + bool control_port_over_nl80211;
1: + bool userspace_handles_dfs;
1: + int: 24;
1: + int mcast_rate[4];
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + int: 32;
1: + struct key_params *wep_keys;
1: + int wep_tx_key;
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct cfg80211_bss_selection {
1: + enum nl80211_bss_select_attr behaviour;
1: + union {
1: + enum nl80211_band band_pref;
1: + struct cfg80211_bss_select_adjust adjust;
1: + } param;
1: +};
1: +
1: +struct cfg80211_connect_params {
1: + struct ieee80211_channel *channel;
1: + struct ieee80211_channel *channel_hint;
1: + const u8 *bssid;
1: + const u8 *bssid_hint;
1: + const u8 *ssid;
1: + size_t ssid_len;
1: + enum nl80211_auth_type auth_type;
1: + int: 32;
1: + const u8 *ie;
1: + size_t ie_len;
1: + bool privacy;
1: + int: 24;
1: + enum nl80211_mfp mfp;
1: + struct cfg80211_crypto_settings crypto;
1: + const u8 *key;
1: + u8 key_len;
1: + u8 key_idx;
1: + short: 16;
1: + u32 flags;
1: + int bg_scan_period;
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + struct ieee80211_vht_cap vht_capa;
1: + struct ieee80211_vht_cap vht_capa_mask;
1: + bool pbss;
1: + int: 24;
1: + struct cfg80211_bss_selection bss_select;
1: + const u8 *prev_bssid;
1: + const u8 *fils_erp_username;
1: + size_t fils_erp_username_len;
1: + const u8 *fils_erp_realm;
1: + size_t fils_erp_realm_len;
1: + u16 fils_erp_next_seq_num;
1: + long: 48;
1: + const u8 *fils_erp_rrk;
1: + size_t fils_erp_rrk_len;
1: + bool want_1x;
1: + int: 24;
1: + struct ieee80211_edmg edmg;
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct cfg80211_pmksa {
1: + const u8 *bssid;
1: + const u8 *pmkid;
1: + const u8 *pmk;
1: + size_t pmk_len;
1: + const u8 *ssid;
1: + size_t ssid_len;
1: + const u8 *cache_id;
1: +};
1: +
1: +struct cfg80211_pkt_pattern {
1: + const u8 *mask;
1: + const u8 *pattern;
1: + int pattern_len;
1: + int pkt_offset;
1: +};
1: +
1: +struct cfg80211_wowlan_tcp {
1: + struct socket *sock;
1: + __be32 src;
1: + __be32 dst;
1: + u16 src_port;
1: + u16 dst_port;
1: + u8 dst_mac[6];
1: + int payload_len;
1: + const u8 *payload;
1: + struct nl80211_wowlan_tcp_data_seq payload_seq;
1: + u32 data_interval;
1: + u32 wake_len;
1: + const u8 *wake_data;
1: + const u8 *wake_mask;
1: + u32 tokens_size;
1: + struct nl80211_wowlan_tcp_data_token payload_tok;
1: +};
1: +
1: +struct cfg80211_wowlan {
1: + bool any;
1: + bool disconnect;
1: + bool magic_pkt;
1: + bool gtk_rekey_failure;
1: + bool eap_identity_req;
1: + bool four_way_handshake;
1: + bool rfkill_release;
1: + struct cfg80211_pkt_pattern *patterns;
1: + struct cfg80211_wowlan_tcp *tcp;
1: + int n_patterns;
1: + struct cfg80211_sched_scan_request *nd_config;
1: +};
1: +
1: +struct cfg80211_coalesce_rules {
1: + int delay;
1: + enum nl80211_coalesce_condition condition;
1: + struct cfg80211_pkt_pattern *patterns;
1: + int n_patterns;
1: +};
1: +
1: +struct cfg80211_coalesce {
1: + struct cfg80211_coalesce_rules *rules;
1: + int n_rules;
1: +};
1: +
1: +struct cfg80211_gtk_rekey_data {
1: + const u8 *kek;
1: + const u8 *kck;
1: + const u8 *replay_ctr;
1: +};
1: +
1: +struct cfg80211_update_ft_ies_params {
1: + u16 md;
1: + const u8 *ie;
1: + size_t ie_len;
1: +};
1: +
1: +struct cfg80211_mgmt_tx_params {
1: + struct ieee80211_channel *chan;
1: + bool offchan;
1: + unsigned int wait;
1: + const u8 *buf;
1: + size_t len;
1: + bool no_cck;
1: + bool dont_wait_for_ack;
1: + int n_csa_offsets;
1: + const u16 *csa_offsets;
1: +};
1: +
1: +struct cfg80211_dscp_exception {
1: + u8 dscp;
1: + u8 up;
1: +};
1: +
1: +struct cfg80211_dscp_range {
1: + u8 low;
1: + u8 high;
1: +};
1: +
1: +struct cfg80211_qos_map {
1: + u8 num_des;
1: + struct cfg80211_dscp_exception dscp_exception[21];
1: + struct cfg80211_dscp_range up[8];
1: +};
1: +
1: +struct cfg80211_nan_conf {
1: + u8 master_pref;
1: + u8 bands;
1: +};
1: +
1: +struct cfg80211_nan_func_filter {
1: + const u8 *filter;
1: + u8 len;
1: +};
1: +
1: +struct cfg80211_nan_func {
1: + enum nl80211_nan_function_type type;
1: + u8 service_id[6];
1: + u8 publish_type;
1: + bool close_range;
1: + bool publish_bcast;
1: + bool subscribe_active;
1: + u8 followup_id;
1: + u8 followup_reqid;
1: + struct mac_address followup_dest;
1: + u32 ttl;
1: + const u8 *serv_spec_info;
1: + u8 serv_spec_info_len;
1: + bool srf_include;
1: + const u8 *srf_bf;
1: + u8 srf_bf_len;
1: + u8 srf_bf_idx;
1: + struct mac_address *srf_macs;
1: + int srf_num_macs;
1: + struct cfg80211_nan_func_filter *rx_filters;
1: + struct cfg80211_nan_func_filter *tx_filters;
1: + u8 num_tx_filters;
1: + u8 num_rx_filters;
1: + u8 instance_id;
1: + u64 cookie;
1: +};
1: +
1: +struct cfg80211_pmk_conf {
1: + const u8 *aa;
1: + u8 pmk_len;
1: + const u8 *pmk;
1: + const u8 *pmk_r0_name;
1: +};
1: +
1: +struct cfg80211_external_auth_params {
1: + enum nl80211_external_auth_action action;
1: + u8 bssid[6];
1: + struct cfg80211_ssid ssid;
1: + unsigned int key_mgmt_suite;
1: + u16 status;
1: + const u8 *pmkid;
1: +};
1: +
1: +struct cfg80211_ftm_responder_stats {
1: + u32 filled;
1: + u32 success_num;
1: + u32 partial_num;
1: + u32 failed_num;
1: + u32 asap_num;
1: + u32 non_asap_num;
1: + u64 total_duration_ms;
1: + u32 unknown_triggers_num;
1: + u32 reschedule_requests_num;
1: + u32 out_of_window_triggers_num;
1: +};
1: +
1: +struct cfg80211_pmsr_ftm_request_peer {
1: + enum nl80211_preamble preamble;
1: + u16 burst_period;
1: + u8 requested: 1;
1: + u8 asap: 1;
1: + u8 request_lci: 1;
1: + u8 request_civicloc: 1;
1: + u8 num_bursts_exp;
1: + u8 burst_duration;
1: + u8 ftms_per_burst;
1: + u8 ftmr_retries;
1: +};
1: +
1: +struct cfg80211_pmsr_request_peer {
1: + u8 addr[6];
1: + struct cfg80211_chan_def chandef;
1: + u8 report_ap_tsf: 1;
1: + struct cfg80211_pmsr_ftm_request_peer ftm;
1: +};
1: +
1: +struct cfg80211_pmsr_request {
1: + u64 cookie;
1: + void *drv_data;
1: + u32 n_peers;
1: + u32 nl_portid;
1: + u32 timeout;
1: + u8 mac_addr[6];
1: + u8 mac_addr_mask[6];
1: + struct list_head list;
1: + struct cfg80211_pmsr_request_peer peers[0];
1: +};
1: +
1: +struct cfg80211_update_owe_info {
1: + u8 peer[6];
1: + u16 status;
1: + const u8 *ie;
1: + size_t ie_len;
1: +};
1: +
1: +struct cfg80211_ops {
1: + int (*suspend)(struct wiphy *, struct cfg80211_wowlan *);
1: + int (*resume)(struct wiphy *);
1: + void (*set_wakeup)(struct wiphy *, bool);
1: + struct wireless_dev * (*add_virtual_intf)(struct wiphy *, const char *, unsigned char, enum nl80211_iftype, struct vif_params *);
1: + int (*del_virtual_intf)(struct wiphy *, struct wireless_dev *);
1: + int (*change_virtual_intf)(struct wiphy *, struct net_device *, enum nl80211_iftype, struct vif_params *);
1: + int (*add_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *, struct key_params *);
1: + int (*get_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *, void *, void (*)(void *, struct key_params *));
1: + int (*del_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *);
1: + int (*set_default_key)(struct wiphy *, struct net_device *, u8, bool, bool);
1: + int (*set_default_mgmt_key)(struct wiphy *, struct net_device *, u8);
1: + int (*start_ap)(struct wiphy *, struct net_device *, struct cfg80211_ap_settings *);
1: + int (*change_beacon)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *);
1: + int (*stop_ap)(struct wiphy *, struct net_device *);
1: + int (*add_station)(struct wiphy *, struct net_device *, const u8 *, struct station_parameters *);
1: + int (*del_station)(struct wiphy *, struct net_device *, struct station_del_parameters *);
1: + int (*change_station)(struct wiphy *, struct net_device *, const u8 *, struct station_parameters *);
1: + int (*get_station)(struct wiphy *, struct net_device *, const u8 *, struct station_info *);
1: + int (*dump_station)(struct wiphy *, struct net_device *, int, u8 *, struct station_info *);
1: + int (*add_mpath)(struct wiphy *, struct net_device *, const u8 *, const u8 *);
1: + int (*del_mpath)(struct wiphy *, struct net_device *, const u8 *);
1: + int (*change_mpath)(struct wiphy *, struct net_device *, const u8 *, const u8 *);
1: + int (*get_mpath)(struct wiphy *, struct net_device *, u8 *, u8 *, struct mpath_info *);
1: + int (*dump_mpath)(struct wiphy *, struct net_device *, int, u8 *, u8 *, struct mpath_info *);
1: + int (*get_mpp)(struct wiphy *, struct net_device *, u8 *, u8 *, struct mpath_info *);
1: + int (*dump_mpp)(struct wiphy *, struct net_device *, int, u8 *, u8 *, struct mpath_info *);
1: + int (*get_mesh_config)(struct wiphy *, struct net_device *, struct mesh_config *);
1: + int (*update_mesh_config)(struct wiphy *, struct net_device *, u32, const struct mesh_config *);
1: + int (*join_mesh)(struct wiphy *, struct net_device *, const struct mesh_config *, const struct mesh_setup *);
1: + int (*leave_mesh)(struct wiphy *, struct net_device *);
1: + int (*join_ocb)(struct wiphy *, struct net_device *, struct ocb_setup *);
1: + int (*leave_ocb)(struct wiphy *, struct net_device *);
1: + int (*change_bss)(struct wiphy *, struct net_device *, struct bss_parameters *);
1: + int (*set_txq_params)(struct wiphy *, struct net_device *, struct ieee80211_txq_params *);
1: + int (*libertas_set_mesh_channel)(struct wiphy *, struct net_device *, struct ieee80211_channel *);
1: + int (*set_monitor_channel)(struct wiphy *, struct cfg80211_chan_def *);
1: + int (*scan)(struct wiphy *, struct cfg80211_scan_request *);
1: + void (*abort_scan)(struct wiphy *, struct wireless_dev *);
1: + int (*auth)(struct wiphy *, struct net_device *, struct cfg80211_auth_request *);
1: + int (*assoc)(struct wiphy *, struct net_device *, struct cfg80211_assoc_request *);
1: + int (*deauth)(struct wiphy *, struct net_device *, struct cfg80211_deauth_request *);
1: + int (*disassoc)(struct wiphy *, struct net_device *, struct cfg80211_disassoc_request *);
1: + int (*connect)(struct wiphy *, struct net_device *, struct cfg80211_connect_params *);
1: + int (*update_connect_params)(struct wiphy *, struct net_device *, struct cfg80211_connect_params *, u32);
1: + int (*disconnect)(struct wiphy *, struct net_device *, u16);
1: + int (*join_ibss)(struct wiphy *, struct net_device *, struct cfg80211_ibss_params *);
1: + int (*leave_ibss)(struct wiphy *, struct net_device *);
1: + int (*set_mcast_rate)(struct wiphy *, struct net_device *, int *);
1: + int (*set_wiphy_params)(struct wiphy *, u32);
1: + int (*set_tx_power)(struct wiphy *, struct wireless_dev *, enum nl80211_tx_power_setting, int);
1: + int (*get_tx_power)(struct wiphy *, struct wireless_dev *, int *);
1: + int (*set_wds_peer)(struct wiphy *, struct net_device *, const u8 *);
1: + void (*rfkill_poll)(struct wiphy *);
1: + int (*set_bitrate_mask)(struct wiphy *, struct net_device *, const u8 *, const struct cfg80211_bitrate_mask *);
1: + int (*dump_survey)(struct wiphy *, struct net_device *, int, struct survey_info *);
1: + int (*set_pmksa)(struct wiphy *, struct net_device *, struct cfg80211_pmksa *);
1: + int (*del_pmksa)(struct wiphy *, struct net_device *, struct cfg80211_pmksa *);
1: + int (*flush_pmksa)(struct wiphy *, struct net_device *);
1: + int (*remain_on_channel)(struct wiphy *, struct wireless_dev *, struct ieee80211_channel *, unsigned int, u64 *);
1: + int (*cancel_remain_on_channel)(struct wiphy *, struct wireless_dev *, u64);
1: + int (*mgmt_tx)(struct wiphy *, struct wireless_dev *, struct cfg80211_mgmt_tx_params *, u64 *);
1: + int (*mgmt_tx_cancel_wait)(struct wiphy *, struct wireless_dev *, u64);
1: + int (*set_power_mgmt)(struct wiphy *, struct net_device *, bool, int);
1: + int (*set_cqm_rssi_config)(struct wiphy *, struct net_device *, s32, u32);
1: + int (*set_cqm_rssi_range_config)(struct wiphy *, struct net_device *, s32, s32);
1: + int (*set_cqm_txe_config)(struct wiphy *, struct net_device *, u32, u32, u32);
1: + void (*mgmt_frame_register)(struct wiphy *, struct wireless_dev *, u16, bool);
1: + int (*set_antenna)(struct wiphy *, u32, u32);
1: + int (*get_antenna)(struct wiphy *, u32 *, u32 *);
1: + int (*sched_scan_start)(struct wiphy *, struct net_device *, struct cfg80211_sched_scan_request *);
1: + int (*sched_scan_stop)(struct wiphy *, struct net_device *, u64);
1: + int (*set_rekey_data)(struct wiphy *, struct net_device *, struct cfg80211_gtk_rekey_data *);
1: + int (*tdls_mgmt)(struct wiphy *, struct net_device *, const u8 *, u8, u8, u16, u32, bool, const u8 *, size_t);
1: + int (*tdls_oper)(struct wiphy *, struct net_device *, const u8 *, enum nl80211_tdls_operation);
1: + int (*probe_client)(struct wiphy *, struct net_device *, const u8 *, u64 *);
1: + int (*set_noack_map)(struct wiphy *, struct net_device *, u16);
1: + int (*get_channel)(struct wiphy *, struct wireless_dev *, struct cfg80211_chan_def *);
1: + int (*start_p2p_device)(struct wiphy *, struct wireless_dev *);
1: + void (*stop_p2p_device)(struct wiphy *, struct wireless_dev *);
1: + int (*set_mac_acl)(struct wiphy *, struct net_device *, const struct cfg80211_acl_data *);
1: + int (*start_radar_detection)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, u32);
1: + void (*end_cac)(struct wiphy *, struct net_device *);
1: + int (*update_ft_ies)(struct wiphy *, struct net_device *, struct cfg80211_update_ft_ies_params *);
1: + int (*crit_proto_start)(struct wiphy *, struct wireless_dev *, enum nl80211_crit_proto_id, u16);
1: + void (*crit_proto_stop)(struct wiphy *, struct wireless_dev *);
1: + int (*set_coalesce)(struct wiphy *, struct cfg80211_coalesce *);
1: + int (*channel_switch)(struct wiphy *, struct net_device *, struct cfg80211_csa_settings *);
1: + int (*set_qos_map)(struct wiphy *, struct net_device *, struct cfg80211_qos_map *);
1: + int (*set_ap_chanwidth)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *);
1: + int (*add_tx_ts)(struct wiphy *, struct net_device *, u8, const u8 *, u8, u16);
1: + int (*del_tx_ts)(struct wiphy *, struct net_device *, u8, const u8 *);
1: + int (*tdls_channel_switch)(struct wiphy *, struct net_device *, const u8 *, u8, struct cfg80211_chan_def *);
1: + void (*tdls_cancel_channel_switch)(struct wiphy *, struct net_device *, const u8 *);
1: + int (*start_nan)(struct wiphy *, struct wireless_dev *, struct cfg80211_nan_conf *);
1: + void (*stop_nan)(struct wiphy *, struct wireless_dev *);
1: + int (*add_nan_func)(struct wiphy *, struct wireless_dev *, struct cfg80211_nan_func *);
1: + void (*del_nan_func)(struct wiphy *, struct wireless_dev *, u64);
1: + int (*nan_change_conf)(struct wiphy *, struct wireless_dev *, struct cfg80211_nan_conf *, u32);
1: + int (*set_multicast_to_unicast)(struct wiphy *, struct net_device *, const bool);
1: + int (*get_txq_stats)(struct wiphy *, struct wireless_dev *, struct cfg80211_txq_stats *);
1: + int (*set_pmk)(struct wiphy *, struct net_device *, const struct cfg80211_pmk_conf *);
1: + int (*del_pmk)(struct wiphy *, struct net_device *, const u8 *);
1: + int (*external_auth)(struct wiphy *, struct net_device *, struct cfg80211_external_auth_params *);
1: + int (*tx_control_port)(struct wiphy *, struct net_device *, const u8 *, size_t, const u8 *, const __be16, const bool);
1: + int (*get_ftm_responder_stats)(struct wiphy *, struct net_device *, struct cfg80211_ftm_responder_stats *);
1: + int (*start_pmsr)(struct wiphy *, struct wireless_dev *, struct cfg80211_pmsr_request *);
1: + void (*abort_pmsr)(struct wiphy *, struct wireless_dev *, struct cfg80211_pmsr_request *);
1: + int (*update_owe_info)(struct wiphy *, struct net_device *, struct cfg80211_update_owe_info *);
1: + int (*probe_mesh_link)(struct wiphy *, struct net_device *, const u8 *, size_t);
1: +};
1: +
1: +enum wiphy_flags {
1: + WIPHY_FLAG_NETNS_OK = 8,
1: + WIPHY_FLAG_PS_ON_BY_DEFAULT = 16,
1: + WIPHY_FLAG_4ADDR_AP = 32,
1: + WIPHY_FLAG_4ADDR_STATION = 64,
1: + WIPHY_FLAG_CONTROL_PORT_PROTOCOL = 128,
1: + WIPHY_FLAG_IBSS_RSN = 256,
1: + WIPHY_FLAG_MESH_AUTH = 1024,
1: + WIPHY_FLAG_SUPPORTS_FW_ROAM = 8192,
1: + WIPHY_FLAG_AP_UAPSD = 16384,
1: + WIPHY_FLAG_SUPPORTS_TDLS = 32768,
1: + WIPHY_FLAG_TDLS_EXTERNAL_SETUP = 65536,
1: + WIPHY_FLAG_HAVE_AP_SME = 131072,
1: + WIPHY_FLAG_REPORTS_OBSS = 262144,
1: + WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD = 524288,
1: + WIPHY_FLAG_OFFCHAN_TX = 1048576,
1: + WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL = 2097152,
1: + WIPHY_FLAG_SUPPORTS_5_10_MHZ = 4194304,
1: + WIPHY_FLAG_HAS_CHANNEL_SWITCH = 8388608,
1: + WIPHY_FLAG_HAS_STATIC_WEP = 16777216,
1: +};
1: +
1: +struct ieee80211_iface_limit {
1: + u16 max;
1: + u16 types;
1: +};
1: +
1: +struct ieee80211_iface_combination {
1: + const struct ieee80211_iface_limit *limits;
1: + u32 num_different_channels;
1: + u16 max_interfaces;
1: + u8 n_limits;
1: + bool beacon_int_infra_match;
1: + u8 radar_detect_widths;
1: + u8 radar_detect_regions;
1: + u32 beacon_int_min_gcd;
1: +};
1: +
1: +struct ieee80211_txrx_stypes {
1: + u16 tx;
1: + u16 rx;
1: +};
1: +
1: +enum wiphy_wowlan_support_flags {
1: + WIPHY_WOWLAN_ANY = 1,
1: + WIPHY_WOWLAN_MAGIC_PKT = 2,
1: + WIPHY_WOWLAN_DISCONNECT = 4,
1: + WIPHY_WOWLAN_SUPPORTS_GTK_REKEY = 8,
1: + WIPHY_WOWLAN_GTK_REKEY_FAILURE = 16,
1: + WIPHY_WOWLAN_EAP_IDENTITY_REQ = 32,
1: + WIPHY_WOWLAN_4WAY_HANDSHAKE = 64,
1: + WIPHY_WOWLAN_RFKILL_RELEASE = 128,
1: + WIPHY_WOWLAN_NET_DETECT = 256,
1: +};
1: +
1: +struct wiphy_wowlan_tcp_support {
1: + const struct nl80211_wowlan_tcp_data_token_feature *tok;
1: + u32 data_payload_max;
1: + u32 data_interval_max;
1: + u32 wake_payload_max;
1: + bool seq;
1: +};
1: +
1: +struct wiphy_wowlan_support {
1: + u32 flags;
1: + int n_patterns;
1: + int pattern_max_len;
1: + int pattern_min_len;
1: + int max_pkt_offset;
1: + int max_nd_match_sets;
1: + const struct wiphy_wowlan_tcp_support *tcp;
1: +};
1: +
1: +struct wiphy_coalesce_support {
1: + int n_rules;
1: + int max_delay;
1: + int n_patterns;
1: + int pattern_max_len;
1: + int pattern_min_len;
1: + int max_pkt_offset;
1: +};
1: +
1: +struct wiphy_vendor_command {
1: + struct nl80211_vendor_cmd_info info;
1: + u32 flags;
1: + int (*doit)(struct wiphy *, struct wireless_dev *, const void *, int);
1: + int (*dumpit)(struct wiphy *, struct wireless_dev *, struct sk_buff *, const void *, int, long unsigned int *);
1: + const struct nla_policy *policy;
1: + unsigned int maxattr;
1: +};
1: +
1: +struct wiphy_iftype_ext_capab {
1: + enum nl80211_iftype iftype;
1: + const u8 *extended_capabilities;
1: + const u8 *extended_capabilities_mask;
1: + u8 extended_capabilities_len;
1: +};
1: +
1: +struct cfg80211_pmsr_capabilities {
1: + unsigned int max_peers;
1: + u8 report_ap_tsf: 1;
1: + u8 randomize_mac_addr: 1;
1: + struct {
1: + u32 preambles;
1: + u32 bandwidths;
1: + s8 max_bursts_exponent;
1: + u8 max_ftms_per_burst;
1: + u8 supported: 1;
1: + u8 asap: 1;
1: + u8 non_asap: 1;
1: + u8 request_lci: 1;
1: + u8 request_civicloc: 1;
1: + } ftm;
1: +};
1: +
1: +struct cfg80211_cached_keys {
1: + struct key_params params[4];
1: + u8 data[52];
1: + int def;
1: +};
1: +
1: +struct cfg80211_internal_bss {
1: + struct list_head list;
1: + struct list_head hidden_list;
1: + struct rb_node rbn;
1: + u64 ts_boottime;
1: + long unsigned int ts;
1: + long unsigned int refcount;
1: + atomic_t hold;
1: + u64 parent_tsf;
1: + u8 parent_bssid[6];
1: + struct cfg80211_bss pub;
1: +};
1: +
1: +struct cfg80211_cqm_config {
1: + u32 rssi_hyst;
1: + s32 last_rssi_event_value;
1: + int n_rssi_thresholds;
1: + s32 rssi_thresholds[0];
1: +};
1: +
1: +struct cfg80211_fils_resp_params {
1: + const u8 *kek;
1: + size_t kek_len;
1: + bool update_erp_next_seq_num;
1: + u16 erp_next_seq_num;
1: + const u8 *pmk;
1: + size_t pmk_len;
1: + const u8 *pmkid;
1: +};
1: +
1: +struct cfg80211_connect_resp_params {
1: + int status;
1: + const u8 *bssid;
1: + struct cfg80211_bss *bss;
1: + const u8 *req_ie;
1: + size_t req_ie_len;
1: + const u8 *resp_ie;
1: + size_t resp_ie_len;
1: + struct cfg80211_fils_resp_params fils;
1: + enum nl80211_timeout_reason timeout_reason;
1: +};
1: +
1: +struct cfg80211_roam_info {
1: + struct ieee80211_channel *channel;
1: + struct cfg80211_bss *bss;
1: + const u8 *bssid;
1: + const u8 *req_ie;
1: + size_t req_ie_len;
1: + const u8 *resp_ie;
1: + size_t resp_ie_len;
1: + struct cfg80211_fils_resp_params fils;
1: +};
1: +
1: +struct cfg80211_registered_device {
1: + const struct cfg80211_ops *ops;
1: + struct list_head list;
1: + struct rfkill_ops rfkill_ops;
1: + struct rfkill *rfkill;
1: + struct work_struct rfkill_block;
1: + char country_ie_alpha2[2];
1: + const struct ieee80211_regdomain *requested_regd;
1: + enum environment_cap env;
1: + int wiphy_idx;
1: + int devlist_generation;
1: + int wdev_id;
1: + int opencount;
1: + wait_queue_head_t dev_wait;
1: + struct list_head beacon_registrations;
1: + spinlock_t beacon_registrations_lock;
1: + struct list_head mlme_unreg;
1: + spinlock_t mlme_unreg_lock;
1: + struct work_struct mlme_unreg_wk;
1: + int num_running_ifaces;
1: + int num_running_monitor_ifaces;
1: + u64 cookie_counter;
1: + spinlock_t bss_lock;
1: + struct list_head bss_list;
1: + struct rb_root bss_tree;
1: + u32 bss_generation;
1: + u32 bss_entries;
1: + struct cfg80211_scan_request *scan_req;
1: + struct sk_buff *scan_msg;
1: + struct list_head sched_scan_req_list;
1: + time64_t suspend_at;
1: + struct work_struct scan_done_wk;
1: + struct genl_info *cur_cmd_info;
1: + struct work_struct conn_work;
1: + struct work_struct event_work;
1: + struct delayed_work dfs_update_channels_wk;
1: + u32 crit_proto_nlportid;
1: + struct cfg80211_coalesce *coalesce;
1: + struct work_struct destroy_work;
1: + struct work_struct sched_scan_stop_wk;
1: + struct work_struct sched_scan_res_wk;
1: + struct cfg80211_chan_def radar_chandef;
1: + struct work_struct propagate_radar_detect_wk;
1: + struct cfg80211_chan_def cac_done_chandef;
1: + struct work_struct propagate_cac_done_wk;
1: + long: 64;
1: + struct wiphy wiphy;
1: +};
1: +
1: +enum cfg80211_event_type {
1: + EVENT_CONNECT_RESULT = 0,
1: + EVENT_ROAMED = 1,
1: + EVENT_DISCONNECTED = 2,
1: + EVENT_IBSS_JOINED = 3,
1: + EVENT_STOPPED = 4,
1: + EVENT_PORT_AUTHORIZED = 5,
1: +};
1: +
1: +struct cfg80211_event {
1: + struct list_head list;
1: + enum cfg80211_event_type type;
1: + union {
1: + struct cfg80211_connect_resp_params cr;
1: + struct cfg80211_roam_info rm;
1: + struct {
1: + const u8 *ie;
1: + size_t ie_len;
1: + u16 reason;
1: + bool locally_generated;
1: + } dc;
1: + struct {
1: + u8 bssid[6];
1: + struct ieee80211_channel *channel;
1: + } ij;
1: + struct {
1: + u8 bssid[6];
1: + } pa;
1: + };
1: +};
1: +
1: +struct cfg80211_beacon_registration {
1: + struct list_head list;
1: + u32 nlportid;
1: +};
1: +
1: +struct radiotap_align_size {
1: + uint8_t align: 4;
1: + uint8_t size: 4;
1: +};
1: +
1: +struct ieee80211_radiotap_namespace {
1: + const struct radiotap_align_size *align_size;
1: + int n_bits;
1: + uint32_t oui;
1: + uint8_t subns;
1: +};
1: +
1: +struct ieee80211_radiotap_vendor_namespaces {
1: + const struct ieee80211_radiotap_namespace *ns;
1: + int n_ns;
1: +};
1: +
1: +struct ieee80211_radiotap_header;
1: +
1: +struct ieee80211_radiotap_iterator {
1: + struct ieee80211_radiotap_header *_rtheader;
1: + const struct ieee80211_radiotap_vendor_namespaces *_vns;
1: + const struct ieee80211_radiotap_namespace *current_namespace;
1: + unsigned char *_arg;
1: + unsigned char *_next_ns_data;
1: + __le32 *_next_bitmap;
1: + unsigned char *this_arg;
1: + int this_arg_index;
1: + int this_arg_size;
1: + int is_radiotap_ns;
1: + int _max_length;
1: + int _arg_index;
1: + uint32_t _bitmap_shifter;
1: + int _reset_on_ext;
1: +};
1: +
1: +struct ieee80211_radiotap_header {
1: + uint8_t it_version;
1: + uint8_t it_pad;
1: + __le16 it_len;
1: + __le32 it_present;
1: +};
1: +
1: +enum ieee80211_radiotap_presence {
1: + IEEE80211_RADIOTAP_TSFT = 0,
1: + IEEE80211_RADIOTAP_FLAGS = 1,
1: + IEEE80211_RADIOTAP_RATE = 2,
1: + IEEE80211_RADIOTAP_CHANNEL = 3,
1: + IEEE80211_RADIOTAP_FHSS = 4,
1: + IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
1: + IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
1: + IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
1: + IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
1: + IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
1: + IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
1: + IEEE80211_RADIOTAP_ANTENNA = 11,
1: + IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
1: + IEEE80211_RADIOTAP_DB_ANTNOISE = 13,
1: + IEEE80211_RADIOTAP_RX_FLAGS = 14,
1: + IEEE80211_RADIOTAP_TX_FLAGS = 15,
1: + IEEE80211_RADIOTAP_RTS_RETRIES = 16,
1: + IEEE80211_RADIOTAP_DATA_RETRIES = 17,
1: + IEEE80211_RADIOTAP_MCS = 19,
1: + IEEE80211_RADIOTAP_AMPDU_STATUS = 20,
1: + IEEE80211_RADIOTAP_VHT = 21,
1: + IEEE80211_RADIOTAP_TIMESTAMP = 22,
1: + IEEE80211_RADIOTAP_HE = 23,
1: + IEEE80211_RADIOTAP_HE_MU = 24,
1: + IEEE80211_RADIOTAP_ZERO_LEN_PSDU = 26,
1: + IEEE80211_RADIOTAP_LSIG = 27,
1: + IEEE80211_RADIOTAP_RADIOTAP_NAMESPACE = 29,
1: + IEEE80211_RADIOTAP_VENDOR_NAMESPACE = 30,
1: + IEEE80211_RADIOTAP_EXT = 31,
1: +};
1: +
1: +struct ieee80211_hdr {
1: + __le16 frame_control;
1: + __le16 duration_id;
1: + u8 addr1[6];
1: + u8 addr2[6];
1: + u8 addr3[6];
1: + __le16 seq_ctrl;
1: + u8 addr4[6];
1: +};
1: +
1: +struct ieee80211s_hdr {
1: + u8 flags;
1: + u8 ttl;
1: + __le32 seqnum;
1: + u8 eaddr1[6];
1: + u8 eaddr2[6];
1: +} __attribute__((packed));
1: +
1: +enum ieee80211_p2p_attr_id {
1: + IEEE80211_P2P_ATTR_STATUS = 0,
1: + IEEE80211_P2P_ATTR_MINOR_REASON = 1,
1: + IEEE80211_P2P_ATTR_CAPABILITY = 2,
1: + IEEE80211_P2P_ATTR_DEVICE_ID = 3,
1: + IEEE80211_P2P_ATTR_GO_INTENT = 4,
1: + IEEE80211_P2P_ATTR_GO_CONFIG_TIMEOUT = 5,
1: + IEEE80211_P2P_ATTR_LISTEN_CHANNEL = 6,
1: + IEEE80211_P2P_ATTR_GROUP_BSSID = 7,
1: + IEEE80211_P2P_ATTR_EXT_LISTEN_TIMING = 8,
1: + IEEE80211_P2P_ATTR_INTENDED_IFACE_ADDR = 9,
1: + IEEE80211_P2P_ATTR_MANAGABILITY = 10,
1: + IEEE80211_P2P_ATTR_CHANNEL_LIST = 11,
1: + IEEE80211_P2P_ATTR_ABSENCE_NOTICE = 12,
1: + IEEE80211_P2P_ATTR_DEVICE_INFO = 13,
1: + IEEE80211_P2P_ATTR_GROUP_INFO = 14,
1: + IEEE80211_P2P_ATTR_GROUP_ID = 15,
1: + IEEE80211_P2P_ATTR_INTERFACE = 16,
1: + IEEE80211_P2P_ATTR_OPER_CHANNEL = 17,
1: + IEEE80211_P2P_ATTR_INVITE_FLAGS = 18,
1: + IEEE80211_P2P_ATTR_VENDOR_SPECIFIC = 221,
1: + IEEE80211_P2P_ATTR_MAX = 222,
1: +};
1: +
1: +enum ieee80211_vht_chanwidth {
1: + IEEE80211_VHT_CHANWIDTH_USE_HT = 0,
1: + IEEE80211_VHT_CHANWIDTH_80MHZ = 1,
1: + IEEE80211_VHT_CHANWIDTH_160MHZ = 2,
1: + IEEE80211_VHT_CHANWIDTH_80P80MHZ = 3,
1: +};
1: +
1: +enum ieee80211_statuscode {
1: + WLAN_STATUS_SUCCESS = 0,
1: + WLAN_STATUS_UNSPECIFIED_FAILURE = 1,
1: + WLAN_STATUS_CAPS_UNSUPPORTED = 10,
1: + WLAN_STATUS_REASSOC_NO_ASSOC = 11,
1: + WLAN_STATUS_ASSOC_DENIED_UNSPEC = 12,
1: + WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG = 13,
1: + WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION = 14,
1: + WLAN_STATUS_CHALLENGE_FAIL = 15,
1: + WLAN_STATUS_AUTH_TIMEOUT = 16,
1: + WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA = 17,
1: + WLAN_STATUS_ASSOC_DENIED_RATES = 18,
1: + WLAN_STATUS_ASSOC_DENIED_NOSHORTPREAMBLE = 19,
1: + WLAN_STATUS_ASSOC_DENIED_NOPBCC = 20,
1: + WLAN_STATUS_ASSOC_DENIED_NOAGILITY = 21,
1: + WLAN_STATUS_ASSOC_DENIED_NOSPECTRUM = 22,
1: + WLAN_STATUS_ASSOC_REJECTED_BAD_POWER = 23,
1: + WLAN_STATUS_ASSOC_REJECTED_BAD_SUPP_CHAN = 24,
1: + WLAN_STATUS_ASSOC_DENIED_NOSHORTTIME = 25,
1: + WLAN_STATUS_ASSOC_DENIED_NODSSSOFDM = 26,
1: + WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY = 30,
1: + WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION = 31,
1: + WLAN_STATUS_INVALID_IE = 40,
1: + WLAN_STATUS_INVALID_GROUP_CIPHER = 41,
1: + WLAN_STATUS_INVALID_PAIRWISE_CIPHER = 42,
1: + WLAN_STATUS_INVALID_AKMP = 43,
1: + WLAN_STATUS_UNSUPP_RSN_VERSION = 44,
1: + WLAN_STATUS_INVALID_RSN_IE_CAP = 45,
1: + WLAN_STATUS_CIPHER_SUITE_REJECTED = 46,
1: + WLAN_STATUS_UNSPECIFIED_QOS = 32,
1: + WLAN_STATUS_ASSOC_DENIED_NOBANDWIDTH = 33,
1: + WLAN_STATUS_ASSOC_DENIED_LOWACK = 34,
1: + WLAN_STATUS_ASSOC_DENIED_UNSUPP_QOS = 35,
1: + WLAN_STATUS_REQUEST_DECLINED = 37,
1: + WLAN_STATUS_INVALID_QOS_PARAM = 38,
1: + WLAN_STATUS_CHANGE_TSPEC = 39,
1: + WLAN_STATUS_WAIT_TS_DELAY = 47,
1: + WLAN_STATUS_NO_DIRECT_LINK = 48,
1: + WLAN_STATUS_STA_NOT_PRESENT = 49,
1: + WLAN_STATUS_STA_NOT_QSTA = 50,
1: + WLAN_STATUS_ANTI_CLOG_REQUIRED = 76,
1: + WLAN_STATUS_FCG_NOT_SUPP = 78,
1: + WLAN_STATUS_STA_NO_TBTT = 78,
1: + WLAN_STATUS_REJECTED_WITH_SUGGESTED_CHANGES = 39,
1: + WLAN_STATUS_REJECTED_FOR_DELAY_PERIOD = 47,
1: + WLAN_STATUS_REJECT_WITH_SCHEDULE = 83,
1: + WLAN_STATUS_PENDING_ADMITTING_FST_SESSION = 86,
1: + WLAN_STATUS_PERFORMING_FST_NOW = 87,
1: + WLAN_STATUS_PENDING_GAP_IN_BA_WINDOW = 88,
1: + WLAN_STATUS_REJECT_U_PID_SETTING = 89,
1: + WLAN_STATUS_REJECT_DSE_BAND = 96,
1: + WLAN_STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL = 99,
1: + WLAN_STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT = 103,
1: + WLAN_STATUS_FILS_AUTHENTICATION_FAILURE = 108,
1: + WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER = 109,
1: +};
1: +
1: +enum ieee80211_eid {
1: + WLAN_EID_SSID = 0,
1: + WLAN_EID_SUPP_RATES = 1,
1: + WLAN_EID_FH_PARAMS = 2,
1: + WLAN_EID_DS_PARAMS = 3,
1: + WLAN_EID_CF_PARAMS = 4,
1: + WLAN_EID_TIM = 5,
1: + WLAN_EID_IBSS_PARAMS = 6,
1: + WLAN_EID_COUNTRY = 7,
1: + WLAN_EID_REQUEST = 10,
1: + WLAN_EID_QBSS_LOAD = 11,
1: + WLAN_EID_EDCA_PARAM_SET = 12,
1: + WLAN_EID_TSPEC = 13,
1: + WLAN_EID_TCLAS = 14,
1: + WLAN_EID_SCHEDULE = 15,
1: + WLAN_EID_CHALLENGE = 16,
1: + WLAN_EID_PWR_CONSTRAINT = 32,
1: + WLAN_EID_PWR_CAPABILITY = 33,
1: + WLAN_EID_TPC_REQUEST = 34,
1: + WLAN_EID_TPC_REPORT = 35,
1: + WLAN_EID_SUPPORTED_CHANNELS = 36,
1: + WLAN_EID_CHANNEL_SWITCH = 37,
1: + WLAN_EID_MEASURE_REQUEST = 38,
1: + WLAN_EID_MEASURE_REPORT = 39,
1: + WLAN_EID_QUIET = 40,
1: + WLAN_EID_IBSS_DFS = 41,
1: + WLAN_EID_ERP_INFO = 42,
1: + WLAN_EID_TS_DELAY = 43,
1: + WLAN_EID_TCLAS_PROCESSING = 44,
1: + WLAN_EID_HT_CAPABILITY = 45,
1: + WLAN_EID_QOS_CAPA = 46,
1: + WLAN_EID_RSN = 48,
1: + WLAN_EID_802_15_COEX = 49,
1: + WLAN_EID_EXT_SUPP_RATES = 50,
1: + WLAN_EID_AP_CHAN_REPORT = 51,
1: + WLAN_EID_NEIGHBOR_REPORT = 52,
1: + WLAN_EID_RCPI = 53,
1: + WLAN_EID_MOBILITY_DOMAIN = 54,
1: + WLAN_EID_FAST_BSS_TRANSITION = 55,
1: + WLAN_EID_TIMEOUT_INTERVAL = 56,
1: + WLAN_EID_RIC_DATA = 57,
1: + WLAN_EID_DSE_REGISTERED_LOCATION = 58,
1: + WLAN_EID_SUPPORTED_REGULATORY_CLASSES = 59,
1: + WLAN_EID_EXT_CHANSWITCH_ANN = 60,
1: + WLAN_EID_HT_OPERATION = 61,
1: + WLAN_EID_SECONDARY_CHANNEL_OFFSET = 62,
1: + WLAN_EID_BSS_AVG_ACCESS_DELAY = 63,
1: + WLAN_EID_ANTENNA_INFO = 64,
1: + WLAN_EID_RSNI = 65,
1: + WLAN_EID_MEASUREMENT_PILOT_TX_INFO = 66,
1: + WLAN_EID_BSS_AVAILABLE_CAPACITY = 67,
1: + WLAN_EID_BSS_AC_ACCESS_DELAY = 68,
1: + WLAN_EID_TIME_ADVERTISEMENT = 69,
1: + WLAN_EID_RRM_ENABLED_CAPABILITIES = 70,
1: + WLAN_EID_MULTIPLE_BSSID = 71,
1: + WLAN_EID_BSS_COEX_2040 = 72,
1: + WLAN_EID_BSS_INTOLERANT_CHL_REPORT = 73,
1: + WLAN_EID_OVERLAP_BSS_SCAN_PARAM = 74,
1: + WLAN_EID_RIC_DESCRIPTOR = 75,
1: + WLAN_EID_MMIE = 76,
1: + WLAN_EID_ASSOC_COMEBACK_TIME = 77,
1: + WLAN_EID_EVENT_REQUEST = 78,
1: + WLAN_EID_EVENT_REPORT = 79,
1: + WLAN_EID_DIAGNOSTIC_REQUEST = 80,
1: + WLAN_EID_DIAGNOSTIC_REPORT = 81,
1: + WLAN_EID_LOCATION_PARAMS = 82,
1: + WLAN_EID_NON_TX_BSSID_CAP = 83,
1: + WLAN_EID_SSID_LIST = 84,
1: + WLAN_EID_MULTI_BSSID_IDX = 85,
1: + WLAN_EID_FMS_DESCRIPTOR = 86,
1: + WLAN_EID_FMS_REQUEST = 87,
1: + WLAN_EID_FMS_RESPONSE = 88,
1: + WLAN_EID_QOS_TRAFFIC_CAPA = 89,
1: + WLAN_EID_BSS_MAX_IDLE_PERIOD = 90,
1: + WLAN_EID_TSF_REQUEST = 91,
1: + WLAN_EID_TSF_RESPOSNE = 92,
1: + WLAN_EID_WNM_SLEEP_MODE = 93,
1: + WLAN_EID_TIM_BCAST_REQ = 94,
1: + WLAN_EID_TIM_BCAST_RESP = 95,
1: + WLAN_EID_COLL_IF_REPORT = 96,
1: + WLAN_EID_CHANNEL_USAGE = 97,
1: + WLAN_EID_TIME_ZONE = 98,
1: + WLAN_EID_DMS_REQUEST = 99,
1: + WLAN_EID_DMS_RESPONSE = 100,
1: + WLAN_EID_LINK_ID = 101,
1: + WLAN_EID_WAKEUP_SCHEDUL = 102,
1: + WLAN_EID_CHAN_SWITCH_TIMING = 104,
1: + WLAN_EID_PTI_CONTROL = 105,
1: + WLAN_EID_PU_BUFFER_STATUS = 106,
1: + WLAN_EID_INTERWORKING = 107,
1: + WLAN_EID_ADVERTISEMENT_PROTOCOL = 108,
1: + WLAN_EID_EXPEDITED_BW_REQ = 109,
1: + WLAN_EID_QOS_MAP_SET = 110,
1: + WLAN_EID_ROAMING_CONSORTIUM = 111,
1: + WLAN_EID_EMERGENCY_ALERT = 112,
1: + WLAN_EID_MESH_CONFIG = 113,
1: + WLAN_EID_MESH_ID = 114,
1: + WLAN_EID_LINK_METRIC_REPORT = 115,
1: + WLAN_EID_CONGESTION_NOTIFICATION = 116,
1: + WLAN_EID_PEER_MGMT = 117,
1: + WLAN_EID_CHAN_SWITCH_PARAM = 118,
1: + WLAN_EID_MESH_AWAKE_WINDOW = 119,
1: + WLAN_EID_BEACON_TIMING = 120,
1: + WLAN_EID_MCCAOP_SETUP_REQ = 121,
1: + WLAN_EID_MCCAOP_SETUP_RESP = 122,
1: + WLAN_EID_MCCAOP_ADVERT = 123,
1: + WLAN_EID_MCCAOP_TEARDOWN = 124,
1: + WLAN_EID_GANN = 125,
1: + WLAN_EID_RANN = 126,
1: + WLAN_EID_EXT_CAPABILITY = 127,
1: + WLAN_EID_PREQ = 130,
1: + WLAN_EID_PREP = 131,
1: + WLAN_EID_PERR = 132,
1: + WLAN_EID_PXU = 137,
1: + WLAN_EID_PXUC = 138,
1: + WLAN_EID_AUTH_MESH_PEER_EXCH = 139,
1: + WLAN_EID_MIC = 140,
1: + WLAN_EID_DESTINATION_URI = 141,
1: + WLAN_EID_UAPSD_COEX = 142,
1: + WLAN_EID_WAKEUP_SCHEDULE = 143,
1: + WLAN_EID_EXT_SCHEDULE = 144,
1: + WLAN_EID_STA_AVAILABILITY = 145,
1: + WLAN_EID_DMG_TSPEC = 146,
1: + WLAN_EID_DMG_AT = 147,
1: + WLAN_EID_DMG_CAP = 148,
1: + WLAN_EID_CISCO_VENDOR_SPECIFIC = 150,
1: + WLAN_EID_DMG_OPERATION = 151,
1: + WLAN_EID_DMG_BSS_PARAM_CHANGE = 152,
1: + WLAN_EID_DMG_BEAM_REFINEMENT = 153,
1: + WLAN_EID_CHANNEL_MEASURE_FEEDBACK = 154,
1: + WLAN_EID_AWAKE_WINDOW = 157,
1: + WLAN_EID_MULTI_BAND = 158,
1: + WLAN_EID_ADDBA_EXT = 159,
1: + WLAN_EID_NEXT_PCP_LIST = 160,
1: + WLAN_EID_PCP_HANDOVER = 161,
1: + WLAN_EID_DMG_LINK_MARGIN = 162,
1: + WLAN_EID_SWITCHING_STREAM = 163,
1: + WLAN_EID_SESSION_TRANSITION = 164,
1: + WLAN_EID_DYN_TONE_PAIRING_REPORT = 165,
1: + WLAN_EID_CLUSTER_REPORT = 166,
1: + WLAN_EID_RELAY_CAP = 167,
1: + WLAN_EID_RELAY_XFER_PARAM_SET = 168,
1: + WLAN_EID_BEAM_LINK_MAINT = 169,
1: + WLAN_EID_MULTIPLE_MAC_ADDR = 170,
1: + WLAN_EID_U_PID = 171,
1: + WLAN_EID_DMG_LINK_ADAPT_ACK = 172,
1: + WLAN_EID_MCCAOP_ADV_OVERVIEW = 174,
1: + WLAN_EID_QUIET_PERIOD_REQ = 175,
1: + WLAN_EID_QUIET_PERIOD_RESP = 177,
1: + WLAN_EID_EPAC_POLICY = 182,
1: + WLAN_EID_CLISTER_TIME_OFF = 183,
1: + WLAN_EID_INTER_AC_PRIO = 184,
1: + WLAN_EID_SCS_DESCRIPTOR = 185,
1: + WLAN_EID_QLOAD_REPORT = 186,
1: + WLAN_EID_HCCA_TXOP_UPDATE_COUNT = 187,
1: + WLAN_EID_HL_STREAM_ID = 188,
1: + WLAN_EID_GCR_GROUP_ADDR = 189,
1: + WLAN_EID_ANTENNA_SECTOR_ID_PATTERN = 190,
1: + WLAN_EID_VHT_CAPABILITY = 191,
1: + WLAN_EID_VHT_OPERATION = 192,
1: + WLAN_EID_EXTENDED_BSS_LOAD = 193,
1: + WLAN_EID_WIDE_BW_CHANNEL_SWITCH = 194,
1: + WLAN_EID_VHT_TX_POWER_ENVELOPE = 195,
1: + WLAN_EID_CHANNEL_SWITCH_WRAPPER = 196,
1: + WLAN_EID_AID = 197,
1: + WLAN_EID_QUIET_CHANNEL = 198,
1: + WLAN_EID_OPMODE_NOTIF = 199,
1: + WLAN_EID_VENDOR_SPECIFIC = 221,
1: + WLAN_EID_QOS_PARAMETER = 222,
1: + WLAN_EID_CAG_NUMBER = 237,
1: + WLAN_EID_AP_CSN = 239,
1: + WLAN_EID_FILS_INDICATION = 240,
1: + WLAN_EID_DILS = 241,
1: + WLAN_EID_FRAGMENT = 242,
1: + WLAN_EID_EXTENSION = 255,
1: +};
1: +
1: +struct element {
1: + u8 id;
1: + u8 datalen;
1: + u8 data[0];
1: +};
1: +
1: +enum nl80211_he_gi {
1: + NL80211_RATE_INFO_HE_GI_0_8 = 0,
1: + NL80211_RATE_INFO_HE_GI_1_6 = 1,
1: + NL80211_RATE_INFO_HE_GI_3_2 = 2,
1: +};
1: +
1: +enum nl80211_he_ru_alloc {
1: + NL80211_RATE_INFO_HE_RU_ALLOC_26 = 0,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_52 = 1,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_106 = 2,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_242 = 3,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_484 = 4,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_996 = 5,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_2x996 = 6,
1: +};
1: +
1: +enum ieee80211_rate_flags {
1: + IEEE80211_RATE_SHORT_PREAMBLE = 1,
1: + IEEE80211_RATE_MANDATORY_A = 2,
1: + IEEE80211_RATE_MANDATORY_B = 4,
1: + IEEE80211_RATE_MANDATORY_G = 8,
1: + IEEE80211_RATE_ERP_G = 16,
1: + IEEE80211_RATE_SUPPORTS_5MHZ = 32,
1: + IEEE80211_RATE_SUPPORTS_10MHZ = 64,
1: +};
1: +
1: +struct iface_combination_params {
1: + int num_different_channels;
1: + u8 radar_detect;
1: + int iftype_num[13];
1: + u32 new_beacon_int;
1: +};
1: +
1: +enum rate_info_flags {
1: + RATE_INFO_FLAGS_MCS = 1,
1: + RATE_INFO_FLAGS_VHT_MCS = 2,
1: + RATE_INFO_FLAGS_SHORT_GI = 4,
1: + RATE_INFO_FLAGS_DMG = 8,
1: + RATE_INFO_FLAGS_HE_MCS = 16,
1: + RATE_INFO_FLAGS_EDMG = 32,
1: +};
1: +
1: +enum rate_info_bw {
1: + RATE_INFO_BW_20 = 0,
1: + RATE_INFO_BW_5 = 1,
1: + RATE_INFO_BW_10 = 2,
1: + RATE_INFO_BW_40 = 3,
1: + RATE_INFO_BW_80 = 4,
1: + RATE_INFO_BW_160 = 5,
1: + RATE_INFO_BW_HE_RU = 6,
1: +};
1: +
1: +struct iapp_layer2_update {
1: + u8 da[6];
1: + u8 sa[6];
1: + __be16 len;
1: + u8 dsap;
1: + u8 ssap;
1: + u8 control;
1: + u8 xid_info[3];
1: +};
1: +
1: +enum nl80211_reg_rule_flags {
1: + NL80211_RRF_NO_OFDM = 1,
1: + NL80211_RRF_NO_CCK = 2,
1: + NL80211_RRF_NO_INDOOR = 4,
1: + NL80211_RRF_NO_OUTDOOR = 8,
1: + NL80211_RRF_DFS = 16,
1: + NL80211_RRF_PTP_ONLY = 32,
1: + NL80211_RRF_PTMP_ONLY = 64,
1: + NL80211_RRF_NO_IR = 128,
1: + __NL80211_RRF_NO_IBSS = 256,
1: + NL80211_RRF_AUTO_BW = 2048,
1: + NL80211_RRF_IR_CONCURRENT = 4096,
1: + NL80211_RRF_NO_HT40MINUS = 8192,
1: + NL80211_RRF_NO_HT40PLUS = 16384,
1: + NL80211_RRF_NO_80MHZ = 32768,
1: + NL80211_RRF_NO_160MHZ = 65536,
1: +};
1: +
1: +enum nl80211_channel_type {
1: + NL80211_CHAN_NO_HT = 0,
1: + NL80211_CHAN_HT20 = 1,
1: + NL80211_CHAN_HT40MINUS = 2,
1: + NL80211_CHAN_HT40PLUS = 3,
1: +};
1: +
1: +enum ieee80211_channel_flags {
1: + IEEE80211_CHAN_DISABLED = 1,
1: + IEEE80211_CHAN_NO_IR = 2,
1: + IEEE80211_CHAN_RADAR = 8,
1: + IEEE80211_CHAN_NO_HT40PLUS = 16,
1: + IEEE80211_CHAN_NO_HT40MINUS = 32,
1: + IEEE80211_CHAN_NO_OFDM = 64,
1: + IEEE80211_CHAN_NO_80MHZ = 128,
1: + IEEE80211_CHAN_NO_160MHZ = 256,
1: + IEEE80211_CHAN_INDOOR_ONLY = 512,
1: + IEEE80211_CHAN_IR_CONCURRENT = 1024,
1: + IEEE80211_CHAN_NO_20MHZ = 2048,
1: + IEEE80211_CHAN_NO_10MHZ = 4096,
1: +};
1: +
1: +enum ieee80211_regd_source {
1: + REGD_SOURCE_INTERNAL_DB = 0,
1: + REGD_SOURCE_CRDA = 1,
1: + REGD_SOURCE_CACHED = 2,
1: +};
1: +
1: +enum reg_request_treatment {
1: + REG_REQ_OK = 0,
1: + REG_REQ_IGNORE = 1,
1: + REG_REQ_INTERSECT = 2,
1: + REG_REQ_ALREADY_SET = 3,
1: +};
1: +
1: +struct reg_beacon {
1: + struct list_head list;
1: + struct ieee80211_channel chan;
1: +};
1: +
1: +struct reg_regdb_apply_request {
1: + struct list_head list;
1: + const struct ieee80211_regdomain *regdom;
1: +};
1: +
1: +struct fwdb_country {
1: + u8 alpha2[2];
1: + __be16 coll_ptr;
1: +};
1: +
1: +struct fwdb_collection {
1: + u8 len;
1: + u8 n_rules;
1: + u8 dfs_region;
1: + char: 8;
1: +};
1: +
1: +enum fwdb_flags {
1: + FWDB_FLAG_NO_OFDM = 1,
1: + FWDB_FLAG_NO_OUTDOOR = 2,
1: + FWDB_FLAG_DFS = 4,
1: + FWDB_FLAG_NO_IR = 8,
1: + FWDB_FLAG_AUTO_BW = 16,
1: +};
1: +
1: +struct fwdb_wmm_ac {
1: + u8 ecw;
1: + u8 aifsn;
1: + __be16 cot;
1: +};
1: +
1: +struct fwdb_wmm_rule {
1: + struct fwdb_wmm_ac client[4];
1: + struct fwdb_wmm_ac ap[4];
1: +};
1: +
1: +struct fwdb_rule {
1: + u8 len;
1: + u8 flags;
1: + __be16 max_eirp;
1: + __be32 start;
1: + __be32 end;
1: + __be32 max_bw;
1: + __be16 cac_timeout;
1: + __be16 wmm_ptr;
1: +};
1: +
1: +struct fwdb_header {
1: + __be32 magic;
1: + __be32 version;
1: + struct fwdb_country country[0];
1: +};
1: +
1: +enum nl80211_scan_flags {
1: + NL80211_SCAN_FLAG_LOW_PRIORITY = 1,
1: + NL80211_SCAN_FLAG_FLUSH = 2,
1: + NL80211_SCAN_FLAG_AP = 4,
1: + NL80211_SCAN_FLAG_RANDOM_ADDR = 8,
1: + NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 16,
1: + NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 32,
1: + NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 64,
1: + NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 128,
1: + NL80211_SCAN_FLAG_LOW_SPAN = 256,
1: + NL80211_SCAN_FLAG_LOW_POWER = 512,
1: + NL80211_SCAN_FLAG_HIGH_ACCURACY = 1024,
1: + NL80211_SCAN_FLAG_RANDOM_SN = 2048,
1: + NL80211_SCAN_FLAG_MIN_PREQ_CONTENT = 4096,
1: +};
1: +
1: +struct ieee80211_msrment_ie {
1: + u8 token;
1: + u8 mode;
1: + u8 type;
1: + u8 request[0];
1: +};
1: +
1: +struct ieee80211_ext_chansw_ie {
1: + u8 mode;
1: + u8 new_operating_class;
1: + u8 new_ch_num;
1: + u8 count;
1: +};
1: +
1: +struct ieee80211_tpc_report_ie {
1: + u8 tx_power;
1: + u8 link_margin;
1: +};
1: +
1: +struct ieee80211_mgmt {
1: + __le16 frame_control;
1: + __le16 duration;
1: + u8 da[6];
1: + u8 sa[6];
1: + u8 bssid[6];
1: + __le16 seq_ctrl;
1: + union {
1: + struct {
1: + __le16 auth_alg;
1: + __le16 auth_transaction;
1: + __le16 status_code;
1: + u8 variable[0];
1: + } auth;
1: + struct {
1: + __le16 reason_code;
1: + } deauth;
1: + struct {
1: + __le16 capab_info;
1: + __le16 listen_interval;
1: + u8 variable[0];
1: + } assoc_req;
1: + struct {
1: + __le16 capab_info;
1: + __le16 status_code;
1: + __le16 aid;
1: + u8 variable[0];
1: + } assoc_resp;
1: + struct {
1: + __le16 capab_info;
1: + __le16 status_code;
1: + __le16 aid;
1: + u8 variable[0];
1: + } reassoc_resp;
1: + struct {
1: + __le16 capab_info;
1: + __le16 listen_interval;
1: + u8 current_ap[6];
1: + u8 variable[0];
1: + } reassoc_req;
1: + struct {
1: + __le16 reason_code;
1: + } disassoc;
1: + struct {
1: + __le64 timestamp;
1: + __le16 beacon_int;
1: + __le16 capab_info;
1: + u8 variable[0];
1: + } __attribute__((packed)) beacon;
1: + struct {
1: + u8 variable[0];
1: + } probe_req;
1: + struct {
1: + __le64 timestamp;
1: + __le16 beacon_int;
1: + __le16 capab_info;
1: + u8 variable[0];
1: + } __attribute__((packed)) probe_resp;
1: + struct {
1: + u8 category;
1: + union {
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + u8 status_code;
1: + u8 variable[0];
1: + } wme_action;
1: + struct {
1: + u8 action_code;
1: + u8 variable[0];
1: + } chan_switch;
1: + struct {
1: + u8 action_code;
1: + struct ieee80211_ext_chansw_ie data;
1: + u8 variable[0];
1: + } ext_chan_switch;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + u8 element_id;
1: + u8 length;
1: + struct ieee80211_msrment_ie msr_elem;
1: + } measurement;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + __le16 capab;
1: + __le16 timeout;
1: + __le16 start_seq_num;
1: + u8 variable[0];
1: + } addba_req;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + __le16 status;
1: + __le16 capab;
1: + __le16 timeout;
1: + } addba_resp;
1: + struct {
1: + u8 action_code;
1: + __le16 params;
1: + __le16 reason_code;
1: + } __attribute__((packed)) delba;
1: + struct {
1: + u8 action_code;
1: + u8 variable[0];
1: + } self_prot;
1: + struct {
1: + u8 action_code;
1: + u8 variable[0];
1: + } mesh_action;
1: + struct {
1: + u8 action;
1: + u8 trans_id[2];
1: + } sa_query;
1: + struct {
1: + u8 action;
1: + u8 smps_control;
1: + } ht_smps;
1: + struct {
1: + u8 action_code;
1: + u8 chanwidth;
1: + } ht_notify_cw;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + __le16 capability;
1: + u8 variable[0];
1: + } tdls_discover_resp;
1: + struct {
1: + u8 action_code;
1: + u8 operating_mode;
1: + } vht_opmode_notif;
1: + struct {
1: + u8 action_code;
1: + u8 membership[8];
1: + u8 position[16];
1: + } vht_group_notif;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + u8 tpc_elem_id;
1: + u8 tpc_elem_length;
1: + struct ieee80211_tpc_report_ie tpc;
1: + } tpc_report;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + u8 follow_up;
1: + u8 tod[6];
1: + u8 toa[6];
1: + __le16 tod_error;
1: + __le16 toa_error;
1: + u8 variable[0];
1: + } __attribute__((packed)) ftm;
1: + } u;
1: + } __attribute__((packed)) action;
1: + } u;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_ht_operation {
1: + u8 primary_chan;
1: + u8 ht_param;
1: + __le16 operation_mode;
1: + __le16 stbc_param;
1: + u8 basic_set[16];
1: +};
1: +
1: +enum ieee80211_eid_ext {
1: + WLAN_EID_EXT_ASSOC_DELAY_INFO = 1,
1: + WLAN_EID_EXT_FILS_REQ_PARAMS = 2,
1: + WLAN_EID_EXT_FILS_KEY_CONFIRM = 3,
1: + WLAN_EID_EXT_FILS_SESSION = 4,
1: + WLAN_EID_EXT_FILS_HLP_CONTAINER = 5,
1: + WLAN_EID_EXT_FILS_IP_ADDR_ASSIGN = 6,
1: + WLAN_EID_EXT_KEY_DELIVERY = 7,
1: + WLAN_EID_EXT_FILS_WRAPPED_DATA = 8,
1: + WLAN_EID_EXT_FILS_PUBLIC_KEY = 12,
1: + WLAN_EID_EXT_FILS_NONCE = 13,
1: + WLAN_EID_EXT_FUTURE_CHAN_GUIDANCE = 14,
1: + WLAN_EID_EXT_HE_CAPABILITY = 35,
1: + WLAN_EID_EXT_HE_OPERATION = 36,
1: + WLAN_EID_EXT_UORA = 37,
1: + WLAN_EID_EXT_HE_MU_EDCA = 38,
1: + WLAN_EID_EXT_HE_SPR = 39,
1: + WLAN_EID_EXT_MAX_CHANNEL_SWITCH_TIME = 52,
1: + WLAN_EID_EXT_MULTIPLE_BSSID_CONFIGURATION = 55,
1: + WLAN_EID_EXT_NON_INHERITANCE = 56,
1: +};
1: +
1: +enum ieee80211_privacy {
1: + IEEE80211_PRIVACY_ON = 0,
1: + IEEE80211_PRIVACY_OFF = 1,
1: + IEEE80211_PRIVACY_ANY = 2,
1: +};
1: +
1: +struct cfg80211_inform_bss {
1: + struct ieee80211_channel *chan;
1: + enum nl80211_bss_scan_width scan_width;
1: + s32 signal;
1: + u64 boottime_ns;
1: + u64 parent_tsf;
1: + u8 parent_bssid[6];
1: + u8 chains;
1: + s8 chain_signal[4];
1: +};
1: +
1: +enum cfg80211_bss_frame_type {
1: + CFG80211_BSS_FTYPE_UNKNOWN = 0,
1: + CFG80211_BSS_FTYPE_BEACON = 1,
1: + CFG80211_BSS_FTYPE_PRESP = 2,
1: +};
1: +
1: +enum bss_compare_mode {
1: + BSS_CMP_REGULAR = 0,
1: + BSS_CMP_HIDE_ZLEN = 1,
1: + BSS_CMP_HIDE_NUL = 2,
1: +};
1: +
1: +struct cfg80211_non_tx_bss {
1: + struct cfg80211_bss *tx_bss;
1: + u8 max_bssid_indicator;
1: + u8 bssid_index;
1: +};
1: +
1: +enum ieee80211_vht_mcs_support {
1: + IEEE80211_VHT_MCS_SUPPORT_0_7 = 0,
1: + IEEE80211_VHT_MCS_SUPPORT_0_8 = 1,
1: + IEEE80211_VHT_MCS_SUPPORT_0_9 = 2,
1: + IEEE80211_VHT_MCS_NOT_SUPPORTED = 3,
1: +};
1: +
1: +enum ieee80211_mesh_sync_method {
1: + IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET = 1,
1: + IEEE80211_SYNC_METHOD_VENDOR = 255,
1: +};
1: +
1: +enum ieee80211_mesh_path_protocol {
1: + IEEE80211_PATH_PROTOCOL_HWMP = 1,
1: + IEEE80211_PATH_PROTOCOL_VENDOR = 255,
1: +};
1: +
1: +enum ieee80211_mesh_path_metric {
1: + IEEE80211_PATH_METRIC_AIRTIME = 1,
1: + IEEE80211_PATH_METRIC_VENDOR = 255,
1: +};
1: +
1: +enum nl80211_sta_flags {
1: + __NL80211_STA_FLAG_INVALID = 0,
1: + NL80211_STA_FLAG_AUTHORIZED = 1,
1: + NL80211_STA_FLAG_SHORT_PREAMBLE = 2,
1: + NL80211_STA_FLAG_WME = 3,
1: + NL80211_STA_FLAG_MFP = 4,
1: + NL80211_STA_FLAG_AUTHENTICATED = 5,
1: + NL80211_STA_FLAG_TDLS_PEER = 6,
1: + NL80211_STA_FLAG_ASSOCIATED = 7,
1: + __NL80211_STA_FLAG_AFTER_LAST = 8,
1: + NL80211_STA_FLAG_MAX = 7,
1: +};
1: +
1: +enum nl80211_sta_p2p_ps_status {
1: + NL80211_P2P_PS_UNSUPPORTED = 0,
1: + NL80211_P2P_PS_SUPPORTED = 1,
1: + NUM_NL80211_P2P_PS_STATUS = 2,
1: +};
1: +
1: +enum nl80211_rate_info {
1: + __NL80211_RATE_INFO_INVALID = 0,
1: + NL80211_RATE_INFO_BITRATE = 1,
1: + NL80211_RATE_INFO_MCS = 2,
1: + NL80211_RATE_INFO_40_MHZ_WIDTH = 3,
1: + NL80211_RATE_INFO_SHORT_GI = 4,
1: + NL80211_RATE_INFO_BITRATE32 = 5,
1: + NL80211_RATE_INFO_VHT_MCS = 6,
1: + NL80211_RATE_INFO_VHT_NSS = 7,
1: + NL80211_RATE_INFO_80_MHZ_WIDTH = 8,
1: + NL80211_RATE_INFO_80P80_MHZ_WIDTH = 9,
1: + NL80211_RATE_INFO_160_MHZ_WIDTH = 10,
1: + NL80211_RATE_INFO_10_MHZ_WIDTH = 11,
1: + NL80211_RATE_INFO_5_MHZ_WIDTH = 12,
1: + NL80211_RATE_INFO_HE_MCS = 13,
1: + NL80211_RATE_INFO_HE_NSS = 14,
1: + NL80211_RATE_INFO_HE_GI = 15,
1: + NL80211_RATE_INFO_HE_DCM = 16,
1: + NL80211_RATE_INFO_HE_RU_ALLOC = 17,
1: + __NL80211_RATE_INFO_AFTER_LAST = 18,
1: + NL80211_RATE_INFO_MAX = 17,
1: +};
1: +
1: +enum nl80211_sta_bss_param {
1: + __NL80211_STA_BSS_PARAM_INVALID = 0,
1: + NL80211_STA_BSS_PARAM_CTS_PROT = 1,
1: + NL80211_STA_BSS_PARAM_SHORT_PREAMBLE = 2,
1: + NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME = 3,
1: + NL80211_STA_BSS_PARAM_DTIM_PERIOD = 4,
1: + NL80211_STA_BSS_PARAM_BEACON_INTERVAL = 5,
1: + __NL80211_STA_BSS_PARAM_AFTER_LAST = 6,
1: + NL80211_STA_BSS_PARAM_MAX = 5,
1: +};
1: +
1: +enum nl80211_sta_info {
1: + __NL80211_STA_INFO_INVALID = 0,
1: + NL80211_STA_INFO_INACTIVE_TIME = 1,
1: + NL80211_STA_INFO_RX_BYTES = 2,
1: + NL80211_STA_INFO_TX_BYTES = 3,
1: + NL80211_STA_INFO_LLID = 4,
1: + NL80211_STA_INFO_PLID = 5,
1: + NL80211_STA_INFO_PLINK_STATE = 6,
1: + NL80211_STA_INFO_SIGNAL = 7,
1: + NL80211_STA_INFO_TX_BITRATE = 8,
1: + NL80211_STA_INFO_RX_PACKETS = 9,
1: + NL80211_STA_INFO_TX_PACKETS = 10,
1: + NL80211_STA_INFO_TX_RETRIES = 11,
1: + NL80211_STA_INFO_TX_FAILED = 12,
1: + NL80211_STA_INFO_SIGNAL_AVG = 13,
1: + NL80211_STA_INFO_RX_BITRATE = 14,
1: + NL80211_STA_INFO_BSS_PARAM = 15,
1: + NL80211_STA_INFO_CONNECTED_TIME = 16,
1: + NL80211_STA_INFO_STA_FLAGS = 17,
1: + NL80211_STA_INFO_BEACON_LOSS = 18,
1: + NL80211_STA_INFO_T_OFFSET = 19,
1: + NL80211_STA_INFO_LOCAL_PM = 20,
1: + NL80211_STA_INFO_PEER_PM = 21,
1: + NL80211_STA_INFO_NONPEER_PM = 22,
1: + NL80211_STA_INFO_RX_BYTES64 = 23,
1: + NL80211_STA_INFO_TX_BYTES64 = 24,
1: + NL80211_STA_INFO_CHAIN_SIGNAL = 25,
1: + NL80211_STA_INFO_CHAIN_SIGNAL_AVG = 26,
1: + NL80211_STA_INFO_EXPECTED_THROUGHPUT = 27,
1: + NL80211_STA_INFO_RX_DROP_MISC = 28,
1: + NL80211_STA_INFO_BEACON_RX = 29,
1: + NL80211_STA_INFO_BEACON_SIGNAL_AVG = 30,
1: + NL80211_STA_INFO_TID_STATS = 31,
1: + NL80211_STA_INFO_RX_DURATION = 32,
1: + NL80211_STA_INFO_PAD = 33,
1: + NL80211_STA_INFO_ACK_SIGNAL = 34,
1: + NL80211_STA_INFO_ACK_SIGNAL_AVG = 35,
1: + NL80211_STA_INFO_RX_MPDUS = 36,
1: + NL80211_STA_INFO_FCS_ERROR_COUNT = 37,
1: + NL80211_STA_INFO_CONNECTED_TO_GATE = 38,
1: + NL80211_STA_INFO_TX_DURATION = 39,
1: + NL80211_STA_INFO_AIRTIME_WEIGHT = 40,
1: + NL80211_STA_INFO_AIRTIME_LINK_METRIC = 41,
1: + NL80211_STA_INFO_ASSOC_AT_BOOTTIME = 42,
1: + __NL80211_STA_INFO_AFTER_LAST = 43,
1: + NL80211_STA_INFO_MAX = 42,
1: +};
1: +
1: +enum nl80211_tid_stats {
1: + __NL80211_TID_STATS_INVALID = 0,
1: + NL80211_TID_STATS_RX_MSDU = 1,
1: + NL80211_TID_STATS_TX_MSDU = 2,
1: + NL80211_TID_STATS_TX_MSDU_RETRIES = 3,
1: + NL80211_TID_STATS_TX_MSDU_FAILED = 4,
1: + NL80211_TID_STATS_PAD = 5,
1: + NL80211_TID_STATS_TXQ_STATS = 6,
1: + NUM_NL80211_TID_STATS = 7,
1: + NL80211_TID_STATS_MAX = 6,
1: +};
1: +
1: +enum nl80211_txq_stats {
1: + __NL80211_TXQ_STATS_INVALID = 0,
1: + NL80211_TXQ_STATS_BACKLOG_BYTES = 1,
1: + NL80211_TXQ_STATS_BACKLOG_PACKETS = 2,
1: + NL80211_TXQ_STATS_FLOWS = 3,
1: + NL80211_TXQ_STATS_DROPS = 4,
1: + NL80211_TXQ_STATS_ECN_MARKS = 5,
1: + NL80211_TXQ_STATS_OVERLIMIT = 6,
1: + NL80211_TXQ_STATS_OVERMEMORY = 7,
1: + NL80211_TXQ_STATS_COLLISIONS = 8,
1: + NL80211_TXQ_STATS_TX_BYTES = 9,
1: + NL80211_TXQ_STATS_TX_PACKETS = 10,
1: + NL80211_TXQ_STATS_MAX_FLOWS = 11,
1: + NUM_NL80211_TXQ_STATS = 12,
1: + NL80211_TXQ_STATS_MAX = 11,
1: +};
1: +
1: +enum nl80211_mpath_info {
1: + __NL80211_MPATH_INFO_INVALID = 0,
1: + NL80211_MPATH_INFO_FRAME_QLEN = 1,
1: + NL80211_MPATH_INFO_SN = 2,
1: + NL80211_MPATH_INFO_METRIC = 3,
1: + NL80211_MPATH_INFO_EXPTIME = 4,
1: + NL80211_MPATH_INFO_FLAGS = 5,
1: + NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = 6,
1: + NL80211_MPATH_INFO_DISCOVERY_RETRIES = 7,
1: + NL80211_MPATH_INFO_HOP_COUNT = 8,
1: + NL80211_MPATH_INFO_PATH_CHANGE = 9,
1: + __NL80211_MPATH_INFO_AFTER_LAST = 10,
1: + NL80211_MPATH_INFO_MAX = 9,
1: +};
1: +
1: +enum nl80211_band_iftype_attr {
1: + __NL80211_BAND_IFTYPE_ATTR_INVALID = 0,
1: + NL80211_BAND_IFTYPE_ATTR_IFTYPES = 1,
1: + NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC = 2,
1: + NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 3,
1: + NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET = 4,
1: + NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 5,
1: + __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST = 6,
1: + NL80211_BAND_IFTYPE_ATTR_MAX = 5,
1: +};
1: +
1: +enum nl80211_band_attr {
1: + __NL80211_BAND_ATTR_INVALID = 0,
1: + NL80211_BAND_ATTR_FREQS = 1,
1: + NL80211_BAND_ATTR_RATES = 2,
1: + NL80211_BAND_ATTR_HT_MCS_SET = 3,
1: + NL80211_BAND_ATTR_HT_CAPA = 4,
1: + NL80211_BAND_ATTR_HT_AMPDU_FACTOR = 5,
1: + NL80211_BAND_ATTR_HT_AMPDU_DENSITY = 6,
1: + NL80211_BAND_ATTR_VHT_MCS_SET = 7,
1: + NL80211_BAND_ATTR_VHT_CAPA = 8,
1: + NL80211_BAND_ATTR_IFTYPE_DATA = 9,
1: + NL80211_BAND_ATTR_EDMG_CHANNELS = 10,
1: + NL80211_BAND_ATTR_EDMG_BW_CONFIG = 11,
1: + __NL80211_BAND_ATTR_AFTER_LAST = 12,
1: + NL80211_BAND_ATTR_MAX = 11,
1: +};
1: +
1: +enum nl80211_wmm_rule {
1: + __NL80211_WMMR_INVALID = 0,
1: + NL80211_WMMR_CW_MIN = 1,
1: + NL80211_WMMR_CW_MAX = 2,
1: + NL80211_WMMR_AIFSN = 3,
1: + NL80211_WMMR_TXOP = 4,
1: + __NL80211_WMMR_LAST = 5,
1: + NL80211_WMMR_MAX = 4,
1: +};
1: +
1: +enum nl80211_frequency_attr {
1: + __NL80211_FREQUENCY_ATTR_INVALID = 0,
1: + NL80211_FREQUENCY_ATTR_FREQ = 1,
1: + NL80211_FREQUENCY_ATTR_DISABLED = 2,
1: + NL80211_FREQUENCY_ATTR_NO_IR = 3,
1: + __NL80211_FREQUENCY_ATTR_NO_IBSS = 4,
1: + NL80211_FREQUENCY_ATTR_RADAR = 5,
1: + NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 6,
1: + NL80211_FREQUENCY_ATTR_DFS_STATE = 7,
1: + NL80211_FREQUENCY_ATTR_DFS_TIME = 8,
1: + NL80211_FREQUENCY_ATTR_NO_HT40_MINUS = 9,
1: + NL80211_FREQUENCY_ATTR_NO_HT40_PLUS = 10,
1: + NL80211_FREQUENCY_ATTR_NO_80MHZ = 11,
1: + NL80211_FREQUENCY_ATTR_NO_160MHZ = 12,
1: + NL80211_FREQUENCY_ATTR_DFS_CAC_TIME = 13,
1: + NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 14,
1: + NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 15,
1: + NL80211_FREQUENCY_ATTR_NO_20MHZ = 16,
1: + NL80211_FREQUENCY_ATTR_NO_10MHZ = 17,
1: + NL80211_FREQUENCY_ATTR_WMM = 18,
1: + __NL80211_FREQUENCY_ATTR_AFTER_LAST = 19,
1: + NL80211_FREQUENCY_ATTR_MAX = 18,
1: +};
1: +
1: +enum nl80211_bitrate_attr {
1: + __NL80211_BITRATE_ATTR_INVALID = 0,
1: + NL80211_BITRATE_ATTR_RATE = 1,
1: + NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 2,
1: + __NL80211_BITRATE_ATTR_AFTER_LAST = 3,
1: + NL80211_BITRATE_ATTR_MAX = 2,
1: +};
1: +
1: +enum nl80211_reg_type {
1: + NL80211_REGDOM_TYPE_COUNTRY = 0,
1: + NL80211_REGDOM_TYPE_WORLD = 1,
1: + NL80211_REGDOM_TYPE_CUSTOM_WORLD = 2,
1: + NL80211_REGDOM_TYPE_INTERSECTION = 3,
1: +};
1: +
1: +enum nl80211_reg_rule_attr {
1: + __NL80211_REG_RULE_ATTR_INVALID = 0,
1: + NL80211_ATTR_REG_RULE_FLAGS = 1,
1: + NL80211_ATTR_FREQ_RANGE_START = 2,
1: + NL80211_ATTR_FREQ_RANGE_END = 3,
1: + NL80211_ATTR_FREQ_RANGE_MAX_BW = 4,
1: + NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN = 5,
1: + NL80211_ATTR_POWER_RULE_MAX_EIRP = 6,
1: + NL80211_ATTR_DFS_CAC_TIME = 7,
1: + __NL80211_REG_RULE_ATTR_AFTER_LAST = 8,
1: + NL80211_REG_RULE_ATTR_MAX = 7,
1: +};
1: +
1: +enum nl80211_sched_scan_match_attr {
1: + __NL80211_SCHED_SCAN_MATCH_ATTR_INVALID = 0,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_SSID = 1,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_RSSI = 2,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI = 3,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST = 4,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_BSSID = 5,
1: + NL80211_SCHED_SCAN_MATCH_PER_BAND_RSSI = 6,
1: + __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST = 7,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_MAX = 6,
1: +};
1: +
1: +enum nl80211_survey_info {
1: + __NL80211_SURVEY_INFO_INVALID = 0,
1: + NL80211_SURVEY_INFO_FREQUENCY = 1,
1: + NL80211_SURVEY_INFO_NOISE = 2,
1: + NL80211_SURVEY_INFO_IN_USE = 3,
1: + NL80211_SURVEY_INFO_TIME = 4,
1: + NL80211_SURVEY_INFO_TIME_BUSY = 5,
1: + NL80211_SURVEY_INFO_TIME_EXT_BUSY = 6,
1: + NL80211_SURVEY_INFO_TIME_RX = 7,
1: + NL80211_SURVEY_INFO_TIME_TX = 8,
1: + NL80211_SURVEY_INFO_TIME_SCAN = 9,
1: + NL80211_SURVEY_INFO_PAD = 10,
1: + NL80211_SURVEY_INFO_TIME_BSS_RX = 11,
1: + __NL80211_SURVEY_INFO_AFTER_LAST = 12,
1: + NL80211_SURVEY_INFO_MAX = 11,
1: +};
1: +
1: +enum nl80211_meshconf_params {
1: + __NL80211_MESHCONF_INVALID = 0,
1: + NL80211_MESHCONF_RETRY_TIMEOUT = 1,
1: + NL80211_MESHCONF_CONFIRM_TIMEOUT = 2,
1: + NL80211_MESHCONF_HOLDING_TIMEOUT = 3,
1: + NL80211_MESHCONF_MAX_PEER_LINKS = 4,
1: + NL80211_MESHCONF_MAX_RETRIES = 5,
1: + NL80211_MESHCONF_TTL = 6,
1: + NL80211_MESHCONF_AUTO_OPEN_PLINKS = 7,
1: + NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES = 8,
1: + NL80211_MESHCONF_PATH_REFRESH_TIME = 9,
1: + NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT = 10,
1: + NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT = 11,
1: + NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL = 12,
1: + NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME = 13,
1: + NL80211_MESHCONF_HWMP_ROOTMODE = 14,
1: + NL80211_MESHCONF_ELEMENT_TTL = 15,
1: + NL80211_MESHCONF_HWMP_RANN_INTERVAL = 16,
1: + NL80211_MESHCONF_GATE_ANNOUNCEMENTS = 17,
1: + NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL = 18,
1: + NL80211_MESHCONF_FORWARDING = 19,
1: + NL80211_MESHCONF_RSSI_THRESHOLD = 20,
1: + NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR = 21,
1: + NL80211_MESHCONF_HT_OPMODE = 22,
1: + NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT = 23,
1: + NL80211_MESHCONF_HWMP_ROOT_INTERVAL = 24,
1: + NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL = 25,
1: + NL80211_MESHCONF_POWER_MODE = 26,
1: + NL80211_MESHCONF_AWAKE_WINDOW = 27,
1: + NL80211_MESHCONF_PLINK_TIMEOUT = 28,
1: + NL80211_MESHCONF_CONNECTED_TO_GATE = 29,
1: + __NL80211_MESHCONF_ATTR_AFTER_LAST = 30,
1: + NL80211_MESHCONF_ATTR_MAX = 29,
1: +};
1: +
1: +enum nl80211_mesh_setup_params {
1: + __NL80211_MESH_SETUP_INVALID = 0,
1: + NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL = 1,
1: + NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC = 2,
1: + NL80211_MESH_SETUP_IE = 3,
1: + NL80211_MESH_SETUP_USERSPACE_AUTH = 4,
1: + NL80211_MESH_SETUP_USERSPACE_AMPE = 5,
1: + NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC = 6,
1: + NL80211_MESH_SETUP_USERSPACE_MPM = 7,
1: + NL80211_MESH_SETUP_AUTH_PROTOCOL = 8,
1: + __NL80211_MESH_SETUP_ATTR_AFTER_LAST = 9,
1: + NL80211_MESH_SETUP_ATTR_MAX = 8,
1: +};
1: +
1: +enum nl80211_txq_attr {
1: + __NL80211_TXQ_ATTR_INVALID = 0,
1: + NL80211_TXQ_ATTR_AC = 1,
1: + NL80211_TXQ_ATTR_TXOP = 2,
1: + NL80211_TXQ_ATTR_CWMIN = 3,
1: + NL80211_TXQ_ATTR_CWMAX = 4,
1: + NL80211_TXQ_ATTR_AIFS = 5,
1: + __NL80211_TXQ_ATTR_AFTER_LAST = 6,
1: + NL80211_TXQ_ATTR_MAX = 5,
1: +};
1: +
1: +enum nl80211_bss {
1: + __NL80211_BSS_INVALID = 0,
1: + NL80211_BSS_BSSID = 1,
1: + NL80211_BSS_FREQUENCY = 2,
1: + NL80211_BSS_TSF = 3,
1: + NL80211_BSS_BEACON_INTERVAL = 4,
1: + NL80211_BSS_CAPABILITY = 5,
1: + NL80211_BSS_INFORMATION_ELEMENTS = 6,
1: + NL80211_BSS_SIGNAL_MBM = 7,
1: + NL80211_BSS_SIGNAL_UNSPEC = 8,
1: + NL80211_BSS_STATUS = 9,
1: + NL80211_BSS_SEEN_MS_AGO = 10,
1: + NL80211_BSS_BEACON_IES = 11,
1: + NL80211_BSS_CHAN_WIDTH = 12,
1: + NL80211_BSS_BEACON_TSF = 13,
1: + NL80211_BSS_PRESP_DATA = 14,
1: + NL80211_BSS_LAST_SEEN_BOOTTIME = 15,
1: + NL80211_BSS_PAD = 16,
1: + NL80211_BSS_PARENT_TSF = 17,
1: + NL80211_BSS_PARENT_BSSID = 18,
1: + NL80211_BSS_CHAIN_SIGNAL = 19,
1: + __NL80211_BSS_AFTER_LAST = 20,
1: + NL80211_BSS_MAX = 19,
1: +};
1: +
1: +enum nl80211_bss_status {
1: + NL80211_BSS_STATUS_AUTHENTICATED = 0,
1: + NL80211_BSS_STATUS_ASSOCIATED = 1,
1: + NL80211_BSS_STATUS_IBSS_JOINED = 2,
1: +};
1: +
1: +enum nl80211_key_type {
1: + NL80211_KEYTYPE_GROUP = 0,
1: + NL80211_KEYTYPE_PAIRWISE = 1,
1: + NL80211_KEYTYPE_PEERKEY = 2,
1: + NUM_NL80211_KEYTYPES = 3,
1: +};
1: +
1: +enum nl80211_wpa_versions {
1: + NL80211_WPA_VERSION_1 = 1,
1: + NL80211_WPA_VERSION_2 = 2,
1: + NL80211_WPA_VERSION_3 = 4,
1: +};
1: +
1: +enum nl80211_key_default_types {
1: + __NL80211_KEY_DEFAULT_TYPE_INVALID = 0,
1: + NL80211_KEY_DEFAULT_TYPE_UNICAST = 1,
1: + NL80211_KEY_DEFAULT_TYPE_MULTICAST = 2,
1: + NUM_NL80211_KEY_DEFAULT_TYPES = 3,
1: +};
1: +
1: +enum nl80211_key_attributes {
1: + __NL80211_KEY_INVALID = 0,
1: + NL80211_KEY_DATA = 1,
1: + NL80211_KEY_IDX = 2,
1: + NL80211_KEY_CIPHER = 3,
1: + NL80211_KEY_SEQ = 4,
1: + NL80211_KEY_DEFAULT = 5,
1: + NL80211_KEY_DEFAULT_MGMT = 6,
1: + NL80211_KEY_TYPE = 7,
1: + NL80211_KEY_DEFAULT_TYPES = 8,
1: + NL80211_KEY_MODE = 9,
1: + __NL80211_KEY_AFTER_LAST = 10,
1: + NL80211_KEY_MAX = 9,
1: +};
1: +
1: +enum nl80211_tx_rate_attributes {
1: + __NL80211_TXRATE_INVALID = 0,
1: + NL80211_TXRATE_LEGACY = 1,
1: + NL80211_TXRATE_HT = 2,
1: + NL80211_TXRATE_VHT = 3,
1: + NL80211_TXRATE_GI = 4,
1: + __NL80211_TXRATE_AFTER_LAST = 5,
1: + NL80211_TXRATE_MAX = 4,
1: +};
1: +
1: +struct nl80211_txrate_vht {
1: + __u16 mcs[8];
1: +};
1: +
1: +enum nl80211_ps_state {
1: + NL80211_PS_DISABLED = 0,
1: + NL80211_PS_ENABLED = 1,
1: +};
1: +
1: +enum nl80211_attr_cqm {
1: + __NL80211_ATTR_CQM_INVALID = 0,
1: + NL80211_ATTR_CQM_RSSI_THOLD = 1,
1: + NL80211_ATTR_CQM_RSSI_HYST = 2,
1: + NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT = 3,
1: + NL80211_ATTR_CQM_PKT_LOSS_EVENT = 4,
1: + NL80211_ATTR_CQM_TXE_RATE = 5,
1: + NL80211_ATTR_CQM_TXE_PKTS = 6,
1: + NL80211_ATTR_CQM_TXE_INTVL = 7,
1: + NL80211_ATTR_CQM_BEACON_LOSS_EVENT = 8,
1: + NL80211_ATTR_CQM_RSSI_LEVEL = 9,
1: + __NL80211_ATTR_CQM_AFTER_LAST = 10,
1: + NL80211_ATTR_CQM_MAX = 9,
1: +};
1: +
1: +enum nl80211_cqm_rssi_threshold_event {
1: + NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW = 0,
1: + NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH = 1,
1: + NL80211_CQM_RSSI_BEACON_LOSS_EVENT = 2,
1: +};
1: +
1: +enum nl80211_packet_pattern_attr {
1: + __NL80211_PKTPAT_INVALID = 0,
1: + NL80211_PKTPAT_MASK = 1,
1: + NL80211_PKTPAT_PATTERN = 2,
1: + NL80211_PKTPAT_OFFSET = 3,
1: + NUM_NL80211_PKTPAT = 4,
1: + MAX_NL80211_PKTPAT = 3,
1: +};
1: +
1: +struct nl80211_pattern_support {
1: + __u32 max_patterns;
1: + __u32 min_pattern_len;
1: + __u32 max_pattern_len;
1: + __u32 max_pkt_offset;
1: +};
1: +
1: +enum nl80211_wowlan_triggers {
1: + __NL80211_WOWLAN_TRIG_INVALID = 0,
1: + NL80211_WOWLAN_TRIG_ANY = 1,
1: + NL80211_WOWLAN_TRIG_DISCONNECT = 2,
1: + NL80211_WOWLAN_TRIG_MAGIC_PKT = 3,
1: + NL80211_WOWLAN_TRIG_PKT_PATTERN = 4,
1: + NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED = 5,
1: + NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE = 6,
1: + NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST = 7,
1: + NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE = 8,
1: + NL80211_WOWLAN_TRIG_RFKILL_RELEASE = 9,
1: + NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211 = 10,
1: + NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN = 11,
1: + NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023 = 12,
1: + NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN = 13,
1: + NL80211_WOWLAN_TRIG_TCP_CONNECTION = 14,
1: + NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH = 15,
1: + NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST = 16,
1: + NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS = 17,
1: + NL80211_WOWLAN_TRIG_NET_DETECT = 18,
1: + NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS = 19,
1: + NUM_NL80211_WOWLAN_TRIG = 20,
1: + MAX_NL80211_WOWLAN_TRIG = 19,
1: +};
1: +
1: +enum nl80211_wowlan_tcp_attrs {
1: + __NL80211_WOWLAN_TCP_INVALID = 0,
1: + NL80211_WOWLAN_TCP_SRC_IPV4 = 1,
1: + NL80211_WOWLAN_TCP_DST_IPV4 = 2,
1: + NL80211_WOWLAN_TCP_DST_MAC = 3,
1: + NL80211_WOWLAN_TCP_SRC_PORT = 4,
1: + NL80211_WOWLAN_TCP_DST_PORT = 5,
1: + NL80211_WOWLAN_TCP_DATA_PAYLOAD = 6,
1: + NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ = 7,
1: + NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN = 8,
1: + NL80211_WOWLAN_TCP_DATA_INTERVAL = 9,
1: + NL80211_WOWLAN_TCP_WAKE_PAYLOAD = 10,
1: + NL80211_WOWLAN_TCP_WAKE_MASK = 11,
1: + NUM_NL80211_WOWLAN_TCP = 12,
1: + MAX_NL80211_WOWLAN_TCP = 11,
1: +};
1: +
1: +struct nl80211_coalesce_rule_support {
1: + __u32 max_rules;
1: + struct nl80211_pattern_support pat;
1: + __u32 max_delay;
1: +};
1: +
1: +enum nl80211_attr_coalesce_rule {
1: + __NL80211_COALESCE_RULE_INVALID = 0,
1: + NL80211_ATTR_COALESCE_RULE_DELAY = 1,
1: + NL80211_ATTR_COALESCE_RULE_CONDITION = 2,
1: + NL80211_ATTR_COALESCE_RULE_PKT_PATTERN = 3,
1: + NUM_NL80211_ATTR_COALESCE_RULE = 4,
1: + NL80211_ATTR_COALESCE_RULE_MAX = 3,
1: +};
1: +
1: +enum nl80211_iface_limit_attrs {
1: + NL80211_IFACE_LIMIT_UNSPEC = 0,
1: + NL80211_IFACE_LIMIT_MAX = 1,
1: + NL80211_IFACE_LIMIT_TYPES = 2,
1: + NUM_NL80211_IFACE_LIMIT = 3,
1: + MAX_NL80211_IFACE_LIMIT = 2,
1: +};
1: +
1: +enum nl80211_if_combination_attrs {
1: + NL80211_IFACE_COMB_UNSPEC = 0,
1: + NL80211_IFACE_COMB_LIMITS = 1,
1: + NL80211_IFACE_COMB_MAXNUM = 2,
1: + NL80211_IFACE_COMB_STA_AP_BI_MATCH = 3,
1: + NL80211_IFACE_COMB_NUM_CHANNELS = 4,
1: + NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS = 5,
1: + NL80211_IFACE_COMB_RADAR_DETECT_REGIONS = 6,
1: + NL80211_IFACE_COMB_BI_MIN_GCD = 7,
1: + NUM_NL80211_IFACE_COMB = 8,
1: + MAX_NL80211_IFACE_COMB = 7,
1: +};
1: +
1: +enum nl80211_plink_state {
1: + NL80211_PLINK_LISTEN = 0,
1: + NL80211_PLINK_OPN_SNT = 1,
1: + NL80211_PLINK_OPN_RCVD = 2,
1: + NL80211_PLINK_CNF_RCVD = 3,
1: + NL80211_PLINK_ESTAB = 4,
1: + NL80211_PLINK_HOLDING = 5,
1: + NL80211_PLINK_BLOCKED = 6,
1: + NUM_NL80211_PLINK_STATES = 7,
1: + MAX_NL80211_PLINK_STATES = 6,
1: +};
1: +
1: +enum plink_actions {
1: + NL80211_PLINK_ACTION_NO_ACTION = 0,
1: + NL80211_PLINK_ACTION_OPEN = 1,
1: + NL80211_PLINK_ACTION_BLOCK = 2,
1: + NUM_NL80211_PLINK_ACTIONS = 3,
1: +};
1: +
1: +enum nl80211_rekey_data {
1: + __NL80211_REKEY_DATA_INVALID = 0,
1: + NL80211_REKEY_DATA_KEK = 1,
1: + NL80211_REKEY_DATA_KCK = 2,
1: + NL80211_REKEY_DATA_REPLAY_CTR = 3,
1: + NUM_NL80211_REKEY_DATA = 4,
1: + MAX_NL80211_REKEY_DATA = 3,
1: +};
1: +
1: +enum nl80211_sta_wme_attr {
1: + __NL80211_STA_WME_INVALID = 0,
1: + NL80211_STA_WME_UAPSD_QUEUES = 1,
1: + NL80211_STA_WME_MAX_SP = 2,
1: + __NL80211_STA_WME_AFTER_LAST = 3,
1: + NL80211_STA_WME_MAX = 2,
1: +};
1: +
1: +enum nl80211_pmksa_candidate_attr {
1: + __NL80211_PMKSA_CANDIDATE_INVALID = 0,
1: + NL80211_PMKSA_CANDIDATE_INDEX = 1,
1: + NL80211_PMKSA_CANDIDATE_BSSID = 2,
1: + NL80211_PMKSA_CANDIDATE_PREAUTH = 3,
1: + NUM_NL80211_PMKSA_CANDIDATE = 4,
1: + MAX_NL80211_PMKSA_CANDIDATE = 3,
1: +};
1: +
1: +enum nl80211_connect_failed_reason {
1: + NL80211_CONN_FAIL_MAX_CLIENTS = 0,
1: + NL80211_CONN_FAIL_BLOCKED_CLIENT = 1,
1: +};
1: +
1: +enum nl80211_protocol_features {
1: + NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 1,
1: +};
1: +
1: +enum nl80211_sched_scan_plan {
1: + __NL80211_SCHED_SCAN_PLAN_INVALID = 0,
1: + NL80211_SCHED_SCAN_PLAN_INTERVAL = 1,
1: + NL80211_SCHED_SCAN_PLAN_ITERATIONS = 2,
1: + __NL80211_SCHED_SCAN_PLAN_AFTER_LAST = 3,
1: + NL80211_SCHED_SCAN_PLAN_MAX = 2,
1: +};
1: +
1: +struct nl80211_bss_select_rssi_adjust {
1: + __u8 band;
1: + __s8 delta;
1: +};
1: +
1: +enum nl80211_nan_publish_type {
1: + NL80211_NAN_SOLICITED_PUBLISH = 1,
1: + NL80211_NAN_UNSOLICITED_PUBLISH = 2,
1: +};
1: +
1: +enum nl80211_nan_func_term_reason {
1: + NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST = 0,
1: + NL80211_NAN_FUNC_TERM_REASON_TTL_EXPIRED = 1,
1: + NL80211_NAN_FUNC_TERM_REASON_ERROR = 2,
1: +};
1: +
1: +enum nl80211_nan_func_attributes {
1: + __NL80211_NAN_FUNC_INVALID = 0,
1: + NL80211_NAN_FUNC_TYPE = 1,
1: + NL80211_NAN_FUNC_SERVICE_ID = 2,
1: + NL80211_NAN_FUNC_PUBLISH_TYPE = 3,
1: + NL80211_NAN_FUNC_PUBLISH_BCAST = 4,
1: + NL80211_NAN_FUNC_SUBSCRIBE_ACTIVE = 5,
1: + NL80211_NAN_FUNC_FOLLOW_UP_ID = 6,
1: + NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID = 7,
1: + NL80211_NAN_FUNC_FOLLOW_UP_DEST = 8,
1: + NL80211_NAN_FUNC_CLOSE_RANGE = 9,
1: + NL80211_NAN_FUNC_TTL = 10,
1: + NL80211_NAN_FUNC_SERVICE_INFO = 11,
1: + NL80211_NAN_FUNC_SRF = 12,
1: + NL80211_NAN_FUNC_RX_MATCH_FILTER = 13,
1: + NL80211_NAN_FUNC_TX_MATCH_FILTER = 14,
1: + NL80211_NAN_FUNC_INSTANCE_ID = 15,
1: + NL80211_NAN_FUNC_TERM_REASON = 16,
1: + NUM_NL80211_NAN_FUNC_ATTR = 17,
1: + NL80211_NAN_FUNC_ATTR_MAX = 16,
1: +};
1: +
1: +enum nl80211_nan_srf_attributes {
1: + __NL80211_NAN_SRF_INVALID = 0,
1: + NL80211_NAN_SRF_INCLUDE = 1,
1: + NL80211_NAN_SRF_BF = 2,
1: + NL80211_NAN_SRF_BF_IDX = 3,
1: + NL80211_NAN_SRF_MAC_ADDRS = 4,
1: + NUM_NL80211_NAN_SRF_ATTR = 5,
1: + NL80211_NAN_SRF_ATTR_MAX = 4,
1: +};
1: +
1: +enum nl80211_nan_match_attributes {
1: + __NL80211_NAN_MATCH_INVALID = 0,
1: + NL80211_NAN_MATCH_FUNC_LOCAL = 1,
1: + NL80211_NAN_MATCH_FUNC_PEER = 2,
1: + NUM_NL80211_NAN_MATCH_ATTR = 3,
1: + NL80211_NAN_MATCH_ATTR_MAX = 2,
1: +};
1: +
1: +enum nl80211_ftm_responder_attributes {
1: + __NL80211_FTM_RESP_ATTR_INVALID = 0,
1: + NL80211_FTM_RESP_ATTR_ENABLED = 1,
1: + NL80211_FTM_RESP_ATTR_LCI = 2,
1: + NL80211_FTM_RESP_ATTR_CIVICLOC = 3,
1: + __NL80211_FTM_RESP_ATTR_LAST = 4,
1: + NL80211_FTM_RESP_ATTR_MAX = 3,
1: +};
1: +
1: +enum nl80211_ftm_responder_stats {
1: + __NL80211_FTM_STATS_INVALID = 0,
1: + NL80211_FTM_STATS_SUCCESS_NUM = 1,
1: + NL80211_FTM_STATS_PARTIAL_NUM = 2,
1: + NL80211_FTM_STATS_FAILED_NUM = 3,
1: + NL80211_FTM_STATS_ASAP_NUM = 4,
1: + NL80211_FTM_STATS_NON_ASAP_NUM = 5,
1: + NL80211_FTM_STATS_TOTAL_DURATION_MSEC = 6,
1: + NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM = 7,
1: + NL80211_FTM_STATS_RESCHEDULE_REQUESTS_NUM = 8,
1: + NL80211_FTM_STATS_OUT_OF_WINDOW_TRIGGERS_NUM = 9,
1: + NL80211_FTM_STATS_PAD = 10,
1: + __NL80211_FTM_STATS_AFTER_LAST = 11,
1: + NL80211_FTM_STATS_MAX = 10,
1: +};
1: +
1: +enum nl80211_peer_measurement_type {
1: + NL80211_PMSR_TYPE_INVALID = 0,
1: + NL80211_PMSR_TYPE_FTM = 1,
1: + NUM_NL80211_PMSR_TYPES = 2,
1: + NL80211_PMSR_TYPE_MAX = 1,
1: +};
1: +
1: +enum nl80211_peer_measurement_req {
1: + __NL80211_PMSR_REQ_ATTR_INVALID = 0,
1: + NL80211_PMSR_REQ_ATTR_DATA = 1,
1: + NL80211_PMSR_REQ_ATTR_GET_AP_TSF = 2,
1: + NUM_NL80211_PMSR_REQ_ATTRS = 3,
1: + NL80211_PMSR_REQ_ATTR_MAX = 2,
1: +};
1: +
1: +enum nl80211_peer_measurement_peer_attrs {
1: + __NL80211_PMSR_PEER_ATTR_INVALID = 0,
1: + NL80211_PMSR_PEER_ATTR_ADDR = 1,
1: + NL80211_PMSR_PEER_ATTR_CHAN = 2,
1: + NL80211_PMSR_PEER_ATTR_REQ = 3,
1: + NL80211_PMSR_PEER_ATTR_RESP = 4,
1: + NUM_NL80211_PMSR_PEER_ATTRS = 5,
1: + NL80211_PMSR_PEER_ATTR_MAX = 4,
1: +};
1: +
1: +enum nl80211_peer_measurement_attrs {
1: + __NL80211_PMSR_ATTR_INVALID = 0,
1: + NL80211_PMSR_ATTR_MAX_PEERS = 1,
1: + NL80211_PMSR_ATTR_REPORT_AP_TSF = 2,
1: + NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR = 3,
1: + NL80211_PMSR_ATTR_TYPE_CAPA = 4,
1: + NL80211_PMSR_ATTR_PEERS = 5,
1: + NUM_NL80211_PMSR_ATTR = 6,
1: + NL80211_PMSR_ATTR_MAX = 5,
1: +};
1: +
1: +enum nl80211_peer_measurement_ftm_capa {
1: + __NL80211_PMSR_FTM_CAPA_ATTR_INVALID = 0,
1: + NL80211_PMSR_FTM_CAPA_ATTR_ASAP = 1,
1: + NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP = 2,
1: + NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI = 3,
1: + NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC = 4,
1: + NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES = 5,
1: + NL80211_PMSR_FTM_CAPA_ATTR_BANDWIDTHS = 6,
1: + NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT = 7,
1: + NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST = 8,
1: + NUM_NL80211_PMSR_FTM_CAPA_ATTR = 9,
1: + NL80211_PMSR_FTM_CAPA_ATTR_MAX = 8,
1: +};
1: +
1: +enum nl80211_peer_measurement_ftm_req {
1: + __NL80211_PMSR_FTM_REQ_ATTR_INVALID = 0,
1: + NL80211_PMSR_FTM_REQ_ATTR_ASAP = 1,
1: + NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE = 2,
1: + NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP = 3,
1: + NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD = 4,
1: + NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION = 5,
1: + NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST = 6,
1: + NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES = 7,
1: + NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI = 8,
1: + NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC = 9,
1: + NUM_NL80211_PMSR_FTM_REQ_ATTR = 10,
1: + NL80211_PMSR_FTM_REQ_ATTR_MAX = 9,
1: +};
1: +
1: +enum nl80211_obss_pd_attributes {
1: + __NL80211_HE_OBSS_PD_ATTR_INVALID = 0,
1: + NL80211_HE_OBSS_PD_ATTR_MIN_OFFSET = 1,
1: + NL80211_HE_OBSS_PD_ATTR_MAX_OFFSET = 2,
1: + __NL80211_HE_OBSS_PD_ATTR_LAST = 3,
1: + NL80211_HE_OBSS_PD_ATTR_MAX = 2,
1: +};
1: +
1: +enum survey_info_flags {
1: + SURVEY_INFO_NOISE_DBM = 1,
1: + SURVEY_INFO_IN_USE = 2,
1: + SURVEY_INFO_TIME = 4,
1: + SURVEY_INFO_TIME_BUSY = 8,
1: + SURVEY_INFO_TIME_EXT_BUSY = 16,
1: + SURVEY_INFO_TIME_RX = 32,
1: + SURVEY_INFO_TIME_TX = 64,
1: + SURVEY_INFO_TIME_SCAN = 128,
1: + SURVEY_INFO_TIME_BSS_RX = 256,
1: +};
1: +
1: +enum cfg80211_ap_settings_flags {
1: + AP_SETTINGS_EXTERNAL_AUTH_SUPPORT = 1,
1: +};
1: +
1: +enum station_parameters_apply_mask {
1: + STATION_PARAM_APPLY_UAPSD = 1,
1: + STATION_PARAM_APPLY_CAPABILITY = 2,
1: + STATION_PARAM_APPLY_PLINK_STATE = 4,
1: + STATION_PARAM_APPLY_STA_TXPOWER = 8,
1: +};
1: +
1: +enum cfg80211_station_type {
1: + CFG80211_STA_AP_CLIENT = 0,
1: + CFG80211_STA_AP_CLIENT_UNASSOC = 1,
1: + CFG80211_STA_AP_MLME_CLIENT = 2,
1: + CFG80211_STA_AP_STA = 3,
1: + CFG80211_STA_IBSS = 4,
1: + CFG80211_STA_TDLS_PEER_SETUP = 5,
1: + CFG80211_STA_TDLS_PEER_ACTIVE = 6,
1: + CFG80211_STA_MESH_PEER_KERNEL = 7,
1: + CFG80211_STA_MESH_PEER_USER = 8,
1: +};
1: +
1: +enum bss_param_flags {
1: + BSS_PARAM_FLAGS_CTS_PROT = 1,
1: + BSS_PARAM_FLAGS_SHORT_PREAMBLE = 2,
1: + BSS_PARAM_FLAGS_SHORT_SLOT_TIME = 4,
1: +};
1: +
1: +enum monitor_flags {
1: + MONITOR_FLAG_CHANGED = 1,
1: + MONITOR_FLAG_FCSFAIL = 2,
1: + MONITOR_FLAG_PLCPFAIL = 4,
1: + MONITOR_FLAG_CONTROL = 8,
1: + MONITOR_FLAG_OTHER_BSS = 16,
1: + MONITOR_FLAG_COOK_FRAMES = 32,
1: + MONITOR_FLAG_ACTIVE = 64,
1: +};
1: +
1: +enum mpath_info_flags {
1: + MPATH_INFO_FRAME_QLEN = 1,
1: + MPATH_INFO_SN = 2,
1: + MPATH_INFO_METRIC = 4,
1: + MPATH_INFO_EXPTIME = 8,
1: + MPATH_INFO_DISCOVERY_TIMEOUT = 16,
1: + MPATH_INFO_DISCOVERY_RETRIES = 32,
1: + MPATH_INFO_FLAGS = 64,
1: + MPATH_INFO_HOP_COUNT = 128,
1: + MPATH_INFO_PATH_CHANGE = 256,
1: +};
1: +
1: +enum cfg80211_assoc_req_flags {
1: + ASSOC_REQ_DISABLE_HT = 1,
1: + ASSOC_REQ_DISABLE_VHT = 2,
1: + ASSOC_REQ_USE_RRM = 4,
1: + CONNECT_REQ_EXTERNAL_AUTH_SUPPORT = 8,
1: +};
1: +
1: +enum cfg80211_connect_params_changed {
1: + UPDATE_ASSOC_IES = 1,
1: + UPDATE_FILS_ERP_INFO = 2,
1: + UPDATE_AUTH_TYPE = 4,
1: +};
1: +
1: +enum wiphy_params_flags {
1: + WIPHY_PARAM_RETRY_SHORT = 1,
1: + WIPHY_PARAM_RETRY_LONG = 2,
1: + WIPHY_PARAM_FRAG_THRESHOLD = 4,
1: + WIPHY_PARAM_RTS_THRESHOLD = 8,
1: + WIPHY_PARAM_COVERAGE_CLASS = 16,
1: + WIPHY_PARAM_DYN_ACK = 32,
1: + WIPHY_PARAM_TXQ_LIMIT = 64,
1: + WIPHY_PARAM_TXQ_MEMORY_LIMIT = 128,
1: + WIPHY_PARAM_TXQ_QUANTUM = 256,
1: +};
1: +
1: +struct cfg80211_wowlan_nd_match {
1: + struct cfg80211_ssid ssid;
1: + int n_channels;
1: + u32 channels[0];
1: +};
1: +
1: +struct cfg80211_wowlan_nd_info {
1: + int n_matches;
1: + struct cfg80211_wowlan_nd_match *matches[0];
1: +};
1: +
1: +struct cfg80211_wowlan_wakeup {
1: + bool disconnect;
1: + bool magic_pkt;
1: + bool gtk_rekey_failure;
1: + bool eap_identity_req;
1: + bool four_way_handshake;
1: + bool rfkill_release;
1: + bool packet_80211;
1: + bool tcp_match;
1: + bool tcp_connlost;
1: + bool tcp_nomoretokens;
1: + s32 pattern_idx;
1: + u32 packet_present_len;
1: + u32 packet_len;
1: + const void *packet;
1: + struct cfg80211_wowlan_nd_info *net_detect;
1: +};
1: +
1: +enum cfg80211_nan_conf_changes {
1: + CFG80211_NAN_CONF_CHANGED_PREF = 1,
1: + CFG80211_NAN_CONF_CHANGED_BANDS = 2,
1: +};
1: +
1: +enum wiphy_vendor_command_flags {
1: + WIPHY_VENDOR_CMD_NEED_WDEV = 1,
1: + WIPHY_VENDOR_CMD_NEED_NETDEV = 2,
1: + WIPHY_VENDOR_CMD_NEED_RUNNING = 4,
1: +};
1: +
1: +enum wiphy_opmode_flag {
1: + STA_OPMODE_MAX_BW_CHANGED = 1,
1: + STA_OPMODE_SMPS_MODE_CHANGED = 2,
1: + STA_OPMODE_N_SS_CHANGED = 4,
1: +};
1: +
1: +struct sta_opmode_info {
1: + u32 changed;
1: + enum nl80211_smps_mode smps_mode;
1: + enum nl80211_chan_width bw;
1: + u8 rx_nss;
1: +};
1: +
1: +struct cfg80211_ft_event_params {
1: + const u8 *ies;
1: + size_t ies_len;
1: + const u8 *target_ap;
1: + const u8 *ric_ies;
1: + size_t ric_ies_len;
1: +};
1: +
1: +struct cfg80211_nan_match_params {
1: + enum nl80211_nan_function_type type;
1: + u8 inst_id;
1: + u8 peer_inst_id;
1: + const u8 *addr;
1: + u8 info_len;
1: + const u8 *info;
1: + u64 cookie;
1: +};
1: +
1: +enum nl80211_multicast_groups {
1: + NL80211_MCGRP_CONFIG = 0,
1: + NL80211_MCGRP_SCAN = 1,
1: + NL80211_MCGRP_REGULATORY = 2,
1: + NL80211_MCGRP_MLME = 3,
1: + NL80211_MCGRP_VENDOR = 4,
1: + NL80211_MCGRP_NAN = 5,
1: + NL80211_MCGRP_TESTMODE = 6,
1: +};
1: +
1: +struct key_parse {
1: + struct key_params p;
1: + int idx;
1: + int type;
1: + bool def;
1: + bool defmgmt;
1: + bool def_uni;
1: + bool def_multi;
1: +};
1: +
1: +struct nl80211_dump_wiphy_state {
1: + s64 filter_wiphy;
1: + long int start;
1: + long int split_start;
1: + long int band_start;
1: + long int chan_start;
1: + long int capa_start;
1: + bool split;
1: +};
1: +
1: +struct get_key_cookie {
1: + struct sk_buff *msg;
1: + int error;
1: + int idx;
1: +};
1: +
1: +enum ieee80211_category {
1: + WLAN_CATEGORY_SPECTRUM_MGMT = 0,
1: + WLAN_CATEGORY_QOS = 1,
1: + WLAN_CATEGORY_DLS = 2,
1: + WLAN_CATEGORY_BACK = 3,
1: + WLAN_CATEGORY_PUBLIC = 4,
1: + WLAN_CATEGORY_RADIO_MEASUREMENT = 5,
1: + WLAN_CATEGORY_HT = 7,
1: + WLAN_CATEGORY_SA_QUERY = 8,
1: + WLAN_CATEGORY_PROTECTED_DUAL_OF_ACTION = 9,
1: + WLAN_CATEGORY_WNM = 10,
1: + WLAN_CATEGORY_WNM_UNPROTECTED = 11,
1: + WLAN_CATEGORY_TDLS = 12,
1: + WLAN_CATEGORY_MESH_ACTION = 13,
1: + WLAN_CATEGORY_MULTIHOP_ACTION = 14,
1: + WLAN_CATEGORY_SELF_PROTECTED = 15,
1: + WLAN_CATEGORY_DMG = 16,
1: + WLAN_CATEGORY_WMM = 17,
1: + WLAN_CATEGORY_FST = 18,
1: + WLAN_CATEGORY_UNPROT_DMG = 20,
1: + WLAN_CATEGORY_VHT = 21,
1: + WLAN_CATEGORY_VENDOR_SPECIFIC_PROTECTED = 126,
1: + WLAN_CATEGORY_VENDOR_SPECIFIC = 127,
1: +};
1: +
1: +struct cfg80211_mgmt_registration {
1: + struct list_head list;
1: + struct wireless_dev *wdev;
1: + u32 nlportid;
1: + int match_len;
1: + __le16 frame_type;
1: + u8 match[0];
1: +};
1: +
1: +struct cfg80211_conn {
1: + struct cfg80211_connect_params params;
1: + enum {
1: + CFG80211_CONN_SCANNING = 0,
1: + CFG80211_CONN_SCAN_AGAIN = 1,
1: + CFG80211_CONN_AUTHENTICATE_NEXT = 2,
1: + CFG80211_CONN_AUTHENTICATING = 3,
1: + CFG80211_CONN_AUTH_FAILED_TIMEOUT = 4,
1: + CFG80211_CONN_ASSOCIATE_NEXT = 5,
1: + CFG80211_CONN_ASSOCIATING = 6,
1: + CFG80211_CONN_ASSOC_FAILED = 7,
1: + CFG80211_CONN_ASSOC_FAILED_TIMEOUT = 8,
1: + CFG80211_CONN_DEAUTH = 9,
1: + CFG80211_CONN_ABANDON = 10,
1: + CFG80211_CONN_CONNECTED = 11,
1: + } state;
1: + u8 bssid[6];
1: + u8 prev_bssid[6];
1: + const u8 *ie;
1: + size_t ie_len;
1: + bool auto_auth;
1: + bool prev_bssid_valid;
1: +};
1: +
1: +enum cfg80211_chan_mode {
1: + CHAN_MODE_UNDEFINED = 0,
1: + CHAN_MODE_SHARED = 1,
1: + CHAN_MODE_EXCLUSIVE = 2,
1: +};
1: +
1: +struct trace_event_raw_rdev_suspend {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool any;
1: + bool disconnect;
1: + bool magic_pkt;
1: + bool gtk_rekey_failure;
1: + bool eap_identity_req;
1: + bool four_way_handshake;
1: + bool rfkill_release;
1: + bool valid_wow;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_int {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_scan {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wiphy_only_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wiphy_enabled_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool enabled;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_add_virtual_intf {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 __data_loc_vir_intf_name;
1: + enum nl80211_iftype type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wiphy_wdev_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wiphy_wdev_cookie_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_change_virtual_intf {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_iftype type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_key_handle {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 mac_addr[6];
1: + u8 key_index;
1: + bool pairwise;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_add_key {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 mac_addr[6];
1: + u8 key_index;
1: + bool pairwise;
1: + u8 mode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_default_key {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 key_index;
1: + bool unicast;
1: + bool multicast;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_default_mgmt_key {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 key_index;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_start_ap {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + int beacon_interval;
1: + int dtim_period;
1: + char ssid[33];
1: + enum nl80211_hidden_ssid hidden_ssid;
1: + u32 wpa_ver;
1: + bool privacy;
1: + enum nl80211_auth_type auth_type;
1: + int inactivity_timeout;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_change_beacon {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 __data_loc_head;
1: + u32 __data_loc_tail;
1: + u32 __data_loc_beacon_ies;
1: + u32 __data_loc_proberesp_ies;
1: + u32 __data_loc_assocresp_ies;
1: + u32 __data_loc_probe_resp;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wiphy_netdev_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_station_add_change {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 sta_mac[6];
1: + u32 sta_flags_mask;
1: + u32 sta_flags_set;
1: + u32 sta_modify_mask;
1: + int listen_interval;
1: + u16 capability;
1: + u16 aid;
1: + u8 plink_action;
1: + u8 plink_state;
1: + u8 uapsd_queues;
1: + u8 max_sp;
1: + u8 opmode_notif;
1: + bool opmode_notif_used;
1: + u8 ht_capa[26];
1: + u8 vht_capa[12];
1: + char vlan[16];
1: + u32 __data_loc_supported_rates;
1: + u32 __data_loc_ext_capab;
1: + u32 __data_loc_supported_channels;
1: + u32 __data_loc_supported_oper_classes;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wiphy_netdev_mac_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 sta_mac[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_station_del {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 sta_mac[6];
1: + u8 subtype;
1: + u16 reason_code;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_dump_station {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 sta_mac[6];
1: + int idx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_int_station_info {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + int generation;
1: + u32 connected_time;
1: + u32 inactive_time;
1: + u32 rx_bytes;
1: + u32 tx_bytes;
1: + u32 rx_packets;
1: + u32 tx_packets;
1: + u32 tx_retries;
1: + u32 tx_failed;
1: + u32 rx_dropped_misc;
1: + u32 beacon_loss_count;
1: + u16 llid;
1: + u16 plid;
1: + u8 plink_state;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_mpath_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dst[6];
1: + u8 next_hop[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_dump_mpath {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dst[6];
1: + u8 next_hop[6];
1: + int idx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_get_mpp {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dst[6];
1: + u8 mpp[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_dump_mpp {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dst[6];
1: + u8 mpp[6];
1: + int idx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_int_mpath_info {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + int generation;
1: + u32 filled;
1: + u32 frame_qlen;
1: + u32 sn;
1: + u32 metric;
1: + u32 exptime;
1: + u32 discovery_timeout;
1: + u8 discovery_retries;
1: + u8 flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_int_mesh_config {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u16 dot11MeshRetryTimeout;
1: + u16 dot11MeshConfirmTimeout;
1: + u16 dot11MeshHoldingTimeout;
1: + u16 dot11MeshMaxPeerLinks;
1: + u8 dot11MeshMaxRetries;
1: + u8 dot11MeshTTL;
1: + u8 element_ttl;
1: + bool auto_open_plinks;
1: + u32 dot11MeshNbrOffsetMaxNeighbor;
1: + u8 dot11MeshHWMPmaxPREQretries;
1: + u32 path_refresh_time;
1: + u32 dot11MeshHWMPactivePathTimeout;
1: + u16 min_discovery_timeout;
1: + u16 dot11MeshHWMPpreqMinInterval;
1: + u16 dot11MeshHWMPperrMinInterval;
1: + u16 dot11MeshHWMPnetDiameterTraversalTime;
1: + u8 dot11MeshHWMPRootMode;
1: + u16 dot11MeshHWMPRannInterval;
1: + bool dot11MeshGateAnnouncementProtocol;
1: + bool dot11MeshForwarding;
1: + s32 rssi_threshold;
1: + u16 ht_opmode;
1: + u32 dot11MeshHWMPactivePathToRootTimeout;
1: + u16 dot11MeshHWMProotInterval;
1: + u16 dot11MeshHWMPconfirmationInterval;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_update_mesh_config {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 dot11MeshRetryTimeout;
1: + u16 dot11MeshConfirmTimeout;
1: + u16 dot11MeshHoldingTimeout;
1: + u16 dot11MeshMaxPeerLinks;
1: + u8 dot11MeshMaxRetries;
1: + u8 dot11MeshTTL;
1: + u8 element_ttl;
1: + bool auto_open_plinks;
1: + u32 dot11MeshNbrOffsetMaxNeighbor;
1: + u8 dot11MeshHWMPmaxPREQretries;
1: + u32 path_refresh_time;
1: + u32 dot11MeshHWMPactivePathTimeout;
1: + u16 min_discovery_timeout;
1: + u16 dot11MeshHWMPpreqMinInterval;
1: + u16 dot11MeshHWMPperrMinInterval;
1: + u16 dot11MeshHWMPnetDiameterTraversalTime;
1: + u8 dot11MeshHWMPRootMode;
1: + u16 dot11MeshHWMPRannInterval;
1: + bool dot11MeshGateAnnouncementProtocol;
1: + bool dot11MeshForwarding;
1: + s32 rssi_threshold;
1: + u16 ht_opmode;
1: + u32 dot11MeshHWMPactivePathToRootTimeout;
1: + u16 dot11MeshHWMProotInterval;
1: + u16 dot11MeshHWMPconfirmationInterval;
1: + u32 mask;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_join_mesh {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 dot11MeshRetryTimeout;
1: + u16 dot11MeshConfirmTimeout;
1: + u16 dot11MeshHoldingTimeout;
1: + u16 dot11MeshMaxPeerLinks;
1: + u8 dot11MeshMaxRetries;
1: + u8 dot11MeshTTL;
1: + u8 element_ttl;
1: + bool auto_open_plinks;
1: + u32 dot11MeshNbrOffsetMaxNeighbor;
1: + u8 dot11MeshHWMPmaxPREQretries;
1: + u32 path_refresh_time;
1: + u32 dot11MeshHWMPactivePathTimeout;
1: + u16 min_discovery_timeout;
1: + u16 dot11MeshHWMPpreqMinInterval;
1: + u16 dot11MeshHWMPperrMinInterval;
1: + u16 dot11MeshHWMPnetDiameterTraversalTime;
1: + u8 dot11MeshHWMPRootMode;
1: + u16 dot11MeshHWMPRannInterval;
1: + bool dot11MeshGateAnnouncementProtocol;
1: + bool dot11MeshForwarding;
1: + s32 rssi_threshold;
1: + u16 ht_opmode;
1: + u32 dot11MeshHWMPactivePathToRootTimeout;
1: + u16 dot11MeshHWMProotInterval;
1: + u16 dot11MeshHWMPconfirmationInterval;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_change_bss {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + int use_cts_prot;
1: + int use_short_preamble;
1: + int use_short_slot_time;
1: + int ap_isolate;
1: + int ht_opmode;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_txq_params {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_ac ac;
1: + u16 txop;
1: + u16 cwmin;
1: + u16 cwmax;
1: + u8 aifs;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_libertas_set_mesh_channel {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_monitor_channel {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_auth {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + enum nl80211_auth_type auth_type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_assoc {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + u8 prev_bssid[6];
1: + bool use_mfp;
1: + u32 flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_deauth {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + u16 reason_code;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_disassoc {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + u16 reason_code;
1: + bool local_state_change;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_mgmt_tx_cancel_wait {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_power_mgmt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + bool enabled;
1: + int timeout;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_connect {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + char ssid[33];
1: + enum nl80211_auth_type auth_type;
1: + bool privacy;
1: + u32 wpa_versions;
1: + u32 flags;
1: + u8 prev_bssid[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_update_connect_params {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 changed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_cqm_rssi_config {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + s32 rssi_thold;
1: + u32 rssi_hyst;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_cqm_rssi_range_config {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + s32 rssi_low;
1: + s32 rssi_high;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_cqm_txe_config {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 rate;
1: + u32 pkts;
1: + u32 intvl;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_disconnect {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 reason_code;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_join_ibss {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + char ssid[33];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_join_ocb {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_wiphy_params {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 changed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_tx_power {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + enum nl80211_tx_power_setting type;
1: + int mbm;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_int_int {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int func_ret;
1: + int func_fill;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_bitrate_mask {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_mgmt_frame_register {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u16 frame_type;
1: + bool reg;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_int_tx_rx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + u32 tx;
1: + u32 rx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_void_tx_rx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx;
1: + u32 tx_max;
1: + u32 rx;
1: + u32 rx_max;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_tx_rx_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx;
1: + u32 rx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wiphy_netdev_id_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u64 id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_tdls_mgmt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u8 action_code;
1: + u8 dialog_token;
1: + u16 status_code;
1: + u32 peer_capability;
1: + bool initiator;
1: + u32 __data_loc_buf;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_dump_survey {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + int idx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_int_survey_info {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + int ret;
1: + u64 time;
1: + u64 time_busy;
1: + u64 time_ext_busy;
1: + u64 time_rx;
1: + u64 time_tx;
1: + u64 time_scan;
1: + u32 filled;
1: + s8 noise;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_tdls_oper {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + enum nl80211_tdls_operation oper;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_pmksa {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_probe_client {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_remain_on_channel {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + unsigned int duration;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_int_cookie {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + u64 cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_cancel_remain_on_channel {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_mgmt_tx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + bool offchan;
1: + unsigned int wait;
1: + bool no_cck;
1: + bool dont_wait_for_ack;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_tx_control_port {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dest[6];
1: + __be16 proto;
1: + bool unencrypted;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_noack_map {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 noack_map;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_return_chandef {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_start_nan {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u8 master_pref;
1: + u8 bands;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_nan_change_conf {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u8 master_pref;
1: + u8 bands;
1: + u32 changes;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_add_nan_func {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u8 func_type;
1: + u64 cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_del_nan_func {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_mac_acl {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 acl_policy;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_update_ft_ies {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 md;
1: + u32 __data_loc_ie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_crit_proto_start {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u16 proto;
1: + u16 duration;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_crit_proto_stop {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_channel_switch {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + bool radar_required;
1: + bool block_tx;
1: + u8 count;
1: + u32 __data_loc_bcn_ofs;
1: + u32 __data_loc_pres_ofs;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_qos_map {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 num_des;
1: + u8 dscp_exception[42];
1: + u8 up[16];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_ap_chanwidth {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_add_tx_ts {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u8 tsid;
1: + u8 user_prio;
1: + u16 admitted_time;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_del_tx_ts {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u8 tsid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_tdls_channel_switch {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + u8 oper_class;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_tdls_cancel_channel_switch {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_pmk {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 aa[6];
1: + u8 pmk_len;
1: + u8 pmk_r0_name_len;
1: + u32 __data_loc_pmk;
1: + u32 __data_loc_pmk_r0_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_del_pmk {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 aa[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_external_auth {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + u8 ssid[33];
1: + u16 status;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_start_radar_detection {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 cac_time_ms;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_mcast_rate {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + int mcast_rate[4];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_coalesce {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int n_rules;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_set_multicast_to_unicast {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + bool enabled;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_get_ftm_responder_stats {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u64 timestamp;
1: + u32 success_num;
1: + u32 partial_num;
1: + u32 failed_num;
1: + u32 asap_num;
1: + u32 non_asap_num;
1: + u64 duration;
1: + u32 unknown_triggers;
1: + u32 reschedule;
1: + u32 out_of_window;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_return_bool {
1: + struct trace_entry ent;
1: + bool ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_netdev_mac_evt {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 macaddr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_netdev_evt_only {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_send_rx_assoc {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_netdev_frame_event {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u32 __data_loc_frame;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_tx_mlme_mgmt {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u32 __data_loc_frame;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_netdev_mac_evt {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 mac[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_michael_mic_failure {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + enum nl80211_key_type key_type;
1: + int key_id;
1: + u8 tsc[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_ready_on_channel {
1: + struct trace_entry ent;
1: + u32 id;
1: + u64 cookie;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + unsigned int duration;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_ready_on_channel_expired {
1: + struct trace_entry ent;
1: + u32 id;
1: + u64 cookie;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_tx_mgmt_expired {
1: + struct trace_entry ent;
1: + u32 id;
1: + u64 cookie;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_new_sta {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 mac_addr[6];
1: + int generation;
1: + u32 connected_time;
1: + u32 inactive_time;
1: + u32 rx_bytes;
1: + u32 tx_bytes;
1: + u32 rx_packets;
1: + u32 tx_packets;
1: + u32 tx_retries;
1: + u32 tx_failed;
1: + u32 rx_dropped_misc;
1: + u32 beacon_loss_count;
1: + u16 llid;
1: + u16 plid;
1: + u8 plink_state;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_rx_mgmt {
1: + struct trace_entry ent;
1: + u32 id;
1: + int freq;
1: + int sig_dbm;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_mgmt_tx_status {
1: + struct trace_entry ent;
1: + u32 id;
1: + u64 cookie;
1: + bool ack;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_rx_control_port {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + int len;
1: + u8 from[6];
1: + u16 proto;
1: + bool unencrypted;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_cqm_rssi_notify {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_cqm_rssi_threshold_event rssi_event;
1: + s32 rssi_level;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_reg_can_beacon {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + enum nl80211_iftype iftype;
1: + bool check_no_ir;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_chandef_dfs_required {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_ch_switch_notify {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_ch_switch_started_notify {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_radar_event {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_cac_event {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_radar_event evt;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_rx_evt {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_ibss_joined {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_probe_status {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + u64 cookie;
1: + bool acked;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_cqm_pktloss_notify {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u32 num_packets;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_pmksa_candidate_notify {
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + int index;
1: + u8 bssid[6];
1: + bool preauth;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_report_obss_beacon {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int freq;
1: + int sig_dbm;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_tdls_oper_request {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + enum nl80211_tdls_operation oper;
1: + u16 reason_code;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_scan_done {
1: + struct trace_entry ent;
1: + u32 n_channels;
1: + u32 __data_loc_ie;
1: + u32 rates[4];
1: + u32 wdev_id;
1: + u8 wiphy_mac[6];
1: + bool no_cck;
1: + bool aborted;
1: + u64 scan_start_tsf;
1: + u8 tsf_bssid[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wiphy_id_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u64 id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_get_bss {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + u8 bssid[6];
1: + u32 __data_loc_ssid;
1: + enum ieee80211_bss_type bss_type;
1: + enum ieee80211_privacy privacy;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_inform_bss_frame {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + enum nl80211_bss_scan_width scan_width;
1: + u32 __data_loc_mgmt;
1: + s32 signal;
1: + u64 ts_boottime;
1: + u64 parent_tsf;
1: + u8 parent_bssid[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_bss_evt {
1: + struct trace_entry ent;
1: + u8 bssid[6];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_return_uint {
1: + struct trace_entry ent;
1: + unsigned int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_return_u32 {
1: + struct trace_entry ent;
1: + u32 ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_report_wowlan_wakeup {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + bool non_wireless;
1: + bool disconnect;
1: + bool magic_pkt;
1: + bool gtk_rekey_failure;
1: + bool eap_identity_req;
1: + bool four_way_handshake;
1: + bool rfkill_release;
1: + s32 pattern_idx;
1: + u32 packet_len;
1: + u32 __data_loc_packet;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_ft_event {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 __data_loc_ies;
1: + u8 target_ap[6];
1: + u32 __data_loc_ric_ies;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_stop_iface {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_pmsr_report {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + u8 addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_pmsr_complete {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_update_owe_info {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u16 status;
1: + u32 __data_loc_ie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_cfg80211_update_owe_info_event {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u32 __data_loc_ie;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_rdev_probe_mesh_link {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dest[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_rdev_suspend {};
1: +
1: +struct trace_event_data_offsets_rdev_return_int {};
1: +
1: +struct trace_event_data_offsets_rdev_scan {};
1: +
1: +struct trace_event_data_offsets_wiphy_only_evt {};
1: +
1: +struct trace_event_data_offsets_wiphy_enabled_evt {};
1: +
1: +struct trace_event_data_offsets_rdev_add_virtual_intf {
1: + u32 vir_intf_name;
1: +};
1: +
1: +struct trace_event_data_offsets_wiphy_wdev_evt {};
1: +
1: +struct trace_event_data_offsets_wiphy_wdev_cookie_evt {};
1: +
1: +struct trace_event_data_offsets_rdev_change_virtual_intf {};
1: +
1: +struct trace_event_data_offsets_key_handle {};
1: +
1: +struct trace_event_data_offsets_rdev_add_key {};
1: +
1: +struct trace_event_data_offsets_rdev_set_default_key {};
1: +
1: +struct trace_event_data_offsets_rdev_set_default_mgmt_key {};
1: +
1: +struct trace_event_data_offsets_rdev_start_ap {};
1: +
1: +struct trace_event_data_offsets_rdev_change_beacon {
1: + u32 head;
1: + u32 tail;
1: + u32 beacon_ies;
1: + u32 proberesp_ies;
1: + u32 assocresp_ies;
1: + u32 probe_resp;
1: +};
1: +
1: +struct trace_event_data_offsets_wiphy_netdev_evt {};
1: +
1: +struct trace_event_data_offsets_station_add_change {
1: + u32 supported_rates;
1: + u32 ext_capab;
1: + u32 supported_channels;
1: + u32 supported_oper_classes;
1: +};
1: +
1: +struct trace_event_data_offsets_wiphy_netdev_mac_evt {};
1: +
1: +struct trace_event_data_offsets_station_del {};
1: +
1: +struct trace_event_data_offsets_rdev_dump_station {};
1: +
1: +struct trace_event_data_offsets_rdev_return_int_station_info {};
1: +
1: +struct trace_event_data_offsets_mpath_evt {};
1: +
1: +struct trace_event_data_offsets_rdev_dump_mpath {};
1: +
1: +struct trace_event_data_offsets_rdev_get_mpp {};
1: +
1: +struct trace_event_data_offsets_rdev_dump_mpp {};
1: +
1: +struct trace_event_data_offsets_rdev_return_int_mpath_info {};
1: +
1: +struct trace_event_data_offsets_rdev_return_int_mesh_config {};
1: +
1: +struct trace_event_data_offsets_rdev_update_mesh_config {};
1: +
1: +struct trace_event_data_offsets_rdev_join_mesh {};
1: +
1: +struct trace_event_data_offsets_rdev_change_bss {};
1: +
1: +struct trace_event_data_offsets_rdev_set_txq_params {};
1: +
1: +struct trace_event_data_offsets_rdev_libertas_set_mesh_channel {};
1: +
1: +struct trace_event_data_offsets_rdev_set_monitor_channel {};
1: +
1: +struct trace_event_data_offsets_rdev_auth {};
1: +
1: +struct trace_event_data_offsets_rdev_assoc {};
1: +
1: +struct trace_event_data_offsets_rdev_deauth {};
1: +
1: +struct trace_event_data_offsets_rdev_disassoc {};
1: +
1: +struct trace_event_data_offsets_rdev_mgmt_tx_cancel_wait {};
1: +
1: +struct trace_event_data_offsets_rdev_set_power_mgmt {};
1: +
1: +struct trace_event_data_offsets_rdev_connect {};
1: +
1: +struct trace_event_data_offsets_rdev_update_connect_params {};
1: +
1: +struct trace_event_data_offsets_rdev_set_cqm_rssi_config {};
1: +
1: +struct trace_event_data_offsets_rdev_set_cqm_rssi_range_config {};
1: +
1: +struct trace_event_data_offsets_rdev_set_cqm_txe_config {};
1: +
1: +struct trace_event_data_offsets_rdev_disconnect {};
1: +
1: +struct trace_event_data_offsets_rdev_join_ibss {};
1: +
1: +struct trace_event_data_offsets_rdev_join_ocb {};
1: +
1: +struct trace_event_data_offsets_rdev_set_wiphy_params {};
1: +
1: +struct trace_event_data_offsets_rdev_set_tx_power {};
1: +
1: +struct trace_event_data_offsets_rdev_return_int_int {};
1: +
1: +struct trace_event_data_offsets_rdev_set_bitrate_mask {};
1: +
1: +struct trace_event_data_offsets_rdev_mgmt_frame_register {};
1: +
1: +struct trace_event_data_offsets_rdev_return_int_tx_rx {};
1: +
1: +struct trace_event_data_offsets_rdev_return_void_tx_rx {};
1: +
1: +struct trace_event_data_offsets_tx_rx_evt {};
1: +
1: +struct trace_event_data_offsets_wiphy_netdev_id_evt {};
1: +
1: +struct trace_event_data_offsets_rdev_tdls_mgmt {
1: + u32 buf;
1: +};
1: +
1: +struct trace_event_data_offsets_rdev_dump_survey {};
1: +
1: +struct trace_event_data_offsets_rdev_return_int_survey_info {};
1: +
1: +struct trace_event_data_offsets_rdev_tdls_oper {};
1: +
1: +struct trace_event_data_offsets_rdev_pmksa {};
1: +
1: +struct trace_event_data_offsets_rdev_probe_client {};
1: +
1: +struct trace_event_data_offsets_rdev_remain_on_channel {};
1: +
1: +struct trace_event_data_offsets_rdev_return_int_cookie {};
1: +
1: +struct trace_event_data_offsets_rdev_cancel_remain_on_channel {};
1: +
1: +struct trace_event_data_offsets_rdev_mgmt_tx {};
1: +
1: +struct trace_event_data_offsets_rdev_tx_control_port {};
1: +
1: +struct trace_event_data_offsets_rdev_set_noack_map {};
1: +
1: +struct trace_event_data_offsets_rdev_return_chandef {};
1: +
1: +struct trace_event_data_offsets_rdev_start_nan {};
1: +
1: +struct trace_event_data_offsets_rdev_nan_change_conf {};
1: +
1: +struct trace_event_data_offsets_rdev_add_nan_func {};
1: +
1: +struct trace_event_data_offsets_rdev_del_nan_func {};
1: +
1: +struct trace_event_data_offsets_rdev_set_mac_acl {};
1: +
1: +struct trace_event_data_offsets_rdev_update_ft_ies {
1: + u32 ie;
1: +};
1: +
1: +struct trace_event_data_offsets_rdev_crit_proto_start {};
1: +
1: +struct trace_event_data_offsets_rdev_crit_proto_stop {};
1: +
1: +struct trace_event_data_offsets_rdev_channel_switch {
1: + u32 bcn_ofs;
1: + u32 pres_ofs;
1: +};
1: +
1: +struct trace_event_data_offsets_rdev_set_qos_map {};
1: +
1: +struct trace_event_data_offsets_rdev_set_ap_chanwidth {};
1: +
1: +struct trace_event_data_offsets_rdev_add_tx_ts {};
1: +
1: +struct trace_event_data_offsets_rdev_del_tx_ts {};
1: +
1: +struct trace_event_data_offsets_rdev_tdls_channel_switch {};
1: +
1: +struct trace_event_data_offsets_rdev_tdls_cancel_channel_switch {};
1: +
1: +struct trace_event_data_offsets_rdev_set_pmk {
1: + u32 pmk;
1: + u32 pmk_r0_name;
1: +};
1: +
1: +struct trace_event_data_offsets_rdev_del_pmk {};
1: +
1: +struct trace_event_data_offsets_rdev_external_auth {};
1: +
1: +struct trace_event_data_offsets_rdev_start_radar_detection {};
1: +
1: +struct trace_event_data_offsets_rdev_set_mcast_rate {};
1: +
1: +struct trace_event_data_offsets_rdev_set_coalesce {};
1: +
1: +struct trace_event_data_offsets_rdev_set_multicast_to_unicast {};
1: +
1: +struct trace_event_data_offsets_rdev_get_ftm_responder_stats {};
1: +
1: +struct trace_event_data_offsets_cfg80211_return_bool {};
1: +
1: +struct trace_event_data_offsets_cfg80211_netdev_mac_evt {};
1: +
1: +struct trace_event_data_offsets_netdev_evt_only {};
1: +
1: +struct trace_event_data_offsets_cfg80211_send_rx_assoc {};
1: +
1: +struct trace_event_data_offsets_netdev_frame_event {
1: + u32 frame;
1: +};
1: +
1: +struct trace_event_data_offsets_cfg80211_tx_mlme_mgmt {
1: + u32 frame;
1: +};
1: +
1: +struct trace_event_data_offsets_netdev_mac_evt {};
1: +
1: +struct trace_event_data_offsets_cfg80211_michael_mic_failure {};
1: +
1: +struct trace_event_data_offsets_cfg80211_ready_on_channel {};
1: +
1: +struct trace_event_data_offsets_cfg80211_ready_on_channel_expired {};
1: +
1: +struct trace_event_data_offsets_cfg80211_tx_mgmt_expired {};
1: +
1: +struct trace_event_data_offsets_cfg80211_new_sta {};
1: +
1: +struct trace_event_data_offsets_cfg80211_rx_mgmt {};
1: +
1: +struct trace_event_data_offsets_cfg80211_mgmt_tx_status {};
1: +
1: +struct trace_event_data_offsets_cfg80211_rx_control_port {};
1: +
1: +struct trace_event_data_offsets_cfg80211_cqm_rssi_notify {};
1: +
1: +struct trace_event_data_offsets_cfg80211_reg_can_beacon {};
1: +
1: +struct trace_event_data_offsets_cfg80211_chandef_dfs_required {};
1: +
1: +struct trace_event_data_offsets_cfg80211_ch_switch_notify {};
1: +
1: +struct trace_event_data_offsets_cfg80211_ch_switch_started_notify {};
1: +
1: +struct trace_event_data_offsets_cfg80211_radar_event {};
1: +
1: +struct trace_event_data_offsets_cfg80211_cac_event {};
1: +
1: +struct trace_event_data_offsets_cfg80211_rx_evt {};
1: +
1: +struct trace_event_data_offsets_cfg80211_ibss_joined {};
1: +
1: +struct trace_event_data_offsets_cfg80211_probe_status {};
1: +
1: +struct trace_event_data_offsets_cfg80211_cqm_pktloss_notify {};
1: +
1: +struct trace_event_data_offsets_cfg80211_pmksa_candidate_notify {};
1: +
1: +struct trace_event_data_offsets_cfg80211_report_obss_beacon {};
1: +
1: +struct trace_event_data_offsets_cfg80211_tdls_oper_request {};
1: +
1: +struct trace_event_data_offsets_cfg80211_scan_done {
1: + u32 ie;
1: +};
1: +
1: +struct trace_event_data_offsets_wiphy_id_evt {};
1: +
1: +struct trace_event_data_offsets_cfg80211_get_bss {
1: + u32 ssid;
1: +};
1: +
1: +struct trace_event_data_offsets_cfg80211_inform_bss_frame {
1: + u32 mgmt;
1: +};
1: +
1: +struct trace_event_data_offsets_cfg80211_bss_evt {};
1: +
1: +struct trace_event_data_offsets_cfg80211_return_uint {};
1: +
1: +struct trace_event_data_offsets_cfg80211_return_u32 {};
1: +
1: +struct trace_event_data_offsets_cfg80211_report_wowlan_wakeup {
1: + u32 packet;
1: +};
1: +
1: +struct trace_event_data_offsets_cfg80211_ft_event {
1: + u32 ies;
1: + u32 ric_ies;
1: +};
1: +
1: +struct trace_event_data_offsets_cfg80211_stop_iface {};
1: +
1: +struct trace_event_data_offsets_cfg80211_pmsr_report {};
1: +
1: +struct trace_event_data_offsets_cfg80211_pmsr_complete {};
1: +
1: +struct trace_event_data_offsets_rdev_update_owe_info {
1: + u32 ie;
1: +};
1: +
1: +struct trace_event_data_offsets_cfg80211_update_owe_info_event {
1: + u32 ie;
1: +};
1: +
1: +struct trace_event_data_offsets_rdev_probe_mesh_link {};
1: +
1: +typedef int (*sk_read_actor_t___2)(read_descriptor_t *, struct sk_buff___2 *, unsigned int, size_t);
1: +
1: +enum nl80211_peer_measurement_status {
1: + NL80211_PMSR_STATUS_SUCCESS = 0,
1: + NL80211_PMSR_STATUS_REFUSED = 1,
1: + NL80211_PMSR_STATUS_TIMEOUT = 2,
1: + NL80211_PMSR_STATUS_FAILURE = 3,
1: +};
1: +
1: +enum nl80211_peer_measurement_resp {
1: + __NL80211_PMSR_RESP_ATTR_INVALID = 0,
1: + NL80211_PMSR_RESP_ATTR_DATA = 1,
1: + NL80211_PMSR_RESP_ATTR_STATUS = 2,
1: + NL80211_PMSR_RESP_ATTR_HOST_TIME = 3,
1: + NL80211_PMSR_RESP_ATTR_AP_TSF = 4,
1: + NL80211_PMSR_RESP_ATTR_FINAL = 5,
1: + NL80211_PMSR_RESP_ATTR_PAD = 6,
1: + NUM_NL80211_PMSR_RESP_ATTRS = 7,
1: + NL80211_PMSR_RESP_ATTR_MAX = 6,
1: +};
1: +
1: +enum nl80211_peer_measurement_ftm_failure_reasons {
1: + NL80211_PMSR_FTM_FAILURE_UNSPECIFIED = 0,
1: + NL80211_PMSR_FTM_FAILURE_NO_RESPONSE = 1,
1: + NL80211_PMSR_FTM_FAILURE_REJECTED = 2,
1: + NL80211_PMSR_FTM_FAILURE_WRONG_CHANNEL = 3,
1: + NL80211_PMSR_FTM_FAILURE_PEER_NOT_CAPABLE = 4,
1: + NL80211_PMSR_FTM_FAILURE_INVALID_TIMESTAMP = 5,
1: + NL80211_PMSR_FTM_FAILURE_PEER_BUSY = 6,
1: + NL80211_PMSR_FTM_FAILURE_BAD_CHANGED_PARAMS = 7,
1: +};
1: +
1: +enum nl80211_peer_measurement_ftm_resp {
1: + __NL80211_PMSR_FTM_RESP_ATTR_INVALID = 0,
1: + NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON = 1,
1: + NL80211_PMSR_FTM_RESP_ATTR_BURST_INDEX = 2,
1: + NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS = 3,
1: + NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES = 4,
1: + NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME = 5,
1: + NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP = 6,
1: + NL80211_PMSR_FTM_RESP_ATTR_BURST_DURATION = 7,
1: + NL80211_PMSR_FTM_RESP_ATTR_FTMS_PER_BURST = 8,
1: + NL80211_PMSR_FTM_RESP_ATTR_RSSI_AVG = 9,
1: + NL80211_PMSR_FTM_RESP_ATTR_RSSI_SPREAD = 10,
1: + NL80211_PMSR_FTM_RESP_ATTR_TX_RATE = 11,
1: + NL80211_PMSR_FTM_RESP_ATTR_RX_RATE = 12,
1: + NL80211_PMSR_FTM_RESP_ATTR_RTT_AVG = 13,
1: + NL80211_PMSR_FTM_RESP_ATTR_RTT_VARIANCE = 14,
1: + NL80211_PMSR_FTM_RESP_ATTR_RTT_SPREAD = 15,
1: + NL80211_PMSR_FTM_RESP_ATTR_DIST_AVG = 16,
1: + NL80211_PMSR_FTM_RESP_ATTR_DIST_VARIANCE = 17,
1: + NL80211_PMSR_FTM_RESP_ATTR_DIST_SPREAD = 18,
1: + NL80211_PMSR_FTM_RESP_ATTR_LCI = 19,
1: + NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC = 20,
1: + NL80211_PMSR_FTM_RESP_ATTR_PAD = 21,
1: + NUM_NL80211_PMSR_FTM_RESP_ATTR = 22,
1: + NL80211_PMSR_FTM_RESP_ATTR_MAX = 21,
1: +};
1: +
1: +struct cfg80211_pmsr_ftm_result {
1: + const u8 *lci;
1: + const u8 *civicloc;
1: + unsigned int lci_len;
1: + unsigned int civicloc_len;
1: + enum nl80211_peer_measurement_ftm_failure_reasons failure_reason;
1: + u32 num_ftmr_attempts;
1: + u32 num_ftmr_successes;
1: + s16 burst_index;
1: + u8 busy_retry_time;
1: + u8 num_bursts_exp;
1: + u8 burst_duration;
1: + u8 ftms_per_burst;
1: + s32 rssi_avg;
1: + s32 rssi_spread;
1: + struct rate_info tx_rate;
1: + struct rate_info rx_rate;
1: + s64 rtt_avg;
1: + s64 rtt_variance;
1: + s64 rtt_spread;
1: + s64 dist_avg;
1: + s64 dist_variance;
1: + s64 dist_spread;
1: + u16 num_ftmr_attempts_valid: 1;
1: + u16 num_ftmr_successes_valid: 1;
1: + u16 rssi_avg_valid: 1;
1: + u16 rssi_spread_valid: 1;
1: + u16 tx_rate_valid: 1;
1: + u16 rx_rate_valid: 1;
1: + u16 rtt_avg_valid: 1;
1: + u16 rtt_variance_valid: 1;
1: + u16 rtt_spread_valid: 1;
1: + u16 dist_avg_valid: 1;
1: + u16 dist_variance_valid: 1;
1: + u16 dist_spread_valid: 1;
1: +};
1: +
1: +struct cfg80211_pmsr_result {
1: + u64 host_time;
1: + u64 ap_tsf;
1: + enum nl80211_peer_measurement_status status;
1: + u8 addr[6];
1: + u8 final: 1;
1: + u8 ap_tsf_valid: 1;
1: + enum nl80211_peer_measurement_type type;
1: + union {
1: + struct cfg80211_pmsr_ftm_result ftm;
1: + };
1: +};
1: +
1: +struct ieee80211_channel_sw_ie {
1: + u8 mode;
1: + u8 new_ch_num;
1: + u8 count;
1: +};
1: +
1: +struct ieee80211_sec_chan_offs_ie {
1: + u8 sec_chan_offs;
1: +};
1: +
1: +struct ieee80211_mesh_chansw_params_ie {
1: + u8 mesh_ttl;
1: + u8 mesh_flags;
1: + __le16 mesh_reason;
1: + __le16 mesh_pre_value;
1: +};
1: +
1: +struct ieee80211_wide_bw_chansw_ie {
1: + u8 new_channel_width;
1: + u8 new_center_freq_seg0;
1: + u8 new_center_freq_seg1;
1: +};
1: +
1: +struct ieee80211_tim_ie {
1: + u8 dtim_count;
1: + u8 dtim_period;
1: + u8 bitmap_ctrl;
1: + u8 virtual_map[1];
1: +};
1: +
1: +struct ieee80211_meshconf_ie {
1: + u8 meshconf_psel;
1: + u8 meshconf_pmetric;
1: + u8 meshconf_congest;
1: + u8 meshconf_synch;
1: + u8 meshconf_auth;
1: + u8 meshconf_form;
1: + u8 meshconf_cap;
1: +};
1: +
1: +struct ieee80211_rann_ie {
1: + u8 rann_flags;
1: + u8 rann_hopcount;
1: + u8 rann_ttl;
1: + u8 rann_addr[6];
1: + __le32 rann_seq;
1: + __le32 rann_interval;
1: + __le32 rann_metric;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_addba_ext_ie {
1: + u8 data;
1: +};
1: +
1: +struct ieee80211_ch_switch_timing {
1: + __le16 switch_time;
1: + __le16 switch_timeout;
1: +};
1: +
1: +struct ieee80211_tdls_lnkie {
1: + u8 ie_type;
1: + u8 ie_len;
1: + u8 bssid[6];
1: + u8 init_sta[6];
1: + u8 resp_sta[6];
1: +};
1: +
1: +struct ieee80211_p2p_noa_desc {
1: + u8 count;
1: + __le32 duration;
1: + __le32 interval;
1: + __le32 start_time;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_p2p_noa_attr {
1: + u8 index;
1: + u8 oppps_ctwindow;
1: + struct ieee80211_p2p_noa_desc desc[4];
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_vht_operation {
1: + u8 chan_width;
1: + u8 center_freq_seg0_idx;
1: + u8 center_freq_seg1_idx;
1: + __le16 basic_mcs_set;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_he_operation {
1: + __le32 he_oper_params;
1: + __le16 he_mcs_nss_set;
1: + u8 optional[0];
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_he_spr {
1: + u8 he_sr_control;
1: + u8 optional[0];
1: +};
1: +
1: +struct ieee80211_he_mu_edca_param_ac_rec {
1: + u8 aifsn;
1: + u8 ecw_min_max;
1: + u8 mu_edca_timer;
1: +};
1: +
1: +struct ieee80211_mu_edca_param_set {
1: + u8 mu_qos_info;
1: + struct ieee80211_he_mu_edca_param_ac_rec ac_be;
1: + struct ieee80211_he_mu_edca_param_ac_rec ac_bk;
1: + struct ieee80211_he_mu_edca_param_ac_rec ac_vi;
1: + struct ieee80211_he_mu_edca_param_ac_rec ac_vo;
1: +};
1: +
1: +struct ieee80211_timeout_interval_ie {
1: + u8 type;
1: + __le32 value;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_bss_max_idle_period_ie {
1: + __le16 max_idle_period;
1: + u8 idle_options;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_bssid_index {
1: + u8 bssid_index;
1: + u8 dtim_period;
1: + u8 dtim_count;
1: +};
1: +
1: +struct ieee80211_multiple_bssid_configuration {
1: + u8 bssid_count;
1: + u8 profile_periodicity;
1: +};
1: +
1: +typedef u32 codel_time_t;
1: +
1: +struct codel_params {
1: + codel_time_t target;
1: + codel_time_t ce_threshold;
1: + codel_time_t interval;
1: + u32 mtu;
1: + bool ecn;
1: +};
1: +
1: +struct codel_vars {
1: + u32 count;
1: + u32 lastcount;
1: + bool dropping;
1: + u16 rec_inv_sqrt;
1: + codel_time_t first_above_time;
1: + codel_time_t drop_next;
1: + codel_time_t ldelay;
1: +};
1: +
1: +enum ieee80211_radiotap_mcs_have {
1: + IEEE80211_RADIOTAP_MCS_HAVE_BW = 1,
1: + IEEE80211_RADIOTAP_MCS_HAVE_MCS = 2,
1: + IEEE80211_RADIOTAP_MCS_HAVE_GI = 4,
1: + IEEE80211_RADIOTAP_MCS_HAVE_FMT = 8,
1: + IEEE80211_RADIOTAP_MCS_HAVE_FEC = 16,
1: + IEEE80211_RADIOTAP_MCS_HAVE_STBC = 32,
1: +};
1: +
1: +enum ieee80211_radiotap_vht_known {
1: + IEEE80211_RADIOTAP_VHT_KNOWN_STBC = 1,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_TXOP_PS_NA = 2,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_GI = 4,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_SGI_NSYM_DIS = 8,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_LDPC_EXTRA_OFDM_SYM = 16,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_BEAMFORMED = 32,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_BANDWIDTH = 64,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_GROUP_ID = 128,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_PARTIAL_AID = 256,
1: +};
1: +
1: +enum ieee80211_max_queues {
1: + IEEE80211_MAX_QUEUES = 16,
1: + IEEE80211_MAX_QUEUE_MAP = 65535,
1: +};
1: +
1: +struct ieee80211_tx_queue_params {
1: + u16 txop;
1: + u16 cw_min;
1: + u16 cw_max;
1: + u8 aifs;
1: + bool acm;
1: + bool uapsd;
1: + bool mu_edca;
1: + struct ieee80211_he_mu_edca_param_ac_rec mu_edca_param_rec;
1: +};
1: +
1: +struct ieee80211_low_level_stats {
1: + unsigned int dot11ACKFailureCount;
1: + unsigned int dot11RTSFailureCount;
1: + unsigned int dot11FCSErrorCount;
1: + unsigned int dot11RTSSuccessCount;
1: +};
1: +
1: +struct ieee80211_chanctx_conf {
1: + struct cfg80211_chan_def def;
1: + struct cfg80211_chan_def min_def;
1: + u8 rx_chains_static;
1: + u8 rx_chains_dynamic;
1: + bool radar_enabled;
1: + long: 40;
1: + u8 drv_priv[0];
1: +};
1: +
1: +enum ieee80211_chanctx_switch_mode {
1: + CHANCTX_SWMODE_REASSIGN_VIF = 0,
1: + CHANCTX_SWMODE_SWAP_CONTEXTS = 1,
1: +};
1: +
1: +struct ieee80211_vif;
1: +
1: +struct ieee80211_vif_chanctx_switch {
1: + struct ieee80211_vif *vif;
1: + struct ieee80211_chanctx_conf *old_ctx;
1: + struct ieee80211_chanctx_conf *new_ctx;
1: +};
1: +
1: +struct ieee80211_mu_group_data {
1: + u8 membership[8];
1: + u8 position[16];
1: +};
1: +
1: +struct ieee80211_ftm_responder_params;
1: +
1: +struct ieee80211_bss_conf {
1: + const u8 *bssid;
1: + u8 bss_color;
1: + u8 htc_trig_based_pkt_ext;
1: + bool multi_sta_back_32bit;
1: + bool uora_exists;
1: + bool ack_enabled;
1: + u8 uora_ocw_range;
1: + u16 frame_time_rts_th;
1: + bool he_support;
1: + bool twt_requester;
1: + bool twt_responder;
1: + bool assoc;
1: + bool ibss_joined;
1: + bool ibss_creator;
1: + u16 aid;
1: + bool use_cts_prot;
1: + bool use_short_preamble;
1: + bool use_short_slot;
1: + bool enable_beacon;
1: + u8 dtim_period;
1: + char: 8;
1: + u16 beacon_int;
1: + u16 assoc_capability;
1: + long: 48;
1: + u64 sync_tsf;
1: + u32 sync_device_ts;
1: + u8 sync_dtim_count;
1: + int: 24;
1: + u32 basic_rates;
1: + int: 32;
1: + struct ieee80211_rate *beacon_rate;
1: + int mcast_rate[4];
1: + u16 ht_operation_mode;
1: + short: 16;
1: + s32 cqm_rssi_thold;
1: + u32 cqm_rssi_hyst;
1: + s32 cqm_rssi_low;
1: + s32 cqm_rssi_high;
1: + int: 32;
1: + struct cfg80211_chan_def chandef;
1: + struct ieee80211_mu_group_data mu_group;
1: + __be32 arp_addr_list[4];
1: + int arp_addr_cnt;
1: + bool qos;
1: + bool idle;
1: + bool ps;
1: + u8 ssid[32];
1: + char: 8;
1: + size_t ssid_len;
1: + bool hidden_ssid;
1: + int: 24;
1: + int txpower;
1: + enum nl80211_tx_power_setting txpower_type;
1: + struct ieee80211_p2p_noa_attr p2p_noa_attr;
1: + bool allow_p2p_go_ps;
1: + char: 8;
1: + u16 max_idle_period;
1: + bool protected_keep_alive;
1: + bool ftm_responder;
1: + struct ieee80211_ftm_responder_params *ftmr_params;
1: + bool nontransmitted;
1: + u8 transmitter_bssid[6];
1: + u8 bssid_index;
1: + u8 bssid_indicator;
1: + bool ema_ap;
1: + u8 profile_periodicity;
1: + struct ieee80211_he_operation he_operation;
1: + struct ieee80211_he_obss_pd he_obss_pd;
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_txq;
1: +
1: +struct ieee80211_vif {
1: + enum nl80211_iftype type;
1: + struct ieee80211_bss_conf bss_conf;
1: + u8 addr[6];
1: + bool p2p;
1: + bool csa_active;
1: + bool mu_mimo_owner;
1: + u8 cab_queue;
1: + u8 hw_queue[4];
1: + struct ieee80211_txq *txq;
1: + struct ieee80211_chanctx_conf *chanctx_conf;
1: + u32 driver_flags;
1: + unsigned int probe_req_reg;
1: + bool txqs_stopped[4];
1: + int: 32;
1: + u8 drv_priv[0];
1: +};
1: +
1: +enum ieee80211_bss_change {
1: + BSS_CHANGED_ASSOC = 1,
1: + BSS_CHANGED_ERP_CTS_PROT = 2,
1: + BSS_CHANGED_ERP_PREAMBLE = 4,
1: + BSS_CHANGED_ERP_SLOT = 8,
1: + BSS_CHANGED_HT = 16,
1: + BSS_CHANGED_BASIC_RATES = 32,
1: + BSS_CHANGED_BEACON_INT = 64,
1: + BSS_CHANGED_BSSID = 128,
1: + BSS_CHANGED_BEACON = 256,
1: + BSS_CHANGED_BEACON_ENABLED = 512,
1: + BSS_CHANGED_CQM = 1024,
1: + BSS_CHANGED_IBSS = 2048,
1: + BSS_CHANGED_ARP_FILTER = 4096,
1: + BSS_CHANGED_QOS = 8192,
1: + BSS_CHANGED_IDLE = 16384,
1: + BSS_CHANGED_SSID = 32768,
1: + BSS_CHANGED_AP_PROBE_RESP = 65536,
1: + BSS_CHANGED_PS = 131072,
1: + BSS_CHANGED_TXPOWER = 262144,
1: + BSS_CHANGED_P2P_PS = 524288,
1: + BSS_CHANGED_BEACON_INFO = 1048576,
1: + BSS_CHANGED_BANDWIDTH = 2097152,
1: + BSS_CHANGED_OCB = 4194304,
1: + BSS_CHANGED_MU_GROUPS = 8388608,
1: + BSS_CHANGED_KEEP_ALIVE = 16777216,
1: + BSS_CHANGED_MCAST_RATE = 33554432,
1: + BSS_CHANGED_FTM_RESPONDER = 67108864,
1: + BSS_CHANGED_TWT = 134217728,
1: + BSS_CHANGED_HE_OBSS_PD = 268435456,
1: +};
1: +
1: +enum ieee80211_event_type {
1: + RSSI_EVENT = 0,
1: + MLME_EVENT = 1,
1: + BAR_RX_EVENT = 2,
1: + BA_FRAME_TIMEOUT = 3,
1: +};
1: +
1: +enum ieee80211_rssi_event_data {
1: + RSSI_EVENT_HIGH = 0,
1: + RSSI_EVENT_LOW = 1,
1: +};
1: +
1: +struct ieee80211_rssi_event {
1: + enum ieee80211_rssi_event_data data;
1: +};
1: +
1: +enum ieee80211_mlme_event_data {
1: + AUTH_EVENT = 0,
1: + ASSOC_EVENT = 1,
1: + DEAUTH_RX_EVENT = 2,
1: + DEAUTH_TX_EVENT = 3,
1: +};
1: +
1: +enum ieee80211_mlme_event_status {
1: + MLME_SUCCESS = 0,
1: + MLME_DENIED = 1,
1: + MLME_TIMEOUT = 2,
1: +};
1: +
1: +struct ieee80211_mlme_event {
1: + enum ieee80211_mlme_event_data data;
1: + enum ieee80211_mlme_event_status status;
1: + u16 reason;
1: +};
1: +
1: +struct ieee80211_sta;
1: +
1: +struct ieee80211_ba_event {
1: + struct ieee80211_sta *sta;
1: + u16 tid;
1: + u16 ssn;
1: +};
1: +
1: +enum ieee80211_sta_rx_bandwidth {
1: + IEEE80211_STA_RX_BW_20 = 0,
1: + IEEE80211_STA_RX_BW_40 = 1,
1: + IEEE80211_STA_RX_BW_80 = 2,
1: + IEEE80211_STA_RX_BW_160 = 3,
1: +};
1: +
1: +enum ieee80211_smps_mode {
1: + IEEE80211_SMPS_AUTOMATIC = 0,
1: + IEEE80211_SMPS_OFF = 1,
1: + IEEE80211_SMPS_STATIC = 2,
1: + IEEE80211_SMPS_DYNAMIC = 3,
1: + IEEE80211_SMPS_NUM_MODES = 4,
1: +};
1: +
1: +struct ieee80211_sta_txpwr {
1: + s16 power;
1: + enum nl80211_tx_power_setting type;
1: +};
1: +
1: +struct ieee80211_sta_rates;
1: +
1: +struct ieee80211_sta {
1: + u32 supp_rates[4];
1: + u8 addr[6];
1: + u16 aid;
1: + struct ieee80211_sta_ht_cap ht_cap;
1: + struct ieee80211_sta_vht_cap vht_cap;
1: + struct ieee80211_sta_he_cap he_cap;
1: + u16 max_rx_aggregation_subframes;
1: + bool wme;
1: + u8 uapsd_queues;
1: + u8 max_sp;
1: + u8 rx_nss;
1: + enum ieee80211_sta_rx_bandwidth bandwidth;
1: + enum ieee80211_smps_mode smps_mode;
1: + struct ieee80211_sta_rates *rates;
1: + bool tdls;
1: + bool tdls_initiator;
1: + bool mfp;
1: + u8 max_amsdu_subframes;
1: + u16 max_amsdu_len;
1: + bool support_p2p_ps;
1: + u16 max_rc_amsdu_len;
1: + u16 max_tid_amsdu_len[16];
1: + struct ieee80211_sta_txpwr txpwr;
1: + struct ieee80211_txq *txq[17];
1: + u8 drv_priv[0];
1: +};
1: +
1: +struct ieee80211_event {
1: + enum ieee80211_event_type type;
1: + union {
1: + struct ieee80211_rssi_event rssi;
1: + struct ieee80211_mlme_event mlme;
1: + struct ieee80211_ba_event ba;
1: + } u;
1: +};
1: +
1: +struct ieee80211_ftm_responder_params {
1: + const u8 *lci;
1: + const u8 *civicloc;
1: + size_t lci_len;
1: + size_t civicloc_len;
1: +};
1: +
1: +struct ieee80211_tx_rate {
1: + s8 idx;
1: + u16 count: 5;
1: + u16 flags: 11;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_key_conf {
1: + atomic64_t tx_pn;
1: + u32 cipher;
1: + u8 icv_len;
1: + u8 iv_len;
1: + u8 hw_key_idx;
1: + s8 keyidx;
1: + u16 flags;
1: + u8 keylen;
1: + u8 key[0];
1: +};
1: +
1: +struct ieee80211_tx_info {
1: + u32 flags;
1: + u8 band;
1: + u8 hw_queue;
1: + u16 ack_frame_id: 6;
1: + u16 tx_time_est: 10;
1: + union {
1: + struct {
1: + union {
1: + struct {
1: + struct ieee80211_tx_rate rates[4];
1: + s8 rts_cts_rate_idx;
1: + u8 use_rts: 1;
1: + u8 use_cts_prot: 1;
1: + u8 short_preamble: 1;
1: + u8 skip_table: 1;
1: + };
1: + long unsigned int jiffies;
1: + };
1: + struct ieee80211_vif *vif;
1: + struct ieee80211_key_conf *hw_key;
1: + u32 flags;
1: + codel_time_t enqueue_time;
1: + } control;
1: + struct {
1: + u64 cookie;
1: + } ack;
1: + struct {
1: + struct ieee80211_tx_rate rates[4];
1: + s32 ack_signal;
1: + u8 ampdu_ack_len;
1: + u8 ampdu_len;
1: + u8 antenna;
1: + u16 tx_time;
1: + bool is_valid_ack_signal;
1: + void *status_driver_data[2];
1: + } status;
1: + struct {
1: + struct ieee80211_tx_rate driver_rates[4];
1: + u8 pad[4];
1: + void *rate_driver_data[3];
1: + };
1: + void *driver_data[5];
1: + };
1: +};
1: +
1: +struct ieee80211_tx_status {
1: + struct ieee80211_sta *sta;
1: + struct ieee80211_tx_info *info;
1: + struct sk_buff *skb;
1: + struct rate_info *rate;
1: +};
1: +
1: +struct ieee80211_scan_ies {
1: + const u8 *ies[4];
1: + size_t len[4];
1: + const u8 *common_ies;
1: + size_t common_ie_len;
1: +};
1: +
1: +struct ieee80211_rx_status {
1: + u64 mactime;
1: + u64 boottime_ns;
1: + u32 device_timestamp;
1: + u32 ampdu_reference;
1: + u32 flag;
1: + u16 freq;
1: + u8 enc_flags;
1: + u8 encoding: 2;
1: + u8 bw: 3;
1: + u8 he_ru: 3;
1: + u8 he_gi: 2;
1: + u8 he_dcm: 1;
1: + u8 rate_idx;
1: + u8 nss;
1: + u8 rx_flags;
1: + u8 band;
1: + u8 antenna;
1: + s8 signal;
1: + u8 chains;
1: + s8 chain_signal[4];
1: + u8 ampdu_delimiter_crc;
1: + u8 zero_length_psdu_type;
1: +};
1: +
1: +enum ieee80211_conf_flags {
1: + IEEE80211_CONF_MONITOR = 1,
1: + IEEE80211_CONF_PS = 2,
1: + IEEE80211_CONF_IDLE = 4,
1: + IEEE80211_CONF_OFFCHANNEL = 8,
1: +};
1: +
1: +enum ieee80211_conf_changed {
1: + IEEE80211_CONF_CHANGE_SMPS = 2,
1: + IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = 4,
1: + IEEE80211_CONF_CHANGE_MONITOR = 8,
1: + IEEE80211_CONF_CHANGE_PS = 16,
1: + IEEE80211_CONF_CHANGE_POWER = 32,
1: + IEEE80211_CONF_CHANGE_CHANNEL = 64,
1: + IEEE80211_CONF_CHANGE_RETRY_LIMITS = 128,
1: + IEEE80211_CONF_CHANGE_IDLE = 256,
1: +};
1: +
1: +struct ieee80211_conf {
1: + u32 flags;
1: + int power_level;
1: + int dynamic_ps_timeout;
1: + u16 listen_interval;
1: + u8 ps_dtim_period;
1: + u8 long_frame_max_tx_count;
1: + u8 short_frame_max_tx_count;
1: + struct cfg80211_chan_def chandef;
1: + bool radar_enabled;
1: + enum ieee80211_smps_mode smps_mode;
1: +};
1: +
1: +struct ieee80211_channel_switch {
1: + u64 timestamp;
1: + u32 device_timestamp;
1: + bool block_tx;
1: + struct cfg80211_chan_def chandef;
1: + u8 count;
1: + u32 delay;
1: +};
1: +
1: +struct ieee80211_txq {
1: + struct ieee80211_vif *vif;
1: + struct ieee80211_sta *sta;
1: + u8 tid;
1: + u8 ac;
1: + long: 48;
1: + u8 drv_priv[0];
1: +};
1: +
1: +struct ieee80211_key_seq {
1: + union {
1: + struct {
1: + u32 iv32;
1: + u16 iv16;
1: + } tkip;
1: + struct {
1: + u8 pn[6];
1: + } ccmp;
1: + struct {
1: + u8 pn[6];
1: + } aes_cmac;
1: + struct {
1: + u8 pn[6];
1: + } aes_gmac;
1: + struct {
1: + u8 pn[6];
1: + } gcmp;
1: + struct {
1: + u8 seq[16];
1: + u8 seq_len;
1: + } hw;
1: + };
1: +};
1: +
1: +struct ieee80211_cipher_scheme {
1: + u32 cipher;
1: + u16 iftype;
1: + u8 hdr_len;
1: + u8 pn_len;
1: + u8 pn_off;
1: + u8 key_idx_off;
1: + u8 key_idx_mask;
1: + u8 key_idx_shift;
1: + u8 mic_len;
1: +};
1: +
1: +enum set_key_cmd {
1: + SET_KEY = 0,
1: + DISABLE_KEY = 1,
1: +};
1: +
1: +enum ieee80211_sta_state {
1: + IEEE80211_STA_NOTEXIST = 0,
1: + IEEE80211_STA_NONE = 1,
1: + IEEE80211_STA_AUTH = 2,
1: + IEEE80211_STA_ASSOC = 3,
1: + IEEE80211_STA_AUTHORIZED = 4,
1: +};
1: +
1: +struct ieee80211_sta_rates {
1: + struct callback_head callback_head;
1: + struct {
1: + s8 idx;
1: + u8 count;
1: + u8 count_cts;
1: + u8 count_rts;
1: + u16 flags;
1: + } rate[4];
1: +};
1: +
1: +enum sta_notify_cmd {
1: + STA_NOTIFY_SLEEP = 0,
1: + STA_NOTIFY_AWAKE = 1,
1: +};
1: +
1: +struct ieee80211_tx_control {
1: + struct ieee80211_sta *sta;
1: +};
1: +
1: +enum ieee80211_hw_flags {
1: + IEEE80211_HW_HAS_RATE_CONTROL = 0,
1: + IEEE80211_HW_RX_INCLUDES_FCS = 1,
1: + IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING = 2,
1: + IEEE80211_HW_SIGNAL_UNSPEC = 3,
1: + IEEE80211_HW_SIGNAL_DBM = 4,
1: + IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC = 5,
1: + IEEE80211_HW_SPECTRUM_MGMT = 6,
1: + IEEE80211_HW_AMPDU_AGGREGATION = 7,
1: + IEEE80211_HW_SUPPORTS_PS = 8,
1: + IEEE80211_HW_PS_NULLFUNC_STACK = 9,
1: + IEEE80211_HW_SUPPORTS_DYNAMIC_PS = 10,
1: + IEEE80211_HW_MFP_CAPABLE = 11,
1: + IEEE80211_HW_WANT_MONITOR_VIF = 12,
1: + IEEE80211_HW_NO_AUTO_VIF = 13,
1: + IEEE80211_HW_SW_CRYPTO_CONTROL = 14,
1: + IEEE80211_HW_SUPPORT_FAST_XMIT = 15,
1: + IEEE80211_HW_REPORTS_TX_ACK_STATUS = 16,
1: + IEEE80211_HW_CONNECTION_MONITOR = 17,
1: + IEEE80211_HW_QUEUE_CONTROL = 18,
1: + IEEE80211_HW_SUPPORTS_PER_STA_GTK = 19,
1: + IEEE80211_HW_AP_LINK_PS = 20,
1: + IEEE80211_HW_TX_AMPDU_SETUP_IN_HW = 21,
1: + IEEE80211_HW_SUPPORTS_RC_TABLE = 22,
1: + IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF = 23,
1: + IEEE80211_HW_TIMING_BEACON_ONLY = 24,
1: + IEEE80211_HW_SUPPORTS_HT_CCK_RATES = 25,
1: + IEEE80211_HW_CHANCTX_STA_CSA = 26,
1: + IEEE80211_HW_SUPPORTS_CLONED_SKBS = 27,
1: + IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS = 28,
1: + IEEE80211_HW_TDLS_WIDER_BW = 29,
1: + IEEE80211_HW_SUPPORTS_AMSDU_IN_AMPDU = 30,
1: + IEEE80211_HW_BEACON_TX_STATUS = 31,
1: + IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR = 32,
1: + IEEE80211_HW_SUPPORTS_REORDERING_BUFFER = 33,
1: + IEEE80211_HW_USES_RSS = 34,
1: + IEEE80211_HW_TX_AMSDU = 35,
1: + IEEE80211_HW_TX_FRAG_LIST = 36,
1: + IEEE80211_HW_REPORTS_LOW_ACK = 37,
1: + IEEE80211_HW_SUPPORTS_TX_FRAG = 38,
1: + IEEE80211_HW_SUPPORTS_TDLS_BUFFER_STA = 39,
1: + IEEE80211_HW_DEAUTH_NEED_MGD_TX_PREP = 40,
1: + IEEE80211_HW_DOESNT_SUPPORT_QOS_NDP = 41,
1: + IEEE80211_HW_BUFF_MMPDU_TXQ = 42,
1: + IEEE80211_HW_SUPPORTS_VHT_EXT_NSS_BW = 43,
1: + IEEE80211_HW_STA_MMPDU_TXQ = 44,
1: + IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN = 45,
1: + IEEE80211_HW_SUPPORTS_MULTI_BSSID = 46,
1: + IEEE80211_HW_SUPPORTS_ONLY_HE_MULTI_BSSID = 47,
1: + IEEE80211_HW_AMPDU_KEYBORDER_SUPPORT = 48,
1: + NUM_IEEE80211_HW_FLAGS = 49,
1: +};
1: +
1: +struct ieee80211_hw {
1: + struct ieee80211_conf conf;
1: + struct wiphy *wiphy;
1: + const char *rate_control_algorithm;
1: + void *priv;
1: + long unsigned int flags[1];
1: + unsigned int extra_tx_headroom;
1: + unsigned int extra_beacon_tailroom;
1: + int vif_data_size;
1: + int sta_data_size;
1: + int chanctx_data_size;
1: + int txq_data_size;
1: + u16 queues;
1: + u16 max_listen_interval;
1: + s8 max_signal;
1: + u8 max_rates;
1: + u8 max_report_rates;
1: + u8 max_rate_tries;
1: + u16 max_rx_aggregation_subframes;
1: + u16 max_tx_aggregation_subframes;
1: + u8 max_tx_fragments;
1: + u8 offchannel_tx_hw_queue;
1: + u8 radiotap_mcs_details;
1: + u16 radiotap_vht_details;
1: + struct {
1: + int units_pos;
1: + s16 accuracy;
1: + } radiotap_timestamp;
1: + netdev_features_t netdev_features;
1: + u8 uapsd_queues;
1: + u8 uapsd_max_sp_len;
1: + u8 n_cipher_schemes;
1: + const struct ieee80211_cipher_scheme *cipher_schemes;
1: + u8 max_nan_de_entries;
1: + u8 tx_sk_pacing_shift;
1: + u8 weight_multiplier;
1: + u32 max_mtu;
1: +};
1: +
1: +struct ieee80211_scan_request {
1: + struct ieee80211_scan_ies ies;
1: + struct cfg80211_scan_request req;
1: +};
1: +
1: +struct ieee80211_tdls_ch_sw_params {
1: + struct ieee80211_sta *sta;
1: + struct cfg80211_chan_def *chandef;
1: + u8 action_code;
1: + u32 status;
1: + u32 timestamp;
1: + u16 switch_time;
1: + u16 switch_timeout;
1: + struct sk_buff *tmpl_skb;
1: + u32 ch_sw_tm_ie;
1: +};
1: +
1: +enum ieee80211_filter_flags {
1: + FIF_ALLMULTI = 2,
1: + FIF_FCSFAIL = 4,
1: + FIF_PLCPFAIL = 8,
1: + FIF_BCN_PRBRESP_PROMISC = 16,
1: + FIF_CONTROL = 32,
1: + FIF_OTHER_BSS = 64,
1: + FIF_PSPOLL = 128,
1: + FIF_PROBE_REQ = 256,
1: +};
1: +
1: +enum ieee80211_ampdu_mlme_action {
1: + IEEE80211_AMPDU_RX_START = 0,
1: + IEEE80211_AMPDU_RX_STOP = 1,
1: + IEEE80211_AMPDU_TX_START = 2,
1: + IEEE80211_AMPDU_TX_STOP_CONT = 3,
1: + IEEE80211_AMPDU_TX_STOP_FLUSH = 4,
1: + IEEE80211_AMPDU_TX_STOP_FLUSH_CONT = 5,
1: + IEEE80211_AMPDU_TX_OPERATIONAL = 6,
1: +};
1: +
1: +struct ieee80211_ampdu_params {
1: + enum ieee80211_ampdu_mlme_action action;
1: + struct ieee80211_sta *sta;
1: + u16 tid;
1: + u16 ssn;
1: + u16 buf_size;
1: + bool amsdu;
1: + u16 timeout;
1: +};
1: +
1: +enum ieee80211_frame_release_type {
1: + IEEE80211_FRAME_RELEASE_PSPOLL = 0,
1: + IEEE80211_FRAME_RELEASE_UAPSD = 1,
1: +};
1: +
1: +enum ieee80211_roc_type {
1: + IEEE80211_ROC_TYPE_NORMAL = 0,
1: + IEEE80211_ROC_TYPE_MGMT_TX = 1,
1: +};
1: +
1: +enum ieee80211_reconfig_type {
1: + IEEE80211_RECONFIG_TYPE_RESTART = 0,
1: + IEEE80211_RECONFIG_TYPE_SUSPEND = 1,
1: +};
1: +
1: +struct ieee80211_ops {
1: + void (*tx)(struct ieee80211_hw *, struct ieee80211_tx_control *, struct sk_buff *);
1: + int (*start)(struct ieee80211_hw *);
1: + void (*stop)(struct ieee80211_hw *);
1: + int (*suspend)(struct ieee80211_hw *, struct cfg80211_wowlan *);
1: + int (*resume)(struct ieee80211_hw *);
1: + void (*set_wakeup)(struct ieee80211_hw *, bool);
1: + int (*add_interface)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*change_interface)(struct ieee80211_hw *, struct ieee80211_vif *, enum nl80211_iftype, bool);
1: + void (*remove_interface)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*config)(struct ieee80211_hw *, u32);
1: + void (*bss_info_changed)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_bss_conf *, u32);
1: + int (*start_ap)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*stop_ap)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + u64 (*prepare_multicast)(struct ieee80211_hw *, struct netdev_hw_addr_list *);
1: + void (*configure_filter)(struct ieee80211_hw *, unsigned int, unsigned int *, u64);
1: + void (*config_iface_filter)(struct ieee80211_hw *, struct ieee80211_vif *, unsigned int, unsigned int);
1: + int (*set_tim)(struct ieee80211_hw *, struct ieee80211_sta *, bool);
1: + int (*set_key)(struct ieee80211_hw *, enum set_key_cmd, struct ieee80211_vif *, struct ieee80211_sta *, struct ieee80211_key_conf *);
1: + void (*update_tkip_key)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_key_conf *, struct ieee80211_sta *, u32, u16 *);
1: + void (*set_rekey_data)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_gtk_rekey_data *);
1: + void (*set_default_unicast_key)(struct ieee80211_hw *, struct ieee80211_vif *, int);
1: + int (*hw_scan)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_scan_request *);
1: + void (*cancel_hw_scan)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*sched_scan_start)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_sched_scan_request *, struct ieee80211_scan_ies *);
1: + int (*sched_scan_stop)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*sw_scan_start)(struct ieee80211_hw *, struct ieee80211_vif *, const u8 *);
1: + void (*sw_scan_complete)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*get_stats)(struct ieee80211_hw *, struct ieee80211_low_level_stats *);
1: + void (*get_key_seq)(struct ieee80211_hw *, struct ieee80211_key_conf *, struct ieee80211_key_seq *);
1: + int (*set_frag_threshold)(struct ieee80211_hw *, u32);
1: + int (*set_rts_threshold)(struct ieee80211_hw *, u32);
1: + int (*sta_add)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: + int (*sta_remove)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: + void (*sta_notify)(struct ieee80211_hw *, struct ieee80211_vif *, enum sta_notify_cmd, struct ieee80211_sta *);
1: + int (*sta_set_txpwr)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: + int (*sta_state)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, enum ieee80211_sta_state, enum ieee80211_sta_state);
1: + void (*sta_pre_rcu_remove)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: + void (*sta_rc_update)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, u32);
1: + void (*sta_rate_tbl_update)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: + void (*sta_statistics)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, struct station_info *);
1: + int (*conf_tx)(struct ieee80211_hw *, struct ieee80211_vif *, u16, const struct ieee80211_tx_queue_params *);
1: + u64 (*get_tsf)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*set_tsf)(struct ieee80211_hw *, struct ieee80211_vif *, u64);
1: + void (*offset_tsf)(struct ieee80211_hw *, struct ieee80211_vif *, s64);
1: + void (*reset_tsf)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*tx_last_beacon)(struct ieee80211_hw *);
1: + int (*ampdu_action)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_ampdu_params *);
1: + int (*get_survey)(struct ieee80211_hw *, int, struct survey_info *);
1: + void (*rfkill_poll)(struct ieee80211_hw *);
1: + void (*set_coverage_class)(struct ieee80211_hw *, s16);
1: + void (*flush)(struct ieee80211_hw *, struct ieee80211_vif *, u32, bool);
1: + void (*channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel_switch *);
1: + int (*set_antenna)(struct ieee80211_hw *, u32, u32);
1: + int (*get_antenna)(struct ieee80211_hw *, u32 *, u32 *);
1: + int (*remain_on_channel)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel *, int, enum ieee80211_roc_type);
1: + int (*cancel_remain_on_channel)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*set_ringparam)(struct ieee80211_hw *, u32, u32);
1: + void (*get_ringparam)(struct ieee80211_hw *, u32 *, u32 *, u32 *, u32 *);
1: + bool (*tx_frames_pending)(struct ieee80211_hw *);
1: + int (*set_bitrate_mask)(struct ieee80211_hw *, struct ieee80211_vif *, const struct cfg80211_bitrate_mask *);
1: + void (*event_callback)(struct ieee80211_hw *, struct ieee80211_vif *, const struct ieee80211_event *);
1: + void (*allow_buffered_frames)(struct ieee80211_hw *, struct ieee80211_sta *, u16, int, enum ieee80211_frame_release_type, bool);
1: + void (*release_buffered_frames)(struct ieee80211_hw *, struct ieee80211_sta *, u16, int, enum ieee80211_frame_release_type, bool);
1: + int (*get_et_sset_count)(struct ieee80211_hw *, struct ieee80211_vif *, int);
1: + void (*get_et_stats)(struct ieee80211_hw *, struct ieee80211_vif *, struct ethtool_stats *, u64 *);
1: + void (*get_et_strings)(struct ieee80211_hw *, struct ieee80211_vif *, u32, u8 *);
1: + void (*mgd_prepare_tx)(struct ieee80211_hw *, struct ieee80211_vif *, u16);
1: + void (*mgd_protect_tdls_discover)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*add_chanctx)(struct ieee80211_hw *, struct ieee80211_chanctx_conf *);
1: + void (*remove_chanctx)(struct ieee80211_hw *, struct ieee80211_chanctx_conf *);
1: + void (*change_chanctx)(struct ieee80211_hw *, struct ieee80211_chanctx_conf *, u32);
1: + int (*assign_vif_chanctx)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_chanctx_conf *);
1: + void (*unassign_vif_chanctx)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_chanctx_conf *);
1: + int (*switch_vif_chanctx)(struct ieee80211_hw *, struct ieee80211_vif_chanctx_switch *, int, enum ieee80211_chanctx_switch_mode);
1: + void (*reconfig_complete)(struct ieee80211_hw *, enum ieee80211_reconfig_type);
1: + void (*ipv6_addr_change)(struct ieee80211_hw *, struct ieee80211_vif *, struct inet6_dev *);
1: + void (*channel_switch_beacon)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_chan_def *);
1: + int (*pre_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel_switch *);
1: + int (*post_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*abort_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*channel_switch_rx_beacon)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel_switch *);
1: + int (*join_ibss)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*leave_ibss)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + u32 (*get_expected_throughput)(struct ieee80211_hw *, struct ieee80211_sta *);
1: + int (*get_txpower)(struct ieee80211_hw *, struct ieee80211_vif *, int *);
1: + int (*tdls_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, u8, struct cfg80211_chan_def *, struct sk_buff *, u32);
1: + void (*tdls_cancel_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: + void (*tdls_recv_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_tdls_ch_sw_params *);
1: + void (*wake_tx_queue)(struct ieee80211_hw *, struct ieee80211_txq *);
1: + void (*sync_rx_queues)(struct ieee80211_hw *);
1: + int (*start_nan)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_nan_conf *);
1: + int (*stop_nan)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*nan_change_conf)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_nan_conf *, u32);
1: + int (*add_nan_func)(struct ieee80211_hw *, struct ieee80211_vif *, const struct cfg80211_nan_func *);
1: + void (*del_nan_func)(struct ieee80211_hw *, struct ieee80211_vif *, u8);
1: + bool (*can_aggregate_in_amsdu)(struct ieee80211_hw *, struct sk_buff *, struct sk_buff *);
1: + int (*get_ftm_responder_stats)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_ftm_responder_stats *);
1: + int (*start_pmsr)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_pmsr_request *);
1: + void (*abort_pmsr)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_pmsr_request *);
1: +};
1: +
1: +struct ieee80211_tpt_blink {
1: + int throughput;
1: + int blink_time;
1: +};
1: +
1: +struct ieee80211_tx_rate_control {
1: + struct ieee80211_hw *hw;
1: + struct ieee80211_supported_band *sband;
1: + struct ieee80211_bss_conf *bss_conf;
1: + struct sk_buff *skb;
1: + struct ieee80211_tx_rate reported_rate;
1: + bool rts;
1: + bool short_preamble;
1: + u32 rate_idx_mask;
1: + u8 *rate_idx_mcs_mask;
1: + bool bss;
1: +};
1: +
1: +enum rate_control_capabilities {
1: + RATE_CTRL_CAPA_VHT_EXT_NSS_BW = 1,
1: +};
1: +
1: +struct rate_control_ops {
1: + long unsigned int capa;
1: + const char *name;
1: + void * (*alloc)(struct ieee80211_hw *, struct dentry___2 *);
1: + void (*free)(void *);
1: + void * (*alloc_sta)(void *, struct ieee80211_sta *, gfp_t);
1: + void (*rate_init)(void *, struct ieee80211_supported_band *, struct cfg80211_chan_def *, struct ieee80211_sta *, void *);
1: + void (*rate_update)(void *, struct ieee80211_supported_band *, struct cfg80211_chan_def *, struct ieee80211_sta *, void *, u32);
1: + void (*free_sta)(void *, struct ieee80211_sta *, void *);
1: + void (*tx_status_ext)(void *, struct ieee80211_supported_band *, void *, struct ieee80211_tx_status *);
1: + void (*tx_status)(void *, struct ieee80211_supported_band *, struct ieee80211_sta *, void *, struct sk_buff *);
1: + void (*get_rate)(void *, struct ieee80211_sta *, void *, struct ieee80211_tx_rate_control *);
1: + void (*add_sta_debugfs)(void *, void *, struct dentry___2 *);
1: + u32 (*get_expected_throughput)(void *);
1: +};
1: +
1: +struct fq_tin;
1: +
1: +struct fq_flow {
1: + struct fq_tin *tin;
1: + struct list_head flowchain;
1: + struct list_head backlogchain;
1: + struct sk_buff_head queue;
1: + u32 backlog;
1: + int deficit;
1: +};
1: +
1: +struct fq_tin {
1: + struct list_head new_flows;
1: + struct list_head old_flows;
1: + u32 backlog_bytes;
1: + u32 backlog_packets;
1: + u32 overlimit;
1: + u32 collisions;
1: + u32 flows;
1: + u32 tx_bytes;
1: + u32 tx_packets;
1: +};
1: +
1: +struct fq {
1: + struct fq_flow *flows;
1: + struct list_head backlogs;
1: + spinlock_t lock;
1: + u32 flows_cnt;
1: + siphash_key_t perturbation;
1: + u32 limit;
1: + u32 memory_limit;
1: + u32 memory_usage;
1: + u32 quantum;
1: + u32 backlog;
1: + u32 overlimit;
1: + u32 overmemory;
1: + u32 collisions;
1: +};
1: +
1: +enum ieee80211_internal_tkip_state {
1: + TKIP_STATE_NOT_INIT = 0,
1: + TKIP_STATE_PHASE1_DONE = 1,
1: + TKIP_STATE_PHASE1_HW_UPLOADED = 2,
1: +};
1: +
1: +struct tkip_ctx {
1: + u16 p1k[5];
1: + u32 p1k_iv32;
1: + enum ieee80211_internal_tkip_state state;
1: +};
1: +
1: +struct tkip_ctx_rx {
1: + struct tkip_ctx ctx;
1: + u32 iv32;
1: + u16 iv16;
1: +};
1: +
1: +struct ieee80211_local;
1: +
1: +struct ieee80211_sub_if_data;
1: +
1: +struct sta_info;
1: +
1: +struct ieee80211_key {
1: + struct ieee80211_local *local;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct sta_info *sta;
1: + struct list_head list;
1: + unsigned int flags;
1: + union {
1: + struct {
1: + spinlock_t txlock;
1: + struct tkip_ctx tx;
1: + struct tkip_ctx_rx rx[16];
1: + u32 mic_failures;
1: + } tkip;
1: + struct {
1: + u8 rx_pn[102];
1: + struct crypto_aead *tfm;
1: + u32 replays;
1: + } ccmp;
1: + struct {
1: + u8 rx_pn[6];
1: + struct crypto_shash *tfm;
1: + u32 replays;
1: + u32 icverrors;
1: + } aes_cmac;
1: + struct {
1: + u8 rx_pn[6];
1: + struct crypto_aead *tfm;
1: + u32 replays;
1: + u32 icverrors;
1: + } aes_gmac;
1: + struct {
1: + u8 rx_pn[102];
1: + struct crypto_aead *tfm;
1: + u32 replays;
1: + } gcmp;
1: + struct {
1: + u8 rx_pn[272];
1: + } gen;
1: + } u;
1: + struct ieee80211_key_conf conf;
1: +};
1: +
1: +enum mac80211_scan_state {
1: + SCAN_DECISION = 0,
1: + SCAN_SET_CHANNEL = 1,
1: + SCAN_SEND_PROBE = 2,
1: + SCAN_SUSPEND = 3,
1: + SCAN_RESUME = 4,
1: + SCAN_ABORT = 5,
1: +};
1: +
1: +struct rate_control_ref;
1: +
1: +struct tpt_led_trigger;
1: +
1: +struct ieee80211_local {
1: + struct ieee80211_hw hw;
1: + struct fq fq;
1: + struct codel_vars *cvars;
1: + struct codel_params cparams;
1: + spinlock_t active_txq_lock[4];
1: + struct list_head active_txqs[4];
1: + u16 schedule_round[4];
1: + u16 airtime_flags;
1: + u32 aql_txq_limit_low[4];
1: + u32 aql_txq_limit_high[4];
1: + u32 aql_threshold;
1: + atomic_t aql_total_pending_airtime;
1: + const struct ieee80211_ops *ops;
1: + struct workqueue_struct *workqueue;
1: + long unsigned int queue_stop_reasons[16];
1: + int q_stop_reasons[160];
1: + spinlock_t queue_stop_reason_lock;
1: + int open_count;
1: + int monitors;
1: + int cooked_mntrs;
1: + int fif_fcsfail;
1: + int fif_plcpfail;
1: + int fif_control;
1: + int fif_other_bss;
1: + int fif_pspoll;
1: + int fif_probe_req;
1: + int probe_req_reg;
1: + unsigned int filter_flags;
1: + bool wiphy_ciphers_allocated;
1: + bool use_chanctx;
1: + spinlock_t filter_lock;
1: + struct work_struct reconfig_filter;
1: + struct netdev_hw_addr_list mc_list;
1: + bool tim_in_locked_section;
1: + bool suspended;
1: + bool resuming;
1: + bool quiescing;
1: + bool started;
1: + bool in_reconfig;
1: + bool wowlan;
1: + struct work_struct radar_detected_work;
1: + u8 rx_chains;
1: + u8 sband_allocated;
1: + int tx_headroom;
1: + struct tasklet_struct tasklet;
1: + struct sk_buff_head skb_queue;
1: + struct sk_buff_head skb_queue_unreliable;
1: + spinlock_t rx_path_lock;
1: + struct mutex sta_mtx;
1: + spinlock_t tim_lock;
1: + long unsigned int num_sta;
1: + struct list_head sta_list;
1: + struct rhltable sta_hash;
1: + struct timer_list sta_cleanup;
1: + int sta_generation;
1: + struct sk_buff_head pending[16];
1: + struct tasklet_struct tx_pending_tasklet;
1: + struct tasklet_struct wake_txqs_tasklet;
1: + atomic_t agg_queue_stop[16];
1: + atomic_t iff_allmultis;
1: + struct rate_control_ref *rate_ctrl;
1: + struct arc4_ctx wep_tx_ctx;
1: + struct arc4_ctx wep_rx_ctx;
1: + u32 wep_iv;
1: + struct list_head interfaces;
1: + struct list_head mon_list;
1: + struct mutex iflist_mtx;
1: + struct mutex key_mtx;
1: + struct mutex mtx;
1: + long unsigned int scanning;
1: + struct cfg80211_ssid scan_ssid;
1: + struct cfg80211_scan_request *int_scan_req;
1: + struct cfg80211_scan_request *scan_req;
1: + struct ieee80211_scan_request *hw_scan_req;
1: + struct cfg80211_chan_def scan_chandef;
1: + enum nl80211_band hw_scan_band;
1: + int scan_channel_idx;
1: + int scan_ies_len;
1: + int hw_scan_ies_bufsize;
1: + struct cfg80211_scan_info scan_info;
1: + struct work_struct sched_scan_stopped_work;
1: + struct ieee80211_sub_if_data *sched_scan_sdata;
1: + struct cfg80211_sched_scan_request *sched_scan_req;
1: + u8 scan_addr[6];
1: + long unsigned int leave_oper_channel_time;
1: + enum mac80211_scan_state next_scan_state;
1: + struct delayed_work scan_work;
1: + struct ieee80211_sub_if_data *scan_sdata;
1: + struct cfg80211_chan_def _oper_chandef;
1: + struct ieee80211_channel *tmp_channel;
1: + struct list_head chanctx_list;
1: + struct mutex chanctx_mtx;
1: + struct led_trigger tx_led;
1: + struct led_trigger rx_led;
1: + struct led_trigger assoc_led;
1: + struct led_trigger radio_led;
1: + struct led_trigger tpt_led;
1: + atomic_t tx_led_active;
1: + atomic_t rx_led_active;
1: + atomic_t assoc_led_active;
1: + atomic_t radio_led_active;
1: + atomic_t tpt_led_active;
1: + struct tpt_led_trigger *tpt_led_trigger;
1: + int total_ps_buffered;
1: + bool pspolling;
1: + bool offchannel_ps_enabled;
1: + struct ieee80211_sub_if_data *ps_sdata;
1: + struct work_struct dynamic_ps_enable_work;
1: + struct work_struct dynamic_ps_disable_work;
1: + struct timer_list dynamic_ps_timer;
1: + struct notifier_block ifa_notifier;
1: + struct notifier_block ifa6_notifier;
1: + int dynamic_ps_forced_timeout;
1: + int user_power_level;
1: + enum ieee80211_smps_mode smps_mode;
1: + struct work_struct restart_work;
1: + struct delayed_work roc_work;
1: + struct list_head roc_list;
1: + struct work_struct hw_roc_start;
1: + struct work_struct hw_roc_done;
1: + long unsigned int hw_roc_start_time;
1: + u64 roc_cookie_counter;
1: + struct idr ack_status_frames;
1: + spinlock_t ack_status_lock;
1: + struct ieee80211_sub_if_data *p2p_sdata;
1: + struct ieee80211_sub_if_data *monitor_sdata;
1: + struct cfg80211_chan_def monitor_chandef;
1: + u8 ext_capa[8];
1: + struct work_struct tdls_chsw_work;
1: + struct sk_buff_head skb_queue_tdls_chsw;
1: +};
1: +
1: +struct ieee80211_fragment_entry {
1: + struct sk_buff_head skb_list;
1: + long unsigned int first_frag_time;
1: + u16 seq;
1: + u16 extra_len;
1: + u16 last_frag;
1: + u8 rx_queue;
1: + bool check_sequential_pn;
1: + u8 last_pn[6];
1: +};
1: +
1: +struct ps_data {
1: + u8 tim[256];
1: + struct sk_buff_head bc_buf;
1: + atomic_t num_sta_ps;
1: + int dtim_count;
1: + bool dtim_bc_mc;
1: +};
1: +
1: +struct beacon_data;
1: +
1: +struct probe_resp;
1: +
1: +struct ieee80211_if_ap {
1: + struct beacon_data *beacon;
1: + struct probe_resp *probe_resp;
1: + struct cfg80211_beacon_data *next_beacon;
1: + struct list_head vlans;
1: + struct ps_data ps;
1: + atomic_t num_mcast_sta;
1: + enum ieee80211_smps_mode req_smps;
1: + enum ieee80211_smps_mode driver_smps_mode;
1: + struct work_struct request_smps_work;
1: + bool multicast_to_unicast;
1: +};
1: +
1: +struct ieee80211_if_wds {
1: + struct sta_info *sta;
1: + u8 remote_addr[6];
1: +};
1: +
1: +struct ieee80211_if_vlan {
1: + struct list_head list;
1: + struct sta_info *sta;
1: + atomic_t num_mcast_sta;
1: +};
1: +
1: +struct ewma_beacon_signal {
1: + long unsigned int internal;
1: +};
1: +
1: +struct ieee80211_sta_tx_tspec {
1: + long unsigned int time_slice_start;
1: + u32 admitted_time;
1: + u8 tsid;
1: + s8 up;
1: + u32 consumed_tx_time;
1: + enum {
1: + TX_TSPEC_ACTION_NONE = 0,
1: + TX_TSPEC_ACTION_DOWNGRADE = 1,
1: + TX_TSPEC_ACTION_STOP_DOWNGRADE = 2,
1: + } action;
1: + bool downgraded;
1: +};
1: +
1: +struct ieee80211_mgd_auth_data;
1: +
1: +struct ieee80211_mgd_assoc_data;
1: +
1: +struct ieee80211_if_managed {
1: + struct timer_list timer;
1: + struct timer_list conn_mon_timer;
1: + struct timer_list bcn_mon_timer;
1: + struct timer_list chswitch_timer;
1: + struct work_struct monitor_work;
1: + struct work_struct chswitch_work;
1: + struct work_struct beacon_connection_loss_work;
1: + struct work_struct csa_connection_drop_work;
1: + long unsigned int beacon_timeout;
1: + long unsigned int probe_timeout;
1: + int probe_send_count;
1: + bool nullfunc_failed;
1: + bool connection_loss;
1: + short: 16;
1: + struct cfg80211_bss *associated;
1: + struct ieee80211_mgd_auth_data *auth_data;
1: + struct ieee80211_mgd_assoc_data *assoc_data;
1: + u8 bssid[6];
1: + u16 aid;
1: + bool powersave;
1: + bool broken_ap;
1: + bool have_beacon;
1: + u8 dtim_period;
1: + enum ieee80211_smps_mode req_smps;
1: + enum ieee80211_smps_mode driver_smps_mode;
1: + int: 32;
1: + struct work_struct request_smps_work;
1: + unsigned int flags;
1: + bool csa_waiting_bcn;
1: + bool csa_ignored_same_chan;
1: + bool beacon_crc_valid;
1: + char: 8;
1: + u32 beacon_crc;
1: + bool status_acked;
1: + bool status_received;
1: + __le16 status_fc;
1: + enum {
1: + IEEE80211_MFP_DISABLED = 0,
1: + IEEE80211_MFP_OPTIONAL = 1,
1: + IEEE80211_MFP_REQUIRED = 2,
1: + } mfp;
1: + unsigned int uapsd_queues;
1: + unsigned int uapsd_max_sp_len;
1: + int wmm_last_param_set;
1: + int mu_edca_last_param_set;
1: + u8 use_4addr;
1: + char: 8;
1: + s16 p2p_noa_index;
1: + struct ewma_beacon_signal ave_beacon_signal;
1: + unsigned int count_beacon_signal;
1: + unsigned int beacon_loss_count;
1: + int last_cqm_event_signal;
1: + int rssi_min_thold;
1: + int rssi_max_thold;
1: + int last_ave_beacon_signal;
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + struct ieee80211_vht_cap vht_capa;
1: + struct ieee80211_vht_cap vht_capa_mask;
1: + u8 tdls_peer[6];
1: + long: 48;
1: + struct delayed_work tdls_peer_del_work;
1: + struct sk_buff *orig_teardown_skb;
1: + struct sk_buff *teardown_skb;
1: + spinlock_t teardown_lock;
1: + bool tdls_chan_switch_prohibited;
1: + bool tdls_wider_bw_prohibited;
1: + short: 16;
1: + struct ieee80211_sta_tx_tspec tx_tspec[4];
1: + struct delayed_work tx_tspec_wk;
1: + u8 *assoc_req_ies;
1: + size_t assoc_req_ies_len;
1: +} __attribute__((packed));
1: +
1: +struct ieee80211_if_ibss {
1: + struct timer_list timer;
1: + struct work_struct csa_connection_drop_work;
1: + long unsigned int last_scan_completed;
1: + u32 basic_rates;
1: + bool fixed_bssid;
1: + bool fixed_channel;
1: + bool privacy;
1: + bool control_port;
1: + bool userspace_handles_dfs;
1: + char: 8;
1: + u8 bssid[6];
1: + u8 ssid[32];
1: + u8 ssid_len;
1: + u8 ie_len;
1: + long: 48;
1: + u8 *ie;
1: + struct cfg80211_chan_def chandef;
1: + long unsigned int ibss_join_req;
1: + struct beacon_data *presp;
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + spinlock_t incomplete_lock;
1: + struct list_head incomplete_stations;
1: + enum {
1: + IEEE80211_IBSS_MLME_SEARCH = 0,
1: + IEEE80211_IBSS_MLME_JOINED = 1,
1: + } state;
1: + int: 32;
1: +} __attribute__((packed));
1: +
1: +struct mesh_preq_queue {
1: + struct list_head list;
1: + u8 dst[6];
1: + u8 flags;
1: +};
1: +
1: +struct mesh_stats {
1: + __u32 fwded_mcast;
1: + __u32 fwded_unicast;
1: + __u32 fwded_frames;
1: + __u32 dropped_frames_ttl;
1: + __u32 dropped_frames_no_route;
1: + __u32 dropped_frames_congestion;
1: +};
1: +
1: +struct mesh_rmc;
1: +
1: +struct ieee80211_mesh_sync_ops;
1: +
1: +struct mesh_csa_settings;
1: +
1: +struct mesh_table;
1: +
1: +struct ieee80211_if_mesh {
1: + struct timer_list housekeeping_timer;
1: + struct timer_list mesh_path_timer;
1: + struct timer_list mesh_path_root_timer;
1: + long unsigned int wrkq_flags;
1: + long unsigned int mbss_changed;
1: + bool userspace_handles_dfs;
1: + u8 mesh_id[32];
1: + size_t mesh_id_len;
1: + u8 mesh_pp_id;
1: + u8 mesh_pm_id;
1: + u8 mesh_cc_id;
1: + u8 mesh_sp_id;
1: + u8 mesh_auth_id;
1: + u32 sn;
1: + u32 preq_id;
1: + atomic_t mpaths;
1: + long unsigned int last_sn_update;
1: + long unsigned int next_perr;
1: + long unsigned int last_preq;
1: + struct mesh_rmc *rmc;
1: + spinlock_t mesh_preq_queue_lock;
1: + struct mesh_preq_queue preq_queue;
1: + int preq_queue_len;
1: + struct mesh_stats mshstats;
1: + struct mesh_config mshcfg;
1: + atomic_t estab_plinks;
1: + u32 mesh_seqnum;
1: + bool accepting_plinks;
1: + int num_gates;
1: + struct beacon_data *beacon;
1: + const u8 *ie;
1: + u8 ie_len;
1: + enum {
1: + IEEE80211_MESH_SEC_NONE = 0,
1: + IEEE80211_MESH_SEC_AUTHED = 1,
1: + IEEE80211_MESH_SEC_SECURED = 2,
1: + } security;
1: + bool user_mpm;
1: + const struct ieee80211_mesh_sync_ops *sync_ops;
1: + s64 sync_offset_clockdrift_max;
1: + spinlock_t sync_offset_lock;
1: + enum nl80211_mesh_power_mode nonpeer_pm;
1: + int ps_peers_light_sleep;
1: + int ps_peers_deep_sleep;
1: + struct ps_data ps;
1: + struct mesh_csa_settings *csa;
1: + enum {
1: + IEEE80211_MESH_CSA_ROLE_NONE = 0,
1: + IEEE80211_MESH_CSA_ROLE_INIT = 1,
1: + IEEE80211_MESH_CSA_ROLE_REPEATER = 2,
1: + } csa_role;
1: + u8 chsw_ttl;
1: + u16 pre_value;
1: + int meshconf_offset;
1: + struct mesh_table *mesh_paths;
1: + struct mesh_table *mpp_paths;
1: + int mesh_paths_generation;
1: + int mpp_paths_generation;
1: +};
1: +
1: +struct ieee80211_if_ocb {
1: + struct timer_list housekeeping_timer;
1: + long unsigned int wrkq_flags;
1: + spinlock_t incomplete_lock;
1: + struct list_head incomplete_stations;
1: + bool joined;
1: +};
1: +
1: +struct ieee80211_if_mntr {
1: + u32 flags;
1: + u8 mu_follow_addr[6];
1: + struct list_head list;
1: +};
1: +
1: +struct ieee80211_if_nan {
1: + struct cfg80211_nan_conf conf;
1: + spinlock_t func_lock;
1: + struct idr function_inst_ids;
1: +};
1: +
1: +struct mac80211_qos_map;
1: +
1: +struct ieee80211_chanctx;
1: +
1: +struct ieee80211_sub_if_data {
1: + struct list_head list;
1: + struct wireless_dev wdev;
1: + struct list_head key_list;
1: + int crypto_tx_tailroom_needed_cnt;
1: + int crypto_tx_tailroom_pending_dec;
1: + struct delayed_work dec_tailroom_needed_wk;
1: + struct net_device *dev;
1: + struct ieee80211_local *local;
1: + unsigned int flags;
1: + long unsigned int state;
1: + char name[16];
1: + struct ieee80211_fragment_entry fragments[4];
1: + unsigned int fragment_next;
1: + u16 noack_map;
1: + u8 wmm_acm;
1: + struct ieee80211_key *keys[6];
1: + struct ieee80211_key *default_unicast_key;
1: + struct ieee80211_key *default_multicast_key;
1: + struct ieee80211_key *default_mgmt_key;
1: + u16 sequence_number;
1: + __be16 control_port_protocol;
1: + bool control_port_no_encrypt;
1: + bool control_port_over_nl80211;
1: + int encrypt_headroom;
1: + atomic_t num_tx_queued;
1: + struct ieee80211_tx_queue_params tx_conf[4];
1: + struct mac80211_qos_map *qos_map;
1: + struct work_struct csa_finalize_work;
1: + bool csa_block_tx;
1: + struct cfg80211_chan_def csa_chandef;
1: + struct list_head assigned_chanctx_list;
1: + struct list_head reserved_chanctx_list;
1: + struct ieee80211_chanctx *reserved_chanctx;
1: + struct cfg80211_chan_def reserved_chandef;
1: + bool reserved_radar_required;
1: + bool reserved_ready;
1: + struct work_struct recalc_smps;
1: + struct work_struct work;
1: + struct sk_buff_head skb_queue;
1: + u8 needed_rx_chains;
1: + enum ieee80211_smps_mode smps_mode;
1: + int user_power_level;
1: + int ap_power_level;
1: + bool radar_required;
1: + struct delayed_work dfs_cac_timer_work;
1: + struct ieee80211_if_ap *bss;
1: + u32 rc_rateidx_mask[4];
1: + bool rc_has_mcs_mask[4];
1: + u8 rc_rateidx_mcs_mask[40];
1: + bool rc_has_vht_mcs_mask[4];
1: + u16 rc_rateidx_vht_mcs_mask[32];
1: + union {
1: + struct ieee80211_if_ap ap;
1: + struct ieee80211_if_wds wds;
1: + struct ieee80211_if_vlan vlan;
1: + struct ieee80211_if_managed mgd;
1: + struct ieee80211_if_ibss ibss;
1: + struct ieee80211_if_mesh mesh;
1: + struct ieee80211_if_ocb ocb;
1: + struct ieee80211_if_mntr mntr;
1: + struct ieee80211_if_nan nan;
1: + } u;
1: + struct ieee80211_vif vif;
1: +};
1: +
1: +struct ieee80211_sta_rx_stats {
1: + long unsigned int packets;
1: + long unsigned int last_rx;
1: + long unsigned int num_duplicates;
1: + long unsigned int fragments;
1: + long unsigned int dropped;
1: + int last_signal;
1: + u8 chains;
1: + s8 chain_signal_last[4];
1: + u32 last_rate;
1: + struct u64_stats_sync syncp;
1: + u64 bytes;
1: + u64 msdu[17];
1: +};
1: +
1: +struct ewma_signal {
1: + long unsigned int internal;
1: +};
1: +
1: +struct ewma_avg_signal {
1: + long unsigned int internal;
1: +};
1: +
1: +struct airtime_info {
1: + u64 rx_airtime;
1: + u64 tx_airtime;
1: + s64 deficit;
1: + atomic_t aql_tx_pending;
1: + u32 aql_limit_low;
1: + u32 aql_limit_high;
1: +};
1: +
1: +struct tid_ampdu_rx;
1: +
1: +struct tid_ampdu_tx;
1: +
1: +struct sta_ampdu_mlme {
1: + struct mutex mtx;
1: + struct tid_ampdu_rx *tid_rx[16];
1: + u8 tid_rx_token[16];
1: + long unsigned int tid_rx_timer_expired[1];
1: + long unsigned int tid_rx_stop_requested[1];
1: + long unsigned int tid_rx_manage_offl[1];
1: + long unsigned int agg_session_valid[1];
1: + long unsigned int unexpected_agg[1];
1: + struct work_struct work;
1: + struct tid_ampdu_tx *tid_tx[16];
1: + struct tid_ampdu_tx *tid_start_tx[16];
1: + long unsigned int last_addba_req_time[16];
1: + u8 addba_req_num[16];
1: + u8 dialog_token_allocator;
1: +};
1: +
1: +struct ieee80211_fast_tx;
1: +
1: +struct ieee80211_fast_rx;
1: +
1: +struct sta_info {
1: + struct list_head list;
1: + struct list_head free_list;
1: + struct callback_head callback_head;
1: + struct rhlist_head hash_node;
1: + u8 addr[6];
1: + struct ieee80211_local *local;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct ieee80211_key *gtk[6];
1: + struct ieee80211_key *ptk[4];
1: + u8 ptk_idx;
1: + struct rate_control_ref *rate_ctrl;
1: + void *rate_ctrl_priv;
1: + spinlock_t rate_ctrl_lock;
1: + spinlock_t lock;
1: + struct ieee80211_fast_tx *fast_tx;
1: + struct ieee80211_fast_rx *fast_rx;
1: + struct ieee80211_sta_rx_stats *pcpu_rx_stats;
1: + struct work_struct drv_deliver_wk;
1: + u16 listen_interval;
1: + bool dead;
1: + bool removed;
1: + bool uploaded;
1: + enum ieee80211_sta_state sta_state;
1: + long unsigned int _flags;
1: + spinlock_t ps_lock;
1: + struct sk_buff_head ps_tx_buf[4];
1: + struct sk_buff_head tx_filtered[4];
1: + long unsigned int driver_buffered_tids;
1: + long unsigned int txq_buffered_tids;
1: + u64 assoc_at;
1: + long int last_connected;
1: + struct ieee80211_sta_rx_stats rx_stats;
1: + struct {
1: + struct ewma_signal signal;
1: + struct ewma_signal chain_signal[4];
1: + } rx_stats_avg;
1: + __le16 last_seq_ctrl[17];
1: + struct {
1: + long unsigned int filtered;
1: + long unsigned int retry_failed;
1: + long unsigned int retry_count;
1: + unsigned int lost_packets;
1: + long unsigned int last_tdls_pkt_time;
1: + u64 msdu_retries[17];
1: + u64 msdu_failed[17];
1: + long unsigned int last_ack;
1: + s8 last_ack_signal;
1: + bool ack_signal_filled;
1: + struct ewma_avg_signal avg_ack_signal;
1: + } status_stats;
1: + struct {
1: + u64 packets[4];
1: + u64 bytes[4];
1: + struct ieee80211_tx_rate last_rate;
1: + u64 msdu[17];
1: + } tx_stats;
1: + u16 tid_seq[16];
1: + struct airtime_info airtime[4];
1: + u16 airtime_weight;
1: + struct sta_ampdu_mlme ampdu_mlme;
1: + enum ieee80211_sta_rx_bandwidth cur_max_bandwidth;
1: + enum ieee80211_smps_mode known_smps_mode;
1: + const struct ieee80211_cipher_scheme *cipher_scheme;
1: + struct codel_params cparams;
1: + u8 reserved_tid;
1: + struct cfg80211_chan_def tdls_chandef;
1: + struct ieee80211_sta sta;
1: +};
1: +
1: +struct tid_ampdu_tx {
1: + struct callback_head callback_head;
1: + struct timer_list session_timer;
1: + struct timer_list addba_resp_timer;
1: + struct sk_buff_head pending;
1: + struct sta_info *sta;
1: + long unsigned int state;
1: + long unsigned int last_tx;
1: + u16 timeout;
1: + u8 dialog_token;
1: + u8 stop_initiator;
1: + bool tx_stop;
1: + u16 buf_size;
1: + u16 failed_bar_ssn;
1: + bool bar_pending;
1: + bool amsdu;
1: + u8 tid;
1: +};
1: +
1: +struct tid_ampdu_rx {
1: + struct callback_head callback_head;
1: + spinlock_t reorder_lock;
1: + u64 reorder_buf_filtered;
1: + struct sk_buff_head *reorder_buf;
1: + long unsigned int *reorder_time;
1: + struct sta_info *sta;
1: + struct timer_list session_timer;
1: + struct timer_list reorder_timer;
1: + long unsigned int last_rx;
1: + u16 head_seq_num;
1: + u16 stored_mpdu_num;
1: + u16 ssn;
1: + u16 buf_size;
1: + u16 timeout;
1: + u8 tid;
1: + u8 auto_seq: 1;
1: + u8 removed: 1;
1: + u8 started: 1;
1: +};
1: +
1: +struct ieee80211_fast_tx {
1: + struct ieee80211_key *key;
1: + u8 hdr_len;
1: + u8 sa_offs;
1: + u8 da_offs;
1: + u8 pn_offs;
1: + u8 band;
1: + char: 8;
1: + u8 hdr[56];
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct ieee80211_fast_rx {
1: + struct net_device *dev;
1: + enum nl80211_iftype vif_type;
1: + u8 vif_addr[6];
1: + u8 rfc1042_hdr[6];
1: + __be16 control_port_protocol;
1: + __le16 expected_ds_bits;
1: + u8 icv_len;
1: + u8 key: 1;
1: + u8 sta_notify: 1;
1: + u8 internal_forward: 1;
1: + u8 uses_rss: 1;
1: + u8 da_offs;
1: + u8 sa_offs;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct rate_control_ref {
1: + const struct rate_control_ops *ops;
1: + void *priv;
1: +};
1: +
1: +struct beacon_data {
1: + u8 *head;
1: + u8 *tail;
1: + int head_len;
1: + int tail_len;
1: + struct ieee80211_meshconf_ie *meshconf;
1: + u16 csa_counter_offsets[2];
1: + u8 csa_current_counter;
1: + struct callback_head callback_head;
1: +};
1: +
1: +struct probe_resp {
1: + struct callback_head callback_head;
1: + int len;
1: + u16 csa_counter_offsets[2];
1: + u8 data[0];
1: +};
1: +
1: +struct ieee80211_mgd_auth_data {
1: + struct cfg80211_bss *bss;
1: + long unsigned int timeout;
1: + int tries;
1: + u16 algorithm;
1: + u16 expected_transaction;
1: + u8 key[13];
1: + u8 key_len;
1: + u8 key_idx;
1: + bool done;
1: + bool peer_confirmed;
1: + bool timeout_started;
1: + u16 sae_trans;
1: + u16 sae_status;
1: + size_t data_len;
1: + u8 data[0];
1: +};
1: +
1: +struct ieee80211_mgd_assoc_data {
1: + struct cfg80211_bss *bss;
1: + const u8 *supp_rates;
1: + long unsigned int timeout;
1: + int tries;
1: + u16 capability;
1: + u8 prev_bssid[6];
1: + u8 ssid[32];
1: + u8 ssid_len;
1: + u8 supp_rates_len;
1: + bool wmm;
1: + bool uapsd;
1: + bool need_beacon;
1: + bool synced;
1: + bool timeout_started;
1: + u8 ap_ht_param;
1: + struct ieee80211_vht_cap ap_vht_cap;
1: + u8 fils_nonces[32];
1: + u8 fils_kek[64];
1: + size_t fils_kek_len;
1: + size_t ie_len;
1: + u8 ie[0];
1: +};
1: +
1: +struct ieee802_11_elems;
1: +
1: +struct ieee80211_mesh_sync_ops {
1: + void (*rx_bcn_presp)(struct ieee80211_sub_if_data *, u16, struct ieee80211_mgmt *, struct ieee802_11_elems *, struct ieee80211_rx_status *);
1: + void (*adjust_tsf)(struct ieee80211_sub_if_data *, struct beacon_data *);
1: +};
1: +
1: +struct ieee802_11_elems {
1: + const u8 *ie_start;
1: + size_t total_len;
1: + const struct ieee80211_tdls_lnkie *lnk_id;
1: + const struct ieee80211_ch_switch_timing *ch_sw_timing;
1: + const u8 *ext_capab;
1: + const u8 *ssid;
1: + const u8 *supp_rates;
1: + const u8 *ds_params;
1: + const struct ieee80211_tim_ie *tim;
1: + const u8 *challenge;
1: + const u8 *rsn;
1: + const u8 *erp_info;
1: + const u8 *ext_supp_rates;
1: + const u8 *wmm_info;
1: + const u8 *wmm_param;
1: + const struct ieee80211_ht_cap *ht_cap_elem;
1: + const struct ieee80211_ht_operation *ht_operation;
1: + const struct ieee80211_vht_cap *vht_cap_elem;
1: + const struct ieee80211_vht_operation *vht_operation;
1: + const struct ieee80211_meshconf_ie *mesh_config;
1: + const u8 *he_cap;
1: + const struct ieee80211_he_operation *he_operation;
1: + const struct ieee80211_he_spr *he_spr;
1: + const struct ieee80211_mu_edca_param_set *mu_edca_param_set;
1: + const u8 *uora_element;
1: + const u8 *mesh_id;
1: + const u8 *peering;
1: + const __le16 *awake_window;
1: + const u8 *preq;
1: + const u8 *prep;
1: + const u8 *perr;
1: + const struct ieee80211_rann_ie *rann;
1: + const struct ieee80211_channel_sw_ie *ch_switch_ie;
1: + const struct ieee80211_ext_chansw_ie *ext_chansw_ie;
1: + const struct ieee80211_wide_bw_chansw_ie *wide_bw_chansw_ie;
1: + const u8 *max_channel_switch_time;
1: + const u8 *country_elem;
1: + const u8 *pwr_constr_elem;
1: + const u8 *cisco_dtpc_elem;
1: + const struct ieee80211_timeout_interval_ie *timeout_int;
1: + const u8 *opmode_notif;
1: + const struct ieee80211_sec_chan_offs_ie *sec_chan_offs;
1: + struct ieee80211_mesh_chansw_params_ie *mesh_chansw_params_ie;
1: + const struct ieee80211_bss_max_idle_period_ie *max_idle_period_ie;
1: + const struct ieee80211_multiple_bssid_configuration *mbssid_config_ie;
1: + const struct ieee80211_bssid_index *bssid_index;
1: + u8 max_bssid_indicator;
1: + u8 dtim_count;
1: + u8 dtim_period;
1: + const struct ieee80211_addba_ext_ie *addba_ext_ie;
1: + u8 ext_capab_len;
1: + u8 ssid_len;
1: + u8 supp_rates_len;
1: + u8 tim_len;
1: + u8 challenge_len;
1: + u8 rsn_len;
1: + u8 ext_supp_rates_len;
1: + u8 wmm_info_len;
1: + u8 wmm_param_len;
1: + u8 he_cap_len;
1: + u8 mesh_id_len;
1: + u8 peering_len;
1: + u8 preq_len;
1: + u8 prep_len;
1: + u8 perr_len;
1: + u8 country_elem_len;
1: + u8 bssid_index_len;
1: + bool parse_error;
1: +};
1: +
1: +struct mesh_csa_settings {
1: + struct callback_head callback_head;
1: + struct cfg80211_csa_settings settings;
1: +};
1: +
1: +struct mesh_rmc {
1: + struct hlist_head bucket[256];
1: + u32 idx_mask;
1: +};
1: +
1: +struct mesh_table {
1: + struct hlist_head known_gates;
1: + spinlock_t gates_lock;
1: + struct rhashtable rhead;
1: + struct hlist_head walk_head;
1: + spinlock_t walk_lock;
1: + atomic_t entries;
1: +};
1: +
1: +enum ieee80211_sub_if_data_flags {
1: + IEEE80211_SDATA_ALLMULTI = 1,
1: + IEEE80211_SDATA_OPERATING_GMODE = 4,
1: + IEEE80211_SDATA_DONT_BRIDGE_PACKETS = 8,
1: + IEEE80211_SDATA_DISCONNECT_RESUME = 16,
1: + IEEE80211_SDATA_IN_DRIVER = 32,
1: +};
1: +
1: +enum ieee80211_chanctx_mode {
1: + IEEE80211_CHANCTX_SHARED = 0,
1: + IEEE80211_CHANCTX_EXCLUSIVE = 1,
1: +};
1: +
1: +enum ieee80211_chanctx_replace_state {
1: + IEEE80211_CHANCTX_REPLACE_NONE = 0,
1: + IEEE80211_CHANCTX_WILL_BE_REPLACED = 1,
1: + IEEE80211_CHANCTX_REPLACES_OTHER = 2,
1: +};
1: +
1: +struct ieee80211_chanctx {
1: + struct list_head list;
1: + struct callback_head callback_head;
1: + struct list_head assigned_vifs;
1: + struct list_head reserved_vifs;
1: + enum ieee80211_chanctx_replace_state replace_state;
1: + struct ieee80211_chanctx *replace_ctx;
1: + enum ieee80211_chanctx_mode mode;
1: + bool driver_present;
1: + struct ieee80211_chanctx_conf conf;
1: +};
1: +
1: +struct mac80211_qos_map {
1: + struct cfg80211_qos_map qos_map;
1: + struct callback_head callback_head;
1: +};
1: +
1: +enum {
1: + IEEE80211_RX_MSG = 1,
1: + IEEE80211_TX_STATUS_MSG = 2,
1: +};
1: +
1: +enum queue_stop_reason {
1: + IEEE80211_QUEUE_STOP_REASON_DRIVER = 0,
1: + IEEE80211_QUEUE_STOP_REASON_PS = 1,
1: + IEEE80211_QUEUE_STOP_REASON_CSA = 2,
1: + IEEE80211_QUEUE_STOP_REASON_AGGREGATION = 3,
1: + IEEE80211_QUEUE_STOP_REASON_SUSPEND = 4,
1: + IEEE80211_QUEUE_STOP_REASON_SKB_ADD = 5,
1: + IEEE80211_QUEUE_STOP_REASON_OFFCHANNEL = 6,
1: + IEEE80211_QUEUE_STOP_REASON_FLUSH = 7,
1: + IEEE80211_QUEUE_STOP_REASON_TDLS_TEARDOWN = 8,
1: + IEEE80211_QUEUE_STOP_REASON_RESERVE_TID = 9,
1: + IEEE80211_QUEUE_STOP_REASONS = 10,
1: +};
1: +
1: +struct tpt_led_trigger {
1: + char name[32];
1: + const struct ieee80211_tpt_blink *blink_table;
1: + unsigned int blink_table_len;
1: + struct timer_list timer;
1: + struct ieee80211_local *local;
1: + long unsigned int prev_traffic;
1: + long unsigned int tx_bytes;
1: + long unsigned int rx_bytes;
1: + unsigned int active;
1: + unsigned int want;
1: + bool running;
1: +};
1: +
1: +enum {
1: + SCAN_SW_SCANNING = 0,
1: + SCAN_HW_SCANNING = 1,
1: + SCAN_ONCHANNEL_SCANNING = 2,
1: + SCAN_COMPLETED = 3,
1: + SCAN_ABORTED = 4,
1: + SCAN_HW_CANCELLED = 5,
1: +};
1: +
1: +typedef struct bio_vec___2 skb_frag_t___2;
1: +
1: +struct ieee80211_bar {
1: + __le16 frame_control;
1: + __le16 duration;
1: + __u8 ra[6];
1: + __u8 ta[6];
1: + __le16 control;
1: + __le16 start_seq_num;
1: +};
1: +
1: +enum ieee80211_ht_actioncode {
1: + WLAN_HT_ACTION_NOTIFY_CHANWIDTH = 0,
1: + WLAN_HT_ACTION_SMPS = 1,
1: + WLAN_HT_ACTION_PSMP = 2,
1: + WLAN_HT_ACTION_PCO_PHASE = 3,
1: + WLAN_HT_ACTION_CSI = 4,
1: + WLAN_HT_ACTION_NONCOMPRESSED_BF = 5,
1: + WLAN_HT_ACTION_COMPRESSED_BF = 6,
1: + WLAN_HT_ACTION_ASEL_IDX_FEEDBACK = 7,
1: +};
1: +
1: +enum ieee80211_tdls_actioncode {
1: + WLAN_TDLS_SETUP_REQUEST = 0,
1: + WLAN_TDLS_SETUP_RESPONSE = 1,
1: + WLAN_TDLS_SETUP_CONFIRM = 2,
1: + WLAN_TDLS_TEARDOWN = 3,
1: + WLAN_TDLS_PEER_TRAFFIC_INDICATION = 4,
1: + WLAN_TDLS_CHANNEL_SWITCH_REQUEST = 5,
1: + WLAN_TDLS_CHANNEL_SWITCH_RESPONSE = 6,
1: + WLAN_TDLS_PEER_PSM_REQUEST = 7,
1: + WLAN_TDLS_PEER_PSM_RESPONSE = 8,
1: + WLAN_TDLS_PEER_TRAFFIC_RESPONSE = 9,
1: + WLAN_TDLS_DISCOVERY_REQUEST = 10,
1: +};
1: +
1: +enum ieee80211_radiotap_tx_flags {
1: + IEEE80211_RADIOTAP_F_TX_FAIL = 1,
1: + IEEE80211_RADIOTAP_F_TX_CTS = 2,
1: + IEEE80211_RADIOTAP_F_TX_RTS = 4,
1: + IEEE80211_RADIOTAP_F_TX_NOACK = 8,
1: +};
1: +
1: +enum ieee80211_radiotap_mcs_flags {
1: + IEEE80211_RADIOTAP_MCS_BW_MASK = 3,
1: + IEEE80211_RADIOTAP_MCS_BW_20 = 0,
1: + IEEE80211_RADIOTAP_MCS_BW_40 = 1,
1: + IEEE80211_RADIOTAP_MCS_BW_20L = 2,
1: + IEEE80211_RADIOTAP_MCS_BW_20U = 3,
1: + IEEE80211_RADIOTAP_MCS_SGI = 4,
1: + IEEE80211_RADIOTAP_MCS_FMT_GF = 8,
1: + IEEE80211_RADIOTAP_MCS_FEC_LDPC = 16,
1: + IEEE80211_RADIOTAP_MCS_STBC_MASK = 96,
1: + IEEE80211_RADIOTAP_MCS_STBC_1 = 1,
1: + IEEE80211_RADIOTAP_MCS_STBC_2 = 2,
1: + IEEE80211_RADIOTAP_MCS_STBC_3 = 3,
1: + IEEE80211_RADIOTAP_MCS_STBC_SHIFT = 5,
1: +};
1: +
1: +enum ieee80211_radiotap_vht_flags {
1: + IEEE80211_RADIOTAP_VHT_FLAG_STBC = 1,
1: + IEEE80211_RADIOTAP_VHT_FLAG_TXOP_PS_NA = 2,
1: + IEEE80211_RADIOTAP_VHT_FLAG_SGI = 4,
1: + IEEE80211_RADIOTAP_VHT_FLAG_SGI_NSYM_M10_9 = 8,
1: + IEEE80211_RADIOTAP_VHT_FLAG_LDPC_EXTRA_OFDM_SYM = 16,
1: + IEEE80211_RADIOTAP_VHT_FLAG_BEAMFORMED = 32,
1: +};
1: +
1: +struct ieee80211_radiotap_he {
1: + __le16 data1;
1: + __le16 data2;
1: + __le16 data3;
1: + __le16 data4;
1: + __le16 data5;
1: + __le16 data6;
1: +};
1: +
1: +enum ieee80211_radiotap_he_bits {
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_MASK = 3,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_SU = 0,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_EXT_SU = 1,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_MU = 2,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_TRIG = 3,
1: + IEEE80211_RADIOTAP_HE_DATA1_BSS_COLOR_KNOWN = 4,
1: + IEEE80211_RADIOTAP_HE_DATA1_BEAM_CHANGE_KNOWN = 8,
1: + IEEE80211_RADIOTAP_HE_DATA1_UL_DL_KNOWN = 16,
1: + IEEE80211_RADIOTAP_HE_DATA1_DATA_MCS_KNOWN = 32,
1: + IEEE80211_RADIOTAP_HE_DATA1_DATA_DCM_KNOWN = 64,
1: + IEEE80211_RADIOTAP_HE_DATA1_CODING_KNOWN = 128,
1: + IEEE80211_RADIOTAP_HE_DATA1_LDPC_XSYMSEG_KNOWN = 256,
1: + IEEE80211_RADIOTAP_HE_DATA1_STBC_KNOWN = 512,
1: + IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE_KNOWN = 1024,
1: + IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE2_KNOWN = 2048,
1: + IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE3_KNOWN = 4096,
1: + IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE4_KNOWN = 8192,
1: + IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWN = 16384,
1: + IEEE80211_RADIOTAP_HE_DATA1_DOPPLER_KNOWN = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_KNOWN = 1,
1: + IEEE80211_RADIOTAP_HE_DATA2_GI_KNOWN = 2,
1: + IEEE80211_RADIOTAP_HE_DATA2_NUM_LTF_SYMS_KNOWN = 4,
1: + IEEE80211_RADIOTAP_HE_DATA2_PRE_FEC_PAD_KNOWN = 8,
1: + IEEE80211_RADIOTAP_HE_DATA2_TXBF_KNOWN = 16,
1: + IEEE80211_RADIOTAP_HE_DATA2_PE_DISAMBIG_KNOWN = 32,
1: + IEEE80211_RADIOTAP_HE_DATA2_TXOP_KNOWN = 64,
1: + IEEE80211_RADIOTAP_HE_DATA2_MIDAMBLE_KNOWN = 128,
1: + IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET = 16128,
1: + IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET_KNOWN = 16384,
1: + IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_SEC = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA3_BSS_COLOR = 63,
1: + IEEE80211_RADIOTAP_HE_DATA3_BEAM_CHANGE = 64,
1: + IEEE80211_RADIOTAP_HE_DATA3_UL_DL = 128,
1: + IEEE80211_RADIOTAP_HE_DATA3_DATA_MCS = 3840,
1: + IEEE80211_RADIOTAP_HE_DATA3_DATA_DCM = 4096,
1: + IEEE80211_RADIOTAP_HE_DATA3_CODING = 8192,
1: + IEEE80211_RADIOTAP_HE_DATA3_LDPC_XSYMSEG = 16384,
1: + IEEE80211_RADIOTAP_HE_DATA3_STBC = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA4_SU_MU_SPTL_REUSE = 15,
1: + IEEE80211_RADIOTAP_HE_DATA4_MU_STA_ID = 32752,
1: + IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE1 = 15,
1: + IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE2 = 240,
1: + IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE3 = 3840,
1: + IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE4 = 61440,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC = 15,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_20MHZ = 0,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_40MHZ = 1,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_80MHZ = 2,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_160MHZ = 3,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_26T = 4,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_52T = 5,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_106T = 6,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_242T = 7,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_484T = 8,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_996T = 9,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_2x996T = 10,
1: + IEEE80211_RADIOTAP_HE_DATA5_GI = 48,
1: + IEEE80211_RADIOTAP_HE_DATA5_GI_0_8 = 0,
1: + IEEE80211_RADIOTAP_HE_DATA5_GI_1_6 = 1,
1: + IEEE80211_RADIOTAP_HE_DATA5_GI_3_2 = 2,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE = 192,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_UNKNOWN = 0,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_1X = 1,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_2X = 2,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_4X = 3,
1: + IEEE80211_RADIOTAP_HE_DATA5_NUM_LTF_SYMS = 1792,
1: + IEEE80211_RADIOTAP_HE_DATA5_PRE_FEC_PAD = 12288,
1: + IEEE80211_RADIOTAP_HE_DATA5_TXBF = 16384,
1: + IEEE80211_RADIOTAP_HE_DATA5_PE_DISAMBIG = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA6_NSTS = 15,
1: + IEEE80211_RADIOTAP_HE_DATA6_DOPPLER = 16,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_KNOWN = 32,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW = 192,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_20MHZ = 0,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_40MHZ = 1,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_80MHZ = 2,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_160MHZ = 3,
1: + IEEE80211_RADIOTAP_HE_DATA6_TXOP = 32512,
1: + IEEE80211_RADIOTAP_HE_DATA6_MIDAMBLE_PDCTY = 32768,
1: +};
1: +
1: +enum ieee80211_ac_numbers {
1: + IEEE80211_AC_VO = 0,
1: + IEEE80211_AC_VI = 1,
1: + IEEE80211_AC_BE = 2,
1: + IEEE80211_AC_BK = 3,
1: +};
1: +
1: +enum mac80211_tx_info_flags {
1: + IEEE80211_TX_CTL_REQ_TX_STATUS = 1,
1: + IEEE80211_TX_CTL_ASSIGN_SEQ = 2,
1: + IEEE80211_TX_CTL_NO_ACK = 4,
1: + IEEE80211_TX_CTL_CLEAR_PS_FILT = 8,
1: + IEEE80211_TX_CTL_FIRST_FRAGMENT = 16,
1: + IEEE80211_TX_CTL_SEND_AFTER_DTIM = 32,
1: + IEEE80211_TX_CTL_AMPDU = 64,
1: + IEEE80211_TX_CTL_INJECTED = 128,
1: + IEEE80211_TX_STAT_TX_FILTERED = 256,
1: + IEEE80211_TX_STAT_ACK = 512,
1: + IEEE80211_TX_STAT_AMPDU = 1024,
1: + IEEE80211_TX_STAT_AMPDU_NO_BACK = 2048,
1: + IEEE80211_TX_CTL_RATE_CTRL_PROBE = 4096,
1: + IEEE80211_TX_INTFL_OFFCHAN_TX_OK = 8192,
1: + IEEE80211_TX_INTFL_NEED_TXPROCESSING = 16384,
1: + IEEE80211_TX_INTFL_RETRIED = 32768,
1: + IEEE80211_TX_INTFL_DONT_ENCRYPT = 65536,
1: + IEEE80211_TX_CTL_NO_PS_BUFFER = 131072,
1: + IEEE80211_TX_CTL_MORE_FRAMES = 262144,
1: + IEEE80211_TX_INTFL_RETRANSMISSION = 524288,
1: + IEEE80211_TX_INTFL_MLME_CONN_TX = 1048576,
1: + IEEE80211_TX_INTFL_NL80211_FRAME_TX = 2097152,
1: + IEEE80211_TX_CTL_LDPC = 4194304,
1: + IEEE80211_TX_CTL_STBC = 25165824,
1: + IEEE80211_TX_CTL_TX_OFFCHAN = 33554432,
1: + IEEE80211_TX_INTFL_TKIP_MIC_FAILURE = 67108864,
1: + IEEE80211_TX_CTL_NO_CCK_RATE = 134217728,
1: + IEEE80211_TX_STATUS_EOSP = 268435456,
1: + IEEE80211_TX_CTL_USE_MINRATE = 536870912,
1: + IEEE80211_TX_CTL_DONTFRAG = 1073741824,
1: + IEEE80211_TX_STAT_NOACK_TRANSMITTED = -2147483648,
1: +};
1: +
1: +enum mac80211_rate_control_flags {
1: + IEEE80211_TX_RC_USE_RTS_CTS = 1,
1: + IEEE80211_TX_RC_USE_CTS_PROTECT = 2,
1: + IEEE80211_TX_RC_USE_SHORT_PREAMBLE = 4,
1: + IEEE80211_TX_RC_MCS = 8,
1: + IEEE80211_TX_RC_GREEN_FIELD = 16,
1: + IEEE80211_TX_RC_40_MHZ_WIDTH = 32,
1: + IEEE80211_TX_RC_DUP_DATA = 64,
1: + IEEE80211_TX_RC_SHORT_GI = 128,
1: + IEEE80211_TX_RC_VHT_MCS = 256,
1: + IEEE80211_TX_RC_80_MHZ_WIDTH = 512,
1: + IEEE80211_TX_RC_160_MHZ_WIDTH = 1024,
1: +};
1: +
1: +enum ieee80211_sta_info_flags {
1: + WLAN_STA_AUTH = 0,
1: + WLAN_STA_ASSOC = 1,
1: + WLAN_STA_PS_STA = 2,
1: + WLAN_STA_AUTHORIZED = 3,
1: + WLAN_STA_SHORT_PREAMBLE = 4,
1: + WLAN_STA_WDS = 5,
1: + WLAN_STA_CLEAR_PS_FILT = 6,
1: + WLAN_STA_MFP = 7,
1: + WLAN_STA_BLOCK_BA = 8,
1: + WLAN_STA_PS_DRIVER = 9,
1: + WLAN_STA_PSPOLL = 10,
1: + WLAN_STA_TDLS_PEER = 11,
1: + WLAN_STA_TDLS_PEER_AUTH = 12,
1: + WLAN_STA_TDLS_INITIATOR = 13,
1: + WLAN_STA_TDLS_CHAN_SWITCH = 14,
1: + WLAN_STA_TDLS_OFF_CHANNEL = 15,
1: + WLAN_STA_TDLS_WIDER_BW = 16,
1: + WLAN_STA_UAPSD = 17,
1: + WLAN_STA_SP = 18,
1: + WLAN_STA_4ADDR_EVENT = 19,
1: + WLAN_STA_INSERTED = 20,
1: + WLAN_STA_RATE_CONTROL = 21,
1: + WLAN_STA_TOFFSET_KNOWN = 22,
1: + WLAN_STA_MPSP_OWNER = 23,
1: + WLAN_STA_MPSP_RECIPIENT = 24,
1: + WLAN_STA_PS_DELIVER = 25,
1: + NUM_WLAN_STA_FLAGS = 26,
1: +};
1: +
1: +enum ieee80211_sta_flags {
1: + IEEE80211_STA_CONNECTION_POLL = 2,
1: + IEEE80211_STA_CONTROL_PORT = 4,
1: + IEEE80211_STA_DISABLE_HT = 16,
1: + IEEE80211_STA_MFP_ENABLED = 64,
1: + IEEE80211_STA_UAPSD_ENABLED = 128,
1: + IEEE80211_STA_NULLFUNC_ACKED = 256,
1: + IEEE80211_STA_RESET_SIGNAL_AVE = 512,
1: + IEEE80211_STA_DISABLE_40MHZ = 1024,
1: + IEEE80211_STA_DISABLE_VHT = 2048,
1: + IEEE80211_STA_DISABLE_80P80MHZ = 4096,
1: + IEEE80211_STA_DISABLE_160MHZ = 8192,
1: + IEEE80211_STA_DISABLE_WMM = 16384,
1: + IEEE80211_STA_ENABLE_RRM = 32768,
1: + IEEE80211_STA_DISABLE_HE = 65536,
1: +};
1: +
1: +enum ieee80211_sdata_state_bits {
1: + SDATA_STATE_RUNNING = 0,
1: + SDATA_STATE_OFFCHANNEL = 1,
1: + SDATA_STATE_OFFCHANNEL_BEACON_STOPPED = 2,
1: +};
1: +
1: +enum ieee80211_rate_control_changed {
1: + IEEE80211_RC_BW_CHANGED = 1,
1: + IEEE80211_RC_SMPS_CHANGED = 2,
1: + IEEE80211_RC_SUPP_RATES_CHANGED = 4,
1: + IEEE80211_RC_NSS_CHANGED = 8,
1: +};
1: +
1: +struct codel_stats {
1: + u32 maxpacket;
1: + u32 drop_count;
1: + u32 drop_len;
1: + u32 ecn_mark;
1: + u32 ce_mark;
1: +};
1: +
1: +struct ieee80211_qos_hdr {
1: + __le16 frame_control;
1: + __le16 duration_id;
1: + u8 addr1[6];
1: + u8 addr2[6];
1: + u8 addr3[6];
1: + __le16 seq_ctrl;
1: + __le16 qos_ctrl;
1: +};
1: +
1: +enum mac80211_tx_control_flags {
1: + IEEE80211_TX_CTRL_PORT_CTRL_PROTO = 1,
1: + IEEE80211_TX_CTRL_PS_RESPONSE = 2,
1: + IEEE80211_TX_CTRL_RATE_INJECT = 4,
1: + IEEE80211_TX_CTRL_AMSDU = 8,
1: + IEEE80211_TX_CTRL_FAST_XMIT = 16,
1: + IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP = 32,
1: +};
1: +
1: +enum ieee80211_vif_flags {
1: + IEEE80211_VIF_BEACON_FILTER = 1,
1: + IEEE80211_VIF_SUPPORTS_CQM_RSSI = 2,
1: + IEEE80211_VIF_SUPPORTS_UAPSD = 4,
1: + IEEE80211_VIF_GET_NOA_UPDATE = 8,
1: +};
1: +
1: +enum ieee80211_agg_stop_reason {
1: + AGG_STOP_DECLINED = 0,
1: + AGG_STOP_LOCAL_REQUEST = 1,
1: + AGG_STOP_PEER_REQUEST = 2,
1: + AGG_STOP_DESTROY_STA = 3,
1: +};
1: +
1: +enum sta_stats_type {
1: + STA_STATS_RATE_TYPE_INVALID = 0,
1: + STA_STATS_RATE_TYPE_LEGACY = 1,
1: + STA_STATS_RATE_TYPE_HT = 2,
1: + STA_STATS_RATE_TYPE_VHT = 3,
1: + STA_STATS_RATE_TYPE_HE = 4,
1: +};
1: +
1: +struct txq_info {
1: + struct fq_tin tin;
1: + struct fq_flow def_flow;
1: + struct codel_vars def_cvars;
1: + struct codel_stats cstats;
1: + struct sk_buff_head frags;
1: + struct list_head schedule_order;
1: + u16 schedule_round;
1: + long unsigned int flags;
1: + struct ieee80211_txq txq;
1: +};
1: +
1: +enum mac80211_rx_flags {
1: + RX_FLAG_MMIC_ERROR = 1,
1: + RX_FLAG_DECRYPTED = 2,
1: + RX_FLAG_MACTIME_PLCP_START = 4,
1: + RX_FLAG_MMIC_STRIPPED = 8,
1: + RX_FLAG_IV_STRIPPED = 16,
1: + RX_FLAG_FAILED_FCS_CRC = 32,
1: + RX_FLAG_FAILED_PLCP_CRC = 64,
1: + RX_FLAG_MACTIME_START = 128,
1: + RX_FLAG_NO_SIGNAL_VAL = 256,
1: + RX_FLAG_AMPDU_DETAILS = 512,
1: + RX_FLAG_PN_VALIDATED = 1024,
1: + RX_FLAG_DUP_VALIDATED = 2048,
1: + RX_FLAG_AMPDU_LAST_KNOWN = 4096,
1: + RX_FLAG_AMPDU_IS_LAST = 8192,
1: + RX_FLAG_AMPDU_DELIM_CRC_ERROR = 16384,
1: + RX_FLAG_AMPDU_DELIM_CRC_KNOWN = 32768,
1: + RX_FLAG_MACTIME_END = 65536,
1: + RX_FLAG_ONLY_MONITOR = 131072,
1: + RX_FLAG_SKIP_MONITOR = 262144,
1: + RX_FLAG_AMSDU_MORE = 524288,
1: + RX_FLAG_RADIOTAP_VENDOR_DATA = 1048576,
1: + RX_FLAG_MIC_STRIPPED = 2097152,
1: + RX_FLAG_ALLOW_SAME_PN = 4194304,
1: + RX_FLAG_ICV_STRIPPED = 8388608,
1: + RX_FLAG_AMPDU_EOF_BIT = 16777216,
1: + RX_FLAG_AMPDU_EOF_BIT_KNOWN = 33554432,
1: + RX_FLAG_RADIOTAP_HE = 67108864,
1: + RX_FLAG_RADIOTAP_HE_MU = 134217728,
1: + RX_FLAG_RADIOTAP_LSIG = 268435456,
1: + RX_FLAG_NO_PSDU = 536870912,
1: +};
1: +
1: +enum ieee80211_key_flags {
1: + IEEE80211_KEY_FLAG_GENERATE_IV_MGMT = 1,
1: + IEEE80211_KEY_FLAG_GENERATE_IV = 2,
1: + IEEE80211_KEY_FLAG_GENERATE_MMIC = 4,
1: + IEEE80211_KEY_FLAG_PAIRWISE = 8,
1: + IEEE80211_KEY_FLAG_SW_MGMT_TX = 16,
1: + IEEE80211_KEY_FLAG_PUT_IV_SPACE = 32,
1: + IEEE80211_KEY_FLAG_RX_MGMT = 64,
1: + IEEE80211_KEY_FLAG_RESERVE_TAILROOM = 128,
1: + IEEE80211_KEY_FLAG_PUT_MIC_SPACE = 256,
1: + IEEE80211_KEY_FLAG_NO_AUTO_TX = 512,
1: + IEEE80211_KEY_FLAG_GENERATE_MMIE = 1024,
1: +};
1: +
1: +typedef unsigned int ieee80211_tx_result;
1: +
1: +struct ieee80211_tx_data {
1: + struct sk_buff *skb;
1: + struct sk_buff_head skbs;
1: + struct ieee80211_local *local;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct sta_info *sta;
1: + struct ieee80211_key *key;
1: + struct ieee80211_tx_rate rate;
1: + unsigned int flags;
1: +};
1: +
1: +typedef unsigned int ieee80211_rx_result;
1: +
1: +struct ieee80211_rx_data {
1: + struct napi_struct___2 *napi;
1: + struct sk_buff *skb;
1: + struct ieee80211_local *local;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct sta_info *sta;
1: + struct ieee80211_key *key;
1: + unsigned int flags;
1: + int seqno_idx;
1: + int security_idx;
1: + u32 tkip_iv32;
1: + u16 tkip_iv16;
1: +};
1: +
1: +struct ieee80211_mmie {
1: + u8 element_id;
1: + u8 length;
1: + __le16 key_id;
1: + u8 sequence_number[6];
1: + u8 mic[8];
1: +};
1: +
1: +struct ieee80211_mmie_16 {
1: + u8 element_id;
1: + u8 length;
1: + __le16 key_id;
1: + u8 sequence_number[6];
1: + u8 mic[16];
1: +};
1: +
1: +enum ieee80211_internal_key_flags {
1: + KEY_FLAG_UPLOADED_TO_HARDWARE = 1,
1: + KEY_FLAG_TAINTED = 2,
1: + KEY_FLAG_CIPHER_SCHEME = 4,
1: +};
1: +
1: +enum {
1: + TKIP_DECRYPT_OK = 0,
1: + TKIP_DECRYPT_NO_EXT_IV = -1,
1: + TKIP_DECRYPT_INVALID_KEYIDX = -2,
1: + TKIP_DECRYPT_REPLAY = -3,
1: +};
1: +
1: +enum mac80211_rx_encoding {
1: + RX_ENC_LEGACY = 0,
1: + RX_ENC_HT = 1,
1: + RX_ENC_VHT = 2,
1: + RX_ENC_HE = 3,
1: +};
1: +
1: +struct ieee80211_bss {
1: + u32 device_ts_beacon;
1: + u32 device_ts_presp;
1: + bool wmm_used;
1: + bool uapsd_supported;
1: + u8 supp_rates[32];
1: + size_t supp_rates_len;
1: + struct ieee80211_rate *beacon_rate;
1: + bool has_erp_value;
1: + u8 erp_value;
1: + u8 corrupt_data;
1: + u8 valid_data;
1: +};
1: +
1: +enum ieee80211_bss_corrupt_data_flags {
1: + IEEE80211_BSS_CORRUPT_BEACON = 1,
1: + IEEE80211_BSS_CORRUPT_PROBE_RESP = 2,
1: +};
1: +
1: +enum ieee80211_bss_valid_data_flags {
1: + IEEE80211_BSS_VALID_WMM = 2,
1: + IEEE80211_BSS_VALID_RATES = 4,
1: + IEEE80211_BSS_VALID_ERP = 8,
1: +};
1: +
1: +enum {
1: + IEEE80211_PROBE_FLAG_DIRECTED = 1,
1: + IEEE80211_PROBE_FLAG_MIN_CONTENT = 2,
1: + IEEE80211_PROBE_FLAG_RANDOM_SN = 4,
1: +};
1: +
1: +struct ieee80211_roc_work {
1: + struct list_head list;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct ieee80211_channel *chan;
1: + bool started;
1: + bool abort;
1: + bool hw_begun;
1: + bool notified;
1: + bool on_channel;
1: + long unsigned int start_time;
1: + u32 duration;
1: + u32 req_duration;
1: + struct sk_buff *frame;
1: + u64 cookie;
1: + u64 mgmt_tx_cookie;
1: + enum ieee80211_roc_type type;
1: +};
1: +
1: +enum ieee80211_back_actioncode {
1: + WLAN_ACTION_ADDBA_REQ = 0,
1: + WLAN_ACTION_ADDBA_RESP = 1,
1: + WLAN_ACTION_DELBA = 2,
1: +};
1: +
1: +enum ieee80211_back_parties {
1: + WLAN_BACK_RECIPIENT = 0,
1: + WLAN_BACK_INITIATOR = 1,
1: +};
1: +
1: +enum txq_info_flags {
1: + IEEE80211_TXQ_STOP = 0,
1: + IEEE80211_TXQ_AMPDU = 1,
1: + IEEE80211_TXQ_NO_AMSDU = 2,
1: + IEEE80211_TXQ_STOP_NETIF_TX = 3,
1: +};
1: +
1: +enum ieee80211_vht_opmode_bits {
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_MASK = 3,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_20MHZ = 0,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_40MHZ = 1,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_80MHZ = 2,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_160MHZ = 3,
1: + IEEE80211_OPMODE_NOTIF_RX_NSS_MASK = 112,
1: + IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT = 4,
1: + IEEE80211_OPMODE_NOTIF_RX_NSS_TYPE_BF = 128,
1: +};
1: +
1: +enum ieee80211_spectrum_mgmt_actioncode {
1: + WLAN_ACTION_SPCT_MSR_REQ = 0,
1: + WLAN_ACTION_SPCT_MSR_RPRT = 1,
1: + WLAN_ACTION_SPCT_TPC_REQ = 2,
1: + WLAN_ACTION_SPCT_TPC_RPRT = 3,
1: + WLAN_ACTION_SPCT_CHL_SWITCH = 4,
1: +};
1: +
1: +struct ieee80211_csa_ie {
1: + struct cfg80211_chan_def chandef;
1: + u8 mode;
1: + u8 count;
1: + u8 ttl;
1: + u16 pre_value;
1: + u16 reason_code;
1: + u32 max_switch_time;
1: +};
1: +
1: +enum ieee80211_vht_actioncode {
1: + WLAN_VHT_ACTION_COMPRESSED_BF = 0,
1: + WLAN_VHT_ACTION_GROUPID_MGMT = 1,
1: + WLAN_VHT_ACTION_OPMODE_NOTIF = 2,
1: +};
1: +
1: +enum ieee80211_tpt_led_trigger_flags {
1: + IEEE80211_TPT_LEDTRIG_FL_RADIO = 1,
1: + IEEE80211_TPT_LEDTRIG_FL_WORK = 2,
1: + IEEE80211_TPT_LEDTRIG_FL_CONNECTED = 4,
1: +};
1: +
1: +struct rate_control_alg {
1: + struct list_head list;
1: + const struct rate_control_ops *ops;
1: +};
1: +
1: +struct michael_mic_ctx {
1: + u32 l;
1: + u32 r;
1: +};
1: +
1: +struct ieee80211_csa_settings {
1: + const u16 *counter_offsets_beacon;
1: + const u16 *counter_offsets_presp;
1: + int n_counter_offsets_beacon;
1: + int n_counter_offsets_presp;
1: + u8 count;
1: +};
1: +
1: +struct ieee80211_hdr_3addr {
1: + __le16 frame_control;
1: + __le16 duration_id;
1: + u8 addr1[6];
1: + u8 addr2[6];
1: + u8 addr3[6];
1: + __le16 seq_ctrl;
1: +};
1: +
1: +enum ieee80211_ht_chanwidth_values {
1: + IEEE80211_HT_CHANWIDTH_20MHZ = 0,
1: + IEEE80211_HT_CHANWIDTH_ANY = 1,
1: +};
1: +
1: +struct ieee80211_tdls_data {
1: + u8 da[6];
1: + u8 sa[6];
1: + __be16 ether_type;
1: + u8 payload_type;
1: + u8 category;
1: + u8 action_code;
1: + union {
1: + struct {
1: + u8 dialog_token;
1: + __le16 capability;
1: + u8 variable[0];
1: + } __attribute__((packed)) setup_req;
1: + struct {
1: + __le16 status_code;
1: + u8 dialog_token;
1: + __le16 capability;
1: + u8 variable[0];
1: + } __attribute__((packed)) setup_resp;
1: + struct {
1: + __le16 status_code;
1: + u8 dialog_token;
1: + u8 variable[0];
1: + } __attribute__((packed)) setup_cfm;
1: + struct {
1: + __le16 reason_code;
1: + u8 variable[0];
1: + } teardown;
1: + struct {
1: + u8 dialog_token;
1: + u8 variable[0];
1: + } discover_req;
1: + struct {
1: + u8 target_channel;
1: + u8 oper_class;
1: + u8 variable[0];
1: + } chan_switch_req;
1: + struct {
1: + __le16 status_code;
1: + u8 variable[0];
1: + } chan_switch_resp;
1: + } u;
1: +} __attribute__((packed));
1: +
1: +enum ieee80211_self_protected_actioncode {
1: + WLAN_SP_RESERVED = 0,
1: + WLAN_SP_MESH_PEERING_OPEN = 1,
1: + WLAN_SP_MESH_PEERING_CONFIRM = 2,
1: + WLAN_SP_MESH_PEERING_CLOSE = 3,
1: + WLAN_SP_MGK_INFORM = 4,
1: + WLAN_SP_MGK_ACK = 5,
1: +};
1: +
1: +enum ieee80211_pub_actioncode {
1: + WLAN_PUB_ACTION_20_40_BSS_COEX = 0,
1: + WLAN_PUB_ACTION_DSE_ENABLEMENT = 1,
1: + WLAN_PUB_ACTION_DSE_DEENABLEMENT = 2,
1: + WLAN_PUB_ACTION_DSE_REG_LOC_ANN = 3,
1: + WLAN_PUB_ACTION_EXT_CHANSW_ANN = 4,
1: + WLAN_PUB_ACTION_DSE_MSMT_REQ = 5,
1: + WLAN_PUB_ACTION_DSE_MSMT_RESP = 6,
1: + WLAN_PUB_ACTION_MSMT_PILOT = 7,
1: + WLAN_PUB_ACTION_DSE_PC = 8,
1: + WLAN_PUB_ACTION_VENDOR_SPECIFIC = 9,
1: + WLAN_PUB_ACTION_GAS_INITIAL_REQ = 10,
1: + WLAN_PUB_ACTION_GAS_INITIAL_RESP = 11,
1: + WLAN_PUB_ACTION_GAS_COMEBACK_REQ = 12,
1: + WLAN_PUB_ACTION_GAS_COMEBACK_RESP = 13,
1: + WLAN_PUB_ACTION_TDLS_DISCOVER_RES = 14,
1: + WLAN_PUB_ACTION_LOC_TRACK_NOTI = 15,
1: + WLAN_PUB_ACTION_QAB_REQUEST_FRAME = 16,
1: + WLAN_PUB_ACTION_QAB_RESPONSE_FRAME = 17,
1: + WLAN_PUB_ACTION_QMF_POLICY = 18,
1: + WLAN_PUB_ACTION_QMF_POLICY_CHANGE = 19,
1: + WLAN_PUB_ACTION_QLOAD_REQUEST = 20,
1: + WLAN_PUB_ACTION_QLOAD_REPORT = 21,
1: + WLAN_PUB_ACTION_HCCA_TXOP_ADVERT = 22,
1: + WLAN_PUB_ACTION_HCCA_TXOP_RESPONSE = 23,
1: + WLAN_PUB_ACTION_PUBLIC_KEY = 24,
1: + WLAN_PUB_ACTION_CHANNEL_AVAIL_QUERY = 25,
1: + WLAN_PUB_ACTION_CHANNEL_SCHEDULE_MGMT = 26,
1: + WLAN_PUB_ACTION_CONTACT_VERI_SIGNAL = 27,
1: + WLAN_PUB_ACTION_GDD_ENABLEMENT_REQ = 28,
1: + WLAN_PUB_ACTION_GDD_ENABLEMENT_RESP = 29,
1: + WLAN_PUB_ACTION_NETWORK_CHANNEL_CONTROL = 30,
1: + WLAN_PUB_ACTION_WHITE_SPACE_MAP_ANN = 31,
1: + WLAN_PUB_ACTION_FTM_REQUEST = 32,
1: + WLAN_PUB_ACTION_FTM = 33,
1: + WLAN_PUB_ACTION_FILS_DISCOVERY = 34,
1: +};
1: +
1: +enum ieee80211_sa_query_action {
1: + WLAN_ACTION_SA_QUERY_REQUEST = 0,
1: + WLAN_ACTION_SA_QUERY_RESPONSE = 1,
1: +};
1: +
1: +enum ieee80211_radiotap_flags {
1: + IEEE80211_RADIOTAP_F_CFP = 1,
1: + IEEE80211_RADIOTAP_F_SHORTPRE = 2,
1: + IEEE80211_RADIOTAP_F_WEP = 4,
1: + IEEE80211_RADIOTAP_F_FRAG = 8,
1: + IEEE80211_RADIOTAP_F_FCS = 16,
1: + IEEE80211_RADIOTAP_F_DATAPAD = 32,
1: + IEEE80211_RADIOTAP_F_BADFCS = 64,
1: +};
1: +
1: +enum ieee80211_radiotap_channel_flags {
1: + IEEE80211_CHAN_CCK = 32,
1: + IEEE80211_CHAN_OFDM = 64,
1: + IEEE80211_CHAN_2GHZ = 128,
1: + IEEE80211_CHAN_5GHZ = 256,
1: + IEEE80211_CHAN_DYN = 1024,
1: + IEEE80211_CHAN_HALF = 16384,
1: + IEEE80211_CHAN_QUARTER = 32768,
1: +};
1: +
1: +enum ieee80211_radiotap_rx_flags {
1: + IEEE80211_RADIOTAP_F_RX_BADPLCP = 2,
1: +};
1: +
1: +enum ieee80211_radiotap_ampdu_flags {
1: + IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN = 1,
1: + IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN = 2,
1: + IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN = 4,
1: + IEEE80211_RADIOTAP_AMPDU_IS_LAST = 8,
1: + IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_ERR = 16,
1: + IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_KNOWN = 32,
1: + IEEE80211_RADIOTAP_AMPDU_EOF = 64,
1: + IEEE80211_RADIOTAP_AMPDU_EOF_KNOWN = 128,
1: +};
1: +
1: +enum ieee80211_radiotap_vht_coding {
1: + IEEE80211_RADIOTAP_CODING_LDPC_USER0 = 1,
1: + IEEE80211_RADIOTAP_CODING_LDPC_USER1 = 2,
1: + IEEE80211_RADIOTAP_CODING_LDPC_USER2 = 4,
1: + IEEE80211_RADIOTAP_CODING_LDPC_USER3 = 8,
1: +};
1: +
1: +enum ieee80211_radiotap_timestamp_flags {
1: + IEEE80211_RADIOTAP_TIMESTAMP_FLAG_64BIT = 0,
1: + IEEE80211_RADIOTAP_TIMESTAMP_FLAG_32BIT = 1,
1: + IEEE80211_RADIOTAP_TIMESTAMP_FLAG_ACCURACY = 2,
1: +};
1: +
1: +struct ieee80211_radiotap_he_mu {
1: + __le16 flags1;
1: + __le16 flags2;
1: + u8 ru_ch1[4];
1: + u8 ru_ch2[4];
1: +};
1: +
1: +struct ieee80211_radiotap_lsig {
1: + __le16 data1;
1: + __le16 data2;
1: +};
1: +
1: +enum mac80211_rx_encoding_flags {
1: + RX_ENC_FLAG_SHORTPRE = 1,
1: + RX_ENC_FLAG_SHORT_GI = 4,
1: + RX_ENC_FLAG_HT_GF = 8,
1: + RX_ENC_FLAG_STBC_MASK = 48,
1: + RX_ENC_FLAG_LDPC = 64,
1: + RX_ENC_FLAG_BF = 128,
1: +};
1: +
1: +struct ieee80211_vendor_radiotap {
1: + u32 present;
1: + u8 align;
1: + u8 oui[3];
1: + u8 subns;
1: + u8 pad;
1: + u16 len;
1: + u8 data[0];
1: +};
1: +
1: +enum ieee80211_packet_rx_flags {
1: + IEEE80211_RX_AMSDU = 8,
1: + IEEE80211_RX_MALFORMED_ACTION_FRM = 16,
1: + IEEE80211_RX_DEFERRED_RELEASE = 32,
1: +};
1: +
1: +enum ieee80211_rx_flags {
1: + IEEE80211_RX_CMNTR = 1,
1: + IEEE80211_RX_BEACON_REPORTED = 2,
1: +};
1: +
1: +struct ieee80211_rts {
1: + __le16 frame_control;
1: + __le16 duration;
1: + u8 ra[6];
1: + u8 ta[6];
1: +};
1: +
1: +struct ieee80211_cts {
1: + __le16 frame_control;
1: + __le16 duration;
1: + u8 ra[6];
1: +};
1: +
1: +struct ieee80211_pspoll {
1: + __le16 frame_control;
1: + __le16 aid;
1: + u8 bssid[6];
1: + u8 ta[6];
1: +};
1: +
1: +typedef u32 (*codel_skb_len_t)(const struct sk_buff *);
1: +
1: +typedef codel_time_t (*codel_skb_time_t)(const struct sk_buff *);
1: +
1: +typedef void (*codel_skb_drop_t)(struct sk_buff *, void *);
1: +
1: +typedef struct sk_buff * (*codel_skb_dequeue_t)(struct codel_vars *, void *);
1: +
1: +struct ieee80211_mutable_offsets {
1: + u16 tim_offset;
1: + u16 tim_length;
1: + u16 csa_counter_offs[2];
1: +};
1: +
1: +typedef struct sk_buff *fq_tin_dequeue_t(struct fq *, struct fq_tin *, struct fq_flow *);
1: +
1: +typedef void fq_skb_free_t(struct fq *, struct fq_tin *, struct fq_flow *, struct sk_buff *);
1: +
1: +typedef bool fq_skb_filter_t(struct fq *, struct fq_tin *, struct fq_flow *, struct sk_buff *, void *);
1: +
1: +typedef struct fq_flow *fq_flow_get_default_t(struct fq *, struct fq_tin *, int, struct sk_buff *);
1: +
1: +enum mesh_path_flags {
1: + MESH_PATH_ACTIVE = 1,
1: + MESH_PATH_RESOLVING = 2,
1: + MESH_PATH_SN_VALID = 4,
1: + MESH_PATH_FIXED = 8,
1: + MESH_PATH_RESOLVED = 16,
1: + MESH_PATH_REQ_QUEUED = 32,
1: + MESH_PATH_DELETED = 64,
1: +};
1: +
1: +struct mesh_path {
1: + u8 dst[6];
1: + u8 mpp[6];
1: + struct rhash_head rhash;
1: + struct hlist_node walk_list;
1: + struct hlist_node gate_list;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct sta_info *next_hop;
1: + struct timer_list timer;
1: + struct sk_buff_head frame_queue;
1: + struct callback_head rcu;
1: + u32 sn;
1: + u32 metric;
1: + u8 hop_count;
1: + long unsigned int exp_time;
1: + u32 discovery_timeout;
1: + u8 discovery_retries;
1: + enum mesh_path_flags flags;
1: + spinlock_t state_lock;
1: + u8 rann_snd_addr[6];
1: + u32 rann_metric;
1: + long unsigned int last_preq_to_root;
1: + bool is_root;
1: + bool is_gate;
1: + u32 path_change_count;
1: +};
1: +
1: +enum ieee80211_interface_iteration_flags {
1: + IEEE80211_IFACE_ITER_NORMAL = 0,
1: + IEEE80211_IFACE_ITER_RESUME_ALL = 1,
1: + IEEE80211_IFACE_ITER_ACTIVE = 2,
1: +};
1: +
1: +struct ieee80211_noa_data {
1: + u32 next_tsf;
1: + bool has_next_tsf;
1: + u8 absent;
1: + u8 count[4];
1: + struct {
1: + u32 start;
1: + u32 duration;
1: + u32 interval;
1: + } desc[4];
1: +};
1: +
1: +enum ieee80211_chanctx_change {
1: + IEEE80211_CHANCTX_CHANGE_WIDTH = 1,
1: + IEEE80211_CHANCTX_CHANGE_RX_CHAINS = 2,
1: + IEEE80211_CHANCTX_CHANGE_RADAR = 4,
1: + IEEE80211_CHANCTX_CHANGE_CHANNEL = 8,
1: + IEEE80211_CHANCTX_CHANGE_MIN_WIDTH = 16,
1: +};
1: +
1: +struct trace_vif_entry {
1: + enum nl80211_iftype vif_type;
1: + bool p2p;
1: + char vif_name[16];
1: +} __attribute__((packed));
1: +
1: +struct trace_chandef_entry {
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: +};
1: +
1: +struct trace_switch_entry {
1: + struct trace_vif_entry vif;
1: + struct trace_chandef_entry old_chandef;
1: + struct trace_chandef_entry new_chandef;
1: +} __attribute__((packed));
1: +
1: +struct trace_event_raw_local_only_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_local_sdata_addr_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_local_u32_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 value;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_local_sdata_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_return_int {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_return_bool {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_return_u32 {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_return_u64 {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u64 ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_wakeup {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool enabled;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_change_interface {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 new_type;
1: + bool new_p2p;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_config {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 changed;
1: + u32 flags;
1: + int power_level;
1: + int dynamic_ps_timeout;
1: + u16 listen_interval;
1: + u8 long_frame_max_tx_count;
1: + u8 short_frame_max_tx_count;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + int smps;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_bss_info_changed {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 changed;
1: + bool assoc;
1: + bool ibss_joined;
1: + bool ibss_creator;
1: + u16 aid;
1: + bool cts;
1: + bool shortpre;
1: + bool shortslot;
1: + bool enable_beacon;
1: + u8 dtimper;
1: + u16 bcnint;
1: + u16 assoc_cap;
1: + u64 sync_tsf;
1: + u32 sync_device_ts;
1: + u8 sync_dtim_count;
1: + u32 basic_rates;
1: + int mcast_rate[4];
1: + u16 ht_operation_mode;
1: + s32 cqm_rssi_thold;
1: + s32 cqm_rssi_hyst;
1: + u32 channel_width;
1: + u32 channel_cfreq1;
1: + u32 __data_loc_arp_addr_list;
1: + int arp_addr_cnt;
1: + bool qos;
1: + bool idle;
1: + bool ps;
1: + u32 __data_loc_ssid;
1: + bool hidden_ssid;
1: + int txpower;
1: + u8 p2p_oppps_ctwindow;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_prepare_multicast {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int mc_count;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_configure_filter {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + unsigned int changed;
1: + unsigned int total;
1: + u64 multicast;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_config_iface_filter {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + unsigned int filter_flags;
1: + unsigned int changed_flags;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_tim {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + bool set;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_key {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 cipher;
1: + u8 hw_key_idx;
1: + u8 flags;
1: + s8 keyidx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_update_tkip_key {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 iv32;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_sw_scan_start {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char mac_addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_get_stats {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + unsigned int ackfail;
1: + unsigned int rtsfail;
1: + unsigned int fcserr;
1: + unsigned int rtssucc;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_get_key_seq {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 cipher;
1: + u8 hw_key_idx;
1: + u8 flags;
1: + s8 keyidx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_coverage_class {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + s16 value;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_sta_notify {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 cmd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_sta_state {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 old_state;
1: + u32 new_state;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_sta_set_txpwr {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + s16 txpwr;
1: + u8 type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_sta_rc_update {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 changed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_sta_event {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_conf_tx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u16 ac;
1: + u16 txop;
1: + u16 cw_min;
1: + u16 cw_max;
1: + u8 aifs;
1: + bool uapsd;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_tsf {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u64 tsf;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_offset_tsf {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + s64 tsf_offset;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_ampdu_action {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + enum ieee80211_ampdu_mlme_action ieee80211_ampdu_mlme_action;
1: + char sta_addr[6];
1: + u16 tid;
1: + u16 ssn;
1: + u16 buf_size;
1: + bool amsdu;
1: + u16 timeout;
1: + u16 action;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_get_survey {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int idx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_flush {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool drop;
1: + u32 queues;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_channel_switch {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u64 timestamp;
1: + u32 device_timestamp;
1: + bool block_tx;
1: + u8 count;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_antenna {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx_ant;
1: + u32 rx_ant;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_get_antenna {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx_ant;
1: + u32 rx_ant;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_remain_on_channel {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + int center_freq;
1: + unsigned int duration;
1: + u32 type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_ringparam {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx;
1: + u32 rx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_get_ringparam {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx;
1: + u32 tx_max;
1: + u32 rx;
1: + u32 rx_max;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_bitrate_mask {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 legacy_2g;
1: + u32 legacy_5g;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_rekey_data {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 kek[16];
1: + u8 kck[16];
1: + u8 replay_ctr[8];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_event_callback {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_release_evt {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + u16 tids;
1: + int num_frames;
1: + int reason;
1: + bool more_data;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_mgd_prepare_tx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 duration;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_local_chanctx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 min_control_freq;
1: + u32 min_chan_width;
1: + u32 min_center_freq1;
1: + u32 min_center_freq2;
1: + u8 rx_chains_static;
1: + u8 rx_chains_dynamic;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_change_chanctx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 min_control_freq;
1: + u32 min_chan_width;
1: + u32 min_center_freq1;
1: + u32 min_center_freq2;
1: + u8 rx_chains_static;
1: + u8 rx_chains_dynamic;
1: + u32 changed;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_switch_vif_chanctx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int n_vifs;
1: + u32 mode;
1: + u32 __data_loc_vifs;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_local_sdata_chanctx {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 min_control_freq;
1: + u32 min_chan_width;
1: + u32 min_center_freq1;
1: + u32 min_center_freq2;
1: + u8 rx_chains_static;
1: + u8 rx_chains_dynamic;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_start_ap {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 dtimper;
1: + u16 bcnint;
1: + u32 __data_loc_ssid;
1: + bool hidden_ssid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_reconfig_complete {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u8 reconfig_type;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_join_ibss {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 dtimper;
1: + u16 bcnint;
1: + u32 __data_loc_ssid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_get_expected_throughput {
1: + struct trace_entry ent;
1: + char sta_addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_start_nan {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 master_pref;
1: + u8 bands;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_stop_nan {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_nan_change_conf {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 master_pref;
1: + u8 bands;
1: + u32 changes;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_add_nan_func {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 type;
1: + u8 inst_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_del_nan_func {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 instance_id;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_start_tx_ba_session {
1: + struct trace_entry ent;
1: + char sta_addr[6];
1: + u16 tid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_start_tx_ba_cb {
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 ra[6];
1: + u16 tid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_stop_tx_ba_session {
1: + struct trace_entry ent;
1: + char sta_addr[6];
1: + u16 tid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_stop_tx_ba_cb {
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 ra[6];
1: + u16 tid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_beacon_loss {
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_connection_loss {
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_cqm_rssi_notify {
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 rssi_event;
1: + s32 rssi_level;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_scan_completed {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool aborted;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_sched_scan_results {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_sched_scan_stopped {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_sta_block_awake {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + bool block;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_chswitch_done {
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + bool success;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_gtk_rekey_notify {
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 bssid[6];
1: + u8 replay_ctr[8];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_enable_rssi_reports {
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + int rssi_min_thold;
1: + int rssi_max_thold;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_eosp {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_send_eosp_nullfunc {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + u8 tid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_sta_set_buffered {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + u8 tid;
1: + bool buffered;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_wake_queue {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u16 queue;
1: + u32 reason;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_stop_queue {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u16 queue;
1: + u32 reason;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_set_default_unicast_key {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + int key_idx;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_api_radar_detected {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_channel_switch_beacon {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_pre_channel_switch {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u64 timestamp;
1: + u32 device_timestamp;
1: + bool block_tx;
1: + u8 count;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_channel_switch_rx_beacon {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u64 timestamp;
1: + u32 device_timestamp;
1: + bool block_tx;
1: + u8 count;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_get_txpower {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + int dbm;
1: + int ret;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_tdls_channel_switch {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u8 oper_class;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_tdls_cancel_channel_switch {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_tdls_recv_channel_switch {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 action_code;
1: + char sta_addr[6];
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 status;
1: + bool peer_initiator;
1: + u32 timestamp;
1: + u16 switch_time;
1: + u16 switch_timeout;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_wake_tx_queue {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u8 ac;
1: + u8 tid;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_raw_drv_get_ftm_responder_stats {
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: +};
1: +
1: +struct trace_event_data_offsets_local_only_evt {};
1: +
1: +struct trace_event_data_offsets_local_sdata_addr_evt {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_local_u32_evt {};
1: +
1: +struct trace_event_data_offsets_local_sdata_evt {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_return_int {};
1: +
1: +struct trace_event_data_offsets_drv_return_bool {};
1: +
1: +struct trace_event_data_offsets_drv_return_u32 {};
1: +
1: +struct trace_event_data_offsets_drv_return_u64 {};
1: +
1: +struct trace_event_data_offsets_drv_set_wakeup {};
1: +
1: +struct trace_event_data_offsets_drv_change_interface {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_config {};
1: +
1: +struct trace_event_data_offsets_drv_bss_info_changed {
1: + u32 vif_name;
1: + u32 arp_addr_list;
1: + u32 ssid;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_prepare_multicast {};
1: +
1: +struct trace_event_data_offsets_drv_configure_filter {};
1: +
1: +struct trace_event_data_offsets_drv_config_iface_filter {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_set_tim {};
1: +
1: +struct trace_event_data_offsets_drv_set_key {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_update_tkip_key {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_sw_scan_start {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_get_stats {};
1: +
1: +struct trace_event_data_offsets_drv_get_key_seq {};
1: +
1: +struct trace_event_data_offsets_drv_set_coverage_class {};
1: +
1: +struct trace_event_data_offsets_drv_sta_notify {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_sta_state {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_sta_set_txpwr {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_sta_rc_update {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_sta_event {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_conf_tx {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_set_tsf {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_offset_tsf {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_ampdu_action {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_get_survey {};
1: +
1: +struct trace_event_data_offsets_drv_flush {};
1: +
1: +struct trace_event_data_offsets_drv_channel_switch {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_set_antenna {};
1: +
1: +struct trace_event_data_offsets_drv_get_antenna {};
1: +
1: +struct trace_event_data_offsets_drv_remain_on_channel {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_set_ringparam {};
1: +
1: +struct trace_event_data_offsets_drv_get_ringparam {};
1: +
1: +struct trace_event_data_offsets_drv_set_bitrate_mask {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_set_rekey_data {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_event_callback {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_release_evt {};
1: +
1: +struct trace_event_data_offsets_drv_mgd_prepare_tx {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_local_chanctx {};
1: +
1: +struct trace_event_data_offsets_drv_change_chanctx {};
1: +
1: +struct trace_event_data_offsets_drv_switch_vif_chanctx {
1: + u32 vifs;
1: +};
1: +
1: +struct trace_event_data_offsets_local_sdata_chanctx {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_start_ap {
1: + u32 vif_name;
1: + u32 ssid;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_reconfig_complete {};
1: +
1: +struct trace_event_data_offsets_drv_join_ibss {
1: + u32 vif_name;
1: + u32 ssid;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_get_expected_throughput {};
1: +
1: +struct trace_event_data_offsets_drv_start_nan {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_stop_nan {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_nan_change_conf {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_add_nan_func {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_del_nan_func {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_start_tx_ba_session {};
1: +
1: +struct trace_event_data_offsets_api_start_tx_ba_cb {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_stop_tx_ba_session {};
1: +
1: +struct trace_event_data_offsets_api_stop_tx_ba_cb {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_beacon_loss {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_connection_loss {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_cqm_rssi_notify {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_scan_completed {};
1: +
1: +struct trace_event_data_offsets_api_sched_scan_results {};
1: +
1: +struct trace_event_data_offsets_api_sched_scan_stopped {};
1: +
1: +struct trace_event_data_offsets_api_sta_block_awake {};
1: +
1: +struct trace_event_data_offsets_api_chswitch_done {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_gtk_rekey_notify {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_enable_rssi_reports {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_eosp {};
1: +
1: +struct trace_event_data_offsets_api_send_eosp_nullfunc {};
1: +
1: +struct trace_event_data_offsets_api_sta_set_buffered {};
1: +
1: +struct trace_event_data_offsets_wake_queue {};
1: +
1: +struct trace_event_data_offsets_stop_queue {};
1: +
1: +struct trace_event_data_offsets_drv_set_default_unicast_key {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_api_radar_detected {};
1: +
1: +struct trace_event_data_offsets_drv_channel_switch_beacon {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_pre_channel_switch {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_channel_switch_rx_beacon {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_get_txpower {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_tdls_channel_switch {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_tdls_cancel_channel_switch {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_tdls_recv_channel_switch {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_wake_tx_queue {
1: + u32 vif_name;
1: +};
1: +
1: +struct trace_event_data_offsets_drv_get_ftm_responder_stats {
1: + u32 vif_name;
1: +};
1: +
1: +enum ieee80211_he_mcs_support {
1: + IEEE80211_HE_MCS_SUPPORT_0_7 = 0,
1: + IEEE80211_HE_MCS_SUPPORT_0_9 = 1,
1: + IEEE80211_HE_MCS_SUPPORT_0_11 = 2,
1: + IEEE80211_HE_MCS_NOT_SUPPORTED = 3,
1: +};
1: +
1: +struct ieee80211_country_ie_triplet {
1: + union {
1: + struct {
1: + u8 first_channel;
1: + u8 num_channels;
1: + s8 max_power;
1: + } chans;
1: + struct {
1: + u8 reg_extension_id;
1: + u8 reg_class;
1: + u8 coverage_class;
1: + } ext;
1: + };
1: +};
1: +
1: +enum ieee80211_timeout_interval_type {
1: + WLAN_TIMEOUT_REASSOC_DEADLINE = 1,
1: + WLAN_TIMEOUT_KEY_LIFETIME = 2,
1: + WLAN_TIMEOUT_ASSOC_COMEBACK = 3,
1: +};
1: +
1: +enum ieee80211_idle_options {
1: + WLAN_IDLE_OPTIONS_PROTECTED_KEEP_ALIVE = 1,
1: +};
1: +
1: +struct ieee80211_wmm_ac_param {
1: + u8 aci_aifsn;
1: + u8 cw;
1: + __le16 txop_limit;
1: +};
1: +
1: +struct ieee80211_wmm_param_ie {
1: + u8 element_id;
1: + u8 len;
1: + u8 oui[3];
1: + u8 oui_type;
1: + u8 oui_subtype;
1: + u8 version;
1: + u8 qos_info;
1: + u8 reserved;
1: + struct ieee80211_wmm_ac_param ac[4];
1: +};
1: +
1: +enum ocb_deferred_task_flags {
1: + OCB_WORK_HOUSEKEEPING = 0,
1: +};
1: +
1: +struct mcs_group {
1: + u8 shift;
1: + u16 duration[12];
1: +};
1: +
1: +struct minstrel_rate_stats {
1: + u16 attempts;
1: + u16 last_attempts;
1: + u16 success;
1: + u16 last_success;
1: + u32 att_hist;
1: + u32 succ_hist;
1: + u16 prob_avg;
1: + u16 prob_avg_1;
1: + u8 retry_count;
1: + u8 retry_count_rtscts;
1: + u8 sample_skipped;
1: + bool retry_updated;
1: +};
1: +
1: +struct minstrel_rate {
1: + int bitrate;
1: + s8 rix;
1: + u8 retry_count_cts;
1: + u8 adjusted_retry_count;
1: + unsigned int perfect_tx_time;
1: + unsigned int ack_time;
1: + int sample_limit;
1: + struct minstrel_rate_stats stats;
1: +};
1: +
1: +struct minstrel_sta_info {
1: + struct ieee80211_sta *sta;
1: + long unsigned int last_stats_update;
1: + unsigned int sp_ack_dur;
1: + unsigned int rate_avg;
1: + unsigned int lowest_rix;
1: + u8 max_tp_rate[4];
1: + u8 max_prob_rate;
1: + unsigned int total_packets;
1: + unsigned int sample_packets;
1: + int sample_deferred;
1: + unsigned int sample_row;
1: + unsigned int sample_column;
1: + int n_rates;
1: + struct minstrel_rate *r;
1: + bool prev_sample;
1: + u8 *sample_table;
1: +};
1: +
1: +struct minstrel_priv {
1: + struct ieee80211_hw *hw;
1: + bool has_mrr;
1: + bool new_avg;
1: + u32 sample_switch;
1: + unsigned int cw_min;
1: + unsigned int cw_max;
1: + unsigned int max_retry;
1: + unsigned int segment_size;
1: + unsigned int update_interval;
1: + unsigned int lookaround_rate;
1: + unsigned int lookaround_rate_mrr;
1: + u8 cck_rates[4];
1: +};
1: +
1: +struct mcs_group___2 {
1: + u16 flags;
1: + u8 streams;
1: + u8 shift;
1: + u8 bw;
1: + u16 duration[10];
1: +};
1: +
1: +struct minstrel_mcs_group_data {
1: + u8 index;
1: + u8 column;
1: + u16 max_group_tp_rate[4];
1: + u16 max_group_prob_rate;
1: + struct minstrel_rate_stats rates[10];
1: +};
1: +
1: +enum minstrel_sample_mode {
1: + MINSTREL_SAMPLE_IDLE = 0,
1: + MINSTREL_SAMPLE_ACTIVE = 1,
1: + MINSTREL_SAMPLE_PENDING = 2,
1: +};
1: +
1: +struct minstrel_ht_sta {
1: + struct ieee80211_sta *sta;
1: + unsigned int ampdu_len;
1: + unsigned int ampdu_packets;
1: + unsigned int avg_ampdu_len;
1: + u16 max_tp_rate[4];
1: + u16 max_prob_rate;
1: + long unsigned int last_stats_update;
1: + unsigned int overhead;
1: + unsigned int overhead_rtscts;
1: + unsigned int total_packets_last;
1: + unsigned int total_packets_cur;
1: + unsigned int total_packets;
1: + unsigned int sample_packets;
1: + u32 tx_flags;
1: + u8 sample_wait;
1: + u8 sample_tries;
1: + u8 sample_count;
1: + u8 sample_slow;
1: + enum minstrel_sample_mode sample_mode;
1: + u16 sample_rate;
1: + u8 sample_group;
1: + u8 cck_supported;
1: + u8 cck_supported_short;
1: + u16 supported[41];
1: + struct minstrel_mcs_group_data groups[41];
1: +};
1: +
1: +struct minstrel_ht_sta_priv {
1: + union {
1: + struct minstrel_ht_sta ht;
1: + struct minstrel_sta_info legacy;
1: + };
1: + void *ratelist;
1: + void *sample_table;
1: + bool is_ht;
1: +};
1: +
1: +struct netlbl_af4list {
1: + __be32 addr;
1: + __be32 mask;
1: + u32 valid;
1: + struct list_head list;
1: +};
1: +
1: +struct netlbl_af6list {
1: + struct in6_addr addr;
1: + struct in6_addr mask;
1: + u32 valid;
1: + struct list_head list;
1: +};
1: +
1: +struct netlbl_domaddr_map {
1: + struct list_head list4;
1: + struct list_head list6;
1: +};
1: +
1: +struct netlbl_dommap_def {
1: + u32 type;
1: + union {
1: + struct netlbl_domaddr_map *addrsel;
1: + struct cipso_v4_doi *cipso;
1: + struct calipso_doi *calipso;
1: + };
1: +};
1: +
1: +struct netlbl_domaddr4_map {
1: + struct netlbl_dommap_def def;
1: + struct netlbl_af4list list;
1: +};
1: +
1: +struct netlbl_domaddr6_map {
1: + struct netlbl_dommap_def def;
1: + struct netlbl_af6list list;
1: +};
1: +
1: +struct netlbl_dom_map {
1: + char *domain;
1: + u16 family;
1: + struct netlbl_dommap_def def;
1: + u32 valid;
1: + struct list_head list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct netlbl_domhsh_tbl {
1: + struct list_head *tbl;
1: + u32 size;
1: +};
1: +
1: +enum {
1: + NLBL_MGMT_C_UNSPEC = 0,
1: + NLBL_MGMT_C_ADD = 1,
1: + NLBL_MGMT_C_REMOVE = 2,
1: + NLBL_MGMT_C_LISTALL = 3,
1: + NLBL_MGMT_C_ADDDEF = 4,
1: + NLBL_MGMT_C_REMOVEDEF = 5,
1: + NLBL_MGMT_C_LISTDEF = 6,
1: + NLBL_MGMT_C_PROTOCOLS = 7,
1: + NLBL_MGMT_C_VERSION = 8,
1: + __NLBL_MGMT_C_MAX = 9,
1: +};
1: +
1: +enum {
1: + NLBL_MGMT_A_UNSPEC = 0,
1: + NLBL_MGMT_A_DOMAIN = 1,
1: + NLBL_MGMT_A_PROTOCOL = 2,
1: + NLBL_MGMT_A_VERSION = 3,
1: + NLBL_MGMT_A_CV4DOI = 4,
1: + NLBL_MGMT_A_IPV6ADDR = 5,
1: + NLBL_MGMT_A_IPV6MASK = 6,
1: + NLBL_MGMT_A_IPV4ADDR = 7,
1: + NLBL_MGMT_A_IPV4MASK = 8,
1: + NLBL_MGMT_A_ADDRSELECTOR = 9,
1: + NLBL_MGMT_A_SELECTORLIST = 10,
1: + NLBL_MGMT_A_FAMILY = 11,
1: + NLBL_MGMT_A_CLPDOI = 12,
1: + __NLBL_MGMT_A_MAX = 13,
1: +};
1: +
1: +struct netlbl_domhsh_walk_arg {
1: + struct netlink_callback *nl_cb;
1: + struct sk_buff *skb;
1: + u32 seq;
1: +};
1: +
1: +enum {
1: + NLBL_UNLABEL_C_UNSPEC = 0,
1: + NLBL_UNLABEL_C_ACCEPT = 1,
1: + NLBL_UNLABEL_C_LIST = 2,
1: + NLBL_UNLABEL_C_STATICADD = 3,
1: + NLBL_UNLABEL_C_STATICREMOVE = 4,
1: + NLBL_UNLABEL_C_STATICLIST = 5,
1: + NLBL_UNLABEL_C_STATICADDDEF = 6,
1: + NLBL_UNLABEL_C_STATICREMOVEDEF = 7,
1: + NLBL_UNLABEL_C_STATICLISTDEF = 8,
1: + __NLBL_UNLABEL_C_MAX = 9,
1: +};
1: +
1: +enum {
1: + NLBL_UNLABEL_A_UNSPEC = 0,
1: + NLBL_UNLABEL_A_ACPTFLG = 1,
1: + NLBL_UNLABEL_A_IPV6ADDR = 2,
1: + NLBL_UNLABEL_A_IPV6MASK = 3,
1: + NLBL_UNLABEL_A_IPV4ADDR = 4,
1: + NLBL_UNLABEL_A_IPV4MASK = 5,
1: + NLBL_UNLABEL_A_IFACE = 6,
1: + NLBL_UNLABEL_A_SECCTX = 7,
1: + __NLBL_UNLABEL_A_MAX = 8,
1: +};
1: +
1: +struct netlbl_unlhsh_tbl {
1: + struct list_head *tbl;
1: + u32 size;
1: +};
1: +
1: +struct netlbl_unlhsh_addr4 {
1: + u32 secid;
1: + struct netlbl_af4list list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct netlbl_unlhsh_addr6 {
1: + u32 secid;
1: + struct netlbl_af6list list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct netlbl_unlhsh_iface {
1: + int ifindex;
1: + struct list_head addr4_list;
1: + struct list_head addr6_list;
1: + u32 valid;
1: + struct list_head list;
1: + struct callback_head rcu;
1: +};
1: +
1: +struct netlbl_unlhsh_walk_arg {
1: + struct netlink_callback *nl_cb;
1: + struct sk_buff *skb;
1: + u32 seq;
1: +};
1: +
1: +enum {
1: + NLBL_CIPSOV4_C_UNSPEC = 0,
1: + NLBL_CIPSOV4_C_ADD = 1,
1: + NLBL_CIPSOV4_C_REMOVE = 2,
1: + NLBL_CIPSOV4_C_LIST = 3,
1: + NLBL_CIPSOV4_C_LISTALL = 4,
1: + __NLBL_CIPSOV4_C_MAX = 5,
1: +};
1: +
1: +enum {
1: + NLBL_CIPSOV4_A_UNSPEC = 0,
1: + NLBL_CIPSOV4_A_DOI = 1,
1: + NLBL_CIPSOV4_A_MTYPE = 2,
1: + NLBL_CIPSOV4_A_TAG = 3,
1: + NLBL_CIPSOV4_A_TAGLST = 4,
1: + NLBL_CIPSOV4_A_MLSLVLLOC = 5,
1: + NLBL_CIPSOV4_A_MLSLVLREM = 6,
1: + NLBL_CIPSOV4_A_MLSLVL = 7,
1: + NLBL_CIPSOV4_A_MLSLVLLST = 8,
1: + NLBL_CIPSOV4_A_MLSCATLOC = 9,
1: + NLBL_CIPSOV4_A_MLSCATREM = 10,
1: + NLBL_CIPSOV4_A_MLSCAT = 11,
1: + NLBL_CIPSOV4_A_MLSCATLST = 12,
1: + __NLBL_CIPSOV4_A_MAX = 13,
1: +};
1: +
1: +struct netlbl_cipsov4_doiwalk_arg {
1: + struct netlink_callback *nl_cb;
1: + struct sk_buff *skb;
1: + u32 seq;
1: +};
1: +
1: +struct netlbl_domhsh_walk_arg___2 {
1: + struct netlbl_audit *audit_info;
1: + u32 doi;
1: +};
1: +
1: +enum {
1: + NLBL_CALIPSO_C_UNSPEC = 0,
1: + NLBL_CALIPSO_C_ADD = 1,
1: + NLBL_CALIPSO_C_REMOVE = 2,
1: + NLBL_CALIPSO_C_LIST = 3,
1: + NLBL_CALIPSO_C_LISTALL = 4,
1: + __NLBL_CALIPSO_C_MAX = 5,
1: +};
1: +
1: +enum {
1: + NLBL_CALIPSO_A_UNSPEC = 0,
1: + NLBL_CALIPSO_A_DOI = 1,
1: + NLBL_CALIPSO_A_MTYPE = 2,
1: + __NLBL_CALIPSO_A_MAX = 3,
1: +};
1: +
1: +struct netlbl_calipso_doiwalk_arg {
1: + struct netlink_callback *nl_cb;
1: + struct sk_buff *skb;
1: + u32 seq;
1: +};
1: +
1: +enum rfkill_operation {
1: + RFKILL_OP_ADD = 0,
1: + RFKILL_OP_DEL = 1,
1: + RFKILL_OP_CHANGE = 2,
1: + RFKILL_OP_CHANGE_ALL = 3,
1: +};
1: +
1: +struct rfkill_event {
1: + __u32 idx;
1: + __u8 type;
1: + __u8 op;
1: + __u8 soft;
1: + __u8 hard;
1: +};
1: +
1: +enum rfkill_user_states {
1: + RFKILL_USER_STATE_SOFT_BLOCKED = 0,
1: + RFKILL_USER_STATE_UNBLOCKED = 1,
1: + RFKILL_USER_STATE_HARD_BLOCKED = 2,
1: +};
1: +
1: +struct rfkill {
1: + spinlock_t lock;
1: + enum rfkill_type type;
1: + long unsigned int state;
1: + u32 idx;
1: + bool registered;
1: + bool persistent;
1: + bool polling_paused;
1: + bool suspended;
1: + const struct rfkill_ops *ops;
1: + void *data;
1: + struct led_trigger led_trigger;
1: + const char *ledtrigname;
1: + struct device___2 dev;
1: + struct list_head node;
1: + struct delayed_work poll_work;
1: + struct work_struct uevent_work;
1: + struct work_struct sync_work;
1: + char name[0];
1: +};
1: +
1: +struct rfkill_int_event {
1: + struct list_head list;
1: + struct rfkill_event ev;
1: +};
1: +
1: +struct rfkill_data {
1: + struct list_head list;
1: + struct list_head events;
1: + struct mutex mtx;
1: + wait_queue_head_t read_wait;
1: + bool input_handler;
1: +};
1: +
1: +enum rfkill_input_master_mode {
1: + RFKILL_INPUT_MASTER_UNLOCK = 0,
1: + RFKILL_INPUT_MASTER_RESTORE = 1,
1: + RFKILL_INPUT_MASTER_UNBLOCKALL = 2,
1: + NUM_RFKILL_INPUT_MASTER_MODES = 3,
1: +};
1: +
1: +enum rfkill_sched_op {
1: + RFKILL_GLOBAL_OP_EPO = 0,
1: + RFKILL_GLOBAL_OP_RESTORE = 1,
1: + RFKILL_GLOBAL_OP_UNLOCK = 2,
1: + RFKILL_GLOBAL_OP_UNBLOCK = 3,
1: +};
1: +
1: +enum dns_payload_content_type {
1: + DNS_PAYLOAD_IS_SERVER_LIST = 0,
1: +};
1: +
1: +struct dns_payload_header {
1: + __u8 zero;
1: + __u8 content;
1: + __u8 version;
1: +};
1: +
1: +enum {
1: + dns_key_data = 0,
1: + dns_key_error = 1,
1: +};
1: +
1: +struct warn_args___2;
1: +
1: +struct compress_format {
1: + unsigned char magic[2];
1: + const char *name;
1: + decompress_fn decompressor;
1: +};
1: +
1: +struct group_data {
1: + int limit[21];
1: + int base[20];
1: + int permute[258];
1: + int minLen;
1: + int maxLen;
1: +};
1: +
1: +struct bunzip_data {
1: + int writeCopies;
1: + int writePos;
1: + int writeRunCountdown;
1: + int writeCount;
1: + int writeCurrent;
1: + long int (*fill)(void *, long unsigned int);
1: + long int inbufCount;
1: + long int inbufPos;
1: + unsigned char *inbuf;
1: + unsigned int inbufBitCount;
1: + unsigned int inbufBits;
1: + unsigned int crc32Table[256];
1: + unsigned int headerCRC;
1: + unsigned int totalCRC;
1: + unsigned int writeCRC;
1: + unsigned int *dbuf;
1: + unsigned int dbufSize;
1: + unsigned char selectors[32768];
1: + struct group_data groups[6];
1: + int io_error;
1: + int byteCount[256];
1: + unsigned char symToByte[256];
1: + unsigned char mtfSymbol[256];
1: +};
1: +
1: +struct rc {
1: + long int (*fill)(void *, long unsigned int);
1: + uint8_t *ptr;
1: + uint8_t *buffer;
1: + uint8_t *buffer_end;
1: + long int buffer_size;
1: + uint32_t code;
1: + uint32_t range;
1: + uint32_t bound;
1: + void (*error)(char *);
1: +};
1: +
1: +struct lzma_header {
1: + uint8_t pos;
1: + uint32_t dict_size;
1: + uint64_t dst_size;
1: +} __attribute__((packed));
1: +
1: +struct writer {
1: + uint8_t *buffer;
1: + uint8_t previous_byte;
1: + size_t buffer_pos;
1: + int bufsize;
1: + size_t global_pos;
1: + long int (*flush)(void *, long unsigned int);
1: + struct lzma_header *header;
1: +};
1: +
1: +struct cstate {
1: + int state;
1: + uint32_t rep0;
1: + uint32_t rep1;
1: + uint32_t rep2;
1: + uint32_t rep3;
1: +};
1: +
1: +struct xz_dec___2;
1: +
1: +enum cpio_fields {
1: + C_MAGIC = 0,
1: + C_INO = 1,
1: + C_MODE = 2,
1: + C_UID = 3,
1: + C_GID = 4,
1: + C_NLINK = 5,
1: + C_MTIME = 6,
1: + C_FILESIZE = 7,
1: + C_MAJ = 8,
1: + C_MIN = 9,
1: + C_RMAJ = 10,
1: + C_RMIN = 11,
1: + C_NAMESIZE = 12,
1: + C_CHKSUM = 13,
1: + C_NFIELDS = 14,
1: +};
1: +
1: +struct fprop_local_single {
1: + long unsigned int events;
1: + unsigned int period;
1: + raw_spinlock_t lock;
1: +};
1: +
1: +struct ida_bitmap {
1: + long unsigned int bitmap[16];
1: +};
1: +
1: +struct klist_waiter {
1: + struct list_head list;
1: + struct klist_node *node;
1: + struct task_struct___2 *process;
1: + int woken;
1: +};
1: +
1: +struct uevent_sock {
1: + struct list_head list;
1: + struct sock *sk;
1: +};
1: +
1: +struct radix_tree_preload {
1: + unsigned int nr;
1: + struct xa_node *nodes;
1: +};
1: +
1: +typedef struct {
1: + long unsigned int key[2];
1: +} hsiphash_key_t;
1: +
1: +enum format_type {
1: + FORMAT_TYPE_NONE = 0,
1: + FORMAT_TYPE_WIDTH = 1,
1: + FORMAT_TYPE_PRECISION = 2,
1: + FORMAT_TYPE_CHAR = 3,
1: + FORMAT_TYPE_STR = 4,
1: + FORMAT_TYPE_PTR = 5,
1: + FORMAT_TYPE_PERCENT_CHAR = 6,
1: + FORMAT_TYPE_INVALID = 7,
1: + FORMAT_TYPE_LONG_LONG = 8,
1: + FORMAT_TYPE_ULONG = 9,
1: + FORMAT_TYPE_LONG = 10,
1: + FORMAT_TYPE_UBYTE = 11,
1: + FORMAT_TYPE_BYTE = 12,
1: + FORMAT_TYPE_USHORT = 13,
1: + FORMAT_TYPE_SHORT = 14,
1: + FORMAT_TYPE_UINT = 15,
1: + FORMAT_TYPE_INT = 16,
1: + FORMAT_TYPE_SIZE_T = 17,
1: + FORMAT_TYPE_PTRDIFF = 18,
1: +};
1: +
1: +struct printf_spec {
1: + unsigned int type: 8;
1: + int field_width: 24;
1: + unsigned int flags: 8;
1: + unsigned int base: 8;
1: + int precision: 16;
1: +};
1: +
1: +enum {
1: + st_wordstart = 0,
1: + st_wordcmp = 1,
1: + st_wordskip = 2,
1: +};
1: +
1: +enum {
1: + st_wordstart___2 = 0,
1: + st_wordcmp___2 = 1,
1: + st_wordskip___2 = 2,
1: + st_bufcpy = 3,
1: +};
1: +
1: +struct in6_addr___2;
1: +
1: +enum reg_type {
1: + REG_TYPE_RM = 0,
1: + REG_TYPE_INDEX = 1,
1: + REG_TYPE_BASE = 2,
1: +};
1: +
1: +#ifndef BPF_NO_PRESERVE_ACCESS_INDEX
1: +#pragma clang attribute pop
1: +#endif
1: diff --git a/libbpf-tools/vmlinux_505.h b/libbpf-tools/vmlinux_505.h
1: index beed1f2..1b42471 100644
1: --- a/libbpf-tools/vmlinux_505.h
1: +++ b/libbpf-tools/vmlinux_505.h
1: @@ -1,5 +1,6 @@
1: #ifndef BPF_NO_PRESERVE_ACCESS_INDEX
1: -#pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
1: +#pragma clang attribute push(__attribute__((preserve_access_index)), \
1: + apply_to = record)
1: #endif
1:
1: typedef signed char __s8;
1: @@ -35,8 +36,8 @@ typedef __s64 s64;
1: typedef __u64 u64;
1:
1: enum {
1: - false = 0,
1: - true = 1,
1: + false = 0,
1: + true = 1,
1: };
1:
1: typedef long int __kernel_long_t;
1: @@ -107,429 +108,425 @@ typedef u64 phys_addr_t;
1:
1: typedef phys_addr_t resource_size_t;
1:
1: -typedef struct {
1: - int counter;
1: -} atomic_t;
1: +typedef struct { int counter; } atomic_t;
1:
1: -typedef struct {
1: - s64 counter;
1: -} atomic64_t;
1: +typedef struct { s64 counter; } atomic64_t;
1:
1: struct list_head {
1: - struct list_head *next;
1: - struct list_head *prev;
1: + struct list_head *next;
1: + struct list_head *prev;
1: };
1:
1: struct hlist_node;
1:
1: struct hlist_head {
1: - struct hlist_node *first;
1: + struct hlist_node *first;
1: };
1:
1: struct hlist_node {
1: - struct hlist_node *next;
1: - struct hlist_node **pprev;
1: + struct hlist_node *next;
1: + struct hlist_node **pprev;
1: };
1:
1: struct callback_head {
1: - struct callback_head *next;
1: - void (*func)(struct callback_head *);
1: + struct callback_head *next;
1: + void (*func)(struct callback_head *);
1: };
1:
1: struct jump_entry {
1: - s32 code;
1: - s32 target;
1: - long int key;
1: + s32 code;
1: + s32 target;
1: + long int key;
1: };
1:
1: struct static_key_mod;
1:
1: struct static_key {
1: - atomic_t enabled;
1: - union {
1: - long unsigned int type;
1: - struct jump_entry *entries;
1: - struct static_key_mod *next;
1: - };
1: + atomic_t enabled;
1: + union {
1: + long unsigned int type;
1: + struct jump_entry *entries;
1: + struct static_key_mod *next;
1: + };
1: };
1:
1: struct static_key_false {
1: - struct static_key key;
1: + struct static_key key;
1: };
1:
1: typedef __s64 time64_t;
1:
1: struct __kernel_timespec {
1: - __kernel_time64_t tv_sec;
1: - long long int tv_nsec;
1: + __kernel_time64_t tv_sec;
1: + long long int tv_nsec;
1: };
1:
1: struct timespec64 {
1: - time64_t tv_sec;
1: - long int tv_nsec;
1: + time64_t tv_sec;
1: + long int tv_nsec;
1: };
1:
1: enum timespec_type {
1: - TT_NONE = 0,
1: - TT_NATIVE = 1,
1: - TT_COMPAT = 2,
1: + TT_NONE = 0,
1: + TT_NATIVE = 1,
1: + TT_COMPAT = 2,
1: };
1:
1: typedef s32 old_time32_t;
1:
1: struct old_timespec32 {
1: - old_time32_t tv_sec;
1: - s32 tv_nsec;
1: + old_time32_t tv_sec;
1: + s32 tv_nsec;
1: };
1:
1: struct pollfd;
1:
1: struct restart_block {
1: - long int (*fn)(struct restart_block *);
1: - union {
1: - struct {
1: - u32 *uaddr;
1: - u32 val;
1: - u32 flags;
1: - u32 bitset;
1: - u64 time;
1: - u32 *uaddr2;
1: - } futex;
1: - struct {
1: - clockid_t clockid;
1: - enum timespec_type type;
1: - union {
1: - struct __kernel_timespec *rmtp;
1: - struct old_timespec32 *compat_rmtp;
1: - };
1: - u64 expires;
1: - } nanosleep;
1: - struct {
1: - struct pollfd *ufds;
1: - int nfds;
1: - int has_timeout;
1: - long unsigned int tv_sec;
1: - long unsigned int tv_nsec;
1: - } poll;
1: - };
1: + long int (*fn)(struct restart_block *);
1: + union {
1: + struct {
1: + u32 *uaddr;
1: + u32 val;
1: + u32 flags;
1: + u32 bitset;
1: + u64 time;
1: + u32 *uaddr2;
1: + } futex;
1: + struct {
1: + clockid_t clockid;
1: + enum timespec_type type;
1: + union {
1: + struct __kernel_timespec *rmtp;
1: + struct old_timespec32 *compat_rmtp;
1: + };
1: + u64 expires;
1: + } nanosleep;
1: + struct {
1: + struct pollfd *ufds;
1: + int nfds;
1: + int has_timeout;
1: + long unsigned int tv_sec;
1: + long unsigned int tv_nsec;
1: + } poll;
1: + };
1: };
1:
1: struct screen_info {
1: - __u8 orig_x;
1: - __u8 orig_y;
1: - __u16 ext_mem_k;
1: - __u16 orig_video_page;
1: - __u8 orig_video_mode;
1: - __u8 orig_video_cols;
1: - __u8 flags;
1: - __u8 unused2;
1: - __u16 orig_video_ega_bx;
1: - __u16 unused3;
1: - __u8 orig_video_lines;
1: - __u8 orig_video_isVGA;
1: - __u16 orig_video_points;
1: - __u16 lfb_width;
1: - __u16 lfb_height;
1: - __u16 lfb_depth;
1: - __u32 lfb_base;
1: - __u32 lfb_size;
1: - __u16 cl_magic;
1: - __u16 cl_offset;
1: - __u16 lfb_linelength;
1: - __u8 red_size;
1: - __u8 red_pos;
1: - __u8 green_size;
1: - __u8 green_pos;
1: - __u8 blue_size;
1: - __u8 blue_pos;
1: - __u8 rsvd_size;
1: - __u8 rsvd_pos;
1: - __u16 vesapm_seg;
1: - __u16 vesapm_off;
1: - __u16 pages;
1: - __u16 vesa_attributes;
1: - __u32 capabilities;
1: - __u32 ext_lfb_base;
1: - __u8 _reserved[2];
1: + __u8 orig_x;
1: + __u8 orig_y;
1: + __u16 ext_mem_k;
1: + __u16 orig_video_page;
1: + __u8 orig_video_mode;
1: + __u8 orig_video_cols;
1: + __u8 flags;
1: + __u8 unused2;
1: + __u16 orig_video_ega_bx;
1: + __u16 unused3;
1: + __u8 orig_video_lines;
1: + __u8 orig_video_isVGA;
1: + __u16 orig_video_points;
1: + __u16 lfb_width;
1: + __u16 lfb_height;
1: + __u16 lfb_depth;
1: + __u32 lfb_base;
1: + __u32 lfb_size;
1: + __u16 cl_magic;
1: + __u16 cl_offset;
1: + __u16 lfb_linelength;
1: + __u8 red_size;
1: + __u8 red_pos;
1: + __u8 green_size;
1: + __u8 green_pos;
1: + __u8 blue_size;
1: + __u8 blue_pos;
1: + __u8 rsvd_size;
1: + __u8 rsvd_pos;
1: + __u16 vesapm_seg;
1: + __u16 vesapm_off;
1: + __u16 pages;
1: + __u16 vesa_attributes;
1: + __u32 capabilities;
1: + __u32 ext_lfb_base;
1: + __u8 _reserved[2];
1: } __attribute__((packed));
1:
1: struct apm_bios_info {
1: - __u16 version;
1: - __u16 cseg;
1: - __u32 offset;
1: - __u16 cseg_16;
1: - __u16 dseg;
1: - __u16 flags;
1: - __u16 cseg_len;
1: - __u16 cseg_16_len;
1: - __u16 dseg_len;
1: + __u16 version;
1: + __u16 cseg;
1: + __u32 offset;
1: + __u16 cseg_16;
1: + __u16 dseg;
1: + __u16 flags;
1: + __u16 cseg_len;
1: + __u16 cseg_16_len;
1: + __u16 dseg_len;
1: };
1:
1: struct edd_device_params {
1: - __u16 length;
1: - __u16 info_flags;
1: - __u32 num_default_cylinders;
1: - __u32 num_default_heads;
1: - __u32 sectors_per_track;
1: - __u64 number_of_sectors;
1: - __u16 bytes_per_sector;
1: - __u32 dpte_ptr;
1: - __u16 key;
1: - __u8 device_path_info_length;
1: - __u8 reserved2;
1: - __u16 reserved3;
1: - __u8 host_bus_type[4];
1: - __u8 interface_type[8];
1: - union {
1: - struct {
1: - __u16 base_address;
1: - __u16 reserved1;
1: - __u32 reserved2;
1: - } isa;
1: - struct {
1: - __u8 bus;
1: - __u8 slot;
1: - __u8 function;
1: - __u8 channel;
1: - __u32 reserved;
1: - } pci;
1: - struct {
1: - __u64 reserved;
1: - } ibnd;
1: - struct {
1: - __u64 reserved;
1: - } xprs;
1: - struct {
1: - __u64 reserved;
1: - } htpt;
1: - struct {
1: - __u64 reserved;
1: - } unknown;
1: - } interface_path;
1: - union {
1: - struct {
1: - __u8 device;
1: - __u8 reserved1;
1: - __u16 reserved2;
1: - __u32 reserved3;
1: - __u64 reserved4;
1: - } ata;
1: - struct {
1: - __u8 device;
1: - __u8 lun;
1: - __u8 reserved1;
1: - __u8 reserved2;
1: - __u32 reserved3;
1: - __u64 reserved4;
1: - } atapi;
1: - struct {
1: - __u16 id;
1: - __u64 lun;
1: - __u16 reserved1;
1: - __u32 reserved2;
1: - } __attribute__((packed)) scsi;
1: - struct {
1: - __u64 serial_number;
1: - __u64 reserved;
1: - } usb;
1: - struct {
1: - __u64 eui;
1: - __u64 reserved;
1: - } i1394;
1: - struct {
1: - __u64 wwid;
1: - __u64 lun;
1: - } fibre;
1: - struct {
1: - __u64 identity_tag;
1: - __u64 reserved;
1: - } i2o;
1: - struct {
1: - __u32 array_number;
1: - __u32 reserved1;
1: - __u64 reserved2;
1: - } raid;
1: - struct {
1: - __u8 device;
1: - __u8 reserved1;
1: - __u16 reserved2;
1: - __u32 reserved3;
1: - __u64 reserved4;
1: - } sata;
1: - struct {
1: - __u64 reserved1;
1: - __u64 reserved2;
1: - } unknown;
1: - } device_path;
1: - __u8 reserved4;
1: - __u8 checksum;
1: + __u16 length;
1: + __u16 info_flags;
1: + __u32 num_default_cylinders;
1: + __u32 num_default_heads;
1: + __u32 sectors_per_track;
1: + __u64 number_of_sectors;
1: + __u16 bytes_per_sector;
1: + __u32 dpte_ptr;
1: + __u16 key;
1: + __u8 device_path_info_length;
1: + __u8 reserved2;
1: + __u16 reserved3;
1: + __u8 host_bus_type[4];
1: + __u8 interface_type[8];
1: + union {
1: + struct {
1: + __u16 base_address;
1: + __u16 reserved1;
1: + __u32 reserved2;
1: + } isa;
1: + struct {
1: + __u8 bus;
1: + __u8 slot;
1: + __u8 function;
1: + __u8 channel;
1: + __u32 reserved;
1: + } pci;
1: + struct {
1: + __u64 reserved;
1: + } ibnd;
1: + struct {
1: + __u64 reserved;
1: + } xprs;
1: + struct {
1: + __u64 reserved;
1: + } htpt;
1: + struct {
1: + __u64 reserved;
1: + } unknown;
1: + } interface_path;
1: + union {
1: + struct {
1: + __u8 device;
1: + __u8 reserved1;
1: + __u16 reserved2;
1: + __u32 reserved3;
1: + __u64 reserved4;
1: + } ata;
1: + struct {
1: + __u8 device;
1: + __u8 lun;
1: + __u8 reserved1;
1: + __u8 reserved2;
1: + __u32 reserved3;
1: + __u64 reserved4;
1: + } atapi;
1: + struct {
1: + __u16 id;
1: + __u64 lun;
1: + __u16 reserved1;
1: + __u32 reserved2;
1: + } __attribute__((packed)) scsi;
1: + struct {
1: + __u64 serial_number;
1: + __u64 reserved;
1: + } usb;
1: + struct {
1: + __u64 eui;
1: + __u64 reserved;
1: + } i1394;
1: + struct {
1: + __u64 wwid;
1: + __u64 lun;
1: + } fibre;
1: + struct {
1: + __u64 identity_tag;
1: + __u64 reserved;
1: + } i2o;
1: + struct {
1: + __u32 array_number;
1: + __u32 reserved1;
1: + __u64 reserved2;
1: + } raid;
1: + struct {
1: + __u8 device;
1: + __u8 reserved1;
1: + __u16 reserved2;
1: + __u32 reserved3;
1: + __u64 reserved4;
1: + } sata;
1: + struct {
1: + __u64 reserved1;
1: + __u64 reserved2;
1: + } unknown;
1: + } device_path;
1: + __u8 reserved4;
1: + __u8 checksum;
1: } __attribute__((packed));
1:
1: struct edd_info {
1: - __u8 device;
1: - __u8 version;
1: - __u16 interface_support;
1: - __u16 legacy_max_cylinder;
1: - __u8 legacy_max_head;
1: - __u8 legacy_sectors_per_track;
1: - struct edd_device_params params;
1: + __u8 device;
1: + __u8 version;
1: + __u16 interface_support;
1: + __u16 legacy_max_cylinder;
1: + __u8 legacy_max_head;
1: + __u8 legacy_sectors_per_track;
1: + struct edd_device_params params;
1: } __attribute__((packed));
1:
1: struct ist_info {
1: - __u32 signature;
1: - __u32 command;
1: - __u32 event;
1: - __u32 perf_level;
1: + __u32 signature;
1: + __u32 command;
1: + __u32 event;
1: + __u32 perf_level;
1: };
1:
1: struct edid_info {
1: - unsigned char dummy[128];
1: + unsigned char dummy[128];
1: };
1:
1: struct setup_header {
1: - __u8 setup_sects;
1: - __u16 root_flags;
1: - __u32 syssize;
1: - __u16 ram_size;
1: - __u16 vid_mode;
1: - __u16 root_dev;
1: - __u16 boot_flag;
1: - __u16 jump;
1: - __u32 header;
1: - __u16 version;
1: - __u32 realmode_swtch;
1: - __u16 start_sys_seg;
1: - __u16 kernel_version;
1: - __u8 type_of_loader;
1: - __u8 loadflags;
1: - __u16 setup_move_size;
1: - __u32 code32_start;
1: - __u32 ramdisk_image;
1: - __u32 ramdisk_size;
1: - __u32 bootsect_kludge;
1: - __u16 heap_end_ptr;
1: - __u8 ext_loader_ver;
1: - __u8 ext_loader_type;
1: - __u32 cmd_line_ptr;
1: - __u32 initrd_addr_max;
1: - __u32 kernel_alignment;
1: - __u8 relocatable_kernel;
1: - __u8 min_alignment;
1: - __u16 xloadflags;
1: - __u32 cmdline_size;
1: - __u32 hardware_subarch;
1: - __u64 hardware_subarch_data;
1: - __u32 payload_offset;
1: - __u32 payload_length;
1: - __u64 setup_data;
1: - __u64 pref_address;
1: - __u32 init_size;
1: - __u32 handover_offset;
1: - __u32 kernel_info_offset;
1: + __u8 setup_sects;
1: + __u16 root_flags;
1: + __u32 syssize;
1: + __u16 ram_size;
1: + __u16 vid_mode;
1: + __u16 root_dev;
1: + __u16 boot_flag;
1: + __u16 jump;
1: + __u32 header;
1: + __u16 version;
1: + __u32 realmode_swtch;
1: + __u16 start_sys_seg;
1: + __u16 kernel_version;
1: + __u8 type_of_loader;
1: + __u8 loadflags;
1: + __u16 setup_move_size;
1: + __u32 code32_start;
1: + __u32 ramdisk_image;
1: + __u32 ramdisk_size;
1: + __u32 bootsect_kludge;
1: + __u16 heap_end_ptr;
1: + __u8 ext_loader_ver;
1: + __u8 ext_loader_type;
1: + __u32 cmd_line_ptr;
1: + __u32 initrd_addr_max;
1: + __u32 kernel_alignment;
1: + __u8 relocatable_kernel;
1: + __u8 min_alignment;
1: + __u16 xloadflags;
1: + __u32 cmdline_size;
1: + __u32 hardware_subarch;
1: + __u64 hardware_subarch_data;
1: + __u32 payload_offset;
1: + __u32 payload_length;
1: + __u64 setup_data;
1: + __u64 pref_address;
1: + __u32 init_size;
1: + __u32 handover_offset;
1: + __u32 kernel_info_offset;
1: } __attribute__((packed));
1:
1: struct sys_desc_table {
1: - __u16 length;
1: - __u8 table[14];
1: + __u16 length;
1: + __u8 table[14];
1: };
1:
1: struct olpc_ofw_header {
1: - __u32 ofw_magic;
1: - __u32 ofw_version;
1: - __u32 cif_handler;
1: - __u32 irq_desc_table;
1: + __u32 ofw_magic;
1: + __u32 ofw_version;
1: + __u32 cif_handler;
1: + __u32 irq_desc_table;
1: };
1:
1: struct efi_info {
1: - __u32 efi_loader_signature;
1: - __u32 efi_systab;
1: - __u32 efi_memdesc_size;
1: - __u32 efi_memdesc_version;
1: - __u32 efi_memmap;
1: - __u32 efi_memmap_size;
1: - __u32 efi_systab_hi;
1: - __u32 efi_memmap_hi;
1: + __u32 efi_loader_signature;
1: + __u32 efi_systab;
1: + __u32 efi_memdesc_size;
1: + __u32 efi_memdesc_version;
1: + __u32 efi_memmap;
1: + __u32 efi_memmap_size;
1: + __u32 efi_systab_hi;
1: + __u32 efi_memmap_hi;
1: };
1:
1: struct boot_e820_entry {
1: - __u64 addr;
1: - __u64 size;
1: - __u32 type;
1: + __u64 addr;
1: + __u64 size;
1: + __u32 type;
1: } __attribute__((packed));
1:
1: struct boot_params {
1: - struct screen_info screen_info;
1: - struct apm_bios_info apm_bios_info;
1: - __u8 _pad2[4];
1: - __u64 tboot_addr;
1: - struct ist_info ist_info;
1: - __u64 acpi_rsdp_addr;
1: - __u8 _pad3[8];
1: - __u8 hd0_info[16];
1: - __u8 hd1_info[16];
1: - struct sys_desc_table sys_desc_table;
1: - struct olpc_ofw_header olpc_ofw_header;
1: - __u32 ext_ramdisk_image;
1: - __u32 ext_ramdisk_size;
1: - __u32 ext_cmd_line_ptr;
1: - __u8 _pad4[116];
1: - struct edid_info edid_info;
1: - struct efi_info efi_info;
1: - __u32 alt_mem_k;
1: - __u32 scratch;
1: - __u8 e820_entries;
1: - __u8 eddbuf_entries;
1: - __u8 edd_mbr_sig_buf_entries;
1: - __u8 kbd_status;
1: - __u8 secure_boot;
1: - __u8 _pad5[2];
1: - __u8 sentinel;
1: - __u8 _pad6[1];
1: - struct setup_header hdr;
1: - __u8 _pad7[36];
1: - __u32 edd_mbr_sig_buffer[16];
1: - struct boot_e820_entry e820_table[128];
1: - __u8 _pad8[48];
1: - struct edd_info eddbuf[6];
1: - __u8 _pad9[276];
1: + struct screen_info screen_info;
1: + struct apm_bios_info apm_bios_info;
1: + __u8 _pad2[4];
1: + __u64 tboot_addr;
1: + struct ist_info ist_info;
1: + __u64 acpi_rsdp_addr;
1: + __u8 _pad3[8];
1: + __u8 hd0_info[16];
1: + __u8 hd1_info[16];
1: + struct sys_desc_table sys_desc_table;
1: + struct olpc_ofw_header olpc_ofw_header;
1: + __u32 ext_ramdisk_image;
1: + __u32 ext_ramdisk_size;
1: + __u32 ext_cmd_line_ptr;
1: + __u8 _pad4[116];
1: + struct edid_info edid_info;
1: + struct efi_info efi_info;
1: + __u32 alt_mem_k;
1: + __u32 scratch;
1: + __u8 e820_entries;
1: + __u8 eddbuf_entries;
1: + __u8 edd_mbr_sig_buf_entries;
1: + __u8 kbd_status;
1: + __u8 secure_boot;
1: + __u8 _pad5[2];
1: + __u8 sentinel;
1: + __u8 _pad6[1];
1: + struct setup_header hdr;
1: + __u8 _pad7[36];
1: + __u32 edd_mbr_sig_buffer[16];
1: + struct boot_e820_entry e820_table[128];
1: + __u8 _pad8[48];
1: + struct edd_info eddbuf[6];
1: + __u8 _pad9[276];
1: } __attribute__((packed));
1:
1: enum x86_hardware_subarch {
1: - X86_SUBARCH_PC = 0,
1: - X86_SUBARCH_LGUEST = 1,
1: - X86_SUBARCH_XEN = 2,
1: - X86_SUBARCH_INTEL_MID = 3,
1: - X86_SUBARCH_CE4100 = 4,
1: - X86_NR_SUBARCHS = 5,
1: + X86_SUBARCH_PC = 0,
1: + X86_SUBARCH_LGUEST = 1,
1: + X86_SUBARCH_XEN = 2,
1: + X86_SUBARCH_INTEL_MID = 3,
1: + X86_SUBARCH_CE4100 = 4,
1: + X86_NR_SUBARCHS = 5,
1: };
1:
1: struct pt_regs {
1: - long unsigned int r15;
1: - long unsigned int r14;
1: - long unsigned int r13;
1: - long unsigned int r12;
1: - long unsigned int bp;
1: - long unsigned int bx;
1: - long unsigned int r11;
1: - long unsigned int r10;
1: - long unsigned int r9;
1: - long unsigned int r8;
1: - long unsigned int ax;
1: - long unsigned int cx;
1: - long unsigned int dx;
1: - long unsigned int si;
1: - long unsigned int di;
1: - long unsigned int orig_ax;
1: - long unsigned int ip;
1: - long unsigned int cs;
1: - long unsigned int flags;
1: - long unsigned int sp;
1: - long unsigned int ss;
1: + long unsigned int r15;
1: + long unsigned int r14;
1: + long unsigned int r13;
1: + long unsigned int r12;
1: + long unsigned int bp;
1: + long unsigned int bx;
1: + long unsigned int r11;
1: + long unsigned int r10;
1: + long unsigned int r9;
1: + long unsigned int r8;
1: + long unsigned int ax;
1: + long unsigned int cx;
1: + long unsigned int dx;
1: + long unsigned int si;
1: + long unsigned int di;
1: + long unsigned int orig_ax;
1: + long unsigned int ip;
1: + long unsigned int cs;
1: + long unsigned int flags;
1: + long unsigned int sp;
1: + long unsigned int ss;
1: };
1:
1: struct math_emu_info {
1: - long int ___orig_eip;
1: - struct pt_regs *regs;
1: + long int ___orig_eip;
1: + struct pt_regs *regs;
1: };
1:
1: typedef long unsigned int pteval_t;
1: @@ -544,60 +541,50 @@ typedef long unsigned int pgdval_t;
1:
1: typedef long unsigned int pgprotval_t;
1:
1: -typedef struct {
1: - pteval_t pte;
1: -} pte_t;
1: +typedef struct { pteval_t pte; } pte_t;
1:
1: struct pgprot {
1: - pgprotval_t pgprot;
1: + pgprotval_t pgprot;
1: };
1:
1: typedef struct pgprot pgprot_t;
1:
1: -typedef struct {
1: - pgdval_t pgd;
1: -} pgd_t;
1: +typedef struct { pgdval_t pgd; } pgd_t;
1:
1: -typedef struct {
1: - p4dval_t p4d;
1: -} p4d_t;
1: +typedef struct { p4dval_t p4d; } p4d_t;
1:
1: -typedef struct {
1: - pudval_t pud;
1: -} pud_t;
1: +typedef struct { pudval_t pud; } pud_t;
1:
1: -typedef struct {
1: - pmdval_t pmd;
1: -} pmd_t;
1: +typedef struct { pmdval_t pmd; } pmd_t;
1:
1: struct page;
1:
1: typedef struct page *pgtable_t;
1:
1: struct qspinlock {
1: - union {
1: - atomic_t val;
1: - struct {
1: - u8 locked;
1: - u8 pending;
1: - };
1: - struct {
1: - u16 locked_pending;
1: - u16 tail;
1: - };
1: - };
1: + union {
1: + atomic_t val;
1: + struct {
1: + u8 locked;
1: + u8 pending;
1: + };
1: + struct {
1: + u16 locked_pending;
1: + u16 tail;
1: + };
1: + };
1: };
1:
1: typedef struct qspinlock arch_spinlock_t;
1:
1: struct raw_spinlock {
1: - arch_spinlock_t raw_lock;
1: + arch_spinlock_t raw_lock;
1: };
1:
1: struct spinlock {
1: - union {
1: - struct raw_spinlock rlock;
1: - };
1: + union {
1: + struct raw_spinlock rlock;
1: + };
1: };
1:
1: typedef struct spinlock spinlock_t;
1: @@ -611,79 +598,79 @@ struct mm_struct;
1: struct dev_pagemap;
1:
1: struct page {
1: - long unsigned int flags;
1: - union {
1: - struct {
1: - struct list_head lru;
1: - struct address_space *mapping;
1: - long unsigned int index;
1: - long unsigned int private;
1: - };
1: - struct {
1: - dma_addr_t dma_addr;
1: - };
1: - struct {
1: - union {
1: - struct list_head slab_list;
1: - struct {
1: - struct page *next;
1: - int pages;
1: - int pobjects;
1: - };
1: - };
1: - struct kmem_cache *slab_cache;
1: - void *freelist;
1: - union {
1: - void *s_mem;
1: - long unsigned int counters;
1: - struct {
1: - unsigned int inuse: 16;
1: - unsigned int objects: 15;
1: - unsigned int frozen: 1;
1: - };
1: - };
1: - };
1: - struct {
1: - long unsigned int compound_head;
1: - unsigned char compound_dtor;
1: - unsigned char compound_order;
1: - atomic_t compound_mapcount;
1: - };
1: - struct {
1: - long unsigned int _compound_pad_1;
1: - long unsigned int _compound_pad_2;
1: - struct list_head deferred_list;
1: - };
1: - struct {
1: - long unsigned int _pt_pad_1;
1: - pgtable_t pmd_huge_pte;
1: - long unsigned int _pt_pad_2;
1: - union {
1: - struct mm_struct *pt_mm;
1: - atomic_t pt_frag_refcount;
1: - };
1: - spinlock_t ptl;
1: - };
1: - struct {
1: - struct dev_pagemap *pgmap;
1: - void *zone_device_data;
1: - };
1: - struct callback_head callback_head;
1: - };
1: - union {
1: - atomic_t _mapcount;
1: - unsigned int page_type;
1: - unsigned int active;
1: - int units;
1: - };
1: - atomic_t _refcount;
1: - long: 64;
1: + long unsigned int flags;
1: + union {
1: + struct {
1: + struct list_head lru;
1: + struct address_space *mapping;
1: + long unsigned int index;
1: + long unsigned int private;
1: + };
1: + struct {
1: + dma_addr_t dma_addr;
1: + };
1: + struct {
1: + union {
1: + struct list_head slab_list;
1: + struct {
1: + struct page *next;
1: + int pages;
1: + int pobjects;
1: + };
1: + };
1: + struct kmem_cache *slab_cache;
1: + void *freelist;
1: + union {
1: + void *s_mem;
1: + long unsigned int counters;
1: + struct {
1: + unsigned int inuse : 16;
1: + unsigned int objects : 15;
1: + unsigned int frozen : 1;
1: + };
1: + };
1: + };
1: + struct {
1: + long unsigned int compound_head;
1: + unsigned char compound_dtor;
1: + unsigned char compound_order;
1: + atomic_t compound_mapcount;
1: + };
1: + struct {
1: + long unsigned int _compound_pad_1;
1: + long unsigned int _compound_pad_2;
1: + struct list_head deferred_list;
1: + };
1: + struct {
1: + long unsigned int _pt_pad_1;
1: + pgtable_t pmd_huge_pte;
1: + long unsigned int _pt_pad_2;
1: + union {
1: + struct mm_struct *pt_mm;
1: + atomic_t pt_frag_refcount;
1: + };
1: + spinlock_t ptl;
1: + };
1: + struct {
1: + struct dev_pagemap *pgmap;
1: + void *zone_device_data;
1: + };
1: + struct callback_head callback_head;
1: + };
1: + union {
1: + atomic_t _mapcount;
1: + unsigned int page_type;
1: + unsigned int active;
1: + int units;
1: + };
1: + atomic_t _refcount;
1: + long : 64;
1: };
1:
1: typedef atomic64_t atomic_long_t;
1:
1: struct cpumask {
1: - long unsigned int bits[1];
1: + long unsigned int bits[1];
1: };
1:
1: typedef struct cpumask cpumask_t;
1: @@ -691,912 +678,908 @@ typedef struct cpumask cpumask_t;
1: typedef struct cpumask cpumask_var_t[1];
1:
1: struct tracepoint_func {
1: - void *func;
1: - void *data;
1: - int prio;
1: + void *func;
1: + void *data;
1: + int prio;
1: };
1:
1: struct tracepoint {
1: - const char *name;
1: - struct static_key key;
1: - int (*regfunc)();
1: - void (*unregfunc)();
1: - struct tracepoint_func *funcs;
1: + const char *name;
1: + struct static_key key;
1: + int (*regfunc)();
1: + void (*unregfunc)();
1: + struct tracepoint_func *funcs;
1: };
1:
1: struct desc_struct {
1: - u16 limit0;
1: - u16 base0;
1: - u16 base1: 8;
1: - u16 type: 4;
1: - u16 s: 1;
1: - u16 dpl: 2;
1: - u16 p: 1;
1: - u16 limit1: 4;
1: - u16 avl: 1;
1: - u16 l: 1;
1: - u16 d: 1;
1: - u16 g: 1;
1: - u16 base2: 8;
1: + u16 limit0;
1: + u16 base0;
1: + u16 base1 : 8;
1: + u16 type : 4;
1: + u16 s : 1;
1: + u16 dpl : 2;
1: + u16 p : 1;
1: + u16 limit1 : 4;
1: + u16 avl : 1;
1: + u16 l : 1;
1: + u16 d : 1;
1: + u16 g : 1;
1: + u16 base2 : 8;
1: };
1:
1: struct desc_ptr {
1: - short unsigned int size;
1: - long unsigned int address;
1: + short unsigned int size;
1: + long unsigned int address;
1: } __attribute__((packed));
1:
1: struct fregs_state {
1: - u32 cwd;
1: - u32 swd;
1: - u32 twd;
1: - u32 fip;
1: - u32 fcs;
1: - u32 foo;
1: - u32 fos;
1: - u32 st_space[20];
1: - u32 status;
1: + u32 cwd;
1: + u32 swd;
1: + u32 twd;
1: + u32 fip;
1: + u32 fcs;
1: + u32 foo;
1: + u32 fos;
1: + u32 st_space[20];
1: + u32 status;
1: };
1:
1: struct fxregs_state {
1: - u16 cwd;
1: - u16 swd;
1: - u16 twd;
1: - u16 fop;
1: - union {
1: - struct {
1: - u64 rip;
1: - u64 rdp;
1: - };
1: - struct {
1: - u32 fip;
1: - u32 fcs;
1: - u32 foo;
1: - u32 fos;
1: - };
1: - };
1: - u32 mxcsr;
1: - u32 mxcsr_mask;
1: - u32 st_space[32];
1: - u32 xmm_space[64];
1: - u32 padding[12];
1: - union {
1: - u32 padding1[12];
1: - u32 sw_reserved[12];
1: - };
1: + u16 cwd;
1: + u16 swd;
1: + u16 twd;
1: + u16 fop;
1: + union {
1: + struct {
1: + u64 rip;
1: + u64 rdp;
1: + };
1: + struct {
1: + u32 fip;
1: + u32 fcs;
1: + u32 foo;
1: + u32 fos;
1: + };
1: + };
1: + u32 mxcsr;
1: + u32 mxcsr_mask;
1: + u32 st_space[32];
1: + u32 xmm_space[64];
1: + u32 padding[12];
1: + union {
1: + u32 padding1[12];
1: + u32 sw_reserved[12];
1: + };
1: };
1:
1: struct swregs_state {
1: - u32 cwd;
1: - u32 swd;
1: - u32 twd;
1: - u32 fip;
1: - u32 fcs;
1: - u32 foo;
1: - u32 fos;
1: - u32 st_space[20];
1: - u8 ftop;
1: - u8 changed;
1: - u8 lookahead;
1: - u8 no_update;
1: - u8 rm;
1: - u8 alimit;
1: - struct math_emu_info *info;
1: - u32 entry_eip;
1: + u32 cwd;
1: + u32 swd;
1: + u32 twd;
1: + u32 fip;
1: + u32 fcs;
1: + u32 foo;
1: + u32 fos;
1: + u32 st_space[20];
1: + u8 ftop;
1: + u8 changed;
1: + u8 lookahead;
1: + u8 no_update;
1: + u8 rm;
1: + u8 alimit;
1: + struct math_emu_info *info;
1: + u32 entry_eip;
1: };
1:
1: struct xstate_header {
1: - u64 xfeatures;
1: - u64 xcomp_bv;
1: - u64 reserved[6];
1: + u64 xfeatures;
1: + u64 xcomp_bv;
1: + u64 reserved[6];
1: };
1:
1: struct xregs_state {
1: - struct fxregs_state i387;
1: - struct xstate_header header;
1: - u8 extended_state_area[0];
1: + struct fxregs_state i387;
1: + struct xstate_header header;
1: + u8 extended_state_area[0];
1: };
1:
1: union fpregs_state {
1: - struct fregs_state fsave;
1: - struct fxregs_state fxsave;
1: - struct swregs_state soft;
1: - struct xregs_state xsave;
1: - u8 __padding[4096];
1: + struct fregs_state fsave;
1: + struct fxregs_state fxsave;
1: + struct swregs_state soft;
1: + struct xregs_state xsave;
1: + u8 __padding[4096];
1: };
1:
1: struct fpu {
1: - unsigned int last_cpu;
1: - long unsigned int avx512_timestamp;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - union fpregs_state state;
1: + unsigned int last_cpu;
1: + long unsigned int avx512_timestamp;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + union fpregs_state state;
1: };
1:
1: struct cpuinfo_x86 {
1: - __u8 x86;
1: - __u8 x86_vendor;
1: - __u8 x86_model;
1: - __u8 x86_stepping;
1: - int x86_tlbsize;
1: - __u8 x86_virt_bits;
1: - __u8 x86_phys_bits;
1: - __u8 x86_coreid_bits;
1: - __u8 cu_id;
1: - __u32 extended_cpuid_level;
1: - int cpuid_level;
1: - union {
1: - __u32 x86_capability[20];
1: - long unsigned int x86_capability_alignment;
1: - };
1: - char x86_vendor_id[16];
1: - char x86_model_id[64];
1: - unsigned int x86_cache_size;
1: - int x86_cache_alignment;
1: - int x86_cache_max_rmid;
1: - int x86_cache_occ_scale;
1: - int x86_power;
1: - long unsigned int loops_per_jiffy;
1: - u16 x86_max_cores;
1: - u16 apicid;
1: - u16 initial_apicid;
1: - u16 x86_clflush_size;
1: - u16 booted_cores;
1: - u16 phys_proc_id;
1: - u16 logical_proc_id;
1: - u16 cpu_core_id;
1: - u16 cpu_die_id;
1: - u16 logical_die_id;
1: - u16 cpu_index;
1: - u32 microcode;
1: - u8 x86_cache_bits;
1: - unsigned int initialized: 1;
1: + __u8 x86;
1: + __u8 x86_vendor;
1: + __u8 x86_model;
1: + __u8 x86_stepping;
1: + int x86_tlbsize;
1: + __u8 x86_virt_bits;
1: + __u8 x86_phys_bits;
1: + __u8 x86_coreid_bits;
1: + __u8 cu_id;
1: + __u32 extended_cpuid_level;
1: + int cpuid_level;
1: + union {
1: + __u32 x86_capability[20];
1: + long unsigned int x86_capability_alignment;
1: + };
1: + char x86_vendor_id[16];
1: + char x86_model_id[64];
1: + unsigned int x86_cache_size;
1: + int x86_cache_alignment;
1: + int x86_cache_max_rmid;
1: + int x86_cache_occ_scale;
1: + int x86_power;
1: + long unsigned int loops_per_jiffy;
1: + u16 x86_max_cores;
1: + u16 apicid;
1: + u16 initial_apicid;
1: + u16 x86_clflush_size;
1: + u16 booted_cores;
1: + u16 phys_proc_id;
1: + u16 logical_proc_id;
1: + u16 cpu_core_id;
1: + u16 cpu_die_id;
1: + u16 logical_die_id;
1: + u16 cpu_index;
1: + u32 microcode;
1: + u8 x86_cache_bits;
1: + unsigned int initialized : 1;
1: };
1:
1: struct x86_hw_tss {
1: - u32 reserved1;
1: - u64 sp0;
1: - u64 sp1;
1: - u64 sp2;
1: - u64 reserved2;
1: - u64 ist[7];
1: - u32 reserved3;
1: - u32 reserved4;
1: - u16 reserved5;
1: - u16 io_bitmap_base;
1: + u32 reserved1;
1: + u64 sp0;
1: + u64 sp1;
1: + u64 sp2;
1: + u64 reserved2;
1: + u64 ist[7];
1: + u32 reserved3;
1: + u32 reserved4;
1: + u16 reserved5;
1: + u16 io_bitmap_base;
1: } __attribute__((packed));
1:
1: struct x86_io_bitmap {
1: - u64 prev_sequence;
1: - unsigned int prev_max;
1: - long unsigned int bitmap[1025];
1: - long unsigned int mapall[1025];
1: + u64 prev_sequence;
1: + unsigned int prev_max;
1: + long unsigned int bitmap[1025];
1: + long unsigned int mapall[1025];
1: };
1:
1: struct tss_struct {
1: - struct x86_hw_tss x86_tss;
1: - struct x86_io_bitmap io_bitmap;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct x86_hw_tss x86_tss;
1: + struct x86_io_bitmap io_bitmap;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct fixed_percpu_data {
1: - char gs_base[40];
1: - long unsigned int stack_canary;
1: + char gs_base[40];
1: + long unsigned int stack_canary;
1: };
1:
1: -typedef struct {
1: - long unsigned int seg;
1: -} mm_segment_t;
1: +typedef struct { long unsigned int seg; } mm_segment_t;
1:
1: struct perf_event;
1:
1: struct io_bitmap;
1:
1: struct thread_struct {
1: - struct desc_struct tls_array[3];
1: - long unsigned int sp;
1: - short unsigned int es;
1: - short unsigned int ds;
1: - short unsigned int fsindex;
1: - short unsigned int gsindex;
1: - long unsigned int fsbase;
1: - long unsigned int gsbase;
1: - struct perf_event *ptrace_bps[4];
1: - long unsigned int debugreg6;
1: - long unsigned int ptrace_dr7;
1: - long unsigned int cr2;
1: - long unsigned int trap_nr;
1: - long unsigned int error_code;
1: - struct io_bitmap *io_bitmap;
1: - long unsigned int iopl_emul;
1: - mm_segment_t addr_limit;
1: - unsigned int sig_on_uaccess_err: 1;
1: - unsigned int uaccess_err: 1;
1: - long: 62;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct fpu fpu;
1: + struct desc_struct tls_array[3];
1: + long unsigned int sp;
1: + short unsigned int es;
1: + short unsigned int ds;
1: + short unsigned int fsindex;
1: + short unsigned int gsindex;
1: + long unsigned int fsbase;
1: + long unsigned int gsbase;
1: + struct perf_event *ptrace_bps[4];
1: + long unsigned int debugreg6;
1: + long unsigned int ptrace_dr7;
1: + long unsigned int cr2;
1: + long unsigned int trap_nr;
1: + long unsigned int error_code;
1: + struct io_bitmap *io_bitmap;
1: + long unsigned int iopl_emul;
1: + mm_segment_t addr_limit;
1: + unsigned int sig_on_uaccess_err : 1;
1: + unsigned int uaccess_err : 1;
1: + long : 62;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct fpu fpu;
1: };
1:
1: struct thread_info {
1: - long unsigned int flags;
1: - u32 status;
1: + long unsigned int flags;
1: + u32 status;
1: };
1:
1: struct llist_node {
1: - struct llist_node *next;
1: + struct llist_node *next;
1: };
1:
1: struct mpc_table {
1: - char signature[4];
1: - short unsigned int length;
1: - char spec;
1: - char checksum;
1: - char oem[8];
1: - char productid[12];
1: - unsigned int oemptr;
1: - short unsigned int oemsize;
1: - short unsigned int oemcount;
1: - unsigned int lapic;
1: - unsigned int reserved;
1: + char signature[4];
1: + short unsigned int length;
1: + char spec;
1: + char checksum;
1: + char oem[8];
1: + char productid[12];
1: + unsigned int oemptr;
1: + short unsigned int oemsize;
1: + short unsigned int oemcount;
1: + unsigned int lapic;
1: + unsigned int reserved;
1: };
1:
1: struct mpc_cpu {
1: - unsigned char type;
1: - unsigned char apicid;
1: - unsigned char apicver;
1: - unsigned char cpuflag;
1: - unsigned int cpufeature;
1: - unsigned int featureflag;
1: - unsigned int reserved[2];
1: + unsigned char type;
1: + unsigned char apicid;
1: + unsigned char apicver;
1: + unsigned char cpuflag;
1: + unsigned int cpufeature;
1: + unsigned int featureflag;
1: + unsigned int reserved[2];
1: };
1:
1: struct mpc_bus {
1: - unsigned char type;
1: - unsigned char busid;
1: - unsigned char bustype[6];
1: + unsigned char type;
1: + unsigned char busid;
1: + unsigned char bustype[6];
1: };
1:
1: struct x86_init_mpparse {
1: - void (*mpc_record)(unsigned int);
1: - void (*setup_ioapic_ids)();
1: - int (*mpc_apic_id)(struct mpc_cpu *);
1: - void (*smp_read_mpc_oem)(struct mpc_table *);
1: - void (*mpc_oem_pci_bus)(struct mpc_bus *);
1: - void (*mpc_oem_bus_info)(struct mpc_bus *, char *);
1: - void (*find_smp_config)();
1: - void (*get_smp_config)(unsigned int);
1: + void (*mpc_record)(unsigned int);
1: + void (*setup_ioapic_ids)();
1: + int (*mpc_apic_id)(struct mpc_cpu *);
1: + void (*smp_read_mpc_oem)(struct mpc_table *);
1: + void (*mpc_oem_pci_bus)(struct mpc_bus *);
1: + void (*mpc_oem_bus_info)(struct mpc_bus *, char *);
1: + void (*find_smp_config)();
1: + void (*get_smp_config)(unsigned int);
1: };
1:
1: struct x86_init_resources {
1: - void (*probe_roms)();
1: - void (*reserve_resources)();
1: - char * (*memory_setup)();
1: + void (*probe_roms)();
1: + void (*reserve_resources)();
1: + char *(*memory_setup)();
1: };
1:
1: struct x86_init_irqs {
1: - void (*pre_vector_init)();
1: - void (*intr_init)();
1: - void (*trap_init)();
1: - void (*intr_mode_init)();
1: + void (*pre_vector_init)();
1: + void (*intr_init)();
1: + void (*trap_init)();
1: + void (*intr_mode_init)();
1: };
1:
1: struct x86_init_oem {
1: - void (*arch_setup)();
1: - void (*banner)();
1: + void (*arch_setup)();
1: + void (*banner)();
1: };
1:
1: struct x86_init_paging {
1: - void (*pagetable_init)();
1: + void (*pagetable_init)();
1: };
1:
1: struct x86_init_timers {
1: - void (*setup_percpu_clockev)();
1: - void (*timer_init)();
1: - void (*wallclock_init)();
1: + void (*setup_percpu_clockev)();
1: + void (*timer_init)();
1: + void (*wallclock_init)();
1: };
1:
1: struct x86_init_iommu {
1: - int (*iommu_init)();
1: + int (*iommu_init)();
1: };
1:
1: struct x86_init_pci {
1: - int (*arch_init)();
1: - int (*init)();
1: - void (*init_irq)();
1: - void (*fixup_irqs)();
1: + int (*arch_init)();
1: + int (*init)();
1: + void (*init_irq)();
1: + void (*fixup_irqs)();
1: };
1:
1: struct x86_hyper_init {
1: - void (*init_platform)();
1: - void (*guest_late_init)();
1: - bool (*x2apic_available)();
1: - void (*init_mem_mapping)();
1: - void (*init_after_bootmem)();
1: + void (*init_platform)();
1: + void (*guest_late_init)();
1: + bool (*x2apic_available)();
1: + void (*init_mem_mapping)();
1: + void (*init_after_bootmem)();
1: };
1:
1: struct x86_init_acpi {
1: - void (*set_root_pointer)(u64);
1: - u64 (*get_root_pointer)();
1: - void (*reduced_hw_early_init)();
1: + void (*set_root_pointer)(u64);
1: + u64 (*get_root_pointer)();
1: + void (*reduced_hw_early_init)();
1: };
1:
1: struct x86_init_ops {
1: - struct x86_init_resources resources;
1: - struct x86_init_mpparse mpparse;
1: - struct x86_init_irqs irqs;
1: - struct x86_init_oem oem;
1: - struct x86_init_paging paging;
1: - struct x86_init_timers timers;
1: - struct x86_init_iommu iommu;
1: - struct x86_init_pci pci;
1: - struct x86_hyper_init hyper;
1: - struct x86_init_acpi acpi;
1: + struct x86_init_resources resources;
1: + struct x86_init_mpparse mpparse;
1: + struct x86_init_irqs irqs;
1: + struct x86_init_oem oem;
1: + struct x86_init_paging paging;
1: + struct x86_init_timers timers;
1: + struct x86_init_iommu iommu;
1: + struct x86_init_pci pci;
1: + struct x86_hyper_init hyper;
1: + struct x86_init_acpi acpi;
1: };
1:
1: struct x86_legacy_devices {
1: - int pnpbios;
1: + int pnpbios;
1: };
1:
1: enum x86_legacy_i8042_state {
1: - X86_LEGACY_I8042_PLATFORM_ABSENT = 0,
1: - X86_LEGACY_I8042_FIRMWARE_ABSENT = 1,
1: - X86_LEGACY_I8042_EXPECTED_PRESENT = 2,
1: + X86_LEGACY_I8042_PLATFORM_ABSENT = 0,
1: + X86_LEGACY_I8042_FIRMWARE_ABSENT = 1,
1: + X86_LEGACY_I8042_EXPECTED_PRESENT = 2,
1: };
1:
1: struct x86_legacy_features {
1: - enum x86_legacy_i8042_state i8042;
1: - int rtc;
1: - int warm_reset;
1: - int no_vga;
1: - int reserve_bios_regions;
1: - struct x86_legacy_devices devices;
1: + enum x86_legacy_i8042_state i8042;
1: + int rtc;
1: + int warm_reset;
1: + int no_vga;
1: + int reserve_bios_regions;
1: + struct x86_legacy_devices devices;
1: };
1:
1: struct x86_hyper_runtime {
1: - void (*pin_vcpu)(int);
1: + void (*pin_vcpu)(int);
1: };
1:
1: struct x86_platform_ops {
1: - long unsigned int (*calibrate_cpu)();
1: - long unsigned int (*calibrate_tsc)();
1: - void (*get_wallclock)(struct timespec64 *);
1: - int (*set_wallclock)(const struct timespec64 *);
1: - void (*iommu_shutdown)();
1: - bool (*is_untracked_pat_range)(u64, u64);
1: - void (*nmi_init)();
1: - unsigned char (*get_nmi_reason)();
1: - void (*save_sched_clock_state)();
1: - void (*restore_sched_clock_state)();
1: - void (*apic_post_init)();
1: - struct x86_legacy_features legacy;
1: - void (*set_legacy_features)();
1: - struct x86_hyper_runtime hyper;
1: + long unsigned int (*calibrate_cpu)();
1: + long unsigned int (*calibrate_tsc)();
1: + void (*get_wallclock)(struct timespec64 *);
1: + int (*set_wallclock)(const struct timespec64 *);
1: + void (*iommu_shutdown)();
1: + bool (*is_untracked_pat_range)(u64, u64);
1: + void (*nmi_init)();
1: + unsigned char (*get_nmi_reason)();
1: + void (*save_sched_clock_state)();
1: + void (*restore_sched_clock_state)();
1: + void (*apic_post_init)();
1: + struct x86_legacy_features legacy;
1: + void (*set_legacy_features)();
1: + struct x86_hyper_runtime hyper;
1: };
1:
1: struct x86_apic_ops {
1: - unsigned int (*io_apic_read)(unsigned int, unsigned int);
1: - void (*restore)();
1: + unsigned int (*io_apic_read)(unsigned int, unsigned int);
1: + void (*restore)();
1: };
1:
1: struct physid_mask {
1: - long unsigned int mask[512];
1: + long unsigned int mask[512];
1: };
1:
1: typedef struct physid_mask physid_mask_t;
1:
1: -typedef struct {
1: - long unsigned int bits[1];
1: -} nodemask_t;
1: +typedef struct { long unsigned int bits[1]; } nodemask_t;
1:
1: struct qrwlock {
1: - union {
1: - atomic_t cnts;
1: - struct {
1: - u8 wlocked;
1: - u8 __lstate[3];
1: - };
1: - };
1: - arch_spinlock_t wait_lock;
1: + union {
1: + atomic_t cnts;
1: + struct {
1: + u8 wlocked;
1: + u8 __lstate[3];
1: + };
1: + };
1: + arch_spinlock_t wait_lock;
1: };
1:
1: typedef struct qrwlock arch_rwlock_t;
1: @@ -1605,290 +1588,284 @@ struct lock_class_key {};
1:
1: typedef struct raw_spinlock raw_spinlock_t;
1:
1: -typedef struct {
1: - arch_rwlock_t raw_lock;
1: -} rwlock_t;
1: +typedef struct { arch_rwlock_t raw_lock; } rwlock_t;
1:
1: struct optimistic_spin_queue {
1: - atomic_t tail;
1: + atomic_t tail;
1: };
1:
1: struct rw_semaphore {
1: - atomic_long_t count;
1: - atomic_long_t owner;
1: - struct optimistic_spin_queue osq;
1: - raw_spinlock_t wait_lock;
1: - struct list_head wait_list;
1: + atomic_long_t count;
1: + atomic_long_t owner;
1: + struct optimistic_spin_queue osq;
1: + raw_spinlock_t wait_lock;
1: + struct list_head wait_list;
1: };
1:
1: struct mutex {
1: - atomic_long_t owner;
1: - spinlock_t wait_lock;
1: - struct optimistic_spin_queue osq;
1: - struct list_head wait_list;
1: + atomic_long_t owner;
1: + spinlock_t wait_lock;
1: + struct optimistic_spin_queue osq;
1: + struct list_head wait_list;
1: };
1:
1: struct refcount_struct {
1: - atomic_t refs;
1: + atomic_t refs;
1: };
1:
1: typedef struct refcount_struct refcount_t;
1:
1: struct load_weight {
1: - long unsigned int weight;
1: - u32 inv_weight;
1: + long unsigned int weight;
1: + u32 inv_weight;
1: };
1:
1: struct rb_node {
1: - long unsigned int __rb_parent_color;
1: - struct rb_node *rb_right;
1: - struct rb_node *rb_left;
1: + long unsigned int __rb_parent_color;
1: + struct rb_node *rb_right;
1: + struct rb_node *rb_left;
1: };
1:
1: struct sched_statistics {
1: - u64 wait_start;
1: - u64 wait_max;
1: - u64 wait_count;
1: - u64 wait_sum;
1: - u64 iowait_count;
1: - u64 iowait_sum;
1: - u64 sleep_start;
1: - u64 sleep_max;
1: - s64 sum_sleep_runtime;
1: - u64 block_start;
1: - u64 block_max;
1: - u64 exec_max;
1: - u64 slice_max;
1: - u64 nr_migrations_cold;
1: - u64 nr_failed_migrations_affine;
1: - u64 nr_failed_migrations_running;
1: - u64 nr_failed_migrations_hot;
1: - u64 nr_forced_migrations;
1: - u64 nr_wakeups;
1: - u64 nr_wakeups_sync;
1: - u64 nr_wakeups_migrate;
1: - u64 nr_wakeups_local;
1: - u64 nr_wakeups_remote;
1: - u64 nr_wakeups_affine;
1: - u64 nr_wakeups_affine_attempts;
1: - u64 nr_wakeups_passive;
1: - u64 nr_wakeups_idle;
1: + u64 wait_start;
1: + u64 wait_max;
1: + u64 wait_count;
1: + u64 wait_sum;
1: + u64 iowait_count;
1: + u64 iowait_sum;
1: + u64 sleep_start;
1: + u64 sleep_max;
1: + s64 sum_sleep_runtime;
1: + u64 block_start;
1: + u64 block_max;
1: + u64 exec_max;
1: + u64 slice_max;
1: + u64 nr_migrations_cold;
1: + u64 nr_failed_migrations_affine;
1: + u64 nr_failed_migrations_running;
1: + u64 nr_failed_migrations_hot;
1: + u64 nr_forced_migrations;
1: + u64 nr_wakeups;
1: + u64 nr_wakeups_sync;
1: + u64 nr_wakeups_migrate;
1: + u64 nr_wakeups_local;
1: + u64 nr_wakeups_remote;
1: + u64 nr_wakeups_affine;
1: + u64 nr_wakeups_affine_attempts;
1: + u64 nr_wakeups_passive;
1: + u64 nr_wakeups_idle;
1: };
1:
1: struct util_est {
1: - unsigned int enqueued;
1: - unsigned int ewma;
1: + unsigned int enqueued;
1: + unsigned int ewma;
1: };
1:
1: struct sched_avg {
1: - u64 last_update_time;
1: - u64 load_sum;
1: - u64 runnable_load_sum;
1: - u32 util_sum;
1: - u32 period_contrib;
1: - long unsigned int load_avg;
1: - long unsigned int runnable_load_avg;
1: - long unsigned int util_avg;
1: - struct util_est util_est;
1: + u64 last_update_time;
1: + u64 load_sum;
1: + u64 runnable_load_sum;
1: + u32 util_sum;
1: + u32 period_contrib;
1: + long unsigned int load_avg;
1: + long unsigned int runnable_load_avg;
1: + long unsigned int util_avg;
1: + struct util_est util_est;
1: };
1:
1: struct cfs_rq;
1:
1: struct sched_entity {
1: - struct load_weight load;
1: - long unsigned int runnable_weight;
1: - struct rb_node run_node;
1: - struct list_head group_node;
1: - unsigned int on_rq;
1: - u64 exec_start;
1: - u64 sum_exec_runtime;
1: - u64 vruntime;
1: - u64 prev_sum_exec_runtime;
1: - u64 nr_migrations;
1: - struct sched_statistics statistics;
1: - int depth;
1: - struct sched_entity *parent;
1: - struct cfs_rq *cfs_rq;
1: - struct cfs_rq *my_q;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct sched_avg avg;
1: + struct load_weight load;
1: + long unsigned int runnable_weight;
1: + struct rb_node run_node;
1: + struct list_head group_node;
1: + unsigned int on_rq;
1: + u64 exec_start;
1: + u64 sum_exec_runtime;
1: + u64 vruntime;
1: + u64 prev_sum_exec_runtime;
1: + u64 nr_migrations;
1: + struct sched_statistics statistics;
1: + int depth;
1: + struct sched_entity *parent;
1: + struct cfs_rq *cfs_rq;
1: + struct cfs_rq *my_q;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct sched_avg avg;
1: };
1:
1: struct sched_rt_entity {
1: - struct list_head run_list;
1: - long unsigned int timeout;
1: - long unsigned int watchdog_stamp;
1: - unsigned int time_slice;
1: - short unsigned int on_rq;
1: - short unsigned int on_list;
1: - struct sched_rt_entity *back;
1: + struct list_head run_list;
1: + long unsigned int timeout;
1: + long unsigned int watchdog_stamp;
1: + unsigned int time_slice;
1: + short unsigned int on_rq;
1: + short unsigned int on_list;
1: + struct sched_rt_entity *back;
1: };
1:
1: typedef s64 ktime_t;
1:
1: struct timerqueue_node {
1: - struct rb_node node;
1: - ktime_t expires;
1: + struct rb_node node;
1: + ktime_t expires;
1: };
1:
1: enum hrtimer_restart {
1: - HRTIMER_NORESTART = 0,
1: - HRTIMER_RESTART = 1,
1: + HRTIMER_NORESTART = 0,
1: + HRTIMER_RESTART = 1,
1: };
1:
1: struct hrtimer_clock_base;
1:
1: struct hrtimer {
1: - struct timerqueue_node node;
1: - ktime_t _softexpires;
1: - enum hrtimer_restart (*function)(struct hrtimer *);
1: - struct hrtimer_clock_base *base;
1: - u8 state;
1: - u8 is_rel;
1: - u8 is_soft;
1: - u8 is_hard;
1: + struct timerqueue_node node;
1: + ktime_t _softexpires;
1: + enum hrtimer_restart (*function)(struct hrtimer *);
1: + struct hrtimer_clock_base *base;
1: + u8 state;
1: + u8 is_rel;
1: + u8 is_soft;
1: + u8 is_hard;
1: };
1:
1: struct sched_dl_entity {
1: - struct rb_node rb_node;
1: - u64 dl_runtime;
1: - u64 dl_deadline;
1: - u64 dl_period;
1: - u64 dl_bw;
1: - u64 dl_density;
1: - s64 runtime;
1: - u64 deadline;
1: - unsigned int flags;
1: - unsigned int dl_throttled: 1;
1: - unsigned int dl_boosted: 1;
1: - unsigned int dl_yielded: 1;
1: - unsigned int dl_non_contending: 1;
1: - unsigned int dl_overrun: 1;
1: - struct hrtimer dl_timer;
1: - struct hrtimer inactive_timer;
1: + struct rb_node rb_node;
1: + u64 dl_runtime;
1: + u64 dl_deadline;
1: + u64 dl_period;
1: + u64 dl_bw;
1: + u64 dl_density;
1: + s64 runtime;
1: + u64 deadline;
1: + unsigned int flags;
1: + unsigned int dl_throttled : 1;
1: + unsigned int dl_boosted : 1;
1: + unsigned int dl_yielded : 1;
1: + unsigned int dl_non_contending : 1;
1: + unsigned int dl_overrun : 1;
1: + struct hrtimer dl_timer;
1: + struct hrtimer inactive_timer;
1: };
1:
1: struct sched_info {
1: - long unsigned int pcount;
1: - long long unsigned int run_delay;
1: - long long unsigned int last_arrival;
1: - long long unsigned int last_queued;
1: + long unsigned int pcount;
1: + long long unsigned int run_delay;
1: + long long unsigned int last_arrival;
1: + long long unsigned int last_queued;
1: };
1:
1: struct plist_node {
1: - int prio;
1: - struct list_head prio_list;
1: - struct list_head node_list;
1: + int prio;
1: + struct list_head prio_list;
1: + struct list_head node_list;
1: };
1:
1: struct vm_area_struct;
1:
1: struct vmacache {
1: - u64 seqnum;
1: - struct vm_area_struct *vmas[4];
1: + u64 seqnum;
1: + struct vm_area_struct *vmas[4];
1: };
1:
1: struct task_rss_stat {
1: - int events;
1: - int count[4];
1: + int events;
1: + int count[4];
1: };
1:
1: struct prev_cputime {
1: - u64 utime;
1: - u64 stime;
1: - raw_spinlock_t lock;
1: + u64 utime;
1: + u64 stime;
1: + raw_spinlock_t lock;
1: };
1:
1: struct rb_root {
1: - struct rb_node *rb_node;
1: + struct rb_node *rb_node;
1: };
1:
1: struct rb_root_cached {
1: - struct rb_root rb_root;
1: - struct rb_node *rb_leftmost;
1: + struct rb_root rb_root;
1: + struct rb_node *rb_leftmost;
1: };
1:
1: struct timerqueue_head {
1: - struct rb_root_cached rb_root;
1: + struct rb_root_cached rb_root;
1: };
1:
1: struct posix_cputimer_base {
1: - u64 nextevt;
1: - struct timerqueue_head tqhead;
1: + u64 nextevt;
1: + struct timerqueue_head tqhead;
1: };
1:
1: struct posix_cputimers {
1: - struct posix_cputimer_base bases[3];
1: - unsigned int timers_active;
1: - unsigned int expiry_active;
1: + struct posix_cputimer_base bases[3];
1: + unsigned int timers_active;
1: + unsigned int expiry_active;
1: };
1:
1: struct sem_undo_list;
1:
1: struct sysv_sem {
1: - struct sem_undo_list *undo_list;
1: + struct sem_undo_list *undo_list;
1: };
1:
1: struct sysv_shm {
1: - struct list_head shm_clist;
1: + struct list_head shm_clist;
1: };
1:
1: -typedef struct {
1: - long unsigned int sig[1];
1: -} sigset_t;
1: +typedef struct { long unsigned int sig[1]; } sigset_t;
1:
1: struct sigpending {
1: - struct list_head list;
1: - sigset_t signal;
1: + struct list_head list;
1: + sigset_t signal;
1: };
1:
1: -typedef struct {
1: - uid_t val;
1: -} kuid_t;
1: +typedef struct { uid_t val; } kuid_t;
1:
1: struct seccomp_filter;
1:
1: struct seccomp {
1: - int mode;
1: - struct seccomp_filter *filter;
1: + int mode;
1: + struct seccomp_filter *filter;
1: };
1:
1: struct wake_q_node {
1: - struct wake_q_node *next;
1: + struct wake_q_node *next;
1: };
1:
1: struct task_io_accounting {
1: - u64 rchar;
1: - u64 wchar;
1: - u64 syscr;
1: - u64 syscw;
1: - u64 read_bytes;
1: - u64 write_bytes;
1: - u64 cancelled_write_bytes;
1: + u64 rchar;
1: + u64 wchar;
1: + u64 syscr;
1: + u64 syscw;
1: + u64 read_bytes;
1: + u64 write_bytes;
1: + u64 cancelled_write_bytes;
1: };
1:
1: struct seqcount {
1: - unsigned int sequence;
1: + unsigned int sequence;
1: };
1:
1: typedef struct seqcount seqcount_t;
1:
1: struct arch_tlbflush_unmap_batch {
1: - struct cpumask cpumask;
1: + struct cpumask cpumask;
1: };
1:
1: struct tlbflush_unmap_batch {
1: - struct arch_tlbflush_unmap_batch arch;
1: - bool flush_required;
1: - bool writable;
1: + struct arch_tlbflush_unmap_batch arch;
1: + bool flush_required;
1: + bool writable;
1: };
1:
1: struct page_frag {
1: - struct page *page;
1: - __u32 offset;
1: - __u32 size;
1: + struct page *page;
1: + __u32 offset;
1: + __u32 size;
1: };
1:
1: struct sched_class;
1: @@ -1958,250 +1935,250 @@ struct uprobe_task;
1: struct vm_struct;
1:
1: struct task_struct {
1: - struct thread_info thread_info;
1: - volatile long int state;
1: - void *stack;
1: - refcount_t usage;
1: - unsigned int flags;
1: - unsigned int ptrace;
1: - struct llist_node wake_entry;
1: - int on_cpu;
1: - unsigned int cpu;
1: - unsigned int wakee_flips;
1: - long unsigned int wakee_flip_decay_ts;
1: - struct task_struct *last_wakee;
1: - int recent_used_cpu;
1: - int wake_cpu;
1: - int on_rq;
1: - int prio;
1: - int static_prio;
1: - int normal_prio;
1: - unsigned int rt_priority;
1: - const struct sched_class *sched_class;
1: - struct sched_entity se;
1: - struct sched_rt_entity rt;
1: - struct task_group *sched_task_group;
1: - struct sched_dl_entity dl;
1: - unsigned int btrace_seq;
1: - unsigned int policy;
1: - int nr_cpus_allowed;
1: - const cpumask_t *cpus_ptr;
1: - cpumask_t cpus_mask;
1: - struct sched_info sched_info;
1: - struct list_head tasks;
1: - struct plist_node pushable_tasks;
1: - struct rb_node pushable_dl_tasks;
1: - struct mm_struct *mm;
1: - struct mm_struct *active_mm;
1: - struct vmacache vmacache;
1: - struct task_rss_stat rss_stat;
1: - int exit_state;
1: - int exit_code;
1: - int exit_signal;
1: - int pdeath_signal;
1: - long unsigned int jobctl;
1: - unsigned int personality;
1: - unsigned int sched_reset_on_fork: 1;
1: - unsigned int sched_contributes_to_load: 1;
1: - unsigned int sched_migrated: 1;
1: - unsigned int sched_remote_wakeup: 1;
1: - int: 28;
1: - unsigned int in_execve: 1;
1: - unsigned int in_iowait: 1;
1: - unsigned int restore_sigmask: 1;
1: - unsigned int no_cgroup_migration: 1;
1: - unsigned int frozen: 1;
1: - long unsigned int atomic_flags;
1: - struct restart_block restart_block;
1: - pid_t pid;
1: - pid_t tgid;
1: - long unsigned int stack_canary;
1: - struct task_struct *real_parent;
1: - struct task_struct *parent;
1: - struct list_head children;
1: - struct list_head sibling;
1: - struct task_struct *group_leader;
1: - struct list_head ptraced;
1: - struct list_head ptrace_entry;
1: - struct pid *thread_pid;
1: - struct hlist_node pid_links[4];
1: - struct list_head thread_group;
1: - struct list_head thread_node;
1: - struct completion *vfork_done;
1: - int *set_child_tid;
1: - int *clear_child_tid;
1: - u64 utime;
1: - u64 stime;
1: - u64 gtime;
1: - struct prev_cputime prev_cputime;
1: - long unsigned int nvcsw;
1: - long unsigned int nivcsw;
1: - u64 start_time;
1: - u64 start_boottime;
1: - long unsigned int min_flt;
1: - long unsigned int maj_flt;
1: - struct posix_cputimers posix_cputimers;
1: - const struct cred *ptracer_cred;
1: - const struct cred *real_cred;
1: - const struct cred *cred;
1: - struct key *cached_requested_key;
1: - char comm[16];
1: - struct nameidata *nameidata;
1: - struct sysv_sem sysvsem;
1: - struct sysv_shm sysvshm;
1: - struct fs_struct *fs;
1: - struct files_struct *files;
1: - struct nsproxy *nsproxy;
1: - struct signal_struct *signal;
1: - struct sighand_struct *sighand;
1: - sigset_t blocked;
1: - sigset_t real_blocked;
1: - sigset_t saved_sigmask;
1: - struct sigpending pending;
1: - long unsigned int sas_ss_sp;
1: - size_t sas_ss_size;
1: - unsigned int sas_ss_flags;
1: - struct callback_head *task_works;
1: - struct audit_context *audit_context;
1: - kuid_t loginuid;
1: - unsigned int sessionid;
1: - struct seccomp seccomp;
1: - u32 parent_exec_id;
1: - u32 self_exec_id;
1: - spinlock_t alloc_lock;
1: - raw_spinlock_t pi_lock;
1: - struct wake_q_node wake_q;
1: - struct rb_root_cached pi_waiters;
1: - struct task_struct *pi_top_task;
1: - struct rt_mutex_waiter *pi_blocked_on;
1: - void *journal_info;
1: - struct bio_list *bio_list;
1: - struct blk_plug *plug;
1: - struct reclaim_state *reclaim_state;
1: - struct backing_dev_info *backing_dev_info;
1: - struct io_context *io_context;
1: - struct capture_control *capture_control;
1: - long unsigned int ptrace_message;
1: - kernel_siginfo_t *last_siginfo;
1: - struct task_io_accounting ioac;
1: - u64 acct_rss_mem1;
1: - u64 acct_vm_mem1;
1: - u64 acct_timexpd;
1: - nodemask_t mems_allowed;
1: - seqcount_t mems_allowed_seq;
1: - int cpuset_mem_spread_rotor;
1: - int cpuset_slab_spread_rotor;
1: - struct css_set *cgroups;
1: - struct list_head cg_list;
1: - struct robust_list_head *robust_list;
1: - struct compat_robust_list_head *compat_robust_list;
1: - struct list_head pi_state_list;
1: - struct futex_pi_state *pi_state_cache;
1: - struct mutex futex_exit_mutex;
1: - unsigned int futex_state;
1: - struct perf_event_context *perf_event_ctxp[2];
1: - struct mutex perf_event_mutex;
1: - struct list_head perf_event_list;
1: - struct mempolicy *mempolicy;
1: - short int il_prev;
1: - short int pref_node_fork;
1: - struct rseq *rseq;
1: - u32 rseq_sig;
1: - long unsigned int rseq_event_mask;
1: - struct tlbflush_unmap_batch tlb_ubc;
1: - union {
1: - refcount_t rcu_users;
1: - struct callback_head rcu;
1: - };
1: - struct pipe_inode_info *splice_pipe;
1: - struct page_frag task_frag;
1: - struct task_delay_info *delays;
1: - int nr_dirtied;
1: - int nr_dirtied_pause;
1: - long unsigned int dirty_paused_when;
1: - u64 timer_slack_ns;
1: - u64 default_timer_slack_ns;
1: - long unsigned int trace;
1: - long unsigned int trace_recursion;
1: - struct uprobe_task *utask;
1: - int pagefault_disabled;
1: - struct task_struct *oom_reaper_list;
1: - struct vm_struct *stack_vm_area;
1: - refcount_t stack_refcount;
1: - void *security;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct thread_struct thread;
1: + struct thread_info thread_info;
1: + volatile long int state;
1: + void *stack;
1: + refcount_t usage;
1: + unsigned int flags;
1: + unsigned int ptrace;
1: + struct llist_node wake_entry;
1: + int on_cpu;
1: + unsigned int cpu;
1: + unsigned int wakee_flips;
1: + long unsigned int wakee_flip_decay_ts;
1: + struct task_struct *last_wakee;
1: + int recent_used_cpu;
1: + int wake_cpu;
1: + int on_rq;
1: + int prio;
1: + int static_prio;
1: + int normal_prio;
1: + unsigned int rt_priority;
1: + const struct sched_class *sched_class;
1: + struct sched_entity se;
1: + struct sched_rt_entity rt;
1: + struct task_group *sched_task_group;
1: + struct sched_dl_entity dl;
1: + unsigned int btrace_seq;
1: + unsigned int policy;
1: + int nr_cpus_allowed;
1: + const cpumask_t *cpus_ptr;
1: + cpumask_t cpus_mask;
1: + struct sched_info sched_info;
1: + struct list_head tasks;
1: + struct plist_node pushable_tasks;
1: + struct rb_node pushable_dl_tasks;
1: + struct mm_struct *mm;
1: + struct mm_struct *active_mm;
1: + struct vmacache vmacache;
1: + struct task_rss_stat rss_stat;
1: + int exit_state;
1: + int exit_code;
1: + int exit_signal;
1: + int pdeath_signal;
1: + long unsigned int jobctl;
1: + unsigned int personality;
1: + unsigned int sched_reset_on_fork : 1;
1: + unsigned int sched_contributes_to_load : 1;
1: + unsigned int sched_migrated : 1;
1: + unsigned int sched_remote_wakeup : 1;
1: + int : 28;
1: + unsigned int in_execve : 1;
1: + unsigned int in_iowait : 1;
1: + unsigned int restore_sigmask : 1;
1: + unsigned int no_cgroup_migration : 1;
1: + unsigned int frozen : 1;
1: + long unsigned int atomic_flags;
1: + struct restart_block restart_block;
1: + pid_t pid;
1: + pid_t tgid;
1: + long unsigned int stack_canary;
1: + struct task_struct *real_parent;
1: + struct task_struct *parent;
1: + struct list_head children;
1: + struct list_head sibling;
1: + struct task_struct *group_leader;
1: + struct list_head ptraced;
1: + struct list_head ptrace_entry;
1: + struct pid *thread_pid;
1: + struct hlist_node pid_links[4];
1: + struct list_head thread_group;
1: + struct list_head thread_node;
1: + struct completion *vfork_done;
1: + int *set_child_tid;
1: + int *clear_child_tid;
1: + u64 utime;
1: + u64 stime;
1: + u64 gtime;
1: + struct prev_cputime prev_cputime;
1: + long unsigned int nvcsw;
1: + long unsigned int nivcsw;
1: + u64 start_time;
1: + u64 start_boottime;
1: + long unsigned int min_flt;
1: + long unsigned int maj_flt;
1: + struct posix_cputimers posix_cputimers;
1: + const struct cred *ptracer_cred;
1: + const struct cred *real_cred;
1: + const struct cred *cred;
1: + struct key *cached_requested_key;
1: + char comm[16];
1: + struct nameidata *nameidata;
1: + struct sysv_sem sysvsem;
1: + struct sysv_shm sysvshm;
1: + struct fs_struct *fs;
1: + struct files_struct *files;
1: + struct nsproxy *nsproxy;
1: + struct signal_struct *signal;
1: + struct sighand_struct *sighand;
1: + sigset_t blocked;
1: + sigset_t real_blocked;
1: + sigset_t saved_sigmask;
1: + struct sigpending pending;
1: + long unsigned int sas_ss_sp;
1: + size_t sas_ss_size;
1: + unsigned int sas_ss_flags;
1: + struct callback_head *task_works;
1: + struct audit_context *audit_context;
1: + kuid_t loginuid;
1: + unsigned int sessionid;
1: + struct seccomp seccomp;
1: + u32 parent_exec_id;
1: + u32 self_exec_id;
1: + spinlock_t alloc_lock;
1: + raw_spinlock_t pi_lock;
1: + struct wake_q_node wake_q;
1: + struct rb_root_cached pi_waiters;
1: + struct task_struct *pi_top_task;
1: + struct rt_mutex_waiter *pi_blocked_on;
1: + void *journal_info;
1: + struct bio_list *bio_list;
1: + struct blk_plug *plug;
1: + struct reclaim_state *reclaim_state;
1: + struct backing_dev_info *backing_dev_info;
1: + struct io_context *io_context;
1: + struct capture_control *capture_control;
1: + long unsigned int ptrace_message;
1: + kernel_siginfo_t *last_siginfo;
1: + struct task_io_accounting ioac;
1: + u64 acct_rss_mem1;
1: + u64 acct_vm_mem1;
1: + u64 acct_timexpd;
1: + nodemask_t mems_allowed;
1: + seqcount_t mems_allowed_seq;
1: + int cpuset_mem_spread_rotor;
1: + int cpuset_slab_spread_rotor;
1: + struct css_set *cgroups;
1: + struct list_head cg_list;
1: + struct robust_list_head *robust_list;
1: + struct compat_robust_list_head *compat_robust_list;
1: + struct list_head pi_state_list;
1: + struct futex_pi_state *pi_state_cache;
1: + struct mutex futex_exit_mutex;
1: + unsigned int futex_state;
1: + struct perf_event_context *perf_event_ctxp[2];
1: + struct mutex perf_event_mutex;
1: + struct list_head perf_event_list;
1: + struct mempolicy *mempolicy;
1: + short int il_prev;
1: + short int pref_node_fork;
1: + struct rseq *rseq;
1: + u32 rseq_sig;
1: + long unsigned int rseq_event_mask;
1: + struct tlbflush_unmap_batch tlb_ubc;
1: + union {
1: + refcount_t rcu_users;
1: + struct callback_head rcu;
1: + };
1: + struct pipe_inode_info *splice_pipe;
1: + struct page_frag task_frag;
1: + struct task_delay_info *delays;
1: + int nr_dirtied;
1: + int nr_dirtied_pause;
1: + long unsigned int dirty_paused_when;
1: + u64 timer_slack_ns;
1: + u64 default_timer_slack_ns;
1: + long unsigned int trace;
1: + long unsigned int trace_recursion;
1: + struct uprobe_task *utask;
1: + int pagefault_disabled;
1: + struct task_struct *oom_reaper_list;
1: + struct vm_struct *stack_vm_area;
1: + refcount_t stack_refcount;
1: + void *security;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct thread_struct thread;
1: };
1:
1: struct vdso_image {
1: - void *data;
1: - long unsigned int size;
1: - long unsigned int alt;
1: - long unsigned int alt_len;
1: - long int sym_vvar_start;
1: - long int sym_vvar_page;
1: - long int sym_pvclock_page;
1: - long int sym_hvclock_page;
1: - long int sym_VDSO32_NOTE_MASK;
1: - long int sym___kernel_sigreturn;
1: - long int sym___kernel_rt_sigreturn;
1: - long int sym___kernel_vsyscall;
1: - long int sym_int80_landing_pad;
1: + void *data;
1: + long unsigned int size;
1: + long unsigned int alt;
1: + long unsigned int alt_len;
1: + long int sym_vvar_start;
1: + long int sym_vvar_page;
1: + long int sym_pvclock_page;
1: + long int sym_hvclock_page;
1: + long int sym_VDSO32_NOTE_MASK;
1: + long int sym___kernel_sigreturn;
1: + long int sym___kernel_rt_sigreturn;
1: + long int sym___kernel_vsyscall;
1: + long int sym_int80_landing_pad;
1: };
1:
1: struct ldt_struct;
1:
1: typedef struct {
1: - u64 ctx_id;
1: - atomic64_t tlb_gen;
1: - struct rw_semaphore ldt_usr_sem;
1: - struct ldt_struct *ldt;
1: - short unsigned int ia32_compat;
1: - struct mutex lock;
1: - void *vdso;
1: - const struct vdso_image *vdso_image;
1: - atomic_t perf_rdpmc_allowed;
1: - u16 pkey_allocation_map;
1: - s16 execute_only_pkey;
1: + u64 ctx_id;
1: + atomic64_t tlb_gen;
1: + struct rw_semaphore ldt_usr_sem;
1: + struct ldt_struct *ldt;
1: + short unsigned int ia32_compat;
1: + struct mutex lock;
1: + void *vdso;
1: + const struct vdso_image *vdso_image;
1: + atomic_t perf_rdpmc_allowed;
1: + u16 pkey_allocation_map;
1: + s16 execute_only_pkey;
1: } mm_context_t;
1:
1: struct vm_struct {
1: - struct vm_struct *next;
1: - void *addr;
1: - long unsigned int size;
1: - long unsigned int flags;
1: - struct page **pages;
1: - unsigned int nr_pages;
1: - phys_addr_t phys_addr;
1: - const void *caller;
1: + struct vm_struct *next;
1: + void *addr;
1: + long unsigned int size;
1: + long unsigned int flags;
1: + struct page **pages;
1: + unsigned int nr_pages;
1: + phys_addr_t phys_addr;
1: + const void *caller;
1: };
1:
1: struct real_mode_header {
1: - u32 text_start;
1: - u32 ro_end;
1: - u32 trampoline_start;
1: - u32 trampoline_header;
1: - u32 trampoline_pgd;
1: - u32 wakeup_start;
1: - u32 wakeup_header;
1: - u32 machine_real_restart_asm;
1: - u32 machine_real_restart_seg;
1: + u32 text_start;
1: + u32 ro_end;
1: + u32 trampoline_start;
1: + u32 trampoline_header;
1: + u32 trampoline_pgd;
1: + u32 wakeup_start;
1: + u32 wakeup_header;
1: + u32 machine_real_restart_asm;
1: + u32 machine_real_restart_seg;
1: };
1:
1: enum fixed_addresses {
1: - VSYSCALL_PAGE = 511,
1: - FIX_DBGP_BASE = 512,
1: - FIX_EARLYCON_MEM_BASE = 513,
1: - FIX_OHCI1394_BASE = 514,
1: - FIX_APIC_BASE = 515,
1: - FIX_IO_APIC_BASE_0 = 516,
1: - FIX_IO_APIC_BASE_END = 643,
1: - __end_of_permanent_fixed_addresses = 644,
1: - FIX_BTMAP_END = 1024,
1: - FIX_BTMAP_BEGIN = 1535,
1: - __end_of_fixed_addresses = 1536,
1: + VSYSCALL_PAGE = 511,
1: + FIX_DBGP_BASE = 512,
1: + FIX_EARLYCON_MEM_BASE = 513,
1: + FIX_OHCI1394_BASE = 514,
1: + FIX_APIC_BASE = 515,
1: + FIX_IO_APIC_BASE_0 = 516,
1: + FIX_IO_APIC_BASE_END = 643,
1: + __end_of_permanent_fixed_addresses = 644,
1: + FIX_BTMAP_END = 1024,
1: + FIX_BTMAP_BEGIN = 1535,
1: + __end_of_fixed_addresses = 1536,
1: };
1:
1: struct vm_userfaultfd_ctx {};
1: @@ -2213,50 +2190,50 @@ struct vm_operations_struct;
1: struct file;
1:
1: struct vm_area_struct {
1: - long unsigned int vm_start;
1: - long unsigned int vm_end;
1: - struct vm_area_struct *vm_next;
1: - struct vm_area_struct *vm_prev;
1: - struct rb_node vm_rb;
1: - long unsigned int rb_subtree_gap;
1: - struct mm_struct *vm_mm;
1: - pgprot_t vm_page_prot;
1: - long unsigned int vm_flags;
1: - struct {
1: - struct rb_node rb;
1: - long unsigned int rb_subtree_last;
1: - } shared;
1: - struct list_head anon_vma_chain;
1: - struct anon_vma *anon_vma;
1: - const struct vm_operations_struct *vm_ops;
1: - long unsigned int vm_pgoff;
1: - struct file *vm_file;
1: - void *vm_private_data;
1: - atomic_long_t swap_readahead_info;
1: - struct mempolicy *vm_policy;
1: - struct vm_userfaultfd_ctx vm_userfaultfd_ctx;
1: + long unsigned int vm_start;
1: + long unsigned int vm_end;
1: + struct vm_area_struct *vm_next;
1: + struct vm_area_struct *vm_prev;
1: + struct rb_node vm_rb;
1: + long unsigned int rb_subtree_gap;
1: + struct mm_struct *vm_mm;
1: + pgprot_t vm_page_prot;
1: + long unsigned int vm_flags;
1: + struct {
1: + struct rb_node rb;
1: + long unsigned int rb_subtree_last;
1: + } shared;
1: + struct list_head anon_vma_chain;
1: + struct anon_vma *anon_vma;
1: + const struct vm_operations_struct *vm_ops;
1: + long unsigned int vm_pgoff;
1: + struct file *vm_file;
1: + void *vm_private_data;
1: + atomic_long_t swap_readahead_info;
1: + struct mempolicy *vm_policy;
1: + struct vm_userfaultfd_ctx vm_userfaultfd_ctx;
1: };
1:
1: struct mm_rss_stat {
1: - atomic_long_t count[4];
1: + atomic_long_t count[4];
1: };
1:
1: struct wait_queue_head {
1: - spinlock_t lock;
1: - struct list_head head;
1: + spinlock_t lock;
1: + struct list_head head;
1: };
1:
1: typedef struct wait_queue_head wait_queue_head_t;
1:
1: struct completion {
1: - unsigned int done;
1: - wait_queue_head_t wait;
1: + unsigned int done;
1: + wait_queue_head_t wait;
1: };
1:
1: struct xol_area;
1:
1: struct uprobes_state {
1: - struct xol_area *xol_area;
1: + struct xol_area *xol_area;
1: };
1:
1: struct work_struct;
1: @@ -2264,9 +2241,9 @@ struct work_struct;
1: typedef void (*work_func_t)(struct work_struct *);
1:
1: struct work_struct {
1: - atomic_long_t data;
1: - struct list_head entry;
1: - work_func_t func;
1: + atomic_long_t data;
1: + struct list_head entry;
1: + work_func_t func;
1: };
1:
1: struct linux_binfmt;
1: @@ -2280,78 +2257,80 @@ struct user_namespace;
1: struct mmu_notifier_mm;
1:
1: struct mm_struct {
1: - struct {
1: - struct vm_area_struct *mmap;
1: - struct rb_root mm_rb;
1: - u64 vmacache_seqnum;
1: - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: - long unsigned int mmap_base;
1: - long unsigned int mmap_legacy_base;
1: - long unsigned int mmap_compat_base;
1: - long unsigned int mmap_compat_legacy_base;
1: - long unsigned int task_size;
1: - long unsigned int highest_vm_end;
1: - pgd_t *pgd;
1: - atomic_t membarrier_state;
1: - atomic_t mm_users;
1: - atomic_t mm_count;
1: - atomic_long_t pgtables_bytes;
1: - int map_count;
1: - spinlock_t page_table_lock;
1: - struct rw_semaphore mmap_sem;
1: - struct list_head mmlist;
1: - long unsigned int hiwater_rss;
1: - long unsigned int hiwater_vm;
1: - long unsigned int total_vm;
1: - long unsigned int locked_vm;
1: - atomic64_t pinned_vm;
1: - long unsigned int data_vm;
1: - long unsigned int exec_vm;
1: - long unsigned int stack_vm;
1: - long unsigned int def_flags;
1: - spinlock_t arg_lock;
1: - long unsigned int start_code;
1: - long unsigned int end_code;
1: - long unsigned int start_data;
1: - long unsigned int end_data;
1: - long unsigned int start_brk;
1: - long unsigned int brk;
1: - long unsigned int start_stack;
1: - long unsigned int arg_start;
1: - long unsigned int arg_end;
1: - long unsigned int env_start;
1: - long unsigned int env_end;
1: - long unsigned int saved_auxv[46];
1: - struct mm_rss_stat rss_stat;
1: - struct linux_binfmt *binfmt;
1: - mm_context_t context;
1: - long unsigned int flags;
1: - struct core_state *core_state;
1: - spinlock_t ioctx_lock;
1: - struct kioctx_table *ioctx_table;
1: - struct user_namespace *user_ns;
1: - struct file *exe_file;
1: - struct mmu_notifier_mm *mmu_notifier_mm;
1: - atomic_t tlb_flush_pending;
1: - bool tlb_flush_batched;
1: - struct uprobes_state uprobes_state;
1: - atomic_long_t hugetlb_usage;
1: - struct work_struct async_put_work;
1: - };
1: - long unsigned int cpu_bitmap[0];
1: + struct {
1: + struct vm_area_struct *mmap;
1: + struct rb_root mm_rb;
1: + u64 vmacache_seqnum;
1: + long unsigned int (*get_unmapped_area)(struct file *, long unsigned int,
1: + long unsigned int, long unsigned int,
1: + long unsigned int);
1: + long unsigned int mmap_base;
1: + long unsigned int mmap_legacy_base;
1: + long unsigned int mmap_compat_base;
1: + long unsigned int mmap_compat_legacy_base;
1: + long unsigned int task_size;
1: + long unsigned int highest_vm_end;
1: + pgd_t *pgd;
1: + atomic_t membarrier_state;
1: + atomic_t mm_users;
1: + atomic_t mm_count;
1: + atomic_long_t pgtables_bytes;
1: + int map_count;
1: + spinlock_t page_table_lock;
1: + struct rw_semaphore mmap_sem;
1: + struct list_head mmlist;
1: + long unsigned int hiwater_rss;
1: + long unsigned int hiwater_vm;
1: + long unsigned int total_vm;
1: + long unsigned int locked_vm;
1: + atomic64_t pinned_vm;
1: + long unsigned int data_vm;
1: + long unsigned int exec_vm;
1: + long unsigned int stack_vm;
1: + long unsigned int def_flags;
1: + spinlock_t arg_lock;
1: + long unsigned int start_code;
1: + long unsigned int end_code;
1: + long unsigned int start_data;
1: + long unsigned int end_data;
1: + long unsigned int start_brk;
1: + long unsigned int brk;
1: + long unsigned int start_stack;
1: + long unsigned int arg_start;
1: + long unsigned int arg_end;
1: + long unsigned int env_start;
1: + long unsigned int env_end;
1: + long unsigned int saved_auxv[46];
1: + struct mm_rss_stat rss_stat;
1: + struct linux_binfmt *binfmt;
1: + mm_context_t context;
1: + long unsigned int flags;
1: + struct core_state *core_state;
1: + spinlock_t ioctx_lock;
1: + struct kioctx_table *ioctx_table;
1: + struct user_namespace *user_ns;
1: + struct file *exe_file;
1: + struct mmu_notifier_mm *mmu_notifier_mm;
1: + atomic_t tlb_flush_pending;
1: + bool tlb_flush_batched;
1: + struct uprobes_state uprobes_state;
1: + atomic_long_t hugetlb_usage;
1: + struct work_struct async_put_work;
1: + };
1: + long unsigned int cpu_bitmap[0];
1: };
1:
1: struct arch_uprobe_task {
1: - long unsigned int saved_scratch_register;
1: - unsigned int saved_trap_nr;
1: - unsigned int saved_tf;
1: + long unsigned int saved_scratch_register;
1: + unsigned int saved_trap_nr;
1: + unsigned int saved_tf;
1: };
1:
1: enum uprobe_task_state {
1: - UTASK_RUNNING = 0,
1: - UTASK_SSTEP = 1,
1: - UTASK_SSTEP_ACK = 2,
1: - UTASK_SSTEP_TRAPPED = 3,
1: + UTASK_RUNNING = 0,
1: + UTASK_SSTEP = 1,
1: + UTASK_SSTEP_ACK = 2,
1: + UTASK_SSTEP_TRAPPED = 3,
1: };
1:
1: struct uprobe;
1: @@ -2359,36 +2338,36 @@ struct uprobe;
1: struct return_instance;
1:
1: struct uprobe_task {
1: - enum uprobe_task_state state;
1: - union {
1: - struct {
1: - struct arch_uprobe_task autask;
1: - long unsigned int vaddr;
1: - };
1: - struct {
1: - struct callback_head dup_xol_work;
1: - long unsigned int dup_xol_addr;
1: - };
1: - };
1: - struct uprobe *active_uprobe;
1: - long unsigned int xol_vaddr;
1: - struct return_instance *return_instances;
1: - unsigned int depth;
1: + enum uprobe_task_state state;
1: + union {
1: + struct {
1: + struct arch_uprobe_task autask;
1: + long unsigned int vaddr;
1: + };
1: + struct {
1: + struct callback_head dup_xol_work;
1: + long unsigned int dup_xol_addr;
1: + };
1: + };
1: + struct uprobe *active_uprobe;
1: + long unsigned int xol_vaddr;
1: + struct return_instance *return_instances;
1: + unsigned int depth;
1: };
1:
1: struct return_instance {
1: - struct uprobe *uprobe;
1: - long unsigned int func;
1: - long unsigned int stack;
1: - long unsigned int orig_ret_vaddr;
1: - bool chained;
1: - struct return_instance *next;
1: + struct uprobe *uprobe;
1: + long unsigned int func;
1: + long unsigned int stack;
1: + long unsigned int orig_ret_vaddr;
1: + bool chained;
1: + struct return_instance *next;
1: };
1:
1: struct xarray {
1: - spinlock_t xa_lock;
1: - gfp_t xa_flags;
1: - void *xa_head;
1: + spinlock_t xa_lock;
1: + gfp_t xa_flags;
1: + void *xa_head;
1: };
1:
1: typedef u32 errseq_t;
1: @@ -2398,41 +2377,41 @@ struct inode;
1: struct address_space_operations;
1:
1: struct address_space {
1: - struct inode *host;
1: - struct xarray i_pages;
1: - gfp_t gfp_mask;
1: - atomic_t i_mmap_writable;
1: - struct rb_root_cached i_mmap;
1: - struct rw_semaphore i_mmap_rwsem;
1: - long unsigned int nrpages;
1: - long unsigned int nrexceptional;
1: - long unsigned int writeback_index;
1: - const struct address_space_operations *a_ops;
1: - long unsigned int flags;
1: - errseq_t wb_err;
1: - spinlock_t private_lock;
1: - struct list_head private_list;
1: - void *private_data;
1: + struct inode *host;
1: + struct xarray i_pages;
1: + gfp_t gfp_mask;
1: + atomic_t i_mmap_writable;
1: + struct rb_root_cached i_mmap;
1: + struct rw_semaphore i_mmap_rwsem;
1: + long unsigned int nrpages;
1: + long unsigned int nrexceptional;
1: + long unsigned int writeback_index;
1: + const struct address_space_operations *a_ops;
1: + long unsigned int flags;
1: + errseq_t wb_err;
1: + spinlock_t private_lock;
1: + struct list_head private_list;
1: + void *private_data;
1: };
1:
1: struct vmem_altmap {
1: - const long unsigned int base_pfn;
1: - const long unsigned int end_pfn;
1: - const long unsigned int reserve;
1: - long unsigned int free;
1: - long unsigned int align;
1: - long unsigned int alloc;
1: + const long unsigned int base_pfn;
1: + const long unsigned int end_pfn;
1: + const long unsigned int reserve;
1: + long unsigned int free;
1: + long unsigned int align;
1: + long unsigned int alloc;
1: };
1:
1: struct resource {
1: - resource_size_t start;
1: - resource_size_t end;
1: - const char *name;
1: - long unsigned int flags;
1: - long unsigned int desc;
1: - struct resource *parent;
1: - struct resource *sibling;
1: - struct resource *child;
1: + resource_size_t start;
1: + resource_size_t end;
1: + const char *name;
1: + long unsigned int flags;
1: + long unsigned int desc;
1: + struct resource *parent;
1: + struct resource *sibling;
1: + struct resource *child;
1: };
1:
1: struct percpu_ref;
1: @@ -2440,33 +2419,33 @@ struct percpu_ref;
1: typedef void percpu_ref_func_t(struct percpu_ref *);
1:
1: struct percpu_ref {
1: - atomic_long_t count;
1: - long unsigned int percpu_count_ptr;
1: - percpu_ref_func_t *release;
1: - percpu_ref_func_t *confirm_switch;
1: - bool force_atomic: 1;
1: - bool allow_reinit: 1;
1: - struct callback_head rcu;
1: + atomic_long_t count;
1: + long unsigned int percpu_count_ptr;
1: + percpu_ref_func_t *release;
1: + percpu_ref_func_t *confirm_switch;
1: + bool force_atomic : 1;
1: + bool allow_reinit : 1;
1: + struct callback_head rcu;
1: };
1:
1: enum memory_type {
1: - MEMORY_DEVICE_PRIVATE = 1,
1: - MEMORY_DEVICE_FS_DAX = 2,
1: - MEMORY_DEVICE_DEVDAX = 3,
1: - MEMORY_DEVICE_PCI_P2PDMA = 4,
1: + MEMORY_DEVICE_PRIVATE = 1,
1: + MEMORY_DEVICE_FS_DAX = 2,
1: + MEMORY_DEVICE_DEVDAX = 3,
1: + MEMORY_DEVICE_PCI_P2PDMA = 4,
1: };
1:
1: struct dev_pagemap_ops;
1:
1: struct dev_pagemap {
1: - struct vmem_altmap altmap;
1: - struct resource res;
1: - struct percpu_ref *ref;
1: - struct percpu_ref internal_ref;
1: - struct completion done;
1: - enum memory_type type;
1: - unsigned int flags;
1: - const struct dev_pagemap_ops *ops;
1: + struct vmem_altmap altmap;
1: + struct resource res;
1: + struct percpu_ref *ref;
1: + struct percpu_ref internal_ref;
1: + struct completion done;
1: + enum memory_type type;
1: + unsigned int flags;
1: + const struct dev_pagemap_ops *ops;
1: };
1:
1: struct vfsmount;
1: @@ -2474,576 +2453,575 @@ struct vfsmount;
1: struct dentry;
1:
1: struct path {
1: - struct vfsmount *mnt;
1: - struct dentry *dentry;
1: + struct vfsmount *mnt;
1: + struct dentry *dentry;
1: };
1:
1: enum rw_hint {
1: - WRITE_LIFE_NOT_SET = 0,
1: - WRITE_LIFE_NONE = 1,
1: - WRITE_LIFE_SHORT = 2,
1: - WRITE_LIFE_MEDIUM = 3,
1: - WRITE_LIFE_LONG = 4,
1: - WRITE_LIFE_EXTREME = 5,
1: + WRITE_LIFE_NOT_SET = 0,
1: + WRITE_LIFE_NONE = 1,
1: + WRITE_LIFE_SHORT = 2,
1: + WRITE_LIFE_MEDIUM = 3,
1: + WRITE_LIFE_LONG = 4,
1: + WRITE_LIFE_EXTREME = 5,
1: };
1:
1: enum pid_type {
1: - PIDTYPE_PID = 0,
1: - PIDTYPE_TGID = 1,
1: - PIDTYPE_PGID = 2,
1: - PIDTYPE_SID = 3,
1: - PIDTYPE_MAX = 4,
1: + PIDTYPE_PID = 0,
1: + PIDTYPE_TGID = 1,
1: + PIDTYPE_PGID = 2,
1: + PIDTYPE_SID = 3,
1: + PIDTYPE_MAX = 4,
1: };
1:
1: struct fown_struct {
1: - rwlock_t lock;
1: - struct pid *pid;
1: - enum pid_type pid_type;
1: - kuid_t uid;
1: - kuid_t euid;
1: - int signum;
1: + rwlock_t lock;
1: + struct pid *pid;
1: + enum pid_type pid_type;
1: + kuid_t uid;
1: + kuid_t euid;
1: + int signum;
1: };
1:
1: struct file_ra_state {
1: - long unsigned int start;
1: - unsigned int size;
1: - unsigned int async_size;
1: - unsigned int ra_pages;
1: - unsigned int mmap_miss;
1: - loff_t prev_pos;
1: + long unsigned int start;
1: + unsigned int size;
1: + unsigned int async_size;
1: + unsigned int ra_pages;
1: + unsigned int mmap_miss;
1: + loff_t prev_pos;
1: };
1:
1: struct file_operations;
1:
1: struct file {
1: - union {
1: - struct llist_node fu_llist;
1: - struct callback_head fu_rcuhead;
1: - } f_u;
1: - struct path f_path;
1: - struct inode *f_inode;
1: - const struct file_operations *f_op;
1: - spinlock_t f_lock;
1: - enum rw_hint f_write_hint;
1: - atomic_long_t f_count;
1: - unsigned int f_flags;
1: - fmode_t f_mode;
1: - struct mutex f_pos_lock;
1: - loff_t f_pos;
1: - struct fown_struct f_owner;
1: - const struct cred *f_cred;
1: - struct file_ra_state f_ra;
1: - u64 f_version;
1: - void *f_security;
1: - void *private_data;
1: - struct list_head f_ep_links;
1: - struct list_head f_tfile_llink;
1: - struct address_space *f_mapping;
1: - errseq_t f_wb_err;
1: + union {
1: + struct llist_node fu_llist;
1: + struct callback_head fu_rcuhead;
1: + } f_u;
1: + struct path f_path;
1: + struct inode *f_inode;
1: + const struct file_operations *f_op;
1: + spinlock_t f_lock;
1: + enum rw_hint f_write_hint;
1: + atomic_long_t f_count;
1: + unsigned int f_flags;
1: + fmode_t f_mode;
1: + struct mutex f_pos_lock;
1: + loff_t f_pos;
1: + struct fown_struct f_owner;
1: + const struct cred *f_cred;
1: + struct file_ra_state f_ra;
1: + u64 f_version;
1: + void *f_security;
1: + void *private_data;
1: + struct list_head f_ep_links;
1: + struct list_head f_tfile_llink;
1: + struct address_space *f_mapping;
1: + errseq_t f_wb_err;
1: };
1:
1: typedef unsigned int vm_fault_t;
1:
1: enum page_entry_size {
1: - PE_SIZE_PTE = 0,
1: - PE_SIZE_PMD = 1,
1: - PE_SIZE_PUD = 2,
1: + PE_SIZE_PTE = 0,
1: + PE_SIZE_PMD = 1,
1: + PE_SIZE_PUD = 2,
1: };
1:
1: struct vm_fault;
1:
1: struct vm_operations_struct {
1: - void (*open)(struct vm_area_struct *);
1: - void (*close)(struct vm_area_struct *);
1: - int (*split)(struct vm_area_struct *, long unsigned int);
1: - int (*mremap)(struct vm_area_struct *);
1: - vm_fault_t (*fault)(struct vm_fault *);
1: - vm_fault_t (*huge_fault)(struct vm_fault *, enum page_entry_size);
1: - void (*map_pages)(struct vm_fault *, long unsigned int, long unsigned int);
1: - long unsigned int (*pagesize)(struct vm_area_struct *);
1: - vm_fault_t (*page_mkwrite)(struct vm_fault *);
1: - vm_fault_t (*pfn_mkwrite)(struct vm_fault *);
1: - int (*access)(struct vm_area_struct *, long unsigned int, void *, int, int);
1: - const char * (*name)(struct vm_area_struct *);
1: - int (*set_policy)(struct vm_area_struct *, struct mempolicy *);
1: - struct mempolicy * (*get_policy)(struct vm_area_struct *, long unsigned int);
1: - struct page * (*find_special_page)(struct vm_area_struct *, long unsigned int);
1: + void (*open)(struct vm_area_struct *);
1: + void (*close)(struct vm_area_struct *);
1: + int (*split)(struct vm_area_struct *, long unsigned int);
1: + int (*mremap)(struct vm_area_struct *);
1: + vm_fault_t (*fault)(struct vm_fault *);
1: + vm_fault_t (*huge_fault)(struct vm_fault *, enum page_entry_size);
1: + void (*map_pages)(struct vm_fault *, long unsigned int, long unsigned int);
1: + long unsigned int (*pagesize)(struct vm_area_struct *);
1: + vm_fault_t (*page_mkwrite)(struct vm_fault *);
1: + vm_fault_t (*pfn_mkwrite)(struct vm_fault *);
1: + int (*access)(struct vm_area_struct *, long unsigned int, void *, int, int);
1: + const char *(*name)(struct vm_area_struct *);
1: + int (*set_policy)(struct vm_area_struct *, struct mempolicy *);
1: + struct mempolicy *(*get_policy)(struct vm_area_struct *, long unsigned int);
1: + struct page *(*find_special_page)(struct vm_area_struct *, long unsigned int);
1: };
1:
1: struct core_thread {
1: - struct task_struct *task;
1: - struct core_thread *next;
1: + struct task_struct *task;
1: + struct core_thread *next;
1: };
1:
1: struct core_state {
1: - atomic_t nr_threads;
1: - struct core_thread dumper;
1: - struct completion startup;
1: + atomic_t nr_threads;
1: + struct core_thread dumper;
1: + struct completion startup;
1: };
1:
1: struct mem_cgroup;
1:
1: struct vm_fault {
1: - struct vm_area_struct *vma;
1: - unsigned int flags;
1: - gfp_t gfp_mask;
1: - long unsigned int pgoff;
1: - long unsigned int address;
1: - pmd_t *pmd;
1: - pud_t *pud;
1: - pte_t orig_pte;
1: - struct page *cow_page;
1: - struct mem_cgroup *memcg;
1: - struct page *page;
1: - pte_t *pte;
1: - spinlock_t *ptl;
1: - pgtable_t prealloc_pte;
1: + struct vm_area_struct *vma;
1: + unsigned int flags;
1: + gfp_t gfp_mask;
1: + long unsigned int pgoff;
1: + long unsigned int address;
1: + pmd_t *pmd;
1: + pud_t *pud;
1: + pte_t orig_pte;
1: + struct page *cow_page;
1: + struct mem_cgroup *memcg;
1: + struct page *page;
1: + pte_t *pte;
1: + spinlock_t *ptl;
1: + pgtable_t prealloc_pte;
1: };
1:
1: struct apic {
1: - void (*eoi_write)(u32, u32);
1: - void (*native_eoi_write)(u32, u32);
1: - void (*write)(u32, u32);
1: - u32 (*read)(u32);
1: - void (*wait_icr_idle)();
1: - u32 (*safe_wait_icr_idle)();
1: - void (*send_IPI)(int, int);
1: - void (*send_IPI_mask)(const struct cpumask *, int);
1: - void (*send_IPI_mask_allbutself)(const struct cpumask *, int);
1: - void (*send_IPI_allbutself)(int);
1: - void (*send_IPI_all)(int);
1: - void (*send_IPI_self)(int);
1: - u32 dest_logical;
1: - u32 disable_esr;
1: - u32 irq_delivery_mode;
1: - u32 irq_dest_mode;
1: - u32 (*calc_dest_apicid)(unsigned int);
1: - u64 (*icr_read)();
1: - void (*icr_write)(u32, u32);
1: - int (*probe)();
1: - int (*acpi_madt_oem_check)(char *, char *);
1: - int (*apic_id_valid)(u32);
1: - int (*apic_id_registered)();
1: - bool (*check_apicid_used)(physid_mask_t *, int);
1: - void (*init_apic_ldr)();
1: - void (*ioapic_phys_id_map)(physid_mask_t *, physid_mask_t *);
1: - void (*setup_apic_routing)();
1: - int (*cpu_present_to_apicid)(int);
1: - void (*apicid_to_cpu_present)(int, physid_mask_t *);
1: - int (*check_phys_apicid_present)(int);
1: - int (*phys_pkg_id)(int, int);
1: - u32 (*get_apic_id)(long unsigned int);
1: - u32 (*set_apic_id)(unsigned int);
1: - int (*wakeup_secondary_cpu)(int, long unsigned int);
1: - void (*inquire_remote_apic)(int);
1: - char *name;
1: + void (*eoi_write)(u32, u32);
1: + void (*native_eoi_write)(u32, u32);
1: + void (*write)(u32, u32);
1: + u32 (*read)(u32);
1: + void (*wait_icr_idle)();
1: + u32 (*safe_wait_icr_idle)();
1: + void (*send_IPI)(int, int);
1: + void (*send_IPI_mask)(const struct cpumask *, int);
1: + void (*send_IPI_mask_allbutself)(const struct cpumask *, int);
1: + void (*send_IPI_allbutself)(int);
1: + void (*send_IPI_all)(int);
1: + void (*send_IPI_self)(int);
1: + u32 dest_logical;
1: + u32 disable_esr;
1: + u32 irq_delivery_mode;
1: + u32 irq_dest_mode;
1: + u32 (*calc_dest_apicid)(unsigned int);
1: + u64 (*icr_read)();
1: + void (*icr_write)(u32, u32);
1: + int (*probe)();
1: + int (*acpi_madt_oem_check)(char *, char *);
1: + int (*apic_id_valid)(u32);
1: + int (*apic_id_registered)();
1: + bool (*check_apicid_used)(physid_mask_t *, int);
1: + void (*init_apic_ldr)();
1: + void (*ioapic_phys_id_map)(physid_mask_t *, physid_mask_t *);
1: + void (*setup_apic_routing)();
1: + int (*cpu_present_to_apicid)(int);
1: + void (*apicid_to_cpu_present)(int, physid_mask_t *);
1: + int (*check_phys_apicid_present)(int);
1: + int (*phys_pkg_id)(int, int);
1: + u32 (*get_apic_id)(long unsigned int);
1: + u32 (*set_apic_id)(unsigned int);
1: + int (*wakeup_secondary_cpu)(int, long unsigned int);
1: + void (*inquire_remote_apic)(int);
1: + char *name;
1: };
1:
1: struct smp_ops {
1: - void (*smp_prepare_boot_cpu)();
1: - void (*smp_prepare_cpus)(unsigned int);
1: - void (*smp_cpus_done)(unsigned int);
1: - void (*stop_other_cpus)(int);
1: - void (*crash_stop_other_cpus)();
1: - void (*smp_send_reschedule)(int);
1: - int (*cpu_up)(unsigned int, struct task_struct *);
1: - int (*cpu_disable)();
1: - void (*cpu_die)(unsigned int);
1: - void (*play_dead)();
1: - void (*send_call_func_ipi)(const struct cpumask *);
1: - void (*send_call_func_single_ipi)(int);
1: + void (*smp_prepare_boot_cpu)();
1: + void (*smp_prepare_cpus)(unsigned int);
1: + void (*smp_cpus_done)(unsigned int);
1: + void (*stop_other_cpus)(int);
1: + void (*crash_stop_other_cpus)();
1: + void (*smp_send_reschedule)(int);
1: + int (*cpu_up)(unsigned int, struct task_struct *);
1: + int (*cpu_disable)();
1: + void (*cpu_die)(unsigned int);
1: + void (*play_dead)();
1: + void (*send_call_func_ipi)(const struct cpumask *);
1: + void (*send_call_func_single_ipi)(int);
1: };
1:
1: struct free_area {
1: - struct list_head free_list[4];
1: - long unsigned int nr_free;
1: + struct list_head free_list[4];
1: + long unsigned int nr_free;
1: };
1:
1: struct zone_padding {
1: - char x[0];
1: + char x[0];
1: };
1:
1: enum numa_stat_item {
1: - NUMA_HIT = 0,
1: - NUMA_MISS = 1,
1: - NUMA_FOREIGN = 2,
1: - NUMA_INTERLEAVE_HIT = 3,
1: - NUMA_LOCAL = 4,
1: - NUMA_OTHER = 5,
1: - NR_VM_NUMA_STAT_ITEMS = 6,
1: + NUMA_HIT = 0,
1: + NUMA_MISS = 1,
1: + NUMA_FOREIGN = 2,
1: + NUMA_INTERLEAVE_HIT = 3,
1: + NUMA_LOCAL = 4,
1: + NUMA_OTHER = 5,
1: + NR_VM_NUMA_STAT_ITEMS = 6,
1: };
1:
1: enum zone_stat_item {
1: - NR_FREE_PAGES = 0,
1: - NR_ZONE_LRU_BASE = 1,
1: - NR_ZONE_INACTIVE_ANON = 1,
1: - NR_ZONE_ACTIVE_ANON = 2,
1: - NR_ZONE_INACTIVE_FILE = 3,
1: - NR_ZONE_ACTIVE_FILE = 4,
1: - NR_ZONE_UNEVICTABLE = 5,
1: - NR_ZONE_WRITE_PENDING = 6,
1: - NR_MLOCK = 7,
1: - NR_PAGETABLE = 8,
1: - NR_KERNEL_STACK_KB = 9,
1: - NR_BOUNCE = 10,
1: - NR_FREE_CMA_PAGES = 11,
1: - NR_VM_ZONE_STAT_ITEMS = 12,
1: + NR_FREE_PAGES = 0,
1: + NR_ZONE_LRU_BASE = 1,
1: + NR_ZONE_INACTIVE_ANON = 1,
1: + NR_ZONE_ACTIVE_ANON = 2,
1: + NR_ZONE_INACTIVE_FILE = 3,
1: + NR_ZONE_ACTIVE_FILE = 4,
1: + NR_ZONE_UNEVICTABLE = 5,
1: + NR_ZONE_WRITE_PENDING = 6,
1: + NR_MLOCK = 7,
1: + NR_PAGETABLE = 8,
1: + NR_KERNEL_STACK_KB = 9,
1: + NR_BOUNCE = 10,
1: + NR_FREE_CMA_PAGES = 11,
1: + NR_VM_ZONE_STAT_ITEMS = 12,
1: };
1:
1: enum node_stat_item {
1: - NR_LRU_BASE = 0,
1: - NR_INACTIVE_ANON = 0,
1: - NR_ACTIVE_ANON = 1,
1: - NR_INACTIVE_FILE = 2,
1: - NR_ACTIVE_FILE = 3,
1: - NR_UNEVICTABLE = 4,
1: - NR_SLAB_RECLAIMABLE = 5,
1: - NR_SLAB_UNRECLAIMABLE = 6,
1: - NR_ISOLATED_ANON = 7,
1: - NR_ISOLATED_FILE = 8,
1: - WORKINGSET_NODES = 9,
1: - WORKINGSET_REFAULT = 10,
1: - WORKINGSET_ACTIVATE = 11,
1: - WORKINGSET_RESTORE = 12,
1: - WORKINGSET_NODERECLAIM = 13,
1: - NR_ANON_MAPPED = 14,
1: - NR_FILE_MAPPED = 15,
1: - NR_FILE_PAGES = 16,
1: - NR_FILE_DIRTY = 17,
1: - NR_WRITEBACK = 18,
1: - NR_WRITEBACK_TEMP = 19,
1: - NR_SHMEM = 20,
1: - NR_SHMEM_THPS = 21,
1: - NR_SHMEM_PMDMAPPED = 22,
1: - NR_FILE_THPS = 23,
1: - NR_FILE_PMDMAPPED = 24,
1: - NR_ANON_THPS = 25,
1: - NR_UNSTABLE_NFS = 26,
1: - NR_VMSCAN_WRITE = 27,
1: - NR_VMSCAN_IMMEDIATE = 28,
1: - NR_DIRTIED = 29,
1: - NR_WRITTEN = 30,
1: - NR_KERNEL_MISC_RECLAIMABLE = 31,
1: - NR_VM_NODE_STAT_ITEMS = 32,
1: + NR_LRU_BASE = 0,
1: + NR_INACTIVE_ANON = 0,
1: + NR_ACTIVE_ANON = 1,
1: + NR_INACTIVE_FILE = 2,
1: + NR_ACTIVE_FILE = 3,
1: + NR_UNEVICTABLE = 4,
1: + NR_SLAB_RECLAIMABLE = 5,
1: + NR_SLAB_UNRECLAIMABLE = 6,
1: + NR_ISOLATED_ANON = 7,
1: + NR_ISOLATED_FILE = 8,
1: + WORKINGSET_NODES = 9,
1: + WORKINGSET_REFAULT = 10,
1: + WORKINGSET_ACTIVATE = 11,
1: + WORKINGSET_RESTORE = 12,
1: + WORKINGSET_NODERECLAIM = 13,
1: + NR_ANON_MAPPED = 14,
1: + NR_FILE_MAPPED = 15,
1: + NR_FILE_PAGES = 16,
1: + NR_FILE_DIRTY = 17,
1: + NR_WRITEBACK = 18,
1: + NR_WRITEBACK_TEMP = 19,
1: + NR_SHMEM = 20,
1: + NR_SHMEM_THPS = 21,
1: + NR_SHMEM_PMDMAPPED = 22,
1: + NR_FILE_THPS = 23,
1: + NR_FILE_PMDMAPPED = 24,
1: + NR_ANON_THPS = 25,
1: + NR_UNSTABLE_NFS = 26,
1: + NR_VMSCAN_WRITE = 27,
1: + NR_VMSCAN_IMMEDIATE = 28,
1: + NR_DIRTIED = 29,
1: + NR_WRITTEN = 30,
1: + NR_KERNEL_MISC_RECLAIMABLE = 31,
1: + NR_VM_NODE_STAT_ITEMS = 32,
1: };
1:
1: struct zone_reclaim_stat {
1: - long unsigned int recent_rotated[2];
1: - long unsigned int recent_scanned[2];
1: + long unsigned int recent_rotated[2];
1: + long unsigned int recent_scanned[2];
1: };
1:
1: struct lruvec {
1: - struct list_head lists[5];
1: - struct zone_reclaim_stat reclaim_stat;
1: - atomic_long_t inactive_age;
1: - long unsigned int refaults;
1: - long unsigned int flags;
1: + struct list_head lists[5];
1: + struct zone_reclaim_stat reclaim_stat;
1: + atomic_long_t inactive_age;
1: + long unsigned int refaults;
1: + long unsigned int flags;
1: };
1:
1: typedef unsigned int isolate_mode_t;
1:
1: struct per_cpu_pages {
1: - int count;
1: - int high;
1: - int batch;
1: - struct list_head lists[3];
1: + int count;
1: + int high;
1: + int batch;
1: + struct list_head lists[3];
1: };
1:
1: struct per_cpu_pageset {
1: - struct per_cpu_pages pcp;
1: - s8 expire;
1: - u16 vm_numa_stat_diff[6];
1: - s8 stat_threshold;
1: - s8 vm_stat_diff[12];
1: + struct per_cpu_pages pcp;
1: + s8 expire;
1: + u16 vm_numa_stat_diff[6];
1: + s8 stat_threshold;
1: + s8 vm_stat_diff[12];
1: };
1:
1: struct per_cpu_nodestat {
1: - s8 stat_threshold;
1: - s8 vm_node_stat_diff[32];
1: + s8 stat_threshold;
1: + s8 vm_node_stat_diff[32];
1: };
1:
1: enum zone_type {
1: - ZONE_DMA = 0,
1: - ZONE_DMA32 = 1,
1: - ZONE_NORMAL = 2,
1: - ZONE_MOVABLE = 3,
1: - __MAX_NR_ZONES = 4,
1: + ZONE_DMA = 0,
1: + ZONE_DMA32 = 1,
1: + ZONE_NORMAL = 2,
1: + ZONE_MOVABLE = 3,
1: + __MAX_NR_ZONES = 4,
1: };
1:
1: struct pglist_data;
1:
1: struct zone {
1: - long unsigned int _watermark[3];
1: - long unsigned int watermark_boost;
1: - long unsigned int nr_reserved_highatomic;
1: - long int lowmem_reserve[4];
1: - int node;
1: - struct pglist_data *zone_pgdat;
1: - struct per_cpu_pageset *pageset;
1: - long unsigned int zone_start_pfn;
1: - atomic_long_t managed_pages;
1: - long unsigned int spanned_pages;
1: - long unsigned int present_pages;
1: - const char *name;
1: - int initialized;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct zone_padding _pad1_;
1: - struct free_area free_area[11];
1: - long unsigned int flags;
1: - spinlock_t lock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct zone_padding _pad2_;
1: - long unsigned int percpu_drift_mark;
1: - long unsigned int compact_cached_free_pfn;
1: - long unsigned int compact_cached_migrate_pfn[2];
1: - long unsigned int compact_init_migrate_pfn;
1: - long unsigned int compact_init_free_pfn;
1: - unsigned int compact_considered;
1: - unsigned int compact_defer_shift;
1: - int compact_order_failed;
1: - bool compact_blockskip_flush;
1: - bool contiguous;
1: - short: 16;
1: - struct zone_padding _pad3_;
1: - atomic_long_t vm_stat[12];
1: - atomic_long_t vm_numa_stat[6];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + long unsigned int _watermark[3];
1: + long unsigned int watermark_boost;
1: + long unsigned int nr_reserved_highatomic;
1: + long int lowmem_reserve[4];
1: + int node;
1: + struct pglist_data *zone_pgdat;
1: + struct per_cpu_pageset *pageset;
1: + long unsigned int zone_start_pfn;
1: + atomic_long_t managed_pages;
1: + long unsigned int spanned_pages;
1: + long unsigned int present_pages;
1: + const char *name;
1: + int initialized;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct zone_padding _pad1_;
1: + struct free_area free_area[11];
1: + long unsigned int flags;
1: + spinlock_t lock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct zone_padding _pad2_;
1: + long unsigned int percpu_drift_mark;
1: + long unsigned int compact_cached_free_pfn;
1: + long unsigned int compact_cached_migrate_pfn[2];
1: + long unsigned int compact_init_migrate_pfn;
1: + long unsigned int compact_init_free_pfn;
1: + unsigned int compact_considered;
1: + unsigned int compact_defer_shift;
1: + int compact_order_failed;
1: + bool compact_blockskip_flush;
1: + bool contiguous;
1: + short : 16;
1: + struct zone_padding _pad3_;
1: + atomic_long_t vm_stat[12];
1: + atomic_long_t vm_numa_stat[6];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct zoneref {
1: - struct zone *zone;
1: - int zone_idx;
1: + struct zone *zone;
1: + int zone_idx;
1: };
1:
1: struct zonelist {
1: - struct zoneref _zonerefs[257];
1: + struct zoneref _zonerefs[257];
1: };
1:
1: struct pglist_data {
1: - struct zone node_zones[4];
1: - struct zonelist node_zonelists[2];
1: - int nr_zones;
1: - long unsigned int node_start_pfn;
1: - long unsigned int node_present_pages;
1: - long unsigned int node_spanned_pages;
1: - int node_id;
1: - wait_queue_head_t kswapd_wait;
1: - wait_queue_head_t pfmemalloc_wait;
1: - struct task_struct *kswapd;
1: - int kswapd_order;
1: - enum zone_type kswapd_classzone_idx;
1: - int kswapd_failures;
1: - int kcompactd_max_order;
1: - enum zone_type kcompactd_classzone_idx;
1: - wait_queue_head_t kcompactd_wait;
1: - struct task_struct *kcompactd;
1: - long unsigned int totalreserve_pages;
1: - long unsigned int min_unmapped_pages;
1: - long unsigned int min_slab_pages;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct zone_padding _pad1_;
1: - spinlock_t lru_lock;
1: - struct lruvec __lruvec;
1: - long unsigned int flags;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct zone_padding _pad2_;
1: - struct per_cpu_nodestat *per_cpu_nodestats;
1: - atomic_long_t vm_stat[32];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct zone node_zones[4];
1: + struct zonelist node_zonelists[2];
1: + int nr_zones;
1: + long unsigned int node_start_pfn;
1: + long unsigned int node_present_pages;
1: + long unsigned int node_spanned_pages;
1: + int node_id;
1: + wait_queue_head_t kswapd_wait;
1: + wait_queue_head_t pfmemalloc_wait;
1: + struct task_struct *kswapd;
1: + int kswapd_order;
1: + enum zone_type kswapd_classzone_idx;
1: + int kswapd_failures;
1: + int kcompactd_max_order;
1: + enum zone_type kcompactd_classzone_idx;
1: + wait_queue_head_t kcompactd_wait;
1: + struct task_struct *kcompactd;
1: + long unsigned int totalreserve_pages;
1: + long unsigned int min_unmapped_pages;
1: + long unsigned int min_slab_pages;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct zone_padding _pad1_;
1: + spinlock_t lru_lock;
1: + struct lruvec __lruvec;
1: + long unsigned int flags;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct zone_padding _pad2_;
1: + struct per_cpu_nodestat *per_cpu_nodestats;
1: + atomic_long_t vm_stat[32];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct mem_section_usage {
1: - long unsigned int subsection_map[1];
1: - long unsigned int pageblock_flags[0];
1: + long unsigned int subsection_map[1];
1: + long unsigned int pageblock_flags[0];
1: };
1:
1: struct mem_section {
1: - long unsigned int section_mem_map;
1: - struct mem_section_usage *usage;
1: + long unsigned int section_mem_map;
1: + struct mem_section_usage *usage;
1: };
1:
1: struct shrink_control {
1: - gfp_t gfp_mask;
1: - int nid;
1: - long unsigned int nr_to_scan;
1: - long unsigned int nr_scanned;
1: - struct mem_cgroup *memcg;
1: + gfp_t gfp_mask;
1: + int nid;
1: + long unsigned int nr_to_scan;
1: + long unsigned int nr_scanned;
1: + struct mem_cgroup *memcg;
1: };
1:
1: struct shrinker {
1: - long unsigned int (*count_objects)(struct shrinker *, struct shrink_control *);
1: - long unsigned int (*scan_objects)(struct shrinker *, struct shrink_control *);
1: - long int batch;
1: - int seeks;
1: - unsigned int flags;
1: - struct list_head list;
1: - atomic_long_t *nr_deferred;
1: + long unsigned int (*count_objects)(struct shrinker *,
1: + struct shrink_control *);
1: + long unsigned int (*scan_objects)(struct shrinker *, struct shrink_control *);
1: + long int batch;
1: + int seeks;
1: + unsigned int flags;
1: + struct list_head list;
1: + atomic_long_t *nr_deferred;
1: };
1:
1: struct dev_pagemap_ops {
1: - void (*page_free)(struct page *);
1: - void (*kill)(struct dev_pagemap *);
1: - void (*cleanup)(struct dev_pagemap *);
1: - vm_fault_t (*migrate_to_ram)(struct vm_fault *);
1: + void (*page_free)(struct page *);
1: + void (*kill)(struct dev_pagemap *);
1: + void (*cleanup)(struct dev_pagemap *);
1: + vm_fault_t (*migrate_to_ram)(struct vm_fault *);
1: };
1:
1: struct pid_namespace;
1:
1: struct upid {
1: - int nr;
1: - struct pid_namespace *ns;
1: + int nr;
1: + struct pid_namespace *ns;
1: };
1:
1: struct pid {
1: - refcount_t count;
1: - unsigned int level;
1: - struct hlist_head tasks[4];
1: - wait_queue_head_t wait_pidfd;
1: - struct callback_head rcu;
1: - struct upid numbers[1];
1: + refcount_t count;
1: + unsigned int level;
1: + struct hlist_head tasks[4];
1: + wait_queue_head_t wait_pidfd;
1: + struct callback_head rcu;
1: + struct upid numbers[1];
1: };
1:
1: -typedef struct {
1: - gid_t val;
1: -} kgid_t;
1: +typedef struct { gid_t val; } kgid_t;
1:
1: struct hrtimer_cpu_base;
1:
1: struct hrtimer_clock_base {
1: - struct hrtimer_cpu_base *cpu_base;
1: - unsigned int index;
1: - clockid_t clockid;
1: - seqcount_t seq;
1: - struct hrtimer *running;
1: - struct timerqueue_head active;
1: - ktime_t (*get_time)();
1: - ktime_t offset;
1: + struct hrtimer_cpu_base *cpu_base;
1: + unsigned int index;
1: + clockid_t clockid;
1: + seqcount_t seq;
1: + struct hrtimer *running;
1: + struct timerqueue_head active;
1: + ktime_t (*get_time)();
1: + ktime_t offset;
1: };
1:
1: struct hrtimer_cpu_base {
1: - raw_spinlock_t lock;
1: - unsigned int cpu;
1: - unsigned int active_bases;
1: - unsigned int clock_was_set_seq;
1: - unsigned int hres_active: 1;
1: - unsigned int in_hrtirq: 1;
1: - unsigned int hang_detected: 1;
1: - unsigned int softirq_activated: 1;
1: - unsigned int nr_events;
1: - short unsigned int nr_retries;
1: - short unsigned int nr_hangs;
1: - unsigned int max_hang_time;
1: - ktime_t expires_next;
1: - struct hrtimer *next_timer;
1: - ktime_t softirq_expires_next;
1: - struct hrtimer *softirq_next_timer;
1: - struct hrtimer_clock_base clock_base[8];
1: + raw_spinlock_t lock;
1: + unsigned int cpu;
1: + unsigned int active_bases;
1: + unsigned int clock_was_set_seq;
1: + unsigned int hres_active : 1;
1: + unsigned int in_hrtirq : 1;
1: + unsigned int hang_detected : 1;
1: + unsigned int softirq_activated : 1;
1: + unsigned int nr_events;
1: + short unsigned int nr_retries;
1: + short unsigned int nr_hangs;
1: + unsigned int max_hang_time;
1: + ktime_t expires_next;
1: + struct hrtimer *next_timer;
1: + ktime_t softirq_expires_next;
1: + struct hrtimer *softirq_next_timer;
1: + struct hrtimer_clock_base clock_base[8];
1: };
1:
1: union sigval {
1: - int sival_int;
1: - void *sival_ptr;
1: + int sival_int;
1: + void *sival_ptr;
1: };
1:
1: typedef union sigval sigval_t;
1:
1: union __sifields {
1: - struct {
1: - __kernel_pid_t _pid;
1: - __kernel_uid32_t _uid;
1: - } _kill;
1: - struct {
1: - __kernel_timer_t _tid;
1: - int _overrun;
1: - sigval_t _sigval;
1: - int _sys_private;
1: - } _timer;
1: - struct {
1: - __kernel_pid_t _pid;
1: - __kernel_uid32_t _uid;
1: - sigval_t _sigval;
1: - } _rt;
1: - struct {
1: - __kernel_pid_t _pid;
1: - __kernel_uid32_t _uid;
1: - int _status;
1: - __kernel_clock_t _utime;
1: - __kernel_clock_t _stime;
1: - } _sigchld;
1: - struct {
1: - void *_addr;
1: - union {
1: - short int _addr_lsb;
1: - struct {
1: - char _dummy_bnd[8];
1: - void *_lower;
1: - void *_upper;
1: - } _addr_bnd;
1: - struct {
1: - char _dummy_pkey[8];
1: - __u32 _pkey;
1: - } _addr_pkey;
1: - };
1: - } _sigfault;
1: - struct {
1: - long int _band;
1: - int _fd;
1: - } _sigpoll;
1: - struct {
1: - void *_call_addr;
1: - int _syscall;
1: - unsigned int _arch;
1: - } _sigsys;
1: + struct {
1: + __kernel_pid_t _pid;
1: + __kernel_uid32_t _uid;
1: + } _kill;
1: + struct {
1: + __kernel_timer_t _tid;
1: + int _overrun;
1: + sigval_t _sigval;
1: + int _sys_private;
1: + } _timer;
1: + struct {
1: + __kernel_pid_t _pid;
1: + __kernel_uid32_t _uid;
1: + sigval_t _sigval;
1: + } _rt;
1: + struct {
1: + __kernel_pid_t _pid;
1: + __kernel_uid32_t _uid;
1: + int _status;
1: + __kernel_clock_t _utime;
1: + __kernel_clock_t _stime;
1: + } _sigchld;
1: + struct {
1: + void *_addr;
1: + union {
1: + short int _addr_lsb;
1: + struct {
1: + char _dummy_bnd[8];
1: + void *_lower;
1: + void *_upper;
1: + } _addr_bnd;
1: + struct {
1: + char _dummy_pkey[8];
1: + __u32 _pkey;
1: + } _addr_pkey;
1: + };
1: + } _sigfault;
1: + struct {
1: + long int _band;
1: + int _fd;
1: + } _sigpoll;
1: + struct {
1: + void *_call_addr;
1: + int _syscall;
1: + unsigned int _arch;
1: + } _sigsys;
1: };
1:
1: struct kernel_siginfo {
1: - struct {
1: - int si_signo;
1: - int si_errno;
1: - int si_code;
1: - union __sifields _sifields;
1: - };
1: + struct {
1: + int si_signo;
1: + int si_errno;
1: + int si_code;
1: + union __sifields _sifields;
1: + };
1: };
1:
1: struct rseq {
1: - __u32 cpu_id_start;
1: - __u32 cpu_id;
1: - union {
1: - __u64 ptr64;
1: - __u64 ptr;
1: - } rseq_cs;
1: - __u32 flags;
1: - long: 32;
1: - long: 64;
1: + __u32 cpu_id_start;
1: + __u32 cpu_id;
1: + union {
1: + __u64 ptr64;
1: + __u64 ptr;
1: + } rseq_cs;
1: + __u32 flags;
1: + long : 32;
1: + long : 64;
1: };
1:
1: struct rq;
1: @@ -3051,35 +3029,35 @@ struct rq;
1: struct rq_flags;
1:
1: struct sched_class {
1: - const struct sched_class *next;
1: - void (*enqueue_task)(struct rq *, struct task_struct *, int);
1: - void (*dequeue_task)(struct rq *, struct task_struct *, int);
1: - void (*yield_task)(struct rq *);
1: - bool (*yield_to_task)(struct rq *, struct task_struct *, bool);
1: - void (*check_preempt_curr)(struct rq *, struct task_struct *, int);
1: - struct task_struct * (*pick_next_task)(struct rq *);
1: - void (*put_prev_task)(struct rq *, struct task_struct *);
1: - void (*set_next_task)(struct rq *, struct task_struct *, bool);
1: - int (*balance)(struct rq *, struct task_struct *, struct rq_flags *);
1: - int (*select_task_rq)(struct task_struct *, int, int, int);
1: - void (*migrate_task_rq)(struct task_struct *, int);
1: - void (*task_woken)(struct rq *, struct task_struct *);
1: - void (*set_cpus_allowed)(struct task_struct *, const struct cpumask *);
1: - void (*rq_online)(struct rq *);
1: - void (*rq_offline)(struct rq *);
1: - void (*task_tick)(struct rq *, struct task_struct *, int);
1: - void (*task_fork)(struct task_struct *);
1: - void (*task_dead)(struct task_struct *);
1: - void (*switched_from)(struct rq *, struct task_struct *);
1: - void (*switched_to)(struct rq *, struct task_struct *);
1: - void (*prio_changed)(struct rq *, struct task_struct *, int);
1: - unsigned int (*get_rr_interval)(struct rq *, struct task_struct *);
1: - void (*update_curr)(struct rq *);
1: - void (*task_change_group)(struct task_struct *, int);
1: + const struct sched_class *next;
1: + void (*enqueue_task)(struct rq *, struct task_struct *, int);
1: + void (*dequeue_task)(struct rq *, struct task_struct *, int);
1: + void (*yield_task)(struct rq *);
1: + bool (*yield_to_task)(struct rq *, struct task_struct *, bool);
1: + void (*check_preempt_curr)(struct rq *, struct task_struct *, int);
1: + struct task_struct *(*pick_next_task)(struct rq *);
1: + void (*put_prev_task)(struct rq *, struct task_struct *);
1: + void (*set_next_task)(struct rq *, struct task_struct *, bool);
1: + int (*balance)(struct rq *, struct task_struct *, struct rq_flags *);
1: + int (*select_task_rq)(struct task_struct *, int, int, int);
1: + void (*migrate_task_rq)(struct task_struct *, int);
1: + void (*task_woken)(struct rq *, struct task_struct *);
1: + void (*set_cpus_allowed)(struct task_struct *, const struct cpumask *);
1: + void (*rq_online)(struct rq *);
1: + void (*rq_offline)(struct rq *);
1: + void (*task_tick)(struct rq *, struct task_struct *, int);
1: + void (*task_fork)(struct task_struct *);
1: + void (*task_dead)(struct task_struct *);
1: + void (*switched_from)(struct rq *, struct task_struct *);
1: + void (*switched_to)(struct rq *, struct task_struct *);
1: + void (*prio_changed)(struct rq *, struct task_struct *, int);
1: + unsigned int (*get_rr_interval)(struct rq *, struct task_struct *);
1: + void (*update_curr)(struct rq *);
1: + void (*task_change_group)(struct task_struct *, int);
1: };
1:
1: struct kernel_cap_struct {
1: - __u32 cap[2];
1: + __u32 cap[2];
1: };
1:
1: typedef struct kernel_cap_struct kernel_cap_t;
1: @@ -3089,82 +3067,82 @@ struct user_struct;
1: struct group_info;
1:
1: struct cred {
1: - atomic_t usage;
1: - kuid_t uid;
1: - kgid_t gid;
1: - kuid_t suid;
1: - kgid_t sgid;
1: - kuid_t euid;
1: - kgid_t egid;
1: - kuid_t fsuid;
1: - kgid_t fsgid;
1: - unsigned int securebits;
1: - kernel_cap_t cap_inheritable;
1: - kernel_cap_t cap_permitted;
1: - kernel_cap_t cap_effective;
1: - kernel_cap_t cap_bset;
1: - kernel_cap_t cap_ambient;
1: - unsigned char jit_keyring;
1: - struct key *session_keyring;
1: - struct key *process_keyring;
1: - struct key *thread_keyring;
1: - struct key *request_key_auth;
1: - void *security;
1: - struct user_struct *user;
1: - struct user_namespace *user_ns;
1: - struct group_info *group_info;
1: - union {
1: - int non_rcu;
1: - struct callback_head rcu;
1: - };
1: + atomic_t usage;
1: + kuid_t uid;
1: + kgid_t gid;
1: + kuid_t suid;
1: + kgid_t sgid;
1: + kuid_t euid;
1: + kgid_t egid;
1: + kuid_t fsuid;
1: + kgid_t fsgid;
1: + unsigned int securebits;
1: + kernel_cap_t cap_inheritable;
1: + kernel_cap_t cap_permitted;
1: + kernel_cap_t cap_effective;
1: + kernel_cap_t cap_bset;
1: + kernel_cap_t cap_ambient;
1: + unsigned char jit_keyring;
1: + struct key *session_keyring;
1: + struct key *process_keyring;
1: + struct key *thread_keyring;
1: + struct key *request_key_auth;
1: + void *security;
1: + struct user_struct *user;
1: + struct user_namespace *user_ns;
1: + struct group_info *group_info;
1: + union {
1: + int non_rcu;
1: + struct callback_head rcu;
1: + };
1: };
1:
1: struct io_cq;
1:
1: struct io_context {
1: - atomic_long_t refcount;
1: - atomic_t active_ref;
1: - atomic_t nr_tasks;
1: - spinlock_t lock;
1: - short unsigned int ioprio;
1: - int nr_batch_requests;
1: - long unsigned int last_waited;
1: - struct xarray icq_tree;
1: - struct io_cq *icq_hint;
1: - struct hlist_head icq_list;
1: - struct work_struct release_work;
1: + atomic_long_t refcount;
1: + atomic_t active_ref;
1: + atomic_t nr_tasks;
1: + spinlock_t lock;
1: + short unsigned int ioprio;
1: + int nr_batch_requests;
1: + long unsigned int last_waited;
1: + struct xarray icq_tree;
1: + struct io_cq *icq_hint;
1: + struct hlist_head icq_list;
1: + struct work_struct release_work;
1: };
1:
1: struct hlist_bl_node;
1:
1: struct hlist_bl_head {
1: - struct hlist_bl_node *first;
1: + struct hlist_bl_node *first;
1: };
1:
1: struct hlist_bl_node {
1: - struct hlist_bl_node *next;
1: - struct hlist_bl_node **pprev;
1: + struct hlist_bl_node *next;
1: + struct hlist_bl_node **pprev;
1: };
1:
1: struct lockref {
1: - union {
1: - __u64 lock_count;
1: - struct {
1: - spinlock_t lock;
1: - int count;
1: - };
1: - };
1: + union {
1: + __u64 lock_count;
1: + struct {
1: + spinlock_t lock;
1: + int count;
1: + };
1: + };
1: };
1:
1: struct qstr {
1: - union {
1: - struct {
1: - u32 hash;
1: - u32 len;
1: - };
1: - u64 hash_len;
1: - };
1: - const unsigned char *name;
1: + union {
1: + struct {
1: + u32 hash;
1: + u32 len;
1: + };
1: + u64 hash_len;
1: + };
1: + const unsigned char *name;
1: };
1:
1: struct dentry_operations;
1: @@ -3172,29 +3150,29 @@ struct dentry_operations;
1: struct super_block;
1:
1: struct dentry {
1: - unsigned int d_flags;
1: - seqcount_t d_seq;
1: - struct hlist_bl_node d_hash;
1: - struct dentry *d_parent;
1: - struct qstr d_name;
1: - struct inode *d_inode;
1: - unsigned char d_iname[32];
1: - struct lockref d_lockref;
1: - const struct dentry_operations *d_op;
1: - struct super_block *d_sb;
1: - long unsigned int d_time;
1: - void *d_fsdata;
1: - union {
1: - struct list_head d_lru;
1: - wait_queue_head_t *d_wait;
1: - };
1: - struct list_head d_child;
1: - struct list_head d_subdirs;
1: - union {
1: - struct hlist_node d_alias;
1: - struct hlist_bl_node d_in_lookup_hash;
1: - struct callback_head d_rcu;
1: - } d_u;
1: + unsigned int d_flags;
1: + seqcount_t d_seq;
1: + struct hlist_bl_node d_hash;
1: + struct dentry *d_parent;
1: + struct qstr d_name;
1: + struct inode *d_inode;
1: + unsigned char d_iname[32];
1: + struct lockref d_lockref;
1: + const struct dentry_operations *d_op;
1: + struct super_block *d_sb;
1: + long unsigned int d_time;
1: + void *d_fsdata;
1: + union {
1: + struct list_head d_lru;
1: + wait_queue_head_t *d_wait;
1: + };
1: + struct list_head d_child;
1: + struct list_head d_subdirs;
1: + union {
1: + struct hlist_node d_alias;
1: + struct hlist_bl_node d_in_lookup_hash;
1: + struct callback_head d_rcu;
1: + } d_u;
1: };
1:
1: struct posix_acl;
1: @@ -3210,87 +3188,88 @@ struct cdev;
1: struct fsnotify_mark_connector;
1:
1: struct inode {
1: - umode_t i_mode;
1: - short unsigned int i_opflags;
1: - kuid_t i_uid;
1: - kgid_t i_gid;
1: - unsigned int i_flags;
1: - struct posix_acl *i_acl;
1: - struct posix_acl *i_default_acl;
1: - const struct inode_operations *i_op;
1: - struct super_block *i_sb;
1: - struct address_space *i_mapping;
1: - void *i_security;
1: - long unsigned int i_ino;
1: - union {
1: - const unsigned int i_nlink;
1: - unsigned int __i_nlink;
1: - };
1: - dev_t i_rdev;
1: - loff_t i_size;
1: - struct timespec64 i_atime;
1: - struct timespec64 i_mtime;
1: - struct timespec64 i_ctime;
1: - spinlock_t i_lock;
1: - short unsigned int i_bytes;
1: - u8 i_blkbits;
1: - u8 i_write_hint;
1: - blkcnt_t i_blocks;
1: - long unsigned int i_state;
1: - struct rw_semaphore i_rwsem;
1: - long unsigned int dirtied_when;
1: - long unsigned int dirtied_time_when;
1: - struct hlist_node i_hash;
1: - struct list_head i_io_list;
1: - struct list_head i_lru;
1: - struct list_head i_sb_list;
1: - struct list_head i_wb_list;
1: - union {
1: - struct hlist_head i_dentry;
1: - struct callback_head i_rcu;
1: - };
1: - atomic64_t i_version;
1: - atomic_t i_count;
1: - atomic_t i_dio_count;
1: - atomic_t i_writecount;
1: - atomic_t i_readcount;
1: - union {
1: - const struct file_operations *i_fop;
1: - void (*free_inode)(struct inode *);
1: - };
1: - struct file_lock_context *i_flctx;
1: - struct address_space i_data;
1: - struct list_head i_devices;
1: - union {
1: - struct pipe_inode_info *i_pipe;
1: - struct block_device *i_bdev;
1: - struct cdev *i_cdev;
1: - char *i_link;
1: - unsigned int i_dir_seq;
1: - };
1: - __u32 i_generation;
1: - __u32 i_fsnotify_mask;
1: - struct fsnotify_mark_connector *i_fsnotify_marks;
1: - void *i_private;
1: + umode_t i_mode;
1: + short unsigned int i_opflags;
1: + kuid_t i_uid;
1: + kgid_t i_gid;
1: + unsigned int i_flags;
1: + struct posix_acl *i_acl;
1: + struct posix_acl *i_default_acl;
1: + const struct inode_operations *i_op;
1: + struct super_block *i_sb;
1: + struct address_space *i_mapping;
1: + void *i_security;
1: + long unsigned int i_ino;
1: + union {
1: + const unsigned int i_nlink;
1: + unsigned int __i_nlink;
1: + };
1: + dev_t i_rdev;
1: + loff_t i_size;
1: + struct timespec64 i_atime;
1: + struct timespec64 i_mtime;
1: + struct timespec64 i_ctime;
1: + spinlock_t i_lock;
1: + short unsigned int i_bytes;
1: + u8 i_blkbits;
1: + u8 i_write_hint;
1: + blkcnt_t i_blocks;
1: + long unsigned int i_state;
1: + struct rw_semaphore i_rwsem;
1: + long unsigned int dirtied_when;
1: + long unsigned int dirtied_time_when;
1: + struct hlist_node i_hash;
1: + struct list_head i_io_list;
1: + struct list_head i_lru;
1: + struct list_head i_sb_list;
1: + struct list_head i_wb_list;
1: + union {
1: + struct hlist_head i_dentry;
1: + struct callback_head i_rcu;
1: + };
1: + atomic64_t i_version;
1: + atomic_t i_count;
1: + atomic_t i_dio_count;
1: + atomic_t i_writecount;
1: + atomic_t i_readcount;
1: + union {
1: + const struct file_operations *i_fop;
1: + void (*free_inode)(struct inode *);
1: + };
1: + struct file_lock_context *i_flctx;
1: + struct address_space i_data;
1: + struct list_head i_devices;
1: + union {
1: + struct pipe_inode_info *i_pipe;
1: + struct block_device *i_bdev;
1: + struct cdev *i_cdev;
1: + char *i_link;
1: + unsigned int i_dir_seq;
1: + };
1: + __u32 i_generation;
1: + __u32 i_fsnotify_mask;
1: + struct fsnotify_mark_connector *i_fsnotify_marks;
1: + void *i_private;
1: };
1:
1: struct dentry_operations {
1: - int (*d_revalidate)(struct dentry *, unsigned int);
1: - int (*d_weak_revalidate)(struct dentry *, unsigned int);
1: - int (*d_hash)(const struct dentry *, struct qstr *);
1: - int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *);
1: - int (*d_delete)(const struct dentry *);
1: - int (*d_init)(struct dentry *);
1: - void (*d_release)(struct dentry *);
1: - void (*d_prune)(struct dentry *);
1: - void (*d_iput)(struct dentry *, struct inode *);
1: - char * (*d_dname)(struct dentry *, char *, int);
1: - struct vfsmount * (*d_automount)(struct path *);
1: - int (*d_manage)(const struct path *, bool);
1: - struct dentry * (*d_real)(struct dentry *, const struct inode *);
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + int (*d_revalidate)(struct dentry *, unsigned int);
1: + int (*d_weak_revalidate)(struct dentry *, unsigned int);
1: + int (*d_hash)(const struct dentry *, struct qstr *);
1: + int (*d_compare)(const struct dentry *, unsigned int, const char *,
1: + const struct qstr *);
1: + int (*d_delete)(const struct dentry *);
1: + int (*d_init)(struct dentry *);
1: + void (*d_release)(struct dentry *);
1: + void (*d_prune)(struct dentry *);
1: + void (*d_iput)(struct dentry *, struct inode *);
1: + char *(*d_dname)(struct dentry *, char *, int);
1: + struct vfsmount *(*d_automount)(struct path *);
1: + int (*d_manage)(const struct path *, bool);
1: + struct dentry *(*d_real)(struct dentry *, const struct inode *);
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct mtd_info;
1: @@ -3300,60 +3279,58 @@ typedef long long int qsize_t;
1: struct quota_format_type;
1:
1: struct mem_dqinfo {
1: - struct quota_format_type *dqi_format;
1: - int dqi_fmt_id;
1: - struct list_head dqi_dirty_list;
1: - long unsigned int dqi_flags;
1: - unsigned int dqi_bgrace;
1: - unsigned int dqi_igrace;
1: - qsize_t dqi_max_spc_limit;
1: - qsize_t dqi_max_ino_limit;
1: - void *dqi_priv;
1: + struct quota_format_type *dqi_format;
1: + int dqi_fmt_id;
1: + struct list_head dqi_dirty_list;
1: + long unsigned int dqi_flags;
1: + unsigned int dqi_bgrace;
1: + unsigned int dqi_igrace;
1: + qsize_t dqi_max_spc_limit;
1: + qsize_t dqi_max_ino_limit;
1: + void *dqi_priv;
1: };
1:
1: struct quota_format_ops;
1:
1: struct quota_info {
1: - unsigned int flags;
1: - struct rw_semaphore dqio_sem;
1: - struct inode *files[3];
1: - struct mem_dqinfo info[3];
1: - const struct quota_format_ops *ops[3];
1: + unsigned int flags;
1: + struct rw_semaphore dqio_sem;
1: + struct inode *files[3];
1: + struct mem_dqinfo info[3];
1: + const struct quota_format_ops *ops[3];
1: };
1:
1: struct rcu_sync {
1: - int gp_state;
1: - int gp_count;
1: - wait_queue_head_t gp_wait;
1: - struct callback_head cb_head;
1: + int gp_state;
1: + int gp_count;
1: + wait_queue_head_t gp_wait;
1: + struct callback_head cb_head;
1: };
1:
1: struct rcuwait {
1: - struct task_struct *task;
1: + struct task_struct *task;
1: };
1:
1: struct percpu_rw_semaphore {
1: - struct rcu_sync rss;
1: - unsigned int *read_count;
1: - struct rw_semaphore rw_sem;
1: - struct rcuwait writer;
1: - int readers_block;
1: + struct rcu_sync rss;
1: + unsigned int *read_count;
1: + struct rw_semaphore rw_sem;
1: + struct rcuwait writer;
1: + int readers_block;
1: };
1:
1: struct sb_writers {
1: - int frozen;
1: - wait_queue_head_t wait_unfrozen;
1: - struct percpu_rw_semaphore rw_sem[3];
1: + int frozen;
1: + wait_queue_head_t wait_unfrozen;
1: + struct percpu_rw_semaphore rw_sem[3];
1: };
1:
1: -typedef struct {
1: - __u8 b[16];
1: -} uuid_t;
1: +typedef struct { __u8 b[16]; } uuid_t;
1:
1: struct list_lru_node;
1:
1: struct list_lru {
1: - struct list_lru_node *node;
1: + struct list_lru_node *node;
1: };
1:
1: struct file_system_type;
1: @@ -3371,328 +3348,324 @@ struct xattr_handler;
1: struct workqueue_struct;
1:
1: struct super_block {
1: - struct list_head s_list;
1: - dev_t s_dev;
1: - unsigned char s_blocksize_bits;
1: - long unsigned int s_blocksize;
1: - loff_t s_maxbytes;
1: - struct file_system_type *s_type;
1: - const struct super_operations *s_op;
1: - const struct dquot_operations *dq_op;
1: - const struct quotactl_ops *s_qcop;
1: - const struct export_operations *s_export_op;
1: - long unsigned int s_flags;
1: - long unsigned int s_iflags;
1: - long unsigned int s_magic;
1: - struct dentry *s_root;
1: - struct rw_semaphore s_umount;
1: - int s_count;
1: - atomic_t s_active;
1: - void *s_security;
1: - const struct xattr_handler **s_xattr;
1: - struct hlist_bl_head s_roots;
1: - struct list_head s_mounts;
1: - struct block_device *s_bdev;
1: - struct backing_dev_info *s_bdi;
1: - struct mtd_info *s_mtd;
1: - struct hlist_node s_instances;
1: - unsigned int s_quota_types;
1: - struct quota_info s_dquot;
1: - struct sb_writers s_writers;
1: - void *s_fs_info;
1: - u32 s_time_gran;
1: - time64_t s_time_min;
1: - time64_t s_time_max;
1: - __u32 s_fsnotify_mask;
1: - struct fsnotify_mark_connector *s_fsnotify_marks;
1: - char s_id[32];
1: - uuid_t s_uuid;
1: - unsigned int s_max_links;
1: - fmode_t s_mode;
1: - struct mutex s_vfs_rename_mutex;
1: - const char *s_subtype;
1: - const struct dentry_operations *s_d_op;
1: - int cleancache_poolid;
1: - struct shrinker s_shrink;
1: - atomic_long_t s_remove_count;
1: - atomic_long_t s_fsnotify_inode_refs;
1: - int s_readonly_remount;
1: - struct workqueue_struct *s_dio_done_wq;
1: - struct hlist_head s_pins;
1: - struct user_namespace *s_user_ns;
1: - struct list_lru s_dentry_lru;
1: - struct list_lru s_inode_lru;
1: - struct callback_head rcu;
1: - struct work_struct destroy_work;
1: - struct mutex s_sync_lock;
1: - int s_stack_depth;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - spinlock_t s_inode_list_lock;
1: - struct list_head s_inodes;
1: - spinlock_t s_inode_wblist_lock;
1: - struct list_head s_inodes_wb;
1: - long: 64;
1: - long: 64;
1: + struct list_head s_list;
1: + dev_t s_dev;
1: + unsigned char s_blocksize_bits;
1: + long unsigned int s_blocksize;
1: + loff_t s_maxbytes;
1: + struct file_system_type *s_type;
1: + const struct super_operations *s_op;
1: + const struct dquot_operations *dq_op;
1: + const struct quotactl_ops *s_qcop;
1: + const struct export_operations *s_export_op;
1: + long unsigned int s_flags;
1: + long unsigned int s_iflags;
1: + long unsigned int s_magic;
1: + struct dentry *s_root;
1: + struct rw_semaphore s_umount;
1: + int s_count;
1: + atomic_t s_active;
1: + void *s_security;
1: + const struct xattr_handler **s_xattr;
1: + struct hlist_bl_head s_roots;
1: + struct list_head s_mounts;
1: + struct block_device *s_bdev;
1: + struct backing_dev_info *s_bdi;
1: + struct mtd_info *s_mtd;
1: + struct hlist_node s_instances;
1: + unsigned int s_quota_types;
1: + struct quota_info s_dquot;
1: + struct sb_writers s_writers;
1: + void *s_fs_info;
1: + u32 s_time_gran;
1: + time64_t s_time_min;
1: + time64_t s_time_max;
1: + __u32 s_fsnotify_mask;
1: + struct fsnotify_mark_connector *s_fsnotify_marks;
1: + char s_id[32];
1: + uuid_t s_uuid;
1: + unsigned int s_max_links;
1: + fmode_t s_mode;
1: + struct mutex s_vfs_rename_mutex;
1: + const char *s_subtype;
1: + const struct dentry_operations *s_d_op;
1: + int cleancache_poolid;
1: + struct shrinker s_shrink;
1: + atomic_long_t s_remove_count;
1: + atomic_long_t s_fsnotify_inode_refs;
1: + int s_readonly_remount;
1: + struct workqueue_struct *s_dio_done_wq;
1: + struct hlist_head s_pins;
1: + struct user_namespace *s_user_ns;
1: + struct list_lru s_dentry_lru;
1: + struct list_lru s_inode_lru;
1: + struct callback_head rcu;
1: + struct work_struct destroy_work;
1: + struct mutex s_sync_lock;
1: + int s_stack_depth;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + spinlock_t s_inode_list_lock;
1: + struct list_head s_inodes;
1: + spinlock_t s_inode_wblist_lock;
1: + struct list_head s_inodes_wb;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct kstat {
1: - u32 result_mask;
1: - umode_t mode;
1: - unsigned int nlink;
1: - uint32_t blksize;
1: - u64 attributes;
1: - u64 attributes_mask;
1: - u64 ino;
1: - dev_t dev;
1: - dev_t rdev;
1: - kuid_t uid;
1: - kgid_t gid;
1: - loff_t size;
1: - struct timespec64 atime;
1: - struct timespec64 mtime;
1: - struct timespec64 ctime;
1: - struct timespec64 btime;
1: - u64 blocks;
1: + u32 result_mask;
1: + umode_t mode;
1: + unsigned int nlink;
1: + uint32_t blksize;
1: + u64 attributes;
1: + u64 attributes_mask;
1: + u64 ino;
1: + dev_t dev;
1: + dev_t rdev;
1: + kuid_t uid;
1: + kgid_t gid;
1: + loff_t size;
1: + struct timespec64 atime;
1: + struct timespec64 mtime;
1: + struct timespec64 ctime;
1: + struct timespec64 btime;
1: + u64 blocks;
1: };
1:
1: struct list_lru_one {
1: - struct list_head list;
1: - long int nr_items;
1: + struct list_head list;
1: + long int nr_items;
1: };
1:
1: struct list_lru_node {
1: - spinlock_t lock;
1: - struct list_lru_one lru;
1: - long int nr_items;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + spinlock_t lock;
1: + struct list_lru_one lru;
1: + long int nr_items;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct fiemap_extent {
1: - __u64 fe_logical;
1: - __u64 fe_physical;
1: - __u64 fe_length;
1: - __u64 fe_reserved64[2];
1: - __u32 fe_flags;
1: - __u32 fe_reserved[3];
1: + __u64 fe_logical;
1: + __u64 fe_physical;
1: + __u64 fe_length;
1: + __u64 fe_reserved64[2];
1: + __u32 fe_flags;
1: + __u32 fe_reserved[3];
1: };
1:
1: enum migrate_mode {
1: - MIGRATE_ASYNC = 0,
1: - MIGRATE_SYNC_LIGHT = 1,
1: - MIGRATE_SYNC = 2,
1: - MIGRATE_SYNC_NO_COPY = 3,
1: + MIGRATE_ASYNC = 0,
1: + MIGRATE_SYNC_LIGHT = 1,
1: + MIGRATE_SYNC = 2,
1: + MIGRATE_SYNC_NO_COPY = 3,
1: };
1:
1: struct delayed_call {
1: - void (*fn)(void *);
1: - void *arg;
1: + void (*fn)(void *);
1: + void *arg;
1: };
1:
1: -typedef struct {
1: - __u8 b[16];
1: -} guid_t;
1: +typedef struct { __u8 b[16]; } guid_t;
1:
1: struct request_queue;
1:
1: struct io_cq {
1: - struct request_queue *q;
1: - struct io_context *ioc;
1: - union {
1: - struct list_head q_node;
1: - struct kmem_cache *__rcu_icq_cache;
1: - };
1: - union {
1: - struct hlist_node ioc_node;
1: - struct callback_head __rcu_head;
1: - };
1: - unsigned int flags;
1: + struct request_queue *q;
1: + struct io_context *ioc;
1: + union {
1: + struct list_head q_node;
1: + struct kmem_cache *__rcu_icq_cache;
1: + };
1: + union {
1: + struct hlist_node ioc_node;
1: + struct callback_head __rcu_head;
1: + };
1: + unsigned int flags;
1: };
1:
1: struct kiocb {
1: - struct file *ki_filp;
1: - loff_t ki_pos;
1: - void (*ki_complete)(struct kiocb *, long int, long int);
1: - void *private;
1: - int ki_flags;
1: - u16 ki_hint;
1: - u16 ki_ioprio;
1: - unsigned int ki_cookie;
1: + struct file *ki_filp;
1: + loff_t ki_pos;
1: + void (*ki_complete)(struct kiocb *, long int, long int);
1: + void *private;
1: + int ki_flags;
1: + u16 ki_hint;
1: + u16 ki_ioprio;
1: + unsigned int ki_cookie;
1: };
1:
1: struct iattr {
1: - unsigned int ia_valid;
1: - umode_t ia_mode;
1: - kuid_t ia_uid;
1: - kgid_t ia_gid;
1: - loff_t ia_size;
1: - struct timespec64 ia_atime;
1: - struct timespec64 ia_mtime;
1: - struct timespec64 ia_ctime;
1: - struct file *ia_file;
1: + unsigned int ia_valid;
1: + umode_t ia_mode;
1: + kuid_t ia_uid;
1: + kgid_t ia_gid;
1: + loff_t ia_size;
1: + struct timespec64 ia_atime;
1: + struct timespec64 ia_mtime;
1: + struct timespec64 ia_ctime;
1: + struct file *ia_file;
1: };
1:
1: struct percpu_counter {
1: - raw_spinlock_t lock;
1: - s64 count;
1: - struct list_head list;
1: - s32 *counters;
1: + raw_spinlock_t lock;
1: + s64 count;
1: + struct list_head list;
1: + s32 *counters;
1: };
1:
1: typedef __kernel_uid32_t projid_t;
1:
1: -typedef struct {
1: - projid_t val;
1: -} kprojid_t;
1: +typedef struct { projid_t val; } kprojid_t;
1:
1: enum quota_type {
1: - USRQUOTA = 0,
1: - GRPQUOTA = 1,
1: - PRJQUOTA = 2,
1: + USRQUOTA = 0,
1: + GRPQUOTA = 1,
1: + PRJQUOTA = 2,
1: };
1:
1: struct kqid {
1: - union {
1: - kuid_t uid;
1: - kgid_t gid;
1: - kprojid_t projid;
1: - };
1: - enum quota_type type;
1: + union {
1: + kuid_t uid;
1: + kgid_t gid;
1: + kprojid_t projid;
1: + };
1: + enum quota_type type;
1: };
1:
1: struct mem_dqblk {
1: - qsize_t dqb_bhardlimit;
1: - qsize_t dqb_bsoftlimit;
1: - qsize_t dqb_curspace;
1: - qsize_t dqb_rsvspace;
1: - qsize_t dqb_ihardlimit;
1: - qsize_t dqb_isoftlimit;
1: - qsize_t dqb_curinodes;
1: - time64_t dqb_btime;
1: - time64_t dqb_itime;
1: + qsize_t dqb_bhardlimit;
1: + qsize_t dqb_bsoftlimit;
1: + qsize_t dqb_curspace;
1: + qsize_t dqb_rsvspace;
1: + qsize_t dqb_ihardlimit;
1: + qsize_t dqb_isoftlimit;
1: + qsize_t dqb_curinodes;
1: + time64_t dqb_btime;
1: + time64_t dqb_itime;
1: };
1:
1: struct dquot {
1: - struct hlist_node dq_hash;
1: - struct list_head dq_inuse;
1: - struct list_head dq_free;
1: - struct list_head dq_dirty;
1: - struct mutex dq_lock;
1: - spinlock_t dq_dqb_lock;
1: - atomic_t dq_count;
1: - struct super_block *dq_sb;
1: - struct kqid dq_id;
1: - loff_t dq_off;
1: - long unsigned int dq_flags;
1: - struct mem_dqblk dq_dqb;
1: + struct hlist_node dq_hash;
1: + struct list_head dq_inuse;
1: + struct list_head dq_free;
1: + struct list_head dq_dirty;
1: + struct mutex dq_lock;
1: + spinlock_t dq_dqb_lock;
1: + atomic_t dq_count;
1: + struct super_block *dq_sb;
1: + struct kqid dq_id;
1: + loff_t dq_off;
1: + long unsigned int dq_flags;
1: + struct mem_dqblk dq_dqb;
1: };
1:
1: struct module;
1:
1: struct quota_format_type {
1: - int qf_fmt_id;
1: - const struct quota_format_ops *qf_ops;
1: - struct module *qf_owner;
1: - struct quota_format_type *qf_next;
1: + int qf_fmt_id;
1: + const struct quota_format_ops *qf_ops;
1: + struct module *qf_owner;
1: + struct quota_format_type *qf_next;
1: };
1:
1: struct dqstats {
1: - long unsigned int stat[8];
1: - struct percpu_counter counter[8];
1: + long unsigned int stat[8];
1: + struct percpu_counter counter[8];
1: };
1:
1: struct quota_format_ops {
1: - int (*check_quota_file)(struct super_block *, int);
1: - int (*read_file_info)(struct super_block *, int);
1: - int (*write_file_info)(struct super_block *, int);
1: - int (*free_file_info)(struct super_block *, int);
1: - int (*read_dqblk)(struct dquot *);
1: - int (*commit_dqblk)(struct dquot *);
1: - int (*release_dqblk)(struct dquot *);
1: - int (*get_next_id)(struct super_block *, struct kqid *);
1: + int (*check_quota_file)(struct super_block *, int);
1: + int (*read_file_info)(struct super_block *, int);
1: + int (*write_file_info)(struct super_block *, int);
1: + int (*free_file_info)(struct super_block *, int);
1: + int (*read_dqblk)(struct dquot *);
1: + int (*commit_dqblk)(struct dquot *);
1: + int (*release_dqblk)(struct dquot *);
1: + int (*get_next_id)(struct super_block *, struct kqid *);
1: };
1:
1: struct dquot_operations {
1: - int (*write_dquot)(struct dquot *);
1: - struct dquot * (*alloc_dquot)(struct super_block *, int);
1: - void (*destroy_dquot)(struct dquot *);
1: - int (*acquire_dquot)(struct dquot *);
1: - int (*release_dquot)(struct dquot *);
1: - int (*mark_dirty)(struct dquot *);
1: - int (*write_info)(struct super_block *, int);
1: - qsize_t * (*get_reserved_space)(struct inode *);
1: - int (*get_projid)(struct inode *, kprojid_t *);
1: - int (*get_inode_usage)(struct inode *, qsize_t *);
1: - int (*get_next_id)(struct super_block *, struct kqid *);
1: + int (*write_dquot)(struct dquot *);
1: + struct dquot *(*alloc_dquot)(struct super_block *, int);
1: + void (*destroy_dquot)(struct dquot *);
1: + int (*acquire_dquot)(struct dquot *);
1: + int (*release_dquot)(struct dquot *);
1: + int (*mark_dirty)(struct dquot *);
1: + int (*write_info)(struct super_block *, int);
1: + qsize_t *(*get_reserved_space)(struct inode *);
1: + int (*get_projid)(struct inode *, kprojid_t *);
1: + int (*get_inode_usage)(struct inode *, qsize_t *);
1: + int (*get_next_id)(struct super_block *, struct kqid *);
1: };
1:
1: struct qc_dqblk {
1: - int d_fieldmask;
1: - u64 d_spc_hardlimit;
1: - u64 d_spc_softlimit;
1: - u64 d_ino_hardlimit;
1: - u64 d_ino_softlimit;
1: - u64 d_space;
1: - u64 d_ino_count;
1: - s64 d_ino_timer;
1: - s64 d_spc_timer;
1: - int d_ino_warns;
1: - int d_spc_warns;
1: - u64 d_rt_spc_hardlimit;
1: - u64 d_rt_spc_softlimit;
1: - u64 d_rt_space;
1: - s64 d_rt_spc_timer;
1: - int d_rt_spc_warns;
1: + int d_fieldmask;
1: + u64 d_spc_hardlimit;
1: + u64 d_spc_softlimit;
1: + u64 d_ino_hardlimit;
1: + u64 d_ino_softlimit;
1: + u64 d_space;
1: + u64 d_ino_count;
1: + s64 d_ino_timer;
1: + s64 d_spc_timer;
1: + int d_ino_warns;
1: + int d_spc_warns;
1: + u64 d_rt_spc_hardlimit;
1: + u64 d_rt_spc_softlimit;
1: + u64 d_rt_space;
1: + s64 d_rt_spc_timer;
1: + int d_rt_spc_warns;
1: };
1:
1: struct qc_type_state {
1: - unsigned int flags;
1: - unsigned int spc_timelimit;
1: - unsigned int ino_timelimit;
1: - unsigned int rt_spc_timelimit;
1: - unsigned int spc_warnlimit;
1: - unsigned int ino_warnlimit;
1: - unsigned int rt_spc_warnlimit;
1: - long long unsigned int ino;
1: - blkcnt_t blocks;
1: - blkcnt_t nextents;
1: + unsigned int flags;
1: + unsigned int spc_timelimit;
1: + unsigned int ino_timelimit;
1: + unsigned int rt_spc_timelimit;
1: + unsigned int spc_warnlimit;
1: + unsigned int ino_warnlimit;
1: + unsigned int rt_spc_warnlimit;
1: + long long unsigned int ino;
1: + blkcnt_t blocks;
1: + blkcnt_t nextents;
1: };
1:
1: struct qc_state {
1: - unsigned int s_incoredqs;
1: - struct qc_type_state s_state[3];
1: + unsigned int s_incoredqs;
1: + struct qc_type_state s_state[3];
1: };
1:
1: struct qc_info {
1: - int i_fieldmask;
1: - unsigned int i_flags;
1: - unsigned int i_spc_timelimit;
1: - unsigned int i_ino_timelimit;
1: - unsigned int i_rt_spc_timelimit;
1: - unsigned int i_spc_warnlimit;
1: - unsigned int i_ino_warnlimit;
1: - unsigned int i_rt_spc_warnlimit;
1: + int i_fieldmask;
1: + unsigned int i_flags;
1: + unsigned int i_spc_timelimit;
1: + unsigned int i_ino_timelimit;
1: + unsigned int i_rt_spc_timelimit;
1: + unsigned int i_spc_warnlimit;
1: + unsigned int i_ino_warnlimit;
1: + unsigned int i_rt_spc_warnlimit;
1: };
1:
1: struct quotactl_ops {
1: - int (*quota_on)(struct super_block *, int, int, const struct path *);
1: - int (*quota_off)(struct super_block *, int);
1: - int (*quota_enable)(struct super_block *, unsigned int);
1: - int (*quota_disable)(struct super_block *, unsigned int);
1: - int (*quota_sync)(struct super_block *, int);
1: - int (*set_info)(struct super_block *, int, struct qc_info *);
1: - int (*get_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *);
1: - int (*get_nextdqblk)(struct super_block *, struct kqid *, struct qc_dqblk *);
1: - int (*set_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *);
1: - int (*get_state)(struct super_block *, struct qc_state *);
1: - int (*rm_xquota)(struct super_block *, unsigned int);
1: + int (*quota_on)(struct super_block *, int, int, const struct path *);
1: + int (*quota_off)(struct super_block *, int);
1: + int (*quota_enable)(struct super_block *, unsigned int);
1: + int (*quota_disable)(struct super_block *, unsigned int);
1: + int (*quota_sync)(struct super_block *, int);
1: + int (*set_info)(struct super_block *, int, struct qc_info *);
1: + int (*get_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *);
1: + int (*get_nextdqblk)(struct super_block *, struct kqid *, struct qc_dqblk *);
1: + int (*set_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *);
1: + int (*get_state)(struct super_block *, struct qc_state *);
1: + int (*rm_xquota)(struct super_block *, unsigned int);
1: };
1:
1: struct writeback_control;
1: @@ -3702,27 +3675,32 @@ struct iov_iter;
1: struct swap_info_struct;
1:
1: struct address_space_operations {
1: - int (*writepage)(struct page *, struct writeback_control *);
1: - int (*readpage)(struct file *, struct page *);
1: - int (*writepages)(struct address_space *, struct writeback_control *);
1: - int (*set_page_dirty)(struct page *);
1: - int (*readpages)(struct file *, struct address_space *, struct list_head *, unsigned int);
1: - int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page **, void **);
1: - int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *);
1: - sector_t (*bmap)(struct address_space *, sector_t);
1: - void (*invalidatepage)(struct page *, unsigned int, unsigned int);
1: - int (*releasepage)(struct page *, gfp_t);
1: - void (*freepage)(struct page *);
1: - ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *);
1: - int (*migratepage)(struct address_space *, struct page *, struct page *, enum migrate_mode);
1: - bool (*isolate_page)(struct page *, isolate_mode_t);
1: - void (*putback_page)(struct page *);
1: - int (*launder_page)(struct page *);
1: - int (*is_partially_uptodate)(struct page *, long unsigned int, long unsigned int);
1: - void (*is_dirty_writeback)(struct page *, bool *, bool *);
1: - int (*error_remove_page)(struct address_space *, struct page *);
1: - int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *);
1: - void (*swap_deactivate)(struct file *);
1: + int (*writepage)(struct page *, struct writeback_control *);
1: + int (*readpage)(struct file *, struct page *);
1: + int (*writepages)(struct address_space *, struct writeback_control *);
1: + int (*set_page_dirty)(struct page *);
1: + int (*readpages)(struct file *, struct address_space *, struct list_head *,
1: + unsigned int);
1: + int (*write_begin)(struct file *, struct address_space *, loff_t,
1: + unsigned int, unsigned int, struct page **, void **);
1: + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int,
1: + unsigned int, struct page *, void *);
1: + sector_t (*bmap)(struct address_space *, sector_t);
1: + void (*invalidatepage)(struct page *, unsigned int, unsigned int);
1: + int (*releasepage)(struct page *, gfp_t);
1: + void (*freepage)(struct page *);
1: + ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *);
1: + int (*migratepage)(struct address_space *, struct page *, struct page *,
1: + enum migrate_mode);
1: + bool (*isolate_page)(struct page *, isolate_mode_t);
1: + void (*putback_page)(struct page *);
1: + int (*launder_page)(struct page *);
1: + int (*is_partially_uptodate)(struct page *, long unsigned int,
1: + long unsigned int);
1: + void (*is_dirty_writeback)(struct page *, bool *, bool *);
1: + int (*error_remove_page)(struct address_space *, struct page *);
1: + int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *);
1: + void (*swap_deactivate)(struct file *);
1: };
1:
1: struct hd_struct;
1: @@ -3730,29 +3708,29 @@ struct hd_struct;
1: struct gendisk;
1:
1: struct block_device {
1: - dev_t bd_dev;
1: - int bd_openers;
1: - struct inode *bd_inode;
1: - struct super_block *bd_super;
1: - struct mutex bd_mutex;
1: - void *bd_claiming;
1: - void *bd_holder;
1: - int bd_holders;
1: - bool bd_write_holder;
1: - struct list_head bd_holder_disks;
1: - struct block_device *bd_contains;
1: - unsigned int bd_block_size;
1: - u8 bd_partno;
1: - struct hd_struct *bd_part;
1: - unsigned int bd_part_count;
1: - int bd_invalidated;
1: - struct gendisk *bd_disk;
1: - struct request_queue *bd_queue;
1: - struct backing_dev_info *bd_bdi;
1: - struct list_head bd_list;
1: - long unsigned int bd_private;
1: - int bd_fsfreeze_count;
1: - struct mutex bd_fsfreeze_mutex;
1: + dev_t bd_dev;
1: + int bd_openers;
1: + struct inode *bd_inode;
1: + struct super_block *bd_super;
1: + struct mutex bd_mutex;
1: + void *bd_claiming;
1: + void *bd_holder;
1: + int bd_holders;
1: + bool bd_write_holder;
1: + struct list_head bd_holder_disks;
1: + struct block_device *bd_contains;
1: + unsigned int bd_block_size;
1: + u8 bd_partno;
1: + struct hd_struct *bd_part;
1: + unsigned int bd_part_count;
1: + int bd_invalidated;
1: + struct gendisk *bd_disk;
1: + struct request_queue *bd_queue;
1: + struct backing_dev_info *bd_bdi;
1: + struct list_head bd_list;
1: + long unsigned int bd_private;
1: + int bd_fsfreeze_count;
1: + struct mutex bd_fsfreeze_mutex;
1: };
1:
1: typedef void *fl_owner_t;
1: @@ -3766,93 +3744,102 @@ struct file_lock;
1: struct seq_file;
1:
1: struct file_operations {
1: - struct module *owner;
1: - loff_t (*llseek)(struct file *, loff_t, int);
1: - ssize_t (*read)(struct file *, char *, size_t, loff_t *);
1: - ssize_t (*write)(struct file *, const char *, size_t, loff_t *);
1: - ssize_t (*read_iter)(struct kiocb *, struct iov_iter *);
1: - ssize_t (*write_iter)(struct kiocb *, struct iov_iter *);
1: - int (*iopoll)(struct kiocb *, bool);
1: - int (*iterate)(struct file *, struct dir_context *);
1: - int (*iterate_shared)(struct file *, struct dir_context *);
1: - __poll_t (*poll)(struct file *, struct poll_table_struct *);
1: - long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int);
1: - long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int);
1: - int (*mmap)(struct file *, struct vm_area_struct *);
1: - long unsigned int mmap_supported_flags;
1: - int (*open)(struct inode *, struct file *);
1: - int (*flush)(struct file *, fl_owner_t);
1: - int (*release)(struct inode *, struct file *);
1: - int (*fsync)(struct file *, loff_t, loff_t, int);
1: - int (*fasync)(int, struct file *, int);
1: - int (*lock)(struct file *, int, struct file_lock *);
1: - ssize_t (*sendpage)(struct file *, struct page *, int, size_t, loff_t *, int);
1: - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: - int (*check_flags)(int);
1: - int (*flock)(struct file *, int, struct file_lock *);
1: - ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
1: - ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1: - int (*setlease)(struct file *, long int, struct file_lock **, void **);
1: - long int (*fallocate)(struct file *, int, loff_t, loff_t);
1: - void (*show_fdinfo)(struct seq_file *, struct file *);
1: - ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int);
1: - loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int);
1: - int (*fadvise)(struct file *, loff_t, loff_t, int);
1: + struct module *owner;
1: + loff_t (*llseek)(struct file *, loff_t, int);
1: + ssize_t (*read)(struct file *, char *, size_t, loff_t *);
1: + ssize_t (*write)(struct file *, const char *, size_t, loff_t *);
1: + ssize_t (*read_iter)(struct kiocb *, struct iov_iter *);
1: + ssize_t (*write_iter)(struct kiocb *, struct iov_iter *);
1: + int (*iopoll)(struct kiocb *, bool);
1: + int (*iterate)(struct file *, struct dir_context *);
1: + int (*iterate_shared)(struct file *, struct dir_context *);
1: + __poll_t (*poll)(struct file *, struct poll_table_struct *);
1: + long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int);
1: + long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int);
1: + int (*mmap)(struct file *, struct vm_area_struct *);
1: + long unsigned int mmap_supported_flags;
1: + int (*open)(struct inode *, struct file *);
1: + int (*flush)(struct file *, fl_owner_t);
1: + int (*release)(struct inode *, struct file *);
1: + int (*fsync)(struct file *, loff_t, loff_t, int);
1: + int (*fasync)(int, struct file *, int);
1: + int (*lock)(struct file *, int, struct file_lock *);
1: + ssize_t (*sendpage)(struct file *, struct page *, int, size_t, loff_t *, int);
1: + long unsigned int (*get_unmapped_area)(struct file *, long unsigned int,
1: + long unsigned int, long unsigned int,
1: + long unsigned int);
1: + int (*check_flags)(int);
1: + int (*flock)(struct file *, int, struct file_lock *);
1: + ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *,
1: + size_t, unsigned int);
1: + ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *,
1: + size_t, unsigned int);
1: + int (*setlease)(struct file *, long int, struct file_lock **, void **);
1: + long int (*fallocate)(struct file *, int, loff_t, loff_t);
1: + void (*show_fdinfo)(struct seq_file *, struct file *);
1: + ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t,
1: + size_t, unsigned int);
1: + loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t,
1: + loff_t, unsigned int);
1: + int (*fadvise)(struct file *, loff_t, loff_t, int);
1: };
1:
1: struct fiemap_extent_info;
1:
1: struct inode_operations {
1: - struct dentry * (*lookup)(struct inode *, struct dentry *, unsigned int);
1: - const char * (*get_link)(struct dentry *, struct inode *, struct delayed_call *);
1: - int (*permission)(struct inode *, int);
1: - struct posix_acl * (*get_acl)(struct inode *, int);
1: - int (*readlink)(struct dentry *, char *, int);
1: - int (*create)(struct inode *, struct dentry *, umode_t, bool);
1: - int (*link)(struct dentry *, struct inode *, struct dentry *);
1: - int (*unlink)(struct inode *, struct dentry *);
1: - int (*symlink)(struct inode *, struct dentry *, const char *);
1: - int (*mkdir)(struct inode *, struct dentry *, umode_t);
1: - int (*rmdir)(struct inode *, struct dentry *);
1: - int (*mknod)(struct inode *, struct dentry *, umode_t, dev_t);
1: - int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int);
1: - int (*setattr)(struct dentry *, struct iattr *);
1: - int (*getattr)(const struct path *, struct kstat *, u32, unsigned int);
1: - ssize_t (*listxattr)(struct dentry *, char *, size_t);
1: - int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64, u64);
1: - int (*update_time)(struct inode *, struct timespec64 *, int);
1: - int (*atomic_open)(struct inode *, struct dentry *, struct file *, unsigned int, umode_t);
1: - int (*tmpfile)(struct inode *, struct dentry *, umode_t);
1: - int (*set_acl)(struct inode *, struct posix_acl *, int);
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct dentry *(*lookup)(struct inode *, struct dentry *, unsigned int);
1: + const char *(*get_link)(struct dentry *, struct inode *,
1: + struct delayed_call *);
1: + int (*permission)(struct inode *, int);
1: + struct posix_acl *(*get_acl)(struct inode *, int);
1: + int (*readlink)(struct dentry *, char *, int);
1: + int (*create)(struct inode *, struct dentry *, umode_t, bool);
1: + int (*link)(struct dentry *, struct inode *, struct dentry *);
1: + int (*unlink)(struct inode *, struct dentry *);
1: + int (*symlink)(struct inode *, struct dentry *, const char *);
1: + int (*mkdir)(struct inode *, struct dentry *, umode_t);
1: + int (*rmdir)(struct inode *, struct dentry *);
1: + int (*mknod)(struct inode *, struct dentry *, umode_t, dev_t);
1: + int (*rename)(struct inode *, struct dentry *, struct inode *,
1: + struct dentry *, unsigned int);
1: + int (*setattr)(struct dentry *, struct iattr *);
1: + int (*getattr)(const struct path *, struct kstat *, u32, unsigned int);
1: + ssize_t (*listxattr)(struct dentry *, char *, size_t);
1: + int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64, u64);
1: + int (*update_time)(struct inode *, struct timespec64 *, int);
1: + int (*atomic_open)(struct inode *, struct dentry *, struct file *,
1: + unsigned int, umode_t);
1: + int (*tmpfile)(struct inode *, struct dentry *, umode_t);
1: + int (*set_acl)(struct inode *, struct posix_acl *, int);
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct file_lock_context {
1: - spinlock_t flc_lock;
1: - struct list_head flc_flock;
1: - struct list_head flc_posix;
1: - struct list_head flc_lease;
1: + spinlock_t flc_lock;
1: + struct list_head flc_flock;
1: + struct list_head flc_posix;
1: + struct list_head flc_lease;
1: };
1:
1: struct file_lock_operations {
1: - void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
1: - void (*fl_release_private)(struct file_lock *);
1: + void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
1: + void (*fl_release_private)(struct file_lock *);
1: };
1:
1: struct nlm_lockowner;
1:
1: struct nfs_lock_info {
1: - u32 state;
1: - struct nlm_lockowner *owner;
1: - struct list_head list;
1: + u32 state;
1: + struct nlm_lockowner *owner;
1: + struct list_head list;
1: };
1:
1: struct nfs4_lock_state;
1:
1: struct nfs4_lock_info {
1: - struct nfs4_lock_state *owner;
1: + struct nfs4_lock_state *owner;
1: };
1:
1: struct fasync_struct;
1: @@ -3860,53 +3847,53 @@ struct fasync_struct;
1: struct lock_manager_operations;
1:
1: struct file_lock {
1: - struct file_lock *fl_blocker;
1: - struct list_head fl_list;
1: - struct hlist_node fl_link;
1: - struct list_head fl_blocked_requests;
1: - struct list_head fl_blocked_member;
1: - fl_owner_t fl_owner;
1: - unsigned int fl_flags;
1: - unsigned char fl_type;
1: - unsigned int fl_pid;
1: - int fl_link_cpu;
1: - wait_queue_head_t fl_wait;
1: - struct file *fl_file;
1: - loff_t fl_start;
1: - loff_t fl_end;
1: - struct fasync_struct *fl_fasync;
1: - long unsigned int fl_break_time;
1: - long unsigned int fl_downgrade_time;
1: - const struct file_lock_operations *fl_ops;
1: - const struct lock_manager_operations *fl_lmops;
1: - union {
1: - struct nfs_lock_info nfs_fl;
1: - struct nfs4_lock_info nfs4_fl;
1: - struct {
1: - struct list_head link;
1: - int state;
1: - unsigned int debug_id;
1: - } afs;
1: - } fl_u;
1: + struct file_lock *fl_blocker;
1: + struct list_head fl_list;
1: + struct hlist_node fl_link;
1: + struct list_head fl_blocked_requests;
1: + struct list_head fl_blocked_member;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + unsigned int fl_pid;
1: + int fl_link_cpu;
1: + wait_queue_head_t fl_wait;
1: + struct file *fl_file;
1: + loff_t fl_start;
1: + loff_t fl_end;
1: + struct fasync_struct *fl_fasync;
1: + long unsigned int fl_break_time;
1: + long unsigned int fl_downgrade_time;
1: + const struct file_lock_operations *fl_ops;
1: + const struct lock_manager_operations *fl_lmops;
1: + union {
1: + struct nfs_lock_info nfs_fl;
1: + struct nfs4_lock_info nfs4_fl;
1: + struct {
1: + struct list_head link;
1: + int state;
1: + unsigned int debug_id;
1: + } afs;
1: + } fl_u;
1: };
1:
1: struct lock_manager_operations {
1: - fl_owner_t (*lm_get_owner)(fl_owner_t);
1: - void (*lm_put_owner)(fl_owner_t);
1: - void (*lm_notify)(struct file_lock *);
1: - int (*lm_grant)(struct file_lock *, int);
1: - bool (*lm_break)(struct file_lock *);
1: - int (*lm_change)(struct file_lock *, int, struct list_head *);
1: - void (*lm_setup)(struct file_lock *, void **);
1: + fl_owner_t (*lm_get_owner)(fl_owner_t);
1: + void (*lm_put_owner)(fl_owner_t);
1: + void (*lm_notify)(struct file_lock *);
1: + int (*lm_grant)(struct file_lock *, int);
1: + bool (*lm_break)(struct file_lock *);
1: + int (*lm_change)(struct file_lock *, int, struct list_head *);
1: + void (*lm_setup)(struct file_lock *, void **);
1: };
1:
1: struct fasync_struct {
1: - rwlock_t fa_lock;
1: - int magic;
1: - int fa_fd;
1: - struct fasync_struct *fa_next;
1: - struct file *fa_file;
1: - struct callback_head fa_rcu;
1: + rwlock_t fa_lock;
1: + int magic;
1: + int fa_fd;
1: + struct fasync_struct *fa_next;
1: + struct file *fa_file;
1: + struct callback_head fa_rcu;
1: };
1:
1: struct fs_context;
1: @@ -3914,53 +3901,55 @@ struct fs_context;
1: struct fs_parameter_description;
1:
1: struct file_system_type {
1: - const char *name;
1: - int fs_flags;
1: - int (*init_fs_context)(struct fs_context *);
1: - const struct fs_parameter_description *parameters;
1: - struct dentry * (*mount)(struct file_system_type *, int, const char *, void *);
1: - void (*kill_sb)(struct super_block *);
1: - struct module *owner;
1: - struct file_system_type *next;
1: - struct hlist_head fs_supers;
1: - struct lock_class_key s_lock_key;
1: - struct lock_class_key s_umount_key;
1: - struct lock_class_key s_vfs_rename_key;
1: - struct lock_class_key s_writers_key[3];
1: - struct lock_class_key i_lock_key;
1: - struct lock_class_key i_mutex_key;
1: - struct lock_class_key i_mutex_dir_key;
1: + const char *name;
1: + int fs_flags;
1: + int (*init_fs_context)(struct fs_context *);
1: + const struct fs_parameter_description *parameters;
1: + struct dentry *(*mount)(struct file_system_type *, int, const char *, void *);
1: + void (*kill_sb)(struct super_block *);
1: + struct module *owner;
1: + struct file_system_type *next;
1: + struct hlist_head fs_supers;
1: + struct lock_class_key s_lock_key;
1: + struct lock_class_key s_umount_key;
1: + struct lock_class_key s_vfs_rename_key;
1: + struct lock_class_key s_writers_key[3];
1: + struct lock_class_key i_lock_key;
1: + struct lock_class_key i_mutex_key;
1: + struct lock_class_key i_mutex_dir_key;
1: };
1:
1: struct kstatfs;
1:
1: struct super_operations {
1: - struct inode * (*alloc_inode)(struct super_block *);
1: - void (*destroy_inode)(struct inode *);
1: - void (*free_inode)(struct inode *);
1: - void (*dirty_inode)(struct inode *, int);
1: - int (*write_inode)(struct inode *, struct writeback_control *);
1: - int (*drop_inode)(struct inode *);
1: - void (*evict_inode)(struct inode *);
1: - void (*put_super)(struct super_block *);
1: - int (*sync_fs)(struct super_block *, int);
1: - int (*freeze_super)(struct super_block *);
1: - int (*freeze_fs)(struct super_block *);
1: - int (*thaw_super)(struct super_block *);
1: - int (*unfreeze_fs)(struct super_block *);
1: - int (*statfs)(struct dentry *, struct kstatfs *);
1: - int (*remount_fs)(struct super_block *, int *, char *);
1: - void (*umount_begin)(struct super_block *);
1: - int (*show_options)(struct seq_file *, struct dentry *);
1: - int (*show_devname)(struct seq_file *, struct dentry *);
1: - int (*show_path)(struct seq_file *, struct dentry *);
1: - int (*show_stats)(struct seq_file *, struct dentry *);
1: - ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
1: - ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
1: - struct dquot ** (*get_dquots)(struct inode *);
1: - int (*bdev_try_to_free_page)(struct super_block *, struct page *, gfp_t);
1: - long int (*nr_cached_objects)(struct super_block *, struct shrink_control *);
1: - long int (*free_cached_objects)(struct super_block *, struct shrink_control *);
1: + struct inode *(*alloc_inode)(struct super_block *);
1: + void (*destroy_inode)(struct inode *);
1: + void (*free_inode)(struct inode *);
1: + void (*dirty_inode)(struct inode *, int);
1: + int (*write_inode)(struct inode *, struct writeback_control *);
1: + int (*drop_inode)(struct inode *);
1: + void (*evict_inode)(struct inode *);
1: + void (*put_super)(struct super_block *);
1: + int (*sync_fs)(struct super_block *, int);
1: + int (*freeze_super)(struct super_block *);
1: + int (*freeze_fs)(struct super_block *);
1: + int (*thaw_super)(struct super_block *);
1: + int (*unfreeze_fs)(struct super_block *);
1: + int (*statfs)(struct dentry *, struct kstatfs *);
1: + int (*remount_fs)(struct super_block *, int *, char *);
1: + void (*umount_begin)(struct super_block *);
1: + int (*show_options)(struct seq_file *, struct dentry *);
1: + int (*show_devname)(struct seq_file *, struct dentry *);
1: + int (*show_path)(struct seq_file *, struct dentry *);
1: + int (*show_stats)(struct seq_file *, struct dentry *);
1: + ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
1: + ssize_t (*quota_write)(struct super_block *, int, const char *, size_t,
1: + loff_t);
1: + struct dquot **(*get_dquots)(struct inode *);
1: + int (*bdev_try_to_free_page)(struct super_block *, struct page *, gfp_t);
1: + long int (*nr_cached_objects)(struct super_block *, struct shrink_control *);
1: + long int (*free_cached_objects)(struct super_block *,
1: + struct shrink_control *);
1: };
1:
1: struct iomap;
1: @@ -3974,38 +3963,44 @@ struct super_block___2;
1: struct fid;
1:
1: struct export_operations {
1: - int (*encode_fh)(struct inode___2 *, __u32 *, int *, struct inode___2 *);
1: - struct dentry___2 * (*fh_to_dentry)(struct super_block___2 *, struct fid *, int, int);
1: - struct dentry___2 * (*fh_to_parent)(struct super_block___2 *, struct fid *, int, int);
1: - int (*get_name)(struct dentry___2 *, char *, struct dentry___2 *);
1: - struct dentry___2 * (*get_parent)(struct dentry___2 *);
1: - int (*commit_metadata)(struct inode___2 *);
1: - int (*get_uuid)(struct super_block___2 *, u8 *, u32 *, u64 *);
1: - int (*map_blocks)(struct inode___2 *, loff_t, u64, struct iomap *, bool, u32 *);
1: - int (*commit_blocks)(struct inode___2 *, struct iomap *, int, struct iattr *);
1: + int (*encode_fh)(struct inode___2 *, __u32 *, int *, struct inode___2 *);
1: + struct dentry___2 *(*fh_to_dentry)(struct super_block___2 *, struct fid *,
1: + int, int);
1: + struct dentry___2 *(*fh_to_parent)(struct super_block___2 *, struct fid *,
1: + int, int);
1: + int (*get_name)(struct dentry___2 *, char *, struct dentry___2 *);
1: + struct dentry___2 *(*get_parent)(struct dentry___2 *);
1: + int (*commit_metadata)(struct inode___2 *);
1: + int (*get_uuid)(struct super_block___2 *, u8 *, u32 *, u64 *);
1: + int (*map_blocks)(struct inode___2 *, loff_t, u64, struct iomap *, bool,
1: + u32 *);
1: + int (*commit_blocks)(struct inode___2 *, struct iomap *, int, struct iattr *);
1: };
1:
1: struct xattr_handler {
1: - const char *name;
1: - const char *prefix;
1: - int flags;
1: - bool (*list)(struct dentry *);
1: - int (*get)(const struct xattr_handler *, struct dentry *, struct inode *, const char *, void *, size_t);
1: - int (*set)(const struct xattr_handler *, struct dentry *, struct inode *, const char *, const void *, size_t, int);
1: + const char *name;
1: + const char *prefix;
1: + int flags;
1: + bool (*list)(struct dentry *);
1: + int (*get)(const struct xattr_handler *, struct dentry *, struct inode *,
1: + const char *, void *, size_t);
1: + int (*set)(const struct xattr_handler *, struct dentry *, struct inode *,
1: + const char *, const void *, size_t, int);
1: };
1:
1: struct fiemap_extent_info {
1: - unsigned int fi_flags;
1: - unsigned int fi_extents_mapped;
1: - unsigned int fi_extents_max;
1: - struct fiemap_extent *fi_extents_start;
1: + unsigned int fi_flags;
1: + unsigned int fi_extents_mapped;
1: + unsigned int fi_extents_max;
1: + struct fiemap_extent *fi_extents_start;
1: };
1:
1: -typedef int (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int);
1: +typedef int (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64,
1: + unsigned int);
1:
1: struct dir_context {
1: - filldir_t actor;
1: - loff_t pos;
1: + filldir_t actor;
1: + loff_t pos;
1: };
1:
1: struct fs_parameter_spec;
1: @@ -4013,635 +4008,635 @@ struct fs_parameter_spec;
1: struct fs_parameter_enum;
1:
1: struct fs_parameter_description {
1: - char name[16];
1: - const struct fs_parameter_spec *specs;
1: - const struct fs_parameter_enum *enums;
1: + char name[16];
1: + const struct fs_parameter_spec *specs;
1: + const struct fs_parameter_enum *enums;
1: };
1:
1: typedef void compound_page_dtor(struct page *);
1:
1: enum vm_event_item {
1: - PGPGIN = 0,
1: - PGPGOUT = 1,
1: - PSWPIN = 2,
1: - PSWPOUT = 3,
1: - PGALLOC_DMA = 4,
1: - PGALLOC_DMA32 = 5,
1: - PGALLOC_NORMAL = 6,
1: - PGALLOC_MOVABLE = 7,
1: - ALLOCSTALL_DMA = 8,
1: - ALLOCSTALL_DMA32 = 9,
1: - ALLOCSTALL_NORMAL = 10,
1: - ALLOCSTALL_MOVABLE = 11,
1: - PGSCAN_SKIP_DMA = 12,
1: - PGSCAN_SKIP_DMA32 = 13,
1: - PGSCAN_SKIP_NORMAL = 14,
1: - PGSCAN_SKIP_MOVABLE = 15,
1: - PGFREE = 16,
1: - PGACTIVATE = 17,
1: - PGDEACTIVATE = 18,
1: - PGLAZYFREE = 19,
1: - PGFAULT = 20,
1: - PGMAJFAULT = 21,
1: - PGLAZYFREED = 22,
1: - PGREFILL = 23,
1: - PGSTEAL_KSWAPD = 24,
1: - PGSTEAL_DIRECT = 25,
1: - PGSCAN_KSWAPD = 26,
1: - PGSCAN_DIRECT = 27,
1: - PGSCAN_DIRECT_THROTTLE = 28,
1: - PGSCAN_ZONE_RECLAIM_FAILED = 29,
1: - PGINODESTEAL = 30,
1: - SLABS_SCANNED = 31,
1: - KSWAPD_INODESTEAL = 32,
1: - KSWAPD_LOW_WMARK_HIT_QUICKLY = 33,
1: - KSWAPD_HIGH_WMARK_HIT_QUICKLY = 34,
1: - PAGEOUTRUN = 35,
1: - PGROTATED = 36,
1: - DROP_PAGECACHE = 37,
1: - DROP_SLAB = 38,
1: - OOM_KILL = 39,
1: - PGMIGRATE_SUCCESS = 40,
1: - PGMIGRATE_FAIL = 41,
1: - COMPACTMIGRATE_SCANNED = 42,
1: - COMPACTFREE_SCANNED = 43,
1: - COMPACTISOLATED = 44,
1: - COMPACTSTALL = 45,
1: - COMPACTFAIL = 46,
1: - COMPACTSUCCESS = 47,
1: - KCOMPACTD_WAKE = 48,
1: - KCOMPACTD_MIGRATE_SCANNED = 49,
1: - KCOMPACTD_FREE_SCANNED = 50,
1: - HTLB_BUDDY_PGALLOC = 51,
1: - HTLB_BUDDY_PGALLOC_FAIL = 52,
1: - UNEVICTABLE_PGCULLED = 53,
1: - UNEVICTABLE_PGSCANNED = 54,
1: - UNEVICTABLE_PGRESCUED = 55,
1: - UNEVICTABLE_PGMLOCKED = 56,
1: - UNEVICTABLE_PGMUNLOCKED = 57,
1: - UNEVICTABLE_PGCLEARED = 58,
1: - UNEVICTABLE_PGSTRANDED = 59,
1: - SWAP_RA = 60,
1: - SWAP_RA_HIT = 61,
1: - NR_VM_EVENT_ITEMS = 62,
1: + PGPGIN = 0,
1: + PGPGOUT = 1,
1: + PSWPIN = 2,
1: + PSWPOUT = 3,
1: + PGALLOC_DMA = 4,
1: + PGALLOC_DMA32 = 5,
1: + PGALLOC_NORMAL = 6,
1: + PGALLOC_MOVABLE = 7,
1: + ALLOCSTALL_DMA = 8,
1: + ALLOCSTALL_DMA32 = 9,
1: + ALLOCSTALL_NORMAL = 10,
1: + ALLOCSTALL_MOVABLE = 11,
1: + PGSCAN_SKIP_DMA = 12,
1: + PGSCAN_SKIP_DMA32 = 13,
1: + PGSCAN_SKIP_NORMAL = 14,
1: + PGSCAN_SKIP_MOVABLE = 15,
1: + PGFREE = 16,
1: + PGACTIVATE = 17,
1: + PGDEACTIVATE = 18,
1: + PGLAZYFREE = 19,
1: + PGFAULT = 20,
1: + PGMAJFAULT = 21,
1: + PGLAZYFREED = 22,
1: + PGREFILL = 23,
1: + PGSTEAL_KSWAPD = 24,
1: + PGSTEAL_DIRECT = 25,
1: + PGSCAN_KSWAPD = 26,
1: + PGSCAN_DIRECT = 27,
1: + PGSCAN_DIRECT_THROTTLE = 28,
1: + PGSCAN_ZONE_RECLAIM_FAILED = 29,
1: + PGINODESTEAL = 30,
1: + SLABS_SCANNED = 31,
1: + KSWAPD_INODESTEAL = 32,
1: + KSWAPD_LOW_WMARK_HIT_QUICKLY = 33,
1: + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 34,
1: + PAGEOUTRUN = 35,
1: + PGROTATED = 36,
1: + DROP_PAGECACHE = 37,
1: + DROP_SLAB = 38,
1: + OOM_KILL = 39,
1: + PGMIGRATE_SUCCESS = 40,
1: + PGMIGRATE_FAIL = 41,
1: + COMPACTMIGRATE_SCANNED = 42,
1: + COMPACTFREE_SCANNED = 43,
1: + COMPACTISOLATED = 44,
1: + COMPACTSTALL = 45,
1: + COMPACTFAIL = 46,
1: + COMPACTSUCCESS = 47,
1: + KCOMPACTD_WAKE = 48,
1: + KCOMPACTD_MIGRATE_SCANNED = 49,
1: + KCOMPACTD_FREE_SCANNED = 50,
1: + HTLB_BUDDY_PGALLOC = 51,
1: + HTLB_BUDDY_PGALLOC_FAIL = 52,
1: + UNEVICTABLE_PGCULLED = 53,
1: + UNEVICTABLE_PGSCANNED = 54,
1: + UNEVICTABLE_PGRESCUED = 55,
1: + UNEVICTABLE_PGMLOCKED = 56,
1: + UNEVICTABLE_PGMUNLOCKED = 57,
1: + UNEVICTABLE_PGCLEARED = 58,
1: + UNEVICTABLE_PGSTRANDED = 59,
1: + SWAP_RA = 60,
1: + SWAP_RA_HIT = 61,
1: + NR_VM_EVENT_ITEMS = 62,
1: };
1:
1: struct vm_event_state {
1: - long unsigned int event[62];
1: + long unsigned int event[62];
1: };
1:
1: enum memblock_flags {
1: - MEMBLOCK_NONE = 0,
1: - MEMBLOCK_HOTPLUG = 1,
1: - MEMBLOCK_MIRROR = 2,
1: - MEMBLOCK_NOMAP = 4,
1: + MEMBLOCK_NONE = 0,
1: + MEMBLOCK_HOTPLUG = 1,
1: + MEMBLOCK_MIRROR = 2,
1: + MEMBLOCK_NOMAP = 4,
1: };
1:
1: struct memblock_region {
1: - phys_addr_t base;
1: - phys_addr_t size;
1: - enum memblock_flags flags;
1: - int nid;
1: + phys_addr_t base;
1: + phys_addr_t size;
1: + enum memblock_flags flags;
1: + int nid;
1: };
1:
1: struct memblock_type {
1: - long unsigned int cnt;
1: - long unsigned int max;
1: - phys_addr_t total_size;
1: - struct memblock_region *regions;
1: - char *name;
1: + long unsigned int cnt;
1: + long unsigned int max;
1: + phys_addr_t total_size;
1: + struct memblock_region *regions;
1: + char *name;
1: };
1:
1: struct memblock {
1: - bool bottom_up;
1: - phys_addr_t current_limit;
1: - struct memblock_type memory;
1: - struct memblock_type reserved;
1: + bool bottom_up;
1: + phys_addr_t current_limit;
1: + struct memblock_type memory;
1: + struct memblock_type reserved;
1: };
1:
1: struct gdt_page {
1: - struct desc_struct gdt[16];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct desc_struct gdt[16];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct tlb_context {
1: - u64 ctx_id;
1: - u64 tlb_gen;
1: + u64 ctx_id;
1: + u64 tlb_gen;
1: };
1:
1: struct tlb_state {
1: - struct mm_struct *loaded_mm;
1: - union {
1: - struct mm_struct *last_user_mm;
1: - long unsigned int last_user_mm_ibpb;
1: - };
1: - u16 loaded_mm_asid;
1: - u16 next_asid;
1: - bool is_lazy;
1: - bool invalidate_other;
1: - short unsigned int user_pcid_flush_mask;
1: - long unsigned int cr4;
1: - struct tlb_context ctxs[6];
1: + struct mm_struct *loaded_mm;
1: + union {
1: + struct mm_struct *last_user_mm;
1: + long unsigned int last_user_mm_ibpb;
1: + };
1: + u16 loaded_mm_asid;
1: + u16 next_asid;
1: + bool is_lazy;
1: + bool invalidate_other;
1: + short unsigned int user_pcid_flush_mask;
1: + long unsigned int cr4;
1: + struct tlb_context ctxs[6];
1: };
1:
1: struct boot_params_to_save {
1: - unsigned int start;
1: - unsigned int len;
1: + unsigned int start;
1: + unsigned int len;
1: };
1:
1: typedef s32 int32_t;
1: @@ -4649,9 +4644,9 @@ typedef s32 int32_t;
1: typedef long unsigned int irq_hw_number_t;
1:
1: struct kernel_symbol {
1: - int value_offset;
1: - int name_offset;
1: - int namespace_offset;
1: + int value_offset;
1: + int name_offset;
1: + int namespace_offset;
1: };
1:
1: typedef int (*initcall_t)();
1: @@ -4659,212 +4654,210 @@ typedef int (*initcall_t)();
1: typedef int initcall_entry_t;
1:
1: struct obs_kernel_param {
1: - const char *str;
1: - int (*setup_func)(char *);
1: - int early;
1: + const char *str;
1: + int (*setup_func)(char *);
1: + int early;
1: };
1:
1: enum system_states {
1: - SYSTEM_BOOTING = 0,
1: - SYSTEM_SCHEDULING = 1,
1: - SYSTEM_RUNNING = 2,
1: - SYSTEM_HALT = 3,
1: - SYSTEM_POWER_OFF = 4,
1: - SYSTEM_RESTART = 5,
1: - SYSTEM_SUSPEND = 6,
1: + SYSTEM_BOOTING = 0,
1: + SYSTEM_SCHEDULING = 1,
1: + SYSTEM_RUNNING = 2,
1: + SYSTEM_HALT = 3,
1: + SYSTEM_POWER_OFF = 4,
1: + SYSTEM_RESTART = 5,
1: + SYSTEM_SUSPEND = 6,
1: };
1:
1: struct bug_entry {
1: - int bug_addr_disp;
1: - int file_disp;
1: - short unsigned int line;
1: - short unsigned int flags;
1: + int bug_addr_disp;
1: + int file_disp;
1: + short unsigned int line;
1: + short unsigned int flags;
1: };
1:
1: struct pollfd {
1: - int fd;
1: - short int events;
1: - short int revents;
1: + int fd;
1: + short int events;
1: + short int revents;
1: };
1:
1: typedef const int tracepoint_ptr_t;
1:
1: struct orc_entry {
1: - s16 sp_offset;
1: - s16 bp_offset;
1: - unsigned int sp_reg: 4;
1: - unsigned int bp_reg: 4;
1: - unsigned int type: 2;
1: - unsigned int end: 1;
1: + s16 sp_offset;
1: + s16 bp_offset;
1: + unsigned int sp_reg : 4;
1: + unsigned int bp_reg : 4;
1: + unsigned int type : 2;
1: + unsigned int end : 1;
1: } __attribute__((packed));
1:
1: enum perf_event_state {
1: - PERF_EVENT_STATE_DEAD = -4,
1: - PERF_EVENT_STATE_EXIT = -3,
1: - PERF_EVENT_STATE_ERROR = -2,
1: - PERF_EVENT_STATE_OFF = -1,
1: - PERF_EVENT_STATE_INACTIVE = 0,
1: - PERF_EVENT_STATE_ACTIVE = 1,
1: + PERF_EVENT_STATE_DEAD = -4,
1: + PERF_EVENT_STATE_EXIT = -3,
1: + PERF_EVENT_STATE_ERROR = -2,
1: + PERF_EVENT_STATE_OFF = -1,
1: + PERF_EVENT_STATE_INACTIVE = 0,
1: + PERF_EVENT_STATE_ACTIVE = 1,
1: };
1:
1: -typedef struct {
1: - atomic_long_t a;
1: -} local_t;
1: +typedef struct { atomic_long_t a; } local_t;
1:
1: -typedef struct {
1: - local_t a;
1: -} local64_t;
1: +typedef struct { local_t a; } local64_t;
1:
1: struct perf_event_attr {
1: - __u32 type;
1: - __u32 size;
1: - __u64 config;
1: - union {
1: - __u64 sample_period;
1: - __u64 sample_freq;
1: - };
1: - __u64 sample_type;
1: - __u64 read_format;
1: - __u64 disabled: 1;
1: - __u64 inherit: 1;
1: - __u64 pinned: 1;
1: - __u64 exclusive: 1;
1: - __u64 exclude_user: 1;
1: - __u64 exclude_kernel: 1;
1: - __u64 exclude_hv: 1;
1: - __u64 exclude_idle: 1;
1: - __u64 mmap: 1;
1: - __u64 comm: 1;
1: - __u64 freq: 1;
1: - __u64 inherit_stat: 1;
1: - __u64 enable_on_exec: 1;
1: - __u64 task: 1;
1: - __u64 watermark: 1;
1: - __u64 precise_ip: 2;
1: - __u64 mmap_data: 1;
1: - __u64 sample_id_all: 1;
1: - __u64 exclude_host: 1;
1: - __u64 exclude_guest: 1;
1: - __u64 exclude_callchain_kernel: 1;
1: - __u64 exclude_callchain_user: 1;
1: - __u64 mmap2: 1;
1: - __u64 comm_exec: 1;
1: - __u64 use_clockid: 1;
1: - __u64 context_switch: 1;
1: - __u64 write_backward: 1;
1: - __u64 namespaces: 1;
1: - __u64 ksymbol: 1;
1: - __u64 bpf_event: 1;
1: - __u64 aux_output: 1;
1: - __u64 __reserved_1: 32;
1: - union {
1: - __u32 wakeup_events;
1: - __u32 wakeup_watermark;
1: - };
1: - __u32 bp_type;
1: - union {
1: - __u64 bp_addr;
1: - __u64 kprobe_func;
1: - __u64 uprobe_path;
1: - __u64 config1;
1: - };
1: - union {
1: - __u64 bp_len;
1: - __u64 kprobe_addr;
1: - __u64 probe_offset;
1: - __u64 config2;
1: - };
1: - __u64 branch_sample_type;
1: - __u64 sample_regs_user;
1: - __u32 sample_stack_user;
1: - __s32 clockid;
1: - __u64 sample_regs_intr;
1: - __u32 aux_watermark;
1: - __u16 sample_max_stack;
1: - __u16 __reserved_2;
1: - __u32 aux_sample_size;
1: - __u32 __reserved_3;
1: + __u32 type;
1: + __u32 size;
1: + __u64 config;
1: + union {
1: + __u64 sample_period;
1: + __u64 sample_freq;
1: + };
1: + __u64 sample_type;
1: + __u64 read_format;
1: + __u64 disabled : 1;
1: + __u64 inherit : 1;
1: + __u64 pinned : 1;
1: + __u64 exclusive : 1;
1: + __u64 exclude_user : 1;
1: + __u64 exclude_kernel : 1;
1: + __u64 exclude_hv : 1;
1: + __u64 exclude_idle : 1;
1: + __u64 mmap : 1;
1: + __u64 comm : 1;
1: + __u64 freq : 1;
1: + __u64 inherit_stat : 1;
1: + __u64 enable_on_exec : 1;
1: + __u64 task : 1;
1: + __u64 watermark : 1;
1: + __u64 precise_ip : 2;
1: + __u64 mmap_data : 1;
1: + __u64 sample_id_all : 1;
1: + __u64 exclude_host : 1;
1: + __u64 exclude_guest : 1;
1: + __u64 exclude_callchain_kernel : 1;
1: + __u64 exclude_callchain_user : 1;
1: + __u64 mmap2 : 1;
1: + __u64 comm_exec : 1;
1: + __u64 use_clockid : 1;
1: + __u64 context_switch : 1;
1: + __u64 write_backward : 1;
1: + __u64 namespaces : 1;
1: + __u64 ksymbol : 1;
1: + __u64 bpf_event : 1;
1: + __u64 aux_output : 1;
1: + __u64 __reserved_1 : 32;
1: + union {
1: + __u32 wakeup_events;
1: + __u32 wakeup_watermark;
1: + };
1: + __u32 bp_type;
1: + union {
1: + __u64 bp_addr;
1: + __u64 kprobe_func;
1: + __u64 uprobe_path;
1: + __u64 config1;
1: + };
1: + union {
1: + __u64 bp_len;
1: + __u64 kprobe_addr;
1: + __u64 probe_offset;
1: + __u64 config2;
1: + };
1: + __u64 branch_sample_type;
1: + __u64 sample_regs_user;
1: + __u32 sample_stack_user;
1: + __s32 clockid;
1: + __u64 sample_regs_intr;
1: + __u32 aux_watermark;
1: + __u16 sample_max_stack;
1: + __u16 __reserved_2;
1: + __u32 aux_sample_size;
1: + __u32 __reserved_3;
1: };
1:
1: struct hw_perf_event_extra {
1: - u64 config;
1: - unsigned int reg;
1: - int alloc;
1: - int idx;
1: + u64 config;
1: + unsigned int reg;
1: + int alloc;
1: + int idx;
1: };
1:
1: struct arch_hw_breakpoint {
1: - long unsigned int address;
1: - long unsigned int mask;
1: - u8 len;
1: - u8 type;
1: + long unsigned int address;
1: + long unsigned int mask;
1: + u8 len;
1: + u8 type;
1: };
1:
1: struct hw_perf_event {
1: - union {
1: - struct {
1: - u64 config;
1: - u64 last_tag;
1: - long unsigned int config_base;
1: - long unsigned int event_base;
1: - int event_base_rdpmc;
1: - int idx;
1: - int last_cpu;
1: - int flags;
1: - struct hw_perf_event_extra extra_reg;
1: - struct hw_perf_event_extra branch_reg;
1: - };
1: - struct {
1: - struct hrtimer hrtimer;
1: - };
1: - struct {
1: - struct list_head tp_list;
1: - };
1: - struct {
1: - u64 pwr_acc;
1: - u64 ptsc;
1: - };
1: - struct {
1: - struct arch_hw_breakpoint info;
1: - struct list_head bp_list;
1: - };
1: - struct {
1: - u8 iommu_bank;
1: - u8 iommu_cntr;
1: - u16 padding;
1: - u64 conf;
1: - u64 conf1;
1: - };
1: - };
1: - struct task_struct *target;
1: - void *addr_filters;
1: - long unsigned int addr_filters_gen;
1: - int state;
1: - local64_t prev_count;
1: - u64 sample_period;
1: - u64 last_period;
1: - local64_t period_left;
1: - u64 interrupts_seq;
1: - u64 interrupts;
1: - u64 freq_time_stamp;
1: - u64 freq_count_stamp;
1: + union {
1: + struct {
1: + u64 config;
1: + u64 last_tag;
1: + long unsigned int config_base;
1: + long unsigned int event_base;
1: + int event_base_rdpmc;
1: + int idx;
1: + int last_cpu;
1: + int flags;
1: + struct hw_perf_event_extra extra_reg;
1: + struct hw_perf_event_extra branch_reg;
1: + };
1: + struct {
1: + struct hrtimer hrtimer;
1: + };
1: + struct {
1: + struct list_head tp_list;
1: + };
1: + struct {
1: + u64 pwr_acc;
1: + u64 ptsc;
1: + };
1: + struct {
1: + struct arch_hw_breakpoint info;
1: + struct list_head bp_list;
1: + };
1: + struct {
1: + u8 iommu_bank;
1: + u8 iommu_cntr;
1: + u16 padding;
1: + u64 conf;
1: + u64 conf1;
1: + };
1: + };
1: + struct task_struct *target;
1: + void *addr_filters;
1: + long unsigned int addr_filters_gen;
1: + int state;
1: + local64_t prev_count;
1: + u64 sample_period;
1: + u64 last_period;
1: + local64_t period_left;
1: + u64 interrupts_seq;
1: + u64 interrupts;
1: + u64 freq_time_stamp;
1: + u64 freq_count_stamp;
1: };
1:
1: struct irq_work {
1: - atomic_t flags;
1: - struct llist_node llnode;
1: - void (*func)(struct irq_work *);
1: + atomic_t flags;
1: + struct llist_node llnode;
1: + void (*func)(struct irq_work *);
1: };
1:
1: struct perf_addr_filters_head {
1: - struct list_head list;
1: - raw_spinlock_t lock;
1: - unsigned int nr_file_filters;
1: + struct list_head list;
1: + raw_spinlock_t lock;
1: + unsigned int nr_file_filters;
1: };
1:
1: struct perf_sample_data;
1:
1: -typedef void (*perf_overflow_handler_t)(struct perf_event *, struct perf_sample_data *, struct pt_regs *);
1: +typedef void (*perf_overflow_handler_t)(struct perf_event *,
1: + struct perf_sample_data *,
1: + struct pt_regs *);
1:
1: struct pmu;
1:
1: @@ -4877,119 +4870,119 @@ struct trace_event_call;
1: struct event_filter;
1:
1: struct perf_event {
1: - struct list_head event_entry;
1: - struct list_head sibling_list;
1: - struct list_head active_list;
1: - struct rb_node group_node;
1: - u64 group_index;
1: - struct list_head migrate_entry;
1: - struct hlist_node hlist_entry;
1: - struct list_head active_entry;
1: - int nr_siblings;
1: - int event_caps;
1: - int group_caps;
1: - struct perf_event *group_leader;
1: - struct pmu *pmu;
1: - void *pmu_private;
1: - enum perf_event_state state;
1: - unsigned int attach_state;
1: - local64_t count;
1: - atomic64_t child_count;
1: - u64 total_time_enabled;
1: - u64 total_time_running;
1: - u64 tstamp;
1: - u64 shadow_ctx_time;
1: - struct perf_event_attr attr;
1: - u16 header_size;
1: - u16 id_header_size;
1: - u16 read_size;
1: - struct hw_perf_event hw;
1: - struct perf_event_context *ctx;
1: - atomic_long_t refcount;
1: - atomic64_t child_total_time_enabled;
1: - atomic64_t child_total_time_running;
1: - struct mutex child_mutex;
1: - struct list_head child_list;
1: - struct perf_event *parent;
1: - int oncpu;
1: - int cpu;
1: - struct list_head owner_entry;
1: - struct task_struct *owner;
1: - struct mutex mmap_mutex;
1: - atomic_t mmap_count;
1: - struct ring_buffer *rb;
1: - struct list_head rb_entry;
1: - long unsigned int rcu_batches;
1: - int rcu_pending;
1: - wait_queue_head_t waitq;
1: - struct fasync_struct *fasync;
1: - int pending_wakeup;
1: - int pending_kill;
1: - int pending_disable;
1: - struct irq_work pending;
1: - atomic_t event_limit;
1: - struct perf_addr_filters_head addr_filters;
1: - struct perf_addr_filter_range *addr_filter_ranges;
1: - long unsigned int addr_filters_gen;
1: - struct perf_event *aux_event;
1: - void (*destroy)(struct perf_event *);
1: - struct callback_head callback_head;
1: - struct pid_namespace *ns;
1: - u64 id;
1: - u64 (*clock)();
1: - perf_overflow_handler_t overflow_handler;
1: - void *overflow_handler_context;
1: - struct trace_event_call *tp_event;
1: - struct event_filter *filter;
1: - void *security;
1: - struct list_head sb_list;
1: + struct list_head event_entry;
1: + struct list_head sibling_list;
1: + struct list_head active_list;
1: + struct rb_node group_node;
1: + u64 group_index;
1: + struct list_head migrate_entry;
1: + struct hlist_node hlist_entry;
1: + struct list_head active_entry;
1: + int nr_siblings;
1: + int event_caps;
1: + int group_caps;
1: + struct perf_event *group_leader;
1: + struct pmu *pmu;
1: + void *pmu_private;
1: + enum perf_event_state state;
1: + unsigned int attach_state;
1: + local64_t count;
1: + atomic64_t child_count;
1: + u64 total_time_enabled;
1: + u64 total_time_running;
1: + u64 tstamp;
1: + u64 shadow_ctx_time;
1: + struct perf_event_attr attr;
1: + u16 header_size;
1: + u16 id_header_size;
1: + u16 read_size;
1: + struct hw_perf_event hw;
1: + struct perf_event_context *ctx;
1: + atomic_long_t refcount;
1: + atomic64_t child_total_time_enabled;
1: + atomic64_t child_total_time_running;
1: + struct mutex child_mutex;
1: + struct list_head child_list;
1: + struct perf_event *parent;
1: + int oncpu;
1: + int cpu;
1: + struct list_head owner_entry;
1: + struct task_struct *owner;
1: + struct mutex mmap_mutex;
1: + atomic_t mmap_count;
1: + struct ring_buffer *rb;
1: + struct list_head rb_entry;
1: + long unsigned int rcu_batches;
1: + int rcu_pending;
1: + wait_queue_head_t waitq;
1: + struct fasync_struct *fasync;
1: + int pending_wakeup;
1: + int pending_kill;
1: + int pending_disable;
1: + struct irq_work pending;
1: + atomic_t event_limit;
1: + struct perf_addr_filters_head addr_filters;
1: + struct perf_addr_filter_range *addr_filter_ranges;
1: + long unsigned int addr_filters_gen;
1: + struct perf_event *aux_event;
1: + void (*destroy)(struct perf_event *);
1: + struct callback_head callback_head;
1: + struct pid_namespace *ns;
1: + u64 id;
1: + u64 (*clock)();
1: + perf_overflow_handler_t overflow_handler;
1: + void *overflow_handler_context;
1: + struct trace_event_call *tp_event;
1: + struct event_filter *filter;
1: + void *security;
1: + struct list_head sb_list;
1: };
1:
1: struct lockdep_map {};
1:
1: typedef struct {
1: - struct seqcount seqcount;
1: - spinlock_t lock;
1: + struct seqcount seqcount;
1: + spinlock_t lock;
1: } seqlock_t;
1:
1: enum node_states {
1: - N_POSSIBLE = 0,
1: - N_ONLINE = 1,
1: - N_NORMAL_MEMORY = 2,
1: - N_HIGH_MEMORY = 2,
1: - N_MEMORY = 3,
1: - N_CPU = 4,
1: - NR_NODE_STATES = 5,
1: + N_POSSIBLE = 0,
1: + N_ONLINE = 1,
1: + N_NORMAL_MEMORY = 2,
1: + N_HIGH_MEMORY = 2,
1: + N_MEMORY = 3,
1: + N_CPU = 4,
1: + NR_NODE_STATES = 5,
1: };
1:
1: struct timer_list {
1: - struct hlist_node entry;
1: - long unsigned int expires;
1: - void (*function)(struct timer_list *);
1: - u32 flags;
1: + struct hlist_node entry;
1: + long unsigned int expires;
1: + void (*function)(struct timer_list *);
1: + u32 flags;
1: };
1:
1: struct delayed_work {
1: - struct work_struct work;
1: - struct timer_list timer;
1: - struct workqueue_struct *wq;
1: - int cpu;
1: + struct work_struct work;
1: + struct timer_list timer;
1: + struct workqueue_struct *wq;
1: + int cpu;
1: };
1:
1: struct rcu_work {
1: - struct work_struct work;
1: - struct callback_head rcu;
1: - struct workqueue_struct *wq;
1: + struct work_struct work;
1: + struct callback_head rcu;
1: + struct workqueue_struct *wq;
1: };
1:
1: struct rcu_segcblist {
1: - struct callback_head *head;
1: - struct callback_head **tails[4];
1: - long unsigned int gp_seq[4];
1: - long int len;
1: - long int len_lazy;
1: - u8 enabled;
1: - u8 offloaded;
1: + struct callback_head *head;
1: + struct callback_head **tails[4];
1: + long unsigned int gp_seq[4];
1: + long int len;
1: + long int len_lazy;
1: + u8 enabled;
1: + u8 offloaded;
1: };
1:
1: struct srcu_node;
1: @@ -4997,77 +4990,77 @@ struct srcu_node;
1: struct srcu_struct;
1:
1: struct srcu_data {
1: - long unsigned int srcu_lock_count[2];
1: - long unsigned int srcu_unlock_count[2];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - spinlock_t lock;
1: - struct rcu_segcblist srcu_cblist;
1: - long unsigned int srcu_gp_seq_needed;
1: - long unsigned int srcu_gp_seq_needed_exp;
1: - bool srcu_cblist_invoking;
1: - struct timer_list delay_work;
1: - struct work_struct work;
1: - struct callback_head srcu_barrier_head;
1: - struct srcu_node *mynode;
1: - long unsigned int grpmask;
1: - int cpu;
1: - struct srcu_struct *ssp;
1: - long: 64;
1: + long unsigned int srcu_lock_count[2];
1: + long unsigned int srcu_unlock_count[2];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + spinlock_t lock;
1: + struct rcu_segcblist srcu_cblist;
1: + long unsigned int srcu_gp_seq_needed;
1: + long unsigned int srcu_gp_seq_needed_exp;
1: + bool srcu_cblist_invoking;
1: + struct timer_list delay_work;
1: + struct work_struct work;
1: + struct callback_head srcu_barrier_head;
1: + struct srcu_node *mynode;
1: + long unsigned int grpmask;
1: + int cpu;
1: + struct srcu_struct *ssp;
1: + long : 64;
1: };
1:
1: struct srcu_node {
1: - spinlock_t lock;
1: - long unsigned int srcu_have_cbs[4];
1: - long unsigned int srcu_data_have_cbs[4];
1: - long unsigned int srcu_gp_seq_needed_exp;
1: - struct srcu_node *srcu_parent;
1: - int grplo;
1: - int grphi;
1: + spinlock_t lock;
1: + long unsigned int srcu_have_cbs[4];
1: + long unsigned int srcu_data_have_cbs[4];
1: + long unsigned int srcu_gp_seq_needed_exp;
1: + struct srcu_node *srcu_parent;
1: + int grplo;
1: + int grphi;
1: };
1:
1: struct srcu_struct {
1: - struct srcu_node node[5];
1: - struct srcu_node *level[3];
1: - struct mutex srcu_cb_mutex;
1: - spinlock_t lock;
1: - struct mutex srcu_gp_mutex;
1: - unsigned int srcu_idx;
1: - long unsigned int srcu_gp_seq;
1: - long unsigned int srcu_gp_seq_needed;
1: - long unsigned int srcu_gp_seq_needed_exp;
1: - long unsigned int srcu_last_gp_end;
1: - struct srcu_data *sda;
1: - long unsigned int srcu_barrier_seq;
1: - struct mutex srcu_barrier_mutex;
1: - struct completion srcu_barrier_completion;
1: - atomic_t srcu_barrier_cpu_cnt;
1: - struct delayed_work work;
1: + struct srcu_node node[5];
1: + struct srcu_node *level[3];
1: + struct mutex srcu_cb_mutex;
1: + spinlock_t lock;
1: + struct mutex srcu_gp_mutex;
1: + unsigned int srcu_idx;
1: + long unsigned int srcu_gp_seq;
1: + long unsigned int srcu_gp_seq_needed;
1: + long unsigned int srcu_gp_seq_needed_exp;
1: + long unsigned int srcu_last_gp_end;
1: + struct srcu_data *sda;
1: + long unsigned int srcu_barrier_seq;
1: + struct mutex srcu_barrier_mutex;
1: + struct completion srcu_barrier_completion;
1: + atomic_t srcu_barrier_cpu_cnt;
1: + struct delayed_work work;
1: };
1:
1: struct anon_vma {
1: - struct anon_vma *root;
1: - struct rw_semaphore rwsem;
1: - atomic_t refcount;
1: - unsigned int degree;
1: - struct anon_vma *parent;
1: - struct rb_root_cached rb_root;
1: + struct anon_vma *root;
1: + struct rw_semaphore rwsem;
1: + atomic_t refcount;
1: + unsigned int degree;
1: + struct anon_vma *parent;
1: + struct rb_root_cached rb_root;
1: };
1:
1: struct mempolicy {
1: - atomic_t refcnt;
1: - short unsigned int mode;
1: - short unsigned int flags;
1: - union {
1: - short int preferred_node;
1: - nodemask_t nodes;
1: - } v;
1: - union {
1: - nodemask_t cpuset_mems_allowed;
1: - nodemask_t user_nodemask;
1: - } w;
1: + atomic_t refcnt;
1: + short unsigned int mode;
1: + short unsigned int flags;
1: + union {
1: + short int preferred_node;
1: + nodemask_t nodes;
1: + } v;
1: + union {
1: + nodemask_t cpuset_mems_allowed;
1: + nodemask_t user_nodemask;
1: + } w;
1: };
1:
1: struct linux_binprm;
1: @@ -5075,37 +5068,37 @@ struct linux_binprm;
1: struct coredump_params;
1:
1: struct linux_binfmt {
1: - struct list_head lh;
1: - struct module *module;
1: - int (*load_binary)(struct linux_binprm *);
1: - int (*load_shlib)(struct file *);
1: - int (*core_dump)(struct coredump_params *);
1: - long unsigned int min_coredump;
1: + struct list_head lh;
1: + struct module *module;
1: + int (*load_binary)(struct linux_binprm *);
1: + int (*load_shlib)(struct file *);
1: + int (*core_dump)(struct coredump_params *);
1: + long unsigned int min_coredump;
1: };
1:
1: struct uid_gid_extent {
1: - u32 first;
1: - u32 lower_first;
1: - u32 count;
1: + u32 first;
1: + u32 lower_first;
1: + u32 count;
1: };
1:
1: struct uid_gid_map {
1: - u32 nr_extents;
1: - union {
1: - struct uid_gid_extent extent[5];
1: - struct {
1: - struct uid_gid_extent *forward;
1: - struct uid_gid_extent *reverse;
1: - };
1: - };
1: + u32 nr_extents;
1: + union {
1: + struct uid_gid_extent extent[5];
1: + struct {
1: + struct uid_gid_extent *forward;
1: + struct uid_gid_extent *reverse;
1: + };
1: + };
1: };
1:
1: struct proc_ns_operations;
1:
1: struct ns_common {
1: - atomic_long_t stashed;
1: - const struct proc_ns_operations *ops;
1: - unsigned int inum;
1: + atomic_long_t stashed;
1: + const struct proc_ns_operations *ops;
1: + unsigned int inum;
1: };
1:
1: struct ctl_table;
1: @@ -5119,55 +5112,55 @@ struct ctl_dir;
1: struct ctl_node;
1:
1: struct ctl_table_header {
1: - union {
1: - struct {
1: - struct ctl_table *ctl_table;
1: - int used;
1: - int count;
1: - int nreg;
1: - };
1: - struct callback_head rcu;
1: - };
1: - struct completion *unregistering;
1: - struct ctl_table *ctl_table_arg;
1: - struct ctl_table_root *root;
1: - struct ctl_table_set *set;
1: - struct ctl_dir *parent;
1: - struct ctl_node *node;
1: - struct hlist_head inodes;
1: + union {
1: + struct {
1: + struct ctl_table *ctl_table;
1: + int used;
1: + int count;
1: + int nreg;
1: + };
1: + struct callback_head rcu;
1: + };
1: + struct completion *unregistering;
1: + struct ctl_table *ctl_table_arg;
1: + struct ctl_table_root *root;
1: + struct ctl_table_set *set;
1: + struct ctl_dir *parent;
1: + struct ctl_node *node;
1: + struct hlist_head inodes;
1: };
1:
1: struct ctl_dir {
1: - struct ctl_table_header header;
1: - struct rb_root root;
1: + struct ctl_table_header header;
1: + struct rb_root root;
1: };
1:
1: struct ctl_table_set {
1: - int (*is_seen)(struct ctl_table_set *);
1: - struct ctl_dir dir;
1: + int (*is_seen)(struct ctl_table_set *);
1: + struct ctl_dir dir;
1: };
1:
1: struct ucounts;
1:
1: struct user_namespace {
1: - struct uid_gid_map uid_map;
1: - struct uid_gid_map gid_map;
1: - struct uid_gid_map projid_map;
1: - atomic_t count;
1: - struct user_namespace *parent;
1: - int level;
1: - kuid_t owner;
1: - kgid_t group;
1: - struct ns_common ns;
1: - long unsigned int flags;
1: - struct list_head keyring_name_list;
1: - struct key *user_keyring_register;
1: - struct rw_semaphore keyring_sem;
1: - struct work_struct work;
1: - struct ctl_table_set set;
1: - struct ctl_table_header *sysctls;
1: - struct ucounts *ucounts;
1: - int ucount_max[9];
1: + struct uid_gid_map uid_map;
1: + struct uid_gid_map gid_map;
1: + struct uid_gid_map projid_map;
1: + atomic_t count;
1: + struct user_namespace *parent;
1: + int level;
1: + kuid_t owner;
1: + kgid_t group;
1: + struct ns_common ns;
1: + long unsigned int flags;
1: + struct list_head keyring_name_list;
1: + struct key *user_keyring_register;
1: + struct rw_semaphore keyring_sem;
1: + struct work_struct work;
1: + struct ctl_table_set set;
1: + struct ctl_table_header *sysctls;
1: + struct ucounts *ucounts;
1: + int ucount_max[9];
1: };
1:
1: typedef struct pglist_data pg_data_t;
1: @@ -5177,9 +5170,9 @@ struct fwnode_operations;
1: struct device;
1:
1: struct fwnode_handle {
1: - struct fwnode_handle *secondary;
1: - const struct fwnode_operations *ops;
1: - struct device *dev;
1: + struct fwnode_handle *secondary;
1: + const struct fwnode_operations *ops;
1: + struct device *dev;
1: };
1:
1: struct fwnode_reference_args;
1: @@ -5187,28 +5180,38 @@ struct fwnode_reference_args;
1: struct fwnode_endpoint;
1:
1: struct fwnode_operations {
1: - struct fwnode_handle * (*get)(struct fwnode_handle *);
1: - void (*put)(struct fwnode_handle *);
1: - bool (*device_is_available)(const struct fwnode_handle *);
1: - const void * (*device_get_match_data)(const struct fwnode_handle *, const struct device *);
1: - bool (*property_present)(const struct fwnode_handle *, const char *);
1: - int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t);
1: - int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t);
1: - const char * (*get_name)(const struct fwnode_handle *);
1: - const char * (*get_name_prefix)(const struct fwnode_handle *);
1: - struct fwnode_handle * (*get_parent)(const struct fwnode_handle *);
1: - struct fwnode_handle * (*get_next_child_node)(const struct fwnode_handle *, struct fwnode_handle *);
1: - struct fwnode_handle * (*get_named_child_node)(const struct fwnode_handle *, const char *);
1: - int (*get_reference_args)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *);
1: - struct fwnode_handle * (*graph_get_next_endpoint)(const struct fwnode_handle *, struct fwnode_handle *);
1: - struct fwnode_handle * (*graph_get_remote_endpoint)(const struct fwnode_handle *);
1: - struct fwnode_handle * (*graph_get_port_parent)(struct fwnode_handle *);
1: - int (*graph_parse_endpoint)(const struct fwnode_handle *, struct fwnode_endpoint *);
1: - int (*add_links)(const struct fwnode_handle *, struct device *);
1: + struct fwnode_handle *(*get)(struct fwnode_handle *);
1: + void (*put)(struct fwnode_handle *);
1: + bool (*device_is_available)(const struct fwnode_handle *);
1: + const void *(*device_get_match_data)(const struct fwnode_handle *,
1: + const struct device *);
1: + bool (*property_present)(const struct fwnode_handle *, const char *);
1: + int (*property_read_int_array)(const struct fwnode_handle *, const char *,
1: + unsigned int, void *, size_t);
1: + int (*property_read_string_array)(const struct fwnode_handle *, const char *,
1: + const char **, size_t);
1: + const char *(*get_name)(const struct fwnode_handle *);
1: + const char *(*get_name_prefix)(const struct fwnode_handle *);
1: + struct fwnode_handle *(*get_parent)(const struct fwnode_handle *);
1: + struct fwnode_handle *(*get_next_child_node)(const struct fwnode_handle *,
1: + struct fwnode_handle *);
1: + struct fwnode_handle *(*get_named_child_node)(const struct fwnode_handle *,
1: + const char *);
1: + int (*get_reference_args)(const struct fwnode_handle *, const char *,
1: + const char *, unsigned int, unsigned int,
1: + struct fwnode_reference_args *);
1: + struct fwnode_handle *(*graph_get_next_endpoint)(const struct fwnode_handle *,
1: + struct fwnode_handle *);
1: + struct fwnode_handle *(*graph_get_remote_endpoint)(
1: + const struct fwnode_handle *);
1: + struct fwnode_handle *(*graph_get_port_parent)(struct fwnode_handle *);
1: + int (*graph_parse_endpoint)(const struct fwnode_handle *,
1: + struct fwnode_endpoint *);
1: + int (*add_links)(const struct fwnode_handle *, struct device *);
1: };
1:
1: struct kref {
1: - refcount_t refcount;
1: + refcount_t refcount;
1: };
1:
1: struct kset;
1: @@ -5218,55 +5221,55 @@ struct kobj_type;
1: struct kernfs_node;
1:
1: struct kobject {
1: - const char *name;
1: - struct list_head entry;
1: - struct kobject *parent;
1: - struct kset *kset;
1: - struct kobj_type *ktype;
1: - struct kernfs_node *sd;
1: - struct kref kref;
1: - unsigned int state_initialized: 1;
1: - unsigned int state_in_sysfs: 1;
1: - unsigned int state_add_uevent_sent: 1;
1: - unsigned int state_remove_uevent_sent: 1;
1: - unsigned int uevent_suppress: 1;
1: + const char *name;
1: + struct list_head entry;
1: + struct kobject *parent;
1: + struct kset *kset;
1: + struct kobj_type *ktype;
1: + struct kernfs_node *sd;
1: + struct kref kref;
1: + unsigned int state_initialized : 1;
1: + unsigned int state_in_sysfs : 1;
1: + unsigned int state_add_uevent_sent : 1;
1: + unsigned int state_remove_uevent_sent : 1;
1: + unsigned int uevent_suppress : 1;
1: };
1:
1: enum dl_dev_state {
1: - DL_DEV_NO_DRIVER = 0,
1: - DL_DEV_PROBING = 1,
1: - DL_DEV_DRIVER_BOUND = 2,
1: - DL_DEV_UNBINDING = 3,
1: + DL_DEV_NO_DRIVER = 0,
1: + DL_DEV_PROBING = 1,
1: + DL_DEV_DRIVER_BOUND = 2,
1: + DL_DEV_UNBINDING = 3,
1: };
1:
1: struct dev_links_info {
1: - struct list_head suppliers;
1: - struct list_head consumers;
1: - struct list_head needs_suppliers;
1: - struct list_head defer_sync;
1: - bool need_for_probe;
1: - enum dl_dev_state status;
1: + struct list_head suppliers;
1: + struct list_head consumers;
1: + struct list_head needs_suppliers;
1: + struct list_head defer_sync;
1: + bool need_for_probe;
1: + enum dl_dev_state status;
1: };
1:
1: struct pm_message {
1: - int event;
1: + int event;
1: };
1:
1: typedef struct pm_message pm_message_t;
1:
1: enum rpm_request {
1: - RPM_REQ_NONE = 0,
1: - RPM_REQ_IDLE = 1,
1: - RPM_REQ_SUSPEND = 2,
1: - RPM_REQ_AUTOSUSPEND = 3,
1: - RPM_REQ_RESUME = 4,
1: + RPM_REQ_NONE = 0,
1: + RPM_REQ_IDLE = 1,
1: + RPM_REQ_SUSPEND = 2,
1: + RPM_REQ_AUTOSUSPEND = 3,
1: + RPM_REQ_RESUME = 4,
1: };
1:
1: enum rpm_status {
1: - RPM_ACTIVE = 0,
1: - RPM_RESUMING = 1,
1: - RPM_SUSPENDED = 2,
1: - RPM_SUSPENDING = 3,
1: + RPM_ACTIVE = 0,
1: + RPM_RESUMING = 1,
1: + RPM_SUSPENDED = 2,
1: + RPM_SUSPENDING = 3,
1: };
1:
1: struct wakeup_source;
1: @@ -5278,61 +5281,61 @@ struct pm_subsys_data;
1: struct dev_pm_qos;
1:
1: struct dev_pm_info {
1: - pm_message_t power_state;
1: - unsigned int can_wakeup: 1;
1: - unsigned int async_suspend: 1;
1: - bool in_dpm_list: 1;
1: - bool is_prepared: 1;
1: - bool is_suspended: 1;
1: - bool is_noirq_suspended: 1;
1: - bool is_late_suspended: 1;
1: - bool no_pm: 1;
1: - bool early_init: 1;
1: - bool direct_complete: 1;
1: - u32 driver_flags;
1: - spinlock_t lock;
1: - struct list_head entry;
1: - struct completion completion;
1: - struct wakeup_source *wakeup;
1: - bool wakeup_path: 1;
1: - bool syscore: 1;
1: - bool no_pm_callbacks: 1;
1: - unsigned int must_resume: 1;
1: - unsigned int may_skip_resume: 1;
1: - struct hrtimer suspend_timer;
1: - long unsigned int timer_expires;
1: - struct work_struct work;
1: - wait_queue_head_t wait_queue;
1: - struct wake_irq *wakeirq;
1: - atomic_t usage_count;
1: - atomic_t child_count;
1: - unsigned int disable_depth: 3;
1: - unsigned int idle_notification: 1;
1: - unsigned int request_pending: 1;
1: - unsigned int deferred_resume: 1;
1: - unsigned int runtime_auto: 1;
1: - bool ignore_children: 1;
1: - unsigned int no_callbacks: 1;
1: - unsigned int irq_safe: 1;
1: - unsigned int use_autosuspend: 1;
1: - unsigned int timer_autosuspends: 1;
1: - unsigned int memalloc_noio: 1;
1: - unsigned int links_count;
1: - enum rpm_request request;
1: - enum rpm_status runtime_status;
1: - int runtime_error;
1: - int autosuspend_delay;
1: - u64 last_busy;
1: - u64 active_time;
1: - u64 suspended_time;
1: - u64 accounting_timestamp;
1: - struct pm_subsys_data *subsys_data;
1: - void (*set_latency_tolerance)(struct device *, s32);
1: - struct dev_pm_qos *qos;
1: + pm_message_t power_state;
1: + unsigned int can_wakeup : 1;
1: + unsigned int async_suspend : 1;
1: + bool in_dpm_list : 1;
1: + bool is_prepared : 1;
1: + bool is_suspended : 1;
1: + bool is_noirq_suspended : 1;
1: + bool is_late_suspended : 1;
1: + bool no_pm : 1;
1: + bool early_init : 1;
1: + bool direct_complete : 1;
1: + u32 driver_flags;
1: + spinlock_t lock;
1: + struct list_head entry;
1: + struct completion completion;
1: + struct wakeup_source *wakeup;
1: + bool wakeup_path : 1;
1: + bool syscore : 1;
1: + bool no_pm_callbacks : 1;
1: + unsigned int must_resume : 1;
1: + unsigned int may_skip_resume : 1;
1: + struct hrtimer suspend_timer;
1: + long unsigned int timer_expires;
1: + struct work_struct work;
1: + wait_queue_head_t wait_queue;
1: + struct wake_irq *wakeirq;
1: + atomic_t usage_count;
1: + atomic_t child_count;
1: + unsigned int disable_depth : 3;
1: + unsigned int idle_notification : 1;
1: + unsigned int request_pending : 1;
1: + unsigned int deferred_resume : 1;
1: + unsigned int runtime_auto : 1;
1: + bool ignore_children : 1;
1: + unsigned int no_callbacks : 1;
1: + unsigned int irq_safe : 1;
1: + unsigned int use_autosuspend : 1;
1: + unsigned int timer_autosuspends : 1;
1: + unsigned int memalloc_noio : 1;
1: + unsigned int links_count;
1: + enum rpm_request request;
1: + enum rpm_status runtime_status;
1: + int runtime_error;
1: + int autosuspend_delay;
1: + u64 last_busy;
1: + u64 active_time;
1: + u64 suspended_time;
1: + u64 accounting_timestamp;
1: + struct pm_subsys_data *subsys_data;
1: + void (*set_latency_tolerance)(struct device *, s32);
1: + struct dev_pm_qos *qos;
1: };
1:
1: struct dev_archdata {
1: - void *iommu;
1: + void *iommu;
1: };
1:
1: struct device_private;
1: @@ -5364,67 +5367,67 @@ struct iommu_fwspec;
1: struct iommu_param;
1:
1: struct device {
1: - struct kobject kobj;
1: - struct device *parent;
1: - struct device_private *p;
1: - const char *init_name;
1: - const struct device_type *type;
1: - struct bus_type *bus;
1: - struct device_driver *driver;
1: - void *platform_data;
1: - void *driver_data;
1: - struct mutex mutex;
1: - struct dev_links_info links;
1: - struct dev_pm_info power;
1: - struct dev_pm_domain *pm_domain;
1: - struct irq_domain *msi_domain;
1: - struct list_head msi_list;
1: - const struct dma_map_ops *dma_ops;
1: - u64 *dma_mask;
1: - u64 coherent_dma_mask;
1: - u64 bus_dma_limit;
1: - long unsigned int dma_pfn_offset;
1: - struct device_dma_parameters *dma_parms;
1: - struct list_head dma_pools;
1: - struct dev_archdata archdata;
1: - struct device_node *of_node;
1: - struct fwnode_handle *fwnode;
1: - int numa_node;
1: - dev_t devt;
1: - u32 id;
1: - spinlock_t devres_lock;
1: - struct list_head devres_head;
1: - struct class *class;
1: - const struct attribute_group **groups;
1: - void (*release)(struct device *);
1: - struct iommu_group *iommu_group;
1: - struct iommu_fwspec *iommu_fwspec;
1: - struct iommu_param *iommu_param;
1: - bool offline_disabled: 1;
1: - bool offline: 1;
1: - bool of_node_reused: 1;
1: - bool state_synced: 1;
1: + struct kobject kobj;
1: + struct device *parent;
1: + struct device_private *p;
1: + const char *init_name;
1: + const struct device_type *type;
1: + struct bus_type *bus;
1: + struct device_driver *driver;
1: + void *platform_data;
1: + void *driver_data;
1: + struct mutex mutex;
1: + struct dev_links_info links;
1: + struct dev_pm_info power;
1: + struct dev_pm_domain *pm_domain;
1: + struct irq_domain *msi_domain;
1: + struct list_head msi_list;
1: + const struct dma_map_ops *dma_ops;
1: + u64 *dma_mask;
1: + u64 coherent_dma_mask;
1: + u64 bus_dma_limit;
1: + long unsigned int dma_pfn_offset;
1: + struct device_dma_parameters *dma_parms;
1: + struct list_head dma_pools;
1: + struct dev_archdata archdata;
1: + struct device_node *of_node;
1: + struct fwnode_handle *fwnode;
1: + int numa_node;
1: + dev_t devt;
1: + u32 id;
1: + spinlock_t devres_lock;
1: + struct list_head devres_head;
1: + struct class *class;
1: + const struct attribute_group **groups;
1: + void (*release)(struct device *);
1: + struct iommu_group *iommu_group;
1: + struct iommu_fwspec *iommu_fwspec;
1: + struct iommu_param *iommu_param;
1: + bool offline_disabled : 1;
1: + bool offline : 1;
1: + bool of_node_reused : 1;
1: + bool state_synced : 1;
1: };
1:
1: struct fwnode_endpoint {
1: - unsigned int port;
1: - unsigned int id;
1: - const struct fwnode_handle *local_fwnode;
1: + unsigned int port;
1: + unsigned int id;
1: + const struct fwnode_handle *local_fwnode;
1: };
1:
1: struct fwnode_reference_args {
1: - struct fwnode_handle *fwnode;
1: - unsigned int nargs;
1: - u64 args[8];
1: + struct fwnode_handle *fwnode;
1: + unsigned int nargs;
1: + u64 args[8];
1: };
1:
1: typedef void (*smp_call_func_t)(void *);
1:
1: struct __call_single_data {
1: - struct llist_node llist;
1: - smp_call_func_t func;
1: - void *info;
1: - unsigned int flags;
1: + struct llist_node llist;
1: + smp_call_func_t func;
1: + void *info;
1: + unsigned int flags;
1: };
1:
1: typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *);
1: @@ -5432,38 +5435,39 @@ typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *);
1: struct ctl_table_poll;
1:
1: struct ctl_table {
1: - const char *procname;
1: - void *data;
1: - int maxlen;
1: - umode_t mode;
1: - struct ctl_table *child;
1: - proc_handler *proc_handler;
1: - struct ctl_table_poll *poll;
1: - void *extra1;
1: - void *extra2;
1: + const char *procname;
1: + void *data;
1: + int maxlen;
1: + umode_t mode;
1: + struct ctl_table *child;
1: + proc_handler *proc_handler;
1: + struct ctl_table_poll *poll;
1: + void *extra1;
1: + void *extra2;
1: };
1:
1: struct ctl_table_poll {
1: - atomic_t event;
1: - wait_queue_head_t wait;
1: + atomic_t event;
1: + wait_queue_head_t wait;
1: };
1:
1: struct ctl_node {
1: - struct rb_node node;
1: - struct ctl_table_header *header;
1: + struct rb_node node;
1: + struct ctl_table_header *header;
1: };
1:
1: struct ctl_table_root {
1: - struct ctl_table_set default_set;
1: - struct ctl_table_set * (*lookup)(struct ctl_table_root *);
1: - void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *);
1: - int (*permissions)(struct ctl_table_header *, struct ctl_table *);
1: + struct ctl_table_set default_set;
1: + struct ctl_table_set *(*lookup)(struct ctl_table_root *);
1: + void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *,
1: + kgid_t *);
1: + int (*permissions)(struct ctl_table_header *, struct ctl_table *);
1: };
1:
1: enum umh_disable_depth {
1: - UMH_ENABLED = 0,
1: - UMH_FREEZING = 1,
1: - UMH_DISABLED = 2,
1: + UMH_ENABLED = 0,
1: + UMH_FREEZING = 1,
1: + UMH_DISABLED = 2,
1: };
1:
1: typedef __u64 Elf64_Addr;
1: @@ -5475,45 +5479,45 @@ typedef __u32 Elf64_Word;
1: typedef __u64 Elf64_Xword;
1:
1: struct elf64_sym {
1: - Elf64_Word st_name;
1: - unsigned char st_info;
1: - unsigned char st_other;
1: - Elf64_Half st_shndx;
1: - Elf64_Addr st_value;
1: - Elf64_Xword st_size;
1: + Elf64_Word st_name;
1: + unsigned char st_info;
1: + unsigned char st_other;
1: + Elf64_Half st_shndx;
1: + Elf64_Addr st_value;
1: + Elf64_Xword st_size;
1: };
1:
1: typedef struct elf64_sym Elf64_Sym;
1:
1: struct idr {
1: - struct xarray idr_rt;
1: - unsigned int idr_base;
1: - unsigned int idr_next;
1: + struct xarray idr_rt;
1: + unsigned int idr_base;
1: + unsigned int idr_next;
1: };
1:
1: struct kernfs_root;
1:
1: struct kernfs_elem_dir {
1: - long unsigned int subdirs;
1: - struct rb_root children;
1: - struct kernfs_root *root;
1: + long unsigned int subdirs;
1: + struct rb_root children;
1: + struct kernfs_root *root;
1: };
1:
1: struct kernfs_syscall_ops;
1:
1: struct kernfs_root {
1: - struct kernfs_node *kn;
1: - unsigned int flags;
1: - struct idr ino_idr;
1: - u32 last_id_lowbits;
1: - u32 id_highbits;
1: - struct kernfs_syscall_ops *syscall_ops;
1: - struct list_head supers;
1: - wait_queue_head_t deactivate_waitq;
1: + struct kernfs_node *kn;
1: + unsigned int flags;
1: + struct idr ino_idr;
1: + u32 last_id_lowbits;
1: + u32 id_highbits;
1: + struct kernfs_syscall_ops *syscall_ops;
1: + struct list_head supers;
1: + wait_queue_head_t deactivate_waitq;
1: };
1:
1: struct kernfs_elem_symlink {
1: - struct kernfs_node *target_kn;
1: + struct kernfs_node *target_kn;
1: };
1:
1: struct kernfs_ops;
1: @@ -5521,186 +5525,192 @@ struct kernfs_ops;
1: struct kernfs_open_node;
1:
1: struct kernfs_elem_attr {
1: - const struct kernfs_ops *ops;
1: - struct kernfs_open_node *open;
1: - loff_t size;
1: - struct kernfs_node *notify_next;
1: + const struct kernfs_ops *ops;
1: + struct kernfs_open_node *open;
1: + loff_t size;
1: + struct kernfs_node *notify_next;
1: };
1:
1: struct kernfs_iattrs;
1:
1: struct kernfs_node {
1: - atomic_t count;
1: - atomic_t active;
1: - struct kernfs_node *parent;
1: - const char *name;
1: - struct rb_node rb;
1: - const void *ns;
1: - unsigned int hash;
1: - union {
1: - struct kernfs_elem_dir dir;
1: - struct kernfs_elem_symlink symlink;
1: - struct kernfs_elem_attr attr;
1: - };
1: - void *priv;
1: - u64 id;
1: - short unsigned int flags;
1: - umode_t mode;
1: - struct kernfs_iattrs *iattr;
1: + atomic_t count;
1: + atomic_t active;
1: + struct kernfs_node *parent;
1: + const char *name;
1: + struct rb_node rb;
1: + const void *ns;
1: + unsigned int hash;
1: + union {
1: + struct kernfs_elem_dir dir;
1: + struct kernfs_elem_symlink symlink;
1: + struct kernfs_elem_attr attr;
1: + };
1: + void *priv;
1: + u64 id;
1: + short unsigned int flags;
1: + umode_t mode;
1: + struct kernfs_iattrs *iattr;
1: };
1:
1: struct kernfs_open_file;
1:
1: struct kernfs_ops {
1: - int (*open)(struct kernfs_open_file *);
1: - void (*release)(struct kernfs_open_file *);
1: - int (*seq_show)(struct seq_file *, void *);
1: - void * (*seq_start)(struct seq_file *, loff_t *);
1: - void * (*seq_next)(struct seq_file *, void *, loff_t *);
1: - void (*seq_stop)(struct seq_file *, void *);
1: - ssize_t (*read)(struct kernfs_open_file *, char *, size_t, loff_t);
1: - size_t atomic_write_len;
1: - bool prealloc;
1: - ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
1: - __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
1: - int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *);
1: + int (*open)(struct kernfs_open_file *);
1: + void (*release)(struct kernfs_open_file *);
1: + int (*seq_show)(struct seq_file *, void *);
1: + void *(*seq_start)(struct seq_file *, loff_t *);
1: + void *(*seq_next)(struct seq_file *, void *, loff_t *);
1: + void (*seq_stop)(struct seq_file *, void *);
1: + ssize_t (*read)(struct kernfs_open_file *, char *, size_t, loff_t);
1: + size_t atomic_write_len;
1: + bool prealloc;
1: + ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
1: + __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
1: + int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *);
1: };
1:
1: struct kernfs_syscall_ops {
1: - int (*show_options)(struct seq_file *, struct kernfs_root *);
1: - int (*mkdir)(struct kernfs_node *, const char *, umode_t);
1: - int (*rmdir)(struct kernfs_node *);
1: - int (*rename)(struct kernfs_node *, struct kernfs_node *, const char *);
1: - int (*show_path)(struct seq_file *, struct kernfs_node *, struct kernfs_root *);
1: + int (*show_options)(struct seq_file *, struct kernfs_root *);
1: + int (*mkdir)(struct kernfs_node *, const char *, umode_t);
1: + int (*rmdir)(struct kernfs_node *);
1: + int (*rename)(struct kernfs_node *, struct kernfs_node *, const char *);
1: + int (*show_path)(struct seq_file *, struct kernfs_node *,
1: + struct kernfs_root *);
1: };
1:
1: struct seq_operations;
1:
1: struct seq_file {
1: - char *buf;
1: - size_t size;
1: - size_t from;
1: - size_t count;
1: - size_t pad_until;
1: - loff_t index;
1: - loff_t read_pos;
1: - u64 version;
1: - struct mutex lock;
1: - const struct seq_operations *op;
1: - int poll_event;
1: - const struct file *file;
1: - void *private;
1: + char *buf;
1: + size_t size;
1: + size_t from;
1: + size_t count;
1: + size_t pad_until;
1: + loff_t index;
1: + loff_t read_pos;
1: + u64 version;
1: + struct mutex lock;
1: + const struct seq_operations *op;
1: + int poll_event;
1: + const struct file *file;
1: + void *private;
1: };
1:
1: struct kernfs_open_file {
1: - struct kernfs_node *kn;
1: - struct file *file;
1: - struct seq_file *seq_file;
1: - void *priv;
1: - struct mutex mutex;
1: - struct mutex prealloc_mutex;
1: - int event;
1: - struct list_head list;
1: - char *prealloc_buf;
1: - size_t atomic_write_len;
1: - bool mmapped: 1;
1: - bool released: 1;
1: - const struct vm_operations_struct *vm_ops;
1: -};
1: -
1: -typedef void (*poll_queue_proc)(struct file *, wait_queue_head_t *, struct poll_table_struct *);
1: + struct kernfs_node *kn;
1: + struct file *file;
1: + struct seq_file *seq_file;
1: + void *priv;
1: + struct mutex mutex;
1: + struct mutex prealloc_mutex;
1: + int event;
1: + struct list_head list;
1: + char *prealloc_buf;
1: + size_t atomic_write_len;
1: + bool mmapped : 1;
1: + bool released : 1;
1: + const struct vm_operations_struct *vm_ops;
1: +};
1: +
1: +typedef void (*poll_queue_proc)(struct file *, wait_queue_head_t *,
1: + struct poll_table_struct *);
1:
1: struct poll_table_struct {
1: - poll_queue_proc _qproc;
1: - __poll_t _key;
1: + poll_queue_proc _qproc;
1: + __poll_t _key;
1: };
1:
1: enum kobj_ns_type {
1: - KOBJ_NS_TYPE_NONE = 0,
1: - KOBJ_NS_TYPE_NET = 1,
1: - KOBJ_NS_TYPES = 2,
1: + KOBJ_NS_TYPE_NONE = 0,
1: + KOBJ_NS_TYPE_NET = 1,
1: + KOBJ_NS_TYPES = 2,
1: };
1:
1: struct sock;
1:
1: struct kobj_ns_type_operations {
1: - enum kobj_ns_type type;
1: - bool (*current_may_mount)();
1: - void * (*grab_current_ns)();
1: - const void * (*netlink_ns)(struct sock *);
1: - const void * (*initial_ns)();
1: - void (*drop_ns)(void *);
1: + enum kobj_ns_type type;
1: + bool (*current_may_mount)();
1: + void *(*grab_current_ns)();
1: + const void *(*netlink_ns)(struct sock *);
1: + const void *(*initial_ns)();
1: + void (*drop_ns)(void *);
1: };
1:
1: struct attribute {
1: - const char *name;
1: - umode_t mode;
1: + const char *name;
1: + umode_t mode;
1: };
1:
1: struct bin_attribute;
1:
1: struct attribute_group {
1: - const char *name;
1: - umode_t (*is_visible)(struct kobject *, struct attribute *, int);
1: - umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int);
1: - struct attribute **attrs;
1: - struct bin_attribute **bin_attrs;
1: + const char *name;
1: + umode_t (*is_visible)(struct kobject *, struct attribute *, int);
1: + umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int);
1: + struct attribute **attrs;
1: + struct bin_attribute **bin_attrs;
1: };
1:
1: struct bin_attribute {
1: - struct attribute attr;
1: - size_t size;
1: - void *private;
1: - ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t);
1: - ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t);
1: - int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *);
1: + struct attribute attr;
1: + size_t size;
1: + void *private;
1: + ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *,
1: + char *, loff_t, size_t);
1: + ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *,
1: + char *, loff_t, size_t);
1: + int (*mmap)(struct file *, struct kobject *, struct bin_attribute *,
1: + struct vm_area_struct *);
1: };
1:
1: struct sysfs_ops {
1: - ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: - ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
1: + ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: + ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
1: };
1:
1: struct kset_uevent_ops;
1:
1: struct kset {
1: - struct list_head list;
1: - spinlock_t list_lock;
1: - struct kobject kobj;
1: - const struct kset_uevent_ops *uevent_ops;
1: + struct list_head list;
1: + spinlock_t list_lock;
1: + struct kobject kobj;
1: + const struct kset_uevent_ops *uevent_ops;
1: };
1:
1: struct kobj_type {
1: - void (*release)(struct kobject *);
1: - const struct sysfs_ops *sysfs_ops;
1: - struct attribute **default_attrs;
1: - const struct attribute_group **default_groups;
1: - const struct kobj_ns_type_operations * (*child_ns_type)(struct kobject *);
1: - const void * (*namespace)(struct kobject *);
1: - void (*get_ownership)(struct kobject *, kuid_t *, kgid_t *);
1: + void (*release)(struct kobject *);
1: + const struct sysfs_ops *sysfs_ops;
1: + struct attribute **default_attrs;
1: + const struct attribute_group **default_groups;
1: + const struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *);
1: + const void *(*namespace)(struct kobject *);
1: + void (*get_ownership)(struct kobject *, kuid_t *, kgid_t *);
1: };
1:
1: struct kobj_uevent_env {
1: - char *argv[3];
1: - char *envp[32];
1: - int envp_idx;
1: - char buf[2048];
1: - int buflen;
1: + char *argv[3];
1: + char *envp[32];
1: + int envp_idx;
1: + char buf[2048];
1: + int buflen;
1: };
1:
1: struct kset_uevent_ops {
1: - int (* const filter)(struct kset *, struct kobject *);
1: - const char * (* const name)(struct kset *, struct kobject *);
1: - int (* const uevent)(struct kset *, struct kobject *, struct kobj_uevent_env *);
1: + int (*const filter)(struct kset *, struct kobject *);
1: + const char *(*const name)(struct kset *, struct kobject *);
1: + int (*const uevent)(struct kset *, struct kobject *,
1: + struct kobj_uevent_env *);
1: };
1:
1: struct kernel_param;
1:
1: struct kernel_param_ops {
1: - unsigned int flags;
1: - int (*set)(const char *, const struct kernel_param *);
1: - int (*get)(char *, const struct kernel_param *);
1: - void (*free)(void *);
1: + unsigned int flags;
1: + int (*set)(const char *, const struct kernel_param *);
1: + int (*get)(char *, const struct kernel_param *);
1: + void (*free)(void *);
1: };
1:
1: struct kparam_string;
1: @@ -5708,78 +5718,78 @@ struct kparam_string;
1: struct kparam_array;
1:
1: struct kernel_param {
1: - const char *name;
1: - struct module *mod;
1: - const struct kernel_param_ops *ops;
1: - const u16 perm;
1: - s8 level;
1: - u8 flags;
1: - union {
1: - void *arg;
1: - const struct kparam_string *str;
1: - const struct kparam_array *arr;
1: - };
1: + const char *name;
1: + struct module *mod;
1: + const struct kernel_param_ops *ops;
1: + const u16 perm;
1: + s8 level;
1: + u8 flags;
1: + union {
1: + void *arg;
1: + const struct kparam_string *str;
1: + const struct kparam_array *arr;
1: + };
1: };
1:
1: struct kparam_string {
1: - unsigned int maxlen;
1: - char *string;
1: + unsigned int maxlen;
1: + char *string;
1: };
1:
1: struct kparam_array {
1: - unsigned int max;
1: - unsigned int elemsize;
1: - unsigned int *num;
1: - const struct kernel_param_ops *ops;
1: - void *elem;
1: + unsigned int max;
1: + unsigned int elemsize;
1: + unsigned int *num;
1: + const struct kernel_param_ops *ops;
1: + void *elem;
1: };
1:
1: enum module_state {
1: - MODULE_STATE_LIVE = 0,
1: - MODULE_STATE_COMING = 1,
1: - MODULE_STATE_GOING = 2,
1: - MODULE_STATE_UNFORMED = 3,
1: + MODULE_STATE_LIVE = 0,
1: + MODULE_STATE_COMING = 1,
1: + MODULE_STATE_GOING = 2,
1: + MODULE_STATE_UNFORMED = 3,
1: };
1:
1: struct module_param_attrs;
1:
1: struct module_kobject {
1: - struct kobject kobj;
1: - struct module *mod;
1: - struct kobject *drivers_dir;
1: - struct module_param_attrs *mp;
1: - struct completion *kobj_completion;
1: + struct kobject kobj;
1: + struct module *mod;
1: + struct kobject *drivers_dir;
1: + struct module_param_attrs *mp;
1: + struct completion *kobj_completion;
1: };
1:
1: struct latch_tree_node {
1: - struct rb_node node[2];
1: + struct rb_node node[2];
1: };
1:
1: struct mod_tree_node {
1: - struct module *mod;
1: - struct latch_tree_node node;
1: + struct module *mod;
1: + struct latch_tree_node node;
1: };
1:
1: struct module_layout {
1: - void *base;
1: - unsigned int size;
1: - unsigned int text_size;
1: - unsigned int ro_size;
1: - unsigned int ro_after_init_size;
1: - struct mod_tree_node mtn;
1: + void *base;
1: + unsigned int size;
1: + unsigned int text_size;
1: + unsigned int ro_size;
1: + unsigned int ro_after_init_size;
1: + struct mod_tree_node mtn;
1: };
1:
1: struct mod_arch_specific {
1: - unsigned int num_orcs;
1: - int *orc_unwind_ip;
1: - struct orc_entry *orc_unwind;
1: + unsigned int num_orcs;
1: + int *orc_unwind_ip;
1: + struct orc_entry *orc_unwind;
1: };
1:
1: struct mod_kallsyms {
1: - Elf64_Sym *symtab;
1: - unsigned int num_symtab;
1: - char *strtab;
1: - char *typetab;
1: + Elf64_Sym *symtab;
1: + unsigned int num_symtab;
1: + char *strtab;
1: + char *typetab;
1: };
1:
1: struct module_attribute;
1: @@ -5795,96 +5805,97 @@ struct trace_eval_map;
1: struct error_injection_entry;
1:
1: struct module {
1: - enum module_state state;
1: - struct list_head list;
1: - char name[56];
1: - struct module_kobject mkobj;
1: - struct module_attribute *modinfo_attrs;
1: - const char *version;
1: - const char *srcversion;
1: - struct kobject *holders_dir;
1: - const struct kernel_symbol *syms;
1: - const s32 *crcs;
1: - unsigned int num_syms;
1: - struct mutex param_lock;
1: - struct kernel_param *kp;
1: - unsigned int num_kp;
1: - unsigned int num_gpl_syms;
1: - const struct kernel_symbol *gpl_syms;
1: - const s32 *gpl_crcs;
1: - bool async_probe_requested;
1: - const struct kernel_symbol *gpl_future_syms;
1: - const s32 *gpl_future_crcs;
1: - unsigned int num_gpl_future_syms;
1: - unsigned int num_exentries;
1: - struct exception_table_entry *extable;
1: - int (*init)();
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct module_layout core_layout;
1: - struct module_layout init_layout;
1: - struct mod_arch_specific arch;
1: - long unsigned int taints;
1: - unsigned int num_bugs;
1: - struct list_head bug_list;
1: - struct bug_entry *bug_table;
1: - struct mod_kallsyms *kallsyms;
1: - struct mod_kallsyms core_kallsyms;
1: - struct module_sect_attrs *sect_attrs;
1: - struct module_notes_attrs *notes_attrs;
1: - char *args;
1: - void *percpu;
1: - unsigned int percpu_size;
1: - unsigned int num_tracepoints;
1: - tracepoint_ptr_t *tracepoints_ptrs;
1: - unsigned int num_srcu_structs;
1: - struct srcu_struct **srcu_struct_ptrs;
1: - struct jump_entry *jump_entries;
1: - unsigned int num_jump_entries;
1: - unsigned int num_trace_bprintk_fmt;
1: - const char **trace_bprintk_fmt_start;
1: - struct trace_event_call **trace_events;
1: - unsigned int num_trace_events;
1: - struct trace_eval_map **trace_evals;
1: - unsigned int num_trace_evals;
1: - struct list_head source_list;
1: - struct list_head target_list;
1: - void (*exit)();
1: - atomic_t refcnt;
1: - struct error_injection_entry *ei_funcs;
1: - unsigned int num_ei_funcs;
1: + enum module_state state;
1: + struct list_head list;
1: + char name[56];
1: + struct module_kobject mkobj;
1: + struct module_attribute *modinfo_attrs;
1: + const char *version;
1: + const char *srcversion;
1: + struct kobject *holders_dir;
1: + const struct kernel_symbol *syms;
1: + const s32 *crcs;
1: + unsigned int num_syms;
1: + struct mutex param_lock;
1: + struct kernel_param *kp;
1: + unsigned int num_kp;
1: + unsigned int num_gpl_syms;
1: + const struct kernel_symbol *gpl_syms;
1: + const s32 *gpl_crcs;
1: + bool async_probe_requested;
1: + const struct kernel_symbol *gpl_future_syms;
1: + const s32 *gpl_future_crcs;
1: + unsigned int num_gpl_future_syms;
1: + unsigned int num_exentries;
1: + struct exception_table_entry *extable;
1: + int (*init)();
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct module_layout core_layout;
1: + struct module_layout init_layout;
1: + struct mod_arch_specific arch;
1: + long unsigned int taints;
1: + unsigned int num_bugs;
1: + struct list_head bug_list;
1: + struct bug_entry *bug_table;
1: + struct mod_kallsyms *kallsyms;
1: + struct mod_kallsyms core_kallsyms;
1: + struct module_sect_attrs *sect_attrs;
1: + struct module_notes_attrs *notes_attrs;
1: + char *args;
1: + void *percpu;
1: + unsigned int percpu_size;
1: + unsigned int num_tracepoints;
1: + tracepoint_ptr_t *tracepoints_ptrs;
1: + unsigned int num_srcu_structs;
1: + struct srcu_struct **srcu_struct_ptrs;
1: + struct jump_entry *jump_entries;
1: + unsigned int num_jump_entries;
1: + unsigned int num_trace_bprintk_fmt;
1: + const char **trace_bprintk_fmt_start;
1: + struct trace_event_call **trace_events;
1: + unsigned int num_trace_events;
1: + struct trace_eval_map **trace_evals;
1: + unsigned int num_trace_evals;
1: + struct list_head source_list;
1: + struct list_head target_list;
1: + void (*exit)();
1: + atomic_t refcnt;
1: + struct error_injection_entry *ei_funcs;
1: + unsigned int num_ei_funcs;
1: };
1:
1: struct error_injection_entry {
1: - long unsigned int addr;
1: - int etype;
1: + long unsigned int addr;
1: + int etype;
1: };
1:
1: struct module_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *);
1: - ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t);
1: - void (*setup)(struct module *, const char *);
1: - int (*test)(struct module *);
1: - void (*free)(struct module *);
1: + struct attribute attr;
1: + ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *);
1: + ssize_t (*store)(struct module_attribute *, struct module_kobject *,
1: + const char *, size_t);
1: + void (*setup)(struct module *, const char *);
1: + int (*test)(struct module *);
1: + void (*free)(struct module *);
1: };
1:
1: struct exception_table_entry {
1: - int insn;
1: - int fixup;
1: - int handler;
1: + int insn;
1: + int fixup;
1: + int handler;
1: };
1:
1: struct trace_event_functions;
1:
1: struct trace_event {
1: - struct hlist_node node;
1: - struct list_head list;
1: - int type;
1: - struct trace_event_functions *funcs;
1: + struct hlist_node node;
1: + struct list_head list;
1: + int type;
1: + struct trace_event_functions *funcs;
1: };
1:
1: struct trace_event_class;
1: @@ -5892,63 +5903,63 @@ struct trace_event_class;
1: struct bpf_prog_array;
1:
1: struct trace_event_call {
1: - struct list_head list;
1: - struct trace_event_class *class;
1: - union {
1: - char *name;
1: - struct tracepoint *tp;
1: - };
1: - struct trace_event event;
1: - char *print_fmt;
1: - struct event_filter *filter;
1: - void *mod;
1: - void *data;
1: - int flags;
1: - int perf_refcount;
1: - struct hlist_head *perf_events;
1: - struct bpf_prog_array *prog_array;
1: - int (*perf_perm)(struct trace_event_call *, struct perf_event *);
1: + struct list_head list;
1: + struct trace_event_class *class;
1: + union {
1: + char *name;
1: + struct tracepoint *tp;
1: + };
1: + struct trace_event event;
1: + char *print_fmt;
1: + struct event_filter *filter;
1: + void *mod;
1: + void *data;
1: + int flags;
1: + int perf_refcount;
1: + struct hlist_head *perf_events;
1: + struct bpf_prog_array *prog_array;
1: + int (*perf_perm)(struct trace_event_call *, struct perf_event *);
1: };
1:
1: struct trace_eval_map {
1: - const char *system;
1: - const char *eval_string;
1: - long unsigned int eval_value;
1: + const char *system;
1: + const char *eval_string;
1: + long unsigned int eval_value;
1: };
1:
1: struct fs_pin;
1:
1: struct pid_namespace {
1: - struct kref kref;
1: - struct idr idr;
1: - struct callback_head rcu;
1: - unsigned int pid_allocated;
1: - struct task_struct *child_reaper;
1: - struct kmem_cache *pid_cachep;
1: - unsigned int level;
1: - struct pid_namespace *parent;
1: - struct vfsmount *proc_mnt;
1: - struct dentry *proc_self;
1: - struct dentry *proc_thread_self;
1: - struct fs_pin *bacct;
1: - struct user_namespace *user_ns;
1: - struct ucounts *ucounts;
1: - struct work_struct proc_work;
1: - kgid_t pid_gid;
1: - int hide_pid;
1: - int reboot;
1: - struct ns_common ns;
1: + struct kref kref;
1: + struct idr idr;
1: + struct callback_head rcu;
1: + unsigned int pid_allocated;
1: + struct task_struct *child_reaper;
1: + struct kmem_cache *pid_cachep;
1: + unsigned int level;
1: + struct pid_namespace *parent;
1: + struct vfsmount *proc_mnt;
1: + struct dentry *proc_self;
1: + struct dentry *proc_thread_self;
1: + struct fs_pin *bacct;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct work_struct proc_work;
1: + kgid_t pid_gid;
1: + int hide_pid;
1: + int reboot;
1: + struct ns_common ns;
1: };
1:
1: struct rlimit {
1: - __kernel_ulong_t rlim_cur;
1: - __kernel_ulong_t rlim_max;
1: + __kernel_ulong_t rlim_cur;
1: + __kernel_ulong_t rlim_max;
1: };
1:
1: struct task_cputime {
1: - u64 stime;
1: - u64 utime;
1: - long long unsigned int sum_exec_runtime;
1: + u64 stime;
1: + u64 utime;
1: + long long unsigned int sum_exec_runtime;
1: };
1:
1: typedef void __signalfn_t(int);
1: @@ -5960,64 +5971,64 @@ typedef void __restorefn_t();
1: typedef __restorefn_t *__sigrestore_t;
1:
1: struct ratelimit_state {
1: - raw_spinlock_t lock;
1: - int interval;
1: - int burst;
1: - int printed;
1: - int missed;
1: - long unsigned int begin;
1: - long unsigned int flags;
1: + raw_spinlock_t lock;
1: + int interval;
1: + int burst;
1: + int printed;
1: + int missed;
1: + long unsigned int begin;
1: + long unsigned int flags;
1: };
1:
1: struct user_struct {
1: - refcount_t __count;
1: - atomic_t processes;
1: - atomic_t sigpending;
1: - atomic_long_t epoll_watches;
1: - long unsigned int mq_bytes;
1: - long unsigned int locked_shm;
1: - long unsigned int unix_inflight;
1: - atomic_long_t pipe_bufs;
1: - struct hlist_node uidhash_node;
1: - kuid_t uid;
1: - atomic_long_t locked_vm;
1: - struct ratelimit_state ratelimit;
1: + refcount_t __count;
1: + atomic_t processes;
1: + atomic_t sigpending;
1: + atomic_long_t epoll_watches;
1: + long unsigned int mq_bytes;
1: + long unsigned int locked_shm;
1: + long unsigned int unix_inflight;
1: + atomic_long_t pipe_bufs;
1: + struct hlist_node uidhash_node;
1: + kuid_t uid;
1: + atomic_long_t locked_vm;
1: + struct ratelimit_state ratelimit;
1: };
1:
1: struct sigaction {
1: - __sighandler_t sa_handler;
1: - long unsigned int sa_flags;
1: - __sigrestore_t sa_restorer;
1: - sigset_t sa_mask;
1: + __sighandler_t sa_handler;
1: + long unsigned int sa_flags;
1: + __sigrestore_t sa_restorer;
1: + sigset_t sa_mask;
1: };
1:
1: struct k_sigaction {
1: - struct sigaction sa;
1: + struct sigaction sa;
1: };
1:
1: struct cpu_itimer {
1: - u64 expires;
1: - u64 incr;
1: + u64 expires;
1: + u64 incr;
1: };
1:
1: struct task_cputime_atomic {
1: - atomic64_t utime;
1: - atomic64_t stime;
1: - atomic64_t sum_exec_runtime;
1: + atomic64_t utime;
1: + atomic64_t stime;
1: + atomic64_t sum_exec_runtime;
1: };
1:
1: struct thread_group_cputimer {
1: - struct task_cputime_atomic cputime_atomic;
1: + struct task_cputime_atomic cputime_atomic;
1: };
1:
1: struct pacct_struct {
1: - int ac_flag;
1: - long int ac_exitcode;
1: - long unsigned int ac_mem;
1: - u64 ac_utime;
1: - u64 ac_stime;
1: - long unsigned int ac_minflt;
1: - long unsigned int ac_majflt;
1: + int ac_flag;
1: + long int ac_exitcode;
1: + long unsigned int ac_mem;
1: + u64 ac_utime;
1: + u64 ac_stime;
1: + long unsigned int ac_minflt;
1: + long unsigned int ac_majflt;
1: };
1:
1: struct tty_struct;
1: @@ -6027,66 +6038,66 @@ struct taskstats;
1: struct tty_audit_buf;
1:
1: struct signal_struct {
1: - refcount_t sigcnt;
1: - atomic_t live;
1: - int nr_threads;
1: - struct list_head thread_head;
1: - wait_queue_head_t wait_chldexit;
1: - struct task_struct *curr_target;
1: - struct sigpending shared_pending;
1: - struct hlist_head multiprocess;
1: - int group_exit_code;
1: - int notify_count;
1: - struct task_struct *group_exit_task;
1: - int group_stop_count;
1: - unsigned int flags;
1: - unsigned int is_child_subreaper: 1;
1: - unsigned int has_child_subreaper: 1;
1: - int posix_timer_id;
1: - struct list_head posix_timers;
1: - struct hrtimer real_timer;
1: - ktime_t it_real_incr;
1: - struct cpu_itimer it[2];
1: - struct thread_group_cputimer cputimer;
1: - struct posix_cputimers posix_cputimers;
1: - struct pid *pids[4];
1: - struct pid *tty_old_pgrp;
1: - int leader;
1: - struct tty_struct *tty;
1: - seqlock_t stats_lock;
1: - u64 utime;
1: - u64 stime;
1: - u64 cutime;
1: - u64 cstime;
1: - u64 gtime;
1: - u64 cgtime;
1: - struct prev_cputime prev_cputime;
1: - long unsigned int nvcsw;
1: - long unsigned int nivcsw;
1: - long unsigned int cnvcsw;
1: - long unsigned int cnivcsw;
1: - long unsigned int min_flt;
1: - long unsigned int maj_flt;
1: - long unsigned int cmin_flt;
1: - long unsigned int cmaj_flt;
1: - long unsigned int inblock;
1: - long unsigned int oublock;
1: - long unsigned int cinblock;
1: - long unsigned int coublock;
1: - long unsigned int maxrss;
1: - long unsigned int cmaxrss;
1: - struct task_io_accounting ioac;
1: - long long unsigned int sum_sched_runtime;
1: - struct rlimit rlim[16];
1: - struct pacct_struct pacct;
1: - struct taskstats *stats;
1: - unsigned int audit_tty;
1: - struct tty_audit_buf *tty_audit_buf;
1: - bool oom_flag_origin;
1: - short int oom_score_adj;
1: - short int oom_score_adj_min;
1: - struct mm_struct *oom_mm;
1: - struct mutex cred_guard_mutex;
1: + refcount_t sigcnt;
1: + atomic_t live;
1: + int nr_threads;
1: + struct list_head thread_head;
1: + wait_queue_head_t wait_chldexit;
1: + struct task_struct *curr_target;
1: + struct sigpending shared_pending;
1: + struct hlist_head multiprocess;
1: + int group_exit_code;
1: + int notify_count;
1: + struct task_struct *group_exit_task;
1: + int group_stop_count;
1: + unsigned int flags;
1: + unsigned int is_child_subreaper : 1;
1: + unsigned int has_child_subreaper : 1;
1: + int posix_timer_id;
1: + struct list_head posix_timers;
1: + struct hrtimer real_timer;
1: + ktime_t it_real_incr;
1: + struct cpu_itimer it[2];
1: + struct thread_group_cputimer cputimer;
1: + struct posix_cputimers posix_cputimers;
1: + struct pid *pids[4];
1: + struct pid *tty_old_pgrp;
1: + int leader;
1: + struct tty_struct *tty;
1: + seqlock_t stats_lock;
1: + u64 utime;
1: + u64 stime;
1: + u64 cutime;
1: + u64 cstime;
1: + u64 gtime;
1: + u64 cgtime;
1: + struct prev_cputime prev_cputime;
1: + long unsigned int nvcsw;
1: + long unsigned int nivcsw;
1: + long unsigned int cnvcsw;
1: + long unsigned int cnivcsw;
1: + long unsigned int min_flt;
1: + long unsigned int maj_flt;
1: + long unsigned int cmin_flt;
1: + long unsigned int cmaj_flt;
1: + long unsigned int inblock;
1: + long unsigned int oublock;
1: + long unsigned int cinblock;
1: + long unsigned int coublock;
1: + long unsigned int maxrss;
1: + long unsigned int cmaxrss;
1: + struct task_io_accounting ioac;
1: + long long unsigned int sum_sched_runtime;
1: + struct rlimit rlim[16];
1: + struct pacct_struct pacct;
1: + struct taskstats *stats;
1: + unsigned int audit_tty;
1: + struct tty_audit_buf *tty_audit_buf;
1: + bool oom_flag_origin;
1: + short int oom_score_adj;
1: + short int oom_score_adj_min;
1: + struct mm_struct *oom_mm;
1: + struct mutex cred_guard_mutex;
1: };
1:
1: typedef int32_t key_serial_t;
1: @@ -6098,29 +6109,29 @@ struct key_type;
1: struct key_tag;
1:
1: struct keyring_index_key {
1: - long unsigned int hash;
1: - union {
1: - struct {
1: - u16 desc_len;
1: - char desc[6];
1: - };
1: - long unsigned int x;
1: - };
1: - struct key_type *type;
1: - struct key_tag *domain_tag;
1: - const char *description;
1: + long unsigned int hash;
1: + union {
1: + struct {
1: + u16 desc_len;
1: + char desc[6];
1: + };
1: + long unsigned int x;
1: + };
1: + struct key_type *type;
1: + struct key_tag *domain_tag;
1: + const char *description;
1: };
1:
1: union key_payload {
1: - void *rcu_data0;
1: - void *data[4];
1: + void *rcu_data0;
1: + void *data[4];
1: };
1:
1: struct assoc_array_ptr;
1:
1: struct assoc_array {
1: - struct assoc_array_ptr *root;
1: - long unsigned int nr_leaves_on_tree;
1: + struct assoc_array_ptr *root;
1: + long unsigned int nr_leaves_on_tree;
1: };
1:
1: struct key_user;
1: @@ -6128,45 +6139,45 @@ struct key_user;
1: struct key_restriction;
1:
1: struct key {
1: - refcount_t usage;
1: - key_serial_t serial;
1: - union {
1: - struct list_head graveyard_link;
1: - struct rb_node serial_node;
1: - };
1: - struct rw_semaphore sem;
1: - struct key_user *user;
1: - void *security;
1: - union {
1: - time64_t expiry;
1: - time64_t revoked_at;
1: - };
1: - time64_t last_used_at;
1: - kuid_t uid;
1: - kgid_t gid;
1: - key_perm_t perm;
1: - short unsigned int quotalen;
1: - short unsigned int datalen;
1: - short int state;
1: - long unsigned int flags;
1: - union {
1: - struct keyring_index_key index_key;
1: - struct {
1: - long unsigned int hash;
1: - long unsigned int len_desc;
1: - struct key_type *type;
1: - struct key_tag *domain_tag;
1: - char *description;
1: - };
1: - };
1: - union {
1: - union key_payload payload;
1: - struct {
1: - struct list_head name_link;
1: - struct assoc_array keys;
1: - };
1: - };
1: - struct key_restriction *restrict_link;
1: + refcount_t usage;
1: + key_serial_t serial;
1: + union {
1: + struct list_head graveyard_link;
1: + struct rb_node serial_node;
1: + };
1: + struct rw_semaphore sem;
1: + struct key_user *user;
1: + void *security;
1: + union {
1: + time64_t expiry;
1: + time64_t revoked_at;
1: + };
1: + time64_t last_used_at;
1: + kuid_t uid;
1: + kgid_t gid;
1: + key_perm_t perm;
1: + short unsigned int quotalen;
1: + short unsigned int datalen;
1: + short int state;
1: + long unsigned int flags;
1: + union {
1: + struct keyring_index_key index_key;
1: + struct {
1: + long unsigned int hash;
1: + long unsigned int len_desc;
1: + struct key_type *type;
1: + struct key_tag *domain_tag;
1: + char *description;
1: + };
1: + };
1: + union {
1: + union key_payload payload;
1: + struct {
1: + struct list_head name_link;
1: + struct assoc_array keys;
1: + };
1: + };
1: + struct key_restriction *restrict_link;
1: };
1:
1: struct uts_namespace;
1: @@ -6180,114 +6191,114 @@ struct net;
1: struct cgroup_namespace;
1:
1: struct nsproxy {
1: - atomic_t count;
1: - struct uts_namespace *uts_ns;
1: - struct ipc_namespace *ipc_ns;
1: - struct mnt_namespace *mnt_ns;
1: - struct pid_namespace *pid_ns_for_children;
1: - struct net *net_ns;
1: - struct cgroup_namespace *cgroup_ns;
1: + atomic_t count;
1: + struct uts_namespace *uts_ns;
1: + struct ipc_namespace *ipc_ns;
1: + struct mnt_namespace *mnt_ns;
1: + struct pid_namespace *pid_ns_for_children;
1: + struct net *net_ns;
1: + struct cgroup_namespace *cgroup_ns;
1: };
1:
1: struct sighand_struct {
1: - spinlock_t siglock;
1: - refcount_t count;
1: - wait_queue_head_t signalfd_wqh;
1: - struct k_sigaction action[64];
1: + spinlock_t siglock;
1: + refcount_t count;
1: + wait_queue_head_t signalfd_wqh;
1: + struct k_sigaction action[64];
1: };
1:
1: struct bio;
1:
1: struct bio_list {
1: - struct bio *head;
1: - struct bio *tail;
1: + struct bio *head;
1: + struct bio *tail;
1: };
1:
1: struct blk_plug {
1: - struct list_head mq_list;
1: - struct list_head cb_list;
1: - short unsigned int rq_count;
1: - bool multiple_queues;
1: + struct list_head mq_list;
1: + struct list_head cb_list;
1: + short unsigned int rq_count;
1: + bool multiple_queues;
1: };
1:
1: struct reclaim_state {
1: - long unsigned int reclaimed_slab;
1: + long unsigned int reclaimed_slab;
1: };
1:
1: typedef int congested_fn(void *, int);
1:
1: struct fprop_local_percpu {
1: - struct percpu_counter events;
1: - unsigned int period;
1: - raw_spinlock_t lock;
1: + struct percpu_counter events;
1: + unsigned int period;
1: + raw_spinlock_t lock;
1: };
1:
1: enum wb_reason {
1: - WB_REASON_BACKGROUND = 0,
1: - WB_REASON_VMSCAN = 1,
1: - WB_REASON_SYNC = 2,
1: - WB_REASON_PERIODIC = 3,
1: - WB_REASON_LAPTOP_TIMER = 4,
1: - WB_REASON_FREE_MORE_MEM = 5,
1: - WB_REASON_FS_FREE_SPACE = 6,
1: - WB_REASON_FORKER_THREAD = 7,
1: - WB_REASON_FOREIGN_FLUSH = 8,
1: - WB_REASON_MAX = 9,
1: + WB_REASON_BACKGROUND = 0,
1: + WB_REASON_VMSCAN = 1,
1: + WB_REASON_SYNC = 2,
1: + WB_REASON_PERIODIC = 3,
1: + WB_REASON_LAPTOP_TIMER = 4,
1: + WB_REASON_FREE_MORE_MEM = 5,
1: + WB_REASON_FS_FREE_SPACE = 6,
1: + WB_REASON_FORKER_THREAD = 7,
1: + WB_REASON_FOREIGN_FLUSH = 8,
1: + WB_REASON_MAX = 9,
1: };
1:
1: struct bdi_writeback_congested;
1:
1: struct bdi_writeback {
1: - struct backing_dev_info *bdi;
1: - long unsigned int state;
1: - long unsigned int last_old_flush;
1: - struct list_head b_dirty;
1: - struct list_head b_io;
1: - struct list_head b_more_io;
1: - struct list_head b_dirty_time;
1: - spinlock_t list_lock;
1: - struct percpu_counter stat[4];
1: - struct bdi_writeback_congested *congested;
1: - long unsigned int bw_time_stamp;
1: - long unsigned int dirtied_stamp;
1: - long unsigned int written_stamp;
1: - long unsigned int write_bandwidth;
1: - long unsigned int avg_write_bandwidth;
1: - long unsigned int dirty_ratelimit;
1: - long unsigned int balanced_dirty_ratelimit;
1: - struct fprop_local_percpu completions;
1: - int dirty_exceeded;
1: - enum wb_reason start_all_reason;
1: - spinlock_t work_lock;
1: - struct list_head work_list;
1: - struct delayed_work dwork;
1: - long unsigned int dirty_sleep;
1: - struct list_head bdi_node;
1: + struct backing_dev_info *bdi;
1: + long unsigned int state;
1: + long unsigned int last_old_flush;
1: + struct list_head b_dirty;
1: + struct list_head b_io;
1: + struct list_head b_more_io;
1: + struct list_head b_dirty_time;
1: + spinlock_t list_lock;
1: + struct percpu_counter stat[4];
1: + struct bdi_writeback_congested *congested;
1: + long unsigned int bw_time_stamp;
1: + long unsigned int dirtied_stamp;
1: + long unsigned int written_stamp;
1: + long unsigned int write_bandwidth;
1: + long unsigned int avg_write_bandwidth;
1: + long unsigned int dirty_ratelimit;
1: + long unsigned int balanced_dirty_ratelimit;
1: + struct fprop_local_percpu completions;
1: + int dirty_exceeded;
1: + enum wb_reason start_all_reason;
1: + spinlock_t work_lock;
1: + struct list_head work_list;
1: + struct delayed_work dwork;
1: + long unsigned int dirty_sleep;
1: + struct list_head bdi_node;
1: };
1:
1: struct backing_dev_info {
1: - u64 id;
1: - struct rb_node rb_node;
1: - struct list_head bdi_list;
1: - long unsigned int ra_pages;
1: - long unsigned int io_pages;
1: - congested_fn *congested_fn;
1: - void *congested_data;
1: - const char *name;
1: - struct kref refcnt;
1: - unsigned int capabilities;
1: - unsigned int min_ratio;
1: - unsigned int max_ratio;
1: - unsigned int max_prop_frac;
1: - atomic_long_t tot_write_bandwidth;
1: - struct bdi_writeback wb;
1: - struct list_head wb_list;
1: - struct bdi_writeback_congested *wb_congested;
1: - wait_queue_head_t wb_waitq;
1: - struct device *dev;
1: - struct device *owner;
1: - struct timer_list laptop_mode_wb_timer;
1: - struct dentry *debug_dir;
1: + u64 id;
1: + struct rb_node rb_node;
1: + struct list_head bdi_list;
1: + long unsigned int ra_pages;
1: + long unsigned int io_pages;
1: + congested_fn *congested_fn;
1: + void *congested_data;
1: + const char *name;
1: + struct kref refcnt;
1: + unsigned int capabilities;
1: + unsigned int min_ratio;
1: + unsigned int max_ratio;
1: + unsigned int max_prop_frac;
1: + atomic_long_t tot_write_bandwidth;
1: + struct bdi_writeback wb;
1: + struct list_head wb_list;
1: + struct bdi_writeback_congested *wb_congested;
1: + wait_queue_head_t wb_waitq;
1: + struct device *dev;
1: + struct device *owner;
1: + struct timer_list laptop_mode_wb_timer;
1: + struct dentry *debug_dir;
1: };
1:
1: struct cgroup_subsys_state;
1: @@ -6295,77 +6306,77 @@ struct cgroup_subsys_state;
1: struct cgroup;
1:
1: struct css_set {
1: - struct cgroup_subsys_state *subsys[4];
1: - refcount_t refcount;
1: - struct css_set *dom_cset;
1: - struct cgroup *dfl_cgrp;
1: - int nr_tasks;
1: - struct list_head tasks;
1: - struct list_head mg_tasks;
1: - struct list_head dying_tasks;
1: - struct list_head task_iters;
1: - struct list_head e_cset_node[4];
1: - struct list_head threaded_csets;
1: - struct list_head threaded_csets_node;
1: - struct hlist_node hlist;
1: - struct list_head cgrp_links;
1: - struct list_head mg_preload_node;
1: - struct list_head mg_node;
1: - struct cgroup *mg_src_cgrp;
1: - struct cgroup *mg_dst_cgrp;
1: - struct css_set *mg_dst_cset;
1: - bool dead;
1: - struct callback_head callback_head;
1: + struct cgroup_subsys_state *subsys[4];
1: + refcount_t refcount;
1: + struct css_set *dom_cset;
1: + struct cgroup *dfl_cgrp;
1: + int nr_tasks;
1: + struct list_head tasks;
1: + struct list_head mg_tasks;
1: + struct list_head dying_tasks;
1: + struct list_head task_iters;
1: + struct list_head e_cset_node[4];
1: + struct list_head threaded_csets;
1: + struct list_head threaded_csets_node;
1: + struct hlist_node hlist;
1: + struct list_head cgrp_links;
1: + struct list_head mg_preload_node;
1: + struct list_head mg_node;
1: + struct cgroup *mg_src_cgrp;
1: + struct cgroup *mg_dst_cgrp;
1: + struct css_set *mg_dst_cset;
1: + bool dead;
1: + struct callback_head callback_head;
1: };
1:
1: struct perf_event_groups {
1: - struct rb_root tree;
1: - u64 index;
1: + struct rb_root tree;
1: + u64 index;
1: };
1:
1: struct perf_event_context {
1: - struct pmu *pmu;
1: - raw_spinlock_t lock;
1: - struct mutex mutex;
1: - struct list_head active_ctx_list;
1: - struct perf_event_groups pinned_groups;
1: - struct perf_event_groups flexible_groups;
1: - struct list_head event_list;
1: - struct list_head pinned_active;
1: - struct list_head flexible_active;
1: - int nr_events;
1: - int nr_active;
1: - int is_active;
1: - int nr_stat;
1: - int nr_freq;
1: - int rotate_disable;
1: - int rotate_necessary;
1: - refcount_t refcount;
1: - struct task_struct *task;
1: - u64 time;
1: - u64 timestamp;
1: - struct perf_event_context *parent_ctx;
1: - u64 parent_gen;
1: - u64 generation;
1: - int pin_count;
1: - void *task_ctx_data;
1: - struct callback_head callback_head;
1: + struct pmu *pmu;
1: + raw_spinlock_t lock;
1: + struct mutex mutex;
1: + struct list_head active_ctx_list;
1: + struct perf_event_groups pinned_groups;
1: + struct perf_event_groups flexible_groups;
1: + struct list_head event_list;
1: + struct list_head pinned_active;
1: + struct list_head flexible_active;
1: + int nr_events;
1: + int nr_active;
1: + int is_active;
1: + int nr_stat;
1: + int nr_freq;
1: + int rotate_disable;
1: + int rotate_necessary;
1: + refcount_t refcount;
1: + struct task_struct *task;
1: + u64 time;
1: + u64 timestamp;
1: + struct perf_event_context *parent_ctx;
1: + u64 parent_gen;
1: + u64 generation;
1: + int pin_count;
1: + void *task_ctx_data;
1: + struct callback_head callback_head;
1: };
1:
1: struct task_delay_info {
1: - raw_spinlock_t lock;
1: - unsigned int flags;
1: - u64 blkio_start;
1: - u64 blkio_delay;
1: - u64 swapin_delay;
1: - u32 blkio_count;
1: - u32 swapin_count;
1: - u64 freepages_start;
1: - u64 freepages_delay;
1: - u64 thrashing_start;
1: - u64 thrashing_delay;
1: - u32 freepages_count;
1: - u32 thrashing_count;
1: + raw_spinlock_t lock;
1: + unsigned int flags;
1: + u64 blkio_start;
1: + u64 blkio_delay;
1: + u64 swapin_delay;
1: + u32 blkio_count;
1: + u32 swapin_count;
1: + u64 freepages_start;
1: + u64 freepages_delay;
1: + u64 thrashing_start;
1: + u64 thrashing_delay;
1: + u32 freepages_count;
1: + u32 thrashing_count;
1: };
1:
1: typedef unsigned int blk_qc_t;
1: @@ -6377,55 +6388,55 @@ struct request;
1: typedef int dma_drain_needed_fn(struct request *);
1:
1: struct blk_rq_stat {
1: - u64 mean;
1: - u64 min;
1: - u64 max;
1: - u32 nr_samples;
1: - u64 batch;
1: + u64 mean;
1: + u64 min;
1: + u64 max;
1: + u32 nr_samples;
1: + u64 batch;
1: };
1:
1: enum blk_zoned_model {
1: - BLK_ZONED_NONE = 0,
1: - BLK_ZONED_HA = 1,
1: - BLK_ZONED_HM = 2,
1: + BLK_ZONED_NONE = 0,
1: + BLK_ZONED_HA = 1,
1: + BLK_ZONED_HM = 2,
1: };
1:
1: struct queue_limits {
1: - long unsigned int bounce_pfn;
1: - long unsigned int seg_boundary_mask;
1: - long unsigned int virt_boundary_mask;
1: - unsigned int max_hw_sectors;
1: - unsigned int max_dev_sectors;
1: - unsigned int chunk_sectors;
1: - unsigned int max_sectors;
1: - unsigned int max_segment_size;
1: - unsigned int physical_block_size;
1: - unsigned int logical_block_size;
1: - unsigned int alignment_offset;
1: - unsigned int io_min;
1: - unsigned int io_opt;
1: - unsigned int max_discard_sectors;
1: - unsigned int max_hw_discard_sectors;
1: - unsigned int max_write_same_sectors;
1: - unsigned int max_write_zeroes_sectors;
1: - unsigned int discard_granularity;
1: - unsigned int discard_alignment;
1: - short unsigned int max_segments;
1: - short unsigned int max_integrity_segments;
1: - short unsigned int max_discard_segments;
1: - unsigned char misaligned;
1: - unsigned char discard_misaligned;
1: - unsigned char raid_partial_stripes_expensive;
1: - enum blk_zoned_model zoned;
1: + long unsigned int bounce_pfn;
1: + long unsigned int seg_boundary_mask;
1: + long unsigned int virt_boundary_mask;
1: + unsigned int max_hw_sectors;
1: + unsigned int max_dev_sectors;
1: + unsigned int chunk_sectors;
1: + unsigned int max_sectors;
1: + unsigned int max_segment_size;
1: + unsigned int physical_block_size;
1: + unsigned int logical_block_size;
1: + unsigned int alignment_offset;
1: + unsigned int io_min;
1: + unsigned int io_opt;
1: + unsigned int max_discard_sectors;
1: + unsigned int max_hw_discard_sectors;
1: + unsigned int max_write_same_sectors;
1: + unsigned int max_write_zeroes_sectors;
1: + unsigned int discard_granularity;
1: + unsigned int discard_alignment;
1: + short unsigned int max_segments;
1: + short unsigned int max_integrity_segments;
1: + short unsigned int max_discard_segments;
1: + unsigned char misaligned;
1: + unsigned char discard_misaligned;
1: + unsigned char raid_partial_stripes_expensive;
1: + enum blk_zoned_model zoned;
1: };
1:
1: struct bsg_ops;
1:
1: struct bsg_class_device {
1: - struct device *class_dev;
1: - int minor;
1: - struct request_queue *queue;
1: - const struct bsg_ops *ops;
1: + struct device *class_dev;
1: + int minor;
1: + struct request_queue *queue;
1: + const struct bsg_ops *ops;
1: };
1:
1: typedef void *mempool_alloc_t(gfp_t, void *);
1: @@ -6433,27 +6444,27 @@ typedef void *mempool_alloc_t(gfp_t, void *);
1: typedef void mempool_free_t(void *, void *);
1:
1: struct mempool_s {
1: - spinlock_t lock;
1: - int min_nr;
1: - int curr_nr;
1: - void **elements;
1: - void *pool_data;
1: - mempool_alloc_t *alloc;
1: - mempool_free_t *free;
1: - wait_queue_head_t wait;
1: + spinlock_t lock;
1: + int min_nr;
1: + int curr_nr;
1: + void **elements;
1: + void *pool_data;
1: + mempool_alloc_t *alloc;
1: + mempool_free_t *free;
1: + wait_queue_head_t wait;
1: };
1:
1: typedef struct mempool_s mempool_t;
1:
1: struct bio_set {
1: - struct kmem_cache *bio_slab;
1: - unsigned int front_pad;
1: - mempool_t bio_pool;
1: - mempool_t bvec_pool;
1: - spinlock_t rescue_lock;
1: - struct bio_list rescue_list;
1: - struct work_struct rescue_work;
1: - struct workqueue_struct *rescue_workqueue;
1: + struct kmem_cache *bio_slab;
1: + unsigned int front_pad;
1: + mempool_t bio_pool;
1: + mempool_t bvec_pool;
1: + spinlock_t rescue_lock;
1: + struct bio_list rescue_list;
1: + struct work_struct rescue_work;
1: + struct workqueue_struct *rescue_workqueue;
1: };
1:
1: struct elevator_queue;
1: @@ -6477,133 +6488,133 @@ struct blk_flush_queue;
1: struct blk_mq_tag_set;
1:
1: struct request_queue {
1: - struct request *last_merge;
1: - struct elevator_queue *elevator;
1: - struct blk_queue_stats *stats;
1: - struct rq_qos *rq_qos;
1: - make_request_fn *make_request_fn;
1: - dma_drain_needed_fn *dma_drain_needed;
1: - const struct blk_mq_ops *mq_ops;
1: - struct blk_mq_ctx *queue_ctx;
1: - unsigned int queue_depth;
1: - struct blk_mq_hw_ctx **queue_hw_ctx;
1: - unsigned int nr_hw_queues;
1: - struct backing_dev_info *backing_dev_info;
1: - void *queuedata;
1: - long unsigned int queue_flags;
1: - atomic_t pm_only;
1: - int id;
1: - gfp_t bounce_gfp;
1: - spinlock_t queue_lock;
1: - struct kobject kobj;
1: - struct kobject *mq_kobj;
1: - struct device *dev;
1: - int rpm_status;
1: - unsigned int nr_pending;
1: - long unsigned int nr_requests;
1: - unsigned int dma_drain_size;
1: - void *dma_drain_buffer;
1: - unsigned int dma_pad_mask;
1: - unsigned int dma_alignment;
1: - unsigned int rq_timeout;
1: - int poll_nsec;
1: - struct blk_stat_callback *poll_cb;
1: - struct blk_rq_stat poll_stat[16];
1: - struct timer_list timeout;
1: - struct work_struct timeout_work;
1: - struct list_head icq_list;
1: - struct queue_limits limits;
1: - unsigned int required_elevator_features;
1: - unsigned int sg_timeout;
1: - unsigned int sg_reserved_size;
1: - int node;
1: - struct blk_trace *blk_trace;
1: - struct mutex blk_trace_mutex;
1: - struct blk_flush_queue *fq;
1: - struct list_head requeue_list;
1: - spinlock_t requeue_lock;
1: - struct delayed_work requeue_work;
1: - struct mutex sysfs_lock;
1: - struct mutex sysfs_dir_lock;
1: - struct list_head unused_hctx_list;
1: - spinlock_t unused_hctx_lock;
1: - int mq_freeze_depth;
1: - struct bsg_class_device bsg_dev;
1: - struct callback_head callback_head;
1: - wait_queue_head_t mq_freeze_wq;
1: - struct mutex mq_freeze_lock;
1: - struct percpu_ref q_usage_counter;
1: - struct blk_mq_tag_set *tag_set;
1: - struct list_head tag_set_list;
1: - struct bio_set bio_split;
1: - struct dentry *debugfs_dir;
1: - struct dentry *sched_debugfs_dir;
1: - struct dentry *rqos_debugfs_dir;
1: - bool mq_sysfs_init_done;
1: - size_t cmd_size;
1: - struct work_struct release_work;
1: - u64 write_hints[5];
1: + struct request *last_merge;
1: + struct elevator_queue *elevator;
1: + struct blk_queue_stats *stats;
1: + struct rq_qos *rq_qos;
1: + make_request_fn *make_request_fn;
1: + dma_drain_needed_fn *dma_drain_needed;
1: + const struct blk_mq_ops *mq_ops;
1: + struct blk_mq_ctx *queue_ctx;
1: + unsigned int queue_depth;
1: + struct blk_mq_hw_ctx **queue_hw_ctx;
1: + unsigned int nr_hw_queues;
1: + struct backing_dev_info *backing_dev_info;
1: + void *queuedata;
1: + long unsigned int queue_flags;
1: + atomic_t pm_only;
1: + int id;
1: + gfp_t bounce_gfp;
1: + spinlock_t queue_lock;
1: + struct kobject kobj;
1: + struct kobject *mq_kobj;
1: + struct device *dev;
1: + int rpm_status;
1: + unsigned int nr_pending;
1: + long unsigned int nr_requests;
1: + unsigned int dma_drain_size;
1: + void *dma_drain_buffer;
1: + unsigned int dma_pad_mask;
1: + unsigned int dma_alignment;
1: + unsigned int rq_timeout;
1: + int poll_nsec;
1: + struct blk_stat_callback *poll_cb;
1: + struct blk_rq_stat poll_stat[16];
1: + struct timer_list timeout;
1: + struct work_struct timeout_work;
1: + struct list_head icq_list;
1: + struct queue_limits limits;
1: + unsigned int required_elevator_features;
1: + unsigned int sg_timeout;
1: + unsigned int sg_reserved_size;
1: + int node;
1: + struct blk_trace *blk_trace;
1: + struct mutex blk_trace_mutex;
1: + struct blk_flush_queue *fq;
1: + struct list_head requeue_list;
1: + spinlock_t requeue_lock;
1: + struct delayed_work requeue_work;
1: + struct mutex sysfs_lock;
1: + struct mutex sysfs_dir_lock;
1: + struct list_head unused_hctx_list;
1: + spinlock_t unused_hctx_lock;
1: + int mq_freeze_depth;
1: + struct bsg_class_device bsg_dev;
1: + struct callback_head callback_head;
1: + wait_queue_head_t mq_freeze_wq;
1: + struct mutex mq_freeze_lock;
1: + struct percpu_ref q_usage_counter;
1: + struct blk_mq_tag_set *tag_set;
1: + struct list_head tag_set_list;
1: + struct bio_set bio_split;
1: + struct dentry *debugfs_dir;
1: + struct dentry *sched_debugfs_dir;
1: + struct dentry *rqos_debugfs_dir;
1: + bool mq_sysfs_init_done;
1: + size_t cmd_size;
1: + struct work_struct release_work;
1: + u64 write_hints[5];
1: };
1:
1: enum writeback_sync_modes {
1: - WB_SYNC_NONE = 0,
1: - WB_SYNC_ALL = 1,
1: + WB_SYNC_NONE = 0,
1: + WB_SYNC_ALL = 1,
1: };
1:
1: struct writeback_control {
1: - long int nr_to_write;
1: - long int pages_skipped;
1: - loff_t range_start;
1: - loff_t range_end;
1: - enum writeback_sync_modes sync_mode;
1: - unsigned int for_kupdate: 1;
1: - unsigned int for_background: 1;
1: - unsigned int tagged_writepages: 1;
1: - unsigned int for_reclaim: 1;
1: - unsigned int range_cyclic: 1;
1: - unsigned int for_sync: 1;
1: - unsigned int no_cgroup_owner: 1;
1: - unsigned int punt_to_cgroup: 1;
1: + long int nr_to_write;
1: + long int pages_skipped;
1: + loff_t range_start;
1: + loff_t range_end;
1: + enum writeback_sync_modes sync_mode;
1: + unsigned int for_kupdate : 1;
1: + unsigned int for_background : 1;
1: + unsigned int tagged_writepages : 1;
1: + unsigned int for_reclaim : 1;
1: + unsigned int range_cyclic : 1;
1: + unsigned int for_sync : 1;
1: + unsigned int no_cgroup_owner : 1;
1: + unsigned int punt_to_cgroup : 1;
1: };
1:
1: struct swap_cluster_info {
1: - spinlock_t lock;
1: - unsigned int data: 24;
1: - unsigned int flags: 8;
1: + spinlock_t lock;
1: + unsigned int data : 24;
1: + unsigned int flags : 8;
1: };
1:
1: struct swap_cluster_list {
1: - struct swap_cluster_info head;
1: - struct swap_cluster_info tail;
1: + struct swap_cluster_info head;
1: + struct swap_cluster_info tail;
1: };
1:
1: struct percpu_cluster;
1:
1: struct swap_info_struct {
1: - long unsigned int flags;
1: - short int prio;
1: - struct plist_node list;
1: - signed char type;
1: - unsigned int max;
1: - unsigned char *swap_map;
1: - struct swap_cluster_info *cluster_info;
1: - struct swap_cluster_list free_clusters;
1: - unsigned int lowest_bit;
1: - unsigned int highest_bit;
1: - unsigned int pages;
1: - unsigned int inuse_pages;
1: - unsigned int cluster_next;
1: - unsigned int cluster_nr;
1: - struct percpu_cluster *percpu_cluster;
1: - struct rb_root swap_extent_root;
1: - struct block_device *bdev;
1: - struct file *swap_file;
1: - unsigned int old_block_size;
1: - spinlock_t lock;
1: - spinlock_t cont_lock;
1: - struct work_struct discard_work;
1: - struct swap_cluster_list discard_clusters;
1: - struct plist_node avail_lists[0];
1: + long unsigned int flags;
1: + short int prio;
1: + struct plist_node list;
1: + signed char type;
1: + unsigned int max;
1: + unsigned char *swap_map;
1: + struct swap_cluster_info *cluster_info;
1: + struct swap_cluster_list free_clusters;
1: + unsigned int lowest_bit;
1: + unsigned int highest_bit;
1: + unsigned int pages;
1: + unsigned int inuse_pages;
1: + unsigned int cluster_next;
1: + unsigned int cluster_nr;
1: + struct percpu_cluster *percpu_cluster;
1: + struct rb_root swap_extent_root;
1: + struct block_device *bdev;
1: + struct file *swap_file;
1: + unsigned int old_block_size;
1: + spinlock_t lock;
1: + spinlock_t cont_lock;
1: + struct work_struct discard_work;
1: + struct swap_cluster_list discard_clusters;
1: + struct plist_node avail_lists[0];
1: };
1:
1: struct partition_meta_info;
1: @@ -6611,20 +6622,20 @@ struct partition_meta_info;
1: struct disk_stats;
1:
1: struct hd_struct {
1: - sector_t start_sect;
1: - sector_t nr_sects;
1: - seqcount_t nr_sects_seq;
1: - sector_t alignment_offset;
1: - unsigned int discard_alignment;
1: - struct device __dev;
1: - struct kobject *holder_dir;
1: - int policy;
1: - int partno;
1: - struct partition_meta_info *info;
1: - long unsigned int stamp;
1: - struct disk_stats *dkstats;
1: - struct percpu_ref ref;
1: - struct rcu_work rcu_work;
1: + sector_t start_sect;
1: + sector_t nr_sects;
1: + seqcount_t nr_sects_seq;
1: + sector_t alignment_offset;
1: + unsigned int discard_alignment;
1: + struct device __dev;
1: + struct kobject *holder_dir;
1: + int policy;
1: + int partno;
1: + struct partition_meta_info *info;
1: + long unsigned int stamp;
1: + struct disk_stats *dkstats;
1: + struct percpu_ref ref;
1: + struct rcu_work rcu_work;
1: };
1:
1: struct disk_part_tbl;
1: @@ -6638,130 +6649,132 @@ struct disk_events;
1: struct badblocks;
1:
1: struct gendisk {
1: - int major;
1: - int first_minor;
1: - int minors;
1: - char disk_name[32];
1: - char * (*devnode)(struct gendisk *, umode_t *);
1: - short unsigned int events;
1: - short unsigned int event_flags;
1: - struct disk_part_tbl *part_tbl;
1: - struct hd_struct part0;
1: - const struct block_device_operations *fops;
1: - struct request_queue *queue;
1: - void *private_data;
1: - int flags;
1: - struct rw_semaphore lookup_sem;
1: - struct kobject *slave_dir;
1: - struct timer_rand_state *random;
1: - atomic_t sync_io;
1: - struct disk_events *ev;
1: - int node_id;
1: - struct badblocks *bb;
1: - struct lockdep_map lockdep_map;
1: + int major;
1: + int first_minor;
1: + int minors;
1: + char disk_name[32];
1: + char *(*devnode)(struct gendisk *, umode_t *);
1: + short unsigned int events;
1: + short unsigned int event_flags;
1: + struct disk_part_tbl *part_tbl;
1: + struct hd_struct part0;
1: + const struct block_device_operations *fops;
1: + struct request_queue *queue;
1: + void *private_data;
1: + int flags;
1: + struct rw_semaphore lookup_sem;
1: + struct kobject *slave_dir;
1: + struct timer_rand_state *random;
1: + atomic_t sync_io;
1: + struct disk_events *ev;
1: + int node_id;
1: + struct badblocks *bb;
1: + struct lockdep_map lockdep_map;
1: };
1:
1: struct cdev {
1: - struct kobject kobj;
1: - struct module *owner;
1: - const struct file_operations *ops;
1: - struct list_head list;
1: - dev_t dev;
1: - unsigned int count;
1: + struct kobject kobj;
1: + struct module *owner;
1: + const struct file_operations *ops;
1: + struct list_head list;
1: + dev_t dev;
1: + unsigned int count;
1: };
1:
1: struct audit_names;
1:
1: struct filename {
1: - const char *name;
1: - const char *uptr;
1: - int refcnt;
1: - struct audit_names *aname;
1: - char iname[0];
1: + const char *name;
1: + const char *uptr;
1: + int refcnt;
1: + struct audit_names *aname;
1: + char iname[0];
1: };
1:
1: typedef u8 blk_status_t;
1:
1: struct bvec_iter {
1: - sector_t bi_sector;
1: - unsigned int bi_size;
1: - unsigned int bi_idx;
1: - unsigned int bi_bvec_done;
1: + sector_t bi_sector;
1: + unsigned int bi_size;
1: + unsigned int bi_idx;
1: + unsigned int bi_bvec_done;
1: };
1:
1: typedef void bio_end_io_t(struct bio *);
1:
1: struct bio_vec {
1: - struct page *bv_page;
1: - unsigned int bv_len;
1: - unsigned int bv_offset;
1: + struct page *bv_page;
1: + unsigned int bv_len;
1: + unsigned int bv_offset;
1: };
1:
1: struct bio {
1: - struct bio *bi_next;
1: - struct gendisk *bi_disk;
1: - unsigned int bi_opf;
1: - short unsigned int bi_flags;
1: - short unsigned int bi_ioprio;
1: - short unsigned int bi_write_hint;
1: - blk_status_t bi_status;
1: - u8 bi_partno;
1: - atomic_t __bi_remaining;
1: - struct bvec_iter bi_iter;
1: - bio_end_io_t *bi_end_io;
1: - void *bi_private;
1: - union { };
1: - short unsigned int bi_vcnt;
1: - short unsigned int bi_max_vecs;
1: - atomic_t __bi_cnt;
1: - struct bio_vec *bi_io_vec;
1: - struct bio_set *bi_pool;
1: - struct bio_vec bi_inline_vecs[0];
1: + struct bio *bi_next;
1: + struct gendisk *bi_disk;
1: + unsigned int bi_opf;
1: + short unsigned int bi_flags;
1: + short unsigned int bi_ioprio;
1: + short unsigned int bi_write_hint;
1: + blk_status_t bi_status;
1: + u8 bi_partno;
1: + atomic_t __bi_remaining;
1: + struct bvec_iter bi_iter;
1: + bio_end_io_t *bi_end_io;
1: + void *bi_private;
1: + union {};
1: + short unsigned int bi_vcnt;
1: + short unsigned int bi_max_vecs;
1: + atomic_t __bi_cnt;
1: + struct bio_vec *bi_io_vec;
1: + struct bio_set *bi_pool;
1: + struct bio_vec bi_inline_vecs[0];
1: };
1:
1: struct linux_binprm {
1: - struct vm_area_struct *vma;
1: - long unsigned int vma_pages;
1: - struct mm_struct *mm;
1: - long unsigned int p;
1: - long unsigned int argmin;
1: - unsigned int called_set_creds: 1;
1: - unsigned int cap_elevated: 1;
1: - unsigned int secureexec: 1;
1: - unsigned int recursion_depth;
1: - struct file *file;
1: - struct cred *cred;
1: - int unsafe;
1: - unsigned int per_clear;
1: - int argc;
1: - int envc;
1: - const char *filename;
1: - const char *interp;
1: - unsigned int interp_flags;
1: - unsigned int interp_data;
1: - long unsigned int loader;
1: - long unsigned int exec;
1: - struct rlimit rlim_stack;
1: - char buf[256];
1: + struct vm_area_struct *vma;
1: + long unsigned int vma_pages;
1: + struct mm_struct *mm;
1: + long unsigned int p;
1: + long unsigned int argmin;
1: + unsigned int called_set_creds : 1;
1: + unsigned int cap_elevated : 1;
1: + unsigned int secureexec : 1;
1: + unsigned int recursion_depth;
1: + struct file *file;
1: + struct cred *cred;
1: + int unsafe;
1: + unsigned int per_clear;
1: + int argc;
1: + int envc;
1: + const char *filename;
1: + const char *interp;
1: + unsigned int interp_flags;
1: + unsigned int interp_data;
1: + long unsigned int loader;
1: + long unsigned int exec;
1: + struct rlimit rlim_stack;
1: + char buf[256];
1: };
1:
1: struct coredump_params {
1: - const kernel_siginfo_t *siginfo;
1: - struct pt_regs *regs;
1: - struct file *file;
1: - long unsigned int limit;
1: - long unsigned int mm_flags;
1: - loff_t written;
1: - loff_t pos;
1: + const kernel_siginfo_t *siginfo;
1: + struct pt_regs *regs;
1: + struct file *file;
1: + long unsigned int limit;
1: + long unsigned int mm_flags;
1: + loff_t written;
1: + loff_t pos;
1: };
1:
1: struct key_tag {
1: - struct callback_head rcu;
1: - refcount_t usage;
1: - bool removed;
1: + struct callback_head rcu;
1: + refcount_t usage;
1: + bool removed;
1: };
1:
1: -typedef int (*key_restrict_link_func_t)(struct key *, const struct key_type *, const union key_payload *, struct key *);
1: +typedef int (*key_restrict_link_func_t)(struct key *, const struct key_type *,
1: + const union key_payload *,
1: + struct key *);
1:
1: typedef int (*request_key_actor_t)(struct key *, void *);
1:
1: @@ -6774,264 +6787,266 @@ struct kernel_pkey_params;
1: struct kernel_pkey_query;
1:
1: struct key_type {
1: - const char *name;
1: - size_t def_datalen;
1: - unsigned int flags;
1: - int (*vet_description)(const char *);
1: - int (*preparse)(struct key_preparsed_payload *);
1: - void (*free_preparse)(struct key_preparsed_payload *);
1: - int (*instantiate)(struct key *, struct key_preparsed_payload *);
1: - int (*update)(struct key *, struct key_preparsed_payload *);
1: - int (*match_preparse)(struct key_match_data *);
1: - void (*match_free)(struct key_match_data *);
1: - void (*revoke)(struct key *);
1: - void (*destroy)(struct key *);
1: - void (*describe)(const struct key *, struct seq_file *);
1: - long int (*read)(const struct key *, char *, size_t);
1: - request_key_actor_t request_key;
1: - struct key_restriction * (*lookup_restriction)(const char *);
1: - int (*asym_query)(const struct kernel_pkey_params *, struct kernel_pkey_query *);
1: - int (*asym_eds_op)(struct kernel_pkey_params *, const void *, void *);
1: - int (*asym_verify_signature)(struct kernel_pkey_params *, const void *, const void *);
1: - struct list_head link;
1: - struct lock_class_key lock_class;
1: + const char *name;
1: + size_t def_datalen;
1: + unsigned int flags;
1: + int (*vet_description)(const char *);
1: + int (*preparse)(struct key_preparsed_payload *);
1: + void (*free_preparse)(struct key_preparsed_payload *);
1: + int (*instantiate)(struct key *, struct key_preparsed_payload *);
1: + int (*update)(struct key *, struct key_preparsed_payload *);
1: + int (*match_preparse)(struct key_match_data *);
1: + void (*match_free)(struct key_match_data *);
1: + void (*revoke)(struct key *);
1: + void (*destroy)(struct key *);
1: + void (*describe)(const struct key *, struct seq_file *);
1: + long int (*read)(const struct key *, char *, size_t);
1: + request_key_actor_t request_key;
1: + struct key_restriction *(*lookup_restriction)(const char *);
1: + int (*asym_query)(const struct kernel_pkey_params *,
1: + struct kernel_pkey_query *);
1: + int (*asym_eds_op)(struct kernel_pkey_params *, const void *, void *);
1: + int (*asym_verify_signature)(struct kernel_pkey_params *, const void *,
1: + const void *);
1: + struct list_head link;
1: + struct lock_class_key lock_class;
1: };
1:
1: struct key_restriction {
1: - key_restrict_link_func_t check;
1: - struct key *key;
1: - struct key_type *keytype;
1: + key_restrict_link_func_t check;
1: + struct key *key;
1: + struct key_type *keytype;
1: };
1:
1: struct group_info {
1: - atomic_t usage;
1: - int ngroups;
1: - kgid_t gid[0];
1: + atomic_t usage;
1: + int ngroups;
1: + kgid_t gid[0];
1: };
1:
1: struct seq_operations {
1: - void * (*start)(struct seq_file *, loff_t *);
1: - void (*stop)(struct seq_file *, void *);
1: - void * (*next)(struct seq_file *, void *, loff_t *);
1: - int (*show)(struct seq_file *, void *);
1: + void *(*start)(struct seq_file *, loff_t *);
1: + void (*stop)(struct seq_file *, void *);
1: + void *(*next)(struct seq_file *, void *, loff_t *);
1: + int (*show)(struct seq_file *, void *);
1: };
1:
1: struct ring_buffer_event {
1: - u32 type_len: 5;
1: - u32 time_delta: 27;
1: - u32 array[0];
1: + u32 type_len : 5;
1: + u32 time_delta : 27;
1: + u32 array[0];
1: };
1:
1: struct seq_buf {
1: - char *buffer;
1: - size_t size;
1: - size_t len;
1: - loff_t readpos;
1: + char *buffer;
1: + size_t size;
1: + size_t len;
1: + loff_t readpos;
1: };
1:
1: struct trace_seq {
1: - unsigned char buffer[4096];
1: - struct seq_buf seq;
1: - int full;
1: + unsigned char buffer[4096];
1: + struct seq_buf seq;
1: + int full;
1: };
1:
1: enum perf_sw_ids {
1: - PERF_COUNT_SW_CPU_CLOCK = 0,
1: - PERF_COUNT_SW_TASK_CLOCK = 1,
1: - PERF_COUNT_SW_PAGE_FAULTS = 2,
1: - PERF_COUNT_SW_CONTEXT_SWITCHES = 3,
1: - PERF_COUNT_SW_CPU_MIGRATIONS = 4,
1: - PERF_COUNT_SW_PAGE_FAULTS_MIN = 5,
1: - PERF_COUNT_SW_PAGE_FAULTS_MAJ = 6,
1: - PERF_COUNT_SW_ALIGNMENT_FAULTS = 7,
1: - PERF_COUNT_SW_EMULATION_FAULTS = 8,
1: - PERF_COUNT_SW_DUMMY = 9,
1: - PERF_COUNT_SW_BPF_OUTPUT = 10,
1: - PERF_COUNT_SW_MAX = 11,
1: + PERF_COUNT_SW_CPU_CLOCK = 0,
1: + PERF_COUNT_SW_TASK_CLOCK = 1,
1: + PERF_COUNT_SW_PAGE_FAULTS = 2,
1: + PERF_COUNT_SW_CONTEXT_SWITCHES = 3,
1: + PERF_COUNT_SW_CPU_MIGRATIONS = 4,
1: + PERF_COUNT_SW_PAGE_FAULTS_MIN = 5,
1: + PERF_COUNT_SW_PAGE_FAULTS_MAJ = 6,
1: + PERF_COUNT_SW_ALIGNMENT_FAULTS = 7,
1: + PERF_COUNT_SW_EMULATION_FAULTS = 8,
1: + PERF_COUNT_SW_DUMMY = 9,
1: + PERF_COUNT_SW_BPF_OUTPUT = 10,
1: + PERF_COUNT_SW_MAX = 11,
1: };
1:
1: union perf_mem_data_src {
1: - __u64 val;
1: - struct {
1: - __u64 mem_op: 5;
1: - __u64 mem_lvl: 14;
1: - __u64 mem_snoop: 5;
1: - __u64 mem_lock: 2;
1: - __u64 mem_dtlb: 7;
1: - __u64 mem_lvl_num: 4;
1: - __u64 mem_remote: 1;
1: - __u64 mem_snoopx: 2;
1: - __u64 mem_rsvd: 24;
1: - };
1: + __u64 val;
1: + struct {
1: + __u64 mem_op : 5;
1: + __u64 mem_lvl : 14;
1: + __u64 mem_snoop : 5;
1: + __u64 mem_lock : 2;
1: + __u64 mem_dtlb : 7;
1: + __u64 mem_lvl_num : 4;
1: + __u64 mem_remote : 1;
1: + __u64 mem_snoopx : 2;
1: + __u64 mem_rsvd : 24;
1: + };
1: };
1:
1: struct perf_branch_entry {
1: - __u64 from;
1: - __u64 to;
1: - __u64 mispred: 1;
1: - __u64 predicted: 1;
1: - __u64 in_tx: 1;
1: - __u64 abort: 1;
1: - __u64 cycles: 16;
1: - __u64 type: 4;
1: - __u64 reserved: 40;
1: + __u64 from;
1: + __u64 to;
1: + __u64 mispred : 1;
1: + __u64 predicted : 1;
1: + __u64 in_tx : 1;
1: + __u64 abort : 1;
1: + __u64 cycles : 16;
1: + __u64 type : 4;
1: + __u64 reserved : 40;
1: };
1:
1: struct taskstats {
1: - __u16 version;
1: - __u32 ac_exitcode;
1: - __u8 ac_flag;
1: - __u8 ac_nice;
1: - __u64 cpu_count;
1: - __u64 cpu_delay_total;
1: - __u64 blkio_count;
1: - __u64 blkio_delay_total;
1: - __u64 swapin_count;
1: - __u64 swapin_delay_total;
1: - __u64 cpu_run_real_total;
1: - __u64 cpu_run_virtual_total;
1: - char ac_comm[32];
1: - __u8 ac_sched;
1: - __u8 ac_pad[3];
1: - int: 32;
1: - __u32 ac_uid;
1: - __u32 ac_gid;
1: - __u32 ac_pid;
1: - __u32 ac_ppid;
1: - __u32 ac_btime;
1: - __u64 ac_etime;
1: - __u64 ac_utime;
1: - __u64 ac_stime;
1: - __u64 ac_minflt;
1: - __u64 ac_majflt;
1: - __u64 coremem;
1: - __u64 virtmem;
1: - __u64 hiwater_rss;
1: - __u64 hiwater_vm;
1: - __u64 read_char;
1: - __u64 write_char;
1: - __u64 read_syscalls;
1: - __u64 write_syscalls;
1: - __u64 read_bytes;
1: - __u64 write_bytes;
1: - __u64 cancelled_write_bytes;
1: - __u64 nvcsw;
1: - __u64 nivcsw;
1: - __u64 ac_utimescaled;
1: - __u64 ac_stimescaled;
1: - __u64 cpu_scaled_run_real_total;
1: - __u64 freepages_count;
1: - __u64 freepages_delay_total;
1: - __u64 thrashing_count;
1: - __u64 thrashing_delay_total;
1: + __u16 version;
1: + __u32 ac_exitcode;
1: + __u8 ac_flag;
1: + __u8 ac_nice;
1: + __u64 cpu_count;
1: + __u64 cpu_delay_total;
1: + __u64 blkio_count;
1: + __u64 blkio_delay_total;
1: + __u64 swapin_count;
1: + __u64 swapin_delay_total;
1: + __u64 cpu_run_real_total;
1: + __u64 cpu_run_virtual_total;
1: + char ac_comm[32];
1: + __u8 ac_sched;
1: + __u8 ac_pad[3];
1: + int : 32;
1: + __u32 ac_uid;
1: + __u32 ac_gid;
1: + __u32 ac_pid;
1: + __u32 ac_ppid;
1: + __u32 ac_btime;
1: + __u64 ac_etime;
1: + __u64 ac_utime;
1: + __u64 ac_stime;
1: + __u64 ac_minflt;
1: + __u64 ac_majflt;
1: + __u64 coremem;
1: + __u64 virtmem;
1: + __u64 hiwater_rss;
1: + __u64 hiwater_vm;
1: + __u64 read_char;
1: + __u64 write_char;
1: + __u64 read_syscalls;
1: + __u64 write_syscalls;
1: + __u64 read_bytes;
1: + __u64 write_bytes;
1: + __u64 cancelled_write_bytes;
1: + __u64 nvcsw;
1: + __u64 nivcsw;
1: + __u64 ac_utimescaled;
1: + __u64 ac_stimescaled;
1: + __u64 cpu_scaled_run_real_total;
1: + __u64 freepages_count;
1: + __u64 freepages_delay_total;
1: + __u64 thrashing_count;
1: + __u64 thrashing_delay_total;
1: };
1:
1: struct new_utsname {
1: - char sysname[65];
1: - char nodename[65];
1: - char release[65];
1: - char version[65];
1: - char machine[65];
1: - char domainname[65];
1: + char sysname[65];
1: + char nodename[65];
1: + char release[65];
1: + char version[65];
1: + char machine[65];
1: + char domainname[65];
1: };
1:
1: struct uts_namespace {
1: - struct kref kref;
1: - struct new_utsname name;
1: - struct user_namespace *user_ns;
1: - struct ucounts *ucounts;
1: - struct ns_common ns;
1: + struct kref kref;
1: + struct new_utsname name;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct ns_common ns;
1: };
1:
1: struct cgroup_namespace {
1: - refcount_t count;
1: - struct ns_common ns;
1: - struct user_namespace *user_ns;
1: - struct ucounts *ucounts;
1: - struct css_set *root_cset;
1: + refcount_t count;
1: + struct ns_common ns;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct css_set *root_cset;
1: };
1:
1: struct proc_ns_operations {
1: - const char *name;
1: - const char *real_ns_name;
1: - int type;
1: - struct ns_common * (*get)(struct task_struct *);
1: - void (*put)(struct ns_common *);
1: - int (*install)(struct nsproxy *, struct ns_common *);
1: - struct user_namespace * (*owner)(struct ns_common *);
1: - struct ns_common * (*get_parent)(struct ns_common *);
1: + const char *name;
1: + const char *real_ns_name;
1: + int type;
1: + struct ns_common *(*get)(struct task_struct *);
1: + void (*put)(struct ns_common *);
1: + int (*install)(struct nsproxy *, struct ns_common *);
1: + struct user_namespace *(*owner)(struct ns_common *);
1: + struct ns_common *(*get_parent)(struct ns_common *);
1: };
1:
1: struct ucounts {
1: - struct hlist_node node;
1: - struct user_namespace *ns;
1: - kuid_t uid;
1: - int count;
1: - atomic_t ucount[9];
1: + struct hlist_node node;
1: + struct user_namespace *ns;
1: + kuid_t uid;
1: + int count;
1: + atomic_t ucount[9];
1: };
1:
1: struct dev_pm_ops {
1: - int (*prepare)(struct device *);
1: - void (*complete)(struct device *);
1: - int (*suspend)(struct device *);
1: - int (*resume)(struct device *);
1: - int (*freeze)(struct device *);
1: - int (*thaw)(struct device *);
1: - int (*poweroff)(struct device *);
1: - int (*restore)(struct device *);
1: - int (*suspend_late)(struct device *);
1: - int (*resume_early)(struct device *);
1: - int (*freeze_late)(struct device *);
1: - int (*thaw_early)(struct device *);
1: - int (*poweroff_late)(struct device *);
1: - int (*restore_early)(struct device *);
1: - int (*suspend_noirq)(struct device *);
1: - int (*resume_noirq)(struct device *);
1: - int (*freeze_noirq)(struct device *);
1: - int (*thaw_noirq)(struct device *);
1: - int (*poweroff_noirq)(struct device *);
1: - int (*restore_noirq)(struct device *);
1: - int (*runtime_suspend)(struct device *);
1: - int (*runtime_resume)(struct device *);
1: - int (*runtime_idle)(struct device *);
1: + int (*prepare)(struct device *);
1: + void (*complete)(struct device *);
1: + int (*suspend)(struct device *);
1: + int (*resume)(struct device *);
1: + int (*freeze)(struct device *);
1: + int (*thaw)(struct device *);
1: + int (*poweroff)(struct device *);
1: + int (*restore)(struct device *);
1: + int (*suspend_late)(struct device *);
1: + int (*resume_early)(struct device *);
1: + int (*freeze_late)(struct device *);
1: + int (*thaw_early)(struct device *);
1: + int (*poweroff_late)(struct device *);
1: + int (*restore_early)(struct device *);
1: + int (*suspend_noirq)(struct device *);
1: + int (*resume_noirq)(struct device *);
1: + int (*freeze_noirq)(struct device *);
1: + int (*thaw_noirq)(struct device *);
1: + int (*poweroff_noirq)(struct device *);
1: + int (*restore_noirq)(struct device *);
1: + int (*runtime_suspend)(struct device *);
1: + int (*runtime_resume)(struct device *);
1: + int (*runtime_idle)(struct device *);
1: };
1:
1: struct pm_subsys_data {
1: - spinlock_t lock;
1: - unsigned int refcount;
1: - struct list_head clock_list;
1: + spinlock_t lock;
1: + unsigned int refcount;
1: + struct list_head clock_list;
1: };
1:
1: struct wakeup_source {
1: - const char *name;
1: - int id;
1: - struct list_head entry;
1: - spinlock_t lock;
1: - struct wake_irq *wakeirq;
1: - struct timer_list timer;
1: - long unsigned int timer_expires;
1: - ktime_t total_time;
1: - ktime_t max_time;
1: - ktime_t last_time;
1: - ktime_t start_prevent_time;
1: - ktime_t prevent_sleep_time;
1: - long unsigned int event_count;
1: - long unsigned int active_count;
1: - long unsigned int relax_count;
1: - long unsigned int expire_count;
1: - long unsigned int wakeup_count;
1: - struct device *dev;
1: - bool active: 1;
1: - bool autosleep_enabled: 1;
1: + const char *name;
1: + int id;
1: + struct list_head entry;
1: + spinlock_t lock;
1: + struct wake_irq *wakeirq;
1: + struct timer_list timer;
1: + long unsigned int timer_expires;
1: + ktime_t total_time;
1: + ktime_t max_time;
1: + ktime_t last_time;
1: + ktime_t start_prevent_time;
1: + ktime_t prevent_sleep_time;
1: + long unsigned int event_count;
1: + long unsigned int active_count;
1: + long unsigned int relax_count;
1: + long unsigned int expire_count;
1: + long unsigned int wakeup_count;
1: + struct device *dev;
1: + bool active : 1;
1: + bool autosleep_enabled : 1;
1: };
1:
1: struct dev_pm_domain {
1: - struct dev_pm_ops ops;
1: - int (*start)(struct device *);
1: - void (*detach)(struct device *, bool);
1: - int (*activate)(struct device *);
1: - void (*sync)(struct device *);
1: - void (*dismiss)(struct device *);
1: + struct dev_pm_ops ops;
1: + int (*start)(struct device *);
1: + void (*detach)(struct device *, bool);
1: + int (*activate)(struct device *);
1: + void (*sync)(struct device *);
1: + void (*dismiss)(struct device *);
1: };
1:
1: struct iommu_ops;
1: @@ -7039,35 +7054,35 @@ struct iommu_ops;
1: struct subsys_private;
1:
1: struct bus_type {
1: - const char *name;
1: - const char *dev_name;
1: - struct device *dev_root;
1: - const struct attribute_group **bus_groups;
1: - const struct attribute_group **dev_groups;
1: - const struct attribute_group **drv_groups;
1: - int (*match)(struct device *, struct device_driver *);
1: - int (*uevent)(struct device *, struct kobj_uevent_env *);
1: - int (*probe)(struct device *);
1: - void (*sync_state)(struct device *);
1: - int (*remove)(struct device *);
1: - void (*shutdown)(struct device *);
1: - int (*online)(struct device *);
1: - int (*offline)(struct device *);
1: - int (*suspend)(struct device *, pm_message_t);
1: - int (*resume)(struct device *);
1: - int (*num_vf)(struct device *);
1: - int (*dma_configure)(struct device *);
1: - const struct dev_pm_ops *pm;
1: - const struct iommu_ops *iommu_ops;
1: - struct subsys_private *p;
1: - struct lock_class_key lock_key;
1: - bool need_parent_lock;
1: + const char *name;
1: + const char *dev_name;
1: + struct device *dev_root;
1: + const struct attribute_group **bus_groups;
1: + const struct attribute_group **dev_groups;
1: + const struct attribute_group **drv_groups;
1: + int (*match)(struct device *, struct device_driver *);
1: + int (*uevent)(struct device *, struct kobj_uevent_env *);
1: + int (*probe)(struct device *);
1: + void (*sync_state)(struct device *);
1: + int (*remove)(struct device *);
1: + void (*shutdown)(struct device *);
1: + int (*online)(struct device *);
1: + int (*offline)(struct device *);
1: + int (*suspend)(struct device *, pm_message_t);
1: + int (*resume)(struct device *);
1: + int (*num_vf)(struct device *);
1: + int (*dma_configure)(struct device *);
1: + const struct dev_pm_ops *pm;
1: + const struct iommu_ops *iommu_ops;
1: + struct subsys_private *p;
1: + struct lock_class_key lock_key;
1: + bool need_parent_lock;
1: };
1:
1: enum probe_type {
1: - PROBE_DEFAULT_STRATEGY = 0,
1: - PROBE_PREFER_ASYNCHRONOUS = 1,
1: - PROBE_FORCE_SYNCHRONOUS = 2,
1: + PROBE_DEFAULT_STRATEGY = 0,
1: + PROBE_PREFER_ASYNCHRONOUS = 1,
1: + PROBE_FORCE_SYNCHRONOUS = 2,
1: };
1:
1: struct of_device_id;
1: @@ -7077,48 +7092,48 @@ struct acpi_device_id;
1: struct driver_private;
1:
1: struct device_driver {
1: - const char *name;
1: - struct bus_type *bus;
1: - struct module *owner;
1: - const char *mod_name;
1: - bool suppress_bind_attrs;
1: - enum probe_type probe_type;
1: - const struct of_device_id *of_match_table;
1: - const struct acpi_device_id *acpi_match_table;
1: - int (*probe)(struct device *);
1: - void (*sync_state)(struct device *);
1: - int (*remove)(struct device *);
1: - void (*shutdown)(struct device *);
1: - int (*suspend)(struct device *, pm_message_t);
1: - int (*resume)(struct device *);
1: - const struct attribute_group **groups;
1: - const struct attribute_group **dev_groups;
1: - const struct dev_pm_ops *pm;
1: - void (*coredump)(struct device *);
1: - struct driver_private *p;
1: + const char *name;
1: + struct bus_type *bus;
1: + struct module *owner;
1: + const char *mod_name;
1: + bool suppress_bind_attrs;
1: + enum probe_type probe_type;
1: + const struct of_device_id *of_match_table;
1: + const struct acpi_device_id *acpi_match_table;
1: + int (*probe)(struct device *);
1: + void (*sync_state)(struct device *);
1: + int (*remove)(struct device *);
1: + void (*shutdown)(struct device *);
1: + int (*suspend)(struct device *, pm_message_t);
1: + int (*resume)(struct device *);
1: + const struct attribute_group **groups;
1: + const struct attribute_group **dev_groups;
1: + const struct dev_pm_ops *pm;
1: + void (*coredump)(struct device *);
1: + struct driver_private *p;
1: };
1:
1: enum iommu_cap {
1: - IOMMU_CAP_CACHE_COHERENCY = 0,
1: - IOMMU_CAP_INTR_REMAP = 1,
1: - IOMMU_CAP_NOEXEC = 2,
1: + IOMMU_CAP_CACHE_COHERENCY = 0,
1: + IOMMU_CAP_INTR_REMAP = 1,
1: + IOMMU_CAP_NOEXEC = 2,
1: };
1:
1: enum iommu_attr {
1: - DOMAIN_ATTR_GEOMETRY = 0,
1: - DOMAIN_ATTR_PAGING = 1,
1: - DOMAIN_ATTR_WINDOWS = 2,
1: - DOMAIN_ATTR_FSL_PAMU_STASH = 3,
1: - DOMAIN_ATTR_FSL_PAMU_ENABLE = 4,
1: - DOMAIN_ATTR_FSL_PAMUV1 = 5,
1: - DOMAIN_ATTR_NESTING = 6,
1: - DOMAIN_ATTR_DMA_USE_FLUSH_QUEUE = 7,
1: - DOMAIN_ATTR_MAX = 8,
1: + DOMAIN_ATTR_GEOMETRY = 0,
1: + DOMAIN_ATTR_PAGING = 1,
1: + DOMAIN_ATTR_WINDOWS = 2,
1: + DOMAIN_ATTR_FSL_PAMU_STASH = 3,
1: + DOMAIN_ATTR_FSL_PAMU_ENABLE = 4,
1: + DOMAIN_ATTR_FSL_PAMUV1 = 5,
1: + DOMAIN_ATTR_NESTING = 6,
1: + DOMAIN_ATTR_DMA_USE_FLUSH_QUEUE = 7,
1: + DOMAIN_ATTR_MAX = 8,
1: };
1:
1: enum iommu_dev_features {
1: - IOMMU_DEV_FEAT_AUX = 0,
1: - IOMMU_DEV_FEAT_SVA = 1,
1: + IOMMU_DEV_FEAT_AUX = 0,
1: + IOMMU_DEV_FEAT_SVA = 1,
1: };
1:
1: struct iommu_domain;
1: @@ -7140,105 +7155,112 @@ struct iommu_cache_invalidate_info;
1: struct iommu_gpasid_bind_data;
1:
1: struct iommu_ops {
1: - bool (*capable)(enum iommu_cap);
1: - struct iommu_domain * (*domain_alloc)(unsigned int);
1: - void (*domain_free)(struct iommu_domain *);
1: - int (*attach_dev)(struct iommu_domain *, struct device *);
1: - void (*detach_dev)(struct iommu_domain *, struct device *);
1: - int (*map)(struct iommu_domain *, long unsigned int, phys_addr_t, size_t, int, gfp_t);
1: - size_t (*unmap)(struct iommu_domain *, long unsigned int, size_t, struct iommu_iotlb_gather *);
1: - void (*flush_iotlb_all)(struct iommu_domain *);
1: - void (*iotlb_sync_map)(struct iommu_domain *);
1: - void (*iotlb_sync)(struct iommu_domain *, struct iommu_iotlb_gather *);
1: - phys_addr_t (*iova_to_phys)(struct iommu_domain *, dma_addr_t);
1: - int (*add_device)(struct device *);
1: - void (*remove_device)(struct device *);
1: - struct iommu_group * (*device_group)(struct device *);
1: - int (*domain_get_attr)(struct iommu_domain *, enum iommu_attr, void *);
1: - int (*domain_set_attr)(struct iommu_domain *, enum iommu_attr, void *);
1: - void (*get_resv_regions)(struct device *, struct list_head *);
1: - void (*put_resv_regions)(struct device *, struct list_head *);
1: - void (*apply_resv_region)(struct device *, struct iommu_domain *, struct iommu_resv_region *);
1: - int (*domain_window_enable)(struct iommu_domain *, u32, phys_addr_t, u64, int);
1: - void (*domain_window_disable)(struct iommu_domain *, u32);
1: - int (*of_xlate)(struct device *, struct of_phandle_args *);
1: - bool (*is_attach_deferred)(struct iommu_domain *, struct device *);
1: - bool (*dev_has_feat)(struct device *, enum iommu_dev_features);
1: - bool (*dev_feat_enabled)(struct device *, enum iommu_dev_features);
1: - int (*dev_enable_feat)(struct device *, enum iommu_dev_features);
1: - int (*dev_disable_feat)(struct device *, enum iommu_dev_features);
1: - int (*aux_attach_dev)(struct iommu_domain *, struct device *);
1: - void (*aux_detach_dev)(struct iommu_domain *, struct device *);
1: - int (*aux_get_pasid)(struct iommu_domain *, struct device *);
1: - struct iommu_sva * (*sva_bind)(struct device *, struct mm_struct *, void *);
1: - void (*sva_unbind)(struct iommu_sva *);
1: - int (*sva_get_pasid)(struct iommu_sva *);
1: - int (*page_response)(struct device *, struct iommu_fault_event *, struct iommu_page_response *);
1: - int (*cache_invalidate)(struct iommu_domain *, struct device *, struct iommu_cache_invalidate_info *);
1: - int (*sva_bind_gpasid)(struct iommu_domain *, struct device *, struct iommu_gpasid_bind_data *);
1: - int (*sva_unbind_gpasid)(struct device *, int);
1: - long unsigned int pgsize_bitmap;
1: + bool (*capable)(enum iommu_cap);
1: + struct iommu_domain *(*domain_alloc)(unsigned int);
1: + void (*domain_free)(struct iommu_domain *);
1: + int (*attach_dev)(struct iommu_domain *, struct device *);
1: + void (*detach_dev)(struct iommu_domain *, struct device *);
1: + int (*map)(struct iommu_domain *, long unsigned int, phys_addr_t, size_t, int,
1: + gfp_t);
1: + size_t (*unmap)(struct iommu_domain *, long unsigned int, size_t,
1: + struct iommu_iotlb_gather *);
1: + void (*flush_iotlb_all)(struct iommu_domain *);
1: + void (*iotlb_sync_map)(struct iommu_domain *);
1: + void (*iotlb_sync)(struct iommu_domain *, struct iommu_iotlb_gather *);
1: + phys_addr_t (*iova_to_phys)(struct iommu_domain *, dma_addr_t);
1: + int (*add_device)(struct device *);
1: + void (*remove_device)(struct device *);
1: + struct iommu_group *(*device_group)(struct device *);
1: + int (*domain_get_attr)(struct iommu_domain *, enum iommu_attr, void *);
1: + int (*domain_set_attr)(struct iommu_domain *, enum iommu_attr, void *);
1: + void (*get_resv_regions)(struct device *, struct list_head *);
1: + void (*put_resv_regions)(struct device *, struct list_head *);
1: + void (*apply_resv_region)(struct device *, struct iommu_domain *,
1: + struct iommu_resv_region *);
1: + int (*domain_window_enable)(struct iommu_domain *, u32, phys_addr_t, u64,
1: + int);
1: + void (*domain_window_disable)(struct iommu_domain *, u32);
1: + int (*of_xlate)(struct device *, struct of_phandle_args *);
1: + bool (*is_attach_deferred)(struct iommu_domain *, struct device *);
1: + bool (*dev_has_feat)(struct device *, enum iommu_dev_features);
1: + bool (*dev_feat_enabled)(struct device *, enum iommu_dev_features);
1: + int (*dev_enable_feat)(struct device *, enum iommu_dev_features);
1: + int (*dev_disable_feat)(struct device *, enum iommu_dev_features);
1: + int (*aux_attach_dev)(struct iommu_domain *, struct device *);
1: + void (*aux_detach_dev)(struct iommu_domain *, struct device *);
1: + int (*aux_get_pasid)(struct iommu_domain *, struct device *);
1: + struct iommu_sva *(*sva_bind)(struct device *, struct mm_struct *, void *);
1: + void (*sva_unbind)(struct iommu_sva *);
1: + int (*sva_get_pasid)(struct iommu_sva *);
1: + int (*page_response)(struct device *, struct iommu_fault_event *,
1: + struct iommu_page_response *);
1: + int (*cache_invalidate)(struct iommu_domain *, struct device *,
1: + struct iommu_cache_invalidate_info *);
1: + int (*sva_bind_gpasid)(struct iommu_domain *, struct device *,
1: + struct iommu_gpasid_bind_data *);
1: + int (*sva_unbind_gpasid)(struct device *, int);
1: + long unsigned int pgsize_bitmap;
1: };
1:
1: struct device_type {
1: - const char *name;
1: - const struct attribute_group **groups;
1: - int (*uevent)(struct device *, struct kobj_uevent_env *);
1: - char * (*devnode)(struct device *, umode_t *, kuid_t *, kgid_t *);
1: - void (*release)(struct device *);
1: - const struct dev_pm_ops *pm;
1: + const char *name;
1: + const struct attribute_group **groups;
1: + int (*uevent)(struct device *, struct kobj_uevent_env *);
1: + char *(*devnode)(struct device *, umode_t *, kuid_t *, kgid_t *);
1: + void (*release)(struct device *);
1: + const struct dev_pm_ops *pm;
1: };
1:
1: struct of_device_id {
1: - char name[32];
1: - char type[32];
1: - char compatible[128];
1: - const void *data;
1: + char name[32];
1: + char type[32];
1: + char compatible[128];
1: + const void *data;
1: };
1:
1: typedef long unsigned int kernel_ulong_t;
1:
1: struct acpi_device_id {
1: - __u8 id[9];
1: - kernel_ulong_t driver_data;
1: - __u32 cls;
1: - __u32 cls_msk;
1: + __u8 id[9];
1: + kernel_ulong_t driver_data;
1: + __u32 cls;
1: + __u32 cls_msk;
1: };
1:
1: struct class {
1: - const char *name;
1: - struct module *owner;
1: - const struct attribute_group **class_groups;
1: - const struct attribute_group **dev_groups;
1: - struct kobject *dev_kobj;
1: - int (*dev_uevent)(struct device *, struct kobj_uevent_env *);
1: - char * (*devnode)(struct device *, umode_t *);
1: - void (*class_release)(struct class *);
1: - void (*dev_release)(struct device *);
1: - int (*shutdown_pre)(struct device *);
1: - const struct kobj_ns_type_operations *ns_type;
1: - const void * (*namespace)(struct device *);
1: - void (*get_ownership)(struct device *, kuid_t *, kgid_t *);
1: - const struct dev_pm_ops *pm;
1: - struct subsys_private *p;
1: + const char *name;
1: + struct module *owner;
1: + const struct attribute_group **class_groups;
1: + const struct attribute_group **dev_groups;
1: + struct kobject *dev_kobj;
1: + int (*dev_uevent)(struct device *, struct kobj_uevent_env *);
1: + char *(*devnode)(struct device *, umode_t *);
1: + void (*class_release)(struct class *);
1: + void (*dev_release)(struct device *);
1: + int (*shutdown_pre)(struct device *);
1: + const struct kobj_ns_type_operations *ns_type;
1: + const void *(*namespace)(struct device *);
1: + void (*get_ownership)(struct device *, kuid_t *, kgid_t *);
1: + const struct dev_pm_ops *pm;
1: + struct subsys_private *p;
1: };
1:
1: struct device_dma_parameters {
1: - unsigned int max_segment_size;
1: - long unsigned int segment_boundary_mask;
1: + unsigned int max_segment_size;
1: + long unsigned int segment_boundary_mask;
1: };
1:
1: enum irq_domain_bus_token {
1: - DOMAIN_BUS_ANY = 0,
1: - DOMAIN_BUS_WIRED = 1,
1: - DOMAIN_BUS_GENERIC_MSI = 2,
1: - DOMAIN_BUS_PCI_MSI = 3,
1: - DOMAIN_BUS_PLATFORM_MSI = 4,
1: - DOMAIN_BUS_NEXUS = 5,
1: - DOMAIN_BUS_IPI = 6,
1: - DOMAIN_BUS_FSL_MC_MSI = 7,
1: - DOMAIN_BUS_TI_SCI_INTA_MSI = 8,
1: - DOMAIN_BUS_WAKEUP = 9,
1: + DOMAIN_BUS_ANY = 0,
1: + DOMAIN_BUS_WIRED = 1,
1: + DOMAIN_BUS_GENERIC_MSI = 2,
1: + DOMAIN_BUS_PCI_MSI = 3,
1: + DOMAIN_BUS_PLATFORM_MSI = 4,
1: + DOMAIN_BUS_NEXUS = 5,
1: + DOMAIN_BUS_IPI = 6,
1: + DOMAIN_BUS_FSL_MC_MSI = 7,
1: + DOMAIN_BUS_TI_SCI_INTA_MSI = 8,
1: + DOMAIN_BUS_WAKEUP = 9,
1: };
1:
1: struct irq_domain_ops;
1: @@ -7246,29 +7268,29 @@ struct irq_domain_ops;
1: struct irq_domain_chip_generic;
1:
1: struct irq_domain {
1: - struct list_head link;
1: - const char *name;
1: - const struct irq_domain_ops *ops;
1: - void *host_data;
1: - unsigned int flags;
1: - unsigned int mapcount;
1: - struct fwnode_handle *fwnode;
1: - enum irq_domain_bus_token bus_token;
1: - struct irq_domain_chip_generic *gc;
1: - struct irq_domain *parent;
1: - irq_hw_number_t hwirq_max;
1: - unsigned int revmap_direct_max_irq;
1: - unsigned int revmap_size;
1: - struct xarray revmap_tree;
1: - struct mutex revmap_tree_mutex;
1: - unsigned int linear_revmap[0];
1: + struct list_head link;
1: + const char *name;
1: + const struct irq_domain_ops *ops;
1: + void *host_data;
1: + unsigned int flags;
1: + unsigned int mapcount;
1: + struct fwnode_handle *fwnode;
1: + enum irq_domain_bus_token bus_token;
1: + struct irq_domain_chip_generic *gc;
1: + struct irq_domain *parent;
1: + irq_hw_number_t hwirq_max;
1: + unsigned int revmap_direct_max_irq;
1: + unsigned int revmap_size;
1: + struct xarray revmap_tree;
1: + struct mutex revmap_tree_mutex;
1: + unsigned int linear_revmap[0];
1: };
1:
1: enum dma_data_direction {
1: - DMA_BIDIRECTIONAL = 0,
1: - DMA_TO_DEVICE = 1,
1: - DMA_FROM_DEVICE = 2,
1: - DMA_NONE = 3,
1: + DMA_BIDIRECTIONAL = 0,
1: + DMA_TO_DEVICE = 1,
1: + DMA_FROM_DEVICE = 2,
1: + DMA_NONE = 3,
1: };
1:
1: struct sg_table;
1: @@ -7276,25 +7298,38 @@ struct sg_table;
1: struct scatterlist;
1:
1: struct dma_map_ops {
1: - void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int);
1: - void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int);
1: - int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int);
1: - int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int);
1: - dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int);
1: - void (*unmap_page)(struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: - int (*map_sg)(struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int);
1: - void (*unmap_sg)(struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int);
1: - dma_addr_t (*map_resource)(struct device *, phys_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: - void (*unmap_resource)(struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: - void (*sync_single_for_cpu)(struct device *, dma_addr_t, size_t, enum dma_data_direction);
1: - void (*sync_single_for_device)(struct device *, dma_addr_t, size_t, enum dma_data_direction);
1: - void (*sync_sg_for_cpu)(struct device *, struct scatterlist *, int, enum dma_data_direction);
1: - void (*sync_sg_for_device)(struct device *, struct scatterlist *, int, enum dma_data_direction);
1: - void (*cache_sync)(struct device *, void *, size_t, enum dma_data_direction);
1: - int (*dma_supported)(struct device *, u64);
1: - u64 (*get_required_mask)(struct device *);
1: - size_t (*max_mapping_size)(struct device *);
1: - long unsigned int (*get_merge_boundary)(struct device *);
1: + void *(*alloc)(struct device *, size_t, dma_addr_t *, gfp_t,
1: + long unsigned int);
1: + void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int);
1: + int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t,
1: + size_t, long unsigned int);
1: + int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t,
1: + size_t, long unsigned int);
1: + dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int,
1: + size_t, enum dma_data_direction, long unsigned int);
1: + void (*unmap_page)(struct device *, dma_addr_t, size_t,
1: + enum dma_data_direction, long unsigned int);
1: + int (*map_sg)(struct device *, struct scatterlist *, int,
1: + enum dma_data_direction, long unsigned int);
1: + void (*unmap_sg)(struct device *, struct scatterlist *, int,
1: + enum dma_data_direction, long unsigned int);
1: + dma_addr_t (*map_resource)(struct device *, phys_addr_t, size_t,
1: + enum dma_data_direction, long unsigned int);
1: + void (*unmap_resource)(struct device *, dma_addr_t, size_t,
1: + enum dma_data_direction, long unsigned int);
1: + void (*sync_single_for_cpu)(struct device *, dma_addr_t, size_t,
1: + enum dma_data_direction);
1: + void (*sync_single_for_device)(struct device *, dma_addr_t, size_t,
1: + enum dma_data_direction);
1: + void (*sync_sg_for_cpu)(struct device *, struct scatterlist *, int,
1: + enum dma_data_direction);
1: + void (*sync_sg_for_device)(struct device *, struct scatterlist *, int,
1: + enum dma_data_direction);
1: + void (*cache_sync)(struct device *, void *, size_t, enum dma_data_direction);
1: + int (*dma_supported)(struct device *, u64);
1: + u64 (*get_required_mask)(struct device *);
1: + size_t (*max_mapping_size)(struct device *);
1: + long unsigned int (*get_merge_boundary)(struct device *);
1: };
1:
1: typedef u32 phandle;
1: @@ -7302,195 +7337,195 @@ typedef u32 phandle;
1: struct property;
1:
1: struct device_node {
1: - const char *name;
1: - phandle phandle;
1: - const char *full_name;
1: - struct fwnode_handle fwnode;
1: - struct property *properties;
1: - struct property *deadprops;
1: - struct device_node *parent;
1: - struct device_node *child;
1: - struct device_node *sibling;
1: - long unsigned int _flags;
1: - void *data;
1: + const char *name;
1: + phandle phandle;
1: + const char *full_name;
1: + struct fwnode_handle fwnode;
1: + struct property *properties;
1: + struct property *deadprops;
1: + struct device_node *parent;
1: + struct device_node *child;
1: + struct device_node *sibling;
1: + long unsigned int _flags;
1: + void *data;
1: };
1:
1: enum cpuhp_state {
1: - CPUHP_INVALID = -1,
1: - CPUHP_OFFLINE = 0,
1: - CPUHP_CREATE_THREADS = 1,
1: - CPUHP_PERF_PREPARE = 2,
1: - CPUHP_PERF_X86_PREPARE = 3,
1: - CPUHP_PERF_X86_AMD_UNCORE_PREP = 4,
1: - CPUHP_PERF_POWER = 5,
1: - CPUHP_PERF_SUPERH = 6,
1: - CPUHP_X86_HPET_DEAD = 7,
1: - CPUHP_X86_APB_DEAD = 8,
1: - CPUHP_X86_MCE_DEAD = 9,
1: - CPUHP_VIRT_NET_DEAD = 10,
1: - CPUHP_SLUB_DEAD = 11,
1: - CPUHP_MM_WRITEBACK_DEAD = 12,
1: - CPUHP_MM_VMSTAT_DEAD = 13,
1: - CPUHP_SOFTIRQ_DEAD = 14,
1: - CPUHP_NET_MVNETA_DEAD = 15,
1: - CPUHP_CPUIDLE_DEAD = 16,
1: - CPUHP_ARM64_FPSIMD_DEAD = 17,
1: - CPUHP_ARM_OMAP_WAKE_DEAD = 18,
1: - CPUHP_IRQ_POLL_DEAD = 19,
1: - CPUHP_BLOCK_SOFTIRQ_DEAD = 20,
1: - CPUHP_ACPI_CPUDRV_DEAD = 21,
1: - CPUHP_S390_PFAULT_DEAD = 22,
1: - CPUHP_BLK_MQ_DEAD = 23,
1: - CPUHP_FS_BUFF_DEAD = 24,
1: - CPUHP_PRINTK_DEAD = 25,
1: - CPUHP_MM_MEMCQ_DEAD = 26,
1: - CPUHP_PERCPU_CNT_DEAD = 27,
1: - CPUHP_RADIX_DEAD = 28,
1: - CPUHP_PAGE_ALLOC_DEAD = 29,
1: - CPUHP_NET_DEV_DEAD = 30,
1: - CPUHP_PCI_XGENE_DEAD = 31,
1: - CPUHP_IOMMU_INTEL_DEAD = 32,
1: - CPUHP_LUSTRE_CFS_DEAD = 33,
1: - CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 34,
1: - CPUHP_WORKQUEUE_PREP = 35,
1: - CPUHP_POWER_NUMA_PREPARE = 36,
1: - CPUHP_HRTIMERS_PREPARE = 37,
1: - CPUHP_PROFILE_PREPARE = 38,
1: - CPUHP_X2APIC_PREPARE = 39,
1: - CPUHP_SMPCFD_PREPARE = 40,
1: - CPUHP_RELAY_PREPARE = 41,
1: - CPUHP_SLAB_PREPARE = 42,
1: - CPUHP_MD_RAID5_PREPARE = 43,
1: - CPUHP_RCUTREE_PREP = 44,
1: - CPUHP_CPUIDLE_COUPLED_PREPARE = 45,
1: - CPUHP_POWERPC_PMAC_PREPARE = 46,
1: - CPUHP_POWERPC_MMU_CTX_PREPARE = 47,
1: - CPUHP_XEN_PREPARE = 48,
1: - CPUHP_XEN_EVTCHN_PREPARE = 49,
1: - CPUHP_ARM_SHMOBILE_SCU_PREPARE = 50,
1: - CPUHP_SH_SH3X_PREPARE = 51,
1: - CPUHP_NET_FLOW_PREPARE = 52,
1: - CPUHP_TOPOLOGY_PREPARE = 53,
1: - CPUHP_NET_IUCV_PREPARE = 54,
1: - CPUHP_ARM_BL_PREPARE = 55,
1: - CPUHP_TRACE_RB_PREPARE = 56,
1: - CPUHP_MM_ZS_PREPARE = 57,
1: - CPUHP_MM_ZSWP_MEM_PREPARE = 58,
1: - CPUHP_MM_ZSWP_POOL_PREPARE = 59,
1: - CPUHP_KVM_PPC_BOOK3S_PREPARE = 60,
1: - CPUHP_ZCOMP_PREPARE = 61,
1: - CPUHP_TIMERS_PREPARE = 62,
1: - CPUHP_MIPS_SOC_PREPARE = 63,
1: - CPUHP_BP_PREPARE_DYN = 64,
1: - CPUHP_BP_PREPARE_DYN_END = 84,
1: - CPUHP_BRINGUP_CPU = 85,
1: - CPUHP_AP_IDLE_DEAD = 86,
1: - CPUHP_AP_OFFLINE = 87,
1: - CPUHP_AP_SCHED_STARTING = 88,
1: - CPUHP_AP_RCUTREE_DYING = 89,
1: - CPUHP_AP_IRQ_GIC_STARTING = 90,
1: - CPUHP_AP_IRQ_HIP04_STARTING = 91,
1: - CPUHP_AP_IRQ_ARMADA_XP_STARTING = 92,
1: - CPUHP_AP_IRQ_BCM2836_STARTING = 93,
1: - CPUHP_AP_IRQ_MIPS_GIC_STARTING = 94,
1: - CPUHP_AP_ARM_MVEBU_COHERENCY = 95,
1: - CPUHP_AP_MICROCODE_LOADER = 96,
1: - CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 97,
1: - CPUHP_AP_PERF_X86_STARTING = 98,
1: - CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 99,
1: - CPUHP_AP_PERF_X86_CQM_STARTING = 100,
1: - CPUHP_AP_PERF_X86_CSTATE_STARTING = 101,
1: - CPUHP_AP_PERF_XTENSA_STARTING = 102,
1: - CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 103,
1: - CPUHP_AP_ARM_SDEI_STARTING = 104,
1: - CPUHP_AP_ARM_VFP_STARTING = 105,
1: - CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 106,
1: - CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 107,
1: - CPUHP_AP_PERF_ARM_ACPI_STARTING = 108,
1: - CPUHP_AP_PERF_ARM_STARTING = 109,
1: - CPUHP_AP_ARM_L2X0_STARTING = 110,
1: - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 111,
1: - CPUHP_AP_ARM_ARCH_TIMER_STARTING = 112,
1: - CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 113,
1: - CPUHP_AP_JCORE_TIMER_STARTING = 114,
1: - CPUHP_AP_ARM_TWD_STARTING = 115,
1: - CPUHP_AP_QCOM_TIMER_STARTING = 116,
1: - CPUHP_AP_TEGRA_TIMER_STARTING = 117,
1: - CPUHP_AP_ARMADA_TIMER_STARTING = 118,
1: - CPUHP_AP_MARCO_TIMER_STARTING = 119,
1: - CPUHP_AP_MIPS_GIC_TIMER_STARTING = 120,
1: - CPUHP_AP_ARC_TIMER_STARTING = 121,
1: - CPUHP_AP_RISCV_TIMER_STARTING = 122,
1: - CPUHP_AP_CSKY_TIMER_STARTING = 123,
1: - CPUHP_AP_HYPERV_TIMER_STARTING = 124,
1: - CPUHP_AP_KVM_STARTING = 125,
1: - CPUHP_AP_KVM_ARM_VGIC_INIT_STARTING = 126,
1: - CPUHP_AP_KVM_ARM_VGIC_STARTING = 127,
1: - CPUHP_AP_KVM_ARM_TIMER_STARTING = 128,
1: - CPUHP_AP_DUMMY_TIMER_STARTING = 129,
1: - CPUHP_AP_ARM_XEN_STARTING = 130,
1: - CPUHP_AP_ARM_KVMPV_STARTING = 131,
1: - CPUHP_AP_ARM_CORESIGHT_STARTING = 132,
1: - CPUHP_AP_ARM64_ISNDEP_STARTING = 133,
1: - CPUHP_AP_SMPCFD_DYING = 134,
1: - CPUHP_AP_X86_TBOOT_DYING = 135,
1: - CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 136,
1: - CPUHP_AP_ONLINE = 137,
1: - CPUHP_TEARDOWN_CPU = 138,
1: - CPUHP_AP_ONLINE_IDLE = 139,
1: - CPUHP_AP_SMPBOOT_THREADS = 140,
1: - CPUHP_AP_X86_VDSO_VMA_ONLINE = 141,
1: - CPUHP_AP_IRQ_AFFINITY_ONLINE = 142,
1: - CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 143,
1: - CPUHP_AP_X86_INTEL_EPB_ONLINE = 144,
1: - CPUHP_AP_PERF_ONLINE = 145,
1: - CPUHP_AP_PERF_X86_ONLINE = 146,
1: - CPUHP_AP_PERF_X86_UNCORE_ONLINE = 147,
1: - CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 148,
1: - CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 149,
1: - CPUHP_AP_PERF_X86_RAPL_ONLINE = 150,
1: - CPUHP_AP_PERF_X86_CQM_ONLINE = 151,
1: - CPUHP_AP_PERF_X86_CSTATE_ONLINE = 152,
1: - CPUHP_AP_PERF_S390_CF_ONLINE = 153,
1: - CPUHP_AP_PERF_S390_SF_ONLINE = 154,
1: - CPUHP_AP_PERF_ARM_CCI_ONLINE = 155,
1: - CPUHP_AP_PERF_ARM_CCN_ONLINE = 156,
1: - CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 157,
1: - CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 158,
1: - CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 159,
1: - CPUHP_AP_PERF_ARM_L2X0_ONLINE = 160,
1: - CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 161,
1: - CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 162,
1: - CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 163,
1: - CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 164,
1: - CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 165,
1: - CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 166,
1: - CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 167,
1: - CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 168,
1: - CPUHP_AP_WATCHDOG_ONLINE = 169,
1: - CPUHP_AP_WORKQUEUE_ONLINE = 170,
1: - CPUHP_AP_RCUTREE_ONLINE = 171,
1: - CPUHP_AP_BASE_CACHEINFO_ONLINE = 172,
1: - CPUHP_AP_ONLINE_DYN = 173,
1: - CPUHP_AP_ONLINE_DYN_END = 203,
1: - CPUHP_AP_X86_HPET_ONLINE = 204,
1: - CPUHP_AP_X86_KVM_CLK_ONLINE = 205,
1: - CPUHP_AP_ACTIVE = 206,
1: - CPUHP_ONLINE = 207,
1: + CPUHP_INVALID = -1,
1: + CPUHP_OFFLINE = 0,
1: + CPUHP_CREATE_THREADS = 1,
1: + CPUHP_PERF_PREPARE = 2,
1: + CPUHP_PERF_X86_PREPARE = 3,
1: + CPUHP_PERF_X86_AMD_UNCORE_PREP = 4,
1: + CPUHP_PERF_POWER = 5,
1: + CPUHP_PERF_SUPERH = 6,
1: + CPUHP_X86_HPET_DEAD = 7,
1: + CPUHP_X86_APB_DEAD = 8,
1: + CPUHP_X86_MCE_DEAD = 9,
1: + CPUHP_VIRT_NET_DEAD = 10,
1: + CPUHP_SLUB_DEAD = 11,
1: + CPUHP_MM_WRITEBACK_DEAD = 12,
1: + CPUHP_MM_VMSTAT_DEAD = 13,
1: + CPUHP_SOFTIRQ_DEAD = 14,
1: + CPUHP_NET_MVNETA_DEAD = 15,
1: + CPUHP_CPUIDLE_DEAD = 16,
1: + CPUHP_ARM64_FPSIMD_DEAD = 17,
1: + CPUHP_ARM_OMAP_WAKE_DEAD = 18,
1: + CPUHP_IRQ_POLL_DEAD = 19,
1: + CPUHP_BLOCK_SOFTIRQ_DEAD = 20,
1: + CPUHP_ACPI_CPUDRV_DEAD = 21,
1: + CPUHP_S390_PFAULT_DEAD = 22,
1: + CPUHP_BLK_MQ_DEAD = 23,
1: + CPUHP_FS_BUFF_DEAD = 24,
1: + CPUHP_PRINTK_DEAD = 25,
1: + CPUHP_MM_MEMCQ_DEAD = 26,
1: + CPUHP_PERCPU_CNT_DEAD = 27,
1: + CPUHP_RADIX_DEAD = 28,
1: + CPUHP_PAGE_ALLOC_DEAD = 29,
1: + CPUHP_NET_DEV_DEAD = 30,
1: + CPUHP_PCI_XGENE_DEAD = 31,
1: + CPUHP_IOMMU_INTEL_DEAD = 32,
1: + CPUHP_LUSTRE_CFS_DEAD = 33,
1: + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 34,
1: + CPUHP_WORKQUEUE_PREP = 35,
1: + CPUHP_POWER_NUMA_PREPARE = 36,
1: + CPUHP_HRTIMERS_PREPARE = 37,
1: + CPUHP_PROFILE_PREPARE = 38,
1: + CPUHP_X2APIC_PREPARE = 39,
1: + CPUHP_SMPCFD_PREPARE = 40,
1: + CPUHP_RELAY_PREPARE = 41,
1: + CPUHP_SLAB_PREPARE = 42,
1: + CPUHP_MD_RAID5_PREPARE = 43,
1: + CPUHP_RCUTREE_PREP = 44,
1: + CPUHP_CPUIDLE_COUPLED_PREPARE = 45,
1: + CPUHP_POWERPC_PMAC_PREPARE = 46,
1: + CPUHP_POWERPC_MMU_CTX_PREPARE = 47,
1: + CPUHP_XEN_PREPARE = 48,
1: + CPUHP_XEN_EVTCHN_PREPARE = 49,
1: + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 50,
1: + CPUHP_SH_SH3X_PREPARE = 51,
1: + CPUHP_NET_FLOW_PREPARE = 52,
1: + CPUHP_TOPOLOGY_PREPARE = 53,
1: + CPUHP_NET_IUCV_PREPARE = 54,
1: + CPUHP_ARM_BL_PREPARE = 55,
1: + CPUHP_TRACE_RB_PREPARE = 56,
1: + CPUHP_MM_ZS_PREPARE = 57,
1: + CPUHP_MM_ZSWP_MEM_PREPARE = 58,
1: + CPUHP_MM_ZSWP_POOL_PREPARE = 59,
1: + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60,
1: + CPUHP_ZCOMP_PREPARE = 61,
1: + CPUHP_TIMERS_PREPARE = 62,
1: + CPUHP_MIPS_SOC_PREPARE = 63,
1: + CPUHP_BP_PREPARE_DYN = 64,
1: + CPUHP_BP_PREPARE_DYN_END = 84,
1: + CPUHP_BRINGUP_CPU = 85,
1: + CPUHP_AP_IDLE_DEAD = 86,
1: + CPUHP_AP_OFFLINE = 87,
1: + CPUHP_AP_SCHED_STARTING = 88,
1: + CPUHP_AP_RCUTREE_DYING = 89,
1: + CPUHP_AP_IRQ_GIC_STARTING = 90,
1: + CPUHP_AP_IRQ_HIP04_STARTING = 91,
1: + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 92,
1: + CPUHP_AP_IRQ_BCM2836_STARTING = 93,
1: + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 94,
1: + CPUHP_AP_ARM_MVEBU_COHERENCY = 95,
1: + CPUHP_AP_MICROCODE_LOADER = 96,
1: + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 97,
1: + CPUHP_AP_PERF_X86_STARTING = 98,
1: + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 99,
1: + CPUHP_AP_PERF_X86_CQM_STARTING = 100,
1: + CPUHP_AP_PERF_X86_CSTATE_STARTING = 101,
1: + CPUHP_AP_PERF_XTENSA_STARTING = 102,
1: + CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 103,
1: + CPUHP_AP_ARM_SDEI_STARTING = 104,
1: + CPUHP_AP_ARM_VFP_STARTING = 105,
1: + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 106,
1: + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 107,
1: + CPUHP_AP_PERF_ARM_ACPI_STARTING = 108,
1: + CPUHP_AP_PERF_ARM_STARTING = 109,
1: + CPUHP_AP_ARM_L2X0_STARTING = 110,
1: + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 111,
1: + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 112,
1: + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 113,
1: + CPUHP_AP_JCORE_TIMER_STARTING = 114,
1: + CPUHP_AP_ARM_TWD_STARTING = 115,
1: + CPUHP_AP_QCOM_TIMER_STARTING = 116,
1: + CPUHP_AP_TEGRA_TIMER_STARTING = 117,
1: + CPUHP_AP_ARMADA_TIMER_STARTING = 118,
1: + CPUHP_AP_MARCO_TIMER_STARTING = 119,
1: + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 120,
1: + CPUHP_AP_ARC_TIMER_STARTING = 121,
1: + CPUHP_AP_RISCV_TIMER_STARTING = 122,
1: + CPUHP_AP_CSKY_TIMER_STARTING = 123,
1: + CPUHP_AP_HYPERV_TIMER_STARTING = 124,
1: + CPUHP_AP_KVM_STARTING = 125,
1: + CPUHP_AP_KVM_ARM_VGIC_INIT_STARTING = 126,
1: + CPUHP_AP_KVM_ARM_VGIC_STARTING = 127,
1: + CPUHP_AP_KVM_ARM_TIMER_STARTING = 128,
1: + CPUHP_AP_DUMMY_TIMER_STARTING = 129,
1: + CPUHP_AP_ARM_XEN_STARTING = 130,
1: + CPUHP_AP_ARM_KVMPV_STARTING = 131,
1: + CPUHP_AP_ARM_CORESIGHT_STARTING = 132,
1: + CPUHP_AP_ARM64_ISNDEP_STARTING = 133,
1: + CPUHP_AP_SMPCFD_DYING = 134,
1: + CPUHP_AP_X86_TBOOT_DYING = 135,
1: + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 136,
1: + CPUHP_AP_ONLINE = 137,
1: + CPUHP_TEARDOWN_CPU = 138,
1: + CPUHP_AP_ONLINE_IDLE = 139,
1: + CPUHP_AP_SMPBOOT_THREADS = 140,
1: + CPUHP_AP_X86_VDSO_VMA_ONLINE = 141,
1: + CPUHP_AP_IRQ_AFFINITY_ONLINE = 142,
1: + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 143,
1: + CPUHP_AP_X86_INTEL_EPB_ONLINE = 144,
1: + CPUHP_AP_PERF_ONLINE = 145,
1: + CPUHP_AP_PERF_X86_ONLINE = 146,
1: + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 147,
1: + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 148,
1: + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 149,
1: + CPUHP_AP_PERF_X86_RAPL_ONLINE = 150,
1: + CPUHP_AP_PERF_X86_CQM_ONLINE = 151,
1: + CPUHP_AP_PERF_X86_CSTATE_ONLINE = 152,
1: + CPUHP_AP_PERF_S390_CF_ONLINE = 153,
1: + CPUHP_AP_PERF_S390_SF_ONLINE = 154,
1: + CPUHP_AP_PERF_ARM_CCI_ONLINE = 155,
1: + CPUHP_AP_PERF_ARM_CCN_ONLINE = 156,
1: + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 157,
1: + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 158,
1: + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 159,
1: + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 160,
1: + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 161,
1: + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 162,
1: + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 163,
1: + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 164,
1: + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 165,
1: + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 166,
1: + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 167,
1: + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 168,
1: + CPUHP_AP_WATCHDOG_ONLINE = 169,
1: + CPUHP_AP_WORKQUEUE_ONLINE = 170,
1: + CPUHP_AP_RCUTREE_ONLINE = 171,
1: + CPUHP_AP_BASE_CACHEINFO_ONLINE = 172,
1: + CPUHP_AP_ONLINE_DYN = 173,
1: + CPUHP_AP_ONLINE_DYN_END = 203,
1: + CPUHP_AP_X86_HPET_ONLINE = 204,
1: + CPUHP_AP_X86_KVM_CLK_ONLINE = 205,
1: + CPUHP_AP_ACTIVE = 206,
1: + CPUHP_ONLINE = 207,
1: };
1:
1: struct perf_regs {
1: - __u64 abi;
1: - struct pt_regs *regs;
1: + __u64 abi;
1: + struct pt_regs *regs;
1: };
1:
1: struct kernel_cpustat {
1: - u64 cpustat[10];
1: + u64 cpustat[10];
1: };
1:
1: struct kernel_stat {
1: - long unsigned int irqs_sum;
1: - unsigned int softirqs[10];
1: + long unsigned int irqs_sum;
1: + unsigned int softirqs[10];
1: };
1:
1: struct u64_stats_sync {};
1: @@ -7500,13 +7535,13 @@ struct bpf_cgroup_storage;
1: struct bpf_prog;
1:
1: struct bpf_prog_array_item {
1: - struct bpf_prog *prog;
1: - struct bpf_cgroup_storage *cgroup_storage[2];
1: + struct bpf_prog *prog;
1: + struct bpf_cgroup_storage *cgroup_storage[2];
1: };
1:
1: struct bpf_prog_array {
1: - struct callback_head rcu;
1: - struct bpf_prog_array_item items[0];
1: + struct callback_head rcu;
1: + struct bpf_prog_array_item items[0];
1: };
1:
1: struct cgroup_bpf {};
1: @@ -7514,38 +7549,38 @@ struct cgroup_bpf {};
1: struct psi_group {};
1:
1: struct cgroup_file {
1: - struct kernfs_node *kn;
1: - long unsigned int notified_at;
1: - struct timer_list notify_timer;
1: + struct kernfs_node *kn;
1: + long unsigned int notified_at;
1: + struct timer_list notify_timer;
1: };
1:
1: struct cgroup_subsys;
1:
1: struct cgroup_subsys_state {
1: - struct cgroup *cgroup;
1: - struct cgroup_subsys *ss;
1: - struct percpu_ref refcnt;
1: - struct list_head sibling;
1: - struct list_head children;
1: - struct list_head rstat_css_node;
1: - int id;
1: - unsigned int flags;
1: - u64 serial_nr;
1: - atomic_t online_cnt;
1: - struct work_struct destroy_work;
1: - struct rcu_work destroy_rwork;
1: - struct cgroup_subsys_state *parent;
1: + struct cgroup *cgroup;
1: + struct cgroup_subsys *ss;
1: + struct percpu_ref refcnt;
1: + struct list_head sibling;
1: + struct list_head children;
1: + struct list_head rstat_css_node;
1: + int id;
1: + unsigned int flags;
1: + u64 serial_nr;
1: + atomic_t online_cnt;
1: + struct work_struct destroy_work;
1: + struct rcu_work destroy_rwork;
1: + struct cgroup_subsys_state *parent;
1: };
1:
1: struct cgroup_base_stat {
1: - struct task_cputime cputime;
1: + struct task_cputime cputime;
1: };
1:
1: struct cgroup_freezer_state {
1: - bool freeze;
1: - int e_freeze;
1: - int nr_frozen_descendants;
1: - int nr_frozen_tasks;
1: + bool freeze;
1: + int e_freeze;
1: + int nr_frozen_descendants;
1: + int nr_frozen_tasks;
1: };
1:
1: struct cgroup_root;
1: @@ -7553,44 +7588,44 @@ struct cgroup_root;
1: struct cgroup_rstat_cpu;
1:
1: struct cgroup {
1: - struct cgroup_subsys_state self;
1: - long unsigned int flags;
1: - int level;
1: - int max_depth;
1: - int nr_descendants;
1: - int nr_dying_descendants;
1: - int max_descendants;
1: - int nr_populated_csets;
1: - int nr_populated_domain_children;
1: - int nr_populated_threaded_children;
1: - int nr_threaded_children;
1: - struct kernfs_node *kn;
1: - struct cgroup_file procs_file;
1: - struct cgroup_file events_file;
1: - u16 subtree_control;
1: - u16 subtree_ss_mask;
1: - u16 old_subtree_control;
1: - u16 old_subtree_ss_mask;
1: - struct cgroup_subsys_state *subsys[4];
1: - struct cgroup_root *root;
1: - struct list_head cset_links;
1: - struct list_head e_csets[4];
1: - struct cgroup *dom_cgrp;
1: - struct cgroup *old_dom_cgrp;
1: - struct cgroup_rstat_cpu *rstat_cpu;
1: - struct list_head rstat_css_list;
1: - struct cgroup_base_stat last_bstat;
1: - struct cgroup_base_stat bstat;
1: - struct prev_cputime prev_cputime;
1: - struct list_head pidlists;
1: - struct mutex pidlist_mutex;
1: - wait_queue_head_t offline_waitq;
1: - struct work_struct release_agent_work;
1: - struct psi_group psi;
1: - struct cgroup_bpf bpf;
1: - atomic_t congestion_count;
1: - struct cgroup_freezer_state freezer;
1: - u64 ancestor_ids[0];
1: + struct cgroup_subsys_state self;
1: + long unsigned int flags;
1: + int level;
1: + int max_depth;
1: + int nr_descendants;
1: + int nr_dying_descendants;
1: + int max_descendants;
1: + int nr_populated_csets;
1: + int nr_populated_domain_children;
1: + int nr_populated_threaded_children;
1: + int nr_threaded_children;
1: + struct kernfs_node *kn;
1: + struct cgroup_file procs_file;
1: + struct cgroup_file events_file;
1: + u16 subtree_control;
1: + u16 subtree_ss_mask;
1: + u16 old_subtree_control;
1: + u16 old_subtree_ss_mask;
1: + struct cgroup_subsys_state *subsys[4];
1: + struct cgroup_root *root;
1: + struct list_head cset_links;
1: + struct list_head e_csets[4];
1: + struct cgroup *dom_cgrp;
1: + struct cgroup *old_dom_cgrp;
1: + struct cgroup_rstat_cpu *rstat_cpu;
1: + struct list_head rstat_css_list;
1: + struct cgroup_base_stat last_bstat;
1: + struct cgroup_base_stat bstat;
1: + struct prev_cputime prev_cputime;
1: + struct list_head pidlists;
1: + struct mutex pidlist_mutex;
1: + wait_queue_head_t offline_waitq;
1: + struct work_struct release_agent_work;
1: + struct psi_group psi;
1: + struct cgroup_bpf bpf;
1: + atomic_t congestion_count;
1: + struct cgroup_freezer_state freezer;
1: + u64 ancestor_ids[0];
1: };
1:
1: struct cgroup_taskset;
1: @@ -7598,109 +7633,110 @@ struct cgroup_taskset;
1: struct cftype;
1:
1: struct cgroup_subsys {
1: - struct cgroup_subsys_state * (*css_alloc)(struct cgroup_subsys_state *);
1: - int (*css_online)(struct cgroup_subsys_state *);
1: - void (*css_offline)(struct cgroup_subsys_state *);
1: - void (*css_released)(struct cgroup_subsys_state *);
1: - void (*css_free)(struct cgroup_subsys_state *);
1: - void (*css_reset)(struct cgroup_subsys_state *);
1: - void (*css_rstat_flush)(struct cgroup_subsys_state *, int);
1: - int (*css_extra_stat_show)(struct seq_file *, struct cgroup_subsys_state *);
1: - int (*can_attach)(struct cgroup_taskset *);
1: - void (*cancel_attach)(struct cgroup_taskset *);
1: - void (*attach)(struct cgroup_taskset *);
1: - void (*post_attach)();
1: - int (*can_fork)(struct task_struct *);
1: - void (*cancel_fork)(struct task_struct *);
1: - void (*fork)(struct task_struct *);
1: - void (*exit)(struct task_struct *);
1: - void (*release)(struct task_struct *);
1: - void (*bind)(struct cgroup_subsys_state *);
1: - bool early_init: 1;
1: - bool implicit_on_dfl: 1;
1: - bool threaded: 1;
1: - bool broken_hierarchy: 1;
1: - bool warned_broken_hierarchy: 1;
1: - int id;
1: - const char *name;
1: - const char *legacy_name;
1: - struct cgroup_root *root;
1: - struct idr css_idr;
1: - struct list_head cfts;
1: - struct cftype *dfl_cftypes;
1: - struct cftype *legacy_cftypes;
1: - unsigned int depends_on;
1: + struct cgroup_subsys_state *(*css_alloc)(struct cgroup_subsys_state *);
1: + int (*css_online)(struct cgroup_subsys_state *);
1: + void (*css_offline)(struct cgroup_subsys_state *);
1: + void (*css_released)(struct cgroup_subsys_state *);
1: + void (*css_free)(struct cgroup_subsys_state *);
1: + void (*css_reset)(struct cgroup_subsys_state *);
1: + void (*css_rstat_flush)(struct cgroup_subsys_state *, int);
1: + int (*css_extra_stat_show)(struct seq_file *, struct cgroup_subsys_state *);
1: + int (*can_attach)(struct cgroup_taskset *);
1: + void (*cancel_attach)(struct cgroup_taskset *);
1: + void (*attach)(struct cgroup_taskset *);
1: + void (*post_attach)();
1: + int (*can_fork)(struct task_struct *);
1: + void (*cancel_fork)(struct task_struct *);
1: + void (*fork)(struct task_struct *);
1: + void (*exit)(struct task_struct *);
1: + void (*release)(struct task_struct *);
1: + void (*bind)(struct cgroup_subsys_state *);
1: + bool early_init : 1;
1: + bool implicit_on_dfl : 1;
1: + bool threaded : 1;
1: + bool broken_hierarchy : 1;
1: + bool warned_broken_hierarchy : 1;
1: + int id;
1: + const char *name;
1: + const char *legacy_name;
1: + struct cgroup_root *root;
1: + struct idr css_idr;
1: + struct list_head cfts;
1: + struct cftype *dfl_cftypes;
1: + struct cftype *legacy_cftypes;
1: + unsigned int depends_on;
1: };
1:
1: struct cgroup_rstat_cpu {
1: - struct u64_stats_sync bsync;
1: - struct cgroup_base_stat bstat;
1: - struct cgroup_base_stat last_bstat;
1: - struct cgroup *updated_children;
1: - struct cgroup *updated_next;
1: + struct u64_stats_sync bsync;
1: + struct cgroup_base_stat bstat;
1: + struct cgroup_base_stat last_bstat;
1: + struct cgroup *updated_children;
1: + struct cgroup *updated_next;
1: };
1:
1: struct cgroup_root {
1: - struct kernfs_root *kf_root;
1: - unsigned int subsys_mask;
1: - int hierarchy_id;
1: - struct cgroup cgrp;
1: - u64 cgrp_ancestor_id_storage;
1: - atomic_t nr_cgrps;
1: - struct list_head root_list;
1: - unsigned int flags;
1: - char release_agent_path[4096];
1: - char name[64];
1: + struct kernfs_root *kf_root;
1: + unsigned int subsys_mask;
1: + int hierarchy_id;
1: + struct cgroup cgrp;
1: + u64 cgrp_ancestor_id_storage;
1: + atomic_t nr_cgrps;
1: + struct list_head root_list;
1: + unsigned int flags;
1: + char release_agent_path[4096];
1: + char name[64];
1: };
1:
1: struct cftype {
1: - char name[64];
1: - long unsigned int private;
1: - size_t max_write_len;
1: - unsigned int flags;
1: - unsigned int file_offset;
1: - struct cgroup_subsys *ss;
1: - struct list_head node;
1: - struct kernfs_ops *kf_ops;
1: - int (*open)(struct kernfs_open_file *);
1: - void (*release)(struct kernfs_open_file *);
1: - u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
1: - s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
1: - int (*seq_show)(struct seq_file *, void *);
1: - void * (*seq_start)(struct seq_file *, loff_t *);
1: - void * (*seq_next)(struct seq_file *, void *, loff_t *);
1: - void (*seq_stop)(struct seq_file *, void *);
1: - int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
1: - int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
1: - ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
1: - __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
1: + char name[64];
1: + long unsigned int private;
1: + size_t max_write_len;
1: + unsigned int flags;
1: + unsigned int file_offset;
1: + struct cgroup_subsys *ss;
1: + struct list_head node;
1: + struct kernfs_ops *kf_ops;
1: + int (*open)(struct kernfs_open_file *);
1: + void (*release)(struct kernfs_open_file *);
1: + u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
1: + s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
1: + int (*seq_show)(struct seq_file *, void *);
1: + void *(*seq_start)(struct seq_file *, loff_t *);
1: + void *(*seq_next)(struct seq_file *, void *, loff_t *);
1: + void (*seq_stop)(struct seq_file *, void *);
1: + int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
1: + int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
1: + ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
1: + __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
1: };
1:
1: struct perf_callchain_entry {
1: - __u64 nr;
1: - __u64 ip[0];
1: + __u64 nr;
1: + __u64 ip[0];
1: };
1:
1: -typedef long unsigned int (*perf_copy_f)(void *, const void *, long unsigned int, long unsigned int);
1: +typedef long unsigned int (*perf_copy_f)(void *, const void *,
1: + long unsigned int, long unsigned int);
1:
1: struct perf_raw_frag {
1: - union {
1: - struct perf_raw_frag *next;
1: - long unsigned int pad;
1: - };
1: - perf_copy_f copy;
1: - void *data;
1: - u32 size;
1: + union {
1: + struct perf_raw_frag *next;
1: + long unsigned int pad;
1: + };
1: + perf_copy_f copy;
1: + void *data;
1: + u32 size;
1: } __attribute__((packed));
1:
1: struct perf_raw_record {
1: - struct perf_raw_frag frag;
1: - u32 size;
1: + struct perf_raw_frag frag;
1: + u32 size;
1: };
1:
1: struct perf_branch_stack {
1: - __u64 nr;
1: - struct perf_branch_entry entries[0];
1: + __u64 nr;
1: + struct perf_branch_entry entries[0];
1: };
1:
1: struct perf_cpu_context;
1: @@ -7708,119 +7744,121 @@ struct perf_cpu_context;
1: struct perf_output_handle;
1:
1: struct pmu {
1: - struct list_head entry;
1: - struct module *module;
1: - struct device *dev;
1: - const struct attribute_group **attr_groups;
1: - const struct attribute_group **attr_update;
1: - const char *name;
1: - int type;
1: - int capabilities;
1: - int *pmu_disable_count;
1: - struct perf_cpu_context *pmu_cpu_context;
1: - atomic_t exclusive_cnt;
1: - int task_ctx_nr;
1: - int hrtimer_interval_ms;
1: - unsigned int nr_addr_filters;
1: - void (*pmu_enable)(struct pmu *);
1: - void (*pmu_disable)(struct pmu *);
1: - int (*event_init)(struct perf_event *);
1: - void (*event_mapped)(struct perf_event *, struct mm_struct *);
1: - void (*event_unmapped)(struct perf_event *, struct mm_struct *);
1: - int (*add)(struct perf_event *, int);
1: - void (*del)(struct perf_event *, int);
1: - void (*start)(struct perf_event *, int);
1: - void (*stop)(struct perf_event *, int);
1: - void (*read)(struct perf_event *);
1: - void (*start_txn)(struct pmu *, unsigned int);
1: - int (*commit_txn)(struct pmu *);
1: - void (*cancel_txn)(struct pmu *);
1: - int (*event_idx)(struct perf_event *);
1: - void (*sched_task)(struct perf_event_context *, bool);
1: - size_t task_ctx_size;
1: - void (*swap_task_ctx)(struct perf_event_context *, struct perf_event_context *);
1: - void * (*setup_aux)(struct perf_event *, void **, int, bool);
1: - void (*free_aux)(void *);
1: - long int (*snapshot_aux)(struct perf_event *, struct perf_output_handle *, long unsigned int);
1: - int (*addr_filters_validate)(struct list_head *);
1: - void (*addr_filters_sync)(struct perf_event *);
1: - int (*aux_output_match)(struct perf_event *);
1: - int (*filter_match)(struct perf_event *);
1: - int (*check_period)(struct perf_event *, u64);
1: + struct list_head entry;
1: + struct module *module;
1: + struct device *dev;
1: + const struct attribute_group **attr_groups;
1: + const struct attribute_group **attr_update;
1: + const char *name;
1: + int type;
1: + int capabilities;
1: + int *pmu_disable_count;
1: + struct perf_cpu_context *pmu_cpu_context;
1: + atomic_t exclusive_cnt;
1: + int task_ctx_nr;
1: + int hrtimer_interval_ms;
1: + unsigned int nr_addr_filters;
1: + void (*pmu_enable)(struct pmu *);
1: + void (*pmu_disable)(struct pmu *);
1: + int (*event_init)(struct perf_event *);
1: + void (*event_mapped)(struct perf_event *, struct mm_struct *);
1: + void (*event_unmapped)(struct perf_event *, struct mm_struct *);
1: + int (*add)(struct perf_event *, int);
1: + void (*del)(struct perf_event *, int);
1: + void (*start)(struct perf_event *, int);
1: + void (*stop)(struct perf_event *, int);
1: + void (*read)(struct perf_event *);
1: + void (*start_txn)(struct pmu *, unsigned int);
1: + int (*commit_txn)(struct pmu *);
1: + void (*cancel_txn)(struct pmu *);
1: + int (*event_idx)(struct perf_event *);
1: + void (*sched_task)(struct perf_event_context *, bool);
1: + size_t task_ctx_size;
1: + void (*swap_task_ctx)(struct perf_event_context *,
1: + struct perf_event_context *);
1: + void *(*setup_aux)(struct perf_event *, void **, int, bool);
1: + void (*free_aux)(void *);
1: + long int (*snapshot_aux)(struct perf_event *, struct perf_output_handle *,
1: + long unsigned int);
1: + int (*addr_filters_validate)(struct list_head *);
1: + void (*addr_filters_sync)(struct perf_event *);
1: + int (*aux_output_match)(struct perf_event *);
1: + int (*filter_match)(struct perf_event *);
1: + int (*check_period)(struct perf_event *, u64);
1: };
1:
1: struct perf_cpu_context {
1: - struct perf_event_context ctx;
1: - struct perf_event_context *task_ctx;
1: - int active_oncpu;
1: - int exclusive;
1: - raw_spinlock_t hrtimer_lock;
1: - struct hrtimer hrtimer;
1: - ktime_t hrtimer_interval;
1: - unsigned int hrtimer_active;
1: - struct list_head sched_cb_entry;
1: - int sched_cb_usage;
1: - int online;
1: + struct perf_event_context ctx;
1: + struct perf_event_context *task_ctx;
1: + int active_oncpu;
1: + int exclusive;
1: + raw_spinlock_t hrtimer_lock;
1: + struct hrtimer hrtimer;
1: + ktime_t hrtimer_interval;
1: + unsigned int hrtimer_active;
1: + struct list_head sched_cb_entry;
1: + int sched_cb_usage;
1: + int online;
1: };
1:
1: struct perf_output_handle {
1: - struct perf_event *event;
1: - struct ring_buffer *rb;
1: - long unsigned int wakeup;
1: - long unsigned int size;
1: - u64 aux_flags;
1: - union {
1: - void *addr;
1: - long unsigned int head;
1: - };
1: - int page;
1: + struct perf_event *event;
1: + struct ring_buffer *rb;
1: + long unsigned int wakeup;
1: + long unsigned int size;
1: + u64 aux_flags;
1: + union {
1: + void *addr;
1: + long unsigned int head;
1: + };
1: + int page;
1: };
1:
1: struct perf_addr_filter_range {
1: - long unsigned int start;
1: - long unsigned int size;
1: + long unsigned int start;
1: + long unsigned int size;
1: };
1:
1: struct perf_sample_data {
1: - u64 addr;
1: - struct perf_raw_record *raw;
1: - struct perf_branch_stack *br_stack;
1: - u64 period;
1: - u64 weight;
1: - u64 txn;
1: - union perf_mem_data_src data_src;
1: - u64 type;
1: - u64 ip;
1: - struct {
1: - u32 pid;
1: - u32 tid;
1: - } tid_entry;
1: - u64 time;
1: - u64 id;
1: - u64 stream_id;
1: - struct {
1: - u32 cpu;
1: - u32 reserved;
1: - } cpu_entry;
1: - struct perf_callchain_entry *callchain;
1: - u64 aux_size;
1: - struct perf_regs regs_user;
1: - struct pt_regs regs_user_copy;
1: - struct perf_regs regs_intr;
1: - u64 stack_user_size;
1: - u64 phys_addr;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + u64 addr;
1: + struct perf_raw_record *raw;
1: + struct perf_branch_stack *br_stack;
1: + u64 period;
1: + u64 weight;
1: + u64 txn;
1: + union perf_mem_data_src data_src;
1: + u64 type;
1: + u64 ip;
1: + struct {
1: + u32 pid;
1: + u32 tid;
1: + } tid_entry;
1: + u64 time;
1: + u64 id;
1: + u64 stream_id;
1: + struct {
1: + u32 cpu;
1: + u32 reserved;
1: + } cpu_entry;
1: + struct perf_callchain_entry *callchain;
1: + u64 aux_size;
1: + struct perf_regs regs_user;
1: + struct pt_regs regs_user_copy;
1: + struct perf_regs regs_intr;
1: + u64 stack_user_size;
1: + u64 phys_addr;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct trace_entry {
1: - short unsigned int type;
1: - unsigned char flags;
1: - unsigned char preempt_count;
1: - int pid;
1: + short unsigned int type;
1: + unsigned char flags;
1: + unsigned char preempt_count;
1: + int pid;
1: };
1:
1: struct trace_array;
1: @@ -7832,308 +7870,313 @@ struct trace_buffer;
1: struct ring_buffer_iter;
1:
1: struct trace_iterator {
1: - struct trace_array *tr;
1: - struct tracer *trace;
1: - struct trace_buffer *trace_buffer;
1: - void *private;
1: - int cpu_file;
1: - struct mutex mutex;
1: - struct ring_buffer_iter **buffer_iter;
1: - long unsigned int iter_flags;
1: - struct trace_seq tmp_seq;
1: - cpumask_var_t started;
1: - bool snapshot;
1: - struct trace_seq seq;
1: - struct trace_entry *ent;
1: - long unsigned int lost_events;
1: - int leftover;
1: - int ent_size;
1: - int cpu;
1: - u64 ts;
1: - loff_t pos;
1: - long int idx;
1: + struct trace_array *tr;
1: + struct tracer *trace;
1: + struct trace_buffer *trace_buffer;
1: + void *private;
1: + int cpu_file;
1: + struct mutex mutex;
1: + struct ring_buffer_iter **buffer_iter;
1: + long unsigned int iter_flags;
1: + struct trace_seq tmp_seq;
1: + cpumask_var_t started;
1: + bool snapshot;
1: + struct trace_seq seq;
1: + struct trace_entry *ent;
1: + long unsigned int lost_events;
1: + int leftover;
1: + int ent_size;
1: + int cpu;
1: + u64 ts;
1: + loff_t pos;
1: + long int idx;
1: };
1:
1: enum print_line_t {
1: - TRACE_TYPE_PARTIAL_LINE = 0,
1: - TRACE_TYPE_HANDLED = 1,
1: - TRACE_TYPE_UNHANDLED = 2,
1: - TRACE_TYPE_NO_CONSUME = 3,
1: + TRACE_TYPE_PARTIAL_LINE = 0,
1: + TRACE_TYPE_HANDLED = 1,
1: + TRACE_TYPE_UNHANDLED = 2,
1: + TRACE_TYPE_NO_CONSUME = 3,
1: };
1:
1: -typedef enum print_line_t (*trace_print_func)(struct trace_iterator *, int, struct trace_event *);
1: +typedef enum print_line_t (*trace_print_func)(struct trace_iterator *, int,
1: + struct trace_event *);
1:
1: struct trace_event_functions {
1: - trace_print_func trace;
1: - trace_print_func raw;
1: - trace_print_func hex;
1: - trace_print_func binary;
1: + trace_print_func trace;
1: + trace_print_func raw;
1: + trace_print_func hex;
1: + trace_print_func binary;
1: };
1:
1: enum trace_reg {
1: - TRACE_REG_REGISTER = 0,
1: - TRACE_REG_UNREGISTER = 1,
1: - TRACE_REG_PERF_REGISTER = 2,
1: - TRACE_REG_PERF_UNREGISTER = 3,
1: - TRACE_REG_PERF_OPEN = 4,
1: - TRACE_REG_PERF_CLOSE = 5,
1: - TRACE_REG_PERF_ADD = 6,
1: - TRACE_REG_PERF_DEL = 7,
1: + TRACE_REG_REGISTER = 0,
1: + TRACE_REG_UNREGISTER = 1,
1: + TRACE_REG_PERF_REGISTER = 2,
1: + TRACE_REG_PERF_UNREGISTER = 3,
1: + TRACE_REG_PERF_OPEN = 4,
1: + TRACE_REG_PERF_CLOSE = 5,
1: + TRACE_REG_PERF_ADD = 6,
1: + TRACE_REG_PERF_DEL = 7,
1: };
1:
1: struct trace_event_class {
1: - const char *system;
1: - void *probe;
1: - void *perf_probe;
1: - int (*reg)(struct trace_event_call *, enum trace_reg, void *);
1: - int (*define_fields)(struct trace_event_call *);
1: - struct list_head * (*get_fields)(struct trace_event_call *);
1: - struct list_head fields;
1: - int (*raw_init)(struct trace_event_call *);
1: + const char *system;
1: + void *probe;
1: + void *perf_probe;
1: + int (*reg)(struct trace_event_call *, enum trace_reg, void *);
1: + int (*define_fields)(struct trace_event_call *);
1: + struct list_head *(*get_fields)(struct trace_event_call *);
1: + struct list_head fields;
1: + int (*raw_init)(struct trace_event_call *);
1: };
1:
1: struct trace_event_file;
1:
1: struct trace_event_buffer {
1: - struct ring_buffer *buffer;
1: - struct ring_buffer_event *event;
1: - struct trace_event_file *trace_file;
1: - void *entry;
1: - long unsigned int flags;
1: - int pc;
1: + struct ring_buffer *buffer;
1: + struct ring_buffer_event *event;
1: + struct trace_event_file *trace_file;
1: + void *entry;
1: + long unsigned int flags;
1: + int pc;
1: };
1:
1: struct trace_subsystem_dir;
1:
1: struct trace_event_file {
1: - struct list_head list;
1: - struct trace_event_call *event_call;
1: - struct event_filter *filter;
1: - struct dentry *dir;
1: - struct trace_array *tr;
1: - struct trace_subsystem_dir *system;
1: - struct list_head triggers;
1: - long unsigned int flags;
1: - atomic_t sm_ref;
1: - atomic_t tm_ref;
1: -};
1: -
1: -enum {
1: - TRACE_EVENT_FL_FILTERED_BIT = 0,
1: - TRACE_EVENT_FL_CAP_ANY_BIT = 1,
1: - TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2,
1: - TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3,
1: - TRACE_EVENT_FL_TRACEPOINT_BIT = 4,
1: - TRACE_EVENT_FL_KPROBE_BIT = 5,
1: - TRACE_EVENT_FL_UPROBE_BIT = 6,
1: -};
1: -
1: -enum {
1: - TRACE_EVENT_FL_FILTERED = 1,
1: - TRACE_EVENT_FL_CAP_ANY = 2,
1: - TRACE_EVENT_FL_NO_SET_FILTER = 4,
1: - TRACE_EVENT_FL_IGNORE_ENABLE = 8,
1: - TRACE_EVENT_FL_TRACEPOINT = 16,
1: - TRACE_EVENT_FL_KPROBE = 32,
1: - TRACE_EVENT_FL_UPROBE = 64,
1: -};
1: -
1: -enum {
1: - EVENT_FILE_FL_ENABLED_BIT = 0,
1: - EVENT_FILE_FL_RECORDED_CMD_BIT = 1,
1: - EVENT_FILE_FL_RECORDED_TGID_BIT = 2,
1: - EVENT_FILE_FL_FILTERED_BIT = 3,
1: - EVENT_FILE_FL_NO_SET_FILTER_BIT = 4,
1: - EVENT_FILE_FL_SOFT_MODE_BIT = 5,
1: - EVENT_FILE_FL_SOFT_DISABLED_BIT = 6,
1: - EVENT_FILE_FL_TRIGGER_MODE_BIT = 7,
1: - EVENT_FILE_FL_TRIGGER_COND_BIT = 8,
1: - EVENT_FILE_FL_PID_FILTER_BIT = 9,
1: - EVENT_FILE_FL_WAS_ENABLED_BIT = 10,
1: -};
1: -
1: -enum {
1: - EVENT_FILE_FL_ENABLED = 1,
1: - EVENT_FILE_FL_RECORDED_CMD = 2,
1: - EVENT_FILE_FL_RECORDED_TGID = 4,
1: - EVENT_FILE_FL_FILTERED = 8,
1: - EVENT_FILE_FL_NO_SET_FILTER = 16,
1: - EVENT_FILE_FL_SOFT_MODE = 32,
1: - EVENT_FILE_FL_SOFT_DISABLED = 64,
1: - EVENT_FILE_FL_TRIGGER_MODE = 128,
1: - EVENT_FILE_FL_TRIGGER_COND = 256,
1: - EVENT_FILE_FL_PID_FILTER = 512,
1: - EVENT_FILE_FL_WAS_ENABLED = 1024,
1: + struct list_head list;
1: + struct trace_event_call *event_call;
1: + struct event_filter *filter;
1: + struct dentry *dir;
1: + struct trace_array *tr;
1: + struct trace_subsystem_dir *system;
1: + struct list_head triggers;
1: + long unsigned int flags;
1: + atomic_t sm_ref;
1: + atomic_t tm_ref;
1: +};
1: +
1: +enum {
1: + TRACE_EVENT_FL_FILTERED_BIT = 0,
1: + TRACE_EVENT_FL_CAP_ANY_BIT = 1,
1: + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2,
1: + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3,
1: + TRACE_EVENT_FL_TRACEPOINT_BIT = 4,
1: + TRACE_EVENT_FL_KPROBE_BIT = 5,
1: + TRACE_EVENT_FL_UPROBE_BIT = 6,
1: +};
1: +
1: +enum {
1: + TRACE_EVENT_FL_FILTERED = 1,
1: + TRACE_EVENT_FL_CAP_ANY = 2,
1: + TRACE_EVENT_FL_NO_SET_FILTER = 4,
1: + TRACE_EVENT_FL_IGNORE_ENABLE = 8,
1: + TRACE_EVENT_FL_TRACEPOINT = 16,
1: + TRACE_EVENT_FL_KPROBE = 32,
1: + TRACE_EVENT_FL_UPROBE = 64,
1: +};
1: +
1: +enum {
1: + EVENT_FILE_FL_ENABLED_BIT = 0,
1: + EVENT_FILE_FL_RECORDED_CMD_BIT = 1,
1: + EVENT_FILE_FL_RECORDED_TGID_BIT = 2,
1: + EVENT_FILE_FL_FILTERED_BIT = 3,
1: + EVENT_FILE_FL_NO_SET_FILTER_BIT = 4,
1: + EVENT_FILE_FL_SOFT_MODE_BIT = 5,
1: + EVENT_FILE_FL_SOFT_DISABLED_BIT = 6,
1: + EVENT_FILE_FL_TRIGGER_MODE_BIT = 7,
1: + EVENT_FILE_FL_TRIGGER_COND_BIT = 8,
1: + EVENT_FILE_FL_PID_FILTER_BIT = 9,
1: + EVENT_FILE_FL_WAS_ENABLED_BIT = 10,
1: +};
1: +
1: +enum {
1: + EVENT_FILE_FL_ENABLED = 1,
1: + EVENT_FILE_FL_RECORDED_CMD = 2,
1: + EVENT_FILE_FL_RECORDED_TGID = 4,
1: + EVENT_FILE_FL_FILTERED = 8,
1: + EVENT_FILE_FL_NO_SET_FILTER = 16,
1: + EVENT_FILE_FL_SOFT_MODE = 32,
1: + EVENT_FILE_FL_SOFT_DISABLED = 64,
1: + EVENT_FILE_FL_TRIGGER_MODE = 128,
1: + EVENT_FILE_FL_TRIGGER_COND = 256,
1: + EVENT_FILE_FL_PID_FILTER = 512,
1: + EVENT_FILE_FL_WAS_ENABLED = 1024,
1: };
1:
1: enum event_trigger_type {
1: - ETT_NONE = 0,
1: - ETT_TRACE_ONOFF = 1,
1: - ETT_SNAPSHOT = 2,
1: - ETT_STACKTRACE = 4,
1: - ETT_EVENT_ENABLE = 8,
1: - ETT_EVENT_HIST = 16,
1: - ETT_HIST_ENABLE = 32,
1: + ETT_NONE = 0,
1: + ETT_TRACE_ONOFF = 1,
1: + ETT_SNAPSHOT = 2,
1: + ETT_STACKTRACE = 4,
1: + ETT_EVENT_ENABLE = 8,
1: + ETT_EVENT_HIST = 16,
1: + ETT_HIST_ENABLE = 32,
1: };
1:
1: enum {
1: - FILTER_OTHER = 0,
1: - FILTER_STATIC_STRING = 1,
1: - FILTER_DYN_STRING = 2,
1: - FILTER_PTR_STRING = 3,
1: - FILTER_TRACE_FN = 4,
1: - FILTER_COMM = 5,
1: - FILTER_CPU = 6,
1: + FILTER_OTHER = 0,
1: + FILTER_STATIC_STRING = 1,
1: + FILTER_DYN_STRING = 2,
1: + FILTER_PTR_STRING = 3,
1: + FILTER_TRACE_FN = 4,
1: + FILTER_COMM = 5,
1: + FILTER_CPU = 6,
1: };
1:
1: struct property {
1: - char *name;
1: - int length;
1: - void *value;
1: - struct property *next;
1: + char *name;
1: + int length;
1: + void *value;
1: + struct property *next;
1: };
1:
1: struct irq_fwspec {
1: - struct fwnode_handle *fwnode;
1: - int param_count;
1: - u32 param[16];
1: + struct fwnode_handle *fwnode;
1: + int param_count;
1: + u32 param[16];
1: };
1:
1: struct irq_data;
1:
1: struct irq_domain_ops {
1: - int (*match)(struct irq_domain *, struct device_node *, enum irq_domain_bus_token);
1: - int (*select)(struct irq_domain *, struct irq_fwspec *, enum irq_domain_bus_token);
1: - int (*map)(struct irq_domain *, unsigned int, irq_hw_number_t);
1: - void (*unmap)(struct irq_domain *, unsigned int);
1: - int (*xlate)(struct irq_domain *, struct device_node *, const u32 *, unsigned int, long unsigned int *, unsigned int *);
1: - int (*alloc)(struct irq_domain *, unsigned int, unsigned int, void *);
1: - void (*free)(struct irq_domain *, unsigned int, unsigned int);
1: - int (*activate)(struct irq_domain *, struct irq_data *, bool);
1: - void (*deactivate)(struct irq_domain *, struct irq_data *);
1: - int (*translate)(struct irq_domain *, struct irq_fwspec *, long unsigned int *, unsigned int *);
1: + int (*match)(struct irq_domain *, struct device_node *,
1: + enum irq_domain_bus_token);
1: + int (*select)(struct irq_domain *, struct irq_fwspec *,
1: + enum irq_domain_bus_token);
1: + int (*map)(struct irq_domain *, unsigned int, irq_hw_number_t);
1: + void (*unmap)(struct irq_domain *, unsigned int);
1: + int (*xlate)(struct irq_domain *, struct device_node *, const u32 *,
1: + unsigned int, long unsigned int *, unsigned int *);
1: + int (*alloc)(struct irq_domain *, unsigned int, unsigned int, void *);
1: + void (*free)(struct irq_domain *, unsigned int, unsigned int);
1: + int (*activate)(struct irq_domain *, struct irq_data *, bool);
1: + void (*deactivate)(struct irq_domain *, struct irq_data *);
1: + int (*translate)(struct irq_domain *, struct irq_fwspec *,
1: + long unsigned int *, unsigned int *);
1: };
1:
1: struct acpi_table_header {
1: - char signature[4];
1: - u32 length;
1: - u8 revision;
1: - u8 checksum;
1: - char oem_id[6];
1: - char oem_table_id[8];
1: - u32 oem_revision;
1: - char asl_compiler_id[4];
1: - u32 asl_compiler_revision;
1: + char signature[4];
1: + u32 length;
1: + u8 revision;
1: + u8 checksum;
1: + char oem_id[6];
1: + char oem_table_id[8];
1: + u32 oem_revision;
1: + char asl_compiler_id[4];
1: + u32 asl_compiler_revision;
1: };
1:
1: struct acpi_generic_address {
1: - u8 space_id;
1: - u8 bit_width;
1: - u8 bit_offset;
1: - u8 access_width;
1: - u64 address;
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_width;
1: + u64 address;
1: } __attribute__((packed));
1:
1: struct acpi_table_fadt {
1: - struct acpi_table_header header;
1: - u32 facs;
1: - u32 dsdt;
1: - u8 model;
1: - u8 preferred_profile;
1: - u16 sci_interrupt;
1: - u32 smi_command;
1: - u8 acpi_enable;
1: - u8 acpi_disable;
1: - u8 s4_bios_request;
1: - u8 pstate_control;
1: - u32 pm1a_event_block;
1: - u32 pm1b_event_block;
1: - u32 pm1a_control_block;
1: - u32 pm1b_control_block;
1: - u32 pm2_control_block;
1: - u32 pm_timer_block;
1: - u32 gpe0_block;
1: - u32 gpe1_block;
1: - u8 pm1_event_length;
1: - u8 pm1_control_length;
1: - u8 pm2_control_length;
1: - u8 pm_timer_length;
1: - u8 gpe0_block_length;
1: - u8 gpe1_block_length;
1: - u8 gpe1_base;
1: - u8 cst_control;
1: - u16 c2_latency;
1: - u16 c3_latency;
1: - u16 flush_size;
1: - u16 flush_stride;
1: - u8 duty_offset;
1: - u8 duty_width;
1: - u8 day_alarm;
1: - u8 month_alarm;
1: - u8 century;
1: - u16 boot_flags;
1: - u8 reserved;
1: - u32 flags;
1: - struct acpi_generic_address reset_register;
1: - u8 reset_value;
1: - u16 arm_boot_flags;
1: - u8 minor_revision;
1: - u64 Xfacs;
1: - u64 Xdsdt;
1: - struct acpi_generic_address xpm1a_event_block;
1: - struct acpi_generic_address xpm1b_event_block;
1: - struct acpi_generic_address xpm1a_control_block;
1: - struct acpi_generic_address xpm1b_control_block;
1: - struct acpi_generic_address xpm2_control_block;
1: - struct acpi_generic_address xpm_timer_block;
1: - struct acpi_generic_address xgpe0_block;
1: - struct acpi_generic_address xgpe1_block;
1: - struct acpi_generic_address sleep_control;
1: - struct acpi_generic_address sleep_status;
1: - u64 hypervisor_id;
1: + struct acpi_table_header header;
1: + u32 facs;
1: + u32 dsdt;
1: + u8 model;
1: + u8 preferred_profile;
1: + u16 sci_interrupt;
1: + u32 smi_command;
1: + u8 acpi_enable;
1: + u8 acpi_disable;
1: + u8 s4_bios_request;
1: + u8 pstate_control;
1: + u32 pm1a_event_block;
1: + u32 pm1b_event_block;
1: + u32 pm1a_control_block;
1: + u32 pm1b_control_block;
1: + u32 pm2_control_block;
1: + u32 pm_timer_block;
1: + u32 gpe0_block;
1: + u32 gpe1_block;
1: + u8 pm1_event_length;
1: + u8 pm1_control_length;
1: + u8 pm2_control_length;
1: + u8 pm_timer_length;
1: + u8 gpe0_block_length;
1: + u8 gpe1_block_length;
1: + u8 gpe1_base;
1: + u8 cst_control;
1: + u16 c2_latency;
1: + u16 c3_latency;
1: + u16 flush_size;
1: + u16 flush_stride;
1: + u8 duty_offset;
1: + u8 duty_width;
1: + u8 day_alarm;
1: + u8 month_alarm;
1: + u8 century;
1: + u16 boot_flags;
1: + u8 reserved;
1: + u32 flags;
1: + struct acpi_generic_address reset_register;
1: + u8 reset_value;
1: + u16 arm_boot_flags;
1: + u8 minor_revision;
1: + u64 Xfacs;
1: + u64 Xdsdt;
1: + struct acpi_generic_address xpm1a_event_block;
1: + struct acpi_generic_address xpm1b_event_block;
1: + struct acpi_generic_address xpm1a_control_block;
1: + struct acpi_generic_address xpm1b_control_block;
1: + struct acpi_generic_address xpm2_control_block;
1: + struct acpi_generic_address xpm_timer_block;
1: + struct acpi_generic_address xgpe0_block;
1: + struct acpi_generic_address xgpe1_block;
1: + struct acpi_generic_address sleep_control;
1: + struct acpi_generic_address sleep_status;
1: + u64 hypervisor_id;
1: } __attribute__((packed));
1:
1: enum wb_stat_item {
1: - WB_RECLAIMABLE = 0,
1: - WB_WRITEBACK = 1,
1: - WB_DIRTIED = 2,
1: - WB_WRITTEN = 3,
1: - NR_WB_STAT_ITEMS = 4,
1: + WB_RECLAIMABLE = 0,
1: + WB_WRITEBACK = 1,
1: + WB_DIRTIED = 2,
1: + WB_WRITTEN = 3,
1: + NR_WB_STAT_ITEMS = 4,
1: };
1:
1: struct bdi_writeback_congested {
1: - long unsigned int state;
1: - refcount_t refcnt;
1: + long unsigned int state;
1: + refcount_t refcnt;
1: };
1:
1: enum stat_group {
1: - STAT_READ = 0,
1: - STAT_WRITE = 1,
1: - STAT_DISCARD = 2,
1: - STAT_FLUSH = 3,
1: - NR_STAT_GROUPS = 4,
1: + STAT_READ = 0,
1: + STAT_WRITE = 1,
1: + STAT_DISCARD = 2,
1: + STAT_FLUSH = 3,
1: + NR_STAT_GROUPS = 4,
1: };
1:
1: struct disk_stats {
1: - u64 nsecs[4];
1: - long unsigned int sectors[4];
1: - long unsigned int ios[4];
1: - long unsigned int merges[4];
1: - long unsigned int io_ticks;
1: - long unsigned int time_in_queue;
1: - local_t in_flight[2];
1: + u64 nsecs[4];
1: + long unsigned int sectors[4];
1: + long unsigned int ios[4];
1: + long unsigned int merges[4];
1: + long unsigned int io_ticks;
1: + long unsigned int time_in_queue;
1: + local_t in_flight[2];
1: };
1:
1: struct partition_meta_info {
1: - char uuid[37];
1: - u8 volname[64];
1: + char uuid[37];
1: + u8 volname[64];
1: };
1:
1: struct disk_part_tbl {
1: - struct callback_head callback_head;
1: - int len;
1: - struct hd_struct *last_lookup;
1: - struct hd_struct *part[0];
1: + struct callback_head callback_head;
1: + int len;
1: + struct hd_struct *last_lookup;
1: + struct hd_struct *part[0];
1: };
1:
1: struct blk_zone;
1: @@ -8145,63 +8188,65 @@ struct hd_geometry;
1: struct pr_ops;
1:
1: struct block_device_operations {
1: - int (*open)(struct block_device *, fmode_t);
1: - void (*release)(struct gendisk *, fmode_t);
1: - int (*rw_page)(struct block_device *, sector_t, struct page *, unsigned int);
1: - int (*ioctl)(struct block_device *, fmode_t, unsigned int, long unsigned int);
1: - int (*compat_ioctl)(struct block_device *, fmode_t, unsigned int, long unsigned int);
1: - unsigned int (*check_events)(struct gendisk *, unsigned int);
1: - int (*media_changed)(struct gendisk *);
1: - void (*unlock_native_capacity)(struct gendisk *);
1: - int (*revalidate_disk)(struct gendisk *);
1: - int (*getgeo)(struct block_device *, struct hd_geometry *);
1: - void (*swap_slot_free_notify)(struct block_device *, long unsigned int);
1: - int (*report_zones)(struct gendisk *, sector_t, unsigned int, report_zones_cb, void *);
1: - struct module *owner;
1: - const struct pr_ops *pr_ops;
1: + int (*open)(struct block_device *, fmode_t);
1: + void (*release)(struct gendisk *, fmode_t);
1: + int (*rw_page)(struct block_device *, sector_t, struct page *, unsigned int);
1: + int (*ioctl)(struct block_device *, fmode_t, unsigned int, long unsigned int);
1: + int (*compat_ioctl)(struct block_device *, fmode_t, unsigned int,
1: + long unsigned int);
1: + unsigned int (*check_events)(struct gendisk *, unsigned int);
1: + int (*media_changed)(struct gendisk *);
1: + void (*unlock_native_capacity)(struct gendisk *);
1: + int (*revalidate_disk)(struct gendisk *);
1: + int (*getgeo)(struct block_device *, struct hd_geometry *);
1: + void (*swap_slot_free_notify)(struct block_device *, long unsigned int);
1: + int (*report_zones)(struct gendisk *, sector_t, unsigned int, report_zones_cb,
1: + void *);
1: + struct module *owner;
1: + const struct pr_ops *pr_ops;
1: };
1:
1: struct sg_io_v4 {
1: - __s32 guard;
1: - __u32 protocol;
1: - __u32 subprotocol;
1: - __u32 request_len;
1: - __u64 request;
1: - __u64 request_tag;
1: - __u32 request_attr;
1: - __u32 request_priority;
1: - __u32 request_extra;
1: - __u32 max_response_len;
1: - __u64 response;
1: - __u32 dout_iovec_count;
1: - __u32 dout_xfer_len;
1: - __u32 din_iovec_count;
1: - __u32 din_xfer_len;
1: - __u64 dout_xferp;
1: - __u64 din_xferp;
1: - __u32 timeout;
1: - __u32 flags;
1: - __u64 usr_ptr;
1: - __u32 spare_in;
1: - __u32 driver_status;
1: - __u32 transport_status;
1: - __u32 device_status;
1: - __u32 retry_delay;
1: - __u32 info;
1: - __u32 duration;
1: - __u32 response_len;
1: - __s32 din_resid;
1: - __s32 dout_resid;
1: - __u64 generated_tag;
1: - __u32 spare_out;
1: - __u32 padding;
1: + __s32 guard;
1: + __u32 protocol;
1: + __u32 subprotocol;
1: + __u32 request_len;
1: + __u64 request;
1: + __u64 request_tag;
1: + __u32 request_attr;
1: + __u32 request_priority;
1: + __u32 request_extra;
1: + __u32 max_response_len;
1: + __u64 response;
1: + __u32 dout_iovec_count;
1: + __u32 dout_xfer_len;
1: + __u32 din_iovec_count;
1: + __u32 din_xfer_len;
1: + __u64 dout_xferp;
1: + __u64 din_xferp;
1: + __u32 timeout;
1: + __u32 flags;
1: + __u64 usr_ptr;
1: + __u32 spare_in;
1: + __u32 driver_status;
1: + __u32 transport_status;
1: + __u32 device_status;
1: + __u32 retry_delay;
1: + __u32 info;
1: + __u32 duration;
1: + __u32 response_len;
1: + __s32 din_resid;
1: + __s32 dout_resid;
1: + __u64 generated_tag;
1: + __u32 spare_out;
1: + __u32 padding;
1: };
1:
1: struct bsg_ops {
1: - int (*check_proto)(struct sg_io_v4 *);
1: - int (*fill_hdr)(struct request *, struct sg_io_v4 *, fmode_t);
1: - int (*complete_rq)(struct request *, struct sg_io_v4 *);
1: - void (*free_rq)(struct request *);
1: + int (*check_proto)(struct sg_io_v4 *);
1: + int (*fill_hdr)(struct request *, struct sg_io_v4 *, fmode_t);
1: + int (*complete_rq)(struct request *, struct sg_io_v4 *);
1: + void (*free_rq)(struct request *);
1: };
1:
1: typedef __u32 req_flags_t;
1: @@ -8209,82 +8254,82 @@ typedef __u32 req_flags_t;
1: typedef void rq_end_io_fn(struct request *, blk_status_t);
1:
1: enum mq_rq_state {
1: - MQ_RQ_IDLE = 0,
1: - MQ_RQ_IN_FLIGHT = 1,
1: - MQ_RQ_COMPLETE = 2,
1: + MQ_RQ_IDLE = 0,
1: + MQ_RQ_IN_FLIGHT = 1,
1: + MQ_RQ_COMPLETE = 2,
1: };
1:
1: struct request {
1: - struct request_queue *q;
1: - struct blk_mq_ctx *mq_ctx;
1: - struct blk_mq_hw_ctx *mq_hctx;
1: - unsigned int cmd_flags;
1: - req_flags_t rq_flags;
1: - int tag;
1: - int internal_tag;
1: - unsigned int __data_len;
1: - sector_t __sector;
1: - struct bio *bio;
1: - struct bio *biotail;
1: - struct list_head queuelist;
1: - union {
1: - struct hlist_node hash;
1: - struct list_head ipi_list;
1: - };
1: - union {
1: - struct rb_node rb_node;
1: - struct bio_vec special_vec;
1: - void *completion_data;
1: - int error_count;
1: - };
1: - union {
1: - struct {
1: - struct io_cq *icq;
1: - void *priv[2];
1: - } elv;
1: - struct {
1: - unsigned int seq;
1: - struct list_head list;
1: - rq_end_io_fn *saved_end_io;
1: - } flush;
1: - };
1: - struct gendisk *rq_disk;
1: - struct hd_struct *part;
1: - u64 start_time_ns;
1: - u64 io_start_time_ns;
1: - short unsigned int stats_sectors;
1: - short unsigned int nr_phys_segments;
1: - short unsigned int write_hint;
1: - short unsigned int ioprio;
1: - unsigned int extra_len;
1: - enum mq_rq_state state;
1: - refcount_t ref;
1: - unsigned int timeout;
1: - long unsigned int deadline;
1: - union {
1: - struct __call_single_data csd;
1: - u64 fifo_time;
1: - };
1: - rq_end_io_fn *end_io;
1: - void *end_io_data;
1: + struct request_queue *q;
1: + struct blk_mq_ctx *mq_ctx;
1: + struct blk_mq_hw_ctx *mq_hctx;
1: + unsigned int cmd_flags;
1: + req_flags_t rq_flags;
1: + int tag;
1: + int internal_tag;
1: + unsigned int __data_len;
1: + sector_t __sector;
1: + struct bio *bio;
1: + struct bio *biotail;
1: + struct list_head queuelist;
1: + union {
1: + struct hlist_node hash;
1: + struct list_head ipi_list;
1: + };
1: + union {
1: + struct rb_node rb_node;
1: + struct bio_vec special_vec;
1: + void *completion_data;
1: + int error_count;
1: + };
1: + union {
1: + struct {
1: + struct io_cq *icq;
1: + void *priv[2];
1: + } elv;
1: + struct {
1: + unsigned int seq;
1: + struct list_head list;
1: + rq_end_io_fn *saved_end_io;
1: + } flush;
1: + };
1: + struct gendisk *rq_disk;
1: + struct hd_struct *part;
1: + u64 start_time_ns;
1: + u64 io_start_time_ns;
1: + short unsigned int stats_sectors;
1: + short unsigned int nr_phys_segments;
1: + short unsigned int write_hint;
1: + short unsigned int ioprio;
1: + unsigned int extra_len;
1: + enum mq_rq_state state;
1: + refcount_t ref;
1: + unsigned int timeout;
1: + long unsigned int deadline;
1: + union {
1: + struct __call_single_data csd;
1: + u64 fifo_time;
1: + };
1: + rq_end_io_fn *end_io;
1: + void *end_io_data;
1: };
1:
1: struct blk_zone {
1: - __u64 start;
1: - __u64 len;
1: - __u64 wp;
1: - __u8 type;
1: - __u8 cond;
1: - __u8 non_seq;
1: - __u8 reset;
1: - __u8 reserved[36];
1: + __u64 start;
1: + __u64 len;
1: + __u64 wp;
1: + __u8 type;
1: + __u8 cond;
1: + __u8 non_seq;
1: + __u8 reset;
1: + __u8 reserved[36];
1: };
1:
1: enum elv_merge {
1: - ELEVATOR_NO_MERGE = 0,
1: - ELEVATOR_FRONT_MERGE = 1,
1: - ELEVATOR_BACK_MERGE = 2,
1: - ELEVATOR_DISCARD_MERGE = 3,
1: + ELEVATOR_NO_MERGE = 0,
1: + ELEVATOR_FRONT_MERGE = 1,
1: + ELEVATOR_BACK_MERGE = 2,
1: + ELEVATOR_DISCARD_MERGE = 3,
1: };
1:
1: struct elevator_type;
1: @@ -8292,28 +8337,30 @@ struct elevator_type;
1: struct blk_mq_alloc_data;
1:
1: struct elevator_mq_ops {
1: - int (*init_sched)(struct request_queue *, struct elevator_type *);
1: - void (*exit_sched)(struct elevator_queue *);
1: - int (*init_hctx)(struct blk_mq_hw_ctx *, unsigned int);
1: - void (*exit_hctx)(struct blk_mq_hw_ctx *, unsigned int);
1: - void (*depth_updated)(struct blk_mq_hw_ctx *);
1: - bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
1: - bool (*bio_merge)(struct blk_mq_hw_ctx *, struct bio *, unsigned int);
1: - int (*request_merge)(struct request_queue *, struct request **, struct bio *);
1: - void (*request_merged)(struct request_queue *, struct request *, enum elv_merge);
1: - void (*requests_merged)(struct request_queue *, struct request *, struct request *);
1: - void (*limit_depth)(unsigned int, struct blk_mq_alloc_data *);
1: - void (*prepare_request)(struct request *, struct bio *);
1: - void (*finish_request)(struct request *);
1: - void (*insert_requests)(struct blk_mq_hw_ctx *, struct list_head *, bool);
1: - struct request * (*dispatch_request)(struct blk_mq_hw_ctx *);
1: - bool (*has_work)(struct blk_mq_hw_ctx *);
1: - void (*completed_request)(struct request *, u64);
1: - void (*requeue_request)(struct request *);
1: - struct request * (*former_request)(struct request_queue *, struct request *);
1: - struct request * (*next_request)(struct request_queue *, struct request *);
1: - void (*init_icq)(struct io_cq *);
1: - void (*exit_icq)(struct io_cq *);
1: + int (*init_sched)(struct request_queue *, struct elevator_type *);
1: + void (*exit_sched)(struct elevator_queue *);
1: + int (*init_hctx)(struct blk_mq_hw_ctx *, unsigned int);
1: + void (*exit_hctx)(struct blk_mq_hw_ctx *, unsigned int);
1: + void (*depth_updated)(struct blk_mq_hw_ctx *);
1: + bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
1: + bool (*bio_merge)(struct blk_mq_hw_ctx *, struct bio *, unsigned int);
1: + int (*request_merge)(struct request_queue *, struct request **, struct bio *);
1: + void (*request_merged)(struct request_queue *, struct request *,
1: + enum elv_merge);
1: + void (*requests_merged)(struct request_queue *, struct request *,
1: + struct request *);
1: + void (*limit_depth)(unsigned int, struct blk_mq_alloc_data *);
1: + void (*prepare_request)(struct request *, struct bio *);
1: + void (*finish_request)(struct request *);
1: + void (*insert_requests)(struct blk_mq_hw_ctx *, struct list_head *, bool);
1: + struct request *(*dispatch_request)(struct blk_mq_hw_ctx *);
1: + bool (*has_work)(struct blk_mq_hw_ctx *);
1: + void (*completed_request)(struct request *, u64);
1: + void (*requeue_request)(struct request *);
1: + struct request *(*former_request)(struct request_queue *, struct request *);
1: + struct request *(*next_request)(struct request_queue *, struct request *);
1: + void (*init_icq)(struct io_cq *);
1: + void (*exit_icq)(struct io_cq *);
1: };
1:
1: struct elv_fs_entry;
1: @@ -8321,47 +8368,48 @@ struct elv_fs_entry;
1: struct blk_mq_debugfs_attr;
1:
1: struct elevator_type {
1: - struct kmem_cache *icq_cache;
1: - struct elevator_mq_ops ops;
1: - size_t icq_size;
1: - size_t icq_align;
1: - struct elv_fs_entry *elevator_attrs;
1: - const char *elevator_name;
1: - const char *elevator_alias;
1: - const unsigned int elevator_features;
1: - struct module *elevator_owner;
1: - const struct blk_mq_debugfs_attr *queue_debugfs_attrs;
1: - const struct blk_mq_debugfs_attr *hctx_debugfs_attrs;
1: - char icq_cache_name[22];
1: - struct list_head list;
1: + struct kmem_cache *icq_cache;
1: + struct elevator_mq_ops ops;
1: + size_t icq_size;
1: + size_t icq_align;
1: + struct elv_fs_entry *elevator_attrs;
1: + const char *elevator_name;
1: + const char *elevator_alias;
1: + const unsigned int elevator_features;
1: + struct module *elevator_owner;
1: + const struct blk_mq_debugfs_attr *queue_debugfs_attrs;
1: + const struct blk_mq_debugfs_attr *hctx_debugfs_attrs;
1: + char icq_cache_name[22];
1: + struct list_head list;
1: };
1:
1: struct elevator_queue {
1: - struct elevator_type *type;
1: - void *elevator_data;
1: - struct kobject kobj;
1: - struct mutex sysfs_lock;
1: - unsigned int registered: 1;
1: - struct hlist_head hash[64];
1: + struct elevator_type *type;
1: + void *elevator_data;
1: + struct kobject kobj;
1: + struct mutex sysfs_lock;
1: + unsigned int registered : 1;
1: + struct hlist_head hash[64];
1: };
1:
1: struct elv_fs_entry {
1: - struct attribute attr;
1: - ssize_t (*show)(struct elevator_queue *, char *);
1: - ssize_t (*store)(struct elevator_queue *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct elevator_queue *, char *);
1: + ssize_t (*store)(struct elevator_queue *, const char *, size_t);
1: };
1:
1: struct blk_mq_debugfs_attr {
1: - const char *name;
1: - umode_t mode;
1: - int (*show)(void *, struct seq_file *);
1: - ssize_t (*write)(void *, const char *, size_t, loff_t *);
1: - const struct seq_operations *seq_ops;
1: + const char *name;
1: + umode_t mode;
1: + int (*show)(void *, struct seq_file *);
1: + ssize_t (*write)(void *, const char *, size_t, loff_t *);
1: + const struct seq_operations *seq_ops;
1: };
1:
1: struct blk_mq_queue_data;
1:
1: -typedef blk_status_t queue_rq_fn(struct blk_mq_hw_ctx *, const struct blk_mq_queue_data *);
1: +typedef blk_status_t queue_rq_fn(struct blk_mq_hw_ctx *,
1: + const struct blk_mq_queue_data *);
1:
1: typedef void commit_rqs_fn(struct blk_mq_hw_ctx *);
1:
1: @@ -8370,8 +8418,8 @@ typedef bool get_budget_fn(struct blk_mq_hw_ctx *);
1: typedef void put_budget_fn(struct blk_mq_hw_ctx *);
1:
1: enum blk_eh_timer_return {
1: - BLK_EH_DONE = 0,
1: - BLK_EH_RESET_TIMER = 1,
1: + BLK_EH_DONE = 0,
1: + BLK_EH_RESET_TIMER = 1,
1: };
1:
1: typedef enum blk_eh_timer_return timeout_fn(struct request *, bool);
1: @@ -8384,9 +8432,11 @@ typedef int init_hctx_fn(struct blk_mq_hw_ctx *, void *, unsigned int);
1:
1: typedef void exit_hctx_fn(struct blk_mq_hw_ctx *, unsigned int);
1:
1: -typedef int init_request_fn(struct blk_mq_tag_set *, struct request *, unsigned int, unsigned int);
1: +typedef int init_request_fn(struct blk_mq_tag_set *, struct request *,
1: + unsigned int, unsigned int);
1:
1: -typedef void exit_request_fn(struct blk_mq_tag_set *, struct request *, unsigned int);
1: +typedef void exit_request_fn(struct blk_mq_tag_set *, struct request *,
1: + unsigned int);
1:
1: typedef void cleanup_rq_fn(struct request *);
1:
1: @@ -8395,46 +8445,46 @@ typedef bool busy_fn(struct request_queue *);
1: typedef int map_queues_fn(struct blk_mq_tag_set *);
1:
1: struct blk_mq_ops {
1: - queue_rq_fn *queue_rq;
1: - commit_rqs_fn *commit_rqs;
1: - get_budget_fn *get_budget;
1: - put_budget_fn *put_budget;
1: - timeout_fn *timeout;
1: - poll_fn *poll;
1: - complete_fn *complete;
1: - init_hctx_fn *init_hctx;
1: - exit_hctx_fn *exit_hctx;
1: - init_request_fn *init_request;
1: - exit_request_fn *exit_request;
1: - void (*initialize_rq_fn)(struct request *);
1: - cleanup_rq_fn *cleanup_rq;
1: - busy_fn *busy;
1: - map_queues_fn *map_queues;
1: - void (*show_rq)(struct seq_file *, struct request *);
1: + queue_rq_fn *queue_rq;
1: + commit_rqs_fn *commit_rqs;
1: + get_budget_fn *get_budget;
1: + put_budget_fn *put_budget;
1: + timeout_fn *timeout;
1: + poll_fn *poll;
1: + complete_fn *complete;
1: + init_hctx_fn *init_hctx;
1: + exit_hctx_fn *exit_hctx;
1: + init_request_fn *init_request;
1: + exit_request_fn *exit_request;
1: + void (*initialize_rq_fn)(struct request *);
1: + cleanup_rq_fn *cleanup_rq;
1: + busy_fn *busy;
1: + map_queues_fn *map_queues;
1: + void (*show_rq)(struct seq_file *, struct request *);
1: };
1:
1: enum pr_type {
1: - PR_WRITE_EXCLUSIVE = 1,
1: - PR_EXCLUSIVE_ACCESS = 2,
1: - PR_WRITE_EXCLUSIVE_REG_ONLY = 3,
1: - PR_EXCLUSIVE_ACCESS_REG_ONLY = 4,
1: - PR_WRITE_EXCLUSIVE_ALL_REGS = 5,
1: - PR_EXCLUSIVE_ACCESS_ALL_REGS = 6,
1: + PR_WRITE_EXCLUSIVE = 1,
1: + PR_EXCLUSIVE_ACCESS = 2,
1: + PR_WRITE_EXCLUSIVE_REG_ONLY = 3,
1: + PR_EXCLUSIVE_ACCESS_REG_ONLY = 4,
1: + PR_WRITE_EXCLUSIVE_ALL_REGS = 5,
1: + PR_EXCLUSIVE_ACCESS_ALL_REGS = 6,
1: };
1:
1: struct pr_ops {
1: - int (*pr_register)(struct block_device *, u64, u64, u32);
1: - int (*pr_reserve)(struct block_device *, u64, enum pr_type, u32);
1: - int (*pr_release)(struct block_device *, u64, enum pr_type);
1: - int (*pr_preempt)(struct block_device *, u64, u64, enum pr_type, bool);
1: - int (*pr_clear)(struct block_device *, u64);
1: + int (*pr_register)(struct block_device *, u64, u64, u32);
1: + int (*pr_reserve)(struct block_device *, u64, enum pr_type, u32);
1: + int (*pr_release)(struct block_device *, u64, enum pr_type);
1: + int (*pr_preempt)(struct block_device *, u64, u64, enum pr_type, bool);
1: + int (*pr_clear)(struct block_device *, u64);
1: };
1:
1: enum cpu_idle_type {
1: - CPU_IDLE = 0,
1: - CPU_NOT_IDLE = 1,
1: - CPU_NEWLY_IDLE = 2,
1: - CPU_MAX_IDLE_TYPES = 3,
1: + CPU_IDLE = 0,
1: + CPU_NOT_IDLE = 1,
1: + CPU_NEWLY_IDLE = 2,
1: + CPU_MAX_IDLE_TYPES = 3,
1: };
1:
1: typedef long unsigned int efi_status_t;
1: @@ -8450,233 +8500,246 @@ typedef void *efi_handle_t;
1: typedef guid_t efi_guid_t;
1:
1: typedef struct {
1: - u64 signature;
1: - u32 revision;
1: - u32 headersize;
1: - u32 crc32;
1: - u32 reserved;
1: + u64 signature;
1: + u32 revision;
1: + u32 headersize;
1: + u32 crc32;
1: + u32 reserved;
1: } efi_table_hdr_t;
1:
1: typedef struct {
1: - u32 type;
1: - u32 pad;
1: - u64 phys_addr;
1: - u64 virt_addr;
1: - u64 num_pages;
1: - u64 attribute;
1: + u32 type;
1: + u32 pad;
1: + u64 phys_addr;
1: + u64 virt_addr;
1: + u64 num_pages;
1: + u64 attribute;
1: } efi_memory_desc_t;
1:
1: typedef struct {
1: - efi_guid_t guid;
1: - u32 headersize;
1: - u32 flags;
1: - u32 imagesize;
1: + efi_guid_t guid;
1: + u32 headersize;
1: + u32 flags;
1: + u32 imagesize;
1: } efi_capsule_header_t;
1:
1: typedef struct {
1: - u16 year;
1: - u8 month;
1: - u8 day;
1: - u8 hour;
1: - u8 minute;
1: - u8 second;
1: - u8 pad1;
1: - u32 nanosecond;
1: - s16 timezone;
1: - u8 daylight;
1: - u8 pad2;
1: + u16 year;
1: + u8 month;
1: + u8 day;
1: + u8 hour;
1: + u8 minute;
1: + u8 second;
1: + u8 pad1;
1: + u32 nanosecond;
1: + s16 timezone;
1: + u8 daylight;
1: + u8 pad2;
1: } efi_time_t;
1:
1: typedef struct {
1: - u32 resolution;
1: - u32 accuracy;
1: - u8 sets_to_zero;
1: + u32 resolution;
1: + u32 accuracy;
1: + u8 sets_to_zero;
1: } efi_time_cap_t;
1:
1: typedef struct {
1: - efi_table_hdr_t hdr;
1: - void *raise_tpl;
1: - void *restore_tpl;
1: - efi_status_t (*allocate_pages)(int, int, long unsigned int, efi_physical_addr_t *);
1: - efi_status_t (*free_pages)(efi_physical_addr_t, long unsigned int);
1: - efi_status_t (*get_memory_map)(long unsigned int *, void *, long unsigned int *, long unsigned int *, u32 *);
1: - efi_status_t (*allocate_pool)(int, long unsigned int, void **);
1: - efi_status_t (*free_pool)(void *);
1: - void *create_event;
1: - void *set_timer;
1: - void *wait_for_event;
1: - void *signal_event;
1: - void *close_event;
1: - void *check_event;
1: - void *install_protocol_interface;
1: - void *reinstall_protocol_interface;
1: - void *uninstall_protocol_interface;
1: - efi_status_t (*handle_protocol)(efi_handle_t, efi_guid_t *, void **);
1: - void *__reserved;
1: - void *register_protocol_notify;
1: - efi_status_t (*locate_handle)(int, efi_guid_t *, void *, long unsigned int *, efi_handle_t *);
1: - void *locate_device_path;
1: - efi_status_t (*install_configuration_table)(efi_guid_t *, void *);
1: - void *load_image;
1: - void *start_image;
1: - void *exit;
1: - void *unload_image;
1: - efi_status_t (*exit_boot_services)(efi_handle_t, long unsigned int);
1: - void *get_next_monotonic_count;
1: - void *stall;
1: - void *set_watchdog_timer;
1: - void *connect_controller;
1: - void *disconnect_controller;
1: - void *open_protocol;
1: - void *close_protocol;
1: - void *open_protocol_information;
1: - void *protocols_per_handle;
1: - void *locate_handle_buffer;
1: - efi_status_t (*locate_protocol)(efi_guid_t *, void *, void **);
1: - void *install_multiple_protocol_interfaces;
1: - void *uninstall_multiple_protocol_interfaces;
1: - void *calculate_crc32;
1: - void *copy_mem;
1: - void *set_mem;
1: - void *create_event_ex;
1: + efi_table_hdr_t hdr;
1: + void *raise_tpl;
1: + void *restore_tpl;
1: + efi_status_t (*allocate_pages)(int, int, long unsigned int,
1: + efi_physical_addr_t *);
1: + efi_status_t (*free_pages)(efi_physical_addr_t, long unsigned int);
1: + efi_status_t (*get_memory_map)(long unsigned int *, void *,
1: + long unsigned int *, long unsigned int *,
1: + u32 *);
1: + efi_status_t (*allocate_pool)(int, long unsigned int, void **);
1: + efi_status_t (*free_pool)(void *);
1: + void *create_event;
1: + void *set_timer;
1: + void *wait_for_event;
1: + void *signal_event;
1: + void *close_event;
1: + void *check_event;
1: + void *install_protocol_interface;
1: + void *reinstall_protocol_interface;
1: + void *uninstall_protocol_interface;
1: + efi_status_t (*handle_protocol)(efi_handle_t, efi_guid_t *, void **);
1: + void *__reserved;
1: + void *register_protocol_notify;
1: + efi_status_t (*locate_handle)(int, efi_guid_t *, void *, long unsigned int *,
1: + efi_handle_t *);
1: + void *locate_device_path;
1: + efi_status_t (*install_configuration_table)(efi_guid_t *, void *);
1: + void *load_image;
1: + void *start_image;
1: + void *exit;
1: + void *unload_image;
1: + efi_status_t (*exit_boot_services)(efi_handle_t, long unsigned int);
1: + void *get_next_monotonic_count;
1: + void *stall;
1: + void *set_watchdog_timer;
1: + void *connect_controller;
1: + void *disconnect_controller;
1: + void *open_protocol;
1: + void *close_protocol;
1: + void *open_protocol_information;
1: + void *protocols_per_handle;
1: + void *locate_handle_buffer;
1: + efi_status_t (*locate_protocol)(efi_guid_t *, void *, void **);
1: + void *install_multiple_protocol_interfaces;
1: + void *uninstall_multiple_protocol_interfaces;
1: + void *calculate_crc32;
1: + void *copy_mem;
1: + void *set_mem;
1: + void *create_event_ex;
1: } efi_boot_services_t;
1:
1: typedef efi_status_t efi_get_time_t(efi_time_t *, efi_time_cap_t *);
1:
1: typedef efi_status_t efi_set_time_t(efi_time_t *);
1:
1: -typedef efi_status_t efi_get_wakeup_time_t(efi_bool_t *, efi_bool_t *, efi_time_t *);
1: +typedef efi_status_t efi_get_wakeup_time_t(efi_bool_t *, efi_bool_t *,
1: + efi_time_t *);
1:
1: typedef efi_status_t efi_set_wakeup_time_t(efi_bool_t, efi_time_t *);
1:
1: -typedef efi_status_t efi_get_variable_t(efi_char16_t *, efi_guid_t *, u32 *, long unsigned int *, void *);
1: +typedef efi_status_t efi_get_variable_t(efi_char16_t *, efi_guid_t *, u32 *,
1: + long unsigned int *, void *);
1:
1: -typedef efi_status_t efi_get_next_variable_t(long unsigned int *, efi_char16_t *, efi_guid_t *);
1: +typedef efi_status_t efi_get_next_variable_t(long unsigned int *,
1: + efi_char16_t *, efi_guid_t *);
1:
1: -typedef efi_status_t efi_set_variable_t(efi_char16_t *, efi_guid_t *, u32, long unsigned int, void *);
1: +typedef efi_status_t efi_set_variable_t(efi_char16_t *, efi_guid_t *, u32,
1: + long unsigned int, void *);
1:
1: typedef efi_status_t efi_get_next_high_mono_count_t(u32 *);
1:
1: -typedef void efi_reset_system_t(int, efi_status_t, long unsigned int, efi_char16_t *);
1: +typedef void efi_reset_system_t(int, efi_status_t, long unsigned int,
1: + efi_char16_t *);
1:
1: -typedef efi_status_t efi_set_virtual_address_map_t(long unsigned int, long unsigned int, u32, efi_memory_desc_t *);
1: +typedef efi_status_t efi_set_virtual_address_map_t(long unsigned int,
1: + long unsigned int, u32,
1: + efi_memory_desc_t *);
1:
1: typedef efi_status_t efi_query_variable_info_t(u32, u64 *, u64 *, u64 *);
1:
1: -typedef efi_status_t efi_update_capsule_t(efi_capsule_header_t **, long unsigned int, long unsigned int);
1: +typedef efi_status_t efi_update_capsule_t(efi_capsule_header_t **,
1: + long unsigned int, long unsigned int);
1:
1: -typedef efi_status_t efi_query_capsule_caps_t(efi_capsule_header_t **, long unsigned int, u64 *, int *);
1: +typedef efi_status_t efi_query_capsule_caps_t(efi_capsule_header_t **,
1: + long unsigned int, u64 *, int *);
1:
1: typedef struct {
1: - efi_table_hdr_t hdr;
1: - efi_get_time_t *get_time;
1: - efi_set_time_t *set_time;
1: - efi_get_wakeup_time_t *get_wakeup_time;
1: - efi_set_wakeup_time_t *set_wakeup_time;
1: - efi_set_virtual_address_map_t *set_virtual_address_map;
1: - void *convert_pointer;
1: - efi_get_variable_t *get_variable;
1: - efi_get_next_variable_t *get_next_variable;
1: - efi_set_variable_t *set_variable;
1: - efi_get_next_high_mono_count_t *get_next_high_mono_count;
1: - efi_reset_system_t *reset_system;
1: - efi_update_capsule_t *update_capsule;
1: - efi_query_capsule_caps_t *query_capsule_caps;
1: - efi_query_variable_info_t *query_variable_info;
1: + efi_table_hdr_t hdr;
1: + efi_get_time_t *get_time;
1: + efi_set_time_t *set_time;
1: + efi_get_wakeup_time_t *get_wakeup_time;
1: + efi_set_wakeup_time_t *set_wakeup_time;
1: + efi_set_virtual_address_map_t *set_virtual_address_map;
1: + void *convert_pointer;
1: + efi_get_variable_t *get_variable;
1: + efi_get_next_variable_t *get_next_variable;
1: + efi_set_variable_t *set_variable;
1: + efi_get_next_high_mono_count_t *get_next_high_mono_count;
1: + efi_reset_system_t *reset_system;
1: + efi_update_capsule_t *update_capsule;
1: + efi_query_capsule_caps_t *query_capsule_caps;
1: + efi_query_variable_info_t *query_variable_info;
1: } efi_runtime_services_t;
1:
1: typedef struct {
1: - efi_table_hdr_t hdr;
1: - long unsigned int fw_vendor;
1: - u32 fw_revision;
1: - long unsigned int con_in_handle;
1: - long unsigned int con_in;
1: - long unsigned int con_out_handle;
1: - long unsigned int con_out;
1: - long unsigned int stderr_handle;
1: - long unsigned int stderr;
1: - efi_runtime_services_t *runtime;
1: - efi_boot_services_t *boottime;
1: - long unsigned int nr_tables;
1: - long unsigned int tables;
1: + efi_table_hdr_t hdr;
1: + long unsigned int fw_vendor;
1: + u32 fw_revision;
1: + long unsigned int con_in_handle;
1: + long unsigned int con_in;
1: + long unsigned int con_out_handle;
1: + long unsigned int con_out;
1: + long unsigned int stderr_handle;
1: + long unsigned int stderr;
1: + efi_runtime_services_t *runtime;
1: + efi_boot_services_t *boottime;
1: + long unsigned int nr_tables;
1: + long unsigned int tables;
1: } efi_system_table_t;
1:
1: struct efi_memory_map {
1: - phys_addr_t phys_map;
1: - void *map;
1: - void *map_end;
1: - int nr_map;
1: - long unsigned int desc_version;
1: - long unsigned int desc_size;
1: - bool late;
1: + phys_addr_t phys_map;
1: + void *map;
1: + void *map_end;
1: + int nr_map;
1: + long unsigned int desc_version;
1: + long unsigned int desc_size;
1: + bool late;
1: };
1:
1: struct efi {
1: - efi_system_table_t *systab;
1: - unsigned int runtime_version;
1: - long unsigned int mps;
1: - long unsigned int acpi;
1: - long unsigned int acpi20;
1: - long unsigned int smbios;
1: - long unsigned int smbios3;
1: - long unsigned int boot_info;
1: - long unsigned int hcdp;
1: - long unsigned int uga;
1: - long unsigned int fw_vendor;
1: - long unsigned int runtime;
1: - long unsigned int config_table;
1: - long unsigned int esrt;
1: - long unsigned int properties_table;
1: - long unsigned int mem_attr_table;
1: - long unsigned int rng_seed;
1: - long unsigned int tpm_log;
1: - long unsigned int tpm_final_log;
1: - long unsigned int mem_reserve;
1: - efi_get_time_t *get_time;
1: - efi_set_time_t *set_time;
1: - efi_get_wakeup_time_t *get_wakeup_time;
1: - efi_set_wakeup_time_t *set_wakeup_time;
1: - efi_get_variable_t *get_variable;
1: - efi_get_next_variable_t *get_next_variable;
1: - efi_set_variable_t *set_variable;
1: - efi_set_variable_t *set_variable_nonblocking;
1: - efi_query_variable_info_t *query_variable_info;
1: - efi_query_variable_info_t *query_variable_info_nonblocking;
1: - efi_update_capsule_t *update_capsule;
1: - efi_query_capsule_caps_t *query_capsule_caps;
1: - efi_get_next_high_mono_count_t *get_next_high_mono_count;
1: - efi_reset_system_t *reset_system;
1: - efi_set_virtual_address_map_t *set_virtual_address_map;
1: - struct efi_memory_map memmap;
1: - long unsigned int flags;
1: + efi_system_table_t *systab;
1: + unsigned int runtime_version;
1: + long unsigned int mps;
1: + long unsigned int acpi;
1: + long unsigned int acpi20;
1: + long unsigned int smbios;
1: + long unsigned int smbios3;
1: + long unsigned int boot_info;
1: + long unsigned int hcdp;
1: + long unsigned int uga;
1: + long unsigned int fw_vendor;
1: + long unsigned int runtime;
1: + long unsigned int config_table;
1: + long unsigned int esrt;
1: + long unsigned int properties_table;
1: + long unsigned int mem_attr_table;
1: + long unsigned int rng_seed;
1: + long unsigned int tpm_log;
1: + long unsigned int tpm_final_log;
1: + long unsigned int mem_reserve;
1: + efi_get_time_t *get_time;
1: + efi_set_time_t *set_time;
1: + efi_get_wakeup_time_t *get_wakeup_time;
1: + efi_set_wakeup_time_t *set_wakeup_time;
1: + efi_get_variable_t *get_variable;
1: + efi_get_next_variable_t *get_next_variable;
1: + efi_set_variable_t *set_variable;
1: + efi_set_variable_t *set_variable_nonblocking;
1: + efi_query_variable_info_t *query_variable_info;
1: + efi_query_variable_info_t *query_variable_info_nonblocking;
1: + efi_update_capsule_t *update_capsule;
1: + efi_query_capsule_caps_t *query_capsule_caps;
1: + efi_get_next_high_mono_count_t *get_next_high_mono_count;
1: + efi_reset_system_t *reset_system;
1: + efi_set_virtual_address_map_t *set_virtual_address_map;
1: + struct efi_memory_map memmap;
1: + long unsigned int flags;
1: };
1:
1: struct percpu_cluster {
1: - struct swap_cluster_info index;
1: - unsigned int next;
1: + struct swap_cluster_info index;
1: + unsigned int next;
1: };
1:
1: struct trace_event_raw_initcall_level {
1: - struct trace_entry ent;
1: - u32 __data_loc_level;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_level;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_initcall_start {
1: - struct trace_entry ent;
1: - initcall_t func;
1: - char __data[0];
1: + struct trace_entry ent;
1: + initcall_t func;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_initcall_finish {
1: - struct trace_entry ent;
1: - initcall_t func;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + initcall_t func;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_initcall_level {
1: - u32 level;
1: + u32 level;
1: };
1:
1: struct trace_event_data_offsets_initcall_start {};
1: @@ -8684,100 +8747,100 @@ struct trace_event_data_offsets_initcall_start {};
1: struct trace_event_data_offsets_initcall_finish {};
1:
1: struct blacklist_entry {
1: - struct list_head next;
1: - char *buf;
1: + struct list_head next;
1: + char *buf;
1: };
1:
1: enum page_cache_mode {
1: - _PAGE_CACHE_MODE_WB = 0,
1: - _PAGE_CACHE_MODE_WC = 1,
1: - _PAGE_CACHE_MODE_UC_MINUS = 2,
1: - _PAGE_CACHE_MODE_UC = 3,
1: - _PAGE_CACHE_MODE_WT = 4,
1: - _PAGE_CACHE_MODE_WP = 5,
1: - _PAGE_CACHE_MODE_NUM = 8,
1: + _PAGE_CACHE_MODE_WB = 0,
1: + _PAGE_CACHE_MODE_WC = 1,
1: + _PAGE_CACHE_MODE_UC_MINUS = 2,
1: + _PAGE_CACHE_MODE_UC = 3,
1: + _PAGE_CACHE_MODE_WT = 4,
1: + _PAGE_CACHE_MODE_WP = 5,
1: + _PAGE_CACHE_MODE_NUM = 8,
1: };
1:
1: enum {
1: - UNAME26 = 131072,
1: - ADDR_NO_RANDOMIZE = 262144,
1: - FDPIC_FUNCPTRS = 524288,
1: - MMAP_PAGE_ZERO = 1048576,
1: - ADDR_COMPAT_LAYOUT = 2097152,
1: - READ_IMPLIES_EXEC = 4194304,
1: - ADDR_LIMIT_32BIT = 8388608,
1: - SHORT_INODE = 16777216,
1: - WHOLE_SECONDS = 33554432,
1: - STICKY_TIMEOUTS = 67108864,
1: - ADDR_LIMIT_3GB = 134217728,
1: + UNAME26 = 131072,
1: + ADDR_NO_RANDOMIZE = 262144,
1: + FDPIC_FUNCPTRS = 524288,
1: + MMAP_PAGE_ZERO = 1048576,
1: + ADDR_COMPAT_LAYOUT = 2097152,
1: + READ_IMPLIES_EXEC = 4194304,
1: + ADDR_LIMIT_32BIT = 8388608,
1: + SHORT_INODE = 16777216,
1: + WHOLE_SECONDS = 33554432,
1: + STICKY_TIMEOUTS = 67108864,
1: + ADDR_LIMIT_3GB = 134217728,
1: };
1:
1: enum tlb_infos {
1: - ENTRIES = 0,
1: - NR_INFO = 1,
1: + ENTRIES = 0,
1: + NR_INFO = 1,
1: };
1:
1: enum {
1: - MM_FILEPAGES = 0,
1: - MM_ANONPAGES = 1,
1: - MM_SWAPENTS = 2,
1: - MM_SHMEMPAGES = 3,
1: - NR_MM_COUNTERS = 4,
1: + MM_FILEPAGES = 0,
1: + MM_ANONPAGES = 1,
1: + MM_SWAPENTS = 2,
1: + MM_SHMEMPAGES = 3,
1: + NR_MM_COUNTERS = 4,
1: };
1:
1: typedef __u32 Elf32_Word;
1:
1: struct elf32_note {
1: - Elf32_Word n_namesz;
1: - Elf32_Word n_descsz;
1: - Elf32_Word n_type;
1: + Elf32_Word n_namesz;
1: + Elf32_Word n_descsz;
1: + Elf32_Word n_type;
1: };
1:
1: enum pcpu_fc {
1: - PCPU_FC_AUTO = 0,
1: - PCPU_FC_EMBED = 1,
1: - PCPU_FC_PAGE = 2,
1: - PCPU_FC_NR = 3,
1: + PCPU_FC_AUTO = 0,
1: + PCPU_FC_EMBED = 1,
1: + PCPU_FC_PAGE = 2,
1: + PCPU_FC_NR = 3,
1: };
1:
1: enum hrtimer_base_type {
1: - HRTIMER_BASE_MONOTONIC = 0,
1: - HRTIMER_BASE_REALTIME = 1,
1: - HRTIMER_BASE_BOOTTIME = 2,
1: - HRTIMER_BASE_TAI = 3,
1: - HRTIMER_BASE_MONOTONIC_SOFT = 4,
1: - HRTIMER_BASE_REALTIME_SOFT = 5,
1: - HRTIMER_BASE_BOOTTIME_SOFT = 6,
1: - HRTIMER_BASE_TAI_SOFT = 7,
1: - HRTIMER_MAX_CLOCK_BASES = 8,
1: + HRTIMER_BASE_MONOTONIC = 0,
1: + HRTIMER_BASE_REALTIME = 1,
1: + HRTIMER_BASE_BOOTTIME = 2,
1: + HRTIMER_BASE_TAI = 3,
1: + HRTIMER_BASE_MONOTONIC_SOFT = 4,
1: + HRTIMER_BASE_REALTIME_SOFT = 5,
1: + HRTIMER_BASE_BOOTTIME_SOFT = 6,
1: + HRTIMER_BASE_TAI_SOFT = 7,
1: + HRTIMER_MAX_CLOCK_BASES = 8,
1: };
1:
1: enum rseq_cs_flags_bit {
1: - RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0,
1: - RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1,
1: - RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2,
1: };
1:
1: enum perf_event_task_context {
1: - perf_invalid_context = -1,
1: - perf_hw_context = 0,
1: - perf_sw_context = 1,
1: - perf_nr_task_contexts = 2,
1: + perf_invalid_context = -1,
1: + perf_hw_context = 0,
1: + perf_sw_context = 1,
1: + perf_nr_task_contexts = 2,
1: };
1:
1: enum rseq_event_mask_bits {
1: - RSEQ_EVENT_PREEMPT_BIT = 0,
1: - RSEQ_EVENT_SIGNAL_BIT = 1,
1: - RSEQ_EVENT_MIGRATE_BIT = 2,
1: + RSEQ_EVENT_PREEMPT_BIT = 0,
1: + RSEQ_EVENT_SIGNAL_BIT = 1,
1: + RSEQ_EVENT_MIGRATE_BIT = 2,
1: };
1:
1: enum {
1: - PROC_ROOT_INO = 1,
1: - PROC_IPC_INIT_INO = -268435457,
1: - PROC_UTS_INIT_INO = -268435458,
1: - PROC_USER_INIT_INO = -268435459,
1: - PROC_PID_INIT_INO = -268435460,
1: - PROC_CGROUP_INIT_INO = -268435461,
1: + PROC_ROOT_INO = 1,
1: + PROC_IPC_INIT_INO = -268435457,
1: + PROC_UTS_INIT_INO = -268435458,
1: + PROC_USER_INIT_INO = -268435459,
1: + PROC_PID_INIT_INO = -268435460,
1: + PROC_CGROUP_INIT_INO = -268435461,
1: };
1:
1: typedef __u16 __le16;
1: @@ -8794,20 +8857,21 @@ typedef unsigned int slab_flags_t;
1:
1: struct notifier_block;
1:
1: -typedef int (*notifier_fn_t)(struct notifier_block *, long unsigned int, void *);
1: +typedef int (*notifier_fn_t)(struct notifier_block *, long unsigned int,
1: + void *);
1:
1: struct notifier_block {
1: - notifier_fn_t notifier_call;
1: - struct notifier_block *next;
1: - int priority;
1: + notifier_fn_t notifier_call;
1: + struct notifier_block *next;
1: + int priority;
1: };
1:
1: struct raw_notifier_head {
1: - struct notifier_block *head;
1: + struct notifier_block *head;
1: };
1:
1: struct llist_head {
1: - struct llist_node *first;
1: + struct llist_node *first;
1: };
1:
1: typedef struct __call_single_data call_single_data_t;
1: @@ -8816,21 +8880,19 @@ typedef __u64 __addrpair;
1:
1: typedef __u32 __portpair;
1:
1: -typedef struct {
1: - struct net *net;
1: -} possible_net_t;
1: +typedef struct { struct net *net; } possible_net_t;
1:
1: struct in6_addr {
1: - union {
1: - __u8 u6_addr8[16];
1: - __be16 u6_addr16[8];
1: - __be32 u6_addr32[4];
1: - } in6_u;
1: + union {
1: + __u8 u6_addr8[16];
1: + __be16 u6_addr16[8];
1: + __be32 u6_addr32[4];
1: + } in6_u;
1: };
1:
1: struct hlist_nulls_node {
1: - struct hlist_nulls_node *next;
1: - struct hlist_nulls_node **pprev;
1: + struct hlist_nulls_node *next;
1: + struct hlist_nulls_node **pprev;
1: };
1:
1: struct proto;
1: @@ -8838,79 +8900,79 @@ struct proto;
1: struct inet_timewait_death_row;
1:
1: struct sock_common {
1: - union {
1: - __addrpair skc_addrpair;
1: - struct {
1: - __be32 skc_daddr;
1: - __be32 skc_rcv_saddr;
1: - };
1: - };
1: - union {
1: - unsigned int skc_hash;
1: - __u16 skc_u16hashes[2];
1: - };
1: - union {
1: - __portpair skc_portpair;
1: - struct {
1: - __be16 skc_dport;
1: - __u16 skc_num;
1: - };
1: - };
1: - short unsigned int skc_family;
1: - volatile unsigned char skc_state;
1: - unsigned char skc_reuse: 4;
1: - unsigned char skc_reuseport: 1;
1: - unsigned char skc_ipv6only: 1;
1: - unsigned char skc_net_refcnt: 1;
1: - int skc_bound_dev_if;
1: - union {
1: - struct hlist_node skc_bind_node;
1: - struct hlist_node skc_portaddr_node;
1: - };
1: - struct proto *skc_prot;
1: - possible_net_t skc_net;
1: - struct in6_addr skc_v6_daddr;
1: - struct in6_addr skc_v6_rcv_saddr;
1: - atomic64_t skc_cookie;
1: - union {
1: - long unsigned int skc_flags;
1: - struct sock *skc_listener;
1: - struct inet_timewait_death_row *skc_tw_dr;
1: - };
1: - int skc_dontcopy_begin[0];
1: - union {
1: - struct hlist_node skc_node;
1: - struct hlist_nulls_node skc_nulls_node;
1: - };
1: - short unsigned int skc_tx_queue_mapping;
1: - short unsigned int skc_rx_queue_mapping;
1: - union {
1: - int skc_incoming_cpu;
1: - u32 skc_rcv_wnd;
1: - u32 skc_tw_rcv_nxt;
1: - };
1: - refcount_t skc_refcnt;
1: - int skc_dontcopy_end[0];
1: - union {
1: - u32 skc_rxhash;
1: - u32 skc_window_clamp;
1: - u32 skc_tw_snd_nxt;
1: - };
1: + union {
1: + __addrpair skc_addrpair;
1: + struct {
1: + __be32 skc_daddr;
1: + __be32 skc_rcv_saddr;
1: + };
1: + };
1: + union {
1: + unsigned int skc_hash;
1: + __u16 skc_u16hashes[2];
1: + };
1: + union {
1: + __portpair skc_portpair;
1: + struct {
1: + __be16 skc_dport;
1: + __u16 skc_num;
1: + };
1: + };
1: + short unsigned int skc_family;
1: + volatile unsigned char skc_state;
1: + unsigned char skc_reuse : 4;
1: + unsigned char skc_reuseport : 1;
1: + unsigned char skc_ipv6only : 1;
1: + unsigned char skc_net_refcnt : 1;
1: + int skc_bound_dev_if;
1: + union {
1: + struct hlist_node skc_bind_node;
1: + struct hlist_node skc_portaddr_node;
1: + };
1: + struct proto *skc_prot;
1: + possible_net_t skc_net;
1: + struct in6_addr skc_v6_daddr;
1: + struct in6_addr skc_v6_rcv_saddr;
1: + atomic64_t skc_cookie;
1: + union {
1: + long unsigned int skc_flags;
1: + struct sock *skc_listener;
1: + struct inet_timewait_death_row *skc_tw_dr;
1: + };
1: + int skc_dontcopy_begin[0];
1: + union {
1: + struct hlist_node skc_node;
1: + struct hlist_nulls_node skc_nulls_node;
1: + };
1: + short unsigned int skc_tx_queue_mapping;
1: + short unsigned int skc_rx_queue_mapping;
1: + union {
1: + int skc_incoming_cpu;
1: + u32 skc_rcv_wnd;
1: + u32 skc_tw_rcv_nxt;
1: + };
1: + refcount_t skc_refcnt;
1: + int skc_dontcopy_end[0];
1: + union {
1: + u32 skc_rxhash;
1: + u32 skc_window_clamp;
1: + u32 skc_tw_snd_nxt;
1: + };
1: };
1:
1: typedef struct {
1: - spinlock_t slock;
1: - int owned;
1: - wait_queue_head_t wq;
1: + spinlock_t slock;
1: + int owned;
1: + wait_queue_head_t wq;
1: } socket_lock_t;
1:
1: struct sk_buff;
1:
1: struct sk_buff_head {
1: - struct sk_buff *next;
1: - struct sk_buff *prev;
1: - __u32 qlen;
1: - spinlock_t lock;
1: + struct sk_buff *next;
1: + struct sk_buff *prev;
1: + __u32 qlen;
1: + spinlock_t lock;
1: };
1:
1: typedef u64 netdev_features_t;
1: @@ -8930,114 +8992,114 @@ struct socket;
1: struct sock_reuseport;
1:
1: struct sock {
1: - struct sock_common __sk_common;
1: - socket_lock_t sk_lock;
1: - atomic_t sk_drops;
1: - int sk_rcvlowat;
1: - struct sk_buff_head sk_error_queue;
1: - struct sk_buff *sk_rx_skb_cache;
1: - struct sk_buff_head sk_receive_queue;
1: - struct {
1: - atomic_t rmem_alloc;
1: - int len;
1: - struct sk_buff *head;
1: - struct sk_buff *tail;
1: - } sk_backlog;
1: - int sk_forward_alloc;
1: - unsigned int sk_ll_usec;
1: - unsigned int sk_napi_id;
1: - int sk_rcvbuf;
1: - struct sk_filter *sk_filter;
1: - union {
1: - struct socket_wq *sk_wq;
1: - struct socket_wq *sk_wq_raw;
1: - };
1: - struct xfrm_policy *sk_policy[2];
1: - struct dst_entry *sk_rx_dst;
1: - struct dst_entry *sk_dst_cache;
1: - atomic_t sk_omem_alloc;
1: - int sk_sndbuf;
1: - int sk_wmem_queued;
1: - refcount_t sk_wmem_alloc;
1: - long unsigned int sk_tsq_flags;
1: - union {
1: - struct sk_buff *sk_send_head;
1: - struct rb_root tcp_rtx_queue;
1: - };
1: - struct sk_buff *sk_tx_skb_cache;
1: - struct sk_buff_head sk_write_queue;
1: - __s32 sk_peek_off;
1: - int sk_write_pending;
1: - __u32 sk_dst_pending_confirm;
1: - u32 sk_pacing_status;
1: - long int sk_sndtimeo;
1: - struct timer_list sk_timer;
1: - __u32 sk_priority;
1: - __u32 sk_mark;
1: - long unsigned int sk_pacing_rate;
1: - long unsigned int sk_max_pacing_rate;
1: - struct page_frag sk_frag;
1: - netdev_features_t sk_route_caps;
1: - netdev_features_t sk_route_nocaps;
1: - netdev_features_t sk_route_forced_caps;
1: - int sk_gso_type;
1: - unsigned int sk_gso_max_size;
1: - gfp_t sk_allocation;
1: - __u32 sk_txhash;
1: - unsigned int __sk_flags_offset[0];
1: - unsigned int sk_padding: 1;
1: - unsigned int sk_kern_sock: 1;
1: - unsigned int sk_no_check_tx: 1;
1: - unsigned int sk_no_check_rx: 1;
1: - unsigned int sk_userlocks: 4;
1: - unsigned int sk_protocol: 8;
1: - unsigned int sk_type: 16;
1: - u16 sk_gso_max_segs;
1: - u8 sk_pacing_shift;
1: - long unsigned int sk_lingertime;
1: - struct proto *sk_prot_creator;
1: - rwlock_t sk_callback_lock;
1: - int sk_err;
1: - int sk_err_soft;
1: - u32 sk_ack_backlog;
1: - u32 sk_max_ack_backlog;
1: - kuid_t sk_uid;
1: - struct pid *sk_peer_pid;
1: - const struct cred *sk_peer_cred;
1: - long int sk_rcvtimeo;
1: - ktime_t sk_stamp;
1: - u16 sk_tsflags;
1: - u8 sk_shutdown;
1: - u32 sk_tskey;
1: - atomic_t sk_zckey;
1: - u8 sk_clockid;
1: - u8 sk_txtime_deadline_mode: 1;
1: - u8 sk_txtime_report_errors: 1;
1: - u8 sk_txtime_unused: 6;
1: - struct socket *sk_socket;
1: - void *sk_user_data;
1: - void *sk_security;
1: - struct sock_cgroup_data sk_cgrp_data;
1: - struct mem_cgroup *sk_memcg;
1: - void (*sk_state_change)(struct sock *);
1: - void (*sk_data_ready)(struct sock *);
1: - void (*sk_write_space)(struct sock *);
1: - void (*sk_error_report)(struct sock *);
1: - int (*sk_backlog_rcv)(struct sock *, struct sk_buff *);
1: - void (*sk_destruct)(struct sock *);
1: - struct sock_reuseport *sk_reuseport_cb;
1: - struct callback_head sk_rcu;
1: + struct sock_common __sk_common;
1: + socket_lock_t sk_lock;
1: + atomic_t sk_drops;
1: + int sk_rcvlowat;
1: + struct sk_buff_head sk_error_queue;
1: + struct sk_buff *sk_rx_skb_cache;
1: + struct sk_buff_head sk_receive_queue;
1: + struct {
1: + atomic_t rmem_alloc;
1: + int len;
1: + struct sk_buff *head;
1: + struct sk_buff *tail;
1: + } sk_backlog;
1: + int sk_forward_alloc;
1: + unsigned int sk_ll_usec;
1: + unsigned int sk_napi_id;
1: + int sk_rcvbuf;
1: + struct sk_filter *sk_filter;
1: + union {
1: + struct socket_wq *sk_wq;
1: + struct socket_wq *sk_wq_raw;
1: + };
1: + struct xfrm_policy *sk_policy[2];
1: + struct dst_entry *sk_rx_dst;
1: + struct dst_entry *sk_dst_cache;
1: + atomic_t sk_omem_alloc;
1: + int sk_sndbuf;
1: + int sk_wmem_queued;
1: + refcount_t sk_wmem_alloc;
1: + long unsigned int sk_tsq_flags;
1: + union {
1: + struct sk_buff *sk_send_head;
1: + struct rb_root tcp_rtx_queue;
1: + };
1: + struct sk_buff *sk_tx_skb_cache;
1: + struct sk_buff_head sk_write_queue;
1: + __s32 sk_peek_off;
1: + int sk_write_pending;
1: + __u32 sk_dst_pending_confirm;
1: + u32 sk_pacing_status;
1: + long int sk_sndtimeo;
1: + struct timer_list sk_timer;
1: + __u32 sk_priority;
1: + __u32 sk_mark;
1: + long unsigned int sk_pacing_rate;
1: + long unsigned int sk_max_pacing_rate;
1: + struct page_frag sk_frag;
1: + netdev_features_t sk_route_caps;
1: + netdev_features_t sk_route_nocaps;
1: + netdev_features_t sk_route_forced_caps;
1: + int sk_gso_type;
1: + unsigned int sk_gso_max_size;
1: + gfp_t sk_allocation;
1: + __u32 sk_txhash;
1: + unsigned int __sk_flags_offset[0];
1: + unsigned int sk_padding : 1;
1: + unsigned int sk_kern_sock : 1;
1: + unsigned int sk_no_check_tx : 1;
1: + unsigned int sk_no_check_rx : 1;
1: + unsigned int sk_userlocks : 4;
1: + unsigned int sk_protocol : 8;
1: + unsigned int sk_type : 16;
1: + u16 sk_gso_max_segs;
1: + u8 sk_pacing_shift;
1: + long unsigned int sk_lingertime;
1: + struct proto *sk_prot_creator;
1: + rwlock_t sk_callback_lock;
1: + int sk_err;
1: + int sk_err_soft;
1: + u32 sk_ack_backlog;
1: + u32 sk_max_ack_backlog;
1: + kuid_t sk_uid;
1: + struct pid *sk_peer_pid;
1: + const struct cred *sk_peer_cred;
1: + long int sk_rcvtimeo;
1: + ktime_t sk_stamp;
1: + u16 sk_tsflags;
1: + u8 sk_shutdown;
1: + u32 sk_tskey;
1: + atomic_t sk_zckey;
1: + u8 sk_clockid;
1: + u8 sk_txtime_deadline_mode : 1;
1: + u8 sk_txtime_report_errors : 1;
1: + u8 sk_txtime_unused : 6;
1: + struct socket *sk_socket;
1: + void *sk_user_data;
1: + void *sk_security;
1: + struct sock_cgroup_data sk_cgrp_data;
1: + struct mem_cgroup *sk_memcg;
1: + void (*sk_state_change)(struct sock *);
1: + void (*sk_data_ready)(struct sock *);
1: + void (*sk_write_space)(struct sock *);
1: + void (*sk_error_report)(struct sock *);
1: + int (*sk_backlog_rcv)(struct sock *, struct sk_buff *);
1: + void (*sk_destruct)(struct sock *);
1: + struct sock_reuseport *sk_reuseport_cb;
1: + struct callback_head sk_rcu;
1: };
1:
1: struct rhash_head {
1: - struct rhash_head *next;
1: + struct rhash_head *next;
1: };
1:
1: struct rhashtable;
1:
1: struct rhashtable_compare_arg {
1: - struct rhashtable *ht;
1: - const void *key;
1: + struct rhashtable *ht;
1: + const void *key;
1: };
1:
1: typedef u32 (*rht_hashfn_t)(const void *, u32, u32);
1: @@ -9047,126 +9109,126 @@ typedef u32 (*rht_obj_hashfn_t)(const void *, u32, u32);
1: typedef int (*rht_obj_cmpfn_t)(struct rhashtable_compare_arg *, const void *);
1:
1: struct rhashtable_params {
1: - u16 nelem_hint;
1: - u16 key_len;
1: - u16 key_offset;
1: - u16 head_offset;
1: - unsigned int max_size;
1: - u16 min_size;
1: - bool automatic_shrinking;
1: - rht_hashfn_t hashfn;
1: - rht_obj_hashfn_t obj_hashfn;
1: - rht_obj_cmpfn_t obj_cmpfn;
1: + u16 nelem_hint;
1: + u16 key_len;
1: + u16 key_offset;
1: + u16 head_offset;
1: + unsigned int max_size;
1: + u16 min_size;
1: + bool automatic_shrinking;
1: + rht_hashfn_t hashfn;
1: + rht_obj_hashfn_t obj_hashfn;
1: + rht_obj_cmpfn_t obj_cmpfn;
1: };
1:
1: struct bucket_table;
1:
1: struct rhashtable {
1: - struct bucket_table *tbl;
1: - unsigned int key_len;
1: - unsigned int max_elems;
1: - struct rhashtable_params p;
1: - bool rhlist;
1: - struct work_struct run_work;
1: - struct mutex mutex;
1: - spinlock_t lock;
1: - atomic_t nelems;
1: + struct bucket_table *tbl;
1: + unsigned int key_len;
1: + unsigned int max_elems;
1: + struct rhashtable_params p;
1: + bool rhlist;
1: + struct work_struct run_work;
1: + struct mutex mutex;
1: + spinlock_t lock;
1: + atomic_t nelems;
1: };
1:
1: struct rhash_lock_head;
1:
1: struct bucket_table {
1: - unsigned int size;
1: - unsigned int nest;
1: - u32 hash_rnd;
1: - struct list_head walkers;
1: - struct callback_head rcu;
1: - struct bucket_table *future_tbl;
1: - struct lockdep_map dep_map;
1: - long: 64;
1: - struct rhash_lock_head *buckets[0];
1: + unsigned int size;
1: + unsigned int nest;
1: + u32 hash_rnd;
1: + struct list_head walkers;
1: + struct callback_head rcu;
1: + struct bucket_table *future_tbl;
1: + struct lockdep_map dep_map;
1: + long : 64;
1: + struct rhash_lock_head *buckets[0];
1: };
1:
1: struct fs_struct {
1: - int users;
1: - spinlock_t lock;
1: - seqcount_t seq;
1: - int umask;
1: - int in_exec;
1: - struct path root;
1: - struct path pwd;
1: + int users;
1: + spinlock_t lock;
1: + seqcount_t seq;
1: + int umask;
1: + int in_exec;
1: + struct path root;
1: + struct path pwd;
1: };
1:
1: typedef u32 compat_uptr_t;
1:
1: struct compat_robust_list {
1: - compat_uptr_t next;
1: + compat_uptr_t next;
1: };
1:
1: typedef s32 compat_long_t;
1:
1: struct compat_robust_list_head {
1: - struct compat_robust_list list;
1: - compat_long_t futex_offset;
1: - compat_uptr_t list_op_pending;
1: + struct compat_robust_list list;
1: + compat_long_t futex_offset;
1: + compat_uptr_t list_op_pending;
1: };
1:
1: struct pipe_buffer;
1:
1: struct pipe_inode_info {
1: - struct mutex mutex;
1: - wait_queue_head_t wait;
1: - unsigned int head;
1: - unsigned int tail;
1: - unsigned int max_usage;
1: - unsigned int ring_size;
1: - unsigned int readers;
1: - unsigned int writers;
1: - unsigned int files;
1: - unsigned int r_counter;
1: - unsigned int w_counter;
1: - struct page *tmp_page;
1: - struct fasync_struct *fasync_readers;
1: - struct fasync_struct *fasync_writers;
1: - struct pipe_buffer *bufs;
1: - struct user_struct *user;
1: + struct mutex mutex;
1: + wait_queue_head_t wait;
1: + unsigned int head;
1: + unsigned int tail;
1: + unsigned int max_usage;
1: + unsigned int ring_size;
1: + unsigned int readers;
1: + unsigned int writers;
1: + unsigned int files;
1: + unsigned int r_counter;
1: + unsigned int w_counter;
1: + struct page *tmp_page;
1: + struct fasync_struct *fasync_readers;
1: + struct fasync_struct *fasync_writers;
1: + struct pipe_buffer *bufs;
1: + struct user_struct *user;
1: };
1:
1: struct scatterlist {
1: - long unsigned int page_link;
1: - unsigned int offset;
1: - unsigned int length;
1: - dma_addr_t dma_address;
1: - unsigned int dma_length;
1: + long unsigned int page_link;
1: + unsigned int offset;
1: + unsigned int length;
1: + dma_addr_t dma_address;
1: + unsigned int dma_length;
1: };
1:
1: struct iovec {
1: - void *iov_base;
1: - __kernel_size_t iov_len;
1: + void *iov_base;
1: + __kernel_size_t iov_len;
1: };
1:
1: struct kvec {
1: - void *iov_base;
1: - size_t iov_len;
1: + void *iov_base;
1: + size_t iov_len;
1: };
1:
1: struct iov_iter {
1: - unsigned int type;
1: - size_t iov_offset;
1: - size_t count;
1: - union {
1: - const struct iovec *iov;
1: - const struct kvec *kvec;
1: - const struct bio_vec *bvec;
1: - struct pipe_inode_info *pipe;
1: - };
1: - union {
1: - long unsigned int nr_segs;
1: - struct {
1: - unsigned int head;
1: - unsigned int start_head;
1: - };
1: - };
1: + unsigned int type;
1: + size_t iov_offset;
1: + size_t count;
1: + union {
1: + const struct iovec *iov;
1: + const struct kvec *kvec;
1: + const struct bio_vec *bvec;
1: + struct pipe_inode_info *pipe;
1: + };
1: + union {
1: + long unsigned int nr_segs;
1: + struct {
1: + unsigned int head;
1: + unsigned int start_head;
1: + };
1: + };
1: };
1:
1: typedef short unsigned int __kernel_sa_family_t;
1: @@ -9174,136 +9236,134 @@ typedef short unsigned int __kernel_sa_family_t;
1: typedef __kernel_sa_family_t sa_family_t;
1:
1: struct sockaddr {
1: - sa_family_t sa_family;
1: - char sa_data[14];
1: + sa_family_t sa_family;
1: + char sa_data[14];
1: };
1:
1: struct msghdr {
1: - void *msg_name;
1: - int msg_namelen;
1: - struct iov_iter msg_iter;
1: - void *msg_control;
1: - __kernel_size_t msg_controllen;
1: - unsigned int msg_flags;
1: - struct kiocb *msg_iocb;
1: + void *msg_name;
1: + int msg_namelen;
1: + struct iov_iter msg_iter;
1: + void *msg_control;
1: + __kernel_size_t msg_controllen;
1: + unsigned int msg_flags;
1: + struct kiocb *msg_iocb;
1: };
1:
1: typedef struct {
1: - unsigned int clock_rate;
1: - unsigned int clock_type;
1: - short unsigned int loopback;
1: + unsigned int clock_rate;
1: + unsigned int clock_type;
1: + short unsigned int loopback;
1: } sync_serial_settings;
1:
1: typedef struct {
1: - unsigned int clock_rate;
1: - unsigned int clock_type;
1: - short unsigned int loopback;
1: - unsigned int slot_map;
1: + unsigned int clock_rate;
1: + unsigned int clock_type;
1: + short unsigned int loopback;
1: + unsigned int slot_map;
1: } te1_settings;
1:
1: typedef struct {
1: - short unsigned int encoding;
1: - short unsigned int parity;
1: + short unsigned int encoding;
1: + short unsigned int parity;
1: } raw_hdlc_proto;
1:
1: typedef struct {
1: - unsigned int t391;
1: - unsigned int t392;
1: - unsigned int n391;
1: - unsigned int n392;
1: - unsigned int n393;
1: - short unsigned int lmi;
1: - short unsigned int dce;
1: + unsigned int t391;
1: + unsigned int t392;
1: + unsigned int n391;
1: + unsigned int n392;
1: + unsigned int n393;
1: + short unsigned int lmi;
1: + short unsigned int dce;
1: } fr_proto;
1:
1: -typedef struct {
1: - unsigned int dlci;
1: -} fr_proto_pvc;
1: +typedef struct { unsigned int dlci; } fr_proto_pvc;
1:
1: typedef struct {
1: - unsigned int dlci;
1: - char master[16];
1: + unsigned int dlci;
1: + char master[16];
1: } fr_proto_pvc_info;
1:
1: typedef struct {
1: - unsigned int interval;
1: - unsigned int timeout;
1: + unsigned int interval;
1: + unsigned int timeout;
1: } cisco_proto;
1:
1: struct ifmap {
1: - long unsigned int mem_start;
1: - long unsigned int mem_end;
1: - short unsigned int base_addr;
1: - unsigned char irq;
1: - unsigned char dma;
1: - unsigned char port;
1: + long unsigned int mem_start;
1: + long unsigned int mem_end;
1: + short unsigned int base_addr;
1: + unsigned char irq;
1: + unsigned char dma;
1: + unsigned char port;
1: };
1:
1: struct if_settings {
1: - unsigned int type;
1: - unsigned int size;
1: - union {
1: - raw_hdlc_proto *raw_hdlc;
1: - cisco_proto *cisco;
1: - fr_proto *fr;
1: - fr_proto_pvc *fr_pvc;
1: - fr_proto_pvc_info *fr_pvc_info;
1: - sync_serial_settings *sync;
1: - te1_settings *te1;
1: - } ifs_ifsu;
1: + unsigned int type;
1: + unsigned int size;
1: + union {
1: + raw_hdlc_proto *raw_hdlc;
1: + cisco_proto *cisco;
1: + fr_proto *fr;
1: + fr_proto_pvc *fr_pvc;
1: + fr_proto_pvc_info *fr_pvc_info;
1: + sync_serial_settings *sync;
1: + te1_settings *te1;
1: + } ifs_ifsu;
1: };
1:
1: struct ifreq {
1: - union {
1: - char ifrn_name[16];
1: - } ifr_ifrn;
1: - union {
1: - struct sockaddr ifru_addr;
1: - struct sockaddr ifru_dstaddr;
1: - struct sockaddr ifru_broadaddr;
1: - struct sockaddr ifru_netmask;
1: - struct sockaddr ifru_hwaddr;
1: - short int ifru_flags;
1: - int ifru_ivalue;
1: - int ifru_mtu;
1: - struct ifmap ifru_map;
1: - char ifru_slave[16];
1: - char ifru_newname[16];
1: - void *ifru_data;
1: - struct if_settings ifru_settings;
1: - } ifr_ifru;
1: + union {
1: + char ifrn_name[16];
1: + } ifr_ifrn;
1: + union {
1: + struct sockaddr ifru_addr;
1: + struct sockaddr ifru_dstaddr;
1: + struct sockaddr ifru_broadaddr;
1: + struct sockaddr ifru_netmask;
1: + struct sockaddr ifru_hwaddr;
1: + short int ifru_flags;
1: + int ifru_ivalue;
1: + int ifru_mtu;
1: + struct ifmap ifru_map;
1: + char ifru_slave[16];
1: + char ifru_newname[16];
1: + void *ifru_data;
1: + struct if_settings ifru_settings;
1: + } ifr_ifru;
1: };
1:
1: struct vfsmount {
1: - struct dentry *mnt_root;
1: - struct super_block *mnt_sb;
1: - int mnt_flags;
1: + struct dentry *mnt_root;
1: + struct super_block *mnt_sb;
1: + int mnt_flags;
1: };
1:
1: typedef struct {
1: - size_t written;
1: - size_t count;
1: - union {
1: - char *buf;
1: - void *data;
1: - } arg;
1: - int error;
1: + size_t written;
1: + size_t count;
1: + union {
1: + char *buf;
1: + void *data;
1: + } arg;
1: + int error;
1: } read_descriptor_t;
1:
1: struct posix_acl_entry {
1: - short int e_tag;
1: - short unsigned int e_perm;
1: - union {
1: - kuid_t e_uid;
1: - kgid_t e_gid;
1: - };
1: + short int e_tag;
1: + short unsigned int e_perm;
1: + union {
1: + kuid_t e_uid;
1: + kgid_t e_gid;
1: + };
1: };
1:
1: struct posix_acl {
1: - refcount_t a_refcount;
1: - struct callback_head a_rcu;
1: - unsigned int a_count;
1: - struct posix_acl_entry a_entries[0];
1: + refcount_t a_refcount;
1: + struct callback_head a_rcu;
1: + unsigned int a_count;
1: + struct posix_acl_entry a_entries[0];
1: };
1:
1: typedef unsigned char cc_t;
1: @@ -9313,28 +9373,28 @@ typedef unsigned int speed_t;
1: typedef unsigned int tcflag_t;
1:
1: struct ktermios {
1: - tcflag_t c_iflag;
1: - tcflag_t c_oflag;
1: - tcflag_t c_cflag;
1: - tcflag_t c_lflag;
1: - cc_t c_line;
1: - cc_t c_cc[19];
1: - speed_t c_ispeed;
1: - speed_t c_ospeed;
1: + tcflag_t c_iflag;
1: + tcflag_t c_oflag;
1: + tcflag_t c_cflag;
1: + tcflag_t c_lflag;
1: + cc_t c_line;
1: + cc_t c_cc[19];
1: + speed_t c_ispeed;
1: + speed_t c_ospeed;
1: };
1:
1: struct winsize {
1: - short unsigned int ws_row;
1: - short unsigned int ws_col;
1: - short unsigned int ws_xpixel;
1: - short unsigned int ws_ypixel;
1: + short unsigned int ws_row;
1: + short unsigned int ws_col;
1: + short unsigned int ws_xpixel;
1: + short unsigned int ws_ypixel;
1: };
1:
1: struct termiox {
1: - __u16 x_hflag;
1: - __u16 x_cflag;
1: - __u16 x_rflag[5];
1: - __u16 x_sflag;
1: + __u16 x_hflag;
1: + __u16 x_cflag;
1: + __u16 x_rflag[5];
1: + __u16 x_sflag;
1: };
1:
1: struct tty_driver;
1: @@ -9344,48 +9404,49 @@ struct serial_icounter_struct;
1: struct serial_struct;
1:
1: struct tty_operations {
1: - struct tty_struct * (*lookup)(struct tty_driver *, struct file *, int);
1: - int (*install)(struct tty_driver *, struct tty_struct *);
1: - void (*remove)(struct tty_driver *, struct tty_struct *);
1: - int (*open)(struct tty_struct *, struct file *);
1: - void (*close)(struct tty_struct *, struct file *);
1: - void (*shutdown)(struct tty_struct *);
1: - void (*cleanup)(struct tty_struct *);
1: - int (*write)(struct tty_struct *, const unsigned char *, int);
1: - int (*put_char)(struct tty_struct *, unsigned char);
1: - void (*flush_chars)(struct tty_struct *);
1: - int (*write_room)(struct tty_struct *);
1: - int (*chars_in_buffer)(struct tty_struct *);
1: - int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int);
1: - long int (*compat_ioctl)(struct tty_struct *, unsigned int, long unsigned int);
1: - void (*set_termios)(struct tty_struct *, struct ktermios *);
1: - void (*throttle)(struct tty_struct *);
1: - void (*unthrottle)(struct tty_struct *);
1: - void (*stop)(struct tty_struct *);
1: - void (*start)(struct tty_struct *);
1: - void (*hangup)(struct tty_struct *);
1: - int (*break_ctl)(struct tty_struct *, int);
1: - void (*flush_buffer)(struct tty_struct *);
1: - void (*set_ldisc)(struct tty_struct *);
1: - void (*wait_until_sent)(struct tty_struct *, int);
1: - void (*send_xchar)(struct tty_struct *, char);
1: - int (*tiocmget)(struct tty_struct *);
1: - int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int);
1: - int (*resize)(struct tty_struct *, struct winsize *);
1: - int (*set_termiox)(struct tty_struct *, struct termiox *);
1: - int (*get_icount)(struct tty_struct *, struct serial_icounter_struct *);
1: - int (*get_serial)(struct tty_struct *, struct serial_struct *);
1: - int (*set_serial)(struct tty_struct *, struct serial_struct *);
1: - void (*show_fdinfo)(struct tty_struct *, struct seq_file *);
1: - int (*proc_show)(struct seq_file *, void *);
1: + struct tty_struct *(*lookup)(struct tty_driver *, struct file *, int);
1: + int (*install)(struct tty_driver *, struct tty_struct *);
1: + void (*remove)(struct tty_driver *, struct tty_struct *);
1: + int (*open)(struct tty_struct *, struct file *);
1: + void (*close)(struct tty_struct *, struct file *);
1: + void (*shutdown)(struct tty_struct *);
1: + void (*cleanup)(struct tty_struct *);
1: + int (*write)(struct tty_struct *, const unsigned char *, int);
1: + int (*put_char)(struct tty_struct *, unsigned char);
1: + void (*flush_chars)(struct tty_struct *);
1: + int (*write_room)(struct tty_struct *);
1: + int (*chars_in_buffer)(struct tty_struct *);
1: + int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int);
1: + long int (*compat_ioctl)(struct tty_struct *, unsigned int,
1: + long unsigned int);
1: + void (*set_termios)(struct tty_struct *, struct ktermios *);
1: + void (*throttle)(struct tty_struct *);
1: + void (*unthrottle)(struct tty_struct *);
1: + void (*stop)(struct tty_struct *);
1: + void (*start)(struct tty_struct *);
1: + void (*hangup)(struct tty_struct *);
1: + int (*break_ctl)(struct tty_struct *, int);
1: + void (*flush_buffer)(struct tty_struct *);
1: + void (*set_ldisc)(struct tty_struct *);
1: + void (*wait_until_sent)(struct tty_struct *, int);
1: + void (*send_xchar)(struct tty_struct *, char);
1: + int (*tiocmget)(struct tty_struct *);
1: + int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int);
1: + int (*resize)(struct tty_struct *, struct winsize *);
1: + int (*set_termiox)(struct tty_struct *, struct termiox *);
1: + int (*get_icount)(struct tty_struct *, struct serial_icounter_struct *);
1: + int (*get_serial)(struct tty_struct *, struct serial_struct *);
1: + int (*set_serial)(struct tty_struct *, struct serial_struct *);
1: + void (*show_fdinfo)(struct tty_struct *, struct seq_file *);
1: + int (*proc_show)(struct seq_file *, void *);
1: };
1:
1: struct ld_semaphore {
1: - atomic_long_t count;
1: - raw_spinlock_t wait_lock;
1: - unsigned int wait_readers;
1: - struct list_head read_wait;
1: - struct list_head write_wait;
1: + atomic_long_t count;
1: + raw_spinlock_t wait_lock;
1: + unsigned int wait_readers;
1: + struct list_head read_wait;
1: + struct list_head write_wait;
1: };
1:
1: struct tty_ldisc;
1: @@ -9393,107 +9454,107 @@ struct tty_ldisc;
1: struct tty_port;
1:
1: struct tty_struct {
1: - int magic;
1: - struct kref kref;
1: - struct device *dev;
1: - struct tty_driver *driver;
1: - const struct tty_operations *ops;
1: - int index;
1: - struct ld_semaphore ldisc_sem;
1: - struct tty_ldisc *ldisc;
1: - struct mutex atomic_write_lock;
1: - struct mutex legacy_mutex;
1: - struct mutex throttle_mutex;
1: - struct rw_semaphore termios_rwsem;
1: - struct mutex winsize_mutex;
1: - spinlock_t ctrl_lock;
1: - spinlock_t flow_lock;
1: - struct ktermios termios;
1: - struct ktermios termios_locked;
1: - struct termiox *termiox;
1: - char name[64];
1: - struct pid *pgrp;
1: - struct pid *session;
1: - long unsigned int flags;
1: - int count;
1: - struct winsize winsize;
1: - long unsigned int stopped: 1;
1: - long unsigned int flow_stopped: 1;
1: - int: 30;
1: - long unsigned int unused: 62;
1: - int hw_stopped;
1: - long unsigned int ctrl_status: 8;
1: - long unsigned int packet: 1;
1: - int: 23;
1: - long unsigned int unused_ctrl: 55;
1: - unsigned int receive_room;
1: - int flow_change;
1: - struct tty_struct *link;
1: - struct fasync_struct *fasync;
1: - wait_queue_head_t write_wait;
1: - wait_queue_head_t read_wait;
1: - struct work_struct hangup_work;
1: - void *disc_data;
1: - void *driver_data;
1: - spinlock_t files_lock;
1: - struct list_head tty_files;
1: - int closing;
1: - unsigned char *write_buf;
1: - int write_cnt;
1: - struct work_struct SAK_work;
1: - struct tty_port *port;
1: + int magic;
1: + struct kref kref;
1: + struct device *dev;
1: + struct tty_driver *driver;
1: + const struct tty_operations *ops;
1: + int index;
1: + struct ld_semaphore ldisc_sem;
1: + struct tty_ldisc *ldisc;
1: + struct mutex atomic_write_lock;
1: + struct mutex legacy_mutex;
1: + struct mutex throttle_mutex;
1: + struct rw_semaphore termios_rwsem;
1: + struct mutex winsize_mutex;
1: + spinlock_t ctrl_lock;
1: + spinlock_t flow_lock;
1: + struct ktermios termios;
1: + struct ktermios termios_locked;
1: + struct termiox *termiox;
1: + char name[64];
1: + struct pid *pgrp;
1: + struct pid *session;
1: + long unsigned int flags;
1: + int count;
1: + struct winsize winsize;
1: + long unsigned int stopped : 1;
1: + long unsigned int flow_stopped : 1;
1: + int : 30;
1: + long unsigned int unused : 62;
1: + int hw_stopped;
1: + long unsigned int ctrl_status : 8;
1: + long unsigned int packet : 1;
1: + int : 23;
1: + long unsigned int unused_ctrl : 55;
1: + unsigned int receive_room;
1: + int flow_change;
1: + struct tty_struct *link;
1: + struct fasync_struct *fasync;
1: + wait_queue_head_t write_wait;
1: + wait_queue_head_t read_wait;
1: + struct work_struct hangup_work;
1: + void *disc_data;
1: + void *driver_data;
1: + spinlock_t files_lock;
1: + struct list_head tty_files;
1: + int closing;
1: + unsigned char *write_buf;
1: + int write_cnt;
1: + struct work_struct SAK_work;
1: + struct tty_port *port;
1: };
1:
1: struct proc_dir_entry;
1:
1: struct tty_driver {
1: - int magic;
1: - struct kref kref;
1: - struct cdev **cdevs;
1: - struct module *owner;
1: - const char *driver_name;
1: - const char *name;
1: - int name_base;
1: - int major;
1: - int minor_start;
1: - unsigned int num;
1: - short int type;
1: - short int subtype;
1: - struct ktermios init_termios;
1: - long unsigned int flags;
1: - struct proc_dir_entry *proc_entry;
1: - struct tty_driver *other;
1: - struct tty_struct **ttys;
1: - struct tty_port **ports;
1: - struct ktermios **termios;
1: - void *driver_state;
1: - const struct tty_operations *ops;
1: - struct list_head tty_drivers;
1: + int magic;
1: + struct kref kref;
1: + struct cdev **cdevs;
1: + struct module *owner;
1: + const char *driver_name;
1: + const char *name;
1: + int name_base;
1: + int major;
1: + int minor_start;
1: + unsigned int num;
1: + short int type;
1: + short int subtype;
1: + struct ktermios init_termios;
1: + long unsigned int flags;
1: + struct proc_dir_entry *proc_entry;
1: + struct tty_driver *other;
1: + struct tty_struct **ttys;
1: + struct tty_port **ports;
1: + struct ktermios **termios;
1: + void *driver_state;
1: + const struct tty_operations *ops;
1: + struct list_head tty_drivers;
1: };
1:
1: struct tty_buffer {
1: - union {
1: - struct tty_buffer *next;
1: - struct llist_node free;
1: - };
1: - int used;
1: - int size;
1: - int commit;
1: - int read;
1: - int flags;
1: - long unsigned int data[0];
1: + union {
1: + struct tty_buffer *next;
1: + struct llist_node free;
1: + };
1: + int used;
1: + int size;
1: + int commit;
1: + int read;
1: + int flags;
1: + long unsigned int data[0];
1: };
1:
1: struct tty_bufhead {
1: - struct tty_buffer *head;
1: - struct work_struct work;
1: - struct mutex lock;
1: - atomic_t priority;
1: - struct tty_buffer sentinel;
1: - struct llist_head free;
1: - atomic_t mem_used;
1: - int mem_limit;
1: - struct tty_buffer *tail;
1: + struct tty_buffer *head;
1: + struct work_struct work;
1: + struct mutex lock;
1: + atomic_t priority;
1: + struct tty_buffer sentinel;
1: + struct llist_head free;
1: + atomic_t mem_used;
1: + int mem_limit;
1: + struct tty_buffer *tail;
1: };
1:
1: struct tty_port_operations;
1: @@ -9501,78 +9562,83 @@ struct tty_port_operations;
1: struct tty_port_client_operations;
1:
1: struct tty_port {
1: - struct tty_bufhead buf;
1: - struct tty_struct *tty;
1: - struct tty_struct *itty;
1: - const struct tty_port_operations *ops;
1: - const struct tty_port_client_operations *client_ops;
1: - spinlock_t lock;
1: - int blocked_open;
1: - int count;
1: - wait_queue_head_t open_wait;
1: - wait_queue_head_t delta_msr_wait;
1: - long unsigned int flags;
1: - long unsigned int iflags;
1: - unsigned char console: 1;
1: - unsigned char low_latency: 1;
1: - struct mutex mutex;
1: - struct mutex buf_mutex;
1: - unsigned char *xmit_buf;
1: - unsigned int close_delay;
1: - unsigned int closing_wait;
1: - int drain_delay;
1: - struct kref kref;
1: - void *client_data;
1: + struct tty_bufhead buf;
1: + struct tty_struct *tty;
1: + struct tty_struct *itty;
1: + const struct tty_port_operations *ops;
1: + const struct tty_port_client_operations *client_ops;
1: + spinlock_t lock;
1: + int blocked_open;
1: + int count;
1: + wait_queue_head_t open_wait;
1: + wait_queue_head_t delta_msr_wait;
1: + long unsigned int flags;
1: + long unsigned int iflags;
1: + unsigned char console : 1;
1: + unsigned char low_latency : 1;
1: + struct mutex mutex;
1: + struct mutex buf_mutex;
1: + unsigned char *xmit_buf;
1: + unsigned int close_delay;
1: + unsigned int closing_wait;
1: + int drain_delay;
1: + struct kref kref;
1: + void *client_data;
1: };
1:
1: struct tty_ldisc_ops {
1: - int magic;
1: - char *name;
1: - int num;
1: - int flags;
1: - int (*open)(struct tty_struct *);
1: - void (*close)(struct tty_struct *);
1: - void (*flush_buffer)(struct tty_struct *);
1: - ssize_t (*read)(struct tty_struct *, struct file *, unsigned char *, size_t);
1: - ssize_t (*write)(struct tty_struct *, struct file *, const unsigned char *, size_t);
1: - int (*ioctl)(struct tty_struct *, struct file *, unsigned int, long unsigned int);
1: - int (*compat_ioctl)(struct tty_struct *, struct file *, unsigned int, long unsigned int);
1: - void (*set_termios)(struct tty_struct *, struct ktermios *);
1: - __poll_t (*poll)(struct tty_struct *, struct file *, struct poll_table_struct *);
1: - int (*hangup)(struct tty_struct *);
1: - void (*receive_buf)(struct tty_struct *, const unsigned char *, char *, int);
1: - void (*write_wakeup)(struct tty_struct *);
1: - void (*dcd_change)(struct tty_struct *, unsigned int);
1: - int (*receive_buf2)(struct tty_struct *, const unsigned char *, char *, int);
1: - struct module *owner;
1: - int refcount;
1: + int magic;
1: + char *name;
1: + int num;
1: + int flags;
1: + int (*open)(struct tty_struct *);
1: + void (*close)(struct tty_struct *);
1: + void (*flush_buffer)(struct tty_struct *);
1: + ssize_t (*read)(struct tty_struct *, struct file *, unsigned char *, size_t);
1: + ssize_t (*write)(struct tty_struct *, struct file *, const unsigned char *,
1: + size_t);
1: + int (*ioctl)(struct tty_struct *, struct file *, unsigned int,
1: + long unsigned int);
1: + int (*compat_ioctl)(struct tty_struct *, struct file *, unsigned int,
1: + long unsigned int);
1: + void (*set_termios)(struct tty_struct *, struct ktermios *);
1: + __poll_t (*poll)(struct tty_struct *, struct file *,
1: + struct poll_table_struct *);
1: + int (*hangup)(struct tty_struct *);
1: + void (*receive_buf)(struct tty_struct *, const unsigned char *, char *, int);
1: + void (*write_wakeup)(struct tty_struct *);
1: + void (*dcd_change)(struct tty_struct *, unsigned int);
1: + int (*receive_buf2)(struct tty_struct *, const unsigned char *, char *, int);
1: + struct module *owner;
1: + int refcount;
1: };
1:
1: struct tty_ldisc {
1: - struct tty_ldisc_ops *ops;
1: - struct tty_struct *tty;
1: + struct tty_ldisc_ops *ops;
1: + struct tty_struct *tty;
1: };
1:
1: struct tty_port_operations {
1: - int (*carrier_raised)(struct tty_port *);
1: - void (*dtr_rts)(struct tty_port *, int);
1: - void (*shutdown)(struct tty_port *);
1: - int (*activate)(struct tty_port *, struct tty_struct *);
1: - void (*destruct)(struct tty_port *);
1: + int (*carrier_raised)(struct tty_port *);
1: + void (*dtr_rts)(struct tty_port *, int);
1: + void (*shutdown)(struct tty_port *);
1: + int (*activate)(struct tty_port *, struct tty_struct *);
1: + void (*destruct)(struct tty_port *);
1: };
1:
1: struct tty_port_client_operations {
1: - int (*receive_buf)(struct tty_port *, const unsigned char *, const unsigned char *, size_t);
1: - void (*write_wakeup)(struct tty_port *);
1: + int (*receive_buf)(struct tty_port *, const unsigned char *,
1: + const unsigned char *, size_t);
1: + void (*write_wakeup)(struct tty_port *);
1: };
1:
1: struct prot_inuse;
1:
1: struct netns_core {
1: - struct ctl_table_header *sysctl_hdr;
1: - int sysctl_somaxconn;
1: - int *sock_inuse;
1: - struct prot_inuse *prot_inuse;
1: + struct ctl_table_header *sysctl_hdr;
1: + int sysctl_somaxconn;
1: + int *sock_inuse;
1: + struct prot_inuse *prot_inuse;
1: };
1:
1: struct tcp_mib;
1: @@ -9592,75 +9658,73 @@ struct icmpv6_mib;
1: struct icmpv6msg_mib;
1:
1: struct netns_mib {
1: - struct tcp_mib *tcp_statistics;
1: - struct ipstats_mib *ip_statistics;
1: - struct linux_mib *net_statistics;
1: - struct udp_mib *udp_statistics;
1: - struct udp_mib *udplite_statistics;
1: - struct icmp_mib *icmp_statistics;
1: - struct icmpmsg_mib *icmpmsg_statistics;
1: - struct proc_dir_entry *proc_net_devsnmp6;
1: - struct udp_mib *udp_stats_in6;
1: - struct udp_mib *udplite_stats_in6;
1: - struct ipstats_mib *ipv6_statistics;
1: - struct icmpv6_mib *icmpv6_statistics;
1: - struct icmpv6msg_mib *icmpv6msg_statistics;
1: + struct tcp_mib *tcp_statistics;
1: + struct ipstats_mib *ip_statistics;
1: + struct linux_mib *net_statistics;
1: + struct udp_mib *udp_statistics;
1: + struct udp_mib *udplite_statistics;
1: + struct icmp_mib *icmp_statistics;
1: + struct icmpmsg_mib *icmpmsg_statistics;
1: + struct proc_dir_entry *proc_net_devsnmp6;
1: + struct udp_mib *udp_stats_in6;
1: + struct udp_mib *udplite_stats_in6;
1: + struct ipstats_mib *ipv6_statistics;
1: + struct icmpv6_mib *icmpv6_statistics;
1: + struct icmpv6msg_mib *icmpv6msg_statistics;
1: };
1:
1: struct netns_packet {
1: - struct mutex sklist_lock;
1: - struct hlist_head sklist;
1: + struct mutex sklist_lock;
1: + struct hlist_head sklist;
1: };
1:
1: struct netns_unix {
1: - int sysctl_max_dgram_qlen;
1: - struct ctl_table_header *ctl;
1: + int sysctl_max_dgram_qlen;
1: + struct ctl_table_header *ctl;
1: };
1:
1: struct netns_nexthop {
1: - struct rb_root rb_root;
1: - struct hlist_head *devhash;
1: - unsigned int seq;
1: - u32 last_id_allocated;
1: + struct rb_root rb_root;
1: + struct hlist_head *devhash;
1: + unsigned int seq;
1: + u32 last_id_allocated;
1: };
1:
1: struct local_ports {
1: - seqlock_t lock;
1: - int range[2];
1: - bool warned;
1: + seqlock_t lock;
1: + int range[2];
1: + bool warned;
1: };
1:
1: struct inet_hashinfo;
1:
1: struct inet_timewait_death_row {
1: - atomic_t tw_count;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct inet_hashinfo *hashinfo;
1: - int sysctl_max_tw_buckets;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + atomic_t tw_count;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct inet_hashinfo *hashinfo;
1: + int sysctl_max_tw_buckets;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct ping_group_range {
1: - seqlock_t lock;
1: - kgid_t range[2];
1: + seqlock_t lock;
1: + kgid_t range[2];
1: };
1:
1: -typedef struct {
1: - u64 key[2];
1: -} siphash_key_t;
1: +typedef struct { u64 key[2]; } siphash_key_t;
1:
1: struct ipv4_devconf;
1:
1: @@ -9685,176 +9749,176 @@ struct mr_table;
1: struct fib_notifier_ops;
1:
1: struct netns_ipv4 {
1: - struct ctl_table_header *forw_hdr;
1: - struct ctl_table_header *frags_hdr;
1: - struct ctl_table_header *ipv4_hdr;
1: - struct ctl_table_header *route_hdr;
1: - struct ctl_table_header *xfrm4_hdr;
1: - struct ipv4_devconf *devconf_all;
1: - struct ipv4_devconf *devconf_dflt;
1: - struct ip_ra_chain *ra_chain;
1: - struct mutex ra_mutex;
1: - struct fib_rules_ops *rules_ops;
1: - bool fib_has_custom_rules;
1: - unsigned int fib_rules_require_fldissect;
1: - struct fib_table *fib_main;
1: - struct fib_table *fib_default;
1: - bool fib_has_custom_local_routes;
1: - struct hlist_head *fib_table_hash;
1: - bool fib_offload_disabled;
1: - struct sock *fibnl;
1: - struct sock **icmp_sk;
1: - struct sock *mc_autojoin_sk;
1: - struct inet_peer_base *peers;
1: - struct sock **tcp_sk;
1: - struct fqdir *fqdir;
1: - struct xt_table *iptable_filter;
1: - struct xt_table *iptable_mangle;
1: - struct xt_table *iptable_raw;
1: - struct xt_table *arptable_filter;
1: - struct xt_table *iptable_security;
1: - struct xt_table *nat_table;
1: - int sysctl_icmp_echo_ignore_all;
1: - int sysctl_icmp_echo_ignore_broadcasts;
1: - int sysctl_icmp_ignore_bogus_error_responses;
1: - int sysctl_icmp_ratelimit;
1: - int sysctl_icmp_ratemask;
1: - int sysctl_icmp_errors_use_inbound_ifaddr;
1: - struct local_ports ip_local_ports;
1: - int sysctl_tcp_ecn;
1: - int sysctl_tcp_ecn_fallback;
1: - int sysctl_ip_default_ttl;
1: - int sysctl_ip_no_pmtu_disc;
1: - int sysctl_ip_fwd_use_pmtu;
1: - int sysctl_ip_fwd_update_priority;
1: - int sysctl_ip_nonlocal_bind;
1: - int sysctl_ip_dynaddr;
1: - int sysctl_ip_early_demux;
1: - int sysctl_tcp_early_demux;
1: - int sysctl_udp_early_demux;
1: - int sysctl_fwmark_reflect;
1: - int sysctl_tcp_fwmark_accept;
1: - int sysctl_tcp_mtu_probing;
1: - int sysctl_tcp_mtu_probe_floor;
1: - int sysctl_tcp_base_mss;
1: - int sysctl_tcp_min_snd_mss;
1: - int sysctl_tcp_probe_threshold;
1: - u32 sysctl_tcp_probe_interval;
1: - int sysctl_tcp_keepalive_time;
1: - int sysctl_tcp_keepalive_probes;
1: - int sysctl_tcp_keepalive_intvl;
1: - int sysctl_tcp_syn_retries;
1: - int sysctl_tcp_synack_retries;
1: - int sysctl_tcp_syncookies;
1: - int sysctl_tcp_reordering;
1: - int sysctl_tcp_retries1;
1: - int sysctl_tcp_retries2;
1: - int sysctl_tcp_orphan_retries;
1: - int sysctl_tcp_fin_timeout;
1: - unsigned int sysctl_tcp_notsent_lowat;
1: - int sysctl_tcp_tw_reuse;
1: - int sysctl_tcp_sack;
1: - int sysctl_tcp_window_scaling;
1: - int sysctl_tcp_timestamps;
1: - int sysctl_tcp_early_retrans;
1: - int sysctl_tcp_recovery;
1: - int sysctl_tcp_thin_linear_timeouts;
1: - int sysctl_tcp_slow_start_after_idle;
1: - int sysctl_tcp_retrans_collapse;
1: - int sysctl_tcp_stdurg;
1: - int sysctl_tcp_rfc1337;
1: - int sysctl_tcp_abort_on_overflow;
1: - int sysctl_tcp_fack;
1: - int sysctl_tcp_max_reordering;
1: - int sysctl_tcp_dsack;
1: - int sysctl_tcp_app_win;
1: - int sysctl_tcp_adv_win_scale;
1: - int sysctl_tcp_frto;
1: - int sysctl_tcp_nometrics_save;
1: - int sysctl_tcp_moderate_rcvbuf;
1: - int sysctl_tcp_tso_win_divisor;
1: - int sysctl_tcp_workaround_signed_windows;
1: - int sysctl_tcp_limit_output_bytes;
1: - int sysctl_tcp_challenge_ack_limit;
1: - int sysctl_tcp_min_tso_segs;
1: - int sysctl_tcp_min_rtt_wlen;
1: - int sysctl_tcp_autocorking;
1: - int sysctl_tcp_invalid_ratelimit;
1: - int sysctl_tcp_pacing_ss_ratio;
1: - int sysctl_tcp_pacing_ca_ratio;
1: - int sysctl_tcp_wmem[3];
1: - int sysctl_tcp_rmem[3];
1: - int sysctl_tcp_comp_sack_nr;
1: - long unsigned int sysctl_tcp_comp_sack_delay_ns;
1: - struct inet_timewait_death_row tcp_death_row;
1: - int sysctl_max_syn_backlog;
1: - int sysctl_tcp_fastopen;
1: - const struct tcp_congestion_ops *tcp_congestion_control;
1: - struct tcp_fastopen_context *tcp_fastopen_ctx;
1: - spinlock_t tcp_fastopen_ctx_lock;
1: - unsigned int sysctl_tcp_fastopen_blackhole_timeout;
1: - atomic_t tfo_active_disable_times;
1: - long unsigned int tfo_active_disable_stamp;
1: - int sysctl_udp_wmem_min;
1: - int sysctl_udp_rmem_min;
1: - int sysctl_igmp_max_memberships;
1: - int sysctl_igmp_max_msf;
1: - int sysctl_igmp_llm_reports;
1: - int sysctl_igmp_qrv;
1: - struct ping_group_range ping_group_range;
1: - atomic_t dev_addr_genid;
1: - long unsigned int *sysctl_local_reserved_ports;
1: - int sysctl_ip_prot_sock;
1: - struct mr_table *mrt;
1: - int sysctl_fib_multipath_use_neigh;
1: - int sysctl_fib_multipath_hash_policy;
1: - struct fib_notifier_ops *notifier_ops;
1: - unsigned int fib_seq;
1: - struct fib_notifier_ops *ipmr_notifier_ops;
1: - unsigned int ipmr_seq;
1: - atomic_t rt_genid;
1: - siphash_key_t ip_id_key;
1: - long: 64;
1: - long: 64;
1: + struct ctl_table_header *forw_hdr;
1: + struct ctl_table_header *frags_hdr;
1: + struct ctl_table_header *ipv4_hdr;
1: + struct ctl_table_header *route_hdr;
1: + struct ctl_table_header *xfrm4_hdr;
1: + struct ipv4_devconf *devconf_all;
1: + struct ipv4_devconf *devconf_dflt;
1: + struct ip_ra_chain *ra_chain;
1: + struct mutex ra_mutex;
1: + struct fib_rules_ops *rules_ops;
1: + bool fib_has_custom_rules;
1: + unsigned int fib_rules_require_fldissect;
1: + struct fib_table *fib_main;
1: + struct fib_table *fib_default;
1: + bool fib_has_custom_local_routes;
1: + struct hlist_head *fib_table_hash;
1: + bool fib_offload_disabled;
1: + struct sock *fibnl;
1: + struct sock **icmp_sk;
1: + struct sock *mc_autojoin_sk;
1: + struct inet_peer_base *peers;
1: + struct sock **tcp_sk;
1: + struct fqdir *fqdir;
1: + struct xt_table *iptable_filter;
1: + struct xt_table *iptable_mangle;
1: + struct xt_table *iptable_raw;
1: + struct xt_table *arptable_filter;
1: + struct xt_table *iptable_security;
1: + struct xt_table *nat_table;
1: + int sysctl_icmp_echo_ignore_all;
1: + int sysctl_icmp_echo_ignore_broadcasts;
1: + int sysctl_icmp_ignore_bogus_error_responses;
1: + int sysctl_icmp_ratelimit;
1: + int sysctl_icmp_ratemask;
1: + int sysctl_icmp_errors_use_inbound_ifaddr;
1: + struct local_ports ip_local_ports;
1: + int sysctl_tcp_ecn;
1: + int sysctl_tcp_ecn_fallback;
1: + int sysctl_ip_default_ttl;
1: + int sysctl_ip_no_pmtu_disc;
1: + int sysctl_ip_fwd_use_pmtu;
1: + int sysctl_ip_fwd_update_priority;
1: + int sysctl_ip_nonlocal_bind;
1: + int sysctl_ip_dynaddr;
1: + int sysctl_ip_early_demux;
1: + int sysctl_tcp_early_demux;
1: + int sysctl_udp_early_demux;
1: + int sysctl_fwmark_reflect;
1: + int sysctl_tcp_fwmark_accept;
1: + int sysctl_tcp_mtu_probing;
1: + int sysctl_tcp_mtu_probe_floor;
1: + int sysctl_tcp_base_mss;
1: + int sysctl_tcp_min_snd_mss;
1: + int sysctl_tcp_probe_threshold;
1: + u32 sysctl_tcp_probe_interval;
1: + int sysctl_tcp_keepalive_time;
1: + int sysctl_tcp_keepalive_probes;
1: + int sysctl_tcp_keepalive_intvl;
1: + int sysctl_tcp_syn_retries;
1: + int sysctl_tcp_synack_retries;
1: + int sysctl_tcp_syncookies;
1: + int sysctl_tcp_reordering;
1: + int sysctl_tcp_retries1;
1: + int sysctl_tcp_retries2;
1: + int sysctl_tcp_orphan_retries;
1: + int sysctl_tcp_fin_timeout;
1: + unsigned int sysctl_tcp_notsent_lowat;
1: + int sysctl_tcp_tw_reuse;
1: + int sysctl_tcp_sack;
1: + int sysctl_tcp_window_scaling;
1: + int sysctl_tcp_timestamps;
1: + int sysctl_tcp_early_retrans;
1: + int sysctl_tcp_recovery;
1: + int sysctl_tcp_thin_linear_timeouts;
1: + int sysctl_tcp_slow_start_after_idle;
1: + int sysctl_tcp_retrans_collapse;
1: + int sysctl_tcp_stdurg;
1: + int sysctl_tcp_rfc1337;
1: + int sysctl_tcp_abort_on_overflow;
1: + int sysctl_tcp_fack;
1: + int sysctl_tcp_max_reordering;
1: + int sysctl_tcp_dsack;
1: + int sysctl_tcp_app_win;
1: + int sysctl_tcp_adv_win_scale;
1: + int sysctl_tcp_frto;
1: + int sysctl_tcp_nometrics_save;
1: + int sysctl_tcp_moderate_rcvbuf;
1: + int sysctl_tcp_tso_win_divisor;
1: + int sysctl_tcp_workaround_signed_windows;
1: + int sysctl_tcp_limit_output_bytes;
1: + int sysctl_tcp_challenge_ack_limit;
1: + int sysctl_tcp_min_tso_segs;
1: + int sysctl_tcp_min_rtt_wlen;
1: + int sysctl_tcp_autocorking;
1: + int sysctl_tcp_invalid_ratelimit;
1: + int sysctl_tcp_pacing_ss_ratio;
1: + int sysctl_tcp_pacing_ca_ratio;
1: + int sysctl_tcp_wmem[3];
1: + int sysctl_tcp_rmem[3];
1: + int sysctl_tcp_comp_sack_nr;
1: + long unsigned int sysctl_tcp_comp_sack_delay_ns;
1: + struct inet_timewait_death_row tcp_death_row;
1: + int sysctl_max_syn_backlog;
1: + int sysctl_tcp_fastopen;
1: + const struct tcp_congestion_ops *tcp_congestion_control;
1: + struct tcp_fastopen_context *tcp_fastopen_ctx;
1: + spinlock_t tcp_fastopen_ctx_lock;
1: + unsigned int sysctl_tcp_fastopen_blackhole_timeout;
1: + atomic_t tfo_active_disable_times;
1: + long unsigned int tfo_active_disable_stamp;
1: + int sysctl_udp_wmem_min;
1: + int sysctl_udp_rmem_min;
1: + int sysctl_igmp_max_memberships;
1: + int sysctl_igmp_max_msf;
1: + int sysctl_igmp_llm_reports;
1: + int sysctl_igmp_qrv;
1: + struct ping_group_range ping_group_range;
1: + atomic_t dev_addr_genid;
1: + long unsigned int *sysctl_local_reserved_ports;
1: + int sysctl_ip_prot_sock;
1: + struct mr_table *mrt;
1: + int sysctl_fib_multipath_use_neigh;
1: + int sysctl_fib_multipath_hash_policy;
1: + struct fib_notifier_ops *notifier_ops;
1: + unsigned int fib_seq;
1: + struct fib_notifier_ops *ipmr_notifier_ops;
1: + unsigned int ipmr_seq;
1: + atomic_t rt_genid;
1: + siphash_key_t ip_id_key;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct netns_sysctl_ipv6 {
1: - struct ctl_table_header *hdr;
1: - struct ctl_table_header *route_hdr;
1: - struct ctl_table_header *icmp_hdr;
1: - struct ctl_table_header *frags_hdr;
1: - struct ctl_table_header *xfrm6_hdr;
1: - int bindv6only;
1: - int flush_delay;
1: - int ip6_rt_max_size;
1: - int ip6_rt_gc_min_interval;
1: - int ip6_rt_gc_timeout;
1: - int ip6_rt_gc_interval;
1: - int ip6_rt_gc_elasticity;
1: - int ip6_rt_mtu_expires;
1: - int ip6_rt_min_advmss;
1: - int multipath_hash_policy;
1: - int flowlabel_consistency;
1: - int auto_flowlabels;
1: - int icmpv6_time;
1: - int icmpv6_echo_ignore_all;
1: - int icmpv6_echo_ignore_multicast;
1: - int icmpv6_echo_ignore_anycast;
1: - long unsigned int icmpv6_ratemask[4];
1: - long unsigned int *icmpv6_ratemask_ptr;
1: - int anycast_src_echo_reply;
1: - int ip_nonlocal_bind;
1: - int fwmark_reflect;
1: - int idgen_retries;
1: - int idgen_delay;
1: - int flowlabel_state_ranges;
1: - int flowlabel_reflect;
1: - int max_dst_opts_cnt;
1: - int max_hbh_opts_cnt;
1: - int max_dst_opts_len;
1: - int max_hbh_opts_len;
1: - int seg6_flowlabel;
1: - bool skip_notify_on_dev_down;
1: + struct ctl_table_header *hdr;
1: + struct ctl_table_header *route_hdr;
1: + struct ctl_table_header *icmp_hdr;
1: + struct ctl_table_header *frags_hdr;
1: + struct ctl_table_header *xfrm6_hdr;
1: + int bindv6only;
1: + int flush_delay;
1: + int ip6_rt_max_size;
1: + int ip6_rt_gc_min_interval;
1: + int ip6_rt_gc_timeout;
1: + int ip6_rt_gc_interval;
1: + int ip6_rt_gc_elasticity;
1: + int ip6_rt_mtu_expires;
1: + int ip6_rt_min_advmss;
1: + int multipath_hash_policy;
1: + int flowlabel_consistency;
1: + int auto_flowlabels;
1: + int icmpv6_time;
1: + int icmpv6_echo_ignore_all;
1: + int icmpv6_echo_ignore_multicast;
1: + int icmpv6_echo_ignore_anycast;
1: + long unsigned int icmpv6_ratemask[4];
1: + long unsigned int *icmpv6_ratemask_ptr;
1: + int anycast_src_echo_reply;
1: + int ip_nonlocal_bind;
1: + int fwmark_reflect;
1: + int idgen_retries;
1: + int idgen_delay;
1: + int flowlabel_state_ranges;
1: + int flowlabel_reflect;
1: + int max_dst_opts_cnt;
1: + int max_hbh_opts_cnt;
1: + int max_dst_opts_len;
1: + int max_hbh_opts_len;
1: + int seg6_flowlabel;
1: + bool skip_notify_on_dev_down;
1: };
1:
1: struct net_device;
1: @@ -9862,27 +9926,29 @@ struct net_device;
1: struct neighbour;
1:
1: struct dst_ops {
1: - short unsigned int family;
1: - unsigned int gc_thresh;
1: - int (*gc)(struct dst_ops *);
1: - struct dst_entry * (*check)(struct dst_entry *, __u32);
1: - unsigned int (*default_advmss)(const struct dst_entry *);
1: - unsigned int (*mtu)(const struct dst_entry *);
1: - u32 * (*cow_metrics)(struct dst_entry *, long unsigned int);
1: - void (*destroy)(struct dst_entry *);
1: - void (*ifdown)(struct dst_entry *, struct net_device *, int);
1: - struct dst_entry * (*negative_advice)(struct dst_entry *);
1: - void (*link_failure)(struct sk_buff *);
1: - void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool);
1: - void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *);
1: - int (*local_out)(struct net *, struct sock *, struct sk_buff *);
1: - struct neighbour * (*neigh_lookup)(const struct dst_entry *, struct sk_buff *, const void *);
1: - void (*confirm_neigh)(const struct dst_entry *, const void *);
1: - struct kmem_cache *kmem_cachep;
1: - struct percpu_counter pcpuc_entries;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + short unsigned int family;
1: + unsigned int gc_thresh;
1: + int (*gc)(struct dst_ops *);
1: + struct dst_entry *(*check)(struct dst_entry *, __u32);
1: + unsigned int (*default_advmss)(const struct dst_entry *);
1: + unsigned int (*mtu)(const struct dst_entry *);
1: + u32 *(*cow_metrics)(struct dst_entry *, long unsigned int);
1: + void (*destroy)(struct dst_entry *);
1: + void (*ifdown)(struct dst_entry *, struct net_device *, int);
1: + struct dst_entry *(*negative_advice)(struct dst_entry *);
1: + void (*link_failure)(struct sk_buff *);
1: + void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32,
1: + bool);
1: + void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *);
1: + int (*local_out)(struct net *, struct sock *, struct sk_buff *);
1: + struct neighbour *(*neigh_lookup)(const struct dst_entry *, struct sk_buff *,
1: + const void *);
1: + void (*confirm_neigh)(const struct dst_entry *, const void *);
1: + struct kmem_cache *kmem_cachep;
1: + struct percpu_counter pcpuc_entries;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct ipv6_devconf;
1: @@ -9898,47 +9964,47 @@ struct fib6_table;
1: struct seg6_pernet_data;
1:
1: struct netns_ipv6 {
1: - struct netns_sysctl_ipv6 sysctl;
1: - struct ipv6_devconf *devconf_all;
1: - struct ipv6_devconf *devconf_dflt;
1: - struct inet_peer_base *peers;
1: - struct fqdir *fqdir;
1: - struct xt_table *ip6table_filter;
1: - struct xt_table *ip6table_mangle;
1: - struct xt_table *ip6table_raw;
1: - struct xt_table *ip6table_security;
1: - struct xt_table *ip6table_nat;
1: - struct fib6_info *fib6_null_entry;
1: - struct rt6_info *ip6_null_entry;
1: - struct rt6_statistics *rt6_stats;
1: - struct timer_list ip6_fib_timer;
1: - struct hlist_head *fib_table_hash;
1: - struct fib6_table *fib6_main_tbl;
1: - struct list_head fib6_walkers;
1: - long: 64;
1: - long: 64;
1: - struct dst_ops ip6_dst_ops;
1: - rwlock_t fib6_walker_lock;
1: - spinlock_t fib6_gc_lock;
1: - unsigned int ip6_rt_gc_expire;
1: - long unsigned int ip6_rt_last_gc;
1: - struct sock **icmp_sk;
1: - struct sock *ndisc_sk;
1: - struct sock *tcp_sk;
1: - struct sock *igmp_sk;
1: - struct sock *mc_autojoin_sk;
1: - atomic_t dev_addr_genid;
1: - atomic_t fib6_sernum;
1: - struct seg6_pernet_data *seg6_data;
1: - struct fib_notifier_ops *notifier_ops;
1: - struct fib_notifier_ops *ip6mr_notifier_ops;
1: - unsigned int ipmr_seq;
1: - struct {
1: - struct hlist_head head;
1: - spinlock_t lock;
1: - u32 seq;
1: - } ip6addrlbl_table;
1: - long: 64;
1: + struct netns_sysctl_ipv6 sysctl;
1: + struct ipv6_devconf *devconf_all;
1: + struct ipv6_devconf *devconf_dflt;
1: + struct inet_peer_base *peers;
1: + struct fqdir *fqdir;
1: + struct xt_table *ip6table_filter;
1: + struct xt_table *ip6table_mangle;
1: + struct xt_table *ip6table_raw;
1: + struct xt_table *ip6table_security;
1: + struct xt_table *ip6table_nat;
1: + struct fib6_info *fib6_null_entry;
1: + struct rt6_info *ip6_null_entry;
1: + struct rt6_statistics *rt6_stats;
1: + struct timer_list ip6_fib_timer;
1: + struct hlist_head *fib_table_hash;
1: + struct fib6_table *fib6_main_tbl;
1: + struct list_head fib6_walkers;
1: + long : 64;
1: + long : 64;
1: + struct dst_ops ip6_dst_ops;
1: + rwlock_t fib6_walker_lock;
1: + spinlock_t fib6_gc_lock;
1: + unsigned int ip6_rt_gc_expire;
1: + long unsigned int ip6_rt_last_gc;
1: + struct sock **icmp_sk;
1: + struct sock *ndisc_sk;
1: + struct sock *tcp_sk;
1: + struct sock *igmp_sk;
1: + struct sock *mc_autojoin_sk;
1: + atomic_t dev_addr_genid;
1: + atomic_t fib6_sernum;
1: + struct seg6_pernet_data *seg6_data;
1: + struct fib_notifier_ops *notifier_ops;
1: + struct fib_notifier_ops *ip6mr_notifier_ops;
1: + unsigned int ipmr_seq;
1: + struct {
1: + struct hlist_head head;
1: + spinlock_t lock;
1: + u32 seq;
1: + } ip6addrlbl_table;
1: + long : 64;
1: };
1:
1: struct nf_queue_handler;
1: @@ -9948,20 +10014,20 @@ struct nf_logger;
1: struct nf_hook_entries;
1:
1: struct netns_nf {
1: - struct proc_dir_entry *proc_netfilter;
1: - const struct nf_queue_handler *queue_handler;
1: - const struct nf_logger *nf_loggers[13];
1: - struct ctl_table_header *nf_log_dir_header;
1: - struct nf_hook_entries *hooks_ipv4[5];
1: - struct nf_hook_entries *hooks_ipv6[5];
1: - bool defrag_ipv4;
1: - bool defrag_ipv6;
1: + struct proc_dir_entry *proc_netfilter;
1: + const struct nf_queue_handler *queue_handler;
1: + const struct nf_logger *nf_loggers[13];
1: + struct ctl_table_header *nf_log_dir_header;
1: + struct nf_hook_entries *hooks_ipv4[5];
1: + struct nf_hook_entries *hooks_ipv6[5];
1: + bool defrag_ipv4;
1: + bool defrag_ipv6;
1: };
1:
1: struct netns_xt {
1: - struct list_head tables[13];
1: - bool notrack_deprecated_warning;
1: - bool clusterip_deprecated_warning;
1: + struct list_head tables[13];
1: + bool notrack_deprecated_warning;
1: + bool clusterip_deprecated_warning;
1: };
1:
1: struct nf_ct_event_notifier;
1: @@ -9969,30 +10035,30 @@ struct nf_ct_event_notifier;
1: struct nf_exp_event_notifier;
1:
1: struct nf_generic_net {
1: - unsigned int timeout;
1: + unsigned int timeout;
1: };
1:
1: struct nf_tcp_net {
1: - unsigned int timeouts[14];
1: - int tcp_loose;
1: - int tcp_be_liberal;
1: - int tcp_max_retrans;
1: + unsigned int timeouts[14];
1: + int tcp_loose;
1: + int tcp_be_liberal;
1: + int tcp_max_retrans;
1: };
1:
1: struct nf_udp_net {
1: - unsigned int timeouts[2];
1: + unsigned int timeouts[2];
1: };
1:
1: struct nf_icmp_net {
1: - unsigned int timeout;
1: + unsigned int timeout;
1: };
1:
1: struct nf_ip_net {
1: - struct nf_generic_net generic;
1: - struct nf_tcp_net tcp;
1: - struct nf_udp_net udp;
1: - struct nf_icmp_net icmp;
1: - struct nf_icmp_net icmpv6;
1: + struct nf_generic_net generic;
1: + struct nf_tcp_net tcp;
1: + struct nf_udp_net udp;
1: + struct nf_icmp_net icmp;
1: + struct nf_icmp_net icmpv6;
1: };
1:
1: struct ct_pcpu;
1: @@ -10000,82 +10066,82 @@ struct ct_pcpu;
1: struct ip_conntrack_stat;
1:
1: struct netns_ct {
1: - atomic_t count;
1: - unsigned int expect_count;
1: - bool auto_assign_helper_warned;
1: - struct ctl_table_header *sysctl_header;
1: - unsigned int sysctl_log_invalid;
1: - int sysctl_events;
1: - int sysctl_acct;
1: - int sysctl_auto_assign_helper;
1: - int sysctl_tstamp;
1: - int sysctl_checksum;
1: - struct ct_pcpu *pcpu_lists;
1: - struct ip_conntrack_stat *stat;
1: - struct nf_ct_event_notifier *nf_conntrack_event_cb;
1: - struct nf_exp_event_notifier *nf_expect_event_cb;
1: - struct nf_ip_net nf_ct_proto;
1: + atomic_t count;
1: + unsigned int expect_count;
1: + bool auto_assign_helper_warned;
1: + struct ctl_table_header *sysctl_header;
1: + unsigned int sysctl_log_invalid;
1: + int sysctl_events;
1: + int sysctl_acct;
1: + int sysctl_auto_assign_helper;
1: + int sysctl_tstamp;
1: + int sysctl_checksum;
1: + struct ct_pcpu *pcpu_lists;
1: + struct ip_conntrack_stat *stat;
1: + struct nf_ct_event_notifier *nf_conntrack_event_cb;
1: + struct nf_exp_event_notifier *nf_expect_event_cb;
1: + struct nf_ip_net nf_ct_proto;
1: };
1:
1: struct netns_nf_frag {
1: - struct fqdir *fqdir;
1: + struct fqdir *fqdir;
1: };
1:
1: struct xfrm_policy_hash {
1: - struct hlist_head *table;
1: - unsigned int hmask;
1: - u8 dbits4;
1: - u8 sbits4;
1: - u8 dbits6;
1: - u8 sbits6;
1: + struct hlist_head *table;
1: + unsigned int hmask;
1: + u8 dbits4;
1: + u8 sbits4;
1: + u8 dbits6;
1: + u8 sbits6;
1: };
1:
1: struct xfrm_policy_hthresh {
1: - struct work_struct work;
1: - seqlock_t lock;
1: - u8 lbits4;
1: - u8 rbits4;
1: - u8 lbits6;
1: - u8 rbits6;
1: + struct work_struct work;
1: + seqlock_t lock;
1: + u8 lbits4;
1: + u8 rbits4;
1: + u8 lbits6;
1: + u8 rbits6;
1: };
1:
1: struct netns_xfrm {
1: - struct list_head state_all;
1: - struct hlist_head *state_bydst;
1: - struct hlist_head *state_bysrc;
1: - struct hlist_head *state_byspi;
1: - unsigned int state_hmask;
1: - unsigned int state_num;
1: - struct work_struct state_hash_work;
1: - struct list_head policy_all;
1: - struct hlist_head *policy_byidx;
1: - unsigned int policy_idx_hmask;
1: - struct hlist_head policy_inexact[3];
1: - struct xfrm_policy_hash policy_bydst[3];
1: - unsigned int policy_count[6];
1: - struct work_struct policy_hash_work;
1: - struct xfrm_policy_hthresh policy_hthresh;
1: - struct list_head inexact_bins;
1: - struct sock *nlsk;
1: - struct sock *nlsk_stash;
1: - u32 sysctl_aevent_etime;
1: - u32 sysctl_aevent_rseqth;
1: - int sysctl_larval_drop;
1: - u32 sysctl_acq_expires;
1: - struct ctl_table_header *sysctl_hdr;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct dst_ops xfrm4_dst_ops;
1: - struct dst_ops xfrm6_dst_ops;
1: - spinlock_t xfrm_state_lock;
1: - spinlock_t xfrm_policy_lock;
1: - struct mutex xfrm_cfg_mutex;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct list_head state_all;
1: + struct hlist_head *state_bydst;
1: + struct hlist_head *state_bysrc;
1: + struct hlist_head *state_byspi;
1: + unsigned int state_hmask;
1: + unsigned int state_num;
1: + struct work_struct state_hash_work;
1: + struct list_head policy_all;
1: + struct hlist_head *policy_byidx;
1: + unsigned int policy_idx_hmask;
1: + struct hlist_head policy_inexact[3];
1: + struct xfrm_policy_hash policy_bydst[3];
1: + unsigned int policy_count[6];
1: + struct work_struct policy_hash_work;
1: + struct xfrm_policy_hthresh policy_hthresh;
1: + struct list_head inexact_bins;
1: + struct sock *nlsk;
1: + struct sock *nlsk_stash;
1: + u32 sysctl_aevent_etime;
1: + u32 sysctl_aevent_rseqth;
1: + int sysctl_larval_drop;
1: + u32 sysctl_acq_expires;
1: + struct ctl_table_header *sysctl_hdr;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct dst_ops xfrm4_dst_ops;
1: + struct dst_ops xfrm6_dst_ops;
1: + spinlock_t xfrm_state_lock;
1: + spinlock_t xfrm_policy_lock;
1: + struct mutex xfrm_cfg_mutex;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct uevent_sock;
1: @@ -10083,300 +10149,298 @@ struct uevent_sock;
1: struct net_generic;
1:
1: struct net {
1: - refcount_t passive;
1: - refcount_t count;
1: - spinlock_t rules_mod_lock;
1: - unsigned int dev_unreg_count;
1: - unsigned int dev_base_seq;
1: - int ifindex;
1: - spinlock_t nsid_lock;
1: - atomic_t fnhe_genid;
1: - struct list_head list;
1: - struct list_head exit_list;
1: - struct llist_node cleanup_list;
1: - struct key_tag *key_domain;
1: - struct user_namespace *user_ns;
1: - struct ucounts *ucounts;
1: - struct idr netns_ids;
1: - struct ns_common ns;
1: - struct list_head dev_base_head;
1: - struct proc_dir_entry *proc_net;
1: - struct proc_dir_entry *proc_net_stat;
1: - struct ctl_table_set sysctls;
1: - struct sock *rtnl;
1: - struct sock *genl_sock;
1: - struct uevent_sock *uevent_sock;
1: - struct hlist_head *dev_name_head;
1: - struct hlist_head *dev_index_head;
1: - struct raw_notifier_head netdev_chain;
1: - u32 hash_mix;
1: - struct net_device *loopback_dev;
1: - struct list_head rules_ops;
1: - struct netns_core core;
1: - struct netns_mib mib;
1: - struct netns_packet packet;
1: - struct netns_unix unx;
1: - struct netns_nexthop nexthop;
1: - long: 64;
1: - struct netns_ipv4 ipv4;
1: - struct netns_ipv6 ipv6;
1: - struct netns_nf nf;
1: - struct netns_xt xt;
1: - struct netns_ct ct;
1: - struct netns_nf_frag nf_frag;
1: - struct ctl_table_header *nf_frag_frags_hdr;
1: - struct sock *nfnl;
1: - struct sock *nfnl_stash;
1: - struct net_generic *gen;
1: - struct bpf_prog *flow_dissector_prog;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct netns_xfrm xfrm;
1: - struct sock *diag_nlsk;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: -};
1: -
1: -typedef struct {
1: - local64_t v;
1: -} u64_stats_t;
1: + refcount_t passive;
1: + refcount_t count;
1: + spinlock_t rules_mod_lock;
1: + unsigned int dev_unreg_count;
1: + unsigned int dev_base_seq;
1: + int ifindex;
1: + spinlock_t nsid_lock;
1: + atomic_t fnhe_genid;
1: + struct list_head list;
1: + struct list_head exit_list;
1: + struct llist_node cleanup_list;
1: + struct key_tag *key_domain;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct idr netns_ids;
1: + struct ns_common ns;
1: + struct list_head dev_base_head;
1: + struct proc_dir_entry *proc_net;
1: + struct proc_dir_entry *proc_net_stat;
1: + struct ctl_table_set sysctls;
1: + struct sock *rtnl;
1: + struct sock *genl_sock;
1: + struct uevent_sock *uevent_sock;
1: + struct hlist_head *dev_name_head;
1: + struct hlist_head *dev_index_head;
1: + struct raw_notifier_head netdev_chain;
1: + u32 hash_mix;
1: + struct net_device *loopback_dev;
1: + struct list_head rules_ops;
1: + struct netns_core core;
1: + struct netns_mib mib;
1: + struct netns_packet packet;
1: + struct netns_unix unx;
1: + struct netns_nexthop nexthop;
1: + long : 64;
1: + struct netns_ipv4 ipv4;
1: + struct netns_ipv6 ipv6;
1: + struct netns_nf nf;
1: + struct netns_xt xt;
1: + struct netns_ct ct;
1: + struct netns_nf_frag nf_frag;
1: + struct ctl_table_header *nf_frag_frags_hdr;
1: + struct sock *nfnl;
1: + struct sock *nfnl_stash;
1: + struct net_generic *gen;
1: + struct bpf_prog *flow_dissector_prog;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct netns_xfrm xfrm;
1: + struct sock *diag_nlsk;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: +};
1: +
1: +typedef struct { local64_t v; } u64_stats_t;
1:
1: struct bpf_insn {
1: - __u8 code;
1: - __u8 dst_reg: 4;
1: - __u8 src_reg: 4;
1: - __s16 off;
1: - __s32 imm;
1: + __u8 code;
1: + __u8 dst_reg : 4;
1: + __u8 src_reg : 4;
1: + __s16 off;
1: + __s32 imm;
1: };
1:
1: enum bpf_map_type {
1: - BPF_MAP_TYPE_UNSPEC = 0,
1: - BPF_MAP_TYPE_HASH = 1,
1: - BPF_MAP_TYPE_ARRAY = 2,
1: - BPF_MAP_TYPE_PROG_ARRAY = 3,
1: - BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4,
1: - BPF_MAP_TYPE_PERCPU_HASH = 5,
1: - BPF_MAP_TYPE_PERCPU_ARRAY = 6,
1: - BPF_MAP_TYPE_STACK_TRACE = 7,
1: - BPF_MAP_TYPE_CGROUP_ARRAY = 8,
1: - BPF_MAP_TYPE_LRU_HASH = 9,
1: - BPF_MAP_TYPE_LRU_PERCPU_HASH = 10,
1: - BPF_MAP_TYPE_LPM_TRIE = 11,
1: - BPF_MAP_TYPE_ARRAY_OF_MAPS = 12,
1: - BPF_MAP_TYPE_HASH_OF_MAPS = 13,
1: - BPF_MAP_TYPE_DEVMAP = 14,
1: - BPF_MAP_TYPE_SOCKMAP = 15,
1: - BPF_MAP_TYPE_CPUMAP = 16,
1: - BPF_MAP_TYPE_XSKMAP = 17,
1: - BPF_MAP_TYPE_SOCKHASH = 18,
1: - BPF_MAP_TYPE_CGROUP_STORAGE = 19,
1: - BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20,
1: - BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21,
1: - BPF_MAP_TYPE_QUEUE = 22,
1: - BPF_MAP_TYPE_STACK = 23,
1: - BPF_MAP_TYPE_SK_STORAGE = 24,
1: - BPF_MAP_TYPE_DEVMAP_HASH = 25,
1: + BPF_MAP_TYPE_UNSPEC = 0,
1: + BPF_MAP_TYPE_HASH = 1,
1: + BPF_MAP_TYPE_ARRAY = 2,
1: + BPF_MAP_TYPE_PROG_ARRAY = 3,
1: + BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4,
1: + BPF_MAP_TYPE_PERCPU_HASH = 5,
1: + BPF_MAP_TYPE_PERCPU_ARRAY = 6,
1: + BPF_MAP_TYPE_STACK_TRACE = 7,
1: + BPF_MAP_TYPE_CGROUP_ARRAY = 8,
1: + BPF_MAP_TYPE_LRU_HASH = 9,
1: + BPF_MAP_TYPE_LRU_PERCPU_HASH = 10,
1: + BPF_MAP_TYPE_LPM_TRIE = 11,
1: + BPF_MAP_TYPE_ARRAY_OF_MAPS = 12,
1: + BPF_MAP_TYPE_HASH_OF_MAPS = 13,
1: + BPF_MAP_TYPE_DEVMAP = 14,
1: + BPF_MAP_TYPE_SOCKMAP = 15,
1: + BPF_MAP_TYPE_CPUMAP = 16,
1: + BPF_MAP_TYPE_XSKMAP = 17,
1: + BPF_MAP_TYPE_SOCKHASH = 18,
1: + BPF_MAP_TYPE_CGROUP_STORAGE = 19,
1: + BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20,
1: + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21,
1: + BPF_MAP_TYPE_QUEUE = 22,
1: + BPF_MAP_TYPE_STACK = 23,
1: + BPF_MAP_TYPE_SK_STORAGE = 24,
1: + BPF_MAP_TYPE_DEVMAP_HASH = 25,
1: };
1:
1: enum bpf_prog_type {
1: - BPF_PROG_TYPE_UNSPEC = 0,
1: - BPF_PROG_TYPE_SOCKET_FILTER = 1,
1: - BPF_PROG_TYPE_KPROBE = 2,
1: - BPF_PROG_TYPE_SCHED_CLS = 3,
1: - BPF_PROG_TYPE_SCHED_ACT = 4,
1: - BPF_PROG_TYPE_TRACEPOINT = 5,
1: - BPF_PROG_TYPE_XDP = 6,
1: - BPF_PROG_TYPE_PERF_EVENT = 7,
1: - BPF_PROG_TYPE_CGROUP_SKB = 8,
1: - BPF_PROG_TYPE_CGROUP_SOCK = 9,
1: - BPF_PROG_TYPE_LWT_IN = 10,
1: - BPF_PROG_TYPE_LWT_OUT = 11,
1: - BPF_PROG_TYPE_LWT_XMIT = 12,
1: - BPF_PROG_TYPE_SOCK_OPS = 13,
1: - BPF_PROG_TYPE_SK_SKB = 14,
1: - BPF_PROG_TYPE_CGROUP_DEVICE = 15,
1: - BPF_PROG_TYPE_SK_MSG = 16,
1: - BPF_PROG_TYPE_RAW_TRACEPOINT = 17,
1: - BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18,
1: - BPF_PROG_TYPE_LWT_SEG6LOCAL = 19,
1: - BPF_PROG_TYPE_LIRC_MODE2 = 20,
1: - BPF_PROG_TYPE_SK_REUSEPORT = 21,
1: - BPF_PROG_TYPE_FLOW_DISSECTOR = 22,
1: - BPF_PROG_TYPE_CGROUP_SYSCTL = 23,
1: - BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24,
1: - BPF_PROG_TYPE_CGROUP_SOCKOPT = 25,
1: - BPF_PROG_TYPE_TRACING = 26,
1: + BPF_PROG_TYPE_UNSPEC = 0,
1: + BPF_PROG_TYPE_SOCKET_FILTER = 1,
1: + BPF_PROG_TYPE_KPROBE = 2,
1: + BPF_PROG_TYPE_SCHED_CLS = 3,
1: + BPF_PROG_TYPE_SCHED_ACT = 4,
1: + BPF_PROG_TYPE_TRACEPOINT = 5,
1: + BPF_PROG_TYPE_XDP = 6,
1: + BPF_PROG_TYPE_PERF_EVENT = 7,
1: + BPF_PROG_TYPE_CGROUP_SKB = 8,
1: + BPF_PROG_TYPE_CGROUP_SOCK = 9,
1: + BPF_PROG_TYPE_LWT_IN = 10,
1: + BPF_PROG_TYPE_LWT_OUT = 11,
1: + BPF_PROG_TYPE_LWT_XMIT = 12,
1: + BPF_PROG_TYPE_SOCK_OPS = 13,
1: + BPF_PROG_TYPE_SK_SKB = 14,
1: + BPF_PROG_TYPE_CGROUP_DEVICE = 15,
1: + BPF_PROG_TYPE_SK_MSG = 16,
1: + BPF_PROG_TYPE_RAW_TRACEPOINT = 17,
1: + BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18,
1: + BPF_PROG_TYPE_LWT_SEG6LOCAL = 19,
1: + BPF_PROG_TYPE_LIRC_MODE2 = 20,
1: + BPF_PROG_TYPE_SK_REUSEPORT = 21,
1: + BPF_PROG_TYPE_FLOW_DISSECTOR = 22,
1: + BPF_PROG_TYPE_CGROUP_SYSCTL = 23,
1: + BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24,
1: + BPF_PROG_TYPE_CGROUP_SOCKOPT = 25,
1: + BPF_PROG_TYPE_TRACING = 26,
1: };
1:
1: enum bpf_attach_type {
1: - BPF_CGROUP_INET_INGRESS = 0,
1: - BPF_CGROUP_INET_EGRESS = 1,
1: - BPF_CGROUP_INET_SOCK_CREATE = 2,
1: - BPF_CGROUP_SOCK_OPS = 3,
1: - BPF_SK_SKB_STREAM_PARSER = 4,
1: - BPF_SK_SKB_STREAM_VERDICT = 5,
1: - BPF_CGROUP_DEVICE = 6,
1: - BPF_SK_MSG_VERDICT = 7,
1: - BPF_CGROUP_INET4_BIND = 8,
1: - BPF_CGROUP_INET6_BIND = 9,
1: - BPF_CGROUP_INET4_CONNECT = 10,
1: - BPF_CGROUP_INET6_CONNECT = 11,
1: - BPF_CGROUP_INET4_POST_BIND = 12,
1: - BPF_CGROUP_INET6_POST_BIND = 13,
1: - BPF_CGROUP_UDP4_SENDMSG = 14,
1: - BPF_CGROUP_UDP6_SENDMSG = 15,
1: - BPF_LIRC_MODE2 = 16,
1: - BPF_FLOW_DISSECTOR = 17,
1: - BPF_CGROUP_SYSCTL = 18,
1: - BPF_CGROUP_UDP4_RECVMSG = 19,
1: - BPF_CGROUP_UDP6_RECVMSG = 20,
1: - BPF_CGROUP_GETSOCKOPT = 21,
1: - BPF_CGROUP_SETSOCKOPT = 22,
1: - BPF_TRACE_RAW_TP = 23,
1: - BPF_TRACE_FENTRY = 24,
1: - BPF_TRACE_FEXIT = 25,
1: - __MAX_BPF_ATTACH_TYPE = 26,
1: + BPF_CGROUP_INET_INGRESS = 0,
1: + BPF_CGROUP_INET_EGRESS = 1,
1: + BPF_CGROUP_INET_SOCK_CREATE = 2,
1: + BPF_CGROUP_SOCK_OPS = 3,
1: + BPF_SK_SKB_STREAM_PARSER = 4,
1: + BPF_SK_SKB_STREAM_VERDICT = 5,
1: + BPF_CGROUP_DEVICE = 6,
1: + BPF_SK_MSG_VERDICT = 7,
1: + BPF_CGROUP_INET4_BIND = 8,
1: + BPF_CGROUP_INET6_BIND = 9,
1: + BPF_CGROUP_INET4_CONNECT = 10,
1: + BPF_CGROUP_INET6_CONNECT = 11,
1: + BPF_CGROUP_INET4_POST_BIND = 12,
1: + BPF_CGROUP_INET6_POST_BIND = 13,
1: + BPF_CGROUP_UDP4_SENDMSG = 14,
1: + BPF_CGROUP_UDP6_SENDMSG = 15,
1: + BPF_LIRC_MODE2 = 16,
1: + BPF_FLOW_DISSECTOR = 17,
1: + BPF_CGROUP_SYSCTL = 18,
1: + BPF_CGROUP_UDP4_RECVMSG = 19,
1: + BPF_CGROUP_UDP6_RECVMSG = 20,
1: + BPF_CGROUP_GETSOCKOPT = 21,
1: + BPF_CGROUP_SETSOCKOPT = 22,
1: + BPF_TRACE_RAW_TP = 23,
1: + BPF_TRACE_FENTRY = 24,
1: + BPF_TRACE_FEXIT = 25,
1: + __MAX_BPF_ATTACH_TYPE = 26,
1: };
1:
1: union bpf_attr {
1: - struct {
1: - __u32 map_type;
1: - __u32 key_size;
1: - __u32 value_size;
1: - __u32 max_entries;
1: - __u32 map_flags;
1: - __u32 inner_map_fd;
1: - __u32 numa_node;
1: - char map_name[16];
1: - __u32 map_ifindex;
1: - __u32 btf_fd;
1: - __u32 btf_key_type_id;
1: - __u32 btf_value_type_id;
1: - };
1: - struct {
1: - __u32 map_fd;
1: - __u64 key;
1: - union {
1: - __u64 value;
1: - __u64 next_key;
1: - };
1: - __u64 flags;
1: - };
1: - struct {
1: - __u32 prog_type;
1: - __u32 insn_cnt;
1: - __u64 insns;
1: - __u64 license;
1: - __u32 log_level;
1: - __u32 log_size;
1: - __u64 log_buf;
1: - __u32 kern_version;
1: - __u32 prog_flags;
1: - char prog_name[16];
1: - __u32 prog_ifindex;
1: - __u32 expected_attach_type;
1: - __u32 prog_btf_fd;
1: - __u32 func_info_rec_size;
1: - __u64 func_info;
1: - __u32 func_info_cnt;
1: - __u32 line_info_rec_size;
1: - __u64 line_info;
1: - __u32 line_info_cnt;
1: - __u32 attach_btf_id;
1: - __u32 attach_prog_fd;
1: - };
1: - struct {
1: - __u64 pathname;
1: - __u32 bpf_fd;
1: - __u32 file_flags;
1: - };
1: - struct {
1: - __u32 target_fd;
1: - __u32 attach_bpf_fd;
1: - __u32 attach_type;
1: - __u32 attach_flags;
1: - };
1: - struct {
1: - __u32 prog_fd;
1: - __u32 retval;
1: - __u32 data_size_in;
1: - __u32 data_size_out;
1: - __u64 data_in;
1: - __u64 data_out;
1: - __u32 repeat;
1: - __u32 duration;
1: - __u32 ctx_size_in;
1: - __u32 ctx_size_out;
1: - __u64 ctx_in;
1: - __u64 ctx_out;
1: - } test;
1: - struct {
1: - union {
1: - __u32 start_id;
1: - __u32 prog_id;
1: - __u32 map_id;
1: - __u32 btf_id;
1: - };
1: - __u32 next_id;
1: - __u32 open_flags;
1: - };
1: - struct {
1: - __u32 bpf_fd;
1: - __u32 info_len;
1: - __u64 info;
1: - } info;
1: - struct {
1: - __u32 target_fd;
1: - __u32 attach_type;
1: - __u32 query_flags;
1: - __u32 attach_flags;
1: - __u64 prog_ids;
1: - __u32 prog_cnt;
1: - } query;
1: - struct {
1: - __u64 name;
1: - __u32 prog_fd;
1: - } raw_tracepoint;
1: - struct {
1: - __u64 btf;
1: - __u64 btf_log_buf;
1: - __u32 btf_size;
1: - __u32 btf_log_size;
1: - __u32 btf_log_level;
1: - };
1: - struct {
1: - __u32 pid;
1: - __u32 fd;
1: - __u32 flags;
1: - __u32 buf_len;
1: - __u64 buf;
1: - __u32 prog_id;
1: - __u32 fd_type;
1: - __u64 probe_offset;
1: - __u64 probe_addr;
1: - } task_fd_query;
1: + struct {
1: + __u32 map_type;
1: + __u32 key_size;
1: + __u32 value_size;
1: + __u32 max_entries;
1: + __u32 map_flags;
1: + __u32 inner_map_fd;
1: + __u32 numa_node;
1: + char map_name[16];
1: + __u32 map_ifindex;
1: + __u32 btf_fd;
1: + __u32 btf_key_type_id;
1: + __u32 btf_value_type_id;
1: + };
1: + struct {
1: + __u32 map_fd;
1: + __u64 key;
1: + union {
1: + __u64 value;
1: + __u64 next_key;
1: + };
1: + __u64 flags;
1: + };
1: + struct {
1: + __u32 prog_type;
1: + __u32 insn_cnt;
1: + __u64 insns;
1: + __u64 license;
1: + __u32 log_level;
1: + __u32 log_size;
1: + __u64 log_buf;
1: + __u32 kern_version;
1: + __u32 prog_flags;
1: + char prog_name[16];
1: + __u32 prog_ifindex;
1: + __u32 expected_attach_type;
1: + __u32 prog_btf_fd;
1: + __u32 func_info_rec_size;
1: + __u64 func_info;
1: + __u32 func_info_cnt;
1: + __u32 line_info_rec_size;
1: + __u64 line_info;
1: + __u32 line_info_cnt;
1: + __u32 attach_btf_id;
1: + __u32 attach_prog_fd;
1: + };
1: + struct {
1: + __u64 pathname;
1: + __u32 bpf_fd;
1: + __u32 file_flags;
1: + };
1: + struct {
1: + __u32 target_fd;
1: + __u32 attach_bpf_fd;
1: + __u32 attach_type;
1: + __u32 attach_flags;
1: + };
1: + struct {
1: + __u32 prog_fd;
1: + __u32 retval;
1: + __u32 data_size_in;
1: + __u32 data_size_out;
1: + __u64 data_in;
1: + __u64 data_out;
1: + __u32 repeat;
1: + __u32 duration;
1: + __u32 ctx_size_in;
1: + __u32 ctx_size_out;
1: + __u64 ctx_in;
1: + __u64 ctx_out;
1: + } test;
1: + struct {
1: + union {
1: + __u32 start_id;
1: + __u32 prog_id;
1: + __u32 map_id;
1: + __u32 btf_id;
1: + };
1: + __u32 next_id;
1: + __u32 open_flags;
1: + };
1: + struct {
1: + __u32 bpf_fd;
1: + __u32 info_len;
1: + __u64 info;
1: + } info;
1: + struct {
1: + __u32 target_fd;
1: + __u32 attach_type;
1: + __u32 query_flags;
1: + __u32 attach_flags;
1: + __u64 prog_ids;
1: + __u32 prog_cnt;
1: + } query;
1: + struct {
1: + __u64 name;
1: + __u32 prog_fd;
1: + } raw_tracepoint;
1: + struct {
1: + __u64 btf;
1: + __u64 btf_log_buf;
1: + __u32 btf_size;
1: + __u32 btf_log_size;
1: + __u32 btf_log_level;
1: + };
1: + struct {
1: + __u32 pid;
1: + __u32 fd;
1: + __u32 flags;
1: + __u32 buf_len;
1: + __u64 buf;
1: + __u32 prog_id;
1: + __u32 fd_type;
1: + __u64 probe_offset;
1: + __u64 probe_addr;
1: + } task_fd_query;
1: };
1:
1: struct bpf_func_info {
1: - __u32 insn_off;
1: - __u32 type_id;
1: + __u32 insn_off;
1: + __u32 type_id;
1: };
1:
1: struct bpf_line_info {
1: - __u32 insn_off;
1: - __u32 file_name_off;
1: - __u32 line_off;
1: - __u32 line_col;
1: + __u32 insn_off;
1: + __u32 file_name_off;
1: + __u32 line_off;
1: + __u32 line_col;
1: };
1:
1: struct btf;
1: @@ -10388,85 +10452,87 @@ struct btf_type;
1: struct bpf_prog_aux;
1:
1: struct bpf_map_ops {
1: - int (*map_alloc_check)(union bpf_attr *);
1: - struct bpf_map * (*map_alloc)(union bpf_attr *);
1: - void (*map_release)(struct bpf_map *, struct file *);
1: - void (*map_free)(struct bpf_map *);
1: - int (*map_get_next_key)(struct bpf_map *, void *, void *);
1: - void (*map_release_uref)(struct bpf_map *);
1: - void * (*map_lookup_elem_sys_only)(struct bpf_map *, void *);
1: - void * (*map_lookup_elem)(struct bpf_map *, void *);
1: - int (*map_update_elem)(struct bpf_map *, void *, void *, u64);
1: - int (*map_delete_elem)(struct bpf_map *, void *);
1: - int (*map_push_elem)(struct bpf_map *, void *, u64);
1: - int (*map_pop_elem)(struct bpf_map *, void *);
1: - int (*map_peek_elem)(struct bpf_map *, void *);
1: - void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int);
1: - void (*map_fd_put_ptr)(void *);
1: - u32 (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *);
1: - u32 (*map_fd_sys_lookup_elem)(void *);
1: - void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *);
1: - int (*map_check_btf)(const struct bpf_map *, const struct btf *, const struct btf_type *, const struct btf_type *);
1: - int (*map_poke_track)(struct bpf_map *, struct bpf_prog_aux *);
1: - void (*map_poke_untrack)(struct bpf_map *, struct bpf_prog_aux *);
1: - void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *);
1: - int (*map_direct_value_addr)(const struct bpf_map *, u64 *, u32);
1: - int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *);
1: - int (*map_mmap)(struct bpf_map *, struct vm_area_struct *);
1: + int (*map_alloc_check)(union bpf_attr *);
1: + struct bpf_map *(*map_alloc)(union bpf_attr *);
1: + void (*map_release)(struct bpf_map *, struct file *);
1: + void (*map_free)(struct bpf_map *);
1: + int (*map_get_next_key)(struct bpf_map *, void *, void *);
1: + void (*map_release_uref)(struct bpf_map *);
1: + void *(*map_lookup_elem_sys_only)(struct bpf_map *, void *);
1: + void *(*map_lookup_elem)(struct bpf_map *, void *);
1: + int (*map_update_elem)(struct bpf_map *, void *, void *, u64);
1: + int (*map_delete_elem)(struct bpf_map *, void *);
1: + int (*map_push_elem)(struct bpf_map *, void *, u64);
1: + int (*map_pop_elem)(struct bpf_map *, void *);
1: + int (*map_peek_elem)(struct bpf_map *, void *);
1: + void *(*map_fd_get_ptr)(struct bpf_map *, struct file *, int);
1: + void (*map_fd_put_ptr)(void *);
1: + u32 (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *);
1: + u32 (*map_fd_sys_lookup_elem)(void *);
1: + void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *);
1: + int (*map_check_btf)(const struct bpf_map *, const struct btf *,
1: + const struct btf_type *, const struct btf_type *);
1: + int (*map_poke_track)(struct bpf_map *, struct bpf_prog_aux *);
1: + void (*map_poke_untrack)(struct bpf_map *, struct bpf_prog_aux *);
1: + void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *,
1: + struct bpf_prog *);
1: + int (*map_direct_value_addr)(const struct bpf_map *, u64 *, u32);
1: + int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *);
1: + int (*map_mmap)(struct bpf_map *, struct vm_area_struct *);
1: };
1:
1: struct bpf_map_memory {
1: - u32 pages;
1: - struct user_struct *user;
1: + u32 pages;
1: + struct user_struct *user;
1: };
1:
1: struct bpf_map {
1: - const struct bpf_map_ops *ops;
1: - struct bpf_map *inner_map_meta;
1: - void *security;
1: - enum bpf_map_type map_type;
1: - u32 key_size;
1: - u32 value_size;
1: - u32 max_entries;
1: - u32 map_flags;
1: - int spin_lock_off;
1: - u32 id;
1: - int numa_node;
1: - u32 btf_key_type_id;
1: - u32 btf_value_type_id;
1: - struct btf *btf;
1: - struct bpf_map_memory memory;
1: - char name[16];
1: - bool unpriv_array;
1: - bool frozen;
1: - long: 48;
1: - long: 64;
1: - long: 64;
1: - atomic64_t refcnt;
1: - atomic64_t usercnt;
1: - struct work_struct work;
1: - struct mutex freeze_mutex;
1: - u64 writecnt;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + const struct bpf_map_ops *ops;
1: + struct bpf_map *inner_map_meta;
1: + void *security;
1: + enum bpf_map_type map_type;
1: + u32 key_size;
1: + u32 value_size;
1: + u32 max_entries;
1: + u32 map_flags;
1: + int spin_lock_off;
1: + u32 id;
1: + int numa_node;
1: + u32 btf_key_type_id;
1: + u32 btf_value_type_id;
1: + struct btf *btf;
1: + struct bpf_map_memory memory;
1: + char name[16];
1: + bool unpriv_array;
1: + bool frozen;
1: + long : 48;
1: + long : 64;
1: + long : 64;
1: + atomic64_t refcnt;
1: + atomic64_t usercnt;
1: + struct work_struct work;
1: + struct mutex freeze_mutex;
1: + u64 writecnt;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct btf_type {
1: - __u32 name_off;
1: - __u32 info;
1: - union {
1: - __u32 size;
1: - __u32 type;
1: - };
1: + __u32 name_off;
1: + __u32 info;
1: + union {
1: + __u32 size;
1: + __u32 type;
1: + };
1: };
1:
1: enum bpf_tramp_prog_type {
1: - BPF_TRAMP_FENTRY = 0,
1: - BPF_TRAMP_FEXIT = 1,
1: - BPF_TRAMP_MAX = 2,
1: + BPF_TRAMP_FENTRY = 0,
1: + BPF_TRAMP_FEXIT = 1,
1: + BPF_TRAMP_MAX = 2,
1: };
1:
1: struct bpf_trampoline;
1: @@ -10482,149 +10548,149 @@ struct bpf_func_info_aux;
1: struct bpf_prog_stats;
1:
1: struct bpf_prog_aux {
1: - atomic64_t refcnt;
1: - u32 used_map_cnt;
1: - u32 max_ctx_offset;
1: - u32 max_pkt_offset;
1: - u32 max_tp_access;
1: - u32 stack_depth;
1: - u32 id;
1: - u32 func_cnt;
1: - u32 func_idx;
1: - u32 attach_btf_id;
1: - struct bpf_prog *linked_prog;
1: - bool verifier_zext;
1: - bool offload_requested;
1: - bool attach_btf_trace;
1: - bool func_proto_unreliable;
1: - enum bpf_tramp_prog_type trampoline_prog_type;
1: - struct bpf_trampoline *trampoline;
1: - struct hlist_node tramp_hlist;
1: - const struct btf_type *attach_func_proto;
1: - const char *attach_func_name;
1: - struct bpf_prog **func;
1: - void *jit_data;
1: - struct bpf_jit_poke_descriptor *poke_tab;
1: - u32 size_poke_tab;
1: - struct latch_tree_node ksym_tnode;
1: - struct list_head ksym_lnode;
1: - const struct bpf_prog_ops *ops;
1: - struct bpf_map **used_maps;
1: - struct bpf_prog *prog;
1: - struct user_struct *user;
1: - u64 load_time;
1: - struct bpf_map *cgroup_storage[2];
1: - char name[16];
1: - void *security;
1: - struct bpf_prog_offload *offload;
1: - struct btf *btf;
1: - struct bpf_func_info *func_info;
1: - struct bpf_func_info_aux *func_info_aux;
1: - struct bpf_line_info *linfo;
1: - void **jited_linfo;
1: - u32 func_info_cnt;
1: - u32 nr_linfo;
1: - u32 linfo_idx;
1: - u32 num_exentries;
1: - struct exception_table_entry *extable;
1: - struct bpf_prog_stats *stats;
1: - union {
1: - struct work_struct work;
1: - struct callback_head rcu;
1: - };
1: + atomic64_t refcnt;
1: + u32 used_map_cnt;
1: + u32 max_ctx_offset;
1: + u32 max_pkt_offset;
1: + u32 max_tp_access;
1: + u32 stack_depth;
1: + u32 id;
1: + u32 func_cnt;
1: + u32 func_idx;
1: + u32 attach_btf_id;
1: + struct bpf_prog *linked_prog;
1: + bool verifier_zext;
1: + bool offload_requested;
1: + bool attach_btf_trace;
1: + bool func_proto_unreliable;
1: + enum bpf_tramp_prog_type trampoline_prog_type;
1: + struct bpf_trampoline *trampoline;
1: + struct hlist_node tramp_hlist;
1: + const struct btf_type *attach_func_proto;
1: + const char *attach_func_name;
1: + struct bpf_prog **func;
1: + void *jit_data;
1: + struct bpf_jit_poke_descriptor *poke_tab;
1: + u32 size_poke_tab;
1: + struct latch_tree_node ksym_tnode;
1: + struct list_head ksym_lnode;
1: + const struct bpf_prog_ops *ops;
1: + struct bpf_map **used_maps;
1: + struct bpf_prog *prog;
1: + struct user_struct *user;
1: + u64 load_time;
1: + struct bpf_map *cgroup_storage[2];
1: + char name[16];
1: + void *security;
1: + struct bpf_prog_offload *offload;
1: + struct btf *btf;
1: + struct bpf_func_info *func_info;
1: + struct bpf_func_info_aux *func_info_aux;
1: + struct bpf_line_info *linfo;
1: + void **jited_linfo;
1: + u32 func_info_cnt;
1: + u32 nr_linfo;
1: + u32 linfo_idx;
1: + u32 num_exentries;
1: + struct exception_table_entry *extable;
1: + struct bpf_prog_stats *stats;
1: + union {
1: + struct work_struct work;
1: + struct callback_head rcu;
1: + };
1: };
1:
1: struct sock_filter {
1: - __u16 code;
1: - __u8 jt;
1: - __u8 jf;
1: - __u32 k;
1: + __u16 code;
1: + __u8 jt;
1: + __u8 jf;
1: + __u32 k;
1: };
1:
1: struct sock_fprog_kern;
1:
1: struct bpf_prog {
1: - u16 pages;
1: - u16 jited: 1;
1: - u16 jit_requested: 1;
1: - u16 gpl_compatible: 1;
1: - u16 cb_access: 1;
1: - u16 dst_needed: 1;
1: - u16 blinded: 1;
1: - u16 is_func: 1;
1: - u16 kprobe_override: 1;
1: - u16 has_callchain_buf: 1;
1: - u16 enforce_expected_attach_type: 1;
1: - enum bpf_prog_type type;
1: - enum bpf_attach_type expected_attach_type;
1: - u32 len;
1: - u32 jited_len;
1: - u8 tag[8];
1: - struct bpf_prog_aux *aux;
1: - struct sock_fprog_kern *orig_prog;
1: - unsigned int (*bpf_func)(const void *, const struct bpf_insn *);
1: - union {
1: - struct sock_filter insns[0];
1: - struct bpf_insn insnsi[0];
1: - };
1: + u16 pages;
1: + u16 jited : 1;
1: + u16 jit_requested : 1;
1: + u16 gpl_compatible : 1;
1: + u16 cb_access : 1;
1: + u16 dst_needed : 1;
1: + u16 blinded : 1;
1: + u16 is_func : 1;
1: + u16 kprobe_override : 1;
1: + u16 has_callchain_buf : 1;
1: + u16 enforce_expected_attach_type : 1;
1: + enum bpf_prog_type type;
1: + enum bpf_attach_type expected_attach_type;
1: + u32 len;
1: + u32 jited_len;
1: + u8 tag[8];
1: + struct bpf_prog_aux *aux;
1: + struct sock_fprog_kern *orig_prog;
1: + unsigned int (*bpf_func)(const void *, const struct bpf_insn *);
1: + union {
1: + struct sock_filter insns[0];
1: + struct bpf_insn insnsi[0];
1: + };
1: };
1:
1: struct bpf_offloaded_map;
1:
1: struct bpf_map_dev_ops {
1: - int (*map_get_next_key)(struct bpf_offloaded_map *, void *, void *);
1: - int (*map_lookup_elem)(struct bpf_offloaded_map *, void *, void *);
1: - int (*map_update_elem)(struct bpf_offloaded_map *, void *, void *, u64);
1: - int (*map_delete_elem)(struct bpf_offloaded_map *, void *);
1: + int (*map_get_next_key)(struct bpf_offloaded_map *, void *, void *);
1: + int (*map_lookup_elem)(struct bpf_offloaded_map *, void *, void *);
1: + int (*map_update_elem)(struct bpf_offloaded_map *, void *, void *, u64);
1: + int (*map_delete_elem)(struct bpf_offloaded_map *, void *);
1: };
1:
1: struct bpf_offloaded_map {
1: - struct bpf_map map;
1: - struct net_device *netdev;
1: - const struct bpf_map_dev_ops *dev_ops;
1: - void *dev_priv;
1: - struct list_head offloads;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct bpf_map map;
1: + struct net_device *netdev;
1: + const struct bpf_map_dev_ops *dev_ops;
1: + void *dev_priv;
1: + struct list_head offloads;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct net_device_stats {
1: - long unsigned int rx_packets;
1: - long unsigned int tx_packets;
1: - long unsigned int rx_bytes;
1: - long unsigned int tx_bytes;
1: - long unsigned int rx_errors;
1: - long unsigned int tx_errors;
1: - long unsigned int rx_dropped;
1: - long unsigned int tx_dropped;
1: - long unsigned int multicast;
1: - long unsigned int collisions;
1: - long unsigned int rx_length_errors;
1: - long unsigned int rx_over_errors;
1: - long unsigned int rx_crc_errors;
1: - long unsigned int rx_frame_errors;
1: - long unsigned int rx_fifo_errors;
1: - long unsigned int rx_missed_errors;
1: - long unsigned int tx_aborted_errors;
1: - long unsigned int tx_carrier_errors;
1: - long unsigned int tx_fifo_errors;
1: - long unsigned int tx_heartbeat_errors;
1: - long unsigned int tx_window_errors;
1: - long unsigned int rx_compressed;
1: - long unsigned int tx_compressed;
1: + long unsigned int rx_packets;
1: + long unsigned int tx_packets;
1: + long unsigned int rx_bytes;
1: + long unsigned int tx_bytes;
1: + long unsigned int rx_errors;
1: + long unsigned int tx_errors;
1: + long unsigned int rx_dropped;
1: + long unsigned int tx_dropped;
1: + long unsigned int multicast;
1: + long unsigned int collisions;
1: + long unsigned int rx_length_errors;
1: + long unsigned int rx_over_errors;
1: + long unsigned int rx_crc_errors;
1: + long unsigned int rx_frame_errors;
1: + long unsigned int rx_fifo_errors;
1: + long unsigned int rx_missed_errors;
1: + long unsigned int tx_aborted_errors;
1: + long unsigned int tx_carrier_errors;
1: + long unsigned int tx_fifo_errors;
1: + long unsigned int tx_heartbeat_errors;
1: + long unsigned int tx_window_errors;
1: + long unsigned int rx_compressed;
1: + long unsigned int tx_compressed;
1: };
1:
1: struct netdev_hw_addr_list {
1: - struct list_head list;
1: - int count;
1: + struct list_head list;
1: + int count;
1: };
1:
1: enum rx_handler_result {
1: - RX_HANDLER_CONSUMED = 0,
1: - RX_HANDLER_ANOTHER = 1,
1: - RX_HANDLER_EXACT = 2,
1: - RX_HANDLER_PASS = 3,
1: + RX_HANDLER_CONSUMED = 0,
1: + RX_HANDLER_ANOTHER = 1,
1: + RX_HANDLER_EXACT = 2,
1: + RX_HANDLER_PASS = 3,
1: };
1:
1: typedef enum rx_handler_result rx_handler_result_t;
1: @@ -10634,8 +10700,8 @@ typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **);
1: struct pcpu_dstats;
1:
1: struct netdev_tc_txq {
1: - u16 count;
1: - u16 offset;
1: + u16 count;
1: + u16 offset;
1: };
1:
1: struct sfp_bus;
1: @@ -10683,217 +10749,217 @@ struct rtnl_link_ops;
1: struct phy_device;
1:
1: struct net_device {
1: - char name[16];
1: - struct netdev_name_node *name_node;
1: - struct dev_ifalias *ifalias;
1: - long unsigned int mem_end;
1: - long unsigned int mem_start;
1: - long unsigned int base_addr;
1: - int irq;
1: - long unsigned int state;
1: - struct list_head dev_list;
1: - struct list_head napi_list;
1: - struct list_head unreg_list;
1: - struct list_head close_list;
1: - struct list_head ptype_all;
1: - struct list_head ptype_specific;
1: - struct {
1: - struct list_head upper;
1: - struct list_head lower;
1: - } adj_list;
1: - netdev_features_t features;
1: - netdev_features_t hw_features;
1: - netdev_features_t wanted_features;
1: - netdev_features_t vlan_features;
1: - netdev_features_t hw_enc_features;
1: - netdev_features_t mpls_features;
1: - netdev_features_t gso_partial_features;
1: - int ifindex;
1: - int group;
1: - struct net_device_stats stats;
1: - atomic_long_t rx_dropped;
1: - atomic_long_t tx_dropped;
1: - atomic_long_t rx_nohandler;
1: - atomic_t carrier_up_count;
1: - atomic_t carrier_down_count;
1: - const struct net_device_ops *netdev_ops;
1: - const struct ethtool_ops *ethtool_ops;
1: - const struct ndisc_ops *ndisc_ops;
1: - const struct header_ops *header_ops;
1: - unsigned int flags;
1: - unsigned int priv_flags;
1: - short unsigned int gflags;
1: - short unsigned int padded;
1: - unsigned char operstate;
1: - unsigned char link_mode;
1: - unsigned char if_port;
1: - unsigned char dma;
1: - unsigned int mtu;
1: - unsigned int min_mtu;
1: - unsigned int max_mtu;
1: - short unsigned int type;
1: - short unsigned int hard_header_len;
1: - unsigned char min_header_len;
1: - short unsigned int needed_headroom;
1: - short unsigned int needed_tailroom;
1: - unsigned char perm_addr[32];
1: - unsigned char addr_assign_type;
1: - unsigned char addr_len;
1: - unsigned char upper_level;
1: - unsigned char lower_level;
1: - short unsigned int neigh_priv_len;
1: - short unsigned int dev_id;
1: - short unsigned int dev_port;
1: - spinlock_t addr_list_lock;
1: - unsigned char name_assign_type;
1: - bool uc_promisc;
1: - struct netdev_hw_addr_list uc;
1: - struct netdev_hw_addr_list mc;
1: - struct netdev_hw_addr_list dev_addrs;
1: - struct kset *queues_kset;
1: - unsigned int promiscuity;
1: - unsigned int allmulti;
1: - struct in_device *ip_ptr;
1: - struct inet6_dev *ip6_ptr;
1: - struct wireless_dev *ieee80211_ptr;
1: - struct wpan_dev *ieee802154_ptr;
1: - unsigned char *dev_addr;
1: - struct netdev_rx_queue *_rx;
1: - unsigned int num_rx_queues;
1: - unsigned int real_num_rx_queues;
1: - struct bpf_prog *xdp_prog;
1: - long unsigned int gro_flush_timeout;
1: - rx_handler_func_t *rx_handler;
1: - void *rx_handler_data;
1: - struct mini_Qdisc *miniq_ingress;
1: - struct netdev_queue *ingress_queue;
1: - struct nf_hook_entries *nf_hooks_ingress;
1: - unsigned char broadcast[32];
1: - struct cpu_rmap *rx_cpu_rmap;
1: - struct hlist_node index_hlist;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct netdev_queue *_tx;
1: - unsigned int num_tx_queues;
1: - unsigned int real_num_tx_queues;
1: - struct Qdisc *qdisc;
1: - struct hlist_head qdisc_hash[16];
1: - unsigned int tx_queue_len;
1: - spinlock_t tx_global_lock;
1: - int watchdog_timeo;
1: - struct xps_dev_maps *xps_cpus_map;
1: - struct xps_dev_maps *xps_rxqs_map;
1: - struct mini_Qdisc *miniq_egress;
1: - struct timer_list watchdog_timer;
1: - int *pcpu_refcnt;
1: - struct list_head todo_list;
1: - struct list_head link_watch_list;
1: - enum {
1: - NETREG_UNINITIALIZED = 0,
1: - NETREG_REGISTERED = 1,
1: - NETREG_UNREGISTERING = 2,
1: - NETREG_UNREGISTERED = 3,
1: - NETREG_RELEASED = 4,
1: - NETREG_DUMMY = 5,
1: - } reg_state: 8;
1: - bool dismantle;
1: - enum {
1: - RTNL_LINK_INITIALIZED = 0,
1: - RTNL_LINK_INITIALIZING = 1,
1: - } rtnl_link_state: 16;
1: - bool needs_free_netdev;
1: - void (*priv_destructor)(struct net_device *);
1: - struct netpoll_info *npinfo;
1: - possible_net_t nd_net;
1: - union {
1: - void *ml_priv;
1: - struct pcpu_lstats *lstats;
1: - struct pcpu_sw_netstats *tstats;
1: - struct pcpu_dstats *dstats;
1: - };
1: - struct device dev;
1: - const struct attribute_group *sysfs_groups[4];
1: - const struct attribute_group *sysfs_rx_queue_group;
1: - const struct rtnl_link_ops *rtnl_link_ops;
1: - unsigned int gso_max_size;
1: - u16 gso_max_segs;
1: - s16 num_tc;
1: - struct netdev_tc_txq tc_to_txq[16];
1: - u8 prio_tc_map[16];
1: - struct phy_device *phydev;
1: - struct sfp_bus *sfp_bus;
1: - struct lock_class_key qdisc_tx_busylock_key;
1: - struct lock_class_key qdisc_running_key;
1: - struct lock_class_key qdisc_xmit_lock_key;
1: - struct lock_class_key addr_list_lock_key;
1: - bool proto_down;
1: - unsigned int wol_enabled: 1;
1: + char name[16];
1: + struct netdev_name_node *name_node;
1: + struct dev_ifalias *ifalias;
1: + long unsigned int mem_end;
1: + long unsigned int mem_start;
1: + long unsigned int base_addr;
1: + int irq;
1: + long unsigned int state;
1: + struct list_head dev_list;
1: + struct list_head napi_list;
1: + struct list_head unreg_list;
1: + struct list_head close_list;
1: + struct list_head ptype_all;
1: + struct list_head ptype_specific;
1: + struct {
1: + struct list_head upper;
1: + struct list_head lower;
1: + } adj_list;
1: + netdev_features_t features;
1: + netdev_features_t hw_features;
1: + netdev_features_t wanted_features;
1: + netdev_features_t vlan_features;
1: + netdev_features_t hw_enc_features;
1: + netdev_features_t mpls_features;
1: + netdev_features_t gso_partial_features;
1: + int ifindex;
1: + int group;
1: + struct net_device_stats stats;
1: + atomic_long_t rx_dropped;
1: + atomic_long_t tx_dropped;
1: + atomic_long_t rx_nohandler;
1: + atomic_t carrier_up_count;
1: + atomic_t carrier_down_count;
1: + const struct net_device_ops *netdev_ops;
1: + const struct ethtool_ops *ethtool_ops;
1: + const struct ndisc_ops *ndisc_ops;
1: + const struct header_ops *header_ops;
1: + unsigned int flags;
1: + unsigned int priv_flags;
1: + short unsigned int gflags;
1: + short unsigned int padded;
1: + unsigned char operstate;
1: + unsigned char link_mode;
1: + unsigned char if_port;
1: + unsigned char dma;
1: + unsigned int mtu;
1: + unsigned int min_mtu;
1: + unsigned int max_mtu;
1: + short unsigned int type;
1: + short unsigned int hard_header_len;
1: + unsigned char min_header_len;
1: + short unsigned int needed_headroom;
1: + short unsigned int needed_tailroom;
1: + unsigned char perm_addr[32];
1: + unsigned char addr_assign_type;
1: + unsigned char addr_len;
1: + unsigned char upper_level;
1: + unsigned char lower_level;
1: + short unsigned int neigh_priv_len;
1: + short unsigned int dev_id;
1: + short unsigned int dev_port;
1: + spinlock_t addr_list_lock;
1: + unsigned char name_assign_type;
1: + bool uc_promisc;
1: + struct netdev_hw_addr_list uc;
1: + struct netdev_hw_addr_list mc;
1: + struct netdev_hw_addr_list dev_addrs;
1: + struct kset *queues_kset;
1: + unsigned int promiscuity;
1: + unsigned int allmulti;
1: + struct in_device *ip_ptr;
1: + struct inet6_dev *ip6_ptr;
1: + struct wireless_dev *ieee80211_ptr;
1: + struct wpan_dev *ieee802154_ptr;
1: + unsigned char *dev_addr;
1: + struct netdev_rx_queue *_rx;
1: + unsigned int num_rx_queues;
1: + unsigned int real_num_rx_queues;
1: + struct bpf_prog *xdp_prog;
1: + long unsigned int gro_flush_timeout;
1: + rx_handler_func_t *rx_handler;
1: + void *rx_handler_data;
1: + struct mini_Qdisc *miniq_ingress;
1: + struct netdev_queue *ingress_queue;
1: + struct nf_hook_entries *nf_hooks_ingress;
1: + unsigned char broadcast[32];
1: + struct cpu_rmap *rx_cpu_rmap;
1: + struct hlist_node index_hlist;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct netdev_queue *_tx;
1: + unsigned int num_tx_queues;
1: + unsigned int real_num_tx_queues;
1: + struct Qdisc *qdisc;
1: + struct hlist_head qdisc_hash[16];
1: + unsigned int tx_queue_len;
1: + spinlock_t tx_global_lock;
1: + int watchdog_timeo;
1: + struct xps_dev_maps *xps_cpus_map;
1: + struct xps_dev_maps *xps_rxqs_map;
1: + struct mini_Qdisc *miniq_egress;
1: + struct timer_list watchdog_timer;
1: + int *pcpu_refcnt;
1: + struct list_head todo_list;
1: + struct list_head link_watch_list;
1: + enum {
1: + NETREG_UNINITIALIZED = 0,
1: + NETREG_REGISTERED = 1,
1: + NETREG_UNREGISTERING = 2,
1: + NETREG_UNREGISTERED = 3,
1: + NETREG_RELEASED = 4,
1: + NETREG_DUMMY = 5,
1: + } reg_state : 8;
1: + bool dismantle;
1: + enum {
1: + RTNL_LINK_INITIALIZED = 0,
1: + RTNL_LINK_INITIALIZING = 1,
1: + } rtnl_link_state : 16;
1: + bool needs_free_netdev;
1: + void (*priv_destructor)(struct net_device *);
1: + struct netpoll_info *npinfo;
1: + possible_net_t nd_net;
1: + union {
1: + void *ml_priv;
1: + struct pcpu_lstats *lstats;
1: + struct pcpu_sw_netstats *tstats;
1: + struct pcpu_dstats *dstats;
1: + };
1: + struct device dev;
1: + const struct attribute_group *sysfs_groups[4];
1: + const struct attribute_group *sysfs_rx_queue_group;
1: + const struct rtnl_link_ops *rtnl_link_ops;
1: + unsigned int gso_max_size;
1: + u16 gso_max_segs;
1: + s16 num_tc;
1: + struct netdev_tc_txq tc_to_txq[16];
1: + u8 prio_tc_map[16];
1: + struct phy_device *phydev;
1: + struct sfp_bus *sfp_bus;
1: + struct lock_class_key qdisc_tx_busylock_key;
1: + struct lock_class_key qdisc_running_key;
1: + struct lock_class_key qdisc_xmit_lock_key;
1: + struct lock_class_key addr_list_lock_key;
1: + bool proto_down;
1: + unsigned int wol_enabled : 1;
1: };
1:
1: struct bpf_prog_ops {
1: - int (*test_run)(struct bpf_prog *, const union bpf_attr *, union bpf_attr *);
1: + int (*test_run)(struct bpf_prog *, const union bpf_attr *, union bpf_attr *);
1: };
1:
1: struct bpf_offload_dev;
1:
1: struct bpf_prog_offload {
1: - struct bpf_prog *prog;
1: - struct net_device *netdev;
1: - struct bpf_offload_dev *offdev;
1: - void *dev_priv;
1: - struct list_head offloads;
1: - bool dev_state;
1: - bool opt_failed;
1: - void *jited_image;
1: - u32 jited_len;
1: + struct bpf_prog *prog;
1: + struct net_device *netdev;
1: + struct bpf_offload_dev *offdev;
1: + void *dev_priv;
1: + struct list_head offloads;
1: + bool dev_state;
1: + bool opt_failed;
1: + void *jited_image;
1: + u32 jited_len;
1: };
1:
1: struct bpf_prog_stats {
1: - u64 cnt;
1: - u64 nsecs;
1: - struct u64_stats_sync syncp;
1: + u64 cnt;
1: + u64 nsecs;
1: + struct u64_stats_sync syncp;
1: };
1:
1: struct btf_func_model {
1: - u8 ret_size;
1: - u8 nr_args;
1: - u8 arg_size[12];
1: + u8 ret_size;
1: + u8 nr_args;
1: + u8 arg_size[12];
1: };
1:
1: struct bpf_trampoline {
1: - struct hlist_node hlist;
1: - struct mutex mutex;
1: - refcount_t refcnt;
1: - u64 key;
1: - struct {
1: - struct btf_func_model model;
1: - void *addr;
1: - bool ftrace_managed;
1: - } func;
1: - struct hlist_head progs_hlist[2];
1: - int progs_cnt[2];
1: - void *image;
1: - u64 selector;
1: + struct hlist_node hlist;
1: + struct mutex mutex;
1: + refcount_t refcnt;
1: + u64 key;
1: + struct {
1: + struct btf_func_model model;
1: + void *addr;
1: + bool ftrace_managed;
1: + } func;
1: + struct hlist_head progs_hlist[2];
1: + int progs_cnt[2];
1: + void *image;
1: + u64 selector;
1: };
1:
1: struct bpf_func_info_aux {
1: - bool unreliable;
1: + bool unreliable;
1: };
1:
1: struct bpf_jit_poke_descriptor {
1: - void *ip;
1: - union {
1: - struct {
1: - struct bpf_map *map;
1: - u32 key;
1: - } tail_call;
1: - };
1: - bool ip_stable;
1: - u8 adj_off;
1: - u16 reason;
1: + void *ip;
1: + union {
1: + struct {
1: + struct bpf_map *map;
1: + u32 key;
1: + } tail_call;
1: + };
1: + bool ip_stable;
1: + u8 adj_off;
1: + u16 reason;
1: };
1:
1: typedef unsigned int sk_buff_data_t;
1: @@ -10901,376 +10967,376 @@ typedef unsigned int sk_buff_data_t;
1: struct skb_ext;
1:
1: struct sk_buff {
1: - union {
1: - struct {
1: - struct sk_buff *next;
1: - struct sk_buff *prev;
1: - union {
1: - struct net_device *dev;
1: - long unsigned int dev_scratch;
1: - };
1: - };
1: - struct rb_node rbnode;
1: - struct list_head list;
1: - };
1: - union {
1: - struct sock *sk;
1: - int ip_defrag_offset;
1: - };
1: - union {
1: - ktime_t tstamp;
1: - u64 skb_mstamp_ns;
1: - };
1: - char cb[48];
1: - union {
1: - struct {
1: - long unsigned int _skb_refdst;
1: - void (*destructor)(struct sk_buff *);
1: - };
1: - struct list_head tcp_tsorted_anchor;
1: - };
1: - long unsigned int _nfct;
1: - unsigned int len;
1: - unsigned int data_len;
1: - __u16 mac_len;
1: - __u16 hdr_len;
1: - __u16 queue_mapping;
1: - __u8 __cloned_offset[0];
1: - __u8 cloned: 1;
1: - __u8 nohdr: 1;
1: - __u8 fclone: 2;
1: - __u8 peeked: 1;
1: - __u8 head_frag: 1;
1: - __u8 pfmemalloc: 1;
1: - __u8 active_extensions;
1: - __u32 headers_start[0];
1: - __u8 __pkt_type_offset[0];
1: - __u8 pkt_type: 3;
1: - __u8 ignore_df: 1;
1: - __u8 nf_trace: 1;
1: - __u8 ip_summed: 2;
1: - __u8 ooo_okay: 1;
1: - __u8 l4_hash: 1;
1: - __u8 sw_hash: 1;
1: - __u8 wifi_acked_valid: 1;
1: - __u8 wifi_acked: 1;
1: - __u8 no_fcs: 1;
1: - __u8 encapsulation: 1;
1: - __u8 encap_hdr_csum: 1;
1: - __u8 csum_valid: 1;
1: - __u8 __pkt_vlan_present_offset[0];
1: - __u8 vlan_present: 1;
1: - __u8 csum_complete_sw: 1;
1: - __u8 csum_level: 2;
1: - __u8 csum_not_inet: 1;
1: - __u8 dst_pending_confirm: 1;
1: - __u8 ndisc_nodetype: 2;
1: - __u8 ipvs_property: 1;
1: - __u8 inner_protocol_type: 1;
1: - __u8 remcsum_offload: 1;
1: - __u8 tc_skip_classify: 1;
1: - __u8 tc_at_ingress: 1;
1: - __u8 tc_redirected: 1;
1: - __u8 tc_from_ingress: 1;
1: - __u16 tc_index;
1: - union {
1: - __wsum csum;
1: - struct {
1: - __u16 csum_start;
1: - __u16 csum_offset;
1: - };
1: - };
1: - __u32 priority;
1: - int skb_iif;
1: - __u32 hash;
1: - __be16 vlan_proto;
1: - __u16 vlan_tci;
1: - union {
1: - unsigned int napi_id;
1: - unsigned int sender_cpu;
1: - };
1: - __u32 secmark;
1: - union {
1: - __u32 mark;
1: - __u32 reserved_tailroom;
1: - };
1: - union {
1: - __be16 inner_protocol;
1: - __u8 inner_ipproto;
1: - };
1: - __u16 inner_transport_header;
1: - __u16 inner_network_header;
1: - __u16 inner_mac_header;
1: - __be16 protocol;
1: - __u16 transport_header;
1: - __u16 network_header;
1: - __u16 mac_header;
1: - __u32 headers_end[0];
1: - sk_buff_data_t tail;
1: - sk_buff_data_t end;
1: - unsigned char *head;
1: - unsigned char *data;
1: - unsigned int truesize;
1: - refcount_t users;
1: - struct skb_ext *extensions;
1: + union {
1: + struct {
1: + struct sk_buff *next;
1: + struct sk_buff *prev;
1: + union {
1: + struct net_device *dev;
1: + long unsigned int dev_scratch;
1: + };
1: + };
1: + struct rb_node rbnode;
1: + struct list_head list;
1: + };
1: + union {
1: + struct sock *sk;
1: + int ip_defrag_offset;
1: + };
1: + union {
1: + ktime_t tstamp;
1: + u64 skb_mstamp_ns;
1: + };
1: + char cb[48];
1: + union {
1: + struct {
1: + long unsigned int _skb_refdst;
1: + void (*destructor)(struct sk_buff *);
1: + };
1: + struct list_head tcp_tsorted_anchor;
1: + };
1: + long unsigned int _nfct;
1: + unsigned int len;
1: + unsigned int data_len;
1: + __u16 mac_len;
1: + __u16 hdr_len;
1: + __u16 queue_mapping;
1: + __u8 __cloned_offset[0];
1: + __u8 cloned : 1;
1: + __u8 nohdr : 1;
1: + __u8 fclone : 2;
1: + __u8 peeked : 1;
1: + __u8 head_frag : 1;
1: + __u8 pfmemalloc : 1;
1: + __u8 active_extensions;
1: + __u32 headers_start[0];
1: + __u8 __pkt_type_offset[0];
1: + __u8 pkt_type : 3;
1: + __u8 ignore_df : 1;
1: + __u8 nf_trace : 1;
1: + __u8 ip_summed : 2;
1: + __u8 ooo_okay : 1;
1: + __u8 l4_hash : 1;
1: + __u8 sw_hash : 1;
1: + __u8 wifi_acked_valid : 1;
1: + __u8 wifi_acked : 1;
1: + __u8 no_fcs : 1;
1: + __u8 encapsulation : 1;
1: + __u8 encap_hdr_csum : 1;
1: + __u8 csum_valid : 1;
1: + __u8 __pkt_vlan_present_offset[0];
1: + __u8 vlan_present : 1;
1: + __u8 csum_complete_sw : 1;
1: + __u8 csum_level : 2;
1: + __u8 csum_not_inet : 1;
1: + __u8 dst_pending_confirm : 1;
1: + __u8 ndisc_nodetype : 2;
1: + __u8 ipvs_property : 1;
1: + __u8 inner_protocol_type : 1;
1: + __u8 remcsum_offload : 1;
1: + __u8 tc_skip_classify : 1;
1: + __u8 tc_at_ingress : 1;
1: + __u8 tc_redirected : 1;
1: + __u8 tc_from_ingress : 1;
1: + __u16 tc_index;
1: + union {
1: + __wsum csum;
1: + struct {
1: + __u16 csum_start;
1: + __u16 csum_offset;
1: + };
1: + };
1: + __u32 priority;
1: + int skb_iif;
1: + __u32 hash;
1: + __be16 vlan_proto;
1: + __u16 vlan_tci;
1: + union {
1: + unsigned int napi_id;
1: + unsigned int sender_cpu;
1: + };
1: + __u32 secmark;
1: + union {
1: + __u32 mark;
1: + __u32 reserved_tailroom;
1: + };
1: + union {
1: + __be16 inner_protocol;
1: + __u8 inner_ipproto;
1: + };
1: + __u16 inner_transport_header;
1: + __u16 inner_network_header;
1: + __u16 inner_mac_header;
1: + __be16 protocol;
1: + __u16 transport_header;
1: + __u16 network_header;
1: + __u16 mac_header;
1: + __u32 headers_end[0];
1: + sk_buff_data_t tail;
1: + sk_buff_data_t end;
1: + unsigned char *head;
1: + unsigned char *data;
1: + unsigned int truesize;
1: + refcount_t users;
1: + struct skb_ext *extensions;
1: };
1:
1: struct sg_table {
1: - struct scatterlist *sgl;
1: - unsigned int nents;
1: - unsigned int orig_nents;
1: + struct scatterlist *sgl;
1: + unsigned int nents;
1: + unsigned int orig_nents;
1: };
1:
1: enum suspend_stat_step {
1: - SUSPEND_FREEZE = 1,
1: - SUSPEND_PREPARE = 2,
1: - SUSPEND_SUSPEND = 3,
1: - SUSPEND_SUSPEND_LATE = 4,
1: - SUSPEND_SUSPEND_NOIRQ = 5,
1: - SUSPEND_RESUME_NOIRQ = 6,
1: - SUSPEND_RESUME_EARLY = 7,
1: - SUSPEND_RESUME = 8,
1: + SUSPEND_FREEZE = 1,
1: + SUSPEND_PREPARE = 2,
1: + SUSPEND_SUSPEND = 3,
1: + SUSPEND_SUSPEND_LATE = 4,
1: + SUSPEND_SUSPEND_NOIRQ = 5,
1: + SUSPEND_RESUME_NOIRQ = 6,
1: + SUSPEND_RESUME_EARLY = 7,
1: + SUSPEND_RESUME = 8,
1: };
1:
1: struct suspend_stats {
1: - int success;
1: - int fail;
1: - int failed_freeze;
1: - int failed_prepare;
1: - int failed_suspend;
1: - int failed_suspend_late;
1: - int failed_suspend_noirq;
1: - int failed_resume;
1: - int failed_resume_early;
1: - int failed_resume_noirq;
1: - int last_failed_dev;
1: - char failed_devs[80];
1: - int last_failed_errno;
1: - int errno[2];
1: - int last_failed_step;
1: - enum suspend_stat_step failed_steps[2];
1: + int success;
1: + int fail;
1: + int failed_freeze;
1: + int failed_prepare;
1: + int failed_suspend;
1: + int failed_suspend_late;
1: + int failed_suspend_noirq;
1: + int failed_resume;
1: + int failed_resume_early;
1: + int failed_resume_noirq;
1: + int last_failed_dev;
1: + char failed_devs[80];
1: + int last_failed_errno;
1: + int errno[2];
1: + int last_failed_step;
1: + enum suspend_stat_step failed_steps[2];
1: };
1:
1: enum s2idle_states {
1: - S2IDLE_STATE_NONE = 0,
1: - S2IDLE_STATE_ENTER = 1,
1: - S2IDLE_STATE_WAKE = 2,
1: + S2IDLE_STATE_NONE = 0,
1: + S2IDLE_STATE_ENTER = 1,
1: + S2IDLE_STATE_WAKE = 2,
1: };
1:
1: enum {
1: - Root_NFS = 255,
1: - Root_CIFS = 254,
1: - Root_RAM0 = 1048576,
1: - Root_RAM1 = 1048577,
1: - Root_FD0 = 2097152,
1: - Root_HDA1 = 3145729,
1: - Root_HDA2 = 3145730,
1: - Root_SDA1 = 8388609,
1: - Root_SDA2 = 8388610,
1: - Root_HDC1 = 23068673,
1: - Root_SR0 = 11534336,
1: + Root_NFS = 255,
1: + Root_CIFS = 254,
1: + Root_RAM0 = 1048576,
1: + Root_RAM1 = 1048577,
1: + Root_FD0 = 2097152,
1: + Root_HDA1 = 3145729,
1: + Root_HDA2 = 3145730,
1: + Root_SDA1 = 8388609,
1: + Root_SDA2 = 8388610,
1: + Root_HDC1 = 23068673,
1: + Root_SR0 = 11534336,
1: };
1:
1: struct ethhdr {
1: - unsigned char h_dest[6];
1: - unsigned char h_source[6];
1: - __be16 h_proto;
1: + unsigned char h_dest[6];
1: + unsigned char h_source[6];
1: + __be16 h_proto;
1: };
1:
1: struct flow_dissector {
1: - unsigned int used_keys;
1: - short unsigned int offset[27];
1: + unsigned int used_keys;
1: + short unsigned int offset[27];
1: };
1:
1: struct flowi_tunnel {
1: - __be64 tun_id;
1: + __be64 tun_id;
1: };
1:
1: struct flowi_common {
1: - int flowic_oif;
1: - int flowic_iif;
1: - __u32 flowic_mark;
1: - __u8 flowic_tos;
1: - __u8 flowic_scope;
1: - __u8 flowic_proto;
1: - __u8 flowic_flags;
1: - __u32 flowic_secid;
1: - kuid_t flowic_uid;
1: - struct flowi_tunnel flowic_tun_key;
1: - __u32 flowic_multipath_hash;
1: + int flowic_oif;
1: + int flowic_iif;
1: + __u32 flowic_mark;
1: + __u8 flowic_tos;
1: + __u8 flowic_scope;
1: + __u8 flowic_proto;
1: + __u8 flowic_flags;
1: + __u32 flowic_secid;
1: + kuid_t flowic_uid;
1: + struct flowi_tunnel flowic_tun_key;
1: + __u32 flowic_multipath_hash;
1: };
1:
1: union flowi_uli {
1: - struct {
1: - __be16 dport;
1: - __be16 sport;
1: - } ports;
1: - struct {
1: - __u8 type;
1: - __u8 code;
1: - } icmpt;
1: - struct {
1: - __le16 dport;
1: - __le16 sport;
1: - } dnports;
1: - __be32 spi;
1: - __be32 gre_key;
1: - struct {
1: - __u8 type;
1: - } mht;
1: + struct {
1: + __be16 dport;
1: + __be16 sport;
1: + } ports;
1: + struct {
1: + __u8 type;
1: + __u8 code;
1: + } icmpt;
1: + struct {
1: + __le16 dport;
1: + __le16 sport;
1: + } dnports;
1: + __be32 spi;
1: + __be32 gre_key;
1: + struct {
1: + __u8 type;
1: + } mht;
1: };
1:
1: struct flowi4 {
1: - struct flowi_common __fl_common;
1: - __be32 saddr;
1: - __be32 daddr;
1: - union flowi_uli uli;
1: + struct flowi_common __fl_common;
1: + __be32 saddr;
1: + __be32 daddr;
1: + union flowi_uli uli;
1: };
1:
1: struct flowi6 {
1: - struct flowi_common __fl_common;
1: - struct in6_addr daddr;
1: - struct in6_addr saddr;
1: - __be32 flowlabel;
1: - union flowi_uli uli;
1: - __u32 mp_hash;
1: + struct flowi_common __fl_common;
1: + struct in6_addr daddr;
1: + struct in6_addr saddr;
1: + __be32 flowlabel;
1: + union flowi_uli uli;
1: + __u32 mp_hash;
1: };
1:
1: struct flowidn {
1: - struct flowi_common __fl_common;
1: - __le16 daddr;
1: - __le16 saddr;
1: - union flowi_uli uli;
1: + struct flowi_common __fl_common;
1: + __le16 daddr;
1: + __le16 saddr;
1: + union flowi_uli uli;
1: };
1:
1: struct flowi {
1: - union {
1: - struct flowi_common __fl_common;
1: - struct flowi4 ip4;
1: - struct flowi6 ip6;
1: - struct flowidn dn;
1: - } u;
1: + union {
1: + struct flowi_common __fl_common;
1: + struct flowi4 ip4;
1: + struct flowi6 ip6;
1: + struct flowidn dn;
1: + } u;
1: };
1:
1: struct ipstats_mib {
1: - u64 mibs[37];
1: - struct u64_stats_sync syncp;
1: + u64 mibs[37];
1: + struct u64_stats_sync syncp;
1: };
1:
1: struct icmp_mib {
1: - long unsigned int mibs[28];
1: + long unsigned int mibs[28];
1: };
1:
1: struct icmpmsg_mib {
1: - atomic_long_t mibs[512];
1: + atomic_long_t mibs[512];
1: };
1:
1: struct icmpv6_mib {
1: - long unsigned int mibs[6];
1: + long unsigned int mibs[6];
1: };
1:
1: struct icmpv6_mib_device {
1: - atomic_long_t mibs[6];
1: + atomic_long_t mibs[6];
1: };
1:
1: struct icmpv6msg_mib {
1: - atomic_long_t mibs[512];
1: + atomic_long_t mibs[512];
1: };
1:
1: struct icmpv6msg_mib_device {
1: - atomic_long_t mibs[512];
1: + atomic_long_t mibs[512];
1: };
1:
1: struct tcp_mib {
1: - long unsigned int mibs[16];
1: + long unsigned int mibs[16];
1: };
1:
1: struct udp_mib {
1: - long unsigned int mibs[9];
1: + long unsigned int mibs[9];
1: };
1:
1: struct linux_mib {
1: - long unsigned int mibs[120];
1: + long unsigned int mibs[120];
1: };
1:
1: struct inet_frags;
1:
1: struct fqdir {
1: - long int high_thresh;
1: - long int low_thresh;
1: - int timeout;
1: - int max_dist;
1: - struct inet_frags *f;
1: - struct net *net;
1: - bool dead;
1: - long: 56;
1: - long: 64;
1: - long: 64;
1: - struct rhashtable rhashtable;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - atomic_long_t mem;
1: - struct work_struct destroy_work;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + long int high_thresh;
1: + long int low_thresh;
1: + int timeout;
1: + int max_dist;
1: + struct inet_frags *f;
1: + struct net *net;
1: + bool dead;
1: + long : 56;
1: + long : 64;
1: + long : 64;
1: + struct rhashtable rhashtable;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + atomic_long_t mem;
1: + struct work_struct destroy_work;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct inet_frag_queue;
1:
1: struct inet_frags {
1: - unsigned int qsize;
1: - void (*constructor)(struct inet_frag_queue *, const void *);
1: - void (*destructor)(struct inet_frag_queue *);
1: - void (*frag_expire)(struct timer_list *);
1: - struct kmem_cache *frags_cachep;
1: - const char *frags_cache_name;
1: - struct rhashtable_params rhash_params;
1: - refcount_t refcnt;
1: - struct completion completion;
1: + unsigned int qsize;
1: + void (*constructor)(struct inet_frag_queue *, const void *);
1: + void (*destructor)(struct inet_frag_queue *);
1: + void (*frag_expire)(struct timer_list *);
1: + struct kmem_cache *frags_cachep;
1: + const char *frags_cache_name;
1: + struct rhashtable_params rhash_params;
1: + refcount_t refcnt;
1: + struct completion completion;
1: };
1:
1: struct frag_v4_compare_key {
1: - __be32 saddr;
1: - __be32 daddr;
1: - u32 user;
1: - u32 vif;
1: - __be16 id;
1: - u16 protocol;
1: + __be32 saddr;
1: + __be32 daddr;
1: + u32 user;
1: + u32 vif;
1: + __be16 id;
1: + u16 protocol;
1: };
1:
1: struct frag_v6_compare_key {
1: - struct in6_addr saddr;
1: - struct in6_addr daddr;
1: - u32 user;
1: - __be32 id;
1: - u32 iif;
1: + struct in6_addr saddr;
1: + struct in6_addr daddr;
1: + u32 user;
1: + __be32 id;
1: + u32 iif;
1: };
1:
1: struct inet_frag_queue {
1: - struct rhash_head node;
1: - union {
1: - struct frag_v4_compare_key v4;
1: - struct frag_v6_compare_key v6;
1: - } key;
1: - struct timer_list timer;
1: - spinlock_t lock;
1: - refcount_t refcnt;
1: - struct rb_root rb_fragments;
1: - struct sk_buff *fragments_tail;
1: - struct sk_buff *last_run_head;
1: - ktime_t stamp;
1: - int len;
1: - int meat;
1: - __u8 flags;
1: - u16 max_size;
1: - struct fqdir *fqdir;
1: - struct callback_head rcu;
1: + struct rhash_head node;
1: + union {
1: + struct frag_v4_compare_key v4;
1: + struct frag_v6_compare_key v6;
1: + } key;
1: + struct timer_list timer;
1: + spinlock_t lock;
1: + refcount_t refcnt;
1: + struct rb_root rb_fragments;
1: + struct sk_buff *fragments_tail;
1: + struct sk_buff *last_run_head;
1: + ktime_t stamp;
1: + int len;
1: + int meat;
1: + __u8 flags;
1: + u16 max_size;
1: + struct fqdir *fqdir;
1: + struct callback_head rcu;
1: };
1:
1: struct fib_rule;
1: @@ -11286,37 +11352,39 @@ struct netlink_ext_ack;
1: struct nla_policy;
1:
1: struct fib_rules_ops {
1: - int family;
1: - struct list_head list;
1: - int rule_size;
1: - int addr_size;
1: - int unresolved_rules;
1: - int nr_goto_rules;
1: - unsigned int fib_rules_seq;
1: - int (*action)(struct fib_rule *, struct flowi *, int, struct fib_lookup_arg *);
1: - bool (*suppress)(struct fib_rule *, struct fib_lookup_arg *);
1: - int (*match)(struct fib_rule *, struct flowi *, int);
1: - int (*configure)(struct fib_rule *, struct sk_buff *, struct fib_rule_hdr *, struct nlattr **, struct netlink_ext_ack *);
1: - int (*delete)(struct fib_rule *);
1: - int (*compare)(struct fib_rule *, struct fib_rule_hdr *, struct nlattr **);
1: - int (*fill)(struct fib_rule *, struct sk_buff *, struct fib_rule_hdr *);
1: - size_t (*nlmsg_payload)(struct fib_rule *);
1: - void (*flush_cache)(struct fib_rules_ops *);
1: - int nlgroup;
1: - const struct nla_policy *policy;
1: - struct list_head rules_list;
1: - struct module *owner;
1: - struct net *fro_net;
1: - struct callback_head rcu;
1: + int family;
1: + struct list_head list;
1: + int rule_size;
1: + int addr_size;
1: + int unresolved_rules;
1: + int nr_goto_rules;
1: + unsigned int fib_rules_seq;
1: + int (*action)(struct fib_rule *, struct flowi *, int,
1: + struct fib_lookup_arg *);
1: + bool (*suppress)(struct fib_rule *, struct fib_lookup_arg *);
1: + int (*match)(struct fib_rule *, struct flowi *, int);
1: + int (*configure)(struct fib_rule *, struct sk_buff *, struct fib_rule_hdr *,
1: + struct nlattr **, struct netlink_ext_ack *);
1: + int (*delete)(struct fib_rule *);
1: + int (*compare)(struct fib_rule *, struct fib_rule_hdr *, struct nlattr **);
1: + int (*fill)(struct fib_rule *, struct sk_buff *, struct fib_rule_hdr *);
1: + size_t (*nlmsg_payload)(struct fib_rule *);
1: + void (*flush_cache)(struct fib_rules_ops *);
1: + int nlgroup;
1: + const struct nla_policy *policy;
1: + struct list_head rules_list;
1: + struct module *owner;
1: + struct net *fro_net;
1: + struct callback_head rcu;
1: };
1:
1: enum tcp_ca_event {
1: - CA_EVENT_TX_START = 0,
1: - CA_EVENT_CWND_RESTART = 1,
1: - CA_EVENT_COMPLETE_CWR = 2,
1: - CA_EVENT_LOSS = 3,
1: - CA_EVENT_ECN_NO_CE = 4,
1: - CA_EVENT_ECN_IS_CE = 5,
1: + CA_EVENT_TX_START = 0,
1: + CA_EVENT_CWND_RESTART = 1,
1: + CA_EVENT_COMPLETE_CWR = 2,
1: + CA_EVENT_LOSS = 3,
1: + CA_EVENT_ECN_NO_CE = 4,
1: + CA_EVENT_ECN_IS_CE = 5,
1: };
1:
1: struct ack_sample;
1: @@ -11326,33 +11394,34 @@ struct rate_sample;
1: union tcp_cc_info;
1:
1: struct tcp_congestion_ops {
1: - struct list_head list;
1: - u32 key;
1: - u32 flags;
1: - void (*init)(struct sock *);
1: - void (*release)(struct sock *);
1: - u32 (*ssthresh)(struct sock *);
1: - void (*cong_avoid)(struct sock *, u32, u32);
1: - void (*set_state)(struct sock *, u8);
1: - void (*cwnd_event)(struct sock *, enum tcp_ca_event);
1: - void (*in_ack_event)(struct sock *, u32);
1: - u32 (*undo_cwnd)(struct sock *);
1: - void (*pkts_acked)(struct sock *, const struct ack_sample *);
1: - u32 (*min_tso_segs)(struct sock *);
1: - u32 (*sndbuf_expand)(struct sock *);
1: - void (*cong_control)(struct sock *, const struct rate_sample *);
1: - size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *);
1: - char name[16];
1: - struct module *owner;
1: + struct list_head list;
1: + u32 key;
1: + u32 flags;
1: + void (*init)(struct sock *);
1: + void (*release)(struct sock *);
1: + u32 (*ssthresh)(struct sock *);
1: + void (*cong_avoid)(struct sock *, u32, u32);
1: + void (*set_state)(struct sock *, u8);
1: + void (*cwnd_event)(struct sock *, enum tcp_ca_event);
1: + void (*in_ack_event)(struct sock *, u32);
1: + u32 (*undo_cwnd)(struct sock *);
1: + void (*pkts_acked)(struct sock *, const struct ack_sample *);
1: + u32 (*min_tso_segs)(struct sock *);
1: + u32 (*sndbuf_expand)(struct sock *);
1: + void (*cong_control)(struct sock *, const struct rate_sample *);
1: + size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *);
1: + char name[16];
1: + struct module *owner;
1: };
1:
1: struct fib_notifier_ops {
1: - int family;
1: - struct list_head list;
1: - unsigned int (*fib_seq_read)(struct net *);
1: - int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *);
1: - struct module *owner;
1: - struct callback_head rcu;
1: + int family;
1: + struct list_head list;
1: + unsigned int (*fib_seq_read)(struct net *);
1: + int (*fib_dump)(struct net *, struct notifier_block *,
1: + struct netlink_ext_ack *);
1: + struct module *owner;
1: + struct callback_head rcu;
1: };
1:
1: struct xfrm_state;
1: @@ -11360,31 +11429,31 @@ struct xfrm_state;
1: struct lwtunnel_state;
1:
1: struct dst_entry {
1: - struct net_device *dev;
1: - struct dst_ops *ops;
1: - long unsigned int _metrics;
1: - long unsigned int expires;
1: - struct xfrm_state *xfrm;
1: - int (*input)(struct sk_buff *);
1: - int (*output)(struct net *, struct sock *, struct sk_buff *);
1: - short unsigned int flags;
1: - short int obsolete;
1: - short unsigned int header_len;
1: - short unsigned int trailer_len;
1: - atomic_t __refcnt;
1: - int __use;
1: - long unsigned int lastuse;
1: - struct lwtunnel_state *lwtstate;
1: - struct callback_head callback_head;
1: - short int error;
1: - short int __pad;
1: - __u32 tclassid;
1: + struct net_device *dev;
1: + struct dst_ops *ops;
1: + long unsigned int _metrics;
1: + long unsigned int expires;
1: + struct xfrm_state *xfrm;
1: + int (*input)(struct sk_buff *);
1: + int (*output)(struct net *, struct sock *, struct sk_buff *);
1: + short unsigned int flags;
1: + short int obsolete;
1: + short unsigned int header_len;
1: + short unsigned int trailer_len;
1: + atomic_t __refcnt;
1: + int __use;
1: + long unsigned int lastuse;
1: + struct lwtunnel_state *lwtstate;
1: + struct callback_head callback_head;
1: + short int error;
1: + short int __pad;
1: + __u32 tclassid;
1: };
1:
1: struct hh_cache {
1: - unsigned int hh_len;
1: - seqlock_t hh_lock;
1: - long unsigned int hh_data[12];
1: + unsigned int hh_len;
1: + seqlock_t hh_lock;
1: + long unsigned int hh_data[12];
1: };
1:
1: struct neigh_table;
1: @@ -11394,842 +11463,857 @@ struct neigh_parms;
1: struct neigh_ops;
1:
1: struct neighbour {
1: - struct neighbour *next;
1: - struct neigh_table *tbl;
1: - struct neigh_parms *parms;
1: - long unsigned int confirmed;
1: - long unsigned int updated;
1: - rwlock_t lock;
1: - refcount_t refcnt;
1: - unsigned int arp_queue_len_bytes;
1: - struct sk_buff_head arp_queue;
1: - struct timer_list timer;
1: - long unsigned int used;
1: - atomic_t probes;
1: - __u8 flags;
1: - __u8 nud_state;
1: - __u8 type;
1: - __u8 dead;
1: - u8 protocol;
1: - seqlock_t ha_lock;
1: - int: 32;
1: - unsigned char ha[32];
1: - struct hh_cache hh;
1: - int (*output)(struct neighbour *, struct sk_buff *);
1: - const struct neigh_ops *ops;
1: - struct list_head gc_list;
1: - struct callback_head rcu;
1: - struct net_device *dev;
1: - u8 primary_key[0];
1: + struct neighbour *next;
1: + struct neigh_table *tbl;
1: + struct neigh_parms *parms;
1: + long unsigned int confirmed;
1: + long unsigned int updated;
1: + rwlock_t lock;
1: + refcount_t refcnt;
1: + unsigned int arp_queue_len_bytes;
1: + struct sk_buff_head arp_queue;
1: + struct timer_list timer;
1: + long unsigned int used;
1: + atomic_t probes;
1: + __u8 flags;
1: + __u8 nud_state;
1: + __u8 type;
1: + __u8 dead;
1: + u8 protocol;
1: + seqlock_t ha_lock;
1: + int : 32;
1: + unsigned char ha[32];
1: + struct hh_cache hh;
1: + int (*output)(struct neighbour *, struct sk_buff *);
1: + const struct neigh_ops *ops;
1: + struct list_head gc_list;
1: + struct callback_head rcu;
1: + struct net_device *dev;
1: + u8 primary_key[0];
1: };
1:
1: struct ipv6_stable_secret {
1: - bool initialized;
1: - struct in6_addr secret;
1: + bool initialized;
1: + struct in6_addr secret;
1: };
1:
1: struct ipv6_devconf {
1: - __s32 forwarding;
1: - __s32 hop_limit;
1: - __s32 mtu6;
1: - __s32 accept_ra;
1: - __s32 accept_redirects;
1: - __s32 autoconf;
1: - __s32 dad_transmits;
1: - __s32 rtr_solicits;
1: - __s32 rtr_solicit_interval;
1: - __s32 rtr_solicit_max_interval;
1: - __s32 rtr_solicit_delay;
1: - __s32 force_mld_version;
1: - __s32 mldv1_unsolicited_report_interval;
1: - __s32 mldv2_unsolicited_report_interval;
1: - __s32 use_tempaddr;
1: - __s32 temp_valid_lft;
1: - __s32 temp_prefered_lft;
1: - __s32 regen_max_retry;
1: - __s32 max_desync_factor;
1: - __s32 max_addresses;
1: - __s32 accept_ra_defrtr;
1: - __s32 accept_ra_min_hop_limit;
1: - __s32 accept_ra_pinfo;
1: - __s32 ignore_routes_with_linkdown;
1: - __s32 proxy_ndp;
1: - __s32 accept_source_route;
1: - __s32 accept_ra_from_local;
1: - __s32 disable_ipv6;
1: - __s32 drop_unicast_in_l2_multicast;
1: - __s32 accept_dad;
1: - __s32 force_tllao;
1: - __s32 ndisc_notify;
1: - __s32 suppress_frag_ndisc;
1: - __s32 accept_ra_mtu;
1: - __s32 drop_unsolicited_na;
1: - struct ipv6_stable_secret stable_secret;
1: - __s32 use_oif_addrs_only;
1: - __s32 keep_addr_on_down;
1: - __s32 seg6_enabled;
1: - __u32 enhanced_dad;
1: - __u32 addr_gen_mode;
1: - __s32 disable_policy;
1: - __s32 ndisc_tclass;
1: - struct ctl_table_header *sysctl_header;
1: + __s32 forwarding;
1: + __s32 hop_limit;
1: + __s32 mtu6;
1: + __s32 accept_ra;
1: + __s32 accept_redirects;
1: + __s32 autoconf;
1: + __s32 dad_transmits;
1: + __s32 rtr_solicits;
1: + __s32 rtr_solicit_interval;
1: + __s32 rtr_solicit_max_interval;
1: + __s32 rtr_solicit_delay;
1: + __s32 force_mld_version;
1: + __s32 mldv1_unsolicited_report_interval;
1: + __s32 mldv2_unsolicited_report_interval;
1: + __s32 use_tempaddr;
1: + __s32 temp_valid_lft;
1: + __s32 temp_prefered_lft;
1: + __s32 regen_max_retry;
1: + __s32 max_desync_factor;
1: + __s32 max_addresses;
1: + __s32 accept_ra_defrtr;
1: + __s32 accept_ra_min_hop_limit;
1: + __s32 accept_ra_pinfo;
1: + __s32 ignore_routes_with_linkdown;
1: + __s32 proxy_ndp;
1: + __s32 accept_source_route;
1: + __s32 accept_ra_from_local;
1: + __s32 disable_ipv6;
1: + __s32 drop_unicast_in_l2_multicast;
1: + __s32 accept_dad;
1: + __s32 force_tllao;
1: + __s32 ndisc_notify;
1: + __s32 suppress_frag_ndisc;
1: + __s32 accept_ra_mtu;
1: + __s32 drop_unsolicited_na;
1: + struct ipv6_stable_secret stable_secret;
1: + __s32 use_oif_addrs_only;
1: + __s32 keep_addr_on_down;
1: + __s32 seg6_enabled;
1: + __u32 enhanced_dad;
1: + __u32 addr_gen_mode;
1: + __s32 disable_policy;
1: + __s32 ndisc_tclass;
1: + struct ctl_table_header *sysctl_header;
1: };
1:
1: struct nf_queue_entry;
1:
1: struct nf_queue_handler {
1: - int (*outfn)(struct nf_queue_entry *, unsigned int);
1: - void (*nf_hook_drop)(struct net *);
1: + int (*outfn)(struct nf_queue_entry *, unsigned int);
1: + void (*nf_hook_drop)(struct net *);
1: };
1:
1: enum nf_log_type {
1: - NF_LOG_TYPE_LOG = 0,
1: - NF_LOG_TYPE_ULOG = 1,
1: - NF_LOG_TYPE_MAX = 2,
1: + NF_LOG_TYPE_LOG = 0,
1: + NF_LOG_TYPE_ULOG = 1,
1: + NF_LOG_TYPE_MAX = 2,
1: };
1:
1: typedef u8 u_int8_t;
1:
1: struct nf_loginfo;
1:
1: -typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *);
1: +typedef void nf_logfn(struct net *, u_int8_t, unsigned int,
1: + const struct sk_buff *, const struct net_device *,
1: + const struct net_device *, const struct nf_loginfo *,
1: + const char *);
1:
1: struct nf_logger {
1: - char *name;
1: - enum nf_log_type type;
1: - nf_logfn *logfn;
1: - struct module *me;
1: + char *name;
1: + enum nf_log_type type;
1: + nf_logfn *logfn;
1: + struct module *me;
1: };
1:
1: struct hlist_nulls_head {
1: - struct hlist_nulls_node *first;
1: + struct hlist_nulls_node *first;
1: };
1:
1: struct ct_pcpu {
1: - spinlock_t lock;
1: - struct hlist_nulls_head unconfirmed;
1: - struct hlist_nulls_head dying;
1: + spinlock_t lock;
1: + struct hlist_nulls_head unconfirmed;
1: + struct hlist_nulls_head dying;
1: };
1:
1: struct ip_conntrack_stat {
1: - unsigned int found;
1: - unsigned int invalid;
1: - unsigned int ignore;
1: - unsigned int insert;
1: - unsigned int insert_failed;
1: - unsigned int drop;
1: - unsigned int early_drop;
1: - unsigned int error;
1: - unsigned int expect_new;
1: - unsigned int expect_create;
1: - unsigned int expect_delete;
1: - unsigned int search_restart;
1: + unsigned int found;
1: + unsigned int invalid;
1: + unsigned int ignore;
1: + unsigned int insert;
1: + unsigned int insert_failed;
1: + unsigned int drop;
1: + unsigned int early_drop;
1: + unsigned int error;
1: + unsigned int expect_new;
1: + unsigned int expect_create;
1: + unsigned int expect_delete;
1: + unsigned int search_restart;
1: };
1:
1: typedef enum {
1: - SS_FREE = 0,
1: - SS_UNCONNECTED = 1,
1: - SS_CONNECTING = 2,
1: - SS_CONNECTED = 3,
1: - SS_DISCONNECTING = 4,
1: + SS_FREE = 0,
1: + SS_UNCONNECTED = 1,
1: + SS_CONNECTING = 2,
1: + SS_CONNECTED = 3,
1: + SS_DISCONNECTING = 4,
1: } socket_state;
1:
1: struct socket_wq {
1: - wait_queue_head_t wait;
1: - struct fasync_struct *fasync_list;
1: - long unsigned int flags;
1: - struct callback_head rcu;
1: - long: 64;
1: + wait_queue_head_t wait;
1: + struct fasync_struct *fasync_list;
1: + long unsigned int flags;
1: + struct callback_head rcu;
1: + long : 64;
1: };
1:
1: struct proto_ops;
1:
1: struct socket {
1: - socket_state state;
1: - short int type;
1: - long unsigned int flags;
1: - struct file *file;
1: - struct sock *sk;
1: - const struct proto_ops *ops;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct socket_wq wq;
1: + socket_state state;
1: + short int type;
1: + long unsigned int flags;
1: + struct file *file;
1: + struct sock *sk;
1: + const struct proto_ops *ops;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct socket_wq wq;
1: };
1:
1: -typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t);
1: +typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *,
1: + unsigned int, size_t);
1:
1: struct proto_ops {
1: - int family;
1: - struct module *owner;
1: - int (*release)(struct socket *);
1: - int (*bind)(struct socket *, struct sockaddr *, int);
1: - int (*connect)(struct socket *, struct sockaddr *, int, int);
1: - int (*socketpair)(struct socket *, struct socket *);
1: - int (*accept)(struct socket *, struct socket *, int, bool);
1: - int (*getname)(struct socket *, struct sockaddr *, int);
1: - __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
1: - int (*ioctl)(struct socket *, unsigned int, long unsigned int);
1: - int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
1: - int (*gettstamp)(struct socket *, void *, bool, bool);
1: - int (*listen)(struct socket *, int);
1: - int (*shutdown)(struct socket *, int);
1: - int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
1: - int (*getsockopt)(struct socket *, int, int, char *, int *);
1: - int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
1: - int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
1: - int (*sendmsg)(struct socket *, struct msghdr *, size_t);
1: - int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
1: - int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
1: - ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
1: - ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1: - int (*set_peek_off)(struct sock *, int);
1: - int (*peek_len)(struct socket *);
1: - int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
1: - int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
1: - int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
1: - int (*set_rcvlowat)(struct sock *, int);
1: + int family;
1: + struct module *owner;
1: + int (*release)(struct socket *);
1: + int (*bind)(struct socket *, struct sockaddr *, int);
1: + int (*connect)(struct socket *, struct sockaddr *, int, int);
1: + int (*socketpair)(struct socket *, struct socket *);
1: + int (*accept)(struct socket *, struct socket *, int, bool);
1: + int (*getname)(struct socket *, struct sockaddr *, int);
1: + __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *);
1: + int (*ioctl)(struct socket *, unsigned int, long unsigned int);
1: + int (*compat_ioctl)(struct socket *, unsigned int, long unsigned int);
1: + int (*gettstamp)(struct socket *, void *, bool, bool);
1: + int (*listen)(struct socket *, int);
1: + int (*shutdown)(struct socket *, int);
1: + int (*setsockopt)(struct socket *, int, int, char *, unsigned int);
1: + int (*getsockopt)(struct socket *, int, int, char *, int *);
1: + int (*compat_setsockopt)(struct socket *, int, int, char *, unsigned int);
1: + int (*compat_getsockopt)(struct socket *, int, int, char *, int *);
1: + int (*sendmsg)(struct socket *, struct msghdr *, size_t);
1: + int (*recvmsg)(struct socket *, struct msghdr *, size_t, int);
1: + int (*mmap)(struct file *, struct socket *, struct vm_area_struct *);
1: + ssize_t (*sendpage)(struct socket *, struct page *, int, size_t, int);
1: + ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *,
1: + size_t, unsigned int);
1: + int (*set_peek_off)(struct sock *, int);
1: + int (*peek_len)(struct socket *);
1: + int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t);
1: + int (*sendpage_locked)(struct sock *, struct page *, int, size_t, int);
1: + int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t);
1: + int (*set_rcvlowat)(struct sock *, int);
1: };
1:
1: struct pipe_buf_operations;
1:
1: struct pipe_buffer {
1: - struct page *page;
1: - unsigned int offset;
1: - unsigned int len;
1: - const struct pipe_buf_operations *ops;
1: - unsigned int flags;
1: - long unsigned int private;
1: + struct page *page;
1: + unsigned int offset;
1: + unsigned int len;
1: + const struct pipe_buf_operations *ops;
1: + unsigned int flags;
1: + long unsigned int private;
1: };
1:
1: struct pipe_buf_operations {
1: - int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *);
1: - void (*release)(struct pipe_inode_info *, struct pipe_buffer *);
1: - int (*steal)(struct pipe_inode_info *, struct pipe_buffer *);
1: - bool (*get)(struct pipe_inode_info *, struct pipe_buffer *);
1: + int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *);
1: + void (*release)(struct pipe_inode_info *, struct pipe_buffer *);
1: + int (*steal)(struct pipe_inode_info *, struct pipe_buffer *);
1: + bool (*get)(struct pipe_inode_info *, struct pipe_buffer *);
1: };
1:
1: struct skb_ext {
1: - refcount_t refcnt;
1: - u8 offset[1];
1: - u8 chunks;
1: - short: 16;
1: - char data[0];
1: + refcount_t refcnt;
1: + u8 offset[1];
1: + u8 chunks;
1: + short : 16;
1: + char data[0];
1: };
1:
1: struct dql {
1: - unsigned int num_queued;
1: - unsigned int adj_limit;
1: - unsigned int last_obj_cnt;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - unsigned int limit;
1: - unsigned int num_completed;
1: - unsigned int prev_ovlimit;
1: - unsigned int prev_num_queued;
1: - unsigned int prev_last_obj_cnt;
1: - unsigned int lowest_slack;
1: - long unsigned int slack_start_time;
1: - unsigned int max_limit;
1: - unsigned int min_limit;
1: - unsigned int slack_hold_time;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: + unsigned int num_queued;
1: + unsigned int adj_limit;
1: + unsigned int last_obj_cnt;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + unsigned int limit;
1: + unsigned int num_completed;
1: + unsigned int prev_ovlimit;
1: + unsigned int prev_num_queued;
1: + unsigned int prev_last_obj_cnt;
1: + unsigned int lowest_slack;
1: + long unsigned int slack_start_time;
1: + unsigned int max_limit;
1: + unsigned int min_limit;
1: + unsigned int slack_hold_time;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct ethtool_drvinfo {
1: - __u32 cmd;
1: - char driver[32];
1: - char version[32];
1: - char fw_version[32];
1: - char bus_info[32];
1: - char erom_version[32];
1: - char reserved2[12];
1: - __u32 n_priv_flags;
1: - __u32 n_stats;
1: - __u32 testinfo_len;
1: - __u32 eedump_len;
1: - __u32 regdump_len;
1: + __u32 cmd;
1: + char driver[32];
1: + char version[32];
1: + char fw_version[32];
1: + char bus_info[32];
1: + char erom_version[32];
1: + char reserved2[12];
1: + __u32 n_priv_flags;
1: + __u32 n_stats;
1: + __u32 testinfo_len;
1: + __u32 eedump_len;
1: + __u32 regdump_len;
1: };
1:
1: struct ethtool_wolinfo {
1: - __u32 cmd;
1: - __u32 supported;
1: - __u32 wolopts;
1: - __u8 sopass[6];
1: + __u32 cmd;
1: + __u32 supported;
1: + __u32 wolopts;
1: + __u8 sopass[6];
1: };
1:
1: struct ethtool_tunable {
1: - __u32 cmd;
1: - __u32 id;
1: - __u32 type_id;
1: - __u32 len;
1: - void *data[0];
1: + __u32 cmd;
1: + __u32 id;
1: + __u32 type_id;
1: + __u32 len;
1: + void *data[0];
1: };
1:
1: struct ethtool_regs {
1: - __u32 cmd;
1: - __u32 version;
1: - __u32 len;
1: - __u8 data[0];
1: + __u32 cmd;
1: + __u32 version;
1: + __u32 len;
1: + __u8 data[0];
1: };
1:
1: struct ethtool_eeprom {
1: - __u32 cmd;
1: - __u32 magic;
1: - __u32 offset;
1: - __u32 len;
1: - __u8 data[0];
1: + __u32 cmd;
1: + __u32 magic;
1: + __u32 offset;
1: + __u32 len;
1: + __u8 data[0];
1: };
1:
1: struct ethtool_eee {
1: - __u32 cmd;
1: - __u32 supported;
1: - __u32 advertised;
1: - __u32 lp_advertised;
1: - __u32 eee_active;
1: - __u32 eee_enabled;
1: - __u32 tx_lpi_enabled;
1: - __u32 tx_lpi_timer;
1: - __u32 reserved[2];
1: + __u32 cmd;
1: + __u32 supported;
1: + __u32 advertised;
1: + __u32 lp_advertised;
1: + __u32 eee_active;
1: + __u32 eee_enabled;
1: + __u32 tx_lpi_enabled;
1: + __u32 tx_lpi_timer;
1: + __u32 reserved[2];
1: };
1:
1: struct ethtool_modinfo {
1: - __u32 cmd;
1: - __u32 type;
1: - __u32 eeprom_len;
1: - __u32 reserved[8];
1: + __u32 cmd;
1: + __u32 type;
1: + __u32 eeprom_len;
1: + __u32 reserved[8];
1: };
1:
1: struct ethtool_coalesce {
1: - __u32 cmd;
1: - __u32 rx_coalesce_usecs;
1: - __u32 rx_max_coalesced_frames;
1: - __u32 rx_coalesce_usecs_irq;
1: - __u32 rx_max_coalesced_frames_irq;
1: - __u32 tx_coalesce_usecs;
1: - __u32 tx_max_coalesced_frames;
1: - __u32 tx_coalesce_usecs_irq;
1: - __u32 tx_max_coalesced_frames_irq;
1: - __u32 stats_block_coalesce_usecs;
1: - __u32 use_adaptive_rx_coalesce;
1: - __u32 use_adaptive_tx_coalesce;
1: - __u32 pkt_rate_low;
1: - __u32 rx_coalesce_usecs_low;
1: - __u32 rx_max_coalesced_frames_low;
1: - __u32 tx_coalesce_usecs_low;
1: - __u32 tx_max_coalesced_frames_low;
1: - __u32 pkt_rate_high;
1: - __u32 rx_coalesce_usecs_high;
1: - __u32 rx_max_coalesced_frames_high;
1: - __u32 tx_coalesce_usecs_high;
1: - __u32 tx_max_coalesced_frames_high;
1: - __u32 rate_sample_interval;
1: + __u32 cmd;
1: + __u32 rx_coalesce_usecs;
1: + __u32 rx_max_coalesced_frames;
1: + __u32 rx_coalesce_usecs_irq;
1: + __u32 rx_max_coalesced_frames_irq;
1: + __u32 tx_coalesce_usecs;
1: + __u32 tx_max_coalesced_frames;
1: + __u32 tx_coalesce_usecs_irq;
1: + __u32 tx_max_coalesced_frames_irq;
1: + __u32 stats_block_coalesce_usecs;
1: + __u32 use_adaptive_rx_coalesce;
1: + __u32 use_adaptive_tx_coalesce;
1: + __u32 pkt_rate_low;
1: + __u32 rx_coalesce_usecs_low;
1: + __u32 rx_max_coalesced_frames_low;
1: + __u32 tx_coalesce_usecs_low;
1: + __u32 tx_max_coalesced_frames_low;
1: + __u32 pkt_rate_high;
1: + __u32 rx_coalesce_usecs_high;
1: + __u32 rx_max_coalesced_frames_high;
1: + __u32 tx_coalesce_usecs_high;
1: + __u32 tx_max_coalesced_frames_high;
1: + __u32 rate_sample_interval;
1: };
1:
1: struct ethtool_ringparam {
1: - __u32 cmd;
1: - __u32 rx_max_pending;
1: - __u32 rx_mini_max_pending;
1: - __u32 rx_jumbo_max_pending;
1: - __u32 tx_max_pending;
1: - __u32 rx_pending;
1: - __u32 rx_mini_pending;
1: - __u32 rx_jumbo_pending;
1: - __u32 tx_pending;
1: + __u32 cmd;
1: + __u32 rx_max_pending;
1: + __u32 rx_mini_max_pending;
1: + __u32 rx_jumbo_max_pending;
1: + __u32 tx_max_pending;
1: + __u32 rx_pending;
1: + __u32 rx_mini_pending;
1: + __u32 rx_jumbo_pending;
1: + __u32 tx_pending;
1: };
1:
1: struct ethtool_channels {
1: - __u32 cmd;
1: - __u32 max_rx;
1: - __u32 max_tx;
1: - __u32 max_other;
1: - __u32 max_combined;
1: - __u32 rx_count;
1: - __u32 tx_count;
1: - __u32 other_count;
1: - __u32 combined_count;
1: + __u32 cmd;
1: + __u32 max_rx;
1: + __u32 max_tx;
1: + __u32 max_other;
1: + __u32 max_combined;
1: + __u32 rx_count;
1: + __u32 tx_count;
1: + __u32 other_count;
1: + __u32 combined_count;
1: };
1:
1: struct ethtool_pauseparam {
1: - __u32 cmd;
1: - __u32 autoneg;
1: - __u32 rx_pause;
1: - __u32 tx_pause;
1: + __u32 cmd;
1: + __u32 autoneg;
1: + __u32 rx_pause;
1: + __u32 tx_pause;
1: };
1:
1: struct ethtool_test {
1: - __u32 cmd;
1: - __u32 flags;
1: - __u32 reserved;
1: - __u32 len;
1: - __u64 data[0];
1: + __u32 cmd;
1: + __u32 flags;
1: + __u32 reserved;
1: + __u32 len;
1: + __u64 data[0];
1: };
1:
1: struct ethtool_stats {
1: - __u32 cmd;
1: - __u32 n_stats;
1: - __u64 data[0];
1: + __u32 cmd;
1: + __u32 n_stats;
1: + __u64 data[0];
1: };
1:
1: struct ethtool_tcpip4_spec {
1: - __be32 ip4src;
1: - __be32 ip4dst;
1: - __be16 psrc;
1: - __be16 pdst;
1: - __u8 tos;
1: + __be32 ip4src;
1: + __be32 ip4dst;
1: + __be16 psrc;
1: + __be16 pdst;
1: + __u8 tos;
1: };
1:
1: struct ethtool_ah_espip4_spec {
1: - __be32 ip4src;
1: - __be32 ip4dst;
1: - __be32 spi;
1: - __u8 tos;
1: + __be32 ip4src;
1: + __be32 ip4dst;
1: + __be32 spi;
1: + __u8 tos;
1: };
1:
1: struct ethtool_usrip4_spec {
1: - __be32 ip4src;
1: - __be32 ip4dst;
1: - __be32 l4_4_bytes;
1: - __u8 tos;
1: - __u8 ip_ver;
1: - __u8 proto;
1: + __be32 ip4src;
1: + __be32 ip4dst;
1: + __be32 l4_4_bytes;
1: + __u8 tos;
1: + __u8 ip_ver;
1: + __u8 proto;
1: };
1:
1: struct ethtool_tcpip6_spec {
1: - __be32 ip6src[4];
1: - __be32 ip6dst[4];
1: - __be16 psrc;
1: - __be16 pdst;
1: - __u8 tclass;
1: + __be32 ip6src[4];
1: + __be32 ip6dst[4];
1: + __be16 psrc;
1: + __be16 pdst;
1: + __u8 tclass;
1: };
1:
1: struct ethtool_ah_espip6_spec {
1: - __be32 ip6src[4];
1: - __be32 ip6dst[4];
1: - __be32 spi;
1: - __u8 tclass;
1: + __be32 ip6src[4];
1: + __be32 ip6dst[4];
1: + __be32 spi;
1: + __u8 tclass;
1: };
1:
1: struct ethtool_usrip6_spec {
1: - __be32 ip6src[4];
1: - __be32 ip6dst[4];
1: - __be32 l4_4_bytes;
1: - __u8 tclass;
1: - __u8 l4_proto;
1: + __be32 ip6src[4];
1: + __be32 ip6dst[4];
1: + __be32 l4_4_bytes;
1: + __u8 tclass;
1: + __u8 l4_proto;
1: };
1:
1: union ethtool_flow_union {
1: - struct ethtool_tcpip4_spec tcp_ip4_spec;
1: - struct ethtool_tcpip4_spec udp_ip4_spec;
1: - struct ethtool_tcpip4_spec sctp_ip4_spec;
1: - struct ethtool_ah_espip4_spec ah_ip4_spec;
1: - struct ethtool_ah_espip4_spec esp_ip4_spec;
1: - struct ethtool_usrip4_spec usr_ip4_spec;
1: - struct ethtool_tcpip6_spec tcp_ip6_spec;
1: - struct ethtool_tcpip6_spec udp_ip6_spec;
1: - struct ethtool_tcpip6_spec sctp_ip6_spec;
1: - struct ethtool_ah_espip6_spec ah_ip6_spec;
1: - struct ethtool_ah_espip6_spec esp_ip6_spec;
1: - struct ethtool_usrip6_spec usr_ip6_spec;
1: - struct ethhdr ether_spec;
1: - __u8 hdata[52];
1: + struct ethtool_tcpip4_spec tcp_ip4_spec;
1: + struct ethtool_tcpip4_spec udp_ip4_spec;
1: + struct ethtool_tcpip4_spec sctp_ip4_spec;
1: + struct ethtool_ah_espip4_spec ah_ip4_spec;
1: + struct ethtool_ah_espip4_spec esp_ip4_spec;
1: + struct ethtool_usrip4_spec usr_ip4_spec;
1: + struct ethtool_tcpip6_spec tcp_ip6_spec;
1: + struct ethtool_tcpip6_spec udp_ip6_spec;
1: + struct ethtool_tcpip6_spec sctp_ip6_spec;
1: + struct ethtool_ah_espip6_spec ah_ip6_spec;
1: + struct ethtool_ah_espip6_spec esp_ip6_spec;
1: + struct ethtool_usrip6_spec usr_ip6_spec;
1: + struct ethhdr ether_spec;
1: + __u8 hdata[52];
1: };
1:
1: struct ethtool_flow_ext {
1: - __u8 padding[2];
1: - unsigned char h_dest[6];
1: - __be16 vlan_etype;
1: - __be16 vlan_tci;
1: - __be32 data[2];
1: + __u8 padding[2];
1: + unsigned char h_dest[6];
1: + __be16 vlan_etype;
1: + __be16 vlan_tci;
1: + __be32 data[2];
1: };
1:
1: struct ethtool_rx_flow_spec {
1: - __u32 flow_type;
1: - union ethtool_flow_union h_u;
1: - struct ethtool_flow_ext h_ext;
1: - union ethtool_flow_union m_u;
1: - struct ethtool_flow_ext m_ext;
1: - __u64 ring_cookie;
1: - __u32 location;
1: + __u32 flow_type;
1: + union ethtool_flow_union h_u;
1: + struct ethtool_flow_ext h_ext;
1: + union ethtool_flow_union m_u;
1: + struct ethtool_flow_ext m_ext;
1: + __u64 ring_cookie;
1: + __u32 location;
1: };
1:
1: struct ethtool_rxnfc {
1: - __u32 cmd;
1: - __u32 flow_type;
1: - __u64 data;
1: - struct ethtool_rx_flow_spec fs;
1: - union {
1: - __u32 rule_cnt;
1: - __u32 rss_context;
1: - };
1: - __u32 rule_locs[0];
1: + __u32 cmd;
1: + __u32 flow_type;
1: + __u64 data;
1: + struct ethtool_rx_flow_spec fs;
1: + union {
1: + __u32 rule_cnt;
1: + __u32 rss_context;
1: + };
1: + __u32 rule_locs[0];
1: };
1:
1: struct ethtool_flash {
1: - __u32 cmd;
1: - __u32 region;
1: - char data[128];
1: + __u32 cmd;
1: + __u32 region;
1: + char data[128];
1: };
1:
1: struct ethtool_dump {
1: - __u32 cmd;
1: - __u32 version;
1: - __u32 flag;
1: - __u32 len;
1: - __u8 data[0];
1: + __u32 cmd;
1: + __u32 version;
1: + __u32 flag;
1: + __u32 len;
1: + __u8 data[0];
1: };
1:
1: struct ethtool_ts_info {
1: - __u32 cmd;
1: - __u32 so_timestamping;
1: - __s32 phc_index;
1: - __u32 tx_types;
1: - __u32 tx_reserved[3];
1: - __u32 rx_filters;
1: - __u32 rx_reserved[3];
1: + __u32 cmd;
1: + __u32 so_timestamping;
1: + __s32 phc_index;
1: + __u32 tx_types;
1: + __u32 tx_reserved[3];
1: + __u32 rx_filters;
1: + __u32 rx_reserved[3];
1: };
1:
1: struct ethtool_fecparam {
1: - __u32 cmd;
1: - __u32 active_fec;
1: - __u32 fec;
1: - __u32 reserved;
1: + __u32 cmd;
1: + __u32 active_fec;
1: + __u32 fec;
1: + __u32 reserved;
1: };
1:
1: struct ethtool_link_settings {
1: - __u32 cmd;
1: - __u32 speed;
1: - __u8 duplex;
1: - __u8 port;
1: - __u8 phy_address;
1: - __u8 autoneg;
1: - __u8 mdio_support;
1: - __u8 eth_tp_mdix;
1: - __u8 eth_tp_mdix_ctrl;
1: - __s8 link_mode_masks_nwords;
1: - __u8 transceiver;
1: - __u8 reserved1[3];
1: - __u32 reserved[7];
1: - __u32 link_mode_masks[0];
1: + __u32 cmd;
1: + __u32 speed;
1: + __u8 duplex;
1: + __u8 port;
1: + __u8 phy_address;
1: + __u8 autoneg;
1: + __u8 mdio_support;
1: + __u8 eth_tp_mdix;
1: + __u8 eth_tp_mdix_ctrl;
1: + __s8 link_mode_masks_nwords;
1: + __u8 transceiver;
1: + __u8 reserved1[3];
1: + __u32 reserved[7];
1: + __u32 link_mode_masks[0];
1: };
1:
1: enum ethtool_phys_id_state {
1: - ETHTOOL_ID_INACTIVE = 0,
1: - ETHTOOL_ID_ACTIVE = 1,
1: - ETHTOOL_ID_ON = 2,
1: - ETHTOOL_ID_OFF = 3,
1: + ETHTOOL_ID_INACTIVE = 0,
1: + ETHTOOL_ID_ACTIVE = 1,
1: + ETHTOOL_ID_ON = 2,
1: + ETHTOOL_ID_OFF = 3,
1: };
1:
1: struct ethtool_link_ksettings {
1: - struct ethtool_link_settings base;
1: - struct {
1: - long unsigned int supported[2];
1: - long unsigned int advertising[2];
1: - long unsigned int lp_advertising[2];
1: - } link_modes;
1: + struct ethtool_link_settings base;
1: + struct {
1: + long unsigned int supported[2];
1: + long unsigned int advertising[2];
1: + long unsigned int lp_advertising[2];
1: + } link_modes;
1: };
1:
1: struct ethtool_ops {
1: - void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
1: - int (*get_regs_len)(struct net_device *);
1: - void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
1: - void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
1: - int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
1: - u32 (*get_msglevel)(struct net_device *);
1: - void (*set_msglevel)(struct net_device *, u32);
1: - int (*nway_reset)(struct net_device *);
1: - u32 (*get_link)(struct net_device *);
1: - int (*get_eeprom_len)(struct net_device *);
1: - int (*get_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: - int (*set_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: - int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *);
1: - int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *);
1: - void (*get_ringparam)(struct net_device *, struct ethtool_ringparam *);
1: - int (*set_ringparam)(struct net_device *, struct ethtool_ringparam *);
1: - void (*get_pauseparam)(struct net_device *, struct ethtool_pauseparam *);
1: - int (*set_pauseparam)(struct net_device *, struct ethtool_pauseparam *);
1: - void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
1: - void (*get_strings)(struct net_device *, u32, u8 *);
1: - int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
1: - void (*get_ethtool_stats)(struct net_device *, struct ethtool_stats *, u64 *);
1: - int (*begin)(struct net_device *);
1: - void (*complete)(struct net_device *);
1: - u32 (*get_priv_flags)(struct net_device *);
1: - int (*set_priv_flags)(struct net_device *, u32);
1: - int (*get_sset_count)(struct net_device *, int);
1: - int (*get_rxnfc)(struct net_device *, struct ethtool_rxnfc *, u32 *);
1: - int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
1: - int (*flash_device)(struct net_device *, struct ethtool_flash *);
1: - int (*reset)(struct net_device *, u32 *);
1: - u32 (*get_rxfh_key_size)(struct net_device *);
1: - u32 (*get_rxfh_indir_size)(struct net_device *);
1: - int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *);
1: - int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8);
1: - int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32);
1: - int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool);
1: - void (*get_channels)(struct net_device *, struct ethtool_channels *);
1: - int (*set_channels)(struct net_device *, struct ethtool_channels *);
1: - int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
1: - int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *);
1: - int (*set_dump)(struct net_device *, struct ethtool_dump *);
1: - int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
1: - int (*get_module_info)(struct net_device *, struct ethtool_modinfo *);
1: - int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: - int (*get_eee)(struct net_device *, struct ethtool_eee *);
1: - int (*set_eee)(struct net_device *, struct ethtool_eee *);
1: - int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *);
1: - int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *);
1: - int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *);
1: - int (*set_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *);
1: - int (*get_link_ksettings)(struct net_device *, struct ethtool_link_ksettings *);
1: - int (*set_link_ksettings)(struct net_device *, const struct ethtool_link_ksettings *);
1: - int (*get_fecparam)(struct net_device *, struct ethtool_fecparam *);
1: - int (*set_fecparam)(struct net_device *, struct ethtool_fecparam *);
1: - void (*get_ethtool_phy_stats)(struct net_device *, struct ethtool_stats *, u64 *);
1: + void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
1: + int (*get_regs_len)(struct net_device *);
1: + void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
1: + void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
1: + int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
1: + u32 (*get_msglevel)(struct net_device *);
1: + void (*set_msglevel)(struct net_device *, u32);
1: + int (*nway_reset)(struct net_device *);
1: + u32 (*get_link)(struct net_device *);
1: + int (*get_eeprom_len)(struct net_device *);
1: + int (*get_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: + int (*set_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: + int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *);
1: + int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *);
1: + void (*get_ringparam)(struct net_device *, struct ethtool_ringparam *);
1: + int (*set_ringparam)(struct net_device *, struct ethtool_ringparam *);
1: + void (*get_pauseparam)(struct net_device *, struct ethtool_pauseparam *);
1: + int (*set_pauseparam)(struct net_device *, struct ethtool_pauseparam *);
1: + void (*self_test)(struct net_device *, struct ethtool_test *, u64 *);
1: + void (*get_strings)(struct net_device *, u32, u8 *);
1: + int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state);
1: + void (*get_ethtool_stats)(struct net_device *, struct ethtool_stats *, u64 *);
1: + int (*begin)(struct net_device *);
1: + void (*complete)(struct net_device *);
1: + u32 (*get_priv_flags)(struct net_device *);
1: + int (*set_priv_flags)(struct net_device *, u32);
1: + int (*get_sset_count)(struct net_device *, int);
1: + int (*get_rxnfc)(struct net_device *, struct ethtool_rxnfc *, u32 *);
1: + int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
1: + int (*flash_device)(struct net_device *, struct ethtool_flash *);
1: + int (*reset)(struct net_device *, u32 *);
1: + u32 (*get_rxfh_key_size)(struct net_device *);
1: + u32 (*get_rxfh_indir_size)(struct net_device *);
1: + int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *);
1: + int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8);
1: + int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32);
1: + int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *,
1: + const u8, u32 *, bool);
1: + void (*get_channels)(struct net_device *, struct ethtool_channels *);
1: + int (*set_channels)(struct net_device *, struct ethtool_channels *);
1: + int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);
1: + int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *);
1: + int (*set_dump)(struct net_device *, struct ethtool_dump *);
1: + int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *);
1: + int (*get_module_info)(struct net_device *, struct ethtool_modinfo *);
1: + int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *);
1: + int (*get_eee)(struct net_device *, struct ethtool_eee *);
1: + int (*set_eee)(struct net_device *, struct ethtool_eee *);
1: + int (*get_tunable)(struct net_device *, const struct ethtool_tunable *,
1: + void *);
1: + int (*set_tunable)(struct net_device *, const struct ethtool_tunable *,
1: + const void *);
1: + int (*get_per_queue_coalesce)(struct net_device *, u32,
1: + struct ethtool_coalesce *);
1: + int (*set_per_queue_coalesce)(struct net_device *, u32,
1: + struct ethtool_coalesce *);
1: + int (*get_link_ksettings)(struct net_device *,
1: + struct ethtool_link_ksettings *);
1: + int (*set_link_ksettings)(struct net_device *,
1: + const struct ethtool_link_ksettings *);
1: + int (*get_fecparam)(struct net_device *, struct ethtool_fecparam *);
1: + int (*set_fecparam)(struct net_device *, struct ethtool_fecparam *);
1: + void (*get_ethtool_phy_stats)(struct net_device *, struct ethtool_stats *,
1: + u64 *);
1: };
1:
1: struct xdp_mem_info {
1: - u32 type;
1: - u32 id;
1: + u32 type;
1: + u32 id;
1: };
1:
1: struct xdp_rxq_info {
1: - struct net_device *dev;
1: - u32 queue_index;
1: - u32 reg_state;
1: - struct xdp_mem_info mem;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct net_device *dev;
1: + u32 queue_index;
1: + u32 reg_state;
1: + struct xdp_mem_info mem;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct xdp_frame {
1: - void *data;
1: - u16 len;
1: - u16 headroom;
1: - u16 metasize;
1: - struct xdp_mem_info mem;
1: - struct net_device *dev_rx;
1: + void *data;
1: + u16 len;
1: + u16 headroom;
1: + u16 metasize;
1: + struct xdp_mem_info mem;
1: + struct net_device *dev_rx;
1: };
1:
1: struct nlmsghdr {
1: - __u32 nlmsg_len;
1: - __u16 nlmsg_type;
1: - __u16 nlmsg_flags;
1: - __u32 nlmsg_seq;
1: - __u32 nlmsg_pid;
1: + __u32 nlmsg_len;
1: + __u16 nlmsg_type;
1: + __u16 nlmsg_flags;
1: + __u32 nlmsg_seq;
1: + __u32 nlmsg_pid;
1: };
1:
1: struct nlattr {
1: - __u16 nla_len;
1: - __u16 nla_type;
1: + __u16 nla_len;
1: + __u16 nla_type;
1: };
1:
1: struct netlink_ext_ack {
1: - const char *_msg;
1: - const struct nlattr *bad_attr;
1: - u8 cookie[20];
1: - u8 cookie_len;
1: + const char *_msg;
1: + const struct nlattr *bad_attr;
1: + u8 cookie[20];
1: + u8 cookie_len;
1: };
1:
1: struct netlink_callback {
1: - struct sk_buff *skb;
1: - const struct nlmsghdr *nlh;
1: - int (*dump)(struct sk_buff *, struct netlink_callback *);
1: - int (*done)(struct netlink_callback *);
1: - void *data;
1: - struct module *module;
1: - struct netlink_ext_ack *extack;
1: - u16 family;
1: - u16 min_dump_alloc;
1: - bool strict_check;
1: - u16 answer_flags;
1: - unsigned int prev_seq;
1: - unsigned int seq;
1: - union {
1: - u8 ctx[48];
1: - long int args[6];
1: - };
1: + struct sk_buff *skb;
1: + const struct nlmsghdr *nlh;
1: + int (*dump)(struct sk_buff *, struct netlink_callback *);
1: + int (*done)(struct netlink_callback *);
1: + void *data;
1: + struct module *module;
1: + struct netlink_ext_ack *extack;
1: + u16 family;
1: + u16 min_dump_alloc;
1: + bool strict_check;
1: + u16 answer_flags;
1: + unsigned int prev_seq;
1: + unsigned int seq;
1: + union {
1: + u8 ctx[48];
1: + long int args[6];
1: + };
1: };
1:
1: struct ndmsg {
1: - __u8 ndm_family;
1: - __u8 ndm_pad1;
1: - __u16 ndm_pad2;
1: - __s32 ndm_ifindex;
1: - __u16 ndm_state;
1: - __u8 ndm_flags;
1: - __u8 ndm_type;
1: + __u8 ndm_family;
1: + __u8 ndm_pad1;
1: + __u16 ndm_pad2;
1: + __s32 ndm_ifindex;
1: + __u16 ndm_state;
1: + __u8 ndm_flags;
1: + __u8 ndm_type;
1: };
1:
1: struct rtnl_link_stats64 {
1: - __u64 rx_packets;
1: - __u64 tx_packets;
1: - __u64 rx_bytes;
1: - __u64 tx_bytes;
1: - __u64 rx_errors;
1: - __u64 tx_errors;
1: - __u64 rx_dropped;
1: - __u64 tx_dropped;
1: - __u64 multicast;
1: - __u64 collisions;
1: - __u64 rx_length_errors;
1: - __u64 rx_over_errors;
1: - __u64 rx_crc_errors;
1: - __u64 rx_frame_errors;
1: - __u64 rx_fifo_errors;
1: - __u64 rx_missed_errors;
1: - __u64 tx_aborted_errors;
1: - __u64 tx_carrier_errors;
1: - __u64 tx_fifo_errors;
1: - __u64 tx_heartbeat_errors;
1: - __u64 tx_window_errors;
1: - __u64 rx_compressed;
1: - __u64 tx_compressed;
1: - __u64 rx_nohandler;
1: + __u64 rx_packets;
1: + __u64 tx_packets;
1: + __u64 rx_bytes;
1: + __u64 tx_bytes;
1: + __u64 rx_errors;
1: + __u64 tx_errors;
1: + __u64 rx_dropped;
1: + __u64 tx_dropped;
1: + __u64 multicast;
1: + __u64 collisions;
1: + __u64 rx_length_errors;
1: + __u64 rx_over_errors;
1: + __u64 rx_crc_errors;
1: + __u64 rx_frame_errors;
1: + __u64 rx_fifo_errors;
1: + __u64 rx_missed_errors;
1: + __u64 tx_aborted_errors;
1: + __u64 tx_carrier_errors;
1: + __u64 tx_fifo_errors;
1: + __u64 tx_heartbeat_errors;
1: + __u64 tx_window_errors;
1: + __u64 rx_compressed;
1: + __u64 tx_compressed;
1: + __u64 rx_nohandler;
1: };
1:
1: struct ifla_vf_guid {
1: - __u32 vf;
1: - __u64 guid;
1: + __u32 vf;
1: + __u64 guid;
1: };
1:
1: struct ifla_vf_stats {
1: - __u64 rx_packets;
1: - __u64 tx_packets;
1: - __u64 rx_bytes;
1: - __u64 tx_bytes;
1: - __u64 broadcast;
1: - __u64 multicast;
1: - __u64 rx_dropped;
1: - __u64 tx_dropped;
1: + __u64 rx_packets;
1: + __u64 tx_packets;
1: + __u64 rx_bytes;
1: + __u64 tx_bytes;
1: + __u64 broadcast;
1: + __u64 multicast;
1: + __u64 rx_dropped;
1: + __u64 tx_dropped;
1: };
1:
1: struct ifla_vf_info {
1: - __u32 vf;
1: - __u8 mac[32];
1: - __u32 vlan;
1: - __u32 qos;
1: - __u32 spoofchk;
1: - __u32 linkstate;
1: - __u32 min_tx_rate;
1: - __u32 max_tx_rate;
1: - __u32 rss_query_en;
1: - __u32 trusted;
1: - __be16 vlan_proto;
1: + __u32 vf;
1: + __u8 mac[32];
1: + __u32 vlan;
1: + __u32 qos;
1: + __u32 spoofchk;
1: + __u32 linkstate;
1: + __u32 min_tx_rate;
1: + __u32 max_tx_rate;
1: + __u32 rss_query_en;
1: + __u32 trusted;
1: + __be16 vlan_proto;
1: };
1:
1: struct tc_stats {
1: - __u64 bytes;
1: - __u32 packets;
1: - __u32 drops;
1: - __u32 overlimits;
1: - __u32 bps;
1: - __u32 pps;
1: - __u32 qlen;
1: - __u32 backlog;
1: + __u64 bytes;
1: + __u32 packets;
1: + __u32 drops;
1: + __u32 overlimits;
1: + __u32 bps;
1: + __u32 pps;
1: + __u32 qlen;
1: + __u32 backlog;
1: };
1:
1: struct tc_sizespec {
1: - unsigned char cell_log;
1: - unsigned char size_log;
1: - short int cell_align;
1: - int overhead;
1: - unsigned int linklayer;
1: - unsigned int mpu;
1: - unsigned int mtu;
1: - unsigned int tsize;
1: + unsigned char cell_log;
1: + unsigned char size_log;
1: + short int cell_align;
1: + int overhead;
1: + unsigned int linklayer;
1: + unsigned int mpu;
1: + unsigned int mtu;
1: + unsigned int tsize;
1: };
1:
1: enum netdev_tx {
1: - __NETDEV_TX_MIN = -2147483648,
1: - NETDEV_TX_OK = 0,
1: - NETDEV_TX_BUSY = 16,
1: + __NETDEV_TX_MIN = -2147483648,
1: + NETDEV_TX_OK = 0,
1: + NETDEV_TX_BUSY = 16,
1: };
1:
1: typedef enum netdev_tx netdev_tx_t;
1:
1: struct header_ops {
1: - int (*create)(struct sk_buff *, struct net_device *, short unsigned int, const void *, const void *, unsigned int);
1: - int (*parse)(const struct sk_buff *, unsigned char *);
1: - int (*cache)(const struct neighbour *, struct hh_cache *, __be16);
1: - void (*cache_update)(struct hh_cache *, const struct net_device *, const unsigned char *);
1: - bool (*validate)(const char *, unsigned int);
1: - __be16 (*parse_protocol)(const struct sk_buff *);
1: + int (*create)(struct sk_buff *, struct net_device *, short unsigned int,
1: + const void *, const void *, unsigned int);
1: + int (*parse)(const struct sk_buff *, unsigned char *);
1: + int (*cache)(const struct neighbour *, struct hh_cache *, __be16);
1: + void (*cache_update)(struct hh_cache *, const struct net_device *,
1: + const unsigned char *);
1: + bool (*validate)(const char *, unsigned int);
1: + __be16 (*parse_protocol)(const struct sk_buff *);
1: };
1:
1: struct gro_list {
1: - struct list_head list;
1: - int count;
1: + struct list_head list;
1: + int count;
1: };
1:
1: struct napi_struct {
1: - struct list_head poll_list;
1: - long unsigned int state;
1: - int weight;
1: - long unsigned int gro_bitmask;
1: - int (*poll)(struct napi_struct *, int);
1: - int poll_owner;
1: - struct net_device *dev;
1: - struct gro_list gro_hash[8];
1: - struct sk_buff *skb;
1: - struct list_head rx_list;
1: - int rx_count;
1: - struct hrtimer timer;
1: - struct list_head dev_list;
1: - struct hlist_node napi_hash_node;
1: - unsigned int napi_id;
1: + struct list_head poll_list;
1: + long unsigned int state;
1: + int weight;
1: + long unsigned int gro_bitmask;
1: + int (*poll)(struct napi_struct *, int);
1: + int poll_owner;
1: + struct net_device *dev;
1: + struct gro_list gro_hash[8];
1: + struct sk_buff *skb;
1: + struct list_head rx_list;
1: + int rx_count;
1: + struct hrtimer timer;
1: + struct list_head dev_list;
1: + struct hlist_node napi_hash_node;
1: + unsigned int napi_id;
1: };
1:
1: struct netdev_queue {
1: - struct net_device *dev;
1: - struct Qdisc *qdisc;
1: - struct Qdisc *qdisc_sleeping;
1: - struct kobject kobj;
1: - int numa_node;
1: - long unsigned int tx_maxrate;
1: - long unsigned int trans_timeout;
1: - struct net_device *sb_dev;
1: - long: 64;
1: - spinlock_t _xmit_lock;
1: - int xmit_lock_owner;
1: - long unsigned int trans_start;
1: - long unsigned int state;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct dql dql;
1: + struct net_device *dev;
1: + struct Qdisc *qdisc;
1: + struct Qdisc *qdisc_sleeping;
1: + struct kobject kobj;
1: + int numa_node;
1: + long unsigned int tx_maxrate;
1: + long unsigned int trans_timeout;
1: + struct net_device *sb_dev;
1: + long : 64;
1: + spinlock_t _xmit_lock;
1: + int xmit_lock_owner;
1: + long unsigned int trans_start;
1: + long unsigned int state;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct dql dql;
1: };
1:
1: struct qdisc_skb_head {
1: - struct sk_buff *head;
1: - struct sk_buff *tail;
1: - __u32 qlen;
1: - spinlock_t lock;
1: + struct sk_buff *head;
1: + struct sk_buff *tail;
1: + __u32 qlen;
1: + spinlock_t lock;
1: };
1:
1: struct gnet_stats_basic_packed {
1: - __u64 bytes;
1: - __u64 packets;
1: + __u64 bytes;
1: + __u64 packets;
1: };
1:
1: struct gnet_stats_queue {
1: - __u32 qlen;
1: - __u32 backlog;
1: - __u32 drops;
1: - __u32 requeues;
1: - __u32 overlimits;
1: + __u32 qlen;
1: + __u32 backlog;
1: + __u32 drops;
1: + __u32 requeues;
1: + __u32 overlimits;
1: };
1:
1: struct Qdisc_ops;
1: @@ -12241,165 +12325,165 @@ struct net_rate_estimator;
1: struct gnet_stats_basic_cpu;
1:
1: struct Qdisc {
1: - int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **);
1: - struct sk_buff * (*dequeue)(struct Qdisc *);
1: - unsigned int flags;
1: - u32 limit;
1: - const struct Qdisc_ops *ops;
1: - struct qdisc_size_table *stab;
1: - struct hlist_node hash;
1: - u32 handle;
1: - u32 parent;
1: - struct netdev_queue *dev_queue;
1: - struct net_rate_estimator *rate_est;
1: - struct gnet_stats_basic_cpu *cpu_bstats;
1: - struct gnet_stats_queue *cpu_qstats;
1: - int padded;
1: - refcount_t refcnt;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct sk_buff_head gso_skb;
1: - struct qdisc_skb_head q;
1: - struct gnet_stats_basic_packed bstats;
1: - seqcount_t running;
1: - struct gnet_stats_queue qstats;
1: - long unsigned int state;
1: - struct Qdisc *next_sched;
1: - struct sk_buff_head skb_bad_txq;
1: - spinlock_t busylock;
1: - spinlock_t seqlock;
1: - bool empty;
1: - struct callback_head rcu;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **);
1: + struct sk_buff *(*dequeue)(struct Qdisc *);
1: + unsigned int flags;
1: + u32 limit;
1: + const struct Qdisc_ops *ops;
1: + struct qdisc_size_table *stab;
1: + struct hlist_node hash;
1: + u32 handle;
1: + u32 parent;
1: + struct netdev_queue *dev_queue;
1: + struct net_rate_estimator *rate_est;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_queue *cpu_qstats;
1: + int padded;
1: + refcount_t refcnt;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct sk_buff_head gso_skb;
1: + struct qdisc_skb_head q;
1: + struct gnet_stats_basic_packed bstats;
1: + seqcount_t running;
1: + struct gnet_stats_queue qstats;
1: + long unsigned int state;
1: + struct Qdisc *next_sched;
1: + struct sk_buff_head skb_bad_txq;
1: + spinlock_t busylock;
1: + spinlock_t seqlock;
1: + bool empty;
1: + struct callback_head rcu;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct rps_map {
1: - unsigned int len;
1: - struct callback_head rcu;
1: - u16 cpus[0];
1: + unsigned int len;
1: + struct callback_head rcu;
1: + u16 cpus[0];
1: };
1:
1: struct rps_dev_flow {
1: - u16 cpu;
1: - u16 filter;
1: - unsigned int last_qtail;
1: + u16 cpu;
1: + u16 filter;
1: + unsigned int last_qtail;
1: };
1:
1: struct rps_dev_flow_table {
1: - unsigned int mask;
1: - struct callback_head rcu;
1: - struct rps_dev_flow flows[0];
1: + unsigned int mask;
1: + struct callback_head rcu;
1: + struct rps_dev_flow flows[0];
1: };
1:
1: struct rps_sock_flow_table {
1: - u32 mask;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - u32 ents[0];
1: + u32 mask;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + u32 ents[0];
1: };
1:
1: struct netdev_rx_queue {
1: - struct rps_map *rps_map;
1: - struct rps_dev_flow_table *rps_flow_table;
1: - struct kobject kobj;
1: - struct net_device *dev;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct xdp_rxq_info xdp_rxq;
1: + struct rps_map *rps_map;
1: + struct rps_dev_flow_table *rps_flow_table;
1: + struct kobject kobj;
1: + struct net_device *dev;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct xdp_rxq_info xdp_rxq;
1: };
1:
1: struct xps_map {
1: - unsigned int len;
1: - unsigned int alloc_len;
1: - struct callback_head rcu;
1: - u16 queues[0];
1: + unsigned int len;
1: + unsigned int alloc_len;
1: + struct callback_head rcu;
1: + u16 queues[0];
1: };
1:
1: struct xps_dev_maps {
1: - struct callback_head rcu;
1: - struct xps_map *attr_map[0];
1: + struct callback_head rcu;
1: + struct xps_map *attr_map[0];
1: };
1:
1: struct netdev_phys_item_id {
1: - unsigned char id[32];
1: - unsigned char id_len;
1: + unsigned char id[32];
1: + unsigned char id_len;
1: };
1:
1: enum tc_setup_type {
1: - TC_SETUP_QDISC_MQPRIO = 0,
1: - TC_SETUP_CLSU32 = 1,
1: - TC_SETUP_CLSFLOWER = 2,
1: - TC_SETUP_CLSMATCHALL = 3,
1: - TC_SETUP_CLSBPF = 4,
1: - TC_SETUP_BLOCK = 5,
1: - TC_SETUP_QDISC_CBS = 6,
1: - TC_SETUP_QDISC_RED = 7,
1: - TC_SETUP_QDISC_PRIO = 8,
1: - TC_SETUP_QDISC_MQ = 9,
1: - TC_SETUP_QDISC_ETF = 10,
1: - TC_SETUP_ROOT_QDISC = 11,
1: - TC_SETUP_QDISC_GRED = 12,
1: - TC_SETUP_QDISC_TAPRIO = 13,
1: - TC_SETUP_FT = 14,
1: + TC_SETUP_QDISC_MQPRIO = 0,
1: + TC_SETUP_CLSU32 = 1,
1: + TC_SETUP_CLSFLOWER = 2,
1: + TC_SETUP_CLSMATCHALL = 3,
1: + TC_SETUP_CLSBPF = 4,
1: + TC_SETUP_BLOCK = 5,
1: + TC_SETUP_QDISC_CBS = 6,
1: + TC_SETUP_QDISC_RED = 7,
1: + TC_SETUP_QDISC_PRIO = 8,
1: + TC_SETUP_QDISC_MQ = 9,
1: + TC_SETUP_QDISC_ETF = 10,
1: + TC_SETUP_ROOT_QDISC = 11,
1: + TC_SETUP_QDISC_GRED = 12,
1: + TC_SETUP_QDISC_TAPRIO = 13,
1: + TC_SETUP_FT = 14,
1: };
1:
1: enum bpf_netdev_command {
1: - XDP_SETUP_PROG = 0,
1: - XDP_SETUP_PROG_HW = 1,
1: - XDP_QUERY_PROG = 2,
1: - XDP_QUERY_PROG_HW = 3,
1: - BPF_OFFLOAD_MAP_ALLOC = 4,
1: - BPF_OFFLOAD_MAP_FREE = 5,
1: - XDP_SETUP_XSK_UMEM = 6,
1: + XDP_SETUP_PROG = 0,
1: + XDP_SETUP_PROG_HW = 1,
1: + XDP_QUERY_PROG = 2,
1: + XDP_QUERY_PROG_HW = 3,
1: + BPF_OFFLOAD_MAP_ALLOC = 4,
1: + BPF_OFFLOAD_MAP_FREE = 5,
1: + XDP_SETUP_XSK_UMEM = 6,
1: };
1:
1: struct xdp_umem;
1:
1: struct netdev_bpf {
1: - enum bpf_netdev_command command;
1: - union {
1: - struct {
1: - u32 flags;
1: - struct bpf_prog *prog;
1: - struct netlink_ext_ack *extack;
1: - };
1: - struct {
1: - u32 prog_id;
1: - u32 prog_flags;
1: - };
1: - struct {
1: - struct bpf_offloaded_map *offmap;
1: - };
1: - struct {
1: - struct xdp_umem *umem;
1: - u16 queue_id;
1: - } xsk;
1: - };
1: + enum bpf_netdev_command command;
1: + union {
1: + struct {
1: + u32 flags;
1: + struct bpf_prog *prog;
1: + struct netlink_ext_ack *extack;
1: + };
1: + struct {
1: + u32 prog_id;
1: + u32 prog_flags;
1: + };
1: + struct {
1: + struct bpf_offloaded_map *offmap;
1: + };
1: + struct {
1: + struct xdp_umem *umem;
1: + u16 queue_id;
1: + } xsk;
1: + };
1: };
1:
1: struct dev_ifalias {
1: - struct callback_head rcuhead;
1: - char ifalias[0];
1: + struct callback_head rcuhead;
1: + char ifalias[0];
1: };
1:
1: struct netdev_name_node {
1: - struct hlist_node hlist;
1: - struct list_head list;
1: - struct net_device *dev;
1: - const char *name;
1: + struct hlist_node hlist;
1: + struct list_head list;
1: + struct net_device *dev;
1: + const char *name;
1: };
1:
1: struct udp_tunnel_info;
1: @@ -12407,105 +12491,119 @@ struct udp_tunnel_info;
1: struct devlink_port;
1:
1: struct net_device_ops {
1: - int (*ndo_init)(struct net_device *);
1: - void (*ndo_uninit)(struct net_device *);
1: - int (*ndo_open)(struct net_device *);
1: - int (*ndo_stop)(struct net_device *);
1: - netdev_tx_t (*ndo_start_xmit)(struct sk_buff *, struct net_device *);
1: - netdev_features_t (*ndo_features_check)(struct sk_buff *, struct net_device *, netdev_features_t);
1: - u16 (*ndo_select_queue)(struct net_device *, struct sk_buff *, struct net_device *);
1: - void (*ndo_change_rx_flags)(struct net_device *, int);
1: - void (*ndo_set_rx_mode)(struct net_device *);
1: - int (*ndo_set_mac_address)(struct net_device *, void *);
1: - int (*ndo_validate_addr)(struct net_device *);
1: - int (*ndo_do_ioctl)(struct net_device *, struct ifreq *, int);
1: - int (*ndo_set_config)(struct net_device *, struct ifmap *);
1: - int (*ndo_change_mtu)(struct net_device *, int);
1: - int (*ndo_neigh_setup)(struct net_device *, struct neigh_parms *);
1: - void (*ndo_tx_timeout)(struct net_device *);
1: - void (*ndo_get_stats64)(struct net_device *, struct rtnl_link_stats64 *);
1: - bool (*ndo_has_offload_stats)(const struct net_device *, int);
1: - int (*ndo_get_offload_stats)(int, const struct net_device *, void *);
1: - struct net_device_stats * (*ndo_get_stats)(struct net_device *);
1: - int (*ndo_vlan_rx_add_vid)(struct net_device *, __be16, u16);
1: - int (*ndo_vlan_rx_kill_vid)(struct net_device *, __be16, u16);
1: - void (*ndo_poll_controller)(struct net_device *);
1: - int (*ndo_netpoll_setup)(struct net_device *, struct netpoll_info *);
1: - void (*ndo_netpoll_cleanup)(struct net_device *);
1: - int (*ndo_set_vf_mac)(struct net_device *, int, u8 *);
1: - int (*ndo_set_vf_vlan)(struct net_device *, int, u16, u8, __be16);
1: - int (*ndo_set_vf_rate)(struct net_device *, int, int, int);
1: - int (*ndo_set_vf_spoofchk)(struct net_device *, int, bool);
1: - int (*ndo_set_vf_trust)(struct net_device *, int, bool);
1: - int (*ndo_get_vf_config)(struct net_device *, int, struct ifla_vf_info *);
1: - int (*ndo_set_vf_link_state)(struct net_device *, int, int);
1: - int (*ndo_get_vf_stats)(struct net_device *, int, struct ifla_vf_stats *);
1: - int (*ndo_set_vf_port)(struct net_device *, int, struct nlattr **);
1: - int (*ndo_get_vf_port)(struct net_device *, int, struct sk_buff *);
1: - int (*ndo_get_vf_guid)(struct net_device *, int, struct ifla_vf_guid *, struct ifla_vf_guid *);
1: - int (*ndo_set_vf_guid)(struct net_device *, int, u64, int);
1: - int (*ndo_set_vf_rss_query_en)(struct net_device *, int, bool);
1: - int (*ndo_setup_tc)(struct net_device *, enum tc_setup_type, void *);
1: - int (*ndo_rx_flow_steer)(struct net_device *, const struct sk_buff *, u16, u32);
1: - int (*ndo_add_slave)(struct net_device *, struct net_device *, struct netlink_ext_ack *);
1: - int (*ndo_del_slave)(struct net_device *, struct net_device *);
1: - netdev_features_t (*ndo_fix_features)(struct net_device *, netdev_features_t);
1: - int (*ndo_set_features)(struct net_device *, netdev_features_t);
1: - int (*ndo_neigh_construct)(struct net_device *, struct neighbour *);
1: - void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *);
1: - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *);
1: - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16);
1: - int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *);
1: - int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *);
1: - int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *);
1: - int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int);
1: - int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16);
1: - int (*ndo_change_carrier)(struct net_device *, bool);
1: - int (*ndo_get_phys_port_id)(struct net_device *, struct netdev_phys_item_id *);
1: - int (*ndo_get_port_parent_id)(struct net_device *, struct netdev_phys_item_id *);
1: - int (*ndo_get_phys_port_name)(struct net_device *, char *, size_t);
1: - void (*ndo_udp_tunnel_add)(struct net_device *, struct udp_tunnel_info *);
1: - void (*ndo_udp_tunnel_del)(struct net_device *, struct udp_tunnel_info *);
1: - void * (*ndo_dfwd_add_station)(struct net_device *, struct net_device *);
1: - void (*ndo_dfwd_del_station)(struct net_device *, void *);
1: - int (*ndo_set_tx_maxrate)(struct net_device *, int, u32);
1: - int (*ndo_get_iflink)(const struct net_device *);
1: - int (*ndo_change_proto_down)(struct net_device *, bool);
1: - int (*ndo_fill_metadata_dst)(struct net_device *, struct sk_buff *);
1: - void (*ndo_set_rx_headroom)(struct net_device *, int);
1: - int (*ndo_bpf)(struct net_device *, struct netdev_bpf *);
1: - int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32);
1: - int (*ndo_xsk_wakeup)(struct net_device *, u32, u32);
1: - struct devlink_port * (*ndo_get_devlink_port)(struct net_device *);
1: + int (*ndo_init)(struct net_device *);
1: + void (*ndo_uninit)(struct net_device *);
1: + int (*ndo_open)(struct net_device *);
1: + int (*ndo_stop)(struct net_device *);
1: + netdev_tx_t (*ndo_start_xmit)(struct sk_buff *, struct net_device *);
1: + netdev_features_t (*ndo_features_check)(struct sk_buff *, struct net_device *,
1: + netdev_features_t);
1: + u16 (*ndo_select_queue)(struct net_device *, struct sk_buff *,
1: + struct net_device *);
1: + void (*ndo_change_rx_flags)(struct net_device *, int);
1: + void (*ndo_set_rx_mode)(struct net_device *);
1: + int (*ndo_set_mac_address)(struct net_device *, void *);
1: + int (*ndo_validate_addr)(struct net_device *);
1: + int (*ndo_do_ioctl)(struct net_device *, struct ifreq *, int);
1: + int (*ndo_set_config)(struct net_device *, struct ifmap *);
1: + int (*ndo_change_mtu)(struct net_device *, int);
1: + int (*ndo_neigh_setup)(struct net_device *, struct neigh_parms *);
1: + void (*ndo_tx_timeout)(struct net_device *);
1: + void (*ndo_get_stats64)(struct net_device *, struct rtnl_link_stats64 *);
1: + bool (*ndo_has_offload_stats)(const struct net_device *, int);
1: + int (*ndo_get_offload_stats)(int, const struct net_device *, void *);
1: + struct net_device_stats *(*ndo_get_stats)(struct net_device *);
1: + int (*ndo_vlan_rx_add_vid)(struct net_device *, __be16, u16);
1: + int (*ndo_vlan_rx_kill_vid)(struct net_device *, __be16, u16);
1: + void (*ndo_poll_controller)(struct net_device *);
1: + int (*ndo_netpoll_setup)(struct net_device *, struct netpoll_info *);
1: + void (*ndo_netpoll_cleanup)(struct net_device *);
1: + int (*ndo_set_vf_mac)(struct net_device *, int, u8 *);
1: + int (*ndo_set_vf_vlan)(struct net_device *, int, u16, u8, __be16);
1: + int (*ndo_set_vf_rate)(struct net_device *, int, int, int);
1: + int (*ndo_set_vf_spoofchk)(struct net_device *, int, bool);
1: + int (*ndo_set_vf_trust)(struct net_device *, int, bool);
1: + int (*ndo_get_vf_config)(struct net_device *, int, struct ifla_vf_info *);
1: + int (*ndo_set_vf_link_state)(struct net_device *, int, int);
1: + int (*ndo_get_vf_stats)(struct net_device *, int, struct ifla_vf_stats *);
1: + int (*ndo_set_vf_port)(struct net_device *, int, struct nlattr **);
1: + int (*ndo_get_vf_port)(struct net_device *, int, struct sk_buff *);
1: + int (*ndo_get_vf_guid)(struct net_device *, int, struct ifla_vf_guid *,
1: + struct ifla_vf_guid *);
1: + int (*ndo_set_vf_guid)(struct net_device *, int, u64, int);
1: + int (*ndo_set_vf_rss_query_en)(struct net_device *, int, bool);
1: + int (*ndo_setup_tc)(struct net_device *, enum tc_setup_type, void *);
1: + int (*ndo_rx_flow_steer)(struct net_device *, const struct sk_buff *, u16,
1: + u32);
1: + int (*ndo_add_slave)(struct net_device *, struct net_device *,
1: + struct netlink_ext_ack *);
1: + int (*ndo_del_slave)(struct net_device *, struct net_device *);
1: + netdev_features_t (*ndo_fix_features)(struct net_device *, netdev_features_t);
1: + int (*ndo_set_features)(struct net_device *, netdev_features_t);
1: + int (*ndo_neigh_construct)(struct net_device *, struct neighbour *);
1: + void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *);
1: + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *,
1: + const unsigned char *, u16, u16, struct netlink_ext_ack *);
1: + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *,
1: + const unsigned char *, u16);
1: + int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *,
1: + struct net_device *, struct net_device *, int *);
1: + int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *,
1: + const unsigned char *, u16, u32, u32,
1: + struct netlink_ext_ack *);
1: + int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16,
1: + struct netlink_ext_ack *);
1: + int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *,
1: + u32, int);
1: + int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16);
1: + int (*ndo_change_carrier)(struct net_device *, bool);
1: + int (*ndo_get_phys_port_id)(struct net_device *,
1: + struct netdev_phys_item_id *);
1: + int (*ndo_get_port_parent_id)(struct net_device *,
1: + struct netdev_phys_item_id *);
1: + int (*ndo_get_phys_port_name)(struct net_device *, char *, size_t);
1: + void (*ndo_udp_tunnel_add)(struct net_device *, struct udp_tunnel_info *);
1: + void (*ndo_udp_tunnel_del)(struct net_device *, struct udp_tunnel_info *);
1: + void *(*ndo_dfwd_add_station)(struct net_device *, struct net_device *);
1: + void (*ndo_dfwd_del_station)(struct net_device *, void *);
1: + int (*ndo_set_tx_maxrate)(struct net_device *, int, u32);
1: + int (*ndo_get_iflink)(const struct net_device *);
1: + int (*ndo_change_proto_down)(struct net_device *, bool);
1: + int (*ndo_fill_metadata_dst)(struct net_device *, struct sk_buff *);
1: + void (*ndo_set_rx_headroom)(struct net_device *, int);
1: + int (*ndo_bpf)(struct net_device *, struct netdev_bpf *);
1: + int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32);
1: + int (*ndo_xsk_wakeup)(struct net_device *, u32, u32);
1: + struct devlink_port *(*ndo_get_devlink_port)(struct net_device *);
1: };
1:
1: struct neigh_parms {
1: - possible_net_t net;
1: - struct net_device *dev;
1: - struct list_head list;
1: - int (*neigh_setup)(struct neighbour *);
1: - struct neigh_table *tbl;
1: - void *sysctl_table;
1: - int dead;
1: - refcount_t refcnt;
1: - struct callback_head callback_head;
1: - int reachable_time;
1: - int data[13];
1: - long unsigned int data_state[1];
1: + possible_net_t net;
1: + struct net_device *dev;
1: + struct list_head list;
1: + int (*neigh_setup)(struct neighbour *);
1: + struct neigh_table *tbl;
1: + void *sysctl_table;
1: + int dead;
1: + refcount_t refcnt;
1: + struct callback_head callback_head;
1: + int reachable_time;
1: + int data[13];
1: + long unsigned int data_state[1];
1: };
1:
1: struct pcpu_lstats {
1: - u64_stats_t packets;
1: - u64_stats_t bytes;
1: - struct u64_stats_sync syncp;
1: + u64_stats_t packets;
1: + u64_stats_t bytes;
1: + struct u64_stats_sync syncp;
1: };
1:
1: struct pcpu_sw_netstats {
1: - u64 rx_packets;
1: - u64 rx_bytes;
1: - u64 tx_packets;
1: - u64 tx_bytes;
1: - struct u64_stats_sync syncp;
1: + u64 rx_packets;
1: + u64 rx_bytes;
1: + u64 tx_packets;
1: + u64 tx_bytes;
1: + struct u64_stats_sync syncp;
1: };
1:
1: struct nd_opt_hdr;
1: @@ -12515,19 +12613,26 @@ struct ndisc_options;
1: struct prefix_info;
1:
1: struct ndisc_ops {
1: - int (*is_useropt)(u8);
1: - int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *);
1: - void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *);
1: - int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **);
1: - void (*fill_addr_option)(const struct net_device *, struct sk_buff *, u8, const u8 *);
1: - void (*prefix_rcv_add_addr)(struct net *, struct net_device *, const struct prefix_info *, struct inet6_dev *, struct in6_addr *, int, u32, bool, bool, __u32, u32, bool);
1: + int (*is_useropt)(u8);
1: + int (*parse_options)(const struct net_device *, struct nd_opt_hdr *,
1: + struct ndisc_options *);
1: + void (*update)(const struct net_device *, struct neighbour *, u32, u8,
1: + const struct ndisc_options *);
1: + int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *,
1: + u8 **);
1: + void (*fill_addr_option)(const struct net_device *, struct sk_buff *, u8,
1: + const u8 *);
1: + void (*prefix_rcv_add_addr)(struct net *, struct net_device *,
1: + const struct prefix_info *, struct inet6_dev *,
1: + struct in6_addr *, int, u32, bool, bool, __u32,
1: + u32, bool);
1: };
1:
1: struct ipv6_devstat {
1: - struct proc_dir_entry *proc_dir_entry;
1: - struct ipstats_mib *ipv6;
1: - struct icmpv6_mib_device *icmpv6dev;
1: - struct icmpv6msg_mib_device *icmpv6msgdev;
1: + struct proc_dir_entry *proc_dir_entry;
1: + struct ipstats_mib *ipv6;
1: + struct icmpv6_mib_device *icmpv6dev;
1: + struct icmpv6msg_mib_device *icmpv6msgdev;
1: };
1:
1: struct ifmcaddr6;
1: @@ -12535,239 +12640,246 @@ struct ifmcaddr6;
1: struct ifacaddr6;
1:
1: struct inet6_dev {
1: - struct net_device *dev;
1: - struct list_head addr_list;
1: - struct ifmcaddr6 *mc_list;
1: - struct ifmcaddr6 *mc_tomb;
1: - spinlock_t mc_lock;
1: - unsigned char mc_qrv;
1: - unsigned char mc_gq_running;
1: - unsigned char mc_ifc_count;
1: - unsigned char mc_dad_count;
1: - long unsigned int mc_v1_seen;
1: - long unsigned int mc_qi;
1: - long unsigned int mc_qri;
1: - long unsigned int mc_maxdelay;
1: - struct timer_list mc_gq_timer;
1: - struct timer_list mc_ifc_timer;
1: - struct timer_list mc_dad_timer;
1: - struct ifacaddr6 *ac_list;
1: - rwlock_t lock;
1: - refcount_t refcnt;
1: - __u32 if_flags;
1: - int dead;
1: - u32 desync_factor;
1: - u8 rndid[8];
1: - struct list_head tempaddr_list;
1: - struct in6_addr token;
1: - struct neigh_parms *nd_parms;
1: - struct ipv6_devconf cnf;
1: - struct ipv6_devstat stats;
1: - struct timer_list rs_timer;
1: - __s32 rs_interval;
1: - __u8 rs_probes;
1: - long unsigned int tstamp;
1: - struct callback_head rcu;
1: + struct net_device *dev;
1: + struct list_head addr_list;
1: + struct ifmcaddr6 *mc_list;
1: + struct ifmcaddr6 *mc_tomb;
1: + spinlock_t mc_lock;
1: + unsigned char mc_qrv;
1: + unsigned char mc_gq_running;
1: + unsigned char mc_ifc_count;
1: + unsigned char mc_dad_count;
1: + long unsigned int mc_v1_seen;
1: + long unsigned int mc_qi;
1: + long unsigned int mc_qri;
1: + long unsigned int mc_maxdelay;
1: + struct timer_list mc_gq_timer;
1: + struct timer_list mc_ifc_timer;
1: + struct timer_list mc_dad_timer;
1: + struct ifacaddr6 *ac_list;
1: + rwlock_t lock;
1: + refcount_t refcnt;
1: + __u32 if_flags;
1: + int dead;
1: + u32 desync_factor;
1: + u8 rndid[8];
1: + struct list_head tempaddr_list;
1: + struct in6_addr token;
1: + struct neigh_parms *nd_parms;
1: + struct ipv6_devconf cnf;
1: + struct ipv6_devstat stats;
1: + struct timer_list rs_timer;
1: + __s32 rs_interval;
1: + __u8 rs_probes;
1: + long unsigned int tstamp;
1: + struct callback_head rcu;
1: };
1:
1: struct tcf_proto;
1:
1: struct mini_Qdisc {
1: - struct tcf_proto *filter_list;
1: - struct gnet_stats_basic_cpu *cpu_bstats;
1: - struct gnet_stats_queue *cpu_qstats;
1: - struct callback_head rcu;
1: + struct tcf_proto *filter_list;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_queue *cpu_qstats;
1: + struct callback_head rcu;
1: };
1:
1: struct rtnl_link_ops {
1: - struct list_head list;
1: - const char *kind;
1: - size_t priv_size;
1: - void (*setup)(struct net_device *);
1: - unsigned int maxtype;
1: - const struct nla_policy *policy;
1: - int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: - int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: - int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: - void (*dellink)(struct net_device *, struct list_head *);
1: - size_t (*get_size)(const struct net_device *);
1: - int (*fill_info)(struct sk_buff *, const struct net_device *);
1: - size_t (*get_xstats_size)(const struct net_device *);
1: - int (*fill_xstats)(struct sk_buff *, const struct net_device *);
1: - unsigned int (*get_num_tx_queues)();
1: - unsigned int (*get_num_rx_queues)();
1: - unsigned int slave_maxtype;
1: - const struct nla_policy *slave_policy;
1: - int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: - size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
1: - int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
1: - struct net * (*get_link_net)(const struct net_device *);
1: - size_t (*get_linkxstats_size)(const struct net_device *, int);
1: - int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
1: + struct list_head list;
1: + const char *kind;
1: + size_t priv_size;
1: + void (*setup)(struct net_device *);
1: + unsigned int maxtype;
1: + const struct nla_policy *policy;
1: + int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + int (*newlink)(struct net *, struct net_device *, struct nlattr **,
1: + struct nlattr **, struct netlink_ext_ack *);
1: + int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **,
1: + struct netlink_ext_ack *);
1: + void (*dellink)(struct net_device *, struct list_head *);
1: + size_t (*get_size)(const struct net_device *);
1: + int (*fill_info)(struct sk_buff *, const struct net_device *);
1: + size_t (*get_xstats_size)(const struct net_device *);
1: + int (*fill_xstats)(struct sk_buff *, const struct net_device *);
1: + unsigned int (*get_num_tx_queues)();
1: + unsigned int (*get_num_rx_queues)();
1: + unsigned int slave_maxtype;
1: + const struct nla_policy *slave_policy;
1: + int (*slave_changelink)(struct net_device *, struct net_device *,
1: + struct nlattr **, struct nlattr **,
1: + struct netlink_ext_ack *);
1: + size_t (*get_slave_size)(const struct net_device *,
1: + const struct net_device *);
1: + int (*fill_slave_info)(struct sk_buff *, const struct net_device *,
1: + const struct net_device *);
1: + struct net *(*get_link_net)(const struct net_device *);
1: + size_t (*get_linkxstats_size)(const struct net_device *, int);
1: + int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *,
1: + int);
1: };
1:
1: struct sd_flow_limit {
1: - u64 count;
1: - unsigned int num_buckets;
1: - unsigned int history_head;
1: - u16 history[128];
1: - u8 buckets[0];
1: + u64 count;
1: + unsigned int num_buckets;
1: + unsigned int history_head;
1: + u16 history[128];
1: + u8 buckets[0];
1: };
1:
1: struct softnet_data {
1: - struct list_head poll_list;
1: - struct sk_buff_head process_queue;
1: - unsigned int processed;
1: - unsigned int time_squeeze;
1: - unsigned int received_rps;
1: - struct softnet_data *rps_ipi_list;
1: - struct sd_flow_limit *flow_limit;
1: - struct Qdisc *output_queue;
1: - struct Qdisc **output_queue_tailp;
1: - struct sk_buff *completion_queue;
1: - struct {
1: - u16 recursion;
1: - u8 more;
1: - } xmit;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - unsigned int input_queue_head;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - call_single_data_t csd;
1: - struct softnet_data *rps_ipi_next;
1: - unsigned int cpu;
1: - unsigned int input_queue_tail;
1: - unsigned int dropped;
1: - struct sk_buff_head input_pkt_queue;
1: - struct napi_struct backlog;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: -};
1: -
1: -enum {
1: - RTAX_UNSPEC = 0,
1: - RTAX_LOCK = 1,
1: - RTAX_MTU = 2,
1: - RTAX_WINDOW = 3,
1: - RTAX_RTT = 4,
1: - RTAX_RTTVAR = 5,
1: - RTAX_SSTHRESH = 6,
1: - RTAX_CWND = 7,
1: - RTAX_ADVMSS = 8,
1: - RTAX_REORDERING = 9,
1: - RTAX_HOPLIMIT = 10,
1: - RTAX_INITCWND = 11,
1: - RTAX_FEATURES = 12,
1: - RTAX_RTO_MIN = 13,
1: - RTAX_INITRWND = 14,
1: - RTAX_QUICKACK = 15,
1: - RTAX_CC_ALGO = 16,
1: - RTAX_FASTOPEN_NO_COOKIE = 17,
1: - __RTAX_MAX = 18,
1: + struct list_head poll_list;
1: + struct sk_buff_head process_queue;
1: + unsigned int processed;
1: + unsigned int time_squeeze;
1: + unsigned int received_rps;
1: + struct softnet_data *rps_ipi_list;
1: + struct sd_flow_limit *flow_limit;
1: + struct Qdisc *output_queue;
1: + struct Qdisc **output_queue_tailp;
1: + struct sk_buff *completion_queue;
1: + struct {
1: + u16 recursion;
1: + u8 more;
1: + } xmit;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + unsigned int input_queue_head;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + call_single_data_t csd;
1: + struct softnet_data *rps_ipi_next;
1: + unsigned int cpu;
1: + unsigned int input_queue_tail;
1: + unsigned int dropped;
1: + struct sk_buff_head input_pkt_queue;
1: + struct napi_struct backlog;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: +};
1: +
1: +enum {
1: + RTAX_UNSPEC = 0,
1: + RTAX_LOCK = 1,
1: + RTAX_MTU = 2,
1: + RTAX_WINDOW = 3,
1: + RTAX_RTT = 4,
1: + RTAX_RTTVAR = 5,
1: + RTAX_SSTHRESH = 6,
1: + RTAX_CWND = 7,
1: + RTAX_ADVMSS = 8,
1: + RTAX_REORDERING = 9,
1: + RTAX_HOPLIMIT = 10,
1: + RTAX_INITCWND = 11,
1: + RTAX_FEATURES = 12,
1: + RTAX_RTO_MIN = 13,
1: + RTAX_INITRWND = 14,
1: + RTAX_QUICKACK = 15,
1: + RTAX_CC_ALGO = 16,
1: + RTAX_FASTOPEN_NO_COOKIE = 17,
1: + __RTAX_MAX = 18,
1: };
1:
1: struct tcmsg {
1: - unsigned char tcm_family;
1: - unsigned char tcm__pad1;
1: - short unsigned int tcm__pad2;
1: - int tcm_ifindex;
1: - __u32 tcm_handle;
1: - __u32 tcm_parent;
1: - __u32 tcm_info;
1: + unsigned char tcm_family;
1: + unsigned char tcm__pad1;
1: + short unsigned int tcm__pad2;
1: + int tcm_ifindex;
1: + __u32 tcm_handle;
1: + __u32 tcm_parent;
1: + __u32 tcm_info;
1: };
1:
1: struct gnet_stats_basic_cpu {
1: - struct gnet_stats_basic_packed bstats;
1: - struct u64_stats_sync syncp;
1: + struct gnet_stats_basic_packed bstats;
1: + struct u64_stats_sync syncp;
1: };
1:
1: struct gnet_dump {
1: - spinlock_t *lock;
1: - struct sk_buff *skb;
1: - struct nlattr *tail;
1: - int compat_tc_stats;
1: - int compat_xstats;
1: - int padattr;
1: - void *xstats;
1: - int xstats_len;
1: - struct tc_stats tc_stats;
1: + spinlock_t *lock;
1: + struct sk_buff *skb;
1: + struct nlattr *tail;
1: + int compat_tc_stats;
1: + int compat_xstats;
1: + int padattr;
1: + void *xstats;
1: + int xstats_len;
1: + struct tc_stats tc_stats;
1: };
1:
1: struct nla_policy {
1: - u8 type;
1: - u8 validation_type;
1: - u16 len;
1: - union {
1: - const void *validation_data;
1: - struct {
1: - s16 min;
1: - s16 max;
1: - };
1: - int (*validate)(const struct nlattr *, struct netlink_ext_ack *);
1: - u16 strict_start_type;
1: - };
1: + u8 type;
1: + u8 validation_type;
1: + u16 len;
1: + union {
1: + const void *validation_data;
1: + struct {
1: + s16 min;
1: + s16 max;
1: + };
1: + int (*validate)(const struct nlattr *, struct netlink_ext_ack *);
1: + u16 strict_start_type;
1: + };
1: };
1:
1: struct nl_info {
1: - struct nlmsghdr *nlh;
1: - struct net *nl_net;
1: - u32 portid;
1: - u8 skip_notify: 1;
1: - u8 skip_notify_kernel: 1;
1: + struct nlmsghdr *nlh;
1: + struct net *nl_net;
1: + u32 portid;
1: + u8 skip_notify : 1;
1: + u8 skip_notify_kernel : 1;
1: };
1:
1: struct rhash_lock_head {};
1:
1: struct flow_block {
1: - struct list_head cb_list;
1: + struct list_head cb_list;
1: };
1:
1: typedef int flow_setup_cb_t(enum tc_setup_type, void *, void *);
1:
1: struct qdisc_size_table {
1: - struct callback_head rcu;
1: - struct list_head list;
1: - struct tc_sizespec szopts;
1: - int refcnt;
1: - u16 data[0];
1: + struct callback_head rcu;
1: + struct list_head list;
1: + struct tc_sizespec szopts;
1: + int refcnt;
1: + u16 data[0];
1: };
1:
1: struct Qdisc_class_ops;
1:
1: struct Qdisc_ops {
1: - struct Qdisc_ops *next;
1: - const struct Qdisc_class_ops *cl_ops;
1: - char id[16];
1: - int priv_size;
1: - unsigned int static_flags;
1: - int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **);
1: - struct sk_buff * (*dequeue)(struct Qdisc *);
1: - struct sk_buff * (*peek)(struct Qdisc *);
1: - int (*init)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *);
1: - void (*reset)(struct Qdisc *);
1: - void (*destroy)(struct Qdisc *);
1: - int (*change)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *);
1: - void (*attach)(struct Qdisc *);
1: - int (*change_tx_queue_len)(struct Qdisc *, unsigned int);
1: - int (*dump)(struct Qdisc *, struct sk_buff *);
1: - int (*dump_stats)(struct Qdisc *, struct gnet_dump *);
1: - void (*ingress_block_set)(struct Qdisc *, u32);
1: - void (*egress_block_set)(struct Qdisc *, u32);
1: - u32 (*ingress_block_get)(struct Qdisc *);
1: - u32 (*egress_block_get)(struct Qdisc *);
1: - struct module *owner;
1: + struct Qdisc_ops *next;
1: + const struct Qdisc_class_ops *cl_ops;
1: + char id[16];
1: + int priv_size;
1: + unsigned int static_flags;
1: + int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **);
1: + struct sk_buff *(*dequeue)(struct Qdisc *);
1: + struct sk_buff *(*peek)(struct Qdisc *);
1: + int (*init)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *);
1: + void (*reset)(struct Qdisc *);
1: + void (*destroy)(struct Qdisc *);
1: + int (*change)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *);
1: + void (*attach)(struct Qdisc *);
1: + int (*change_tx_queue_len)(struct Qdisc *, unsigned int);
1: + int (*dump)(struct Qdisc *, struct sk_buff *);
1: + int (*dump_stats)(struct Qdisc *, struct gnet_dump *);
1: + void (*ingress_block_set)(struct Qdisc *, u32);
1: + void (*egress_block_set)(struct Qdisc *, u32);
1: + u32 (*ingress_block_get)(struct Qdisc *);
1: + u32 (*egress_block_get)(struct Qdisc *);
1: + struct module *owner;
1: };
1:
1: struct qdisc_walker;
1: @@ -12775,45 +12887,49 @@ struct qdisc_walker;
1: struct tcf_block;
1:
1: struct Qdisc_class_ops {
1: - unsigned int flags;
1: - struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *);
1: - int (*graft)(struct Qdisc *, long unsigned int, struct Qdisc *, struct Qdisc **, struct netlink_ext_ack *);
1: - struct Qdisc * (*leaf)(struct Qdisc *, long unsigned int);
1: - void (*qlen_notify)(struct Qdisc *, long unsigned int);
1: - long unsigned int (*find)(struct Qdisc *, u32);
1: - int (*change)(struct Qdisc *, u32, u32, struct nlattr **, long unsigned int *, struct netlink_ext_ack *);
1: - int (*delete)(struct Qdisc *, long unsigned int);
1: - void (*walk)(struct Qdisc *, struct qdisc_walker *);
1: - struct tcf_block * (*tcf_block)(struct Qdisc *, long unsigned int, struct netlink_ext_ack *);
1: - long unsigned int (*bind_tcf)(struct Qdisc *, long unsigned int, u32);
1: - void (*unbind_tcf)(struct Qdisc *, long unsigned int);
1: - int (*dump)(struct Qdisc *, long unsigned int, struct sk_buff *, struct tcmsg *);
1: - int (*dump_stats)(struct Qdisc *, long unsigned int, struct gnet_dump *);
1: + unsigned int flags;
1: + struct netdev_queue *(*select_queue)(struct Qdisc *, struct tcmsg *);
1: + int (*graft)(struct Qdisc *, long unsigned int, struct Qdisc *,
1: + struct Qdisc **, struct netlink_ext_ack *);
1: + struct Qdisc *(*leaf)(struct Qdisc *, long unsigned int);
1: + void (*qlen_notify)(struct Qdisc *, long unsigned int);
1: + long unsigned int (*find)(struct Qdisc *, u32);
1: + int (*change)(struct Qdisc *, u32, u32, struct nlattr **, long unsigned int *,
1: + struct netlink_ext_ack *);
1: + int (*delete)(struct Qdisc *, long unsigned int);
1: + void (*walk)(struct Qdisc *, struct qdisc_walker *);
1: + struct tcf_block *(*tcf_block)(struct Qdisc *, long unsigned int,
1: + struct netlink_ext_ack *);
1: + long unsigned int (*bind_tcf)(struct Qdisc *, long unsigned int, u32);
1: + void (*unbind_tcf)(struct Qdisc *, long unsigned int);
1: + int (*dump)(struct Qdisc *, long unsigned int, struct sk_buff *,
1: + struct tcmsg *);
1: + int (*dump_stats)(struct Qdisc *, long unsigned int, struct gnet_dump *);
1: };
1:
1: struct tcf_chain;
1:
1: struct tcf_block {
1: - struct mutex lock;
1: - struct list_head chain_list;
1: - u32 index;
1: - refcount_t refcnt;
1: - struct net *net;
1: - struct Qdisc *q;
1: - struct rw_semaphore cb_lock;
1: - struct flow_block flow_block;
1: - struct list_head owner_list;
1: - bool keep_dst;
1: - atomic_t offloadcnt;
1: - unsigned int nooffloaddevcnt;
1: - unsigned int lockeddevcnt;
1: - struct {
1: - struct tcf_chain *chain;
1: - struct list_head filter_chain_list;
1: - } chain0;
1: - struct callback_head rcu;
1: - struct hlist_head proto_destroy_ht[128];
1: - struct mutex proto_destroy_lock;
1: + struct mutex lock;
1: + struct list_head chain_list;
1: + u32 index;
1: + refcount_t refcnt;
1: + struct net *net;
1: + struct Qdisc *q;
1: + struct rw_semaphore cb_lock;
1: + struct flow_block flow_block;
1: + struct list_head owner_list;
1: + bool keep_dst;
1: + atomic_t offloadcnt;
1: + unsigned int nooffloaddevcnt;
1: + unsigned int lockeddevcnt;
1: + struct {
1: + struct tcf_chain *chain;
1: + struct list_head filter_chain_list;
1: + } chain0;
1: + struct callback_head rcu;
1: + struct hlist_head proto_destroy_ht[128];
1: + struct mutex proto_destroy_lock;
1: };
1:
1: struct tcf_result;
1: @@ -12821,118 +12937,126 @@ struct tcf_result;
1: struct tcf_proto_ops;
1:
1: struct tcf_proto {
1: - struct tcf_proto *next;
1: - void *root;
1: - int (*classify)(struct sk_buff *, const struct tcf_proto *, struct tcf_result *);
1: - __be16 protocol;
1: - u32 prio;
1: - void *data;
1: - const struct tcf_proto_ops *ops;
1: - struct tcf_chain *chain;
1: - spinlock_t lock;
1: - bool deleting;
1: - refcount_t refcnt;
1: - struct callback_head rcu;
1: - struct hlist_node destroy_ht_node;
1: + struct tcf_proto *next;
1: + void *root;
1: + int (*classify)(struct sk_buff *, const struct tcf_proto *,
1: + struct tcf_result *);
1: + __be16 protocol;
1: + u32 prio;
1: + void *data;
1: + const struct tcf_proto_ops *ops;
1: + struct tcf_chain *chain;
1: + spinlock_t lock;
1: + bool deleting;
1: + refcount_t refcnt;
1: + struct callback_head rcu;
1: + struct hlist_node destroy_ht_node;
1: };
1:
1: struct tcf_result {
1: - union {
1: - struct {
1: - long unsigned int class;
1: - u32 classid;
1: - };
1: - const struct tcf_proto *goto_tp;
1: - struct {
1: - bool ingress;
1: - struct gnet_stats_queue *qstats;
1: - };
1: - };
1: + union {
1: + struct {
1: + long unsigned int class;
1: + u32 classid;
1: + };
1: + const struct tcf_proto *goto_tp;
1: + struct {
1: + bool ingress;
1: + struct gnet_stats_queue *qstats;
1: + };
1: + };
1: };
1:
1: struct tcf_walker;
1:
1: struct tcf_proto_ops {
1: - struct list_head head;
1: - char kind[16];
1: - int (*classify)(struct sk_buff *, const struct tcf_proto *, struct tcf_result *);
1: - int (*init)(struct tcf_proto *);
1: - void (*destroy)(struct tcf_proto *, bool, struct netlink_ext_ack *);
1: - void * (*get)(struct tcf_proto *, u32);
1: - void (*put)(struct tcf_proto *, void *);
1: - int (*change)(struct net *, struct sk_buff *, struct tcf_proto *, long unsigned int, u32, struct nlattr **, void **, bool, bool, struct netlink_ext_ack *);
1: - int (*delete)(struct tcf_proto *, void *, bool *, bool, struct netlink_ext_ack *);
1: - bool (*delete_empty)(struct tcf_proto *);
1: - void (*walk)(struct tcf_proto *, struct tcf_walker *, bool);
1: - int (*reoffload)(struct tcf_proto *, bool, flow_setup_cb_t *, void *, struct netlink_ext_ack *);
1: - void (*hw_add)(struct tcf_proto *, void *);
1: - void (*hw_del)(struct tcf_proto *, void *);
1: - void (*bind_class)(void *, u32, long unsigned int);
1: - void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *);
1: - void (*tmplt_destroy)(void *);
1: - int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool);
1: - int (*tmplt_dump)(struct sk_buff *, struct net *, void *);
1: - struct module *owner;
1: - int flags;
1: + struct list_head head;
1: + char kind[16];
1: + int (*classify)(struct sk_buff *, const struct tcf_proto *,
1: + struct tcf_result *);
1: + int (*init)(struct tcf_proto *);
1: + void (*destroy)(struct tcf_proto *, bool, struct netlink_ext_ack *);
1: + void *(*get)(struct tcf_proto *, u32);
1: + void (*put)(struct tcf_proto *, void *);
1: + int (*change)(struct net *, struct sk_buff *, struct tcf_proto *,
1: + long unsigned int, u32, struct nlattr **, void **, bool, bool,
1: + struct netlink_ext_ack *);
1: + int (*delete)(struct tcf_proto *, void *, bool *, bool,
1: + struct netlink_ext_ack *);
1: + bool (*delete_empty)(struct tcf_proto *);
1: + void (*walk)(struct tcf_proto *, struct tcf_walker *, bool);
1: + int (*reoffload)(struct tcf_proto *, bool, flow_setup_cb_t *, void *,
1: + struct netlink_ext_ack *);
1: + void (*hw_add)(struct tcf_proto *, void *);
1: + void (*hw_del)(struct tcf_proto *, void *);
1: + void (*bind_class)(void *, u32, long unsigned int);
1: + void *(*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **,
1: + struct netlink_ext_ack *);
1: + void (*tmplt_destroy)(void *);
1: + int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *,
1: + struct tcmsg *, bool);
1: + int (*tmplt_dump)(struct sk_buff *, struct net *, void *);
1: + struct module *owner;
1: + int flags;
1: };
1:
1: struct tcf_chain {
1: - struct mutex filter_chain_lock;
1: - struct tcf_proto *filter_chain;
1: - struct list_head list;
1: - struct tcf_block *block;
1: - u32 index;
1: - unsigned int refcnt;
1: - unsigned int action_refcnt;
1: - bool explicitly_created;
1: - bool flushing;
1: - const struct tcf_proto_ops *tmplt_ops;
1: - void *tmplt_priv;
1: - struct callback_head rcu;
1: + struct mutex filter_chain_lock;
1: + struct tcf_proto *filter_chain;
1: + struct list_head list;
1: + struct tcf_block *block;
1: + u32 index;
1: + unsigned int refcnt;
1: + unsigned int action_refcnt;
1: + bool explicitly_created;
1: + bool flushing;
1: + const struct tcf_proto_ops *tmplt_ops;
1: + void *tmplt_priv;
1: + struct callback_head rcu;
1: };
1:
1: struct sock_fprog_kern {
1: - u16 len;
1: - struct sock_filter *filter;
1: + u16 len;
1: + struct sock_filter *filter;
1: };
1:
1: struct sk_filter {
1: - refcount_t refcnt;
1: - struct callback_head rcu;
1: - struct bpf_prog *prog;
1: + refcount_t refcnt;
1: + struct callback_head rcu;
1: + struct bpf_prog *prog;
1: };
1:
1: struct bpf_redirect_info {
1: - u32 flags;
1: - u32 tgt_index;
1: - void *tgt_value;
1: - struct bpf_map *map;
1: - struct bpf_map *map_to_flush;
1: - u32 kern_flags;
1: -};
1: -
1: -enum {
1: - NEIGH_VAR_MCAST_PROBES = 0,
1: - NEIGH_VAR_UCAST_PROBES = 1,
1: - NEIGH_VAR_APP_PROBES = 2,
1: - NEIGH_VAR_MCAST_REPROBES = 3,
1: - NEIGH_VAR_RETRANS_TIME = 4,
1: - NEIGH_VAR_BASE_REACHABLE_TIME = 5,
1: - NEIGH_VAR_DELAY_PROBE_TIME = 6,
1: - NEIGH_VAR_GC_STALETIME = 7,
1: - NEIGH_VAR_QUEUE_LEN_BYTES = 8,
1: - NEIGH_VAR_PROXY_QLEN = 9,
1: - NEIGH_VAR_ANYCAST_DELAY = 10,
1: - NEIGH_VAR_PROXY_DELAY = 11,
1: - NEIGH_VAR_LOCKTIME = 12,
1: - NEIGH_VAR_QUEUE_LEN = 13,
1: - NEIGH_VAR_RETRANS_TIME_MS = 14,
1: - NEIGH_VAR_BASE_REACHABLE_TIME_MS = 15,
1: - NEIGH_VAR_GC_INTERVAL = 16,
1: - NEIGH_VAR_GC_THRESH1 = 17,
1: - NEIGH_VAR_GC_THRESH2 = 18,
1: - NEIGH_VAR_GC_THRESH3 = 19,
1: - NEIGH_VAR_MAX = 20,
1: + u32 flags;
1: + u32 tgt_index;
1: + void *tgt_value;
1: + struct bpf_map *map;
1: + struct bpf_map *map_to_flush;
1: + u32 kern_flags;
1: +};
1: +
1: +enum {
1: + NEIGH_VAR_MCAST_PROBES = 0,
1: + NEIGH_VAR_UCAST_PROBES = 1,
1: + NEIGH_VAR_APP_PROBES = 2,
1: + NEIGH_VAR_MCAST_REPROBES = 3,
1: + NEIGH_VAR_RETRANS_TIME = 4,
1: + NEIGH_VAR_BASE_REACHABLE_TIME = 5,
1: + NEIGH_VAR_DELAY_PROBE_TIME = 6,
1: + NEIGH_VAR_GC_STALETIME = 7,
1: + NEIGH_VAR_QUEUE_LEN_BYTES = 8,
1: + NEIGH_VAR_PROXY_QLEN = 9,
1: + NEIGH_VAR_ANYCAST_DELAY = 10,
1: + NEIGH_VAR_PROXY_DELAY = 11,
1: + NEIGH_VAR_LOCKTIME = 12,
1: + NEIGH_VAR_QUEUE_LEN = 13,
1: + NEIGH_VAR_RETRANS_TIME_MS = 14,
1: + NEIGH_VAR_BASE_REACHABLE_TIME_MS = 15,
1: + NEIGH_VAR_GC_INTERVAL = 16,
1: + NEIGH_VAR_GC_THRESH1 = 17,
1: + NEIGH_VAR_GC_THRESH2 = 18,
1: + NEIGH_VAR_GC_THRESH3 = 19,
1: + NEIGH_VAR_MAX = 20,
1: };
1:
1: struct pneigh_entry;
1: @@ -12942,150 +13066,150 @@ struct neigh_statistics;
1: struct neigh_hash_table;
1:
1: struct neigh_table {
1: - int family;
1: - unsigned int entry_size;
1: - unsigned int key_len;
1: - __be16 protocol;
1: - __u32 (*hash)(const void *, const struct net_device *, __u32 *);
1: - bool (*key_eq)(const struct neighbour *, const void *);
1: - int (*constructor)(struct neighbour *);
1: - int (*pconstructor)(struct pneigh_entry *);
1: - void (*pdestructor)(struct pneigh_entry *);
1: - void (*proxy_redo)(struct sk_buff *);
1: - bool (*allow_add)(const struct net_device *, struct netlink_ext_ack *);
1: - char *id;
1: - struct neigh_parms parms;
1: - struct list_head parms_list;
1: - int gc_interval;
1: - int gc_thresh1;
1: - int gc_thresh2;
1: - int gc_thresh3;
1: - long unsigned int last_flush;
1: - struct delayed_work gc_work;
1: - struct timer_list proxy_timer;
1: - struct sk_buff_head proxy_queue;
1: - atomic_t entries;
1: - atomic_t gc_entries;
1: - struct list_head gc_list;
1: - rwlock_t lock;
1: - long unsigned int last_rand;
1: - struct neigh_statistics *stats;
1: - struct neigh_hash_table *nht;
1: - struct pneigh_entry **phash_buckets;
1: + int family;
1: + unsigned int entry_size;
1: + unsigned int key_len;
1: + __be16 protocol;
1: + __u32 (*hash)(const void *, const struct net_device *, __u32 *);
1: + bool (*key_eq)(const struct neighbour *, const void *);
1: + int (*constructor)(struct neighbour *);
1: + int (*pconstructor)(struct pneigh_entry *);
1: + void (*pdestructor)(struct pneigh_entry *);
1: + void (*proxy_redo)(struct sk_buff *);
1: + bool (*allow_add)(const struct net_device *, struct netlink_ext_ack *);
1: + char *id;
1: + struct neigh_parms parms;
1: + struct list_head parms_list;
1: + int gc_interval;
1: + int gc_thresh1;
1: + int gc_thresh2;
1: + int gc_thresh3;
1: + long unsigned int last_flush;
1: + struct delayed_work gc_work;
1: + struct timer_list proxy_timer;
1: + struct sk_buff_head proxy_queue;
1: + atomic_t entries;
1: + atomic_t gc_entries;
1: + struct list_head gc_list;
1: + rwlock_t lock;
1: + long unsigned int last_rand;
1: + struct neigh_statistics *stats;
1: + struct neigh_hash_table *nht;
1: + struct pneigh_entry **phash_buckets;
1: };
1:
1: struct neigh_statistics {
1: - long unsigned int allocs;
1: - long unsigned int destroys;
1: - long unsigned int hash_grows;
1: - long unsigned int res_failed;
1: - long unsigned int lookups;
1: - long unsigned int hits;
1: - long unsigned int rcv_probes_mcast;
1: - long unsigned int rcv_probes_ucast;
1: - long unsigned int periodic_gc_runs;
1: - long unsigned int forced_gc_runs;
1: - long unsigned int unres_discards;
1: - long unsigned int table_fulls;
1: + long unsigned int allocs;
1: + long unsigned int destroys;
1: + long unsigned int hash_grows;
1: + long unsigned int res_failed;
1: + long unsigned int lookups;
1: + long unsigned int hits;
1: + long unsigned int rcv_probes_mcast;
1: + long unsigned int rcv_probes_ucast;
1: + long unsigned int periodic_gc_runs;
1: + long unsigned int forced_gc_runs;
1: + long unsigned int unres_discards;
1: + long unsigned int table_fulls;
1: };
1:
1: struct neigh_ops {
1: - int family;
1: - void (*solicit)(struct neighbour *, struct sk_buff *);
1: - void (*error_report)(struct neighbour *, struct sk_buff *);
1: - int (*output)(struct neighbour *, struct sk_buff *);
1: - int (*connected_output)(struct neighbour *, struct sk_buff *);
1: + int family;
1: + void (*solicit)(struct neighbour *, struct sk_buff *);
1: + void (*error_report)(struct neighbour *, struct sk_buff *);
1: + int (*output)(struct neighbour *, struct sk_buff *);
1: + int (*connected_output)(struct neighbour *, struct sk_buff *);
1: };
1:
1: struct pneigh_entry {
1: - struct pneigh_entry *next;
1: - possible_net_t net;
1: - struct net_device *dev;
1: - u8 flags;
1: - u8 protocol;
1: - u8 key[0];
1: + struct pneigh_entry *next;
1: + possible_net_t net;
1: + struct net_device *dev;
1: + u8 flags;
1: + u8 protocol;
1: + u8 key[0];
1: };
1:
1: struct neigh_hash_table {
1: - struct neighbour **hash_buckets;
1: - unsigned int hash_shift;
1: - __u32 hash_rnd[4];
1: - struct callback_head rcu;
1: + struct neighbour **hash_buckets;
1: + unsigned int hash_shift;
1: + __u32 hash_rnd[4];
1: + struct callback_head rcu;
1: };
1:
1: enum {
1: - TCP_ESTABLISHED = 1,
1: - TCP_SYN_SENT = 2,
1: - TCP_SYN_RECV = 3,
1: - TCP_FIN_WAIT1 = 4,
1: - TCP_FIN_WAIT2 = 5,
1: - TCP_TIME_WAIT = 6,
1: - TCP_CLOSE = 7,
1: - TCP_CLOSE_WAIT = 8,
1: - TCP_LAST_ACK = 9,
1: - TCP_LISTEN = 10,
1: - TCP_CLOSING = 11,
1: - TCP_NEW_SYN_RECV = 12,
1: - TCP_MAX_STATES = 13,
1: + TCP_ESTABLISHED = 1,
1: + TCP_SYN_SENT = 2,
1: + TCP_SYN_RECV = 3,
1: + TCP_FIN_WAIT1 = 4,
1: + TCP_FIN_WAIT2 = 5,
1: + TCP_TIME_WAIT = 6,
1: + TCP_CLOSE = 7,
1: + TCP_CLOSE_WAIT = 8,
1: + TCP_LAST_ACK = 9,
1: + TCP_LISTEN = 10,
1: + TCP_CLOSING = 11,
1: + TCP_NEW_SYN_RECV = 12,
1: + TCP_MAX_STATES = 13,
1: };
1:
1: struct fib_rule_hdr {
1: - __u8 family;
1: - __u8 dst_len;
1: - __u8 src_len;
1: - __u8 tos;
1: - __u8 table;
1: - __u8 res1;
1: - __u8 res2;
1: - __u8 action;
1: - __u32 flags;
1: + __u8 family;
1: + __u8 dst_len;
1: + __u8 src_len;
1: + __u8 tos;
1: + __u8 table;
1: + __u8 res1;
1: + __u8 res2;
1: + __u8 action;
1: + __u32 flags;
1: };
1:
1: struct fib_rule_port_range {
1: - __u16 start;
1: - __u16 end;
1: + __u16 start;
1: + __u16 end;
1: };
1:
1: struct fib_kuid_range {
1: - kuid_t start;
1: - kuid_t end;
1: + kuid_t start;
1: + kuid_t end;
1: };
1:
1: struct fib_rule {
1: - struct list_head list;
1: - int iifindex;
1: - int oifindex;
1: - u32 mark;
1: - u32 mark_mask;
1: - u32 flags;
1: - u32 table;
1: - u8 action;
1: - u8 l3mdev;
1: - u8 proto;
1: - u8 ip_proto;
1: - u32 target;
1: - __be64 tun_id;
1: - struct fib_rule *ctarget;
1: - struct net *fr_net;
1: - refcount_t refcnt;
1: - u32 pref;
1: - int suppress_ifgroup;
1: - int suppress_prefixlen;
1: - char iifname[16];
1: - char oifname[16];
1: - struct fib_kuid_range uid_range;
1: - struct fib_rule_port_range sport_range;
1: - struct fib_rule_port_range dport_range;
1: - struct callback_head rcu;
1: + struct list_head list;
1: + int iifindex;
1: + int oifindex;
1: + u32 mark;
1: + u32 mark_mask;
1: + u32 flags;
1: + u32 table;
1: + u8 action;
1: + u8 l3mdev;
1: + u8 proto;
1: + u8 ip_proto;
1: + u32 target;
1: + __be64 tun_id;
1: + struct fib_rule *ctarget;
1: + struct net *fr_net;
1: + refcount_t refcnt;
1: + u32 pref;
1: + int suppress_ifgroup;
1: + int suppress_prefixlen;
1: + char iifname[16];
1: + char oifname[16];
1: + struct fib_kuid_range uid_range;
1: + struct fib_rule_port_range sport_range;
1: + struct fib_rule_port_range dport_range;
1: + struct callback_head rcu;
1: };
1:
1: struct fib_lookup_arg {
1: - void *lookup_ptr;
1: - const void *lookup_data;
1: - void *result;
1: - struct fib_rule *rule;
1: - u32 table;
1: - int flags;
1: + void *lookup_ptr;
1: + const void *lookup_data;
1: + void *result;
1: + struct fib_rule *rule;
1: + u32 table;
1: + int flags;
1: };
1:
1: struct smc_hashinfo;
1: @@ -13099,156 +13223,157 @@ struct udp_table;
1: struct raw_hashinfo;
1:
1: struct proto {
1: - void (*close)(struct sock *, long int);
1: - int (*pre_connect)(struct sock *, struct sockaddr *, int);
1: - int (*connect)(struct sock *, struct sockaddr *, int);
1: - int (*disconnect)(struct sock *, int);
1: - struct sock * (*accept)(struct sock *, int, int *, bool);
1: - int (*ioctl)(struct sock *, int, long unsigned int);
1: - int (*init)(struct sock *);
1: - void (*destroy)(struct sock *);
1: - void (*shutdown)(struct sock *, int);
1: - int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: - int (*getsockopt)(struct sock *, int, int, char *, int *);
1: - void (*keepalive)(struct sock *, int);
1: - int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: - int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: - int (*compat_ioctl)(struct sock *, unsigned int, long unsigned int);
1: - int (*sendmsg)(struct sock *, struct msghdr *, size_t);
1: - int (*recvmsg)(struct sock *, struct msghdr *, size_t, int, int, int *);
1: - int (*sendpage)(struct sock *, struct page *, int, size_t, int);
1: - int (*bind)(struct sock *, struct sockaddr *, int);
1: - int (*backlog_rcv)(struct sock *, struct sk_buff *);
1: - void (*release_cb)(struct sock *);
1: - int (*hash)(struct sock *);
1: - void (*unhash)(struct sock *);
1: - void (*rehash)(struct sock *);
1: - int (*get_port)(struct sock *, short unsigned int);
1: - unsigned int inuse_idx;
1: - bool (*stream_memory_free)(const struct sock *, int);
1: - bool (*stream_memory_read)(const struct sock *);
1: - void (*enter_memory_pressure)(struct sock *);
1: - void (*leave_memory_pressure)(struct sock *);
1: - atomic_long_t *memory_allocated;
1: - struct percpu_counter *sockets_allocated;
1: - long unsigned int *memory_pressure;
1: - long int *sysctl_mem;
1: - int *sysctl_wmem;
1: - int *sysctl_rmem;
1: - u32 sysctl_wmem_offset;
1: - u32 sysctl_rmem_offset;
1: - int max_header;
1: - bool no_autobind;
1: - struct kmem_cache *slab;
1: - unsigned int obj_size;
1: - slab_flags_t slab_flags;
1: - unsigned int useroffset;
1: - unsigned int usersize;
1: - struct percpu_counter *orphan_count;
1: - struct request_sock_ops *rsk_prot;
1: - struct timewait_sock_ops *twsk_prot;
1: - union {
1: - struct inet_hashinfo *hashinfo;
1: - struct udp_table *udp_table;
1: - struct raw_hashinfo *raw_hash;
1: - struct smc_hashinfo *smc_hash;
1: - } h;
1: - struct module *owner;
1: - char name[32];
1: - struct list_head node;
1: - int (*diag_destroy)(struct sock *, int);
1: + void (*close)(struct sock *, long int);
1: + int (*pre_connect)(struct sock *, struct sockaddr *, int);
1: + int (*connect)(struct sock *, struct sockaddr *, int);
1: + int (*disconnect)(struct sock *, int);
1: + struct sock *(*accept)(struct sock *, int, int *, bool);
1: + int (*ioctl)(struct sock *, int, long unsigned int);
1: + int (*init)(struct sock *);
1: + void (*destroy)(struct sock *);
1: + void (*shutdown)(struct sock *, int);
1: + int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*getsockopt)(struct sock *, int, int, char *, int *);
1: + void (*keepalive)(struct sock *, int);
1: + int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: + int (*compat_ioctl)(struct sock *, unsigned int, long unsigned int);
1: + int (*sendmsg)(struct sock *, struct msghdr *, size_t);
1: + int (*recvmsg)(struct sock *, struct msghdr *, size_t, int, int, int *);
1: + int (*sendpage)(struct sock *, struct page *, int, size_t, int);
1: + int (*bind)(struct sock *, struct sockaddr *, int);
1: + int (*backlog_rcv)(struct sock *, struct sk_buff *);
1: + void (*release_cb)(struct sock *);
1: + int (*hash)(struct sock *);
1: + void (*unhash)(struct sock *);
1: + void (*rehash)(struct sock *);
1: + int (*get_port)(struct sock *, short unsigned int);
1: + unsigned int inuse_idx;
1: + bool (*stream_memory_free)(const struct sock *, int);
1: + bool (*stream_memory_read)(const struct sock *);
1: + void (*enter_memory_pressure)(struct sock *);
1: + void (*leave_memory_pressure)(struct sock *);
1: + atomic_long_t *memory_allocated;
1: + struct percpu_counter *sockets_allocated;
1: + long unsigned int *memory_pressure;
1: + long int *sysctl_mem;
1: + int *sysctl_wmem;
1: + int *sysctl_rmem;
1: + u32 sysctl_wmem_offset;
1: + u32 sysctl_rmem_offset;
1: + int max_header;
1: + bool no_autobind;
1: + struct kmem_cache *slab;
1: + unsigned int obj_size;
1: + slab_flags_t slab_flags;
1: + unsigned int useroffset;
1: + unsigned int usersize;
1: + struct percpu_counter *orphan_count;
1: + struct request_sock_ops *rsk_prot;
1: + struct timewait_sock_ops *twsk_prot;
1: + union {
1: + struct inet_hashinfo *hashinfo;
1: + struct udp_table *udp_table;
1: + struct raw_hashinfo *raw_hash;
1: + struct smc_hashinfo *smc_hash;
1: + } h;
1: + struct module *owner;
1: + char name[32];
1: + struct list_head node;
1: + int (*diag_destroy)(struct sock *, int);
1: };
1:
1: struct request_sock;
1:
1: struct request_sock_ops {
1: - int family;
1: - unsigned int obj_size;
1: - struct kmem_cache *slab;
1: - char *slab_name;
1: - int (*rtx_syn_ack)(const struct sock *, struct request_sock *);
1: - void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *);
1: - void (*send_reset)(const struct sock *, struct sk_buff *);
1: - void (*destructor)(struct request_sock *);
1: - void (*syn_ack_timeout)(const struct request_sock *);
1: + int family;
1: + unsigned int obj_size;
1: + struct kmem_cache *slab;
1: + char *slab_name;
1: + int (*rtx_syn_ack)(const struct sock *, struct request_sock *);
1: + void (*send_ack)(const struct sock *, struct sk_buff *,
1: + struct request_sock *);
1: + void (*send_reset)(const struct sock *, struct sk_buff *);
1: + void (*destructor)(struct request_sock *);
1: + void (*syn_ack_timeout)(const struct request_sock *);
1: };
1:
1: struct timewait_sock_ops {
1: - struct kmem_cache *twsk_slab;
1: - char *twsk_slab_name;
1: - unsigned int twsk_obj_size;
1: - int (*twsk_unique)(struct sock *, struct sock *, void *);
1: - void (*twsk_destructor)(struct sock *);
1: + struct kmem_cache *twsk_slab;
1: + char *twsk_slab_name;
1: + unsigned int twsk_obj_size;
1: + int (*twsk_unique)(struct sock *, struct sock *, void *);
1: + void (*twsk_destructor)(struct sock *);
1: };
1:
1: struct request_sock {
1: - struct sock_common __req_common;
1: - struct request_sock *dl_next;
1: - u16 mss;
1: - u8 num_retrans;
1: - u8 cookie_ts: 1;
1: - u8 num_timeout: 7;
1: - u32 ts_recent;
1: - struct timer_list rsk_timer;
1: - const struct request_sock_ops *rsk_ops;
1: - struct sock *sk;
1: - u32 *saved_syn;
1: - u32 secid;
1: - u32 peer_secid;
1: + struct sock_common __req_common;
1: + struct request_sock *dl_next;
1: + u16 mss;
1: + u8 num_retrans;
1: + u8 cookie_ts : 1;
1: + u8 num_timeout : 7;
1: + u32 ts_recent;
1: + struct timer_list rsk_timer;
1: + const struct request_sock_ops *rsk_ops;
1: + struct sock *sk;
1: + u32 *saved_syn;
1: + u32 secid;
1: + u32 peer_secid;
1: };
1:
1: enum tsq_enum {
1: - TSQ_THROTTLED = 0,
1: - TSQ_QUEUED = 1,
1: - TCP_TSQ_DEFERRED = 2,
1: - TCP_WRITE_TIMER_DEFERRED = 3,
1: - TCP_DELACK_TIMER_DEFERRED = 4,
1: - TCP_MTU_REDUCED_DEFERRED = 5,
1: + TSQ_THROTTLED = 0,
1: + TSQ_QUEUED = 1,
1: + TCP_TSQ_DEFERRED = 2,
1: + TCP_WRITE_TIMER_DEFERRED = 3,
1: + TCP_DELACK_TIMER_DEFERRED = 4,
1: + TCP_MTU_REDUCED_DEFERRED = 5,
1: };
1:
1: struct static_key_false_deferred {
1: - struct static_key_false key;
1: - long unsigned int timeout;
1: - struct delayed_work work;
1: + struct static_key_false key;
1: + long unsigned int timeout;
1: + struct delayed_work work;
1: };
1:
1: struct ip6_sf_list {
1: - struct ip6_sf_list *sf_next;
1: - struct in6_addr sf_addr;
1: - long unsigned int sf_count[2];
1: - unsigned char sf_gsresp;
1: - unsigned char sf_oldin;
1: - unsigned char sf_crcount;
1: + struct ip6_sf_list *sf_next;
1: + struct in6_addr sf_addr;
1: + long unsigned int sf_count[2];
1: + unsigned char sf_gsresp;
1: + unsigned char sf_oldin;
1: + unsigned char sf_crcount;
1: };
1:
1: struct ifmcaddr6 {
1: - struct in6_addr mca_addr;
1: - struct inet6_dev *idev;
1: - struct ifmcaddr6 *next;
1: - struct ip6_sf_list *mca_sources;
1: - struct ip6_sf_list *mca_tomb;
1: - unsigned int mca_sfmode;
1: - unsigned char mca_crcount;
1: - long unsigned int mca_sfcount[2];
1: - struct timer_list mca_timer;
1: - unsigned int mca_flags;
1: - int mca_users;
1: - refcount_t mca_refcnt;
1: - spinlock_t mca_lock;
1: - long unsigned int mca_cstamp;
1: - long unsigned int mca_tstamp;
1: + struct in6_addr mca_addr;
1: + struct inet6_dev *idev;
1: + struct ifmcaddr6 *next;
1: + struct ip6_sf_list *mca_sources;
1: + struct ip6_sf_list *mca_tomb;
1: + unsigned int mca_sfmode;
1: + unsigned char mca_crcount;
1: + long unsigned int mca_sfcount[2];
1: + struct timer_list mca_timer;
1: + unsigned int mca_flags;
1: + int mca_users;
1: + refcount_t mca_refcnt;
1: + spinlock_t mca_lock;
1: + long unsigned int mca_cstamp;
1: + long unsigned int mca_tstamp;
1: };
1:
1: struct ifacaddr6 {
1: - struct in6_addr aca_addr;
1: - struct fib6_info *aca_rt;
1: - struct ifacaddr6 *aca_next;
1: - struct hlist_node aca_addr_lst;
1: - int aca_users;
1: - refcount_t aca_refcnt;
1: - long unsigned int aca_cstamp;
1: - long unsigned int aca_tstamp;
1: - struct callback_head rcu;
1: + struct in6_addr aca_addr;
1: + struct fib6_info *aca_rt;
1: + struct ifacaddr6 *aca_next;
1: + struct hlist_node aca_addr_lst;
1: + int aca_users;
1: + refcount_t aca_refcnt;
1: + long unsigned int aca_cstamp;
1: + long unsigned int aca_tstamp;
1: + struct callback_head rcu;
1: };
1:
1: struct fib6_result;
1: @@ -13258,812 +13383,825 @@ struct fib6_nh;
1: struct fib6_config;
1:
1: struct ipv6_stub {
1: - int (*ipv6_sock_mc_join)(struct sock *, int, const struct in6_addr *);
1: - int (*ipv6_sock_mc_drop)(struct sock *, int, const struct in6_addr *);
1: - struct dst_entry * (*ipv6_dst_lookup_flow)(struct net *, const struct sock *, struct flowi6 *, const struct in6_addr *);
1: - int (*ipv6_route_input)(struct sk_buff *);
1: - struct fib6_table * (*fib6_get_table)(struct net *, u32);
1: - int (*fib6_lookup)(struct net *, int, struct flowi6 *, struct fib6_result *, int);
1: - int (*fib6_table_lookup)(struct net *, struct fib6_table *, int, struct flowi6 *, struct fib6_result *, int);
1: - void (*fib6_select_path)(const struct net *, struct fib6_result *, struct flowi6 *, int, bool, const struct sk_buff *, int);
1: - u32 (*ip6_mtu_from_fib6)(const struct fib6_result *, const struct in6_addr *, const struct in6_addr *);
1: - int (*fib6_nh_init)(struct net *, struct fib6_nh *, struct fib6_config *, gfp_t, struct netlink_ext_ack *);
1: - void (*fib6_nh_release)(struct fib6_nh *);
1: - void (*fib6_update_sernum)(struct net *, struct fib6_info *);
1: - int (*ip6_del_rt)(struct net *, struct fib6_info *);
1: - void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *);
1: - void (*udpv6_encap_enable)();
1: - void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool);
1: - struct neigh_table *nd_tbl;
1: + int (*ipv6_sock_mc_join)(struct sock *, int, const struct in6_addr *);
1: + int (*ipv6_sock_mc_drop)(struct sock *, int, const struct in6_addr *);
1: + struct dst_entry *(*ipv6_dst_lookup_flow)(struct net *, const struct sock *,
1: + struct flowi6 *,
1: + const struct in6_addr *);
1: + int (*ipv6_route_input)(struct sk_buff *);
1: + struct fib6_table *(*fib6_get_table)(struct net *, u32);
1: + int (*fib6_lookup)(struct net *, int, struct flowi6 *, struct fib6_result *,
1: + int);
1: + int (*fib6_table_lookup)(struct net *, struct fib6_table *, int,
1: + struct flowi6 *, struct fib6_result *, int);
1: + void (*fib6_select_path)(const struct net *, struct fib6_result *,
1: + struct flowi6 *, int, bool, const struct sk_buff *,
1: + int);
1: + u32 (*ip6_mtu_from_fib6)(const struct fib6_result *, const struct in6_addr *,
1: + const struct in6_addr *);
1: + int (*fib6_nh_init)(struct net *, struct fib6_nh *, struct fib6_config *,
1: + gfp_t, struct netlink_ext_ack *);
1: + void (*fib6_nh_release)(struct fib6_nh *);
1: + void (*fib6_update_sernum)(struct net *, struct fib6_info *);
1: + int (*ip6_del_rt)(struct net *, struct fib6_info *);
1: + void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *);
1: + void (*udpv6_encap_enable)();
1: + void (*ndisc_send_na)(struct net_device *, const struct in6_addr *,
1: + const struct in6_addr *, bool, bool, bool, bool);
1: + struct neigh_table *nd_tbl;
1: };
1:
1: struct fib6_result {
1: - struct fib6_nh *nh;
1: - struct fib6_info *f6i;
1: - u32 fib6_flags;
1: - u8 fib6_type;
1: - struct rt6_info *rt6;
1: -};
1: -
1: -enum {
1: - __ND_OPT_PREFIX_INFO_END = 0,
1: - ND_OPT_SOURCE_LL_ADDR = 1,
1: - ND_OPT_TARGET_LL_ADDR = 2,
1: - ND_OPT_PREFIX_INFO = 3,
1: - ND_OPT_REDIRECT_HDR = 4,
1: - ND_OPT_MTU = 5,
1: - ND_OPT_NONCE = 14,
1: - __ND_OPT_ARRAY_MAX = 15,
1: - ND_OPT_ROUTE_INFO = 24,
1: - ND_OPT_RDNSS = 25,
1: - ND_OPT_DNSSL = 31,
1: - ND_OPT_6CO = 34,
1: - ND_OPT_CAPTIVE_PORTAL = 37,
1: - __ND_OPT_MAX = 38,
1: + struct fib6_nh *nh;
1: + struct fib6_info *f6i;
1: + u32 fib6_flags;
1: + u8 fib6_type;
1: + struct rt6_info *rt6;
1: +};
1: +
1: +enum {
1: + __ND_OPT_PREFIX_INFO_END = 0,
1: + ND_OPT_SOURCE_LL_ADDR = 1,
1: + ND_OPT_TARGET_LL_ADDR = 2,
1: + ND_OPT_PREFIX_INFO = 3,
1: + ND_OPT_REDIRECT_HDR = 4,
1: + ND_OPT_MTU = 5,
1: + ND_OPT_NONCE = 14,
1: + __ND_OPT_ARRAY_MAX = 15,
1: + ND_OPT_ROUTE_INFO = 24,
1: + ND_OPT_RDNSS = 25,
1: + ND_OPT_DNSSL = 31,
1: + ND_OPT_6CO = 34,
1: + ND_OPT_CAPTIVE_PORTAL = 37,
1: + __ND_OPT_MAX = 38,
1: };
1:
1: struct nd_opt_hdr {
1: - __u8 nd_opt_type;
1: - __u8 nd_opt_len;
1: + __u8 nd_opt_type;
1: + __u8 nd_opt_len;
1: };
1:
1: struct ndisc_options {
1: - struct nd_opt_hdr *nd_opt_array[15];
1: - struct nd_opt_hdr *nd_useropts;
1: - struct nd_opt_hdr *nd_useropts_end;
1: + struct nd_opt_hdr *nd_opt_array[15];
1: + struct nd_opt_hdr *nd_useropts;
1: + struct nd_opt_hdr *nd_useropts_end;
1: };
1:
1: struct prefix_info {
1: - __u8 type;
1: - __u8 length;
1: - __u8 prefix_len;
1: - __u8 reserved: 6;
1: - __u8 autoconf: 1;
1: - __u8 onlink: 1;
1: - __be32 valid;
1: - __be32 prefered;
1: - __be32 reserved2;
1: - struct in6_addr prefix;
1: + __u8 type;
1: + __u8 length;
1: + __u8 prefix_len;
1: + __u8 reserved : 6;
1: + __u8 autoconf : 1;
1: + __u8 onlink : 1;
1: + __be32 valid;
1: + __be32 prefered;
1: + __be32 reserved2;
1: + struct in6_addr prefix;
1: };
1:
1: enum nfs_opnum4 {
1: - OP_ACCESS = 3,
1: - OP_CLOSE = 4,
1: - OP_COMMIT = 5,
1: - OP_CREATE = 6,
1: - OP_DELEGPURGE = 7,
1: - OP_DELEGRETURN = 8,
1: - OP_GETATTR = 9,
1: - OP_GETFH = 10,
1: - OP_LINK = 11,
1: - OP_LOCK = 12,
1: - OP_LOCKT = 13,
1: - OP_LOCKU = 14,
1: - OP_LOOKUP = 15,
1: - OP_LOOKUPP = 16,
1: - OP_NVERIFY = 17,
1: - OP_OPEN = 18,
1: - OP_OPENATTR = 19,
1: - OP_OPEN_CONFIRM = 20,
1: - OP_OPEN_DOWNGRADE = 21,
1: - OP_PUTFH = 22,
1: - OP_PUTPUBFH = 23,
1: - OP_PUTROOTFH = 24,
1: - OP_READ = 25,
1: - OP_READDIR = 26,
1: - OP_READLINK = 27,
1: - OP_REMOVE = 28,
1: - OP_RENAME = 29,
1: - OP_RENEW = 30,
1: - OP_RESTOREFH = 31,
1: - OP_SAVEFH = 32,
1: - OP_SECINFO = 33,
1: - OP_SETATTR = 34,
1: - OP_SETCLIENTID = 35,
1: - OP_SETCLIENTID_CONFIRM = 36,
1: - OP_VERIFY = 37,
1: - OP_WRITE = 38,
1: - OP_RELEASE_LOCKOWNER = 39,
1: - OP_BACKCHANNEL_CTL = 40,
1: - OP_BIND_CONN_TO_SESSION = 41,
1: - OP_EXCHANGE_ID = 42,
1: - OP_CREATE_SESSION = 43,
1: - OP_DESTROY_SESSION = 44,
1: - OP_FREE_STATEID = 45,
1: - OP_GET_DIR_DELEGATION = 46,
1: - OP_GETDEVICEINFO = 47,
1: - OP_GETDEVICELIST = 48,
1: - OP_LAYOUTCOMMIT = 49,
1: - OP_LAYOUTGET = 50,
1: - OP_LAYOUTRETURN = 51,
1: - OP_SECINFO_NO_NAME = 52,
1: - OP_SEQUENCE = 53,
1: - OP_SET_SSV = 54,
1: - OP_TEST_STATEID = 55,
1: - OP_WANT_DELEGATION = 56,
1: - OP_DESTROY_CLIENTID = 57,
1: - OP_RECLAIM_COMPLETE = 58,
1: - OP_ALLOCATE = 59,
1: - OP_COPY = 60,
1: - OP_COPY_NOTIFY = 61,
1: - OP_DEALLOCATE = 62,
1: - OP_IO_ADVISE = 63,
1: - OP_LAYOUTERROR = 64,
1: - OP_LAYOUTSTATS = 65,
1: - OP_OFFLOAD_CANCEL = 66,
1: - OP_OFFLOAD_STATUS = 67,
1: - OP_READ_PLUS = 68,
1: - OP_SEEK = 69,
1: - OP_WRITE_SAME = 70,
1: - OP_CLONE = 71,
1: - OP_ILLEGAL = 10044,
1: + OP_ACCESS = 3,
1: + OP_CLOSE = 4,
1: + OP_COMMIT = 5,
1: + OP_CREATE = 6,
1: + OP_DELEGPURGE = 7,
1: + OP_DELEGRETURN = 8,
1: + OP_GETATTR = 9,
1: + OP_GETFH = 10,
1: + OP_LINK = 11,
1: + OP_LOCK = 12,
1: + OP_LOCKT = 13,
1: + OP_LOCKU = 14,
1: + OP_LOOKUP = 15,
1: + OP_LOOKUPP = 16,
1: + OP_NVERIFY = 17,
1: + OP_OPEN = 18,
1: + OP_OPENATTR = 19,
1: + OP_OPEN_CONFIRM = 20,
1: + OP_OPEN_DOWNGRADE = 21,
1: + OP_PUTFH = 22,
1: + OP_PUTPUBFH = 23,
1: + OP_PUTROOTFH = 24,
1: + OP_READ = 25,
1: + OP_READDIR = 26,
1: + OP_READLINK = 27,
1: + OP_REMOVE = 28,
1: + OP_RENAME = 29,
1: + OP_RENEW = 30,
1: + OP_RESTOREFH = 31,
1: + OP_SAVEFH = 32,
1: + OP_SECINFO = 33,
1: + OP_SETATTR = 34,
1: + OP_SETCLIENTID = 35,
1: + OP_SETCLIENTID_CONFIRM = 36,
1: + OP_VERIFY = 37,
1: + OP_WRITE = 38,
1: + OP_RELEASE_LOCKOWNER = 39,
1: + OP_BACKCHANNEL_CTL = 40,
1: + OP_BIND_CONN_TO_SESSION = 41,
1: + OP_EXCHANGE_ID = 42,
1: + OP_CREATE_SESSION = 43,
1: + OP_DESTROY_SESSION = 44,
1: + OP_FREE_STATEID = 45,
1: + OP_GET_DIR_DELEGATION = 46,
1: + OP_GETDEVICEINFO = 47,
1: + OP_GETDEVICELIST = 48,
1: + OP_LAYOUTCOMMIT = 49,
1: + OP_LAYOUTGET = 50,
1: + OP_LAYOUTRETURN = 51,
1: + OP_SECINFO_NO_NAME = 52,
1: + OP_SEQUENCE = 53,
1: + OP_SET_SSV = 54,
1: + OP_TEST_STATEID = 55,
1: + OP_WANT_DELEGATION = 56,
1: + OP_DESTROY_CLIENTID = 57,
1: + OP_RECLAIM_COMPLETE = 58,
1: + OP_ALLOCATE = 59,
1: + OP_COPY = 60,
1: + OP_COPY_NOTIFY = 61,
1: + OP_DEALLOCATE = 62,
1: + OP_IO_ADVISE = 63,
1: + OP_LAYOUTERROR = 64,
1: + OP_LAYOUTSTATS = 65,
1: + OP_OFFLOAD_CANCEL = 66,
1: + OP_OFFLOAD_STATUS = 67,
1: + OP_READ_PLUS = 68,
1: + OP_SEEK = 69,
1: + OP_WRITE_SAME = 70,
1: + OP_CLONE = 71,
1: + OP_ILLEGAL = 10044,
1: };
1:
1: enum perf_branch_sample_type_shift {
1: - PERF_SAMPLE_BRANCH_USER_SHIFT = 0,
1: - PERF_SAMPLE_BRANCH_KERNEL_SHIFT = 1,
1: - PERF_SAMPLE_BRANCH_HV_SHIFT = 2,
1: - PERF_SAMPLE_BRANCH_ANY_SHIFT = 3,
1: - PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT = 4,
1: - PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT = 5,
1: - PERF_SAMPLE_BRANCH_IND_CALL_SHIFT = 6,
1: - PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT = 7,
1: - PERF_SAMPLE_BRANCH_IN_TX_SHIFT = 8,
1: - PERF_SAMPLE_BRANCH_NO_TX_SHIFT = 9,
1: - PERF_SAMPLE_BRANCH_COND_SHIFT = 10,
1: - PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT = 11,
1: - PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT = 12,
1: - PERF_SAMPLE_BRANCH_CALL_SHIFT = 13,
1: - PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT = 14,
1: - PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT = 15,
1: - PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16,
1: - PERF_SAMPLE_BRANCH_MAX_SHIFT = 17,
1: + PERF_SAMPLE_BRANCH_USER_SHIFT = 0,
1: + PERF_SAMPLE_BRANCH_KERNEL_SHIFT = 1,
1: + PERF_SAMPLE_BRANCH_HV_SHIFT = 2,
1: + PERF_SAMPLE_BRANCH_ANY_SHIFT = 3,
1: + PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT = 4,
1: + PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT = 5,
1: + PERF_SAMPLE_BRANCH_IND_CALL_SHIFT = 6,
1: + PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT = 7,
1: + PERF_SAMPLE_BRANCH_IN_TX_SHIFT = 8,
1: + PERF_SAMPLE_BRANCH_NO_TX_SHIFT = 9,
1: + PERF_SAMPLE_BRANCH_COND_SHIFT = 10,
1: + PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT = 11,
1: + PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT = 12,
1: + PERF_SAMPLE_BRANCH_CALL_SHIFT = 13,
1: + PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT = 14,
1: + PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT = 15,
1: + PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16,
1: + PERF_SAMPLE_BRANCH_MAX_SHIFT = 17,
1: };
1:
1: enum exception_stack_ordering {
1: - ESTACK_DF = 0,
1: - ESTACK_NMI = 1,
1: - ESTACK_DB2 = 2,
1: - ESTACK_DB1 = 3,
1: - ESTACK_DB = 4,
1: - ESTACK_MCE = 5,
1: - N_EXCEPTION_STACKS = 6,
1: + ESTACK_DF = 0,
1: + ESTACK_NMI = 1,
1: + ESTACK_DB2 = 2,
1: + ESTACK_DB1 = 3,
1: + ESTACK_DB = 4,
1: + ESTACK_MCE = 5,
1: + N_EXCEPTION_STACKS = 6,
1: };
1:
1: enum {
1: - TSK_TRACE_FL_TRACE_BIT = 0,
1: - TSK_TRACE_FL_GRAPH_BIT = 1,
1: + TSK_TRACE_FL_TRACE_BIT = 0,
1: + TSK_TRACE_FL_GRAPH_BIT = 1,
1: };
1:
1: struct uuidcmp {
1: - const char *uuid;
1: - int len;
1: + const char *uuid;
1: + int len;
1: };
1:
1: struct mdu_array_info_s {
1: - int major_version;
1: - int minor_version;
1: - int patch_version;
1: - unsigned int ctime;
1: - int level;
1: - int size;
1: - int nr_disks;
1: - int raid_disks;
1: - int md_minor;
1: - int not_persistent;
1: - unsigned int utime;
1: - int state;
1: - int active_disks;
1: - int working_disks;
1: - int failed_disks;
1: - int spare_disks;
1: - int layout;
1: - int chunk_size;
1: + int major_version;
1: + int minor_version;
1: + int patch_version;
1: + unsigned int ctime;
1: + int level;
1: + int size;
1: + int nr_disks;
1: + int raid_disks;
1: + int md_minor;
1: + int not_persistent;
1: + unsigned int utime;
1: + int state;
1: + int active_disks;
1: + int working_disks;
1: + int failed_disks;
1: + int spare_disks;
1: + int layout;
1: + int chunk_size;
1: };
1:
1: typedef struct mdu_array_info_s mdu_array_info_t;
1:
1: struct mdu_disk_info_s {
1: - int number;
1: - int major;
1: - int minor;
1: - int raid_disk;
1: - int state;
1: + int number;
1: + int major;
1: + int minor;
1: + int raid_disk;
1: + int state;
1: };
1:
1: typedef struct mdu_disk_info_s mdu_disk_info_t;
1:
1: enum kmalloc_cache_type {
1: - KMALLOC_NORMAL = 0,
1: - KMALLOC_RECLAIM = 1,
1: - KMALLOC_DMA = 2,
1: - NR_KMALLOC_TYPES = 3,
1: + KMALLOC_NORMAL = 0,
1: + KMALLOC_RECLAIM = 1,
1: + KMALLOC_DMA = 2,
1: + NR_KMALLOC_TYPES = 3,
1: };
1:
1: struct hash {
1: - int ino;
1: - int minor;
1: - int major;
1: - umode_t mode;
1: - struct hash *next;
1: - char name[4098];
1: + int ino;
1: + int minor;
1: + int major;
1: + umode_t mode;
1: + struct hash *next;
1: + char name[4098];
1: };
1:
1: struct dir_entry {
1: - struct list_head list;
1: - char *name;
1: - time64_t mtime;
1: + struct list_head list;
1: + char *name;
1: + time64_t mtime;
1: };
1:
1: enum state {
1: - Start = 0,
1: - Collect = 1,
1: - GotHeader = 2,
1: - SkipIt = 3,
1: - GotName = 4,
1: - CopyFile = 5,
1: - GotSymlink = 6,
1: - Reset = 7,
1: + Start = 0,
1: + Collect = 1,
1: + GotHeader = 2,
1: + SkipIt = 3,
1: + GotName = 4,
1: + CopyFile = 5,
1: + GotSymlink = 6,
1: + Reset = 7,
1: };
1:
1: -typedef int (*decompress_fn)(unsigned char *, long int, long int (*)(void *, long unsigned int), long int (*)(void *, long unsigned int), unsigned char *, long int *, void (*)(char *));
1: +typedef int (*decompress_fn)(unsigned char *, long int,
1: + long int (*)(void *, long unsigned int),
1: + long int (*)(void *, long unsigned int),
1: + unsigned char *, long int *, void (*)(char *));
1:
1: enum ucount_type {
1: - UCOUNT_USER_NAMESPACES = 0,
1: - UCOUNT_PID_NAMESPACES = 1,
1: - UCOUNT_UTS_NAMESPACES = 2,
1: - UCOUNT_IPC_NAMESPACES = 3,
1: - UCOUNT_NET_NAMESPACES = 4,
1: - UCOUNT_MNT_NAMESPACES = 5,
1: - UCOUNT_CGROUP_NAMESPACES = 6,
1: - UCOUNT_INOTIFY_INSTANCES = 7,
1: - UCOUNT_INOTIFY_WATCHES = 8,
1: - UCOUNT_COUNTS = 9,
1: + UCOUNT_USER_NAMESPACES = 0,
1: + UCOUNT_PID_NAMESPACES = 1,
1: + UCOUNT_UTS_NAMESPACES = 2,
1: + UCOUNT_IPC_NAMESPACES = 3,
1: + UCOUNT_NET_NAMESPACES = 4,
1: + UCOUNT_MNT_NAMESPACES = 5,
1: + UCOUNT_CGROUP_NAMESPACES = 6,
1: + UCOUNT_INOTIFY_INSTANCES = 7,
1: + UCOUNT_INOTIFY_WATCHES = 8,
1: + UCOUNT_COUNTS = 9,
1: };
1:
1: enum flow_dissector_key_id {
1: - FLOW_DISSECTOR_KEY_CONTROL = 0,
1: - FLOW_DISSECTOR_KEY_BASIC = 1,
1: - FLOW_DISSECTOR_KEY_IPV4_ADDRS = 2,
1: - FLOW_DISSECTOR_KEY_IPV6_ADDRS = 3,
1: - FLOW_DISSECTOR_KEY_PORTS = 4,
1: - FLOW_DISSECTOR_KEY_PORTS_RANGE = 5,
1: - FLOW_DISSECTOR_KEY_ICMP = 6,
1: - FLOW_DISSECTOR_KEY_ETH_ADDRS = 7,
1: - FLOW_DISSECTOR_KEY_TIPC = 8,
1: - FLOW_DISSECTOR_KEY_ARP = 9,
1: - FLOW_DISSECTOR_KEY_VLAN = 10,
1: - FLOW_DISSECTOR_KEY_FLOW_LABEL = 11,
1: - FLOW_DISSECTOR_KEY_GRE_KEYID = 12,
1: - FLOW_DISSECTOR_KEY_MPLS_ENTROPY = 13,
1: - FLOW_DISSECTOR_KEY_ENC_KEYID = 14,
1: - FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS = 15,
1: - FLOW_DISSECTOR_KEY_ENC_IPV6_ADDRS = 16,
1: - FLOW_DISSECTOR_KEY_ENC_CONTROL = 17,
1: - FLOW_DISSECTOR_KEY_ENC_PORTS = 18,
1: - FLOW_DISSECTOR_KEY_MPLS = 19,
1: - FLOW_DISSECTOR_KEY_TCP = 20,
1: - FLOW_DISSECTOR_KEY_IP = 21,
1: - FLOW_DISSECTOR_KEY_CVLAN = 22,
1: - FLOW_DISSECTOR_KEY_ENC_IP = 23,
1: - FLOW_DISSECTOR_KEY_ENC_OPTS = 24,
1: - FLOW_DISSECTOR_KEY_META = 25,
1: - FLOW_DISSECTOR_KEY_CT = 26,
1: - FLOW_DISSECTOR_KEY_MAX = 27,
1: -};
1: -
1: -enum {
1: - IPSTATS_MIB_NUM = 0,
1: - IPSTATS_MIB_INPKTS = 1,
1: - IPSTATS_MIB_INOCTETS = 2,
1: - IPSTATS_MIB_INDELIVERS = 3,
1: - IPSTATS_MIB_OUTFORWDATAGRAMS = 4,
1: - IPSTATS_MIB_OUTPKTS = 5,
1: - IPSTATS_MIB_OUTOCTETS = 6,
1: - IPSTATS_MIB_INHDRERRORS = 7,
1: - IPSTATS_MIB_INTOOBIGERRORS = 8,
1: - IPSTATS_MIB_INNOROUTES = 9,
1: - IPSTATS_MIB_INADDRERRORS = 10,
1: - IPSTATS_MIB_INUNKNOWNPROTOS = 11,
1: - IPSTATS_MIB_INTRUNCATEDPKTS = 12,
1: - IPSTATS_MIB_INDISCARDS = 13,
1: - IPSTATS_MIB_OUTDISCARDS = 14,
1: - IPSTATS_MIB_OUTNOROUTES = 15,
1: - IPSTATS_MIB_REASMTIMEOUT = 16,
1: - IPSTATS_MIB_REASMREQDS = 17,
1: - IPSTATS_MIB_REASMOKS = 18,
1: - IPSTATS_MIB_REASMFAILS = 19,
1: - IPSTATS_MIB_FRAGOKS = 20,
1: - IPSTATS_MIB_FRAGFAILS = 21,
1: - IPSTATS_MIB_FRAGCREATES = 22,
1: - IPSTATS_MIB_INMCASTPKTS = 23,
1: - IPSTATS_MIB_OUTMCASTPKTS = 24,
1: - IPSTATS_MIB_INBCASTPKTS = 25,
1: - IPSTATS_MIB_OUTBCASTPKTS = 26,
1: - IPSTATS_MIB_INMCASTOCTETS = 27,
1: - IPSTATS_MIB_OUTMCASTOCTETS = 28,
1: - IPSTATS_MIB_INBCASTOCTETS = 29,
1: - IPSTATS_MIB_OUTBCASTOCTETS = 30,
1: - IPSTATS_MIB_CSUMERRORS = 31,
1: - IPSTATS_MIB_NOECTPKTS = 32,
1: - IPSTATS_MIB_ECT1PKTS = 33,
1: - IPSTATS_MIB_ECT0PKTS = 34,
1: - IPSTATS_MIB_CEPKTS = 35,
1: - IPSTATS_MIB_REASM_OVERLAPS = 36,
1: - __IPSTATS_MIB_MAX = 37,
1: -};
1: -
1: -enum {
1: - ICMP_MIB_NUM = 0,
1: - ICMP_MIB_INMSGS = 1,
1: - ICMP_MIB_INERRORS = 2,
1: - ICMP_MIB_INDESTUNREACHS = 3,
1: - ICMP_MIB_INTIMEEXCDS = 4,
1: - ICMP_MIB_INPARMPROBS = 5,
1: - ICMP_MIB_INSRCQUENCHS = 6,
1: - ICMP_MIB_INREDIRECTS = 7,
1: - ICMP_MIB_INECHOS = 8,
1: - ICMP_MIB_INECHOREPS = 9,
1: - ICMP_MIB_INTIMESTAMPS = 10,
1: - ICMP_MIB_INTIMESTAMPREPS = 11,
1: - ICMP_MIB_INADDRMASKS = 12,
1: - ICMP_MIB_INADDRMASKREPS = 13,
1: - ICMP_MIB_OUTMSGS = 14,
1: - ICMP_MIB_OUTERRORS = 15,
1: - ICMP_MIB_OUTDESTUNREACHS = 16,
1: - ICMP_MIB_OUTTIMEEXCDS = 17,
1: - ICMP_MIB_OUTPARMPROBS = 18,
1: - ICMP_MIB_OUTSRCQUENCHS = 19,
1: - ICMP_MIB_OUTREDIRECTS = 20,
1: - ICMP_MIB_OUTECHOS = 21,
1: - ICMP_MIB_OUTECHOREPS = 22,
1: - ICMP_MIB_OUTTIMESTAMPS = 23,
1: - ICMP_MIB_OUTTIMESTAMPREPS = 24,
1: - ICMP_MIB_OUTADDRMASKS = 25,
1: - ICMP_MIB_OUTADDRMASKREPS = 26,
1: - ICMP_MIB_CSUMERRORS = 27,
1: - __ICMP_MIB_MAX = 28,
1: -};
1: -
1: -enum {
1: - ICMP6_MIB_NUM = 0,
1: - ICMP6_MIB_INMSGS = 1,
1: - ICMP6_MIB_INERRORS = 2,
1: - ICMP6_MIB_OUTMSGS = 3,
1: - ICMP6_MIB_OUTERRORS = 4,
1: - ICMP6_MIB_CSUMERRORS = 5,
1: - __ICMP6_MIB_MAX = 6,
1: -};
1: -
1: -enum {
1: - TCP_MIB_NUM = 0,
1: - TCP_MIB_RTOALGORITHM = 1,
1: - TCP_MIB_RTOMIN = 2,
1: - TCP_MIB_RTOMAX = 3,
1: - TCP_MIB_MAXCONN = 4,
1: - TCP_MIB_ACTIVEOPENS = 5,
1: - TCP_MIB_PASSIVEOPENS = 6,
1: - TCP_MIB_ATTEMPTFAILS = 7,
1: - TCP_MIB_ESTABRESETS = 8,
1: - TCP_MIB_CURRESTAB = 9,
1: - TCP_MIB_INSEGS = 10,
1: - TCP_MIB_OUTSEGS = 11,
1: - TCP_MIB_RETRANSSEGS = 12,
1: - TCP_MIB_INERRS = 13,
1: - TCP_MIB_OUTRSTS = 14,
1: - TCP_MIB_CSUMERRORS = 15,
1: - __TCP_MIB_MAX = 16,
1: -};
1: -
1: -enum {
1: - UDP_MIB_NUM = 0,
1: - UDP_MIB_INDATAGRAMS = 1,
1: - UDP_MIB_NOPORTS = 2,
1: - UDP_MIB_INERRORS = 3,
1: - UDP_MIB_OUTDATAGRAMS = 4,
1: - UDP_MIB_RCVBUFERRORS = 5,
1: - UDP_MIB_SNDBUFERRORS = 6,
1: - UDP_MIB_CSUMERRORS = 7,
1: - UDP_MIB_IGNOREDMULTI = 8,
1: - __UDP_MIB_MAX = 9,
1: -};
1: -
1: -enum {
1: - LINUX_MIB_NUM = 0,
1: - LINUX_MIB_SYNCOOKIESSENT = 1,
1: - LINUX_MIB_SYNCOOKIESRECV = 2,
1: - LINUX_MIB_SYNCOOKIESFAILED = 3,
1: - LINUX_MIB_EMBRYONICRSTS = 4,
1: - LINUX_MIB_PRUNECALLED = 5,
1: - LINUX_MIB_RCVPRUNED = 6,
1: - LINUX_MIB_OFOPRUNED = 7,
1: - LINUX_MIB_OUTOFWINDOWICMPS = 8,
1: - LINUX_MIB_LOCKDROPPEDICMPS = 9,
1: - LINUX_MIB_ARPFILTER = 10,
1: - LINUX_MIB_TIMEWAITED = 11,
1: - LINUX_MIB_TIMEWAITRECYCLED = 12,
1: - LINUX_MIB_TIMEWAITKILLED = 13,
1: - LINUX_MIB_PAWSACTIVEREJECTED = 14,
1: - LINUX_MIB_PAWSESTABREJECTED = 15,
1: - LINUX_MIB_DELAYEDACKS = 16,
1: - LINUX_MIB_DELAYEDACKLOCKED = 17,
1: - LINUX_MIB_DELAYEDACKLOST = 18,
1: - LINUX_MIB_LISTENOVERFLOWS = 19,
1: - LINUX_MIB_LISTENDROPS = 20,
1: - LINUX_MIB_TCPHPHITS = 21,
1: - LINUX_MIB_TCPPUREACKS = 22,
1: - LINUX_MIB_TCPHPACKS = 23,
1: - LINUX_MIB_TCPRENORECOVERY = 24,
1: - LINUX_MIB_TCPSACKRECOVERY = 25,
1: - LINUX_MIB_TCPSACKRENEGING = 26,
1: - LINUX_MIB_TCPSACKREORDER = 27,
1: - LINUX_MIB_TCPRENOREORDER = 28,
1: - LINUX_MIB_TCPTSREORDER = 29,
1: - LINUX_MIB_TCPFULLUNDO = 30,
1: - LINUX_MIB_TCPPARTIALUNDO = 31,
1: - LINUX_MIB_TCPDSACKUNDO = 32,
1: - LINUX_MIB_TCPLOSSUNDO = 33,
1: - LINUX_MIB_TCPLOSTRETRANSMIT = 34,
1: - LINUX_MIB_TCPRENOFAILURES = 35,
1: - LINUX_MIB_TCPSACKFAILURES = 36,
1: - LINUX_MIB_TCPLOSSFAILURES = 37,
1: - LINUX_MIB_TCPFASTRETRANS = 38,
1: - LINUX_MIB_TCPSLOWSTARTRETRANS = 39,
1: - LINUX_MIB_TCPTIMEOUTS = 40,
1: - LINUX_MIB_TCPLOSSPROBES = 41,
1: - LINUX_MIB_TCPLOSSPROBERECOVERY = 42,
1: - LINUX_MIB_TCPRENORECOVERYFAIL = 43,
1: - LINUX_MIB_TCPSACKRECOVERYFAIL = 44,
1: - LINUX_MIB_TCPRCVCOLLAPSED = 45,
1: - LINUX_MIB_TCPDSACKOLDSENT = 46,
1: - LINUX_MIB_TCPDSACKOFOSENT = 47,
1: - LINUX_MIB_TCPDSACKRECV = 48,
1: - LINUX_MIB_TCPDSACKOFORECV = 49,
1: - LINUX_MIB_TCPABORTONDATA = 50,
1: - LINUX_MIB_TCPABORTONCLOSE = 51,
1: - LINUX_MIB_TCPABORTONMEMORY = 52,
1: - LINUX_MIB_TCPABORTONTIMEOUT = 53,
1: - LINUX_MIB_TCPABORTONLINGER = 54,
1: - LINUX_MIB_TCPABORTFAILED = 55,
1: - LINUX_MIB_TCPMEMORYPRESSURES = 56,
1: - LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57,
1: - LINUX_MIB_TCPSACKDISCARD = 58,
1: - LINUX_MIB_TCPDSACKIGNOREDOLD = 59,
1: - LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60,
1: - LINUX_MIB_TCPSPURIOUSRTOS = 61,
1: - LINUX_MIB_TCPMD5NOTFOUND = 62,
1: - LINUX_MIB_TCPMD5UNEXPECTED = 63,
1: - LINUX_MIB_TCPMD5FAILURE = 64,
1: - LINUX_MIB_SACKSHIFTED = 65,
1: - LINUX_MIB_SACKMERGED = 66,
1: - LINUX_MIB_SACKSHIFTFALLBACK = 67,
1: - LINUX_MIB_TCPBACKLOGDROP = 68,
1: - LINUX_MIB_PFMEMALLOCDROP = 69,
1: - LINUX_MIB_TCPMINTTLDROP = 70,
1: - LINUX_MIB_TCPDEFERACCEPTDROP = 71,
1: - LINUX_MIB_IPRPFILTER = 72,
1: - LINUX_MIB_TCPTIMEWAITOVERFLOW = 73,
1: - LINUX_MIB_TCPREQQFULLDOCOOKIES = 74,
1: - LINUX_MIB_TCPREQQFULLDROP = 75,
1: - LINUX_MIB_TCPRETRANSFAIL = 76,
1: - LINUX_MIB_TCPRCVCOALESCE = 77,
1: - LINUX_MIB_TCPBACKLOGCOALESCE = 78,
1: - LINUX_MIB_TCPOFOQUEUE = 79,
1: - LINUX_MIB_TCPOFODROP = 80,
1: - LINUX_MIB_TCPOFOMERGE = 81,
1: - LINUX_MIB_TCPCHALLENGEACK = 82,
1: - LINUX_MIB_TCPSYNCHALLENGE = 83,
1: - LINUX_MIB_TCPFASTOPENACTIVE = 84,
1: - LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85,
1: - LINUX_MIB_TCPFASTOPENPASSIVE = 86,
1: - LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87,
1: - LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88,
1: - LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89,
1: - LINUX_MIB_TCPFASTOPENBLACKHOLE = 90,
1: - LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91,
1: - LINUX_MIB_BUSYPOLLRXPACKETS = 92,
1: - LINUX_MIB_TCPAUTOCORKING = 93,
1: - LINUX_MIB_TCPFROMZEROWINDOWADV = 94,
1: - LINUX_MIB_TCPTOZEROWINDOWADV = 95,
1: - LINUX_MIB_TCPWANTZEROWINDOWADV = 96,
1: - LINUX_MIB_TCPSYNRETRANS = 97,
1: - LINUX_MIB_TCPORIGDATASENT = 98,
1: - LINUX_MIB_TCPHYSTARTTRAINDETECT = 99,
1: - LINUX_MIB_TCPHYSTARTTRAINCWND = 100,
1: - LINUX_MIB_TCPHYSTARTDELAYDETECT = 101,
1: - LINUX_MIB_TCPHYSTARTDELAYCWND = 102,
1: - LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103,
1: - LINUX_MIB_TCPACKSKIPPEDPAWS = 104,
1: - LINUX_MIB_TCPACKSKIPPEDSEQ = 105,
1: - LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106,
1: - LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107,
1: - LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108,
1: - LINUX_MIB_TCPWINPROBE = 109,
1: - LINUX_MIB_TCPKEEPALIVE = 110,
1: - LINUX_MIB_TCPMTUPFAIL = 111,
1: - LINUX_MIB_TCPMTUPSUCCESS = 112,
1: - LINUX_MIB_TCPDELIVERED = 113,
1: - LINUX_MIB_TCPDELIVEREDCE = 114,
1: - LINUX_MIB_TCPACKCOMPRESSED = 115,
1: - LINUX_MIB_TCPZEROWINDOWDROP = 116,
1: - LINUX_MIB_TCPRCVQDROP = 117,
1: - LINUX_MIB_TCPWQUEUETOOBIG = 118,
1: - LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119,
1: - __LINUX_MIB_MAX = 120,
1: -};
1: -
1: -enum {
1: - LINUX_MIB_XFRMNUM = 0,
1: - LINUX_MIB_XFRMINERROR = 1,
1: - LINUX_MIB_XFRMINBUFFERERROR = 2,
1: - LINUX_MIB_XFRMINHDRERROR = 3,
1: - LINUX_MIB_XFRMINNOSTATES = 4,
1: - LINUX_MIB_XFRMINSTATEPROTOERROR = 5,
1: - LINUX_MIB_XFRMINSTATEMODEERROR = 6,
1: - LINUX_MIB_XFRMINSTATESEQERROR = 7,
1: - LINUX_MIB_XFRMINSTATEEXPIRED = 8,
1: - LINUX_MIB_XFRMINSTATEMISMATCH = 9,
1: - LINUX_MIB_XFRMINSTATEINVALID = 10,
1: - LINUX_MIB_XFRMINTMPLMISMATCH = 11,
1: - LINUX_MIB_XFRMINNOPOLS = 12,
1: - LINUX_MIB_XFRMINPOLBLOCK = 13,
1: - LINUX_MIB_XFRMINPOLERROR = 14,
1: - LINUX_MIB_XFRMOUTERROR = 15,
1: - LINUX_MIB_XFRMOUTBUNDLEGENERROR = 16,
1: - LINUX_MIB_XFRMOUTBUNDLECHECKERROR = 17,
1: - LINUX_MIB_XFRMOUTNOSTATES = 18,
1: - LINUX_MIB_XFRMOUTSTATEPROTOERROR = 19,
1: - LINUX_MIB_XFRMOUTSTATEMODEERROR = 20,
1: - LINUX_MIB_XFRMOUTSTATESEQERROR = 21,
1: - LINUX_MIB_XFRMOUTSTATEEXPIRED = 22,
1: - LINUX_MIB_XFRMOUTPOLBLOCK = 23,
1: - LINUX_MIB_XFRMOUTPOLDEAD = 24,
1: - LINUX_MIB_XFRMOUTPOLERROR = 25,
1: - LINUX_MIB_XFRMFWDHDRERROR = 26,
1: - LINUX_MIB_XFRMOUTSTATEINVALID = 27,
1: - LINUX_MIB_XFRMACQUIREERROR = 28,
1: - __LINUX_MIB_XFRMMAX = 29,
1: -};
1: -
1: -enum {
1: - LINUX_MIB_TLSNUM = 0,
1: - LINUX_MIB_TLSCURRTXSW = 1,
1: - LINUX_MIB_TLSCURRRXSW = 2,
1: - LINUX_MIB_TLSCURRTXDEVICE = 3,
1: - LINUX_MIB_TLSCURRRXDEVICE = 4,
1: - LINUX_MIB_TLSTXSW = 5,
1: - LINUX_MIB_TLSRXSW = 6,
1: - LINUX_MIB_TLSTXDEVICE = 7,
1: - LINUX_MIB_TLSRXDEVICE = 8,
1: - LINUX_MIB_TLSDECRYPTERROR = 9,
1: - LINUX_MIB_TLSRXDEVICERESYNC = 10,
1: - __LINUX_MIB_TLSMAX = 11,
1: + FLOW_DISSECTOR_KEY_CONTROL = 0,
1: + FLOW_DISSECTOR_KEY_BASIC = 1,
1: + FLOW_DISSECTOR_KEY_IPV4_ADDRS = 2,
1: + FLOW_DISSECTOR_KEY_IPV6_ADDRS = 3,
1: + FLOW_DISSECTOR_KEY_PORTS = 4,
1: + FLOW_DISSECTOR_KEY_PORTS_RANGE = 5,
1: + FLOW_DISSECTOR_KEY_ICMP = 6,
1: + FLOW_DISSECTOR_KEY_ETH_ADDRS = 7,
1: + FLOW_DISSECTOR_KEY_TIPC = 8,
1: + FLOW_DISSECTOR_KEY_ARP = 9,
1: + FLOW_DISSECTOR_KEY_VLAN = 10,
1: + FLOW_DISSECTOR_KEY_FLOW_LABEL = 11,
1: + FLOW_DISSECTOR_KEY_GRE_KEYID = 12,
1: + FLOW_DISSECTOR_KEY_MPLS_ENTROPY = 13,
1: + FLOW_DISSECTOR_KEY_ENC_KEYID = 14,
1: + FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS = 15,
1: + FLOW_DISSECTOR_KEY_ENC_IPV6_ADDRS = 16,
1: + FLOW_DISSECTOR_KEY_ENC_CONTROL = 17,
1: + FLOW_DISSECTOR_KEY_ENC_PORTS = 18,
1: + FLOW_DISSECTOR_KEY_MPLS = 19,
1: + FLOW_DISSECTOR_KEY_TCP = 20,
1: + FLOW_DISSECTOR_KEY_IP = 21,
1: + FLOW_DISSECTOR_KEY_CVLAN = 22,
1: + FLOW_DISSECTOR_KEY_ENC_IP = 23,
1: + FLOW_DISSECTOR_KEY_ENC_OPTS = 24,
1: + FLOW_DISSECTOR_KEY_META = 25,
1: + FLOW_DISSECTOR_KEY_CT = 26,
1: + FLOW_DISSECTOR_KEY_MAX = 27,
1: +};
1: +
1: +enum {
1: + IPSTATS_MIB_NUM = 0,
1: + IPSTATS_MIB_INPKTS = 1,
1: + IPSTATS_MIB_INOCTETS = 2,
1: + IPSTATS_MIB_INDELIVERS = 3,
1: + IPSTATS_MIB_OUTFORWDATAGRAMS = 4,
1: + IPSTATS_MIB_OUTPKTS = 5,
1: + IPSTATS_MIB_OUTOCTETS = 6,
1: + IPSTATS_MIB_INHDRERRORS = 7,
1: + IPSTATS_MIB_INTOOBIGERRORS = 8,
1: + IPSTATS_MIB_INNOROUTES = 9,
1: + IPSTATS_MIB_INADDRERRORS = 10,
1: + IPSTATS_MIB_INUNKNOWNPROTOS = 11,
1: + IPSTATS_MIB_INTRUNCATEDPKTS = 12,
1: + IPSTATS_MIB_INDISCARDS = 13,
1: + IPSTATS_MIB_OUTDISCARDS = 14,
1: + IPSTATS_MIB_OUTNOROUTES = 15,
1: + IPSTATS_MIB_REASMTIMEOUT = 16,
1: + IPSTATS_MIB_REASMREQDS = 17,
1: + IPSTATS_MIB_REASMOKS = 18,
1: + IPSTATS_MIB_REASMFAILS = 19,
1: + IPSTATS_MIB_FRAGOKS = 20,
1: + IPSTATS_MIB_FRAGFAILS = 21,
1: + IPSTATS_MIB_FRAGCREATES = 22,
1: + IPSTATS_MIB_INMCASTPKTS = 23,
1: + IPSTATS_MIB_OUTMCASTPKTS = 24,
1: + IPSTATS_MIB_INBCASTPKTS = 25,
1: + IPSTATS_MIB_OUTBCASTPKTS = 26,
1: + IPSTATS_MIB_INMCASTOCTETS = 27,
1: + IPSTATS_MIB_OUTMCASTOCTETS = 28,
1: + IPSTATS_MIB_INBCASTOCTETS = 29,
1: + IPSTATS_MIB_OUTBCASTOCTETS = 30,
1: + IPSTATS_MIB_CSUMERRORS = 31,
1: + IPSTATS_MIB_NOECTPKTS = 32,
1: + IPSTATS_MIB_ECT1PKTS = 33,
1: + IPSTATS_MIB_ECT0PKTS = 34,
1: + IPSTATS_MIB_CEPKTS = 35,
1: + IPSTATS_MIB_REASM_OVERLAPS = 36,
1: + __IPSTATS_MIB_MAX = 37,
1: +};
1: +
1: +enum {
1: + ICMP_MIB_NUM = 0,
1: + ICMP_MIB_INMSGS = 1,
1: + ICMP_MIB_INERRORS = 2,
1: + ICMP_MIB_INDESTUNREACHS = 3,
1: + ICMP_MIB_INTIMEEXCDS = 4,
1: + ICMP_MIB_INPARMPROBS = 5,
1: + ICMP_MIB_INSRCQUENCHS = 6,
1: + ICMP_MIB_INREDIRECTS = 7,
1: + ICMP_MIB_INECHOS = 8,
1: + ICMP_MIB_INECHOREPS = 9,
1: + ICMP_MIB_INTIMESTAMPS = 10,
1: + ICMP_MIB_INTIMESTAMPREPS = 11,
1: + ICMP_MIB_INADDRMASKS = 12,
1: + ICMP_MIB_INADDRMASKREPS = 13,
1: + ICMP_MIB_OUTMSGS = 14,
1: + ICMP_MIB_OUTERRORS = 15,
1: + ICMP_MIB_OUTDESTUNREACHS = 16,
1: + ICMP_MIB_OUTTIMEEXCDS = 17,
1: + ICMP_MIB_OUTPARMPROBS = 18,
1: + ICMP_MIB_OUTSRCQUENCHS = 19,
1: + ICMP_MIB_OUTREDIRECTS = 20,
1: + ICMP_MIB_OUTECHOS = 21,
1: + ICMP_MIB_OUTECHOREPS = 22,
1: + ICMP_MIB_OUTTIMESTAMPS = 23,
1: + ICMP_MIB_OUTTIMESTAMPREPS = 24,
1: + ICMP_MIB_OUTADDRMASKS = 25,
1: + ICMP_MIB_OUTADDRMASKREPS = 26,
1: + ICMP_MIB_CSUMERRORS = 27,
1: + __ICMP_MIB_MAX = 28,
1: +};
1: +
1: +enum {
1: + ICMP6_MIB_NUM = 0,
1: + ICMP6_MIB_INMSGS = 1,
1: + ICMP6_MIB_INERRORS = 2,
1: + ICMP6_MIB_OUTMSGS = 3,
1: + ICMP6_MIB_OUTERRORS = 4,
1: + ICMP6_MIB_CSUMERRORS = 5,
1: + __ICMP6_MIB_MAX = 6,
1: +};
1: +
1: +enum {
1: + TCP_MIB_NUM = 0,
1: + TCP_MIB_RTOALGORITHM = 1,
1: + TCP_MIB_RTOMIN = 2,
1: + TCP_MIB_RTOMAX = 3,
1: + TCP_MIB_MAXCONN = 4,
1: + TCP_MIB_ACTIVEOPENS = 5,
1: + TCP_MIB_PASSIVEOPENS = 6,
1: + TCP_MIB_ATTEMPTFAILS = 7,
1: + TCP_MIB_ESTABRESETS = 8,
1: + TCP_MIB_CURRESTAB = 9,
1: + TCP_MIB_INSEGS = 10,
1: + TCP_MIB_OUTSEGS = 11,
1: + TCP_MIB_RETRANSSEGS = 12,
1: + TCP_MIB_INERRS = 13,
1: + TCP_MIB_OUTRSTS = 14,
1: + TCP_MIB_CSUMERRORS = 15,
1: + __TCP_MIB_MAX = 16,
1: +};
1: +
1: +enum {
1: + UDP_MIB_NUM = 0,
1: + UDP_MIB_INDATAGRAMS = 1,
1: + UDP_MIB_NOPORTS = 2,
1: + UDP_MIB_INERRORS = 3,
1: + UDP_MIB_OUTDATAGRAMS = 4,
1: + UDP_MIB_RCVBUFERRORS = 5,
1: + UDP_MIB_SNDBUFERRORS = 6,
1: + UDP_MIB_CSUMERRORS = 7,
1: + UDP_MIB_IGNOREDMULTI = 8,
1: + __UDP_MIB_MAX = 9,
1: +};
1: +
1: +enum {
1: + LINUX_MIB_NUM = 0,
1: + LINUX_MIB_SYNCOOKIESSENT = 1,
1: + LINUX_MIB_SYNCOOKIESRECV = 2,
1: + LINUX_MIB_SYNCOOKIESFAILED = 3,
1: + LINUX_MIB_EMBRYONICRSTS = 4,
1: + LINUX_MIB_PRUNECALLED = 5,
1: + LINUX_MIB_RCVPRUNED = 6,
1: + LINUX_MIB_OFOPRUNED = 7,
1: + LINUX_MIB_OUTOFWINDOWICMPS = 8,
1: + LINUX_MIB_LOCKDROPPEDICMPS = 9,
1: + LINUX_MIB_ARPFILTER = 10,
1: + LINUX_MIB_TIMEWAITED = 11,
1: + LINUX_MIB_TIMEWAITRECYCLED = 12,
1: + LINUX_MIB_TIMEWAITKILLED = 13,
1: + LINUX_MIB_PAWSACTIVEREJECTED = 14,
1: + LINUX_MIB_PAWSESTABREJECTED = 15,
1: + LINUX_MIB_DELAYEDACKS = 16,
1: + LINUX_MIB_DELAYEDACKLOCKED = 17,
1: + LINUX_MIB_DELAYEDACKLOST = 18,
1: + LINUX_MIB_LISTENOVERFLOWS = 19,
1: + LINUX_MIB_LISTENDROPS = 20,
1: + LINUX_MIB_TCPHPHITS = 21,
1: + LINUX_MIB_TCPPUREACKS = 22,
1: + LINUX_MIB_TCPHPACKS = 23,
1: + LINUX_MIB_TCPRENORECOVERY = 24,
1: + LINUX_MIB_TCPSACKRECOVERY = 25,
1: + LINUX_MIB_TCPSACKRENEGING = 26,
1: + LINUX_MIB_TCPSACKREORDER = 27,
1: + LINUX_MIB_TCPRENOREORDER = 28,
1: + LINUX_MIB_TCPTSREORDER = 29,
1: + LINUX_MIB_TCPFULLUNDO = 30,
1: + LINUX_MIB_TCPPARTIALUNDO = 31,
1: + LINUX_MIB_TCPDSACKUNDO = 32,
1: + LINUX_MIB_TCPLOSSUNDO = 33,
1: + LINUX_MIB_TCPLOSTRETRANSMIT = 34,
1: + LINUX_MIB_TCPRENOFAILURES = 35,
1: + LINUX_MIB_TCPSACKFAILURES = 36,
1: + LINUX_MIB_TCPLOSSFAILURES = 37,
1: + LINUX_MIB_TCPFASTRETRANS = 38,
1: + LINUX_MIB_TCPSLOWSTARTRETRANS = 39,
1: + LINUX_MIB_TCPTIMEOUTS = 40,
1: + LINUX_MIB_TCPLOSSPROBES = 41,
1: + LINUX_MIB_TCPLOSSPROBERECOVERY = 42,
1: + LINUX_MIB_TCPRENORECOVERYFAIL = 43,
1: + LINUX_MIB_TCPSACKRECOVERYFAIL = 44,
1: + LINUX_MIB_TCPRCVCOLLAPSED = 45,
1: + LINUX_MIB_TCPDSACKOLDSENT = 46,
1: + LINUX_MIB_TCPDSACKOFOSENT = 47,
1: + LINUX_MIB_TCPDSACKRECV = 48,
1: + LINUX_MIB_TCPDSACKOFORECV = 49,
1: + LINUX_MIB_TCPABORTONDATA = 50,
1: + LINUX_MIB_TCPABORTONCLOSE = 51,
1: + LINUX_MIB_TCPABORTONMEMORY = 52,
1: + LINUX_MIB_TCPABORTONTIMEOUT = 53,
1: + LINUX_MIB_TCPABORTONLINGER = 54,
1: + LINUX_MIB_TCPABORTFAILED = 55,
1: + LINUX_MIB_TCPMEMORYPRESSURES = 56,
1: + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57,
1: + LINUX_MIB_TCPSACKDISCARD = 58,
1: + LINUX_MIB_TCPDSACKIGNOREDOLD = 59,
1: + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60,
1: + LINUX_MIB_TCPSPURIOUSRTOS = 61,
1: + LINUX_MIB_TCPMD5NOTFOUND = 62,
1: + LINUX_MIB_TCPMD5UNEXPECTED = 63,
1: + LINUX_MIB_TCPMD5FAILURE = 64,
1: + LINUX_MIB_SACKSHIFTED = 65,
1: + LINUX_MIB_SACKMERGED = 66,
1: + LINUX_MIB_SACKSHIFTFALLBACK = 67,
1: + LINUX_MIB_TCPBACKLOGDROP = 68,
1: + LINUX_MIB_PFMEMALLOCDROP = 69,
1: + LINUX_MIB_TCPMINTTLDROP = 70,
1: + LINUX_MIB_TCPDEFERACCEPTDROP = 71,
1: + LINUX_MIB_IPRPFILTER = 72,
1: + LINUX_MIB_TCPTIMEWAITOVERFLOW = 73,
1: + LINUX_MIB_TCPREQQFULLDOCOOKIES = 74,
1: + LINUX_MIB_TCPREQQFULLDROP = 75,
1: + LINUX_MIB_TCPRETRANSFAIL = 76,
1: + LINUX_MIB_TCPRCVCOALESCE = 77,
1: + LINUX_MIB_TCPBACKLOGCOALESCE = 78,
1: + LINUX_MIB_TCPOFOQUEUE = 79,
1: + LINUX_MIB_TCPOFODROP = 80,
1: + LINUX_MIB_TCPOFOMERGE = 81,
1: + LINUX_MIB_TCPCHALLENGEACK = 82,
1: + LINUX_MIB_TCPSYNCHALLENGE = 83,
1: + LINUX_MIB_TCPFASTOPENACTIVE = 84,
1: + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85,
1: + LINUX_MIB_TCPFASTOPENPASSIVE = 86,
1: + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87,
1: + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88,
1: + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89,
1: + LINUX_MIB_TCPFASTOPENBLACKHOLE = 90,
1: + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91,
1: + LINUX_MIB_BUSYPOLLRXPACKETS = 92,
1: + LINUX_MIB_TCPAUTOCORKING = 93,
1: + LINUX_MIB_TCPFROMZEROWINDOWADV = 94,
1: + LINUX_MIB_TCPTOZEROWINDOWADV = 95,
1: + LINUX_MIB_TCPWANTZEROWINDOWADV = 96,
1: + LINUX_MIB_TCPSYNRETRANS = 97,
1: + LINUX_MIB_TCPORIGDATASENT = 98,
1: + LINUX_MIB_TCPHYSTARTTRAINDETECT = 99,
1: + LINUX_MIB_TCPHYSTARTTRAINCWND = 100,
1: + LINUX_MIB_TCPHYSTARTDELAYDETECT = 101,
1: + LINUX_MIB_TCPHYSTARTDELAYCWND = 102,
1: + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103,
1: + LINUX_MIB_TCPACKSKIPPEDPAWS = 104,
1: + LINUX_MIB_TCPACKSKIPPEDSEQ = 105,
1: + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106,
1: + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107,
1: + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108,
1: + LINUX_MIB_TCPWINPROBE = 109,
1: + LINUX_MIB_TCPKEEPALIVE = 110,
1: + LINUX_MIB_TCPMTUPFAIL = 111,
1: + LINUX_MIB_TCPMTUPSUCCESS = 112,
1: + LINUX_MIB_TCPDELIVERED = 113,
1: + LINUX_MIB_TCPDELIVEREDCE = 114,
1: + LINUX_MIB_TCPACKCOMPRESSED = 115,
1: + LINUX_MIB_TCPZEROWINDOWDROP = 116,
1: + LINUX_MIB_TCPRCVQDROP = 117,
1: + LINUX_MIB_TCPWQUEUETOOBIG = 118,
1: + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119,
1: + __LINUX_MIB_MAX = 120,
1: +};
1: +
1: +enum {
1: + LINUX_MIB_XFRMNUM = 0,
1: + LINUX_MIB_XFRMINERROR = 1,
1: + LINUX_MIB_XFRMINBUFFERERROR = 2,
1: + LINUX_MIB_XFRMINHDRERROR = 3,
1: + LINUX_MIB_XFRMINNOSTATES = 4,
1: + LINUX_MIB_XFRMINSTATEPROTOERROR = 5,
1: + LINUX_MIB_XFRMINSTATEMODEERROR = 6,
1: + LINUX_MIB_XFRMINSTATESEQERROR = 7,
1: + LINUX_MIB_XFRMINSTATEEXPIRED = 8,
1: + LINUX_MIB_XFRMINSTATEMISMATCH = 9,
1: + LINUX_MIB_XFRMINSTATEINVALID = 10,
1: + LINUX_MIB_XFRMINTMPLMISMATCH = 11,
1: + LINUX_MIB_XFRMINNOPOLS = 12,
1: + LINUX_MIB_XFRMINPOLBLOCK = 13,
1: + LINUX_MIB_XFRMINPOLERROR = 14,
1: + LINUX_MIB_XFRMOUTERROR = 15,
1: + LINUX_MIB_XFRMOUTBUNDLEGENERROR = 16,
1: + LINUX_MIB_XFRMOUTBUNDLECHECKERROR = 17,
1: + LINUX_MIB_XFRMOUTNOSTATES = 18,
1: + LINUX_MIB_XFRMOUTSTATEPROTOERROR = 19,
1: + LINUX_MIB_XFRMOUTSTATEMODEERROR = 20,
1: + LINUX_MIB_XFRMOUTSTATESEQERROR = 21,
1: + LINUX_MIB_XFRMOUTSTATEEXPIRED = 22,
1: + LINUX_MIB_XFRMOUTPOLBLOCK = 23,
1: + LINUX_MIB_XFRMOUTPOLDEAD = 24,
1: + LINUX_MIB_XFRMOUTPOLERROR = 25,
1: + LINUX_MIB_XFRMFWDHDRERROR = 26,
1: + LINUX_MIB_XFRMOUTSTATEINVALID = 27,
1: + LINUX_MIB_XFRMACQUIREERROR = 28,
1: + __LINUX_MIB_XFRMMAX = 29,
1: +};
1: +
1: +enum {
1: + LINUX_MIB_TLSNUM = 0,
1: + LINUX_MIB_TLSCURRTXSW = 1,
1: + LINUX_MIB_TLSCURRRXSW = 2,
1: + LINUX_MIB_TLSCURRTXDEVICE = 3,
1: + LINUX_MIB_TLSCURRRXDEVICE = 4,
1: + LINUX_MIB_TLSTXSW = 5,
1: + LINUX_MIB_TLSRXSW = 6,
1: + LINUX_MIB_TLSTXDEVICE = 7,
1: + LINUX_MIB_TLSRXDEVICE = 8,
1: + LINUX_MIB_TLSDECRYPTERROR = 9,
1: + LINUX_MIB_TLSRXDEVICERESYNC = 10,
1: + __LINUX_MIB_TLSMAX = 11,
1: };
1:
1: enum nf_inet_hooks {
1: - NF_INET_PRE_ROUTING = 0,
1: - NF_INET_LOCAL_IN = 1,
1: - NF_INET_FORWARD = 2,
1: - NF_INET_LOCAL_OUT = 3,
1: - NF_INET_POST_ROUTING = 4,
1: - NF_INET_NUMHOOKS = 5,
1: + NF_INET_PRE_ROUTING = 0,
1: + NF_INET_LOCAL_IN = 1,
1: + NF_INET_FORWARD = 2,
1: + NF_INET_LOCAL_OUT = 3,
1: + NF_INET_POST_ROUTING = 4,
1: + NF_INET_NUMHOOKS = 5,
1: };
1:
1: enum {
1: - NFPROTO_UNSPEC = 0,
1: - NFPROTO_INET = 1,
1: - NFPROTO_IPV4 = 2,
1: - NFPROTO_ARP = 3,
1: - NFPROTO_NETDEV = 5,
1: - NFPROTO_BRIDGE = 7,
1: - NFPROTO_IPV6 = 10,
1: - NFPROTO_DECNET = 12,
1: - NFPROTO_NUMPROTO = 13,
1: + NFPROTO_UNSPEC = 0,
1: + NFPROTO_INET = 1,
1: + NFPROTO_IPV4 = 2,
1: + NFPROTO_ARP = 3,
1: + NFPROTO_NETDEV = 5,
1: + NFPROTO_BRIDGE = 7,
1: + NFPROTO_IPV6 = 10,
1: + NFPROTO_DECNET = 12,
1: + NFPROTO_NUMPROTO = 13,
1: };
1:
1: enum tcp_conntrack {
1: - TCP_CONNTRACK_NONE = 0,
1: - TCP_CONNTRACK_SYN_SENT = 1,
1: - TCP_CONNTRACK_SYN_RECV = 2,
1: - TCP_CONNTRACK_ESTABLISHED = 3,
1: - TCP_CONNTRACK_FIN_WAIT = 4,
1: - TCP_CONNTRACK_CLOSE_WAIT = 5,
1: - TCP_CONNTRACK_LAST_ACK = 6,
1: - TCP_CONNTRACK_TIME_WAIT = 7,
1: - TCP_CONNTRACK_CLOSE = 8,
1: - TCP_CONNTRACK_LISTEN = 9,
1: - TCP_CONNTRACK_MAX = 10,
1: - TCP_CONNTRACK_IGNORE = 11,
1: - TCP_CONNTRACK_RETRANS = 12,
1: - TCP_CONNTRACK_UNACK = 13,
1: - TCP_CONNTRACK_TIMEOUT_MAX = 14,
1: + TCP_CONNTRACK_NONE = 0,
1: + TCP_CONNTRACK_SYN_SENT = 1,
1: + TCP_CONNTRACK_SYN_RECV = 2,
1: + TCP_CONNTRACK_ESTABLISHED = 3,
1: + TCP_CONNTRACK_FIN_WAIT = 4,
1: + TCP_CONNTRACK_CLOSE_WAIT = 5,
1: + TCP_CONNTRACK_LAST_ACK = 6,
1: + TCP_CONNTRACK_TIME_WAIT = 7,
1: + TCP_CONNTRACK_CLOSE = 8,
1: + TCP_CONNTRACK_LISTEN = 9,
1: + TCP_CONNTRACK_MAX = 10,
1: + TCP_CONNTRACK_IGNORE = 11,
1: + TCP_CONNTRACK_RETRANS = 12,
1: + TCP_CONNTRACK_UNACK = 13,
1: + TCP_CONNTRACK_TIMEOUT_MAX = 14,
1: };
1:
1: enum udp_conntrack {
1: - UDP_CT_UNREPLIED = 0,
1: - UDP_CT_REPLIED = 1,
1: - UDP_CT_MAX = 2,
1: + UDP_CT_UNREPLIED = 0,
1: + UDP_CT_REPLIED = 1,
1: + UDP_CT_MAX = 2,
1: };
1:
1: enum {
1: - XFRM_POLICY_IN = 0,
1: - XFRM_POLICY_OUT = 1,
1: - XFRM_POLICY_FWD = 2,
1: - XFRM_POLICY_MASK = 3,
1: - XFRM_POLICY_MAX = 3,
1: + XFRM_POLICY_IN = 0,
1: + XFRM_POLICY_OUT = 1,
1: + XFRM_POLICY_FWD = 2,
1: + XFRM_POLICY_MASK = 3,
1: + XFRM_POLICY_MAX = 3,
1: };
1:
1: enum skb_ext_id {
1: - SKB_EXT_SEC_PATH = 0,
1: - SKB_EXT_NUM = 1,
1: + SKB_EXT_SEC_PATH = 0,
1: + SKB_EXT_NUM = 1,
1: };
1:
1: enum audit_ntp_type {
1: - AUDIT_NTP_OFFSET = 0,
1: - AUDIT_NTP_FREQ = 1,
1: - AUDIT_NTP_STATUS = 2,
1: - AUDIT_NTP_TAI = 3,
1: - AUDIT_NTP_TICK = 4,
1: - AUDIT_NTP_ADJUST = 5,
1: - AUDIT_NTP_NVALS = 6,
1: + AUDIT_NTP_OFFSET = 0,
1: + AUDIT_NTP_FREQ = 1,
1: + AUDIT_NTP_STATUS = 2,
1: + AUDIT_NTP_TAI = 3,
1: + AUDIT_NTP_TICK = 4,
1: + AUDIT_NTP_ADJUST = 5,
1: + AUDIT_NTP_NVALS = 6,
1: };
1:
1: enum {
1: - EI_ETYPE_NONE = 0,
1: - EI_ETYPE_NULL = 1,
1: - EI_ETYPE_ERRNO = 2,
1: - EI_ETYPE_ERRNO_NULL = 3,
1: - EI_ETYPE_TRUE = 4,
1: + EI_ETYPE_NONE = 0,
1: + EI_ETYPE_NULL = 1,
1: + EI_ETYPE_ERRNO = 2,
1: + EI_ETYPE_ERRNO_NULL = 3,
1: + EI_ETYPE_TRUE = 4,
1: };
1:
1: typedef long int (*sys_call_ptr_t)(const struct pt_regs *);
1:
1: struct io_bitmap {
1: - u64 sequence;
1: - refcount_t refcnt;
1: - unsigned int max;
1: - long unsigned int bitmap[1024];
1: + u64 sequence;
1: + refcount_t refcnt;
1: + unsigned int max;
1: + long unsigned int bitmap[1024];
1: };
1:
1: struct seccomp_data {
1: - int nr;
1: - __u32 arch;
1: - __u64 instruction_pointer;
1: - __u64 args[6];
1: + int nr;
1: + __u32 arch;
1: + __u64 instruction_pointer;
1: + __u64 args[6];
1: };
1:
1: struct ksignal {
1: - struct k_sigaction ka;
1: - kernel_siginfo_t info;
1: - int sig;
1: + struct k_sigaction ka;
1: + kernel_siginfo_t info;
1: + int sig;
1: };
1:
1: struct __large_struct {
1: - long unsigned int buf[100];
1: + long unsigned int buf[100];
1: };
1:
1: enum {
1: - TASKSTATS_CMD_UNSPEC = 0,
1: - TASKSTATS_CMD_GET = 1,
1: - TASKSTATS_CMD_NEW = 2,
1: - __TASKSTATS_CMD_MAX = 3,
1: + TASKSTATS_CMD_UNSPEC = 0,
1: + TASKSTATS_CMD_GET = 1,
1: + TASKSTATS_CMD_NEW = 2,
1: + __TASKSTATS_CMD_MAX = 3,
1: };
1:
1: enum ctx_state {
1: - CONTEXT_DISABLED = -1,
1: - CONTEXT_KERNEL = 0,
1: - CONTEXT_USER = 1,
1: - CONTEXT_GUEST = 2,
1: + CONTEXT_DISABLED = -1,
1: + CONTEXT_KERNEL = 0,
1: + CONTEXT_USER = 1,
1: + CONTEXT_GUEST = 2,
1: };
1:
1: enum {
1: - HI_SOFTIRQ = 0,
1: - TIMER_SOFTIRQ = 1,
1: - NET_TX_SOFTIRQ = 2,
1: - NET_RX_SOFTIRQ = 3,
1: - BLOCK_SOFTIRQ = 4,
1: - IRQ_POLL_SOFTIRQ = 5,
1: - TASKLET_SOFTIRQ = 6,
1: - SCHED_SOFTIRQ = 7,
1: - HRTIMER_SOFTIRQ = 8,
1: - RCU_SOFTIRQ = 9,
1: - NR_SOFTIRQS = 10,
1: + HI_SOFTIRQ = 0,
1: + TIMER_SOFTIRQ = 1,
1: + NET_TX_SOFTIRQ = 2,
1: + NET_RX_SOFTIRQ = 3,
1: + BLOCK_SOFTIRQ = 4,
1: + IRQ_POLL_SOFTIRQ = 5,
1: + TASKLET_SOFTIRQ = 6,
1: + SCHED_SOFTIRQ = 7,
1: + HRTIMER_SOFTIRQ = 8,
1: + RCU_SOFTIRQ = 9,
1: + NR_SOFTIRQS = 10,
1: };
1:
1: enum cpu_usage_stat {
1: - CPUTIME_USER = 0,
1: - CPUTIME_NICE = 1,
1: - CPUTIME_SYSTEM = 2,
1: - CPUTIME_SOFTIRQ = 3,
1: - CPUTIME_IRQ = 4,
1: - CPUTIME_IDLE = 5,
1: - CPUTIME_IOWAIT = 6,
1: - CPUTIME_STEAL = 7,
1: - CPUTIME_GUEST = 8,
1: - CPUTIME_GUEST_NICE = 9,
1: - NR_STATS = 10,
1: + CPUTIME_USER = 0,
1: + CPUTIME_NICE = 1,
1: + CPUTIME_SYSTEM = 2,
1: + CPUTIME_SOFTIRQ = 3,
1: + CPUTIME_IRQ = 4,
1: + CPUTIME_IDLE = 5,
1: + CPUTIME_IOWAIT = 6,
1: + CPUTIME_STEAL = 7,
1: + CPUTIME_GUEST = 8,
1: + CPUTIME_GUEST_NICE = 9,
1: + NR_STATS = 10,
1: };
1:
1: enum bpf_cgroup_storage_type {
1: - BPF_CGROUP_STORAGE_SHARED = 0,
1: - BPF_CGROUP_STORAGE_PERCPU = 1,
1: - __BPF_CGROUP_STORAGE_MAX = 2,
1: + BPF_CGROUP_STORAGE_SHARED = 0,
1: + BPF_CGROUP_STORAGE_PERCPU = 1,
1: + __BPF_CGROUP_STORAGE_MAX = 2,
1: };
1:
1: enum cgroup_subsys_id {
1: - cpuset_cgrp_id = 0,
1: - cpu_cgrp_id = 1,
1: - cpuacct_cgrp_id = 2,
1: - freezer_cgrp_id = 3,
1: - CGROUP_SUBSYS_COUNT = 4,
1: + cpuset_cgrp_id = 0,
1: + cpu_cgrp_id = 1,
1: + cpuacct_cgrp_id = 2,
1: + freezer_cgrp_id = 3,
1: + CGROUP_SUBSYS_COUNT = 4,
1: };
1:
1: typedef u8 kprobe_opcode_t;
1:
1: struct arch_specific_insn {
1: - kprobe_opcode_t *insn;
1: - bool boostable;
1: - bool if_modifier;
1: + kprobe_opcode_t *insn;
1: + bool boostable;
1: + bool if_modifier;
1: };
1:
1: struct kprobe;
1:
1: struct prev_kprobe {
1: - struct kprobe *kp;
1: - long unsigned int status;
1: - long unsigned int old_flags;
1: - long unsigned int saved_flags;
1: + struct kprobe *kp;
1: + long unsigned int status;
1: + long unsigned int old_flags;
1: + long unsigned int saved_flags;
1: };
1:
1: typedef int (*kprobe_pre_handler_t)(struct kprobe *, struct pt_regs *);
1:
1: -typedef void (*kprobe_post_handler_t)(struct kprobe *, struct pt_regs *, long unsigned int);
1: +typedef void (*kprobe_post_handler_t)(struct kprobe *, struct pt_regs *,
1: + long unsigned int);
1:
1: typedef int (*kprobe_fault_handler_t)(struct kprobe *, struct pt_regs *, int);
1:
1: struct kprobe {
1: - struct hlist_node hlist;
1: - struct list_head list;
1: - long unsigned int nmissed;
1: - kprobe_opcode_t *addr;
1: - const char *symbol_name;
1: - unsigned int offset;
1: - kprobe_pre_handler_t pre_handler;
1: - kprobe_post_handler_t post_handler;
1: - kprobe_fault_handler_t fault_handler;
1: - kprobe_opcode_t opcode;
1: - struct arch_specific_insn ainsn;
1: - u32 flags;
1: + struct hlist_node hlist;
1: + struct list_head list;
1: + long unsigned int nmissed;
1: + kprobe_opcode_t *addr;
1: + const char *symbol_name;
1: + unsigned int offset;
1: + kprobe_pre_handler_t pre_handler;
1: + kprobe_post_handler_t post_handler;
1: + kprobe_fault_handler_t fault_handler;
1: + kprobe_opcode_t opcode;
1: + struct arch_specific_insn ainsn;
1: + u32 flags;
1: };
1:
1: struct kprobe_ctlblk {
1: - long unsigned int kprobe_status;
1: - long unsigned int kprobe_old_flags;
1: - long unsigned int kprobe_saved_flags;
1: - struct prev_kprobe prev_kprobe;
1: + long unsigned int kprobe_status;
1: + long unsigned int kprobe_old_flags;
1: + long unsigned int kprobe_saved_flags;
1: + struct prev_kprobe prev_kprobe;
1: };
1:
1: struct kprobe_insn_cache {
1: - struct mutex mutex;
1: - void * (*alloc)();
1: - void (*free)(void *);
1: - struct list_head pages;
1: - size_t insn_size;
1: - int nr_garbage;
1: + struct mutex mutex;
1: + void *(*alloc)();
1: + void (*free)(void *);
1: + struct list_head pages;
1: + size_t insn_size;
1: + int nr_garbage;
1: };
1:
1: struct trace_event_raw_sys_enter {
1: - struct trace_entry ent;
1: - long int id;
1: - long unsigned int args[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + long int id;
1: + long unsigned int args[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sys_exit {
1: - struct trace_entry ent;
1: - long int id;
1: - long int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long int id;
1: + long int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_sys_enter {};
1: @@ -14071,1272 +14209,1276 @@ struct trace_event_data_offsets_sys_enter {};
1: struct trace_event_data_offsets_sys_exit {};
1:
1: struct alt_instr {
1: - s32 instr_offset;
1: - s32 repl_offset;
1: - u16 cpuid;
1: - u8 instrlen;
1: - u8 replacementlen;
1: - u8 padlen;
1: + s32 instr_offset;
1: + s32 repl_offset;
1: + u16 cpuid;
1: + u8 instrlen;
1: + u8 replacementlen;
1: + u8 padlen;
1: } __attribute__((packed));
1:
1: enum vm_fault_reason {
1: - VM_FAULT_OOM = 1,
1: - VM_FAULT_SIGBUS = 2,
1: - VM_FAULT_MAJOR = 4,
1: - VM_FAULT_WRITE = 8,
1: - VM_FAULT_HWPOISON = 16,
1: - VM_FAULT_HWPOISON_LARGE = 32,
1: - VM_FAULT_SIGSEGV = 64,
1: - VM_FAULT_NOPAGE = 256,
1: - VM_FAULT_LOCKED = 512,
1: - VM_FAULT_RETRY = 1024,
1: - VM_FAULT_FALLBACK = 2048,
1: - VM_FAULT_DONE_COW = 4096,
1: - VM_FAULT_NEEDDSYNC = 8192,
1: - VM_FAULT_HINDEX_MASK = 983040,
1: + VM_FAULT_OOM = 1,
1: + VM_FAULT_SIGBUS = 2,
1: + VM_FAULT_MAJOR = 4,
1: + VM_FAULT_WRITE = 8,
1: + VM_FAULT_HWPOISON = 16,
1: + VM_FAULT_HWPOISON_LARGE = 32,
1: + VM_FAULT_SIGSEGV = 64,
1: + VM_FAULT_NOPAGE = 256,
1: + VM_FAULT_LOCKED = 512,
1: + VM_FAULT_RETRY = 1024,
1: + VM_FAULT_FALLBACK = 2048,
1: + VM_FAULT_DONE_COW = 4096,
1: + VM_FAULT_NEEDDSYNC = 8192,
1: + VM_FAULT_HINDEX_MASK = 983040,
1: };
1:
1: struct vm_special_mapping {
1: - const char *name;
1: - struct page **pages;
1: - vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *);
1: - int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *);
1: + const char *name;
1: + struct page **pages;
1: + vm_fault_t (*fault)(const struct vm_special_mapping *,
1: + struct vm_area_struct *, struct vm_fault *);
1: + int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *);
1: };
1:
1: struct pvclock_vcpu_time_info {
1: - u32 version;
1: - u32 pad0;
1: - u64 tsc_timestamp;
1: - u64 system_time;
1: - u32 tsc_to_system_mul;
1: - s8 tsc_shift;
1: - u8 flags;
1: - u8 pad[2];
1: + u32 version;
1: + u32 pad0;
1: + u64 tsc_timestamp;
1: + u64 system_time;
1: + u32 tsc_to_system_mul;
1: + s8 tsc_shift;
1: + u8 flags;
1: + u8 pad[2];
1: };
1:
1: struct pvclock_vsyscall_time_info {
1: - struct pvclock_vcpu_time_info pvti;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct pvclock_vcpu_time_info pvti;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct ms_hyperv_tsc_page {
1: - volatile u32 tsc_sequence;
1: - u32 reserved1;
1: - volatile u64 tsc_scale;
1: - volatile s64 tsc_offset;
1: - u64 reserved2[509];
1: -};
1: -
1: -enum {
1: - X86_TRAP_DE = 0,
1: - X86_TRAP_DB = 1,
1: - X86_TRAP_NMI = 2,
1: - X86_TRAP_BP = 3,
1: - X86_TRAP_OF = 4,
1: - X86_TRAP_BR = 5,
1: - X86_TRAP_UD = 6,
1: - X86_TRAP_NM = 7,
1: - X86_TRAP_DF = 8,
1: - X86_TRAP_OLD_MF = 9,
1: - X86_TRAP_TS = 10,
1: - X86_TRAP_NP = 11,
1: - X86_TRAP_SS = 12,
1: - X86_TRAP_GP = 13,
1: - X86_TRAP_PF = 14,
1: - X86_TRAP_SPURIOUS = 15,
1: - X86_TRAP_MF = 16,
1: - X86_TRAP_AC = 17,
1: - X86_TRAP_MC = 18,
1: - X86_TRAP_XF = 19,
1: - X86_TRAP_IRET = 32,
1: + volatile u32 tsc_sequence;
1: + u32 reserved1;
1: + volatile u64 tsc_scale;
1: + volatile s64 tsc_offset;
1: + u64 reserved2[509];
1: +};
1: +
1: +enum {
1: + X86_TRAP_DE = 0,
1: + X86_TRAP_DB = 1,
1: + X86_TRAP_NMI = 2,
1: + X86_TRAP_BP = 3,
1: + X86_TRAP_OF = 4,
1: + X86_TRAP_BR = 5,
1: + X86_TRAP_UD = 6,
1: + X86_TRAP_NM = 7,
1: + X86_TRAP_DF = 8,
1: + X86_TRAP_OLD_MF = 9,
1: + X86_TRAP_TS = 10,
1: + X86_TRAP_NP = 11,
1: + X86_TRAP_SS = 12,
1: + X86_TRAP_GP = 13,
1: + X86_TRAP_PF = 14,
1: + X86_TRAP_SPURIOUS = 15,
1: + X86_TRAP_MF = 16,
1: + X86_TRAP_AC = 17,
1: + X86_TRAP_MC = 18,
1: + X86_TRAP_XF = 19,
1: + X86_TRAP_IRET = 32,
1: };
1:
1: enum x86_pf_error_code {
1: - X86_PF_PROT = 1,
1: - X86_PF_WRITE = 2,
1: - X86_PF_USER = 4,
1: - X86_PF_RSVD = 8,
1: - X86_PF_INSTR = 16,
1: - X86_PF_PK = 32,
1: + X86_PF_PROT = 1,
1: + X86_PF_WRITE = 2,
1: + X86_PF_USER = 4,
1: + X86_PF_RSVD = 8,
1: + X86_PF_INSTR = 16,
1: + X86_PF_PK = 32,
1: };
1:
1: struct trace_event_raw_emulate_vsyscall {
1: - struct trace_entry ent;
1: - int nr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nr;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_emulate_vsyscall {};
1:
1: enum {
1: - EMULATE = 0,
1: - XONLY = 1,
1: - NONE = 2,
1: + EMULATE = 0,
1: + XONLY = 1,
1: + NONE = 2,
1: };
1:
1: enum perf_type_id {
1: - PERF_TYPE_HARDWARE = 0,
1: - PERF_TYPE_SOFTWARE = 1,
1: - PERF_TYPE_TRACEPOINT = 2,
1: - PERF_TYPE_HW_CACHE = 3,
1: - PERF_TYPE_RAW = 4,
1: - PERF_TYPE_BREAKPOINT = 5,
1: - PERF_TYPE_MAX = 6,
1: + PERF_TYPE_HARDWARE = 0,
1: + PERF_TYPE_SOFTWARE = 1,
1: + PERF_TYPE_TRACEPOINT = 2,
1: + PERF_TYPE_HW_CACHE = 3,
1: + PERF_TYPE_RAW = 4,
1: + PERF_TYPE_BREAKPOINT = 5,
1: + PERF_TYPE_MAX = 6,
1: };
1:
1: enum perf_hw_id {
1: - PERF_COUNT_HW_CPU_CYCLES = 0,
1: - PERF_COUNT_HW_INSTRUCTIONS = 1,
1: - PERF_COUNT_HW_CACHE_REFERENCES = 2,
1: - PERF_COUNT_HW_CACHE_MISSES = 3,
1: - PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 4,
1: - PERF_COUNT_HW_BRANCH_MISSES = 5,
1: - PERF_COUNT_HW_BUS_CYCLES = 6,
1: - PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 7,
1: - PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 8,
1: - PERF_COUNT_HW_REF_CPU_CYCLES = 9,
1: - PERF_COUNT_HW_MAX = 10,
1: + PERF_COUNT_HW_CPU_CYCLES = 0,
1: + PERF_COUNT_HW_INSTRUCTIONS = 1,
1: + PERF_COUNT_HW_CACHE_REFERENCES = 2,
1: + PERF_COUNT_HW_CACHE_MISSES = 3,
1: + PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 4,
1: + PERF_COUNT_HW_BRANCH_MISSES = 5,
1: + PERF_COUNT_HW_BUS_CYCLES = 6,
1: + PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 7,
1: + PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 8,
1: + PERF_COUNT_HW_REF_CPU_CYCLES = 9,
1: + PERF_COUNT_HW_MAX = 10,
1: };
1:
1: enum perf_hw_cache_id {
1: - PERF_COUNT_HW_CACHE_L1D = 0,
1: - PERF_COUNT_HW_CACHE_L1I = 1,
1: - PERF_COUNT_HW_CACHE_LL = 2,
1: - PERF_COUNT_HW_CACHE_DTLB = 3,
1: - PERF_COUNT_HW_CACHE_ITLB = 4,
1: - PERF_COUNT_HW_CACHE_BPU = 5,
1: - PERF_COUNT_HW_CACHE_NODE = 6,
1: - PERF_COUNT_HW_CACHE_MAX = 7,
1: + PERF_COUNT_HW_CACHE_L1D = 0,
1: + PERF_COUNT_HW_CACHE_L1I = 1,
1: + PERF_COUNT_HW_CACHE_LL = 2,
1: + PERF_COUNT_HW_CACHE_DTLB = 3,
1: + PERF_COUNT_HW_CACHE_ITLB = 4,
1: + PERF_COUNT_HW_CACHE_BPU = 5,
1: + PERF_COUNT_HW_CACHE_NODE = 6,
1: + PERF_COUNT_HW_CACHE_MAX = 7,
1: };
1:
1: enum perf_hw_cache_op_id {
1: - PERF_COUNT_HW_CACHE_OP_READ = 0,
1: - PERF_COUNT_HW_CACHE_OP_WRITE = 1,
1: - PERF_COUNT_HW_CACHE_OP_PREFETCH = 2,
1: - PERF_COUNT_HW_CACHE_OP_MAX = 3,
1: + PERF_COUNT_HW_CACHE_OP_READ = 0,
1: + PERF_COUNT_HW_CACHE_OP_WRITE = 1,
1: + PERF_COUNT_HW_CACHE_OP_PREFETCH = 2,
1: + PERF_COUNT_HW_CACHE_OP_MAX = 3,
1: };
1:
1: enum perf_hw_cache_op_result_id {
1: - PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0,
1: - PERF_COUNT_HW_CACHE_RESULT_MISS = 1,
1: - PERF_COUNT_HW_CACHE_RESULT_MAX = 2,
1: + PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0,
1: + PERF_COUNT_HW_CACHE_RESULT_MISS = 1,
1: + PERF_COUNT_HW_CACHE_RESULT_MAX = 2,
1: };
1:
1: enum perf_event_sample_format {
1: - PERF_SAMPLE_IP = 1,
1: - PERF_SAMPLE_TID = 2,
1: - PERF_SAMPLE_TIME = 4,
1: - PERF_SAMPLE_ADDR = 8,
1: - PERF_SAMPLE_READ = 16,
1: - PERF_SAMPLE_CALLCHAIN = 32,
1: - PERF_SAMPLE_ID = 64,
1: - PERF_SAMPLE_CPU = 128,
1: - PERF_SAMPLE_PERIOD = 256,
1: - PERF_SAMPLE_STREAM_ID = 512,
1: - PERF_SAMPLE_RAW = 1024,
1: - PERF_SAMPLE_BRANCH_STACK = 2048,
1: - PERF_SAMPLE_REGS_USER = 4096,
1: - PERF_SAMPLE_STACK_USER = 8192,
1: - PERF_SAMPLE_WEIGHT = 16384,
1: - PERF_SAMPLE_DATA_SRC = 32768,
1: - PERF_SAMPLE_IDENTIFIER = 65536,
1: - PERF_SAMPLE_TRANSACTION = 131072,
1: - PERF_SAMPLE_REGS_INTR = 262144,
1: - PERF_SAMPLE_PHYS_ADDR = 524288,
1: - PERF_SAMPLE_AUX = 1048576,
1: - PERF_SAMPLE_MAX = 2097152,
1: - __PERF_SAMPLE_CALLCHAIN_EARLY = -1,
1: + PERF_SAMPLE_IP = 1,
1: + PERF_SAMPLE_TID = 2,
1: + PERF_SAMPLE_TIME = 4,
1: + PERF_SAMPLE_ADDR = 8,
1: + PERF_SAMPLE_READ = 16,
1: + PERF_SAMPLE_CALLCHAIN = 32,
1: + PERF_SAMPLE_ID = 64,
1: + PERF_SAMPLE_CPU = 128,
1: + PERF_SAMPLE_PERIOD = 256,
1: + PERF_SAMPLE_STREAM_ID = 512,
1: + PERF_SAMPLE_RAW = 1024,
1: + PERF_SAMPLE_BRANCH_STACK = 2048,
1: + PERF_SAMPLE_REGS_USER = 4096,
1: + PERF_SAMPLE_STACK_USER = 8192,
1: + PERF_SAMPLE_WEIGHT = 16384,
1: + PERF_SAMPLE_DATA_SRC = 32768,
1: + PERF_SAMPLE_IDENTIFIER = 65536,
1: + PERF_SAMPLE_TRANSACTION = 131072,
1: + PERF_SAMPLE_REGS_INTR = 262144,
1: + PERF_SAMPLE_PHYS_ADDR = 524288,
1: + PERF_SAMPLE_AUX = 1048576,
1: + PERF_SAMPLE_MAX = 2097152,
1: + __PERF_SAMPLE_CALLCHAIN_EARLY = -1,
1: };
1:
1: enum perf_branch_sample_type {
1: - PERF_SAMPLE_BRANCH_USER = 1,
1: - PERF_SAMPLE_BRANCH_KERNEL = 2,
1: - PERF_SAMPLE_BRANCH_HV = 4,
1: - PERF_SAMPLE_BRANCH_ANY = 8,
1: - PERF_SAMPLE_BRANCH_ANY_CALL = 16,
1: - PERF_SAMPLE_BRANCH_ANY_RETURN = 32,
1: - PERF_SAMPLE_BRANCH_IND_CALL = 64,
1: - PERF_SAMPLE_BRANCH_ABORT_TX = 128,
1: - PERF_SAMPLE_BRANCH_IN_TX = 256,
1: - PERF_SAMPLE_BRANCH_NO_TX = 512,
1: - PERF_SAMPLE_BRANCH_COND = 1024,
1: - PERF_SAMPLE_BRANCH_CALL_STACK = 2048,
1: - PERF_SAMPLE_BRANCH_IND_JUMP = 4096,
1: - PERF_SAMPLE_BRANCH_CALL = 8192,
1: - PERF_SAMPLE_BRANCH_NO_FLAGS = 16384,
1: - PERF_SAMPLE_BRANCH_NO_CYCLES = 32768,
1: - PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536,
1: - PERF_SAMPLE_BRANCH_MAX = 131072,
1: + PERF_SAMPLE_BRANCH_USER = 1,
1: + PERF_SAMPLE_BRANCH_KERNEL = 2,
1: + PERF_SAMPLE_BRANCH_HV = 4,
1: + PERF_SAMPLE_BRANCH_ANY = 8,
1: + PERF_SAMPLE_BRANCH_ANY_CALL = 16,
1: + PERF_SAMPLE_BRANCH_ANY_RETURN = 32,
1: + PERF_SAMPLE_BRANCH_IND_CALL = 64,
1: + PERF_SAMPLE_BRANCH_ABORT_TX = 128,
1: + PERF_SAMPLE_BRANCH_IN_TX = 256,
1: + PERF_SAMPLE_BRANCH_NO_TX = 512,
1: + PERF_SAMPLE_BRANCH_COND = 1024,
1: + PERF_SAMPLE_BRANCH_CALL_STACK = 2048,
1: + PERF_SAMPLE_BRANCH_IND_JUMP = 4096,
1: + PERF_SAMPLE_BRANCH_CALL = 8192,
1: + PERF_SAMPLE_BRANCH_NO_FLAGS = 16384,
1: + PERF_SAMPLE_BRANCH_NO_CYCLES = 32768,
1: + PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536,
1: + PERF_SAMPLE_BRANCH_MAX = 131072,
1: };
1:
1: struct perf_event_mmap_page {
1: - __u32 version;
1: - __u32 compat_version;
1: - __u32 lock;
1: - __u32 index;
1: - __s64 offset;
1: - __u64 time_enabled;
1: - __u64 time_running;
1: - union {
1: - __u64 capabilities;
1: - struct {
1: - __u64 cap_bit0: 1;
1: - __u64 cap_bit0_is_deprecated: 1;
1: - __u64 cap_user_rdpmc: 1;
1: - __u64 cap_user_time: 1;
1: - __u64 cap_user_time_zero: 1;
1: - __u64 cap_____res: 59;
1: - };
1: - };
1: - __u16 pmc_width;
1: - __u16 time_shift;
1: - __u32 time_mult;
1: - __u64 time_offset;
1: - __u64 time_zero;
1: - __u32 size;
1: - __u8 __reserved[948];
1: - __u64 data_head;
1: - __u64 data_tail;
1: - __u64 data_offset;
1: - __u64 data_size;
1: - __u64 aux_head;
1: - __u64 aux_tail;
1: - __u64 aux_offset;
1: - __u64 aux_size;
1: + __u32 version;
1: + __u32 compat_version;
1: + __u32 lock;
1: + __u32 index;
1: + __s64 offset;
1: + __u64 time_enabled;
1: + __u64 time_running;
1: + union {
1: + __u64 capabilities;
1: + struct {
1: + __u64 cap_bit0 : 1;
1: + __u64 cap_bit0_is_deprecated : 1;
1: + __u64 cap_user_rdpmc : 1;
1: + __u64 cap_user_time : 1;
1: + __u64 cap_user_time_zero : 1;
1: + __u64 cap_____res : 59;
1: + };
1: + };
1: + __u16 pmc_width;
1: + __u16 time_shift;
1: + __u32 time_mult;
1: + __u64 time_offset;
1: + __u64 time_zero;
1: + __u32 size;
1: + __u8 __reserved[948];
1: + __u64 data_head;
1: + __u64 data_tail;
1: + __u64 data_offset;
1: + __u64 data_size;
1: + __u64 aux_head;
1: + __u64 aux_tail;
1: + __u64 aux_offset;
1: + __u64 aux_size;
1: };
1:
1: struct ldt_struct {
1: - struct desc_struct *entries;
1: - unsigned int nr_entries;
1: - int slot;
1: + struct desc_struct *entries;
1: + unsigned int nr_entries;
1: + int slot;
1: };
1:
1: typedef struct {
1: - u16 __softirq_pending;
1: - unsigned int __nmi_count;
1: - unsigned int apic_timer_irqs;
1: - unsigned int irq_spurious_count;
1: - unsigned int icr_read_retry_count;
1: - unsigned int kvm_posted_intr_ipis;
1: - unsigned int kvm_posted_intr_wakeup_ipis;
1: - unsigned int kvm_posted_intr_nested_ipis;
1: - unsigned int x86_platform_ipis;
1: - unsigned int apic_perf_irqs;
1: - unsigned int apic_irq_work_irqs;
1: - unsigned int irq_resched_count;
1: - unsigned int irq_call_count;
1: - unsigned int irq_tlb_count;
1: - unsigned int irq_thermal_count;
1: - unsigned int irq_threshold_count;
1: - unsigned int irq_deferred_error_count;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + u16 __softirq_pending;
1: + unsigned int __nmi_count;
1: + unsigned int apic_timer_irqs;
1: + unsigned int irq_spurious_count;
1: + unsigned int icr_read_retry_count;
1: + unsigned int kvm_posted_intr_ipis;
1: + unsigned int kvm_posted_intr_wakeup_ipis;
1: + unsigned int kvm_posted_intr_nested_ipis;
1: + unsigned int x86_platform_ipis;
1: + unsigned int apic_perf_irqs;
1: + unsigned int apic_irq_work_irqs;
1: + unsigned int irq_resched_count;
1: + unsigned int irq_call_count;
1: + unsigned int irq_tlb_count;
1: + unsigned int irq_thermal_count;
1: + unsigned int irq_threshold_count;
1: + unsigned int irq_deferred_error_count;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: } irq_cpustat_t;
1:
1: struct x86_pmu_capability {
1: - int version;
1: - int num_counters_gp;
1: - int num_counters_fixed;
1: - int bit_width_gp;
1: - int bit_width_fixed;
1: - unsigned int events_mask;
1: - int events_mask_len;
1: + int version;
1: + int num_counters_gp;
1: + int num_counters_fixed;
1: + int bit_width_gp;
1: + int bit_width_fixed;
1: + unsigned int events_mask;
1: + int events_mask_len;
1: };
1:
1: struct debug_store {
1: - u64 bts_buffer_base;
1: - u64 bts_index;
1: - u64 bts_absolute_maximum;
1: - u64 bts_interrupt_threshold;
1: - u64 pebs_buffer_base;
1: - u64 pebs_index;
1: - u64 pebs_absolute_maximum;
1: - u64 pebs_interrupt_threshold;
1: - u64 pebs_event_reset[12];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + u64 bts_buffer_base;
1: + u64 bts_index;
1: + u64 bts_absolute_maximum;
1: + u64 bts_interrupt_threshold;
1: + u64 pebs_buffer_base;
1: + u64 pebs_index;
1: + u64 pebs_absolute_maximum;
1: + u64 pebs_interrupt_threshold;
1: + u64 pebs_event_reset[12];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: enum stack_type {
1: - STACK_TYPE_UNKNOWN = 0,
1: - STACK_TYPE_TASK = 1,
1: - STACK_TYPE_IRQ = 2,
1: - STACK_TYPE_SOFTIRQ = 3,
1: - STACK_TYPE_ENTRY = 4,
1: - STACK_TYPE_EXCEPTION = 5,
1: - STACK_TYPE_EXCEPTION_LAST = 10,
1: + STACK_TYPE_UNKNOWN = 0,
1: + STACK_TYPE_TASK = 1,
1: + STACK_TYPE_IRQ = 2,
1: + STACK_TYPE_SOFTIRQ = 3,
1: + STACK_TYPE_ENTRY = 4,
1: + STACK_TYPE_EXCEPTION = 5,
1: + STACK_TYPE_EXCEPTION_LAST = 10,
1: };
1:
1: struct stack_info {
1: - enum stack_type type;
1: - long unsigned int *begin;
1: - long unsigned int *end;
1: - long unsigned int *next_sp;
1: + enum stack_type type;
1: + long unsigned int *begin;
1: + long unsigned int *end;
1: + long unsigned int *next_sp;
1: };
1:
1: struct stack_frame {
1: - struct stack_frame *next_frame;
1: - long unsigned int return_address;
1: + struct stack_frame *next_frame;
1: + long unsigned int return_address;
1: };
1:
1: struct stack_frame_ia32 {
1: - u32 next_frame;
1: - u32 return_address;
1: + u32 next_frame;
1: + u32 return_address;
1: };
1:
1: struct perf_guest_switch_msr {
1: - unsigned int msr;
1: - u64 host;
1: - u64 guest;
1: + unsigned int msr;
1: + u64 host;
1: + u64 guest;
1: };
1:
1: struct perf_guest_info_callbacks {
1: - int (*is_in_guest)();
1: - int (*is_user_mode)();
1: - long unsigned int (*get_guest_ip)();
1: - void (*handle_intel_pt_intr)();
1: + int (*is_in_guest)();
1: + int (*is_user_mode)();
1: + long unsigned int (*get_guest_ip)();
1: + void (*handle_intel_pt_intr)();
1: };
1:
1: struct device_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct device *, struct device_attribute *, char *);
1: - ssize_t (*store)(struct device *, struct device_attribute *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct device *, struct device_attribute *, char *);
1: + ssize_t (*store)(struct device *, struct device_attribute *, const char *,
1: + size_t);
1: };
1:
1: enum perf_event_x86_regs {
1: - PERF_REG_X86_AX = 0,
1: - PERF_REG_X86_BX = 1,
1: - PERF_REG_X86_CX = 2,
1: - PERF_REG_X86_DX = 3,
1: - PERF_REG_X86_SI = 4,
1: - PERF_REG_X86_DI = 5,
1: - PERF_REG_X86_BP = 6,
1: - PERF_REG_X86_SP = 7,
1: - PERF_REG_X86_IP = 8,
1: - PERF_REG_X86_FLAGS = 9,
1: - PERF_REG_X86_CS = 10,
1: - PERF_REG_X86_SS = 11,
1: - PERF_REG_X86_DS = 12,
1: - PERF_REG_X86_ES = 13,
1: - PERF_REG_X86_FS = 14,
1: - PERF_REG_X86_GS = 15,
1: - PERF_REG_X86_R8 = 16,
1: - PERF_REG_X86_R9 = 17,
1: - PERF_REG_X86_R10 = 18,
1: - PERF_REG_X86_R11 = 19,
1: - PERF_REG_X86_R12 = 20,
1: - PERF_REG_X86_R13 = 21,
1: - PERF_REG_X86_R14 = 22,
1: - PERF_REG_X86_R15 = 23,
1: - PERF_REG_X86_32_MAX = 16,
1: - PERF_REG_X86_64_MAX = 24,
1: - PERF_REG_X86_XMM0 = 32,
1: - PERF_REG_X86_XMM1 = 34,
1: - PERF_REG_X86_XMM2 = 36,
1: - PERF_REG_X86_XMM3 = 38,
1: - PERF_REG_X86_XMM4 = 40,
1: - PERF_REG_X86_XMM5 = 42,
1: - PERF_REG_X86_XMM6 = 44,
1: - PERF_REG_X86_XMM7 = 46,
1: - PERF_REG_X86_XMM8 = 48,
1: - PERF_REG_X86_XMM9 = 50,
1: - PERF_REG_X86_XMM10 = 52,
1: - PERF_REG_X86_XMM11 = 54,
1: - PERF_REG_X86_XMM12 = 56,
1: - PERF_REG_X86_XMM13 = 58,
1: - PERF_REG_X86_XMM14 = 60,
1: - PERF_REG_X86_XMM15 = 62,
1: - PERF_REG_X86_XMM_MAX = 64,
1: + PERF_REG_X86_AX = 0,
1: + PERF_REG_X86_BX = 1,
1: + PERF_REG_X86_CX = 2,
1: + PERF_REG_X86_DX = 3,
1: + PERF_REG_X86_SI = 4,
1: + PERF_REG_X86_DI = 5,
1: + PERF_REG_X86_BP = 6,
1: + PERF_REG_X86_SP = 7,
1: + PERF_REG_X86_IP = 8,
1: + PERF_REG_X86_FLAGS = 9,
1: + PERF_REG_X86_CS = 10,
1: + PERF_REG_X86_SS = 11,
1: + PERF_REG_X86_DS = 12,
1: + PERF_REG_X86_ES = 13,
1: + PERF_REG_X86_FS = 14,
1: + PERF_REG_X86_GS = 15,
1: + PERF_REG_X86_R8 = 16,
1: + PERF_REG_X86_R9 = 17,
1: + PERF_REG_X86_R10 = 18,
1: + PERF_REG_X86_R11 = 19,
1: + PERF_REG_X86_R12 = 20,
1: + PERF_REG_X86_R13 = 21,
1: + PERF_REG_X86_R14 = 22,
1: + PERF_REG_X86_R15 = 23,
1: + PERF_REG_X86_32_MAX = 16,
1: + PERF_REG_X86_64_MAX = 24,
1: + PERF_REG_X86_XMM0 = 32,
1: + PERF_REG_X86_XMM1 = 34,
1: + PERF_REG_X86_XMM2 = 36,
1: + PERF_REG_X86_XMM3 = 38,
1: + PERF_REG_X86_XMM4 = 40,
1: + PERF_REG_X86_XMM5 = 42,
1: + PERF_REG_X86_XMM6 = 44,
1: + PERF_REG_X86_XMM7 = 46,
1: + PERF_REG_X86_XMM8 = 48,
1: + PERF_REG_X86_XMM9 = 50,
1: + PERF_REG_X86_XMM10 = 52,
1: + PERF_REG_X86_XMM11 = 54,
1: + PERF_REG_X86_XMM12 = 56,
1: + PERF_REG_X86_XMM13 = 58,
1: + PERF_REG_X86_XMM14 = 60,
1: + PERF_REG_X86_XMM15 = 62,
1: + PERF_REG_X86_XMM_MAX = 64,
1: };
1:
1: struct perf_callchain_entry_ctx {
1: - struct perf_callchain_entry *entry;
1: - u32 max_stack;
1: - u32 nr;
1: - short int contexts;
1: - bool contexts_maxed;
1: + struct perf_callchain_entry *entry;
1: + u32 max_stack;
1: + u32 nr;
1: + short int contexts;
1: + bool contexts_maxed;
1: };
1:
1: struct perf_pmu_events_attr {
1: - struct device_attribute attr;
1: - u64 id;
1: - const char *event_str;
1: + struct device_attribute attr;
1: + u64 id;
1: + const char *event_str;
1: };
1:
1: struct perf_pmu_events_ht_attr {
1: - struct device_attribute attr;
1: - u64 id;
1: - const char *event_str_ht;
1: - const char *event_str_noht;
1: + struct device_attribute attr;
1: + u64 id;
1: + const char *event_str_ht;
1: + const char *event_str_noht;
1: };
1:
1: enum {
1: - NMI_LOCAL = 0,
1: - NMI_UNKNOWN = 1,
1: - NMI_SERR = 2,
1: - NMI_IO_CHECK = 3,
1: - NMI_MAX = 4,
1: + NMI_LOCAL = 0,
1: + NMI_UNKNOWN = 1,
1: + NMI_SERR = 2,
1: + NMI_IO_CHECK = 3,
1: + NMI_MAX = 4,
1: };
1:
1: typedef int (*nmi_handler_t)(unsigned int, struct pt_regs *);
1:
1: struct nmiaction {
1: - struct list_head list;
1: - nmi_handler_t handler;
1: - u64 max_duration;
1: - struct irq_work irq_work;
1: - long unsigned int flags;
1: - const char *name;
1: + struct list_head list;
1: + nmi_handler_t handler;
1: + u64 max_duration;
1: + struct irq_work irq_work;
1: + long unsigned int flags;
1: + const char *name;
1: };
1:
1: struct cyc2ns_data {
1: - u32 cyc2ns_mul;
1: - u32 cyc2ns_shift;
1: - u64 cyc2ns_offset;
1: + u32 cyc2ns_mul;
1: + u32 cyc2ns_shift;
1: + u64 cyc2ns_offset;
1: };
1:
1: struct unwind_state {
1: - struct stack_info stack_info;
1: - long unsigned int stack_mask;
1: - struct task_struct *task;
1: - int graph_idx;
1: - bool error;
1: - bool signal;
1: - bool full_regs;
1: - long unsigned int sp;
1: - long unsigned int bp;
1: - long unsigned int ip;
1: - struct pt_regs *regs;
1: + struct stack_info stack_info;
1: + long unsigned int stack_mask;
1: + struct task_struct *task;
1: + int graph_idx;
1: + bool error;
1: + bool signal;
1: + bool full_regs;
1: + long unsigned int sp;
1: + long unsigned int bp;
1: + long unsigned int ip;
1: + struct pt_regs *regs;
1: };
1:
1: enum extra_reg_type {
1: - EXTRA_REG_NONE = -1,
1: - EXTRA_REG_RSP_0 = 0,
1: - EXTRA_REG_RSP_1 = 1,
1: - EXTRA_REG_LBR = 2,
1: - EXTRA_REG_LDLAT = 3,
1: - EXTRA_REG_FE = 4,
1: - EXTRA_REG_MAX = 5,
1: + EXTRA_REG_NONE = -1,
1: + EXTRA_REG_RSP_0 = 0,
1: + EXTRA_REG_RSP_1 = 1,
1: + EXTRA_REG_LBR = 2,
1: + EXTRA_REG_LDLAT = 3,
1: + EXTRA_REG_FE = 4,
1: + EXTRA_REG_MAX = 5,
1: };
1:
1: struct event_constraint {
1: - union {
1: - long unsigned int idxmsk[1];
1: - u64 idxmsk64;
1: - };
1: - u64 code;
1: - u64 cmask;
1: - int weight;
1: - int overlap;
1: - int flags;
1: - unsigned int size;
1: + union {
1: + long unsigned int idxmsk[1];
1: + u64 idxmsk64;
1: + };
1: + u64 code;
1: + u64 cmask;
1: + int weight;
1: + int overlap;
1: + int flags;
1: + unsigned int size;
1: };
1:
1: struct amd_nb {
1: - int nb_id;
1: - int refcnt;
1: - struct perf_event *owners[64];
1: - struct event_constraint event_constraints[64];
1: + int nb_id;
1: + int refcnt;
1: + struct perf_event *owners[64];
1: + struct event_constraint event_constraints[64];
1: };
1:
1: struct er_account {
1: - raw_spinlock_t lock;
1: - u64 config;
1: - u64 reg;
1: - atomic_t ref;
1: + raw_spinlock_t lock;
1: + u64 config;
1: + u64 reg;
1: + atomic_t ref;
1: };
1:
1: struct intel_shared_regs {
1: - struct er_account regs[5];
1: - int refcnt;
1: - unsigned int core_id;
1: + struct er_account regs[5];
1: + int refcnt;
1: + unsigned int core_id;
1: };
1:
1: enum intel_excl_state_type {
1: - INTEL_EXCL_UNUSED = 0,
1: - INTEL_EXCL_SHARED = 1,
1: - INTEL_EXCL_EXCLUSIVE = 2,
1: + INTEL_EXCL_UNUSED = 0,
1: + INTEL_EXCL_SHARED = 1,
1: + INTEL_EXCL_EXCLUSIVE = 2,
1: };
1:
1: struct intel_excl_states {
1: - enum intel_excl_state_type state[64];
1: - bool sched_started;
1: + enum intel_excl_state_type state[64];
1: + bool sched_started;
1: };
1:
1: struct intel_excl_cntrs {
1: - raw_spinlock_t lock;
1: - struct intel_excl_states states[2];
1: - union {
1: - u16 has_exclusive[2];
1: - u32 exclusive_present;
1: - };
1: - int refcnt;
1: - unsigned int core_id;
1: + raw_spinlock_t lock;
1: + struct intel_excl_states states[2];
1: + union {
1: + u16 has_exclusive[2];
1: + u32 exclusive_present;
1: + };
1: + int refcnt;
1: + unsigned int core_id;
1: };
1:
1: enum {
1: - X86_PERF_KFREE_SHARED = 0,
1: - X86_PERF_KFREE_EXCL = 1,
1: - X86_PERF_KFREE_MAX = 2,
1: + X86_PERF_KFREE_SHARED = 0,
1: + X86_PERF_KFREE_EXCL = 1,
1: + X86_PERF_KFREE_MAX = 2,
1: };
1:
1: struct x86_perf_task_context;
1:
1: struct cpu_hw_events {
1: - struct perf_event *events[64];
1: - long unsigned int active_mask[1];
1: - long unsigned int running[1];
1: - int enabled;
1: - int n_events;
1: - int n_added;
1: - int n_txn;
1: - int assign[64];
1: - u64 tags[64];
1: - struct perf_event *event_list[64];
1: - struct event_constraint *event_constraint[64];
1: - int n_excl;
1: - unsigned int txn_flags;
1: - int is_fake;
1: - struct debug_store *ds;
1: - void *ds_pebs_vaddr;
1: - void *ds_bts_vaddr;
1: - u64 pebs_enabled;
1: - int n_pebs;
1: - int n_large_pebs;
1: - int n_pebs_via_pt;
1: - int pebs_output;
1: - u64 pebs_data_cfg;
1: - u64 active_pebs_data_cfg;
1: - int pebs_record_size;
1: - int lbr_users;
1: - int lbr_pebs_users;
1: - struct perf_branch_stack lbr_stack;
1: - struct perf_branch_entry lbr_entries[32];
1: - struct er_account *lbr_sel;
1: - u64 br_sel;
1: - struct x86_perf_task_context *last_task_ctx;
1: - int last_log_id;
1: - u64 intel_ctrl_guest_mask;
1: - u64 intel_ctrl_host_mask;
1: - struct perf_guest_switch_msr guest_switch_msrs[64];
1: - u64 intel_cp_status;
1: - struct intel_shared_regs *shared_regs;
1: - struct event_constraint *constraint_list;
1: - struct intel_excl_cntrs *excl_cntrs;
1: - int excl_thread_id;
1: - u64 tfa_shadow;
1: - struct amd_nb *amd_nb;
1: - u64 perf_ctr_virt_mask;
1: - void *kfree_on_online[2];
1: + struct perf_event *events[64];
1: + long unsigned int active_mask[1];
1: + long unsigned int running[1];
1: + int enabled;
1: + int n_events;
1: + int n_added;
1: + int n_txn;
1: + int assign[64];
1: + u64 tags[64];
1: + struct perf_event *event_list[64];
1: + struct event_constraint *event_constraint[64];
1: + int n_excl;
1: + unsigned int txn_flags;
1: + int is_fake;
1: + struct debug_store *ds;
1: + void *ds_pebs_vaddr;
1: + void *ds_bts_vaddr;
1: + u64 pebs_enabled;
1: + int n_pebs;
1: + int n_large_pebs;
1: + int n_pebs_via_pt;
1: + int pebs_output;
1: + u64 pebs_data_cfg;
1: + u64 active_pebs_data_cfg;
1: + int pebs_record_size;
1: + int lbr_users;
1: + int lbr_pebs_users;
1: + struct perf_branch_stack lbr_stack;
1: + struct perf_branch_entry lbr_entries[32];
1: + struct er_account *lbr_sel;
1: + u64 br_sel;
1: + struct x86_perf_task_context *last_task_ctx;
1: + int last_log_id;
1: + u64 intel_ctrl_guest_mask;
1: + u64 intel_ctrl_host_mask;
1: + struct perf_guest_switch_msr guest_switch_msrs[64];
1: + u64 intel_cp_status;
1: + struct intel_shared_regs *shared_regs;
1: + struct event_constraint *constraint_list;
1: + struct intel_excl_cntrs *excl_cntrs;
1: + int excl_thread_id;
1: + u64 tfa_shadow;
1: + struct amd_nb *amd_nb;
1: + u64 perf_ctr_virt_mask;
1: + void *kfree_on_online[2];
1: };
1:
1: struct x86_perf_task_context {
1: - u64 lbr_from[32];
1: - u64 lbr_to[32];
1: - u64 lbr_info[32];
1: - int tos;
1: - int valid_lbrs;
1: - int lbr_callstack_users;
1: - int lbr_stack_state;
1: - int log_id;
1: + u64 lbr_from[32];
1: + u64 lbr_to[32];
1: + u64 lbr_info[32];
1: + int tos;
1: + int valid_lbrs;
1: + int lbr_callstack_users;
1: + int lbr_stack_state;
1: + int log_id;
1: };
1:
1: struct extra_reg {
1: - unsigned int event;
1: - unsigned int msr;
1: - u64 config_mask;
1: - u64 valid_mask;
1: - int idx;
1: - bool extra_msr_access;
1: + unsigned int event;
1: + unsigned int msr;
1: + u64 config_mask;
1: + u64 valid_mask;
1: + int idx;
1: + bool extra_msr_access;
1: };
1:
1: union perf_capabilities {
1: - struct {
1: - u64 lbr_format: 6;
1: - u64 pebs_trap: 1;
1: - u64 pebs_arch_reg: 1;
1: - u64 pebs_format: 4;
1: - u64 smm_freeze: 1;
1: - u64 full_width_write: 1;
1: - u64 pebs_baseline: 1;
1: - u64 pebs_metrics_available: 1;
1: - u64 pebs_output_pt_available: 1;
1: - };
1: - u64 capabilities;
1: + struct {
1: + u64 lbr_format : 6;
1: + u64 pebs_trap : 1;
1: + u64 pebs_arch_reg : 1;
1: + u64 pebs_format : 4;
1: + u64 smm_freeze : 1;
1: + u64 full_width_write : 1;
1: + u64 pebs_baseline : 1;
1: + u64 pebs_metrics_available : 1;
1: + u64 pebs_output_pt_available : 1;
1: + };
1: + u64 capabilities;
1: };
1:
1: struct x86_pmu_quirk {
1: - struct x86_pmu_quirk *next;
1: - void (*func)();
1: + struct x86_pmu_quirk *next;
1: + void (*func)();
1: };
1:
1: enum {
1: - x86_lbr_exclusive_lbr = 0,
1: - x86_lbr_exclusive_bts = 1,
1: - x86_lbr_exclusive_pt = 2,
1: - x86_lbr_exclusive_max = 3,
1: + x86_lbr_exclusive_lbr = 0,
1: + x86_lbr_exclusive_bts = 1,
1: + x86_lbr_exclusive_pt = 2,
1: + x86_lbr_exclusive_max = 3,
1: };
1:
1: struct x86_pmu {
1: - const char *name;
1: - int version;
1: - int (*handle_irq)(struct pt_regs *);
1: - void (*disable_all)();
1: - void (*enable_all)(int);
1: - void (*enable)(struct perf_event *);
1: - void (*disable)(struct perf_event *);
1: - void (*add)(struct perf_event *);
1: - void (*del)(struct perf_event *);
1: - void (*read)(struct perf_event *);
1: - int (*hw_config)(struct perf_event *);
1: - int (*schedule_events)(struct cpu_hw_events *, int, int *);
1: - unsigned int eventsel;
1: - unsigned int perfctr;
1: - int (*addr_offset)(int, bool);
1: - int (*rdpmc_index)(int);
1: - u64 (*event_map)(int);
1: - int max_events;
1: - int num_counters;
1: - int num_counters_fixed;
1: - int cntval_bits;
1: - u64 cntval_mask;
1: - union {
1: - long unsigned int events_maskl;
1: - long unsigned int events_mask[1];
1: - };
1: - int events_mask_len;
1: - int apic;
1: - u64 max_period;
1: - struct event_constraint * (*get_event_constraints)(struct cpu_hw_events *, int, struct perf_event *);
1: - void (*put_event_constraints)(struct cpu_hw_events *, struct perf_event *);
1: - void (*start_scheduling)(struct cpu_hw_events *);
1: - void (*commit_scheduling)(struct cpu_hw_events *, int, int);
1: - void (*stop_scheduling)(struct cpu_hw_events *);
1: - struct event_constraint *event_constraints;
1: - struct x86_pmu_quirk *quirks;
1: - int perfctr_second_write;
1: - u64 (*limit_period)(struct perf_event *, u64);
1: - unsigned int late_ack: 1;
1: - unsigned int counter_freezing: 1;
1: - int attr_rdpmc_broken;
1: - int attr_rdpmc;
1: - struct attribute **format_attrs;
1: - ssize_t (*events_sysfs_show)(char *, u64);
1: - const struct attribute_group **attr_update;
1: - long unsigned int attr_freeze_on_smi;
1: - int (*cpu_prepare)(int);
1: - void (*cpu_starting)(int);
1: - void (*cpu_dying)(int);
1: - void (*cpu_dead)(int);
1: - void (*check_microcode)();
1: - void (*sched_task)(struct perf_event_context *, bool);
1: - u64 intel_ctrl;
1: - union perf_capabilities intel_cap;
1: - unsigned int bts: 1;
1: - unsigned int bts_active: 1;
1: - unsigned int pebs: 1;
1: - unsigned int pebs_active: 1;
1: - unsigned int pebs_broken: 1;
1: - unsigned int pebs_prec_dist: 1;
1: - unsigned int pebs_no_tlb: 1;
1: - unsigned int pebs_no_isolation: 1;
1: - int pebs_record_size;
1: - int pebs_buffer_size;
1: - int max_pebs_events;
1: - void (*drain_pebs)(struct pt_regs *);
1: - struct event_constraint *pebs_constraints;
1: - void (*pebs_aliases)(struct perf_event *);
1: - long unsigned int large_pebs_flags;
1: - u64 rtm_abort_event;
1: - long unsigned int lbr_tos;
1: - long unsigned int lbr_from;
1: - long unsigned int lbr_to;
1: - int lbr_nr;
1: - u64 lbr_sel_mask;
1: - const int *lbr_sel_map;
1: - bool lbr_double_abort;
1: - bool lbr_pt_coexist;
1: - atomic_t lbr_exclusive[3];
1: - void (*swap_task_ctx)(struct perf_event_context *, struct perf_event_context *);
1: - unsigned int amd_nb_constraints: 1;
1: - struct extra_reg *extra_regs;
1: - unsigned int flags;
1: - struct perf_guest_switch_msr * (*guest_get_msrs)(int *);
1: - int (*check_period)(struct perf_event *, u64);
1: - int (*aux_output_match)(struct perf_event *);
1: + const char *name;
1: + int version;
1: + int (*handle_irq)(struct pt_regs *);
1: + void (*disable_all)();
1: + void (*enable_all)(int);
1: + void (*enable)(struct perf_event *);
1: + void (*disable)(struct perf_event *);
1: + void (*add)(struct perf_event *);
1: + void (*del)(struct perf_event *);
1: + void (*read)(struct perf_event *);
1: + int (*hw_config)(struct perf_event *);
1: + int (*schedule_events)(struct cpu_hw_events *, int, int *);
1: + unsigned int eventsel;
1: + unsigned int perfctr;
1: + int (*addr_offset)(int, bool);
1: + int (*rdpmc_index)(int);
1: + u64 (*event_map)(int);
1: + int max_events;
1: + int num_counters;
1: + int num_counters_fixed;
1: + int cntval_bits;
1: + u64 cntval_mask;
1: + union {
1: + long unsigned int events_maskl;
1: + long unsigned int events_mask[1];
1: + };
1: + int events_mask_len;
1: + int apic;
1: + u64 max_period;
1: + struct event_constraint *(*get_event_constraints)(struct cpu_hw_events *, int,
1: + struct perf_event *);
1: + void (*put_event_constraints)(struct cpu_hw_events *, struct perf_event *);
1: + void (*start_scheduling)(struct cpu_hw_events *);
1: + void (*commit_scheduling)(struct cpu_hw_events *, int, int);
1: + void (*stop_scheduling)(struct cpu_hw_events *);
1: + struct event_constraint *event_constraints;
1: + struct x86_pmu_quirk *quirks;
1: + int perfctr_second_write;
1: + u64 (*limit_period)(struct perf_event *, u64);
1: + unsigned int late_ack : 1;
1: + unsigned int counter_freezing : 1;
1: + int attr_rdpmc_broken;
1: + int attr_rdpmc;
1: + struct attribute **format_attrs;
1: + ssize_t (*events_sysfs_show)(char *, u64);
1: + const struct attribute_group **attr_update;
1: + long unsigned int attr_freeze_on_smi;
1: + int (*cpu_prepare)(int);
1: + void (*cpu_starting)(int);
1: + void (*cpu_dying)(int);
1: + void (*cpu_dead)(int);
1: + void (*check_microcode)();
1: + void (*sched_task)(struct perf_event_context *, bool);
1: + u64 intel_ctrl;
1: + union perf_capabilities intel_cap;
1: + unsigned int bts : 1;
1: + unsigned int bts_active : 1;
1: + unsigned int pebs : 1;
1: + unsigned int pebs_active : 1;
1: + unsigned int pebs_broken : 1;
1: + unsigned int pebs_prec_dist : 1;
1: + unsigned int pebs_no_tlb : 1;
1: + unsigned int pebs_no_isolation : 1;
1: + int pebs_record_size;
1: + int pebs_buffer_size;
1: + int max_pebs_events;
1: + void (*drain_pebs)(struct pt_regs *);
1: + struct event_constraint *pebs_constraints;
1: + void (*pebs_aliases)(struct perf_event *);
1: + long unsigned int large_pebs_flags;
1: + u64 rtm_abort_event;
1: + long unsigned int lbr_tos;
1: + long unsigned int lbr_from;
1: + long unsigned int lbr_to;
1: + int lbr_nr;
1: + u64 lbr_sel_mask;
1: + const int *lbr_sel_map;
1: + bool lbr_double_abort;
1: + bool lbr_pt_coexist;
1: + atomic_t lbr_exclusive[3];
1: + void (*swap_task_ctx)(struct perf_event_context *,
1: + struct perf_event_context *);
1: + unsigned int amd_nb_constraints : 1;
1: + struct extra_reg *extra_regs;
1: + unsigned int flags;
1: + struct perf_guest_switch_msr *(*guest_get_msrs)(int *);
1: + int (*check_period)(struct perf_event *, u64);
1: + int (*aux_output_match)(struct perf_event *);
1: };
1:
1: struct sched_state {
1: - int weight;
1: - int event;
1: - int counter;
1: - int unassigned;
1: - int nr_gp;
1: - long unsigned int used[1];
1: + int weight;
1: + int event;
1: + int counter;
1: + int unassigned;
1: + int nr_gp;
1: + long unsigned int used[1];
1: };
1:
1: struct perf_sched {
1: - int max_weight;
1: - int max_events;
1: - int max_gp;
1: - int saved_states;
1: - struct event_constraint **constraints;
1: - struct sched_state state;
1: - struct sched_state saved[2];
1: + int max_weight;
1: + int max_events;
1: + int max_gp;
1: + int saved_states;
1: + struct event_constraint **constraints;
1: + struct sched_state state;
1: + struct sched_state saved[2];
1: };
1:
1: typedef int pao_T__;
1:
1: enum migratetype {
1: - MIGRATE_UNMOVABLE = 0,
1: - MIGRATE_MOVABLE = 1,
1: - MIGRATE_RECLAIMABLE = 2,
1: - MIGRATE_PCPTYPES = 3,
1: - MIGRATE_HIGHATOMIC = 3,
1: - MIGRATE_TYPES = 4,
1: + MIGRATE_UNMOVABLE = 0,
1: + MIGRATE_MOVABLE = 1,
1: + MIGRATE_RECLAIMABLE = 2,
1: + MIGRATE_PCPTYPES = 3,
1: + MIGRATE_HIGHATOMIC = 3,
1: + MIGRATE_TYPES = 4,
1: };
1:
1: enum lru_list {
1: - LRU_INACTIVE_ANON = 0,
1: - LRU_ACTIVE_ANON = 1,
1: - LRU_INACTIVE_FILE = 2,
1: - LRU_ACTIVE_FILE = 3,
1: - LRU_UNEVICTABLE = 4,
1: - NR_LRU_LISTS = 5,
1: + LRU_INACTIVE_ANON = 0,
1: + LRU_ACTIVE_ANON = 1,
1: + LRU_INACTIVE_FILE = 2,
1: + LRU_ACTIVE_FILE = 3,
1: + LRU_UNEVICTABLE = 4,
1: + NR_LRU_LISTS = 5,
1: };
1:
1: enum zone_watermarks {
1: - WMARK_MIN = 0,
1: - WMARK_LOW = 1,
1: - WMARK_HIGH = 2,
1: - NR_WMARK = 3,
1: + WMARK_MIN = 0,
1: + WMARK_LOW = 1,
1: + WMARK_HIGH = 2,
1: + NR_WMARK = 3,
1: };
1:
1: enum {
1: - ZONELIST_FALLBACK = 0,
1: - ZONELIST_NOFALLBACK = 1,
1: - MAX_ZONELISTS = 2,
1: + ZONELIST_FALLBACK = 0,
1: + ZONELIST_NOFALLBACK = 1,
1: + MAX_ZONELISTS = 2,
1: };
1:
1: struct perf_msr {
1: - u64 msr;
1: - struct attribute_group *grp;
1: - bool (*test)(int, void *);
1: - bool no_check;
1: + u64 msr;
1: + struct attribute_group *grp;
1: + bool (*test)(int, void *);
1: + bool no_check;
1: };
1:
1: typedef long unsigned int pto_T__;
1:
1: struct amd_uncore {
1: - int id;
1: - int refcnt;
1: - int cpu;
1: - int num_counters;
1: - int rdpmc_base;
1: - u32 msr_base;
1: - cpumask_t *active_mask;
1: - struct pmu *pmu;
1: - struct perf_event *events[6];
1: - struct hlist_node node;
1: + int id;
1: + int refcnt;
1: + int cpu;
1: + int num_counters;
1: + int rdpmc_base;
1: + u32 msr_base;
1: + cpumask_t *active_mask;
1: + struct pmu *pmu;
1: + struct perf_event *events[6];
1: + struct hlist_node node;
1: };
1:
1: typedef int pci_power_t;
1: @@ -15360,143 +15502,143 @@ struct pci_vpd;
1: struct pci_sriov;
1:
1: struct pci_dev {
1: - struct list_head bus_list;
1: - struct pci_bus *bus;
1: - struct pci_bus *subordinate;
1: - void *sysdata;
1: - struct proc_dir_entry *procent;
1: - struct pci_slot *slot;
1: - unsigned int devfn;
1: - short unsigned int vendor;
1: - short unsigned int device;
1: - short unsigned int subsystem_vendor;
1: - short unsigned int subsystem_device;
1: - unsigned int class;
1: - u8 revision;
1: - u8 hdr_type;
1: - u16 aer_cap;
1: - struct aer_stats *aer_stats;
1: - u8 pcie_cap;
1: - u8 msi_cap;
1: - u8 msix_cap;
1: - u8 pcie_mpss: 3;
1: - u8 rom_base_reg;
1: - u8 pin;
1: - u16 pcie_flags_reg;
1: - long unsigned int *dma_alias_mask;
1: - struct pci_driver *driver;
1: - u64 dma_mask;
1: - struct device_dma_parameters dma_parms;
1: - pci_power_t current_state;
1: - unsigned int imm_ready: 1;
1: - u8 pm_cap;
1: - unsigned int pme_support: 5;
1: - unsigned int pme_poll: 1;
1: - unsigned int d1_support: 1;
1: - unsigned int d2_support: 1;
1: - unsigned int no_d1d2: 1;
1: - unsigned int no_d3cold: 1;
1: - unsigned int bridge_d3: 1;
1: - unsigned int d3cold_allowed: 1;
1: - unsigned int mmio_always_on: 1;
1: - unsigned int wakeup_prepared: 1;
1: - unsigned int runtime_d3cold: 1;
1: - unsigned int skip_bus_pm: 1;
1: - unsigned int ignore_hotplug: 1;
1: - unsigned int hotplug_user_indicators: 1;
1: - unsigned int clear_retrain_link: 1;
1: - unsigned int d3_delay;
1: - unsigned int d3cold_delay;
1: - struct pcie_link_state *link_state;
1: - unsigned int ltr_path: 1;
1: - unsigned int eetlp_prefix_path: 1;
1: - pci_channel_state_t error_state;
1: - struct device dev;
1: - int cfg_size;
1: - unsigned int irq;
1: - struct resource resource[11];
1: - bool match_driver;
1: - unsigned int transparent: 1;
1: - unsigned int io_window: 1;
1: - unsigned int pref_window: 1;
1: - unsigned int pref_64_window: 1;
1: - unsigned int multifunction: 1;
1: - unsigned int is_busmaster: 1;
1: - unsigned int no_msi: 1;
1: - unsigned int no_64bit_msi: 1;
1: - unsigned int block_cfg_access: 1;
1: - unsigned int broken_parity_status: 1;
1: - unsigned int irq_reroute_variant: 2;
1: - unsigned int msi_enabled: 1;
1: - unsigned int msix_enabled: 1;
1: - unsigned int ari_enabled: 1;
1: - unsigned int ats_enabled: 1;
1: - unsigned int pasid_enabled: 1;
1: - unsigned int pri_enabled: 1;
1: - unsigned int is_managed: 1;
1: - unsigned int needs_freset: 1;
1: - unsigned int state_saved: 1;
1: - unsigned int is_physfn: 1;
1: - unsigned int is_virtfn: 1;
1: - unsigned int reset_fn: 1;
1: - unsigned int is_hotplug_bridge: 1;
1: - unsigned int shpc_managed: 1;
1: - unsigned int is_thunderbolt: 1;
1: - unsigned int untrusted: 1;
1: - unsigned int __aer_firmware_first_valid: 1;
1: - unsigned int __aer_firmware_first: 1;
1: - unsigned int broken_intx_masking: 1;
1: - unsigned int io_window_1k: 1;
1: - unsigned int irq_managed: 1;
1: - unsigned int non_compliant_bars: 1;
1: - unsigned int is_probed: 1;
1: - unsigned int link_active_reporting: 1;
1: - unsigned int no_vf_scan: 1;
1: - pci_dev_flags_t dev_flags;
1: - atomic_t enable_cnt;
1: - u32 saved_config_space[16];
1: - struct hlist_head saved_cap_space;
1: - struct bin_attribute *rom_attr;
1: - int rom_attr_enabled;
1: - struct bin_attribute *res_attr[11];
1: - struct bin_attribute *res_attr_wc[11];
1: - const struct attribute_group **msi_irq_groups;
1: - struct pci_vpd *vpd;
1: - union {
1: - struct pci_sriov *sriov;
1: - struct pci_dev *physfn;
1: - };
1: - u16 ats_cap;
1: - u8 ats_stu;
1: - u16 pri_cap;
1: - u32 pri_reqs_alloc;
1: - unsigned int pasid_required: 1;
1: - u16 pasid_cap;
1: - u16 pasid_features;
1: - phys_addr_t rom;
1: - size_t romlen;
1: - char *driver_override;
1: - long unsigned int priv_flags;
1: + struct list_head bus_list;
1: + struct pci_bus *bus;
1: + struct pci_bus *subordinate;
1: + void *sysdata;
1: + struct proc_dir_entry *procent;
1: + struct pci_slot *slot;
1: + unsigned int devfn;
1: + short unsigned int vendor;
1: + short unsigned int device;
1: + short unsigned int subsystem_vendor;
1: + short unsigned int subsystem_device;
1: + unsigned int class;
1: + u8 revision;
1: + u8 hdr_type;
1: + u16 aer_cap;
1: + struct aer_stats *aer_stats;
1: + u8 pcie_cap;
1: + u8 msi_cap;
1: + u8 msix_cap;
1: + u8 pcie_mpss : 3;
1: + u8 rom_base_reg;
1: + u8 pin;
1: + u16 pcie_flags_reg;
1: + long unsigned int *dma_alias_mask;
1: + struct pci_driver *driver;
1: + u64 dma_mask;
1: + struct device_dma_parameters dma_parms;
1: + pci_power_t current_state;
1: + unsigned int imm_ready : 1;
1: + u8 pm_cap;
1: + unsigned int pme_support : 5;
1: + unsigned int pme_poll : 1;
1: + unsigned int d1_support : 1;
1: + unsigned int d2_support : 1;
1: + unsigned int no_d1d2 : 1;
1: + unsigned int no_d3cold : 1;
1: + unsigned int bridge_d3 : 1;
1: + unsigned int d3cold_allowed : 1;
1: + unsigned int mmio_always_on : 1;
1: + unsigned int wakeup_prepared : 1;
1: + unsigned int runtime_d3cold : 1;
1: + unsigned int skip_bus_pm : 1;
1: + unsigned int ignore_hotplug : 1;
1: + unsigned int hotplug_user_indicators : 1;
1: + unsigned int clear_retrain_link : 1;
1: + unsigned int d3_delay;
1: + unsigned int d3cold_delay;
1: + struct pcie_link_state *link_state;
1: + unsigned int ltr_path : 1;
1: + unsigned int eetlp_prefix_path : 1;
1: + pci_channel_state_t error_state;
1: + struct device dev;
1: + int cfg_size;
1: + unsigned int irq;
1: + struct resource resource[11];
1: + bool match_driver;
1: + unsigned int transparent : 1;
1: + unsigned int io_window : 1;
1: + unsigned int pref_window : 1;
1: + unsigned int pref_64_window : 1;
1: + unsigned int multifunction : 1;
1: + unsigned int is_busmaster : 1;
1: + unsigned int no_msi : 1;
1: + unsigned int no_64bit_msi : 1;
1: + unsigned int block_cfg_access : 1;
1: + unsigned int broken_parity_status : 1;
1: + unsigned int irq_reroute_variant : 2;
1: + unsigned int msi_enabled : 1;
1: + unsigned int msix_enabled : 1;
1: + unsigned int ari_enabled : 1;
1: + unsigned int ats_enabled : 1;
1: + unsigned int pasid_enabled : 1;
1: + unsigned int pri_enabled : 1;
1: + unsigned int is_managed : 1;
1: + unsigned int needs_freset : 1;
1: + unsigned int state_saved : 1;
1: + unsigned int is_physfn : 1;
1: + unsigned int is_virtfn : 1;
1: + unsigned int reset_fn : 1;
1: + unsigned int is_hotplug_bridge : 1;
1: + unsigned int shpc_managed : 1;
1: + unsigned int is_thunderbolt : 1;
1: + unsigned int untrusted : 1;
1: + unsigned int __aer_firmware_first_valid : 1;
1: + unsigned int __aer_firmware_first : 1;
1: + unsigned int broken_intx_masking : 1;
1: + unsigned int io_window_1k : 1;
1: + unsigned int irq_managed : 1;
1: + unsigned int non_compliant_bars : 1;
1: + unsigned int is_probed : 1;
1: + unsigned int link_active_reporting : 1;
1: + unsigned int no_vf_scan : 1;
1: + pci_dev_flags_t dev_flags;
1: + atomic_t enable_cnt;
1: + u32 saved_config_space[16];
1: + struct hlist_head saved_cap_space;
1: + struct bin_attribute *rom_attr;
1: + int rom_attr_enabled;
1: + struct bin_attribute *res_attr[11];
1: + struct bin_attribute *res_attr_wc[11];
1: + const struct attribute_group **msi_irq_groups;
1: + struct pci_vpd *vpd;
1: + union {
1: + struct pci_sriov *sriov;
1: + struct pci_dev *physfn;
1: + };
1: + u16 ats_cap;
1: + u8 ats_stu;
1: + u16 pri_cap;
1: + u32 pri_reqs_alloc;
1: + unsigned int pasid_required : 1;
1: + u16 pasid_cap;
1: + u16 pasid_features;
1: + phys_addr_t rom;
1: + size_t romlen;
1: + char *driver_override;
1: + long unsigned int priv_flags;
1: };
1:
1: struct pci_device_id {
1: - __u32 vendor;
1: - __u32 device;
1: - __u32 subvendor;
1: - __u32 subdevice;
1: - __u32 class;
1: - __u32 class_mask;
1: - kernel_ulong_t driver_data;
1: + __u32 vendor;
1: + __u32 device;
1: + __u32 subvendor;
1: + __u32 subdevice;
1: + __u32 class;
1: + __u32 class_mask;
1: + kernel_ulong_t driver_data;
1: };
1:
1: struct hotplug_slot;
1:
1: struct pci_slot {
1: - struct pci_bus *bus;
1: - struct list_head list;
1: - struct hotplug_slot *hotplug;
1: - unsigned char number;
1: - struct kobject kobj;
1: + struct pci_bus *bus;
1: + struct list_head list;
1: + struct hotplug_slot *hotplug;
1: + unsigned char number;
1: + struct kobject kobj;
1: };
1:
1: typedef short unsigned int pci_bus_flags_t;
1: @@ -15506,1860 +15648,1861 @@ struct pci_ops;
1: struct msi_controller;
1:
1: struct pci_bus {
1: - struct list_head node;
1: - struct pci_bus *parent;
1: - struct list_head children;
1: - struct list_head devices;
1: - struct pci_dev *self;
1: - struct list_head slots;
1: - struct resource *resource[4];
1: - struct list_head resources;
1: - struct resource busn_res;
1: - struct pci_ops *ops;
1: - struct msi_controller *msi;
1: - void *sysdata;
1: - struct proc_dir_entry *procdir;
1: - unsigned char number;
1: - unsigned char primary;
1: - unsigned char max_bus_speed;
1: - unsigned char cur_bus_speed;
1: - char name[48];
1: - short unsigned int bridge_ctl;
1: - pci_bus_flags_t bus_flags;
1: - struct device *bridge;
1: - struct device dev;
1: - struct bin_attribute *legacy_io;
1: - struct bin_attribute *legacy_mem;
1: - unsigned int is_added: 1;
1: -};
1: -
1: -enum {
1: - PCI_STD_RESOURCES = 0,
1: - PCI_STD_RESOURCE_END = 5,
1: - PCI_ROM_RESOURCE = 6,
1: - PCI_BRIDGE_RESOURCES = 7,
1: - PCI_BRIDGE_RESOURCE_END = 10,
1: - PCI_NUM_RESOURCES = 11,
1: - DEVICE_COUNT_RESOURCE = 11,
1: + struct list_head node;
1: + struct pci_bus *parent;
1: + struct list_head children;
1: + struct list_head devices;
1: + struct pci_dev *self;
1: + struct list_head slots;
1: + struct resource *resource[4];
1: + struct list_head resources;
1: + struct resource busn_res;
1: + struct pci_ops *ops;
1: + struct msi_controller *msi;
1: + void *sysdata;
1: + struct proc_dir_entry *procdir;
1: + unsigned char number;
1: + unsigned char primary;
1: + unsigned char max_bus_speed;
1: + unsigned char cur_bus_speed;
1: + char name[48];
1: + short unsigned int bridge_ctl;
1: + pci_bus_flags_t bus_flags;
1: + struct device *bridge;
1: + struct device dev;
1: + struct bin_attribute *legacy_io;
1: + struct bin_attribute *legacy_mem;
1: + unsigned int is_added : 1;
1: +};
1: +
1: +enum {
1: + PCI_STD_RESOURCES = 0,
1: + PCI_STD_RESOURCE_END = 5,
1: + PCI_ROM_RESOURCE = 6,
1: + PCI_BRIDGE_RESOURCES = 7,
1: + PCI_BRIDGE_RESOURCE_END = 10,
1: + PCI_NUM_RESOURCES = 11,
1: + DEVICE_COUNT_RESOURCE = 11,
1: };
1:
1: enum pci_channel_state {
1: - pci_channel_io_normal = 1,
1: - pci_channel_io_frozen = 2,
1: - pci_channel_io_perm_failure = 3,
1: + pci_channel_io_normal = 1,
1: + pci_channel_io_frozen = 2,
1: + pci_channel_io_perm_failure = 3,
1: };
1:
1: typedef unsigned int pcie_reset_state_t;
1:
1: struct pci_dynids {
1: - spinlock_t lock;
1: - struct list_head list;
1: + spinlock_t lock;
1: + struct list_head list;
1: };
1:
1: struct pci_error_handlers;
1:
1: struct pci_driver {
1: - struct list_head node;
1: - const char *name;
1: - const struct pci_device_id *id_table;
1: - int (*probe)(struct pci_dev *, const struct pci_device_id *);
1: - void (*remove)(struct pci_dev *);
1: - int (*suspend)(struct pci_dev *, pm_message_t);
1: - int (*resume)(struct pci_dev *);
1: - void (*shutdown)(struct pci_dev *);
1: - int (*sriov_configure)(struct pci_dev *, int);
1: - const struct pci_error_handlers *err_handler;
1: - const struct attribute_group **groups;
1: - struct device_driver driver;
1: - struct pci_dynids dynids;
1: + struct list_head node;
1: + const char *name;
1: + const struct pci_device_id *id_table;
1: + int (*probe)(struct pci_dev *, const struct pci_device_id *);
1: + void (*remove)(struct pci_dev *);
1: + int (*suspend)(struct pci_dev *, pm_message_t);
1: + int (*resume)(struct pci_dev *);
1: + void (*shutdown)(struct pci_dev *);
1: + int (*sriov_configure)(struct pci_dev *, int);
1: + const struct pci_error_handlers *err_handler;
1: + const struct attribute_group **groups;
1: + struct device_driver driver;
1: + struct pci_dynids dynids;
1: };
1:
1: struct pci_ops {
1: - int (*add_bus)(struct pci_bus *);
1: - void (*remove_bus)(struct pci_bus *);
1: - void * (*map_bus)(struct pci_bus *, unsigned int, int);
1: - int (*read)(struct pci_bus *, unsigned int, int, int, u32 *);
1: - int (*write)(struct pci_bus *, unsigned int, int, int, u32);
1: + int (*add_bus)(struct pci_bus *);
1: + void (*remove_bus)(struct pci_bus *);
1: + void *(*map_bus)(struct pci_bus *, unsigned int, int);
1: + int (*read)(struct pci_bus *, unsigned int, int, int, u32 *);
1: + int (*write)(struct pci_bus *, unsigned int, int, int, u32);
1: };
1:
1: typedef unsigned int pci_ers_result_t;
1:
1: struct pci_error_handlers {
1: - pci_ers_result_t (*error_detected)(struct pci_dev *, enum pci_channel_state);
1: - pci_ers_result_t (*mmio_enabled)(struct pci_dev *);
1: - pci_ers_result_t (*slot_reset)(struct pci_dev *);
1: - void (*reset_prepare)(struct pci_dev *);
1: - void (*reset_done)(struct pci_dev *);
1: - void (*resume)(struct pci_dev *);
1: + pci_ers_result_t (*error_detected)(struct pci_dev *, enum pci_channel_state);
1: + pci_ers_result_t (*mmio_enabled)(struct pci_dev *);
1: + pci_ers_result_t (*slot_reset)(struct pci_dev *);
1: + void (*reset_prepare)(struct pci_dev *);
1: + void (*reset_done)(struct pci_dev *);
1: + void (*resume)(struct pci_dev *);
1: };
1:
1: struct syscore_ops {
1: - struct list_head node;
1: - int (*suspend)();
1: - void (*resume)();
1: - void (*shutdown)();
1: + struct list_head node;
1: + int (*suspend)();
1: + void (*resume)();
1: + void (*shutdown)();
1: };
1:
1: enum ibs_states {
1: - IBS_ENABLED = 0,
1: - IBS_STARTED = 1,
1: - IBS_STOPPING = 2,
1: - IBS_STOPPED = 3,
1: - IBS_MAX_STATES = 4,
1: + IBS_ENABLED = 0,
1: + IBS_STARTED = 1,
1: + IBS_STOPPING = 2,
1: + IBS_STOPPED = 3,
1: + IBS_MAX_STATES = 4,
1: };
1:
1: struct cpu_perf_ibs {
1: - struct perf_event *event;
1: - long unsigned int state[1];
1: + struct perf_event *event;
1: + long unsigned int state[1];
1: };
1:
1: struct perf_ibs {
1: - struct pmu pmu;
1: - unsigned int msr;
1: - u64 config_mask;
1: - u64 cnt_mask;
1: - u64 enable_mask;
1: - u64 valid_mask;
1: - u64 max_period;
1: - long unsigned int offset_mask[1];
1: - int offset_max;
1: - struct cpu_perf_ibs *pcpu;
1: - struct attribute **format_attrs;
1: - struct attribute_group format_group;
1: - const struct attribute_group *attr_groups[2];
1: - u64 (*get_count)(u64);
1: + struct pmu pmu;
1: + unsigned int msr;
1: + u64 config_mask;
1: + u64 cnt_mask;
1: + u64 enable_mask;
1: + u64 valid_mask;
1: + u64 max_period;
1: + long unsigned int offset_mask[1];
1: + int offset_max;
1: + struct cpu_perf_ibs *pcpu;
1: + struct attribute **format_attrs;
1: + struct attribute_group format_group;
1: + const struct attribute_group *attr_groups[2];
1: + u64 (*get_count)(u64);
1: };
1:
1: struct perf_ibs_data {
1: - u32 size;
1: - union {
1: - u32 data[0];
1: - u32 caps;
1: - };
1: - u64 regs[8];
1: + u32 size;
1: + union {
1: + u32 data[0];
1: + u32 caps;
1: + };
1: + u64 regs[8];
1: };
1:
1: struct kobj_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct kobject *, struct kobj_attribute *, char *);
1: - ssize_t (*store)(struct kobject *, struct kobj_attribute *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct kobject *, struct kobj_attribute *, char *);
1: + ssize_t (*store)(struct kobject *, struct kobj_attribute *, const char *,
1: + size_t);
1: };
1:
1: struct amd_iommu;
1:
1: struct perf_amd_iommu {
1: - struct list_head list;
1: - struct pmu pmu;
1: - struct amd_iommu *iommu;
1: - char name[16];
1: - u8 max_banks;
1: - u8 max_counters;
1: - u64 cntr_assign_mask;
1: - raw_spinlock_t lock;
1: + struct list_head list;
1: + struct pmu pmu;
1: + struct amd_iommu *iommu;
1: + char name[16];
1: + u8 max_banks;
1: + u8 max_counters;
1: + u64 cntr_assign_mask;
1: + raw_spinlock_t lock;
1: };
1:
1: struct amd_iommu_event_desc {
1: - struct kobj_attribute attr;
1: - const char *event;
1: + struct kobj_attribute attr;
1: + const char *event;
1: };
1:
1: enum perf_msr_id {
1: - PERF_MSR_TSC = 0,
1: - PERF_MSR_APERF = 1,
1: - PERF_MSR_MPERF = 2,
1: - PERF_MSR_PPERF = 3,
1: - PERF_MSR_SMI = 4,
1: - PERF_MSR_PTSC = 5,
1: - PERF_MSR_IRPERF = 6,
1: - PERF_MSR_THERM = 7,
1: - PERF_MSR_EVENT_MAX = 8,
1: + PERF_MSR_TSC = 0,
1: + PERF_MSR_APERF = 1,
1: + PERF_MSR_MPERF = 2,
1: + PERF_MSR_PPERF = 3,
1: + PERF_MSR_SMI = 4,
1: + PERF_MSR_PTSC = 5,
1: + PERF_MSR_IRPERF = 6,
1: + PERF_MSR_THERM = 7,
1: + PERF_MSR_EVENT_MAX = 8,
1: };
1:
1: struct x86_cpu_desc {
1: - u8 x86_family;
1: - u8 x86_vendor;
1: - u8 x86_model;
1: - u8 x86_stepping;
1: - u32 x86_microcode_rev;
1: + u8 x86_family;
1: + u8 x86_vendor;
1: + u8 x86_model;
1: + u8 x86_stepping;
1: + u32 x86_microcode_rev;
1: };
1:
1: union cpuid10_eax {
1: - struct {
1: - unsigned int version_id: 8;
1: - unsigned int num_counters: 8;
1: - unsigned int bit_width: 8;
1: - unsigned int mask_length: 8;
1: - } split;
1: - unsigned int full;
1: + struct {
1: + unsigned int version_id : 8;
1: + unsigned int num_counters : 8;
1: + unsigned int bit_width : 8;
1: + unsigned int mask_length : 8;
1: + } split;
1: + unsigned int full;
1: };
1:
1: union cpuid10_ebx {
1: - struct {
1: - unsigned int no_unhalted_core_cycles: 1;
1: - unsigned int no_instructions_retired: 1;
1: - unsigned int no_unhalted_reference_cycles: 1;
1: - unsigned int no_llc_reference: 1;
1: - unsigned int no_llc_misses: 1;
1: - unsigned int no_branch_instruction_retired: 1;
1: - unsigned int no_branch_misses_retired: 1;
1: - } split;
1: - unsigned int full;
1: + struct {
1: + unsigned int no_unhalted_core_cycles : 1;
1: + unsigned int no_instructions_retired : 1;
1: + unsigned int no_unhalted_reference_cycles : 1;
1: + unsigned int no_llc_reference : 1;
1: + unsigned int no_llc_misses : 1;
1: + unsigned int no_branch_instruction_retired : 1;
1: + unsigned int no_branch_misses_retired : 1;
1: + } split;
1: + unsigned int full;
1: };
1:
1: union cpuid10_edx {
1: - struct {
1: - unsigned int num_counters_fixed: 5;
1: - unsigned int bit_width_fixed: 8;
1: - unsigned int reserved: 19;
1: - } split;
1: - unsigned int full;
1: + struct {
1: + unsigned int num_counters_fixed : 5;
1: + unsigned int bit_width_fixed : 8;
1: + unsigned int reserved : 19;
1: + } split;
1: + unsigned int full;
1: };
1:
1: union x86_pmu_config {
1: - struct {
1: - u64 event: 8;
1: - u64 umask: 8;
1: - u64 usr: 1;
1: - u64 os: 1;
1: - u64 edge: 1;
1: - u64 pc: 1;
1: - u64 interrupt: 1;
1: - u64 __reserved1: 1;
1: - u64 en: 1;
1: - u64 inv: 1;
1: - u64 cmask: 8;
1: - u64 event2: 4;
1: - u64 __reserved2: 4;
1: - u64 go: 1;
1: - u64 ho: 1;
1: - } bits;
1: - u64 value;
1: + struct {
1: + u64 event : 8;
1: + u64 umask : 8;
1: + u64 usr : 1;
1: + u64 os : 1;
1: + u64 edge : 1;
1: + u64 pc : 1;
1: + u64 interrupt : 1;
1: + u64 __reserved1 : 1;
1: + u64 en : 1;
1: + u64 inv : 1;
1: + u64 cmask : 8;
1: + u64 event2 : 4;
1: + u64 __reserved2 : 4;
1: + u64 go : 1;
1: + u64 ho : 1;
1: + } bits;
1: + u64 value;
1: };
1:
1: enum pageflags {
1: - PG_locked = 0,
1: - PG_referenced = 1,
1: - PG_uptodate = 2,
1: - PG_dirty = 3,
1: - PG_lru = 4,
1: - PG_active = 5,
1: - PG_workingset = 6,
1: - PG_waiters = 7,
1: - PG_error = 8,
1: - PG_slab = 9,
1: - PG_owner_priv_1 = 10,
1: - PG_arch_1 = 11,
1: - PG_reserved = 12,
1: - PG_private = 13,
1: - PG_private_2 = 14,
1: - PG_writeback = 15,
1: - PG_head = 16,
1: - PG_mappedtodisk = 17,
1: - PG_reclaim = 18,
1: - PG_swapbacked = 19,
1: - PG_unevictable = 20,
1: - PG_mlocked = 21,
1: - PG_uncached = 22,
1: - __NR_PAGEFLAGS = 23,
1: - PG_checked = 10,
1: - PG_swapcache = 10,
1: - PG_fscache = 14,
1: - PG_pinned = 10,
1: - PG_savepinned = 3,
1: - PG_foreign = 10,
1: - PG_xen_remapped = 10,
1: - PG_slob_free = 13,
1: - PG_double_map = 14,
1: - PG_isolated = 18,
1: + PG_locked = 0,
1: + PG_referenced = 1,
1: + PG_uptodate = 2,
1: + PG_dirty = 3,
1: + PG_lru = 4,
1: + PG_active = 5,
1: + PG_workingset = 6,
1: + PG_waiters = 7,
1: + PG_error = 8,
1: + PG_slab = 9,
1: + PG_owner_priv_1 = 10,
1: + PG_arch_1 = 11,
1: + PG_reserved = 12,
1: + PG_private = 13,
1: + PG_private_2 = 14,
1: + PG_writeback = 15,
1: + PG_head = 16,
1: + PG_mappedtodisk = 17,
1: + PG_reclaim = 18,
1: + PG_swapbacked = 19,
1: + PG_unevictable = 20,
1: + PG_mlocked = 21,
1: + PG_uncached = 22,
1: + __NR_PAGEFLAGS = 23,
1: + PG_checked = 10,
1: + PG_swapcache = 10,
1: + PG_fscache = 14,
1: + PG_pinned = 10,
1: + PG_savepinned = 3,
1: + PG_foreign = 10,
1: + PG_xen_remapped = 10,
1: + PG_slob_free = 13,
1: + PG_double_map = 14,
1: + PG_isolated = 18,
1: };
1:
1: struct bts_ctx {
1: - struct perf_output_handle handle;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct debug_store ds_back;
1: - int state;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: -};
1: -
1: -enum {
1: - BTS_STATE_STOPPED = 0,
1: - BTS_STATE_INACTIVE = 1,
1: - BTS_STATE_ACTIVE = 2,
1: + struct perf_output_handle handle;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct debug_store ds_back;
1: + int state;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: +};
1: +
1: +enum {
1: + BTS_STATE_STOPPED = 0,
1: + BTS_STATE_INACTIVE = 1,
1: + BTS_STATE_ACTIVE = 2,
1: };
1:
1: struct bts_phys {
1: - struct page *page;
1: - long unsigned int size;
1: - long unsigned int offset;
1: - long unsigned int displacement;
1: + struct page *page;
1: + long unsigned int size;
1: + long unsigned int offset;
1: + long unsigned int displacement;
1: };
1:
1: struct bts_buffer {
1: - size_t real_size;
1: - unsigned int nr_pages;
1: - unsigned int nr_bufs;
1: - unsigned int cur_buf;
1: - bool snapshot;
1: - local_t data_size;
1: - local_t head;
1: - long unsigned int end;
1: - void **data_pages;
1: - struct bts_phys buf[0];
1: + size_t real_size;
1: + unsigned int nr_pages;
1: + unsigned int nr_bufs;
1: + unsigned int cur_buf;
1: + bool snapshot;
1: + local_t data_size;
1: + local_t head;
1: + long unsigned int end;
1: + void **data_pages;
1: + struct bts_phys buf[0];
1: };
1:
1: struct entry_stack {
1: - long unsigned int words[64];
1: + long unsigned int words[64];
1: };
1:
1: struct entry_stack_page {
1: - struct entry_stack stack;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct entry_stack stack;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct debug_store_buffers {
1: - char bts_buffer[65536];
1: - char pebs_buffer[65536];
1: + char bts_buffer[65536];
1: + char pebs_buffer[65536];
1: };
1:
1: struct cea_exception_stacks {
1: - char DF_stack_guard[4096];
1: - char DF_stack[4096];
1: - char NMI_stack_guard[4096];
1: - char NMI_stack[4096];
1: - char DB2_stack_guard[4096];
1: - char DB2_stack[4096];
1: - char DB1_stack_guard[4096];
1: - char DB1_stack[4096];
1: - char DB_stack_guard[4096];
1: - char DB_stack[4096];
1: - char MCE_stack_guard[4096];
1: - char MCE_stack[4096];
1: - char IST_top_guard[4096];
1: + char DF_stack_guard[4096];
1: + char DF_stack[4096];
1: + char NMI_stack_guard[4096];
1: + char NMI_stack[4096];
1: + char DB2_stack_guard[4096];
1: + char DB2_stack[4096];
1: + char DB1_stack_guard[4096];
1: + char DB1_stack[4096];
1: + char DB_stack_guard[4096];
1: + char DB_stack[4096];
1: + char MCE_stack_guard[4096];
1: + char MCE_stack[4096];
1: + char IST_top_guard[4096];
1: };
1:
1: struct cpu_entry_area {
1: - char gdt[4096];
1: - struct entry_stack_page entry_stack_page;
1: - struct tss_struct tss;
1: - struct cea_exception_stacks estacks;
1: - struct debug_store cpu_debug_store;
1: - struct debug_store_buffers cpu_debug_buffers;
1: + char gdt[4096];
1: + struct entry_stack_page entry_stack_page;
1: + struct tss_struct tss;
1: + struct cea_exception_stacks estacks;
1: + struct debug_store cpu_debug_store;
1: + struct debug_store_buffers cpu_debug_buffers;
1: };
1:
1: struct pebs_basic {
1: - u64 format_size;
1: - u64 ip;
1: - u64 applicable_counters;
1: - u64 tsc;
1: + u64 format_size;
1: + u64 ip;
1: + u64 applicable_counters;
1: + u64 tsc;
1: };
1:
1: struct pebs_meminfo {
1: - u64 address;
1: - u64 aux;
1: - u64 latency;
1: - u64 tsx_tuning;
1: + u64 address;
1: + u64 aux;
1: + u64 latency;
1: + u64 tsx_tuning;
1: };
1:
1: struct pebs_gprs {
1: - u64 flags;
1: - u64 ip;
1: - u64 ax;
1: - u64 cx;
1: - u64 dx;
1: - u64 bx;
1: - u64 sp;
1: - u64 bp;
1: - u64 si;
1: - u64 di;
1: - u64 r8;
1: - u64 r9;
1: - u64 r10;
1: - u64 r11;
1: - u64 r12;
1: - u64 r13;
1: - u64 r14;
1: - u64 r15;
1: + u64 flags;
1: + u64 ip;
1: + u64 ax;
1: + u64 cx;
1: + u64 dx;
1: + u64 bx;
1: + u64 sp;
1: + u64 bp;
1: + u64 si;
1: + u64 di;
1: + u64 r8;
1: + u64 r9;
1: + u64 r10;
1: + u64 r11;
1: + u64 r12;
1: + u64 r13;
1: + u64 r14;
1: + u64 r15;
1: };
1:
1: struct pebs_xmm {
1: - u64 xmm[32];
1: + u64 xmm[32];
1: };
1:
1: struct pebs_lbr_entry {
1: - u64 from;
1: - u64 to;
1: - u64 info;
1: + u64 from;
1: + u64 to;
1: + u64 info;
1: };
1:
1: struct pebs_lbr {
1: - struct pebs_lbr_entry lbr[0];
1: + struct pebs_lbr_entry lbr[0];
1: };
1:
1: struct x86_perf_regs {
1: - struct pt_regs regs;
1: - u64 *xmm_regs;
1: + struct pt_regs regs;
1: + u64 *xmm_regs;
1: };
1:
1: typedef unsigned int insn_attr_t;
1: @@ -17369,713 +17512,713 @@ typedef unsigned char insn_byte_t;
1: typedef int insn_value_t;
1:
1: struct insn_field {
1: - union {
1: - insn_value_t value;
1: - insn_byte_t bytes[4];
1: - };
1: - unsigned char got;
1: - unsigned char nbytes;
1: + union {
1: + insn_value_t value;
1: + insn_byte_t bytes[4];
1: + };
1: + unsigned char got;
1: + unsigned char nbytes;
1: };
1:
1: struct insn {
1: - struct insn_field prefixes;
1: - struct insn_field rex_prefix;
1: - struct insn_field vex_prefix;
1: - struct insn_field opcode;
1: - struct insn_field modrm;
1: - struct insn_field sib;
1: - struct insn_field displacement;
1: - union {
1: - struct insn_field immediate;
1: - struct insn_field moffset1;
1: - struct insn_field immediate1;
1: - };
1: - union {
1: - struct insn_field moffset2;
1: - struct insn_field immediate2;
1: - };
1: - int emulate_prefix_size;
1: - insn_attr_t attr;
1: - unsigned char opnd_bytes;
1: - unsigned char addr_bytes;
1: - unsigned char length;
1: - unsigned char x86_64;
1: - const insn_byte_t *kaddr;
1: - const insn_byte_t *end_kaddr;
1: - const insn_byte_t *next_byte;
1: -};
1: -
1: -enum {
1: - PERF_TXN_ELISION = 1,
1: - PERF_TXN_TRANSACTION = 2,
1: - PERF_TXN_SYNC = 4,
1: - PERF_TXN_ASYNC = 8,
1: - PERF_TXN_RETRY = 16,
1: - PERF_TXN_CONFLICT = 32,
1: - PERF_TXN_CAPACITY_WRITE = 64,
1: - PERF_TXN_CAPACITY_READ = 128,
1: - PERF_TXN_MAX = 256,
1: - PERF_TXN_ABORT_MASK = 0,
1: - PERF_TXN_ABORT_SHIFT = 32,
1: + struct insn_field prefixes;
1: + struct insn_field rex_prefix;
1: + struct insn_field vex_prefix;
1: + struct insn_field opcode;
1: + struct insn_field modrm;
1: + struct insn_field sib;
1: + struct insn_field displacement;
1: + union {
1: + struct insn_field immediate;
1: + struct insn_field moffset1;
1: + struct insn_field immediate1;
1: + };
1: + union {
1: + struct insn_field moffset2;
1: + struct insn_field immediate2;
1: + };
1: + int emulate_prefix_size;
1: + insn_attr_t attr;
1: + unsigned char opnd_bytes;
1: + unsigned char addr_bytes;
1: + unsigned char length;
1: + unsigned char x86_64;
1: + const insn_byte_t *kaddr;
1: + const insn_byte_t *end_kaddr;
1: + const insn_byte_t *next_byte;
1: +};
1: +
1: +enum {
1: + PERF_TXN_ELISION = 1,
1: + PERF_TXN_TRANSACTION = 2,
1: + PERF_TXN_SYNC = 4,
1: + PERF_TXN_ASYNC = 8,
1: + PERF_TXN_RETRY = 16,
1: + PERF_TXN_CONFLICT = 32,
1: + PERF_TXN_CAPACITY_WRITE = 64,
1: + PERF_TXN_CAPACITY_READ = 128,
1: + PERF_TXN_MAX = 256,
1: + PERF_TXN_ABORT_MASK = 0,
1: + PERF_TXN_ABORT_SHIFT = 32,
1: };
1:
1: struct perf_event_header {
1: - __u32 type;
1: - __u16 misc;
1: - __u16 size;
1: + __u32 type;
1: + __u16 misc;
1: + __u16 size;
1: };
1:
1: union intel_x86_pebs_dse {
1: - u64 val;
1: - struct {
1: - unsigned int ld_dse: 4;
1: - unsigned int ld_stlb_miss: 1;
1: - unsigned int ld_locked: 1;
1: - unsigned int ld_reserved: 26;
1: - };
1: - struct {
1: - unsigned int st_l1d_hit: 1;
1: - unsigned int st_reserved1: 3;
1: - unsigned int st_stlb_miss: 1;
1: - unsigned int st_locked: 1;
1: - unsigned int st_reserved2: 26;
1: - };
1: + u64 val;
1: + struct {
1: + unsigned int ld_dse : 4;
1: + unsigned int ld_stlb_miss : 1;
1: + unsigned int ld_locked : 1;
1: + unsigned int ld_reserved : 26;
1: + };
1: + struct {
1: + unsigned int st_l1d_hit : 1;
1: + unsigned int st_reserved1 : 3;
1: + unsigned int st_stlb_miss : 1;
1: + unsigned int st_locked : 1;
1: + unsigned int st_reserved2 : 26;
1: + };
1: };
1:
1: struct pebs_record_core {
1: - u64 flags;
1: - u64 ip;
1: - u64 ax;
1: - u64 bx;
1: - u64 cx;
1: - u64 dx;
1: - u64 si;
1: - u64 di;
1: - u64 bp;
1: - u64 sp;
1: - u64 r8;
1: - u64 r9;
1: - u64 r10;
1: - u64 r11;
1: - u64 r12;
1: - u64 r13;
1: - u64 r14;
1: - u64 r15;
1: + u64 flags;
1: + u64 ip;
1: + u64 ax;
1: + u64 bx;
1: + u64 cx;
1: + u64 dx;
1: + u64 si;
1: + u64 di;
1: + u64 bp;
1: + u64 sp;
1: + u64 r8;
1: + u64 r9;
1: + u64 r10;
1: + u64 r11;
1: + u64 r12;
1: + u64 r13;
1: + u64 r14;
1: + u64 r15;
1: };
1:
1: struct pebs_record_nhm {
1: - u64 flags;
1: - u64 ip;
1: - u64 ax;
1: - u64 bx;
1: - u64 cx;
1: - u64 dx;
1: - u64 si;
1: - u64 di;
1: - u64 bp;
1: - u64 sp;
1: - u64 r8;
1: - u64 r9;
1: - u64 r10;
1: - u64 r11;
1: - u64 r12;
1: - u64 r13;
1: - u64 r14;
1: - u64 r15;
1: - u64 status;
1: - u64 dla;
1: - u64 dse;
1: - u64 lat;
1: + u64 flags;
1: + u64 ip;
1: + u64 ax;
1: + u64 bx;
1: + u64 cx;
1: + u64 dx;
1: + u64 si;
1: + u64 di;
1: + u64 bp;
1: + u64 sp;
1: + u64 r8;
1: + u64 r9;
1: + u64 r10;
1: + u64 r11;
1: + u64 r12;
1: + u64 r13;
1: + u64 r14;
1: + u64 r15;
1: + u64 status;
1: + u64 dla;
1: + u64 dse;
1: + u64 lat;
1: };
1:
1: union hsw_tsx_tuning {
1: - struct {
1: - u32 cycles_last_block: 32;
1: - u32 hle_abort: 1;
1: - u32 rtm_abort: 1;
1: - u32 instruction_abort: 1;
1: - u32 non_instruction_abort: 1;
1: - u32 retry: 1;
1: - u32 data_conflict: 1;
1: - u32 capacity_writes: 1;
1: - u32 capacity_reads: 1;
1: - };
1: - u64 value;
1: + struct {
1: + u32 cycles_last_block : 32;
1: + u32 hle_abort : 1;
1: + u32 rtm_abort : 1;
1: + u32 instruction_abort : 1;
1: + u32 non_instruction_abort : 1;
1: + u32 retry : 1;
1: + u32 data_conflict : 1;
1: + u32 capacity_writes : 1;
1: + u32 capacity_reads : 1;
1: + };
1: + u64 value;
1: };
1:
1: struct pebs_record_skl {
1: - u64 flags;
1: - u64 ip;
1: - u64 ax;
1: - u64 bx;
1: - u64 cx;
1: - u64 dx;
1: - u64 si;
1: - u64 di;
1: - u64 bp;
1: - u64 sp;
1: - u64 r8;
1: - u64 r9;
1: - u64 r10;
1: - u64 r11;
1: - u64 r12;
1: - u64 r13;
1: - u64 r14;
1: - u64 r15;
1: - u64 status;
1: - u64 dla;
1: - u64 dse;
1: - u64 lat;
1: - u64 real_ip;
1: - u64 tsx_tuning;
1: - u64 tsc;
1: + u64 flags;
1: + u64 ip;
1: + u64 ax;
1: + u64 bx;
1: + u64 cx;
1: + u64 dx;
1: + u64 si;
1: + u64 di;
1: + u64 bp;
1: + u64 sp;
1: + u64 r8;
1: + u64 r9;
1: + u64 r10;
1: + u64 r11;
1: + u64 r12;
1: + u64 r13;
1: + u64 r14;
1: + u64 r15;
1: + u64 status;
1: + u64 dla;
1: + u64 dse;
1: + u64 lat;
1: + u64 real_ip;
1: + u64 tsx_tuning;
1: + u64 tsc;
1: };
1:
1: struct bts_record {
1: - u64 from;
1: - u64 to;
1: - u64 flags;
1: + u64 from;
1: + u64 to;
1: + u64 flags;
1: };
1:
1: enum {
1: - PERF_BR_UNKNOWN = 0,
1: - PERF_BR_COND = 1,
1: - PERF_BR_UNCOND = 2,
1: - PERF_BR_IND = 3,
1: - PERF_BR_CALL = 4,
1: - PERF_BR_IND_CALL = 5,
1: - PERF_BR_RET = 6,
1: - PERF_BR_SYSCALL = 7,
1: - PERF_BR_SYSRET = 8,
1: - PERF_BR_COND_CALL = 9,
1: - PERF_BR_COND_RET = 10,
1: - PERF_BR_MAX = 11,
1: + PERF_BR_UNKNOWN = 0,
1: + PERF_BR_COND = 1,
1: + PERF_BR_UNCOND = 2,
1: + PERF_BR_IND = 3,
1: + PERF_BR_CALL = 4,
1: + PERF_BR_IND_CALL = 5,
1: + PERF_BR_RET = 6,
1: + PERF_BR_SYSCALL = 7,
1: + PERF_BR_SYSRET = 8,
1: + PERF_BR_COND_CALL = 9,
1: + PERF_BR_COND_RET = 10,
1: + PERF_BR_MAX = 11,
1: };
1:
1: enum {
1: - LBR_FORMAT_32 = 0,
1: - LBR_FORMAT_LIP = 1,
1: - LBR_FORMAT_EIP = 2,
1: - LBR_FORMAT_EIP_FLAGS = 3,
1: - LBR_FORMAT_EIP_FLAGS2 = 4,
1: - LBR_FORMAT_INFO = 5,
1: - LBR_FORMAT_TIME = 6,
1: - LBR_FORMAT_MAX_KNOWN = 6,
1: + LBR_FORMAT_32 = 0,
1: + LBR_FORMAT_LIP = 1,
1: + LBR_FORMAT_EIP = 2,
1: + LBR_FORMAT_EIP_FLAGS = 3,
1: + LBR_FORMAT_EIP_FLAGS2 = 4,
1: + LBR_FORMAT_INFO = 5,
1: + LBR_FORMAT_TIME = 6,
1: + LBR_FORMAT_MAX_KNOWN = 6,
1: };
1:
1: enum {
1: - X86_BR_NONE = 0,
1: - X86_BR_USER = 1,
1: - X86_BR_KERNEL = 2,
1: - X86_BR_CALL = 4,
1: - X86_BR_RET = 8,
1: - X86_BR_SYSCALL = 16,
1: - X86_BR_SYSRET = 32,
1: - X86_BR_INT = 64,
1: - X86_BR_IRET = 128,
1: - X86_BR_JCC = 256,
1: - X86_BR_JMP = 512,
1: - X86_BR_IRQ = 1024,
1: - X86_BR_IND_CALL = 2048,
1: - X86_BR_ABORT = 4096,
1: - X86_BR_IN_TX = 8192,
1: - X86_BR_NO_TX = 16384,
1: - X86_BR_ZERO_CALL = 32768,
1: - X86_BR_CALL_STACK = 65536,
1: - X86_BR_IND_JMP = 131072,
1: - X86_BR_TYPE_SAVE = 262144,
1: + X86_BR_NONE = 0,
1: + X86_BR_USER = 1,
1: + X86_BR_KERNEL = 2,
1: + X86_BR_CALL = 4,
1: + X86_BR_RET = 8,
1: + X86_BR_SYSCALL = 16,
1: + X86_BR_SYSRET = 32,
1: + X86_BR_INT = 64,
1: + X86_BR_IRET = 128,
1: + X86_BR_JCC = 256,
1: + X86_BR_JMP = 512,
1: + X86_BR_IRQ = 1024,
1: + X86_BR_IND_CALL = 2048,
1: + X86_BR_ABORT = 4096,
1: + X86_BR_IN_TX = 8192,
1: + X86_BR_NO_TX = 16384,
1: + X86_BR_ZERO_CALL = 32768,
1: + X86_BR_CALL_STACK = 65536,
1: + X86_BR_IND_JMP = 131072,
1: + X86_BR_TYPE_SAVE = 262144,
1: };
1:
1: enum {
1: - LBR_NONE = 0,
1: - LBR_VALID = 1,
1: + LBR_NONE = 0,
1: + LBR_VALID = 1,
1: };
1:
1: enum P4_EVENTS {
1: - P4_EVENT_TC_DELIVER_MODE = 0,
1: - P4_EVENT_BPU_FETCH_REQUEST = 1,
1: - P4_EVENT_ITLB_REFERENCE = 2,
1: - P4_EVENT_MEMORY_CANCEL = 3,
1: - P4_EVENT_MEMORY_COMPLETE = 4,
1: - P4_EVENT_LOAD_PORT_REPLAY = 5,
1: - P4_EVENT_STORE_PORT_REPLAY = 6,
1: - P4_EVENT_MOB_LOAD_REPLAY = 7,
1: - P4_EVENT_PAGE_WALK_TYPE = 8,
1: - P4_EVENT_BSQ_CACHE_REFERENCE = 9,
1: - P4_EVENT_IOQ_ALLOCATION = 10,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES = 11,
1: - P4_EVENT_FSB_DATA_ACTIVITY = 12,
1: - P4_EVENT_BSQ_ALLOCATION = 13,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES = 14,
1: - P4_EVENT_SSE_INPUT_ASSIST = 15,
1: - P4_EVENT_PACKED_SP_UOP = 16,
1: - P4_EVENT_PACKED_DP_UOP = 17,
1: - P4_EVENT_SCALAR_SP_UOP = 18,
1: - P4_EVENT_SCALAR_DP_UOP = 19,
1: - P4_EVENT_64BIT_MMX_UOP = 20,
1: - P4_EVENT_128BIT_MMX_UOP = 21,
1: - P4_EVENT_X87_FP_UOP = 22,
1: - P4_EVENT_TC_MISC = 23,
1: - P4_EVENT_GLOBAL_POWER_EVENTS = 24,
1: - P4_EVENT_TC_MS_XFER = 25,
1: - P4_EVENT_UOP_QUEUE_WRITES = 26,
1: - P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE = 27,
1: - P4_EVENT_RETIRED_BRANCH_TYPE = 28,
1: - P4_EVENT_RESOURCE_STALL = 29,
1: - P4_EVENT_WC_BUFFER = 30,
1: - P4_EVENT_B2B_CYCLES = 31,
1: - P4_EVENT_BNR = 32,
1: - P4_EVENT_SNOOP = 33,
1: - P4_EVENT_RESPONSE = 34,
1: - P4_EVENT_FRONT_END_EVENT = 35,
1: - P4_EVENT_EXECUTION_EVENT = 36,
1: - P4_EVENT_REPLAY_EVENT = 37,
1: - P4_EVENT_INSTR_RETIRED = 38,
1: - P4_EVENT_UOPS_RETIRED = 39,
1: - P4_EVENT_UOP_TYPE = 40,
1: - P4_EVENT_BRANCH_RETIRED = 41,
1: - P4_EVENT_MISPRED_BRANCH_RETIRED = 42,
1: - P4_EVENT_X87_ASSIST = 43,
1: - P4_EVENT_MACHINE_CLEAR = 44,
1: - P4_EVENT_INSTR_COMPLETED = 45,
1: + P4_EVENT_TC_DELIVER_MODE = 0,
1: + P4_EVENT_BPU_FETCH_REQUEST = 1,
1: + P4_EVENT_ITLB_REFERENCE = 2,
1: + P4_EVENT_MEMORY_CANCEL = 3,
1: + P4_EVENT_MEMORY_COMPLETE = 4,
1: + P4_EVENT_LOAD_PORT_REPLAY = 5,
1: + P4_EVENT_STORE_PORT_REPLAY = 6,
1: + P4_EVENT_MOB_LOAD_REPLAY = 7,
1: + P4_EVENT_PAGE_WALK_TYPE = 8,
1: + P4_EVENT_BSQ_CACHE_REFERENCE = 9,
1: + P4_EVENT_IOQ_ALLOCATION = 10,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES = 11,
1: + P4_EVENT_FSB_DATA_ACTIVITY = 12,
1: + P4_EVENT_BSQ_ALLOCATION = 13,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES = 14,
1: + P4_EVENT_SSE_INPUT_ASSIST = 15,
1: + P4_EVENT_PACKED_SP_UOP = 16,
1: + P4_EVENT_PACKED_DP_UOP = 17,
1: + P4_EVENT_SCALAR_SP_UOP = 18,
1: + P4_EVENT_SCALAR_DP_UOP = 19,
1: + P4_EVENT_64BIT_MMX_UOP = 20,
1: + P4_EVENT_128BIT_MMX_UOP = 21,
1: + P4_EVENT_X87_FP_UOP = 22,
1: + P4_EVENT_TC_MISC = 23,
1: + P4_EVENT_GLOBAL_POWER_EVENTS = 24,
1: + P4_EVENT_TC_MS_XFER = 25,
1: + P4_EVENT_UOP_QUEUE_WRITES = 26,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE = 27,
1: + P4_EVENT_RETIRED_BRANCH_TYPE = 28,
1: + P4_EVENT_RESOURCE_STALL = 29,
1: + P4_EVENT_WC_BUFFER = 30,
1: + P4_EVENT_B2B_CYCLES = 31,
1: + P4_EVENT_BNR = 32,
1: + P4_EVENT_SNOOP = 33,
1: + P4_EVENT_RESPONSE = 34,
1: + P4_EVENT_FRONT_END_EVENT = 35,
1: + P4_EVENT_EXECUTION_EVENT = 36,
1: + P4_EVENT_REPLAY_EVENT = 37,
1: + P4_EVENT_INSTR_RETIRED = 38,
1: + P4_EVENT_UOPS_RETIRED = 39,
1: + P4_EVENT_UOP_TYPE = 40,
1: + P4_EVENT_BRANCH_RETIRED = 41,
1: + P4_EVENT_MISPRED_BRANCH_RETIRED = 42,
1: + P4_EVENT_X87_ASSIST = 43,
1: + P4_EVENT_MACHINE_CLEAR = 44,
1: + P4_EVENT_INSTR_COMPLETED = 45,
1: };
1:
1: enum P4_EVENT_OPCODES {
1: - P4_EVENT_TC_DELIVER_MODE_OPCODE = 257,
1: - P4_EVENT_BPU_FETCH_REQUEST_OPCODE = 768,
1: - P4_EVENT_ITLB_REFERENCE_OPCODE = 6147,
1: - P4_EVENT_MEMORY_CANCEL_OPCODE = 517,
1: - P4_EVENT_MEMORY_COMPLETE_OPCODE = 2050,
1: - P4_EVENT_LOAD_PORT_REPLAY_OPCODE = 1026,
1: - P4_EVENT_STORE_PORT_REPLAY_OPCODE = 1282,
1: - P4_EVENT_MOB_LOAD_REPLAY_OPCODE = 770,
1: - P4_EVENT_PAGE_WALK_TYPE_OPCODE = 260,
1: - P4_EVENT_BSQ_CACHE_REFERENCE_OPCODE = 3079,
1: - P4_EVENT_IOQ_ALLOCATION_OPCODE = 774,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES_OPCODE = 6662,
1: - P4_EVENT_FSB_DATA_ACTIVITY_OPCODE = 5894,
1: - P4_EVENT_BSQ_ALLOCATION_OPCODE = 1287,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES_OPCODE = 1543,
1: - P4_EVENT_SSE_INPUT_ASSIST_OPCODE = 13313,
1: - P4_EVENT_PACKED_SP_UOP_OPCODE = 2049,
1: - P4_EVENT_PACKED_DP_UOP_OPCODE = 3073,
1: - P4_EVENT_SCALAR_SP_UOP_OPCODE = 2561,
1: - P4_EVENT_SCALAR_DP_UOP_OPCODE = 3585,
1: - P4_EVENT_64BIT_MMX_UOP_OPCODE = 513,
1: - P4_EVENT_128BIT_MMX_UOP_OPCODE = 6657,
1: - P4_EVENT_X87_FP_UOP_OPCODE = 1025,
1: - P4_EVENT_TC_MISC_OPCODE = 1537,
1: - P4_EVENT_GLOBAL_POWER_EVENTS_OPCODE = 4870,
1: - P4_EVENT_TC_MS_XFER_OPCODE = 1280,
1: - P4_EVENT_UOP_QUEUE_WRITES_OPCODE = 2304,
1: - P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE_OPCODE = 1282,
1: - P4_EVENT_RETIRED_BRANCH_TYPE_OPCODE = 1026,
1: - P4_EVENT_RESOURCE_STALL_OPCODE = 257,
1: - P4_EVENT_WC_BUFFER_OPCODE = 1285,
1: - P4_EVENT_B2B_CYCLES_OPCODE = 5635,
1: - P4_EVENT_BNR_OPCODE = 2051,
1: - P4_EVENT_SNOOP_OPCODE = 1539,
1: - P4_EVENT_RESPONSE_OPCODE = 1027,
1: - P4_EVENT_FRONT_END_EVENT_OPCODE = 2053,
1: - P4_EVENT_EXECUTION_EVENT_OPCODE = 3077,
1: - P4_EVENT_REPLAY_EVENT_OPCODE = 2309,
1: - P4_EVENT_INSTR_RETIRED_OPCODE = 516,
1: - P4_EVENT_UOPS_RETIRED_OPCODE = 260,
1: - P4_EVENT_UOP_TYPE_OPCODE = 514,
1: - P4_EVENT_BRANCH_RETIRED_OPCODE = 1541,
1: - P4_EVENT_MISPRED_BRANCH_RETIRED_OPCODE = 772,
1: - P4_EVENT_X87_ASSIST_OPCODE = 773,
1: - P4_EVENT_MACHINE_CLEAR_OPCODE = 517,
1: - P4_EVENT_INSTR_COMPLETED_OPCODE = 1796,
1: + P4_EVENT_TC_DELIVER_MODE_OPCODE = 257,
1: + P4_EVENT_BPU_FETCH_REQUEST_OPCODE = 768,
1: + P4_EVENT_ITLB_REFERENCE_OPCODE = 6147,
1: + P4_EVENT_MEMORY_CANCEL_OPCODE = 517,
1: + P4_EVENT_MEMORY_COMPLETE_OPCODE = 2050,
1: + P4_EVENT_LOAD_PORT_REPLAY_OPCODE = 1026,
1: + P4_EVENT_STORE_PORT_REPLAY_OPCODE = 1282,
1: + P4_EVENT_MOB_LOAD_REPLAY_OPCODE = 770,
1: + P4_EVENT_PAGE_WALK_TYPE_OPCODE = 260,
1: + P4_EVENT_BSQ_CACHE_REFERENCE_OPCODE = 3079,
1: + P4_EVENT_IOQ_ALLOCATION_OPCODE = 774,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES_OPCODE = 6662,
1: + P4_EVENT_FSB_DATA_ACTIVITY_OPCODE = 5894,
1: + P4_EVENT_BSQ_ALLOCATION_OPCODE = 1287,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES_OPCODE = 1543,
1: + P4_EVENT_SSE_INPUT_ASSIST_OPCODE = 13313,
1: + P4_EVENT_PACKED_SP_UOP_OPCODE = 2049,
1: + P4_EVENT_PACKED_DP_UOP_OPCODE = 3073,
1: + P4_EVENT_SCALAR_SP_UOP_OPCODE = 2561,
1: + P4_EVENT_SCALAR_DP_UOP_OPCODE = 3585,
1: + P4_EVENT_64BIT_MMX_UOP_OPCODE = 513,
1: + P4_EVENT_128BIT_MMX_UOP_OPCODE = 6657,
1: + P4_EVENT_X87_FP_UOP_OPCODE = 1025,
1: + P4_EVENT_TC_MISC_OPCODE = 1537,
1: + P4_EVENT_GLOBAL_POWER_EVENTS_OPCODE = 4870,
1: + P4_EVENT_TC_MS_XFER_OPCODE = 1280,
1: + P4_EVENT_UOP_QUEUE_WRITES_OPCODE = 2304,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE_OPCODE = 1282,
1: + P4_EVENT_RETIRED_BRANCH_TYPE_OPCODE = 1026,
1: + P4_EVENT_RESOURCE_STALL_OPCODE = 257,
1: + P4_EVENT_WC_BUFFER_OPCODE = 1285,
1: + P4_EVENT_B2B_CYCLES_OPCODE = 5635,
1: + P4_EVENT_BNR_OPCODE = 2051,
1: + P4_EVENT_SNOOP_OPCODE = 1539,
1: + P4_EVENT_RESPONSE_OPCODE = 1027,
1: + P4_EVENT_FRONT_END_EVENT_OPCODE = 2053,
1: + P4_EVENT_EXECUTION_EVENT_OPCODE = 3077,
1: + P4_EVENT_REPLAY_EVENT_OPCODE = 2309,
1: + P4_EVENT_INSTR_RETIRED_OPCODE = 516,
1: + P4_EVENT_UOPS_RETIRED_OPCODE = 260,
1: + P4_EVENT_UOP_TYPE_OPCODE = 514,
1: + P4_EVENT_BRANCH_RETIRED_OPCODE = 1541,
1: + P4_EVENT_MISPRED_BRANCH_RETIRED_OPCODE = 772,
1: + P4_EVENT_X87_ASSIST_OPCODE = 773,
1: + P4_EVENT_MACHINE_CLEAR_OPCODE = 517,
1: + P4_EVENT_INSTR_COMPLETED_OPCODE = 1796,
1: };
1:
1: enum P4_ESCR_EMASKS {
1: - P4_EVENT_TC_DELIVER_MODE__DD = 512,
1: - P4_EVENT_TC_DELIVER_MODE__DB = 1024,
1: - P4_EVENT_TC_DELIVER_MODE__DI = 2048,
1: - P4_EVENT_TC_DELIVER_MODE__BD = 4096,
1: - P4_EVENT_TC_DELIVER_MODE__BB = 8192,
1: - P4_EVENT_TC_DELIVER_MODE__BI = 16384,
1: - P4_EVENT_TC_DELIVER_MODE__ID = 32768,
1: - P4_EVENT_BPU_FETCH_REQUEST__TCMISS = 512,
1: - P4_EVENT_ITLB_REFERENCE__HIT = 512,
1: - P4_EVENT_ITLB_REFERENCE__MISS = 1024,
1: - P4_EVENT_ITLB_REFERENCE__HIT_UK = 2048,
1: - P4_EVENT_MEMORY_CANCEL__ST_RB_FULL = 2048,
1: - P4_EVENT_MEMORY_CANCEL__64K_CONF = 4096,
1: - P4_EVENT_MEMORY_COMPLETE__LSC = 512,
1: - P4_EVENT_MEMORY_COMPLETE__SSC = 1024,
1: - P4_EVENT_LOAD_PORT_REPLAY__SPLIT_LD = 1024,
1: - P4_EVENT_STORE_PORT_REPLAY__SPLIT_ST = 1024,
1: - P4_EVENT_MOB_LOAD_REPLAY__NO_STA = 1024,
1: - P4_EVENT_MOB_LOAD_REPLAY__NO_STD = 4096,
1: - P4_EVENT_MOB_LOAD_REPLAY__PARTIAL_DATA = 8192,
1: - P4_EVENT_MOB_LOAD_REPLAY__UNALGN_ADDR = 16384,
1: - P4_EVENT_PAGE_WALK_TYPE__DTMISS = 512,
1: - P4_EVENT_PAGE_WALK_TYPE__ITMISS = 1024,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITS = 512,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITE = 1024,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITM = 2048,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITS = 4096,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITE = 8192,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITM = 16384,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_MISS = 131072,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_MISS = 262144,
1: - P4_EVENT_BSQ_CACHE_REFERENCE__WR_2ndL_MISS = 524288,
1: - P4_EVENT_IOQ_ALLOCATION__DEFAULT = 512,
1: - P4_EVENT_IOQ_ALLOCATION__ALL_READ = 16384,
1: - P4_EVENT_IOQ_ALLOCATION__ALL_WRITE = 32768,
1: - P4_EVENT_IOQ_ALLOCATION__MEM_UC = 65536,
1: - P4_EVENT_IOQ_ALLOCATION__MEM_WC = 131072,
1: - P4_EVENT_IOQ_ALLOCATION__MEM_WT = 262144,
1: - P4_EVENT_IOQ_ALLOCATION__MEM_WP = 524288,
1: - P4_EVENT_IOQ_ALLOCATION__MEM_WB = 1048576,
1: - P4_EVENT_IOQ_ALLOCATION__OWN = 4194304,
1: - P4_EVENT_IOQ_ALLOCATION__OTHER = 8388608,
1: - P4_EVENT_IOQ_ALLOCATION__PREFETCH = 16777216,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__DEFAULT = 512,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__ALL_READ = 16384,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__ALL_WRITE = 32768,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_UC = 65536,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WC = 131072,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WT = 262144,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WP = 524288,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WB = 1048576,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__OWN = 4194304,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__OTHER = 8388608,
1: - P4_EVENT_IOQ_ACTIVE_ENTRIES__PREFETCH = 16777216,
1: - P4_EVENT_FSB_DATA_ACTIVITY__DRDY_DRV = 512,
1: - P4_EVENT_FSB_DATA_ACTIVITY__DRDY_OWN = 1024,
1: - P4_EVENT_FSB_DATA_ACTIVITY__DRDY_OTHER = 2048,
1: - P4_EVENT_FSB_DATA_ACTIVITY__DBSY_DRV = 4096,
1: - P4_EVENT_FSB_DATA_ACTIVITY__DBSY_OWN = 8192,
1: - P4_EVENT_FSB_DATA_ACTIVITY__DBSY_OTHER = 16384,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_TYPE0 = 512,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_TYPE1 = 1024,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_LEN0 = 2048,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_LEN1 = 4096,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_IO_TYPE = 16384,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_LOCK_TYPE = 32768,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_CACHE_TYPE = 65536,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_SPLIT_TYPE = 131072,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_DEM_TYPE = 262144,
1: - P4_EVENT_BSQ_ALLOCATION__REQ_ORD_TYPE = 524288,
1: - P4_EVENT_BSQ_ALLOCATION__MEM_TYPE0 = 1048576,
1: - P4_EVENT_BSQ_ALLOCATION__MEM_TYPE1 = 2097152,
1: - P4_EVENT_BSQ_ALLOCATION__MEM_TYPE2 = 4194304,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_TYPE0 = 512,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_TYPE1 = 1024,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LEN0 = 2048,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LEN1 = 4096,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_IO_TYPE = 16384,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LOCK_TYPE = 32768,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_CACHE_TYPE = 65536,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_SPLIT_TYPE = 131072,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_DEM_TYPE = 262144,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_ORD_TYPE = 524288,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE0 = 1048576,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE1 = 2097152,
1: - P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE2 = 4194304,
1: - P4_EVENT_SSE_INPUT_ASSIST__ALL = 16777216,
1: - P4_EVENT_PACKED_SP_UOP__ALL = 16777216,
1: - P4_EVENT_PACKED_DP_UOP__ALL = 16777216,
1: - P4_EVENT_SCALAR_SP_UOP__ALL = 16777216,
1: - P4_EVENT_SCALAR_DP_UOP__ALL = 16777216,
1: - P4_EVENT_64BIT_MMX_UOP__ALL = 16777216,
1: - P4_EVENT_128BIT_MMX_UOP__ALL = 16777216,
1: - P4_EVENT_X87_FP_UOP__ALL = 16777216,
1: - P4_EVENT_TC_MISC__FLUSH = 8192,
1: - P4_EVENT_GLOBAL_POWER_EVENTS__RUNNING = 512,
1: - P4_EVENT_TC_MS_XFER__CISC = 512,
1: - P4_EVENT_UOP_QUEUE_WRITES__FROM_TC_BUILD = 512,
1: - P4_EVENT_UOP_QUEUE_WRITES__FROM_TC_DELIVER = 1024,
1: - P4_EVENT_UOP_QUEUE_WRITES__FROM_ROM = 2048,
1: - P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__CONDITIONAL = 1024,
1: - P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__CALL = 2048,
1: - P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__RETURN = 4096,
1: - P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__INDIRECT = 8192,
1: - P4_EVENT_RETIRED_BRANCH_TYPE__CONDITIONAL = 1024,
1: - P4_EVENT_RETIRED_BRANCH_TYPE__CALL = 2048,
1: - P4_EVENT_RETIRED_BRANCH_TYPE__RETURN = 4096,
1: - P4_EVENT_RETIRED_BRANCH_TYPE__INDIRECT = 8192,
1: - P4_EVENT_RESOURCE_STALL__SBFULL = 16384,
1: - P4_EVENT_WC_BUFFER__WCB_EVICTS = 512,
1: - P4_EVENT_WC_BUFFER__WCB_FULL_EVICTS = 1024,
1: - P4_EVENT_FRONT_END_EVENT__NBOGUS = 512,
1: - P4_EVENT_FRONT_END_EVENT__BOGUS = 1024,
1: - P4_EVENT_EXECUTION_EVENT__NBOGUS0 = 512,
1: - P4_EVENT_EXECUTION_EVENT__NBOGUS1 = 1024,
1: - P4_EVENT_EXECUTION_EVENT__NBOGUS2 = 2048,
1: - P4_EVENT_EXECUTION_EVENT__NBOGUS3 = 4096,
1: - P4_EVENT_EXECUTION_EVENT__BOGUS0 = 8192,
1: - P4_EVENT_EXECUTION_EVENT__BOGUS1 = 16384,
1: - P4_EVENT_EXECUTION_EVENT__BOGUS2 = 32768,
1: - P4_EVENT_EXECUTION_EVENT__BOGUS3 = 65536,
1: - P4_EVENT_REPLAY_EVENT__NBOGUS = 512,
1: - P4_EVENT_REPLAY_EVENT__BOGUS = 1024,
1: - P4_EVENT_INSTR_RETIRED__NBOGUSNTAG = 512,
1: - P4_EVENT_INSTR_RETIRED__NBOGUSTAG = 1024,
1: - P4_EVENT_INSTR_RETIRED__BOGUSNTAG = 2048,
1: - P4_EVENT_INSTR_RETIRED__BOGUSTAG = 4096,
1: - P4_EVENT_UOPS_RETIRED__NBOGUS = 512,
1: - P4_EVENT_UOPS_RETIRED__BOGUS = 1024,
1: - P4_EVENT_UOP_TYPE__TAGLOADS = 1024,
1: - P4_EVENT_UOP_TYPE__TAGSTORES = 2048,
1: - P4_EVENT_BRANCH_RETIRED__MMNP = 512,
1: - P4_EVENT_BRANCH_RETIRED__MMNM = 1024,
1: - P4_EVENT_BRANCH_RETIRED__MMTP = 2048,
1: - P4_EVENT_BRANCH_RETIRED__MMTM = 4096,
1: - P4_EVENT_MISPRED_BRANCH_RETIRED__NBOGUS = 512,
1: - P4_EVENT_X87_ASSIST__FPSU = 512,
1: - P4_EVENT_X87_ASSIST__FPSO = 1024,
1: - P4_EVENT_X87_ASSIST__POAO = 2048,
1: - P4_EVENT_X87_ASSIST__POAU = 4096,
1: - P4_EVENT_X87_ASSIST__PREA = 8192,
1: - P4_EVENT_MACHINE_CLEAR__CLEAR = 512,
1: - P4_EVENT_MACHINE_CLEAR__MOCLEAR = 1024,
1: - P4_EVENT_MACHINE_CLEAR__SMCLEAR = 2048,
1: - P4_EVENT_INSTR_COMPLETED__NBOGUS = 512,
1: - P4_EVENT_INSTR_COMPLETED__BOGUS = 1024,
1: + P4_EVENT_TC_DELIVER_MODE__DD = 512,
1: + P4_EVENT_TC_DELIVER_MODE__DB = 1024,
1: + P4_EVENT_TC_DELIVER_MODE__DI = 2048,
1: + P4_EVENT_TC_DELIVER_MODE__BD = 4096,
1: + P4_EVENT_TC_DELIVER_MODE__BB = 8192,
1: + P4_EVENT_TC_DELIVER_MODE__BI = 16384,
1: + P4_EVENT_TC_DELIVER_MODE__ID = 32768,
1: + P4_EVENT_BPU_FETCH_REQUEST__TCMISS = 512,
1: + P4_EVENT_ITLB_REFERENCE__HIT = 512,
1: + P4_EVENT_ITLB_REFERENCE__MISS = 1024,
1: + P4_EVENT_ITLB_REFERENCE__HIT_UK = 2048,
1: + P4_EVENT_MEMORY_CANCEL__ST_RB_FULL = 2048,
1: + P4_EVENT_MEMORY_CANCEL__64K_CONF = 4096,
1: + P4_EVENT_MEMORY_COMPLETE__LSC = 512,
1: + P4_EVENT_MEMORY_COMPLETE__SSC = 1024,
1: + P4_EVENT_LOAD_PORT_REPLAY__SPLIT_LD = 1024,
1: + P4_EVENT_STORE_PORT_REPLAY__SPLIT_ST = 1024,
1: + P4_EVENT_MOB_LOAD_REPLAY__NO_STA = 1024,
1: + P4_EVENT_MOB_LOAD_REPLAY__NO_STD = 4096,
1: + P4_EVENT_MOB_LOAD_REPLAY__PARTIAL_DATA = 8192,
1: + P4_EVENT_MOB_LOAD_REPLAY__UNALGN_ADDR = 16384,
1: + P4_EVENT_PAGE_WALK_TYPE__DTMISS = 512,
1: + P4_EVENT_PAGE_WALK_TYPE__ITMISS = 1024,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITS = 512,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITE = 1024,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_HITM = 2048,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITS = 4096,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITE = 8192,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_HITM = 16384,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_2ndL_MISS = 131072,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__RD_3rdL_MISS = 262144,
1: + P4_EVENT_BSQ_CACHE_REFERENCE__WR_2ndL_MISS = 524288,
1: + P4_EVENT_IOQ_ALLOCATION__DEFAULT = 512,
1: + P4_EVENT_IOQ_ALLOCATION__ALL_READ = 16384,
1: + P4_EVENT_IOQ_ALLOCATION__ALL_WRITE = 32768,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_UC = 65536,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_WC = 131072,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_WT = 262144,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_WP = 524288,
1: + P4_EVENT_IOQ_ALLOCATION__MEM_WB = 1048576,
1: + P4_EVENT_IOQ_ALLOCATION__OWN = 4194304,
1: + P4_EVENT_IOQ_ALLOCATION__OTHER = 8388608,
1: + P4_EVENT_IOQ_ALLOCATION__PREFETCH = 16777216,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__DEFAULT = 512,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__ALL_READ = 16384,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__ALL_WRITE = 32768,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_UC = 65536,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WC = 131072,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WT = 262144,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WP = 524288,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__MEM_WB = 1048576,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__OWN = 4194304,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__OTHER = 8388608,
1: + P4_EVENT_IOQ_ACTIVE_ENTRIES__PREFETCH = 16777216,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DRDY_DRV = 512,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DRDY_OWN = 1024,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DRDY_OTHER = 2048,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DBSY_DRV = 4096,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DBSY_OWN = 8192,
1: + P4_EVENT_FSB_DATA_ACTIVITY__DBSY_OTHER = 16384,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_TYPE0 = 512,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_TYPE1 = 1024,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_LEN0 = 2048,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_LEN1 = 4096,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_IO_TYPE = 16384,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_LOCK_TYPE = 32768,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_CACHE_TYPE = 65536,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_SPLIT_TYPE = 131072,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_DEM_TYPE = 262144,
1: + P4_EVENT_BSQ_ALLOCATION__REQ_ORD_TYPE = 524288,
1: + P4_EVENT_BSQ_ALLOCATION__MEM_TYPE0 = 1048576,
1: + P4_EVENT_BSQ_ALLOCATION__MEM_TYPE1 = 2097152,
1: + P4_EVENT_BSQ_ALLOCATION__MEM_TYPE2 = 4194304,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_TYPE0 = 512,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_TYPE1 = 1024,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LEN0 = 2048,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LEN1 = 4096,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_IO_TYPE = 16384,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_LOCK_TYPE = 32768,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_CACHE_TYPE = 65536,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_SPLIT_TYPE = 131072,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_DEM_TYPE = 262144,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__REQ_ORD_TYPE = 524288,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE0 = 1048576,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE1 = 2097152,
1: + P4_EVENT_BSQ_ACTIVE_ENTRIES__MEM_TYPE2 = 4194304,
1: + P4_EVENT_SSE_INPUT_ASSIST__ALL = 16777216,
1: + P4_EVENT_PACKED_SP_UOP__ALL = 16777216,
1: + P4_EVENT_PACKED_DP_UOP__ALL = 16777216,
1: + P4_EVENT_SCALAR_SP_UOP__ALL = 16777216,
1: + P4_EVENT_SCALAR_DP_UOP__ALL = 16777216,
1: + P4_EVENT_64BIT_MMX_UOP__ALL = 16777216,
1: + P4_EVENT_128BIT_MMX_UOP__ALL = 16777216,
1: + P4_EVENT_X87_FP_UOP__ALL = 16777216,
1: + P4_EVENT_TC_MISC__FLUSH = 8192,
1: + P4_EVENT_GLOBAL_POWER_EVENTS__RUNNING = 512,
1: + P4_EVENT_TC_MS_XFER__CISC = 512,
1: + P4_EVENT_UOP_QUEUE_WRITES__FROM_TC_BUILD = 512,
1: + P4_EVENT_UOP_QUEUE_WRITES__FROM_TC_DELIVER = 1024,
1: + P4_EVENT_UOP_QUEUE_WRITES__FROM_ROM = 2048,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__CONDITIONAL = 1024,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__CALL = 2048,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__RETURN = 4096,
1: + P4_EVENT_RETIRED_MISPRED_BRANCH_TYPE__INDIRECT = 8192,
1: + P4_EVENT_RETIRED_BRANCH_TYPE__CONDITIONAL = 1024,
1: + P4_EVENT_RETIRED_BRANCH_TYPE__CALL = 2048,
1: + P4_EVENT_RETIRED_BRANCH_TYPE__RETURN = 4096,
1: + P4_EVENT_RETIRED_BRANCH_TYPE__INDIRECT = 8192,
1: + P4_EVENT_RESOURCE_STALL__SBFULL = 16384,
1: + P4_EVENT_WC_BUFFER__WCB_EVICTS = 512,
1: + P4_EVENT_WC_BUFFER__WCB_FULL_EVICTS = 1024,
1: + P4_EVENT_FRONT_END_EVENT__NBOGUS = 512,
1: + P4_EVENT_FRONT_END_EVENT__BOGUS = 1024,
1: + P4_EVENT_EXECUTION_EVENT__NBOGUS0 = 512,
1: + P4_EVENT_EXECUTION_EVENT__NBOGUS1 = 1024,
1: + P4_EVENT_EXECUTION_EVENT__NBOGUS2 = 2048,
1: + P4_EVENT_EXECUTION_EVENT__NBOGUS3 = 4096,
1: + P4_EVENT_EXECUTION_EVENT__BOGUS0 = 8192,
1: + P4_EVENT_EXECUTION_EVENT__BOGUS1 = 16384,
1: + P4_EVENT_EXECUTION_EVENT__BOGUS2 = 32768,
1: + P4_EVENT_EXECUTION_EVENT__BOGUS3 = 65536,
1: + P4_EVENT_REPLAY_EVENT__NBOGUS = 512,
1: + P4_EVENT_REPLAY_EVENT__BOGUS = 1024,
1: + P4_EVENT_INSTR_RETIRED__NBOGUSNTAG = 512,
1: + P4_EVENT_INSTR_RETIRED__NBOGUSTAG = 1024,
1: + P4_EVENT_INSTR_RETIRED__BOGUSNTAG = 2048,
1: + P4_EVENT_INSTR_RETIRED__BOGUSTAG = 4096,
1: + P4_EVENT_UOPS_RETIRED__NBOGUS = 512,
1: + P4_EVENT_UOPS_RETIRED__BOGUS = 1024,
1: + P4_EVENT_UOP_TYPE__TAGLOADS = 1024,
1: + P4_EVENT_UOP_TYPE__TAGSTORES = 2048,
1: + P4_EVENT_BRANCH_RETIRED__MMNP = 512,
1: + P4_EVENT_BRANCH_RETIRED__MMNM = 1024,
1: + P4_EVENT_BRANCH_RETIRED__MMTP = 2048,
1: + P4_EVENT_BRANCH_RETIRED__MMTM = 4096,
1: + P4_EVENT_MISPRED_BRANCH_RETIRED__NBOGUS = 512,
1: + P4_EVENT_X87_ASSIST__FPSU = 512,
1: + P4_EVENT_X87_ASSIST__FPSO = 1024,
1: + P4_EVENT_X87_ASSIST__POAO = 2048,
1: + P4_EVENT_X87_ASSIST__POAU = 4096,
1: + P4_EVENT_X87_ASSIST__PREA = 8192,
1: + P4_EVENT_MACHINE_CLEAR__CLEAR = 512,
1: + P4_EVENT_MACHINE_CLEAR__MOCLEAR = 1024,
1: + P4_EVENT_MACHINE_CLEAR__SMCLEAR = 2048,
1: + P4_EVENT_INSTR_COMPLETED__NBOGUS = 512,
1: + P4_EVENT_INSTR_COMPLETED__BOGUS = 1024,
1: };
1:
1: enum P4_PEBS_METRIC {
1: - P4_PEBS_METRIC__none = 0,
1: - P4_PEBS_METRIC__1stl_cache_load_miss_retired = 1,
1: - P4_PEBS_METRIC__2ndl_cache_load_miss_retired = 2,
1: - P4_PEBS_METRIC__dtlb_load_miss_retired = 3,
1: - P4_PEBS_METRIC__dtlb_store_miss_retired = 4,
1: - P4_PEBS_METRIC__dtlb_all_miss_retired = 5,
1: - P4_PEBS_METRIC__tagged_mispred_branch = 6,
1: - P4_PEBS_METRIC__mob_load_replay_retired = 7,
1: - P4_PEBS_METRIC__split_load_retired = 8,
1: - P4_PEBS_METRIC__split_store_retired = 9,
1: - P4_PEBS_METRIC__max = 10,
1: + P4_PEBS_METRIC__none = 0,
1: + P4_PEBS_METRIC__1stl_cache_load_miss_retired = 1,
1: + P4_PEBS_METRIC__2ndl_cache_load_miss_retired = 2,
1: + P4_PEBS_METRIC__dtlb_load_miss_retired = 3,
1: + P4_PEBS_METRIC__dtlb_store_miss_retired = 4,
1: + P4_PEBS_METRIC__dtlb_all_miss_retired = 5,
1: + P4_PEBS_METRIC__tagged_mispred_branch = 6,
1: + P4_PEBS_METRIC__mob_load_replay_retired = 7,
1: + P4_PEBS_METRIC__split_load_retired = 8,
1: + P4_PEBS_METRIC__split_store_retired = 9,
1: + P4_PEBS_METRIC__max = 10,
1: };
1:
1: struct p4_event_bind {
1: - unsigned int opcode;
1: - unsigned int escr_msr[2];
1: - unsigned int escr_emask;
1: - unsigned int shared;
1: - char cntr[6];
1: + unsigned int opcode;
1: + unsigned int escr_msr[2];
1: + unsigned int escr_emask;
1: + unsigned int shared;
1: + char cntr[6];
1: };
1:
1: struct p4_pebs_bind {
1: - unsigned int metric_pebs;
1: - unsigned int metric_vert;
1: + unsigned int metric_pebs;
1: + unsigned int metric_vert;
1: };
1:
1: struct p4_event_alias {
1: - u64 original;
1: - u64 alternative;
1: + u64 original;
1: + u64 alternative;
1: };
1:
1: enum cpuid_regs_idx {
1: - CPUID_EAX = 0,
1: - CPUID_EBX = 1,
1: - CPUID_ECX = 2,
1: - CPUID_EDX = 3,
1: + CPUID_EAX = 0,
1: + CPUID_EBX = 1,
1: + CPUID_ECX = 2,
1: + CPUID_EDX = 3,
1: };
1:
1: struct dev_ext_attribute {
1: - struct device_attribute attr;
1: - void *var;
1: + struct device_attribute attr;
1: + void *var;
1: };
1:
1: enum pt_capabilities {
1: - PT_CAP_max_subleaf = 0,
1: - PT_CAP_cr3_filtering = 1,
1: - PT_CAP_psb_cyc = 2,
1: - PT_CAP_ip_filtering = 3,
1: - PT_CAP_mtc = 4,
1: - PT_CAP_ptwrite = 5,
1: - PT_CAP_power_event_trace = 6,
1: - PT_CAP_topa_output = 7,
1: - PT_CAP_topa_multiple_entries = 8,
1: - PT_CAP_single_range_output = 9,
1: - PT_CAP_output_subsys = 10,
1: - PT_CAP_payloads_lip = 11,
1: - PT_CAP_num_address_ranges = 12,
1: - PT_CAP_mtc_periods = 13,
1: - PT_CAP_cycle_thresholds = 14,
1: - PT_CAP_psb_periods = 15,
1: + PT_CAP_max_subleaf = 0,
1: + PT_CAP_cr3_filtering = 1,
1: + PT_CAP_psb_cyc = 2,
1: + PT_CAP_ip_filtering = 3,
1: + PT_CAP_mtc = 4,
1: + PT_CAP_ptwrite = 5,
1: + PT_CAP_power_event_trace = 6,
1: + PT_CAP_topa_output = 7,
1: + PT_CAP_topa_multiple_entries = 8,
1: + PT_CAP_single_range_output = 9,
1: + PT_CAP_output_subsys = 10,
1: + PT_CAP_payloads_lip = 11,
1: + PT_CAP_num_address_ranges = 12,
1: + PT_CAP_mtc_periods = 13,
1: + PT_CAP_cycle_thresholds = 14,
1: + PT_CAP_psb_periods = 15,
1: };
1:
1: enum perf_addr_filter_action_t {
1: - PERF_ADDR_FILTER_ACTION_STOP = 0,
1: - PERF_ADDR_FILTER_ACTION_START = 1,
1: - PERF_ADDR_FILTER_ACTION_FILTER = 2,
1: + PERF_ADDR_FILTER_ACTION_STOP = 0,
1: + PERF_ADDR_FILTER_ACTION_START = 1,
1: + PERF_ADDR_FILTER_ACTION_FILTER = 2,
1: };
1:
1: struct perf_addr_filter {
1: - struct list_head entry;
1: - struct path path;
1: - long unsigned int offset;
1: - long unsigned int size;
1: - enum perf_addr_filter_action_t action;
1: + struct list_head entry;
1: + struct path path;
1: + long unsigned int offset;
1: + long unsigned int size;
1: + enum perf_addr_filter_action_t action;
1: };
1:
1: struct topa_entry {
1: - u64 end: 1;
1: - u64 rsvd0: 1;
1: - u64 intr: 1;
1: - u64 rsvd1: 1;
1: - u64 stop: 1;
1: - u64 rsvd2: 1;
1: - u64 size: 4;
1: - u64 rsvd3: 2;
1: - u64 base: 36;
1: - u64 rsvd4: 16;
1: + u64 end : 1;
1: + u64 rsvd0 : 1;
1: + u64 intr : 1;
1: + u64 rsvd1 : 1;
1: + u64 stop : 1;
1: + u64 rsvd2 : 1;
1: + u64 size : 4;
1: + u64 rsvd3 : 2;
1: + u64 base : 36;
1: + u64 rsvd4 : 16;
1: };
1:
1: struct pt_pmu {
1: - struct pmu pmu;
1: - u32 caps[8];
1: - bool vmx;
1: - bool branch_en_always_on;
1: - long unsigned int max_nonturbo_ratio;
1: - unsigned int tsc_art_num;
1: - unsigned int tsc_art_den;
1: + struct pmu pmu;
1: + u32 caps[8];
1: + bool vmx;
1: + bool branch_en_always_on;
1: + long unsigned int max_nonturbo_ratio;
1: + unsigned int tsc_art_num;
1: + unsigned int tsc_art_den;
1: };
1:
1: struct topa;
1:
1: struct pt_buffer {
1: - struct list_head tables;
1: - struct topa *first;
1: - struct topa *last;
1: - struct topa *cur;
1: - unsigned int cur_idx;
1: - size_t output_off;
1: - long unsigned int nr_pages;
1: - local_t data_size;
1: - local64_t head;
1: - bool snapshot;
1: - bool single;
1: - long int stop_pos;
1: - long int intr_pos;
1: - struct topa_entry *stop_te;
1: - struct topa_entry *intr_te;
1: - void **data_pages;
1: + struct list_head tables;
1: + struct topa *first;
1: + struct topa *last;
1: + struct topa *cur;
1: + unsigned int cur_idx;
1: + size_t output_off;
1: + long unsigned int nr_pages;
1: + local_t data_size;
1: + local64_t head;
1: + bool snapshot;
1: + bool single;
1: + long int stop_pos;
1: + long int intr_pos;
1: + struct topa_entry *stop_te;
1: + struct topa_entry *intr_te;
1: + void **data_pages;
1: };
1:
1: struct topa {
1: - struct list_head list;
1: - u64 offset;
1: - size_t size;
1: - int last;
1: - unsigned int z_count;
1: + struct list_head list;
1: + u64 offset;
1: + size_t size;
1: + int last;
1: + unsigned int z_count;
1: };
1:
1: struct pt_filter {
1: - long unsigned int msr_a;
1: - long unsigned int msr_b;
1: - long unsigned int config;
1: + long unsigned int msr_a;
1: + long unsigned int msr_b;
1: + long unsigned int config;
1: };
1:
1: struct pt_filters {
1: - struct pt_filter filter[4];
1: - unsigned int nr_filters;
1: + struct pt_filter filter[4];
1: + unsigned int nr_filters;
1: };
1:
1: struct pt {
1: - struct perf_output_handle handle;
1: - struct pt_filters filters;
1: - int handle_nmi;
1: - int vmx_on;
1: - u64 output_base;
1: - u64 output_mask;
1: + struct perf_output_handle handle;
1: + struct pt_filters filters;
1: + int handle_nmi;
1: + int vmx_on;
1: + u64 output_base;
1: + u64 output_mask;
1: };
1:
1: struct pt_cap_desc {
1: - const char *name;
1: - u32 leaf;
1: - u8 reg;
1: - u32 mask;
1: + const char *name;
1: + u32 leaf;
1: + u8 reg;
1: + u32 mask;
1: };
1:
1: struct pt_address_range {
1: - long unsigned int msr_a;
1: - long unsigned int msr_b;
1: - unsigned int reg_off;
1: + long unsigned int msr_a;
1: + long unsigned int msr_b;
1: + unsigned int reg_off;
1: };
1:
1: struct topa_page {
1: - struct topa_entry table[507];
1: - struct topa topa;
1: + struct topa_entry table[507];
1: + struct topa topa;
1: };
1:
1: typedef void (*exitcall_t)();
1:
1: enum hrtimer_mode {
1: - HRTIMER_MODE_ABS = 0,
1: - HRTIMER_MODE_REL = 1,
1: - HRTIMER_MODE_PINNED = 2,
1: - HRTIMER_MODE_SOFT = 4,
1: - HRTIMER_MODE_HARD = 8,
1: - HRTIMER_MODE_ABS_PINNED = 2,
1: - HRTIMER_MODE_REL_PINNED = 3,
1: - HRTIMER_MODE_ABS_SOFT = 4,
1: - HRTIMER_MODE_REL_SOFT = 5,
1: - HRTIMER_MODE_ABS_PINNED_SOFT = 6,
1: - HRTIMER_MODE_REL_PINNED_SOFT = 7,
1: - HRTIMER_MODE_ABS_HARD = 8,
1: - HRTIMER_MODE_REL_HARD = 9,
1: - HRTIMER_MODE_ABS_PINNED_HARD = 10,
1: - HRTIMER_MODE_REL_PINNED_HARD = 11,
1: + HRTIMER_MODE_ABS = 0,
1: + HRTIMER_MODE_REL = 1,
1: + HRTIMER_MODE_PINNED = 2,
1: + HRTIMER_MODE_SOFT = 4,
1: + HRTIMER_MODE_HARD = 8,
1: + HRTIMER_MODE_ABS_PINNED = 2,
1: + HRTIMER_MODE_REL_PINNED = 3,
1: + HRTIMER_MODE_ABS_SOFT = 4,
1: + HRTIMER_MODE_REL_SOFT = 5,
1: + HRTIMER_MODE_ABS_PINNED_SOFT = 6,
1: + HRTIMER_MODE_REL_PINNED_SOFT = 7,
1: + HRTIMER_MODE_ABS_HARD = 8,
1: + HRTIMER_MODE_REL_HARD = 9,
1: + HRTIMER_MODE_ABS_PINNED_HARD = 10,
1: + HRTIMER_MODE_REL_PINNED_HARD = 11,
1: };
1:
1: struct x86_cpu_id {
1: - __u16 vendor;
1: - __u16 family;
1: - __u16 model;
1: - __u16 feature;
1: - kernel_ulong_t driver_data;
1: + __u16 vendor;
1: + __u16 family;
1: + __u16 model;
1: + __u16 feature;
1: + kernel_ulong_t driver_data;
1: };
1:
1: enum perf_rapl_events {
1: - PERF_RAPL_PP0 = 0,
1: - PERF_RAPL_PKG = 1,
1: - PERF_RAPL_RAM = 2,
1: - PERF_RAPL_PP1 = 3,
1: - PERF_RAPL_PSYS = 4,
1: - PERF_RAPL_MAX = 5,
1: - NR_RAPL_DOMAINS = 5,
1: + PERF_RAPL_PP0 = 0,
1: + PERF_RAPL_PKG = 1,
1: + PERF_RAPL_RAM = 2,
1: + PERF_RAPL_PP1 = 3,
1: + PERF_RAPL_PSYS = 4,
1: + PERF_RAPL_MAX = 5,
1: + NR_RAPL_DOMAINS = 5,
1: };
1:
1: struct rapl_pmu {
1: - raw_spinlock_t lock;
1: - int n_active;
1: - int cpu;
1: - struct list_head active_list;
1: - struct pmu *pmu;
1: - ktime_t timer_interval;
1: - struct hrtimer hrtimer;
1: + raw_spinlock_t lock;
1: + int n_active;
1: + int cpu;
1: + struct list_head active_list;
1: + struct pmu *pmu;
1: + ktime_t timer_interval;
1: + struct hrtimer hrtimer;
1: };
1:
1: struct rapl_pmus {
1: - struct pmu pmu;
1: - unsigned int maxdie;
1: - struct rapl_pmu *pmus[0];
1: + struct pmu pmu;
1: + unsigned int maxdie;
1: + struct rapl_pmu *pmus[0];
1: };
1:
1: struct rapl_model {
1: - long unsigned int events;
1: - bool apply_quirk;
1: + long unsigned int events;
1: + bool apply_quirk;
1: };
1:
1: struct acpi_device;
1:
1: struct pci_sysdata {
1: - int domain;
1: - int node;
1: - struct acpi_device *companion;
1: - void *iommu;
1: - void *fwnode;
1: + int domain;
1: + int node;
1: + struct acpi_device *companion;
1: + void *iommu;
1: + void *fwnode;
1: };
1:
1: struct pci_extra_dev {
1: - struct pci_dev *dev[4];
1: + struct pci_dev *dev[4];
1: };
1:
1: struct intel_uncore_pmu;
1: @@ -18087,371 +18230,370 @@ struct uncore_event_desc;
1: struct freerunning_counters;
1:
1: struct intel_uncore_type {
1: - const char *name;
1: - int num_counters;
1: - int num_boxes;
1: - int perf_ctr_bits;
1: - int fixed_ctr_bits;
1: - int num_freerunning_types;
1: - unsigned int perf_ctr;
1: - unsigned int event_ctl;
1: - unsigned int event_mask;
1: - unsigned int event_mask_ext;
1: - unsigned int fixed_ctr;
1: - unsigned int fixed_ctl;
1: - unsigned int box_ctl;
1: - union {
1: - unsigned int msr_offset;
1: - unsigned int mmio_offset;
1: - };
1: - unsigned int num_shared_regs: 8;
1: - unsigned int single_fixed: 1;
1: - unsigned int pair_ctr_ctl: 1;
1: - unsigned int *msr_offsets;
1: - struct event_constraint unconstrainted;
1: - struct event_constraint *constraints;
1: - struct intel_uncore_pmu *pmus;
1: - struct intel_uncore_ops *ops;
1: - struct uncore_event_desc *event_descs;
1: - struct freerunning_counters *freerunning;
1: - const struct attribute_group *attr_groups[4];
1: - struct pmu *pmu;
1: + const char *name;
1: + int num_counters;
1: + int num_boxes;
1: + int perf_ctr_bits;
1: + int fixed_ctr_bits;
1: + int num_freerunning_types;
1: + unsigned int perf_ctr;
1: + unsigned int event_ctl;
1: + unsigned int event_mask;
1: + unsigned int event_mask_ext;
1: + unsigned int fixed_ctr;
1: + unsigned int fixed_ctl;
1: + unsigned int box_ctl;
1: + union {
1: + unsigned int msr_offset;
1: + unsigned int mmio_offset;
1: + };
1: + unsigned int num_shared_regs : 8;
1: + unsigned int single_fixed : 1;
1: + unsigned int pair_ctr_ctl : 1;
1: + unsigned int *msr_offsets;
1: + struct event_constraint unconstrainted;
1: + struct event_constraint *constraints;
1: + struct intel_uncore_pmu *pmus;
1: + struct intel_uncore_ops *ops;
1: + struct uncore_event_desc *event_descs;
1: + struct freerunning_counters *freerunning;
1: + const struct attribute_group *attr_groups[4];
1: + struct pmu *pmu;
1: };
1:
1: struct intel_uncore_box;
1:
1: struct intel_uncore_pmu {
1: - struct pmu pmu;
1: - char name[32];
1: - int pmu_idx;
1: - int func_id;
1: - bool registered;
1: - atomic_t activeboxes;
1: - struct intel_uncore_type *type;
1: - struct intel_uncore_box **boxes;
1: + struct pmu pmu;
1: + char name[32];
1: + int pmu_idx;
1: + int func_id;
1: + bool registered;
1: + atomic_t activeboxes;
1: + struct intel_uncore_type *type;
1: + struct intel_uncore_box **boxes;
1: };
1:
1: struct intel_uncore_ops {
1: - void (*init_box)(struct intel_uncore_box *);
1: - void (*exit_box)(struct intel_uncore_box *);
1: - void (*disable_box)(struct intel_uncore_box *);
1: - void (*enable_box)(struct intel_uncore_box *);
1: - void (*disable_event)(struct intel_uncore_box *, struct perf_event *);
1: - void (*enable_event)(struct intel_uncore_box *, struct perf_event *);
1: - u64 (*read_counter)(struct intel_uncore_box *, struct perf_event *);
1: - int (*hw_config)(struct intel_uncore_box *, struct perf_event *);
1: - struct event_constraint * (*get_constraint)(struct intel_uncore_box *, struct perf_event *);
1: - void (*put_constraint)(struct intel_uncore_box *, struct perf_event *);
1: + void (*init_box)(struct intel_uncore_box *);
1: + void (*exit_box)(struct intel_uncore_box *);
1: + void (*disable_box)(struct intel_uncore_box *);
1: + void (*enable_box)(struct intel_uncore_box *);
1: + void (*disable_event)(struct intel_uncore_box *, struct perf_event *);
1: + void (*enable_event)(struct intel_uncore_box *, struct perf_event *);
1: + u64 (*read_counter)(struct intel_uncore_box *, struct perf_event *);
1: + int (*hw_config)(struct intel_uncore_box *, struct perf_event *);
1: + struct event_constraint *(*get_constraint)(struct intel_uncore_box *,
1: + struct perf_event *);
1: + void (*put_constraint)(struct intel_uncore_box *, struct perf_event *);
1: };
1:
1: struct uncore_event_desc {
1: - struct kobj_attribute attr;
1: - const char *config;
1: + struct kobj_attribute attr;
1: + const char *config;
1: };
1:
1: struct freerunning_counters {
1: - unsigned int counter_base;
1: - unsigned int counter_offset;
1: - unsigned int box_offset;
1: - unsigned int num_counters;
1: - unsigned int bits;
1: + unsigned int counter_base;
1: + unsigned int counter_offset;
1: + unsigned int box_offset;
1: + unsigned int num_counters;
1: + unsigned int bits;
1: };
1:
1: struct intel_uncore_extra_reg {
1: - raw_spinlock_t lock;
1: - u64 config;
1: - u64 config1;
1: - u64 config2;
1: - atomic_t ref;
1: + raw_spinlock_t lock;
1: + u64 config;
1: + u64 config1;
1: + u64 config2;
1: + atomic_t ref;
1: };
1:
1: struct intel_uncore_box {
1: - int pci_phys_id;
1: - int dieid;
1: - int n_active;
1: - int n_events;
1: - int cpu;
1: - long unsigned int flags;
1: - atomic_t refcnt;
1: - struct perf_event *events[10];
1: - struct perf_event *event_list[10];
1: - struct event_constraint *event_constraint[10];
1: - long unsigned int active_mask[1];
1: - u64 tags[10];
1: - struct pci_dev *pci_dev;
1: - struct intel_uncore_pmu *pmu;
1: - u64 hrtimer_duration;
1: - struct hrtimer hrtimer;
1: - struct list_head list;
1: - struct list_head active_list;
1: - void *io_addr;
1: - struct intel_uncore_extra_reg shared_regs[0];
1: + int pci_phys_id;
1: + int dieid;
1: + int n_active;
1: + int n_events;
1: + int cpu;
1: + long unsigned int flags;
1: + atomic_t refcnt;
1: + struct perf_event *events[10];
1: + struct perf_event *event_list[10];
1: + struct event_constraint *event_constraint[10];
1: + long unsigned int active_mask[1];
1: + u64 tags[10];
1: + struct pci_dev *pci_dev;
1: + struct intel_uncore_pmu *pmu;
1: + u64 hrtimer_duration;
1: + struct hrtimer hrtimer;
1: + struct list_head list;
1: + struct list_head active_list;
1: + void *io_addr;
1: + struct intel_uncore_extra_reg shared_regs[0];
1: };
1:
1: struct pci2phy_map {
1: - struct list_head list;
1: - int segment;
1: - int pbus_to_physid[256];
1: + struct list_head list;
1: + int segment;
1: + int pbus_to_physid[256];
1: };
1:
1: struct intel_uncore_init_fun {
1: - void (*cpu_init)();
1: - int (*pci_init)();
1: - void (*mmio_init)();
1: + void (*cpu_init)();
1: + int (*pci_init)();
1: + void (*mmio_init)();
1: };
1:
1: enum {
1: - EXTRA_REG_NHMEX_M_FILTER = 0,
1: - EXTRA_REG_NHMEX_M_DSP = 1,
1: - EXTRA_REG_NHMEX_M_ISS = 2,
1: - EXTRA_REG_NHMEX_M_MAP = 3,
1: - EXTRA_REG_NHMEX_M_MSC_THR = 4,
1: - EXTRA_REG_NHMEX_M_PGT = 5,
1: - EXTRA_REG_NHMEX_M_PLD = 6,
1: - EXTRA_REG_NHMEX_M_ZDP_CTL_FVC = 7,
1: + EXTRA_REG_NHMEX_M_FILTER = 0,
1: + EXTRA_REG_NHMEX_M_DSP = 1,
1: + EXTRA_REG_NHMEX_M_ISS = 2,
1: + EXTRA_REG_NHMEX_M_MAP = 3,
1: + EXTRA_REG_NHMEX_M_MSC_THR = 4,
1: + EXTRA_REG_NHMEX_M_PGT = 5,
1: + EXTRA_REG_NHMEX_M_PLD = 6,
1: + EXTRA_REG_NHMEX_M_ZDP_CTL_FVC = 7,
1: };
1:
1: enum {
1: - SNB_PCI_UNCORE_IMC = 0,
1: + SNB_PCI_UNCORE_IMC = 0,
1: };
1:
1: enum perf_snb_uncore_imc_freerunning_types {
1: - SNB_PCI_UNCORE_IMC_DATA = 0,
1: - SNB_PCI_UNCORE_IMC_FREERUNNING_TYPE_MAX = 1,
1: + SNB_PCI_UNCORE_IMC_DATA = 0,
1: + SNB_PCI_UNCORE_IMC_FREERUNNING_TYPE_MAX = 1,
1: };
1:
1: struct imc_uncore_pci_dev {
1: - __u32 pci_id;
1: - struct pci_driver *driver;
1: + __u32 pci_id;
1: + struct pci_driver *driver;
1: };
1:
1: enum {
1: - SNBEP_PCI_QPI_PORT0_FILTER = 0,
1: - SNBEP_PCI_QPI_PORT1_FILTER = 1,
1: - BDX_PCI_QPI_PORT2_FILTER = 2,
1: - HSWEP_PCI_PCU_3 = 3,
1: + SNBEP_PCI_QPI_PORT0_FILTER = 0,
1: + SNBEP_PCI_QPI_PORT1_FILTER = 1,
1: + BDX_PCI_QPI_PORT2_FILTER = 2,
1: + HSWEP_PCI_PCU_3 = 3,
1: };
1:
1: enum {
1: - SNBEP_PCI_UNCORE_HA = 0,
1: - SNBEP_PCI_UNCORE_IMC = 1,
1: - SNBEP_PCI_UNCORE_QPI = 2,
1: - SNBEP_PCI_UNCORE_R2PCIE = 3,
1: - SNBEP_PCI_UNCORE_R3QPI = 4,
1: + SNBEP_PCI_UNCORE_HA = 0,
1: + SNBEP_PCI_UNCORE_IMC = 1,
1: + SNBEP_PCI_UNCORE_QPI = 2,
1: + SNBEP_PCI_UNCORE_R2PCIE = 3,
1: + SNBEP_PCI_UNCORE_R3QPI = 4,
1: };
1:
1: enum {
1: - IVBEP_PCI_UNCORE_HA = 0,
1: - IVBEP_PCI_UNCORE_IMC = 1,
1: - IVBEP_PCI_UNCORE_IRP = 2,
1: - IVBEP_PCI_UNCORE_QPI = 3,
1: - IVBEP_PCI_UNCORE_R2PCIE = 4,
1: - IVBEP_PCI_UNCORE_R3QPI = 5,
1: + IVBEP_PCI_UNCORE_HA = 0,
1: + IVBEP_PCI_UNCORE_IMC = 1,
1: + IVBEP_PCI_UNCORE_IRP = 2,
1: + IVBEP_PCI_UNCORE_QPI = 3,
1: + IVBEP_PCI_UNCORE_R2PCIE = 4,
1: + IVBEP_PCI_UNCORE_R3QPI = 5,
1: };
1:
1: enum {
1: - KNL_PCI_UNCORE_MC_UCLK = 0,
1: - KNL_PCI_UNCORE_MC_DCLK = 1,
1: - KNL_PCI_UNCORE_EDC_UCLK = 2,
1: - KNL_PCI_UNCORE_EDC_ECLK = 3,
1: - KNL_PCI_UNCORE_M2PCIE = 4,
1: - KNL_PCI_UNCORE_IRP = 5,
1: + KNL_PCI_UNCORE_MC_UCLK = 0,
1: + KNL_PCI_UNCORE_MC_DCLK = 1,
1: + KNL_PCI_UNCORE_EDC_UCLK = 2,
1: + KNL_PCI_UNCORE_EDC_ECLK = 3,
1: + KNL_PCI_UNCORE_M2PCIE = 4,
1: + KNL_PCI_UNCORE_IRP = 5,
1: };
1:
1: enum {
1: - HSWEP_PCI_UNCORE_HA = 0,
1: - HSWEP_PCI_UNCORE_IMC = 1,
1: - HSWEP_PCI_UNCORE_IRP = 2,
1: - HSWEP_PCI_UNCORE_QPI = 3,
1: - HSWEP_PCI_UNCORE_R2PCIE = 4,
1: - HSWEP_PCI_UNCORE_R3QPI = 5,
1: + HSWEP_PCI_UNCORE_HA = 0,
1: + HSWEP_PCI_UNCORE_IMC = 1,
1: + HSWEP_PCI_UNCORE_IRP = 2,
1: + HSWEP_PCI_UNCORE_QPI = 3,
1: + HSWEP_PCI_UNCORE_R2PCIE = 4,
1: + HSWEP_PCI_UNCORE_R3QPI = 5,
1: };
1:
1: enum {
1: - BDX_PCI_UNCORE_HA = 0,
1: - BDX_PCI_UNCORE_IMC = 1,
1: - BDX_PCI_UNCORE_IRP = 2,
1: - BDX_PCI_UNCORE_QPI = 3,
1: - BDX_PCI_UNCORE_R2PCIE = 4,
1: - BDX_PCI_UNCORE_R3QPI = 5,
1: + BDX_PCI_UNCORE_HA = 0,
1: + BDX_PCI_UNCORE_IMC = 1,
1: + BDX_PCI_UNCORE_IRP = 2,
1: + BDX_PCI_UNCORE_QPI = 3,
1: + BDX_PCI_UNCORE_R2PCIE = 4,
1: + BDX_PCI_UNCORE_R3QPI = 5,
1: };
1:
1: enum perf_uncore_iio_freerunning_type_id {
1: - SKX_IIO_MSR_IOCLK = 0,
1: - SKX_IIO_MSR_BW = 1,
1: - SKX_IIO_MSR_UTIL = 2,
1: - SKX_IIO_FREERUNNING_TYPE_MAX = 3,
1: + SKX_IIO_MSR_IOCLK = 0,
1: + SKX_IIO_MSR_BW = 1,
1: + SKX_IIO_MSR_UTIL = 2,
1: + SKX_IIO_FREERUNNING_TYPE_MAX = 3,
1: };
1:
1: enum {
1: - SKX_PCI_UNCORE_IMC = 0,
1: - SKX_PCI_UNCORE_M2M = 1,
1: - SKX_PCI_UNCORE_UPI = 2,
1: - SKX_PCI_UNCORE_M2PCIE = 3,
1: - SKX_PCI_UNCORE_M3UPI = 4,
1: + SKX_PCI_UNCORE_IMC = 0,
1: + SKX_PCI_UNCORE_M2M = 1,
1: + SKX_PCI_UNCORE_UPI = 2,
1: + SKX_PCI_UNCORE_M2PCIE = 3,
1: + SKX_PCI_UNCORE_M3UPI = 4,
1: };
1:
1: enum perf_uncore_snr_iio_freerunning_type_id {
1: - SNR_IIO_MSR_IOCLK = 0,
1: - SNR_IIO_MSR_BW_IN = 1,
1: - SNR_IIO_FREERUNNING_TYPE_MAX = 2,
1: + SNR_IIO_MSR_IOCLK = 0,
1: + SNR_IIO_MSR_BW_IN = 1,
1: + SNR_IIO_FREERUNNING_TYPE_MAX = 2,
1: };
1:
1: enum {
1: - SNR_PCI_UNCORE_M2M = 0,
1: + SNR_PCI_UNCORE_M2M = 0,
1: };
1:
1: enum perf_uncore_snr_imc_freerunning_type_id {
1: - SNR_IMC_DCLK = 0,
1: - SNR_IMC_DDR = 1,
1: - SNR_IMC_FREERUNNING_TYPE_MAX = 2,
1: + SNR_IMC_DCLK = 0,
1: + SNR_IMC_DDR = 1,
1: + SNR_IMC_FREERUNNING_TYPE_MAX = 2,
1: };
1:
1: struct cstate_model {
1: - long unsigned int core_events;
1: - long unsigned int pkg_events;
1: - long unsigned int quirks;
1: + long unsigned int core_events;
1: + long unsigned int pkg_events;
1: + long unsigned int quirks;
1: };
1:
1: enum perf_cstate_core_events {
1: - PERF_CSTATE_CORE_C1_RES = 0,
1: - PERF_CSTATE_CORE_C3_RES = 1,
1: - PERF_CSTATE_CORE_C6_RES = 2,
1: - PERF_CSTATE_CORE_C7_RES = 3,
1: - PERF_CSTATE_CORE_EVENT_MAX = 4,
1: + PERF_CSTATE_CORE_C1_RES = 0,
1: + PERF_CSTATE_CORE_C3_RES = 1,
1: + PERF_CSTATE_CORE_C6_RES = 2,
1: + PERF_CSTATE_CORE_C7_RES = 3,
1: + PERF_CSTATE_CORE_EVENT_MAX = 4,
1: };
1:
1: enum perf_cstate_pkg_events {
1: - PERF_CSTATE_PKG_C2_RES = 0,
1: - PERF_CSTATE_PKG_C3_RES = 1,
1: - PERF_CSTATE_PKG_C6_RES = 2,
1: - PERF_CSTATE_PKG_C7_RES = 3,
1: - PERF_CSTATE_PKG_C8_RES = 4,
1: - PERF_CSTATE_PKG_C9_RES = 5,
1: - PERF_CSTATE_PKG_C10_RES = 6,
1: - PERF_CSTATE_PKG_EVENT_MAX = 7,
1: + PERF_CSTATE_PKG_C2_RES = 0,
1: + PERF_CSTATE_PKG_C3_RES = 1,
1: + PERF_CSTATE_PKG_C6_RES = 2,
1: + PERF_CSTATE_PKG_C7_RES = 3,
1: + PERF_CSTATE_PKG_C8_RES = 4,
1: + PERF_CSTATE_PKG_C9_RES = 5,
1: + PERF_CSTATE_PKG_C10_RES = 6,
1: + PERF_CSTATE_PKG_EVENT_MAX = 7,
1: };
1:
1: struct trampoline_header {
1: - u64 start;
1: - u64 efer;
1: - u32 cr4;
1: - u32 flags;
1: + u64 start;
1: + u64 efer;
1: + u32 cr4;
1: + u32 flags;
1: };
1:
1: enum xfeature {
1: - XFEATURE_FP = 0,
1: - XFEATURE_SSE = 1,
1: - XFEATURE_YMM = 2,
1: - XFEATURE_BNDREGS = 3,
1: - XFEATURE_BNDCSR = 4,
1: - XFEATURE_OPMASK = 5,
1: - XFEATURE_ZMM_Hi256 = 6,
1: - XFEATURE_Hi16_ZMM = 7,
1: - XFEATURE_PT_UNIMPLEMENTED_SO_FAR = 8,
1: - XFEATURE_PKRU = 9,
1: - XFEATURE_MAX = 10,
1: + XFEATURE_FP = 0,
1: + XFEATURE_SSE = 1,
1: + XFEATURE_YMM = 2,
1: + XFEATURE_BNDREGS = 3,
1: + XFEATURE_BNDCSR = 4,
1: + XFEATURE_OPMASK = 5,
1: + XFEATURE_ZMM_Hi256 = 6,
1: + XFEATURE_Hi16_ZMM = 7,
1: + XFEATURE_PT_UNIMPLEMENTED_SO_FAR = 8,
1: + XFEATURE_PKRU = 9,
1: + XFEATURE_MAX = 10,
1: };
1:
1: struct pkru_state {
1: - u32 pkru;
1: - u32 pad;
1: + u32 pkru;
1: + u32 pad;
1: };
1:
1: enum show_regs_mode {
1: - SHOW_REGS_SHORT = 0,
1: - SHOW_REGS_USER = 1,
1: - SHOW_REGS_ALL = 2,
1: + SHOW_REGS_SHORT = 0,
1: + SHOW_REGS_USER = 1,
1: + SHOW_REGS_ALL = 2,
1: };
1:
1: enum which_selector {
1: - FS = 0,
1: - GS = 1,
1: + FS = 0,
1: + GS = 1,
1: };
1:
1: struct sigcontext_64 {
1: - __u64 r8;
1: - __u64 r9;
1: - __u64 r10;
1: - __u64 r11;
1: - __u64 r12;
1: - __u64 r13;
1: - __u64 r14;
1: - __u64 r15;
1: - __u64 di;
1: - __u64 si;
1: - __u64 bp;
1: - __u64 bx;
1: - __u64 dx;
1: - __u64 ax;
1: - __u64 cx;
1: - __u64 sp;
1: - __u64 ip;
1: - __u64 flags;
1: - __u16 cs;
1: - __u16 gs;
1: - __u16 fs;
1: - __u16 ss;
1: - __u64 err;
1: - __u64 trapno;
1: - __u64 oldmask;
1: - __u64 cr2;
1: - __u64 fpstate;
1: - __u64 reserved1[8];
1: + __u64 r8;
1: + __u64 r9;
1: + __u64 r10;
1: + __u64 r11;
1: + __u64 r12;
1: + __u64 r13;
1: + __u64 r14;
1: + __u64 r15;
1: + __u64 di;
1: + __u64 si;
1: + __u64 bp;
1: + __u64 bx;
1: + __u64 dx;
1: + __u64 ax;
1: + __u64 cx;
1: + __u64 sp;
1: + __u64 ip;
1: + __u64 flags;
1: + __u16 cs;
1: + __u16 gs;
1: + __u16 fs;
1: + __u16 ss;
1: + __u64 err;
1: + __u64 trapno;
1: + __u64 oldmask;
1: + __u64 cr2;
1: + __u64 fpstate;
1: + __u64 reserved1[8];
1: };
1:
1: struct sigaltstack {
1: - void *ss_sp;
1: - int ss_flags;
1: - size_t ss_size;
1: + void *ss_sp;
1: + int ss_flags;
1: + size_t ss_size;
1: };
1:
1: typedef struct sigaltstack stack_t;
1:
1: struct siginfo {
1: - union {
1: - struct {
1: - int si_signo;
1: - int si_errno;
1: - int si_code;
1: - union __sifields _sifields;
1: - };
1: - int _si_pad[32];
1: - };
1: + union {
1: + struct {
1: + int si_signo;
1: + int si_errno;
1: + int si_code;
1: + union __sifields _sifields;
1: + };
1: + int _si_pad[32];
1: + };
1: };
1:
1: typedef struct siginfo siginfo_t;
1:
1: struct ucontext {
1: - long unsigned int uc_flags;
1: - struct ucontext *uc_link;
1: - stack_t uc_stack;
1: - struct sigcontext_64 uc_mcontext;
1: - sigset_t uc_sigmask;
1: + long unsigned int uc_flags;
1: + struct ucontext *uc_link;
1: + stack_t uc_stack;
1: + struct sigcontext_64 uc_mcontext;
1: + sigset_t uc_sigmask;
1: };
1:
1: typedef u32 compat_sigset_word;
1:
1: -typedef struct {
1: - compat_sigset_word sig[2];
1: -} compat_sigset_t;
1: +typedef struct { compat_sigset_word sig[2]; } compat_sigset_t;
1:
1: struct kernel_vm86_regs {
1: - struct pt_regs pt;
1: - short unsigned int es;
1: - short unsigned int __esh;
1: - short unsigned int ds;
1: - short unsigned int __dsh;
1: - short unsigned int fs;
1: - short unsigned int __fsh;
1: - short unsigned int gs;
1: - short unsigned int __gsh;
1: + struct pt_regs pt;
1: + short unsigned int es;
1: + short unsigned int __esh;
1: + short unsigned int ds;
1: + short unsigned int __dsh;
1: + short unsigned int fs;
1: + short unsigned int __fsh;
1: + short unsigned int gs;
1: + short unsigned int __gsh;
1: };
1:
1: struct rt_sigframe {
1: - char *pretcode;
1: - struct ucontext uc;
1: - struct siginfo info;
1: + char *pretcode;
1: + struct ucontext uc;
1: + struct siginfo info;
1: };
1:
1: typedef s32 compat_clock_t;
1: @@ -18465,136 +18607,136 @@ typedef s32 compat_int_t;
1: typedef u32 __compat_uid32_t;
1:
1: union compat_sigval {
1: - compat_int_t sival_int;
1: - compat_uptr_t sival_ptr;
1: + compat_int_t sival_int;
1: + compat_uptr_t sival_ptr;
1: };
1:
1: typedef union compat_sigval compat_sigval_t;
1:
1: struct compat_siginfo {
1: - int si_signo;
1: - int si_errno;
1: - int si_code;
1: - union {
1: - int _pad[29];
1: - struct {
1: - compat_pid_t _pid;
1: - __compat_uid32_t _uid;
1: - } _kill;
1: - struct {
1: - compat_timer_t _tid;
1: - int _overrun;
1: - compat_sigval_t _sigval;
1: - } _timer;
1: - struct {
1: - compat_pid_t _pid;
1: - __compat_uid32_t _uid;
1: - compat_sigval_t _sigval;
1: - } _rt;
1: - struct {
1: - compat_pid_t _pid;
1: - __compat_uid32_t _uid;
1: - int _status;
1: - compat_clock_t _utime;
1: - compat_clock_t _stime;
1: - } _sigchld;
1: - struct {
1: - compat_uptr_t _addr;
1: - union {
1: - short int _addr_lsb;
1: - struct {
1: - char _dummy_bnd[4];
1: - compat_uptr_t _lower;
1: - compat_uptr_t _upper;
1: - } _addr_bnd;
1: - struct {
1: - char _dummy_pkey[4];
1: - u32 _pkey;
1: - } _addr_pkey;
1: - };
1: - } _sigfault;
1: - struct {
1: - compat_long_t _band;
1: - int _fd;
1: - } _sigpoll;
1: - struct {
1: - compat_uptr_t _call_addr;
1: - int _syscall;
1: - unsigned int _arch;
1: - } _sigsys;
1: - } _sifields;
1: + int si_signo;
1: + int si_errno;
1: + int si_code;
1: + union {
1: + int _pad[29];
1: + struct {
1: + compat_pid_t _pid;
1: + __compat_uid32_t _uid;
1: + } _kill;
1: + struct {
1: + compat_timer_t _tid;
1: + int _overrun;
1: + compat_sigval_t _sigval;
1: + } _timer;
1: + struct {
1: + compat_pid_t _pid;
1: + __compat_uid32_t _uid;
1: + compat_sigval_t _sigval;
1: + } _rt;
1: + struct {
1: + compat_pid_t _pid;
1: + __compat_uid32_t _uid;
1: + int _status;
1: + compat_clock_t _utime;
1: + compat_clock_t _stime;
1: + } _sigchld;
1: + struct {
1: + compat_uptr_t _addr;
1: + union {
1: + short int _addr_lsb;
1: + struct {
1: + char _dummy_bnd[4];
1: + compat_uptr_t _lower;
1: + compat_uptr_t _upper;
1: + } _addr_bnd;
1: + struct {
1: + char _dummy_pkey[4];
1: + u32 _pkey;
1: + } _addr_pkey;
1: + };
1: + } _sigfault;
1: + struct {
1: + compat_long_t _band;
1: + int _fd;
1: + } _sigpoll;
1: + struct {
1: + compat_uptr_t _call_addr;
1: + int _syscall;
1: + unsigned int _arch;
1: + } _sigsys;
1: + } _sifields;
1: };
1:
1: typedef struct compat_siginfo compat_siginfo_t;
1:
1: enum bug_trap_type {
1: - BUG_TRAP_TYPE_NONE = 0,
1: - BUG_TRAP_TYPE_WARN = 1,
1: - BUG_TRAP_TYPE_BUG = 2,
1: + BUG_TRAP_TYPE_NONE = 0,
1: + BUG_TRAP_TYPE_WARN = 1,
1: + BUG_TRAP_TYPE_BUG = 2,
1: };
1:
1: struct idt_bits {
1: - u16 ist: 3;
1: - u16 zero: 5;
1: - u16 type: 5;
1: - u16 dpl: 2;
1: - u16 p: 1;
1: + u16 ist : 3;
1: + u16 zero : 5;
1: + u16 type : 5;
1: + u16 dpl : 2;
1: + u16 p : 1;
1: };
1:
1: struct gate_struct {
1: - u16 offset_low;
1: - u16 segment;
1: - struct idt_bits bits;
1: - u16 offset_middle;
1: - u32 offset_high;
1: - u32 reserved;
1: + u16 offset_low;
1: + u16 segment;
1: + struct idt_bits bits;
1: + u16 offset_middle;
1: + u32 offset_high;
1: + u32 reserved;
1: };
1:
1: typedef struct gate_struct gate_desc;
1:
1: struct mpx_bndcsr {
1: - u64 bndcfgu;
1: - u64 bndstatus;
1: + u64 bndcfgu;
1: + u64 bndstatus;
1: };
1:
1: enum die_val {
1: - DIE_OOPS = 1,
1: - DIE_INT3 = 2,
1: - DIE_DEBUG = 3,
1: - DIE_PANIC = 4,
1: - DIE_NMI = 5,
1: - DIE_DIE = 6,
1: - DIE_KERNELDEBUG = 7,
1: - DIE_TRAP = 8,
1: - DIE_GPF = 9,
1: - DIE_CALL = 10,
1: - DIE_PAGE_FAULT = 11,
1: - DIE_NMIUNKNOWN = 12,
1: + DIE_OOPS = 1,
1: + DIE_INT3 = 2,
1: + DIE_DEBUG = 3,
1: + DIE_PANIC = 4,
1: + DIE_NMI = 5,
1: + DIE_DIE = 6,
1: + DIE_KERNELDEBUG = 7,
1: + DIE_TRAP = 8,
1: + DIE_GPF = 9,
1: + DIE_CALL = 10,
1: + DIE_PAGE_FAULT = 11,
1: + DIE_NMIUNKNOWN = 12,
1: };
1:
1: struct bad_iret_stack {
1: - void *error_entry_ret;
1: - struct pt_regs regs;
1: + void *error_entry_ret;
1: + struct pt_regs regs;
1: };
1:
1: enum {
1: - GATE_INTERRUPT = 14,
1: - GATE_TRAP = 15,
1: - GATE_CALL = 12,
1: - GATE_TASK = 5,
1: + GATE_INTERRUPT = 14,
1: + GATE_TRAP = 15,
1: + GATE_CALL = 12,
1: + GATE_TASK = 5,
1: };
1:
1: struct idt_data {
1: - unsigned int vector;
1: - unsigned int segment;
1: - struct idt_bits bits;
1: - const void *addr;
1: + unsigned int vector;
1: + unsigned int segment;
1: + struct idt_bits bits;
1: + const void *addr;
1: };
1:
1: enum irqreturn {
1: - IRQ_NONE = 0,
1: - IRQ_HANDLED = 1,
1: - IRQ_WAKE_THREAD = 2,
1: + IRQ_NONE = 0,
1: + IRQ_HANDLED = 1,
1: + IRQ_WAKE_THREAD = 2,
1: };
1:
1: typedef enum irqreturn irqreturn_t;
1: @@ -18602,38 +18744,38 @@ typedef enum irqreturn irqreturn_t;
1: typedef irqreturn_t (*irq_handler_t)(int, void *);
1:
1: struct irqaction {
1: - irq_handler_t handler;
1: - void *dev_id;
1: - void *percpu_dev_id;
1: - struct irqaction *next;
1: - irq_handler_t thread_fn;
1: - struct task_struct *thread;
1: - struct irqaction *secondary;
1: - unsigned int irq;
1: - unsigned int flags;
1: - long unsigned int thread_flags;
1: - long unsigned int thread_mask;
1: - const char *name;
1: - struct proc_dir_entry *dir;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + irq_handler_t handler;
1: + void *dev_id;
1: + void *percpu_dev_id;
1: + struct irqaction *next;
1: + irq_handler_t thread_fn;
1: + struct task_struct *thread;
1: + struct irqaction *secondary;
1: + unsigned int irq;
1: + unsigned int flags;
1: + long unsigned int thread_flags;
1: + long unsigned int thread_mask;
1: + const char *name;
1: + struct proc_dir_entry *dir;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct irq_affinity_notify {
1: - unsigned int irq;
1: - struct kref kref;
1: - struct work_struct work;
1: - void (*notify)(struct irq_affinity_notify *, const cpumask_t *);
1: - void (*release)(struct kref *);
1: + unsigned int irq;
1: + struct kref kref;
1: + struct work_struct work;
1: + void (*notify)(struct irq_affinity_notify *, const cpumask_t *);
1: + void (*release)(struct kref *);
1: };
1:
1: enum irqchip_irq_state {
1: - IRQCHIP_STATE_PENDING = 0,
1: - IRQCHIP_STATE_ACTIVE = 1,
1: - IRQCHIP_STATE_MASKED = 2,
1: - IRQCHIP_STATE_LINE_LEVEL = 3,
1: + IRQCHIP_STATE_PENDING = 0,
1: + IRQCHIP_STATE_ACTIVE = 1,
1: + IRQCHIP_STATE_MASKED = 2,
1: + IRQCHIP_STATE_LINE_LEVEL = 3,
1: };
1:
1: struct irq_desc;
1: @@ -18643,194 +18785,195 @@ typedef void (*irq_flow_handler_t)(struct irq_desc *);
1: struct msi_desc;
1:
1: struct irq_common_data {
1: - unsigned int state_use_accessors;
1: - unsigned int node;
1: - void *handler_data;
1: - struct msi_desc *msi_desc;
1: - cpumask_var_t affinity;
1: - cpumask_var_t effective_affinity;
1: + unsigned int state_use_accessors;
1: + unsigned int node;
1: + void *handler_data;
1: + struct msi_desc *msi_desc;
1: + cpumask_var_t affinity;
1: + cpumask_var_t effective_affinity;
1: };
1:
1: struct irq_chip;
1:
1: struct irq_data {
1: - u32 mask;
1: - unsigned int irq;
1: - long unsigned int hwirq;
1: - struct irq_common_data *common;
1: - struct irq_chip *chip;
1: - struct irq_domain *domain;
1: - struct irq_data *parent_data;
1: - void *chip_data;
1: + u32 mask;
1: + unsigned int irq;
1: + long unsigned int hwirq;
1: + struct irq_common_data *common;
1: + struct irq_chip *chip;
1: + struct irq_domain *domain;
1: + struct irq_data *parent_data;
1: + void *chip_data;
1: };
1:
1: struct irq_desc {
1: - struct irq_common_data irq_common_data;
1: - struct irq_data irq_data;
1: - unsigned int *kstat_irqs;
1: - irq_flow_handler_t handle_irq;
1: - struct irqaction *action;
1: - unsigned int status_use_accessors;
1: - unsigned int core_internal_state__do_not_mess_with_it;
1: - unsigned int depth;
1: - unsigned int wake_depth;
1: - unsigned int tot_count;
1: - unsigned int irq_count;
1: - long unsigned int last_unhandled;
1: - unsigned int irqs_unhandled;
1: - atomic_t threads_handled;
1: - int threads_handled_last;
1: - raw_spinlock_t lock;
1: - struct cpumask *percpu_enabled;
1: - const struct cpumask *percpu_affinity;
1: - const struct cpumask *affinity_hint;
1: - struct irq_affinity_notify *affinity_notify;
1: - cpumask_var_t pending_mask;
1: - long unsigned int threads_oneshot;
1: - atomic_t threads_active;
1: - wait_queue_head_t wait_for_threads;
1: - unsigned int nr_actions;
1: - unsigned int no_suspend_depth;
1: - unsigned int cond_suspend_depth;
1: - unsigned int force_resume_depth;
1: - struct proc_dir_entry *dir;
1: - struct callback_head rcu;
1: - struct kobject kobj;
1: - struct mutex request_mutex;
1: - int parent_irq;
1: - struct module *owner;
1: - const char *name;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct irq_common_data irq_common_data;
1: + struct irq_data irq_data;
1: + unsigned int *kstat_irqs;
1: + irq_flow_handler_t handle_irq;
1: + struct irqaction *action;
1: + unsigned int status_use_accessors;
1: + unsigned int core_internal_state__do_not_mess_with_it;
1: + unsigned int depth;
1: + unsigned int wake_depth;
1: + unsigned int tot_count;
1: + unsigned int irq_count;
1: + long unsigned int last_unhandled;
1: + unsigned int irqs_unhandled;
1: + atomic_t threads_handled;
1: + int threads_handled_last;
1: + raw_spinlock_t lock;
1: + struct cpumask *percpu_enabled;
1: + const struct cpumask *percpu_affinity;
1: + const struct cpumask *affinity_hint;
1: + struct irq_affinity_notify *affinity_notify;
1: + cpumask_var_t pending_mask;
1: + long unsigned int threads_oneshot;
1: + atomic_t threads_active;
1: + wait_queue_head_t wait_for_threads;
1: + unsigned int nr_actions;
1: + unsigned int no_suspend_depth;
1: + unsigned int cond_suspend_depth;
1: + unsigned int force_resume_depth;
1: + struct proc_dir_entry *dir;
1: + struct callback_head rcu;
1: + struct kobject kobj;
1: + struct mutex request_mutex;
1: + int parent_irq;
1: + struct module *owner;
1: + const char *name;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct msi_msg;
1:
1: struct irq_chip {
1: - struct device *parent_device;
1: - const char *name;
1: - unsigned int (*irq_startup)(struct irq_data *);
1: - void (*irq_shutdown)(struct irq_data *);
1: - void (*irq_enable)(struct irq_data *);
1: - void (*irq_disable)(struct irq_data *);
1: - void (*irq_ack)(struct irq_data *);
1: - void (*irq_mask)(struct irq_data *);
1: - void (*irq_mask_ack)(struct irq_data *);
1: - void (*irq_unmask)(struct irq_data *);
1: - void (*irq_eoi)(struct irq_data *);
1: - int (*irq_set_affinity)(struct irq_data *, const struct cpumask *, bool);
1: - int (*irq_retrigger)(struct irq_data *);
1: - int (*irq_set_type)(struct irq_data *, unsigned int);
1: - int (*irq_set_wake)(struct irq_data *, unsigned int);
1: - void (*irq_bus_lock)(struct irq_data *);
1: - void (*irq_bus_sync_unlock)(struct irq_data *);
1: - void (*irq_cpu_online)(struct irq_data *);
1: - void (*irq_cpu_offline)(struct irq_data *);
1: - void (*irq_suspend)(struct irq_data *);
1: - void (*irq_resume)(struct irq_data *);
1: - void (*irq_pm_shutdown)(struct irq_data *);
1: - void (*irq_calc_mask)(struct irq_data *);
1: - void (*irq_print_chip)(struct irq_data *, struct seq_file *);
1: - int (*irq_request_resources)(struct irq_data *);
1: - void (*irq_release_resources)(struct irq_data *);
1: - void (*irq_compose_msi_msg)(struct irq_data *, struct msi_msg *);
1: - void (*irq_write_msi_msg)(struct irq_data *, struct msi_msg *);
1: - int (*irq_get_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool *);
1: - int (*irq_set_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool);
1: - int (*irq_set_vcpu_affinity)(struct irq_data *, void *);
1: - void (*ipi_send_single)(struct irq_data *, unsigned int);
1: - void (*ipi_send_mask)(struct irq_data *, const struct cpumask *);
1: - int (*irq_nmi_setup)(struct irq_data *);
1: - void (*irq_nmi_teardown)(struct irq_data *);
1: - long unsigned int flags;
1: + struct device *parent_device;
1: + const char *name;
1: + unsigned int (*irq_startup)(struct irq_data *);
1: + void (*irq_shutdown)(struct irq_data *);
1: + void (*irq_enable)(struct irq_data *);
1: + void (*irq_disable)(struct irq_data *);
1: + void (*irq_ack)(struct irq_data *);
1: + void (*irq_mask)(struct irq_data *);
1: + void (*irq_mask_ack)(struct irq_data *);
1: + void (*irq_unmask)(struct irq_data *);
1: + void (*irq_eoi)(struct irq_data *);
1: + int (*irq_set_affinity)(struct irq_data *, const struct cpumask *, bool);
1: + int (*irq_retrigger)(struct irq_data *);
1: + int (*irq_set_type)(struct irq_data *, unsigned int);
1: + int (*irq_set_wake)(struct irq_data *, unsigned int);
1: + void (*irq_bus_lock)(struct irq_data *);
1: + void (*irq_bus_sync_unlock)(struct irq_data *);
1: + void (*irq_cpu_online)(struct irq_data *);
1: + void (*irq_cpu_offline)(struct irq_data *);
1: + void (*irq_suspend)(struct irq_data *);
1: + void (*irq_resume)(struct irq_data *);
1: + void (*irq_pm_shutdown)(struct irq_data *);
1: + void (*irq_calc_mask)(struct irq_data *);
1: + void (*irq_print_chip)(struct irq_data *, struct seq_file *);
1: + int (*irq_request_resources)(struct irq_data *);
1: + void (*irq_release_resources)(struct irq_data *);
1: + void (*irq_compose_msi_msg)(struct irq_data *, struct msi_msg *);
1: + void (*irq_write_msi_msg)(struct irq_data *, struct msi_msg *);
1: + int (*irq_get_irqchip_state)(struct irq_data *, enum irqchip_irq_state,
1: + bool *);
1: + int (*irq_set_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool);
1: + int (*irq_set_vcpu_affinity)(struct irq_data *, void *);
1: + void (*ipi_send_single)(struct irq_data *, unsigned int);
1: + void (*ipi_send_mask)(struct irq_data *, const struct cpumask *);
1: + int (*irq_nmi_setup)(struct irq_data *);
1: + void (*irq_nmi_teardown)(struct irq_data *);
1: + long unsigned int flags;
1: };
1:
1: typedef struct irq_desc *vector_irq_t[256];
1:
1: struct trace_event_raw_x86_irq_vector {
1: - struct trace_entry ent;
1: - int vector;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int vector;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_config {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - unsigned int vector;
1: - unsigned int cpu;
1: - unsigned int apicdest;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int vector;
1: + unsigned int cpu;
1: + unsigned int apicdest;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_mod {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - unsigned int vector;
1: - unsigned int cpu;
1: - unsigned int prev_vector;
1: - unsigned int prev_cpu;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int vector;
1: + unsigned int cpu;
1: + unsigned int prev_vector;
1: + unsigned int prev_cpu;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_reserve {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_alloc {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - unsigned int vector;
1: - bool reserved;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int vector;
1: + bool reserved;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_alloc_managed {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - unsigned int vector;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int vector;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_activate {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - bool is_managed;
1: - bool can_reserve;
1: - bool reserve;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + bool is_managed;
1: + bool can_reserve;
1: + bool reserve;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_teardown {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - bool is_managed;
1: - bool has_reserved;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + bool is_managed;
1: + bool has_reserved;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_setup {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - bool is_legacy;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + bool is_legacy;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vector_free_moved {
1: - struct trace_entry ent;
1: - unsigned int irq;
1: - unsigned int cpu;
1: - unsigned int vector;
1: - bool is_managed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int irq;
1: + unsigned int cpu;
1: + unsigned int vector;
1: + bool is_managed;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_x86_irq_vector {};
1: @@ -18854,259 +18997,259 @@ struct trace_event_data_offsets_vector_setup {};
1: struct trace_event_data_offsets_vector_free_moved {};
1:
1: struct irq_stack {
1: - char stack[16384];
1: + char stack[16384];
1: };
1:
1: struct estack_pages {
1: - u32 offs;
1: - u16 size;
1: - u16 type;
1: + u32 offs;
1: + u16 size;
1: + u16 type;
1: };
1:
1: struct arch_clocksource_data {
1: - int vclock_mode;
1: + int vclock_mode;
1: };
1:
1: struct clocksource {
1: - u64 (*read)(struct clocksource *);
1: - u64 mask;
1: - u32 mult;
1: - u32 shift;
1: - u64 max_idle_ns;
1: - u32 maxadj;
1: - struct arch_clocksource_data archdata;
1: - u64 max_cycles;
1: - const char *name;
1: - struct list_head list;
1: - int rating;
1: - int (*enable)(struct clocksource *);
1: - void (*disable)(struct clocksource *);
1: - long unsigned int flags;
1: - void (*suspend)(struct clocksource *);
1: - void (*resume)(struct clocksource *);
1: - void (*mark_unstable)(struct clocksource *);
1: - void (*tick_stable)(struct clocksource *);
1: - struct list_head wd_list;
1: - u64 cs_last;
1: - u64 wd_last;
1: - struct module *owner;
1: + u64 (*read)(struct clocksource *);
1: + u64 mask;
1: + u32 mult;
1: + u32 shift;
1: + u64 max_idle_ns;
1: + u32 maxadj;
1: + struct arch_clocksource_data archdata;
1: + u64 max_cycles;
1: + const char *name;
1: + struct list_head list;
1: + int rating;
1: + int (*enable)(struct clocksource *);
1: + void (*disable)(struct clocksource *);
1: + long unsigned int flags;
1: + void (*suspend)(struct clocksource *);
1: + void (*resume)(struct clocksource *);
1: + void (*mark_unstable)(struct clocksource *);
1: + void (*tick_stable)(struct clocksource *);
1: + struct list_head wd_list;
1: + u64 cs_last;
1: + u64 wd_last;
1: + struct module *owner;
1: };
1:
1: enum clock_event_state {
1: - CLOCK_EVT_STATE_DETACHED = 0,
1: - CLOCK_EVT_STATE_SHUTDOWN = 1,
1: - CLOCK_EVT_STATE_PERIODIC = 2,
1: - CLOCK_EVT_STATE_ONESHOT = 3,
1: - CLOCK_EVT_STATE_ONESHOT_STOPPED = 4,
1: + CLOCK_EVT_STATE_DETACHED = 0,
1: + CLOCK_EVT_STATE_SHUTDOWN = 1,
1: + CLOCK_EVT_STATE_PERIODIC = 2,
1: + CLOCK_EVT_STATE_ONESHOT = 3,
1: + CLOCK_EVT_STATE_ONESHOT_STOPPED = 4,
1: };
1:
1: struct clock_event_device {
1: - void (*event_handler)(struct clock_event_device *);
1: - int (*set_next_event)(long unsigned int, struct clock_event_device *);
1: - int (*set_next_ktime)(ktime_t, struct clock_event_device *);
1: - ktime_t next_event;
1: - u64 max_delta_ns;
1: - u64 min_delta_ns;
1: - u32 mult;
1: - u32 shift;
1: - enum clock_event_state state_use_accessors;
1: - unsigned int features;
1: - long unsigned int retries;
1: - int (*set_state_periodic)(struct clock_event_device *);
1: - int (*set_state_oneshot)(struct clock_event_device *);
1: - int (*set_state_oneshot_stopped)(struct clock_event_device *);
1: - int (*set_state_shutdown)(struct clock_event_device *);
1: - int (*tick_resume)(struct clock_event_device *);
1: - void (*broadcast)(const struct cpumask *);
1: - void (*suspend)(struct clock_event_device *);
1: - void (*resume)(struct clock_event_device *);
1: - long unsigned int min_delta_ticks;
1: - long unsigned int max_delta_ticks;
1: - const char *name;
1: - int rating;
1: - int irq;
1: - int bound_on;
1: - const struct cpumask *cpumask;
1: - struct list_head list;
1: - struct module *owner;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + void (*event_handler)(struct clock_event_device *);
1: + int (*set_next_event)(long unsigned int, struct clock_event_device *);
1: + int (*set_next_ktime)(ktime_t, struct clock_event_device *);
1: + ktime_t next_event;
1: + u64 max_delta_ns;
1: + u64 min_delta_ns;
1: + u32 mult;
1: + u32 shift;
1: + enum clock_event_state state_use_accessors;
1: + unsigned int features;
1: + long unsigned int retries;
1: + int (*set_state_periodic)(struct clock_event_device *);
1: + int (*set_state_oneshot)(struct clock_event_device *);
1: + int (*set_state_oneshot_stopped)(struct clock_event_device *);
1: + int (*set_state_shutdown)(struct clock_event_device *);
1: + int (*tick_resume)(struct clock_event_device *);
1: + void (*broadcast)(const struct cpumask *);
1: + void (*suspend)(struct clock_event_device *);
1: + void (*resume)(struct clock_event_device *);
1: + long unsigned int min_delta_ticks;
1: + long unsigned int max_delta_ticks;
1: + const char *name;
1: + int rating;
1: + int irq;
1: + int bound_on;
1: + const struct cpumask *cpumask;
1: + struct list_head list;
1: + struct module *owner;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct irq_affinity_desc {
1: - struct cpumask mask;
1: - unsigned int is_managed: 1;
1: + struct cpumask mask;
1: + unsigned int is_managed : 1;
1: };
1:
1: struct msi_msg {
1: - u32 address_lo;
1: - u32 address_hi;
1: - u32 data;
1: + u32 address_lo;
1: + u32 address_hi;
1: + u32 data;
1: };
1:
1: struct platform_msi_priv_data;
1:
1: struct platform_msi_desc {
1: - struct platform_msi_priv_data *msi_priv_data;
1: - u16 msi_index;
1: + struct platform_msi_priv_data *msi_priv_data;
1: + u16 msi_index;
1: };
1:
1: struct fsl_mc_msi_desc {
1: - u16 msi_index;
1: + u16 msi_index;
1: };
1:
1: struct ti_sci_inta_msi_desc {
1: - u16 dev_index;
1: + u16 dev_index;
1: };
1:
1: struct msi_desc {
1: - struct list_head list;
1: - unsigned int irq;
1: - unsigned int nvec_used;
1: - struct device *dev;
1: - struct msi_msg msg;
1: - struct irq_affinity_desc *affinity;
1: - const void *iommu_cookie;
1: - void (*write_msi_msg)(struct msi_desc *, void *);
1: - void *write_msi_msg_data;
1: - union {
1: - struct {
1: - u32 masked;
1: - struct {
1: - u8 is_msix: 1;
1: - u8 multiple: 3;
1: - u8 multi_cap: 3;
1: - u8 maskbit: 1;
1: - u8 is_64: 1;
1: - u8 is_virtual: 1;
1: - u16 entry_nr;
1: - unsigned int default_irq;
1: - } msi_attrib;
1: - union {
1: - u8 mask_pos;
1: - void *mask_base;
1: - };
1: - };
1: - struct platform_msi_desc platform;
1: - struct fsl_mc_msi_desc fsl_mc;
1: - struct ti_sci_inta_msi_desc inta;
1: - };
1: + struct list_head list;
1: + unsigned int irq;
1: + unsigned int nvec_used;
1: + struct device *dev;
1: + struct msi_msg msg;
1: + struct irq_affinity_desc *affinity;
1: + const void *iommu_cookie;
1: + void (*write_msi_msg)(struct msi_desc *, void *);
1: + void *write_msi_msg_data;
1: + union {
1: + struct {
1: + u32 masked;
1: + struct {
1: + u8 is_msix : 1;
1: + u8 multiple : 3;
1: + u8 multi_cap : 3;
1: + u8 maskbit : 1;
1: + u8 is_64 : 1;
1: + u8 is_virtual : 1;
1: + u16 entry_nr;
1: + unsigned int default_irq;
1: + } msi_attrib;
1: + union {
1: + u8 mask_pos;
1: + void *mask_base;
1: + };
1: + };
1: + struct platform_msi_desc platform;
1: + struct fsl_mc_msi_desc fsl_mc;
1: + struct ti_sci_inta_msi_desc inta;
1: + };
1: };
1:
1: struct irq_chip_regs {
1: - long unsigned int enable;
1: - long unsigned int disable;
1: - long unsigned int mask;
1: - long unsigned int ack;
1: - long unsigned int eoi;
1: - long unsigned int type;
1: - long unsigned int polarity;
1: + long unsigned int enable;
1: + long unsigned int disable;
1: + long unsigned int mask;
1: + long unsigned int ack;
1: + long unsigned int eoi;
1: + long unsigned int type;
1: + long unsigned int polarity;
1: };
1:
1: struct irq_chip_type {
1: - struct irq_chip chip;
1: - struct irq_chip_regs regs;
1: - irq_flow_handler_t handler;
1: - u32 type;
1: - u32 mask_cache_priv;
1: - u32 *mask_cache;
1: + struct irq_chip chip;
1: + struct irq_chip_regs regs;
1: + irq_flow_handler_t handler;
1: + u32 type;
1: + u32 mask_cache_priv;
1: + u32 *mask_cache;
1: };
1:
1: struct irq_chip_generic {
1: - raw_spinlock_t lock;
1: - void *reg_base;
1: - u32 (*reg_readl)(void *);
1: - void (*reg_writel)(u32, void *);
1: - void (*suspend)(struct irq_chip_generic *);
1: - void (*resume)(struct irq_chip_generic *);
1: - unsigned int irq_base;
1: - unsigned int irq_cnt;
1: - u32 mask_cache;
1: - u32 type_cache;
1: - u32 polarity_cache;
1: - u32 wake_enabled;
1: - u32 wake_active;
1: - unsigned int num_ct;
1: - void *private;
1: - long unsigned int installed;
1: - long unsigned int unused;
1: - struct irq_domain *domain;
1: - struct list_head list;
1: - struct irq_chip_type chip_types[0];
1: + raw_spinlock_t lock;
1: + void *reg_base;
1: + u32 (*reg_readl)(void *);
1: + void (*reg_writel)(u32, void *);
1: + void (*suspend)(struct irq_chip_generic *);
1: + void (*resume)(struct irq_chip_generic *);
1: + unsigned int irq_base;
1: + unsigned int irq_cnt;
1: + u32 mask_cache;
1: + u32 type_cache;
1: + u32 polarity_cache;
1: + u32 wake_enabled;
1: + u32 wake_active;
1: + unsigned int num_ct;
1: + void *private;
1: + long unsigned int installed;
1: + long unsigned int unused;
1: + struct irq_domain *domain;
1: + struct list_head list;
1: + struct irq_chip_type chip_types[0];
1: };
1:
1: enum irq_gc_flags {
1: - IRQ_GC_INIT_MASK_CACHE = 1,
1: - IRQ_GC_INIT_NESTED_LOCK = 2,
1: - IRQ_GC_MASK_CACHE_PER_TYPE = 4,
1: - IRQ_GC_NO_MASK = 8,
1: - IRQ_GC_BE_IO = 16,
1: + IRQ_GC_INIT_MASK_CACHE = 1,
1: + IRQ_GC_INIT_NESTED_LOCK = 2,
1: + IRQ_GC_MASK_CACHE_PER_TYPE = 4,
1: + IRQ_GC_NO_MASK = 8,
1: + IRQ_GC_BE_IO = 16,
1: };
1:
1: struct irq_domain_chip_generic {
1: - unsigned int irqs_per_chip;
1: - unsigned int num_chips;
1: - unsigned int irq_flags_to_clear;
1: - unsigned int irq_flags_to_set;
1: - enum irq_gc_flags gc_flags;
1: - struct irq_chip_generic *gc[0];
1: + unsigned int irqs_per_chip;
1: + unsigned int num_chips;
1: + unsigned int irq_flags_to_clear;
1: + unsigned int irq_flags_to_set;
1: + enum irq_gc_flags gc_flags;
1: + struct irq_chip_generic *gc[0];
1: };
1:
1: struct legacy_pic {
1: - int nr_legacy_irqs;
1: - struct irq_chip *chip;
1: - void (*mask)(unsigned int);
1: - void (*unmask)(unsigned int);
1: - void (*mask_all)();
1: - void (*restore_mask)();
1: - void (*init)(int);
1: - int (*probe)();
1: - int (*irq_pending)(unsigned int);
1: - void (*make_irq)(unsigned int);
1: + int nr_legacy_irqs;
1: + struct irq_chip *chip;
1: + void (*mask)(unsigned int);
1: + void (*unmask)(unsigned int);
1: + void (*mask_all)();
1: + void (*restore_mask)();
1: + void (*init)(int);
1: + int (*probe)();
1: + int (*irq_pending)(unsigned int);
1: + void (*make_irq)(unsigned int);
1: };
1:
1: enum refcount_saturation_type {
1: - REFCOUNT_ADD_NOT_ZERO_OVF = 0,
1: - REFCOUNT_ADD_OVF = 1,
1: - REFCOUNT_ADD_UAF = 2,
1: - REFCOUNT_SUB_UAF = 3,
1: - REFCOUNT_DEC_LEAK = 4,
1: + REFCOUNT_ADD_NOT_ZERO_OVF = 0,
1: + REFCOUNT_ADD_OVF = 1,
1: + REFCOUNT_ADD_UAF = 2,
1: + REFCOUNT_SUB_UAF = 3,
1: + REFCOUNT_DEC_LEAK = 4,
1: };
1:
1: enum lockdown_reason {
1: - LOCKDOWN_NONE = 0,
1: - LOCKDOWN_MODULE_SIGNATURE = 1,
1: - LOCKDOWN_DEV_MEM = 2,
1: - LOCKDOWN_EFI_TEST = 3,
1: - LOCKDOWN_KEXEC = 4,
1: - LOCKDOWN_HIBERNATION = 5,
1: - LOCKDOWN_PCI_ACCESS = 6,
1: - LOCKDOWN_IOPORT = 7,
1: - LOCKDOWN_MSR = 8,
1: - LOCKDOWN_ACPI_TABLES = 9,
1: - LOCKDOWN_PCMCIA_CIS = 10,
1: - LOCKDOWN_TIOCSSERIAL = 11,
1: - LOCKDOWN_MODULE_PARAMETERS = 12,
1: - LOCKDOWN_MMIOTRACE = 13,
1: - LOCKDOWN_DEBUGFS = 14,
1: - LOCKDOWN_XMON_WR = 15,
1: - LOCKDOWN_INTEGRITY_MAX = 16,
1: - LOCKDOWN_KCORE = 17,
1: - LOCKDOWN_KPROBES = 18,
1: - LOCKDOWN_BPF_READ = 19,
1: - LOCKDOWN_PERF = 20,
1: - LOCKDOWN_TRACEFS = 21,
1: - LOCKDOWN_XMON_RW = 22,
1: - LOCKDOWN_CONFIDENTIALITY_MAX = 23,
1: + LOCKDOWN_NONE = 0,
1: + LOCKDOWN_MODULE_SIGNATURE = 1,
1: + LOCKDOWN_DEV_MEM = 2,
1: + LOCKDOWN_EFI_TEST = 3,
1: + LOCKDOWN_KEXEC = 4,
1: + LOCKDOWN_HIBERNATION = 5,
1: + LOCKDOWN_PCI_ACCESS = 6,
1: + LOCKDOWN_IOPORT = 7,
1: + LOCKDOWN_MSR = 8,
1: + LOCKDOWN_ACPI_TABLES = 9,
1: + LOCKDOWN_PCMCIA_CIS = 10,
1: + LOCKDOWN_TIOCSSERIAL = 11,
1: + LOCKDOWN_MODULE_PARAMETERS = 12,
1: + LOCKDOWN_MMIOTRACE = 13,
1: + LOCKDOWN_DEBUGFS = 14,
1: + LOCKDOWN_XMON_WR = 15,
1: + LOCKDOWN_INTEGRITY_MAX = 16,
1: + LOCKDOWN_KCORE = 17,
1: + LOCKDOWN_KPROBES = 18,
1: + LOCKDOWN_BPF_READ = 19,
1: + LOCKDOWN_PERF = 20,
1: + LOCKDOWN_TRACEFS = 21,
1: + LOCKDOWN_XMON_RW = 22,
1: + LOCKDOWN_CONFIDENTIALITY_MAX = 23,
1: };
1:
1: enum lockdep_ok {
1: - LOCKDEP_STILL_OK = 0,
1: - LOCKDEP_NOW_UNRELIABLE = 1,
1: + LOCKDEP_STILL_OK = 0,
1: + LOCKDEP_NOW_UNRELIABLE = 1,
1: };
1:
1: typedef long unsigned int uintptr_t;
1: @@ -19114,31 +19257,31 @@ typedef long unsigned int uintptr_t;
1: typedef u64 uint64_t;
1:
1: struct trace_event_raw_nmi_handler {
1: - struct trace_entry ent;
1: - void *handler;
1: - s64 delta_ns;
1: - int handled;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *handler;
1: + s64 delta_ns;
1: + int handled;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_nmi_handler {};
1:
1: struct nmi_desc {
1: - raw_spinlock_t lock;
1: - struct list_head head;
1: + raw_spinlock_t lock;
1: + struct list_head head;
1: };
1:
1: struct nmi_stats {
1: - unsigned int normal;
1: - unsigned int unknown;
1: - unsigned int external;
1: - unsigned int swallow;
1: + unsigned int normal;
1: + unsigned int unknown;
1: + unsigned int external;
1: + unsigned int swallow;
1: };
1:
1: enum nmi_states {
1: - NMI_NOT_RUNNING = 0,
1: - NMI_EXECUTING = 1,
1: - NMI_LATCHED = 2,
1: + NMI_NOT_RUNNING = 0,
1: + NMI_EXECUTING = 1,
1: + NMI_LATCHED = 2,
1: };
1:
1: typedef unsigned int pao_T_____2;
1: @@ -19148,138 +19291,138 @@ typedef enum nmi_states pto_T_____2;
1: typedef int pto_T_____3;
1:
1: enum {
1: - DESC_TSS = 9,
1: - DESC_LDT = 2,
1: - DESCTYPE_S = 16,
1: + DESC_TSS = 9,
1: + DESC_LDT = 2,
1: + DESCTYPE_S = 16,
1: };
1:
1: struct ldttss_desc {
1: - u16 limit0;
1: - u16 base0;
1: - u16 base1: 8;
1: - u16 type: 5;
1: - u16 dpl: 2;
1: - u16 p: 1;
1: - u16 limit1: 4;
1: - u16 zero0: 3;
1: - u16 g: 1;
1: - u16 base2: 8;
1: - u32 base3;
1: - u32 zero1;
1: + u16 limit0;
1: + u16 base0;
1: + u16 base1 : 8;
1: + u16 type : 5;
1: + u16 dpl : 2;
1: + u16 p : 1;
1: + u16 limit1 : 4;
1: + u16 zero0 : 3;
1: + u16 g : 1;
1: + u16 base2 : 8;
1: + u32 base3;
1: + u32 zero1;
1: };
1:
1: typedef struct ldttss_desc ldt_desc;
1:
1: struct user_desc {
1: - unsigned int entry_number;
1: - unsigned int base_addr;
1: - unsigned int limit;
1: - unsigned int seg_32bit: 1;
1: - unsigned int contents: 2;
1: - unsigned int read_exec_only: 1;
1: - unsigned int limit_in_pages: 1;
1: - unsigned int seg_not_present: 1;
1: - unsigned int useable: 1;
1: - unsigned int lm: 1;
1: + unsigned int entry_number;
1: + unsigned int base_addr;
1: + unsigned int limit;
1: + unsigned int seg_32bit : 1;
1: + unsigned int contents : 2;
1: + unsigned int read_exec_only : 1;
1: + unsigned int limit_in_pages : 1;
1: + unsigned int seg_not_present : 1;
1: + unsigned int useable : 1;
1: + unsigned int lm : 1;
1: };
1:
1: struct mmu_gather_batch {
1: - struct mmu_gather_batch *next;
1: - unsigned int nr;
1: - unsigned int max;
1: - struct page *pages[0];
1: + struct mmu_gather_batch *next;
1: + unsigned int nr;
1: + unsigned int max;
1: + struct page *pages[0];
1: };
1:
1: struct mmu_gather {
1: - struct mm_struct *mm;
1: - long unsigned int start;
1: - long unsigned int end;
1: - unsigned int fullmm: 1;
1: - unsigned int need_flush_all: 1;
1: - unsigned int freed_tables: 1;
1: - unsigned int cleared_ptes: 1;
1: - unsigned int cleared_pmds: 1;
1: - unsigned int cleared_puds: 1;
1: - unsigned int cleared_p4ds: 1;
1: - unsigned int vma_exec: 1;
1: - unsigned int vma_huge: 1;
1: - unsigned int batch_count;
1: - struct mmu_gather_batch *active;
1: - struct mmu_gather_batch local;
1: - struct page *__pages[8];
1: + struct mm_struct *mm;
1: + long unsigned int start;
1: + long unsigned int end;
1: + unsigned int fullmm : 1;
1: + unsigned int need_flush_all : 1;
1: + unsigned int freed_tables : 1;
1: + unsigned int cleared_ptes : 1;
1: + unsigned int cleared_pmds : 1;
1: + unsigned int cleared_puds : 1;
1: + unsigned int cleared_p4ds : 1;
1: + unsigned int vma_exec : 1;
1: + unsigned int vma_huge : 1;
1: + unsigned int batch_count;
1: + struct mmu_gather_batch *active;
1: + struct mmu_gather_batch local;
1: + struct page *__pages[8];
1: };
1:
1: struct setup_data {
1: - __u64 next;
1: - __u32 type;
1: - __u32 len;
1: - __u8 data[0];
1: + __u64 next;
1: + __u32 type;
1: + __u32 len;
1: + __u8 data[0];
1: };
1:
1: struct setup_indirect {
1: - __u32 type;
1: - __u32 reserved;
1: - __u64 len;
1: - __u64 addr;
1: + __u32 type;
1: + __u32 reserved;
1: + __u64 len;
1: + __u64 addr;
1: };
1:
1: struct plist_head {
1: - struct list_head node_list;
1: + struct list_head node_list;
1: };
1:
1: struct atomic_notifier_head {
1: - spinlock_t lock;
1: - struct notifier_block *head;
1: + spinlock_t lock;
1: + struct notifier_block *head;
1: };
1:
1: struct blocking_notifier_head {
1: - struct rw_semaphore rwsem;
1: - struct notifier_block *head;
1: + struct rw_semaphore rwsem;
1: + struct notifier_block *head;
1: };
1:
1: enum pm_qos_type {
1: - PM_QOS_UNITIALIZED = 0,
1: - PM_QOS_MAX = 1,
1: - PM_QOS_MIN = 2,
1: - PM_QOS_SUM = 3,
1: + PM_QOS_UNITIALIZED = 0,
1: + PM_QOS_MAX = 1,
1: + PM_QOS_MIN = 2,
1: + PM_QOS_SUM = 3,
1: };
1:
1: struct pm_qos_constraints {
1: - struct plist_head list;
1: - s32 target_value;
1: - s32 default_value;
1: - s32 no_constraint_value;
1: - enum pm_qos_type type;
1: - struct blocking_notifier_head *notifiers;
1: + struct plist_head list;
1: + s32 target_value;
1: + s32 default_value;
1: + s32 no_constraint_value;
1: + enum pm_qos_type type;
1: + struct blocking_notifier_head *notifiers;
1: };
1:
1: struct freq_constraints {
1: - struct pm_qos_constraints min_freq;
1: - struct blocking_notifier_head min_freq_notifiers;
1: - struct pm_qos_constraints max_freq;
1: - struct blocking_notifier_head max_freq_notifiers;
1: + struct pm_qos_constraints min_freq;
1: + struct blocking_notifier_head min_freq_notifiers;
1: + struct pm_qos_constraints max_freq;
1: + struct blocking_notifier_head max_freq_notifiers;
1: };
1:
1: struct pm_qos_flags {
1: - struct list_head list;
1: - s32 effective_flags;
1: + struct list_head list;
1: + s32 effective_flags;
1: };
1:
1: struct dev_pm_qos_request;
1:
1: struct dev_pm_qos {
1: - struct pm_qos_constraints resume_latency;
1: - struct pm_qos_constraints latency_tolerance;
1: - struct freq_constraints freq;
1: - struct pm_qos_flags flags;
1: - struct dev_pm_qos_request *resume_latency_req;
1: - struct dev_pm_qos_request *latency_tolerance_req;
1: - struct dev_pm_qos_request *flags_req;
1: + struct pm_qos_constraints resume_latency;
1: + struct pm_qos_constraints latency_tolerance;
1: + struct freq_constraints freq;
1: + struct pm_qos_flags flags;
1: + struct dev_pm_qos_request *resume_latency_req;
1: + struct dev_pm_qos_request *latency_tolerance_req;
1: + struct dev_pm_qos_request *flags_req;
1: };
1:
1: enum con_scroll {
1: - SM_UP = 0,
1: - SM_DOWN = 1,
1: + SM_UP = 0,
1: + SM_DOWN = 1,
1: };
1:
1: struct vc_data;
1: @@ -19287,186 +19430,190 @@ struct vc_data;
1: struct console_font;
1:
1: struct consw {
1: - struct module *owner;
1: - const char * (*con_startup)();
1: - void (*con_init)(struct vc_data *, int);
1: - void (*con_deinit)(struct vc_data *);
1: - void (*con_clear)(struct vc_data *, int, int, int, int);
1: - void (*con_putc)(struct vc_data *, int, int, int);
1: - void (*con_putcs)(struct vc_data *, const short unsigned int *, int, int, int);
1: - void (*con_cursor)(struct vc_data *, int);
1: - bool (*con_scroll)(struct vc_data *, unsigned int, unsigned int, enum con_scroll, unsigned int);
1: - int (*con_switch)(struct vc_data *);
1: - int (*con_blank)(struct vc_data *, int, int);
1: - int (*con_font_set)(struct vc_data *, struct console_font *, unsigned int);
1: - int (*con_font_get)(struct vc_data *, struct console_font *);
1: - int (*con_font_default)(struct vc_data *, struct console_font *, char *);
1: - int (*con_font_copy)(struct vc_data *, int);
1: - int (*con_resize)(struct vc_data *, unsigned int, unsigned int, unsigned int);
1: - void (*con_set_palette)(struct vc_data *, const unsigned char *);
1: - void (*con_scrolldelta)(struct vc_data *, int);
1: - int (*con_set_origin)(struct vc_data *);
1: - void (*con_save_screen)(struct vc_data *);
1: - u8 (*con_build_attr)(struct vc_data *, u8, u8, u8, u8, u8, u8);
1: - void (*con_invert_region)(struct vc_data *, u16 *, int);
1: - u16 * (*con_screen_pos)(struct vc_data *, int);
1: - long unsigned int (*con_getxy)(struct vc_data *, long unsigned int, int *, int *);
1: - void (*con_flush_scrollback)(struct vc_data *);
1: - int (*con_debug_enter)(struct vc_data *);
1: - int (*con_debug_leave)(struct vc_data *);
1: + struct module *owner;
1: + const char *(*con_startup)();
1: + void (*con_init)(struct vc_data *, int);
1: + void (*con_deinit)(struct vc_data *);
1: + void (*con_clear)(struct vc_data *, int, int, int, int);
1: + void (*con_putc)(struct vc_data *, int, int, int);
1: + void (*con_putcs)(struct vc_data *, const short unsigned int *, int, int,
1: + int);
1: + void (*con_cursor)(struct vc_data *, int);
1: + bool (*con_scroll)(struct vc_data *, unsigned int, unsigned int,
1: + enum con_scroll, unsigned int);
1: + int (*con_switch)(struct vc_data *);
1: + int (*con_blank)(struct vc_data *, int, int);
1: + int (*con_font_set)(struct vc_data *, struct console_font *, unsigned int);
1: + int (*con_font_get)(struct vc_data *, struct console_font *);
1: + int (*con_font_default)(struct vc_data *, struct console_font *, char *);
1: + int (*con_font_copy)(struct vc_data *, int);
1: + int (*con_resize)(struct vc_data *, unsigned int, unsigned int, unsigned int);
1: + void (*con_set_palette)(struct vc_data *, const unsigned char *);
1: + void (*con_scrolldelta)(struct vc_data *, int);
1: + int (*con_set_origin)(struct vc_data *);
1: + void (*con_save_screen)(struct vc_data *);
1: + u8 (*con_build_attr)(struct vc_data *, u8, u8, u8, u8, u8, u8);
1: + void (*con_invert_region)(struct vc_data *, u16 *, int);
1: + u16 *(*con_screen_pos)(struct vc_data *, int);
1: + long unsigned int (*con_getxy)(struct vc_data *, long unsigned int, int *,
1: + int *);
1: + void (*con_flush_scrollback)(struct vc_data *);
1: + int (*con_debug_enter)(struct vc_data *);
1: + int (*con_debug_leave)(struct vc_data *);
1: };
1:
1: enum efi_secureboot_mode {
1: - efi_secureboot_mode_unset = 0,
1: - efi_secureboot_mode_unknown = 1,
1: - efi_secureboot_mode_disabled = 2,
1: - efi_secureboot_mode_enabled = 3,
1: + efi_secureboot_mode_unset = 0,
1: + efi_secureboot_mode_unknown = 1,
1: + efi_secureboot_mode_disabled = 2,
1: + efi_secureboot_mode_enabled = 3,
1: };
1:
1: enum xen_domain_type {
1: - XEN_NATIVE = 0,
1: - XEN_PV_DOMAIN = 1,
1: - XEN_HVM_DOMAIN = 2,
1: + XEN_NATIVE = 0,
1: + XEN_PV_DOMAIN = 1,
1: + XEN_HVM_DOMAIN = 2,
1: };
1:
1: struct pm_qos_flags_request {
1: - struct list_head node;
1: - s32 flags;
1: + struct list_head node;
1: + s32 flags;
1: };
1:
1: enum freq_qos_req_type {
1: - FREQ_QOS_MIN = 1,
1: - FREQ_QOS_MAX = 2,
1: + FREQ_QOS_MIN = 1,
1: + FREQ_QOS_MAX = 2,
1: };
1:
1: struct freq_qos_request {
1: - enum freq_qos_req_type type;
1: - struct plist_node pnode;
1: - struct freq_constraints *qos;
1: + enum freq_qos_req_type type;
1: + struct plist_node pnode;
1: + struct freq_constraints *qos;
1: };
1:
1: enum dev_pm_qos_req_type {
1: - DEV_PM_QOS_RESUME_LATENCY = 1,
1: - DEV_PM_QOS_LATENCY_TOLERANCE = 2,
1: - DEV_PM_QOS_MIN_FREQUENCY = 3,
1: - DEV_PM_QOS_MAX_FREQUENCY = 4,
1: - DEV_PM_QOS_FLAGS = 5,
1: + DEV_PM_QOS_RESUME_LATENCY = 1,
1: + DEV_PM_QOS_LATENCY_TOLERANCE = 2,
1: + DEV_PM_QOS_MIN_FREQUENCY = 3,
1: + DEV_PM_QOS_MAX_FREQUENCY = 4,
1: + DEV_PM_QOS_FLAGS = 5,
1: };
1:
1: struct dev_pm_qos_request {
1: - enum dev_pm_qos_req_type type;
1: - union {
1: - struct plist_node pnode;
1: - struct pm_qos_flags_request flr;
1: - struct freq_qos_request freq;
1: - } data;
1: - struct device *dev;
1: + enum dev_pm_qos_req_type type;
1: + union {
1: + struct plist_node pnode;
1: + struct pm_qos_flags_request flr;
1: + struct freq_qos_request freq;
1: + } data;
1: + struct device *dev;
1: };
1:
1: enum e820_type {
1: - E820_TYPE_RAM = 1,
1: - E820_TYPE_RESERVED = 2,
1: - E820_TYPE_ACPI = 3,
1: - E820_TYPE_NVS = 4,
1: - E820_TYPE_UNUSABLE = 5,
1: - E820_TYPE_PMEM = 7,
1: - E820_TYPE_PRAM = 12,
1: - E820_TYPE_SOFT_RESERVED = -268435457,
1: - E820_TYPE_RESERVED_KERN = 128,
1: + E820_TYPE_RAM = 1,
1: + E820_TYPE_RESERVED = 2,
1: + E820_TYPE_ACPI = 3,
1: + E820_TYPE_NVS = 4,
1: + E820_TYPE_UNUSABLE = 5,
1: + E820_TYPE_PMEM = 7,
1: + E820_TYPE_PRAM = 12,
1: + E820_TYPE_SOFT_RESERVED = -268435457,
1: + E820_TYPE_RESERVED_KERN = 128,
1: };
1:
1: struct e820_entry {
1: - u64 addr;
1: - u64 size;
1: - enum e820_type type;
1: + u64 addr;
1: + u64 size;
1: + enum e820_type type;
1: } __attribute__((packed));
1:
1: struct e820_table {
1: - __u32 nr_entries;
1: - struct e820_entry entries[320];
1: + __u32 nr_entries;
1: + struct e820_entry entries[320];
1: } __attribute__((packed));
1:
1: struct x86_cpuinit_ops {
1: - void (*setup_percpu_clockev)();
1: - void (*early_percpu_clock_init)();
1: - void (*fixup_cpu_id)(struct cpuinfo_x86 *, int);
1: + void (*setup_percpu_clockev)();
1: + void (*early_percpu_clock_init)();
1: + void (*fixup_cpu_id)(struct cpuinfo_x86 *, int);
1: };
1:
1: struct x86_msi_ops {
1: - int (*setup_msi_irqs)(struct pci_dev *, int, int);
1: - void (*teardown_msi_irq)(unsigned int);
1: - void (*teardown_msi_irqs)(struct pci_dev *);
1: - void (*restore_msi_irqs)(struct pci_dev *);
1: + int (*setup_msi_irqs)(struct pci_dev *, int, int);
1: + void (*teardown_msi_irq)(unsigned int);
1: + void (*teardown_msi_irqs)(struct pci_dev *);
1: + void (*restore_msi_irqs)(struct pci_dev *);
1: };
1:
1: struct msi_controller {
1: - struct module *owner;
1: - struct device *dev;
1: - struct device_node *of_node;
1: - struct list_head list;
1: - int (*setup_irq)(struct msi_controller *, struct pci_dev *, struct msi_desc *);
1: - int (*setup_irqs)(struct msi_controller *, struct pci_dev *, int, int);
1: - void (*teardown_irq)(struct msi_controller *, unsigned int);
1: + struct module *owner;
1: + struct device *dev;
1: + struct device_node *of_node;
1: + struct list_head list;
1: + int (*setup_irq)(struct msi_controller *, struct pci_dev *,
1: + struct msi_desc *);
1: + int (*setup_irqs)(struct msi_controller *, struct pci_dev *, int, int);
1: + void (*teardown_irq)(struct msi_controller *, unsigned int);
1: };
1:
1: enum jump_label_type {
1: - JUMP_LABEL_NOP = 0,
1: - JUMP_LABEL_JMP = 1,
1: + JUMP_LABEL_NOP = 0,
1: + JUMP_LABEL_JMP = 1,
1: };
1:
1: struct text_poke_loc {
1: - void *addr;
1: - int len;
1: - s32 rel32;
1: - u8 opcode;
1: - u8 text[5];
1: + void *addr;
1: + int len;
1: + s32 rel32;
1: + u8 opcode;
1: + u8 text[5];
1: };
1:
1: union jump_code_union {
1: - char code[5];
1: - struct {
1: - char jump;
1: - int offset;
1: - } __attribute__((packed));
1: + char code[5];
1: + struct {
1: + char jump;
1: + int offset;
1: + } __attribute__((packed));
1: };
1:
1: enum {
1: - JL_STATE_START = 0,
1: - JL_STATE_NO_UPDATE = 1,
1: - JL_STATE_UPDATE = 2,
1: + JL_STATE_START = 0,
1: + JL_STATE_NO_UPDATE = 1,
1: + JL_STATE_UPDATE = 2,
1: };
1:
1: struct vm_unmapped_area_info {
1: - long unsigned int flags;
1: - long unsigned int length;
1: - long unsigned int low_limit;
1: - long unsigned int high_limit;
1: - long unsigned int align_mask;
1: - long unsigned int align_offset;
1: + long unsigned int flags;
1: + long unsigned int length;
1: + long unsigned int low_limit;
1: + long unsigned int high_limit;
1: + long unsigned int align_mask;
1: + long unsigned int align_offset;
1: };
1:
1: enum align_flags {
1: - ALIGN_VA_32 = 1,
1: - ALIGN_VA_64 = 2,
1: + ALIGN_VA_32 = 1,
1: + ALIGN_VA_64 = 2,
1: };
1:
1: struct va_alignment {
1: - int flags;
1: - long unsigned int mask;
1: - long unsigned int bits;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + int flags;
1: + long unsigned int mask;
1: + long unsigned int bits;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: enum {
1: - MEMREMAP_WB = 1,
1: - MEMREMAP_WT = 2,
1: - MEMREMAP_WC = 4,
1: - MEMREMAP_ENC = 8,
1: - MEMREMAP_DEC = 16,
1: + MEMREMAP_WB = 1,
1: + MEMREMAP_WT = 2,
1: + MEMREMAP_WC = 4,
1: + MEMREMAP_ENC = 8,
1: + MEMREMAP_DEC = 16,
1: };
1:
1: typedef void (*swap_func_t)(void *, void *, int);
1: @@ -19474,370 +19621,370 @@ typedef void (*swap_func_t)(void *, void *, int);
1: typedef int (*cmp_func_t)(const void *, const void *);
1:
1: enum {
1: - IORES_DESC_NONE = 0,
1: - IORES_DESC_CRASH_KERNEL = 1,
1: - IORES_DESC_ACPI_TABLES = 2,
1: - IORES_DESC_ACPI_NV_STORAGE = 3,
1: - IORES_DESC_PERSISTENT_MEMORY = 4,
1: - IORES_DESC_PERSISTENT_MEMORY_LEGACY = 5,
1: - IORES_DESC_DEVICE_PRIVATE_MEMORY = 6,
1: - IORES_DESC_RESERVED = 7,
1: - IORES_DESC_SOFT_RESERVED = 8,
1: + IORES_DESC_NONE = 0,
1: + IORES_DESC_CRASH_KERNEL = 1,
1: + IORES_DESC_ACPI_TABLES = 2,
1: + IORES_DESC_ACPI_NV_STORAGE = 3,
1: + IORES_DESC_PERSISTENT_MEMORY = 4,
1: + IORES_DESC_PERSISTENT_MEMORY_LEGACY = 5,
1: + IORES_DESC_DEVICE_PRIVATE_MEMORY = 6,
1: + IORES_DESC_RESERVED = 7,
1: + IORES_DESC_SOFT_RESERVED = 8,
1: };
1:
1: struct change_member {
1: - struct e820_entry *entry;
1: - long long unsigned int addr;
1: + struct e820_entry *entry;
1: + long long unsigned int addr;
1: };
1:
1: struct iommu_fwspec {
1: - const struct iommu_ops *ops;
1: - struct fwnode_handle *iommu_fwnode;
1: - void *iommu_priv;
1: - u32 flags;
1: - unsigned int num_ids;
1: - u32 ids[1];
1: + const struct iommu_ops *ops;
1: + struct fwnode_handle *iommu_fwnode;
1: + void *iommu_priv;
1: + u32 flags;
1: + unsigned int num_ids;
1: + u32 ids[1];
1: };
1:
1: struct iommu_fault_param;
1:
1: struct iommu_param {
1: - struct mutex lock;
1: - struct iommu_fault_param *fault_param;
1: + struct mutex lock;
1: + struct iommu_fault_param *fault_param;
1: };
1:
1: struct of_phandle_args {
1: - struct device_node *np;
1: - int args_count;
1: - uint32_t args[16];
1: + struct device_node *np;
1: + int args_count;
1: + uint32_t args[16];
1: };
1:
1: struct iommu_fault_unrecoverable {
1: - __u32 reason;
1: - __u32 flags;
1: - __u32 pasid;
1: - __u32 perm;
1: - __u64 addr;
1: - __u64 fetch_addr;
1: + __u32 reason;
1: + __u32 flags;
1: + __u32 pasid;
1: + __u32 perm;
1: + __u64 addr;
1: + __u64 fetch_addr;
1: };
1:
1: struct iommu_fault_page_request {
1: - __u32 flags;
1: - __u32 pasid;
1: - __u32 grpid;
1: - __u32 perm;
1: - __u64 addr;
1: - __u64 private_data[2];
1: + __u32 flags;
1: + __u32 pasid;
1: + __u32 grpid;
1: + __u32 perm;
1: + __u64 addr;
1: + __u64 private_data[2];
1: };
1:
1: struct iommu_fault {
1: - __u32 type;
1: - __u32 padding;
1: - union {
1: - struct iommu_fault_unrecoverable event;
1: - struct iommu_fault_page_request prm;
1: - __u8 padding2[56];
1: - };
1: + __u32 type;
1: + __u32 padding;
1: + union {
1: + struct iommu_fault_unrecoverable event;
1: + struct iommu_fault_page_request prm;
1: + __u8 padding2[56];
1: + };
1: };
1:
1: struct iommu_page_response {
1: - __u32 version;
1: - __u32 flags;
1: - __u32 pasid;
1: - __u32 grpid;
1: - __u32 code;
1: + __u32 version;
1: + __u32 flags;
1: + __u32 pasid;
1: + __u32 grpid;
1: + __u32 code;
1: };
1:
1: struct iommu_inv_addr_info {
1: - __u32 flags;
1: - __u32 archid;
1: - __u64 pasid;
1: - __u64 addr;
1: - __u64 granule_size;
1: - __u64 nb_granules;
1: + __u32 flags;
1: + __u32 archid;
1: + __u64 pasid;
1: + __u64 addr;
1: + __u64 granule_size;
1: + __u64 nb_granules;
1: };
1:
1: struct iommu_inv_pasid_info {
1: - __u32 flags;
1: - __u32 archid;
1: - __u64 pasid;
1: + __u32 flags;
1: + __u32 archid;
1: + __u64 pasid;
1: };
1:
1: struct iommu_cache_invalidate_info {
1: - __u32 version;
1: - __u8 cache;
1: - __u8 granularity;
1: - __u8 padding[2];
1: - union {
1: - struct iommu_inv_pasid_info pasid_info;
1: - struct iommu_inv_addr_info addr_info;
1: - };
1: + __u32 version;
1: + __u8 cache;
1: + __u8 granularity;
1: + __u8 padding[2];
1: + union {
1: + struct iommu_inv_pasid_info pasid_info;
1: + struct iommu_inv_addr_info addr_info;
1: + };
1: };
1:
1: struct iommu_gpasid_bind_data_vtd {
1: - __u64 flags;
1: - __u32 pat;
1: - __u32 emt;
1: + __u64 flags;
1: + __u32 pat;
1: + __u32 emt;
1: };
1:
1: struct iommu_gpasid_bind_data {
1: - __u32 version;
1: - __u32 format;
1: - __u64 flags;
1: - __u64 gpgd;
1: - __u64 hpasid;
1: - __u64 gpasid;
1: - __u32 addr_width;
1: - __u8 padding[12];
1: - union {
1: - struct iommu_gpasid_bind_data_vtd vtd;
1: - };
1: -};
1: -
1: -typedef int (*iommu_fault_handler_t)(struct iommu_domain *, struct device *, long unsigned int, int, void *);
1: + __u32 version;
1: + __u32 format;
1: + __u64 flags;
1: + __u64 gpgd;
1: + __u64 hpasid;
1: + __u64 gpasid;
1: + __u32 addr_width;
1: + __u8 padding[12];
1: + union {
1: + struct iommu_gpasid_bind_data_vtd vtd;
1: + };
1: +};
1: +
1: +typedef int (*iommu_fault_handler_t)(struct iommu_domain *, struct device *,
1: + long unsigned int, int, void *);
1:
1: struct iommu_domain_geometry {
1: - dma_addr_t aperture_start;
1: - dma_addr_t aperture_end;
1: - bool force_aperture;
1: + dma_addr_t aperture_start;
1: + dma_addr_t aperture_end;
1: + bool force_aperture;
1: };
1:
1: struct iommu_domain {
1: - unsigned int type;
1: - const struct iommu_ops *ops;
1: - long unsigned int pgsize_bitmap;
1: - iommu_fault_handler_t handler;
1: - void *handler_token;
1: - struct iommu_domain_geometry geometry;
1: - void *iova_cookie;
1: + unsigned int type;
1: + const struct iommu_ops *ops;
1: + long unsigned int pgsize_bitmap;
1: + iommu_fault_handler_t handler;
1: + void *handler_token;
1: + struct iommu_domain_geometry geometry;
1: + void *iova_cookie;
1: };
1:
1: -typedef int (*iommu_mm_exit_handler_t)(struct device *, struct iommu_sva *, void *);
1: +typedef int (*iommu_mm_exit_handler_t)(struct device *, struct iommu_sva *,
1: + void *);
1:
1: struct iommu_sva_ops;
1:
1: struct iommu_sva {
1: - struct device *dev;
1: - const struct iommu_sva_ops *ops;
1: + struct device *dev;
1: + const struct iommu_sva_ops *ops;
1: };
1:
1: typedef int (*iommu_dev_fault_handler_t)(struct iommu_fault *, void *);
1:
1: enum iommu_resv_type {
1: - IOMMU_RESV_DIRECT = 0,
1: - IOMMU_RESV_DIRECT_RELAXABLE = 1,
1: - IOMMU_RESV_RESERVED = 2,
1: - IOMMU_RESV_MSI = 3,
1: - IOMMU_RESV_SW_MSI = 4,
1: + IOMMU_RESV_DIRECT = 0,
1: + IOMMU_RESV_DIRECT_RELAXABLE = 1,
1: + IOMMU_RESV_RESERVED = 2,
1: + IOMMU_RESV_MSI = 3,
1: + IOMMU_RESV_SW_MSI = 4,
1: };
1:
1: struct iommu_resv_region {
1: - struct list_head list;
1: - phys_addr_t start;
1: - size_t length;
1: - int prot;
1: - enum iommu_resv_type type;
1: + struct list_head list;
1: + phys_addr_t start;
1: + size_t length;
1: + int prot;
1: + enum iommu_resv_type type;
1: };
1:
1: struct iommu_sva_ops {
1: - iommu_mm_exit_handler_t mm_exit;
1: + iommu_mm_exit_handler_t mm_exit;
1: };
1:
1: struct iommu_iotlb_gather {
1: - long unsigned int start;
1: - long unsigned int end;
1: - size_t pgsize;
1: + long unsigned int start;
1: + long unsigned int end;
1: + size_t pgsize;
1: };
1:
1: struct iommu_fault_event {
1: - struct iommu_fault fault;
1: - struct list_head list;
1: + struct iommu_fault fault;
1: + struct list_head list;
1: };
1:
1: struct iommu_fault_param {
1: - iommu_dev_fault_handler_t handler;
1: - void *data;
1: - struct list_head faults;
1: - struct mutex lock;
1: + iommu_dev_fault_handler_t handler;
1: + void *data;
1: + struct list_head faults;
1: + struct mutex lock;
1: };
1:
1: struct iommu_table_entry {
1: - initcall_t detect;
1: - initcall_t depend;
1: - void (*early_init)();
1: - void (*late_init)();
1: - int flags;
1: + initcall_t detect;
1: + initcall_t depend;
1: + void (*early_init)();
1: + void (*late_init)();
1: + int flags;
1: };
1:
1: enum dmi_field {
1: - DMI_NONE = 0,
1: - DMI_BIOS_VENDOR = 1,
1: - DMI_BIOS_VERSION = 2,
1: - DMI_BIOS_DATE = 3,
1: - DMI_SYS_VENDOR = 4,
1: - DMI_PRODUCT_NAME = 5,
1: - DMI_PRODUCT_VERSION = 6,
1: - DMI_PRODUCT_SERIAL = 7,
1: - DMI_PRODUCT_UUID = 8,
1: - DMI_PRODUCT_SKU = 9,
1: - DMI_PRODUCT_FAMILY = 10,
1: - DMI_BOARD_VENDOR = 11,
1: - DMI_BOARD_NAME = 12,
1: - DMI_BOARD_VERSION = 13,
1: - DMI_BOARD_SERIAL = 14,
1: - DMI_BOARD_ASSET_TAG = 15,
1: - DMI_CHASSIS_VENDOR = 16,
1: - DMI_CHASSIS_TYPE = 17,
1: - DMI_CHASSIS_VERSION = 18,
1: - DMI_CHASSIS_SERIAL = 19,
1: - DMI_CHASSIS_ASSET_TAG = 20,
1: - DMI_STRING_MAX = 21,
1: - DMI_OEM_STRING = 22,
1: -};
1: -
1: -enum {
1: - NONE_FORCE_HPET_RESUME = 0,
1: - OLD_ICH_FORCE_HPET_RESUME = 1,
1: - ICH_FORCE_HPET_RESUME = 2,
1: - VT8237_FORCE_HPET_RESUME = 3,
1: - NVIDIA_FORCE_HPET_RESUME = 4,
1: - ATI_FORCE_HPET_RESUME = 5,
1: + DMI_NONE = 0,
1: + DMI_BIOS_VENDOR = 1,
1: + DMI_BIOS_VERSION = 2,
1: + DMI_BIOS_DATE = 3,
1: + DMI_SYS_VENDOR = 4,
1: + DMI_PRODUCT_NAME = 5,
1: + DMI_PRODUCT_VERSION = 6,
1: + DMI_PRODUCT_SERIAL = 7,
1: + DMI_PRODUCT_UUID = 8,
1: + DMI_PRODUCT_SKU = 9,
1: + DMI_PRODUCT_FAMILY = 10,
1: + DMI_BOARD_VENDOR = 11,
1: + DMI_BOARD_NAME = 12,
1: + DMI_BOARD_VERSION = 13,
1: + DMI_BOARD_SERIAL = 14,
1: + DMI_BOARD_ASSET_TAG = 15,
1: + DMI_CHASSIS_VENDOR = 16,
1: + DMI_CHASSIS_TYPE = 17,
1: + DMI_CHASSIS_VERSION = 18,
1: + DMI_CHASSIS_SERIAL = 19,
1: + DMI_CHASSIS_ASSET_TAG = 20,
1: + DMI_STRING_MAX = 21,
1: + DMI_OEM_STRING = 22,
1: +};
1: +
1: +enum {
1: + NONE_FORCE_HPET_RESUME = 0,
1: + OLD_ICH_FORCE_HPET_RESUME = 1,
1: + ICH_FORCE_HPET_RESUME = 2,
1: + VT8237_FORCE_HPET_RESUME = 3,
1: + NVIDIA_FORCE_HPET_RESUME = 4,
1: + ATI_FORCE_HPET_RESUME = 5,
1: };
1:
1: struct cpu {
1: - int node_id;
1: - int hotpluggable;
1: - struct device dev;
1: + int node_id;
1: + int hotpluggable;
1: + struct device dev;
1: };
1:
1: struct x86_cpu {
1: - struct cpu cpu;
1: + struct cpu cpu;
1: };
1:
1: struct debugfs_blob_wrapper {
1: - void *data;
1: - long unsigned int size;
1: + void *data;
1: + long unsigned int size;
1: };
1:
1: struct setup_data_node {
1: - u64 paddr;
1: - u32 type;
1: - u32 len;
1: + u64 paddr;
1: + u32 type;
1: + u32 len;
1: };
1:
1: struct die_args {
1: - struct pt_regs *regs;
1: - const char *str;
1: - long int err;
1: - int trapnr;
1: - int signr;
1: + struct pt_regs *regs;
1: + const char *str;
1: + long int err;
1: + int trapnr;
1: + int signr;
1: };
1:
1: -typedef struct {
1: - struct mm_struct *mm;
1: -} temp_mm_state_t;
1: +typedef struct { struct mm_struct *mm; } temp_mm_state_t;
1:
1: struct smp_alt_module {
1: - struct module *mod;
1: - char *name;
1: - const s32 *locks;
1: - const s32 *locks_end;
1: - u8 *text;
1: - u8 *text_end;
1: - struct list_head next;
1: + struct module *mod;
1: + char *name;
1: + const s32 *locks;
1: + const s32 *locks_end;
1: + u8 *text;
1: + u8 *text_end;
1: + struct list_head next;
1: };
1:
1: struct bp_patching_desc {
1: - struct text_poke_loc *vec;
1: - int nr_entries;
1: + struct text_poke_loc *vec;
1: + int nr_entries;
1: };
1:
1: struct paravirt_patch_site;
1:
1: struct user_i387_struct {
1: - short unsigned int cwd;
1: - short unsigned int swd;
1: - short unsigned int twd;
1: - short unsigned int fop;
1: - __u64 rip;
1: - __u64 rdp;
1: - __u32 mxcsr;
1: - __u32 mxcsr_mask;
1: - __u32 st_space[32];
1: - __u32 xmm_space[64];
1: - __u32 padding[24];
1: + short unsigned int cwd;
1: + short unsigned int swd;
1: + short unsigned int twd;
1: + short unsigned int fop;
1: + __u64 rip;
1: + __u64 rdp;
1: + __u32 mxcsr;
1: + __u32 mxcsr_mask;
1: + __u32 st_space[32];
1: + __u32 xmm_space[64];
1: + __u32 padding[24];
1: };
1:
1: struct user_regs_struct {
1: - long unsigned int r15;
1: - long unsigned int r14;
1: - long unsigned int r13;
1: - long unsigned int r12;
1: - long unsigned int bp;
1: - long unsigned int bx;
1: - long unsigned int r11;
1: - long unsigned int r10;
1: - long unsigned int r9;
1: - long unsigned int r8;
1: - long unsigned int ax;
1: - long unsigned int cx;
1: - long unsigned int dx;
1: - long unsigned int si;
1: - long unsigned int di;
1: - long unsigned int orig_ax;
1: - long unsigned int ip;
1: - long unsigned int cs;
1: - long unsigned int flags;
1: - long unsigned int sp;
1: - long unsigned int ss;
1: - long unsigned int fs_base;
1: - long unsigned int gs_base;
1: - long unsigned int ds;
1: - long unsigned int es;
1: - long unsigned int fs;
1: - long unsigned int gs;
1: + long unsigned int r15;
1: + long unsigned int r14;
1: + long unsigned int r13;
1: + long unsigned int r12;
1: + long unsigned int bp;
1: + long unsigned int bx;
1: + long unsigned int r11;
1: + long unsigned int r10;
1: + long unsigned int r9;
1: + long unsigned int r8;
1: + long unsigned int ax;
1: + long unsigned int cx;
1: + long unsigned int dx;
1: + long unsigned int si;
1: + long unsigned int di;
1: + long unsigned int orig_ax;
1: + long unsigned int ip;
1: + long unsigned int cs;
1: + long unsigned int flags;
1: + long unsigned int sp;
1: + long unsigned int ss;
1: + long unsigned int fs_base;
1: + long unsigned int gs_base;
1: + long unsigned int ds;
1: + long unsigned int es;
1: + long unsigned int fs;
1: + long unsigned int gs;
1: };
1:
1: struct user {
1: - struct user_regs_struct regs;
1: - int u_fpvalid;
1: - int pad0;
1: - struct user_i387_struct i387;
1: - long unsigned int u_tsize;
1: - long unsigned int u_dsize;
1: - long unsigned int u_ssize;
1: - long unsigned int start_code;
1: - long unsigned int start_stack;
1: - long int signal;
1: - int reserved;
1: - int pad1;
1: - long unsigned int u_ar0;
1: - struct user_i387_struct *u_fpstate;
1: - long unsigned int magic;
1: - char u_comm[32];
1: - long unsigned int u_debugreg[8];
1: - long unsigned int error_code;
1: - long unsigned int fault_address;
1: -};
1: -
1: -enum {
1: - HW_BREAKPOINT_LEN_1 = 1,
1: - HW_BREAKPOINT_LEN_2 = 2,
1: - HW_BREAKPOINT_LEN_3 = 3,
1: - HW_BREAKPOINT_LEN_4 = 4,
1: - HW_BREAKPOINT_LEN_5 = 5,
1: - HW_BREAKPOINT_LEN_6 = 6,
1: - HW_BREAKPOINT_LEN_7 = 7,
1: - HW_BREAKPOINT_LEN_8 = 8,
1: -};
1: -
1: -enum {
1: - HW_BREAKPOINT_EMPTY = 0,
1: - HW_BREAKPOINT_R = 1,
1: - HW_BREAKPOINT_W = 2,
1: - HW_BREAKPOINT_RW = 3,
1: - HW_BREAKPOINT_X = 4,
1: - HW_BREAKPOINT_INVALID = 7,
1: + struct user_regs_struct regs;
1: + int u_fpvalid;
1: + int pad0;
1: + struct user_i387_struct i387;
1: + long unsigned int u_tsize;
1: + long unsigned int u_dsize;
1: + long unsigned int u_ssize;
1: + long unsigned int start_code;
1: + long unsigned int start_stack;
1: + long int signal;
1: + int reserved;
1: + int pad1;
1: + long unsigned int u_ar0;
1: + struct user_i387_struct *u_fpstate;
1: + long unsigned int magic;
1: + char u_comm[32];
1: + long unsigned int u_debugreg[8];
1: + long unsigned int error_code;
1: + long unsigned int fault_address;
1: +};
1: +
1: +enum {
1: + HW_BREAKPOINT_LEN_1 = 1,
1: + HW_BREAKPOINT_LEN_2 = 2,
1: + HW_BREAKPOINT_LEN_3 = 3,
1: + HW_BREAKPOINT_LEN_4 = 4,
1: + HW_BREAKPOINT_LEN_5 = 5,
1: + HW_BREAKPOINT_LEN_6 = 6,
1: + HW_BREAKPOINT_LEN_7 = 7,
1: + HW_BREAKPOINT_LEN_8 = 8,
1: +};
1: +
1: +enum {
1: + HW_BREAKPOINT_EMPTY = 0,
1: + HW_BREAKPOINT_R = 1,
1: + HW_BREAKPOINT_W = 2,
1: + HW_BREAKPOINT_RW = 3,
1: + HW_BREAKPOINT_X = 4,
1: + HW_BREAKPOINT_INVALID = 7,
1: };
1:
1: typedef unsigned int u_int;
1: @@ -19845,52 +19992,52 @@ typedef unsigned int u_int;
1: typedef long long unsigned int cycles_t;
1:
1: struct system_counterval_t {
1: - u64 cycles;
1: - struct clocksource *cs;
1: -};
1: -
1: -enum {
1: - WORK_STRUCT_PENDING_BIT = 0,
1: - WORK_STRUCT_DELAYED_BIT = 1,
1: - WORK_STRUCT_PWQ_BIT = 2,
1: - WORK_STRUCT_LINKED_BIT = 3,
1: - WORK_STRUCT_COLOR_SHIFT = 4,
1: - WORK_STRUCT_COLOR_BITS = 4,
1: - WORK_STRUCT_PENDING = 1,
1: - WORK_STRUCT_DELAYED = 2,
1: - WORK_STRUCT_PWQ = 4,
1: - WORK_STRUCT_LINKED = 8,
1: - WORK_STRUCT_STATIC = 0,
1: - WORK_NR_COLORS = 15,
1: - WORK_NO_COLOR = 15,
1: - WORK_CPU_UNBOUND = 64,
1: - WORK_STRUCT_FLAG_BITS = 8,
1: - WORK_OFFQ_FLAG_BASE = 4,
1: - __WORK_OFFQ_CANCELING = 4,
1: - WORK_OFFQ_CANCELING = 16,
1: - WORK_OFFQ_FLAG_BITS = 1,
1: - WORK_OFFQ_POOL_SHIFT = 5,
1: - WORK_OFFQ_LEFT = 59,
1: - WORK_OFFQ_POOL_BITS = 31,
1: - WORK_OFFQ_POOL_NONE = 2147483647,
1: - WORK_STRUCT_FLAG_MASK = 255,
1: - WORK_STRUCT_WQ_DATA_MASK = -256,
1: - WORK_STRUCT_NO_POOL = -32,
1: - WORK_BUSY_PENDING = 1,
1: - WORK_BUSY_RUNNING = 2,
1: - WORKER_DESC_LEN = 24,
1: + u64 cycles;
1: + struct clocksource *cs;
1: +};
1: +
1: +enum {
1: + WORK_STRUCT_PENDING_BIT = 0,
1: + WORK_STRUCT_DELAYED_BIT = 1,
1: + WORK_STRUCT_PWQ_BIT = 2,
1: + WORK_STRUCT_LINKED_BIT = 3,
1: + WORK_STRUCT_COLOR_SHIFT = 4,
1: + WORK_STRUCT_COLOR_BITS = 4,
1: + WORK_STRUCT_PENDING = 1,
1: + WORK_STRUCT_DELAYED = 2,
1: + WORK_STRUCT_PWQ = 4,
1: + WORK_STRUCT_LINKED = 8,
1: + WORK_STRUCT_STATIC = 0,
1: + WORK_NR_COLORS = 15,
1: + WORK_NO_COLOR = 15,
1: + WORK_CPU_UNBOUND = 64,
1: + WORK_STRUCT_FLAG_BITS = 8,
1: + WORK_OFFQ_FLAG_BASE = 4,
1: + __WORK_OFFQ_CANCELING = 4,
1: + WORK_OFFQ_CANCELING = 16,
1: + WORK_OFFQ_FLAG_BITS = 1,
1: + WORK_OFFQ_POOL_SHIFT = 5,
1: + WORK_OFFQ_LEFT = 59,
1: + WORK_OFFQ_POOL_BITS = 31,
1: + WORK_OFFQ_POOL_NONE = 2147483647,
1: + WORK_STRUCT_FLAG_MASK = 255,
1: + WORK_STRUCT_WQ_DATA_MASK = -256,
1: + WORK_STRUCT_NO_POOL = -32,
1: + WORK_BUSY_PENDING = 1,
1: + WORK_BUSY_RUNNING = 2,
1: + WORKER_DESC_LEN = 24,
1: };
1:
1: enum cpufreq_table_sorting {
1: - CPUFREQ_TABLE_UNSORTED = 0,
1: - CPUFREQ_TABLE_SORTED_ASCENDING = 1,
1: - CPUFREQ_TABLE_SORTED_DESCENDING = 2,
1: + CPUFREQ_TABLE_UNSORTED = 0,
1: + CPUFREQ_TABLE_SORTED_ASCENDING = 1,
1: + CPUFREQ_TABLE_SORTED_DESCENDING = 2,
1: };
1:
1: struct cpufreq_cpuinfo {
1: - unsigned int max_freq;
1: - unsigned int min_freq;
1: - unsigned int transition_latency;
1: + unsigned int max_freq;
1: + unsigned int min_freq;
1: + unsigned int transition_latency;
1: };
1:
1: struct cpufreq_stats;
1: @@ -19904,98 +20051,98 @@ struct cpufreq_frequency_table;
1: struct thermal_cooling_device;
1:
1: struct cpufreq_policy {
1: - cpumask_var_t cpus;
1: - cpumask_var_t related_cpus;
1: - cpumask_var_t real_cpus;
1: - unsigned int shared_type;
1: - unsigned int cpu;
1: - struct clk *clk;
1: - struct cpufreq_cpuinfo cpuinfo;
1: - unsigned int min;
1: - unsigned int max;
1: - unsigned int cur;
1: - unsigned int restore_freq;
1: - unsigned int suspend_freq;
1: - unsigned int policy;
1: - unsigned int last_policy;
1: - struct cpufreq_governor *governor;
1: - void *governor_data;
1: - char last_governor[16];
1: - struct work_struct update;
1: - struct freq_constraints constraints;
1: - struct freq_qos_request *min_freq_req;
1: - struct freq_qos_request *max_freq_req;
1: - struct cpufreq_frequency_table *freq_table;
1: - enum cpufreq_table_sorting freq_table_sorted;
1: - struct list_head policy_list;
1: - struct kobject kobj;
1: - struct completion kobj_unregister;
1: - struct rw_semaphore rwsem;
1: - bool fast_switch_possible;
1: - bool fast_switch_enabled;
1: - unsigned int transition_delay_us;
1: - bool dvfs_possible_from_any_cpu;
1: - unsigned int cached_target_freq;
1: - int cached_resolved_idx;
1: - bool transition_ongoing;
1: - spinlock_t transition_lock;
1: - wait_queue_head_t transition_wait;
1: - struct task_struct *transition_task;
1: - struct cpufreq_stats *stats;
1: - void *driver_data;
1: - struct thermal_cooling_device *cdev;
1: - struct notifier_block nb_min;
1: - struct notifier_block nb_max;
1: + cpumask_var_t cpus;
1: + cpumask_var_t related_cpus;
1: + cpumask_var_t real_cpus;
1: + unsigned int shared_type;
1: + unsigned int cpu;
1: + struct clk *clk;
1: + struct cpufreq_cpuinfo cpuinfo;
1: + unsigned int min;
1: + unsigned int max;
1: + unsigned int cur;
1: + unsigned int restore_freq;
1: + unsigned int suspend_freq;
1: + unsigned int policy;
1: + unsigned int last_policy;
1: + struct cpufreq_governor *governor;
1: + void *governor_data;
1: + char last_governor[16];
1: + struct work_struct update;
1: + struct freq_constraints constraints;
1: + struct freq_qos_request *min_freq_req;
1: + struct freq_qos_request *max_freq_req;
1: + struct cpufreq_frequency_table *freq_table;
1: + enum cpufreq_table_sorting freq_table_sorted;
1: + struct list_head policy_list;
1: + struct kobject kobj;
1: + struct completion kobj_unregister;
1: + struct rw_semaphore rwsem;
1: + bool fast_switch_possible;
1: + bool fast_switch_enabled;
1: + unsigned int transition_delay_us;
1: + bool dvfs_possible_from_any_cpu;
1: + unsigned int cached_target_freq;
1: + int cached_resolved_idx;
1: + bool transition_ongoing;
1: + spinlock_t transition_lock;
1: + wait_queue_head_t transition_wait;
1: + struct task_struct *transition_task;
1: + struct cpufreq_stats *stats;
1: + void *driver_data;
1: + struct thermal_cooling_device *cdev;
1: + struct notifier_block nb_min;
1: + struct notifier_block nb_max;
1: };
1:
1: struct cpufreq_governor {
1: - char name[16];
1: - int (*init)(struct cpufreq_policy *);
1: - void (*exit)(struct cpufreq_policy *);
1: - int (*start)(struct cpufreq_policy *);
1: - void (*stop)(struct cpufreq_policy *);
1: - void (*limits)(struct cpufreq_policy *);
1: - ssize_t (*show_setspeed)(struct cpufreq_policy *, char *);
1: - int (*store_setspeed)(struct cpufreq_policy *, unsigned int);
1: - bool dynamic_switching;
1: - struct list_head governor_list;
1: - struct module *owner;
1: + char name[16];
1: + int (*init)(struct cpufreq_policy *);
1: + void (*exit)(struct cpufreq_policy *);
1: + int (*start)(struct cpufreq_policy *);
1: + void (*stop)(struct cpufreq_policy *);
1: + void (*limits)(struct cpufreq_policy *);
1: + ssize_t (*show_setspeed)(struct cpufreq_policy *, char *);
1: + int (*store_setspeed)(struct cpufreq_policy *, unsigned int);
1: + bool dynamic_switching;
1: + struct list_head governor_list;
1: + struct module *owner;
1: };
1:
1: struct cpufreq_frequency_table {
1: - unsigned int flags;
1: - unsigned int driver_data;
1: - unsigned int frequency;
1: + unsigned int flags;
1: + unsigned int driver_data;
1: + unsigned int frequency;
1: };
1:
1: struct cpufreq_freqs {
1: - struct cpufreq_policy *policy;
1: - unsigned int old;
1: - unsigned int new;
1: - u8 flags;
1: + struct cpufreq_policy *policy;
1: + unsigned int old;
1: + unsigned int new;
1: + u8 flags;
1: };
1:
1: struct cyc2ns {
1: - struct cyc2ns_data data[2];
1: - seqcount_t seq;
1: + struct cyc2ns_data data[2];
1: + seqcount_t seq;
1: };
1:
1: struct freq_desc {
1: - u8 msr_plat;
1: - u32 freqs[9];
1: + u8 msr_plat;
1: + u32 freqs[9];
1: };
1:
1: struct dmi_strmatch {
1: - unsigned char slot: 7;
1: - unsigned char exact_match: 1;
1: - char substr[79];
1: + unsigned char slot : 7;
1: + unsigned char exact_match : 1;
1: + char substr[79];
1: };
1:
1: struct dmi_system_id {
1: - int (*callback)(const struct dmi_system_id *);
1: - const char *ident;
1: - struct dmi_strmatch matches[4];
1: - void *driver_data;
1: + int (*callback)(const struct dmi_system_id *);
1: + const char *ident;
1: + struct dmi_strmatch matches[4];
1: + void *driver_data;
1: };
1:
1: struct pdev_archdata {};
1: @@ -20005,47 +20152,47 @@ struct mfd_cell;
1: struct platform_device_id;
1:
1: struct platform_device {
1: - const char *name;
1: - int id;
1: - bool id_auto;
1: - struct device dev;
1: - u64 dma_mask;
1: - u32 num_resources;
1: - struct resource *resource;
1: - const struct platform_device_id *id_entry;
1: - char *driver_override;
1: - struct mfd_cell *mfd_cell;
1: - struct pdev_archdata archdata;
1: + const char *name;
1: + int id;
1: + bool id_auto;
1: + struct device dev;
1: + u64 dma_mask;
1: + u32 num_resources;
1: + struct resource *resource;
1: + const struct platform_device_id *id_entry;
1: + char *driver_override;
1: + struct mfd_cell *mfd_cell;
1: + struct pdev_archdata archdata;
1: };
1:
1: struct platform_device_id {
1: - char name[20];
1: - kernel_ulong_t driver_data;
1: + char name[20];
1: + kernel_ulong_t driver_data;
1: };
1:
1: struct rtc_time {
1: - int tm_sec;
1: - int tm_min;
1: - int tm_hour;
1: - int tm_mday;
1: - int tm_mon;
1: - int tm_year;
1: - int tm_wday;
1: - int tm_yday;
1: - int tm_isdst;
1: + int tm_sec;
1: + int tm_min;
1: + int tm_hour;
1: + int tm_mday;
1: + int tm_mon;
1: + int tm_year;
1: + int tm_wday;
1: + int tm_yday;
1: + int tm_isdst;
1: };
1:
1: struct pnp_device_id {
1: - __u8 id[8];
1: - kernel_ulong_t driver_data;
1: + __u8 id[8];
1: + kernel_ulong_t driver_data;
1: };
1:
1: struct pnp_card_device_id {
1: - __u8 id[8];
1: - kernel_ulong_t driver_data;
1: - struct {
1: - __u8 id[8];
1: - } devs[8];
1: + __u8 id[8];
1: + kernel_ulong_t driver_data;
1: + struct {
1: + __u8 id[8];
1: + } devs[8];
1: };
1:
1: struct pnp_protocol;
1: @@ -20053,129 +20200,129 @@ struct pnp_protocol;
1: struct pnp_id;
1:
1: struct pnp_card {
1: - struct device dev;
1: - unsigned char number;
1: - struct list_head global_list;
1: - struct list_head protocol_list;
1: - struct list_head devices;
1: - struct pnp_protocol *protocol;
1: - struct pnp_id *id;
1: - char name[50];
1: - unsigned char pnpver;
1: - unsigned char productver;
1: - unsigned int serial;
1: - unsigned char checksum;
1: - struct proc_dir_entry *procdir;
1: + struct device dev;
1: + unsigned char number;
1: + struct list_head global_list;
1: + struct list_head protocol_list;
1: + struct list_head devices;
1: + struct pnp_protocol *protocol;
1: + struct pnp_id *id;
1: + char name[50];
1: + unsigned char pnpver;
1: + unsigned char productver;
1: + unsigned int serial;
1: + unsigned char checksum;
1: + struct proc_dir_entry *procdir;
1: };
1:
1: struct pnp_dev;
1:
1: struct pnp_protocol {
1: - struct list_head protocol_list;
1: - char *name;
1: - int (*get)(struct pnp_dev *);
1: - int (*set)(struct pnp_dev *);
1: - int (*disable)(struct pnp_dev *);
1: - bool (*can_wakeup)(struct pnp_dev *);
1: - int (*suspend)(struct pnp_dev *, pm_message_t);
1: - int (*resume)(struct pnp_dev *);
1: - unsigned char number;
1: - struct device dev;
1: - struct list_head cards;
1: - struct list_head devices;
1: + struct list_head protocol_list;
1: + char *name;
1: + int (*get)(struct pnp_dev *);
1: + int (*set)(struct pnp_dev *);
1: + int (*disable)(struct pnp_dev *);
1: + bool (*can_wakeup)(struct pnp_dev *);
1: + int (*suspend)(struct pnp_dev *, pm_message_t);
1: + int (*resume)(struct pnp_dev *);
1: + unsigned char number;
1: + struct device dev;
1: + struct list_head cards;
1: + struct list_head devices;
1: };
1:
1: struct pnp_id {
1: - char id[8];
1: - struct pnp_id *next;
1: + char id[8];
1: + struct pnp_id *next;
1: };
1:
1: struct pnp_card_driver;
1:
1: struct pnp_card_link {
1: - struct pnp_card *card;
1: - struct pnp_card_driver *driver;
1: - void *driver_data;
1: - pm_message_t pm_state;
1: + struct pnp_card *card;
1: + struct pnp_card_driver *driver;
1: + void *driver_data;
1: + pm_message_t pm_state;
1: };
1:
1: struct pnp_driver {
1: - char *name;
1: - const struct pnp_device_id *id_table;
1: - unsigned int flags;
1: - int (*probe)(struct pnp_dev *, const struct pnp_device_id *);
1: - void (*remove)(struct pnp_dev *);
1: - void (*shutdown)(struct pnp_dev *);
1: - int (*suspend)(struct pnp_dev *, pm_message_t);
1: - int (*resume)(struct pnp_dev *);
1: - struct device_driver driver;
1: + char *name;
1: + const struct pnp_device_id *id_table;
1: + unsigned int flags;
1: + int (*probe)(struct pnp_dev *, const struct pnp_device_id *);
1: + void (*remove)(struct pnp_dev *);
1: + void (*shutdown)(struct pnp_dev *);
1: + int (*suspend)(struct pnp_dev *, pm_message_t);
1: + int (*resume)(struct pnp_dev *);
1: + struct device_driver driver;
1: };
1:
1: struct pnp_card_driver {
1: - struct list_head global_list;
1: - char *name;
1: - const struct pnp_card_device_id *id_table;
1: - unsigned int flags;
1: - int (*probe)(struct pnp_card_link *, const struct pnp_card_device_id *);
1: - void (*remove)(struct pnp_card_link *);
1: - int (*suspend)(struct pnp_card_link *, pm_message_t);
1: - int (*resume)(struct pnp_card_link *);
1: - struct pnp_driver link;
1: + struct list_head global_list;
1: + char *name;
1: + const struct pnp_card_device_id *id_table;
1: + unsigned int flags;
1: + int (*probe)(struct pnp_card_link *, const struct pnp_card_device_id *);
1: + void (*remove)(struct pnp_card_link *);
1: + int (*suspend)(struct pnp_card_link *, pm_message_t);
1: + int (*resume)(struct pnp_card_link *);
1: + struct pnp_driver link;
1: };
1:
1: struct pnp_dev {
1: - struct device dev;
1: - u64 dma_mask;
1: - unsigned int number;
1: - int status;
1: - struct list_head global_list;
1: - struct list_head protocol_list;
1: - struct list_head card_list;
1: - struct list_head rdev_list;
1: - struct pnp_protocol *protocol;
1: - struct pnp_card *card;
1: - struct pnp_driver *driver;
1: - struct pnp_card_link *card_link;
1: - struct pnp_id *id;
1: - int active;
1: - int capabilities;
1: - unsigned int num_dependent_sets;
1: - struct list_head resources;
1: - struct list_head options;
1: - char name[50];
1: - int flags;
1: - struct proc_dir_entry *procent;
1: - void *data;
1: + struct device dev;
1: + u64 dma_mask;
1: + unsigned int number;
1: + int status;
1: + struct list_head global_list;
1: + struct list_head protocol_list;
1: + struct list_head card_list;
1: + struct list_head rdev_list;
1: + struct pnp_protocol *protocol;
1: + struct pnp_card *card;
1: + struct pnp_driver *driver;
1: + struct pnp_card_link *card_link;
1: + struct pnp_id *id;
1: + int active;
1: + int capabilities;
1: + unsigned int num_dependent_sets;
1: + struct list_head resources;
1: + struct list_head options;
1: + char name[50];
1: + int flags;
1: + struct proc_dir_entry *procent;
1: + void *data;
1: };
1:
1: typedef struct ldttss_desc tss_desc;
1:
1: enum idle_boot_override {
1: - IDLE_NO_OVERRIDE = 0,
1: - IDLE_HALT = 1,
1: - IDLE_NOMWAIT = 2,
1: - IDLE_POLL = 3,
1: + IDLE_NO_OVERRIDE = 0,
1: + IDLE_HALT = 1,
1: + IDLE_NOMWAIT = 2,
1: + IDLE_POLL = 3,
1: };
1:
1: enum tick_broadcast_mode {
1: - TICK_BROADCAST_OFF = 0,
1: - TICK_BROADCAST_ON = 1,
1: - TICK_BROADCAST_FORCE = 2,
1: + TICK_BROADCAST_OFF = 0,
1: + TICK_BROADCAST_ON = 1,
1: + TICK_BROADCAST_FORCE = 2,
1: };
1:
1: enum tick_broadcast_state {
1: - TICK_BROADCAST_EXIT = 0,
1: - TICK_BROADCAST_ENTER = 1,
1: + TICK_BROADCAST_EXIT = 0,
1: + TICK_BROADCAST_ENTER = 1,
1: };
1:
1: struct cpuidle_state_usage {
1: - long long unsigned int disable;
1: - long long unsigned int usage;
1: - u64 time_ns;
1: - long long unsigned int above;
1: - long long unsigned int below;
1: - long long unsigned int s2idle_usage;
1: - long long unsigned int s2idle_time;
1: + long long unsigned int disable;
1: + long long unsigned int usage;
1: + u64 time_ns;
1: + long long unsigned int above;
1: + long long unsigned int below;
1: + long long unsigned int s2idle_usage;
1: + long long unsigned int s2idle_time;
1: };
1:
1: struct cpuidle_driver_kobj;
1: @@ -20185,807 +20332,817 @@ struct cpuidle_state_kobj;
1: struct cpuidle_device_kobj;
1:
1: struct cpuidle_device {
1: - unsigned int registered: 1;
1: - unsigned int enabled: 1;
1: - unsigned int poll_time_limit: 1;
1: - unsigned int cpu;
1: - ktime_t next_hrtimer;
1: - int last_state_idx;
1: - u64 last_residency_ns;
1: - u64 poll_limit_ns;
1: - u64 forced_idle_latency_limit_ns;
1: - struct cpuidle_state_usage states_usage[10];
1: - struct cpuidle_state_kobj *kobjs[10];
1: - struct cpuidle_driver_kobj *kobj_driver;
1: - struct cpuidle_device_kobj *kobj_dev;
1: - struct list_head device_list;
1: + unsigned int registered : 1;
1: + unsigned int enabled : 1;
1: + unsigned int poll_time_limit : 1;
1: + unsigned int cpu;
1: + ktime_t next_hrtimer;
1: + int last_state_idx;
1: + u64 last_residency_ns;
1: + u64 poll_limit_ns;
1: + u64 forced_idle_latency_limit_ns;
1: + struct cpuidle_state_usage states_usage[10];
1: + struct cpuidle_state_kobj *kobjs[10];
1: + struct cpuidle_driver_kobj *kobj_driver;
1: + struct cpuidle_device_kobj *kobj_dev;
1: + struct list_head device_list;
1: };
1:
1: struct inactive_task_frame {
1: - long unsigned int r15;
1: - long unsigned int r14;
1: - long unsigned int r13;
1: - long unsigned int r12;
1: - long unsigned int bx;
1: - long unsigned int bp;
1: - long unsigned int ret_addr;
1: + long unsigned int r15;
1: + long unsigned int r14;
1: + long unsigned int r13;
1: + long unsigned int r12;
1: + long unsigned int bx;
1: + long unsigned int bp;
1: + long unsigned int ret_addr;
1: };
1:
1: struct fork_frame {
1: - struct inactive_task_frame frame;
1: - struct pt_regs regs;
1: + struct inactive_task_frame frame;
1: + struct pt_regs regs;
1: };
1:
1: struct ssb_state {
1: - struct ssb_state *shared_state;
1: - raw_spinlock_t lock;
1: - unsigned int disable_state;
1: - long unsigned int local_state;
1: + struct ssb_state *shared_state;
1: + raw_spinlock_t lock;
1: + unsigned int disable_state;
1: + long unsigned int local_state;
1: };
1:
1: struct trace_event_raw_x86_fpu {
1: - struct trace_entry ent;
1: - struct fpu *fpu;
1: - bool load_fpu;
1: - u64 xfeatures;
1: - u64 xcomp_bv;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct fpu *fpu;
1: + bool load_fpu;
1: + u64 xfeatures;
1: + u64 xcomp_bv;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_x86_fpu {};
1:
1: struct _fpreg {
1: - __u16 significand[4];
1: - __u16 exponent;
1: + __u16 significand[4];
1: + __u16 exponent;
1: };
1:
1: struct _fpxreg {
1: - __u16 significand[4];
1: - __u16 exponent;
1: - __u16 padding[3];
1: + __u16 significand[4];
1: + __u16 exponent;
1: + __u16 padding[3];
1: };
1:
1: struct user_i387_ia32_struct {
1: - u32 cwd;
1: - u32 swd;
1: - u32 twd;
1: - u32 fip;
1: - u32 fcs;
1: - u32 foo;
1: - u32 fos;
1: - u32 st_space[20];
1: + u32 cwd;
1: + u32 swd;
1: + u32 twd;
1: + u32 fip;
1: + u32 fcs;
1: + u32 foo;
1: + u32 fos;
1: + u32 st_space[20];
1: };
1:
1: struct user_regset;
1:
1: -typedef int user_regset_active_fn(struct task_struct *, const struct user_regset *);
1: +typedef int user_regset_active_fn(struct task_struct *,
1: + const struct user_regset *);
1:
1: -typedef int user_regset_get_fn(struct task_struct *, const struct user_regset *, unsigned int, unsigned int, void *, void *);
1: +typedef int user_regset_get_fn(struct task_struct *, const struct user_regset *,
1: + unsigned int, unsigned int, void *, void *);
1:
1: -typedef int user_regset_set_fn(struct task_struct *, const struct user_regset *, unsigned int, unsigned int, const void *, const void *);
1: +typedef int user_regset_set_fn(struct task_struct *, const struct user_regset *,
1: + unsigned int, unsigned int, const void *,
1: + const void *);
1:
1: -typedef int user_regset_writeback_fn(struct task_struct *, const struct user_regset *, int);
1: +typedef int user_regset_writeback_fn(struct task_struct *,
1: + const struct user_regset *, int);
1:
1: -typedef unsigned int user_regset_get_size_fn(struct task_struct *, const struct user_regset *);
1: +typedef unsigned int user_regset_get_size_fn(struct task_struct *,
1: + const struct user_regset *);
1:
1: struct user_regset {
1: - user_regset_get_fn *get;
1: - user_regset_set_fn *set;
1: - user_regset_active_fn *active;
1: - user_regset_writeback_fn *writeback;
1: - user_regset_get_size_fn *get_size;
1: - unsigned int n;
1: - unsigned int size;
1: - unsigned int align;
1: - unsigned int bias;
1: - unsigned int core_note_type;
1: + user_regset_get_fn *get;
1: + user_regset_set_fn *set;
1: + user_regset_active_fn *active;
1: + user_regset_writeback_fn *writeback;
1: + user_regset_get_size_fn *get_size;
1: + unsigned int n;
1: + unsigned int size;
1: + unsigned int align;
1: + unsigned int bias;
1: + unsigned int core_note_type;
1: };
1:
1: struct _fpx_sw_bytes {
1: - __u32 magic1;
1: - __u32 extended_size;
1: - __u64 xfeatures;
1: - __u32 xstate_size;
1: - __u32 padding[7];
1: + __u32 magic1;
1: + __u32 extended_size;
1: + __u64 xfeatures;
1: + __u32 xstate_size;
1: + __u32 padding[7];
1: };
1:
1: struct _xmmreg {
1: - __u32 element[4];
1: + __u32 element[4];
1: };
1:
1: struct _fpstate_32 {
1: - __u32 cw;
1: - __u32 sw;
1: - __u32 tag;
1: - __u32 ipoff;
1: - __u32 cssel;
1: - __u32 dataoff;
1: - __u32 datasel;
1: - struct _fpreg _st[8];
1: - __u16 status;
1: - __u16 magic;
1: - __u32 _fxsr_env[6];
1: - __u32 mxcsr;
1: - __u32 reserved;
1: - struct _fpxreg _fxsr_st[8];
1: - struct _xmmreg _xmm[8];
1: - union {
1: - __u32 padding1[44];
1: - __u32 padding[44];
1: - };
1: - union {
1: - __u32 padding2[12];
1: - struct _fpx_sw_bytes sw_reserved;
1: - };
1: + __u32 cw;
1: + __u32 sw;
1: + __u32 tag;
1: + __u32 ipoff;
1: + __u32 cssel;
1: + __u32 dataoff;
1: + __u32 datasel;
1: + struct _fpreg _st[8];
1: + __u16 status;
1: + __u16 magic;
1: + __u32 _fxsr_env[6];
1: + __u32 mxcsr;
1: + __u32 reserved;
1: + struct _fpxreg _fxsr_st[8];
1: + struct _xmmreg _xmm[8];
1: + union {
1: + __u32 padding1[44];
1: + __u32 padding[44];
1: + };
1: + union {
1: + __u32 padding2[12];
1: + struct _fpx_sw_bytes sw_reserved;
1: + };
1: };
1:
1: typedef u32 compat_ulong_t;
1:
1: struct user_regset_view {
1: - const char *name;
1: - const struct user_regset *regsets;
1: - unsigned int n;
1: - u32 e_flags;
1: - u16 e_machine;
1: - u8 ei_osabi;
1: + const char *name;
1: + const struct user_regset *regsets;
1: + unsigned int n;
1: + u32 e_flags;
1: + u16 e_machine;
1: + u8 ei_osabi;
1: };
1:
1: enum x86_regset {
1: - REGSET_GENERAL = 0,
1: - REGSET_FP = 1,
1: - REGSET_XFP = 2,
1: - REGSET_IOPERM64 = 2,
1: - REGSET_XSTATE = 3,
1: - REGSET_TLS = 4,
1: - REGSET_IOPERM32 = 5,
1: + REGSET_GENERAL = 0,
1: + REGSET_FP = 1,
1: + REGSET_XFP = 2,
1: + REGSET_IOPERM64 = 2,
1: + REGSET_XSTATE = 3,
1: + REGSET_TLS = 4,
1: + REGSET_IOPERM32 = 5,
1: };
1:
1: struct pt_regs_offset {
1: - const char *name;
1: - int offset;
1: + const char *name;
1: + int offset;
1: };
1:
1: typedef bool (*stack_trace_consume_fn)(void *, long unsigned int, bool);
1:
1: struct stack_frame_user {
1: - const void *next_fp;
1: - long unsigned int ret_addr;
1: + const void *next_fp;
1: + long unsigned int ret_addr;
1: };
1:
1: enum cache_type {
1: - CACHE_TYPE_NOCACHE = 0,
1: - CACHE_TYPE_INST = 1,
1: - CACHE_TYPE_DATA = 2,
1: - CACHE_TYPE_SEPARATE = 3,
1: - CACHE_TYPE_UNIFIED = 4,
1: + CACHE_TYPE_NOCACHE = 0,
1: + CACHE_TYPE_INST = 1,
1: + CACHE_TYPE_DATA = 2,
1: + CACHE_TYPE_SEPARATE = 3,
1: + CACHE_TYPE_UNIFIED = 4,
1: };
1:
1: struct cacheinfo {
1: - unsigned int id;
1: - enum cache_type type;
1: - unsigned int level;
1: - unsigned int coherency_line_size;
1: - unsigned int number_of_sets;
1: - unsigned int ways_of_associativity;
1: - unsigned int physical_line_partition;
1: - unsigned int size;
1: - cpumask_t shared_cpu_map;
1: - unsigned int attributes;
1: - void *fw_token;
1: - bool disable_sysfs;
1: - void *priv;
1: + unsigned int id;
1: + enum cache_type type;
1: + unsigned int level;
1: + unsigned int coherency_line_size;
1: + unsigned int number_of_sets;
1: + unsigned int ways_of_associativity;
1: + unsigned int physical_line_partition;
1: + unsigned int size;
1: + cpumask_t shared_cpu_map;
1: + unsigned int attributes;
1: + void *fw_token;
1: + bool disable_sysfs;
1: + void *priv;
1: };
1:
1: struct cpu_cacheinfo {
1: - struct cacheinfo *info_list;
1: - unsigned int num_levels;
1: - unsigned int num_leaves;
1: - bool cpu_map_populated;
1: + struct cacheinfo *info_list;
1: + unsigned int num_levels;
1: + unsigned int num_leaves;
1: + bool cpu_map_populated;
1: };
1:
1: struct amd_l3_cache {
1: - unsigned int indices;
1: - u8 subcaches[4];
1: + unsigned int indices;
1: + u8 subcaches[4];
1: };
1:
1: struct threshold_block {
1: - unsigned int block;
1: - unsigned int bank;
1: - unsigned int cpu;
1: - u32 address;
1: - u16 interrupt_enable;
1: - bool interrupt_capable;
1: - u16 threshold_limit;
1: - struct kobject kobj;
1: - struct list_head miscj;
1: + unsigned int block;
1: + unsigned int bank;
1: + unsigned int cpu;
1: + u32 address;
1: + u16 interrupt_enable;
1: + bool interrupt_capable;
1: + u16 threshold_limit;
1: + struct kobject kobj;
1: + struct list_head miscj;
1: };
1:
1: struct threshold_bank {
1: - struct kobject *kobj;
1: - struct threshold_block *blocks;
1: - refcount_t cpus;
1: + struct kobject *kobj;
1: + struct threshold_block *blocks;
1: + refcount_t cpus;
1: };
1:
1: struct amd_northbridge {
1: - struct pci_dev *root;
1: - struct pci_dev *misc;
1: - struct pci_dev *link;
1: - struct amd_l3_cache l3_cache;
1: - struct threshold_bank *bank4;
1: + struct pci_dev *root;
1: + struct pci_dev *misc;
1: + struct pci_dev *link;
1: + struct amd_l3_cache l3_cache;
1: + struct threshold_bank *bank4;
1: };
1:
1: struct _cache_table {
1: - unsigned char descriptor;
1: - char cache_type;
1: - short int size;
1: + unsigned char descriptor;
1: + char cache_type;
1: + short int size;
1: };
1:
1: enum _cache_type {
1: - CTYPE_NULL = 0,
1: - CTYPE_DATA = 1,
1: - CTYPE_INST = 2,
1: - CTYPE_UNIFIED = 3,
1: + CTYPE_NULL = 0,
1: + CTYPE_DATA = 1,
1: + CTYPE_INST = 2,
1: + CTYPE_UNIFIED = 3,
1: };
1:
1: union _cpuid4_leaf_eax {
1: - struct {
1: - enum _cache_type type: 5;
1: - unsigned int level: 3;
1: - unsigned int is_self_initializing: 1;
1: - unsigned int is_fully_associative: 1;
1: - unsigned int reserved: 4;
1: - unsigned int num_threads_sharing: 12;
1: - unsigned int num_cores_on_die: 6;
1: - } split;
1: - u32 full;
1: + struct {
1: + enum _cache_type type : 5;
1: + unsigned int level : 3;
1: + unsigned int is_self_initializing : 1;
1: + unsigned int is_fully_associative : 1;
1: + unsigned int reserved : 4;
1: + unsigned int num_threads_sharing : 12;
1: + unsigned int num_cores_on_die : 6;
1: + } split;
1: + u32 full;
1: };
1:
1: union _cpuid4_leaf_ebx {
1: - struct {
1: - unsigned int coherency_line_size: 12;
1: - unsigned int physical_line_partition: 10;
1: - unsigned int ways_of_associativity: 10;
1: - } split;
1: - u32 full;
1: + struct {
1: + unsigned int coherency_line_size : 12;
1: + unsigned int physical_line_partition : 10;
1: + unsigned int ways_of_associativity : 10;
1: + } split;
1: + u32 full;
1: };
1:
1: union _cpuid4_leaf_ecx {
1: - struct {
1: - unsigned int number_of_sets: 32;
1: - } split;
1: - u32 full;
1: + struct {
1: + unsigned int number_of_sets : 32;
1: + } split;
1: + u32 full;
1: };
1:
1: struct _cpuid4_info_regs {
1: - union _cpuid4_leaf_eax eax;
1: - union _cpuid4_leaf_ebx ebx;
1: - union _cpuid4_leaf_ecx ecx;
1: - unsigned int id;
1: - long unsigned int size;
1: - struct amd_northbridge *nb;
1: + union _cpuid4_leaf_eax eax;
1: + union _cpuid4_leaf_ebx ebx;
1: + union _cpuid4_leaf_ecx ecx;
1: + unsigned int id;
1: + long unsigned int size;
1: + struct amd_northbridge *nb;
1: };
1:
1: union l1_cache {
1: - struct {
1: - unsigned int line_size: 8;
1: - unsigned int lines_per_tag: 8;
1: - unsigned int assoc: 8;
1: - unsigned int size_in_kb: 8;
1: - };
1: - unsigned int val;
1: + struct {
1: + unsigned int line_size : 8;
1: + unsigned int lines_per_tag : 8;
1: + unsigned int assoc : 8;
1: + unsigned int size_in_kb : 8;
1: + };
1: + unsigned int val;
1: };
1:
1: union l2_cache {
1: - struct {
1: - unsigned int line_size: 8;
1: - unsigned int lines_per_tag: 4;
1: - unsigned int assoc: 4;
1: - unsigned int size_in_kb: 16;
1: - };
1: - unsigned int val;
1: + struct {
1: + unsigned int line_size : 8;
1: + unsigned int lines_per_tag : 4;
1: + unsigned int assoc : 4;
1: + unsigned int size_in_kb : 16;
1: + };
1: + unsigned int val;
1: };
1:
1: union l3_cache {
1: - struct {
1: - unsigned int line_size: 8;
1: - unsigned int lines_per_tag: 4;
1: - unsigned int assoc: 4;
1: - unsigned int res: 2;
1: - unsigned int size_encoded: 14;
1: - };
1: - unsigned int val;
1: + struct {
1: + unsigned int line_size : 8;
1: + unsigned int lines_per_tag : 4;
1: + unsigned int assoc : 4;
1: + unsigned int res : 2;
1: + unsigned int size_encoded : 14;
1: + };
1: + unsigned int val;
1: };
1:
1: struct cpuid_bit {
1: - u16 feature;
1: - u8 reg;
1: - u8 bit;
1: - u32 level;
1: - u32 sub_leaf;
1: + u16 feature;
1: + u8 reg;
1: + u8 bit;
1: + u32 level;
1: + u32 sub_leaf;
1: };
1:
1: enum cpuid_leafs {
1: - CPUID_1_EDX = 0,
1: - CPUID_8000_0001_EDX = 1,
1: - CPUID_8086_0001_EDX = 2,
1: - CPUID_LNX_1 = 3,
1: - CPUID_1_ECX = 4,
1: - CPUID_C000_0001_EDX = 5,
1: - CPUID_8000_0001_ECX = 6,
1: - CPUID_LNX_2 = 7,
1: - CPUID_LNX_3 = 8,
1: - CPUID_7_0_EBX = 9,
1: - CPUID_D_1_EAX = 10,
1: - CPUID_LNX_4 = 11,
1: - CPUID_7_1_EAX = 12,
1: - CPUID_8000_0008_EBX = 13,
1: - CPUID_6_EAX = 14,
1: - CPUID_8000_000A_EDX = 15,
1: - CPUID_7_ECX = 16,
1: - CPUID_8000_0007_EBX = 17,
1: - CPUID_7_EDX = 18,
1: + CPUID_1_EDX = 0,
1: + CPUID_8000_0001_EDX = 1,
1: + CPUID_8086_0001_EDX = 2,
1: + CPUID_LNX_1 = 3,
1: + CPUID_1_ECX = 4,
1: + CPUID_C000_0001_EDX = 5,
1: + CPUID_8000_0001_ECX = 6,
1: + CPUID_LNX_2 = 7,
1: + CPUID_LNX_3 = 8,
1: + CPUID_7_0_EBX = 9,
1: + CPUID_D_1_EAX = 10,
1: + CPUID_LNX_4 = 11,
1: + CPUID_7_1_EAX = 12,
1: + CPUID_8000_0008_EBX = 13,
1: + CPUID_6_EAX = 14,
1: + CPUID_8000_000A_EDX = 15,
1: + CPUID_7_ECX = 16,
1: + CPUID_8000_0007_EBX = 17,
1: + CPUID_7_EDX = 18,
1: };
1:
1: struct cpu_dev {
1: - const char *c_vendor;
1: - const char *c_ident[2];
1: - void (*c_early_init)(struct cpuinfo_x86 *);
1: - void (*c_bsp_init)(struct cpuinfo_x86 *);
1: - void (*c_init)(struct cpuinfo_x86 *);
1: - void (*c_identify)(struct cpuinfo_x86 *);
1: - void (*c_detect_tlb)(struct cpuinfo_x86 *);
1: - int c_x86_vendor;
1: + const char *c_vendor;
1: + const char *c_ident[2];
1: + void (*c_early_init)(struct cpuinfo_x86 *);
1: + void (*c_bsp_init)(struct cpuinfo_x86 *);
1: + void (*c_init)(struct cpuinfo_x86 *);
1: + void (*c_identify)(struct cpuinfo_x86 *);
1: + void (*c_detect_tlb)(struct cpuinfo_x86 *);
1: + int c_x86_vendor;
1: };
1:
1: struct cpuid_dependent_feature {
1: - u32 feature;
1: - u32 level;
1: + u32 feature;
1: + u32 level;
1: };
1:
1: enum spectre_v2_mitigation {
1: - SPECTRE_V2_NONE = 0,
1: - SPECTRE_V2_RETPOLINE_GENERIC = 1,
1: - SPECTRE_V2_RETPOLINE_AMD = 2,
1: - SPECTRE_V2_IBRS_ENHANCED = 3,
1: + SPECTRE_V2_NONE = 0,
1: + SPECTRE_V2_RETPOLINE_GENERIC = 1,
1: + SPECTRE_V2_RETPOLINE_AMD = 2,
1: + SPECTRE_V2_IBRS_ENHANCED = 3,
1: };
1:
1: enum spectre_v2_user_mitigation {
1: - SPECTRE_V2_USER_NONE = 0,
1: - SPECTRE_V2_USER_STRICT = 1,
1: - SPECTRE_V2_USER_STRICT_PREFERRED = 2,
1: - SPECTRE_V2_USER_PRCTL = 3,
1: - SPECTRE_V2_USER_SECCOMP = 4,
1: + SPECTRE_V2_USER_NONE = 0,
1: + SPECTRE_V2_USER_STRICT = 1,
1: + SPECTRE_V2_USER_STRICT_PREFERRED = 2,
1: + SPECTRE_V2_USER_PRCTL = 3,
1: + SPECTRE_V2_USER_SECCOMP = 4,
1: };
1:
1: enum ssb_mitigation {
1: - SPEC_STORE_BYPASS_NONE = 0,
1: - SPEC_STORE_BYPASS_DISABLE = 1,
1: - SPEC_STORE_BYPASS_PRCTL = 2,
1: - SPEC_STORE_BYPASS_SECCOMP = 3,
1: + SPEC_STORE_BYPASS_NONE = 0,
1: + SPEC_STORE_BYPASS_DISABLE = 1,
1: + SPEC_STORE_BYPASS_PRCTL = 2,
1: + SPEC_STORE_BYPASS_SECCOMP = 3,
1: };
1:
1: enum l1tf_mitigations {
1: - L1TF_MITIGATION_OFF = 0,
1: - L1TF_MITIGATION_FLUSH_NOWARN = 1,
1: - L1TF_MITIGATION_FLUSH = 2,
1: - L1TF_MITIGATION_FLUSH_NOSMT = 3,
1: - L1TF_MITIGATION_FULL = 4,
1: - L1TF_MITIGATION_FULL_FORCE = 5,
1: + L1TF_MITIGATION_OFF = 0,
1: + L1TF_MITIGATION_FLUSH_NOWARN = 1,
1: + L1TF_MITIGATION_FLUSH = 2,
1: + L1TF_MITIGATION_FLUSH_NOSMT = 3,
1: + L1TF_MITIGATION_FULL = 4,
1: + L1TF_MITIGATION_FULL_FORCE = 5,
1: };
1:
1: enum mds_mitigations {
1: - MDS_MITIGATION_OFF = 0,
1: - MDS_MITIGATION_FULL = 1,
1: - MDS_MITIGATION_VMWERV = 2,
1: + MDS_MITIGATION_OFF = 0,
1: + MDS_MITIGATION_FULL = 1,
1: + MDS_MITIGATION_VMWERV = 2,
1: };
1:
1: enum taa_mitigations {
1: - TAA_MITIGATION_OFF = 0,
1: - TAA_MITIGATION_UCODE_NEEDED = 1,
1: - TAA_MITIGATION_VERW = 2,
1: - TAA_MITIGATION_TSX_DISABLED = 3,
1: + TAA_MITIGATION_OFF = 0,
1: + TAA_MITIGATION_UCODE_NEEDED = 1,
1: + TAA_MITIGATION_VERW = 2,
1: + TAA_MITIGATION_TSX_DISABLED = 3,
1: };
1:
1: enum cpuhp_smt_control {
1: - CPU_SMT_ENABLED = 0,
1: - CPU_SMT_DISABLED = 1,
1: - CPU_SMT_FORCE_DISABLED = 2,
1: - CPU_SMT_NOT_SUPPORTED = 3,
1: - CPU_SMT_NOT_IMPLEMENTED = 4,
1: + CPU_SMT_ENABLED = 0,
1: + CPU_SMT_DISABLED = 1,
1: + CPU_SMT_FORCE_DISABLED = 2,
1: + CPU_SMT_NOT_SUPPORTED = 3,
1: + CPU_SMT_NOT_IMPLEMENTED = 4,
1: };
1:
1: enum vmx_l1d_flush_state {
1: - VMENTER_L1D_FLUSH_AUTO = 0,
1: - VMENTER_L1D_FLUSH_NEVER = 1,
1: - VMENTER_L1D_FLUSH_COND = 2,
1: - VMENTER_L1D_FLUSH_ALWAYS = 3,
1: - VMENTER_L1D_FLUSH_EPT_DISABLED = 4,
1: - VMENTER_L1D_FLUSH_NOT_REQUIRED = 5,
1: + VMENTER_L1D_FLUSH_AUTO = 0,
1: + VMENTER_L1D_FLUSH_NEVER = 1,
1: + VMENTER_L1D_FLUSH_COND = 2,
1: + VMENTER_L1D_FLUSH_ALWAYS = 3,
1: + VMENTER_L1D_FLUSH_EPT_DISABLED = 4,
1: + VMENTER_L1D_FLUSH_NOT_REQUIRED = 5,
1: };
1:
1: enum x86_hypervisor_type {
1: - X86_HYPER_NATIVE = 0,
1: - X86_HYPER_VMWARE = 1,
1: - X86_HYPER_MS_HYPERV = 2,
1: - X86_HYPER_XEN_PV = 3,
1: - X86_HYPER_XEN_HVM = 4,
1: - X86_HYPER_KVM = 5,
1: - X86_HYPER_JAILHOUSE = 6,
1: - X86_HYPER_ACRN = 7,
1: + X86_HYPER_NATIVE = 0,
1: + X86_HYPER_VMWARE = 1,
1: + X86_HYPER_MS_HYPERV = 2,
1: + X86_HYPER_XEN_PV = 3,
1: + X86_HYPER_XEN_HVM = 4,
1: + X86_HYPER_KVM = 5,
1: + X86_HYPER_JAILHOUSE = 6,
1: + X86_HYPER_ACRN = 7,
1: };
1:
1: enum spectre_v1_mitigation {
1: - SPECTRE_V1_MITIGATION_NONE = 0,
1: - SPECTRE_V1_MITIGATION_AUTO = 1,
1: + SPECTRE_V1_MITIGATION_NONE = 0,
1: + SPECTRE_V1_MITIGATION_AUTO = 1,
1: };
1:
1: enum spectre_v2_mitigation_cmd {
1: - SPECTRE_V2_CMD_NONE = 0,
1: - SPECTRE_V2_CMD_AUTO = 1,
1: - SPECTRE_V2_CMD_FORCE = 2,
1: - SPECTRE_V2_CMD_RETPOLINE = 3,
1: - SPECTRE_V2_CMD_RETPOLINE_GENERIC = 4,
1: - SPECTRE_V2_CMD_RETPOLINE_AMD = 5,
1: + SPECTRE_V2_CMD_NONE = 0,
1: + SPECTRE_V2_CMD_AUTO = 1,
1: + SPECTRE_V2_CMD_FORCE = 2,
1: + SPECTRE_V2_CMD_RETPOLINE = 3,
1: + SPECTRE_V2_CMD_RETPOLINE_GENERIC = 4,
1: + SPECTRE_V2_CMD_RETPOLINE_AMD = 5,
1: };
1:
1: enum spectre_v2_user_cmd {
1: - SPECTRE_V2_USER_CMD_NONE = 0,
1: - SPECTRE_V2_USER_CMD_AUTO = 1,
1: - SPECTRE_V2_USER_CMD_FORCE = 2,
1: - SPECTRE_V2_USER_CMD_PRCTL = 3,
1: - SPECTRE_V2_USER_CMD_PRCTL_IBPB = 4,
1: - SPECTRE_V2_USER_CMD_SECCOMP = 5,
1: - SPECTRE_V2_USER_CMD_SECCOMP_IBPB = 6,
1: + SPECTRE_V2_USER_CMD_NONE = 0,
1: + SPECTRE_V2_USER_CMD_AUTO = 1,
1: + SPECTRE_V2_USER_CMD_FORCE = 2,
1: + SPECTRE_V2_USER_CMD_PRCTL = 3,
1: + SPECTRE_V2_USER_CMD_PRCTL_IBPB = 4,
1: + SPECTRE_V2_USER_CMD_SECCOMP = 5,
1: + SPECTRE_V2_USER_CMD_SECCOMP_IBPB = 6,
1: };
1:
1: enum ssb_mitigation_cmd {
1: - SPEC_STORE_BYPASS_CMD_NONE = 0,
1: - SPEC_STORE_BYPASS_CMD_AUTO = 1,
1: - SPEC_STORE_BYPASS_CMD_ON = 2,
1: - SPEC_STORE_BYPASS_CMD_PRCTL = 3,
1: - SPEC_STORE_BYPASS_CMD_SECCOMP = 4,
1: + SPEC_STORE_BYPASS_CMD_NONE = 0,
1: + SPEC_STORE_BYPASS_CMD_AUTO = 1,
1: + SPEC_STORE_BYPASS_CMD_ON = 2,
1: + SPEC_STORE_BYPASS_CMD_PRCTL = 3,
1: + SPEC_STORE_BYPASS_CMD_SECCOMP = 4,
1: };
1:
1: enum hk_flags {
1: - HK_FLAG_TIMER = 1,
1: - HK_FLAG_RCU = 2,
1: - HK_FLAG_MISC = 4,
1: - HK_FLAG_SCHED = 8,
1: - HK_FLAG_TICK = 16,
1: - HK_FLAG_DOMAIN = 32,
1: - HK_FLAG_WQ = 64,
1: + HK_FLAG_TIMER = 1,
1: + HK_FLAG_RCU = 2,
1: + HK_FLAG_MISC = 4,
1: + HK_FLAG_SCHED = 8,
1: + HK_FLAG_TICK = 16,
1: + HK_FLAG_DOMAIN = 32,
1: + HK_FLAG_WQ = 64,
1: };
1:
1: struct aperfmperf_sample {
1: - unsigned int khz;
1: - ktime_t time;
1: - u64 aperf;
1: - u64 mperf;
1: + unsigned int khz;
1: + ktime_t time;
1: + u64 aperf;
1: + u64 mperf;
1: };
1:
1: struct cpuid_dep {
1: - unsigned int feature;
1: - unsigned int depends;
1: + unsigned int feature;
1: + unsigned int depends;
1: };
1:
1: struct _tlb_table {
1: - unsigned char descriptor;
1: - char tlb_type;
1: - unsigned int entries;
1: - char info[128];
1: + unsigned char descriptor;
1: + char tlb_type;
1: + unsigned int entries;
1: + char info[128];
1: };
1:
1: enum tsx_ctrl_states {
1: - TSX_CTRL_ENABLE = 0,
1: - TSX_CTRL_DISABLE = 1,
1: - TSX_CTRL_NOT_SUPPORTED = 2,
1: + TSX_CTRL_ENABLE = 0,
1: + TSX_CTRL_DISABLE = 1,
1: + TSX_CTRL_NOT_SUPPORTED = 2,
1: };
1:
1: struct sku_microcode {
1: - u8 model;
1: - u8 stepping;
1: - u32 microcode;
1: + u8 model;
1: + u8 stepping;
1: + u32 microcode;
1: };
1:
1: struct cpuid_regs {
1: - u32 eax;
1: - u32 ebx;
1: - u32 ecx;
1: - u32 edx;
1: + u32 eax;
1: + u32 ebx;
1: + u32 ecx;
1: + u32 edx;
1: };
1:
1: enum pconfig_target {
1: - INVALID_TARGET = 0,
1: - MKTME_TARGET = 1,
1: - PCONFIG_TARGET_NR = 2,
1: + INVALID_TARGET = 0,
1: + MKTME_TARGET = 1,
1: + PCONFIG_TARGET_NR = 2,
1: };
1:
1: enum {
1: - PCONFIG_CPUID_SUBLEAF_INVALID = 0,
1: - PCONFIG_CPUID_SUBLEAF_TARGETID = 1,
1: + PCONFIG_CPUID_SUBLEAF_INVALID = 0,
1: + PCONFIG_CPUID_SUBLEAF_TARGETID = 1,
1: };
1:
1: typedef u8 pto_T_____4;
1:
1: enum mf_flags {
1: - MF_COUNT_INCREASED = 1,
1: - MF_ACTION_REQUIRED = 2,
1: - MF_MUST_KILL = 4,
1: - MF_SOFT_OFFLINE = 8,
1: + MF_COUNT_INCREASED = 1,
1: + MF_ACTION_REQUIRED = 2,
1: + MF_MUST_KILL = 4,
1: + MF_SOFT_OFFLINE = 8,
1: };
1:
1: struct mce {
1: - __u64 status;
1: - __u64 misc;
1: - __u64 addr;
1: - __u64 mcgstatus;
1: - __u64 ip;
1: - __u64 tsc;
1: - __u64 time;
1: - __u8 cpuvendor;
1: - __u8 inject_flags;
1: - __u8 severity;
1: - __u8 pad;
1: - __u32 cpuid;
1: - __u8 cs;
1: - __u8 bank;
1: - __u8 cpu;
1: - __u8 finished;
1: - __u32 extcpu;
1: - __u32 socketid;
1: - __u32 apicid;
1: - __u64 mcgcap;
1: - __u64 synd;
1: - __u64 ipid;
1: - __u64 ppin;
1: - __u32 microcode;
1: + __u64 status;
1: + __u64 misc;
1: + __u64 addr;
1: + __u64 mcgstatus;
1: + __u64 ip;
1: + __u64 tsc;
1: + __u64 time;
1: + __u8 cpuvendor;
1: + __u8 inject_flags;
1: + __u8 severity;
1: + __u8 pad;
1: + __u32 cpuid;
1: + __u8 cs;
1: + __u8 bank;
1: + __u8 cpu;
1: + __u8 finished;
1: + __u32 extcpu;
1: + __u32 socketid;
1: + __u32 apicid;
1: + __u64 mcgcap;
1: + __u64 synd;
1: + __u64 ipid;
1: + __u64 ppin;
1: + __u32 microcode;
1: };
1:
1: enum mce_notifier_prios {
1: - MCE_PRIO_FIRST = 2147483647,
1: - MCE_PRIO_SRAO = 2147483646,
1: - MCE_PRIO_EXTLOG = 2147483645,
1: - MCE_PRIO_NFIT = 2147483644,
1: - MCE_PRIO_EDAC = 2147483643,
1: - MCE_PRIO_MCELOG = 1,
1: - MCE_PRIO_LOWEST = 0,
1: + MCE_PRIO_FIRST = 2147483647,
1: + MCE_PRIO_SRAO = 2147483646,
1: + MCE_PRIO_EXTLOG = 2147483645,
1: + MCE_PRIO_NFIT = 2147483644,
1: + MCE_PRIO_EDAC = 2147483643,
1: + MCE_PRIO_MCELOG = 1,
1: + MCE_PRIO_LOWEST = 0,
1: };
1:
1: typedef long unsigned int mce_banks_t[1];
1:
1: enum mcp_flags {
1: - MCP_TIMESTAMP = 1,
1: - MCP_UC = 2,
1: - MCP_DONTLOG = 4,
1: + MCP_TIMESTAMP = 1,
1: + MCP_UC = 2,
1: + MCP_DONTLOG = 4,
1: };
1:
1: enum severity_level {
1: - MCE_NO_SEVERITY = 0,
1: - MCE_DEFERRED_SEVERITY = 1,
1: - MCE_UCNA_SEVERITY = 1,
1: - MCE_KEEP_SEVERITY = 2,
1: - MCE_SOME_SEVERITY = 3,
1: - MCE_AO_SEVERITY = 4,
1: - MCE_UC_SEVERITY = 5,
1: - MCE_AR_SEVERITY = 6,
1: - MCE_PANIC_SEVERITY = 7,
1: + MCE_NO_SEVERITY = 0,
1: + MCE_DEFERRED_SEVERITY = 1,
1: + MCE_UCNA_SEVERITY = 1,
1: + MCE_KEEP_SEVERITY = 2,
1: + MCE_SOME_SEVERITY = 3,
1: + MCE_AO_SEVERITY = 4,
1: + MCE_UC_SEVERITY = 5,
1: + MCE_AR_SEVERITY = 6,
1: + MCE_PANIC_SEVERITY = 7,
1: };
1:
1: struct mce_evt_llist {
1: - struct llist_node llnode;
1: - struct mce mce;
1: + struct llist_node llnode;
1: + struct mce mce;
1: };
1:
1: struct mca_config {
1: - bool dont_log_ce;
1: - bool cmci_disabled;
1: - bool ignore_ce;
1: - __u64 lmce_disabled: 1;
1: - __u64 disabled: 1;
1: - __u64 ser: 1;
1: - __u64 recovery: 1;
1: - __u64 bios_cmci_threshold: 1;
1: - long: 35;
1: - __u64 __reserved: 59;
1: - s8 bootlog;
1: - int tolerant;
1: - int monarch_timeout;
1: - int panic_timeout;
1: - u32 rip_msr;
1: + bool dont_log_ce;
1: + bool cmci_disabled;
1: + bool ignore_ce;
1: + __u64 lmce_disabled : 1;
1: + __u64 disabled : 1;
1: + __u64 ser : 1;
1: + __u64 recovery : 1;
1: + __u64 bios_cmci_threshold : 1;
1: + long : 35;
1: + __u64 __reserved : 59;
1: + s8 bootlog;
1: + int tolerant;
1: + int monarch_timeout;
1: + int panic_timeout;
1: + u32 rip_msr;
1: };
1:
1: struct mce_vendor_flags {
1: - __u64 overflow_recov: 1;
1: - __u64 succor: 1;
1: - __u64 smca: 1;
1: - __u64 __reserved_0: 61;
1: + __u64 overflow_recov : 1;
1: + __u64 succor : 1;
1: + __u64 smca : 1;
1: + __u64 __reserved_0 : 61;
1: };
1:
1: struct mca_msr_regs {
1: - u32 (*ctl)(int);
1: - u32 (*status)(int);
1: - u32 (*addr)(int);
1: - u32 (*misc)(int);
1: + u32 (*ctl)(int);
1: + u32 (*status)(int);
1: + u32 (*addr)(int);
1: + u32 (*misc)(int);
1: };
1:
1: struct trace_event_raw_mce_record {
1: - struct trace_entry ent;
1: - u64 mcgcap;
1: - u64 mcgstatus;
1: - u64 status;
1: - u64 addr;
1: - u64 misc;
1: - u64 synd;
1: - u64 ipid;
1: - u64 ip;
1: - u64 tsc;
1: - u64 walltime;
1: - u32 cpu;
1: - u32 cpuid;
1: - u32 apicid;
1: - u32 socketid;
1: - u8 cs;
1: - u8 bank;
1: - u8 cpuvendor;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u64 mcgcap;
1: + u64 mcgstatus;
1: + u64 status;
1: + u64 addr;
1: + u64 misc;
1: + u64 synd;
1: + u64 ipid;
1: + u64 ip;
1: + u64 tsc;
1: + u64 walltime;
1: + u32 cpu;
1: + u32 cpuid;
1: + u32 apicid;
1: + u32 socketid;
1: + u8 cs;
1: + u8 bank;
1: + u8 cpuvendor;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_mce_record {};
1:
1: struct mce_bank {
1: - u64 ctl;
1: - bool init;
1: + u64 ctl;
1: + bool init;
1: };
1:
1: struct mce_bank_dev {
1: - struct device_attribute attr;
1: - char attrname[16];
1: - u8 bank;
1: + struct device_attribute attr;
1: + char attrname[16];
1: + u8 bank;
1: };
1:
1: enum context {
1: - IN_KERNEL = 1,
1: - IN_USER = 2,
1: - IN_KERNEL_RECOV = 3,
1: + IN_KERNEL = 1,
1: + IN_USER = 2,
1: + IN_KERNEL_RECOV = 3,
1: };
1:
1: enum ser {
1: - SER_REQUIRED = 1,
1: - NO_SER = 2,
1: + SER_REQUIRED = 1,
1: + NO_SER = 2,
1: };
1:
1: enum exception {
1: - EXCP_CONTEXT = 1,
1: - NO_EXCP = 2,
1: + EXCP_CONTEXT = 1,
1: + NO_EXCP = 2,
1: };
1:
1: struct severity {
1: - u64 mask;
1: - u64 result;
1: - unsigned char sev;
1: - unsigned char mcgmask;
1: - unsigned char mcgres;
1: - unsigned char ser;
1: - unsigned char context;
1: - unsigned char excp;
1: - unsigned char covered;
1: - char *msg;
1: + u64 mask;
1: + u64 result;
1: + unsigned char sev;
1: + unsigned char mcgmask;
1: + unsigned char mcgres;
1: + unsigned char ser;
1: + unsigned char context;
1: + unsigned char excp;
1: + unsigned char covered;
1: + char *msg;
1: };
1:
1: struct gen_pool;
1:
1: -typedef long unsigned int (*genpool_algo_t)(long unsigned int *, long unsigned int, long unsigned int, unsigned int, void *, struct gen_pool *, long unsigned int);
1: +typedef long unsigned int (*genpool_algo_t)(long unsigned int *,
1: + long unsigned int,
1: + long unsigned int, unsigned int,
1: + void *, struct gen_pool *,
1: + long unsigned int);
1:
1: struct gen_pool {
1: - spinlock_t lock;
1: - struct list_head chunks;
1: - int min_alloc_order;
1: - genpool_algo_t algo;
1: - void *data;
1: - const char *name;
1: + spinlock_t lock;
1: + struct list_head chunks;
1: + int min_alloc_order;
1: + genpool_algo_t algo;
1: + void *data;
1: + const char *name;
1: };
1:
1: enum {
1: - CMCI_STORM_NONE = 0,
1: - CMCI_STORM_ACTIVE = 1,
1: - CMCI_STORM_SUBSIDED = 2,
1: + CMCI_STORM_NONE = 0,
1: + CMCI_STORM_ACTIVE = 1,
1: + CMCI_STORM_SUBSIDED = 2,
1: };
1:
1: enum kobject_action {
1: - KOBJ_ADD = 0,
1: - KOBJ_REMOVE = 1,
1: - KOBJ_CHANGE = 2,
1: - KOBJ_MOVE = 3,
1: - KOBJ_ONLINE = 4,
1: - KOBJ_OFFLINE = 5,
1: - KOBJ_BIND = 6,
1: - KOBJ_UNBIND = 7,
1: - KOBJ_MAX = 8,
1: + KOBJ_ADD = 0,
1: + KOBJ_REMOVE = 1,
1: + KOBJ_CHANGE = 2,
1: + KOBJ_MOVE = 3,
1: + KOBJ_ONLINE = 4,
1: + KOBJ_OFFLINE = 5,
1: + KOBJ_BIND = 6,
1: + KOBJ_UNBIND = 7,
1: + KOBJ_MAX = 8,
1: };
1:
1: enum smca_bank_types {
1: - SMCA_LS = 0,
1: - SMCA_IF = 1,
1: - SMCA_L2_CACHE = 2,
1: - SMCA_DE = 3,
1: - SMCA_RESERVED = 4,
1: - SMCA_EX = 5,
1: - SMCA_FP = 6,
1: - SMCA_L3_CACHE = 7,
1: - SMCA_CS = 8,
1: - SMCA_CS_V2 = 9,
1: - SMCA_PIE = 10,
1: - SMCA_UMC = 11,
1: - SMCA_PB = 12,
1: - SMCA_PSP = 13,
1: - SMCA_PSP_V2 = 14,
1: - SMCA_SMU = 15,
1: - SMCA_SMU_V2 = 16,
1: - SMCA_MP5 = 17,
1: - SMCA_NBIO = 18,
1: - SMCA_PCIE = 19,
1: - N_SMCA_BANK_TYPES = 20,
1: + SMCA_LS = 0,
1: + SMCA_IF = 1,
1: + SMCA_L2_CACHE = 2,
1: + SMCA_DE = 3,
1: + SMCA_RESERVED = 4,
1: + SMCA_EX = 5,
1: + SMCA_FP = 6,
1: + SMCA_L3_CACHE = 7,
1: + SMCA_CS = 8,
1: + SMCA_CS_V2 = 9,
1: + SMCA_PIE = 10,
1: + SMCA_UMC = 11,
1: + SMCA_PB = 12,
1: + SMCA_PSP = 13,
1: + SMCA_PSP_V2 = 14,
1: + SMCA_SMU = 15,
1: + SMCA_SMU_V2 = 16,
1: + SMCA_MP5 = 17,
1: + SMCA_NBIO = 18,
1: + SMCA_PCIE = 19,
1: + N_SMCA_BANK_TYPES = 20,
1: };
1:
1: struct smca_hwid {
1: - unsigned int bank_type;
1: - u32 hwid_mcatype;
1: - u32 xec_bitmap;
1: - u8 count;
1: + unsigned int bank_type;
1: + u32 hwid_mcatype;
1: + u32 xec_bitmap;
1: + u8 count;
1: };
1:
1: struct smca_bank {
1: - struct smca_hwid *hwid;
1: - u32 id;
1: - u8 sysfs_id;
1: + struct smca_hwid *hwid;
1: + u32 id;
1: + u8 sysfs_id;
1: };
1:
1: struct smca_bank_name {
1: - const char *name;
1: - const char *long_name;
1: + const char *name;
1: + const char *long_name;
1: };
1:
1: struct thresh_restart {
1: - struct threshold_block *b;
1: - int reset;
1: - int set_lvt_off;
1: - int lvt_off;
1: - u16 old_limit;
1: + struct threshold_block *b;
1: + int reset;
1: + int set_lvt_off;
1: + int lvt_off;
1: + u16 old_limit;
1: };
1:
1: struct threshold_attr {
1: - struct attribute attr;
1: - ssize_t (*show)(struct threshold_block *, char *);
1: - ssize_t (*store)(struct threshold_block *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct threshold_block *, char *);
1: + ssize_t (*store)(struct threshold_block *, const char *, size_t);
1: };
1:
1: struct _thermal_state {
1: - u64 next_check;
1: - u64 last_interrupt_time;
1: - struct delayed_work therm_work;
1: - long unsigned int count;
1: - long unsigned int last_count;
1: - long unsigned int max_time_ms;
1: - long unsigned int total_time_ms;
1: - bool rate_control_active;
1: - bool new_event;
1: - u8 level;
1: - u8 sample_index;
1: - u8 sample_count;
1: - u8 average;
1: - u8 baseline_temp;
1: - u8 temp_samples[3];
1: + u64 next_check;
1: + u64 last_interrupt_time;
1: + struct delayed_work therm_work;
1: + long unsigned int count;
1: + long unsigned int last_count;
1: + long unsigned int max_time_ms;
1: + long unsigned int total_time_ms;
1: + bool rate_control_active;
1: + bool new_event;
1: + u8 level;
1: + u8 sample_index;
1: + u8 sample_count;
1: + u8 average;
1: + u8 baseline_temp;
1: + u8 temp_samples[3];
1: };
1:
1: struct thermal_state {
1: - struct _thermal_state core_throttle;
1: - struct _thermal_state core_power_limit;
1: - struct _thermal_state package_throttle;
1: - struct _thermal_state package_power_limit;
1: - struct _thermal_state core_thresh0;
1: - struct _thermal_state core_thresh1;
1: - struct _thermal_state pkg_thresh0;
1: - struct _thermal_state pkg_thresh1;
1: + struct _thermal_state core_throttle;
1: + struct _thermal_state core_power_limit;
1: + struct _thermal_state package_throttle;
1: + struct _thermal_state package_power_limit;
1: + struct _thermal_state core_thresh0;
1: + struct _thermal_state core_thresh1;
1: + struct _thermal_state pkg_thresh0;
1: + struct _thermal_state pkg_thresh1;
1: };
1:
1: typedef int (*cpu_stop_fn_t)(void *);
1: @@ -20993,275 +21150,276 @@ typedef int (*cpu_stop_fn_t)(void *);
1: typedef __u8 mtrr_type;
1:
1: struct mtrr_ops {
1: - u32 vendor;
1: - u32 use_intel_if;
1: - void (*set)(unsigned int, long unsigned int, long unsigned int, mtrr_type);
1: - void (*set_all)();
1: - void (*get)(unsigned int, long unsigned int *, long unsigned int *, mtrr_type *);
1: - int (*get_free_region)(long unsigned int, long unsigned int, int);
1: - int (*validate_add_page)(long unsigned int, long unsigned int, unsigned int);
1: - int (*have_wrcomb)();
1: + u32 vendor;
1: + u32 use_intel_if;
1: + void (*set)(unsigned int, long unsigned int, long unsigned int, mtrr_type);
1: + void (*set_all)();
1: + void (*get)(unsigned int, long unsigned int *, long unsigned int *,
1: + mtrr_type *);
1: + int (*get_free_region)(long unsigned int, long unsigned int, int);
1: + int (*validate_add_page)(long unsigned int, long unsigned int, unsigned int);
1: + int (*have_wrcomb)();
1: };
1:
1: struct set_mtrr_data {
1: - long unsigned int smp_base;
1: - long unsigned int smp_size;
1: - unsigned int smp_reg;
1: - mtrr_type smp_type;
1: + long unsigned int smp_base;
1: + long unsigned int smp_size;
1: + unsigned int smp_reg;
1: + mtrr_type smp_type;
1: };
1:
1: struct mtrr_value {
1: - mtrr_type ltype;
1: - long unsigned int lbase;
1: - long unsigned int lsize;
1: + mtrr_type ltype;
1: + long unsigned int lbase;
1: + long unsigned int lsize;
1: };
1:
1: struct mtrr_sentry {
1: - __u64 base;
1: - __u32 size;
1: - __u32 type;
1: + __u64 base;
1: + __u32 size;
1: + __u32 type;
1: };
1:
1: struct mtrr_gentry {
1: - __u64 base;
1: - __u32 size;
1: - __u32 regnum;
1: - __u32 type;
1: - __u32 _pad;
1: + __u64 base;
1: + __u32 size;
1: + __u32 regnum;
1: + __u32 type;
1: + __u32 _pad;
1: };
1:
1: typedef u32 compat_uint_t;
1:
1: struct mtrr_sentry32 {
1: - compat_ulong_t base;
1: - compat_uint_t size;
1: - compat_uint_t type;
1: + compat_ulong_t base;
1: + compat_uint_t size;
1: + compat_uint_t type;
1: };
1:
1: struct mtrr_gentry32 {
1: - compat_ulong_t regnum;
1: - compat_uint_t base;
1: - compat_uint_t size;
1: - compat_uint_t type;
1: + compat_ulong_t regnum;
1: + compat_uint_t base;
1: + compat_uint_t size;
1: + compat_uint_t type;
1: };
1:
1: struct mtrr_var_range {
1: - __u32 base_lo;
1: - __u32 base_hi;
1: - __u32 mask_lo;
1: - __u32 mask_hi;
1: + __u32 base_lo;
1: + __u32 base_hi;
1: + __u32 mask_lo;
1: + __u32 mask_hi;
1: };
1:
1: struct mtrr_state_type {
1: - struct mtrr_var_range var_ranges[256];
1: - mtrr_type fixed_ranges[88];
1: - unsigned char enabled;
1: - unsigned char have_fixed;
1: - mtrr_type def_type;
1: + struct mtrr_var_range var_ranges[256];
1: + mtrr_type fixed_ranges[88];
1: + unsigned char enabled;
1: + unsigned char have_fixed;
1: + mtrr_type def_type;
1: };
1:
1: struct fixed_range_block {
1: - int base_msr;
1: - int ranges;
1: + int base_msr;
1: + int ranges;
1: };
1:
1: struct range {
1: - u64 start;
1: - u64 end;
1: + u64 start;
1: + u64 end;
1: };
1:
1: struct var_mtrr_range_state {
1: - long unsigned int base_pfn;
1: - long unsigned int size_pfn;
1: - mtrr_type type;
1: + long unsigned int base_pfn;
1: + long unsigned int size_pfn;
1: + mtrr_type type;
1: };
1:
1: struct subsys_interface {
1: - const char *name;
1: - struct bus_type *subsys;
1: - struct list_head node;
1: - int (*add_dev)(struct device *, struct subsys_interface *);
1: - void (*remove_dev)(struct device *, struct subsys_interface *);
1: + const char *name;
1: + struct bus_type *subsys;
1: + struct list_head node;
1: + int (*add_dev)(struct device *, struct subsys_interface *);
1: + void (*remove_dev)(struct device *, struct subsys_interface *);
1: };
1:
1: struct property_entry;
1:
1: struct platform_device_info {
1: - struct device *parent;
1: - struct fwnode_handle *fwnode;
1: - bool of_node_reused;
1: - const char *name;
1: - int id;
1: - const struct resource *res;
1: - unsigned int num_res;
1: - const void *data;
1: - size_t size_data;
1: - u64 dma_mask;
1: - struct property_entry *properties;
1: + struct device *parent;
1: + struct fwnode_handle *fwnode;
1: + bool of_node_reused;
1: + const char *name;
1: + int id;
1: + const struct resource *res;
1: + unsigned int num_res;
1: + const void *data;
1: + size_t size_data;
1: + u64 dma_mask;
1: + struct property_entry *properties;
1: };
1:
1: struct builtin_fw {
1: - char *name;
1: - void *data;
1: - long unsigned int size;
1: + char *name;
1: + void *data;
1: + long unsigned int size;
1: };
1:
1: struct cpio_data {
1: - void *data;
1: - size_t size;
1: - char name[18];
1: + void *data;
1: + size_t size;
1: + char name[18];
1: };
1:
1: struct cpu_signature {
1: - unsigned int sig;
1: - unsigned int pf;
1: - unsigned int rev;
1: + unsigned int sig;
1: + unsigned int pf;
1: + unsigned int rev;
1: };
1:
1: enum ucode_state {
1: - UCODE_OK = 0,
1: - UCODE_NEW = 1,
1: - UCODE_UPDATED = 2,
1: - UCODE_NFOUND = 3,
1: - UCODE_ERROR = 4,
1: + UCODE_OK = 0,
1: + UCODE_NEW = 1,
1: + UCODE_UPDATED = 2,
1: + UCODE_NFOUND = 3,
1: + UCODE_ERROR = 4,
1: };
1:
1: struct microcode_ops {
1: - enum ucode_state (*request_microcode_user)(int, const void *, size_t);
1: - enum ucode_state (*request_microcode_fw)(int, struct device *, bool);
1: - void (*microcode_fini_cpu)(int);
1: - enum ucode_state (*apply_microcode)(int);
1: - int (*collect_cpu_info)(int, struct cpu_signature *);
1: + enum ucode_state (*request_microcode_user)(int, const void *, size_t);
1: + enum ucode_state (*request_microcode_fw)(int, struct device *, bool);
1: + void (*microcode_fini_cpu)(int);
1: + enum ucode_state (*apply_microcode)(int);
1: + int (*collect_cpu_info)(int, struct cpu_signature *);
1: };
1:
1: struct ucode_cpu_info {
1: - struct cpu_signature cpu_sig;
1: - int valid;
1: - void *mc;
1: + struct cpu_signature cpu_sig;
1: + int valid;
1: + void *mc;
1: };
1:
1: struct cpu_info_ctx {
1: - struct cpu_signature *cpu_sig;
1: - int err;
1: + struct cpu_signature *cpu_sig;
1: + int err;
1: };
1:
1: struct firmware {
1: - size_t size;
1: - const u8 *data;
1: - struct page **pages;
1: - void *priv;
1: + size_t size;
1: + const u8 *data;
1: + struct page **pages;
1: + void *priv;
1: };
1:
1: struct ucode_patch {
1: - struct list_head plist;
1: - void *data;
1: - u32 patch_id;
1: - u16 equiv_cpu;
1: + struct list_head plist;
1: + void *data;
1: + u32 patch_id;
1: + u16 equiv_cpu;
1: };
1:
1: struct microcode_header_intel {
1: - unsigned int hdrver;
1: - unsigned int rev;
1: - unsigned int date;
1: - unsigned int sig;
1: - unsigned int cksum;
1: - unsigned int ldrver;
1: - unsigned int pf;
1: - unsigned int datasize;
1: - unsigned int totalsize;
1: - unsigned int reserved[3];
1: + unsigned int hdrver;
1: + unsigned int rev;
1: + unsigned int date;
1: + unsigned int sig;
1: + unsigned int cksum;
1: + unsigned int ldrver;
1: + unsigned int pf;
1: + unsigned int datasize;
1: + unsigned int totalsize;
1: + unsigned int reserved[3];
1: };
1:
1: struct microcode_intel {
1: - struct microcode_header_intel hdr;
1: - unsigned int bits[0];
1: + struct microcode_header_intel hdr;
1: + unsigned int bits[0];
1: };
1:
1: struct extended_signature {
1: - unsigned int sig;
1: - unsigned int pf;
1: - unsigned int cksum;
1: + unsigned int sig;
1: + unsigned int pf;
1: + unsigned int cksum;
1: };
1:
1: struct extended_sigtable {
1: - unsigned int count;
1: - unsigned int cksum;
1: - unsigned int reserved[3];
1: - struct extended_signature sigs[0];
1: + unsigned int count;
1: + unsigned int cksum;
1: + unsigned int reserved[3];
1: + struct extended_signature sigs[0];
1: };
1:
1: struct equiv_cpu_entry {
1: - u32 installed_cpu;
1: - u32 fixed_errata_mask;
1: - u32 fixed_errata_compare;
1: - u16 equiv_cpu;
1: - u16 res;
1: + u32 installed_cpu;
1: + u32 fixed_errata_mask;
1: + u32 fixed_errata_compare;
1: + u16 equiv_cpu;
1: + u16 res;
1: };
1:
1: struct microcode_header_amd {
1: - u32 data_code;
1: - u32 patch_id;
1: - u16 mc_patch_data_id;
1: - u8 mc_patch_data_len;
1: - u8 init_flag;
1: - u32 mc_patch_data_checksum;
1: - u32 nb_dev_id;
1: - u32 sb_dev_id;
1: - u16 processor_rev_id;
1: - u8 nb_rev_id;
1: - u8 sb_rev_id;
1: - u8 bios_api_rev;
1: - u8 reserved1[3];
1: - u32 match_reg[8];
1: + u32 data_code;
1: + u32 patch_id;
1: + u16 mc_patch_data_id;
1: + u8 mc_patch_data_len;
1: + u8 init_flag;
1: + u32 mc_patch_data_checksum;
1: + u32 nb_dev_id;
1: + u32 sb_dev_id;
1: + u16 processor_rev_id;
1: + u8 nb_rev_id;
1: + u8 sb_rev_id;
1: + u8 bios_api_rev;
1: + u8 reserved1[3];
1: + u32 match_reg[8];
1: };
1:
1: struct microcode_amd {
1: - struct microcode_header_amd hdr;
1: - unsigned int mpb[0];
1: + struct microcode_header_amd hdr;
1: + unsigned int mpb[0];
1: };
1:
1: struct equiv_cpu_table {
1: - unsigned int num_entries;
1: - struct equiv_cpu_entry *entry;
1: + unsigned int num_entries;
1: + struct equiv_cpu_entry *entry;
1: };
1:
1: struct cont_desc {
1: - struct microcode_amd *mc;
1: - u32 cpuid_1_eax;
1: - u32 psize;
1: - u8 *data;
1: - size_t size;
1: + struct microcode_amd *mc;
1: + u32 cpuid_1_eax;
1: + u32 psize;
1: + u8 *data;
1: + size_t size;
1: };
1:
1: struct mpc_intsrc {
1: - unsigned char type;
1: - unsigned char irqtype;
1: - short unsigned int irqflag;
1: - unsigned char srcbus;
1: - unsigned char srcbusirq;
1: - unsigned char dstapic;
1: - unsigned char dstirq;
1: + unsigned char type;
1: + unsigned char irqtype;
1: + short unsigned int irqflag;
1: + unsigned char srcbus;
1: + unsigned char srcbusirq;
1: + unsigned char dstapic;
1: + unsigned char dstirq;
1: };
1:
1: enum mp_irq_source_types {
1: - mp_INT = 0,
1: - mp_NMI = 1,
1: - mp_SMI = 2,
1: - mp_ExtINT = 3,
1: + mp_INT = 0,
1: + mp_NMI = 1,
1: + mp_SMI = 2,
1: + mp_ExtINT = 3,
1: };
1:
1: struct IO_APIC_route_entry {
1: - __u32 vector: 8;
1: - __u32 delivery_mode: 3;
1: - __u32 dest_mode: 1;
1: - __u32 delivery_status: 1;
1: - __u32 polarity: 1;
1: - __u32 irr: 1;
1: - __u32 trigger: 1;
1: - __u32 mask: 1;
1: - __u32 __reserved_2: 15;
1: - __u32 __reserved_3: 24;
1: - __u32 dest: 8;
1: + __u32 vector : 8;
1: + __u32 delivery_mode : 3;
1: + __u32 dest_mode : 1;
1: + __u32 delivery_status : 1;
1: + __u32 polarity : 1;
1: + __u32 irr : 1;
1: + __u32 trigger : 1;
1: + __u32 mask : 1;
1: + __u32 __reserved_2 : 15;
1: + __u32 __reserved_3 : 24;
1: + __u32 dest : 8;
1: };
1:
1: typedef u64 acpi_io_address;
1: @@ -21279,460 +21437,461 @@ typedef u32 acpi_object_type;
1: typedef u8 acpi_adr_space_type;
1:
1: union acpi_object {
1: - acpi_object_type type;
1: - struct {
1: - acpi_object_type type;
1: - u64 value;
1: - } integer;
1: - struct {
1: - acpi_object_type type;
1: - u32 length;
1: - char *pointer;
1: - } string;
1: - struct {
1: - acpi_object_type type;
1: - u32 length;
1: - u8 *pointer;
1: - } buffer;
1: - struct {
1: - acpi_object_type type;
1: - u32 count;
1: - union acpi_object *elements;
1: - } package;
1: - struct {
1: - acpi_object_type type;
1: - acpi_object_type actual_type;
1: - acpi_handle handle;
1: - } reference;
1: - struct {
1: - acpi_object_type type;
1: - u32 proc_id;
1: - acpi_io_address pblk_address;
1: - u32 pblk_length;
1: - } processor;
1: - struct {
1: - acpi_object_type type;
1: - u32 system_level;
1: - u32 resource_order;
1: - } power_resource;
1: + acpi_object_type type;
1: + struct {
1: + acpi_object_type type;
1: + u64 value;
1: + } integer;
1: + struct {
1: + acpi_object_type type;
1: + u32 length;
1: + char *pointer;
1: + } string;
1: + struct {
1: + acpi_object_type type;
1: + u32 length;
1: + u8 *pointer;
1: + } buffer;
1: + struct {
1: + acpi_object_type type;
1: + u32 count;
1: + union acpi_object *elements;
1: + } package;
1: + struct {
1: + acpi_object_type type;
1: + acpi_object_type actual_type;
1: + acpi_handle handle;
1: + } reference;
1: + struct {
1: + acpi_object_type type;
1: + u32 proc_id;
1: + acpi_io_address pblk_address;
1: + u32 pblk_length;
1: + } processor;
1: + struct {
1: + acpi_object_type type;
1: + u32 system_level;
1: + u32 resource_order;
1: + } power_resource;
1: };
1:
1: struct acpi_object_list {
1: - u32 count;
1: - union acpi_object *pointer;
1: + u32 count;
1: + union acpi_object *pointer;
1: };
1:
1: struct acpi_subtable_header {
1: - u8 type;
1: - u8 length;
1: + u8 type;
1: + u8 length;
1: };
1:
1: struct acpi_table_boot {
1: - struct acpi_table_header header;
1: - u8 cmos_index;
1: - u8 reserved[3];
1: + struct acpi_table_header header;
1: + u8 cmos_index;
1: + u8 reserved[3];
1: };
1:
1: struct acpi_hmat_structure {
1: - u16 type;
1: - u16 reserved;
1: - u32 length;
1: + u16 type;
1: + u16 reserved;
1: + u32 length;
1: };
1:
1: struct acpi_table_hpet {
1: - struct acpi_table_header header;
1: - u32 id;
1: - struct acpi_generic_address address;
1: - u8 sequence;
1: - u16 minimum_tick;
1: - u8 flags;
1: + struct acpi_table_header header;
1: + u32 id;
1: + struct acpi_generic_address address;
1: + u8 sequence;
1: + u16 minimum_tick;
1: + u8 flags;
1: } __attribute__((packed));
1:
1: struct acpi_table_madt {
1: - struct acpi_table_header header;
1: - u32 address;
1: - u32 flags;
1: + struct acpi_table_header header;
1: + u32 address;
1: + u32 flags;
1: };
1:
1: enum acpi_madt_type {
1: - ACPI_MADT_TYPE_LOCAL_APIC = 0,
1: - ACPI_MADT_TYPE_IO_APIC = 1,
1: - ACPI_MADT_TYPE_INTERRUPT_OVERRIDE = 2,
1: - ACPI_MADT_TYPE_NMI_SOURCE = 3,
1: - ACPI_MADT_TYPE_LOCAL_APIC_NMI = 4,
1: - ACPI_MADT_TYPE_LOCAL_APIC_OVERRIDE = 5,
1: - ACPI_MADT_TYPE_IO_SAPIC = 6,
1: - ACPI_MADT_TYPE_LOCAL_SAPIC = 7,
1: - ACPI_MADT_TYPE_INTERRUPT_SOURCE = 8,
1: - ACPI_MADT_TYPE_LOCAL_X2APIC = 9,
1: - ACPI_MADT_TYPE_LOCAL_X2APIC_NMI = 10,
1: - ACPI_MADT_TYPE_GENERIC_INTERRUPT = 11,
1: - ACPI_MADT_TYPE_GENERIC_DISTRIBUTOR = 12,
1: - ACPI_MADT_TYPE_GENERIC_MSI_FRAME = 13,
1: - ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR = 14,
1: - ACPI_MADT_TYPE_GENERIC_TRANSLATOR = 15,
1: - ACPI_MADT_TYPE_RESERVED = 16,
1: + ACPI_MADT_TYPE_LOCAL_APIC = 0,
1: + ACPI_MADT_TYPE_IO_APIC = 1,
1: + ACPI_MADT_TYPE_INTERRUPT_OVERRIDE = 2,
1: + ACPI_MADT_TYPE_NMI_SOURCE = 3,
1: + ACPI_MADT_TYPE_LOCAL_APIC_NMI = 4,
1: + ACPI_MADT_TYPE_LOCAL_APIC_OVERRIDE = 5,
1: + ACPI_MADT_TYPE_IO_SAPIC = 6,
1: + ACPI_MADT_TYPE_LOCAL_SAPIC = 7,
1: + ACPI_MADT_TYPE_INTERRUPT_SOURCE = 8,
1: + ACPI_MADT_TYPE_LOCAL_X2APIC = 9,
1: + ACPI_MADT_TYPE_LOCAL_X2APIC_NMI = 10,
1: + ACPI_MADT_TYPE_GENERIC_INTERRUPT = 11,
1: + ACPI_MADT_TYPE_GENERIC_DISTRIBUTOR = 12,
1: + ACPI_MADT_TYPE_GENERIC_MSI_FRAME = 13,
1: + ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR = 14,
1: + ACPI_MADT_TYPE_GENERIC_TRANSLATOR = 15,
1: + ACPI_MADT_TYPE_RESERVED = 16,
1: };
1:
1: struct acpi_madt_local_apic {
1: - struct acpi_subtable_header header;
1: - u8 processor_id;
1: - u8 id;
1: - u32 lapic_flags;
1: + struct acpi_subtable_header header;
1: + u8 processor_id;
1: + u8 id;
1: + u32 lapic_flags;
1: };
1:
1: struct acpi_madt_io_apic {
1: - struct acpi_subtable_header header;
1: - u8 id;
1: - u8 reserved;
1: - u32 address;
1: - u32 global_irq_base;
1: + struct acpi_subtable_header header;
1: + u8 id;
1: + u8 reserved;
1: + u32 address;
1: + u32 global_irq_base;
1: };
1:
1: struct acpi_madt_interrupt_override {
1: - struct acpi_subtable_header header;
1: - u8 bus;
1: - u8 source_irq;
1: - u32 global_irq;
1: - u16 inti_flags;
1: + struct acpi_subtable_header header;
1: + u8 bus;
1: + u8 source_irq;
1: + u32 global_irq;
1: + u16 inti_flags;
1: } __attribute__((packed));
1:
1: struct acpi_madt_nmi_source {
1: - struct acpi_subtable_header header;
1: - u16 inti_flags;
1: - u32 global_irq;
1: + struct acpi_subtable_header header;
1: + u16 inti_flags;
1: + u32 global_irq;
1: };
1:
1: struct acpi_madt_local_apic_nmi {
1: - struct acpi_subtable_header header;
1: - u8 processor_id;
1: - u16 inti_flags;
1: - u8 lint;
1: + struct acpi_subtable_header header;
1: + u8 processor_id;
1: + u16 inti_flags;
1: + u8 lint;
1: } __attribute__((packed));
1:
1: struct acpi_madt_local_apic_override {
1: - struct acpi_subtable_header header;
1: - u16 reserved;
1: - u64 address;
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u64 address;
1: } __attribute__((packed));
1:
1: struct acpi_madt_local_sapic {
1: - struct acpi_subtable_header header;
1: - u8 processor_id;
1: - u8 id;
1: - u8 eid;
1: - u8 reserved[3];
1: - u32 lapic_flags;
1: - u32 uid;
1: - char uid_string[1];
1: + struct acpi_subtable_header header;
1: + u8 processor_id;
1: + u8 id;
1: + u8 eid;
1: + u8 reserved[3];
1: + u32 lapic_flags;
1: + u32 uid;
1: + char uid_string[1];
1: } __attribute__((packed));
1:
1: struct acpi_madt_local_x2apic {
1: - struct acpi_subtable_header header;
1: - u16 reserved;
1: - u32 local_apic_id;
1: - u32 lapic_flags;
1: - u32 uid;
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u32 local_apic_id;
1: + u32 lapic_flags;
1: + u32 uid;
1: };
1:
1: struct acpi_madt_local_x2apic_nmi {
1: - struct acpi_subtable_header header;
1: - u16 inti_flags;
1: - u32 uid;
1: - u8 lint;
1: - u8 reserved[3];
1: + struct acpi_subtable_header header;
1: + u16 inti_flags;
1: + u32 uid;
1: + u8 lint;
1: + u8 reserved[3];
1: };
1:
1: enum acpi_irq_model_id {
1: - ACPI_IRQ_MODEL_PIC = 0,
1: - ACPI_IRQ_MODEL_IOAPIC = 1,
1: - ACPI_IRQ_MODEL_IOSAPIC = 2,
1: - ACPI_IRQ_MODEL_PLATFORM = 3,
1: - ACPI_IRQ_MODEL_GIC = 4,
1: - ACPI_IRQ_MODEL_COUNT = 5,
1: + ACPI_IRQ_MODEL_PIC = 0,
1: + ACPI_IRQ_MODEL_IOAPIC = 1,
1: + ACPI_IRQ_MODEL_IOSAPIC = 2,
1: + ACPI_IRQ_MODEL_PLATFORM = 3,
1: + ACPI_IRQ_MODEL_GIC = 4,
1: + ACPI_IRQ_MODEL_COUNT = 5,
1: };
1:
1: union acpi_subtable_headers {
1: - struct acpi_subtable_header common;
1: - struct acpi_hmat_structure hmat;
1: + struct acpi_subtable_header common;
1: + struct acpi_hmat_structure hmat;
1: };
1:
1: typedef int (*acpi_tbl_table_handler)(struct acpi_table_header *);
1:
1: -typedef int (*acpi_tbl_entry_handler)(union acpi_subtable_headers *, const long unsigned int);
1: +typedef int (*acpi_tbl_entry_handler)(union acpi_subtable_headers *,
1: + const long unsigned int);
1:
1: struct acpi_subtable_proc {
1: - int id;
1: - acpi_tbl_entry_handler handler;
1: - int count;
1: + int id;
1: + acpi_tbl_entry_handler handler;
1: + int count;
1: };
1:
1: typedef u32 phys_cpuid_t;
1:
1: enum irq_alloc_type {
1: - X86_IRQ_ALLOC_TYPE_IOAPIC = 1,
1: - X86_IRQ_ALLOC_TYPE_HPET = 2,
1: - X86_IRQ_ALLOC_TYPE_MSI = 3,
1: - X86_IRQ_ALLOC_TYPE_MSIX = 4,
1: - X86_IRQ_ALLOC_TYPE_DMAR = 5,
1: - X86_IRQ_ALLOC_TYPE_UV = 6,
1: + X86_IRQ_ALLOC_TYPE_IOAPIC = 1,
1: + X86_IRQ_ALLOC_TYPE_HPET = 2,
1: + X86_IRQ_ALLOC_TYPE_MSI = 3,
1: + X86_IRQ_ALLOC_TYPE_MSIX = 4,
1: + X86_IRQ_ALLOC_TYPE_DMAR = 5,
1: + X86_IRQ_ALLOC_TYPE_UV = 6,
1: };
1:
1: struct irq_alloc_info {
1: - enum irq_alloc_type type;
1: - u32 flags;
1: - const struct cpumask *mask;
1: - union {
1: - int unused;
1: - struct {
1: - int hpet_id;
1: - int hpet_index;
1: - void *hpet_data;
1: - };
1: - struct {
1: - struct pci_dev *msi_dev;
1: - irq_hw_number_t msi_hwirq;
1: - };
1: - struct {
1: - int ioapic_id;
1: - int ioapic_pin;
1: - int ioapic_node;
1: - u32 ioapic_trigger: 1;
1: - u32 ioapic_polarity: 1;
1: - u32 ioapic_valid: 1;
1: - struct IO_APIC_route_entry *ioapic_entry;
1: - };
1: - struct {
1: - int dmar_id;
1: - void *dmar_data;
1: - };
1: - };
1: + enum irq_alloc_type type;
1: + u32 flags;
1: + const struct cpumask *mask;
1: + union {
1: + int unused;
1: + struct {
1: + int hpet_id;
1: + int hpet_index;
1: + void *hpet_data;
1: + };
1: + struct {
1: + struct pci_dev *msi_dev;
1: + irq_hw_number_t msi_hwirq;
1: + };
1: + struct {
1: + int ioapic_id;
1: + int ioapic_pin;
1: + int ioapic_node;
1: + u32 ioapic_trigger : 1;
1: + u32 ioapic_polarity : 1;
1: + u32 ioapic_valid : 1;
1: + struct IO_APIC_route_entry *ioapic_entry;
1: + };
1: + struct {
1: + int dmar_id;
1: + void *dmar_data;
1: + };
1: + };
1: };
1:
1: enum ioapic_domain_type {
1: - IOAPIC_DOMAIN_INVALID = 0,
1: - IOAPIC_DOMAIN_LEGACY = 1,
1: - IOAPIC_DOMAIN_STRICT = 2,
1: - IOAPIC_DOMAIN_DYNAMIC = 3,
1: + IOAPIC_DOMAIN_INVALID = 0,
1: + IOAPIC_DOMAIN_LEGACY = 1,
1: + IOAPIC_DOMAIN_STRICT = 2,
1: + IOAPIC_DOMAIN_DYNAMIC = 3,
1: };
1:
1: struct ioapic_domain_cfg {
1: - enum ioapic_domain_type type;
1: - const struct irq_domain_ops *ops;
1: - struct device_node *dev;
1: + enum ioapic_domain_type type;
1: + const struct irq_domain_ops *ops;
1: + struct device_node *dev;
1: };
1:
1: struct wakeup_header {
1: - u16 video_mode;
1: - u32 pmode_entry;
1: - u16 pmode_cs;
1: - u32 pmode_cr0;
1: - u32 pmode_cr3;
1: - u32 pmode_cr4;
1: - u32 pmode_efer_low;
1: - u32 pmode_efer_high;
1: - u64 pmode_gdt;
1: - u32 pmode_misc_en_low;
1: - u32 pmode_misc_en_high;
1: - u32 pmode_behavior;
1: - u32 realmode_flags;
1: - u32 real_magic;
1: - u32 signature;
1: + u16 video_mode;
1: + u32 pmode_entry;
1: + u16 pmode_cs;
1: + u32 pmode_cr0;
1: + u32 pmode_cr3;
1: + u32 pmode_cr4;
1: + u32 pmode_efer_low;
1: + u32 pmode_efer_high;
1: + u64 pmode_gdt;
1: + u32 pmode_misc_en_low;
1: + u32 pmode_misc_en_high;
1: + u32 pmode_behavior;
1: + u32 realmode_flags;
1: + u32 real_magic;
1: + u32 signature;
1: } __attribute__((packed));
1:
1: struct cpc_reg {
1: - u8 descriptor;
1: - u16 length;
1: - u8 space_id;
1: - u8 bit_width;
1: - u8 bit_offset;
1: - u8 access_width;
1: - u64 address;
1: + u8 descriptor;
1: + u16 length;
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_width;
1: + u64 address;
1: } __attribute__((packed));
1:
1: struct acpi_power_register {
1: - u8 descriptor;
1: - u16 length;
1: - u8 space_id;
1: - u8 bit_width;
1: - u8 bit_offset;
1: - u8 access_size;
1: - u64 address;
1: + u8 descriptor;
1: + u16 length;
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_size;
1: + u64 address;
1: } __attribute__((packed));
1:
1: struct acpi_processor_cx {
1: - u8 valid;
1: - u8 type;
1: - u32 address;
1: - u8 entry_method;
1: - u8 index;
1: - u32 latency;
1: - u8 bm_sts_skip;
1: - char desc[32];
1: + u8 valid;
1: + u8 type;
1: + u32 address;
1: + u8 entry_method;
1: + u8 index;
1: + u32 latency;
1: + u8 bm_sts_skip;
1: + char desc[32];
1: };
1:
1: struct acpi_processor_flags {
1: - u8 power: 1;
1: - u8 performance: 1;
1: - u8 throttling: 1;
1: - u8 limit: 1;
1: - u8 bm_control: 1;
1: - u8 bm_check: 1;
1: - u8 has_cst: 1;
1: - u8 has_lpi: 1;
1: - u8 power_setup_done: 1;
1: - u8 bm_rld_set: 1;
1: - u8 need_hotplug_init: 1;
1: + u8 power : 1;
1: + u8 performance : 1;
1: + u8 throttling : 1;
1: + u8 limit : 1;
1: + u8 bm_control : 1;
1: + u8 bm_check : 1;
1: + u8 has_cst : 1;
1: + u8 has_lpi : 1;
1: + u8 power_setup_done : 1;
1: + u8 bm_rld_set : 1;
1: + u8 need_hotplug_init : 1;
1: };
1:
1: struct cstate_entry {
1: - struct {
1: - unsigned int eax;
1: - unsigned int ecx;
1: - } states[8];
1: + struct {
1: + unsigned int eax;
1: + unsigned int ecx;
1: + } states[8];
1: };
1:
1: enum reboot_mode {
1: - REBOOT_UNDEFINED = -1,
1: - REBOOT_COLD = 0,
1: - REBOOT_WARM = 1,
1: - REBOOT_HARD = 2,
1: - REBOOT_SOFT = 3,
1: - REBOOT_GPIO = 4,
1: + REBOOT_UNDEFINED = -1,
1: + REBOOT_COLD = 0,
1: + REBOOT_WARM = 1,
1: + REBOOT_HARD = 2,
1: + REBOOT_SOFT = 3,
1: + REBOOT_GPIO = 4,
1: };
1:
1: enum reboot_type {
1: - BOOT_TRIPLE = 116,
1: - BOOT_KBD = 107,
1: - BOOT_BIOS = 98,
1: - BOOT_ACPI = 97,
1: - BOOT_EFI = 101,
1: - BOOT_CF9_FORCE = 112,
1: - BOOT_CF9_SAFE = 113,
1: + BOOT_TRIPLE = 116,
1: + BOOT_KBD = 107,
1: + BOOT_BIOS = 98,
1: + BOOT_ACPI = 97,
1: + BOOT_EFI = 101,
1: + BOOT_CF9_FORCE = 112,
1: + BOOT_CF9_SAFE = 113,
1: };
1:
1: struct machine_ops {
1: - void (*restart)(char *);
1: - void (*halt)();
1: - void (*power_off)();
1: - void (*shutdown)();
1: - void (*crash_shutdown)(struct pt_regs *);
1: - void (*emergency_restart)();
1: + void (*restart)(char *);
1: + void (*halt)();
1: + void (*power_off)();
1: + void (*shutdown)();
1: + void (*crash_shutdown)(struct pt_regs *);
1: + void (*emergency_restart)();
1: };
1:
1: typedef void (*nmi_shootdown_cb)(int, struct pt_regs *);
1:
1: struct cpuid_regs_done {
1: - struct cpuid_regs regs;
1: - struct completion done;
1: + struct cpuid_regs regs;
1: + struct completion done;
1: };
1:
1: struct intel_early_ops {
1: - resource_size_t (*stolen_size)(int, int, int);
1: - resource_size_t (*stolen_base)(int, int, int, resource_size_t);
1: + resource_size_t (*stolen_size)(int, int, int);
1: + resource_size_t (*stolen_base)(int, int, int, resource_size_t);
1: };
1:
1: struct chipset {
1: - u32 vendor;
1: - u32 device;
1: - u32 class;
1: - u32 class_mask;
1: - u32 flags;
1: - void (*f)(int, int, int);
1: + u32 vendor;
1: + u32 device;
1: + u32 class;
1: + u32 class_mask;
1: + u32 flags;
1: + void (*f)(int, int, int);
1: };
1:
1: enum apic_intr_mode_id {
1: - APIC_PIC = 0,
1: - APIC_VIRTUAL_WIRE = 1,
1: - APIC_VIRTUAL_WIRE_NO_CONFIG = 2,
1: - APIC_SYMMETRIC_IO = 3,
1: - APIC_SYMMETRIC_IO_NO_ROUTING = 4,
1: + APIC_PIC = 0,
1: + APIC_VIRTUAL_WIRE = 1,
1: + APIC_VIRTUAL_WIRE_NO_CONFIG = 2,
1: + APIC_SYMMETRIC_IO = 3,
1: + APIC_SYMMETRIC_IO_NO_ROUTING = 4,
1: };
1:
1: struct sched_domain_shared {
1: - atomic_t ref;
1: - atomic_t nr_busy_cpus;
1: - int has_idle_cores;
1: + atomic_t ref;
1: + atomic_t nr_busy_cpus;
1: + int has_idle_cores;
1: };
1:
1: struct sched_group;
1:
1: struct sched_domain {
1: - struct sched_domain *parent;
1: - struct sched_domain *child;
1: - struct sched_group *groups;
1: - long unsigned int min_interval;
1: - long unsigned int max_interval;
1: - unsigned int busy_factor;
1: - unsigned int imbalance_pct;
1: - unsigned int cache_nice_tries;
1: - int nohz_idle;
1: - int flags;
1: - int level;
1: - long unsigned int last_balance;
1: - unsigned int balance_interval;
1: - unsigned int nr_balance_failed;
1: - u64 max_newidle_lb_cost;
1: - long unsigned int next_decay_max_lb_cost;
1: - u64 avg_scan_cost;
1: - unsigned int lb_count[3];
1: - unsigned int lb_failed[3];
1: - unsigned int lb_balanced[3];
1: - unsigned int lb_imbalance[3];
1: - unsigned int lb_gained[3];
1: - unsigned int lb_hot_gained[3];
1: - unsigned int lb_nobusyg[3];
1: - unsigned int lb_nobusyq[3];
1: - unsigned int alb_count;
1: - unsigned int alb_failed;
1: - unsigned int alb_pushed;
1: - unsigned int sbe_count;
1: - unsigned int sbe_balanced;
1: - unsigned int sbe_pushed;
1: - unsigned int sbf_count;
1: - unsigned int sbf_balanced;
1: - unsigned int sbf_pushed;
1: - unsigned int ttwu_wake_remote;
1: - unsigned int ttwu_move_affine;
1: - unsigned int ttwu_move_balance;
1: - union {
1: - void *private;
1: - struct callback_head rcu;
1: - };
1: - struct sched_domain_shared *shared;
1: - unsigned int span_weight;
1: - long unsigned int span[0];
1: -};
1: -
1: -typedef const struct cpumask * (*sched_domain_mask_f)(int);
1: + struct sched_domain *parent;
1: + struct sched_domain *child;
1: + struct sched_group *groups;
1: + long unsigned int min_interval;
1: + long unsigned int max_interval;
1: + unsigned int busy_factor;
1: + unsigned int imbalance_pct;
1: + unsigned int cache_nice_tries;
1: + int nohz_idle;
1: + int flags;
1: + int level;
1: + long unsigned int last_balance;
1: + unsigned int balance_interval;
1: + unsigned int nr_balance_failed;
1: + u64 max_newidle_lb_cost;
1: + long unsigned int next_decay_max_lb_cost;
1: + u64 avg_scan_cost;
1: + unsigned int lb_count[3];
1: + unsigned int lb_failed[3];
1: + unsigned int lb_balanced[3];
1: + unsigned int lb_imbalance[3];
1: + unsigned int lb_gained[3];
1: + unsigned int lb_hot_gained[3];
1: + unsigned int lb_nobusyg[3];
1: + unsigned int lb_nobusyq[3];
1: + unsigned int alb_count;
1: + unsigned int alb_failed;
1: + unsigned int alb_pushed;
1: + unsigned int sbe_count;
1: + unsigned int sbe_balanced;
1: + unsigned int sbe_pushed;
1: + unsigned int sbf_count;
1: + unsigned int sbf_balanced;
1: + unsigned int sbf_pushed;
1: + unsigned int ttwu_wake_remote;
1: + unsigned int ttwu_move_affine;
1: + unsigned int ttwu_move_balance;
1: + union {
1: + void *private;
1: + struct callback_head rcu;
1: + };
1: + struct sched_domain_shared *shared;
1: + unsigned int span_weight;
1: + long unsigned int span[0];
1: +};
1: +
1: +typedef const struct cpumask *(*sched_domain_mask_f)(int);
1:
1: typedef int (*sched_domain_flags_f)();
1:
1: struct sched_group_capacity;
1:
1: struct sd_data {
1: - struct sched_domain **sd;
1: - struct sched_domain_shared **sds;
1: - struct sched_group **sg;
1: - struct sched_group_capacity **sgc;
1: + struct sched_domain **sd;
1: + struct sched_domain_shared **sds;
1: + struct sched_group **sg;
1: + struct sched_group_capacity **sgc;
1: };
1:
1: struct sched_domain_topology_level {
1: - sched_domain_mask_f mask;
1: - sched_domain_flags_f sd_flags;
1: - int flags;
1: - int numa_level;
1: - struct sd_data data;
1: + sched_domain_mask_f mask;
1: + sched_domain_flags_f sd_flags;
1: + int flags;
1: + int numa_level;
1: + struct sd_data data;
1: };
1:
1: struct tsc_adjust {
1: - s64 bootval;
1: - s64 adjusted;
1: - long unsigned int nextcheck;
1: - bool warned;
1: + s64 bootval;
1: + s64 adjusted;
1: + long unsigned int nextcheck;
1: + bool warned;
1: };
1:
1: -typedef void * (*pcpu_fc_alloc_fn_t)(unsigned int, size_t, size_t);
1: +typedef void *(*pcpu_fc_alloc_fn_t)(unsigned int, size_t, size_t);
1:
1: typedef void (*pcpu_fc_free_fn_t)(void *, size_t);
1:
1: @@ -21741,253 +21900,253 @@ typedef void (*pcpu_fc_populate_pte_fn_t)(long unsigned int);
1: typedef int pcpu_fc_cpu_distance_fn_t(unsigned int, unsigned int);
1:
1: enum {
1: - DUMP_PREFIX_NONE = 0,
1: - DUMP_PREFIX_ADDRESS = 1,
1: - DUMP_PREFIX_OFFSET = 2,
1: + DUMP_PREFIX_NONE = 0,
1: + DUMP_PREFIX_ADDRESS = 1,
1: + DUMP_PREFIX_OFFSET = 2,
1: };
1:
1: struct mpf_intel {
1: - char signature[4];
1: - unsigned int physptr;
1: - unsigned char length;
1: - unsigned char specification;
1: - unsigned char checksum;
1: - unsigned char feature1;
1: - unsigned char feature2;
1: - unsigned char feature3;
1: - unsigned char feature4;
1: - unsigned char feature5;
1: + char signature[4];
1: + unsigned int physptr;
1: + unsigned char length;
1: + unsigned char specification;
1: + unsigned char checksum;
1: + unsigned char feature1;
1: + unsigned char feature2;
1: + unsigned char feature3;
1: + unsigned char feature4;
1: + unsigned char feature5;
1: };
1:
1: struct mpc_ioapic {
1: - unsigned char type;
1: - unsigned char apicid;
1: - unsigned char apicver;
1: - unsigned char flags;
1: - unsigned int apicaddr;
1: + unsigned char type;
1: + unsigned char apicid;
1: + unsigned char apicver;
1: + unsigned char flags;
1: + unsigned int apicaddr;
1: };
1:
1: struct mpc_lintsrc {
1: - unsigned char type;
1: - unsigned char irqtype;
1: - short unsigned int irqflag;
1: - unsigned char srcbusid;
1: - unsigned char srcbusirq;
1: - unsigned char destapic;
1: - unsigned char destapiclint;
1: + unsigned char type;
1: + unsigned char irqtype;
1: + short unsigned int irqflag;
1: + unsigned char srcbusid;
1: + unsigned char srcbusirq;
1: + unsigned char destapic;
1: + unsigned char destapiclint;
1: };
1:
1: union apic_ir {
1: - long unsigned int map[4];
1: - u32 regs[8];
1: + long unsigned int map[4];
1: + u32 regs[8];
1: };
1:
1: enum ioapic_irq_destination_types {
1: - dest_Fixed = 0,
1: - dest_LowestPrio = 1,
1: - dest_SMI = 2,
1: - dest__reserved_1 = 3,
1: - dest_NMI = 4,
1: - dest_INIT = 5,
1: - dest__reserved_2 = 6,
1: - dest_ExtINT = 7,
1: -};
1: -
1: -enum {
1: - IRQ_SET_MASK_OK = 0,
1: - IRQ_SET_MASK_OK_NOCOPY = 1,
1: - IRQ_SET_MASK_OK_DONE = 2,
1: -};
1: -
1: -enum {
1: - IRQD_TRIGGER_MASK = 15,
1: - IRQD_SETAFFINITY_PENDING = 256,
1: - IRQD_ACTIVATED = 512,
1: - IRQD_NO_BALANCING = 1024,
1: - IRQD_PER_CPU = 2048,
1: - IRQD_AFFINITY_SET = 4096,
1: - IRQD_LEVEL = 8192,
1: - IRQD_WAKEUP_STATE = 16384,
1: - IRQD_MOVE_PCNTXT = 32768,
1: - IRQD_IRQ_DISABLED = 65536,
1: - IRQD_IRQ_MASKED = 131072,
1: - IRQD_IRQ_INPROGRESS = 262144,
1: - IRQD_WAKEUP_ARMED = 524288,
1: - IRQD_FORWARDED_TO_VCPU = 1048576,
1: - IRQD_AFFINITY_MANAGED = 2097152,
1: - IRQD_IRQ_STARTED = 4194304,
1: - IRQD_MANAGED_SHUTDOWN = 8388608,
1: - IRQD_SINGLE_TARGET = 16777216,
1: - IRQD_DEFAULT_TRIGGER_SET = 33554432,
1: - IRQD_CAN_RESERVE = 67108864,
1: + dest_Fixed = 0,
1: + dest_LowestPrio = 1,
1: + dest_SMI = 2,
1: + dest__reserved_1 = 3,
1: + dest_NMI = 4,
1: + dest_INIT = 5,
1: + dest__reserved_2 = 6,
1: + dest_ExtINT = 7,
1: +};
1: +
1: +enum {
1: + IRQ_SET_MASK_OK = 0,
1: + IRQ_SET_MASK_OK_NOCOPY = 1,
1: + IRQ_SET_MASK_OK_DONE = 2,
1: +};
1: +
1: +enum {
1: + IRQD_TRIGGER_MASK = 15,
1: + IRQD_SETAFFINITY_PENDING = 256,
1: + IRQD_ACTIVATED = 512,
1: + IRQD_NO_BALANCING = 1024,
1: + IRQD_PER_CPU = 2048,
1: + IRQD_AFFINITY_SET = 4096,
1: + IRQD_LEVEL = 8192,
1: + IRQD_WAKEUP_STATE = 16384,
1: + IRQD_MOVE_PCNTXT = 32768,
1: + IRQD_IRQ_DISABLED = 65536,
1: + IRQD_IRQ_MASKED = 131072,
1: + IRQD_IRQ_INPROGRESS = 262144,
1: + IRQD_WAKEUP_ARMED = 524288,
1: + IRQD_FORWARDED_TO_VCPU = 1048576,
1: + IRQD_AFFINITY_MANAGED = 2097152,
1: + IRQD_IRQ_STARTED = 4194304,
1: + IRQD_MANAGED_SHUTDOWN = 8388608,
1: + IRQD_SINGLE_TARGET = 16777216,
1: + IRQD_DEFAULT_TRIGGER_SET = 33554432,
1: + IRQD_CAN_RESERVE = 67108864,
1: };
1:
1: struct irq_cfg {
1: - unsigned int dest_apicid;
1: - unsigned int vector;
1: + unsigned int dest_apicid;
1: + unsigned int vector;
1: };
1:
1: enum {
1: - IRQCHIP_FWNODE_REAL = 0,
1: - IRQCHIP_FWNODE_NAMED = 1,
1: - IRQCHIP_FWNODE_NAMED_ID = 2,
1: + IRQCHIP_FWNODE_REAL = 0,
1: + IRQCHIP_FWNODE_NAMED = 1,
1: + IRQCHIP_FWNODE_NAMED_ID = 2,
1: };
1:
1: enum {
1: - X86_IRQ_ALLOC_CONTIGUOUS_VECTORS = 1,
1: - X86_IRQ_ALLOC_LEGACY = 2,
1: + X86_IRQ_ALLOC_CONTIGUOUS_VECTORS = 1,
1: + X86_IRQ_ALLOC_LEGACY = 2,
1: };
1:
1: struct apic_chip_data {
1: - struct irq_cfg hw_irq_cfg;
1: - unsigned int vector;
1: - unsigned int prev_vector;
1: - unsigned int cpu;
1: - unsigned int prev_cpu;
1: - unsigned int irq;
1: - struct hlist_node clist;
1: - unsigned int move_in_progress: 1;
1: - unsigned int is_managed: 1;
1: - unsigned int can_reserve: 1;
1: - unsigned int has_reserved: 1;
1: + struct irq_cfg hw_irq_cfg;
1: + unsigned int vector;
1: + unsigned int prev_vector;
1: + unsigned int cpu;
1: + unsigned int prev_cpu;
1: + unsigned int irq;
1: + struct hlist_node clist;
1: + unsigned int move_in_progress : 1;
1: + unsigned int is_managed : 1;
1: + unsigned int can_reserve : 1;
1: + unsigned int has_reserved : 1;
1: };
1:
1: struct irq_matrix;
1:
1: union IO_APIC_reg_00 {
1: - u32 raw;
1: - struct {
1: - u32 __reserved_2: 14;
1: - u32 LTS: 1;
1: - u32 delivery_type: 1;
1: - u32 __reserved_1: 8;
1: - u32 ID: 8;
1: - } bits;
1: + u32 raw;
1: + struct {
1: + u32 __reserved_2 : 14;
1: + u32 LTS : 1;
1: + u32 delivery_type : 1;
1: + u32 __reserved_1 : 8;
1: + u32 ID : 8;
1: + } bits;
1: };
1:
1: union IO_APIC_reg_01 {
1: - u32 raw;
1: - struct {
1: - u32 version: 8;
1: - u32 __reserved_2: 7;
1: - u32 PRQ: 1;
1: - u32 entries: 8;
1: - u32 __reserved_1: 8;
1: - } bits;
1: + u32 raw;
1: + struct {
1: + u32 version : 8;
1: + u32 __reserved_2 : 7;
1: + u32 PRQ : 1;
1: + u32 entries : 8;
1: + u32 __reserved_1 : 8;
1: + } bits;
1: };
1:
1: union IO_APIC_reg_02 {
1: - u32 raw;
1: - struct {
1: - u32 __reserved_2: 24;
1: - u32 arbitration: 4;
1: - u32 __reserved_1: 4;
1: - } bits;
1: + u32 raw;
1: + struct {
1: + u32 __reserved_2 : 24;
1: + u32 arbitration : 4;
1: + u32 __reserved_1 : 4;
1: + } bits;
1: };
1:
1: union IO_APIC_reg_03 {
1: - u32 raw;
1: - struct {
1: - u32 boot_DT: 1;
1: - u32 __reserved_1: 31;
1: - } bits;
1: + u32 raw;
1: + struct {
1: + u32 boot_DT : 1;
1: + u32 __reserved_1 : 31;
1: + } bits;
1: };
1:
1: struct IR_IO_APIC_route_entry {
1: - __u64 vector: 8;
1: - __u64 zero: 3;
1: - __u64 index2: 1;
1: - __u64 delivery_status: 1;
1: - __u64 polarity: 1;
1: - __u64 irr: 1;
1: - __u64 trigger: 1;
1: - __u64 mask: 1;
1: - __u64 reserved: 31;
1: - __u64 format: 1;
1: - __u64 index: 15;
1: -};
1: -
1: -enum {
1: - IRQ_TYPE_NONE = 0,
1: - IRQ_TYPE_EDGE_RISING = 1,
1: - IRQ_TYPE_EDGE_FALLING = 2,
1: - IRQ_TYPE_EDGE_BOTH = 3,
1: - IRQ_TYPE_LEVEL_HIGH = 4,
1: - IRQ_TYPE_LEVEL_LOW = 8,
1: - IRQ_TYPE_LEVEL_MASK = 12,
1: - IRQ_TYPE_SENSE_MASK = 15,
1: - IRQ_TYPE_DEFAULT = 15,
1: - IRQ_TYPE_PROBE = 16,
1: - IRQ_LEVEL = 256,
1: - IRQ_PER_CPU = 512,
1: - IRQ_NOPROBE = 1024,
1: - IRQ_NOREQUEST = 2048,
1: - IRQ_NOAUTOEN = 4096,
1: - IRQ_NO_BALANCING = 8192,
1: - IRQ_MOVE_PCNTXT = 16384,
1: - IRQ_NESTED_THREAD = 32768,
1: - IRQ_NOTHREAD = 65536,
1: - IRQ_PER_CPU_DEVID = 131072,
1: - IRQ_IS_POLLED = 262144,
1: - IRQ_DISABLE_UNLAZY = 524288,
1: -};
1: -
1: -enum {
1: - IRQCHIP_SET_TYPE_MASKED = 1,
1: - IRQCHIP_EOI_IF_HANDLED = 2,
1: - IRQCHIP_MASK_ON_SUSPEND = 4,
1: - IRQCHIP_ONOFFLINE_ENABLED = 8,
1: - IRQCHIP_SKIP_SET_WAKE = 16,
1: - IRQCHIP_ONESHOT_SAFE = 32,
1: - IRQCHIP_EOI_THREADED = 64,
1: - IRQCHIP_SUPPORTS_LEVEL_MSI = 128,
1: - IRQCHIP_SUPPORTS_NMI = 256,
1: + __u64 vector : 8;
1: + __u64 zero : 3;
1: + __u64 index2 : 1;
1: + __u64 delivery_status : 1;
1: + __u64 polarity : 1;
1: + __u64 irr : 1;
1: + __u64 trigger : 1;
1: + __u64 mask : 1;
1: + __u64 reserved : 31;
1: + __u64 format : 1;
1: + __u64 index : 15;
1: +};
1: +
1: +enum {
1: + IRQ_TYPE_NONE = 0,
1: + IRQ_TYPE_EDGE_RISING = 1,
1: + IRQ_TYPE_EDGE_FALLING = 2,
1: + IRQ_TYPE_EDGE_BOTH = 3,
1: + IRQ_TYPE_LEVEL_HIGH = 4,
1: + IRQ_TYPE_LEVEL_LOW = 8,
1: + IRQ_TYPE_LEVEL_MASK = 12,
1: + IRQ_TYPE_SENSE_MASK = 15,
1: + IRQ_TYPE_DEFAULT = 15,
1: + IRQ_TYPE_PROBE = 16,
1: + IRQ_LEVEL = 256,
1: + IRQ_PER_CPU = 512,
1: + IRQ_NOPROBE = 1024,
1: + IRQ_NOREQUEST = 2048,
1: + IRQ_NOAUTOEN = 4096,
1: + IRQ_NO_BALANCING = 8192,
1: + IRQ_MOVE_PCNTXT = 16384,
1: + IRQ_NESTED_THREAD = 32768,
1: + IRQ_NOTHREAD = 65536,
1: + IRQ_PER_CPU_DEVID = 131072,
1: + IRQ_IS_POLLED = 262144,
1: + IRQ_DISABLE_UNLAZY = 524288,
1: +};
1: +
1: +enum {
1: + IRQCHIP_SET_TYPE_MASKED = 1,
1: + IRQCHIP_EOI_IF_HANDLED = 2,
1: + IRQCHIP_MASK_ON_SUSPEND = 4,
1: + IRQCHIP_ONOFFLINE_ENABLED = 8,
1: + IRQCHIP_SKIP_SET_WAKE = 16,
1: + IRQCHIP_ONESHOT_SAFE = 32,
1: + IRQCHIP_EOI_THREADED = 64,
1: + IRQCHIP_SUPPORTS_LEVEL_MSI = 128,
1: + IRQCHIP_SUPPORTS_NMI = 256,
1: };
1:
1: struct irq_pin_list {
1: - struct list_head list;
1: - int apic;
1: - int pin;
1: + struct list_head list;
1: + int apic;
1: + int pin;
1: };
1:
1: struct mp_chip_data {
1: - struct list_head irq_2_pin;
1: - struct IO_APIC_route_entry entry;
1: - int trigger;
1: - int polarity;
1: - u32 count;
1: - bool isa_irq;
1: + struct list_head irq_2_pin;
1: + struct IO_APIC_route_entry entry;
1: + int trigger;
1: + int polarity;
1: + u32 count;
1: + bool isa_irq;
1: };
1:
1: struct mp_ioapic_gsi {
1: - u32 gsi_base;
1: - u32 gsi_end;
1: + u32 gsi_base;
1: + u32 gsi_end;
1: };
1:
1: struct ioapic {
1: - int nr_registers;
1: - struct IO_APIC_route_entry *saved_registers;
1: - struct mpc_ioapic mp_config;
1: - struct mp_ioapic_gsi gsi_config;
1: - struct ioapic_domain_cfg irqdomain_cfg;
1: - struct irq_domain *irqdomain;
1: - struct resource *iomem_res;
1: + int nr_registers;
1: + struct IO_APIC_route_entry *saved_registers;
1: + struct mpc_ioapic mp_config;
1: + struct mp_ioapic_gsi gsi_config;
1: + struct ioapic_domain_cfg irqdomain_cfg;
1: + struct irq_domain *irqdomain;
1: + struct resource *iomem_res;
1: };
1:
1: struct io_apic {
1: - unsigned int index;
1: - unsigned int unused[3];
1: - unsigned int data;
1: - unsigned int unused2[11];
1: - unsigned int eoi;
1: + unsigned int index;
1: + unsigned int unused[3];
1: + unsigned int data;
1: + unsigned int unused2[11];
1: + unsigned int eoi;
1: };
1:
1: union entry_union {
1: - struct {
1: - u32 w1;
1: - u32 w2;
1: - };
1: - struct IO_APIC_route_entry entry;
1: + struct {
1: + u32 w1;
1: + u32 w2;
1: + };
1: + struct IO_APIC_route_entry entry;
1: };
1:
1: struct clock_event_device___2;
1: @@ -21997,143 +22156,147 @@ typedef struct irq_alloc_info msi_alloc_info_t;
1: struct msi_domain_info;
1:
1: struct msi_domain_ops {
1: - irq_hw_number_t (*get_hwirq)(struct msi_domain_info *, msi_alloc_info_t *);
1: - int (*msi_init)(struct irq_domain *, struct msi_domain_info *, unsigned int, irq_hw_number_t, msi_alloc_info_t *);
1: - void (*msi_free)(struct irq_domain *, struct msi_domain_info *, unsigned int);
1: - int (*msi_check)(struct irq_domain *, struct msi_domain_info *, struct device *);
1: - int (*msi_prepare)(struct irq_domain *, struct device *, int, msi_alloc_info_t *);
1: - void (*msi_finish)(msi_alloc_info_t *, int);
1: - void (*set_desc)(msi_alloc_info_t *, struct msi_desc *);
1: - int (*handle_error)(struct irq_domain *, struct msi_desc *, int);
1: + irq_hw_number_t (*get_hwirq)(struct msi_domain_info *, msi_alloc_info_t *);
1: + int (*msi_init)(struct irq_domain *, struct msi_domain_info *, unsigned int,
1: + irq_hw_number_t, msi_alloc_info_t *);
1: + void (*msi_free)(struct irq_domain *, struct msi_domain_info *, unsigned int);
1: + int (*msi_check)(struct irq_domain *, struct msi_domain_info *,
1: + struct device *);
1: + int (*msi_prepare)(struct irq_domain *, struct device *, int,
1: + msi_alloc_info_t *);
1: + void (*msi_finish)(msi_alloc_info_t *, int);
1: + void (*set_desc)(msi_alloc_info_t *, struct msi_desc *);
1: + int (*handle_error)(struct irq_domain *, struct msi_desc *, int);
1: };
1:
1: struct msi_domain_info {
1: - u32 flags;
1: - struct msi_domain_ops *ops;
1: - struct irq_chip *chip;
1: - void *chip_data;
1: - irq_flow_handler_t handler;
1: - void *handler_data;
1: - const char *handler_name;
1: - void *data;
1: + u32 flags;
1: + struct msi_domain_ops *ops;
1: + struct irq_chip *chip;
1: + void *chip_data;
1: + irq_flow_handler_t handler;
1: + void *handler_data;
1: + const char *handler_name;
1: + void *data;
1: };
1:
1: enum {
1: - MSI_FLAG_USE_DEF_DOM_OPS = 1,
1: - MSI_FLAG_USE_DEF_CHIP_OPS = 2,
1: - MSI_FLAG_MULTI_PCI_MSI = 4,
1: - MSI_FLAG_PCI_MSIX = 8,
1: - MSI_FLAG_ACTIVATE_EARLY = 16,
1: - MSI_FLAG_MUST_REACTIVATE = 32,
1: - MSI_FLAG_LEVEL_CAPABLE = 64,
1: + MSI_FLAG_USE_DEF_DOM_OPS = 1,
1: + MSI_FLAG_USE_DEF_CHIP_OPS = 2,
1: + MSI_FLAG_MULTI_PCI_MSI = 4,
1: + MSI_FLAG_PCI_MSIX = 8,
1: + MSI_FLAG_ACTIVATE_EARLY = 16,
1: + MSI_FLAG_MUST_REACTIVATE = 32,
1: + MSI_FLAG_LEVEL_CAPABLE = 64,
1: };
1:
1: struct hpet_channel;
1:
1: struct kimage_arch {
1: - p4d_t *p4d;
1: - pud_t *pud;
1: - pmd_t *pmd;
1: - pte_t *pte;
1: - void *elf_headers;
1: - long unsigned int elf_headers_sz;
1: - long unsigned int elf_load_addr;
1: + p4d_t *p4d;
1: + pud_t *pud;
1: + pmd_t *pmd;
1: + pte_t *pte;
1: + void *elf_headers;
1: + long unsigned int elf_headers_sz;
1: + long unsigned int elf_load_addr;
1: };
1:
1: typedef long unsigned int kimage_entry_t;
1:
1: struct kexec_segment {
1: - union {
1: - void *buf;
1: - void *kbuf;
1: - };
1: - size_t bufsz;
1: - long unsigned int mem;
1: - size_t memsz;
1: + union {
1: + void *buf;
1: + void *kbuf;
1: + };
1: + size_t bufsz;
1: + long unsigned int mem;
1: + size_t memsz;
1: };
1:
1: struct kimage {
1: - kimage_entry_t head;
1: - kimage_entry_t *entry;
1: - kimage_entry_t *last_entry;
1: - long unsigned int start;
1: - struct page *control_code_page;
1: - struct page *swap_page;
1: - void *vmcoreinfo_data_copy;
1: - long unsigned int nr_segments;
1: - struct kexec_segment segment[16];
1: - struct list_head control_pages;
1: - struct list_head dest_pages;
1: - struct list_head unusable_pages;
1: - long unsigned int control_page;
1: - unsigned int type: 1;
1: - unsigned int preserve_context: 1;
1: - unsigned int file_mode: 1;
1: - struct kimage_arch arch;
1: + kimage_entry_t head;
1: + kimage_entry_t *entry;
1: + kimage_entry_t *last_entry;
1: + long unsigned int start;
1: + struct page *control_code_page;
1: + struct page *swap_page;
1: + void *vmcoreinfo_data_copy;
1: + long unsigned int nr_segments;
1: + struct kexec_segment segment[16];
1: + struct list_head control_pages;
1: + struct list_head dest_pages;
1: + struct list_head unusable_pages;
1: + long unsigned int control_page;
1: + unsigned int type : 1;
1: + unsigned int preserve_context : 1;
1: + unsigned int file_mode : 1;
1: + struct kimage_arch arch;
1: };
1:
1: struct x86_mapping_info {
1: - void * (*alloc_pgt_page)(void *);
1: - void *context;
1: - long unsigned int page_flag;
1: - long unsigned int offset;
1: - bool direct_gbpages;
1: - long unsigned int kernpg_flag;
1: + void *(*alloc_pgt_page)(void *);
1: + void *context;
1: + long unsigned int page_flag;
1: + long unsigned int offset;
1: + bool direct_gbpages;
1: + long unsigned int kernpg_flag;
1: };
1:
1: struct init_pgtable_data {
1: - struct x86_mapping_info *info;
1: - pgd_t *level4p;
1: + struct x86_mapping_info *info;
1: + pgd_t *level4p;
1: };
1:
1: typedef void crash_vmclear_fn();
1:
1: struct kretprobe_instance;
1:
1: -typedef int (*kretprobe_handler_t)(struct kretprobe_instance *, struct pt_regs *);
1: +typedef int (*kretprobe_handler_t)(struct kretprobe_instance *,
1: + struct pt_regs *);
1:
1: struct kretprobe;
1:
1: struct kretprobe_instance {
1: - struct hlist_node hlist;
1: - struct kretprobe *rp;
1: - kprobe_opcode_t *ret_addr;
1: - struct task_struct *task;
1: - void *fp;
1: - char data[0];
1: + struct hlist_node hlist;
1: + struct kretprobe *rp;
1: + kprobe_opcode_t *ret_addr;
1: + struct task_struct *task;
1: + void *fp;
1: + char data[0];
1: };
1:
1: struct kretprobe {
1: - struct kprobe kp;
1: - kretprobe_handler_t handler;
1: - kretprobe_handler_t entry_handler;
1: - int maxactive;
1: - int nmissed;
1: - size_t data_size;
1: - struct hlist_head free_instances;
1: - raw_spinlock_t lock;
1: + struct kprobe kp;
1: + kretprobe_handler_t handler;
1: + kretprobe_handler_t entry_handler;
1: + int maxactive;
1: + int nmissed;
1: + size_t data_size;
1: + struct hlist_head free_instances;
1: + raw_spinlock_t lock;
1: };
1:
1: struct kretprobe_blackpoint {
1: - const char *name;
1: - void *addr;
1: + const char *name;
1: + void *addr;
1: };
1:
1: struct __arch_relative_insn {
1: - u8 op;
1: - s32 raddr;
1: + u8 op;
1: + s32 raddr;
1: } __attribute__((packed));
1:
1: struct arch_optimized_insn {
1: - kprobe_opcode_t copied_insn[4];
1: - kprobe_opcode_t *insn;
1: - size_t size;
1: + kprobe_opcode_t copied_insn[4];
1: + kprobe_opcode_t *insn;
1: + size_t size;
1: };
1:
1: struct optimized_kprobe {
1: - struct kprobe kp;
1: - struct list_head list;
1: - struct arch_optimized_insn optinsn;
1: + struct kprobe kp;
1: + struct list_head list;
1: + struct arch_optimized_insn optinsn;
1: };
1:
1: typedef struct kprobe *pto_T_____5;
1: @@ -22143,265 +22306,265 @@ typedef __u64 Elf64_Off;
1: typedef __s64 Elf64_Sxword;
1:
1: struct elf64_rela {
1: - Elf64_Addr r_offset;
1: - Elf64_Xword r_info;
1: - Elf64_Sxword r_addend;
1: + Elf64_Addr r_offset;
1: + Elf64_Xword r_info;
1: + Elf64_Sxword r_addend;
1: };
1:
1: typedef struct elf64_rela Elf64_Rela;
1:
1: struct elf64_hdr {
1: - unsigned char e_ident[16];
1: - Elf64_Half e_type;
1: - Elf64_Half e_machine;
1: - Elf64_Word e_version;
1: - Elf64_Addr e_entry;
1: - Elf64_Off e_phoff;
1: - Elf64_Off e_shoff;
1: - Elf64_Word e_flags;
1: - Elf64_Half e_ehsize;
1: - Elf64_Half e_phentsize;
1: - Elf64_Half e_phnum;
1: - Elf64_Half e_shentsize;
1: - Elf64_Half e_shnum;
1: - Elf64_Half e_shstrndx;
1: + unsigned char e_ident[16];
1: + Elf64_Half e_type;
1: + Elf64_Half e_machine;
1: + Elf64_Word e_version;
1: + Elf64_Addr e_entry;
1: + Elf64_Off e_phoff;
1: + Elf64_Off e_shoff;
1: + Elf64_Word e_flags;
1: + Elf64_Half e_ehsize;
1: + Elf64_Half e_phentsize;
1: + Elf64_Half e_phnum;
1: + Elf64_Half e_shentsize;
1: + Elf64_Half e_shnum;
1: + Elf64_Half e_shstrndx;
1: };
1:
1: typedef struct elf64_hdr Elf64_Ehdr;
1:
1: struct elf64_shdr {
1: - Elf64_Word sh_name;
1: - Elf64_Word sh_type;
1: - Elf64_Xword sh_flags;
1: - Elf64_Addr sh_addr;
1: - Elf64_Off sh_offset;
1: - Elf64_Xword sh_size;
1: - Elf64_Word sh_link;
1: - Elf64_Word sh_info;
1: - Elf64_Xword sh_addralign;
1: - Elf64_Xword sh_entsize;
1: + Elf64_Word sh_name;
1: + Elf64_Word sh_type;
1: + Elf64_Xword sh_flags;
1: + Elf64_Addr sh_addr;
1: + Elf64_Off sh_offset;
1: + Elf64_Xword sh_size;
1: + Elf64_Word sh_link;
1: + Elf64_Word sh_info;
1: + Elf64_Xword sh_addralign;
1: + Elf64_Xword sh_entsize;
1: };
1:
1: typedef struct elf64_shdr Elf64_Shdr;
1:
1: struct console {
1: - char name[16];
1: - void (*write)(struct console *, const char *, unsigned int);
1: - int (*read)(struct console *, char *, unsigned int);
1: - struct tty_driver * (*device)(struct console *, int *);
1: - void (*unblank)();
1: - int (*setup)(struct console *, char *);
1: - int (*match)(struct console *, char *, int, char *);
1: - short int flags;
1: - short int index;
1: - int cflag;
1: - void *data;
1: - struct console *next;
1: + char name[16];
1: + void (*write)(struct console *, const char *, unsigned int);
1: + int (*read)(struct console *, char *, unsigned int);
1: + struct tty_driver *(*device)(struct console *, int *);
1: + void (*unblank)();
1: + int (*setup)(struct console *, char *);
1: + int (*match)(struct console *, char *, int, char *);
1: + short int flags;
1: + short int index;
1: + int cflag;
1: + void *data;
1: + struct console *next;
1: };
1:
1: struct hpet_data {
1: - long unsigned int hd_phys_address;
1: - void *hd_address;
1: - short unsigned int hd_nirqs;
1: - unsigned int hd_state;
1: - unsigned int hd_irq[32];
1: + long unsigned int hd_phys_address;
1: + void *hd_address;
1: + short unsigned int hd_nirqs;
1: + unsigned int hd_state;
1: + unsigned int hd_irq[32];
1: };
1:
1: typedef irqreturn_t (*rtc_irq_handler)(int, void *);
1:
1: enum hpet_mode {
1: - HPET_MODE_UNUSED = 0,
1: - HPET_MODE_LEGACY = 1,
1: - HPET_MODE_CLOCKEVT = 2,
1: - HPET_MODE_DEVICE = 3,
1: + HPET_MODE_UNUSED = 0,
1: + HPET_MODE_LEGACY = 1,
1: + HPET_MODE_CLOCKEVT = 2,
1: + HPET_MODE_DEVICE = 3,
1: };
1:
1: struct hpet_channel___2 {
1: - struct clock_event_device evt;
1: - unsigned int num;
1: - unsigned int cpu;
1: - unsigned int irq;
1: - unsigned int in_use;
1: - enum hpet_mode mode;
1: - unsigned int boot_cfg;
1: - char name[10];
1: - long: 48;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct clock_event_device evt;
1: + unsigned int num;
1: + unsigned int cpu;
1: + unsigned int irq;
1: + unsigned int in_use;
1: + enum hpet_mode mode;
1: + unsigned int boot_cfg;
1: + char name[10];
1: + long : 48;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct hpet_base {
1: - unsigned int nr_channels;
1: - unsigned int nr_clockevents;
1: - unsigned int boot_cfg;
1: - struct hpet_channel___2 *channels;
1: + unsigned int nr_channels;
1: + unsigned int nr_clockevents;
1: + unsigned int boot_cfg;
1: + struct hpet_channel___2 *channels;
1: };
1:
1: union hpet_lock {
1: - struct {
1: - arch_spinlock_t lock;
1: - u32 value;
1: - };
1: - u64 lockval;
1: + struct {
1: + arch_spinlock_t lock;
1: + u32 value;
1: + };
1: + u64 lockval;
1: };
1:
1: struct amd_nb_bus_dev_range {
1: - u8 bus;
1: - u8 dev_base;
1: - u8 dev_limit;
1: + u8 bus;
1: + u8 dev_base;
1: + u8 dev_limit;
1: };
1:
1: struct amd_northbridge_info {
1: - u16 num;
1: - u64 flags;
1: - struct amd_northbridge *nb;
1: + u16 num;
1: + u64 flags;
1: + struct amd_northbridge *nb;
1: };
1:
1: struct scan_area {
1: - u64 addr;
1: - u64 size;
1: + u64 addr;
1: + u64 size;
1: };
1:
1: enum swiotlb_force {
1: - SWIOTLB_NORMAL = 0,
1: - SWIOTLB_FORCE = 1,
1: - SWIOTLB_NO_FORCE = 2,
1: + SWIOTLB_NORMAL = 0,
1: + SWIOTLB_FORCE = 1,
1: + SWIOTLB_NO_FORCE = 2,
1: };
1:
1: struct uprobe_xol_ops;
1:
1: struct arch_uprobe {
1: - union {
1: - u8 insn[16];
1: - u8 ixol[16];
1: - };
1: - const struct uprobe_xol_ops *ops;
1: - union {
1: - struct {
1: - s32 offs;
1: - u8 ilen;
1: - u8 opc1;
1: - } branch;
1: - struct {
1: - u8 fixups;
1: - u8 ilen;
1: - } defparam;
1: - struct {
1: - u8 reg_offset;
1: - u8 ilen;
1: - } push;
1: - };
1: + union {
1: + u8 insn[16];
1: + u8 ixol[16];
1: + };
1: + const struct uprobe_xol_ops *ops;
1: + union {
1: + struct {
1: + s32 offs;
1: + u8 ilen;
1: + u8 opc1;
1: + } branch;
1: + struct {
1: + u8 fixups;
1: + u8 ilen;
1: + } defparam;
1: + struct {
1: + u8 reg_offset;
1: + u8 ilen;
1: + } push;
1: + };
1: };
1:
1: struct uprobe_xol_ops {
1: - bool (*emulate)(struct arch_uprobe *, struct pt_regs *);
1: - int (*pre_xol)(struct arch_uprobe *, struct pt_regs *);
1: - int (*post_xol)(struct arch_uprobe *, struct pt_regs *);
1: - void (*abort)(struct arch_uprobe *, struct pt_regs *);
1: + bool (*emulate)(struct arch_uprobe *, struct pt_regs *);
1: + int (*pre_xol)(struct arch_uprobe *, struct pt_regs *);
1: + int (*post_xol)(struct arch_uprobe *, struct pt_regs *);
1: + void (*abort)(struct arch_uprobe *, struct pt_regs *);
1: };
1:
1: enum rp_check {
1: - RP_CHECK_CALL = 0,
1: - RP_CHECK_CHAIN_CALL = 1,
1: - RP_CHECK_RET = 2,
1: + RP_CHECK_CALL = 0,
1: + RP_CHECK_CHAIN_CALL = 1,
1: + RP_CHECK_RET = 2,
1: };
1:
1: enum dev_prop_type {
1: - DEV_PROP_U8 = 0,
1: - DEV_PROP_U16 = 1,
1: - DEV_PROP_U32 = 2,
1: - DEV_PROP_U64 = 3,
1: - DEV_PROP_STRING = 4,
1: + DEV_PROP_U8 = 0,
1: + DEV_PROP_U16 = 1,
1: + DEV_PROP_U32 = 2,
1: + DEV_PROP_U64 = 3,
1: + DEV_PROP_STRING = 4,
1: };
1:
1: struct property_entry {
1: - const char *name;
1: - size_t length;
1: - bool is_array;
1: - enum dev_prop_type type;
1: - union {
1: - const void *pointer;
1: - union {
1: - u8 u8_data;
1: - u16 u16_data;
1: - u32 u32_data;
1: - u64 u64_data;
1: - const char *str;
1: - } value;
1: - };
1: + const char *name;
1: + size_t length;
1: + bool is_array;
1: + enum dev_prop_type type;
1: + union {
1: + const void *pointer;
1: + union {
1: + u8 u8_data;
1: + u16 u16_data;
1: + u32 u32_data;
1: + u64 u64_data;
1: + const char *str;
1: + } value;
1: + };
1: };
1:
1: struct simplefb_platform_data {
1: - u32 width;
1: - u32 height;
1: - u32 stride;
1: - const char *format;
1: -};
1: -
1: -enum {
1: - M_I17 = 0,
1: - M_I20 = 1,
1: - M_I20_SR = 2,
1: - M_I24 = 3,
1: - M_I24_8_1 = 4,
1: - M_I24_10_1 = 5,
1: - M_I27_11_1 = 6,
1: - M_MINI = 7,
1: - M_MINI_3_1 = 8,
1: - M_MINI_4_1 = 9,
1: - M_MB = 10,
1: - M_MB_2 = 11,
1: - M_MB_3 = 12,
1: - M_MB_5_1 = 13,
1: - M_MB_6_1 = 14,
1: - M_MB_7_1 = 15,
1: - M_MB_SR = 16,
1: - M_MBA = 17,
1: - M_MBA_3 = 18,
1: - M_MBP = 19,
1: - M_MBP_2 = 20,
1: - M_MBP_2_2 = 21,
1: - M_MBP_SR = 22,
1: - M_MBP_4 = 23,
1: - M_MBP_5_1 = 24,
1: - M_MBP_5_2 = 25,
1: - M_MBP_5_3 = 26,
1: - M_MBP_6_1 = 27,
1: - M_MBP_6_2 = 28,
1: - M_MBP_7_1 = 29,
1: - M_MBP_8_2 = 30,
1: - M_UNKNOWN = 31,
1: + u32 width;
1: + u32 height;
1: + u32 stride;
1: + const char *format;
1: +};
1: +
1: +enum {
1: + M_I17 = 0,
1: + M_I20 = 1,
1: + M_I20_SR = 2,
1: + M_I24 = 3,
1: + M_I24_8_1 = 4,
1: + M_I24_10_1 = 5,
1: + M_I27_11_1 = 6,
1: + M_MINI = 7,
1: + M_MINI_3_1 = 8,
1: + M_MINI_4_1 = 9,
1: + M_MB = 10,
1: + M_MB_2 = 11,
1: + M_MB_3 = 12,
1: + M_MB_5_1 = 13,
1: + M_MB_6_1 = 14,
1: + M_MB_7_1 = 15,
1: + M_MB_SR = 16,
1: + M_MBA = 17,
1: + M_MBA_3 = 18,
1: + M_MBP = 19,
1: + M_MBP_2 = 20,
1: + M_MBP_2_2 = 21,
1: + M_MBP_SR = 22,
1: + M_MBP_4 = 23,
1: + M_MBP_5_1 = 24,
1: + M_MBP_5_2 = 25,
1: + M_MBP_5_3 = 26,
1: + M_MBP_6_1 = 27,
1: + M_MBP_6_2 = 28,
1: + M_MBP_7_1 = 29,
1: + M_MBP_8_2 = 30,
1: + M_UNKNOWN = 31,
1: };
1:
1: struct efifb_dmi_info {
1: - char *optname;
1: - long unsigned int base;
1: - int stride;
1: - int width;
1: - int height;
1: - int flags;
1: + char *optname;
1: + long unsigned int base;
1: + int stride;
1: + int width;
1: + int height;
1: + int flags;
1: };
1:
1: enum {
1: - OVERRIDE_NONE = 0,
1: - OVERRIDE_BASE = 1,
1: - OVERRIDE_STRIDE = 2,
1: - OVERRIDE_HEIGHT = 4,
1: - OVERRIDE_WIDTH = 8,
1: + OVERRIDE_NONE = 0,
1: + OVERRIDE_BASE = 1,
1: + OVERRIDE_STRIDE = 2,
1: + OVERRIDE_HEIGHT = 4,
1: + OVERRIDE_WIDTH = 8,
1: };
1:
1: enum perf_sample_regs_abi {
1: - PERF_SAMPLE_REGS_ABI_NONE = 0,
1: - PERF_SAMPLE_REGS_ABI_32 = 1,
1: - PERF_SAMPLE_REGS_ABI_64 = 2,
1: + PERF_SAMPLE_REGS_ABI_NONE = 0,
1: + PERF_SAMPLE_REGS_ABI_32 = 1,
1: + PERF_SAMPLE_REGS_ABI_64 = 2,
1: };
1:
1: struct __va_list_tag {
1: - unsigned int gp_offset;
1: - unsigned int fp_offset;
1: - void *overflow_arg_area;
1: - void *reg_save_area;
1: + unsigned int gp_offset;
1: + unsigned int fp_offset;
1: + void *overflow_arg_area;
1: + void *reg_save_area;
1: };
1:
1: typedef struct __va_list_tag __gnuc_va_list[1];
1: @@ -22409,555 +22572,553 @@ typedef struct __va_list_tag __gnuc_va_list[1];
1: typedef __gnuc_va_list va_list;
1:
1: struct va_format {
1: - const char *fmt;
1: - va_list *va;
1: + const char *fmt;
1: + va_list *va;
1: };
1:
1: struct pci_hostbridge_probe {
1: - u32 bus;
1: - u32 slot;
1: - u32 vendor;
1: - u32 device;
1: + u32 bus;
1: + u32 slot;
1: + u32 vendor;
1: + u32 device;
1: };
1:
1: enum pg_level {
1: - PG_LEVEL_NONE = 0,
1: - PG_LEVEL_4K = 1,
1: - PG_LEVEL_2M = 2,
1: - PG_LEVEL_1G = 3,
1: - PG_LEVEL_512G = 4,
1: - PG_LEVEL_NUM = 5,
1: + PG_LEVEL_NONE = 0,
1: + PG_LEVEL_4K = 1,
1: + PG_LEVEL_2M = 2,
1: + PG_LEVEL_1G = 3,
1: + PG_LEVEL_512G = 4,
1: + PG_LEVEL_NUM = 5,
1: };
1:
1: struct trace_print_flags {
1: - long unsigned int mask;
1: - const char *name;
1: + long unsigned int mask;
1: + const char *name;
1: };
1:
1: enum tlb_flush_reason {
1: - TLB_FLUSH_ON_TASK_SWITCH = 0,
1: - TLB_REMOTE_SHOOTDOWN = 1,
1: - TLB_LOCAL_SHOOTDOWN = 2,
1: - TLB_LOCAL_MM_SHOOTDOWN = 3,
1: - TLB_REMOTE_SEND_IPI = 4,
1: - NR_TLB_FLUSH_REASONS = 5,
1: + TLB_FLUSH_ON_TASK_SWITCH = 0,
1: + TLB_REMOTE_SHOOTDOWN = 1,
1: + TLB_LOCAL_SHOOTDOWN = 2,
1: + TLB_LOCAL_MM_SHOOTDOWN = 3,
1: + TLB_REMOTE_SEND_IPI = 4,
1: + NR_TLB_FLUSH_REASONS = 5,
1: };
1:
1: enum {
1: - REGION_INTERSECTS = 0,
1: - REGION_DISJOINT = 1,
1: - REGION_MIXED = 2,
1: + REGION_INTERSECTS = 0,
1: + REGION_DISJOINT = 1,
1: + REGION_MIXED = 2,
1: };
1:
1: struct trace_event_raw_tlb_flush {
1: - struct trace_entry ent;
1: - int reason;
1: - long unsigned int pages;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int reason;
1: + long unsigned int pages;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_tlb_flush {};
1:
1: struct map_range {
1: - long unsigned int start;
1: - long unsigned int end;
1: - unsigned int page_size_mask;
1: + long unsigned int start;
1: + long unsigned int end;
1: + unsigned int page_size_mask;
1: };
1:
1: enum kcore_type {
1: - KCORE_TEXT = 0,
1: - KCORE_VMALLOC = 1,
1: - KCORE_RAM = 2,
1: - KCORE_VMEMMAP = 3,
1: - KCORE_USER = 4,
1: - KCORE_OTHER = 5,
1: - KCORE_REMAP = 6,
1: + KCORE_TEXT = 0,
1: + KCORE_VMALLOC = 1,
1: + KCORE_RAM = 2,
1: + KCORE_VMEMMAP = 3,
1: + KCORE_USER = 4,
1: + KCORE_OTHER = 5,
1: + KCORE_REMAP = 6,
1: };
1:
1: struct kcore_list {
1: - struct list_head list;
1: - long unsigned int addr;
1: - long unsigned int vaddr;
1: - size_t size;
1: - int type;
1: + struct list_head list;
1: + long unsigned int addr;
1: + long unsigned int vaddr;
1: + size_t size;
1: + int type;
1: };
1:
1: struct hstate {
1: - int next_nid_to_alloc;
1: - int next_nid_to_free;
1: - unsigned int order;
1: - long unsigned int mask;
1: - long unsigned int max_huge_pages;
1: - long unsigned int nr_huge_pages;
1: - long unsigned int free_huge_pages;
1: - long unsigned int resv_huge_pages;
1: - long unsigned int surplus_huge_pages;
1: - long unsigned int nr_overcommit_huge_pages;
1: - struct list_head hugepage_activelist;
1: - struct list_head hugepage_freelists[64];
1: - unsigned int nr_huge_pages_node[64];
1: - unsigned int free_huge_pages_node[64];
1: - unsigned int surplus_huge_pages_node[64];
1: - char name[32];
1: + int next_nid_to_alloc;
1: + int next_nid_to_free;
1: + unsigned int order;
1: + long unsigned int mask;
1: + long unsigned int max_huge_pages;
1: + long unsigned int nr_huge_pages;
1: + long unsigned int free_huge_pages;
1: + long unsigned int resv_huge_pages;
1: + long unsigned int surplus_huge_pages;
1: + long unsigned int nr_overcommit_huge_pages;
1: + struct list_head hugepage_activelist;
1: + struct list_head hugepage_freelists[64];
1: + unsigned int nr_huge_pages_node[64];
1: + unsigned int free_huge_pages_node[64];
1: + unsigned int surplus_huge_pages_node[64];
1: + char name[32];
1: };
1:
1: struct trace_event_raw_x86_exceptions {
1: - struct trace_entry ent;
1: - long unsigned int address;
1: - long unsigned int ip;
1: - long unsigned int error_code;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int address;
1: + long unsigned int ip;
1: + long unsigned int error_code;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_x86_exceptions {};
1:
1: enum {
1: - IORES_MAP_SYSTEM_RAM = 1,
1: - IORES_MAP_ENCRYPTED = 2,
1: + IORES_MAP_SYSTEM_RAM = 1,
1: + IORES_MAP_ENCRYPTED = 2,
1: };
1:
1: struct ioremap_desc {
1: - unsigned int flags;
1: + unsigned int flags;
1: };
1:
1: -typedef bool (*ex_handler_t)(const struct exception_table_entry *, struct pt_regs *, int, long unsigned int, long unsigned int);
1: +typedef bool (*ex_handler_t)(const struct exception_table_entry *,
1: + struct pt_regs *, int, long unsigned int,
1: + long unsigned int);
1:
1: struct cpa_data {
1: - long unsigned int *vaddr;
1: - pgd_t *pgd;
1: - pgprot_t mask_set;
1: - pgprot_t mask_clr;
1: - long unsigned int numpages;
1: - long unsigned int curpage;
1: - long unsigned int pfn;
1: - unsigned int flags;
1: - unsigned int force_split: 1;
1: - unsigned int force_static_prot: 1;
1: - struct page **pages;
1: + long unsigned int *vaddr;
1: + pgd_t *pgd;
1: + pgprot_t mask_set;
1: + pgprot_t mask_clr;
1: + long unsigned int numpages;
1: + long unsigned int curpage;
1: + long unsigned int pfn;
1: + unsigned int flags;
1: + unsigned int force_split : 1;
1: + unsigned int force_static_prot : 1;
1: + struct page **pages;
1: };
1:
1: enum cpa_warn {
1: - CPA_CONFLICT = 0,
1: - CPA_PROTECT = 1,
1: - CPA_DETECT = 2,
1: + CPA_CONFLICT = 0,
1: + CPA_PROTECT = 1,
1: + CPA_DETECT = 2,
1: };
1:
1: -typedef struct {
1: - u64 val;
1: -} pfn_t;
1: +typedef struct { u64 val; } pfn_t;
1:
1: struct memtype {
1: - u64 start;
1: - u64 end;
1: - u64 subtree_max_end;
1: - enum page_cache_mode type;
1: - struct rb_node rb;
1: + u64 start;
1: + u64 end;
1: + u64 subtree_max_end;
1: + enum page_cache_mode type;
1: + struct rb_node rb;
1: };
1:
1: enum {
1: - PAT_UC = 0,
1: - PAT_WC = 1,
1: - PAT_WT = 4,
1: - PAT_WP = 5,
1: - PAT_WB = 6,
1: - PAT_UC_MINUS = 7,
1: + PAT_UC = 0,
1: + PAT_WC = 1,
1: + PAT_WT = 4,
1: + PAT_WP = 5,
1: + PAT_WB = 6,
1: + PAT_UC_MINUS = 7,
1: };
1:
1: struct pagerange_state {
1: - long unsigned int cur_pfn;
1: - int ram;
1: - int not_ram;
1: + long unsigned int cur_pfn;
1: + int ram;
1: + int not_ram;
1: };
1:
1: struct flush_tlb_info {
1: - struct mm_struct *mm;
1: - long unsigned int start;
1: - long unsigned int end;
1: - u64 new_tlb_gen;
1: - unsigned int stride_shift;
1: - bool freed_tables;
1: + struct mm_struct *mm;
1: + long unsigned int start;
1: + long unsigned int end;
1: + u64 new_tlb_gen;
1: + unsigned int stride_shift;
1: + bool freed_tables;
1: };
1:
1: struct exception_stacks {
1: - char DF_stack_guard[0];
1: - char DF_stack[4096];
1: - char NMI_stack_guard[0];
1: - char NMI_stack[4096];
1: - char DB2_stack_guard[0];
1: - char DB2_stack[0];
1: - char DB1_stack_guard[0];
1: - char DB1_stack[4096];
1: - char DB_stack_guard[0];
1: - char DB_stack[4096];
1: - char MCE_stack_guard[0];
1: - char MCE_stack[4096];
1: - char IST_top_guard[0];
1: + char DF_stack_guard[0];
1: + char DF_stack[4096];
1: + char NMI_stack_guard[0];
1: + char NMI_stack[4096];
1: + char DB2_stack_guard[0];
1: + char DB2_stack[0];
1: + char DB1_stack_guard[0];
1: + char DB1_stack[4096];
1: + char DB_stack_guard[0];
1: + char DB_stack[4096];
1: + char MCE_stack_guard[0];
1: + char MCE_stack[4096];
1: + char IST_top_guard[0];
1: };
1:
1: struct rb_augment_callbacks {
1: - void (*propagate)(struct rb_node *, struct rb_node *);
1: - void (*copy)(struct rb_node *, struct rb_node *);
1: - void (*rotate)(struct rb_node *, struct rb_node *);
1: + void (*propagate)(struct rb_node *, struct rb_node *);
1: + void (*copy)(struct rb_node *, struct rb_node *);
1: + void (*rotate)(struct rb_node *, struct rb_node *);
1: };
1:
1: enum {
1: - MEMTYPE_EXACT_MATCH = 0,
1: - MEMTYPE_END_MATCH = 1,
1: + MEMTYPE_EXACT_MATCH = 0,
1: + MEMTYPE_END_MATCH = 1,
1: };
1:
1: struct hugepage_subpool {
1: - spinlock_t lock;
1: - long int count;
1: - long int max_hpages;
1: - long int used_hpages;
1: - struct hstate *hstate;
1: - long int min_hpages;
1: - long int rsv_hpages;
1: + spinlock_t lock;
1: + long int count;
1: + long int max_hpages;
1: + long int used_hpages;
1: + struct hstate *hstate;
1: + long int min_hpages;
1: + long int rsv_hpages;
1: };
1:
1: struct hugetlbfs_sb_info {
1: - long int max_inodes;
1: - long int free_inodes;
1: - spinlock_t stat_lock;
1: - struct hstate *hstate;
1: - struct hugepage_subpool *spool;
1: - kuid_t uid;
1: - kgid_t gid;
1: - umode_t mode;
1: + long int max_inodes;
1: + long int free_inodes;
1: + spinlock_t stat_lock;
1: + struct hstate *hstate;
1: + struct hugepage_subpool *spool;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: };
1:
1: struct numa_memblk {
1: - u64 start;
1: - u64 end;
1: - int nid;
1: + u64 start;
1: + u64 end;
1: + int nid;
1: };
1:
1: struct numa_meminfo {
1: - int nr_blks;
1: - struct numa_memblk blk[128];
1: + int nr_blks;
1: + struct numa_memblk blk[128];
1: };
1:
1: struct acpi_srat_cpu_affinity {
1: - struct acpi_subtable_header header;
1: - u8 proximity_domain_lo;
1: - u8 apic_id;
1: - u32 flags;
1: - u8 local_sapic_eid;
1: - u8 proximity_domain_hi[3];
1: - u32 clock_domain;
1: + struct acpi_subtable_header header;
1: + u8 proximity_domain_lo;
1: + u8 apic_id;
1: + u32 flags;
1: + u8 local_sapic_eid;
1: + u8 proximity_domain_hi[3];
1: + u32 clock_domain;
1: };
1:
1: struct acpi_srat_x2apic_cpu_affinity {
1: - struct acpi_subtable_header header;
1: - u16 reserved;
1: - u32 proximity_domain;
1: - u32 apic_id;
1: - u32 flags;
1: - u32 clock_domain;
1: - u32 reserved2;
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u32 proximity_domain;
1: + u32 apic_id;
1: + u32 flags;
1: + u32 clock_domain;
1: + u32 reserved2;
1: };
1:
1: enum uv_system_type {
1: - UV_NONE = 0,
1: - UV_LEGACY_APIC = 1,
1: - UV_X2APIC = 2,
1: - UV_NON_UNIQUE_APIC = 3,
1: + UV_NONE = 0,
1: + UV_LEGACY_APIC = 1,
1: + UV_X2APIC = 2,
1: + UV_NON_UNIQUE_APIC = 3,
1: };
1:
1: struct rnd_state {
1: - __u32 s1;
1: - __u32 s2;
1: - __u32 s3;
1: - __u32 s4;
1: + __u32 s1;
1: + __u32 s2;
1: + __u32 s3;
1: + __u32 s4;
1: };
1:
1: struct kaslr_memory_region {
1: - long unsigned int *base;
1: - long unsigned int size_tb;
1: + long unsigned int *base;
1: + long unsigned int size_tb;
1: };
1:
1: enum pti_mode {
1: - PTI_AUTO = 0,
1: - PTI_FORCE_OFF = 1,
1: - PTI_FORCE_ON = 2,
1: + PTI_AUTO = 0,
1: + PTI_FORCE_OFF = 1,
1: + PTI_FORCE_ON = 2,
1: };
1:
1: enum pti_clone_level {
1: - PTI_CLONE_PMD = 0,
1: - PTI_CLONE_PTE = 1,
1: + PTI_CLONE_PMD = 0,
1: + PTI_CLONE_PTE = 1,
1: };
1:
1: typedef short unsigned int __kernel_old_uid_t;
1:
1: typedef short unsigned int __kernel_old_gid_t;
1:
1: -typedef struct {
1: - int val[2];
1: -} __kernel_fsid_t;
1: +typedef struct { int val[2]; } __kernel_fsid_t;
1:
1: typedef __kernel_old_uid_t old_uid_t;
1:
1: typedef __kernel_old_gid_t old_gid_t;
1:
1: struct kstatfs {
1: - long int f_type;
1: - long int f_bsize;
1: - u64 f_blocks;
1: - u64 f_bfree;
1: - u64 f_bavail;
1: - u64 f_files;
1: - u64 f_ffree;
1: - __kernel_fsid_t f_fsid;
1: - long int f_namelen;
1: - long int f_frsize;
1: - long int f_flags;
1: - long int f_spare[4];
1: + long int f_type;
1: + long int f_bsize;
1: + u64 f_blocks;
1: + u64 f_bfree;
1: + u64 f_bavail;
1: + u64 f_files;
1: + u64 f_ffree;
1: + __kernel_fsid_t f_fsid;
1: + long int f_namelen;
1: + long int f_frsize;
1: + long int f_flags;
1: + long int f_spare[4];
1: };
1:
1: struct kernel_clone_args {
1: - u64 flags;
1: - int *pidfd;
1: - int *child_tid;
1: - int *parent_tid;
1: - int exit_signal;
1: - long unsigned int stack;
1: - long unsigned int stack_size;
1: - long unsigned int tls;
1: - pid_t *set_tid;
1: - size_t set_tid_size;
1: + u64 flags;
1: + int *pidfd;
1: + int *child_tid;
1: + int *parent_tid;
1: + int exit_signal;
1: + long unsigned int stack;
1: + long unsigned int stack_size;
1: + long unsigned int tls;
1: + pid_t *set_tid;
1: + size_t set_tid_size;
1: };
1:
1: struct stat64 {
1: - long long unsigned int st_dev;
1: - unsigned char __pad0[4];
1: - unsigned int __st_ino;
1: - unsigned int st_mode;
1: - unsigned int st_nlink;
1: - unsigned int st_uid;
1: - unsigned int st_gid;
1: - long long unsigned int st_rdev;
1: - unsigned char __pad3[4];
1: - long long int st_size;
1: - unsigned int st_blksize;
1: - long long int st_blocks;
1: - unsigned int st_atime;
1: - unsigned int st_atime_nsec;
1: - unsigned int st_mtime;
1: - unsigned int st_mtime_nsec;
1: - unsigned int st_ctime;
1: - unsigned int st_ctime_nsec;
1: - long long unsigned int st_ino;
1: + long long unsigned int st_dev;
1: + unsigned char __pad0[4];
1: + unsigned int __st_ino;
1: + unsigned int st_mode;
1: + unsigned int st_nlink;
1: + unsigned int st_uid;
1: + unsigned int st_gid;
1: + long long unsigned int st_rdev;
1: + unsigned char __pad3[4];
1: + long long int st_size;
1: + unsigned int st_blksize;
1: + long long int st_blocks;
1: + unsigned int st_atime;
1: + unsigned int st_atime_nsec;
1: + unsigned int st_mtime;
1: + unsigned int st_mtime_nsec;
1: + unsigned int st_ctime;
1: + unsigned int st_ctime_nsec;
1: + long long unsigned int st_ino;
1: } __attribute__((packed));
1:
1: struct mmap_arg_struct32 {
1: - unsigned int addr;
1: - unsigned int len;
1: - unsigned int prot;
1: - unsigned int flags;
1: - unsigned int fd;
1: - unsigned int offset;
1: + unsigned int addr;
1: + unsigned int len;
1: + unsigned int prot;
1: + unsigned int flags;
1: + unsigned int fd;
1: + unsigned int offset;
1: };
1:
1: struct sigcontext_32 {
1: - __u16 gs;
1: - __u16 __gsh;
1: - __u16 fs;
1: - __u16 __fsh;
1: - __u16 es;
1: - __u16 __esh;
1: - __u16 ds;
1: - __u16 __dsh;
1: - __u32 di;
1: - __u32 si;
1: - __u32 bp;
1: - __u32 sp;
1: - __u32 bx;
1: - __u32 dx;
1: - __u32 cx;
1: - __u32 ax;
1: - __u32 trapno;
1: - __u32 err;
1: - __u32 ip;
1: - __u16 cs;
1: - __u16 __csh;
1: - __u32 flags;
1: - __u32 sp_at_signal;
1: - __u16 ss;
1: - __u16 __ssh;
1: - __u32 fpstate;
1: - __u32 oldmask;
1: - __u32 cr2;
1: + __u16 gs;
1: + __u16 __gsh;
1: + __u16 fs;
1: + __u16 __fsh;
1: + __u16 es;
1: + __u16 __esh;
1: + __u16 ds;
1: + __u16 __dsh;
1: + __u32 di;
1: + __u32 si;
1: + __u32 bp;
1: + __u32 sp;
1: + __u32 bx;
1: + __u32 dx;
1: + __u32 cx;
1: + __u32 ax;
1: + __u32 trapno;
1: + __u32 err;
1: + __u32 ip;
1: + __u16 cs;
1: + __u16 __csh;
1: + __u32 flags;
1: + __u32 sp_at_signal;
1: + __u16 ss;
1: + __u16 __ssh;
1: + __u32 fpstate;
1: + __u32 oldmask;
1: + __u32 cr2;
1: };
1:
1: typedef u32 compat_size_t;
1:
1: struct compat_sigaltstack {
1: - compat_uptr_t ss_sp;
1: - int ss_flags;
1: - compat_size_t ss_size;
1: + compat_uptr_t ss_sp;
1: + int ss_flags;
1: + compat_size_t ss_size;
1: };
1:
1: typedef struct compat_sigaltstack compat_stack_t;
1:
1: struct ucontext_ia32 {
1: - unsigned int uc_flags;
1: - unsigned int uc_link;
1: - compat_stack_t uc_stack;
1: - struct sigcontext_32 uc_mcontext;
1: - compat_sigset_t uc_sigmask;
1: + unsigned int uc_flags;
1: + unsigned int uc_link;
1: + compat_stack_t uc_stack;
1: + struct sigcontext_32 uc_mcontext;
1: + compat_sigset_t uc_sigmask;
1: };
1:
1: struct sigframe_ia32 {
1: - u32 pretcode;
1: - int sig;
1: - struct sigcontext_32 sc;
1: - struct _fpstate_32 fpstate_unused;
1: - unsigned int extramask[1];
1: - char retcode[8];
1: + u32 pretcode;
1: + int sig;
1: + struct sigcontext_32 sc;
1: + struct _fpstate_32 fpstate_unused;
1: + unsigned int extramask[1];
1: + char retcode[8];
1: };
1:
1: struct rt_sigframe_ia32 {
1: - u32 pretcode;
1: - int sig;
1: - u32 pinfo;
1: - u32 puc;
1: - compat_siginfo_t info;
1: - struct ucontext_ia32 uc;
1: - char retcode[8];
1: + u32 pretcode;
1: + int sig;
1: + u32 pinfo;
1: + u32 puc;
1: + compat_siginfo_t info;
1: + struct ucontext_ia32 uc;
1: + char retcode[8];
1: };
1:
1: typedef struct {
1: - efi_guid_t guid;
1: - u64 table;
1: + efi_guid_t guid;
1: + u64 table;
1: } efi_config_table_64_t;
1:
1: struct efi_mem_range {
1: - struct range range;
1: - u64 attribute;
1: + struct range range;
1: + u64 attribute;
1: };
1:
1: enum efi_rts_ids {
1: - EFI_NONE = 0,
1: - EFI_GET_TIME = 1,
1: - EFI_SET_TIME = 2,
1: - EFI_GET_WAKEUP_TIME = 3,
1: - EFI_SET_WAKEUP_TIME = 4,
1: - EFI_GET_VARIABLE = 5,
1: - EFI_GET_NEXT_VARIABLE = 6,
1: - EFI_SET_VARIABLE = 7,
1: - EFI_QUERY_VARIABLE_INFO = 8,
1: - EFI_GET_NEXT_HIGH_MONO_COUNT = 9,
1: - EFI_RESET_SYSTEM = 10,
1: - EFI_UPDATE_CAPSULE = 11,
1: - EFI_QUERY_CAPSULE_CAPS = 12,
1: + EFI_NONE = 0,
1: + EFI_GET_TIME = 1,
1: + EFI_SET_TIME = 2,
1: + EFI_GET_WAKEUP_TIME = 3,
1: + EFI_SET_WAKEUP_TIME = 4,
1: + EFI_GET_VARIABLE = 5,
1: + EFI_GET_NEXT_VARIABLE = 6,
1: + EFI_SET_VARIABLE = 7,
1: + EFI_QUERY_VARIABLE_INFO = 8,
1: + EFI_GET_NEXT_HIGH_MONO_COUNT = 9,
1: + EFI_RESET_SYSTEM = 10,
1: + EFI_UPDATE_CAPSULE = 11,
1: + EFI_QUERY_CAPSULE_CAPS = 12,
1: };
1:
1: struct efi_runtime_work {
1: - void *arg1;
1: - void *arg2;
1: - void *arg3;
1: - void *arg4;
1: - void *arg5;
1: - efi_status_t status;
1: - struct work_struct work;
1: - enum efi_rts_ids efi_rts_id;
1: - struct completion efi_rts_comp;
1: + void *arg1;
1: + void *arg2;
1: + void *arg3;
1: + void *arg4;
1: + void *arg5;
1: + efi_status_t status;
1: + struct work_struct work;
1: + enum efi_rts_ids efi_rts_id;
1: + struct completion efi_rts_comp;
1: };
1:
1: struct efi_scratch {
1: - u64 phys_stack;
1: - struct mm_struct *prev_mm;
1: + u64 phys_stack;
1: + struct mm_struct *prev_mm;
1: };
1:
1: struct efi_setup_data {
1: - u64 fw_vendor;
1: - u64 runtime;
1: - u64 tables;
1: - u64 smbios;
1: - u64 reserved[8];
1: + u64 fw_vendor;
1: + u64 runtime;
1: + u64 tables;
1: + u64 smbios;
1: + u64 reserved[8];
1: };
1:
1: typedef struct {
1: - efi_table_hdr_t hdr;
1: - u32 get_time;
1: - u32 set_time;
1: - u32 get_wakeup_time;
1: - u32 set_wakeup_time;
1: - u32 set_virtual_address_map;
1: - u32 convert_pointer;
1: - u32 get_variable;
1: - u32 get_next_variable;
1: - u32 set_variable;
1: - u32 get_next_high_mono_count;
1: - u32 reset_system;
1: - u32 update_capsule;
1: - u32 query_capsule_caps;
1: - u32 query_variable_info;
1: + efi_table_hdr_t hdr;
1: + u32 get_time;
1: + u32 set_time;
1: + u32 get_wakeup_time;
1: + u32 set_wakeup_time;
1: + u32 set_virtual_address_map;
1: + u32 convert_pointer;
1: + u32 get_variable;
1: + u32 get_next_variable;
1: + u32 set_variable;
1: + u32 get_next_high_mono_count;
1: + u32 reset_system;
1: + u32 update_capsule;
1: + u32 query_capsule_caps;
1: + u32 query_variable_info;
1: } efi_runtime_services_32_t;
1:
1: typedef struct {
1: - efi_table_hdr_t hdr;
1: - u64 get_time;
1: - u64 set_time;
1: - u64 get_wakeup_time;
1: - u64 set_wakeup_time;
1: - u64 set_virtual_address_map;
1: - u64 convert_pointer;
1: - u64 get_variable;
1: - u64 get_next_variable;
1: - u64 set_variable;
1: - u64 get_next_high_mono_count;
1: - u64 reset_system;
1: - u64 update_capsule;
1: - u64 query_capsule_caps;
1: - u64 query_variable_info;
1: + efi_table_hdr_t hdr;
1: + u64 get_time;
1: + u64 set_time;
1: + u64 get_wakeup_time;
1: + u64 set_wakeup_time;
1: + u64 set_virtual_address_map;
1: + u64 convert_pointer;
1: + u64 get_variable;
1: + u64 get_next_variable;
1: + u64 set_variable;
1: + u64 get_next_high_mono_count;
1: + u64 reset_system;
1: + u64 update_capsule;
1: + u64 query_capsule_caps;
1: + u64 query_variable_info;
1: } efi_runtime_services_64_t;
1:
1: typedef struct {
1: - efi_guid_t guid;
1: - const char *name;
1: - long unsigned int *ptr;
1: + efi_guid_t guid;
1: + const char *name;
1: + long unsigned int *ptr;
1: } efi_config_table_type_t;
1:
1: typedef struct {
1: - efi_table_hdr_t hdr;
1: - u64 fw_vendor;
1: - u32 fw_revision;
1: - u32 __pad1;
1: - u64 con_in_handle;
1: - u64 con_in;
1: - u64 con_out_handle;
1: - u64 con_out;
1: - u64 stderr_handle;
1: - u64 stderr;
1: - u64 runtime;
1: - u64 boottime;
1: - u32 nr_tables;
1: - u32 __pad2;
1: - u64 tables;
1: + efi_table_hdr_t hdr;
1: + u64 fw_vendor;
1: + u32 fw_revision;
1: + u32 __pad1;
1: + u64 con_in_handle;
1: + u64 con_in;
1: + u64 con_out_handle;
1: + u64 con_out;
1: + u64 stderr_handle;
1: + u64 stderr;
1: + u64 runtime;
1: + u64 boottime;
1: + u32 nr_tables;
1: + u32 __pad2;
1: + u64 tables;
1: } efi_system_table_64_t;
1:
1: typedef struct {
1: - efi_table_hdr_t hdr;
1: - u32 fw_vendor;
1: - u32 fw_revision;
1: - u32 con_in_handle;
1: - u32 con_in;
1: - u32 con_out_handle;
1: - u32 con_out;
1: - u32 stderr_handle;
1: - u32 stderr;
1: - u32 runtime;
1: - u32 boottime;
1: - u32 nr_tables;
1: - u32 tables;
1: + efi_table_hdr_t hdr;
1: + u32 fw_vendor;
1: + u32 fw_revision;
1: + u32 con_in_handle;
1: + u32 con_in;
1: + u32 con_out_handle;
1: + u32 con_out;
1: + u32 stderr_handle;
1: + u32 stderr;
1: + u32 runtime;
1: + u32 boottime;
1: + u32 nr_tables;
1: + u32 tables;
1: } efi_system_table_32_t;
1:
1: struct efi_memory_map_data {
1: - phys_addr_t phys_map;
1: - long unsigned int size;
1: - long unsigned int desc_version;
1: - long unsigned int desc_size;
1: + phys_addr_t phys_map;
1: + long unsigned int size;
1: + long unsigned int desc_version;
1: + long unsigned int desc_size;
1: };
1:
1: typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *);
1: @@ -22966,138 +23127,139 @@ typedef u16 ucs2_char_t;
1:
1: struct wait_queue_entry;
1:
1: -typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *);
1: +typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int,
1: + void *);
1:
1: struct wait_queue_entry {
1: - unsigned int flags;
1: - void *private;
1: - wait_queue_func_t func;
1: - struct list_head entry;
1: + unsigned int flags;
1: + void *private;
1: + wait_queue_func_t func;
1: + struct list_head entry;
1: };
1:
1: enum {
1: - PM_QOS_RESERVED = 0,
1: - PM_QOS_CPU_DMA_LATENCY = 1,
1: - PM_QOS_NUM_CLASSES = 2,
1: + PM_QOS_RESERVED = 0,
1: + PM_QOS_CPU_DMA_LATENCY = 1,
1: + PM_QOS_NUM_CLASSES = 2,
1: };
1:
1: struct pm_qos_request {
1: - struct plist_node node;
1: - int pm_qos_class;
1: - struct delayed_work work;
1: + struct plist_node node;
1: + int pm_qos_class;
1: + struct delayed_work work;
1: };
1:
1: enum tk_offsets {
1: - TK_OFFS_REAL = 0,
1: - TK_OFFS_BOOT = 1,
1: - TK_OFFS_TAI = 2,
1: - TK_OFFS_MAX = 3,
1: + TK_OFFS_REAL = 0,
1: + TK_OFFS_BOOT = 1,
1: + TK_OFFS_TAI = 2,
1: + TK_OFFS_MAX = 3,
1: };
1:
1: typedef long unsigned int vm_flags_t;
1:
1: struct clone_args {
1: - __u64 flags;
1: - __u64 pidfd;
1: - __u64 child_tid;
1: - __u64 parent_tid;
1: - __u64 exit_signal;
1: - __u64 stack;
1: - __u64 stack_size;
1: - __u64 tls;
1: - __u64 set_tid;
1: - __u64 set_tid_size;
1: + __u64 flags;
1: + __u64 pidfd;
1: + __u64 child_tid;
1: + __u64 parent_tid;
1: + __u64 exit_signal;
1: + __u64 stack;
1: + __u64 stack_size;
1: + __u64 tls;
1: + __u64 set_tid;
1: + __u64 set_tid_size;
1: };
1:
1: struct fdtable {
1: - unsigned int max_fds;
1: - struct file **fd;
1: - long unsigned int *close_on_exec;
1: - long unsigned int *open_fds;
1: - long unsigned int *full_fds_bits;
1: - struct callback_head rcu;
1: + unsigned int max_fds;
1: + struct file **fd;
1: + long unsigned int *close_on_exec;
1: + long unsigned int *open_fds;
1: + long unsigned int *full_fds_bits;
1: + struct callback_head rcu;
1: };
1:
1: struct files_struct {
1: - atomic_t count;
1: - bool resize_in_progress;
1: - wait_queue_head_t resize_wait;
1: - struct fdtable *fdt;
1: - struct fdtable fdtab;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - spinlock_t file_lock;
1: - unsigned int next_fd;
1: - long unsigned int close_on_exec_init[1];
1: - long unsigned int open_fds_init[1];
1: - long unsigned int full_fds_bits_init[1];
1: - struct file *fd_array[64];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + atomic_t count;
1: + bool resize_in_progress;
1: + wait_queue_head_t resize_wait;
1: + struct fdtable *fdt;
1: + struct fdtable fdtab;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + spinlock_t file_lock;
1: + unsigned int next_fd;
1: + long unsigned int close_on_exec_init[1];
1: + long unsigned int open_fds_init[1];
1: + long unsigned int full_fds_bits_init[1];
1: + struct file *fd_array[64];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct robust_list {
1: - struct robust_list *next;
1: + struct robust_list *next;
1: };
1:
1: struct robust_list_head {
1: - struct robust_list list;
1: - long int futex_offset;
1: - struct robust_list *list_op_pending;
1: + struct robust_list list;
1: + long int futex_offset;
1: + struct robust_list *list_op_pending;
1: };
1:
1: struct multiprocess_signals {
1: - sigset_t signal;
1: - struct hlist_node node;
1: + sigset_t signal;
1: + struct hlist_node node;
1: };
1:
1: typedef int (*proc_visitor)(struct task_struct *, void *);
1:
1: enum {
1: - IOPRIO_CLASS_NONE = 0,
1: - IOPRIO_CLASS_RT = 1,
1: - IOPRIO_CLASS_BE = 2,
1: - IOPRIO_CLASS_IDLE = 3,
1: + IOPRIO_CLASS_NONE = 0,
1: + IOPRIO_CLASS_RT = 1,
1: + IOPRIO_CLASS_BE = 2,
1: + IOPRIO_CLASS_IDLE = 3,
1: };
1:
1: enum memcg_stat_item {
1: - MEMCG_CACHE = 32,
1: - MEMCG_RSS = 33,
1: - MEMCG_RSS_HUGE = 34,
1: - MEMCG_SWAP = 35,
1: - MEMCG_SOCK = 36,
1: - MEMCG_KERNEL_STACK_KB = 37,
1: - MEMCG_NR_STAT = 38,
1: + MEMCG_CACHE = 32,
1: + MEMCG_RSS = 33,
1: + MEMCG_RSS_HUGE = 34,
1: + MEMCG_SWAP = 35,
1: + MEMCG_SOCK = 36,
1: + MEMCG_KERNEL_STACK_KB = 37,
1: + MEMCG_NR_STAT = 38,
1: };
1:
1: typedef struct poll_table_struct poll_table;
1:
1: enum {
1: - FUTEX_STATE_OK = 0,
1: - FUTEX_STATE_EXITING = 1,
1: - FUTEX_STATE_DEAD = 2,
1: + FUTEX_STATE_OK = 0,
1: + FUTEX_STATE_EXITING = 1,
1: + FUTEX_STATE_DEAD = 2,
1: };
1:
1: struct trace_event_raw_task_newtask {
1: - struct trace_entry ent;
1: - pid_t pid;
1: - char comm[16];
1: - long unsigned int clone_flags;
1: - short int oom_score_adj;
1: - char __data[0];
1: + struct trace_entry ent;
1: + pid_t pid;
1: + char comm[16];
1: + long unsigned int clone_flags;
1: + short int oom_score_adj;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_task_rename {
1: - struct trace_entry ent;
1: - pid_t pid;
1: - char oldcomm[16];
1: - char newcomm[16];
1: - short int oom_score_adj;
1: - char __data[0];
1: + struct trace_entry ent;
1: + pid_t pid;
1: + char oldcomm[16];
1: + char newcomm[16];
1: + short int oom_score_adj;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_task_newtask {};
1: @@ -23105,76 +23267,76 @@ struct trace_event_data_offsets_task_newtask {};
1: struct trace_event_data_offsets_task_rename {};
1:
1: struct taint_flag {
1: - char c_true;
1: - char c_false;
1: - bool module;
1: + char c_true;
1: + char c_false;
1: + bool module;
1: };
1:
1: enum ftrace_dump_mode {
1: - DUMP_NONE = 0,
1: - DUMP_ALL = 1,
1: - DUMP_ORIG = 2,
1: + DUMP_NONE = 0,
1: + DUMP_ALL = 1,
1: + DUMP_ORIG = 2,
1: };
1:
1: enum kmsg_dump_reason {
1: - KMSG_DUMP_UNDEF = 0,
1: - KMSG_DUMP_PANIC = 1,
1: - KMSG_DUMP_OOPS = 2,
1: - KMSG_DUMP_EMERG = 3,
1: - KMSG_DUMP_RESTART = 4,
1: - KMSG_DUMP_HALT = 5,
1: - KMSG_DUMP_POWEROFF = 6,
1: + KMSG_DUMP_UNDEF = 0,
1: + KMSG_DUMP_PANIC = 1,
1: + KMSG_DUMP_OOPS = 2,
1: + KMSG_DUMP_EMERG = 3,
1: + KMSG_DUMP_RESTART = 4,
1: + KMSG_DUMP_HALT = 5,
1: + KMSG_DUMP_POWEROFF = 6,
1: };
1:
1: enum con_flush_mode {
1: - CONSOLE_FLUSH_PENDING = 0,
1: - CONSOLE_REPLAY_ALL = 1,
1: + CONSOLE_FLUSH_PENDING = 0,
1: + CONSOLE_REPLAY_ALL = 1,
1: };
1:
1: struct warn_args {
1: - const char *fmt;
1: - va_list args;
1: + const char *fmt;
1: + va_list args;
1: };
1:
1: struct smp_hotplug_thread {
1: - struct task_struct **store;
1: - struct list_head list;
1: - int (*thread_should_run)(unsigned int);
1: - void (*thread_fn)(unsigned int);
1: - void (*create)(unsigned int);
1: - void (*setup)(unsigned int);
1: - void (*cleanup)(unsigned int, bool);
1: - void (*park)(unsigned int);
1: - void (*unpark)(unsigned int);
1: - bool selfparking;
1: - const char *thread_comm;
1: + struct task_struct **store;
1: + struct list_head list;
1: + int (*thread_should_run)(unsigned int);
1: + void (*thread_fn)(unsigned int);
1: + void (*create)(unsigned int);
1: + void (*setup)(unsigned int);
1: + void (*cleanup)(unsigned int, bool);
1: + void (*park)(unsigned int);
1: + void (*unpark)(unsigned int);
1: + bool selfparking;
1: + const char *thread_comm;
1: };
1:
1: struct trace_event_raw_cpuhp_enter {
1: - struct trace_entry ent;
1: - unsigned int cpu;
1: - int target;
1: - int idx;
1: - void *fun;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int cpu;
1: + int target;
1: + int idx;
1: + void *fun;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cpuhp_multi_enter {
1: - struct trace_entry ent;
1: - unsigned int cpu;
1: - int target;
1: - int idx;
1: - void *fun;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int cpu;
1: + int target;
1: + int idx;
1: + void *fun;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cpuhp_exit {
1: - struct trace_entry ent;
1: - unsigned int cpu;
1: - int state;
1: - int idx;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int cpu;
1: + int state;
1: + int idx;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_cpuhp_enter {};
1: @@ -23184,157 +23346,157 @@ struct trace_event_data_offsets_cpuhp_multi_enter {};
1: struct trace_event_data_offsets_cpuhp_exit {};
1:
1: struct cpuhp_cpu_state {
1: - enum cpuhp_state state;
1: - enum cpuhp_state target;
1: - enum cpuhp_state fail;
1: - struct task_struct *thread;
1: - bool should_run;
1: - bool rollback;
1: - bool single;
1: - bool bringup;
1: - struct hlist_node *node;
1: - struct hlist_node *last;
1: - enum cpuhp_state cb_state;
1: - int result;
1: - struct completion done_up;
1: - struct completion done_down;
1: + enum cpuhp_state state;
1: + enum cpuhp_state target;
1: + enum cpuhp_state fail;
1: + struct task_struct *thread;
1: + bool should_run;
1: + bool rollback;
1: + bool single;
1: + bool bringup;
1: + struct hlist_node *node;
1: + struct hlist_node *last;
1: + enum cpuhp_state cb_state;
1: + int result;
1: + struct completion done_up;
1: + struct completion done_down;
1: };
1:
1: struct cpuhp_step {
1: - const char *name;
1: - union {
1: - int (*single)(unsigned int);
1: - int (*multi)(unsigned int, struct hlist_node *);
1: - } startup;
1: - union {
1: - int (*single)(unsigned int);
1: - int (*multi)(unsigned int, struct hlist_node *);
1: - } teardown;
1: - struct hlist_head list;
1: - bool cant_stop;
1: - bool multi_instance;
1: + const char *name;
1: + union {
1: + int (*single)(unsigned int);
1: + int (*multi)(unsigned int, struct hlist_node *);
1: + } startup;
1: + union {
1: + int (*single)(unsigned int);
1: + int (*multi)(unsigned int, struct hlist_node *);
1: + } teardown;
1: + struct hlist_head list;
1: + bool cant_stop;
1: + bool multi_instance;
1: };
1:
1: enum cpu_mitigations {
1: - CPU_MITIGATIONS_OFF = 0,
1: - CPU_MITIGATIONS_AUTO = 1,
1: - CPU_MITIGATIONS_AUTO_NOSMT = 2,
1: + CPU_MITIGATIONS_OFF = 0,
1: + CPU_MITIGATIONS_AUTO = 1,
1: + CPU_MITIGATIONS_AUTO_NOSMT = 2,
1: };
1:
1: typedef void (*rcu_callback_t)(struct callback_head *);
1:
1: struct __kernel_old_timeval {
1: - __kernel_long_t tv_sec;
1: - __kernel_long_t tv_usec;
1: + __kernel_long_t tv_sec;
1: + __kernel_long_t tv_usec;
1: };
1:
1: typedef struct wait_queue_entry wait_queue_entry_t;
1:
1: struct old_timeval32 {
1: - old_time32_t tv_sec;
1: - s32 tv_usec;
1: + old_time32_t tv_sec;
1: + s32 tv_usec;
1: };
1:
1: struct rusage {
1: - struct __kernel_old_timeval ru_utime;
1: - struct __kernel_old_timeval ru_stime;
1: - __kernel_long_t ru_maxrss;
1: - __kernel_long_t ru_ixrss;
1: - __kernel_long_t ru_idrss;
1: - __kernel_long_t ru_isrss;
1: - __kernel_long_t ru_minflt;
1: - __kernel_long_t ru_majflt;
1: - __kernel_long_t ru_nswap;
1: - __kernel_long_t ru_inblock;
1: - __kernel_long_t ru_oublock;
1: - __kernel_long_t ru_msgsnd;
1: - __kernel_long_t ru_msgrcv;
1: - __kernel_long_t ru_nsignals;
1: - __kernel_long_t ru_nvcsw;
1: - __kernel_long_t ru_nivcsw;
1: + struct __kernel_old_timeval ru_utime;
1: + struct __kernel_old_timeval ru_stime;
1: + __kernel_long_t ru_maxrss;
1: + __kernel_long_t ru_ixrss;
1: + __kernel_long_t ru_idrss;
1: + __kernel_long_t ru_isrss;
1: + __kernel_long_t ru_minflt;
1: + __kernel_long_t ru_majflt;
1: + __kernel_long_t ru_nswap;
1: + __kernel_long_t ru_inblock;
1: + __kernel_long_t ru_oublock;
1: + __kernel_long_t ru_msgsnd;
1: + __kernel_long_t ru_msgrcv;
1: + __kernel_long_t ru_nsignals;
1: + __kernel_long_t ru_nvcsw;
1: + __kernel_long_t ru_nivcsw;
1: };
1:
1: struct fd {
1: - struct file *file;
1: - unsigned int flags;
1: + struct file *file;
1: + unsigned int flags;
1: };
1:
1: struct compat_rusage {
1: - struct old_timeval32 ru_utime;
1: - struct old_timeval32 ru_stime;
1: - compat_long_t ru_maxrss;
1: - compat_long_t ru_ixrss;
1: - compat_long_t ru_idrss;
1: - compat_long_t ru_isrss;
1: - compat_long_t ru_minflt;
1: - compat_long_t ru_majflt;
1: - compat_long_t ru_nswap;
1: - compat_long_t ru_inblock;
1: - compat_long_t ru_oublock;
1: - compat_long_t ru_msgsnd;
1: - compat_long_t ru_msgrcv;
1: - compat_long_t ru_nsignals;
1: - compat_long_t ru_nvcsw;
1: - compat_long_t ru_nivcsw;
1: + struct old_timeval32 ru_utime;
1: + struct old_timeval32 ru_stime;
1: + compat_long_t ru_maxrss;
1: + compat_long_t ru_ixrss;
1: + compat_long_t ru_idrss;
1: + compat_long_t ru_isrss;
1: + compat_long_t ru_minflt;
1: + compat_long_t ru_majflt;
1: + compat_long_t ru_nswap;
1: + compat_long_t ru_inblock;
1: + compat_long_t ru_oublock;
1: + compat_long_t ru_msgsnd;
1: + compat_long_t ru_msgrcv;
1: + compat_long_t ru_nsignals;
1: + compat_long_t ru_nvcsw;
1: + compat_long_t ru_nivcsw;
1: };
1:
1: struct waitid_info {
1: - pid_t pid;
1: - uid_t uid;
1: - int status;
1: - int cause;
1: + pid_t pid;
1: + uid_t uid;
1: + int status;
1: + int cause;
1: };
1:
1: struct wait_opts {
1: - enum pid_type wo_type;
1: - int wo_flags;
1: - struct pid *wo_pid;
1: - struct waitid_info *wo_info;
1: - int wo_stat;
1: - struct rusage *wo_rusage;
1: - wait_queue_entry_t child_wait;
1: - int notask_error;
1: + enum pid_type wo_type;
1: + int wo_flags;
1: + struct pid *wo_pid;
1: + struct waitid_info *wo_info;
1: + int wo_stat;
1: + struct rusage *wo_rusage;
1: + wait_queue_entry_t child_wait;
1: + int notask_error;
1: };
1:
1: struct softirq_action {
1: - void (*action)(struct softirq_action *);
1: + void (*action)(struct softirq_action *);
1: };
1:
1: struct tasklet_struct {
1: - struct tasklet_struct *next;
1: - long unsigned int state;
1: - atomic_t count;
1: - void (*func)(long unsigned int);
1: - long unsigned int data;
1: + struct tasklet_struct *next;
1: + long unsigned int state;
1: + atomic_t count;
1: + void (*func)(long unsigned int);
1: + long unsigned int data;
1: };
1:
1: enum {
1: - TASKLET_STATE_SCHED = 0,
1: - TASKLET_STATE_RUN = 1,
1: + TASKLET_STATE_SCHED = 0,
1: + TASKLET_STATE_RUN = 1,
1: };
1:
1: struct trace_event_raw_irq_handler_entry {
1: - struct trace_entry ent;
1: - int irq;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int irq;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_irq_handler_exit {
1: - struct trace_entry ent;
1: - int irq;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int irq;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_softirq {
1: - struct trace_entry ent;
1: - unsigned int vec;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int vec;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_irq_handler_entry {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_irq_handler_exit {};
1: @@ -23342,8 +23504,8 @@ struct trace_event_data_offsets_irq_handler_exit {};
1: struct trace_event_data_offsets_softirq {};
1:
1: struct tasklet_head {
1: - struct tasklet_struct *head;
1: - struct tasklet_struct **tail;
1: + struct tasklet_struct *head;
1: + struct tasklet_struct **tail;
1: };
1:
1: typedef u16 pto_T_____6;
1: @@ -23353,388 +23515,389 @@ typedef void (*dr_release_t)(struct device *, void *);
1: typedef int (*dr_match_t)(struct device *, void *, void *);
1:
1: struct resource_entry {
1: - struct list_head node;
1: - struct resource *res;
1: - resource_size_t offset;
1: - struct resource __res;
1: + struct list_head node;
1: + struct resource *res;
1: + resource_size_t offset;
1: + struct resource __res;
1: };
1:
1: struct resource_constraint {
1: - resource_size_t min;
1: - resource_size_t max;
1: - resource_size_t align;
1: - resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t);
1: - void *alignf_data;
1: + resource_size_t min;
1: + resource_size_t max;
1: + resource_size_t align;
1: + resource_size_t (*alignf)(void *, const struct resource *, resource_size_t,
1: + resource_size_t);
1: + void *alignf_data;
1: };
1:
1: enum {
1: - MAX_IORES_LEVEL = 5,
1: + MAX_IORES_LEVEL = 5,
1: };
1:
1: struct region_devres {
1: - struct resource *parent;
1: - resource_size_t start;
1: - resource_size_t n;
1: + struct resource *parent;
1: + resource_size_t start;
1: + resource_size_t n;
1: };
1:
1: typedef __kernel_clock_t clock_t;
1:
1: struct dentry_stat_t {
1: - long int nr_dentry;
1: - long int nr_unused;
1: - long int age_limit;
1: - long int want_pages;
1: - long int nr_negative;
1: - long int dummy;
1: + long int nr_dentry;
1: + long int nr_unused;
1: + long int age_limit;
1: + long int want_pages;
1: + long int nr_negative;
1: + long int dummy;
1: };
1:
1: struct files_stat_struct {
1: - long unsigned int nr_files;
1: - long unsigned int nr_free_files;
1: - long unsigned int max_files;
1: + long unsigned int nr_files;
1: + long unsigned int nr_free_files;
1: + long unsigned int max_files;
1: };
1:
1: struct inodes_stat_t {
1: - long int nr_inodes;
1: - long int nr_unused;
1: - long int dummy[5];
1: + long int nr_inodes;
1: + long int nr_unused;
1: + long int dummy[5];
1: };
1:
1: enum sysctl_writes_mode {
1: - SYSCTL_WRITES_LEGACY = -1,
1: - SYSCTL_WRITES_WARN = 0,
1: - SYSCTL_WRITES_STRICT = 1,
1: + SYSCTL_WRITES_LEGACY = -1,
1: + SYSCTL_WRITES_WARN = 0,
1: + SYSCTL_WRITES_STRICT = 1,
1: };
1:
1: struct do_proc_dointvec_minmax_conv_param {
1: - int *min;
1: - int *max;
1: + int *min;
1: + int *max;
1: };
1:
1: struct do_proc_douintvec_minmax_conv_param {
1: - unsigned int *min;
1: - unsigned int *max;
1: + unsigned int *min;
1: + unsigned int *max;
1: };
1:
1: struct __sysctl_args {
1: - int *name;
1: - int nlen;
1: - void *oldval;
1: - size_t *oldlenp;
1: - void *newval;
1: - size_t newlen;
1: - long unsigned int __unused[4];
1: -};
1: -
1: -enum {
1: - CTL_KERN = 1,
1: - CTL_VM = 2,
1: - CTL_NET = 3,
1: - CTL_PROC = 4,
1: - CTL_FS = 5,
1: - CTL_DEBUG = 6,
1: - CTL_DEV = 7,
1: - CTL_BUS = 8,
1: - CTL_ABI = 9,
1: - CTL_CPU = 10,
1: - CTL_ARLAN = 254,
1: - CTL_S390DBF = 5677,
1: - CTL_SUNRPC = 7249,
1: - CTL_PM = 9899,
1: - CTL_FRV = 9898,
1: -};
1: -
1: -enum {
1: - KERN_OSTYPE = 1,
1: - KERN_OSRELEASE = 2,
1: - KERN_OSREV = 3,
1: - KERN_VERSION = 4,
1: - KERN_SECUREMASK = 5,
1: - KERN_PROF = 6,
1: - KERN_NODENAME = 7,
1: - KERN_DOMAINNAME = 8,
1: - KERN_PANIC = 15,
1: - KERN_REALROOTDEV = 16,
1: - KERN_SPARC_REBOOT = 21,
1: - KERN_CTLALTDEL = 22,
1: - KERN_PRINTK = 23,
1: - KERN_NAMETRANS = 24,
1: - KERN_PPC_HTABRECLAIM = 25,
1: - KERN_PPC_ZEROPAGED = 26,
1: - KERN_PPC_POWERSAVE_NAP = 27,
1: - KERN_MODPROBE = 28,
1: - KERN_SG_BIG_BUFF = 29,
1: - KERN_ACCT = 30,
1: - KERN_PPC_L2CR = 31,
1: - KERN_RTSIGNR = 32,
1: - KERN_RTSIGMAX = 33,
1: - KERN_SHMMAX = 34,
1: - KERN_MSGMAX = 35,
1: - KERN_MSGMNB = 36,
1: - KERN_MSGPOOL = 37,
1: - KERN_SYSRQ = 38,
1: - KERN_MAX_THREADS = 39,
1: - KERN_RANDOM = 40,
1: - KERN_SHMALL = 41,
1: - KERN_MSGMNI = 42,
1: - KERN_SEM = 43,
1: - KERN_SPARC_STOP_A = 44,
1: - KERN_SHMMNI = 45,
1: - KERN_OVERFLOWUID = 46,
1: - KERN_OVERFLOWGID = 47,
1: - KERN_SHMPATH = 48,
1: - KERN_HOTPLUG = 49,
1: - KERN_IEEE_EMULATION_WARNINGS = 50,
1: - KERN_S390_USER_DEBUG_LOGGING = 51,
1: - KERN_CORE_USES_PID = 52,
1: - KERN_TAINTED = 53,
1: - KERN_CADPID = 54,
1: - KERN_PIDMAX = 55,
1: - KERN_CORE_PATTERN = 56,
1: - KERN_PANIC_ON_OOPS = 57,
1: - KERN_HPPA_PWRSW = 58,
1: - KERN_HPPA_UNALIGNED = 59,
1: - KERN_PRINTK_RATELIMIT = 60,
1: - KERN_PRINTK_RATELIMIT_BURST = 61,
1: - KERN_PTY = 62,
1: - KERN_NGROUPS_MAX = 63,
1: - KERN_SPARC_SCONS_PWROFF = 64,
1: - KERN_HZ_TIMER = 65,
1: - KERN_UNKNOWN_NMI_PANIC = 66,
1: - KERN_BOOTLOADER_TYPE = 67,
1: - KERN_RANDOMIZE = 68,
1: - KERN_SETUID_DUMPABLE = 69,
1: - KERN_SPIN_RETRY = 70,
1: - KERN_ACPI_VIDEO_FLAGS = 71,
1: - KERN_IA64_UNALIGNED = 72,
1: - KERN_COMPAT_LOG = 73,
1: - KERN_MAX_LOCK_DEPTH = 74,
1: - KERN_NMI_WATCHDOG = 75,
1: - KERN_PANIC_ON_NMI = 76,
1: - KERN_PANIC_ON_WARN = 77,
1: - KERN_PANIC_PRINT = 78,
1: + int *name;
1: + int nlen;
1: + void *oldval;
1: + size_t *oldlenp;
1: + void *newval;
1: + size_t newlen;
1: + long unsigned int __unused[4];
1: +};
1: +
1: +enum {
1: + CTL_KERN = 1,
1: + CTL_VM = 2,
1: + CTL_NET = 3,
1: + CTL_PROC = 4,
1: + CTL_FS = 5,
1: + CTL_DEBUG = 6,
1: + CTL_DEV = 7,
1: + CTL_BUS = 8,
1: + CTL_ABI = 9,
1: + CTL_CPU = 10,
1: + CTL_ARLAN = 254,
1: + CTL_S390DBF = 5677,
1: + CTL_SUNRPC = 7249,
1: + CTL_PM = 9899,
1: + CTL_FRV = 9898,
1: +};
1: +
1: +enum {
1: + KERN_OSTYPE = 1,
1: + KERN_OSRELEASE = 2,
1: + KERN_OSREV = 3,
1: + KERN_VERSION = 4,
1: + KERN_SECUREMASK = 5,
1: + KERN_PROF = 6,
1: + KERN_NODENAME = 7,
1: + KERN_DOMAINNAME = 8,
1: + KERN_PANIC = 15,
1: + KERN_REALROOTDEV = 16,
1: + KERN_SPARC_REBOOT = 21,
1: + KERN_CTLALTDEL = 22,
1: + KERN_PRINTK = 23,
1: + KERN_NAMETRANS = 24,
1: + KERN_PPC_HTABRECLAIM = 25,
1: + KERN_PPC_ZEROPAGED = 26,
1: + KERN_PPC_POWERSAVE_NAP = 27,
1: + KERN_MODPROBE = 28,
1: + KERN_SG_BIG_BUFF = 29,
1: + KERN_ACCT = 30,
1: + KERN_PPC_L2CR = 31,
1: + KERN_RTSIGNR = 32,
1: + KERN_RTSIGMAX = 33,
1: + KERN_SHMMAX = 34,
1: + KERN_MSGMAX = 35,
1: + KERN_MSGMNB = 36,
1: + KERN_MSGPOOL = 37,
1: + KERN_SYSRQ = 38,
1: + KERN_MAX_THREADS = 39,
1: + KERN_RANDOM = 40,
1: + KERN_SHMALL = 41,
1: + KERN_MSGMNI = 42,
1: + KERN_SEM = 43,
1: + KERN_SPARC_STOP_A = 44,
1: + KERN_SHMMNI = 45,
1: + KERN_OVERFLOWUID = 46,
1: + KERN_OVERFLOWGID = 47,
1: + KERN_SHMPATH = 48,
1: + KERN_HOTPLUG = 49,
1: + KERN_IEEE_EMULATION_WARNINGS = 50,
1: + KERN_S390_USER_DEBUG_LOGGING = 51,
1: + KERN_CORE_USES_PID = 52,
1: + KERN_TAINTED = 53,
1: + KERN_CADPID = 54,
1: + KERN_PIDMAX = 55,
1: + KERN_CORE_PATTERN = 56,
1: + KERN_PANIC_ON_OOPS = 57,
1: + KERN_HPPA_PWRSW = 58,
1: + KERN_HPPA_UNALIGNED = 59,
1: + KERN_PRINTK_RATELIMIT = 60,
1: + KERN_PRINTK_RATELIMIT_BURST = 61,
1: + KERN_PTY = 62,
1: + KERN_NGROUPS_MAX = 63,
1: + KERN_SPARC_SCONS_PWROFF = 64,
1: + KERN_HZ_TIMER = 65,
1: + KERN_UNKNOWN_NMI_PANIC = 66,
1: + KERN_BOOTLOADER_TYPE = 67,
1: + KERN_RANDOMIZE = 68,
1: + KERN_SETUID_DUMPABLE = 69,
1: + KERN_SPIN_RETRY = 70,
1: + KERN_ACPI_VIDEO_FLAGS = 71,
1: + KERN_IA64_UNALIGNED = 72,
1: + KERN_COMPAT_LOG = 73,
1: + KERN_MAX_LOCK_DEPTH = 74,
1: + KERN_NMI_WATCHDOG = 75,
1: + KERN_PANIC_ON_NMI = 76,
1: + KERN_PANIC_ON_WARN = 77,
1: + KERN_PANIC_PRINT = 78,
1: };
1:
1: enum ethtool_link_mode_bit_indices {
1: - ETHTOOL_LINK_MODE_10baseT_Half_BIT = 0,
1: - ETHTOOL_LINK_MODE_10baseT_Full_BIT = 1,
1: - ETHTOOL_LINK_MODE_100baseT_Half_BIT = 2,
1: - ETHTOOL_LINK_MODE_100baseT_Full_BIT = 3,
1: - ETHTOOL_LINK_MODE_1000baseT_Half_BIT = 4,
1: - ETHTOOL_LINK_MODE_1000baseT_Full_BIT = 5,
1: - ETHTOOL_LINK_MODE_Autoneg_BIT = 6,
1: - ETHTOOL_LINK_MODE_TP_BIT = 7,
1: - ETHTOOL_LINK_MODE_AUI_BIT = 8,
1: - ETHTOOL_LINK_MODE_MII_BIT = 9,
1: - ETHTOOL_LINK_MODE_FIBRE_BIT = 10,
1: - ETHTOOL_LINK_MODE_BNC_BIT = 11,
1: - ETHTOOL_LINK_MODE_10000baseT_Full_BIT = 12,
1: - ETHTOOL_LINK_MODE_Pause_BIT = 13,
1: - ETHTOOL_LINK_MODE_Asym_Pause_BIT = 14,
1: - ETHTOOL_LINK_MODE_2500baseX_Full_BIT = 15,
1: - ETHTOOL_LINK_MODE_Backplane_BIT = 16,
1: - ETHTOOL_LINK_MODE_1000baseKX_Full_BIT = 17,
1: - ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT = 18,
1: - ETHTOOL_LINK_MODE_10000baseKR_Full_BIT = 19,
1: - ETHTOOL_LINK_MODE_10000baseR_FEC_BIT = 20,
1: - ETHTOOL_LINK_MODE_20000baseMLD2_Full_BIT = 21,
1: - ETHTOOL_LINK_MODE_20000baseKR2_Full_BIT = 22,
1: - ETHTOOL_LINK_MODE_40000baseKR4_Full_BIT = 23,
1: - ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT = 24,
1: - ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT = 25,
1: - ETHTOOL_LINK_MODE_40000baseLR4_Full_BIT = 26,
1: - ETHTOOL_LINK_MODE_56000baseKR4_Full_BIT = 27,
1: - ETHTOOL_LINK_MODE_56000baseCR4_Full_BIT = 28,
1: - ETHTOOL_LINK_MODE_56000baseSR4_Full_BIT = 29,
1: - ETHTOOL_LINK_MODE_56000baseLR4_Full_BIT = 30,
1: - ETHTOOL_LINK_MODE_25000baseCR_Full_BIT = 31,
1: - ETHTOOL_LINK_MODE_25000baseKR_Full_BIT = 32,
1: - ETHTOOL_LINK_MODE_25000baseSR_Full_BIT = 33,
1: - ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT = 34,
1: - ETHTOOL_LINK_MODE_50000baseKR2_Full_BIT = 35,
1: - ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT = 36,
1: - ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT = 37,
1: - ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT = 38,
1: - ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT = 39,
1: - ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT = 40,
1: - ETHTOOL_LINK_MODE_1000baseX_Full_BIT = 41,
1: - ETHTOOL_LINK_MODE_10000baseCR_Full_BIT = 42,
1: - ETHTOOL_LINK_MODE_10000baseSR_Full_BIT = 43,
1: - ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44,
1: - ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45,
1: - ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46,
1: - ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 47,
1: - ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 48,
1: - ETHTOOL_LINK_MODE_FEC_NONE_BIT = 49,
1: - ETHTOOL_LINK_MODE_FEC_RS_BIT = 50,
1: - ETHTOOL_LINK_MODE_FEC_BASER_BIT = 51,
1: - ETHTOOL_LINK_MODE_50000baseKR_Full_BIT = 52,
1: - ETHTOOL_LINK_MODE_50000baseSR_Full_BIT = 53,
1: - ETHTOOL_LINK_MODE_50000baseCR_Full_BIT = 54,
1: - ETHTOOL_LINK_MODE_50000baseLR_ER_FR_Full_BIT = 55,
1: - ETHTOOL_LINK_MODE_50000baseDR_Full_BIT = 56,
1: - ETHTOOL_LINK_MODE_100000baseKR2_Full_BIT = 57,
1: - ETHTOOL_LINK_MODE_100000baseSR2_Full_BIT = 58,
1: - ETHTOOL_LINK_MODE_100000baseCR2_Full_BIT = 59,
1: - ETHTOOL_LINK_MODE_100000baseLR2_ER2_FR2_Full_BIT = 60,
1: - ETHTOOL_LINK_MODE_100000baseDR2_Full_BIT = 61,
1: - ETHTOOL_LINK_MODE_200000baseKR4_Full_BIT = 62,
1: - ETHTOOL_LINK_MODE_200000baseSR4_Full_BIT = 63,
1: - ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT = 64,
1: - ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT = 65,
1: - ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT = 66,
1: - ETHTOOL_LINK_MODE_100baseT1_Full_BIT = 67,
1: - ETHTOOL_LINK_MODE_1000baseT1_Full_BIT = 68,
1: - ETHTOOL_LINK_MODE_400000baseKR8_Full_BIT = 69,
1: - ETHTOOL_LINK_MODE_400000baseSR8_Full_BIT = 70,
1: - ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full_BIT = 71,
1: - ETHTOOL_LINK_MODE_400000baseDR8_Full_BIT = 72,
1: - ETHTOOL_LINK_MODE_400000baseCR8_Full_BIT = 73,
1: - __ETHTOOL_LINK_MODE_MASK_NBITS = 74,
1: -};
1: -
1: -enum {
1: - NAPI_STATE_SCHED = 0,
1: - NAPI_STATE_MISSED = 1,
1: - NAPI_STATE_DISABLE = 2,
1: - NAPI_STATE_NPSVC = 3,
1: - NAPI_STATE_HASHED = 4,
1: - NAPI_STATE_NO_BUSY_POLL = 5,
1: - NAPI_STATE_IN_BUSY_POLL = 6,
1: + ETHTOOL_LINK_MODE_10baseT_Half_BIT = 0,
1: + ETHTOOL_LINK_MODE_10baseT_Full_BIT = 1,
1: + ETHTOOL_LINK_MODE_100baseT_Half_BIT = 2,
1: + ETHTOOL_LINK_MODE_100baseT_Full_BIT = 3,
1: + ETHTOOL_LINK_MODE_1000baseT_Half_BIT = 4,
1: + ETHTOOL_LINK_MODE_1000baseT_Full_BIT = 5,
1: + ETHTOOL_LINK_MODE_Autoneg_BIT = 6,
1: + ETHTOOL_LINK_MODE_TP_BIT = 7,
1: + ETHTOOL_LINK_MODE_AUI_BIT = 8,
1: + ETHTOOL_LINK_MODE_MII_BIT = 9,
1: + ETHTOOL_LINK_MODE_FIBRE_BIT = 10,
1: + ETHTOOL_LINK_MODE_BNC_BIT = 11,
1: + ETHTOOL_LINK_MODE_10000baseT_Full_BIT = 12,
1: + ETHTOOL_LINK_MODE_Pause_BIT = 13,
1: + ETHTOOL_LINK_MODE_Asym_Pause_BIT = 14,
1: + ETHTOOL_LINK_MODE_2500baseX_Full_BIT = 15,
1: + ETHTOOL_LINK_MODE_Backplane_BIT = 16,
1: + ETHTOOL_LINK_MODE_1000baseKX_Full_BIT = 17,
1: + ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT = 18,
1: + ETHTOOL_LINK_MODE_10000baseKR_Full_BIT = 19,
1: + ETHTOOL_LINK_MODE_10000baseR_FEC_BIT = 20,
1: + ETHTOOL_LINK_MODE_20000baseMLD2_Full_BIT = 21,
1: + ETHTOOL_LINK_MODE_20000baseKR2_Full_BIT = 22,
1: + ETHTOOL_LINK_MODE_40000baseKR4_Full_BIT = 23,
1: + ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT = 24,
1: + ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT = 25,
1: + ETHTOOL_LINK_MODE_40000baseLR4_Full_BIT = 26,
1: + ETHTOOL_LINK_MODE_56000baseKR4_Full_BIT = 27,
1: + ETHTOOL_LINK_MODE_56000baseCR4_Full_BIT = 28,
1: + ETHTOOL_LINK_MODE_56000baseSR4_Full_BIT = 29,
1: + ETHTOOL_LINK_MODE_56000baseLR4_Full_BIT = 30,
1: + ETHTOOL_LINK_MODE_25000baseCR_Full_BIT = 31,
1: + ETHTOOL_LINK_MODE_25000baseKR_Full_BIT = 32,
1: + ETHTOOL_LINK_MODE_25000baseSR_Full_BIT = 33,
1: + ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT = 34,
1: + ETHTOOL_LINK_MODE_50000baseKR2_Full_BIT = 35,
1: + ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT = 36,
1: + ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT = 37,
1: + ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT = 38,
1: + ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT = 39,
1: + ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT = 40,
1: + ETHTOOL_LINK_MODE_1000baseX_Full_BIT = 41,
1: + ETHTOOL_LINK_MODE_10000baseCR_Full_BIT = 42,
1: + ETHTOOL_LINK_MODE_10000baseSR_Full_BIT = 43,
1: + ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44,
1: + ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45,
1: + ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46,
1: + ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 47,
1: + ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 48,
1: + ETHTOOL_LINK_MODE_FEC_NONE_BIT = 49,
1: + ETHTOOL_LINK_MODE_FEC_RS_BIT = 50,
1: + ETHTOOL_LINK_MODE_FEC_BASER_BIT = 51,
1: + ETHTOOL_LINK_MODE_50000baseKR_Full_BIT = 52,
1: + ETHTOOL_LINK_MODE_50000baseSR_Full_BIT = 53,
1: + ETHTOOL_LINK_MODE_50000baseCR_Full_BIT = 54,
1: + ETHTOOL_LINK_MODE_50000baseLR_ER_FR_Full_BIT = 55,
1: + ETHTOOL_LINK_MODE_50000baseDR_Full_BIT = 56,
1: + ETHTOOL_LINK_MODE_100000baseKR2_Full_BIT = 57,
1: + ETHTOOL_LINK_MODE_100000baseSR2_Full_BIT = 58,
1: + ETHTOOL_LINK_MODE_100000baseCR2_Full_BIT = 59,
1: + ETHTOOL_LINK_MODE_100000baseLR2_ER2_FR2_Full_BIT = 60,
1: + ETHTOOL_LINK_MODE_100000baseDR2_Full_BIT = 61,
1: + ETHTOOL_LINK_MODE_200000baseKR4_Full_BIT = 62,
1: + ETHTOOL_LINK_MODE_200000baseSR4_Full_BIT = 63,
1: + ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT = 64,
1: + ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT = 65,
1: + ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT = 66,
1: + ETHTOOL_LINK_MODE_100baseT1_Full_BIT = 67,
1: + ETHTOOL_LINK_MODE_1000baseT1_Full_BIT = 68,
1: + ETHTOOL_LINK_MODE_400000baseKR8_Full_BIT = 69,
1: + ETHTOOL_LINK_MODE_400000baseSR8_Full_BIT = 70,
1: + ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full_BIT = 71,
1: + ETHTOOL_LINK_MODE_400000baseDR8_Full_BIT = 72,
1: + ETHTOOL_LINK_MODE_400000baseCR8_Full_BIT = 73,
1: + __ETHTOOL_LINK_MODE_MASK_NBITS = 74,
1: +};
1: +
1: +enum {
1: + NAPI_STATE_SCHED = 0,
1: + NAPI_STATE_MISSED = 1,
1: + NAPI_STATE_DISABLE = 2,
1: + NAPI_STATE_NPSVC = 3,
1: + NAPI_STATE_HASHED = 4,
1: + NAPI_STATE_NO_BUSY_POLL = 5,
1: + NAPI_STATE_IN_BUSY_POLL = 6,
1: };
1:
1: struct compat_sysctl_args {
1: - compat_uptr_t name;
1: - int nlen;
1: - compat_uptr_t oldval;
1: - compat_uptr_t oldlenp;
1: - compat_uptr_t newval;
1: - compat_size_t newlen;
1: - compat_ulong_t __unused[4];
1: + compat_uptr_t name;
1: + int nlen;
1: + compat_uptr_t oldval;
1: + compat_uptr_t oldlenp;
1: + compat_uptr_t newval;
1: + compat_size_t newlen;
1: + compat_ulong_t __unused[4];
1: };
1:
1: struct __user_cap_header_struct {
1: - __u32 version;
1: - int pid;
1: + __u32 version;
1: + int pid;
1: };
1:
1: typedef struct __user_cap_header_struct *cap_user_header_t;
1:
1: struct __user_cap_data_struct {
1: - __u32 effective;
1: - __u32 permitted;
1: - __u32 inheritable;
1: + __u32 effective;
1: + __u32 permitted;
1: + __u32 inheritable;
1: };
1:
1: typedef struct __user_cap_data_struct *cap_user_data_t;
1:
1: struct sigqueue {
1: - struct list_head list;
1: - int flags;
1: - kernel_siginfo_t info;
1: - struct user_struct *user;
1: + struct list_head list;
1: + int flags;
1: + kernel_siginfo_t info;
1: + struct user_struct *user;
1: };
1:
1: struct wait_bit_key {
1: - void *flags;
1: - int bit_nr;
1: - long unsigned int timeout;
1: + void *flags;
1: + int bit_nr;
1: + long unsigned int timeout;
1: };
1:
1: typedef int wait_bit_action_f(struct wait_bit_key *, int);
1:
1: struct ptrace_peeksiginfo_args {
1: - __u64 off;
1: - __u32 flags;
1: - __s32 nr;
1: + __u64 off;
1: + __u32 flags;
1: + __s32 nr;
1: };
1:
1: struct ptrace_syscall_info {
1: - __u8 op;
1: - __u32 arch;
1: - __u64 instruction_pointer;
1: - __u64 stack_pointer;
1: - union {
1: - struct {
1: - __u64 nr;
1: - __u64 args[6];
1: - } entry;
1: - struct {
1: - __s64 rval;
1: - __u8 is_error;
1: - } exit;
1: - struct {
1: - __u64 nr;
1: - __u64 args[6];
1: - __u32 ret_data;
1: - } seccomp;
1: - };
1: + __u8 op;
1: + __u32 arch;
1: + __u64 instruction_pointer;
1: + __u64 stack_pointer;
1: + union {
1: + struct {
1: + __u64 nr;
1: + __u64 args[6];
1: + } entry;
1: + struct {
1: + __s64 rval;
1: + __u8 is_error;
1: + } exit;
1: + struct {
1: + __u64 nr;
1: + __u64 args[6];
1: + __u32 ret_data;
1: + } seccomp;
1: + };
1: };
1:
1: struct compat_iovec {
1: - compat_uptr_t iov_base;
1: - compat_size_t iov_len;
1: + compat_uptr_t iov_base;
1: + compat_size_t iov_len;
1: };
1:
1: typedef long unsigned int old_sigset_t;
1:
1: enum siginfo_layout {
1: - SIL_KILL = 0,
1: - SIL_TIMER = 1,
1: - SIL_POLL = 2,
1: - SIL_FAULT = 3,
1: - SIL_FAULT_MCEERR = 4,
1: - SIL_FAULT_BNDERR = 5,
1: - SIL_FAULT_PKUERR = 6,
1: - SIL_CHLD = 7,
1: - SIL_RT = 8,
1: - SIL_SYS = 9,
1: + SIL_KILL = 0,
1: + SIL_TIMER = 1,
1: + SIL_POLL = 2,
1: + SIL_FAULT = 3,
1: + SIL_FAULT_MCEERR = 4,
1: + SIL_FAULT_BNDERR = 5,
1: + SIL_FAULT_PKUERR = 6,
1: + SIL_CHLD = 7,
1: + SIL_RT = 8,
1: + SIL_SYS = 9,
1: };
1:
1: typedef u32 compat_old_sigset_t;
1:
1: struct compat_sigaction {
1: - compat_uptr_t sa_handler;
1: - compat_ulong_t sa_flags;
1: - compat_uptr_t sa_restorer;
1: - compat_sigset_t sa_mask;
1: + compat_uptr_t sa_handler;
1: + compat_ulong_t sa_flags;
1: + compat_uptr_t sa_restorer;
1: + compat_sigset_t sa_mask;
1: };
1:
1: struct compat_old_sigaction {
1: - compat_uptr_t sa_handler;
1: - compat_old_sigset_t sa_mask;
1: - compat_ulong_t sa_flags;
1: - compat_uptr_t sa_restorer;
1: + compat_uptr_t sa_handler;
1: + compat_old_sigset_t sa_mask;
1: + compat_ulong_t sa_flags;
1: + compat_uptr_t sa_restorer;
1: };
1:
1: enum {
1: - TRACE_SIGNAL_DELIVERED = 0,
1: - TRACE_SIGNAL_IGNORED = 1,
1: - TRACE_SIGNAL_ALREADY_PENDING = 2,
1: - TRACE_SIGNAL_OVERFLOW_FAIL = 3,
1: - TRACE_SIGNAL_LOSE_INFO = 4,
1: + TRACE_SIGNAL_DELIVERED = 0,
1: + TRACE_SIGNAL_IGNORED = 1,
1: + TRACE_SIGNAL_ALREADY_PENDING = 2,
1: + TRACE_SIGNAL_OVERFLOW_FAIL = 3,
1: + TRACE_SIGNAL_LOSE_INFO = 4,
1: };
1:
1: struct trace_event_raw_signal_generate {
1: - struct trace_entry ent;
1: - int sig;
1: - int errno;
1: - int code;
1: - char comm[16];
1: - pid_t pid;
1: - int group;
1: - int result;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int sig;
1: + int errno;
1: + int code;
1: + char comm[16];
1: + pid_t pid;
1: + int group;
1: + int result;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_signal_deliver {
1: - struct trace_entry ent;
1: - int sig;
1: - int errno;
1: - int code;
1: - long unsigned int sa_handler;
1: - long unsigned int sa_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int sig;
1: + int errno;
1: + int code;
1: + long unsigned int sa_handler;
1: + long unsigned int sa_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_signal_generate {};
1: @@ -23742,156 +23905,156 @@ struct trace_event_data_offsets_signal_generate {};
1: struct trace_event_data_offsets_signal_deliver {};
1:
1: struct sysinfo {
1: - __kernel_long_t uptime;
1: - __kernel_ulong_t loads[3];
1: - __kernel_ulong_t totalram;
1: - __kernel_ulong_t freeram;
1: - __kernel_ulong_t sharedram;
1: - __kernel_ulong_t bufferram;
1: - __kernel_ulong_t totalswap;
1: - __kernel_ulong_t freeswap;
1: - __u16 procs;
1: - __u16 pad;
1: - __kernel_ulong_t totalhigh;
1: - __kernel_ulong_t freehigh;
1: - __u32 mem_unit;
1: - char _f[0];
1: -};
1: -
1: -enum {
1: - PER_LINUX = 0,
1: - PER_LINUX_32BIT = 8388608,
1: - PER_LINUX_FDPIC = 524288,
1: - PER_SVR4 = 68157441,
1: - PER_SVR3 = 83886082,
1: - PER_SCOSVR3 = 117440515,
1: - PER_OSR5 = 100663299,
1: - PER_WYSEV386 = 83886084,
1: - PER_ISCR4 = 67108869,
1: - PER_BSD = 6,
1: - PER_SUNOS = 67108870,
1: - PER_XENIX = 83886087,
1: - PER_LINUX32 = 8,
1: - PER_LINUX32_3GB = 134217736,
1: - PER_IRIX32 = 67108873,
1: - PER_IRIXN32 = 67108874,
1: - PER_IRIX64 = 67108875,
1: - PER_RISCOS = 12,
1: - PER_SOLARIS = 67108877,
1: - PER_UW7 = 68157454,
1: - PER_OSF4 = 15,
1: - PER_HPUX = 16,
1: - PER_MASK = 255,
1: + __kernel_long_t uptime;
1: + __kernel_ulong_t loads[3];
1: + __kernel_ulong_t totalram;
1: + __kernel_ulong_t freeram;
1: + __kernel_ulong_t sharedram;
1: + __kernel_ulong_t bufferram;
1: + __kernel_ulong_t totalswap;
1: + __kernel_ulong_t freeswap;
1: + __u16 procs;
1: + __u16 pad;
1: + __kernel_ulong_t totalhigh;
1: + __kernel_ulong_t freehigh;
1: + __u32 mem_unit;
1: + char _f[0];
1: +};
1: +
1: +enum {
1: + PER_LINUX = 0,
1: + PER_LINUX_32BIT = 8388608,
1: + PER_LINUX_FDPIC = 524288,
1: + PER_SVR4 = 68157441,
1: + PER_SVR3 = 83886082,
1: + PER_SCOSVR3 = 117440515,
1: + PER_OSR5 = 100663299,
1: + PER_WYSEV386 = 83886084,
1: + PER_ISCR4 = 67108869,
1: + PER_BSD = 6,
1: + PER_SUNOS = 67108870,
1: + PER_XENIX = 83886087,
1: + PER_LINUX32 = 8,
1: + PER_LINUX32_3GB = 134217736,
1: + PER_IRIX32 = 67108873,
1: + PER_IRIXN32 = 67108874,
1: + PER_IRIX64 = 67108875,
1: + PER_RISCOS = 12,
1: + PER_SOLARIS = 67108877,
1: + PER_UW7 = 68157454,
1: + PER_OSF4 = 15,
1: + PER_HPUX = 16,
1: + PER_MASK = 255,
1: };
1:
1: struct rlimit64 {
1: - __u64 rlim_cur;
1: - __u64 rlim_max;
1: + __u64 rlim_cur;
1: + __u64 rlim_max;
1: };
1:
1: struct oldold_utsname {
1: - char sysname[9];
1: - char nodename[9];
1: - char release[9];
1: - char version[9];
1: - char machine[9];
1: + char sysname[9];
1: + char nodename[9];
1: + char release[9];
1: + char version[9];
1: + char machine[9];
1: };
1:
1: struct old_utsname {
1: - char sysname[65];
1: - char nodename[65];
1: - char release[65];
1: - char version[65];
1: - char machine[65];
1: + char sysname[65];
1: + char nodename[65];
1: + char release[65];
1: + char version[65];
1: + char machine[65];
1: };
1:
1: enum uts_proc {
1: - UTS_PROC_OSTYPE = 0,
1: - UTS_PROC_OSRELEASE = 1,
1: - UTS_PROC_VERSION = 2,
1: - UTS_PROC_HOSTNAME = 3,
1: - UTS_PROC_DOMAINNAME = 4,
1: + UTS_PROC_OSTYPE = 0,
1: + UTS_PROC_OSRELEASE = 1,
1: + UTS_PROC_VERSION = 2,
1: + UTS_PROC_HOSTNAME = 3,
1: + UTS_PROC_DOMAINNAME = 4,
1: };
1:
1: struct prctl_mm_map {
1: - __u64 start_code;
1: - __u64 end_code;
1: - __u64 start_data;
1: - __u64 end_data;
1: - __u64 start_brk;
1: - __u64 brk;
1: - __u64 start_stack;
1: - __u64 arg_start;
1: - __u64 arg_end;
1: - __u64 env_start;
1: - __u64 env_end;
1: - __u64 *auxv;
1: - __u32 auxv_size;
1: - __u32 exe_fd;
1: + __u64 start_code;
1: + __u64 end_code;
1: + __u64 start_data;
1: + __u64 end_data;
1: + __u64 start_brk;
1: + __u64 brk;
1: + __u64 start_stack;
1: + __u64 arg_start;
1: + __u64 arg_end;
1: + __u64 env_start;
1: + __u64 env_end;
1: + __u64 *auxv;
1: + __u32 auxv_size;
1: + __u32 exe_fd;
1: };
1:
1: struct tms {
1: - __kernel_clock_t tms_utime;
1: - __kernel_clock_t tms_stime;
1: - __kernel_clock_t tms_cutime;
1: - __kernel_clock_t tms_cstime;
1: + __kernel_clock_t tms_utime;
1: + __kernel_clock_t tms_stime;
1: + __kernel_clock_t tms_cutime;
1: + __kernel_clock_t tms_cstime;
1: };
1:
1: struct getcpu_cache {
1: - long unsigned int blob[16];
1: + long unsigned int blob[16];
1: };
1:
1: struct compat_tms {
1: - compat_clock_t tms_utime;
1: - compat_clock_t tms_stime;
1: - compat_clock_t tms_cutime;
1: - compat_clock_t tms_cstime;
1: + compat_clock_t tms_utime;
1: + compat_clock_t tms_stime;
1: + compat_clock_t tms_cutime;
1: + compat_clock_t tms_cstime;
1: };
1:
1: struct compat_rlimit {
1: - compat_ulong_t rlim_cur;
1: - compat_ulong_t rlim_max;
1: + compat_ulong_t rlim_cur;
1: + compat_ulong_t rlim_max;
1: };
1:
1: struct compat_sysinfo {
1: - s32 uptime;
1: - u32 loads[3];
1: - u32 totalram;
1: - u32 freeram;
1: - u32 sharedram;
1: - u32 bufferram;
1: - u32 totalswap;
1: - u32 freeswap;
1: - u16 procs;
1: - u16 pad;
1: - u32 totalhigh;
1: - u32 freehigh;
1: - u32 mem_unit;
1: - char _f[8];
1: + s32 uptime;
1: + u32 loads[3];
1: + u32 totalram;
1: + u32 freeram;
1: + u32 sharedram;
1: + u32 bufferram;
1: + u32 totalswap;
1: + u32 freeswap;
1: + u16 procs;
1: + u16 pad;
1: + u32 totalhigh;
1: + u32 freehigh;
1: + u32 mem_unit;
1: + char _f[8];
1: };
1:
1: struct subprocess_info {
1: - struct work_struct work;
1: - struct completion *complete;
1: - const char *path;
1: - char **argv;
1: - char **envp;
1: - struct file *file;
1: - int wait;
1: - int retval;
1: - pid_t pid;
1: - int (*init)(struct subprocess_info *, struct cred *);
1: - void (*cleanup)(struct subprocess_info *);
1: - void *data;
1: + struct work_struct work;
1: + struct completion *complete;
1: + const char *path;
1: + char **argv;
1: + char **envp;
1: + struct file *file;
1: + int wait;
1: + int retval;
1: + pid_t pid;
1: + int (*init)(struct subprocess_info *, struct cred *);
1: + void (*cleanup)(struct subprocess_info *);
1: + void *data;
1: };
1:
1: struct umh_info {
1: - const char *cmdline;
1: - struct file *pipe_to_umh;
1: - struct file *pipe_from_umh;
1: - struct list_head list;
1: - void (*cleanup)(struct umh_info *);
1: - pid_t pid;
1: + const char *cmdline;
1: + struct file *pipe_to_umh;
1: + struct file *pipe_from_umh;
1: + struct list_head list;
1: + void (*cleanup)(struct umh_info *);
1: + pid_t pid;
1: };
1:
1: struct wq_flusher;
1: @@ -23905,218 +24068,218 @@ struct pool_workqueue;
1: struct wq_device;
1:
1: struct workqueue_struct {
1: - struct list_head pwqs;
1: - struct list_head list;
1: - struct mutex mutex;
1: - int work_color;
1: - int flush_color;
1: - atomic_t nr_pwqs_to_flush;
1: - struct wq_flusher *first_flusher;
1: - struct list_head flusher_queue;
1: - struct list_head flusher_overflow;
1: - struct list_head maydays;
1: - struct worker *rescuer;
1: - int nr_drainers;
1: - int saved_max_active;
1: - struct workqueue_attrs *unbound_attrs;
1: - struct pool_workqueue *dfl_pwq;
1: - struct wq_device *wq_dev;
1: - char name[24];
1: - struct callback_head rcu;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - unsigned int flags;
1: - struct pool_workqueue *cpu_pwqs;
1: - struct pool_workqueue *numa_pwq_tbl[0];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct list_head pwqs;
1: + struct list_head list;
1: + struct mutex mutex;
1: + int work_color;
1: + int flush_color;
1: + atomic_t nr_pwqs_to_flush;
1: + struct wq_flusher *first_flusher;
1: + struct list_head flusher_queue;
1: + struct list_head flusher_overflow;
1: + struct list_head maydays;
1: + struct worker *rescuer;
1: + int nr_drainers;
1: + int saved_max_active;
1: + struct workqueue_attrs *unbound_attrs;
1: + struct pool_workqueue *dfl_pwq;
1: + struct wq_device *wq_dev;
1: + char name[24];
1: + struct callback_head rcu;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + unsigned int flags;
1: + struct pool_workqueue *cpu_pwqs;
1: + struct pool_workqueue *numa_pwq_tbl[0];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct workqueue_attrs {
1: - int nice;
1: - cpumask_var_t cpumask;
1: - bool no_numa;
1: + int nice;
1: + cpumask_var_t cpumask;
1: + bool no_numa;
1: };
1:
1: struct execute_work {
1: - struct work_struct work;
1: + struct work_struct work;
1: };
1:
1: enum {
1: - WQ_UNBOUND = 2,
1: - WQ_FREEZABLE = 4,
1: - WQ_MEM_RECLAIM = 8,
1: - WQ_HIGHPRI = 16,
1: - WQ_CPU_INTENSIVE = 32,
1: - WQ_SYSFS = 64,
1: - WQ_POWER_EFFICIENT = 128,
1: - __WQ_DRAINING = 65536,
1: - __WQ_ORDERED = 131072,
1: - __WQ_LEGACY = 262144,
1: - __WQ_ORDERED_EXPLICIT = 524288,
1: - WQ_MAX_ACTIVE = 512,
1: - WQ_MAX_UNBOUND_PER_CPU = 4,
1: - WQ_DFL_ACTIVE = 256,
1: + WQ_UNBOUND = 2,
1: + WQ_FREEZABLE = 4,
1: + WQ_MEM_RECLAIM = 8,
1: + WQ_HIGHPRI = 16,
1: + WQ_CPU_INTENSIVE = 32,
1: + WQ_SYSFS = 64,
1: + WQ_POWER_EFFICIENT = 128,
1: + __WQ_DRAINING = 65536,
1: + __WQ_ORDERED = 131072,
1: + __WQ_LEGACY = 262144,
1: + __WQ_ORDERED_EXPLICIT = 524288,
1: + WQ_MAX_ACTIVE = 512,
1: + WQ_MAX_UNBOUND_PER_CPU = 4,
1: + WQ_DFL_ACTIVE = 256,
1: };
1:
1: typedef unsigned int xa_mark_t;
1:
1: enum xa_lock_type {
1: - XA_LOCK_IRQ = 1,
1: - XA_LOCK_BH = 2,
1: + XA_LOCK_IRQ = 1,
1: + XA_LOCK_BH = 2,
1: };
1:
1: struct ida {
1: - struct xarray xa;
1: + struct xarray xa;
1: };
1:
1: struct __una_u32 {
1: - u32 x;
1: + u32 x;
1: };
1:
1: struct worker_pool;
1:
1: struct worker {
1: - union {
1: - struct list_head entry;
1: - struct hlist_node hentry;
1: - };
1: - struct work_struct *current_work;
1: - work_func_t current_func;
1: - struct pool_workqueue *current_pwq;
1: - struct list_head scheduled;
1: - struct task_struct *task;
1: - struct worker_pool *pool;
1: - struct list_head node;
1: - long unsigned int last_active;
1: - unsigned int flags;
1: - int id;
1: - int sleeping;
1: - char desc[24];
1: - struct workqueue_struct *rescue_wq;
1: - work_func_t last_func;
1: + union {
1: + struct list_head entry;
1: + struct hlist_node hentry;
1: + };
1: + struct work_struct *current_work;
1: + work_func_t current_func;
1: + struct pool_workqueue *current_pwq;
1: + struct list_head scheduled;
1: + struct task_struct *task;
1: + struct worker_pool *pool;
1: + struct list_head node;
1: + long unsigned int last_active;
1: + unsigned int flags;
1: + int id;
1: + int sleeping;
1: + char desc[24];
1: + struct workqueue_struct *rescue_wq;
1: + work_func_t last_func;
1: };
1:
1: struct pool_workqueue {
1: - struct worker_pool *pool;
1: - struct workqueue_struct *wq;
1: - int work_color;
1: - int flush_color;
1: - int refcnt;
1: - int nr_in_flight[15];
1: - int nr_active;
1: - int max_active;
1: - struct list_head delayed_works;
1: - struct list_head pwqs_node;
1: - struct list_head mayday_node;
1: - struct work_struct unbound_release_work;
1: - struct callback_head rcu;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct worker_pool *pool;
1: + struct workqueue_struct *wq;
1: + int work_color;
1: + int flush_color;
1: + int refcnt;
1: + int nr_in_flight[15];
1: + int nr_active;
1: + int max_active;
1: + struct list_head delayed_works;
1: + struct list_head pwqs_node;
1: + struct list_head mayday_node;
1: + struct work_struct unbound_release_work;
1: + struct callback_head rcu;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct worker_pool {
1: - spinlock_t lock;
1: - int cpu;
1: - int node;
1: - int id;
1: - unsigned int flags;
1: - long unsigned int watchdog_ts;
1: - struct list_head worklist;
1: - int nr_workers;
1: - int nr_idle;
1: - struct list_head idle_list;
1: - struct timer_list idle_timer;
1: - struct timer_list mayday_timer;
1: - struct hlist_head busy_hash[64];
1: - struct worker *manager;
1: - struct list_head workers;
1: - struct completion *detach_completion;
1: - struct ida worker_ida;
1: - struct workqueue_attrs *attrs;
1: - struct hlist_node hash_node;
1: - int refcnt;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - atomic_t nr_running;
1: - struct callback_head rcu;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: -};
1: -
1: -enum {
1: - POOL_MANAGER_ACTIVE = 1,
1: - POOL_DISASSOCIATED = 4,
1: - WORKER_DIE = 2,
1: - WORKER_IDLE = 4,
1: - WORKER_PREP = 8,
1: - WORKER_CPU_INTENSIVE = 64,
1: - WORKER_UNBOUND = 128,
1: - WORKER_REBOUND = 256,
1: - WORKER_NOT_RUNNING = 456,
1: - NR_STD_WORKER_POOLS = 2,
1: - UNBOUND_POOL_HASH_ORDER = 6,
1: - BUSY_WORKER_HASH_ORDER = 6,
1: - MAX_IDLE_WORKERS_RATIO = 4,
1: - IDLE_WORKER_TIMEOUT = 300000,
1: - MAYDAY_INITIAL_TIMEOUT = 10,
1: - MAYDAY_INTERVAL = 100,
1: - CREATE_COOLDOWN = 1000,
1: - RESCUER_NICE_LEVEL = -20,
1: - HIGHPRI_NICE_LEVEL = -20,
1: - WQ_NAME_LEN = 24,
1: + spinlock_t lock;
1: + int cpu;
1: + int node;
1: + int id;
1: + unsigned int flags;
1: + long unsigned int watchdog_ts;
1: + struct list_head worklist;
1: + int nr_workers;
1: + int nr_idle;
1: + struct list_head idle_list;
1: + struct timer_list idle_timer;
1: + struct timer_list mayday_timer;
1: + struct hlist_head busy_hash[64];
1: + struct worker *manager;
1: + struct list_head workers;
1: + struct completion *detach_completion;
1: + struct ida worker_ida;
1: + struct workqueue_attrs *attrs;
1: + struct hlist_node hash_node;
1: + int refcnt;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + atomic_t nr_running;
1: + struct callback_head rcu;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: +};
1: +
1: +enum {
1: + POOL_MANAGER_ACTIVE = 1,
1: + POOL_DISASSOCIATED = 4,
1: + WORKER_DIE = 2,
1: + WORKER_IDLE = 4,
1: + WORKER_PREP = 8,
1: + WORKER_CPU_INTENSIVE = 64,
1: + WORKER_UNBOUND = 128,
1: + WORKER_REBOUND = 256,
1: + WORKER_NOT_RUNNING = 456,
1: + NR_STD_WORKER_POOLS = 2,
1: + UNBOUND_POOL_HASH_ORDER = 6,
1: + BUSY_WORKER_HASH_ORDER = 6,
1: + MAX_IDLE_WORKERS_RATIO = 4,
1: + IDLE_WORKER_TIMEOUT = 300000,
1: + MAYDAY_INITIAL_TIMEOUT = 10,
1: + MAYDAY_INTERVAL = 100,
1: + CREATE_COOLDOWN = 1000,
1: + RESCUER_NICE_LEVEL = -20,
1: + HIGHPRI_NICE_LEVEL = -20,
1: + WQ_NAME_LEN = 24,
1: };
1:
1: struct wq_flusher {
1: - struct list_head list;
1: - int flush_color;
1: - struct completion done;
1: + struct list_head list;
1: + int flush_color;
1: + struct completion done;
1: };
1:
1: struct wq_device {
1: - struct workqueue_struct *wq;
1: - struct device dev;
1: + struct workqueue_struct *wq;
1: + struct device dev;
1: };
1:
1: struct trace_event_raw_workqueue_work {
1: - struct trace_entry ent;
1: - void *work;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *work;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_workqueue_queue_work {
1: - struct trace_entry ent;
1: - void *work;
1: - void *function;
1: - void *workqueue;
1: - unsigned int req_cpu;
1: - unsigned int cpu;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *work;
1: + void *function;
1: + void *workqueue;
1: + unsigned int req_cpu;
1: + unsigned int cpu;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_workqueue_execute_start {
1: - struct trace_entry ent;
1: - void *work;
1: - void *function;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *work;
1: + void *function;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_workqueue_work {};
1: @@ -24126,66 +24289,66 @@ struct trace_event_data_offsets_workqueue_queue_work {};
1: struct trace_event_data_offsets_workqueue_execute_start {};
1:
1: struct wq_barrier {
1: - struct work_struct work;
1: - struct completion done;
1: - struct task_struct *task;
1: + struct work_struct work;
1: + struct completion done;
1: + struct task_struct *task;
1: };
1:
1: struct cwt_wait {
1: - wait_queue_entry_t wait;
1: - struct work_struct *work;
1: + wait_queue_entry_t wait;
1: + struct work_struct *work;
1: };
1:
1: struct apply_wqattrs_ctx {
1: - struct workqueue_struct *wq;
1: - struct workqueue_attrs *attrs;
1: - struct list_head list;
1: - struct pool_workqueue *dfl_pwq;
1: - struct pool_workqueue *pwq_tbl[0];
1: + struct workqueue_struct *wq;
1: + struct workqueue_attrs *attrs;
1: + struct list_head list;
1: + struct pool_workqueue *dfl_pwq;
1: + struct pool_workqueue *pwq_tbl[0];
1: };
1:
1: struct work_for_cpu {
1: - struct work_struct work;
1: - long int (*fn)(void *);
1: - void *arg;
1: - long int ret;
1: + struct work_struct work;
1: + long int (*fn)(void *);
1: + void *arg;
1: + long int ret;
1: };
1:
1: typedef void (*task_work_func_t)(struct callback_head *);
1:
1: enum {
1: - KERNEL_PARAM_OPS_FL_NOARG = 1,
1: + KERNEL_PARAM_OPS_FL_NOARG = 1,
1: };
1:
1: enum {
1: - KERNEL_PARAM_FL_UNSAFE = 1,
1: - KERNEL_PARAM_FL_HWPARAM = 2,
1: + KERNEL_PARAM_FL_UNSAFE = 1,
1: + KERNEL_PARAM_FL_HWPARAM = 2,
1: };
1:
1: struct param_attribute {
1: - struct module_attribute mattr;
1: - const struct kernel_param *param;
1: + struct module_attribute mattr;
1: + const struct kernel_param *param;
1: };
1:
1: struct module_param_attrs {
1: - unsigned int num;
1: - struct attribute_group grp;
1: - struct param_attribute attrs[0];
1: + unsigned int num;
1: + struct attribute_group grp;
1: + struct param_attribute attrs[0];
1: };
1:
1: struct module_version_attribute {
1: - struct module_attribute mattr;
1: - const char *module_name;
1: - const char *version;
1: + struct module_attribute mattr;
1: + const char *module_name;
1: + const char *version;
1: };
1:
1: struct kmalloced_param {
1: - struct list_head list;
1: - char val[0];
1: + struct list_head list;
1: + char val[0];
1: };
1:
1: struct sched_param {
1: - int sched_priority;
1: + int sched_priority;
1: };
1:
1: struct kthread_work;
1: @@ -24195,115 +24358,115 @@ typedef void (*kthread_work_func_t)(struct kthread_work *);
1: struct kthread_worker;
1:
1: struct kthread_work {
1: - struct list_head node;
1: - kthread_work_func_t func;
1: - struct kthread_worker *worker;
1: - int canceling;
1: + struct list_head node;
1: + kthread_work_func_t func;
1: + struct kthread_worker *worker;
1: + int canceling;
1: };
1:
1: enum {
1: - KTW_FREEZABLE = 1,
1: + KTW_FREEZABLE = 1,
1: };
1:
1: struct kthread_worker {
1: - unsigned int flags;
1: - raw_spinlock_t lock;
1: - struct list_head work_list;
1: - struct list_head delayed_work_list;
1: - struct task_struct *task;
1: - struct kthread_work *current_work;
1: + unsigned int flags;
1: + raw_spinlock_t lock;
1: + struct list_head work_list;
1: + struct list_head delayed_work_list;
1: + struct task_struct *task;
1: + struct kthread_work *current_work;
1: };
1:
1: struct kthread_delayed_work {
1: - struct kthread_work work;
1: - struct timer_list timer;
1: + struct kthread_work work;
1: + struct timer_list timer;
1: };
1:
1: struct kthread_create_info {
1: - int (*threadfn)(void *);
1: - void *data;
1: - int node;
1: - struct task_struct *result;
1: - struct completion *done;
1: - struct list_head list;
1: + int (*threadfn)(void *);
1: + void *data;
1: + int node;
1: + struct task_struct *result;
1: + struct completion *done;
1: + struct list_head list;
1: };
1:
1: struct kthread {
1: - long unsigned int flags;
1: - unsigned int cpu;
1: - void *data;
1: - struct completion parked;
1: - struct completion exited;
1: + long unsigned int flags;
1: + unsigned int cpu;
1: + void *data;
1: + struct completion parked;
1: + struct completion exited;
1: };
1:
1: enum KTHREAD_BITS {
1: - KTHREAD_IS_PER_CPU = 0,
1: - KTHREAD_SHOULD_STOP = 1,
1: - KTHREAD_SHOULD_PARK = 2,
1: + KTHREAD_IS_PER_CPU = 0,
1: + KTHREAD_SHOULD_STOP = 1,
1: + KTHREAD_SHOULD_PARK = 2,
1: };
1:
1: struct kthread_flush_work {
1: - struct kthread_work work;
1: - struct completion done;
1: + struct kthread_work work;
1: + struct completion done;
1: };
1:
1: struct pt_regs___2;
1:
1: struct ipc_ids {
1: - int in_use;
1: - short unsigned int seq;
1: - struct rw_semaphore rwsem;
1: - struct idr ipcs_idr;
1: - int max_idx;
1: - int last_idx;
1: - struct rhashtable key_ht;
1: + int in_use;
1: + short unsigned int seq;
1: + struct rw_semaphore rwsem;
1: + struct idr ipcs_idr;
1: + int max_idx;
1: + int last_idx;
1: + struct rhashtable key_ht;
1: };
1:
1: struct ipc_namespace {
1: - refcount_t count;
1: - struct ipc_ids ids[3];
1: - int sem_ctls[4];
1: - int used_sems;
1: - unsigned int msg_ctlmax;
1: - unsigned int msg_ctlmnb;
1: - unsigned int msg_ctlmni;
1: - atomic_t msg_bytes;
1: - atomic_t msg_hdrs;
1: - size_t shm_ctlmax;
1: - size_t shm_ctlall;
1: - long unsigned int shm_tot;
1: - int shm_ctlmni;
1: - int shm_rmid_forced;
1: - struct notifier_block ipcns_nb;
1: - struct vfsmount *mq_mnt;
1: - unsigned int mq_queues_count;
1: - unsigned int mq_queues_max;
1: - unsigned int mq_msg_max;
1: - unsigned int mq_msgsize_max;
1: - unsigned int mq_msg_default;
1: - unsigned int mq_msgsize_default;
1: - struct user_namespace *user_ns;
1: - struct ucounts *ucounts;
1: - struct ns_common ns;
1: + refcount_t count;
1: + struct ipc_ids ids[3];
1: + int sem_ctls[4];
1: + int used_sems;
1: + unsigned int msg_ctlmax;
1: + unsigned int msg_ctlmnb;
1: + unsigned int msg_ctlmni;
1: + atomic_t msg_bytes;
1: + atomic_t msg_hdrs;
1: + size_t shm_ctlmax;
1: + size_t shm_ctlall;
1: + long unsigned int shm_tot;
1: + int shm_ctlmni;
1: + int shm_rmid_forced;
1: + struct notifier_block ipcns_nb;
1: + struct vfsmount *mq_mnt;
1: + unsigned int mq_queues_count;
1: + unsigned int mq_queues_max;
1: + unsigned int mq_msg_max;
1: + unsigned int mq_msgsize_max;
1: + unsigned int mq_msg_default;
1: + unsigned int mq_msgsize_default;
1: + struct user_namespace *user_ns;
1: + struct ucounts *ucounts;
1: + struct ns_common ns;
1: };
1:
1: struct srcu_notifier_head {
1: - struct mutex mutex;
1: - struct srcu_struct srcu;
1: - struct notifier_block *head;
1: + struct mutex mutex;
1: + struct srcu_struct srcu;
1: + struct notifier_block *head;
1: };
1:
1: enum what {
1: - PROC_EVENT_NONE = 0,
1: - PROC_EVENT_FORK = 1,
1: - PROC_EVENT_EXEC = 2,
1: - PROC_EVENT_UID = 4,
1: - PROC_EVENT_GID = 64,
1: - PROC_EVENT_SID = 128,
1: - PROC_EVENT_PTRACE = 256,
1: - PROC_EVENT_COMM = 512,
1: - PROC_EVENT_COREDUMP = 1073741824,
1: - PROC_EVENT_EXIT = -2147483648,
1: + PROC_EVENT_NONE = 0,
1: + PROC_EVENT_FORK = 1,
1: + PROC_EVENT_EXEC = 2,
1: + PROC_EVENT_UID = 4,
1: + PROC_EVENT_GID = 64,
1: + PROC_EVENT_SID = 128,
1: + PROC_EVENT_PTRACE = 256,
1: + PROC_EVENT_COMM = 512,
1: + PROC_EVENT_COREDUMP = 1073741824,
1: + PROC_EVENT_EXIT = -2147483648,
1: };
1:
1: typedef u64 async_cookie_t;
1: @@ -24311,580 +24474,580 @@ typedef u64 async_cookie_t;
1: typedef void (*async_func_t)(void *, async_cookie_t);
1:
1: struct async_domain {
1: - struct list_head pending;
1: - unsigned int registered: 1;
1: + struct list_head pending;
1: + unsigned int registered : 1;
1: };
1:
1: struct async_entry {
1: - struct list_head domain_list;
1: - struct list_head global_list;
1: - struct work_struct work;
1: - async_cookie_t cookie;
1: - async_func_t func;
1: - void *data;
1: - struct async_domain *domain;
1: + struct list_head domain_list;
1: + struct list_head global_list;
1: + struct work_struct work;
1: + async_cookie_t cookie;
1: + async_func_t func;
1: + void *data;
1: + struct async_domain *domain;
1: };
1:
1: struct smpboot_thread_data {
1: - unsigned int cpu;
1: - unsigned int status;
1: - struct smp_hotplug_thread *ht;
1: + unsigned int cpu;
1: + unsigned int status;
1: + struct smp_hotplug_thread *ht;
1: };
1:
1: enum {
1: - HP_THREAD_NONE = 0,
1: - HP_THREAD_ACTIVE = 1,
1: - HP_THREAD_PARKED = 2,
1: + HP_THREAD_NONE = 0,
1: + HP_THREAD_ACTIVE = 1,
1: + HP_THREAD_PARKED = 2,
1: };
1:
1: struct pin_cookie {};
1:
1: struct cfs_rq {
1: - struct load_weight load;
1: - long unsigned int runnable_weight;
1: - unsigned int nr_running;
1: - unsigned int h_nr_running;
1: - unsigned int idle_h_nr_running;
1: - u64 exec_clock;
1: - u64 min_vruntime;
1: - struct rb_root_cached tasks_timeline;
1: - struct sched_entity *curr;
1: - struct sched_entity *next;
1: - struct sched_entity *last;
1: - struct sched_entity *skip;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct sched_avg avg;
1: - struct {
1: - raw_spinlock_t lock;
1: - int nr;
1: - long unsigned int load_avg;
1: - long unsigned int util_avg;
1: - long unsigned int runnable_sum;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - } removed;
1: - long unsigned int tg_load_avg_contrib;
1: - long int propagate;
1: - long int prop_runnable_sum;
1: - long unsigned int h_load;
1: - u64 last_h_load_update;
1: - struct sched_entity *h_load_next;
1: - struct rq *rq;
1: - int on_list;
1: - struct list_head leaf_cfs_rq_list;
1: - struct task_group *tg;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct load_weight load;
1: + long unsigned int runnable_weight;
1: + unsigned int nr_running;
1: + unsigned int h_nr_running;
1: + unsigned int idle_h_nr_running;
1: + u64 exec_clock;
1: + u64 min_vruntime;
1: + struct rb_root_cached tasks_timeline;
1: + struct sched_entity *curr;
1: + struct sched_entity *next;
1: + struct sched_entity *last;
1: + struct sched_entity *skip;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct sched_avg avg;
1: + struct {
1: + raw_spinlock_t lock;
1: + int nr;
1: + long unsigned int load_avg;
1: + long unsigned int util_avg;
1: + long unsigned int runnable_sum;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + } removed;
1: + long unsigned int tg_load_avg_contrib;
1: + long int propagate;
1: + long int prop_runnable_sum;
1: + long unsigned int h_load;
1: + u64 last_h_load_update;
1: + struct sched_entity *h_load_next;
1: + struct rq *rq;
1: + int on_list;
1: + struct list_head leaf_cfs_rq_list;
1: + struct task_group *tg;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct cfs_bandwidth {};
1:
1: struct task_group {
1: - struct cgroup_subsys_state css;
1: - struct sched_entity **se;
1: - struct cfs_rq **cfs_rq;
1: - long unsigned int shares;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - atomic_long_t load_avg;
1: - struct callback_head rcu;
1: - struct list_head list;
1: - struct task_group *parent;
1: - struct list_head siblings;
1: - struct list_head children;
1: - struct cfs_bandwidth cfs_bandwidth;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct cgroup_subsys_state css;
1: + struct sched_entity **se;
1: + struct cfs_rq **cfs_rq;
1: + long unsigned int shares;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + atomic_long_t load_avg;
1: + struct callback_head rcu;
1: + struct list_head list;
1: + struct task_group *parent;
1: + struct list_head siblings;
1: + struct list_head children;
1: + struct cfs_bandwidth cfs_bandwidth;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct update_util_data {
1: - void (*func)(struct update_util_data *, u64, unsigned int);
1: + void (*func)(struct update_util_data *, u64, unsigned int);
1: };
1:
1: enum {
1: - MEMBARRIER_STATE_PRIVATE_EXPEDITED_READY = 1,
1: - MEMBARRIER_STATE_PRIVATE_EXPEDITED = 2,
1: - MEMBARRIER_STATE_GLOBAL_EXPEDITED_READY = 4,
1: - MEMBARRIER_STATE_GLOBAL_EXPEDITED = 8,
1: - MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE_READY = 16,
1: - MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE = 32,
1: + MEMBARRIER_STATE_PRIVATE_EXPEDITED_READY = 1,
1: + MEMBARRIER_STATE_PRIVATE_EXPEDITED = 2,
1: + MEMBARRIER_STATE_GLOBAL_EXPEDITED_READY = 4,
1: + MEMBARRIER_STATE_GLOBAL_EXPEDITED = 8,
1: + MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE_READY = 16,
1: + MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE = 32,
1: };
1:
1: struct sched_domain_attr {
1: - int relax_domain_level;
1: + int relax_domain_level;
1: };
1:
1: struct sched_group {
1: - struct sched_group *next;
1: - atomic_t ref;
1: - unsigned int group_weight;
1: - struct sched_group_capacity *sgc;
1: - int asym_prefer_cpu;
1: - long unsigned int cpumask[0];
1: + struct sched_group *next;
1: + atomic_t ref;
1: + unsigned int group_weight;
1: + struct sched_group_capacity *sgc;
1: + int asym_prefer_cpu;
1: + long unsigned int cpumask[0];
1: };
1:
1: struct sched_group_capacity {
1: - atomic_t ref;
1: - long unsigned int capacity;
1: - long unsigned int min_capacity;
1: - long unsigned int max_capacity;
1: - long unsigned int next_update;
1: - int imbalance;
1: - long unsigned int cpumask[0];
1: + atomic_t ref;
1: + long unsigned int capacity;
1: + long unsigned int min_capacity;
1: + long unsigned int max_capacity;
1: + long unsigned int next_update;
1: + int imbalance;
1: + long unsigned int cpumask[0];
1: };
1:
1: struct wake_q_head {
1: - struct wake_q_node *first;
1: - struct wake_q_node **lastp;
1: + struct wake_q_node *first;
1: + struct wake_q_node **lastp;
1: };
1:
1: struct sched_attr {
1: - __u32 size;
1: - __u32 sched_policy;
1: - __u64 sched_flags;
1: - __s32 sched_nice;
1: - __u32 sched_priority;
1: - __u64 sched_runtime;
1: - __u64 sched_deadline;
1: - __u64 sched_period;
1: - __u32 sched_util_min;
1: - __u32 sched_util_max;
1: + __u32 size;
1: + __u32 sched_policy;
1: + __u64 sched_flags;
1: + __s32 sched_nice;
1: + __u32 sched_priority;
1: + __u64 sched_runtime;
1: + __u64 sched_deadline;
1: + __u64 sched_period;
1: + __u32 sched_util_min;
1: + __u32 sched_util_max;
1: };
1:
1: struct cpuidle_driver;
1:
1: struct cpuidle_state {
1: - char name[16];
1: - char desc[32];
1: - u64 exit_latency_ns;
1: - u64 target_residency_ns;
1: - unsigned int flags;
1: - unsigned int exit_latency;
1: - int power_usage;
1: - unsigned int target_residency;
1: - int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int);
1: - int (*enter_dead)(struct cpuidle_device *, int);
1: - void (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int);
1: + char name[16];
1: + char desc[32];
1: + u64 exit_latency_ns;
1: + u64 target_residency_ns;
1: + unsigned int flags;
1: + unsigned int exit_latency;
1: + int power_usage;
1: + unsigned int target_residency;
1: + int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int);
1: + int (*enter_dead)(struct cpuidle_device *, int);
1: + void (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int);
1: };
1:
1: struct cpuidle_driver {
1: - const char *name;
1: - struct module *owner;
1: - int refcnt;
1: - unsigned int bctimer: 1;
1: - struct cpuidle_state states[10];
1: - int state_count;
1: - int safe_state_index;
1: - struct cpumask *cpumask;
1: - const char *governor;
1: + const char *name;
1: + struct module *owner;
1: + int refcnt;
1: + unsigned int bctimer : 1;
1: + struct cpuidle_state states[10];
1: + int state_count;
1: + int safe_state_index;
1: + struct cpumask *cpumask;
1: + const char *governor;
1: };
1:
1: struct em_cap_state {
1: - long unsigned int frequency;
1: - long unsigned int power;
1: - long unsigned int cost;
1: + long unsigned int frequency;
1: + long unsigned int power;
1: + long unsigned int cost;
1: };
1:
1: struct em_perf_domain {
1: - struct em_cap_state *table;
1: - int nr_cap_states;
1: - long unsigned int cpus[0];
1: + struct em_cap_state *table;
1: + int nr_cap_states;
1: + long unsigned int cpus[0];
1: };
1:
1: enum {
1: - CFTYPE_ONLY_ON_ROOT = 1,
1: - CFTYPE_NOT_ON_ROOT = 2,
1: - CFTYPE_NS_DELEGATABLE = 4,
1: - CFTYPE_NO_PREFIX = 8,
1: - CFTYPE_WORLD_WRITABLE = 16,
1: - CFTYPE_DEBUG = 32,
1: - __CFTYPE_ONLY_ON_DFL = 65536,
1: - __CFTYPE_NOT_ON_DFL = 131072,
1: + CFTYPE_ONLY_ON_ROOT = 1,
1: + CFTYPE_NOT_ON_ROOT = 2,
1: + CFTYPE_NS_DELEGATABLE = 4,
1: + CFTYPE_NO_PREFIX = 8,
1: + CFTYPE_WORLD_WRITABLE = 16,
1: + CFTYPE_DEBUG = 32,
1: + __CFTYPE_ONLY_ON_DFL = 65536,
1: + __CFTYPE_NOT_ON_DFL = 131072,
1: };
1:
1: struct cpu_stop_done;
1:
1: struct cpu_stop_work {
1: - struct list_head list;
1: - cpu_stop_fn_t fn;
1: - void *arg;
1: - struct cpu_stop_done *done;
1: + struct list_head list;
1: + cpu_stop_fn_t fn;
1: + void *arg;
1: + struct cpu_stop_done *done;
1: };
1:
1: struct cpupri_vec {
1: - atomic_t count;
1: - cpumask_var_t mask;
1: + atomic_t count;
1: + cpumask_var_t mask;
1: };
1:
1: struct cpupri {
1: - struct cpupri_vec pri_to_cpu[102];
1: - int *cpu_to_pri;
1: + struct cpupri_vec pri_to_cpu[102];
1: + int *cpu_to_pri;
1: };
1:
1: struct cpudl_item {
1: - u64 dl;
1: - int cpu;
1: - int idx;
1: + u64 dl;
1: + int cpu;
1: + int idx;
1: };
1:
1: struct cpudl {
1: - raw_spinlock_t lock;
1: - int size;
1: - cpumask_var_t free_cpus;
1: - struct cpudl_item *elements;
1: + raw_spinlock_t lock;
1: + int size;
1: + cpumask_var_t free_cpus;
1: + struct cpudl_item *elements;
1: };
1:
1: struct rt_prio_array {
1: - long unsigned int bitmap[2];
1: - struct list_head queue[100];
1: + long unsigned int bitmap[2];
1: + struct list_head queue[100];
1: };
1:
1: struct rt_bandwidth {
1: - raw_spinlock_t rt_runtime_lock;
1: - ktime_t rt_period;
1: - u64 rt_runtime;
1: - struct hrtimer rt_period_timer;
1: - unsigned int rt_period_active;
1: + raw_spinlock_t rt_runtime_lock;
1: + ktime_t rt_period;
1: + u64 rt_runtime;
1: + struct hrtimer rt_period_timer;
1: + unsigned int rt_period_active;
1: };
1:
1: struct dl_bandwidth {
1: - raw_spinlock_t dl_runtime_lock;
1: - u64 dl_runtime;
1: - u64 dl_period;
1: + raw_spinlock_t dl_runtime_lock;
1: + u64 dl_runtime;
1: + u64 dl_period;
1: };
1:
1: struct dl_bw {
1: - raw_spinlock_t lock;
1: - u64 bw;
1: - u64 total_bw;
1: + raw_spinlock_t lock;
1: + u64 bw;
1: + u64 total_bw;
1: };
1:
1: typedef int (*tg_visitor)(struct task_group *, void *);
1:
1: struct rt_rq {
1: - struct rt_prio_array active;
1: - unsigned int rt_nr_running;
1: - unsigned int rr_nr_running;
1: - struct {
1: - int curr;
1: - int next;
1: - } highest_prio;
1: - long unsigned int rt_nr_migratory;
1: - long unsigned int rt_nr_total;
1: - int overloaded;
1: - struct plist_head pushable_tasks;
1: - int rt_queued;
1: - int rt_throttled;
1: - u64 rt_time;
1: - u64 rt_runtime;
1: - raw_spinlock_t rt_runtime_lock;
1: + struct rt_prio_array active;
1: + unsigned int rt_nr_running;
1: + unsigned int rr_nr_running;
1: + struct {
1: + int curr;
1: + int next;
1: + } highest_prio;
1: + long unsigned int rt_nr_migratory;
1: + long unsigned int rt_nr_total;
1: + int overloaded;
1: + struct plist_head pushable_tasks;
1: + int rt_queued;
1: + int rt_throttled;
1: + u64 rt_time;
1: + u64 rt_runtime;
1: + raw_spinlock_t rt_runtime_lock;
1: };
1:
1: struct dl_rq {
1: - struct rb_root_cached root;
1: - long unsigned int dl_nr_running;
1: - struct {
1: - u64 curr;
1: - u64 next;
1: - } earliest_dl;
1: - long unsigned int dl_nr_migratory;
1: - int overloaded;
1: - struct rb_root_cached pushable_dl_tasks_root;
1: - u64 running_bw;
1: - u64 this_bw;
1: - u64 extra_bw;
1: - u64 bw_ratio;
1: + struct rb_root_cached root;
1: + long unsigned int dl_nr_running;
1: + struct {
1: + u64 curr;
1: + u64 next;
1: + } earliest_dl;
1: + long unsigned int dl_nr_migratory;
1: + int overloaded;
1: + struct rb_root_cached pushable_dl_tasks_root;
1: + u64 running_bw;
1: + u64 this_bw;
1: + u64 extra_bw;
1: + u64 bw_ratio;
1: };
1:
1: struct root_domain;
1:
1: struct rq {
1: - raw_spinlock_t lock;
1: - unsigned int nr_running;
1: - long unsigned int last_load_update_tick;
1: - long unsigned int last_blocked_load_update_tick;
1: - unsigned int has_blocked_load;
1: - unsigned int nohz_tick_stopped;
1: - atomic_t nohz_flags;
1: - long unsigned int nr_load_updates;
1: - u64 nr_switches;
1: - long: 64;
1: - struct cfs_rq cfs;
1: - struct rt_rq rt;
1: - struct dl_rq dl;
1: - struct list_head leaf_cfs_rq_list;
1: - struct list_head *tmp_alone_branch;
1: - long unsigned int nr_uninterruptible;
1: - struct task_struct *curr;
1: - struct task_struct *idle;
1: - struct task_struct *stop;
1: - long unsigned int next_balance;
1: - struct mm_struct *prev_mm;
1: - unsigned int clock_update_flags;
1: - u64 clock;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - u64 clock_task;
1: - u64 clock_pelt;
1: - long unsigned int lost_idle_time;
1: - atomic_t nr_iowait;
1: - int membarrier_state;
1: - struct root_domain *rd;
1: - struct sched_domain *sd;
1: - long unsigned int cpu_capacity;
1: - long unsigned int cpu_capacity_orig;
1: - struct callback_head *balance_callback;
1: - unsigned char idle_balance;
1: - long unsigned int misfit_task_load;
1: - int active_balance;
1: - int push_cpu;
1: - struct cpu_stop_work active_balance_work;
1: - int cpu;
1: - int online;
1: - struct list_head cfs_tasks;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct sched_avg avg_rt;
1: - struct sched_avg avg_dl;
1: - u64 idle_stamp;
1: - u64 avg_idle;
1: - u64 max_idle_balance_cost;
1: - long unsigned int calc_load_update;
1: - long int calc_load_active;
1: - int hrtick_csd_pending;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - call_single_data_t hrtick_csd;
1: - struct hrtimer hrtick_timer;
1: - struct sched_info rq_sched_info;
1: - long long unsigned int rq_cpu_time;
1: - unsigned int yld_count;
1: - unsigned int sched_count;
1: - unsigned int sched_goidle;
1: - unsigned int ttwu_count;
1: - unsigned int ttwu_local;
1: - struct llist_head wake_list;
1: - struct cpuidle_state *idle_state;
1: - long: 64;
1: - long: 64;
1: + raw_spinlock_t lock;
1: + unsigned int nr_running;
1: + long unsigned int last_load_update_tick;
1: + long unsigned int last_blocked_load_update_tick;
1: + unsigned int has_blocked_load;
1: + unsigned int nohz_tick_stopped;
1: + atomic_t nohz_flags;
1: + long unsigned int nr_load_updates;
1: + u64 nr_switches;
1: + long : 64;
1: + struct cfs_rq cfs;
1: + struct rt_rq rt;
1: + struct dl_rq dl;
1: + struct list_head leaf_cfs_rq_list;
1: + struct list_head *tmp_alone_branch;
1: + long unsigned int nr_uninterruptible;
1: + struct task_struct *curr;
1: + struct task_struct *idle;
1: + struct task_struct *stop;
1: + long unsigned int next_balance;
1: + struct mm_struct *prev_mm;
1: + unsigned int clock_update_flags;
1: + u64 clock;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + u64 clock_task;
1: + u64 clock_pelt;
1: + long unsigned int lost_idle_time;
1: + atomic_t nr_iowait;
1: + int membarrier_state;
1: + struct root_domain *rd;
1: + struct sched_domain *sd;
1: + long unsigned int cpu_capacity;
1: + long unsigned int cpu_capacity_orig;
1: + struct callback_head *balance_callback;
1: + unsigned char idle_balance;
1: + long unsigned int misfit_task_load;
1: + int active_balance;
1: + int push_cpu;
1: + struct cpu_stop_work active_balance_work;
1: + int cpu;
1: + int online;
1: + struct list_head cfs_tasks;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct sched_avg avg_rt;
1: + struct sched_avg avg_dl;
1: + u64 idle_stamp;
1: + u64 avg_idle;
1: + u64 max_idle_balance_cost;
1: + long unsigned int calc_load_update;
1: + long int calc_load_active;
1: + int hrtick_csd_pending;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + call_single_data_t hrtick_csd;
1: + struct hrtimer hrtick_timer;
1: + struct sched_info rq_sched_info;
1: + long long unsigned int rq_cpu_time;
1: + unsigned int yld_count;
1: + unsigned int sched_count;
1: + unsigned int sched_goidle;
1: + unsigned int ttwu_count;
1: + unsigned int ttwu_local;
1: + struct llist_head wake_list;
1: + struct cpuidle_state *idle_state;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct perf_domain {
1: - struct em_perf_domain *em_pd;
1: - struct perf_domain *next;
1: - struct callback_head rcu;
1: + struct em_perf_domain *em_pd;
1: + struct perf_domain *next;
1: + struct callback_head rcu;
1: };
1:
1: struct root_domain {
1: - atomic_t refcount;
1: - atomic_t rto_count;
1: - struct callback_head rcu;
1: - cpumask_var_t span;
1: - cpumask_var_t online;
1: - int overload;
1: - int overutilized;
1: - cpumask_var_t dlo_mask;
1: - atomic_t dlo_count;
1: - struct dl_bw dl_bw;
1: - struct cpudl cpudl;
1: - struct irq_work rto_push_work;
1: - raw_spinlock_t rto_lock;
1: - int rto_loop;
1: - int rto_cpu;
1: - atomic_t rto_loop_next;
1: - atomic_t rto_loop_start;
1: - cpumask_var_t rto_mask;
1: - struct cpupri cpupri;
1: - long unsigned int max_cpu_capacity;
1: - struct perf_domain *pd;
1: + atomic_t refcount;
1: + atomic_t rto_count;
1: + struct callback_head rcu;
1: + cpumask_var_t span;
1: + cpumask_var_t online;
1: + int overload;
1: + int overutilized;
1: + cpumask_var_t dlo_mask;
1: + atomic_t dlo_count;
1: + struct dl_bw dl_bw;
1: + struct cpudl cpudl;
1: + struct irq_work rto_push_work;
1: + raw_spinlock_t rto_lock;
1: + int rto_loop;
1: + int rto_cpu;
1: + atomic_t rto_loop_next;
1: + atomic_t rto_loop_start;
1: + cpumask_var_t rto_mask;
1: + struct cpupri cpupri;
1: + long unsigned int max_cpu_capacity;
1: + struct perf_domain *pd;
1: };
1:
1: struct rq_flags {
1: - long unsigned int flags;
1: - struct pin_cookie cookie;
1: -};
1: -
1: -enum {
1: - __SCHED_FEAT_GENTLE_FAIR_SLEEPERS = 0,
1: - __SCHED_FEAT_START_DEBIT = 1,
1: - __SCHED_FEAT_NEXT_BUDDY = 2,
1: - __SCHED_FEAT_LAST_BUDDY = 3,
1: - __SCHED_FEAT_CACHE_HOT_BUDDY = 4,
1: - __SCHED_FEAT_WAKEUP_PREEMPTION = 5,
1: - __SCHED_FEAT_HRTICK = 6,
1: - __SCHED_FEAT_DOUBLE_TICK = 7,
1: - __SCHED_FEAT_NONTASK_CAPACITY = 8,
1: - __SCHED_FEAT_TTWU_QUEUE = 9,
1: - __SCHED_FEAT_SIS_AVG_CPU = 10,
1: - __SCHED_FEAT_SIS_PROP = 11,
1: - __SCHED_FEAT_WARN_DOUBLE_CLOCK = 12,
1: - __SCHED_FEAT_RT_PUSH_IPI = 13,
1: - __SCHED_FEAT_RT_RUNTIME_SHARE = 14,
1: - __SCHED_FEAT_LB_MIN = 15,
1: - __SCHED_FEAT_ATTACH_AGE_LOAD = 16,
1: - __SCHED_FEAT_WA_IDLE = 17,
1: - __SCHED_FEAT_WA_WEIGHT = 18,
1: - __SCHED_FEAT_WA_BIAS = 19,
1: - __SCHED_FEAT_UTIL_EST = 20,
1: - __SCHED_FEAT_UTIL_EST_FASTUP = 21,
1: - __SCHED_FEAT_NR = 22,
1: + long unsigned int flags;
1: + struct pin_cookie cookie;
1: +};
1: +
1: +enum {
1: + __SCHED_FEAT_GENTLE_FAIR_SLEEPERS = 0,
1: + __SCHED_FEAT_START_DEBIT = 1,
1: + __SCHED_FEAT_NEXT_BUDDY = 2,
1: + __SCHED_FEAT_LAST_BUDDY = 3,
1: + __SCHED_FEAT_CACHE_HOT_BUDDY = 4,
1: + __SCHED_FEAT_WAKEUP_PREEMPTION = 5,
1: + __SCHED_FEAT_HRTICK = 6,
1: + __SCHED_FEAT_DOUBLE_TICK = 7,
1: + __SCHED_FEAT_NONTASK_CAPACITY = 8,
1: + __SCHED_FEAT_TTWU_QUEUE = 9,
1: + __SCHED_FEAT_SIS_AVG_CPU = 10,
1: + __SCHED_FEAT_SIS_PROP = 11,
1: + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 12,
1: + __SCHED_FEAT_RT_PUSH_IPI = 13,
1: + __SCHED_FEAT_RT_RUNTIME_SHARE = 14,
1: + __SCHED_FEAT_LB_MIN = 15,
1: + __SCHED_FEAT_ATTACH_AGE_LOAD = 16,
1: + __SCHED_FEAT_WA_IDLE = 17,
1: + __SCHED_FEAT_WA_WEIGHT = 18,
1: + __SCHED_FEAT_WA_BIAS = 19,
1: + __SCHED_FEAT_UTIL_EST = 20,
1: + __SCHED_FEAT_UTIL_EST_FASTUP = 21,
1: + __SCHED_FEAT_NR = 22,
1: };
1:
1: struct trace_event_raw_sched_kthread_stop {
1: - struct trace_entry ent;
1: - char comm[16];
1: - pid_t pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_kthread_stop_ret {
1: - struct trace_entry ent;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_wakeup_template {
1: - struct trace_entry ent;
1: - char comm[16];
1: - pid_t pid;
1: - int prio;
1: - int success;
1: - int target_cpu;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int prio;
1: + int success;
1: + int target_cpu;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_switch {
1: - struct trace_entry ent;
1: - char prev_comm[16];
1: - pid_t prev_pid;
1: - int prev_prio;
1: - long int prev_state;
1: - char next_comm[16];
1: - pid_t next_pid;
1: - int next_prio;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char prev_comm[16];
1: + pid_t prev_pid;
1: + int prev_prio;
1: + long int prev_state;
1: + char next_comm[16];
1: + pid_t next_pid;
1: + int next_prio;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_migrate_task {
1: - struct trace_entry ent;
1: - char comm[16];
1: - pid_t pid;
1: - int prio;
1: - int orig_cpu;
1: - int dest_cpu;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int prio;
1: + int orig_cpu;
1: + int dest_cpu;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_process_template {
1: - struct trace_entry ent;
1: - char comm[16];
1: - pid_t pid;
1: - int prio;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int prio;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_process_wait {
1: - struct trace_entry ent;
1: - char comm[16];
1: - pid_t pid;
1: - int prio;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int prio;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_process_fork {
1: - struct trace_entry ent;
1: - char parent_comm[16];
1: - pid_t parent_pid;
1: - char child_comm[16];
1: - pid_t child_pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char parent_comm[16];
1: + pid_t parent_pid;
1: + char child_comm[16];
1: + pid_t child_pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_process_exec {
1: - struct trace_entry ent;
1: - u32 __data_loc_filename;
1: - pid_t pid;
1: - pid_t old_pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_filename;
1: + pid_t pid;
1: + pid_t old_pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_stat_template {
1: - struct trace_entry ent;
1: - char comm[16];
1: - pid_t pid;
1: - u64 delay;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + u64 delay;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_stat_runtime {
1: - struct trace_entry ent;
1: - char comm[16];
1: - pid_t pid;
1: - u64 runtime;
1: - u64 vruntime;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + u64 runtime;
1: + u64 vruntime;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_pi_setprio {
1: - struct trace_entry ent;
1: - char comm[16];
1: - pid_t pid;
1: - int oldprio;
1: - int newprio;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + pid_t pid;
1: + int oldprio;
1: + int newprio;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_move_task_template {
1: - struct trace_entry ent;
1: - pid_t pid;
1: - pid_t tgid;
1: - pid_t ngid;
1: - int src_cpu;
1: - int src_nid;
1: - int dst_cpu;
1: - int dst_nid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + pid_t pid;
1: + pid_t tgid;
1: + pid_t ngid;
1: + int src_cpu;
1: + int src_nid;
1: + int dst_cpu;
1: + int dst_nid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_swap_numa {
1: - struct trace_entry ent;
1: - pid_t src_pid;
1: - pid_t src_tgid;
1: - pid_t src_ngid;
1: - int src_cpu;
1: - int src_nid;
1: - pid_t dst_pid;
1: - pid_t dst_tgid;
1: - pid_t dst_ngid;
1: - int dst_cpu;
1: - int dst_nid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + pid_t src_pid;
1: + pid_t src_tgid;
1: + pid_t src_ngid;
1: + int src_cpu;
1: + int src_nid;
1: + pid_t dst_pid;
1: + pid_t dst_tgid;
1: + pid_t dst_ngid;
1: + int dst_cpu;
1: + int dst_nid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sched_wake_idle_without_ipi {
1: - struct trace_entry ent;
1: - int cpu;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int cpu;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_sched_kthread_stop {};
1: @@ -24904,7 +25067,7 @@ struct trace_event_data_offsets_sched_process_wait {};
1: struct trace_event_data_offsets_sched_process_fork {};
1:
1: struct trace_event_data_offsets_sched_process_exec {
1: - u32 filename;
1: + u32 filename;
1: };
1:
1: struct trace_event_data_offsets_sched_stat_template {};
1: @@ -24920,1291 +25083,1289 @@ struct trace_event_data_offsets_sched_swap_numa {};
1: struct trace_event_data_offsets_sched_wake_idle_without_ipi {};
1:
1: struct migration_arg {
1: - struct task_struct *task;
1: - int dest_cpu;
1: + struct task_struct *task;
1: + int dest_cpu;
1: };
1:
1: enum {
1: - cpuset = 0,
1: - possible = 1,
1: - fail = 2,
1: + cpuset = 0,
1: + possible = 1,
1: + fail = 2,
1: };
1:
1: enum tick_dep_bits {
1: - TICK_DEP_BIT_POSIX_TIMER = 0,
1: - TICK_DEP_BIT_PERF_EVENTS = 1,
1: - TICK_DEP_BIT_SCHED = 2,
1: - TICK_DEP_BIT_CLOCK_UNSTABLE = 3,
1: - TICK_DEP_BIT_RCU = 4,
1: + TICK_DEP_BIT_POSIX_TIMER = 0,
1: + TICK_DEP_BIT_PERF_EVENTS = 1,
1: + TICK_DEP_BIT_SCHED = 2,
1: + TICK_DEP_BIT_CLOCK_UNSTABLE = 3,
1: + TICK_DEP_BIT_RCU = 4,
1: };
1:
1: struct sched_clock_data {
1: - u64 tick_raw;
1: - u64 tick_gtod;
1: - u64 clock;
1: + u64 tick_raw;
1: + u64 tick_gtod;
1: + u64 clock;
1: };
1:
1: struct idle_timer {
1: - struct hrtimer timer;
1: - int done;
1: + struct hrtimer timer;
1: + int done;
1: };
1:
1: enum sched_tunable_scaling {
1: - SCHED_TUNABLESCALING_NONE = 0,
1: - SCHED_TUNABLESCALING_LOG = 1,
1: - SCHED_TUNABLESCALING_LINEAR = 2,
1: - SCHED_TUNABLESCALING_END = 3,
1: + SCHED_TUNABLESCALING_NONE = 0,
1: + SCHED_TUNABLESCALING_LOG = 1,
1: + SCHED_TUNABLESCALING_LINEAR = 2,
1: + SCHED_TUNABLESCALING_END = 3,
1: };
1:
1: enum schedutil_type {
1: - FREQUENCY_UTIL = 0,
1: - ENERGY_UTIL = 1,
1: + FREQUENCY_UTIL = 0,
1: + ENERGY_UTIL = 1,
1: };
1:
1: enum fbq_type {
1: - regular = 0,
1: - remote = 1,
1: - all = 2,
1: + regular = 0,
1: + remote = 1,
1: + all = 2,
1: };
1:
1: enum group_type {
1: - group_has_spare = 0,
1: - group_fully_busy = 1,
1: - group_misfit_task = 2,
1: - group_asym_packing = 3,
1: - group_imbalanced = 4,
1: - group_overloaded = 5,
1: + group_has_spare = 0,
1: + group_fully_busy = 1,
1: + group_misfit_task = 2,
1: + group_asym_packing = 3,
1: + group_imbalanced = 4,
1: + group_overloaded = 5,
1: };
1:
1: enum migration_type {
1: - migrate_load = 0,
1: - migrate_util = 1,
1: - migrate_task = 2,
1: - migrate_misfit = 3,
1: + migrate_load = 0,
1: + migrate_util = 1,
1: + migrate_task = 2,
1: + migrate_misfit = 3,
1: };
1:
1: struct lb_env {
1: - struct sched_domain *sd;
1: - struct rq *src_rq;
1: - int src_cpu;
1: - int dst_cpu;
1: - struct rq *dst_rq;
1: - struct cpumask *dst_grpmask;
1: - int new_dst_cpu;
1: - enum cpu_idle_type idle;
1: - long int imbalance;
1: - struct cpumask *cpus;
1: - unsigned int flags;
1: - unsigned int loop;
1: - unsigned int loop_break;
1: - unsigned int loop_max;
1: - enum fbq_type fbq_type;
1: - enum migration_type migration_type;
1: - struct list_head tasks;
1: + struct sched_domain *sd;
1: + struct rq *src_rq;
1: + int src_cpu;
1: + int dst_cpu;
1: + struct rq *dst_rq;
1: + struct cpumask *dst_grpmask;
1: + int new_dst_cpu;
1: + enum cpu_idle_type idle;
1: + long int imbalance;
1: + struct cpumask *cpus;
1: + unsigned int flags;
1: + unsigned int loop;
1: + unsigned int loop_break;
1: + unsigned int loop_max;
1: + enum fbq_type fbq_type;
1: + enum migration_type migration_type;
1: + struct list_head tasks;
1: };
1:
1: struct sg_lb_stats {
1: - long unsigned int avg_load;
1: - long unsigned int group_load;
1: - long unsigned int group_capacity;
1: - long unsigned int group_util;
1: - unsigned int sum_nr_running;
1: - unsigned int sum_h_nr_running;
1: - unsigned int idle_cpus;
1: - unsigned int group_weight;
1: - enum group_type group_type;
1: - unsigned int group_asym_packing;
1: - long unsigned int group_misfit_task_load;
1: + long unsigned int avg_load;
1: + long unsigned int group_load;
1: + long unsigned int group_capacity;
1: + long unsigned int group_util;
1: + unsigned int sum_nr_running;
1: + unsigned int sum_h_nr_running;
1: + unsigned int idle_cpus;
1: + unsigned int group_weight;
1: + enum group_type group_type;
1: + unsigned int group_asym_packing;
1: + long unsigned int group_misfit_task_load;
1: };
1:
1: struct sd_lb_stats {
1: - struct sched_group *busiest;
1: - struct sched_group *local;
1: - long unsigned int total_load;
1: - long unsigned int total_capacity;
1: - long unsigned int avg_load;
1: - unsigned int prefer_sibling;
1: - struct sg_lb_stats busiest_stat;
1: - struct sg_lb_stats local_stat;
1: + struct sched_group *busiest;
1: + struct sched_group *local;
1: + long unsigned int total_load;
1: + long unsigned int total_capacity;
1: + long unsigned int avg_load;
1: + unsigned int prefer_sibling;
1: + struct sg_lb_stats busiest_stat;
1: + struct sg_lb_stats local_stat;
1: };
1:
1: typedef struct rt_rq *rt_rq_iter_t;
1:
1: struct wait_bit_queue_entry {
1: - struct wait_bit_key key;
1: - struct wait_queue_entry wq_entry;
1: + struct wait_bit_key key;
1: + struct wait_queue_entry wq_entry;
1: };
1:
1: struct swait_queue_head {
1: - raw_spinlock_t lock;
1: - struct list_head task_list;
1: + raw_spinlock_t lock;
1: + struct list_head task_list;
1: };
1:
1: struct swait_queue {
1: - struct task_struct *task;
1: - struct list_head task_list;
1: + struct task_struct *task;
1: + struct list_head task_list;
1: };
1:
1: enum numa_topology_type {
1: - NUMA_DIRECT = 0,
1: - NUMA_GLUELESS_MESH = 1,
1: - NUMA_BACKPLANE = 2,
1: + NUMA_DIRECT = 0,
1: + NUMA_GLUELESS_MESH = 1,
1: + NUMA_BACKPLANE = 2,
1: };
1:
1: struct s_data {
1: - struct sched_domain **sd;
1: - struct root_domain *rd;
1: + struct sched_domain **sd;
1: + struct root_domain *rd;
1: };
1:
1: enum s_alloc {
1: - sa_rootdomain = 0,
1: - sa_sd = 1,
1: - sa_sd_storage = 2,
1: - sa_none = 3,
1: + sa_rootdomain = 0,
1: + sa_sd = 1,
1: + sa_sd_storage = 2,
1: + sa_none = 3,
1: };
1:
1: enum cpuacct_stat_index {
1: - CPUACCT_STAT_USER = 0,
1: - CPUACCT_STAT_SYSTEM = 1,
1: - CPUACCT_STAT_NSTATS = 2,
1: + CPUACCT_STAT_USER = 0,
1: + CPUACCT_STAT_SYSTEM = 1,
1: + CPUACCT_STAT_NSTATS = 2,
1: };
1:
1: struct cpuacct_usage {
1: - u64 usages[2];
1: + u64 usages[2];
1: };
1:
1: struct cpuacct {
1: - struct cgroup_subsys_state css;
1: - struct cpuacct_usage *cpuusage;
1: - struct kernel_cpustat *cpustat;
1: + struct cgroup_subsys_state css;
1: + struct cpuacct_usage *cpuusage;
1: + struct kernel_cpustat *cpustat;
1: };
1:
1: enum {
1: - MEMBARRIER_FLAG_SYNC_CORE = 1,
1: + MEMBARRIER_FLAG_SYNC_CORE = 1,
1: };
1:
1: enum membarrier_cmd {
1: - MEMBARRIER_CMD_QUERY = 0,
1: - MEMBARRIER_CMD_GLOBAL = 1,
1: - MEMBARRIER_CMD_GLOBAL_EXPEDITED = 2,
1: - MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED = 4,
1: - MEMBARRIER_CMD_PRIVATE_EXPEDITED = 8,
1: - MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = 16,
1: - MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = 32,
1: - MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = 64,
1: - MEMBARRIER_CMD_SHARED = 1,
1: + MEMBARRIER_CMD_QUERY = 0,
1: + MEMBARRIER_CMD_GLOBAL = 1,
1: + MEMBARRIER_CMD_GLOBAL_EXPEDITED = 2,
1: + MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED = 4,
1: + MEMBARRIER_CMD_PRIVATE_EXPEDITED = 8,
1: + MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = 16,
1: + MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = 32,
1: + MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = 64,
1: + MEMBARRIER_CMD_SHARED = 1,
1: };
1:
1: struct ww_acquire_ctx;
1:
1: struct mutex_waiter {
1: - struct list_head list;
1: - struct task_struct *task;
1: - struct ww_acquire_ctx *ww_ctx;
1: + struct list_head list;
1: + struct task_struct *task;
1: + struct ww_acquire_ctx *ww_ctx;
1: };
1:
1: struct ww_acquire_ctx {
1: - struct task_struct *task;
1: - long unsigned int stamp;
1: - unsigned int acquired;
1: - short unsigned int wounded;
1: - short unsigned int is_wait_die;
1: + struct task_struct *task;
1: + long unsigned int stamp;
1: + unsigned int acquired;
1: + short unsigned int wounded;
1: + short unsigned int is_wait_die;
1: };
1:
1: enum mutex_trylock_recursive_enum {
1: - MUTEX_TRYLOCK_FAILED = 0,
1: - MUTEX_TRYLOCK_SUCCESS = 1,
1: - MUTEX_TRYLOCK_RECURSIVE = 2,
1: + MUTEX_TRYLOCK_FAILED = 0,
1: + MUTEX_TRYLOCK_SUCCESS = 1,
1: + MUTEX_TRYLOCK_RECURSIVE = 2,
1: };
1:
1: struct ww_mutex {
1: - struct mutex base;
1: - struct ww_acquire_ctx *ctx;
1: + struct mutex base;
1: + struct ww_acquire_ctx *ctx;
1: };
1:
1: struct semaphore {
1: - raw_spinlock_t lock;
1: - unsigned int count;
1: - struct list_head wait_list;
1: + raw_spinlock_t lock;
1: + unsigned int count;
1: + struct list_head wait_list;
1: };
1:
1: struct semaphore_waiter {
1: - struct list_head list;
1: - struct task_struct *task;
1: - bool up;
1: + struct list_head list;
1: + struct task_struct *task;
1: + bool up;
1: };
1:
1: enum rwsem_waiter_type {
1: - RWSEM_WAITING_FOR_WRITE = 0,
1: - RWSEM_WAITING_FOR_READ = 1,
1: + RWSEM_WAITING_FOR_WRITE = 0,
1: + RWSEM_WAITING_FOR_READ = 1,
1: };
1:
1: struct rwsem_waiter {
1: - struct list_head list;
1: - struct task_struct *task;
1: - enum rwsem_waiter_type type;
1: - long unsigned int timeout;
1: - long unsigned int last_rowner;
1: + struct list_head list;
1: + struct task_struct *task;
1: + enum rwsem_waiter_type type;
1: + long unsigned int timeout;
1: + long unsigned int last_rowner;
1: };
1:
1: enum rwsem_wake_type {
1: - RWSEM_WAKE_ANY = 0,
1: - RWSEM_WAKE_READERS = 1,
1: - RWSEM_WAKE_READ_OWNED = 2,
1: + RWSEM_WAKE_ANY = 0,
1: + RWSEM_WAKE_READERS = 1,
1: + RWSEM_WAKE_READ_OWNED = 2,
1: };
1:
1: enum writer_wait_state {
1: - WRITER_NOT_FIRST = 0,
1: - WRITER_FIRST = 1,
1: - WRITER_HANDOFF = 2,
1: + WRITER_NOT_FIRST = 0,
1: + WRITER_FIRST = 1,
1: + WRITER_HANDOFF = 2,
1: };
1:
1: enum owner_state {
1: - OWNER_NULL = 1,
1: - OWNER_WRITER = 2,
1: - OWNER_READER = 4,
1: - OWNER_NONSPINNABLE = 8,
1: + OWNER_NULL = 1,
1: + OWNER_WRITER = 2,
1: + OWNER_READER = 4,
1: + OWNER_NONSPINNABLE = 8,
1: };
1:
1: struct optimistic_spin_node {
1: - struct optimistic_spin_node *next;
1: - struct optimistic_spin_node *prev;
1: - int locked;
1: - int cpu;
1: + struct optimistic_spin_node *next;
1: + struct optimistic_spin_node *prev;
1: + int locked;
1: + int cpu;
1: };
1:
1: struct mcs_spinlock {
1: - struct mcs_spinlock *next;
1: - int locked;
1: - int count;
1: + struct mcs_spinlock *next;
1: + int locked;
1: + int count;
1: };
1:
1: struct qnode {
1: - struct mcs_spinlock mcs;
1: + struct mcs_spinlock mcs;
1: };
1:
1: struct hrtimer_sleeper {
1: - struct hrtimer timer;
1: - struct task_struct *task;
1: + struct hrtimer timer;
1: + struct task_struct *task;
1: };
1:
1: struct rt_mutex;
1:
1: struct rt_mutex_waiter {
1: - struct rb_node tree_entry;
1: - struct rb_node pi_tree_entry;
1: - struct task_struct *task;
1: - struct rt_mutex *lock;
1: - int prio;
1: - u64 deadline;
1: + struct rb_node tree_entry;
1: + struct rb_node pi_tree_entry;
1: + struct task_struct *task;
1: + struct rt_mutex *lock;
1: + int prio;
1: + u64 deadline;
1: };
1:
1: struct rt_mutex {
1: - raw_spinlock_t wait_lock;
1: - struct rb_root_cached waiters;
1: - struct task_struct *owner;
1: + raw_spinlock_t wait_lock;
1: + struct rb_root_cached waiters;
1: + struct task_struct *owner;
1: };
1:
1: enum rtmutex_chainwalk {
1: - RT_MUTEX_MIN_CHAINWALK = 0,
1: - RT_MUTEX_FULL_CHAINWALK = 1,
1: + RT_MUTEX_MIN_CHAINWALK = 0,
1: + RT_MUTEX_FULL_CHAINWALK = 1,
1: };
1:
1: enum pm_qos_req_action {
1: - PM_QOS_ADD_REQ = 0,
1: - PM_QOS_UPDATE_REQ = 1,
1: - PM_QOS_REMOVE_REQ = 2,
1: + PM_QOS_ADD_REQ = 0,
1: + PM_QOS_UPDATE_REQ = 1,
1: + PM_QOS_REMOVE_REQ = 2,
1: };
1:
1: struct miscdevice {
1: - int minor;
1: - const char *name;
1: - const struct file_operations *fops;
1: - struct list_head list;
1: - struct device *parent;
1: - struct device *this_device;
1: - const struct attribute_group **groups;
1: - const char *nodename;
1: - umode_t mode;
1: + int minor;
1: + const char *name;
1: + const struct file_operations *fops;
1: + struct list_head list;
1: + struct device *parent;
1: + struct device *this_device;
1: + const struct attribute_group **groups;
1: + const char *nodename;
1: + umode_t mode;
1: };
1:
1: struct pm_qos_object {
1: - struct pm_qos_constraints *constraints;
1: - struct miscdevice pm_qos_power_miscdev;
1: - char *name;
1: + struct pm_qos_constraints *constraints;
1: + struct miscdevice pm_qos_power_miscdev;
1: + char *name;
1: };
1:
1: typedef int suspend_state_t;
1:
1: enum {
1: - TEST_NONE = 0,
1: - TEST_CORE = 1,
1: - TEST_CPUS = 2,
1: - TEST_PLATFORM = 3,
1: - TEST_DEVICES = 4,
1: - TEST_FREEZER = 5,
1: - __TEST_AFTER_LAST = 6,
1: + TEST_NONE = 0,
1: + TEST_CORE = 1,
1: + TEST_CPUS = 2,
1: + TEST_PLATFORM = 3,
1: + TEST_DEVICES = 4,
1: + TEST_FREEZER = 5,
1: + __TEST_AFTER_LAST = 6,
1: };
1:
1: struct pm_vt_switch {
1: - struct list_head head;
1: - struct device *dev;
1: - bool required;
1: + struct list_head head;
1: + struct device *dev;
1: + bool required;
1: };
1:
1: struct platform_suspend_ops {
1: - int (*valid)(suspend_state_t);
1: - int (*begin)(suspend_state_t);
1: - int (*prepare)();
1: - int (*prepare_late)();
1: - int (*enter)(suspend_state_t);
1: - void (*wake)();
1: - void (*finish)();
1: - bool (*suspend_again)();
1: - void (*end)();
1: - void (*recover)();
1: + int (*valid)(suspend_state_t);
1: + int (*begin)(suspend_state_t);
1: + int (*prepare)();
1: + int (*prepare_late)();
1: + int (*enter)(suspend_state_t);
1: + void (*wake)();
1: + void (*finish)();
1: + bool (*suspend_again)();
1: + void (*end)();
1: + void (*recover)();
1: };
1:
1: struct platform_s2idle_ops {
1: - int (*begin)();
1: - int (*prepare)();
1: - int (*prepare_late)();
1: - void (*wake)();
1: - void (*restore_early)();
1: - void (*restore)();
1: - void (*end)();
1: + int (*begin)();
1: + int (*prepare)();
1: + int (*prepare_late)();
1: + void (*wake)();
1: + void (*restore_early)();
1: + void (*restore)();
1: + void (*end)();
1: };
1:
1: struct platform_hibernation_ops {
1: - int (*begin)(pm_message_t);
1: - void (*end)();
1: - int (*pre_snapshot)();
1: - void (*finish)();
1: - int (*prepare)();
1: - int (*enter)();
1: - void (*leave)();
1: - int (*pre_restore)();
1: - void (*restore_cleanup)();
1: - void (*recover)();
1: + int (*begin)(pm_message_t);
1: + void (*end)();
1: + int (*pre_snapshot)();
1: + void (*finish)();
1: + int (*prepare)();
1: + int (*enter)();
1: + void (*leave)();
1: + int (*pre_restore)();
1: + void (*restore_cleanup)();
1: + void (*recover)();
1: };
1:
1: enum {
1: - HIBERNATION_INVALID = 0,
1: - HIBERNATION_PLATFORM = 1,
1: - HIBERNATION_SHUTDOWN = 2,
1: - HIBERNATION_REBOOT = 3,
1: - HIBERNATION_SUSPEND = 4,
1: - HIBERNATION_TEST_RESUME = 5,
1: - __HIBERNATION_AFTER_LAST = 6,
1: + HIBERNATION_INVALID = 0,
1: + HIBERNATION_PLATFORM = 1,
1: + HIBERNATION_SHUTDOWN = 2,
1: + HIBERNATION_REBOOT = 3,
1: + HIBERNATION_SUSPEND = 4,
1: + HIBERNATION_TEST_RESUME = 5,
1: + __HIBERNATION_AFTER_LAST = 6,
1: };
1:
1: struct pbe {
1: - void *address;
1: - void *orig_address;
1: - struct pbe *next;
1: + void *address;
1: + void *orig_address;
1: + struct pbe *next;
1: };
1:
1: struct swsusp_info {
1: - struct new_utsname uts;
1: - u32 version_code;
1: - long unsigned int num_physpages;
1: - int cpus;
1: - long unsigned int image_pages;
1: - long unsigned int pages;
1: - long unsigned int size;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct new_utsname uts;
1: + u32 version_code;
1: + long unsigned int num_physpages;
1: + int cpus;
1: + long unsigned int image_pages;
1: + long unsigned int pages;
1: + long unsigned int size;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct snapshot_handle {
1: - unsigned int cur;
1: - void *buffer;
1: - int sync_read;
1: + unsigned int cur;
1: + void *buffer;
1: + int sync_read;
1: };
1:
1: struct linked_page {
1: - struct linked_page *next;
1: - char data[4088];
1: + struct linked_page *next;
1: + char data[4088];
1: };
1:
1: struct chain_allocator {
1: - struct linked_page *chain;
1: - unsigned int used_space;
1: - gfp_t gfp_mask;
1: - int safe_needed;
1: + struct linked_page *chain;
1: + unsigned int used_space;
1: + gfp_t gfp_mask;
1: + int safe_needed;
1: };
1:
1: struct rtree_node {
1: - struct list_head list;
1: - long unsigned int *data;
1: + struct list_head list;
1: + long unsigned int *data;
1: };
1:
1: struct mem_zone_bm_rtree {
1: - struct list_head list;
1: - struct list_head nodes;
1: - struct list_head leaves;
1: - long unsigned int start_pfn;
1: - long unsigned int end_pfn;
1: - struct rtree_node *rtree;
1: - int levels;
1: - unsigned int blocks;
1: + struct list_head list;
1: + struct list_head nodes;
1: + struct list_head leaves;
1: + long unsigned int start_pfn;
1: + long unsigned int end_pfn;
1: + struct rtree_node *rtree;
1: + int levels;
1: + unsigned int blocks;
1: };
1:
1: struct bm_position {
1: - struct mem_zone_bm_rtree *zone;
1: - struct rtree_node *node;
1: - long unsigned int node_pfn;
1: - int node_bit;
1: + struct mem_zone_bm_rtree *zone;
1: + struct rtree_node *node;
1: + long unsigned int node_pfn;
1: + int node_bit;
1: };
1:
1: struct memory_bitmap {
1: - struct list_head zones;
1: - struct linked_page *p_list;
1: - struct bm_position cur;
1: + struct list_head zones;
1: + struct linked_page *p_list;
1: + struct bm_position cur;
1: };
1:
1: struct mem_extent {
1: - struct list_head hook;
1: - long unsigned int start;
1: - long unsigned int end;
1: + struct list_head hook;
1: + long unsigned int start;
1: + long unsigned int end;
1: };
1:
1: struct nosave_region {
1: - struct list_head list;
1: - long unsigned int start_pfn;
1: - long unsigned int end_pfn;
1: + struct list_head list;
1: + long unsigned int start_pfn;
1: + long unsigned int end_pfn;
1: };
1:
1: -typedef struct {
1: - long unsigned int val;
1: -} swp_entry_t;
1: -
1: -enum {
1: - BIO_NO_PAGE_REF = 0,
1: - BIO_CLONED = 1,
1: - BIO_BOUNCED = 2,
1: - BIO_USER_MAPPED = 3,
1: - BIO_NULL_MAPPED = 4,
1: - BIO_WORKINGSET = 5,
1: - BIO_QUIET = 6,
1: - BIO_CHAIN = 7,
1: - BIO_REFFED = 8,
1: - BIO_THROTTLED = 9,
1: - BIO_TRACE_COMPLETION = 10,
1: - BIO_QUEUE_ENTERED = 11,
1: - BIO_TRACKED = 12,
1: - BIO_FLAG_LAST = 13,
1: +typedef struct { long unsigned int val; } swp_entry_t;
1: +
1: +enum {
1: + BIO_NO_PAGE_REF = 0,
1: + BIO_CLONED = 1,
1: + BIO_BOUNCED = 2,
1: + BIO_USER_MAPPED = 3,
1: + BIO_NULL_MAPPED = 4,
1: + BIO_WORKINGSET = 5,
1: + BIO_QUIET = 6,
1: + BIO_CHAIN = 7,
1: + BIO_REFFED = 8,
1: + BIO_THROTTLED = 9,
1: + BIO_TRACE_COMPLETION = 10,
1: + BIO_QUEUE_ENTERED = 11,
1: + BIO_TRACKED = 12,
1: + BIO_FLAG_LAST = 13,
1: };
1:
1: enum req_opf {
1: - REQ_OP_READ = 0,
1: - REQ_OP_WRITE = 1,
1: - REQ_OP_FLUSH = 2,
1: - REQ_OP_DISCARD = 3,
1: - REQ_OP_SECURE_ERASE = 5,
1: - REQ_OP_ZONE_RESET = 6,
1: - REQ_OP_WRITE_SAME = 7,
1: - REQ_OP_ZONE_RESET_ALL = 8,
1: - REQ_OP_WRITE_ZEROES = 9,
1: - REQ_OP_ZONE_OPEN = 10,
1: - REQ_OP_ZONE_CLOSE = 11,
1: - REQ_OP_ZONE_FINISH = 12,
1: - REQ_OP_SCSI_IN = 32,
1: - REQ_OP_SCSI_OUT = 33,
1: - REQ_OP_DRV_IN = 34,
1: - REQ_OP_DRV_OUT = 35,
1: - REQ_OP_LAST = 36,
1: + REQ_OP_READ = 0,
1: + REQ_OP_WRITE = 1,
1: + REQ_OP_FLUSH = 2,
1: + REQ_OP_DISCARD = 3,
1: + REQ_OP_SECURE_ERASE = 5,
1: + REQ_OP_ZONE_RESET = 6,
1: + REQ_OP_WRITE_SAME = 7,
1: + REQ_OP_ZONE_RESET_ALL = 8,
1: + REQ_OP_WRITE_ZEROES = 9,
1: + REQ_OP_ZONE_OPEN = 10,
1: + REQ_OP_ZONE_CLOSE = 11,
1: + REQ_OP_ZONE_FINISH = 12,
1: + REQ_OP_SCSI_IN = 32,
1: + REQ_OP_SCSI_OUT = 33,
1: + REQ_OP_DRV_IN = 34,
1: + REQ_OP_DRV_OUT = 35,
1: + REQ_OP_LAST = 36,
1: };
1:
1: enum req_flag_bits {
1: - __REQ_FAILFAST_DEV = 8,
1: - __REQ_FAILFAST_TRANSPORT = 9,
1: - __REQ_FAILFAST_DRIVER = 10,
1: - __REQ_SYNC = 11,
1: - __REQ_META = 12,
1: - __REQ_PRIO = 13,
1: - __REQ_NOMERGE = 14,
1: - __REQ_IDLE = 15,
1: - __REQ_INTEGRITY = 16,
1: - __REQ_FUA = 17,
1: - __REQ_PREFLUSH = 18,
1: - __REQ_RAHEAD = 19,
1: - __REQ_BACKGROUND = 20,
1: - __REQ_NOWAIT = 21,
1: - __REQ_NOWAIT_INLINE = 22,
1: - __REQ_CGROUP_PUNT = 23,
1: - __REQ_NOUNMAP = 24,
1: - __REQ_HIPRI = 25,
1: - __REQ_DRV = 26,
1: - __REQ_SWAP = 27,
1: - __REQ_NR_BITS = 28,
1: + __REQ_FAILFAST_DEV = 8,
1: + __REQ_FAILFAST_TRANSPORT = 9,
1: + __REQ_FAILFAST_DRIVER = 10,
1: + __REQ_SYNC = 11,
1: + __REQ_META = 12,
1: + __REQ_PRIO = 13,
1: + __REQ_NOMERGE = 14,
1: + __REQ_IDLE = 15,
1: + __REQ_INTEGRITY = 16,
1: + __REQ_FUA = 17,
1: + __REQ_PREFLUSH = 18,
1: + __REQ_RAHEAD = 19,
1: + __REQ_BACKGROUND = 20,
1: + __REQ_NOWAIT = 21,
1: + __REQ_NOWAIT_INLINE = 22,
1: + __REQ_CGROUP_PUNT = 23,
1: + __REQ_NOUNMAP = 24,
1: + __REQ_HIPRI = 25,
1: + __REQ_DRV = 26,
1: + __REQ_SWAP = 27,
1: + __REQ_NR_BITS = 28,
1: };
1:
1: struct swap_map_page {
1: - sector_t entries[511];
1: - sector_t next_swap;
1: + sector_t entries[511];
1: + sector_t next_swap;
1: };
1:
1: struct swap_map_page_list {
1: - struct swap_map_page *map;
1: - struct swap_map_page_list *next;
1: + struct swap_map_page *map;
1: + struct swap_map_page_list *next;
1: };
1:
1: struct swap_map_handle {
1: - struct swap_map_page *cur;
1: - struct swap_map_page_list *maps;
1: - sector_t cur_swap;
1: - sector_t first_sector;
1: - unsigned int k;
1: - long unsigned int reqd_free_pages;
1: - u32 crc32;
1: + struct swap_map_page *cur;
1: + struct swap_map_page_list *maps;
1: + sector_t cur_swap;
1: + sector_t first_sector;
1: + unsigned int k;
1: + long unsigned int reqd_free_pages;
1: + u32 crc32;
1: };
1:
1: struct swsusp_header {
1: - char reserved[4060];
1: - u32 crc32;
1: - sector_t image;
1: - unsigned int flags;
1: - char orig_sig[10];
1: - char sig[10];
1: + char reserved[4060];
1: + u32 crc32;
1: + sector_t image;
1: + unsigned int flags;
1: + char orig_sig[10];
1: + char sig[10];
1: };
1:
1: struct swsusp_extent {
1: - struct rb_node node;
1: - long unsigned int start;
1: - long unsigned int end;
1: + struct rb_node node;
1: + long unsigned int start;
1: + long unsigned int end;
1: };
1:
1: struct hib_bio_batch {
1: - atomic_t count;
1: - wait_queue_head_t wait;
1: - blk_status_t error;
1: + atomic_t count;
1: + wait_queue_head_t wait;
1: + blk_status_t error;
1: };
1:
1: struct crc_data {
1: - struct task_struct *thr;
1: - atomic_t ready;
1: - atomic_t stop;
1: - unsigned int run_threads;
1: - wait_queue_head_t go;
1: - wait_queue_head_t done;
1: - u32 *crc32;
1: - size_t *unc_len[3];
1: - unsigned char *unc[3];
1: + struct task_struct *thr;
1: + atomic_t ready;
1: + atomic_t stop;
1: + unsigned int run_threads;
1: + wait_queue_head_t go;
1: + wait_queue_head_t done;
1: + u32 *crc32;
1: + size_t *unc_len[3];
1: + unsigned char *unc[3];
1: };
1:
1: struct cmp_data {
1: - struct task_struct *thr;
1: - atomic_t ready;
1: - atomic_t stop;
1: - int ret;
1: - wait_queue_head_t go;
1: - wait_queue_head_t done;
1: - size_t unc_len;
1: - size_t cmp_len;
1: - unsigned char unc[131072];
1: - unsigned char cmp[143360];
1: - unsigned char wrk[16384];
1: + struct task_struct *thr;
1: + atomic_t ready;
1: + atomic_t stop;
1: + int ret;
1: + wait_queue_head_t go;
1: + wait_queue_head_t done;
1: + size_t unc_len;
1: + size_t cmp_len;
1: + unsigned char unc[131072];
1: + unsigned char cmp[143360];
1: + unsigned char wrk[16384];
1: };
1:
1: struct dec_data {
1: - struct task_struct *thr;
1: - atomic_t ready;
1: - atomic_t stop;
1: - int ret;
1: - wait_queue_head_t go;
1: - wait_queue_head_t done;
1: - size_t unc_len;
1: - size_t cmp_len;
1: - unsigned char unc[131072];
1: - unsigned char cmp[143360];
1: + struct task_struct *thr;
1: + atomic_t ready;
1: + atomic_t stop;
1: + int ret;
1: + wait_queue_head_t go;
1: + wait_queue_head_t done;
1: + size_t unc_len;
1: + size_t cmp_len;
1: + unsigned char unc[131072];
1: + unsigned char cmp[143360];
1: };
1:
1: typedef s64 compat_loff_t;
1:
1: struct resume_swap_area {
1: - __kernel_loff_t offset;
1: - __u32 dev;
1: + __kernel_loff_t offset;
1: + __u32 dev;
1: } __attribute__((packed));
1:
1: struct snapshot_data {
1: - struct snapshot_handle handle;
1: - int swap;
1: - int mode;
1: - bool frozen;
1: - bool ready;
1: - bool platform_support;
1: - bool free_bitmaps;
1: + struct snapshot_handle handle;
1: + int swap;
1: + int mode;
1: + bool frozen;
1: + bool ready;
1: + bool platform_support;
1: + bool free_bitmaps;
1: };
1:
1: struct compat_resume_swap_area {
1: - compat_loff_t offset;
1: - u32 dev;
1: + compat_loff_t offset;
1: + u32 dev;
1: } __attribute__((packed));
1:
1: struct sysrq_key_op {
1: - void (*handler)(int);
1: - char *help_msg;
1: - char *action_msg;
1: - int enable_mask;
1: + void (*handler)(int);
1: + char *help_msg;
1: + char *action_msg;
1: + int enable_mask;
1: };
1:
1: struct kmsg_dumper {
1: - struct list_head list;
1: - void (*dump)(struct kmsg_dumper *, enum kmsg_dump_reason);
1: - enum kmsg_dump_reason max_reason;
1: - bool active;
1: - bool registered;
1: - u32 cur_idx;
1: - u32 next_idx;
1: - u64 cur_seq;
1: - u64 next_seq;
1: + struct list_head list;
1: + void (*dump)(struct kmsg_dumper *, enum kmsg_dump_reason);
1: + enum kmsg_dump_reason max_reason;
1: + bool active;
1: + bool registered;
1: + u32 cur_idx;
1: + u32 next_idx;
1: + u64 cur_seq;
1: + u64 next_seq;
1: };
1:
1: struct trace_event_raw_console {
1: - struct trace_entry ent;
1: - u32 __data_loc_msg;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_console {
1: - u32 msg;
1: + u32 msg;
1: };
1:
1: struct console_cmdline {
1: - char name[16];
1: - int index;
1: - char *options;
1: + char name[16];
1: + int index;
1: + char *options;
1: };
1:
1: enum devkmsg_log_bits {
1: - __DEVKMSG_LOG_BIT_ON = 0,
1: - __DEVKMSG_LOG_BIT_OFF = 1,
1: - __DEVKMSG_LOG_BIT_LOCK = 2,
1: + __DEVKMSG_LOG_BIT_ON = 0,
1: + __DEVKMSG_LOG_BIT_OFF = 1,
1: + __DEVKMSG_LOG_BIT_LOCK = 2,
1: };
1:
1: enum devkmsg_log_masks {
1: - DEVKMSG_LOG_MASK_ON = 1,
1: - DEVKMSG_LOG_MASK_OFF = 2,
1: - DEVKMSG_LOG_MASK_LOCK = 4,
1: + DEVKMSG_LOG_MASK_ON = 1,
1: + DEVKMSG_LOG_MASK_OFF = 2,
1: + DEVKMSG_LOG_MASK_LOCK = 4,
1: };
1:
1: enum con_msg_format_flags {
1: - MSG_FORMAT_DEFAULT = 0,
1: - MSG_FORMAT_SYSLOG = 1,
1: + MSG_FORMAT_DEFAULT = 0,
1: + MSG_FORMAT_SYSLOG = 1,
1: };
1:
1: enum log_flags {
1: - LOG_NEWLINE = 2,
1: - LOG_CONT = 8,
1: + LOG_NEWLINE = 2,
1: + LOG_CONT = 8,
1: };
1:
1: struct printk_log {
1: - u64 ts_nsec;
1: - u16 len;
1: - u16 text_len;
1: - u16 dict_len;
1: - u8 facility;
1: - u8 flags: 5;
1: - u8 level: 3;
1: + u64 ts_nsec;
1: + u16 len;
1: + u16 text_len;
1: + u16 dict_len;
1: + u8 facility;
1: + u8 flags : 5;
1: + u8 level : 3;
1: };
1:
1: struct devkmsg_user {
1: - u64 seq;
1: - u32 idx;
1: - struct ratelimit_state rs;
1: - struct mutex lock;
1: - char buf[8192];
1: + u64 seq;
1: + u32 idx;
1: + struct ratelimit_state rs;
1: + struct mutex lock;
1: + char buf[8192];
1: };
1:
1: struct cont {
1: - char buf[992];
1: - size_t len;
1: - u32 caller_id;
1: - u64 ts_nsec;
1: - u8 level;
1: - u8 facility;
1: - enum log_flags flags;
1: + char buf[992];
1: + size_t len;
1: + u32 caller_id;
1: + u64 ts_nsec;
1: + u8 level;
1: + u8 facility;
1: + enum log_flags flags;
1: };
1:
1: struct printk_safe_seq_buf {
1: - atomic_t len;
1: - atomic_t message_lost;
1: - struct irq_work work;
1: - unsigned char buffer[8160];
1: + atomic_t len;
1: + atomic_t message_lost;
1: + struct irq_work work;
1: + unsigned char buffer[8160];
1: };
1:
1: enum {
1: - IRQS_AUTODETECT = 1,
1: - IRQS_SPURIOUS_DISABLED = 2,
1: - IRQS_POLL_INPROGRESS = 8,
1: - IRQS_ONESHOT = 32,
1: - IRQS_REPLAY = 64,
1: - IRQS_WAITING = 128,
1: - IRQS_PENDING = 512,
1: - IRQS_SUSPENDED = 2048,
1: - IRQS_TIMINGS = 4096,
1: - IRQS_NMI = 8192,
1: + IRQS_AUTODETECT = 1,
1: + IRQS_SPURIOUS_DISABLED = 2,
1: + IRQS_POLL_INPROGRESS = 8,
1: + IRQS_ONESHOT = 32,
1: + IRQS_REPLAY = 64,
1: + IRQS_WAITING = 128,
1: + IRQS_PENDING = 512,
1: + IRQS_SUSPENDED = 2048,
1: + IRQS_TIMINGS = 4096,
1: + IRQS_NMI = 8192,
1: };
1:
1: enum {
1: - _IRQ_DEFAULT_INIT_FLAGS = 0,
1: - _IRQ_PER_CPU = 512,
1: - _IRQ_LEVEL = 256,
1: - _IRQ_NOPROBE = 1024,
1: - _IRQ_NOREQUEST = 2048,
1: - _IRQ_NOTHREAD = 65536,
1: - _IRQ_NOAUTOEN = 4096,
1: - _IRQ_MOVE_PCNTXT = 16384,
1: - _IRQ_NO_BALANCING = 8192,
1: - _IRQ_NESTED_THREAD = 32768,
1: - _IRQ_PER_CPU_DEVID = 131072,
1: - _IRQ_IS_POLLED = 262144,
1: - _IRQ_DISABLE_UNLAZY = 524288,
1: - _IRQF_MODIFY_MASK = 1048335,
1: + _IRQ_DEFAULT_INIT_FLAGS = 0,
1: + _IRQ_PER_CPU = 512,
1: + _IRQ_LEVEL = 256,
1: + _IRQ_NOPROBE = 1024,
1: + _IRQ_NOREQUEST = 2048,
1: + _IRQ_NOTHREAD = 65536,
1: + _IRQ_NOAUTOEN = 4096,
1: + _IRQ_MOVE_PCNTXT = 16384,
1: + _IRQ_NO_BALANCING = 8192,
1: + _IRQ_NESTED_THREAD = 32768,
1: + _IRQ_PER_CPU_DEVID = 131072,
1: + _IRQ_IS_POLLED = 262144,
1: + _IRQ_DISABLE_UNLAZY = 524288,
1: + _IRQF_MODIFY_MASK = 1048335,
1: };
1:
1: enum {
1: - IRQTF_RUNTHREAD = 0,
1: - IRQTF_WARNED = 1,
1: - IRQTF_AFFINITY = 2,
1: - IRQTF_FORCED_THREAD = 3,
1: + IRQTF_RUNTHREAD = 0,
1: + IRQTF_WARNED = 1,
1: + IRQTF_AFFINITY = 2,
1: + IRQTF_FORCED_THREAD = 3,
1: };
1:
1: enum {
1: - IRQC_IS_HARDIRQ = 0,
1: - IRQC_IS_NESTED = 1,
1: + IRQC_IS_HARDIRQ = 0,
1: + IRQC_IS_NESTED = 1,
1: };
1:
1: enum {
1: - IRQ_STARTUP_NORMAL = 0,
1: - IRQ_STARTUP_MANAGED = 1,
1: - IRQ_STARTUP_ABORT = 2,
1: + IRQ_STARTUP_NORMAL = 0,
1: + IRQ_STARTUP_MANAGED = 1,
1: + IRQ_STARTUP_ABORT = 2,
1: };
1:
1: struct irq_devres {
1: - unsigned int irq;
1: - void *dev_id;
1: + unsigned int irq;
1: + void *dev_id;
1: };
1:
1: struct irq_desc_devres {
1: - unsigned int from;
1: - unsigned int cnt;
1: + unsigned int from;
1: + unsigned int cnt;
1: };
1:
1: enum {
1: - IRQ_DOMAIN_FLAG_HIERARCHY = 1,
1: - IRQ_DOMAIN_NAME_ALLOCATED = 64,
1: - IRQ_DOMAIN_FLAG_IPI_PER_CPU = 4,
1: - IRQ_DOMAIN_FLAG_IPI_SINGLE = 8,
1: - IRQ_DOMAIN_FLAG_MSI = 16,
1: - IRQ_DOMAIN_FLAG_MSI_REMAP = 32,
1: - IRQ_DOMAIN_FLAG_NONCORE = 65536,
1: + IRQ_DOMAIN_FLAG_HIERARCHY = 1,
1: + IRQ_DOMAIN_NAME_ALLOCATED = 64,
1: + IRQ_DOMAIN_FLAG_IPI_PER_CPU = 4,
1: + IRQ_DOMAIN_FLAG_IPI_SINGLE = 8,
1: + IRQ_DOMAIN_FLAG_MSI = 16,
1: + IRQ_DOMAIN_FLAG_MSI_REMAP = 32,
1: + IRQ_DOMAIN_FLAG_NONCORE = 65536,
1: };
1:
1: typedef u64 acpi_size;
1:
1: struct acpi_buffer {
1: - acpi_size length;
1: - void *pointer;
1: + acpi_size length;
1: + void *pointer;
1: };
1:
1: struct acpi_hotplug_profile {
1: - struct kobject kobj;
1: - int (*scan_dependent)(struct acpi_device *);
1: - void (*notify_online)(struct acpi_device *);
1: - bool enabled: 1;
1: - bool demand_offline: 1;
1: + struct kobject kobj;
1: + int (*scan_dependent)(struct acpi_device *);
1: + void (*notify_online)(struct acpi_device *);
1: + bool enabled : 1;
1: + bool demand_offline : 1;
1: };
1:
1: struct acpi_device_status {
1: - u32 present: 1;
1: - u32 enabled: 1;
1: - u32 show_in_ui: 1;
1: - u32 functional: 1;
1: - u32 battery_present: 1;
1: - u32 reserved: 27;
1: + u32 present : 1;
1: + u32 enabled : 1;
1: + u32 show_in_ui : 1;
1: + u32 functional : 1;
1: + u32 battery_present : 1;
1: + u32 reserved : 27;
1: };
1:
1: struct acpi_device_flags {
1: - u32 dynamic_status: 1;
1: - u32 removable: 1;
1: - u32 ejectable: 1;
1: - u32 power_manageable: 1;
1: - u32 match_driver: 1;
1: - u32 initialized: 1;
1: - u32 visited: 1;
1: - u32 hotplug_notify: 1;
1: - u32 is_dock_station: 1;
1: - u32 of_compatible_ok: 1;
1: - u32 coherent_dma: 1;
1: - u32 cca_seen: 1;
1: - u32 enumeration_by_parent: 1;
1: - u32 reserved: 19;
1: + u32 dynamic_status : 1;
1: + u32 removable : 1;
1: + u32 ejectable : 1;
1: + u32 power_manageable : 1;
1: + u32 match_driver : 1;
1: + u32 initialized : 1;
1: + u32 visited : 1;
1: + u32 hotplug_notify : 1;
1: + u32 is_dock_station : 1;
1: + u32 of_compatible_ok : 1;
1: + u32 coherent_dma : 1;
1: + u32 cca_seen : 1;
1: + u32 enumeration_by_parent : 1;
1: + u32 reserved : 19;
1: };
1:
1: typedef char acpi_bus_id[8];
1:
1: struct acpi_pnp_type {
1: - u32 hardware_id: 1;
1: - u32 bus_address: 1;
1: - u32 platform_id: 1;
1: - u32 reserved: 29;
1: + u32 hardware_id : 1;
1: + u32 bus_address : 1;
1: + u32 platform_id : 1;
1: + u32 reserved : 29;
1: };
1:
1: typedef u64 acpi_bus_address;
1: @@ -26214,87 +26375,87 @@ typedef char acpi_device_name[40];
1: typedef char acpi_device_class[20];
1:
1: struct acpi_device_pnp {
1: - acpi_bus_id bus_id;
1: - struct acpi_pnp_type type;
1: - acpi_bus_address bus_address;
1: - char *unique_id;
1: - struct list_head ids;
1: - acpi_device_name device_name;
1: - acpi_device_class device_class;
1: - union acpi_object *str_obj;
1: + acpi_bus_id bus_id;
1: + struct acpi_pnp_type type;
1: + acpi_bus_address bus_address;
1: + char *unique_id;
1: + struct list_head ids;
1: + acpi_device_name device_name;
1: + acpi_device_class device_class;
1: + union acpi_object *str_obj;
1: };
1:
1: struct acpi_device_power_flags {
1: - u32 explicit_get: 1;
1: - u32 power_resources: 1;
1: - u32 inrush_current: 1;
1: - u32 power_removed: 1;
1: - u32 ignore_parent: 1;
1: - u32 dsw_present: 1;
1: - u32 reserved: 26;
1: + u32 explicit_get : 1;
1: + u32 power_resources : 1;
1: + u32 inrush_current : 1;
1: + u32 power_removed : 1;
1: + u32 ignore_parent : 1;
1: + u32 dsw_present : 1;
1: + u32 reserved : 26;
1: };
1:
1: struct acpi_device_power_state {
1: - struct {
1: - u8 valid: 1;
1: - u8 explicit_set: 1;
1: - u8 reserved: 6;
1: - } flags;
1: - int power;
1: - int latency;
1: - struct list_head resources;
1: + struct {
1: + u8 valid : 1;
1: + u8 explicit_set : 1;
1: + u8 reserved : 6;
1: + } flags;
1: + int power;
1: + int latency;
1: + struct list_head resources;
1: };
1:
1: struct acpi_device_power {
1: - int state;
1: - struct acpi_device_power_flags flags;
1: - struct acpi_device_power_state states[5];
1: + int state;
1: + struct acpi_device_power_flags flags;
1: + struct acpi_device_power_state states[5];
1: };
1:
1: struct acpi_device_wakeup_flags {
1: - u8 valid: 1;
1: - u8 notifier_present: 1;
1: + u8 valid : 1;
1: + u8 notifier_present : 1;
1: };
1:
1: struct acpi_device_wakeup_context {
1: - void (*func)(struct acpi_device_wakeup_context *);
1: - struct device *dev;
1: + void (*func)(struct acpi_device_wakeup_context *);
1: + struct device *dev;
1: };
1:
1: struct acpi_device_wakeup {
1: - acpi_handle gpe_device;
1: - u64 gpe_number;
1: - u64 sleep_state;
1: - struct list_head resources;
1: - struct acpi_device_wakeup_flags flags;
1: - struct acpi_device_wakeup_context context;
1: - struct wakeup_source *ws;
1: - int prepare_count;
1: - int enable_count;
1: + acpi_handle gpe_device;
1: + u64 gpe_number;
1: + u64 sleep_state;
1: + struct list_head resources;
1: + struct acpi_device_wakeup_flags flags;
1: + struct acpi_device_wakeup_context context;
1: + struct wakeup_source *ws;
1: + int prepare_count;
1: + int enable_count;
1: };
1:
1: struct acpi_device_perf_flags {
1: - u8 reserved: 8;
1: + u8 reserved : 8;
1: };
1:
1: struct acpi_device_perf_state;
1:
1: struct acpi_device_perf {
1: - int state;
1: - struct acpi_device_perf_flags flags;
1: - int state_count;
1: - struct acpi_device_perf_state *states;
1: + int state;
1: + struct acpi_device_perf_flags flags;
1: + int state_count;
1: + struct acpi_device_perf_state *states;
1: };
1:
1: struct acpi_device_dir {
1: - struct proc_dir_entry *entry;
1: + struct proc_dir_entry *entry;
1: };
1:
1: struct acpi_device_data {
1: - const union acpi_object *pointer;
1: - struct list_head properties;
1: - const union acpi_object *of_compatible;
1: - struct list_head subnodes;
1: + const union acpi_object *pointer;
1: + struct list_head properties;
1: + const union acpi_object *of_compatible;
1: + struct list_head subnodes;
1: };
1:
1: struct acpi_scan_handler;
1: @@ -26306,51 +26467,51 @@ struct acpi_driver;
1: struct acpi_gpio_mapping;
1:
1: struct acpi_device {
1: - int device_type;
1: - acpi_handle handle;
1: - struct fwnode_handle fwnode;
1: - struct acpi_device *parent;
1: - struct list_head children;
1: - struct list_head node;
1: - struct list_head wakeup_list;
1: - struct list_head del_list;
1: - struct acpi_device_status status;
1: - struct acpi_device_flags flags;
1: - struct acpi_device_pnp pnp;
1: - struct acpi_device_power power;
1: - struct acpi_device_wakeup wakeup;
1: - struct acpi_device_perf performance;
1: - struct acpi_device_dir dir;
1: - struct acpi_device_data data;
1: - struct acpi_scan_handler *handler;
1: - struct acpi_hotplug_context *hp;
1: - struct acpi_driver *driver;
1: - const struct acpi_gpio_mapping *driver_gpios;
1: - void *driver_data;
1: - struct device dev;
1: - unsigned int physical_node_count;
1: - unsigned int dep_unmet;
1: - struct list_head physical_node_list;
1: - struct mutex physical_node_lock;
1: - void (*remove)(struct acpi_device *);
1: + int device_type;
1: + acpi_handle handle;
1: + struct fwnode_handle fwnode;
1: + struct acpi_device *parent;
1: + struct list_head children;
1: + struct list_head node;
1: + struct list_head wakeup_list;
1: + struct list_head del_list;
1: + struct acpi_device_status status;
1: + struct acpi_device_flags flags;
1: + struct acpi_device_pnp pnp;
1: + struct acpi_device_power power;
1: + struct acpi_device_wakeup wakeup;
1: + struct acpi_device_perf performance;
1: + struct acpi_device_dir dir;
1: + struct acpi_device_data data;
1: + struct acpi_scan_handler *handler;
1: + struct acpi_hotplug_context *hp;
1: + struct acpi_driver *driver;
1: + const struct acpi_gpio_mapping *driver_gpios;
1: + void *driver_data;
1: + struct device dev;
1: + unsigned int physical_node_count;
1: + unsigned int dep_unmet;
1: + struct list_head physical_node_list;
1: + struct mutex physical_node_lock;
1: + void (*remove)(struct acpi_device *);
1: };
1:
1: struct acpi_scan_handler {
1: - const struct acpi_device_id *ids;
1: - struct list_head list_node;
1: - bool (*match)(const char *, const struct acpi_device_id **);
1: - int (*attach)(struct acpi_device *, const struct acpi_device_id *);
1: - void (*detach)(struct acpi_device *);
1: - void (*bind)(struct device *);
1: - void (*unbind)(struct device *);
1: - struct acpi_hotplug_profile hotplug;
1: + const struct acpi_device_id *ids;
1: + struct list_head list_node;
1: + bool (*match)(const char *, const struct acpi_device_id **);
1: + int (*attach)(struct acpi_device *, const struct acpi_device_id *);
1: + void (*detach)(struct acpi_device *);
1: + void (*bind)(struct device *);
1: + void (*unbind)(struct device *);
1: + struct acpi_hotplug_profile hotplug;
1: };
1:
1: struct acpi_hotplug_context {
1: - struct acpi_device *self;
1: - int (*notify)(struct acpi_device *, u32);
1: - void (*uevent)(struct acpi_device *, u32);
1: - void (*fixup)(struct acpi_device *);
1: + struct acpi_device *self;
1: + int (*notify)(struct acpi_device *, u32);
1: + void (*uevent)(struct acpi_device *, u32);
1: + void (*fixup)(struct acpi_device *);
1: };
1:
1: typedef int (*acpi_op_add)(struct acpi_device *);
1: @@ -26360,129 +26521,129 @@ typedef int (*acpi_op_remove)(struct acpi_device *);
1: typedef void (*acpi_op_notify)(struct acpi_device *, u32);
1:
1: struct acpi_device_ops {
1: - acpi_op_add add;
1: - acpi_op_remove remove;
1: - acpi_op_notify notify;
1: + acpi_op_add add;
1: + acpi_op_remove remove;
1: + acpi_op_notify notify;
1: };
1:
1: struct acpi_driver {
1: - char name[80];
1: - char class[80];
1: - const struct acpi_device_id *ids;
1: - unsigned int flags;
1: - struct acpi_device_ops ops;
1: - struct device_driver drv;
1: - struct module *owner;
1: + char name[80];
1: + char class[80];
1: + const struct acpi_device_id *ids;
1: + unsigned int flags;
1: + struct acpi_device_ops ops;
1: + struct device_driver drv;
1: + struct module *owner;
1: };
1:
1: struct acpi_device_perf_state {
1: - struct {
1: - u8 valid: 1;
1: - u8 reserved: 7;
1: - } flags;
1: - u8 power;
1: - u8 performance;
1: - int latency;
1: + struct {
1: + u8 valid : 1;
1: + u8 reserved : 7;
1: + } flags;
1: + u8 power;
1: + u8 performance;
1: + int latency;
1: };
1:
1: struct acpi_gpio_params;
1:
1: struct acpi_gpio_mapping {
1: - const char *name;
1: - const struct acpi_gpio_params *data;
1: - unsigned int size;
1: - unsigned int quirks;
1: + const char *name;
1: + const struct acpi_gpio_params *data;
1: + unsigned int size;
1: + unsigned int quirks;
1: };
1:
1: struct irqchip_fwid {
1: - struct fwnode_handle fwnode;
1: - unsigned int type;
1: - char *name;
1: - phys_addr_t *pa;
1: + struct fwnode_handle fwnode;
1: + unsigned int type;
1: + char *name;
1: + phys_addr_t *pa;
1: };
1:
1: enum {
1: - AFFINITY = 0,
1: - AFFINITY_LIST = 1,
1: - EFFECTIVE = 2,
1: - EFFECTIVE_LIST = 3,
1: + AFFINITY = 0,
1: + AFFINITY_LIST = 1,
1: + EFFECTIVE = 2,
1: + EFFECTIVE_LIST = 3,
1: };
1:
1: struct irq_affinity {
1: - unsigned int pre_vectors;
1: - unsigned int post_vectors;
1: - unsigned int nr_sets;
1: - unsigned int set_size[4];
1: - void (*calc_sets)(struct irq_affinity *, unsigned int);
1: - void *priv;
1: + unsigned int pre_vectors;
1: + unsigned int post_vectors;
1: + unsigned int nr_sets;
1: + unsigned int set_size[4];
1: + void (*calc_sets)(struct irq_affinity *, unsigned int);
1: + void *priv;
1: };
1:
1: struct node_vectors {
1: - unsigned int id;
1: - union {
1: - unsigned int nvectors;
1: - unsigned int ncpus;
1: - };
1: + unsigned int id;
1: + union {
1: + unsigned int nvectors;
1: + unsigned int ncpus;
1: + };
1: };
1:
1: struct cpumap {
1: - unsigned int available;
1: - unsigned int allocated;
1: - unsigned int managed;
1: - unsigned int managed_allocated;
1: - bool initialized;
1: - bool online;
1: - long unsigned int alloc_map[4];
1: - long unsigned int managed_map[4];
1: + unsigned int available;
1: + unsigned int allocated;
1: + unsigned int managed;
1: + unsigned int managed_allocated;
1: + bool initialized;
1: + bool online;
1: + long unsigned int alloc_map[4];
1: + long unsigned int managed_map[4];
1: };
1:
1: struct irq_matrix___2 {
1: - unsigned int matrix_bits;
1: - unsigned int alloc_start;
1: - unsigned int alloc_end;
1: - unsigned int alloc_size;
1: - unsigned int global_available;
1: - unsigned int global_reserved;
1: - unsigned int systembits_inalloc;
1: - unsigned int total_allocated;
1: - unsigned int online_maps;
1: - struct cpumap *maps;
1: - long unsigned int scratch_map[4];
1: - long unsigned int system_map[4];
1: + unsigned int matrix_bits;
1: + unsigned int alloc_start;
1: + unsigned int alloc_end;
1: + unsigned int alloc_size;
1: + unsigned int global_available;
1: + unsigned int global_reserved;
1: + unsigned int systembits_inalloc;
1: + unsigned int total_allocated;
1: + unsigned int online_maps;
1: + struct cpumap *maps;
1: + long unsigned int scratch_map[4];
1: + long unsigned int system_map[4];
1: };
1:
1: struct trace_event_raw_irq_matrix_global {
1: - struct trace_entry ent;
1: - unsigned int online_maps;
1: - unsigned int global_available;
1: - unsigned int global_reserved;
1: - unsigned int total_allocated;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int online_maps;
1: + unsigned int global_available;
1: + unsigned int global_reserved;
1: + unsigned int total_allocated;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_irq_matrix_global_update {
1: - struct trace_entry ent;
1: - int bit;
1: - unsigned int online_maps;
1: - unsigned int global_available;
1: - unsigned int global_reserved;
1: - unsigned int total_allocated;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int bit;
1: + unsigned int online_maps;
1: + unsigned int global_available;
1: + unsigned int global_reserved;
1: + unsigned int total_allocated;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_irq_matrix_cpu {
1: - struct trace_entry ent;
1: - int bit;
1: - unsigned int cpu;
1: - bool online;
1: - unsigned int available;
1: - unsigned int allocated;
1: - unsigned int managed;
1: - unsigned int online_maps;
1: - unsigned int global_available;
1: - unsigned int global_reserved;
1: - unsigned int total_allocated;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int bit;
1: + unsigned int cpu;
1: + bool online;
1: + unsigned int available;
1: + unsigned int allocated;
1: + unsigned int managed;
1: + unsigned int online_maps;
1: + unsigned int global_available;
1: + unsigned int global_reserved;
1: + unsigned int total_allocated;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_irq_matrix_global {};
1: @@ -26494,186 +26655,186 @@ struct trace_event_data_offsets_irq_matrix_cpu {};
1: typedef void (*call_rcu_func_t)(struct callback_head *, rcu_callback_t);
1:
1: struct rcu_synchronize {
1: - struct callback_head head;
1: - struct completion completion;
1: + struct callback_head head;
1: + struct completion completion;
1: };
1:
1: struct trace_event_raw_rcu_utilization {
1: - struct trace_entry ent;
1: - const char *s;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *s;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_grace_period {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long unsigned int gp_seq;
1: - const char *gpevent;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + const char *gpevent;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_future_grace_period {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long unsigned int gp_seq;
1: - long unsigned int gp_seq_req;
1: - u8 level;
1: - int grplo;
1: - int grphi;
1: - const char *gpevent;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + long unsigned int gp_seq_req;
1: + u8 level;
1: + int grplo;
1: + int grphi;
1: + const char *gpevent;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_grace_period_init {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long unsigned int gp_seq;
1: - u8 level;
1: - int grplo;
1: - int grphi;
1: - long unsigned int qsmask;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + u8 level;
1: + int grplo;
1: + int grphi;
1: + long unsigned int qsmask;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_exp_grace_period {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long unsigned int gpseq;
1: - const char *gpevent;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gpseq;
1: + const char *gpevent;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_exp_funnel_lock {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - u8 level;
1: - int grplo;
1: - int grphi;
1: - const char *gpevent;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + u8 level;
1: + int grplo;
1: + int grphi;
1: + const char *gpevent;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_preempt_task {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long unsigned int gp_seq;
1: - int pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + int pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_unlock_preempted_task {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long unsigned int gp_seq;
1: - int pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + int pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_quiescent_state_report {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long unsigned int gp_seq;
1: - long unsigned int mask;
1: - long unsigned int qsmask;
1: - u8 level;
1: - int grplo;
1: - int grphi;
1: - u8 gp_tasks;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + long unsigned int mask;
1: + long unsigned int qsmask;
1: + u8 level;
1: + int grplo;
1: + int grphi;
1: + u8 gp_tasks;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_fqs {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long unsigned int gp_seq;
1: - int cpu;
1: - const char *qsevent;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long unsigned int gp_seq;
1: + int cpu;
1: + const char *qsevent;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_dyntick {
1: - struct trace_entry ent;
1: - const char *polarity;
1: - long int oldnesting;
1: - long int newnesting;
1: - int dynticks;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *polarity;
1: + long int oldnesting;
1: + long int newnesting;
1: + int dynticks;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_callback {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - void *rhp;
1: - void *func;
1: - long int qlen_lazy;
1: - long int qlen;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + void *rhp;
1: + void *func;
1: + long int qlen_lazy;
1: + long int qlen;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_kfree_callback {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - void *rhp;
1: - long unsigned int offset;
1: - long int qlen_lazy;
1: - long int qlen;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + void *rhp;
1: + long unsigned int offset;
1: + long int qlen_lazy;
1: + long int qlen;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_batch_start {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - long int qlen_lazy;
1: - long int qlen;
1: - long int blimit;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + long int qlen_lazy;
1: + long int qlen;
1: + long int blimit;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_invoke_callback {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - void *rhp;
1: - void *func;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + void *rhp;
1: + void *func;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_invoke_kfree_callback {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - void *rhp;
1: - long unsigned int offset;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + void *rhp;
1: + long unsigned int offset;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_batch_end {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - int callbacks_invoked;
1: - char cb;
1: - char nr;
1: - char iit;
1: - char risk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + int callbacks_invoked;
1: + char cb;
1: + char nr;
1: + char iit;
1: + char risk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_torture_read {
1: - struct trace_entry ent;
1: - char rcutorturename[8];
1: - struct callback_head *rhp;
1: - long unsigned int secs;
1: - long unsigned int c_old;
1: - long unsigned int c;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char rcutorturename[8];
1: + struct callback_head *rhp;
1: + long unsigned int secs;
1: + long unsigned int c_old;
1: + long unsigned int c;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rcu_barrier {
1: - struct trace_entry ent;
1: - const char *rcuname;
1: - const char *s;
1: - int cpu;
1: - int cnt;
1: - long unsigned int done;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *rcuname;
1: + const char *s;
1: + int cpu;
1: + int cnt;
1: + long unsigned int done;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_rcu_utilization {};
1: @@ -26715,237 +26876,237 @@ struct trace_event_data_offsets_rcu_torture_read {};
1: struct trace_event_data_offsets_rcu_barrier {};
1:
1: enum {
1: - GP_IDLE = 0,
1: - GP_ENTER = 1,
1: - GP_PASSED = 2,
1: - GP_EXIT = 3,
1: - GP_REPLAY = 4,
1: + GP_IDLE = 0,
1: + GP_ENTER = 1,
1: + GP_PASSED = 2,
1: + GP_EXIT = 3,
1: + GP_REPLAY = 4,
1: };
1:
1: typedef long unsigned int ulong;
1:
1: struct rcu_cblist {
1: - struct callback_head *head;
1: - struct callback_head **tail;
1: - long int len;
1: - long int len_lazy;
1: + struct callback_head *head;
1: + struct callback_head **tail;
1: + long int len;
1: + long int len_lazy;
1: };
1:
1: enum rcutorture_type {
1: - RCU_FLAVOR = 0,
1: - RCU_TASKS_FLAVOR = 1,
1: - RCU_TRIVIAL_FLAVOR = 2,
1: - SRCU_FLAVOR = 3,
1: - INVALID_RCU_FLAVOR = 4,
1: + RCU_FLAVOR = 0,
1: + RCU_TASKS_FLAVOR = 1,
1: + RCU_TRIVIAL_FLAVOR = 2,
1: + SRCU_FLAVOR = 3,
1: + INVALID_RCU_FLAVOR = 4,
1: };
1:
1: typedef long unsigned int pao_T_____3;
1:
1: struct rcu_exp_work {
1: - long unsigned int rew_s;
1: - struct work_struct rew_work;
1: + long unsigned int rew_s;
1: + struct work_struct rew_work;
1: };
1:
1: struct rcu_node {
1: - raw_spinlock_t lock;
1: - long unsigned int gp_seq;
1: - long unsigned int gp_seq_needed;
1: - long unsigned int completedqs;
1: - long unsigned int qsmask;
1: - long unsigned int rcu_gp_init_mask;
1: - long unsigned int qsmaskinit;
1: - long unsigned int qsmaskinitnext;
1: - long unsigned int expmask;
1: - long unsigned int expmaskinit;
1: - long unsigned int expmaskinitnext;
1: - long unsigned int ffmask;
1: - long unsigned int grpmask;
1: - int grplo;
1: - int grphi;
1: - u8 grpnum;
1: - u8 level;
1: - bool wait_blkd_tasks;
1: - struct rcu_node *parent;
1: - struct list_head blkd_tasks;
1: - struct list_head *gp_tasks;
1: - struct list_head *exp_tasks;
1: - struct list_head *boost_tasks;
1: - struct rt_mutex boost_mtx;
1: - long unsigned int boost_time;
1: - struct task_struct *boost_kthread_task;
1: - unsigned int boost_kthread_status;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - raw_spinlock_t fqslock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - spinlock_t exp_lock;
1: - long unsigned int exp_seq_rq;
1: - wait_queue_head_t exp_wq[4];
1: - struct rcu_exp_work rew;
1: - bool exp_need_flush;
1: - long: 56;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + raw_spinlock_t lock;
1: + long unsigned int gp_seq;
1: + long unsigned int gp_seq_needed;
1: + long unsigned int completedqs;
1: + long unsigned int qsmask;
1: + long unsigned int rcu_gp_init_mask;
1: + long unsigned int qsmaskinit;
1: + long unsigned int qsmaskinitnext;
1: + long unsigned int expmask;
1: + long unsigned int expmaskinit;
1: + long unsigned int expmaskinitnext;
1: + long unsigned int ffmask;
1: + long unsigned int grpmask;
1: + int grplo;
1: + int grphi;
1: + u8 grpnum;
1: + u8 level;
1: + bool wait_blkd_tasks;
1: + struct rcu_node *parent;
1: + struct list_head blkd_tasks;
1: + struct list_head *gp_tasks;
1: + struct list_head *exp_tasks;
1: + struct list_head *boost_tasks;
1: + struct rt_mutex boost_mtx;
1: + long unsigned int boost_time;
1: + struct task_struct *boost_kthread_task;
1: + unsigned int boost_kthread_status;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + raw_spinlock_t fqslock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + spinlock_t exp_lock;
1: + long unsigned int exp_seq_rq;
1: + wait_queue_head_t exp_wq[4];
1: + struct rcu_exp_work rew;
1: + bool exp_need_flush;
1: + long : 56;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: union rcu_noqs {
1: - struct {
1: - u8 norm;
1: - u8 exp;
1: - } b;
1: - u16 s;
1: + struct {
1: + u8 norm;
1: + u8 exp;
1: + } b;
1: + u16 s;
1: };
1:
1: struct rcu_data {
1: - long unsigned int gp_seq;
1: - long unsigned int gp_seq_needed;
1: - union rcu_noqs cpu_no_qs;
1: - bool core_needs_qs;
1: - bool beenonline;
1: - bool gpwrap;
1: - bool exp_deferred_qs;
1: - struct rcu_node *mynode;
1: - long unsigned int grpmask;
1: - long unsigned int ticks_this_gp;
1: - struct irq_work defer_qs_iw;
1: - bool defer_qs_iw_pending;
1: - struct rcu_segcblist cblist;
1: - long int qlen_last_fqs_check;
1: - long unsigned int n_force_qs_snap;
1: - long int blimit;
1: - int dynticks_snap;
1: - long int dynticks_nesting;
1: - long int dynticks_nmi_nesting;
1: - atomic_t dynticks;
1: - bool rcu_need_heavy_qs;
1: - bool rcu_urgent_qs;
1: - bool rcu_forced_tick;
1: - struct callback_head barrier_head;
1: - int exp_dynticks_snap;
1: - struct task_struct *rcu_cpu_kthread_task;
1: - unsigned int rcu_cpu_kthread_status;
1: - char rcu_cpu_has_work;
1: - unsigned int softirq_snap;
1: - struct irq_work rcu_iw;
1: - bool rcu_iw_pending;
1: - long unsigned int rcu_iw_gp_seq;
1: - long unsigned int rcu_ofl_gp_seq;
1: - short int rcu_ofl_gp_flags;
1: - long unsigned int rcu_onl_gp_seq;
1: - short int rcu_onl_gp_flags;
1: - long unsigned int last_fqs_resched;
1: - int cpu;
1: + long unsigned int gp_seq;
1: + long unsigned int gp_seq_needed;
1: + union rcu_noqs cpu_no_qs;
1: + bool core_needs_qs;
1: + bool beenonline;
1: + bool gpwrap;
1: + bool exp_deferred_qs;
1: + struct rcu_node *mynode;
1: + long unsigned int grpmask;
1: + long unsigned int ticks_this_gp;
1: + struct irq_work defer_qs_iw;
1: + bool defer_qs_iw_pending;
1: + struct rcu_segcblist cblist;
1: + long int qlen_last_fqs_check;
1: + long unsigned int n_force_qs_snap;
1: + long int blimit;
1: + int dynticks_snap;
1: + long int dynticks_nesting;
1: + long int dynticks_nmi_nesting;
1: + atomic_t dynticks;
1: + bool rcu_need_heavy_qs;
1: + bool rcu_urgent_qs;
1: + bool rcu_forced_tick;
1: + struct callback_head barrier_head;
1: + int exp_dynticks_snap;
1: + struct task_struct *rcu_cpu_kthread_task;
1: + unsigned int rcu_cpu_kthread_status;
1: + char rcu_cpu_has_work;
1: + unsigned int softirq_snap;
1: + struct irq_work rcu_iw;
1: + bool rcu_iw_pending;
1: + long unsigned int rcu_iw_gp_seq;
1: + long unsigned int rcu_ofl_gp_seq;
1: + short int rcu_ofl_gp_flags;
1: + long unsigned int rcu_onl_gp_seq;
1: + short int rcu_onl_gp_flags;
1: + long unsigned int last_fqs_resched;
1: + int cpu;
1: };
1:
1: struct rcu_state {
1: - struct rcu_node node[5];
1: - struct rcu_node *level[3];
1: - int ncpus;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - u8 boost;
1: - long unsigned int gp_seq;
1: - struct task_struct *gp_kthread;
1: - struct swait_queue_head gp_wq;
1: - short int gp_flags;
1: - short int gp_state;
1: - long unsigned int gp_wake_time;
1: - long unsigned int gp_wake_seq;
1: - struct mutex barrier_mutex;
1: - atomic_t barrier_cpu_count;
1: - struct completion barrier_completion;
1: - long unsigned int barrier_sequence;
1: - struct mutex exp_mutex;
1: - struct mutex exp_wake_mutex;
1: - long unsigned int expedited_sequence;
1: - atomic_t expedited_need_qs;
1: - struct swait_queue_head expedited_wq;
1: - int ncpus_snap;
1: - long unsigned int jiffies_force_qs;
1: - long unsigned int jiffies_kick_kthreads;
1: - long unsigned int n_force_qs;
1: - long unsigned int gp_start;
1: - long unsigned int gp_end;
1: - long unsigned int gp_activity;
1: - long unsigned int gp_req_activity;
1: - long unsigned int jiffies_stall;
1: - long unsigned int jiffies_resched;
1: - long unsigned int n_force_qs_gpstart;
1: - long unsigned int gp_max;
1: - const char *name;
1: - char abbr;
1: - long: 56;
1: - long: 64;
1: - long: 64;
1: - raw_spinlock_t ofl_lock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct rcu_node node[5];
1: + struct rcu_node *level[3];
1: + int ncpus;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + u8 boost;
1: + long unsigned int gp_seq;
1: + struct task_struct *gp_kthread;
1: + struct swait_queue_head gp_wq;
1: + short int gp_flags;
1: + short int gp_state;
1: + long unsigned int gp_wake_time;
1: + long unsigned int gp_wake_seq;
1: + struct mutex barrier_mutex;
1: + atomic_t barrier_cpu_count;
1: + struct completion barrier_completion;
1: + long unsigned int barrier_sequence;
1: + struct mutex exp_mutex;
1: + struct mutex exp_wake_mutex;
1: + long unsigned int expedited_sequence;
1: + atomic_t expedited_need_qs;
1: + struct swait_queue_head expedited_wq;
1: + int ncpus_snap;
1: + long unsigned int jiffies_force_qs;
1: + long unsigned int jiffies_kick_kthreads;
1: + long unsigned int n_force_qs;
1: + long unsigned int gp_start;
1: + long unsigned int gp_end;
1: + long unsigned int gp_activity;
1: + long unsigned int gp_req_activity;
1: + long unsigned int jiffies_stall;
1: + long unsigned int jiffies_resched;
1: + long unsigned int n_force_qs_gpstart;
1: + long unsigned int gp_max;
1: + const char *name;
1: + char abbr;
1: + long : 56;
1: + long : 64;
1: + long : 64;
1: + raw_spinlock_t ofl_lock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: typedef bool pto_T_____7;
1:
1: struct dma_devres {
1: - size_t size;
1: - void *vaddr;
1: - dma_addr_t dma_handle;
1: - long unsigned int attrs;
1: + size_t size;
1: + void *vaddr;
1: + dma_addr_t dma_handle;
1: + long unsigned int attrs;
1: };
1:
1: enum dma_sync_target {
1: - SYNC_FOR_CPU = 0,
1: - SYNC_FOR_DEVICE = 1,
1: + SYNC_FOR_CPU = 0,
1: + SYNC_FOR_DEVICE = 1,
1: };
1:
1: struct trace_event_raw_swiotlb_bounced {
1: - struct trace_entry ent;
1: - u32 __data_loc_dev_name;
1: - u64 dma_mask;
1: - dma_addr_t dev_addr;
1: - size_t size;
1: - enum swiotlb_force swiotlb_force;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_dev_name;
1: + u64 dma_mask;
1: + dma_addr_t dev_addr;
1: + size_t size;
1: + enum swiotlb_force swiotlb_force;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_swiotlb_bounced {
1: - u32 dev_name;
1: + u32 dev_name;
1: };
1:
1: enum profile_type {
1: - PROFILE_TASK_EXIT = 0,
1: - PROFILE_MUNMAP = 1,
1: + PROFILE_TASK_EXIT = 0,
1: + PROFILE_MUNMAP = 1,
1: };
1:
1: struct profile_hit {
1: - u32 pc;
1: - u32 hits;
1: + u32 pc;
1: + u32 hits;
1: };
1:
1: struct stacktrace_cookie {
1: - long unsigned int *store;
1: - unsigned int size;
1: - unsigned int skip;
1: - unsigned int len;
1: + long unsigned int *store;
1: + unsigned int size;
1: + unsigned int skip;
1: + unsigned int len;
1: };
1:
1: typedef __kernel_long_t __kernel_suseconds_t;
1: @@ -26957,179 +27118,179 @@ typedef __kernel_suseconds_t suseconds_t;
1: typedef __u64 timeu64_t;
1:
1: struct __kernel_itimerspec {
1: - struct __kernel_timespec it_interval;
1: - struct __kernel_timespec it_value;
1: + struct __kernel_timespec it_interval;
1: + struct __kernel_timespec it_value;
1: };
1:
1: struct timespec {
1: - __kernel_old_time_t tv_sec;
1: - long int tv_nsec;
1: + __kernel_old_time_t tv_sec;
1: + long int tv_nsec;
1: };
1:
1: struct timeval {
1: - __kernel_old_time_t tv_sec;
1: - __kernel_suseconds_t tv_usec;
1: + __kernel_old_time_t tv_sec;
1: + __kernel_suseconds_t tv_usec;
1: };
1:
1: struct timezone {
1: - int tz_minuteswest;
1: - int tz_dsttime;
1: + int tz_minuteswest;
1: + int tz_dsttime;
1: };
1:
1: struct itimerspec64 {
1: - struct timespec64 it_interval;
1: - struct timespec64 it_value;
1: + struct timespec64 it_interval;
1: + struct timespec64 it_value;
1: };
1:
1: struct old_itimerspec32 {
1: - struct old_timespec32 it_interval;
1: - struct old_timespec32 it_value;
1: + struct old_timespec32 it_interval;
1: + struct old_timespec32 it_value;
1: };
1:
1: struct old_timex32 {
1: - u32 modes;
1: - s32 offset;
1: - s32 freq;
1: - s32 maxerror;
1: - s32 esterror;
1: - s32 status;
1: - s32 constant;
1: - s32 precision;
1: - s32 tolerance;
1: - struct old_timeval32 time;
1: - s32 tick;
1: - s32 ppsfreq;
1: - s32 jitter;
1: - s32 shift;
1: - s32 stabil;
1: - s32 jitcnt;
1: - s32 calcnt;
1: - s32 errcnt;
1: - s32 stbcnt;
1: - s32 tai;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + u32 modes;
1: + s32 offset;
1: + s32 freq;
1: + s32 maxerror;
1: + s32 esterror;
1: + s32 status;
1: + s32 constant;
1: + s32 precision;
1: + s32 tolerance;
1: + struct old_timeval32 time;
1: + s32 tick;
1: + s32 ppsfreq;
1: + s32 jitter;
1: + s32 shift;
1: + s32 stabil;
1: + s32 jitcnt;
1: + s32 calcnt;
1: + s32 errcnt;
1: + s32 stbcnt;
1: + s32 tai;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct __kernel_timex_timeval {
1: - __kernel_time64_t tv_sec;
1: - long long int tv_usec;
1: + __kernel_time64_t tv_sec;
1: + long long int tv_usec;
1: };
1:
1: struct __kernel_timex {
1: - unsigned int modes;
1: - long long int offset;
1: - long long int freq;
1: - long long int maxerror;
1: - long long int esterror;
1: - int status;
1: - long long int constant;
1: - long long int precision;
1: - long long int tolerance;
1: - struct __kernel_timex_timeval time;
1: - long long int tick;
1: - long long int ppsfreq;
1: - long long int jitter;
1: - int shift;
1: - long long int stabil;
1: - long long int jitcnt;
1: - long long int calcnt;
1: - long long int errcnt;
1: - long long int stbcnt;
1: - int tai;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + unsigned int modes;
1: + long long int offset;
1: + long long int freq;
1: + long long int maxerror;
1: + long long int esterror;
1: + int status;
1: + long long int constant;
1: + long long int precision;
1: + long long int tolerance;
1: + struct __kernel_timex_timeval time;
1: + long long int tick;
1: + long long int ppsfreq;
1: + long long int jitter;
1: + int shift;
1: + long long int stabil;
1: + long long int jitcnt;
1: + long long int calcnt;
1: + long long int errcnt;
1: + long long int stbcnt;
1: + int tai;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct trace_event_raw_timer_class {
1: - struct trace_entry ent;
1: - void *timer;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *timer;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_timer_start {
1: - struct trace_entry ent;
1: - void *timer;
1: - void *function;
1: - long unsigned int expires;
1: - long unsigned int now;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *timer;
1: + void *function;
1: + long unsigned int expires;
1: + long unsigned int now;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_timer_expire_entry {
1: - struct trace_entry ent;
1: - void *timer;
1: - long unsigned int now;
1: - void *function;
1: - long unsigned int baseclk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *timer;
1: + long unsigned int now;
1: + void *function;
1: + long unsigned int baseclk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_hrtimer_init {
1: - struct trace_entry ent;
1: - void *hrtimer;
1: - clockid_t clockid;
1: - enum hrtimer_mode mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *hrtimer;
1: + clockid_t clockid;
1: + enum hrtimer_mode mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_hrtimer_start {
1: - struct trace_entry ent;
1: - void *hrtimer;
1: - void *function;
1: - s64 expires;
1: - s64 softexpires;
1: - enum hrtimer_mode mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *hrtimer;
1: + void *function;
1: + s64 expires;
1: + s64 softexpires;
1: + enum hrtimer_mode mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_hrtimer_expire_entry {
1: - struct trace_entry ent;
1: - void *hrtimer;
1: - s64 now;
1: - void *function;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *hrtimer;
1: + s64 now;
1: + void *function;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_hrtimer_class {
1: - struct trace_entry ent;
1: - void *hrtimer;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *hrtimer;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_itimer_state {
1: - struct trace_entry ent;
1: - int which;
1: - long long unsigned int expires;
1: - long int value_sec;
1: - long int value_nsec;
1: - long int interval_sec;
1: - long int interval_nsec;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int which;
1: + long long unsigned int expires;
1: + long int value_sec;
1: + long int value_nsec;
1: + long int interval_sec;
1: + long int interval_nsec;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_itimer_expire {
1: - struct trace_entry ent;
1: - int which;
1: - pid_t pid;
1: - long long unsigned int now;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int which;
1: + pid_t pid;
1: + long long unsigned int now;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_tick_stop {
1: - struct trace_entry ent;
1: - int success;
1: - int dependency;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int success;
1: + int dependency;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_timer_class {};
1: @@ -27153,346 +27314,347 @@ struct trace_event_data_offsets_itimer_expire {};
1: struct trace_event_data_offsets_tick_stop {};
1:
1: struct timer_base {
1: - raw_spinlock_t lock;
1: - struct timer_list *running_timer;
1: - long unsigned int clk;
1: - long unsigned int next_expiry;
1: - unsigned int cpu;
1: - bool is_idle;
1: - bool must_forward_clk;
1: - long unsigned int pending_map[9];
1: - struct hlist_head vectors[576];
1: - long: 64;
1: - long: 64;
1: + raw_spinlock_t lock;
1: + struct timer_list *running_timer;
1: + long unsigned int clk;
1: + long unsigned int next_expiry;
1: + unsigned int cpu;
1: + bool is_idle;
1: + bool must_forward_clk;
1: + long unsigned int pending_map[9];
1: + struct hlist_head vectors[576];
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct process_timer {
1: - struct timer_list timer;
1: - struct task_struct *task;
1: + struct timer_list timer;
1: + struct task_struct *task;
1: };
1:
1: enum tick_device_mode {
1: - TICKDEV_MODE_PERIODIC = 0,
1: - TICKDEV_MODE_ONESHOT = 1,
1: + TICKDEV_MODE_PERIODIC = 0,
1: + TICKDEV_MODE_ONESHOT = 1,
1: };
1:
1: struct tick_device {
1: - struct clock_event_device *evtdev;
1: - enum tick_device_mode mode;
1: + struct clock_event_device *evtdev;
1: + enum tick_device_mode mode;
1: };
1:
1: struct system_time_snapshot {
1: - u64 cycles;
1: - ktime_t real;
1: - ktime_t raw;
1: - unsigned int clock_was_set_seq;
1: - u8 cs_was_changed_seq;
1: + u64 cycles;
1: + ktime_t real;
1: + ktime_t raw;
1: + unsigned int clock_was_set_seq;
1: + u8 cs_was_changed_seq;
1: };
1:
1: struct system_device_crosststamp {
1: - ktime_t device;
1: - ktime_t sys_realtime;
1: - ktime_t sys_monoraw;
1: + ktime_t device;
1: + ktime_t sys_realtime;
1: + ktime_t sys_monoraw;
1: };
1:
1: struct tk_read_base {
1: - struct clocksource *clock;
1: - u64 mask;
1: - u64 cycle_last;
1: - u32 mult;
1: - u32 shift;
1: - u64 xtime_nsec;
1: - ktime_t base;
1: - u64 base_real;
1: + struct clocksource *clock;
1: + u64 mask;
1: + u64 cycle_last;
1: + u32 mult;
1: + u32 shift;
1: + u64 xtime_nsec;
1: + ktime_t base;
1: + u64 base_real;
1: };
1:
1: struct timekeeper {
1: - struct tk_read_base tkr_mono;
1: - struct tk_read_base tkr_raw;
1: - u64 xtime_sec;
1: - long unsigned int ktime_sec;
1: - struct timespec64 wall_to_monotonic;
1: - ktime_t offs_real;
1: - ktime_t offs_boot;
1: - ktime_t offs_tai;
1: - s32 tai_offset;
1: - unsigned int clock_was_set_seq;
1: - u8 cs_was_changed_seq;
1: - ktime_t next_leap_ktime;
1: - u64 raw_sec;
1: - struct timespec64 monotonic_to_boot;
1: - u64 cycle_interval;
1: - u64 xtime_interval;
1: - s64 xtime_remainder;
1: - u64 raw_interval;
1: - u64 ntp_tick;
1: - s64 ntp_error;
1: - u32 ntp_error_shift;
1: - u32 ntp_err_mult;
1: - u32 skip_second_overflow;
1: + struct tk_read_base tkr_mono;
1: + struct tk_read_base tkr_raw;
1: + u64 xtime_sec;
1: + long unsigned int ktime_sec;
1: + struct timespec64 wall_to_monotonic;
1: + ktime_t offs_real;
1: + ktime_t offs_boot;
1: + ktime_t offs_tai;
1: + s32 tai_offset;
1: + unsigned int clock_was_set_seq;
1: + u8 cs_was_changed_seq;
1: + ktime_t next_leap_ktime;
1: + u64 raw_sec;
1: + struct timespec64 monotonic_to_boot;
1: + u64 cycle_interval;
1: + u64 xtime_interval;
1: + s64 xtime_remainder;
1: + u64 raw_interval;
1: + u64 ntp_tick;
1: + s64 ntp_error;
1: + u32 ntp_error_shift;
1: + u32 ntp_err_mult;
1: + u32 skip_second_overflow;
1: };
1:
1: struct audit_ntp_val {
1: - long long int oldval;
1: - long long int newval;
1: + long long int oldval;
1: + long long int newval;
1: };
1:
1: struct audit_ntp_data {
1: - struct audit_ntp_val vals[6];
1: + struct audit_ntp_val vals[6];
1: };
1:
1: enum timekeeping_adv_mode {
1: - TK_ADV_TICK = 0,
1: - TK_ADV_FREQ = 1,
1: + TK_ADV_TICK = 0,
1: + TK_ADV_FREQ = 1,
1: };
1:
1: struct tk_fast {
1: - seqcount_t seq;
1: - struct tk_read_base base[2];
1: + seqcount_t seq;
1: + struct tk_read_base base[2];
1: };
1:
1: typedef s64 int64_t;
1:
1: enum tick_nohz_mode {
1: - NOHZ_MODE_INACTIVE = 0,
1: - NOHZ_MODE_LOWRES = 1,
1: - NOHZ_MODE_HIGHRES = 2,
1: + NOHZ_MODE_INACTIVE = 0,
1: + NOHZ_MODE_LOWRES = 1,
1: + NOHZ_MODE_HIGHRES = 2,
1: };
1:
1: struct tick_sched {
1: - struct hrtimer sched_timer;
1: - long unsigned int check_clocks;
1: - enum tick_nohz_mode nohz_mode;
1: - unsigned int inidle: 1;
1: - unsigned int tick_stopped: 1;
1: - unsigned int idle_active: 1;
1: - unsigned int do_timer_last: 1;
1: - unsigned int got_idle_tick: 1;
1: - ktime_t last_tick;
1: - ktime_t next_tick;
1: - long unsigned int idle_jiffies;
1: - long unsigned int idle_calls;
1: - long unsigned int idle_sleeps;
1: - ktime_t idle_entrytime;
1: - ktime_t idle_waketime;
1: - ktime_t idle_exittime;
1: - ktime_t idle_sleeptime;
1: - ktime_t iowait_sleeptime;
1: - long unsigned int last_jiffies;
1: - u64 timer_expires;
1: - u64 timer_expires_base;
1: - u64 next_timer;
1: - ktime_t idle_expires;
1: - atomic_t tick_dep_mask;
1: + struct hrtimer sched_timer;
1: + long unsigned int check_clocks;
1: + enum tick_nohz_mode nohz_mode;
1: + unsigned int inidle : 1;
1: + unsigned int tick_stopped : 1;
1: + unsigned int idle_active : 1;
1: + unsigned int do_timer_last : 1;
1: + unsigned int got_idle_tick : 1;
1: + ktime_t last_tick;
1: + ktime_t next_tick;
1: + long unsigned int idle_jiffies;
1: + long unsigned int idle_calls;
1: + long unsigned int idle_sleeps;
1: + ktime_t idle_entrytime;
1: + ktime_t idle_waketime;
1: + ktime_t idle_exittime;
1: + ktime_t idle_sleeptime;
1: + ktime_t iowait_sleeptime;
1: + long unsigned int last_jiffies;
1: + u64 timer_expires;
1: + u64 timer_expires_base;
1: + u64 next_timer;
1: + ktime_t idle_expires;
1: + atomic_t tick_dep_mask;
1: };
1:
1: struct timer_list_iter {
1: - int cpu;
1: - bool second_pass;
1: - u64 now;
1: + int cpu;
1: + bool second_pass;
1: + u64 now;
1: };
1:
1: struct tm {
1: - int tm_sec;
1: - int tm_min;
1: - int tm_hour;
1: - int tm_mday;
1: - int tm_mon;
1: - long int tm_year;
1: - int tm_wday;
1: - int tm_yday;
1: + int tm_sec;
1: + int tm_min;
1: + int tm_hour;
1: + int tm_mday;
1: + int tm_mon;
1: + long int tm_year;
1: + int tm_wday;
1: + int tm_yday;
1: };
1:
1: struct cyclecounter {
1: - u64 (*read)(const struct cyclecounter *);
1: - u64 mask;
1: - u32 mult;
1: - u32 shift;
1: + u64 (*read)(const struct cyclecounter *);
1: + u64 mask;
1: + u32 mult;
1: + u32 shift;
1: };
1:
1: struct timecounter {
1: - const struct cyclecounter *cc;
1: - u64 cycle_last;
1: - u64 nsec;
1: - u64 mask;
1: - u64 frac;
1: + const struct cyclecounter *cc;
1: + u64 cycle_last;
1: + u64 nsec;
1: + u64 mask;
1: + u64 frac;
1: };
1:
1: typedef __kernel_timer_t timer_t;
1:
1: struct rtc_wkalrm {
1: - unsigned char enabled;
1: - unsigned char pending;
1: - struct rtc_time time;
1: + unsigned char enabled;
1: + unsigned char pending;
1: + struct rtc_time time;
1: };
1:
1: enum alarmtimer_type {
1: - ALARM_REALTIME = 0,
1: - ALARM_BOOTTIME = 1,
1: - ALARM_NUMTYPE = 2,
1: - ALARM_REALTIME_FREEZER = 3,
1: - ALARM_BOOTTIME_FREEZER = 4,
1: + ALARM_REALTIME = 0,
1: + ALARM_BOOTTIME = 1,
1: + ALARM_NUMTYPE = 2,
1: + ALARM_REALTIME_FREEZER = 3,
1: + ALARM_BOOTTIME_FREEZER = 4,
1: };
1:
1: enum alarmtimer_restart {
1: - ALARMTIMER_NORESTART = 0,
1: - ALARMTIMER_RESTART = 1,
1: + ALARMTIMER_NORESTART = 0,
1: + ALARMTIMER_RESTART = 1,
1: };
1:
1: struct alarm {
1: - struct timerqueue_node node;
1: - struct hrtimer timer;
1: - enum alarmtimer_restart (*function)(struct alarm *, ktime_t);
1: - enum alarmtimer_type type;
1: - int state;
1: - void *data;
1: + struct timerqueue_node node;
1: + struct hrtimer timer;
1: + enum alarmtimer_restart (*function)(struct alarm *, ktime_t);
1: + enum alarmtimer_type type;
1: + int state;
1: + void *data;
1: };
1:
1: struct cpu_timer {
1: - struct timerqueue_node node;
1: - struct timerqueue_head *head;
1: - struct task_struct *task;
1: - struct list_head elist;
1: - int firing;
1: + struct timerqueue_node node;
1: + struct timerqueue_head *head;
1: + struct task_struct *task;
1: + struct list_head elist;
1: + int firing;
1: };
1:
1: struct k_clock;
1:
1: struct k_itimer {
1: - struct list_head list;
1: - struct hlist_node t_hash;
1: - spinlock_t it_lock;
1: - const struct k_clock *kclock;
1: - clockid_t it_clock;
1: - timer_t it_id;
1: - int it_active;
1: - s64 it_overrun;
1: - s64 it_overrun_last;
1: - int it_requeue_pending;
1: - int it_sigev_notify;
1: - ktime_t it_interval;
1: - struct signal_struct *it_signal;
1: - union {
1: - struct pid *it_pid;
1: - struct task_struct *it_process;
1: - };
1: - struct sigqueue *sigq;
1: - union {
1: - struct {
1: - struct hrtimer timer;
1: - } real;
1: - struct cpu_timer cpu;
1: - struct {
1: - struct alarm alarmtimer;
1: - } alarm;
1: - } it;
1: - struct callback_head rcu;
1: + struct list_head list;
1: + struct hlist_node t_hash;
1: + spinlock_t it_lock;
1: + const struct k_clock *kclock;
1: + clockid_t it_clock;
1: + timer_t it_id;
1: + int it_active;
1: + s64 it_overrun;
1: + s64 it_overrun_last;
1: + int it_requeue_pending;
1: + int it_sigev_notify;
1: + ktime_t it_interval;
1: + struct signal_struct *it_signal;
1: + union {
1: + struct pid *it_pid;
1: + struct task_struct *it_process;
1: + };
1: + struct sigqueue *sigq;
1: + union {
1: + struct {
1: + struct hrtimer timer;
1: + } real;
1: + struct cpu_timer cpu;
1: + struct {
1: + struct alarm alarmtimer;
1: + } alarm;
1: + } it;
1: + struct callback_head rcu;
1: };
1:
1: struct k_clock {
1: - int (*clock_getres)(const clockid_t, struct timespec64 *);
1: - int (*clock_set)(const clockid_t, const struct timespec64 *);
1: - int (*clock_get)(const clockid_t, struct timespec64 *);
1: - int (*clock_adj)(const clockid_t, struct __kernel_timex *);
1: - int (*timer_create)(struct k_itimer *);
1: - int (*nsleep)(const clockid_t, int, const struct timespec64 *);
1: - int (*timer_set)(struct k_itimer *, int, struct itimerspec64 *, struct itimerspec64 *);
1: - int (*timer_del)(struct k_itimer *);
1: - void (*timer_get)(struct k_itimer *, struct itimerspec64 *);
1: - void (*timer_rearm)(struct k_itimer *);
1: - s64 (*timer_forward)(struct k_itimer *, ktime_t);
1: - ktime_t (*timer_remaining)(struct k_itimer *, ktime_t);
1: - int (*timer_try_to_cancel)(struct k_itimer *);
1: - void (*timer_arm)(struct k_itimer *, ktime_t, bool, bool);
1: - void (*timer_wait_running)(struct k_itimer *);
1: + int (*clock_getres)(const clockid_t, struct timespec64 *);
1: + int (*clock_set)(const clockid_t, const struct timespec64 *);
1: + int (*clock_get)(const clockid_t, struct timespec64 *);
1: + int (*clock_adj)(const clockid_t, struct __kernel_timex *);
1: + int (*timer_create)(struct k_itimer *);
1: + int (*nsleep)(const clockid_t, int, const struct timespec64 *);
1: + int (*timer_set)(struct k_itimer *, int, struct itimerspec64 *,
1: + struct itimerspec64 *);
1: + int (*timer_del)(struct k_itimer *);
1: + void (*timer_get)(struct k_itimer *, struct itimerspec64 *);
1: + void (*timer_rearm)(struct k_itimer *);
1: + s64 (*timer_forward)(struct k_itimer *, ktime_t);
1: + ktime_t (*timer_remaining)(struct k_itimer *, ktime_t);
1: + int (*timer_try_to_cancel)(struct k_itimer *);
1: + void (*timer_arm)(struct k_itimer *, ktime_t, bool, bool);
1: + void (*timer_wait_running)(struct k_itimer *);
1: };
1:
1: struct class_interface {
1: - struct list_head node;
1: - struct class *class;
1: - int (*add_dev)(struct device *, struct class_interface *);
1: - void (*remove_dev)(struct device *, struct class_interface *);
1: + struct list_head node;
1: + struct class *class;
1: + int (*add_dev)(struct device *, struct class_interface *);
1: + void (*remove_dev)(struct device *, struct class_interface *);
1: };
1:
1: struct rtc_class_ops {
1: - int (*ioctl)(struct device *, unsigned int, long unsigned int);
1: - int (*read_time)(struct device *, struct rtc_time *);
1: - int (*set_time)(struct device *, struct rtc_time *);
1: - int (*read_alarm)(struct device *, struct rtc_wkalrm *);
1: - int (*set_alarm)(struct device *, struct rtc_wkalrm *);
1: - int (*proc)(struct device *, struct seq_file *);
1: - int (*alarm_irq_enable)(struct device *, unsigned int);
1: - int (*read_offset)(struct device *, long int *);
1: - int (*set_offset)(struct device *, long int);
1: + int (*ioctl)(struct device *, unsigned int, long unsigned int);
1: + int (*read_time)(struct device *, struct rtc_time *);
1: + int (*set_time)(struct device *, struct rtc_time *);
1: + int (*read_alarm)(struct device *, struct rtc_wkalrm *);
1: + int (*set_alarm)(struct device *, struct rtc_wkalrm *);
1: + int (*proc)(struct device *, struct seq_file *);
1: + int (*alarm_irq_enable)(struct device *, unsigned int);
1: + int (*read_offset)(struct device *, long int *);
1: + int (*set_offset)(struct device *, long int);
1: };
1:
1: struct rtc_device;
1:
1: struct rtc_timer {
1: - struct timerqueue_node node;
1: - ktime_t period;
1: - void (*func)(struct rtc_device *);
1: - struct rtc_device *rtc;
1: - int enabled;
1: + struct timerqueue_node node;
1: + ktime_t period;
1: + void (*func)(struct rtc_device *);
1: + struct rtc_device *rtc;
1: + int enabled;
1: };
1:
1: struct rtc_device {
1: - struct device dev;
1: - struct module *owner;
1: - int id;
1: - const struct rtc_class_ops *ops;
1: - struct mutex ops_lock;
1: - struct cdev char_dev;
1: - long unsigned int flags;
1: - long unsigned int irq_data;
1: - spinlock_t irq_lock;
1: - wait_queue_head_t irq_queue;
1: - struct fasync_struct *async_queue;
1: - int irq_freq;
1: - int max_user_freq;
1: - struct timerqueue_head timerqueue;
1: - struct rtc_timer aie_timer;
1: - struct rtc_timer uie_rtctimer;
1: - struct hrtimer pie_timer;
1: - int pie_enabled;
1: - struct work_struct irqwork;
1: - int uie_unsupported;
1: - long int set_offset_nsec;
1: - bool registered;
1: - bool nvram_old_abi;
1: - struct bin_attribute *nvram;
1: - time64_t range_min;
1: - timeu64_t range_max;
1: - time64_t start_secs;
1: - time64_t offset_secs;
1: - bool set_start_time;
1: + struct device dev;
1: + struct module *owner;
1: + int id;
1: + const struct rtc_class_ops *ops;
1: + struct mutex ops_lock;
1: + struct cdev char_dev;
1: + long unsigned int flags;
1: + long unsigned int irq_data;
1: + spinlock_t irq_lock;
1: + wait_queue_head_t irq_queue;
1: + struct fasync_struct *async_queue;
1: + int irq_freq;
1: + int max_user_freq;
1: + struct timerqueue_head timerqueue;
1: + struct rtc_timer aie_timer;
1: + struct rtc_timer uie_rtctimer;
1: + struct hrtimer pie_timer;
1: + int pie_enabled;
1: + struct work_struct irqwork;
1: + int uie_unsupported;
1: + long int set_offset_nsec;
1: + bool registered;
1: + bool nvram_old_abi;
1: + struct bin_attribute *nvram;
1: + time64_t range_min;
1: + timeu64_t range_max;
1: + time64_t start_secs;
1: + time64_t offset_secs;
1: + bool set_start_time;
1: };
1:
1: struct platform_driver {
1: - int (*probe)(struct platform_device *);
1: - int (*remove)(struct platform_device *);
1: - void (*shutdown)(struct platform_device *);
1: - int (*suspend)(struct platform_device *, pm_message_t);
1: - int (*resume)(struct platform_device *);
1: - struct device_driver driver;
1: - const struct platform_device_id *id_table;
1: - bool prevent_deferred_probe;
1: + int (*probe)(struct platform_device *);
1: + int (*remove)(struct platform_device *);
1: + void (*shutdown)(struct platform_device *);
1: + int (*suspend)(struct platform_device *, pm_message_t);
1: + int (*resume)(struct platform_device *);
1: + struct device_driver driver;
1: + const struct platform_device_id *id_table;
1: + bool prevent_deferred_probe;
1: };
1:
1: struct trace_event_raw_alarmtimer_suspend {
1: - struct trace_entry ent;
1: - s64 expires;
1: - unsigned char alarm_type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + s64 expires;
1: + unsigned char alarm_type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_alarm_class {
1: - struct trace_entry ent;
1: - void *alarm;
1: - unsigned char alarm_type;
1: - s64 expires;
1: - s64 now;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *alarm;
1: + unsigned char alarm_type;
1: + s64 expires;
1: + s64 now;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_alarmtimer_suspend {};
1: @@ -27500,40 +27662,40 @@ struct trace_event_data_offsets_alarmtimer_suspend {};
1: struct trace_event_data_offsets_alarm_class {};
1:
1: struct alarm_base {
1: - spinlock_t lock;
1: - struct timerqueue_head timerqueue;
1: - ktime_t (*gettime)();
1: - clockid_t base_clockid;
1: + spinlock_t lock;
1: + struct timerqueue_head timerqueue;
1: + ktime_t (*gettime)();
1: + clockid_t base_clockid;
1: };
1:
1: struct sigevent {
1: - sigval_t sigev_value;
1: - int sigev_signo;
1: - int sigev_notify;
1: - union {
1: - int _pad[12];
1: - int _tid;
1: - struct {
1: - void (*_function)(sigval_t);
1: - void *_attribute;
1: - } _sigev_thread;
1: - } _sigev_un;
1: + sigval_t sigev_value;
1: + int sigev_signo;
1: + int sigev_notify;
1: + union {
1: + int _pad[12];
1: + int _tid;
1: + struct {
1: + void (*_function)(sigval_t);
1: + void *_attribute;
1: + } _sigev_thread;
1: + } _sigev_un;
1: };
1:
1: typedef struct sigevent sigevent_t;
1:
1: struct compat_sigevent {
1: - compat_sigval_t sigev_value;
1: - compat_int_t sigev_signo;
1: - compat_int_t sigev_notify;
1: - union {
1: - compat_int_t _pad[13];
1: - compat_int_t _tid;
1: - struct {
1: - compat_uptr_t _function;
1: - compat_uptr_t _attribute;
1: - } _sigev_thread;
1: - } _sigev_un;
1: + compat_sigval_t sigev_value;
1: + compat_int_t sigev_signo;
1: + compat_int_t sigev_notify;
1: + union {
1: + compat_int_t _pad[13];
1: + compat_int_t _tid;
1: + struct {
1: + compat_uptr_t _function;
1: + compat_uptr_t _attribute;
1: + } _sigev_thread;
1: + } _sigev_un;
1: };
1:
1: typedef unsigned int uint;
1: @@ -27541,342 +27703,342 @@ typedef unsigned int uint;
1: struct posix_clock;
1:
1: struct posix_clock_operations {
1: - struct module *owner;
1: - int (*clock_adjtime)(struct posix_clock *, struct __kernel_timex *);
1: - int (*clock_gettime)(struct posix_clock *, struct timespec64 *);
1: - int (*clock_getres)(struct posix_clock *, struct timespec64 *);
1: - int (*clock_settime)(struct posix_clock *, const struct timespec64 *);
1: - long int (*ioctl)(struct posix_clock *, unsigned int, long unsigned int);
1: - int (*open)(struct posix_clock *, fmode_t);
1: - __poll_t (*poll)(struct posix_clock *, struct file *, poll_table *);
1: - int (*release)(struct posix_clock *);
1: - ssize_t (*read)(struct posix_clock *, uint, char *, size_t);
1: + struct module *owner;
1: + int (*clock_adjtime)(struct posix_clock *, struct __kernel_timex *);
1: + int (*clock_gettime)(struct posix_clock *, struct timespec64 *);
1: + int (*clock_getres)(struct posix_clock *, struct timespec64 *);
1: + int (*clock_settime)(struct posix_clock *, const struct timespec64 *);
1: + long int (*ioctl)(struct posix_clock *, unsigned int, long unsigned int);
1: + int (*open)(struct posix_clock *, fmode_t);
1: + __poll_t (*poll)(struct posix_clock *, struct file *, poll_table *);
1: + int (*release)(struct posix_clock *);
1: + ssize_t (*read)(struct posix_clock *, uint, char *, size_t);
1: };
1:
1: struct posix_clock {
1: - struct posix_clock_operations ops;
1: - struct cdev cdev;
1: - struct device *dev;
1: - struct rw_semaphore rwsem;
1: - bool zombie;
1: + struct posix_clock_operations ops;
1: + struct cdev cdev;
1: + struct device *dev;
1: + struct rw_semaphore rwsem;
1: + bool zombie;
1: };
1:
1: struct posix_clock_desc {
1: - struct file *fp;
1: - struct posix_clock *clk;
1: + struct file *fp;
1: + struct posix_clock *clk;
1: };
1:
1: struct itimerval {
1: - struct timeval it_interval;
1: - struct timeval it_value;
1: + struct timeval it_interval;
1: + struct timeval it_value;
1: };
1:
1: struct old_itimerval32 {
1: - struct old_timeval32 it_interval;
1: - struct old_timeval32 it_value;
1: + struct old_timeval32 it_interval;
1: + struct old_timeval32 it_value;
1: };
1:
1: struct ce_unbind {
1: - struct clock_event_device *ce;
1: - int res;
1: + struct clock_event_device *ce;
1: + int res;
1: };
1:
1: struct vdso_timestamp {
1: - u64 sec;
1: - u64 nsec;
1: + u64 sec;
1: + u64 nsec;
1: };
1:
1: struct vdso_data {
1: - u32 seq;
1: - s32 clock_mode;
1: - u64 cycle_last;
1: - u64 mask;
1: - u32 mult;
1: - u32 shift;
1: - struct vdso_timestamp basetime[12];
1: - s32 tz_minuteswest;
1: - s32 tz_dsttime;
1: - u32 hrtimer_res;
1: - u32 __unused;
1: + u32 seq;
1: + s32 clock_mode;
1: + u64 cycle_last;
1: + u64 mask;
1: + u32 mult;
1: + u32 shift;
1: + struct vdso_timestamp basetime[12];
1: + s32 tz_minuteswest;
1: + s32 tz_dsttime;
1: + u32 hrtimer_res;
1: + u32 __unused;
1: };
1:
1: union futex_key {
1: - struct {
1: - long unsigned int pgoff;
1: - struct inode *inode;
1: - int offset;
1: - } shared;
1: - struct {
1: - long unsigned int address;
1: - struct mm_struct *mm;
1: - int offset;
1: - } private;
1: - struct {
1: - long unsigned int word;
1: - void *ptr;
1: - int offset;
1: - } both;
1: + struct {
1: + long unsigned int pgoff;
1: + struct inode *inode;
1: + int offset;
1: + } shared;
1: + struct {
1: + long unsigned int address;
1: + struct mm_struct *mm;
1: + int offset;
1: + } private;
1: + struct {
1: + long unsigned int word;
1: + void *ptr;
1: + int offset;
1: + } both;
1: };
1:
1: struct futex_pi_state {
1: - struct list_head list;
1: - struct rt_mutex pi_mutex;
1: - struct task_struct *owner;
1: - refcount_t refcount;
1: - union futex_key key;
1: + struct list_head list;
1: + struct rt_mutex pi_mutex;
1: + struct task_struct *owner;
1: + refcount_t refcount;
1: + union futex_key key;
1: };
1:
1: struct futex_q {
1: - struct plist_node list;
1: - struct task_struct *task;
1: - spinlock_t *lock_ptr;
1: - union futex_key key;
1: - struct futex_pi_state *pi_state;
1: - struct rt_mutex_waiter *rt_waiter;
1: - union futex_key *requeue_pi_key;
1: - u32 bitset;
1: + struct plist_node list;
1: + struct task_struct *task;
1: + spinlock_t *lock_ptr;
1: + union futex_key key;
1: + struct futex_pi_state *pi_state;
1: + struct rt_mutex_waiter *rt_waiter;
1: + union futex_key *requeue_pi_key;
1: + u32 bitset;
1: };
1:
1: struct futex_hash_bucket {
1: - atomic_t waiters;
1: - spinlock_t lock;
1: - struct plist_head chain;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + atomic_t waiters;
1: + spinlock_t lock;
1: + struct plist_head chain;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: enum futex_access {
1: - FUTEX_READ = 0,
1: - FUTEX_WRITE = 1,
1: + FUTEX_READ = 0,
1: + FUTEX_WRITE = 1,
1: };
1:
1: struct dma_chan {
1: - int lock;
1: - const char *device_id;
1: + int lock;
1: + const char *device_id;
1: };
1:
1: enum {
1: - CSD_FLAG_LOCK = 1,
1: - CSD_FLAG_SYNCHRONOUS = 2,
1: + CSD_FLAG_LOCK = 1,
1: + CSD_FLAG_SYNCHRONOUS = 2,
1: };
1:
1: struct call_function_data {
1: - call_single_data_t *csd;
1: - cpumask_var_t cpumask;
1: - cpumask_var_t cpumask_ipi;
1: + call_single_data_t *csd;
1: + cpumask_var_t cpumask;
1: + cpumask_var_t cpumask_ipi;
1: };
1:
1: struct smp_call_on_cpu_struct {
1: - struct work_struct work;
1: - struct completion done;
1: - int (*func)(void *);
1: - void *data;
1: - int ret;
1: - int cpu;
1: + struct work_struct work;
1: + struct completion done;
1: + int (*func)(void *);
1: + void *data;
1: + int ret;
1: + int cpu;
1: };
1:
1: struct static_key_true {
1: - struct static_key key;
1: + struct static_key key;
1: };
1:
1: struct latch_tree_root {
1: - seqcount_t seq;
1: - struct rb_root tree[2];
1: + seqcount_t seq;
1: + struct rb_root tree[2];
1: };
1:
1: struct latch_tree_ops {
1: - bool (*less)(struct latch_tree_node *, struct latch_tree_node *);
1: - int (*comp)(void *, struct latch_tree_node *);
1: + bool (*less)(struct latch_tree_node *, struct latch_tree_node *);
1: + int (*comp)(void *, struct latch_tree_node *);
1: };
1:
1: struct module_use {
1: - struct list_head source_list;
1: - struct list_head target_list;
1: - struct module *source;
1: - struct module *target;
1: + struct list_head source_list;
1: + struct list_head target_list;
1: + struct module *source;
1: + struct module *target;
1: };
1:
1: struct module_sect_attr {
1: - struct module_attribute mattr;
1: - char *name;
1: - long unsigned int address;
1: + struct module_attribute mattr;
1: + char *name;
1: + long unsigned int address;
1: };
1:
1: struct module_sect_attrs {
1: - struct attribute_group grp;
1: - unsigned int nsections;
1: - struct module_sect_attr attrs[0];
1: + struct attribute_group grp;
1: + unsigned int nsections;
1: + struct module_sect_attr attrs[0];
1: };
1:
1: struct module_notes_attrs {
1: - struct kobject *dir;
1: - unsigned int notes;
1: - struct bin_attribute attrs[0];
1: + struct kobject *dir;
1: + unsigned int notes;
1: + struct bin_attribute attrs[0];
1: };
1:
1: struct symsearch {
1: - const struct kernel_symbol *start;
1: - const struct kernel_symbol *stop;
1: - const s32 *crcs;
1: - enum {
1: - NOT_GPL_ONLY = 0,
1: - GPL_ONLY = 1,
1: - WILL_BE_GPL_ONLY = 2,
1: - } licence;
1: - bool unused;
1: + const struct kernel_symbol *start;
1: + const struct kernel_symbol *stop;
1: + const s32 *crcs;
1: + enum {
1: + NOT_GPL_ONLY = 0,
1: + GPL_ONLY = 1,
1: + WILL_BE_GPL_ONLY = 2,
1: + } licence;
1: + bool unused;
1: };
1:
1: enum kernel_read_file_id {
1: - READING_UNKNOWN = 0,
1: - READING_FIRMWARE = 1,
1: - READING_FIRMWARE_PREALLOC_BUFFER = 2,
1: - READING_MODULE = 3,
1: - READING_KEXEC_IMAGE = 4,
1: - READING_KEXEC_INITRAMFS = 5,
1: - READING_POLICY = 6,
1: - READING_X509_CERTIFICATE = 7,
1: - READING_MAX_ID = 8,
1: + READING_UNKNOWN = 0,
1: + READING_FIRMWARE = 1,
1: + READING_FIRMWARE_PREALLOC_BUFFER = 2,
1: + READING_MODULE = 3,
1: + READING_KEXEC_IMAGE = 4,
1: + READING_KEXEC_INITRAMFS = 5,
1: + READING_POLICY = 6,
1: + READING_X509_CERTIFICATE = 7,
1: + READING_MAX_ID = 8,
1: };
1:
1: enum kernel_load_data_id {
1: - LOADING_UNKNOWN = 0,
1: - LOADING_FIRMWARE = 1,
1: - LOADING_FIRMWARE_PREALLOC_BUFFER = 2,
1: - LOADING_MODULE = 3,
1: - LOADING_KEXEC_IMAGE = 4,
1: - LOADING_KEXEC_INITRAMFS = 5,
1: - LOADING_POLICY = 6,
1: - LOADING_X509_CERTIFICATE = 7,
1: - LOADING_MAX_ID = 8,
1: + LOADING_UNKNOWN = 0,
1: + LOADING_FIRMWARE = 1,
1: + LOADING_FIRMWARE_PREALLOC_BUFFER = 2,
1: + LOADING_MODULE = 3,
1: + LOADING_KEXEC_IMAGE = 4,
1: + LOADING_KEXEC_INITRAMFS = 5,
1: + LOADING_POLICY = 6,
1: + LOADING_X509_CERTIFICATE = 7,
1: + LOADING_MAX_ID = 8,
1: };
1:
1: struct _ddebug {
1: - const char *modname;
1: - const char *function;
1: - const char *filename;
1: - const char *format;
1: - unsigned int lineno: 18;
1: - unsigned int flags: 8;
1: - union {
1: - struct static_key_true dd_key_true;
1: - struct static_key_false dd_key_false;
1: - } key;
1: + const char *modname;
1: + const char *function;
1: + const char *filename;
1: + const char *format;
1: + unsigned int lineno : 18;
1: + unsigned int flags : 8;
1: + union {
1: + struct static_key_true dd_key_true;
1: + struct static_key_false dd_key_false;
1: + } key;
1: };
1:
1: struct load_info {
1: - const char *name;
1: - struct module *mod;
1: - Elf64_Ehdr *hdr;
1: - long unsigned int len;
1: - Elf64_Shdr *sechdrs;
1: - char *secstrings;
1: - char *strtab;
1: - long unsigned int symoffs;
1: - long unsigned int stroffs;
1: - long unsigned int init_typeoffs;
1: - long unsigned int core_typeoffs;
1: - struct _ddebug *debug;
1: - unsigned int num_debug;
1: - bool sig_ok;
1: - long unsigned int mod_kallsyms_init_off;
1: - struct {
1: - unsigned int sym;
1: - unsigned int str;
1: - unsigned int mod;
1: - unsigned int vers;
1: - unsigned int info;
1: - unsigned int pcpu;
1: - } index;
1: + const char *name;
1: + struct module *mod;
1: + Elf64_Ehdr *hdr;
1: + long unsigned int len;
1: + Elf64_Shdr *sechdrs;
1: + char *secstrings;
1: + char *strtab;
1: + long unsigned int symoffs;
1: + long unsigned int stroffs;
1: + long unsigned int init_typeoffs;
1: + long unsigned int core_typeoffs;
1: + struct _ddebug *debug;
1: + unsigned int num_debug;
1: + bool sig_ok;
1: + long unsigned int mod_kallsyms_init_off;
1: + struct {
1: + unsigned int sym;
1: + unsigned int str;
1: + unsigned int mod;
1: + unsigned int vers;
1: + unsigned int info;
1: + unsigned int pcpu;
1: + } index;
1: };
1:
1: struct trace_event_raw_module_load {
1: - struct trace_entry ent;
1: - unsigned int taints;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int taints;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_module_free {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_module_refcnt {
1: - struct trace_entry ent;
1: - long unsigned int ip;
1: - int refcnt;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + int refcnt;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_module_request {
1: - struct trace_entry ent;
1: - long unsigned int ip;
1: - bool wait;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + bool wait;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_module_load {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_module_free {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_module_refcnt {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_module_request {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct mod_tree_root {
1: - struct latch_tree_root root;
1: - long unsigned int addr_min;
1: - long unsigned int addr_max;
1: + struct latch_tree_root root;
1: + long unsigned int addr_min;
1: + long unsigned int addr_max;
1: };
1:
1: struct find_symbol_arg {
1: - const char *name;
1: - bool gplok;
1: - bool warn;
1: - struct module *owner;
1: - const s32 *crc;
1: - const struct kernel_symbol *sym;
1: + const char *name;
1: + bool gplok;
1: + bool warn;
1: + struct module *owner;
1: + const s32 *crc;
1: + const struct kernel_symbol *sym;
1: };
1:
1: struct mod_initfree {
1: - struct llist_node node;
1: - void *module_init;
1: + struct llist_node node;
1: + void *module_init;
1: };
1:
1: struct kallsym_iter {
1: - loff_t pos;
1: - loff_t pos_arch_end;
1: - loff_t pos_mod_end;
1: - loff_t pos_ftrace_mod_end;
1: - long unsigned int value;
1: - unsigned int nameoff;
1: - char type;
1: - char name[128];
1: - char module_name[56];
1: - int exported;
1: - int show_value;
1: + loff_t pos;
1: + loff_t pos_arch_end;
1: + loff_t pos_mod_end;
1: + loff_t pos_ftrace_mod_end;
1: + long unsigned int value;
1: + unsigned int nameoff;
1: + char type;
1: + char name[128];
1: + char module_name[56];
1: + int exported;
1: + int show_value;
1: };
1:
1: enum {
1: - SB_UNFROZEN = 0,
1: - SB_FREEZE_WRITE = 1,
1: - SB_FREEZE_PAGEFAULT = 2,
1: - SB_FREEZE_FS = 3,
1: - SB_FREEZE_COMPLETE = 4,
1: + SB_UNFROZEN = 0,
1: + SB_FREEZE_WRITE = 1,
1: + SB_FREEZE_PAGEFAULT = 2,
1: + SB_FREEZE_FS = 3,
1: + SB_FREEZE_COMPLETE = 4,
1: };
1:
1: typedef __u16 comp_t;
1: @@ -27884,64 +28046,64 @@ typedef __u16 comp_t;
1: typedef __u32 comp2_t;
1:
1: struct acct {
1: - char ac_flag;
1: - char ac_version;
1: - __u16 ac_uid16;
1: - __u16 ac_gid16;
1: - __u16 ac_tty;
1: - __u32 ac_btime;
1: - comp_t ac_utime;
1: - comp_t ac_stime;
1: - comp_t ac_etime;
1: - comp_t ac_mem;
1: - comp_t ac_io;
1: - comp_t ac_rw;
1: - comp_t ac_minflt;
1: - comp_t ac_majflt;
1: - comp_t ac_swaps;
1: - __u16 ac_ahz;
1: - __u32 ac_exitcode;
1: - char ac_comm[17];
1: - __u8 ac_etime_hi;
1: - __u16 ac_etime_lo;
1: - __u32 ac_uid;
1: - __u32 ac_gid;
1: + char ac_flag;
1: + char ac_version;
1: + __u16 ac_uid16;
1: + __u16 ac_gid16;
1: + __u16 ac_tty;
1: + __u32 ac_btime;
1: + comp_t ac_utime;
1: + comp_t ac_stime;
1: + comp_t ac_etime;
1: + comp_t ac_mem;
1: + comp_t ac_io;
1: + comp_t ac_rw;
1: + comp_t ac_minflt;
1: + comp_t ac_majflt;
1: + comp_t ac_swaps;
1: + __u16 ac_ahz;
1: + __u32 ac_exitcode;
1: + char ac_comm[17];
1: + __u8 ac_etime_hi;
1: + __u16 ac_etime_lo;
1: + __u32 ac_uid;
1: + __u32 ac_gid;
1: };
1:
1: typedef struct acct acct_t;
1:
1: struct fs_pin {
1: - wait_queue_head_t wait;
1: - int done;
1: - struct hlist_node s_list;
1: - struct hlist_node m_list;
1: - void (*kill)(struct fs_pin *);
1: + wait_queue_head_t wait;
1: + int done;
1: + struct hlist_node s_list;
1: + struct hlist_node m_list;
1: + void (*kill)(struct fs_pin *);
1: };
1:
1: struct bsd_acct_struct {
1: - struct fs_pin pin;
1: - atomic_long_t count;
1: - struct callback_head rcu;
1: - struct mutex lock;
1: - int active;
1: - long unsigned int needcheck;
1: - struct file *file;
1: - struct pid_namespace *ns;
1: - struct work_struct work;
1: - struct completion done;
1: + struct fs_pin pin;
1: + atomic_long_t count;
1: + struct callback_head rcu;
1: + struct mutex lock;
1: + int active;
1: + long unsigned int needcheck;
1: + struct file *file;
1: + struct pid_namespace *ns;
1: + struct work_struct work;
1: + struct completion done;
1: };
1:
1: enum compound_dtor_id {
1: - NULL_COMPOUND_DTOR = 0,
1: - COMPOUND_PAGE_DTOR = 1,
1: - HUGETLB_PAGE_DTOR = 2,
1: - NR_COMPOUND_DTORS = 3,
1: + NULL_COMPOUND_DTOR = 0,
1: + COMPOUND_PAGE_DTOR = 1,
1: + HUGETLB_PAGE_DTOR = 2,
1: + NR_COMPOUND_DTORS = 3,
1: };
1:
1: struct elf64_note {
1: - Elf64_Word n_namesz;
1: - Elf64_Word n_descsz;
1: - Elf64_Word n_type;
1: + Elf64_Word n_namesz;
1: + Elf64_Word n_descsz;
1: + Elf64_Word n_type;
1: };
1:
1: typedef long unsigned int elf_greg_t;
1: @@ -27949,46 +28111,46 @@ typedef long unsigned int elf_greg_t;
1: typedef elf_greg_t elf_gregset_t[27];
1:
1: struct elf_siginfo {
1: - int si_signo;
1: - int si_code;
1: - int si_errno;
1: + int si_signo;
1: + int si_code;
1: + int si_errno;
1: };
1:
1: struct elf_prstatus {
1: - struct elf_siginfo pr_info;
1: - short int pr_cursig;
1: - long unsigned int pr_sigpend;
1: - long unsigned int pr_sighold;
1: - pid_t pr_pid;
1: - pid_t pr_ppid;
1: - pid_t pr_pgrp;
1: - pid_t pr_sid;
1: - struct __kernel_old_timeval pr_utime;
1: - struct __kernel_old_timeval pr_stime;
1: - struct __kernel_old_timeval pr_cutime;
1: - struct __kernel_old_timeval pr_cstime;
1: - elf_gregset_t pr_reg;
1: - int pr_fpvalid;
1: + struct elf_siginfo pr_info;
1: + short int pr_cursig;
1: + long unsigned int pr_sigpend;
1: + long unsigned int pr_sighold;
1: + pid_t pr_pid;
1: + pid_t pr_ppid;
1: + pid_t pr_pgrp;
1: + pid_t pr_sid;
1: + struct __kernel_old_timeval pr_utime;
1: + struct __kernel_old_timeval pr_stime;
1: + struct __kernel_old_timeval pr_cutime;
1: + struct __kernel_old_timeval pr_cstime;
1: + elf_gregset_t pr_reg;
1: + int pr_fpvalid;
1: };
1:
1: typedef u32 note_buf_t[92];
1:
1: struct compat_kexec_segment {
1: - compat_uptr_t buf;
1: - compat_size_t bufsz;
1: - compat_ulong_t mem;
1: - compat_size_t memsz;
1: + compat_uptr_t buf;
1: + compat_size_t bufsz;
1: + compat_ulong_t mem;
1: + compat_size_t memsz;
1: };
1:
1: enum migrate_reason {
1: - MR_COMPACTION = 0,
1: - MR_MEMORY_FAILURE = 1,
1: - MR_MEMORY_HOTPLUG = 2,
1: - MR_SYSCALL = 3,
1: - MR_MEMPOLICY_MBIND = 4,
1: - MR_NUMA_MISPLACED = 5,
1: - MR_CONTIG_RANGE = 6,
1: - MR_TYPES = 7,
1: + MR_COMPACTION = 0,
1: + MR_MEMORY_FAILURE = 1,
1: + MR_MEMORY_HOTPLUG = 2,
1: + MR_SYSCALL = 3,
1: + MR_MEMPOLICY_MBIND = 4,
1: + MR_NUMA_MISPLACED = 5,
1: + MR_CONTIG_RANGE = 6,
1: + MR_TYPES = 7,
1: };
1:
1: typedef __kernel_ulong_t __kernel_ino_t;
1: @@ -27996,19 +28158,19 @@ typedef __kernel_ulong_t __kernel_ino_t;
1: typedef __kernel_ino_t ino_t;
1:
1: enum fs_context_purpose {
1: - FS_CONTEXT_FOR_MOUNT = 0,
1: - FS_CONTEXT_FOR_SUBMOUNT = 1,
1: - FS_CONTEXT_FOR_RECONFIGURE = 2,
1: + FS_CONTEXT_FOR_MOUNT = 0,
1: + FS_CONTEXT_FOR_SUBMOUNT = 1,
1: + FS_CONTEXT_FOR_RECONFIGURE = 2,
1: };
1:
1: enum fs_context_phase {
1: - FS_CONTEXT_CREATE_PARAMS = 0,
1: - FS_CONTEXT_CREATING = 1,
1: - FS_CONTEXT_AWAITING_MOUNT = 2,
1: - FS_CONTEXT_AWAITING_RECONF = 3,
1: - FS_CONTEXT_RECONF_PARAMS = 4,
1: - FS_CONTEXT_RECONFIGURING = 5,
1: - FS_CONTEXT_FAILED = 6,
1: + FS_CONTEXT_CREATE_PARAMS = 0,
1: + FS_CONTEXT_CREATING = 1,
1: + FS_CONTEXT_AWAITING_MOUNT = 2,
1: + FS_CONTEXT_AWAITING_RECONF = 3,
1: + FS_CONTEXT_RECONF_PARAMS = 4,
1: + FS_CONTEXT_RECONFIGURING = 5,
1: + FS_CONTEXT_FAILED = 6,
1: };
1:
1: struct fs_context_operations;
1: @@ -28016,431 +28178,431 @@ struct fs_context_operations;
1: struct fc_log;
1:
1: struct fs_context {
1: - const struct fs_context_operations *ops;
1: - struct mutex uapi_mutex;
1: - struct file_system_type *fs_type;
1: - void *fs_private;
1: - void *sget_key;
1: - struct dentry *root;
1: - struct user_namespace *user_ns;
1: - struct net *net_ns;
1: - const struct cred *cred;
1: - struct fc_log *log;
1: - const char *source;
1: - void *security;
1: - void *s_fs_info;
1: - unsigned int sb_flags;
1: - unsigned int sb_flags_mask;
1: - unsigned int s_iflags;
1: - unsigned int lsm_flags;
1: - enum fs_context_purpose purpose: 8;
1: - enum fs_context_phase phase: 8;
1: - bool need_free: 1;
1: - bool global: 1;
1: + const struct fs_context_operations *ops;
1: + struct mutex uapi_mutex;
1: + struct file_system_type *fs_type;
1: + void *fs_private;
1: + void *sget_key;
1: + struct dentry *root;
1: + struct user_namespace *user_ns;
1: + struct net *net_ns;
1: + const struct cred *cred;
1: + struct fc_log *log;
1: + const char *source;
1: + void *security;
1: + void *s_fs_info;
1: + unsigned int sb_flags;
1: + unsigned int sb_flags_mask;
1: + unsigned int s_iflags;
1: + unsigned int lsm_flags;
1: + enum fs_context_purpose purpose : 8;
1: + enum fs_context_phase phase : 8;
1: + bool need_free : 1;
1: + bool global : 1;
1: };
1:
1: enum kernfs_node_type {
1: - KERNFS_DIR = 1,
1: - KERNFS_FILE = 2,
1: - KERNFS_LINK = 4,
1: + KERNFS_DIR = 1,
1: + KERNFS_FILE = 2,
1: + KERNFS_LINK = 4,
1: };
1:
1: enum kernfs_root_flag {
1: - KERNFS_ROOT_CREATE_DEACTIVATED = 1,
1: - KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK = 2,
1: - KERNFS_ROOT_SUPPORT_EXPORTOP = 4,
1: + KERNFS_ROOT_CREATE_DEACTIVATED = 1,
1: + KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK = 2,
1: + KERNFS_ROOT_SUPPORT_EXPORTOP = 4,
1: };
1:
1: struct kernfs_fs_context {
1: - struct kernfs_root *root;
1: - void *ns_tag;
1: - long unsigned int magic;
1: - bool new_sb_created;
1: + struct kernfs_root *root;
1: + void *ns_tag;
1: + long unsigned int magic;
1: + bool new_sb_created;
1: };
1:
1: enum {
1: - __PERCPU_REF_ATOMIC = 1,
1: - __PERCPU_REF_DEAD = 2,
1: - __PERCPU_REF_ATOMIC_DEAD = 3,
1: - __PERCPU_REF_FLAG_BITS = 2,
1: + __PERCPU_REF_ATOMIC = 1,
1: + __PERCPU_REF_DEAD = 2,
1: + __PERCPU_REF_ATOMIC_DEAD = 3,
1: + __PERCPU_REF_FLAG_BITS = 2,
1: };
1:
1: enum {
1: - CSS_NO_REF = 1,
1: - CSS_ONLINE = 2,
1: - CSS_RELEASED = 4,
1: - CSS_VISIBLE = 8,
1: - CSS_DYING = 16,
1: + CSS_NO_REF = 1,
1: + CSS_ONLINE = 2,
1: + CSS_RELEASED = 4,
1: + CSS_VISIBLE = 8,
1: + CSS_DYING = 16,
1: };
1:
1: enum {
1: - CGRP_NOTIFY_ON_RELEASE = 0,
1: - CGRP_CPUSET_CLONE_CHILDREN = 1,
1: - CGRP_FREEZE = 2,
1: - CGRP_FROZEN = 3,
1: + CGRP_NOTIFY_ON_RELEASE = 0,
1: + CGRP_CPUSET_CLONE_CHILDREN = 1,
1: + CGRP_FREEZE = 2,
1: + CGRP_FROZEN = 3,
1: };
1:
1: enum {
1: - CGRP_ROOT_NOPREFIX = 2,
1: - CGRP_ROOT_XATTR = 4,
1: - CGRP_ROOT_NS_DELEGATE = 8,
1: - CGRP_ROOT_CPUSET_V2_MODE = 16,
1: - CGRP_ROOT_MEMORY_LOCAL_EVENTS = 32,
1: + CGRP_ROOT_NOPREFIX = 2,
1: + CGRP_ROOT_XATTR = 4,
1: + CGRP_ROOT_NS_DELEGATE = 8,
1: + CGRP_ROOT_CPUSET_V2_MODE = 16,
1: + CGRP_ROOT_MEMORY_LOCAL_EVENTS = 32,
1: };
1:
1: struct cgroup_taskset {
1: - struct list_head src_csets;
1: - struct list_head dst_csets;
1: - int nr_tasks;
1: - int ssid;
1: - struct list_head *csets;
1: - struct css_set *cur_cset;
1: - struct task_struct *cur_task;
1: + struct list_head src_csets;
1: + struct list_head dst_csets;
1: + int nr_tasks;
1: + int ssid;
1: + struct list_head *csets;
1: + struct css_set *cur_cset;
1: + struct task_struct *cur_task;
1: };
1:
1: struct css_task_iter {
1: - struct cgroup_subsys *ss;
1: - unsigned int flags;
1: - struct list_head *cset_pos;
1: - struct list_head *cset_head;
1: - struct list_head *tcset_pos;
1: - struct list_head *tcset_head;
1: - struct list_head *task_pos;
1: - struct list_head *tasks_head;
1: - struct list_head *mg_tasks_head;
1: - struct list_head *dying_tasks_head;
1: - struct css_set *cur_cset;
1: - struct css_set *cur_dcset;
1: - struct task_struct *cur_task;
1: - struct list_head iters_node;
1: + struct cgroup_subsys *ss;
1: + unsigned int flags;
1: + struct list_head *cset_pos;
1: + struct list_head *cset_head;
1: + struct list_head *tcset_pos;
1: + struct list_head *tcset_head;
1: + struct list_head *task_pos;
1: + struct list_head *tasks_head;
1: + struct list_head *mg_tasks_head;
1: + struct list_head *dying_tasks_head;
1: + struct css_set *cur_cset;
1: + struct css_set *cur_dcset;
1: + struct task_struct *cur_task;
1: + struct list_head iters_node;
1: };
1:
1: enum fs_value_type {
1: - fs_value_is_undefined = 0,
1: - fs_value_is_flag = 1,
1: - fs_value_is_string = 2,
1: - fs_value_is_blob = 3,
1: - fs_value_is_filename = 4,
1: - fs_value_is_filename_empty = 5,
1: - fs_value_is_file = 6,
1: + fs_value_is_undefined = 0,
1: + fs_value_is_flag = 1,
1: + fs_value_is_string = 2,
1: + fs_value_is_blob = 3,
1: + fs_value_is_filename = 4,
1: + fs_value_is_filename_empty = 5,
1: + fs_value_is_file = 6,
1: };
1:
1: struct fs_parameter {
1: - const char *key;
1: - enum fs_value_type type: 8;
1: - union {
1: - char *string;
1: - void *blob;
1: - struct filename *name;
1: - struct file *file;
1: - };
1: - size_t size;
1: - int dirfd;
1: + const char *key;
1: + enum fs_value_type type : 8;
1: + union {
1: + char *string;
1: + void *blob;
1: + struct filename *name;
1: + struct file *file;
1: + };
1: + size_t size;
1: + int dirfd;
1: };
1:
1: struct fs_context_operations {
1: - void (*free)(struct fs_context *);
1: - int (*dup)(struct fs_context *, struct fs_context *);
1: - int (*parse_param)(struct fs_context *, struct fs_parameter *);
1: - int (*parse_monolithic)(struct fs_context *, void *);
1: - int (*get_tree)(struct fs_context *);
1: - int (*reconfigure)(struct fs_context *);
1: + void (*free)(struct fs_context *);
1: + int (*dup)(struct fs_context *, struct fs_context *);
1: + int (*parse_param)(struct fs_context *, struct fs_parameter *);
1: + int (*parse_monolithic)(struct fs_context *, void *);
1: + int (*get_tree)(struct fs_context *);
1: + int (*reconfigure)(struct fs_context *);
1: };
1:
1: struct fc_log {
1: - refcount_t usage;
1: - u8 head;
1: - u8 tail;
1: - u8 need_free;
1: - struct module *owner;
1: - char *buffer[8];
1: + refcount_t usage;
1: + u8 head;
1: + u8 tail;
1: + u8 need_free;
1: + struct module *owner;
1: + char *buffer[8];
1: };
1:
1: struct cgroup_fs_context {
1: - struct kernfs_fs_context kfc;
1: - struct cgroup_root *root;
1: - struct cgroup_namespace *ns;
1: - unsigned int flags;
1: - bool cpuset_clone_children;
1: - bool none;
1: - bool all_ss;
1: - u16 subsys_mask;
1: - char *name;
1: - char *release_agent;
1: + struct kernfs_fs_context kfc;
1: + struct cgroup_root *root;
1: + struct cgroup_namespace *ns;
1: + unsigned int flags;
1: + bool cpuset_clone_children;
1: + bool none;
1: + bool all_ss;
1: + u16 subsys_mask;
1: + char *name;
1: + char *release_agent;
1: };
1:
1: struct cgrp_cset_link {
1: - struct cgroup *cgrp;
1: - struct css_set *cset;
1: - struct list_head cset_link;
1: - struct list_head cgrp_link;
1: + struct cgroup *cgrp;
1: + struct css_set *cset;
1: + struct list_head cset_link;
1: + struct list_head cgrp_link;
1: };
1:
1: struct cgroup_mgctx {
1: - struct list_head preloaded_src_csets;
1: - struct list_head preloaded_dst_csets;
1: - struct cgroup_taskset tset;
1: - u16 ss_mask;
1: + struct list_head preloaded_src_csets;
1: + struct list_head preloaded_dst_csets;
1: + struct cgroup_taskset tset;
1: + u16 ss_mask;
1: };
1:
1: enum fs_parameter_type {
1: - __fs_param_wasnt_defined = 0,
1: - fs_param_is_flag = 1,
1: - fs_param_is_bool = 2,
1: - fs_param_is_u32 = 3,
1: - fs_param_is_u32_octal = 4,
1: - fs_param_is_u32_hex = 5,
1: - fs_param_is_s32 = 6,
1: - fs_param_is_u64 = 7,
1: - fs_param_is_enum = 8,
1: - fs_param_is_string = 9,
1: - fs_param_is_blob = 10,
1: - fs_param_is_blockdev = 11,
1: - fs_param_is_path = 12,
1: - fs_param_is_fd = 13,
1: - nr__fs_parameter_type = 14,
1: + __fs_param_wasnt_defined = 0,
1: + fs_param_is_flag = 1,
1: + fs_param_is_bool = 2,
1: + fs_param_is_u32 = 3,
1: + fs_param_is_u32_octal = 4,
1: + fs_param_is_u32_hex = 5,
1: + fs_param_is_s32 = 6,
1: + fs_param_is_u64 = 7,
1: + fs_param_is_enum = 8,
1: + fs_param_is_string = 9,
1: + fs_param_is_blob = 10,
1: + fs_param_is_blockdev = 11,
1: + fs_param_is_path = 12,
1: + fs_param_is_fd = 13,
1: + nr__fs_parameter_type = 14,
1: };
1:
1: struct fs_parameter_spec {
1: - const char *name;
1: - u8 opt;
1: - enum fs_parameter_type type: 8;
1: - short unsigned int flags;
1: + const char *name;
1: + u8 opt;
1: + enum fs_parameter_type type : 8;
1: + short unsigned int flags;
1: };
1:
1: struct fs_parameter_enum {
1: - u8 opt;
1: - char name[14];
1: - u8 value;
1: + u8 opt;
1: + char name[14];
1: + u8 value;
1: };
1:
1: struct fs_parse_result {
1: - bool negated;
1: - bool has_value;
1: - union {
1: - bool boolean;
1: - int int_32;
1: - unsigned int uint_32;
1: - u64 uint_64;
1: - };
1: + bool negated;
1: + bool has_value;
1: + union {
1: + bool boolean;
1: + int int_32;
1: + unsigned int uint_32;
1: + u64 uint_64;
1: + };
1: };
1:
1: struct trace_event_raw_cgroup_root {
1: - struct trace_entry ent;
1: - int root;
1: - u16 ss_mask;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int root;
1: + u16 ss_mask;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cgroup {
1: - struct trace_entry ent;
1: - int root;
1: - int id;
1: - int level;
1: - u32 __data_loc_path;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int root;
1: + int id;
1: + int level;
1: + u32 __data_loc_path;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cgroup_migrate {
1: - struct trace_entry ent;
1: - int dst_root;
1: - int dst_id;
1: - int dst_level;
1: - int pid;
1: - u32 __data_loc_dst_path;
1: - u32 __data_loc_comm;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int dst_root;
1: + int dst_id;
1: + int dst_level;
1: + int pid;
1: + u32 __data_loc_dst_path;
1: + u32 __data_loc_comm;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cgroup_event {
1: - struct trace_entry ent;
1: - int root;
1: - int id;
1: - int level;
1: - u32 __data_loc_path;
1: - int val;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int root;
1: + int id;
1: + int level;
1: + u32 __data_loc_path;
1: + int val;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_cgroup_root {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_cgroup {
1: - u32 path;
1: + u32 path;
1: };
1:
1: struct trace_event_data_offsets_cgroup_migrate {
1: - u32 dst_path;
1: - u32 comm;
1: + u32 dst_path;
1: + u32 comm;
1: };
1:
1: struct trace_event_data_offsets_cgroup_event {
1: - u32 path;
1: + u32 path;
1: };
1:
1: enum cgroup2_param {
1: - Opt_nsdelegate = 0,
1: - Opt_memory_localevents = 1,
1: - nr__cgroup2_params = 2,
1: + Opt_nsdelegate = 0,
1: + Opt_memory_localevents = 1,
1: + nr__cgroup2_params = 2,
1: };
1:
1: struct cgroupstats {
1: - __u64 nr_sleeping;
1: - __u64 nr_running;
1: - __u64 nr_stopped;
1: - __u64 nr_uninterruptible;
1: - __u64 nr_io_wait;
1: + __u64 nr_sleeping;
1: + __u64 nr_running;
1: + __u64 nr_stopped;
1: + __u64 nr_uninterruptible;
1: + __u64 nr_io_wait;
1: };
1:
1: enum cgroup_filetype {
1: - CGROUP_FILE_PROCS = 0,
1: - CGROUP_FILE_TASKS = 1,
1: + CGROUP_FILE_PROCS = 0,
1: + CGROUP_FILE_TASKS = 1,
1: };
1:
1: struct cgroup_pidlist {
1: - struct {
1: - enum cgroup_filetype type;
1: - struct pid_namespace *ns;
1: - } key;
1: - pid_t *list;
1: - int length;
1: - struct list_head links;
1: - struct cgroup *owner;
1: - struct delayed_work destroy_dwork;
1: + struct {
1: + enum cgroup_filetype type;
1: + struct pid_namespace *ns;
1: + } key;
1: + pid_t *list;
1: + int length;
1: + struct list_head links;
1: + struct cgroup *owner;
1: + struct delayed_work destroy_dwork;
1: };
1:
1: enum cgroup1_param {
1: - Opt_all = 0,
1: - Opt_clone_children = 1,
1: - Opt_cpuset_v2_mode = 2,
1: - Opt_name = 3,
1: - Opt_none = 4,
1: - Opt_noprefix = 5,
1: - Opt_release_agent = 6,
1: - Opt_xattr = 7,
1: + Opt_all = 0,
1: + Opt_clone_children = 1,
1: + Opt_cpuset_v2_mode = 2,
1: + Opt_name = 3,
1: + Opt_none = 4,
1: + Opt_noprefix = 5,
1: + Opt_release_agent = 6,
1: + Opt_xattr = 7,
1: };
1:
1: enum freezer_state_flags {
1: - CGROUP_FREEZER_ONLINE = 1,
1: - CGROUP_FREEZING_SELF = 2,
1: - CGROUP_FREEZING_PARENT = 4,
1: - CGROUP_FROZEN = 8,
1: - CGROUP_FREEZING = 6,
1: + CGROUP_FREEZER_ONLINE = 1,
1: + CGROUP_FREEZING_SELF = 2,
1: + CGROUP_FREEZING_PARENT = 4,
1: + CGROUP_FROZEN = 8,
1: + CGROUP_FREEZING = 6,
1: };
1:
1: struct freezer {
1: - struct cgroup_subsys_state css;
1: - unsigned int state;
1: + struct cgroup_subsys_state css;
1: + unsigned int state;
1: };
1:
1: struct fmeter {
1: - int cnt;
1: - int val;
1: - time64_t time;
1: - spinlock_t lock;
1: + int cnt;
1: + int val;
1: + time64_t time;
1: + spinlock_t lock;
1: };
1:
1: struct cpuset {
1: - struct cgroup_subsys_state css;
1: - long unsigned int flags;
1: - cpumask_var_t cpus_allowed;
1: - nodemask_t mems_allowed;
1: - cpumask_var_t effective_cpus;
1: - nodemask_t effective_mems;
1: - cpumask_var_t subparts_cpus;
1: - nodemask_t old_mems_allowed;
1: - struct fmeter fmeter;
1: - int attach_in_progress;
1: - int pn;
1: - int relax_domain_level;
1: - int nr_subparts_cpus;
1: - int partition_root_state;
1: - int use_parent_ecpus;
1: - int child_ecpus_count;
1: + struct cgroup_subsys_state css;
1: + long unsigned int flags;
1: + cpumask_var_t cpus_allowed;
1: + nodemask_t mems_allowed;
1: + cpumask_var_t effective_cpus;
1: + nodemask_t effective_mems;
1: + cpumask_var_t subparts_cpus;
1: + nodemask_t old_mems_allowed;
1: + struct fmeter fmeter;
1: + int attach_in_progress;
1: + int pn;
1: + int relax_domain_level;
1: + int nr_subparts_cpus;
1: + int partition_root_state;
1: + int use_parent_ecpus;
1: + int child_ecpus_count;
1: };
1:
1: struct tmpmasks {
1: - cpumask_var_t addmask;
1: - cpumask_var_t delmask;
1: - cpumask_var_t new_cpus;
1: + cpumask_var_t addmask;
1: + cpumask_var_t delmask;
1: + cpumask_var_t new_cpus;
1: };
1:
1: typedef enum {
1: - CS_ONLINE = 0,
1: - CS_CPU_EXCLUSIVE = 1,
1: - CS_MEM_EXCLUSIVE = 2,
1: - CS_MEM_HARDWALL = 3,
1: - CS_MEMORY_MIGRATE = 4,
1: - CS_SCHED_LOAD_BALANCE = 5,
1: - CS_SPREAD_PAGE = 6,
1: - CS_SPREAD_SLAB = 7,
1: + CS_ONLINE = 0,
1: + CS_CPU_EXCLUSIVE = 1,
1: + CS_MEM_EXCLUSIVE = 2,
1: + CS_MEM_HARDWALL = 3,
1: + CS_MEMORY_MIGRATE = 4,
1: + CS_SCHED_LOAD_BALANCE = 5,
1: + CS_SPREAD_PAGE = 6,
1: + CS_SPREAD_SLAB = 7,
1: } cpuset_flagbits_t;
1:
1: enum subparts_cmd {
1: - partcmd_enable = 0,
1: - partcmd_disable = 1,
1: - partcmd_update = 2,
1: + partcmd_enable = 0,
1: + partcmd_disable = 1,
1: + partcmd_update = 2,
1: };
1:
1: struct cpuset_migrate_mm_work {
1: - struct work_struct work;
1: - struct mm_struct *mm;
1: - nodemask_t from;
1: - nodemask_t to;
1: + struct work_struct work;
1: + struct mm_struct *mm;
1: + nodemask_t from;
1: + nodemask_t to;
1: };
1:
1: typedef enum {
1: - FILE_MEMORY_MIGRATE = 0,
1: - FILE_CPULIST = 1,
1: - FILE_MEMLIST = 2,
1: - FILE_EFFECTIVE_CPULIST = 3,
1: - FILE_EFFECTIVE_MEMLIST = 4,
1: - FILE_SUBPARTS_CPULIST = 5,
1: - FILE_CPU_EXCLUSIVE = 6,
1: - FILE_MEM_EXCLUSIVE = 7,
1: - FILE_MEM_HARDWALL = 8,
1: - FILE_SCHED_LOAD_BALANCE = 9,
1: - FILE_PARTITION_ROOT = 10,
1: - FILE_SCHED_RELAX_DOMAIN_LEVEL = 11,
1: - FILE_MEMORY_PRESSURE_ENABLED = 12,
1: - FILE_MEMORY_PRESSURE = 13,
1: - FILE_SPREAD_PAGE = 14,
1: - FILE_SPREAD_SLAB = 15,
1: + FILE_MEMORY_MIGRATE = 0,
1: + FILE_CPULIST = 1,
1: + FILE_MEMLIST = 2,
1: + FILE_EFFECTIVE_CPULIST = 3,
1: + FILE_EFFECTIVE_MEMLIST = 4,
1: + FILE_SUBPARTS_CPULIST = 5,
1: + FILE_CPU_EXCLUSIVE = 6,
1: + FILE_MEM_EXCLUSIVE = 7,
1: + FILE_MEM_HARDWALL = 8,
1: + FILE_SCHED_LOAD_BALANCE = 9,
1: + FILE_PARTITION_ROOT = 10,
1: + FILE_SCHED_RELAX_DOMAIN_LEVEL = 11,
1: + FILE_MEMORY_PRESSURE_ENABLED = 12,
1: + FILE_MEMORY_PRESSURE = 13,
1: + FILE_SPREAD_PAGE = 14,
1: + FILE_SPREAD_SLAB = 15,
1: } cpuset_filetype_t;
1:
1: struct root_domain___2;
1:
1: struct cpu_stop_done {
1: - atomic_t nr_todo;
1: - int ret;
1: - struct completion completion;
1: + atomic_t nr_todo;
1: + int ret;
1: + struct completion completion;
1: };
1:
1: struct cpu_stopper {
1: - struct task_struct *thread;
1: - raw_spinlock_t lock;
1: - bool enabled;
1: - struct list_head works;
1: - struct cpu_stop_work stop_work;
1: + struct task_struct *thread;
1: + raw_spinlock_t lock;
1: + bool enabled;
1: + struct list_head works;
1: + struct cpu_stop_work stop_work;
1: };
1:
1: enum multi_stop_state {
1: - MULTI_STOP_NONE = 0,
1: - MULTI_STOP_PREPARE = 1,
1: - MULTI_STOP_DISABLE_IRQ = 2,
1: - MULTI_STOP_RUN = 3,
1: - MULTI_STOP_EXIT = 4,
1: + MULTI_STOP_NONE = 0,
1: + MULTI_STOP_PREPARE = 1,
1: + MULTI_STOP_DISABLE_IRQ = 2,
1: + MULTI_STOP_RUN = 3,
1: + MULTI_STOP_EXIT = 4,
1: };
1:
1: struct multi_stop_data {
1: - cpu_stop_fn_t fn;
1: - void *data;
1: - unsigned int num_threads;
1: - const struct cpumask *active_cpus;
1: - enum multi_stop_state state;
1: - atomic_t thread_ack;
1: + cpu_stop_fn_t fn;
1: + void *data;
1: + unsigned int num_threads;
1: + const struct cpumask *active_cpus;
1: + enum multi_stop_state state;
1: + atomic_t thread_ack;
1: };
1:
1: typedef int __kernel_mqd_t;
1: @@ -28448,51 +28610,51 @@ typedef int __kernel_mqd_t;
1: typedef __kernel_mqd_t mqd_t;
1:
1: enum audit_state {
1: - AUDIT_DISABLED = 0,
1: - AUDIT_BUILD_CONTEXT = 1,
1: - AUDIT_RECORD_CONTEXT = 2,
1: + AUDIT_DISABLED = 0,
1: + AUDIT_BUILD_CONTEXT = 1,
1: + AUDIT_RECORD_CONTEXT = 2,
1: };
1:
1: struct audit_cap_data {
1: - kernel_cap_t permitted;
1: - kernel_cap_t inheritable;
1: - union {
1: - unsigned int fE;
1: - kernel_cap_t effective;
1: - };
1: - kernel_cap_t ambient;
1: - kuid_t rootid;
1: + kernel_cap_t permitted;
1: + kernel_cap_t inheritable;
1: + union {
1: + unsigned int fE;
1: + kernel_cap_t effective;
1: + };
1: + kernel_cap_t ambient;
1: + kuid_t rootid;
1: };
1:
1: struct audit_names {
1: - struct list_head list;
1: - struct filename *name;
1: - int name_len;
1: - bool hidden;
1: - long unsigned int ino;
1: - dev_t dev;
1: - umode_t mode;
1: - kuid_t uid;
1: - kgid_t gid;
1: - dev_t rdev;
1: - u32 osid;
1: - struct audit_cap_data fcap;
1: - unsigned int fcap_ver;
1: - unsigned char type;
1: - bool should_free;
1: + struct list_head list;
1: + struct filename *name;
1: + int name_len;
1: + bool hidden;
1: + long unsigned int ino;
1: + dev_t dev;
1: + umode_t mode;
1: + kuid_t uid;
1: + kgid_t gid;
1: + dev_t rdev;
1: + u32 osid;
1: + struct audit_cap_data fcap;
1: + unsigned int fcap_ver;
1: + unsigned char type;
1: + bool should_free;
1: };
1:
1: struct mq_attr {
1: - __kernel_long_t mq_flags;
1: - __kernel_long_t mq_maxmsg;
1: - __kernel_long_t mq_msgsize;
1: - __kernel_long_t mq_curmsgs;
1: - __kernel_long_t __reserved[4];
1: + __kernel_long_t mq_flags;
1: + __kernel_long_t mq_maxmsg;
1: + __kernel_long_t mq_msgsize;
1: + __kernel_long_t mq_curmsgs;
1: + __kernel_long_t __reserved[4];
1: };
1:
1: struct audit_proctitle {
1: - int len;
1: - char *value;
1: + int len;
1: + char *value;
1: };
1:
1: struct audit_aux_data;
1: @@ -28502,255 +28664,255 @@ struct __kernel_sockaddr_storage;
1: struct audit_tree_refs;
1:
1: struct audit_context {
1: - int dummy;
1: - int in_syscall;
1: - enum audit_state state;
1: - enum audit_state current_state;
1: - unsigned int serial;
1: - int major;
1: - struct timespec64 ctime;
1: - long unsigned int argv[4];
1: - long int return_code;
1: - u64 prio;
1: - int return_valid;
1: - struct audit_names preallocated_names[5];
1: - int name_count;
1: - struct list_head names_list;
1: - char *filterkey;
1: - struct path pwd;
1: - struct audit_aux_data *aux;
1: - struct audit_aux_data *aux_pids;
1: - struct __kernel_sockaddr_storage *sockaddr;
1: - size_t sockaddr_len;
1: - pid_t pid;
1: - pid_t ppid;
1: - kuid_t uid;
1: - kuid_t euid;
1: - kuid_t suid;
1: - kuid_t fsuid;
1: - kgid_t gid;
1: - kgid_t egid;
1: - kgid_t sgid;
1: - kgid_t fsgid;
1: - long unsigned int personality;
1: - int arch;
1: - pid_t target_pid;
1: - kuid_t target_auid;
1: - kuid_t target_uid;
1: - unsigned int target_sessionid;
1: - u32 target_sid;
1: - char target_comm[16];
1: - struct audit_tree_refs *trees;
1: - struct audit_tree_refs *first_trees;
1: - struct list_head killed_trees;
1: - int tree_count;
1: - int type;
1: - union {
1: - struct {
1: - int nargs;
1: - long int args[6];
1: - } socketcall;
1: - struct {
1: - kuid_t uid;
1: - kgid_t gid;
1: - umode_t mode;
1: - u32 osid;
1: - int has_perm;
1: - uid_t perm_uid;
1: - gid_t perm_gid;
1: - umode_t perm_mode;
1: - long unsigned int qbytes;
1: - } ipc;
1: - struct {
1: - mqd_t mqdes;
1: - struct mq_attr mqstat;
1: - } mq_getsetattr;
1: - struct {
1: - mqd_t mqdes;
1: - int sigev_signo;
1: - } mq_notify;
1: - struct {
1: - mqd_t mqdes;
1: - size_t msg_len;
1: - unsigned int msg_prio;
1: - struct timespec64 abs_timeout;
1: - } mq_sendrecv;
1: - struct {
1: - int oflag;
1: - umode_t mode;
1: - struct mq_attr attr;
1: - } mq_open;
1: - struct {
1: - pid_t pid;
1: - struct audit_cap_data cap;
1: - } capset;
1: - struct {
1: - int fd;
1: - int flags;
1: - } mmap;
1: - struct {
1: - int argc;
1: - } execve;
1: - struct {
1: - char *name;
1: - } module;
1: - };
1: - int fds[2];
1: - struct audit_proctitle proctitle;
1: + int dummy;
1: + int in_syscall;
1: + enum audit_state state;
1: + enum audit_state current_state;
1: + unsigned int serial;
1: + int major;
1: + struct timespec64 ctime;
1: + long unsigned int argv[4];
1: + long int return_code;
1: + u64 prio;
1: + int return_valid;
1: + struct audit_names preallocated_names[5];
1: + int name_count;
1: + struct list_head names_list;
1: + char *filterkey;
1: + struct path pwd;
1: + struct audit_aux_data *aux;
1: + struct audit_aux_data *aux_pids;
1: + struct __kernel_sockaddr_storage *sockaddr;
1: + size_t sockaddr_len;
1: + pid_t pid;
1: + pid_t ppid;
1: + kuid_t uid;
1: + kuid_t euid;
1: + kuid_t suid;
1: + kuid_t fsuid;
1: + kgid_t gid;
1: + kgid_t egid;
1: + kgid_t sgid;
1: + kgid_t fsgid;
1: + long unsigned int personality;
1: + int arch;
1: + pid_t target_pid;
1: + kuid_t target_auid;
1: + kuid_t target_uid;
1: + unsigned int target_sessionid;
1: + u32 target_sid;
1: + char target_comm[16];
1: + struct audit_tree_refs *trees;
1: + struct audit_tree_refs *first_trees;
1: + struct list_head killed_trees;
1: + int tree_count;
1: + int type;
1: + union {
1: + struct {
1: + int nargs;
1: + long int args[6];
1: + } socketcall;
1: + struct {
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: + u32 osid;
1: + int has_perm;
1: + uid_t perm_uid;
1: + gid_t perm_gid;
1: + umode_t perm_mode;
1: + long unsigned int qbytes;
1: + } ipc;
1: + struct {
1: + mqd_t mqdes;
1: + struct mq_attr mqstat;
1: + } mq_getsetattr;
1: + struct {
1: + mqd_t mqdes;
1: + int sigev_signo;
1: + } mq_notify;
1: + struct {
1: + mqd_t mqdes;
1: + size_t msg_len;
1: + unsigned int msg_prio;
1: + struct timespec64 abs_timeout;
1: + } mq_sendrecv;
1: + struct {
1: + int oflag;
1: + umode_t mode;
1: + struct mq_attr attr;
1: + } mq_open;
1: + struct {
1: + pid_t pid;
1: + struct audit_cap_data cap;
1: + } capset;
1: + struct {
1: + int fd;
1: + int flags;
1: + } mmap;
1: + struct {
1: + int argc;
1: + } execve;
1: + struct {
1: + char *name;
1: + } module;
1: + };
1: + int fds[2];
1: + struct audit_proctitle proctitle;
1: };
1:
1: enum audit_nlgrps {
1: - AUDIT_NLGRP_NONE = 0,
1: - AUDIT_NLGRP_READLOG = 1,
1: - __AUDIT_NLGRP_MAX = 2,
1: + AUDIT_NLGRP_NONE = 0,
1: + AUDIT_NLGRP_READLOG = 1,
1: + __AUDIT_NLGRP_MAX = 2,
1: };
1:
1: struct audit_status {
1: - __u32 mask;
1: - __u32 enabled;
1: - __u32 failure;
1: - __u32 pid;
1: - __u32 rate_limit;
1: - __u32 backlog_limit;
1: - __u32 lost;
1: - __u32 backlog;
1: - union {
1: - __u32 version;
1: - __u32 feature_bitmap;
1: - };
1: - __u32 backlog_wait_time;
1: + __u32 mask;
1: + __u32 enabled;
1: + __u32 failure;
1: + __u32 pid;
1: + __u32 rate_limit;
1: + __u32 backlog_limit;
1: + __u32 lost;
1: + __u32 backlog;
1: + union {
1: + __u32 version;
1: + __u32 feature_bitmap;
1: + };
1: + __u32 backlog_wait_time;
1: };
1:
1: struct audit_features {
1: - __u32 vers;
1: - __u32 mask;
1: - __u32 features;
1: - __u32 lock;
1: + __u32 vers;
1: + __u32 mask;
1: + __u32 features;
1: + __u32 lock;
1: };
1:
1: struct audit_tty_status {
1: - __u32 enabled;
1: - __u32 log_passwd;
1: + __u32 enabled;
1: + __u32 log_passwd;
1: };
1:
1: struct audit_sig_info {
1: - uid_t uid;
1: - pid_t pid;
1: - char ctx[0];
1: + uid_t uid;
1: + pid_t pid;
1: + char ctx[0];
1: };
1:
1: struct __kernel_sockaddr_storage {
1: - union {
1: - struct {
1: - __kernel_sa_family_t ss_family;
1: - char __data[126];
1: - };
1: - void *__align;
1: - };
1: + union {
1: + struct {
1: + __kernel_sa_family_t ss_family;
1: + char __data[126];
1: + };
1: + void *__align;
1: + };
1: };
1:
1: struct net_generic {
1: - union {
1: - struct {
1: - unsigned int len;
1: - struct callback_head rcu;
1: - } s;
1: - void *ptr[0];
1: - };
1: + union {
1: + struct {
1: + unsigned int len;
1: + struct callback_head rcu;
1: + } s;
1: + void *ptr[0];
1: + };
1: };
1:
1: struct pernet_operations {
1: - struct list_head list;
1: - int (*init)(struct net *);
1: - void (*pre_exit)(struct net *);
1: - void (*exit)(struct net *);
1: - void (*exit_batch)(struct list_head *);
1: - unsigned int *id;
1: - size_t size;
1: + struct list_head list;
1: + int (*init)(struct net *);
1: + void (*pre_exit)(struct net *);
1: + void (*exit)(struct net *);
1: + void (*exit_batch)(struct list_head *);
1: + unsigned int *id;
1: + size_t size;
1: };
1:
1: struct scm_creds {
1: - u32 pid;
1: - kuid_t uid;
1: - kgid_t gid;
1: + u32 pid;
1: + kuid_t uid;
1: + kgid_t gid;
1: };
1:
1: struct netlink_skb_parms {
1: - struct scm_creds creds;
1: - __u32 portid;
1: - __u32 dst_group;
1: - __u32 flags;
1: - struct sock *sk;
1: - bool nsid_is_set;
1: - int nsid;
1: + struct scm_creds creds;
1: + __u32 portid;
1: + __u32 dst_group;
1: + __u32 flags;
1: + struct sock *sk;
1: + bool nsid_is_set;
1: + int nsid;
1: };
1:
1: struct netlink_kernel_cfg {
1: - unsigned int groups;
1: - unsigned int flags;
1: - void (*input)(struct sk_buff *);
1: - struct mutex *cb_mutex;
1: - int (*bind)(struct net *, int);
1: - void (*unbind)(struct net *, int);
1: - bool (*compare)(struct net *, struct sock *);
1: + unsigned int groups;
1: + unsigned int flags;
1: + void (*input)(struct sk_buff *);
1: + struct mutex *cb_mutex;
1: + int (*bind)(struct net *, int);
1: + void (*unbind)(struct net *, int);
1: + bool (*compare)(struct net *, struct sock *);
1: };
1:
1: struct audit_netlink_list {
1: - __u32 portid;
1: - struct net *net;
1: - struct sk_buff_head q;
1: + __u32 portid;
1: + struct net *net;
1: + struct sk_buff_head q;
1: };
1:
1: struct audit_net {
1: - struct sock *sk;
1: + struct sock *sk;
1: };
1:
1: struct auditd_connection {
1: - struct pid *pid;
1: - u32 portid;
1: - struct net *net;
1: - struct callback_head rcu;
1: + struct pid *pid;
1: + u32 portid;
1: + struct net *net;
1: + struct callback_head rcu;
1: };
1:
1: struct audit_ctl_mutex {
1: - struct mutex lock;
1: - void *owner;
1: + struct mutex lock;
1: + void *owner;
1: };
1:
1: struct audit_buffer {
1: - struct sk_buff *skb;
1: - struct audit_context *ctx;
1: - gfp_t gfp_mask;
1: + struct sk_buff *skb;
1: + struct audit_context *ctx;
1: + gfp_t gfp_mask;
1: };
1:
1: struct audit_reply {
1: - __u32 portid;
1: - struct net *net;
1: - struct sk_buff *skb;
1: + __u32 portid;
1: + struct net *net;
1: + struct sk_buff *skb;
1: };
1:
1: enum {
1: - Audit_equal = 0,
1: - Audit_not_equal = 1,
1: - Audit_bitmask = 2,
1: - Audit_bittest = 3,
1: - Audit_lt = 4,
1: - Audit_gt = 5,
1: - Audit_le = 6,
1: - Audit_ge = 7,
1: - Audit_bad = 8,
1: + Audit_equal = 0,
1: + Audit_not_equal = 1,
1: + Audit_bitmask = 2,
1: + Audit_bittest = 3,
1: + Audit_lt = 4,
1: + Audit_gt = 5,
1: + Audit_le = 6,
1: + Audit_ge = 7,
1: + Audit_bad = 8,
1: };
1:
1: struct audit_rule_data {
1: - __u32 flags;
1: - __u32 action;
1: - __u32 field_count;
1: - __u32 mask[64];
1: - __u32 fields[64];
1: - __u32 values[64];
1: - __u32 fieldflags[64];
1: - __u32 buflen;
1: - char buf[0];
1: + __u32 flags;
1: + __u32 action;
1: + __u32 field_count;
1: + __u32 mask[64];
1: + __u32 fields[64];
1: + __u32 values[64];
1: + __u32 fieldflags[64];
1: + __u32 buflen;
1: + char buf[0];
1: };
1:
1: struct audit_field;
1: @@ -28762,43 +28924,43 @@ struct audit_tree;
1: struct audit_fsnotify_mark;
1:
1: struct audit_krule {
1: - u32 pflags;
1: - u32 flags;
1: - u32 listnr;
1: - u32 action;
1: - u32 mask[64];
1: - u32 buflen;
1: - u32 field_count;
1: - char *filterkey;
1: - struct audit_field *fields;
1: - struct audit_field *arch_f;
1: - struct audit_field *inode_f;
1: - struct audit_watch *watch;
1: - struct audit_tree *tree;
1: - struct audit_fsnotify_mark *exe;
1: - struct list_head rlist;
1: - struct list_head list;
1: - u64 prio;
1: + u32 pflags;
1: + u32 flags;
1: + u32 listnr;
1: + u32 action;
1: + u32 mask[64];
1: + u32 buflen;
1: + u32 field_count;
1: + char *filterkey;
1: + struct audit_field *fields;
1: + struct audit_field *arch_f;
1: + struct audit_field *inode_f;
1: + struct audit_watch *watch;
1: + struct audit_tree *tree;
1: + struct audit_fsnotify_mark *exe;
1: + struct list_head rlist;
1: + struct list_head list;
1: + u64 prio;
1: };
1:
1: struct audit_field {
1: - u32 type;
1: - union {
1: - u32 val;
1: - kuid_t uid;
1: - kgid_t gid;
1: - struct {
1: - char *lsm_str;
1: - void *lsm_rule;
1: - };
1: - };
1: - u32 op;
1: + u32 type;
1: + union {
1: + u32 val;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct {
1: + char *lsm_str;
1: + void *lsm_rule;
1: + };
1: + };
1: + u32 op;
1: };
1:
1: struct audit_entry {
1: - struct list_head list;
1: - struct callback_head rcu;
1: - struct audit_krule rule;
1: + struct list_head list;
1: + struct callback_head rcu;
1: + struct audit_krule rule;
1: };
1:
1: struct audit_buffer___2;
1: @@ -28808,98 +28970,98 @@ typedef int __kernel_key_t;
1: typedef __kernel_key_t key_t;
1:
1: struct cpu_vfs_cap_data {
1: - __u32 magic_etc;
1: - kernel_cap_t permitted;
1: - kernel_cap_t inheritable;
1: - kuid_t rootid;
1: + __u32 magic_etc;
1: + kernel_cap_t permitted;
1: + kernel_cap_t inheritable;
1: + kuid_t rootid;
1: };
1:
1: struct kern_ipc_perm {
1: - spinlock_t lock;
1: - bool deleted;
1: - int id;
1: - key_t key;
1: - kuid_t uid;
1: - kgid_t gid;
1: - kuid_t cuid;
1: - kgid_t cgid;
1: - umode_t mode;
1: - long unsigned int seq;
1: - void *security;
1: - struct rhash_head khtnode;
1: - struct callback_head rcu;
1: - refcount_t refcount;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + spinlock_t lock;
1: + bool deleted;
1: + int id;
1: + key_t key;
1: + kuid_t uid;
1: + kgid_t gid;
1: + kuid_t cuid;
1: + kgid_t cgid;
1: + umode_t mode;
1: + long unsigned int seq;
1: + void *security;
1: + struct rhash_head khtnode;
1: + struct callback_head rcu;
1: + refcount_t refcount;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: typedef struct fsnotify_mark_connector *fsnotify_connp_t;
1:
1: struct fsnotify_mark_connector {
1: - spinlock_t lock;
1: - short unsigned int type;
1: - short unsigned int flags;
1: - __kernel_fsid_t fsid;
1: - union {
1: - fsnotify_connp_t *obj;
1: - struct fsnotify_mark_connector *destroy_next;
1: - };
1: - struct hlist_head list;
1: + spinlock_t lock;
1: + short unsigned int type;
1: + short unsigned int flags;
1: + __kernel_fsid_t fsid;
1: + union {
1: + fsnotify_connp_t *obj;
1: + struct fsnotify_mark_connector *destroy_next;
1: + };
1: + struct hlist_head list;
1: };
1:
1: enum fsnotify_obj_type {
1: - FSNOTIFY_OBJ_TYPE_INODE = 0,
1: - FSNOTIFY_OBJ_TYPE_VFSMOUNT = 1,
1: - FSNOTIFY_OBJ_TYPE_SB = 2,
1: - FSNOTIFY_OBJ_TYPE_COUNT = 3,
1: - FSNOTIFY_OBJ_TYPE_DETACHED = 3,
1: + FSNOTIFY_OBJ_TYPE_INODE = 0,
1: + FSNOTIFY_OBJ_TYPE_VFSMOUNT = 1,
1: + FSNOTIFY_OBJ_TYPE_SB = 2,
1: + FSNOTIFY_OBJ_TYPE_COUNT = 3,
1: + FSNOTIFY_OBJ_TYPE_DETACHED = 3,
1: };
1:
1: struct audit_aux_data {
1: - struct audit_aux_data *next;
1: - int type;
1: + struct audit_aux_data *next;
1: + int type;
1: };
1:
1: struct audit_chunk;
1:
1: struct audit_tree_refs {
1: - struct audit_tree_refs *next;
1: - struct audit_chunk *c[31];
1: + struct audit_tree_refs *next;
1: + struct audit_chunk *c[31];
1: };
1:
1: struct audit_aux_data_pids {
1: - struct audit_aux_data d;
1: - pid_t target_pid[16];
1: - kuid_t target_auid[16];
1: - kuid_t target_uid[16];
1: - unsigned int target_sessionid[16];
1: - u32 target_sid[16];
1: - char target_comm[256];
1: - int pid_count;
1: + struct audit_aux_data d;
1: + pid_t target_pid[16];
1: + kuid_t target_auid[16];
1: + kuid_t target_uid[16];
1: + unsigned int target_sessionid[16];
1: + u32 target_sid[16];
1: + char target_comm[256];
1: + int pid_count;
1: };
1:
1: struct audit_aux_data_bprm_fcaps {
1: - struct audit_aux_data d;
1: - struct audit_cap_data fcap;
1: - unsigned int fcap_ver;
1: - struct audit_cap_data old_pcap;
1: - struct audit_cap_data new_pcap;
1: + struct audit_aux_data d;
1: + struct audit_cap_data fcap;
1: + unsigned int fcap_ver;
1: + struct audit_cap_data old_pcap;
1: + struct audit_cap_data new_pcap;
1: };
1:
1: struct audit_parent;
1:
1: struct audit_watch {
1: - refcount_t count;
1: - dev_t dev;
1: - char *path;
1: - long unsigned int ino;
1: - struct audit_parent *parent;
1: - struct list_head wlist;
1: - struct list_head rules;
1: + refcount_t count;
1: + dev_t dev;
1: + char *path;
1: + long unsigned int ino;
1: + struct audit_parent *parent;
1: + struct list_head wlist;
1: + struct list_head rules;
1: };
1:
1: struct fsnotify_group;
1: @@ -28911,371 +29073,374 @@ struct fsnotify_mark;
1: struct fsnotify_event;
1:
1: struct fsnotify_ops {
1: - int (*handle_event)(struct fsnotify_group *, struct inode *, u32, const void *, int, const struct qstr *, u32, struct fsnotify_iter_info *);
1: - void (*free_group_priv)(struct fsnotify_group *);
1: - void (*freeing_mark)(struct fsnotify_mark *, struct fsnotify_group *);
1: - void (*free_event)(struct fsnotify_event *);
1: - void (*free_mark)(struct fsnotify_mark *);
1: + int (*handle_event)(struct fsnotify_group *, struct inode *, u32,
1: + const void *, int, const struct qstr *, u32,
1: + struct fsnotify_iter_info *);
1: + void (*free_group_priv)(struct fsnotify_group *);
1: + void (*freeing_mark)(struct fsnotify_mark *, struct fsnotify_group *);
1: + void (*free_event)(struct fsnotify_event *);
1: + void (*free_mark)(struct fsnotify_mark *);
1: };
1:
1: struct inotify_group_private_data {
1: - spinlock_t idr_lock;
1: - struct idr idr;
1: - struct ucounts *ucounts;
1: + spinlock_t idr_lock;
1: + struct idr idr;
1: + struct ucounts *ucounts;
1: };
1:
1: struct fsnotify_group {
1: - const struct fsnotify_ops *ops;
1: - refcount_t refcnt;
1: - spinlock_t notification_lock;
1: - struct list_head notification_list;
1: - wait_queue_head_t notification_waitq;
1: - unsigned int q_len;
1: - unsigned int max_events;
1: - unsigned int priority;
1: - bool shutdown;
1: - struct mutex mark_mutex;
1: - atomic_t num_marks;
1: - atomic_t user_waits;
1: - struct list_head marks_list;
1: - struct fasync_struct *fsn_fa;
1: - struct fsnotify_event *overflow_event;
1: - struct mem_cgroup *memcg;
1: - union {
1: - void *private;
1: - struct inotify_group_private_data inotify_data;
1: - };
1: + const struct fsnotify_ops *ops;
1: + refcount_t refcnt;
1: + spinlock_t notification_lock;
1: + struct list_head notification_list;
1: + wait_queue_head_t notification_waitq;
1: + unsigned int q_len;
1: + unsigned int max_events;
1: + unsigned int priority;
1: + bool shutdown;
1: + struct mutex mark_mutex;
1: + atomic_t num_marks;
1: + atomic_t user_waits;
1: + struct list_head marks_list;
1: + struct fasync_struct *fsn_fa;
1: + struct fsnotify_event *overflow_event;
1: + struct mem_cgroup *memcg;
1: + union {
1: + void *private;
1: + struct inotify_group_private_data inotify_data;
1: + };
1: };
1:
1: struct fsnotify_iter_info {
1: - struct fsnotify_mark *marks[3];
1: - unsigned int report_mask;
1: - int srcu_idx;
1: + struct fsnotify_mark *marks[3];
1: + unsigned int report_mask;
1: + int srcu_idx;
1: };
1:
1: struct fsnotify_mark {
1: - __u32 mask;
1: - refcount_t refcnt;
1: - struct fsnotify_group *group;
1: - struct list_head g_list;
1: - spinlock_t lock;
1: - struct hlist_node obj_list;
1: - struct fsnotify_mark_connector *connector;
1: - __u32 ignored_mask;
1: - unsigned int flags;
1: + __u32 mask;
1: + refcount_t refcnt;
1: + struct fsnotify_group *group;
1: + struct list_head g_list;
1: + spinlock_t lock;
1: + struct hlist_node obj_list;
1: + struct fsnotify_mark_connector *connector;
1: + __u32 ignored_mask;
1: + unsigned int flags;
1: };
1:
1: struct fsnotify_event {
1: - struct list_head list;
1: - struct inode *inode;
1: + struct list_head list;
1: + struct inode *inode;
1: };
1:
1: struct audit_parent {
1: - struct list_head watches;
1: - struct fsnotify_mark mark;
1: + struct list_head watches;
1: + struct fsnotify_mark mark;
1: };
1:
1: struct audit_fsnotify_mark {
1: - dev_t dev;
1: - long unsigned int ino;
1: - char *path;
1: - struct fsnotify_mark mark;
1: - struct audit_krule *rule;
1: + dev_t dev;
1: + long unsigned int ino;
1: + char *path;
1: + struct fsnotify_mark mark;
1: + struct audit_krule *rule;
1: };
1:
1: struct audit_chunk___2;
1:
1: struct audit_tree {
1: - refcount_t count;
1: - int goner;
1: - struct audit_chunk___2 *root;
1: - struct list_head chunks;
1: - struct list_head rules;
1: - struct list_head list;
1: - struct list_head same_root;
1: - struct callback_head head;
1: - char pathname[0];
1: + refcount_t count;
1: + int goner;
1: + struct audit_chunk___2 *root;
1: + struct list_head chunks;
1: + struct list_head rules;
1: + struct list_head list;
1: + struct list_head same_root;
1: + struct callback_head head;
1: + char pathname[0];
1: };
1:
1: struct node {
1: - struct list_head list;
1: - struct audit_tree *owner;
1: - unsigned int index;
1: + struct list_head list;
1: + struct audit_tree *owner;
1: + unsigned int index;
1: };
1:
1: struct audit_chunk___2 {
1: - struct list_head hash;
1: - long unsigned int key;
1: - struct fsnotify_mark *mark;
1: - struct list_head trees;
1: - int count;
1: - atomic_long_t refs;
1: - struct callback_head head;
1: - struct node owners[0];
1: + struct list_head hash;
1: + long unsigned int key;
1: + struct fsnotify_mark *mark;
1: + struct list_head trees;
1: + int count;
1: + atomic_long_t refs;
1: + struct callback_head head;
1: + struct node owners[0];
1: };
1:
1: struct audit_tree_mark {
1: - struct fsnotify_mark mark;
1: - struct audit_chunk___2 *chunk;
1: + struct fsnotify_mark mark;
1: + struct audit_chunk___2 *chunk;
1: };
1:
1: enum {
1: - HASH_SIZE = 128,
1: + HASH_SIZE = 128,
1: };
1:
1: struct kprobe_blacklist_entry {
1: - struct list_head list;
1: - long unsigned int start_addr;
1: - long unsigned int end_addr;
1: + struct list_head list;
1: + long unsigned int start_addr;
1: + long unsigned int end_addr;
1: };
1:
1: struct kprobe_insn_page {
1: - struct list_head list;
1: - kprobe_opcode_t *insns;
1: - struct kprobe_insn_cache *cache;
1: - int nused;
1: - int ngarbage;
1: - char slot_used[0];
1: + struct list_head list;
1: + kprobe_opcode_t *insns;
1: + struct kprobe_insn_cache *cache;
1: + int nused;
1: + int ngarbage;
1: + char slot_used[0];
1: };
1:
1: enum kprobe_slot_state {
1: - SLOT_CLEAN = 0,
1: - SLOT_DIRTY = 1,
1: - SLOT_USED = 2,
1: + SLOT_CLEAN = 0,
1: + SLOT_DIRTY = 1,
1: + SLOT_USED = 2,
1: };
1:
1: struct seccomp_notif_sizes {
1: - __u16 seccomp_notif;
1: - __u16 seccomp_notif_resp;
1: - __u16 seccomp_data;
1: + __u16 seccomp_notif;
1: + __u16 seccomp_notif_resp;
1: + __u16 seccomp_data;
1: };
1:
1: struct seccomp_notif {
1: - __u64 id;
1: - __u32 pid;
1: - __u32 flags;
1: - struct seccomp_data data;
1: + __u64 id;
1: + __u32 pid;
1: + __u32 flags;
1: + struct seccomp_data data;
1: };
1:
1: struct seccomp_notif_resp {
1: - __u64 id;
1: - __s64 val;
1: - __s32 error;
1: - __u32 flags;
1: + __u64 id;
1: + __s64 val;
1: + __s32 error;
1: + __u32 flags;
1: };
1:
1: struct notification;
1:
1: struct seccomp_filter {
1: - refcount_t usage;
1: - bool log;
1: - struct seccomp_filter *prev;
1: - struct bpf_prog *prog;
1: - struct notification *notif;
1: - struct mutex notify_lock;
1: + refcount_t usage;
1: + bool log;
1: + struct seccomp_filter *prev;
1: + struct bpf_prog *prog;
1: + struct notification *notif;
1: + struct mutex notify_lock;
1: };
1:
1: struct ctl_path {
1: - const char *procname;
1: + const char *procname;
1: };
1:
1: struct sock_fprog {
1: - short unsigned int len;
1: - struct sock_filter *filter;
1: + short unsigned int len;
1: + struct sock_filter *filter;
1: };
1:
1: struct compat_sock_fprog {
1: - u16 len;
1: - compat_uptr_t filter;
1: + u16 len;
1: + compat_uptr_t filter;
1: };
1:
1: typedef int (*bpf_aux_classic_check_t)(struct sock_filter *, unsigned int);
1:
1: enum notify_state {
1: - SECCOMP_NOTIFY_INIT = 0,
1: - SECCOMP_NOTIFY_SENT = 1,
1: - SECCOMP_NOTIFY_REPLIED = 2,
1: + SECCOMP_NOTIFY_INIT = 0,
1: + SECCOMP_NOTIFY_SENT = 1,
1: + SECCOMP_NOTIFY_REPLIED = 2,
1: };
1:
1: struct seccomp_knotif {
1: - struct task_struct *task;
1: - u64 id;
1: - const struct seccomp_data *data;
1: - enum notify_state state;
1: - int error;
1: - long int val;
1: - u32 flags;
1: - struct completion ready;
1: - struct list_head list;
1: + struct task_struct *task;
1: + u64 id;
1: + const struct seccomp_data *data;
1: + enum notify_state state;
1: + int error;
1: + long int val;
1: + u32 flags;
1: + struct completion ready;
1: + struct list_head list;
1: };
1:
1: struct notification {
1: - struct semaphore request;
1: - u64 next_id;
1: - struct list_head notifications;
1: - wait_queue_head_t wqh;
1: + struct semaphore request;
1: + u64 next_id;
1: + struct list_head notifications;
1: + wait_queue_head_t wqh;
1: };
1:
1: struct seccomp_log_name {
1: - u32 log;
1: - const char *name;
1: + u32 log;
1: + const char *name;
1: };
1:
1: struct rchan;
1:
1: struct rchan_buf {
1: - void *start;
1: - void *data;
1: - size_t offset;
1: - size_t subbufs_produced;
1: - size_t subbufs_consumed;
1: - struct rchan *chan;
1: - wait_queue_head_t read_wait;
1: - struct irq_work wakeup_work;
1: - struct dentry *dentry;
1: - struct kref kref;
1: - struct page **page_array;
1: - unsigned int page_count;
1: - unsigned int finalized;
1: - size_t *padding;
1: - size_t prev_padding;
1: - size_t bytes_consumed;
1: - size_t early_bytes;
1: - unsigned int cpu;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + void *start;
1: + void *data;
1: + size_t offset;
1: + size_t subbufs_produced;
1: + size_t subbufs_consumed;
1: + struct rchan *chan;
1: + wait_queue_head_t read_wait;
1: + struct irq_work wakeup_work;
1: + struct dentry *dentry;
1: + struct kref kref;
1: + struct page **page_array;
1: + unsigned int page_count;
1: + unsigned int finalized;
1: + size_t *padding;
1: + size_t prev_padding;
1: + size_t bytes_consumed;
1: + size_t early_bytes;
1: + unsigned int cpu;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct rchan_callbacks;
1:
1: struct rchan {
1: - u32 version;
1: - size_t subbuf_size;
1: - size_t n_subbufs;
1: - size_t alloc_size;
1: - struct rchan_callbacks *cb;
1: - struct kref kref;
1: - void *private_data;
1: - size_t last_toobig;
1: - struct rchan_buf **buf;
1: - int is_global;
1: - struct list_head list;
1: - struct dentry *parent;
1: - int has_base_filename;
1: - char base_filename[255];
1: + u32 version;
1: + size_t subbuf_size;
1: + size_t n_subbufs;
1: + size_t alloc_size;
1: + struct rchan_callbacks *cb;
1: + struct kref kref;
1: + void *private_data;
1: + size_t last_toobig;
1: + struct rchan_buf **buf;
1: + int is_global;
1: + struct list_head list;
1: + struct dentry *parent;
1: + int has_base_filename;
1: + char base_filename[255];
1: };
1:
1: struct rchan_callbacks {
1: - int (*subbuf_start)(struct rchan_buf *, void *, void *, size_t);
1: - void (*buf_mapped)(struct rchan_buf *, struct file *);
1: - void (*buf_unmapped)(struct rchan_buf *, struct file *);
1: - struct dentry * (*create_buf_file)(const char *, struct dentry *, umode_t, struct rchan_buf *, int *);
1: - int (*remove_buf_file)(struct dentry *);
1: + int (*subbuf_start)(struct rchan_buf *, void *, void *, size_t);
1: + void (*buf_mapped)(struct rchan_buf *, struct file *);
1: + void (*buf_unmapped)(struct rchan_buf *, struct file *);
1: + struct dentry *(*create_buf_file)(const char *, struct dentry *, umode_t,
1: + struct rchan_buf *, int *);
1: + int (*remove_buf_file)(struct dentry *);
1: };
1:
1: struct partial_page {
1: - unsigned int offset;
1: - unsigned int len;
1: - long unsigned int private;
1: + unsigned int offset;
1: + unsigned int len;
1: + long unsigned int private;
1: };
1:
1: struct splice_pipe_desc {
1: - struct page **pages;
1: - struct partial_page *partial;
1: - int nr_pages;
1: - unsigned int nr_pages_max;
1: - const struct pipe_buf_operations *ops;
1: - void (*spd_release)(struct splice_pipe_desc *, unsigned int);
1: + struct page **pages;
1: + struct partial_page *partial;
1: + int nr_pages;
1: + unsigned int nr_pages_max;
1: + const struct pipe_buf_operations *ops;
1: + void (*spd_release)(struct splice_pipe_desc *, unsigned int);
1: };
1:
1: struct rchan_percpu_buf_dispatcher {
1: - struct rchan_buf *buf;
1: - struct dentry *dentry;
1: + struct rchan_buf *buf;
1: + struct dentry *dentry;
1: };
1:
1: enum {
1: - TASKSTATS_TYPE_UNSPEC = 0,
1: - TASKSTATS_TYPE_PID = 1,
1: - TASKSTATS_TYPE_TGID = 2,
1: - TASKSTATS_TYPE_STATS = 3,
1: - TASKSTATS_TYPE_AGGR_PID = 4,
1: - TASKSTATS_TYPE_AGGR_TGID = 5,
1: - TASKSTATS_TYPE_NULL = 6,
1: - __TASKSTATS_TYPE_MAX = 7,
1: + TASKSTATS_TYPE_UNSPEC = 0,
1: + TASKSTATS_TYPE_PID = 1,
1: + TASKSTATS_TYPE_TGID = 2,
1: + TASKSTATS_TYPE_STATS = 3,
1: + TASKSTATS_TYPE_AGGR_PID = 4,
1: + TASKSTATS_TYPE_AGGR_TGID = 5,
1: + TASKSTATS_TYPE_NULL = 6,
1: + __TASKSTATS_TYPE_MAX = 7,
1: };
1:
1: enum {
1: - TASKSTATS_CMD_ATTR_UNSPEC = 0,
1: - TASKSTATS_CMD_ATTR_PID = 1,
1: - TASKSTATS_CMD_ATTR_TGID = 2,
1: - TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 3,
1: - TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 4,
1: - __TASKSTATS_CMD_ATTR_MAX = 5,
1: + TASKSTATS_CMD_ATTR_UNSPEC = 0,
1: + TASKSTATS_CMD_ATTR_PID = 1,
1: + TASKSTATS_CMD_ATTR_TGID = 2,
1: + TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 3,
1: + TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 4,
1: + __TASKSTATS_CMD_ATTR_MAX = 5,
1: };
1:
1: enum {
1: - CGROUPSTATS_CMD_UNSPEC = 3,
1: - CGROUPSTATS_CMD_GET = 4,
1: - CGROUPSTATS_CMD_NEW = 5,
1: - __CGROUPSTATS_CMD_MAX = 6,
1: + CGROUPSTATS_CMD_UNSPEC = 3,
1: + CGROUPSTATS_CMD_GET = 4,
1: + CGROUPSTATS_CMD_NEW = 5,
1: + __CGROUPSTATS_CMD_MAX = 6,
1: };
1:
1: enum {
1: - CGROUPSTATS_TYPE_UNSPEC = 0,
1: - CGROUPSTATS_TYPE_CGROUP_STATS = 1,
1: - __CGROUPSTATS_TYPE_MAX = 2,
1: + CGROUPSTATS_TYPE_UNSPEC = 0,
1: + CGROUPSTATS_TYPE_CGROUP_STATS = 1,
1: + __CGROUPSTATS_TYPE_MAX = 2,
1: };
1:
1: enum {
1: - CGROUPSTATS_CMD_ATTR_UNSPEC = 0,
1: - CGROUPSTATS_CMD_ATTR_FD = 1,
1: - __CGROUPSTATS_CMD_ATTR_MAX = 2,
1: + CGROUPSTATS_CMD_ATTR_UNSPEC = 0,
1: + CGROUPSTATS_CMD_ATTR_FD = 1,
1: + __CGROUPSTATS_CMD_ATTR_MAX = 2,
1: };
1:
1: struct genlmsghdr {
1: - __u8 cmd;
1: - __u8 version;
1: - __u16 reserved;
1: -};
1: -
1: -enum {
1: - NLA_UNSPEC = 0,
1: - NLA_U8 = 1,
1: - NLA_U16 = 2,
1: - NLA_U32 = 3,
1: - NLA_U64 = 4,
1: - NLA_STRING = 5,
1: - NLA_FLAG = 6,
1: - NLA_MSECS = 7,
1: - NLA_NESTED = 8,
1: - NLA_NESTED_ARRAY = 9,
1: - NLA_NUL_STRING = 10,
1: - NLA_BINARY = 11,
1: - NLA_S8 = 12,
1: - NLA_S16 = 13,
1: - NLA_S32 = 14,
1: - NLA_S64 = 15,
1: - NLA_BITFIELD32 = 16,
1: - NLA_REJECT = 17,
1: - NLA_EXACT_LEN = 18,
1: - NLA_EXACT_LEN_WARN = 19,
1: - NLA_MIN_LEN = 20,
1: - __NLA_TYPE_MAX = 21,
1: + __u8 cmd;
1: + __u8 version;
1: + __u16 reserved;
1: +};
1: +
1: +enum {
1: + NLA_UNSPEC = 0,
1: + NLA_U8 = 1,
1: + NLA_U16 = 2,
1: + NLA_U32 = 3,
1: + NLA_U64 = 4,
1: + NLA_STRING = 5,
1: + NLA_FLAG = 6,
1: + NLA_MSECS = 7,
1: + NLA_NESTED = 8,
1: + NLA_NESTED_ARRAY = 9,
1: + NLA_NUL_STRING = 10,
1: + NLA_BINARY = 11,
1: + NLA_S8 = 12,
1: + NLA_S16 = 13,
1: + NLA_S32 = 14,
1: + NLA_S64 = 15,
1: + NLA_BITFIELD32 = 16,
1: + NLA_REJECT = 17,
1: + NLA_EXACT_LEN = 18,
1: + NLA_EXACT_LEN_WARN = 19,
1: + NLA_MIN_LEN = 20,
1: + __NLA_TYPE_MAX = 21,
1: };
1:
1: enum netlink_validation {
1: - NL_VALIDATE_LIBERAL = 0,
1: - NL_VALIDATE_TRAILING = 1,
1: - NL_VALIDATE_MAXTYPE = 2,
1: - NL_VALIDATE_UNSPEC = 4,
1: - NL_VALIDATE_STRICT_ATTRS = 8,
1: - NL_VALIDATE_NESTED = 16,
1: + NL_VALIDATE_LIBERAL = 0,
1: + NL_VALIDATE_TRAILING = 1,
1: + NL_VALIDATE_MAXTYPE = 2,
1: + NL_VALIDATE_UNSPEC = 4,
1: + NL_VALIDATE_STRICT_ATTRS = 8,
1: + NL_VALIDATE_NESTED = 16,
1: };
1:
1: struct genl_multicast_group {
1: - char name[16];
1: + char name[16];
1: };
1:
1: struct genl_ops;
1: @@ -29283,229 +29448,231 @@ struct genl_ops;
1: struct genl_info;
1:
1: struct genl_family {
1: - int id;
1: - unsigned int hdrsize;
1: - char name[16];
1: - unsigned int version;
1: - unsigned int maxattr;
1: - bool netnsok;
1: - bool parallel_ops;
1: - const struct nla_policy *policy;
1: - int (*pre_doit)(const struct genl_ops *, struct sk_buff *, struct genl_info *);
1: - void (*post_doit)(const struct genl_ops *, struct sk_buff *, struct genl_info *);
1: - int (*mcast_bind)(struct net *, int);
1: - void (*mcast_unbind)(struct net *, int);
1: - struct nlattr **attrbuf;
1: - const struct genl_ops *ops;
1: - const struct genl_multicast_group *mcgrps;
1: - unsigned int n_ops;
1: - unsigned int n_mcgrps;
1: - unsigned int mcgrp_offset;
1: - struct module *module;
1: + int id;
1: + unsigned int hdrsize;
1: + char name[16];
1: + unsigned int version;
1: + unsigned int maxattr;
1: + bool netnsok;
1: + bool parallel_ops;
1: + const struct nla_policy *policy;
1: + int (*pre_doit)(const struct genl_ops *, struct sk_buff *,
1: + struct genl_info *);
1: + void (*post_doit)(const struct genl_ops *, struct sk_buff *,
1: + struct genl_info *);
1: + int (*mcast_bind)(struct net *, int);
1: + void (*mcast_unbind)(struct net *, int);
1: + struct nlattr **attrbuf;
1: + const struct genl_ops *ops;
1: + const struct genl_multicast_group *mcgrps;
1: + unsigned int n_ops;
1: + unsigned int n_mcgrps;
1: + unsigned int mcgrp_offset;
1: + struct module *module;
1: };
1:
1: struct genl_ops {
1: - int (*doit)(struct sk_buff *, struct genl_info *);
1: - int (*start)(struct netlink_callback *);
1: - int (*dumpit)(struct sk_buff *, struct netlink_callback *);
1: - int (*done)(struct netlink_callback *);
1: - u8 cmd;
1: - u8 internal_flags;
1: - u8 flags;
1: - u8 validate;
1: + int (*doit)(struct sk_buff *, struct genl_info *);
1: + int (*start)(struct netlink_callback *);
1: + int (*dumpit)(struct sk_buff *, struct netlink_callback *);
1: + int (*done)(struct netlink_callback *);
1: + u8 cmd;
1: + u8 internal_flags;
1: + u8 flags;
1: + u8 validate;
1: };
1:
1: struct genl_info {
1: - u32 snd_seq;
1: - u32 snd_portid;
1: - struct nlmsghdr *nlhdr;
1: - struct genlmsghdr *genlhdr;
1: - void *userhdr;
1: - struct nlattr **attrs;
1: - possible_net_t _net;
1: - void *user_ptr[2];
1: - struct netlink_ext_ack *extack;
1: + u32 snd_seq;
1: + u32 snd_portid;
1: + struct nlmsghdr *nlhdr;
1: + struct genlmsghdr *genlhdr;
1: + void *userhdr;
1: + struct nlattr **attrs;
1: + possible_net_t _net;
1: + void *user_ptr[2];
1: + struct netlink_ext_ack *extack;
1: };
1:
1: enum genl_validate_flags {
1: - GENL_DONT_VALIDATE_STRICT = 1,
1: - GENL_DONT_VALIDATE_DUMP = 2,
1: - GENL_DONT_VALIDATE_DUMP_STRICT = 4,
1: + GENL_DONT_VALIDATE_STRICT = 1,
1: + GENL_DONT_VALIDATE_DUMP = 2,
1: + GENL_DONT_VALIDATE_DUMP_STRICT = 4,
1: };
1:
1: struct listener {
1: - struct list_head list;
1: - pid_t pid;
1: - char valid;
1: + struct list_head list;
1: + pid_t pid;
1: + char valid;
1: };
1:
1: struct listener_list {
1: - struct rw_semaphore sem;
1: - struct list_head list;
1: + struct rw_semaphore sem;
1: + struct list_head list;
1: };
1:
1: enum actions {
1: - REGISTER = 0,
1: - DEREGISTER = 1,
1: - CPU_DONT_CARE = 2,
1: + REGISTER = 0,
1: + DEREGISTER = 1,
1: + CPU_DONT_CARE = 2,
1: };
1:
1: struct tp_module {
1: - struct list_head list;
1: - struct module *mod;
1: + struct list_head list;
1: + struct module *mod;
1: };
1:
1: struct tp_probes {
1: - struct callback_head rcu;
1: - struct tracepoint_func probes[0];
1: + struct callback_head rcu;
1: + struct tracepoint_func probes[0];
1: };
1:
1: enum ring_buffer_type {
1: - RINGBUF_TYPE_DATA_TYPE_LEN_MAX = 28,
1: - RINGBUF_TYPE_PADDING = 29,
1: - RINGBUF_TYPE_TIME_EXTEND = 30,
1: - RINGBUF_TYPE_TIME_STAMP = 31,
1: + RINGBUF_TYPE_DATA_TYPE_LEN_MAX = 28,
1: + RINGBUF_TYPE_PADDING = 29,
1: + RINGBUF_TYPE_TIME_EXTEND = 30,
1: + RINGBUF_TYPE_TIME_STAMP = 31,
1: };
1:
1: enum ring_buffer_flags {
1: - RB_FL_OVERWRITE = 1,
1: + RB_FL_OVERWRITE = 1,
1: };
1:
1: struct rb_irq_work {
1: - struct irq_work work;
1: - wait_queue_head_t waiters;
1: - wait_queue_head_t full_waiters;
1: - bool waiters_pending;
1: - bool full_waiters_pending;
1: - bool wakeup_full;
1: + struct irq_work work;
1: + wait_queue_head_t waiters;
1: + wait_queue_head_t full_waiters;
1: + bool waiters_pending;
1: + bool full_waiters_pending;
1: + bool wakeup_full;
1: };
1:
1: struct ring_buffer_per_cpu;
1:
1: struct ring_buffer {
1: - unsigned int flags;
1: - int cpus;
1: - atomic_t record_disabled;
1: - atomic_t resize_disabled;
1: - cpumask_var_t cpumask;
1: - struct lock_class_key *reader_lock_key;
1: - struct mutex mutex;
1: - struct ring_buffer_per_cpu **buffers;
1: - struct hlist_node node;
1: - u64 (*clock)();
1: - struct rb_irq_work irq_work;
1: - bool time_stamp_abs;
1: + unsigned int flags;
1: + int cpus;
1: + atomic_t record_disabled;
1: + atomic_t resize_disabled;
1: + cpumask_var_t cpumask;
1: + struct lock_class_key *reader_lock_key;
1: + struct mutex mutex;
1: + struct ring_buffer_per_cpu **buffers;
1: + struct hlist_node node;
1: + u64 (*clock)();
1: + struct rb_irq_work irq_work;
1: + bool time_stamp_abs;
1: };
1:
1: struct buffer_page;
1:
1: struct ring_buffer_iter {
1: - struct ring_buffer_per_cpu *cpu_buffer;
1: - long unsigned int head;
1: - struct buffer_page *head_page;
1: - struct buffer_page *cache_reader_page;
1: - long unsigned int cache_read;
1: - u64 read_stamp;
1: + struct ring_buffer_per_cpu *cpu_buffer;
1: + long unsigned int head;
1: + struct buffer_page *head_page;
1: + struct buffer_page *cache_reader_page;
1: + long unsigned int cache_read;
1: + u64 read_stamp;
1: };
1:
1: enum {
1: - RB_LEN_TIME_EXTEND = 8,
1: - RB_LEN_TIME_STAMP = 8,
1: + RB_LEN_TIME_EXTEND = 8,
1: + RB_LEN_TIME_STAMP = 8,
1: };
1:
1: struct buffer_data_page {
1: - u64 time_stamp;
1: - local_t commit;
1: - unsigned char data[0];
1: + u64 time_stamp;
1: + local_t commit;
1: + unsigned char data[0];
1: };
1:
1: struct buffer_page {
1: - struct list_head list;
1: - local_t write;
1: - unsigned int read;
1: - local_t entries;
1: - long unsigned int real_end;
1: - struct buffer_data_page *page;
1: + struct list_head list;
1: + local_t write;
1: + unsigned int read;
1: + local_t entries;
1: + long unsigned int real_end;
1: + struct buffer_data_page *page;
1: };
1:
1: struct rb_event_info {
1: - u64 ts;
1: - u64 delta;
1: - long unsigned int length;
1: - struct buffer_page *tail_page;
1: - int add_timestamp;
1: + u64 ts;
1: + u64 delta;
1: + long unsigned int length;
1: + struct buffer_page *tail_page;
1: + int add_timestamp;
1: };
1:
1: enum {
1: - RB_CTX_NMI = 0,
1: - RB_CTX_IRQ = 1,
1: - RB_CTX_SOFTIRQ = 2,
1: - RB_CTX_NORMAL = 3,
1: - RB_CTX_MAX = 4,
1: + RB_CTX_NMI = 0,
1: + RB_CTX_IRQ = 1,
1: + RB_CTX_SOFTIRQ = 2,
1: + RB_CTX_NORMAL = 3,
1: + RB_CTX_MAX = 4,
1: };
1:
1: struct ring_buffer_per_cpu {
1: - int cpu;
1: - atomic_t record_disabled;
1: - struct ring_buffer *buffer;
1: - raw_spinlock_t reader_lock;
1: - arch_spinlock_t lock;
1: - struct lock_class_key lock_key;
1: - struct buffer_data_page *free_page;
1: - long unsigned int nr_pages;
1: - unsigned int current_context;
1: - struct list_head *pages;
1: - struct buffer_page *head_page;
1: - struct buffer_page *tail_page;
1: - struct buffer_page *commit_page;
1: - struct buffer_page *reader_page;
1: - long unsigned int lost_events;
1: - long unsigned int last_overrun;
1: - long unsigned int nest;
1: - local_t entries_bytes;
1: - local_t entries;
1: - local_t overrun;
1: - local_t commit_overrun;
1: - local_t dropped_events;
1: - local_t committing;
1: - local_t commits;
1: - local_t pages_touched;
1: - local_t pages_read;
1: - long int last_pages_touch;
1: - size_t shortest_full;
1: - long unsigned int read;
1: - long unsigned int read_bytes;
1: - u64 write_stamp;
1: - u64 read_stamp;
1: - long int nr_pages_to_update;
1: - struct list_head new_pages;
1: - struct work_struct update_pages_work;
1: - struct completion update_done;
1: - struct rb_irq_work irq_work;
1: -};
1: -
1: -typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *);
1: + int cpu;
1: + atomic_t record_disabled;
1: + struct ring_buffer *buffer;
1: + raw_spinlock_t reader_lock;
1: + arch_spinlock_t lock;
1: + struct lock_class_key lock_key;
1: + struct buffer_data_page *free_page;
1: + long unsigned int nr_pages;
1: + unsigned int current_context;
1: + struct list_head *pages;
1: + struct buffer_page *head_page;
1: + struct buffer_page *tail_page;
1: + struct buffer_page *commit_page;
1: + struct buffer_page *reader_page;
1: + long unsigned int lost_events;
1: + long unsigned int last_overrun;
1: + long unsigned int nest;
1: + local_t entries_bytes;
1: + local_t entries;
1: + local_t overrun;
1: + local_t commit_overrun;
1: + local_t dropped_events;
1: + local_t committing;
1: + local_t commits;
1: + local_t pages_touched;
1: + local_t pages_read;
1: + long int last_pages_touch;
1: + size_t shortest_full;
1: + long unsigned int read;
1: + long unsigned int read_bytes;
1: + u64 write_stamp;
1: + u64 read_stamp;
1: + long int nr_pages_to_update;
1: + struct list_head new_pages;
1: + struct work_struct update_pages_work;
1: + struct completion update_done;
1: + struct rb_irq_work irq_work;
1: +};
1: +
1: +typedef struct vfsmount *(*debugfs_automount_t)(struct dentry *, void *);
1:
1: struct trace_export {
1: - struct trace_export *next;
1: - void (*write)(struct trace_export *, const void *, unsigned int);
1: + struct trace_export *next;
1: + void (*write)(struct trace_export *, const void *, unsigned int);
1: };
1:
1: struct prog_entry;
1:
1: struct event_filter {
1: - struct prog_entry *prog;
1: - char *filter_string;
1: + struct prog_entry *prog;
1: + char *filter_string;
1: };
1:
1: struct trace_array_cpu;
1:
1: struct trace_buffer {
1: - struct trace_array *tr;
1: - struct ring_buffer *buffer;
1: - struct trace_array_cpu *data;
1: - u64 time_start;
1: - int cpu;
1: + struct trace_array *tr;
1: + struct ring_buffer *buffer;
1: + struct trace_array_cpu *data;
1: + u64 time_start;
1: + int cpu;
1: };
1:
1: struct trace_pid_list;
1: @@ -29513,387 +29680,389 @@ struct trace_pid_list;
1: struct trace_options;
1:
1: struct trace_array {
1: - struct list_head list;
1: - char *name;
1: - struct trace_buffer trace_buffer;
1: - struct trace_pid_list *filtered_pids;
1: - arch_spinlock_t max_lock;
1: - int buffer_disabled;
1: - int stop_count;
1: - int clock_id;
1: - int nr_topts;
1: - bool clear_trace;
1: - int buffer_percent;
1: - unsigned int n_err_log_entries;
1: - struct tracer *current_trace;
1: - unsigned int trace_flags;
1: - unsigned char trace_flags_index[32];
1: - unsigned int flags;
1: - raw_spinlock_t start_lock;
1: - struct list_head err_log;
1: - struct dentry *dir;
1: - struct dentry *options;
1: - struct dentry *percpu_dir;
1: - struct dentry *event_dir;
1: - struct trace_options *topts;
1: - struct list_head systems;
1: - struct list_head events;
1: - struct trace_event_file *trace_marker_file;
1: - cpumask_var_t tracing_cpumask;
1: - int ref;
1: - int time_stamp_abs_ref;
1: - struct list_head hist_vars;
1: + struct list_head list;
1: + char *name;
1: + struct trace_buffer trace_buffer;
1: + struct trace_pid_list *filtered_pids;
1: + arch_spinlock_t max_lock;
1: + int buffer_disabled;
1: + int stop_count;
1: + int clock_id;
1: + int nr_topts;
1: + bool clear_trace;
1: + int buffer_percent;
1: + unsigned int n_err_log_entries;
1: + struct tracer *current_trace;
1: + unsigned int trace_flags;
1: + unsigned char trace_flags_index[32];
1: + unsigned int flags;
1: + raw_spinlock_t start_lock;
1: + struct list_head err_log;
1: + struct dentry *dir;
1: + struct dentry *options;
1: + struct dentry *percpu_dir;
1: + struct dentry *event_dir;
1: + struct trace_options *topts;
1: + struct list_head systems;
1: + struct list_head events;
1: + struct trace_event_file *trace_marker_file;
1: + cpumask_var_t tracing_cpumask;
1: + int ref;
1: + int time_stamp_abs_ref;
1: + struct list_head hist_vars;
1: };
1:
1: struct tracer_flags;
1:
1: struct tracer {
1: - const char *name;
1: - int (*init)(struct trace_array *);
1: - void (*reset)(struct trace_array *);
1: - void (*start)(struct trace_array *);
1: - void (*stop)(struct trace_array *);
1: - int (*update_thresh)(struct trace_array *);
1: - void (*open)(struct trace_iterator *);
1: - void (*pipe_open)(struct trace_iterator *);
1: - void (*close)(struct trace_iterator *);
1: - void (*pipe_close)(struct trace_iterator *);
1: - ssize_t (*read)(struct trace_iterator *, struct file *, char *, size_t, loff_t *);
1: - ssize_t (*splice_read)(struct trace_iterator *, struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
1: - void (*print_header)(struct seq_file *);
1: - enum print_line_t (*print_line)(struct trace_iterator *);
1: - int (*set_flag)(struct trace_array *, u32, u32, int);
1: - int (*flag_changed)(struct trace_array *, u32, int);
1: - struct tracer *next;
1: - struct tracer_flags *flags;
1: - int enabled;
1: - int ref;
1: - bool print_max;
1: - bool allow_instances;
1: - bool noboot;
1: + const char *name;
1: + int (*init)(struct trace_array *);
1: + void (*reset)(struct trace_array *);
1: + void (*start)(struct trace_array *);
1: + void (*stop)(struct trace_array *);
1: + int (*update_thresh)(struct trace_array *);
1: + void (*open)(struct trace_iterator *);
1: + void (*pipe_open)(struct trace_iterator *);
1: + void (*close)(struct trace_iterator *);
1: + void (*pipe_close)(struct trace_iterator *);
1: + ssize_t (*read)(struct trace_iterator *, struct file *, char *, size_t,
1: + loff_t *);
1: + ssize_t (*splice_read)(struct trace_iterator *, struct file *, loff_t *,
1: + struct pipe_inode_info *, size_t, unsigned int);
1: + void (*print_header)(struct seq_file *);
1: + enum print_line_t (*print_line)(struct trace_iterator *);
1: + int (*set_flag)(struct trace_array *, u32, u32, int);
1: + int (*flag_changed)(struct trace_array *, u32, int);
1: + struct tracer *next;
1: + struct tracer_flags *flags;
1: + int enabled;
1: + int ref;
1: + bool print_max;
1: + bool allow_instances;
1: + bool noboot;
1: };
1:
1: enum trace_iter_flags {
1: - TRACE_FILE_LAT_FMT = 1,
1: - TRACE_FILE_ANNOTATE = 2,
1: - TRACE_FILE_TIME_IN_NS = 4,
1: + TRACE_FILE_LAT_FMT = 1,
1: + TRACE_FILE_ANNOTATE = 2,
1: + TRACE_FILE_TIME_IN_NS = 4,
1: };
1:
1: struct event_subsystem;
1:
1: struct trace_subsystem_dir {
1: - struct list_head list;
1: - struct event_subsystem *subsystem;
1: - struct trace_array *tr;
1: - struct dentry *entry;
1: - int ref_count;
1: - int nr_events;
1: + struct list_head list;
1: + struct event_subsystem *subsystem;
1: + struct trace_array *tr;
1: + struct dentry *entry;
1: + int ref_count;
1: + int nr_events;
1: };
1:
1: enum trace_type {
1: - __TRACE_FIRST_TYPE = 0,
1: - TRACE_FN = 1,
1: - TRACE_CTX = 2,
1: - TRACE_WAKE = 3,
1: - TRACE_STACK = 4,
1: - TRACE_PRINT = 5,
1: - TRACE_BPRINT = 6,
1: - TRACE_MMIO_RW = 7,
1: - TRACE_MMIO_MAP = 8,
1: - TRACE_BRANCH = 9,
1: - TRACE_GRAPH_RET = 10,
1: - TRACE_GRAPH_ENT = 11,
1: - TRACE_USER_STACK = 12,
1: - TRACE_BLK = 13,
1: - TRACE_BPUTS = 14,
1: - TRACE_HWLAT = 15,
1: - TRACE_RAW_DATA = 16,
1: - __TRACE_LAST_TYPE = 17,
1: + __TRACE_FIRST_TYPE = 0,
1: + TRACE_FN = 1,
1: + TRACE_CTX = 2,
1: + TRACE_WAKE = 3,
1: + TRACE_STACK = 4,
1: + TRACE_PRINT = 5,
1: + TRACE_BPRINT = 6,
1: + TRACE_MMIO_RW = 7,
1: + TRACE_MMIO_MAP = 8,
1: + TRACE_BRANCH = 9,
1: + TRACE_GRAPH_RET = 10,
1: + TRACE_GRAPH_ENT = 11,
1: + TRACE_USER_STACK = 12,
1: + TRACE_BLK = 13,
1: + TRACE_BPUTS = 14,
1: + TRACE_HWLAT = 15,
1: + TRACE_RAW_DATA = 16,
1: + __TRACE_LAST_TYPE = 17,
1: };
1:
1: struct ftrace_entry {
1: - struct trace_entry ent;
1: - long unsigned int ip;
1: - long unsigned int parent_ip;
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + long unsigned int parent_ip;
1: };
1:
1: struct stack_entry {
1: - struct trace_entry ent;
1: - int size;
1: - long unsigned int caller[0];
1: + struct trace_entry ent;
1: + int size;
1: + long unsigned int caller[0];
1: };
1:
1: struct userstack_entry {
1: - struct trace_entry ent;
1: - unsigned int tgid;
1: - long unsigned int caller[8];
1: + struct trace_entry ent;
1: + unsigned int tgid;
1: + long unsigned int caller[8];
1: };
1:
1: struct bprint_entry {
1: - struct trace_entry ent;
1: - long unsigned int ip;
1: - const char *fmt;
1: - u32 buf[0];
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + const char *fmt;
1: + u32 buf[0];
1: };
1:
1: struct print_entry {
1: - struct trace_entry ent;
1: - long unsigned int ip;
1: - char buf[0];
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + char buf[0];
1: };
1:
1: struct raw_data_entry {
1: - struct trace_entry ent;
1: - unsigned int id;
1: - char buf[0];
1: + struct trace_entry ent;
1: + unsigned int id;
1: + char buf[0];
1: };
1:
1: struct bputs_entry {
1: - struct trace_entry ent;
1: - long unsigned int ip;
1: - const char *str;
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: + const char *str;
1: };
1:
1: enum trace_flag_type {
1: - TRACE_FLAG_IRQS_OFF = 1,
1: - TRACE_FLAG_IRQS_NOSUPPORT = 2,
1: - TRACE_FLAG_NEED_RESCHED = 4,
1: - TRACE_FLAG_HARDIRQ = 8,
1: - TRACE_FLAG_SOFTIRQ = 16,
1: - TRACE_FLAG_PREEMPT_RESCHED = 32,
1: - TRACE_FLAG_NMI = 64,
1: + TRACE_FLAG_IRQS_OFF = 1,
1: + TRACE_FLAG_IRQS_NOSUPPORT = 2,
1: + TRACE_FLAG_NEED_RESCHED = 4,
1: + TRACE_FLAG_HARDIRQ = 8,
1: + TRACE_FLAG_SOFTIRQ = 16,
1: + TRACE_FLAG_PREEMPT_RESCHED = 32,
1: + TRACE_FLAG_NMI = 64,
1: };
1:
1: struct trace_array_cpu {
1: - atomic_t disabled;
1: - void *buffer_page;
1: - long unsigned int entries;
1: - long unsigned int saved_latency;
1: - long unsigned int critical_start;
1: - long unsigned int critical_end;
1: - long unsigned int critical_sequence;
1: - long unsigned int nice;
1: - long unsigned int policy;
1: - long unsigned int rt_priority;
1: - long unsigned int skipped_entries;
1: - u64 preempt_timestamp;
1: - pid_t pid;
1: - kuid_t uid;
1: - char comm[16];
1: - bool ignore_pid;
1: + atomic_t disabled;
1: + void *buffer_page;
1: + long unsigned int entries;
1: + long unsigned int saved_latency;
1: + long unsigned int critical_start;
1: + long unsigned int critical_end;
1: + long unsigned int critical_sequence;
1: + long unsigned int nice;
1: + long unsigned int policy;
1: + long unsigned int rt_priority;
1: + long unsigned int skipped_entries;
1: + u64 preempt_timestamp;
1: + pid_t pid;
1: + kuid_t uid;
1: + char comm[16];
1: + bool ignore_pid;
1: };
1:
1: struct trace_option_dentry;
1:
1: struct trace_options {
1: - struct tracer *tracer;
1: - struct trace_option_dentry *topts;
1: + struct tracer *tracer;
1: + struct trace_option_dentry *topts;
1: };
1:
1: struct tracer_opt;
1:
1: struct trace_option_dentry {
1: - struct tracer_opt *opt;
1: - struct tracer_flags *flags;
1: - struct trace_array *tr;
1: - struct dentry *entry;
1: + struct tracer_opt *opt;
1: + struct tracer_flags *flags;
1: + struct trace_array *tr;
1: + struct dentry *entry;
1: };
1:
1: struct trace_pid_list {
1: - int pid_max;
1: - long unsigned int *pids;
1: + int pid_max;
1: + long unsigned int *pids;
1: };
1:
1: typedef bool (*cond_update_fn_t)(struct trace_array *, void *);
1:
1: enum {
1: - TRACE_ARRAY_FL_GLOBAL = 1,
1: + TRACE_ARRAY_FL_GLOBAL = 1,
1: };
1:
1: struct tracer_opt {
1: - const char *name;
1: - u32 bit;
1: + const char *name;
1: + u32 bit;
1: };
1:
1: struct tracer_flags {
1: - u32 val;
1: - struct tracer_opt *opts;
1: - struct tracer *trace;
1: + u32 val;
1: + struct tracer_opt *opts;
1: + struct tracer *trace;
1: };
1:
1: struct trace_parser {
1: - bool cont;
1: - char *buffer;
1: - unsigned int idx;
1: - unsigned int size;
1: + bool cont;
1: + char *buffer;
1: + unsigned int idx;
1: + unsigned int size;
1: };
1:
1: enum trace_iterator_bits {
1: - TRACE_ITER_PRINT_PARENT_BIT = 0,
1: - TRACE_ITER_SYM_OFFSET_BIT = 1,
1: - TRACE_ITER_SYM_ADDR_BIT = 2,
1: - TRACE_ITER_VERBOSE_BIT = 3,
1: - TRACE_ITER_RAW_BIT = 4,
1: - TRACE_ITER_HEX_BIT = 5,
1: - TRACE_ITER_BIN_BIT = 6,
1: - TRACE_ITER_BLOCK_BIT = 7,
1: - TRACE_ITER_PRINTK_BIT = 8,
1: - TRACE_ITER_ANNOTATE_BIT = 9,
1: - TRACE_ITER_USERSTACKTRACE_BIT = 10,
1: - TRACE_ITER_SYM_USEROBJ_BIT = 11,
1: - TRACE_ITER_PRINTK_MSGONLY_BIT = 12,
1: - TRACE_ITER_CONTEXT_INFO_BIT = 13,
1: - TRACE_ITER_LATENCY_FMT_BIT = 14,
1: - TRACE_ITER_RECORD_CMD_BIT = 15,
1: - TRACE_ITER_RECORD_TGID_BIT = 16,
1: - TRACE_ITER_OVERWRITE_BIT = 17,
1: - TRACE_ITER_STOP_ON_FREE_BIT = 18,
1: - TRACE_ITER_IRQ_INFO_BIT = 19,
1: - TRACE_ITER_MARKERS_BIT = 20,
1: - TRACE_ITER_EVENT_FORK_BIT = 21,
1: - TRACE_ITER_STACKTRACE_BIT = 22,
1: - TRACE_ITER_LAST_BIT = 23,
1: + TRACE_ITER_PRINT_PARENT_BIT = 0,
1: + TRACE_ITER_SYM_OFFSET_BIT = 1,
1: + TRACE_ITER_SYM_ADDR_BIT = 2,
1: + TRACE_ITER_VERBOSE_BIT = 3,
1: + TRACE_ITER_RAW_BIT = 4,
1: + TRACE_ITER_HEX_BIT = 5,
1: + TRACE_ITER_BIN_BIT = 6,
1: + TRACE_ITER_BLOCK_BIT = 7,
1: + TRACE_ITER_PRINTK_BIT = 8,
1: + TRACE_ITER_ANNOTATE_BIT = 9,
1: + TRACE_ITER_USERSTACKTRACE_BIT = 10,
1: + TRACE_ITER_SYM_USEROBJ_BIT = 11,
1: + TRACE_ITER_PRINTK_MSGONLY_BIT = 12,
1: + TRACE_ITER_CONTEXT_INFO_BIT = 13,
1: + TRACE_ITER_LATENCY_FMT_BIT = 14,
1: + TRACE_ITER_RECORD_CMD_BIT = 15,
1: + TRACE_ITER_RECORD_TGID_BIT = 16,
1: + TRACE_ITER_OVERWRITE_BIT = 17,
1: + TRACE_ITER_STOP_ON_FREE_BIT = 18,
1: + TRACE_ITER_IRQ_INFO_BIT = 19,
1: + TRACE_ITER_MARKERS_BIT = 20,
1: + TRACE_ITER_EVENT_FORK_BIT = 21,
1: + TRACE_ITER_STACKTRACE_BIT = 22,
1: + TRACE_ITER_LAST_BIT = 23,
1: };
1:
1: enum trace_iterator_flags {
1: - TRACE_ITER_PRINT_PARENT = 1,
1: - TRACE_ITER_SYM_OFFSET = 2,
1: - TRACE_ITER_SYM_ADDR = 4,
1: - TRACE_ITER_VERBOSE = 8,
1: - TRACE_ITER_RAW = 16,
1: - TRACE_ITER_HEX = 32,
1: - TRACE_ITER_BIN = 64,
1: - TRACE_ITER_BLOCK = 128,
1: - TRACE_ITER_PRINTK = 256,
1: - TRACE_ITER_ANNOTATE = 512,
1: - TRACE_ITER_USERSTACKTRACE = 1024,
1: - TRACE_ITER_SYM_USEROBJ = 2048,
1: - TRACE_ITER_PRINTK_MSGONLY = 4096,
1: - TRACE_ITER_CONTEXT_INFO = 8192,
1: - TRACE_ITER_LATENCY_FMT = 16384,
1: - TRACE_ITER_RECORD_CMD = 32768,
1: - TRACE_ITER_RECORD_TGID = 65536,
1: - TRACE_ITER_OVERWRITE = 131072,
1: - TRACE_ITER_STOP_ON_FREE = 262144,
1: - TRACE_ITER_IRQ_INFO = 524288,
1: - TRACE_ITER_MARKERS = 1048576,
1: - TRACE_ITER_EVENT_FORK = 2097152,
1: - TRACE_ITER_STACKTRACE = 4194304,
1: + TRACE_ITER_PRINT_PARENT = 1,
1: + TRACE_ITER_SYM_OFFSET = 2,
1: + TRACE_ITER_SYM_ADDR = 4,
1: + TRACE_ITER_VERBOSE = 8,
1: + TRACE_ITER_RAW = 16,
1: + TRACE_ITER_HEX = 32,
1: + TRACE_ITER_BIN = 64,
1: + TRACE_ITER_BLOCK = 128,
1: + TRACE_ITER_PRINTK = 256,
1: + TRACE_ITER_ANNOTATE = 512,
1: + TRACE_ITER_USERSTACKTRACE = 1024,
1: + TRACE_ITER_SYM_USEROBJ = 2048,
1: + TRACE_ITER_PRINTK_MSGONLY = 4096,
1: + TRACE_ITER_CONTEXT_INFO = 8192,
1: + TRACE_ITER_LATENCY_FMT = 16384,
1: + TRACE_ITER_RECORD_CMD = 32768,
1: + TRACE_ITER_RECORD_TGID = 65536,
1: + TRACE_ITER_OVERWRITE = 131072,
1: + TRACE_ITER_STOP_ON_FREE = 262144,
1: + TRACE_ITER_IRQ_INFO = 524288,
1: + TRACE_ITER_MARKERS = 1048576,
1: + TRACE_ITER_EVENT_FORK = 2097152,
1: + TRACE_ITER_STACKTRACE = 4194304,
1: };
1:
1: struct event_subsystem {
1: - struct list_head list;
1: - const char *name;
1: - struct event_filter *filter;
1: - int ref_count;
1: + struct list_head list;
1: + const char *name;
1: + struct event_filter *filter;
1: + int ref_count;
1: };
1:
1: struct saved_cmdlines_buffer {
1: - unsigned int map_pid_to_cmdline[32769];
1: - unsigned int *map_cmdline_to_pid;
1: - unsigned int cmdline_num;
1: - int cmdline_idx;
1: - char *saved_cmdlines;
1: + unsigned int map_pid_to_cmdline[32769];
1: + unsigned int *map_cmdline_to_pid;
1: + unsigned int cmdline_num;
1: + int cmdline_idx;
1: + char *saved_cmdlines;
1: };
1:
1: struct ftrace_stack {
1: - long unsigned int calls[1024];
1: + long unsigned int calls[1024];
1: };
1:
1: struct ftrace_stacks {
1: - struct ftrace_stack stacks[4];
1: + struct ftrace_stack stacks[4];
1: };
1:
1: struct trace_buffer_struct {
1: - int nesting;
1: - char buffer[4096];
1: + int nesting;
1: + char buffer[4096];
1: };
1:
1: struct ftrace_buffer_info {
1: - struct trace_iterator iter;
1: - void *spare;
1: - unsigned int spare_cpu;
1: - unsigned int read;
1: + struct trace_iterator iter;
1: + void *spare;
1: + unsigned int spare_cpu;
1: + unsigned int read;
1: };
1:
1: struct err_info {
1: - const char **errs;
1: - u8 type;
1: - u8 pos;
1: - u64 ts;
1: + const char **errs;
1: + u8 type;
1: + u8 pos;
1: + u64 ts;
1: };
1:
1: struct tracing_log_err {
1: - struct list_head list;
1: - struct err_info info;
1: - char loc[128];
1: - char cmd[256];
1: + struct list_head list;
1: + struct err_info info;
1: + char loc[128];
1: + char cmd[256];
1: };
1:
1: struct buffer_ref {
1: - struct ring_buffer *buffer;
1: - void *page;
1: - int cpu;
1: - refcount_t refcount;
1: + struct ring_buffer *buffer;
1: + void *page;
1: + int cpu;
1: + refcount_t refcount;
1: };
1:
1: struct ctx_switch_entry {
1: - struct trace_entry ent;
1: - unsigned int prev_pid;
1: - unsigned int next_pid;
1: - unsigned int next_cpu;
1: - unsigned char prev_prio;
1: - unsigned char prev_state;
1: - unsigned char next_prio;
1: - unsigned char next_state;
1: + struct trace_entry ent;
1: + unsigned int prev_pid;
1: + unsigned int next_pid;
1: + unsigned int next_cpu;
1: + unsigned char prev_prio;
1: + unsigned char prev_state;
1: + unsigned char next_prio;
1: + unsigned char next_state;
1: };
1:
1: struct hwlat_entry {
1: - struct trace_entry ent;
1: - u64 duration;
1: - u64 outer_duration;
1: - u64 nmi_total_ts;
1: - struct timespec64 timestamp;
1: - unsigned int nmi_count;
1: - unsigned int seqnum;
1: + struct trace_entry ent;
1: + u64 duration;
1: + u64 outer_duration;
1: + u64 nmi_total_ts;
1: + struct timespec64 timestamp;
1: + unsigned int nmi_count;
1: + unsigned int seqnum;
1: };
1:
1: struct trace_mark {
1: - long long unsigned int val;
1: - char sym;
1: + long long unsigned int val;
1: + char sym;
1: };
1:
1: struct tracer_stat {
1: - const char *name;
1: - void * (*stat_start)(struct tracer_stat *);
1: - void * (*stat_next)(void *, int);
1: - cmp_func_t stat_cmp;
1: - int (*stat_show)(struct seq_file *, void *);
1: - void (*stat_release)(void *);
1: - int (*stat_headers)(struct seq_file *);
1: + const char *name;
1: + void *(*stat_start)(struct tracer_stat *);
1: + void *(*stat_next)(void *, int);
1: + cmp_func_t stat_cmp;
1: + int (*stat_show)(struct seq_file *, void *);
1: + void (*stat_release)(void *);
1: + int (*stat_headers)(struct seq_file *);
1: };
1:
1: struct stat_node {
1: - struct rb_node node;
1: - void *stat;
1: + struct rb_node node;
1: + void *stat;
1: };
1:
1: struct stat_session {
1: - struct list_head session_list;
1: - struct tracer_stat *ts;
1: - struct rb_root stat_root;
1: - struct mutex stat_mutex;
1: - struct dentry *file;
1: + struct list_head session_list;
1: + struct tracer_stat *ts;
1: + struct rb_root stat_root;
1: + struct mutex stat_mutex;
1: + struct dentry *file;
1: };
1:
1: struct trace_bprintk_fmt {
1: - struct list_head list;
1: - const char *fmt;
1: + struct list_head list;
1: + const char *fmt;
1: };
1:
1: enum {
1: - TRACE_NOP_OPT_ACCEPT = 1,
1: - TRACE_NOP_OPT_REFUSE = 2,
1: + TRACE_NOP_OPT_ACCEPT = 1,
1: + TRACE_NOP_OPT_REFUSE = 2,
1: };
1:
1: typedef __u32 blk_mq_req_flags_t;
1: @@ -29901,406 +30070,406 @@ typedef __u32 blk_mq_req_flags_t;
1: struct blk_mq_ctxs;
1:
1: struct blk_mq_ctx {
1: - struct {
1: - spinlock_t lock;
1: - struct list_head rq_lists[3];
1: - long: 64;
1: - };
1: - unsigned int cpu;
1: - short unsigned int index_hw[3];
1: - struct blk_mq_hw_ctx *hctxs[3];
1: - long unsigned int rq_dispatched[2];
1: - long unsigned int rq_merged;
1: - long unsigned int rq_completed[2];
1: - struct request_queue *queue;
1: - struct blk_mq_ctxs *ctxs;
1: - struct kobject kobj;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct {
1: + spinlock_t lock;
1: + struct list_head rq_lists[3];
1: + long : 64;
1: + };
1: + unsigned int cpu;
1: + short unsigned int index_hw[3];
1: + struct blk_mq_hw_ctx *hctxs[3];
1: + long unsigned int rq_dispatched[2];
1: + long unsigned int rq_merged;
1: + long unsigned int rq_completed[2];
1: + struct request_queue *queue;
1: + struct blk_mq_ctxs *ctxs;
1: + struct kobject kobj;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct sbitmap_word;
1:
1: struct sbitmap {
1: - unsigned int depth;
1: - unsigned int shift;
1: - unsigned int map_nr;
1: - struct sbitmap_word *map;
1: + unsigned int depth;
1: + unsigned int shift;
1: + unsigned int map_nr;
1: + struct sbitmap_word *map;
1: };
1:
1: struct blk_mq_tags;
1:
1: struct blk_mq_hw_ctx {
1: - struct {
1: - spinlock_t lock;
1: - struct list_head dispatch;
1: - long unsigned int state;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - };
1: - struct delayed_work run_work;
1: - cpumask_var_t cpumask;
1: - int next_cpu;
1: - int next_cpu_batch;
1: - long unsigned int flags;
1: - void *sched_data;
1: - struct request_queue *queue;
1: - struct blk_flush_queue *fq;
1: - void *driver_data;
1: - struct sbitmap ctx_map;
1: - struct blk_mq_ctx *dispatch_from;
1: - unsigned int dispatch_busy;
1: - short unsigned int type;
1: - short unsigned int nr_ctx;
1: - struct blk_mq_ctx **ctxs;
1: - spinlock_t dispatch_wait_lock;
1: - wait_queue_entry_t dispatch_wait;
1: - atomic_t wait_index;
1: - struct blk_mq_tags *tags;
1: - struct blk_mq_tags *sched_tags;
1: - long unsigned int queued;
1: - long unsigned int run;
1: - long unsigned int dispatched[7];
1: - unsigned int numa_node;
1: - unsigned int queue_num;
1: - atomic_t nr_active;
1: - struct hlist_node cpuhp_dead;
1: - struct kobject kobj;
1: - long unsigned int poll_considered;
1: - long unsigned int poll_invoked;
1: - long unsigned int poll_success;
1: - struct dentry *debugfs_dir;
1: - struct dentry *sched_debugfs_dir;
1: - struct list_head hctx_list;
1: - struct srcu_struct srcu[0];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct {
1: + spinlock_t lock;
1: + struct list_head dispatch;
1: + long unsigned int state;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + };
1: + struct delayed_work run_work;
1: + cpumask_var_t cpumask;
1: + int next_cpu;
1: + int next_cpu_batch;
1: + long unsigned int flags;
1: + void *sched_data;
1: + struct request_queue *queue;
1: + struct blk_flush_queue *fq;
1: + void *driver_data;
1: + struct sbitmap ctx_map;
1: + struct blk_mq_ctx *dispatch_from;
1: + unsigned int dispatch_busy;
1: + short unsigned int type;
1: + short unsigned int nr_ctx;
1: + struct blk_mq_ctx **ctxs;
1: + spinlock_t dispatch_wait_lock;
1: + wait_queue_entry_t dispatch_wait;
1: + atomic_t wait_index;
1: + struct blk_mq_tags *tags;
1: + struct blk_mq_tags *sched_tags;
1: + long unsigned int queued;
1: + long unsigned int run;
1: + long unsigned int dispatched[7];
1: + unsigned int numa_node;
1: + unsigned int queue_num;
1: + atomic_t nr_active;
1: + struct hlist_node cpuhp_dead;
1: + struct kobject kobj;
1: + long unsigned int poll_considered;
1: + long unsigned int poll_invoked;
1: + long unsigned int poll_success;
1: + struct dentry *debugfs_dir;
1: + struct dentry *sched_debugfs_dir;
1: + struct list_head hctx_list;
1: + struct srcu_struct srcu[0];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct blk_mq_alloc_data {
1: - struct request_queue *q;
1: - blk_mq_req_flags_t flags;
1: - unsigned int shallow_depth;
1: - unsigned int cmd_flags;
1: - struct blk_mq_ctx *ctx;
1: - struct blk_mq_hw_ctx *hctx;
1: + struct request_queue *q;
1: + blk_mq_req_flags_t flags;
1: + unsigned int shallow_depth;
1: + unsigned int cmd_flags;
1: + struct blk_mq_ctx *ctx;
1: + struct blk_mq_hw_ctx *hctx;
1: };
1:
1: struct blk_stat_callback {
1: - struct list_head list;
1: - struct timer_list timer;
1: - struct blk_rq_stat *cpu_stat;
1: - int (*bucket_fn)(const struct request *);
1: - unsigned int buckets;
1: - struct blk_rq_stat *stat;
1: - void (*timer_fn)(struct blk_stat_callback *);
1: - void *data;
1: - struct callback_head rcu;
1: + struct list_head list;
1: + struct timer_list timer;
1: + struct blk_rq_stat *cpu_stat;
1: + int (*bucket_fn)(const struct request *);
1: + unsigned int buckets;
1: + struct blk_rq_stat *stat;
1: + void (*timer_fn)(struct blk_stat_callback *);
1: + void *data;
1: + struct callback_head rcu;
1: };
1:
1: struct blk_trace {
1: - int trace_state;
1: - struct rchan *rchan;
1: - long unsigned int *sequence;
1: - unsigned char *msg_data;
1: - u16 act_mask;
1: - u64 start_lba;
1: - u64 end_lba;
1: - u32 pid;
1: - u32 dev;
1: - struct dentry *dir;
1: - struct dentry *dropped_file;
1: - struct dentry *msg_file;
1: - struct list_head running_list;
1: - atomic_t dropped;
1: + int trace_state;
1: + struct rchan *rchan;
1: + long unsigned int *sequence;
1: + unsigned char *msg_data;
1: + u16 act_mask;
1: + u64 start_lba;
1: + u64 end_lba;
1: + u32 pid;
1: + u32 dev;
1: + struct dentry *dir;
1: + struct dentry *dropped_file;
1: + struct dentry *msg_file;
1: + struct list_head running_list;
1: + atomic_t dropped;
1: };
1:
1: struct blk_flush_queue {
1: - unsigned int flush_queue_delayed: 1;
1: - unsigned int flush_pending_idx: 1;
1: - unsigned int flush_running_idx: 1;
1: - blk_status_t rq_status;
1: - long unsigned int flush_pending_since;
1: - struct list_head flush_queue[2];
1: - struct list_head flush_data_in_flight;
1: - struct request *flush_rq;
1: - struct request *orig_rq;
1: - struct lock_class_key key;
1: - spinlock_t mq_flush_lock;
1: + unsigned int flush_queue_delayed : 1;
1: + unsigned int flush_pending_idx : 1;
1: + unsigned int flush_running_idx : 1;
1: + blk_status_t rq_status;
1: + long unsigned int flush_pending_since;
1: + struct list_head flush_queue[2];
1: + struct list_head flush_data_in_flight;
1: + struct request *flush_rq;
1: + struct request *orig_rq;
1: + struct lock_class_key key;
1: + spinlock_t mq_flush_lock;
1: };
1:
1: struct blk_mq_queue_map {
1: - unsigned int *mq_map;
1: - unsigned int nr_queues;
1: - unsigned int queue_offset;
1: + unsigned int *mq_map;
1: + unsigned int nr_queues;
1: + unsigned int queue_offset;
1: };
1:
1: struct blk_mq_tag_set {
1: - struct blk_mq_queue_map map[3];
1: - unsigned int nr_maps;
1: - const struct blk_mq_ops *ops;
1: - unsigned int nr_hw_queues;
1: - unsigned int queue_depth;
1: - unsigned int reserved_tags;
1: - unsigned int cmd_size;
1: - int numa_node;
1: - unsigned int timeout;
1: - unsigned int flags;
1: - void *driver_data;
1: - struct blk_mq_tags **tags;
1: - struct mutex tag_list_lock;
1: - struct list_head tag_list;
1: + struct blk_mq_queue_map map[3];
1: + unsigned int nr_maps;
1: + const struct blk_mq_ops *ops;
1: + unsigned int nr_hw_queues;
1: + unsigned int queue_depth;
1: + unsigned int reserved_tags;
1: + unsigned int cmd_size;
1: + int numa_node;
1: + unsigned int timeout;
1: + unsigned int flags;
1: + void *driver_data;
1: + struct blk_mq_tags **tags;
1: + struct mutex tag_list_lock;
1: + struct list_head tag_list;
1: };
1:
1: typedef u64 compat_u64;
1:
1: enum blktrace_cat {
1: - BLK_TC_READ = 1,
1: - BLK_TC_WRITE = 2,
1: - BLK_TC_FLUSH = 4,
1: - BLK_TC_SYNC = 8,
1: - BLK_TC_SYNCIO = 8,
1: - BLK_TC_QUEUE = 16,
1: - BLK_TC_REQUEUE = 32,
1: - BLK_TC_ISSUE = 64,
1: - BLK_TC_COMPLETE = 128,
1: - BLK_TC_FS = 256,
1: - BLK_TC_PC = 512,
1: - BLK_TC_NOTIFY = 1024,
1: - BLK_TC_AHEAD = 2048,
1: - BLK_TC_META = 4096,
1: - BLK_TC_DISCARD = 8192,
1: - BLK_TC_DRV_DATA = 16384,
1: - BLK_TC_FUA = 32768,
1: - BLK_TC_END = 32768,
1: + BLK_TC_READ = 1,
1: + BLK_TC_WRITE = 2,
1: + BLK_TC_FLUSH = 4,
1: + BLK_TC_SYNC = 8,
1: + BLK_TC_SYNCIO = 8,
1: + BLK_TC_QUEUE = 16,
1: + BLK_TC_REQUEUE = 32,
1: + BLK_TC_ISSUE = 64,
1: + BLK_TC_COMPLETE = 128,
1: + BLK_TC_FS = 256,
1: + BLK_TC_PC = 512,
1: + BLK_TC_NOTIFY = 1024,
1: + BLK_TC_AHEAD = 2048,
1: + BLK_TC_META = 4096,
1: + BLK_TC_DISCARD = 8192,
1: + BLK_TC_DRV_DATA = 16384,
1: + BLK_TC_FUA = 32768,
1: + BLK_TC_END = 32768,
1: };
1:
1: enum blktrace_act {
1: - __BLK_TA_QUEUE = 1,
1: - __BLK_TA_BACKMERGE = 2,
1: - __BLK_TA_FRONTMERGE = 3,
1: - __BLK_TA_GETRQ = 4,
1: - __BLK_TA_SLEEPRQ = 5,
1: - __BLK_TA_REQUEUE = 6,
1: - __BLK_TA_ISSUE = 7,
1: - __BLK_TA_COMPLETE = 8,
1: - __BLK_TA_PLUG = 9,
1: - __BLK_TA_UNPLUG_IO = 10,
1: - __BLK_TA_UNPLUG_TIMER = 11,
1: - __BLK_TA_INSERT = 12,
1: - __BLK_TA_SPLIT = 13,
1: - __BLK_TA_BOUNCE = 14,
1: - __BLK_TA_REMAP = 15,
1: - __BLK_TA_ABORT = 16,
1: - __BLK_TA_DRV_DATA = 17,
1: - __BLK_TA_CGROUP = 256,
1: + __BLK_TA_QUEUE = 1,
1: + __BLK_TA_BACKMERGE = 2,
1: + __BLK_TA_FRONTMERGE = 3,
1: + __BLK_TA_GETRQ = 4,
1: + __BLK_TA_SLEEPRQ = 5,
1: + __BLK_TA_REQUEUE = 6,
1: + __BLK_TA_ISSUE = 7,
1: + __BLK_TA_COMPLETE = 8,
1: + __BLK_TA_PLUG = 9,
1: + __BLK_TA_UNPLUG_IO = 10,
1: + __BLK_TA_UNPLUG_TIMER = 11,
1: + __BLK_TA_INSERT = 12,
1: + __BLK_TA_SPLIT = 13,
1: + __BLK_TA_BOUNCE = 14,
1: + __BLK_TA_REMAP = 15,
1: + __BLK_TA_ABORT = 16,
1: + __BLK_TA_DRV_DATA = 17,
1: + __BLK_TA_CGROUP = 256,
1: };
1:
1: enum blktrace_notify {
1: - __BLK_TN_PROCESS = 0,
1: - __BLK_TN_TIMESTAMP = 1,
1: - __BLK_TN_MESSAGE = 2,
1: - __BLK_TN_CGROUP = 256,
1: + __BLK_TN_PROCESS = 0,
1: + __BLK_TN_TIMESTAMP = 1,
1: + __BLK_TN_MESSAGE = 2,
1: + __BLK_TN_CGROUP = 256,
1: };
1:
1: struct blk_io_trace {
1: - __u32 magic;
1: - __u32 sequence;
1: - __u64 time;
1: - __u64 sector;
1: - __u32 bytes;
1: - __u32 action;
1: - __u32 pid;
1: - __u32 device;
1: - __u32 cpu;
1: - __u16 error;
1: - __u16 pdu_len;
1: + __u32 magic;
1: + __u32 sequence;
1: + __u64 time;
1: + __u64 sector;
1: + __u32 bytes;
1: + __u32 action;
1: + __u32 pid;
1: + __u32 device;
1: + __u32 cpu;
1: + __u16 error;
1: + __u16 pdu_len;
1: };
1:
1: struct blk_io_trace_remap {
1: - __be32 device_from;
1: - __be32 device_to;
1: - __be64 sector_from;
1: + __be32 device_from;
1: + __be32 device_to;
1: + __be64 sector_from;
1: };
1:
1: enum {
1: - Blktrace_setup = 1,
1: - Blktrace_running = 2,
1: - Blktrace_stopped = 3,
1: + Blktrace_setup = 1,
1: + Blktrace_running = 2,
1: + Blktrace_stopped = 3,
1: };
1:
1: struct blk_user_trace_setup {
1: - char name[32];
1: - __u16 act_mask;
1: - __u32 buf_size;
1: - __u32 buf_nr;
1: - __u64 start_lba;
1: - __u64 end_lba;
1: - __u32 pid;
1: + char name[32];
1: + __u16 act_mask;
1: + __u32 buf_size;
1: + __u32 buf_nr;
1: + __u64 start_lba;
1: + __u64 end_lba;
1: + __u32 pid;
1: };
1:
1: struct compat_blk_user_trace_setup {
1: - char name[32];
1: - u16 act_mask;
1: - short: 16;
1: - u32 buf_size;
1: - u32 buf_nr;
1: - compat_u64 start_lba;
1: - compat_u64 end_lba;
1: - u32 pid;
1: + char name[32];
1: + u16 act_mask;
1: + short : 16;
1: + u32 buf_size;
1: + u32 buf_nr;
1: + compat_u64 start_lba;
1: + compat_u64 end_lba;
1: + u32 pid;
1: } __attribute__((packed));
1:
1: struct blkcg {};
1:
1: struct sbitmap_word {
1: - long unsigned int depth;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long unsigned int word;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long unsigned int cleared;
1: - spinlock_t swap_lock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + long unsigned int depth;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long unsigned int word;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long unsigned int cleared;
1: + spinlock_t swap_lock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct sbq_wait_state {
1: - atomic_t wait_cnt;
1: - wait_queue_head_t wait;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + atomic_t wait_cnt;
1: + wait_queue_head_t wait;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct sbitmap_queue {
1: - struct sbitmap sb;
1: - unsigned int *alloc_hint;
1: - unsigned int wake_batch;
1: - atomic_t wake_index;
1: - struct sbq_wait_state *ws;
1: - atomic_t ws_active;
1: - bool round_robin;
1: - unsigned int min_shallow_depth;
1: + struct sbitmap sb;
1: + unsigned int *alloc_hint;
1: + unsigned int wake_batch;
1: + atomic_t wake_index;
1: + struct sbq_wait_state *ws;
1: + atomic_t ws_active;
1: + bool round_robin;
1: + unsigned int min_shallow_depth;
1: };
1:
1: struct blk_mq_tags {
1: - unsigned int nr_tags;
1: - unsigned int nr_reserved_tags;
1: - atomic_t active_queues;
1: - struct sbitmap_queue bitmap_tags;
1: - struct sbitmap_queue breserved_tags;
1: - struct request **rqs;
1: - struct request **static_rqs;
1: - struct list_head page_list;
1: + unsigned int nr_tags;
1: + unsigned int nr_reserved_tags;
1: + atomic_t active_queues;
1: + struct sbitmap_queue bitmap_tags;
1: + struct sbitmap_queue breserved_tags;
1: + struct request **rqs;
1: + struct request **static_rqs;
1: + struct list_head page_list;
1: };
1:
1: struct blk_mq_queue_data {
1: - struct request *rq;
1: - bool last;
1: + struct request *rq;
1: + bool last;
1: };
1:
1: struct blk_mq_ctxs {
1: - struct kobject kobj;
1: - struct blk_mq_ctx *queue_ctx;
1: + struct kobject kobj;
1: + struct blk_mq_ctx *queue_ctx;
1: };
1:
1: typedef void blk_log_action_t(struct trace_iterator *, const char *, bool);
1:
1: struct ftrace_event_field {
1: - struct list_head link;
1: - const char *name;
1: - const char *type;
1: - int filter_type;
1: - int offset;
1: - int size;
1: - int is_signed;
1: + struct list_head link;
1: + const char *name;
1: + const char *type;
1: + int filter_type;
1: + int offset;
1: + int size;
1: + int is_signed;
1: };
1:
1: enum {
1: - FORMAT_HEADER = 1,
1: - FORMAT_FIELD_SEPERATOR = 2,
1: - FORMAT_PRINTFMT = 3,
1: + FORMAT_HEADER = 1,
1: + FORMAT_FIELD_SEPERATOR = 2,
1: + FORMAT_PRINTFMT = 3,
1: };
1:
1: struct ftrace_graph_ent {
1: - long unsigned int func;
1: - int depth;
1: + long unsigned int func;
1: + int depth;
1: } __attribute__((packed));
1:
1: struct ftrace_graph_ret {
1: - long unsigned int func;
1: - long unsigned int overrun;
1: - long long unsigned int calltime;
1: - long long unsigned int rettime;
1: - int depth;
1: + long unsigned int func;
1: + long unsigned int overrun;
1: + long long unsigned int calltime;
1: + long long unsigned int rettime;
1: + int depth;
1: } __attribute__((packed));
1:
1: struct mmiotrace_rw {
1: - resource_size_t phys;
1: - long unsigned int value;
1: - long unsigned int pc;
1: - int map_id;
1: - unsigned char opcode;
1: - unsigned char width;
1: + resource_size_t phys;
1: + long unsigned int value;
1: + long unsigned int pc;
1: + int map_id;
1: + unsigned char opcode;
1: + unsigned char width;
1: };
1:
1: struct mmiotrace_map {
1: - resource_size_t phys;
1: - long unsigned int virt;
1: - long unsigned int len;
1: - int map_id;
1: - unsigned char opcode;
1: + resource_size_t phys;
1: + long unsigned int virt;
1: + long unsigned int len;
1: + int map_id;
1: + unsigned char opcode;
1: };
1:
1: struct ftrace_graph_ent_entry {
1: - struct trace_entry ent;
1: - struct ftrace_graph_ent graph_ent;
1: + struct trace_entry ent;
1: + struct ftrace_graph_ent graph_ent;
1: } __attribute__((packed));
1:
1: struct ftrace_graph_ret_entry {
1: - struct trace_entry ent;
1: - struct ftrace_graph_ret ret;
1: + struct trace_entry ent;
1: + struct ftrace_graph_ret ret;
1: } __attribute__((packed));
1:
1: struct trace_mmiotrace_rw {
1: - struct trace_entry ent;
1: - struct mmiotrace_rw rw;
1: + struct trace_entry ent;
1: + struct mmiotrace_rw rw;
1: };
1:
1: struct trace_mmiotrace_map {
1: - struct trace_entry ent;
1: - struct mmiotrace_map map;
1: + struct trace_entry ent;
1: + struct mmiotrace_map map;
1: };
1:
1: struct trace_branch {
1: - struct trace_entry ent;
1: - unsigned int line;
1: - char func[31];
1: - char file[21];
1: - char correct;
1: - char constant;
1: + struct trace_entry ent;
1: + unsigned int line;
1: + char func[31];
1: + char file[21];
1: + char correct;
1: + char constant;
1: };
1:
1: typedef long unsigned int perf_trace_t[256];
1: @@ -30308,9 +30477,9 @@ typedef long unsigned int perf_trace_t[256];
1: struct filter_pred;
1:
1: struct prog_entry {
1: - int target;
1: - int when_to_branch;
1: - struct filter_pred *pred;
1: + int target;
1: + int when_to_branch;
1: + struct filter_pred *pred;
1: };
1:
1: typedef int (*filter_pred_fn_t)(struct filter_pred *, void *);
1: @@ -30320,87 +30489,89 @@ struct regex;
1: typedef int (*regex_match_func)(char *, struct regex *, int);
1:
1: struct regex {
1: - char pattern[256];
1: - int len;
1: - int field_len;
1: - regex_match_func match;
1: + char pattern[256];
1: + int len;
1: + int field_len;
1: + regex_match_func match;
1: };
1:
1: struct filter_pred {
1: - filter_pred_fn_t fn;
1: - u64 val;
1: - struct regex regex;
1: - short unsigned int *ops;
1: - struct ftrace_event_field *field;
1: - int offset;
1: - int not;
1: - int op;
1: + filter_pred_fn_t fn;
1: + u64 val;
1: + struct regex regex;
1: + short unsigned int *ops;
1: + struct ftrace_event_field *field;
1: + int offset;
1: + int not;
1: + int op;
1: };
1:
1: enum regex_type {
1: - MATCH_FULL = 0,
1: - MATCH_FRONT_ONLY = 1,
1: - MATCH_MIDDLE_ONLY = 2,
1: - MATCH_END_ONLY = 3,
1: - MATCH_GLOB = 4,
1: - MATCH_INDEX = 5,
1: + MATCH_FULL = 0,
1: + MATCH_FRONT_ONLY = 1,
1: + MATCH_MIDDLE_ONLY = 2,
1: + MATCH_END_ONLY = 3,
1: + MATCH_GLOB = 4,
1: + MATCH_INDEX = 5,
1: };
1:
1: enum filter_op_ids {
1: - OP_GLOB = 0,
1: - OP_NE = 1,
1: - OP_EQ = 2,
1: - OP_LE = 3,
1: - OP_LT = 4,
1: - OP_GE = 5,
1: - OP_GT = 6,
1: - OP_BAND = 7,
1: - OP_MAX = 8,
1: -};
1: -
1: -enum {
1: - FILT_ERR_NONE = 0,
1: - FILT_ERR_INVALID_OP = 1,
1: - FILT_ERR_TOO_MANY_OPEN = 2,
1: - FILT_ERR_TOO_MANY_CLOSE = 3,
1: - FILT_ERR_MISSING_QUOTE = 4,
1: - FILT_ERR_OPERAND_TOO_LONG = 5,
1: - FILT_ERR_EXPECT_STRING = 6,
1: - FILT_ERR_EXPECT_DIGIT = 7,
1: - FILT_ERR_ILLEGAL_FIELD_OP = 8,
1: - FILT_ERR_FIELD_NOT_FOUND = 9,
1: - FILT_ERR_ILLEGAL_INTVAL = 10,
1: - FILT_ERR_BAD_SUBSYS_FILTER = 11,
1: - FILT_ERR_TOO_MANY_PREDS = 12,
1: - FILT_ERR_INVALID_FILTER = 13,
1: - FILT_ERR_IP_FIELD_ONLY = 14,
1: - FILT_ERR_INVALID_VALUE = 15,
1: - FILT_ERR_ERRNO = 16,
1: - FILT_ERR_NO_FILTER = 17,
1: + OP_GLOB = 0,
1: + OP_NE = 1,
1: + OP_EQ = 2,
1: + OP_LE = 3,
1: + OP_LT = 4,
1: + OP_GE = 5,
1: + OP_GT = 6,
1: + OP_BAND = 7,
1: + OP_MAX = 8,
1: +};
1: +
1: +enum {
1: + FILT_ERR_NONE = 0,
1: + FILT_ERR_INVALID_OP = 1,
1: + FILT_ERR_TOO_MANY_OPEN = 2,
1: + FILT_ERR_TOO_MANY_CLOSE = 3,
1: + FILT_ERR_MISSING_QUOTE = 4,
1: + FILT_ERR_OPERAND_TOO_LONG = 5,
1: + FILT_ERR_EXPECT_STRING = 6,
1: + FILT_ERR_EXPECT_DIGIT = 7,
1: + FILT_ERR_ILLEGAL_FIELD_OP = 8,
1: + FILT_ERR_FIELD_NOT_FOUND = 9,
1: + FILT_ERR_ILLEGAL_INTVAL = 10,
1: + FILT_ERR_BAD_SUBSYS_FILTER = 11,
1: + FILT_ERR_TOO_MANY_PREDS = 12,
1: + FILT_ERR_INVALID_FILTER = 13,
1: + FILT_ERR_IP_FIELD_ONLY = 14,
1: + FILT_ERR_INVALID_VALUE = 15,
1: + FILT_ERR_ERRNO = 16,
1: + FILT_ERR_NO_FILTER = 17,
1: };
1:
1: struct filter_parse_error {
1: - int lasterr;
1: - int lasterr_pos;
1: + int lasterr;
1: + int lasterr_pos;
1: };
1:
1: -typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **);
1: +typedef int (*parse_pred_fn)(const char *, void *, int,
1: + struct filter_parse_error *,
1: + struct filter_pred **);
1:
1: enum {
1: - INVERT = 1,
1: - PROCESS_AND = 2,
1: - PROCESS_OR = 4,
1: + INVERT = 1,
1: + PROCESS_AND = 2,
1: + PROCESS_OR = 4,
1: };
1:
1: enum {
1: - TOO_MANY_CLOSE = -1,
1: - TOO_MANY_OPEN = -2,
1: - MISSING_QUOTE = -3,
1: + TOO_MANY_CLOSE = -1,
1: + TOO_MANY_OPEN = -2,
1: + MISSING_QUOTE = -3,
1: };
1:
1: struct filter_list {
1: - struct list_head list;
1: - struct event_filter *filter;
1: + struct list_head list;
1: + struct event_filter *filter;
1: };
1:
1: struct event_trigger_ops;
1: @@ -30408,364 +30579,370 @@ struct event_trigger_ops;
1: struct event_command;
1:
1: struct event_trigger_data {
1: - long unsigned int count;
1: - int ref;
1: - struct event_trigger_ops *ops;
1: - struct event_command *cmd_ops;
1: - struct event_filter *filter;
1: - char *filter_str;
1: - void *private_data;
1: - bool paused;
1: - bool paused_tmp;
1: - struct list_head list;
1: - char *name;
1: - struct list_head named_list;
1: - struct event_trigger_data *named_data;
1: + long unsigned int count;
1: + int ref;
1: + struct event_trigger_ops *ops;
1: + struct event_command *cmd_ops;
1: + struct event_filter *filter;
1: + char *filter_str;
1: + void *private_data;
1: + bool paused;
1: + bool paused_tmp;
1: + struct list_head list;
1: + char *name;
1: + struct list_head named_list;
1: + struct event_trigger_data *named_data;
1: };
1:
1: struct event_trigger_ops {
1: - void (*func)(struct event_trigger_data *, void *, struct ring_buffer_event *);
1: - int (*init)(struct event_trigger_ops *, struct event_trigger_data *);
1: - void (*free)(struct event_trigger_ops *, struct event_trigger_data *);
1: - int (*print)(struct seq_file *, struct event_trigger_ops *, struct event_trigger_data *);
1: + void (*func)(struct event_trigger_data *, void *, struct ring_buffer_event *);
1: + int (*init)(struct event_trigger_ops *, struct event_trigger_data *);
1: + void (*free)(struct event_trigger_ops *, struct event_trigger_data *);
1: + int (*print)(struct seq_file *, struct event_trigger_ops *,
1: + struct event_trigger_data *);
1: };
1:
1: struct event_command {
1: - struct list_head list;
1: - char *name;
1: - enum event_trigger_type trigger_type;
1: - int flags;
1: - int (*func)(struct event_command *, struct trace_event_file *, char *, char *, char *);
1: - int (*reg)(char *, struct event_trigger_ops *, struct event_trigger_data *, struct trace_event_file *);
1: - void (*unreg)(char *, struct event_trigger_ops *, struct event_trigger_data *, struct trace_event_file *);
1: - void (*unreg_all)(struct trace_event_file *);
1: - int (*set_filter)(char *, struct event_trigger_data *, struct trace_event_file *);
1: - struct event_trigger_ops * (*get_trigger_ops)(char *, char *);
1: + struct list_head list;
1: + char *name;
1: + enum event_trigger_type trigger_type;
1: + int flags;
1: + int (*func)(struct event_command *, struct trace_event_file *, char *, char *,
1: + char *);
1: + int (*reg)(char *, struct event_trigger_ops *, struct event_trigger_data *,
1: + struct trace_event_file *);
1: + void (*unreg)(char *, struct event_trigger_ops *, struct event_trigger_data *,
1: + struct trace_event_file *);
1: + void (*unreg_all)(struct trace_event_file *);
1: + int (*set_filter)(char *, struct event_trigger_data *,
1: + struct trace_event_file *);
1: + struct event_trigger_ops *(*get_trigger_ops)(char *, char *);
1: };
1:
1: struct enable_trigger_data {
1: - struct trace_event_file *file;
1: - bool enable;
1: - bool hist;
1: + struct trace_event_file *file;
1: + bool enable;
1: + bool hist;
1: };
1:
1: enum event_command_flags {
1: - EVENT_CMD_FL_POST_TRIGGER = 1,
1: - EVENT_CMD_FL_NEEDS_REC = 2,
1: + EVENT_CMD_FL_POST_TRIGGER = 1,
1: + EVENT_CMD_FL_NEEDS_REC = 2,
1: };
1:
1: enum bpf_task_fd_type {
1: - BPF_FD_TYPE_RAW_TRACEPOINT = 0,
1: - BPF_FD_TYPE_TRACEPOINT = 1,
1: - BPF_FD_TYPE_KPROBE = 2,
1: - BPF_FD_TYPE_KRETPROBE = 3,
1: - BPF_FD_TYPE_UPROBE = 4,
1: - BPF_FD_TYPE_URETPROBE = 5,
1: + BPF_FD_TYPE_RAW_TRACEPOINT = 0,
1: + BPF_FD_TYPE_TRACEPOINT = 1,
1: + BPF_FD_TYPE_KPROBE = 2,
1: + BPF_FD_TYPE_KRETPROBE = 3,
1: + BPF_FD_TYPE_UPROBE = 4,
1: + BPF_FD_TYPE_URETPROBE = 5,
1: };
1:
1: struct kprobe_trace_entry_head {
1: - struct trace_entry ent;
1: - long unsigned int ip;
1: + struct trace_entry ent;
1: + long unsigned int ip;
1: };
1:
1: struct kretprobe_trace_entry_head {
1: - struct trace_entry ent;
1: - long unsigned int func;
1: - long unsigned int ret_ip;
1: + struct trace_entry ent;
1: + long unsigned int func;
1: + long unsigned int ret_ip;
1: };
1:
1: struct dyn_event;
1:
1: struct dyn_event_operations {
1: - struct list_head list;
1: - int (*create)(int, const char **);
1: - int (*show)(struct seq_file *, struct dyn_event *);
1: - bool (*is_busy)(struct dyn_event *);
1: - int (*free)(struct dyn_event *);
1: - bool (*match)(const char *, const char *, int, const char **, struct dyn_event *);
1: + struct list_head list;
1: + int (*create)(int, const char **);
1: + int (*show)(struct seq_file *, struct dyn_event *);
1: + bool (*is_busy)(struct dyn_event *);
1: + int (*free)(struct dyn_event *);
1: + bool (*match)(const char *, const char *, int, const char **,
1: + struct dyn_event *);
1: };
1:
1: struct dyn_event {
1: - struct list_head list;
1: - struct dyn_event_operations *ops;
1: + struct list_head list;
1: + struct dyn_event_operations *ops;
1: };
1:
1: typedef int (*print_type_func_t)(struct trace_seq *, void *, void *);
1:
1: enum fetch_op {
1: - FETCH_OP_NOP = 0,
1: - FETCH_OP_REG = 1,
1: - FETCH_OP_STACK = 2,
1: - FETCH_OP_STACKP = 3,
1: - FETCH_OP_RETVAL = 4,
1: - FETCH_OP_IMM = 5,
1: - FETCH_OP_COMM = 6,
1: - FETCH_OP_ARG = 7,
1: - FETCH_OP_FOFFS = 8,
1: - FETCH_OP_DATA = 9,
1: - FETCH_OP_DEREF = 10,
1: - FETCH_OP_UDEREF = 11,
1: - FETCH_OP_ST_RAW = 12,
1: - FETCH_OP_ST_MEM = 13,
1: - FETCH_OP_ST_UMEM = 14,
1: - FETCH_OP_ST_STRING = 15,
1: - FETCH_OP_ST_USTRING = 16,
1: - FETCH_OP_MOD_BF = 17,
1: - FETCH_OP_LP_ARRAY = 18,
1: - FETCH_OP_END = 19,
1: - FETCH_NOP_SYMBOL = 20,
1: + FETCH_OP_NOP = 0,
1: + FETCH_OP_REG = 1,
1: + FETCH_OP_STACK = 2,
1: + FETCH_OP_STACKP = 3,
1: + FETCH_OP_RETVAL = 4,
1: + FETCH_OP_IMM = 5,
1: + FETCH_OP_COMM = 6,
1: + FETCH_OP_ARG = 7,
1: + FETCH_OP_FOFFS = 8,
1: + FETCH_OP_DATA = 9,
1: + FETCH_OP_DEREF = 10,
1: + FETCH_OP_UDEREF = 11,
1: + FETCH_OP_ST_RAW = 12,
1: + FETCH_OP_ST_MEM = 13,
1: + FETCH_OP_ST_UMEM = 14,
1: + FETCH_OP_ST_STRING = 15,
1: + FETCH_OP_ST_USTRING = 16,
1: + FETCH_OP_MOD_BF = 17,
1: + FETCH_OP_LP_ARRAY = 18,
1: + FETCH_OP_END = 19,
1: + FETCH_NOP_SYMBOL = 20,
1: };
1:
1: struct fetch_insn {
1: - enum fetch_op op;
1: - union {
1: - unsigned int param;
1: - struct {
1: - unsigned int size;
1: - int offset;
1: - };
1: - struct {
1: - unsigned char basesize;
1: - unsigned char lshift;
1: - unsigned char rshift;
1: - };
1: - long unsigned int immediate;
1: - void *data;
1: - };
1: + enum fetch_op op;
1: + union {
1: + unsigned int param;
1: + struct {
1: + unsigned int size;
1: + int offset;
1: + };
1: + struct {
1: + unsigned char basesize;
1: + unsigned char lshift;
1: + unsigned char rshift;
1: + };
1: + long unsigned int immediate;
1: + void *data;
1: + };
1: };
1:
1: struct fetch_type {
1: - const char *name;
1: - size_t size;
1: - int is_signed;
1: - print_type_func_t print;
1: - const char *fmt;
1: - const char *fmttype;
1: + const char *name;
1: + size_t size;
1: + int is_signed;
1: + print_type_func_t print;
1: + const char *fmt;
1: + const char *fmttype;
1: };
1:
1: struct probe_arg {
1: - struct fetch_insn *code;
1: - bool dynamic;
1: - unsigned int offset;
1: - unsigned int count;
1: - const char *name;
1: - const char *comm;
1: - char *fmt;
1: - const struct fetch_type *type;
1: + struct fetch_insn *code;
1: + bool dynamic;
1: + unsigned int offset;
1: + unsigned int count;
1: + const char *name;
1: + const char *comm;
1: + char *fmt;
1: + const struct fetch_type *type;
1: };
1:
1: struct trace_uprobe_filter {
1: - rwlock_t rwlock;
1: - int nr_systemwide;
1: - struct list_head perf_events;
1: + rwlock_t rwlock;
1: + int nr_systemwide;
1: + struct list_head perf_events;
1: };
1:
1: struct trace_probe_event {
1: - unsigned int flags;
1: - struct trace_event_class class;
1: - struct trace_event_call call;
1: - struct list_head files;
1: - struct list_head probes;
1: - struct trace_uprobe_filter filter[0];
1: + unsigned int flags;
1: + struct trace_event_class class;
1: + struct trace_event_call call;
1: + struct list_head files;
1: + struct list_head probes;
1: + struct trace_uprobe_filter filter[0];
1: };
1:
1: struct trace_probe {
1: - struct list_head list;
1: - struct trace_probe_event *event;
1: - ssize_t size;
1: - unsigned int nr_args;
1: - struct probe_arg args[0];
1: + struct list_head list;
1: + struct trace_probe_event *event;
1: + ssize_t size;
1: + unsigned int nr_args;
1: + struct probe_arg args[0];
1: };
1:
1: struct event_file_link {
1: - struct trace_event_file *file;
1: - struct list_head list;
1: -};
1: -
1: -enum {
1: - TP_ERR_FILE_NOT_FOUND = 0,
1: - TP_ERR_NO_REGULAR_FILE = 1,
1: - TP_ERR_BAD_REFCNT = 2,
1: - TP_ERR_REFCNT_OPEN_BRACE = 3,
1: - TP_ERR_BAD_REFCNT_SUFFIX = 4,
1: - TP_ERR_BAD_UPROBE_OFFS = 5,
1: - TP_ERR_MAXACT_NO_KPROBE = 6,
1: - TP_ERR_BAD_MAXACT = 7,
1: - TP_ERR_MAXACT_TOO_BIG = 8,
1: - TP_ERR_BAD_PROBE_ADDR = 9,
1: - TP_ERR_BAD_RETPROBE = 10,
1: - TP_ERR_NO_GROUP_NAME = 11,
1: - TP_ERR_GROUP_TOO_LONG = 12,
1: - TP_ERR_BAD_GROUP_NAME = 13,
1: - TP_ERR_NO_EVENT_NAME = 14,
1: - TP_ERR_EVENT_TOO_LONG = 15,
1: - TP_ERR_BAD_EVENT_NAME = 16,
1: - TP_ERR_RETVAL_ON_PROBE = 17,
1: - TP_ERR_BAD_STACK_NUM = 18,
1: - TP_ERR_BAD_ARG_NUM = 19,
1: - TP_ERR_BAD_VAR = 20,
1: - TP_ERR_BAD_REG_NAME = 21,
1: - TP_ERR_BAD_MEM_ADDR = 22,
1: - TP_ERR_BAD_IMM = 23,
1: - TP_ERR_IMMSTR_NO_CLOSE = 24,
1: - TP_ERR_FILE_ON_KPROBE = 25,
1: - TP_ERR_BAD_FILE_OFFS = 26,
1: - TP_ERR_SYM_ON_UPROBE = 27,
1: - TP_ERR_TOO_MANY_OPS = 28,
1: - TP_ERR_DEREF_NEED_BRACE = 29,
1: - TP_ERR_BAD_DEREF_OFFS = 30,
1: - TP_ERR_DEREF_OPEN_BRACE = 31,
1: - TP_ERR_COMM_CANT_DEREF = 32,
1: - TP_ERR_BAD_FETCH_ARG = 33,
1: - TP_ERR_ARRAY_NO_CLOSE = 34,
1: - TP_ERR_BAD_ARRAY_SUFFIX = 35,
1: - TP_ERR_BAD_ARRAY_NUM = 36,
1: - TP_ERR_ARRAY_TOO_BIG = 37,
1: - TP_ERR_BAD_TYPE = 38,
1: - TP_ERR_BAD_STRING = 39,
1: - TP_ERR_BAD_BITFIELD = 40,
1: - TP_ERR_ARG_NAME_TOO_LONG = 41,
1: - TP_ERR_NO_ARG_NAME = 42,
1: - TP_ERR_BAD_ARG_NAME = 43,
1: - TP_ERR_USED_ARG_NAME = 44,
1: - TP_ERR_ARG_TOO_LONG = 45,
1: - TP_ERR_NO_ARG_BODY = 46,
1: - TP_ERR_BAD_INSN_BNDRY = 47,
1: - TP_ERR_FAIL_REG_PROBE = 48,
1: - TP_ERR_DIFF_PROBE_TYPE = 49,
1: - TP_ERR_DIFF_ARG_TYPE = 50,
1: - TP_ERR_SAME_PROBE = 51,
1: + struct trace_event_file *file;
1: + struct list_head list;
1: +};
1: +
1: +enum {
1: + TP_ERR_FILE_NOT_FOUND = 0,
1: + TP_ERR_NO_REGULAR_FILE = 1,
1: + TP_ERR_BAD_REFCNT = 2,
1: + TP_ERR_REFCNT_OPEN_BRACE = 3,
1: + TP_ERR_BAD_REFCNT_SUFFIX = 4,
1: + TP_ERR_BAD_UPROBE_OFFS = 5,
1: + TP_ERR_MAXACT_NO_KPROBE = 6,
1: + TP_ERR_BAD_MAXACT = 7,
1: + TP_ERR_MAXACT_TOO_BIG = 8,
1: + TP_ERR_BAD_PROBE_ADDR = 9,
1: + TP_ERR_BAD_RETPROBE = 10,
1: + TP_ERR_NO_GROUP_NAME = 11,
1: + TP_ERR_GROUP_TOO_LONG = 12,
1: + TP_ERR_BAD_GROUP_NAME = 13,
1: + TP_ERR_NO_EVENT_NAME = 14,
1: + TP_ERR_EVENT_TOO_LONG = 15,
1: + TP_ERR_BAD_EVENT_NAME = 16,
1: + TP_ERR_RETVAL_ON_PROBE = 17,
1: + TP_ERR_BAD_STACK_NUM = 18,
1: + TP_ERR_BAD_ARG_NUM = 19,
1: + TP_ERR_BAD_VAR = 20,
1: + TP_ERR_BAD_REG_NAME = 21,
1: + TP_ERR_BAD_MEM_ADDR = 22,
1: + TP_ERR_BAD_IMM = 23,
1: + TP_ERR_IMMSTR_NO_CLOSE = 24,
1: + TP_ERR_FILE_ON_KPROBE = 25,
1: + TP_ERR_BAD_FILE_OFFS = 26,
1: + TP_ERR_SYM_ON_UPROBE = 27,
1: + TP_ERR_TOO_MANY_OPS = 28,
1: + TP_ERR_DEREF_NEED_BRACE = 29,
1: + TP_ERR_BAD_DEREF_OFFS = 30,
1: + TP_ERR_DEREF_OPEN_BRACE = 31,
1: + TP_ERR_COMM_CANT_DEREF = 32,
1: + TP_ERR_BAD_FETCH_ARG = 33,
1: + TP_ERR_ARRAY_NO_CLOSE = 34,
1: + TP_ERR_BAD_ARRAY_SUFFIX = 35,
1: + TP_ERR_BAD_ARRAY_NUM = 36,
1: + TP_ERR_ARRAY_TOO_BIG = 37,
1: + TP_ERR_BAD_TYPE = 38,
1: + TP_ERR_BAD_STRING = 39,
1: + TP_ERR_BAD_BITFIELD = 40,
1: + TP_ERR_ARG_NAME_TOO_LONG = 41,
1: + TP_ERR_NO_ARG_NAME = 42,
1: + TP_ERR_BAD_ARG_NAME = 43,
1: + TP_ERR_USED_ARG_NAME = 44,
1: + TP_ERR_ARG_TOO_LONG = 45,
1: + TP_ERR_NO_ARG_BODY = 46,
1: + TP_ERR_BAD_INSN_BNDRY = 47,
1: + TP_ERR_FAIL_REG_PROBE = 48,
1: + TP_ERR_DIFF_PROBE_TYPE = 49,
1: + TP_ERR_DIFF_ARG_TYPE = 50,
1: + TP_ERR_SAME_PROBE = 51,
1: };
1:
1: struct trace_kprobe {
1: - struct dyn_event devent;
1: - struct kretprobe rp;
1: - long unsigned int *nhit;
1: - const char *symbol;
1: - struct trace_probe tp;
1: + struct dyn_event devent;
1: + struct kretprobe rp;
1: + long unsigned int *nhit;
1: + const char *symbol;
1: + struct trace_probe tp;
1: };
1:
1: struct trace_event_raw_cpu {
1: - struct trace_entry ent;
1: - u32 state;
1: - u32 cpu_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 state;
1: + u32 cpu_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_powernv_throttle {
1: - struct trace_entry ent;
1: - int chip_id;
1: - u32 __data_loc_reason;
1: - int pmax;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int chip_id;
1: + u32 __data_loc_reason;
1: + int pmax;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_pstate_sample {
1: - struct trace_entry ent;
1: - u32 core_busy;
1: - u32 scaled_busy;
1: - u32 from;
1: - u32 to;
1: - u64 mperf;
1: - u64 aperf;
1: - u64 tsc;
1: - u32 freq;
1: - u32 io_boost;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 core_busy;
1: + u32 scaled_busy;
1: + u32 from;
1: + u32 to;
1: + u64 mperf;
1: + u64 aperf;
1: + u64 tsc;
1: + u32 freq;
1: + u32 io_boost;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cpu_frequency_limits {
1: - struct trace_entry ent;
1: - u32 min_freq;
1: - u32 max_freq;
1: - u32 cpu_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 min_freq;
1: + u32 max_freq;
1: + u32 cpu_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_device_pm_callback_start {
1: - struct trace_entry ent;
1: - u32 __data_loc_device;
1: - u32 __data_loc_driver;
1: - u32 __data_loc_parent;
1: - u32 __data_loc_pm_ops;
1: - int event;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_device;
1: + u32 __data_loc_driver;
1: + u32 __data_loc_parent;
1: + u32 __data_loc_pm_ops;
1: + int event;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_device_pm_callback_end {
1: - struct trace_entry ent;
1: - u32 __data_loc_device;
1: - u32 __data_loc_driver;
1: - int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_device;
1: + u32 __data_loc_driver;
1: + int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_suspend_resume {
1: - struct trace_entry ent;
1: - const char *action;
1: - int val;
1: - bool start;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *action;
1: + int val;
1: + bool start;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wakeup_source {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - u64 state;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u64 state;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_clock {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - u64 state;
1: - u64 cpu_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u64 state;
1: + u64 cpu_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_power_domain {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - u64 state;
1: - u64 cpu_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u64 state;
1: + u64 cpu_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_pm_qos_request {
1: - struct trace_entry ent;
1: - int pm_qos_class;
1: - s32 value;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int pm_qos_class;
1: + s32 value;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_pm_qos_update_request_timeout {
1: - struct trace_entry ent;
1: - int pm_qos_class;
1: - s32 value;
1: - long unsigned int timeout_us;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int pm_qos_class;
1: + s32 value;
1: + long unsigned int timeout_us;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_pm_qos_update {
1: - struct trace_entry ent;
1: - enum pm_qos_req_action action;
1: - int prev_value;
1: - int curr_value;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pm_qos_req_action action;
1: + int prev_value;
1: + int curr_value;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_dev_pm_qos_request {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - enum dev_pm_qos_req_type type;
1: - s32 new_value;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + enum dev_pm_qos_req_type type;
1: + s32 new_value;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_cpu {};
1:
1: struct trace_event_data_offsets_powernv_throttle {
1: - u32 reason;
1: + u32 reason;
1: };
1:
1: struct trace_event_data_offsets_pstate_sample {};
1: @@ -30773,29 +30950,29 @@ struct trace_event_data_offsets_pstate_sample {};
1: struct trace_event_data_offsets_cpu_frequency_limits {};
1:
1: struct trace_event_data_offsets_device_pm_callback_start {
1: - u32 device;
1: - u32 driver;
1: - u32 parent;
1: - u32 pm_ops;
1: + u32 device;
1: + u32 driver;
1: + u32 parent;
1: + u32 pm_ops;
1: };
1:
1: struct trace_event_data_offsets_device_pm_callback_end {
1: - u32 device;
1: - u32 driver;
1: + u32 device;
1: + u32 driver;
1: };
1:
1: struct trace_event_data_offsets_suspend_resume {};
1:
1: struct trace_event_data_offsets_wakeup_source {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_clock {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_power_domain {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_pm_qos_request {};
1: @@ -30805,212 +30982,217 @@ struct trace_event_data_offsets_pm_qos_update_request_timeout {};
1: struct trace_event_data_offsets_pm_qos_update {};
1:
1: struct trace_event_data_offsets_dev_pm_qos_request {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_raw_rpm_internal {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - int flags;
1: - int usage_count;
1: - int disable_depth;
1: - int runtime_auto;
1: - int request_pending;
1: - int irq_safe;
1: - int child_count;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + int flags;
1: + int usage_count;
1: + int disable_depth;
1: + int runtime_auto;
1: + int request_pending;
1: + int irq_safe;
1: + int child_count;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpm_return_int {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - long unsigned int ip;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + long unsigned int ip;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_rpm_internal {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_rpm_return_int {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_probe_log {
1: - const char *subsystem;
1: - const char **argv;
1: - int argc;
1: - int index;
1: + const char *subsystem;
1: + const char **argv;
1: + int argc;
1: + int index;
1: };
1:
1: enum uprobe_filter_ctx {
1: - UPROBE_FILTER_REGISTER = 0,
1: - UPROBE_FILTER_UNREGISTER = 1,
1: - UPROBE_FILTER_MMAP = 2,
1: + UPROBE_FILTER_REGISTER = 0,
1: + UPROBE_FILTER_UNREGISTER = 1,
1: + UPROBE_FILTER_MMAP = 2,
1: };
1:
1: struct uprobe_consumer {
1: - int (*handler)(struct uprobe_consumer *, struct pt_regs *);
1: - int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *);
1: - bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *);
1: - struct uprobe_consumer *next;
1: + int (*handler)(struct uprobe_consumer *, struct pt_regs *);
1: + int (*ret_handler)(struct uprobe_consumer *, long unsigned int,
1: + struct pt_regs *);
1: + bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx,
1: + struct mm_struct *);
1: + struct uprobe_consumer *next;
1: };
1:
1: struct uprobe_trace_entry_head {
1: - struct trace_entry ent;
1: - long unsigned int vaddr[0];
1: + struct trace_entry ent;
1: + long unsigned int vaddr[0];
1: };
1:
1: struct trace_uprobe {
1: - struct dyn_event devent;
1: - struct uprobe_consumer consumer;
1: - struct path path;
1: - struct inode *inode;
1: - char *filename;
1: - long unsigned int offset;
1: - long unsigned int ref_ctr_offset;
1: - long unsigned int nhit;
1: - struct trace_probe tp;
1: + struct dyn_event devent;
1: + struct uprobe_consumer consumer;
1: + struct path path;
1: + struct inode *inode;
1: + char *filename;
1: + long unsigned int offset;
1: + long unsigned int ref_ctr_offset;
1: + long unsigned int nhit;
1: + struct trace_probe tp;
1: };
1:
1: struct uprobe_dispatch_data {
1: - struct trace_uprobe *tu;
1: - long unsigned int bp_addr;
1: + struct trace_uprobe *tu;
1: + long unsigned int bp_addr;
1: };
1:
1: struct uprobe_cpu_buffer {
1: - struct mutex mutex;
1: - void *buf;
1: + struct mutex mutex;
1: + void *buf;
1: };
1:
1: -typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *);
1: +typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx,
1: + struct mm_struct *);
1:
1: typedef __u32 __le32;
1:
1: typedef __u64 __le64;
1:
1: enum {
1: - BPF_REG_0 = 0,
1: - BPF_REG_1 = 1,
1: - BPF_REG_2 = 2,
1: - BPF_REG_3 = 3,
1: - BPF_REG_4 = 4,
1: - BPF_REG_5 = 5,
1: - BPF_REG_6 = 6,
1: - BPF_REG_7 = 7,
1: - BPF_REG_8 = 8,
1: - BPF_REG_9 = 9,
1: - BPF_REG_10 = 10,
1: - __MAX_BPF_REG = 11,
1: + BPF_REG_0 = 0,
1: + BPF_REG_1 = 1,
1: + BPF_REG_2 = 2,
1: + BPF_REG_3 = 3,
1: + BPF_REG_4 = 4,
1: + BPF_REG_5 = 5,
1: + BPF_REG_6 = 6,
1: + BPF_REG_7 = 7,
1: + BPF_REG_8 = 8,
1: + BPF_REG_9 = 9,
1: + BPF_REG_10 = 10,
1: + __MAX_BPF_REG = 11,
1: };
1:
1: enum xdp_action {
1: - XDP_ABORTED = 0,
1: - XDP_DROP = 1,
1: - XDP_PASS = 2,
1: - XDP_TX = 3,
1: - XDP_REDIRECT = 4,
1: + XDP_ABORTED = 0,
1: + XDP_DROP = 1,
1: + XDP_PASS = 2,
1: + XDP_TX = 3,
1: + XDP_REDIRECT = 4,
1: };
1:
1: enum bpf_arg_type {
1: - ARG_DONTCARE = 0,
1: - ARG_CONST_MAP_PTR = 1,
1: - ARG_PTR_TO_MAP_KEY = 2,
1: - ARG_PTR_TO_MAP_VALUE = 3,
1: - ARG_PTR_TO_UNINIT_MAP_VALUE = 4,
1: - ARG_PTR_TO_MAP_VALUE_OR_NULL = 5,
1: - ARG_PTR_TO_MEM = 6,
1: - ARG_PTR_TO_MEM_OR_NULL = 7,
1: - ARG_PTR_TO_UNINIT_MEM = 8,
1: - ARG_CONST_SIZE = 9,
1: - ARG_CONST_SIZE_OR_ZERO = 10,
1: - ARG_PTR_TO_CTX = 11,
1: - ARG_ANYTHING = 12,
1: - ARG_PTR_TO_SPIN_LOCK = 13,
1: - ARG_PTR_TO_SOCK_COMMON = 14,
1: - ARG_PTR_TO_INT = 15,
1: - ARG_PTR_TO_LONG = 16,
1: - ARG_PTR_TO_SOCKET = 17,
1: - ARG_PTR_TO_BTF_ID = 18,
1: + ARG_DONTCARE = 0,
1: + ARG_CONST_MAP_PTR = 1,
1: + ARG_PTR_TO_MAP_KEY = 2,
1: + ARG_PTR_TO_MAP_VALUE = 3,
1: + ARG_PTR_TO_UNINIT_MAP_VALUE = 4,
1: + ARG_PTR_TO_MAP_VALUE_OR_NULL = 5,
1: + ARG_PTR_TO_MEM = 6,
1: + ARG_PTR_TO_MEM_OR_NULL = 7,
1: + ARG_PTR_TO_UNINIT_MEM = 8,
1: + ARG_CONST_SIZE = 9,
1: + ARG_CONST_SIZE_OR_ZERO = 10,
1: + ARG_PTR_TO_CTX = 11,
1: + ARG_ANYTHING = 12,
1: + ARG_PTR_TO_SPIN_LOCK = 13,
1: + ARG_PTR_TO_SOCK_COMMON = 14,
1: + ARG_PTR_TO_INT = 15,
1: + ARG_PTR_TO_LONG = 16,
1: + ARG_PTR_TO_SOCKET = 17,
1: + ARG_PTR_TO_BTF_ID = 18,
1: };
1:
1: enum bpf_return_type {
1: - RET_INTEGER = 0,
1: - RET_VOID = 1,
1: - RET_PTR_TO_MAP_VALUE = 2,
1: - RET_PTR_TO_MAP_VALUE_OR_NULL = 3,
1: - RET_PTR_TO_SOCKET_OR_NULL = 4,
1: - RET_PTR_TO_TCP_SOCK_OR_NULL = 5,
1: - RET_PTR_TO_SOCK_COMMON_OR_NULL = 6,
1: + RET_INTEGER = 0,
1: + RET_VOID = 1,
1: + RET_PTR_TO_MAP_VALUE = 2,
1: + RET_PTR_TO_MAP_VALUE_OR_NULL = 3,
1: + RET_PTR_TO_SOCKET_OR_NULL = 4,
1: + RET_PTR_TO_TCP_SOCK_OR_NULL = 5,
1: + RET_PTR_TO_SOCK_COMMON_OR_NULL = 6,
1: };
1:
1: struct bpf_func_proto {
1: - u64 (*func)(u64, u64, u64, u64, u64);
1: - bool gpl_only;
1: - bool pkt_access;
1: - enum bpf_return_type ret_type;
1: - union {
1: - struct {
1: - enum bpf_arg_type arg1_type;
1: - enum bpf_arg_type arg2_type;
1: - enum bpf_arg_type arg3_type;
1: - enum bpf_arg_type arg4_type;
1: - enum bpf_arg_type arg5_type;
1: - };
1: - enum bpf_arg_type arg_type[5];
1: - };
1: - int *btf_id;
1: + u64 (*func)(u64, u64, u64, u64, u64);
1: + bool gpl_only;
1: + bool pkt_access;
1: + enum bpf_return_type ret_type;
1: + union {
1: + struct {
1: + enum bpf_arg_type arg1_type;
1: + enum bpf_arg_type arg2_type;
1: + enum bpf_arg_type arg3_type;
1: + enum bpf_arg_type arg4_type;
1: + enum bpf_arg_type arg5_type;
1: + };
1: + enum bpf_arg_type arg_type[5];
1: + };
1: + int *btf_id;
1: };
1:
1: struct bpf_array_aux {
1: - enum bpf_prog_type type;
1: - bool jited;
1: - struct list_head poke_progs;
1: - struct bpf_map *map;
1: - struct mutex poke_mutex;
1: - struct work_struct work;
1: + enum bpf_prog_type type;
1: + bool jited;
1: + struct list_head poke_progs;
1: + struct bpf_map *map;
1: + struct mutex poke_mutex;
1: + struct work_struct work;
1: };
1:
1: struct bpf_array {
1: - struct bpf_map map;
1: - u32 elem_size;
1: - u32 index_mask;
1: - struct bpf_array_aux *aux;
1: - union {
1: - char value[0];
1: - void *ptrs[0];
1: - void *pptrs[0];
1: - };
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: -};
1: -
1: -typedef long unsigned int (*bpf_ctx_copy_t)(void *, const void *, long unsigned int, long unsigned int);
1: + struct bpf_map map;
1: + u32 elem_size;
1: + u32 index_mask;
1: + struct bpf_array_aux *aux;
1: + union {
1: + char value[0];
1: + void *ptrs[0];
1: + void *pptrs[0];
1: + };
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: +};
1: +
1: +typedef long unsigned int (*bpf_ctx_copy_t)(void *, const void *,
1: + long unsigned int,
1: + long unsigned int);
1:
1: enum bpf_text_poke_type {
1: - BPF_MOD_CALL = 0,
1: - BPF_MOD_JUMP = 1,
1: + BPF_MOD_CALL = 0,
1: + BPF_MOD_JUMP = 1,
1: };
1:
1: enum xdp_mem_type {
1: - MEM_TYPE_PAGE_SHARED = 0,
1: - MEM_TYPE_PAGE_ORDER0 = 1,
1: - MEM_TYPE_PAGE_POOL = 2,
1: - MEM_TYPE_ZERO_COPY = 3,
1: - MEM_TYPE_MAX = 4,
1: + MEM_TYPE_PAGE_SHARED = 0,
1: + MEM_TYPE_PAGE_ORDER0 = 1,
1: + MEM_TYPE_PAGE_POOL = 2,
1: + MEM_TYPE_ZERO_COPY = 3,
1: + MEM_TYPE_MAX = 4,
1: };
1:
1: struct zero_copy_allocator {
1: - void (*free)(struct zero_copy_allocator *, long unsigned int);
1: + void (*free)(struct zero_copy_allocator *, long unsigned int);
1: };
1:
1: struct bpf_prog_dummy {
1: - struct bpf_prog prog;
1: + struct bpf_prog prog;
1: };
1:
1: typedef u64 (*btf_bpf_user_rnd_u32)();
1: @@ -31018,107 +31200,107 @@ typedef u64 (*btf_bpf_user_rnd_u32)();
1: struct page_pool;
1:
1: struct xdp_mem_allocator {
1: - struct xdp_mem_info mem;
1: - union {
1: - void *allocator;
1: - struct page_pool *page_pool;
1: - struct zero_copy_allocator *zc_alloc;
1: - };
1: - struct rhash_head node;
1: - struct callback_head rcu;
1: + struct xdp_mem_info mem;
1: + union {
1: + void *allocator;
1: + struct page_pool *page_pool;
1: + struct zero_copy_allocator *zc_alloc;
1: + };
1: + struct rhash_head node;
1: + struct callback_head rcu;
1: };
1:
1: struct trace_event_raw_xdp_exception {
1: - struct trace_entry ent;
1: - int prog_id;
1: - u32 act;
1: - int ifindex;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int prog_id;
1: + u32 act;
1: + int ifindex;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xdp_bulk_tx {
1: - struct trace_entry ent;
1: - int ifindex;
1: - u32 act;
1: - int drops;
1: - int sent;
1: - int err;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int ifindex;
1: + u32 act;
1: + int drops;
1: + int sent;
1: + int err;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xdp_redirect_template {
1: - struct trace_entry ent;
1: - int prog_id;
1: - u32 act;
1: - int ifindex;
1: - int err;
1: - int to_ifindex;
1: - u32 map_id;
1: - int map_index;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int prog_id;
1: + u32 act;
1: + int ifindex;
1: + int err;
1: + int to_ifindex;
1: + u32 map_id;
1: + int map_index;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xdp_cpumap_kthread {
1: - struct trace_entry ent;
1: - int map_id;
1: - u32 act;
1: - int cpu;
1: - unsigned int drops;
1: - unsigned int processed;
1: - int sched;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int map_id;
1: + u32 act;
1: + int cpu;
1: + unsigned int drops;
1: + unsigned int processed;
1: + int sched;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xdp_cpumap_enqueue {
1: - struct trace_entry ent;
1: - int map_id;
1: - u32 act;
1: - int cpu;
1: - unsigned int drops;
1: - unsigned int processed;
1: - int to_cpu;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int map_id;
1: + u32 act;
1: + int cpu;
1: + unsigned int drops;
1: + unsigned int processed;
1: + int to_cpu;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xdp_devmap_xmit {
1: - struct trace_entry ent;
1: - int map_id;
1: - u32 act;
1: - u32 map_index;
1: - int drops;
1: - int sent;
1: - int from_ifindex;
1: - int to_ifindex;
1: - int err;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int map_id;
1: + u32 act;
1: + u32 map_index;
1: + int drops;
1: + int sent;
1: + int from_ifindex;
1: + int to_ifindex;
1: + int err;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mem_disconnect {
1: - struct trace_entry ent;
1: - const struct xdp_mem_allocator *xa;
1: - u32 mem_id;
1: - u32 mem_type;
1: - const void *allocator;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const struct xdp_mem_allocator *xa;
1: + u32 mem_id;
1: + u32 mem_type;
1: + const void *allocator;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mem_connect {
1: - struct trace_entry ent;
1: - const struct xdp_mem_allocator *xa;
1: - u32 mem_id;
1: - u32 mem_type;
1: - const void *allocator;
1: - const struct xdp_rxq_info *rxq;
1: - int ifindex;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const struct xdp_mem_allocator *xa;
1: + u32 mem_id;
1: + u32 mem_type;
1: + const void *allocator;
1: + const struct xdp_rxq_info *rxq;
1: + int ifindex;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mem_return_failed {
1: - struct trace_entry ent;
1: - const struct page *page;
1: - u32 mem_id;
1: - u32 mem_type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const struct page *page;
1: + u32 mem_id;
1: + u32 mem_type;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_xdp_exception {};
1: @@ -31150,158 +31332,160 @@ struct mm_struct___2;
1: struct dev_pagemap___2;
1:
1: struct page___2 {
1: - long unsigned int flags;
1: - union {
1: - struct {
1: - struct list_head lru;
1: - struct address_space___2 *mapping;
1: - long unsigned int index;
1: - long unsigned int private;
1: - };
1: - struct {
1: - dma_addr_t dma_addr;
1: - };
1: - struct {
1: - union {
1: - struct list_head slab_list;
1: - struct {
1: - struct page___2 *next;
1: - int pages;
1: - int pobjects;
1: - };
1: - };
1: - struct kmem_cache *slab_cache;
1: - void *freelist;
1: - union {
1: - void *s_mem;
1: - long unsigned int counters;
1: - struct {
1: - unsigned int inuse: 16;
1: - unsigned int objects: 15;
1: - unsigned int frozen: 1;
1: - };
1: - };
1: - };
1: - struct {
1: - long unsigned int compound_head;
1: - unsigned char compound_dtor;
1: - unsigned char compound_order;
1: - atomic_t compound_mapcount;
1: - };
1: - struct {
1: - long unsigned int _compound_pad_1;
1: - long unsigned int _compound_pad_2;
1: - struct list_head deferred_list;
1: - };
1: - struct {
1: - long unsigned int _pt_pad_1;
1: - pgtable_t___2 pmd_huge_pte;
1: - long unsigned int _pt_pad_2;
1: - union {
1: - struct mm_struct___2 *pt_mm;
1: - atomic_t pt_frag_refcount;
1: - };
1: - spinlock_t ptl;
1: - };
1: - struct {
1: - struct dev_pagemap___2 *pgmap;
1: - void *zone_device_data;
1: - };
1: - struct callback_head callback_head;
1: - };
1: - union {
1: - atomic_t _mapcount;
1: - unsigned int page_type;
1: - unsigned int active;
1: - int units;
1: - };
1: - atomic_t _refcount;
1: - long: 64;
1: + long unsigned int flags;
1: + union {
1: + struct {
1: + struct list_head lru;
1: + struct address_space___2 *mapping;
1: + long unsigned int index;
1: + long unsigned int private;
1: + };
1: + struct {
1: + dma_addr_t dma_addr;
1: + };
1: + struct {
1: + union {
1: + struct list_head slab_list;
1: + struct {
1: + struct page___2 *next;
1: + int pages;
1: + int pobjects;
1: + };
1: + };
1: + struct kmem_cache *slab_cache;
1: + void *freelist;
1: + union {
1: + void *s_mem;
1: + long unsigned int counters;
1: + struct {
1: + unsigned int inuse : 16;
1: + unsigned int objects : 15;
1: + unsigned int frozen : 1;
1: + };
1: + };
1: + };
1: + struct {
1: + long unsigned int compound_head;
1: + unsigned char compound_dtor;
1: + unsigned char compound_order;
1: + atomic_t compound_mapcount;
1: + };
1: + struct {
1: + long unsigned int _compound_pad_1;
1: + long unsigned int _compound_pad_2;
1: + struct list_head deferred_list;
1: + };
1: + struct {
1: + long unsigned int _pt_pad_1;
1: + pgtable_t___2 pmd_huge_pte;
1: + long unsigned int _pt_pad_2;
1: + union {
1: + struct mm_struct___2 *pt_mm;
1: + atomic_t pt_frag_refcount;
1: + };
1: + spinlock_t ptl;
1: + };
1: + struct {
1: + struct dev_pagemap___2 *pgmap;
1: + void *zone_device_data;
1: + };
1: + struct callback_head callback_head;
1: + };
1: + union {
1: + atomic_t _mapcount;
1: + unsigned int page_type;
1: + unsigned int active;
1: + int units;
1: + };
1: + atomic_t _refcount;
1: + long : 64;
1: };
1:
1: struct perf_event___2;
1:
1: struct thread_struct___2 {
1: - struct desc_struct tls_array[3];
1: - long unsigned int sp;
1: - short unsigned int es;
1: - short unsigned int ds;
1: - short unsigned int fsindex;
1: - short unsigned int gsindex;
1: - long unsigned int fsbase;
1: - long unsigned int gsbase;
1: - struct perf_event___2 *ptrace_bps[4];
1: - long unsigned int debugreg6;
1: - long unsigned int ptrace_dr7;
1: - long unsigned int cr2;
1: - long unsigned int trap_nr;
1: - long unsigned int error_code;
1: - struct io_bitmap *io_bitmap;
1: - long unsigned int iopl_emul;
1: - mm_segment_t addr_limit;
1: - unsigned int sig_on_uaccess_err: 1;
1: - unsigned int uaccess_err: 1;
1: - long: 62;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct fpu fpu;
1: + struct desc_struct tls_array[3];
1: + long unsigned int sp;
1: + short unsigned int es;
1: + short unsigned int ds;
1: + short unsigned int fsindex;
1: + short unsigned int gsindex;
1: + long unsigned int fsbase;
1: + long unsigned int gsbase;
1: + struct perf_event___2 *ptrace_bps[4];
1: + long unsigned int debugreg6;
1: + long unsigned int ptrace_dr7;
1: + long unsigned int cr2;
1: + long unsigned int trap_nr;
1: + long unsigned int error_code;
1: + struct io_bitmap *io_bitmap;
1: + long unsigned int iopl_emul;
1: + mm_segment_t addr_limit;
1: + unsigned int sig_on_uaccess_err : 1;
1: + unsigned int uaccess_err : 1;
1: + long : 62;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct fpu fpu;
1: };
1:
1: struct task_struct___2;
1:
1: struct hw_perf_event___2 {
1: - union {
1: - struct {
1: - u64 config;
1: - u64 last_tag;
1: - long unsigned int config_base;
1: - long unsigned int event_base;
1: - int event_base_rdpmc;
1: - int idx;
1: - int last_cpu;
1: - int flags;
1: - struct hw_perf_event_extra extra_reg;
1: - struct hw_perf_event_extra branch_reg;
1: - };
1: - struct {
1: - struct hrtimer hrtimer;
1: - };
1: - struct {
1: - struct list_head tp_list;
1: - };
1: - struct {
1: - u64 pwr_acc;
1: - u64 ptsc;
1: - };
1: - struct {
1: - struct arch_hw_breakpoint info;
1: - struct list_head bp_list;
1: - };
1: - struct {
1: - u8 iommu_bank;
1: - u8 iommu_cntr;
1: - u16 padding;
1: - u64 conf;
1: - u64 conf1;
1: - };
1: - };
1: - struct task_struct___2 *target;
1: - void *addr_filters;
1: - long unsigned int addr_filters_gen;
1: - int state;
1: - local64_t prev_count;
1: - u64 sample_period;
1: - u64 last_period;
1: - local64_t period_left;
1: - u64 interrupts_seq;
1: - u64 interrupts;
1: - u64 freq_time_stamp;
1: - u64 freq_count_stamp;
1: -};
1: -
1: -typedef void (*perf_overflow_handler_t___2)(struct perf_event___2 *, struct perf_sample_data *, struct pt_regs *);
1: + union {
1: + struct {
1: + u64 config;
1: + u64 last_tag;
1: + long unsigned int config_base;
1: + long unsigned int event_base;
1: + int event_base_rdpmc;
1: + int idx;
1: + int last_cpu;
1: + int flags;
1: + struct hw_perf_event_extra extra_reg;
1: + struct hw_perf_event_extra branch_reg;
1: + };
1: + struct {
1: + struct hrtimer hrtimer;
1: + };
1: + struct {
1: + struct list_head tp_list;
1: + };
1: + struct {
1: + u64 pwr_acc;
1: + u64 ptsc;
1: + };
1: + struct {
1: + struct arch_hw_breakpoint info;
1: + struct list_head bp_list;
1: + };
1: + struct {
1: + u8 iommu_bank;
1: + u8 iommu_cntr;
1: + u16 padding;
1: + u64 conf;
1: + u64 conf1;
1: + };
1: + };
1: + struct task_struct___2 *target;
1: + void *addr_filters;
1: + long unsigned int addr_filters_gen;
1: + int state;
1: + local64_t prev_count;
1: + u64 sample_period;
1: + u64 last_period;
1: + local64_t period_left;
1: + u64 interrupts_seq;
1: + u64 interrupts;
1: + u64 freq_time_stamp;
1: + u64 freq_count_stamp;
1: +};
1: +
1: +typedef void (*perf_overflow_handler_t___2)(struct perf_event___2 *,
1: + struct perf_sample_data *,
1: + struct pt_regs *);
1:
1: struct pmu___2;
1:
1: @@ -31316,120 +31500,120 @@ struct pid_namespace___2;
1: struct trace_event_call___2;
1:
1: struct perf_event___2 {
1: - struct list_head event_entry;
1: - struct list_head sibling_list;
1: - struct list_head active_list;
1: - struct rb_node group_node;
1: - u64 group_index;
1: - struct list_head migrate_entry;
1: - struct hlist_node hlist_entry;
1: - struct list_head active_entry;
1: - int nr_siblings;
1: - int event_caps;
1: - int group_caps;
1: - struct perf_event___2 *group_leader;
1: - struct pmu___2 *pmu;
1: - void *pmu_private;
1: - enum perf_event_state state;
1: - unsigned int attach_state;
1: - local64_t count;
1: - atomic64_t child_count;
1: - u64 total_time_enabled;
1: - u64 total_time_running;
1: - u64 tstamp;
1: - u64 shadow_ctx_time;
1: - struct perf_event_attr attr;
1: - u16 header_size;
1: - u16 id_header_size;
1: - u16 read_size;
1: - struct hw_perf_event___2 hw;
1: - struct perf_event_context___2 *ctx;
1: - atomic_long_t refcount;
1: - atomic64_t child_total_time_enabled;
1: - atomic64_t child_total_time_running;
1: - struct mutex child_mutex;
1: - struct list_head child_list;
1: - struct perf_event___2 *parent;
1: - int oncpu;
1: - int cpu;
1: - struct list_head owner_entry;
1: - struct task_struct___2 *owner;
1: - struct mutex mmap_mutex;
1: - atomic_t mmap_count;
1: - struct ring_buffer___2 *rb;
1: - struct list_head rb_entry;
1: - long unsigned int rcu_batches;
1: - int rcu_pending;
1: - wait_queue_head_t waitq;
1: - struct fasync_struct___2 *fasync;
1: - int pending_wakeup;
1: - int pending_kill;
1: - int pending_disable;
1: - struct irq_work pending;
1: - atomic_t event_limit;
1: - struct perf_addr_filters_head addr_filters;
1: - struct perf_addr_filter_range *addr_filter_ranges;
1: - long unsigned int addr_filters_gen;
1: - struct perf_event___2 *aux_event;
1: - void (*destroy)(struct perf_event___2 *);
1: - struct callback_head callback_head;
1: - struct pid_namespace___2 *ns;
1: - u64 id;
1: - u64 (*clock)();
1: - perf_overflow_handler_t___2 overflow_handler;
1: - void *overflow_handler_context;
1: - struct trace_event_call___2 *tp_event;
1: - struct event_filter *filter;
1: - void *security;
1: - struct list_head sb_list;
1: + struct list_head event_entry;
1: + struct list_head sibling_list;
1: + struct list_head active_list;
1: + struct rb_node group_node;
1: + u64 group_index;
1: + struct list_head migrate_entry;
1: + struct hlist_node hlist_entry;
1: + struct list_head active_entry;
1: + int nr_siblings;
1: + int event_caps;
1: + int group_caps;
1: + struct perf_event___2 *group_leader;
1: + struct pmu___2 *pmu;
1: + void *pmu_private;
1: + enum perf_event_state state;
1: + unsigned int attach_state;
1: + local64_t count;
1: + atomic64_t child_count;
1: + u64 total_time_enabled;
1: + u64 total_time_running;
1: + u64 tstamp;
1: + u64 shadow_ctx_time;
1: + struct perf_event_attr attr;
1: + u16 header_size;
1: + u16 id_header_size;
1: + u16 read_size;
1: + struct hw_perf_event___2 hw;
1: + struct perf_event_context___2 *ctx;
1: + atomic_long_t refcount;
1: + atomic64_t child_total_time_enabled;
1: + atomic64_t child_total_time_running;
1: + struct mutex child_mutex;
1: + struct list_head child_list;
1: + struct perf_event___2 *parent;
1: + int oncpu;
1: + int cpu;
1: + struct list_head owner_entry;
1: + struct task_struct___2 *owner;
1: + struct mutex mmap_mutex;
1: + atomic_t mmap_count;
1: + struct ring_buffer___2 *rb;
1: + struct list_head rb_entry;
1: + long unsigned int rcu_batches;
1: + int rcu_pending;
1: + wait_queue_head_t waitq;
1: + struct fasync_struct___2 *fasync;
1: + int pending_wakeup;
1: + int pending_kill;
1: + int pending_disable;
1: + struct irq_work pending;
1: + atomic_t event_limit;
1: + struct perf_addr_filters_head addr_filters;
1: + struct perf_addr_filter_range *addr_filter_ranges;
1: + long unsigned int addr_filters_gen;
1: + struct perf_event___2 *aux_event;
1: + void (*destroy)(struct perf_event___2 *);
1: + struct callback_head callback_head;
1: + struct pid_namespace___2 *ns;
1: + u64 id;
1: + u64 (*clock)();
1: + perf_overflow_handler_t___2 overflow_handler;
1: + void *overflow_handler_context;
1: + struct trace_event_call___2 *tp_event;
1: + struct event_filter *filter;
1: + void *security;
1: + struct list_head sb_list;
1: };
1:
1: struct dentry_operations___2;
1:
1: struct dentry___2 {
1: - unsigned int d_flags;
1: - seqcount_t d_seq;
1: - struct hlist_bl_node d_hash;
1: - struct dentry___2 *d_parent;
1: - struct qstr d_name;
1: - struct inode___2 *d_inode;
1: - unsigned char d_iname[32];
1: - struct lockref d_lockref;
1: - const struct dentry_operations___2 *d_op;
1: - struct super_block___2 *d_sb;
1: - long unsigned int d_time;
1: - void *d_fsdata;
1: - union {
1: - struct list_head d_lru;
1: - wait_queue_head_t *d_wait;
1: - };
1: - struct list_head d_child;
1: - struct list_head d_subdirs;
1: - union {
1: - struct hlist_node d_alias;
1: - struct hlist_bl_node d_in_lookup_hash;
1: - struct callback_head d_rcu;
1: - } d_u;
1: + unsigned int d_flags;
1: + seqcount_t d_seq;
1: + struct hlist_bl_node d_hash;
1: + struct dentry___2 *d_parent;
1: + struct qstr d_name;
1: + struct inode___2 *d_inode;
1: + unsigned char d_iname[32];
1: + struct lockref d_lockref;
1: + const struct dentry_operations___2 *d_op;
1: + struct super_block___2 *d_sb;
1: + long unsigned int d_time;
1: + void *d_fsdata;
1: + union {
1: + struct list_head d_lru;
1: + wait_queue_head_t *d_wait;
1: + };
1: + struct list_head d_child;
1: + struct list_head d_subdirs;
1: + union {
1: + struct hlist_node d_alias;
1: + struct hlist_bl_node d_in_lookup_hash;
1: + struct callback_head d_rcu;
1: + } d_u;
1: };
1:
1: struct address_space_operations___2;
1:
1: struct address_space___2 {
1: - struct inode___2 *host;
1: - struct xarray i_pages;
1: - gfp_t gfp_mask;
1: - atomic_t i_mmap_writable;
1: - struct rb_root_cached i_mmap;
1: - struct rw_semaphore i_mmap_rwsem;
1: - long unsigned int nrpages;
1: - long unsigned int nrexceptional;
1: - long unsigned int writeback_index;
1: - const struct address_space_operations___2 *a_ops;
1: - long unsigned int flags;
1: - errseq_t wb_err;
1: - spinlock_t private_lock;
1: - struct list_head private_list;
1: - void *private_data;
1: + struct inode___2 *host;
1: + struct xarray i_pages;
1: + gfp_t gfp_mask;
1: + atomic_t i_mmap_writable;
1: + struct rb_root_cached i_mmap;
1: + struct rw_semaphore i_mmap_rwsem;
1: + long unsigned int nrpages;
1: + long unsigned int nrexceptional;
1: + long unsigned int writeback_index;
1: + const struct address_space_operations___2 *a_ops;
1: + long unsigned int flags;
1: + errseq_t wb_err;
1: + spinlock_t private_lock;
1: + struct list_head private_list;
1: + void *private_data;
1: };
1:
1: struct inode_operations___2;
1: @@ -31441,68 +31625,68 @@ struct pipe_inode_info___2;
1: struct block_device___2;
1:
1: struct inode___2 {
1: - umode_t i_mode;
1: - short unsigned int i_opflags;
1: - kuid_t i_uid;
1: - kgid_t i_gid;
1: - unsigned int i_flags;
1: - struct posix_acl *i_acl;
1: - struct posix_acl *i_default_acl;
1: - const struct inode_operations___2 *i_op;
1: - struct super_block___2 *i_sb;
1: - struct address_space___2 *i_mapping;
1: - void *i_security;
1: - long unsigned int i_ino;
1: - union {
1: - const unsigned int i_nlink;
1: - unsigned int __i_nlink;
1: - };
1: - dev_t i_rdev;
1: - loff_t i_size;
1: - struct timespec64 i_atime;
1: - struct timespec64 i_mtime;
1: - struct timespec64 i_ctime;
1: - spinlock_t i_lock;
1: - short unsigned int i_bytes;
1: - u8 i_blkbits;
1: - u8 i_write_hint;
1: - blkcnt_t i_blocks;
1: - long unsigned int i_state;
1: - struct rw_semaphore i_rwsem;
1: - long unsigned int dirtied_when;
1: - long unsigned int dirtied_time_when;
1: - struct hlist_node i_hash;
1: - struct list_head i_io_list;
1: - struct list_head i_lru;
1: - struct list_head i_sb_list;
1: - struct list_head i_wb_list;
1: - union {
1: - struct hlist_head i_dentry;
1: - struct callback_head i_rcu;
1: - };
1: - atomic64_t i_version;
1: - atomic_t i_count;
1: - atomic_t i_dio_count;
1: - atomic_t i_writecount;
1: - atomic_t i_readcount;
1: - union {
1: - const struct file_operations___2 *i_fop;
1: - void (*free_inode)(struct inode___2 *);
1: - };
1: - struct file_lock_context *i_flctx;
1: - struct address_space___2 i_data;
1: - struct list_head i_devices;
1: - union {
1: - struct pipe_inode_info___2 *i_pipe;
1: - struct block_device___2 *i_bdev;
1: - struct cdev *i_cdev;
1: - char *i_link;
1: - unsigned int i_dir_seq;
1: - };
1: - __u32 i_generation;
1: - __u32 i_fsnotify_mask;
1: - struct fsnotify_mark_connector *i_fsnotify_marks;
1: - void *i_private;
1: + umode_t i_mode;
1: + short unsigned int i_opflags;
1: + kuid_t i_uid;
1: + kgid_t i_gid;
1: + unsigned int i_flags;
1: + struct posix_acl *i_acl;
1: + struct posix_acl *i_default_acl;
1: + const struct inode_operations___2 *i_op;
1: + struct super_block___2 *i_sb;
1: + struct address_space___2 *i_mapping;
1: + void *i_security;
1: + long unsigned int i_ino;
1: + union {
1: + const unsigned int i_nlink;
1: + unsigned int __i_nlink;
1: + };
1: + dev_t i_rdev;
1: + loff_t i_size;
1: + struct timespec64 i_atime;
1: + struct timespec64 i_mtime;
1: + struct timespec64 i_ctime;
1: + spinlock_t i_lock;
1: + short unsigned int i_bytes;
1: + u8 i_blkbits;
1: + u8 i_write_hint;
1: + blkcnt_t i_blocks;
1: + long unsigned int i_state;
1: + struct rw_semaphore i_rwsem;
1: + long unsigned int dirtied_when;
1: + long unsigned int dirtied_time_when;
1: + struct hlist_node i_hash;
1: + struct list_head i_io_list;
1: + struct list_head i_lru;
1: + struct list_head i_sb_list;
1: + struct list_head i_wb_list;
1: + union {
1: + struct hlist_head i_dentry;
1: + struct callback_head i_rcu;
1: + };
1: + atomic64_t i_version;
1: + atomic_t i_count;
1: + atomic_t i_dio_count;
1: + atomic_t i_writecount;
1: + atomic_t i_readcount;
1: + union {
1: + const struct file_operations___2 *i_fop;
1: + void (*free_inode)(struct inode___2 *);
1: + };
1: + struct file_lock_context *i_flctx;
1: + struct address_space___2 i_data;
1: + struct list_head i_devices;
1: + union {
1: + struct pipe_inode_info___2 *i_pipe;
1: + struct block_device___2 *i_bdev;
1: + struct cdev *i_cdev;
1: + char *i_link;
1: + unsigned int i_dir_seq;
1: + };
1: + __u32 i_generation;
1: + __u32 i_fsnotify_mask;
1: + struct fsnotify_mark_connector *i_fsnotify_marks;
1: + void *i_private;
1: };
1:
1: struct vfsmount___2;
1: @@ -31510,64 +31694,65 @@ struct vfsmount___2;
1: struct path___2;
1:
1: struct dentry_operations___2 {
1: - int (*d_revalidate)(struct dentry___2 *, unsigned int);
1: - int (*d_weak_revalidate)(struct dentry___2 *, unsigned int);
1: - int (*d_hash)(const struct dentry___2 *, struct qstr *);
1: - int (*d_compare)(const struct dentry___2 *, unsigned int, const char *, const struct qstr *);
1: - int (*d_delete)(const struct dentry___2 *);
1: - int (*d_init)(struct dentry___2 *);
1: - void (*d_release)(struct dentry___2 *);
1: - void (*d_prune)(struct dentry___2 *);
1: - void (*d_iput)(struct dentry___2 *, struct inode___2 *);
1: - char * (*d_dname)(struct dentry___2 *, char *, int);
1: - struct vfsmount___2 * (*d_automount)(struct path___2 *);
1: - int (*d_manage)(const struct path___2 *, bool);
1: - struct dentry___2 * (*d_real)(struct dentry___2 *, const struct inode___2 *);
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + int (*d_revalidate)(struct dentry___2 *, unsigned int);
1: + int (*d_weak_revalidate)(struct dentry___2 *, unsigned int);
1: + int (*d_hash)(const struct dentry___2 *, struct qstr *);
1: + int (*d_compare)(const struct dentry___2 *, unsigned int, const char *,
1: + const struct qstr *);
1: + int (*d_delete)(const struct dentry___2 *);
1: + int (*d_init)(struct dentry___2 *);
1: + void (*d_release)(struct dentry___2 *);
1: + void (*d_prune)(struct dentry___2 *);
1: + void (*d_iput)(struct dentry___2 *, struct inode___2 *);
1: + char *(*d_dname)(struct dentry___2 *, char *, int);
1: + struct vfsmount___2 *(*d_automount)(struct path___2 *);
1: + int (*d_manage)(const struct path___2 *, bool);
1: + struct dentry___2 *(*d_real)(struct dentry___2 *, const struct inode___2 *);
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct quota_format_type___2;
1:
1: struct mem_dqinfo___2 {
1: - struct quota_format_type___2 *dqi_format;
1: - int dqi_fmt_id;
1: - struct list_head dqi_dirty_list;
1: - long unsigned int dqi_flags;
1: - unsigned int dqi_bgrace;
1: - unsigned int dqi_igrace;
1: - qsize_t dqi_max_spc_limit;
1: - qsize_t dqi_max_ino_limit;
1: - void *dqi_priv;
1: + struct quota_format_type___2 *dqi_format;
1: + int dqi_fmt_id;
1: + struct list_head dqi_dirty_list;
1: + long unsigned int dqi_flags;
1: + unsigned int dqi_bgrace;
1: + unsigned int dqi_igrace;
1: + qsize_t dqi_max_spc_limit;
1: + qsize_t dqi_max_ino_limit;
1: + void *dqi_priv;
1: };
1:
1: struct quota_format_ops___2;
1:
1: struct quota_info___2 {
1: - unsigned int flags;
1: - struct rw_semaphore dqio_sem;
1: - struct inode___2 *files[3];
1: - struct mem_dqinfo___2 info[3];
1: - const struct quota_format_ops___2 *ops[3];
1: + unsigned int flags;
1: + struct rw_semaphore dqio_sem;
1: + struct inode___2 *files[3];
1: + struct mem_dqinfo___2 info[3];
1: + const struct quota_format_ops___2 *ops[3];
1: };
1:
1: struct rcuwait___2 {
1: - struct task_struct___2 *task;
1: + struct task_struct___2 *task;
1: };
1:
1: struct percpu_rw_semaphore___2 {
1: - struct rcu_sync rss;
1: - unsigned int *read_count;
1: - struct rw_semaphore rw_sem;
1: - struct rcuwait___2 writer;
1: - int readers_block;
1: + struct rcu_sync rss;
1: + unsigned int *read_count;
1: + struct rw_semaphore rw_sem;
1: + struct rcuwait___2 writer;
1: + int readers_block;
1: };
1:
1: struct sb_writers___2 {
1: - int frozen;
1: - wait_queue_head_t wait_unfrozen;
1: - struct percpu_rw_semaphore___2 rw_sem[3];
1: + int frozen;
1: + wait_queue_head_t wait_unfrozen;
1: + struct percpu_rw_semaphore___2 rw_sem[3];
1: };
1:
1: struct file_system_type___2;
1: @@ -31581,92 +31766,92 @@ struct quotactl_ops___2;
1: struct user_namespace___2;
1:
1: struct super_block___2 {
1: - struct list_head s_list;
1: - dev_t s_dev;
1: - unsigned char s_blocksize_bits;
1: - long unsigned int s_blocksize;
1: - loff_t s_maxbytes;
1: - struct file_system_type___2 *s_type;
1: - const struct super_operations___2 *s_op;
1: - const struct dquot_operations___2 *dq_op;
1: - const struct quotactl_ops___2 *s_qcop;
1: - const struct export_operations *s_export_op;
1: - long unsigned int s_flags;
1: - long unsigned int s_iflags;
1: - long unsigned int s_magic;
1: - struct dentry___2 *s_root;
1: - struct rw_semaphore s_umount;
1: - int s_count;
1: - atomic_t s_active;
1: - void *s_security;
1: - const struct xattr_handler **s_xattr;
1: - struct hlist_bl_head s_roots;
1: - struct list_head s_mounts;
1: - struct block_device___2 *s_bdev;
1: - struct backing_dev_info *s_bdi;
1: - struct mtd_info *s_mtd;
1: - struct hlist_node s_instances;
1: - unsigned int s_quota_types;
1: - struct quota_info___2 s_dquot;
1: - struct sb_writers___2 s_writers;
1: - void *s_fs_info;
1: - u32 s_time_gran;
1: - time64_t s_time_min;
1: - time64_t s_time_max;
1: - __u32 s_fsnotify_mask;
1: - struct fsnotify_mark_connector *s_fsnotify_marks;
1: - char s_id[32];
1: - uuid_t s_uuid;
1: - unsigned int s_max_links;
1: - fmode_t s_mode;
1: - struct mutex s_vfs_rename_mutex;
1: - const char *s_subtype;
1: - const struct dentry_operations___2 *s_d_op;
1: - int cleancache_poolid;
1: - struct shrinker s_shrink;
1: - atomic_long_t s_remove_count;
1: - atomic_long_t s_fsnotify_inode_refs;
1: - int s_readonly_remount;
1: - struct workqueue_struct *s_dio_done_wq;
1: - struct hlist_head s_pins;
1: - struct user_namespace___2 *s_user_ns;
1: - struct list_lru s_dentry_lru;
1: - struct list_lru s_inode_lru;
1: - struct callback_head rcu;
1: - struct work_struct destroy_work;
1: - struct mutex s_sync_lock;
1: - int s_stack_depth;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - spinlock_t s_inode_list_lock;
1: - struct list_head s_inodes;
1: - spinlock_t s_inode_wblist_lock;
1: - struct list_head s_inodes_wb;
1: - long: 64;
1: - long: 64;
1: + struct list_head s_list;
1: + dev_t s_dev;
1: + unsigned char s_blocksize_bits;
1: + long unsigned int s_blocksize;
1: + loff_t s_maxbytes;
1: + struct file_system_type___2 *s_type;
1: + const struct super_operations___2 *s_op;
1: + const struct dquot_operations___2 *dq_op;
1: + const struct quotactl_ops___2 *s_qcop;
1: + const struct export_operations *s_export_op;
1: + long unsigned int s_flags;
1: + long unsigned int s_iflags;
1: + long unsigned int s_magic;
1: + struct dentry___2 *s_root;
1: + struct rw_semaphore s_umount;
1: + int s_count;
1: + atomic_t s_active;
1: + void *s_security;
1: + const struct xattr_handler **s_xattr;
1: + struct hlist_bl_head s_roots;
1: + struct list_head s_mounts;
1: + struct block_device___2 *s_bdev;
1: + struct backing_dev_info *s_bdi;
1: + struct mtd_info *s_mtd;
1: + struct hlist_node s_instances;
1: + unsigned int s_quota_types;
1: + struct quota_info___2 s_dquot;
1: + struct sb_writers___2 s_writers;
1: + void *s_fs_info;
1: + u32 s_time_gran;
1: + time64_t s_time_min;
1: + time64_t s_time_max;
1: + __u32 s_fsnotify_mask;
1: + struct fsnotify_mark_connector *s_fsnotify_marks;
1: + char s_id[32];
1: + uuid_t s_uuid;
1: + unsigned int s_max_links;
1: + fmode_t s_mode;
1: + struct mutex s_vfs_rename_mutex;
1: + const char *s_subtype;
1: + const struct dentry_operations___2 *s_d_op;
1: + int cleancache_poolid;
1: + struct shrinker s_shrink;
1: + atomic_long_t s_remove_count;
1: + atomic_long_t s_fsnotify_inode_refs;
1: + int s_readonly_remount;
1: + struct workqueue_struct *s_dio_done_wq;
1: + struct hlist_head s_pins;
1: + struct user_namespace___2 *s_user_ns;
1: + struct list_lru s_dentry_lru;
1: + struct list_lru s_inode_lru;
1: + struct callback_head rcu;
1: + struct work_struct destroy_work;
1: + struct mutex s_sync_lock;
1: + int s_stack_depth;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + spinlock_t s_inode_list_lock;
1: + struct list_head s_inodes;
1: + spinlock_t s_inode_wblist_lock;
1: + struct list_head s_inodes_wb;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct vfsmount___2 {
1: - struct dentry___2 *mnt_root;
1: - struct super_block___2 *mnt_sb;
1: - int mnt_flags;
1: + struct dentry___2 *mnt_root;
1: + struct super_block___2 *mnt_sb;
1: + int mnt_flags;
1: };
1:
1: struct path___2 {
1: - struct vfsmount___2 *mnt;
1: - struct dentry___2 *dentry;
1: + struct vfsmount___2 *mnt;
1: + struct dentry___2 *dentry;
1: };
1:
1: struct vm_area_struct___2;
1:
1: struct vmacache___2 {
1: - u64 seqnum;
1: - struct vm_area_struct___2 *vmas[4];
1: + u64 seqnum;
1: + struct vm_area_struct___2 *vmas[4];
1: };
1:
1: struct vm_operations_struct___2;
1: @@ -31674,98 +31859,100 @@ struct vm_operations_struct___2;
1: struct file___2;
1:
1: struct vm_area_struct___2 {
1: - long unsigned int vm_start;
1: - long unsigned int vm_end;
1: - struct vm_area_struct___2 *vm_next;
1: - struct vm_area_struct___2 *vm_prev;
1: - struct rb_node vm_rb;
1: - long unsigned int rb_subtree_gap;
1: - struct mm_struct___2 *vm_mm;
1: - pgprot_t vm_page_prot;
1: - long unsigned int vm_flags;
1: - struct {
1: - struct rb_node rb;
1: - long unsigned int rb_subtree_last;
1: - } shared;
1: - struct list_head anon_vma_chain;
1: - struct anon_vma *anon_vma;
1: - const struct vm_operations_struct___2 *vm_ops;
1: - long unsigned int vm_pgoff;
1: - struct file___2 *vm_file;
1: - void *vm_private_data;
1: - atomic_long_t swap_readahead_info;
1: - struct mempolicy *vm_policy;
1: - struct vm_userfaultfd_ctx vm_userfaultfd_ctx;
1: + long unsigned int vm_start;
1: + long unsigned int vm_end;
1: + struct vm_area_struct___2 *vm_next;
1: + struct vm_area_struct___2 *vm_prev;
1: + struct rb_node vm_rb;
1: + long unsigned int rb_subtree_gap;
1: + struct mm_struct___2 *vm_mm;
1: + pgprot_t vm_page_prot;
1: + long unsigned int vm_flags;
1: + struct {
1: + struct rb_node rb;
1: + long unsigned int rb_subtree_last;
1: + } shared;
1: + struct list_head anon_vma_chain;
1: + struct anon_vma *anon_vma;
1: + const struct vm_operations_struct___2 *vm_ops;
1: + long unsigned int vm_pgoff;
1: + struct file___2 *vm_file;
1: + void *vm_private_data;
1: + atomic_long_t swap_readahead_info;
1: + struct mempolicy *vm_policy;
1: + struct vm_userfaultfd_ctx vm_userfaultfd_ctx;
1: };
1:
1: struct page_frag___2 {
1: - struct page___2 *page;
1: - __u32 offset;
1: - __u32 size;
1: + struct page___2 *page;
1: + __u32 offset;
1: + __u32 size;
1: };
1:
1: struct core_state___2;
1:
1: struct mm_struct___2 {
1: - struct {
1: - struct vm_area_struct___2 *mmap;
1: - struct rb_root mm_rb;
1: - u64 vmacache_seqnum;
1: - long unsigned int (*get_unmapped_area)(struct file___2 *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: - long unsigned int mmap_base;
1: - long unsigned int mmap_legacy_base;
1: - long unsigned int mmap_compat_base;
1: - long unsigned int mmap_compat_legacy_base;
1: - long unsigned int task_size;
1: - long unsigned int highest_vm_end;
1: - pgd_t *pgd;
1: - atomic_t membarrier_state;
1: - atomic_t mm_users;
1: - atomic_t mm_count;
1: - atomic_long_t pgtables_bytes;
1: - int map_count;
1: - spinlock_t page_table_lock;
1: - struct rw_semaphore mmap_sem;
1: - struct list_head mmlist;
1: - long unsigned int hiwater_rss;
1: - long unsigned int hiwater_vm;
1: - long unsigned int total_vm;
1: - long unsigned int locked_vm;
1: - atomic64_t pinned_vm;
1: - long unsigned int data_vm;
1: - long unsigned int exec_vm;
1: - long unsigned int stack_vm;
1: - long unsigned int def_flags;
1: - spinlock_t arg_lock;
1: - long unsigned int start_code;
1: - long unsigned int end_code;
1: - long unsigned int start_data;
1: - long unsigned int end_data;
1: - long unsigned int start_brk;
1: - long unsigned int brk;
1: - long unsigned int start_stack;
1: - long unsigned int arg_start;
1: - long unsigned int arg_end;
1: - long unsigned int env_start;
1: - long unsigned int env_end;
1: - long unsigned int saved_auxv[46];
1: - struct mm_rss_stat rss_stat;
1: - struct linux_binfmt *binfmt;
1: - mm_context_t context;
1: - long unsigned int flags;
1: - struct core_state___2 *core_state;
1: - spinlock_t ioctx_lock;
1: - struct kioctx_table *ioctx_table;
1: - struct user_namespace___2 *user_ns;
1: - struct file___2 *exe_file;
1: - struct mmu_notifier_mm *mmu_notifier_mm;
1: - atomic_t tlb_flush_pending;
1: - bool tlb_flush_batched;
1: - struct uprobes_state uprobes_state;
1: - atomic_long_t hugetlb_usage;
1: - struct work_struct async_put_work;
1: - };
1: - long unsigned int cpu_bitmap[0];
1: + struct {
1: + struct vm_area_struct___2 *mmap;
1: + struct rb_root mm_rb;
1: + u64 vmacache_seqnum;
1: + long unsigned int (*get_unmapped_area)(struct file___2 *, long unsigned int,
1: + long unsigned int, long unsigned int,
1: + long unsigned int);
1: + long unsigned int mmap_base;
1: + long unsigned int mmap_legacy_base;
1: + long unsigned int mmap_compat_base;
1: + long unsigned int mmap_compat_legacy_base;
1: + long unsigned int task_size;
1: + long unsigned int highest_vm_end;
1: + pgd_t *pgd;
1: + atomic_t membarrier_state;
1: + atomic_t mm_users;
1: + atomic_t mm_count;
1: + atomic_long_t pgtables_bytes;
1: + int map_count;
1: + spinlock_t page_table_lock;
1: + struct rw_semaphore mmap_sem;
1: + struct list_head mmlist;
1: + long unsigned int hiwater_rss;
1: + long unsigned int hiwater_vm;
1: + long unsigned int total_vm;
1: + long unsigned int locked_vm;
1: + atomic64_t pinned_vm;
1: + long unsigned int data_vm;
1: + long unsigned int exec_vm;
1: + long unsigned int stack_vm;
1: + long unsigned int def_flags;
1: + spinlock_t arg_lock;
1: + long unsigned int start_code;
1: + long unsigned int end_code;
1: + long unsigned int start_data;
1: + long unsigned int end_data;
1: + long unsigned int start_brk;
1: + long unsigned int brk;
1: + long unsigned int start_stack;
1: + long unsigned int arg_start;
1: + long unsigned int arg_end;
1: + long unsigned int env_start;
1: + long unsigned int env_end;
1: + long unsigned int saved_auxv[46];
1: + struct mm_rss_stat rss_stat;
1: + struct linux_binfmt *binfmt;
1: + mm_context_t context;
1: + long unsigned int flags;
1: + struct core_state___2 *core_state;
1: + spinlock_t ioctx_lock;
1: + struct kioctx_table *ioctx_table;
1: + struct user_namespace___2 *user_ns;
1: + struct file___2 *exe_file;
1: + struct mmu_notifier_mm *mmu_notifier_mm;
1: + atomic_t tlb_flush_pending;
1: + bool tlb_flush_batched;
1: + struct uprobes_state uprobes_state;
1: + atomic_long_t hugetlb_usage;
1: + struct work_struct async_put_work;
1: + };
1: + long unsigned int cpu_bitmap[0];
1: };
1:
1: struct pid___2;
1: @@ -31781,420 +31968,424 @@ struct css_set___2;
1: struct vm_struct___2;
1:
1: struct task_struct___2 {
1: - struct thread_info thread_info;
1: - volatile long int state;
1: - void *stack;
1: - refcount_t usage;
1: - unsigned int flags;
1: - unsigned int ptrace;
1: - struct llist_node wake_entry;
1: - int on_cpu;
1: - unsigned int cpu;
1: - unsigned int wakee_flips;
1: - long unsigned int wakee_flip_decay_ts;
1: - struct task_struct___2 *last_wakee;
1: - int recent_used_cpu;
1: - int wake_cpu;
1: - int on_rq;
1: - int prio;
1: - int static_prio;
1: - int normal_prio;
1: - unsigned int rt_priority;
1: - const struct sched_class *sched_class;
1: - struct sched_entity se;
1: - struct sched_rt_entity rt;
1: - struct task_group *sched_task_group;
1: - struct sched_dl_entity dl;
1: - unsigned int btrace_seq;
1: - unsigned int policy;
1: - int nr_cpus_allowed;
1: - const cpumask_t *cpus_ptr;
1: - cpumask_t cpus_mask;
1: - struct sched_info sched_info;
1: - struct list_head tasks;
1: - struct plist_node pushable_tasks;
1: - struct rb_node pushable_dl_tasks;
1: - struct mm_struct___2 *mm;
1: - struct mm_struct___2 *active_mm;
1: - struct vmacache___2 vmacache;
1: - struct task_rss_stat rss_stat;
1: - int exit_state;
1: - int exit_code;
1: - int exit_signal;
1: - int pdeath_signal;
1: - long unsigned int jobctl;
1: - unsigned int personality;
1: - unsigned int sched_reset_on_fork: 1;
1: - unsigned int sched_contributes_to_load: 1;
1: - unsigned int sched_migrated: 1;
1: - unsigned int sched_remote_wakeup: 1;
1: - int: 28;
1: - unsigned int in_execve: 1;
1: - unsigned int in_iowait: 1;
1: - unsigned int restore_sigmask: 1;
1: - unsigned int no_cgroup_migration: 1;
1: - unsigned int frozen: 1;
1: - long unsigned int atomic_flags;
1: - struct restart_block restart_block;
1: - pid_t pid;
1: - pid_t tgid;
1: - long unsigned int stack_canary;
1: - struct task_struct___2 *real_parent;
1: - struct task_struct___2 *parent;
1: - struct list_head children;
1: - struct list_head sibling;
1: - struct task_struct___2 *group_leader;
1: - struct list_head ptraced;
1: - struct list_head ptrace_entry;
1: - struct pid___2 *thread_pid;
1: - struct hlist_node pid_links[4];
1: - struct list_head thread_group;
1: - struct list_head thread_node;
1: - struct completion *vfork_done;
1: - int *set_child_tid;
1: - int *clear_child_tid;
1: - u64 utime;
1: - u64 stime;
1: - u64 gtime;
1: - struct prev_cputime prev_cputime;
1: - long unsigned int nvcsw;
1: - long unsigned int nivcsw;
1: - u64 start_time;
1: - u64 start_boottime;
1: - long unsigned int min_flt;
1: - long unsigned int maj_flt;
1: - struct posix_cputimers posix_cputimers;
1: - const struct cred___2 *ptracer_cred;
1: - const struct cred___2 *real_cred;
1: - const struct cred___2 *cred;
1: - struct key *cached_requested_key;
1: - char comm[16];
1: - struct nameidata *nameidata;
1: - struct sysv_sem sysvsem;
1: - struct sysv_shm sysvshm;
1: - struct fs_struct *fs;
1: - struct files_struct *files;
1: - struct nsproxy___2 *nsproxy;
1: - struct signal_struct___2 *signal;
1: - struct sighand_struct *sighand;
1: - sigset_t blocked;
1: - sigset_t real_blocked;
1: - sigset_t saved_sigmask;
1: - struct sigpending pending;
1: - long unsigned int sas_ss_sp;
1: - size_t sas_ss_size;
1: - unsigned int sas_ss_flags;
1: - struct callback_head *task_works;
1: - struct audit_context *audit_context;
1: - kuid_t loginuid;
1: - unsigned int sessionid;
1: - struct seccomp seccomp;
1: - u32 parent_exec_id;
1: - u32 self_exec_id;
1: - spinlock_t alloc_lock;
1: - raw_spinlock_t pi_lock;
1: - struct wake_q_node wake_q;
1: - struct rb_root_cached pi_waiters;
1: - struct task_struct___2 *pi_top_task;
1: - struct rt_mutex_waiter *pi_blocked_on;
1: - void *journal_info;
1: - struct bio_list *bio_list;
1: - struct blk_plug *plug;
1: - struct reclaim_state *reclaim_state;
1: - struct backing_dev_info *backing_dev_info;
1: - struct io_context *io_context;
1: - struct capture_control *capture_control;
1: - long unsigned int ptrace_message;
1: - kernel_siginfo_t *last_siginfo;
1: - struct task_io_accounting ioac;
1: - u64 acct_rss_mem1;
1: - u64 acct_vm_mem1;
1: - u64 acct_timexpd;
1: - nodemask_t mems_allowed;
1: - seqcount_t mems_allowed_seq;
1: - int cpuset_mem_spread_rotor;
1: - int cpuset_slab_spread_rotor;
1: - struct css_set___2 *cgroups;
1: - struct list_head cg_list;
1: - struct robust_list_head *robust_list;
1: - struct compat_robust_list_head *compat_robust_list;
1: - struct list_head pi_state_list;
1: - struct futex_pi_state *pi_state_cache;
1: - struct mutex futex_exit_mutex;
1: - unsigned int futex_state;
1: - struct perf_event_context___2 *perf_event_ctxp[2];
1: - struct mutex perf_event_mutex;
1: - struct list_head perf_event_list;
1: - struct mempolicy *mempolicy;
1: - short int il_prev;
1: - short int pref_node_fork;
1: - struct rseq *rseq;
1: - u32 rseq_sig;
1: - long unsigned int rseq_event_mask;
1: - struct tlbflush_unmap_batch tlb_ubc;
1: - union {
1: - refcount_t rcu_users;
1: - struct callback_head rcu;
1: - };
1: - struct pipe_inode_info___2 *splice_pipe;
1: - struct page_frag___2 task_frag;
1: - struct task_delay_info *delays;
1: - int nr_dirtied;
1: - int nr_dirtied_pause;
1: - long unsigned int dirty_paused_when;
1: - u64 timer_slack_ns;
1: - u64 default_timer_slack_ns;
1: - long unsigned int trace;
1: - long unsigned int trace_recursion;
1: - struct uprobe_task *utask;
1: - int pagefault_disabled;
1: - struct task_struct___2 *oom_reaper_list;
1: - struct vm_struct___2 *stack_vm_area;
1: - refcount_t stack_refcount;
1: - void *security;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct thread_struct___2 thread;
1: + struct thread_info thread_info;
1: + volatile long int state;
1: + void *stack;
1: + refcount_t usage;
1: + unsigned int flags;
1: + unsigned int ptrace;
1: + struct llist_node wake_entry;
1: + int on_cpu;
1: + unsigned int cpu;
1: + unsigned int wakee_flips;
1: + long unsigned int wakee_flip_decay_ts;
1: + struct task_struct___2 *last_wakee;
1: + int recent_used_cpu;
1: + int wake_cpu;
1: + int on_rq;
1: + int prio;
1: + int static_prio;
1: + int normal_prio;
1: + unsigned int rt_priority;
1: + const struct sched_class *sched_class;
1: + struct sched_entity se;
1: + struct sched_rt_entity rt;
1: + struct task_group *sched_task_group;
1: + struct sched_dl_entity dl;
1: + unsigned int btrace_seq;
1: + unsigned int policy;
1: + int nr_cpus_allowed;
1: + const cpumask_t *cpus_ptr;
1: + cpumask_t cpus_mask;
1: + struct sched_info sched_info;
1: + struct list_head tasks;
1: + struct plist_node pushable_tasks;
1: + struct rb_node pushable_dl_tasks;
1: + struct mm_struct___2 *mm;
1: + struct mm_struct___2 *active_mm;
1: + struct vmacache___2 vmacache;
1: + struct task_rss_stat rss_stat;
1: + int exit_state;
1: + int exit_code;
1: + int exit_signal;
1: + int pdeath_signal;
1: + long unsigned int jobctl;
1: + unsigned int personality;
1: + unsigned int sched_reset_on_fork : 1;
1: + unsigned int sched_contributes_to_load : 1;
1: + unsigned int sched_migrated : 1;
1: + unsigned int sched_remote_wakeup : 1;
1: + int : 28;
1: + unsigned int in_execve : 1;
1: + unsigned int in_iowait : 1;
1: + unsigned int restore_sigmask : 1;
1: + unsigned int no_cgroup_migration : 1;
1: + unsigned int frozen : 1;
1: + long unsigned int atomic_flags;
1: + struct restart_block restart_block;
1: + pid_t pid;
1: + pid_t tgid;
1: + long unsigned int stack_canary;
1: + struct task_struct___2 *real_parent;
1: + struct task_struct___2 *parent;
1: + struct list_head children;
1: + struct list_head sibling;
1: + struct task_struct___2 *group_leader;
1: + struct list_head ptraced;
1: + struct list_head ptrace_entry;
1: + struct pid___2 *thread_pid;
1: + struct hlist_node pid_links[4];
1: + struct list_head thread_group;
1: + struct list_head thread_node;
1: + struct completion *vfork_done;
1: + int *set_child_tid;
1: + int *clear_child_tid;
1: + u64 utime;
1: + u64 stime;
1: + u64 gtime;
1: + struct prev_cputime prev_cputime;
1: + long unsigned int nvcsw;
1: + long unsigned int nivcsw;
1: + u64 start_time;
1: + u64 start_boottime;
1: + long unsigned int min_flt;
1: + long unsigned int maj_flt;
1: + struct posix_cputimers posix_cputimers;
1: + const struct cred___2 *ptracer_cred;
1: + const struct cred___2 *real_cred;
1: + const struct cred___2 *cred;
1: + struct key *cached_requested_key;
1: + char comm[16];
1: + struct nameidata *nameidata;
1: + struct sysv_sem sysvsem;
1: + struct sysv_shm sysvshm;
1: + struct fs_struct *fs;
1: + struct files_struct *files;
1: + struct nsproxy___2 *nsproxy;
1: + struct signal_struct___2 *signal;
1: + struct sighand_struct *sighand;
1: + sigset_t blocked;
1: + sigset_t real_blocked;
1: + sigset_t saved_sigmask;
1: + struct sigpending pending;
1: + long unsigned int sas_ss_sp;
1: + size_t sas_ss_size;
1: + unsigned int sas_ss_flags;
1: + struct callback_head *task_works;
1: + struct audit_context *audit_context;
1: + kuid_t loginuid;
1: + unsigned int sessionid;
1: + struct seccomp seccomp;
1: + u32 parent_exec_id;
1: + u32 self_exec_id;
1: + spinlock_t alloc_lock;
1: + raw_spinlock_t pi_lock;
1: + struct wake_q_node wake_q;
1: + struct rb_root_cached pi_waiters;
1: + struct task_struct___2 *pi_top_task;
1: + struct rt_mutex_waiter *pi_blocked_on;
1: + void *journal_info;
1: + struct bio_list *bio_list;
1: + struct blk_plug *plug;
1: + struct reclaim_state *reclaim_state;
1: + struct backing_dev_info *backing_dev_info;
1: + struct io_context *io_context;
1: + struct capture_control *capture_control;
1: + long unsigned int ptrace_message;
1: + kernel_siginfo_t *last_siginfo;
1: + struct task_io_accounting ioac;
1: + u64 acct_rss_mem1;
1: + u64 acct_vm_mem1;
1: + u64 acct_timexpd;
1: + nodemask_t mems_allowed;
1: + seqcount_t mems_allowed_seq;
1: + int cpuset_mem_spread_rotor;
1: + int cpuset_slab_spread_rotor;
1: + struct css_set___2 *cgroups;
1: + struct list_head cg_list;
1: + struct robust_list_head *robust_list;
1: + struct compat_robust_list_head *compat_robust_list;
1: + struct list_head pi_state_list;
1: + struct futex_pi_state *pi_state_cache;
1: + struct mutex futex_exit_mutex;
1: + unsigned int futex_state;
1: + struct perf_event_context___2 *perf_event_ctxp[2];
1: + struct mutex perf_event_mutex;
1: + struct list_head perf_event_list;
1: + struct mempolicy *mempolicy;
1: + short int il_prev;
1: + short int pref_node_fork;
1: + struct rseq *rseq;
1: + u32 rseq_sig;
1: + long unsigned int rseq_event_mask;
1: + struct tlbflush_unmap_batch tlb_ubc;
1: + union {
1: + refcount_t rcu_users;
1: + struct callback_head rcu;
1: + };
1: + struct pipe_inode_info___2 *splice_pipe;
1: + struct page_frag___2 task_frag;
1: + struct task_delay_info *delays;
1: + int nr_dirtied;
1: + int nr_dirtied_pause;
1: + long unsigned int dirty_paused_when;
1: + u64 timer_slack_ns;
1: + u64 default_timer_slack_ns;
1: + long unsigned int trace;
1: + long unsigned int trace_recursion;
1: + struct uprobe_task *utask;
1: + int pagefault_disabled;
1: + struct task_struct___2 *oom_reaper_list;
1: + struct vm_struct___2 *stack_vm_area;
1: + refcount_t stack_refcount;
1: + void *security;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct thread_struct___2 thread;
1: };
1:
1: struct dev_pagemap_ops___2;
1:
1: struct dev_pagemap___2 {
1: - struct vmem_altmap altmap;
1: - struct resource res;
1: - struct percpu_ref *ref;
1: - struct percpu_ref internal_ref;
1: - struct completion done;
1: - enum memory_type type;
1: - unsigned int flags;
1: - const struct dev_pagemap_ops___2 *ops;
1: + struct vmem_altmap altmap;
1: + struct resource res;
1: + struct percpu_ref *ref;
1: + struct percpu_ref internal_ref;
1: + struct completion done;
1: + enum memory_type type;
1: + unsigned int flags;
1: + const struct dev_pagemap_ops___2 *ops;
1: };
1:
1: struct fown_struct___2 {
1: - rwlock_t lock;
1: - struct pid___2 *pid;
1: - enum pid_type pid_type;
1: - kuid_t uid;
1: - kuid_t euid;
1: - int signum;
1: + rwlock_t lock;
1: + struct pid___2 *pid;
1: + enum pid_type pid_type;
1: + kuid_t uid;
1: + kuid_t euid;
1: + int signum;
1: };
1:
1: struct file___2 {
1: - union {
1: - struct llist_node fu_llist;
1: - struct callback_head fu_rcuhead;
1: - } f_u;
1: - struct path___2 f_path;
1: - struct inode___2 *f_inode;
1: - const struct file_operations___2 *f_op;
1: - spinlock_t f_lock;
1: - enum rw_hint f_write_hint;
1: - atomic_long_t f_count;
1: - unsigned int f_flags;
1: - fmode_t f_mode;
1: - struct mutex f_pos_lock;
1: - loff_t f_pos;
1: - struct fown_struct___2 f_owner;
1: - const struct cred___2 *f_cred;
1: - struct file_ra_state f_ra;
1: - u64 f_version;
1: - void *f_security;
1: - void *private_data;
1: - struct list_head f_ep_links;
1: - struct list_head f_tfile_llink;
1: - struct address_space___2 *f_mapping;
1: - errseq_t f_wb_err;
1: + union {
1: + struct llist_node fu_llist;
1: + struct callback_head fu_rcuhead;
1: + } f_u;
1: + struct path___2 f_path;
1: + struct inode___2 *f_inode;
1: + const struct file_operations___2 *f_op;
1: + spinlock_t f_lock;
1: + enum rw_hint f_write_hint;
1: + atomic_long_t f_count;
1: + unsigned int f_flags;
1: + fmode_t f_mode;
1: + struct mutex f_pos_lock;
1: + loff_t f_pos;
1: + struct fown_struct___2 f_owner;
1: + const struct cred___2 *f_cred;
1: + struct file_ra_state f_ra;
1: + u64 f_version;
1: + void *f_security;
1: + void *private_data;
1: + struct list_head f_ep_links;
1: + struct list_head f_tfile_llink;
1: + struct address_space___2 *f_mapping;
1: + errseq_t f_wb_err;
1: };
1:
1: struct vm_fault___2;
1:
1: struct vm_operations_struct___2 {
1: - void (*open)(struct vm_area_struct___2 *);
1: - void (*close)(struct vm_area_struct___2 *);
1: - int (*split)(struct vm_area_struct___2 *, long unsigned int);
1: - int (*mremap)(struct vm_area_struct___2 *);
1: - vm_fault_t (*fault)(struct vm_fault___2 *);
1: - vm_fault_t (*huge_fault)(struct vm_fault___2 *, enum page_entry_size);
1: - void (*map_pages)(struct vm_fault___2 *, long unsigned int, long unsigned int);
1: - long unsigned int (*pagesize)(struct vm_area_struct___2 *);
1: - vm_fault_t (*page_mkwrite)(struct vm_fault___2 *);
1: - vm_fault_t (*pfn_mkwrite)(struct vm_fault___2 *);
1: - int (*access)(struct vm_area_struct___2 *, long unsigned int, void *, int, int);
1: - const char * (*name)(struct vm_area_struct___2 *);
1: - int (*set_policy)(struct vm_area_struct___2 *, struct mempolicy *);
1: - struct mempolicy * (*get_policy)(struct vm_area_struct___2 *, long unsigned int);
1: - struct page___2 * (*find_special_page)(struct vm_area_struct___2 *, long unsigned int);
1: + void (*open)(struct vm_area_struct___2 *);
1: + void (*close)(struct vm_area_struct___2 *);
1: + int (*split)(struct vm_area_struct___2 *, long unsigned int);
1: + int (*mremap)(struct vm_area_struct___2 *);
1: + vm_fault_t (*fault)(struct vm_fault___2 *);
1: + vm_fault_t (*huge_fault)(struct vm_fault___2 *, enum page_entry_size);
1: + void (*map_pages)(struct vm_fault___2 *, long unsigned int,
1: + long unsigned int);
1: + long unsigned int (*pagesize)(struct vm_area_struct___2 *);
1: + vm_fault_t (*page_mkwrite)(struct vm_fault___2 *);
1: + vm_fault_t (*pfn_mkwrite)(struct vm_fault___2 *);
1: + int (*access)(struct vm_area_struct___2 *, long unsigned int, void *, int,
1: + int);
1: + const char *(*name)(struct vm_area_struct___2 *);
1: + int (*set_policy)(struct vm_area_struct___2 *, struct mempolicy *);
1: + struct mempolicy *(*get_policy)(struct vm_area_struct___2 *,
1: + long unsigned int);
1: + struct page___2 *(*find_special_page)(struct vm_area_struct___2 *,
1: + long unsigned int);
1: };
1:
1: struct core_thread___2 {
1: - struct task_struct___2 *task;
1: - struct core_thread___2 *next;
1: + struct task_struct___2 *task;
1: + struct core_thread___2 *next;
1: };
1:
1: struct core_state___2 {
1: - atomic_t nr_threads;
1: - struct core_thread___2 dumper;
1: - struct completion startup;
1: + atomic_t nr_threads;
1: + struct core_thread___2 dumper;
1: + struct completion startup;
1: };
1:
1: struct proc_ns_operations___2;
1:
1: struct ns_common___2 {
1: - atomic_long_t stashed;
1: - const struct proc_ns_operations___2 *ops;
1: - unsigned int inum;
1: + atomic_long_t stashed;
1: + const struct proc_ns_operations___2 *ops;
1: + unsigned int inum;
1: };
1:
1: struct ucounts___2;
1:
1: struct user_namespace___2 {
1: - struct uid_gid_map uid_map;
1: - struct uid_gid_map gid_map;
1: - struct uid_gid_map projid_map;
1: - atomic_t count;
1: - struct user_namespace___2 *parent;
1: - int level;
1: - kuid_t owner;
1: - kgid_t group;
1: - struct ns_common___2 ns;
1: - long unsigned int flags;
1: - struct list_head keyring_name_list;
1: - struct key *user_keyring_register;
1: - struct rw_semaphore keyring_sem;
1: - struct work_struct work;
1: - struct ctl_table_set set;
1: - struct ctl_table_header *sysctls;
1: - struct ucounts___2 *ucounts;
1: - int ucount_max[9];
1: + struct uid_gid_map uid_map;
1: + struct uid_gid_map gid_map;
1: + struct uid_gid_map projid_map;
1: + atomic_t count;
1: + struct user_namespace___2 *parent;
1: + int level;
1: + kuid_t owner;
1: + kgid_t group;
1: + struct ns_common___2 ns;
1: + long unsigned int flags;
1: + struct list_head keyring_name_list;
1: + struct key *user_keyring_register;
1: + struct rw_semaphore keyring_sem;
1: + struct work_struct work;
1: + struct ctl_table_set set;
1: + struct ctl_table_header *sysctls;
1: + struct ucounts___2 *ucounts;
1: + int ucount_max[9];
1: };
1:
1: struct vm_fault___2 {
1: - struct vm_area_struct___2 *vma;
1: - unsigned int flags;
1: - gfp_t gfp_mask;
1: - long unsigned int pgoff;
1: - long unsigned int address;
1: - pmd_t *pmd;
1: - pud_t *pud;
1: - pte_t orig_pte;
1: - struct page___2 *cow_page;
1: - struct mem_cgroup *memcg;
1: - struct page___2 *page;
1: - pte_t *pte;
1: - spinlock_t *ptl;
1: - pgtable_t___2 prealloc_pte;
1: + struct vm_area_struct___2 *vma;
1: + unsigned int flags;
1: + gfp_t gfp_mask;
1: + long unsigned int pgoff;
1: + long unsigned int address;
1: + pmd_t *pmd;
1: + pud_t *pud;
1: + pte_t orig_pte;
1: + struct page___2 *cow_page;
1: + struct mem_cgroup *memcg;
1: + struct page___2 *page;
1: + pte_t *pte;
1: + spinlock_t *ptl;
1: + pgtable_t___2 prealloc_pte;
1: };
1:
1: struct pglist_data___2;
1:
1: struct zone___2 {
1: - long unsigned int _watermark[3];
1: - long unsigned int watermark_boost;
1: - long unsigned int nr_reserved_highatomic;
1: - long int lowmem_reserve[4];
1: - int node;
1: - struct pglist_data___2 *zone_pgdat;
1: - struct per_cpu_pageset *pageset;
1: - long unsigned int zone_start_pfn;
1: - atomic_long_t managed_pages;
1: - long unsigned int spanned_pages;
1: - long unsigned int present_pages;
1: - const char *name;
1: - int initialized;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct zone_padding _pad1_;
1: - struct free_area free_area[11];
1: - long unsigned int flags;
1: - spinlock_t lock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct zone_padding _pad2_;
1: - long unsigned int percpu_drift_mark;
1: - long unsigned int compact_cached_free_pfn;
1: - long unsigned int compact_cached_migrate_pfn[2];
1: - long unsigned int compact_init_migrate_pfn;
1: - long unsigned int compact_init_free_pfn;
1: - unsigned int compact_considered;
1: - unsigned int compact_defer_shift;
1: - int compact_order_failed;
1: - bool compact_blockskip_flush;
1: - bool contiguous;
1: - short: 16;
1: - struct zone_padding _pad3_;
1: - atomic_long_t vm_stat[12];
1: - atomic_long_t vm_numa_stat[6];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + long unsigned int _watermark[3];
1: + long unsigned int watermark_boost;
1: + long unsigned int nr_reserved_highatomic;
1: + long int lowmem_reserve[4];
1: + int node;
1: + struct pglist_data___2 *zone_pgdat;
1: + struct per_cpu_pageset *pageset;
1: + long unsigned int zone_start_pfn;
1: + atomic_long_t managed_pages;
1: + long unsigned int spanned_pages;
1: + long unsigned int present_pages;
1: + const char *name;
1: + int initialized;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct zone_padding _pad1_;
1: + struct free_area free_area[11];
1: + long unsigned int flags;
1: + spinlock_t lock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct zone_padding _pad2_;
1: + long unsigned int percpu_drift_mark;
1: + long unsigned int compact_cached_free_pfn;
1: + long unsigned int compact_cached_migrate_pfn[2];
1: + long unsigned int compact_init_migrate_pfn;
1: + long unsigned int compact_init_free_pfn;
1: + unsigned int compact_considered;
1: + unsigned int compact_defer_shift;
1: + int compact_order_failed;
1: + bool compact_blockskip_flush;
1: + bool contiguous;
1: + short : 16;
1: + struct zone_padding _pad3_;
1: + atomic_long_t vm_stat[12];
1: + atomic_long_t vm_numa_stat[6];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct zoneref___2 {
1: - struct zone___2 *zone;
1: - int zone_idx;
1: + struct zone___2 *zone;
1: + int zone_idx;
1: };
1:
1: struct zonelist___2 {
1: - struct zoneref___2 _zonerefs[257];
1: + struct zoneref___2 _zonerefs[257];
1: };
1:
1: struct pglist_data___2 {
1: - struct zone___2 node_zones[4];
1: - struct zonelist___2 node_zonelists[2];
1: - int nr_zones;
1: - long unsigned int node_start_pfn;
1: - long unsigned int node_present_pages;
1: - long unsigned int node_spanned_pages;
1: - int node_id;
1: - wait_queue_head_t kswapd_wait;
1: - wait_queue_head_t pfmemalloc_wait;
1: - struct task_struct___2 *kswapd;
1: - int kswapd_order;
1: - enum zone_type kswapd_classzone_idx;
1: - int kswapd_failures;
1: - int kcompactd_max_order;
1: - enum zone_type kcompactd_classzone_idx;
1: - wait_queue_head_t kcompactd_wait;
1: - struct task_struct___2 *kcompactd;
1: - long unsigned int totalreserve_pages;
1: - long unsigned int min_unmapped_pages;
1: - long unsigned int min_slab_pages;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct zone_padding _pad1_;
1: - spinlock_t lru_lock;
1: - struct lruvec __lruvec;
1: - long unsigned int flags;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct zone_padding _pad2_;
1: - struct per_cpu_nodestat *per_cpu_nodestats;
1: - atomic_long_t vm_stat[32];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct zone___2 node_zones[4];
1: + struct zonelist___2 node_zonelists[2];
1: + int nr_zones;
1: + long unsigned int node_start_pfn;
1: + long unsigned int node_present_pages;
1: + long unsigned int node_spanned_pages;
1: + int node_id;
1: + wait_queue_head_t kswapd_wait;
1: + wait_queue_head_t pfmemalloc_wait;
1: + struct task_struct___2 *kswapd;
1: + int kswapd_order;
1: + enum zone_type kswapd_classzone_idx;
1: + int kswapd_failures;
1: + int kcompactd_max_order;
1: + enum zone_type kcompactd_classzone_idx;
1: + wait_queue_head_t kcompactd_wait;
1: + struct task_struct___2 *kcompactd;
1: + long unsigned int totalreserve_pages;
1: + long unsigned int min_unmapped_pages;
1: + long unsigned int min_slab_pages;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct zone_padding _pad1_;
1: + spinlock_t lru_lock;
1: + struct lruvec __lruvec;
1: + long unsigned int flags;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct zone_padding _pad2_;
1: + struct per_cpu_nodestat *per_cpu_nodestats;
1: + atomic_long_t vm_stat[32];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct fwnode_operations___2;
1: @@ -32202,9 +32393,9 @@ struct fwnode_operations___2;
1: struct device___2;
1:
1: struct fwnode_handle___2 {
1: - struct fwnode_handle___2 *secondary;
1: - const struct fwnode_operations___2 *ops;
1: - struct device___2 *dev;
1: + struct fwnode_handle___2 *secondary;
1: + const struct fwnode_operations___2 *ops;
1: + struct device___2 *dev;
1: };
1:
1: struct fwnode_reference_args___2;
1: @@ -32212,24 +32403,35 @@ struct fwnode_reference_args___2;
1: struct fwnode_endpoint___2;
1:
1: struct fwnode_operations___2 {
1: - struct fwnode_handle___2 * (*get)(struct fwnode_handle___2 *);
1: - void (*put)(struct fwnode_handle___2 *);
1: - bool (*device_is_available)(const struct fwnode_handle___2 *);
1: - const void * (*device_get_match_data)(const struct fwnode_handle___2 *, const struct device___2 *);
1: - bool (*property_present)(const struct fwnode_handle___2 *, const char *);
1: - int (*property_read_int_array)(const struct fwnode_handle___2 *, const char *, unsigned int, void *, size_t);
1: - int (*property_read_string_array)(const struct fwnode_handle___2 *, const char *, const char **, size_t);
1: - const char * (*get_name)(const struct fwnode_handle___2 *);
1: - const char * (*get_name_prefix)(const struct fwnode_handle___2 *);
1: - struct fwnode_handle___2 * (*get_parent)(const struct fwnode_handle___2 *);
1: - struct fwnode_handle___2 * (*get_next_child_node)(const struct fwnode_handle___2 *, struct fwnode_handle___2 *);
1: - struct fwnode_handle___2 * (*get_named_child_node)(const struct fwnode_handle___2 *, const char *);
1: - int (*get_reference_args)(const struct fwnode_handle___2 *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args___2 *);
1: - struct fwnode_handle___2 * (*graph_get_next_endpoint)(const struct fwnode_handle___2 *, struct fwnode_handle___2 *);
1: - struct fwnode_handle___2 * (*graph_get_remote_endpoint)(const struct fwnode_handle___2 *);
1: - struct fwnode_handle___2 * (*graph_get_port_parent)(struct fwnode_handle___2 *);
1: - int (*graph_parse_endpoint)(const struct fwnode_handle___2 *, struct fwnode_endpoint___2 *);
1: - int (*add_links)(const struct fwnode_handle___2 *, struct device___2 *);
1: + struct fwnode_handle___2 *(*get)(struct fwnode_handle___2 *);
1: + void (*put)(struct fwnode_handle___2 *);
1: + bool (*device_is_available)(const struct fwnode_handle___2 *);
1: + const void *(*device_get_match_data)(const struct fwnode_handle___2 *,
1: + const struct device___2 *);
1: + bool (*property_present)(const struct fwnode_handle___2 *, const char *);
1: + int (*property_read_int_array)(const struct fwnode_handle___2 *, const char *,
1: + unsigned int, void *, size_t);
1: + int (*property_read_string_array)(const struct fwnode_handle___2 *,
1: + const char *, const char **, size_t);
1: + const char *(*get_name)(const struct fwnode_handle___2 *);
1: + const char *(*get_name_prefix)(const struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 *(*get_parent)(const struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 *(*get_next_child_node)(
1: + const struct fwnode_handle___2 *, struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 *(*get_named_child_node)(
1: + const struct fwnode_handle___2 *, const char *);
1: + int (*get_reference_args)(const struct fwnode_handle___2 *, const char *,
1: + const char *, unsigned int, unsigned int,
1: + struct fwnode_reference_args___2 *);
1: + struct fwnode_handle___2 *(*graph_get_next_endpoint)(
1: + const struct fwnode_handle___2 *, struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 *(*graph_get_remote_endpoint)(
1: + const struct fwnode_handle___2 *);
1: + struct fwnode_handle___2 *(*graph_get_port_parent)(
1: + struct fwnode_handle___2 *);
1: + int (*graph_parse_endpoint)(const struct fwnode_handle___2 *,
1: + struct fwnode_endpoint___2 *);
1: + int (*add_links)(const struct fwnode_handle___2 *, struct device___2 *);
1: };
1:
1: struct kset___2;
1: @@ -32239,74 +32441,74 @@ struct kobj_type___2;
1: struct kernfs_node___2;
1:
1: struct kobject___2 {
1: - const char *name;
1: - struct list_head entry;
1: - struct kobject___2 *parent;
1: - struct kset___2 *kset;
1: - struct kobj_type___2 *ktype;
1: - struct kernfs_node___2 *sd;
1: - struct kref kref;
1: - unsigned int state_initialized: 1;
1: - unsigned int state_in_sysfs: 1;
1: - unsigned int state_add_uevent_sent: 1;
1: - unsigned int state_remove_uevent_sent: 1;
1: - unsigned int uevent_suppress: 1;
1: + const char *name;
1: + struct list_head entry;
1: + struct kobject___2 *parent;
1: + struct kset___2 *kset;
1: + struct kobj_type___2 *ktype;
1: + struct kernfs_node___2 *sd;
1: + struct kref kref;
1: + unsigned int state_initialized : 1;
1: + unsigned int state_in_sysfs : 1;
1: + unsigned int state_add_uevent_sent : 1;
1: + unsigned int state_remove_uevent_sent : 1;
1: + unsigned int uevent_suppress : 1;
1: };
1:
1: struct wakeup_source___2;
1:
1: struct dev_pm_info___2 {
1: - pm_message_t power_state;
1: - unsigned int can_wakeup: 1;
1: - unsigned int async_suspend: 1;
1: - bool in_dpm_list: 1;
1: - bool is_prepared: 1;
1: - bool is_suspended: 1;
1: - bool is_noirq_suspended: 1;
1: - bool is_late_suspended: 1;
1: - bool no_pm: 1;
1: - bool early_init: 1;
1: - bool direct_complete: 1;
1: - u32 driver_flags;
1: - spinlock_t lock;
1: - struct list_head entry;
1: - struct completion completion;
1: - struct wakeup_source___2 *wakeup;
1: - bool wakeup_path: 1;
1: - bool syscore: 1;
1: - bool no_pm_callbacks: 1;
1: - unsigned int must_resume: 1;
1: - unsigned int may_skip_resume: 1;
1: - struct hrtimer suspend_timer;
1: - long unsigned int timer_expires;
1: - struct work_struct work;
1: - wait_queue_head_t wait_queue;
1: - struct wake_irq *wakeirq;
1: - atomic_t usage_count;
1: - atomic_t child_count;
1: - unsigned int disable_depth: 3;
1: - unsigned int idle_notification: 1;
1: - unsigned int request_pending: 1;
1: - unsigned int deferred_resume: 1;
1: - unsigned int runtime_auto: 1;
1: - bool ignore_children: 1;
1: - unsigned int no_callbacks: 1;
1: - unsigned int irq_safe: 1;
1: - unsigned int use_autosuspend: 1;
1: - unsigned int timer_autosuspends: 1;
1: - unsigned int memalloc_noio: 1;
1: - unsigned int links_count;
1: - enum rpm_request request;
1: - enum rpm_status runtime_status;
1: - int runtime_error;
1: - int autosuspend_delay;
1: - u64 last_busy;
1: - u64 active_time;
1: - u64 suspended_time;
1: - u64 accounting_timestamp;
1: - struct pm_subsys_data *subsys_data;
1: - void (*set_latency_tolerance)(struct device___2 *, s32);
1: - struct dev_pm_qos *qos;
1: + pm_message_t power_state;
1: + unsigned int can_wakeup : 1;
1: + unsigned int async_suspend : 1;
1: + bool in_dpm_list : 1;
1: + bool is_prepared : 1;
1: + bool is_suspended : 1;
1: + bool is_noirq_suspended : 1;
1: + bool is_late_suspended : 1;
1: + bool no_pm : 1;
1: + bool early_init : 1;
1: + bool direct_complete : 1;
1: + u32 driver_flags;
1: + spinlock_t lock;
1: + struct list_head entry;
1: + struct completion completion;
1: + struct wakeup_source___2 *wakeup;
1: + bool wakeup_path : 1;
1: + bool syscore : 1;
1: + bool no_pm_callbacks : 1;
1: + unsigned int must_resume : 1;
1: + unsigned int may_skip_resume : 1;
1: + struct hrtimer suspend_timer;
1: + long unsigned int timer_expires;
1: + struct work_struct work;
1: + wait_queue_head_t wait_queue;
1: + struct wake_irq *wakeirq;
1: + atomic_t usage_count;
1: + atomic_t child_count;
1: + unsigned int disable_depth : 3;
1: + unsigned int idle_notification : 1;
1: + unsigned int request_pending : 1;
1: + unsigned int deferred_resume : 1;
1: + unsigned int runtime_auto : 1;
1: + bool ignore_children : 1;
1: + unsigned int no_callbacks : 1;
1: + unsigned int irq_safe : 1;
1: + unsigned int use_autosuspend : 1;
1: + unsigned int timer_autosuspends : 1;
1: + unsigned int memalloc_noio : 1;
1: + unsigned int links_count;
1: + enum rpm_request request;
1: + enum rpm_status runtime_status;
1: + int runtime_error;
1: + int autosuspend_delay;
1: + u64 last_busy;
1: + u64 active_time;
1: + u64 suspended_time;
1: + u64 accounting_timestamp;
1: + struct pm_subsys_data *subsys_data;
1: + void (*set_latency_tolerance)(struct device___2 *, s32);
1: + struct dev_pm_qos *qos;
1: };
1:
1: struct device_type___2;
1: @@ -32326,214 +32528,214 @@ struct class___2;
1: struct attribute_group___2;
1:
1: struct device___2 {
1: - struct kobject___2 kobj;
1: - struct device___2 *parent;
1: - struct device_private *p;
1: - const char *init_name;
1: - const struct device_type___2 *type;
1: - struct bus_type___2 *bus;
1: - struct device_driver___2 *driver;
1: - void *platform_data;
1: - void *driver_data;
1: - struct mutex mutex;
1: - struct dev_links_info links;
1: - struct dev_pm_info___2 power;
1: - struct dev_pm_domain___2 *pm_domain;
1: - struct irq_domain *msi_domain;
1: - struct list_head msi_list;
1: - const struct dma_map_ops___2 *dma_ops;
1: - u64 *dma_mask;
1: - u64 coherent_dma_mask;
1: - u64 bus_dma_limit;
1: - long unsigned int dma_pfn_offset;
1: - struct device_dma_parameters *dma_parms;
1: - struct list_head dma_pools;
1: - struct dev_archdata archdata;
1: - struct device_node___2 *of_node;
1: - struct fwnode_handle___2 *fwnode;
1: - int numa_node;
1: - dev_t devt;
1: - u32 id;
1: - spinlock_t devres_lock;
1: - struct list_head devres_head;
1: - struct class___2 *class;
1: - const struct attribute_group___2 **groups;
1: - void (*release)(struct device___2 *);
1: - struct iommu_group *iommu_group;
1: - struct iommu_fwspec *iommu_fwspec;
1: - struct iommu_param *iommu_param;
1: - bool offline_disabled: 1;
1: - bool offline: 1;
1: - bool of_node_reused: 1;
1: - bool state_synced: 1;
1: + struct kobject___2 kobj;
1: + struct device___2 *parent;
1: + struct device_private *p;
1: + const char *init_name;
1: + const struct device_type___2 *type;
1: + struct bus_type___2 *bus;
1: + struct device_driver___2 *driver;
1: + void *platform_data;
1: + void *driver_data;
1: + struct mutex mutex;
1: + struct dev_links_info links;
1: + struct dev_pm_info___2 power;
1: + struct dev_pm_domain___2 *pm_domain;
1: + struct irq_domain *msi_domain;
1: + struct list_head msi_list;
1: + const struct dma_map_ops___2 *dma_ops;
1: + u64 *dma_mask;
1: + u64 coherent_dma_mask;
1: + u64 bus_dma_limit;
1: + long unsigned int dma_pfn_offset;
1: + struct device_dma_parameters *dma_parms;
1: + struct list_head dma_pools;
1: + struct dev_archdata archdata;
1: + struct device_node___2 *of_node;
1: + struct fwnode_handle___2 *fwnode;
1: + int numa_node;
1: + dev_t devt;
1: + u32 id;
1: + spinlock_t devres_lock;
1: + struct list_head devres_head;
1: + struct class___2 *class;
1: + const struct attribute_group___2 **groups;
1: + void (*release)(struct device___2 *);
1: + struct iommu_group *iommu_group;
1: + struct iommu_fwspec *iommu_fwspec;
1: + struct iommu_param *iommu_param;
1: + bool offline_disabled : 1;
1: + bool offline : 1;
1: + bool of_node_reused : 1;
1: + bool state_synced : 1;
1: };
1:
1: struct fwnode_endpoint___2 {
1: - unsigned int port;
1: - unsigned int id;
1: - const struct fwnode_handle___2 *local_fwnode;
1: + unsigned int port;
1: + unsigned int id;
1: + const struct fwnode_handle___2 *local_fwnode;
1: };
1:
1: struct fwnode_reference_args___2 {
1: - struct fwnode_handle___2 *fwnode;
1: - unsigned int nargs;
1: - u64 args[8];
1: + struct fwnode_handle___2 *fwnode;
1: + unsigned int nargs;
1: + u64 args[8];
1: };
1:
1: struct vm_struct___2 {
1: - struct vm_struct___2 *next;
1: - void *addr;
1: - long unsigned int size;
1: - long unsigned int flags;
1: - struct page___2 **pages;
1: - unsigned int nr_pages;
1: - phys_addr_t phys_addr;
1: - const void *caller;
1: + struct vm_struct___2 *next;
1: + void *addr;
1: + long unsigned int size;
1: + long unsigned int flags;
1: + struct page___2 **pages;
1: + unsigned int nr_pages;
1: + phys_addr_t phys_addr;
1: + const void *caller;
1: };
1:
1: struct smp_ops___2 {
1: - void (*smp_prepare_boot_cpu)();
1: - void (*smp_prepare_cpus)(unsigned int);
1: - void (*smp_cpus_done)(unsigned int);
1: - void (*stop_other_cpus)(int);
1: - void (*crash_stop_other_cpus)();
1: - void (*smp_send_reschedule)(int);
1: - int (*cpu_up)(unsigned int, struct task_struct___2 *);
1: - int (*cpu_disable)();
1: - void (*cpu_die)(unsigned int);
1: - void (*play_dead)();
1: - void (*send_call_func_ipi)(const struct cpumask *);
1: - void (*send_call_func_single_ipi)(int);
1: + void (*smp_prepare_boot_cpu)();
1: + void (*smp_prepare_cpus)(unsigned int);
1: + void (*smp_cpus_done)(unsigned int);
1: + void (*stop_other_cpus)(int);
1: + void (*crash_stop_other_cpus)();
1: + void (*smp_send_reschedule)(int);
1: + int (*cpu_up)(unsigned int, struct task_struct___2 *);
1: + int (*cpu_disable)();
1: + void (*cpu_die)(unsigned int);
1: + void (*play_dead)();
1: + void (*send_call_func_ipi)(const struct cpumask *);
1: + void (*send_call_func_single_ipi)(int);
1: };
1:
1: struct upid___2 {
1: - int nr;
1: - struct pid_namespace___2 *ns;
1: + int nr;
1: + struct pid_namespace___2 *ns;
1: };
1:
1: struct pid_namespace___2 {
1: - struct kref kref;
1: - struct idr idr;
1: - struct callback_head rcu;
1: - unsigned int pid_allocated;
1: - struct task_struct___2 *child_reaper;
1: - struct kmem_cache *pid_cachep;
1: - unsigned int level;
1: - struct pid_namespace___2 *parent;
1: - struct vfsmount___2 *proc_mnt;
1: - struct dentry___2 *proc_self;
1: - struct dentry___2 *proc_thread_self;
1: - struct fs_pin *bacct;
1: - struct user_namespace___2 *user_ns;
1: - struct ucounts___2 *ucounts;
1: - struct work_struct proc_work;
1: - kgid_t pid_gid;
1: - int hide_pid;
1: - int reboot;
1: - struct ns_common___2 ns;
1: + struct kref kref;
1: + struct idr idr;
1: + struct callback_head rcu;
1: + unsigned int pid_allocated;
1: + struct task_struct___2 *child_reaper;
1: + struct kmem_cache *pid_cachep;
1: + unsigned int level;
1: + struct pid_namespace___2 *parent;
1: + struct vfsmount___2 *proc_mnt;
1: + struct dentry___2 *proc_self;
1: + struct dentry___2 *proc_thread_self;
1: + struct fs_pin *bacct;
1: + struct user_namespace___2 *user_ns;
1: + struct ucounts___2 *ucounts;
1: + struct work_struct proc_work;
1: + kgid_t pid_gid;
1: + int hide_pid;
1: + int reboot;
1: + struct ns_common___2 ns;
1: };
1:
1: struct pid___2 {
1: - refcount_t count;
1: - unsigned int level;
1: - struct hlist_head tasks[4];
1: - wait_queue_head_t wait_pidfd;
1: - struct callback_head rcu;
1: - struct upid___2 numbers[1];
1: + refcount_t count;
1: + unsigned int level;
1: + struct hlist_head tasks[4];
1: + wait_queue_head_t wait_pidfd;
1: + struct callback_head rcu;
1: + struct upid___2 numbers[1];
1: };
1:
1: struct signal_struct___2 {
1: - refcount_t sigcnt;
1: - atomic_t live;
1: - int nr_threads;
1: - struct list_head thread_head;
1: - wait_queue_head_t wait_chldexit;
1: - struct task_struct___2 *curr_target;
1: - struct sigpending shared_pending;
1: - struct hlist_head multiprocess;
1: - int group_exit_code;
1: - int notify_count;
1: - struct task_struct___2 *group_exit_task;
1: - int group_stop_count;
1: - unsigned int flags;
1: - unsigned int is_child_subreaper: 1;
1: - unsigned int has_child_subreaper: 1;
1: - int posix_timer_id;
1: - struct list_head posix_timers;
1: - struct hrtimer real_timer;
1: - ktime_t it_real_incr;
1: - struct cpu_itimer it[2];
1: - struct thread_group_cputimer cputimer;
1: - struct posix_cputimers posix_cputimers;
1: - struct pid___2 *pids[4];
1: - struct pid___2 *tty_old_pgrp;
1: - int leader;
1: - struct tty_struct *tty;
1: - seqlock_t stats_lock;
1: - u64 utime;
1: - u64 stime;
1: - u64 cutime;
1: - u64 cstime;
1: - u64 gtime;
1: - u64 cgtime;
1: - struct prev_cputime prev_cputime;
1: - long unsigned int nvcsw;
1: - long unsigned int nivcsw;
1: - long unsigned int cnvcsw;
1: - long unsigned int cnivcsw;
1: - long unsigned int min_flt;
1: - long unsigned int maj_flt;
1: - long unsigned int cmin_flt;
1: - long unsigned int cmaj_flt;
1: - long unsigned int inblock;
1: - long unsigned int oublock;
1: - long unsigned int cinblock;
1: - long unsigned int coublock;
1: - long unsigned int maxrss;
1: - long unsigned int cmaxrss;
1: - struct task_io_accounting ioac;
1: - long long unsigned int sum_sched_runtime;
1: - struct rlimit rlim[16];
1: - struct pacct_struct pacct;
1: - struct taskstats *stats;
1: - unsigned int audit_tty;
1: - struct tty_audit_buf *tty_audit_buf;
1: - bool oom_flag_origin;
1: - short int oom_score_adj;
1: - short int oom_score_adj_min;
1: - struct mm_struct___2 *oom_mm;
1: - struct mutex cred_guard_mutex;
1: + refcount_t sigcnt;
1: + atomic_t live;
1: + int nr_threads;
1: + struct list_head thread_head;
1: + wait_queue_head_t wait_chldexit;
1: + struct task_struct___2 *curr_target;
1: + struct sigpending shared_pending;
1: + struct hlist_head multiprocess;
1: + int group_exit_code;
1: + int notify_count;
1: + struct task_struct___2 *group_exit_task;
1: + int group_stop_count;
1: + unsigned int flags;
1: + unsigned int is_child_subreaper : 1;
1: + unsigned int has_child_subreaper : 1;
1: + int posix_timer_id;
1: + struct list_head posix_timers;
1: + struct hrtimer real_timer;
1: + ktime_t it_real_incr;
1: + struct cpu_itimer it[2];
1: + struct thread_group_cputimer cputimer;
1: + struct posix_cputimers posix_cputimers;
1: + struct pid___2 *pids[4];
1: + struct pid___2 *tty_old_pgrp;
1: + int leader;
1: + struct tty_struct *tty;
1: + seqlock_t stats_lock;
1: + u64 utime;
1: + u64 stime;
1: + u64 cutime;
1: + u64 cstime;
1: + u64 gtime;
1: + u64 cgtime;
1: + struct prev_cputime prev_cputime;
1: + long unsigned int nvcsw;
1: + long unsigned int nivcsw;
1: + long unsigned int cnvcsw;
1: + long unsigned int cnivcsw;
1: + long unsigned int min_flt;
1: + long unsigned int maj_flt;
1: + long unsigned int cmin_flt;
1: + long unsigned int cmaj_flt;
1: + long unsigned int inblock;
1: + long unsigned int oublock;
1: + long unsigned int cinblock;
1: + long unsigned int coublock;
1: + long unsigned int maxrss;
1: + long unsigned int cmaxrss;
1: + struct task_io_accounting ioac;
1: + long long unsigned int sum_sched_runtime;
1: + struct rlimit rlim[16];
1: + struct pacct_struct pacct;
1: + struct taskstats *stats;
1: + unsigned int audit_tty;
1: + struct tty_audit_buf *tty_audit_buf;
1: + bool oom_flag_origin;
1: + short int oom_score_adj;
1: + short int oom_score_adj_min;
1: + struct mm_struct___2 *oom_mm;
1: + struct mutex cred_guard_mutex;
1: };
1:
1: struct cred___2 {
1: - atomic_t usage;
1: - kuid_t uid;
1: - kgid_t gid;
1: - kuid_t suid;
1: - kgid_t sgid;
1: - kuid_t euid;
1: - kgid_t egid;
1: - kuid_t fsuid;
1: - kgid_t fsgid;
1: - unsigned int securebits;
1: - kernel_cap_t cap_inheritable;
1: - kernel_cap_t cap_permitted;
1: - kernel_cap_t cap_effective;
1: - kernel_cap_t cap_bset;
1: - kernel_cap_t cap_ambient;
1: - unsigned char jit_keyring;
1: - struct key *session_keyring;
1: - struct key *process_keyring;
1: - struct key *thread_keyring;
1: - struct key *request_key_auth;
1: - void *security;
1: - struct user_struct *user;
1: - struct user_namespace___2 *user_ns;
1: - struct group_info *group_info;
1: - union {
1: - int non_rcu;
1: - struct callback_head rcu;
1: - };
1: + atomic_t usage;
1: + kuid_t uid;
1: + kgid_t gid;
1: + kuid_t suid;
1: + kgid_t sgid;
1: + kuid_t euid;
1: + kgid_t egid;
1: + kuid_t fsuid;
1: + kgid_t fsgid;
1: + unsigned int securebits;
1: + kernel_cap_t cap_inheritable;
1: + kernel_cap_t cap_permitted;
1: + kernel_cap_t cap_effective;
1: + kernel_cap_t cap_bset;
1: + kernel_cap_t cap_ambient;
1: + unsigned char jit_keyring;
1: + struct key *session_keyring;
1: + struct key *process_keyring;
1: + struct key *thread_keyring;
1: + struct key *request_key_auth;
1: + void *security;
1: + struct user_struct *user;
1: + struct user_namespace___2 *user_ns;
1: + struct group_info *group_info;
1: + union {
1: + int non_rcu;
1: + struct callback_head rcu;
1: + };
1: };
1:
1: struct net___2;
1: @@ -32541,13 +32743,13 @@ struct net___2;
1: struct cgroup_namespace___2;
1:
1: struct nsproxy___2 {
1: - atomic_t count;
1: - struct uts_namespace *uts_ns;
1: - struct ipc_namespace *ipc_ns;
1: - struct mnt_namespace *mnt_ns;
1: - struct pid_namespace___2 *pid_ns_for_children;
1: - struct net___2 *net_ns;
1: - struct cgroup_namespace___2 *cgroup_ns;
1: + atomic_t count;
1: + struct uts_namespace *uts_ns;
1: + struct ipc_namespace *ipc_ns;
1: + struct mnt_namespace *mnt_ns;
1: + struct pid_namespace___2 *pid_ns_for_children;
1: + struct net___2 *net_ns;
1: + struct cgroup_namespace___2 *cgroup_ns;
1: };
1:
1: struct cgroup_subsys_state___2;
1: @@ -32555,185 +32757,186 @@ struct cgroup_subsys_state___2;
1: struct cgroup___2;
1:
1: struct css_set___2 {
1: - struct cgroup_subsys_state___2 *subsys[4];
1: - refcount_t refcount;
1: - struct css_set___2 *dom_cset;
1: - struct cgroup___2 *dfl_cgrp;
1: - int nr_tasks;
1: - struct list_head tasks;
1: - struct list_head mg_tasks;
1: - struct list_head dying_tasks;
1: - struct list_head task_iters;
1: - struct list_head e_cset_node[4];
1: - struct list_head threaded_csets;
1: - struct list_head threaded_csets_node;
1: - struct hlist_node hlist;
1: - struct list_head cgrp_links;
1: - struct list_head mg_preload_node;
1: - struct list_head mg_node;
1: - struct cgroup___2 *mg_src_cgrp;
1: - struct cgroup___2 *mg_dst_cgrp;
1: - struct css_set___2 *mg_dst_cset;
1: - bool dead;
1: - struct callback_head callback_head;
1: + struct cgroup_subsys_state___2 *subsys[4];
1: + refcount_t refcount;
1: + struct css_set___2 *dom_cset;
1: + struct cgroup___2 *dfl_cgrp;
1: + int nr_tasks;
1: + struct list_head tasks;
1: + struct list_head mg_tasks;
1: + struct list_head dying_tasks;
1: + struct list_head task_iters;
1: + struct list_head e_cset_node[4];
1: + struct list_head threaded_csets;
1: + struct list_head threaded_csets_node;
1: + struct hlist_node hlist;
1: + struct list_head cgrp_links;
1: + struct list_head mg_preload_node;
1: + struct list_head mg_node;
1: + struct cgroup___2 *mg_src_cgrp;
1: + struct cgroup___2 *mg_dst_cgrp;
1: + struct css_set___2 *mg_dst_cset;
1: + bool dead;
1: + struct callback_head callback_head;
1: };
1:
1: struct perf_event_context___2 {
1: - struct pmu___2 *pmu;
1: - raw_spinlock_t lock;
1: - struct mutex mutex;
1: - struct list_head active_ctx_list;
1: - struct perf_event_groups pinned_groups;
1: - struct perf_event_groups flexible_groups;
1: - struct list_head event_list;
1: - struct list_head pinned_active;
1: - struct list_head flexible_active;
1: - int nr_events;
1: - int nr_active;
1: - int is_active;
1: - int nr_stat;
1: - int nr_freq;
1: - int rotate_disable;
1: - int rotate_necessary;
1: - refcount_t refcount;
1: - struct task_struct___2 *task;
1: - u64 time;
1: - u64 timestamp;
1: - struct perf_event_context___2 *parent_ctx;
1: - u64 parent_gen;
1: - u64 generation;
1: - int pin_count;
1: - void *task_ctx_data;
1: - struct callback_head callback_head;
1: + struct pmu___2 *pmu;
1: + raw_spinlock_t lock;
1: + struct mutex mutex;
1: + struct list_head active_ctx_list;
1: + struct perf_event_groups pinned_groups;
1: + struct perf_event_groups flexible_groups;
1: + struct list_head event_list;
1: + struct list_head pinned_active;
1: + struct list_head flexible_active;
1: + int nr_events;
1: + int nr_active;
1: + int is_active;
1: + int nr_stat;
1: + int nr_freq;
1: + int rotate_disable;
1: + int rotate_necessary;
1: + refcount_t refcount;
1: + struct task_struct___2 *task;
1: + u64 time;
1: + u64 timestamp;
1: + struct perf_event_context___2 *parent_ctx;
1: + u64 parent_gen;
1: + u64 generation;
1: + int pin_count;
1: + void *task_ctx_data;
1: + struct callback_head callback_head;
1: };
1:
1: struct pipe_buffer___2;
1:
1: struct pipe_inode_info___2 {
1: - struct mutex mutex;
1: - wait_queue_head_t wait;
1: - unsigned int head;
1: - unsigned int tail;
1: - unsigned int max_usage;
1: - unsigned int ring_size;
1: - unsigned int readers;
1: - unsigned int writers;
1: - unsigned int files;
1: - unsigned int r_counter;
1: - unsigned int w_counter;
1: - struct page___2 *tmp_page;
1: - struct fasync_struct___2 *fasync_readers;
1: - struct fasync_struct___2 *fasync_writers;
1: - struct pipe_buffer___2 *bufs;
1: - struct user_struct *user;
1: + struct mutex mutex;
1: + wait_queue_head_t wait;
1: + unsigned int head;
1: + unsigned int tail;
1: + unsigned int max_usage;
1: + unsigned int ring_size;
1: + unsigned int readers;
1: + unsigned int writers;
1: + unsigned int files;
1: + unsigned int r_counter;
1: + unsigned int w_counter;
1: + struct page___2 *tmp_page;
1: + struct fasync_struct___2 *fasync_readers;
1: + struct fasync_struct___2 *fasync_writers;
1: + struct pipe_buffer___2 *bufs;
1: + struct user_struct *user;
1: };
1:
1: struct kiocb___2 {
1: - struct file___2 *ki_filp;
1: - loff_t ki_pos;
1: - void (*ki_complete)(struct kiocb___2 *, long int, long int);
1: - void *private;
1: - int ki_flags;
1: - u16 ki_hint;
1: - u16 ki_ioprio;
1: - unsigned int ki_cookie;
1: + struct file___2 *ki_filp;
1: + loff_t ki_pos;
1: + void (*ki_complete)(struct kiocb___2 *, long int, long int);
1: + void *private;
1: + int ki_flags;
1: + u16 ki_hint;
1: + u16 ki_ioprio;
1: + unsigned int ki_cookie;
1: };
1:
1: struct iattr___2 {
1: - unsigned int ia_valid;
1: - umode_t ia_mode;
1: - kuid_t ia_uid;
1: - kgid_t ia_gid;
1: - loff_t ia_size;
1: - struct timespec64 ia_atime;
1: - struct timespec64 ia_mtime;
1: - struct timespec64 ia_ctime;
1: - struct file___2 *ia_file;
1: + unsigned int ia_valid;
1: + umode_t ia_mode;
1: + kuid_t ia_uid;
1: + kgid_t ia_gid;
1: + loff_t ia_size;
1: + struct timespec64 ia_atime;
1: + struct timespec64 ia_mtime;
1: + struct timespec64 ia_ctime;
1: + struct file___2 *ia_file;
1: };
1:
1: struct dquot___2 {
1: - struct hlist_node dq_hash;
1: - struct list_head dq_inuse;
1: - struct list_head dq_free;
1: - struct list_head dq_dirty;
1: - struct mutex dq_lock;
1: - spinlock_t dq_dqb_lock;
1: - atomic_t dq_count;
1: - struct super_block___2 *dq_sb;
1: - struct kqid dq_id;
1: - loff_t dq_off;
1: - long unsigned int dq_flags;
1: - struct mem_dqblk dq_dqb;
1: + struct hlist_node dq_hash;
1: + struct list_head dq_inuse;
1: + struct list_head dq_free;
1: + struct list_head dq_dirty;
1: + struct mutex dq_lock;
1: + spinlock_t dq_dqb_lock;
1: + atomic_t dq_count;
1: + struct super_block___2 *dq_sb;
1: + struct kqid dq_id;
1: + loff_t dq_off;
1: + long unsigned int dq_flags;
1: + struct mem_dqblk dq_dqb;
1: };
1:
1: struct module___2;
1:
1: struct quota_format_type___2 {
1: - int qf_fmt_id;
1: - const struct quota_format_ops___2 *qf_ops;
1: - struct module___2 *qf_owner;
1: - struct quota_format_type___2 *qf_next;
1: + int qf_fmt_id;
1: + const struct quota_format_ops___2 *qf_ops;
1: + struct module___2 *qf_owner;
1: + struct quota_format_type___2 *qf_next;
1: };
1:
1: struct quota_format_ops___2 {
1: - int (*check_quota_file)(struct super_block___2 *, int);
1: - int (*read_file_info)(struct super_block___2 *, int);
1: - int (*write_file_info)(struct super_block___2 *, int);
1: - int (*free_file_info)(struct super_block___2 *, int);
1: - int (*read_dqblk)(struct dquot___2 *);
1: - int (*commit_dqblk)(struct dquot___2 *);
1: - int (*release_dqblk)(struct dquot___2 *);
1: - int (*get_next_id)(struct super_block___2 *, struct kqid *);
1: + int (*check_quota_file)(struct super_block___2 *, int);
1: + int (*read_file_info)(struct super_block___2 *, int);
1: + int (*write_file_info)(struct super_block___2 *, int);
1: + int (*free_file_info)(struct super_block___2 *, int);
1: + int (*read_dqblk)(struct dquot___2 *);
1: + int (*commit_dqblk)(struct dquot___2 *);
1: + int (*release_dqblk)(struct dquot___2 *);
1: + int (*get_next_id)(struct super_block___2 *, struct kqid *);
1: };
1:
1: struct dquot_operations___2 {
1: - int (*write_dquot)(struct dquot___2 *);
1: - struct dquot___2 * (*alloc_dquot)(struct super_block___2 *, int);
1: - void (*destroy_dquot)(struct dquot___2 *);
1: - int (*acquire_dquot)(struct dquot___2 *);
1: - int (*release_dquot)(struct dquot___2 *);
1: - int (*mark_dirty)(struct dquot___2 *);
1: - int (*write_info)(struct super_block___2 *, int);
1: - qsize_t * (*get_reserved_space)(struct inode___2 *);
1: - int (*get_projid)(struct inode___2 *, kprojid_t *);
1: - int (*get_inode_usage)(struct inode___2 *, qsize_t *);
1: - int (*get_next_id)(struct super_block___2 *, struct kqid *);
1: + int (*write_dquot)(struct dquot___2 *);
1: + struct dquot___2 *(*alloc_dquot)(struct super_block___2 *, int);
1: + void (*destroy_dquot)(struct dquot___2 *);
1: + int (*acquire_dquot)(struct dquot___2 *);
1: + int (*release_dquot)(struct dquot___2 *);
1: + int (*mark_dirty)(struct dquot___2 *);
1: + int (*write_info)(struct super_block___2 *, int);
1: + qsize_t *(*get_reserved_space)(struct inode___2 *);
1: + int (*get_projid)(struct inode___2 *, kprojid_t *);
1: + int (*get_inode_usage)(struct inode___2 *, qsize_t *);
1: + int (*get_next_id)(struct super_block___2 *, struct kqid *);
1: };
1:
1: struct quotactl_ops___2 {
1: - int (*quota_on)(struct super_block___2 *, int, int, const struct path___2 *);
1: - int (*quota_off)(struct super_block___2 *, int);
1: - int (*quota_enable)(struct super_block___2 *, unsigned int);
1: - int (*quota_disable)(struct super_block___2 *, unsigned int);
1: - int (*quota_sync)(struct super_block___2 *, int);
1: - int (*set_info)(struct super_block___2 *, int, struct qc_info *);
1: - int (*get_dqblk)(struct super_block___2 *, struct kqid, struct qc_dqblk *);
1: - int (*get_nextdqblk)(struct super_block___2 *, struct kqid *, struct qc_dqblk *);
1: - int (*set_dqblk)(struct super_block___2 *, struct kqid, struct qc_dqblk *);
1: - int (*get_state)(struct super_block___2 *, struct qc_state *);
1: - int (*rm_xquota)(struct super_block___2 *, unsigned int);
1: + int (*quota_on)(struct super_block___2 *, int, int, const struct path___2 *);
1: + int (*quota_off)(struct super_block___2 *, int);
1: + int (*quota_enable)(struct super_block___2 *, unsigned int);
1: + int (*quota_disable)(struct super_block___2 *, unsigned int);
1: + int (*quota_sync)(struct super_block___2 *, int);
1: + int (*set_info)(struct super_block___2 *, int, struct qc_info *);
1: + int (*get_dqblk)(struct super_block___2 *, struct kqid, struct qc_dqblk *);
1: + int (*get_nextdqblk)(struct super_block___2 *, struct kqid *,
1: + struct qc_dqblk *);
1: + int (*set_dqblk)(struct super_block___2 *, struct kqid, struct qc_dqblk *);
1: + int (*get_state)(struct super_block___2 *, struct qc_state *);
1: + int (*rm_xquota)(struct super_block___2 *, unsigned int);
1: };
1:
1: struct module_kobject___2 {
1: - struct kobject___2 kobj;
1: - struct module___2 *mod;
1: - struct kobject___2 *drivers_dir;
1: - struct module_param_attrs *mp;
1: - struct completion *kobj_completion;
1: + struct kobject___2 kobj;
1: + struct module___2 *mod;
1: + struct kobject___2 *drivers_dir;
1: + struct module_param_attrs *mp;
1: + struct completion *kobj_completion;
1: };
1:
1: struct mod_tree_node___2 {
1: - struct module___2 *mod;
1: - struct latch_tree_node node;
1: + struct module___2 *mod;
1: + struct latch_tree_node node;
1: };
1:
1: struct module_layout___2 {
1: - void *base;
1: - unsigned int size;
1: - unsigned int text_size;
1: - unsigned int ro_size;
1: - unsigned int ro_after_init_size;
1: - struct mod_tree_node___2 mtn;
1: + void *base;
1: + unsigned int size;
1: + unsigned int text_size;
1: + unsigned int ro_size;
1: + unsigned int ro_after_init_size;
1: + struct mod_tree_node___2 mtn;
1: };
1:
1: struct module_attribute___2;
1: @@ -32741,140 +32944,146 @@ struct module_attribute___2;
1: struct kernel_param___2;
1:
1: struct module___2 {
1: - enum module_state state;
1: - struct list_head list;
1: - char name[56];
1: - struct module_kobject___2 mkobj;
1: - struct module_attribute___2 *modinfo_attrs;
1: - const char *version;
1: - const char *srcversion;
1: - struct kobject___2 *holders_dir;
1: - const struct kernel_symbol *syms;
1: - const s32 *crcs;
1: - unsigned int num_syms;
1: - struct mutex param_lock;
1: - struct kernel_param___2 *kp;
1: - unsigned int num_kp;
1: - unsigned int num_gpl_syms;
1: - const struct kernel_symbol *gpl_syms;
1: - const s32 *gpl_crcs;
1: - bool async_probe_requested;
1: - const struct kernel_symbol *gpl_future_syms;
1: - const s32 *gpl_future_crcs;
1: - unsigned int num_gpl_future_syms;
1: - unsigned int num_exentries;
1: - struct exception_table_entry *extable;
1: - int (*init)();
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct module_layout___2 core_layout;
1: - struct module_layout___2 init_layout;
1: - struct mod_arch_specific arch;
1: - long unsigned int taints;
1: - unsigned int num_bugs;
1: - struct list_head bug_list;
1: - struct bug_entry *bug_table;
1: - struct mod_kallsyms *kallsyms;
1: - struct mod_kallsyms core_kallsyms;
1: - struct module_sect_attrs *sect_attrs;
1: - struct module_notes_attrs *notes_attrs;
1: - char *args;
1: - void *percpu;
1: - unsigned int percpu_size;
1: - unsigned int num_tracepoints;
1: - tracepoint_ptr_t *tracepoints_ptrs;
1: - unsigned int num_srcu_structs;
1: - struct srcu_struct **srcu_struct_ptrs;
1: - struct jump_entry *jump_entries;
1: - unsigned int num_jump_entries;
1: - unsigned int num_trace_bprintk_fmt;
1: - const char **trace_bprintk_fmt_start;
1: - struct trace_event_call___2 **trace_events;
1: - unsigned int num_trace_events;
1: - struct trace_eval_map **trace_evals;
1: - unsigned int num_trace_evals;
1: - struct list_head source_list;
1: - struct list_head target_list;
1: - void (*exit)();
1: - atomic_t refcnt;
1: - struct error_injection_entry *ei_funcs;
1: - unsigned int num_ei_funcs;
1: + enum module_state state;
1: + struct list_head list;
1: + char name[56];
1: + struct module_kobject___2 mkobj;
1: + struct module_attribute___2 *modinfo_attrs;
1: + const char *version;
1: + const char *srcversion;
1: + struct kobject___2 *holders_dir;
1: + const struct kernel_symbol *syms;
1: + const s32 *crcs;
1: + unsigned int num_syms;
1: + struct mutex param_lock;
1: + struct kernel_param___2 *kp;
1: + unsigned int num_kp;
1: + unsigned int num_gpl_syms;
1: + const struct kernel_symbol *gpl_syms;
1: + const s32 *gpl_crcs;
1: + bool async_probe_requested;
1: + const struct kernel_symbol *gpl_future_syms;
1: + const s32 *gpl_future_crcs;
1: + unsigned int num_gpl_future_syms;
1: + unsigned int num_exentries;
1: + struct exception_table_entry *extable;
1: + int (*init)();
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct module_layout___2 core_layout;
1: + struct module_layout___2 init_layout;
1: + struct mod_arch_specific arch;
1: + long unsigned int taints;
1: + unsigned int num_bugs;
1: + struct list_head bug_list;
1: + struct bug_entry *bug_table;
1: + struct mod_kallsyms *kallsyms;
1: + struct mod_kallsyms core_kallsyms;
1: + struct module_sect_attrs *sect_attrs;
1: + struct module_notes_attrs *notes_attrs;
1: + char *args;
1: + void *percpu;
1: + unsigned int percpu_size;
1: + unsigned int num_tracepoints;
1: + tracepoint_ptr_t *tracepoints_ptrs;
1: + unsigned int num_srcu_structs;
1: + struct srcu_struct **srcu_struct_ptrs;
1: + struct jump_entry *jump_entries;
1: + unsigned int num_jump_entries;
1: + unsigned int num_trace_bprintk_fmt;
1: + const char **trace_bprintk_fmt_start;
1: + struct trace_event_call___2 **trace_events;
1: + unsigned int num_trace_events;
1: + struct trace_eval_map **trace_evals;
1: + unsigned int num_trace_evals;
1: + struct list_head source_list;
1: + struct list_head target_list;
1: + void (*exit)();
1: + atomic_t refcnt;
1: + struct error_injection_entry *ei_funcs;
1: + unsigned int num_ei_funcs;
1: };
1:
1: struct iov_iter___2;
1:
1: struct address_space_operations___2 {
1: - int (*writepage)(struct page___2 *, struct writeback_control *);
1: - int (*readpage)(struct file___2 *, struct page___2 *);
1: - int (*writepages)(struct address_space___2 *, struct writeback_control *);
1: - int (*set_page_dirty)(struct page___2 *);
1: - int (*readpages)(struct file___2 *, struct address_space___2 *, struct list_head *, unsigned int);
1: - int (*write_begin)(struct file___2 *, struct address_space___2 *, loff_t, unsigned int, unsigned int, struct page___2 **, void **);
1: - int (*write_end)(struct file___2 *, struct address_space___2 *, loff_t, unsigned int, unsigned int, struct page___2 *, void *);
1: - sector_t (*bmap)(struct address_space___2 *, sector_t);
1: - void (*invalidatepage)(struct page___2 *, unsigned int, unsigned int);
1: - int (*releasepage)(struct page___2 *, gfp_t);
1: - void (*freepage)(struct page___2 *);
1: - ssize_t (*direct_IO)(struct kiocb___2 *, struct iov_iter___2 *);
1: - int (*migratepage)(struct address_space___2 *, struct page___2 *, struct page___2 *, enum migrate_mode);
1: - bool (*isolate_page)(struct page___2 *, isolate_mode_t);
1: - void (*putback_page)(struct page___2 *);
1: - int (*launder_page)(struct page___2 *);
1: - int (*is_partially_uptodate)(struct page___2 *, long unsigned int, long unsigned int);
1: - void (*is_dirty_writeback)(struct page___2 *, bool *, bool *);
1: - int (*error_remove_page)(struct address_space___2 *, struct page___2 *);
1: - int (*swap_activate)(struct swap_info_struct *, struct file___2 *, sector_t *);
1: - void (*swap_deactivate)(struct file___2 *);
1: + int (*writepage)(struct page___2 *, struct writeback_control *);
1: + int (*readpage)(struct file___2 *, struct page___2 *);
1: + int (*writepages)(struct address_space___2 *, struct writeback_control *);
1: + int (*set_page_dirty)(struct page___2 *);
1: + int (*readpages)(struct file___2 *, struct address_space___2 *,
1: + struct list_head *, unsigned int);
1: + int (*write_begin)(struct file___2 *, struct address_space___2 *, loff_t,
1: + unsigned int, unsigned int, struct page___2 **, void **);
1: + int (*write_end)(struct file___2 *, struct address_space___2 *, loff_t,
1: + unsigned int, unsigned int, struct page___2 *, void *);
1: + sector_t (*bmap)(struct address_space___2 *, sector_t);
1: + void (*invalidatepage)(struct page___2 *, unsigned int, unsigned int);
1: + int (*releasepage)(struct page___2 *, gfp_t);
1: + void (*freepage)(struct page___2 *);
1: + ssize_t (*direct_IO)(struct kiocb___2 *, struct iov_iter___2 *);
1: + int (*migratepage)(struct address_space___2 *, struct page___2 *,
1: + struct page___2 *, enum migrate_mode);
1: + bool (*isolate_page)(struct page___2 *, isolate_mode_t);
1: + void (*putback_page)(struct page___2 *);
1: + int (*launder_page)(struct page___2 *);
1: + int (*is_partially_uptodate)(struct page___2 *, long unsigned int,
1: + long unsigned int);
1: + void (*is_dirty_writeback)(struct page___2 *, bool *, bool *);
1: + int (*error_remove_page)(struct address_space___2 *, struct page___2 *);
1: + int (*swap_activate)(struct swap_info_struct *, struct file___2 *,
1: + sector_t *);
1: + void (*swap_deactivate)(struct file___2 *);
1: };
1:
1: struct bio_vec___2;
1:
1: struct iov_iter___2 {
1: - unsigned int type;
1: - size_t iov_offset;
1: - size_t count;
1: - union {
1: - const struct iovec *iov;
1: - const struct kvec *kvec;
1: - const struct bio_vec___2 *bvec;
1: - struct pipe_inode_info___2 *pipe;
1: - };
1: - union {
1: - long unsigned int nr_segs;
1: - struct {
1: - unsigned int head;
1: - unsigned int start_head;
1: - };
1: - };
1: + unsigned int type;
1: + size_t iov_offset;
1: + size_t count;
1: + union {
1: + const struct iovec *iov;
1: + const struct kvec *kvec;
1: + const struct bio_vec___2 *bvec;
1: + struct pipe_inode_info___2 *pipe;
1: + };
1: + union {
1: + long unsigned int nr_segs;
1: + struct {
1: + unsigned int head;
1: + unsigned int start_head;
1: + };
1: + };
1: };
1:
1: struct block_device___2 {
1: - dev_t bd_dev;
1: - int bd_openers;
1: - struct inode___2 *bd_inode;
1: - struct super_block___2 *bd_super;
1: - struct mutex bd_mutex;
1: - void *bd_claiming;
1: - void *bd_holder;
1: - int bd_holders;
1: - bool bd_write_holder;
1: - struct list_head bd_holder_disks;
1: - struct block_device___2 *bd_contains;
1: - unsigned int bd_block_size;
1: - u8 bd_partno;
1: - struct hd_struct *bd_part;
1: - unsigned int bd_part_count;
1: - int bd_invalidated;
1: - struct gendisk *bd_disk;
1: - struct request_queue *bd_queue;
1: - struct backing_dev_info *bd_bdi;
1: - struct list_head bd_list;
1: - long unsigned int bd_private;
1: - int bd_fsfreeze_count;
1: - struct mutex bd_fsfreeze_mutex;
1: + dev_t bd_dev;
1: + int bd_openers;
1: + struct inode___2 *bd_inode;
1: + struct super_block___2 *bd_super;
1: + struct mutex bd_mutex;
1: + void *bd_claiming;
1: + void *bd_holder;
1: + int bd_holders;
1: + bool bd_write_holder;
1: + struct list_head bd_holder_disks;
1: + struct block_device___2 *bd_contains;
1: + unsigned int bd_block_size;
1: + u8 bd_partno;
1: + struct hd_struct *bd_part;
1: + unsigned int bd_part_count;
1: + int bd_invalidated;
1: + struct gendisk *bd_disk;
1: + struct request_queue *bd_queue;
1: + struct backing_dev_info *bd_bdi;
1: + struct list_head bd_list;
1: + long unsigned int bd_private;
1: + int bd_fsfreeze_count;
1: + struct mutex bd_fsfreeze_mutex;
1: };
1:
1: struct poll_table_struct___2;
1: @@ -32884,202 +33093,221 @@ struct file_lock___2;
1: struct seq_file___2;
1:
1: struct file_operations___2 {
1: - struct module___2 *owner;
1: - loff_t (*llseek)(struct file___2 *, loff_t, int);
1: - ssize_t (*read)(struct file___2 *, char *, size_t, loff_t *);
1: - ssize_t (*write)(struct file___2 *, const char *, size_t, loff_t *);
1: - ssize_t (*read_iter)(struct kiocb___2 *, struct iov_iter___2 *);
1: - ssize_t (*write_iter)(struct kiocb___2 *, struct iov_iter___2 *);
1: - int (*iopoll)(struct kiocb___2 *, bool);
1: - int (*iterate)(struct file___2 *, struct dir_context *);
1: - int (*iterate_shared)(struct file___2 *, struct dir_context *);
1: - __poll_t (*poll)(struct file___2 *, struct poll_table_struct___2 *);
1: - long int (*unlocked_ioctl)(struct file___2 *, unsigned int, long unsigned int);
1: - long int (*compat_ioctl)(struct file___2 *, unsigned int, long unsigned int);
1: - int (*mmap)(struct file___2 *, struct vm_area_struct___2 *);
1: - long unsigned int mmap_supported_flags;
1: - int (*open)(struct inode___2 *, struct file___2 *);
1: - int (*flush)(struct file___2 *, fl_owner_t);
1: - int (*release)(struct inode___2 *, struct file___2 *);
1: - int (*fsync)(struct file___2 *, loff_t, loff_t, int);
1: - int (*fasync)(int, struct file___2 *, int);
1: - int (*lock)(struct file___2 *, int, struct file_lock___2 *);
1: - ssize_t (*sendpage)(struct file___2 *, struct page___2 *, int, size_t, loff_t *, int);
1: - long unsigned int (*get_unmapped_area)(struct file___2 *, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: - int (*check_flags)(int);
1: - int (*flock)(struct file___2 *, int, struct file_lock___2 *);
1: - ssize_t (*splice_write)(struct pipe_inode_info___2 *, struct file___2 *, loff_t *, size_t, unsigned int);
1: - ssize_t (*splice_read)(struct file___2 *, loff_t *, struct pipe_inode_info___2 *, size_t, unsigned int);
1: - int (*setlease)(struct file___2 *, long int, struct file_lock___2 **, void **);
1: - long int (*fallocate)(struct file___2 *, int, loff_t, loff_t);
1: - void (*show_fdinfo)(struct seq_file___2 *, struct file___2 *);
1: - ssize_t (*copy_file_range)(struct file___2 *, loff_t, struct file___2 *, loff_t, size_t, unsigned int);
1: - loff_t (*remap_file_range)(struct file___2 *, loff_t, struct file___2 *, loff_t, loff_t, unsigned int);
1: - int (*fadvise)(struct file___2 *, loff_t, loff_t, int);
1: + struct module___2 *owner;
1: + loff_t (*llseek)(struct file___2 *, loff_t, int);
1: + ssize_t (*read)(struct file___2 *, char *, size_t, loff_t *);
1: + ssize_t (*write)(struct file___2 *, const char *, size_t, loff_t *);
1: + ssize_t (*read_iter)(struct kiocb___2 *, struct iov_iter___2 *);
1: + ssize_t (*write_iter)(struct kiocb___2 *, struct iov_iter___2 *);
1: + int (*iopoll)(struct kiocb___2 *, bool);
1: + int (*iterate)(struct file___2 *, struct dir_context *);
1: + int (*iterate_shared)(struct file___2 *, struct dir_context *);
1: + __poll_t (*poll)(struct file___2 *, struct poll_table_struct___2 *);
1: + long int (*unlocked_ioctl)(struct file___2 *, unsigned int,
1: + long unsigned int);
1: + long int (*compat_ioctl)(struct file___2 *, unsigned int, long unsigned int);
1: + int (*mmap)(struct file___2 *, struct vm_area_struct___2 *);
1: + long unsigned int mmap_supported_flags;
1: + int (*open)(struct inode___2 *, struct file___2 *);
1: + int (*flush)(struct file___2 *, fl_owner_t);
1: + int (*release)(struct inode___2 *, struct file___2 *);
1: + int (*fsync)(struct file___2 *, loff_t, loff_t, int);
1: + int (*fasync)(int, struct file___2 *, int);
1: + int (*lock)(struct file___2 *, int, struct file_lock___2 *);
1: + ssize_t (*sendpage)(struct file___2 *, struct page___2 *, int, size_t,
1: + loff_t *, int);
1: + long unsigned int (*get_unmapped_area)(struct file___2 *, long unsigned int,
1: + long unsigned int, long unsigned int,
1: + long unsigned int);
1: + int (*check_flags)(int);
1: + int (*flock)(struct file___2 *, int, struct file_lock___2 *);
1: + ssize_t (*splice_write)(struct pipe_inode_info___2 *, struct file___2 *,
1: + loff_t *, size_t, unsigned int);
1: + ssize_t (*splice_read)(struct file___2 *, loff_t *,
1: + struct pipe_inode_info___2 *, size_t, unsigned int);
1: + int (*setlease)(struct file___2 *, long int, struct file_lock___2 **,
1: + void **);
1: + long int (*fallocate)(struct file___2 *, int, loff_t, loff_t);
1: + void (*show_fdinfo)(struct seq_file___2 *, struct file___2 *);
1: + ssize_t (*copy_file_range)(struct file___2 *, loff_t, struct file___2 *,
1: + loff_t, size_t, unsigned int);
1: + loff_t (*remap_file_range)(struct file___2 *, loff_t, struct file___2 *,
1: + loff_t, loff_t, unsigned int);
1: + int (*fadvise)(struct file___2 *, loff_t, loff_t, int);
1: };
1:
1: struct inode_operations___2 {
1: - struct dentry___2 * (*lookup)(struct inode___2 *, struct dentry___2 *, unsigned int);
1: - const char * (*get_link)(struct dentry___2 *, struct inode___2 *, struct delayed_call *);
1: - int (*permission)(struct inode___2 *, int);
1: - struct posix_acl * (*get_acl)(struct inode___2 *, int);
1: - int (*readlink)(struct dentry___2 *, char *, int);
1: - int (*create)(struct inode___2 *, struct dentry___2 *, umode_t, bool);
1: - int (*link)(struct dentry___2 *, struct inode___2 *, struct dentry___2 *);
1: - int (*unlink)(struct inode___2 *, struct dentry___2 *);
1: - int (*symlink)(struct inode___2 *, struct dentry___2 *, const char *);
1: - int (*mkdir)(struct inode___2 *, struct dentry___2 *, umode_t);
1: - int (*rmdir)(struct inode___2 *, struct dentry___2 *);
1: - int (*mknod)(struct inode___2 *, struct dentry___2 *, umode_t, dev_t);
1: - int (*rename)(struct inode___2 *, struct dentry___2 *, struct inode___2 *, struct dentry___2 *, unsigned int);
1: - int (*setattr)(struct dentry___2 *, struct iattr___2 *);
1: - int (*getattr)(const struct path___2 *, struct kstat *, u32, unsigned int);
1: - ssize_t (*listxattr)(struct dentry___2 *, char *, size_t);
1: - int (*fiemap)(struct inode___2 *, struct fiemap_extent_info *, u64, u64);
1: - int (*update_time)(struct inode___2 *, struct timespec64 *, int);
1: - int (*atomic_open)(struct inode___2 *, struct dentry___2 *, struct file___2 *, unsigned int, umode_t);
1: - int (*tmpfile)(struct inode___2 *, struct dentry___2 *, umode_t);
1: - int (*set_acl)(struct inode___2 *, struct posix_acl *, int);
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct dentry___2 *(*lookup)(struct inode___2 *, struct dentry___2 *,
1: + unsigned int);
1: + const char *(*get_link)(struct dentry___2 *, struct inode___2 *,
1: + struct delayed_call *);
1: + int (*permission)(struct inode___2 *, int);
1: + struct posix_acl *(*get_acl)(struct inode___2 *, int);
1: + int (*readlink)(struct dentry___2 *, char *, int);
1: + int (*create)(struct inode___2 *, struct dentry___2 *, umode_t, bool);
1: + int (*link)(struct dentry___2 *, struct inode___2 *, struct dentry___2 *);
1: + int (*unlink)(struct inode___2 *, struct dentry___2 *);
1: + int (*symlink)(struct inode___2 *, struct dentry___2 *, const char *);
1: + int (*mkdir)(struct inode___2 *, struct dentry___2 *, umode_t);
1: + int (*rmdir)(struct inode___2 *, struct dentry___2 *);
1: + int (*mknod)(struct inode___2 *, struct dentry___2 *, umode_t, dev_t);
1: + int (*rename)(struct inode___2 *, struct dentry___2 *, struct inode___2 *,
1: + struct dentry___2 *, unsigned int);
1: + int (*setattr)(struct dentry___2 *, struct iattr___2 *);
1: + int (*getattr)(const struct path___2 *, struct kstat *, u32, unsigned int);
1: + ssize_t (*listxattr)(struct dentry___2 *, char *, size_t);
1: + int (*fiemap)(struct inode___2 *, struct fiemap_extent_info *, u64, u64);
1: + int (*update_time)(struct inode___2 *, struct timespec64 *, int);
1: + int (*atomic_open)(struct inode___2 *, struct dentry___2 *, struct file___2 *,
1: + unsigned int, umode_t);
1: + int (*tmpfile)(struct inode___2 *, struct dentry___2 *, umode_t);
1: + int (*set_acl)(struct inode___2 *, struct posix_acl *, int);
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct file_lock_operations___2 {
1: - void (*fl_copy_lock)(struct file_lock___2 *, struct file_lock___2 *);
1: - void (*fl_release_private)(struct file_lock___2 *);
1: + void (*fl_copy_lock)(struct file_lock___2 *, struct file_lock___2 *);
1: + void (*fl_release_private)(struct file_lock___2 *);
1: };
1:
1: struct lock_manager_operations___2;
1:
1: struct file_lock___2 {
1: - struct file_lock___2 *fl_blocker;
1: - struct list_head fl_list;
1: - struct hlist_node fl_link;
1: - struct list_head fl_blocked_requests;
1: - struct list_head fl_blocked_member;
1: - fl_owner_t fl_owner;
1: - unsigned int fl_flags;
1: - unsigned char fl_type;
1: - unsigned int fl_pid;
1: - int fl_link_cpu;
1: - wait_queue_head_t fl_wait;
1: - struct file___2 *fl_file;
1: - loff_t fl_start;
1: - loff_t fl_end;
1: - struct fasync_struct___2 *fl_fasync;
1: - long unsigned int fl_break_time;
1: - long unsigned int fl_downgrade_time;
1: - const struct file_lock_operations___2 *fl_ops;
1: - const struct lock_manager_operations___2 *fl_lmops;
1: - union {
1: - struct nfs_lock_info nfs_fl;
1: - struct nfs4_lock_info nfs4_fl;
1: - struct {
1: - struct list_head link;
1: - int state;
1: - unsigned int debug_id;
1: - } afs;
1: - } fl_u;
1: + struct file_lock___2 *fl_blocker;
1: + struct list_head fl_list;
1: + struct hlist_node fl_link;
1: + struct list_head fl_blocked_requests;
1: + struct list_head fl_blocked_member;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + unsigned int fl_pid;
1: + int fl_link_cpu;
1: + wait_queue_head_t fl_wait;
1: + struct file___2 *fl_file;
1: + loff_t fl_start;
1: + loff_t fl_end;
1: + struct fasync_struct___2 *fl_fasync;
1: + long unsigned int fl_break_time;
1: + long unsigned int fl_downgrade_time;
1: + const struct file_lock_operations___2 *fl_ops;
1: + const struct lock_manager_operations___2 *fl_lmops;
1: + union {
1: + struct nfs_lock_info nfs_fl;
1: + struct nfs4_lock_info nfs4_fl;
1: + struct {
1: + struct list_head link;
1: + int state;
1: + unsigned int debug_id;
1: + } afs;
1: + } fl_u;
1: };
1:
1: struct lock_manager_operations___2 {
1: - fl_owner_t (*lm_get_owner)(fl_owner_t);
1: - void (*lm_put_owner)(fl_owner_t);
1: - void (*lm_notify)(struct file_lock___2 *);
1: - int (*lm_grant)(struct file_lock___2 *, int);
1: - bool (*lm_break)(struct file_lock___2 *);
1: - int (*lm_change)(struct file_lock___2 *, int, struct list_head *);
1: - void (*lm_setup)(struct file_lock___2 *, void **);
1: + fl_owner_t (*lm_get_owner)(fl_owner_t);
1: + void (*lm_put_owner)(fl_owner_t);
1: + void (*lm_notify)(struct file_lock___2 *);
1: + int (*lm_grant)(struct file_lock___2 *, int);
1: + bool (*lm_break)(struct file_lock___2 *);
1: + int (*lm_change)(struct file_lock___2 *, int, struct list_head *);
1: + void (*lm_setup)(struct file_lock___2 *, void **);
1: };
1:
1: struct fasync_struct___2 {
1: - rwlock_t fa_lock;
1: - int magic;
1: - int fa_fd;
1: - struct fasync_struct___2 *fa_next;
1: - struct file___2 *fa_file;
1: - struct callback_head fa_rcu;
1: + rwlock_t fa_lock;
1: + int magic;
1: + int fa_fd;
1: + struct fasync_struct___2 *fa_next;
1: + struct file___2 *fa_file;
1: + struct callback_head fa_rcu;
1: };
1:
1: struct file_system_type___2 {
1: - const char *name;
1: - int fs_flags;
1: - int (*init_fs_context)(struct fs_context *);
1: - const struct fs_parameter_description *parameters;
1: - struct dentry___2 * (*mount)(struct file_system_type___2 *, int, const char *, void *);
1: - void (*kill_sb)(struct super_block___2 *);
1: - struct module___2 *owner;
1: - struct file_system_type___2 *next;
1: - struct hlist_head fs_supers;
1: - struct lock_class_key s_lock_key;
1: - struct lock_class_key s_umount_key;
1: - struct lock_class_key s_vfs_rename_key;
1: - struct lock_class_key s_writers_key[3];
1: - struct lock_class_key i_lock_key;
1: - struct lock_class_key i_mutex_key;
1: - struct lock_class_key i_mutex_dir_key;
1: + const char *name;
1: + int fs_flags;
1: + int (*init_fs_context)(struct fs_context *);
1: + const struct fs_parameter_description *parameters;
1: + struct dentry___2 *(*mount)(struct file_system_type___2 *, int, const char *,
1: + void *);
1: + void (*kill_sb)(struct super_block___2 *);
1: + struct module___2 *owner;
1: + struct file_system_type___2 *next;
1: + struct hlist_head fs_supers;
1: + struct lock_class_key s_lock_key;
1: + struct lock_class_key s_umount_key;
1: + struct lock_class_key s_vfs_rename_key;
1: + struct lock_class_key s_writers_key[3];
1: + struct lock_class_key i_lock_key;
1: + struct lock_class_key i_mutex_key;
1: + struct lock_class_key i_mutex_dir_key;
1: };
1:
1: struct super_operations___2 {
1: - struct inode___2 * (*alloc_inode)(struct super_block___2 *);
1: - void (*destroy_inode)(struct inode___2 *);
1: - void (*free_inode)(struct inode___2 *);
1: - void (*dirty_inode)(struct inode___2 *, int);
1: - int (*write_inode)(struct inode___2 *, struct writeback_control *);
1: - int (*drop_inode)(struct inode___2 *);
1: - void (*evict_inode)(struct inode___2 *);
1: - void (*put_super)(struct super_block___2 *);
1: - int (*sync_fs)(struct super_block___2 *, int);
1: - int (*freeze_super)(struct super_block___2 *);
1: - int (*freeze_fs)(struct super_block___2 *);
1: - int (*thaw_super)(struct super_block___2 *);
1: - int (*unfreeze_fs)(struct super_block___2 *);
1: - int (*statfs)(struct dentry___2 *, struct kstatfs *);
1: - int (*remount_fs)(struct super_block___2 *, int *, char *);
1: - void (*umount_begin)(struct super_block___2 *);
1: - int (*show_options)(struct seq_file___2 *, struct dentry___2 *);
1: - int (*show_devname)(struct seq_file___2 *, struct dentry___2 *);
1: - int (*show_path)(struct seq_file___2 *, struct dentry___2 *);
1: - int (*show_stats)(struct seq_file___2 *, struct dentry___2 *);
1: - ssize_t (*quota_read)(struct super_block___2 *, int, char *, size_t, loff_t);
1: - ssize_t (*quota_write)(struct super_block___2 *, int, const char *, size_t, loff_t);
1: - struct dquot___2 ** (*get_dquots)(struct inode___2 *);
1: - int (*bdev_try_to_free_page)(struct super_block___2 *, struct page___2 *, gfp_t);
1: - long int (*nr_cached_objects)(struct super_block___2 *, struct shrink_control *);
1: - long int (*free_cached_objects)(struct super_block___2 *, struct shrink_control *);
1: -};
1: -
1: -typedef void (*poll_queue_proc___2)(struct file___2 *, wait_queue_head_t *, struct poll_table_struct___2 *);
1: + struct inode___2 *(*alloc_inode)(struct super_block___2 *);
1: + void (*destroy_inode)(struct inode___2 *);
1: + void (*free_inode)(struct inode___2 *);
1: + void (*dirty_inode)(struct inode___2 *, int);
1: + int (*write_inode)(struct inode___2 *, struct writeback_control *);
1: + int (*drop_inode)(struct inode___2 *);
1: + void (*evict_inode)(struct inode___2 *);
1: + void (*put_super)(struct super_block___2 *);
1: + int (*sync_fs)(struct super_block___2 *, int);
1: + int (*freeze_super)(struct super_block___2 *);
1: + int (*freeze_fs)(struct super_block___2 *);
1: + int (*thaw_super)(struct super_block___2 *);
1: + int (*unfreeze_fs)(struct super_block___2 *);
1: + int (*statfs)(struct dentry___2 *, struct kstatfs *);
1: + int (*remount_fs)(struct super_block___2 *, int *, char *);
1: + void (*umount_begin)(struct super_block___2 *);
1: + int (*show_options)(struct seq_file___2 *, struct dentry___2 *);
1: + int (*show_devname)(struct seq_file___2 *, struct dentry___2 *);
1: + int (*show_path)(struct seq_file___2 *, struct dentry___2 *);
1: + int (*show_stats)(struct seq_file___2 *, struct dentry___2 *);
1: + ssize_t (*quota_read)(struct super_block___2 *, int, char *, size_t, loff_t);
1: + ssize_t (*quota_write)(struct super_block___2 *, int, const char *, size_t,
1: + loff_t);
1: + struct dquot___2 **(*get_dquots)(struct inode___2 *);
1: + int (*bdev_try_to_free_page)(struct super_block___2 *, struct page___2 *,
1: + gfp_t);
1: + long int (*nr_cached_objects)(struct super_block___2 *,
1: + struct shrink_control *);
1: + long int (*free_cached_objects)(struct super_block___2 *,
1: + struct shrink_control *);
1: +};
1: +
1: +typedef void (*poll_queue_proc___2)(struct file___2 *, wait_queue_head_t *,
1: + struct poll_table_struct___2 *);
1:
1: struct poll_table_struct___2 {
1: - poll_queue_proc___2 _qproc;
1: - __poll_t _key;
1: + poll_queue_proc___2 _qproc;
1: + __poll_t _key;
1: };
1:
1: struct seq_operations___2;
1:
1: struct seq_file___2 {
1: - char *buf;
1: - size_t size;
1: - size_t from;
1: - size_t count;
1: - size_t pad_until;
1: - loff_t index;
1: - loff_t read_pos;
1: - u64 version;
1: - struct mutex lock;
1: - const struct seq_operations___2 *op;
1: - int poll_event;
1: - const struct file___2 *file;
1: - void *private;
1: + char *buf;
1: + size_t size;
1: + size_t from;
1: + size_t count;
1: + size_t pad_until;
1: + loff_t index;
1: + loff_t read_pos;
1: + u64 version;
1: + struct mutex lock;
1: + const struct seq_operations___2 *op;
1: + int poll_event;
1: + const struct file___2 *file;
1: + void *private;
1: };
1:
1: struct dev_pagemap_ops___2 {
1: - void (*page_free)(struct page___2 *);
1: - void (*kill)(struct dev_pagemap___2 *);
1: - void (*cleanup)(struct dev_pagemap___2 *);
1: - vm_fault_t (*migrate_to_ram)(struct vm_fault___2 *);
1: + void (*page_free)(struct page___2 *);
1: + void (*kill)(struct dev_pagemap___2 *);
1: + void (*cleanup)(struct dev_pagemap___2 *);
1: + vm_fault_t (*migrate_to_ram)(struct vm_fault___2 *);
1: };
1:
1: typedef void compound_page_dtor___2(struct page___2 *);
1: @@ -33087,325 +33315,351 @@ typedef void compound_page_dtor___2(struct page___2 *);
1: struct kernfs_root___2;
1:
1: struct kernfs_elem_dir___2 {
1: - long unsigned int subdirs;
1: - struct rb_root children;
1: - struct kernfs_root___2 *root;
1: + long unsigned int subdirs;
1: + struct rb_root children;
1: + struct kernfs_root___2 *root;
1: };
1:
1: struct kernfs_syscall_ops___2;
1:
1: struct kernfs_root___2 {
1: - struct kernfs_node___2 *kn;
1: - unsigned int flags;
1: - struct idr ino_idr;
1: - u32 last_id_lowbits;
1: - u32 id_highbits;
1: - struct kernfs_syscall_ops___2 *syscall_ops;
1: - struct list_head supers;
1: - wait_queue_head_t deactivate_waitq;
1: + struct kernfs_node___2 *kn;
1: + unsigned int flags;
1: + struct idr ino_idr;
1: + u32 last_id_lowbits;
1: + u32 id_highbits;
1: + struct kernfs_syscall_ops___2 *syscall_ops;
1: + struct list_head supers;
1: + wait_queue_head_t deactivate_waitq;
1: };
1:
1: struct kernfs_elem_symlink___2 {
1: - struct kernfs_node___2 *target_kn;
1: + struct kernfs_node___2 *target_kn;
1: };
1:
1: struct kernfs_ops___2;
1:
1: struct kernfs_elem_attr___2 {
1: - const struct kernfs_ops___2 *ops;
1: - struct kernfs_open_node *open;
1: - loff_t size;
1: - struct kernfs_node___2 *notify_next;
1: + const struct kernfs_ops___2 *ops;
1: + struct kernfs_open_node *open;
1: + loff_t size;
1: + struct kernfs_node___2 *notify_next;
1: };
1:
1: struct kernfs_node___2 {
1: - atomic_t count;
1: - atomic_t active;
1: - struct kernfs_node___2 *parent;
1: - const char *name;
1: - struct rb_node rb;
1: - const void *ns;
1: - unsigned int hash;
1: - union {
1: - struct kernfs_elem_dir___2 dir;
1: - struct kernfs_elem_symlink___2 symlink;
1: - struct kernfs_elem_attr___2 attr;
1: - };
1: - void *priv;
1: - u64 id;
1: - short unsigned int flags;
1: - umode_t mode;
1: - struct kernfs_iattrs *iattr;
1: + atomic_t count;
1: + atomic_t active;
1: + struct kernfs_node___2 *parent;
1: + const char *name;
1: + struct rb_node rb;
1: + const void *ns;
1: + unsigned int hash;
1: + union {
1: + struct kernfs_elem_dir___2 dir;
1: + struct kernfs_elem_symlink___2 symlink;
1: + struct kernfs_elem_attr___2 attr;
1: + };
1: + void *priv;
1: + u64 id;
1: + short unsigned int flags;
1: + umode_t mode;
1: + struct kernfs_iattrs *iattr;
1: };
1:
1: struct kernfs_open_file___2;
1:
1: struct kernfs_ops___2 {
1: - int (*open)(struct kernfs_open_file___2 *);
1: - void (*release)(struct kernfs_open_file___2 *);
1: - int (*seq_show)(struct seq_file___2 *, void *);
1: - void * (*seq_start)(struct seq_file___2 *, loff_t *);
1: - void * (*seq_next)(struct seq_file___2 *, void *, loff_t *);
1: - void (*seq_stop)(struct seq_file___2 *, void *);
1: - ssize_t (*read)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: - size_t atomic_write_len;
1: - bool prealloc;
1: - ssize_t (*write)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: - __poll_t (*poll)(struct kernfs_open_file___2 *, struct poll_table_struct___2 *);
1: - int (*mmap)(struct kernfs_open_file___2 *, struct vm_area_struct___2 *);
1: + int (*open)(struct kernfs_open_file___2 *);
1: + void (*release)(struct kernfs_open_file___2 *);
1: + int (*seq_show)(struct seq_file___2 *, void *);
1: + void *(*seq_start)(struct seq_file___2 *, loff_t *);
1: + void *(*seq_next)(struct seq_file___2 *, void *, loff_t *);
1: + void (*seq_stop)(struct seq_file___2 *, void *);
1: + ssize_t (*read)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: + size_t atomic_write_len;
1: + bool prealloc;
1: + ssize_t (*write)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: + __poll_t (*poll)(struct kernfs_open_file___2 *,
1: + struct poll_table_struct___2 *);
1: + int (*mmap)(struct kernfs_open_file___2 *, struct vm_area_struct___2 *);
1: };
1:
1: struct kernfs_syscall_ops___2 {
1: - int (*show_options)(struct seq_file___2 *, struct kernfs_root___2 *);
1: - int (*mkdir)(struct kernfs_node___2 *, const char *, umode_t);
1: - int (*rmdir)(struct kernfs_node___2 *);
1: - int (*rename)(struct kernfs_node___2 *, struct kernfs_node___2 *, const char *);
1: - int (*show_path)(struct seq_file___2 *, struct kernfs_node___2 *, struct kernfs_root___2 *);
1: + int (*show_options)(struct seq_file___2 *, struct kernfs_root___2 *);
1: + int (*mkdir)(struct kernfs_node___2 *, const char *, umode_t);
1: + int (*rmdir)(struct kernfs_node___2 *);
1: + int (*rename)(struct kernfs_node___2 *, struct kernfs_node___2 *,
1: + const char *);
1: + int (*show_path)(struct seq_file___2 *, struct kernfs_node___2 *,
1: + struct kernfs_root___2 *);
1: };
1:
1: struct kernfs_open_file___2 {
1: - struct kernfs_node___2 *kn;
1: - struct file___2 *file;
1: - struct seq_file___2 *seq_file;
1: - void *priv;
1: - struct mutex mutex;
1: - struct mutex prealloc_mutex;
1: - int event;
1: - struct list_head list;
1: - char *prealloc_buf;
1: - size_t atomic_write_len;
1: - bool mmapped: 1;
1: - bool released: 1;
1: - const struct vm_operations_struct___2 *vm_ops;
1: + struct kernfs_node___2 *kn;
1: + struct file___2 *file;
1: + struct seq_file___2 *seq_file;
1: + void *priv;
1: + struct mutex mutex;
1: + struct mutex prealloc_mutex;
1: + int event;
1: + struct list_head list;
1: + char *prealloc_buf;
1: + size_t atomic_write_len;
1: + bool mmapped : 1;
1: + bool released : 1;
1: + const struct vm_operations_struct___2 *vm_ops;
1: };
1:
1: struct bin_attribute___2;
1:
1: struct attribute_group___2 {
1: - const char *name;
1: - umode_t (*is_visible)(struct kobject___2 *, struct attribute *, int);
1: - umode_t (*is_bin_visible)(struct kobject___2 *, struct bin_attribute___2 *, int);
1: - struct attribute **attrs;
1: - struct bin_attribute___2 **bin_attrs;
1: + const char *name;
1: + umode_t (*is_visible)(struct kobject___2 *, struct attribute *, int);
1: + umode_t (*is_bin_visible)(struct kobject___2 *, struct bin_attribute___2 *,
1: + int);
1: + struct attribute **attrs;
1: + struct bin_attribute___2 **bin_attrs;
1: };
1:
1: struct bin_attribute___2 {
1: - struct attribute attr;
1: - size_t size;
1: - void *private;
1: - ssize_t (*read)(struct file___2 *, struct kobject___2 *, struct bin_attribute___2 *, char *, loff_t, size_t);
1: - ssize_t (*write)(struct file___2 *, struct kobject___2 *, struct bin_attribute___2 *, char *, loff_t, size_t);
1: - int (*mmap)(struct file___2 *, struct kobject___2 *, struct bin_attribute___2 *, struct vm_area_struct___2 *);
1: + struct attribute attr;
1: + size_t size;
1: + void *private;
1: + ssize_t (*read)(struct file___2 *, struct kobject___2 *,
1: + struct bin_attribute___2 *, char *, loff_t, size_t);
1: + ssize_t (*write)(struct file___2 *, struct kobject___2 *,
1: + struct bin_attribute___2 *, char *, loff_t, size_t);
1: + int (*mmap)(struct file___2 *, struct kobject___2 *,
1: + struct bin_attribute___2 *, struct vm_area_struct___2 *);
1: };
1:
1: struct sysfs_ops___2 {
1: - ssize_t (*show)(struct kobject___2 *, struct attribute *, char *);
1: - ssize_t (*store)(struct kobject___2 *, struct attribute *, const char *, size_t);
1: + ssize_t (*show)(struct kobject___2 *, struct attribute *, char *);
1: + ssize_t (*store)(struct kobject___2 *, struct attribute *, const char *,
1: + size_t);
1: };
1:
1: struct kset_uevent_ops___2;
1:
1: struct kset___2 {
1: - struct list_head list;
1: - spinlock_t list_lock;
1: - struct kobject___2 kobj;
1: - const struct kset_uevent_ops___2 *uevent_ops;
1: + struct list_head list;
1: + spinlock_t list_lock;
1: + struct kobject___2 kobj;
1: + const struct kset_uevent_ops___2 *uevent_ops;
1: };
1:
1: struct kobj_type___2 {
1: - void (*release)(struct kobject___2 *);
1: - const struct sysfs_ops___2 *sysfs_ops;
1: - struct attribute **default_attrs;
1: - const struct attribute_group___2 **default_groups;
1: - const struct kobj_ns_type_operations * (*child_ns_type)(struct kobject___2 *);
1: - const void * (*namespace)(struct kobject___2 *);
1: - void (*get_ownership)(struct kobject___2 *, kuid_t *, kgid_t *);
1: + void (*release)(struct kobject___2 *);
1: + const struct sysfs_ops___2 *sysfs_ops;
1: + struct attribute **default_attrs;
1: + const struct attribute_group___2 **default_groups;
1: + const struct kobj_ns_type_operations *(*child_ns_type)(struct kobject___2 *);
1: + const void *(*namespace)(struct kobject___2 *);
1: + void (*get_ownership)(struct kobject___2 *, kuid_t *, kgid_t *);
1: };
1:
1: struct kset_uevent_ops___2 {
1: - int (* const filter)(struct kset___2 *, struct kobject___2 *);
1: - const char * (* const name)(struct kset___2 *, struct kobject___2 *);
1: - int (* const uevent)(struct kset___2 *, struct kobject___2 *, struct kobj_uevent_env *);
1: + int (*const filter)(struct kset___2 *, struct kobject___2 *);
1: + const char *(*const name)(struct kset___2 *, struct kobject___2 *);
1: + int (*const uevent)(struct kset___2 *, struct kobject___2 *,
1: + struct kobj_uevent_env *);
1: };
1:
1: struct dev_pm_ops___2 {
1: - int (*prepare)(struct device___2 *);
1: - void (*complete)(struct device___2 *);
1: - int (*suspend)(struct device___2 *);
1: - int (*resume)(struct device___2 *);
1: - int (*freeze)(struct device___2 *);
1: - int (*thaw)(struct device___2 *);
1: - int (*poweroff)(struct device___2 *);
1: - int (*restore)(struct device___2 *);
1: - int (*suspend_late)(struct device___2 *);
1: - int (*resume_early)(struct device___2 *);
1: - int (*freeze_late)(struct device___2 *);
1: - int (*thaw_early)(struct device___2 *);
1: - int (*poweroff_late)(struct device___2 *);
1: - int (*restore_early)(struct device___2 *);
1: - int (*suspend_noirq)(struct device___2 *);
1: - int (*resume_noirq)(struct device___2 *);
1: - int (*freeze_noirq)(struct device___2 *);
1: - int (*thaw_noirq)(struct device___2 *);
1: - int (*poweroff_noirq)(struct device___2 *);
1: - int (*restore_noirq)(struct device___2 *);
1: - int (*runtime_suspend)(struct device___2 *);
1: - int (*runtime_resume)(struct device___2 *);
1: - int (*runtime_idle)(struct device___2 *);
1: + int (*prepare)(struct device___2 *);
1: + void (*complete)(struct device___2 *);
1: + int (*suspend)(struct device___2 *);
1: + int (*resume)(struct device___2 *);
1: + int (*freeze)(struct device___2 *);
1: + int (*thaw)(struct device___2 *);
1: + int (*poweroff)(struct device___2 *);
1: + int (*restore)(struct device___2 *);
1: + int (*suspend_late)(struct device___2 *);
1: + int (*resume_early)(struct device___2 *);
1: + int (*freeze_late)(struct device___2 *);
1: + int (*thaw_early)(struct device___2 *);
1: + int (*poweroff_late)(struct device___2 *);
1: + int (*restore_early)(struct device___2 *);
1: + int (*suspend_noirq)(struct device___2 *);
1: + int (*resume_noirq)(struct device___2 *);
1: + int (*freeze_noirq)(struct device___2 *);
1: + int (*thaw_noirq)(struct device___2 *);
1: + int (*poweroff_noirq)(struct device___2 *);
1: + int (*restore_noirq)(struct device___2 *);
1: + int (*runtime_suspend)(struct device___2 *);
1: + int (*runtime_resume)(struct device___2 *);
1: + int (*runtime_idle)(struct device___2 *);
1: };
1:
1: struct wakeup_source___2 {
1: - const char *name;
1: - int id;
1: - struct list_head entry;
1: - spinlock_t lock;
1: - struct wake_irq *wakeirq;
1: - struct timer_list timer;
1: - long unsigned int timer_expires;
1: - ktime_t total_time;
1: - ktime_t max_time;
1: - ktime_t last_time;
1: - ktime_t start_prevent_time;
1: - ktime_t prevent_sleep_time;
1: - long unsigned int event_count;
1: - long unsigned int active_count;
1: - long unsigned int relax_count;
1: - long unsigned int expire_count;
1: - long unsigned int wakeup_count;
1: - struct device___2 *dev;
1: - bool active: 1;
1: - bool autosleep_enabled: 1;
1: + const char *name;
1: + int id;
1: + struct list_head entry;
1: + spinlock_t lock;
1: + struct wake_irq *wakeirq;
1: + struct timer_list timer;
1: + long unsigned int timer_expires;
1: + ktime_t total_time;
1: + ktime_t max_time;
1: + ktime_t last_time;
1: + ktime_t start_prevent_time;
1: + ktime_t prevent_sleep_time;
1: + long unsigned int event_count;
1: + long unsigned int active_count;
1: + long unsigned int relax_count;
1: + long unsigned int expire_count;
1: + long unsigned int wakeup_count;
1: + struct device___2 *dev;
1: + bool active : 1;
1: + bool autosleep_enabled : 1;
1: };
1:
1: struct dev_pm_domain___2 {
1: - struct dev_pm_ops___2 ops;
1: - int (*start)(struct device___2 *);
1: - void (*detach)(struct device___2 *, bool);
1: - int (*activate)(struct device___2 *);
1: - void (*sync)(struct device___2 *);
1: - void (*dismiss)(struct device___2 *);
1: + struct dev_pm_ops___2 ops;
1: + int (*start)(struct device___2 *);
1: + void (*detach)(struct device___2 *, bool);
1: + int (*activate)(struct device___2 *);
1: + void (*sync)(struct device___2 *);
1: + void (*dismiss)(struct device___2 *);
1: };
1:
1: struct bus_type___2 {
1: - const char *name;
1: - const char *dev_name;
1: - struct device___2 *dev_root;
1: - const struct attribute_group___2 **bus_groups;
1: - const struct attribute_group___2 **dev_groups;
1: - const struct attribute_group___2 **drv_groups;
1: - int (*match)(struct device___2 *, struct device_driver___2 *);
1: - int (*uevent)(struct device___2 *, struct kobj_uevent_env *);
1: - int (*probe)(struct device___2 *);
1: - void (*sync_state)(struct device___2 *);
1: - int (*remove)(struct device___2 *);
1: - void (*shutdown)(struct device___2 *);
1: - int (*online)(struct device___2 *);
1: - int (*offline)(struct device___2 *);
1: - int (*suspend)(struct device___2 *, pm_message_t);
1: - int (*resume)(struct device___2 *);
1: - int (*num_vf)(struct device___2 *);
1: - int (*dma_configure)(struct device___2 *);
1: - const struct dev_pm_ops___2 *pm;
1: - const struct iommu_ops *iommu_ops;
1: - struct subsys_private *p;
1: - struct lock_class_key lock_key;
1: - bool need_parent_lock;
1: + const char *name;
1: + const char *dev_name;
1: + struct device___2 *dev_root;
1: + const struct attribute_group___2 **bus_groups;
1: + const struct attribute_group___2 **dev_groups;
1: + const struct attribute_group___2 **drv_groups;
1: + int (*match)(struct device___2 *, struct device_driver___2 *);
1: + int (*uevent)(struct device___2 *, struct kobj_uevent_env *);
1: + int (*probe)(struct device___2 *);
1: + void (*sync_state)(struct device___2 *);
1: + int (*remove)(struct device___2 *);
1: + void (*shutdown)(struct device___2 *);
1: + int (*online)(struct device___2 *);
1: + int (*offline)(struct device___2 *);
1: + int (*suspend)(struct device___2 *, pm_message_t);
1: + int (*resume)(struct device___2 *);
1: + int (*num_vf)(struct device___2 *);
1: + int (*dma_configure)(struct device___2 *);
1: + const struct dev_pm_ops___2 *pm;
1: + const struct iommu_ops *iommu_ops;
1: + struct subsys_private *p;
1: + struct lock_class_key lock_key;
1: + bool need_parent_lock;
1: };
1:
1: struct device_driver___2 {
1: - const char *name;
1: - struct bus_type___2 *bus;
1: - struct module___2 *owner;
1: - const char *mod_name;
1: - bool suppress_bind_attrs;
1: - enum probe_type probe_type;
1: - const struct of_device_id *of_match_table;
1: - const struct acpi_device_id *acpi_match_table;
1: - int (*probe)(struct device___2 *);
1: - void (*sync_state)(struct device___2 *);
1: - int (*remove)(struct device___2 *);
1: - void (*shutdown)(struct device___2 *);
1: - int (*suspend)(struct device___2 *, pm_message_t);
1: - int (*resume)(struct device___2 *);
1: - const struct attribute_group___2 **groups;
1: - const struct attribute_group___2 **dev_groups;
1: - const struct dev_pm_ops___2 *pm;
1: - void (*coredump)(struct device___2 *);
1: - struct driver_private *p;
1: + const char *name;
1: + struct bus_type___2 *bus;
1: + struct module___2 *owner;
1: + const char *mod_name;
1: + bool suppress_bind_attrs;
1: + enum probe_type probe_type;
1: + const struct of_device_id *of_match_table;
1: + const struct acpi_device_id *acpi_match_table;
1: + int (*probe)(struct device___2 *);
1: + void (*sync_state)(struct device___2 *);
1: + int (*remove)(struct device___2 *);
1: + void (*shutdown)(struct device___2 *);
1: + int (*suspend)(struct device___2 *, pm_message_t);
1: + int (*resume)(struct device___2 *);
1: + const struct attribute_group___2 **groups;
1: + const struct attribute_group___2 **dev_groups;
1: + const struct dev_pm_ops___2 *pm;
1: + void (*coredump)(struct device___2 *);
1: + struct driver_private *p;
1: };
1:
1: struct device_type___2 {
1: - const char *name;
1: - const struct attribute_group___2 **groups;
1: - int (*uevent)(struct device___2 *, struct kobj_uevent_env *);
1: - char * (*devnode)(struct device___2 *, umode_t *, kuid_t *, kgid_t *);
1: - void (*release)(struct device___2 *);
1: - const struct dev_pm_ops___2 *pm;
1: + const char *name;
1: + const struct attribute_group___2 **groups;
1: + int (*uevent)(struct device___2 *, struct kobj_uevent_env *);
1: + char *(*devnode)(struct device___2 *, umode_t *, kuid_t *, kgid_t *);
1: + void (*release)(struct device___2 *);
1: + const struct dev_pm_ops___2 *pm;
1: };
1:
1: struct class___2 {
1: - const char *name;
1: - struct module___2 *owner;
1: - const struct attribute_group___2 **class_groups;
1: - const struct attribute_group___2 **dev_groups;
1: - struct kobject___2 *dev_kobj;
1: - int (*dev_uevent)(struct device___2 *, struct kobj_uevent_env *);
1: - char * (*devnode)(struct device___2 *, umode_t *);
1: - void (*class_release)(struct class___2 *);
1: - void (*dev_release)(struct device___2 *);
1: - int (*shutdown_pre)(struct device___2 *);
1: - const struct kobj_ns_type_operations *ns_type;
1: - const void * (*namespace)(struct device___2 *);
1: - void (*get_ownership)(struct device___2 *, kuid_t *, kgid_t *);
1: - const struct dev_pm_ops___2 *pm;
1: - struct subsys_private *p;
1: + const char *name;
1: + struct module___2 *owner;
1: + const struct attribute_group___2 **class_groups;
1: + const struct attribute_group___2 **dev_groups;
1: + struct kobject___2 *dev_kobj;
1: + int (*dev_uevent)(struct device___2 *, struct kobj_uevent_env *);
1: + char *(*devnode)(struct device___2 *, umode_t *);
1: + void (*class_release)(struct class___2 *);
1: + void (*dev_release)(struct device___2 *);
1: + int (*shutdown_pre)(struct device___2 *);
1: + const struct kobj_ns_type_operations *ns_type;
1: + const void *(*namespace)(struct device___2 *);
1: + void (*get_ownership)(struct device___2 *, kuid_t *, kgid_t *);
1: + const struct dev_pm_ops___2 *pm;
1: + struct subsys_private *p;
1: };
1:
1: struct device_attribute___2 {
1: - struct attribute attr;
1: - ssize_t (*show)(struct device___2 *, struct device_attribute___2 *, char *);
1: - ssize_t (*store)(struct device___2 *, struct device_attribute___2 *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct device___2 *, struct device_attribute___2 *, char *);
1: + ssize_t (*store)(struct device___2 *, struct device_attribute___2 *,
1: + const char *, size_t);
1: };
1:
1: struct dma_map_ops___2 {
1: - void * (*alloc)(struct device___2 *, size_t, dma_addr_t *, gfp_t, long unsigned int);
1: - void (*free)(struct device___2 *, size_t, void *, dma_addr_t, long unsigned int);
1: - int (*mmap)(struct device___2 *, struct vm_area_struct___2 *, void *, dma_addr_t, size_t, long unsigned int);
1: - int (*get_sgtable)(struct device___2 *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int);
1: - dma_addr_t (*map_page)(struct device___2 *, struct page___2 *, long unsigned int, size_t, enum dma_data_direction, long unsigned int);
1: - void (*unmap_page)(struct device___2 *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: - int (*map_sg)(struct device___2 *, struct scatterlist *, int, enum dma_data_direction, long unsigned int);
1: - void (*unmap_sg)(struct device___2 *, struct scatterlist *, int, enum dma_data_direction, long unsigned int);
1: - dma_addr_t (*map_resource)(struct device___2 *, phys_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: - void (*unmap_resource)(struct device___2 *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int);
1: - void (*sync_single_for_cpu)(struct device___2 *, dma_addr_t, size_t, enum dma_data_direction);
1: - void (*sync_single_for_device)(struct device___2 *, dma_addr_t, size_t, enum dma_data_direction);
1: - void (*sync_sg_for_cpu)(struct device___2 *, struct scatterlist *, int, enum dma_data_direction);
1: - void (*sync_sg_for_device)(struct device___2 *, struct scatterlist *, int, enum dma_data_direction);
1: - void (*cache_sync)(struct device___2 *, void *, size_t, enum dma_data_direction);
1: - int (*dma_supported)(struct device___2 *, u64);
1: - u64 (*get_required_mask)(struct device___2 *);
1: - size_t (*max_mapping_size)(struct device___2 *);
1: - long unsigned int (*get_merge_boundary)(struct device___2 *);
1: + void *(*alloc)(struct device___2 *, size_t, dma_addr_t *, gfp_t,
1: + long unsigned int);
1: + void (*free)(struct device___2 *, size_t, void *, dma_addr_t,
1: + long unsigned int);
1: + int (*mmap)(struct device___2 *, struct vm_area_struct___2 *, void *,
1: + dma_addr_t, size_t, long unsigned int);
1: + int (*get_sgtable)(struct device___2 *, struct sg_table *, void *, dma_addr_t,
1: + size_t, long unsigned int);
1: + dma_addr_t (*map_page)(struct device___2 *, struct page___2 *,
1: + long unsigned int, size_t, enum dma_data_direction,
1: + long unsigned int);
1: + void (*unmap_page)(struct device___2 *, dma_addr_t, size_t,
1: + enum dma_data_direction, long unsigned int);
1: + int (*map_sg)(struct device___2 *, struct scatterlist *, int,
1: + enum dma_data_direction, long unsigned int);
1: + void (*unmap_sg)(struct device___2 *, struct scatterlist *, int,
1: + enum dma_data_direction, long unsigned int);
1: + dma_addr_t (*map_resource)(struct device___2 *, phys_addr_t, size_t,
1: + enum dma_data_direction, long unsigned int);
1: + void (*unmap_resource)(struct device___2 *, dma_addr_t, size_t,
1: + enum dma_data_direction, long unsigned int);
1: + void (*sync_single_for_cpu)(struct device___2 *, dma_addr_t, size_t,
1: + enum dma_data_direction);
1: + void (*sync_single_for_device)(struct device___2 *, dma_addr_t, size_t,
1: + enum dma_data_direction);
1: + void (*sync_sg_for_cpu)(struct device___2 *, struct scatterlist *, int,
1: + enum dma_data_direction);
1: + void (*sync_sg_for_device)(struct device___2 *, struct scatterlist *, int,
1: + enum dma_data_direction);
1: + void (*cache_sync)(struct device___2 *, void *, size_t,
1: + enum dma_data_direction);
1: + int (*dma_supported)(struct device___2 *, u64);
1: + u64 (*get_required_mask)(struct device___2 *);
1: + size_t (*max_mapping_size)(struct device___2 *);
1: + long unsigned int (*get_merge_boundary)(struct device___2 *);
1: };
1:
1: struct device_node___2 {
1: - const char *name;
1: - phandle phandle;
1: - const char *full_name;
1: - struct fwnode_handle___2 fwnode;
1: - struct property *properties;
1: - struct property *deadprops;
1: - struct device_node___2 *parent;
1: - struct device_node___2 *child;
1: - struct device_node___2 *sibling;
1: - long unsigned int _flags;
1: - void *data;
1: + const char *name;
1: + phandle phandle;
1: + const char *full_name;
1: + struct fwnode_handle___2 fwnode;
1: + struct property *properties;
1: + struct property *deadprops;
1: + struct device_node___2 *parent;
1: + struct device_node___2 *child;
1: + struct device_node___2 *sibling;
1: + long unsigned int _flags;
1: + void *data;
1: };
1:
1: struct fd___2 {
1: - struct file___2 *file;
1: - unsigned int flags;
1: + struct file___2 *file;
1: + unsigned int flags;
1: };
1:
1: typedef struct poll_table_struct___2 poll_table___2;
1: @@ -33413,137 +33667,137 @@ typedef struct poll_table_struct___2 poll_table___2;
1: struct fqdir___2;
1:
1: struct netns_ipv4___2 {
1: - struct ctl_table_header *forw_hdr;
1: - struct ctl_table_header *frags_hdr;
1: - struct ctl_table_header *ipv4_hdr;
1: - struct ctl_table_header *route_hdr;
1: - struct ctl_table_header *xfrm4_hdr;
1: - struct ipv4_devconf *devconf_all;
1: - struct ipv4_devconf *devconf_dflt;
1: - struct ip_ra_chain *ra_chain;
1: - struct mutex ra_mutex;
1: - struct fib_rules_ops *rules_ops;
1: - bool fib_has_custom_rules;
1: - unsigned int fib_rules_require_fldissect;
1: - struct fib_table *fib_main;
1: - struct fib_table *fib_default;
1: - bool fib_has_custom_local_routes;
1: - struct hlist_head *fib_table_hash;
1: - bool fib_offload_disabled;
1: - struct sock *fibnl;
1: - struct sock **icmp_sk;
1: - struct sock *mc_autojoin_sk;
1: - struct inet_peer_base *peers;
1: - struct sock **tcp_sk;
1: - struct fqdir___2 *fqdir;
1: - struct xt_table *iptable_filter;
1: - struct xt_table *iptable_mangle;
1: - struct xt_table *iptable_raw;
1: - struct xt_table *arptable_filter;
1: - struct xt_table *iptable_security;
1: - struct xt_table *nat_table;
1: - int sysctl_icmp_echo_ignore_all;
1: - int sysctl_icmp_echo_ignore_broadcasts;
1: - int sysctl_icmp_ignore_bogus_error_responses;
1: - int sysctl_icmp_ratelimit;
1: - int sysctl_icmp_ratemask;
1: - int sysctl_icmp_errors_use_inbound_ifaddr;
1: - struct local_ports ip_local_ports;
1: - int sysctl_tcp_ecn;
1: - int sysctl_tcp_ecn_fallback;
1: - int sysctl_ip_default_ttl;
1: - int sysctl_ip_no_pmtu_disc;
1: - int sysctl_ip_fwd_use_pmtu;
1: - int sysctl_ip_fwd_update_priority;
1: - int sysctl_ip_nonlocal_bind;
1: - int sysctl_ip_dynaddr;
1: - int sysctl_ip_early_demux;
1: - int sysctl_tcp_early_demux;
1: - int sysctl_udp_early_demux;
1: - int sysctl_fwmark_reflect;
1: - int sysctl_tcp_fwmark_accept;
1: - int sysctl_tcp_mtu_probing;
1: - int sysctl_tcp_mtu_probe_floor;
1: - int sysctl_tcp_base_mss;
1: - int sysctl_tcp_min_snd_mss;
1: - int sysctl_tcp_probe_threshold;
1: - u32 sysctl_tcp_probe_interval;
1: - int sysctl_tcp_keepalive_time;
1: - int sysctl_tcp_keepalive_probes;
1: - int sysctl_tcp_keepalive_intvl;
1: - int sysctl_tcp_syn_retries;
1: - int sysctl_tcp_synack_retries;
1: - int sysctl_tcp_syncookies;
1: - int sysctl_tcp_reordering;
1: - int sysctl_tcp_retries1;
1: - int sysctl_tcp_retries2;
1: - int sysctl_tcp_orphan_retries;
1: - int sysctl_tcp_fin_timeout;
1: - unsigned int sysctl_tcp_notsent_lowat;
1: - int sysctl_tcp_tw_reuse;
1: - int sysctl_tcp_sack;
1: - int sysctl_tcp_window_scaling;
1: - int sysctl_tcp_timestamps;
1: - int sysctl_tcp_early_retrans;
1: - int sysctl_tcp_recovery;
1: - int sysctl_tcp_thin_linear_timeouts;
1: - int sysctl_tcp_slow_start_after_idle;
1: - int sysctl_tcp_retrans_collapse;
1: - int sysctl_tcp_stdurg;
1: - int sysctl_tcp_rfc1337;
1: - int sysctl_tcp_abort_on_overflow;
1: - int sysctl_tcp_fack;
1: - int sysctl_tcp_max_reordering;
1: - int sysctl_tcp_dsack;
1: - int sysctl_tcp_app_win;
1: - int sysctl_tcp_adv_win_scale;
1: - int sysctl_tcp_frto;
1: - int sysctl_tcp_nometrics_save;
1: - int sysctl_tcp_moderate_rcvbuf;
1: - int sysctl_tcp_tso_win_divisor;
1: - int sysctl_tcp_workaround_signed_windows;
1: - int sysctl_tcp_limit_output_bytes;
1: - int sysctl_tcp_challenge_ack_limit;
1: - int sysctl_tcp_min_tso_segs;
1: - int sysctl_tcp_min_rtt_wlen;
1: - int sysctl_tcp_autocorking;
1: - int sysctl_tcp_invalid_ratelimit;
1: - int sysctl_tcp_pacing_ss_ratio;
1: - int sysctl_tcp_pacing_ca_ratio;
1: - int sysctl_tcp_wmem[3];
1: - int sysctl_tcp_rmem[3];
1: - int sysctl_tcp_comp_sack_nr;
1: - long unsigned int sysctl_tcp_comp_sack_delay_ns;
1: - struct inet_timewait_death_row tcp_death_row;
1: - int sysctl_max_syn_backlog;
1: - int sysctl_tcp_fastopen;
1: - const struct tcp_congestion_ops *tcp_congestion_control;
1: - struct tcp_fastopen_context *tcp_fastopen_ctx;
1: - spinlock_t tcp_fastopen_ctx_lock;
1: - unsigned int sysctl_tcp_fastopen_blackhole_timeout;
1: - atomic_t tfo_active_disable_times;
1: - long unsigned int tfo_active_disable_stamp;
1: - int sysctl_udp_wmem_min;
1: - int sysctl_udp_rmem_min;
1: - int sysctl_igmp_max_memberships;
1: - int sysctl_igmp_max_msf;
1: - int sysctl_igmp_llm_reports;
1: - int sysctl_igmp_qrv;
1: - struct ping_group_range ping_group_range;
1: - atomic_t dev_addr_genid;
1: - long unsigned int *sysctl_local_reserved_ports;
1: - int sysctl_ip_prot_sock;
1: - struct mr_table *mrt;
1: - int sysctl_fib_multipath_use_neigh;
1: - int sysctl_fib_multipath_hash_policy;
1: - struct fib_notifier_ops *notifier_ops;
1: - unsigned int fib_seq;
1: - struct fib_notifier_ops *ipmr_notifier_ops;
1: - unsigned int ipmr_seq;
1: - atomic_t rt_genid;
1: - siphash_key_t ip_id_key;
1: - long: 64;
1: - long: 64;
1: + struct ctl_table_header *forw_hdr;
1: + struct ctl_table_header *frags_hdr;
1: + struct ctl_table_header *ipv4_hdr;
1: + struct ctl_table_header *route_hdr;
1: + struct ctl_table_header *xfrm4_hdr;
1: + struct ipv4_devconf *devconf_all;
1: + struct ipv4_devconf *devconf_dflt;
1: + struct ip_ra_chain *ra_chain;
1: + struct mutex ra_mutex;
1: + struct fib_rules_ops *rules_ops;
1: + bool fib_has_custom_rules;
1: + unsigned int fib_rules_require_fldissect;
1: + struct fib_table *fib_main;
1: + struct fib_table *fib_default;
1: + bool fib_has_custom_local_routes;
1: + struct hlist_head *fib_table_hash;
1: + bool fib_offload_disabled;
1: + struct sock *fibnl;
1: + struct sock **icmp_sk;
1: + struct sock *mc_autojoin_sk;
1: + struct inet_peer_base *peers;
1: + struct sock **tcp_sk;
1: + struct fqdir___2 *fqdir;
1: + struct xt_table *iptable_filter;
1: + struct xt_table *iptable_mangle;
1: + struct xt_table *iptable_raw;
1: + struct xt_table *arptable_filter;
1: + struct xt_table *iptable_security;
1: + struct xt_table *nat_table;
1: + int sysctl_icmp_echo_ignore_all;
1: + int sysctl_icmp_echo_ignore_broadcasts;
1: + int sysctl_icmp_ignore_bogus_error_responses;
1: + int sysctl_icmp_ratelimit;
1: + int sysctl_icmp_ratemask;
1: + int sysctl_icmp_errors_use_inbound_ifaddr;
1: + struct local_ports ip_local_ports;
1: + int sysctl_tcp_ecn;
1: + int sysctl_tcp_ecn_fallback;
1: + int sysctl_ip_default_ttl;
1: + int sysctl_ip_no_pmtu_disc;
1: + int sysctl_ip_fwd_use_pmtu;
1: + int sysctl_ip_fwd_update_priority;
1: + int sysctl_ip_nonlocal_bind;
1: + int sysctl_ip_dynaddr;
1: + int sysctl_ip_early_demux;
1: + int sysctl_tcp_early_demux;
1: + int sysctl_udp_early_demux;
1: + int sysctl_fwmark_reflect;
1: + int sysctl_tcp_fwmark_accept;
1: + int sysctl_tcp_mtu_probing;
1: + int sysctl_tcp_mtu_probe_floor;
1: + int sysctl_tcp_base_mss;
1: + int sysctl_tcp_min_snd_mss;
1: + int sysctl_tcp_probe_threshold;
1: + u32 sysctl_tcp_probe_interval;
1: + int sysctl_tcp_keepalive_time;
1: + int sysctl_tcp_keepalive_probes;
1: + int sysctl_tcp_keepalive_intvl;
1: + int sysctl_tcp_syn_retries;
1: + int sysctl_tcp_synack_retries;
1: + int sysctl_tcp_syncookies;
1: + int sysctl_tcp_reordering;
1: + int sysctl_tcp_retries1;
1: + int sysctl_tcp_retries2;
1: + int sysctl_tcp_orphan_retries;
1: + int sysctl_tcp_fin_timeout;
1: + unsigned int sysctl_tcp_notsent_lowat;
1: + int sysctl_tcp_tw_reuse;
1: + int sysctl_tcp_sack;
1: + int sysctl_tcp_window_scaling;
1: + int sysctl_tcp_timestamps;
1: + int sysctl_tcp_early_retrans;
1: + int sysctl_tcp_recovery;
1: + int sysctl_tcp_thin_linear_timeouts;
1: + int sysctl_tcp_slow_start_after_idle;
1: + int sysctl_tcp_retrans_collapse;
1: + int sysctl_tcp_stdurg;
1: + int sysctl_tcp_rfc1337;
1: + int sysctl_tcp_abort_on_overflow;
1: + int sysctl_tcp_fack;
1: + int sysctl_tcp_max_reordering;
1: + int sysctl_tcp_dsack;
1: + int sysctl_tcp_app_win;
1: + int sysctl_tcp_adv_win_scale;
1: + int sysctl_tcp_frto;
1: + int sysctl_tcp_nometrics_save;
1: + int sysctl_tcp_moderate_rcvbuf;
1: + int sysctl_tcp_tso_win_divisor;
1: + int sysctl_tcp_workaround_signed_windows;
1: + int sysctl_tcp_limit_output_bytes;
1: + int sysctl_tcp_challenge_ack_limit;
1: + int sysctl_tcp_min_tso_segs;
1: + int sysctl_tcp_min_rtt_wlen;
1: + int sysctl_tcp_autocorking;
1: + int sysctl_tcp_invalid_ratelimit;
1: + int sysctl_tcp_pacing_ss_ratio;
1: + int sysctl_tcp_pacing_ca_ratio;
1: + int sysctl_tcp_wmem[3];
1: + int sysctl_tcp_rmem[3];
1: + int sysctl_tcp_comp_sack_nr;
1: + long unsigned int sysctl_tcp_comp_sack_delay_ns;
1: + struct inet_timewait_death_row tcp_death_row;
1: + int sysctl_max_syn_backlog;
1: + int sysctl_tcp_fastopen;
1: + const struct tcp_congestion_ops *tcp_congestion_control;
1: + struct tcp_fastopen_context *tcp_fastopen_ctx;
1: + spinlock_t tcp_fastopen_ctx_lock;
1: + unsigned int sysctl_tcp_fastopen_blackhole_timeout;
1: + atomic_t tfo_active_disable_times;
1: + long unsigned int tfo_active_disable_stamp;
1: + int sysctl_udp_wmem_min;
1: + int sysctl_udp_rmem_min;
1: + int sysctl_igmp_max_memberships;
1: + int sysctl_igmp_max_msf;
1: + int sysctl_igmp_llm_reports;
1: + int sysctl_igmp_qrv;
1: + struct ping_group_range ping_group_range;
1: + atomic_t dev_addr_genid;
1: + long unsigned int *sysctl_local_reserved_ports;
1: + int sysctl_ip_prot_sock;
1: + struct mr_table *mrt;
1: + int sysctl_fib_multipath_use_neigh;
1: + int sysctl_fib_multipath_hash_policy;
1: + struct fib_notifier_ops *notifier_ops;
1: + unsigned int fib_seq;
1: + struct fib_notifier_ops *ipmr_notifier_ops;
1: + unsigned int ipmr_seq;
1: + atomic_t rt_genid;
1: + siphash_key_t ip_id_key;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct net_device___2;
1: @@ -33551,318 +33805,322 @@ struct net_device___2;
1: struct sk_buff___2;
1:
1: struct dst_ops___2 {
1: - short unsigned int family;
1: - unsigned int gc_thresh;
1: - int (*gc)(struct dst_ops___2 *);
1: - struct dst_entry * (*check)(struct dst_entry *, __u32);
1: - unsigned int (*default_advmss)(const struct dst_entry *);
1: - unsigned int (*mtu)(const struct dst_entry *);
1: - u32 * (*cow_metrics)(struct dst_entry *, long unsigned int);
1: - void (*destroy)(struct dst_entry *);
1: - void (*ifdown)(struct dst_entry *, struct net_device___2 *, int);
1: - struct dst_entry * (*negative_advice)(struct dst_entry *);
1: - void (*link_failure)(struct sk_buff___2 *);
1: - void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff___2 *, u32, bool);
1: - void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff___2 *);
1: - int (*local_out)(struct net___2 *, struct sock *, struct sk_buff___2 *);
1: - struct neighbour * (*neigh_lookup)(const struct dst_entry *, struct sk_buff___2 *, const void *);
1: - void (*confirm_neigh)(const struct dst_entry *, const void *);
1: - struct kmem_cache *kmem_cachep;
1: - struct percpu_counter pcpuc_entries;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + short unsigned int family;
1: + unsigned int gc_thresh;
1: + int (*gc)(struct dst_ops___2 *);
1: + struct dst_entry *(*check)(struct dst_entry *, __u32);
1: + unsigned int (*default_advmss)(const struct dst_entry *);
1: + unsigned int (*mtu)(const struct dst_entry *);
1: + u32 *(*cow_metrics)(struct dst_entry *, long unsigned int);
1: + void (*destroy)(struct dst_entry *);
1: + void (*ifdown)(struct dst_entry *, struct net_device___2 *, int);
1: + struct dst_entry *(*negative_advice)(struct dst_entry *);
1: + void (*link_failure)(struct sk_buff___2 *);
1: + void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff___2 *,
1: + u32, bool);
1: + void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff___2 *);
1: + int (*local_out)(struct net___2 *, struct sock *, struct sk_buff___2 *);
1: + struct neighbour *(*neigh_lookup)(const struct dst_entry *,
1: + struct sk_buff___2 *, const void *);
1: + void (*confirm_neigh)(const struct dst_entry *, const void *);
1: + struct kmem_cache *kmem_cachep;
1: + struct percpu_counter pcpuc_entries;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct netns_ipv6___2 {
1: - struct netns_sysctl_ipv6 sysctl;
1: - struct ipv6_devconf *devconf_all;
1: - struct ipv6_devconf *devconf_dflt;
1: - struct inet_peer_base *peers;
1: - struct fqdir___2 *fqdir;
1: - struct xt_table *ip6table_filter;
1: - struct xt_table *ip6table_mangle;
1: - struct xt_table *ip6table_raw;
1: - struct xt_table *ip6table_security;
1: - struct xt_table *ip6table_nat;
1: - struct fib6_info *fib6_null_entry;
1: - struct rt6_info *ip6_null_entry;
1: - struct rt6_statistics *rt6_stats;
1: - struct timer_list ip6_fib_timer;
1: - struct hlist_head *fib_table_hash;
1: - struct fib6_table *fib6_main_tbl;
1: - struct list_head fib6_walkers;
1: - long: 64;
1: - long: 64;
1: - struct dst_ops___2 ip6_dst_ops;
1: - rwlock_t fib6_walker_lock;
1: - spinlock_t fib6_gc_lock;
1: - unsigned int ip6_rt_gc_expire;
1: - long unsigned int ip6_rt_last_gc;
1: - struct sock **icmp_sk;
1: - struct sock *ndisc_sk;
1: - struct sock *tcp_sk;
1: - struct sock *igmp_sk;
1: - struct sock *mc_autojoin_sk;
1: - atomic_t dev_addr_genid;
1: - atomic_t fib6_sernum;
1: - struct seg6_pernet_data *seg6_data;
1: - struct fib_notifier_ops *notifier_ops;
1: - struct fib_notifier_ops *ip6mr_notifier_ops;
1: - unsigned int ipmr_seq;
1: - struct {
1: - struct hlist_head head;
1: - spinlock_t lock;
1: - u32 seq;
1: - } ip6addrlbl_table;
1: - long: 64;
1: + struct netns_sysctl_ipv6 sysctl;
1: + struct ipv6_devconf *devconf_all;
1: + struct ipv6_devconf *devconf_dflt;
1: + struct inet_peer_base *peers;
1: + struct fqdir___2 *fqdir;
1: + struct xt_table *ip6table_filter;
1: + struct xt_table *ip6table_mangle;
1: + struct xt_table *ip6table_raw;
1: + struct xt_table *ip6table_security;
1: + struct xt_table *ip6table_nat;
1: + struct fib6_info *fib6_null_entry;
1: + struct rt6_info *ip6_null_entry;
1: + struct rt6_statistics *rt6_stats;
1: + struct timer_list ip6_fib_timer;
1: + struct hlist_head *fib_table_hash;
1: + struct fib6_table *fib6_main_tbl;
1: + struct list_head fib6_walkers;
1: + long : 64;
1: + long : 64;
1: + struct dst_ops___2 ip6_dst_ops;
1: + rwlock_t fib6_walker_lock;
1: + spinlock_t fib6_gc_lock;
1: + unsigned int ip6_rt_gc_expire;
1: + long unsigned int ip6_rt_last_gc;
1: + struct sock **icmp_sk;
1: + struct sock *ndisc_sk;
1: + struct sock *tcp_sk;
1: + struct sock *igmp_sk;
1: + struct sock *mc_autojoin_sk;
1: + atomic_t dev_addr_genid;
1: + atomic_t fib6_sernum;
1: + struct seg6_pernet_data *seg6_data;
1: + struct fib_notifier_ops *notifier_ops;
1: + struct fib_notifier_ops *ip6mr_notifier_ops;
1: + unsigned int ipmr_seq;
1: + struct {
1: + struct hlist_head head;
1: + spinlock_t lock;
1: + u32 seq;
1: + } ip6addrlbl_table;
1: + long : 64;
1: };
1:
1: struct netns_nf_frag___2 {
1: - struct fqdir___2 *fqdir;
1: + struct fqdir___2 *fqdir;
1: };
1:
1: struct netns_xfrm___2 {
1: - struct list_head state_all;
1: - struct hlist_head *state_bydst;
1: - struct hlist_head *state_bysrc;
1: - struct hlist_head *state_byspi;
1: - unsigned int state_hmask;
1: - unsigned int state_num;
1: - struct work_struct state_hash_work;
1: - struct list_head policy_all;
1: - struct hlist_head *policy_byidx;
1: - unsigned int policy_idx_hmask;
1: - struct hlist_head policy_inexact[3];
1: - struct xfrm_policy_hash policy_bydst[3];
1: - unsigned int policy_count[6];
1: - struct work_struct policy_hash_work;
1: - struct xfrm_policy_hthresh policy_hthresh;
1: - struct list_head inexact_bins;
1: - struct sock *nlsk;
1: - struct sock *nlsk_stash;
1: - u32 sysctl_aevent_etime;
1: - u32 sysctl_aevent_rseqth;
1: - int sysctl_larval_drop;
1: - u32 sysctl_acq_expires;
1: - struct ctl_table_header *sysctl_hdr;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct dst_ops___2 xfrm4_dst_ops;
1: - struct dst_ops___2 xfrm6_dst_ops;
1: - spinlock_t xfrm_state_lock;
1: - spinlock_t xfrm_policy_lock;
1: - struct mutex xfrm_cfg_mutex;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct list_head state_all;
1: + struct hlist_head *state_bydst;
1: + struct hlist_head *state_bysrc;
1: + struct hlist_head *state_byspi;
1: + unsigned int state_hmask;
1: + unsigned int state_num;
1: + struct work_struct state_hash_work;
1: + struct list_head policy_all;
1: + struct hlist_head *policy_byidx;
1: + unsigned int policy_idx_hmask;
1: + struct hlist_head policy_inexact[3];
1: + struct xfrm_policy_hash policy_bydst[3];
1: + unsigned int policy_count[6];
1: + struct work_struct policy_hash_work;
1: + struct xfrm_policy_hthresh policy_hthresh;
1: + struct list_head inexact_bins;
1: + struct sock *nlsk;
1: + struct sock *nlsk_stash;
1: + u32 sysctl_aevent_etime;
1: + u32 sysctl_aevent_rseqth;
1: + int sysctl_larval_drop;
1: + u32 sysctl_acq_expires;
1: + struct ctl_table_header *sysctl_hdr;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct dst_ops___2 xfrm4_dst_ops;
1: + struct dst_ops___2 xfrm6_dst_ops;
1: + spinlock_t xfrm_state_lock;
1: + spinlock_t xfrm_policy_lock;
1: + struct mutex xfrm_cfg_mutex;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct bpf_prog___2;
1:
1: struct net___2 {
1: - refcount_t passive;
1: - refcount_t count;
1: - spinlock_t rules_mod_lock;
1: - unsigned int dev_unreg_count;
1: - unsigned int dev_base_seq;
1: - int ifindex;
1: - spinlock_t nsid_lock;
1: - atomic_t fnhe_genid;
1: - struct list_head list;
1: - struct list_head exit_list;
1: - struct llist_node cleanup_list;
1: - struct key_tag *key_domain;
1: - struct user_namespace___2 *user_ns;
1: - struct ucounts___2 *ucounts;
1: - struct idr netns_ids;
1: - struct ns_common___2 ns;
1: - struct list_head dev_base_head;
1: - struct proc_dir_entry *proc_net;
1: - struct proc_dir_entry *proc_net_stat;
1: - struct ctl_table_set sysctls;
1: - struct sock *rtnl;
1: - struct sock *genl_sock;
1: - struct uevent_sock *uevent_sock;
1: - struct hlist_head *dev_name_head;
1: - struct hlist_head *dev_index_head;
1: - struct raw_notifier_head netdev_chain;
1: - u32 hash_mix;
1: - struct net_device___2 *loopback_dev;
1: - struct list_head rules_ops;
1: - struct netns_core core;
1: - struct netns_mib mib;
1: - struct netns_packet packet;
1: - struct netns_unix unx;
1: - struct netns_nexthop nexthop;
1: - long: 64;
1: - struct netns_ipv4___2 ipv4;
1: - struct netns_ipv6___2 ipv6;
1: - struct netns_nf nf;
1: - struct netns_xt xt;
1: - struct netns_ct ct;
1: - struct netns_nf_frag___2 nf_frag;
1: - struct ctl_table_header *nf_frag_frags_hdr;
1: - struct sock *nfnl;
1: - struct sock *nfnl_stash;
1: - struct net_generic *gen;
1: - struct bpf_prog___2 *flow_dissector_prog;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct netns_xfrm___2 xfrm;
1: - struct sock *diag_nlsk;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + refcount_t passive;
1: + refcount_t count;
1: + spinlock_t rules_mod_lock;
1: + unsigned int dev_unreg_count;
1: + unsigned int dev_base_seq;
1: + int ifindex;
1: + spinlock_t nsid_lock;
1: + atomic_t fnhe_genid;
1: + struct list_head list;
1: + struct list_head exit_list;
1: + struct llist_node cleanup_list;
1: + struct key_tag *key_domain;
1: + struct user_namespace___2 *user_ns;
1: + struct ucounts___2 *ucounts;
1: + struct idr netns_ids;
1: + struct ns_common___2 ns;
1: + struct list_head dev_base_head;
1: + struct proc_dir_entry *proc_net;
1: + struct proc_dir_entry *proc_net_stat;
1: + struct ctl_table_set sysctls;
1: + struct sock *rtnl;
1: + struct sock *genl_sock;
1: + struct uevent_sock *uevent_sock;
1: + struct hlist_head *dev_name_head;
1: + struct hlist_head *dev_index_head;
1: + struct raw_notifier_head netdev_chain;
1: + u32 hash_mix;
1: + struct net_device___2 *loopback_dev;
1: + struct list_head rules_ops;
1: + struct netns_core core;
1: + struct netns_mib mib;
1: + struct netns_packet packet;
1: + struct netns_unix unx;
1: + struct netns_nexthop nexthop;
1: + long : 64;
1: + struct netns_ipv4___2 ipv4;
1: + struct netns_ipv6___2 ipv6;
1: + struct netns_nf nf;
1: + struct netns_xt xt;
1: + struct netns_ct ct;
1: + struct netns_nf_frag___2 nf_frag;
1: + struct ctl_table_header *nf_frag_frags_hdr;
1: + struct sock *nfnl;
1: + struct sock *nfnl_stash;
1: + struct net_generic *gen;
1: + struct bpf_prog___2 *flow_dissector_prog;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct netns_xfrm___2 xfrm;
1: + struct sock *diag_nlsk;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct cgroup_namespace___2 {
1: - refcount_t count;
1: - struct ns_common___2 ns;
1: - struct user_namespace___2 *user_ns;
1: - struct ucounts___2 *ucounts;
1: - struct css_set___2 *root_cset;
1: + refcount_t count;
1: + struct ns_common___2 ns;
1: + struct user_namespace___2 *user_ns;
1: + struct ucounts___2 *ucounts;
1: + struct css_set___2 *root_cset;
1: };
1:
1: struct proc_ns_operations___2 {
1: - const char *name;
1: - const char *real_ns_name;
1: - int type;
1: - struct ns_common___2 * (*get)(struct task_struct___2 *);
1: - void (*put)(struct ns_common___2 *);
1: - int (*install)(struct nsproxy___2 *, struct ns_common___2 *);
1: - struct user_namespace___2 * (*owner)(struct ns_common___2 *);
1: - struct ns_common___2 * (*get_parent)(struct ns_common___2 *);
1: + const char *name;
1: + const char *real_ns_name;
1: + int type;
1: + struct ns_common___2 *(*get)(struct task_struct___2 *);
1: + void (*put)(struct ns_common___2 *);
1: + int (*install)(struct nsproxy___2 *, struct ns_common___2 *);
1: + struct user_namespace___2 *(*owner)(struct ns_common___2 *);
1: + struct ns_common___2 *(*get_parent)(struct ns_common___2 *);
1: };
1:
1: struct ucounts___2 {
1: - struct hlist_node node;
1: - struct user_namespace___2 *ns;
1: - kuid_t uid;
1: - int count;
1: - atomic_t ucount[9];
1: + struct hlist_node node;
1: + struct user_namespace___2 *ns;
1: + kuid_t uid;
1: + int count;
1: + atomic_t ucount[9];
1: };
1:
1: struct seq_operations___2 {
1: - void * (*start)(struct seq_file___2 *, loff_t *);
1: - void (*stop)(struct seq_file___2 *, void *);
1: - void * (*next)(struct seq_file___2 *, void *, loff_t *);
1: - int (*show)(struct seq_file___2 *, void *);
1: + void *(*start)(struct seq_file___2 *, loff_t *);
1: + void (*stop)(struct seq_file___2 *, void *);
1: + void *(*next)(struct seq_file___2 *, void *, loff_t *);
1: + int (*show)(struct seq_file___2 *, void *);
1: };
1:
1: enum perf_event_read_format {
1: - PERF_FORMAT_TOTAL_TIME_ENABLED = 1,
1: - PERF_FORMAT_TOTAL_TIME_RUNNING = 2,
1: - PERF_FORMAT_ID = 4,
1: - PERF_FORMAT_GROUP = 8,
1: - PERF_FORMAT_MAX = 16,
1: + PERF_FORMAT_TOTAL_TIME_ENABLED = 1,
1: + PERF_FORMAT_TOTAL_TIME_RUNNING = 2,
1: + PERF_FORMAT_ID = 4,
1: + PERF_FORMAT_GROUP = 8,
1: + PERF_FORMAT_MAX = 16,
1: };
1:
1: enum perf_event_ioc_flags {
1: - PERF_IOC_FLAG_GROUP = 1,
1: + PERF_IOC_FLAG_GROUP = 1,
1: };
1:
1: struct perf_ns_link_info {
1: - __u64 dev;
1: - __u64 ino;
1: + __u64 dev;
1: + __u64 ino;
1: };
1:
1: enum {
1: - NET_NS_INDEX = 0,
1: - UTS_NS_INDEX = 1,
1: - IPC_NS_INDEX = 2,
1: - PID_NS_INDEX = 3,
1: - USER_NS_INDEX = 4,
1: - MNT_NS_INDEX = 5,
1: - CGROUP_NS_INDEX = 6,
1: - NR_NAMESPACES = 7,
1: + NET_NS_INDEX = 0,
1: + UTS_NS_INDEX = 1,
1: + IPC_NS_INDEX = 2,
1: + PID_NS_INDEX = 3,
1: + USER_NS_INDEX = 4,
1: + MNT_NS_INDEX = 5,
1: + CGROUP_NS_INDEX = 6,
1: + NR_NAMESPACES = 7,
1: };
1:
1: enum perf_event_type {
1: - PERF_RECORD_MMAP = 1,
1: - PERF_RECORD_LOST = 2,
1: - PERF_RECORD_COMM = 3,
1: - PERF_RECORD_EXIT = 4,
1: - PERF_RECORD_THROTTLE = 5,
1: - PERF_RECORD_UNTHROTTLE = 6,
1: - PERF_RECORD_FORK = 7,
1: - PERF_RECORD_READ = 8,
1: - PERF_RECORD_SAMPLE = 9,
1: - PERF_RECORD_MMAP2 = 10,
1: - PERF_RECORD_AUX = 11,
1: - PERF_RECORD_ITRACE_START = 12,
1: - PERF_RECORD_LOST_SAMPLES = 13,
1: - PERF_RECORD_SWITCH = 14,
1: - PERF_RECORD_SWITCH_CPU_WIDE = 15,
1: - PERF_RECORD_NAMESPACES = 16,
1: - PERF_RECORD_KSYMBOL = 17,
1: - PERF_RECORD_BPF_EVENT = 18,
1: - PERF_RECORD_MAX = 19,
1: + PERF_RECORD_MMAP = 1,
1: + PERF_RECORD_LOST = 2,
1: + PERF_RECORD_COMM = 3,
1: + PERF_RECORD_EXIT = 4,
1: + PERF_RECORD_THROTTLE = 5,
1: + PERF_RECORD_UNTHROTTLE = 6,
1: + PERF_RECORD_FORK = 7,
1: + PERF_RECORD_READ = 8,
1: + PERF_RECORD_SAMPLE = 9,
1: + PERF_RECORD_MMAP2 = 10,
1: + PERF_RECORD_AUX = 11,
1: + PERF_RECORD_ITRACE_START = 12,
1: + PERF_RECORD_LOST_SAMPLES = 13,
1: + PERF_RECORD_SWITCH = 14,
1: + PERF_RECORD_SWITCH_CPU_WIDE = 15,
1: + PERF_RECORD_NAMESPACES = 16,
1: + PERF_RECORD_KSYMBOL = 17,
1: + PERF_RECORD_BPF_EVENT = 18,
1: + PERF_RECORD_MAX = 19,
1: };
1:
1: enum perf_record_ksymbol_type {
1: - PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0,
1: - PERF_RECORD_KSYMBOL_TYPE_BPF = 1,
1: - PERF_RECORD_KSYMBOL_TYPE_MAX = 2,
1: + PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0,
1: + PERF_RECORD_KSYMBOL_TYPE_BPF = 1,
1: + PERF_RECORD_KSYMBOL_TYPE_MAX = 2,
1: };
1:
1: enum perf_bpf_event_type {
1: - PERF_BPF_EVENT_UNKNOWN = 0,
1: - PERF_BPF_EVENT_PROG_LOAD = 1,
1: - PERF_BPF_EVENT_PROG_UNLOAD = 2,
1: - PERF_BPF_EVENT_MAX = 3,
1: + PERF_BPF_EVENT_UNKNOWN = 0,
1: + PERF_BPF_EVENT_PROG_LOAD = 1,
1: + PERF_BPF_EVENT_PROG_UNLOAD = 2,
1: + PERF_BPF_EVENT_MAX = 3,
1: };
1:
1: struct kernel_param_ops___2 {
1: - unsigned int flags;
1: - int (*set)(const char *, const struct kernel_param___2 *);
1: - int (*get)(char *, const struct kernel_param___2 *);
1: - void (*free)(void *);
1: + unsigned int flags;
1: + int (*set)(const char *, const struct kernel_param___2 *);
1: + int (*get)(char *, const struct kernel_param___2 *);
1: + void (*free)(void *);
1: };
1:
1: struct kparam_array___2;
1:
1: struct kernel_param___2 {
1: - const char *name;
1: - struct module___2 *mod;
1: - const struct kernel_param_ops___2 *ops;
1: - const u16 perm;
1: - s8 level;
1: - u8 flags;
1: - union {
1: - void *arg;
1: - const struct kparam_string *str;
1: - const struct kparam_array___2 *arr;
1: - };
1: + const char *name;
1: + struct module___2 *mod;
1: + const struct kernel_param_ops___2 *ops;
1: + const u16 perm;
1: + s8 level;
1: + u8 flags;
1: + union {
1: + void *arg;
1: + const struct kparam_string *str;
1: + const struct kparam_array___2 *arr;
1: + };
1: };
1:
1: struct kparam_array___2 {
1: - unsigned int max;
1: - unsigned int elemsize;
1: - unsigned int *num;
1: - const struct kernel_param_ops___2 *ops;
1: - void *elem;
1: + unsigned int max;
1: + unsigned int elemsize;
1: + unsigned int *num;
1: + const struct kernel_param_ops___2 *ops;
1: + void *elem;
1: };
1:
1: struct module_attribute___2 {
1: - struct attribute attr;
1: - ssize_t (*show)(struct module_attribute___2 *, struct module_kobject___2 *, char *);
1: - ssize_t (*store)(struct module_attribute___2 *, struct module_kobject___2 *, const char *, size_t);
1: - void (*setup)(struct module___2 *, const char *);
1: - int (*test)(struct module___2 *);
1: - void (*free)(struct module___2 *);
1: + struct attribute attr;
1: + ssize_t (*show)(struct module_attribute___2 *, struct module_kobject___2 *,
1: + char *);
1: + ssize_t (*store)(struct module_attribute___2 *, struct module_kobject___2 *,
1: + const char *, size_t);
1: + void (*setup)(struct module___2 *, const char *);
1: + int (*test)(struct module___2 *);
1: + void (*free)(struct module___2 *);
1: };
1:
1: struct trace_event_class___2;
1: @@ -33870,22 +34128,22 @@ struct trace_event_class___2;
1: struct bpf_prog_array___2;
1:
1: struct trace_event_call___2 {
1: - struct list_head list;
1: - struct trace_event_class___2 *class;
1: - union {
1: - char *name;
1: - struct tracepoint *tp;
1: - };
1: - struct trace_event event;
1: - char *print_fmt;
1: - struct event_filter *filter;
1: - void *mod;
1: - void *data;
1: - int flags;
1: - int perf_refcount;
1: - struct hlist_head *perf_events;
1: - struct bpf_prog_array___2 *prog_array;
1: - int (*perf_perm)(struct trace_event_call___2 *, struct perf_event___2 *);
1: + struct list_head list;
1: + struct trace_event_class___2 *class;
1: + union {
1: + char *name;
1: + struct tracepoint *tp;
1: + };
1: + struct trace_event event;
1: + char *print_fmt;
1: + struct event_filter *filter;
1: + void *mod;
1: + void *data;
1: + int flags;
1: + int perf_refcount;
1: + struct hlist_head *perf_events;
1: + struct bpf_prog_array___2 *prog_array;
1: + int (*perf_perm)(struct trace_event_call___2 *, struct perf_event___2 *);
1: };
1:
1: struct bpf_map___2;
1: @@ -33893,65 +34151,68 @@ struct bpf_map___2;
1: struct bpf_prog_aux___2;
1:
1: struct bpf_map_ops___2 {
1: - int (*map_alloc_check)(union bpf_attr *);
1: - struct bpf_map___2 * (*map_alloc)(union bpf_attr *);
1: - void (*map_release)(struct bpf_map___2 *, struct file___2 *);
1: - void (*map_free)(struct bpf_map___2 *);
1: - int (*map_get_next_key)(struct bpf_map___2 *, void *, void *);
1: - void (*map_release_uref)(struct bpf_map___2 *);
1: - void * (*map_lookup_elem_sys_only)(struct bpf_map___2 *, void *);
1: - void * (*map_lookup_elem)(struct bpf_map___2 *, void *);
1: - int (*map_update_elem)(struct bpf_map___2 *, void *, void *, u64);
1: - int (*map_delete_elem)(struct bpf_map___2 *, void *);
1: - int (*map_push_elem)(struct bpf_map___2 *, void *, u64);
1: - int (*map_pop_elem)(struct bpf_map___2 *, void *);
1: - int (*map_peek_elem)(struct bpf_map___2 *, void *);
1: - void * (*map_fd_get_ptr)(struct bpf_map___2 *, struct file___2 *, int);
1: - void (*map_fd_put_ptr)(void *);
1: - u32 (*map_gen_lookup)(struct bpf_map___2 *, struct bpf_insn *);
1: - u32 (*map_fd_sys_lookup_elem)(void *);
1: - void (*map_seq_show_elem)(struct bpf_map___2 *, void *, struct seq_file___2 *);
1: - int (*map_check_btf)(const struct bpf_map___2 *, const struct btf *, const struct btf_type *, const struct btf_type *);
1: - int (*map_poke_track)(struct bpf_map___2 *, struct bpf_prog_aux___2 *);
1: - void (*map_poke_untrack)(struct bpf_map___2 *, struct bpf_prog_aux___2 *);
1: - void (*map_poke_run)(struct bpf_map___2 *, u32, struct bpf_prog___2 *, struct bpf_prog___2 *);
1: - int (*map_direct_value_addr)(const struct bpf_map___2 *, u64 *, u32);
1: - int (*map_direct_value_meta)(const struct bpf_map___2 *, u64, u32 *);
1: - int (*map_mmap)(struct bpf_map___2 *, struct vm_area_struct___2 *);
1: + int (*map_alloc_check)(union bpf_attr *);
1: + struct bpf_map___2 *(*map_alloc)(union bpf_attr *);
1: + void (*map_release)(struct bpf_map___2 *, struct file___2 *);
1: + void (*map_free)(struct bpf_map___2 *);
1: + int (*map_get_next_key)(struct bpf_map___2 *, void *, void *);
1: + void (*map_release_uref)(struct bpf_map___2 *);
1: + void *(*map_lookup_elem_sys_only)(struct bpf_map___2 *, void *);
1: + void *(*map_lookup_elem)(struct bpf_map___2 *, void *);
1: + int (*map_update_elem)(struct bpf_map___2 *, void *, void *, u64);
1: + int (*map_delete_elem)(struct bpf_map___2 *, void *);
1: + int (*map_push_elem)(struct bpf_map___2 *, void *, u64);
1: + int (*map_pop_elem)(struct bpf_map___2 *, void *);
1: + int (*map_peek_elem)(struct bpf_map___2 *, void *);
1: + void *(*map_fd_get_ptr)(struct bpf_map___2 *, struct file___2 *, int);
1: + void (*map_fd_put_ptr)(void *);
1: + u32 (*map_gen_lookup)(struct bpf_map___2 *, struct bpf_insn *);
1: + u32 (*map_fd_sys_lookup_elem)(void *);
1: + void (*map_seq_show_elem)(struct bpf_map___2 *, void *,
1: + struct seq_file___2 *);
1: + int (*map_check_btf)(const struct bpf_map___2 *, const struct btf *,
1: + const struct btf_type *, const struct btf_type *);
1: + int (*map_poke_track)(struct bpf_map___2 *, struct bpf_prog_aux___2 *);
1: + void (*map_poke_untrack)(struct bpf_map___2 *, struct bpf_prog_aux___2 *);
1: + void (*map_poke_run)(struct bpf_map___2 *, u32, struct bpf_prog___2 *,
1: + struct bpf_prog___2 *);
1: + int (*map_direct_value_addr)(const struct bpf_map___2 *, u64 *, u32);
1: + int (*map_direct_value_meta)(const struct bpf_map___2 *, u64, u32 *);
1: + int (*map_mmap)(struct bpf_map___2 *, struct vm_area_struct___2 *);
1: };
1:
1: struct bpf_map___2 {
1: - const struct bpf_map_ops___2 *ops;
1: - struct bpf_map___2 *inner_map_meta;
1: - void *security;
1: - enum bpf_map_type map_type;
1: - u32 key_size;
1: - u32 value_size;
1: - u32 max_entries;
1: - u32 map_flags;
1: - int spin_lock_off;
1: - u32 id;
1: - int numa_node;
1: - u32 btf_key_type_id;
1: - u32 btf_value_type_id;
1: - struct btf *btf;
1: - struct bpf_map_memory memory;
1: - char name[16];
1: - bool unpriv_array;
1: - bool frozen;
1: - long: 48;
1: - long: 64;
1: - long: 64;
1: - atomic64_t refcnt;
1: - atomic64_t usercnt;
1: - struct work_struct work;
1: - struct mutex freeze_mutex;
1: - u64 writecnt;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + const struct bpf_map_ops___2 *ops;
1: + struct bpf_map___2 *inner_map_meta;
1: + void *security;
1: + enum bpf_map_type map_type;
1: + u32 key_size;
1: + u32 value_size;
1: + u32 max_entries;
1: + u32 map_flags;
1: + int spin_lock_off;
1: + u32 id;
1: + int numa_node;
1: + u32 btf_key_type_id;
1: + u32 btf_value_type_id;
1: + struct btf *btf;
1: + struct bpf_map_memory memory;
1: + char name[16];
1: + bool unpriv_array;
1: + bool frozen;
1: + long : 48;
1: + long : 64;
1: + long : 64;
1: + atomic64_t refcnt;
1: + atomic64_t usercnt;
1: + struct work_struct work;
1: + struct mutex freeze_mutex;
1: + u64 writecnt;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct bpf_jit_poke_descriptor___2;
1: @@ -33961,109 +34222,107 @@ struct bpf_prog_ops___2;
1: struct bpf_prog_offload___2;
1:
1: struct bpf_prog_aux___2 {
1: - atomic64_t refcnt;
1: - u32 used_map_cnt;
1: - u32 max_ctx_offset;
1: - u32 max_pkt_offset;
1: - u32 max_tp_access;
1: - u32 stack_depth;
1: - u32 id;
1: - u32 func_cnt;
1: - u32 func_idx;
1: - u32 attach_btf_id;
1: - struct bpf_prog___2 *linked_prog;
1: - bool verifier_zext;
1: - bool offload_requested;
1: - bool attach_btf_trace;
1: - bool func_proto_unreliable;
1: - enum bpf_tramp_prog_type trampoline_prog_type;
1: - struct bpf_trampoline *trampoline;
1: - struct hlist_node tramp_hlist;
1: - const struct btf_type *attach_func_proto;
1: - const char *attach_func_name;
1: - struct bpf_prog___2 **func;
1: - void *jit_data;
1: - struct bpf_jit_poke_descriptor___2 *poke_tab;
1: - u32 size_poke_tab;
1: - struct latch_tree_node ksym_tnode;
1: - struct list_head ksym_lnode;
1: - const struct bpf_prog_ops___2 *ops;
1: - struct bpf_map___2 **used_maps;
1: - struct bpf_prog___2 *prog;
1: - struct user_struct *user;
1: - u64 load_time;
1: - struct bpf_map___2 *cgroup_storage[2];
1: - char name[16];
1: - void *security;
1: - struct bpf_prog_offload___2 *offload;
1: - struct btf *btf;
1: - struct bpf_func_info *func_info;
1: - struct bpf_func_info_aux *func_info_aux;
1: - struct bpf_line_info *linfo;
1: - void **jited_linfo;
1: - u32 func_info_cnt;
1: - u32 nr_linfo;
1: - u32 linfo_idx;
1: - u32 num_exentries;
1: - struct exception_table_entry *extable;
1: - struct bpf_prog_stats *stats;
1: - union {
1: - struct work_struct work;
1: - struct callback_head rcu;
1: - };
1: + atomic64_t refcnt;
1: + u32 used_map_cnt;
1: + u32 max_ctx_offset;
1: + u32 max_pkt_offset;
1: + u32 max_tp_access;
1: + u32 stack_depth;
1: + u32 id;
1: + u32 func_cnt;
1: + u32 func_idx;
1: + u32 attach_btf_id;
1: + struct bpf_prog___2 *linked_prog;
1: + bool verifier_zext;
1: + bool offload_requested;
1: + bool attach_btf_trace;
1: + bool func_proto_unreliable;
1: + enum bpf_tramp_prog_type trampoline_prog_type;
1: + struct bpf_trampoline *trampoline;
1: + struct hlist_node tramp_hlist;
1: + const struct btf_type *attach_func_proto;
1: + const char *attach_func_name;
1: + struct bpf_prog___2 **func;
1: + void *jit_data;
1: + struct bpf_jit_poke_descriptor___2 *poke_tab;
1: + u32 size_poke_tab;
1: + struct latch_tree_node ksym_tnode;
1: + struct list_head ksym_lnode;
1: + const struct bpf_prog_ops___2 *ops;
1: + struct bpf_map___2 **used_maps;
1: + struct bpf_prog___2 *prog;
1: + struct user_struct *user;
1: + u64 load_time;
1: + struct bpf_map___2 *cgroup_storage[2];
1: + char name[16];
1: + void *security;
1: + struct bpf_prog_offload___2 *offload;
1: + struct btf *btf;
1: + struct bpf_func_info *func_info;
1: + struct bpf_func_info_aux *func_info_aux;
1: + struct bpf_line_info *linfo;
1: + void **jited_linfo;
1: + u32 func_info_cnt;
1: + u32 nr_linfo;
1: + u32 linfo_idx;
1: + u32 num_exentries;
1: + struct exception_table_entry *extable;
1: + struct bpf_prog_stats *stats;
1: + union {
1: + struct work_struct work;
1: + struct callback_head rcu;
1: + };
1: };
1:
1: struct bpf_prog___2 {
1: - u16 pages;
1: - u16 jited: 1;
1: - u16 jit_requested: 1;
1: - u16 gpl_compatible: 1;
1: - u16 cb_access: 1;
1: - u16 dst_needed: 1;
1: - u16 blinded: 1;
1: - u16 is_func: 1;
1: - u16 kprobe_override: 1;
1: - u16 has_callchain_buf: 1;
1: - u16 enforce_expected_attach_type: 1;
1: - enum bpf_prog_type type;
1: - enum bpf_attach_type expected_attach_type;
1: - u32 len;
1: - u32 jited_len;
1: - u8 tag[8];
1: - struct bpf_prog_aux___2 *aux;
1: - struct sock_fprog_kern *orig_prog;
1: - unsigned int (*bpf_func)(const void *, const struct bpf_insn *);
1: - union {
1: - struct sock_filter insns[0];
1: - struct bpf_insn insnsi[0];
1: - };
1: + u16 pages;
1: + u16 jited : 1;
1: + u16 jit_requested : 1;
1: + u16 gpl_compatible : 1;
1: + u16 cb_access : 1;
1: + u16 dst_needed : 1;
1: + u16 blinded : 1;
1: + u16 is_func : 1;
1: + u16 kprobe_override : 1;
1: + u16 has_callchain_buf : 1;
1: + u16 enforce_expected_attach_type : 1;
1: + enum bpf_prog_type type;
1: + enum bpf_attach_type expected_attach_type;
1: + u32 len;
1: + u32 jited_len;
1: + u8 tag[8];
1: + struct bpf_prog_aux___2 *aux;
1: + struct sock_fprog_kern *orig_prog;
1: + unsigned int (*bpf_func)(const void *, const struct bpf_insn *);
1: + union {
1: + struct sock_filter insns[0];
1: + struct bpf_insn insnsi[0];
1: + };
1: };
1:
1: struct bpf_offloaded_map___2;
1:
1: struct bpf_map_dev_ops___2 {
1: - int (*map_get_next_key)(struct bpf_offloaded_map___2 *, void *, void *);
1: - int (*map_lookup_elem)(struct bpf_offloaded_map___2 *, void *, void *);
1: - int (*map_update_elem)(struct bpf_offloaded_map___2 *, void *, void *, u64);
1: - int (*map_delete_elem)(struct bpf_offloaded_map___2 *, void *);
1: + int (*map_get_next_key)(struct bpf_offloaded_map___2 *, void *, void *);
1: + int (*map_lookup_elem)(struct bpf_offloaded_map___2 *, void *, void *);
1: + int (*map_update_elem)(struct bpf_offloaded_map___2 *, void *, void *, u64);
1: + int (*map_delete_elem)(struct bpf_offloaded_map___2 *, void *);
1: };
1:
1: struct bpf_offloaded_map___2 {
1: - struct bpf_map___2 map;
1: - struct net_device___2 *netdev;
1: - const struct bpf_map_dev_ops___2 *dev_ops;
1: - void *dev_priv;
1: - struct list_head offloads;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct bpf_map___2 map;
1: + struct net_device___2 *netdev;
1: + const struct bpf_map_dev_ops___2 *dev_ops;
1: + void *dev_priv;
1: + struct list_head offloads;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: typedef rx_handler_result_t rx_handler_func_t___2(struct sk_buff___2 **);
1:
1: -typedef struct {
1: - struct net___2 *net;
1: -} possible_net_t___2;
1: +typedef struct { struct net___2 *net; } possible_net_t___2;
1:
1: struct netdev_name_node___2;
1:
1: @@ -34084,332 +34343,333 @@ struct Qdisc___2;
1: struct rtnl_link_ops___2;
1:
1: struct net_device___2 {
1: - char name[16];
1: - struct netdev_name_node___2 *name_node;
1: - struct dev_ifalias *ifalias;
1: - long unsigned int mem_end;
1: - long unsigned int mem_start;
1: - long unsigned int base_addr;
1: - int irq;
1: - long unsigned int state;
1: - struct list_head dev_list;
1: - struct list_head napi_list;
1: - struct list_head unreg_list;
1: - struct list_head close_list;
1: - struct list_head ptype_all;
1: - struct list_head ptype_specific;
1: - struct {
1: - struct list_head upper;
1: - struct list_head lower;
1: - } adj_list;
1: - netdev_features_t features;
1: - netdev_features_t hw_features;
1: - netdev_features_t wanted_features;
1: - netdev_features_t vlan_features;
1: - netdev_features_t hw_enc_features;
1: - netdev_features_t mpls_features;
1: - netdev_features_t gso_partial_features;
1: - int ifindex;
1: - int group;
1: - struct net_device_stats stats;
1: - atomic_long_t rx_dropped;
1: - atomic_long_t tx_dropped;
1: - atomic_long_t rx_nohandler;
1: - atomic_t carrier_up_count;
1: - atomic_t carrier_down_count;
1: - const struct net_device_ops___2 *netdev_ops;
1: - const struct ethtool_ops___2 *ethtool_ops;
1: - const struct ndisc_ops *ndisc_ops;
1: - const struct header_ops___2 *header_ops;
1: - unsigned int flags;
1: - unsigned int priv_flags;
1: - short unsigned int gflags;
1: - short unsigned int padded;
1: - unsigned char operstate;
1: - unsigned char link_mode;
1: - unsigned char if_port;
1: - unsigned char dma;
1: - unsigned int mtu;
1: - unsigned int min_mtu;
1: - unsigned int max_mtu;
1: - short unsigned int type;
1: - short unsigned int hard_header_len;
1: - unsigned char min_header_len;
1: - short unsigned int needed_headroom;
1: - short unsigned int needed_tailroom;
1: - unsigned char perm_addr[32];
1: - unsigned char addr_assign_type;
1: - unsigned char addr_len;
1: - unsigned char upper_level;
1: - unsigned char lower_level;
1: - short unsigned int neigh_priv_len;
1: - short unsigned int dev_id;
1: - short unsigned int dev_port;
1: - spinlock_t addr_list_lock;
1: - unsigned char name_assign_type;
1: - bool uc_promisc;
1: - struct netdev_hw_addr_list uc;
1: - struct netdev_hw_addr_list mc;
1: - struct netdev_hw_addr_list dev_addrs;
1: - struct kset___2 *queues_kset;
1: - unsigned int promiscuity;
1: - unsigned int allmulti;
1: - struct in_device *ip_ptr;
1: - struct inet6_dev *ip6_ptr;
1: - struct wireless_dev *ieee80211_ptr;
1: - struct wpan_dev *ieee802154_ptr;
1: - unsigned char *dev_addr;
1: - struct netdev_rx_queue___2 *_rx;
1: - unsigned int num_rx_queues;
1: - unsigned int real_num_rx_queues;
1: - struct bpf_prog___2 *xdp_prog;
1: - long unsigned int gro_flush_timeout;
1: - rx_handler_func_t___2 *rx_handler;
1: - void *rx_handler_data;
1: - struct mini_Qdisc___2 *miniq_ingress;
1: - struct netdev_queue___2 *ingress_queue;
1: - struct nf_hook_entries *nf_hooks_ingress;
1: - unsigned char broadcast[32];
1: - struct cpu_rmap *rx_cpu_rmap;
1: - struct hlist_node index_hlist;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct netdev_queue___2 *_tx;
1: - unsigned int num_tx_queues;
1: - unsigned int real_num_tx_queues;
1: - struct Qdisc___2 *qdisc;
1: - struct hlist_head qdisc_hash[16];
1: - unsigned int tx_queue_len;
1: - spinlock_t tx_global_lock;
1: - int watchdog_timeo;
1: - struct xps_dev_maps *xps_cpus_map;
1: - struct xps_dev_maps *xps_rxqs_map;
1: - struct mini_Qdisc___2 *miniq_egress;
1: - struct timer_list watchdog_timer;
1: - int *pcpu_refcnt;
1: - struct list_head todo_list;
1: - struct list_head link_watch_list;
1: - enum {
1: - NETREG_UNINITIALIZED___2 = 0,
1: - NETREG_REGISTERED___2 = 1,
1: - NETREG_UNREGISTERING___2 = 2,
1: - NETREG_UNREGISTERED___2 = 3,
1: - NETREG_RELEASED___2 = 4,
1: - NETREG_DUMMY___2 = 5,
1: - } reg_state: 8;
1: - bool dismantle;
1: - enum {
1: - RTNL_LINK_INITIALIZED___2 = 0,
1: - RTNL_LINK_INITIALIZING___2 = 1,
1: - } rtnl_link_state: 16;
1: - bool needs_free_netdev;
1: - void (*priv_destructor)(struct net_device___2 *);
1: - struct netpoll_info *npinfo;
1: - possible_net_t___2 nd_net;
1: - union {
1: - void *ml_priv;
1: - struct pcpu_lstats *lstats;
1: - struct pcpu_sw_netstats *tstats;
1: - struct pcpu_dstats *dstats;
1: - };
1: - struct device___2 dev;
1: - const struct attribute_group___2 *sysfs_groups[4];
1: - const struct attribute_group___2 *sysfs_rx_queue_group;
1: - const struct rtnl_link_ops___2 *rtnl_link_ops;
1: - unsigned int gso_max_size;
1: - u16 gso_max_segs;
1: - s16 num_tc;
1: - struct netdev_tc_txq tc_to_txq[16];
1: - u8 prio_tc_map[16];
1: - struct phy_device *phydev;
1: - struct sfp_bus *sfp_bus;
1: - struct lock_class_key qdisc_tx_busylock_key;
1: - struct lock_class_key qdisc_running_key;
1: - struct lock_class_key qdisc_xmit_lock_key;
1: - struct lock_class_key addr_list_lock_key;
1: - bool proto_down;
1: - unsigned int wol_enabled: 1;
1: + char name[16];
1: + struct netdev_name_node___2 *name_node;
1: + struct dev_ifalias *ifalias;
1: + long unsigned int mem_end;
1: + long unsigned int mem_start;
1: + long unsigned int base_addr;
1: + int irq;
1: + long unsigned int state;
1: + struct list_head dev_list;
1: + struct list_head napi_list;
1: + struct list_head unreg_list;
1: + struct list_head close_list;
1: + struct list_head ptype_all;
1: + struct list_head ptype_specific;
1: + struct {
1: + struct list_head upper;
1: + struct list_head lower;
1: + } adj_list;
1: + netdev_features_t features;
1: + netdev_features_t hw_features;
1: + netdev_features_t wanted_features;
1: + netdev_features_t vlan_features;
1: + netdev_features_t hw_enc_features;
1: + netdev_features_t mpls_features;
1: + netdev_features_t gso_partial_features;
1: + int ifindex;
1: + int group;
1: + struct net_device_stats stats;
1: + atomic_long_t rx_dropped;
1: + atomic_long_t tx_dropped;
1: + atomic_long_t rx_nohandler;
1: + atomic_t carrier_up_count;
1: + atomic_t carrier_down_count;
1: + const struct net_device_ops___2 *netdev_ops;
1: + const struct ethtool_ops___2 *ethtool_ops;
1: + const struct ndisc_ops *ndisc_ops;
1: + const struct header_ops___2 *header_ops;
1: + unsigned int flags;
1: + unsigned int priv_flags;
1: + short unsigned int gflags;
1: + short unsigned int padded;
1: + unsigned char operstate;
1: + unsigned char link_mode;
1: + unsigned char if_port;
1: + unsigned char dma;
1: + unsigned int mtu;
1: + unsigned int min_mtu;
1: + unsigned int max_mtu;
1: + short unsigned int type;
1: + short unsigned int hard_header_len;
1: + unsigned char min_header_len;
1: + short unsigned int needed_headroom;
1: + short unsigned int needed_tailroom;
1: + unsigned char perm_addr[32];
1: + unsigned char addr_assign_type;
1: + unsigned char addr_len;
1: + unsigned char upper_level;
1: + unsigned char lower_level;
1: + short unsigned int neigh_priv_len;
1: + short unsigned int dev_id;
1: + short unsigned int dev_port;
1: + spinlock_t addr_list_lock;
1: + unsigned char name_assign_type;
1: + bool uc_promisc;
1: + struct netdev_hw_addr_list uc;
1: + struct netdev_hw_addr_list mc;
1: + struct netdev_hw_addr_list dev_addrs;
1: + struct kset___2 *queues_kset;
1: + unsigned int promiscuity;
1: + unsigned int allmulti;
1: + struct in_device *ip_ptr;
1: + struct inet6_dev *ip6_ptr;
1: + struct wireless_dev *ieee80211_ptr;
1: + struct wpan_dev *ieee802154_ptr;
1: + unsigned char *dev_addr;
1: + struct netdev_rx_queue___2 *_rx;
1: + unsigned int num_rx_queues;
1: + unsigned int real_num_rx_queues;
1: + struct bpf_prog___2 *xdp_prog;
1: + long unsigned int gro_flush_timeout;
1: + rx_handler_func_t___2 *rx_handler;
1: + void *rx_handler_data;
1: + struct mini_Qdisc___2 *miniq_ingress;
1: + struct netdev_queue___2 *ingress_queue;
1: + struct nf_hook_entries *nf_hooks_ingress;
1: + unsigned char broadcast[32];
1: + struct cpu_rmap *rx_cpu_rmap;
1: + struct hlist_node index_hlist;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct netdev_queue___2 *_tx;
1: + unsigned int num_tx_queues;
1: + unsigned int real_num_tx_queues;
1: + struct Qdisc___2 *qdisc;
1: + struct hlist_head qdisc_hash[16];
1: + unsigned int tx_queue_len;
1: + spinlock_t tx_global_lock;
1: + int watchdog_timeo;
1: + struct xps_dev_maps *xps_cpus_map;
1: + struct xps_dev_maps *xps_rxqs_map;
1: + struct mini_Qdisc___2 *miniq_egress;
1: + struct timer_list watchdog_timer;
1: + int *pcpu_refcnt;
1: + struct list_head todo_list;
1: + struct list_head link_watch_list;
1: + enum {
1: + NETREG_UNINITIALIZED___2 = 0,
1: + NETREG_REGISTERED___2 = 1,
1: + NETREG_UNREGISTERING___2 = 2,
1: + NETREG_UNREGISTERED___2 = 3,
1: + NETREG_RELEASED___2 = 4,
1: + NETREG_DUMMY___2 = 5,
1: + } reg_state : 8;
1: + bool dismantle;
1: + enum {
1: + RTNL_LINK_INITIALIZED___2 = 0,
1: + RTNL_LINK_INITIALIZING___2 = 1,
1: + } rtnl_link_state : 16;
1: + bool needs_free_netdev;
1: + void (*priv_destructor)(struct net_device___2 *);
1: + struct netpoll_info *npinfo;
1: + possible_net_t___2 nd_net;
1: + union {
1: + void *ml_priv;
1: + struct pcpu_lstats *lstats;
1: + struct pcpu_sw_netstats *tstats;
1: + struct pcpu_dstats *dstats;
1: + };
1: + struct device___2 dev;
1: + const struct attribute_group___2 *sysfs_groups[4];
1: + const struct attribute_group___2 *sysfs_rx_queue_group;
1: + const struct rtnl_link_ops___2 *rtnl_link_ops;
1: + unsigned int gso_max_size;
1: + u16 gso_max_segs;
1: + s16 num_tc;
1: + struct netdev_tc_txq tc_to_txq[16];
1: + u8 prio_tc_map[16];
1: + struct phy_device *phydev;
1: + struct sfp_bus *sfp_bus;
1: + struct lock_class_key qdisc_tx_busylock_key;
1: + struct lock_class_key qdisc_running_key;
1: + struct lock_class_key qdisc_xmit_lock_key;
1: + struct lock_class_key addr_list_lock_key;
1: + bool proto_down;
1: + unsigned int wol_enabled : 1;
1: };
1:
1: struct bpf_prog_ops___2 {
1: - int (*test_run)(struct bpf_prog___2 *, const union bpf_attr *, union bpf_attr *);
1: + int (*test_run)(struct bpf_prog___2 *, const union bpf_attr *,
1: + union bpf_attr *);
1: };
1:
1: struct bpf_prog_offload___2 {
1: - struct bpf_prog___2 *prog;
1: - struct net_device___2 *netdev;
1: - struct bpf_offload_dev *offdev;
1: - void *dev_priv;
1: - struct list_head offloads;
1: - bool dev_state;
1: - bool opt_failed;
1: - void *jited_image;
1: - u32 jited_len;
1: + struct bpf_prog___2 *prog;
1: + struct net_device___2 *netdev;
1: + struct bpf_offload_dev *offdev;
1: + void *dev_priv;
1: + struct list_head offloads;
1: + bool dev_state;
1: + bool opt_failed;
1: + void *jited_image;
1: + u32 jited_len;
1: };
1:
1: struct bpf_jit_poke_descriptor___2 {
1: - void *ip;
1: - union {
1: - struct {
1: - struct bpf_map___2 *map;
1: - u32 key;
1: - } tail_call;
1: - };
1: - bool ip_stable;
1: - u8 adj_off;
1: - u16 reason;
1: + void *ip;
1: + union {
1: + struct {
1: + struct bpf_map___2 *map;
1: + u32 key;
1: + } tail_call;
1: + };
1: + bool ip_stable;
1: + u8 adj_off;
1: + u16 reason;
1: };
1:
1: struct bpf_prog_array_item___2 {
1: - struct bpf_prog___2 *prog;
1: - struct bpf_cgroup_storage *cgroup_storage[2];
1: + struct bpf_prog___2 *prog;
1: + struct bpf_cgroup_storage *cgroup_storage[2];
1: };
1:
1: struct bpf_prog_array___2 {
1: - struct callback_head rcu;
1: - struct bpf_prog_array_item___2 items[0];
1: + struct callback_head rcu;
1: + struct bpf_prog_array_item___2 items[0];
1: };
1:
1: struct sk_buff___2 {
1: - union {
1: - struct {
1: - struct sk_buff___2 *next;
1: - struct sk_buff___2 *prev;
1: - union {
1: - struct net_device___2 *dev;
1: - long unsigned int dev_scratch;
1: - };
1: - };
1: - struct rb_node rbnode;
1: - struct list_head list;
1: - };
1: - union {
1: - struct sock *sk;
1: - int ip_defrag_offset;
1: - };
1: - union {
1: - ktime_t tstamp;
1: - u64 skb_mstamp_ns;
1: - };
1: - char cb[48];
1: - union {
1: - struct {
1: - long unsigned int _skb_refdst;
1: - void (*destructor)(struct sk_buff___2 *);
1: - };
1: - struct list_head tcp_tsorted_anchor;
1: - };
1: - long unsigned int _nfct;
1: - unsigned int len;
1: - unsigned int data_len;
1: - __u16 mac_len;
1: - __u16 hdr_len;
1: - __u16 queue_mapping;
1: - __u8 __cloned_offset[0];
1: - __u8 cloned: 1;
1: - __u8 nohdr: 1;
1: - __u8 fclone: 2;
1: - __u8 peeked: 1;
1: - __u8 head_frag: 1;
1: - __u8 pfmemalloc: 1;
1: - __u8 active_extensions;
1: - __u32 headers_start[0];
1: - __u8 __pkt_type_offset[0];
1: - __u8 pkt_type: 3;
1: - __u8 ignore_df: 1;
1: - __u8 nf_trace: 1;
1: - __u8 ip_summed: 2;
1: - __u8 ooo_okay: 1;
1: - __u8 l4_hash: 1;
1: - __u8 sw_hash: 1;
1: - __u8 wifi_acked_valid: 1;
1: - __u8 wifi_acked: 1;
1: - __u8 no_fcs: 1;
1: - __u8 encapsulation: 1;
1: - __u8 encap_hdr_csum: 1;
1: - __u8 csum_valid: 1;
1: - __u8 __pkt_vlan_present_offset[0];
1: - __u8 vlan_present: 1;
1: - __u8 csum_complete_sw: 1;
1: - __u8 csum_level: 2;
1: - __u8 csum_not_inet: 1;
1: - __u8 dst_pending_confirm: 1;
1: - __u8 ndisc_nodetype: 2;
1: - __u8 ipvs_property: 1;
1: - __u8 inner_protocol_type: 1;
1: - __u8 remcsum_offload: 1;
1: - __u8 tc_skip_classify: 1;
1: - __u8 tc_at_ingress: 1;
1: - __u8 tc_redirected: 1;
1: - __u8 tc_from_ingress: 1;
1: - __u16 tc_index;
1: - union {
1: - __wsum csum;
1: - struct {
1: - __u16 csum_start;
1: - __u16 csum_offset;
1: - };
1: - };
1: - __u32 priority;
1: - int skb_iif;
1: - __u32 hash;
1: - __be16 vlan_proto;
1: - __u16 vlan_tci;
1: - union {
1: - unsigned int napi_id;
1: - unsigned int sender_cpu;
1: - };
1: - __u32 secmark;
1: - union {
1: - __u32 mark;
1: - __u32 reserved_tailroom;
1: - };
1: - union {
1: - __be16 inner_protocol;
1: - __u8 inner_ipproto;
1: - };
1: - __u16 inner_transport_header;
1: - __u16 inner_network_header;
1: - __u16 inner_mac_header;
1: - __be16 protocol;
1: - __u16 transport_header;
1: - __u16 network_header;
1: - __u16 mac_header;
1: - __u32 headers_end[0];
1: - sk_buff_data_t tail;
1: - sk_buff_data_t end;
1: - unsigned char *head;
1: - unsigned char *data;
1: - unsigned int truesize;
1: - refcount_t users;
1: - struct skb_ext *extensions;
1: + union {
1: + struct {
1: + struct sk_buff___2 *next;
1: + struct sk_buff___2 *prev;
1: + union {
1: + struct net_device___2 *dev;
1: + long unsigned int dev_scratch;
1: + };
1: + };
1: + struct rb_node rbnode;
1: + struct list_head list;
1: + };
1: + union {
1: + struct sock *sk;
1: + int ip_defrag_offset;
1: + };
1: + union {
1: + ktime_t tstamp;
1: + u64 skb_mstamp_ns;
1: + };
1: + char cb[48];
1: + union {
1: + struct {
1: + long unsigned int _skb_refdst;
1: + void (*destructor)(struct sk_buff___2 *);
1: + };
1: + struct list_head tcp_tsorted_anchor;
1: + };
1: + long unsigned int _nfct;
1: + unsigned int len;
1: + unsigned int data_len;
1: + __u16 mac_len;
1: + __u16 hdr_len;
1: + __u16 queue_mapping;
1: + __u8 __cloned_offset[0];
1: + __u8 cloned : 1;
1: + __u8 nohdr : 1;
1: + __u8 fclone : 2;
1: + __u8 peeked : 1;
1: + __u8 head_frag : 1;
1: + __u8 pfmemalloc : 1;
1: + __u8 active_extensions;
1: + __u32 headers_start[0];
1: + __u8 __pkt_type_offset[0];
1: + __u8 pkt_type : 3;
1: + __u8 ignore_df : 1;
1: + __u8 nf_trace : 1;
1: + __u8 ip_summed : 2;
1: + __u8 ooo_okay : 1;
1: + __u8 l4_hash : 1;
1: + __u8 sw_hash : 1;
1: + __u8 wifi_acked_valid : 1;
1: + __u8 wifi_acked : 1;
1: + __u8 no_fcs : 1;
1: + __u8 encapsulation : 1;
1: + __u8 encap_hdr_csum : 1;
1: + __u8 csum_valid : 1;
1: + __u8 __pkt_vlan_present_offset[0];
1: + __u8 vlan_present : 1;
1: + __u8 csum_complete_sw : 1;
1: + __u8 csum_level : 2;
1: + __u8 csum_not_inet : 1;
1: + __u8 dst_pending_confirm : 1;
1: + __u8 ndisc_nodetype : 2;
1: + __u8 ipvs_property : 1;
1: + __u8 inner_protocol_type : 1;
1: + __u8 remcsum_offload : 1;
1: + __u8 tc_skip_classify : 1;
1: + __u8 tc_at_ingress : 1;
1: + __u8 tc_redirected : 1;
1: + __u8 tc_from_ingress : 1;
1: + __u16 tc_index;
1: + union {
1: + __wsum csum;
1: + struct {
1: + __u16 csum_start;
1: + __u16 csum_offset;
1: + };
1: + };
1: + __u32 priority;
1: + int skb_iif;
1: + __u32 hash;
1: + __be16 vlan_proto;
1: + __u16 vlan_tci;
1: + union {
1: + unsigned int napi_id;
1: + unsigned int sender_cpu;
1: + };
1: + __u32 secmark;
1: + union {
1: + __u32 mark;
1: + __u32 reserved_tailroom;
1: + };
1: + union {
1: + __be16 inner_protocol;
1: + __u8 inner_ipproto;
1: + };
1: + __u16 inner_transport_header;
1: + __u16 inner_network_header;
1: + __u16 inner_mac_header;
1: + __be16 protocol;
1: + __u16 transport_header;
1: + __u16 network_header;
1: + __u16 mac_header;
1: + __u32 headers_end[0];
1: + sk_buff_data_t tail;
1: + sk_buff_data_t end;
1: + unsigned char *head;
1: + unsigned char *data;
1: + unsigned int truesize;
1: + refcount_t users;
1: + struct skb_ext *extensions;
1: };
1:
1: struct cgroup_file___2 {
1: - struct kernfs_node___2 *kn;
1: - long unsigned int notified_at;
1: - struct timer_list notify_timer;
1: + struct kernfs_node___2 *kn;
1: + long unsigned int notified_at;
1: + struct timer_list notify_timer;
1: };
1:
1: struct cgroup_subsys___2;
1:
1: struct cgroup_subsys_state___2 {
1: - struct cgroup___2 *cgroup;
1: - struct cgroup_subsys___2 *ss;
1: - struct percpu_ref refcnt;
1: - struct list_head sibling;
1: - struct list_head children;
1: - struct list_head rstat_css_node;
1: - int id;
1: - unsigned int flags;
1: - u64 serial_nr;
1: - atomic_t online_cnt;
1: - struct work_struct destroy_work;
1: - struct rcu_work destroy_rwork;
1: - struct cgroup_subsys_state___2 *parent;
1: + struct cgroup___2 *cgroup;
1: + struct cgroup_subsys___2 *ss;
1: + struct percpu_ref refcnt;
1: + struct list_head sibling;
1: + struct list_head children;
1: + struct list_head rstat_css_node;
1: + int id;
1: + unsigned int flags;
1: + u64 serial_nr;
1: + atomic_t online_cnt;
1: + struct work_struct destroy_work;
1: + struct rcu_work destroy_rwork;
1: + struct cgroup_subsys_state___2 *parent;
1: };
1:
1: struct cgroup_root___2;
1: @@ -34417,125 +34677,128 @@ struct cgroup_root___2;
1: struct cgroup_rstat_cpu___2;
1:
1: struct cgroup___2 {
1: - struct cgroup_subsys_state___2 self;
1: - long unsigned int flags;
1: - int level;
1: - int max_depth;
1: - int nr_descendants;
1: - int nr_dying_descendants;
1: - int max_descendants;
1: - int nr_populated_csets;
1: - int nr_populated_domain_children;
1: - int nr_populated_threaded_children;
1: - int nr_threaded_children;
1: - struct kernfs_node___2 *kn;
1: - struct cgroup_file___2 procs_file;
1: - struct cgroup_file___2 events_file;
1: - u16 subtree_control;
1: - u16 subtree_ss_mask;
1: - u16 old_subtree_control;
1: - u16 old_subtree_ss_mask;
1: - struct cgroup_subsys_state___2 *subsys[4];
1: - struct cgroup_root___2 *root;
1: - struct list_head cset_links;
1: - struct list_head e_csets[4];
1: - struct cgroup___2 *dom_cgrp;
1: - struct cgroup___2 *old_dom_cgrp;
1: - struct cgroup_rstat_cpu___2 *rstat_cpu;
1: - struct list_head rstat_css_list;
1: - struct cgroup_base_stat last_bstat;
1: - struct cgroup_base_stat bstat;
1: - struct prev_cputime prev_cputime;
1: - struct list_head pidlists;
1: - struct mutex pidlist_mutex;
1: - wait_queue_head_t offline_waitq;
1: - struct work_struct release_agent_work;
1: - struct psi_group psi;
1: - struct cgroup_bpf bpf;
1: - atomic_t congestion_count;
1: - struct cgroup_freezer_state freezer;
1: - u64 ancestor_ids[0];
1: + struct cgroup_subsys_state___2 self;
1: + long unsigned int flags;
1: + int level;
1: + int max_depth;
1: + int nr_descendants;
1: + int nr_dying_descendants;
1: + int max_descendants;
1: + int nr_populated_csets;
1: + int nr_populated_domain_children;
1: + int nr_populated_threaded_children;
1: + int nr_threaded_children;
1: + struct kernfs_node___2 *kn;
1: + struct cgroup_file___2 procs_file;
1: + struct cgroup_file___2 events_file;
1: + u16 subtree_control;
1: + u16 subtree_ss_mask;
1: + u16 old_subtree_control;
1: + u16 old_subtree_ss_mask;
1: + struct cgroup_subsys_state___2 *subsys[4];
1: + struct cgroup_root___2 *root;
1: + struct list_head cset_links;
1: + struct list_head e_csets[4];
1: + struct cgroup___2 *dom_cgrp;
1: + struct cgroup___2 *old_dom_cgrp;
1: + struct cgroup_rstat_cpu___2 *rstat_cpu;
1: + struct list_head rstat_css_list;
1: + struct cgroup_base_stat last_bstat;
1: + struct cgroup_base_stat bstat;
1: + struct prev_cputime prev_cputime;
1: + struct list_head pidlists;
1: + struct mutex pidlist_mutex;
1: + wait_queue_head_t offline_waitq;
1: + struct work_struct release_agent_work;
1: + struct psi_group psi;
1: + struct cgroup_bpf bpf;
1: + atomic_t congestion_count;
1: + struct cgroup_freezer_state freezer;
1: + u64 ancestor_ids[0];
1: };
1:
1: struct cftype___2;
1:
1: struct cgroup_subsys___2 {
1: - struct cgroup_subsys_state___2 * (*css_alloc)(struct cgroup_subsys_state___2 *);
1: - int (*css_online)(struct cgroup_subsys_state___2 *);
1: - void (*css_offline)(struct cgroup_subsys_state___2 *);
1: - void (*css_released)(struct cgroup_subsys_state___2 *);
1: - void (*css_free)(struct cgroup_subsys_state___2 *);
1: - void (*css_reset)(struct cgroup_subsys_state___2 *);
1: - void (*css_rstat_flush)(struct cgroup_subsys_state___2 *, int);
1: - int (*css_extra_stat_show)(struct seq_file___2 *, struct cgroup_subsys_state___2 *);
1: - int (*can_attach)(struct cgroup_taskset *);
1: - void (*cancel_attach)(struct cgroup_taskset *);
1: - void (*attach)(struct cgroup_taskset *);
1: - void (*post_attach)();
1: - int (*can_fork)(struct task_struct___2 *);
1: - void (*cancel_fork)(struct task_struct___2 *);
1: - void (*fork)(struct task_struct___2 *);
1: - void (*exit)(struct task_struct___2 *);
1: - void (*release)(struct task_struct___2 *);
1: - void (*bind)(struct cgroup_subsys_state___2 *);
1: - bool early_init: 1;
1: - bool implicit_on_dfl: 1;
1: - bool threaded: 1;
1: - bool broken_hierarchy: 1;
1: - bool warned_broken_hierarchy: 1;
1: - int id;
1: - const char *name;
1: - const char *legacy_name;
1: - struct cgroup_root___2 *root;
1: - struct idr css_idr;
1: - struct list_head cfts;
1: - struct cftype___2 *dfl_cftypes;
1: - struct cftype___2 *legacy_cftypes;
1: - unsigned int depends_on;
1: + struct cgroup_subsys_state___2 *(*css_alloc)(
1: + struct cgroup_subsys_state___2 *);
1: + int (*css_online)(struct cgroup_subsys_state___2 *);
1: + void (*css_offline)(struct cgroup_subsys_state___2 *);
1: + void (*css_released)(struct cgroup_subsys_state___2 *);
1: + void (*css_free)(struct cgroup_subsys_state___2 *);
1: + void (*css_reset)(struct cgroup_subsys_state___2 *);
1: + void (*css_rstat_flush)(struct cgroup_subsys_state___2 *, int);
1: + int (*css_extra_stat_show)(struct seq_file___2 *,
1: + struct cgroup_subsys_state___2 *);
1: + int (*can_attach)(struct cgroup_taskset *);
1: + void (*cancel_attach)(struct cgroup_taskset *);
1: + void (*attach)(struct cgroup_taskset *);
1: + void (*post_attach)();
1: + int (*can_fork)(struct task_struct___2 *);
1: + void (*cancel_fork)(struct task_struct___2 *);
1: + void (*fork)(struct task_struct___2 *);
1: + void (*exit)(struct task_struct___2 *);
1: + void (*release)(struct task_struct___2 *);
1: + void (*bind)(struct cgroup_subsys_state___2 *);
1: + bool early_init : 1;
1: + bool implicit_on_dfl : 1;
1: + bool threaded : 1;
1: + bool broken_hierarchy : 1;
1: + bool warned_broken_hierarchy : 1;
1: + int id;
1: + const char *name;
1: + const char *legacy_name;
1: + struct cgroup_root___2 *root;
1: + struct idr css_idr;
1: + struct list_head cfts;
1: + struct cftype___2 *dfl_cftypes;
1: + struct cftype___2 *legacy_cftypes;
1: + unsigned int depends_on;
1: };
1:
1: struct cgroup_rstat_cpu___2 {
1: - struct u64_stats_sync bsync;
1: - struct cgroup_base_stat bstat;
1: - struct cgroup_base_stat last_bstat;
1: - struct cgroup___2 *updated_children;
1: - struct cgroup___2 *updated_next;
1: + struct u64_stats_sync bsync;
1: + struct cgroup_base_stat bstat;
1: + struct cgroup_base_stat last_bstat;
1: + struct cgroup___2 *updated_children;
1: + struct cgroup___2 *updated_next;
1: };
1:
1: struct cgroup_root___2 {
1: - struct kernfs_root___2 *kf_root;
1: - unsigned int subsys_mask;
1: - int hierarchy_id;
1: - struct cgroup___2 cgrp;
1: - u64 cgrp_ancestor_id_storage;
1: - atomic_t nr_cgrps;
1: - struct list_head root_list;
1: - unsigned int flags;
1: - char release_agent_path[4096];
1: - char name[64];
1: + struct kernfs_root___2 *kf_root;
1: + unsigned int subsys_mask;
1: + int hierarchy_id;
1: + struct cgroup___2 cgrp;
1: + u64 cgrp_ancestor_id_storage;
1: + atomic_t nr_cgrps;
1: + struct list_head root_list;
1: + unsigned int flags;
1: + char release_agent_path[4096];
1: + char name[64];
1: };
1:
1: struct cftype___2 {
1: - char name[64];
1: - long unsigned int private;
1: - size_t max_write_len;
1: - unsigned int flags;
1: - unsigned int file_offset;
1: - struct cgroup_subsys___2 *ss;
1: - struct list_head node;
1: - struct kernfs_ops___2 *kf_ops;
1: - int (*open)(struct kernfs_open_file___2 *);
1: - void (*release)(struct kernfs_open_file___2 *);
1: - u64 (*read_u64)(struct cgroup_subsys_state___2 *, struct cftype___2 *);
1: - s64 (*read_s64)(struct cgroup_subsys_state___2 *, struct cftype___2 *);
1: - int (*seq_show)(struct seq_file___2 *, void *);
1: - void * (*seq_start)(struct seq_file___2 *, loff_t *);
1: - void * (*seq_next)(struct seq_file___2 *, void *, loff_t *);
1: - void (*seq_stop)(struct seq_file___2 *, void *);
1: - int (*write_u64)(struct cgroup_subsys_state___2 *, struct cftype___2 *, u64);
1: - int (*write_s64)(struct cgroup_subsys_state___2 *, struct cftype___2 *, s64);
1: - ssize_t (*write)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: - __poll_t (*poll)(struct kernfs_open_file___2 *, struct poll_table_struct___2 *);
1: + char name[64];
1: + long unsigned int private;
1: + size_t max_write_len;
1: + unsigned int flags;
1: + unsigned int file_offset;
1: + struct cgroup_subsys___2 *ss;
1: + struct list_head node;
1: + struct kernfs_ops___2 *kf_ops;
1: + int (*open)(struct kernfs_open_file___2 *);
1: + void (*release)(struct kernfs_open_file___2 *);
1: + u64 (*read_u64)(struct cgroup_subsys_state___2 *, struct cftype___2 *);
1: + s64 (*read_s64)(struct cgroup_subsys_state___2 *, struct cftype___2 *);
1: + int (*seq_show)(struct seq_file___2 *, void *);
1: + void *(*seq_start)(struct seq_file___2 *, loff_t *);
1: + void *(*seq_next)(struct seq_file___2 *, void *, loff_t *);
1: + void (*seq_stop)(struct seq_file___2 *, void *);
1: + int (*write_u64)(struct cgroup_subsys_state___2 *, struct cftype___2 *, u64);
1: + int (*write_s64)(struct cgroup_subsys_state___2 *, struct cftype___2 *, s64);
1: + ssize_t (*write)(struct kernfs_open_file___2 *, char *, size_t, loff_t);
1: + __poll_t (*poll)(struct kernfs_open_file___2 *,
1: + struct poll_table_struct___2 *);
1: };
1:
1: struct perf_cpu_context___2;
1: @@ -34543,707 +34806,753 @@ struct perf_cpu_context___2;
1: struct perf_output_handle___2;
1:
1: struct pmu___2 {
1: - struct list_head entry;
1: - struct module___2 *module;
1: - struct device___2 *dev;
1: - const struct attribute_group___2 **attr_groups;
1: - const struct attribute_group___2 **attr_update;
1: - const char *name;
1: - int type;
1: - int capabilities;
1: - int *pmu_disable_count;
1: - struct perf_cpu_context___2 *pmu_cpu_context;
1: - atomic_t exclusive_cnt;
1: - int task_ctx_nr;
1: - int hrtimer_interval_ms;
1: - unsigned int nr_addr_filters;
1: - void (*pmu_enable)(struct pmu___2 *);
1: - void (*pmu_disable)(struct pmu___2 *);
1: - int (*event_init)(struct perf_event___2 *);
1: - void (*event_mapped)(struct perf_event___2 *, struct mm_struct___2 *);
1: - void (*event_unmapped)(struct perf_event___2 *, struct mm_struct___2 *);
1: - int (*add)(struct perf_event___2 *, int);
1: - void (*del)(struct perf_event___2 *, int);
1: - void (*start)(struct perf_event___2 *, int);
1: - void (*stop)(struct perf_event___2 *, int);
1: - void (*read)(struct perf_event___2 *);
1: - void (*start_txn)(struct pmu___2 *, unsigned int);
1: - int (*commit_txn)(struct pmu___2 *);
1: - void (*cancel_txn)(struct pmu___2 *);
1: - int (*event_idx)(struct perf_event___2 *);
1: - void (*sched_task)(struct perf_event_context___2 *, bool);
1: - size_t task_ctx_size;
1: - void (*swap_task_ctx)(struct perf_event_context___2 *, struct perf_event_context___2 *);
1: - void * (*setup_aux)(struct perf_event___2 *, void **, int, bool);
1: - void (*free_aux)(void *);
1: - long int (*snapshot_aux)(struct perf_event___2 *, struct perf_output_handle___2 *, long unsigned int);
1: - int (*addr_filters_validate)(struct list_head *);
1: - void (*addr_filters_sync)(struct perf_event___2 *);
1: - int (*aux_output_match)(struct perf_event___2 *);
1: - int (*filter_match)(struct perf_event___2 *);
1: - int (*check_period)(struct perf_event___2 *, u64);
1: + struct list_head entry;
1: + struct module___2 *module;
1: + struct device___2 *dev;
1: + const struct attribute_group___2 **attr_groups;
1: + const struct attribute_group___2 **attr_update;
1: + const char *name;
1: + int type;
1: + int capabilities;
1: + int *pmu_disable_count;
1: + struct perf_cpu_context___2 *pmu_cpu_context;
1: + atomic_t exclusive_cnt;
1: + int task_ctx_nr;
1: + int hrtimer_interval_ms;
1: + unsigned int nr_addr_filters;
1: + void (*pmu_enable)(struct pmu___2 *);
1: + void (*pmu_disable)(struct pmu___2 *);
1: + int (*event_init)(struct perf_event___2 *);
1: + void (*event_mapped)(struct perf_event___2 *, struct mm_struct___2 *);
1: + void (*event_unmapped)(struct perf_event___2 *, struct mm_struct___2 *);
1: + int (*add)(struct perf_event___2 *, int);
1: + void (*del)(struct perf_event___2 *, int);
1: + void (*start)(struct perf_event___2 *, int);
1: + void (*stop)(struct perf_event___2 *, int);
1: + void (*read)(struct perf_event___2 *);
1: + void (*start_txn)(struct pmu___2 *, unsigned int);
1: + int (*commit_txn)(struct pmu___2 *);
1: + void (*cancel_txn)(struct pmu___2 *);
1: + int (*event_idx)(struct perf_event___2 *);
1: + void (*sched_task)(struct perf_event_context___2 *, bool);
1: + size_t task_ctx_size;
1: + void (*swap_task_ctx)(struct perf_event_context___2 *,
1: + struct perf_event_context___2 *);
1: + void *(*setup_aux)(struct perf_event___2 *, void **, int, bool);
1: + void (*free_aux)(void *);
1: + long int (*snapshot_aux)(struct perf_event___2 *,
1: + struct perf_output_handle___2 *, long unsigned int);
1: + int (*addr_filters_validate)(struct list_head *);
1: + void (*addr_filters_sync)(struct perf_event___2 *);
1: + int (*aux_output_match)(struct perf_event___2 *);
1: + int (*filter_match)(struct perf_event___2 *);
1: + int (*check_period)(struct perf_event___2 *, u64);
1: };
1:
1: struct perf_cpu_context___2 {
1: - struct perf_event_context___2 ctx;
1: - struct perf_event_context___2 *task_ctx;
1: - int active_oncpu;
1: - int exclusive;
1: - raw_spinlock_t hrtimer_lock;
1: - struct hrtimer hrtimer;
1: - ktime_t hrtimer_interval;
1: - unsigned int hrtimer_active;
1: - struct list_head sched_cb_entry;
1: - int sched_cb_usage;
1: - int online;
1: + struct perf_event_context___2 ctx;
1: + struct perf_event_context___2 *task_ctx;
1: + int active_oncpu;
1: + int exclusive;
1: + raw_spinlock_t hrtimer_lock;
1: + struct hrtimer hrtimer;
1: + ktime_t hrtimer_interval;
1: + unsigned int hrtimer_active;
1: + struct list_head sched_cb_entry;
1: + int sched_cb_usage;
1: + int online;
1: };
1:
1: struct perf_output_handle___2 {
1: - struct perf_event___2 *event;
1: - struct ring_buffer___2 *rb;
1: - long unsigned int wakeup;
1: - long unsigned int size;
1: - u64 aux_flags;
1: - union {
1: - void *addr;
1: - long unsigned int head;
1: - };
1: - int page;
1: + struct perf_event___2 *event;
1: + struct ring_buffer___2 *rb;
1: + long unsigned int wakeup;
1: + long unsigned int size;
1: + u64 aux_flags;
1: + union {
1: + void *addr;
1: + long unsigned int head;
1: + };
1: + int page;
1: };
1:
1: struct perf_addr_filter___2 {
1: - struct list_head entry;
1: - struct path___2 path;
1: - long unsigned int offset;
1: - long unsigned int size;
1: - enum perf_addr_filter_action_t action;
1: + struct list_head entry;
1: + struct path___2 path;
1: + long unsigned int offset;
1: + long unsigned int size;
1: + enum perf_addr_filter_action_t action;
1: };
1:
1: struct swevent_hlist {
1: - struct hlist_head heads[256];
1: - struct callback_head callback_head;
1: + struct hlist_head heads[256];
1: + struct callback_head callback_head;
1: };
1:
1: struct pmu_event_list {
1: - raw_spinlock_t lock;
1: - struct list_head list;
1: + raw_spinlock_t lock;
1: + struct list_head list;
1: };
1:
1: struct ring_buffer___2 {
1: - refcount_t refcount;
1: - struct callback_head callback_head;
1: - int nr_pages;
1: - int overwrite;
1: - int paused;
1: - atomic_t poll;
1: - local_t head;
1: - unsigned int nest;
1: - local_t events;
1: - local_t wakeup;
1: - local_t lost;
1: - long int watermark;
1: - long int aux_watermark;
1: - spinlock_t event_lock;
1: - struct list_head event_list;
1: - atomic_t mmap_count;
1: - long unsigned int mmap_locked;
1: - struct user_struct *mmap_user;
1: - long int aux_head;
1: - unsigned int aux_nest;
1: - long int aux_wakeup;
1: - long unsigned int aux_pgoff;
1: - int aux_nr_pages;
1: - int aux_overwrite;
1: - atomic_t aux_mmap_count;
1: - long unsigned int aux_mmap_locked;
1: - void (*free_aux)(void *);
1: - refcount_t aux_refcount;
1: - int aux_in_sampling;
1: - void **aux_pages;
1: - void *aux_priv;
1: - struct perf_event_mmap_page *user_page;
1: - void *data_pages[0];
1: + refcount_t refcount;
1: + struct callback_head callback_head;
1: + int nr_pages;
1: + int overwrite;
1: + int paused;
1: + atomic_t poll;
1: + local_t head;
1: + unsigned int nest;
1: + local_t events;
1: + local_t wakeup;
1: + local_t lost;
1: + long int watermark;
1: + long int aux_watermark;
1: + spinlock_t event_lock;
1: + struct list_head event_list;
1: + atomic_t mmap_count;
1: + long unsigned int mmap_locked;
1: + struct user_struct *mmap_user;
1: + long int aux_head;
1: + unsigned int aux_nest;
1: + long int aux_wakeup;
1: + long unsigned int aux_pgoff;
1: + int aux_nr_pages;
1: + int aux_overwrite;
1: + atomic_t aux_mmap_count;
1: + long unsigned int aux_mmap_locked;
1: + void (*free_aux)(void *);
1: + refcount_t aux_refcount;
1: + int aux_in_sampling;
1: + void **aux_pages;
1: + void *aux_priv;
1: + struct perf_event_mmap_page *user_page;
1: + void *data_pages[0];
1: };
1:
1: struct perf_pmu_events_attr___2 {
1: - struct device_attribute___2 attr;
1: - u64 id;
1: - const char *event_str;
1: + struct device_attribute___2 attr;
1: + u64 id;
1: + const char *event_str;
1: };
1:
1: struct trace_event_class___2 {
1: - const char *system;
1: - void *probe;
1: - void *perf_probe;
1: - int (*reg)(struct trace_event_call___2 *, enum trace_reg, void *);
1: - int (*define_fields)(struct trace_event_call___2 *);
1: - struct list_head * (*get_fields)(struct trace_event_call___2 *);
1: - struct list_head fields;
1: - int (*raw_init)(struct trace_event_call___2 *);
1: + const char *system;
1: + void *probe;
1: + void *perf_probe;
1: + int (*reg)(struct trace_event_call___2 *, enum trace_reg, void *);
1: + int (*define_fields)(struct trace_event_call___2 *);
1: + struct list_head *(*get_fields)(struct trace_event_call___2 *);
1: + struct list_head fields;
1: + int (*raw_init)(struct trace_event_call___2 *);
1: };
1:
1: struct bio_vec___2 {
1: - struct page___2 *bv_page;
1: - unsigned int bv_len;
1: - unsigned int bv_offset;
1: + struct page___2 *bv_page;
1: + unsigned int bv_len;
1: + unsigned int bv_offset;
1: };
1:
1: struct pipe_buf_operations___2;
1:
1: struct pipe_buffer___2 {
1: - struct page___2 *page;
1: - unsigned int offset;
1: - unsigned int len;
1: - const struct pipe_buf_operations___2 *ops;
1: - unsigned int flags;
1: - long unsigned int private;
1: + struct page___2 *page;
1: + unsigned int offset;
1: + unsigned int len;
1: + const struct pipe_buf_operations___2 *ops;
1: + unsigned int flags;
1: + long unsigned int private;
1: };
1:
1: struct pipe_buf_operations___2 {
1: - int (*confirm)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: - void (*release)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: - int (*steal)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: - bool (*get)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: + int (*confirm)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: + void (*release)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: + int (*steal)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: + bool (*get)(struct pipe_inode_info___2 *, struct pipe_buffer___2 *);
1: };
1:
1: struct sk_buff_head___2 {
1: - struct sk_buff___2 *next;
1: - struct sk_buff___2 *prev;
1: - __u32 qlen;
1: - spinlock_t lock;
1: + struct sk_buff___2 *next;
1: + struct sk_buff___2 *prev;
1: + __u32 qlen;
1: + spinlock_t lock;
1: };
1:
1: struct ethtool_ops___2 {
1: - void (*get_drvinfo)(struct net_device___2 *, struct ethtool_drvinfo *);
1: - int (*get_regs_len)(struct net_device___2 *);
1: - void (*get_regs)(struct net_device___2 *, struct ethtool_regs *, void *);
1: - void (*get_wol)(struct net_device___2 *, struct ethtool_wolinfo *);
1: - int (*set_wol)(struct net_device___2 *, struct ethtool_wolinfo *);
1: - u32 (*get_msglevel)(struct net_device___2 *);
1: - void (*set_msglevel)(struct net_device___2 *, u32);
1: - int (*nway_reset)(struct net_device___2 *);
1: - u32 (*get_link)(struct net_device___2 *);
1: - int (*get_eeprom_len)(struct net_device___2 *);
1: - int (*get_eeprom)(struct net_device___2 *, struct ethtool_eeprom *, u8 *);
1: - int (*set_eeprom)(struct net_device___2 *, struct ethtool_eeprom *, u8 *);
1: - int (*get_coalesce)(struct net_device___2 *, struct ethtool_coalesce *);
1: - int (*set_coalesce)(struct net_device___2 *, struct ethtool_coalesce *);
1: - void (*get_ringparam)(struct net_device___2 *, struct ethtool_ringparam *);
1: - int (*set_ringparam)(struct net_device___2 *, struct ethtool_ringparam *);
1: - void (*get_pauseparam)(struct net_device___2 *, struct ethtool_pauseparam *);
1: - int (*set_pauseparam)(struct net_device___2 *, struct ethtool_pauseparam *);
1: - void (*self_test)(struct net_device___2 *, struct ethtool_test *, u64 *);
1: - void (*get_strings)(struct net_device___2 *, u32, u8 *);
1: - int (*set_phys_id)(struct net_device___2 *, enum ethtool_phys_id_state);
1: - void (*get_ethtool_stats)(struct net_device___2 *, struct ethtool_stats *, u64 *);
1: - int (*begin)(struct net_device___2 *);
1: - void (*complete)(struct net_device___2 *);
1: - u32 (*get_priv_flags)(struct net_device___2 *);
1: - int (*set_priv_flags)(struct net_device___2 *, u32);
1: - int (*get_sset_count)(struct net_device___2 *, int);
1: - int (*get_rxnfc)(struct net_device___2 *, struct ethtool_rxnfc *, u32 *);
1: - int (*set_rxnfc)(struct net_device___2 *, struct ethtool_rxnfc *);
1: - int (*flash_device)(struct net_device___2 *, struct ethtool_flash *);
1: - int (*reset)(struct net_device___2 *, u32 *);
1: - u32 (*get_rxfh_key_size)(struct net_device___2 *);
1: - u32 (*get_rxfh_indir_size)(struct net_device___2 *);
1: - int (*get_rxfh)(struct net_device___2 *, u32 *, u8 *, u8 *);
1: - int (*set_rxfh)(struct net_device___2 *, const u32 *, const u8 *, const u8);
1: - int (*get_rxfh_context)(struct net_device___2 *, u32 *, u8 *, u8 *, u32);
1: - int (*set_rxfh_context)(struct net_device___2 *, const u32 *, const u8 *, const u8, u32 *, bool);
1: - void (*get_channels)(struct net_device___2 *, struct ethtool_channels *);
1: - int (*set_channels)(struct net_device___2 *, struct ethtool_channels *);
1: - int (*get_dump_flag)(struct net_device___2 *, struct ethtool_dump *);
1: - int (*get_dump_data)(struct net_device___2 *, struct ethtool_dump *, void *);
1: - int (*set_dump)(struct net_device___2 *, struct ethtool_dump *);
1: - int (*get_ts_info)(struct net_device___2 *, struct ethtool_ts_info *);
1: - int (*get_module_info)(struct net_device___2 *, struct ethtool_modinfo *);
1: - int (*get_module_eeprom)(struct net_device___2 *, struct ethtool_eeprom *, u8 *);
1: - int (*get_eee)(struct net_device___2 *, struct ethtool_eee *);
1: - int (*set_eee)(struct net_device___2 *, struct ethtool_eee *);
1: - int (*get_tunable)(struct net_device___2 *, const struct ethtool_tunable *, void *);
1: - int (*set_tunable)(struct net_device___2 *, const struct ethtool_tunable *, const void *);
1: - int (*get_per_queue_coalesce)(struct net_device___2 *, u32, struct ethtool_coalesce *);
1: - int (*set_per_queue_coalesce)(struct net_device___2 *, u32, struct ethtool_coalesce *);
1: - int (*get_link_ksettings)(struct net_device___2 *, struct ethtool_link_ksettings *);
1: - int (*set_link_ksettings)(struct net_device___2 *, const struct ethtool_link_ksettings *);
1: - int (*get_fecparam)(struct net_device___2 *, struct ethtool_fecparam *);
1: - int (*set_fecparam)(struct net_device___2 *, struct ethtool_fecparam *);
1: - void (*get_ethtool_phy_stats)(struct net_device___2 *, struct ethtool_stats *, u64 *);
1: + void (*get_drvinfo)(struct net_device___2 *, struct ethtool_drvinfo *);
1: + int (*get_regs_len)(struct net_device___2 *);
1: + void (*get_regs)(struct net_device___2 *, struct ethtool_regs *, void *);
1: + void (*get_wol)(struct net_device___2 *, struct ethtool_wolinfo *);
1: + int (*set_wol)(struct net_device___2 *, struct ethtool_wolinfo *);
1: + u32 (*get_msglevel)(struct net_device___2 *);
1: + void (*set_msglevel)(struct net_device___2 *, u32);
1: + int (*nway_reset)(struct net_device___2 *);
1: + u32 (*get_link)(struct net_device___2 *);
1: + int (*get_eeprom_len)(struct net_device___2 *);
1: + int (*get_eeprom)(struct net_device___2 *, struct ethtool_eeprom *, u8 *);
1: + int (*set_eeprom)(struct net_device___2 *, struct ethtool_eeprom *, u8 *);
1: + int (*get_coalesce)(struct net_device___2 *, struct ethtool_coalesce *);
1: + int (*set_coalesce)(struct net_device___2 *, struct ethtool_coalesce *);
1: + void (*get_ringparam)(struct net_device___2 *, struct ethtool_ringparam *);
1: + int (*set_ringparam)(struct net_device___2 *, struct ethtool_ringparam *);
1: + void (*get_pauseparam)(struct net_device___2 *, struct ethtool_pauseparam *);
1: + int (*set_pauseparam)(struct net_device___2 *, struct ethtool_pauseparam *);
1: + void (*self_test)(struct net_device___2 *, struct ethtool_test *, u64 *);
1: + void (*get_strings)(struct net_device___2 *, u32, u8 *);
1: + int (*set_phys_id)(struct net_device___2 *, enum ethtool_phys_id_state);
1: + void (*get_ethtool_stats)(struct net_device___2 *, struct ethtool_stats *,
1: + u64 *);
1: + int (*begin)(struct net_device___2 *);
1: + void (*complete)(struct net_device___2 *);
1: + u32 (*get_priv_flags)(struct net_device___2 *);
1: + int (*set_priv_flags)(struct net_device___2 *, u32);
1: + int (*get_sset_count)(struct net_device___2 *, int);
1: + int (*get_rxnfc)(struct net_device___2 *, struct ethtool_rxnfc *, u32 *);
1: + int (*set_rxnfc)(struct net_device___2 *, struct ethtool_rxnfc *);
1: + int (*flash_device)(struct net_device___2 *, struct ethtool_flash *);
1: + int (*reset)(struct net_device___2 *, u32 *);
1: + u32 (*get_rxfh_key_size)(struct net_device___2 *);
1: + u32 (*get_rxfh_indir_size)(struct net_device___2 *);
1: + int (*get_rxfh)(struct net_device___2 *, u32 *, u8 *, u8 *);
1: + int (*set_rxfh)(struct net_device___2 *, const u32 *, const u8 *, const u8);
1: + int (*get_rxfh_context)(struct net_device___2 *, u32 *, u8 *, u8 *, u32);
1: + int (*set_rxfh_context)(struct net_device___2 *, const u32 *, const u8 *,
1: + const u8, u32 *, bool);
1: + void (*get_channels)(struct net_device___2 *, struct ethtool_channels *);
1: + int (*set_channels)(struct net_device___2 *, struct ethtool_channels *);
1: + int (*get_dump_flag)(struct net_device___2 *, struct ethtool_dump *);
1: + int (*get_dump_data)(struct net_device___2 *, struct ethtool_dump *, void *);
1: + int (*set_dump)(struct net_device___2 *, struct ethtool_dump *);
1: + int (*get_ts_info)(struct net_device___2 *, struct ethtool_ts_info *);
1: + int (*get_module_info)(struct net_device___2 *, struct ethtool_modinfo *);
1: + int (*get_module_eeprom)(struct net_device___2 *, struct ethtool_eeprom *,
1: + u8 *);
1: + int (*get_eee)(struct net_device___2 *, struct ethtool_eee *);
1: + int (*set_eee)(struct net_device___2 *, struct ethtool_eee *);
1: + int (*get_tunable)(struct net_device___2 *, const struct ethtool_tunable *,
1: + void *);
1: + int (*set_tunable)(struct net_device___2 *, const struct ethtool_tunable *,
1: + const void *);
1: + int (*get_per_queue_coalesce)(struct net_device___2 *, u32,
1: + struct ethtool_coalesce *);
1: + int (*set_per_queue_coalesce)(struct net_device___2 *, u32,
1: + struct ethtool_coalesce *);
1: + int (*get_link_ksettings)(struct net_device___2 *,
1: + struct ethtool_link_ksettings *);
1: + int (*set_link_ksettings)(struct net_device___2 *,
1: + const struct ethtool_link_ksettings *);
1: + int (*get_fecparam)(struct net_device___2 *, struct ethtool_fecparam *);
1: + int (*set_fecparam)(struct net_device___2 *, struct ethtool_fecparam *);
1: + void (*get_ethtool_phy_stats)(struct net_device___2 *, struct ethtool_stats *,
1: + u64 *);
1: };
1:
1: struct inet_frags___2;
1:
1: struct fqdir___2 {
1: - long int high_thresh;
1: - long int low_thresh;
1: - int timeout;
1: - int max_dist;
1: - struct inet_frags___2 *f;
1: - struct net___2 *net;
1: - bool dead;
1: - long: 56;
1: - long: 64;
1: - long: 64;
1: - struct rhashtable rhashtable;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - atomic_long_t mem;
1: - struct work_struct destroy_work;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + long int high_thresh;
1: + long int low_thresh;
1: + int timeout;
1: + int max_dist;
1: + struct inet_frags___2 *f;
1: + struct net___2 *net;
1: + bool dead;
1: + long : 56;
1: + long : 64;
1: + long : 64;
1: + struct rhashtable rhashtable;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + atomic_long_t mem;
1: + struct work_struct destroy_work;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct inet_frag_queue___2;
1:
1: struct inet_frags___2 {
1: - unsigned int qsize;
1: - void (*constructor)(struct inet_frag_queue___2 *, const void *);
1: - void (*destructor)(struct inet_frag_queue___2 *);
1: - void (*frag_expire)(struct timer_list *);
1: - struct kmem_cache *frags_cachep;
1: - const char *frags_cache_name;
1: - struct rhashtable_params rhash_params;
1: - refcount_t refcnt;
1: - struct completion completion;
1: + unsigned int qsize;
1: + void (*constructor)(struct inet_frag_queue___2 *, const void *);
1: + void (*destructor)(struct inet_frag_queue___2 *);
1: + void (*frag_expire)(struct timer_list *);
1: + struct kmem_cache *frags_cachep;
1: + const char *frags_cache_name;
1: + struct rhashtable_params rhash_params;
1: + refcount_t refcnt;
1: + struct completion completion;
1: };
1:
1: struct inet_frag_queue___2 {
1: - struct rhash_head node;
1: - union {
1: - struct frag_v4_compare_key v4;
1: - struct frag_v6_compare_key v6;
1: - } key;
1: - struct timer_list timer;
1: - spinlock_t lock;
1: - refcount_t refcnt;
1: - struct rb_root rb_fragments;
1: - struct sk_buff___2 *fragments_tail;
1: - struct sk_buff___2 *last_run_head;
1: - ktime_t stamp;
1: - int len;
1: - int meat;
1: - __u8 flags;
1: - u16 max_size;
1: - struct fqdir___2 *fqdir;
1: - struct callback_head rcu;
1: + struct rhash_head node;
1: + union {
1: + struct frag_v4_compare_key v4;
1: + struct frag_v6_compare_key v6;
1: + } key;
1: + struct timer_list timer;
1: + spinlock_t lock;
1: + refcount_t refcnt;
1: + struct rb_root rb_fragments;
1: + struct sk_buff___2 *fragments_tail;
1: + struct sk_buff___2 *last_run_head;
1: + ktime_t stamp;
1: + int len;
1: + int meat;
1: + __u8 flags;
1: + u16 max_size;
1: + struct fqdir___2 *fqdir;
1: + struct callback_head rcu;
1: };
1:
1: struct xdp_rxq_info___2 {
1: - struct net_device___2 *dev;
1: - u32 queue_index;
1: - u32 reg_state;
1: - struct xdp_mem_info mem;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct net_device___2 *dev;
1: + u32 queue_index;
1: + u32 reg_state;
1: + struct xdp_mem_info mem;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct xdp_frame___2 {
1: - void *data;
1: - u16 len;
1: - u16 headroom;
1: - u16 metasize;
1: - struct xdp_mem_info mem;
1: - struct net_device___2 *dev_rx;
1: + void *data;
1: + u16 len;
1: + u16 headroom;
1: + u16 metasize;
1: + struct xdp_mem_info mem;
1: + struct net_device___2 *dev_rx;
1: };
1:
1: struct netlink_callback___2 {
1: - struct sk_buff___2 *skb;
1: - const struct nlmsghdr *nlh;
1: - int (*dump)(struct sk_buff___2 *, struct netlink_callback___2 *);
1: - int (*done)(struct netlink_callback___2 *);
1: - void *data;
1: - struct module___2 *module;
1: - struct netlink_ext_ack *extack;
1: - u16 family;
1: - u16 min_dump_alloc;
1: - bool strict_check;
1: - u16 answer_flags;
1: - unsigned int prev_seq;
1: - unsigned int seq;
1: - union {
1: - u8 ctx[48];
1: - long int args[6];
1: - };
1: + struct sk_buff___2 *skb;
1: + const struct nlmsghdr *nlh;
1: + int (*dump)(struct sk_buff___2 *, struct netlink_callback___2 *);
1: + int (*done)(struct netlink_callback___2 *);
1: + void *data;
1: + struct module___2 *module;
1: + struct netlink_ext_ack *extack;
1: + u16 family;
1: + u16 min_dump_alloc;
1: + bool strict_check;
1: + u16 answer_flags;
1: + unsigned int prev_seq;
1: + unsigned int seq;
1: + union {
1: + u8 ctx[48];
1: + long int args[6];
1: + };
1: };
1:
1: struct header_ops___2 {
1: - int (*create)(struct sk_buff___2 *, struct net_device___2 *, short unsigned int, const void *, const void *, unsigned int);
1: - int (*parse)(const struct sk_buff___2 *, unsigned char *);
1: - int (*cache)(const struct neighbour *, struct hh_cache *, __be16);
1: - void (*cache_update)(struct hh_cache *, const struct net_device___2 *, const unsigned char *);
1: - bool (*validate)(const char *, unsigned int);
1: - __be16 (*parse_protocol)(const struct sk_buff___2 *);
1: + int (*create)(struct sk_buff___2 *, struct net_device___2 *,
1: + short unsigned int, const void *, const void *, unsigned int);
1: + int (*parse)(const struct sk_buff___2 *, unsigned char *);
1: + int (*cache)(const struct neighbour *, struct hh_cache *, __be16);
1: + void (*cache_update)(struct hh_cache *, const struct net_device___2 *,
1: + const unsigned char *);
1: + bool (*validate)(const char *, unsigned int);
1: + __be16 (*parse_protocol)(const struct sk_buff___2 *);
1: };
1:
1: struct napi_struct___2 {
1: - struct list_head poll_list;
1: - long unsigned int state;
1: - int weight;
1: - long unsigned int gro_bitmask;
1: - int (*poll)(struct napi_struct___2 *, int);
1: - int poll_owner;
1: - struct net_device___2 *dev;
1: - struct gro_list gro_hash[8];
1: - struct sk_buff___2 *skb;
1: - struct list_head rx_list;
1: - int rx_count;
1: - struct hrtimer timer;
1: - struct list_head dev_list;
1: - struct hlist_node napi_hash_node;
1: - unsigned int napi_id;
1: + struct list_head poll_list;
1: + long unsigned int state;
1: + int weight;
1: + long unsigned int gro_bitmask;
1: + int (*poll)(struct napi_struct___2 *, int);
1: + int poll_owner;
1: + struct net_device___2 *dev;
1: + struct gro_list gro_hash[8];
1: + struct sk_buff___2 *skb;
1: + struct list_head rx_list;
1: + int rx_count;
1: + struct hrtimer timer;
1: + struct list_head dev_list;
1: + struct hlist_node napi_hash_node;
1: + unsigned int napi_id;
1: };
1:
1: struct netdev_queue___2 {
1: - struct net_device___2 *dev;
1: - struct Qdisc___2 *qdisc;
1: - struct Qdisc___2 *qdisc_sleeping;
1: - struct kobject___2 kobj;
1: - int numa_node;
1: - long unsigned int tx_maxrate;
1: - long unsigned int trans_timeout;
1: - struct net_device___2 *sb_dev;
1: - long: 64;
1: - spinlock_t _xmit_lock;
1: - int xmit_lock_owner;
1: - long unsigned int trans_start;
1: - long unsigned int state;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct dql dql;
1: + struct net_device___2 *dev;
1: + struct Qdisc___2 *qdisc;
1: + struct Qdisc___2 *qdisc_sleeping;
1: + struct kobject___2 kobj;
1: + int numa_node;
1: + long unsigned int tx_maxrate;
1: + long unsigned int trans_timeout;
1: + struct net_device___2 *sb_dev;
1: + long : 64;
1: + spinlock_t _xmit_lock;
1: + int xmit_lock_owner;
1: + long unsigned int trans_start;
1: + long unsigned int state;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct dql dql;
1: };
1:
1: struct qdisc_skb_head___2 {
1: - struct sk_buff___2 *head;
1: - struct sk_buff___2 *tail;
1: - __u32 qlen;
1: - spinlock_t lock;
1: + struct sk_buff___2 *head;
1: + struct sk_buff___2 *tail;
1: + __u32 qlen;
1: + spinlock_t lock;
1: };
1:
1: struct Qdisc_ops___2;
1:
1: struct Qdisc___2 {
1: - int (*enqueue)(struct sk_buff___2 *, struct Qdisc___2 *, struct sk_buff___2 **);
1: - struct sk_buff___2 * (*dequeue)(struct Qdisc___2 *);
1: - unsigned int flags;
1: - u32 limit;
1: - const struct Qdisc_ops___2 *ops;
1: - struct qdisc_size_table *stab;
1: - struct hlist_node hash;
1: - u32 handle;
1: - u32 parent;
1: - struct netdev_queue___2 *dev_queue;
1: - struct net_rate_estimator *rate_est;
1: - struct gnet_stats_basic_cpu *cpu_bstats;
1: - struct gnet_stats_queue *cpu_qstats;
1: - int padded;
1: - refcount_t refcnt;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct sk_buff_head___2 gso_skb;
1: - struct qdisc_skb_head___2 q;
1: - struct gnet_stats_basic_packed bstats;
1: - seqcount_t running;
1: - struct gnet_stats_queue qstats;
1: - long unsigned int state;
1: - struct Qdisc___2 *next_sched;
1: - struct sk_buff_head___2 skb_bad_txq;
1: - spinlock_t busylock;
1: - spinlock_t seqlock;
1: - bool empty;
1: - struct callback_head rcu;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + int (*enqueue)(struct sk_buff___2 *, struct Qdisc___2 *,
1: + struct sk_buff___2 **);
1: + struct sk_buff___2 *(*dequeue)(struct Qdisc___2 *);
1: + unsigned int flags;
1: + u32 limit;
1: + const struct Qdisc_ops___2 *ops;
1: + struct qdisc_size_table *stab;
1: + struct hlist_node hash;
1: + u32 handle;
1: + u32 parent;
1: + struct netdev_queue___2 *dev_queue;
1: + struct net_rate_estimator *rate_est;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_queue *cpu_qstats;
1: + int padded;
1: + refcount_t refcnt;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct sk_buff_head___2 gso_skb;
1: + struct qdisc_skb_head___2 q;
1: + struct gnet_stats_basic_packed bstats;
1: + seqcount_t running;
1: + struct gnet_stats_queue qstats;
1: + long unsigned int state;
1: + struct Qdisc___2 *next_sched;
1: + struct sk_buff_head___2 skb_bad_txq;
1: + spinlock_t busylock;
1: + spinlock_t seqlock;
1: + bool empty;
1: + struct callback_head rcu;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct netdev_rx_queue___2 {
1: - struct rps_map *rps_map;
1: - struct rps_dev_flow_table *rps_flow_table;
1: - struct kobject___2 kobj;
1: - struct net_device___2 *dev;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct xdp_rxq_info___2 xdp_rxq;
1: + struct rps_map *rps_map;
1: + struct rps_dev_flow_table *rps_flow_table;
1: + struct kobject___2 kobj;
1: + struct net_device___2 *dev;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct xdp_rxq_info___2 xdp_rxq;
1: };
1:
1: struct netdev_bpf___2 {
1: - enum bpf_netdev_command command;
1: - union {
1: - struct {
1: - u32 flags;
1: - struct bpf_prog___2 *prog;
1: - struct netlink_ext_ack *extack;
1: - };
1: - struct {
1: - u32 prog_id;
1: - u32 prog_flags;
1: - };
1: - struct {
1: - struct bpf_offloaded_map___2 *offmap;
1: - };
1: - struct {
1: - struct xdp_umem *umem;
1: - u16 queue_id;
1: - } xsk;
1: - };
1: + enum bpf_netdev_command command;
1: + union {
1: + struct {
1: + u32 flags;
1: + struct bpf_prog___2 *prog;
1: + struct netlink_ext_ack *extack;
1: + };
1: + struct {
1: + u32 prog_id;
1: + u32 prog_flags;
1: + };
1: + struct {
1: + struct bpf_offloaded_map___2 *offmap;
1: + };
1: + struct {
1: + struct xdp_umem *umem;
1: + u16 queue_id;
1: + } xsk;
1: + };
1: };
1:
1: struct netdev_name_node___2 {
1: - struct hlist_node hlist;
1: - struct list_head list;
1: - struct net_device___2 *dev;
1: - const char *name;
1: + struct hlist_node hlist;
1: + struct list_head list;
1: + struct net_device___2 *dev;
1: + const char *name;
1: };
1:
1: struct net_device_ops___2 {
1: - int (*ndo_init)(struct net_device___2 *);
1: - void (*ndo_uninit)(struct net_device___2 *);
1: - int (*ndo_open)(struct net_device___2 *);
1: - int (*ndo_stop)(struct net_device___2 *);
1: - netdev_tx_t (*ndo_start_xmit)(struct sk_buff___2 *, struct net_device___2 *);
1: - netdev_features_t (*ndo_features_check)(struct sk_buff___2 *, struct net_device___2 *, netdev_features_t);
1: - u16 (*ndo_select_queue)(struct net_device___2 *, struct sk_buff___2 *, struct net_device___2 *);
1: - void (*ndo_change_rx_flags)(struct net_device___2 *, int);
1: - void (*ndo_set_rx_mode)(struct net_device___2 *);
1: - int (*ndo_set_mac_address)(struct net_device___2 *, void *);
1: - int (*ndo_validate_addr)(struct net_device___2 *);
1: - int (*ndo_do_ioctl)(struct net_device___2 *, struct ifreq *, int);
1: - int (*ndo_set_config)(struct net_device___2 *, struct ifmap *);
1: - int (*ndo_change_mtu)(struct net_device___2 *, int);
1: - int (*ndo_neigh_setup)(struct net_device___2 *, struct neigh_parms *);
1: - void (*ndo_tx_timeout)(struct net_device___2 *);
1: - void (*ndo_get_stats64)(struct net_device___2 *, struct rtnl_link_stats64 *);
1: - bool (*ndo_has_offload_stats)(const struct net_device___2 *, int);
1: - int (*ndo_get_offload_stats)(int, const struct net_device___2 *, void *);
1: - struct net_device_stats * (*ndo_get_stats)(struct net_device___2 *);
1: - int (*ndo_vlan_rx_add_vid)(struct net_device___2 *, __be16, u16);
1: - int (*ndo_vlan_rx_kill_vid)(struct net_device___2 *, __be16, u16);
1: - void (*ndo_poll_controller)(struct net_device___2 *);
1: - int (*ndo_netpoll_setup)(struct net_device___2 *, struct netpoll_info *);
1: - void (*ndo_netpoll_cleanup)(struct net_device___2 *);
1: - int (*ndo_set_vf_mac)(struct net_device___2 *, int, u8 *);
1: - int (*ndo_set_vf_vlan)(struct net_device___2 *, int, u16, u8, __be16);
1: - int (*ndo_set_vf_rate)(struct net_device___2 *, int, int, int);
1: - int (*ndo_set_vf_spoofchk)(struct net_device___2 *, int, bool);
1: - int (*ndo_set_vf_trust)(struct net_device___2 *, int, bool);
1: - int (*ndo_get_vf_config)(struct net_device___2 *, int, struct ifla_vf_info *);
1: - int (*ndo_set_vf_link_state)(struct net_device___2 *, int, int);
1: - int (*ndo_get_vf_stats)(struct net_device___2 *, int, struct ifla_vf_stats *);
1: - int (*ndo_set_vf_port)(struct net_device___2 *, int, struct nlattr **);
1: - int (*ndo_get_vf_port)(struct net_device___2 *, int, struct sk_buff___2 *);
1: - int (*ndo_get_vf_guid)(struct net_device___2 *, int, struct ifla_vf_guid *, struct ifla_vf_guid *);
1: - int (*ndo_set_vf_guid)(struct net_device___2 *, int, u64, int);
1: - int (*ndo_set_vf_rss_query_en)(struct net_device___2 *, int, bool);
1: - int (*ndo_setup_tc)(struct net_device___2 *, enum tc_setup_type, void *);
1: - int (*ndo_rx_flow_steer)(struct net_device___2 *, const struct sk_buff___2 *, u16, u32);
1: - int (*ndo_add_slave)(struct net_device___2 *, struct net_device___2 *, struct netlink_ext_ack *);
1: - int (*ndo_del_slave)(struct net_device___2 *, struct net_device___2 *);
1: - netdev_features_t (*ndo_fix_features)(struct net_device___2 *, netdev_features_t);
1: - int (*ndo_set_features)(struct net_device___2 *, netdev_features_t);
1: - int (*ndo_neigh_construct)(struct net_device___2 *, struct neighbour *);
1: - void (*ndo_neigh_destroy)(struct net_device___2 *, struct neighbour *);
1: - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device___2 *, const unsigned char *, u16, u16, struct netlink_ext_ack *);
1: - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device___2 *, const unsigned char *, u16);
1: - int (*ndo_fdb_dump)(struct sk_buff___2 *, struct netlink_callback___2 *, struct net_device___2 *, struct net_device___2 *, int *);
1: - int (*ndo_fdb_get)(struct sk_buff___2 *, struct nlattr **, struct net_device___2 *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *);
1: - int (*ndo_bridge_setlink)(struct net_device___2 *, struct nlmsghdr *, u16, struct netlink_ext_ack *);
1: - int (*ndo_bridge_getlink)(struct sk_buff___2 *, u32, u32, struct net_device___2 *, u32, int);
1: - int (*ndo_bridge_dellink)(struct net_device___2 *, struct nlmsghdr *, u16);
1: - int (*ndo_change_carrier)(struct net_device___2 *, bool);
1: - int (*ndo_get_phys_port_id)(struct net_device___2 *, struct netdev_phys_item_id *);
1: - int (*ndo_get_port_parent_id)(struct net_device___2 *, struct netdev_phys_item_id *);
1: - int (*ndo_get_phys_port_name)(struct net_device___2 *, char *, size_t);
1: - void (*ndo_udp_tunnel_add)(struct net_device___2 *, struct udp_tunnel_info *);
1: - void (*ndo_udp_tunnel_del)(struct net_device___2 *, struct udp_tunnel_info *);
1: - void * (*ndo_dfwd_add_station)(struct net_device___2 *, struct net_device___2 *);
1: - void (*ndo_dfwd_del_station)(struct net_device___2 *, void *);
1: - int (*ndo_set_tx_maxrate)(struct net_device___2 *, int, u32);
1: - int (*ndo_get_iflink)(const struct net_device___2 *);
1: - int (*ndo_change_proto_down)(struct net_device___2 *, bool);
1: - int (*ndo_fill_metadata_dst)(struct net_device___2 *, struct sk_buff___2 *);
1: - void (*ndo_set_rx_headroom)(struct net_device___2 *, int);
1: - int (*ndo_bpf)(struct net_device___2 *, struct netdev_bpf___2 *);
1: - int (*ndo_xdp_xmit)(struct net_device___2 *, int, struct xdp_frame___2 **, u32);
1: - int (*ndo_xsk_wakeup)(struct net_device___2 *, u32, u32);
1: - struct devlink_port * (*ndo_get_devlink_port)(struct net_device___2 *);
1: + int (*ndo_init)(struct net_device___2 *);
1: + void (*ndo_uninit)(struct net_device___2 *);
1: + int (*ndo_open)(struct net_device___2 *);
1: + int (*ndo_stop)(struct net_device___2 *);
1: + netdev_tx_t (*ndo_start_xmit)(struct sk_buff___2 *, struct net_device___2 *);
1: + netdev_features_t (*ndo_features_check)(struct sk_buff___2 *,
1: + struct net_device___2 *,
1: + netdev_features_t);
1: + u16 (*ndo_select_queue)(struct net_device___2 *, struct sk_buff___2 *,
1: + struct net_device___2 *);
1: + void (*ndo_change_rx_flags)(struct net_device___2 *, int);
1: + void (*ndo_set_rx_mode)(struct net_device___2 *);
1: + int (*ndo_set_mac_address)(struct net_device___2 *, void *);
1: + int (*ndo_validate_addr)(struct net_device___2 *);
1: + int (*ndo_do_ioctl)(struct net_device___2 *, struct ifreq *, int);
1: + int (*ndo_set_config)(struct net_device___2 *, struct ifmap *);
1: + int (*ndo_change_mtu)(struct net_device___2 *, int);
1: + int (*ndo_neigh_setup)(struct net_device___2 *, struct neigh_parms *);
1: + void (*ndo_tx_timeout)(struct net_device___2 *);
1: + void (*ndo_get_stats64)(struct net_device___2 *, struct rtnl_link_stats64 *);
1: + bool (*ndo_has_offload_stats)(const struct net_device___2 *, int);
1: + int (*ndo_get_offload_stats)(int, const struct net_device___2 *, void *);
1: + struct net_device_stats *(*ndo_get_stats)(struct net_device___2 *);
1: + int (*ndo_vlan_rx_add_vid)(struct net_device___2 *, __be16, u16);
1: + int (*ndo_vlan_rx_kill_vid)(struct net_device___2 *, __be16, u16);
1: + void (*ndo_poll_controller)(struct net_device___2 *);
1: + int (*ndo_netpoll_setup)(struct net_device___2 *, struct netpoll_info *);
1: + void (*ndo_netpoll_cleanup)(struct net_device___2 *);
1: + int (*ndo_set_vf_mac)(struct net_device___2 *, int, u8 *);
1: + int (*ndo_set_vf_vlan)(struct net_device___2 *, int, u16, u8, __be16);
1: + int (*ndo_set_vf_rate)(struct net_device___2 *, int, int, int);
1: + int (*ndo_set_vf_spoofchk)(struct net_device___2 *, int, bool);
1: + int (*ndo_set_vf_trust)(struct net_device___2 *, int, bool);
1: + int (*ndo_get_vf_config)(struct net_device___2 *, int, struct ifla_vf_info *);
1: + int (*ndo_set_vf_link_state)(struct net_device___2 *, int, int);
1: + int (*ndo_get_vf_stats)(struct net_device___2 *, int, struct ifla_vf_stats *);
1: + int (*ndo_set_vf_port)(struct net_device___2 *, int, struct nlattr **);
1: + int (*ndo_get_vf_port)(struct net_device___2 *, int, struct sk_buff___2 *);
1: + int (*ndo_get_vf_guid)(struct net_device___2 *, int, struct ifla_vf_guid *,
1: + struct ifla_vf_guid *);
1: + int (*ndo_set_vf_guid)(struct net_device___2 *, int, u64, int);
1: + int (*ndo_set_vf_rss_query_en)(struct net_device___2 *, int, bool);
1: + int (*ndo_setup_tc)(struct net_device___2 *, enum tc_setup_type, void *);
1: + int (*ndo_rx_flow_steer)(struct net_device___2 *, const struct sk_buff___2 *,
1: + u16, u32);
1: + int (*ndo_add_slave)(struct net_device___2 *, struct net_device___2 *,
1: + struct netlink_ext_ack *);
1: + int (*ndo_del_slave)(struct net_device___2 *, struct net_device___2 *);
1: + netdev_features_t (*ndo_fix_features)(struct net_device___2 *,
1: + netdev_features_t);
1: + int (*ndo_set_features)(struct net_device___2 *, netdev_features_t);
1: + int (*ndo_neigh_construct)(struct net_device___2 *, struct neighbour *);
1: + void (*ndo_neigh_destroy)(struct net_device___2 *, struct neighbour *);
1: + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device___2 *,
1: + const unsigned char *, u16, u16, struct netlink_ext_ack *);
1: + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device___2 *,
1: + const unsigned char *, u16);
1: + int (*ndo_fdb_dump)(struct sk_buff___2 *, struct netlink_callback___2 *,
1: + struct net_device___2 *, struct net_device___2 *, int *);
1: + int (*ndo_fdb_get)(struct sk_buff___2 *, struct nlattr **,
1: + struct net_device___2 *, const unsigned char *, u16, u32,
1: + u32, struct netlink_ext_ack *);
1: + int (*ndo_bridge_setlink)(struct net_device___2 *, struct nlmsghdr *, u16,
1: + struct netlink_ext_ack *);
1: + int (*ndo_bridge_getlink)(struct sk_buff___2 *, u32, u32,
1: + struct net_device___2 *, u32, int);
1: + int (*ndo_bridge_dellink)(struct net_device___2 *, struct nlmsghdr *, u16);
1: + int (*ndo_change_carrier)(struct net_device___2 *, bool);
1: + int (*ndo_get_phys_port_id)(struct net_device___2 *,
1: + struct netdev_phys_item_id *);
1: + int (*ndo_get_port_parent_id)(struct net_device___2 *,
1: + struct netdev_phys_item_id *);
1: + int (*ndo_get_phys_port_name)(struct net_device___2 *, char *, size_t);
1: + void (*ndo_udp_tunnel_add)(struct net_device___2 *, struct udp_tunnel_info *);
1: + void (*ndo_udp_tunnel_del)(struct net_device___2 *, struct udp_tunnel_info *);
1: + void *(*ndo_dfwd_add_station)(struct net_device___2 *,
1: + struct net_device___2 *);
1: + void (*ndo_dfwd_del_station)(struct net_device___2 *, void *);
1: + int (*ndo_set_tx_maxrate)(struct net_device___2 *, int, u32);
1: + int (*ndo_get_iflink)(const struct net_device___2 *);
1: + int (*ndo_change_proto_down)(struct net_device___2 *, bool);
1: + int (*ndo_fill_metadata_dst)(struct net_device___2 *, struct sk_buff___2 *);
1: + void (*ndo_set_rx_headroom)(struct net_device___2 *, int);
1: + int (*ndo_bpf)(struct net_device___2 *, struct netdev_bpf___2 *);
1: + int (*ndo_xdp_xmit)(struct net_device___2 *, int, struct xdp_frame___2 **,
1: + u32);
1: + int (*ndo_xsk_wakeup)(struct net_device___2 *, u32, u32);
1: + struct devlink_port *(*ndo_get_devlink_port)(struct net_device___2 *);
1: };
1:
1: struct tcf_proto___2;
1:
1: struct mini_Qdisc___2 {
1: - struct tcf_proto___2 *filter_list;
1: - struct gnet_stats_basic_cpu *cpu_bstats;
1: - struct gnet_stats_queue *cpu_qstats;
1: - struct callback_head rcu;
1: + struct tcf_proto___2 *filter_list;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_queue *cpu_qstats;
1: + struct callback_head rcu;
1: };
1:
1: struct rtnl_link_ops___2 {
1: - struct list_head list;
1: - const char *kind;
1: - size_t priv_size;
1: - void (*setup)(struct net_device___2 *);
1: - unsigned int maxtype;
1: - const struct nla_policy *policy;
1: - int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: - int (*newlink)(struct net___2 *, struct net_device___2 *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: - int (*changelink)(struct net_device___2 *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: - void (*dellink)(struct net_device___2 *, struct list_head *);
1: - size_t (*get_size)(const struct net_device___2 *);
1: - int (*fill_info)(struct sk_buff___2 *, const struct net_device___2 *);
1: - size_t (*get_xstats_size)(const struct net_device___2 *);
1: - int (*fill_xstats)(struct sk_buff___2 *, const struct net_device___2 *);
1: - unsigned int (*get_num_tx_queues)();
1: - unsigned int (*get_num_rx_queues)();
1: - unsigned int slave_maxtype;
1: - const struct nla_policy *slave_policy;
1: - int (*slave_changelink)(struct net_device___2 *, struct net_device___2 *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: - size_t (*get_slave_size)(const struct net_device___2 *, const struct net_device___2 *);
1: - int (*fill_slave_info)(struct sk_buff___2 *, const struct net_device___2 *, const struct net_device___2 *);
1: - struct net___2 * (*get_link_net)(const struct net_device___2 *);
1: - size_t (*get_linkxstats_size)(const struct net_device___2 *, int);
1: - int (*fill_linkxstats)(struct sk_buff___2 *, const struct net_device___2 *, int *, int);
1: + struct list_head list;
1: + const char *kind;
1: + size_t priv_size;
1: + void (*setup)(struct net_device___2 *);
1: + unsigned int maxtype;
1: + const struct nla_policy *policy;
1: + int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
1: + int (*newlink)(struct net___2 *, struct net_device___2 *, struct nlattr **,
1: + struct nlattr **, struct netlink_ext_ack *);
1: + int (*changelink)(struct net_device___2 *, struct nlattr **, struct nlattr **,
1: + struct netlink_ext_ack *);
1: + void (*dellink)(struct net_device___2 *, struct list_head *);
1: + size_t (*get_size)(const struct net_device___2 *);
1: + int (*fill_info)(struct sk_buff___2 *, const struct net_device___2 *);
1: + size_t (*get_xstats_size)(const struct net_device___2 *);
1: + int (*fill_xstats)(struct sk_buff___2 *, const struct net_device___2 *);
1: + unsigned int (*get_num_tx_queues)();
1: + unsigned int (*get_num_rx_queues)();
1: + unsigned int slave_maxtype;
1: + const struct nla_policy *slave_policy;
1: + int (*slave_changelink)(struct net_device___2 *, struct net_device___2 *,
1: + struct nlattr **, struct nlattr **,
1: + struct netlink_ext_ack *);
1: + size_t (*get_slave_size)(const struct net_device___2 *,
1: + const struct net_device___2 *);
1: + int (*fill_slave_info)(struct sk_buff___2 *, const struct net_device___2 *,
1: + const struct net_device___2 *);
1: + struct net___2 *(*get_link_net)(const struct net_device___2 *);
1: + size_t (*get_linkxstats_size)(const struct net_device___2 *, int);
1: + int (*fill_linkxstats)(struct sk_buff___2 *, const struct net_device___2 *,
1: + int *, int);
1: };
1:
1: struct softnet_data___2 {
1: - struct list_head poll_list;
1: - struct sk_buff_head___2 process_queue;
1: - unsigned int processed;
1: - unsigned int time_squeeze;
1: - unsigned int received_rps;
1: - struct softnet_data___2 *rps_ipi_list;
1: - struct sd_flow_limit *flow_limit;
1: - struct Qdisc___2 *output_queue;
1: - struct Qdisc___2 **output_queue_tailp;
1: - struct sk_buff___2 *completion_queue;
1: - struct {
1: - u16 recursion;
1: - u8 more;
1: - } xmit;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - unsigned int input_queue_head;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - call_single_data_t csd;
1: - struct softnet_data___2 *rps_ipi_next;
1: - unsigned int cpu;
1: - unsigned int input_queue_tail;
1: - unsigned int dropped;
1: - struct sk_buff_head___2 input_pkt_queue;
1: - struct napi_struct___2 backlog;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct list_head poll_list;
1: + struct sk_buff_head___2 process_queue;
1: + unsigned int processed;
1: + unsigned int time_squeeze;
1: + unsigned int received_rps;
1: + struct softnet_data___2 *rps_ipi_list;
1: + struct sd_flow_limit *flow_limit;
1: + struct Qdisc___2 *output_queue;
1: + struct Qdisc___2 **output_queue_tailp;
1: + struct sk_buff___2 *completion_queue;
1: + struct {
1: + u16 recursion;
1: + u8 more;
1: + } xmit;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + unsigned int input_queue_head;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + call_single_data_t csd;
1: + struct softnet_data___2 *rps_ipi_next;
1: + unsigned int cpu;
1: + unsigned int input_queue_tail;
1: + unsigned int dropped;
1: + struct sk_buff_head___2 input_pkt_queue;
1: + struct napi_struct___2 backlog;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct gnet_dump___2 {
1: - spinlock_t *lock;
1: - struct sk_buff___2 *skb;
1: - struct nlattr *tail;
1: - int compat_tc_stats;
1: - int compat_xstats;
1: - int padattr;
1: - void *xstats;
1: - int xstats_len;
1: - struct tc_stats tc_stats;
1: + spinlock_t *lock;
1: + struct sk_buff___2 *skb;
1: + struct nlattr *tail;
1: + int compat_tc_stats;
1: + int compat_xstats;
1: + int padattr;
1: + void *xstats;
1: + int xstats_len;
1: + struct tc_stats tc_stats;
1: };
1:
1: struct Qdisc_class_ops___2;
1:
1: struct Qdisc_ops___2 {
1: - struct Qdisc_ops___2 *next;
1: - const struct Qdisc_class_ops___2 *cl_ops;
1: - char id[16];
1: - int priv_size;
1: - unsigned int static_flags;
1: - int (*enqueue)(struct sk_buff___2 *, struct Qdisc___2 *, struct sk_buff___2 **);
1: - struct sk_buff___2 * (*dequeue)(struct Qdisc___2 *);
1: - struct sk_buff___2 * (*peek)(struct Qdisc___2 *);
1: - int (*init)(struct Qdisc___2 *, struct nlattr *, struct netlink_ext_ack *);
1: - void (*reset)(struct Qdisc___2 *);
1: - void (*destroy)(struct Qdisc___2 *);
1: - int (*change)(struct Qdisc___2 *, struct nlattr *, struct netlink_ext_ack *);
1: - void (*attach)(struct Qdisc___2 *);
1: - int (*change_tx_queue_len)(struct Qdisc___2 *, unsigned int);
1: - int (*dump)(struct Qdisc___2 *, struct sk_buff___2 *);
1: - int (*dump_stats)(struct Qdisc___2 *, struct gnet_dump___2 *);
1: - void (*ingress_block_set)(struct Qdisc___2 *, u32);
1: - void (*egress_block_set)(struct Qdisc___2 *, u32);
1: - u32 (*ingress_block_get)(struct Qdisc___2 *);
1: - u32 (*egress_block_get)(struct Qdisc___2 *);
1: - struct module___2 *owner;
1: + struct Qdisc_ops___2 *next;
1: + const struct Qdisc_class_ops___2 *cl_ops;
1: + char id[16];
1: + int priv_size;
1: + unsigned int static_flags;
1: + int (*enqueue)(struct sk_buff___2 *, struct Qdisc___2 *,
1: + struct sk_buff___2 **);
1: + struct sk_buff___2 *(*dequeue)(struct Qdisc___2 *);
1: + struct sk_buff___2 *(*peek)(struct Qdisc___2 *);
1: + int (*init)(struct Qdisc___2 *, struct nlattr *, struct netlink_ext_ack *);
1: + void (*reset)(struct Qdisc___2 *);
1: + void (*destroy)(struct Qdisc___2 *);
1: + int (*change)(struct Qdisc___2 *, struct nlattr *, struct netlink_ext_ack *);
1: + void (*attach)(struct Qdisc___2 *);
1: + int (*change_tx_queue_len)(struct Qdisc___2 *, unsigned int);
1: + int (*dump)(struct Qdisc___2 *, struct sk_buff___2 *);
1: + int (*dump_stats)(struct Qdisc___2 *, struct gnet_dump___2 *);
1: + void (*ingress_block_set)(struct Qdisc___2 *, u32);
1: + void (*egress_block_set)(struct Qdisc___2 *, u32);
1: + u32 (*ingress_block_get)(struct Qdisc___2 *);
1: + u32 (*egress_block_get)(struct Qdisc___2 *);
1: + struct module___2 *owner;
1: };
1:
1: struct tcf_block___2;
1:
1: struct Qdisc_class_ops___2 {
1: - unsigned int flags;
1: - struct netdev_queue___2 * (*select_queue)(struct Qdisc___2 *, struct tcmsg *);
1: - int (*graft)(struct Qdisc___2 *, long unsigned int, struct Qdisc___2 *, struct Qdisc___2 **, struct netlink_ext_ack *);
1: - struct Qdisc___2 * (*leaf)(struct Qdisc___2 *, long unsigned int);
1: - void (*qlen_notify)(struct Qdisc___2 *, long unsigned int);
1: - long unsigned int (*find)(struct Qdisc___2 *, u32);
1: - int (*change)(struct Qdisc___2 *, u32, u32, struct nlattr **, long unsigned int *, struct netlink_ext_ack *);
1: - int (*delete)(struct Qdisc___2 *, long unsigned int);
1: - void (*walk)(struct Qdisc___2 *, struct qdisc_walker *);
1: - struct tcf_block___2 * (*tcf_block)(struct Qdisc___2 *, long unsigned int, struct netlink_ext_ack *);
1: - long unsigned int (*bind_tcf)(struct Qdisc___2 *, long unsigned int, u32);
1: - void (*unbind_tcf)(struct Qdisc___2 *, long unsigned int);
1: - int (*dump)(struct Qdisc___2 *, long unsigned int, struct sk_buff___2 *, struct tcmsg *);
1: - int (*dump_stats)(struct Qdisc___2 *, long unsigned int, struct gnet_dump___2 *);
1: + unsigned int flags;
1: + struct netdev_queue___2 *(*select_queue)(struct Qdisc___2 *, struct tcmsg *);
1: + int (*graft)(struct Qdisc___2 *, long unsigned int, struct Qdisc___2 *,
1: + struct Qdisc___2 **, struct netlink_ext_ack *);
1: + struct Qdisc___2 *(*leaf)(struct Qdisc___2 *, long unsigned int);
1: + void (*qlen_notify)(struct Qdisc___2 *, long unsigned int);
1: + long unsigned int (*find)(struct Qdisc___2 *, u32);
1: + int (*change)(struct Qdisc___2 *, u32, u32, struct nlattr **,
1: + long unsigned int *, struct netlink_ext_ack *);
1: + int (*delete)(struct Qdisc___2 *, long unsigned int);
1: + void (*walk)(struct Qdisc___2 *, struct qdisc_walker *);
1: + struct tcf_block___2 *(*tcf_block)(struct Qdisc___2 *, long unsigned int,
1: + struct netlink_ext_ack *);
1: + long unsigned int (*bind_tcf)(struct Qdisc___2 *, long unsigned int, u32);
1: + void (*unbind_tcf)(struct Qdisc___2 *, long unsigned int);
1: + int (*dump)(struct Qdisc___2 *, long unsigned int, struct sk_buff___2 *,
1: + struct tcmsg *);
1: + int (*dump_stats)(struct Qdisc___2 *, long unsigned int,
1: + struct gnet_dump___2 *);
1: };
1:
1: struct tcf_chain___2;
1:
1: struct tcf_block___2 {
1: - struct mutex lock;
1: - struct list_head chain_list;
1: - u32 index;
1: - refcount_t refcnt;
1: - struct net___2 *net;
1: - struct Qdisc___2 *q;
1: - struct rw_semaphore cb_lock;
1: - struct flow_block flow_block;
1: - struct list_head owner_list;
1: - bool keep_dst;
1: - atomic_t offloadcnt;
1: - unsigned int nooffloaddevcnt;
1: - unsigned int lockeddevcnt;
1: - struct {
1: - struct tcf_chain___2 *chain;
1: - struct list_head filter_chain_list;
1: - } chain0;
1: - struct callback_head rcu;
1: - struct hlist_head proto_destroy_ht[128];
1: - struct mutex proto_destroy_lock;
1: + struct mutex lock;
1: + struct list_head chain_list;
1: + u32 index;
1: + refcount_t refcnt;
1: + struct net___2 *net;
1: + struct Qdisc___2 *q;
1: + struct rw_semaphore cb_lock;
1: + struct flow_block flow_block;
1: + struct list_head owner_list;
1: + bool keep_dst;
1: + atomic_t offloadcnt;
1: + unsigned int nooffloaddevcnt;
1: + unsigned int lockeddevcnt;
1: + struct {
1: + struct tcf_chain___2 *chain;
1: + struct list_head filter_chain_list;
1: + } chain0;
1: + struct callback_head rcu;
1: + struct hlist_head proto_destroy_ht[128];
1: + struct mutex proto_destroy_lock;
1: };
1:
1: struct tcf_result___2;
1: @@ -35251,427 +35560,436 @@ struct tcf_result___2;
1: struct tcf_proto_ops___2;
1:
1: struct tcf_proto___2 {
1: - struct tcf_proto___2 *next;
1: - void *root;
1: - int (*classify)(struct sk_buff___2 *, const struct tcf_proto___2 *, struct tcf_result___2 *);
1: - __be16 protocol;
1: - u32 prio;
1: - void *data;
1: - const struct tcf_proto_ops___2 *ops;
1: - struct tcf_chain___2 *chain;
1: - spinlock_t lock;
1: - bool deleting;
1: - refcount_t refcnt;
1: - struct callback_head rcu;
1: - struct hlist_node destroy_ht_node;
1: + struct tcf_proto___2 *next;
1: + void *root;
1: + int (*classify)(struct sk_buff___2 *, const struct tcf_proto___2 *,
1: + struct tcf_result___2 *);
1: + __be16 protocol;
1: + u32 prio;
1: + void *data;
1: + const struct tcf_proto_ops___2 *ops;
1: + struct tcf_chain___2 *chain;
1: + spinlock_t lock;
1: + bool deleting;
1: + refcount_t refcnt;
1: + struct callback_head rcu;
1: + struct hlist_node destroy_ht_node;
1: };
1:
1: struct tcf_result___2 {
1: - union {
1: - struct {
1: - long unsigned int class;
1: - u32 classid;
1: - };
1: - const struct tcf_proto___2 *goto_tp;
1: - struct {
1: - bool ingress;
1: - struct gnet_stats_queue *qstats;
1: - };
1: - };
1: + union {
1: + struct {
1: + long unsigned int class;
1: + u32 classid;
1: + };
1: + const struct tcf_proto___2 *goto_tp;
1: + struct {
1: + bool ingress;
1: + struct gnet_stats_queue *qstats;
1: + };
1: + };
1: };
1:
1: struct tcf_proto_ops___2 {
1: - struct list_head head;
1: - char kind[16];
1: - int (*classify)(struct sk_buff___2 *, const struct tcf_proto___2 *, struct tcf_result___2 *);
1: - int (*init)(struct tcf_proto___2 *);
1: - void (*destroy)(struct tcf_proto___2 *, bool, struct netlink_ext_ack *);
1: - void * (*get)(struct tcf_proto___2 *, u32);
1: - void (*put)(struct tcf_proto___2 *, void *);
1: - int (*change)(struct net___2 *, struct sk_buff___2 *, struct tcf_proto___2 *, long unsigned int, u32, struct nlattr **, void **, bool, bool, struct netlink_ext_ack *);
1: - int (*delete)(struct tcf_proto___2 *, void *, bool *, bool, struct netlink_ext_ack *);
1: - bool (*delete_empty)(struct tcf_proto___2 *);
1: - void (*walk)(struct tcf_proto___2 *, struct tcf_walker *, bool);
1: - int (*reoffload)(struct tcf_proto___2 *, bool, flow_setup_cb_t *, void *, struct netlink_ext_ack *);
1: - void (*hw_add)(struct tcf_proto___2 *, void *);
1: - void (*hw_del)(struct tcf_proto___2 *, void *);
1: - void (*bind_class)(void *, u32, long unsigned int);
1: - void * (*tmplt_create)(struct net___2 *, struct tcf_chain___2 *, struct nlattr **, struct netlink_ext_ack *);
1: - void (*tmplt_destroy)(void *);
1: - int (*dump)(struct net___2 *, struct tcf_proto___2 *, void *, struct sk_buff___2 *, struct tcmsg *, bool);
1: - int (*tmplt_dump)(struct sk_buff___2 *, struct net___2 *, void *);
1: - struct module___2 *owner;
1: - int flags;
1: + struct list_head head;
1: + char kind[16];
1: + int (*classify)(struct sk_buff___2 *, const struct tcf_proto___2 *,
1: + struct tcf_result___2 *);
1: + int (*init)(struct tcf_proto___2 *);
1: + void (*destroy)(struct tcf_proto___2 *, bool, struct netlink_ext_ack *);
1: + void *(*get)(struct tcf_proto___2 *, u32);
1: + void (*put)(struct tcf_proto___2 *, void *);
1: + int (*change)(struct net___2 *, struct sk_buff___2 *, struct tcf_proto___2 *,
1: + long unsigned int, u32, struct nlattr **, void **, bool, bool,
1: + struct netlink_ext_ack *);
1: + int (*delete)(struct tcf_proto___2 *, void *, bool *, bool,
1: + struct netlink_ext_ack *);
1: + bool (*delete_empty)(struct tcf_proto___2 *);
1: + void (*walk)(struct tcf_proto___2 *, struct tcf_walker *, bool);
1: + int (*reoffload)(struct tcf_proto___2 *, bool, flow_setup_cb_t *, void *,
1: + struct netlink_ext_ack *);
1: + void (*hw_add)(struct tcf_proto___2 *, void *);
1: + void (*hw_del)(struct tcf_proto___2 *, void *);
1: + void (*bind_class)(void *, u32, long unsigned int);
1: + void *(*tmplt_create)(struct net___2 *, struct tcf_chain___2 *,
1: + struct nlattr **, struct netlink_ext_ack *);
1: + void (*tmplt_destroy)(void *);
1: + int (*dump)(struct net___2 *, struct tcf_proto___2 *, void *,
1: + struct sk_buff___2 *, struct tcmsg *, bool);
1: + int (*tmplt_dump)(struct sk_buff___2 *, struct net___2 *, void *);
1: + struct module___2 *owner;
1: + int flags;
1: };
1:
1: struct tcf_chain___2 {
1: - struct mutex filter_chain_lock;
1: - struct tcf_proto___2 *filter_chain;
1: - struct list_head list;
1: - struct tcf_block___2 *block;
1: - u32 index;
1: - unsigned int refcnt;
1: - unsigned int action_refcnt;
1: - bool explicitly_created;
1: - bool flushing;
1: - const struct tcf_proto_ops___2 *tmplt_ops;
1: - void *tmplt_priv;
1: - struct callback_head rcu;
1: + struct mutex filter_chain_lock;
1: + struct tcf_proto___2 *filter_chain;
1: + struct list_head list;
1: + struct tcf_block___2 *block;
1: + u32 index;
1: + unsigned int refcnt;
1: + unsigned int action_refcnt;
1: + bool explicitly_created;
1: + bool flushing;
1: + const struct tcf_proto_ops___2 *tmplt_ops;
1: + void *tmplt_priv;
1: + struct callback_head rcu;
1: };
1:
1: struct bpf_redirect_info___2 {
1: - u32 flags;
1: - u32 tgt_index;
1: - void *tgt_value;
1: - struct bpf_map___2 *map;
1: - struct bpf_map___2 *map_to_flush;
1: - u32 kern_flags;
1: + u32 flags;
1: + u32 tgt_index;
1: + void *tgt_value;
1: + struct bpf_map___2 *map;
1: + struct bpf_map___2 *map_to_flush;
1: + u32 kern_flags;
1: };
1:
1: struct match_token {
1: - int token;
1: - const char *pattern;
1: + int token;
1: + const char *pattern;
1: };
1:
1: enum {
1: - MAX_OPT_ARGS = 3,
1: + MAX_OPT_ARGS = 3,
1: };
1:
1: typedef struct {
1: - char *from;
1: - char *to;
1: + char *from;
1: + char *to;
1: } substring_t;
1:
1: typedef int (*remote_function_f)(void *);
1:
1: struct remote_function_call {
1: - struct task_struct___2 *p;
1: - remote_function_f func;
1: - void *info;
1: - int ret;
1: + struct task_struct___2 *p;
1: + remote_function_f func;
1: + void *info;
1: + int ret;
1: };
1:
1: -typedef void (*event_f)(struct perf_event___2 *, struct perf_cpu_context___2 *, struct perf_event_context___2 *, void *);
1: +typedef void (*event_f)(struct perf_event___2 *, struct perf_cpu_context___2 *,
1: + struct perf_event_context___2 *, void *);
1:
1: struct event_function_struct {
1: - struct perf_event___2 *event;
1: - event_f func;
1: - void *data;
1: + struct perf_event___2 *event;
1: + event_f func;
1: + void *data;
1: };
1:
1: enum event_type_t {
1: - EVENT_FLEXIBLE = 1,
1: - EVENT_PINNED = 2,
1: - EVENT_TIME = 4,
1: - EVENT_CPU = 8,
1: - EVENT_ALL = 3,
1: + EVENT_FLEXIBLE = 1,
1: + EVENT_PINNED = 2,
1: + EVENT_TIME = 4,
1: + EVENT_CPU = 8,
1: + EVENT_ALL = 3,
1: };
1:
1: struct stop_event_data {
1: - struct perf_event___2 *event;
1: - unsigned int restart;
1: + struct perf_event___2 *event;
1: + unsigned int restart;
1: };
1:
1: struct sched_in_data {
1: - struct perf_event_context___2 *ctx;
1: - struct perf_cpu_context___2 *cpuctx;
1: - int can_add_hw;
1: + struct perf_event_context___2 *ctx;
1: + struct perf_cpu_context___2 *cpuctx;
1: + int can_add_hw;
1: };
1:
1: struct perf_read_data {
1: - struct perf_event___2 *event;
1: - bool group;
1: - int ret;
1: + struct perf_event___2 *event;
1: + bool group;
1: + int ret;
1: };
1:
1: struct perf_read_event {
1: - struct perf_event_header header;
1: - u32 pid;
1: - u32 tid;
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: };
1:
1: typedef void perf_iterate_f(struct perf_event___2 *, void *);
1:
1: struct remote_output {
1: - struct ring_buffer___2 *rb;
1: - int err;
1: + struct ring_buffer___2 *rb;
1: + int err;
1: };
1:
1: struct perf_task_event {
1: - struct task_struct___2 *task;
1: - struct perf_event_context___2 *task_ctx;
1: - struct {
1: - struct perf_event_header header;
1: - u32 pid;
1: - u32 ppid;
1: - u32 tid;
1: - u32 ptid;
1: - u64 time;
1: - } event_id;
1: + struct task_struct___2 *task;
1: + struct perf_event_context___2 *task_ctx;
1: + struct {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 ppid;
1: + u32 tid;
1: + u32 ptid;
1: + u64 time;
1: + } event_id;
1: };
1:
1: struct perf_comm_event {
1: - struct task_struct___2 *task;
1: - char *comm;
1: - int comm_size;
1: - struct {
1: - struct perf_event_header header;
1: - u32 pid;
1: - u32 tid;
1: - } event_id;
1: + struct task_struct___2 *task;
1: + char *comm;
1: + int comm_size;
1: + struct {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: + } event_id;
1: };
1:
1: struct perf_namespaces_event {
1: - struct task_struct___2 *task;
1: - struct {
1: - struct perf_event_header header;
1: - u32 pid;
1: - u32 tid;
1: - u64 nr_namespaces;
1: - struct perf_ns_link_info link_info[7];
1: - } event_id;
1: + struct task_struct___2 *task;
1: + struct {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: + u64 nr_namespaces;
1: + struct perf_ns_link_info link_info[7];
1: + } event_id;
1: };
1:
1: struct perf_mmap_event {
1: - struct vm_area_struct___2 *vma;
1: - const char *file_name;
1: - int file_size;
1: - int maj;
1: - int min;
1: - u64 ino;
1: - u64 ino_generation;
1: - u32 prot;
1: - u32 flags;
1: - struct {
1: - struct perf_event_header header;
1: - u32 pid;
1: - u32 tid;
1: - u64 start;
1: - u64 len;
1: - u64 pgoff;
1: - } event_id;
1: + struct vm_area_struct___2 *vma;
1: + const char *file_name;
1: + int file_size;
1: + int maj;
1: + int min;
1: + u64 ino;
1: + u64 ino_generation;
1: + u32 prot;
1: + u32 flags;
1: + struct {
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: + u64 start;
1: + u64 len;
1: + u64 pgoff;
1: + } event_id;
1: };
1:
1: struct perf_switch_event {
1: - struct task_struct___2 *task;
1: - struct task_struct___2 *next_prev;
1: - struct {
1: - struct perf_event_header header;
1: - u32 next_prev_pid;
1: - u32 next_prev_tid;
1: - } event_id;
1: + struct task_struct___2 *task;
1: + struct task_struct___2 *next_prev;
1: + struct {
1: + struct perf_event_header header;
1: + u32 next_prev_pid;
1: + u32 next_prev_tid;
1: + } event_id;
1: };
1:
1: struct perf_ksymbol_event {
1: - const char *name;
1: - int name_len;
1: - struct {
1: - struct perf_event_header header;
1: - u64 addr;
1: - u32 len;
1: - u16 ksym_type;
1: - u16 flags;
1: - } event_id;
1: + const char *name;
1: + int name_len;
1: + struct {
1: + struct perf_event_header header;
1: + u64 addr;
1: + u32 len;
1: + u16 ksym_type;
1: + u16 flags;
1: + } event_id;
1: };
1:
1: struct perf_bpf_event {
1: - struct bpf_prog___2 *prog;
1: - struct {
1: - struct perf_event_header header;
1: - u16 type;
1: - u16 flags;
1: - u32 id;
1: - u8 tag[8];
1: - } event_id;
1: + struct bpf_prog___2 *prog;
1: + struct {
1: + struct perf_event_header header;
1: + u16 type;
1: + u16 flags;
1: + u32 id;
1: + u8 tag[8];
1: + } event_id;
1: };
1:
1: struct swevent_htable {
1: - struct swevent_hlist *swevent_hlist;
1: - struct mutex hlist_mutex;
1: - int hlist_refcount;
1: - int recursion[4];
1: + struct swevent_hlist *swevent_hlist;
1: + struct mutex hlist_mutex;
1: + int hlist_refcount;
1: + int recursion[4];
1: };
1:
1: enum perf_probe_config {
1: - PERF_PROBE_CONFIG_IS_RETPROBE = 1,
1: - PERF_UPROBE_REF_CTR_OFFSET_BITS = 32,
1: - PERF_UPROBE_REF_CTR_OFFSET_SHIFT = 32,
1: + PERF_PROBE_CONFIG_IS_RETPROBE = 1,
1: + PERF_UPROBE_REF_CTR_OFFSET_BITS = 32,
1: + PERF_UPROBE_REF_CTR_OFFSET_SHIFT = 32,
1: };
1:
1: enum {
1: - IF_ACT_NONE = -1,
1: - IF_ACT_FILTER = 0,
1: - IF_ACT_START = 1,
1: - IF_ACT_STOP = 2,
1: - IF_SRC_FILE = 3,
1: - IF_SRC_KERNEL = 4,
1: - IF_SRC_FILEADDR = 5,
1: - IF_SRC_KERNELADDR = 6,
1: + IF_ACT_NONE = -1,
1: + IF_ACT_FILTER = 0,
1: + IF_ACT_START = 1,
1: + IF_ACT_STOP = 2,
1: + IF_SRC_FILE = 3,
1: + IF_SRC_KERNEL = 4,
1: + IF_SRC_FILEADDR = 5,
1: + IF_SRC_KERNELADDR = 6,
1: };
1:
1: enum {
1: - IF_STATE_ACTION = 0,
1: - IF_STATE_SOURCE = 1,
1: - IF_STATE_END = 2,
1: + IF_STATE_ACTION = 0,
1: + IF_STATE_SOURCE = 1,
1: + IF_STATE_END = 2,
1: };
1:
1: struct perf_aux_event {
1: - struct perf_event_header header;
1: - u32 pid;
1: - u32 tid;
1: + struct perf_event_header header;
1: + u32 pid;
1: + u32 tid;
1: };
1:
1: struct perf_aux_event___2 {
1: - struct perf_event_header header;
1: - u64 offset;
1: - u64 size;
1: - u64 flags;
1: + struct perf_event_header header;
1: + u64 offset;
1: + u64 size;
1: + u64 flags;
1: };
1:
1: enum perf_callchain_context {
1: - PERF_CONTEXT_HV = -32,
1: - PERF_CONTEXT_KERNEL = -128,
1: - PERF_CONTEXT_USER = -512,
1: - PERF_CONTEXT_GUEST = -2048,
1: - PERF_CONTEXT_GUEST_KERNEL = -2176,
1: - PERF_CONTEXT_GUEST_USER = -2560,
1: - PERF_CONTEXT_MAX = -4095,
1: + PERF_CONTEXT_HV = -32,
1: + PERF_CONTEXT_KERNEL = -128,
1: + PERF_CONTEXT_USER = -512,
1: + PERF_CONTEXT_GUEST = -2048,
1: + PERF_CONTEXT_GUEST_KERNEL = -2176,
1: + PERF_CONTEXT_GUEST_USER = -2560,
1: + PERF_CONTEXT_MAX = -4095,
1: };
1:
1: struct callchain_cpus_entries {
1: - struct callback_head callback_head;
1: - struct perf_callchain_entry *cpu_entries[0];
1: + struct callback_head callback_head;
1: + struct perf_callchain_entry *cpu_entries[0];
1: };
1:
1: enum bp_type_idx {
1: - TYPE_INST = 0,
1: - TYPE_DATA = 0,
1: - TYPE_MAX = 1,
1: + TYPE_INST = 0,
1: + TYPE_DATA = 0,
1: + TYPE_MAX = 1,
1: };
1:
1: struct bp_cpuinfo {
1: - unsigned int cpu_pinned;
1: - unsigned int *tsk_pinned;
1: - unsigned int flexible;
1: + unsigned int cpu_pinned;
1: + unsigned int *tsk_pinned;
1: + unsigned int flexible;
1: };
1:
1: struct bp_busy_slots {
1: - unsigned int pinned;
1: - unsigned int flexible;
1: + unsigned int pinned;
1: + unsigned int flexible;
1: };
1:
1: typedef u8 uprobe_opcode_t;
1:
1: struct uprobe {
1: - struct rb_node rb_node;
1: - refcount_t ref;
1: - struct rw_semaphore register_rwsem;
1: - struct rw_semaphore consumer_rwsem;
1: - struct list_head pending_list;
1: - struct uprobe_consumer *consumers;
1: - struct inode___2 *inode;
1: - loff_t offset;
1: - loff_t ref_ctr_offset;
1: - long unsigned int flags;
1: - struct arch_uprobe arch;
1: + struct rb_node rb_node;
1: + refcount_t ref;
1: + struct rw_semaphore register_rwsem;
1: + struct rw_semaphore consumer_rwsem;
1: + struct list_head pending_list;
1: + struct uprobe_consumer *consumers;
1: + struct inode___2 *inode;
1: + loff_t offset;
1: + loff_t ref_ctr_offset;
1: + long unsigned int flags;
1: + struct arch_uprobe arch;
1: };
1:
1: struct xol_area {
1: - wait_queue_head_t wq;
1: - atomic_t slot_count;
1: - long unsigned int *bitmap;
1: - struct vm_special_mapping xol_mapping;
1: - struct page___2 *pages[2];
1: - long unsigned int vaddr;
1: + wait_queue_head_t wq;
1: + atomic_t slot_count;
1: + long unsigned int *bitmap;
1: + struct vm_special_mapping xol_mapping;
1: + struct page___2 *pages[2];
1: + long unsigned int vaddr;
1: };
1:
1: struct compact_control;
1:
1: struct capture_control {
1: - struct compact_control *cc;
1: - struct page___2 *page;
1: + struct compact_control *cc;
1: + struct page___2 *page;
1: };
1:
1: typedef int filler_t(void *, struct page___2 *);
1:
1: struct page_vma_mapped_walk {
1: - struct page___2 *page;
1: - struct vm_area_struct___2 *vma;
1: - long unsigned int address;
1: - pmd_t *pmd;
1: - pte_t *pte;
1: - spinlock_t *ptl;
1: - unsigned int flags;
1: + struct page___2 *page;
1: + struct vm_area_struct___2 *vma;
1: + long unsigned int address;
1: + pmd_t *pmd;
1: + pte_t *pte;
1: + spinlock_t *ptl;
1: + unsigned int flags;
1: };
1:
1: enum mmu_notifier_event {
1: - MMU_NOTIFY_UNMAP = 0,
1: - MMU_NOTIFY_CLEAR = 1,
1: - MMU_NOTIFY_PROTECTION_VMA = 2,
1: - MMU_NOTIFY_PROTECTION_PAGE = 3,
1: - MMU_NOTIFY_SOFT_DIRTY = 4,
1: - MMU_NOTIFY_RELEASE = 5,
1: + MMU_NOTIFY_UNMAP = 0,
1: + MMU_NOTIFY_CLEAR = 1,
1: + MMU_NOTIFY_PROTECTION_VMA = 2,
1: + MMU_NOTIFY_PROTECTION_PAGE = 3,
1: + MMU_NOTIFY_SOFT_DIRTY = 4,
1: + MMU_NOTIFY_RELEASE = 5,
1: };
1:
1: struct mmu_notifier_range {
1: - struct vm_area_struct___2 *vma;
1: - struct mm_struct___2 *mm;
1: - long unsigned int start;
1: - long unsigned int end;
1: - unsigned int flags;
1: - enum mmu_notifier_event event;
1: + struct vm_area_struct___2 *vma;
1: + struct mm_struct___2 *mm;
1: + long unsigned int start;
1: + long unsigned int end;
1: + unsigned int flags;
1: + enum mmu_notifier_event event;
1: };
1:
1: struct compact_control {
1: - struct list_head freepages;
1: - struct list_head migratepages;
1: - unsigned int nr_freepages;
1: - unsigned int nr_migratepages;
1: - long unsigned int free_pfn;
1: - long unsigned int migrate_pfn;
1: - long unsigned int fast_start_pfn;
1: - struct zone___2 *zone;
1: - long unsigned int total_migrate_scanned;
1: - long unsigned int total_free_scanned;
1: - short unsigned int fast_search_fail;
1: - short int search_order;
1: - const gfp_t gfp_mask;
1: - int order;
1: - int migratetype;
1: - const unsigned int alloc_flags;
1: - const int classzone_idx;
1: - enum migrate_mode mode;
1: - bool ignore_skip_hint;
1: - bool no_set_skip_hint;
1: - bool ignore_block_suitable;
1: - bool direct_compaction;
1: - bool whole_zone;
1: - bool contended;
1: - bool rescan;
1: + struct list_head freepages;
1: + struct list_head migratepages;
1: + unsigned int nr_freepages;
1: + unsigned int nr_migratepages;
1: + long unsigned int free_pfn;
1: + long unsigned int migrate_pfn;
1: + long unsigned int fast_start_pfn;
1: + struct zone___2 *zone;
1: + long unsigned int total_migrate_scanned;
1: + long unsigned int total_free_scanned;
1: + short unsigned int fast_search_fail;
1: + short int search_order;
1: + const gfp_t gfp_mask;
1: + int order;
1: + int migratetype;
1: + const unsigned int alloc_flags;
1: + const int classzone_idx;
1: + enum migrate_mode mode;
1: + bool ignore_skip_hint;
1: + bool no_set_skip_hint;
1: + bool ignore_block_suitable;
1: + bool direct_compaction;
1: + bool whole_zone;
1: + bool contended;
1: + bool rescan;
1: };
1:
1: struct delayed_uprobe {
1: - struct list_head list;
1: - struct uprobe *uprobe;
1: - struct mm_struct___2 *mm;
1: + struct list_head list;
1: + struct uprobe *uprobe;
1: + struct mm_struct___2 *mm;
1: };
1:
1: struct map_info {
1: - struct map_info *next;
1: - struct mm_struct___2 *mm;
1: - long unsigned int vaddr;
1: + struct map_info *next;
1: + struct mm_struct___2 *mm;
1: + long unsigned int vaddr;
1: };
1:
1: struct static_key_mod {
1: - struct static_key_mod *next;
1: - struct jump_entry *entries;
1: - struct module___2 *mod;
1: + struct static_key_mod *next;
1: + struct jump_entry *entries;
1: + struct module___2 *mod;
1: };
1:
1: struct static_key_deferred {
1: - struct static_key key;
1: - long unsigned int timeout;
1: - struct delayed_work work;
1: + struct static_key key;
1: + long unsigned int timeout;
1: + struct delayed_work work;
1: };
1:
1: typedef void (*dr_release_t___2)(struct device___2 *, void *);
1: @@ -35679,41 +35997,41 @@ typedef void (*dr_release_t___2)(struct device___2 *, void *);
1: typedef int (*dr_match_t___2)(struct device___2 *, void *, void *);
1:
1: enum rseq_cpu_id_state {
1: - RSEQ_CPU_ID_UNINITIALIZED = -1,
1: - RSEQ_CPU_ID_REGISTRATION_FAILED = -2,
1: + RSEQ_CPU_ID_UNINITIALIZED = -1,
1: + RSEQ_CPU_ID_REGISTRATION_FAILED = -2,
1: };
1:
1: enum rseq_flags {
1: - RSEQ_FLAG_UNREGISTER = 1,
1: + RSEQ_FLAG_UNREGISTER = 1,
1: };
1:
1: enum rseq_cs_flags {
1: - RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT = 1,
1: - RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL = 2,
1: - RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE = 4,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT = 1,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL = 2,
1: + RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE = 4,
1: };
1:
1: struct rseq_cs {
1: - __u32 version;
1: - __u32 flags;
1: - __u64 start_ip;
1: - __u64 post_commit_offset;
1: - __u64 abort_ip;
1: + __u32 version;
1: + __u32 flags;
1: + __u64 start_ip;
1: + __u64 post_commit_offset;
1: + __u64 abort_ip;
1: };
1:
1: struct trace_event_raw_rseq_update {
1: - struct trace_entry ent;
1: - s32 cpu_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + s32 cpu_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rseq_ip_fixup {
1: - struct trace_entry ent;
1: - long unsigned int regs_ip;
1: - long unsigned int start_ip;
1: - long unsigned int post_commit_offset;
1: - long unsigned int abort_ip;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int regs_ip;
1: + long unsigned int start_ip;
1: + long unsigned int post_commit_offset;
1: + long unsigned int abort_ip;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_rseq_update {};
1: @@ -35725,58 +36043,58 @@ struct __key_reference_with_attributes;
1: typedef struct __key_reference_with_attributes *key_ref_t;
1:
1: enum key_being_used_for {
1: - VERIFYING_MODULE_SIGNATURE = 0,
1: - VERIFYING_FIRMWARE_SIGNATURE = 1,
1: - VERIFYING_KEXEC_PE_SIGNATURE = 2,
1: - VERIFYING_KEY_SIGNATURE = 3,
1: - VERIFYING_KEY_SELF_SIGNATURE = 4,
1: - VERIFYING_UNSPECIFIED_SIGNATURE = 5,
1: - NR__KEY_BEING_USED_FOR = 6,
1: + VERIFYING_MODULE_SIGNATURE = 0,
1: + VERIFYING_FIRMWARE_SIGNATURE = 1,
1: + VERIFYING_KEXEC_PE_SIGNATURE = 2,
1: + VERIFYING_KEY_SIGNATURE = 3,
1: + VERIFYING_KEY_SELF_SIGNATURE = 4,
1: + VERIFYING_UNSPECIFIED_SIGNATURE = 5,
1: + NR__KEY_BEING_USED_FOR = 6,
1: };
1:
1: struct key_preparsed_payload {
1: - char *description;
1: - union key_payload payload;
1: - const void *data;
1: - size_t datalen;
1: - size_t quotalen;
1: - time64_t expiry;
1: + char *description;
1: + union key_payload payload;
1: + const void *data;
1: + size_t datalen;
1: + size_t quotalen;
1: + time64_t expiry;
1: };
1:
1: struct key_match_data {
1: - bool (*cmp)(const struct key *, const struct key_match_data *);
1: - const void *raw_data;
1: - void *preparsed;
1: - unsigned int lookup_type;
1: + bool (*cmp)(const struct key *, const struct key_match_data *);
1: + const void *raw_data;
1: + void *preparsed;
1: + unsigned int lookup_type;
1: };
1:
1: enum kernel_pkey_operation {
1: - kernel_pkey_encrypt = 0,
1: - kernel_pkey_decrypt = 1,
1: - kernel_pkey_sign = 2,
1: - kernel_pkey_verify = 3,
1: + kernel_pkey_encrypt = 0,
1: + kernel_pkey_decrypt = 1,
1: + kernel_pkey_sign = 2,
1: + kernel_pkey_verify = 3,
1: };
1:
1: struct kernel_pkey_params {
1: - struct key *key;
1: - const char *encoding;
1: - const char *hash_algo;
1: - char *info;
1: - __u32 in_len;
1: - union {
1: - __u32 out_len;
1: - __u32 in2_len;
1: - };
1: - enum kernel_pkey_operation op: 8;
1: + struct key *key;
1: + const char *encoding;
1: + const char *hash_algo;
1: + char *info;
1: + __u32 in_len;
1: + union {
1: + __u32 out_len;
1: + __u32 in2_len;
1: + };
1: + enum kernel_pkey_operation op : 8;
1: };
1:
1: struct kernel_pkey_query {
1: - __u32 supported_ops;
1: - __u32 key_size;
1: - __u16 max_data_size;
1: - __u16 max_sig_size;
1: - __u16 max_enc_size;
1: - __u16 max_dec_size;
1: + __u32 supported_ops;
1: + __u32 key_size;
1: + __u16 max_data_size;
1: + __u16 max_sig_size;
1: + __u16 max_enc_size;
1: + __u16 max_dec_size;
1: };
1:
1: struct pkcs7_message;
1: @@ -35784,110 +36102,110 @@ struct pkcs7_message;
1: typedef struct pglist_data___2 pg_data_t___2;
1:
1: struct xa_node {
1: - unsigned char shift;
1: - unsigned char offset;
1: - unsigned char count;
1: - unsigned char nr_values;
1: - struct xa_node *parent;
1: - struct xarray *array;
1: - union {
1: - struct list_head private_list;
1: - struct callback_head callback_head;
1: - };
1: - void *slots[64];
1: - union {
1: - long unsigned int tags[3];
1: - long unsigned int marks[3];
1: - };
1: + unsigned char shift;
1: + unsigned char offset;
1: + unsigned char count;
1: + unsigned char nr_values;
1: + struct xa_node *parent;
1: + struct xarray *array;
1: + union {
1: + struct list_head private_list;
1: + struct callback_head callback_head;
1: + };
1: + void *slots[64];
1: + union {
1: + long unsigned int tags[3];
1: + long unsigned int marks[3];
1: + };
1: };
1:
1: typedef void (*xa_update_node_t)(struct xa_node *);
1:
1: struct xa_state {
1: - struct xarray *xa;
1: - long unsigned int xa_index;
1: - unsigned char xa_shift;
1: - unsigned char xa_sibs;
1: - unsigned char xa_offset;
1: - unsigned char xa_pad;
1: - struct xa_node *xa_node;
1: - struct xa_node *xa_alloc;
1: - xa_update_node_t xa_update;
1: + struct xarray *xa;
1: + long unsigned int xa_index;
1: + unsigned char xa_shift;
1: + unsigned char xa_sibs;
1: + unsigned char xa_offset;
1: + unsigned char xa_pad;
1: + struct xa_node *xa_node;
1: + struct xa_node *xa_alloc;
1: + xa_update_node_t xa_update;
1: };
1:
1: enum positive_aop_returns {
1: - AOP_WRITEPAGE_ACTIVATE = 524288,
1: - AOP_TRUNCATED_PAGE = 524289,
1: + AOP_WRITEPAGE_ACTIVATE = 524288,
1: + AOP_TRUNCATED_PAGE = 524289,
1: };
1:
1: enum mapping_flags {
1: - AS_EIO = 0,
1: - AS_ENOSPC = 1,
1: - AS_MM_ALL_LOCKS = 2,
1: - AS_UNEVICTABLE = 3,
1: - AS_EXITING = 4,
1: - AS_NO_WRITEBACK_TAGS = 5,
1: + AS_EIO = 0,
1: + AS_ENOSPC = 1,
1: + AS_MM_ALL_LOCKS = 2,
1: + AS_UNEVICTABLE = 3,
1: + AS_EXITING = 4,
1: + AS_NO_WRITEBACK_TAGS = 5,
1: };
1:
1: enum iter_type {
1: - ITER_IOVEC = 4,
1: - ITER_KVEC = 8,
1: - ITER_BVEC = 16,
1: - ITER_PIPE = 32,
1: - ITER_DISCARD = 64,
1: + ITER_IOVEC = 4,
1: + ITER_KVEC = 8,
1: + ITER_BVEC = 16,
1: + ITER_PIPE = 32,
1: + ITER_DISCARD = 64,
1: };
1:
1: struct pagevec {
1: - unsigned char nr;
1: - bool percpu_pvec_drained;
1: - struct page___2 *pages[15];
1: + unsigned char nr;
1: + bool percpu_pvec_drained;
1: + struct page___2 *pages[15];
1: };
1:
1: struct fid {
1: - union {
1: - struct {
1: - u32 ino;
1: - u32 gen;
1: - u32 parent_ino;
1: - u32 parent_gen;
1: - } i32;
1: - struct {
1: - u32 block;
1: - u16 partref;
1: - u16 parent_partref;
1: - u32 generation;
1: - u32 parent_block;
1: - u32 parent_generation;
1: - } udf;
1: - __u32 raw[0];
1: - };
1: + union {
1: + struct {
1: + u32 ino;
1: + u32 gen;
1: + u32 parent_ino;
1: + u32 parent_gen;
1: + } i32;
1: + struct {
1: + u32 block;
1: + u16 partref;
1: + u16 parent_partref;
1: + u32 generation;
1: + u32 parent_block;
1: + u32 parent_generation;
1: + } udf;
1: + __u32 raw[0];
1: + };
1: };
1:
1: struct trace_event_raw_mm_filemap_op_page_cache {
1: - struct trace_entry ent;
1: - long unsigned int pfn;
1: - long unsigned int i_ino;
1: - long unsigned int index;
1: - dev_t s_dev;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + long unsigned int i_ino;
1: + long unsigned int index;
1: + dev_t s_dev;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_filemap_set_wb_err {
1: - struct trace_entry ent;
1: - long unsigned int i_ino;
1: - dev_t s_dev;
1: - errseq_t errseq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + errseq_t errseq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_file_check_and_advance_wb_err {
1: - struct trace_entry ent;
1: - struct file___2 *file;
1: - long unsigned int i_ino;
1: - dev_t s_dev;
1: - errseq_t old;
1: - errseq_t new;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct file___2 *file;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + errseq_t old;
1: + errseq_t new;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_mm_filemap_op_page_cache {};
1: @@ -35897,25 +36215,25 @@ struct trace_event_data_offsets_filemap_set_wb_err {};
1: struct trace_event_data_offsets_file_check_and_advance_wb_err {};
1:
1: struct wait_page_key {
1: - struct page___2 *page;
1: - int bit_nr;
1: - int page_match;
1: + struct page___2 *page;
1: + int bit_nr;
1: + int page_match;
1: };
1:
1: struct wait_page_queue {
1: - struct page___2 *page;
1: - int bit_nr;
1: - wait_queue_entry_t wait;
1: + struct page___2 *page;
1: + int bit_nr;
1: + wait_queue_entry_t wait;
1: };
1:
1: enum behavior {
1: - EXCLUSIVE = 0,
1: - SHARED = 1,
1: - DROP = 2,
1: + EXCLUSIVE = 0,
1: + SHARED = 1,
1: + DROP = 2,
1: };
1:
1: struct kmem_cache_order_objects {
1: - unsigned int x;
1: + unsigned int x;
1: };
1:
1: struct kmem_cache_cpu;
1: @@ -35923,167 +36241,167 @@ struct kmem_cache_cpu;
1: struct kmem_cache_node;
1:
1: struct kmem_cache {
1: - struct kmem_cache_cpu *cpu_slab;
1: - slab_flags_t flags;
1: - long unsigned int min_partial;
1: - unsigned int size;
1: - unsigned int object_size;
1: - unsigned int offset;
1: - unsigned int cpu_partial;
1: - struct kmem_cache_order_objects oo;
1: - struct kmem_cache_order_objects max;
1: - struct kmem_cache_order_objects min;
1: - gfp_t allocflags;
1: - int refcount;
1: - void (*ctor)(void *);
1: - unsigned int inuse;
1: - unsigned int align;
1: - unsigned int red_left_pad;
1: - const char *name;
1: - struct list_head list;
1: - struct kobject kobj;
1: - struct work_struct kobj_remove_work;
1: - unsigned int remote_node_defrag_ratio;
1: - unsigned int useroffset;
1: - unsigned int usersize;
1: - struct kmem_cache_node *node[64];
1: + struct kmem_cache_cpu *cpu_slab;
1: + slab_flags_t flags;
1: + long unsigned int min_partial;
1: + unsigned int size;
1: + unsigned int object_size;
1: + unsigned int offset;
1: + unsigned int cpu_partial;
1: + struct kmem_cache_order_objects oo;
1: + struct kmem_cache_order_objects max;
1: + struct kmem_cache_order_objects min;
1: + gfp_t allocflags;
1: + int refcount;
1: + void (*ctor)(void *);
1: + unsigned int inuse;
1: + unsigned int align;
1: + unsigned int red_left_pad;
1: + const char *name;
1: + struct list_head list;
1: + struct kobject kobj;
1: + struct work_struct kobj_remove_work;
1: + unsigned int remote_node_defrag_ratio;
1: + unsigned int useroffset;
1: + unsigned int usersize;
1: + struct kmem_cache_node *node[64];
1: };
1:
1: struct kmem_cache_cpu {
1: - void **freelist;
1: - long unsigned int tid;
1: - struct page___2 *page;
1: - struct page___2 *partial;
1: + void **freelist;
1: + long unsigned int tid;
1: + struct page___2 *page;
1: + struct page___2 *partial;
1: };
1:
1: struct kmem_cache_node {
1: - spinlock_t list_lock;
1: - long unsigned int nr_partial;
1: - struct list_head partial;
1: - atomic_long_t nr_slabs;
1: - atomic_long_t total_objects;
1: - struct list_head full;
1: + spinlock_t list_lock;
1: + long unsigned int nr_partial;
1: + struct list_head partial;
1: + atomic_long_t nr_slabs;
1: + atomic_long_t total_objects;
1: + struct list_head full;
1: };
1:
1: struct zap_details {
1: - struct address_space___2 *check_mapping;
1: - long unsigned int first_index;
1: - long unsigned int last_index;
1: + struct address_space___2 *check_mapping;
1: + long unsigned int first_index;
1: + long unsigned int last_index;
1: };
1:
1: enum oom_constraint {
1: - CONSTRAINT_NONE = 0,
1: - CONSTRAINT_CPUSET = 1,
1: - CONSTRAINT_MEMORY_POLICY = 2,
1: - CONSTRAINT_MEMCG = 3,
1: + CONSTRAINT_NONE = 0,
1: + CONSTRAINT_CPUSET = 1,
1: + CONSTRAINT_MEMORY_POLICY = 2,
1: + CONSTRAINT_MEMCG = 3,
1: };
1:
1: struct oom_control {
1: - struct zonelist___2 *zonelist;
1: - nodemask_t *nodemask;
1: - struct mem_cgroup *memcg;
1: - const gfp_t gfp_mask;
1: - const int order;
1: - long unsigned int totalpages;
1: - struct task_struct___2 *chosen;
1: - long unsigned int chosen_points;
1: - enum oom_constraint constraint;
1: + struct zonelist___2 *zonelist;
1: + nodemask_t *nodemask;
1: + struct mem_cgroup *memcg;
1: + const gfp_t gfp_mask;
1: + const int order;
1: + long unsigned int totalpages;
1: + struct task_struct___2 *chosen;
1: + long unsigned int chosen_points;
1: + enum oom_constraint constraint;
1: };
1:
1: enum memcg_memory_event {
1: - MEMCG_LOW = 0,
1: - MEMCG_HIGH = 1,
1: - MEMCG_MAX = 2,
1: - MEMCG_OOM = 3,
1: - MEMCG_OOM_KILL = 4,
1: - MEMCG_SWAP_MAX = 5,
1: - MEMCG_SWAP_FAIL = 6,
1: - MEMCG_NR_MEMORY_EVENTS = 7,
1: + MEMCG_LOW = 0,
1: + MEMCG_HIGH = 1,
1: + MEMCG_MAX = 2,
1: + MEMCG_OOM = 3,
1: + MEMCG_OOM_KILL = 4,
1: + MEMCG_SWAP_MAX = 5,
1: + MEMCG_SWAP_FAIL = 6,
1: + MEMCG_NR_MEMORY_EVENTS = 7,
1: };
1:
1: enum compact_priority {
1: - COMPACT_PRIO_SYNC_FULL = 0,
1: - MIN_COMPACT_PRIORITY = 0,
1: - COMPACT_PRIO_SYNC_LIGHT = 1,
1: - MIN_COMPACT_COSTLY_PRIORITY = 1,
1: - DEF_COMPACT_PRIORITY = 1,
1: - COMPACT_PRIO_ASYNC = 2,
1: - INIT_COMPACT_PRIORITY = 2,
1: + COMPACT_PRIO_SYNC_FULL = 0,
1: + MIN_COMPACT_PRIORITY = 0,
1: + COMPACT_PRIO_SYNC_LIGHT = 1,
1: + MIN_COMPACT_COSTLY_PRIORITY = 1,
1: + DEF_COMPACT_PRIORITY = 1,
1: + COMPACT_PRIO_ASYNC = 2,
1: + INIT_COMPACT_PRIORITY = 2,
1: };
1:
1: enum compact_result {
1: - COMPACT_NOT_SUITABLE_ZONE = 0,
1: - COMPACT_SKIPPED = 1,
1: - COMPACT_DEFERRED = 2,
1: - COMPACT_INACTIVE = 2,
1: - COMPACT_NO_SUITABLE_PAGE = 3,
1: - COMPACT_CONTINUE = 4,
1: - COMPACT_COMPLETE = 5,
1: - COMPACT_PARTIAL_SKIPPED = 6,
1: - COMPACT_CONTENDED = 7,
1: - COMPACT_SUCCESS = 8,
1: + COMPACT_NOT_SUITABLE_ZONE = 0,
1: + COMPACT_SKIPPED = 1,
1: + COMPACT_DEFERRED = 2,
1: + COMPACT_INACTIVE = 2,
1: + COMPACT_NO_SUITABLE_PAGE = 3,
1: + COMPACT_CONTINUE = 4,
1: + COMPACT_COMPLETE = 5,
1: + COMPACT_PARTIAL_SKIPPED = 6,
1: + COMPACT_CONTENDED = 7,
1: + COMPACT_SUCCESS = 8,
1: };
1:
1: struct trace_event_raw_oom_score_adj_update {
1: - struct trace_entry ent;
1: - pid_t pid;
1: - char comm[16];
1: - short int oom_score_adj;
1: - char __data[0];
1: + struct trace_entry ent;
1: + pid_t pid;
1: + char comm[16];
1: + short int oom_score_adj;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_reclaim_retry_zone {
1: - struct trace_entry ent;
1: - int node;
1: - int zone_idx;
1: - int order;
1: - long unsigned int reclaimable;
1: - long unsigned int available;
1: - long unsigned int min_wmark;
1: - int no_progress_loops;
1: - bool wmark_check;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int node;
1: + int zone_idx;
1: + int order;
1: + long unsigned int reclaimable;
1: + long unsigned int available;
1: + long unsigned int min_wmark;
1: + int no_progress_loops;
1: + bool wmark_check;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mark_victim {
1: - struct trace_entry ent;
1: - int pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wake_reaper {
1: - struct trace_entry ent;
1: - int pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_start_task_reaping {
1: - struct trace_entry ent;
1: - int pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_finish_task_reaping {
1: - struct trace_entry ent;
1: - int pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_skip_task_reaping {
1: - struct trace_entry ent;
1: - int pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_compact_retry {
1: - struct trace_entry ent;
1: - int order;
1: - int priority;
1: - int result;
1: - int retries;
1: - int max_retries;
1: - bool ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int order;
1: + int priority;
1: + int result;
1: + int retries;
1: + int max_retries;
1: + bool ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_oom_score_adj_update {};
1: @@ -36103,77 +36421,79 @@ struct trace_event_data_offsets_skip_task_reaping {};
1: struct trace_event_data_offsets_compact_retry {};
1:
1: enum wb_congested_state {
1: - WB_async_congested = 0,
1: - WB_sync_congested = 1,
1: + WB_async_congested = 0,
1: + WB_sync_congested = 1,
1: };
1:
1: -typedef void (*poll_queue_proc___3)(struct file___2 *, wait_queue_head_t *, struct poll_table_struct *);
1: +typedef void (*poll_queue_proc___3)(struct file___2 *, wait_queue_head_t *,
1: + struct poll_table_struct *);
1:
1: enum {
1: - XA_CHECK_SCHED = 4096,
1: + XA_CHECK_SCHED = 4096,
1: };
1:
1: struct fprop_global {
1: - struct percpu_counter events;
1: - unsigned int period;
1: - seqcount_t sequence;
1: + struct percpu_counter events;
1: + unsigned int period;
1: + seqcount_t sequence;
1: };
1:
1: enum wb_state {
1: - WB_registered = 0,
1: - WB_writeback_running = 1,
1: - WB_has_dirty_io = 2,
1: - WB_start_all = 3,
1: + WB_registered = 0,
1: + WB_writeback_running = 1,
1: + WB_has_dirty_io = 2,
1: + WB_start_all = 3,
1: };
1:
1: enum {
1: - BLK_RW_ASYNC = 0,
1: - BLK_RW_SYNC = 1,
1: + BLK_RW_ASYNC = 0,
1: + BLK_RW_SYNC = 1,
1: };
1:
1: struct wb_lock_cookie {
1: - bool locked;
1: - long unsigned int flags;
1: + bool locked;
1: + long unsigned int flags;
1: };
1:
1: struct wb_domain {
1: - spinlock_t lock;
1: - struct fprop_global completions;
1: - struct timer_list period_timer;
1: - long unsigned int period_time;
1: - long unsigned int dirty_limit_tstamp;
1: - long unsigned int dirty_limit;
1: + spinlock_t lock;
1: + struct fprop_global completions;
1: + struct timer_list period_timer;
1: + long unsigned int period_time;
1: + long unsigned int dirty_limit_tstamp;
1: + long unsigned int dirty_limit;
1: };
1:
1: -typedef int (*writepage_t)(struct page___2 *, struct writeback_control *, void *);
1: +typedef int (*writepage_t)(struct page___2 *, struct writeback_control *,
1: + void *);
1:
1: struct dirty_throttle_control {
1: - struct bdi_writeback *wb;
1: - struct fprop_local_percpu *wb_completions;
1: - long unsigned int avail;
1: - long unsigned int dirty;
1: - long unsigned int thresh;
1: - long unsigned int bg_thresh;
1: - long unsigned int wb_dirty;
1: - long unsigned int wb_thresh;
1: - long unsigned int wb_bg_thresh;
1: - long unsigned int pos_ratio;
1: + struct bdi_writeback *wb;
1: + struct fprop_local_percpu *wb_completions;
1: + long unsigned int avail;
1: + long unsigned int dirty;
1: + long unsigned int thresh;
1: + long unsigned int bg_thresh;
1: + long unsigned int wb_dirty;
1: + long unsigned int wb_thresh;
1: + long unsigned int wb_bg_thresh;
1: + long unsigned int pos_ratio;
1: };
1:
1: struct trace_event_raw_mm_lru_insertion {
1: - struct trace_entry ent;
1: - struct page___2 *page;
1: - long unsigned int pfn;
1: - int lru;
1: - long unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct page___2 *page;
1: + long unsigned int pfn;
1: + int lru;
1: + long unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_lru_activate {
1: - struct trace_entry ent;
1: - struct page___2 *page;
1: - long unsigned int pfn;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct page___2 *page;
1: + long unsigned int pfn;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_mm_lru_insertion {};
1: @@ -36181,180 +36501,180 @@ struct trace_event_data_offsets_mm_lru_insertion {};
1: struct trace_event_data_offsets_mm_lru_activate {};
1:
1: enum lruvec_flags {
1: - LRUVEC_CONGESTED = 0,
1: + LRUVEC_CONGESTED = 0,
1: };
1:
1: enum pgdat_flags {
1: - PGDAT_DIRTY = 0,
1: - PGDAT_WRITEBACK = 1,
1: - PGDAT_RECLAIM_LOCKED = 2,
1: + PGDAT_DIRTY = 0,
1: + PGDAT_WRITEBACK = 1,
1: + PGDAT_RECLAIM_LOCKED = 2,
1: };
1:
1: struct reclaim_stat {
1: - unsigned int nr_dirty;
1: - unsigned int nr_unqueued_dirty;
1: - unsigned int nr_congested;
1: - unsigned int nr_writeback;
1: - unsigned int nr_immediate;
1: - unsigned int nr_activate[2];
1: - unsigned int nr_ref_keep;
1: - unsigned int nr_unmap_fail;
1: + unsigned int nr_dirty;
1: + unsigned int nr_unqueued_dirty;
1: + unsigned int nr_congested;
1: + unsigned int nr_writeback;
1: + unsigned int nr_immediate;
1: + unsigned int nr_activate[2];
1: + unsigned int nr_ref_keep;
1: + unsigned int nr_unmap_fail;
1: };
1:
1: enum mem_cgroup_protection {
1: - MEMCG_PROT_NONE = 0,
1: - MEMCG_PROT_LOW = 1,
1: - MEMCG_PROT_MIN = 2,
1: + MEMCG_PROT_NONE = 0,
1: + MEMCG_PROT_LOW = 1,
1: + MEMCG_PROT_MIN = 2,
1: };
1:
1: struct mem_cgroup_reclaim_cookie {
1: - pg_data_t___2 *pgdat;
1: - unsigned int generation;
1: + pg_data_t___2 *pgdat;
1: + unsigned int generation;
1: };
1:
1: enum ttu_flags {
1: - TTU_MIGRATION = 1,
1: - TTU_MUNLOCK = 2,
1: - TTU_SPLIT_HUGE_PMD = 4,
1: - TTU_IGNORE_MLOCK = 8,
1: - TTU_IGNORE_ACCESS = 16,
1: - TTU_IGNORE_HWPOISON = 32,
1: - TTU_BATCH_FLUSH = 64,
1: - TTU_RMAP_LOCKED = 128,
1: - TTU_SPLIT_FREEZE = 256,
1: + TTU_MIGRATION = 1,
1: + TTU_MUNLOCK = 2,
1: + TTU_SPLIT_HUGE_PMD = 4,
1: + TTU_IGNORE_MLOCK = 8,
1: + TTU_IGNORE_ACCESS = 16,
1: + TTU_IGNORE_HWPOISON = 32,
1: + TTU_BATCH_FLUSH = 64,
1: + TTU_RMAP_LOCKED = 128,
1: + TTU_SPLIT_FREEZE = 256,
1: };
1:
1: struct trace_event_raw_mm_vmscan_kswapd_sleep {
1: - struct trace_entry ent;
1: - int nid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_kswapd_wake {
1: - struct trace_entry ent;
1: - int nid;
1: - int zid;
1: - int order;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + int zid;
1: + int order;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_wakeup_kswapd {
1: - struct trace_entry ent;
1: - int nid;
1: - int zid;
1: - int order;
1: - gfp_t gfp_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + int zid;
1: + int order;
1: + gfp_t gfp_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_direct_reclaim_begin_template {
1: - struct trace_entry ent;
1: - int order;
1: - gfp_t gfp_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int order;
1: + gfp_t gfp_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_direct_reclaim_end_template {
1: - struct trace_entry ent;
1: - long unsigned int nr_reclaimed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int nr_reclaimed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_shrink_slab_start {
1: - struct trace_entry ent;
1: - struct shrinker *shr;
1: - void *shrink;
1: - int nid;
1: - long int nr_objects_to_shrink;
1: - gfp_t gfp_flags;
1: - long unsigned int cache_items;
1: - long long unsigned int delta;
1: - long unsigned int total_scan;
1: - int priority;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct shrinker *shr;
1: + void *shrink;
1: + int nid;
1: + long int nr_objects_to_shrink;
1: + gfp_t gfp_flags;
1: + long unsigned int cache_items;
1: + long long unsigned int delta;
1: + long unsigned int total_scan;
1: + int priority;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_shrink_slab_end {
1: - struct trace_entry ent;
1: - struct shrinker *shr;
1: - int nid;
1: - void *shrink;
1: - long int unused_scan;
1: - long int new_scan;
1: - int retval;
1: - long int total_scan;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct shrinker *shr;
1: + int nid;
1: + void *shrink;
1: + long int unused_scan;
1: + long int new_scan;
1: + int retval;
1: + long int total_scan;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_lru_isolate {
1: - struct trace_entry ent;
1: - int classzone_idx;
1: - int order;
1: - long unsigned int nr_requested;
1: - long unsigned int nr_scanned;
1: - long unsigned int nr_skipped;
1: - long unsigned int nr_taken;
1: - isolate_mode_t isolate_mode;
1: - int lru;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int classzone_idx;
1: + int order;
1: + long unsigned int nr_requested;
1: + long unsigned int nr_scanned;
1: + long unsigned int nr_skipped;
1: + long unsigned int nr_taken;
1: + isolate_mode_t isolate_mode;
1: + int lru;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_writepage {
1: - struct trace_entry ent;
1: - long unsigned int pfn;
1: - int reclaim_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + int reclaim_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_lru_shrink_inactive {
1: - struct trace_entry ent;
1: - int nid;
1: - long unsigned int nr_scanned;
1: - long unsigned int nr_reclaimed;
1: - long unsigned int nr_dirty;
1: - long unsigned int nr_writeback;
1: - long unsigned int nr_congested;
1: - long unsigned int nr_immediate;
1: - unsigned int nr_activate0;
1: - unsigned int nr_activate1;
1: - long unsigned int nr_ref_keep;
1: - long unsigned int nr_unmap_fail;
1: - int priority;
1: - int reclaim_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + long unsigned int nr_scanned;
1: + long unsigned int nr_reclaimed;
1: + long unsigned int nr_dirty;
1: + long unsigned int nr_writeback;
1: + long unsigned int nr_congested;
1: + long unsigned int nr_immediate;
1: + unsigned int nr_activate0;
1: + unsigned int nr_activate1;
1: + long unsigned int nr_ref_keep;
1: + long unsigned int nr_unmap_fail;
1: + int priority;
1: + int reclaim_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_lru_shrink_active {
1: - struct trace_entry ent;
1: - int nid;
1: - long unsigned int nr_taken;
1: - long unsigned int nr_active;
1: - long unsigned int nr_deactivated;
1: - long unsigned int nr_referenced;
1: - int priority;
1: - int reclaim_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + long unsigned int nr_taken;
1: + long unsigned int nr_active;
1: + long unsigned int nr_deactivated;
1: + long unsigned int nr_referenced;
1: + int priority;
1: + int reclaim_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_inactive_list_is_low {
1: - struct trace_entry ent;
1: - int nid;
1: - int reclaim_idx;
1: - long unsigned int total_inactive;
1: - long unsigned int inactive;
1: - long unsigned int total_active;
1: - long unsigned int active;
1: - long unsigned int ratio;
1: - int reclaim_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + int reclaim_idx;
1: + long unsigned int total_inactive;
1: + long unsigned int inactive;
1: + long unsigned int total_active;
1: + long unsigned int active;
1: + long unsigned int ratio;
1: + int reclaim_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_vmscan_node_reclaim_begin {
1: - struct trace_entry ent;
1: - int nid;
1: - int order;
1: - gfp_t gfp_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + int order;
1: + gfp_t gfp_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_mm_vmscan_kswapd_sleep {};
1: @@ -36384,72 +36704,72 @@ struct trace_event_data_offsets_mm_vmscan_inactive_list_is_low {};
1: struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {};
1:
1: struct scan_control {
1: - long unsigned int nr_to_reclaim;
1: - nodemask_t *nodemask;
1: - struct mem_cgroup *target_mem_cgroup;
1: - unsigned int may_deactivate: 2;
1: - unsigned int force_deactivate: 1;
1: - unsigned int skipped_deactivate: 1;
1: - unsigned int may_writepage: 1;
1: - unsigned int may_unmap: 1;
1: - unsigned int may_swap: 1;
1: - unsigned int memcg_low_reclaim: 1;
1: - unsigned int memcg_low_skipped: 1;
1: - unsigned int hibernation_mode: 1;
1: - unsigned int compaction_ready: 1;
1: - unsigned int cache_trim_mode: 1;
1: - unsigned int file_is_tiny: 1;
1: - s8 order;
1: - s8 priority;
1: - s8 reclaim_idx;
1: - gfp_t gfp_mask;
1: - long unsigned int nr_scanned;
1: - long unsigned int nr_reclaimed;
1: - struct {
1: - unsigned int dirty;
1: - unsigned int unqueued_dirty;
1: - unsigned int congested;
1: - unsigned int writeback;
1: - unsigned int immediate;
1: - unsigned int file_taken;
1: - unsigned int taken;
1: - } nr;
1: - struct reclaim_state reclaim_state;
1: + long unsigned int nr_to_reclaim;
1: + nodemask_t *nodemask;
1: + struct mem_cgroup *target_mem_cgroup;
1: + unsigned int may_deactivate : 2;
1: + unsigned int force_deactivate : 1;
1: + unsigned int skipped_deactivate : 1;
1: + unsigned int may_writepage : 1;
1: + unsigned int may_unmap : 1;
1: + unsigned int may_swap : 1;
1: + unsigned int memcg_low_reclaim : 1;
1: + unsigned int memcg_low_skipped : 1;
1: + unsigned int hibernation_mode : 1;
1: + unsigned int compaction_ready : 1;
1: + unsigned int cache_trim_mode : 1;
1: + unsigned int file_is_tiny : 1;
1: + s8 order;
1: + s8 priority;
1: + s8 reclaim_idx;
1: + gfp_t gfp_mask;
1: + long unsigned int nr_scanned;
1: + long unsigned int nr_reclaimed;
1: + struct {
1: + unsigned int dirty;
1: + unsigned int unqueued_dirty;
1: + unsigned int congested;
1: + unsigned int writeback;
1: + unsigned int immediate;
1: + unsigned int file_taken;
1: + unsigned int taken;
1: + } nr;
1: + struct reclaim_state reclaim_state;
1: };
1:
1: typedef enum {
1: - PAGE_KEEP = 0,
1: - PAGE_ACTIVATE = 1,
1: - PAGE_SUCCESS = 2,
1: - PAGE_CLEAN = 3,
1: + PAGE_KEEP = 0,
1: + PAGE_ACTIVATE = 1,
1: + PAGE_SUCCESS = 2,
1: + PAGE_CLEAN = 3,
1: } pageout_t;
1:
1: enum page_references {
1: - PAGEREF_RECLAIM = 0,
1: - PAGEREF_RECLAIM_CLEAN = 1,
1: - PAGEREF_KEEP = 2,
1: - PAGEREF_ACTIVATE = 3,
1: + PAGEREF_RECLAIM = 0,
1: + PAGEREF_RECLAIM_CLEAN = 1,
1: + PAGEREF_KEEP = 2,
1: + PAGEREF_ACTIVATE = 3,
1: };
1:
1: enum scan_balance {
1: - SCAN_EQUAL = 0,
1: - SCAN_FRACT = 1,
1: - SCAN_ANON = 2,
1: - SCAN_FILE = 3,
1: + SCAN_EQUAL = 0,
1: + SCAN_FRACT = 1,
1: + SCAN_ANON = 2,
1: + SCAN_FILE = 3,
1: };
1:
1: enum {
1: - MPOL_DEFAULT = 0,
1: - MPOL_PREFERRED = 1,
1: - MPOL_BIND = 2,
1: - MPOL_INTERLEAVE = 3,
1: - MPOL_LOCAL = 4,
1: - MPOL_MAX = 5,
1: + MPOL_DEFAULT = 0,
1: + MPOL_PREFERRED = 1,
1: + MPOL_BIND = 2,
1: + MPOL_INTERLEAVE = 3,
1: + MPOL_LOCAL = 4,
1: + MPOL_MAX = 5,
1: };
1:
1: struct shared_policy {
1: - struct rb_root root;
1: - rwlock_t lock;
1: + struct rb_root root;
1: + rwlock_t lock;
1: };
1:
1: struct xattr;
1: @@ -36457,194 +36777,195 @@ struct xattr;
1: typedef int (*initxattrs)(struct inode___2 *, const struct xattr *, void *);
1:
1: struct xattr {
1: - const char *name;
1: - void *value;
1: - size_t value_len;
1: + const char *name;
1: + void *value;
1: + size_t value_len;
1: };
1:
1: struct simple_xattrs {
1: - struct list_head head;
1: - spinlock_t lock;
1: + struct list_head head;
1: + spinlock_t lock;
1: };
1:
1: struct simple_xattr {
1: - struct list_head list;
1: - char *name;
1: - size_t size;
1: - char value[0];
1: + struct list_head list;
1: + char *name;
1: + size_t size;
1: + char value[0];
1: };
1:
1: enum fid_type {
1: - FILEID_ROOT = 0,
1: - FILEID_INO32_GEN = 1,
1: - FILEID_INO32_GEN_PARENT = 2,
1: - FILEID_BTRFS_WITHOUT_PARENT = 77,
1: - FILEID_BTRFS_WITH_PARENT = 78,
1: - FILEID_BTRFS_WITH_PARENT_ROOT = 79,
1: - FILEID_UDF_WITHOUT_PARENT = 81,
1: - FILEID_UDF_WITH_PARENT = 82,
1: - FILEID_NILFS_WITHOUT_PARENT = 97,
1: - FILEID_NILFS_WITH_PARENT = 98,
1: - FILEID_FAT_WITHOUT_PARENT = 113,
1: - FILEID_FAT_WITH_PARENT = 114,
1: - FILEID_LUSTRE = 151,
1: - FILEID_KERNFS = 254,
1: - FILEID_INVALID = 255,
1: + FILEID_ROOT = 0,
1: + FILEID_INO32_GEN = 1,
1: + FILEID_INO32_GEN_PARENT = 2,
1: + FILEID_BTRFS_WITHOUT_PARENT = 77,
1: + FILEID_BTRFS_WITH_PARENT = 78,
1: + FILEID_BTRFS_WITH_PARENT_ROOT = 79,
1: + FILEID_UDF_WITHOUT_PARENT = 81,
1: + FILEID_UDF_WITH_PARENT = 82,
1: + FILEID_NILFS_WITHOUT_PARENT = 97,
1: + FILEID_NILFS_WITH_PARENT = 98,
1: + FILEID_FAT_WITHOUT_PARENT = 113,
1: + FILEID_FAT_WITH_PARENT = 114,
1: + FILEID_LUSTRE = 151,
1: + FILEID_KERNFS = 254,
1: + FILEID_INVALID = 255,
1: };
1:
1: struct shmem_inode_info {
1: - spinlock_t lock;
1: - unsigned int seals;
1: - long unsigned int flags;
1: - long unsigned int alloced;
1: - long unsigned int swapped;
1: - struct list_head shrinklist;
1: - struct list_head swaplist;
1: - struct shared_policy policy;
1: - struct simple_xattrs xattrs;
1: - atomic_t stop_eviction;
1: - struct inode___2 vfs_inode;
1: + spinlock_t lock;
1: + unsigned int seals;
1: + long unsigned int flags;
1: + long unsigned int alloced;
1: + long unsigned int swapped;
1: + struct list_head shrinklist;
1: + struct list_head swaplist;
1: + struct shared_policy policy;
1: + struct simple_xattrs xattrs;
1: + atomic_t stop_eviction;
1: + struct inode___2 vfs_inode;
1: };
1:
1: struct shmem_sb_info {
1: - long unsigned int max_blocks;
1: - struct percpu_counter used_blocks;
1: - long unsigned int max_inodes;
1: - long unsigned int free_inodes;
1: - spinlock_t stat_lock;
1: - umode_t mode;
1: - unsigned char huge;
1: - kuid_t uid;
1: - kgid_t gid;
1: - struct mempolicy *mpol;
1: - spinlock_t shrinklist_lock;
1: - struct list_head shrinklist;
1: - long unsigned int shrinklist_len;
1: + long unsigned int max_blocks;
1: + struct percpu_counter used_blocks;
1: + long unsigned int max_inodes;
1: + long unsigned int free_inodes;
1: + spinlock_t stat_lock;
1: + umode_t mode;
1: + unsigned char huge;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct mempolicy *mpol;
1: + spinlock_t shrinklist_lock;
1: + struct list_head shrinklist;
1: + long unsigned int shrinklist_len;
1: };
1:
1: enum sgp_type {
1: - SGP_READ = 0,
1: - SGP_CACHE = 1,
1: - SGP_NOHUGE = 2,
1: - SGP_HUGE = 3,
1: - SGP_WRITE = 4,
1: - SGP_FALLOC = 5,
1: + SGP_READ = 0,
1: + SGP_CACHE = 1,
1: + SGP_NOHUGE = 2,
1: + SGP_HUGE = 3,
1: + SGP_WRITE = 4,
1: + SGP_FALLOC = 5,
1: };
1:
1: -typedef void (*poll_queue_proc___4)(struct file *, wait_queue_head_t *, struct poll_table_struct___2 *);
1: +typedef void (*poll_queue_proc___4)(struct file *, wait_queue_head_t *,
1: + struct poll_table_struct___2 *);
1:
1: struct shmem_falloc {
1: - wait_queue_head_t *waitq;
1: - long unsigned int start;
1: - long unsigned int next;
1: - long unsigned int nr_falloced;
1: - long unsigned int nr_unswapped;
1: + wait_queue_head_t *waitq;
1: + long unsigned int start;
1: + long unsigned int next;
1: + long unsigned int nr_falloced;
1: + long unsigned int nr_unswapped;
1: };
1:
1: struct shmem_options {
1: - long long unsigned int blocks;
1: - long long unsigned int inodes;
1: - struct mempolicy *mpol;
1: - kuid_t uid;
1: - kgid_t gid;
1: - umode_t mode;
1: - int huge;
1: - int seen;
1: + long long unsigned int blocks;
1: + long long unsigned int inodes;
1: + struct mempolicy *mpol;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: + int huge;
1: + int seen;
1: };
1:
1: enum shmem_param {
1: - Opt_gid = 0,
1: - Opt_huge = 1,
1: - Opt_mode = 2,
1: - Opt_mpol = 3,
1: - Opt_nr_blocks = 4,
1: - Opt_nr_inodes = 5,
1: - Opt_size = 6,
1: - Opt_uid = 7,
1: + Opt_gid = 0,
1: + Opt_huge = 1,
1: + Opt_mode = 2,
1: + Opt_mpol = 3,
1: + Opt_nr_blocks = 4,
1: + Opt_nr_inodes = 5,
1: + Opt_size = 6,
1: + Opt_uid = 7,
1: };
1:
1: enum pageblock_bits {
1: - PB_migrate = 0,
1: - PB_migrate_end = 2,
1: - PB_migrate_skip = 3,
1: - NR_PAGEBLOCK_BITS = 4,
1: + PB_migrate = 0,
1: + PB_migrate_end = 2,
1: + PB_migrate_skip = 3,
1: + NR_PAGEBLOCK_BITS = 4,
1: };
1:
1: enum writeback_stat_item {
1: - NR_DIRTY_THRESHOLD = 0,
1: - NR_DIRTY_BG_THRESHOLD = 1,
1: - NR_VM_WRITEBACK_STAT_ITEMS = 2,
1: + NR_DIRTY_THRESHOLD = 0,
1: + NR_DIRTY_BG_THRESHOLD = 1,
1: + NR_VM_WRITEBACK_STAT_ITEMS = 2,
1: };
1:
1: struct contig_page_info {
1: - long unsigned int free_pages;
1: - long unsigned int free_blocks_total;
1: - long unsigned int free_blocks_suitable;
1: + long unsigned int free_pages;
1: + long unsigned int free_blocks_total;
1: + long unsigned int free_blocks_suitable;
1: };
1:
1: enum mminit_level {
1: - MMINIT_WARNING = 0,
1: - MMINIT_VERIFY = 1,
1: - MMINIT_TRACE = 2,
1: + MMINIT_WARNING = 0,
1: + MMINIT_VERIFY = 1,
1: + MMINIT_TRACE = 2,
1: };
1:
1: struct pcpu_group_info {
1: - int nr_units;
1: - long unsigned int base_offset;
1: - unsigned int *cpu_map;
1: + int nr_units;
1: + long unsigned int base_offset;
1: + unsigned int *cpu_map;
1: };
1:
1: struct pcpu_alloc_info {
1: - size_t static_size;
1: - size_t reserved_size;
1: - size_t dyn_size;
1: - size_t unit_size;
1: - size_t atom_size;
1: - size_t alloc_size;
1: - size_t __ai_size;
1: - int nr_groups;
1: - struct pcpu_group_info groups[0];
1: + size_t static_size;
1: + size_t reserved_size;
1: + size_t dyn_size;
1: + size_t unit_size;
1: + size_t atom_size;
1: + size_t alloc_size;
1: + size_t __ai_size;
1: + int nr_groups;
1: + struct pcpu_group_info groups[0];
1: };
1:
1: struct trace_event_raw_percpu_alloc_percpu {
1: - struct trace_entry ent;
1: - bool reserved;
1: - bool is_atomic;
1: - size_t size;
1: - size_t align;
1: - void *base_addr;
1: - int off;
1: - void *ptr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + bool reserved;
1: + bool is_atomic;
1: + size_t size;
1: + size_t align;
1: + void *base_addr;
1: + int off;
1: + void *ptr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_percpu_free_percpu {
1: - struct trace_entry ent;
1: - void *base_addr;
1: - int off;
1: - void *ptr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *base_addr;
1: + int off;
1: + void *ptr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_percpu_alloc_percpu_fail {
1: - struct trace_entry ent;
1: - bool reserved;
1: - bool is_atomic;
1: - size_t size;
1: - size_t align;
1: - char __data[0];
1: + struct trace_entry ent;
1: + bool reserved;
1: + bool is_atomic;
1: + size_t size;
1: + size_t align;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_percpu_create_chunk {
1: - struct trace_entry ent;
1: - void *base_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *base_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_percpu_destroy_chunk {
1: - struct trace_entry ent;
1: - void *base_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *base_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_percpu_alloc_percpu {};
1: @@ -36658,118 +36979,118 @@ struct trace_event_data_offsets_percpu_create_chunk {};
1: struct trace_event_data_offsets_percpu_destroy_chunk {};
1:
1: struct pcpu_block_md {
1: - int scan_hint;
1: - int scan_hint_start;
1: - int contig_hint;
1: - int contig_hint_start;
1: - int left_free;
1: - int right_free;
1: - int first_free;
1: - int nr_bits;
1: + int scan_hint;
1: + int scan_hint_start;
1: + int contig_hint;
1: + int contig_hint_start;
1: + int left_free;
1: + int right_free;
1: + int first_free;
1: + int nr_bits;
1: };
1:
1: struct pcpu_chunk {
1: - struct list_head list;
1: - int free_bytes;
1: - struct pcpu_block_md chunk_md;
1: - void *base_addr;
1: - long unsigned int *alloc_map;
1: - long unsigned int *bound_map;
1: - struct pcpu_block_md *md_blocks;
1: - void *data;
1: - bool immutable;
1: - int start_offset;
1: - int end_offset;
1: - int nr_pages;
1: - int nr_populated;
1: - int nr_empty_pop_pages;
1: - long unsigned int populated[0];
1: + struct list_head list;
1: + int free_bytes;
1: + struct pcpu_block_md chunk_md;
1: + void *base_addr;
1: + long unsigned int *alloc_map;
1: + long unsigned int *bound_map;
1: + struct pcpu_block_md *md_blocks;
1: + void *data;
1: + bool immutable;
1: + int start_offset;
1: + int end_offset;
1: + int nr_pages;
1: + int nr_populated;
1: + int nr_empty_pop_pages;
1: + long unsigned int populated[0];
1: };
1:
1: struct trace_event_raw_kmem_alloc {
1: - struct trace_entry ent;
1: - long unsigned int call_site;
1: - const void *ptr;
1: - size_t bytes_req;
1: - size_t bytes_alloc;
1: - gfp_t gfp_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int call_site;
1: + const void *ptr;
1: + size_t bytes_req;
1: + size_t bytes_alloc;
1: + gfp_t gfp_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_kmem_alloc_node {
1: - struct trace_entry ent;
1: - long unsigned int call_site;
1: - const void *ptr;
1: - size_t bytes_req;
1: - size_t bytes_alloc;
1: - gfp_t gfp_flags;
1: - int node;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int call_site;
1: + const void *ptr;
1: + size_t bytes_req;
1: + size_t bytes_alloc;
1: + gfp_t gfp_flags;
1: + int node;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_kmem_free {
1: - struct trace_entry ent;
1: - long unsigned int call_site;
1: - const void *ptr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int call_site;
1: + const void *ptr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_page_free {
1: - struct trace_entry ent;
1: - long unsigned int pfn;
1: - unsigned int order;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + unsigned int order;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_page_free_batched {
1: - struct trace_entry ent;
1: - long unsigned int pfn;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_page_alloc {
1: - struct trace_entry ent;
1: - long unsigned int pfn;
1: - unsigned int order;
1: - gfp_t gfp_flags;
1: - int migratetype;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + unsigned int order;
1: + gfp_t gfp_flags;
1: + int migratetype;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_page {
1: - struct trace_entry ent;
1: - long unsigned int pfn;
1: - unsigned int order;
1: - int migratetype;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + unsigned int order;
1: + int migratetype;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_page_pcpu_drain {
1: - struct trace_entry ent;
1: - long unsigned int pfn;
1: - unsigned int order;
1: - int migratetype;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + unsigned int order;
1: + int migratetype;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_page_alloc_extfrag {
1: - struct trace_entry ent;
1: - long unsigned int pfn;
1: - int alloc_order;
1: - int fallback_order;
1: - int alloc_migratetype;
1: - int fallback_migratetype;
1: - int change_ownership;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int pfn;
1: + int alloc_order;
1: + int fallback_order;
1: + int alloc_migratetype;
1: + int fallback_migratetype;
1: + int change_ownership;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rss_stat {
1: - struct trace_entry ent;
1: - unsigned int mm_id;
1: - unsigned int curr;
1: - int member;
1: - long int size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int mm_id;
1: + unsigned int curr;
1: + int member;
1: + long int size;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_kmem_alloc {};
1: @@ -36793,34 +37114,34 @@ struct trace_event_data_offsets_mm_page_alloc_extfrag {};
1: struct trace_event_data_offsets_rss_stat {};
1:
1: enum slab_state {
1: - DOWN = 0,
1: - PARTIAL = 1,
1: - PARTIAL_NODE = 2,
1: - UP = 3,
1: - FULL = 4,
1: + DOWN = 0,
1: + PARTIAL = 1,
1: + PARTIAL_NODE = 2,
1: + UP = 3,
1: + FULL = 4,
1: };
1:
1: struct kmalloc_info_struct {
1: - const char *name[3];
1: - unsigned int size;
1: + const char *name[3];
1: + unsigned int size;
1: };
1:
1: struct slabinfo {
1: - long unsigned int active_objs;
1: - long unsigned int num_objs;
1: - long unsigned int active_slabs;
1: - long unsigned int num_slabs;
1: - long unsigned int shared_avail;
1: - unsigned int limit;
1: - unsigned int batchcount;
1: - unsigned int shared;
1: - unsigned int objects_per_slab;
1: - unsigned int cache_order;
1: + long unsigned int active_objs;
1: + long unsigned int num_objs;
1: + long unsigned int active_slabs;
1: + long unsigned int num_slabs;
1: + long unsigned int shared_avail;
1: + unsigned int limit;
1: + unsigned int batchcount;
1: + unsigned int shared;
1: + unsigned int objects_per_slab;
1: + unsigned int cache_order;
1: };
1:
1: struct node___2 {
1: - struct device dev;
1: - struct list_head access_list;
1: + struct device dev;
1: + struct list_head access_list;
1: };
1:
1: typedef struct page___2 *new_page_t(struct page___2 *, long unsigned int);
1: @@ -36828,91 +37149,91 @@ typedef struct page___2 *new_page_t(struct page___2 *, long unsigned int);
1: typedef void free_page_t(struct page___2 *, long unsigned int);
1:
1: struct alloc_context {
1: - struct zonelist___2 *zonelist;
1: - nodemask_t *nodemask;
1: - struct zoneref___2 *preferred_zoneref;
1: - int migratetype;
1: - enum zone_type high_zoneidx;
1: - bool spread_dirty_pages;
1: + struct zonelist___2 *zonelist;
1: + nodemask_t *nodemask;
1: + struct zoneref___2 *preferred_zoneref;
1: + int migratetype;
1: + enum zone_type high_zoneidx;
1: + bool spread_dirty_pages;
1: };
1:
1: struct trace_event_raw_mm_compaction_isolate_template {
1: - struct trace_entry ent;
1: - long unsigned int start_pfn;
1: - long unsigned int end_pfn;
1: - long unsigned int nr_scanned;
1: - long unsigned int nr_taken;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int start_pfn;
1: + long unsigned int end_pfn;
1: + long unsigned int nr_scanned;
1: + long unsigned int nr_taken;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_compaction_migratepages {
1: - struct trace_entry ent;
1: - long unsigned int nr_migrated;
1: - long unsigned int nr_failed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int nr_migrated;
1: + long unsigned int nr_failed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_compaction_begin {
1: - struct trace_entry ent;
1: - long unsigned int zone_start;
1: - long unsigned int migrate_pfn;
1: - long unsigned int free_pfn;
1: - long unsigned int zone_end;
1: - bool sync;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int zone_start;
1: + long unsigned int migrate_pfn;
1: + long unsigned int free_pfn;
1: + long unsigned int zone_end;
1: + bool sync;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_compaction_end {
1: - struct trace_entry ent;
1: - long unsigned int zone_start;
1: - long unsigned int migrate_pfn;
1: - long unsigned int free_pfn;
1: - long unsigned int zone_end;
1: - bool sync;
1: - int status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int zone_start;
1: + long unsigned int migrate_pfn;
1: + long unsigned int free_pfn;
1: + long unsigned int zone_end;
1: + bool sync;
1: + int status;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_compaction_try_to_compact_pages {
1: - struct trace_entry ent;
1: - int order;
1: - gfp_t gfp_mask;
1: - int prio;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int order;
1: + gfp_t gfp_mask;
1: + int prio;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_compaction_suitable_template {
1: - struct trace_entry ent;
1: - int nid;
1: - enum zone_type idx;
1: - int order;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + enum zone_type idx;
1: + int order;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_compaction_defer_template {
1: - struct trace_entry ent;
1: - int nid;
1: - enum zone_type idx;
1: - int order;
1: - unsigned int considered;
1: - unsigned int defer_shift;
1: - int order_failed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + enum zone_type idx;
1: + int order;
1: + unsigned int considered;
1: + unsigned int defer_shift;
1: + int order_failed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mm_compaction_kcompactd_sleep {
1: - struct trace_entry ent;
1: - int nid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_kcompactd_wake_template {
1: - struct trace_entry ent;
1: - int nid;
1: - int order;
1: - enum zone_type classzone_idx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nid;
1: + int order;
1: + enum zone_type classzone_idx;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_mm_compaction_isolate_template {};
1: @@ -36934,456 +37255,469 @@ struct trace_event_data_offsets_mm_compaction_kcompactd_sleep {};
1: struct trace_event_data_offsets_kcompactd_wake_template {};
1:
1: typedef enum {
1: - ISOLATE_ABORT = 0,
1: - ISOLATE_NONE = 1,
1: - ISOLATE_SUCCESS = 2,
1: + ISOLATE_ABORT = 0,
1: + ISOLATE_NONE = 1,
1: + ISOLATE_SUCCESS = 2,
1: } isolate_migrate_t;
1:
1: struct anon_vma_chain {
1: - struct vm_area_struct___2 *vma;
1: - struct anon_vma *anon_vma;
1: - struct list_head same_vma;
1: - struct rb_node rb;
1: - long unsigned int rb_subtree_last;
1: + struct vm_area_struct___2 *vma;
1: + struct anon_vma *anon_vma;
1: + struct list_head same_vma;
1: + struct rb_node rb;
1: + long unsigned int rb_subtree_last;
1: };
1:
1: enum lru_status {
1: - LRU_REMOVED = 0,
1: - LRU_REMOVED_RETRY = 1,
1: - LRU_ROTATE = 2,
1: - LRU_SKIP = 3,
1: - LRU_RETRY = 4,
1: + LRU_REMOVED = 0,
1: + LRU_REMOVED_RETRY = 1,
1: + LRU_ROTATE = 2,
1: + LRU_SKIP = 3,
1: + LRU_RETRY = 4,
1: };
1:
1: -typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *);
1: +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *,
1: + struct list_lru_one *, spinlock_t *,
1: + void *);
1:
1: -typedef struct {
1: - long unsigned int pd;
1: -} hugepd_t;
1: +typedef struct { long unsigned int pd; } hugepd_t;
1:
1: struct follow_page_context {
1: - struct dev_pagemap *pgmap;
1: - unsigned int page_mask;
1: + struct dev_pagemap *pgmap;
1: + unsigned int page_mask;
1: };
1:
1: typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *);
1:
1: enum {
1: - SWP_USED = 1,
1: - SWP_WRITEOK = 2,
1: - SWP_DISCARDABLE = 4,
1: - SWP_DISCARDING = 8,
1: - SWP_SOLIDSTATE = 16,
1: - SWP_CONTINUED = 32,
1: - SWP_BLKDEV = 64,
1: - SWP_ACTIVATED = 128,
1: - SWP_FS = 256,
1: - SWP_AREA_DISCARD = 512,
1: - SWP_PAGE_DISCARD = 1024,
1: - SWP_STABLE_WRITES = 2048,
1: - SWP_SYNCHRONOUS_IO = 4096,
1: - SWP_VALID = 8192,
1: - SWP_SCANNING = 16384,
1: + SWP_USED = 1,
1: + SWP_WRITEOK = 2,
1: + SWP_DISCARDABLE = 4,
1: + SWP_DISCARDING = 8,
1: + SWP_SOLIDSTATE = 16,
1: + SWP_CONTINUED = 32,
1: + SWP_BLKDEV = 64,
1: + SWP_ACTIVATED = 128,
1: + SWP_FS = 256,
1: + SWP_AREA_DISCARD = 512,
1: + SWP_PAGE_DISCARD = 1024,
1: + SWP_STABLE_WRITES = 2048,
1: + SWP_SYNCHRONOUS_IO = 4096,
1: + SWP_VALID = 8192,
1: + SWP_SCANNING = 16384,
1: };
1:
1: struct copy_subpage_arg {
1: - struct page___2 *dst;
1: - struct page___2 *src;
1: - struct vm_area_struct___2 *vma;
1: + struct page___2 *dst;
1: + struct page___2 *src;
1: + struct vm_area_struct___2 *vma;
1: };
1:
1: struct mm_walk;
1:
1: struct mm_walk_ops {
1: - int (*pud_entry)(pud_t *, long unsigned int, long unsigned int, struct mm_walk *);
1: - int (*pmd_entry)(pmd_t *, long unsigned int, long unsigned int, struct mm_walk *);
1: - int (*pte_entry)(pte_t *, long unsigned int, long unsigned int, struct mm_walk *);
1: - int (*pte_hole)(long unsigned int, long unsigned int, struct mm_walk *);
1: - int (*hugetlb_entry)(pte_t *, long unsigned int, long unsigned int, long unsigned int, struct mm_walk *);
1: - int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *);
1: - int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *);
1: - void (*post_vma)(struct mm_walk *);
1: + int (*pud_entry)(pud_t *, long unsigned int, long unsigned int,
1: + struct mm_walk *);
1: + int (*pmd_entry)(pmd_t *, long unsigned int, long unsigned int,
1: + struct mm_walk *);
1: + int (*pte_entry)(pte_t *, long unsigned int, long unsigned int,
1: + struct mm_walk *);
1: + int (*pte_hole)(long unsigned int, long unsigned int, struct mm_walk *);
1: + int (*hugetlb_entry)(pte_t *, long unsigned int, long unsigned int,
1: + long unsigned int, struct mm_walk *);
1: + int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *);
1: + int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *);
1: + void (*post_vma)(struct mm_walk *);
1: };
1:
1: struct mm_walk {
1: - const struct mm_walk_ops *ops;
1: - struct mm_struct___2 *mm;
1: - struct vm_area_struct___2 *vma;
1: - void *private;
1: + const struct mm_walk_ops *ops;
1: + struct mm_struct___2 *mm;
1: + struct vm_area_struct___2 *vma;
1: + void *private;
1: };
1:
1: enum {
1: - HUGETLB_SHMFS_INODE = 1,
1: - HUGETLB_ANONHUGE_INODE = 2,
1: + HUGETLB_SHMFS_INODE = 1,
1: + HUGETLB_ANONHUGE_INODE = 2,
1: };
1:
1: struct rmap_walk_control {
1: - void *arg;
1: - bool (*rmap_one)(struct page___2 *, struct vm_area_struct___2 *, long unsigned int, void *);
1: - int (*done)(struct page___2 *);
1: - struct anon_vma * (*anon_lock)(struct page___2 *);
1: - bool (*invalid_vma)(struct vm_area_struct___2 *, void *);
1: + void *arg;
1: + bool (*rmap_one)(struct page___2 *, struct vm_area_struct___2 *,
1: + long unsigned int, void *);
1: + int (*done)(struct page___2 *);
1: + struct anon_vma *(*anon_lock)(struct page___2 *);
1: + bool (*invalid_vma)(struct vm_area_struct___2 *, void *);
1: };
1:
1: struct page_referenced_arg {
1: - int mapcount;
1: - int referenced;
1: - long unsigned int vm_flags;
1: - struct mem_cgroup *memcg;
1: + int mapcount;
1: + int referenced;
1: + long unsigned int vm_flags;
1: + struct mem_cgroup *memcg;
1: };
1:
1: struct vmap_area {
1: - long unsigned int va_start;
1: - long unsigned int va_end;
1: - struct rb_node rb_node;
1: - struct list_head list;
1: - union {
1: - long unsigned int subtree_max_size;
1: - struct vm_struct *vm;
1: - struct llist_node purge_list;
1: - };
1: + long unsigned int va_start;
1: + long unsigned int va_end;
1: + struct rb_node rb_node;
1: + struct list_head list;
1: + union {
1: + long unsigned int subtree_max_size;
1: + struct vm_struct *vm;
1: + struct llist_node purge_list;
1: + };
1: };
1:
1: struct vfree_deferred {
1: - struct llist_head list;
1: - struct work_struct wq;
1: + struct llist_head list;
1: + struct work_struct wq;
1: };
1:
1: enum fit_type {
1: - NOTHING_FIT = 0,
1: - FL_FIT_TYPE = 1,
1: - LE_FIT_TYPE = 2,
1: - RE_FIT_TYPE = 3,
1: - NE_FIT_TYPE = 4,
1: + NOTHING_FIT = 0,
1: + FL_FIT_TYPE = 1,
1: + LE_FIT_TYPE = 2,
1: + RE_FIT_TYPE = 3,
1: + NE_FIT_TYPE = 4,
1: };
1:
1: struct vmap_block_queue {
1: - spinlock_t lock;
1: - struct list_head free;
1: + spinlock_t lock;
1: + struct list_head free;
1: };
1:
1: struct vmap_block {
1: - spinlock_t lock;
1: - struct vmap_area *va;
1: - long unsigned int free;
1: - long unsigned int dirty;
1: - long unsigned int dirty_min;
1: - long unsigned int dirty_max;
1: - struct list_head free_list;
1: - struct callback_head callback_head;
1: - struct list_head purge;
1: + spinlock_t lock;
1: + struct vmap_area *va;
1: + long unsigned int free;
1: + long unsigned int dirty;
1: + long unsigned int dirty_min;
1: + long unsigned int dirty_max;
1: + struct list_head free_list;
1: + struct callback_head callback_head;
1: + struct list_head purge;
1: };
1:
1: struct page_frag_cache {
1: - void *va;
1: - __u16 offset;
1: - __u16 size;
1: - unsigned int pagecnt_bias;
1: - bool pfmemalloc;
1: + void *va;
1: + __u16 offset;
1: + __u16 size;
1: + unsigned int pagecnt_bias;
1: + bool pfmemalloc;
1: };
1:
1: enum zone_flags {
1: - ZONE_BOOSTED_WATERMARK = 0,
1: + ZONE_BOOSTED_WATERMARK = 0,
1: };
1:
1: enum memmap_context {
1: - MEMMAP_EARLY = 0,
1: - MEMMAP_HOTPLUG = 1,
1: + MEMMAP_EARLY = 0,
1: + MEMMAP_HOTPLUG = 1,
1: };
1:
1: struct mminit_pfnnid_cache {
1: - long unsigned int last_start;
1: - long unsigned int last_end;
1: - int last_nid;
1: + long unsigned int last_start;
1: + long unsigned int last_end;
1: + int last_nid;
1: };
1:
1: struct pcpu_drain {
1: - struct zone___2 *zone;
1: - struct work_struct work;
1: + struct zone___2 *zone;
1: + struct work_struct work;
1: };
1:
1: struct madvise_walk_private {
1: - struct mmu_gather *tlb;
1: - bool pageout;
1: + struct mmu_gather *tlb;
1: + bool pageout;
1: };
1:
1: struct vma_swap_readahead {
1: - short unsigned int win;
1: - short unsigned int offset;
1: - short unsigned int nr_pte;
1: - pte_t *ptes;
1: + short unsigned int win;
1: + short unsigned int offset;
1: + short unsigned int nr_pte;
1: + pte_t *ptes;
1: };
1:
1: union swap_header {
1: - struct {
1: - char reserved[4086];
1: - char magic[10];
1: - } magic;
1: - struct {
1: - char bootbits[1024];
1: - __u32 version;
1: - __u32 last_page;
1: - __u32 nr_badpages;
1: - unsigned char sws_uuid[16];
1: - unsigned char sws_volume[16];
1: - __u32 padding[117];
1: - __u32 badpages[1];
1: - } info;
1: + struct {
1: + char reserved[4086];
1: + char magic[10];
1: + } magic;
1: + struct {
1: + char bootbits[1024];
1: + __u32 version;
1: + __u32 last_page;
1: + __u32 nr_badpages;
1: + unsigned char sws_uuid[16];
1: + unsigned char sws_volume[16];
1: + __u32 padding[117];
1: + __u32 badpages[1];
1: + } info;
1: };
1:
1: struct swap_extent {
1: - struct rb_node rb_node;
1: - long unsigned int start_page;
1: - long unsigned int nr_pages;
1: - sector_t start_block;
1: + struct rb_node rb_node;
1: + long unsigned int start_page;
1: + long unsigned int nr_pages;
1: + sector_t start_block;
1: };
1:
1: struct swap_slots_cache {
1: - bool lock_initialized;
1: - struct mutex alloc_lock;
1: - swp_entry_t *slots;
1: - int nr;
1: - int cur;
1: - spinlock_t free_lock;
1: - swp_entry_t *slots_ret;
1: - int n_ret;
1: + bool lock_initialized;
1: + struct mutex alloc_lock;
1: + swp_entry_t *slots;
1: + int nr;
1: + int cur;
1: + spinlock_t free_lock;
1: + swp_entry_t *slots_ret;
1: + int n_ret;
1: };
1:
1: struct dma_pool {
1: - struct list_head page_list;
1: - spinlock_t lock;
1: - size_t size;
1: - struct device___2 *dev;
1: - size_t allocation;
1: - size_t boundary;
1: - char name[32];
1: - struct list_head pools;
1: + struct list_head page_list;
1: + spinlock_t lock;
1: + size_t size;
1: + struct device___2 *dev;
1: + size_t allocation;
1: + size_t boundary;
1: + char name[32];
1: + struct list_head pools;
1: };
1:
1: struct dma_page {
1: - struct list_head page_list;
1: - void *vaddr;
1: - dma_addr_t dma;
1: - unsigned int in_use;
1: - unsigned int offset;
1: + struct list_head page_list;
1: + void *vaddr;
1: + dma_addr_t dma;
1: + unsigned int in_use;
1: + unsigned int offset;
1: };
1:
1: enum string_size_units {
1: - STRING_UNITS_10 = 0,
1: - STRING_UNITS_2 = 1,
1: + STRING_UNITS_10 = 0,
1: + STRING_UNITS_2 = 1,
1: };
1:
1: typedef void (*node_registration_func_t)(struct node___2 *);
1:
1: struct resv_map {
1: - struct kref refs;
1: - spinlock_t lock;
1: - struct list_head regions;
1: - long int adds_in_progress;
1: - struct list_head region_cache;
1: - long int region_cache_count;
1: + struct kref refs;
1: + spinlock_t lock;
1: + struct list_head regions;
1: + long int adds_in_progress;
1: + struct list_head region_cache;
1: + long int region_cache_count;
1: };
1:
1: struct huge_bootmem_page {
1: - struct list_head list;
1: - struct hstate *hstate;
1: + struct list_head list;
1: + struct hstate *hstate;
1: };
1:
1: struct file_region {
1: - struct list_head link;
1: - long int from;
1: - long int to;
1: + struct list_head link;
1: + long int from;
1: + long int to;
1: };
1:
1: enum vma_resv_mode {
1: - VMA_NEEDS_RESV = 0,
1: - VMA_COMMIT_RESV = 1,
1: - VMA_END_RESV = 2,
1: - VMA_ADD_RESV = 3,
1: + VMA_NEEDS_RESV = 0,
1: + VMA_COMMIT_RESV = 1,
1: + VMA_END_RESV = 2,
1: + VMA_ADD_RESV = 3,
1: };
1:
1: struct node_hstate {
1: - struct kobject *hugepages_kobj;
1: - struct kobject *hstate_kobjs[2];
1: + struct kobject *hugepages_kobj;
1: + struct kobject *hstate_kobjs[2];
1: };
1:
1: struct hugetlb_cgroup;
1:
1: struct nodemask_scratch {
1: - nodemask_t mask1;
1: - nodemask_t mask2;
1: + nodemask_t mask1;
1: + nodemask_t mask2;
1: };
1:
1: struct sp_node {
1: - struct rb_node nd;
1: - long unsigned int start;
1: - long unsigned int end;
1: - struct mempolicy *policy;
1: + struct rb_node nd;
1: + long unsigned int start;
1: + long unsigned int end;
1: + struct mempolicy *policy;
1: };
1:
1: struct mempolicy_operations {
1: - int (*create)(struct mempolicy *, const nodemask_t *);
1: - void (*rebind)(struct mempolicy *, const nodemask_t *);
1: + int (*create)(struct mempolicy *, const nodemask_t *);
1: + void (*rebind)(struct mempolicy *, const nodemask_t *);
1: };
1:
1: struct queue_pages {
1: - struct list_head *pagelist;
1: - long unsigned int flags;
1: - nodemask_t *nmask;
1: - long unsigned int start;
1: - long unsigned int end;
1: - struct vm_area_struct___2 *first;
1: + struct list_head *pagelist;
1: + long unsigned int flags;
1: + nodemask_t *nmask;
1: + long unsigned int start;
1: + long unsigned int end;
1: + struct vm_area_struct___2 *first;
1: };
1:
1: struct mmu_notifier_mm {
1: - struct hlist_head list;
1: - bool has_itree;
1: - spinlock_t lock;
1: - long unsigned int invalidate_seq;
1: - long unsigned int active_invalidate_ranges;
1: - struct rb_root_cached itree;
1: - wait_queue_head_t wq;
1: - struct hlist_head deferred_list;
1: + struct hlist_head list;
1: + bool has_itree;
1: + spinlock_t lock;
1: + long unsigned int invalidate_seq;
1: + long unsigned int active_invalidate_ranges;
1: + struct rb_root_cached itree;
1: + wait_queue_head_t wq;
1: + struct hlist_head deferred_list;
1: };
1:
1: struct interval_tree_node {
1: - struct rb_node rb;
1: - long unsigned int start;
1: - long unsigned int last;
1: - long unsigned int __subtree_last;
1: + struct rb_node rb;
1: + long unsigned int start;
1: + long unsigned int last;
1: + long unsigned int __subtree_last;
1: };
1:
1: struct mmu_notifier;
1:
1: struct mmu_notifier_ops {
1: - void (*release)(struct mmu_notifier *, struct mm_struct___2 *);
1: - int (*clear_flush_young)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int, long unsigned int);
1: - int (*clear_young)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int, long unsigned int);
1: - int (*test_young)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int);
1: - void (*change_pte)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int, pte_t);
1: - int (*invalidate_range_start)(struct mmu_notifier *, const struct mmu_notifier_range *);
1: - void (*invalidate_range_end)(struct mmu_notifier *, const struct mmu_notifier_range *);
1: - void (*invalidate_range)(struct mmu_notifier *, struct mm_struct___2 *, long unsigned int, long unsigned int);
1: - struct mmu_notifier * (*alloc_notifier)(struct mm_struct___2 *);
1: - void (*free_notifier)(struct mmu_notifier *);
1: + void (*release)(struct mmu_notifier *, struct mm_struct___2 *);
1: + int (*clear_flush_young)(struct mmu_notifier *, struct mm_struct___2 *,
1: + long unsigned int, long unsigned int);
1: + int (*clear_young)(struct mmu_notifier *, struct mm_struct___2 *,
1: + long unsigned int, long unsigned int);
1: + int (*test_young)(struct mmu_notifier *, struct mm_struct___2 *,
1: + long unsigned int);
1: + void (*change_pte)(struct mmu_notifier *, struct mm_struct___2 *,
1: + long unsigned int, pte_t);
1: + int (*invalidate_range_start)(struct mmu_notifier *,
1: + const struct mmu_notifier_range *);
1: + void (*invalidate_range_end)(struct mmu_notifier *,
1: + const struct mmu_notifier_range *);
1: + void (*invalidate_range)(struct mmu_notifier *, struct mm_struct___2 *,
1: + long unsigned int, long unsigned int);
1: + struct mmu_notifier *(*alloc_notifier)(struct mm_struct___2 *);
1: + void (*free_notifier)(struct mmu_notifier *);
1: };
1:
1: struct mmu_notifier {
1: - struct hlist_node hlist;
1: - const struct mmu_notifier_ops *ops;
1: - struct mm_struct___2 *mm;
1: - struct callback_head rcu;
1: - unsigned int users;
1: + struct hlist_node hlist;
1: + const struct mmu_notifier_ops *ops;
1: + struct mm_struct___2 *mm;
1: + struct callback_head rcu;
1: + unsigned int users;
1: };
1:
1: struct mmu_interval_notifier;
1:
1: struct mmu_interval_notifier_ops {
1: - bool (*invalidate)(struct mmu_interval_notifier *, const struct mmu_notifier_range *, long unsigned int);
1: + bool (*invalidate)(struct mmu_interval_notifier *,
1: + const struct mmu_notifier_range *, long unsigned int);
1: };
1:
1: struct mmu_interval_notifier {
1: - struct interval_tree_node interval_tree;
1: - const struct mmu_interval_notifier_ops *ops;
1: - struct mm_struct___2 *mm;
1: - struct hlist_node deferred_item;
1: - long unsigned int invalidate_seq;
1: + struct interval_tree_node interval_tree;
1: + const struct mmu_interval_notifier_ops *ops;
1: + struct mm_struct___2 *mm;
1: + struct hlist_node deferred_item;
1: + long unsigned int invalidate_seq;
1: };
1:
1: enum stat_item {
1: - ALLOC_FASTPATH = 0,
1: - ALLOC_SLOWPATH = 1,
1: - FREE_FASTPATH = 2,
1: - FREE_SLOWPATH = 3,
1: - FREE_FROZEN = 4,
1: - FREE_ADD_PARTIAL = 5,
1: - FREE_REMOVE_PARTIAL = 6,
1: - ALLOC_FROM_PARTIAL = 7,
1: - ALLOC_SLAB = 8,
1: - ALLOC_REFILL = 9,
1: - ALLOC_NODE_MISMATCH = 10,
1: - FREE_SLAB = 11,
1: - CPUSLAB_FLUSH = 12,
1: - DEACTIVATE_FULL = 13,
1: - DEACTIVATE_EMPTY = 14,
1: - DEACTIVATE_TO_HEAD = 15,
1: - DEACTIVATE_TO_TAIL = 16,
1: - DEACTIVATE_REMOTE_FREES = 17,
1: - DEACTIVATE_BYPASS = 18,
1: - ORDER_FALLBACK = 19,
1: - CMPXCHG_DOUBLE_CPU_FAIL = 20,
1: - CMPXCHG_DOUBLE_FAIL = 21,
1: - CPU_PARTIAL_ALLOC = 22,
1: - CPU_PARTIAL_FREE = 23,
1: - CPU_PARTIAL_NODE = 24,
1: - CPU_PARTIAL_DRAIN = 25,
1: - NR_SLUB_STAT_ITEMS = 26,
1: + ALLOC_FASTPATH = 0,
1: + ALLOC_SLOWPATH = 1,
1: + FREE_FASTPATH = 2,
1: + FREE_SLOWPATH = 3,
1: + FREE_FROZEN = 4,
1: + FREE_ADD_PARTIAL = 5,
1: + FREE_REMOVE_PARTIAL = 6,
1: + ALLOC_FROM_PARTIAL = 7,
1: + ALLOC_SLAB = 8,
1: + ALLOC_REFILL = 9,
1: + ALLOC_NODE_MISMATCH = 10,
1: + FREE_SLAB = 11,
1: + CPUSLAB_FLUSH = 12,
1: + DEACTIVATE_FULL = 13,
1: + DEACTIVATE_EMPTY = 14,
1: + DEACTIVATE_TO_HEAD = 15,
1: + DEACTIVATE_TO_TAIL = 16,
1: + DEACTIVATE_REMOTE_FREES = 17,
1: + DEACTIVATE_BYPASS = 18,
1: + ORDER_FALLBACK = 19,
1: + CMPXCHG_DOUBLE_CPU_FAIL = 20,
1: + CMPXCHG_DOUBLE_FAIL = 21,
1: + CPU_PARTIAL_ALLOC = 22,
1: + CPU_PARTIAL_FREE = 23,
1: + CPU_PARTIAL_NODE = 24,
1: + CPU_PARTIAL_DRAIN = 25,
1: + NR_SLUB_STAT_ITEMS = 26,
1: };
1:
1: struct track {
1: - long unsigned int addr;
1: - long unsigned int addrs[16];
1: - int cpu;
1: - int pid;
1: - long unsigned int when;
1: + long unsigned int addr;
1: + long unsigned int addrs[16];
1: + int cpu;
1: + int pid;
1: + long unsigned int when;
1: };
1:
1: enum track_item {
1: - TRACK_ALLOC = 0,
1: - TRACK_FREE = 1,
1: + TRACK_ALLOC = 0,
1: + TRACK_FREE = 1,
1: };
1:
1: struct detached_freelist {
1: - struct page___2 *page;
1: - void *tail;
1: - void *freelist;
1: - int cnt;
1: - struct kmem_cache *s;
1: + struct page___2 *page;
1: + void *tail;
1: + void *freelist;
1: + int cnt;
1: + struct kmem_cache *s;
1: };
1:
1: struct location {
1: - long unsigned int count;
1: - long unsigned int addr;
1: - long long int sum_time;
1: - long int min_time;
1: - long int max_time;
1: - long int min_pid;
1: - long int max_pid;
1: - long unsigned int cpus[1];
1: - nodemask_t nodes;
1: + long unsigned int count;
1: + long unsigned int addr;
1: + long long int sum_time;
1: + long int min_time;
1: + long int max_time;
1: + long int min_pid;
1: + long int max_pid;
1: + long unsigned int cpus[1];
1: + nodemask_t nodes;
1: };
1:
1: struct loc_track {
1: - long unsigned int max;
1: - long unsigned int count;
1: - struct location *loc;
1: + long unsigned int max;
1: + long unsigned int count;
1: + struct location *loc;
1: };
1:
1: enum slab_stat_type {
1: - SL_ALL = 0,
1: - SL_PARTIAL = 1,
1: - SL_CPU = 2,
1: - SL_OBJECTS = 3,
1: - SL_TOTAL = 4,
1: + SL_ALL = 0,
1: + SL_PARTIAL = 1,
1: + SL_CPU = 2,
1: + SL_OBJECTS = 3,
1: + SL_TOTAL = 4,
1: };
1:
1: struct slab_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct kmem_cache *, char *);
1: - ssize_t (*store)(struct kmem_cache *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct kmem_cache *, char *);
1: + ssize_t (*store)(struct kmem_cache *, const char *, size_t);
1: };
1:
1: struct saved_alias {
1: - struct kmem_cache *s;
1: - const char *name;
1: - struct saved_alias *next;
1: + struct kmem_cache *s;
1: + const char *name;
1: + struct saved_alias *next;
1: };
1:
1: enum slab_modes {
1: - M_NONE = 0,
1: - M_PARTIAL = 1,
1: - M_FULL = 2,
1: - M_FREE = 3,
1: + M_NONE = 0,
1: + M_PARTIAL = 1,
1: + M_FULL = 2,
1: + M_FREE = 3,
1: };
1:
1: struct buffer_head;
1: @@ -37391,66 +37725,66 @@ struct buffer_head;
1: typedef void bh_end_io_t(struct buffer_head *, int);
1:
1: struct buffer_head {
1: - long unsigned int b_state;
1: - struct buffer_head *b_this_page;
1: - struct page___2 *b_page;
1: - sector_t b_blocknr;
1: - size_t b_size;
1: - char *b_data;
1: - struct block_device *b_bdev;
1: - bh_end_io_t *b_end_io;
1: - void *b_private;
1: - struct list_head b_assoc_buffers;
1: - struct address_space___2 *b_assoc_map;
1: - atomic_t b_count;
1: + long unsigned int b_state;
1: + struct buffer_head *b_this_page;
1: + struct page___2 *b_page;
1: + sector_t b_blocknr;
1: + size_t b_size;
1: + char *b_data;
1: + struct block_device *b_bdev;
1: + bh_end_io_t *b_end_io;
1: + void *b_private;
1: + struct list_head b_assoc_buffers;
1: + struct address_space___2 *b_assoc_map;
1: + atomic_t b_count;
1: };
1:
1: enum bh_state_bits {
1: - BH_Uptodate = 0,
1: - BH_Dirty = 1,
1: - BH_Lock = 2,
1: - BH_Req = 3,
1: - BH_Uptodate_Lock = 4,
1: - BH_Mapped = 5,
1: - BH_New = 6,
1: - BH_Async_Read = 7,
1: - BH_Async_Write = 8,
1: - BH_Delay = 9,
1: - BH_Boundary = 10,
1: - BH_Write_EIO = 11,
1: - BH_Unwritten = 12,
1: - BH_Quiet = 13,
1: - BH_Meta = 14,
1: - BH_Prio = 15,
1: - BH_Defer_Completion = 16,
1: - BH_PrivateStart = 17,
1: + BH_Uptodate = 0,
1: + BH_Dirty = 1,
1: + BH_Lock = 2,
1: + BH_Req = 3,
1: + BH_Uptodate_Lock = 4,
1: + BH_Mapped = 5,
1: + BH_New = 6,
1: + BH_Async_Read = 7,
1: + BH_Async_Write = 8,
1: + BH_Delay = 9,
1: + BH_Boundary = 10,
1: + BH_Write_EIO = 11,
1: + BH_Unwritten = 12,
1: + BH_Quiet = 13,
1: + BH_Meta = 14,
1: + BH_Prio = 15,
1: + BH_Defer_Completion = 16,
1: + BH_PrivateStart = 17,
1: };
1:
1: struct trace_event_raw_mm_migrate_pages {
1: - struct trace_entry ent;
1: - long unsigned int succeeded;
1: - long unsigned int failed;
1: - enum migrate_mode mode;
1: - int reason;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int succeeded;
1: + long unsigned int failed;
1: + enum migrate_mode mode;
1: + int reason;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_mm_migrate_pages {};
1:
1: struct hugetlbfs_inode_info {
1: - struct shared_policy policy;
1: - struct inode___2 vfs_inode;
1: - unsigned int seals;
1: + struct shared_policy policy;
1: + struct inode___2 vfs_inode;
1: + unsigned int seals;
1: };
1:
1: typedef s32 compat_off_t;
1:
1: struct open_flags {
1: - int open_flag;
1: - umode_t mode;
1: - int acc_mode;
1: - int intent;
1: - int lookup_flags;
1: + int open_flag;
1: + umode_t mode;
1: + int acc_mode;
1: + int intent;
1: + int lookup_flags;
1: };
1:
1: typedef __kernel_long_t __kernel_off_t;
1: @@ -37458,20 +37792,20 @@ typedef __kernel_long_t __kernel_off_t;
1: typedef __kernel_off_t off_t;
1:
1: struct file_dedupe_range_info {
1: - __s64 dest_fd;
1: - __u64 dest_offset;
1: - __u64 bytes_deduped;
1: - __s32 status;
1: - __u32 reserved;
1: + __s64 dest_fd;
1: + __u64 dest_offset;
1: + __u64 bytes_deduped;
1: + __s32 status;
1: + __u32 reserved;
1: };
1:
1: struct file_dedupe_range {
1: - __u64 src_offset;
1: - __u64 src_length;
1: - __u16 dest_count;
1: - __u16 reserved1;
1: - __u32 reserved2;
1: - struct file_dedupe_range_info info[0];
1: + __u64 src_offset;
1: + __u64 src_length;
1: + __u16 dest_count;
1: + __u16 reserved1;
1: + __u32 reserved2;
1: + struct file_dedupe_range_info info[0];
1: };
1:
1: typedef int __kernel_rwf_t;
1: @@ -37481,88 +37815,88 @@ typedef __kernel_rwf_t rwf_t;
1: typedef s32 compat_ssize_t;
1:
1: enum vfs_get_super_keying {
1: - vfs_get_single_super = 0,
1: - vfs_get_single_reconf_super = 1,
1: - vfs_get_keyed_super = 2,
1: - vfs_get_independent_super = 3,
1: + vfs_get_single_super = 0,
1: + vfs_get_single_reconf_super = 1,
1: + vfs_get_keyed_super = 2,
1: + vfs_get_independent_super = 3,
1: };
1:
1: typedef struct kobject___2 *kobj_probe_t(dev_t, int *, void *);
1:
1: struct char_device_struct {
1: - struct char_device_struct *next;
1: - unsigned int major;
1: - unsigned int baseminor;
1: - int minorct;
1: - char name[64];
1: - struct cdev *cdev;
1: + struct char_device_struct *next;
1: + unsigned int major;
1: + unsigned int baseminor;
1: + int minorct;
1: + char name[64];
1: + struct cdev *cdev;
1: };
1:
1: struct kobj_map;
1:
1: struct stat {
1: - __kernel_ulong_t st_dev;
1: - __kernel_ulong_t st_ino;
1: - __kernel_ulong_t st_nlink;
1: - unsigned int st_mode;
1: - unsigned int st_uid;
1: - unsigned int st_gid;
1: - unsigned int __pad0;
1: - __kernel_ulong_t st_rdev;
1: - __kernel_long_t st_size;
1: - __kernel_long_t st_blksize;
1: - __kernel_long_t st_blocks;
1: - __kernel_ulong_t st_atime;
1: - __kernel_ulong_t st_atime_nsec;
1: - __kernel_ulong_t st_mtime;
1: - __kernel_ulong_t st_mtime_nsec;
1: - __kernel_ulong_t st_ctime;
1: - __kernel_ulong_t st_ctime_nsec;
1: - __kernel_long_t __unused[3];
1: + __kernel_ulong_t st_dev;
1: + __kernel_ulong_t st_ino;
1: + __kernel_ulong_t st_nlink;
1: + unsigned int st_mode;
1: + unsigned int st_uid;
1: + unsigned int st_gid;
1: + unsigned int __pad0;
1: + __kernel_ulong_t st_rdev;
1: + __kernel_long_t st_size;
1: + __kernel_long_t st_blksize;
1: + __kernel_long_t st_blocks;
1: + __kernel_ulong_t st_atime;
1: + __kernel_ulong_t st_atime_nsec;
1: + __kernel_ulong_t st_mtime;
1: + __kernel_ulong_t st_mtime_nsec;
1: + __kernel_ulong_t st_ctime;
1: + __kernel_ulong_t st_ctime_nsec;
1: + __kernel_long_t __unused[3];
1: };
1:
1: struct __old_kernel_stat {
1: - short unsigned int st_dev;
1: - short unsigned int st_ino;
1: - short unsigned int st_mode;
1: - short unsigned int st_nlink;
1: - short unsigned int st_uid;
1: - short unsigned int st_gid;
1: - short unsigned int st_rdev;
1: - unsigned int st_size;
1: - unsigned int st_atime;
1: - unsigned int st_mtime;
1: - unsigned int st_ctime;
1: + short unsigned int st_dev;
1: + short unsigned int st_ino;
1: + short unsigned int st_mode;
1: + short unsigned int st_nlink;
1: + short unsigned int st_uid;
1: + short unsigned int st_gid;
1: + short unsigned int st_rdev;
1: + unsigned int st_size;
1: + unsigned int st_atime;
1: + unsigned int st_mtime;
1: + unsigned int st_ctime;
1: };
1:
1: struct statx_timestamp {
1: - __s64 tv_sec;
1: - __u32 tv_nsec;
1: - __s32 __reserved;
1: + __s64 tv_sec;
1: + __u32 tv_nsec;
1: + __s32 __reserved;
1: };
1:
1: struct statx {
1: - __u32 stx_mask;
1: - __u32 stx_blksize;
1: - __u64 stx_attributes;
1: - __u32 stx_nlink;
1: - __u32 stx_uid;
1: - __u32 stx_gid;
1: - __u16 stx_mode;
1: - __u16 __spare0[1];
1: - __u64 stx_ino;
1: - __u64 stx_size;
1: - __u64 stx_blocks;
1: - __u64 stx_attributes_mask;
1: - struct statx_timestamp stx_atime;
1: - struct statx_timestamp stx_btime;
1: - struct statx_timestamp stx_ctime;
1: - struct statx_timestamp stx_mtime;
1: - __u32 stx_rdev_major;
1: - __u32 stx_rdev_minor;
1: - __u32 stx_dev_major;
1: - __u32 stx_dev_minor;
1: - __u64 __spare2[14];
1: + __u32 stx_mask;
1: + __u32 stx_blksize;
1: + __u64 stx_attributes;
1: + __u32 stx_nlink;
1: + __u32 stx_uid;
1: + __u32 stx_gid;
1: + __u16 stx_mode;
1: + __u16 __spare0[1];
1: + __u64 stx_ino;
1: + __u64 stx_size;
1: + __u64 stx_blocks;
1: + __u64 stx_attributes_mask;
1: + struct statx_timestamp stx_atime;
1: + struct statx_timestamp stx_btime;
1: + struct statx_timestamp stx_ctime;
1: + struct statx_timestamp stx_mtime;
1: + __u32 stx_rdev_major;
1: + __u32 stx_rdev_minor;
1: + __u32 stx_dev_major;
1: + __u32 stx_dev_minor;
1: + __u64 __spare2[14];
1: };
1:
1: typedef u32 compat_ino_t;
1: @@ -37578,108 +37912,108 @@ typedef u16 compat_dev_t;
1: typedef u16 compat_nlink_t;
1:
1: struct compat_stat {
1: - compat_dev_t st_dev;
1: - u16 __pad1;
1: - compat_ino_t st_ino;
1: - compat_mode_t st_mode;
1: - compat_nlink_t st_nlink;
1: - __compat_uid_t st_uid;
1: - __compat_gid_t st_gid;
1: - compat_dev_t st_rdev;
1: - u16 __pad2;
1: - u32 st_size;
1: - u32 st_blksize;
1: - u32 st_blocks;
1: - u32 st_atime;
1: - u32 st_atime_nsec;
1: - u32 st_mtime;
1: - u32 st_mtime_nsec;
1: - u32 st_ctime;
1: - u32 st_ctime_nsec;
1: - u32 __unused4;
1: - u32 __unused5;
1: + compat_dev_t st_dev;
1: + u16 __pad1;
1: + compat_ino_t st_ino;
1: + compat_mode_t st_mode;
1: + compat_nlink_t st_nlink;
1: + __compat_uid_t st_uid;
1: + __compat_gid_t st_gid;
1: + compat_dev_t st_rdev;
1: + u16 __pad2;
1: + u32 st_size;
1: + u32 st_blksize;
1: + u32 st_blocks;
1: + u32 st_atime;
1: + u32 st_atime_nsec;
1: + u32 st_mtime;
1: + u32 st_mtime_nsec;
1: + u32 st_ctime;
1: + u32 st_ctime_nsec;
1: + u32 __unused4;
1: + u32 __unused5;
1: };
1:
1: typedef short unsigned int ushort;
1:
1: struct user_arg_ptr {
1: - bool is_compat;
1: - union {
1: - const char * const *native;
1: - const compat_uptr_t *compat;
1: - } ptr;
1: + bool is_compat;
1: + union {
1: + const char *const *native;
1: + const compat_uptr_t *compat;
1: + } ptr;
1: };
1:
1: enum inode_i_mutex_lock_class {
1: - I_MUTEX_NORMAL = 0,
1: - I_MUTEX_PARENT = 1,
1: - I_MUTEX_CHILD = 2,
1: - I_MUTEX_XATTR = 3,
1: - I_MUTEX_NONDIR2 = 4,
1: - I_MUTEX_PARENT2 = 5,
1: + I_MUTEX_NORMAL = 0,
1: + I_MUTEX_PARENT = 1,
1: + I_MUTEX_CHILD = 2,
1: + I_MUTEX_XATTR = 3,
1: + I_MUTEX_NONDIR2 = 4,
1: + I_MUTEX_PARENT2 = 5,
1: };
1:
1: struct pseudo_fs_context {
1: - const struct super_operations *ops;
1: - const struct xattr_handler **xattr;
1: - const struct dentry_operations___2 *dops;
1: - long unsigned int magic;
1: + const struct super_operations *ops;
1: + const struct xattr_handler **xattr;
1: + const struct dentry_operations___2 *dops;
1: + long unsigned int magic;
1: };
1:
1: struct name_snapshot {
1: - struct qstr name;
1: - unsigned char inline_name[32];
1: + struct qstr name;
1: + unsigned char inline_name[32];
1: };
1:
1: struct saved {
1: - struct path___2 link;
1: - struct delayed_call done;
1: - const char *name;
1: - unsigned int seq;
1: + struct path___2 link;
1: + struct delayed_call done;
1: + const char *name;
1: + unsigned int seq;
1: };
1:
1: struct nameidata {
1: - struct path___2 path;
1: - struct qstr last;
1: - struct path___2 root;
1: - struct inode___2 *inode;
1: - unsigned int flags;
1: - unsigned int seq;
1: - unsigned int m_seq;
1: - int last_type;
1: - unsigned int depth;
1: - int total_link_count;
1: - struct saved *stack;
1: - struct saved internal[2];
1: - struct filename *name;
1: - struct nameidata *saved;
1: - struct inode___2 *link_inode;
1: - unsigned int root_seq;
1: - int dfd;
1: -};
1: -
1: -enum {
1: - LAST_NORM = 0,
1: - LAST_ROOT = 1,
1: - LAST_DOT = 2,
1: - LAST_DOTDOT = 3,
1: - LAST_BIND = 4,
1: + struct path___2 path;
1: + struct qstr last;
1: + struct path___2 root;
1: + struct inode___2 *inode;
1: + unsigned int flags;
1: + unsigned int seq;
1: + unsigned int m_seq;
1: + int last_type;
1: + unsigned int depth;
1: + int total_link_count;
1: + struct saved *stack;
1: + struct saved internal[2];
1: + struct filename *name;
1: + struct nameidata *saved;
1: + struct inode___2 *link_inode;
1: + unsigned int root_seq;
1: + int dfd;
1: +};
1: +
1: +enum {
1: + LAST_NORM = 0,
1: + LAST_ROOT = 1,
1: + LAST_DOT = 2,
1: + LAST_DOTDOT = 3,
1: + LAST_BIND = 4,
1: };
1:
1: struct mount;
1:
1: struct mnt_namespace {
1: - atomic_t count;
1: - struct ns_common___2 ns;
1: - struct mount *root;
1: - struct list_head list;
1: - struct user_namespace___2 *user_ns;
1: - struct ucounts___2 *ucounts;
1: - u64 seq;
1: - wait_queue_head_t poll;
1: - u64 event;
1: - unsigned int mounts;
1: - unsigned int pending_mounts;
1: + atomic_t count;
1: + struct ns_common___2 ns;
1: + struct mount *root;
1: + struct list_head list;
1: + struct user_namespace___2 *user_ns;
1: + struct ucounts___2 *ucounts;
1: + u64 seq;
1: + wait_queue_head_t poll;
1: + u64 event;
1: + unsigned int mounts;
1: + unsigned int pending_mounts;
1: };
1:
1: struct mnt_pcp;
1: @@ -37687,573 +38021,572 @@ struct mnt_pcp;
1: struct mountpoint;
1:
1: struct mount {
1: - struct hlist_node mnt_hash;
1: - struct mount *mnt_parent;
1: - struct dentry___2 *mnt_mountpoint;
1: - struct vfsmount___2 mnt;
1: - union {
1: - struct callback_head mnt_rcu;
1: - struct llist_node mnt_llist;
1: - };
1: - struct mnt_pcp *mnt_pcp;
1: - struct list_head mnt_mounts;
1: - struct list_head mnt_child;
1: - struct list_head mnt_instance;
1: - const char *mnt_devname;
1: - struct list_head mnt_list;
1: - struct list_head mnt_expire;
1: - struct list_head mnt_share;
1: - struct list_head mnt_slave_list;
1: - struct list_head mnt_slave;
1: - struct mount *mnt_master;
1: - struct mnt_namespace *mnt_ns;
1: - struct mountpoint *mnt_mp;
1: - union {
1: - struct hlist_node mnt_mp_list;
1: - struct hlist_node mnt_umount;
1: - };
1: - struct list_head mnt_umounting;
1: - struct fsnotify_mark_connector *mnt_fsnotify_marks;
1: - __u32 mnt_fsnotify_mask;
1: - int mnt_id;
1: - int mnt_group_id;
1: - int mnt_expiry_mark;
1: - struct hlist_head mnt_pins;
1: - struct hlist_head mnt_stuck_children;
1: + struct hlist_node mnt_hash;
1: + struct mount *mnt_parent;
1: + struct dentry___2 *mnt_mountpoint;
1: + struct vfsmount___2 mnt;
1: + union {
1: + struct callback_head mnt_rcu;
1: + struct llist_node mnt_llist;
1: + };
1: + struct mnt_pcp *mnt_pcp;
1: + struct list_head mnt_mounts;
1: + struct list_head mnt_child;
1: + struct list_head mnt_instance;
1: + const char *mnt_devname;
1: + struct list_head mnt_list;
1: + struct list_head mnt_expire;
1: + struct list_head mnt_share;
1: + struct list_head mnt_slave_list;
1: + struct list_head mnt_slave;
1: + struct mount *mnt_master;
1: + struct mnt_namespace *mnt_ns;
1: + struct mountpoint *mnt_mp;
1: + union {
1: + struct hlist_node mnt_mp_list;
1: + struct hlist_node mnt_umount;
1: + };
1: + struct list_head mnt_umounting;
1: + struct fsnotify_mark_connector *mnt_fsnotify_marks;
1: + __u32 mnt_fsnotify_mask;
1: + int mnt_id;
1: + int mnt_group_id;
1: + int mnt_expiry_mark;
1: + struct hlist_head mnt_pins;
1: + struct hlist_head mnt_stuck_children;
1: };
1:
1: struct mnt_pcp {
1: - int mnt_count;
1: - int mnt_writers;
1: + int mnt_count;
1: + int mnt_writers;
1: };
1:
1: struct mountpoint {
1: - struct hlist_node m_hash;
1: - struct dentry___2 *m_dentry;
1: - struct hlist_head m_list;
1: - int m_count;
1: + struct hlist_node m_hash;
1: + struct dentry___2 *m_dentry;
1: + struct hlist_head m_list;
1: + int m_count;
1: };
1:
1: enum {
1: - WALK_FOLLOW = 1,
1: - WALK_MORE = 2,
1: + WALK_FOLLOW = 1,
1: + WALK_MORE = 2,
1: };
1:
1: struct word_at_a_time {
1: - const long unsigned int one_bits;
1: - const long unsigned int high_bits;
1: + const long unsigned int one_bits;
1: + const long unsigned int high_bits;
1: };
1:
1: struct f_owner_ex {
1: - int type;
1: - __kernel_pid_t pid;
1: + int type;
1: + __kernel_pid_t pid;
1: };
1:
1: struct flock {
1: - short int l_type;
1: - short int l_whence;
1: - __kernel_off_t l_start;
1: - __kernel_off_t l_len;
1: - __kernel_pid_t l_pid;
1: + short int l_type;
1: + short int l_whence;
1: + __kernel_off_t l_start;
1: + __kernel_off_t l_len;
1: + __kernel_pid_t l_pid;
1: };
1:
1: struct compat_flock {
1: - short int l_type;
1: - short int l_whence;
1: - compat_off_t l_start;
1: - compat_off_t l_len;
1: - compat_pid_t l_pid;
1: + short int l_type;
1: + short int l_whence;
1: + compat_off_t l_start;
1: + compat_off_t l_len;
1: + compat_pid_t l_pid;
1: };
1:
1: struct compat_flock64 {
1: - short int l_type;
1: - short int l_whence;
1: - compat_loff_t l_start;
1: - compat_loff_t l_len;
1: - compat_pid_t l_pid;
1: + short int l_type;
1: + short int l_whence;
1: + compat_loff_t l_start;
1: + compat_loff_t l_len;
1: + compat_pid_t l_pid;
1: } __attribute__((packed));
1:
1: struct fiemap {
1: - __u64 fm_start;
1: - __u64 fm_length;
1: - __u32 fm_flags;
1: - __u32 fm_mapped_extents;
1: - __u32 fm_extent_count;
1: - __u32 fm_reserved;
1: - struct fiemap_extent fm_extents[0];
1: + __u64 fm_start;
1: + __u64 fm_length;
1: + __u32 fm_flags;
1: + __u32 fm_mapped_extents;
1: + __u32 fm_extent_count;
1: + __u32 fm_reserved;
1: + struct fiemap_extent fm_extents[0];
1: };
1:
1: struct file_clone_range {
1: - __s64 src_fd;
1: - __u64 src_offset;
1: - __u64 src_length;
1: - __u64 dest_offset;
1: + __s64 src_fd;
1: + __u64 src_offset;
1: + __u64 src_length;
1: + __u64 dest_offset;
1: };
1:
1: -typedef int get_block_t(struct inode___2 *, sector_t, struct buffer_head *, int);
1: +typedef int get_block_t(struct inode___2 *, sector_t, struct buffer_head *,
1: + int);
1:
1: struct space_resv {
1: - __s16 l_type;
1: - __s16 l_whence;
1: - __s64 l_start;
1: - __s64 l_len;
1: - __s32 l_sysid;
1: - __u32 l_pid;
1: - __s32 l_pad[4];
1: + __s16 l_type;
1: + __s16 l_whence;
1: + __s64 l_start;
1: + __s64 l_len;
1: + __s32 l_sysid;
1: + __u32 l_pid;
1: + __s32 l_pad[4];
1: };
1:
1: struct space_resv_32 {
1: - __s16 l_type;
1: - __s16 l_whence;
1: - __s64 l_start;
1: - __s64 l_len;
1: - __s32 l_sysid;
1: - __u32 l_pid;
1: - __s32 l_pad[4];
1: + __s16 l_type;
1: + __s16 l_whence;
1: + __s64 l_start;
1: + __s64 l_len;
1: + __s32 l_sysid;
1: + __u32 l_pid;
1: + __s32 l_pad[4];
1: } __attribute__((packed));
1:
1: struct linux_dirent64 {
1: - u64 d_ino;
1: - s64 d_off;
1: - short unsigned int d_reclen;
1: - unsigned char d_type;
1: - char d_name[0];
1: + u64 d_ino;
1: + s64 d_off;
1: + short unsigned int d_reclen;
1: + unsigned char d_type;
1: + char d_name[0];
1: };
1:
1: struct old_linux_dirent {
1: - long unsigned int d_ino;
1: - long unsigned int d_offset;
1: - short unsigned int d_namlen;
1: - char d_name[1];
1: + long unsigned int d_ino;
1: + long unsigned int d_offset;
1: + short unsigned int d_namlen;
1: + char d_name[1];
1: };
1:
1: struct readdir_callback {
1: - struct dir_context ctx;
1: - struct old_linux_dirent *dirent;
1: - int result;
1: + struct dir_context ctx;
1: + struct old_linux_dirent *dirent;
1: + int result;
1: };
1:
1: struct linux_dirent {
1: - long unsigned int d_ino;
1: - long unsigned int d_off;
1: - short unsigned int d_reclen;
1: - char d_name[1];
1: + long unsigned int d_ino;
1: + long unsigned int d_off;
1: + short unsigned int d_reclen;
1: + char d_name[1];
1: };
1:
1: struct getdents_callback {
1: - struct dir_context ctx;
1: - struct linux_dirent *current_dir;
1: - int prev_reclen;
1: - int count;
1: - int error;
1: + struct dir_context ctx;
1: + struct linux_dirent *current_dir;
1: + int prev_reclen;
1: + int count;
1: + int error;
1: };
1:
1: struct getdents_callback64 {
1: - struct dir_context ctx;
1: - struct linux_dirent64 *current_dir;
1: - int prev_reclen;
1: - int count;
1: - int error;
1: + struct dir_context ctx;
1: + struct linux_dirent64 *current_dir;
1: + int prev_reclen;
1: + int count;
1: + int error;
1: };
1:
1: struct compat_old_linux_dirent {
1: - compat_ulong_t d_ino;
1: - compat_ulong_t d_offset;
1: - short unsigned int d_namlen;
1: - char d_name[1];
1: + compat_ulong_t d_ino;
1: + compat_ulong_t d_offset;
1: + short unsigned int d_namlen;
1: + char d_name[1];
1: };
1:
1: struct compat_readdir_callback {
1: - struct dir_context ctx;
1: - struct compat_old_linux_dirent *dirent;
1: - int result;
1: + struct dir_context ctx;
1: + struct compat_old_linux_dirent *dirent;
1: + int result;
1: };
1:
1: struct compat_linux_dirent {
1: - compat_ulong_t d_ino;
1: - compat_ulong_t d_off;
1: - short unsigned int d_reclen;
1: - char d_name[1];
1: + compat_ulong_t d_ino;
1: + compat_ulong_t d_off;
1: + short unsigned int d_reclen;
1: + char d_name[1];
1: };
1:
1: struct compat_getdents_callback {
1: - struct dir_context ctx;
1: - struct compat_linux_dirent *current_dir;
1: - struct compat_linux_dirent *previous;
1: - int count;
1: - int error;
1: + struct dir_context ctx;
1: + struct compat_linux_dirent *current_dir;
1: + struct compat_linux_dirent *previous;
1: + int count;
1: + int error;
1: };
1:
1: -typedef struct {
1: - long unsigned int fds_bits[16];
1: -} __kernel_fd_set;
1: +typedef struct { long unsigned int fds_bits[16]; } __kernel_fd_set;
1:
1: typedef __kernel_fd_set fd_set;
1:
1: struct poll_table_entry {
1: - struct file___2 *filp;
1: - __poll_t key;
1: - wait_queue_entry_t wait;
1: - wait_queue_head_t *wait_address;
1: + struct file___2 *filp;
1: + __poll_t key;
1: + wait_queue_entry_t wait;
1: + wait_queue_head_t *wait_address;
1: };
1:
1: struct poll_table_page;
1:
1: struct poll_wqueues {
1: - poll_table___2 pt;
1: - struct poll_table_page *table;
1: - struct task_struct___2 *polling_task;
1: - int triggered;
1: - int error;
1: - int inline_index;
1: - struct poll_table_entry inline_entries[9];
1: + poll_table___2 pt;
1: + struct poll_table_page *table;
1: + struct task_struct___2 *polling_task;
1: + int triggered;
1: + int error;
1: + int inline_index;
1: + struct poll_table_entry inline_entries[9];
1: };
1:
1: struct poll_table_page {
1: - struct poll_table_page *next;
1: - struct poll_table_entry *entry;
1: - struct poll_table_entry entries[0];
1: + struct poll_table_page *next;
1: + struct poll_table_entry *entry;
1: + struct poll_table_entry entries[0];
1: };
1:
1: struct ip_ra_chain {
1: - struct ip_ra_chain *next;
1: - struct sock *sk;
1: - union {
1: - void (*destructor)(struct sock *);
1: - struct sock *saved_sk;
1: - };
1: - struct callback_head rcu;
1: + struct ip_ra_chain *next;
1: + struct sock *sk;
1: + union {
1: + void (*destructor)(struct sock *);
1: + struct sock *saved_sk;
1: + };
1: + struct callback_head rcu;
1: };
1:
1: struct fib_table {
1: - struct hlist_node tb_hlist;
1: - u32 tb_id;
1: - int tb_num_default;
1: - struct callback_head rcu;
1: - long unsigned int *tb_data;
1: - long unsigned int __data[0];
1: + struct hlist_node tb_hlist;
1: + u32 tb_id;
1: + int tb_num_default;
1: + struct callback_head rcu;
1: + long unsigned int *tb_data;
1: + long unsigned int __data[0];
1: };
1:
1: struct inet_peer_base {
1: - struct rb_root rb_root;
1: - seqlock_t lock;
1: - int total;
1: + struct rb_root rb_root;
1: + seqlock_t lock;
1: + int total;
1: };
1:
1: struct dst_metrics {
1: - u32 metrics[17];
1: - refcount_t refcnt;
1: + u32 metrics[17];
1: + refcount_t refcnt;
1: };
1:
1: enum poll_time_type {
1: - PT_TIMEVAL = 0,
1: - PT_OLD_TIMEVAL = 1,
1: - PT_TIMESPEC = 2,
1: - PT_OLD_TIMESPEC = 3,
1: + PT_TIMEVAL = 0,
1: + PT_OLD_TIMEVAL = 1,
1: + PT_TIMESPEC = 2,
1: + PT_OLD_TIMESPEC = 3,
1: };
1:
1: typedef struct {
1: - long unsigned int *in;
1: - long unsigned int *out;
1: - long unsigned int *ex;
1: - long unsigned int *res_in;
1: - long unsigned int *res_out;
1: - long unsigned int *res_ex;
1: + long unsigned int *in;
1: + long unsigned int *out;
1: + long unsigned int *ex;
1: + long unsigned int *res_in;
1: + long unsigned int *res_out;
1: + long unsigned int *res_ex;
1: } fd_set_bits;
1:
1: struct poll_list {
1: - struct poll_list *next;
1: - int len;
1: - struct pollfd entries[0];
1: + struct poll_list *next;
1: + int len;
1: + struct pollfd entries[0];
1: };
1:
1: struct compat_sel_arg_struct {
1: - compat_ulong_t n;
1: - compat_uptr_t inp;
1: - compat_uptr_t outp;
1: - compat_uptr_t exp;
1: - compat_uptr_t tvp;
1: + compat_ulong_t n;
1: + compat_uptr_t inp;
1: + compat_uptr_t outp;
1: + compat_uptr_t exp;
1: + compat_uptr_t tvp;
1: };
1:
1: enum dentry_d_lock_class {
1: - DENTRY_D_LOCK_NORMAL = 0,
1: - DENTRY_D_LOCK_NESTED = 1,
1: + DENTRY_D_LOCK_NORMAL = 0,
1: + DENTRY_D_LOCK_NESTED = 1,
1: };
1:
1: struct external_name {
1: - union {
1: - atomic_t count;
1: - struct callback_head head;
1: - } u;
1: - unsigned char name[0];
1: + union {
1: + atomic_t count;
1: + struct callback_head head;
1: + } u;
1: + unsigned char name[0];
1: };
1:
1: enum d_walk_ret {
1: - D_WALK_CONTINUE = 0,
1: - D_WALK_QUIT = 1,
1: - D_WALK_NORETRY = 2,
1: - D_WALK_SKIP = 3,
1: + D_WALK_CONTINUE = 0,
1: + D_WALK_QUIT = 1,
1: + D_WALK_NORETRY = 2,
1: + D_WALK_SKIP = 3,
1: };
1:
1: struct check_mount {
1: - struct vfsmount___2 *mnt;
1: - unsigned int mounted;
1: + struct vfsmount___2 *mnt;
1: + unsigned int mounted;
1: };
1:
1: struct select_data {
1: - struct dentry___2 *start;
1: - union {
1: - long int found;
1: - struct dentry___2 *victim;
1: - };
1: - struct list_head dispose;
1: + struct dentry___2 *start;
1: + union {
1: + long int found;
1: + struct dentry___2 *victim;
1: + };
1: + struct list_head dispose;
1: };
1:
1: typedef long int pao_T_____4;
1:
1: struct fsxattr {
1: - __u32 fsx_xflags;
1: - __u32 fsx_extsize;
1: - __u32 fsx_nextents;
1: - __u32 fsx_projid;
1: - __u32 fsx_cowextsize;
1: - unsigned char fsx_pad[8];
1: + __u32 fsx_xflags;
1: + __u32 fsx_extsize;
1: + __u32 fsx_nextents;
1: + __u32 fsx_projid;
1: + __u32 fsx_cowextsize;
1: + unsigned char fsx_pad[8];
1: };
1:
1: enum file_time_flags {
1: - S_ATIME = 1,
1: - S_MTIME = 2,
1: - S_CTIME = 4,
1: - S_VERSION = 8,
1: + S_ATIME = 1,
1: + S_MTIME = 2,
1: + S_CTIME = 4,
1: + S_VERSION = 8,
1: };
1:
1: struct proc_mounts {
1: - struct mnt_namespace *ns;
1: - struct path root;
1: - int (*show)(struct seq_file *, struct vfsmount___2 *);
1: - void *cached_mount;
1: - u64 cached_event;
1: - loff_t cached_index;
1: + struct mnt_namespace *ns;
1: + struct path root;
1: + int (*show)(struct seq_file *, struct vfsmount___2 *);
1: + void *cached_mount;
1: + u64 cached_event;
1: + loff_t cached_index;
1: };
1:
1: enum umount_tree_flags {
1: - UMOUNT_SYNC = 1,
1: - UMOUNT_PROPAGATE = 2,
1: - UMOUNT_CONNECTED = 4,
1: + UMOUNT_SYNC = 1,
1: + UMOUNT_PROPAGATE = 2,
1: + UMOUNT_CONNECTED = 4,
1: };
1:
1: struct tree_descr {
1: - const char *name;
1: - const struct file_operations *ops;
1: - int mode;
1: + const char *name;
1: + const struct file_operations *ops;
1: + int mode;
1: };
1:
1: struct simple_transaction_argresp {
1: - ssize_t size;
1: - char data[0];
1: + ssize_t size;
1: + char data[0];
1: };
1:
1: struct simple_attr {
1: - int (*get)(void *, u64 *);
1: - int (*set)(void *, u64);
1: - char get_buf[24];
1: - char set_buf[24];
1: - void *data;
1: - const char *fmt;
1: - struct mutex mutex;
1: + int (*get)(void *, u64 *);
1: + int (*set)(void *, u64);
1: + char get_buf[24];
1: + char set_buf[24];
1: + void *data;
1: + const char *fmt;
1: + struct mutex mutex;
1: };
1:
1: struct wb_completion {
1: - atomic_t cnt;
1: - wait_queue_head_t *waitq;
1: + atomic_t cnt;
1: + wait_queue_head_t *waitq;
1: };
1:
1: struct wb_writeback_work {
1: - long int nr_pages;
1: - struct super_block___2 *sb;
1: - long unsigned int *older_than_this;
1: - enum writeback_sync_modes sync_mode;
1: - unsigned int tagged_writepages: 1;
1: - unsigned int for_kupdate: 1;
1: - unsigned int range_cyclic: 1;
1: - unsigned int for_background: 1;
1: - unsigned int for_sync: 1;
1: - unsigned int auto_free: 1;
1: - enum wb_reason reason;
1: - struct list_head list;
1: - struct wb_completion *done;
1: + long int nr_pages;
1: + struct super_block___2 *sb;
1: + long unsigned int *older_than_this;
1: + enum writeback_sync_modes sync_mode;
1: + unsigned int tagged_writepages : 1;
1: + unsigned int for_kupdate : 1;
1: + unsigned int range_cyclic : 1;
1: + unsigned int for_background : 1;
1: + unsigned int for_sync : 1;
1: + unsigned int auto_free : 1;
1: + enum wb_reason reason;
1: + struct list_head list;
1: + struct wb_completion *done;
1: };
1:
1: struct trace_event_raw_writeback_page_template {
1: - struct trace_entry ent;
1: - char name[32];
1: - ino_t ino;
1: - long unsigned int index;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + long unsigned int index;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_dirty_inode_template {
1: - struct trace_entry ent;
1: - char name[32];
1: - ino_t ino;
1: - long unsigned int state;
1: - long unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + long unsigned int state;
1: + long unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_write_inode_template {
1: - struct trace_entry ent;
1: - char name[32];
1: - ino_t ino;
1: - int sync_mode;
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + int sync_mode;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_work_class {
1: - struct trace_entry ent;
1: - char name[32];
1: - long int nr_pages;
1: - dev_t sb_dev;
1: - int sync_mode;
1: - int for_kupdate;
1: - int range_cyclic;
1: - int for_background;
1: - int reason;
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + long int nr_pages;
1: + dev_t sb_dev;
1: + int sync_mode;
1: + int for_kupdate;
1: + int range_cyclic;
1: + int for_background;
1: + int reason;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_pages_written {
1: - struct trace_entry ent;
1: - long int pages;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long int pages;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_class {
1: - struct trace_entry ent;
1: - char name[32];
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_bdi_register {
1: - struct trace_entry ent;
1: - char name[32];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wbc_class {
1: - struct trace_entry ent;
1: - char name[32];
1: - long int nr_to_write;
1: - long int pages_skipped;
1: - int sync_mode;
1: - int for_kupdate;
1: - int for_background;
1: - int for_reclaim;
1: - int range_cyclic;
1: - long int range_start;
1: - long int range_end;
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + long int nr_to_write;
1: + long int pages_skipped;
1: + int sync_mode;
1: + int for_kupdate;
1: + int for_background;
1: + int for_reclaim;
1: + int range_cyclic;
1: + long int range_start;
1: + long int range_end;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_queue_io {
1: - struct trace_entry ent;
1: - char name[32];
1: - long unsigned int older;
1: - long int age;
1: - int moved;
1: - int reason;
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + long unsigned int older;
1: + long int age;
1: + int moved;
1: + int reason;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_global_dirty_state {
1: - struct trace_entry ent;
1: - long unsigned int nr_dirty;
1: - long unsigned int nr_writeback;
1: - long unsigned int nr_unstable;
1: - long unsigned int background_thresh;
1: - long unsigned int dirty_thresh;
1: - long unsigned int dirty_limit;
1: - long unsigned int nr_dirtied;
1: - long unsigned int nr_written;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int nr_dirty;
1: + long unsigned int nr_writeback;
1: + long unsigned int nr_unstable;
1: + long unsigned int background_thresh;
1: + long unsigned int dirty_thresh;
1: + long unsigned int dirty_limit;
1: + long unsigned int nr_dirtied;
1: + long unsigned int nr_written;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_bdi_dirty_ratelimit {
1: - struct trace_entry ent;
1: - char bdi[32];
1: - long unsigned int write_bw;
1: - long unsigned int avg_write_bw;
1: - long unsigned int dirty_rate;
1: - long unsigned int dirty_ratelimit;
1: - long unsigned int task_ratelimit;
1: - long unsigned int balanced_dirty_ratelimit;
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char bdi[32];
1: + long unsigned int write_bw;
1: + long unsigned int avg_write_bw;
1: + long unsigned int dirty_rate;
1: + long unsigned int dirty_ratelimit;
1: + long unsigned int task_ratelimit;
1: + long unsigned int balanced_dirty_ratelimit;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_balance_dirty_pages {
1: - struct trace_entry ent;
1: - char bdi[32];
1: - long unsigned int limit;
1: - long unsigned int setpoint;
1: - long unsigned int dirty;
1: - long unsigned int bdi_setpoint;
1: - long unsigned int bdi_dirty;
1: - long unsigned int dirty_ratelimit;
1: - long unsigned int task_ratelimit;
1: - unsigned int dirtied;
1: - unsigned int dirtied_pause;
1: - long unsigned int paused;
1: - long int pause;
1: - long unsigned int period;
1: - long int think;
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char bdi[32];
1: + long unsigned int limit;
1: + long unsigned int setpoint;
1: + long unsigned int dirty;
1: + long unsigned int bdi_setpoint;
1: + long unsigned int bdi_dirty;
1: + long unsigned int dirty_ratelimit;
1: + long unsigned int task_ratelimit;
1: + unsigned int dirtied;
1: + unsigned int dirtied_pause;
1: + long unsigned int paused;
1: + long int pause;
1: + long unsigned int period;
1: + long int think;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_sb_inodes_requeue {
1: - struct trace_entry ent;
1: - char name[32];
1: - ino_t ino;
1: - long unsigned int state;
1: - long unsigned int dirtied_when;
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + long unsigned int state;
1: + long unsigned int dirtied_when;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_congest_waited_template {
1: - struct trace_entry ent;
1: - unsigned int usec_timeout;
1: - unsigned int usec_delayed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int usec_timeout;
1: + unsigned int usec_delayed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_single_inode_template {
1: - struct trace_entry ent;
1: - char name[32];
1: - ino_t ino;
1: - long unsigned int state;
1: - long unsigned int dirtied_when;
1: - long unsigned int writeback_index;
1: - long int nr_to_write;
1: - long unsigned int wrote;
1: - ino_t cgroup_ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + ino_t ino;
1: + long unsigned int state;
1: + long unsigned int dirtied_when;
1: + long unsigned int writeback_index;
1: + long int nr_to_write;
1: + long unsigned int wrote;
1: + ino_t cgroup_ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_writeback_inode_template {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - long unsigned int state;
1: - __u16 mode;
1: - long unsigned int dirtied_when;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int state;
1: + __u16 mode;
1: + long unsigned int dirtied_when;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_writeback_page_template {};
1: @@ -38289,86 +38622,88 @@ struct trace_event_data_offsets_writeback_single_inode_template {};
1: struct trace_event_data_offsets_writeback_inode_template {};
1:
1: struct splice_desc {
1: - size_t total_len;
1: - unsigned int len;
1: - unsigned int flags;
1: - union {
1: - void *userptr;
1: - struct file___2 *file;
1: - void *data;
1: - } u;
1: - loff_t pos;
1: - loff_t *opos;
1: - size_t num_spliced;
1: - bool need_wakeup;
1: -};
1: -
1: -typedef int splice_actor(struct pipe_inode_info___2 *, struct pipe_buffer___2 *, struct splice_desc *);
1: -
1: -typedef int splice_direct_actor(struct pipe_inode_info___2 *, struct splice_desc *);
1: + size_t total_len;
1: + unsigned int len;
1: + unsigned int flags;
1: + union {
1: + void *userptr;
1: + struct file___2 *file;
1: + void *data;
1: + } u;
1: + loff_t pos;
1: + loff_t *opos;
1: + size_t num_spliced;
1: + bool need_wakeup;
1: +};
1: +
1: +typedef int splice_actor(struct pipe_inode_info___2 *, struct pipe_buffer___2 *,
1: + struct splice_desc *);
1: +
1: +typedef int splice_direct_actor(struct pipe_inode_info___2 *,
1: + struct splice_desc *);
1:
1: struct utimbuf {
1: - __kernel_old_time_t actime;
1: - __kernel_old_time_t modtime;
1: + __kernel_old_time_t actime;
1: + __kernel_old_time_t modtime;
1: };
1:
1: struct old_utimbuf32 {
1: - old_time32_t actime;
1: - old_time32_t modtime;
1: + old_time32_t actime;
1: + old_time32_t modtime;
1: };
1:
1: typedef int __kernel_daddr_t;
1:
1: struct ustat {
1: - __kernel_daddr_t f_tfree;
1: - __kernel_ino_t f_tinode;
1: - char f_fname[6];
1: - char f_fpack[6];
1: + __kernel_daddr_t f_tfree;
1: + __kernel_ino_t f_tinode;
1: + char f_fname[6];
1: + char f_fpack[6];
1: };
1:
1: struct statfs {
1: - __kernel_long_t f_type;
1: - __kernel_long_t f_bsize;
1: - __kernel_long_t f_blocks;
1: - __kernel_long_t f_bfree;
1: - __kernel_long_t f_bavail;
1: - __kernel_long_t f_files;
1: - __kernel_long_t f_ffree;
1: - __kernel_fsid_t f_fsid;
1: - __kernel_long_t f_namelen;
1: - __kernel_long_t f_frsize;
1: - __kernel_long_t f_flags;
1: - __kernel_long_t f_spare[4];
1: + __kernel_long_t f_type;
1: + __kernel_long_t f_bsize;
1: + __kernel_long_t f_blocks;
1: + __kernel_long_t f_bfree;
1: + __kernel_long_t f_bavail;
1: + __kernel_long_t f_files;
1: + __kernel_long_t f_ffree;
1: + __kernel_fsid_t f_fsid;
1: + __kernel_long_t f_namelen;
1: + __kernel_long_t f_frsize;
1: + __kernel_long_t f_flags;
1: + __kernel_long_t f_spare[4];
1: };
1:
1: struct statfs64 {
1: - __kernel_long_t f_type;
1: - __kernel_long_t f_bsize;
1: - __u64 f_blocks;
1: - __u64 f_bfree;
1: - __u64 f_bavail;
1: - __u64 f_files;
1: - __u64 f_ffree;
1: - __kernel_fsid_t f_fsid;
1: - __kernel_long_t f_namelen;
1: - __kernel_long_t f_frsize;
1: - __kernel_long_t f_flags;
1: - __kernel_long_t f_spare[4];
1: + __kernel_long_t f_type;
1: + __kernel_long_t f_bsize;
1: + __u64 f_blocks;
1: + __u64 f_bfree;
1: + __u64 f_bavail;
1: + __u64 f_files;
1: + __u64 f_ffree;
1: + __kernel_fsid_t f_fsid;
1: + __kernel_long_t f_namelen;
1: + __kernel_long_t f_frsize;
1: + __kernel_long_t f_flags;
1: + __kernel_long_t f_spare[4];
1: };
1:
1: struct compat_statfs64 {
1: - __u32 f_type;
1: - __u32 f_bsize;
1: - __u64 f_blocks;
1: - __u64 f_bfree;
1: - __u64 f_bavail;
1: - __u64 f_files;
1: - __u64 f_ffree;
1: - __kernel_fsid_t f_fsid;
1: - __u32 f_namelen;
1: - __u32 f_frsize;
1: - __u32 f_flags;
1: - __u32 f_spare[4];
1: + __u32 f_type;
1: + __u32 f_bsize;
1: + __u64 f_blocks;
1: + __u64 f_bfree;
1: + __u64 f_bavail;
1: + __u64 f_files;
1: + __u64 f_ffree;
1: + __kernel_fsid_t f_fsid;
1: + __u32 f_namelen;
1: + __u32 f_frsize;
1: + __u32 f_flags;
1: + __u32 f_spare[4];
1: } __attribute__((packed));
1:
1: typedef s32 compat_daddr_t;
1: @@ -38376,60 +38711,60 @@ typedef s32 compat_daddr_t;
1: typedef __kernel_fsid_t compat_fsid_t;
1:
1: struct compat_statfs {
1: - int f_type;
1: - int f_bsize;
1: - int f_blocks;
1: - int f_bfree;
1: - int f_bavail;
1: - int f_files;
1: - int f_ffree;
1: - compat_fsid_t f_fsid;
1: - int f_namelen;
1: - int f_frsize;
1: - int f_flags;
1: - int f_spare[4];
1: + int f_type;
1: + int f_bsize;
1: + int f_blocks;
1: + int f_bfree;
1: + int f_bavail;
1: + int f_files;
1: + int f_ffree;
1: + compat_fsid_t f_fsid;
1: + int f_namelen;
1: + int f_frsize;
1: + int f_flags;
1: + int f_spare[4];
1: };
1:
1: struct compat_ustat {
1: - compat_daddr_t f_tfree;
1: - compat_ino_t f_tinode;
1: - char f_fname[6];
1: - char f_fpack[6];
1: + compat_daddr_t f_tfree;
1: + compat_ino_t f_tinode;
1: + char f_fname[6];
1: + char f_fpack[6];
1: };
1:
1: typedef struct ns_common *ns_get_path_helper_t(void *);
1:
1: struct ns_get_path_task_args {
1: - const struct proc_ns_operations *ns_ops;
1: - struct task_struct *task;
1: + const struct proc_ns_operations *ns_ops;
1: + struct task_struct *task;
1: };
1:
1: struct constant_table {
1: - const char *name;
1: - int value;
1: + const char *name;
1: + int value;
1: };
1:
1: enum legacy_fs_param {
1: - LEGACY_FS_UNSET_PARAMS = 0,
1: - LEGACY_FS_MONOLITHIC_PARAMS = 1,
1: - LEGACY_FS_INDIVIDUAL_PARAMS = 2,
1: + LEGACY_FS_UNSET_PARAMS = 0,
1: + LEGACY_FS_MONOLITHIC_PARAMS = 1,
1: + LEGACY_FS_INDIVIDUAL_PARAMS = 2,
1: };
1:
1: struct legacy_fs_context {
1: - char *legacy_data;
1: - size_t data_size;
1: - enum legacy_fs_param param_type;
1: + char *legacy_data;
1: + size_t data_size;
1: + enum legacy_fs_param param_type;
1: };
1:
1: enum fsconfig_command {
1: - FSCONFIG_SET_FLAG = 0,
1: - FSCONFIG_SET_STRING = 1,
1: - FSCONFIG_SET_BINARY = 2,
1: - FSCONFIG_SET_PATH = 3,
1: - FSCONFIG_SET_PATH_EMPTY = 4,
1: - FSCONFIG_SET_FD = 5,
1: - FSCONFIG_CMD_CREATE = 6,
1: - FSCONFIG_CMD_RECONFIGURE = 7,
1: + FSCONFIG_SET_FLAG = 0,
1: + FSCONFIG_SET_STRING = 1,
1: + FSCONFIG_SET_BINARY = 2,
1: + FSCONFIG_SET_PATH = 3,
1: + FSCONFIG_SET_PATH_EMPTY = 4,
1: + FSCONFIG_SET_FD = 5,
1: + FSCONFIG_CMD_CREATE = 6,
1: + FSCONFIG_CMD_RECONFIGURE = 7,
1: };
1:
1: struct dax_device;
1: @@ -38437,64 +38772,66 @@ struct dax_device;
1: struct iomap_page_ops;
1:
1: struct iomap___2 {
1: - u64 addr;
1: - loff_t offset;
1: - u64 length;
1: - u16 type;
1: - u16 flags;
1: - struct block_device *bdev;
1: - struct dax_device *dax_dev;
1: - void *inline_data;
1: - void *private;
1: - const struct iomap_page_ops *page_ops;
1: + u64 addr;
1: + loff_t offset;
1: + u64 length;
1: + u16 type;
1: + u16 flags;
1: + struct block_device *bdev;
1: + struct dax_device *dax_dev;
1: + void *inline_data;
1: + void *private;
1: + const struct iomap_page_ops *page_ops;
1: };
1:
1: struct iomap_page_ops {
1: - int (*page_prepare)(struct inode___2 *, loff_t, unsigned int, struct iomap___2 *);
1: - void (*page_done)(struct inode___2 *, loff_t, unsigned int, struct page___2 *, struct iomap___2 *);
1: + int (*page_prepare)(struct inode___2 *, loff_t, unsigned int,
1: + struct iomap___2 *);
1: + void (*page_done)(struct inode___2 *, loff_t, unsigned int, struct page___2 *,
1: + struct iomap___2 *);
1: };
1:
1: struct bh_lru {
1: - struct buffer_head *bhs[16];
1: + struct buffer_head *bhs[16];
1: };
1:
1: struct bh_accounting {
1: - int nr;
1: - int ratelimit;
1: + int nr;
1: + int ratelimit;
1: };
1:
1: enum {
1: - DISK_EVENT_MEDIA_CHANGE = 1,
1: - DISK_EVENT_EJECT_REQUEST = 2,
1: + DISK_EVENT_MEDIA_CHANGE = 1,
1: + DISK_EVENT_EJECT_REQUEST = 2,
1: };
1:
1: enum {
1: - BIOSET_NEED_BVECS = 1,
1: - BIOSET_NEED_RESCUER = 2,
1: + BIOSET_NEED_BVECS = 1,
1: + BIOSET_NEED_RESCUER = 2,
1: };
1:
1: struct bdev_inode {
1: - struct block_device bdev;
1: - struct inode___2 vfs_inode;
1: + struct block_device bdev;
1: + struct inode___2 vfs_inode;
1: };
1:
1: struct blkdev_dio {
1: - union {
1: - struct kiocb *iocb;
1: - struct task_struct *waiter;
1: - };
1: - size_t size;
1: - atomic_t ref;
1: - bool multi_bio: 1;
1: - bool should_dirty: 1;
1: - bool is_sync: 1;
1: - struct bio bio;
1: + union {
1: + struct kiocb *iocb;
1: + struct task_struct *waiter;
1: + };
1: + size_t size;
1: + atomic_t ref;
1: + bool multi_bio : 1;
1: + bool should_dirty : 1;
1: + bool is_sync : 1;
1: + struct bio bio;
1: };
1:
1: struct bd_holder_disk {
1: - struct list_head list;
1: - struct gendisk *disk;
1: - int refcnt;
1: + struct list_head list;
1: + struct gendisk *disk;
1: + int refcnt;
1: };
1:
1: struct blk_integrity;
1: @@ -38504,88 +38841,88 @@ typedef int dio_iodone_t(struct kiocb___2 *, loff_t, ssize_t, void *);
1: typedef void dio_submit_t(struct bio *, struct inode___2 *, loff_t);
1:
1: enum {
1: - DIO_LOCKING = 1,
1: - DIO_SKIP_HOLES = 2,
1: + DIO_LOCKING = 1,
1: + DIO_SKIP_HOLES = 2,
1: };
1:
1: struct dio_submit {
1: - struct bio *bio;
1: - unsigned int blkbits;
1: - unsigned int blkfactor;
1: - unsigned int start_zero_done;
1: - int pages_in_io;
1: - sector_t block_in_file;
1: - unsigned int blocks_available;
1: - int reap_counter;
1: - sector_t final_block_in_request;
1: - int boundary;
1: - get_block_t *get_block;
1: - dio_submit_t *submit_io;
1: - loff_t logical_offset_in_bio;
1: - sector_t final_block_in_bio;
1: - sector_t next_block_for_io;
1: - struct page___2 *cur_page;
1: - unsigned int cur_page_offset;
1: - unsigned int cur_page_len;
1: - sector_t cur_page_block;
1: - loff_t cur_page_fs_offset;
1: - struct iov_iter___2 *iter;
1: - unsigned int head;
1: - unsigned int tail;
1: - size_t from;
1: - size_t to;
1: + struct bio *bio;
1: + unsigned int blkbits;
1: + unsigned int blkfactor;
1: + unsigned int start_zero_done;
1: + int pages_in_io;
1: + sector_t block_in_file;
1: + unsigned int blocks_available;
1: + int reap_counter;
1: + sector_t final_block_in_request;
1: + int boundary;
1: + get_block_t *get_block;
1: + dio_submit_t *submit_io;
1: + loff_t logical_offset_in_bio;
1: + sector_t final_block_in_bio;
1: + sector_t next_block_for_io;
1: + struct page___2 *cur_page;
1: + unsigned int cur_page_offset;
1: + unsigned int cur_page_len;
1: + sector_t cur_page_block;
1: + loff_t cur_page_fs_offset;
1: + struct iov_iter___2 *iter;
1: + unsigned int head;
1: + unsigned int tail;
1: + size_t from;
1: + size_t to;
1: };
1:
1: struct dio {
1: - int flags;
1: - int op;
1: - int op_flags;
1: - blk_qc_t bio_cookie;
1: - struct gendisk *bio_disk;
1: - struct inode___2 *inode;
1: - loff_t i_size;
1: - dio_iodone_t *end_io;
1: - void *private;
1: - spinlock_t bio_lock;
1: - int page_errors;
1: - int is_async;
1: - bool defer_completion;
1: - bool should_dirty;
1: - int io_error;
1: - long unsigned int refcount;
1: - struct bio *bio_list;
1: - struct task_struct___2 *waiter;
1: - struct kiocb___2 *iocb;
1: - ssize_t result;
1: - union {
1: - struct page___2 *pages[64];
1: - struct work_struct complete_work;
1: - };
1: - long: 64;
1: + int flags;
1: + int op;
1: + int op_flags;
1: + blk_qc_t bio_cookie;
1: + struct gendisk *bio_disk;
1: + struct inode___2 *inode;
1: + loff_t i_size;
1: + dio_iodone_t *end_io;
1: + void *private;
1: + spinlock_t bio_lock;
1: + int page_errors;
1: + int is_async;
1: + bool defer_completion;
1: + bool should_dirty;
1: + int io_error;
1: + long unsigned int refcount;
1: + struct bio *bio_list;
1: + struct task_struct___2 *waiter;
1: + struct kiocb___2 *iocb;
1: + ssize_t result;
1: + union {
1: + struct page___2 *pages[64];
1: + struct work_struct complete_work;
1: + };
1: + long : 64;
1: };
1:
1: struct bvec_iter_all {
1: - struct bio_vec bv;
1: - int idx;
1: - unsigned int done;
1: + struct bio_vec bv;
1: + int idx;
1: + unsigned int done;
1: };
1:
1: struct mpage_readpage_args {
1: - struct bio *bio;
1: - struct page___2 *page;
1: - unsigned int nr_pages;
1: - bool is_readahead;
1: - sector_t last_block_in_bio;
1: - struct buffer_head map_bh;
1: - long unsigned int first_logical_block;
1: - get_block_t *get_block;
1: + struct bio *bio;
1: + struct page___2 *page;
1: + unsigned int nr_pages;
1: + bool is_readahead;
1: + sector_t last_block_in_bio;
1: + struct buffer_head map_bh;
1: + long unsigned int first_logical_block;
1: + get_block_t *get_block;
1: };
1:
1: struct mpage_data {
1: - struct bio *bio;
1: - sector_t last_block_in_bio;
1: - get_block_t *get_block;
1: - unsigned int use_writepage;
1: + struct bio *bio;
1: + sector_t last_block_in_bio;
1: + get_block_t *get_block;
1: + unsigned int use_writepage;
1: };
1:
1: typedef u32 nlink_t;
1: @@ -38593,268 +38930,269 @@ typedef u32 nlink_t;
1: typedef int (*proc_write_t)(struct file___2 *, char *, size_t);
1:
1: struct proc_dir_entry {
1: - atomic_t in_use;
1: - refcount_t refcnt;
1: - struct list_head pde_openers;
1: - spinlock_t pde_unload_lock;
1: - struct completion *pde_unload_completion;
1: - const struct inode_operations___2 *proc_iops;
1: - const struct file_operations___2 *proc_fops;
1: - const struct dentry_operations___2 *proc_dops;
1: - union {
1: - const struct seq_operations___2 *seq_ops;
1: - int (*single_show)(struct seq_file___2 *, void *);
1: - };
1: - proc_write_t write;
1: - void *data;
1: - unsigned int state_size;
1: - unsigned int low_ino;
1: - nlink_t nlink;
1: - kuid_t uid;
1: - kgid_t gid;
1: - loff_t size;
1: - struct proc_dir_entry *parent;
1: - struct rb_root subdir;
1: - struct rb_node subdir_node;
1: - char *name;
1: - umode_t mode;
1: - u8 namelen;
1: - char inline_name[0];
1: + atomic_t in_use;
1: + refcount_t refcnt;
1: + struct list_head pde_openers;
1: + spinlock_t pde_unload_lock;
1: + struct completion *pde_unload_completion;
1: + const struct inode_operations___2 *proc_iops;
1: + const struct file_operations___2 *proc_fops;
1: + const struct dentry_operations___2 *proc_dops;
1: + union {
1: + const struct seq_operations___2 *seq_ops;
1: + int (*single_show)(struct seq_file___2 *, void *);
1: + };
1: + proc_write_t write;
1: + void *data;
1: + unsigned int state_size;
1: + unsigned int low_ino;
1: + nlink_t nlink;
1: + kuid_t uid;
1: + kgid_t gid;
1: + loff_t size;
1: + struct proc_dir_entry *parent;
1: + struct rb_root subdir;
1: + struct rb_node subdir_node;
1: + char *name;
1: + umode_t mode;
1: + u8 namelen;
1: + char inline_name[0];
1: };
1:
1: union proc_op {
1: - int (*proc_get_link)(struct dentry___2 *, struct path___2 *);
1: - int (*proc_show)(struct seq_file___2 *, struct pid_namespace *, struct pid *, struct task_struct *);
1: - const char *lsm;
1: + int (*proc_get_link)(struct dentry___2 *, struct path___2 *);
1: + int (*proc_show)(struct seq_file___2 *, struct pid_namespace *, struct pid *,
1: + struct task_struct *);
1: + const char *lsm;
1: };
1:
1: struct proc_inode {
1: - struct pid *pid;
1: - unsigned int fd;
1: - union proc_op op;
1: - struct proc_dir_entry *pde;
1: - struct ctl_table_header *sysctl;
1: - struct ctl_table *sysctl_entry;
1: - struct hlist_node sysctl_inodes;
1: - const struct proc_ns_operations *ns_ops;
1: - struct inode___2 vfs_inode;
1: + struct pid *pid;
1: + unsigned int fd;
1: + union proc_op op;
1: + struct proc_dir_entry *pde;
1: + struct ctl_table_header *sysctl;
1: + struct ctl_table *sysctl_entry;
1: + struct hlist_node sysctl_inodes;
1: + const struct proc_ns_operations *ns_ops;
1: + struct inode___2 vfs_inode;
1: };
1:
1: struct proc_fs_info {
1: - int flag;
1: - const char *str;
1: + int flag;
1: + const char *str;
1: };
1:
1: struct file_handle {
1: - __u32 handle_bytes;
1: - int handle_type;
1: - unsigned char f_handle[0];
1: + __u32 handle_bytes;
1: + int handle_type;
1: + unsigned char f_handle[0];
1: };
1:
1: struct inotify_inode_mark {
1: - struct fsnotify_mark fsn_mark;
1: - int wd;
1: + struct fsnotify_mark fsn_mark;
1: + int wd;
1: };
1:
1: struct dnotify_struct {
1: - struct dnotify_struct *dn_next;
1: - __u32 dn_mask;
1: - int dn_fd;
1: - struct file___2 *dn_filp;
1: - fl_owner_t dn_owner;
1: + struct dnotify_struct *dn_next;
1: + __u32 dn_mask;
1: + int dn_fd;
1: + struct file___2 *dn_filp;
1: + fl_owner_t dn_owner;
1: };
1:
1: struct dnotify_mark {
1: - struct fsnotify_mark fsn_mark;
1: - struct dnotify_struct *dn;
1: + struct fsnotify_mark fsn_mark;
1: + struct dnotify_struct *dn;
1: };
1:
1: struct inotify_event_info {
1: - struct fsnotify_event fse;
1: - u32 mask;
1: - int wd;
1: - u32 sync_cookie;
1: - int name_len;
1: - char name[0];
1: + struct fsnotify_event fse;
1: + u32 mask;
1: + int wd;
1: + u32 sync_cookie;
1: + int name_len;
1: + char name[0];
1: };
1:
1: struct inotify_event {
1: - __s32 wd;
1: - __u32 mask;
1: - __u32 cookie;
1: - __u32 len;
1: - char name[0];
1: + __s32 wd;
1: + __u32 mask;
1: + __u32 cookie;
1: + __u32 len;
1: + char name[0];
1: };
1:
1: struct epoll_event {
1: - __poll_t events;
1: - __u64 data;
1: + __poll_t events;
1: + __u64 data;
1: } __attribute__((packed));
1:
1: struct epoll_filefd {
1: - struct file___2 *file;
1: - int fd;
1: + struct file___2 *file;
1: + int fd;
1: } __attribute__((packed));
1:
1: struct nested_call_node {
1: - struct list_head llink;
1: - void *cookie;
1: - void *ctx;
1: + struct list_head llink;
1: + void *cookie;
1: + void *ctx;
1: };
1:
1: struct nested_calls {
1: - struct list_head tasks_call_list;
1: - spinlock_t lock;
1: + struct list_head tasks_call_list;
1: + spinlock_t lock;
1: };
1:
1: struct eventpoll;
1:
1: struct epitem {
1: - union {
1: - struct rb_node rbn;
1: - struct callback_head rcu;
1: - };
1: - struct list_head rdllink;
1: - struct epitem *next;
1: - struct epoll_filefd ffd;
1: - int nwait;
1: - struct list_head pwqlist;
1: - struct eventpoll *ep;
1: - struct list_head fllink;
1: - struct wakeup_source *ws;
1: - struct epoll_event event;
1: + union {
1: + struct rb_node rbn;
1: + struct callback_head rcu;
1: + };
1: + struct list_head rdllink;
1: + struct epitem *next;
1: + struct epoll_filefd ffd;
1: + int nwait;
1: + struct list_head pwqlist;
1: + struct eventpoll *ep;
1: + struct list_head fllink;
1: + struct wakeup_source *ws;
1: + struct epoll_event event;
1: };
1:
1: struct eventpoll {
1: - struct mutex mtx;
1: - wait_queue_head_t wq;
1: - wait_queue_head_t poll_wait;
1: - struct list_head rdllist;
1: - rwlock_t lock;
1: - struct rb_root_cached rbr;
1: - struct epitem *ovflist;
1: - struct wakeup_source *ws;
1: - struct user_struct *user;
1: - struct file___2 *file;
1: - int visited;
1: - struct list_head visited_list_link;
1: - unsigned int napi_id;
1: + struct mutex mtx;
1: + wait_queue_head_t wq;
1: + wait_queue_head_t poll_wait;
1: + struct list_head rdllist;
1: + rwlock_t lock;
1: + struct rb_root_cached rbr;
1: + struct epitem *ovflist;
1: + struct wakeup_source *ws;
1: + struct user_struct *user;
1: + struct file___2 *file;
1: + int visited;
1: + struct list_head visited_list_link;
1: + unsigned int napi_id;
1: };
1:
1: struct eppoll_entry {
1: - struct list_head llink;
1: - struct epitem *base;
1: - wait_queue_entry_t wait;
1: - wait_queue_head_t *whead;
1: + struct list_head llink;
1: + struct epitem *base;
1: + wait_queue_entry_t wait;
1: + wait_queue_head_t *whead;
1: };
1:
1: struct ep_pqueue {
1: - poll_table___2 pt;
1: - struct epitem *epi;
1: + poll_table___2 pt;
1: + struct epitem *epi;
1: };
1:
1: struct ep_send_events_data {
1: - int maxevents;
1: - struct epoll_event *events;
1: - int res;
1: + int maxevents;
1: + struct epoll_event *events;
1: + int res;
1: };
1:
1: struct signalfd_siginfo {
1: - __u32 ssi_signo;
1: - __s32 ssi_errno;
1: - __s32 ssi_code;
1: - __u32 ssi_pid;
1: - __u32 ssi_uid;
1: - __s32 ssi_fd;
1: - __u32 ssi_tid;
1: - __u32 ssi_band;
1: - __u32 ssi_overrun;
1: - __u32 ssi_trapno;
1: - __s32 ssi_status;
1: - __s32 ssi_int;
1: - __u64 ssi_ptr;
1: - __u64 ssi_utime;
1: - __u64 ssi_stime;
1: - __u64 ssi_addr;
1: - __u16 ssi_addr_lsb;
1: - __u16 __pad2;
1: - __s32 ssi_syscall;
1: - __u64 ssi_call_addr;
1: - __u32 ssi_arch;
1: - __u8 __pad[28];
1: + __u32 ssi_signo;
1: + __s32 ssi_errno;
1: + __s32 ssi_code;
1: + __u32 ssi_pid;
1: + __u32 ssi_uid;
1: + __s32 ssi_fd;
1: + __u32 ssi_tid;
1: + __u32 ssi_band;
1: + __u32 ssi_overrun;
1: + __u32 ssi_trapno;
1: + __s32 ssi_status;
1: + __s32 ssi_int;
1: + __u64 ssi_ptr;
1: + __u64 ssi_utime;
1: + __u64 ssi_stime;
1: + __u64 ssi_addr;
1: + __u16 ssi_addr_lsb;
1: + __u16 __pad2;
1: + __s32 ssi_syscall;
1: + __u64 ssi_call_addr;
1: + __u32 ssi_arch;
1: + __u8 __pad[28];
1: };
1:
1: struct signalfd_ctx {
1: - sigset_t sigmask;
1: + sigset_t sigmask;
1: };
1:
1: struct timerfd_ctx {
1: - union {
1: - struct hrtimer tmr;
1: - struct alarm alarm;
1: - } t;
1: - ktime_t tintv;
1: - ktime_t moffs;
1: - wait_queue_head_t wqh;
1: - u64 ticks;
1: - int clockid;
1: - short unsigned int expired;
1: - short unsigned int settime_flags;
1: - struct callback_head rcu;
1: - struct list_head clist;
1: - spinlock_t cancel_lock;
1: - bool might_cancel;
1: + union {
1: + struct hrtimer tmr;
1: + struct alarm alarm;
1: + } t;
1: + ktime_t tintv;
1: + ktime_t moffs;
1: + wait_queue_head_t wqh;
1: + u64 ticks;
1: + int clockid;
1: + short unsigned int expired;
1: + short unsigned int settime_flags;
1: + struct callback_head rcu;
1: + struct list_head clist;
1: + spinlock_t cancel_lock;
1: + bool might_cancel;
1: };
1:
1: struct eventfd_ctx {
1: - struct kref kref;
1: - wait_queue_head_t wqh;
1: - __u64 count;
1: - unsigned int flags;
1: - int id;
1: + struct kref kref;
1: + wait_queue_head_t wqh;
1: + __u64 count;
1: + unsigned int flags;
1: + int id;
1: };
1:
1: struct kioctx;
1:
1: struct kioctx_table {
1: - struct callback_head rcu;
1: - unsigned int nr;
1: - struct kioctx *table[0];
1: + struct callback_head rcu;
1: + unsigned int nr;
1: + struct kioctx *table[0];
1: };
1:
1: typedef __kernel_ulong_t aio_context_t;
1:
1: enum {
1: - IOCB_CMD_PREAD = 0,
1: - IOCB_CMD_PWRITE = 1,
1: - IOCB_CMD_FSYNC = 2,
1: - IOCB_CMD_FDSYNC = 3,
1: - IOCB_CMD_POLL = 5,
1: - IOCB_CMD_NOOP = 6,
1: - IOCB_CMD_PREADV = 7,
1: - IOCB_CMD_PWRITEV = 8,
1: + IOCB_CMD_PREAD = 0,
1: + IOCB_CMD_PWRITE = 1,
1: + IOCB_CMD_FSYNC = 2,
1: + IOCB_CMD_FDSYNC = 3,
1: + IOCB_CMD_POLL = 5,
1: + IOCB_CMD_NOOP = 6,
1: + IOCB_CMD_PREADV = 7,
1: + IOCB_CMD_PWRITEV = 8,
1: };
1:
1: struct io_event {
1: - __u64 data;
1: - __u64 obj;
1: - __s64 res;
1: - __s64 res2;
1: + __u64 data;
1: + __u64 obj;
1: + __s64 res;
1: + __s64 res2;
1: };
1:
1: struct iocb {
1: - __u64 aio_data;
1: - __u32 aio_key;
1: - __kernel_rwf_t aio_rw_flags;
1: - __u16 aio_lio_opcode;
1: - __s16 aio_reqprio;
1: - __u32 aio_fildes;
1: - __u64 aio_buf;
1: - __u64 aio_nbytes;
1: - __s64 aio_offset;
1: - __u64 aio_reserved2;
1: - __u32 aio_flags;
1: - __u32 aio_resfd;
1: + __u64 aio_data;
1: + __u32 aio_key;
1: + __kernel_rwf_t aio_rw_flags;
1: + __u16 aio_lio_opcode;
1: + __s16 aio_reqprio;
1: + __u32 aio_fildes;
1: + __u64 aio_buf;
1: + __u64 aio_nbytes;
1: + __s64 aio_offset;
1: + __u64 aio_reserved2;
1: + __u32 aio_flags;
1: + __u32 aio_resfd;
1: };
1:
1: typedef int kiocb_cancel_fn(struct kiocb *);
1: @@ -38862,15 +39200,15 @@ typedef int kiocb_cancel_fn(struct kiocb *);
1: typedef u32 compat_aio_context_t;
1:
1: struct aio_ring {
1: - unsigned int id;
1: - unsigned int nr;
1: - unsigned int head;
1: - unsigned int tail;
1: - unsigned int magic;
1: - unsigned int compat_features;
1: - unsigned int incompat_features;
1: - unsigned int header_length;
1: - struct io_event io_events[0];
1: + unsigned int id;
1: + unsigned int nr;
1: + unsigned int head;
1: + unsigned int tail;
1: + unsigned int magic;
1: + unsigned int compat_features;
1: + unsigned int incompat_features;
1: + unsigned int header_length;
1: + struct io_event io_events[0];
1: };
1:
1: struct kioctx_cpu;
1: @@ -38878,298 +39216,298 @@ struct kioctx_cpu;
1: struct ctx_rq_wait;
1:
1: struct kioctx {
1: - struct percpu_ref users;
1: - atomic_t dead;
1: - struct percpu_ref reqs;
1: - long unsigned int user_id;
1: - struct kioctx_cpu *cpu;
1: - unsigned int req_batch;
1: - unsigned int max_reqs;
1: - unsigned int nr_events;
1: - long unsigned int mmap_base;
1: - long unsigned int mmap_size;
1: - struct page___2 **ring_pages;
1: - long int nr_pages;
1: - struct rcu_work free_rwork;
1: - struct ctx_rq_wait *rq_wait;
1: - long: 64;
1: - struct {
1: - atomic_t reqs_available;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - };
1: - struct {
1: - spinlock_t ctx_lock;
1: - struct list_head active_reqs;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - };
1: - struct {
1: - struct mutex ring_lock;
1: - wait_queue_head_t wait;
1: - long: 64;
1: - };
1: - struct {
1: - unsigned int tail;
1: - unsigned int completed_events;
1: - spinlock_t completion_lock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - };
1: - struct page___2 *internal_pages[8];
1: - struct file *aio_ring_file;
1: - unsigned int id;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct percpu_ref users;
1: + atomic_t dead;
1: + struct percpu_ref reqs;
1: + long unsigned int user_id;
1: + struct kioctx_cpu *cpu;
1: + unsigned int req_batch;
1: + unsigned int max_reqs;
1: + unsigned int nr_events;
1: + long unsigned int mmap_base;
1: + long unsigned int mmap_size;
1: + struct page___2 **ring_pages;
1: + long int nr_pages;
1: + struct rcu_work free_rwork;
1: + struct ctx_rq_wait *rq_wait;
1: + long : 64;
1: + struct {
1: + atomic_t reqs_available;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + };
1: + struct {
1: + spinlock_t ctx_lock;
1: + struct list_head active_reqs;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + };
1: + struct {
1: + struct mutex ring_lock;
1: + wait_queue_head_t wait;
1: + long : 64;
1: + };
1: + struct {
1: + unsigned int tail;
1: + unsigned int completed_events;
1: + spinlock_t completion_lock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + };
1: + struct page___2 *internal_pages[8];
1: + struct file *aio_ring_file;
1: + unsigned int id;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct kioctx_cpu {
1: - unsigned int reqs_available;
1: + unsigned int reqs_available;
1: };
1:
1: struct ctx_rq_wait {
1: - struct completion comp;
1: - atomic_t count;
1: + struct completion comp;
1: + atomic_t count;
1: };
1:
1: struct fsync_iocb {
1: - struct file *file;
1: - struct work_struct work;
1: - bool datasync;
1: + struct file *file;
1: + struct work_struct work;
1: + bool datasync;
1: };
1:
1: struct poll_iocb {
1: - struct file *file;
1: - struct wait_queue_head *head;
1: - __poll_t events;
1: - bool done;
1: - bool cancelled;
1: - struct wait_queue_entry wait;
1: - struct work_struct work;
1: + struct file *file;
1: + struct wait_queue_head *head;
1: + __poll_t events;
1: + bool done;
1: + bool cancelled;
1: + struct wait_queue_entry wait;
1: + struct work_struct work;
1: };
1:
1: struct eventfd_ctx___2;
1:
1: struct aio_kiocb {
1: - union {
1: - struct file *ki_filp;
1: - struct kiocb rw;
1: - struct fsync_iocb fsync;
1: - struct poll_iocb poll;
1: - };
1: - struct kioctx *ki_ctx;
1: - kiocb_cancel_fn *ki_cancel;
1: - struct io_event ki_res;
1: - struct list_head ki_list;
1: - refcount_t ki_refcnt;
1: - struct eventfd_ctx___2 *ki_eventfd;
1: + union {
1: + struct file *ki_filp;
1: + struct kiocb rw;
1: + struct fsync_iocb fsync;
1: + struct poll_iocb poll;
1: + };
1: + struct kioctx *ki_ctx;
1: + kiocb_cancel_fn *ki_cancel;
1: + struct io_event ki_res;
1: + struct list_head ki_list;
1: + refcount_t ki_refcnt;
1: + struct eventfd_ctx___2 *ki_eventfd;
1: };
1:
1: struct aio_poll_table {
1: - struct poll_table_struct pt;
1: - struct aio_kiocb *iocb;
1: - int error;
1: + struct poll_table_struct pt;
1: + struct aio_kiocb *iocb;
1: + int error;
1: };
1:
1: struct __aio_sigset {
1: - const sigset_t *sigmask;
1: - size_t sigsetsize;
1: + const sigset_t *sigmask;
1: + size_t sigsetsize;
1: };
1:
1: struct __compat_aio_sigset {
1: - compat_uptr_t sigmask;
1: - compat_size_t sigsetsize;
1: + compat_uptr_t sigmask;
1: + compat_size_t sigsetsize;
1: };
1:
1: enum {
1: - PERCPU_REF_INIT_ATOMIC = 1,
1: - PERCPU_REF_INIT_DEAD = 2,
1: - PERCPU_REF_ALLOW_REINIT = 4,
1: + PERCPU_REF_INIT_ATOMIC = 1,
1: + PERCPU_REF_INIT_DEAD = 2,
1: + PERCPU_REF_ALLOW_REINIT = 4,
1: };
1:
1: struct user_msghdr {
1: - void *msg_name;
1: - int msg_namelen;
1: - struct iovec *msg_iov;
1: - __kernel_size_t msg_iovlen;
1: - void *msg_control;
1: - __kernel_size_t msg_controllen;
1: - unsigned int msg_flags;
1: + void *msg_name;
1: + int msg_namelen;
1: + struct iovec *msg_iov;
1: + __kernel_size_t msg_iovlen;
1: + void *msg_control;
1: + __kernel_size_t msg_controllen;
1: + unsigned int msg_flags;
1: };
1:
1: enum sock_type {
1: - SOCK_STREAM = 1,
1: - SOCK_DGRAM = 2,
1: - SOCK_RAW = 3,
1: - SOCK_RDM = 4,
1: - SOCK_SEQPACKET = 5,
1: - SOCK_DCCP = 6,
1: - SOCK_PACKET = 10,
1: -};
1: -
1: -enum {
1: - IPPROTO_IP = 0,
1: - IPPROTO_ICMP = 1,
1: - IPPROTO_IGMP = 2,
1: - IPPROTO_IPIP = 4,
1: - IPPROTO_TCP = 6,
1: - IPPROTO_EGP = 8,
1: - IPPROTO_PUP = 12,
1: - IPPROTO_UDP = 17,
1: - IPPROTO_IDP = 22,
1: - IPPROTO_TP = 29,
1: - IPPROTO_DCCP = 33,
1: - IPPROTO_IPV6 = 41,
1: - IPPROTO_RSVP = 46,
1: - IPPROTO_GRE = 47,
1: - IPPROTO_ESP = 50,
1: - IPPROTO_AH = 51,
1: - IPPROTO_MTP = 92,
1: - IPPROTO_BEETPH = 94,
1: - IPPROTO_ENCAP = 98,
1: - IPPROTO_PIM = 103,
1: - IPPROTO_COMP = 108,
1: - IPPROTO_SCTP = 132,
1: - IPPROTO_UDPLITE = 136,
1: - IPPROTO_MPLS = 137,
1: - IPPROTO_RAW = 255,
1: - IPPROTO_MAX = 256,
1: + SOCK_STREAM = 1,
1: + SOCK_DGRAM = 2,
1: + SOCK_RAW = 3,
1: + SOCK_RDM = 4,
1: + SOCK_SEQPACKET = 5,
1: + SOCK_DCCP = 6,
1: + SOCK_PACKET = 10,
1: +};
1: +
1: +enum {
1: + IPPROTO_IP = 0,
1: + IPPROTO_ICMP = 1,
1: + IPPROTO_IGMP = 2,
1: + IPPROTO_IPIP = 4,
1: + IPPROTO_TCP = 6,
1: + IPPROTO_EGP = 8,
1: + IPPROTO_PUP = 12,
1: + IPPROTO_UDP = 17,
1: + IPPROTO_IDP = 22,
1: + IPPROTO_TP = 29,
1: + IPPROTO_DCCP = 33,
1: + IPPROTO_IPV6 = 41,
1: + IPPROTO_RSVP = 46,
1: + IPPROTO_GRE = 47,
1: + IPPROTO_ESP = 50,
1: + IPPROTO_AH = 51,
1: + IPPROTO_MTP = 92,
1: + IPPROTO_BEETPH = 94,
1: + IPPROTO_ENCAP = 98,
1: + IPPROTO_PIM = 103,
1: + IPPROTO_COMP = 108,
1: + IPPROTO_SCTP = 132,
1: + IPPROTO_UDPLITE = 136,
1: + IPPROTO_MPLS = 137,
1: + IPPROTO_RAW = 255,
1: + IPPROTO_MAX = 256,
1: };
1:
1: struct scm_fp_list {
1: - short int count;
1: - short int max;
1: - struct user_struct *user;
1: - struct file___2 *fp[253];
1: + short int count;
1: + short int max;
1: + struct user_struct *user;
1: + struct file___2 *fp[253];
1: };
1:
1: struct unix_skb_parms {
1: - struct pid___2 *pid;
1: - kuid_t uid;
1: - kgid_t gid;
1: - struct scm_fp_list *fp;
1: - u32 secid;
1: - u32 consumed;
1: + struct pid___2 *pid;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct scm_fp_list *fp;
1: + u32 secid;
1: + u32 consumed;
1: };
1:
1: struct trace_event_raw_io_uring_create {
1: - struct trace_entry ent;
1: - int fd;
1: - void *ctx;
1: - u32 sq_entries;
1: - u32 cq_entries;
1: - u32 flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int fd;
1: + void *ctx;
1: + u32 sq_entries;
1: + u32 cq_entries;
1: + u32 flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_io_uring_register {
1: - struct trace_entry ent;
1: - void *ctx;
1: - unsigned int opcode;
1: - unsigned int nr_files;
1: - unsigned int nr_bufs;
1: - bool eventfd;
1: - long int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *ctx;
1: + unsigned int opcode;
1: + unsigned int nr_files;
1: + unsigned int nr_bufs;
1: + bool eventfd;
1: + long int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_io_uring_file_get {
1: - struct trace_entry ent;
1: - void *ctx;
1: - int fd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *ctx;
1: + int fd;
1: + char __data[0];
1: };
1:
1: struct io_wq_work;
1:
1: struct trace_event_raw_io_uring_queue_async_work {
1: - struct trace_entry ent;
1: - void *ctx;
1: - int rw;
1: - void *req;
1: - struct io_wq_work *work;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *ctx;
1: + int rw;
1: + void *req;
1: + struct io_wq_work *work;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct io_wq_work_node {
1: - struct io_wq_work_node *next;
1: + struct io_wq_work_node *next;
1: };
1:
1: struct io_wq_work {
1: - union {
1: - struct io_wq_work_node list;
1: - void *data;
1: - };
1: - void (*func)(struct io_wq_work **);
1: - struct files_struct *files;
1: - unsigned int flags;
1: + union {
1: + struct io_wq_work_node list;
1: + void *data;
1: + };
1: + void (*func)(struct io_wq_work **);
1: + struct files_struct *files;
1: + unsigned int flags;
1: };
1:
1: struct trace_event_raw_io_uring_defer {
1: - struct trace_entry ent;
1: - void *ctx;
1: - void *req;
1: - long long unsigned int data;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *ctx;
1: + void *req;
1: + long long unsigned int data;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_io_uring_link {
1: - struct trace_entry ent;
1: - void *ctx;
1: - void *req;
1: - void *target_req;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *ctx;
1: + void *req;
1: + void *target_req;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_io_uring_cqring_wait {
1: - struct trace_entry ent;
1: - void *ctx;
1: - int min_events;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *ctx;
1: + int min_events;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_io_uring_fail_link {
1: - struct trace_entry ent;
1: - void *req;
1: - void *link;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *req;
1: + void *link;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_io_uring_complete {
1: - struct trace_entry ent;
1: - void *ctx;
1: - u64 user_data;
1: - long int res;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *ctx;
1: + u64 user_data;
1: + long int res;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_io_uring_submit_sqe {
1: - struct trace_entry ent;
1: - void *ctx;
1: - u64 user_data;
1: - bool force_nonblock;
1: - bool sq_thread;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *ctx;
1: + u64 user_data;
1: + bool force_nonblock;
1: + bool sq_thread;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_io_uring_create {};
1: @@ -39193,116 +39531,116 @@ struct trace_event_data_offsets_io_uring_complete {};
1: struct trace_event_data_offsets_io_uring_submit_sqe {};
1:
1: struct io_uring_sqe {
1: - __u8 opcode;
1: - __u8 flags;
1: - __u16 ioprio;
1: - __s32 fd;
1: - union {
1: - __u64 off;
1: - __u64 addr2;
1: - };
1: - __u64 addr;
1: - __u32 len;
1: - union {
1: - __kernel_rwf_t rw_flags;
1: - __u32 fsync_flags;
1: - __u16 poll_events;
1: - __u32 sync_range_flags;
1: - __u32 msg_flags;
1: - __u32 timeout_flags;
1: - __u32 accept_flags;
1: - __u32 cancel_flags;
1: - };
1: - __u64 user_data;
1: - union {
1: - __u16 buf_index;
1: - __u64 __pad2[3];
1: - };
1: -};
1: -
1: -enum {
1: - IORING_OP_NOP = 0,
1: - IORING_OP_READV = 1,
1: - IORING_OP_WRITEV = 2,
1: - IORING_OP_FSYNC = 3,
1: - IORING_OP_READ_FIXED = 4,
1: - IORING_OP_WRITE_FIXED = 5,
1: - IORING_OP_POLL_ADD = 6,
1: - IORING_OP_POLL_REMOVE = 7,
1: - IORING_OP_SYNC_FILE_RANGE = 8,
1: - IORING_OP_SENDMSG = 9,
1: - IORING_OP_RECVMSG = 10,
1: - IORING_OP_TIMEOUT = 11,
1: - IORING_OP_TIMEOUT_REMOVE = 12,
1: - IORING_OP_ACCEPT = 13,
1: - IORING_OP_ASYNC_CANCEL = 14,
1: - IORING_OP_LINK_TIMEOUT = 15,
1: - IORING_OP_CONNECT = 16,
1: - IORING_OP_LAST = 17,
1: + __u8 opcode;
1: + __u8 flags;
1: + __u16 ioprio;
1: + __s32 fd;
1: + union {
1: + __u64 off;
1: + __u64 addr2;
1: + };
1: + __u64 addr;
1: + __u32 len;
1: + union {
1: + __kernel_rwf_t rw_flags;
1: + __u32 fsync_flags;
1: + __u16 poll_events;
1: + __u32 sync_range_flags;
1: + __u32 msg_flags;
1: + __u32 timeout_flags;
1: + __u32 accept_flags;
1: + __u32 cancel_flags;
1: + };
1: + __u64 user_data;
1: + union {
1: + __u16 buf_index;
1: + __u64 __pad2[3];
1: + };
1: +};
1: +
1: +enum {
1: + IORING_OP_NOP = 0,
1: + IORING_OP_READV = 1,
1: + IORING_OP_WRITEV = 2,
1: + IORING_OP_FSYNC = 3,
1: + IORING_OP_READ_FIXED = 4,
1: + IORING_OP_WRITE_FIXED = 5,
1: + IORING_OP_POLL_ADD = 6,
1: + IORING_OP_POLL_REMOVE = 7,
1: + IORING_OP_SYNC_FILE_RANGE = 8,
1: + IORING_OP_SENDMSG = 9,
1: + IORING_OP_RECVMSG = 10,
1: + IORING_OP_TIMEOUT = 11,
1: + IORING_OP_TIMEOUT_REMOVE = 12,
1: + IORING_OP_ACCEPT = 13,
1: + IORING_OP_ASYNC_CANCEL = 14,
1: + IORING_OP_LINK_TIMEOUT = 15,
1: + IORING_OP_CONNECT = 16,
1: + IORING_OP_LAST = 17,
1: };
1:
1: struct io_uring_cqe {
1: - __u64 user_data;
1: - __s32 res;
1: - __u32 flags;
1: + __u64 user_data;
1: + __s32 res;
1: + __u32 flags;
1: };
1:
1: struct io_sqring_offsets {
1: - __u32 head;
1: - __u32 tail;
1: - __u32 ring_mask;
1: - __u32 ring_entries;
1: - __u32 flags;
1: - __u32 dropped;
1: - __u32 array;
1: - __u32 resv1;
1: - __u64 resv2;
1: + __u32 head;
1: + __u32 tail;
1: + __u32 ring_mask;
1: + __u32 ring_entries;
1: + __u32 flags;
1: + __u32 dropped;
1: + __u32 array;
1: + __u32 resv1;
1: + __u64 resv2;
1: };
1:
1: struct io_cqring_offsets {
1: - __u32 head;
1: - __u32 tail;
1: - __u32 ring_mask;
1: - __u32 ring_entries;
1: - __u32 overflow;
1: - __u32 cqes;
1: - __u64 resv[2];
1: + __u32 head;
1: + __u32 tail;
1: + __u32 ring_mask;
1: + __u32 ring_entries;
1: + __u32 overflow;
1: + __u32 cqes;
1: + __u64 resv[2];
1: };
1:
1: struct io_uring_params {
1: - __u32 sq_entries;
1: - __u32 cq_entries;
1: - __u32 flags;
1: - __u32 sq_thread_cpu;
1: - __u32 sq_thread_idle;
1: - __u32 features;
1: - __u32 resv[4];
1: - struct io_sqring_offsets sq_off;
1: - struct io_cqring_offsets cq_off;
1: + __u32 sq_entries;
1: + __u32 cq_entries;
1: + __u32 flags;
1: + __u32 sq_thread_cpu;
1: + __u32 sq_thread_idle;
1: + __u32 features;
1: + __u32 resv[4];
1: + struct io_sqring_offsets sq_off;
1: + struct io_cqring_offsets cq_off;
1: };
1:
1: struct io_uring_files_update {
1: - __u32 offset;
1: - __u32 resv;
1: - __u64 fds;
1: + __u32 offset;
1: + __u32 resv;
1: + __u64 fds;
1: };
1:
1: enum {
1: - IO_WQ_WORK_CANCEL = 1,
1: - IO_WQ_WORK_HAS_MM = 2,
1: - IO_WQ_WORK_HASHED = 4,
1: - IO_WQ_WORK_NEEDS_USER = 8,
1: - IO_WQ_WORK_NEEDS_FILES = 16,
1: - IO_WQ_WORK_UNBOUND = 32,
1: - IO_WQ_WORK_INTERNAL = 64,
1: - IO_WQ_WORK_CB = 128,
1: - IO_WQ_HASH_SHIFT = 24,
1: + IO_WQ_WORK_CANCEL = 1,
1: + IO_WQ_WORK_HAS_MM = 2,
1: + IO_WQ_WORK_HASHED = 4,
1: + IO_WQ_WORK_NEEDS_USER = 8,
1: + IO_WQ_WORK_NEEDS_FILES = 16,
1: + IO_WQ_WORK_UNBOUND = 32,
1: + IO_WQ_WORK_INTERNAL = 64,
1: + IO_WQ_WORK_CB = 128,
1: + IO_WQ_HASH_SHIFT = 24,
1: };
1:
1: enum io_wq_cancel {
1: - IO_WQ_CANCEL_OK = 0,
1: - IO_WQ_CANCEL_RUNNING = 1,
1: - IO_WQ_CANCEL_NOTFOUND = 2,
1: + IO_WQ_CANCEL_OK = 0,
1: + IO_WQ_CANCEL_RUNNING = 1,
1: + IO_WQ_CANCEL_NOTFOUND = 2,
1: };
1:
1: typedef void get_work_fn(struct io_wq_work *);
1: @@ -39310,63 +39648,63 @@ typedef void get_work_fn(struct io_wq_work *);
1: typedef void put_work_fn(struct io_wq_work *);
1:
1: struct io_wq_data {
1: - struct mm_struct___2 *mm;
1: - struct user_struct *user;
1: - const struct cred___2 *creds;
1: - get_work_fn *get_work;
1: - put_work_fn *put_work;
1: + struct mm_struct___2 *mm;
1: + struct user_struct *user;
1: + const struct cred___2 *creds;
1: + get_work_fn *get_work;
1: + put_work_fn *put_work;
1: };
1:
1: typedef bool work_cancel_fn(struct io_wq_work *, void *);
1:
1: struct io_uring {
1: - u32 head;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - u32 tail;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + u32 head;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + u32 tail;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct io_rings {
1: - struct io_uring sq;
1: - struct io_uring cq;
1: - u32 sq_ring_mask;
1: - u32 cq_ring_mask;
1: - u32 sq_ring_entries;
1: - u32 cq_ring_entries;
1: - u32 sq_dropped;
1: - u32 sq_flags;
1: - u32 cq_overflow;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct io_uring_cqe cqes[0];
1: + struct io_uring sq;
1: + struct io_uring cq;
1: + u32 sq_ring_mask;
1: + u32 cq_ring_mask;
1: + u32 sq_ring_entries;
1: + u32 cq_ring_entries;
1: + u32 sq_dropped;
1: + u32 sq_flags;
1: + u32 cq_overflow;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct io_uring_cqe cqes[0];
1: };
1:
1: struct io_mapped_ubuf {
1: - u64 ubuf;
1: - size_t len;
1: - struct bio_vec___2 *bvec;
1: - unsigned int nr_bvecs;
1: + u64 ubuf;
1: + size_t len;
1: + struct bio_vec___2 *bvec;
1: + unsigned int nr_bvecs;
1: };
1:
1: struct fixed_file_table {
1: - struct file___2 **files;
1: + struct file___2 **files;
1: };
1:
1: struct io_wq;
1: @@ -39374,390 +39712,390 @@ struct io_wq;
1: struct io_kiocb;
1:
1: struct io_ring_ctx {
1: - struct {
1: - struct percpu_ref refs;
1: - long: 64;
1: - };
1: - struct {
1: - unsigned int flags;
1: - bool compat;
1: - bool account_mem;
1: - bool cq_overflow_flushed;
1: - bool drain_next;
1: - u32 *sq_array;
1: - unsigned int cached_sq_head;
1: - unsigned int sq_entries;
1: - unsigned int sq_mask;
1: - unsigned int sq_thread_idle;
1: - unsigned int cached_sq_dropped;
1: - atomic_t cached_cq_overflow;
1: - struct io_uring_sqe *sq_sqes;
1: - struct list_head defer_list;
1: - struct list_head timeout_list;
1: - struct list_head cq_overflow_list;
1: - wait_queue_head_t inflight_wait;
1: - long: 64;
1: - };
1: - struct io_rings *rings;
1: - struct io_wq *io_wq;
1: - struct task_struct___2 *sqo_thread;
1: - struct mm_struct___2 *sqo_mm;
1: - wait_queue_head_t sqo_wait;
1: - struct fixed_file_table *file_table;
1: - unsigned int nr_user_files;
1: - unsigned int nr_user_bufs;
1: - struct io_mapped_ubuf *user_bufs;
1: - struct user_struct *user;
1: - const struct cred___2 *creds;
1: - struct completion *completions;
1: - struct io_kiocb *fallback_req;
1: - struct socket *ring_sock;
1: - long: 64;
1: - struct {
1: - unsigned int cached_cq_tail;
1: - unsigned int cq_entries;
1: - unsigned int cq_mask;
1: - atomic_t cq_timeouts;
1: - struct wait_queue_head cq_wait;
1: - struct fasync_struct___2 *cq_fasync;
1: - struct eventfd_ctx___2 *cq_ev_fd;
1: - long: 64;
1: - };
1: - struct {
1: - struct mutex uring_lock;
1: - wait_queue_head_t wait;
1: - long: 64;
1: - };
1: - struct {
1: - spinlock_t completion_lock;
1: - bool poll_multi_file;
1: - struct list_head poll_list;
1: - struct hlist_head *cancel_hash;
1: - unsigned int cancel_hash_bits;
1: - spinlock_t inflight_lock;
1: - struct list_head inflight_list;
1: - long: 64;
1: - };
1: + struct {
1: + struct percpu_ref refs;
1: + long : 64;
1: + };
1: + struct {
1: + unsigned int flags;
1: + bool compat;
1: + bool account_mem;
1: + bool cq_overflow_flushed;
1: + bool drain_next;
1: + u32 *sq_array;
1: + unsigned int cached_sq_head;
1: + unsigned int sq_entries;
1: + unsigned int sq_mask;
1: + unsigned int sq_thread_idle;
1: + unsigned int cached_sq_dropped;
1: + atomic_t cached_cq_overflow;
1: + struct io_uring_sqe *sq_sqes;
1: + struct list_head defer_list;
1: + struct list_head timeout_list;
1: + struct list_head cq_overflow_list;
1: + wait_queue_head_t inflight_wait;
1: + long : 64;
1: + };
1: + struct io_rings *rings;
1: + struct io_wq *io_wq;
1: + struct task_struct___2 *sqo_thread;
1: + struct mm_struct___2 *sqo_mm;
1: + wait_queue_head_t sqo_wait;
1: + struct fixed_file_table *file_table;
1: + unsigned int nr_user_files;
1: + unsigned int nr_user_bufs;
1: + struct io_mapped_ubuf *user_bufs;
1: + struct user_struct *user;
1: + const struct cred___2 *creds;
1: + struct completion *completions;
1: + struct io_kiocb *fallback_req;
1: + struct socket *ring_sock;
1: + long : 64;
1: + struct {
1: + unsigned int cached_cq_tail;
1: + unsigned int cq_entries;
1: + unsigned int cq_mask;
1: + atomic_t cq_timeouts;
1: + struct wait_queue_head cq_wait;
1: + struct fasync_struct___2 *cq_fasync;
1: + struct eventfd_ctx___2 *cq_ev_fd;
1: + long : 64;
1: + };
1: + struct {
1: + struct mutex uring_lock;
1: + wait_queue_head_t wait;
1: + long : 64;
1: + };
1: + struct {
1: + spinlock_t completion_lock;
1: + bool poll_multi_file;
1: + struct list_head poll_list;
1: + struct hlist_head *cancel_hash;
1: + unsigned int cancel_hash_bits;
1: + spinlock_t inflight_lock;
1: + struct list_head inflight_list;
1: + long : 64;
1: + };
1: };
1:
1: struct io_rw {
1: - struct kiocb___2 kiocb;
1: - u64 addr;
1: - u64 len;
1: + struct kiocb___2 kiocb;
1: + u64 addr;
1: + u64 len;
1: };
1:
1: struct io_poll_iocb {
1: - struct file___2 *file;
1: - union {
1: - struct wait_queue_head *head;
1: - u64 addr;
1: - };
1: - __poll_t events;
1: - bool done;
1: - bool canceled;
1: - struct wait_queue_entry wait;
1: + struct file___2 *file;
1: + union {
1: + struct wait_queue_head *head;
1: + u64 addr;
1: + };
1: + __poll_t events;
1: + bool done;
1: + bool canceled;
1: + struct wait_queue_entry wait;
1: };
1:
1: struct io_accept {
1: - struct file___2 *file;
1: - struct sockaddr *addr;
1: - int *addr_len;
1: - int flags;
1: + struct file___2 *file;
1: + struct sockaddr *addr;
1: + int *addr_len;
1: + int flags;
1: };
1:
1: struct io_sync {
1: - struct file___2 *file;
1: - loff_t len;
1: - loff_t off;
1: - int flags;
1: + struct file___2 *file;
1: + loff_t len;
1: + loff_t off;
1: + int flags;
1: };
1:
1: struct io_cancel {
1: - struct file___2 *file;
1: - u64 addr;
1: + struct file___2 *file;
1: + u64 addr;
1: };
1:
1: struct io_timeout {
1: - struct file___2 *file;
1: - u64 addr;
1: - int flags;
1: - unsigned int count;
1: + struct file___2 *file;
1: + u64 addr;
1: + int flags;
1: + unsigned int count;
1: };
1:
1: struct io_connect {
1: - struct file___2 *file;
1: - struct sockaddr *addr;
1: - int addr_len;
1: + struct file___2 *file;
1: + struct sockaddr *addr;
1: + int addr_len;
1: };
1:
1: struct io_sr_msg {
1: - struct file___2 *file;
1: - struct user_msghdr *msg;
1: - int msg_flags;
1: + struct file___2 *file;
1: + struct user_msghdr *msg;
1: + int msg_flags;
1: };
1:
1: struct io_async_ctx;
1:
1: struct io_kiocb {
1: - union {
1: - struct file___2 *file;
1: - struct io_rw rw;
1: - struct io_poll_iocb poll;
1: - struct io_accept accept;
1: - struct io_sync sync;
1: - struct io_cancel cancel;
1: - struct io_timeout timeout;
1: - struct io_connect connect;
1: - struct io_sr_msg sr_msg;
1: - };
1: - struct io_async_ctx *io;
1: - struct file___2 *ring_file;
1: - int ring_fd;
1: - bool has_user;
1: - bool in_async;
1: - bool needs_fixed_file;
1: - u8 opcode;
1: - struct io_ring_ctx *ctx;
1: - union {
1: - struct list_head list;
1: - struct hlist_node hash_node;
1: - };
1: - struct list_head link_list;
1: - unsigned int flags;
1: - refcount_t refs;
1: - u64 user_data;
1: - u32 result;
1: - u32 sequence;
1: - struct list_head inflight_entry;
1: - struct io_wq_work work;
1: + union {
1: + struct file___2 *file;
1: + struct io_rw rw;
1: + struct io_poll_iocb poll;
1: + struct io_accept accept;
1: + struct io_sync sync;
1: + struct io_cancel cancel;
1: + struct io_timeout timeout;
1: + struct io_connect connect;
1: + struct io_sr_msg sr_msg;
1: + };
1: + struct io_async_ctx *io;
1: + struct file___2 *ring_file;
1: + int ring_fd;
1: + bool has_user;
1: + bool in_async;
1: + bool needs_fixed_file;
1: + u8 opcode;
1: + struct io_ring_ctx *ctx;
1: + union {
1: + struct list_head list;
1: + struct hlist_node hash_node;
1: + };
1: + struct list_head link_list;
1: + unsigned int flags;
1: + refcount_t refs;
1: + u64 user_data;
1: + u32 result;
1: + u32 sequence;
1: + struct list_head inflight_entry;
1: + struct io_wq_work work;
1: };
1:
1: struct io_timeout_data {
1: - struct io_kiocb *req;
1: - struct hrtimer timer;
1: - struct timespec64 ts;
1: - enum hrtimer_mode mode;
1: - u32 seq_offset;
1: + struct io_kiocb *req;
1: + struct hrtimer timer;
1: + struct timespec64 ts;
1: + enum hrtimer_mode mode;
1: + u32 seq_offset;
1: };
1:
1: struct io_async_connect {
1: - struct __kernel_sockaddr_storage address;
1: + struct __kernel_sockaddr_storage address;
1: };
1:
1: struct io_async_msghdr {
1: - struct iovec fast_iov[8];
1: - struct iovec *iov;
1: - struct sockaddr *uaddr;
1: - struct msghdr msg;
1: + struct iovec fast_iov[8];
1: + struct iovec *iov;
1: + struct sockaddr *uaddr;
1: + struct msghdr msg;
1: };
1:
1: struct io_async_rw {
1: - struct iovec fast_iov[8];
1: - struct iovec *iov;
1: - ssize_t nr_segs;
1: - ssize_t size;
1: + struct iovec fast_iov[8];
1: + struct iovec *iov;
1: + ssize_t nr_segs;
1: + ssize_t size;
1: };
1:
1: struct io_async_ctx {
1: - union {
1: - struct io_async_rw rw;
1: - struct io_async_msghdr msg;
1: - struct io_async_connect connect;
1: - struct io_timeout_data timeout;
1: - };
1: + union {
1: + struct io_async_rw rw;
1: + struct io_async_msghdr msg;
1: + struct io_async_connect connect;
1: + struct io_timeout_data timeout;
1: + };
1: };
1:
1: struct io_submit_state {
1: - struct blk_plug plug;
1: - void *reqs[8];
1: - unsigned int free_reqs;
1: - unsigned int cur_req;
1: - struct file___2 *file;
1: - unsigned int fd;
1: - unsigned int has_refs;
1: - unsigned int used_refs;
1: - unsigned int ios_left;
1: + struct blk_plug plug;
1: + void *reqs[8];
1: + unsigned int free_reqs;
1: + unsigned int cur_req;
1: + struct file___2 *file;
1: + unsigned int fd;
1: + unsigned int has_refs;
1: + unsigned int used_refs;
1: + unsigned int ios_left;
1: };
1:
1: struct io_poll_table {
1: - struct poll_table_struct___2 pt;
1: - struct io_kiocb *req;
1: - int error;
1: + struct poll_table_struct___2 pt;
1: + struct io_kiocb *req;
1: + int error;
1: };
1:
1: struct io_wait_queue {
1: - struct wait_queue_entry wq;
1: - struct io_ring_ctx *ctx;
1: - unsigned int to_wait;
1: - unsigned int nr_timeouts;
1: + struct wait_queue_entry wq;
1: + struct io_ring_ctx *ctx;
1: + unsigned int to_wait;
1: + unsigned int nr_timeouts;
1: };
1:
1: struct io_wq_work_list {
1: - struct io_wq_work_node *first;
1: - struct io_wq_work_node *last;
1: + struct io_wq_work_node *first;
1: + struct io_wq_work_node *last;
1: };
1:
1: enum {
1: - IO_WORKER_F_UP = 1,
1: - IO_WORKER_F_RUNNING = 2,
1: - IO_WORKER_F_FREE = 4,
1: - IO_WORKER_F_EXITING = 8,
1: - IO_WORKER_F_FIXED = 16,
1: - IO_WORKER_F_BOUND = 32,
1: + IO_WORKER_F_UP = 1,
1: + IO_WORKER_F_RUNNING = 2,
1: + IO_WORKER_F_FREE = 4,
1: + IO_WORKER_F_EXITING = 8,
1: + IO_WORKER_F_FIXED = 16,
1: + IO_WORKER_F_BOUND = 32,
1: };
1:
1: enum {
1: - IO_WQ_BIT_EXIT = 0,
1: - IO_WQ_BIT_CANCEL = 1,
1: - IO_WQ_BIT_ERROR = 2,
1: + IO_WQ_BIT_EXIT = 0,
1: + IO_WQ_BIT_CANCEL = 1,
1: + IO_WQ_BIT_ERROR = 2,
1: };
1:
1: enum {
1: - IO_WQE_FLAG_STALLED = 1,
1: + IO_WQE_FLAG_STALLED = 1,
1: };
1:
1: struct io_wqe;
1:
1: struct io_worker {
1: - refcount_t ref;
1: - unsigned int flags;
1: - struct hlist_nulls_node nulls_node;
1: - struct list_head all_list;
1: - struct task_struct___2 *task;
1: - struct io_wqe *wqe;
1: - struct io_wq_work *cur_work;
1: - spinlock_t lock;
1: - struct callback_head rcu;
1: - struct mm_struct___2 *mm;
1: - const struct cred___2 *creds;
1: - struct files_struct *restore_files;
1: + refcount_t ref;
1: + unsigned int flags;
1: + struct hlist_nulls_node nulls_node;
1: + struct list_head all_list;
1: + struct task_struct___2 *task;
1: + struct io_wqe *wqe;
1: + struct io_wq_work *cur_work;
1: + spinlock_t lock;
1: + struct callback_head rcu;
1: + struct mm_struct___2 *mm;
1: + const struct cred___2 *creds;
1: + struct files_struct *restore_files;
1: };
1:
1: struct io_wqe_acct {
1: - unsigned int nr_workers;
1: - unsigned int max_workers;
1: - atomic_t nr_running;
1: + unsigned int nr_workers;
1: + unsigned int max_workers;
1: + atomic_t nr_running;
1: };
1:
1: struct io_wq___2;
1:
1: struct io_wqe {
1: - struct {
1: - spinlock_t lock;
1: - struct io_wq_work_list work_list;
1: - long unsigned int hash_map;
1: - unsigned int flags;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - };
1: - int node;
1: - struct io_wqe_acct acct[2];
1: - struct hlist_nulls_head free_list;
1: - struct list_head all_list;
1: - struct io_wq___2 *wq;
1: + struct {
1: + spinlock_t lock;
1: + struct io_wq_work_list work_list;
1: + long unsigned int hash_map;
1: + unsigned int flags;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + };
1: + int node;
1: + struct io_wqe_acct acct[2];
1: + struct hlist_nulls_head free_list;
1: + struct list_head all_list;
1: + struct io_wq___2 *wq;
1: };
1:
1: enum {
1: - IO_WQ_ACCT_BOUND = 0,
1: - IO_WQ_ACCT_UNBOUND = 1,
1: + IO_WQ_ACCT_BOUND = 0,
1: + IO_WQ_ACCT_UNBOUND = 1,
1: };
1:
1: struct io_wq___2 {
1: - struct io_wqe **wqes;
1: - long unsigned int state;
1: - get_work_fn *get_work;
1: - put_work_fn *put_work;
1: - struct task_struct___2 *manager;
1: - struct user_struct *user;
1: - const struct cred___2 *creds;
1: - struct mm_struct___2 *mm;
1: - refcount_t refs;
1: - struct completion done;
1: + struct io_wqe **wqes;
1: + long unsigned int state;
1: + get_work_fn *get_work;
1: + put_work_fn *put_work;
1: + struct task_struct___2 *manager;
1: + struct user_struct *user;
1: + const struct cred___2 *creds;
1: + struct mm_struct___2 *mm;
1: + refcount_t refs;
1: + struct completion done;
1: };
1:
1: struct io_cb_cancel_data {
1: - struct io_wqe *wqe;
1: - work_cancel_fn *cancel;
1: - void *caller_data;
1: + struct io_wqe *wqe;
1: + work_cancel_fn *cancel;
1: + void *caller_data;
1: };
1:
1: struct io_wq_flush_data {
1: - struct io_wq_work work;
1: - struct completion done;
1: + struct io_wq_work work;
1: + struct completion done;
1: };
1:
1: struct flock64 {
1: - short int l_type;
1: - short int l_whence;
1: - __kernel_loff_t l_start;
1: - __kernel_loff_t l_len;
1: - __kernel_pid_t l_pid;
1: + short int l_type;
1: + short int l_whence;
1: + __kernel_loff_t l_start;
1: + __kernel_loff_t l_len;
1: + __kernel_pid_t l_pid;
1: };
1:
1: struct trace_event_raw_locks_get_lock_context {
1: - struct trace_entry ent;
1: - long unsigned int i_ino;
1: - dev_t s_dev;
1: - unsigned char type;
1: - struct file_lock_context *ctx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + unsigned char type;
1: + struct file_lock_context *ctx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_filelock_lock {
1: - struct trace_entry ent;
1: - struct file_lock *fl;
1: - long unsigned int i_ino;
1: - dev_t s_dev;
1: - struct file_lock *fl_blocker;
1: - fl_owner_t fl_owner;
1: - unsigned int fl_pid;
1: - unsigned int fl_flags;
1: - unsigned char fl_type;
1: - loff_t fl_start;
1: - loff_t fl_end;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct file_lock *fl;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + struct file_lock *fl_blocker;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_pid;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + loff_t fl_start;
1: + loff_t fl_end;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_filelock_lease {
1: - struct trace_entry ent;
1: - struct file_lock *fl;
1: - long unsigned int i_ino;
1: - dev_t s_dev;
1: - struct file_lock *fl_blocker;
1: - fl_owner_t fl_owner;
1: - unsigned int fl_flags;
1: - unsigned char fl_type;
1: - long unsigned int fl_break_time;
1: - long unsigned int fl_downgrade_time;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct file_lock *fl;
1: + long unsigned int i_ino;
1: + dev_t s_dev;
1: + struct file_lock *fl_blocker;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + long unsigned int fl_break_time;
1: + long unsigned int fl_downgrade_time;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_generic_add_lease {
1: - struct trace_entry ent;
1: - long unsigned int i_ino;
1: - int wcount;
1: - int rcount;
1: - int icount;
1: - dev_t s_dev;
1: - fl_owner_t fl_owner;
1: - unsigned int fl_flags;
1: - unsigned char fl_type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int i_ino;
1: + int wcount;
1: + int rcount;
1: + int icount;
1: + dev_t s_dev;
1: + fl_owner_t fl_owner;
1: + unsigned int fl_flags;
1: + unsigned char fl_type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_leases_conflict {
1: - struct trace_entry ent;
1: - void *lease;
1: - void *breaker;
1: - unsigned int l_fl_flags;
1: - unsigned int b_fl_flags;
1: - unsigned char l_fl_type;
1: - unsigned char b_fl_type;
1: - bool conflict;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *lease;
1: + void *breaker;
1: + unsigned int l_fl_flags;
1: + unsigned int b_fl_flags;
1: + unsigned char l_fl_type;
1: + unsigned char b_fl_type;
1: + bool conflict;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_locks_get_lock_context {};
1: @@ -39771,123 +40109,123 @@ struct trace_event_data_offsets_generic_add_lease {};
1: struct trace_event_data_offsets_leases_conflict {};
1:
1: struct file_lock_list_struct {
1: - spinlock_t lock;
1: - struct hlist_head hlist;
1: + spinlock_t lock;
1: + struct hlist_head hlist;
1: };
1:
1: struct locks_iterator {
1: - int li_cpu;
1: - loff_t li_pos;
1: + int li_cpu;
1: + loff_t li_pos;
1: };
1:
1: struct nfs_string {
1: - unsigned int len;
1: - const char *data;
1: + unsigned int len;
1: + const char *data;
1: };
1:
1: struct nfs4_mount_data {
1: - int version;
1: - int flags;
1: - int rsize;
1: - int wsize;
1: - int timeo;
1: - int retrans;
1: - int acregmin;
1: - int acregmax;
1: - int acdirmin;
1: - int acdirmax;
1: - struct nfs_string client_addr;
1: - struct nfs_string mnt_path;
1: - struct nfs_string hostname;
1: - unsigned int host_addrlen;
1: - struct sockaddr *host_addr;
1: - int proto;
1: - int auth_flavourlen;
1: - int *auth_flavours;
1: + int version;
1: + int flags;
1: + int rsize;
1: + int wsize;
1: + int timeo;
1: + int retrans;
1: + int acregmin;
1: + int acregmax;
1: + int acdirmin;
1: + int acdirmax;
1: + struct nfs_string client_addr;
1: + struct nfs_string mnt_path;
1: + struct nfs_string hostname;
1: + unsigned int host_addrlen;
1: + struct sockaddr *host_addr;
1: + int proto;
1: + int auth_flavourlen;
1: + int *auth_flavours;
1: };
1:
1: struct compat_nfs_string {
1: - compat_uint_t len;
1: - compat_uptr_t data;
1: + compat_uint_t len;
1: + compat_uptr_t data;
1: };
1:
1: struct compat_nfs4_mount_data_v1 {
1: - compat_int_t version;
1: - compat_int_t flags;
1: - compat_int_t rsize;
1: - compat_int_t wsize;
1: - compat_int_t timeo;
1: - compat_int_t retrans;
1: - compat_int_t acregmin;
1: - compat_int_t acregmax;
1: - compat_int_t acdirmin;
1: - compat_int_t acdirmax;
1: - struct compat_nfs_string client_addr;
1: - struct compat_nfs_string mnt_path;
1: - struct compat_nfs_string hostname;
1: - compat_uint_t host_addrlen;
1: - compat_uptr_t host_addr;
1: - compat_int_t proto;
1: - compat_int_t auth_flavourlen;
1: - compat_uptr_t auth_flavours;
1: + compat_int_t version;
1: + compat_int_t flags;
1: + compat_int_t rsize;
1: + compat_int_t wsize;
1: + compat_int_t timeo;
1: + compat_int_t retrans;
1: + compat_int_t acregmin;
1: + compat_int_t acregmax;
1: + compat_int_t acdirmin;
1: + compat_int_t acdirmax;
1: + struct compat_nfs_string client_addr;
1: + struct compat_nfs_string mnt_path;
1: + struct compat_nfs_string hostname;
1: + compat_uint_t host_addrlen;
1: + compat_uptr_t host_addr;
1: + compat_int_t proto;
1: + compat_int_t auth_flavourlen;
1: + compat_uptr_t auth_flavours;
1: };
1:
1: struct serial_icounter_struct {
1: - int cts;
1: - int dsr;
1: - int rng;
1: - int dcd;
1: - int rx;
1: - int tx;
1: - int frame;
1: - int overrun;
1: - int parity;
1: - int brk;
1: - int buf_overrun;
1: - int reserved[9];
1: + int cts;
1: + int dsr;
1: + int rng;
1: + int dcd;
1: + int rx;
1: + int tx;
1: + int frame;
1: + int overrun;
1: + int parity;
1: + int brk;
1: + int buf_overrun;
1: + int reserved[9];
1: };
1:
1: struct serial_struct {
1: - int type;
1: - int line;
1: - unsigned int port;
1: - int irq;
1: - int flags;
1: - int xmit_fifo_size;
1: - int custom_divisor;
1: - int baud_base;
1: - short unsigned int close_delay;
1: - char io_type;
1: - char reserved_char[1];
1: - int hub6;
1: - short unsigned int closing_wait;
1: - short unsigned int closing_wait2;
1: - unsigned char *iomem_base;
1: - short unsigned int iomem_reg_shift;
1: - unsigned int port_high;
1: - long unsigned int iomap_base;
1: + int type;
1: + int line;
1: + unsigned int port;
1: + int irq;
1: + int flags;
1: + int xmit_fifo_size;
1: + int custom_divisor;
1: + int baud_base;
1: + short unsigned int close_delay;
1: + char io_type;
1: + char reserved_char[1];
1: + int hub6;
1: + short unsigned int closing_wait;
1: + short unsigned int closing_wait2;
1: + unsigned char *iomem_base;
1: + short unsigned int iomem_reg_shift;
1: + unsigned int port_high;
1: + long unsigned int iomap_base;
1: };
1:
1: enum {
1: - VERBOSE_STATUS = 1,
1: + VERBOSE_STATUS = 1,
1: };
1:
1: enum {
1: - Enabled = 0,
1: - Magic = 1,
1: + Enabled = 0,
1: + Magic = 1,
1: };
1:
1: typedef struct {
1: - struct list_head list;
1: - long unsigned int flags;
1: - int offset;
1: - int size;
1: - char *magic;
1: - char *mask;
1: - const char *interpreter;
1: - char *name;
1: - struct dentry___2 *dentry;
1: - struct file *interp_file;
1: + struct list_head list;
1: + long unsigned int flags;
1: + int offset;
1: + int size;
1: + char *magic;
1: + char *mask;
1: + const char *interpreter;
1: + char *name;
1: + struct dentry___2 *dentry;
1: + struct file *interp_file;
1: } Node;
1:
1: typedef unsigned int __kernel_uid_t;
1: @@ -39895,57 +40233,57 @@ typedef unsigned int __kernel_uid_t;
1: typedef unsigned int __kernel_gid_t;
1:
1: struct elf64_phdr {
1: - Elf64_Word p_type;
1: - Elf64_Word p_flags;
1: - Elf64_Off p_offset;
1: - Elf64_Addr p_vaddr;
1: - Elf64_Addr p_paddr;
1: - Elf64_Xword p_filesz;
1: - Elf64_Xword p_memsz;
1: - Elf64_Xword p_align;
1: + Elf64_Word p_type;
1: + Elf64_Word p_flags;
1: + Elf64_Off p_offset;
1: + Elf64_Addr p_vaddr;
1: + Elf64_Addr p_paddr;
1: + Elf64_Xword p_filesz;
1: + Elf64_Xword p_memsz;
1: + Elf64_Xword p_align;
1: };
1:
1: struct elf_prpsinfo {
1: - char pr_state;
1: - char pr_sname;
1: - char pr_zomb;
1: - char pr_nice;
1: - long unsigned int pr_flag;
1: - __kernel_uid_t pr_uid;
1: - __kernel_gid_t pr_gid;
1: - pid_t pr_pid;
1: - pid_t pr_ppid;
1: - pid_t pr_pgrp;
1: - pid_t pr_sid;
1: - char pr_fname[16];
1: - char pr_psargs[80];
1: + char pr_state;
1: + char pr_sname;
1: + char pr_zomb;
1: + char pr_nice;
1: + long unsigned int pr_flag;
1: + __kernel_uid_t pr_uid;
1: + __kernel_gid_t pr_gid;
1: + pid_t pr_pid;
1: + pid_t pr_ppid;
1: + pid_t pr_pgrp;
1: + pid_t pr_sid;
1: + char pr_fname[16];
1: + char pr_psargs[80];
1: };
1:
1: struct arch_elf_state {};
1:
1: struct memelfnote {
1: - const char *name;
1: - int type;
1: - unsigned int datasz;
1: - void *data;
1: + const char *name;
1: + int type;
1: + unsigned int datasz;
1: + void *data;
1: };
1:
1: struct elf_thread_core_info {
1: - struct elf_thread_core_info *next;
1: - struct task_struct *task;
1: - struct elf_prstatus prstatus;
1: - struct memelfnote notes[0];
1: + struct elf_thread_core_info *next;
1: + struct task_struct *task;
1: + struct elf_prstatus prstatus;
1: + struct memelfnote notes[0];
1: };
1:
1: struct elf_note_info {
1: - struct elf_thread_core_info *thread;
1: - struct memelfnote psinfo;
1: - struct memelfnote signote;
1: - struct memelfnote auxv;
1: - struct memelfnote files;
1: - siginfo_t csigdata;
1: - size_t size;
1: - int thread_notes;
1: + struct elf_thread_core_info *thread;
1: + struct memelfnote psinfo;
1: + struct memelfnote signote;
1: + struct memelfnote auxv;
1: + struct memelfnote files;
1: + siginfo_t csigdata;
1: + size_t size;
1: + int thread_notes;
1: };
1:
1: typedef __u32 Elf32_Addr;
1: @@ -39955,146 +40293,146 @@ typedef __u16 Elf32_Half;
1: typedef __u32 Elf32_Off;
1:
1: struct elf32_hdr {
1: - unsigned char e_ident[16];
1: - Elf32_Half e_type;
1: - Elf32_Half e_machine;
1: - Elf32_Word e_version;
1: - Elf32_Addr e_entry;
1: - Elf32_Off e_phoff;
1: - Elf32_Off e_shoff;
1: - Elf32_Word e_flags;
1: - Elf32_Half e_ehsize;
1: - Elf32_Half e_phentsize;
1: - Elf32_Half e_phnum;
1: - Elf32_Half e_shentsize;
1: - Elf32_Half e_shnum;
1: - Elf32_Half e_shstrndx;
1: + unsigned char e_ident[16];
1: + Elf32_Half e_type;
1: + Elf32_Half e_machine;
1: + Elf32_Word e_version;
1: + Elf32_Addr e_entry;
1: + Elf32_Off e_phoff;
1: + Elf32_Off e_shoff;
1: + Elf32_Word e_flags;
1: + Elf32_Half e_ehsize;
1: + Elf32_Half e_phentsize;
1: + Elf32_Half e_phnum;
1: + Elf32_Half e_shentsize;
1: + Elf32_Half e_shnum;
1: + Elf32_Half e_shstrndx;
1: };
1:
1: struct elf32_phdr {
1: - Elf32_Word p_type;
1: - Elf32_Off p_offset;
1: - Elf32_Addr p_vaddr;
1: - Elf32_Addr p_paddr;
1: - Elf32_Word p_filesz;
1: - Elf32_Word p_memsz;
1: - Elf32_Word p_flags;
1: - Elf32_Word p_align;
1: + Elf32_Word p_type;
1: + Elf32_Off p_offset;
1: + Elf32_Addr p_vaddr;
1: + Elf32_Addr p_paddr;
1: + Elf32_Word p_filesz;
1: + Elf32_Word p_memsz;
1: + Elf32_Word p_flags;
1: + Elf32_Word p_align;
1: };
1:
1: struct elf32_shdr {
1: - Elf32_Word sh_name;
1: - Elf32_Word sh_type;
1: - Elf32_Word sh_flags;
1: - Elf32_Addr sh_addr;
1: - Elf32_Off sh_offset;
1: - Elf32_Word sh_size;
1: - Elf32_Word sh_link;
1: - Elf32_Word sh_info;
1: - Elf32_Word sh_addralign;
1: - Elf32_Word sh_entsize;
1: + Elf32_Word sh_name;
1: + Elf32_Word sh_type;
1: + Elf32_Word sh_flags;
1: + Elf32_Addr sh_addr;
1: + Elf32_Off sh_offset;
1: + Elf32_Word sh_size;
1: + Elf32_Word sh_link;
1: + Elf32_Word sh_info;
1: + Elf32_Word sh_addralign;
1: + Elf32_Word sh_entsize;
1: };
1:
1: typedef struct user_regs_struct compat_elf_gregset_t;
1:
1: struct compat_elf_siginfo {
1: - compat_int_t si_signo;
1: - compat_int_t si_code;
1: - compat_int_t si_errno;
1: + compat_int_t si_signo;
1: + compat_int_t si_code;
1: + compat_int_t si_errno;
1: };
1:
1: struct compat_elf_prstatus {
1: - struct compat_elf_siginfo pr_info;
1: - short int pr_cursig;
1: - compat_ulong_t pr_sigpend;
1: - compat_ulong_t pr_sighold;
1: - compat_pid_t pr_pid;
1: - compat_pid_t pr_ppid;
1: - compat_pid_t pr_pgrp;
1: - compat_pid_t pr_sid;
1: - struct old_timeval32 pr_utime;
1: - struct old_timeval32 pr_stime;
1: - struct old_timeval32 pr_cutime;
1: - struct old_timeval32 pr_cstime;
1: - compat_elf_gregset_t pr_reg;
1: - compat_int_t pr_fpvalid;
1: + struct compat_elf_siginfo pr_info;
1: + short int pr_cursig;
1: + compat_ulong_t pr_sigpend;
1: + compat_ulong_t pr_sighold;
1: + compat_pid_t pr_pid;
1: + compat_pid_t pr_ppid;
1: + compat_pid_t pr_pgrp;
1: + compat_pid_t pr_sid;
1: + struct old_timeval32 pr_utime;
1: + struct old_timeval32 pr_stime;
1: + struct old_timeval32 pr_cutime;
1: + struct old_timeval32 pr_cstime;
1: + compat_elf_gregset_t pr_reg;
1: + compat_int_t pr_fpvalid;
1: };
1:
1: struct compat_elf_prpsinfo {
1: - char pr_state;
1: - char pr_sname;
1: - char pr_zomb;
1: - char pr_nice;
1: - compat_ulong_t pr_flag;
1: - __compat_uid_t pr_uid;
1: - __compat_gid_t pr_gid;
1: - compat_pid_t pr_pid;
1: - compat_pid_t pr_ppid;
1: - compat_pid_t pr_pgrp;
1: - compat_pid_t pr_sid;
1: - char pr_fname[16];
1: - char pr_psargs[80];
1: + char pr_state;
1: + char pr_sname;
1: + char pr_zomb;
1: + char pr_nice;
1: + compat_ulong_t pr_flag;
1: + __compat_uid_t pr_uid;
1: + __compat_gid_t pr_gid;
1: + compat_pid_t pr_pid;
1: + compat_pid_t pr_ppid;
1: + compat_pid_t pr_pgrp;
1: + compat_pid_t pr_sid;
1: + char pr_fname[16];
1: + char pr_psargs[80];
1: };
1:
1: struct elf_thread_core_info___2 {
1: - struct elf_thread_core_info___2 *next;
1: - struct task_struct *task;
1: - struct compat_elf_prstatus prstatus;
1: - struct memelfnote notes[0];
1: + struct elf_thread_core_info___2 *next;
1: + struct task_struct *task;
1: + struct compat_elf_prstatus prstatus;
1: + struct memelfnote notes[0];
1: };
1:
1: struct elf_note_info___2 {
1: - struct elf_thread_core_info___2 *thread;
1: - struct memelfnote psinfo;
1: - struct memelfnote signote;
1: - struct memelfnote auxv;
1: - struct memelfnote files;
1: - compat_siginfo_t csigdata;
1: - size_t size;
1: - int thread_notes;
1: + struct elf_thread_core_info___2 *thread;
1: + struct memelfnote psinfo;
1: + struct memelfnote signote;
1: + struct memelfnote auxv;
1: + struct memelfnote files;
1: + compat_siginfo_t csigdata;
1: + size_t size;
1: + int thread_notes;
1: };
1:
1: struct mb_cache_entry {
1: - struct list_head e_list;
1: - struct hlist_bl_node e_hash_list;
1: - atomic_t e_refcnt;
1: - u32 e_key;
1: - u32 e_referenced: 1;
1: - u32 e_reusable: 1;
1: - u64 e_value;
1: + struct list_head e_list;
1: + struct hlist_bl_node e_hash_list;
1: + atomic_t e_refcnt;
1: + u32 e_key;
1: + u32 e_referenced : 1;
1: + u32 e_reusable : 1;
1: + u64 e_value;
1: };
1:
1: struct mb_cache {
1: - struct hlist_bl_head *c_hash;
1: - int c_bucket_bits;
1: - long unsigned int c_max_entries;
1: - spinlock_t c_list_lock;
1: - struct list_head c_list;
1: - long unsigned int c_entry_count;
1: - struct shrinker c_shrink;
1: - struct work_struct c_shrink_work;
1: + struct hlist_bl_head *c_hash;
1: + int c_bucket_bits;
1: + long unsigned int c_max_entries;
1: + spinlock_t c_list_lock;
1: + struct list_head c_list;
1: + long unsigned int c_entry_count;
1: + struct shrinker c_shrink;
1: + struct work_struct c_shrink_work;
1: };
1:
1: struct posix_acl_xattr_entry {
1: - __le16 e_tag;
1: - __le16 e_perm;
1: - __le32 e_id;
1: + __le16 e_tag;
1: + __le16 e_perm;
1: + __le32 e_id;
1: };
1:
1: struct posix_acl_xattr_header {
1: - __le32 a_version;
1: + __le32 a_version;
1: };
1:
1: struct xdr_buf {
1: - struct kvec head[1];
1: - struct kvec tail[1];
1: - struct bio_vec *bvec;
1: - struct page___2 **pages;
1: - unsigned int page_base;
1: - unsigned int page_len;
1: - unsigned int flags;
1: - unsigned int buflen;
1: - unsigned int len;
1: + struct kvec head[1];
1: + struct kvec tail[1];
1: + struct bio_vec *bvec;
1: + struct page___2 **pages;
1: + unsigned int page_base;
1: + unsigned int page_len;
1: + unsigned int flags;
1: + unsigned int buflen;
1: + unsigned int len;
1: };
1:
1: struct xdr_array2_desc;
1: @@ -40102,86 +40440,86 @@ struct xdr_array2_desc;
1: typedef int (*xdr_xcode_elem_t)(struct xdr_array2_desc *, void *);
1:
1: struct xdr_array2_desc {
1: - unsigned int elem_size;
1: - unsigned int array_len;
1: - unsigned int array_maxlen;
1: - xdr_xcode_elem_t xcode;
1: + unsigned int elem_size;
1: + unsigned int array_len;
1: + unsigned int array_maxlen;
1: + xdr_xcode_elem_t xcode;
1: };
1:
1: struct nfsacl_encode_desc {
1: - struct xdr_array2_desc desc;
1: - unsigned int count;
1: - struct posix_acl *acl;
1: - int typeflag;
1: - kuid_t uid;
1: - kgid_t gid;
1: + struct xdr_array2_desc desc;
1: + unsigned int count;
1: + struct posix_acl *acl;
1: + int typeflag;
1: + kuid_t uid;
1: + kgid_t gid;
1: };
1:
1: struct nfsacl_simple_acl {
1: - struct posix_acl acl;
1: - struct posix_acl_entry ace[4];
1: + struct posix_acl acl;
1: + struct posix_acl_entry ace[4];
1: };
1:
1: struct nfsacl_decode_desc {
1: - struct xdr_array2_desc desc;
1: - unsigned int count;
1: - struct posix_acl *acl;
1: + struct xdr_array2_desc desc;
1: + unsigned int count;
1: + struct posix_acl *acl;
1: };
1:
1: struct lock_manager {
1: - struct list_head list;
1: - bool block_opens;
1: + struct list_head list;
1: + bool block_opens;
1: };
1:
1: struct core_name {
1: - char *corename;
1: - int used;
1: - int size;
1: + char *corename;
1: + int used;
1: + int size;
1: };
1:
1: struct trace_event_raw_iomap_readpage_class {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u64 ino;
1: - int nr_pages;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + int nr_pages;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_iomap_page_class {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u64 ino;
1: - long unsigned int pgoff;
1: - loff_t size;
1: - long unsigned int offset;
1: - unsigned int length;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + long unsigned int pgoff;
1: + loff_t size;
1: + long unsigned int offset;
1: + unsigned int length;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_iomap_class {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u64 ino;
1: - u64 addr;
1: - loff_t offset;
1: - u64 length;
1: - u16 type;
1: - u16 flags;
1: - dev_t bdev;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + u64 addr;
1: + loff_t offset;
1: + u64 length;
1: + u16 type;
1: + u16 flags;
1: + dev_t bdev;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_iomap_apply {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u64 ino;
1: - loff_t pos;
1: - loff_t length;
1: - unsigned int flags;
1: - const void *ops;
1: - void *actor;
1: - long unsigned int caller;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + loff_t pos;
1: + loff_t length;
1: + unsigned int flags;
1: + const void *ops;
1: + void *actor;
1: + long unsigned int caller;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_iomap_readpage_class {};
1: @@ -40193,523 +40531,525 @@ struct trace_event_data_offsets_iomap_class {};
1: struct trace_event_data_offsets_iomap_apply {};
1:
1: struct iomap_ops {
1: - int (*iomap_begin)(struct inode___2 *, loff_t, loff_t, unsigned int, struct iomap___2 *, struct iomap___2 *);
1: - int (*iomap_end)(struct inode___2 *, loff_t, loff_t, ssize_t, unsigned int, struct iomap___2 *);
1: + int (*iomap_begin)(struct inode___2 *, loff_t, loff_t, unsigned int,
1: + struct iomap___2 *, struct iomap___2 *);
1: + int (*iomap_end)(struct inode___2 *, loff_t, loff_t, ssize_t, unsigned int,
1: + struct iomap___2 *);
1: };
1:
1: -typedef loff_t (*iomap_actor_t)(struct inode___2 *, loff_t, loff_t, void *, struct iomap___2 *, struct iomap___2 *);
1: +typedef loff_t (*iomap_actor_t)(struct inode___2 *, loff_t, loff_t, void *,
1: + struct iomap___2 *, struct iomap___2 *);
1:
1: struct iomap_ioend {
1: - struct list_head io_list;
1: - u16 io_type;
1: - u16 io_flags;
1: - struct inode___2 *io_inode;
1: - size_t io_size;
1: - loff_t io_offset;
1: - void *io_private;
1: - struct bio *io_bio;
1: - struct bio io_inline_bio;
1: + struct list_head io_list;
1: + u16 io_type;
1: + u16 io_flags;
1: + struct inode___2 *io_inode;
1: + size_t io_size;
1: + loff_t io_offset;
1: + void *io_private;
1: + struct bio *io_bio;
1: + struct bio io_inline_bio;
1: };
1:
1: struct iomap_writepage_ctx;
1:
1: struct iomap_writeback_ops {
1: - int (*map_blocks)(struct iomap_writepage_ctx *, struct inode___2 *, loff_t);
1: - int (*prepare_ioend)(struct iomap_ioend *, int);
1: - void (*discard_page)(struct page___2 *);
1: + int (*map_blocks)(struct iomap_writepage_ctx *, struct inode___2 *, loff_t);
1: + int (*prepare_ioend)(struct iomap_ioend *, int);
1: + void (*discard_page)(struct page___2 *);
1: };
1:
1: struct iomap_writepage_ctx {
1: - struct iomap___2 iomap;
1: - struct iomap_ioend *ioend;
1: - const struct iomap_writeback_ops *ops;
1: + struct iomap___2 iomap;
1: + struct iomap_ioend *ioend;
1: + const struct iomap_writeback_ops *ops;
1: };
1:
1: struct iomap_page {
1: - atomic_t read_count;
1: - atomic_t write_count;
1: - spinlock_t uptodate_lock;
1: - long unsigned int uptodate[1];
1: + atomic_t read_count;
1: + atomic_t write_count;
1: + spinlock_t uptodate_lock;
1: + long unsigned int uptodate[1];
1: };
1:
1: struct iomap_readpage_ctx {
1: - struct page___2 *cur_page;
1: - bool cur_page_in_bio;
1: - bool is_readahead;
1: - struct bio *bio;
1: - struct list_head *pages;
1: + struct page___2 *cur_page;
1: + bool cur_page_in_bio;
1: + bool is_readahead;
1: + struct bio *bio;
1: + struct list_head *pages;
1: };
1:
1: enum {
1: - IOMAP_WRITE_F_UNSHARE = 1,
1: + IOMAP_WRITE_F_UNSHARE = 1,
1: };
1:
1: struct iomap_dio_ops {
1: - int (*end_io)(struct kiocb___2 *, ssize_t, int, unsigned int);
1: + int (*end_io)(struct kiocb___2 *, ssize_t, int, unsigned int);
1: };
1:
1: struct iomap_dio {
1: - struct kiocb___2 *iocb;
1: - const struct iomap_dio_ops *dops;
1: - loff_t i_size;
1: - loff_t size;
1: - atomic_t ref;
1: - unsigned int flags;
1: - int error;
1: - bool wait_for_completion;
1: - union {
1: - struct {
1: - struct iov_iter___2 *iter;
1: - struct task_struct___2 *waiter;
1: - struct request_queue *last_queue;
1: - blk_qc_t cookie;
1: - } submit;
1: - struct {
1: - struct work_struct work;
1: - } aio;
1: - };
1: + struct kiocb___2 *iocb;
1: + const struct iomap_dio_ops *dops;
1: + loff_t i_size;
1: + loff_t size;
1: + atomic_t ref;
1: + unsigned int flags;
1: + int error;
1: + bool wait_for_completion;
1: + union {
1: + struct {
1: + struct iov_iter___2 *iter;
1: + struct task_struct___2 *waiter;
1: + struct request_queue *last_queue;
1: + blk_qc_t cookie;
1: + } submit;
1: + struct {
1: + struct work_struct work;
1: + } aio;
1: + };
1: };
1:
1: struct fiemap_ctx {
1: - struct fiemap_extent_info *fi;
1: - struct iomap___2 prev;
1: + struct fiemap_extent_info *fi;
1: + struct iomap___2 prev;
1: };
1:
1: struct iomap_swapfile_info {
1: - struct iomap___2 iomap;
1: - struct swap_info_struct *sis;
1: - uint64_t lowest_ppage;
1: - uint64_t highest_ppage;
1: - long unsigned int nr_pages;
1: - int nr_extents;
1: + struct iomap___2 iomap;
1: + struct swap_info_struct *sis;
1: + uint64_t lowest_ppage;
1: + uint64_t highest_ppage;
1: + long unsigned int nr_pages;
1: + int nr_extents;
1: };
1:
1: enum {
1: - QIF_BLIMITS_B = 0,
1: - QIF_SPACE_B = 1,
1: - QIF_ILIMITS_B = 2,
1: - QIF_INODES_B = 3,
1: - QIF_BTIME_B = 4,
1: - QIF_ITIME_B = 5,
1: + QIF_BLIMITS_B = 0,
1: + QIF_SPACE_B = 1,
1: + QIF_ILIMITS_B = 2,
1: + QIF_INODES_B = 3,
1: + QIF_BTIME_B = 4,
1: + QIF_ITIME_B = 5,
1: };
1:
1: enum {
1: - DQF_ROOT_SQUASH_B = 0,
1: - DQF_SYS_FILE_B = 16,
1: - DQF_PRIVATE = 17,
1: + DQF_ROOT_SQUASH_B = 0,
1: + DQF_SYS_FILE_B = 16,
1: + DQF_PRIVATE = 17,
1: };
1:
1: typedef __kernel_uid32_t qid_t;
1:
1: enum {
1: - DQF_INFO_DIRTY_B = 17,
1: + DQF_INFO_DIRTY_B = 17,
1: };
1:
1: enum {
1: - DQST_LOOKUPS = 0,
1: - DQST_DROPS = 1,
1: - DQST_READS = 2,
1: - DQST_WRITES = 3,
1: - DQST_CACHE_HITS = 4,
1: - DQST_ALLOC_DQUOTS = 5,
1: - DQST_FREE_DQUOTS = 6,
1: - DQST_SYNCS = 7,
1: - _DQST_DQSTAT_LAST = 8,
1: + DQST_LOOKUPS = 0,
1: + DQST_DROPS = 1,
1: + DQST_READS = 2,
1: + DQST_WRITES = 3,
1: + DQST_CACHE_HITS = 4,
1: + DQST_ALLOC_DQUOTS = 5,
1: + DQST_FREE_DQUOTS = 6,
1: + DQST_SYNCS = 7,
1: + _DQST_DQSTAT_LAST = 8,
1: };
1:
1: enum {
1: - _DQUOT_USAGE_ENABLED = 0,
1: - _DQUOT_LIMITS_ENABLED = 1,
1: - _DQUOT_SUSPENDED = 2,
1: - _DQUOT_STATE_FLAGS = 3,
1: + _DQUOT_USAGE_ENABLED = 0,
1: + _DQUOT_LIMITS_ENABLED = 1,
1: + _DQUOT_SUSPENDED = 2,
1: + _DQUOT_STATE_FLAGS = 3,
1: };
1:
1: struct quota_module_name {
1: - int qm_fmt_id;
1: - char *qm_mod_name;
1: + int qm_fmt_id;
1: + char *qm_mod_name;
1: };
1:
1: struct dquot_warn {
1: - struct super_block___2 *w_sb;
1: - struct kqid w_dq_id;
1: - short int w_type;
1: + struct super_block___2 *w_sb;
1: + struct kqid w_dq_id;
1: + short int w_type;
1: };
1:
1: struct qtree_fmt_operations {
1: - void (*mem2disk_dqblk)(void *, struct dquot___2 *);
1: - void (*disk2mem_dqblk)(struct dquot___2 *, void *);
1: - int (*is_id)(void *, struct dquot___2 *);
1: + void (*mem2disk_dqblk)(void *, struct dquot___2 *);
1: + void (*disk2mem_dqblk)(struct dquot___2 *, void *);
1: + int (*is_id)(void *, struct dquot___2 *);
1: };
1:
1: struct qtree_mem_dqinfo {
1: - struct super_block___2 *dqi_sb;
1: - int dqi_type;
1: - unsigned int dqi_blocks;
1: - unsigned int dqi_free_blk;
1: - unsigned int dqi_free_entry;
1: - unsigned int dqi_blocksize_bits;
1: - unsigned int dqi_entry_size;
1: - unsigned int dqi_usable_bs;
1: - unsigned int dqi_qtree_depth;
1: - const struct qtree_fmt_operations *dqi_ops;
1: + struct super_block___2 *dqi_sb;
1: + int dqi_type;
1: + unsigned int dqi_blocks;
1: + unsigned int dqi_free_blk;
1: + unsigned int dqi_free_entry;
1: + unsigned int dqi_blocksize_bits;
1: + unsigned int dqi_entry_size;
1: + unsigned int dqi_usable_bs;
1: + unsigned int dqi_qtree_depth;
1: + const struct qtree_fmt_operations *dqi_ops;
1: };
1:
1: struct v2_disk_dqheader {
1: - __le32 dqh_magic;
1: - __le32 dqh_version;
1: + __le32 dqh_magic;
1: + __le32 dqh_version;
1: };
1:
1: struct v2r0_disk_dqblk {
1: - __le32 dqb_id;
1: - __le32 dqb_ihardlimit;
1: - __le32 dqb_isoftlimit;
1: - __le32 dqb_curinodes;
1: - __le32 dqb_bhardlimit;
1: - __le32 dqb_bsoftlimit;
1: - __le64 dqb_curspace;
1: - __le64 dqb_btime;
1: - __le64 dqb_itime;
1: + __le32 dqb_id;
1: + __le32 dqb_ihardlimit;
1: + __le32 dqb_isoftlimit;
1: + __le32 dqb_curinodes;
1: + __le32 dqb_bhardlimit;
1: + __le32 dqb_bsoftlimit;
1: + __le64 dqb_curspace;
1: + __le64 dqb_btime;
1: + __le64 dqb_itime;
1: };
1:
1: struct v2r1_disk_dqblk {
1: - __le32 dqb_id;
1: - __le32 dqb_pad;
1: - __le64 dqb_ihardlimit;
1: - __le64 dqb_isoftlimit;
1: - __le64 dqb_curinodes;
1: - __le64 dqb_bhardlimit;
1: - __le64 dqb_bsoftlimit;
1: - __le64 dqb_curspace;
1: - __le64 dqb_btime;
1: - __le64 dqb_itime;
1: + __le32 dqb_id;
1: + __le32 dqb_pad;
1: + __le64 dqb_ihardlimit;
1: + __le64 dqb_isoftlimit;
1: + __le64 dqb_curinodes;
1: + __le64 dqb_bhardlimit;
1: + __le64 dqb_bsoftlimit;
1: + __le64 dqb_curspace;
1: + __le64 dqb_btime;
1: + __le64 dqb_itime;
1: };
1:
1: struct v2_disk_dqinfo {
1: - __le32 dqi_bgrace;
1: - __le32 dqi_igrace;
1: - __le32 dqi_flags;
1: - __le32 dqi_blocks;
1: - __le32 dqi_free_blk;
1: - __le32 dqi_free_entry;
1: + __le32 dqi_bgrace;
1: + __le32 dqi_igrace;
1: + __le32 dqi_flags;
1: + __le32 dqi_blocks;
1: + __le32 dqi_free_blk;
1: + __le32 dqi_free_entry;
1: };
1:
1: struct qt_disk_dqdbheader {
1: - __le32 dqdh_next_free;
1: - __le32 dqdh_prev_free;
1: - __le16 dqdh_entries;
1: - __le16 dqdh_pad1;
1: - __le32 dqdh_pad2;
1: + __le32 dqdh_next_free;
1: + __le32 dqdh_prev_free;
1: + __le16 dqdh_entries;
1: + __le16 dqdh_pad1;
1: + __le32 dqdh_pad2;
1: };
1:
1: struct fs_disk_quota {
1: - __s8 d_version;
1: - __s8 d_flags;
1: - __u16 d_fieldmask;
1: - __u32 d_id;
1: - __u64 d_blk_hardlimit;
1: - __u64 d_blk_softlimit;
1: - __u64 d_ino_hardlimit;
1: - __u64 d_ino_softlimit;
1: - __u64 d_bcount;
1: - __u64 d_icount;
1: - __s32 d_itimer;
1: - __s32 d_btimer;
1: - __u16 d_iwarns;
1: - __u16 d_bwarns;
1: - __s32 d_padding2;
1: - __u64 d_rtb_hardlimit;
1: - __u64 d_rtb_softlimit;
1: - __u64 d_rtbcount;
1: - __s32 d_rtbtimer;
1: - __u16 d_rtbwarns;
1: - __s16 d_padding3;
1: - char d_padding4[8];
1: + __s8 d_version;
1: + __s8 d_flags;
1: + __u16 d_fieldmask;
1: + __u32 d_id;
1: + __u64 d_blk_hardlimit;
1: + __u64 d_blk_softlimit;
1: + __u64 d_ino_hardlimit;
1: + __u64 d_ino_softlimit;
1: + __u64 d_bcount;
1: + __u64 d_icount;
1: + __s32 d_itimer;
1: + __s32 d_btimer;
1: + __u16 d_iwarns;
1: + __u16 d_bwarns;
1: + __s32 d_padding2;
1: + __u64 d_rtb_hardlimit;
1: + __u64 d_rtb_softlimit;
1: + __u64 d_rtbcount;
1: + __s32 d_rtbtimer;
1: + __u16 d_rtbwarns;
1: + __s16 d_padding3;
1: + char d_padding4[8];
1: };
1:
1: struct fs_qfilestat {
1: - __u64 qfs_ino;
1: - __u64 qfs_nblks;
1: - __u32 qfs_nextents;
1: + __u64 qfs_ino;
1: + __u64 qfs_nblks;
1: + __u32 qfs_nextents;
1: };
1:
1: typedef struct fs_qfilestat fs_qfilestat_t;
1:
1: struct fs_quota_stat {
1: - __s8 qs_version;
1: - __u16 qs_flags;
1: - __s8 qs_pad;
1: - fs_qfilestat_t qs_uquota;
1: - fs_qfilestat_t qs_gquota;
1: - __u32 qs_incoredqs;
1: - __s32 qs_btimelimit;
1: - __s32 qs_itimelimit;
1: - __s32 qs_rtbtimelimit;
1: - __u16 qs_bwarnlimit;
1: - __u16 qs_iwarnlimit;
1: + __s8 qs_version;
1: + __u16 qs_flags;
1: + __s8 qs_pad;
1: + fs_qfilestat_t qs_uquota;
1: + fs_qfilestat_t qs_gquota;
1: + __u32 qs_incoredqs;
1: + __s32 qs_btimelimit;
1: + __s32 qs_itimelimit;
1: + __s32 qs_rtbtimelimit;
1: + __u16 qs_bwarnlimit;
1: + __u16 qs_iwarnlimit;
1: };
1:
1: struct fs_qfilestatv {
1: - __u64 qfs_ino;
1: - __u64 qfs_nblks;
1: - __u32 qfs_nextents;
1: - __u32 qfs_pad;
1: + __u64 qfs_ino;
1: + __u64 qfs_nblks;
1: + __u32 qfs_nextents;
1: + __u32 qfs_pad;
1: };
1:
1: struct fs_quota_statv {
1: - __s8 qs_version;
1: - __u8 qs_pad1;
1: - __u16 qs_flags;
1: - __u32 qs_incoredqs;
1: - struct fs_qfilestatv qs_uquota;
1: - struct fs_qfilestatv qs_gquota;
1: - struct fs_qfilestatv qs_pquota;
1: - __s32 qs_btimelimit;
1: - __s32 qs_itimelimit;
1: - __s32 qs_rtbtimelimit;
1: - __u16 qs_bwarnlimit;
1: - __u16 qs_iwarnlimit;
1: - __u64 qs_pad2[8];
1: + __s8 qs_version;
1: + __u8 qs_pad1;
1: + __u16 qs_flags;
1: + __u32 qs_incoredqs;
1: + struct fs_qfilestatv qs_uquota;
1: + struct fs_qfilestatv qs_gquota;
1: + struct fs_qfilestatv qs_pquota;
1: + __s32 qs_btimelimit;
1: + __s32 qs_itimelimit;
1: + __s32 qs_rtbtimelimit;
1: + __u16 qs_bwarnlimit;
1: + __u16 qs_iwarnlimit;
1: + __u64 qs_pad2[8];
1: };
1:
1: struct if_dqblk {
1: - __u64 dqb_bhardlimit;
1: - __u64 dqb_bsoftlimit;
1: - __u64 dqb_curspace;
1: - __u64 dqb_ihardlimit;
1: - __u64 dqb_isoftlimit;
1: - __u64 dqb_curinodes;
1: - __u64 dqb_btime;
1: - __u64 dqb_itime;
1: - __u32 dqb_valid;
1: + __u64 dqb_bhardlimit;
1: + __u64 dqb_bsoftlimit;
1: + __u64 dqb_curspace;
1: + __u64 dqb_ihardlimit;
1: + __u64 dqb_isoftlimit;
1: + __u64 dqb_curinodes;
1: + __u64 dqb_btime;
1: + __u64 dqb_itime;
1: + __u32 dqb_valid;
1: };
1:
1: struct if_nextdqblk {
1: - __u64 dqb_bhardlimit;
1: - __u64 dqb_bsoftlimit;
1: - __u64 dqb_curspace;
1: - __u64 dqb_ihardlimit;
1: - __u64 dqb_isoftlimit;
1: - __u64 dqb_curinodes;
1: - __u64 dqb_btime;
1: - __u64 dqb_itime;
1: - __u32 dqb_valid;
1: - __u32 dqb_id;
1: + __u64 dqb_bhardlimit;
1: + __u64 dqb_bsoftlimit;
1: + __u64 dqb_curspace;
1: + __u64 dqb_ihardlimit;
1: + __u64 dqb_isoftlimit;
1: + __u64 dqb_curinodes;
1: + __u64 dqb_btime;
1: + __u64 dqb_itime;
1: + __u32 dqb_valid;
1: + __u32 dqb_id;
1: };
1:
1: struct if_dqinfo {
1: - __u64 dqi_bgrace;
1: - __u64 dqi_igrace;
1: - __u32 dqi_flags;
1: - __u32 dqi_valid;
1: + __u64 dqi_bgrace;
1: + __u64 dqi_igrace;
1: + __u32 dqi_flags;
1: + __u32 dqi_valid;
1: };
1:
1: struct compat_if_dqblk {
1: - compat_u64 dqb_bhardlimit;
1: - compat_u64 dqb_bsoftlimit;
1: - compat_u64 dqb_curspace;
1: - compat_u64 dqb_ihardlimit;
1: - compat_u64 dqb_isoftlimit;
1: - compat_u64 dqb_curinodes;
1: - compat_u64 dqb_btime;
1: - compat_u64 dqb_itime;
1: - compat_uint_t dqb_valid;
1: + compat_u64 dqb_bhardlimit;
1: + compat_u64 dqb_bsoftlimit;
1: + compat_u64 dqb_curspace;
1: + compat_u64 dqb_ihardlimit;
1: + compat_u64 dqb_isoftlimit;
1: + compat_u64 dqb_curinodes;
1: + compat_u64 dqb_btime;
1: + compat_u64 dqb_itime;
1: + compat_uint_t dqb_valid;
1: } __attribute__((packed));
1:
1: struct compat_fs_qfilestat {
1: - compat_u64 dqb_bhardlimit;
1: - compat_u64 qfs_nblks;
1: - compat_uint_t qfs_nextents;
1: + compat_u64 dqb_bhardlimit;
1: + compat_u64 qfs_nblks;
1: + compat_uint_t qfs_nextents;
1: } __attribute__((packed));
1:
1: struct compat_fs_quota_stat {
1: - __s8 qs_version;
1: - char: 8;
1: - __u16 qs_flags;
1: - __s8 qs_pad;
1: - int: 24;
1: - struct compat_fs_qfilestat qs_uquota;
1: - struct compat_fs_qfilestat qs_gquota;
1: - compat_uint_t qs_incoredqs;
1: - compat_int_t qs_btimelimit;
1: - compat_int_t qs_itimelimit;
1: - compat_int_t qs_rtbtimelimit;
1: - __u16 qs_bwarnlimit;
1: - __u16 qs_iwarnlimit;
1: + __s8 qs_version;
1: + char : 8;
1: + __u16 qs_flags;
1: + __s8 qs_pad;
1: + int : 24;
1: + struct compat_fs_qfilestat qs_uquota;
1: + struct compat_fs_qfilestat qs_gquota;
1: + compat_uint_t qs_incoredqs;
1: + compat_int_t qs_btimelimit;
1: + compat_int_t qs_itimelimit;
1: + compat_int_t qs_rtbtimelimit;
1: + __u16 qs_bwarnlimit;
1: + __u16 qs_iwarnlimit;
1: } __attribute__((packed));
1:
1: enum {
1: - QUOTA_NL_C_UNSPEC = 0,
1: - QUOTA_NL_C_WARNING = 1,
1: - __QUOTA_NL_C_MAX = 2,
1: + QUOTA_NL_C_UNSPEC = 0,
1: + QUOTA_NL_C_WARNING = 1,
1: + __QUOTA_NL_C_MAX = 2,
1: };
1:
1: enum {
1: - QUOTA_NL_A_UNSPEC = 0,
1: - QUOTA_NL_A_QTYPE = 1,
1: - QUOTA_NL_A_EXCESS_ID = 2,
1: - QUOTA_NL_A_WARNING = 3,
1: - QUOTA_NL_A_DEV_MAJOR = 4,
1: - QUOTA_NL_A_DEV_MINOR = 5,
1: - QUOTA_NL_A_CAUSED_ID = 6,
1: - QUOTA_NL_A_PAD = 7,
1: - __QUOTA_NL_A_MAX = 8,
1: + QUOTA_NL_A_UNSPEC = 0,
1: + QUOTA_NL_A_QTYPE = 1,
1: + QUOTA_NL_A_EXCESS_ID = 2,
1: + QUOTA_NL_A_WARNING = 3,
1: + QUOTA_NL_A_DEV_MAJOR = 4,
1: + QUOTA_NL_A_DEV_MINOR = 5,
1: + QUOTA_NL_A_CAUSED_ID = 6,
1: + QUOTA_NL_A_PAD = 7,
1: + __QUOTA_NL_A_MAX = 8,
1: };
1:
1: struct proc_maps_private {
1: - struct inode___2 *inode;
1: - struct task_struct *task;
1: - struct mm_struct___2 *mm;
1: - struct vm_area_struct___2 *tail_vma;
1: - struct mempolicy *task_mempolicy;
1: + struct inode___2 *inode;
1: + struct task_struct *task;
1: + struct mm_struct___2 *mm;
1: + struct vm_area_struct___2 *tail_vma;
1: + struct mempolicy *task_mempolicy;
1: };
1:
1: struct mem_size_stats {
1: - long unsigned int resident;
1: - long unsigned int shared_clean;
1: - long unsigned int shared_dirty;
1: - long unsigned int private_clean;
1: - long unsigned int private_dirty;
1: - long unsigned int referenced;
1: - long unsigned int anonymous;
1: - long unsigned int lazyfree;
1: - long unsigned int anonymous_thp;
1: - long unsigned int shmem_thp;
1: - long unsigned int file_thp;
1: - long unsigned int swap;
1: - long unsigned int shared_hugetlb;
1: - long unsigned int private_hugetlb;
1: - u64 pss;
1: - u64 pss_anon;
1: - u64 pss_file;
1: - u64 pss_shmem;
1: - u64 pss_locked;
1: - u64 swap_pss;
1: - bool check_shmem_swap;
1: + long unsigned int resident;
1: + long unsigned int shared_clean;
1: + long unsigned int shared_dirty;
1: + long unsigned int private_clean;
1: + long unsigned int private_dirty;
1: + long unsigned int referenced;
1: + long unsigned int anonymous;
1: + long unsigned int lazyfree;
1: + long unsigned int anonymous_thp;
1: + long unsigned int shmem_thp;
1: + long unsigned int file_thp;
1: + long unsigned int swap;
1: + long unsigned int shared_hugetlb;
1: + long unsigned int private_hugetlb;
1: + u64 pss;
1: + u64 pss_anon;
1: + u64 pss_file;
1: + u64 pss_shmem;
1: + u64 pss_locked;
1: + u64 swap_pss;
1: + bool check_shmem_swap;
1: };
1:
1: enum clear_refs_types {
1: - CLEAR_REFS_ALL = 1,
1: - CLEAR_REFS_ANON = 2,
1: - CLEAR_REFS_MAPPED = 3,
1: - CLEAR_REFS_SOFT_DIRTY = 4,
1: - CLEAR_REFS_MM_HIWATER_RSS = 5,
1: - CLEAR_REFS_LAST = 6,
1: + CLEAR_REFS_ALL = 1,
1: + CLEAR_REFS_ANON = 2,
1: + CLEAR_REFS_MAPPED = 3,
1: + CLEAR_REFS_SOFT_DIRTY = 4,
1: + CLEAR_REFS_MM_HIWATER_RSS = 5,
1: + CLEAR_REFS_LAST = 6,
1: };
1:
1: struct clear_refs_private {
1: - enum clear_refs_types type;
1: + enum clear_refs_types type;
1: };
1:
1: -typedef struct {
1: - u64 pme;
1: -} pagemap_entry_t;
1: +typedef struct { u64 pme; } pagemap_entry_t;
1:
1: struct pagemapread {
1: - int pos;
1: - int len;
1: - pagemap_entry_t *buffer;
1: - bool show_pfn;
1: + int pos;
1: + int len;
1: + pagemap_entry_t *buffer;
1: + bool show_pfn;
1: };
1:
1: struct numa_maps {
1: - long unsigned int pages;
1: - long unsigned int anon;
1: - long unsigned int active;
1: - long unsigned int writeback;
1: - long unsigned int mapcount_max;
1: - long unsigned int dirty;
1: - long unsigned int swapcache;
1: - long unsigned int node[64];
1: + long unsigned int pages;
1: + long unsigned int anon;
1: + long unsigned int active;
1: + long unsigned int writeback;
1: + long unsigned int mapcount_max;
1: + long unsigned int dirty;
1: + long unsigned int swapcache;
1: + long unsigned int node[64];
1: };
1:
1: struct numa_maps_private {
1: - struct proc_maps_private proc_maps;
1: - struct numa_maps md;
1: + struct proc_maps_private proc_maps;
1: + struct numa_maps md;
1: };
1:
1: enum {
1: - HIDEPID_OFF = 0,
1: - HIDEPID_NO_ACCESS = 1,
1: - HIDEPID_INVISIBLE = 2,
1: + HIDEPID_OFF = 0,
1: + HIDEPID_NO_ACCESS = 1,
1: + HIDEPID_INVISIBLE = 2,
1: };
1:
1: struct pde_opener {
1: - struct list_head lh;
1: - struct file___2 *file;
1: - bool closing;
1: - struct completion *c;
1: + struct list_head lh;
1: + struct file___2 *file;
1: + bool closing;
1: + struct completion *c;
1: };
1:
1: enum {
1: - BIAS = -2147483648,
1: + BIAS = -2147483648,
1: };
1:
1: typedef int (*proc_write_t___2)(struct file *, char *, size_t);
1:
1: struct proc_fs_context {
1: - struct pid_namespace *pid_ns;
1: - unsigned int mask;
1: - int hidepid;
1: - int gid;
1: + struct pid_namespace *pid_ns;
1: + unsigned int mask;
1: + int hidepid;
1: + int gid;
1: };
1:
1: enum proc_param {
1: - Opt_gid___2 = 0,
1: - Opt_hidepid = 1,
1: + Opt_gid___2 = 0,
1: + Opt_hidepid = 1,
1: };
1:
1: struct genradix_root;
1:
1: struct __genradix {
1: - struct genradix_root *root;
1: + struct genradix_root *root;
1: };
1:
1: struct syscall_info {
1: - __u64 sp;
1: - struct seccomp_data data;
1: + __u64 sp;
1: + struct seccomp_data data;
1: };
1:
1: -typedef struct dentry___2 *instantiate_t(struct dentry___2 *, struct task_struct *, const void *);
1: +typedef struct dentry___2 *instantiate_t(struct dentry___2 *,
1: + struct task_struct *, const void *);
1:
1: struct pid_entry {
1: - const char *name;
1: - unsigned int len;
1: - umode_t mode;
1: - const struct inode_operations___2 *iop;
1: - const struct file_operations___2 *fop;
1: - union proc_op op;
1: + const char *name;
1: + unsigned int len;
1: + umode_t mode;
1: + const struct inode_operations___2 *iop;
1: + const struct file_operations___2 *fop;
1: + union proc_op op;
1: };
1:
1: struct limit_names {
1: - const char *name;
1: - const char *unit;
1: + const char *name;
1: + const char *unit;
1: };
1:
1: struct map_files_info {
1: - long unsigned int start;
1: - long unsigned int end;
1: - fmode_t mode;
1: + long unsigned int start;
1: + long unsigned int end;
1: + fmode_t mode;
1: };
1:
1: struct tgid_iter {
1: - unsigned int tgid;
1: - struct task_struct *task;
1: + unsigned int tgid;
1: + struct task_struct *task;
1: };
1:
1: struct fd_data {
1: - fmode_t mode;
1: - unsigned int fd;
1: + fmode_t mode;
1: + unsigned int fd;
1: };
1:
1: struct seq_net_private {
1: - struct net *net;
1: + struct net *net;
1: };
1:
1: struct vmcore {
1: - struct list_head list;
1: - long long unsigned int paddr;
1: - long long unsigned int size;
1: - loff_t offset;
1: + struct list_head list;
1: + long long unsigned int paddr;
1: + long long unsigned int size;
1: + loff_t offset;
1: };
1:
1: typedef struct elf32_hdr Elf32_Ehdr;
1: @@ -40723,84 +41063,84 @@ typedef struct elf32_note Elf32_Nhdr;
1: typedef struct elf64_note Elf64_Nhdr;
1:
1: struct kernfs_iattrs {
1: - kuid_t ia_uid;
1: - kgid_t ia_gid;
1: - struct timespec64 ia_atime;
1: - struct timespec64 ia_mtime;
1: - struct timespec64 ia_ctime;
1: - struct simple_xattrs xattrs;
1: + kuid_t ia_uid;
1: + kgid_t ia_gid;
1: + struct timespec64 ia_atime;
1: + struct timespec64 ia_mtime;
1: + struct timespec64 ia_ctime;
1: + struct simple_xattrs xattrs;
1: };
1:
1: struct kernfs_super_info {
1: - struct super_block___2 *sb;
1: - struct kernfs_root___2 *root;
1: - const void *ns;
1: - struct list_head node;
1: + struct super_block___2 *sb;
1: + struct kernfs_root___2 *root;
1: + const void *ns;
1: + struct list_head node;
1: };
1:
1: enum kernfs_node_flag {
1: - KERNFS_ACTIVATED = 16,
1: - KERNFS_NS = 32,
1: - KERNFS_HAS_SEQ_SHOW = 64,
1: - KERNFS_HAS_MMAP = 128,
1: - KERNFS_LOCKDEP = 256,
1: - KERNFS_SUICIDAL = 1024,
1: - KERNFS_SUICIDED = 2048,
1: - KERNFS_EMPTY_DIR = 4096,
1: - KERNFS_HAS_RELEASE = 8192,
1: + KERNFS_ACTIVATED = 16,
1: + KERNFS_NS = 32,
1: + KERNFS_HAS_SEQ_SHOW = 64,
1: + KERNFS_HAS_MMAP = 128,
1: + KERNFS_LOCKDEP = 256,
1: + KERNFS_SUICIDAL = 1024,
1: + KERNFS_SUICIDED = 2048,
1: + KERNFS_EMPTY_DIR = 4096,
1: + KERNFS_HAS_RELEASE = 8192,
1: };
1:
1: struct kernfs_open_node {
1: - atomic_t refcnt;
1: - atomic_t event;
1: - wait_queue_head_t poll;
1: - struct list_head files;
1: + atomic_t refcnt;
1: + atomic_t event;
1: + wait_queue_head_t poll;
1: + struct list_head files;
1: };
1:
1: struct pts_mount_opts {
1: - int setuid;
1: - int setgid;
1: - kuid_t uid;
1: - kgid_t gid;
1: - umode_t mode;
1: - umode_t ptmxmode;
1: - int reserve;
1: - int max;
1: + int setuid;
1: + int setgid;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: + umode_t ptmxmode;
1: + int reserve;
1: + int max;
1: };
1:
1: enum {
1: - Opt_uid___2 = 0,
1: - Opt_gid___3 = 1,
1: - Opt_mode___2 = 2,
1: - Opt_ptmxmode = 3,
1: - Opt_newinstance = 4,
1: - Opt_max = 5,
1: - Opt_err = 6,
1: + Opt_uid___2 = 0,
1: + Opt_gid___3 = 1,
1: + Opt_mode___2 = 2,
1: + Opt_ptmxmode = 3,
1: + Opt_newinstance = 4,
1: + Opt_max = 5,
1: + Opt_err = 6,
1: };
1:
1: struct pts_fs_info {
1: - struct ida allocated_ptys;
1: - struct pts_mount_opts mount_opts;
1: - struct super_block___2 *sb;
1: - struct dentry___2 *ptmx_dentry;
1: + struct ida allocated_ptys;
1: + struct pts_mount_opts mount_opts;
1: + struct super_block___2 *sb;
1: + struct dentry___2 *ptmx_dentry;
1: };
1:
1: struct dcookie_struct {
1: - struct path___2 path;
1: - struct list_head hash_list;
1: + struct path___2 path;
1: + struct list_head hash_list;
1: };
1:
1: struct dcookie_user {
1: - struct list_head next;
1: + struct list_head next;
1: };
1:
1: typedef unsigned int tid_t;
1:
1: struct transaction_chp_stats_s {
1: - long unsigned int cs_chp_time;
1: - __u32 cs_forced_to_close;
1: - __u32 cs_written;
1: - __u32 cs_dropped;
1: + long unsigned int cs_chp_time;
1: + __u32 cs_forced_to_close;
1: + __u32 cs_written;
1: + __u32 cs_dropped;
1: };
1:
1: struct journal_s;
1: @@ -40814,154 +41154,159 @@ struct transaction_s;
1: typedef struct transaction_s transaction_t;
1:
1: struct transaction_s {
1: - journal_t *t_journal;
1: - tid_t t_tid;
1: - enum {
1: - T_RUNNING = 0,
1: - T_LOCKED = 1,
1: - T_SWITCH = 2,
1: - T_FLUSH = 3,
1: - T_COMMIT = 4,
1: - T_COMMIT_DFLUSH = 5,
1: - T_COMMIT_JFLUSH = 6,
1: - T_COMMIT_CALLBACK = 7,
1: - T_FINISHED = 8,
1: - } t_state;
1: - long unsigned int t_log_start;
1: - int t_nr_buffers;
1: - struct journal_head *t_reserved_list;
1: - struct journal_head *t_buffers;
1: - struct journal_head *t_forget;
1: - struct journal_head *t_checkpoint_list;
1: - struct journal_head *t_checkpoint_io_list;
1: - struct journal_head *t_shadow_list;
1: - struct list_head t_inode_list;
1: - spinlock_t t_handle_lock;
1: - long unsigned int t_max_wait;
1: - long unsigned int t_start;
1: - long unsigned int t_requested;
1: - struct transaction_chp_stats_s t_chp_stats;
1: - atomic_t t_updates;
1: - atomic_t t_outstanding_credits;
1: - atomic_t t_outstanding_revokes;
1: - atomic_t t_handle_count;
1: - transaction_t *t_cpnext;
1: - transaction_t *t_cpprev;
1: - long unsigned int t_expires;
1: - ktime_t t_start_time;
1: - unsigned int t_synchronous_commit: 1;
1: - int t_need_data_flush;
1: - struct list_head t_private_list;
1: + journal_t *t_journal;
1: + tid_t t_tid;
1: + enum {
1: + T_RUNNING = 0,
1: + T_LOCKED = 1,
1: + T_SWITCH = 2,
1: + T_FLUSH = 3,
1: + T_COMMIT = 4,
1: + T_COMMIT_DFLUSH = 5,
1: + T_COMMIT_JFLUSH = 6,
1: + T_COMMIT_CALLBACK = 7,
1: + T_FINISHED = 8,
1: + } t_state;
1: + long unsigned int t_log_start;
1: + int t_nr_buffers;
1: + struct journal_head *t_reserved_list;
1: + struct journal_head *t_buffers;
1: + struct journal_head *t_forget;
1: + struct journal_head *t_checkpoint_list;
1: + struct journal_head *t_checkpoint_io_list;
1: + struct journal_head *t_shadow_list;
1: + struct list_head t_inode_list;
1: + spinlock_t t_handle_lock;
1: + long unsigned int t_max_wait;
1: + long unsigned int t_start;
1: + long unsigned int t_requested;
1: + struct transaction_chp_stats_s t_chp_stats;
1: + atomic_t t_updates;
1: + atomic_t t_outstanding_credits;
1: + atomic_t t_outstanding_revokes;
1: + atomic_t t_handle_count;
1: + transaction_t *t_cpnext;
1: + transaction_t *t_cpprev;
1: + long unsigned int t_expires;
1: + ktime_t t_start_time;
1: + unsigned int t_synchronous_commit : 1;
1: + int t_need_data_flush;
1: + struct list_head t_private_list;
1: };
1:
1: struct jbd2_buffer_trigger_type;
1:
1: struct journal_head {
1: - struct buffer_head *b_bh;
1: - spinlock_t b_state_lock;
1: - int b_jcount;
1: - unsigned int b_jlist;
1: - unsigned int b_modified;
1: - char *b_frozen_data;
1: - char *b_committed_data;
1: - transaction_t *b_transaction;
1: - transaction_t *b_next_transaction;
1: - struct journal_head *b_tnext;
1: - struct journal_head *b_tprev;
1: - transaction_t *b_cp_transaction;
1: - struct journal_head *b_cpnext;
1: - struct journal_head *b_cpprev;
1: - struct jbd2_buffer_trigger_type *b_triggers;
1: - struct jbd2_buffer_trigger_type *b_frozen_triggers;
1: + struct buffer_head *b_bh;
1: + spinlock_t b_state_lock;
1: + int b_jcount;
1: + unsigned int b_jlist;
1: + unsigned int b_modified;
1: + char *b_frozen_data;
1: + char *b_committed_data;
1: + transaction_t *b_transaction;
1: + transaction_t *b_next_transaction;
1: + struct journal_head *b_tnext;
1: + struct journal_head *b_tprev;
1: + transaction_t *b_cp_transaction;
1: + struct journal_head *b_cpnext;
1: + struct journal_head *b_cpprev;
1: + struct jbd2_buffer_trigger_type *b_triggers;
1: + struct jbd2_buffer_trigger_type *b_frozen_triggers;
1: };
1:
1: struct jbd2_buffer_trigger_type {
1: - void (*t_frozen)(struct jbd2_buffer_trigger_type *, struct buffer_head *, void *, size_t);
1: - void (*t_abort)(struct jbd2_buffer_trigger_type *, struct buffer_head *);
1: + void (*t_frozen)(struct jbd2_buffer_trigger_type *, struct buffer_head *,
1: + void *, size_t);
1: + void (*t_abort)(struct jbd2_buffer_trigger_type *, struct buffer_head *);
1: };
1:
1: struct crypto_tfm;
1:
1: struct cipher_tfm {
1: - int (*cit_setkey)(struct crypto_tfm *, const u8 *, unsigned int);
1: - void (*cit_encrypt_one)(struct crypto_tfm *, u8 *, const u8 *);
1: - void (*cit_decrypt_one)(struct crypto_tfm *, u8 *, const u8 *);
1: + int (*cit_setkey)(struct crypto_tfm *, const u8 *, unsigned int);
1: + void (*cit_encrypt_one)(struct crypto_tfm *, u8 *, const u8 *);
1: + void (*cit_decrypt_one)(struct crypto_tfm *, u8 *, const u8 *);
1: };
1:
1: struct compress_tfm {
1: - int (*cot_compress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *);
1: - int (*cot_decompress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *);
1: + int (*cot_compress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *,
1: + unsigned int *);
1: + int (*cot_decompress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *,
1: + unsigned int *);
1: };
1:
1: struct crypto_alg;
1:
1: struct crypto_tfm {
1: - u32 crt_flags;
1: - union {
1: - struct cipher_tfm cipher;
1: - struct compress_tfm compress;
1: - } crt_u;
1: - void (*exit)(struct crypto_tfm *);
1: - struct crypto_alg *__crt_alg;
1: - void *__crt_ctx[0];
1: + u32 crt_flags;
1: + union {
1: + struct cipher_tfm cipher;
1: + struct compress_tfm compress;
1: + } crt_u;
1: + void (*exit)(struct crypto_tfm *);
1: + struct crypto_alg *__crt_alg;
1: + void *__crt_ctx[0];
1: };
1:
1: struct cipher_alg {
1: - unsigned int cia_min_keysize;
1: - unsigned int cia_max_keysize;
1: - int (*cia_setkey)(struct crypto_tfm *, const u8 *, unsigned int);
1: - void (*cia_encrypt)(struct crypto_tfm *, u8 *, const u8 *);
1: - void (*cia_decrypt)(struct crypto_tfm *, u8 *, const u8 *);
1: + unsigned int cia_min_keysize;
1: + unsigned int cia_max_keysize;
1: + int (*cia_setkey)(struct crypto_tfm *, const u8 *, unsigned int);
1: + void (*cia_encrypt)(struct crypto_tfm *, u8 *, const u8 *);
1: + void (*cia_decrypt)(struct crypto_tfm *, u8 *, const u8 *);
1: };
1:
1: struct compress_alg {
1: - int (*coa_compress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *);
1: - int (*coa_decompress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *);
1: + int (*coa_compress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *,
1: + unsigned int *);
1: + int (*coa_decompress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *,
1: + unsigned int *);
1: };
1:
1: struct crypto_type;
1:
1: struct crypto_alg {
1: - struct list_head cra_list;
1: - struct list_head cra_users;
1: - u32 cra_flags;
1: - unsigned int cra_blocksize;
1: - unsigned int cra_ctxsize;
1: - unsigned int cra_alignmask;
1: - int cra_priority;
1: - refcount_t cra_refcnt;
1: - char cra_name[128];
1: - char cra_driver_name[128];
1: - const struct crypto_type *cra_type;
1: - union {
1: - struct cipher_alg cipher;
1: - struct compress_alg compress;
1: - } cra_u;
1: - int (*cra_init)(struct crypto_tfm *);
1: - void (*cra_exit)(struct crypto_tfm *);
1: - void (*cra_destroy)(struct crypto_alg *);
1: - struct module___2 *cra_module;
1: + struct list_head cra_list;
1: + struct list_head cra_users;
1: + u32 cra_flags;
1: + unsigned int cra_blocksize;
1: + unsigned int cra_ctxsize;
1: + unsigned int cra_alignmask;
1: + int cra_priority;
1: + refcount_t cra_refcnt;
1: + char cra_name[128];
1: + char cra_driver_name[128];
1: + const struct crypto_type *cra_type;
1: + union {
1: + struct cipher_alg cipher;
1: + struct compress_alg compress;
1: + } cra_u;
1: + int (*cra_init)(struct crypto_tfm *);
1: + void (*cra_exit)(struct crypto_tfm *);
1: + void (*cra_destroy)(struct crypto_alg *);
1: + struct module___2 *cra_module;
1: };
1:
1: struct crypto_instance;
1:
1: struct crypto_type {
1: - unsigned int (*ctxsize)(struct crypto_alg *, u32, u32);
1: - unsigned int (*extsize)(struct crypto_alg *);
1: - int (*init)(struct crypto_tfm *, u32, u32);
1: - int (*init_tfm)(struct crypto_tfm *);
1: - void (*show)(struct seq_file *, struct crypto_alg *);
1: - int (*report)(struct sk_buff *, struct crypto_alg *);
1: - void (*free)(struct crypto_instance *);
1: - unsigned int type;
1: - unsigned int maskclear;
1: - unsigned int maskset;
1: - unsigned int tfmsize;
1: + unsigned int (*ctxsize)(struct crypto_alg *, u32, u32);
1: + unsigned int (*extsize)(struct crypto_alg *);
1: + int (*init)(struct crypto_tfm *, u32, u32);
1: + int (*init_tfm)(struct crypto_tfm *);
1: + void (*show)(struct seq_file *, struct crypto_alg *);
1: + int (*report)(struct sk_buff *, struct crypto_alg *);
1: + void (*free)(struct crypto_instance *);
1: + unsigned int type;
1: + unsigned int maskclear;
1: + unsigned int maskset;
1: + unsigned int tfmsize;
1: };
1:
1: struct crypto_shash {
1: - unsigned int descsize;
1: - struct crypto_tfm base;
1: + unsigned int descsize;
1: + struct crypto_tfm base;
1: };
1:
1: struct jbd2_journal_handle;
1: @@ -40969,43 +41314,43 @@ struct jbd2_journal_handle;
1: typedef struct jbd2_journal_handle handle_t;
1:
1: struct jbd2_journal_handle {
1: - union {
1: - transaction_t *h_transaction;
1: - journal_t *h_journal;
1: - };
1: - handle_t *h_rsv_handle;
1: - int h_total_credits;
1: - int h_revoke_credits;
1: - int h_revoke_credits_requested;
1: - int h_ref;
1: - int h_err;
1: - unsigned int h_sync: 1;
1: - unsigned int h_jdata: 1;
1: - unsigned int h_reserved: 1;
1: - unsigned int h_aborted: 1;
1: - unsigned int h_type: 8;
1: - unsigned int h_line_no: 16;
1: - long unsigned int h_start_jiffies;
1: - unsigned int h_requested_credits;
1: - unsigned int saved_alloc_context;
1: + union {
1: + transaction_t *h_transaction;
1: + journal_t *h_journal;
1: + };
1: + handle_t *h_rsv_handle;
1: + int h_total_credits;
1: + int h_revoke_credits;
1: + int h_revoke_credits_requested;
1: + int h_ref;
1: + int h_err;
1: + unsigned int h_sync : 1;
1: + unsigned int h_jdata : 1;
1: + unsigned int h_reserved : 1;
1: + unsigned int h_aborted : 1;
1: + unsigned int h_type : 8;
1: + unsigned int h_line_no : 16;
1: + long unsigned int h_start_jiffies;
1: + unsigned int h_requested_credits;
1: + unsigned int saved_alloc_context;
1: };
1:
1: struct transaction_run_stats_s {
1: - long unsigned int rs_wait;
1: - long unsigned int rs_request_delay;
1: - long unsigned int rs_running;
1: - long unsigned int rs_locked;
1: - long unsigned int rs_flushing;
1: - long unsigned int rs_logging;
1: - __u32 rs_handle_count;
1: - __u32 rs_blocks;
1: - __u32 rs_blocks_logged;
1: + long unsigned int rs_wait;
1: + long unsigned int rs_request_delay;
1: + long unsigned int rs_running;
1: + long unsigned int rs_locked;
1: + long unsigned int rs_flushing;
1: + long unsigned int rs_logging;
1: + __u32 rs_handle_count;
1: + __u32 rs_blocks;
1: + __u32 rs_blocks_logged;
1: };
1:
1: struct transaction_stats_s {
1: - long unsigned int ts_tid;
1: - long unsigned int ts_requested;
1: - struct transaction_run_stats_s run;
1: + long unsigned int ts_tid;
1: + long unsigned int ts_requested;
1: + struct transaction_run_stats_s run;
1: };
1:
1: struct journal_superblock_s;
1: @@ -41015,135 +41360,135 @@ typedef struct journal_superblock_s journal_superblock_t;
1: struct jbd2_revoke_table_s;
1:
1: struct journal_s {
1: - long unsigned int j_flags;
1: - int j_errno;
1: - struct buffer_head *j_sb_buffer;
1: - journal_superblock_t *j_superblock;
1: - int j_format_version;
1: - rwlock_t j_state_lock;
1: - int j_barrier_count;
1: - struct mutex j_barrier;
1: - transaction_t *j_running_transaction;
1: - transaction_t *j_committing_transaction;
1: - transaction_t *j_checkpoint_transactions;
1: - wait_queue_head_t j_wait_transaction_locked;
1: - wait_queue_head_t j_wait_done_commit;
1: - wait_queue_head_t j_wait_commit;
1: - wait_queue_head_t j_wait_updates;
1: - wait_queue_head_t j_wait_reserved;
1: - struct mutex j_checkpoint_mutex;
1: - struct buffer_head *j_chkpt_bhs[64];
1: - long unsigned int j_head;
1: - long unsigned int j_tail;
1: - long unsigned int j_free;
1: - long unsigned int j_first;
1: - long unsigned int j_last;
1: - struct block_device *j_dev;
1: - int j_blocksize;
1: - long long unsigned int j_blk_offset;
1: - char j_devname[56];
1: - struct block_device *j_fs_dev;
1: - unsigned int j_maxlen;
1: - atomic_t j_reserved_credits;
1: - spinlock_t j_list_lock;
1: - struct inode___2 *j_inode;
1: - tid_t j_tail_sequence;
1: - tid_t j_transaction_sequence;
1: - tid_t j_commit_sequence;
1: - tid_t j_commit_request;
1: - __u8 j_uuid[16];
1: - struct task_struct___2 *j_task;
1: - int j_max_transaction_buffers;
1: - int j_revoke_records_per_block;
1: - long unsigned int j_commit_interval;
1: - struct timer_list j_commit_timer;
1: - spinlock_t j_revoke_lock;
1: - struct jbd2_revoke_table_s *j_revoke;
1: - struct jbd2_revoke_table_s *j_revoke_table[2];
1: - struct buffer_head **j_wbuf;
1: - int j_wbufsize;
1: - pid_t j_last_sync_writer;
1: - u64 j_average_commit_time;
1: - u32 j_min_batch_time;
1: - u32 j_max_batch_time;
1: - void (*j_commit_callback)(journal_t *, transaction_t *);
1: - spinlock_t j_history_lock;
1: - struct proc_dir_entry *j_proc_entry;
1: - struct transaction_stats_s j_stats;
1: - unsigned int j_failed_commit;
1: - void *j_private;
1: - struct crypto_shash *j_chksum_driver;
1: - __u32 j_csum_seed;
1: + long unsigned int j_flags;
1: + int j_errno;
1: + struct buffer_head *j_sb_buffer;
1: + journal_superblock_t *j_superblock;
1: + int j_format_version;
1: + rwlock_t j_state_lock;
1: + int j_barrier_count;
1: + struct mutex j_barrier;
1: + transaction_t *j_running_transaction;
1: + transaction_t *j_committing_transaction;
1: + transaction_t *j_checkpoint_transactions;
1: + wait_queue_head_t j_wait_transaction_locked;
1: + wait_queue_head_t j_wait_done_commit;
1: + wait_queue_head_t j_wait_commit;
1: + wait_queue_head_t j_wait_updates;
1: + wait_queue_head_t j_wait_reserved;
1: + struct mutex j_checkpoint_mutex;
1: + struct buffer_head *j_chkpt_bhs[64];
1: + long unsigned int j_head;
1: + long unsigned int j_tail;
1: + long unsigned int j_free;
1: + long unsigned int j_first;
1: + long unsigned int j_last;
1: + struct block_device *j_dev;
1: + int j_blocksize;
1: + long long unsigned int j_blk_offset;
1: + char j_devname[56];
1: + struct block_device *j_fs_dev;
1: + unsigned int j_maxlen;
1: + atomic_t j_reserved_credits;
1: + spinlock_t j_list_lock;
1: + struct inode___2 *j_inode;
1: + tid_t j_tail_sequence;
1: + tid_t j_transaction_sequence;
1: + tid_t j_commit_sequence;
1: + tid_t j_commit_request;
1: + __u8 j_uuid[16];
1: + struct task_struct___2 *j_task;
1: + int j_max_transaction_buffers;
1: + int j_revoke_records_per_block;
1: + long unsigned int j_commit_interval;
1: + struct timer_list j_commit_timer;
1: + spinlock_t j_revoke_lock;
1: + struct jbd2_revoke_table_s *j_revoke;
1: + struct jbd2_revoke_table_s *j_revoke_table[2];
1: + struct buffer_head **j_wbuf;
1: + int j_wbufsize;
1: + pid_t j_last_sync_writer;
1: + u64 j_average_commit_time;
1: + u32 j_min_batch_time;
1: + u32 j_max_batch_time;
1: + void (*j_commit_callback)(journal_t *, transaction_t *);
1: + spinlock_t j_history_lock;
1: + struct proc_dir_entry *j_proc_entry;
1: + struct transaction_stats_s j_stats;
1: + unsigned int j_failed_commit;
1: + void *j_private;
1: + struct crypto_shash *j_chksum_driver;
1: + __u32 j_csum_seed;
1: };
1:
1: struct journal_header_s {
1: - __be32 h_magic;
1: - __be32 h_blocktype;
1: - __be32 h_sequence;
1: + __be32 h_magic;
1: + __be32 h_blocktype;
1: + __be32 h_sequence;
1: };
1:
1: typedef struct journal_header_s journal_header_t;
1:
1: struct journal_superblock_s {
1: - journal_header_t s_header;
1: - __be32 s_blocksize;
1: - __be32 s_maxlen;
1: - __be32 s_first;
1: - __be32 s_sequence;
1: - __be32 s_start;
1: - __be32 s_errno;
1: - __be32 s_feature_compat;
1: - __be32 s_feature_incompat;
1: - __be32 s_feature_ro_compat;
1: - __u8 s_uuid[16];
1: - __be32 s_nr_users;
1: - __be32 s_dynsuper;
1: - __be32 s_max_transaction;
1: - __be32 s_max_trans_data;
1: - __u8 s_checksum_type;
1: - __u8 s_padding2[3];
1: - __u32 s_padding[42];
1: - __be32 s_checksum;
1: - __u8 s_users[768];
1: + journal_header_t s_header;
1: + __be32 s_blocksize;
1: + __be32 s_maxlen;
1: + __be32 s_first;
1: + __be32 s_sequence;
1: + __be32 s_start;
1: + __be32 s_errno;
1: + __be32 s_feature_compat;
1: + __be32 s_feature_incompat;
1: + __be32 s_feature_ro_compat;
1: + __u8 s_uuid[16];
1: + __be32 s_nr_users;
1: + __be32 s_dynsuper;
1: + __be32 s_max_transaction;
1: + __be32 s_max_trans_data;
1: + __u8 s_checksum_type;
1: + __u8 s_padding2[3];
1: + __u32 s_padding[42];
1: + __be32 s_checksum;
1: + __u8 s_users[768];
1: };
1:
1: enum jbd_state_bits {
1: - BH_JBD = 17,
1: - BH_JWrite = 18,
1: - BH_Freed = 19,
1: - BH_Revoked = 20,
1: - BH_RevokeValid = 21,
1: - BH_JBDDirty = 22,
1: - BH_JournalHead = 23,
1: - BH_Shadow = 24,
1: - BH_Verified = 25,
1: - BH_JBDPrivateStart = 26,
1: + BH_JBD = 17,
1: + BH_JWrite = 18,
1: + BH_Freed = 19,
1: + BH_Revoked = 20,
1: + BH_RevokeValid = 21,
1: + BH_JBDDirty = 22,
1: + BH_JournalHead = 23,
1: + BH_Shadow = 24,
1: + BH_Verified = 25,
1: + BH_JBDPrivateStart = 26,
1: };
1:
1: struct jbd2_inode {
1: - transaction_t *i_transaction;
1: - transaction_t *i_next_transaction;
1: - struct list_head i_list;
1: - struct inode___2 *i_vfs_inode;
1: - long unsigned int i_flags;
1: - loff_t i_dirty_start;
1: - loff_t i_dirty_end;
1: + transaction_t *i_transaction;
1: + transaction_t *i_next_transaction;
1: + struct list_head i_list;
1: + struct inode___2 *i_vfs_inode;
1: + long unsigned int i_flags;
1: + loff_t i_dirty_start;
1: + loff_t i_dirty_end;
1: };
1:
1: struct bgl_lock {
1: - spinlock_t lock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + spinlock_t lock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct blockgroup_lock {
1: - struct bgl_lock locks[128];
1: + struct bgl_lock locks[128];
1: };
1:
1: typedef int ext4_grpblk_t;
1: @@ -41155,227 +41500,227 @@ typedef __u32 ext4_lblk_t;
1: typedef unsigned int ext4_group_t;
1:
1: struct ext4_allocation_request {
1: - struct inode___2 *inode;
1: - unsigned int len;
1: - ext4_lblk_t logical;
1: - ext4_lblk_t lleft;
1: - ext4_lblk_t lright;
1: - ext4_fsblk_t goal;
1: - ext4_fsblk_t pleft;
1: - ext4_fsblk_t pright;
1: - unsigned int flags;
1: + struct inode___2 *inode;
1: + unsigned int len;
1: + ext4_lblk_t logical;
1: + ext4_lblk_t lleft;
1: + ext4_lblk_t lright;
1: + ext4_fsblk_t goal;
1: + ext4_fsblk_t pleft;
1: + ext4_fsblk_t pright;
1: + unsigned int flags;
1: };
1:
1: struct ext4_system_blocks {
1: - struct rb_root root;
1: - struct callback_head rcu;
1: + struct rb_root root;
1: + struct callback_head rcu;
1: };
1:
1: struct ext4_group_desc {
1: - __le32 bg_block_bitmap_lo;
1: - __le32 bg_inode_bitmap_lo;
1: - __le32 bg_inode_table_lo;
1: - __le16 bg_free_blocks_count_lo;
1: - __le16 bg_free_inodes_count_lo;
1: - __le16 bg_used_dirs_count_lo;
1: - __le16 bg_flags;
1: - __le32 bg_exclude_bitmap_lo;
1: - __le16 bg_block_bitmap_csum_lo;
1: - __le16 bg_inode_bitmap_csum_lo;
1: - __le16 bg_itable_unused_lo;
1: - __le16 bg_checksum;
1: - __le32 bg_block_bitmap_hi;
1: - __le32 bg_inode_bitmap_hi;
1: - __le32 bg_inode_table_hi;
1: - __le16 bg_free_blocks_count_hi;
1: - __le16 bg_free_inodes_count_hi;
1: - __le16 bg_used_dirs_count_hi;
1: - __le16 bg_itable_unused_hi;
1: - __le32 bg_exclude_bitmap_hi;
1: - __le16 bg_block_bitmap_csum_hi;
1: - __le16 bg_inode_bitmap_csum_hi;
1: - __u32 bg_reserved;
1: + __le32 bg_block_bitmap_lo;
1: + __le32 bg_inode_bitmap_lo;
1: + __le32 bg_inode_table_lo;
1: + __le16 bg_free_blocks_count_lo;
1: + __le16 bg_free_inodes_count_lo;
1: + __le16 bg_used_dirs_count_lo;
1: + __le16 bg_flags;
1: + __le32 bg_exclude_bitmap_lo;
1: + __le16 bg_block_bitmap_csum_lo;
1: + __le16 bg_inode_bitmap_csum_lo;
1: + __le16 bg_itable_unused_lo;
1: + __le16 bg_checksum;
1: + __le32 bg_block_bitmap_hi;
1: + __le32 bg_inode_bitmap_hi;
1: + __le32 bg_inode_table_hi;
1: + __le16 bg_free_blocks_count_hi;
1: + __le16 bg_free_inodes_count_hi;
1: + __le16 bg_used_dirs_count_hi;
1: + __le16 bg_itable_unused_hi;
1: + __le32 bg_exclude_bitmap_hi;
1: + __le16 bg_block_bitmap_csum_hi;
1: + __le16 bg_inode_bitmap_csum_hi;
1: + __u32 bg_reserved;
1: };
1:
1: struct flex_groups {
1: - atomic64_t free_clusters;
1: - atomic_t free_inodes;
1: - atomic_t used_dirs;
1: + atomic64_t free_clusters;
1: + atomic_t free_inodes;
1: + atomic_t used_dirs;
1: };
1:
1: struct extent_status {
1: - struct rb_node rb_node;
1: - ext4_lblk_t es_lblk;
1: - ext4_lblk_t es_len;
1: - ext4_fsblk_t es_pblk;
1: + struct rb_node rb_node;
1: + ext4_lblk_t es_lblk;
1: + ext4_lblk_t es_len;
1: + ext4_fsblk_t es_pblk;
1: };
1:
1: struct ext4_es_tree {
1: - struct rb_root root;
1: - struct extent_status *cache_es;
1: + struct rb_root root;
1: + struct extent_status *cache_es;
1: };
1:
1: struct ext4_es_stats {
1: - long unsigned int es_stats_shrunk;
1: - struct percpu_counter es_stats_cache_hits;
1: - struct percpu_counter es_stats_cache_misses;
1: - u64 es_stats_scan_time;
1: - u64 es_stats_max_scan_time;
1: - struct percpu_counter es_stats_all_cnt;
1: - struct percpu_counter es_stats_shk_cnt;
1: + long unsigned int es_stats_shrunk;
1: + struct percpu_counter es_stats_cache_hits;
1: + struct percpu_counter es_stats_cache_misses;
1: + u64 es_stats_scan_time;
1: + u64 es_stats_max_scan_time;
1: + struct percpu_counter es_stats_all_cnt;
1: + struct percpu_counter es_stats_shk_cnt;
1: };
1:
1: struct ext4_pending_tree {
1: - struct rb_root root;
1: + struct rb_root root;
1: };
1:
1: struct ext4_inode_info {
1: - __le32 i_data[15];
1: - __u32 i_dtime;
1: - ext4_fsblk_t i_file_acl;
1: - ext4_group_t i_block_group;
1: - ext4_lblk_t i_dir_start_lookup;
1: - long unsigned int i_flags;
1: - struct rw_semaphore xattr_sem;
1: - struct list_head i_orphan;
1: - loff_t i_disksize;
1: - struct rw_semaphore i_data_sem;
1: - struct rw_semaphore i_mmap_sem;
1: - struct inode___2 vfs_inode;
1: - struct jbd2_inode *jinode;
1: - spinlock_t i_raw_lock;
1: - struct timespec64 i_crtime;
1: - struct list_head i_prealloc_list;
1: - spinlock_t i_prealloc_lock;
1: - struct ext4_es_tree i_es_tree;
1: - rwlock_t i_es_lock;
1: - struct list_head i_es_list;
1: - unsigned int i_es_all_nr;
1: - unsigned int i_es_shk_nr;
1: - ext4_lblk_t i_es_shrink_lblk;
1: - ext4_group_t i_last_alloc_group;
1: - unsigned int i_reserved_data_blocks;
1: - ext4_lblk_t i_da_metadata_calc_last_lblock;
1: - int i_da_metadata_calc_len;
1: - struct ext4_pending_tree i_pending_tree;
1: - __u16 i_extra_isize;
1: - u16 i_inline_off;
1: - u16 i_inline_size;
1: - qsize_t i_reserved_quota;
1: - spinlock_t i_completed_io_lock;
1: - struct list_head i_rsv_conversion_list;
1: - struct work_struct i_rsv_conversion_work;
1: - atomic_t i_unwritten;
1: - spinlock_t i_block_reservation_lock;
1: - tid_t i_sync_tid;
1: - tid_t i_datasync_tid;
1: - struct dquot *i_dquot[3];
1: - __u32 i_csum_seed;
1: - kprojid_t i_projid;
1: + __le32 i_data[15];
1: + __u32 i_dtime;
1: + ext4_fsblk_t i_file_acl;
1: + ext4_group_t i_block_group;
1: + ext4_lblk_t i_dir_start_lookup;
1: + long unsigned int i_flags;
1: + struct rw_semaphore xattr_sem;
1: + struct list_head i_orphan;
1: + loff_t i_disksize;
1: + struct rw_semaphore i_data_sem;
1: + struct rw_semaphore i_mmap_sem;
1: + struct inode___2 vfs_inode;
1: + struct jbd2_inode *jinode;
1: + spinlock_t i_raw_lock;
1: + struct timespec64 i_crtime;
1: + struct list_head i_prealloc_list;
1: + spinlock_t i_prealloc_lock;
1: + struct ext4_es_tree i_es_tree;
1: + rwlock_t i_es_lock;
1: + struct list_head i_es_list;
1: + unsigned int i_es_all_nr;
1: + unsigned int i_es_shk_nr;
1: + ext4_lblk_t i_es_shrink_lblk;
1: + ext4_group_t i_last_alloc_group;
1: + unsigned int i_reserved_data_blocks;
1: + ext4_lblk_t i_da_metadata_calc_last_lblock;
1: + int i_da_metadata_calc_len;
1: + struct ext4_pending_tree i_pending_tree;
1: + __u16 i_extra_isize;
1: + u16 i_inline_off;
1: + u16 i_inline_size;
1: + qsize_t i_reserved_quota;
1: + spinlock_t i_completed_io_lock;
1: + struct list_head i_rsv_conversion_list;
1: + struct work_struct i_rsv_conversion_work;
1: + atomic_t i_unwritten;
1: + spinlock_t i_block_reservation_lock;
1: + tid_t i_sync_tid;
1: + tid_t i_datasync_tid;
1: + struct dquot *i_dquot[3];
1: + __u32 i_csum_seed;
1: + kprojid_t i_projid;
1: };
1:
1: struct ext4_super_block {
1: - __le32 s_inodes_count;
1: - __le32 s_blocks_count_lo;
1: - __le32 s_r_blocks_count_lo;
1: - __le32 s_free_blocks_count_lo;
1: - __le32 s_free_inodes_count;
1: - __le32 s_first_data_block;
1: - __le32 s_log_block_size;
1: - __le32 s_log_cluster_size;
1: - __le32 s_blocks_per_group;
1: - __le32 s_clusters_per_group;
1: - __le32 s_inodes_per_group;
1: - __le32 s_mtime;
1: - __le32 s_wtime;
1: - __le16 s_mnt_count;
1: - __le16 s_max_mnt_count;
1: - __le16 s_magic;
1: - __le16 s_state;
1: - __le16 s_errors;
1: - __le16 s_minor_rev_level;
1: - __le32 s_lastcheck;
1: - __le32 s_checkinterval;
1: - __le32 s_creator_os;
1: - __le32 s_rev_level;
1: - __le16 s_def_resuid;
1: - __le16 s_def_resgid;
1: - __le32 s_first_ino;
1: - __le16 s_inode_size;
1: - __le16 s_block_group_nr;
1: - __le32 s_feature_compat;
1: - __le32 s_feature_incompat;
1: - __le32 s_feature_ro_compat;
1: - __u8 s_uuid[16];
1: - char s_volume_name[16];
1: - char s_last_mounted[64];
1: - __le32 s_algorithm_usage_bitmap;
1: - __u8 s_prealloc_blocks;
1: - __u8 s_prealloc_dir_blocks;
1: - __le16 s_reserved_gdt_blocks;
1: - __u8 s_journal_uuid[16];
1: - __le32 s_journal_inum;
1: - __le32 s_journal_dev;
1: - __le32 s_last_orphan;
1: - __le32 s_hash_seed[4];
1: - __u8 s_def_hash_version;
1: - __u8 s_jnl_backup_type;
1: - __le16 s_desc_size;
1: - __le32 s_default_mount_opts;
1: - __le32 s_first_meta_bg;
1: - __le32 s_mkfs_time;
1: - __le32 s_jnl_blocks[17];
1: - __le32 s_blocks_count_hi;
1: - __le32 s_r_blocks_count_hi;
1: - __le32 s_free_blocks_count_hi;
1: - __le16 s_min_extra_isize;
1: - __le16 s_want_extra_isize;
1: - __le32 s_flags;
1: - __le16 s_raid_stride;
1: - __le16 s_mmp_update_interval;
1: - __le64 s_mmp_block;
1: - __le32 s_raid_stripe_width;
1: - __u8 s_log_groups_per_flex;
1: - __u8 s_checksum_type;
1: - __u8 s_encryption_level;
1: - __u8 s_reserved_pad;
1: - __le64 s_kbytes_written;
1: - __le32 s_snapshot_inum;
1: - __le32 s_snapshot_id;
1: - __le64 s_snapshot_r_blocks_count;
1: - __le32 s_snapshot_list;
1: - __le32 s_error_count;
1: - __le32 s_first_error_time;
1: - __le32 s_first_error_ino;
1: - __le64 s_first_error_block;
1: - __u8 s_first_error_func[32];
1: - __le32 s_first_error_line;
1: - __le32 s_last_error_time;
1: - __le32 s_last_error_ino;
1: - __le32 s_last_error_line;
1: - __le64 s_last_error_block;
1: - __u8 s_last_error_func[32];
1: - __u8 s_mount_opts[64];
1: - __le32 s_usr_quota_inum;
1: - __le32 s_grp_quota_inum;
1: - __le32 s_overhead_clusters;
1: - __le32 s_backup_bgs[2];
1: - __u8 s_encrypt_algos[4];
1: - __u8 s_encrypt_pw_salt[16];
1: - __le32 s_lpf_ino;
1: - __le32 s_prj_quota_inum;
1: - __le32 s_checksum_seed;
1: - __u8 s_wtime_hi;
1: - __u8 s_mtime_hi;
1: - __u8 s_mkfs_time_hi;
1: - __u8 s_lastcheck_hi;
1: - __u8 s_first_error_time_hi;
1: - __u8 s_last_error_time_hi;
1: - __u8 s_pad[2];
1: - __le16 s_encoding;
1: - __le16 s_encoding_flags;
1: - __le32 s_reserved[95];
1: - __le32 s_checksum;
1: + __le32 s_inodes_count;
1: + __le32 s_blocks_count_lo;
1: + __le32 s_r_blocks_count_lo;
1: + __le32 s_free_blocks_count_lo;
1: + __le32 s_free_inodes_count;
1: + __le32 s_first_data_block;
1: + __le32 s_log_block_size;
1: + __le32 s_log_cluster_size;
1: + __le32 s_blocks_per_group;
1: + __le32 s_clusters_per_group;
1: + __le32 s_inodes_per_group;
1: + __le32 s_mtime;
1: + __le32 s_wtime;
1: + __le16 s_mnt_count;
1: + __le16 s_max_mnt_count;
1: + __le16 s_magic;
1: + __le16 s_state;
1: + __le16 s_errors;
1: + __le16 s_minor_rev_level;
1: + __le32 s_lastcheck;
1: + __le32 s_checkinterval;
1: + __le32 s_creator_os;
1: + __le32 s_rev_level;
1: + __le16 s_def_resuid;
1: + __le16 s_def_resgid;
1: + __le32 s_first_ino;
1: + __le16 s_inode_size;
1: + __le16 s_block_group_nr;
1: + __le32 s_feature_compat;
1: + __le32 s_feature_incompat;
1: + __le32 s_feature_ro_compat;
1: + __u8 s_uuid[16];
1: + char s_volume_name[16];
1: + char s_last_mounted[64];
1: + __le32 s_algorithm_usage_bitmap;
1: + __u8 s_prealloc_blocks;
1: + __u8 s_prealloc_dir_blocks;
1: + __le16 s_reserved_gdt_blocks;
1: + __u8 s_journal_uuid[16];
1: + __le32 s_journal_inum;
1: + __le32 s_journal_dev;
1: + __le32 s_last_orphan;
1: + __le32 s_hash_seed[4];
1: + __u8 s_def_hash_version;
1: + __u8 s_jnl_backup_type;
1: + __le16 s_desc_size;
1: + __le32 s_default_mount_opts;
1: + __le32 s_first_meta_bg;
1: + __le32 s_mkfs_time;
1: + __le32 s_jnl_blocks[17];
1: + __le32 s_blocks_count_hi;
1: + __le32 s_r_blocks_count_hi;
1: + __le32 s_free_blocks_count_hi;
1: + __le16 s_min_extra_isize;
1: + __le16 s_want_extra_isize;
1: + __le32 s_flags;
1: + __le16 s_raid_stride;
1: + __le16 s_mmp_update_interval;
1: + __le64 s_mmp_block;
1: + __le32 s_raid_stripe_width;
1: + __u8 s_log_groups_per_flex;
1: + __u8 s_checksum_type;
1: + __u8 s_encryption_level;
1: + __u8 s_reserved_pad;
1: + __le64 s_kbytes_written;
1: + __le32 s_snapshot_inum;
1: + __le32 s_snapshot_id;
1: + __le64 s_snapshot_r_blocks_count;
1: + __le32 s_snapshot_list;
1: + __le32 s_error_count;
1: + __le32 s_first_error_time;
1: + __le32 s_first_error_ino;
1: + __le64 s_first_error_block;
1: + __u8 s_first_error_func[32];
1: + __le32 s_first_error_line;
1: + __le32 s_last_error_time;
1: + __le32 s_last_error_ino;
1: + __le32 s_last_error_line;
1: + __le64 s_last_error_block;
1: + __u8 s_last_error_func[32];
1: + __u8 s_mount_opts[64];
1: + __le32 s_usr_quota_inum;
1: + __le32 s_grp_quota_inum;
1: + __le32 s_overhead_clusters;
1: + __le32 s_backup_bgs[2];
1: + __u8 s_encrypt_algos[4];
1: + __u8 s_encrypt_pw_salt[16];
1: + __le32 s_lpf_ino;
1: + __le32 s_prj_quota_inum;
1: + __le32 s_checksum_seed;
1: + __u8 s_wtime_hi;
1: + __u8 s_mtime_hi;
1: + __u8 s_mkfs_time_hi;
1: + __u8 s_lastcheck_hi;
1: + __u8 s_first_error_time_hi;
1: + __u8 s_last_error_time_hi;
1: + __u8 s_pad[2];
1: + __le16 s_encoding;
1: + __le16 s_encoding_flags;
1: + __le32 s_reserved[95];
1: + __le32 s_checksum;
1: };
1:
1: struct mb_cache___2;
1: @@ -41387,531 +41732,534 @@ struct ext4_locality_group;
1: struct ext4_li_request;
1:
1: struct ext4_sb_info {
1: - long unsigned int s_desc_size;
1: - long unsigned int s_inodes_per_block;
1: - long unsigned int s_blocks_per_group;
1: - long unsigned int s_clusters_per_group;
1: - long unsigned int s_inodes_per_group;
1: - long unsigned int s_itb_per_group;
1: - long unsigned int s_gdb_count;
1: - long unsigned int s_desc_per_block;
1: - ext4_group_t s_groups_count;
1: - ext4_group_t s_blockfile_groups;
1: - long unsigned int s_overhead;
1: - unsigned int s_cluster_ratio;
1: - unsigned int s_cluster_bits;
1: - loff_t s_bitmap_maxbytes;
1: - struct buffer_head *s_sbh;
1: - struct ext4_super_block *s_es;
1: - struct buffer_head **s_group_desc;
1: - unsigned int s_mount_opt;
1: - unsigned int s_mount_opt2;
1: - unsigned int s_mount_flags;
1: - unsigned int s_def_mount_opt;
1: - ext4_fsblk_t s_sb_block;
1: - atomic64_t s_resv_clusters;
1: - kuid_t s_resuid;
1: - kgid_t s_resgid;
1: - short unsigned int s_mount_state;
1: - short unsigned int s_pad;
1: - int s_addr_per_block_bits;
1: - int s_desc_per_block_bits;
1: - int s_inode_size;
1: - int s_first_ino;
1: - unsigned int s_inode_readahead_blks;
1: - unsigned int s_inode_goal;
1: - u32 s_hash_seed[4];
1: - int s_def_hash_version;
1: - int s_hash_unsigned;
1: - struct percpu_counter s_freeclusters_counter;
1: - struct percpu_counter s_freeinodes_counter;
1: - struct percpu_counter s_dirs_counter;
1: - struct percpu_counter s_dirtyclusters_counter;
1: - struct blockgroup_lock *s_blockgroup_lock;
1: - struct proc_dir_entry *s_proc;
1: - struct kobject___2 s_kobj;
1: - struct completion s_kobj_unregister;
1: - struct super_block___2 *s_sb;
1: - struct journal_s *s_journal;
1: - struct list_head s_orphan;
1: - struct mutex s_orphan_lock;
1: - long unsigned int s_ext4_flags;
1: - long unsigned int s_commit_interval;
1: - u32 s_max_batch_time;
1: - u32 s_min_batch_time;
1: - struct block_device *journal_bdev;
1: - char *s_qf_names[3];
1: - int s_jquota_fmt;
1: - unsigned int s_want_extra_isize;
1: - struct ext4_system_blocks *system_blks;
1: - struct ext4_group_info ***s_group_info;
1: - struct inode___2 *s_buddy_cache;
1: - spinlock_t s_md_lock;
1: - short unsigned int *s_mb_offsets;
1: - unsigned int *s_mb_maxs;
1: - unsigned int s_group_info_size;
1: - unsigned int s_mb_free_pending;
1: - struct list_head s_freed_data_list;
1: - long unsigned int s_stripe;
1: - unsigned int s_mb_stream_request;
1: - unsigned int s_mb_max_to_scan;
1: - unsigned int s_mb_min_to_scan;
1: - unsigned int s_mb_stats;
1: - unsigned int s_mb_order2_reqs;
1: - unsigned int s_mb_group_prealloc;
1: - unsigned int s_max_dir_size_kb;
1: - long unsigned int s_mb_last_group;
1: - long unsigned int s_mb_last_start;
1: - atomic_t s_bal_reqs;
1: - atomic_t s_bal_success;
1: - atomic_t s_bal_allocated;
1: - atomic_t s_bal_ex_scanned;
1: - atomic_t s_bal_goals;
1: - atomic_t s_bal_breaks;
1: - atomic_t s_bal_2orders;
1: - spinlock_t s_bal_lock;
1: - long unsigned int s_mb_buddies_generated;
1: - long long unsigned int s_mb_generation_time;
1: - atomic_t s_mb_lost_chunks;
1: - atomic_t s_mb_preallocated;
1: - atomic_t s_mb_discarded;
1: - atomic_t s_lock_busy;
1: - struct ext4_locality_group *s_locality_groups;
1: - long unsigned int s_sectors_written_start;
1: - u64 s_kbytes_written;
1: - unsigned int s_extent_max_zeroout_kb;
1: - unsigned int s_log_groups_per_flex;
1: - struct flex_groups *s_flex_groups;
1: - ext4_group_t s_flex_groups_allocated;
1: - struct workqueue_struct *rsv_conversion_wq;
1: - struct timer_list s_err_report;
1: - struct ext4_li_request *s_li_request;
1: - unsigned int s_li_wait_mult;
1: - struct task_struct___2 *s_mmp_tsk;
1: - atomic_t s_last_trim_minblks;
1: - struct crypto_shash *s_chksum_driver;
1: - __u32 s_csum_seed;
1: - struct shrinker s_es_shrinker;
1: - struct list_head s_es_list;
1: - long int s_es_nr_inode;
1: - struct ext4_es_stats s_es_stats;
1: - struct mb_cache___2 *s_ea_block_cache;
1: - struct mb_cache___2 *s_ea_inode_cache;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - spinlock_t s_es_lock;
1: - struct ratelimit_state s_err_ratelimit_state;
1: - struct ratelimit_state s_warning_ratelimit_state;
1: - struct ratelimit_state s_msg_ratelimit_state;
1: - struct percpu_rw_semaphore s_journal_flag_rwsem;
1: - struct dax_device *s_daxdev;
1: - long: 64;
1: + long unsigned int s_desc_size;
1: + long unsigned int s_inodes_per_block;
1: + long unsigned int s_blocks_per_group;
1: + long unsigned int s_clusters_per_group;
1: + long unsigned int s_inodes_per_group;
1: + long unsigned int s_itb_per_group;
1: + long unsigned int s_gdb_count;
1: + long unsigned int s_desc_per_block;
1: + ext4_group_t s_groups_count;
1: + ext4_group_t s_blockfile_groups;
1: + long unsigned int s_overhead;
1: + unsigned int s_cluster_ratio;
1: + unsigned int s_cluster_bits;
1: + loff_t s_bitmap_maxbytes;
1: + struct buffer_head *s_sbh;
1: + struct ext4_super_block *s_es;
1: + struct buffer_head **s_group_desc;
1: + unsigned int s_mount_opt;
1: + unsigned int s_mount_opt2;
1: + unsigned int s_mount_flags;
1: + unsigned int s_def_mount_opt;
1: + ext4_fsblk_t s_sb_block;
1: + atomic64_t s_resv_clusters;
1: + kuid_t s_resuid;
1: + kgid_t s_resgid;
1: + short unsigned int s_mount_state;
1: + short unsigned int s_pad;
1: + int s_addr_per_block_bits;
1: + int s_desc_per_block_bits;
1: + int s_inode_size;
1: + int s_first_ino;
1: + unsigned int s_inode_readahead_blks;
1: + unsigned int s_inode_goal;
1: + u32 s_hash_seed[4];
1: + int s_def_hash_version;
1: + int s_hash_unsigned;
1: + struct percpu_counter s_freeclusters_counter;
1: + struct percpu_counter s_freeinodes_counter;
1: + struct percpu_counter s_dirs_counter;
1: + struct percpu_counter s_dirtyclusters_counter;
1: + struct blockgroup_lock *s_blockgroup_lock;
1: + struct proc_dir_entry *s_proc;
1: + struct kobject___2 s_kobj;
1: + struct completion s_kobj_unregister;
1: + struct super_block___2 *s_sb;
1: + struct journal_s *s_journal;
1: + struct list_head s_orphan;
1: + struct mutex s_orphan_lock;
1: + long unsigned int s_ext4_flags;
1: + long unsigned int s_commit_interval;
1: + u32 s_max_batch_time;
1: + u32 s_min_batch_time;
1: + struct block_device *journal_bdev;
1: + char *s_qf_names[3];
1: + int s_jquota_fmt;
1: + unsigned int s_want_extra_isize;
1: + struct ext4_system_blocks *system_blks;
1: + struct ext4_group_info ***s_group_info;
1: + struct inode___2 *s_buddy_cache;
1: + spinlock_t s_md_lock;
1: + short unsigned int *s_mb_offsets;
1: + unsigned int *s_mb_maxs;
1: + unsigned int s_group_info_size;
1: + unsigned int s_mb_free_pending;
1: + struct list_head s_freed_data_list;
1: + long unsigned int s_stripe;
1: + unsigned int s_mb_stream_request;
1: + unsigned int s_mb_max_to_scan;
1: + unsigned int s_mb_min_to_scan;
1: + unsigned int s_mb_stats;
1: + unsigned int s_mb_order2_reqs;
1: + unsigned int s_mb_group_prealloc;
1: + unsigned int s_max_dir_size_kb;
1: + long unsigned int s_mb_last_group;
1: + long unsigned int s_mb_last_start;
1: + atomic_t s_bal_reqs;
1: + atomic_t s_bal_success;
1: + atomic_t s_bal_allocated;
1: + atomic_t s_bal_ex_scanned;
1: + atomic_t s_bal_goals;
1: + atomic_t s_bal_breaks;
1: + atomic_t s_bal_2orders;
1: + spinlock_t s_bal_lock;
1: + long unsigned int s_mb_buddies_generated;
1: + long long unsigned int s_mb_generation_time;
1: + atomic_t s_mb_lost_chunks;
1: + atomic_t s_mb_preallocated;
1: + atomic_t s_mb_discarded;
1: + atomic_t s_lock_busy;
1: + struct ext4_locality_group *s_locality_groups;
1: + long unsigned int s_sectors_written_start;
1: + u64 s_kbytes_written;
1: + unsigned int s_extent_max_zeroout_kb;
1: + unsigned int s_log_groups_per_flex;
1: + struct flex_groups *s_flex_groups;
1: + ext4_group_t s_flex_groups_allocated;
1: + struct workqueue_struct *rsv_conversion_wq;
1: + struct timer_list s_err_report;
1: + struct ext4_li_request *s_li_request;
1: + unsigned int s_li_wait_mult;
1: + struct task_struct___2 *s_mmp_tsk;
1: + atomic_t s_last_trim_minblks;
1: + struct crypto_shash *s_chksum_driver;
1: + __u32 s_csum_seed;
1: + struct shrinker s_es_shrinker;
1: + struct list_head s_es_list;
1: + long int s_es_nr_inode;
1: + struct ext4_es_stats s_es_stats;
1: + struct mb_cache___2 *s_ea_block_cache;
1: + struct mb_cache___2 *s_ea_inode_cache;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + spinlock_t s_es_lock;
1: + struct ratelimit_state s_err_ratelimit_state;
1: + struct ratelimit_state s_warning_ratelimit_state;
1: + struct ratelimit_state s_msg_ratelimit_state;
1: + struct percpu_rw_semaphore s_journal_flag_rwsem;
1: + struct dax_device *s_daxdev;
1: + long : 64;
1: };
1:
1: struct ext4_group_info {
1: - long unsigned int bb_state;
1: - struct rb_root bb_free_root;
1: - ext4_grpblk_t bb_first_free;
1: - ext4_grpblk_t bb_free;
1: - ext4_grpblk_t bb_fragments;
1: - ext4_grpblk_t bb_largest_free_order;
1: - struct list_head bb_prealloc_list;
1: - struct rw_semaphore alloc_sem;
1: - ext4_grpblk_t bb_counters[0];
1: + long unsigned int bb_state;
1: + struct rb_root bb_free_root;
1: + ext4_grpblk_t bb_first_free;
1: + ext4_grpblk_t bb_free;
1: + ext4_grpblk_t bb_fragments;
1: + ext4_grpblk_t bb_largest_free_order;
1: + struct list_head bb_prealloc_list;
1: + struct rw_semaphore alloc_sem;
1: + ext4_grpblk_t bb_counters[0];
1: };
1:
1: struct ext4_locality_group {
1: - struct mutex lg_mutex;
1: - struct list_head lg_prealloc_list[10];
1: - spinlock_t lg_prealloc_lock;
1: + struct mutex lg_mutex;
1: + struct list_head lg_prealloc_list[10];
1: + spinlock_t lg_prealloc_lock;
1: };
1:
1: struct ext4_li_request {
1: - struct super_block___2 *lr_super;
1: - struct ext4_sb_info *lr_sbi;
1: - ext4_group_t lr_next_group;
1: - struct list_head lr_request;
1: - long unsigned int lr_next_sched;
1: - long unsigned int lr_timeout;
1: + struct super_block___2 *lr_super;
1: + struct ext4_sb_info *lr_sbi;
1: + ext4_group_t lr_next_group;
1: + struct list_head lr_request;
1: + long unsigned int lr_next_sched;
1: + long unsigned int lr_timeout;
1: };
1:
1: struct shash_desc {
1: - struct crypto_shash *tfm;
1: - void *__ctx[0];
1: + struct crypto_shash *tfm;
1: + void *__ctx[0];
1: };
1:
1: struct ext4_map_blocks {
1: - ext4_fsblk_t m_pblk;
1: - ext4_lblk_t m_lblk;
1: - unsigned int m_len;
1: - unsigned int m_flags;
1: + ext4_fsblk_t m_pblk;
1: + ext4_lblk_t m_lblk;
1: + unsigned int m_len;
1: + unsigned int m_flags;
1: };
1:
1: typedef enum {
1: - EXT4_IGET_NORMAL = 0,
1: - EXT4_IGET_SPECIAL = 1,
1: - EXT4_IGET_HANDLE = 2,
1: + EXT4_IGET_NORMAL = 0,
1: + EXT4_IGET_SPECIAL = 1,
1: + EXT4_IGET_HANDLE = 2,
1: } ext4_iget_flags;
1:
1: struct ext4_system_zone {
1: - struct rb_node node;
1: - ext4_fsblk_t start_blk;
1: - unsigned int count;
1: + struct rb_node node;
1: + ext4_fsblk_t start_blk;
1: + unsigned int count;
1: };
1:
1: struct fscrypt_str {
1: - unsigned char *name;
1: - u32 len;
1: -};
1: -
1: -enum {
1: - EXT4_INODE_SECRM = 0,
1: - EXT4_INODE_UNRM = 1,
1: - EXT4_INODE_COMPR = 2,
1: - EXT4_INODE_SYNC = 3,
1: - EXT4_INODE_IMMUTABLE = 4,
1: - EXT4_INODE_APPEND = 5,
1: - EXT4_INODE_NODUMP = 6,
1: - EXT4_INODE_NOATIME = 7,
1: - EXT4_INODE_DIRTY = 8,
1: - EXT4_INODE_COMPRBLK = 9,
1: - EXT4_INODE_NOCOMPR = 10,
1: - EXT4_INODE_ENCRYPT = 11,
1: - EXT4_INODE_INDEX = 12,
1: - EXT4_INODE_IMAGIC = 13,
1: - EXT4_INODE_JOURNAL_DATA = 14,
1: - EXT4_INODE_NOTAIL = 15,
1: - EXT4_INODE_DIRSYNC = 16,
1: - EXT4_INODE_TOPDIR = 17,
1: - EXT4_INODE_HUGE_FILE = 18,
1: - EXT4_INODE_EXTENTS = 19,
1: - EXT4_INODE_VERITY = 20,
1: - EXT4_INODE_EA_INODE = 21,
1: - EXT4_INODE_EOFBLOCKS = 22,
1: - EXT4_INODE_INLINE_DATA = 28,
1: - EXT4_INODE_PROJINHERIT = 29,
1: - EXT4_INODE_RESERVED = 31,
1: + unsigned char *name;
1: + u32 len;
1: +};
1: +
1: +enum {
1: + EXT4_INODE_SECRM = 0,
1: + EXT4_INODE_UNRM = 1,
1: + EXT4_INODE_COMPR = 2,
1: + EXT4_INODE_SYNC = 3,
1: + EXT4_INODE_IMMUTABLE = 4,
1: + EXT4_INODE_APPEND = 5,
1: + EXT4_INODE_NODUMP = 6,
1: + EXT4_INODE_NOATIME = 7,
1: + EXT4_INODE_DIRTY = 8,
1: + EXT4_INODE_COMPRBLK = 9,
1: + EXT4_INODE_NOCOMPR = 10,
1: + EXT4_INODE_ENCRYPT = 11,
1: + EXT4_INODE_INDEX = 12,
1: + EXT4_INODE_IMAGIC = 13,
1: + EXT4_INODE_JOURNAL_DATA = 14,
1: + EXT4_INODE_NOTAIL = 15,
1: + EXT4_INODE_DIRSYNC = 16,
1: + EXT4_INODE_TOPDIR = 17,
1: + EXT4_INODE_HUGE_FILE = 18,
1: + EXT4_INODE_EXTENTS = 19,
1: + EXT4_INODE_VERITY = 20,
1: + EXT4_INODE_EA_INODE = 21,
1: + EXT4_INODE_EOFBLOCKS = 22,
1: + EXT4_INODE_INLINE_DATA = 28,
1: + EXT4_INODE_PROJINHERIT = 29,
1: + EXT4_INODE_RESERVED = 31,
1: };
1:
1: struct ext4_dir_entry_2 {
1: - __le32 inode;
1: - __le16 rec_len;
1: - __u8 name_len;
1: - __u8 file_type;
1: - char name[255];
1: + __le32 inode;
1: + __le16 rec_len;
1: + __u8 name_len;
1: + __u8 file_type;
1: + char name[255];
1: };
1:
1: struct fname;
1:
1: struct dir_private_info {
1: - struct rb_root root;
1: - struct rb_node *curr_node;
1: - struct fname *extra_fname;
1: - loff_t last_pos;
1: - __u32 curr_hash;
1: - __u32 curr_minor_hash;
1: - __u32 next_hash;
1: + struct rb_root root;
1: + struct rb_node *curr_node;
1: + struct fname *extra_fname;
1: + loff_t last_pos;
1: + __u32 curr_hash;
1: + __u32 curr_minor_hash;
1: + __u32 next_hash;
1: };
1:
1: struct fname {
1: - __u32 hash;
1: - __u32 minor_hash;
1: - struct rb_node rb_hash;
1: - struct fname *next;
1: - __u32 inode;
1: - __u8 name_len;
1: - __u8 file_type;
1: - char name[0];
1: + __u32 hash;
1: + __u32 minor_hash;
1: + struct rb_node rb_hash;
1: + struct fname *next;
1: + __u32 inode;
1: + __u8 name_len;
1: + __u8 file_type;
1: + char name[0];
1: };
1:
1: enum SHIFT_DIRECTION {
1: - SHIFT_LEFT = 0,
1: - SHIFT_RIGHT = 1,
1: + SHIFT_LEFT = 0,
1: + SHIFT_RIGHT = 1,
1: };
1:
1: struct ext4_io_end_vec {
1: - struct list_head list;
1: - loff_t offset;
1: - ssize_t size;
1: + struct list_head list;
1: + loff_t offset;
1: + ssize_t size;
1: };
1:
1: struct ext4_io_end {
1: - struct list_head list;
1: - handle_t *handle;
1: - struct inode___2 *inode;
1: - struct bio *bio;
1: - unsigned int flag;
1: - atomic_t count;
1: - struct list_head list_vec;
1: + struct list_head list;
1: + handle_t *handle;
1: + struct inode___2 *inode;
1: + struct bio *bio;
1: + unsigned int flag;
1: + atomic_t count;
1: + struct list_head list_vec;
1: };
1:
1: typedef struct ext4_io_end ext4_io_end_t;
1:
1: enum {
1: - ES_WRITTEN_B = 0,
1: - ES_UNWRITTEN_B = 1,
1: - ES_DELAYED_B = 2,
1: - ES_HOLE_B = 3,
1: - ES_REFERENCED_B = 4,
1: - ES_FLAGS = 5,
1: + ES_WRITTEN_B = 0,
1: + ES_UNWRITTEN_B = 1,
1: + ES_DELAYED_B = 2,
1: + ES_HOLE_B = 3,
1: + ES_REFERENCED_B = 4,
1: + ES_FLAGS = 5,
1: };
1:
1: enum {
1: - EXT4_STATE_JDATA = 0,
1: - EXT4_STATE_NEW = 1,
1: - EXT4_STATE_XATTR = 2,
1: - EXT4_STATE_NO_EXPAND = 3,
1: - EXT4_STATE_DA_ALLOC_CLOSE = 4,
1: - EXT4_STATE_EXT_MIGRATE = 5,
1: - EXT4_STATE_NEWENTRY = 6,
1: - EXT4_STATE_MAY_INLINE_DATA = 7,
1: - EXT4_STATE_EXT_PRECACHED = 8,
1: - EXT4_STATE_LUSTRE_EA_INODE = 9,
1: - EXT4_STATE_VERITY_IN_PROGRESS = 10,
1: + EXT4_STATE_JDATA = 0,
1: + EXT4_STATE_NEW = 1,
1: + EXT4_STATE_XATTR = 2,
1: + EXT4_STATE_NO_EXPAND = 3,
1: + EXT4_STATE_DA_ALLOC_CLOSE = 4,
1: + EXT4_STATE_EXT_MIGRATE = 5,
1: + EXT4_STATE_NEWENTRY = 6,
1: + EXT4_STATE_MAY_INLINE_DATA = 7,
1: + EXT4_STATE_EXT_PRECACHED = 8,
1: + EXT4_STATE_LUSTRE_EA_INODE = 9,
1: + EXT4_STATE_VERITY_IN_PROGRESS = 10,
1: };
1:
1: struct ext4_iloc {
1: - struct buffer_head *bh;
1: - long unsigned int offset;
1: - ext4_group_t block_group;
1: + struct buffer_head *bh;
1: + long unsigned int offset;
1: + ext4_group_t block_group;
1: };
1:
1: struct ext4_extent_tail {
1: - __le32 et_checksum;
1: + __le32 et_checksum;
1: };
1:
1: struct ext4_extent {
1: - __le32 ee_block;
1: - __le16 ee_len;
1: - __le16 ee_start_hi;
1: - __le32 ee_start_lo;
1: + __le32 ee_block;
1: + __le16 ee_len;
1: + __le16 ee_start_hi;
1: + __le32 ee_start_lo;
1: };
1:
1: struct ext4_extent_idx {
1: - __le32 ei_block;
1: - __le32 ei_leaf_lo;
1: - __le16 ei_leaf_hi;
1: - __u16 ei_unused;
1: + __le32 ei_block;
1: + __le32 ei_leaf_lo;
1: + __le16 ei_leaf_hi;
1: + __u16 ei_unused;
1: };
1:
1: struct ext4_extent_header {
1: - __le16 eh_magic;
1: - __le16 eh_entries;
1: - __le16 eh_max;
1: - __le16 eh_depth;
1: - __le32 eh_generation;
1: + __le16 eh_magic;
1: + __le16 eh_entries;
1: + __le16 eh_max;
1: + __le16 eh_depth;
1: + __le32 eh_generation;
1: };
1:
1: struct ext4_ext_path {
1: - ext4_fsblk_t p_block;
1: - __u16 p_depth;
1: - __u16 p_maxdepth;
1: - struct ext4_extent *p_ext;
1: - struct ext4_extent_idx *p_idx;
1: - struct ext4_extent_header *p_hdr;
1: - struct buffer_head *p_bh;
1: + ext4_fsblk_t p_block;
1: + __u16 p_depth;
1: + __u16 p_maxdepth;
1: + struct ext4_extent *p_ext;
1: + struct ext4_extent_idx *p_idx;
1: + struct ext4_extent_header *p_hdr;
1: + struct buffer_head *p_bh;
1: };
1:
1: struct partial_cluster {
1: - ext4_fsblk_t pclu;
1: - ext4_lblk_t lblk;
1: - enum {
1: - initial = 0,
1: - tofree = 1,
1: - nofree = 2,
1: - } state;
1: + ext4_fsblk_t pclu;
1: + ext4_lblk_t lblk;
1: + enum {
1: + initial = 0,
1: + tofree = 1,
1: + nofree = 2,
1: + } state;
1: };
1:
1: struct pending_reservation {
1: - struct rb_node rb_node;
1: - ext4_lblk_t lclu;
1: + struct rb_node rb_node;
1: + ext4_lblk_t lclu;
1: };
1:
1: struct rsvd_count {
1: - int ndelonly;
1: - bool first_do_lblk_found;
1: - ext4_lblk_t first_do_lblk;
1: - ext4_lblk_t last_do_lblk;
1: - struct extent_status *left_es;
1: - bool partial;
1: - ext4_lblk_t lclu;
1: + int ndelonly;
1: + bool first_do_lblk_found;
1: + ext4_lblk_t first_do_lblk;
1: + ext4_lblk_t last_do_lblk;
1: + struct extent_status *left_es;
1: + bool partial;
1: + ext4_lblk_t lclu;
1: };
1:
1: struct fsverity_info;
1:
1: struct fsmap {
1: - __u32 fmr_device;
1: - __u32 fmr_flags;
1: - __u64 fmr_physical;
1: - __u64 fmr_owner;
1: - __u64 fmr_offset;
1: - __u64 fmr_length;
1: - __u64 fmr_reserved[3];
1: + __u32 fmr_device;
1: + __u32 fmr_flags;
1: + __u64 fmr_physical;
1: + __u64 fmr_owner;
1: + __u64 fmr_offset;
1: + __u64 fmr_length;
1: + __u64 fmr_reserved[3];
1: };
1:
1: struct ext4_fsmap {
1: - struct list_head fmr_list;
1: - dev_t fmr_device;
1: - uint32_t fmr_flags;
1: - uint64_t fmr_physical;
1: - uint64_t fmr_owner;
1: - uint64_t fmr_length;
1: + struct list_head fmr_list;
1: + dev_t fmr_device;
1: + uint32_t fmr_flags;
1: + uint64_t fmr_physical;
1: + uint64_t fmr_owner;
1: + uint64_t fmr_length;
1: };
1:
1: struct ext4_fsmap_head {
1: - uint32_t fmh_iflags;
1: - uint32_t fmh_oflags;
1: - unsigned int fmh_count;
1: - unsigned int fmh_entries;
1: - struct ext4_fsmap fmh_keys[2];
1: + uint32_t fmh_iflags;
1: + uint32_t fmh_oflags;
1: + unsigned int fmh_count;
1: + unsigned int fmh_entries;
1: + struct ext4_fsmap fmh_keys[2];
1: };
1:
1: typedef int (*ext4_fsmap_format_t)(struct ext4_fsmap *, void *);
1:
1: -typedef int (*ext4_mballoc_query_range_fn)(struct super_block___2 *, ext4_group_t, ext4_grpblk_t, ext4_grpblk_t, void *);
1: +typedef int (*ext4_mballoc_query_range_fn)(struct super_block___2 *,
1: + ext4_group_t, ext4_grpblk_t,
1: + ext4_grpblk_t, void *);
1:
1: struct ext4_getfsmap_info {
1: - struct ext4_fsmap_head *gfi_head;
1: - ext4_fsmap_format_t gfi_formatter;
1: - void *gfi_format_arg;
1: - ext4_fsblk_t gfi_next_fsblk;
1: - u32 gfi_dev;
1: - ext4_group_t gfi_agno;
1: - struct ext4_fsmap gfi_low;
1: - struct ext4_fsmap gfi_high;
1: - struct ext4_fsmap gfi_lastfree;
1: - struct list_head gfi_meta_list;
1: - bool gfi_last;
1: + struct ext4_fsmap_head *gfi_head;
1: + ext4_fsmap_format_t gfi_formatter;
1: + void *gfi_format_arg;
1: + ext4_fsblk_t gfi_next_fsblk;
1: + u32 gfi_dev;
1: + ext4_group_t gfi_agno;
1: + struct ext4_fsmap gfi_low;
1: + struct ext4_fsmap gfi_high;
1: + struct ext4_fsmap gfi_lastfree;
1: + struct list_head gfi_meta_list;
1: + bool gfi_last;
1: };
1:
1: struct ext4_getfsmap_dev {
1: - int (*gfd_fn)(struct super_block___2 *, struct ext4_fsmap *, struct ext4_getfsmap_info *);
1: - u32 gfd_dev;
1: + int (*gfd_fn)(struct super_block___2 *, struct ext4_fsmap *,
1: + struct ext4_getfsmap_info *);
1: + u32 gfd_dev;
1: };
1:
1: struct dx_hash_info {
1: - u32 hash;
1: - u32 minor_hash;
1: - int hash_version;
1: - u32 *seed;
1: + u32 hash;
1: + u32 minor_hash;
1: + int hash_version;
1: + u32 *seed;
1: };
1:
1: struct ext4_inode {
1: - __le16 i_mode;
1: - __le16 i_uid;
1: - __le32 i_size_lo;
1: - __le32 i_atime;
1: - __le32 i_ctime;
1: - __le32 i_mtime;
1: - __le32 i_dtime;
1: - __le16 i_gid;
1: - __le16 i_links_count;
1: - __le32 i_blocks_lo;
1: - __le32 i_flags;
1: - union {
1: - struct {
1: - __le32 l_i_version;
1: - } linux1;
1: - struct {
1: - __u32 h_i_translator;
1: - } hurd1;
1: - struct {
1: - __u32 m_i_reserved1;
1: - } masix1;
1: - } osd1;
1: - __le32 i_block[15];
1: - __le32 i_generation;
1: - __le32 i_file_acl_lo;
1: - __le32 i_size_high;
1: - __le32 i_obso_faddr;
1: - union {
1: - struct {
1: - __le16 l_i_blocks_high;
1: - __le16 l_i_file_acl_high;
1: - __le16 l_i_uid_high;
1: - __le16 l_i_gid_high;
1: - __le16 l_i_checksum_lo;
1: - __le16 l_i_reserved;
1: - } linux2;
1: - struct {
1: - __le16 h_i_reserved1;
1: - __u16 h_i_mode_high;
1: - __u16 h_i_uid_high;
1: - __u16 h_i_gid_high;
1: - __u32 h_i_author;
1: - } hurd2;
1: - struct {
1: - __le16 h_i_reserved1;
1: - __le16 m_i_file_acl_high;
1: - __u32 m_i_reserved2[2];
1: - } masix2;
1: - } osd2;
1: - __le16 i_extra_isize;
1: - __le16 i_checksum_hi;
1: - __le32 i_ctime_extra;
1: - __le32 i_mtime_extra;
1: - __le32 i_atime_extra;
1: - __le32 i_crtime;
1: - __le32 i_crtime_extra;
1: - __le32 i_version_hi;
1: - __le32 i_projid;
1: + __le16 i_mode;
1: + __le16 i_uid;
1: + __le32 i_size_lo;
1: + __le32 i_atime;
1: + __le32 i_ctime;
1: + __le32 i_mtime;
1: + __le32 i_dtime;
1: + __le16 i_gid;
1: + __le16 i_links_count;
1: + __le32 i_blocks_lo;
1: + __le32 i_flags;
1: + union {
1: + struct {
1: + __le32 l_i_version;
1: + } linux1;
1: + struct {
1: + __u32 h_i_translator;
1: + } hurd1;
1: + struct {
1: + __u32 m_i_reserved1;
1: + } masix1;
1: + } osd1;
1: + __le32 i_block[15];
1: + __le32 i_generation;
1: + __le32 i_file_acl_lo;
1: + __le32 i_size_high;
1: + __le32 i_obso_faddr;
1: + union {
1: + struct {
1: + __le16 l_i_blocks_high;
1: + __le16 l_i_file_acl_high;
1: + __le16 l_i_uid_high;
1: + __le16 l_i_gid_high;
1: + __le16 l_i_checksum_lo;
1: + __le16 l_i_reserved;
1: + } linux2;
1: + struct {
1: + __le16 h_i_reserved1;
1: + __u16 h_i_mode_high;
1: + __u16 h_i_uid_high;
1: + __u16 h_i_gid_high;
1: + __u32 h_i_author;
1: + } hurd2;
1: + struct {
1: + __le16 h_i_reserved1;
1: + __le16 m_i_file_acl_high;
1: + __u32 m_i_reserved2[2];
1: + } masix2;
1: + } osd2;
1: + __le16 i_extra_isize;
1: + __le16 i_checksum_hi;
1: + __le32 i_ctime_extra;
1: + __le32 i_mtime_extra;
1: + __le32 i_atime_extra;
1: + __le32 i_crtime;
1: + __le32 i_crtime_extra;
1: + __le32 i_version_hi;
1: + __le32 i_projid;
1: };
1:
1: struct orlov_stats {
1: - __u64 free_clusters;
1: - __u32 free_inodes;
1: - __u32 used_dirs;
1: + __u64 free_clusters;
1: + __u32 free_inodes;
1: + __u32 used_dirs;
1: };
1:
1: typedef struct {
1: - __le32 *p;
1: - __le32 key;
1: - struct buffer_head *bh;
1: + __le32 *p;
1: + __le32 key;
1: + struct buffer_head *bh;
1: } Indirect;
1:
1: struct ext4_filename {
1: - const struct qstr *usr_fname;
1: - struct fscrypt_str disk_name;
1: - struct dx_hash_info hinfo;
1: + const struct qstr *usr_fname;
1: + struct fscrypt_str disk_name;
1: + struct dx_hash_info hinfo;
1: };
1:
1: struct ext4_xattr_ibody_header {
1: - __le32 h_magic;
1: + __le32 h_magic;
1: };
1:
1: struct ext4_xattr_entry {
1: - __u8 e_name_len;
1: - __u8 e_name_index;
1: - __le16 e_value_offs;
1: - __le32 e_value_inum;
1: - __le32 e_value_size;
1: - __le32 e_hash;
1: - char e_name[0];
1: + __u8 e_name_len;
1: + __u8 e_name_index;
1: + __le16 e_value_offs;
1: + __le32 e_value_inum;
1: + __le32 e_value_size;
1: + __le32 e_hash;
1: + char e_name[0];
1: };
1:
1: struct ext4_xattr_info {
1: - const char *name;
1: - const void *value;
1: - size_t value_len;
1: - int name_index;
1: - int in_inode;
1: + const char *name;
1: + const void *value;
1: + size_t value_len;
1: + int name_index;
1: + int in_inode;
1: };
1:
1: struct ext4_xattr_search {
1: - struct ext4_xattr_entry *first;
1: - void *base;
1: - void *end;
1: - struct ext4_xattr_entry *here;
1: - int not_found;
1: + struct ext4_xattr_entry *first;
1: + void *base;
1: + void *end;
1: + struct ext4_xattr_entry *here;
1: + int not_found;
1: };
1:
1: struct ext4_xattr_ibody_find {
1: - struct ext4_xattr_search s;
1: - struct ext4_iloc iloc;
1: + struct ext4_xattr_search s;
1: + struct ext4_iloc iloc;
1: };
1:
1: typedef short unsigned int __kernel_uid16_t;
1: @@ -41923,1174 +42271,1175 @@ typedef __kernel_uid16_t uid16_t;
1: typedef __kernel_gid16_t gid16_t;
1:
1: struct ext4_io_submit {
1: - struct writeback_control *io_wbc;
1: - struct bio *io_bio;
1: - ext4_io_end_t *io_end;
1: - sector_t io_next_block;
1: + struct writeback_control *io_wbc;
1: + struct bio *io_bio;
1: + ext4_io_end_t *io_end;
1: + sector_t io_next_block;
1: };
1:
1: struct ext4_xattr_inode_array {
1: - unsigned int count;
1: - struct inode___2 *inodes[0];
1: + unsigned int count;
1: + struct inode___2 *inodes[0];
1: };
1:
1: struct mpage_da_data {
1: - struct inode___2 *inode;
1: - struct writeback_control *wbc;
1: - long unsigned int first_page;
1: - long unsigned int next_page;
1: - long unsigned int last_page;
1: - struct ext4_map_blocks map;
1: - struct ext4_io_submit io_submit;
1: - unsigned int do_map: 1;
1: + struct inode___2 *inode;
1: + struct writeback_control *wbc;
1: + long unsigned int first_page;
1: + long unsigned int next_page;
1: + long unsigned int last_page;
1: + struct ext4_map_blocks map;
1: + struct ext4_io_submit io_submit;
1: + unsigned int do_map : 1;
1: };
1:
1: struct other_inode {
1: - long unsigned int orig_ino;
1: - struct ext4_inode *raw_inode;
1: + long unsigned int orig_ino;
1: + struct ext4_inode *raw_inode;
1: };
1:
1: struct fstrim_range {
1: - __u64 start;
1: - __u64 len;
1: - __u64 minlen;
1: + __u64 start;
1: + __u64 len;
1: + __u64 minlen;
1: };
1:
1: struct ext4_new_group_input {
1: - __u32 group;
1: - __u64 block_bitmap;
1: - __u64 inode_bitmap;
1: - __u64 inode_table;
1: - __u32 blocks_count;
1: - __u16 reserved_blocks;
1: - __u16 unused;
1: + __u32 group;
1: + __u64 block_bitmap;
1: + __u64 inode_bitmap;
1: + __u64 inode_table;
1: + __u32 blocks_count;
1: + __u16 reserved_blocks;
1: + __u16 unused;
1: };
1:
1: struct compat_ext4_new_group_input {
1: - u32 group;
1: - compat_u64 block_bitmap;
1: - compat_u64 inode_bitmap;
1: - compat_u64 inode_table;
1: - u32 blocks_count;
1: - u16 reserved_blocks;
1: - u16 unused;
1: + u32 group;
1: + compat_u64 block_bitmap;
1: + compat_u64 inode_bitmap;
1: + compat_u64 inode_table;
1: + u32 blocks_count;
1: + u16 reserved_blocks;
1: + u16 unused;
1: } __attribute__((packed));
1:
1: struct ext4_new_group_data {
1: - __u32 group;
1: - __u64 block_bitmap;
1: - __u64 inode_bitmap;
1: - __u64 inode_table;
1: - __u32 blocks_count;
1: - __u16 reserved_blocks;
1: - __u16 mdata_blocks;
1: - __u32 free_clusters_count;
1: + __u32 group;
1: + __u64 block_bitmap;
1: + __u64 inode_bitmap;
1: + __u64 inode_table;
1: + __u32 blocks_count;
1: + __u16 reserved_blocks;
1: + __u16 mdata_blocks;
1: + __u32 free_clusters_count;
1: };
1:
1: struct move_extent {
1: - __u32 reserved;
1: - __u32 donor_fd;
1: - __u64 orig_start;
1: - __u64 donor_start;
1: - __u64 len;
1: - __u64 moved_len;
1: + __u32 reserved;
1: + __u32 donor_fd;
1: + __u64 orig_start;
1: + __u64 donor_start;
1: + __u64 len;
1: + __u64 moved_len;
1: };
1:
1: struct fsmap_head {
1: - __u32 fmh_iflags;
1: - __u32 fmh_oflags;
1: - __u32 fmh_count;
1: - __u32 fmh_entries;
1: - __u64 fmh_reserved[6];
1: - struct fsmap fmh_keys[2];
1: - struct fsmap fmh_recs[0];
1: + __u32 fmh_iflags;
1: + __u32 fmh_oflags;
1: + __u32 fmh_count;
1: + __u32 fmh_entries;
1: + __u64 fmh_reserved[6];
1: + struct fsmap fmh_keys[2];
1: + struct fsmap fmh_recs[0];
1: };
1:
1: struct getfsmap_info {
1: - struct super_block___2 *gi_sb;
1: - struct fsmap_head *gi_data;
1: - unsigned int gi_idx;
1: - __u32 gi_last_flags;
1: + struct super_block___2 *gi_sb;
1: + struct fsmap_head *gi_data;
1: + unsigned int gi_idx;
1: + __u32 gi_last_flags;
1: };
1:
1: struct ext4_free_data {
1: - struct list_head efd_list;
1: - struct rb_node efd_node;
1: - ext4_group_t efd_group;
1: - ext4_grpblk_t efd_start_cluster;
1: - ext4_grpblk_t efd_count;
1: - tid_t efd_tid;
1: + struct list_head efd_list;
1: + struct rb_node efd_node;
1: + ext4_group_t efd_group;
1: + ext4_grpblk_t efd_start_cluster;
1: + ext4_grpblk_t efd_count;
1: + tid_t efd_tid;
1: };
1:
1: struct ext4_prealloc_space {
1: - struct list_head pa_inode_list;
1: - struct list_head pa_group_list;
1: - union {
1: - struct list_head pa_tmp_list;
1: - struct callback_head pa_rcu;
1: - } u;
1: - spinlock_t pa_lock;
1: - atomic_t pa_count;
1: - unsigned int pa_deleted;
1: - ext4_fsblk_t pa_pstart;
1: - ext4_lblk_t pa_lstart;
1: - ext4_grpblk_t pa_len;
1: - ext4_grpblk_t pa_free;
1: - short unsigned int pa_type;
1: - spinlock_t *pa_obj_lock;
1: - struct inode___2 *pa_inode;
1: + struct list_head pa_inode_list;
1: + struct list_head pa_group_list;
1: + union {
1: + struct list_head pa_tmp_list;
1: + struct callback_head pa_rcu;
1: + } u;
1: + spinlock_t pa_lock;
1: + atomic_t pa_count;
1: + unsigned int pa_deleted;
1: + ext4_fsblk_t pa_pstart;
1: + ext4_lblk_t pa_lstart;
1: + ext4_grpblk_t pa_len;
1: + ext4_grpblk_t pa_free;
1: + short unsigned int pa_type;
1: + spinlock_t *pa_obj_lock;
1: + struct inode___2 *pa_inode;
1: };
1:
1: enum {
1: - MB_INODE_PA = 0,
1: - MB_GROUP_PA = 1,
1: + MB_INODE_PA = 0,
1: + MB_GROUP_PA = 1,
1: };
1:
1: struct ext4_free_extent {
1: - ext4_lblk_t fe_logical;
1: - ext4_grpblk_t fe_start;
1: - ext4_group_t fe_group;
1: - ext4_grpblk_t fe_len;
1: + ext4_lblk_t fe_logical;
1: + ext4_grpblk_t fe_start;
1: + ext4_group_t fe_group;
1: + ext4_grpblk_t fe_len;
1: };
1:
1: struct ext4_allocation_context {
1: - struct inode___2 *ac_inode;
1: - struct super_block___2 *ac_sb;
1: - struct ext4_free_extent ac_o_ex;
1: - struct ext4_free_extent ac_g_ex;
1: - struct ext4_free_extent ac_b_ex;
1: - struct ext4_free_extent ac_f_ex;
1: - __u16 ac_groups_scanned;
1: - __u16 ac_found;
1: - __u16 ac_tail;
1: - __u16 ac_buddy;
1: - __u16 ac_flags;
1: - __u8 ac_status;
1: - __u8 ac_criteria;
1: - __u8 ac_2order;
1: - __u8 ac_op;
1: - struct page___2 *ac_bitmap_page;
1: - struct page___2 *ac_buddy_page;
1: - struct ext4_prealloc_space *ac_pa;
1: - struct ext4_locality_group *ac_lg;
1: + struct inode___2 *ac_inode;
1: + struct super_block___2 *ac_sb;
1: + struct ext4_free_extent ac_o_ex;
1: + struct ext4_free_extent ac_g_ex;
1: + struct ext4_free_extent ac_b_ex;
1: + struct ext4_free_extent ac_f_ex;
1: + __u16 ac_groups_scanned;
1: + __u16 ac_found;
1: + __u16 ac_tail;
1: + __u16 ac_buddy;
1: + __u16 ac_flags;
1: + __u8 ac_status;
1: + __u8 ac_criteria;
1: + __u8 ac_2order;
1: + __u8 ac_op;
1: + struct page___2 *ac_bitmap_page;
1: + struct page___2 *ac_buddy_page;
1: + struct ext4_prealloc_space *ac_pa;
1: + struct ext4_locality_group *ac_lg;
1: };
1:
1: struct ext4_buddy {
1: - struct page___2 *bd_buddy_page;
1: - void *bd_buddy;
1: - struct page___2 *bd_bitmap_page;
1: - void *bd_bitmap;
1: - struct ext4_group_info *bd_info;
1: - struct super_block___2 *bd_sb;
1: - __u16 bd_blkbits;
1: - ext4_group_t bd_group;
1: + struct page___2 *bd_buddy_page;
1: + void *bd_buddy;
1: + struct page___2 *bd_bitmap_page;
1: + void *bd_bitmap;
1: + struct ext4_group_info *bd_info;
1: + struct super_block___2 *bd_sb;
1: + __u16 bd_blkbits;
1: + ext4_group_t bd_group;
1: };
1:
1: struct sg {
1: - struct ext4_group_info info;
1: - ext4_grpblk_t counters[18];
1: + struct ext4_group_info info;
1: + ext4_grpblk_t counters[18];
1: };
1:
1: struct migrate_struct {
1: - ext4_lblk_t first_block;
1: - ext4_lblk_t last_block;
1: - ext4_lblk_t curr_block;
1: - ext4_fsblk_t first_pblock;
1: - ext4_fsblk_t last_pblock;
1: + ext4_lblk_t first_block;
1: + ext4_lblk_t last_block;
1: + ext4_lblk_t curr_block;
1: + ext4_fsblk_t first_pblock;
1: + ext4_fsblk_t last_pblock;
1: };
1:
1: struct mmp_struct {
1: - __le32 mmp_magic;
1: - __le32 mmp_seq;
1: - __le64 mmp_time;
1: - char mmp_nodename[64];
1: - char mmp_bdevname[32];
1: - __le16 mmp_check_interval;
1: - __le16 mmp_pad1;
1: - __le32 mmp_pad2[226];
1: - __le32 mmp_checksum;
1: + __le32 mmp_magic;
1: + __le32 mmp_seq;
1: + __le64 mmp_time;
1: + char mmp_nodename[64];
1: + char mmp_bdevname[32];
1: + __le16 mmp_check_interval;
1: + __le16 mmp_pad1;
1: + __le32 mmp_pad2[226];
1: + __le32 mmp_checksum;
1: };
1:
1: struct mmpd_data {
1: - struct buffer_head *bh;
1: - struct super_block___2 *sb;
1: + struct buffer_head *bh;
1: + struct super_block___2 *sb;
1: };
1:
1: struct fscrypt_name {
1: - const struct qstr *usr_fname;
1: - struct fscrypt_str disk_name;
1: - u32 hash;
1: - u32 minor_hash;
1: - struct fscrypt_str crypto_buf;
1: - bool is_ciphertext_name;
1: + const struct qstr *usr_fname;
1: + struct fscrypt_str disk_name;
1: + u32 hash;
1: + u32 minor_hash;
1: + struct fscrypt_str crypto_buf;
1: + bool is_ciphertext_name;
1: };
1:
1: struct ext4_dir_entry {
1: - __le32 inode;
1: - __le16 rec_len;
1: - __le16 name_len;
1: - char name[255];
1: + __le32 inode;
1: + __le16 rec_len;
1: + __le16 name_len;
1: + char name[255];
1: };
1:
1: struct ext4_dir_entry_tail {
1: - __le32 det_reserved_zero1;
1: - __le16 det_rec_len;
1: - __u8 det_reserved_zero2;
1: - __u8 det_reserved_ft;
1: - __le32 det_checksum;
1: + __le32 det_reserved_zero1;
1: + __le16 det_rec_len;
1: + __u8 det_reserved_zero2;
1: + __u8 det_reserved_ft;
1: + __le32 det_checksum;
1: };
1:
1: typedef enum {
1: - EITHER = 0,
1: - INDEX = 1,
1: - DIRENT = 2,
1: - DIRENT_HTREE = 3,
1: + EITHER = 0,
1: + INDEX = 1,
1: + DIRENT = 2,
1: + DIRENT_HTREE = 3,
1: } dirblock_type_t;
1:
1: struct fake_dirent {
1: - __le32 inode;
1: - __le16 rec_len;
1: - u8 name_len;
1: - u8 file_type;
1: + __le32 inode;
1: + __le16 rec_len;
1: + u8 name_len;
1: + u8 file_type;
1: };
1:
1: struct dx_countlimit {
1: - __le16 limit;
1: - __le16 count;
1: + __le16 limit;
1: + __le16 count;
1: };
1:
1: struct dx_entry {
1: - __le32 hash;
1: - __le32 block;
1: + __le32 hash;
1: + __le32 block;
1: };
1:
1: struct dx_root_info {
1: - __le32 reserved_zero;
1: - u8 hash_version;
1: - u8 info_length;
1: - u8 indirect_levels;
1: - u8 unused_flags;
1: + __le32 reserved_zero;
1: + u8 hash_version;
1: + u8 info_length;
1: + u8 indirect_levels;
1: + u8 unused_flags;
1: };
1:
1: struct dx_root {
1: - struct fake_dirent dot;
1: - char dot_name[4];
1: - struct fake_dirent dotdot;
1: - char dotdot_name[4];
1: - struct dx_root_info info;
1: - struct dx_entry entries[0];
1: + struct fake_dirent dot;
1: + char dot_name[4];
1: + struct fake_dirent dotdot;
1: + char dotdot_name[4];
1: + struct dx_root_info info;
1: + struct dx_entry entries[0];
1: };
1:
1: struct dx_node {
1: - struct fake_dirent fake;
1: - struct dx_entry entries[0];
1: + struct fake_dirent fake;
1: + struct dx_entry entries[0];
1: };
1:
1: struct dx_frame {
1: - struct buffer_head *bh;
1: - struct dx_entry *entries;
1: - struct dx_entry *at;
1: + struct buffer_head *bh;
1: + struct dx_entry *entries;
1: + struct dx_entry *at;
1: };
1:
1: struct dx_map_entry {
1: - u32 hash;
1: - u16 offs;
1: - u16 size;
1: + u32 hash;
1: + u16 offs;
1: + u16 size;
1: };
1:
1: struct dx_tail {
1: - u32 dt_reserved;
1: - __le32 dt_checksum;
1: + u32 dt_reserved;
1: + __le32 dt_checksum;
1: };
1:
1: struct ext4_renament {
1: - struct inode___2 *dir;
1: - struct dentry___2 *dentry;
1: - struct inode___2 *inode;
1: - bool is_dir;
1: - int dir_nlink_delta;
1: - struct buffer_head *bh;
1: - struct ext4_dir_entry_2 *de;
1: - int inlined;
1: - struct buffer_head *dir_bh;
1: - struct ext4_dir_entry_2 *parent_de;
1: - int dir_inlined;
1: + struct inode___2 *dir;
1: + struct dentry___2 *dentry;
1: + struct inode___2 *inode;
1: + bool is_dir;
1: + int dir_nlink_delta;
1: + struct buffer_head *bh;
1: + struct ext4_dir_entry_2 *de;
1: + int inlined;
1: + struct buffer_head *dir_bh;
1: + struct ext4_dir_entry_2 *parent_de;
1: + int dir_inlined;
1: };
1:
1: enum bio_post_read_step {
1: - STEP_INITIAL = 0,
1: - STEP_DECRYPT = 1,
1: - STEP_VERITY = 2,
1: + STEP_INITIAL = 0,
1: + STEP_DECRYPT = 1,
1: + STEP_VERITY = 2,
1: };
1:
1: struct bio_post_read_ctx {
1: - struct bio *bio;
1: - struct work_struct work;
1: - unsigned int cur_step;
1: - unsigned int enabled_steps;
1: + struct bio *bio;
1: + struct work_struct work;
1: + unsigned int cur_step;
1: + unsigned int enabled_steps;
1: };
1:
1: enum {
1: - BLOCK_BITMAP = 0,
1: - INODE_BITMAP = 1,
1: - INODE_TABLE = 2,
1: - GROUP_TABLE_COUNT = 3,
1: + BLOCK_BITMAP = 0,
1: + INODE_BITMAP = 1,
1: + INODE_TABLE = 2,
1: + GROUP_TABLE_COUNT = 3,
1: };
1:
1: struct ext4_new_flex_group_data {
1: - struct ext4_new_group_data *groups;
1: - __u16 *bg_flags;
1: - ext4_group_t count;
1: + struct ext4_new_group_data *groups;
1: + __u16 *bg_flags;
1: + ext4_group_t count;
1: };
1:
1: enum {
1: - I_DATA_SEM_NORMAL = 0,
1: - I_DATA_SEM_OTHER = 1,
1: - I_DATA_SEM_QUOTA = 2,
1: + I_DATA_SEM_NORMAL = 0,
1: + I_DATA_SEM_OTHER = 1,
1: + I_DATA_SEM_QUOTA = 2,
1: };
1:
1: struct ext4_lazy_init {
1: - long unsigned int li_state;
1: - struct list_head li_request_list;
1: - struct mutex li_list_mtx;
1: + long unsigned int li_state;
1: + struct list_head li_request_list;
1: + struct mutex li_list_mtx;
1: };
1:
1: struct ext4_journal_cb_entry {
1: - struct list_head jce_list;
1: - void (*jce_func)(struct super_block___2 *, struct ext4_journal_cb_entry *, int);
1: + struct list_head jce_list;
1: + void (*jce_func)(struct super_block___2 *, struct ext4_journal_cb_entry *,
1: + int);
1: };
1:
1: struct trace_event_raw_ext4_other_inode_update_time {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ino_t orig_ino;
1: - uid_t uid;
1: - gid_t gid;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ino_t orig_ino;
1: + uid_t uid;
1: + gid_t gid;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_free_inode {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - uid_t uid;
1: - gid_t gid;
1: - __u64 blocks;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + uid_t uid;
1: + gid_t gid;
1: + __u64 blocks;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_request_inode {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t dir;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t dir;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_allocate_inode {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ino_t dir;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ino_t dir;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_evict_inode {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - int nlink;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int nlink;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_drop_inode {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - int drop;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int drop;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_nfs_commit_metadata {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_mark_inode_dirty {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - long unsigned int ip;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int ip;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_begin_ordered_truncate {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t new_size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t new_size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__write_begin {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t pos;
1: - unsigned int len;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + unsigned int len;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__write_end {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t pos;
1: - unsigned int len;
1: - unsigned int copied;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + unsigned int len;
1: + unsigned int copied;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_writepages {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - long int nr_to_write;
1: - long int pages_skipped;
1: - loff_t range_start;
1: - loff_t range_end;
1: - long unsigned int writeback_index;
1: - int sync_mode;
1: - char for_kupdate;
1: - char range_cyclic;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long int nr_to_write;
1: + long int pages_skipped;
1: + loff_t range_start;
1: + loff_t range_end;
1: + long unsigned int writeback_index;
1: + int sync_mode;
1: + char for_kupdate;
1: + char range_cyclic;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_da_write_pages {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - long unsigned int first_page;
1: - long int nr_to_write;
1: - int sync_mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int first_page;
1: + long int nr_to_write;
1: + int sync_mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_da_write_pages_extent {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 lblk;
1: - __u32 len;
1: - __u32 flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 lblk;
1: + __u32 len;
1: + __u32 flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_writepages_result {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - int ret;
1: - int pages_written;
1: - long int pages_skipped;
1: - long unsigned int writeback_index;
1: - int sync_mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int ret;
1: + int pages_written;
1: + long int pages_skipped;
1: + long unsigned int writeback_index;
1: + int sync_mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__page_op {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - long unsigned int index;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int index;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_invalidatepage_op {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - long unsigned int index;
1: - unsigned int offset;
1: - unsigned int length;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + long unsigned int index;
1: + unsigned int offset;
1: + unsigned int length;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_discard_blocks {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - __u64 blk;
1: - __u64 count;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + __u64 blk;
1: + __u64 count;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__mb_new_pa {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 pa_pstart;
1: - __u64 pa_lstart;
1: - __u32 pa_len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 pa_pstart;
1: + __u64 pa_lstart;
1: + __u32 pa_len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_mb_release_inode_pa {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 block;
1: - __u32 count;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 block;
1: + __u32 count;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_mb_release_group_pa {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - __u64 pa_pstart;
1: - __u32 pa_len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + __u64 pa_pstart;
1: + __u32 pa_len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_discard_preallocations {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_mb_discard_preallocations {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - int needed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int needed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_request_blocks {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - unsigned int len;
1: - __u32 logical;
1: - __u32 lleft;
1: - __u32 lright;
1: - __u64 goal;
1: - __u64 pleft;
1: - __u64 pright;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + unsigned int len;
1: + __u32 logical;
1: + __u32 lleft;
1: + __u32 lright;
1: + __u64 goal;
1: + __u64 pleft;
1: + __u64 pright;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_allocate_blocks {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 block;
1: - unsigned int len;
1: - __u32 logical;
1: - __u32 lleft;
1: - __u32 lright;
1: - __u64 goal;
1: - __u64 pleft;
1: - __u64 pright;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 block;
1: + unsigned int len;
1: + __u32 logical;
1: + __u32 lleft;
1: + __u32 lright;
1: + __u64 goal;
1: + __u64 pleft;
1: + __u64 pright;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_free_blocks {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 block;
1: - long unsigned int count;
1: - int flags;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 block;
1: + long unsigned int count;
1: + int flags;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_sync_file_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ino_t parent;
1: - int datasync;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ino_t parent;
1: + int datasync;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_sync_file_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_sync_fs {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - int wait;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int wait;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_alloc_da_blocks {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - unsigned int data_blocks;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + unsigned int data_blocks;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_mballoc_alloc {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u32 orig_logical;
1: - int orig_start;
1: - __u32 orig_group;
1: - int orig_len;
1: - __u32 goal_logical;
1: - int goal_start;
1: - __u32 goal_group;
1: - int goal_len;
1: - __u32 result_logical;
1: - int result_start;
1: - __u32 result_group;
1: - int result_len;
1: - __u16 found;
1: - __u16 groups;
1: - __u16 buddy;
1: - __u16 flags;
1: - __u16 tail;
1: - __u8 cr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u32 orig_logical;
1: + int orig_start;
1: + __u32 orig_group;
1: + int orig_len;
1: + __u32 goal_logical;
1: + int goal_start;
1: + __u32 goal_group;
1: + int goal_len;
1: + __u32 result_logical;
1: + int result_start;
1: + __u32 result_group;
1: + int result_len;
1: + __u16 found;
1: + __u16 groups;
1: + __u16 buddy;
1: + __u16 flags;
1: + __u16 tail;
1: + __u8 cr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_mballoc_prealloc {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u32 orig_logical;
1: - int orig_start;
1: - __u32 orig_group;
1: - int orig_len;
1: - __u32 result_logical;
1: - int result_start;
1: - __u32 result_group;
1: - int result_len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u32 orig_logical;
1: + int orig_start;
1: + __u32 orig_group;
1: + int orig_len;
1: + __u32 result_logical;
1: + int result_start;
1: + __u32 result_group;
1: + int result_len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__mballoc {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - int result_start;
1: - __u32 result_group;
1: - int result_len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int result_start;
1: + __u32 result_group;
1: + int result_len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_forget {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 block;
1: - int is_metadata;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 block;
1: + int is_metadata;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_da_update_reserve_space {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 i_blocks;
1: - int used_blocks;
1: - int reserved_data_blocks;
1: - int quota_claim;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 i_blocks;
1: + int used_blocks;
1: + int reserved_data_blocks;
1: + int quota_claim;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_da_reserve_space {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 i_blocks;
1: - int reserved_data_blocks;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 i_blocks;
1: + int reserved_data_blocks;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_da_release_space {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 i_blocks;
1: - int freed_blocks;
1: - int reserved_data_blocks;
1: - __u16 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 i_blocks;
1: + int freed_blocks;
1: + int reserved_data_blocks;
1: + __u16 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__bitmap_load {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - __u32 group;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + __u32 group;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_direct_IO_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t pos;
1: - long unsigned int len;
1: - int rw;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + long unsigned int len;
1: + int rw;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_direct_IO_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t pos;
1: - long unsigned int len;
1: - int rw;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + long unsigned int len;
1: + int rw;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__fallocate_mode {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t offset;
1: - loff_t len;
1: - int mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t offset;
1: + loff_t len;
1: + int mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_fallocate_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t pos;
1: - unsigned int blocks;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t pos;
1: + unsigned int blocks;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_unlink_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ino_t parent;
1: - loff_t size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ino_t parent;
1: + loff_t size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_unlink_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__truncate {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - __u64 blocks;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + __u64 blocks;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_convert_to_initialized_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t m_lblk;
1: - unsigned int m_len;
1: - ext4_lblk_t u_lblk;
1: - unsigned int u_len;
1: - ext4_fsblk_t u_pblk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t m_lblk;
1: + unsigned int m_len;
1: + ext4_lblk_t u_lblk;
1: + unsigned int u_len;
1: + ext4_fsblk_t u_pblk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_convert_to_initialized_fastpath {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t m_lblk;
1: - unsigned int m_len;
1: - ext4_lblk_t u_lblk;
1: - unsigned int u_len;
1: - ext4_fsblk_t u_pblk;
1: - ext4_lblk_t i_lblk;
1: - unsigned int i_len;
1: - ext4_fsblk_t i_pblk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t m_lblk;
1: + unsigned int m_len;
1: + ext4_lblk_t u_lblk;
1: + unsigned int u_len;
1: + ext4_fsblk_t u_pblk;
1: + ext4_lblk_t i_lblk;
1: + unsigned int i_len;
1: + ext4_fsblk_t i_pblk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__map_blocks_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - unsigned int len;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + unsigned int len;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__map_blocks_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - unsigned int flags;
1: - ext4_fsblk_t pblk;
1: - ext4_lblk_t lblk;
1: - unsigned int len;
1: - unsigned int mflags;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + unsigned int flags;
1: + ext4_fsblk_t pblk;
1: + ext4_lblk_t lblk;
1: + unsigned int len;
1: + unsigned int mflags;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_load_extent {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_fsblk_t pblk;
1: - ext4_lblk_t lblk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_fsblk_t pblk;
1: + ext4_lblk_t lblk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_load_inode {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_journal_start {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int ip;
1: - int blocks;
1: - int rsv_blocks;
1: - int revoke_creds;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int ip;
1: + int blocks;
1: + int rsv_blocks;
1: + int revoke_creds;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_journal_start_reserved {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int ip;
1: - int blocks;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int ip;
1: + int blocks;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__trim {
1: - struct trace_entry ent;
1: - int dev_major;
1: - int dev_minor;
1: - __u32 group;
1: - int start;
1: - int len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int dev_major;
1: + int dev_minor;
1: + __u32 group;
1: + int start;
1: + int len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_handle_unwritten_extents {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - int flags;
1: - ext4_lblk_t lblk;
1: - ext4_fsblk_t pblk;
1: - unsigned int len;
1: - unsigned int allocated;
1: - ext4_fsblk_t newblk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + int flags;
1: + ext4_lblk_t lblk;
1: + ext4_fsblk_t pblk;
1: + unsigned int len;
1: + unsigned int allocated;
1: + ext4_fsblk_t newblk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_get_implied_cluster_alloc_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - unsigned int flags;
1: - ext4_lblk_t lblk;
1: - ext4_fsblk_t pblk;
1: - unsigned int len;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + unsigned int flags;
1: + ext4_lblk_t lblk;
1: + ext4_fsblk_t pblk;
1: + unsigned int len;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_put_in_cache {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - unsigned int len;
1: - ext4_fsblk_t start;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + unsigned int len;
1: + ext4_fsblk_t start;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_in_cache {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_find_delalloc_range {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t from;
1: - ext4_lblk_t to;
1: - int reverse;
1: - int found;
1: - ext4_lblk_t found_blk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t from;
1: + ext4_lblk_t to;
1: + int reverse;
1: + int found;
1: + ext4_lblk_t found_blk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_get_reserved_cluster_alloc {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - unsigned int len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + unsigned int len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_show_extent {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_fsblk_t pblk;
1: - ext4_lblk_t lblk;
1: - short unsigned int len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_fsblk_t pblk;
1: + ext4_lblk_t lblk;
1: + short unsigned int len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_remove_blocks {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t from;
1: - ext4_lblk_t to;
1: - ext4_fsblk_t ee_pblk;
1: - ext4_lblk_t ee_lblk;
1: - short unsigned int ee_len;
1: - ext4_fsblk_t pc_pclu;
1: - ext4_lblk_t pc_lblk;
1: - int pc_state;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t from;
1: + ext4_lblk_t to;
1: + ext4_fsblk_t ee_pblk;
1: + ext4_lblk_t ee_lblk;
1: + short unsigned int ee_len;
1: + ext4_fsblk_t pc_pclu;
1: + ext4_lblk_t pc_lblk;
1: + int pc_state;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_rm_leaf {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t start;
1: - ext4_lblk_t ee_lblk;
1: - ext4_fsblk_t ee_pblk;
1: - short int ee_len;
1: - ext4_fsblk_t pc_pclu;
1: - ext4_lblk_t pc_lblk;
1: - int pc_state;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t start;
1: + ext4_lblk_t ee_lblk;
1: + ext4_fsblk_t ee_pblk;
1: + short int ee_len;
1: + ext4_fsblk_t pc_pclu;
1: + ext4_lblk_t pc_lblk;
1: + int pc_state;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_rm_idx {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_fsblk_t pblk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_fsblk_t pblk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_remove_space {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t start;
1: - ext4_lblk_t end;
1: - int depth;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t start;
1: + ext4_lblk_t end;
1: + int depth;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_ext_remove_space_done {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t start;
1: - ext4_lblk_t end;
1: - int depth;
1: - ext4_fsblk_t pc_pclu;
1: - ext4_lblk_t pc_lblk;
1: - int pc_state;
1: - short unsigned int eh_entries;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t start;
1: + ext4_lblk_t end;
1: + int depth;
1: + ext4_fsblk_t pc_pclu;
1: + ext4_lblk_t pc_lblk;
1: + int pc_state;
1: + short unsigned int eh_entries;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__es_extent {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - ext4_lblk_t len;
1: - ext4_fsblk_t pblk;
1: - char status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + ext4_lblk_t len;
1: + ext4_fsblk_t pblk;
1: + char status;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_es_remove_extent {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t lblk;
1: - loff_t len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t lblk;
1: + loff_t len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_es_find_extent_range_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_es_find_extent_range_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - ext4_lblk_t len;
1: - ext4_fsblk_t pblk;
1: - char status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + ext4_lblk_t len;
1: + ext4_fsblk_t pblk;
1: + char status;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_es_lookup_extent_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_es_lookup_extent_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - ext4_lblk_t len;
1: - ext4_fsblk_t pblk;
1: - char status;
1: - int found;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + ext4_lblk_t len;
1: + ext4_fsblk_t pblk;
1: + char status;
1: + int found;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4__es_shrink_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - int nr_to_scan;
1: - int cache_cnt;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int nr_to_scan;
1: + int cache_cnt;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_es_shrink_scan_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - int nr_shrunk;
1: - int cache_cnt;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int nr_shrunk;
1: + int cache_cnt;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_collapse_range {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t offset;
1: - loff_t len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t offset;
1: + loff_t len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_insert_range {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - loff_t offset;
1: - loff_t len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + loff_t offset;
1: + loff_t len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_es_shrink {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - int nr_shrunk;
1: - long long unsigned int scan_time;
1: - int nr_skipped;
1: - int retried;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int nr_shrunk;
1: + long long unsigned int scan_time;
1: + int nr_skipped;
1: + int retried;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_es_insert_delayed_block {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - ext4_lblk_t lblk;
1: - ext4_lblk_t len;
1: - ext4_fsblk_t pblk;
1: - char status;
1: - bool allocated;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + ext4_lblk_t lblk;
1: + ext4_lblk_t len;
1: + ext4_fsblk_t pblk;
1: + char status;
1: + bool allocated;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_fsmap_class {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - dev_t keydev;
1: - u32 agno;
1: - u64 bno;
1: - u64 len;
1: - u64 owner;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + dev_t keydev;
1: + u32 agno;
1: + u64 bno;
1: + u64 len;
1: + u64 owner;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_getfsmap_class {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - dev_t keydev;
1: - u64 block;
1: - u64 len;
1: - u64 owner;
1: - u64 flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + dev_t keydev;
1: + u64 block;
1: + u64 len;
1: + u64 owner;
1: + u64 flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_shutdown {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ext4_error {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - const char *function;
1: - unsigned int line;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + const char *function;
1: + unsigned int line;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_ext4_other_inode_update_time {};
1: @@ -43258,337 +43607,335 @@ struct trace_event_data_offsets_ext4_shutdown {};
1: struct trace_event_data_offsets_ext4_error {};
1:
1: enum {
1: - Opt_bsd_df = 0,
1: - Opt_minix_df = 1,
1: - Opt_grpid = 2,
1: - Opt_nogrpid = 3,
1: - Opt_resgid = 4,
1: - Opt_resuid = 5,
1: - Opt_sb = 6,
1: - Opt_err_cont = 7,
1: - Opt_err_panic = 8,
1: - Opt_err_ro = 9,
1: - Opt_nouid32 = 10,
1: - Opt_debug = 11,
1: - Opt_removed = 12,
1: - Opt_user_xattr = 13,
1: - Opt_nouser_xattr = 14,
1: - Opt_acl = 15,
1: - Opt_noacl = 16,
1: - Opt_auto_da_alloc = 17,
1: - Opt_noauto_da_alloc = 18,
1: - Opt_noload = 19,
1: - Opt_commit = 20,
1: - Opt_min_batch_time = 21,
1: - Opt_max_batch_time = 22,
1: - Opt_journal_dev = 23,
1: - Opt_journal_path = 24,
1: - Opt_journal_checksum = 25,
1: - Opt_journal_async_commit = 26,
1: - Opt_abort = 27,
1: - Opt_data_journal = 28,
1: - Opt_data_ordered = 29,
1: - Opt_data_writeback = 30,
1: - Opt_data_err_abort = 31,
1: - Opt_data_err_ignore = 32,
1: - Opt_test_dummy_encryption = 33,
1: - Opt_usrjquota = 34,
1: - Opt_grpjquota = 35,
1: - Opt_offusrjquota = 36,
1: - Opt_offgrpjquota = 37,
1: - Opt_jqfmt_vfsold = 38,
1: - Opt_jqfmt_vfsv0 = 39,
1: - Opt_jqfmt_vfsv1 = 40,
1: - Opt_quota = 41,
1: - Opt_noquota = 42,
1: - Opt_barrier = 43,
1: - Opt_nobarrier = 44,
1: - Opt_err___2 = 45,
1: - Opt_usrquota = 46,
1: - Opt_grpquota = 47,
1: - Opt_prjquota = 48,
1: - Opt_i_version = 49,
1: - Opt_dax = 50,
1: - Opt_stripe = 51,
1: - Opt_delalloc = 52,
1: - Opt_nodelalloc = 53,
1: - Opt_warn_on_error = 54,
1: - Opt_nowarn_on_error = 55,
1: - Opt_mblk_io_submit = 56,
1: - Opt_lazytime = 57,
1: - Opt_nolazytime = 58,
1: - Opt_debug_want_extra_isize = 59,
1: - Opt_nomblk_io_submit = 60,
1: - Opt_block_validity = 61,
1: - Opt_noblock_validity = 62,
1: - Opt_inode_readahead_blks = 63,
1: - Opt_journal_ioprio = 64,
1: - Opt_dioread_nolock = 65,
1: - Opt_dioread_lock = 66,
1: - Opt_discard = 67,
1: - Opt_nodiscard = 68,
1: - Opt_init_itable = 69,
1: - Opt_noinit_itable = 70,
1: - Opt_max_dir_size_kb = 71,
1: - Opt_nojournal_checksum = 72,
1: - Opt_nombcache = 73,
1: + Opt_bsd_df = 0,
1: + Opt_minix_df = 1,
1: + Opt_grpid = 2,
1: + Opt_nogrpid = 3,
1: + Opt_resgid = 4,
1: + Opt_resuid = 5,
1: + Opt_sb = 6,
1: + Opt_err_cont = 7,
1: + Opt_err_panic = 8,
1: + Opt_err_ro = 9,
1: + Opt_nouid32 = 10,
1: + Opt_debug = 11,
1: + Opt_removed = 12,
1: + Opt_user_xattr = 13,
1: + Opt_nouser_xattr = 14,
1: + Opt_acl = 15,
1: + Opt_noacl = 16,
1: + Opt_auto_da_alloc = 17,
1: + Opt_noauto_da_alloc = 18,
1: + Opt_noload = 19,
1: + Opt_commit = 20,
1: + Opt_min_batch_time = 21,
1: + Opt_max_batch_time = 22,
1: + Opt_journal_dev = 23,
1: + Opt_journal_path = 24,
1: + Opt_journal_checksum = 25,
1: + Opt_journal_async_commit = 26,
1: + Opt_abort = 27,
1: + Opt_data_journal = 28,
1: + Opt_data_ordered = 29,
1: + Opt_data_writeback = 30,
1: + Opt_data_err_abort = 31,
1: + Opt_data_err_ignore = 32,
1: + Opt_test_dummy_encryption = 33,
1: + Opt_usrjquota = 34,
1: + Opt_grpjquota = 35,
1: + Opt_offusrjquota = 36,
1: + Opt_offgrpjquota = 37,
1: + Opt_jqfmt_vfsold = 38,
1: + Opt_jqfmt_vfsv0 = 39,
1: + Opt_jqfmt_vfsv1 = 40,
1: + Opt_quota = 41,
1: + Opt_noquota = 42,
1: + Opt_barrier = 43,
1: + Opt_nobarrier = 44,
1: + Opt_err___2 = 45,
1: + Opt_usrquota = 46,
1: + Opt_grpquota = 47,
1: + Opt_prjquota = 48,
1: + Opt_i_version = 49,
1: + Opt_dax = 50,
1: + Opt_stripe = 51,
1: + Opt_delalloc = 52,
1: + Opt_nodelalloc = 53,
1: + Opt_warn_on_error = 54,
1: + Opt_nowarn_on_error = 55,
1: + Opt_mblk_io_submit = 56,
1: + Opt_lazytime = 57,
1: + Opt_nolazytime = 58,
1: + Opt_debug_want_extra_isize = 59,
1: + Opt_nomblk_io_submit = 60,
1: + Opt_block_validity = 61,
1: + Opt_noblock_validity = 62,
1: + Opt_inode_readahead_blks = 63,
1: + Opt_journal_ioprio = 64,
1: + Opt_dioread_nolock = 65,
1: + Opt_dioread_lock = 66,
1: + Opt_discard = 67,
1: + Opt_nodiscard = 68,
1: + Opt_init_itable = 69,
1: + Opt_noinit_itable = 70,
1: + Opt_max_dir_size_kb = 71,
1: + Opt_nojournal_checksum = 72,
1: + Opt_nombcache = 73,
1: };
1:
1: struct mount_opts {
1: - int token;
1: - int mount_opt;
1: - int flags;
1: + int token;
1: + int mount_opt;
1: + int flags;
1: };
1:
1: struct ext4_mount_options {
1: - long unsigned int s_mount_opt;
1: - long unsigned int s_mount_opt2;
1: - kuid_t s_resuid;
1: - kgid_t s_resgid;
1: - long unsigned int s_commit_interval;
1: - u32 s_min_batch_time;
1: - u32 s_max_batch_time;
1: - int s_jquota_fmt;
1: - char *s_qf_names[3];
1: + long unsigned int s_mount_opt;
1: + long unsigned int s_mount_opt2;
1: + kuid_t s_resuid;
1: + kgid_t s_resgid;
1: + long unsigned int s_commit_interval;
1: + u32 s_min_batch_time;
1: + u32 s_max_batch_time;
1: + int s_jquota_fmt;
1: + char *s_qf_names[3];
1: };
1:
1: enum {
1: - attr_noop = 0,
1: - attr_delayed_allocation_blocks = 1,
1: - attr_session_write_kbytes = 2,
1: - attr_lifetime_write_kbytes = 3,
1: - attr_reserved_clusters = 4,
1: - attr_inode_readahead = 5,
1: - attr_trigger_test_error = 6,
1: - attr_first_error_time = 7,
1: - attr_last_error_time = 8,
1: - attr_feature = 9,
1: - attr_pointer_ui = 10,
1: - attr_pointer_atomic = 11,
1: - attr_journal_task = 12,
1: + attr_noop = 0,
1: + attr_delayed_allocation_blocks = 1,
1: + attr_session_write_kbytes = 2,
1: + attr_lifetime_write_kbytes = 3,
1: + attr_reserved_clusters = 4,
1: + attr_inode_readahead = 5,
1: + attr_trigger_test_error = 6,
1: + attr_first_error_time = 7,
1: + attr_last_error_time = 8,
1: + attr_feature = 9,
1: + attr_pointer_ui = 10,
1: + attr_pointer_atomic = 11,
1: + attr_journal_task = 12,
1: };
1:
1: enum {
1: - ptr_explicit = 0,
1: - ptr_ext4_sb_info_offset = 1,
1: - ptr_ext4_super_block_offset = 2,
1: + ptr_explicit = 0,
1: + ptr_ext4_sb_info_offset = 1,
1: + ptr_ext4_super_block_offset = 2,
1: };
1:
1: struct ext4_attr {
1: - struct attribute attr;
1: - short int attr_id;
1: - short int attr_ptr;
1: - union {
1: - int offset;
1: - void *explicit_ptr;
1: - } u;
1: + struct attribute attr;
1: + short int attr_id;
1: + short int attr_ptr;
1: + union {
1: + int offset;
1: + void *explicit_ptr;
1: + } u;
1: };
1:
1: struct ext4_xattr_header {
1: - __le32 h_magic;
1: - __le32 h_refcount;
1: - __le32 h_blocks;
1: - __le32 h_hash;
1: - __le32 h_checksum;
1: - __u32 h_reserved[3];
1: + __le32 h_magic;
1: + __le32 h_refcount;
1: + __le32 h_blocks;
1: + __le32 h_hash;
1: + __le32 h_checksum;
1: + __u32 h_reserved[3];
1: };
1:
1: struct ext4_xattr_block_find {
1: - struct ext4_xattr_search s;
1: - struct buffer_head *bh;
1: + struct ext4_xattr_search s;
1: + struct buffer_head *bh;
1: };
1:
1: typedef struct {
1: - __le16 e_tag;
1: - __le16 e_perm;
1: - __le32 e_id;
1: + __le16 e_tag;
1: + __le16 e_perm;
1: + __le32 e_id;
1: } ext4_acl_entry;
1:
1: -typedef struct {
1: - __le32 a_version;
1: -} ext4_acl_header;
1: +typedef struct { __le32 a_version; } ext4_acl_header;
1:
1: struct commit_header {
1: - __be32 h_magic;
1: - __be32 h_blocktype;
1: - __be32 h_sequence;
1: - unsigned char h_chksum_type;
1: - unsigned char h_chksum_size;
1: - unsigned char h_padding[2];
1: - __be32 h_chksum[8];
1: - __be64 h_commit_sec;
1: - __be32 h_commit_nsec;
1: + __be32 h_magic;
1: + __be32 h_blocktype;
1: + __be32 h_sequence;
1: + unsigned char h_chksum_type;
1: + unsigned char h_chksum_size;
1: + unsigned char h_padding[2];
1: + __be32 h_chksum[8];
1: + __be64 h_commit_sec;
1: + __be32 h_commit_nsec;
1: };
1:
1: struct journal_block_tag3_s {
1: - __be32 t_blocknr;
1: - __be32 t_flags;
1: - __be32 t_blocknr_high;
1: - __be32 t_checksum;
1: + __be32 t_blocknr;
1: + __be32 t_flags;
1: + __be32 t_blocknr_high;
1: + __be32 t_checksum;
1: };
1:
1: typedef struct journal_block_tag3_s journal_block_tag3_t;
1:
1: struct journal_block_tag_s {
1: - __be32 t_blocknr;
1: - __be16 t_checksum;
1: - __be16 t_flags;
1: - __be32 t_blocknr_high;
1: + __be32 t_blocknr;
1: + __be16 t_checksum;
1: + __be16 t_flags;
1: + __be32 t_blocknr_high;
1: };
1:
1: typedef struct journal_block_tag_s journal_block_tag_t;
1:
1: struct jbd2_journal_block_tail {
1: - __be32 t_checksum;
1: + __be32 t_checksum;
1: };
1:
1: struct jbd2_journal_revoke_header_s {
1: - journal_header_t r_header;
1: - __be32 r_count;
1: + journal_header_t r_header;
1: + __be32 r_count;
1: };
1:
1: typedef struct jbd2_journal_revoke_header_s jbd2_journal_revoke_header_t;
1:
1: struct recovery_info {
1: - tid_t start_transaction;
1: - tid_t end_transaction;
1: - int nr_replays;
1: - int nr_revokes;
1: - int nr_revoke_hits;
1: + tid_t start_transaction;
1: + tid_t end_transaction;
1: + int nr_replays;
1: + int nr_revokes;
1: + int nr_revoke_hits;
1: };
1:
1: enum passtype {
1: - PASS_SCAN = 0,
1: - PASS_REVOKE = 1,
1: - PASS_REPLAY = 2,
1: + PASS_SCAN = 0,
1: + PASS_REVOKE = 1,
1: + PASS_REPLAY = 2,
1: };
1:
1: struct jbd2_revoke_table_s {
1: - int hash_size;
1: - int hash_shift;
1: - struct list_head *hash_table;
1: + int hash_size;
1: + int hash_shift;
1: + struct list_head *hash_table;
1: };
1:
1: struct jbd2_revoke_record_s {
1: - struct list_head hash;
1: - tid_t sequence;
1: - long long unsigned int blocknr;
1: + struct list_head hash;
1: + tid_t sequence;
1: + long long unsigned int blocknr;
1: };
1:
1: struct trace_event_raw_jbd2_checkpoint {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - int result;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int result;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_commit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - char sync_commit;
1: - int transaction;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char sync_commit;
1: + int transaction;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_end_commit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - char sync_commit;
1: - int transaction;
1: - int head;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char sync_commit;
1: + int transaction;
1: + int head;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_submit_inode_data {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - ino_t ino;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + ino_t ino;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_handle_start_class {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int tid;
1: - unsigned int type;
1: - unsigned int line_no;
1: - int requested_blocks;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + unsigned int type;
1: + unsigned int line_no;
1: + int requested_blocks;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_handle_extend {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int tid;
1: - unsigned int type;
1: - unsigned int line_no;
1: - int buffer_credits;
1: - int requested_blocks;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + unsigned int type;
1: + unsigned int line_no;
1: + int buffer_credits;
1: + int requested_blocks;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_handle_stats {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int tid;
1: - unsigned int type;
1: - unsigned int line_no;
1: - int interval;
1: - int sync;
1: - int requested_blocks;
1: - int dirtied_blocks;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + unsigned int type;
1: + unsigned int line_no;
1: + int interval;
1: + int sync;
1: + int requested_blocks;
1: + int dirtied_blocks;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_run_stats {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int tid;
1: - long unsigned int wait;
1: - long unsigned int request_delay;
1: - long unsigned int running;
1: - long unsigned int locked;
1: - long unsigned int flushing;
1: - long unsigned int logging;
1: - __u32 handle_count;
1: - __u32 blocks;
1: - __u32 blocks_logged;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + long unsigned int wait;
1: + long unsigned int request_delay;
1: + long unsigned int running;
1: + long unsigned int locked;
1: + long unsigned int flushing;
1: + long unsigned int logging;
1: + __u32 handle_count;
1: + __u32 blocks;
1: + __u32 blocks_logged;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_checkpoint_stats {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int tid;
1: - long unsigned int chp_time;
1: - __u32 forced_to_close;
1: - __u32 written;
1: - __u32 dropped;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int tid;
1: + long unsigned int chp_time;
1: + __u32 forced_to_close;
1: + __u32 written;
1: + __u32 dropped;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_update_log_tail {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - tid_t tail_sequence;
1: - tid_t first_tid;
1: - long unsigned int block_nr;
1: - long unsigned int freed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + tid_t tail_sequence;
1: + tid_t first_tid;
1: + long unsigned int block_nr;
1: + long unsigned int freed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_write_superblock {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - int write_op;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int write_op;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_jbd2_lock_buffer_stall {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int stall_ms;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int stall_ms;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_jbd2_checkpoint {};
1: @@ -43616,763 +43963,763 @@ struct trace_event_data_offsets_jbd2_write_superblock {};
1: struct trace_event_data_offsets_jbd2_lock_buffer_stall {};
1:
1: struct jbd2_stats_proc_session {
1: - journal_t *journal;
1: - struct transaction_stats_s *stats;
1: - int start;
1: - int max;
1: + journal_t *journal;
1: + struct transaction_stats_s *stats;
1: + int start;
1: + int max;
1: };
1:
1: struct ramfs_mount_opts {
1: - umode_t mode;
1: + umode_t mode;
1: };
1:
1: struct ramfs_fs_info {
1: - struct ramfs_mount_opts mount_opts;
1: + struct ramfs_mount_opts mount_opts;
1: };
1:
1: enum ramfs_param {
1: - Opt_mode___3 = 0,
1: + Opt_mode___3 = 0,
1: };
1:
1: enum hugetlbfs_size_type {
1: - NO_SIZE = 0,
1: - SIZE_STD = 1,
1: - SIZE_PERCENT = 2,
1: + NO_SIZE = 0,
1: + SIZE_STD = 1,
1: + SIZE_PERCENT = 2,
1: };
1:
1: struct hugetlbfs_fs_context {
1: - struct hstate *hstate;
1: - long long unsigned int max_size_opt;
1: - long long unsigned int min_size_opt;
1: - long int max_hpages;
1: - long int nr_inodes;
1: - long int min_hpages;
1: - enum hugetlbfs_size_type max_val_type;
1: - enum hugetlbfs_size_type min_val_type;
1: - kuid_t uid;
1: - kgid_t gid;
1: - umode_t mode;
1: + struct hstate *hstate;
1: + long long unsigned int max_size_opt;
1: + long long unsigned int min_size_opt;
1: + long int max_hpages;
1: + long int nr_inodes;
1: + long int min_hpages;
1: + enum hugetlbfs_size_type max_val_type;
1: + enum hugetlbfs_size_type min_val_type;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: };
1:
1: enum hugetlb_param {
1: - Opt_gid___4 = 0,
1: - Opt_min_size = 1,
1: - Opt_mode___4 = 2,
1: - Opt_nr_inodes___2 = 3,
1: - Opt_pagesize = 4,
1: - Opt_size___2 = 5,
1: - Opt_uid___3 = 6,
1: + Opt_gid___4 = 0,
1: + Opt_min_size = 1,
1: + Opt_mode___4 = 2,
1: + Opt_nr_inodes___2 = 3,
1: + Opt_pagesize = 4,
1: + Opt_size___2 = 5,
1: + Opt_uid___3 = 6,
1: };
1:
1: typedef u16 wchar_t;
1:
1: struct nls_table {
1: - const char *charset;
1: - const char *alias;
1: - int (*uni2char)(wchar_t, unsigned char *, int);
1: - int (*char2uni)(const unsigned char *, int, wchar_t *);
1: - const unsigned char *charset2lower;
1: - const unsigned char *charset2upper;
1: - struct module *owner;
1: - struct nls_table *next;
1: + const char *charset;
1: + const char *alias;
1: + int (*uni2char)(wchar_t, unsigned char *, int);
1: + int (*char2uni)(const unsigned char *, int, wchar_t *);
1: + const unsigned char *charset2lower;
1: + const unsigned char *charset2upper;
1: + struct module *owner;
1: + struct nls_table *next;
1: };
1:
1: struct fat_mount_options {
1: - kuid_t fs_uid;
1: - kgid_t fs_gid;
1: - short unsigned int fs_fmask;
1: - short unsigned int fs_dmask;
1: - short unsigned int codepage;
1: - int time_offset;
1: - char *iocharset;
1: - short unsigned int shortname;
1: - unsigned char name_check;
1: - unsigned char errors;
1: - unsigned char nfs;
1: - short unsigned int allow_utime;
1: - unsigned int quiet: 1;
1: - unsigned int showexec: 1;
1: - unsigned int sys_immutable: 1;
1: - unsigned int dotsOK: 1;
1: - unsigned int isvfat: 1;
1: - unsigned int utf8: 1;
1: - unsigned int unicode_xlate: 1;
1: - unsigned int numtail: 1;
1: - unsigned int flush: 1;
1: - unsigned int nocase: 1;
1: - unsigned int usefree: 1;
1: - unsigned int tz_set: 1;
1: - unsigned int rodir: 1;
1: - unsigned int discard: 1;
1: - unsigned int dos1xfloppy: 1;
1: + kuid_t fs_uid;
1: + kgid_t fs_gid;
1: + short unsigned int fs_fmask;
1: + short unsigned int fs_dmask;
1: + short unsigned int codepage;
1: + int time_offset;
1: + char *iocharset;
1: + short unsigned int shortname;
1: + unsigned char name_check;
1: + unsigned char errors;
1: + unsigned char nfs;
1: + short unsigned int allow_utime;
1: + unsigned int quiet : 1;
1: + unsigned int showexec : 1;
1: + unsigned int sys_immutable : 1;
1: + unsigned int dotsOK : 1;
1: + unsigned int isvfat : 1;
1: + unsigned int utf8 : 1;
1: + unsigned int unicode_xlate : 1;
1: + unsigned int numtail : 1;
1: + unsigned int flush : 1;
1: + unsigned int nocase : 1;
1: + unsigned int usefree : 1;
1: + unsigned int tz_set : 1;
1: + unsigned int rodir : 1;
1: + unsigned int discard : 1;
1: + unsigned int dos1xfloppy : 1;
1: };
1:
1: struct fatent_operations;
1:
1: struct msdos_sb_info {
1: - short unsigned int sec_per_clus;
1: - short unsigned int cluster_bits;
1: - unsigned int cluster_size;
1: - unsigned char fats;
1: - unsigned char fat_bits;
1: - short unsigned int fat_start;
1: - long unsigned int fat_length;
1: - long unsigned int dir_start;
1: - short unsigned int dir_entries;
1: - long unsigned int data_start;
1: - long unsigned int max_cluster;
1: - long unsigned int root_cluster;
1: - long unsigned int fsinfo_sector;
1: - struct mutex fat_lock;
1: - struct mutex nfs_build_inode_lock;
1: - struct mutex s_lock;
1: - unsigned int prev_free;
1: - unsigned int free_clusters;
1: - unsigned int free_clus_valid;
1: - struct fat_mount_options options;
1: - struct nls_table *nls_disk;
1: - struct nls_table *nls_io;
1: - const void *dir_ops;
1: - int dir_per_block;
1: - int dir_per_block_bits;
1: - unsigned int vol_id;
1: - int fatent_shift;
1: - const struct fatent_operations *fatent_ops;
1: - struct inode___2 *fat_inode;
1: - struct inode___2 *fsinfo_inode;
1: - struct ratelimit_state ratelimit;
1: - spinlock_t inode_hash_lock;
1: - struct hlist_head inode_hashtable[256];
1: - spinlock_t dir_hash_lock;
1: - struct hlist_head dir_hashtable[256];
1: - unsigned int dirty;
1: - struct callback_head rcu;
1: + short unsigned int sec_per_clus;
1: + short unsigned int cluster_bits;
1: + unsigned int cluster_size;
1: + unsigned char fats;
1: + unsigned char fat_bits;
1: + short unsigned int fat_start;
1: + long unsigned int fat_length;
1: + long unsigned int dir_start;
1: + short unsigned int dir_entries;
1: + long unsigned int data_start;
1: + long unsigned int max_cluster;
1: + long unsigned int root_cluster;
1: + long unsigned int fsinfo_sector;
1: + struct mutex fat_lock;
1: + struct mutex nfs_build_inode_lock;
1: + struct mutex s_lock;
1: + unsigned int prev_free;
1: + unsigned int free_clusters;
1: + unsigned int free_clus_valid;
1: + struct fat_mount_options options;
1: + struct nls_table *nls_disk;
1: + struct nls_table *nls_io;
1: + const void *dir_ops;
1: + int dir_per_block;
1: + int dir_per_block_bits;
1: + unsigned int vol_id;
1: + int fatent_shift;
1: + const struct fatent_operations *fatent_ops;
1: + struct inode___2 *fat_inode;
1: + struct inode___2 *fsinfo_inode;
1: + struct ratelimit_state ratelimit;
1: + spinlock_t inode_hash_lock;
1: + struct hlist_head inode_hashtable[256];
1: + spinlock_t dir_hash_lock;
1: + struct hlist_head dir_hashtable[256];
1: + unsigned int dirty;
1: + struct callback_head rcu;
1: };
1:
1: struct fat_entry;
1:
1: struct fatent_operations {
1: - void (*ent_blocknr)(struct super_block___2 *, int, int *, sector_t *);
1: - void (*ent_set_ptr)(struct fat_entry *, int);
1: - int (*ent_bread)(struct super_block___2 *, struct fat_entry *, int, sector_t);
1: - int (*ent_get)(struct fat_entry *);
1: - void (*ent_put)(struct fat_entry *, int);
1: - int (*ent_next)(struct fat_entry *);
1: + void (*ent_blocknr)(struct super_block___2 *, int, int *, sector_t *);
1: + void (*ent_set_ptr)(struct fat_entry *, int);
1: + int (*ent_bread)(struct super_block___2 *, struct fat_entry *, int, sector_t);
1: + int (*ent_get)(struct fat_entry *);
1: + void (*ent_put)(struct fat_entry *, int);
1: + int (*ent_next)(struct fat_entry *);
1: };
1:
1: struct msdos_inode_info {
1: - spinlock_t cache_lru_lock;
1: - struct list_head cache_lru;
1: - int nr_caches;
1: - unsigned int cache_valid_id;
1: - loff_t mmu_private;
1: - int i_start;
1: - int i_logstart;
1: - int i_attrs;
1: - loff_t i_pos;
1: - struct hlist_node i_fat_hash;
1: - struct hlist_node i_dir_hash;
1: - struct rw_semaphore truncate_lock;
1: - struct inode___2 vfs_inode;
1: + spinlock_t cache_lru_lock;
1: + struct list_head cache_lru;
1: + int nr_caches;
1: + unsigned int cache_valid_id;
1: + loff_t mmu_private;
1: + int i_start;
1: + int i_logstart;
1: + int i_attrs;
1: + loff_t i_pos;
1: + struct hlist_node i_fat_hash;
1: + struct hlist_node i_dir_hash;
1: + struct rw_semaphore truncate_lock;
1: + struct inode___2 vfs_inode;
1: };
1:
1: struct fat_entry {
1: - int entry;
1: - union {
1: - u8 *ent12_p[2];
1: - __le16 *ent16_p;
1: - __le32 *ent32_p;
1: - } u;
1: - int nr_bhs;
1: - struct buffer_head *bhs[2];
1: - struct inode___2 *fat_inode;
1: + int entry;
1: + union {
1: + u8 *ent12_p[2];
1: + __le16 *ent16_p;
1: + __le32 *ent32_p;
1: + } u;
1: + int nr_bhs;
1: + struct buffer_head *bhs[2];
1: + struct inode___2 *fat_inode;
1: };
1:
1: struct fat_cache {
1: - struct list_head cache_list;
1: - int nr_contig;
1: - int fcluster;
1: - int dcluster;
1: + struct list_head cache_list;
1: + int nr_contig;
1: + int fcluster;
1: + int dcluster;
1: };
1:
1: struct fat_cache_id {
1: - unsigned int id;
1: - int nr_contig;
1: - int fcluster;
1: - int dcluster;
1: + unsigned int id;
1: + int nr_contig;
1: + int fcluster;
1: + int dcluster;
1: };
1:
1: struct compat_dirent {
1: - u32 d_ino;
1: - compat_off_t d_off;
1: - u16 d_reclen;
1: - char d_name[256];
1: + u32 d_ino;
1: + compat_off_t d_off;
1: + u16 d_reclen;
1: + char d_name[256];
1: };
1:
1: enum utf16_endian {
1: - UTF16_HOST_ENDIAN = 0,
1: - UTF16_LITTLE_ENDIAN = 1,
1: - UTF16_BIG_ENDIAN = 2,
1: + UTF16_HOST_ENDIAN = 0,
1: + UTF16_LITTLE_ENDIAN = 1,
1: + UTF16_BIG_ENDIAN = 2,
1: };
1:
1: struct __fat_dirent {
1: - long int d_ino;
1: - __kernel_off_t d_off;
1: - short unsigned int d_reclen;
1: - char d_name[256];
1: + long int d_ino;
1: + __kernel_off_t d_off;
1: + short unsigned int d_reclen;
1: + char d_name[256];
1: };
1:
1: struct msdos_dir_entry {
1: - __u8 name[11];
1: - __u8 attr;
1: - __u8 lcase;
1: - __u8 ctime_cs;
1: - __le16 ctime;
1: - __le16 cdate;
1: - __le16 adate;
1: - __le16 starthi;
1: - __le16 time;
1: - __le16 date;
1: - __le16 start;
1: - __le32 size;
1: + __u8 name[11];
1: + __u8 attr;
1: + __u8 lcase;
1: + __u8 ctime_cs;
1: + __le16 ctime;
1: + __le16 cdate;
1: + __le16 adate;
1: + __le16 starthi;
1: + __le16 time;
1: + __le16 date;
1: + __le16 start;
1: + __le32 size;
1: };
1:
1: struct msdos_dir_slot {
1: - __u8 id;
1: - __u8 name0_4[10];
1: - __u8 attr;
1: - __u8 reserved;
1: - __u8 alias_checksum;
1: - __u8 name5_10[12];
1: - __le16 start;
1: - __u8 name11_12[4];
1: + __u8 id;
1: + __u8 name0_4[10];
1: + __u8 attr;
1: + __u8 reserved;
1: + __u8 alias_checksum;
1: + __u8 name5_10[12];
1: + __le16 start;
1: + __u8 name11_12[4];
1: };
1:
1: struct fat_slot_info {
1: - loff_t i_pos;
1: - loff_t slot_off;
1: - int nr_slots;
1: - struct msdos_dir_entry *de;
1: - struct buffer_head *bh;
1: + loff_t i_pos;
1: + loff_t slot_off;
1: + int nr_slots;
1: + struct msdos_dir_entry *de;
1: + struct buffer_head *bh;
1: };
1:
1: typedef long long unsigned int llu;
1:
1: enum {
1: - PARSE_INVALID = 1,
1: - PARSE_NOT_LONGNAME = 2,
1: - PARSE_EOF = 3,
1: + PARSE_INVALID = 1,
1: + PARSE_NOT_LONGNAME = 2,
1: + PARSE_EOF = 3,
1: };
1:
1: struct fat_ioctl_filldir_callback {
1: - struct dir_context ctx;
1: - void *dirent;
1: - int result;
1: - const char *longname;
1: - int long_len;
1: - const char *shortname;
1: - int short_len;
1: + struct dir_context ctx;
1: + void *dirent;
1: + int result;
1: + const char *longname;
1: + int long_len;
1: + const char *shortname;
1: + int short_len;
1: };
1:
1: struct fat_boot_sector {
1: - __u8 ignored[3];
1: - __u8 system_id[8];
1: - __u8 sector_size[2];
1: - __u8 sec_per_clus;
1: - __le16 reserved;
1: - __u8 fats;
1: - __u8 dir_entries[2];
1: - __u8 sectors[2];
1: - __u8 media;
1: - __le16 fat_length;
1: - __le16 secs_track;
1: - __le16 heads;
1: - __le32 hidden;
1: - __le32 total_sect;
1: - union {
1: - struct {
1: - __u8 drive_number;
1: - __u8 state;
1: - __u8 signature;
1: - __u8 vol_id[4];
1: - __u8 vol_label[11];
1: - __u8 fs_type[8];
1: - } fat16;
1: - struct {
1: - __le32 length;
1: - __le16 flags;
1: - __u8 version[2];
1: - __le32 root_cluster;
1: - __le16 info_sector;
1: - __le16 backup_boot;
1: - __le16 reserved2[6];
1: - __u8 drive_number;
1: - __u8 state;
1: - __u8 signature;
1: - __u8 vol_id[4];
1: - __u8 vol_label[11];
1: - __u8 fs_type[8];
1: - } fat32;
1: - };
1: + __u8 ignored[3];
1: + __u8 system_id[8];
1: + __u8 sector_size[2];
1: + __u8 sec_per_clus;
1: + __le16 reserved;
1: + __u8 fats;
1: + __u8 dir_entries[2];
1: + __u8 sectors[2];
1: + __u8 media;
1: + __le16 fat_length;
1: + __le16 secs_track;
1: + __le16 heads;
1: + __le32 hidden;
1: + __le32 total_sect;
1: + union {
1: + struct {
1: + __u8 drive_number;
1: + __u8 state;
1: + __u8 signature;
1: + __u8 vol_id[4];
1: + __u8 vol_label[11];
1: + __u8 fs_type[8];
1: + } fat16;
1: + struct {
1: + __le32 length;
1: + __le16 flags;
1: + __u8 version[2];
1: + __le32 root_cluster;
1: + __le16 info_sector;
1: + __le16 backup_boot;
1: + __le16 reserved2[6];
1: + __u8 drive_number;
1: + __u8 state;
1: + __u8 signature;
1: + __u8 vol_id[4];
1: + __u8 vol_label[11];
1: + __u8 fs_type[8];
1: + } fat32;
1: + };
1: };
1:
1: struct fat_boot_fsinfo {
1: - __le32 signature1;
1: - __le32 reserved1[120];
1: - __le32 signature2;
1: - __le32 free_clusters;
1: - __le32 next_cluster;
1: - __le32 reserved2[4];
1: + __le32 signature1;
1: + __le32 reserved1[120];
1: + __le32 signature2;
1: + __le32 free_clusters;
1: + __le32 next_cluster;
1: + __le32 reserved2[4];
1: };
1:
1: struct fat_bios_param_block {
1: - u16 fat_sector_size;
1: - u8 fat_sec_per_clus;
1: - u16 fat_reserved;
1: - u8 fat_fats;
1: - u16 fat_dir_entries;
1: - u16 fat_sectors;
1: - u16 fat_fat_length;
1: - u32 fat_total_sect;
1: - u8 fat16_state;
1: - u32 fat16_vol_id;
1: - u32 fat32_length;
1: - u32 fat32_root_cluster;
1: - u16 fat32_info_sector;
1: - u8 fat32_state;
1: - u32 fat32_vol_id;
1: + u16 fat_sector_size;
1: + u8 fat_sec_per_clus;
1: + u16 fat_reserved;
1: + u8 fat_fats;
1: + u16 fat_dir_entries;
1: + u16 fat_sectors;
1: + u16 fat_fat_length;
1: + u32 fat_total_sect;
1: + u8 fat16_state;
1: + u32 fat16_vol_id;
1: + u32 fat32_length;
1: + u32 fat32_root_cluster;
1: + u16 fat32_info_sector;
1: + u8 fat32_state;
1: + u32 fat32_vol_id;
1: };
1:
1: struct fat_floppy_defaults {
1: - unsigned int nr_sectors;
1: - unsigned int sec_per_clus;
1: - unsigned int dir_entries;
1: - unsigned int media;
1: - unsigned int fat_length;
1: -};
1: -
1: -enum {
1: - Opt_check_n = 0,
1: - Opt_check_r = 1,
1: - Opt_check_s = 2,
1: - Opt_uid___4 = 3,
1: - Opt_gid___5 = 4,
1: - Opt_umask = 5,
1: - Opt_dmask = 6,
1: - Opt_fmask = 7,
1: - Opt_allow_utime = 8,
1: - Opt_codepage = 9,
1: - Opt_usefree = 10,
1: - Opt_nocase = 11,
1: - Opt_quiet = 12,
1: - Opt_showexec = 13,
1: - Opt_debug___2 = 14,
1: - Opt_immutable = 15,
1: - Opt_dots = 16,
1: - Opt_nodots = 17,
1: - Opt_charset = 18,
1: - Opt_shortname_lower = 19,
1: - Opt_shortname_win95 = 20,
1: - Opt_shortname_winnt = 21,
1: - Opt_shortname_mixed = 22,
1: - Opt_utf8_no = 23,
1: - Opt_utf8_yes = 24,
1: - Opt_uni_xl_no = 25,
1: - Opt_uni_xl_yes = 26,
1: - Opt_nonumtail_no = 27,
1: - Opt_nonumtail_yes = 28,
1: - Opt_obsolete = 29,
1: - Opt_flush = 30,
1: - Opt_tz_utc = 31,
1: - Opt_rodir = 32,
1: - Opt_err_cont___2 = 33,
1: - Opt_err_panic___2 = 34,
1: - Opt_err_ro___2 = 35,
1: - Opt_discard___2 = 36,
1: - Opt_nfs = 37,
1: - Opt_time_offset = 38,
1: - Opt_nfs_stale_rw = 39,
1: - Opt_nfs_nostale_ro = 40,
1: - Opt_err___3 = 41,
1: - Opt_dos1xfloppy = 42,
1: + unsigned int nr_sectors;
1: + unsigned int sec_per_clus;
1: + unsigned int dir_entries;
1: + unsigned int media;
1: + unsigned int fat_length;
1: +};
1: +
1: +enum {
1: + Opt_check_n = 0,
1: + Opt_check_r = 1,
1: + Opt_check_s = 2,
1: + Opt_uid___4 = 3,
1: + Opt_gid___5 = 4,
1: + Opt_umask = 5,
1: + Opt_dmask = 6,
1: + Opt_fmask = 7,
1: + Opt_allow_utime = 8,
1: + Opt_codepage = 9,
1: + Opt_usefree = 10,
1: + Opt_nocase = 11,
1: + Opt_quiet = 12,
1: + Opt_showexec = 13,
1: + Opt_debug___2 = 14,
1: + Opt_immutable = 15,
1: + Opt_dots = 16,
1: + Opt_nodots = 17,
1: + Opt_charset = 18,
1: + Opt_shortname_lower = 19,
1: + Opt_shortname_win95 = 20,
1: + Opt_shortname_winnt = 21,
1: + Opt_shortname_mixed = 22,
1: + Opt_utf8_no = 23,
1: + Opt_utf8_yes = 24,
1: + Opt_uni_xl_no = 25,
1: + Opt_uni_xl_yes = 26,
1: + Opt_nonumtail_no = 27,
1: + Opt_nonumtail_yes = 28,
1: + Opt_obsolete = 29,
1: + Opt_flush = 30,
1: + Opt_tz_utc = 31,
1: + Opt_rodir = 32,
1: + Opt_err_cont___2 = 33,
1: + Opt_err_panic___2 = 34,
1: + Opt_err_ro___2 = 35,
1: + Opt_discard___2 = 36,
1: + Opt_nfs = 37,
1: + Opt_time_offset = 38,
1: + Opt_nfs_stale_rw = 39,
1: + Opt_nfs_nostale_ro = 40,
1: + Opt_err___3 = 41,
1: + Opt_dos1xfloppy = 42,
1: };
1:
1: struct fat_fid {
1: - u32 i_gen;
1: - u32 i_pos_low;
1: - u16 i_pos_hi;
1: - u16 parent_i_pos_hi;
1: - u32 parent_i_pos_low;
1: - u32 parent_i_gen;
1: + u32 i_gen;
1: + u32 i_pos_low;
1: + u16 i_pos_hi;
1: + u16 parent_i_pos_hi;
1: + u32 parent_i_pos_low;
1: + u32 parent_i_gen;
1: };
1:
1: struct shortname_info {
1: - unsigned char lower: 1;
1: - unsigned char upper: 1;
1: - unsigned char valid: 1;
1: + unsigned char lower : 1;
1: + unsigned char upper : 1;
1: + unsigned char valid : 1;
1: };
1:
1: struct iso_directory_record {
1: - __u8 length[1];
1: - __u8 ext_attr_length[1];
1: - __u8 extent[8];
1: - __u8 size[8];
1: - __u8 date[7];
1: - __u8 flags[1];
1: - __u8 file_unit_size[1];
1: - __u8 interleave[1];
1: - __u8 volume_sequence_number[4];
1: - __u8 name_len[1];
1: - char name[0];
1: + __u8 length[1];
1: + __u8 ext_attr_length[1];
1: + __u8 extent[8];
1: + __u8 size[8];
1: + __u8 date[7];
1: + __u8 flags[1];
1: + __u8 file_unit_size[1];
1: + __u8 interleave[1];
1: + __u8 volume_sequence_number[4];
1: + __u8 name_len[1];
1: + char name[0];
1: };
1:
1: struct iso_inode_info {
1: - long unsigned int i_iget5_block;
1: - long unsigned int i_iget5_offset;
1: - unsigned int i_first_extent;
1: - unsigned char i_file_format;
1: - unsigned char i_format_parm[3];
1: - long unsigned int i_next_section_block;
1: - long unsigned int i_next_section_offset;
1: - off_t i_section_size;
1: - struct inode___2 vfs_inode;
1: + long unsigned int i_iget5_block;
1: + long unsigned int i_iget5_offset;
1: + unsigned int i_first_extent;
1: + unsigned char i_file_format;
1: + unsigned char i_format_parm[3];
1: + long unsigned int i_next_section_block;
1: + long unsigned int i_next_section_offset;
1: + off_t i_section_size;
1: + struct inode___2 vfs_inode;
1: };
1:
1: struct isofs_sb_info {
1: - long unsigned int s_ninodes;
1: - long unsigned int s_nzones;
1: - long unsigned int s_firstdatazone;
1: - long unsigned int s_log_zone_size;
1: - long unsigned int s_max_size;
1: - int s_rock_offset;
1: - s32 s_sbsector;
1: - unsigned char s_joliet_level;
1: - unsigned char s_mapping;
1: - unsigned char s_check;
1: - unsigned char s_session;
1: - unsigned int s_high_sierra: 1;
1: - unsigned int s_rock: 2;
1: - unsigned int s_utf8: 1;
1: - unsigned int s_cruft: 1;
1: - unsigned int s_nocompress: 1;
1: - unsigned int s_hide: 1;
1: - unsigned int s_showassoc: 1;
1: - unsigned int s_overriderockperm: 1;
1: - unsigned int s_uid_set: 1;
1: - unsigned int s_gid_set: 1;
1: - umode_t s_fmode;
1: - umode_t s_dmode;
1: - kgid_t s_gid;
1: - kuid_t s_uid;
1: - struct nls_table *s_nls_iocharset;
1: + long unsigned int s_ninodes;
1: + long unsigned int s_nzones;
1: + long unsigned int s_firstdatazone;
1: + long unsigned int s_log_zone_size;
1: + long unsigned int s_max_size;
1: + int s_rock_offset;
1: + s32 s_sbsector;
1: + unsigned char s_joliet_level;
1: + unsigned char s_mapping;
1: + unsigned char s_check;
1: + unsigned char s_session;
1: + unsigned int s_high_sierra : 1;
1: + unsigned int s_rock : 2;
1: + unsigned int s_utf8 : 1;
1: + unsigned int s_cruft : 1;
1: + unsigned int s_nocompress : 1;
1: + unsigned int s_hide : 1;
1: + unsigned int s_showassoc : 1;
1: + unsigned int s_overriderockperm : 1;
1: + unsigned int s_uid_set : 1;
1: + unsigned int s_gid_set : 1;
1: + umode_t s_fmode;
1: + umode_t s_dmode;
1: + kgid_t s_gid;
1: + kuid_t s_uid;
1: + struct nls_table *s_nls_iocharset;
1: };
1:
1: struct cdrom_msf0 {
1: - __u8 minute;
1: - __u8 second;
1: - __u8 frame;
1: + __u8 minute;
1: + __u8 second;
1: + __u8 frame;
1: };
1:
1: union cdrom_addr {
1: - struct cdrom_msf0 msf;
1: - int lba;
1: + struct cdrom_msf0 msf;
1: + int lba;
1: };
1:
1: struct cdrom_tocentry {
1: - __u8 cdte_track;
1: - __u8 cdte_adr: 4;
1: - __u8 cdte_ctrl: 4;
1: - __u8 cdte_format;
1: - union cdrom_addr cdte_addr;
1: - __u8 cdte_datamode;
1: + __u8 cdte_track;
1: + __u8 cdte_adr : 4;
1: + __u8 cdte_ctrl : 4;
1: + __u8 cdte_format;
1: + union cdrom_addr cdte_addr;
1: + __u8 cdte_datamode;
1: };
1:
1: struct cdrom_multisession {
1: - union cdrom_addr addr;
1: - __u8 xa_flag;
1: - __u8 addr_format;
1: + union cdrom_addr addr;
1: + __u8 xa_flag;
1: + __u8 addr_format;
1: };
1:
1: struct iso_volume_descriptor {
1: - __u8 type[1];
1: - char id[5];
1: - __u8 version[1];
1: - __u8 data[2041];
1: + __u8 type[1];
1: + char id[5];
1: + __u8 version[1];
1: + __u8 data[2041];
1: };
1:
1: struct iso_primary_descriptor {
1: - __u8 type[1];
1: - char id[5];
1: - __u8 version[1];
1: - __u8 unused1[1];
1: - char system_id[32];
1: - char volume_id[32];
1: - __u8 unused2[8];
1: - __u8 volume_space_size[8];
1: - __u8 unused3[32];
1: - __u8 volume_set_size[4];
1: - __u8 volume_sequence_number[4];
1: - __u8 logical_block_size[4];
1: - __u8 path_table_size[8];
1: - __u8 type_l_path_table[4];
1: - __u8 opt_type_l_path_table[4];
1: - __u8 type_m_path_table[4];
1: - __u8 opt_type_m_path_table[4];
1: - __u8 root_directory_record[34];
1: - char volume_set_id[128];
1: - char publisher_id[128];
1: - char preparer_id[128];
1: - char application_id[128];
1: - char copyright_file_id[37];
1: - char abstract_file_id[37];
1: - char bibliographic_file_id[37];
1: - __u8 creation_date[17];
1: - __u8 modification_date[17];
1: - __u8 expiration_date[17];
1: - __u8 effective_date[17];
1: - __u8 file_structure_version[1];
1: - __u8 unused4[1];
1: - __u8 application_data[512];
1: - __u8 unused5[653];
1: + __u8 type[1];
1: + char id[5];
1: + __u8 version[1];
1: + __u8 unused1[1];
1: + char system_id[32];
1: + char volume_id[32];
1: + __u8 unused2[8];
1: + __u8 volume_space_size[8];
1: + __u8 unused3[32];
1: + __u8 volume_set_size[4];
1: + __u8 volume_sequence_number[4];
1: + __u8 logical_block_size[4];
1: + __u8 path_table_size[8];
1: + __u8 type_l_path_table[4];
1: + __u8 opt_type_l_path_table[4];
1: + __u8 type_m_path_table[4];
1: + __u8 opt_type_m_path_table[4];
1: + __u8 root_directory_record[34];
1: + char volume_set_id[128];
1: + char publisher_id[128];
1: + char preparer_id[128];
1: + char application_id[128];
1: + char copyright_file_id[37];
1: + char abstract_file_id[37];
1: + char bibliographic_file_id[37];
1: + __u8 creation_date[17];
1: + __u8 modification_date[17];
1: + __u8 expiration_date[17];
1: + __u8 effective_date[17];
1: + __u8 file_structure_version[1];
1: + __u8 unused4[1];
1: + __u8 application_data[512];
1: + __u8 unused5[653];
1: };
1:
1: struct iso_supplementary_descriptor {
1: - __u8 type[1];
1: - char id[5];
1: - __u8 version[1];
1: - __u8 flags[1];
1: - char system_id[32];
1: - char volume_id[32];
1: - __u8 unused2[8];
1: - __u8 volume_space_size[8];
1: - __u8 escape[32];
1: - __u8 volume_set_size[4];
1: - __u8 volume_sequence_number[4];
1: - __u8 logical_block_size[4];
1: - __u8 path_table_size[8];
1: - __u8 type_l_path_table[4];
1: - __u8 opt_type_l_path_table[4];
1: - __u8 type_m_path_table[4];
1: - __u8 opt_type_m_path_table[4];
1: - __u8 root_directory_record[34];
1: - char volume_set_id[128];
1: - char publisher_id[128];
1: - char preparer_id[128];
1: - char application_id[128];
1: - char copyright_file_id[37];
1: - char abstract_file_id[37];
1: - char bibliographic_file_id[37];
1: - __u8 creation_date[17];
1: - __u8 modification_date[17];
1: - __u8 expiration_date[17];
1: - __u8 effective_date[17];
1: - __u8 file_structure_version[1];
1: - __u8 unused4[1];
1: - __u8 application_data[512];
1: - __u8 unused5[653];
1: + __u8 type[1];
1: + char id[5];
1: + __u8 version[1];
1: + __u8 flags[1];
1: + char system_id[32];
1: + char volume_id[32];
1: + __u8 unused2[8];
1: + __u8 volume_space_size[8];
1: + __u8 escape[32];
1: + __u8 volume_set_size[4];
1: + __u8 volume_sequence_number[4];
1: + __u8 logical_block_size[4];
1: + __u8 path_table_size[8];
1: + __u8 type_l_path_table[4];
1: + __u8 opt_type_l_path_table[4];
1: + __u8 type_m_path_table[4];
1: + __u8 opt_type_m_path_table[4];
1: + __u8 root_directory_record[34];
1: + char volume_set_id[128];
1: + char publisher_id[128];
1: + char preparer_id[128];
1: + char application_id[128];
1: + char copyright_file_id[37];
1: + char abstract_file_id[37];
1: + char bibliographic_file_id[37];
1: + __u8 creation_date[17];
1: + __u8 modification_date[17];
1: + __u8 expiration_date[17];
1: + __u8 effective_date[17];
1: + __u8 file_structure_version[1];
1: + __u8 unused4[1];
1: + __u8 application_data[512];
1: + __u8 unused5[653];
1: };
1:
1: struct hs_volume_descriptor {
1: - __u8 foo[8];
1: - __u8 type[1];
1: - char id[5];
1: - __u8 version[1];
1: - __u8 data[2033];
1: + __u8 foo[8];
1: + __u8 type[1];
1: + char id[5];
1: + __u8 version[1];
1: + __u8 data[2033];
1: };
1:
1: struct hs_primary_descriptor {
1: - __u8 foo[8];
1: - __u8 type[1];
1: - __u8 id[5];
1: - __u8 version[1];
1: - __u8 unused1[1];
1: - char system_id[32];
1: - char volume_id[32];
1: - __u8 unused2[8];
1: - __u8 volume_space_size[8];
1: - __u8 unused3[32];
1: - __u8 volume_set_size[4];
1: - __u8 volume_sequence_number[4];
1: - __u8 logical_block_size[4];
1: - __u8 path_table_size[8];
1: - __u8 type_l_path_table[4];
1: - __u8 unused4[28];
1: - __u8 root_directory_record[34];
1: + __u8 foo[8];
1: + __u8 type[1];
1: + __u8 id[5];
1: + __u8 version[1];
1: + __u8 unused1[1];
1: + char system_id[32];
1: + char volume_id[32];
1: + __u8 unused2[8];
1: + __u8 volume_space_size[8];
1: + __u8 unused3[32];
1: + __u8 volume_set_size[4];
1: + __u8 volume_sequence_number[4];
1: + __u8 logical_block_size[4];
1: + __u8 path_table_size[8];
1: + __u8 type_l_path_table[4];
1: + __u8 unused4[28];
1: + __u8 root_directory_record[34];
1: };
1:
1: enum isofs_file_format {
1: - isofs_file_normal = 0,
1: - isofs_file_sparse = 1,
1: - isofs_file_compressed = 2,
1: + isofs_file_normal = 0,
1: + isofs_file_sparse = 1,
1: + isofs_file_compressed = 2,
1: };
1:
1: struct iso9660_options {
1: - unsigned int rock: 1;
1: - unsigned int joliet: 1;
1: - unsigned int cruft: 1;
1: - unsigned int hide: 1;
1: - unsigned int showassoc: 1;
1: - unsigned int nocompress: 1;
1: - unsigned int overriderockperm: 1;
1: - unsigned int uid_set: 1;
1: - unsigned int gid_set: 1;
1: - unsigned int utf8: 1;
1: - unsigned char map;
1: - unsigned char check;
1: - unsigned int blocksize;
1: - umode_t fmode;
1: - umode_t dmode;
1: - kgid_t gid;
1: - kuid_t uid;
1: - char *iocharset;
1: - s32 session;
1: - s32 sbsector;
1: -};
1: -
1: -enum {
1: - Opt_block = 0,
1: - Opt_check_r___2 = 1,
1: - Opt_check_s___2 = 2,
1: - Opt_cruft = 3,
1: - Opt_gid___6 = 4,
1: - Opt_ignore = 5,
1: - Opt_iocharset = 6,
1: - Opt_map_a = 7,
1: - Opt_map_n = 8,
1: - Opt_map_o = 9,
1: - Opt_mode___5 = 10,
1: - Opt_nojoliet = 11,
1: - Opt_norock = 12,
1: - Opt_sb___2 = 13,
1: - Opt_session = 14,
1: - Opt_uid___5 = 15,
1: - Opt_unhide = 16,
1: - Opt_utf8 = 17,
1: - Opt_err___4 = 18,
1: - Opt_nocompress = 19,
1: - Opt_hide = 20,
1: - Opt_showassoc = 21,
1: - Opt_dmode = 22,
1: - Opt_overriderockperm = 23,
1: + unsigned int rock : 1;
1: + unsigned int joliet : 1;
1: + unsigned int cruft : 1;
1: + unsigned int hide : 1;
1: + unsigned int showassoc : 1;
1: + unsigned int nocompress : 1;
1: + unsigned int overriderockperm : 1;
1: + unsigned int uid_set : 1;
1: + unsigned int gid_set : 1;
1: + unsigned int utf8 : 1;
1: + unsigned char map;
1: + unsigned char check;
1: + unsigned int blocksize;
1: + umode_t fmode;
1: + umode_t dmode;
1: + kgid_t gid;
1: + kuid_t uid;
1: + char *iocharset;
1: + s32 session;
1: + s32 sbsector;
1: +};
1: +
1: +enum {
1: + Opt_block = 0,
1: + Opt_check_r___2 = 1,
1: + Opt_check_s___2 = 2,
1: + Opt_cruft = 3,
1: + Opt_gid___6 = 4,
1: + Opt_ignore = 5,
1: + Opt_iocharset = 6,
1: + Opt_map_a = 7,
1: + Opt_map_n = 8,
1: + Opt_map_o = 9,
1: + Opt_mode___5 = 10,
1: + Opt_nojoliet = 11,
1: + Opt_norock = 12,
1: + Opt_sb___2 = 13,
1: + Opt_session = 14,
1: + Opt_uid___5 = 15,
1: + Opt_unhide = 16,
1: + Opt_utf8 = 17,
1: + Opt_err___4 = 18,
1: + Opt_nocompress = 19,
1: + Opt_hide = 20,
1: + Opt_showassoc = 21,
1: + Opt_dmode = 22,
1: + Opt_overriderockperm = 23,
1: };
1:
1: struct isofs_iget5_callback_data {
1: - long unsigned int block;
1: - long unsigned int offset;
1: + long unsigned int block;
1: + long unsigned int offset;
1: };
1:
1: struct SU_SP_s {
1: - __u8 magic[2];
1: - __u8 skip;
1: + __u8 magic[2];
1: + __u8 skip;
1: };
1:
1: struct SU_CE_s {
1: - __u8 extent[8];
1: - __u8 offset[8];
1: - __u8 size[8];
1: + __u8 extent[8];
1: + __u8 offset[8];
1: + __u8 size[8];
1: };
1:
1: struct SU_ER_s {
1: - __u8 len_id;
1: - __u8 len_des;
1: - __u8 len_src;
1: - __u8 ext_ver;
1: - __u8 data[0];
1: + __u8 len_id;
1: + __u8 len_des;
1: + __u8 len_src;
1: + __u8 ext_ver;
1: + __u8 data[0];
1: };
1:
1: struct RR_RR_s {
1: - __u8 flags[1];
1: + __u8 flags[1];
1: };
1:
1: struct RR_PX_s {
1: - __u8 mode[8];
1: - __u8 n_links[8];
1: - __u8 uid[8];
1: - __u8 gid[8];
1: + __u8 mode[8];
1: + __u8 n_links[8];
1: + __u8 uid[8];
1: + __u8 gid[8];
1: };
1:
1: struct RR_PN_s {
1: - __u8 dev_high[8];
1: - __u8 dev_low[8];
1: + __u8 dev_high[8];
1: + __u8 dev_low[8];
1: };
1:
1: struct SL_component {
1: - __u8 flags;
1: - __u8 len;
1: - __u8 text[0];
1: + __u8 flags;
1: + __u8 len;
1: + __u8 text[0];
1: };
1:
1: struct RR_SL_s {
1: - __u8 flags;
1: - struct SL_component link;
1: + __u8 flags;
1: + struct SL_component link;
1: };
1:
1: struct RR_NM_s {
1: - __u8 flags;
1: - char name[0];
1: + __u8 flags;
1: + char name[0];
1: };
1:
1: struct RR_CL_s {
1: - __u8 location[8];
1: + __u8 location[8];
1: };
1:
1: struct RR_PL_s {
1: - __u8 location[8];
1: + __u8 location[8];
1: };
1:
1: struct stamp {
1: - __u8 time[7];
1: + __u8 time[7];
1: };
1:
1: struct RR_TF_s {
1: - __u8 flags;
1: - struct stamp times[0];
1: + __u8 flags;
1: + struct stamp times[0];
1: };
1:
1: struct RR_ZF_s {
1: - __u8 algorithm[2];
1: - __u8 parms[2];
1: - __u8 real_size[8];
1: + __u8 algorithm[2];
1: + __u8 parms[2];
1: + __u8 real_size[8];
1: };
1:
1: struct rock_ridge {
1: - __u8 signature[2];
1: - __u8 len;
1: - __u8 version;
1: - union {
1: - struct SU_SP_s SP;
1: - struct SU_CE_s CE;
1: - struct SU_ER_s ER;
1: - struct RR_RR_s RR;
1: - struct RR_PX_s PX;
1: - struct RR_PN_s PN;
1: - struct RR_SL_s SL;
1: - struct RR_NM_s NM;
1: - struct RR_CL_s CL;
1: - struct RR_PL_s PL;
1: - struct RR_TF_s TF;
1: - struct RR_ZF_s ZF;
1: - } u;
1: + __u8 signature[2];
1: + __u8 len;
1: + __u8 version;
1: + union {
1: + struct SU_SP_s SP;
1: + struct SU_CE_s CE;
1: + struct SU_ER_s ER;
1: + struct RR_RR_s RR;
1: + struct RR_PX_s PX;
1: + struct RR_PN_s PN;
1: + struct RR_SL_s SL;
1: + struct RR_NM_s NM;
1: + struct RR_CL_s CL;
1: + struct RR_PL_s PL;
1: + struct RR_TF_s TF;
1: + struct RR_ZF_s ZF;
1: + } u;
1: };
1:
1: struct rock_state {
1: - void *buffer;
1: - unsigned char *chr;
1: - int len;
1: - int cont_size;
1: - int cont_extent;
1: - int cont_offset;
1: - int cont_loops;
1: - struct inode___2 *inode;
1: + void *buffer;
1: + unsigned char *chr;
1: + int len;
1: + int cont_size;
1: + int cont_extent;
1: + int cont_offset;
1: + int cont_loops;
1: + struct inode___2 *inode;
1: };
1:
1: struct isofs_fid {
1: - u32 block;
1: - u16 offset;
1: - u16 parent_offset;
1: - u32 generation;
1: - u32 parent_block;
1: - u32 parent_generation;
1: + u32 block;
1: + u16 offset;
1: + u16 parent_offset;
1: + u32 generation;
1: + u32 parent_block;
1: + u32 parent_generation;
1: };
1:
1: typedef unsigned char Byte;
1: @@ -44382,22 +44729,22 @@ typedef long unsigned int uLong;
1: struct internal_state;
1:
1: struct z_stream_s {
1: - const Byte *next_in;
1: - uLong avail_in;
1: - uLong total_in;
1: - Byte *next_out;
1: - uLong avail_out;
1: - uLong total_out;
1: - char *msg;
1: - struct internal_state *state;
1: - void *workspace;
1: - int data_type;
1: - uLong adler;
1: - uLong reserved;
1: + const Byte *next_in;
1: + uLong avail_in;
1: + uLong total_in;
1: + Byte *next_out;
1: + uLong avail_out;
1: + uLong total_out;
1: + char *msg;
1: + struct internal_state *state;
1: + void *workspace;
1: + int data_type;
1: + uLong adler;
1: + uLong reserved;
1: };
1:
1: struct internal_state {
1: - int dummy;
1: + int dummy;
1: };
1:
1: typedef struct z_stream_s z_stream;
1: @@ -44407,50 +44754,50 @@ typedef z_stream *z_streamp;
1: typedef __kernel_old_time_t time_t;
1:
1: struct rpc_timer {
1: - struct list_head list;
1: - long unsigned int expires;
1: - struct delayed_work dwork;
1: + struct list_head list;
1: + long unsigned int expires;
1: + struct delayed_work dwork;
1: };
1:
1: struct rpc_wait_queue {
1: - spinlock_t lock;
1: - struct list_head tasks[4];
1: - unsigned char maxpriority;
1: - unsigned char priority;
1: - unsigned char nr;
1: - short unsigned int qlen;
1: - struct rpc_timer timer_list;
1: - const char *name;
1: + spinlock_t lock;
1: + struct list_head tasks[4];
1: + unsigned char maxpriority;
1: + unsigned char priority;
1: + unsigned char nr;
1: + short unsigned int qlen;
1: + struct rpc_timer timer_list;
1: + const char *name;
1: };
1:
1: struct nfs_seqid_counter {
1: - ktime_t create_time;
1: - int owner_id;
1: - int flags;
1: - u32 counter;
1: - spinlock_t lock;
1: - struct list_head list;
1: - struct rpc_wait_queue wait;
1: + ktime_t create_time;
1: + int owner_id;
1: + int flags;
1: + u32 counter;
1: + spinlock_t lock;
1: + struct list_head list;
1: + struct rpc_wait_queue wait;
1: };
1:
1: struct nfs4_stateid_struct {
1: - union {
1: - char data[16];
1: - struct {
1: - __be32 seqid;
1: - char other[12];
1: - };
1: - };
1: - enum {
1: - NFS4_INVALID_STATEID_TYPE = 0,
1: - NFS4_SPECIAL_STATEID_TYPE = 1,
1: - NFS4_OPEN_STATEID_TYPE = 2,
1: - NFS4_LOCK_STATEID_TYPE = 3,
1: - NFS4_DELEGATION_STATEID_TYPE = 4,
1: - NFS4_LAYOUT_STATEID_TYPE = 5,
1: - NFS4_PNFS_DS_STATEID_TYPE = 6,
1: - NFS4_REVOKED_STATEID_TYPE = 7,
1: - } type;
1: + union {
1: + char data[16];
1: + struct {
1: + __be32 seqid;
1: + char other[12];
1: + };
1: + };
1: + enum {
1: + NFS4_INVALID_STATEID_TYPE = 0,
1: + NFS4_SPECIAL_STATEID_TYPE = 1,
1: + NFS4_OPEN_STATEID_TYPE = 2,
1: + NFS4_LOCK_STATEID_TYPE = 3,
1: + NFS4_DELEGATION_STATEID_TYPE = 4,
1: + NFS4_LAYOUT_STATEID_TYPE = 5,
1: + NFS4_PNFS_DS_STATEID_TYPE = 6,
1: + NFS4_REVOKED_STATEID_TYPE = 7,
1: + } type;
1: };
1:
1: typedef struct nfs4_stateid_struct nfs4_stateid;
1: @@ -44458,71 +44805,71 @@ typedef struct nfs4_stateid_struct nfs4_stateid;
1: struct nfs4_state;
1:
1: struct nfs4_lock_state {
1: - struct list_head ls_locks;
1: - struct nfs4_state *ls_state;
1: - long unsigned int ls_flags;
1: - struct nfs_seqid_counter ls_seqid;
1: - nfs4_stateid ls_stateid;
1: - refcount_t ls_count;
1: - fl_owner_t ls_owner;
1: + struct list_head ls_locks;
1: + struct nfs4_state *ls_state;
1: + long unsigned int ls_flags;
1: + struct nfs_seqid_counter ls_seqid;
1: + nfs4_stateid ls_stateid;
1: + refcount_t ls_count;
1: + fl_owner_t ls_owner;
1: };
1:
1: struct in_addr {
1: - __be32 s_addr;
1: + __be32 s_addr;
1: };
1:
1: struct sockaddr_in {
1: - __kernel_sa_family_t sin_family;
1: - __be16 sin_port;
1: - struct in_addr sin_addr;
1: - unsigned char __pad[8];
1: + __kernel_sa_family_t sin_family;
1: + __be16 sin_port;
1: + struct in_addr sin_addr;
1: + unsigned char __pad[8];
1: };
1:
1: struct sockaddr_in6 {
1: - short unsigned int sin6_family;
1: - __be16 sin6_port;
1: - __be32 sin6_flowinfo;
1: - struct in6_addr sin6_addr;
1: - __u32 sin6_scope_id;
1: + short unsigned int sin6_family;
1: + __be16 sin6_port;
1: + __be32 sin6_flowinfo;
1: + struct in6_addr sin6_addr;
1: + __u32 sin6_scope_id;
1: };
1:
1: typedef u32 rpc_authflavor_t;
1:
1: enum rpc_auth_flavors {
1: - RPC_AUTH_NULL = 0,
1: - RPC_AUTH_UNIX = 1,
1: - RPC_AUTH_SHORT = 2,
1: - RPC_AUTH_DES = 3,
1: - RPC_AUTH_KRB = 4,
1: - RPC_AUTH_GSS = 6,
1: - RPC_AUTH_MAXFLAVOR = 8,
1: - RPC_AUTH_GSS_KRB5 = 390003,
1: - RPC_AUTH_GSS_KRB5I = 390004,
1: - RPC_AUTH_GSS_KRB5P = 390005,
1: - RPC_AUTH_GSS_LKEY = 390006,
1: - RPC_AUTH_GSS_LKEYI = 390007,
1: - RPC_AUTH_GSS_LKEYP = 390008,
1: - RPC_AUTH_GSS_SPKM = 390009,
1: - RPC_AUTH_GSS_SPKMI = 390010,
1: - RPC_AUTH_GSS_SPKMP = 390011,
1: + RPC_AUTH_NULL = 0,
1: + RPC_AUTH_UNIX = 1,
1: + RPC_AUTH_SHORT = 2,
1: + RPC_AUTH_DES = 3,
1: + RPC_AUTH_KRB = 4,
1: + RPC_AUTH_GSS = 6,
1: + RPC_AUTH_MAXFLAVOR = 8,
1: + RPC_AUTH_GSS_KRB5 = 390003,
1: + RPC_AUTH_GSS_KRB5I = 390004,
1: + RPC_AUTH_GSS_KRB5P = 390005,
1: + RPC_AUTH_GSS_LKEY = 390006,
1: + RPC_AUTH_GSS_LKEYI = 390007,
1: + RPC_AUTH_GSS_LKEYP = 390008,
1: + RPC_AUTH_GSS_SPKM = 390009,
1: + RPC_AUTH_GSS_SPKMI = 390010,
1: + RPC_AUTH_GSS_SPKMP = 390011,
1: };
1:
1: struct xdr_netobj {
1: - unsigned int len;
1: - u8 *data;
1: + unsigned int len;
1: + u8 *data;
1: };
1:
1: struct rpc_rqst;
1:
1: struct xdr_stream {
1: - __be32 *p;
1: - struct xdr_buf *buf;
1: - __be32 *end;
1: - struct kvec *iov;
1: - struct kvec scratch;
1: - struct page___2 **page_ptr;
1: - unsigned int nwords;
1: - struct rpc_rqst *rqst;
1: + __be32 *p;
1: + struct xdr_buf *buf;
1: + __be32 *end;
1: + struct kvec *iov;
1: + struct kvec scratch;
1: + struct page___2 **page_ptr;
1: + unsigned int nwords;
1: + struct rpc_rqst *rqst;
1: };
1:
1: struct rpc_xprt;
1: @@ -44532,69 +44879,70 @@ struct rpc_task;
1: struct rpc_cred;
1:
1: struct rpc_rqst {
1: - struct rpc_xprt *rq_xprt;
1: - struct xdr_buf rq_snd_buf;
1: - struct xdr_buf rq_rcv_buf;
1: - struct rpc_task *rq_task;
1: - struct rpc_cred *rq_cred;
1: - __be32 rq_xid;
1: - int rq_cong;
1: - u32 rq_seqno;
1: - int rq_enc_pages_num;
1: - struct page___2 **rq_enc_pages;
1: - void (*rq_release_snd_buf)(struct rpc_rqst *);
1: - union {
1: - struct list_head rq_list;
1: - struct rb_node rq_recv;
1: - };
1: - struct list_head rq_xmit;
1: - struct list_head rq_xmit2;
1: - void *rq_buffer;
1: - size_t rq_callsize;
1: - void *rq_rbuffer;
1: - size_t rq_rcvsize;
1: - size_t rq_xmit_bytes_sent;
1: - size_t rq_reply_bytes_recvd;
1: - struct xdr_buf rq_private_buf;
1: - long unsigned int rq_majortimeo;
1: - long unsigned int rq_timeout;
1: - ktime_t rq_rtt;
1: - unsigned int rq_retries;
1: - unsigned int rq_connect_cookie;
1: - atomic_t rq_pin;
1: - u32 rq_bytes_sent;
1: - ktime_t rq_xtime;
1: - int rq_ntrans;
1: -};
1: -
1: -typedef void (*kxdreproc_t)(struct rpc_rqst *, struct xdr_stream *, const void *);
1: + struct rpc_xprt *rq_xprt;
1: + struct xdr_buf rq_snd_buf;
1: + struct xdr_buf rq_rcv_buf;
1: + struct rpc_task *rq_task;
1: + struct rpc_cred *rq_cred;
1: + __be32 rq_xid;
1: + int rq_cong;
1: + u32 rq_seqno;
1: + int rq_enc_pages_num;
1: + struct page___2 **rq_enc_pages;
1: + void (*rq_release_snd_buf)(struct rpc_rqst *);
1: + union {
1: + struct list_head rq_list;
1: + struct rb_node rq_recv;
1: + };
1: + struct list_head rq_xmit;
1: + struct list_head rq_xmit2;
1: + void *rq_buffer;
1: + size_t rq_callsize;
1: + void *rq_rbuffer;
1: + size_t rq_rcvsize;
1: + size_t rq_xmit_bytes_sent;
1: + size_t rq_reply_bytes_recvd;
1: + struct xdr_buf rq_private_buf;
1: + long unsigned int rq_majortimeo;
1: + long unsigned int rq_timeout;
1: + ktime_t rq_rtt;
1: + unsigned int rq_retries;
1: + unsigned int rq_connect_cookie;
1: + atomic_t rq_pin;
1: + u32 rq_bytes_sent;
1: + ktime_t rq_xtime;
1: + int rq_ntrans;
1: +};
1: +
1: +typedef void (*kxdreproc_t)(struct rpc_rqst *, struct xdr_stream *,
1: + const void *);
1:
1: typedef int (*kxdrdproc_t)(struct rpc_rqst *, struct xdr_stream *, void *);
1:
1: struct rpc_procinfo;
1:
1: struct rpc_message {
1: - const struct rpc_procinfo *rpc_proc;
1: - void *rpc_argp;
1: - void *rpc_resp;
1: - const struct cred___2 *rpc_cred;
1: + const struct rpc_procinfo *rpc_proc;
1: + void *rpc_argp;
1: + void *rpc_resp;
1: + const struct cred___2 *rpc_cred;
1: };
1:
1: struct rpc_procinfo {
1: - u32 p_proc;
1: - kxdreproc_t p_encode;
1: - kxdrdproc_t p_decode;
1: - unsigned int p_arglen;
1: - unsigned int p_replen;
1: - unsigned int p_timer;
1: - u32 p_statidx;
1: - const char *p_name;
1: + u32 p_proc;
1: + kxdreproc_t p_encode;
1: + kxdrdproc_t p_decode;
1: + unsigned int p_arglen;
1: + unsigned int p_replen;
1: + unsigned int p_timer;
1: + u32 p_statidx;
1: + const char *p_name;
1: };
1:
1: struct rpc_wait {
1: - struct list_head list;
1: - struct list_head links;
1: - struct list_head timer_list;
1: + struct list_head list;
1: + struct list_head links;
1: + struct list_head timer_list;
1: };
1:
1: struct rpc_call_ops;
1: @@ -44602,63 +44950,63 @@ struct rpc_call_ops;
1: struct rpc_clnt;
1:
1: struct rpc_task {
1: - atomic_t tk_count;
1: - int tk_status;
1: - struct list_head tk_task;
1: - void (*tk_callback)(struct rpc_task *);
1: - void (*tk_action)(struct rpc_task *);
1: - long unsigned int tk_timeout;
1: - long unsigned int tk_runstate;
1: - struct rpc_wait_queue *tk_waitqueue;
1: - union {
1: - struct work_struct tk_work;
1: - struct rpc_wait tk_wait;
1: - } u;
1: - int tk_rpc_status;
1: - struct rpc_message tk_msg;
1: - void *tk_calldata;
1: - const struct rpc_call_ops *tk_ops;
1: - struct rpc_clnt *tk_client;
1: - struct rpc_xprt *tk_xprt;
1: - struct rpc_cred *tk_op_cred;
1: - struct rpc_rqst *tk_rqstp;
1: - struct workqueue_struct *tk_workqueue;
1: - ktime_t tk_start;
1: - pid_t tk_owner;
1: - short unsigned int tk_flags;
1: - short unsigned int tk_timeouts;
1: - short unsigned int tk_pid;
1: - unsigned char tk_priority: 2;
1: - unsigned char tk_garb_retry: 2;
1: - unsigned char tk_cred_retry: 2;
1: - unsigned char tk_rebind_retry: 2;
1: + atomic_t tk_count;
1: + int tk_status;
1: + struct list_head tk_task;
1: + void (*tk_callback)(struct rpc_task *);
1: + void (*tk_action)(struct rpc_task *);
1: + long unsigned int tk_timeout;
1: + long unsigned int tk_runstate;
1: + struct rpc_wait_queue *tk_waitqueue;
1: + union {
1: + struct work_struct tk_work;
1: + struct rpc_wait tk_wait;
1: + } u;
1: + int tk_rpc_status;
1: + struct rpc_message tk_msg;
1: + void *tk_calldata;
1: + const struct rpc_call_ops *tk_ops;
1: + struct rpc_clnt *tk_client;
1: + struct rpc_xprt *tk_xprt;
1: + struct rpc_cred *tk_op_cred;
1: + struct rpc_rqst *tk_rqstp;
1: + struct workqueue_struct *tk_workqueue;
1: + ktime_t tk_start;
1: + pid_t tk_owner;
1: + short unsigned int tk_flags;
1: + short unsigned int tk_timeouts;
1: + short unsigned int tk_pid;
1: + unsigned char tk_priority : 2;
1: + unsigned char tk_garb_retry : 2;
1: + unsigned char tk_cred_retry : 2;
1: + unsigned char tk_rebind_retry : 2;
1: };
1:
1: struct rpc_call_ops {
1: - void (*rpc_call_prepare)(struct rpc_task *, void *);
1: - void (*rpc_call_done)(struct rpc_task *, void *);
1: - void (*rpc_count_stats)(struct rpc_task *, void *);
1: - void (*rpc_release)(void *);
1: + void (*rpc_call_prepare)(struct rpc_task *, void *);
1: + void (*rpc_call_done)(struct rpc_task *, void *);
1: + void (*rpc_count_stats)(struct rpc_task *, void *);
1: + void (*rpc_release)(void *);
1: };
1:
1: struct rpc_pipe_dir_head {
1: - struct list_head pdh_entries;
1: - struct dentry___2 *pdh_dentry;
1: + struct list_head pdh_entries;
1: + struct dentry___2 *pdh_dentry;
1: };
1:
1: struct rpc_rtt {
1: - long unsigned int timeo;
1: - long unsigned int srtt[5];
1: - long unsigned int sdrtt[5];
1: - int ntimeouts[5];
1: + long unsigned int timeo;
1: + long unsigned int srtt[5];
1: + long unsigned int sdrtt[5];
1: + int ntimeouts[5];
1: };
1:
1: struct rpc_timeout {
1: - long unsigned int to_initval;
1: - long unsigned int to_maxval;
1: - long unsigned int to_increment;
1: - unsigned int to_retries;
1: - unsigned char to_exponential;
1: + long unsigned int to_initval;
1: + long unsigned int to_maxval;
1: + long unsigned int to_increment;
1: + unsigned int to_retries;
1: + unsigned char to_exponential;
1: };
1:
1: struct rpc_xprt_switch;
1: @@ -44666,9 +45014,9 @@ struct rpc_xprt_switch;
1: struct rpc_xprt_iter_ops;
1:
1: struct rpc_xprt_iter {
1: - struct rpc_xprt_switch *xpi_xpswitch;
1: - struct rpc_xprt *xpi_cursor;
1: - const struct rpc_xprt_iter_ops *xpi_ops;
1: + struct rpc_xprt_switch *xpi_xpswitch;
1: + struct rpc_xprt *xpi_cursor;
1: + const struct rpc_xprt_iter_ops *xpi_ops;
1: };
1:
1: struct rpc_auth;
1: @@ -44680,38 +45028,38 @@ struct rpc_iostats;
1: struct rpc_program;
1:
1: struct rpc_clnt {
1: - atomic_t cl_count;
1: - unsigned int cl_clid;
1: - struct list_head cl_clients;
1: - struct list_head cl_tasks;
1: - spinlock_t cl_lock;
1: - struct rpc_xprt *cl_xprt;
1: - const struct rpc_procinfo *cl_procinfo;
1: - u32 cl_prog;
1: - u32 cl_vers;
1: - u32 cl_maxproc;
1: - struct rpc_auth *cl_auth;
1: - struct rpc_stat *cl_stats;
1: - struct rpc_iostats *cl_metrics;
1: - unsigned int cl_softrtry: 1;
1: - unsigned int cl_softerr: 1;
1: - unsigned int cl_discrtry: 1;
1: - unsigned int cl_noretranstimeo: 1;
1: - unsigned int cl_autobind: 1;
1: - unsigned int cl_chatty: 1;
1: - struct rpc_rtt *cl_rtt;
1: - const struct rpc_timeout *cl_timeout;
1: - atomic_t cl_swapper;
1: - int cl_nodelen;
1: - char cl_nodename[65];
1: - struct rpc_pipe_dir_head cl_pipedir_objects;
1: - struct rpc_clnt *cl_parent;
1: - struct rpc_rtt cl_rtt_default;
1: - struct rpc_timeout cl_timeout_default;
1: - const struct rpc_program *cl_program;
1: - const char *cl_principal;
1: - struct rpc_xprt_iter cl_xpi;
1: - const struct cred___2 *cl_cred;
1: + atomic_t cl_count;
1: + unsigned int cl_clid;
1: + struct list_head cl_clients;
1: + struct list_head cl_tasks;
1: + spinlock_t cl_lock;
1: + struct rpc_xprt *cl_xprt;
1: + const struct rpc_procinfo *cl_procinfo;
1: + u32 cl_prog;
1: + u32 cl_vers;
1: + u32 cl_maxproc;
1: + struct rpc_auth *cl_auth;
1: + struct rpc_stat *cl_stats;
1: + struct rpc_iostats *cl_metrics;
1: + unsigned int cl_softrtry : 1;
1: + unsigned int cl_softerr : 1;
1: + unsigned int cl_discrtry : 1;
1: + unsigned int cl_noretranstimeo : 1;
1: + unsigned int cl_autobind : 1;
1: + unsigned int cl_chatty : 1;
1: + struct rpc_rtt *cl_rtt;
1: + const struct rpc_timeout *cl_timeout;
1: + atomic_t cl_swapper;
1: + int cl_nodelen;
1: + char cl_nodename[65];
1: + struct rpc_pipe_dir_head cl_pipedir_objects;
1: + struct rpc_clnt *cl_parent;
1: + struct rpc_rtt cl_rtt_default;
1: + struct rpc_timeout cl_timeout_default;
1: + const struct rpc_program *cl_program;
1: + const char *cl_principal;
1: + struct rpc_xprt_iter cl_xpi;
1: + const struct cred___2 *cl_cred;
1: };
1:
1: struct rpc_xprt_ops;
1: @@ -44719,141 +45067,142 @@ struct rpc_xprt_ops;
1: struct svc_xprt;
1:
1: struct rpc_xprt {
1: - struct kref kref;
1: - const struct rpc_xprt_ops *ops;
1: - const struct rpc_timeout *timeout;
1: - struct __kernel_sockaddr_storage addr;
1: - size_t addrlen;
1: - int prot;
1: - long unsigned int cong;
1: - long unsigned int cwnd;
1: - size_t max_payload;
1: - struct rpc_wait_queue binding;
1: - struct rpc_wait_queue sending;
1: - struct rpc_wait_queue pending;
1: - struct rpc_wait_queue backlog;
1: - struct list_head free;
1: - unsigned int max_reqs;
1: - unsigned int min_reqs;
1: - unsigned int num_reqs;
1: - long unsigned int state;
1: - unsigned char resvport: 1;
1: - unsigned char reuseport: 1;
1: - atomic_t swapper;
1: - unsigned int bind_index;
1: - struct list_head xprt_switch;
1: - long unsigned int bind_timeout;
1: - long unsigned int reestablish_timeout;
1: - unsigned int connect_cookie;
1: - struct work_struct task_cleanup;
1: - struct timer_list timer;
1: - long unsigned int last_used;
1: - long unsigned int idle_timeout;
1: - long unsigned int connect_timeout;
1: - long unsigned int max_reconnect_timeout;
1: - atomic_long_t queuelen;
1: - spinlock_t transport_lock;
1: - spinlock_t reserve_lock;
1: - spinlock_t queue_lock;
1: - u32 xid;
1: - struct rpc_task *snd_task;
1: - struct list_head xmit_queue;
1: - struct svc_xprt *bc_xprt;
1: - struct rb_root recv_queue;
1: - struct {
1: - long unsigned int bind_count;
1: - long unsigned int connect_count;
1: - long unsigned int connect_start;
1: - long unsigned int connect_time;
1: - long unsigned int sends;
1: - long unsigned int recvs;
1: - long unsigned int bad_xids;
1: - long unsigned int max_slots;
1: - long long unsigned int req_u;
1: - long long unsigned int bklog_u;
1: - long long unsigned int sending_u;
1: - long long unsigned int pending_u;
1: - } stat;
1: - struct net___2 *xprt_net;
1: - const char *servername;
1: - const char *address_strings[6];
1: - struct callback_head rcu;
1: + struct kref kref;
1: + const struct rpc_xprt_ops *ops;
1: + const struct rpc_timeout *timeout;
1: + struct __kernel_sockaddr_storage addr;
1: + size_t addrlen;
1: + int prot;
1: + long unsigned int cong;
1: + long unsigned int cwnd;
1: + size_t max_payload;
1: + struct rpc_wait_queue binding;
1: + struct rpc_wait_queue sending;
1: + struct rpc_wait_queue pending;
1: + struct rpc_wait_queue backlog;
1: + struct list_head free;
1: + unsigned int max_reqs;
1: + unsigned int min_reqs;
1: + unsigned int num_reqs;
1: + long unsigned int state;
1: + unsigned char resvport : 1;
1: + unsigned char reuseport : 1;
1: + atomic_t swapper;
1: + unsigned int bind_index;
1: + struct list_head xprt_switch;
1: + long unsigned int bind_timeout;
1: + long unsigned int reestablish_timeout;
1: + unsigned int connect_cookie;
1: + struct work_struct task_cleanup;
1: + struct timer_list timer;
1: + long unsigned int last_used;
1: + long unsigned int idle_timeout;
1: + long unsigned int connect_timeout;
1: + long unsigned int max_reconnect_timeout;
1: + atomic_long_t queuelen;
1: + spinlock_t transport_lock;
1: + spinlock_t reserve_lock;
1: + spinlock_t queue_lock;
1: + u32 xid;
1: + struct rpc_task *snd_task;
1: + struct list_head xmit_queue;
1: + struct svc_xprt *bc_xprt;
1: + struct rb_root recv_queue;
1: + struct {
1: + long unsigned int bind_count;
1: + long unsigned int connect_count;
1: + long unsigned int connect_start;
1: + long unsigned int connect_time;
1: + long unsigned int sends;
1: + long unsigned int recvs;
1: + long unsigned int bad_xids;
1: + long unsigned int max_slots;
1: + long long unsigned int req_u;
1: + long long unsigned int bklog_u;
1: + long long unsigned int sending_u;
1: + long long unsigned int pending_u;
1: + } stat;
1: + struct net___2 *xprt_net;
1: + const char *servername;
1: + const char *address_strings[6];
1: + struct callback_head rcu;
1: };
1:
1: struct rpc_credops;
1:
1: struct rpc_cred {
1: - struct hlist_node cr_hash;
1: - struct list_head cr_lru;
1: - struct callback_head cr_rcu;
1: - struct rpc_auth *cr_auth;
1: - const struct rpc_credops *cr_ops;
1: - long unsigned int cr_expire;
1: - long unsigned int cr_flags;
1: - refcount_t cr_count;
1: - const struct cred___2 *cr_cred;
1: + struct hlist_node cr_hash;
1: + struct list_head cr_lru;
1: + struct callback_head cr_rcu;
1: + struct rpc_auth *cr_auth;
1: + const struct rpc_credops *cr_ops;
1: + long unsigned int cr_expire;
1: + long unsigned int cr_flags;
1: + refcount_t cr_count;
1: + const struct cred___2 *cr_cred;
1: };
1:
1: struct rpc_task_setup {
1: - struct rpc_task *task;
1: - struct rpc_clnt *rpc_client;
1: - struct rpc_xprt *rpc_xprt;
1: - struct rpc_cred *rpc_op_cred;
1: - const struct rpc_message *rpc_message;
1: - const struct rpc_call_ops *callback_ops;
1: - void *callback_data;
1: - struct workqueue_struct *workqueue;
1: - short unsigned int flags;
1: - signed char priority;
1: + struct rpc_task *task;
1: + struct rpc_clnt *rpc_client;
1: + struct rpc_xprt *rpc_xprt;
1: + struct rpc_cred *rpc_op_cred;
1: + const struct rpc_message *rpc_message;
1: + const struct rpc_call_ops *callback_ops;
1: + void *callback_data;
1: + struct workqueue_struct *workqueue;
1: + short unsigned int flags;
1: + signed char priority;
1: };
1:
1: enum rpc_display_format_t {
1: - RPC_DISPLAY_ADDR = 0,
1: - RPC_DISPLAY_PORT = 1,
1: - RPC_DISPLAY_PROTO = 2,
1: - RPC_DISPLAY_HEX_ADDR = 3,
1: - RPC_DISPLAY_HEX_PORT = 4,
1: - RPC_DISPLAY_NETID = 5,
1: - RPC_DISPLAY_MAX = 6,
1: + RPC_DISPLAY_ADDR = 0,
1: + RPC_DISPLAY_PORT = 1,
1: + RPC_DISPLAY_PROTO = 2,
1: + RPC_DISPLAY_HEX_ADDR = 3,
1: + RPC_DISPLAY_HEX_PORT = 4,
1: + RPC_DISPLAY_NETID = 5,
1: + RPC_DISPLAY_MAX = 6,
1: };
1:
1: struct rpc_xprt_ops {
1: - void (*set_buffer_size)(struct rpc_xprt *, size_t, size_t);
1: - int (*reserve_xprt)(struct rpc_xprt *, struct rpc_task *);
1: - void (*release_xprt)(struct rpc_xprt *, struct rpc_task *);
1: - void (*alloc_slot)(struct rpc_xprt *, struct rpc_task *);
1: - void (*free_slot)(struct rpc_xprt *, struct rpc_rqst *);
1: - void (*rpcbind)(struct rpc_task *);
1: - void (*set_port)(struct rpc_xprt *, short unsigned int);
1: - void (*connect)(struct rpc_xprt *, struct rpc_task *);
1: - int (*buf_alloc)(struct rpc_task *);
1: - void (*buf_free)(struct rpc_task *);
1: - void (*prepare_request)(struct rpc_rqst *);
1: - int (*send_request)(struct rpc_rqst *);
1: - void (*wait_for_reply_request)(struct rpc_task *);
1: - void (*timer)(struct rpc_xprt *, struct rpc_task *);
1: - void (*release_request)(struct rpc_task *);
1: - void (*close)(struct rpc_xprt *);
1: - void (*destroy)(struct rpc_xprt *);
1: - void (*set_connect_timeout)(struct rpc_xprt *, long unsigned int, long unsigned int);
1: - void (*print_stats)(struct rpc_xprt *, struct seq_file *);
1: - int (*enable_swap)(struct rpc_xprt *);
1: - void (*disable_swap)(struct rpc_xprt *);
1: - void (*inject_disconnect)(struct rpc_xprt *);
1: - int (*bc_setup)(struct rpc_xprt *, unsigned int);
1: - size_t (*bc_maxpayload)(struct rpc_xprt *);
1: - unsigned int (*bc_num_slots)(struct rpc_xprt *);
1: - void (*bc_free_rqst)(struct rpc_rqst *);
1: - void (*bc_destroy)(struct rpc_xprt *, unsigned int);
1: + void (*set_buffer_size)(struct rpc_xprt *, size_t, size_t);
1: + int (*reserve_xprt)(struct rpc_xprt *, struct rpc_task *);
1: + void (*release_xprt)(struct rpc_xprt *, struct rpc_task *);
1: + void (*alloc_slot)(struct rpc_xprt *, struct rpc_task *);
1: + void (*free_slot)(struct rpc_xprt *, struct rpc_rqst *);
1: + void (*rpcbind)(struct rpc_task *);
1: + void (*set_port)(struct rpc_xprt *, short unsigned int);
1: + void (*connect)(struct rpc_xprt *, struct rpc_task *);
1: + int (*buf_alloc)(struct rpc_task *);
1: + void (*buf_free)(struct rpc_task *);
1: + void (*prepare_request)(struct rpc_rqst *);
1: + int (*send_request)(struct rpc_rqst *);
1: + void (*wait_for_reply_request)(struct rpc_task *);
1: + void (*timer)(struct rpc_xprt *, struct rpc_task *);
1: + void (*release_request)(struct rpc_task *);
1: + void (*close)(struct rpc_xprt *);
1: + void (*destroy)(struct rpc_xprt *);
1: + void (*set_connect_timeout)(struct rpc_xprt *, long unsigned int,
1: + long unsigned int);
1: + void (*print_stats)(struct rpc_xprt *, struct seq_file *);
1: + int (*enable_swap)(struct rpc_xprt *);
1: + void (*disable_swap)(struct rpc_xprt *);
1: + void (*inject_disconnect)(struct rpc_xprt *);
1: + int (*bc_setup)(struct rpc_xprt *, unsigned int);
1: + size_t (*bc_maxpayload)(struct rpc_xprt *);
1: + unsigned int (*bc_num_slots)(struct rpc_xprt *);
1: + void (*bc_free_rqst)(struct rpc_rqst *);
1: + void (*bc_destroy)(struct rpc_xprt *, unsigned int);
1: };
1:
1: enum xprt_transports {
1: - XPRT_TRANSPORT_UDP = 17,
1: - XPRT_TRANSPORT_TCP = 6,
1: - XPRT_TRANSPORT_BC_TCP = -2147483642,
1: - XPRT_TRANSPORT_RDMA = 256,
1: - XPRT_TRANSPORT_BC_RDMA = -2147483392,
1: - XPRT_TRANSPORT_LOCAL = 257,
1: + XPRT_TRANSPORT_UDP = 17,
1: + XPRT_TRANSPORT_TCP = 6,
1: + XPRT_TRANSPORT_BC_TCP = -2147483642,
1: + XPRT_TRANSPORT_RDMA = 256,
1: + XPRT_TRANSPORT_BC_RDMA = -2147483392,
1: + XPRT_TRANSPORT_LOCAL = 257,
1: };
1:
1: struct svc_xprt_class;
1: @@ -44863,46 +45212,46 @@ struct svc_xprt_ops;
1: struct svc_serv;
1:
1: struct svc_xprt {
1: - struct svc_xprt_class *xpt_class;
1: - const struct svc_xprt_ops *xpt_ops;
1: - struct kref xpt_ref;
1: - struct list_head xpt_list;
1: - struct list_head xpt_ready;
1: - long unsigned int xpt_flags;
1: - struct svc_serv *xpt_server;
1: - atomic_t xpt_reserved;
1: - atomic_t xpt_nr_rqsts;
1: - struct mutex xpt_mutex;
1: - spinlock_t xpt_lock;
1: - void *xpt_auth_cache;
1: - struct list_head xpt_deferred;
1: - struct __kernel_sockaddr_storage xpt_local;
1: - size_t xpt_locallen;
1: - struct __kernel_sockaddr_storage xpt_remote;
1: - size_t xpt_remotelen;
1: - char xpt_remotebuf[58];
1: - struct list_head xpt_users;
1: - struct net___2 *xpt_net;
1: - const struct cred___2 *xpt_cred;
1: - struct rpc_xprt *xpt_bc_xprt;
1: - struct rpc_xprt_switch *xpt_bc_xps;
1: + struct svc_xprt_class *xpt_class;
1: + const struct svc_xprt_ops *xpt_ops;
1: + struct kref xpt_ref;
1: + struct list_head xpt_list;
1: + struct list_head xpt_ready;
1: + long unsigned int xpt_flags;
1: + struct svc_serv *xpt_server;
1: + atomic_t xpt_reserved;
1: + atomic_t xpt_nr_rqsts;
1: + struct mutex xpt_mutex;
1: + spinlock_t xpt_lock;
1: + void *xpt_auth_cache;
1: + struct list_head xpt_deferred;
1: + struct __kernel_sockaddr_storage xpt_local;
1: + size_t xpt_locallen;
1: + struct __kernel_sockaddr_storage xpt_remote;
1: + size_t xpt_remotelen;
1: + char xpt_remotebuf[58];
1: + struct list_head xpt_users;
1: + struct net___2 *xpt_net;
1: + const struct cred___2 *xpt_cred;
1: + struct rpc_xprt *xpt_bc_xprt;
1: + struct rpc_xprt_switch *xpt_bc_xps;
1: };
1:
1: struct rpc_xprt_switch {
1: - spinlock_t xps_lock;
1: - struct kref xps_kref;
1: - unsigned int xps_nxprts;
1: - unsigned int xps_nactive;
1: - atomic_long_t xps_queuelen;
1: - struct list_head xps_xprt_list;
1: - struct net___2 *xps_net;
1: - const struct rpc_xprt_iter_ops *xps_iter_ops;
1: - struct callback_head xps_rcu;
1: + spinlock_t xps_lock;
1: + struct kref xps_kref;
1: + unsigned int xps_nxprts;
1: + unsigned int xps_nactive;
1: + atomic_long_t xps_queuelen;
1: + struct list_head xps_xprt_list;
1: + struct net___2 *xps_net;
1: + const struct rpc_xprt_iter_ops *xps_iter_ops;
1: + struct callback_head xps_rcu;
1: };
1:
1: struct auth_cred {
1: - const struct cred___2 *cred;
1: - const char *principal;
1: + const struct cred___2 *cred;
1: + const char *principal;
1: };
1:
1: struct rpc_authops;
1: @@ -44910,30 +45259,30 @@ struct rpc_authops;
1: struct rpc_cred_cache;
1:
1: struct rpc_auth {
1: - unsigned int au_cslack;
1: - unsigned int au_rslack;
1: - unsigned int au_verfsize;
1: - unsigned int au_ralign;
1: - unsigned int au_flags;
1: - const struct rpc_authops *au_ops;
1: - rpc_authflavor_t au_flavor;
1: - refcount_t au_count;
1: - struct rpc_cred_cache *au_credcache;
1: + unsigned int au_cslack;
1: + unsigned int au_rslack;
1: + unsigned int au_verfsize;
1: + unsigned int au_ralign;
1: + unsigned int au_flags;
1: + const struct rpc_authops *au_ops;
1: + rpc_authflavor_t au_flavor;
1: + refcount_t au_count;
1: + struct rpc_cred_cache *au_credcache;
1: };
1:
1: struct rpc_credops {
1: - const char *cr_name;
1: - int (*cr_init)(struct rpc_auth *, struct rpc_cred *);
1: - void (*crdestroy)(struct rpc_cred *);
1: - int (*crmatch)(struct auth_cred *, struct rpc_cred *, int);
1: - int (*crmarshal)(struct rpc_task *, struct xdr_stream *);
1: - int (*crrefresh)(struct rpc_task *);
1: - int (*crvalidate)(struct rpc_task *, struct xdr_stream *);
1: - int (*crwrap_req)(struct rpc_task *, struct xdr_stream *);
1: - int (*crunwrap_resp)(struct rpc_task *, struct xdr_stream *);
1: - int (*crkey_timeout)(struct rpc_cred *);
1: - char * (*crstringify_acceptor)(struct rpc_cred *);
1: - bool (*crneed_reencode)(struct rpc_task *);
1: + const char *cr_name;
1: + int (*cr_init)(struct rpc_auth *, struct rpc_cred *);
1: + void (*crdestroy)(struct rpc_cred *);
1: + int (*crmatch)(struct auth_cred *, struct rpc_cred *, int);
1: + int (*crmarshal)(struct rpc_task *, struct xdr_stream *);
1: + int (*crrefresh)(struct rpc_task *);
1: + int (*crvalidate)(struct rpc_task *, struct xdr_stream *);
1: + int (*crwrap_req)(struct rpc_task *, struct xdr_stream *);
1: + int (*crunwrap_resp)(struct rpc_task *, struct xdr_stream *);
1: + int (*crkey_timeout)(struct rpc_cred *);
1: + char *(*crstringify_acceptor)(struct rpc_cred *);
1: + bool (*crneed_reencode)(struct rpc_task *);
1: };
1:
1: struct rpc_auth_create_args;
1: @@ -44941,72 +45290,74 @@ struct rpc_auth_create_args;
1: struct rpcsec_gss_info;
1:
1: struct rpc_authops {
1: - struct module___2 *owner;
1: - rpc_authflavor_t au_flavor;
1: - char *au_name;
1: - struct rpc_auth * (*create)(const struct rpc_auth_create_args *, struct rpc_clnt *);
1: - void (*destroy)(struct rpc_auth *);
1: - int (*hash_cred)(struct auth_cred *, unsigned int);
1: - struct rpc_cred * (*lookup_cred)(struct rpc_auth *, struct auth_cred *, int);
1: - struct rpc_cred * (*crcreate)(struct rpc_auth *, struct auth_cred *, int, gfp_t);
1: - int (*list_pseudoflavors)(rpc_authflavor_t *, int);
1: - rpc_authflavor_t (*info2flavor)(struct rpcsec_gss_info *);
1: - int (*flavor2info)(rpc_authflavor_t, struct rpcsec_gss_info *);
1: - int (*key_timeout)(struct rpc_auth *, struct rpc_cred *);
1: + struct module___2 *owner;
1: + rpc_authflavor_t au_flavor;
1: + char *au_name;
1: + struct rpc_auth *(*create)(const struct rpc_auth_create_args *,
1: + struct rpc_clnt *);
1: + void (*destroy)(struct rpc_auth *);
1: + int (*hash_cred)(struct auth_cred *, unsigned int);
1: + struct rpc_cred *(*lookup_cred)(struct rpc_auth *, struct auth_cred *, int);
1: + struct rpc_cred *(*crcreate)(struct rpc_auth *, struct auth_cred *, int,
1: + gfp_t);
1: + int (*list_pseudoflavors)(rpc_authflavor_t *, int);
1: + rpc_authflavor_t (*info2flavor)(struct rpcsec_gss_info *);
1: + int (*flavor2info)(rpc_authflavor_t, struct rpcsec_gss_info *);
1: + int (*key_timeout)(struct rpc_auth *, struct rpc_cred *);
1: };
1:
1: struct rpc_auth_create_args {
1: - rpc_authflavor_t pseudoflavor;
1: - const char *target_name;
1: + rpc_authflavor_t pseudoflavor;
1: + const char *target_name;
1: };
1:
1: struct rpcsec_gss_oid {
1: - unsigned int len;
1: - u8 data[32];
1: + unsigned int len;
1: + u8 data[32];
1: };
1:
1: struct rpcsec_gss_info {
1: - struct rpcsec_gss_oid oid;
1: - u32 qop;
1: - u32 service;
1: + struct rpcsec_gss_oid oid;
1: + u32 qop;
1: + u32 service;
1: };
1:
1: struct rpc_stat {
1: - const struct rpc_program *program;
1: - unsigned int netcnt;
1: - unsigned int netudpcnt;
1: - unsigned int nettcpcnt;
1: - unsigned int nettcpconn;
1: - unsigned int netreconn;
1: - unsigned int rpccnt;
1: - unsigned int rpcretrans;
1: - unsigned int rpcauthrefresh;
1: - unsigned int rpcgarbage;
1: + const struct rpc_program *program;
1: + unsigned int netcnt;
1: + unsigned int netudpcnt;
1: + unsigned int nettcpcnt;
1: + unsigned int nettcpconn;
1: + unsigned int netreconn;
1: + unsigned int rpccnt;
1: + unsigned int rpcretrans;
1: + unsigned int rpcauthrefresh;
1: + unsigned int rpcgarbage;
1: };
1:
1: struct rpc_version;
1:
1: struct rpc_program {
1: - const char *name;
1: - u32 number;
1: - unsigned int nrvers;
1: - const struct rpc_version **version;
1: - struct rpc_stat *stats;
1: - const char *pipe_dir_name;
1: + const char *name;
1: + u32 number;
1: + unsigned int nrvers;
1: + const struct rpc_version **version;
1: + struct rpc_stat *stats;
1: + const char *pipe_dir_name;
1: };
1:
1: struct svc_program;
1:
1: struct svc_stat {
1: - struct svc_program *program;
1: - unsigned int netcnt;
1: - unsigned int netudpcnt;
1: - unsigned int nettcpcnt;
1: - unsigned int nettcpconn;
1: - unsigned int rpccnt;
1: - unsigned int rpcbadfmt;
1: - unsigned int rpcbadauth;
1: - unsigned int rpcbadclnt;
1: + struct svc_program *program;
1: + unsigned int netcnt;
1: + unsigned int netudpcnt;
1: + unsigned int nettcpcnt;
1: + unsigned int nettcpconn;
1: + unsigned int rpccnt;
1: + unsigned int rpcbadfmt;
1: + unsigned int rpcbadauth;
1: + unsigned int rpcbadclnt;
1: };
1:
1: struct svc_version;
1: @@ -45016,130 +45367,130 @@ struct svc_rqst;
1: struct svc_process_info;
1:
1: struct svc_program {
1: - struct svc_program *pg_next;
1: - u32 pg_prog;
1: - unsigned int pg_lovers;
1: - unsigned int pg_hivers;
1: - unsigned int pg_nvers;
1: - const struct svc_version **pg_vers;
1: - char *pg_name;
1: - char *pg_class;
1: - struct svc_stat *pg_stats;
1: - int (*pg_authenticate)(struct svc_rqst *);
1: - __be32 (*pg_init_request)(struct svc_rqst *, const struct svc_program *, struct svc_process_info *);
1: - int (*pg_rpcbind_set)(struct net___2 *, const struct svc_program *, u32, int, short unsigned int, short unsigned int);
1: + struct svc_program *pg_next;
1: + u32 pg_prog;
1: + unsigned int pg_lovers;
1: + unsigned int pg_hivers;
1: + unsigned int pg_nvers;
1: + const struct svc_version **pg_vers;
1: + char *pg_name;
1: + char *pg_class;
1: + struct svc_stat *pg_stats;
1: + int (*pg_authenticate)(struct svc_rqst *);
1: + __be32 (*pg_init_request)(struct svc_rqst *, const struct svc_program *,
1: + struct svc_process_info *);
1: + int (*pg_rpcbind_set)(struct net___2 *, const struct svc_program *, u32, int,
1: + short unsigned int, short unsigned int);
1: };
1:
1: struct rpc_pipe_msg {
1: - struct list_head list;
1: - void *data;
1: - size_t len;
1: - size_t copied;
1: - int errno;
1: + struct list_head list;
1: + void *data;
1: + size_t len;
1: + size_t copied;
1: + int errno;
1: };
1:
1: struct rpc_pipe_ops {
1: - ssize_t (*upcall)(struct file___2 *, struct rpc_pipe_msg *, char *, size_t);
1: - ssize_t (*downcall)(struct file___2 *, const char *, size_t);
1: - void (*release_pipe)(struct inode___2 *);
1: - int (*open_pipe)(struct inode___2 *);
1: - void (*destroy_msg)(struct rpc_pipe_msg *);
1: + ssize_t (*upcall)(struct file___2 *, struct rpc_pipe_msg *, char *, size_t);
1: + ssize_t (*downcall)(struct file___2 *, const char *, size_t);
1: + void (*release_pipe)(struct inode___2 *);
1: + int (*open_pipe)(struct inode___2 *);
1: + void (*destroy_msg)(struct rpc_pipe_msg *);
1: };
1:
1: struct rpc_pipe {
1: - struct list_head pipe;
1: - struct list_head in_upcall;
1: - struct list_head in_downcall;
1: - int pipelen;
1: - int nreaders;
1: - int nwriters;
1: - int flags;
1: - struct delayed_work queue_timeout;
1: - const struct rpc_pipe_ops *ops;
1: - spinlock_t lock;
1: - struct dentry___2 *dentry;
1: + struct list_head pipe;
1: + struct list_head in_upcall;
1: + struct list_head in_downcall;
1: + int pipelen;
1: + int nreaders;
1: + int nwriters;
1: + int flags;
1: + struct delayed_work queue_timeout;
1: + const struct rpc_pipe_ops *ops;
1: + spinlock_t lock;
1: + struct dentry___2 *dentry;
1: };
1:
1: struct rpc_xprt_iter_ops {
1: - void (*xpi_rewind)(struct rpc_xprt_iter *);
1: - struct rpc_xprt * (*xpi_xprt)(struct rpc_xprt_iter *);
1: - struct rpc_xprt * (*xpi_next)(struct rpc_xprt_iter *);
1: + void (*xpi_rewind)(struct rpc_xprt_iter *);
1: + struct rpc_xprt *(*xpi_xprt)(struct rpc_xprt_iter *);
1: + struct rpc_xprt *(*xpi_next)(struct rpc_xprt_iter *);
1: };
1:
1: struct rpc_iostats {
1: - spinlock_t om_lock;
1: - long unsigned int om_ops;
1: - long unsigned int om_ntrans;
1: - long unsigned int om_timeouts;
1: - long long unsigned int om_bytes_sent;
1: - long long unsigned int om_bytes_recv;
1: - ktime_t om_queue;
1: - ktime_t om_rtt;
1: - ktime_t om_execute;
1: - long unsigned int om_error_status;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + spinlock_t om_lock;
1: + long unsigned int om_ops;
1: + long unsigned int om_ntrans;
1: + long unsigned int om_timeouts;
1: + long long unsigned int om_bytes_sent;
1: + long long unsigned int om_bytes_recv;
1: + ktime_t om_queue;
1: + ktime_t om_rtt;
1: + ktime_t om_execute;
1: + long unsigned int om_error_status;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct rpc_version {
1: - u32 number;
1: - unsigned int nrprocs;
1: - const struct rpc_procinfo *procs;
1: - unsigned int *counts;
1: + u32 number;
1: + unsigned int nrprocs;
1: + const struct rpc_procinfo *procs;
1: + unsigned int *counts;
1: };
1:
1: struct rpc_create_args {
1: - struct net___2 *net;
1: - int protocol;
1: - struct sockaddr *address;
1: - size_t addrsize;
1: - struct sockaddr *saddress;
1: - const struct rpc_timeout *timeout;
1: - const char *servername;
1: - const char *nodename;
1: - const struct rpc_program *program;
1: - u32 prognumber;
1: - u32 version;
1: - rpc_authflavor_t authflavor;
1: - u32 nconnect;
1: - long unsigned int flags;
1: - char *client_name;
1: - struct svc_xprt *bc_xprt;
1: - const struct cred___2 *cred;
1: + struct net___2 *net;
1: + int protocol;
1: + struct sockaddr *address;
1: + size_t addrsize;
1: + struct sockaddr *saddress;
1: + const struct rpc_timeout *timeout;
1: + const char *servername;
1: + const char *nodename;
1: + const struct rpc_program *program;
1: + u32 prognumber;
1: + u32 version;
1: + rpc_authflavor_t authflavor;
1: + u32 nconnect;
1: + long unsigned int flags;
1: + char *client_name;
1: + struct svc_xprt *bc_xprt;
1: + const struct cred___2 *cred;
1: };
1:
1: struct nfs_fh {
1: - short unsigned int size;
1: - unsigned char data[128];
1: + short unsigned int size;
1: + unsigned char data[128];
1: };
1:
1: enum nfs3_stable_how {
1: - NFS_UNSTABLE = 0,
1: - NFS_DATA_SYNC = 1,
1: - NFS_FILE_SYNC = 2,
1: - NFS_INVALID_STABLE_HOW = -1,
1: + NFS_UNSTABLE = 0,
1: + NFS_DATA_SYNC = 1,
1: + NFS_FILE_SYNC = 2,
1: + NFS_INVALID_STABLE_HOW = -1,
1: };
1:
1: struct nfs4_label {
1: - uint32_t lfs;
1: - uint32_t pi;
1: - u32 len;
1: - char *label;
1: + uint32_t lfs;
1: + uint32_t pi;
1: + u32 len;
1: + char *label;
1: };
1:
1: -typedef struct {
1: - char data[8];
1: -} nfs4_verifier;
1: +typedef struct { char data[8]; } nfs4_verifier;
1:
1: struct gss_api_mech;
1:
1: struct gss_ctx {
1: - struct gss_api_mech *mech_type;
1: - void *internal_ctx_id;
1: + struct gss_api_mech *mech_type;
1: + void *internal_ctx_id;
1: };
1:
1: struct gss_api_ops;
1: @@ -45147,182 +45498,184 @@ struct gss_api_ops;
1: struct pf_desc;
1:
1: struct gss_api_mech {
1: - struct list_head gm_list;
1: - struct module___2 *gm_owner;
1: - struct rpcsec_gss_oid gm_oid;
1: - char *gm_name;
1: - const struct gss_api_ops *gm_ops;
1: - int gm_pf_num;
1: - struct pf_desc *gm_pfs;
1: - const char *gm_upcall_enctypes;
1: + struct list_head gm_list;
1: + struct module___2 *gm_owner;
1: + struct rpcsec_gss_oid gm_oid;
1: + char *gm_name;
1: + const struct gss_api_ops *gm_ops;
1: + int gm_pf_num;
1: + struct pf_desc *gm_pfs;
1: + const char *gm_upcall_enctypes;
1: };
1:
1: struct pf_desc {
1: - u32 pseudoflavor;
1: - u32 qop;
1: - u32 service;
1: - char *name;
1: - char *auth_domain_name;
1: - bool datatouch;
1: + u32 pseudoflavor;
1: + u32 qop;
1: + u32 service;
1: + char *name;
1: + char *auth_domain_name;
1: + bool datatouch;
1: };
1:
1: struct gss_api_ops {
1: - int (*gss_import_sec_context)(const void *, size_t, struct gss_ctx *, time_t *, gfp_t);
1: - u32 (*gss_get_mic)(struct gss_ctx *, struct xdr_buf *, struct xdr_netobj *);
1: - u32 (*gss_verify_mic)(struct gss_ctx *, struct xdr_buf *, struct xdr_netobj *);
1: - u32 (*gss_wrap)(struct gss_ctx *, int, struct xdr_buf *, struct page___2 **);
1: - u32 (*gss_unwrap)(struct gss_ctx *, int, struct xdr_buf *);
1: - void (*gss_delete_sec_context)(void *);
1: + int (*gss_import_sec_context)(const void *, size_t, struct gss_ctx *,
1: + time_t *, gfp_t);
1: + u32 (*gss_get_mic)(struct gss_ctx *, struct xdr_buf *, struct xdr_netobj *);
1: + u32 (*gss_verify_mic)(struct gss_ctx *, struct xdr_buf *,
1: + struct xdr_netobj *);
1: + u32 (*gss_wrap)(struct gss_ctx *, int, struct xdr_buf *, struct page___2 **);
1: + u32 (*gss_unwrap)(struct gss_ctx *, int, struct xdr_buf *);
1: + void (*gss_delete_sec_context)(void *);
1: };
1:
1: struct nfs4_string {
1: - unsigned int len;
1: - char *data;
1: + unsigned int len;
1: + char *data;
1: };
1:
1: struct nfs_fsid {
1: - uint64_t major;
1: - uint64_t minor;
1: + uint64_t major;
1: + uint64_t minor;
1: };
1:
1: struct nfs4_threshold {
1: - __u32 bm;
1: - __u32 l_type;
1: - __u64 rd_sz;
1: - __u64 wr_sz;
1: - __u64 rd_io_sz;
1: - __u64 wr_io_sz;
1: + __u32 bm;
1: + __u32 l_type;
1: + __u64 rd_sz;
1: + __u64 wr_sz;
1: + __u64 rd_io_sz;
1: + __u64 wr_io_sz;
1: };
1:
1: struct nfs_fattr {
1: - unsigned int valid;
1: - umode_t mode;
1: - __u32 nlink;
1: - kuid_t uid;
1: - kgid_t gid;
1: - dev_t rdev;
1: - __u64 size;
1: - union {
1: - struct {
1: - __u32 blocksize;
1: - __u32 blocks;
1: - } nfs2;
1: - struct {
1: - __u64 used;
1: - } nfs3;
1: - } du;
1: - struct nfs_fsid fsid;
1: - __u64 fileid;
1: - __u64 mounted_on_fileid;
1: - struct timespec64 atime;
1: - struct timespec64 mtime;
1: - struct timespec64 ctime;
1: - __u64 change_attr;
1: - __u64 pre_change_attr;
1: - __u64 pre_size;
1: - struct timespec64 pre_mtime;
1: - struct timespec64 pre_ctime;
1: - long unsigned int time_start;
1: - long unsigned int gencount;
1: - struct nfs4_string *owner_name;
1: - struct nfs4_string *group_name;
1: - struct nfs4_threshold *mdsthreshold;
1: + unsigned int valid;
1: + umode_t mode;
1: + __u32 nlink;
1: + kuid_t uid;
1: + kgid_t gid;
1: + dev_t rdev;
1: + __u64 size;
1: + union {
1: + struct {
1: + __u32 blocksize;
1: + __u32 blocks;
1: + } nfs2;
1: + struct {
1: + __u64 used;
1: + } nfs3;
1: + } du;
1: + struct nfs_fsid fsid;
1: + __u64 fileid;
1: + __u64 mounted_on_fileid;
1: + struct timespec64 atime;
1: + struct timespec64 mtime;
1: + struct timespec64 ctime;
1: + __u64 change_attr;
1: + __u64 pre_change_attr;
1: + __u64 pre_size;
1: + struct timespec64 pre_mtime;
1: + struct timespec64 pre_ctime;
1: + long unsigned int time_start;
1: + long unsigned int gencount;
1: + struct nfs4_string *owner_name;
1: + struct nfs4_string *group_name;
1: + struct nfs4_threshold *mdsthreshold;
1: };
1:
1: struct nfs_fsinfo {
1: - struct nfs_fattr *fattr;
1: - __u32 rtmax;
1: - __u32 rtpref;
1: - __u32 rtmult;
1: - __u32 wtmax;
1: - __u32 wtpref;
1: - __u32 wtmult;
1: - __u32 dtpref;
1: - __u64 maxfilesize;
1: - struct timespec64 time_delta;
1: - __u32 lease_time;
1: - __u32 nlayouttypes;
1: - __u32 layouttype[8];
1: - __u32 blksize;
1: - __u32 clone_blksize;
1: + struct nfs_fattr *fattr;
1: + __u32 rtmax;
1: + __u32 rtpref;
1: + __u32 rtmult;
1: + __u32 wtmax;
1: + __u32 wtpref;
1: + __u32 wtmult;
1: + __u32 dtpref;
1: + __u64 maxfilesize;
1: + struct timespec64 time_delta;
1: + __u32 lease_time;
1: + __u32 nlayouttypes;
1: + __u32 layouttype[8];
1: + __u32 blksize;
1: + __u32 clone_blksize;
1: };
1:
1: struct nfs_fsstat {
1: - struct nfs_fattr *fattr;
1: - __u64 tbytes;
1: - __u64 fbytes;
1: - __u64 abytes;
1: - __u64 tfiles;
1: - __u64 ffiles;
1: - __u64 afiles;
1: + struct nfs_fattr *fattr;
1: + __u64 tbytes;
1: + __u64 fbytes;
1: + __u64 abytes;
1: + __u64 tfiles;
1: + __u64 ffiles;
1: + __u64 afiles;
1: };
1:
1: struct nfs_pathconf {
1: - struct nfs_fattr *fattr;
1: - __u32 max_link;
1: - __u32 max_namelen;
1: + struct nfs_fattr *fattr;
1: + __u32 max_link;
1: + __u32 max_namelen;
1: };
1:
1: struct nfs4_change_info {
1: - u32 atomic;
1: - u64 before;
1: - u64 after;
1: + u32 atomic;
1: + u64 before;
1: + u64 after;
1: };
1:
1: struct nfs4_slot;
1:
1: struct nfs4_sequence_args {
1: - struct nfs4_slot *sa_slot;
1: - u8 sa_cache_this: 1;
1: - u8 sa_privileged: 1;
1: + struct nfs4_slot *sa_slot;
1: + u8 sa_cache_this : 1;
1: + u8 sa_privileged : 1;
1: };
1:
1: struct nfs4_sequence_res {
1: - struct nfs4_slot *sr_slot;
1: - long unsigned int sr_timestamp;
1: - int sr_status;
1: - u32 sr_status_flags;
1: - u32 sr_highest_slotid;
1: - u32 sr_target_highest_slotid;
1: + struct nfs4_slot *sr_slot;
1: + long unsigned int sr_timestamp;
1: + int sr_status;
1: + u32 sr_status_flags;
1: + u32 sr_highest_slotid;
1: + u32 sr_target_highest_slotid;
1: };
1:
1: struct pnfs_layout_range {
1: - u32 iomode;
1: - u64 offset;
1: - u64 length;
1: + u32 iomode;
1: + u64 offset;
1: + u64 length;
1: };
1:
1: struct nfs_open_context;
1:
1: struct nfs_lock_context {
1: - refcount_t count;
1: - struct list_head list;
1: - struct nfs_open_context *open_context;
1: - fl_owner_t lockowner;
1: - atomic_t io_count;
1: - struct callback_head callback_head;
1: + refcount_t count;
1: + struct list_head list;
1: + struct nfs_open_context *open_context;
1: + fl_owner_t lockowner;
1: + atomic_t io_count;
1: + struct callback_head callback_head;
1: };
1:
1: struct nfs_open_context {
1: - struct nfs_lock_context lock_context;
1: - fl_owner_t flock_owner;
1: - struct dentry___2 *dentry;
1: - const struct cred___2 *cred;
1: - struct rpc_cred *ll_cred;
1: - struct nfs4_state *state;
1: - fmode_t mode;
1: - long unsigned int flags;
1: - int error;
1: - struct list_head list;
1: - struct nfs4_threshold *mdsthreshold;
1: - struct callback_head callback_head;
1: + struct nfs_lock_context lock_context;
1: + fl_owner_t flock_owner;
1: + struct dentry___2 *dentry;
1: + const struct cred___2 *cred;
1: + struct rpc_cred *ll_cred;
1: + struct nfs4_state *state;
1: + fmode_t mode;
1: + long unsigned int flags;
1: + int error;
1: + struct list_head list;
1: + struct nfs4_threshold *mdsthreshold;
1: + struct callback_head callback_head;
1: };
1:
1: struct nlm_host;
1:
1: struct nfs_auth_info {
1: - unsigned int flavor_len;
1: - rpc_authflavor_t flavors[12];
1: + unsigned int flavor_len;
1: + rpc_authflavor_t flavors[12];
1: };
1:
1: struct pnfs_layoutdriver_type;
1: @@ -45332,67 +45685,67 @@ struct nfs_client;
1: struct nfs_iostats;
1:
1: struct nfs_server {
1: - struct nfs_client *nfs_client;
1: - struct list_head client_link;
1: - struct list_head master_link;
1: - struct rpc_clnt *client;
1: - struct rpc_clnt *client_acl;
1: - struct nlm_host *nlm_host;
1: - struct nfs_iostats *io_stats;
1: - atomic_long_t writeback;
1: - int flags;
1: - unsigned int caps;
1: - unsigned int rsize;
1: - unsigned int rpages;
1: - unsigned int wsize;
1: - unsigned int wpages;
1: - unsigned int wtmult;
1: - unsigned int dtsize;
1: - short unsigned int port;
1: - unsigned int bsize;
1: - unsigned int acregmin;
1: - unsigned int acregmax;
1: - unsigned int acdirmin;
1: - unsigned int acdirmax;
1: - unsigned int namelen;
1: - unsigned int options;
1: - unsigned int clone_blksize;
1: - struct nfs_fsid fsid;
1: - __u64 maxfilesize;
1: - struct timespec64 time_delta;
1: - long unsigned int mount_time;
1: - struct super_block___2 *super;
1: - dev_t s_dev;
1: - struct nfs_auth_info auth_info;
1: - u32 pnfs_blksize;
1: - u32 attr_bitmask[3];
1: - u32 attr_bitmask_nl[3];
1: - u32 exclcreat_bitmask[3];
1: - u32 cache_consistency_bitmask[3];
1: - u32 acl_bitmask;
1: - u32 fh_expire_type;
1: - struct pnfs_layoutdriver_type *pnfs_curr_ld;
1: - struct rpc_wait_queue roc_rpcwaitq;
1: - void *pnfs_ld_data;
1: - struct rb_root state_owners;
1: - struct ida openowner_id;
1: - struct ida lockowner_id;
1: - struct list_head state_owners_lru;
1: - struct list_head layouts;
1: - struct list_head delegations;
1: - struct list_head ss_copies;
1: - long unsigned int mig_gen;
1: - long unsigned int mig_status;
1: - void (*destroy)(struct nfs_server *);
1: - atomic_t active;
1: - struct __kernel_sockaddr_storage mountd_address;
1: - size_t mountd_addrlen;
1: - u32 mountd_version;
1: - short unsigned int mountd_port;
1: - short unsigned int mountd_protocol;
1: - struct rpc_wait_queue uoc_rpcwaitq;
1: - unsigned int read_hdrsize;
1: - const struct cred___2 *cred;
1: + struct nfs_client *nfs_client;
1: + struct list_head client_link;
1: + struct list_head master_link;
1: + struct rpc_clnt *client;
1: + struct rpc_clnt *client_acl;
1: + struct nlm_host *nlm_host;
1: + struct nfs_iostats *io_stats;
1: + atomic_long_t writeback;
1: + int flags;
1: + unsigned int caps;
1: + unsigned int rsize;
1: + unsigned int rpages;
1: + unsigned int wsize;
1: + unsigned int wpages;
1: + unsigned int wtmult;
1: + unsigned int dtsize;
1: + short unsigned int port;
1: + unsigned int bsize;
1: + unsigned int acregmin;
1: + unsigned int acregmax;
1: + unsigned int acdirmin;
1: + unsigned int acdirmax;
1: + unsigned int namelen;
1: + unsigned int options;
1: + unsigned int clone_blksize;
1: + struct nfs_fsid fsid;
1: + __u64 maxfilesize;
1: + struct timespec64 time_delta;
1: + long unsigned int mount_time;
1: + struct super_block___2 *super;
1: + dev_t s_dev;
1: + struct nfs_auth_info auth_info;
1: + u32 pnfs_blksize;
1: + u32 attr_bitmask[3];
1: + u32 attr_bitmask_nl[3];
1: + u32 exclcreat_bitmask[3];
1: + u32 cache_consistency_bitmask[3];
1: + u32 acl_bitmask;
1: + u32 fh_expire_type;
1: + struct pnfs_layoutdriver_type *pnfs_curr_ld;
1: + struct rpc_wait_queue roc_rpcwaitq;
1: + void *pnfs_ld_data;
1: + struct rb_root state_owners;
1: + struct ida openowner_id;
1: + struct ida lockowner_id;
1: + struct list_head state_owners_lru;
1: + struct list_head layouts;
1: + struct list_head delegations;
1: + struct list_head ss_copies;
1: + long unsigned int mig_gen;
1: + long unsigned int mig_status;
1: + void (*destroy)(struct nfs_server *);
1: + atomic_t active;
1: + struct __kernel_sockaddr_storage mountd_address;
1: + size_t mountd_addrlen;
1: + u32 mountd_version;
1: + short unsigned int mountd_port;
1: + short unsigned int mountd_protocol;
1: + struct rpc_wait_queue uoc_rpcwaitq;
1: + unsigned int read_hdrsize;
1: + const struct cred___2 *cred;
1: };
1:
1: struct pnfs_layout_hdr;
1: @@ -45416,198 +45769,198 @@ struct nfs4_slot_table;
1: struct nfs4_session;
1:
1: struct nfs_client {
1: - refcount_t cl_count;
1: - atomic_t cl_mds_count;
1: - int cl_cons_state;
1: - long unsigned int cl_res_state;
1: - long unsigned int cl_flags;
1: - struct __kernel_sockaddr_storage cl_addr;
1: - size_t cl_addrlen;
1: - char *cl_hostname;
1: - char *cl_acceptor;
1: - struct list_head cl_share_link;
1: - struct list_head cl_superblocks;
1: - struct rpc_clnt *cl_rpcclient;
1: - const struct nfs_rpc_ops *rpc_ops;
1: - int cl_proto;
1: - struct nfs_subversion *cl_nfs_mod;
1: - u32 cl_minorversion;
1: - unsigned int cl_nconnect;
1: - const char *cl_principal;
1: - struct list_head cl_ds_clients;
1: - u64 cl_clientid;
1: - nfs4_verifier cl_confirm;
1: - long unsigned int cl_state;
1: - spinlock_t cl_lock;
1: - long unsigned int cl_lease_time;
1: - long unsigned int cl_last_renewal;
1: - struct delayed_work cl_renewd;
1: - struct rpc_wait_queue cl_rpcwaitq;
1: - struct idmap *cl_idmap;
1: - const char *cl_owner_id;
1: - u32 cl_cb_ident;
1: - const struct nfs4_minor_version_ops *cl_mvops;
1: - long unsigned int cl_mig_gen;
1: - struct nfs4_slot_table *cl_slot_tbl;
1: - u32 cl_seqid;
1: - u32 cl_exchange_flags;
1: - struct nfs4_session *cl_session;
1: - bool cl_preserve_clid;
1: - struct nfs41_server_owner *cl_serverowner;
1: - struct nfs41_server_scope *cl_serverscope;
1: - struct nfs41_impl_id *cl_implid;
1: - long unsigned int cl_sp4_flags;
1: - char cl_ipaddr[48];
1: - struct net___2 *cl_net;
1: - struct list_head pending_cb_stateids;
1: + refcount_t cl_count;
1: + atomic_t cl_mds_count;
1: + int cl_cons_state;
1: + long unsigned int cl_res_state;
1: + long unsigned int cl_flags;
1: + struct __kernel_sockaddr_storage cl_addr;
1: + size_t cl_addrlen;
1: + char *cl_hostname;
1: + char *cl_acceptor;
1: + struct list_head cl_share_link;
1: + struct list_head cl_superblocks;
1: + struct rpc_clnt *cl_rpcclient;
1: + const struct nfs_rpc_ops *rpc_ops;
1: + int cl_proto;
1: + struct nfs_subversion *cl_nfs_mod;
1: + u32 cl_minorversion;
1: + unsigned int cl_nconnect;
1: + const char *cl_principal;
1: + struct list_head cl_ds_clients;
1: + u64 cl_clientid;
1: + nfs4_verifier cl_confirm;
1: + long unsigned int cl_state;
1: + spinlock_t cl_lock;
1: + long unsigned int cl_lease_time;
1: + long unsigned int cl_last_renewal;
1: + struct delayed_work cl_renewd;
1: + struct rpc_wait_queue cl_rpcwaitq;
1: + struct idmap *cl_idmap;
1: + const char *cl_owner_id;
1: + u32 cl_cb_ident;
1: + const struct nfs4_minor_version_ops *cl_mvops;
1: + long unsigned int cl_mig_gen;
1: + struct nfs4_slot_table *cl_slot_tbl;
1: + u32 cl_seqid;
1: + u32 cl_exchange_flags;
1: + struct nfs4_session *cl_session;
1: + bool cl_preserve_clid;
1: + struct nfs41_server_owner *cl_serverowner;
1: + struct nfs41_server_scope *cl_serverscope;
1: + struct nfs41_impl_id *cl_implid;
1: + long unsigned int cl_sp4_flags;
1: + char cl_ipaddr[48];
1: + struct net___2 *cl_net;
1: + struct list_head pending_cb_stateids;
1: };
1:
1: struct pnfs_layout_segment {
1: - struct list_head pls_list;
1: - struct list_head pls_lc_list;
1: - struct pnfs_layout_range pls_range;
1: - refcount_t pls_refcount;
1: - u32 pls_seq;
1: - long unsigned int pls_flags;
1: - struct pnfs_layout_hdr *pls_layout;
1: + struct list_head pls_list;
1: + struct list_head pls_lc_list;
1: + struct pnfs_layout_range pls_range;
1: + refcount_t pls_refcount;
1: + u32 pls_seq;
1: + long unsigned int pls_flags;
1: + struct pnfs_layout_hdr *pls_layout;
1: };
1:
1: struct nfs_seqid {
1: - struct nfs_seqid_counter *sequence;
1: - struct list_head list;
1: - struct rpc_task *task;
1: + struct nfs_seqid_counter *sequence;
1: + struct list_head list;
1: + struct rpc_task *task;
1: };
1:
1: struct nfs_write_verifier {
1: - char data[8];
1: + char data[8];
1: };
1:
1: struct nfs_writeverf {
1: - struct nfs_write_verifier verifier;
1: - enum nfs3_stable_how committed;
1: + struct nfs_write_verifier verifier;
1: + enum nfs3_stable_how committed;
1: };
1:
1: struct nfs_pgio_args {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - struct nfs_open_context *context;
1: - struct nfs_lock_context *lock_context;
1: - nfs4_stateid stateid;
1: - __u64 offset;
1: - __u32 count;
1: - unsigned int pgbase;
1: - struct page___2 **pages;
1: - union {
1: - unsigned int replen;
1: - struct {
1: - const u32 *bitmask;
1: - enum nfs3_stable_how stable;
1: - };
1: - };
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + struct nfs_open_context *context;
1: + struct nfs_lock_context *lock_context;
1: + nfs4_stateid stateid;
1: + __u64 offset;
1: + __u32 count;
1: + unsigned int pgbase;
1: + struct page___2 **pages;
1: + union {
1: + unsigned int replen;
1: + struct {
1: + const u32 *bitmask;
1: + enum nfs3_stable_how stable;
1: + };
1: + };
1: };
1:
1: struct nfs_pgio_res {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_fattr *fattr;
1: - __u32 count;
1: - __u32 op_status;
1: - union {
1: - struct {
1: - unsigned int replen;
1: - int eof;
1: - };
1: - struct {
1: - struct nfs_writeverf *verf;
1: - const struct nfs_server *server;
1: - };
1: - };
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fattr *fattr;
1: + __u32 count;
1: + __u32 op_status;
1: + union {
1: + struct {
1: + unsigned int replen;
1: + int eof;
1: + };
1: + struct {
1: + struct nfs_writeverf *verf;
1: + const struct nfs_server *server;
1: + };
1: + };
1: };
1:
1: struct nfs_commitargs {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - __u64 offset;
1: - __u32 count;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + __u64 offset;
1: + __u32 count;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs_commitres {
1: - struct nfs4_sequence_res seq_res;
1: - __u32 op_status;
1: - struct nfs_fattr *fattr;
1: - struct nfs_writeverf *verf;
1: - const struct nfs_server *server;
1: + struct nfs4_sequence_res seq_res;
1: + __u32 op_status;
1: + struct nfs_fattr *fattr;
1: + struct nfs_writeverf *verf;
1: + const struct nfs_server *server;
1: };
1:
1: struct nfs_removeargs {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - struct qstr name;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + struct qstr name;
1: };
1:
1: struct nfs_removeres {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_server *server;
1: - struct nfs_fattr *dir_attr;
1: - struct nfs4_change_info cinfo;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_server *server;
1: + struct nfs_fattr *dir_attr;
1: + struct nfs4_change_info cinfo;
1: };
1:
1: struct nfs_renameargs {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *old_dir;
1: - const struct nfs_fh *new_dir;
1: - const struct qstr *old_name;
1: - const struct qstr *new_name;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *old_dir;
1: + const struct nfs_fh *new_dir;
1: + const struct qstr *old_name;
1: + const struct qstr *new_name;
1: };
1:
1: struct nfs_renameres {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_server *server;
1: - struct nfs4_change_info old_cinfo;
1: - struct nfs_fattr *old_fattr;
1: - struct nfs4_change_info new_cinfo;
1: - struct nfs_fattr *new_fattr;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_server *server;
1: + struct nfs4_change_info old_cinfo;
1: + struct nfs_fattr *old_fattr;
1: + struct nfs4_change_info new_cinfo;
1: + struct nfs_fattr *new_fattr;
1: };
1:
1: struct nfs_entry {
1: - __u64 ino;
1: - __u64 cookie;
1: - __u64 prev_cookie;
1: - const char *name;
1: - unsigned int len;
1: - int eof;
1: - struct nfs_fh *fh;
1: - struct nfs_fattr *fattr;
1: - struct nfs4_label *label;
1: - unsigned char d_type;
1: - struct nfs_server *server;
1: + __u64 ino;
1: + __u64 cookie;
1: + __u64 prev_cookie;
1: + const char *name;
1: + unsigned int len;
1: + int eof;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: + unsigned char d_type;
1: + struct nfs_server *server;
1: };
1:
1: struct nfs4_pathname {
1: - unsigned int ncomponents;
1: - struct nfs4_string components[512];
1: + unsigned int ncomponents;
1: + struct nfs4_string components[512];
1: };
1:
1: struct nfs4_fs_location {
1: - unsigned int nservers;
1: - struct nfs4_string servers[10];
1: - struct nfs4_pathname rootpath;
1: + unsigned int nservers;
1: + struct nfs4_string servers[10];
1: + struct nfs4_pathname rootpath;
1: };
1:
1: struct nfs4_fs_locations {
1: - struct nfs_fattr fattr;
1: - const struct nfs_server *server;
1: - struct nfs4_pathname fs_path;
1: - int nlocations;
1: - struct nfs4_fs_location locations[10];
1: + struct nfs_fattr fattr;
1: + const struct nfs_server *server;
1: + struct nfs4_pathname fs_path;
1: + int nlocations;
1: + struct nfs4_fs_location locations[10];
1: };
1:
1: struct pnfs_ds_commit_info {};
1:
1: struct nfs_page_array {
1: - struct page___2 **pagevec;
1: - unsigned int npages;
1: - struct page___2 *page_array[8];
1: + struct page___2 **pagevec;
1: + unsigned int npages;
1: + struct page___2 *page_array[8];
1: };
1:
1: struct nfs_page;
1: @@ -45621,72 +45974,74 @@ struct nfs_io_completion;
1: struct nfs_direct_req;
1:
1: struct nfs_pgio_header {
1: - struct inode___2 *inode;
1: - const struct cred___2 *cred;
1: - struct list_head pages;
1: - struct nfs_page *req;
1: - struct nfs_writeverf verf;
1: - fmode_t rw_mode;
1: - struct pnfs_layout_segment *lseg;
1: - loff_t io_start;
1: - const struct rpc_call_ops *mds_ops;
1: - void (*release)(struct nfs_pgio_header *);
1: - const struct nfs_pgio_completion_ops *completion_ops;
1: - const struct nfs_rw_ops *rw_ops;
1: - struct nfs_io_completion *io_completion;
1: - struct nfs_direct_req *dreq;
1: - int pnfs_error;
1: - int error;
1: - unsigned int good_bytes;
1: - long unsigned int flags;
1: - struct rpc_task task;
1: - struct nfs_fattr fattr;
1: - struct nfs_pgio_args args;
1: - struct nfs_pgio_res res;
1: - long unsigned int timestamp;
1: - int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *);
1: - __u64 mds_offset;
1: - struct nfs_page_array page_array;
1: - struct nfs_client *ds_clp;
1: - int ds_commit_idx;
1: - int pgio_mirror_idx;
1: + struct inode___2 *inode;
1: + const struct cred___2 *cred;
1: + struct list_head pages;
1: + struct nfs_page *req;
1: + struct nfs_writeverf verf;
1: + fmode_t rw_mode;
1: + struct pnfs_layout_segment *lseg;
1: + loff_t io_start;
1: + const struct rpc_call_ops *mds_ops;
1: + void (*release)(struct nfs_pgio_header *);
1: + const struct nfs_pgio_completion_ops *completion_ops;
1: + const struct nfs_rw_ops *rw_ops;
1: + struct nfs_io_completion *io_completion;
1: + struct nfs_direct_req *dreq;
1: + int pnfs_error;
1: + int error;
1: + unsigned int good_bytes;
1: + long unsigned int flags;
1: + struct rpc_task task;
1: + struct nfs_fattr fattr;
1: + struct nfs_pgio_args args;
1: + struct nfs_pgio_res res;
1: + long unsigned int timestamp;
1: + int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *);
1: + __u64 mds_offset;
1: + struct nfs_page_array page_array;
1: + struct nfs_client *ds_clp;
1: + int ds_commit_idx;
1: + int pgio_mirror_idx;
1: };
1:
1: struct nfs_page {
1: - struct list_head wb_list;
1: - struct page___2 *wb_page;
1: - struct nfs_lock_context *wb_lock_context;
1: - long unsigned int wb_index;
1: - unsigned int wb_offset;
1: - unsigned int wb_pgbase;
1: - unsigned int wb_bytes;
1: - struct kref wb_kref;
1: - long unsigned int wb_flags;
1: - struct nfs_write_verifier wb_verf;
1: - struct nfs_page *wb_this_page;
1: - struct nfs_page *wb_head;
1: - short unsigned int wb_nio;
1: + struct list_head wb_list;
1: + struct page___2 *wb_page;
1: + struct nfs_lock_context *wb_lock_context;
1: + long unsigned int wb_index;
1: + unsigned int wb_offset;
1: + unsigned int wb_pgbase;
1: + unsigned int wb_bytes;
1: + struct kref wb_kref;
1: + long unsigned int wb_flags;
1: + struct nfs_write_verifier wb_verf;
1: + struct nfs_page *wb_this_page;
1: + struct nfs_page *wb_head;
1: + short unsigned int wb_nio;
1: };
1:
1: struct nfs_pgio_completion_ops {
1: - void (*error_cleanup)(struct list_head *, int);
1: - void (*init_hdr)(struct nfs_pgio_header *);
1: - void (*completion)(struct nfs_pgio_header *);
1: - void (*reschedule_io)(struct nfs_pgio_header *);
1: + void (*error_cleanup)(struct list_head *, int);
1: + void (*init_hdr)(struct nfs_pgio_header *);
1: + void (*completion)(struct nfs_pgio_header *);
1: + void (*reschedule_io)(struct nfs_pgio_header *);
1: };
1:
1: struct nfs_rw_ops {
1: - struct nfs_pgio_header * (*rw_alloc_header)();
1: - void (*rw_free_header)(struct nfs_pgio_header *);
1: - int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *, struct inode___2 *);
1: - void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
1: - void (*rw_initiate)(struct nfs_pgio_header *, struct rpc_message *, const struct nfs_rpc_ops *, struct rpc_task_setup *, int);
1: + struct nfs_pgio_header *(*rw_alloc_header)();
1: + void (*rw_free_header)(struct nfs_pgio_header *);
1: + int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
1: + struct inode___2 *);
1: + void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
1: + void (*rw_initiate)(struct nfs_pgio_header *, struct rpc_message *,
1: + const struct nfs_rpc_ops *, struct rpc_task_setup *, int);
1: };
1:
1: struct nfs_mds_commit_info {
1: - atomic_t rpcs_out;
1: - atomic_long_t ncommit;
1: - struct list_head list;
1: + atomic_t rpcs_out;
1: + atomic_long_t ncommit;
1: + struct list_head list;
1: };
1:
1: struct nfs_commit_data;
1: @@ -45694,63 +46049,63 @@ struct nfs_commit_data;
1: struct nfs_commit_info;
1:
1: struct nfs_commit_completion_ops {
1: - void (*completion)(struct nfs_commit_data *);
1: - void (*resched_write)(struct nfs_commit_info *, struct nfs_page *);
1: + void (*completion)(struct nfs_commit_data *);
1: + void (*resched_write)(struct nfs_commit_info *, struct nfs_page *);
1: };
1:
1: struct nfs_commit_data {
1: - struct rpc_task task;
1: - struct inode___2 *inode;
1: - const struct cred___2 *cred;
1: - struct nfs_fattr fattr;
1: - struct nfs_writeverf verf;
1: - struct list_head pages;
1: - struct list_head list;
1: - struct nfs_direct_req *dreq;
1: - struct nfs_commitargs args;
1: - struct nfs_commitres res;
1: - struct nfs_open_context *context;
1: - struct pnfs_layout_segment *lseg;
1: - struct nfs_client *ds_clp;
1: - int ds_commit_index;
1: - loff_t lwb;
1: - const struct rpc_call_ops *mds_ops;
1: - const struct nfs_commit_completion_ops *completion_ops;
1: - int (*commit_done_cb)(struct rpc_task *, struct nfs_commit_data *);
1: - long unsigned int flags;
1: + struct rpc_task task;
1: + struct inode___2 *inode;
1: + const struct cred___2 *cred;
1: + struct nfs_fattr fattr;
1: + struct nfs_writeverf verf;
1: + struct list_head pages;
1: + struct list_head list;
1: + struct nfs_direct_req *dreq;
1: + struct nfs_commitargs args;
1: + struct nfs_commitres res;
1: + struct nfs_open_context *context;
1: + struct pnfs_layout_segment *lseg;
1: + struct nfs_client *ds_clp;
1: + int ds_commit_index;
1: + loff_t lwb;
1: + const struct rpc_call_ops *mds_ops;
1: + const struct nfs_commit_completion_ops *completion_ops;
1: + int (*commit_done_cb)(struct rpc_task *, struct nfs_commit_data *);
1: + long unsigned int flags;
1: };
1:
1: struct nfs_commit_info {
1: - struct inode___2 *inode;
1: - struct nfs_mds_commit_info *mds;
1: - struct pnfs_ds_commit_info *ds;
1: - struct nfs_direct_req *dreq;
1: - const struct nfs_commit_completion_ops *completion_ops;
1: + struct inode___2 *inode;
1: + struct nfs_mds_commit_info *mds;
1: + struct pnfs_ds_commit_info *ds;
1: + struct nfs_direct_req *dreq;
1: + const struct nfs_commit_completion_ops *completion_ops;
1: };
1:
1: struct nfs_unlinkdata {
1: - struct nfs_removeargs args;
1: - struct nfs_removeres res;
1: - struct dentry___2 *dentry;
1: - wait_queue_head_t wq;
1: - const struct cred___2 *cred;
1: - struct nfs_fattr dir_attr;
1: - long int timeout;
1: + struct nfs_removeargs args;
1: + struct nfs_removeres res;
1: + struct dentry___2 *dentry;
1: + wait_queue_head_t wq;
1: + const struct cred___2 *cred;
1: + struct nfs_fattr dir_attr;
1: + long int timeout;
1: };
1:
1: struct nfs_renamedata {
1: - struct nfs_renameargs args;
1: - struct nfs_renameres res;
1: - const struct cred___2 *cred;
1: - struct inode___2 *old_dir;
1: - struct dentry___2 *old_dentry;
1: - struct nfs_fattr old_fattr;
1: - struct inode___2 *new_dir;
1: - struct dentry___2 *new_dentry;
1: - struct nfs_fattr new_fattr;
1: - void (*complete)(struct rpc_task *, struct nfs_renamedata *);
1: - long int timeout;
1: - bool cancelled;
1: + struct nfs_renameargs args;
1: + struct nfs_renameres res;
1: + const struct cred___2 *cred;
1: + struct inode___2 *old_dir;
1: + struct dentry___2 *old_dentry;
1: + struct nfs_fattr old_fattr;
1: + struct inode___2 *new_dir;
1: + struct dentry___2 *new_dentry;
1: + struct nfs_fattr new_fattr;
1: + void (*complete)(struct rpc_task *, struct nfs_renamedata *);
1: + long int timeout;
1: + bool cancelled;
1: };
1:
1: struct nlmclnt_operations;
1: @@ -45762,65 +46117,82 @@ struct nfs_access_entry;
1: struct nfs_client_initdata;
1:
1: struct nfs_rpc_ops {
1: - u32 version;
1: - const struct dentry_operations___2 *dentry_ops;
1: - const struct inode_operations___2 *dir_inode_ops;
1: - const struct inode_operations___2 *file_inode_ops;
1: - const struct file_operations___2 *file_ops;
1: - const struct nlmclnt_operations *nlmclnt_ops;
1: - int (*getroot)(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
1: - struct vfsmount___2 * (*submount)(struct nfs_server *, struct dentry___2 *, struct nfs_fh *, struct nfs_fattr *);
1: - struct dentry___2 * (*try_mount)(int, const char *, struct nfs_mount_info *, struct nfs_subversion *);
1: - int (*getattr)(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_label *, struct inode___2 *);
1: - int (*setattr)(struct dentry___2 *, struct nfs_fattr *, struct iattr *);
1: - int (*lookup)(struct inode___2 *, const struct qstr *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_label *);
1: - int (*lookupp)(struct inode___2 *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_label *);
1: - int (*access)(struct inode___2 *, struct nfs_access_entry *);
1: - int (*readlink)(struct inode___2 *, struct page___2 *, unsigned int, unsigned int);
1: - int (*create)(struct inode___2 *, struct dentry___2 *, struct iattr *, int);
1: - int (*remove)(struct inode___2 *, struct dentry___2 *);
1: - void (*unlink_setup)(struct rpc_message *, struct dentry___2 *, struct inode___2 *);
1: - void (*unlink_rpc_prepare)(struct rpc_task *, struct nfs_unlinkdata *);
1: - int (*unlink_done)(struct rpc_task *, struct inode___2 *);
1: - void (*rename_setup)(struct rpc_message *, struct dentry___2 *, struct dentry___2 *);
1: - void (*rename_rpc_prepare)(struct rpc_task *, struct nfs_renamedata *);
1: - int (*rename_done)(struct rpc_task *, struct inode___2 *, struct inode___2 *);
1: - int (*link)(struct inode___2 *, struct inode___2 *, const struct qstr *);
1: - int (*symlink)(struct inode___2 *, struct dentry___2 *, struct page___2 *, unsigned int, struct iattr *);
1: - int (*mkdir)(struct inode___2 *, struct dentry___2 *, struct iattr *);
1: - int (*rmdir)(struct inode___2 *, const struct qstr *);
1: - int (*readdir)(struct dentry___2 *, const struct cred___2 *, u64, struct page___2 **, unsigned int, bool);
1: - int (*mknod)(struct inode___2 *, struct dentry___2 *, struct iattr *, dev_t);
1: - int (*statfs)(struct nfs_server *, struct nfs_fh *, struct nfs_fsstat *);
1: - int (*fsinfo)(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
1: - int (*pathconf)(struct nfs_server *, struct nfs_fh *, struct nfs_pathconf *);
1: - int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1: - int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1: - int (*pgio_rpc_prepare)(struct rpc_task *, struct nfs_pgio_header *);
1: - void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1: - int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1: - void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *, struct rpc_clnt **);
1: - int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1: - void (*commit_setup)(struct nfs_commit_data *, struct rpc_message *, struct rpc_clnt **);
1: - void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1: - int (*commit_done)(struct rpc_task *, struct nfs_commit_data *);
1: - int (*lock)(struct file___2 *, int, struct file_lock *);
1: - int (*lock_check_bounds)(const struct file_lock *);
1: - void (*clear_acl_cache)(struct inode___2 *);
1: - void (*close_context)(struct nfs_open_context *, int);
1: - struct inode___2 * (*open_context)(struct inode___2 *, struct nfs_open_context *, int, struct iattr *, int *);
1: - int (*have_delegation)(struct inode___2 *, fmode_t);
1: - struct nfs_client * (*alloc_client)(const struct nfs_client_initdata *);
1: - struct nfs_client * (*init_client)(struct nfs_client *, const struct nfs_client_initdata *);
1: - void (*free_client)(struct nfs_client *);
1: - struct nfs_server * (*create_server)(struct nfs_mount_info *, struct nfs_subversion *);
1: - struct nfs_server * (*clone_server)(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, rpc_authflavor_t);
1: + u32 version;
1: + const struct dentry_operations___2 *dentry_ops;
1: + const struct inode_operations___2 *dir_inode_ops;
1: + const struct inode_operations___2 *file_inode_ops;
1: + const struct file_operations___2 *file_ops;
1: + const struct nlmclnt_operations *nlmclnt_ops;
1: + int (*getroot)(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
1: + struct vfsmount___2 *(*submount)(struct nfs_server *, struct dentry___2 *,
1: + struct nfs_fh *, struct nfs_fattr *);
1: + struct dentry___2 *(*try_mount)(int, const char *, struct nfs_mount_info *,
1: + struct nfs_subversion *);
1: + int (*getattr)(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *,
1: + struct nfs4_label *, struct inode___2 *);
1: + int (*setattr)(struct dentry___2 *, struct nfs_fattr *, struct iattr *);
1: + int (*lookup)(struct inode___2 *, const struct qstr *, struct nfs_fh *,
1: + struct nfs_fattr *, struct nfs4_label *);
1: + int (*lookupp)(struct inode___2 *, struct nfs_fh *, struct nfs_fattr *,
1: + struct nfs4_label *);
1: + int (*access)(struct inode___2 *, struct nfs_access_entry *);
1: + int (*readlink)(struct inode___2 *, struct page___2 *, unsigned int,
1: + unsigned int);
1: + int (*create)(struct inode___2 *, struct dentry___2 *, struct iattr *, int);
1: + int (*remove)(struct inode___2 *, struct dentry___2 *);
1: + void (*unlink_setup)(struct rpc_message *, struct dentry___2 *,
1: + struct inode___2 *);
1: + void (*unlink_rpc_prepare)(struct rpc_task *, struct nfs_unlinkdata *);
1: + int (*unlink_done)(struct rpc_task *, struct inode___2 *);
1: + void (*rename_setup)(struct rpc_message *, struct dentry___2 *,
1: + struct dentry___2 *);
1: + void (*rename_rpc_prepare)(struct rpc_task *, struct nfs_renamedata *);
1: + int (*rename_done)(struct rpc_task *, struct inode___2 *, struct inode___2 *);
1: + int (*link)(struct inode___2 *, struct inode___2 *, const struct qstr *);
1: + int (*symlink)(struct inode___2 *, struct dentry___2 *, struct page___2 *,
1: + unsigned int, struct iattr *);
1: + int (*mkdir)(struct inode___2 *, struct dentry___2 *, struct iattr *);
1: + int (*rmdir)(struct inode___2 *, const struct qstr *);
1: + int (*readdir)(struct dentry___2 *, const struct cred___2 *, u64,
1: + struct page___2 **, unsigned int, bool);
1: + int (*mknod)(struct inode___2 *, struct dentry___2 *, struct iattr *, dev_t);
1: + int (*statfs)(struct nfs_server *, struct nfs_fh *, struct nfs_fsstat *);
1: + int (*fsinfo)(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
1: + int (*pathconf)(struct nfs_server *, struct nfs_fh *, struct nfs_pathconf *);
1: + int (*set_capabilities)(struct nfs_server *, struct nfs_fh *);
1: + int (*decode_dirent)(struct xdr_stream *, struct nfs_entry *, bool);
1: + int (*pgio_rpc_prepare)(struct rpc_task *, struct nfs_pgio_header *);
1: + void (*read_setup)(struct nfs_pgio_header *, struct rpc_message *);
1: + int (*read_done)(struct rpc_task *, struct nfs_pgio_header *);
1: + void (*write_setup)(struct nfs_pgio_header *, struct rpc_message *,
1: + struct rpc_clnt **);
1: + int (*write_done)(struct rpc_task *, struct nfs_pgio_header *);
1: + void (*commit_setup)(struct nfs_commit_data *, struct rpc_message *,
1: + struct rpc_clnt **);
1: + void (*commit_rpc_prepare)(struct rpc_task *, struct nfs_commit_data *);
1: + int (*commit_done)(struct rpc_task *, struct nfs_commit_data *);
1: + int (*lock)(struct file___2 *, int, struct file_lock *);
1: + int (*lock_check_bounds)(const struct file_lock *);
1: + void (*clear_acl_cache)(struct inode___2 *);
1: + void (*close_context)(struct nfs_open_context *, int);
1: + struct inode___2 *(*open_context)(struct inode___2 *,
1: + struct nfs_open_context *, int,
1: + struct iattr *, int *);
1: + int (*have_delegation)(struct inode___2 *, fmode_t);
1: + struct nfs_client *(*alloc_client)(const struct nfs_client_initdata *);
1: + struct nfs_client *(*init_client)(struct nfs_client *,
1: + const struct nfs_client_initdata *);
1: + void (*free_client)(struct nfs_client *);
1: + struct nfs_server *(*create_server)(struct nfs_mount_info *,
1: + struct nfs_subversion *);
1: + struct nfs_server *(*clone_server)(struct nfs_server *, struct nfs_fh *,
1: + struct nfs_fattr *, rpc_authflavor_t);
1: };
1:
1: struct nlmclnt_operations {
1: - void (*nlmclnt_alloc_call)(void *);
1: - bool (*nlmclnt_unlock_prepare)(struct rpc_task *, void *);
1: - void (*nlmclnt_release_call)(void *);
1: + void (*nlmclnt_alloc_call)(void *);
1: + bool (*nlmclnt_unlock_prepare)(struct rpc_task *, void *);
1: + void (*nlmclnt_release_call)(void *);
1: };
1:
1: struct nfs_parsed_mount_data;
1: @@ -45828,45 +46200,46 @@ struct nfs_parsed_mount_data;
1: struct nfs_clone_mount;
1:
1: struct nfs_mount_info {
1: - void (*fill_super)(struct super_block___2 *, struct nfs_mount_info *);
1: - int (*set_security)(struct super_block___2 *, struct dentry___2 *, struct nfs_mount_info *);
1: - struct nfs_parsed_mount_data *parsed;
1: - struct nfs_clone_mount *cloned;
1: - struct nfs_fh *mntfh;
1: + void (*fill_super)(struct super_block___2 *, struct nfs_mount_info *);
1: + int (*set_security)(struct super_block___2 *, struct dentry___2 *,
1: + struct nfs_mount_info *);
1: + struct nfs_parsed_mount_data *parsed;
1: + struct nfs_clone_mount *cloned;
1: + struct nfs_fh *mntfh;
1: };
1:
1: struct nfs_subversion {
1: - struct module___2 *owner;
1: - struct file_system_type___2 *nfs_fs;
1: - const struct rpc_version *rpc_vers;
1: - const struct nfs_rpc_ops *rpc_ops;
1: - const struct super_operations *sops;
1: - const struct xattr_handler **xattr;
1: - struct list_head list;
1: + struct module___2 *owner;
1: + struct file_system_type___2 *nfs_fs;
1: + const struct rpc_version *rpc_vers;
1: + const struct nfs_rpc_ops *rpc_ops;
1: + const struct super_operations *sops;
1: + const struct xattr_handler **xattr;
1: + struct list_head list;
1: };
1:
1: struct nfs_access_entry {
1: - struct rb_node rb_node;
1: - struct list_head lru;
1: - const struct cred___2 *cred;
1: - __u32 mask;
1: - struct callback_head callback_head;
1: + struct rb_node rb_node;
1: + struct list_head lru;
1: + const struct cred___2 *cred;
1: + __u32 mask;
1: + struct callback_head callback_head;
1: };
1:
1: struct nfs_client_initdata {
1: - long unsigned int init_flags;
1: - const char *hostname;
1: - const struct sockaddr *addr;
1: - const char *nodename;
1: - const char *ip_addr;
1: - size_t addrlen;
1: - struct nfs_subversion *nfs_mod;
1: - int proto;
1: - u32 minorversion;
1: - unsigned int nconnect;
1: - struct net___2 *net;
1: - const struct rpc_timeout *timeparms;
1: - const struct cred___2 *cred;
1: + long unsigned int init_flags;
1: + const char *hostname;
1: + const struct sockaddr *addr;
1: + const char *nodename;
1: + const char *ip_addr;
1: + size_t addrlen;
1: + struct nfs_subversion *nfs_mod;
1: + int proto;
1: + u32 minorversion;
1: + unsigned int nconnect;
1: + struct net___2 *net;
1: + const struct rpc_timeout *timeparms;
1: + const struct cred___2 *cred;
1: };
1:
1: struct nfs4_state_recovery_ops;
1: @@ -45876,71 +46249,73 @@ struct nfs4_state_maintenance_ops;
1: struct nfs4_mig_recovery_ops;
1:
1: struct nfs4_minor_version_ops {
1: - u32 minor_version;
1: - unsigned int init_caps;
1: - int (*init_client)(struct nfs_client *);
1: - void (*shutdown_client)(struct nfs_client *);
1: - bool (*match_stateid)(const nfs4_stateid *, const nfs4_stateid *);
1: - int (*find_root_sec)(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *);
1: - void (*free_lock_state)(struct nfs_server *, struct nfs4_lock_state *);
1: - int (*test_and_free_expired)(struct nfs_server *, nfs4_stateid *, const struct cred___2 *);
1: - struct nfs_seqid * (*alloc_seqid)(struct nfs_seqid_counter *, gfp_t);
1: - void (*session_trunk)(struct rpc_clnt *, struct rpc_xprt *, void *);
1: - const struct rpc_call_ops *call_sync_ops;
1: - const struct nfs4_state_recovery_ops *reboot_recovery_ops;
1: - const struct nfs4_state_recovery_ops *nograce_recovery_ops;
1: - const struct nfs4_state_maintenance_ops *state_renewal_ops;
1: - const struct nfs4_mig_recovery_ops *mig_recovery_ops;
1: + u32 minor_version;
1: + unsigned int init_caps;
1: + int (*init_client)(struct nfs_client *);
1: + void (*shutdown_client)(struct nfs_client *);
1: + bool (*match_stateid)(const nfs4_stateid *, const nfs4_stateid *);
1: + int (*find_root_sec)(struct nfs_server *, struct nfs_fh *,
1: + struct nfs_fsinfo *);
1: + void (*free_lock_state)(struct nfs_server *, struct nfs4_lock_state *);
1: + int (*test_and_free_expired)(struct nfs_server *, nfs4_stateid *,
1: + const struct cred___2 *);
1: + struct nfs_seqid *(*alloc_seqid)(struct nfs_seqid_counter *, gfp_t);
1: + void (*session_trunk)(struct rpc_clnt *, struct rpc_xprt *, void *);
1: + const struct rpc_call_ops *call_sync_ops;
1: + const struct nfs4_state_recovery_ops *reboot_recovery_ops;
1: + const struct nfs4_state_recovery_ops *nograce_recovery_ops;
1: + const struct nfs4_state_maintenance_ops *state_renewal_ops;
1: + const struct nfs4_mig_recovery_ops *mig_recovery_ops;
1: };
1:
1: struct nfs_iostats {
1: - long long unsigned int bytes[8];
1: - long unsigned int events[27];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + long long unsigned int bytes[8];
1: + long unsigned int events[27];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct nfs4_state_owner;
1:
1: struct nfs4_state {
1: - struct list_head open_states;
1: - struct list_head inode_states;
1: - struct list_head lock_states;
1: - struct nfs4_state_owner *owner;
1: - struct inode___2 *inode;
1: - long unsigned int flags;
1: - spinlock_t state_lock;
1: - seqlock_t seqlock;
1: - nfs4_stateid stateid;
1: - nfs4_stateid open_stateid;
1: - unsigned int n_rdonly;
1: - unsigned int n_wronly;
1: - unsigned int n_rdwr;
1: - fmode_t state;
1: - refcount_t count;
1: - wait_queue_head_t waitq;
1: - struct callback_head callback_head;
1: + struct list_head open_states;
1: + struct list_head inode_states;
1: + struct list_head lock_states;
1: + struct nfs4_state_owner *owner;
1: + struct inode___2 *inode;
1: + long unsigned int flags;
1: + spinlock_t state_lock;
1: + seqlock_t seqlock;
1: + nfs4_stateid stateid;
1: + nfs4_stateid open_stateid;
1: + unsigned int n_rdonly;
1: + unsigned int n_wronly;
1: + unsigned int n_rdwr;
1: + fmode_t state;
1: + refcount_t count;
1: + wait_queue_head_t waitq;
1: + struct callback_head callback_head;
1: };
1:
1: struct svc_cred {
1: - kuid_t cr_uid;
1: - kgid_t cr_gid;
1: - struct group_info *cr_group_info;
1: - u32 cr_flavor;
1: - char *cr_raw_principal;
1: - char *cr_principal;
1: - char *cr_targ_princ;
1: - struct gss_api_mech *cr_gss_mech;
1: + kuid_t cr_uid;
1: + kgid_t cr_gid;
1: + struct group_info *cr_group_info;
1: + u32 cr_flavor;
1: + char *cr_raw_principal;
1: + char *cr_principal;
1: + char *cr_targ_princ;
1: + struct gss_api_mech *cr_gss_mech;
1: };
1:
1: struct cache_deferred_req;
1:
1: struct cache_req {
1: - struct cache_deferred_req * (*defer)(struct cache_req *);
1: - int thread_wait;
1: + struct cache_deferred_req *(*defer)(struct cache_req *);
1: + int thread_wait;
1: };
1:
1: struct svc_cacherep;
1: @@ -45956,419 +46331,425 @@ struct svc_deferred_req;
1: struct auth_domain;
1:
1: struct svc_rqst {
1: - struct list_head rq_all;
1: - struct callback_head rq_rcu_head;
1: - struct svc_xprt *rq_xprt;
1: - struct __kernel_sockaddr_storage rq_addr;
1: - size_t rq_addrlen;
1: - struct __kernel_sockaddr_storage rq_daddr;
1: - size_t rq_daddrlen;
1: - struct svc_serv *rq_server;
1: - struct svc_pool *rq_pool;
1: - const struct svc_procedure *rq_procinfo;
1: - struct auth_ops *rq_authop;
1: - struct svc_cred rq_cred;
1: - void *rq_xprt_ctxt;
1: - struct svc_deferred_req *rq_deferred;
1: - size_t rq_xprt_hlen;
1: - struct xdr_buf rq_arg;
1: - struct xdr_buf rq_res;
1: - struct page___2 *rq_pages[260];
1: - struct page___2 **rq_respages;
1: - struct page___2 **rq_next_page;
1: - struct page___2 **rq_page_end;
1: - struct kvec rq_vec[259];
1: - __be32 rq_xid;
1: - u32 rq_prog;
1: - u32 rq_vers;
1: - u32 rq_proc;
1: - u32 rq_prot;
1: - int rq_cachetype;
1: - long unsigned int rq_flags;
1: - ktime_t rq_qtime;
1: - void *rq_argp;
1: - void *rq_resp;
1: - void *rq_auth_data;
1: - int rq_auth_slack;
1: - int rq_reserved;
1: - ktime_t rq_stime;
1: - struct cache_req rq_chandle;
1: - struct auth_domain *rq_client;
1: - struct auth_domain *rq_gssclient;
1: - struct svc_cacherep *rq_cacherep;
1: - struct task_struct___2 *rq_task;
1: - spinlock_t rq_lock;
1: - struct net___2 *rq_bc_net;
1: + struct list_head rq_all;
1: + struct callback_head rq_rcu_head;
1: + struct svc_xprt *rq_xprt;
1: + struct __kernel_sockaddr_storage rq_addr;
1: + size_t rq_addrlen;
1: + struct __kernel_sockaddr_storage rq_daddr;
1: + size_t rq_daddrlen;
1: + struct svc_serv *rq_server;
1: + struct svc_pool *rq_pool;
1: + const struct svc_procedure *rq_procinfo;
1: + struct auth_ops *rq_authop;
1: + struct svc_cred rq_cred;
1: + void *rq_xprt_ctxt;
1: + struct svc_deferred_req *rq_deferred;
1: + size_t rq_xprt_hlen;
1: + struct xdr_buf rq_arg;
1: + struct xdr_buf rq_res;
1: + struct page___2 *rq_pages[260];
1: + struct page___2 **rq_respages;
1: + struct page___2 **rq_next_page;
1: + struct page___2 **rq_page_end;
1: + struct kvec rq_vec[259];
1: + __be32 rq_xid;
1: + u32 rq_prog;
1: + u32 rq_vers;
1: + u32 rq_proc;
1: + u32 rq_prot;
1: + int rq_cachetype;
1: + long unsigned int rq_flags;
1: + ktime_t rq_qtime;
1: + void *rq_argp;
1: + void *rq_resp;
1: + void *rq_auth_data;
1: + int rq_auth_slack;
1: + int rq_reserved;
1: + ktime_t rq_stime;
1: + struct cache_req rq_chandle;
1: + struct auth_domain *rq_client;
1: + struct auth_domain *rq_gssclient;
1: + struct svc_cacherep *rq_cacherep;
1: + struct task_struct___2 *rq_task;
1: + spinlock_t rq_lock;
1: + struct net___2 *rq_bc_net;
1: };
1:
1: struct nlmclnt_initdata {
1: - const char *hostname;
1: - const struct sockaddr *address;
1: - size_t addrlen;
1: - short unsigned int protocol;
1: - u32 nfs_version;
1: - int noresvport;
1: - struct net___2 *net;
1: - const struct nlmclnt_operations *nlmclnt_ops;
1: - const struct cred___2 *cred;
1: + const char *hostname;
1: + const struct sockaddr *address;
1: + size_t addrlen;
1: + short unsigned int protocol;
1: + u32 nfs_version;
1: + int noresvport;
1: + struct net___2 *net;
1: + const struct nlmclnt_operations *nlmclnt_ops;
1: + const struct cred___2 *cred;
1: };
1:
1: struct cache_head {
1: - struct hlist_node cache_list;
1: - time_t expiry_time;
1: - time_t last_refresh;
1: - struct kref ref;
1: - long unsigned int flags;
1: + struct hlist_node cache_list;
1: + time_t expiry_time;
1: + time_t last_refresh;
1: + struct kref ref;
1: + long unsigned int flags;
1: };
1:
1: struct cache_detail {
1: - struct module___2 *owner;
1: - int hash_size;
1: - struct hlist_head *hash_table;
1: - spinlock_t hash_lock;
1: - char *name;
1: - void (*cache_put)(struct kref *);
1: - int (*cache_upcall)(struct cache_detail *, struct cache_head *);
1: - void (*cache_request)(struct cache_detail *, struct cache_head *, char **, int *);
1: - int (*cache_parse)(struct cache_detail *, char *, int);
1: - int (*cache_show)(struct seq_file *, struct cache_detail *, struct cache_head *);
1: - void (*warn_no_listener)(struct cache_detail *, int);
1: - struct cache_head * (*alloc)();
1: - void (*flush)();
1: - int (*match)(struct cache_head *, struct cache_head *);
1: - void (*init)(struct cache_head *, struct cache_head *);
1: - void (*update)(struct cache_head *, struct cache_head *);
1: - time_t flush_time;
1: - struct list_head others;
1: - time_t nextcheck;
1: - int entries;
1: - struct list_head queue;
1: - atomic_t writers;
1: - time_t last_close;
1: - time_t last_warn;
1: - union {
1: - struct proc_dir_entry *procfs;
1: - struct dentry___2 *pipefs;
1: - };
1: - struct net___2 *net;
1: + struct module___2 *owner;
1: + int hash_size;
1: + struct hlist_head *hash_table;
1: + spinlock_t hash_lock;
1: + char *name;
1: + void (*cache_put)(struct kref *);
1: + int (*cache_upcall)(struct cache_detail *, struct cache_head *);
1: + void (*cache_request)(struct cache_detail *, struct cache_head *, char **,
1: + int *);
1: + int (*cache_parse)(struct cache_detail *, char *, int);
1: + int (*cache_show)(struct seq_file *, struct cache_detail *,
1: + struct cache_head *);
1: + void (*warn_no_listener)(struct cache_detail *, int);
1: + struct cache_head *(*alloc)();
1: + void (*flush)();
1: + int (*match)(struct cache_head *, struct cache_head *);
1: + void (*init)(struct cache_head *, struct cache_head *);
1: + void (*update)(struct cache_head *, struct cache_head *);
1: + time_t flush_time;
1: + struct list_head others;
1: + time_t nextcheck;
1: + int entries;
1: + struct list_head queue;
1: + atomic_t writers;
1: + time_t last_close;
1: + time_t last_warn;
1: + union {
1: + struct proc_dir_entry *procfs;
1: + struct dentry___2 *pipefs;
1: + };
1: + struct net___2 *net;
1: };
1:
1: struct cache_deferred_req {
1: - struct hlist_node hash;
1: - struct list_head recent;
1: - struct cache_head *item;
1: - void *owner;
1: - void (*revisit)(struct cache_deferred_req *, int);
1: + struct hlist_node hash;
1: + struct list_head recent;
1: + struct cache_head *item;
1: + void *owner;
1: + void (*revisit)(struct cache_deferred_req *, int);
1: };
1:
1: struct auth_domain {
1: - struct kref ref;
1: - struct hlist_node hash;
1: - char *name;
1: - struct auth_ops *flavour;
1: - struct callback_head callback_head;
1: + struct kref ref;
1: + struct hlist_node hash;
1: + char *name;
1: + struct auth_ops *flavour;
1: + struct callback_head callback_head;
1: };
1:
1: struct auth_ops {
1: - char *name;
1: - struct module___2 *owner;
1: - int flavour;
1: - int (*accept)(struct svc_rqst *, __be32 *);
1: - int (*release)(struct svc_rqst *);
1: - void (*domain_release)(struct auth_domain *);
1: - int (*set_client)(struct svc_rqst *);
1: + char *name;
1: + struct module___2 *owner;
1: + int flavour;
1: + int (*accept)(struct svc_rqst *, __be32 *);
1: + int (*release)(struct svc_rqst *);
1: + void (*domain_release)(struct auth_domain *);
1: + int (*set_client)(struct svc_rqst *);
1: };
1:
1: struct svc_pool_stats {
1: - atomic_long_t packets;
1: - long unsigned int sockets_queued;
1: - atomic_long_t threads_woken;
1: - atomic_long_t threads_timedout;
1: + atomic_long_t packets;
1: + long unsigned int sockets_queued;
1: + atomic_long_t threads_woken;
1: + atomic_long_t threads_timedout;
1: };
1:
1: struct svc_pool {
1: - unsigned int sp_id;
1: - spinlock_t sp_lock;
1: - struct list_head sp_sockets;
1: - unsigned int sp_nrthreads;
1: - struct list_head sp_all_threads;
1: - struct svc_pool_stats sp_stats;
1: - long unsigned int sp_flags;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + unsigned int sp_id;
1: + spinlock_t sp_lock;
1: + struct list_head sp_sockets;
1: + unsigned int sp_nrthreads;
1: + struct list_head sp_all_threads;
1: + struct svc_pool_stats sp_stats;
1: + long unsigned int sp_flags;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct svc_serv_ops {
1: - void (*svo_shutdown)(struct svc_serv *, struct net___2 *);
1: - int (*svo_function)(void *);
1: - void (*svo_enqueue_xprt)(struct svc_xprt *);
1: - int (*svo_setup)(struct svc_serv *, struct svc_pool *, int);
1: - struct module___2 *svo_module;
1: + void (*svo_shutdown)(struct svc_serv *, struct net___2 *);
1: + int (*svo_function)(void *);
1: + void (*svo_enqueue_xprt)(struct svc_xprt *);
1: + int (*svo_setup)(struct svc_serv *, struct svc_pool *, int);
1: + struct module___2 *svo_module;
1: };
1:
1: struct svc_serv {
1: - struct svc_program *sv_program;
1: - struct svc_stat *sv_stats;
1: - spinlock_t sv_lock;
1: - unsigned int sv_nrthreads;
1: - unsigned int sv_maxconn;
1: - unsigned int sv_max_payload;
1: - unsigned int sv_max_mesg;
1: - unsigned int sv_xdrsize;
1: - struct list_head sv_permsocks;
1: - struct list_head sv_tempsocks;
1: - int sv_tmpcnt;
1: - struct timer_list sv_temptimer;
1: - char *sv_name;
1: - unsigned int sv_nrpools;
1: - struct svc_pool *sv_pools;
1: - const struct svc_serv_ops *sv_ops;
1: + struct svc_program *sv_program;
1: + struct svc_stat *sv_stats;
1: + spinlock_t sv_lock;
1: + unsigned int sv_nrthreads;
1: + unsigned int sv_maxconn;
1: + unsigned int sv_max_payload;
1: + unsigned int sv_max_mesg;
1: + unsigned int sv_xdrsize;
1: + struct list_head sv_permsocks;
1: + struct list_head sv_tempsocks;
1: + int sv_tmpcnt;
1: + struct timer_list sv_temptimer;
1: + char *sv_name;
1: + unsigned int sv_nrpools;
1: + struct svc_pool *sv_pools;
1: + const struct svc_serv_ops *sv_ops;
1: };
1:
1: struct svc_procedure {
1: - __be32 (*pc_func)(struct svc_rqst *);
1: - int (*pc_decode)(struct svc_rqst *, __be32 *);
1: - int (*pc_encode)(struct svc_rqst *, __be32 *);
1: - void (*pc_release)(struct svc_rqst *);
1: - unsigned int pc_argsize;
1: - unsigned int pc_ressize;
1: - unsigned int pc_cachetype;
1: - unsigned int pc_xdrressize;
1: + __be32 (*pc_func)(struct svc_rqst *);
1: + int (*pc_decode)(struct svc_rqst *, __be32 *);
1: + int (*pc_encode)(struct svc_rqst *, __be32 *);
1: + void (*pc_release)(struct svc_rqst *);
1: + unsigned int pc_argsize;
1: + unsigned int pc_ressize;
1: + unsigned int pc_cachetype;
1: + unsigned int pc_xdrressize;
1: };
1:
1: struct svc_deferred_req {
1: - u32 prot;
1: - struct svc_xprt *xprt;
1: - struct __kernel_sockaddr_storage addr;
1: - size_t addrlen;
1: - struct __kernel_sockaddr_storage daddr;
1: - size_t daddrlen;
1: - struct cache_deferred_req handle;
1: - size_t xprt_hlen;
1: - int argslen;
1: - __be32 args[0];
1: + u32 prot;
1: + struct svc_xprt *xprt;
1: + struct __kernel_sockaddr_storage addr;
1: + size_t addrlen;
1: + struct __kernel_sockaddr_storage daddr;
1: + size_t daddrlen;
1: + struct cache_deferred_req handle;
1: + size_t xprt_hlen;
1: + int argslen;
1: + __be32 args[0];
1: };
1:
1: struct svc_process_info {
1: - union {
1: - int (*dispatch)(struct svc_rqst *, __be32 *);
1: - struct {
1: - unsigned int lovers;
1: - unsigned int hivers;
1: - } mismatch;
1: - };
1: + union {
1: + int (*dispatch)(struct svc_rqst *, __be32 *);
1: + struct {
1: + unsigned int lovers;
1: + unsigned int hivers;
1: + } mismatch;
1: + };
1: };
1:
1: struct svc_version {
1: - u32 vs_vers;
1: - u32 vs_nproc;
1: - const struct svc_procedure *vs_proc;
1: - unsigned int *vs_count;
1: - u32 vs_xdrsize;
1: - bool vs_hidden;
1: - bool vs_rpcb_optnl;
1: - bool vs_need_cong_ctrl;
1: - int (*vs_dispatch)(struct svc_rqst *, __be32 *);
1: + u32 vs_vers;
1: + u32 vs_nproc;
1: + const struct svc_procedure *vs_proc;
1: + unsigned int *vs_count;
1: + u32 vs_xdrsize;
1: + bool vs_hidden;
1: + bool vs_rpcb_optnl;
1: + bool vs_need_cong_ctrl;
1: + int (*vs_dispatch)(struct svc_rqst *, __be32 *);
1: };
1:
1: struct svc_xprt_ops {
1: - struct svc_xprt * (*xpo_create)(struct svc_serv *, struct net___2 *, struct sockaddr *, int, int);
1: - struct svc_xprt * (*xpo_accept)(struct svc_xprt *);
1: - int (*xpo_has_wspace)(struct svc_xprt *);
1: - int (*xpo_recvfrom)(struct svc_rqst *);
1: - int (*xpo_sendto)(struct svc_rqst *);
1: - void (*xpo_release_rqst)(struct svc_rqst *);
1: - void (*xpo_detach)(struct svc_xprt *);
1: - void (*xpo_free)(struct svc_xprt *);
1: - void (*xpo_secure_port)(struct svc_rqst *);
1: - void (*xpo_kill_temp_xprt)(struct svc_xprt *);
1: + struct svc_xprt *(*xpo_create)(struct svc_serv *, struct net___2 *,
1: + struct sockaddr *, int, int);
1: + struct svc_xprt *(*xpo_accept)(struct svc_xprt *);
1: + int (*xpo_has_wspace)(struct svc_xprt *);
1: + int (*xpo_recvfrom)(struct svc_rqst *);
1: + int (*xpo_sendto)(struct svc_rqst *);
1: + void (*xpo_release_rqst)(struct svc_rqst *);
1: + void (*xpo_detach)(struct svc_xprt *);
1: + void (*xpo_free)(struct svc_xprt *);
1: + void (*xpo_secure_port)(struct svc_rqst *);
1: + void (*xpo_kill_temp_xprt)(struct svc_xprt *);
1: };
1:
1: struct svc_xprt_class {
1: - const char *xcl_name;
1: - struct module___2 *xcl_owner;
1: - const struct svc_xprt_ops *xcl_ops;
1: - struct list_head xcl_list;
1: - u32 xcl_max_payload;
1: - int xcl_ident;
1: + const char *xcl_name;
1: + struct module___2 *xcl_owner;
1: + const struct svc_xprt_ops *xcl_ops;
1: + struct list_head xcl_list;
1: + u32 xcl_max_payload;
1: + int xcl_ident;
1: };
1:
1: struct nfs4_state_recovery_ops {
1: - int owner_flag_bit;
1: - int state_flag_bit;
1: - int (*recover_open)(struct nfs4_state_owner *, struct nfs4_state *);
1: - int (*recover_lock)(struct nfs4_state *, struct file_lock *);
1: - int (*establish_clid)(struct nfs_client *, const struct cred___2 *);
1: - int (*reclaim_complete)(struct nfs_client *, const struct cred___2 *);
1: - int (*detect_trunking)(struct nfs_client *, struct nfs_client **, const struct cred___2 *);
1: + int owner_flag_bit;
1: + int state_flag_bit;
1: + int (*recover_open)(struct nfs4_state_owner *, struct nfs4_state *);
1: + int (*recover_lock)(struct nfs4_state *, struct file_lock *);
1: + int (*establish_clid)(struct nfs_client *, const struct cred___2 *);
1: + int (*reclaim_complete)(struct nfs_client *, const struct cred___2 *);
1: + int (*detect_trunking)(struct nfs_client *, struct nfs_client **,
1: + const struct cred___2 *);
1: };
1:
1: struct nfs4_state_maintenance_ops {
1: - int (*sched_state_renewal)(struct nfs_client *, const struct cred___2 *, unsigned int);
1: - const struct cred___2 * (*get_state_renewal_cred)(struct nfs_client *);
1: - int (*renew_lease)(struct nfs_client *, const struct cred___2 *);
1: + int (*sched_state_renewal)(struct nfs_client *, const struct cred___2 *,
1: + unsigned int);
1: + const struct cred___2 *(*get_state_renewal_cred)(struct nfs_client *);
1: + int (*renew_lease)(struct nfs_client *, const struct cred___2 *);
1: };
1:
1: struct nfs4_mig_recovery_ops {
1: - int (*get_locations)(struct inode___2 *, struct nfs4_fs_locations *, struct page___2 *, const struct cred___2 *);
1: - int (*fsid_present)(struct inode___2 *, const struct cred___2 *);
1: + int (*get_locations)(struct inode___2 *, struct nfs4_fs_locations *,
1: + struct page___2 *, const struct cred___2 *);
1: + int (*fsid_present)(struct inode___2 *, const struct cred___2 *);
1: };
1:
1: struct nfs4_state_owner {
1: - struct nfs_server *so_server;
1: - struct list_head so_lru;
1: - long unsigned int so_expires;
1: - struct rb_node so_server_node;
1: - const struct cred___2 *so_cred;
1: - spinlock_t so_lock;
1: - atomic_t so_count;
1: - long unsigned int so_flags;
1: - struct list_head so_states;
1: - struct nfs_seqid_counter so_seqid;
1: - seqcount_t so_reclaim_seqcount;
1: - struct mutex so_delegreturn_mutex;
1: + struct nfs_server *so_server;
1: + struct list_head so_lru;
1: + long unsigned int so_expires;
1: + struct rb_node so_server_node;
1: + const struct cred___2 *so_cred;
1: + spinlock_t so_lock;
1: + atomic_t so_count;
1: + long unsigned int so_flags;
1: + struct list_head so_states;
1: + struct nfs_seqid_counter so_seqid;
1: + seqcount_t so_reclaim_seqcount;
1: + struct mutex so_delegreturn_mutex;
1: };
1:
1: enum nfs_stat_bytecounters {
1: - NFSIOS_NORMALREADBYTES = 0,
1: - NFSIOS_NORMALWRITTENBYTES = 1,
1: - NFSIOS_DIRECTREADBYTES = 2,
1: - NFSIOS_DIRECTWRITTENBYTES = 3,
1: - NFSIOS_SERVERREADBYTES = 4,
1: - NFSIOS_SERVERWRITTENBYTES = 5,
1: - NFSIOS_READPAGES = 6,
1: - NFSIOS_WRITEPAGES = 7,
1: - __NFSIOS_BYTESMAX = 8,
1: + NFSIOS_NORMALREADBYTES = 0,
1: + NFSIOS_NORMALWRITTENBYTES = 1,
1: + NFSIOS_DIRECTREADBYTES = 2,
1: + NFSIOS_DIRECTWRITTENBYTES = 3,
1: + NFSIOS_SERVERREADBYTES = 4,
1: + NFSIOS_SERVERWRITTENBYTES = 5,
1: + NFSIOS_READPAGES = 6,
1: + NFSIOS_WRITEPAGES = 7,
1: + __NFSIOS_BYTESMAX = 8,
1: };
1:
1: enum nfs_stat_eventcounters {
1: - NFSIOS_INODEREVALIDATE = 0,
1: - NFSIOS_DENTRYREVALIDATE = 1,
1: - NFSIOS_DATAINVALIDATE = 2,
1: - NFSIOS_ATTRINVALIDATE = 3,
1: - NFSIOS_VFSOPEN = 4,
1: - NFSIOS_VFSLOOKUP = 5,
1: - NFSIOS_VFSACCESS = 6,
1: - NFSIOS_VFSUPDATEPAGE = 7,
1: - NFSIOS_VFSREADPAGE = 8,
1: - NFSIOS_VFSREADPAGES = 9,
1: - NFSIOS_VFSWRITEPAGE = 10,
1: - NFSIOS_VFSWRITEPAGES = 11,
1: - NFSIOS_VFSGETDENTS = 12,
1: - NFSIOS_VFSSETATTR = 13,
1: - NFSIOS_VFSFLUSH = 14,
1: - NFSIOS_VFSFSYNC = 15,
1: - NFSIOS_VFSLOCK = 16,
1: - NFSIOS_VFSRELEASE = 17,
1: - NFSIOS_CONGESTIONWAIT = 18,
1: - NFSIOS_SETATTRTRUNC = 19,
1: - NFSIOS_EXTENDWRITE = 20,
1: - NFSIOS_SILLYRENAME = 21,
1: - NFSIOS_SHORTREAD = 22,
1: - NFSIOS_SHORTWRITE = 23,
1: - NFSIOS_DELAY = 24,
1: - NFSIOS_PNFS_READ = 25,
1: - NFSIOS_PNFS_WRITE = 26,
1: - __NFSIOS_COUNTSMAX = 27,
1: + NFSIOS_INODEREVALIDATE = 0,
1: + NFSIOS_DENTRYREVALIDATE = 1,
1: + NFSIOS_DATAINVALIDATE = 2,
1: + NFSIOS_ATTRINVALIDATE = 3,
1: + NFSIOS_VFSOPEN = 4,
1: + NFSIOS_VFSLOOKUP = 5,
1: + NFSIOS_VFSACCESS = 6,
1: + NFSIOS_VFSUPDATEPAGE = 7,
1: + NFSIOS_VFSREADPAGE = 8,
1: + NFSIOS_VFSREADPAGES = 9,
1: + NFSIOS_VFSWRITEPAGE = 10,
1: + NFSIOS_VFSWRITEPAGES = 11,
1: + NFSIOS_VFSGETDENTS = 12,
1: + NFSIOS_VFSSETATTR = 13,
1: + NFSIOS_VFSFLUSH = 14,
1: + NFSIOS_VFSFSYNC = 15,
1: + NFSIOS_VFSLOCK = 16,
1: + NFSIOS_VFSRELEASE = 17,
1: + NFSIOS_CONGESTIONWAIT = 18,
1: + NFSIOS_SETATTRTRUNC = 19,
1: + NFSIOS_EXTENDWRITE = 20,
1: + NFSIOS_SILLYRENAME = 21,
1: + NFSIOS_SHORTREAD = 22,
1: + NFSIOS_SHORTWRITE = 23,
1: + NFSIOS_DELAY = 24,
1: + NFSIOS_PNFS_READ = 25,
1: + NFSIOS_PNFS_WRITE = 26,
1: + __NFSIOS_COUNTSMAX = 27,
1: };
1:
1: struct nfs_clone_mount {
1: - const struct super_block___2 *sb;
1: - const struct dentry___2 *dentry;
1: - struct nfs_fh *fh;
1: - struct nfs_fattr *fattr;
1: - char *hostname;
1: - char *mnt_path;
1: - struct sockaddr *addr;
1: - size_t addrlen;
1: - rpc_authflavor_t authflavor;
1: + const struct super_block___2 *sb;
1: + const struct dentry___2 *dentry;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: + char *hostname;
1: + char *mnt_path;
1: + struct sockaddr *addr;
1: + size_t addrlen;
1: + rpc_authflavor_t authflavor;
1: };
1:
1: struct nfs_parsed_mount_data {
1: - int flags;
1: - unsigned int rsize;
1: - unsigned int wsize;
1: - unsigned int timeo;
1: - unsigned int retrans;
1: - unsigned int acregmin;
1: - unsigned int acregmax;
1: - unsigned int acdirmin;
1: - unsigned int acdirmax;
1: - unsigned int namlen;
1: - unsigned int options;
1: - unsigned int bsize;
1: - struct nfs_auth_info auth_info;
1: - rpc_authflavor_t selected_flavor;
1: - char *client_address;
1: - unsigned int version;
1: - unsigned int minorversion;
1: - char *fscache_uniq;
1: - bool need_mount;
1: - struct {
1: - struct __kernel_sockaddr_storage address;
1: - size_t addrlen;
1: - char *hostname;
1: - u32 version;
1: - int port;
1: - short unsigned int protocol;
1: - } mount_server;
1: - struct {
1: - struct __kernel_sockaddr_storage address;
1: - size_t addrlen;
1: - char *hostname;
1: - char *export_path;
1: - int port;
1: - short unsigned int protocol;
1: - short unsigned int nconnect;
1: - } nfs_server;
1: - void *lsm_opts;
1: - struct net___2 *net;
1: + int flags;
1: + unsigned int rsize;
1: + unsigned int wsize;
1: + unsigned int timeo;
1: + unsigned int retrans;
1: + unsigned int acregmin;
1: + unsigned int acregmax;
1: + unsigned int acdirmin;
1: + unsigned int acdirmax;
1: + unsigned int namlen;
1: + unsigned int options;
1: + unsigned int bsize;
1: + struct nfs_auth_info auth_info;
1: + rpc_authflavor_t selected_flavor;
1: + char *client_address;
1: + unsigned int version;
1: + unsigned int minorversion;
1: + char *fscache_uniq;
1: + bool need_mount;
1: + struct {
1: + struct __kernel_sockaddr_storage address;
1: + size_t addrlen;
1: + char *hostname;
1: + u32 version;
1: + int port;
1: + short unsigned int protocol;
1: + } mount_server;
1: + struct {
1: + struct __kernel_sockaddr_storage address;
1: + size_t addrlen;
1: + char *hostname;
1: + char *export_path;
1: + int port;
1: + short unsigned int protocol;
1: + short unsigned int nconnect;
1: + } nfs_server;
1: + void *lsm_opts;
1: + struct net___2 *net;
1: };
1:
1: struct bl_dev_msg {
1: - int32_t status;
1: - uint32_t major;
1: - uint32_t minor;
1: + int32_t status;
1: + uint32_t major;
1: + uint32_t minor;
1: };
1:
1: struct nfs_netns_client;
1:
1: struct nfs_net {
1: - struct cache_detail *nfs_dns_resolve;
1: - struct rpc_pipe *bl_device_pipe;
1: - struct bl_dev_msg bl_mount_reply;
1: - wait_queue_head_t bl_wq;
1: - struct mutex bl_mutex;
1: - struct list_head nfs_client_list;
1: - struct list_head nfs_volume_list;
1: - struct idr cb_ident_idr;
1: - short unsigned int nfs_callback_tcpport;
1: - short unsigned int nfs_callback_tcpport6;
1: - int cb_users[1];
1: - struct nfs_netns_client *nfs_client;
1: - spinlock_t nfs_client_lock;
1: - ktime_t boot_time;
1: - struct proc_dir_entry *proc_nfsfs;
1: + struct cache_detail *nfs_dns_resolve;
1: + struct rpc_pipe *bl_device_pipe;
1: + struct bl_dev_msg bl_mount_reply;
1: + wait_queue_head_t bl_wq;
1: + struct mutex bl_mutex;
1: + struct list_head nfs_client_list;
1: + struct list_head nfs_volume_list;
1: + struct idr cb_ident_idr;
1: + short unsigned int nfs_callback_tcpport;
1: + short unsigned int nfs_callback_tcpport6;
1: + int cb_users[1];
1: + struct nfs_netns_client *nfs_client;
1: + spinlock_t nfs_client_lock;
1: + ktime_t boot_time;
1: + struct proc_dir_entry *proc_nfsfs;
1: };
1:
1: struct nfs_netns_client {
1: - struct kobject___2 kobject;
1: - struct net___2 *net;
1: - const char *identifier;
1: + struct kobject___2 kobject;
1: + struct net___2 *net;
1: + const char *identifier;
1: };
1:
1: typedef int filler_t___2(void *, struct page *);
1:
1: struct nfs_open_dir_context {
1: - struct list_head list;
1: - const struct cred *cred;
1: - long unsigned int attr_gencount;
1: - __u64 dir_cookie;
1: - __u64 dup_cookie;
1: - signed char duped;
1: + struct list_head list;
1: + const struct cred *cred;
1: + long unsigned int attr_gencount;
1: + __u64 dir_cookie;
1: + __u64 dup_cookie;
1: + signed char duped;
1: };
1:
1: struct nfs4_cached_acl;
1: @@ -46376,763 +46757,766 @@ struct nfs4_cached_acl;
1: struct nfs_delegation;
1:
1: struct nfs_inode {
1: - __u64 fileid;
1: - struct nfs_fh fh;
1: - long unsigned int flags;
1: - long unsigned int cache_validity;
1: - long unsigned int read_cache_jiffies;
1: - long unsigned int attrtimeo;
1: - long unsigned int attrtimeo_timestamp;
1: - long unsigned int attr_gencount;
1: - long unsigned int cache_change_attribute;
1: - struct rb_root access_cache;
1: - struct list_head access_cache_entry_lru;
1: - struct list_head access_cache_inode_lru;
1: - __be32 cookieverf[2];
1: - atomic_long_t nrequests;
1: - struct nfs_mds_commit_info commit_info;
1: - struct list_head open_files;
1: - struct rw_semaphore rmdir_sem;
1: - struct mutex commit_mutex;
1: - struct nfs4_cached_acl *nfs4_acl;
1: - struct list_head open_states;
1: - struct nfs_delegation *delegation;
1: - struct rw_semaphore rwsem;
1: - struct pnfs_layout_hdr *layout;
1: - __u64 write_io;
1: - __u64 read_io;
1: - struct inode vfs_inode;
1: + __u64 fileid;
1: + struct nfs_fh fh;
1: + long unsigned int flags;
1: + long unsigned int cache_validity;
1: + long unsigned int read_cache_jiffies;
1: + long unsigned int attrtimeo;
1: + long unsigned int attrtimeo_timestamp;
1: + long unsigned int attr_gencount;
1: + long unsigned int cache_change_attribute;
1: + struct rb_root access_cache;
1: + struct list_head access_cache_entry_lru;
1: + struct list_head access_cache_inode_lru;
1: + __be32 cookieverf[2];
1: + atomic_long_t nrequests;
1: + struct nfs_mds_commit_info commit_info;
1: + struct list_head open_files;
1: + struct rw_semaphore rmdir_sem;
1: + struct mutex commit_mutex;
1: + struct nfs4_cached_acl *nfs4_acl;
1: + struct list_head open_states;
1: + struct nfs_delegation *delegation;
1: + struct rw_semaphore rwsem;
1: + struct pnfs_layout_hdr *layout;
1: + __u64 write_io;
1: + __u64 read_io;
1: + struct inode vfs_inode;
1: };
1:
1: struct nfs_delegation {
1: - struct list_head super_list;
1: - const struct cred *cred;
1: - struct inode *inode;
1: - nfs4_stateid stateid;
1: - fmode_t type;
1: - long unsigned int pagemod_limit;
1: - __u64 change_attr;
1: - long unsigned int flags;
1: - spinlock_t lock;
1: - struct callback_head rcu;
1: + struct list_head super_list;
1: + const struct cred *cred;
1: + struct inode *inode;
1: + nfs4_stateid stateid;
1: + fmode_t type;
1: + long unsigned int pagemod_limit;
1: + __u64 change_attr;
1: + long unsigned int flags;
1: + spinlock_t lock;
1: + struct callback_head rcu;
1: };
1:
1: struct nfs_cache_array_entry {
1: - u64 cookie;
1: - u64 ino;
1: - struct qstr string;
1: - unsigned char d_type;
1: + u64 cookie;
1: + u64 ino;
1: + struct qstr string;
1: + unsigned char d_type;
1: };
1:
1: struct nfs_cache_array {
1: - int size;
1: - int eof_index;
1: - u64 last_cookie;
1: - struct nfs_cache_array_entry array[0];
1: + int size;
1: + int eof_index;
1: + u64 last_cookie;
1: + struct nfs_cache_array_entry array[0];
1: };
1:
1: typedef int (*decode_dirent_t)(struct xdr_stream *, struct nfs_entry *, bool);
1:
1: typedef struct {
1: - struct file *file;
1: - struct page *page;
1: - struct dir_context *ctx;
1: - long unsigned int page_index;
1: - u64 *dir_cookie;
1: - u64 last_cookie;
1: - loff_t current_index;
1: - decode_dirent_t decode;
1: - long unsigned int timestamp;
1: - long unsigned int gencount;
1: - unsigned int cache_entry_index;
1: - bool plus;
1: - bool eof;
1: + struct file *file;
1: + struct page *page;
1: + struct dir_context *ctx;
1: + long unsigned int page_index;
1: + u64 *dir_cookie;
1: + u64 last_cookie;
1: + loff_t current_index;
1: + decode_dirent_t decode;
1: + long unsigned int timestamp;
1: + long unsigned int gencount;
1: + unsigned int cache_entry_index;
1: + bool plus;
1: + bool eof;
1: } nfs_readdir_descriptor_t;
1:
1: struct nfs_find_desc {
1: - struct nfs_fh *fh;
1: - struct nfs_fattr *fattr;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: };
1:
1: struct nfs2_fh {
1: - char data[32];
1: + char data[32];
1: };
1:
1: struct nfs3_fh {
1: - short unsigned int size;
1: - unsigned char data[64];
1: + short unsigned int size;
1: + unsigned char data[64];
1: };
1:
1: struct nfs4_sessionid {
1: - unsigned char data[16];
1: + unsigned char data[16];
1: };
1:
1: struct nfs4_channel_attrs {
1: - u32 max_rqst_sz;
1: - u32 max_resp_sz;
1: - u32 max_resp_sz_cached;
1: - u32 max_ops;
1: - u32 max_reqs;
1: + u32 max_rqst_sz;
1: + u32 max_resp_sz;
1: + u32 max_resp_sz_cached;
1: + u32 max_ops;
1: + u32 max_reqs;
1: };
1:
1: struct nfs4_slot {
1: - struct nfs4_slot_table *table;
1: - struct nfs4_slot *next;
1: - long unsigned int generation;
1: - u32 slot_nr;
1: - u32 seq_nr;
1: - u32 seq_nr_last_acked;
1: - u32 seq_nr_highest_sent;
1: - unsigned int privileged: 1;
1: - unsigned int seq_done: 1;
1: + struct nfs4_slot_table *table;
1: + struct nfs4_slot *next;
1: + long unsigned int generation;
1: + u32 slot_nr;
1: + u32 seq_nr;
1: + u32 seq_nr_last_acked;
1: + u32 seq_nr_highest_sent;
1: + unsigned int privileged : 1;
1: + unsigned int seq_done : 1;
1: };
1:
1: struct nfs4_slot_table {
1: - struct nfs4_session *session;
1: - struct nfs4_slot *slots;
1: - long unsigned int used_slots[16];
1: - spinlock_t slot_tbl_lock;
1: - struct rpc_wait_queue slot_tbl_waitq;
1: - wait_queue_head_t slot_waitq;
1: - u32 max_slots;
1: - u32 max_slotid;
1: - u32 highest_used_slotid;
1: - u32 target_highest_slotid;
1: - u32 server_highest_slotid;
1: - s32 d_target_highest_slotid;
1: - s32 d2_target_highest_slotid;
1: - long unsigned int generation;
1: - struct completion complete;
1: - long unsigned int slot_tbl_state;
1: + struct nfs4_session *session;
1: + struct nfs4_slot *slots;
1: + long unsigned int used_slots[16];
1: + spinlock_t slot_tbl_lock;
1: + struct rpc_wait_queue slot_tbl_waitq;
1: + wait_queue_head_t slot_waitq;
1: + u32 max_slots;
1: + u32 max_slotid;
1: + u32 highest_used_slotid;
1: + u32 target_highest_slotid;
1: + u32 server_highest_slotid;
1: + s32 d_target_highest_slotid;
1: + s32 d2_target_highest_slotid;
1: + long unsigned int generation;
1: + struct completion complete;
1: + long unsigned int slot_tbl_state;
1: };
1:
1: struct nfs4_session {
1: - struct nfs4_sessionid sess_id;
1: - u32 flags;
1: - long unsigned int session_state;
1: - u32 hash_alg;
1: - u32 ssv_len;
1: - struct nfs4_channel_attrs fc_attrs;
1: - struct nfs4_slot_table fc_slot_table;
1: - struct nfs4_channel_attrs bc_attrs;
1: - struct nfs4_slot_table bc_slot_table;
1: - struct nfs_client *clp;
1: + struct nfs4_sessionid sess_id;
1: + u32 flags;
1: + long unsigned int session_state;
1: + u32 hash_alg;
1: + u32 ssv_len;
1: + struct nfs4_channel_attrs fc_attrs;
1: + struct nfs4_slot_table fc_slot_table;
1: + struct nfs4_channel_attrs bc_attrs;
1: + struct nfs4_slot_table bc_slot_table;
1: + struct nfs_client *clp;
1: };
1:
1: struct nfs_mount_data {
1: - int version;
1: - int fd;
1: - struct nfs2_fh old_root;
1: - int flags;
1: - int rsize;
1: - int wsize;
1: - int timeo;
1: - int retrans;
1: - int acregmin;
1: - int acregmax;
1: - int acdirmin;
1: - int acdirmax;
1: - struct sockaddr_in addr;
1: - char hostname[256];
1: - int namlen;
1: - unsigned int bsize;
1: - struct nfs3_fh root;
1: - int pseudoflavor;
1: - char context[257];
1: + int version;
1: + int fd;
1: + struct nfs2_fh old_root;
1: + int flags;
1: + int rsize;
1: + int wsize;
1: + int timeo;
1: + int retrans;
1: + int acregmin;
1: + int acregmax;
1: + int acdirmin;
1: + int acdirmax;
1: + struct sockaddr_in addr;
1: + char hostname[256];
1: + int namlen;
1: + unsigned int bsize;
1: + struct nfs3_fh root;
1: + int pseudoflavor;
1: + char context[257];
1: };
1:
1: struct nfs_mount_request {
1: - struct sockaddr *sap;
1: - size_t salen;
1: - char *hostname;
1: - char *dirpath;
1: - u32 version;
1: - short unsigned int protocol;
1: - struct nfs_fh *fh;
1: - int noresvport;
1: - unsigned int *auth_flav_len;
1: - rpc_authflavor_t *auth_flavs;
1: - struct net *net;
1: -};
1: -
1: -enum {
1: - Opt_soft = 0,
1: - Opt_softerr = 1,
1: - Opt_hard = 2,
1: - Opt_posix = 3,
1: - Opt_noposix = 4,
1: - Opt_cto = 5,
1: - Opt_nocto = 6,
1: - Opt_ac = 7,
1: - Opt_noac = 8,
1: - Opt_lock = 9,
1: - Opt_nolock = 10,
1: - Opt_udp = 11,
1: - Opt_tcp = 12,
1: - Opt_rdma = 13,
1: - Opt_acl___2 = 14,
1: - Opt_noacl___2 = 15,
1: - Opt_rdirplus = 16,
1: - Opt_nordirplus = 17,
1: - Opt_sharecache = 18,
1: - Opt_nosharecache = 19,
1: - Opt_resvport = 20,
1: - Opt_noresvport = 21,
1: - Opt_fscache = 22,
1: - Opt_nofscache = 23,
1: - Opt_migration = 24,
1: - Opt_nomigration = 25,
1: - Opt_port = 26,
1: - Opt_rsize = 27,
1: - Opt_wsize = 28,
1: - Opt_bsize = 29,
1: - Opt_timeo = 30,
1: - Opt_retrans = 31,
1: - Opt_acregmin = 32,
1: - Opt_acregmax = 33,
1: - Opt_acdirmin = 34,
1: - Opt_acdirmax = 35,
1: - Opt_actimeo = 36,
1: - Opt_namelen = 37,
1: - Opt_mountport = 38,
1: - Opt_mountvers = 39,
1: - Opt_minorversion = 40,
1: - Opt_nfsvers = 41,
1: - Opt_sec = 42,
1: - Opt_proto = 43,
1: - Opt_mountproto = 44,
1: - Opt_mounthost = 45,
1: - Opt_addr = 46,
1: - Opt_mountaddr = 47,
1: - Opt_clientaddr = 48,
1: - Opt_nconnect = 49,
1: - Opt_lookupcache = 50,
1: - Opt_fscache_uniq = 51,
1: - Opt_local_lock = 52,
1: - Opt_userspace = 53,
1: - Opt_deprecated = 54,
1: - Opt_sloppy = 55,
1: - Opt_err___5 = 56,
1: -};
1: -
1: -enum {
1: - Opt_xprt_udp = 0,
1: - Opt_xprt_udp6 = 1,
1: - Opt_xprt_tcp = 2,
1: - Opt_xprt_tcp6 = 3,
1: - Opt_xprt_rdma = 4,
1: - Opt_xprt_rdma6 = 5,
1: - Opt_xprt_err = 6,
1: -};
1: -
1: -enum {
1: - Opt_sec_none = 0,
1: - Opt_sec_sys = 1,
1: - Opt_sec_krb5 = 2,
1: - Opt_sec_krb5i = 3,
1: - Opt_sec_krb5p = 4,
1: - Opt_sec_lkey = 5,
1: - Opt_sec_lkeyi = 6,
1: - Opt_sec_lkeyp = 7,
1: - Opt_sec_spkm = 8,
1: - Opt_sec_spkmi = 9,
1: - Opt_sec_spkmp = 10,
1: - Opt_sec_err = 11,
1: -};
1: -
1: -enum {
1: - Opt_lookupcache_all = 0,
1: - Opt_lookupcache_positive = 1,
1: - Opt_lookupcache_none = 2,
1: - Opt_lookupcache_err = 3,
1: -};
1: -
1: -enum {
1: - Opt_local_lock_all = 0,
1: - Opt_local_lock_flock = 1,
1: - Opt_local_lock_posix = 2,
1: - Opt_local_lock_none = 3,
1: - Opt_local_lock_err = 4,
1: -};
1: -
1: -enum {
1: - Opt_vers_2 = 0,
1: - Opt_vers_3 = 1,
1: - Opt_vers_4 = 2,
1: - Opt_vers_4_0 = 3,
1: - Opt_vers_4_1 = 4,
1: - Opt_vers_4_2 = 5,
1: - Opt_vers_err = 6,
1: + struct sockaddr *sap;
1: + size_t salen;
1: + char *hostname;
1: + char *dirpath;
1: + u32 version;
1: + short unsigned int protocol;
1: + struct nfs_fh *fh;
1: + int noresvport;
1: + unsigned int *auth_flav_len;
1: + rpc_authflavor_t *auth_flavs;
1: + struct net *net;
1: +};
1: +
1: +enum {
1: + Opt_soft = 0,
1: + Opt_softerr = 1,
1: + Opt_hard = 2,
1: + Opt_posix = 3,
1: + Opt_noposix = 4,
1: + Opt_cto = 5,
1: + Opt_nocto = 6,
1: + Opt_ac = 7,
1: + Opt_noac = 8,
1: + Opt_lock = 9,
1: + Opt_nolock = 10,
1: + Opt_udp = 11,
1: + Opt_tcp = 12,
1: + Opt_rdma = 13,
1: + Opt_acl___2 = 14,
1: + Opt_noacl___2 = 15,
1: + Opt_rdirplus = 16,
1: + Opt_nordirplus = 17,
1: + Opt_sharecache = 18,
1: + Opt_nosharecache = 19,
1: + Opt_resvport = 20,
1: + Opt_noresvport = 21,
1: + Opt_fscache = 22,
1: + Opt_nofscache = 23,
1: + Opt_migration = 24,
1: + Opt_nomigration = 25,
1: + Opt_port = 26,
1: + Opt_rsize = 27,
1: + Opt_wsize = 28,
1: + Opt_bsize = 29,
1: + Opt_timeo = 30,
1: + Opt_retrans = 31,
1: + Opt_acregmin = 32,
1: + Opt_acregmax = 33,
1: + Opt_acdirmin = 34,
1: + Opt_acdirmax = 35,
1: + Opt_actimeo = 36,
1: + Opt_namelen = 37,
1: + Opt_mountport = 38,
1: + Opt_mountvers = 39,
1: + Opt_minorversion = 40,
1: + Opt_nfsvers = 41,
1: + Opt_sec = 42,
1: + Opt_proto = 43,
1: + Opt_mountproto = 44,
1: + Opt_mounthost = 45,
1: + Opt_addr = 46,
1: + Opt_mountaddr = 47,
1: + Opt_clientaddr = 48,
1: + Opt_nconnect = 49,
1: + Opt_lookupcache = 50,
1: + Opt_fscache_uniq = 51,
1: + Opt_local_lock = 52,
1: + Opt_userspace = 53,
1: + Opt_deprecated = 54,
1: + Opt_sloppy = 55,
1: + Opt_err___5 = 56,
1: +};
1: +
1: +enum {
1: + Opt_xprt_udp = 0,
1: + Opt_xprt_udp6 = 1,
1: + Opt_xprt_tcp = 2,
1: + Opt_xprt_tcp6 = 3,
1: + Opt_xprt_rdma = 4,
1: + Opt_xprt_rdma6 = 5,
1: + Opt_xprt_err = 6,
1: +};
1: +
1: +enum {
1: + Opt_sec_none = 0,
1: + Opt_sec_sys = 1,
1: + Opt_sec_krb5 = 2,
1: + Opt_sec_krb5i = 3,
1: + Opt_sec_krb5p = 4,
1: + Opt_sec_lkey = 5,
1: + Opt_sec_lkeyi = 6,
1: + Opt_sec_lkeyp = 7,
1: + Opt_sec_spkm = 8,
1: + Opt_sec_spkmi = 9,
1: + Opt_sec_spkmp = 10,
1: + Opt_sec_err = 11,
1: +};
1: +
1: +enum {
1: + Opt_lookupcache_all = 0,
1: + Opt_lookupcache_positive = 1,
1: + Opt_lookupcache_none = 2,
1: + Opt_lookupcache_err = 3,
1: +};
1: +
1: +enum {
1: + Opt_local_lock_all = 0,
1: + Opt_local_lock_flock = 1,
1: + Opt_local_lock_posix = 2,
1: + Opt_local_lock_none = 3,
1: + Opt_local_lock_err = 4,
1: +};
1: +
1: +enum {
1: + Opt_vers_2 = 0,
1: + Opt_vers_3 = 1,
1: + Opt_vers_4 = 2,
1: + Opt_vers_4_0 = 3,
1: + Opt_vers_4_1 = 4,
1: + Opt_vers_4_2 = 5,
1: + Opt_vers_err = 6,
1: };
1:
1: struct nfs_sb_mountdata {
1: - struct nfs_server *server;
1: - int mntflags;
1: + struct nfs_server *server;
1: + int mntflags;
1: };
1:
1: struct proc_nfs_info {
1: - int flag;
1: - const char *str;
1: - const char *nostr;
1: + int flag;
1: + const char *str;
1: + const char *nostr;
1: };
1:
1: enum {
1: - NFS_IOHDR_ERROR = 0,
1: - NFS_IOHDR_EOF = 1,
1: - NFS_IOHDR_REDO = 2,
1: - NFS_IOHDR_STAT = 3,
1: - NFS_IOHDR_RESEND_PNFS = 4,
1: - NFS_IOHDR_RESEND_MDS = 5,
1: + NFS_IOHDR_ERROR = 0,
1: + NFS_IOHDR_EOF = 1,
1: + NFS_IOHDR_REDO = 2,
1: + NFS_IOHDR_STAT = 3,
1: + NFS_IOHDR_RESEND_PNFS = 4,
1: + NFS_IOHDR_RESEND_MDS = 5,
1: };
1:
1: struct nfs_direct_req {
1: - struct kref kref;
1: - struct nfs_open_context *ctx;
1: - struct nfs_lock_context *l_ctx;
1: - struct kiocb *iocb;
1: - struct inode *inode;
1: - atomic_t io_count;
1: - spinlock_t lock;
1: - loff_t io_start;
1: - ssize_t count;
1: - ssize_t max_count;
1: - ssize_t bytes_left;
1: - ssize_t error;
1: - struct completion completion;
1: - struct nfs_mds_commit_info mds_cinfo;
1: - struct pnfs_ds_commit_info ds_cinfo;
1: - struct work_struct work;
1: - int flags;
1: - struct nfs_writeverf verf;
1: -};
1: -
1: -enum {
1: - PG_BUSY = 0,
1: - PG_MAPPED = 1,
1: - PG_CLEAN = 2,
1: - PG_COMMIT_TO_DS = 3,
1: - PG_INODE_REF = 4,
1: - PG_HEADLOCK = 5,
1: - PG_TEARDOWN = 6,
1: - PG_UNLOCKPAGE = 7,
1: - PG_UPTODATE = 8,
1: - PG_WB_END = 9,
1: - PG_REMOVE = 10,
1: - PG_CONTENDED1 = 11,
1: - PG_CONTENDED2 = 12,
1: + struct kref kref;
1: + struct nfs_open_context *ctx;
1: + struct nfs_lock_context *l_ctx;
1: + struct kiocb *iocb;
1: + struct inode *inode;
1: + atomic_t io_count;
1: + spinlock_t lock;
1: + loff_t io_start;
1: + ssize_t count;
1: + ssize_t max_count;
1: + ssize_t bytes_left;
1: + ssize_t error;
1: + struct completion completion;
1: + struct nfs_mds_commit_info mds_cinfo;
1: + struct pnfs_ds_commit_info ds_cinfo;
1: + struct work_struct work;
1: + int flags;
1: + struct nfs_writeverf verf;
1: +};
1: +
1: +enum {
1: + PG_BUSY = 0,
1: + PG_MAPPED = 1,
1: + PG_CLEAN = 2,
1: + PG_COMMIT_TO_DS = 3,
1: + PG_INODE_REF = 4,
1: + PG_HEADLOCK = 5,
1: + PG_TEARDOWN = 6,
1: + PG_UNLOCKPAGE = 7,
1: + PG_UPTODATE = 8,
1: + PG_WB_END = 9,
1: + PG_REMOVE = 10,
1: + PG_CONTENDED1 = 11,
1: + PG_CONTENDED2 = 12,
1: };
1:
1: struct nfs_pageio_descriptor;
1:
1: struct nfs_pageio_ops {
1: - void (*pg_init)(struct nfs_pageio_descriptor *, struct nfs_page *);
1: - size_t (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *, struct nfs_page *);
1: - int (*pg_doio)(struct nfs_pageio_descriptor *);
1: - unsigned int (*pg_get_mirror_count)(struct nfs_pageio_descriptor *, struct nfs_page *);
1: - void (*pg_cleanup)(struct nfs_pageio_descriptor *);
1: + void (*pg_init)(struct nfs_pageio_descriptor *, struct nfs_page *);
1: + size_t (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *,
1: + struct nfs_page *);
1: + int (*pg_doio)(struct nfs_pageio_descriptor *);
1: + unsigned int (*pg_get_mirror_count)(struct nfs_pageio_descriptor *,
1: + struct nfs_page *);
1: + void (*pg_cleanup)(struct nfs_pageio_descriptor *);
1: };
1:
1: struct nfs_pgio_mirror {
1: - struct list_head pg_list;
1: - long unsigned int pg_bytes_written;
1: - size_t pg_count;
1: - size_t pg_bsize;
1: - unsigned int pg_base;
1: - unsigned char pg_recoalesce: 1;
1: + struct list_head pg_list;
1: + long unsigned int pg_bytes_written;
1: + size_t pg_count;
1: + size_t pg_bsize;
1: + unsigned int pg_base;
1: + unsigned char pg_recoalesce : 1;
1: };
1:
1: struct nfs_pageio_descriptor {
1: - struct inode *pg_inode;
1: - const struct nfs_pageio_ops *pg_ops;
1: - const struct nfs_rw_ops *pg_rw_ops;
1: - int pg_ioflags;
1: - int pg_error;
1: - const struct rpc_call_ops *pg_rpc_callops;
1: - const struct nfs_pgio_completion_ops *pg_completion_ops;
1: - struct pnfs_layout_segment *pg_lseg;
1: - struct nfs_io_completion *pg_io_completion;
1: - struct nfs_direct_req *pg_dreq;
1: - unsigned int pg_bsize;
1: - u32 pg_mirror_count;
1: - struct nfs_pgio_mirror *pg_mirrors;
1: - struct nfs_pgio_mirror pg_mirrors_static[1];
1: - struct nfs_pgio_mirror *pg_mirrors_dynamic;
1: - u32 pg_mirror_idx;
1: - short unsigned int pg_maxretrans;
1: - unsigned char pg_moreio: 1;
1: + struct inode *pg_inode;
1: + const struct nfs_pageio_ops *pg_ops;
1: + const struct nfs_rw_ops *pg_rw_ops;
1: + int pg_ioflags;
1: + int pg_error;
1: + const struct rpc_call_ops *pg_rpc_callops;
1: + const struct nfs_pgio_completion_ops *pg_completion_ops;
1: + struct pnfs_layout_segment *pg_lseg;
1: + struct nfs_io_completion *pg_io_completion;
1: + struct nfs_direct_req *pg_dreq;
1: + unsigned int pg_bsize;
1: + u32 pg_mirror_count;
1: + struct nfs_pgio_mirror *pg_mirrors;
1: + struct nfs_pgio_mirror pg_mirrors_static[1];
1: + struct nfs_pgio_mirror *pg_mirrors_dynamic;
1: + u32 pg_mirror_idx;
1: + short unsigned int pg_maxretrans;
1: + unsigned char pg_moreio : 1;
1: };
1:
1: typedef void (*rpc_action)(struct rpc_task *);
1:
1: struct nfs_readdesc {
1: - struct nfs_pageio_descriptor *pgio;
1: - struct nfs_open_context *ctx;
1: + struct nfs_pageio_descriptor *pgio;
1: + struct nfs_open_context *ctx;
1: };
1:
1: -typedef int (*writepage_t___2)(struct page *, struct writeback_control *, void *);
1: +typedef int (*writepage_t___2)(struct page *, struct writeback_control *,
1: + void *);
1:
1: struct nfs_io_completion {
1: - void (*complete)(void *);
1: - void *data;
1: - struct kref refcount;
1: + void (*complete)(void *);
1: + void *data;
1: + struct kref refcount;
1: };
1:
1: enum pnfs_try_status {
1: - PNFS_ATTEMPTED = 0,
1: - PNFS_NOT_ATTEMPTED = 1,
1: - PNFS_TRY_AGAIN = 2,
1: + PNFS_ATTEMPTED = 0,
1: + PNFS_NOT_ATTEMPTED = 1,
1: + PNFS_TRY_AGAIN = 2,
1: };
1:
1: enum {
1: - MOUNTPROC_NULL = 0,
1: - MOUNTPROC_MNT = 1,
1: - MOUNTPROC_DUMP = 2,
1: - MOUNTPROC_UMNT = 3,
1: - MOUNTPROC_UMNTALL = 4,
1: - MOUNTPROC_EXPORT = 5,
1: + MOUNTPROC_NULL = 0,
1: + MOUNTPROC_MNT = 1,
1: + MOUNTPROC_DUMP = 2,
1: + MOUNTPROC_UMNT = 3,
1: + MOUNTPROC_UMNTALL = 4,
1: + MOUNTPROC_EXPORT = 5,
1: };
1:
1: enum {
1: - MOUNTPROC3_NULL = 0,
1: - MOUNTPROC3_MNT = 1,
1: - MOUNTPROC3_DUMP = 2,
1: - MOUNTPROC3_UMNT = 3,
1: - MOUNTPROC3_UMNTALL = 4,
1: - MOUNTPROC3_EXPORT = 5,
1: + MOUNTPROC3_NULL = 0,
1: + MOUNTPROC3_MNT = 1,
1: + MOUNTPROC3_DUMP = 2,
1: + MOUNTPROC3_UMNT = 3,
1: + MOUNTPROC3_UMNTALL = 4,
1: + MOUNTPROC3_EXPORT = 5,
1: };
1:
1: enum mountstat {
1: - MNT_OK = 0,
1: - MNT_EPERM = 1,
1: - MNT_ENOENT = 2,
1: - MNT_EACCES = 13,
1: - MNT_EINVAL = 22,
1: + MNT_OK = 0,
1: + MNT_EPERM = 1,
1: + MNT_ENOENT = 2,
1: + MNT_EACCES = 13,
1: + MNT_EINVAL = 22,
1: };
1:
1: enum mountstat3 {
1: - MNT3_OK = 0,
1: - MNT3ERR_PERM = 1,
1: - MNT3ERR_NOENT = 2,
1: - MNT3ERR_IO = 5,
1: - MNT3ERR_ACCES = 13,
1: - MNT3ERR_NOTDIR = 20,
1: - MNT3ERR_INVAL = 22,
1: - MNT3ERR_NAMETOOLONG = 63,
1: - MNT3ERR_NOTSUPP = 10004,
1: - MNT3ERR_SERVERFAULT = 10006,
1: + MNT3_OK = 0,
1: + MNT3ERR_PERM = 1,
1: + MNT3ERR_NOENT = 2,
1: + MNT3ERR_IO = 5,
1: + MNT3ERR_ACCES = 13,
1: + MNT3ERR_NOTDIR = 20,
1: + MNT3ERR_INVAL = 22,
1: + MNT3ERR_NAMETOOLONG = 63,
1: + MNT3ERR_NOTSUPP = 10004,
1: + MNT3ERR_SERVERFAULT = 10006,
1: };
1:
1: struct mountres {
1: - int errno;
1: - struct nfs_fh *fh;
1: - unsigned int *auth_count;
1: - rpc_authflavor_t *auth_flavors;
1: + int errno;
1: + struct nfs_fh *fh;
1: + unsigned int *auth_count;
1: + rpc_authflavor_t *auth_flavors;
1: };
1:
1: enum nfs_stat {
1: - NFS_OK = 0,
1: - NFSERR_PERM = 1,
1: - NFSERR_NOENT = 2,
1: - NFSERR_IO = 5,
1: - NFSERR_NXIO = 6,
1: - NFSERR_EAGAIN = 11,
1: - NFSERR_ACCES = 13,
1: - NFSERR_EXIST = 17,
1: - NFSERR_XDEV = 18,
1: - NFSERR_NODEV = 19,
1: - NFSERR_NOTDIR = 20,
1: - NFSERR_ISDIR = 21,
1: - NFSERR_INVAL = 22,
1: - NFSERR_FBIG = 27,
1: - NFSERR_NOSPC = 28,
1: - NFSERR_ROFS = 30,
1: - NFSERR_MLINK = 31,
1: - NFSERR_OPNOTSUPP = 45,
1: - NFSERR_NAMETOOLONG = 63,
1: - NFSERR_NOTEMPTY = 66,
1: - NFSERR_DQUOT = 69,
1: - NFSERR_STALE = 70,
1: - NFSERR_REMOTE = 71,
1: - NFSERR_WFLUSH = 99,
1: - NFSERR_BADHANDLE = 10001,
1: - NFSERR_NOT_SYNC = 10002,
1: - NFSERR_BAD_COOKIE = 10003,
1: - NFSERR_NOTSUPP = 10004,
1: - NFSERR_TOOSMALL = 10005,
1: - NFSERR_SERVERFAULT = 10006,
1: - NFSERR_BADTYPE = 10007,
1: - NFSERR_JUKEBOX = 10008,
1: - NFSERR_SAME = 10009,
1: - NFSERR_DENIED = 10010,
1: - NFSERR_EXPIRED = 10011,
1: - NFSERR_LOCKED = 10012,
1: - NFSERR_GRACE = 10013,
1: - NFSERR_FHEXPIRED = 10014,
1: - NFSERR_SHARE_DENIED = 10015,
1: - NFSERR_WRONGSEC = 10016,
1: - NFSERR_CLID_INUSE = 10017,
1: - NFSERR_RESOURCE = 10018,
1: - NFSERR_MOVED = 10019,
1: - NFSERR_NOFILEHANDLE = 10020,
1: - NFSERR_MINOR_VERS_MISMATCH = 10021,
1: - NFSERR_STALE_CLIENTID = 10022,
1: - NFSERR_STALE_STATEID = 10023,
1: - NFSERR_OLD_STATEID = 10024,
1: - NFSERR_BAD_STATEID = 10025,
1: - NFSERR_BAD_SEQID = 10026,
1: - NFSERR_NOT_SAME = 10027,
1: - NFSERR_LOCK_RANGE = 10028,
1: - NFSERR_SYMLINK = 10029,
1: - NFSERR_RESTOREFH = 10030,
1: - NFSERR_LEASE_MOVED = 10031,
1: - NFSERR_ATTRNOTSUPP = 10032,
1: - NFSERR_NO_GRACE = 10033,
1: - NFSERR_RECLAIM_BAD = 10034,
1: - NFSERR_RECLAIM_CONFLICT = 10035,
1: - NFSERR_BAD_XDR = 10036,
1: - NFSERR_LOCKS_HELD = 10037,
1: - NFSERR_OPENMODE = 10038,
1: - NFSERR_BADOWNER = 10039,
1: - NFSERR_BADCHAR = 10040,
1: - NFSERR_BADNAME = 10041,
1: - NFSERR_BAD_RANGE = 10042,
1: - NFSERR_LOCK_NOTSUPP = 10043,
1: - NFSERR_OP_ILLEGAL = 10044,
1: - NFSERR_DEADLOCK = 10045,
1: - NFSERR_FILE_OPEN = 10046,
1: - NFSERR_ADMIN_REVOKED = 10047,
1: - NFSERR_CB_PATH_DOWN = 10048,
1: + NFS_OK = 0,
1: + NFSERR_PERM = 1,
1: + NFSERR_NOENT = 2,
1: + NFSERR_IO = 5,
1: + NFSERR_NXIO = 6,
1: + NFSERR_EAGAIN = 11,
1: + NFSERR_ACCES = 13,
1: + NFSERR_EXIST = 17,
1: + NFSERR_XDEV = 18,
1: + NFSERR_NODEV = 19,
1: + NFSERR_NOTDIR = 20,
1: + NFSERR_ISDIR = 21,
1: + NFSERR_INVAL = 22,
1: + NFSERR_FBIG = 27,
1: + NFSERR_NOSPC = 28,
1: + NFSERR_ROFS = 30,
1: + NFSERR_MLINK = 31,
1: + NFSERR_OPNOTSUPP = 45,
1: + NFSERR_NAMETOOLONG = 63,
1: + NFSERR_NOTEMPTY = 66,
1: + NFSERR_DQUOT = 69,
1: + NFSERR_STALE = 70,
1: + NFSERR_REMOTE = 71,
1: + NFSERR_WFLUSH = 99,
1: + NFSERR_BADHANDLE = 10001,
1: + NFSERR_NOT_SYNC = 10002,
1: + NFSERR_BAD_COOKIE = 10003,
1: + NFSERR_NOTSUPP = 10004,
1: + NFSERR_TOOSMALL = 10005,
1: + NFSERR_SERVERFAULT = 10006,
1: + NFSERR_BADTYPE = 10007,
1: + NFSERR_JUKEBOX = 10008,
1: + NFSERR_SAME = 10009,
1: + NFSERR_DENIED = 10010,
1: + NFSERR_EXPIRED = 10011,
1: + NFSERR_LOCKED = 10012,
1: + NFSERR_GRACE = 10013,
1: + NFSERR_FHEXPIRED = 10014,
1: + NFSERR_SHARE_DENIED = 10015,
1: + NFSERR_WRONGSEC = 10016,
1: + NFSERR_CLID_INUSE = 10017,
1: + NFSERR_RESOURCE = 10018,
1: + NFSERR_MOVED = 10019,
1: + NFSERR_NOFILEHANDLE = 10020,
1: + NFSERR_MINOR_VERS_MISMATCH = 10021,
1: + NFSERR_STALE_CLIENTID = 10022,
1: + NFSERR_STALE_STATEID = 10023,
1: + NFSERR_OLD_STATEID = 10024,
1: + NFSERR_BAD_STATEID = 10025,
1: + NFSERR_BAD_SEQID = 10026,
1: + NFSERR_NOT_SAME = 10027,
1: + NFSERR_LOCK_RANGE = 10028,
1: + NFSERR_SYMLINK = 10029,
1: + NFSERR_RESTOREFH = 10030,
1: + NFSERR_LEASE_MOVED = 10031,
1: + NFSERR_ATTRNOTSUPP = 10032,
1: + NFSERR_NO_GRACE = 10033,
1: + NFSERR_RECLAIM_BAD = 10034,
1: + NFSERR_RECLAIM_CONFLICT = 10035,
1: + NFSERR_BAD_XDR = 10036,
1: + NFSERR_LOCKS_HELD = 10037,
1: + NFSERR_OPENMODE = 10038,
1: + NFSERR_BADOWNER = 10039,
1: + NFSERR_BADCHAR = 10040,
1: + NFSERR_BADNAME = 10041,
1: + NFSERR_BAD_RANGE = 10042,
1: + NFSERR_LOCK_NOTSUPP = 10043,
1: + NFSERR_OP_ILLEGAL = 10044,
1: + NFSERR_DEADLOCK = 10045,
1: + NFSERR_FILE_OPEN = 10046,
1: + NFSERR_ADMIN_REVOKED = 10047,
1: + NFSERR_CB_PATH_DOWN = 10048,
1: };
1:
1: struct trace_event_raw_nfs_inode_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - u64 version;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + u64 version;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_inode_event_done {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - dev_t dev;
1: - u32 fhandle;
1: - unsigned char type;
1: - u64 fileid;
1: - u64 version;
1: - loff_t size;
1: - long unsigned int nfsi_flags;
1: - long unsigned int cache_validity;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u32 fhandle;
1: + unsigned char type;
1: + u64 fileid;
1: + u64 version;
1: + loff_t size;
1: + long unsigned int nfsi_flags;
1: + long unsigned int cache_validity;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_lookup_event {
1: - struct trace_entry ent;
1: - long unsigned int flags;
1: - dev_t dev;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int flags;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_lookup_event_done {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - long unsigned int flags;
1: - dev_t dev;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + long unsigned int flags;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_atomic_open_enter {
1: - struct trace_entry ent;
1: - long unsigned int flags;
1: - unsigned int fmode;
1: - dev_t dev;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int flags;
1: + unsigned int fmode;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_atomic_open_exit {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - long unsigned int flags;
1: - unsigned int fmode;
1: - dev_t dev;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + long unsigned int flags;
1: + unsigned int fmode;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_create_enter {
1: - struct trace_entry ent;
1: - long unsigned int flags;
1: - dev_t dev;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int flags;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_create_exit {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - long unsigned int flags;
1: - dev_t dev;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + long unsigned int flags;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_directory_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_directory_event_done {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - dev_t dev;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_link_enter {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u64 fileid;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 fileid;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_link_exit {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - dev_t dev;
1: - u64 fileid;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u64 fileid;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_rename_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u64 old_dir;
1: - u64 new_dir;
1: - u32 __data_loc_old_name;
1: - u32 __data_loc_new_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 old_dir;
1: + u64 new_dir;
1: + u32 __data_loc_old_name;
1: + u32 __data_loc_new_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_rename_event_done {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int error;
1: - u64 old_dir;
1: - u32 __data_loc_old_name;
1: - u64 new_dir;
1: - u32 __data_loc_new_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int error;
1: + u64 old_dir;
1: + u32 __data_loc_old_name;
1: + u64 new_dir;
1: + u32 __data_loc_new_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_sillyrename_unlink {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int error;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int error;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_initiate_read {
1: - struct trace_entry ent;
1: - loff_t offset;
1: - long unsigned int count;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + loff_t offset;
1: + long unsigned int count;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_readpage_done {
1: - struct trace_entry ent;
1: - int status;
1: - loff_t offset;
1: - bool eof;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int status;
1: + loff_t offset;
1: + bool eof;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_initiate_write {
1: - struct trace_entry ent;
1: - loff_t offset;
1: - long unsigned int count;
1: - enum nfs3_stable_how stable;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + loff_t offset;
1: + long unsigned int count;
1: + enum nfs3_stable_how stable;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_writeback_done {
1: - struct trace_entry ent;
1: - int status;
1: - loff_t offset;
1: - enum nfs3_stable_how stable;
1: - long long unsigned int verifier;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int status;
1: + loff_t offset;
1: + enum nfs3_stable_how stable;
1: + long long unsigned int verifier;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_initiate_commit {
1: - struct trace_entry ent;
1: - loff_t offset;
1: - long unsigned int count;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + loff_t offset;
1: + long unsigned int count;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_commit_done {
1: - struct trace_entry ent;
1: - int status;
1: - loff_t offset;
1: - long long unsigned int verifier;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int status;
1: + loff_t offset;
1: + long long unsigned int verifier;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_fh_to_dentry {
1: - struct trace_entry ent;
1: - int error;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int error;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs_xdr_status {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 xid;
1: - long unsigned int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + long unsigned int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_nfs_inode_event {};
1: @@ -47140,57 +47524,57 @@ struct trace_event_data_offsets_nfs_inode_event {};
1: struct trace_event_data_offsets_nfs_inode_event_done {};
1:
1: struct trace_event_data_offsets_nfs_lookup_event {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_lookup_event_done {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_atomic_open_enter {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_atomic_open_exit {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_create_enter {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_create_exit {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_directory_event {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_directory_event_done {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_link_enter {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_link_exit {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_rename_event {
1: - u32 old_name;
1: - u32 new_name;
1: + u32 old_name;
1: + u32 new_name;
1: };
1:
1: struct trace_event_data_offsets_nfs_rename_event_done {
1: - u32 old_name;
1: - u32 new_name;
1: + u32 old_name;
1: + u32 new_name;
1: };
1:
1: struct trace_event_data_offsets_nfs_sillyrename_unlink {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs_initiate_read {};
1: @@ -47210,1733 +47594,1734 @@ struct trace_event_data_offsets_nfs_fh_to_dentry {};
1: struct trace_event_data_offsets_nfs_xdr_status {};
1:
1: enum {
1: - FILEID_HIGH_OFF = 0,
1: - FILEID_LOW_OFF = 1,
1: - FILE_I_TYPE_OFF = 2,
1: - EMBED_FH_OFF = 3,
1: + FILEID_HIGH_OFF = 0,
1: + FILEID_LOW_OFF = 1,
1: + FILE_I_TYPE_OFF = 2,
1: + EMBED_FH_OFF = 3,
1: };
1:
1: struct nfs2_fsstat {
1: - __u32 tsize;
1: - __u32 bsize;
1: - __u32 blocks;
1: - __u32 bfree;
1: - __u32 bavail;
1: + __u32 tsize;
1: + __u32 bsize;
1: + __u32 blocks;
1: + __u32 bfree;
1: + __u32 bavail;
1: };
1:
1: struct nfs_sattrargs {
1: - struct nfs_fh *fh;
1: - struct iattr *sattr;
1: + struct nfs_fh *fh;
1: + struct iattr *sattr;
1: };
1:
1: struct nfs_diropargs {
1: - struct nfs_fh *fh;
1: - const char *name;
1: - unsigned int len;
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: };
1:
1: struct nfs_createargs {
1: - struct nfs_fh *fh;
1: - const char *name;
1: - unsigned int len;
1: - struct iattr *sattr;
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: + struct iattr *sattr;
1: };
1:
1: struct nfs_linkargs {
1: - struct nfs_fh *fromfh;
1: - struct nfs_fh *tofh;
1: - const char *toname;
1: - unsigned int tolen;
1: + struct nfs_fh *fromfh;
1: + struct nfs_fh *tofh;
1: + const char *toname;
1: + unsigned int tolen;
1: };
1:
1: struct nfs_symlinkargs {
1: - struct nfs_fh *fromfh;
1: - const char *fromname;
1: - unsigned int fromlen;
1: - struct page **pages;
1: - unsigned int pathlen;
1: - struct iattr *sattr;
1: + struct nfs_fh *fromfh;
1: + const char *fromname;
1: + unsigned int fromlen;
1: + struct page **pages;
1: + unsigned int pathlen;
1: + struct iattr *sattr;
1: };
1:
1: struct nfs_readdirargs {
1: - struct nfs_fh *fh;
1: - __u32 cookie;
1: - unsigned int count;
1: - struct page **pages;
1: + struct nfs_fh *fh;
1: + __u32 cookie;
1: + unsigned int count;
1: + struct page **pages;
1: };
1:
1: struct nfs_diropok {
1: - struct nfs_fh *fh;
1: - struct nfs_fattr *fattr;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: };
1:
1: struct nfs_readlinkargs {
1: - struct nfs_fh *fh;
1: - unsigned int pgbase;
1: - unsigned int pglen;
1: - struct page **pages;
1: + struct nfs_fh *fh;
1: + unsigned int pgbase;
1: + unsigned int pglen;
1: + struct page **pages;
1: };
1:
1: struct nfs_createdata {
1: - struct nfs_createargs arg;
1: - struct nfs_diropok res;
1: - struct nfs_fh fhandle;
1: - struct nfs_fattr fattr;
1: + struct nfs_createargs arg;
1: + struct nfs_diropok res;
1: + struct nfs_fh fhandle;
1: + struct nfs_fattr fattr;
1: };
1:
1: enum nfs_ftype {
1: - NFNON = 0,
1: - NFREG = 1,
1: - NFDIR = 2,
1: - NFBLK = 3,
1: - NFCHR = 4,
1: - NFLNK = 5,
1: - NFSOCK = 6,
1: - NFBAD = 7,
1: - NFFIFO = 8,
1: + NFNON = 0,
1: + NFREG = 1,
1: + NFDIR = 2,
1: + NFBLK = 3,
1: + NFCHR = 4,
1: + NFLNK = 5,
1: + NFSOCK = 6,
1: + NFBAD = 7,
1: + NFFIFO = 8,
1: };
1:
1: enum nfs2_ftype {
1: - NF2NON = 0,
1: - NF2REG = 1,
1: - NF2DIR = 2,
1: - NF2BLK = 3,
1: - NF2CHR = 4,
1: - NF2LNK = 5,
1: - NF2SOCK = 6,
1: - NF2BAD = 7,
1: - NF2FIFO = 8,
1: + NF2NON = 0,
1: + NF2REG = 1,
1: + NF2DIR = 2,
1: + NF2BLK = 3,
1: + NF2CHR = 4,
1: + NF2LNK = 5,
1: + NF2SOCK = 6,
1: + NF2BAD = 7,
1: + NF2FIFO = 8,
1: };
1:
1: enum nfs3_createmode {
1: - NFS3_CREATE_UNCHECKED = 0,
1: - NFS3_CREATE_GUARDED = 1,
1: - NFS3_CREATE_EXCLUSIVE = 2,
1: + NFS3_CREATE_UNCHECKED = 0,
1: + NFS3_CREATE_GUARDED = 1,
1: + NFS3_CREATE_EXCLUSIVE = 2,
1: };
1:
1: enum nfs3_ftype {
1: - NF3NON = 0,
1: - NF3REG = 1,
1: - NF3DIR = 2,
1: - NF3BLK = 3,
1: - NF3CHR = 4,
1: - NF3LNK = 5,
1: - NF3SOCK = 6,
1: - NF3FIFO = 7,
1: - NF3BAD = 8,
1: + NF3NON = 0,
1: + NF3REG = 1,
1: + NF3DIR = 2,
1: + NF3BLK = 3,
1: + NF3CHR = 4,
1: + NF3LNK = 5,
1: + NF3SOCK = 6,
1: + NF3FIFO = 7,
1: + NF3BAD = 8,
1: };
1:
1: struct nfs3_sattrargs {
1: - struct nfs_fh *fh;
1: - struct iattr *sattr;
1: - unsigned int guard;
1: - struct timespec64 guardtime;
1: + struct nfs_fh *fh;
1: + struct iattr *sattr;
1: + unsigned int guard;
1: + struct timespec64 guardtime;
1: };
1:
1: struct nfs3_diropargs {
1: - struct nfs_fh *fh;
1: - const char *name;
1: - unsigned int len;
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: };
1:
1: struct nfs3_accessargs {
1: - struct nfs_fh *fh;
1: - __u32 access;
1: + struct nfs_fh *fh;
1: + __u32 access;
1: };
1:
1: struct nfs3_createargs {
1: - struct nfs_fh *fh;
1: - const char *name;
1: - unsigned int len;
1: - struct iattr *sattr;
1: - enum nfs3_createmode createmode;
1: - __be32 verifier[2];
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: + struct iattr *sattr;
1: + enum nfs3_createmode createmode;
1: + __be32 verifier[2];
1: };
1:
1: struct nfs3_mkdirargs {
1: - struct nfs_fh *fh;
1: - const char *name;
1: - unsigned int len;
1: - struct iattr *sattr;
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: + struct iattr *sattr;
1: };
1:
1: struct nfs3_symlinkargs {
1: - struct nfs_fh *fromfh;
1: - const char *fromname;
1: - unsigned int fromlen;
1: - struct page **pages;
1: - unsigned int pathlen;
1: - struct iattr *sattr;
1: + struct nfs_fh *fromfh;
1: + const char *fromname;
1: + unsigned int fromlen;
1: + struct page **pages;
1: + unsigned int pathlen;
1: + struct iattr *sattr;
1: };
1:
1: struct nfs3_mknodargs {
1: - struct nfs_fh *fh;
1: - const char *name;
1: - unsigned int len;
1: - enum nfs3_ftype type;
1: - struct iattr *sattr;
1: - dev_t rdev;
1: + struct nfs_fh *fh;
1: + const char *name;
1: + unsigned int len;
1: + enum nfs3_ftype type;
1: + struct iattr *sattr;
1: + dev_t rdev;
1: };
1:
1: struct nfs3_linkargs {
1: - struct nfs_fh *fromfh;
1: - struct nfs_fh *tofh;
1: - const char *toname;
1: - unsigned int tolen;
1: + struct nfs_fh *fromfh;
1: + struct nfs_fh *tofh;
1: + const char *toname;
1: + unsigned int tolen;
1: };
1:
1: struct nfs3_readdirargs {
1: - struct nfs_fh *fh;
1: - __u64 cookie;
1: - __be32 verf[2];
1: - bool plus;
1: - unsigned int count;
1: - struct page **pages;
1: + struct nfs_fh *fh;
1: + __u64 cookie;
1: + __be32 verf[2];
1: + bool plus;
1: + unsigned int count;
1: + struct page **pages;
1: };
1:
1: struct nfs3_diropres {
1: - struct nfs_fattr *dir_attr;
1: - struct nfs_fh *fh;
1: - struct nfs_fattr *fattr;
1: + struct nfs_fattr *dir_attr;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: };
1:
1: struct nfs3_accessres {
1: - struct nfs_fattr *fattr;
1: - __u32 access;
1: + struct nfs_fattr *fattr;
1: + __u32 access;
1: };
1:
1: struct nfs3_readlinkargs {
1: - struct nfs_fh *fh;
1: - unsigned int pgbase;
1: - unsigned int pglen;
1: - struct page **pages;
1: + struct nfs_fh *fh;
1: + unsigned int pgbase;
1: + unsigned int pglen;
1: + struct page **pages;
1: };
1:
1: struct nfs3_linkres {
1: - struct nfs_fattr *dir_attr;
1: - struct nfs_fattr *fattr;
1: + struct nfs_fattr *dir_attr;
1: + struct nfs_fattr *fattr;
1: };
1:
1: struct nfs3_readdirres {
1: - struct nfs_fattr *dir_attr;
1: - __be32 *verf;
1: - bool plus;
1: + struct nfs_fattr *dir_attr;
1: + __be32 *verf;
1: + bool plus;
1: };
1:
1: struct nfs3_createdata {
1: - struct rpc_message msg;
1: - union {
1: - struct nfs3_createargs create;
1: - struct nfs3_mkdirargs mkdir;
1: - struct nfs3_symlinkargs symlink;
1: - struct nfs3_mknodargs mknod;
1: - } arg;
1: - struct nfs3_diropres res;
1: - struct nfs_fh fh;
1: - struct nfs_fattr fattr;
1: - struct nfs_fattr dir_attr;
1: + struct rpc_message msg;
1: + union {
1: + struct nfs3_createargs create;
1: + struct nfs3_mkdirargs mkdir;
1: + struct nfs3_symlinkargs symlink;
1: + struct nfs3_mknodargs mknod;
1: + } arg;
1: + struct nfs3_diropres res;
1: + struct nfs_fh fh;
1: + struct nfs_fattr fattr;
1: + struct nfs_fattr dir_attr;
1: };
1:
1: struct nfs3_getaclargs {
1: - struct nfs_fh *fh;
1: - int mask;
1: - struct page **pages;
1: + struct nfs_fh *fh;
1: + int mask;
1: + struct page **pages;
1: };
1:
1: struct nfs3_setaclargs {
1: - struct inode *inode;
1: - int mask;
1: - struct posix_acl *acl_access;
1: - struct posix_acl *acl_default;
1: - size_t len;
1: - unsigned int npages;
1: - struct page **pages;
1: + struct inode *inode;
1: + int mask;
1: + struct posix_acl *acl_access;
1: + struct posix_acl *acl_default;
1: + size_t len;
1: + unsigned int npages;
1: + struct page **pages;
1: };
1:
1: struct nfs3_getaclres {
1: - struct nfs_fattr *fattr;
1: - int mask;
1: - unsigned int acl_access_count;
1: - unsigned int acl_default_count;
1: - struct posix_acl *acl_access;
1: - struct posix_acl *acl_default;
1: + struct nfs_fattr *fattr;
1: + int mask;
1: + unsigned int acl_access_count;
1: + unsigned int acl_default_count;
1: + struct posix_acl *acl_access;
1: + struct posix_acl *acl_default;
1: };
1:
1: enum nfsstat4 {
1: - NFS4_OK = 0,
1: - NFS4ERR_PERM = 1,
1: - NFS4ERR_NOENT = 2,
1: - NFS4ERR_IO = 5,
1: - NFS4ERR_NXIO = 6,
1: - NFS4ERR_ACCESS = 13,
1: - NFS4ERR_EXIST = 17,
1: - NFS4ERR_XDEV = 18,
1: - NFS4ERR_NOTDIR = 20,
1: - NFS4ERR_ISDIR = 21,
1: - NFS4ERR_INVAL = 22,
1: - NFS4ERR_FBIG = 27,
1: - NFS4ERR_NOSPC = 28,
1: - NFS4ERR_ROFS = 30,
1: - NFS4ERR_MLINK = 31,
1: - NFS4ERR_NAMETOOLONG = 63,
1: - NFS4ERR_NOTEMPTY = 66,
1: - NFS4ERR_DQUOT = 69,
1: - NFS4ERR_STALE = 70,
1: - NFS4ERR_BADHANDLE = 10001,
1: - NFS4ERR_BAD_COOKIE = 10003,
1: - NFS4ERR_NOTSUPP = 10004,
1: - NFS4ERR_TOOSMALL = 10005,
1: - NFS4ERR_SERVERFAULT = 10006,
1: - NFS4ERR_BADTYPE = 10007,
1: - NFS4ERR_DELAY = 10008,
1: - NFS4ERR_SAME = 10009,
1: - NFS4ERR_DENIED = 10010,
1: - NFS4ERR_EXPIRED = 10011,
1: - NFS4ERR_LOCKED = 10012,
1: - NFS4ERR_GRACE = 10013,
1: - NFS4ERR_FHEXPIRED = 10014,
1: - NFS4ERR_SHARE_DENIED = 10015,
1: - NFS4ERR_WRONGSEC = 10016,
1: - NFS4ERR_CLID_INUSE = 10017,
1: - NFS4ERR_RESOURCE = 10018,
1: - NFS4ERR_MOVED = 10019,
1: - NFS4ERR_NOFILEHANDLE = 10020,
1: - NFS4ERR_MINOR_VERS_MISMATCH = 10021,
1: - NFS4ERR_STALE_CLIENTID = 10022,
1: - NFS4ERR_STALE_STATEID = 10023,
1: - NFS4ERR_OLD_STATEID = 10024,
1: - NFS4ERR_BAD_STATEID = 10025,
1: - NFS4ERR_BAD_SEQID = 10026,
1: - NFS4ERR_NOT_SAME = 10027,
1: - NFS4ERR_LOCK_RANGE = 10028,
1: - NFS4ERR_SYMLINK = 10029,
1: - NFS4ERR_RESTOREFH = 10030,
1: - NFS4ERR_LEASE_MOVED = 10031,
1: - NFS4ERR_ATTRNOTSUPP = 10032,
1: - NFS4ERR_NO_GRACE = 10033,
1: - NFS4ERR_RECLAIM_BAD = 10034,
1: - NFS4ERR_RECLAIM_CONFLICT = 10035,
1: - NFS4ERR_BADXDR = 10036,
1: - NFS4ERR_LOCKS_HELD = 10037,
1: - NFS4ERR_OPENMODE = 10038,
1: - NFS4ERR_BADOWNER = 10039,
1: - NFS4ERR_BADCHAR = 10040,
1: - NFS4ERR_BADNAME = 10041,
1: - NFS4ERR_BAD_RANGE = 10042,
1: - NFS4ERR_LOCK_NOTSUPP = 10043,
1: - NFS4ERR_OP_ILLEGAL = 10044,
1: - NFS4ERR_DEADLOCK = 10045,
1: - NFS4ERR_FILE_OPEN = 10046,
1: - NFS4ERR_ADMIN_REVOKED = 10047,
1: - NFS4ERR_CB_PATH_DOWN = 10048,
1: - NFS4ERR_BADIOMODE = 10049,
1: - NFS4ERR_BADLAYOUT = 10050,
1: - NFS4ERR_BAD_SESSION_DIGEST = 10051,
1: - NFS4ERR_BADSESSION = 10052,
1: - NFS4ERR_BADSLOT = 10053,
1: - NFS4ERR_COMPLETE_ALREADY = 10054,
1: - NFS4ERR_CONN_NOT_BOUND_TO_SESSION = 10055,
1: - NFS4ERR_DELEG_ALREADY_WANTED = 10056,
1: - NFS4ERR_BACK_CHAN_BUSY = 10057,
1: - NFS4ERR_LAYOUTTRYLATER = 10058,
1: - NFS4ERR_LAYOUTUNAVAILABLE = 10059,
1: - NFS4ERR_NOMATCHING_LAYOUT = 10060,
1: - NFS4ERR_RECALLCONFLICT = 10061,
1: - NFS4ERR_UNKNOWN_LAYOUTTYPE = 10062,
1: - NFS4ERR_SEQ_MISORDERED = 10063,
1: - NFS4ERR_SEQUENCE_POS = 10064,
1: - NFS4ERR_REQ_TOO_BIG = 10065,
1: - NFS4ERR_REP_TOO_BIG = 10066,
1: - NFS4ERR_REP_TOO_BIG_TO_CACHE = 10067,
1: - NFS4ERR_RETRY_UNCACHED_REP = 10068,
1: - NFS4ERR_UNSAFE_COMPOUND = 10069,
1: - NFS4ERR_TOO_MANY_OPS = 10070,
1: - NFS4ERR_OP_NOT_IN_SESSION = 10071,
1: - NFS4ERR_HASH_ALG_UNSUPP = 10072,
1: - NFS4ERR_CLIENTID_BUSY = 10074,
1: - NFS4ERR_PNFS_IO_HOLE = 10075,
1: - NFS4ERR_SEQ_FALSE_RETRY = 10076,
1: - NFS4ERR_BAD_HIGH_SLOT = 10077,
1: - NFS4ERR_DEADSESSION = 10078,
1: - NFS4ERR_ENCR_ALG_UNSUPP = 10079,
1: - NFS4ERR_PNFS_NO_LAYOUT = 10080,
1: - NFS4ERR_NOT_ONLY_OP = 10081,
1: - NFS4ERR_WRONG_CRED = 10082,
1: - NFS4ERR_WRONG_TYPE = 10083,
1: - NFS4ERR_DIRDELEG_UNAVAIL = 10084,
1: - NFS4ERR_REJECT_DELEG = 10085,
1: - NFS4ERR_RETURNCONFLICT = 10086,
1: - NFS4ERR_DELEG_REVOKED = 10087,
1: - NFS4ERR_PARTNER_NOTSUPP = 10088,
1: - NFS4ERR_PARTNER_NO_AUTH = 10089,
1: - NFS4ERR_UNION_NOTSUPP = 10090,
1: - NFS4ERR_OFFLOAD_DENIED = 10091,
1: - NFS4ERR_WRONG_LFS = 10092,
1: - NFS4ERR_BADLABEL = 10093,
1: - NFS4ERR_OFFLOAD_NO_REQS = 10094,
1: + NFS4_OK = 0,
1: + NFS4ERR_PERM = 1,
1: + NFS4ERR_NOENT = 2,
1: + NFS4ERR_IO = 5,
1: + NFS4ERR_NXIO = 6,
1: + NFS4ERR_ACCESS = 13,
1: + NFS4ERR_EXIST = 17,
1: + NFS4ERR_XDEV = 18,
1: + NFS4ERR_NOTDIR = 20,
1: + NFS4ERR_ISDIR = 21,
1: + NFS4ERR_INVAL = 22,
1: + NFS4ERR_FBIG = 27,
1: + NFS4ERR_NOSPC = 28,
1: + NFS4ERR_ROFS = 30,
1: + NFS4ERR_MLINK = 31,
1: + NFS4ERR_NAMETOOLONG = 63,
1: + NFS4ERR_NOTEMPTY = 66,
1: + NFS4ERR_DQUOT = 69,
1: + NFS4ERR_STALE = 70,
1: + NFS4ERR_BADHANDLE = 10001,
1: + NFS4ERR_BAD_COOKIE = 10003,
1: + NFS4ERR_NOTSUPP = 10004,
1: + NFS4ERR_TOOSMALL = 10005,
1: + NFS4ERR_SERVERFAULT = 10006,
1: + NFS4ERR_BADTYPE = 10007,
1: + NFS4ERR_DELAY = 10008,
1: + NFS4ERR_SAME = 10009,
1: + NFS4ERR_DENIED = 10010,
1: + NFS4ERR_EXPIRED = 10011,
1: + NFS4ERR_LOCKED = 10012,
1: + NFS4ERR_GRACE = 10013,
1: + NFS4ERR_FHEXPIRED = 10014,
1: + NFS4ERR_SHARE_DENIED = 10015,
1: + NFS4ERR_WRONGSEC = 10016,
1: + NFS4ERR_CLID_INUSE = 10017,
1: + NFS4ERR_RESOURCE = 10018,
1: + NFS4ERR_MOVED = 10019,
1: + NFS4ERR_NOFILEHANDLE = 10020,
1: + NFS4ERR_MINOR_VERS_MISMATCH = 10021,
1: + NFS4ERR_STALE_CLIENTID = 10022,
1: + NFS4ERR_STALE_STATEID = 10023,
1: + NFS4ERR_OLD_STATEID = 10024,
1: + NFS4ERR_BAD_STATEID = 10025,
1: + NFS4ERR_BAD_SEQID = 10026,
1: + NFS4ERR_NOT_SAME = 10027,
1: + NFS4ERR_LOCK_RANGE = 10028,
1: + NFS4ERR_SYMLINK = 10029,
1: + NFS4ERR_RESTOREFH = 10030,
1: + NFS4ERR_LEASE_MOVED = 10031,
1: + NFS4ERR_ATTRNOTSUPP = 10032,
1: + NFS4ERR_NO_GRACE = 10033,
1: + NFS4ERR_RECLAIM_BAD = 10034,
1: + NFS4ERR_RECLAIM_CONFLICT = 10035,
1: + NFS4ERR_BADXDR = 10036,
1: + NFS4ERR_LOCKS_HELD = 10037,
1: + NFS4ERR_OPENMODE = 10038,
1: + NFS4ERR_BADOWNER = 10039,
1: + NFS4ERR_BADCHAR = 10040,
1: + NFS4ERR_BADNAME = 10041,
1: + NFS4ERR_BAD_RANGE = 10042,
1: + NFS4ERR_LOCK_NOTSUPP = 10043,
1: + NFS4ERR_OP_ILLEGAL = 10044,
1: + NFS4ERR_DEADLOCK = 10045,
1: + NFS4ERR_FILE_OPEN = 10046,
1: + NFS4ERR_ADMIN_REVOKED = 10047,
1: + NFS4ERR_CB_PATH_DOWN = 10048,
1: + NFS4ERR_BADIOMODE = 10049,
1: + NFS4ERR_BADLAYOUT = 10050,
1: + NFS4ERR_BAD_SESSION_DIGEST = 10051,
1: + NFS4ERR_BADSESSION = 10052,
1: + NFS4ERR_BADSLOT = 10053,
1: + NFS4ERR_COMPLETE_ALREADY = 10054,
1: + NFS4ERR_CONN_NOT_BOUND_TO_SESSION = 10055,
1: + NFS4ERR_DELEG_ALREADY_WANTED = 10056,
1: + NFS4ERR_BACK_CHAN_BUSY = 10057,
1: + NFS4ERR_LAYOUTTRYLATER = 10058,
1: + NFS4ERR_LAYOUTUNAVAILABLE = 10059,
1: + NFS4ERR_NOMATCHING_LAYOUT = 10060,
1: + NFS4ERR_RECALLCONFLICT = 10061,
1: + NFS4ERR_UNKNOWN_LAYOUTTYPE = 10062,
1: + NFS4ERR_SEQ_MISORDERED = 10063,
1: + NFS4ERR_SEQUENCE_POS = 10064,
1: + NFS4ERR_REQ_TOO_BIG = 10065,
1: + NFS4ERR_REP_TOO_BIG = 10066,
1: + NFS4ERR_REP_TOO_BIG_TO_CACHE = 10067,
1: + NFS4ERR_RETRY_UNCACHED_REP = 10068,
1: + NFS4ERR_UNSAFE_COMPOUND = 10069,
1: + NFS4ERR_TOO_MANY_OPS = 10070,
1: + NFS4ERR_OP_NOT_IN_SESSION = 10071,
1: + NFS4ERR_HASH_ALG_UNSUPP = 10072,
1: + NFS4ERR_CLIENTID_BUSY = 10074,
1: + NFS4ERR_PNFS_IO_HOLE = 10075,
1: + NFS4ERR_SEQ_FALSE_RETRY = 10076,
1: + NFS4ERR_BAD_HIGH_SLOT = 10077,
1: + NFS4ERR_DEADSESSION = 10078,
1: + NFS4ERR_ENCR_ALG_UNSUPP = 10079,
1: + NFS4ERR_PNFS_NO_LAYOUT = 10080,
1: + NFS4ERR_NOT_ONLY_OP = 10081,
1: + NFS4ERR_WRONG_CRED = 10082,
1: + NFS4ERR_WRONG_TYPE = 10083,
1: + NFS4ERR_DIRDELEG_UNAVAIL = 10084,
1: + NFS4ERR_REJECT_DELEG = 10085,
1: + NFS4ERR_RETURNCONFLICT = 10086,
1: + NFS4ERR_DELEG_REVOKED = 10087,
1: + NFS4ERR_PARTNER_NOTSUPP = 10088,
1: + NFS4ERR_PARTNER_NO_AUTH = 10089,
1: + NFS4ERR_UNION_NOTSUPP = 10090,
1: + NFS4ERR_OFFLOAD_DENIED = 10091,
1: + NFS4ERR_WRONG_LFS = 10092,
1: + NFS4ERR_BADLABEL = 10093,
1: + NFS4ERR_OFFLOAD_NO_REQS = 10094,
1: };
1:
1: enum nfs_ftype4 {
1: - NF4BAD = 0,
1: - NF4REG = 1,
1: - NF4DIR = 2,
1: - NF4BLK = 3,
1: - NF4CHR = 4,
1: - NF4LNK = 5,
1: - NF4SOCK = 6,
1: - NF4FIFO = 7,
1: - NF4ATTRDIR = 8,
1: - NF4NAMEDATTR = 9,
1: + NF4BAD = 0,
1: + NF4REG = 1,
1: + NF4DIR = 2,
1: + NF4BLK = 3,
1: + NF4CHR = 4,
1: + NF4LNK = 5,
1: + NF4SOCK = 6,
1: + NF4FIFO = 7,
1: + NF4ATTRDIR = 8,
1: + NF4NAMEDATTR = 9,
1: };
1:
1: enum open_claim_type4 {
1: - NFS4_OPEN_CLAIM_NULL = 0,
1: - NFS4_OPEN_CLAIM_PREVIOUS = 1,
1: - NFS4_OPEN_CLAIM_DELEGATE_CUR = 2,
1: - NFS4_OPEN_CLAIM_DELEGATE_PREV = 3,
1: - NFS4_OPEN_CLAIM_FH = 4,
1: - NFS4_OPEN_CLAIM_DELEG_CUR_FH = 5,
1: - NFS4_OPEN_CLAIM_DELEG_PREV_FH = 6,
1: + NFS4_OPEN_CLAIM_NULL = 0,
1: + NFS4_OPEN_CLAIM_PREVIOUS = 1,
1: + NFS4_OPEN_CLAIM_DELEGATE_CUR = 2,
1: + NFS4_OPEN_CLAIM_DELEGATE_PREV = 3,
1: + NFS4_OPEN_CLAIM_FH = 4,
1: + NFS4_OPEN_CLAIM_DELEG_CUR_FH = 5,
1: + NFS4_OPEN_CLAIM_DELEG_PREV_FH = 6,
1: };
1:
1: enum createmode4 {
1: - NFS4_CREATE_UNCHECKED = 0,
1: - NFS4_CREATE_GUARDED = 1,
1: - NFS4_CREATE_EXCLUSIVE = 2,
1: - NFS4_CREATE_EXCLUSIVE4_1 = 3,
1: -};
1: -
1: -enum {
1: - NFSPROC4_CLNT_NULL = 0,
1: - NFSPROC4_CLNT_READ = 1,
1: - NFSPROC4_CLNT_WRITE = 2,
1: - NFSPROC4_CLNT_COMMIT = 3,
1: - NFSPROC4_CLNT_OPEN = 4,
1: - NFSPROC4_CLNT_OPEN_CONFIRM = 5,
1: - NFSPROC4_CLNT_OPEN_NOATTR = 6,
1: - NFSPROC4_CLNT_OPEN_DOWNGRADE = 7,
1: - NFSPROC4_CLNT_CLOSE = 8,
1: - NFSPROC4_CLNT_SETATTR = 9,
1: - NFSPROC4_CLNT_FSINFO = 10,
1: - NFSPROC4_CLNT_RENEW = 11,
1: - NFSPROC4_CLNT_SETCLIENTID = 12,
1: - NFSPROC4_CLNT_SETCLIENTID_CONFIRM = 13,
1: - NFSPROC4_CLNT_LOCK = 14,
1: - NFSPROC4_CLNT_LOCKT = 15,
1: - NFSPROC4_CLNT_LOCKU = 16,
1: - NFSPROC4_CLNT_ACCESS = 17,
1: - NFSPROC4_CLNT_GETATTR = 18,
1: - NFSPROC4_CLNT_LOOKUP = 19,
1: - NFSPROC4_CLNT_LOOKUP_ROOT = 20,
1: - NFSPROC4_CLNT_REMOVE = 21,
1: - NFSPROC4_CLNT_RENAME = 22,
1: - NFSPROC4_CLNT_LINK = 23,
1: - NFSPROC4_CLNT_SYMLINK = 24,
1: - NFSPROC4_CLNT_CREATE = 25,
1: - NFSPROC4_CLNT_PATHCONF = 26,
1: - NFSPROC4_CLNT_STATFS = 27,
1: - NFSPROC4_CLNT_READLINK = 28,
1: - NFSPROC4_CLNT_READDIR = 29,
1: - NFSPROC4_CLNT_SERVER_CAPS = 30,
1: - NFSPROC4_CLNT_DELEGRETURN = 31,
1: - NFSPROC4_CLNT_GETACL = 32,
1: - NFSPROC4_CLNT_SETACL = 33,
1: - NFSPROC4_CLNT_FS_LOCATIONS = 34,
1: - NFSPROC4_CLNT_RELEASE_LOCKOWNER = 35,
1: - NFSPROC4_CLNT_SECINFO = 36,
1: - NFSPROC4_CLNT_FSID_PRESENT = 37,
1: - NFSPROC4_CLNT_EXCHANGE_ID = 38,
1: - NFSPROC4_CLNT_CREATE_SESSION = 39,
1: - NFSPROC4_CLNT_DESTROY_SESSION = 40,
1: - NFSPROC4_CLNT_SEQUENCE = 41,
1: - NFSPROC4_CLNT_GET_LEASE_TIME = 42,
1: - NFSPROC4_CLNT_RECLAIM_COMPLETE = 43,
1: - NFSPROC4_CLNT_LAYOUTGET = 44,
1: - NFSPROC4_CLNT_GETDEVICEINFO = 45,
1: - NFSPROC4_CLNT_LAYOUTCOMMIT = 46,
1: - NFSPROC4_CLNT_LAYOUTRETURN = 47,
1: - NFSPROC4_CLNT_SECINFO_NO_NAME = 48,
1: - NFSPROC4_CLNT_TEST_STATEID = 49,
1: - NFSPROC4_CLNT_FREE_STATEID = 50,
1: - NFSPROC4_CLNT_GETDEVICELIST = 51,
1: - NFSPROC4_CLNT_BIND_CONN_TO_SESSION = 52,
1: - NFSPROC4_CLNT_DESTROY_CLIENTID = 53,
1: - NFSPROC4_CLNT_SEEK = 54,
1: - NFSPROC4_CLNT_ALLOCATE = 55,
1: - NFSPROC4_CLNT_DEALLOCATE = 56,
1: - NFSPROC4_CLNT_LAYOUTSTATS = 57,
1: - NFSPROC4_CLNT_CLONE = 58,
1: - NFSPROC4_CLNT_COPY = 59,
1: - NFSPROC4_CLNT_OFFLOAD_CANCEL = 60,
1: - NFSPROC4_CLNT_LOOKUPP = 61,
1: - NFSPROC4_CLNT_LAYOUTERROR = 62,
1: - NFSPROC4_CLNT_COPY_NOTIFY = 63,
1: + NFS4_CREATE_UNCHECKED = 0,
1: + NFS4_CREATE_GUARDED = 1,
1: + NFS4_CREATE_EXCLUSIVE = 2,
1: + NFS4_CREATE_EXCLUSIVE4_1 = 3,
1: +};
1: +
1: +enum {
1: + NFSPROC4_CLNT_NULL = 0,
1: + NFSPROC4_CLNT_READ = 1,
1: + NFSPROC4_CLNT_WRITE = 2,
1: + NFSPROC4_CLNT_COMMIT = 3,
1: + NFSPROC4_CLNT_OPEN = 4,
1: + NFSPROC4_CLNT_OPEN_CONFIRM = 5,
1: + NFSPROC4_CLNT_OPEN_NOATTR = 6,
1: + NFSPROC4_CLNT_OPEN_DOWNGRADE = 7,
1: + NFSPROC4_CLNT_CLOSE = 8,
1: + NFSPROC4_CLNT_SETATTR = 9,
1: + NFSPROC4_CLNT_FSINFO = 10,
1: + NFSPROC4_CLNT_RENEW = 11,
1: + NFSPROC4_CLNT_SETCLIENTID = 12,
1: + NFSPROC4_CLNT_SETCLIENTID_CONFIRM = 13,
1: + NFSPROC4_CLNT_LOCK = 14,
1: + NFSPROC4_CLNT_LOCKT = 15,
1: + NFSPROC4_CLNT_LOCKU = 16,
1: + NFSPROC4_CLNT_ACCESS = 17,
1: + NFSPROC4_CLNT_GETATTR = 18,
1: + NFSPROC4_CLNT_LOOKUP = 19,
1: + NFSPROC4_CLNT_LOOKUP_ROOT = 20,
1: + NFSPROC4_CLNT_REMOVE = 21,
1: + NFSPROC4_CLNT_RENAME = 22,
1: + NFSPROC4_CLNT_LINK = 23,
1: + NFSPROC4_CLNT_SYMLINK = 24,
1: + NFSPROC4_CLNT_CREATE = 25,
1: + NFSPROC4_CLNT_PATHCONF = 26,
1: + NFSPROC4_CLNT_STATFS = 27,
1: + NFSPROC4_CLNT_READLINK = 28,
1: + NFSPROC4_CLNT_READDIR = 29,
1: + NFSPROC4_CLNT_SERVER_CAPS = 30,
1: + NFSPROC4_CLNT_DELEGRETURN = 31,
1: + NFSPROC4_CLNT_GETACL = 32,
1: + NFSPROC4_CLNT_SETACL = 33,
1: + NFSPROC4_CLNT_FS_LOCATIONS = 34,
1: + NFSPROC4_CLNT_RELEASE_LOCKOWNER = 35,
1: + NFSPROC4_CLNT_SECINFO = 36,
1: + NFSPROC4_CLNT_FSID_PRESENT = 37,
1: + NFSPROC4_CLNT_EXCHANGE_ID = 38,
1: + NFSPROC4_CLNT_CREATE_SESSION = 39,
1: + NFSPROC4_CLNT_DESTROY_SESSION = 40,
1: + NFSPROC4_CLNT_SEQUENCE = 41,
1: + NFSPROC4_CLNT_GET_LEASE_TIME = 42,
1: + NFSPROC4_CLNT_RECLAIM_COMPLETE = 43,
1: + NFSPROC4_CLNT_LAYOUTGET = 44,
1: + NFSPROC4_CLNT_GETDEVICEINFO = 45,
1: + NFSPROC4_CLNT_LAYOUTCOMMIT = 46,
1: + NFSPROC4_CLNT_LAYOUTRETURN = 47,
1: + NFSPROC4_CLNT_SECINFO_NO_NAME = 48,
1: + NFSPROC4_CLNT_TEST_STATEID = 49,
1: + NFSPROC4_CLNT_FREE_STATEID = 50,
1: + NFSPROC4_CLNT_GETDEVICELIST = 51,
1: + NFSPROC4_CLNT_BIND_CONN_TO_SESSION = 52,
1: + NFSPROC4_CLNT_DESTROY_CLIENTID = 53,
1: + NFSPROC4_CLNT_SEEK = 54,
1: + NFSPROC4_CLNT_ALLOCATE = 55,
1: + NFSPROC4_CLNT_DEALLOCATE = 56,
1: + NFSPROC4_CLNT_LAYOUTSTATS = 57,
1: + NFSPROC4_CLNT_CLONE = 58,
1: + NFSPROC4_CLNT_COPY = 59,
1: + NFSPROC4_CLNT_OFFLOAD_CANCEL = 60,
1: + NFSPROC4_CLNT_LOOKUPP = 61,
1: + NFSPROC4_CLNT_LAYOUTERROR = 62,
1: + NFSPROC4_CLNT_COPY_NOTIFY = 63,
1: };
1:
1: struct nfs4_get_lease_time_args {
1: - struct nfs4_sequence_args la_seq_args;
1: + struct nfs4_sequence_args la_seq_args;
1: };
1:
1: struct nfs4_get_lease_time_res {
1: - struct nfs4_sequence_res lr_seq_res;
1: - struct nfs_fsinfo *lr_fsinfo;
1: + struct nfs4_sequence_res lr_seq_res;
1: + struct nfs_fsinfo *lr_fsinfo;
1: };
1:
1: struct nfs4_xdr_opaque_data;
1:
1: struct nfs4_xdr_opaque_ops {
1: - void (*encode)(struct xdr_stream *, const void *, const struct nfs4_xdr_opaque_data *);
1: - void (*free)(struct nfs4_xdr_opaque_data *);
1: + void (*encode)(struct xdr_stream *, const void *,
1: + const struct nfs4_xdr_opaque_data *);
1: + void (*free)(struct nfs4_xdr_opaque_data *);
1: };
1:
1: struct nfs4_xdr_opaque_data {
1: - const struct nfs4_xdr_opaque_ops *ops;
1: - void *data;
1: + const struct nfs4_xdr_opaque_ops *ops;
1: + void *data;
1: };
1:
1: struct nfs4_layoutdriver_data {
1: - struct page **pages;
1: - __u32 pglen;
1: - __u32 len;
1: + struct page **pages;
1: + __u32 pglen;
1: + __u32 len;
1: };
1:
1: struct nfs4_layoutget_args {
1: - struct nfs4_sequence_args seq_args;
1: - __u32 type;
1: - struct pnfs_layout_range range;
1: - __u64 minlength;
1: - __u32 maxcount;
1: - struct inode *inode;
1: - struct nfs_open_context *ctx;
1: - nfs4_stateid stateid;
1: - struct nfs4_layoutdriver_data layout;
1: + struct nfs4_sequence_args seq_args;
1: + __u32 type;
1: + struct pnfs_layout_range range;
1: + __u64 minlength;
1: + __u32 maxcount;
1: + struct inode *inode;
1: + struct nfs_open_context *ctx;
1: + nfs4_stateid stateid;
1: + struct nfs4_layoutdriver_data layout;
1: };
1:
1: struct nfs4_layoutget_res {
1: - struct nfs4_sequence_res seq_res;
1: - int status;
1: - __u32 return_on_close;
1: - struct pnfs_layout_range range;
1: - __u32 type;
1: - nfs4_stateid stateid;
1: - struct nfs4_layoutdriver_data *layoutp;
1: + struct nfs4_sequence_res seq_res;
1: + int status;
1: + __u32 return_on_close;
1: + struct pnfs_layout_range range;
1: + __u32 type;
1: + nfs4_stateid stateid;
1: + struct nfs4_layoutdriver_data *layoutp;
1: };
1:
1: struct nfs4_layoutget {
1: - struct nfs4_layoutget_args args;
1: - struct nfs4_layoutget_res res;
1: - const struct cred *cred;
1: - gfp_t gfp_flags;
1: + struct nfs4_layoutget_args args;
1: + struct nfs4_layoutget_res res;
1: + const struct cred *cred;
1: + gfp_t gfp_flags;
1: };
1:
1: struct nfs4_layoutreturn_args {
1: - struct nfs4_sequence_args seq_args;
1: - struct pnfs_layout_hdr *layout;
1: - struct inode *inode;
1: - struct pnfs_layout_range range;
1: - nfs4_stateid stateid;
1: - __u32 layout_type;
1: - struct nfs4_xdr_opaque_data *ld_private;
1: + struct nfs4_sequence_args seq_args;
1: + struct pnfs_layout_hdr *layout;
1: + struct inode *inode;
1: + struct pnfs_layout_range range;
1: + nfs4_stateid stateid;
1: + __u32 layout_type;
1: + struct nfs4_xdr_opaque_data *ld_private;
1: };
1:
1: struct nfs4_layoutreturn_res {
1: - struct nfs4_sequence_res seq_res;
1: - u32 lrs_present;
1: - nfs4_stateid stateid;
1: + struct nfs4_sequence_res seq_res;
1: + u32 lrs_present;
1: + nfs4_stateid stateid;
1: };
1:
1: struct stateowner_id {
1: - __u64 create_time;
1: - __u32 uniquifier;
1: + __u64 create_time;
1: + __u32 uniquifier;
1: };
1:
1: struct nfs_openargs {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - struct nfs_seqid *seqid;
1: - int open_flags;
1: - fmode_t fmode;
1: - u32 share_access;
1: - u32 access;
1: - __u64 clientid;
1: - struct stateowner_id id;
1: - union {
1: - struct {
1: - struct iattr *attrs;
1: - nfs4_verifier verifier;
1: - };
1: - nfs4_stateid delegation;
1: - fmode_t delegation_type;
1: - } u;
1: - const struct qstr *name;
1: - const struct nfs_server *server;
1: - const u32 *bitmask;
1: - const u32 *open_bitmap;
1: - enum open_claim_type4 claim;
1: - enum createmode4 createmode;
1: - const struct nfs4_label *label;
1: - umode_t umask;
1: - struct nfs4_layoutget_args *lg_args;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + struct nfs_seqid *seqid;
1: + int open_flags;
1: + fmode_t fmode;
1: + u32 share_access;
1: + u32 access;
1: + __u64 clientid;
1: + struct stateowner_id id;
1: + union {
1: + struct {
1: + struct iattr *attrs;
1: + nfs4_verifier verifier;
1: + };
1: + nfs4_stateid delegation;
1: + fmode_t delegation_type;
1: + } u;
1: + const struct qstr *name;
1: + const struct nfs_server *server;
1: + const u32 *bitmask;
1: + const u32 *open_bitmap;
1: + enum open_claim_type4 claim;
1: + enum createmode4 createmode;
1: + const struct nfs4_label *label;
1: + umode_t umask;
1: + struct nfs4_layoutget_args *lg_args;
1: };
1:
1: struct nfs_openres {
1: - struct nfs4_sequence_res seq_res;
1: - nfs4_stateid stateid;
1: - struct nfs_fh fh;
1: - struct nfs4_change_info cinfo;
1: - __u32 rflags;
1: - struct nfs_fattr *f_attr;
1: - struct nfs4_label *f_label;
1: - struct nfs_seqid *seqid;
1: - const struct nfs_server *server;
1: - fmode_t delegation_type;
1: - nfs4_stateid delegation;
1: - long unsigned int pagemod_limit;
1: - __u32 do_recall;
1: - __u32 attrset[3];
1: - struct nfs4_string *owner;
1: - struct nfs4_string *group_owner;
1: - __u32 access_request;
1: - __u32 access_supported;
1: - __u32 access_result;
1: - struct nfs4_layoutget_res *lg_res;
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_fh fh;
1: + struct nfs4_change_info cinfo;
1: + __u32 rflags;
1: + struct nfs_fattr *f_attr;
1: + struct nfs4_label *f_label;
1: + struct nfs_seqid *seqid;
1: + const struct nfs_server *server;
1: + fmode_t delegation_type;
1: + nfs4_stateid delegation;
1: + long unsigned int pagemod_limit;
1: + __u32 do_recall;
1: + __u32 attrset[3];
1: + struct nfs4_string *owner;
1: + struct nfs4_string *group_owner;
1: + __u32 access_request;
1: + __u32 access_supported;
1: + __u32 access_result;
1: + struct nfs4_layoutget_res *lg_res;
1: };
1:
1: struct nfs_open_confirmargs {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - nfs4_stateid *stateid;
1: - struct nfs_seqid *seqid;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + nfs4_stateid *stateid;
1: + struct nfs_seqid *seqid;
1: };
1:
1: struct nfs_open_confirmres {
1: - struct nfs4_sequence_res seq_res;
1: - nfs4_stateid stateid;
1: - struct nfs_seqid *seqid;
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_seqid *seqid;
1: };
1:
1: struct nfs_closeargs {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - nfs4_stateid stateid;
1: - struct nfs_seqid *seqid;
1: - fmode_t fmode;
1: - u32 share_access;
1: - const u32 *bitmask;
1: - struct nfs4_layoutreturn_args *lr_args;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + nfs4_stateid stateid;
1: + struct nfs_seqid *seqid;
1: + fmode_t fmode;
1: + u32 share_access;
1: + const u32 *bitmask;
1: + struct nfs4_layoutreturn_args *lr_args;
1: };
1:
1: struct nfs_closeres {
1: - struct nfs4_sequence_res seq_res;
1: - nfs4_stateid stateid;
1: - struct nfs_fattr *fattr;
1: - struct nfs_seqid *seqid;
1: - const struct nfs_server *server;
1: - struct nfs4_layoutreturn_res *lr_res;
1: - int lr_ret;
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_fattr *fattr;
1: + struct nfs_seqid *seqid;
1: + const struct nfs_server *server;
1: + struct nfs4_layoutreturn_res *lr_res;
1: + int lr_ret;
1: };
1:
1: struct nfs_lowner {
1: - __u64 clientid;
1: - __u64 id;
1: - dev_t s_dev;
1: + __u64 clientid;
1: + __u64 id;
1: + dev_t s_dev;
1: };
1:
1: struct nfs_lock_args {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - struct file_lock *fl;
1: - struct nfs_seqid *lock_seqid;
1: - nfs4_stateid lock_stateid;
1: - struct nfs_seqid *open_seqid;
1: - nfs4_stateid open_stateid;
1: - struct nfs_lowner lock_owner;
1: - unsigned char block: 1;
1: - unsigned char reclaim: 1;
1: - unsigned char new_lock: 1;
1: - unsigned char new_lock_owner: 1;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + struct file_lock *fl;
1: + struct nfs_seqid *lock_seqid;
1: + nfs4_stateid lock_stateid;
1: + struct nfs_seqid *open_seqid;
1: + nfs4_stateid open_stateid;
1: + struct nfs_lowner lock_owner;
1: + unsigned char block : 1;
1: + unsigned char reclaim : 1;
1: + unsigned char new_lock : 1;
1: + unsigned char new_lock_owner : 1;
1: };
1:
1: struct nfs_lock_res {
1: - struct nfs4_sequence_res seq_res;
1: - nfs4_stateid stateid;
1: - struct nfs_seqid *lock_seqid;
1: - struct nfs_seqid *open_seqid;
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_seqid *lock_seqid;
1: + struct nfs_seqid *open_seqid;
1: };
1:
1: struct nfs_locku_args {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - struct file_lock *fl;
1: - struct nfs_seqid *seqid;
1: - nfs4_stateid stateid;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + struct file_lock *fl;
1: + struct nfs_seqid *seqid;
1: + nfs4_stateid stateid;
1: };
1:
1: struct nfs_locku_res {
1: - struct nfs4_sequence_res seq_res;
1: - nfs4_stateid stateid;
1: - struct nfs_seqid *seqid;
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_stateid stateid;
1: + struct nfs_seqid *seqid;
1: };
1:
1: struct nfs_lockt_args {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - struct file_lock *fl;
1: - struct nfs_lowner lock_owner;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + struct file_lock *fl;
1: + struct nfs_lowner lock_owner;
1: };
1:
1: struct nfs_lockt_res {
1: - struct nfs4_sequence_res seq_res;
1: - struct file_lock *denied;
1: + struct nfs4_sequence_res seq_res;
1: + struct file_lock *denied;
1: };
1:
1: struct nfs_release_lockowner_args {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_lowner lock_owner;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_lowner lock_owner;
1: };
1:
1: struct nfs_release_lockowner_res {
1: - struct nfs4_sequence_res seq_res;
1: + struct nfs4_sequence_res seq_res;
1: };
1:
1: struct nfs4_delegreturnargs {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fhandle;
1: - const nfs4_stateid *stateid;
1: - const u32 *bitmask;
1: - struct nfs4_layoutreturn_args *lr_args;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fhandle;
1: + const nfs4_stateid *stateid;
1: + const u32 *bitmask;
1: + struct nfs4_layoutreturn_args *lr_args;
1: };
1:
1: struct nfs4_delegreturnres {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_fattr *fattr;
1: - struct nfs_server *server;
1: - struct nfs4_layoutreturn_res *lr_res;
1: - int lr_ret;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fattr *fattr;
1: + struct nfs_server *server;
1: + struct nfs4_layoutreturn_res *lr_res;
1: + int lr_ret;
1: };
1:
1: struct nfs_setattrargs {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - nfs4_stateid stateid;
1: - struct iattr *iap;
1: - const struct nfs_server *server;
1: - const u32 *bitmask;
1: - const struct nfs4_label *label;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + nfs4_stateid stateid;
1: + struct iattr *iap;
1: + const struct nfs_server *server;
1: + const u32 *bitmask;
1: + const struct nfs4_label *label;
1: };
1:
1: struct nfs_setaclargs {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - size_t acl_len;
1: - struct page **acl_pages;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + size_t acl_len;
1: + struct page **acl_pages;
1: };
1:
1: struct nfs_setaclres {
1: - struct nfs4_sequence_res seq_res;
1: + struct nfs4_sequence_res seq_res;
1: };
1:
1: struct nfs_getaclargs {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fh;
1: - size_t acl_len;
1: - struct page **acl_pages;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fh;
1: + size_t acl_len;
1: + struct page **acl_pages;
1: };
1:
1: struct nfs_getaclres {
1: - struct nfs4_sequence_res seq_res;
1: - size_t acl_len;
1: - size_t acl_data_offset;
1: - int acl_flags;
1: - struct page *acl_scratch;
1: + struct nfs4_sequence_res seq_res;
1: + size_t acl_len;
1: + size_t acl_data_offset;
1: + int acl_flags;
1: + struct page *acl_scratch;
1: };
1:
1: struct nfs_setattrres {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_fattr *fattr;
1: - struct nfs4_label *label;
1: - const struct nfs_server *server;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: + const struct nfs_server *server;
1: };
1:
1: typedef u64 clientid4;
1:
1: struct nfs4_accessargs {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - const u32 *bitmask;
1: - u32 access;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: + u32 access;
1: };
1:
1: struct nfs4_accessres {
1: - struct nfs4_sequence_res seq_res;
1: - const struct nfs_server *server;
1: - struct nfs_fattr *fattr;
1: - u32 supported;
1: - u32 access;
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + u32 supported;
1: + u32 access;
1: };
1:
1: struct nfs4_create_arg {
1: - struct nfs4_sequence_args seq_args;
1: - u32 ftype;
1: - union {
1: - struct {
1: - struct page **pages;
1: - unsigned int len;
1: - } symlink;
1: - struct {
1: - u32 specdata1;
1: - u32 specdata2;
1: - } device;
1: - } u;
1: - const struct qstr *name;
1: - const struct nfs_server *server;
1: - const struct iattr *attrs;
1: - const struct nfs_fh *dir_fh;
1: - const u32 *bitmask;
1: - const struct nfs4_label *label;
1: - umode_t umask;
1: + struct nfs4_sequence_args seq_args;
1: + u32 ftype;
1: + union {
1: + struct {
1: + struct page **pages;
1: + unsigned int len;
1: + } symlink;
1: + struct {
1: + u32 specdata1;
1: + u32 specdata2;
1: + } device;
1: + } u;
1: + const struct qstr *name;
1: + const struct nfs_server *server;
1: + const struct iattr *attrs;
1: + const struct nfs_fh *dir_fh;
1: + const u32 *bitmask;
1: + const struct nfs4_label *label;
1: + umode_t umask;
1: };
1:
1: struct nfs4_create_res {
1: - struct nfs4_sequence_res seq_res;
1: - const struct nfs_server *server;
1: - struct nfs_fh *fh;
1: - struct nfs_fattr *fattr;
1: - struct nfs4_label *label;
1: - struct nfs4_change_info dir_cinfo;
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fh *fh;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: + struct nfs4_change_info dir_cinfo;
1: };
1:
1: struct nfs4_fsinfo_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_fsinfo_res {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_fsinfo *fsinfo;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fsinfo *fsinfo;
1: };
1:
1: struct nfs4_getattr_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_getattr_res {
1: - struct nfs4_sequence_res seq_res;
1: - const struct nfs_server *server;
1: - struct nfs_fattr *fattr;
1: - struct nfs4_label *label;
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: };
1:
1: struct nfs4_link_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - const struct nfs_fh *dir_fh;
1: - const struct qstr *name;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const struct nfs_fh *dir_fh;
1: + const struct qstr *name;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_link_res {
1: - struct nfs4_sequence_res seq_res;
1: - const struct nfs_server *server;
1: - struct nfs_fattr *fattr;
1: - struct nfs4_label *label;
1: - struct nfs4_change_info cinfo;
1: - struct nfs_fattr *dir_attr;
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + struct nfs4_label *label;
1: + struct nfs4_change_info cinfo;
1: + struct nfs_fattr *dir_attr;
1: };
1:
1: struct nfs4_lookup_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *dir_fh;
1: - const struct qstr *name;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *dir_fh;
1: + const struct qstr *name;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_lookup_res {
1: - struct nfs4_sequence_res seq_res;
1: - const struct nfs_server *server;
1: - struct nfs_fattr *fattr;
1: - struct nfs_fh *fh;
1: - struct nfs4_label *label;
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + struct nfs_fh *fh;
1: + struct nfs4_label *label;
1: };
1:
1: struct nfs4_lookupp_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_lookupp_res {
1: - struct nfs4_sequence_res seq_res;
1: - const struct nfs_server *server;
1: - struct nfs_fattr *fattr;
1: - struct nfs_fh *fh;
1: - struct nfs4_label *label;
1: + struct nfs4_sequence_res seq_res;
1: + const struct nfs_server *server;
1: + struct nfs_fattr *fattr;
1: + struct nfs_fh *fh;
1: + struct nfs4_label *label;
1: };
1:
1: struct nfs4_lookup_root_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_pathconf_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_pathconf_res {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_pathconf *pathconf;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_pathconf *pathconf;
1: };
1:
1: struct nfs4_readdir_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - u64 cookie;
1: - nfs4_verifier verifier;
1: - u32 count;
1: - struct page **pages;
1: - unsigned int pgbase;
1: - const u32 *bitmask;
1: - bool plus;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + u64 cookie;
1: + nfs4_verifier verifier;
1: + u32 count;
1: + struct page **pages;
1: + unsigned int pgbase;
1: + const u32 *bitmask;
1: + bool plus;
1: };
1:
1: struct nfs4_readdir_res {
1: - struct nfs4_sequence_res seq_res;
1: - nfs4_verifier verifier;
1: - unsigned int pgbase;
1: + struct nfs4_sequence_res seq_res;
1: + nfs4_verifier verifier;
1: + unsigned int pgbase;
1: };
1:
1: struct nfs4_readlink {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - unsigned int pgbase;
1: - unsigned int pglen;
1: - struct page **pages;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + unsigned int pgbase;
1: + unsigned int pglen;
1: + struct page **pages;
1: };
1:
1: struct nfs4_readlink_res {
1: - struct nfs4_sequence_res seq_res;
1: + struct nfs4_sequence_res seq_res;
1: };
1:
1: struct nfs4_setclientid {
1: - const nfs4_verifier *sc_verifier;
1: - u32 sc_prog;
1: - unsigned int sc_netid_len;
1: - char sc_netid[6];
1: - unsigned int sc_uaddr_len;
1: - char sc_uaddr[58];
1: - struct nfs_client *sc_clnt;
1: - struct rpc_cred *sc_cred;
1: + const nfs4_verifier *sc_verifier;
1: + u32 sc_prog;
1: + unsigned int sc_netid_len;
1: + char sc_netid[6];
1: + unsigned int sc_uaddr_len;
1: + char sc_uaddr[58];
1: + struct nfs_client *sc_clnt;
1: + struct rpc_cred *sc_cred;
1: };
1:
1: struct nfs4_setclientid_res {
1: - u64 clientid;
1: - nfs4_verifier confirm;
1: + u64 clientid;
1: + nfs4_verifier confirm;
1: };
1:
1: struct nfs4_statfs_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_statfs_res {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_fsstat *fsstat;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fsstat *fsstat;
1: };
1:
1: struct nfs4_server_caps_arg {
1: - struct nfs4_sequence_args seq_args;
1: - struct nfs_fh *fhandle;
1: - const u32 *bitmask;
1: + struct nfs4_sequence_args seq_args;
1: + struct nfs_fh *fhandle;
1: + const u32 *bitmask;
1: };
1:
1: struct nfs4_server_caps_res {
1: - struct nfs4_sequence_res seq_res;
1: - u32 attr_bitmask[3];
1: - u32 exclcreat_bitmask[3];
1: - u32 acl_bitmask;
1: - u32 has_links;
1: - u32 has_symlinks;
1: - u32 fh_expire_type;
1: + struct nfs4_sequence_res seq_res;
1: + u32 attr_bitmask[3];
1: + u32 exclcreat_bitmask[3];
1: + u32 acl_bitmask;
1: + u32 has_links;
1: + u32 has_symlinks;
1: + u32 fh_expire_type;
1: };
1:
1: struct nfs4_fs_locations_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *dir_fh;
1: - const struct nfs_fh *fh;
1: - const struct qstr *name;
1: - struct page *page;
1: - const u32 *bitmask;
1: - clientid4 clientid;
1: - unsigned char migration: 1;
1: - unsigned char renew: 1;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *dir_fh;
1: + const struct nfs_fh *fh;
1: + const struct qstr *name;
1: + struct page *page;
1: + const u32 *bitmask;
1: + clientid4 clientid;
1: + unsigned char migration : 1;
1: + unsigned char renew : 1;
1: };
1:
1: struct nfs4_fs_locations_res {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs4_fs_locations *fs_locations;
1: - unsigned char migration: 1;
1: - unsigned char renew: 1;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs4_fs_locations *fs_locations;
1: + unsigned char migration : 1;
1: + unsigned char renew : 1;
1: };
1:
1: struct nfs4_secinfo4 {
1: - u32 flavor;
1: - struct rpcsec_gss_info flavor_info;
1: + u32 flavor;
1: + struct rpcsec_gss_info flavor_info;
1: };
1:
1: struct nfs4_secinfo_flavors {
1: - unsigned int num_flavors;
1: - struct nfs4_secinfo4 flavors[0];
1: + unsigned int num_flavors;
1: + struct nfs4_secinfo4 flavors[0];
1: };
1:
1: struct nfs4_secinfo_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *dir_fh;
1: - const struct qstr *name;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *dir_fh;
1: + const struct qstr *name;
1: };
1:
1: struct nfs4_secinfo_res {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs4_secinfo_flavors *flavors;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs4_secinfo_flavors *flavors;
1: };
1:
1: struct nfs4_fsid_present_arg {
1: - struct nfs4_sequence_args seq_args;
1: - const struct nfs_fh *fh;
1: - clientid4 clientid;
1: - unsigned char renew: 1;
1: + struct nfs4_sequence_args seq_args;
1: + const struct nfs_fh *fh;
1: + clientid4 clientid;
1: + unsigned char renew : 1;
1: };
1:
1: struct nfs4_fsid_present_res {
1: - struct nfs4_sequence_res seq_res;
1: - struct nfs_fh *fh;
1: - unsigned char renew: 1;
1: + struct nfs4_sequence_res seq_res;
1: + struct nfs_fh *fh;
1: + unsigned char renew : 1;
1: };
1:
1: struct nfs4_cached_acl {
1: - int cached;
1: - size_t len;
1: - char data[0];
1: + int cached;
1: + size_t len;
1: + char data[0];
1: };
1:
1: enum nfs4_client_state {
1: - NFS4CLNT_MANAGER_RUNNING = 0,
1: - NFS4CLNT_CHECK_LEASE = 1,
1: - NFS4CLNT_LEASE_EXPIRED = 2,
1: - NFS4CLNT_RECLAIM_REBOOT = 3,
1: - NFS4CLNT_RECLAIM_NOGRACE = 4,
1: - NFS4CLNT_DELEGRETURN = 5,
1: - NFS4CLNT_SESSION_RESET = 6,
1: - NFS4CLNT_LEASE_CONFIRM = 7,
1: - NFS4CLNT_SERVER_SCOPE_MISMATCH = 8,
1: - NFS4CLNT_PURGE_STATE = 9,
1: - NFS4CLNT_BIND_CONN_TO_SESSION = 10,
1: - NFS4CLNT_MOVED = 11,
1: - NFS4CLNT_LEASE_MOVED = 12,
1: - NFS4CLNT_DELEGATION_EXPIRED = 13,
1: - NFS4CLNT_RUN_MANAGER = 14,
1: - NFS4CLNT_DELEGRETURN_RUNNING = 15,
1: -};
1: -
1: -enum {
1: - NFS_OWNER_RECLAIM_REBOOT = 0,
1: - NFS_OWNER_RECLAIM_NOGRACE = 1,
1: -};
1: -
1: -enum {
1: - LK_STATE_IN_USE = 0,
1: - NFS_DELEGATED_STATE = 1,
1: - NFS_OPEN_STATE = 2,
1: - NFS_O_RDONLY_STATE = 3,
1: - NFS_O_WRONLY_STATE = 4,
1: - NFS_O_RDWR_STATE = 5,
1: - NFS_STATE_RECLAIM_REBOOT = 6,
1: - NFS_STATE_RECLAIM_NOGRACE = 7,
1: - NFS_STATE_POSIX_LOCKS = 8,
1: - NFS_STATE_RECOVERY_FAILED = 9,
1: - NFS_STATE_MAY_NOTIFY_LOCK = 10,
1: - NFS_STATE_CHANGE_WAIT = 11,
1: - NFS_CLNT_DST_SSC_COPY_STATE = 12,
1: - NFS_CLNT_SRC_SSC_COPY_STATE = 13,
1: - NFS_SRV_SSC_COPY_STATE = 14,
1: + NFS4CLNT_MANAGER_RUNNING = 0,
1: + NFS4CLNT_CHECK_LEASE = 1,
1: + NFS4CLNT_LEASE_EXPIRED = 2,
1: + NFS4CLNT_RECLAIM_REBOOT = 3,
1: + NFS4CLNT_RECLAIM_NOGRACE = 4,
1: + NFS4CLNT_DELEGRETURN = 5,
1: + NFS4CLNT_SESSION_RESET = 6,
1: + NFS4CLNT_LEASE_CONFIRM = 7,
1: + NFS4CLNT_SERVER_SCOPE_MISMATCH = 8,
1: + NFS4CLNT_PURGE_STATE = 9,
1: + NFS4CLNT_BIND_CONN_TO_SESSION = 10,
1: + NFS4CLNT_MOVED = 11,
1: + NFS4CLNT_LEASE_MOVED = 12,
1: + NFS4CLNT_DELEGATION_EXPIRED = 13,
1: + NFS4CLNT_RUN_MANAGER = 14,
1: + NFS4CLNT_DELEGRETURN_RUNNING = 15,
1: +};
1: +
1: +enum {
1: + NFS_OWNER_RECLAIM_REBOOT = 0,
1: + NFS_OWNER_RECLAIM_NOGRACE = 1,
1: +};
1: +
1: +enum {
1: + LK_STATE_IN_USE = 0,
1: + NFS_DELEGATED_STATE = 1,
1: + NFS_OPEN_STATE = 2,
1: + NFS_O_RDONLY_STATE = 3,
1: + NFS_O_WRONLY_STATE = 4,
1: + NFS_O_RDWR_STATE = 5,
1: + NFS_STATE_RECLAIM_REBOOT = 6,
1: + NFS_STATE_RECLAIM_NOGRACE = 7,
1: + NFS_STATE_POSIX_LOCKS = 8,
1: + NFS_STATE_RECOVERY_FAILED = 9,
1: + NFS_STATE_MAY_NOTIFY_LOCK = 10,
1: + NFS_STATE_CHANGE_WAIT = 11,
1: + NFS_CLNT_DST_SSC_COPY_STATE = 12,
1: + NFS_CLNT_SRC_SSC_COPY_STATE = 13,
1: + NFS_SRV_SSC_COPY_STATE = 14,
1: };
1:
1: struct nfs4_exception {
1: - struct nfs4_state *state;
1: - struct inode *inode;
1: - nfs4_stateid *stateid;
1: - long int timeout;
1: - unsigned char delay: 1;
1: - unsigned char recovering: 1;
1: - unsigned char retry: 1;
1: - bool interruptible;
1: + struct nfs4_state *state;
1: + struct inode *inode;
1: + nfs4_stateid *stateid;
1: + long int timeout;
1: + unsigned char delay : 1;
1: + unsigned char recovering : 1;
1: + unsigned char retry : 1;
1: + bool interruptible;
1: };
1:
1: struct nfs4_opendata {
1: - struct kref kref;
1: - struct nfs_openargs o_arg;
1: - struct nfs_openres o_res;
1: - struct nfs_open_confirmargs c_arg;
1: - struct nfs_open_confirmres c_res;
1: - struct nfs4_string owner_name;
1: - struct nfs4_string group_name;
1: - struct nfs4_label *a_label;
1: - struct nfs_fattr f_attr;
1: - struct nfs4_label *f_label;
1: - struct dentry *dir;
1: - struct dentry *dentry;
1: - struct nfs4_state_owner *owner;
1: - struct nfs4_state *state;
1: - struct iattr attrs;
1: - struct nfs4_layoutget *lgp;
1: - long unsigned int timestamp;
1: - bool rpc_done;
1: - bool file_created;
1: - bool is_recover;
1: - bool cancelled;
1: - int rpc_status;
1: -};
1: -
1: -enum {
1: - NFS_DELEGATION_NEED_RECLAIM = 0,
1: - NFS_DELEGATION_RETURN = 1,
1: - NFS_DELEGATION_RETURN_IF_CLOSED = 2,
1: - NFS_DELEGATION_REFERENCED = 3,
1: - NFS_DELEGATION_RETURNING = 4,
1: - NFS_DELEGATION_REVOKED = 5,
1: - NFS_DELEGATION_TEST_EXPIRED = 6,
1: - NFS_DELEGATION_INODE_FREEING = 7,
1: + struct kref kref;
1: + struct nfs_openargs o_arg;
1: + struct nfs_openres o_res;
1: + struct nfs_open_confirmargs c_arg;
1: + struct nfs_open_confirmres c_res;
1: + struct nfs4_string owner_name;
1: + struct nfs4_string group_name;
1: + struct nfs4_label *a_label;
1: + struct nfs_fattr f_attr;
1: + struct nfs4_label *f_label;
1: + struct dentry *dir;
1: + struct dentry *dentry;
1: + struct nfs4_state_owner *owner;
1: + struct nfs4_state *state;
1: + struct iattr attrs;
1: + struct nfs4_layoutget *lgp;
1: + long unsigned int timestamp;
1: + bool rpc_done;
1: + bool file_created;
1: + bool is_recover;
1: + bool cancelled;
1: + int rpc_status;
1: +};
1: +
1: +enum {
1: + NFS_DELEGATION_NEED_RECLAIM = 0,
1: + NFS_DELEGATION_RETURN = 1,
1: + NFS_DELEGATION_RETURN_IF_CLOSED = 2,
1: + NFS_DELEGATION_REFERENCED = 3,
1: + NFS_DELEGATION_RETURNING = 4,
1: + NFS_DELEGATION_REVOKED = 5,
1: + NFS_DELEGATION_TEST_EXPIRED = 6,
1: + NFS_DELEGATION_INODE_FREEING = 7,
1: };
1:
1: enum nfs4_slot_tbl_state {
1: - NFS4_SLOT_TBL_DRAINING = 0,
1: + NFS4_SLOT_TBL_DRAINING = 0,
1: };
1:
1: struct nfs4_call_sync_data {
1: - const struct nfs_server *seq_server;
1: - struct nfs4_sequence_args *seq_args;
1: - struct nfs4_sequence_res *seq_res;
1: + const struct nfs_server *seq_server;
1: + struct nfs4_sequence_args *seq_args;
1: + struct nfs4_sequence_res *seq_res;
1: };
1:
1: struct nfs4_open_createattrs {
1: - struct nfs4_label *label;
1: - struct iattr *sattr;
1: - __u32 verf[2];
1: + struct nfs4_label *label;
1: + struct iattr *sattr;
1: + __u32 verf[2];
1: };
1:
1: struct nfs4_closedata {
1: - struct inode *inode;
1: - struct nfs4_state *state;
1: - struct nfs_closeargs arg;
1: - struct nfs_closeres res;
1: - struct {
1: - struct nfs4_layoutreturn_args arg;
1: - struct nfs4_layoutreturn_res res;
1: - struct nfs4_xdr_opaque_data ld_private;
1: - u32 roc_barrier;
1: - bool roc;
1: - } lr;
1: - struct nfs_fattr fattr;
1: - long unsigned int timestamp;
1: + struct inode *inode;
1: + struct nfs4_state *state;
1: + struct nfs_closeargs arg;
1: + struct nfs_closeres res;
1: + struct {
1: + struct nfs4_layoutreturn_args arg;
1: + struct nfs4_layoutreturn_res res;
1: + struct nfs4_xdr_opaque_data ld_private;
1: + u32 roc_barrier;
1: + bool roc;
1: + } lr;
1: + struct nfs_fattr fattr;
1: + long unsigned int timestamp;
1: };
1:
1: struct nfs4_createdata {
1: - struct rpc_message msg;
1: - struct nfs4_create_arg arg;
1: - struct nfs4_create_res res;
1: - struct nfs_fh fh;
1: - struct nfs_fattr fattr;
1: - struct nfs4_label *label;
1: + struct rpc_message msg;
1: + struct nfs4_create_arg arg;
1: + struct nfs4_create_res res;
1: + struct nfs_fh fh;
1: + struct nfs_fattr fattr;
1: + struct nfs4_label *label;
1: };
1:
1: struct nfs4_renewdata {
1: - struct nfs_client *client;
1: - long unsigned int timestamp;
1: + struct nfs_client *client;
1: + long unsigned int timestamp;
1: };
1:
1: struct nfs4_delegreturndata {
1: - struct nfs4_delegreturnargs args;
1: - struct nfs4_delegreturnres res;
1: - struct nfs_fh fh;
1: - nfs4_stateid stateid;
1: - long unsigned int timestamp;
1: - struct {
1: - struct nfs4_layoutreturn_args arg;
1: - struct nfs4_layoutreturn_res res;
1: - struct nfs4_xdr_opaque_data ld_private;
1: - u32 roc_barrier;
1: - bool roc;
1: - } lr;
1: - struct nfs_fattr fattr;
1: - int rpc_status;
1: - struct inode *inode;
1: + struct nfs4_delegreturnargs args;
1: + struct nfs4_delegreturnres res;
1: + struct nfs_fh fh;
1: + nfs4_stateid stateid;
1: + long unsigned int timestamp;
1: + struct {
1: + struct nfs4_layoutreturn_args arg;
1: + struct nfs4_layoutreturn_res res;
1: + struct nfs4_xdr_opaque_data ld_private;
1: + u32 roc_barrier;
1: + bool roc;
1: + } lr;
1: + struct nfs_fattr fattr;
1: + int rpc_status;
1: + struct inode *inode;
1: };
1:
1: struct nfs4_unlockdata {
1: - struct nfs_locku_args arg;
1: - struct nfs_locku_res res;
1: - struct nfs4_lock_state *lsp;
1: - struct nfs_open_context *ctx;
1: - struct nfs_lock_context *l_ctx;
1: - struct file_lock fl;
1: - struct nfs_server *server;
1: - long unsigned int timestamp;
1: + struct nfs_locku_args arg;
1: + struct nfs_locku_res res;
1: + struct nfs4_lock_state *lsp;
1: + struct nfs_open_context *ctx;
1: + struct nfs_lock_context *l_ctx;
1: + struct file_lock fl;
1: + struct nfs_server *server;
1: + long unsigned int timestamp;
1: };
1:
1: struct nfs4_lockdata {
1: - struct nfs_lock_args arg;
1: - struct nfs_lock_res res;
1: - struct nfs4_lock_state *lsp;
1: - struct nfs_open_context *ctx;
1: - struct file_lock fl;
1: - long unsigned int timestamp;
1: - int rpc_status;
1: - int cancelled;
1: - struct nfs_server *server;
1: + struct nfs_lock_args arg;
1: + struct nfs_lock_res res;
1: + struct nfs4_lock_state *lsp;
1: + struct nfs_open_context *ctx;
1: + struct file_lock fl;
1: + long unsigned int timestamp;
1: + int rpc_status;
1: + int cancelled;
1: + struct nfs_server *server;
1: };
1:
1: struct nfs_release_lockowner_data {
1: - struct nfs4_lock_state *lsp;
1: - struct nfs_server *server;
1: - struct nfs_release_lockowner_args args;
1: - struct nfs_release_lockowner_res res;
1: - long unsigned int timestamp;
1: + struct nfs4_lock_state *lsp;
1: + struct nfs_server *server;
1: + struct nfs_release_lockowner_args args;
1: + struct nfs_release_lockowner_res res;
1: + long unsigned int timestamp;
1: };
1:
1: struct nfs4_get_lease_time_data {
1: - struct nfs4_get_lease_time_args *args;
1: - struct nfs4_get_lease_time_res *res;
1: - struct nfs_client *clp;
1: + struct nfs4_get_lease_time_args *args;
1: + struct nfs4_get_lease_time_res *res;
1: + struct nfs_client *clp;
1: };
1:
1: enum opentype4 {
1: - NFS4_OPEN_NOCREATE = 0,
1: - NFS4_OPEN_CREATE = 1,
1: + NFS4_OPEN_NOCREATE = 0,
1: + NFS4_OPEN_CREATE = 1,
1: };
1:
1: enum limit_by4 {
1: - NFS4_LIMIT_SIZE = 1,
1: - NFS4_LIMIT_BLOCKS = 2,
1: + NFS4_LIMIT_SIZE = 1,
1: + NFS4_LIMIT_BLOCKS = 2,
1: };
1:
1: enum open_delegation_type4 {
1: - NFS4_OPEN_DELEGATE_NONE = 0,
1: - NFS4_OPEN_DELEGATE_READ = 1,
1: - NFS4_OPEN_DELEGATE_WRITE = 2,
1: - NFS4_OPEN_DELEGATE_NONE_EXT = 3,
1: + NFS4_OPEN_DELEGATE_NONE = 0,
1: + NFS4_OPEN_DELEGATE_READ = 1,
1: + NFS4_OPEN_DELEGATE_WRITE = 2,
1: + NFS4_OPEN_DELEGATE_NONE_EXT = 3,
1: };
1:
1: enum why_no_delegation4 {
1: - WND4_NOT_WANTED = 0,
1: - WND4_CONTENTION = 1,
1: - WND4_RESOURCE = 2,
1: - WND4_NOT_SUPP_FTYPE = 3,
1: - WND4_WRITE_DELEG_NOT_SUPP_FTYPE = 4,
1: - WND4_NOT_SUPP_UPGRADE = 5,
1: - WND4_NOT_SUPP_DOWNGRADE = 6,
1: - WND4_CANCELLED = 7,
1: - WND4_IS_DIR = 8,
1: + WND4_NOT_WANTED = 0,
1: + WND4_CONTENTION = 1,
1: + WND4_RESOURCE = 2,
1: + WND4_NOT_SUPP_FTYPE = 3,
1: + WND4_WRITE_DELEG_NOT_SUPP_FTYPE = 4,
1: + WND4_NOT_SUPP_UPGRADE = 5,
1: + WND4_NOT_SUPP_DOWNGRADE = 6,
1: + WND4_CANCELLED = 7,
1: + WND4_IS_DIR = 8,
1: };
1:
1: enum lock_type4 {
1: - NFS4_UNLOCK_LT = 0,
1: - NFS4_READ_LT = 1,
1: - NFS4_WRITE_LT = 2,
1: - NFS4_READW_LT = 3,
1: - NFS4_WRITEW_LT = 4,
1: + NFS4_UNLOCK_LT = 0,
1: + NFS4_READ_LT = 1,
1: + NFS4_WRITE_LT = 2,
1: + NFS4_READW_LT = 3,
1: + NFS4_WRITEW_LT = 4,
1: };
1:
1: struct compound_hdr {
1: - int32_t status;
1: - uint32_t nops;
1: - __be32 *nops_p;
1: - uint32_t taglen;
1: - char *tag;
1: - uint32_t replen;
1: - u32 minorversion;
1: + int32_t status;
1: + uint32_t nops;
1: + __be32 *nops_p;
1: + uint32_t taglen;
1: + char *tag;
1: + uint32_t replen;
1: + u32 minorversion;
1: };
1:
1: struct nfs_referral_count {
1: - struct list_head list;
1: - const struct task_struct *task;
1: - unsigned int referral_count;
1: + struct list_head list;
1: + const struct task_struct *task;
1: + unsigned int referral_count;
1: };
1:
1: struct rpc_pipe_dir_object_ops;
1:
1: struct rpc_pipe_dir_object {
1: - struct list_head pdo_head;
1: - const struct rpc_pipe_dir_object_ops *pdo_ops;
1: - void *pdo_data;
1: + struct list_head pdo_head;
1: + const struct rpc_pipe_dir_object_ops *pdo_ops;
1: + void *pdo_data;
1: };
1:
1: struct rpc_pipe_dir_object_ops {
1: - int (*create)(struct dentry *, struct rpc_pipe_dir_object *);
1: - void (*destroy)(struct dentry *, struct rpc_pipe_dir_object *);
1: + int (*create)(struct dentry *, struct rpc_pipe_dir_object *);
1: + void (*destroy)(struct dentry *, struct rpc_pipe_dir_object *);
1: };
1:
1: struct rpc_inode {
1: - struct inode vfs_inode;
1: - void *private;
1: - struct rpc_pipe *pipe;
1: - wait_queue_head_t waitq;
1: + struct inode vfs_inode;
1: + void *private;
1: + struct rpc_pipe *pipe;
1: + wait_queue_head_t waitq;
1: };
1:
1: struct idmap_legacy_upcalldata;
1:
1: struct idmap {
1: - struct rpc_pipe_dir_object idmap_pdo;
1: - struct rpc_pipe *idmap_pipe;
1: - struct idmap_legacy_upcalldata *idmap_upcall_data;
1: - struct mutex idmap_mutex;
1: - const struct cred *cred;
1: + struct rpc_pipe_dir_object idmap_pdo;
1: + struct rpc_pipe *idmap_pipe;
1: + struct idmap_legacy_upcalldata *idmap_upcall_data;
1: + struct mutex idmap_mutex;
1: + const struct cred *cred;
1: };
1:
1: struct user_key_payload {
1: - struct callback_head rcu;
1: - short unsigned int datalen;
1: - long: 48;
1: - char data[0];
1: + struct callback_head rcu;
1: + short unsigned int datalen;
1: + long : 48;
1: + char data[0];
1: };
1:
1: struct request_key_auth {
1: - struct callback_head rcu;
1: - struct key *target_key;
1: - struct key *dest_keyring;
1: - const struct cred *cred;
1: - void *callout_info;
1: - size_t callout_len;
1: - pid_t pid;
1: - char op[8];
1: + struct callback_head rcu;
1: + struct key *target_key;
1: + struct key *dest_keyring;
1: + const struct cred *cred;
1: + void *callout_info;
1: + size_t callout_len;
1: + pid_t pid;
1: + char op[8];
1: };
1:
1: struct idmap_msg {
1: - __u8 im_type;
1: - __u8 im_conv;
1: - char im_name[128];
1: - __u32 im_id;
1: - __u8 im_status;
1: + __u8 im_type;
1: + __u8 im_conv;
1: + char im_name[128];
1: + __u32 im_id;
1: + __u8 im_status;
1: };
1:
1: struct idmap_legacy_upcalldata {
1: - struct rpc_pipe_msg pipe_msg;
1: - struct idmap_msg idmap_msg;
1: - struct key *authkey;
1: - struct idmap *idmap;
1: + struct rpc_pipe_msg pipe_msg;
1: + struct idmap_msg idmap_msg;
1: + struct key *authkey;
1: + struct idmap *idmap;
1: };
1:
1: enum {
1: - Opt_find_uid = 0,
1: - Opt_find_gid = 1,
1: - Opt_find_user = 2,
1: - Opt_find_group = 3,
1: - Opt_find_err = 4,
1: + Opt_find_uid = 0,
1: + Opt_find_gid = 1,
1: + Opt_find_user = 2,
1: + Opt_find_group = 3,
1: + Opt_find_err = 4,
1: };
1:
1: enum nfs4_callback_procnum {
1: - CB_NULL = 0,
1: - CB_COMPOUND = 1,
1: + CB_NULL = 0,
1: + CB_COMPOUND = 1,
1: };
1:
1: struct nfs_callback_data {
1: - unsigned int users;
1: - struct svc_serv *serv;
1: + unsigned int users;
1: + struct svc_serv *serv;
1: };
1:
1: enum rpc_accept_stat {
1: - RPC_SUCCESS = 0,
1: - RPC_PROG_UNAVAIL = 1,
1: - RPC_PROG_MISMATCH = 2,
1: - RPC_PROC_UNAVAIL = 3,
1: - RPC_GARBAGE_ARGS = 4,
1: - RPC_SYSTEM_ERR = 5,
1: - RPC_DROP_REPLY = 60000,
1: + RPC_SUCCESS = 0,
1: + RPC_PROG_UNAVAIL = 1,
1: + RPC_PROG_MISMATCH = 2,
1: + RPC_PROC_UNAVAIL = 3,
1: + RPC_GARBAGE_ARGS = 4,
1: + RPC_SYSTEM_ERR = 5,
1: + RPC_DROP_REPLY = 60000,
1: };
1:
1: enum rpc_auth_stat {
1: - RPC_AUTH_OK = 0,
1: - RPC_AUTH_BADCRED = 1,
1: - RPC_AUTH_REJECTEDCRED = 2,
1: - RPC_AUTH_BADVERF = 3,
1: - RPC_AUTH_REJECTEDVERF = 4,
1: - RPC_AUTH_TOOWEAK = 5,
1: - RPCSEC_GSS_CREDPROBLEM = 13,
1: - RPCSEC_GSS_CTXPROBLEM = 14,
1: + RPC_AUTH_OK = 0,
1: + RPC_AUTH_BADCRED = 1,
1: + RPC_AUTH_REJECTEDCRED = 2,
1: + RPC_AUTH_BADVERF = 3,
1: + RPC_AUTH_REJECTEDVERF = 4,
1: + RPC_AUTH_TOOWEAK = 5,
1: + RPCSEC_GSS_CREDPROBLEM = 13,
1: + RPCSEC_GSS_CTXPROBLEM = 14,
1: };
1:
1: enum nfs4_callback_opnum {
1: - OP_CB_GETATTR = 3,
1: - OP_CB_RECALL = 4,
1: - OP_CB_LAYOUTRECALL = 5,
1: - OP_CB_NOTIFY = 6,
1: - OP_CB_PUSH_DELEG = 7,
1: - OP_CB_RECALL_ANY = 8,
1: - OP_CB_RECALLABLE_OBJ_AVAIL = 9,
1: - OP_CB_RECALL_SLOT = 10,
1: - OP_CB_SEQUENCE = 11,
1: - OP_CB_WANTS_CANCELLED = 12,
1: - OP_CB_NOTIFY_LOCK = 13,
1: - OP_CB_NOTIFY_DEVICEID = 14,
1: - OP_CB_OFFLOAD = 15,
1: - OP_CB_ILLEGAL = 10044,
1: + OP_CB_GETATTR = 3,
1: + OP_CB_RECALL = 4,
1: + OP_CB_LAYOUTRECALL = 5,
1: + OP_CB_NOTIFY = 6,
1: + OP_CB_PUSH_DELEG = 7,
1: + OP_CB_RECALL_ANY = 8,
1: + OP_CB_RECALLABLE_OBJ_AVAIL = 9,
1: + OP_CB_RECALL_SLOT = 10,
1: + OP_CB_SEQUENCE = 11,
1: + OP_CB_WANTS_CANCELLED = 12,
1: + OP_CB_NOTIFY_LOCK = 13,
1: + OP_CB_NOTIFY_DEVICEID = 14,
1: + OP_CB_OFFLOAD = 15,
1: + OP_CB_ILLEGAL = 10044,
1: };
1:
1: struct cb_process_state {
1: - __be32 drc_status;
1: - struct nfs_client *clp;
1: - struct nfs4_slot *slot;
1: - u32 minorversion;
1: - struct net *net;
1: + __be32 drc_status;
1: + struct nfs_client *clp;
1: + struct nfs4_slot *slot;
1: + u32 minorversion;
1: + struct net *net;
1: };
1:
1: struct cb_compound_hdr_arg {
1: - unsigned int taglen;
1: - const char *tag;
1: - unsigned int minorversion;
1: - unsigned int cb_ident;
1: - unsigned int nops;
1: + unsigned int taglen;
1: + const char *tag;
1: + unsigned int minorversion;
1: + unsigned int cb_ident;
1: + unsigned int nops;
1: };
1:
1: struct cb_compound_hdr_res {
1: - __be32 *status;
1: - unsigned int taglen;
1: - const char *tag;
1: - __be32 *nops;
1: + __be32 *status;
1: + unsigned int taglen;
1: + const char *tag;
1: + __be32 *nops;
1: };
1:
1: struct cb_getattrargs {
1: - struct nfs_fh fh;
1: - uint32_t bitmap[2];
1: + struct nfs_fh fh;
1: + uint32_t bitmap[2];
1: };
1:
1: struct cb_getattrres {
1: - __be32 status;
1: - uint32_t bitmap[2];
1: - uint64_t size;
1: - uint64_t change_attr;
1: - struct timespec64 ctime;
1: - struct timespec64 mtime;
1: + __be32 status;
1: + uint32_t bitmap[2];
1: + uint64_t size;
1: + uint64_t change_attr;
1: + struct timespec64 ctime;
1: + struct timespec64 mtime;
1: };
1:
1: struct cb_recallargs {
1: - struct nfs_fh fh;
1: - nfs4_stateid stateid;
1: - uint32_t truncate;
1: + struct nfs_fh fh;
1: + nfs4_stateid stateid;
1: + uint32_t truncate;
1: };
1:
1: struct callback_op {
1: - __be32 (*process_op)(void *, void *, struct cb_process_state *);
1: - __be32 (*decode_args)(struct svc_rqst *, struct xdr_stream *, void *);
1: - __be32 (*encode_res)(struct svc_rqst *, struct xdr_stream *, const void *);
1: - long int res_maxsize;
1: + __be32 (*process_op)(void *, void *, struct cb_process_state *);
1: + __be32 (*decode_args)(struct svc_rqst *, struct xdr_stream *, void *);
1: + __be32 (*encode_res)(struct svc_rqst *, struct xdr_stream *, const void *);
1: + long int res_maxsize;
1: };
1:
1: struct xprt_create {
1: - int ident;
1: - struct net *net;
1: - struct sockaddr *srcaddr;
1: - struct sockaddr *dstaddr;
1: - size_t addrlen;
1: - const char *servername;
1: - struct svc_xprt *bc_xprt;
1: - struct rpc_xprt_switch *bc_xps;
1: - unsigned int flags;
1: + int ident;
1: + struct net *net;
1: + struct sockaddr *srcaddr;
1: + struct sockaddr *dstaddr;
1: + size_t addrlen;
1: + const char *servername;
1: + struct svc_xprt *bc_xprt;
1: + struct rpc_xprt_switch *bc_xps;
1: + unsigned int flags;
1: };
1:
1: struct trace_event_raw_nfs4_clientid_event {
1: - struct trace_entry ent;
1: - u32 __data_loc_dstaddr;
1: - long unsigned int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_dstaddr;
1: + long unsigned int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_setup_sequence {
1: - struct trace_entry ent;
1: - unsigned int session;
1: - unsigned int slot_nr;
1: - unsigned int seq_nr;
1: - unsigned int highest_used_slotid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int session;
1: + unsigned int slot_nr;
1: + unsigned int seq_nr;
1: + unsigned int highest_used_slotid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_state_mgr {
1: - struct trace_entry ent;
1: - long unsigned int state;
1: - u32 __data_loc_hostname;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int state;
1: + u32 __data_loc_hostname;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_state_mgr_failed {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - long unsigned int state;
1: - u32 __data_loc_hostname;
1: - u32 __data_loc_section;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + long unsigned int state;
1: + u32 __data_loc_hostname;
1: + u32 __data_loc_section;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_xdr_status {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 xid;
1: - u32 op;
1: - long unsigned int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 op;
1: + long unsigned int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_open_event {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - unsigned int flags;
1: - unsigned int fmode;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - int openstateid_seq;
1: - u32 openstateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + unsigned int flags;
1: + unsigned int fmode;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + int openstateid_seq;
1: + u32 openstateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_cached_open {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - unsigned int fmode;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + unsigned int fmode;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_close {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - unsigned int fmode;
1: - long unsigned int error;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + unsigned int fmode;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_lock_event {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - int cmd;
1: - char type;
1: - loff_t start;
1: - loff_t end;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + int cmd;
1: + char type;
1: + loff_t start;
1: + loff_t end;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_set_lock {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - int cmd;
1: - char type;
1: - loff_t start;
1: - loff_t end;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - int lockstateid_seq;
1: - u32 lockstateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + int cmd;
1: + char type;
1: + loff_t start;
1: + loff_t end;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + int lockstateid_seq;
1: + u32 lockstateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_state_lock_reclaim {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - long unsigned int state_flags;
1: - long unsigned int lock_flags;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + long unsigned int state_flags;
1: + long unsigned int lock_flags;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_set_delegation_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - unsigned int fmode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + unsigned int fmode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_delegreturn_exit {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - long unsigned int error;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_lookup_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int error;
1: - u64 dir;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int error;
1: + u64 dir;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_lookupp {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u64 ino;
1: - long unsigned int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u64 ino;
1: + long unsigned int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_rename {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - long unsigned int error;
1: - u64 olddir;
1: - u32 __data_loc_oldname;
1: - u64 newdir;
1: - u32 __data_loc_newname;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + long unsigned int error;
1: + u64 olddir;
1: + u32 __data_loc_oldname;
1: + u64 newdir;
1: + u32 __data_loc_newname;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_inode_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - long unsigned int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + long unsigned int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_inode_stateid_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - long unsigned int error;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_getattr_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - unsigned int valid;
1: - long unsigned int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + unsigned int valid;
1: + long unsigned int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_inode_callback_event {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - u32 __data_loc_dstaddr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + u32 __data_loc_dstaddr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_inode_stateid_callback_event {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - u32 __data_loc_dstaddr;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + u32 __data_loc_dstaddr;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_idmap_event {
1: - struct trace_entry ent;
1: - long unsigned int error;
1: - u32 id;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int error;
1: + u32 id;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_read_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - loff_t offset;
1: - size_t count;
1: - long unsigned int error;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + loff_t offset;
1: + size_t count;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_write_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - loff_t offset;
1: - size_t count;
1: - long unsigned int error;
1: - int stateid_seq;
1: - u32 stateid_hash;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + loff_t offset;
1: + size_t count;
1: + long unsigned int error;
1: + int stateid_seq;
1: + u32 stateid_hash;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_nfs4_commit_event {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - u32 fhandle;
1: - u64 fileid;
1: - loff_t offset;
1: - size_t count;
1: - long unsigned int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + u32 fhandle;
1: + u64 fileid;
1: + loff_t offset;
1: + size_t count;
1: + long unsigned int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_nfs4_clientid_event {
1: - u32 dstaddr;
1: + u32 dstaddr;
1: };
1:
1: struct trace_event_data_offsets_nfs4_setup_sequence {};
1:
1: struct trace_event_data_offsets_nfs4_state_mgr {
1: - u32 hostname;
1: + u32 hostname;
1: };
1:
1: struct trace_event_data_offsets_nfs4_state_mgr_failed {
1: - u32 hostname;
1: - u32 section;
1: + u32 hostname;
1: + u32 section;
1: };
1:
1: struct trace_event_data_offsets_nfs4_xdr_status {};
1:
1: struct trace_event_data_offsets_nfs4_open_event {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs4_cached_open {};
1: @@ -48954,14 +49339,14 @@ struct trace_event_data_offsets_nfs4_set_delegation_event {};
1: struct trace_event_data_offsets_nfs4_delegreturn_exit {};
1:
1: struct trace_event_data_offsets_nfs4_lookup_event {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs4_lookupp {};
1:
1: struct trace_event_data_offsets_nfs4_rename {
1: - u32 oldname;
1: - u32 newname;
1: + u32 oldname;
1: + u32 newname;
1: };
1:
1: struct trace_event_data_offsets_nfs4_inode_event {};
1: @@ -48971,15 +49356,15 @@ struct trace_event_data_offsets_nfs4_inode_stateid_event {};
1: struct trace_event_data_offsets_nfs4_getattr_event {};
1:
1: struct trace_event_data_offsets_nfs4_inode_callback_event {
1: - u32 dstaddr;
1: + u32 dstaddr;
1: };
1:
1: struct trace_event_data_offsets_nfs4_inode_stateid_callback_event {
1: - u32 dstaddr;
1: + u32 dstaddr;
1: };
1:
1: struct trace_event_data_offsets_nfs4_idmap_event {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_nfs4_read_event {};
1: @@ -48989,210 +49374,210 @@ struct trace_event_data_offsets_nfs4_write_event {};
1: struct trace_event_data_offsets_nfs4_commit_event {};
1:
1: struct getdents_callback___2 {
1: - struct dir_context ctx;
1: - char *name;
1: - u64 ino;
1: - int found;
1: - int sequence;
1: + struct dir_context ctx;
1: + char *name;
1: + u64 ino;
1: + int found;
1: + int sequence;
1: };
1:
1: struct nlm_host___2;
1:
1: struct nlm_lockowner {
1: - struct list_head list;
1: - refcount_t count;
1: - struct nlm_host___2 *host;
1: - fl_owner_t owner;
1: - uint32_t pid;
1: + struct list_head list;
1: + refcount_t count;
1: + struct nlm_host___2 *host;
1: + fl_owner_t owner;
1: + uint32_t pid;
1: };
1:
1: struct nsm_handle;
1:
1: struct nlm_host___2 {
1: - struct hlist_node h_hash;
1: - struct __kernel_sockaddr_storage h_addr;
1: - size_t h_addrlen;
1: - struct __kernel_sockaddr_storage h_srcaddr;
1: - size_t h_srcaddrlen;
1: - struct rpc_clnt *h_rpcclnt;
1: - char *h_name;
1: - u32 h_version;
1: - short unsigned int h_proto;
1: - short unsigned int h_reclaiming: 1;
1: - short unsigned int h_server: 1;
1: - short unsigned int h_noresvport: 1;
1: - short unsigned int h_inuse: 1;
1: - wait_queue_head_t h_gracewait;
1: - struct rw_semaphore h_rwsem;
1: - u32 h_state;
1: - u32 h_nsmstate;
1: - u32 h_pidcount;
1: - refcount_t h_count;
1: - struct mutex h_mutex;
1: - long unsigned int h_nextrebind;
1: - long unsigned int h_expires;
1: - struct list_head h_lockowners;
1: - spinlock_t h_lock;
1: - struct list_head h_granted;
1: - struct list_head h_reclaim;
1: - struct nsm_handle *h_nsmhandle;
1: - char *h_addrbuf;
1: - struct net *net;
1: - const struct cred *h_cred;
1: - char nodename[65];
1: - const struct nlmclnt_operations *h_nlmclnt_ops;
1: -};
1: -
1: -enum {
1: - NLM_LCK_GRANTED = 0,
1: - NLM_LCK_DENIED = 1,
1: - NLM_LCK_DENIED_NOLOCKS = 2,
1: - NLM_LCK_BLOCKED = 3,
1: - NLM_LCK_DENIED_GRACE_PERIOD = 4,
1: - NLM_DEADLCK = 5,
1: - NLM_ROFS = 6,
1: - NLM_STALE_FH = 7,
1: - NLM_FBIG = 8,
1: - NLM_FAILED = 9,
1: + struct hlist_node h_hash;
1: + struct __kernel_sockaddr_storage h_addr;
1: + size_t h_addrlen;
1: + struct __kernel_sockaddr_storage h_srcaddr;
1: + size_t h_srcaddrlen;
1: + struct rpc_clnt *h_rpcclnt;
1: + char *h_name;
1: + u32 h_version;
1: + short unsigned int h_proto;
1: + short unsigned int h_reclaiming : 1;
1: + short unsigned int h_server : 1;
1: + short unsigned int h_noresvport : 1;
1: + short unsigned int h_inuse : 1;
1: + wait_queue_head_t h_gracewait;
1: + struct rw_semaphore h_rwsem;
1: + u32 h_state;
1: + u32 h_nsmstate;
1: + u32 h_pidcount;
1: + refcount_t h_count;
1: + struct mutex h_mutex;
1: + long unsigned int h_nextrebind;
1: + long unsigned int h_expires;
1: + struct list_head h_lockowners;
1: + spinlock_t h_lock;
1: + struct list_head h_granted;
1: + struct list_head h_reclaim;
1: + struct nsm_handle *h_nsmhandle;
1: + char *h_addrbuf;
1: + struct net *net;
1: + const struct cred *h_cred;
1: + char nodename[65];
1: + const struct nlmclnt_operations *h_nlmclnt_ops;
1: +};
1: +
1: +enum {
1: + NLM_LCK_GRANTED = 0,
1: + NLM_LCK_DENIED = 1,
1: + NLM_LCK_DENIED_NOLOCKS = 2,
1: + NLM_LCK_BLOCKED = 3,
1: + NLM_LCK_DENIED_GRACE_PERIOD = 4,
1: + NLM_DEADLCK = 5,
1: + NLM_ROFS = 6,
1: + NLM_STALE_FH = 7,
1: + NLM_FBIG = 8,
1: + NLM_FAILED = 9,
1: };
1:
1: struct nsm_private {
1: - unsigned char data[16];
1: + unsigned char data[16];
1: };
1:
1: struct nlm_lock {
1: - char *caller;
1: - unsigned int len;
1: - struct nfs_fh fh;
1: - struct xdr_netobj oh;
1: - u32 svid;
1: - struct file_lock fl;
1: + char *caller;
1: + unsigned int len;
1: + struct nfs_fh fh;
1: + struct xdr_netobj oh;
1: + u32 svid;
1: + struct file_lock fl;
1: };
1:
1: struct nlm_cookie {
1: - unsigned char data[32];
1: - unsigned int len;
1: + unsigned char data[32];
1: + unsigned int len;
1: };
1:
1: struct nlm_args {
1: - struct nlm_cookie cookie;
1: - struct nlm_lock lock;
1: - u32 block;
1: - u32 reclaim;
1: - u32 state;
1: - u32 monitor;
1: - u32 fsm_access;
1: - u32 fsm_mode;
1: + struct nlm_cookie cookie;
1: + struct nlm_lock lock;
1: + u32 block;
1: + u32 reclaim;
1: + u32 state;
1: + u32 monitor;
1: + u32 fsm_access;
1: + u32 fsm_mode;
1: };
1:
1: struct nlm_res {
1: - struct nlm_cookie cookie;
1: - __be32 status;
1: - struct nlm_lock lock;
1: + struct nlm_cookie cookie;
1: + __be32 status;
1: + struct nlm_lock lock;
1: };
1:
1: struct nsm_handle {
1: - struct list_head sm_link;
1: - refcount_t sm_count;
1: - char *sm_mon_name;
1: - char *sm_name;
1: - struct __kernel_sockaddr_storage sm_addr;
1: - size_t sm_addrlen;
1: - unsigned int sm_monitored: 1;
1: - unsigned int sm_sticky: 1;
1: - struct nsm_private sm_priv;
1: - char sm_addrbuf[51];
1: + struct list_head sm_link;
1: + refcount_t sm_count;
1: + char *sm_mon_name;
1: + char *sm_name;
1: + struct __kernel_sockaddr_storage sm_addr;
1: + size_t sm_addrlen;
1: + unsigned int sm_monitored : 1;
1: + unsigned int sm_sticky : 1;
1: + struct nsm_private sm_priv;
1: + char sm_addrbuf[51];
1: };
1:
1: struct nlm_block;
1:
1: struct nlm_rqst {
1: - refcount_t a_count;
1: - unsigned int a_flags;
1: - struct nlm_host___2 *a_host;
1: - struct nlm_args a_args;
1: - struct nlm_res a_res;
1: - struct nlm_block *a_block;
1: - unsigned int a_retries;
1: - u8 a_owner[74];
1: - void *a_callback_data;
1: + refcount_t a_count;
1: + unsigned int a_flags;
1: + struct nlm_host___2 *a_host;
1: + struct nlm_args a_args;
1: + struct nlm_res a_res;
1: + struct nlm_block *a_block;
1: + unsigned int a_retries;
1: + u8 a_owner[74];
1: + void *a_callback_data;
1: };
1:
1: struct nlm_file;
1:
1: struct nlm_block {
1: - struct kref b_count;
1: - struct list_head b_list;
1: - struct list_head b_flist;
1: - struct nlm_rqst *b_call;
1: - struct svc_serv *b_daemon;
1: - struct nlm_host___2 *b_host;
1: - long unsigned int b_when;
1: - unsigned int b_id;
1: - unsigned char b_granted;
1: - struct nlm_file *b_file;
1: - struct cache_req *b_cache_req;
1: - struct cache_deferred_req *b_deferred_req;
1: - unsigned int b_flags;
1: + struct kref b_count;
1: + struct list_head b_list;
1: + struct list_head b_flist;
1: + struct nlm_rqst *b_call;
1: + struct svc_serv *b_daemon;
1: + struct nlm_host___2 *b_host;
1: + long unsigned int b_when;
1: + unsigned int b_id;
1: + unsigned char b_granted;
1: + struct nlm_file *b_file;
1: + struct cache_req *b_cache_req;
1: + struct cache_deferred_req *b_deferred_req;
1: + unsigned int b_flags;
1: };
1:
1: struct nlm_share;
1:
1: struct nlm_file {
1: - struct hlist_node f_list;
1: - struct nfs_fh f_handle;
1: - struct file *f_file;
1: - struct nlm_share *f_shares;
1: - struct list_head f_blocks;
1: - unsigned int f_locks;
1: - unsigned int f_count;
1: - struct mutex f_mutex;
1: + struct hlist_node f_list;
1: + struct nfs_fh f_handle;
1: + struct file *f_file;
1: + struct nlm_share *f_shares;
1: + struct list_head f_blocks;
1: + unsigned int f_locks;
1: + unsigned int f_count;
1: + struct mutex f_mutex;
1: };
1:
1: struct nlm_wait {
1: - struct list_head b_list;
1: - wait_queue_head_t b_wait;
1: - struct nlm_host___2 *b_host;
1: - struct file_lock *b_lock;
1: - short unsigned int b_reclaim;
1: - __be32 b_status;
1: + struct list_head b_list;
1: + wait_queue_head_t b_wait;
1: + struct nlm_host___2 *b_host;
1: + struct file_lock *b_lock;
1: + short unsigned int b_reclaim;
1: + __be32 b_status;
1: };
1:
1: struct nlm_wait___2;
1:
1: struct nlm_reboot {
1: - char *mon;
1: - unsigned int len;
1: - u32 state;
1: - struct nsm_private priv;
1: + char *mon;
1: + unsigned int len;
1: + u32 state;
1: + struct nsm_private priv;
1: };
1:
1: struct lockd_net {
1: - unsigned int nlmsvc_users;
1: - long unsigned int next_gc;
1: - long unsigned int nrhosts;
1: - struct delayed_work grace_period_end;
1: - struct lock_manager lockd_manager;
1: - struct list_head nsm_handles;
1: + unsigned int nlmsvc_users;
1: + long unsigned int next_gc;
1: + long unsigned int nrhosts;
1: + struct delayed_work grace_period_end;
1: + struct lock_manager lockd_manager;
1: + struct list_head nsm_handles;
1: };
1:
1: struct nlm_lookup_host_info {
1: - const int server;
1: - const struct sockaddr *sap;
1: - const size_t salen;
1: - const short unsigned int protocol;
1: - const u32 version;
1: - const char *hostname;
1: - const size_t hostname_len;
1: - const int noresvport;
1: - struct net *net;
1: - const struct cred *cred;
1: + const int server;
1: + const struct sockaddr *sap;
1: + const size_t salen;
1: + const short unsigned int protocol;
1: + const u32 version;
1: + const char *hostname;
1: + const size_t hostname_len;
1: + const int noresvport;
1: + struct net *net;
1: + const struct cred *cred;
1: };
1:
1: struct ipv4_devconf {
1: - void *sysctl;
1: - int data[32];
1: - long unsigned int state[1];
1: + void *sysctl;
1: + int data[32];
1: + long unsigned int state[1];
1: };
1:
1: struct in_ifaddr;
1: @@ -49200,164 +49585,164 @@ struct in_ifaddr;
1: struct ip_mc_list;
1:
1: struct in_device {
1: - struct net_device *dev;
1: - refcount_t refcnt;
1: - int dead;
1: - struct in_ifaddr *ifa_list;
1: - struct ip_mc_list *mc_list;
1: - struct ip_mc_list **mc_hash;
1: - int mc_count;
1: - spinlock_t mc_tomb_lock;
1: - struct ip_mc_list *mc_tomb;
1: - long unsigned int mr_v1_seen;
1: - long unsigned int mr_v2_seen;
1: - long unsigned int mr_maxdelay;
1: - long unsigned int mr_qi;
1: - long unsigned int mr_qri;
1: - unsigned char mr_qrv;
1: - unsigned char mr_gq_running;
1: - unsigned char mr_ifc_count;
1: - struct timer_list mr_gq_timer;
1: - struct timer_list mr_ifc_timer;
1: - struct neigh_parms *arp_parms;
1: - struct ipv4_devconf cnf;
1: - struct callback_head callback_head;
1: + struct net_device *dev;
1: + refcount_t refcnt;
1: + int dead;
1: + struct in_ifaddr *ifa_list;
1: + struct ip_mc_list *mc_list;
1: + struct ip_mc_list **mc_hash;
1: + int mc_count;
1: + spinlock_t mc_tomb_lock;
1: + struct ip_mc_list *mc_tomb;
1: + long unsigned int mr_v1_seen;
1: + long unsigned int mr_v2_seen;
1: + long unsigned int mr_maxdelay;
1: + long unsigned int mr_qi;
1: + long unsigned int mr_qri;
1: + unsigned char mr_qrv;
1: + unsigned char mr_gq_running;
1: + unsigned char mr_ifc_count;
1: + struct timer_list mr_gq_timer;
1: + struct timer_list mr_ifc_timer;
1: + struct neigh_parms *arp_parms;
1: + struct ipv4_devconf cnf;
1: + struct callback_head callback_head;
1: };
1:
1: enum netdev_cmd {
1: - NETDEV_UP = 1,
1: - NETDEV_DOWN = 2,
1: - NETDEV_REBOOT = 3,
1: - NETDEV_CHANGE = 4,
1: - NETDEV_REGISTER = 5,
1: - NETDEV_UNREGISTER = 6,
1: - NETDEV_CHANGEMTU = 7,
1: - NETDEV_CHANGEADDR = 8,
1: - NETDEV_PRE_CHANGEADDR = 9,
1: - NETDEV_GOING_DOWN = 10,
1: - NETDEV_CHANGENAME = 11,
1: - NETDEV_FEAT_CHANGE = 12,
1: - NETDEV_BONDING_FAILOVER = 13,
1: - NETDEV_PRE_UP = 14,
1: - NETDEV_PRE_TYPE_CHANGE = 15,
1: - NETDEV_POST_TYPE_CHANGE = 16,
1: - NETDEV_POST_INIT = 17,
1: - NETDEV_RELEASE = 18,
1: - NETDEV_NOTIFY_PEERS = 19,
1: - NETDEV_JOIN = 20,
1: - NETDEV_CHANGEUPPER = 21,
1: - NETDEV_RESEND_IGMP = 22,
1: - NETDEV_PRECHANGEMTU = 23,
1: - NETDEV_CHANGEINFODATA = 24,
1: - NETDEV_BONDING_INFO = 25,
1: - NETDEV_PRECHANGEUPPER = 26,
1: - NETDEV_CHANGELOWERSTATE = 27,
1: - NETDEV_UDP_TUNNEL_PUSH_INFO = 28,
1: - NETDEV_UDP_TUNNEL_DROP_INFO = 29,
1: - NETDEV_CHANGE_TX_QUEUE_LEN = 30,
1: - NETDEV_CVLAN_FILTER_PUSH_INFO = 31,
1: - NETDEV_CVLAN_FILTER_DROP_INFO = 32,
1: - NETDEV_SVLAN_FILTER_PUSH_INFO = 33,
1: - NETDEV_SVLAN_FILTER_DROP_INFO = 34,
1: + NETDEV_UP = 1,
1: + NETDEV_DOWN = 2,
1: + NETDEV_REBOOT = 3,
1: + NETDEV_CHANGE = 4,
1: + NETDEV_REGISTER = 5,
1: + NETDEV_UNREGISTER = 6,
1: + NETDEV_CHANGEMTU = 7,
1: + NETDEV_CHANGEADDR = 8,
1: + NETDEV_PRE_CHANGEADDR = 9,
1: + NETDEV_GOING_DOWN = 10,
1: + NETDEV_CHANGENAME = 11,
1: + NETDEV_FEAT_CHANGE = 12,
1: + NETDEV_BONDING_FAILOVER = 13,
1: + NETDEV_PRE_UP = 14,
1: + NETDEV_PRE_TYPE_CHANGE = 15,
1: + NETDEV_POST_TYPE_CHANGE = 16,
1: + NETDEV_POST_INIT = 17,
1: + NETDEV_RELEASE = 18,
1: + NETDEV_NOTIFY_PEERS = 19,
1: + NETDEV_JOIN = 20,
1: + NETDEV_CHANGEUPPER = 21,
1: + NETDEV_RESEND_IGMP = 22,
1: + NETDEV_PRECHANGEMTU = 23,
1: + NETDEV_CHANGEINFODATA = 24,
1: + NETDEV_BONDING_INFO = 25,
1: + NETDEV_PRECHANGEUPPER = 26,
1: + NETDEV_CHANGELOWERSTATE = 27,
1: + NETDEV_UDP_TUNNEL_PUSH_INFO = 28,
1: + NETDEV_UDP_TUNNEL_DROP_INFO = 29,
1: + NETDEV_CHANGE_TX_QUEUE_LEN = 30,
1: + NETDEV_CVLAN_FILTER_PUSH_INFO = 31,
1: + NETDEV_CVLAN_FILTER_DROP_INFO = 32,
1: + NETDEV_SVLAN_FILTER_PUSH_INFO = 33,
1: + NETDEV_SVLAN_FILTER_DROP_INFO = 34,
1: };
1:
1: struct in_ifaddr {
1: - struct hlist_node hash;
1: - struct in_ifaddr *ifa_next;
1: - struct in_device *ifa_dev;
1: - struct callback_head callback_head;
1: - __be32 ifa_local;
1: - __be32 ifa_address;
1: - __be32 ifa_mask;
1: - __u32 ifa_rt_priority;
1: - __be32 ifa_broadcast;
1: - unsigned char ifa_scope;
1: - unsigned char ifa_prefixlen;
1: - __u32 ifa_flags;
1: - char ifa_label[16];
1: - __u32 ifa_valid_lft;
1: - __u32 ifa_preferred_lft;
1: - long unsigned int ifa_cstamp;
1: - long unsigned int ifa_tstamp;
1: + struct hlist_node hash;
1: + struct in_ifaddr *ifa_next;
1: + struct in_device *ifa_dev;
1: + struct callback_head callback_head;
1: + __be32 ifa_local;
1: + __be32 ifa_address;
1: + __be32 ifa_mask;
1: + __u32 ifa_rt_priority;
1: + __be32 ifa_broadcast;
1: + unsigned char ifa_scope;
1: + unsigned char ifa_prefixlen;
1: + __u32 ifa_flags;
1: + char ifa_label[16];
1: + __u32 ifa_valid_lft;
1: + __u32 ifa_preferred_lft;
1: + long unsigned int ifa_cstamp;
1: + long unsigned int ifa_tstamp;
1: };
1:
1: struct inet6_ifaddr {
1: - struct in6_addr addr;
1: - __u32 prefix_len;
1: - __u32 rt_priority;
1: - __u32 valid_lft;
1: - __u32 prefered_lft;
1: - refcount_t refcnt;
1: - spinlock_t lock;
1: - int state;
1: - __u32 flags;
1: - __u8 dad_probes;
1: - __u8 stable_privacy_retry;
1: - __u16 scope;
1: - __u64 dad_nonce;
1: - long unsigned int cstamp;
1: - long unsigned int tstamp;
1: - struct delayed_work dad_work;
1: - struct inet6_dev *idev;
1: - struct fib6_info *rt;
1: - struct hlist_node addr_lst;
1: - struct list_head if_list;
1: - struct list_head tmp_list;
1: - struct inet6_ifaddr *ifpub;
1: - int regen_count;
1: - bool tokenized;
1: - struct callback_head rcu;
1: - struct in6_addr peer_addr;
1: + struct in6_addr addr;
1: + __u32 prefix_len;
1: + __u32 rt_priority;
1: + __u32 valid_lft;
1: + __u32 prefered_lft;
1: + refcount_t refcnt;
1: + spinlock_t lock;
1: + int state;
1: + __u32 flags;
1: + __u8 dad_probes;
1: + __u8 stable_privacy_retry;
1: + __u16 scope;
1: + __u64 dad_nonce;
1: + long unsigned int cstamp;
1: + long unsigned int tstamp;
1: + struct delayed_work dad_work;
1: + struct inet6_dev *idev;
1: + struct fib6_info *rt;
1: + struct hlist_node addr_lst;
1: + struct list_head if_list;
1: + struct list_head tmp_list;
1: + struct inet6_ifaddr *ifpub;
1: + int regen_count;
1: + bool tokenized;
1: + struct callback_head rcu;
1: + struct in6_addr peer_addr;
1: };
1:
1: struct nlmsvc_binding {
1: - __be32 (*fopen)(struct svc_rqst *, struct nfs_fh *, struct file **);
1: - void (*fclose)(struct file *);
1: + __be32 (*fopen)(struct svc_rqst *, struct nfs_fh *, struct file **);
1: + void (*fclose)(struct file *);
1: };
1:
1: typedef int (*nlm_host_match_fn_t)(void *, struct nlm_host___2 *);
1:
1: struct nlm_share {
1: - struct nlm_share *s_next;
1: - struct nlm_host___2 *s_host;
1: - struct nlm_file *s_file;
1: - struct xdr_netobj s_owner;
1: - u32 s_access;
1: - u32 s_mode;
1: + struct nlm_share *s_next;
1: + struct nlm_host___2 *s_host;
1: + struct nlm_file *s_file;
1: + struct xdr_netobj s_owner;
1: + u32 s_access;
1: + u32 s_mode;
1: };
1:
1: enum {
1: - NSMPROC_NULL = 0,
1: - NSMPROC_STAT = 1,
1: - NSMPROC_MON = 2,
1: - NSMPROC_UNMON = 3,
1: - NSMPROC_UNMON_ALL = 4,
1: - NSMPROC_SIMU_CRASH = 5,
1: - NSMPROC_NOTIFY = 6,
1: + NSMPROC_NULL = 0,
1: + NSMPROC_STAT = 1,
1: + NSMPROC_MON = 2,
1: + NSMPROC_UNMON = 3,
1: + NSMPROC_UNMON_ALL = 4,
1: + NSMPROC_SIMU_CRASH = 5,
1: + NSMPROC_NOTIFY = 6,
1: };
1:
1: struct nsm_args {
1: - struct nsm_private *priv;
1: - u32 prog;
1: - u32 vers;
1: - u32 proc;
1: - char *mon_name;
1: - const char *nodename;
1: + struct nsm_private *priv;
1: + u32 prog;
1: + u32 vers;
1: + u32 proc;
1: + char *mon_name;
1: + const char *nodename;
1: };
1:
1: struct nsm_res {
1: - u32 status;
1: - u32 state;
1: + u32 status;
1: + u32 state;
1: };
1:
1: typedef u32 unicode_t;
1:
1: struct utf8_table {
1: - int cmask;
1: - int cval;
1: - int shift;
1: - long int lmask;
1: - long int lval;
1: + int cmask;
1: + int cval;
1: + int shift;
1: + long int lmask;
1: + long int lval;
1: };
1:
1: typedef unsigned int autofs_wqt_t;
1: @@ -49365,139 +49750,139 @@ typedef unsigned int autofs_wqt_t;
1: struct autofs_sb_info;
1:
1: struct autofs_info {
1: - struct dentry *dentry;
1: - struct inode *inode;
1: - int flags;
1: - struct completion expire_complete;
1: - struct list_head active;
1: - struct list_head expiring;
1: - struct autofs_sb_info *sbi;
1: - long unsigned int last_used;
1: - int count;
1: - kuid_t uid;
1: - kgid_t gid;
1: - struct callback_head rcu;
1: + struct dentry *dentry;
1: + struct inode *inode;
1: + int flags;
1: + struct completion expire_complete;
1: + struct list_head active;
1: + struct list_head expiring;
1: + struct autofs_sb_info *sbi;
1: + long unsigned int last_used;
1: + int count;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct callback_head rcu;
1: };
1:
1: struct autofs_wait_queue;
1:
1: struct autofs_sb_info {
1: - u32 magic;
1: - int pipefd;
1: - struct file *pipe;
1: - struct pid *oz_pgrp;
1: - int version;
1: - int sub_version;
1: - int min_proto;
1: - int max_proto;
1: - unsigned int flags;
1: - long unsigned int exp_timeout;
1: - unsigned int type;
1: - struct super_block *sb;
1: - struct mutex wq_mutex;
1: - struct mutex pipe_mutex;
1: - spinlock_t fs_lock;
1: - struct autofs_wait_queue *queues;
1: - spinlock_t lookup_lock;
1: - struct list_head active_list;
1: - struct list_head expiring_list;
1: - struct callback_head rcu;
1: + u32 magic;
1: + int pipefd;
1: + struct file *pipe;
1: + struct pid *oz_pgrp;
1: + int version;
1: + int sub_version;
1: + int min_proto;
1: + int max_proto;
1: + unsigned int flags;
1: + long unsigned int exp_timeout;
1: + unsigned int type;
1: + struct super_block *sb;
1: + struct mutex wq_mutex;
1: + struct mutex pipe_mutex;
1: + spinlock_t fs_lock;
1: + struct autofs_wait_queue *queues;
1: + spinlock_t lookup_lock;
1: + struct list_head active_list;
1: + struct list_head expiring_list;
1: + struct callback_head rcu;
1: };
1:
1: struct autofs_wait_queue {
1: - wait_queue_head_t queue;
1: - struct autofs_wait_queue *next;
1: - autofs_wqt_t wait_queue_token;
1: - struct qstr name;
1: - u32 dev;
1: - u64 ino;
1: - kuid_t uid;
1: - kgid_t gid;
1: - pid_t pid;
1: - pid_t tgid;
1: - int status;
1: - unsigned int wait_ctr;
1: -};
1: -
1: -enum {
1: - Opt_err___6 = 0,
1: - Opt_fd = 1,
1: - Opt_uid___6 = 2,
1: - Opt_gid___7 = 3,
1: - Opt_pgrp = 4,
1: - Opt_minproto = 5,
1: - Opt_maxproto = 6,
1: - Opt_indirect = 7,
1: - Opt_direct = 8,
1: - Opt_offset = 9,
1: - Opt_strictexpire = 10,
1: - Opt_ignore___2 = 11,
1: + wait_queue_head_t queue;
1: + struct autofs_wait_queue *next;
1: + autofs_wqt_t wait_queue_token;
1: + struct qstr name;
1: + u32 dev;
1: + u64 ino;
1: + kuid_t uid;
1: + kgid_t gid;
1: + pid_t pid;
1: + pid_t tgid;
1: + int status;
1: + unsigned int wait_ctr;
1: +};
1: +
1: +enum {
1: + Opt_err___6 = 0,
1: + Opt_fd = 1,
1: + Opt_uid___6 = 2,
1: + Opt_gid___7 = 3,
1: + Opt_pgrp = 4,
1: + Opt_minproto = 5,
1: + Opt_maxproto = 6,
1: + Opt_indirect = 7,
1: + Opt_direct = 8,
1: + Opt_offset = 9,
1: + Opt_strictexpire = 10,
1: + Opt_ignore___2 = 11,
1: };
1:
1: struct autofs_packet_hdr {
1: - int proto_version;
1: - int type;
1: + int proto_version;
1: + int type;
1: };
1:
1: struct autofs_packet_expire {
1: - struct autofs_packet_hdr hdr;
1: - int len;
1: - char name[256];
1: + struct autofs_packet_hdr hdr;
1: + int len;
1: + char name[256];
1: };
1:
1: enum {
1: - AUTOFS_IOC_READY_CMD = 96,
1: - AUTOFS_IOC_FAIL_CMD = 97,
1: - AUTOFS_IOC_CATATONIC_CMD = 98,
1: - AUTOFS_IOC_PROTOVER_CMD = 99,
1: - AUTOFS_IOC_SETTIMEOUT_CMD = 100,
1: - AUTOFS_IOC_EXPIRE_CMD = 101,
1: + AUTOFS_IOC_READY_CMD = 96,
1: + AUTOFS_IOC_FAIL_CMD = 97,
1: + AUTOFS_IOC_CATATONIC_CMD = 98,
1: + AUTOFS_IOC_PROTOVER_CMD = 99,
1: + AUTOFS_IOC_SETTIMEOUT_CMD = 100,
1: + AUTOFS_IOC_EXPIRE_CMD = 101,
1: };
1:
1: enum autofs_notify {
1: - NFY_NONE = 0,
1: - NFY_MOUNT = 1,
1: - NFY_EXPIRE = 2,
1: + NFY_NONE = 0,
1: + NFY_MOUNT = 1,
1: + NFY_EXPIRE = 2,
1: };
1:
1: enum {
1: - AUTOFS_IOC_EXPIRE_MULTI_CMD = 102,
1: - AUTOFS_IOC_PROTOSUBVER_CMD = 103,
1: - AUTOFS_IOC_ASKUMOUNT_CMD = 112,
1: + AUTOFS_IOC_EXPIRE_MULTI_CMD = 102,
1: + AUTOFS_IOC_PROTOSUBVER_CMD = 103,
1: + AUTOFS_IOC_ASKUMOUNT_CMD = 112,
1: };
1:
1: struct autofs_packet_missing {
1: - struct autofs_packet_hdr hdr;
1: - autofs_wqt_t wait_queue_token;
1: - int len;
1: - char name[256];
1: + struct autofs_packet_hdr hdr;
1: + autofs_wqt_t wait_queue_token;
1: + int len;
1: + char name[256];
1: };
1:
1: struct autofs_packet_expire_multi {
1: - struct autofs_packet_hdr hdr;
1: - autofs_wqt_t wait_queue_token;
1: - int len;
1: - char name[256];
1: + struct autofs_packet_hdr hdr;
1: + autofs_wqt_t wait_queue_token;
1: + int len;
1: + char name[256];
1: };
1:
1: union autofs_packet_union {
1: - struct autofs_packet_hdr hdr;
1: - struct autofs_packet_missing missing;
1: - struct autofs_packet_expire expire;
1: - struct autofs_packet_expire_multi expire_multi;
1: + struct autofs_packet_hdr hdr;
1: + struct autofs_packet_missing missing;
1: + struct autofs_packet_expire expire;
1: + struct autofs_packet_expire_multi expire_multi;
1: };
1:
1: struct autofs_v5_packet {
1: - struct autofs_packet_hdr hdr;
1: - autofs_wqt_t wait_queue_token;
1: - __u32 dev;
1: - __u64 ino;
1: - __u32 uid;
1: - __u32 gid;
1: - __u32 pid;
1: - __u32 tgid;
1: - __u32 len;
1: - char name[256];
1: + struct autofs_packet_hdr hdr;
1: + autofs_wqt_t wait_queue_token;
1: + __u32 dev;
1: + __u64 ino;
1: + __u32 uid;
1: + __u32 gid;
1: + __u32 pid;
1: + __u32 tgid;
1: + __u32 len;
1: + char name[256];
1: };
1:
1: typedef struct autofs_v5_packet autofs_packet_missing_indirect_t;
1: @@ -49509,185 +49894,186 @@ typedef struct autofs_v5_packet autofs_packet_missing_direct_t;
1: typedef struct autofs_v5_packet autofs_packet_expire_direct_t;
1:
1: union autofs_v5_packet_union {
1: - struct autofs_packet_hdr hdr;
1: - struct autofs_v5_packet v5_packet;
1: - autofs_packet_missing_indirect_t missing_indirect;
1: - autofs_packet_expire_indirect_t expire_indirect;
1: - autofs_packet_missing_direct_t missing_direct;
1: - autofs_packet_expire_direct_t expire_direct;
1: + struct autofs_packet_hdr hdr;
1: + struct autofs_v5_packet v5_packet;
1: + autofs_packet_missing_indirect_t missing_indirect;
1: + autofs_packet_expire_indirect_t expire_indirect;
1: + autofs_packet_missing_direct_t missing_direct;
1: + autofs_packet_expire_direct_t expire_direct;
1: };
1:
1: struct args_protover {
1: - __u32 version;
1: + __u32 version;
1: };
1:
1: struct args_protosubver {
1: - __u32 sub_version;
1: + __u32 sub_version;
1: };
1:
1: struct args_openmount {
1: - __u32 devid;
1: + __u32 devid;
1: };
1:
1: struct args_ready {
1: - __u32 token;
1: + __u32 token;
1: };
1:
1: struct args_fail {
1: - __u32 token;
1: - __s32 status;
1: + __u32 token;
1: + __s32 status;
1: };
1:
1: struct args_setpipefd {
1: - __s32 pipefd;
1: + __s32 pipefd;
1: };
1:
1: struct args_timeout {
1: - __u64 timeout;
1: + __u64 timeout;
1: };
1:
1: struct args_requester {
1: - __u32 uid;
1: - __u32 gid;
1: + __u32 uid;
1: + __u32 gid;
1: };
1:
1: struct args_expire {
1: - __u32 how;
1: + __u32 how;
1: };
1:
1: struct args_askumount {
1: - __u32 may_umount;
1: + __u32 may_umount;
1: };
1:
1: struct args_in {
1: - __u32 type;
1: + __u32 type;
1: };
1:
1: struct args_out {
1: - __u32 devid;
1: - __u32 magic;
1: + __u32 devid;
1: + __u32 magic;
1: };
1:
1: struct args_ismountpoint {
1: - union {
1: - struct args_in in;
1: - struct args_out out;
1: - };
1: + union {
1: + struct args_in in;
1: + struct args_out out;
1: + };
1: };
1:
1: struct autofs_dev_ioctl {
1: - __u32 ver_major;
1: - __u32 ver_minor;
1: - __u32 size;
1: - __s32 ioctlfd;
1: - union {
1: - struct args_protover protover;
1: - struct args_protosubver protosubver;
1: - struct args_openmount openmount;
1: - struct args_ready ready;
1: - struct args_fail fail;
1: - struct args_setpipefd setpipefd;
1: - struct args_timeout timeout;
1: - struct args_requester requester;
1: - struct args_expire expire;
1: - struct args_askumount askumount;
1: - struct args_ismountpoint ismountpoint;
1: - };
1: - char path[0];
1: -};
1: -
1: -enum {
1: - AUTOFS_DEV_IOCTL_VERSION_CMD = 113,
1: - AUTOFS_DEV_IOCTL_PROTOVER_CMD = 114,
1: - AUTOFS_DEV_IOCTL_PROTOSUBVER_CMD = 115,
1: - AUTOFS_DEV_IOCTL_OPENMOUNT_CMD = 116,
1: - AUTOFS_DEV_IOCTL_CLOSEMOUNT_CMD = 117,
1: - AUTOFS_DEV_IOCTL_READY_CMD = 118,
1: - AUTOFS_DEV_IOCTL_FAIL_CMD = 119,
1: - AUTOFS_DEV_IOCTL_SETPIPEFD_CMD = 120,
1: - AUTOFS_DEV_IOCTL_CATATONIC_CMD = 121,
1: - AUTOFS_DEV_IOCTL_TIMEOUT_CMD = 122,
1: - AUTOFS_DEV_IOCTL_REQUESTER_CMD = 123,
1: - AUTOFS_DEV_IOCTL_EXPIRE_CMD = 124,
1: - AUTOFS_DEV_IOCTL_ASKUMOUNT_CMD = 125,
1: - AUTOFS_DEV_IOCTL_ISMOUNTPOINT_CMD = 126,
1: -};
1: -
1: -typedef int (*ioctl_fn)(struct file *, struct autofs_sb_info *, struct autofs_dev_ioctl *);
1: + __u32 ver_major;
1: + __u32 ver_minor;
1: + __u32 size;
1: + __s32 ioctlfd;
1: + union {
1: + struct args_protover protover;
1: + struct args_protosubver protosubver;
1: + struct args_openmount openmount;
1: + struct args_ready ready;
1: + struct args_fail fail;
1: + struct args_setpipefd setpipefd;
1: + struct args_timeout timeout;
1: + struct args_requester requester;
1: + struct args_expire expire;
1: + struct args_askumount askumount;
1: + struct args_ismountpoint ismountpoint;
1: + };
1: + char path[0];
1: +};
1: +
1: +enum {
1: + AUTOFS_DEV_IOCTL_VERSION_CMD = 113,
1: + AUTOFS_DEV_IOCTL_PROTOVER_CMD = 114,
1: + AUTOFS_DEV_IOCTL_PROTOSUBVER_CMD = 115,
1: + AUTOFS_DEV_IOCTL_OPENMOUNT_CMD = 116,
1: + AUTOFS_DEV_IOCTL_CLOSEMOUNT_CMD = 117,
1: + AUTOFS_DEV_IOCTL_READY_CMD = 118,
1: + AUTOFS_DEV_IOCTL_FAIL_CMD = 119,
1: + AUTOFS_DEV_IOCTL_SETPIPEFD_CMD = 120,
1: + AUTOFS_DEV_IOCTL_CATATONIC_CMD = 121,
1: + AUTOFS_DEV_IOCTL_TIMEOUT_CMD = 122,
1: + AUTOFS_DEV_IOCTL_REQUESTER_CMD = 123,
1: + AUTOFS_DEV_IOCTL_EXPIRE_CMD = 124,
1: + AUTOFS_DEV_IOCTL_ASKUMOUNT_CMD = 125,
1: + AUTOFS_DEV_IOCTL_ISMOUNTPOINT_CMD = 126,
1: +};
1: +
1: +typedef int (*ioctl_fn)(struct file *, struct autofs_sb_info *,
1: + struct autofs_dev_ioctl *);
1:
1: struct debugfs_fsdata {
1: - const struct file_operations *real_fops;
1: - refcount_t active_users;
1: - struct completion active_users_drained;
1: + const struct file_operations *real_fops;
1: + refcount_t active_users;
1: + struct completion active_users_drained;
1: };
1:
1: struct debugfs_mount_opts {
1: - kuid_t uid;
1: - kgid_t gid;
1: - umode_t mode;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: };
1:
1: enum {
1: - Opt_uid___7 = 0,
1: - Opt_gid___8 = 1,
1: - Opt_mode___6 = 2,
1: - Opt_err___7 = 3,
1: + Opt_uid___7 = 0,
1: + Opt_gid___8 = 1,
1: + Opt_mode___6 = 2,
1: + Opt_err___7 = 3,
1: };
1:
1: struct debugfs_fs_info {
1: - struct debugfs_mount_opts mount_opts;
1: + struct debugfs_mount_opts mount_opts;
1: };
1:
1: struct debugfs_reg32 {
1: - char *name;
1: - long unsigned int offset;
1: + char *name;
1: + long unsigned int offset;
1: };
1:
1: struct debugfs_regset32 {
1: - const struct debugfs_reg32 *regs;
1: - int nregs;
1: - void *base;
1: + const struct debugfs_reg32 *regs;
1: + int nregs;
1: + void *base;
1: };
1:
1: struct array_data {
1: - void *array;
1: - u32 elements;
1: + void *array;
1: + u32 elements;
1: };
1:
1: struct debugfs_devm_entry {
1: - int (*read)(struct seq_file *, void *);
1: - struct device *dev;
1: + int (*read)(struct seq_file *, void *);
1: + struct device *dev;
1: };
1:
1: struct tracefs_dir_ops {
1: - int (*mkdir)(const char *);
1: - int (*rmdir)(const char *);
1: + int (*mkdir)(const char *);
1: + int (*rmdir)(const char *);
1: };
1:
1: struct tracefs_mount_opts {
1: - kuid_t uid;
1: - kgid_t gid;
1: - umode_t mode;
1: + kuid_t uid;
1: + kgid_t gid;
1: + umode_t mode;
1: };
1:
1: struct tracefs_fs_info {
1: - struct tracefs_mount_opts mount_opts;
1: + struct tracefs_mount_opts mount_opts;
1: };
1:
1: typedef unsigned int __kernel_mode_t;
1:
1: struct ipc64_perm {
1: - __kernel_key_t key;
1: - __kernel_uid32_t uid;
1: - __kernel_gid32_t gid;
1: - __kernel_uid32_t cuid;
1: - __kernel_gid32_t cgid;
1: - __kernel_mode_t mode;
1: - unsigned char __pad1[0];
1: - short unsigned int seq;
1: - short unsigned int __pad2;
1: - __kernel_ulong_t __unused1;
1: - __kernel_ulong_t __unused2;
1: + __kernel_key_t key;
1: + __kernel_uid32_t uid;
1: + __kernel_gid32_t gid;
1: + __kernel_uid32_t cuid;
1: + __kernel_gid32_t cgid;
1: + __kernel_mode_t mode;
1: + unsigned char __pad1[0];
1: + short unsigned int seq;
1: + short unsigned int __pad2;
1: + __kernel_ulong_t __unused1;
1: + __kernel_ulong_t __unused2;
1: };
1:
1: typedef s32 compat_key_t;
1: @@ -49695,206 +50081,206 @@ typedef s32 compat_key_t;
1: typedef u32 __compat_gid32_t;
1:
1: struct compat_ipc64_perm {
1: - compat_key_t key;
1: - __compat_uid32_t uid;
1: - __compat_gid32_t gid;
1: - __compat_uid32_t cuid;
1: - __compat_gid32_t cgid;
1: - short unsigned int mode;
1: - short unsigned int __pad1;
1: - short unsigned int seq;
1: - short unsigned int __pad2;
1: - compat_ulong_t unused1;
1: - compat_ulong_t unused2;
1: + compat_key_t key;
1: + __compat_uid32_t uid;
1: + __compat_gid32_t gid;
1: + __compat_uid32_t cuid;
1: + __compat_gid32_t cgid;
1: + short unsigned int mode;
1: + short unsigned int __pad1;
1: + short unsigned int seq;
1: + short unsigned int __pad2;
1: + compat_ulong_t unused1;
1: + compat_ulong_t unused2;
1: };
1:
1: struct compat_ipc_perm {
1: - key_t key;
1: - __compat_uid_t uid;
1: - __compat_gid_t gid;
1: - __compat_uid_t cuid;
1: - __compat_gid_t cgid;
1: - compat_mode_t mode;
1: - short unsigned int seq;
1: + key_t key;
1: + __compat_uid_t uid;
1: + __compat_gid_t gid;
1: + __compat_uid_t cuid;
1: + __compat_gid_t cgid;
1: + compat_mode_t mode;
1: + short unsigned int seq;
1: };
1:
1: struct rhlist_head {
1: - struct rhash_head rhead;
1: - struct rhlist_head *next;
1: + struct rhash_head rhead;
1: + struct rhlist_head *next;
1: };
1:
1: struct ipc_perm {
1: - __kernel_key_t key;
1: - __kernel_uid_t uid;
1: - __kernel_gid_t gid;
1: - __kernel_uid_t cuid;
1: - __kernel_gid_t cgid;
1: - __kernel_mode_t mode;
1: - short unsigned int seq;
1: + __kernel_key_t key;
1: + __kernel_uid_t uid;
1: + __kernel_gid_t gid;
1: + __kernel_uid_t cuid;
1: + __kernel_gid_t cgid;
1: + __kernel_mode_t mode;
1: + short unsigned int seq;
1: };
1:
1: struct ipc_params {
1: - key_t key;
1: - int flg;
1: - union {
1: - size_t size;
1: - int nsems;
1: - } u;
1: + key_t key;
1: + int flg;
1: + union {
1: + size_t size;
1: + int nsems;
1: + } u;
1: };
1:
1: struct ipc_ops {
1: - int (*getnew)(struct ipc_namespace *, struct ipc_params *);
1: - int (*associate)(struct kern_ipc_perm *, int);
1: - int (*more_checks)(struct kern_ipc_perm *, struct ipc_params *);
1: + int (*getnew)(struct ipc_namespace *, struct ipc_params *);
1: + int (*associate)(struct kern_ipc_perm *, int);
1: + int (*more_checks)(struct kern_ipc_perm *, struct ipc_params *);
1: };
1:
1: struct ipc_proc_iface {
1: - const char *path;
1: - const char *header;
1: - int ids;
1: - int (*show)(struct seq_file *, void *);
1: + const char *path;
1: + const char *header;
1: + int ids;
1: + int (*show)(struct seq_file *, void *);
1: };
1:
1: struct ipc_proc_iter {
1: - struct ipc_namespace *ns;
1: - struct pid_namespace *pid_ns;
1: - struct ipc_proc_iface *iface;
1: + struct ipc_namespace *ns;
1: + struct pid_namespace *pid_ns;
1: + struct ipc_proc_iface *iface;
1: };
1:
1: struct msg_msgseg;
1:
1: struct msg_msg {
1: - struct list_head m_list;
1: - long int m_type;
1: - size_t m_ts;
1: - struct msg_msgseg *next;
1: - void *security;
1: + struct list_head m_list;
1: + long int m_type;
1: + size_t m_ts;
1: + struct msg_msgseg *next;
1: + void *security;
1: };
1:
1: struct msg_msgseg {
1: - struct msg_msgseg *next;
1: + struct msg_msgseg *next;
1: };
1:
1: typedef int __kernel_ipc_pid_t;
1:
1: struct msgbuf {
1: - __kernel_long_t mtype;
1: - char mtext[1];
1: + __kernel_long_t mtype;
1: + char mtext[1];
1: };
1:
1: struct msg;
1:
1: struct msqid_ds {
1: - struct ipc_perm msg_perm;
1: - struct msg *msg_first;
1: - struct msg *msg_last;
1: - __kernel_old_time_t msg_stime;
1: - __kernel_old_time_t msg_rtime;
1: - __kernel_old_time_t msg_ctime;
1: - long unsigned int msg_lcbytes;
1: - long unsigned int msg_lqbytes;
1: - short unsigned int msg_cbytes;
1: - short unsigned int msg_qnum;
1: - short unsigned int msg_qbytes;
1: - __kernel_ipc_pid_t msg_lspid;
1: - __kernel_ipc_pid_t msg_lrpid;
1: + struct ipc_perm msg_perm;
1: + struct msg *msg_first;
1: + struct msg *msg_last;
1: + __kernel_old_time_t msg_stime;
1: + __kernel_old_time_t msg_rtime;
1: + __kernel_old_time_t msg_ctime;
1: + long unsigned int msg_lcbytes;
1: + long unsigned int msg_lqbytes;
1: + short unsigned int msg_cbytes;
1: + short unsigned int msg_qnum;
1: + short unsigned int msg_qbytes;
1: + __kernel_ipc_pid_t msg_lspid;
1: + __kernel_ipc_pid_t msg_lrpid;
1: };
1:
1: struct msqid64_ds {
1: - struct ipc64_perm msg_perm;
1: - long int msg_stime;
1: - long int msg_rtime;
1: - long int msg_ctime;
1: - long unsigned int msg_cbytes;
1: - long unsigned int msg_qnum;
1: - long unsigned int msg_qbytes;
1: - __kernel_pid_t msg_lspid;
1: - __kernel_pid_t msg_lrpid;
1: - long unsigned int __unused4;
1: - long unsigned int __unused5;
1: + struct ipc64_perm msg_perm;
1: + long int msg_stime;
1: + long int msg_rtime;
1: + long int msg_ctime;
1: + long unsigned int msg_cbytes;
1: + long unsigned int msg_qnum;
1: + long unsigned int msg_qbytes;
1: + __kernel_pid_t msg_lspid;
1: + __kernel_pid_t msg_lrpid;
1: + long unsigned int __unused4;
1: + long unsigned int __unused5;
1: };
1:
1: struct msginfo {
1: - int msgpool;
1: - int msgmap;
1: - int msgmax;
1: - int msgmnb;
1: - int msgmni;
1: - int msgssz;
1: - int msgtql;
1: - short unsigned int msgseg;
1: + int msgpool;
1: + int msgmap;
1: + int msgmax;
1: + int msgmnb;
1: + int msgmni;
1: + int msgssz;
1: + int msgtql;
1: + short unsigned int msgseg;
1: };
1:
1: typedef u16 compat_ipc_pid_t;
1:
1: struct compat_msqid64_ds {
1: - struct compat_ipc64_perm msg_perm;
1: - compat_ulong_t msg_stime;
1: - compat_ulong_t msg_stime_high;
1: - compat_ulong_t msg_rtime;
1: - compat_ulong_t msg_rtime_high;
1: - compat_ulong_t msg_ctime;
1: - compat_ulong_t msg_ctime_high;
1: - compat_ulong_t msg_cbytes;
1: - compat_ulong_t msg_qnum;
1: - compat_ulong_t msg_qbytes;
1: - compat_pid_t msg_lspid;
1: - compat_pid_t msg_lrpid;
1: - compat_ulong_t __unused4;
1: - compat_ulong_t __unused5;
1: + struct compat_ipc64_perm msg_perm;
1: + compat_ulong_t msg_stime;
1: + compat_ulong_t msg_stime_high;
1: + compat_ulong_t msg_rtime;
1: + compat_ulong_t msg_rtime_high;
1: + compat_ulong_t msg_ctime;
1: + compat_ulong_t msg_ctime_high;
1: + compat_ulong_t msg_cbytes;
1: + compat_ulong_t msg_qnum;
1: + compat_ulong_t msg_qbytes;
1: + compat_pid_t msg_lspid;
1: + compat_pid_t msg_lrpid;
1: + compat_ulong_t __unused4;
1: + compat_ulong_t __unused5;
1: };
1:
1: struct msg_queue {
1: - struct kern_ipc_perm q_perm;
1: - time64_t q_stime;
1: - time64_t q_rtime;
1: - time64_t q_ctime;
1: - long unsigned int q_cbytes;
1: - long unsigned int q_qnum;
1: - long unsigned int q_qbytes;
1: - struct pid *q_lspid;
1: - struct pid *q_lrpid;
1: - struct list_head q_messages;
1: - struct list_head q_receivers;
1: - struct list_head q_senders;
1: - long: 64;
1: - long: 64;
1: + struct kern_ipc_perm q_perm;
1: + time64_t q_stime;
1: + time64_t q_rtime;
1: + time64_t q_ctime;
1: + long unsigned int q_cbytes;
1: + long unsigned int q_qnum;
1: + long unsigned int q_qbytes;
1: + struct pid *q_lspid;
1: + struct pid *q_lrpid;
1: + struct list_head q_messages;
1: + struct list_head q_receivers;
1: + struct list_head q_senders;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct msg_receiver {
1: - struct list_head r_list;
1: - struct task_struct *r_tsk;
1: - int r_mode;
1: - long int r_msgtype;
1: - long int r_maxsize;
1: - struct msg_msg *r_msg;
1: + struct list_head r_list;
1: + struct task_struct *r_tsk;
1: + int r_mode;
1: + long int r_msgtype;
1: + long int r_maxsize;
1: + struct msg_msg *r_msg;
1: };
1:
1: struct msg_sender {
1: - struct list_head list;
1: - struct task_struct *tsk;
1: - size_t msgsz;
1: + struct list_head list;
1: + struct task_struct *tsk;
1: + size_t msgsz;
1: };
1:
1: struct compat_msqid_ds {
1: - struct compat_ipc_perm msg_perm;
1: - compat_uptr_t msg_first;
1: - compat_uptr_t msg_last;
1: - old_time32_t msg_stime;
1: - old_time32_t msg_rtime;
1: - old_time32_t msg_ctime;
1: - compat_ulong_t msg_lcbytes;
1: - compat_ulong_t msg_lqbytes;
1: - short unsigned int msg_cbytes;
1: - short unsigned int msg_qnum;
1: - short unsigned int msg_qbytes;
1: - compat_ipc_pid_t msg_lspid;
1: - compat_ipc_pid_t msg_lrpid;
1: + struct compat_ipc_perm msg_perm;
1: + compat_uptr_t msg_first;
1: + compat_uptr_t msg_last;
1: + old_time32_t msg_stime;
1: + old_time32_t msg_rtime;
1: + old_time32_t msg_ctime;
1: + compat_ulong_t msg_lcbytes;
1: + compat_ulong_t msg_lqbytes;
1: + short unsigned int msg_cbytes;
1: + short unsigned int msg_qnum;
1: + short unsigned int msg_qbytes;
1: + compat_ipc_pid_t msg_lspid;
1: + compat_ipc_pid_t msg_lrpid;
1: };
1:
1: struct compat_msgbuf {
1: - compat_long_t mtype;
1: - char mtext[1];
1: + compat_long_t mtype;
1: + char mtext[1];
1: };
1:
1: struct sem;
1: @@ -49904,1044 +50290,1066 @@ struct sem_queue;
1: struct sem_undo;
1:
1: struct semid_ds {
1: - struct ipc_perm sem_perm;
1: - __kernel_old_time_t sem_otime;
1: - __kernel_old_time_t sem_ctime;
1: - struct sem *sem_base;
1: - struct sem_queue *sem_pending;
1: - struct sem_queue **sem_pending_last;
1: - struct sem_undo *undo;
1: - short unsigned int sem_nsems;
1: + struct ipc_perm sem_perm;
1: + __kernel_old_time_t sem_otime;
1: + __kernel_old_time_t sem_ctime;
1: + struct sem *sem_base;
1: + struct sem_queue *sem_pending;
1: + struct sem_queue **sem_pending_last;
1: + struct sem_undo *undo;
1: + short unsigned int sem_nsems;
1: };
1:
1: struct sem {
1: - int semval;
1: - struct pid *sempid;
1: - spinlock_t lock;
1: - struct list_head pending_alter;
1: - struct list_head pending_const;
1: - time64_t sem_otime;
1: + int semval;
1: + struct pid *sempid;
1: + spinlock_t lock;
1: + struct list_head pending_alter;
1: + struct list_head pending_const;
1: + time64_t sem_otime;
1: };
1:
1: struct sembuf;
1:
1: struct sem_queue {
1: - struct list_head list;
1: - struct task_struct *sleeper;
1: - struct sem_undo *undo;
1: - struct pid *pid;
1: - int status;
1: - struct sembuf *sops;
1: - struct sembuf *blocking;
1: - int nsops;
1: - bool alter;
1: - bool dupsop;
1: + struct list_head list;
1: + struct task_struct *sleeper;
1: + struct sem_undo *undo;
1: + struct pid *pid;
1: + int status;
1: + struct sembuf *sops;
1: + struct sembuf *blocking;
1: + int nsops;
1: + bool alter;
1: + bool dupsop;
1: };
1:
1: struct sem_undo {
1: - struct list_head list_proc;
1: - struct callback_head rcu;
1: - struct sem_undo_list *ulp;
1: - struct list_head list_id;
1: - int semid;
1: - short int *semadj;
1: + struct list_head list_proc;
1: + struct callback_head rcu;
1: + struct sem_undo_list *ulp;
1: + struct list_head list_id;
1: + int semid;
1: + short int *semadj;
1: };
1:
1: struct semid64_ds {
1: - struct ipc64_perm sem_perm;
1: - __kernel_long_t sem_otime;
1: - __kernel_ulong_t __unused1;
1: - __kernel_long_t sem_ctime;
1: - __kernel_ulong_t __unused2;
1: - __kernel_ulong_t sem_nsems;
1: - __kernel_ulong_t __unused3;
1: - __kernel_ulong_t __unused4;
1: + struct ipc64_perm sem_perm;
1: + __kernel_long_t sem_otime;
1: + __kernel_ulong_t __unused1;
1: + __kernel_long_t sem_ctime;
1: + __kernel_ulong_t __unused2;
1: + __kernel_ulong_t sem_nsems;
1: + __kernel_ulong_t __unused3;
1: + __kernel_ulong_t __unused4;
1: };
1:
1: struct sembuf {
1: - short unsigned int sem_num;
1: - short int sem_op;
1: - short int sem_flg;
1: + short unsigned int sem_num;
1: + short int sem_op;
1: + short int sem_flg;
1: };
1:
1: struct seminfo {
1: - int semmap;
1: - int semmni;
1: - int semmns;
1: - int semmnu;
1: - int semmsl;
1: - int semopm;
1: - int semume;
1: - int semusz;
1: - int semvmx;
1: - int semaem;
1: + int semmap;
1: + int semmni;
1: + int semmns;
1: + int semmnu;
1: + int semmsl;
1: + int semopm;
1: + int semume;
1: + int semusz;
1: + int semvmx;
1: + int semaem;
1: };
1:
1: struct sem_undo_list {
1: - refcount_t refcnt;
1: - spinlock_t lock;
1: - struct list_head list_proc;
1: + refcount_t refcnt;
1: + spinlock_t lock;
1: + struct list_head list_proc;
1: };
1:
1: struct compat_semid64_ds {
1: - struct compat_ipc64_perm sem_perm;
1: - compat_ulong_t sem_otime;
1: - compat_ulong_t sem_otime_high;
1: - compat_ulong_t sem_ctime;
1: - compat_ulong_t sem_ctime_high;
1: - compat_ulong_t sem_nsems;
1: - compat_ulong_t __unused3;
1: - compat_ulong_t __unused4;
1: + struct compat_ipc64_perm sem_perm;
1: + compat_ulong_t sem_otime;
1: + compat_ulong_t sem_otime_high;
1: + compat_ulong_t sem_ctime;
1: + compat_ulong_t sem_ctime_high;
1: + compat_ulong_t sem_nsems;
1: + compat_ulong_t __unused3;
1: + compat_ulong_t __unused4;
1: };
1:
1: struct sem_array {
1: - struct kern_ipc_perm sem_perm;
1: - time64_t sem_ctime;
1: - struct list_head pending_alter;
1: - struct list_head pending_const;
1: - struct list_head list_id;
1: - int sem_nsems;
1: - int complex_count;
1: - unsigned int use_global_lock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct sem sems[0];
1: + struct kern_ipc_perm sem_perm;
1: + time64_t sem_ctime;
1: + struct list_head pending_alter;
1: + struct list_head pending_const;
1: + struct list_head list_id;
1: + int sem_nsems;
1: + int complex_count;
1: + unsigned int use_global_lock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct sem sems[0];
1: };
1:
1: struct compat_semid_ds {
1: - struct compat_ipc_perm sem_perm;
1: - old_time32_t sem_otime;
1: - old_time32_t sem_ctime;
1: - compat_uptr_t sem_base;
1: - compat_uptr_t sem_pending;
1: - compat_uptr_t sem_pending_last;
1: - compat_uptr_t undo;
1: - short unsigned int sem_nsems;
1: + struct compat_ipc_perm sem_perm;
1: + old_time32_t sem_otime;
1: + old_time32_t sem_ctime;
1: + compat_uptr_t sem_base;
1: + compat_uptr_t sem_pending;
1: + compat_uptr_t sem_pending_last;
1: + compat_uptr_t undo;
1: + short unsigned int sem_nsems;
1: };
1:
1: struct shmid_ds {
1: - struct ipc_perm shm_perm;
1: - int shm_segsz;
1: - __kernel_old_time_t shm_atime;
1: - __kernel_old_time_t shm_dtime;
1: - __kernel_old_time_t shm_ctime;
1: - __kernel_ipc_pid_t shm_cpid;
1: - __kernel_ipc_pid_t shm_lpid;
1: - short unsigned int shm_nattch;
1: - short unsigned int shm_unused;
1: - void *shm_unused2;
1: - void *shm_unused3;
1: + struct ipc_perm shm_perm;
1: + int shm_segsz;
1: + __kernel_old_time_t shm_atime;
1: + __kernel_old_time_t shm_dtime;
1: + __kernel_old_time_t shm_ctime;
1: + __kernel_ipc_pid_t shm_cpid;
1: + __kernel_ipc_pid_t shm_lpid;
1: + short unsigned int shm_nattch;
1: + short unsigned int shm_unused;
1: + void *shm_unused2;
1: + void *shm_unused3;
1: };
1:
1: struct shmid64_ds {
1: - struct ipc64_perm shm_perm;
1: - size_t shm_segsz;
1: - long int shm_atime;
1: - long int shm_dtime;
1: - long int shm_ctime;
1: - __kernel_pid_t shm_cpid;
1: - __kernel_pid_t shm_lpid;
1: - long unsigned int shm_nattch;
1: - long unsigned int __unused4;
1: - long unsigned int __unused5;
1: + struct ipc64_perm shm_perm;
1: + size_t shm_segsz;
1: + long int shm_atime;
1: + long int shm_dtime;
1: + long int shm_ctime;
1: + __kernel_pid_t shm_cpid;
1: + __kernel_pid_t shm_lpid;
1: + long unsigned int shm_nattch;
1: + long unsigned int __unused4;
1: + long unsigned int __unused5;
1: };
1:
1: struct shminfo64 {
1: - long unsigned int shmmax;
1: - long unsigned int shmmin;
1: - long unsigned int shmmni;
1: - long unsigned int shmseg;
1: - long unsigned int shmall;
1: - long unsigned int __unused1;
1: - long unsigned int __unused2;
1: - long unsigned int __unused3;
1: - long unsigned int __unused4;
1: + long unsigned int shmmax;
1: + long unsigned int shmmin;
1: + long unsigned int shmmni;
1: + long unsigned int shmseg;
1: + long unsigned int shmall;
1: + long unsigned int __unused1;
1: + long unsigned int __unused2;
1: + long unsigned int __unused3;
1: + long unsigned int __unused4;
1: };
1:
1: struct shminfo {
1: - int shmmax;
1: - int shmmin;
1: - int shmmni;
1: - int shmseg;
1: - int shmall;
1: + int shmmax;
1: + int shmmin;
1: + int shmmni;
1: + int shmseg;
1: + int shmall;
1: };
1:
1: struct shm_info {
1: - int used_ids;
1: - __kernel_ulong_t shm_tot;
1: - __kernel_ulong_t shm_rss;
1: - __kernel_ulong_t shm_swp;
1: - __kernel_ulong_t swap_attempts;
1: - __kernel_ulong_t swap_successes;
1: + int used_ids;
1: + __kernel_ulong_t shm_tot;
1: + __kernel_ulong_t shm_rss;
1: + __kernel_ulong_t shm_swp;
1: + __kernel_ulong_t swap_attempts;
1: + __kernel_ulong_t swap_successes;
1: };
1:
1: struct compat_shmid64_ds {
1: - struct compat_ipc64_perm shm_perm;
1: - compat_size_t shm_segsz;
1: - compat_ulong_t shm_atime;
1: - compat_ulong_t shm_atime_high;
1: - compat_ulong_t shm_dtime;
1: - compat_ulong_t shm_dtime_high;
1: - compat_ulong_t shm_ctime;
1: - compat_ulong_t shm_ctime_high;
1: - compat_pid_t shm_cpid;
1: - compat_pid_t shm_lpid;
1: - compat_ulong_t shm_nattch;
1: - compat_ulong_t __unused4;
1: - compat_ulong_t __unused5;
1: + struct compat_ipc64_perm shm_perm;
1: + compat_size_t shm_segsz;
1: + compat_ulong_t shm_atime;
1: + compat_ulong_t shm_atime_high;
1: + compat_ulong_t shm_dtime;
1: + compat_ulong_t shm_dtime_high;
1: + compat_ulong_t shm_ctime;
1: + compat_ulong_t shm_ctime_high;
1: + compat_pid_t shm_cpid;
1: + compat_pid_t shm_lpid;
1: + compat_ulong_t shm_nattch;
1: + compat_ulong_t __unused4;
1: + compat_ulong_t __unused5;
1: };
1:
1: struct shmid_kernel {
1: - struct kern_ipc_perm shm_perm;
1: - struct file *shm_file;
1: - long unsigned int shm_nattch;
1: - long unsigned int shm_segsz;
1: - time64_t shm_atim;
1: - time64_t shm_dtim;
1: - time64_t shm_ctim;
1: - struct pid *shm_cprid;
1: - struct pid *shm_lprid;
1: - struct user_struct *mlock_user;
1: - struct task_struct *shm_creator;
1: - struct list_head shm_clist;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct kern_ipc_perm shm_perm;
1: + struct file *shm_file;
1: + long unsigned int shm_nattch;
1: + long unsigned int shm_segsz;
1: + time64_t shm_atim;
1: + time64_t shm_dtim;
1: + time64_t shm_ctim;
1: + struct pid *shm_cprid;
1: + struct pid *shm_lprid;
1: + struct user_struct *mlock_user;
1: + struct task_struct *shm_creator;
1: + struct list_head shm_clist;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct shm_file_data {
1: - int id;
1: - struct ipc_namespace *ns;
1: - struct file *file;
1: - const struct vm_operations_struct *vm_ops;
1: + int id;
1: + struct ipc_namespace *ns;
1: + struct file *file;
1: + const struct vm_operations_struct *vm_ops;
1: };
1:
1: struct compat_shmid_ds {
1: - struct compat_ipc_perm shm_perm;
1: - int shm_segsz;
1: - old_time32_t shm_atime;
1: - old_time32_t shm_dtime;
1: - old_time32_t shm_ctime;
1: - compat_ipc_pid_t shm_cpid;
1: - compat_ipc_pid_t shm_lpid;
1: - short unsigned int shm_nattch;
1: - short unsigned int shm_unused;
1: - compat_uptr_t shm_unused2;
1: - compat_uptr_t shm_unused3;
1: + struct compat_ipc_perm shm_perm;
1: + int shm_segsz;
1: + old_time32_t shm_atime;
1: + old_time32_t shm_dtime;
1: + old_time32_t shm_ctime;
1: + compat_ipc_pid_t shm_cpid;
1: + compat_ipc_pid_t shm_lpid;
1: + short unsigned int shm_nattch;
1: + short unsigned int shm_unused;
1: + compat_uptr_t shm_unused2;
1: + compat_uptr_t shm_unused3;
1: };
1:
1: struct compat_shminfo64 {
1: - compat_ulong_t shmmax;
1: - compat_ulong_t shmmin;
1: - compat_ulong_t shmmni;
1: - compat_ulong_t shmseg;
1: - compat_ulong_t shmall;
1: - compat_ulong_t __unused1;
1: - compat_ulong_t __unused2;
1: - compat_ulong_t __unused3;
1: - compat_ulong_t __unused4;
1: + compat_ulong_t shmmax;
1: + compat_ulong_t shmmin;
1: + compat_ulong_t shmmni;
1: + compat_ulong_t shmseg;
1: + compat_ulong_t shmall;
1: + compat_ulong_t __unused1;
1: + compat_ulong_t __unused2;
1: + compat_ulong_t __unused3;
1: + compat_ulong_t __unused4;
1: };
1:
1: struct compat_shm_info {
1: - compat_int_t used_ids;
1: - compat_ulong_t shm_tot;
1: - compat_ulong_t shm_rss;
1: - compat_ulong_t shm_swp;
1: - compat_ulong_t swap_attempts;
1: - compat_ulong_t swap_successes;
1: + compat_int_t used_ids;
1: + compat_ulong_t shm_tot;
1: + compat_ulong_t shm_rss;
1: + compat_ulong_t shm_swp;
1: + compat_ulong_t swap_attempts;
1: + compat_ulong_t swap_successes;
1: };
1:
1: struct compat_ipc_kludge {
1: - compat_uptr_t msgp;
1: - compat_long_t msgtyp;
1: + compat_uptr_t msgp;
1: + compat_long_t msgtyp;
1: };
1:
1: struct mqueue_fs_context {
1: - struct ipc_namespace *ipc_ns;
1: + struct ipc_namespace *ipc_ns;
1: };
1:
1: struct posix_msg_tree_node {
1: - struct rb_node rb_node;
1: - struct list_head msg_list;
1: - int priority;
1: + struct rb_node rb_node;
1: + struct list_head msg_list;
1: + int priority;
1: };
1:
1: struct ext_wait_queue {
1: - struct task_struct *task;
1: - struct list_head list;
1: - struct msg_msg *msg;
1: - int state;
1: + struct task_struct *task;
1: + struct list_head list;
1: + struct msg_msg *msg;
1: + int state;
1: };
1:
1: struct mqueue_inode_info {
1: - spinlock_t lock;
1: - struct inode vfs_inode;
1: - wait_queue_head_t wait_q;
1: - struct rb_root msg_tree;
1: - struct rb_node *msg_tree_rightmost;
1: - struct posix_msg_tree_node *node_cache;
1: - struct mq_attr attr;
1: - struct sigevent notify;
1: - struct pid *notify_owner;
1: - struct user_namespace *notify_user_ns;
1: - struct user_struct *user;
1: - struct sock *notify_sock;
1: - struct sk_buff *notify_cookie;
1: - struct ext_wait_queue e_wait_q[2];
1: - long unsigned int qsize;
1: + spinlock_t lock;
1: + struct inode vfs_inode;
1: + wait_queue_head_t wait_q;
1: + struct rb_root msg_tree;
1: + struct rb_node *msg_tree_rightmost;
1: + struct posix_msg_tree_node *node_cache;
1: + struct mq_attr attr;
1: + struct sigevent notify;
1: + struct pid *notify_owner;
1: + struct user_namespace *notify_user_ns;
1: + struct user_struct *user;
1: + struct sock *notify_sock;
1: + struct sk_buff *notify_cookie;
1: + struct ext_wait_queue e_wait_q[2];
1: + long unsigned int qsize;
1: };
1:
1: struct compat_mq_attr {
1: - compat_long_t mq_flags;
1: - compat_long_t mq_maxmsg;
1: - compat_long_t mq_msgsize;
1: - compat_long_t mq_curmsgs;
1: - compat_long_t __reserved[4];
1: + compat_long_t mq_flags;
1: + compat_long_t mq_maxmsg;
1: + compat_long_t mq_msgsize;
1: + compat_long_t mq_curmsgs;
1: + compat_long_t __reserved[4];
1: };
1:
1: enum key_state {
1: - KEY_IS_UNINSTANTIATED = 0,
1: - KEY_IS_POSITIVE = 1,
1: + KEY_IS_UNINSTANTIATED = 0,
1: + KEY_IS_POSITIVE = 1,
1: };
1:
1: struct key_user {
1: - struct rb_node node;
1: - struct mutex cons_lock;
1: - spinlock_t lock;
1: - refcount_t usage;
1: - atomic_t nkeys;
1: - atomic_t nikeys;
1: - kuid_t uid;
1: - int qnkeys;
1: - int qnbytes;
1: + struct rb_node node;
1: + struct mutex cons_lock;
1: + spinlock_t lock;
1: + refcount_t usage;
1: + atomic_t nkeys;
1: + atomic_t nikeys;
1: + kuid_t uid;
1: + int qnkeys;
1: + int qnbytes;
1: };
1:
1: struct assoc_array_edit;
1:
1: struct assoc_array_ops {
1: - long unsigned int (*get_key_chunk)(const void *, int);
1: - long unsigned int (*get_object_key_chunk)(const void *, int);
1: - bool (*compare_object)(const void *, const void *);
1: - int (*diff_objects)(const void *, const void *);
1: - void (*free_object)(void *);
1: + long unsigned int (*get_key_chunk)(const void *, int);
1: + long unsigned int (*get_object_key_chunk)(const void *, int);
1: + bool (*compare_object)(const void *, const void *);
1: + int (*diff_objects)(const void *, const void *);
1: + void (*free_object)(void *);
1: };
1:
1: struct assoc_array_node {
1: - struct assoc_array_ptr *back_pointer;
1: - u8 parent_slot;
1: - struct assoc_array_ptr *slots[16];
1: - long unsigned int nr_leaves_on_branch;
1: + struct assoc_array_ptr *back_pointer;
1: + u8 parent_slot;
1: + struct assoc_array_ptr *slots[16];
1: + long unsigned int nr_leaves_on_branch;
1: };
1:
1: struct assoc_array_shortcut {
1: - struct assoc_array_ptr *back_pointer;
1: - int parent_slot;
1: - int skip_to_level;
1: - struct assoc_array_ptr *next_node;
1: - long unsigned int index_key[0];
1: + struct assoc_array_ptr *back_pointer;
1: + int parent_slot;
1: + int skip_to_level;
1: + struct assoc_array_ptr *next_node;
1: + long unsigned int index_key[0];
1: };
1:
1: struct assoc_array_edit___2 {
1: - struct callback_head rcu;
1: - struct assoc_array *array;
1: - const struct assoc_array_ops *ops;
1: - const struct assoc_array_ops *ops_for_excised_subtree;
1: - struct assoc_array_ptr *leaf;
1: - struct assoc_array_ptr **leaf_p;
1: - struct assoc_array_ptr *dead_leaf;
1: - struct assoc_array_ptr *new_meta[3];
1: - struct assoc_array_ptr *excised_meta[1];
1: - struct assoc_array_ptr *excised_subtree;
1: - struct assoc_array_ptr **set_backpointers[16];
1: - struct assoc_array_ptr *set_backpointers_to;
1: - struct assoc_array_node *adjust_count_on;
1: - long int adjust_count_by;
1: - struct {
1: - struct assoc_array_ptr **ptr;
1: - struct assoc_array_ptr *to;
1: - } set[2];
1: - struct {
1: - u8 *p;
1: - u8 to;
1: - } set_parent_slot[1];
1: - u8 segment_cache[17];
1: + struct callback_head rcu;
1: + struct assoc_array *array;
1: + const struct assoc_array_ops *ops;
1: + const struct assoc_array_ops *ops_for_excised_subtree;
1: + struct assoc_array_ptr *leaf;
1: + struct assoc_array_ptr **leaf_p;
1: + struct assoc_array_ptr *dead_leaf;
1: + struct assoc_array_ptr *new_meta[3];
1: + struct assoc_array_ptr *excised_meta[1];
1: + struct assoc_array_ptr *excised_subtree;
1: + struct assoc_array_ptr **set_backpointers[16];
1: + struct assoc_array_ptr *set_backpointers_to;
1: + struct assoc_array_node *adjust_count_on;
1: + long int adjust_count_by;
1: + struct {
1: + struct assoc_array_ptr **ptr;
1: + struct assoc_array_ptr *to;
1: + } set[2];
1: + struct {
1: + u8 *p;
1: + u8 to;
1: + } set_parent_slot[1];
1: + u8 segment_cache[17];
1: };
1:
1: struct keyring_search_context {
1: - struct keyring_index_key index_key;
1: - const struct cred *cred;
1: - struct key_match_data match_data;
1: - unsigned int flags;
1: - int (*iterator)(const void *, void *);
1: - int skipped_ret;
1: - bool possessed;
1: - key_ref_t result;
1: - time64_t now;
1: + struct keyring_index_key index_key;
1: + const struct cred *cred;
1: + struct key_match_data match_data;
1: + unsigned int flags;
1: + int (*iterator)(const void *, void *);
1: + int skipped_ret;
1: + bool possessed;
1: + key_ref_t result;
1: + time64_t now;
1: };
1:
1: struct keyring_read_iterator_context {
1: - size_t buflen;
1: - size_t count;
1: - key_serial_t *buffer;
1: + size_t buflen;
1: + size_t count;
1: + key_serial_t *buffer;
1: };
1:
1: struct keyctl_dh_params {
1: - union {
1: - __s32 private;
1: - __s32 priv;
1: - };
1: - __s32 prime;
1: - __s32 base;
1: + union {
1: + __s32 private;
1: + __s32 priv;
1: + };
1: + __s32 prime;
1: + __s32 base;
1: };
1:
1: struct keyctl_kdf_params {
1: - char *hashname;
1: - char *otherinfo;
1: - __u32 otherinfolen;
1: - __u32 __spare[8];
1: + char *hashname;
1: + char *otherinfo;
1: + __u32 otherinfolen;
1: + __u32 __spare[8];
1: };
1:
1: struct keyctl_pkey_query {
1: - __u32 supported_ops;
1: - __u32 key_size;
1: - __u16 max_data_size;
1: - __u16 max_sig_size;
1: - __u16 max_enc_size;
1: - __u16 max_dec_size;
1: - __u32 __spare[10];
1: + __u32 supported_ops;
1: + __u32 key_size;
1: + __u16 max_data_size;
1: + __u16 max_sig_size;
1: + __u16 max_enc_size;
1: + __u16 max_dec_size;
1: + __u32 __spare[10];
1: };
1:
1: struct keyctl_pkey_params {
1: - __s32 key_id;
1: - __u32 in_len;
1: - union {
1: - __u32 out_len;
1: - __u32 in2_len;
1: - };
1: - __u32 __spare[7];
1: + __s32 key_id;
1: + __u32 in_len;
1: + union {
1: + __u32 out_len;
1: + __u32 in2_len;
1: + };
1: + __u32 __spare[7];
1: };
1:
1: enum {
1: - Opt_err___8 = 0,
1: - Opt_enc = 1,
1: - Opt_hash = 2,
1: + Opt_err___8 = 0,
1: + Opt_enc = 1,
1: + Opt_hash = 2,
1: };
1:
1: struct vfs_cap_data {
1: - __le32 magic_etc;
1: - struct {
1: - __le32 permitted;
1: - __le32 inheritable;
1: - } data[2];
1: + __le32 magic_etc;
1: + struct {
1: + __le32 permitted;
1: + __le32 inheritable;
1: + } data[2];
1: };
1:
1: struct vfs_ns_cap_data {
1: - __le32 magic_etc;
1: - struct {
1: - __le32 permitted;
1: - __le32 inheritable;
1: - } data[2];
1: - __le32 rootid;
1: + __le32 magic_etc;
1: + struct {
1: + __le32 permitted;
1: + __le32 inheritable;
1: + } data[2];
1: + __le32 rootid;
1: };
1:
1: struct sctp_endpoint;
1:
1: union security_list_options {
1: - int (*binder_set_context_mgr)(struct task_struct *);
1: - int (*binder_transaction)(struct task_struct *, struct task_struct *);
1: - int (*binder_transfer_binder)(struct task_struct *, struct task_struct *);
1: - int (*binder_transfer_file)(struct task_struct *, struct task_struct *, struct file *);
1: - int (*ptrace_access_check)(struct task_struct *, unsigned int);
1: - int (*ptrace_traceme)(struct task_struct *);
1: - int (*capget)(struct task_struct *, kernel_cap_t *, kernel_cap_t *, kernel_cap_t *);
1: - int (*capset)(struct cred *, const struct cred *, const kernel_cap_t *, const kernel_cap_t *, const kernel_cap_t *);
1: - int (*capable)(const struct cred *, struct user_namespace *, int, unsigned int);
1: - int (*quotactl)(int, int, int, struct super_block *);
1: - int (*quota_on)(struct dentry *);
1: - int (*syslog)(int);
1: - int (*settime)(const struct timespec64 *, const struct timezone *);
1: - int (*vm_enough_memory)(struct mm_struct *, long int);
1: - int (*bprm_set_creds)(struct linux_binprm *);
1: - int (*bprm_check_security)(struct linux_binprm *);
1: - void (*bprm_committing_creds)(struct linux_binprm *);
1: - void (*bprm_committed_creds)(struct linux_binprm *);
1: - int (*fs_context_dup)(struct fs_context *, struct fs_context *);
1: - int (*fs_context_parse_param)(struct fs_context *, struct fs_parameter *);
1: - int (*sb_alloc_security)(struct super_block *);
1: - void (*sb_free_security)(struct super_block *);
1: - void (*sb_free_mnt_opts)(void *);
1: - int (*sb_eat_lsm_opts)(char *, void **);
1: - int (*sb_remount)(struct super_block *, void *);
1: - int (*sb_kern_mount)(struct super_block *);
1: - int (*sb_show_options)(struct seq_file *, struct super_block *);
1: - int (*sb_statfs)(struct dentry *);
1: - int (*sb_mount)(const char *, const struct path *, const char *, long unsigned int, void *);
1: - int (*sb_umount)(struct vfsmount *, int);
1: - int (*sb_pivotroot)(const struct path *, const struct path *);
1: - int (*sb_set_mnt_opts)(struct super_block *, void *, long unsigned int, long unsigned int *);
1: - int (*sb_clone_mnt_opts)(const struct super_block *, struct super_block *, long unsigned int, long unsigned int *);
1: - int (*sb_add_mnt_opt)(const char *, const char *, int, void **);
1: - int (*move_mount)(const struct path *, const struct path *);
1: - int (*dentry_init_security)(struct dentry *, int, const struct qstr *, void **, u32 *);
1: - int (*dentry_create_files_as)(struct dentry *, int, struct qstr *, const struct cred *, struct cred *);
1: - int (*path_notify)(const struct path *, u64, unsigned int);
1: - int (*inode_alloc_security)(struct inode *);
1: - void (*inode_free_security)(struct inode *);
1: - int (*inode_init_security)(struct inode *, struct inode *, const struct qstr *, const char **, void **, size_t *);
1: - int (*inode_create)(struct inode *, struct dentry *, umode_t);
1: - int (*inode_link)(struct dentry *, struct inode *, struct dentry *);
1: - int (*inode_unlink)(struct inode *, struct dentry *);
1: - int (*inode_symlink)(struct inode *, struct dentry *, const char *);
1: - int (*inode_mkdir)(struct inode *, struct dentry *, umode_t);
1: - int (*inode_rmdir)(struct inode *, struct dentry *);
1: - int (*inode_mknod)(struct inode *, struct dentry *, umode_t, dev_t);
1: - int (*inode_rename)(struct inode *, struct dentry *, struct inode *, struct dentry *);
1: - int (*inode_readlink)(struct dentry *);
1: - int (*inode_follow_link)(struct dentry *, struct inode *, bool);
1: - int (*inode_permission)(struct inode *, int);
1: - int (*inode_setattr)(struct dentry *, struct iattr *);
1: - int (*inode_getattr)(const struct path *);
1: - int (*inode_setxattr)(struct dentry *, const char *, const void *, size_t, int);
1: - void (*inode_post_setxattr)(struct dentry *, const char *, const void *, size_t, int);
1: - int (*inode_getxattr)(struct dentry *, const char *);
1: - int (*inode_listxattr)(struct dentry *);
1: - int (*inode_removexattr)(struct dentry *, const char *);
1: - int (*inode_need_killpriv)(struct dentry *);
1: - int (*inode_killpriv)(struct dentry *);
1: - int (*inode_getsecurity)(struct inode *, const char *, void **, bool);
1: - int (*inode_setsecurity)(struct inode *, const char *, const void *, size_t, int);
1: - int (*inode_listsecurity)(struct inode *, char *, size_t);
1: - void (*inode_getsecid)(struct inode *, u32 *);
1: - int (*inode_copy_up)(struct dentry *, struct cred **);
1: - int (*inode_copy_up_xattr)(const char *);
1: - int (*kernfs_init_security)(struct kernfs_node *, struct kernfs_node *);
1: - int (*file_permission)(struct file *, int);
1: - int (*file_alloc_security)(struct file *);
1: - void (*file_free_security)(struct file *);
1: - int (*file_ioctl)(struct file *, unsigned int, long unsigned int);
1: - int (*mmap_addr)(long unsigned int);
1: - int (*mmap_file)(struct file *, long unsigned int, long unsigned int, long unsigned int);
1: - int (*file_mprotect)(struct vm_area_struct *, long unsigned int, long unsigned int);
1: - int (*file_lock)(struct file *, unsigned int);
1: - int (*file_fcntl)(struct file *, unsigned int, long unsigned int);
1: - void (*file_set_fowner)(struct file *);
1: - int (*file_send_sigiotask)(struct task_struct *, struct fown_struct *, int);
1: - int (*file_receive)(struct file *);
1: - int (*file_open)(struct file *);
1: - int (*task_alloc)(struct task_struct *, long unsigned int);
1: - void (*task_free)(struct task_struct *);
1: - int (*cred_alloc_blank)(struct cred *, gfp_t);
1: - void (*cred_free)(struct cred *);
1: - int (*cred_prepare)(struct cred *, const struct cred *, gfp_t);
1: - void (*cred_transfer)(struct cred *, const struct cred *);
1: - void (*cred_getsecid)(const struct cred *, u32 *);
1: - int (*kernel_act_as)(struct cred *, u32);
1: - int (*kernel_create_files_as)(struct cred *, struct inode *);
1: - int (*kernel_module_request)(char *);
1: - int (*kernel_load_data)(enum kernel_load_data_id);
1: - int (*kernel_read_file)(struct file *, enum kernel_read_file_id);
1: - int (*kernel_post_read_file)(struct file *, char *, loff_t, enum kernel_read_file_id);
1: - int (*task_fix_setuid)(struct cred *, const struct cred *, int);
1: - int (*task_setpgid)(struct task_struct *, pid_t);
1: - int (*task_getpgid)(struct task_struct *);
1: - int (*task_getsid)(struct task_struct *);
1: - void (*task_getsecid)(struct task_struct *, u32 *);
1: - int (*task_setnice)(struct task_struct *, int);
1: - int (*task_setioprio)(struct task_struct *, int);
1: - int (*task_getioprio)(struct task_struct *);
1: - int (*task_prlimit)(const struct cred *, const struct cred *, unsigned int);
1: - int (*task_setrlimit)(struct task_struct *, unsigned int, struct rlimit *);
1: - int (*task_setscheduler)(struct task_struct *);
1: - int (*task_getscheduler)(struct task_struct *);
1: - int (*task_movememory)(struct task_struct *);
1: - int (*task_kill)(struct task_struct *, struct kernel_siginfo *, int, const struct cred *);
1: - int (*task_prctl)(int, long unsigned int, long unsigned int, long unsigned int, long unsigned int);
1: - void (*task_to_inode)(struct task_struct *, struct inode *);
1: - int (*ipc_permission)(struct kern_ipc_perm *, short int);
1: - void (*ipc_getsecid)(struct kern_ipc_perm *, u32 *);
1: - int (*msg_msg_alloc_security)(struct msg_msg *);
1: - void (*msg_msg_free_security)(struct msg_msg *);
1: - int (*msg_queue_alloc_security)(struct kern_ipc_perm *);
1: - void (*msg_queue_free_security)(struct kern_ipc_perm *);
1: - int (*msg_queue_associate)(struct kern_ipc_perm *, int);
1: - int (*msg_queue_msgctl)(struct kern_ipc_perm *, int);
1: - int (*msg_queue_msgsnd)(struct kern_ipc_perm *, struct msg_msg *, int);
1: - int (*msg_queue_msgrcv)(struct kern_ipc_perm *, struct msg_msg *, struct task_struct *, long int, int);
1: - int (*shm_alloc_security)(struct kern_ipc_perm *);
1: - void (*shm_free_security)(struct kern_ipc_perm *);
1: - int (*shm_associate)(struct kern_ipc_perm *, int);
1: - int (*shm_shmctl)(struct kern_ipc_perm *, int);
1: - int (*shm_shmat)(struct kern_ipc_perm *, char *, int);
1: - int (*sem_alloc_security)(struct kern_ipc_perm *);
1: - void (*sem_free_security)(struct kern_ipc_perm *);
1: - int (*sem_associate)(struct kern_ipc_perm *, int);
1: - int (*sem_semctl)(struct kern_ipc_perm *, int);
1: - int (*sem_semop)(struct kern_ipc_perm *, struct sembuf *, unsigned int, int);
1: - int (*netlink_send)(struct sock *, struct sk_buff *);
1: - void (*d_instantiate)(struct dentry *, struct inode *);
1: - int (*getprocattr)(struct task_struct *, char *, char **);
1: - int (*setprocattr)(const char *, void *, size_t);
1: - int (*ismaclabel)(const char *);
1: - int (*secid_to_secctx)(u32, char **, u32 *);
1: - int (*secctx_to_secid)(const char *, u32, u32 *);
1: - void (*release_secctx)(char *, u32);
1: - void (*inode_invalidate_secctx)(struct inode *);
1: - int (*inode_notifysecctx)(struct inode *, void *, u32);
1: - int (*inode_setsecctx)(struct dentry *, void *, u32);
1: - int (*inode_getsecctx)(struct inode *, void **, u32 *);
1: - int (*unix_stream_connect)(struct sock *, struct sock *, struct sock *);
1: - int (*unix_may_send)(struct socket *, struct socket *);
1: - int (*socket_create)(int, int, int, int);
1: - int (*socket_post_create)(struct socket *, int, int, int, int);
1: - int (*socket_socketpair)(struct socket *, struct socket *);
1: - int (*socket_bind)(struct socket *, struct sockaddr *, int);
1: - int (*socket_connect)(struct socket *, struct sockaddr *, int);
1: - int (*socket_listen)(struct socket *, int);
1: - int (*socket_accept)(struct socket *, struct socket *);
1: - int (*socket_sendmsg)(struct socket *, struct msghdr *, int);
1: - int (*socket_recvmsg)(struct socket *, struct msghdr *, int, int);
1: - int (*socket_getsockname)(struct socket *);
1: - int (*socket_getpeername)(struct socket *);
1: - int (*socket_getsockopt)(struct socket *, int, int);
1: - int (*socket_setsockopt)(struct socket *, int, int);
1: - int (*socket_shutdown)(struct socket *, int);
1: - int (*socket_sock_rcv_skb)(struct sock *, struct sk_buff *);
1: - int (*socket_getpeersec_stream)(struct socket *, char *, int *, unsigned int);
1: - int (*socket_getpeersec_dgram)(struct socket *, struct sk_buff *, u32 *);
1: - int (*sk_alloc_security)(struct sock *, int, gfp_t);
1: - void (*sk_free_security)(struct sock *);
1: - void (*sk_clone_security)(const struct sock *, struct sock *);
1: - void (*sk_getsecid)(struct sock *, u32 *);
1: - void (*sock_graft)(struct sock *, struct socket *);
1: - int (*inet_conn_request)(struct sock *, struct sk_buff *, struct request_sock *);
1: - void (*inet_csk_clone)(struct sock *, const struct request_sock *);
1: - void (*inet_conn_established)(struct sock *, struct sk_buff *);
1: - int (*secmark_relabel_packet)(u32);
1: - void (*secmark_refcount_inc)();
1: - void (*secmark_refcount_dec)();
1: - void (*req_classify_flow)(const struct request_sock *, struct flowi *);
1: - int (*tun_dev_alloc_security)(void **);
1: - void (*tun_dev_free_security)(void *);
1: - int (*tun_dev_create)();
1: - int (*tun_dev_attach_queue)(void *);
1: - int (*tun_dev_attach)(struct sock *, void *);
1: - int (*tun_dev_open)(void *);
1: - int (*sctp_assoc_request)(struct sctp_endpoint *, struct sk_buff *);
1: - int (*sctp_bind_connect)(struct sock *, int, struct sockaddr *, int);
1: - void (*sctp_sk_clone)(struct sctp_endpoint *, struct sock *, struct sock *);
1: - int (*key_alloc)(struct key *, const struct cred *, long unsigned int);
1: - void (*key_free)(struct key *);
1: - int (*key_permission)(key_ref_t, const struct cred *, unsigned int);
1: - int (*key_getsecurity)(struct key *, char **);
1: - int (*audit_rule_init)(u32, u32, char *, void **);
1: - int (*audit_rule_known)(struct audit_krule *);
1: - int (*audit_rule_match)(u32, u32, u32, void *);
1: - void (*audit_rule_free)(void *);
1: - int (*locked_down)(enum lockdown_reason);
1: - int (*perf_event_open)(struct perf_event_attr *, int);
1: - int (*perf_event_alloc)(struct perf_event *);
1: - void (*perf_event_free)(struct perf_event *);
1: - int (*perf_event_read)(struct perf_event *);
1: - int (*perf_event_write)(struct perf_event *);
1: + int (*binder_set_context_mgr)(struct task_struct *);
1: + int (*binder_transaction)(struct task_struct *, struct task_struct *);
1: + int (*binder_transfer_binder)(struct task_struct *, struct task_struct *);
1: + int (*binder_transfer_file)(struct task_struct *, struct task_struct *,
1: + struct file *);
1: + int (*ptrace_access_check)(struct task_struct *, unsigned int);
1: + int (*ptrace_traceme)(struct task_struct *);
1: + int (*capget)(struct task_struct *, kernel_cap_t *, kernel_cap_t *,
1: + kernel_cap_t *);
1: + int (*capset)(struct cred *, const struct cred *, const kernel_cap_t *,
1: + const kernel_cap_t *, const kernel_cap_t *);
1: + int (*capable)(const struct cred *, struct user_namespace *, int,
1: + unsigned int);
1: + int (*quotactl)(int, int, int, struct super_block *);
1: + int (*quota_on)(struct dentry *);
1: + int (*syslog)(int);
1: + int (*settime)(const struct timespec64 *, const struct timezone *);
1: + int (*vm_enough_memory)(struct mm_struct *, long int);
1: + int (*bprm_set_creds)(struct linux_binprm *);
1: + int (*bprm_check_security)(struct linux_binprm *);
1: + void (*bprm_committing_creds)(struct linux_binprm *);
1: + void (*bprm_committed_creds)(struct linux_binprm *);
1: + int (*fs_context_dup)(struct fs_context *, struct fs_context *);
1: + int (*fs_context_parse_param)(struct fs_context *, struct fs_parameter *);
1: + int (*sb_alloc_security)(struct super_block *);
1: + void (*sb_free_security)(struct super_block *);
1: + void (*sb_free_mnt_opts)(void *);
1: + int (*sb_eat_lsm_opts)(char *, void **);
1: + int (*sb_remount)(struct super_block *, void *);
1: + int (*sb_kern_mount)(struct super_block *);
1: + int (*sb_show_options)(struct seq_file *, struct super_block *);
1: + int (*sb_statfs)(struct dentry *);
1: + int (*sb_mount)(const char *, const struct path *, const char *,
1: + long unsigned int, void *);
1: + int (*sb_umount)(struct vfsmount *, int);
1: + int (*sb_pivotroot)(const struct path *, const struct path *);
1: + int (*sb_set_mnt_opts)(struct super_block *, void *, long unsigned int,
1: + long unsigned int *);
1: + int (*sb_clone_mnt_opts)(const struct super_block *, struct super_block *,
1: + long unsigned int, long unsigned int *);
1: + int (*sb_add_mnt_opt)(const char *, const char *, int, void **);
1: + int (*move_mount)(const struct path *, const struct path *);
1: + int (*dentry_init_security)(struct dentry *, int, const struct qstr *,
1: + void **, u32 *);
1: + int (*dentry_create_files_as)(struct dentry *, int, struct qstr *,
1: + const struct cred *, struct cred *);
1: + int (*path_notify)(const struct path *, u64, unsigned int);
1: + int (*inode_alloc_security)(struct inode *);
1: + void (*inode_free_security)(struct inode *);
1: + int (*inode_init_security)(struct inode *, struct inode *,
1: + const struct qstr *, const char **, void **,
1: + size_t *);
1: + int (*inode_create)(struct inode *, struct dentry *, umode_t);
1: + int (*inode_link)(struct dentry *, struct inode *, struct dentry *);
1: + int (*inode_unlink)(struct inode *, struct dentry *);
1: + int (*inode_symlink)(struct inode *, struct dentry *, const char *);
1: + int (*inode_mkdir)(struct inode *, struct dentry *, umode_t);
1: + int (*inode_rmdir)(struct inode *, struct dentry *);
1: + int (*inode_mknod)(struct inode *, struct dentry *, umode_t, dev_t);
1: + int (*inode_rename)(struct inode *, struct dentry *, struct inode *,
1: + struct dentry *);
1: + int (*inode_readlink)(struct dentry *);
1: + int (*inode_follow_link)(struct dentry *, struct inode *, bool);
1: + int (*inode_permission)(struct inode *, int);
1: + int (*inode_setattr)(struct dentry *, struct iattr *);
1: + int (*inode_getattr)(const struct path *);
1: + int (*inode_setxattr)(struct dentry *, const char *, const void *, size_t,
1: + int);
1: + void (*inode_post_setxattr)(struct dentry *, const char *, const void *,
1: + size_t, int);
1: + int (*inode_getxattr)(struct dentry *, const char *);
1: + int (*inode_listxattr)(struct dentry *);
1: + int (*inode_removexattr)(struct dentry *, const char *);
1: + int (*inode_need_killpriv)(struct dentry *);
1: + int (*inode_killpriv)(struct dentry *);
1: + int (*inode_getsecurity)(struct inode *, const char *, void **, bool);
1: + int (*inode_setsecurity)(struct inode *, const char *, const void *, size_t,
1: + int);
1: + int (*inode_listsecurity)(struct inode *, char *, size_t);
1: + void (*inode_getsecid)(struct inode *, u32 *);
1: + int (*inode_copy_up)(struct dentry *, struct cred **);
1: + int (*inode_copy_up_xattr)(const char *);
1: + int (*kernfs_init_security)(struct kernfs_node *, struct kernfs_node *);
1: + int (*file_permission)(struct file *, int);
1: + int (*file_alloc_security)(struct file *);
1: + void (*file_free_security)(struct file *);
1: + int (*file_ioctl)(struct file *, unsigned int, long unsigned int);
1: + int (*mmap_addr)(long unsigned int);
1: + int (*mmap_file)(struct file *, long unsigned int, long unsigned int,
1: + long unsigned int);
1: + int (*file_mprotect)(struct vm_area_struct *, long unsigned int,
1: + long unsigned int);
1: + int (*file_lock)(struct file *, unsigned int);
1: + int (*file_fcntl)(struct file *, unsigned int, long unsigned int);
1: + void (*file_set_fowner)(struct file *);
1: + int (*file_send_sigiotask)(struct task_struct *, struct fown_struct *, int);
1: + int (*file_receive)(struct file *);
1: + int (*file_open)(struct file *);
1: + int (*task_alloc)(struct task_struct *, long unsigned int);
1: + void (*task_free)(struct task_struct *);
1: + int (*cred_alloc_blank)(struct cred *, gfp_t);
1: + void (*cred_free)(struct cred *);
1: + int (*cred_prepare)(struct cred *, const struct cred *, gfp_t);
1: + void (*cred_transfer)(struct cred *, const struct cred *);
1: + void (*cred_getsecid)(const struct cred *, u32 *);
1: + int (*kernel_act_as)(struct cred *, u32);
1: + int (*kernel_create_files_as)(struct cred *, struct inode *);
1: + int (*kernel_module_request)(char *);
1: + int (*kernel_load_data)(enum kernel_load_data_id);
1: + int (*kernel_read_file)(struct file *, enum kernel_read_file_id);
1: + int (*kernel_post_read_file)(struct file *, char *, loff_t,
1: + enum kernel_read_file_id);
1: + int (*task_fix_setuid)(struct cred *, const struct cred *, int);
1: + int (*task_setpgid)(struct task_struct *, pid_t);
1: + int (*task_getpgid)(struct task_struct *);
1: + int (*task_getsid)(struct task_struct *);
1: + void (*task_getsecid)(struct task_struct *, u32 *);
1: + int (*task_setnice)(struct task_struct *, int);
1: + int (*task_setioprio)(struct task_struct *, int);
1: + int (*task_getioprio)(struct task_struct *);
1: + int (*task_prlimit)(const struct cred *, const struct cred *, unsigned int);
1: + int (*task_setrlimit)(struct task_struct *, unsigned int, struct rlimit *);
1: + int (*task_setscheduler)(struct task_struct *);
1: + int (*task_getscheduler)(struct task_struct *);
1: + int (*task_movememory)(struct task_struct *);
1: + int (*task_kill)(struct task_struct *, struct kernel_siginfo *, int,
1: + const struct cred *);
1: + int (*task_prctl)(int, long unsigned int, long unsigned int,
1: + long unsigned int, long unsigned int);
1: + void (*task_to_inode)(struct task_struct *, struct inode *);
1: + int (*ipc_permission)(struct kern_ipc_perm *, short int);
1: + void (*ipc_getsecid)(struct kern_ipc_perm *, u32 *);
1: + int (*msg_msg_alloc_security)(struct msg_msg *);
1: + void (*msg_msg_free_security)(struct msg_msg *);
1: + int (*msg_queue_alloc_security)(struct kern_ipc_perm *);
1: + void (*msg_queue_free_security)(struct kern_ipc_perm *);
1: + int (*msg_queue_associate)(struct kern_ipc_perm *, int);
1: + int (*msg_queue_msgctl)(struct kern_ipc_perm *, int);
1: + int (*msg_queue_msgsnd)(struct kern_ipc_perm *, struct msg_msg *, int);
1: + int (*msg_queue_msgrcv)(struct kern_ipc_perm *, struct msg_msg *,
1: + struct task_struct *, long int, int);
1: + int (*shm_alloc_security)(struct kern_ipc_perm *);
1: + void (*shm_free_security)(struct kern_ipc_perm *);
1: + int (*shm_associate)(struct kern_ipc_perm *, int);
1: + int (*shm_shmctl)(struct kern_ipc_perm *, int);
1: + int (*shm_shmat)(struct kern_ipc_perm *, char *, int);
1: + int (*sem_alloc_security)(struct kern_ipc_perm *);
1: + void (*sem_free_security)(struct kern_ipc_perm *);
1: + int (*sem_associate)(struct kern_ipc_perm *, int);
1: + int (*sem_semctl)(struct kern_ipc_perm *, int);
1: + int (*sem_semop)(struct kern_ipc_perm *, struct sembuf *, unsigned int, int);
1: + int (*netlink_send)(struct sock *, struct sk_buff *);
1: + void (*d_instantiate)(struct dentry *, struct inode *);
1: + int (*getprocattr)(struct task_struct *, char *, char **);
1: + int (*setprocattr)(const char *, void *, size_t);
1: + int (*ismaclabel)(const char *);
1: + int (*secid_to_secctx)(u32, char **, u32 *);
1: + int (*secctx_to_secid)(const char *, u32, u32 *);
1: + void (*release_secctx)(char *, u32);
1: + void (*inode_invalidate_secctx)(struct inode *);
1: + int (*inode_notifysecctx)(struct inode *, void *, u32);
1: + int (*inode_setsecctx)(struct dentry *, void *, u32);
1: + int (*inode_getsecctx)(struct inode *, void **, u32 *);
1: + int (*unix_stream_connect)(struct sock *, struct sock *, struct sock *);
1: + int (*unix_may_send)(struct socket *, struct socket *);
1: + int (*socket_create)(int, int, int, int);
1: + int (*socket_post_create)(struct socket *, int, int, int, int);
1: + int (*socket_socketpair)(struct socket *, struct socket *);
1: + int (*socket_bind)(struct socket *, struct sockaddr *, int);
1: + int (*socket_connect)(struct socket *, struct sockaddr *, int);
1: + int (*socket_listen)(struct socket *, int);
1: + int (*socket_accept)(struct socket *, struct socket *);
1: + int (*socket_sendmsg)(struct socket *, struct msghdr *, int);
1: + int (*socket_recvmsg)(struct socket *, struct msghdr *, int, int);
1: + int (*socket_getsockname)(struct socket *);
1: + int (*socket_getpeername)(struct socket *);
1: + int (*socket_getsockopt)(struct socket *, int, int);
1: + int (*socket_setsockopt)(struct socket *, int, int);
1: + int (*socket_shutdown)(struct socket *, int);
1: + int (*socket_sock_rcv_skb)(struct sock *, struct sk_buff *);
1: + int (*socket_getpeersec_stream)(struct socket *, char *, int *, unsigned int);
1: + int (*socket_getpeersec_dgram)(struct socket *, struct sk_buff *, u32 *);
1: + int (*sk_alloc_security)(struct sock *, int, gfp_t);
1: + void (*sk_free_security)(struct sock *);
1: + void (*sk_clone_security)(const struct sock *, struct sock *);
1: + void (*sk_getsecid)(struct sock *, u32 *);
1: + void (*sock_graft)(struct sock *, struct socket *);
1: + int (*inet_conn_request)(struct sock *, struct sk_buff *,
1: + struct request_sock *);
1: + void (*inet_csk_clone)(struct sock *, const struct request_sock *);
1: + void (*inet_conn_established)(struct sock *, struct sk_buff *);
1: + int (*secmark_relabel_packet)(u32);
1: + void (*secmark_refcount_inc)();
1: + void (*secmark_refcount_dec)();
1: + void (*req_classify_flow)(const struct request_sock *, struct flowi *);
1: + int (*tun_dev_alloc_security)(void **);
1: + void (*tun_dev_free_security)(void *);
1: + int (*tun_dev_create)();
1: + int (*tun_dev_attach_queue)(void *);
1: + int (*tun_dev_attach)(struct sock *, void *);
1: + int (*tun_dev_open)(void *);
1: + int (*sctp_assoc_request)(struct sctp_endpoint *, struct sk_buff *);
1: + int (*sctp_bind_connect)(struct sock *, int, struct sockaddr *, int);
1: + void (*sctp_sk_clone)(struct sctp_endpoint *, struct sock *, struct sock *);
1: + int (*key_alloc)(struct key *, const struct cred *, long unsigned int);
1: + void (*key_free)(struct key *);
1: + int (*key_permission)(key_ref_t, const struct cred *, unsigned int);
1: + int (*key_getsecurity)(struct key *, char **);
1: + int (*audit_rule_init)(u32, u32, char *, void **);
1: + int (*audit_rule_known)(struct audit_krule *);
1: + int (*audit_rule_match)(u32, u32, u32, void *);
1: + void (*audit_rule_free)(void *);
1: + int (*locked_down)(enum lockdown_reason);
1: + int (*perf_event_open)(struct perf_event_attr *, int);
1: + int (*perf_event_alloc)(struct perf_event *);
1: + void (*perf_event_free)(struct perf_event *);
1: + int (*perf_event_read)(struct perf_event *);
1: + int (*perf_event_write)(struct perf_event *);
1: };
1:
1: struct security_hook_heads {
1: - struct hlist_head binder_set_context_mgr;
1: - struct hlist_head binder_transaction;
1: - struct hlist_head binder_transfer_binder;
1: - struct hlist_head binder_transfer_file;
1: - struct hlist_head ptrace_access_check;
1: - struct hlist_head ptrace_traceme;
1: - struct hlist_head capget;
1: - struct hlist_head capset;
1: - struct hlist_head capable;
1: - struct hlist_head quotactl;
1: - struct hlist_head quota_on;
1: - struct hlist_head syslog;
1: - struct hlist_head settime;
1: - struct hlist_head vm_enough_memory;
1: - struct hlist_head bprm_set_creds;
1: - struct hlist_head bprm_check_security;
1: - struct hlist_head bprm_committing_creds;
1: - struct hlist_head bprm_committed_creds;
1: - struct hlist_head fs_context_dup;
1: - struct hlist_head fs_context_parse_param;
1: - struct hlist_head sb_alloc_security;
1: - struct hlist_head sb_free_security;
1: - struct hlist_head sb_free_mnt_opts;
1: - struct hlist_head sb_eat_lsm_opts;
1: - struct hlist_head sb_remount;
1: - struct hlist_head sb_kern_mount;
1: - struct hlist_head sb_show_options;
1: - struct hlist_head sb_statfs;
1: - struct hlist_head sb_mount;
1: - struct hlist_head sb_umount;
1: - struct hlist_head sb_pivotroot;
1: - struct hlist_head sb_set_mnt_opts;
1: - struct hlist_head sb_clone_mnt_opts;
1: - struct hlist_head sb_add_mnt_opt;
1: - struct hlist_head move_mount;
1: - struct hlist_head dentry_init_security;
1: - struct hlist_head dentry_create_files_as;
1: - struct hlist_head path_notify;
1: - struct hlist_head inode_alloc_security;
1: - struct hlist_head inode_free_security;
1: - struct hlist_head inode_init_security;
1: - struct hlist_head inode_create;
1: - struct hlist_head inode_link;
1: - struct hlist_head inode_unlink;
1: - struct hlist_head inode_symlink;
1: - struct hlist_head inode_mkdir;
1: - struct hlist_head inode_rmdir;
1: - struct hlist_head inode_mknod;
1: - struct hlist_head inode_rename;
1: - struct hlist_head inode_readlink;
1: - struct hlist_head inode_follow_link;
1: - struct hlist_head inode_permission;
1: - struct hlist_head inode_setattr;
1: - struct hlist_head inode_getattr;
1: - struct hlist_head inode_setxattr;
1: - struct hlist_head inode_post_setxattr;
1: - struct hlist_head inode_getxattr;
1: - struct hlist_head inode_listxattr;
1: - struct hlist_head inode_removexattr;
1: - struct hlist_head inode_need_killpriv;
1: - struct hlist_head inode_killpriv;
1: - struct hlist_head inode_getsecurity;
1: - struct hlist_head inode_setsecurity;
1: - struct hlist_head inode_listsecurity;
1: - struct hlist_head inode_getsecid;
1: - struct hlist_head inode_copy_up;
1: - struct hlist_head inode_copy_up_xattr;
1: - struct hlist_head kernfs_init_security;
1: - struct hlist_head file_permission;
1: - struct hlist_head file_alloc_security;
1: - struct hlist_head file_free_security;
1: - struct hlist_head file_ioctl;
1: - struct hlist_head mmap_addr;
1: - struct hlist_head mmap_file;
1: - struct hlist_head file_mprotect;
1: - struct hlist_head file_lock;
1: - struct hlist_head file_fcntl;
1: - struct hlist_head file_set_fowner;
1: - struct hlist_head file_send_sigiotask;
1: - struct hlist_head file_receive;
1: - struct hlist_head file_open;
1: - struct hlist_head task_alloc;
1: - struct hlist_head task_free;
1: - struct hlist_head cred_alloc_blank;
1: - struct hlist_head cred_free;
1: - struct hlist_head cred_prepare;
1: - struct hlist_head cred_transfer;
1: - struct hlist_head cred_getsecid;
1: - struct hlist_head kernel_act_as;
1: - struct hlist_head kernel_create_files_as;
1: - struct hlist_head kernel_load_data;
1: - struct hlist_head kernel_read_file;
1: - struct hlist_head kernel_post_read_file;
1: - struct hlist_head kernel_module_request;
1: - struct hlist_head task_fix_setuid;
1: - struct hlist_head task_setpgid;
1: - struct hlist_head task_getpgid;
1: - struct hlist_head task_getsid;
1: - struct hlist_head task_getsecid;
1: - struct hlist_head task_setnice;
1: - struct hlist_head task_setioprio;
1: - struct hlist_head task_getioprio;
1: - struct hlist_head task_prlimit;
1: - struct hlist_head task_setrlimit;
1: - struct hlist_head task_setscheduler;
1: - struct hlist_head task_getscheduler;
1: - struct hlist_head task_movememory;
1: - struct hlist_head task_kill;
1: - struct hlist_head task_prctl;
1: - struct hlist_head task_to_inode;
1: - struct hlist_head ipc_permission;
1: - struct hlist_head ipc_getsecid;
1: - struct hlist_head msg_msg_alloc_security;
1: - struct hlist_head msg_msg_free_security;
1: - struct hlist_head msg_queue_alloc_security;
1: - struct hlist_head msg_queue_free_security;
1: - struct hlist_head msg_queue_associate;
1: - struct hlist_head msg_queue_msgctl;
1: - struct hlist_head msg_queue_msgsnd;
1: - struct hlist_head msg_queue_msgrcv;
1: - struct hlist_head shm_alloc_security;
1: - struct hlist_head shm_free_security;
1: - struct hlist_head shm_associate;
1: - struct hlist_head shm_shmctl;
1: - struct hlist_head shm_shmat;
1: - struct hlist_head sem_alloc_security;
1: - struct hlist_head sem_free_security;
1: - struct hlist_head sem_associate;
1: - struct hlist_head sem_semctl;
1: - struct hlist_head sem_semop;
1: - struct hlist_head netlink_send;
1: - struct hlist_head d_instantiate;
1: - struct hlist_head getprocattr;
1: - struct hlist_head setprocattr;
1: - struct hlist_head ismaclabel;
1: - struct hlist_head secid_to_secctx;
1: - struct hlist_head secctx_to_secid;
1: - struct hlist_head release_secctx;
1: - struct hlist_head inode_invalidate_secctx;
1: - struct hlist_head inode_notifysecctx;
1: - struct hlist_head inode_setsecctx;
1: - struct hlist_head inode_getsecctx;
1: - struct hlist_head unix_stream_connect;
1: - struct hlist_head unix_may_send;
1: - struct hlist_head socket_create;
1: - struct hlist_head socket_post_create;
1: - struct hlist_head socket_socketpair;
1: - struct hlist_head socket_bind;
1: - struct hlist_head socket_connect;
1: - struct hlist_head socket_listen;
1: - struct hlist_head socket_accept;
1: - struct hlist_head socket_sendmsg;
1: - struct hlist_head socket_recvmsg;
1: - struct hlist_head socket_getsockname;
1: - struct hlist_head socket_getpeername;
1: - struct hlist_head socket_getsockopt;
1: - struct hlist_head socket_setsockopt;
1: - struct hlist_head socket_shutdown;
1: - struct hlist_head socket_sock_rcv_skb;
1: - struct hlist_head socket_getpeersec_stream;
1: - struct hlist_head socket_getpeersec_dgram;
1: - struct hlist_head sk_alloc_security;
1: - struct hlist_head sk_free_security;
1: - struct hlist_head sk_clone_security;
1: - struct hlist_head sk_getsecid;
1: - struct hlist_head sock_graft;
1: - struct hlist_head inet_conn_request;
1: - struct hlist_head inet_csk_clone;
1: - struct hlist_head inet_conn_established;
1: - struct hlist_head secmark_relabel_packet;
1: - struct hlist_head secmark_refcount_inc;
1: - struct hlist_head secmark_refcount_dec;
1: - struct hlist_head req_classify_flow;
1: - struct hlist_head tun_dev_alloc_security;
1: - struct hlist_head tun_dev_free_security;
1: - struct hlist_head tun_dev_create;
1: - struct hlist_head tun_dev_attach_queue;
1: - struct hlist_head tun_dev_attach;
1: - struct hlist_head tun_dev_open;
1: - struct hlist_head sctp_assoc_request;
1: - struct hlist_head sctp_bind_connect;
1: - struct hlist_head sctp_sk_clone;
1: - struct hlist_head key_alloc;
1: - struct hlist_head key_free;
1: - struct hlist_head key_permission;
1: - struct hlist_head key_getsecurity;
1: - struct hlist_head audit_rule_init;
1: - struct hlist_head audit_rule_known;
1: - struct hlist_head audit_rule_match;
1: - struct hlist_head audit_rule_free;
1: - struct hlist_head locked_down;
1: - struct hlist_head perf_event_open;
1: - struct hlist_head perf_event_alloc;
1: - struct hlist_head perf_event_free;
1: - struct hlist_head perf_event_read;
1: - struct hlist_head perf_event_write;
1: + struct hlist_head binder_set_context_mgr;
1: + struct hlist_head binder_transaction;
1: + struct hlist_head binder_transfer_binder;
1: + struct hlist_head binder_transfer_file;
1: + struct hlist_head ptrace_access_check;
1: + struct hlist_head ptrace_traceme;
1: + struct hlist_head capget;
1: + struct hlist_head capset;
1: + struct hlist_head capable;
1: + struct hlist_head quotactl;
1: + struct hlist_head quota_on;
1: + struct hlist_head syslog;
1: + struct hlist_head settime;
1: + struct hlist_head vm_enough_memory;
1: + struct hlist_head bprm_set_creds;
1: + struct hlist_head bprm_check_security;
1: + struct hlist_head bprm_committing_creds;
1: + struct hlist_head bprm_committed_creds;
1: + struct hlist_head fs_context_dup;
1: + struct hlist_head fs_context_parse_param;
1: + struct hlist_head sb_alloc_security;
1: + struct hlist_head sb_free_security;
1: + struct hlist_head sb_free_mnt_opts;
1: + struct hlist_head sb_eat_lsm_opts;
1: + struct hlist_head sb_remount;
1: + struct hlist_head sb_kern_mount;
1: + struct hlist_head sb_show_options;
1: + struct hlist_head sb_statfs;
1: + struct hlist_head sb_mount;
1: + struct hlist_head sb_umount;
1: + struct hlist_head sb_pivotroot;
1: + struct hlist_head sb_set_mnt_opts;
1: + struct hlist_head sb_clone_mnt_opts;
1: + struct hlist_head sb_add_mnt_opt;
1: + struct hlist_head move_mount;
1: + struct hlist_head dentry_init_security;
1: + struct hlist_head dentry_create_files_as;
1: + struct hlist_head path_notify;
1: + struct hlist_head inode_alloc_security;
1: + struct hlist_head inode_free_security;
1: + struct hlist_head inode_init_security;
1: + struct hlist_head inode_create;
1: + struct hlist_head inode_link;
1: + struct hlist_head inode_unlink;
1: + struct hlist_head inode_symlink;
1: + struct hlist_head inode_mkdir;
1: + struct hlist_head inode_rmdir;
1: + struct hlist_head inode_mknod;
1: + struct hlist_head inode_rename;
1: + struct hlist_head inode_readlink;
1: + struct hlist_head inode_follow_link;
1: + struct hlist_head inode_permission;
1: + struct hlist_head inode_setattr;
1: + struct hlist_head inode_getattr;
1: + struct hlist_head inode_setxattr;
1: + struct hlist_head inode_post_setxattr;
1: + struct hlist_head inode_getxattr;
1: + struct hlist_head inode_listxattr;
1: + struct hlist_head inode_removexattr;
1: + struct hlist_head inode_need_killpriv;
1: + struct hlist_head inode_killpriv;
1: + struct hlist_head inode_getsecurity;
1: + struct hlist_head inode_setsecurity;
1: + struct hlist_head inode_listsecurity;
1: + struct hlist_head inode_getsecid;
1: + struct hlist_head inode_copy_up;
1: + struct hlist_head inode_copy_up_xattr;
1: + struct hlist_head kernfs_init_security;
1: + struct hlist_head file_permission;
1: + struct hlist_head file_alloc_security;
1: + struct hlist_head file_free_security;
1: + struct hlist_head file_ioctl;
1: + struct hlist_head mmap_addr;
1: + struct hlist_head mmap_file;
1: + struct hlist_head file_mprotect;
1: + struct hlist_head file_lock;
1: + struct hlist_head file_fcntl;
1: + struct hlist_head file_set_fowner;
1: + struct hlist_head file_send_sigiotask;
1: + struct hlist_head file_receive;
1: + struct hlist_head file_open;
1: + struct hlist_head task_alloc;
1: + struct hlist_head task_free;
1: + struct hlist_head cred_alloc_blank;
1: + struct hlist_head cred_free;
1: + struct hlist_head cred_prepare;
1: + struct hlist_head cred_transfer;
1: + struct hlist_head cred_getsecid;
1: + struct hlist_head kernel_act_as;
1: + struct hlist_head kernel_create_files_as;
1: + struct hlist_head kernel_load_data;
1: + struct hlist_head kernel_read_file;
1: + struct hlist_head kernel_post_read_file;
1: + struct hlist_head kernel_module_request;
1: + struct hlist_head task_fix_setuid;
1: + struct hlist_head task_setpgid;
1: + struct hlist_head task_getpgid;
1: + struct hlist_head task_getsid;
1: + struct hlist_head task_getsecid;
1: + struct hlist_head task_setnice;
1: + struct hlist_head task_setioprio;
1: + struct hlist_head task_getioprio;
1: + struct hlist_head task_prlimit;
1: + struct hlist_head task_setrlimit;
1: + struct hlist_head task_setscheduler;
1: + struct hlist_head task_getscheduler;
1: + struct hlist_head task_movememory;
1: + struct hlist_head task_kill;
1: + struct hlist_head task_prctl;
1: + struct hlist_head task_to_inode;
1: + struct hlist_head ipc_permission;
1: + struct hlist_head ipc_getsecid;
1: + struct hlist_head msg_msg_alloc_security;
1: + struct hlist_head msg_msg_free_security;
1: + struct hlist_head msg_queue_alloc_security;
1: + struct hlist_head msg_queue_free_security;
1: + struct hlist_head msg_queue_associate;
1: + struct hlist_head msg_queue_msgctl;
1: + struct hlist_head msg_queue_msgsnd;
1: + struct hlist_head msg_queue_msgrcv;
1: + struct hlist_head shm_alloc_security;
1: + struct hlist_head shm_free_security;
1: + struct hlist_head shm_associate;
1: + struct hlist_head shm_shmctl;
1: + struct hlist_head shm_shmat;
1: + struct hlist_head sem_alloc_security;
1: + struct hlist_head sem_free_security;
1: + struct hlist_head sem_associate;
1: + struct hlist_head sem_semctl;
1: + struct hlist_head sem_semop;
1: + struct hlist_head netlink_send;
1: + struct hlist_head d_instantiate;
1: + struct hlist_head getprocattr;
1: + struct hlist_head setprocattr;
1: + struct hlist_head ismaclabel;
1: + struct hlist_head secid_to_secctx;
1: + struct hlist_head secctx_to_secid;
1: + struct hlist_head release_secctx;
1: + struct hlist_head inode_invalidate_secctx;
1: + struct hlist_head inode_notifysecctx;
1: + struct hlist_head inode_setsecctx;
1: + struct hlist_head inode_getsecctx;
1: + struct hlist_head unix_stream_connect;
1: + struct hlist_head unix_may_send;
1: + struct hlist_head socket_create;
1: + struct hlist_head socket_post_create;
1: + struct hlist_head socket_socketpair;
1: + struct hlist_head socket_bind;
1: + struct hlist_head socket_connect;
1: + struct hlist_head socket_listen;
1: + struct hlist_head socket_accept;
1: + struct hlist_head socket_sendmsg;
1: + struct hlist_head socket_recvmsg;
1: + struct hlist_head socket_getsockname;
1: + struct hlist_head socket_getpeername;
1: + struct hlist_head socket_getsockopt;
1: + struct hlist_head socket_setsockopt;
1: + struct hlist_head socket_shutdown;
1: + struct hlist_head socket_sock_rcv_skb;
1: + struct hlist_head socket_getpeersec_stream;
1: + struct hlist_head socket_getpeersec_dgram;
1: + struct hlist_head sk_alloc_security;
1: + struct hlist_head sk_free_security;
1: + struct hlist_head sk_clone_security;
1: + struct hlist_head sk_getsecid;
1: + struct hlist_head sock_graft;
1: + struct hlist_head inet_conn_request;
1: + struct hlist_head inet_csk_clone;
1: + struct hlist_head inet_conn_established;
1: + struct hlist_head secmark_relabel_packet;
1: + struct hlist_head secmark_refcount_inc;
1: + struct hlist_head secmark_refcount_dec;
1: + struct hlist_head req_classify_flow;
1: + struct hlist_head tun_dev_alloc_security;
1: + struct hlist_head tun_dev_free_security;
1: + struct hlist_head tun_dev_create;
1: + struct hlist_head tun_dev_attach_queue;
1: + struct hlist_head tun_dev_attach;
1: + struct hlist_head tun_dev_open;
1: + struct hlist_head sctp_assoc_request;
1: + struct hlist_head sctp_bind_connect;
1: + struct hlist_head sctp_sk_clone;
1: + struct hlist_head key_alloc;
1: + struct hlist_head key_free;
1: + struct hlist_head key_permission;
1: + struct hlist_head key_getsecurity;
1: + struct hlist_head audit_rule_init;
1: + struct hlist_head audit_rule_known;
1: + struct hlist_head audit_rule_match;
1: + struct hlist_head audit_rule_free;
1: + struct hlist_head locked_down;
1: + struct hlist_head perf_event_open;
1: + struct hlist_head perf_event_alloc;
1: + struct hlist_head perf_event_free;
1: + struct hlist_head perf_event_read;
1: + struct hlist_head perf_event_write;
1: };
1:
1: struct security_hook_list {
1: - struct hlist_node list;
1: - struct hlist_head *head;
1: - union security_list_options hook;
1: - char *lsm;
1: + struct hlist_node list;
1: + struct hlist_head *head;
1: + union security_list_options hook;
1: + char *lsm;
1: };
1:
1: struct lsm_blob_sizes {
1: - int lbs_cred;
1: - int lbs_file;
1: - int lbs_inode;
1: - int lbs_ipc;
1: - int lbs_msg_msg;
1: - int lbs_task;
1: + int lbs_cred;
1: + int lbs_file;
1: + int lbs_inode;
1: + int lbs_ipc;
1: + int lbs_msg_msg;
1: + int lbs_task;
1: };
1:
1: enum lsm_order {
1: - LSM_ORDER_FIRST = -1,
1: - LSM_ORDER_MUTABLE = 0,
1: + LSM_ORDER_FIRST = -1,
1: + LSM_ORDER_MUTABLE = 0,
1: };
1:
1: struct lsm_info {
1: - const char *name;
1: - enum lsm_order order;
1: - long unsigned int flags;
1: - int *enabled;
1: - int (*init)();
1: - struct lsm_blob_sizes *blobs;
1: + const char *name;
1: + enum lsm_order order;
1: + long unsigned int flags;
1: + int *enabled;
1: + int (*init)();
1: + struct lsm_blob_sizes *blobs;
1: };
1:
1: enum lsm_event {
1: - LSM_POLICY_CHANGE = 0,
1: + LSM_POLICY_CHANGE = 0,
1: };
1:
1: typedef int (*initxattrs___2)(struct inode *, const struct xattr *, void *);
1:
1: enum ib_uverbs_write_cmds {
1: - IB_USER_VERBS_CMD_GET_CONTEXT = 0,
1: - IB_USER_VERBS_CMD_QUERY_DEVICE = 1,
1: - IB_USER_VERBS_CMD_QUERY_PORT = 2,
1: - IB_USER_VERBS_CMD_ALLOC_PD = 3,
1: - IB_USER_VERBS_CMD_DEALLOC_PD = 4,
1: - IB_USER_VERBS_CMD_CREATE_AH = 5,
1: - IB_USER_VERBS_CMD_MODIFY_AH = 6,
1: - IB_USER_VERBS_CMD_QUERY_AH = 7,
1: - IB_USER_VERBS_CMD_DESTROY_AH = 8,
1: - IB_USER_VERBS_CMD_REG_MR = 9,
1: - IB_USER_VERBS_CMD_REG_SMR = 10,
1: - IB_USER_VERBS_CMD_REREG_MR = 11,
1: - IB_USER_VERBS_CMD_QUERY_MR = 12,
1: - IB_USER_VERBS_CMD_DEREG_MR = 13,
1: - IB_USER_VERBS_CMD_ALLOC_MW = 14,
1: - IB_USER_VERBS_CMD_BIND_MW = 15,
1: - IB_USER_VERBS_CMD_DEALLOC_MW = 16,
1: - IB_USER_VERBS_CMD_CREATE_COMP_CHANNEL = 17,
1: - IB_USER_VERBS_CMD_CREATE_CQ = 18,
1: - IB_USER_VERBS_CMD_RESIZE_CQ = 19,
1: - IB_USER_VERBS_CMD_DESTROY_CQ = 20,
1: - IB_USER_VERBS_CMD_POLL_CQ = 21,
1: - IB_USER_VERBS_CMD_PEEK_CQ = 22,
1: - IB_USER_VERBS_CMD_REQ_NOTIFY_CQ = 23,
1: - IB_USER_VERBS_CMD_CREATE_QP = 24,
1: - IB_USER_VERBS_CMD_QUERY_QP = 25,
1: - IB_USER_VERBS_CMD_MODIFY_QP = 26,
1: - IB_USER_VERBS_CMD_DESTROY_QP = 27,
1: - IB_USER_VERBS_CMD_POST_SEND = 28,
1: - IB_USER_VERBS_CMD_POST_RECV = 29,
1: - IB_USER_VERBS_CMD_ATTACH_MCAST = 30,
1: - IB_USER_VERBS_CMD_DETACH_MCAST = 31,
1: - IB_USER_VERBS_CMD_CREATE_SRQ = 32,
1: - IB_USER_VERBS_CMD_MODIFY_SRQ = 33,
1: - IB_USER_VERBS_CMD_QUERY_SRQ = 34,
1: - IB_USER_VERBS_CMD_DESTROY_SRQ = 35,
1: - IB_USER_VERBS_CMD_POST_SRQ_RECV = 36,
1: - IB_USER_VERBS_CMD_OPEN_XRCD = 37,
1: - IB_USER_VERBS_CMD_CLOSE_XRCD = 38,
1: - IB_USER_VERBS_CMD_CREATE_XSRQ = 39,
1: - IB_USER_VERBS_CMD_OPEN_QP = 40,
1: + IB_USER_VERBS_CMD_GET_CONTEXT = 0,
1: + IB_USER_VERBS_CMD_QUERY_DEVICE = 1,
1: + IB_USER_VERBS_CMD_QUERY_PORT = 2,
1: + IB_USER_VERBS_CMD_ALLOC_PD = 3,
1: + IB_USER_VERBS_CMD_DEALLOC_PD = 4,
1: + IB_USER_VERBS_CMD_CREATE_AH = 5,
1: + IB_USER_VERBS_CMD_MODIFY_AH = 6,
1: + IB_USER_VERBS_CMD_QUERY_AH = 7,
1: + IB_USER_VERBS_CMD_DESTROY_AH = 8,
1: + IB_USER_VERBS_CMD_REG_MR = 9,
1: + IB_USER_VERBS_CMD_REG_SMR = 10,
1: + IB_USER_VERBS_CMD_REREG_MR = 11,
1: + IB_USER_VERBS_CMD_QUERY_MR = 12,
1: + IB_USER_VERBS_CMD_DEREG_MR = 13,
1: + IB_USER_VERBS_CMD_ALLOC_MW = 14,
1: + IB_USER_VERBS_CMD_BIND_MW = 15,
1: + IB_USER_VERBS_CMD_DEALLOC_MW = 16,
1: + IB_USER_VERBS_CMD_CREATE_COMP_CHANNEL = 17,
1: + IB_USER_VERBS_CMD_CREATE_CQ = 18,
1: + IB_USER_VERBS_CMD_RESIZE_CQ = 19,
1: + IB_USER_VERBS_CMD_DESTROY_CQ = 20,
1: + IB_USER_VERBS_CMD_POLL_CQ = 21,
1: + IB_USER_VERBS_CMD_PEEK_CQ = 22,
1: + IB_USER_VERBS_CMD_REQ_NOTIFY_CQ = 23,
1: + IB_USER_VERBS_CMD_CREATE_QP = 24,
1: + IB_USER_VERBS_CMD_QUERY_QP = 25,
1: + IB_USER_VERBS_CMD_MODIFY_QP = 26,
1: + IB_USER_VERBS_CMD_DESTROY_QP = 27,
1: + IB_USER_VERBS_CMD_POST_SEND = 28,
1: + IB_USER_VERBS_CMD_POST_RECV = 29,
1: + IB_USER_VERBS_CMD_ATTACH_MCAST = 30,
1: + IB_USER_VERBS_CMD_DETACH_MCAST = 31,
1: + IB_USER_VERBS_CMD_CREATE_SRQ = 32,
1: + IB_USER_VERBS_CMD_MODIFY_SRQ = 33,
1: + IB_USER_VERBS_CMD_QUERY_SRQ = 34,
1: + IB_USER_VERBS_CMD_DESTROY_SRQ = 35,
1: + IB_USER_VERBS_CMD_POST_SRQ_RECV = 36,
1: + IB_USER_VERBS_CMD_OPEN_XRCD = 37,
1: + IB_USER_VERBS_CMD_CLOSE_XRCD = 38,
1: + IB_USER_VERBS_CMD_CREATE_XSRQ = 39,
1: + IB_USER_VERBS_CMD_OPEN_QP = 40,
1: };
1:
1: enum ib_uverbs_create_qp_mask {
1: - IB_UVERBS_CREATE_QP_MASK_IND_TABLE = 1,
1: + IB_UVERBS_CREATE_QP_MASK_IND_TABLE = 1,
1: };
1:
1: enum ib_uverbs_wr_opcode {
1: - IB_UVERBS_WR_RDMA_WRITE = 0,
1: - IB_UVERBS_WR_RDMA_WRITE_WITH_IMM = 1,
1: - IB_UVERBS_WR_SEND = 2,
1: - IB_UVERBS_WR_SEND_WITH_IMM = 3,
1: - IB_UVERBS_WR_RDMA_READ = 4,
1: - IB_UVERBS_WR_ATOMIC_CMP_AND_SWP = 5,
1: - IB_UVERBS_WR_ATOMIC_FETCH_AND_ADD = 6,
1: - IB_UVERBS_WR_LOCAL_INV = 7,
1: - IB_UVERBS_WR_BIND_MW = 8,
1: - IB_UVERBS_WR_SEND_WITH_INV = 9,
1: - IB_UVERBS_WR_TSO = 10,
1: - IB_UVERBS_WR_RDMA_READ_WITH_INV = 11,
1: - IB_UVERBS_WR_MASKED_ATOMIC_CMP_AND_SWP = 12,
1: - IB_UVERBS_WR_MASKED_ATOMIC_FETCH_AND_ADD = 13,
1: + IB_UVERBS_WR_RDMA_WRITE = 0,
1: + IB_UVERBS_WR_RDMA_WRITE_WITH_IMM = 1,
1: + IB_UVERBS_WR_SEND = 2,
1: + IB_UVERBS_WR_SEND_WITH_IMM = 3,
1: + IB_UVERBS_WR_RDMA_READ = 4,
1: + IB_UVERBS_WR_ATOMIC_CMP_AND_SWP = 5,
1: + IB_UVERBS_WR_ATOMIC_FETCH_AND_ADD = 6,
1: + IB_UVERBS_WR_LOCAL_INV = 7,
1: + IB_UVERBS_WR_BIND_MW = 8,
1: + IB_UVERBS_WR_SEND_WITH_INV = 9,
1: + IB_UVERBS_WR_TSO = 10,
1: + IB_UVERBS_WR_RDMA_READ_WITH_INV = 11,
1: + IB_UVERBS_WR_MASKED_ATOMIC_CMP_AND_SWP = 12,
1: + IB_UVERBS_WR_MASKED_ATOMIC_FETCH_AND_ADD = 13,
1: };
1:
1: enum ib_uverbs_access_flags {
1: - IB_UVERBS_ACCESS_LOCAL_WRITE = 1,
1: - IB_UVERBS_ACCESS_REMOTE_WRITE = 2,
1: - IB_UVERBS_ACCESS_REMOTE_READ = 4,
1: - IB_UVERBS_ACCESS_REMOTE_ATOMIC = 8,
1: - IB_UVERBS_ACCESS_MW_BIND = 16,
1: - IB_UVERBS_ACCESS_ZERO_BASED = 32,
1: - IB_UVERBS_ACCESS_ON_DEMAND = 64,
1: - IB_UVERBS_ACCESS_HUGETLB = 128,
1: + IB_UVERBS_ACCESS_LOCAL_WRITE = 1,
1: + IB_UVERBS_ACCESS_REMOTE_WRITE = 2,
1: + IB_UVERBS_ACCESS_REMOTE_READ = 4,
1: + IB_UVERBS_ACCESS_REMOTE_ATOMIC = 8,
1: + IB_UVERBS_ACCESS_MW_BIND = 16,
1: + IB_UVERBS_ACCESS_ZERO_BASED = 32,
1: + IB_UVERBS_ACCESS_ON_DEMAND = 64,
1: + IB_UVERBS_ACCESS_HUGETLB = 128,
1: };
1:
1: struct lsm_network_audit {
1: - int netif;
1: - struct sock *sk;
1: - u16 family;
1: - __be16 dport;
1: - __be16 sport;
1: - union {
1: - struct {
1: - __be32 daddr;
1: - __be32 saddr;
1: - } v4;
1: - struct {
1: - struct in6_addr daddr;
1: - struct in6_addr saddr;
1: - } v6;
1: - } fam;
1: + int netif;
1: + struct sock *sk;
1: + u16 family;
1: + __be16 dport;
1: + __be16 sport;
1: + union {
1: + struct {
1: + __be32 daddr;
1: + __be32 saddr;
1: + } v4;
1: + struct {
1: + struct in6_addr daddr;
1: + struct in6_addr saddr;
1: + } v6;
1: + } fam;
1: };
1:
1: struct lsm_ioctlop_audit {
1: - struct path path;
1: - u16 cmd;
1: + struct path path;
1: + u16 cmd;
1: };
1:
1: struct lsm_ibpkey_audit {
1: - u64 subnet_prefix;
1: - u16 pkey;
1: + u64 subnet_prefix;
1: + u16 pkey;
1: };
1:
1: struct lsm_ibendport_audit {
1: - char dev_name[64];
1: - u8 port;
1: + char dev_name[64];
1: + u8 port;
1: };
1:
1: struct selinux_state;
1:
1: struct selinux_audit_data {
1: - u32 ssid;
1: - u32 tsid;
1: - u16 tclass;
1: - u32 requested;
1: - u32 audited;
1: - u32 denied;
1: - int result;
1: - struct selinux_state *state;
1: + u32 ssid;
1: + u32 tsid;
1: + u16 tclass;
1: + u32 requested;
1: + u32 audited;
1: + u32 denied;
1: + int result;
1: + struct selinux_state *state;
1: };
1:
1: struct common_audit_data {
1: - char type;
1: - union {
1: - struct path path;
1: - struct dentry *dentry;
1: - struct inode *inode;
1: - struct lsm_network_audit *net;
1: - int cap;
1: - int ipc_id;
1: - struct task_struct *tsk;
1: - struct {
1: - key_serial_t key;
1: - char *key_desc;
1: - } key_struct;
1: - char *kmod_name;
1: - struct lsm_ioctlop_audit *op;
1: - struct file *file;
1: - struct lsm_ibpkey_audit *ibpkey;
1: - struct lsm_ibendport_audit *ibendport;
1: - } u;
1: - union {
1: - struct selinux_audit_data *selinux_audit_data;
1: - };
1: -};
1: -
1: -enum {
1: - POLICYDB_CAPABILITY_NETPEER = 0,
1: - POLICYDB_CAPABILITY_OPENPERM = 1,
1: - POLICYDB_CAPABILITY_EXTSOCKCLASS = 2,
1: - POLICYDB_CAPABILITY_ALWAYSNETWORK = 3,
1: - POLICYDB_CAPABILITY_CGROUPSECLABEL = 4,
1: - POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION = 5,
1: - __POLICYDB_CAPABILITY_MAX = 6,
1: + char type;
1: + union {
1: + struct path path;
1: + struct dentry *dentry;
1: + struct inode *inode;
1: + struct lsm_network_audit *net;
1: + int cap;
1: + int ipc_id;
1: + struct task_struct *tsk;
1: + struct {
1: + key_serial_t key;
1: + char *key_desc;
1: + } key_struct;
1: + char *kmod_name;
1: + struct lsm_ioctlop_audit *op;
1: + struct file *file;
1: + struct lsm_ibpkey_audit *ibpkey;
1: + struct lsm_ibendport_audit *ibendport;
1: + } u;
1: + union {
1: + struct selinux_audit_data *selinux_audit_data;
1: + };
1: +};
1: +
1: +enum {
1: + POLICYDB_CAPABILITY_NETPEER = 0,
1: + POLICYDB_CAPABILITY_OPENPERM = 1,
1: + POLICYDB_CAPABILITY_EXTSOCKCLASS = 2,
1: + POLICYDB_CAPABILITY_ALWAYSNETWORK = 3,
1: + POLICYDB_CAPABILITY_CGROUPSECLABEL = 4,
1: + POLICYDB_CAPABILITY_NNP_NOSUID_TRANSITION = 5,
1: + __POLICYDB_CAPABILITY_MAX = 6,
1: };
1:
1: struct selinux_avc;
1: @@ -50949,128 +51357,128 @@ struct selinux_avc;
1: struct selinux_ss;
1:
1: struct selinux_state {
1: - bool disabled;
1: - bool enforcing;
1: - bool checkreqprot;
1: - bool initialized;
1: - bool policycap[6];
1: - struct selinux_avc *avc;
1: - struct selinux_ss *ss;
1: + bool disabled;
1: + bool enforcing;
1: + bool checkreqprot;
1: + bool initialized;
1: + bool policycap[6];
1: + struct selinux_avc *avc;
1: + struct selinux_ss *ss;
1: };
1:
1: struct avc_cache {
1: - struct hlist_head slots[512];
1: - spinlock_t slots_lock[512];
1: - atomic_t lru_hint;
1: - atomic_t active_nodes;
1: - u32 latest_notif;
1: + struct hlist_head slots[512];
1: + spinlock_t slots_lock[512];
1: + atomic_t lru_hint;
1: + atomic_t active_nodes;
1: + u32 latest_notif;
1: };
1:
1: struct selinux_avc {
1: - unsigned int avc_cache_threshold;
1: - struct avc_cache avc_cache;
1: + unsigned int avc_cache_threshold;
1: + struct avc_cache avc_cache;
1: };
1:
1: struct av_decision {
1: - u32 allowed;
1: - u32 auditallow;
1: - u32 auditdeny;
1: - u32 seqno;
1: - u32 flags;
1: + u32 allowed;
1: + u32 auditallow;
1: + u32 auditdeny;
1: + u32 seqno;
1: + u32 flags;
1: };
1:
1: struct extended_perms_data {
1: - u32 p[8];
1: + u32 p[8];
1: };
1:
1: struct extended_perms_decision {
1: - u8 used;
1: - u8 driver;
1: - struct extended_perms_data *allowed;
1: - struct extended_perms_data *auditallow;
1: - struct extended_perms_data *dontaudit;
1: + u8 used;
1: + u8 driver;
1: + struct extended_perms_data *allowed;
1: + struct extended_perms_data *auditallow;
1: + struct extended_perms_data *dontaudit;
1: };
1:
1: struct extended_perms {
1: - u16 len;
1: - struct extended_perms_data drivers;
1: + u16 len;
1: + struct extended_perms_data drivers;
1: };
1:
1: struct avc_cache_stats {
1: - unsigned int lookups;
1: - unsigned int misses;
1: - unsigned int allocations;
1: - unsigned int reclaims;
1: - unsigned int frees;
1: + unsigned int lookups;
1: + unsigned int misses;
1: + unsigned int allocations;
1: + unsigned int reclaims;
1: + unsigned int frees;
1: };
1:
1: struct security_class_mapping {
1: - const char *name;
1: - const char *perms[33];
1: + const char *name;
1: + const char *perms[33];
1: };
1:
1: struct avc_xperms_node;
1:
1: struct avc_entry {
1: - u32 ssid;
1: - u32 tsid;
1: - u16 tclass;
1: - struct av_decision avd;
1: - struct avc_xperms_node *xp_node;
1: + u32 ssid;
1: + u32 tsid;
1: + u16 tclass;
1: + struct av_decision avd;
1: + struct avc_xperms_node *xp_node;
1: };
1:
1: struct avc_xperms_node {
1: - struct extended_perms xp;
1: - struct list_head xpd_head;
1: + struct extended_perms xp;
1: + struct list_head xpd_head;
1: };
1:
1: struct avc_node {
1: - struct avc_entry ae;
1: - struct hlist_node list;
1: - struct callback_head rhead;
1: + struct avc_entry ae;
1: + struct hlist_node list;
1: + struct callback_head rhead;
1: };
1:
1: struct avc_xperms_decision_node {
1: - struct extended_perms_decision xpd;
1: - struct list_head xpd_list;
1: + struct extended_perms_decision xpd;
1: + struct list_head xpd_list;
1: };
1:
1: struct avc_callback_node {
1: - int (*callback)(u32);
1: - u32 events;
1: - struct avc_callback_node *next;
1: + int (*callback)(u32);
1: + u32 events;
1: + struct avc_callback_node *next;
1: };
1:
1: typedef __u16 __sum16;
1:
1: enum sctp_endpoint_type {
1: - SCTP_EP_TYPE_SOCKET = 0,
1: - SCTP_EP_TYPE_ASSOCIATION = 1,
1: + SCTP_EP_TYPE_SOCKET = 0,
1: + SCTP_EP_TYPE_ASSOCIATION = 1,
1: };
1:
1: struct sctp_chunk;
1:
1: struct sctp_inq {
1: - struct list_head in_chunk_list;
1: - struct sctp_chunk *in_progress;
1: - struct work_struct immediate;
1: + struct list_head in_chunk_list;
1: + struct sctp_chunk *in_progress;
1: + struct work_struct immediate;
1: };
1:
1: struct sctp_bind_addr {
1: - __u16 port;
1: - struct list_head address_list;
1: + __u16 port;
1: + struct list_head address_list;
1: };
1:
1: struct sctp_ep_common {
1: - struct hlist_node node;
1: - int hashent;
1: - enum sctp_endpoint_type type;
1: - refcount_t refcnt;
1: - bool dead;
1: - struct sock *sk;
1: - struct net *net;
1: - struct sctp_inq inqueue;
1: - struct sctp_bind_addr bind_addr;
1: + struct hlist_node node;
1: + int hashent;
1: + enum sctp_endpoint_type type;
1: + refcount_t refcnt;
1: + bool dead;
1: + struct sock *sk;
1: + struct net *net;
1: + struct sctp_inq inqueue;
1: + struct sctp_bind_addr bind_addr;
1: };
1:
1: struct sctp_hmac_algo_param;
1: @@ -51078,35 +51486,35 @@ struct sctp_hmac_algo_param;
1: struct sctp_chunks_param;
1:
1: struct sctp_endpoint {
1: - struct sctp_ep_common base;
1: - struct list_head asocs;
1: - __u8 secret_key[32];
1: - __u8 *digest;
1: - __u32 sndbuf_policy;
1: - __u32 rcvbuf_policy;
1: - struct crypto_shash **auth_hmacs;
1: - struct sctp_hmac_algo_param *auth_hmacs_list;
1: - struct sctp_chunks_param *auth_chunk_list;
1: - struct list_head endpoint_shared_keys;
1: - __u16 active_key_id;
1: - __u8 ecn_enable: 1;
1: - __u8 auth_enable: 1;
1: - __u8 intl_enable: 1;
1: - __u8 prsctp_enable: 1;
1: - __u8 asconf_enable: 1;
1: - __u8 reconf_enable: 1;
1: - __u8 strreset_enable;
1: - u32 secid;
1: - u32 peer_secid;
1: + struct sctp_ep_common base;
1: + struct list_head asocs;
1: + __u8 secret_key[32];
1: + __u8 *digest;
1: + __u32 sndbuf_policy;
1: + __u32 rcvbuf_policy;
1: + struct crypto_shash **auth_hmacs;
1: + struct sctp_hmac_algo_param *auth_hmacs_list;
1: + struct sctp_chunks_param *auth_chunk_list;
1: + struct list_head endpoint_shared_keys;
1: + __u16 active_key_id;
1: + __u8 ecn_enable : 1;
1: + __u8 auth_enable : 1;
1: + __u8 intl_enable : 1;
1: + __u8 prsctp_enable : 1;
1: + __u8 asconf_enable : 1;
1: + __u8 reconf_enable : 1;
1: + __u8 strreset_enable;
1: + u32 secid;
1: + u32 peer_secid;
1: };
1:
1: struct inet_listen_hashbucket {
1: - spinlock_t lock;
1: - unsigned int count;
1: - union {
1: - struct hlist_head head;
1: - struct hlist_nulls_head nulls_head;
1: - };
1: + spinlock_t lock;
1: + unsigned int count;
1: + union {
1: + struct hlist_head head;
1: + struct hlist_nulls_head nulls_head;
1: + };
1: };
1:
1: struct inet_ehash_bucket;
1: @@ -51114,168 +51522,171 @@ struct inet_ehash_bucket;
1: struct inet_bind_hashbucket;
1:
1: struct inet_hashinfo {
1: - struct inet_ehash_bucket *ehash;
1: - spinlock_t *ehash_locks;
1: - unsigned int ehash_mask;
1: - unsigned int ehash_locks_mask;
1: - struct kmem_cache *bind_bucket_cachep;
1: - struct inet_bind_hashbucket *bhash;
1: - unsigned int bhash_size;
1: - unsigned int lhash2_mask;
1: - struct inet_listen_hashbucket *lhash2;
1: - long: 64;
1: - struct inet_listen_hashbucket listening_hash[32];
1: + struct inet_ehash_bucket *ehash;
1: + spinlock_t *ehash_locks;
1: + unsigned int ehash_mask;
1: + unsigned int ehash_locks_mask;
1: + struct kmem_cache *bind_bucket_cachep;
1: + struct inet_bind_hashbucket *bhash;
1: + unsigned int bhash_size;
1: + unsigned int lhash2_mask;
1: + struct inet_listen_hashbucket *lhash2;
1: + long : 64;
1: + struct inet_listen_hashbucket listening_hash[32];
1: };
1:
1: struct tcp_fastopen_context {
1: - siphash_key_t key[2];
1: - int num;
1: - struct callback_head rcu;
1: + siphash_key_t key[2];
1: + int num;
1: + struct callback_head rcu;
1: };
1:
1: struct nf_hook_state;
1:
1: -typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *);
1: +typedef unsigned int nf_hookfn(void *, struct sk_buff *,
1: + const struct nf_hook_state *);
1:
1: struct nf_hook_entry {
1: - nf_hookfn *hook;
1: - void *priv;
1: + nf_hookfn *hook;
1: + void *priv;
1: };
1:
1: struct nf_hook_entries {
1: - u16 num_hook_entries;
1: - struct nf_hook_entry hooks[0];
1: + u16 num_hook_entries;
1: + struct nf_hook_entry hooks[0];
1: };
1:
1: struct nf_hook_state {
1: - unsigned int hook;
1: - u_int8_t pf;
1: - struct net_device *in;
1: - struct net_device *out;
1: - struct sock *sk;
1: - struct net *net;
1: - int (*okfn)(struct net *, struct sock *, struct sk_buff *);
1: + unsigned int hook;
1: + u_int8_t pf;
1: + struct net_device *in;
1: + struct net_device *out;
1: + struct sock *sk;
1: + struct net *net;
1: + int (*okfn)(struct net *, struct sock *, struct sk_buff *);
1: };
1:
1: struct nf_hook_ops {
1: - nf_hookfn *hook;
1: - struct net_device *dev;
1: - void *priv;
1: - u_int8_t pf;
1: - unsigned int hooknum;
1: - int priority;
1: + nf_hookfn *hook;
1: + struct net_device *dev;
1: + void *priv;
1: + u_int8_t pf;
1: + unsigned int hooknum;
1: + int priority;
1: };
1:
1: enum nf_nat_manip_type {
1: - NF_NAT_MANIP_SRC = 0,
1: - NF_NAT_MANIP_DST = 1,
1: + NF_NAT_MANIP_SRC = 0,
1: + NF_NAT_MANIP_DST = 1,
1: };
1:
1: enum ip_conntrack_dir {
1: - IP_CT_DIR_ORIGINAL = 0,
1: - IP_CT_DIR_REPLY = 1,
1: - IP_CT_DIR_MAX = 2,
1: + IP_CT_DIR_ORIGINAL = 0,
1: + IP_CT_DIR_REPLY = 1,
1: + IP_CT_DIR_MAX = 2,
1: };
1:
1: struct nf_conn;
1:
1: struct nf_nat_hook {
1: - int (*parse_nat_setup)(struct nf_conn *, enum nf_nat_manip_type, const struct nlattr *);
1: - void (*decode_session)(struct sk_buff *, struct flowi *);
1: - unsigned int (*manip_pkt)(struct sk_buff *, struct nf_conn *, enum nf_nat_manip_type, enum ip_conntrack_dir);
1: + int (*parse_nat_setup)(struct nf_conn *, enum nf_nat_manip_type,
1: + const struct nlattr *);
1: + void (*decode_session)(struct sk_buff *, struct flowi *);
1: + unsigned int (*manip_pkt)(struct sk_buff *, struct nf_conn *,
1: + enum nf_nat_manip_type, enum ip_conntrack_dir);
1: };
1:
1: enum nf_ip_hook_priorities {
1: - NF_IP_PRI_FIRST = -2147483648,
1: - NF_IP_PRI_RAW_BEFORE_DEFRAG = -450,
1: - NF_IP_PRI_CONNTRACK_DEFRAG = -400,
1: - NF_IP_PRI_RAW = -300,
1: - NF_IP_PRI_SELINUX_FIRST = -225,
1: - NF_IP_PRI_CONNTRACK = -200,
1: - NF_IP_PRI_MANGLE = -150,
1: - NF_IP_PRI_NAT_DST = -100,
1: - NF_IP_PRI_FILTER = 0,
1: - NF_IP_PRI_SECURITY = 50,
1: - NF_IP_PRI_NAT_SRC = 100,
1: - NF_IP_PRI_SELINUX_LAST = 225,
1: - NF_IP_PRI_CONNTRACK_HELPER = 300,
1: - NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647,
1: - NF_IP_PRI_LAST = 2147483647,
1: + NF_IP_PRI_FIRST = -2147483648,
1: + NF_IP_PRI_RAW_BEFORE_DEFRAG = -450,
1: + NF_IP_PRI_CONNTRACK_DEFRAG = -400,
1: + NF_IP_PRI_RAW = -300,
1: + NF_IP_PRI_SELINUX_FIRST = -225,
1: + NF_IP_PRI_CONNTRACK = -200,
1: + NF_IP_PRI_MANGLE = -150,
1: + NF_IP_PRI_NAT_DST = -100,
1: + NF_IP_PRI_FILTER = 0,
1: + NF_IP_PRI_SECURITY = 50,
1: + NF_IP_PRI_NAT_SRC = 100,
1: + NF_IP_PRI_SELINUX_LAST = 225,
1: + NF_IP_PRI_CONNTRACK_HELPER = 300,
1: + NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647,
1: + NF_IP_PRI_LAST = 2147483647,
1: };
1:
1: enum nf_ip6_hook_priorities {
1: - NF_IP6_PRI_FIRST = -2147483648,
1: - NF_IP6_PRI_RAW_BEFORE_DEFRAG = -450,
1: - NF_IP6_PRI_CONNTRACK_DEFRAG = -400,
1: - NF_IP6_PRI_RAW = -300,
1: - NF_IP6_PRI_SELINUX_FIRST = -225,
1: - NF_IP6_PRI_CONNTRACK = -200,
1: - NF_IP6_PRI_MANGLE = -150,
1: - NF_IP6_PRI_NAT_DST = -100,
1: - NF_IP6_PRI_FILTER = 0,
1: - NF_IP6_PRI_SECURITY = 50,
1: - NF_IP6_PRI_NAT_SRC = 100,
1: - NF_IP6_PRI_SELINUX_LAST = 225,
1: - NF_IP6_PRI_CONNTRACK_HELPER = 300,
1: - NF_IP6_PRI_LAST = 2147483647,
1: -};
1: -
1: -enum {
1: - TCPF_ESTABLISHED = 2,
1: - TCPF_SYN_SENT = 4,
1: - TCPF_SYN_RECV = 8,
1: - TCPF_FIN_WAIT1 = 16,
1: - TCPF_FIN_WAIT2 = 32,
1: - TCPF_TIME_WAIT = 64,
1: - TCPF_CLOSE = 128,
1: - TCPF_CLOSE_WAIT = 256,
1: - TCPF_LAST_ACK = 512,
1: - TCPF_LISTEN = 1024,
1: - TCPF_CLOSING = 2048,
1: - TCPF_NEW_SYN_RECV = 4096,
1: + NF_IP6_PRI_FIRST = -2147483648,
1: + NF_IP6_PRI_RAW_BEFORE_DEFRAG = -450,
1: + NF_IP6_PRI_CONNTRACK_DEFRAG = -400,
1: + NF_IP6_PRI_RAW = -300,
1: + NF_IP6_PRI_SELINUX_FIRST = -225,
1: + NF_IP6_PRI_CONNTRACK = -200,
1: + NF_IP6_PRI_MANGLE = -150,
1: + NF_IP6_PRI_NAT_DST = -100,
1: + NF_IP6_PRI_FILTER = 0,
1: + NF_IP6_PRI_SECURITY = 50,
1: + NF_IP6_PRI_NAT_SRC = 100,
1: + NF_IP6_PRI_SELINUX_LAST = 225,
1: + NF_IP6_PRI_CONNTRACK_HELPER = 300,
1: + NF_IP6_PRI_LAST = 2147483647,
1: +};
1: +
1: +enum {
1: + TCPF_ESTABLISHED = 2,
1: + TCPF_SYN_SENT = 4,
1: + TCPF_SYN_RECV = 8,
1: + TCPF_FIN_WAIT1 = 16,
1: + TCPF_FIN_WAIT2 = 32,
1: + TCPF_TIME_WAIT = 64,
1: + TCPF_CLOSE = 128,
1: + TCPF_CLOSE_WAIT = 256,
1: + TCPF_LAST_ACK = 512,
1: + TCPF_LISTEN = 1024,
1: + TCPF_CLOSING = 2048,
1: + TCPF_NEW_SYN_RECV = 4096,
1: };
1:
1: struct sock_reuseport {
1: - struct callback_head rcu;
1: - u16 max_socks;
1: - u16 num_socks;
1: - unsigned int synq_overflow_ts;
1: - unsigned int reuseport_id;
1: - unsigned int bind_inany: 1;
1: - unsigned int has_conns: 1;
1: - struct bpf_prog *prog;
1: - struct sock *socks[0];
1: + struct callback_head rcu;
1: + u16 max_socks;
1: + u16 num_socks;
1: + unsigned int synq_overflow_ts;
1: + unsigned int reuseport_id;
1: + unsigned int bind_inany : 1;
1: + unsigned int has_conns : 1;
1: + struct bpf_prog *prog;
1: + struct sock *socks[0];
1: };
1:
1: struct socket_alloc {
1: - struct socket socket;
1: - struct inode vfs_inode;
1: - long: 64;
1: - long: 64;
1: + struct socket socket;
1: + struct inode vfs_inode;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct ip_options {
1: - __be32 faddr;
1: - __be32 nexthop;
1: - unsigned char optlen;
1: - unsigned char srr;
1: - unsigned char rr;
1: - unsigned char ts;
1: - unsigned char is_strictroute: 1;
1: - unsigned char srr_is_hit: 1;
1: - unsigned char is_changed: 1;
1: - unsigned char rr_needaddr: 1;
1: - unsigned char ts_needtime: 1;
1: - unsigned char ts_needaddr: 1;
1: - unsigned char router_alert;
1: - unsigned char cipso;
1: - unsigned char __pad2;
1: - unsigned char __data[0];
1: + __be32 faddr;
1: + __be32 nexthop;
1: + unsigned char optlen;
1: + unsigned char srr;
1: + unsigned char rr;
1: + unsigned char ts;
1: + unsigned char is_strictroute : 1;
1: + unsigned char srr_is_hit : 1;
1: + unsigned char is_changed : 1;
1: + unsigned char rr_needaddr : 1;
1: + unsigned char ts_needtime : 1;
1: + unsigned char ts_needaddr : 1;
1: + unsigned char router_alert;
1: + unsigned char cipso;
1: + unsigned char __pad2;
1: + unsigned char __data[0];
1: };
1:
1: struct ip_options_rcu {
1: - struct callback_head rcu;
1: - struct ip_options opt;
1: + struct callback_head rcu;
1: + struct ip_options opt;
1: };
1:
1: struct ipv6_opt_hdr;
1: @@ -51283,36 +51694,36 @@ struct ipv6_opt_hdr;
1: struct ipv6_rt_hdr;
1:
1: struct ipv6_txoptions {
1: - refcount_t refcnt;
1: - int tot_len;
1: - __u16 opt_flen;
1: - __u16 opt_nflen;
1: - struct ipv6_opt_hdr *hopopt;
1: - struct ipv6_opt_hdr *dst0opt;
1: - struct ipv6_rt_hdr *srcrt;
1: - struct ipv6_opt_hdr *dst1opt;
1: - struct callback_head rcu;
1: + refcount_t refcnt;
1: + int tot_len;
1: + __u16 opt_flen;
1: + __u16 opt_nflen;
1: + struct ipv6_opt_hdr *hopopt;
1: + struct ipv6_opt_hdr *dst0opt;
1: + struct ipv6_rt_hdr *srcrt;
1: + struct ipv6_opt_hdr *dst1opt;
1: + struct callback_head rcu;
1: };
1:
1: struct inet_cork {
1: - unsigned int flags;
1: - __be32 addr;
1: - struct ip_options *opt;
1: - unsigned int fragsize;
1: - int length;
1: - struct dst_entry *dst;
1: - u8 tx_flags;
1: - __u8 ttl;
1: - __s16 tos;
1: - char priority;
1: - __u16 gso_size;
1: - u64 transmit_time;
1: - u32 mark;
1: + unsigned int flags;
1: + __be32 addr;
1: + struct ip_options *opt;
1: + unsigned int fragsize;
1: + int length;
1: + struct dst_entry *dst;
1: + u8 tx_flags;
1: + __u8 ttl;
1: + __s16 tos;
1: + char priority;
1: + __u16 gso_size;
1: + u64 transmit_time;
1: + u32 mark;
1: };
1:
1: struct inet_cork_full {
1: - struct inet_cork base;
1: - struct flowi fl;
1: + struct inet_cork base;
1: + struct flowi fl;
1: };
1:
1: struct ipv6_pinfo;
1: @@ -51320,47 +51731,47 @@ struct ipv6_pinfo;
1: struct ip_mc_socklist;
1:
1: struct inet_sock {
1: - struct sock sk;
1: - struct ipv6_pinfo *pinet6;
1: - __be32 inet_saddr;
1: - __s16 uc_ttl;
1: - __u16 cmsg_flags;
1: - __be16 inet_sport;
1: - __u16 inet_id;
1: - struct ip_options_rcu *inet_opt;
1: - int rx_dst_ifindex;
1: - __u8 tos;
1: - __u8 min_ttl;
1: - __u8 mc_ttl;
1: - __u8 pmtudisc;
1: - __u8 recverr: 1;
1: - __u8 is_icsk: 1;
1: - __u8 freebind: 1;
1: - __u8 hdrincl: 1;
1: - __u8 mc_loop: 1;
1: - __u8 transparent: 1;
1: - __u8 mc_all: 1;
1: - __u8 nodefrag: 1;
1: - __u8 bind_address_no_port: 1;
1: - __u8 defer_connect: 1;
1: - __u8 rcv_tos;
1: - __u8 convert_csum;
1: - int uc_index;
1: - int mc_index;
1: - __be32 mc_addr;
1: - struct ip_mc_socklist *mc_list;
1: - struct inet_cork_full cork;
1: + struct sock sk;
1: + struct ipv6_pinfo *pinet6;
1: + __be32 inet_saddr;
1: + __s16 uc_ttl;
1: + __u16 cmsg_flags;
1: + __be16 inet_sport;
1: + __u16 inet_id;
1: + struct ip_options_rcu *inet_opt;
1: + int rx_dst_ifindex;
1: + __u8 tos;
1: + __u8 min_ttl;
1: + __u8 mc_ttl;
1: + __u8 pmtudisc;
1: + __u8 recverr : 1;
1: + __u8 is_icsk : 1;
1: + __u8 freebind : 1;
1: + __u8 hdrincl : 1;
1: + __u8 mc_loop : 1;
1: + __u8 transparent : 1;
1: + __u8 mc_all : 1;
1: + __u8 nodefrag : 1;
1: + __u8 bind_address_no_port : 1;
1: + __u8 defer_connect : 1;
1: + __u8 rcv_tos;
1: + __u8 convert_csum;
1: + int uc_index;
1: + int mc_index;
1: + __be32 mc_addr;
1: + struct ip_mc_socklist *mc_list;
1: + struct inet_cork_full cork;
1: };
1:
1: struct in6_pktinfo {
1: - struct in6_addr ipi6_addr;
1: - int ipi6_ifindex;
1: + struct in6_addr ipi6_addr;
1: + int ipi6_ifindex;
1: };
1:
1: struct inet6_cork {
1: - struct ipv6_txoptions *opt;
1: - u8 hop_limit;
1: - u8 tclass;
1: + struct ipv6_txoptions *opt;
1: + u8 hop_limit;
1: + u8 tclass;
1: };
1:
1: struct ipv6_mc_socklist;
1: @@ -51370,702 +51781,703 @@ struct ipv6_ac_socklist;
1: struct ipv6_fl_socklist;
1:
1: struct ipv6_pinfo {
1: - struct in6_addr saddr;
1: - struct in6_pktinfo sticky_pktinfo;
1: - const struct in6_addr *daddr_cache;
1: - __be32 flow_label;
1: - __u32 frag_size;
1: - __u16 __unused_1: 7;
1: - __s16 hop_limit: 9;
1: - __u16 mc_loop: 1;
1: - __u16 __unused_2: 6;
1: - __s16 mcast_hops: 9;
1: - int ucast_oif;
1: - int mcast_oif;
1: - union {
1: - struct {
1: - __u16 srcrt: 1;
1: - __u16 osrcrt: 1;
1: - __u16 rxinfo: 1;
1: - __u16 rxoinfo: 1;
1: - __u16 rxhlim: 1;
1: - __u16 rxohlim: 1;
1: - __u16 hopopts: 1;
1: - __u16 ohopopts: 1;
1: - __u16 dstopts: 1;
1: - __u16 odstopts: 1;
1: - __u16 rxflow: 1;
1: - __u16 rxtclass: 1;
1: - __u16 rxpmtu: 1;
1: - __u16 rxorigdstaddr: 1;
1: - __u16 recvfragsize: 1;
1: - } bits;
1: - __u16 all;
1: - } rxopt;
1: - __u16 recverr: 1;
1: - __u16 sndflow: 1;
1: - __u16 repflow: 1;
1: - __u16 pmtudisc: 3;
1: - __u16 padding: 1;
1: - __u16 srcprefs: 3;
1: - __u16 dontfrag: 1;
1: - __u16 autoflowlabel: 1;
1: - __u16 autoflowlabel_set: 1;
1: - __u16 mc_all: 1;
1: - __u16 rtalert_isolate: 1;
1: - __u8 min_hopcount;
1: - __u8 tclass;
1: - __be32 rcv_flowinfo;
1: - __u32 dst_cookie;
1: - __u32 rx_dst_cookie;
1: - struct ipv6_mc_socklist *ipv6_mc_list;
1: - struct ipv6_ac_socklist *ipv6_ac_list;
1: - struct ipv6_fl_socklist *ipv6_fl_list;
1: - struct ipv6_txoptions *opt;
1: - struct sk_buff *pktoptions;
1: - struct sk_buff *rxpmtu;
1: - struct inet6_cork cork;
1: + struct in6_addr saddr;
1: + struct in6_pktinfo sticky_pktinfo;
1: + const struct in6_addr *daddr_cache;
1: + __be32 flow_label;
1: + __u32 frag_size;
1: + __u16 __unused_1 : 7;
1: + __s16 hop_limit : 9;
1: + __u16 mc_loop : 1;
1: + __u16 __unused_2 : 6;
1: + __s16 mcast_hops : 9;
1: + int ucast_oif;
1: + int mcast_oif;
1: + union {
1: + struct {
1: + __u16 srcrt : 1;
1: + __u16 osrcrt : 1;
1: + __u16 rxinfo : 1;
1: + __u16 rxoinfo : 1;
1: + __u16 rxhlim : 1;
1: + __u16 rxohlim : 1;
1: + __u16 hopopts : 1;
1: + __u16 ohopopts : 1;
1: + __u16 dstopts : 1;
1: + __u16 odstopts : 1;
1: + __u16 rxflow : 1;
1: + __u16 rxtclass : 1;
1: + __u16 rxpmtu : 1;
1: + __u16 rxorigdstaddr : 1;
1: + __u16 recvfragsize : 1;
1: + } bits;
1: + __u16 all;
1: + } rxopt;
1: + __u16 recverr : 1;
1: + __u16 sndflow : 1;
1: + __u16 repflow : 1;
1: + __u16 pmtudisc : 3;
1: + __u16 padding : 1;
1: + __u16 srcprefs : 3;
1: + __u16 dontfrag : 1;
1: + __u16 autoflowlabel : 1;
1: + __u16 autoflowlabel_set : 1;
1: + __u16 mc_all : 1;
1: + __u16 rtalert_isolate : 1;
1: + __u8 min_hopcount;
1: + __u8 tclass;
1: + __be32 rcv_flowinfo;
1: + __u32 dst_cookie;
1: + __u32 rx_dst_cookie;
1: + struct ipv6_mc_socklist *ipv6_mc_list;
1: + struct ipv6_ac_socklist *ipv6_ac_list;
1: + struct ipv6_fl_socklist *ipv6_fl_list;
1: + struct ipv6_txoptions *opt;
1: + struct sk_buff *pktoptions;
1: + struct sk_buff *rxpmtu;
1: + struct inet6_cork cork;
1: };
1:
1: struct tcphdr {
1: - __be16 source;
1: - __be16 dest;
1: - __be32 seq;
1: - __be32 ack_seq;
1: - __u16 res1: 4;
1: - __u16 doff: 4;
1: - __u16 fin: 1;
1: - __u16 syn: 1;
1: - __u16 rst: 1;
1: - __u16 psh: 1;
1: - __u16 ack: 1;
1: - __u16 urg: 1;
1: - __u16 ece: 1;
1: - __u16 cwr: 1;
1: - __be16 window;
1: - __sum16 check;
1: - __be16 urg_ptr;
1: + __be16 source;
1: + __be16 dest;
1: + __be32 seq;
1: + __be32 ack_seq;
1: + __u16 res1 : 4;
1: + __u16 doff : 4;
1: + __u16 fin : 1;
1: + __u16 syn : 1;
1: + __u16 rst : 1;
1: + __u16 psh : 1;
1: + __u16 ack : 1;
1: + __u16 urg : 1;
1: + __u16 ece : 1;
1: + __u16 cwr : 1;
1: + __be16 window;
1: + __sum16 check;
1: + __be16 urg_ptr;
1: };
1:
1: struct iphdr {
1: - __u8 ihl: 4;
1: - __u8 version: 4;
1: - __u8 tos;
1: - __be16 tot_len;
1: - __be16 id;
1: - __be16 frag_off;
1: - __u8 ttl;
1: - __u8 protocol;
1: - __sum16 check;
1: - __be32 saddr;
1: - __be32 daddr;
1: + __u8 ihl : 4;
1: + __u8 version : 4;
1: + __u8 tos;
1: + __be16 tot_len;
1: + __be16 id;
1: + __be16 frag_off;
1: + __u8 ttl;
1: + __u8 protocol;
1: + __sum16 check;
1: + __be32 saddr;
1: + __be32 daddr;
1: };
1:
1: struct ipv6_rt_hdr {
1: - __u8 nexthdr;
1: - __u8 hdrlen;
1: - __u8 type;
1: - __u8 segments_left;
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: + __u8 type;
1: + __u8 segments_left;
1: };
1:
1: struct ipv6_opt_hdr {
1: - __u8 nexthdr;
1: - __u8 hdrlen;
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: };
1:
1: struct ipv6hdr {
1: - __u8 priority: 4;
1: - __u8 version: 4;
1: - __u8 flow_lbl[3];
1: - __be16 payload_len;
1: - __u8 nexthdr;
1: - __u8 hop_limit;
1: - struct in6_addr saddr;
1: - struct in6_addr daddr;
1: + __u8 priority : 4;
1: + __u8 version : 4;
1: + __u8 flow_lbl[3];
1: + __be16 payload_len;
1: + __u8 nexthdr;
1: + __u8 hop_limit;
1: + struct in6_addr saddr;
1: + struct in6_addr daddr;
1: };
1:
1: struct udphdr {
1: - __be16 source;
1: - __be16 dest;
1: - __be16 len;
1: - __sum16 check;
1: + __be16 source;
1: + __be16 dest;
1: + __be16 len;
1: + __sum16 check;
1: };
1:
1: struct inet6_skb_parm {
1: - int iif;
1: - __be16 ra;
1: - __u16 dst0;
1: - __u16 srcrt;
1: - __u16 dst1;
1: - __u16 lastopt;
1: - __u16 nhoff;
1: - __u16 flags;
1: - __u16 frag_max_size;
1: + int iif;
1: + __be16 ra;
1: + __u16 dst0;
1: + __u16 srcrt;
1: + __u16 dst1;
1: + __u16 lastopt;
1: + __u16 nhoff;
1: + __u16 flags;
1: + __u16 frag_max_size;
1: };
1:
1: struct ip6_sf_socklist;
1:
1: struct ipv6_mc_socklist {
1: - struct in6_addr addr;
1: - int ifindex;
1: - unsigned int sfmode;
1: - struct ipv6_mc_socklist *next;
1: - rwlock_t sflock;
1: - struct ip6_sf_socklist *sflist;
1: - struct callback_head rcu;
1: + struct in6_addr addr;
1: + int ifindex;
1: + unsigned int sfmode;
1: + struct ipv6_mc_socklist *next;
1: + rwlock_t sflock;
1: + struct ip6_sf_socklist *sflist;
1: + struct callback_head rcu;
1: };
1:
1: struct ipv6_ac_socklist {
1: - struct in6_addr acl_addr;
1: - int acl_ifindex;
1: - struct ipv6_ac_socklist *acl_next;
1: + struct in6_addr acl_addr;
1: + int acl_ifindex;
1: + struct ipv6_ac_socklist *acl_next;
1: };
1:
1: struct ip6_flowlabel;
1:
1: struct ipv6_fl_socklist {
1: - struct ipv6_fl_socklist *next;
1: - struct ip6_flowlabel *fl;
1: - struct callback_head rcu;
1: + struct ipv6_fl_socklist *next;
1: + struct ip6_flowlabel *fl;
1: + struct callback_head rcu;
1: };
1:
1: struct ip6_sf_socklist {
1: - unsigned int sl_max;
1: - unsigned int sl_count;
1: - struct in6_addr sl_addr[0];
1: + unsigned int sl_max;
1: + unsigned int sl_count;
1: + struct in6_addr sl_addr[0];
1: };
1:
1: struct ip6_flowlabel {
1: - struct ip6_flowlabel *next;
1: - __be32 label;
1: - atomic_t users;
1: - struct in6_addr dst;
1: - struct ipv6_txoptions *opt;
1: - long unsigned int linger;
1: - struct callback_head rcu;
1: - u8 share;
1: - union {
1: - struct pid *pid;
1: - kuid_t uid;
1: - } owner;
1: - long unsigned int lastuse;
1: - long unsigned int expires;
1: - struct net *fl_net;
1: + struct ip6_flowlabel *next;
1: + __be32 label;
1: + atomic_t users;
1: + struct in6_addr dst;
1: + struct ipv6_txoptions *opt;
1: + long unsigned int linger;
1: + struct callback_head rcu;
1: + u8 share;
1: + union {
1: + struct pid *pid;
1: + kuid_t uid;
1: + } owner;
1: + long unsigned int lastuse;
1: + long unsigned int expires;
1: + struct net *fl_net;
1: };
1:
1: struct inet_ehash_bucket {
1: - struct hlist_nulls_head chain;
1: + struct hlist_nulls_head chain;
1: };
1:
1: struct inet_bind_hashbucket {
1: - spinlock_t lock;
1: - struct hlist_head chain;
1: + spinlock_t lock;
1: + struct hlist_head chain;
1: };
1:
1: struct inet_skb_parm {
1: - int iif;
1: - struct ip_options opt;
1: - u16 flags;
1: - u16 frag_max_size;
1: + int iif;
1: + struct ip_options opt;
1: + u16 flags;
1: + u16 frag_max_size;
1: };
1:
1: struct ack_sample {
1: - u32 pkts_acked;
1: - s32 rtt_us;
1: - u32 in_flight;
1: + u32 pkts_acked;
1: + s32 rtt_us;
1: + u32 in_flight;
1: };
1:
1: struct rate_sample {
1: - u64 prior_mstamp;
1: - u32 prior_delivered;
1: - s32 delivered;
1: - long int interval_us;
1: - u32 snd_interval_us;
1: - u32 rcv_interval_us;
1: - long int rtt_us;
1: - int losses;
1: - u32 acked_sacked;
1: - u32 prior_in_flight;
1: - bool is_app_limited;
1: - bool is_retrans;
1: - bool is_ack_delayed;
1: + u64 prior_mstamp;
1: + u32 prior_delivered;
1: + s32 delivered;
1: + long int interval_us;
1: + u32 snd_interval_us;
1: + u32 rcv_interval_us;
1: + long int rtt_us;
1: + int losses;
1: + u32 acked_sacked;
1: + u32 prior_in_flight;
1: + bool is_app_limited;
1: + bool is_retrans;
1: + bool is_ack_delayed;
1: };
1:
1: struct nf_ipv6_ops {
1: - void (*route_input)(struct sk_buff *);
1: - int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *));
1: - int (*reroute)(struct sk_buff *, const struct nf_queue_entry *);
1: + void (*route_input)(struct sk_buff *);
1: + int (*fragment)(struct net *, struct sock *, struct sk_buff *,
1: + int (*)(struct net *, struct sock *, struct sk_buff *));
1: + int (*reroute)(struct sk_buff *, const struct nf_queue_entry *);
1: };
1:
1: struct nf_queue_entry {
1: - struct list_head list;
1: - struct sk_buff *skb;
1: - unsigned int id;
1: - unsigned int hook_index;
1: - struct nf_hook_state state;
1: - u16 size;
1: + struct list_head list;
1: + struct sk_buff *skb;
1: + unsigned int id;
1: + unsigned int hook_index;
1: + struct nf_hook_state state;
1: + u16 size;
1: };
1:
1: struct tty_file_private {
1: - struct tty_struct *tty;
1: - struct file *file;
1: - struct list_head list;
1: + struct tty_struct *tty;
1: + struct file *file;
1: + struct list_head list;
1: };
1:
1: struct netlbl_lsm_cache {
1: - refcount_t refcount;
1: - void (*free)(const void *);
1: - void *data;
1: + refcount_t refcount;
1: + void (*free)(const void *);
1: + void *data;
1: };
1:
1: struct netlbl_lsm_catmap {
1: - u32 startbit;
1: - u64 bitmap[4];
1: - struct netlbl_lsm_catmap *next;
1: + u32 startbit;
1: + u64 bitmap[4];
1: + struct netlbl_lsm_catmap *next;
1: };
1:
1: struct netlbl_lsm_secattr {
1: - u32 flags;
1: - u32 type;
1: - char *domain;
1: - struct netlbl_lsm_cache *cache;
1: - struct {
1: - struct {
1: - struct netlbl_lsm_catmap *cat;
1: - u32 lvl;
1: - } mls;
1: - u32 secid;
1: - } attr;
1: + u32 flags;
1: + u32 type;
1: + char *domain;
1: + struct netlbl_lsm_cache *cache;
1: + struct {
1: + struct {
1: + struct netlbl_lsm_catmap *cat;
1: + u32 lvl;
1: + } mls;
1: + u32 secid;
1: + } attr;
1: };
1:
1: struct dccp_hdr {
1: - __be16 dccph_sport;
1: - __be16 dccph_dport;
1: - __u8 dccph_doff;
1: - __u8 dccph_cscov: 4;
1: - __u8 dccph_ccval: 4;
1: - __sum16 dccph_checksum;
1: - __u8 dccph_x: 1;
1: - __u8 dccph_type: 4;
1: - __u8 dccph_reserved: 3;
1: - __u8 dccph_seq2;
1: - __be16 dccph_seq;
1: + __be16 dccph_sport;
1: + __be16 dccph_dport;
1: + __u8 dccph_doff;
1: + __u8 dccph_cscov : 4;
1: + __u8 dccph_ccval : 4;
1: + __sum16 dccph_checksum;
1: + __u8 dccph_x : 1;
1: + __u8 dccph_type : 4;
1: + __u8 dccph_reserved : 3;
1: + __u8 dccph_seq2;
1: + __be16 dccph_seq;
1: };
1:
1: enum dccp_state {
1: - DCCP_OPEN = 1,
1: - DCCP_REQUESTING = 2,
1: - DCCP_LISTEN = 10,
1: - DCCP_RESPOND = 3,
1: - DCCP_ACTIVE_CLOSEREQ = 4,
1: - DCCP_PASSIVE_CLOSE = 8,
1: - DCCP_CLOSING = 11,
1: - DCCP_TIME_WAIT = 6,
1: - DCCP_CLOSED = 7,
1: - DCCP_NEW_SYN_RECV = 12,
1: - DCCP_PARTOPEN = 13,
1: - DCCP_PASSIVE_CLOSEREQ = 14,
1: - DCCP_MAX_STATES = 15,
1: + DCCP_OPEN = 1,
1: + DCCP_REQUESTING = 2,
1: + DCCP_LISTEN = 10,
1: + DCCP_RESPOND = 3,
1: + DCCP_ACTIVE_CLOSEREQ = 4,
1: + DCCP_PASSIVE_CLOSE = 8,
1: + DCCP_CLOSING = 11,
1: + DCCP_TIME_WAIT = 6,
1: + DCCP_CLOSED = 7,
1: + DCCP_NEW_SYN_RECV = 12,
1: + DCCP_PARTOPEN = 13,
1: + DCCP_PASSIVE_CLOSEREQ = 14,
1: + DCCP_MAX_STATES = 15,
1: };
1:
1: typedef __s32 sctp_assoc_t;
1:
1: enum sctp_msg_flags {
1: - MSG_NOTIFICATION = 32768,
1: + MSG_NOTIFICATION = 32768,
1: };
1:
1: struct sctp_initmsg {
1: - __u16 sinit_num_ostreams;
1: - __u16 sinit_max_instreams;
1: - __u16 sinit_max_attempts;
1: - __u16 sinit_max_init_timeo;
1: + __u16 sinit_num_ostreams;
1: + __u16 sinit_max_instreams;
1: + __u16 sinit_max_attempts;
1: + __u16 sinit_max_init_timeo;
1: };
1:
1: struct sctp_sndrcvinfo {
1: - __u16 sinfo_stream;
1: - __u16 sinfo_ssn;
1: - __u16 sinfo_flags;
1: - __u32 sinfo_ppid;
1: - __u32 sinfo_context;
1: - __u32 sinfo_timetolive;
1: - __u32 sinfo_tsn;
1: - __u32 sinfo_cumtsn;
1: - sctp_assoc_t sinfo_assoc_id;
1: + __u16 sinfo_stream;
1: + __u16 sinfo_ssn;
1: + __u16 sinfo_flags;
1: + __u32 sinfo_ppid;
1: + __u32 sinfo_context;
1: + __u32 sinfo_timetolive;
1: + __u32 sinfo_tsn;
1: + __u32 sinfo_cumtsn;
1: + sctp_assoc_t sinfo_assoc_id;
1: };
1:
1: struct sctp_rtoinfo {
1: - sctp_assoc_t srto_assoc_id;
1: - __u32 srto_initial;
1: - __u32 srto_max;
1: - __u32 srto_min;
1: + sctp_assoc_t srto_assoc_id;
1: + __u32 srto_initial;
1: + __u32 srto_max;
1: + __u32 srto_min;
1: };
1:
1: struct sctp_assocparams {
1: - sctp_assoc_t sasoc_assoc_id;
1: - __u16 sasoc_asocmaxrxt;
1: - __u16 sasoc_number_peer_destinations;
1: - __u32 sasoc_peer_rwnd;
1: - __u32 sasoc_local_rwnd;
1: - __u32 sasoc_cookie_life;
1: + sctp_assoc_t sasoc_assoc_id;
1: + __u16 sasoc_asocmaxrxt;
1: + __u16 sasoc_number_peer_destinations;
1: + __u32 sasoc_peer_rwnd;
1: + __u32 sasoc_local_rwnd;
1: + __u32 sasoc_cookie_life;
1: };
1:
1: struct sctp_paddrparams {
1: - sctp_assoc_t spp_assoc_id;
1: - struct __kernel_sockaddr_storage spp_address;
1: - __u32 spp_hbinterval;
1: - __u16 spp_pathmaxrxt;
1: - __u32 spp_pathmtu;
1: - __u32 spp_sackdelay;
1: - __u32 spp_flags;
1: - __u32 spp_ipv6_flowlabel;
1: - __u8 spp_dscp;
1: - char: 8;
1: + sctp_assoc_t spp_assoc_id;
1: + struct __kernel_sockaddr_storage spp_address;
1: + __u32 spp_hbinterval;
1: + __u16 spp_pathmaxrxt;
1: + __u32 spp_pathmtu;
1: + __u32 spp_sackdelay;
1: + __u32 spp_flags;
1: + __u32 spp_ipv6_flowlabel;
1: + __u8 spp_dscp;
1: + char : 8;
1: } __attribute__((packed));
1:
1: struct sctphdr {
1: - __be16 source;
1: - __be16 dest;
1: - __be32 vtag;
1: - __le32 checksum;
1: + __be16 source;
1: + __be16 dest;
1: + __be32 vtag;
1: + __le32 checksum;
1: };
1:
1: struct sctp_chunkhdr {
1: - __u8 type;
1: - __u8 flags;
1: - __be16 length;
1: + __u8 type;
1: + __u8 flags;
1: + __be16 length;
1: };
1:
1: enum sctp_cid {
1: - SCTP_CID_DATA = 0,
1: - SCTP_CID_INIT = 1,
1: - SCTP_CID_INIT_ACK = 2,
1: - SCTP_CID_SACK = 3,
1: - SCTP_CID_HEARTBEAT = 4,
1: - SCTP_CID_HEARTBEAT_ACK = 5,
1: - SCTP_CID_ABORT = 6,
1: - SCTP_CID_SHUTDOWN = 7,
1: - SCTP_CID_SHUTDOWN_ACK = 8,
1: - SCTP_CID_ERROR = 9,
1: - SCTP_CID_COOKIE_ECHO = 10,
1: - SCTP_CID_COOKIE_ACK = 11,
1: - SCTP_CID_ECN_ECNE = 12,
1: - SCTP_CID_ECN_CWR = 13,
1: - SCTP_CID_SHUTDOWN_COMPLETE = 14,
1: - SCTP_CID_AUTH = 15,
1: - SCTP_CID_I_DATA = 64,
1: - SCTP_CID_FWD_TSN = 192,
1: - SCTP_CID_ASCONF = 193,
1: - SCTP_CID_I_FWD_TSN = 194,
1: - SCTP_CID_ASCONF_ACK = 128,
1: - SCTP_CID_RECONF = 130,
1: + SCTP_CID_DATA = 0,
1: + SCTP_CID_INIT = 1,
1: + SCTP_CID_INIT_ACK = 2,
1: + SCTP_CID_SACK = 3,
1: + SCTP_CID_HEARTBEAT = 4,
1: + SCTP_CID_HEARTBEAT_ACK = 5,
1: + SCTP_CID_ABORT = 6,
1: + SCTP_CID_SHUTDOWN = 7,
1: + SCTP_CID_SHUTDOWN_ACK = 8,
1: + SCTP_CID_ERROR = 9,
1: + SCTP_CID_COOKIE_ECHO = 10,
1: + SCTP_CID_COOKIE_ACK = 11,
1: + SCTP_CID_ECN_ECNE = 12,
1: + SCTP_CID_ECN_CWR = 13,
1: + SCTP_CID_SHUTDOWN_COMPLETE = 14,
1: + SCTP_CID_AUTH = 15,
1: + SCTP_CID_I_DATA = 64,
1: + SCTP_CID_FWD_TSN = 192,
1: + SCTP_CID_ASCONF = 193,
1: + SCTP_CID_I_FWD_TSN = 194,
1: + SCTP_CID_ASCONF_ACK = 128,
1: + SCTP_CID_RECONF = 130,
1: };
1:
1: struct sctp_paramhdr {
1: - __be16 type;
1: - __be16 length;
1: + __be16 type;
1: + __be16 length;
1: };
1:
1: enum sctp_param {
1: - SCTP_PARAM_HEARTBEAT_INFO = 256,
1: - SCTP_PARAM_IPV4_ADDRESS = 1280,
1: - SCTP_PARAM_IPV6_ADDRESS = 1536,
1: - SCTP_PARAM_STATE_COOKIE = 1792,
1: - SCTP_PARAM_UNRECOGNIZED_PARAMETERS = 2048,
1: - SCTP_PARAM_COOKIE_PRESERVATIVE = 2304,
1: - SCTP_PARAM_HOST_NAME_ADDRESS = 2816,
1: - SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = 3072,
1: - SCTP_PARAM_ECN_CAPABLE = 128,
1: - SCTP_PARAM_RANDOM = 640,
1: - SCTP_PARAM_CHUNKS = 896,
1: - SCTP_PARAM_HMAC_ALGO = 1152,
1: - SCTP_PARAM_SUPPORTED_EXT = 2176,
1: - SCTP_PARAM_FWD_TSN_SUPPORT = 192,
1: - SCTP_PARAM_ADD_IP = 448,
1: - SCTP_PARAM_DEL_IP = 704,
1: - SCTP_PARAM_ERR_CAUSE = 960,
1: - SCTP_PARAM_SET_PRIMARY = 1216,
1: - SCTP_PARAM_SUCCESS_REPORT = 1472,
1: - SCTP_PARAM_ADAPTATION_LAYER_IND = 1728,
1: - SCTP_PARAM_RESET_OUT_REQUEST = 3328,
1: - SCTP_PARAM_RESET_IN_REQUEST = 3584,
1: - SCTP_PARAM_RESET_TSN_REQUEST = 3840,
1: - SCTP_PARAM_RESET_RESPONSE = 4096,
1: - SCTP_PARAM_RESET_ADD_OUT_STREAMS = 4352,
1: - SCTP_PARAM_RESET_ADD_IN_STREAMS = 4608,
1: + SCTP_PARAM_HEARTBEAT_INFO = 256,
1: + SCTP_PARAM_IPV4_ADDRESS = 1280,
1: + SCTP_PARAM_IPV6_ADDRESS = 1536,
1: + SCTP_PARAM_STATE_COOKIE = 1792,
1: + SCTP_PARAM_UNRECOGNIZED_PARAMETERS = 2048,
1: + SCTP_PARAM_COOKIE_PRESERVATIVE = 2304,
1: + SCTP_PARAM_HOST_NAME_ADDRESS = 2816,
1: + SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = 3072,
1: + SCTP_PARAM_ECN_CAPABLE = 128,
1: + SCTP_PARAM_RANDOM = 640,
1: + SCTP_PARAM_CHUNKS = 896,
1: + SCTP_PARAM_HMAC_ALGO = 1152,
1: + SCTP_PARAM_SUPPORTED_EXT = 2176,
1: + SCTP_PARAM_FWD_TSN_SUPPORT = 192,
1: + SCTP_PARAM_ADD_IP = 448,
1: + SCTP_PARAM_DEL_IP = 704,
1: + SCTP_PARAM_ERR_CAUSE = 960,
1: + SCTP_PARAM_SET_PRIMARY = 1216,
1: + SCTP_PARAM_SUCCESS_REPORT = 1472,
1: + SCTP_PARAM_ADAPTATION_LAYER_IND = 1728,
1: + SCTP_PARAM_RESET_OUT_REQUEST = 3328,
1: + SCTP_PARAM_RESET_IN_REQUEST = 3584,
1: + SCTP_PARAM_RESET_TSN_REQUEST = 3840,
1: + SCTP_PARAM_RESET_RESPONSE = 4096,
1: + SCTP_PARAM_RESET_ADD_OUT_STREAMS = 4352,
1: + SCTP_PARAM_RESET_ADD_IN_STREAMS = 4608,
1: };
1:
1: struct sctp_datahdr {
1: - __be32 tsn;
1: - __be16 stream;
1: - __be16 ssn;
1: - __u32 ppid;
1: - __u8 payload[0];
1: + __be32 tsn;
1: + __be16 stream;
1: + __be16 ssn;
1: + __u32 ppid;
1: + __u8 payload[0];
1: };
1:
1: struct sctp_idatahdr {
1: - __be32 tsn;
1: - __be16 stream;
1: - __be16 reserved;
1: - __be32 mid;
1: - union {
1: - __u32 ppid;
1: - __be32 fsn;
1: - };
1: - __u8 payload[0];
1: + __be32 tsn;
1: + __be16 stream;
1: + __be16 reserved;
1: + __be32 mid;
1: + union {
1: + __u32 ppid;
1: + __be32 fsn;
1: + };
1: + __u8 payload[0];
1: };
1:
1: struct sctp_inithdr {
1: - __be32 init_tag;
1: - __be32 a_rwnd;
1: - __be16 num_outbound_streams;
1: - __be16 num_inbound_streams;
1: - __be32 initial_tsn;
1: - __u8 params[0];
1: + __be32 init_tag;
1: + __be32 a_rwnd;
1: + __be16 num_outbound_streams;
1: + __be16 num_inbound_streams;
1: + __be32 initial_tsn;
1: + __u8 params[0];
1: };
1:
1: struct sctp_init_chunk {
1: - struct sctp_chunkhdr chunk_hdr;
1: - struct sctp_inithdr init_hdr;
1: + struct sctp_chunkhdr chunk_hdr;
1: + struct sctp_inithdr init_hdr;
1: };
1:
1: struct sctp_ipv4addr_param {
1: - struct sctp_paramhdr param_hdr;
1: - struct in_addr addr;
1: + struct sctp_paramhdr param_hdr;
1: + struct in_addr addr;
1: };
1:
1: struct sctp_ipv6addr_param {
1: - struct sctp_paramhdr param_hdr;
1: - struct in6_addr addr;
1: + struct sctp_paramhdr param_hdr;
1: + struct in6_addr addr;
1: };
1:
1: struct sctp_cookie_preserve_param {
1: - struct sctp_paramhdr param_hdr;
1: - __be32 lifespan_increment;
1: + struct sctp_paramhdr param_hdr;
1: + __be32 lifespan_increment;
1: };
1:
1: struct sctp_hostname_param {
1: - struct sctp_paramhdr param_hdr;
1: - uint8_t hostname[0];
1: + struct sctp_paramhdr param_hdr;
1: + uint8_t hostname[0];
1: };
1:
1: struct sctp_supported_addrs_param {
1: - struct sctp_paramhdr param_hdr;
1: - __be16 types[0];
1: + struct sctp_paramhdr param_hdr;
1: + __be16 types[0];
1: };
1:
1: struct sctp_adaptation_ind_param {
1: - struct sctp_paramhdr param_hdr;
1: - __be32 adaptation_ind;
1: + struct sctp_paramhdr param_hdr;
1: + __be32 adaptation_ind;
1: };
1:
1: struct sctp_supported_ext_param {
1: - struct sctp_paramhdr param_hdr;
1: - __u8 chunks[0];
1: + struct sctp_paramhdr param_hdr;
1: + __u8 chunks[0];
1: };
1:
1: struct sctp_random_param {
1: - struct sctp_paramhdr param_hdr;
1: - __u8 random_val[0];
1: + struct sctp_paramhdr param_hdr;
1: + __u8 random_val[0];
1: };
1:
1: struct sctp_chunks_param {
1: - struct sctp_paramhdr param_hdr;
1: - __u8 chunks[0];
1: + struct sctp_paramhdr param_hdr;
1: + __u8 chunks[0];
1: };
1:
1: struct sctp_hmac_algo_param {
1: - struct sctp_paramhdr param_hdr;
1: - __be16 hmac_ids[0];
1: + struct sctp_paramhdr param_hdr;
1: + __be16 hmac_ids[0];
1: };
1:
1: struct sctp_cookie_param {
1: - struct sctp_paramhdr p;
1: - __u8 body[0];
1: + struct sctp_paramhdr p;
1: + __u8 body[0];
1: };
1:
1: struct sctp_gap_ack_block {
1: - __be16 start;
1: - __be16 end;
1: + __be16 start;
1: + __be16 end;
1: };
1:
1: union sctp_sack_variable {
1: - struct sctp_gap_ack_block gab;
1: - __be32 dup;
1: + struct sctp_gap_ack_block gab;
1: + __be32 dup;
1: };
1:
1: struct sctp_sackhdr {
1: - __be32 cum_tsn_ack;
1: - __be32 a_rwnd;
1: - __be16 num_gap_ack_blocks;
1: - __be16 num_dup_tsns;
1: - union sctp_sack_variable variable[0];
1: + __be32 cum_tsn_ack;
1: + __be32 a_rwnd;
1: + __be16 num_gap_ack_blocks;
1: + __be16 num_dup_tsns;
1: + union sctp_sack_variable variable[0];
1: };
1:
1: struct sctp_heartbeathdr {
1: - struct sctp_paramhdr info;
1: + struct sctp_paramhdr info;
1: };
1:
1: struct sctp_shutdownhdr {
1: - __be32 cum_tsn_ack;
1: + __be32 cum_tsn_ack;
1: };
1:
1: struct sctp_errhdr {
1: - __be16 cause;
1: - __be16 length;
1: - __u8 variable[0];
1: + __be16 cause;
1: + __be16 length;
1: + __u8 variable[0];
1: };
1:
1: struct sctp_ecnehdr {
1: - __be32 lowest_tsn;
1: + __be32 lowest_tsn;
1: };
1:
1: struct sctp_cwrhdr {
1: - __be32 lowest_tsn;
1: + __be32 lowest_tsn;
1: };
1:
1: struct sctp_fwdtsn_skip {
1: - __be16 stream;
1: - __be16 ssn;
1: + __be16 stream;
1: + __be16 ssn;
1: };
1:
1: struct sctp_fwdtsn_hdr {
1: - __be32 new_cum_tsn;
1: - struct sctp_fwdtsn_skip skip[0];
1: + __be32 new_cum_tsn;
1: + struct sctp_fwdtsn_skip skip[0];
1: };
1:
1: struct sctp_ifwdtsn_skip {
1: - __be16 stream;
1: - __u8 reserved;
1: - __u8 flags;
1: - __be32 mid;
1: + __be16 stream;
1: + __u8 reserved;
1: + __u8 flags;
1: + __be32 mid;
1: };
1:
1: struct sctp_ifwdtsn_hdr {
1: - __be32 new_cum_tsn;
1: - struct sctp_ifwdtsn_skip skip[0];
1: + __be32 new_cum_tsn;
1: + struct sctp_ifwdtsn_skip skip[0];
1: };
1:
1: struct sctp_addip_param {
1: - struct sctp_paramhdr param_hdr;
1: - __be32 crr_id;
1: + struct sctp_paramhdr param_hdr;
1: + __be32 crr_id;
1: };
1:
1: struct sctp_addiphdr {
1: - __be32 serial;
1: - __u8 params[0];
1: + __be32 serial;
1: + __u8 params[0];
1: };
1:
1: struct sctp_authhdr {
1: - __be16 shkey_id;
1: - __be16 hmac_id;
1: - __u8 hmac[0];
1: + __be16 shkey_id;
1: + __be16 hmac_id;
1: + __u8 hmac[0];
1: };
1:
1: union sctp_addr {
1: - struct sockaddr_in v4;
1: - struct sockaddr_in6 v6;
1: - struct sockaddr sa;
1: + struct sockaddr_in v4;
1: + struct sockaddr_in6 v6;
1: + struct sockaddr sa;
1: };
1:
1: struct sctp_cookie {
1: - __u32 my_vtag;
1: - __u32 peer_vtag;
1: - __u32 my_ttag;
1: - __u32 peer_ttag;
1: - ktime_t expiration;
1: - __u16 sinit_num_ostreams;
1: - __u16 sinit_max_instreams;
1: - __u32 initial_tsn;
1: - union sctp_addr peer_addr;
1: - __u16 my_port;
1: - __u8 prsctp_capable;
1: - __u8 padding;
1: - __u32 adaptation_ind;
1: - __u8 auth_random[36];
1: - __u8 auth_hmacs[10];
1: - __u8 auth_chunks[20];
1: - __u32 raw_addr_list_len;
1: - struct sctp_init_chunk peer_init[0];
1: + __u32 my_vtag;
1: + __u32 peer_vtag;
1: + __u32 my_ttag;
1: + __u32 peer_ttag;
1: + ktime_t expiration;
1: + __u16 sinit_num_ostreams;
1: + __u16 sinit_max_instreams;
1: + __u32 initial_tsn;
1: + union sctp_addr peer_addr;
1: + __u16 my_port;
1: + __u8 prsctp_capable;
1: + __u8 padding;
1: + __u32 adaptation_ind;
1: + __u8 auth_random[36];
1: + __u8 auth_hmacs[10];
1: + __u8 auth_chunks[20];
1: + __u32 raw_addr_list_len;
1: + struct sctp_init_chunk peer_init[0];
1: };
1:
1: struct sctp_tsnmap {
1: - long unsigned int *tsn_map;
1: - __u32 base_tsn;
1: - __u32 cumulative_tsn_ack_point;
1: - __u32 max_tsn_seen;
1: - __u16 len;
1: - __u16 pending_data;
1: - __u16 num_dup_tsns;
1: - __be32 dup_tsns[16];
1: + long unsigned int *tsn_map;
1: + __u32 base_tsn;
1: + __u32 cumulative_tsn_ack_point;
1: + __u32 max_tsn_seen;
1: + __u16 len;
1: + __u16 pending_data;
1: + __u16 num_dup_tsns;
1: + __be32 dup_tsns[16];
1: };
1:
1: struct sctp_inithdr_host {
1: - __u32 init_tag;
1: - __u32 a_rwnd;
1: - __u16 num_outbound_streams;
1: - __u16 num_inbound_streams;
1: - __u32 initial_tsn;
1: + __u32 init_tag;
1: + __u32 a_rwnd;
1: + __u16 num_outbound_streams;
1: + __u16 num_inbound_streams;
1: + __u32 initial_tsn;
1: };
1:
1: enum sctp_state {
1: - SCTP_STATE_CLOSED = 0,
1: - SCTP_STATE_COOKIE_WAIT = 1,
1: - SCTP_STATE_COOKIE_ECHOED = 2,
1: - SCTP_STATE_ESTABLISHED = 3,
1: - SCTP_STATE_SHUTDOWN_PENDING = 4,
1: - SCTP_STATE_SHUTDOWN_SENT = 5,
1: - SCTP_STATE_SHUTDOWN_RECEIVED = 6,
1: - SCTP_STATE_SHUTDOWN_ACK_SENT = 7,
1: + SCTP_STATE_CLOSED = 0,
1: + SCTP_STATE_COOKIE_WAIT = 1,
1: + SCTP_STATE_COOKIE_ECHOED = 2,
1: + SCTP_STATE_ESTABLISHED = 3,
1: + SCTP_STATE_SHUTDOWN_PENDING = 4,
1: + SCTP_STATE_SHUTDOWN_SENT = 5,
1: + SCTP_STATE_SHUTDOWN_RECEIVED = 6,
1: + SCTP_STATE_SHUTDOWN_ACK_SENT = 7,
1: };
1:
1: struct sctp_stream_out_ext;
1:
1: struct sctp_stream_out {
1: - union {
1: - __u32 mid;
1: - __u16 ssn;
1: - };
1: - __u32 mid_uo;
1: - struct sctp_stream_out_ext *ext;
1: - __u8 state;
1: + union {
1: + __u32 mid;
1: + __u16 ssn;
1: + };
1: + __u32 mid_uo;
1: + struct sctp_stream_out_ext *ext;
1: + __u8 state;
1: };
1:
1: struct sctp_stream_in {
1: - union {
1: - __u32 mid;
1: - __u16 ssn;
1: - };
1: - __u32 mid_uo;
1: - __u32 fsn;
1: - __u32 fsn_uo;
1: - char pd_mode;
1: - char pd_mode_uo;
1: + union {
1: + __u32 mid;
1: + __u16 ssn;
1: + };
1: + __u32 mid_uo;
1: + __u32 fsn;
1: + __u32 fsn_uo;
1: + char pd_mode;
1: + char pd_mode_uo;
1: };
1:
1: struct sctp_stream_interleave;
1:
1: struct sctp_stream {
1: - struct {
1: - struct __genradix tree;
1: - struct sctp_stream_out type[0];
1: - } out;
1: - struct {
1: - struct __genradix tree;
1: - struct sctp_stream_in type[0];
1: - } in;
1: - __u16 outcnt;
1: - __u16 incnt;
1: - struct sctp_stream_out *out_curr;
1: - union {
1: - struct {
1: - struct list_head prio_list;
1: - };
1: - struct {
1: - struct list_head rr_list;
1: - struct sctp_stream_out_ext *rr_next;
1: - };
1: - };
1: - struct sctp_stream_interleave *si;
1: + struct {
1: + struct __genradix tree;
1: + struct sctp_stream_out type[0];
1: + } out;
1: + struct {
1: + struct __genradix tree;
1: + struct sctp_stream_in type[0];
1: + } in;
1: + __u16 outcnt;
1: + __u16 incnt;
1: + struct sctp_stream_out *out_curr;
1: + union {
1: + struct {
1: + struct list_head prio_list;
1: + };
1: + struct {
1: + struct list_head rr_list;
1: + struct sctp_stream_out_ext *rr_next;
1: + };
1: + };
1: + struct sctp_stream_interleave *si;
1: };
1:
1: struct sctp_sched_ops;
1: @@ -52073,45 +52485,45 @@ struct sctp_sched_ops;
1: struct sctp_association;
1:
1: struct sctp_outq {
1: - struct sctp_association *asoc;
1: - struct list_head out_chunk_list;
1: - struct sctp_sched_ops *sched;
1: - unsigned int out_qlen;
1: - unsigned int error;
1: - struct list_head control_chunk_list;
1: - struct list_head sacked;
1: - struct list_head retransmit;
1: - struct list_head abandoned;
1: - __u32 outstanding_bytes;
1: - char fast_rtx;
1: - char cork;
1: + struct sctp_association *asoc;
1: + struct list_head out_chunk_list;
1: + struct sctp_sched_ops *sched;
1: + unsigned int out_qlen;
1: + unsigned int error;
1: + struct list_head control_chunk_list;
1: + struct list_head sacked;
1: + struct list_head retransmit;
1: + struct list_head abandoned;
1: + __u32 outstanding_bytes;
1: + char fast_rtx;
1: + char cork;
1: };
1:
1: struct sctp_ulpq {
1: - char pd_mode;
1: - struct sctp_association *asoc;
1: - struct sk_buff_head reasm;
1: - struct sk_buff_head reasm_uo;
1: - struct sk_buff_head lobby;
1: + char pd_mode;
1: + struct sctp_association *asoc;
1: + struct sk_buff_head reasm;
1: + struct sk_buff_head reasm_uo;
1: + struct sk_buff_head lobby;
1: };
1:
1: struct sctp_priv_assoc_stats {
1: - struct __kernel_sockaddr_storage obs_rto_ipaddr;
1: - __u64 max_obs_rto;
1: - __u64 isacks;
1: - __u64 osacks;
1: - __u64 opackets;
1: - __u64 ipackets;
1: - __u64 rtxchunks;
1: - __u64 outofseqtsns;
1: - __u64 idupchunks;
1: - __u64 gapcnt;
1: - __u64 ouodchunks;
1: - __u64 iuodchunks;
1: - __u64 oodchunks;
1: - __u64 iodchunks;
1: - __u64 octrlchunks;
1: - __u64 ictrlchunks;
1: + struct __kernel_sockaddr_storage obs_rto_ipaddr;
1: + __u64 max_obs_rto;
1: + __u64 isacks;
1: + __u64 osacks;
1: + __u64 opackets;
1: + __u64 ipackets;
1: + __u64 rtxchunks;
1: + __u64 outofseqtsns;
1: + __u64 idupchunks;
1: + __u64 gapcnt;
1: + __u64 ouodchunks;
1: + __u64 iuodchunks;
1: + __u64 oodchunks;
1: + __u64 iodchunks;
1: + __u64 octrlchunks;
1: + __u64 ictrlchunks;
1: };
1:
1: struct sctp_transport;
1: @@ -52121,223 +52533,223 @@ struct sctp_auth_bytes;
1: struct sctp_shared_key;
1:
1: struct sctp_association {
1: - struct sctp_ep_common base;
1: - struct list_head asocs;
1: - sctp_assoc_t assoc_id;
1: - struct sctp_endpoint *ep;
1: - struct sctp_cookie c;
1: - struct {
1: - struct list_head transport_addr_list;
1: - __u32 rwnd;
1: - __u16 transport_count;
1: - __u16 port;
1: - struct sctp_transport *primary_path;
1: - union sctp_addr primary_addr;
1: - struct sctp_transport *active_path;
1: - struct sctp_transport *retran_path;
1: - struct sctp_transport *last_sent_to;
1: - struct sctp_transport *last_data_from;
1: - struct sctp_tsnmap tsn_map;
1: - __be16 addip_disabled_mask;
1: - __u16 ecn_capable: 1;
1: - __u16 ipv4_address: 1;
1: - __u16 ipv6_address: 1;
1: - __u16 hostname_address: 1;
1: - __u16 asconf_capable: 1;
1: - __u16 prsctp_capable: 1;
1: - __u16 reconf_capable: 1;
1: - __u16 intl_capable: 1;
1: - __u16 auth_capable: 1;
1: - __u16 sack_needed: 1;
1: - __u16 sack_generation: 1;
1: - __u16 zero_window_announced: 1;
1: - __u32 sack_cnt;
1: - __u32 adaptation_ind;
1: - struct sctp_inithdr_host i;
1: - void *cookie;
1: - int cookie_len;
1: - __u32 addip_serial;
1: - struct sctp_random_param *peer_random;
1: - struct sctp_chunks_param *peer_chunks;
1: - struct sctp_hmac_algo_param *peer_hmacs;
1: - } peer;
1: - enum sctp_state state;
1: - int overall_error_count;
1: - ktime_t cookie_life;
1: - long unsigned int rto_initial;
1: - long unsigned int rto_max;
1: - long unsigned int rto_min;
1: - int max_burst;
1: - int max_retrans;
1: - __u16 pf_retrans;
1: - __u16 ps_retrans;
1: - __u16 max_init_attempts;
1: - __u16 init_retries;
1: - long unsigned int max_init_timeo;
1: - long unsigned int hbinterval;
1: - __u16 pathmaxrxt;
1: - __u32 flowlabel;
1: - __u8 dscp;
1: - __u8 pmtu_pending;
1: - __u32 pathmtu;
1: - __u32 param_flags;
1: - __u32 sackfreq;
1: - long unsigned int sackdelay;
1: - long unsigned int timeouts[11];
1: - struct timer_list timers[11];
1: - struct sctp_transport *shutdown_last_sent_to;
1: - struct sctp_transport *init_last_sent_to;
1: - int shutdown_retries;
1: - __u32 next_tsn;
1: - __u32 ctsn_ack_point;
1: - __u32 adv_peer_ack_point;
1: - __u32 highest_sacked;
1: - __u32 fast_recovery_exit;
1: - __u8 fast_recovery;
1: - __u16 unack_data;
1: - __u32 rtx_data_chunks;
1: - __u32 rwnd;
1: - __u32 a_rwnd;
1: - __u32 rwnd_over;
1: - __u32 rwnd_press;
1: - int sndbuf_used;
1: - atomic_t rmem_alloc;
1: - wait_queue_head_t wait;
1: - __u32 frag_point;
1: - __u32 user_frag;
1: - int init_err_counter;
1: - int init_cycle;
1: - __u16 default_stream;
1: - __u16 default_flags;
1: - __u32 default_ppid;
1: - __u32 default_context;
1: - __u32 default_timetolive;
1: - __u32 default_rcv_context;
1: - struct sctp_stream stream;
1: - struct sctp_outq outqueue;
1: - struct sctp_ulpq ulpq;
1: - __u32 last_ecne_tsn;
1: - __u32 last_cwr_tsn;
1: - int numduptsns;
1: - struct sctp_chunk *addip_last_asconf;
1: - struct list_head asconf_ack_list;
1: - struct list_head addip_chunk_list;
1: - __u32 addip_serial;
1: - int src_out_of_asoc_ok;
1: - union sctp_addr *asconf_addr_del_pending;
1: - struct sctp_transport *new_transport;
1: - struct list_head endpoint_shared_keys;
1: - struct sctp_auth_bytes *asoc_shared_key;
1: - struct sctp_shared_key *shkey;
1: - __u16 default_hmac_id;
1: - __u16 active_key_id;
1: - __u8 need_ecne: 1;
1: - __u8 temp: 1;
1: - __u8 pf_expose: 2;
1: - __u8 force_delay: 1;
1: - __u8 strreset_enable;
1: - __u8 strreset_outstanding;
1: - __u32 strreset_outseq;
1: - __u32 strreset_inseq;
1: - __u32 strreset_result[2];
1: - struct sctp_chunk *strreset_chunk;
1: - struct sctp_priv_assoc_stats stats;
1: - int sent_cnt_removable;
1: - __u16 subscribe;
1: - __u64 abandoned_unsent[3];
1: - __u64 abandoned_sent[3];
1: - struct callback_head rcu;
1: + struct sctp_ep_common base;
1: + struct list_head asocs;
1: + sctp_assoc_t assoc_id;
1: + struct sctp_endpoint *ep;
1: + struct sctp_cookie c;
1: + struct {
1: + struct list_head transport_addr_list;
1: + __u32 rwnd;
1: + __u16 transport_count;
1: + __u16 port;
1: + struct sctp_transport *primary_path;
1: + union sctp_addr primary_addr;
1: + struct sctp_transport *active_path;
1: + struct sctp_transport *retran_path;
1: + struct sctp_transport *last_sent_to;
1: + struct sctp_transport *last_data_from;
1: + struct sctp_tsnmap tsn_map;
1: + __be16 addip_disabled_mask;
1: + __u16 ecn_capable : 1;
1: + __u16 ipv4_address : 1;
1: + __u16 ipv6_address : 1;
1: + __u16 hostname_address : 1;
1: + __u16 asconf_capable : 1;
1: + __u16 prsctp_capable : 1;
1: + __u16 reconf_capable : 1;
1: + __u16 intl_capable : 1;
1: + __u16 auth_capable : 1;
1: + __u16 sack_needed : 1;
1: + __u16 sack_generation : 1;
1: + __u16 zero_window_announced : 1;
1: + __u32 sack_cnt;
1: + __u32 adaptation_ind;
1: + struct sctp_inithdr_host i;
1: + void *cookie;
1: + int cookie_len;
1: + __u32 addip_serial;
1: + struct sctp_random_param *peer_random;
1: + struct sctp_chunks_param *peer_chunks;
1: + struct sctp_hmac_algo_param *peer_hmacs;
1: + } peer;
1: + enum sctp_state state;
1: + int overall_error_count;
1: + ktime_t cookie_life;
1: + long unsigned int rto_initial;
1: + long unsigned int rto_max;
1: + long unsigned int rto_min;
1: + int max_burst;
1: + int max_retrans;
1: + __u16 pf_retrans;
1: + __u16 ps_retrans;
1: + __u16 max_init_attempts;
1: + __u16 init_retries;
1: + long unsigned int max_init_timeo;
1: + long unsigned int hbinterval;
1: + __u16 pathmaxrxt;
1: + __u32 flowlabel;
1: + __u8 dscp;
1: + __u8 pmtu_pending;
1: + __u32 pathmtu;
1: + __u32 param_flags;
1: + __u32 sackfreq;
1: + long unsigned int sackdelay;
1: + long unsigned int timeouts[11];
1: + struct timer_list timers[11];
1: + struct sctp_transport *shutdown_last_sent_to;
1: + struct sctp_transport *init_last_sent_to;
1: + int shutdown_retries;
1: + __u32 next_tsn;
1: + __u32 ctsn_ack_point;
1: + __u32 adv_peer_ack_point;
1: + __u32 highest_sacked;
1: + __u32 fast_recovery_exit;
1: + __u8 fast_recovery;
1: + __u16 unack_data;
1: + __u32 rtx_data_chunks;
1: + __u32 rwnd;
1: + __u32 a_rwnd;
1: + __u32 rwnd_over;
1: + __u32 rwnd_press;
1: + int sndbuf_used;
1: + atomic_t rmem_alloc;
1: + wait_queue_head_t wait;
1: + __u32 frag_point;
1: + __u32 user_frag;
1: + int init_err_counter;
1: + int init_cycle;
1: + __u16 default_stream;
1: + __u16 default_flags;
1: + __u32 default_ppid;
1: + __u32 default_context;
1: + __u32 default_timetolive;
1: + __u32 default_rcv_context;
1: + struct sctp_stream stream;
1: + struct sctp_outq outqueue;
1: + struct sctp_ulpq ulpq;
1: + __u32 last_ecne_tsn;
1: + __u32 last_cwr_tsn;
1: + int numduptsns;
1: + struct sctp_chunk *addip_last_asconf;
1: + struct list_head asconf_ack_list;
1: + struct list_head addip_chunk_list;
1: + __u32 addip_serial;
1: + int src_out_of_asoc_ok;
1: + union sctp_addr *asconf_addr_del_pending;
1: + struct sctp_transport *new_transport;
1: + struct list_head endpoint_shared_keys;
1: + struct sctp_auth_bytes *asoc_shared_key;
1: + struct sctp_shared_key *shkey;
1: + __u16 default_hmac_id;
1: + __u16 active_key_id;
1: + __u8 need_ecne : 1;
1: + __u8 temp : 1;
1: + __u8 pf_expose : 2;
1: + __u8 force_delay : 1;
1: + __u8 strreset_enable;
1: + __u8 strreset_outstanding;
1: + __u32 strreset_outseq;
1: + __u32 strreset_inseq;
1: + __u32 strreset_result[2];
1: + struct sctp_chunk *strreset_chunk;
1: + struct sctp_priv_assoc_stats stats;
1: + int sent_cnt_removable;
1: + __u16 subscribe;
1: + __u64 abandoned_unsent[3];
1: + __u64 abandoned_sent[3];
1: + struct callback_head rcu;
1: };
1:
1: struct sctp_auth_bytes {
1: - refcount_t refcnt;
1: - __u32 len;
1: - __u8 data[0];
1: + refcount_t refcnt;
1: + __u32 len;
1: + __u8 data[0];
1: };
1:
1: struct sctp_shared_key {
1: - struct list_head key_list;
1: - struct sctp_auth_bytes *key;
1: - refcount_t refcnt;
1: - __u16 key_id;
1: - __u8 deactivated;
1: + struct list_head key_list;
1: + struct sctp_auth_bytes *key;
1: + refcount_t refcnt;
1: + __u16 key_id;
1: + __u8 deactivated;
1: };
1:
1: enum {
1: - SCTP_MAX_STREAM = 65535,
1: + SCTP_MAX_STREAM = 65535,
1: };
1:
1: enum sctp_event_timeout {
1: - SCTP_EVENT_TIMEOUT_NONE = 0,
1: - SCTP_EVENT_TIMEOUT_T1_COOKIE = 1,
1: - SCTP_EVENT_TIMEOUT_T1_INIT = 2,
1: - SCTP_EVENT_TIMEOUT_T2_SHUTDOWN = 3,
1: - SCTP_EVENT_TIMEOUT_T3_RTX = 4,
1: - SCTP_EVENT_TIMEOUT_T4_RTO = 5,
1: - SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD = 6,
1: - SCTP_EVENT_TIMEOUT_HEARTBEAT = 7,
1: - SCTP_EVENT_TIMEOUT_RECONF = 8,
1: - SCTP_EVENT_TIMEOUT_SACK = 9,
1: - SCTP_EVENT_TIMEOUT_AUTOCLOSE = 10,
1: + SCTP_EVENT_TIMEOUT_NONE = 0,
1: + SCTP_EVENT_TIMEOUT_T1_COOKIE = 1,
1: + SCTP_EVENT_TIMEOUT_T1_INIT = 2,
1: + SCTP_EVENT_TIMEOUT_T2_SHUTDOWN = 3,
1: + SCTP_EVENT_TIMEOUT_T3_RTX = 4,
1: + SCTP_EVENT_TIMEOUT_T4_RTO = 5,
1: + SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD = 6,
1: + SCTP_EVENT_TIMEOUT_HEARTBEAT = 7,
1: + SCTP_EVENT_TIMEOUT_RECONF = 8,
1: + SCTP_EVENT_TIMEOUT_SACK = 9,
1: + SCTP_EVENT_TIMEOUT_AUTOCLOSE = 10,
1: };
1:
1: enum {
1: - SCTP_MAX_DUP_TSNS = 16,
1: + SCTP_MAX_DUP_TSNS = 16,
1: };
1:
1: enum sctp_scope {
1: - SCTP_SCOPE_GLOBAL = 0,
1: - SCTP_SCOPE_PRIVATE = 1,
1: - SCTP_SCOPE_LINK = 2,
1: - SCTP_SCOPE_LOOPBACK = 3,
1: - SCTP_SCOPE_UNUSABLE = 4,
1: + SCTP_SCOPE_GLOBAL = 0,
1: + SCTP_SCOPE_PRIVATE = 1,
1: + SCTP_SCOPE_LINK = 2,
1: + SCTP_SCOPE_LOOPBACK = 3,
1: + SCTP_SCOPE_UNUSABLE = 4,
1: };
1:
1: enum {
1: - SCTP_AUTH_HMAC_ID_RESERVED_0 = 0,
1: - SCTP_AUTH_HMAC_ID_SHA1 = 1,
1: - SCTP_AUTH_HMAC_ID_RESERVED_2 = 2,
1: - SCTP_AUTH_HMAC_ID_SHA256 = 3,
1: - __SCTP_AUTH_HMAC_MAX = 4,
1: + SCTP_AUTH_HMAC_ID_RESERVED_0 = 0,
1: + SCTP_AUTH_HMAC_ID_SHA1 = 1,
1: + SCTP_AUTH_HMAC_ID_RESERVED_2 = 2,
1: + SCTP_AUTH_HMAC_ID_SHA256 = 3,
1: + __SCTP_AUTH_HMAC_MAX = 4,
1: };
1:
1: struct sctp_ulpevent {
1: - struct sctp_association *asoc;
1: - struct sctp_chunk *chunk;
1: - unsigned int rmem_len;
1: - union {
1: - __u32 mid;
1: - __u16 ssn;
1: - };
1: - union {
1: - __u32 ppid;
1: - __u32 fsn;
1: - };
1: - __u32 tsn;
1: - __u32 cumtsn;
1: - __u16 stream;
1: - __u16 flags;
1: - __u16 msg_flags;
1: + struct sctp_association *asoc;
1: + struct sctp_chunk *chunk;
1: + unsigned int rmem_len;
1: + union {
1: + __u32 mid;
1: + __u16 ssn;
1: + };
1: + union {
1: + __u32 ppid;
1: + __u32 fsn;
1: + };
1: + __u32 tsn;
1: + __u32 cumtsn;
1: + __u16 stream;
1: + __u16 flags;
1: + __u16 msg_flags;
1: } __attribute__((packed));
1:
1: union sctp_addr_param;
1:
1: union sctp_params {
1: - void *v;
1: - struct sctp_paramhdr *p;
1: - struct sctp_cookie_preserve_param *life;
1: - struct sctp_hostname_param *dns;
1: - struct sctp_cookie_param *cookie;
1: - struct sctp_supported_addrs_param *sat;
1: - struct sctp_ipv4addr_param *v4;
1: - struct sctp_ipv6addr_param *v6;
1: - union sctp_addr_param *addr;
1: - struct sctp_adaptation_ind_param *aind;
1: - struct sctp_supported_ext_param *ext;
1: - struct sctp_random_param *random;
1: - struct sctp_chunks_param *chunks;
1: - struct sctp_hmac_algo_param *hmac_algo;
1: - struct sctp_addip_param *addip;
1: + void *v;
1: + struct sctp_paramhdr *p;
1: + struct sctp_cookie_preserve_param *life;
1: + struct sctp_hostname_param *dns;
1: + struct sctp_cookie_param *cookie;
1: + struct sctp_supported_addrs_param *sat;
1: + struct sctp_ipv4addr_param *v4;
1: + struct sctp_ipv6addr_param *v6;
1: + union sctp_addr_param *addr;
1: + struct sctp_adaptation_ind_param *aind;
1: + struct sctp_supported_ext_param *ext;
1: + struct sctp_random_param *random;
1: + struct sctp_chunks_param *chunks;
1: + struct sctp_hmac_algo_param *hmac_algo;
1: + struct sctp_addip_param *addip;
1: };
1:
1: struct sctp_sender_hb_info;
1: @@ -52347,728 +52759,736 @@ struct sctp_signed_cookie;
1: struct sctp_datamsg;
1:
1: struct sctp_chunk {
1: - struct list_head list;
1: - refcount_t refcnt;
1: - int sent_count;
1: - union {
1: - struct list_head transmitted_list;
1: - struct list_head stream_list;
1: - };
1: - struct list_head frag_list;
1: - struct sk_buff *skb;
1: - union {
1: - struct sk_buff *head_skb;
1: - struct sctp_shared_key *shkey;
1: - };
1: - union sctp_params param_hdr;
1: - union {
1: - __u8 *v;
1: - struct sctp_datahdr *data_hdr;
1: - struct sctp_inithdr *init_hdr;
1: - struct sctp_sackhdr *sack_hdr;
1: - struct sctp_heartbeathdr *hb_hdr;
1: - struct sctp_sender_hb_info *hbs_hdr;
1: - struct sctp_shutdownhdr *shutdown_hdr;
1: - struct sctp_signed_cookie *cookie_hdr;
1: - struct sctp_ecnehdr *ecne_hdr;
1: - struct sctp_cwrhdr *ecn_cwr_hdr;
1: - struct sctp_errhdr *err_hdr;
1: - struct sctp_addiphdr *addip_hdr;
1: - struct sctp_fwdtsn_hdr *fwdtsn_hdr;
1: - struct sctp_authhdr *auth_hdr;
1: - struct sctp_idatahdr *idata_hdr;
1: - struct sctp_ifwdtsn_hdr *ifwdtsn_hdr;
1: - } subh;
1: - __u8 *chunk_end;
1: - struct sctp_chunkhdr *chunk_hdr;
1: - struct sctphdr *sctp_hdr;
1: - struct sctp_sndrcvinfo sinfo;
1: - struct sctp_association *asoc;
1: - struct sctp_ep_common *rcvr;
1: - long unsigned int sent_at;
1: - union sctp_addr source;
1: - union sctp_addr dest;
1: - struct sctp_datamsg *msg;
1: - struct sctp_transport *transport;
1: - struct sk_buff *auth_chunk;
1: - __u16 rtt_in_progress: 1;
1: - __u16 has_tsn: 1;
1: - __u16 has_ssn: 1;
1: - __u16 singleton: 1;
1: - __u16 end_of_packet: 1;
1: - __u16 ecn_ce_done: 1;
1: - __u16 pdiscard: 1;
1: - __u16 tsn_gap_acked: 1;
1: - __u16 data_accepted: 1;
1: - __u16 auth: 1;
1: - __u16 has_asconf: 1;
1: - __u16 tsn_missing_report: 2;
1: - __u16 fast_retransmit: 2;
1: + struct list_head list;
1: + refcount_t refcnt;
1: + int sent_count;
1: + union {
1: + struct list_head transmitted_list;
1: + struct list_head stream_list;
1: + };
1: + struct list_head frag_list;
1: + struct sk_buff *skb;
1: + union {
1: + struct sk_buff *head_skb;
1: + struct sctp_shared_key *shkey;
1: + };
1: + union sctp_params param_hdr;
1: + union {
1: + __u8 *v;
1: + struct sctp_datahdr *data_hdr;
1: + struct sctp_inithdr *init_hdr;
1: + struct sctp_sackhdr *sack_hdr;
1: + struct sctp_heartbeathdr *hb_hdr;
1: + struct sctp_sender_hb_info *hbs_hdr;
1: + struct sctp_shutdownhdr *shutdown_hdr;
1: + struct sctp_signed_cookie *cookie_hdr;
1: + struct sctp_ecnehdr *ecne_hdr;
1: + struct sctp_cwrhdr *ecn_cwr_hdr;
1: + struct sctp_errhdr *err_hdr;
1: + struct sctp_addiphdr *addip_hdr;
1: + struct sctp_fwdtsn_hdr *fwdtsn_hdr;
1: + struct sctp_authhdr *auth_hdr;
1: + struct sctp_idatahdr *idata_hdr;
1: + struct sctp_ifwdtsn_hdr *ifwdtsn_hdr;
1: + } subh;
1: + __u8 *chunk_end;
1: + struct sctp_chunkhdr *chunk_hdr;
1: + struct sctphdr *sctp_hdr;
1: + struct sctp_sndrcvinfo sinfo;
1: + struct sctp_association *asoc;
1: + struct sctp_ep_common *rcvr;
1: + long unsigned int sent_at;
1: + union sctp_addr source;
1: + union sctp_addr dest;
1: + struct sctp_datamsg *msg;
1: + struct sctp_transport *transport;
1: + struct sk_buff *auth_chunk;
1: + __u16 rtt_in_progress : 1;
1: + __u16 has_tsn : 1;
1: + __u16 has_ssn : 1;
1: + __u16 singleton : 1;
1: + __u16 end_of_packet : 1;
1: + __u16 ecn_ce_done : 1;
1: + __u16 pdiscard : 1;
1: + __u16 tsn_gap_acked : 1;
1: + __u16 data_accepted : 1;
1: + __u16 auth : 1;
1: + __u16 has_asconf : 1;
1: + __u16 tsn_missing_report : 2;
1: + __u16 fast_retransmit : 2;
1: };
1:
1: struct sctp_stream_interleave {
1: - __u16 data_chunk_len;
1: - __u16 ftsn_chunk_len;
1: - struct sctp_chunk * (*make_datafrag)(const struct sctp_association *, const struct sctp_sndrcvinfo *, int, __u8, gfp_t);
1: - void (*assign_number)(struct sctp_chunk *);
1: - bool (*validate_data)(struct sctp_chunk *);
1: - int (*ulpevent_data)(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
1: - int (*enqueue_event)(struct sctp_ulpq *, struct sctp_ulpevent *);
1: - void (*renege_events)(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
1: - void (*start_pd)(struct sctp_ulpq *, gfp_t);
1: - void (*abort_pd)(struct sctp_ulpq *, gfp_t);
1: - void (*generate_ftsn)(struct sctp_outq *, __u32);
1: - bool (*validate_ftsn)(struct sctp_chunk *);
1: - void (*report_ftsn)(struct sctp_ulpq *, __u32);
1: - void (*handle_ftsn)(struct sctp_ulpq *, struct sctp_chunk *);
1: + __u16 data_chunk_len;
1: + __u16 ftsn_chunk_len;
1: + struct sctp_chunk *(*make_datafrag)(const struct sctp_association *,
1: + const struct sctp_sndrcvinfo *, int, __u8,
1: + gfp_t);
1: + void (*assign_number)(struct sctp_chunk *);
1: + bool (*validate_data)(struct sctp_chunk *);
1: + int (*ulpevent_data)(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
1: + int (*enqueue_event)(struct sctp_ulpq *, struct sctp_ulpevent *);
1: + void (*renege_events)(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
1: + void (*start_pd)(struct sctp_ulpq *, gfp_t);
1: + void (*abort_pd)(struct sctp_ulpq *, gfp_t);
1: + void (*generate_ftsn)(struct sctp_outq *, __u32);
1: + bool (*validate_ftsn)(struct sctp_chunk *);
1: + void (*report_ftsn)(struct sctp_ulpq *, __u32);
1: + void (*handle_ftsn)(struct sctp_ulpq *, struct sctp_chunk *);
1: };
1:
1: struct sctp_bind_bucket {
1: - short unsigned int port;
1: - signed char fastreuse;
1: - signed char fastreuseport;
1: - kuid_t fastuid;
1: - struct hlist_node node;
1: - struct hlist_head owner;
1: - struct net *net;
1: + short unsigned int port;
1: + signed char fastreuse;
1: + signed char fastreuseport;
1: + kuid_t fastuid;
1: + struct hlist_node node;
1: + struct hlist_head owner;
1: + struct net *net;
1: };
1:
1: enum sctp_socket_type {
1: - SCTP_SOCKET_UDP = 0,
1: - SCTP_SOCKET_UDP_HIGH_BANDWIDTH = 1,
1: - SCTP_SOCKET_TCP = 2,
1: + SCTP_SOCKET_UDP = 0,
1: + SCTP_SOCKET_UDP_HIGH_BANDWIDTH = 1,
1: + SCTP_SOCKET_TCP = 2,
1: };
1:
1: struct sctp_pf;
1:
1: struct sctp_sock {
1: - struct inet_sock inet;
1: - enum sctp_socket_type type;
1: - int: 32;
1: - struct sctp_pf *pf;
1: - struct crypto_shash *hmac;
1: - char *sctp_hmac_alg;
1: - struct sctp_endpoint *ep;
1: - struct sctp_bind_bucket *bind_hash;
1: - __u16 default_stream;
1: - short: 16;
1: - __u32 default_ppid;
1: - __u16 default_flags;
1: - short: 16;
1: - __u32 default_context;
1: - __u32 default_timetolive;
1: - __u32 default_rcv_context;
1: - int max_burst;
1: - __u32 hbinterval;
1: - __u16 pathmaxrxt;
1: - short: 16;
1: - __u32 flowlabel;
1: - __u8 dscp;
1: - char: 8;
1: - __u16 pf_retrans;
1: - __u16 ps_retrans;
1: - short: 16;
1: - __u32 pathmtu;
1: - __u32 sackdelay;
1: - __u32 sackfreq;
1: - __u32 param_flags;
1: - __u32 default_ss;
1: - struct sctp_rtoinfo rtoinfo;
1: - struct sctp_paddrparams paddrparam;
1: - struct sctp_assocparams assocparams;
1: - __u16 subscribe;
1: - struct sctp_initmsg initmsg;
1: - short: 16;
1: - int user_frag;
1: - __u32 autoclose;
1: - __u32 adaptation_ind;
1: - __u32 pd_point;
1: - __u16 nodelay: 1;
1: - __u16 pf_expose: 2;
1: - __u16 reuse: 1;
1: - __u16 disable_fragments: 1;
1: - __u16 v4mapped: 1;
1: - __u16 frag_interleave: 1;
1: - __u16 recvrcvinfo: 1;
1: - __u16 recvnxtinfo: 1;
1: - __u16 data_ready_signalled: 1;
1: - int: 22;
1: - atomic_t pd_mode;
1: - struct sk_buff_head pd_lobby;
1: - struct list_head auto_asconf_list;
1: - int do_auto_asconf;
1: - int: 32;
1: + struct inet_sock inet;
1: + enum sctp_socket_type type;
1: + int : 32;
1: + struct sctp_pf *pf;
1: + struct crypto_shash *hmac;
1: + char *sctp_hmac_alg;
1: + struct sctp_endpoint *ep;
1: + struct sctp_bind_bucket *bind_hash;
1: + __u16 default_stream;
1: + short : 16;
1: + __u32 default_ppid;
1: + __u16 default_flags;
1: + short : 16;
1: + __u32 default_context;
1: + __u32 default_timetolive;
1: + __u32 default_rcv_context;
1: + int max_burst;
1: + __u32 hbinterval;
1: + __u16 pathmaxrxt;
1: + short : 16;
1: + __u32 flowlabel;
1: + __u8 dscp;
1: + char : 8;
1: + __u16 pf_retrans;
1: + __u16 ps_retrans;
1: + short : 16;
1: + __u32 pathmtu;
1: + __u32 sackdelay;
1: + __u32 sackfreq;
1: + __u32 param_flags;
1: + __u32 default_ss;
1: + struct sctp_rtoinfo rtoinfo;
1: + struct sctp_paddrparams paddrparam;
1: + struct sctp_assocparams assocparams;
1: + __u16 subscribe;
1: + struct sctp_initmsg initmsg;
1: + short : 16;
1: + int user_frag;
1: + __u32 autoclose;
1: + __u32 adaptation_ind;
1: + __u32 pd_point;
1: + __u16 nodelay : 1;
1: + __u16 pf_expose : 2;
1: + __u16 reuse : 1;
1: + __u16 disable_fragments : 1;
1: + __u16 v4mapped : 1;
1: + __u16 frag_interleave : 1;
1: + __u16 recvrcvinfo : 1;
1: + __u16 recvnxtinfo : 1;
1: + __u16 data_ready_signalled : 1;
1: + int : 22;
1: + atomic_t pd_mode;
1: + struct sk_buff_head pd_lobby;
1: + struct list_head auto_asconf_list;
1: + int do_auto_asconf;
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct sctp_af;
1:
1: struct sctp_pf {
1: - void (*event_msgname)(struct sctp_ulpevent *, char *, int *);
1: - void (*skb_msgname)(struct sk_buff *, char *, int *);
1: - int (*af_supported)(sa_family_t, struct sctp_sock *);
1: - int (*cmp_addr)(const union sctp_addr *, const union sctp_addr *, struct sctp_sock *);
1: - int (*bind_verify)(struct sctp_sock *, union sctp_addr *);
1: - int (*send_verify)(struct sctp_sock *, union sctp_addr *);
1: - int (*supported_addrs)(const struct sctp_sock *, __be16 *);
1: - struct sock * (*create_accept_sk)(struct sock *, struct sctp_association *, bool);
1: - int (*addr_to_user)(struct sctp_sock *, union sctp_addr *);
1: - void (*to_sk_saddr)(union sctp_addr *, struct sock *);
1: - void (*to_sk_daddr)(union sctp_addr *, struct sock *);
1: - void (*copy_ip_options)(struct sock *, struct sock *);
1: - struct sctp_af *af;
1: + void (*event_msgname)(struct sctp_ulpevent *, char *, int *);
1: + void (*skb_msgname)(struct sk_buff *, char *, int *);
1: + int (*af_supported)(sa_family_t, struct sctp_sock *);
1: + int (*cmp_addr)(const union sctp_addr *, const union sctp_addr *,
1: + struct sctp_sock *);
1: + int (*bind_verify)(struct sctp_sock *, union sctp_addr *);
1: + int (*send_verify)(struct sctp_sock *, union sctp_addr *);
1: + int (*supported_addrs)(const struct sctp_sock *, __be16 *);
1: + struct sock *(*create_accept_sk)(struct sock *, struct sctp_association *,
1: + bool);
1: + int (*addr_to_user)(struct sctp_sock *, union sctp_addr *);
1: + void (*to_sk_saddr)(union sctp_addr *, struct sock *);
1: + void (*to_sk_daddr)(union sctp_addr *, struct sock *);
1: + void (*copy_ip_options)(struct sock *, struct sock *);
1: + struct sctp_af *af;
1: };
1:
1: struct sctp_signed_cookie {
1: - __u8 signature[32];
1: - __u32 __pad;
1: - struct sctp_cookie c;
1: + __u8 signature[32];
1: + __u32 __pad;
1: + struct sctp_cookie c;
1: } __attribute__((packed));
1:
1: union sctp_addr_param {
1: - struct sctp_paramhdr p;
1: - struct sctp_ipv4addr_param v4;
1: - struct sctp_ipv6addr_param v6;
1: + struct sctp_paramhdr p;
1: + struct sctp_ipv4addr_param v4;
1: + struct sctp_ipv6addr_param v6;
1: };
1:
1: struct sctp_sender_hb_info {
1: - struct sctp_paramhdr param_hdr;
1: - union sctp_addr daddr;
1: - long unsigned int sent_at;
1: - __u64 hb_nonce;
1: + struct sctp_paramhdr param_hdr;
1: + union sctp_addr daddr;
1: + long unsigned int sent_at;
1: + __u64 hb_nonce;
1: };
1:
1: struct sctp_af {
1: - int (*sctp_xmit)(struct sk_buff *, struct sctp_transport *);
1: - int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: - int (*getsockopt)(struct sock *, int, int, char *, int *);
1: - int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: - int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: - void (*get_dst)(struct sctp_transport *, union sctp_addr *, struct flowi *, struct sock *);
1: - void (*get_saddr)(struct sctp_sock *, struct sctp_transport *, struct flowi *);
1: - void (*copy_addrlist)(struct list_head *, struct net_device *);
1: - int (*cmp_addr)(const union sctp_addr *, const union sctp_addr *);
1: - void (*addr_copy)(union sctp_addr *, union sctp_addr *);
1: - void (*from_skb)(union sctp_addr *, struct sk_buff *, int);
1: - void (*from_sk)(union sctp_addr *, struct sock *);
1: - void (*from_addr_param)(union sctp_addr *, union sctp_addr_param *, __be16, int);
1: - int (*to_addr_param)(const union sctp_addr *, union sctp_addr_param *);
1: - int (*addr_valid)(union sctp_addr *, struct sctp_sock *, const struct sk_buff *);
1: - enum sctp_scope (*scope)(union sctp_addr *);
1: - void (*inaddr_any)(union sctp_addr *, __be16);
1: - int (*is_any)(const union sctp_addr *);
1: - int (*available)(union sctp_addr *, struct sctp_sock *);
1: - int (*skb_iif)(const struct sk_buff *);
1: - int (*is_ce)(const struct sk_buff *);
1: - void (*seq_dump_addr)(struct seq_file *, union sctp_addr *);
1: - void (*ecn_capable)(struct sock *);
1: - __u16 net_header_len;
1: - int sockaddr_len;
1: - int (*ip_options_len)(struct sock *);
1: - sa_family_t sa_family;
1: - struct list_head list;
1: + int (*sctp_xmit)(struct sk_buff *, struct sctp_transport *);
1: + int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*getsockopt)(struct sock *, int, int, char *, int *);
1: + int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: + void (*get_dst)(struct sctp_transport *, union sctp_addr *, struct flowi *,
1: + struct sock *);
1: + void (*get_saddr)(struct sctp_sock *, struct sctp_transport *,
1: + struct flowi *);
1: + void (*copy_addrlist)(struct list_head *, struct net_device *);
1: + int (*cmp_addr)(const union sctp_addr *, const union sctp_addr *);
1: + void (*addr_copy)(union sctp_addr *, union sctp_addr *);
1: + void (*from_skb)(union sctp_addr *, struct sk_buff *, int);
1: + void (*from_sk)(union sctp_addr *, struct sock *);
1: + void (*from_addr_param)(union sctp_addr *, union sctp_addr_param *, __be16,
1: + int);
1: + int (*to_addr_param)(const union sctp_addr *, union sctp_addr_param *);
1: + int (*addr_valid)(union sctp_addr *, struct sctp_sock *,
1: + const struct sk_buff *);
1: + enum sctp_scope (*scope)(union sctp_addr *);
1: + void (*inaddr_any)(union sctp_addr *, __be16);
1: + int (*is_any)(const union sctp_addr *);
1: + int (*available)(union sctp_addr *, struct sctp_sock *);
1: + int (*skb_iif)(const struct sk_buff *);
1: + int (*is_ce)(const struct sk_buff *);
1: + void (*seq_dump_addr)(struct seq_file *, union sctp_addr *);
1: + void (*ecn_capable)(struct sock *);
1: + __u16 net_header_len;
1: + int sockaddr_len;
1: + int (*ip_options_len)(struct sock *);
1: + sa_family_t sa_family;
1: + struct list_head list;
1: };
1:
1: struct sctp_packet {
1: - __u16 source_port;
1: - __u16 destination_port;
1: - __u32 vtag;
1: - struct list_head chunk_list;
1: - size_t overhead;
1: - size_t size;
1: - size_t max_size;
1: - struct sctp_transport *transport;
1: - struct sctp_chunk *auth;
1: - u8 has_cookie_echo: 1;
1: - u8 has_sack: 1;
1: - u8 has_auth: 1;
1: - u8 has_data: 1;
1: - u8 ipfragok: 1;
1: + __u16 source_port;
1: + __u16 destination_port;
1: + __u32 vtag;
1: + struct list_head chunk_list;
1: + size_t overhead;
1: + size_t size;
1: + size_t max_size;
1: + struct sctp_transport *transport;
1: + struct sctp_chunk *auth;
1: + u8 has_cookie_echo : 1;
1: + u8 has_sack : 1;
1: + u8 has_auth : 1;
1: + u8 has_data : 1;
1: + u8 ipfragok : 1;
1: };
1:
1: struct sctp_transport {
1: - struct list_head transports;
1: - struct rhlist_head node;
1: - refcount_t refcnt;
1: - __u32 rto_pending: 1;
1: - __u32 hb_sent: 1;
1: - __u32 pmtu_pending: 1;
1: - __u32 dst_pending_confirm: 1;
1: - __u32 sack_generation: 1;
1: - u32 dst_cookie;
1: - struct flowi fl;
1: - union sctp_addr ipaddr;
1: - struct sctp_af *af_specific;
1: - struct sctp_association *asoc;
1: - long unsigned int rto;
1: - __u32 rtt;
1: - __u32 rttvar;
1: - __u32 srtt;
1: - __u32 cwnd;
1: - __u32 ssthresh;
1: - __u32 partial_bytes_acked;
1: - __u32 flight_size;
1: - __u32 burst_limited;
1: - struct dst_entry *dst;
1: - union sctp_addr saddr;
1: - long unsigned int hbinterval;
1: - long unsigned int sackdelay;
1: - __u32 sackfreq;
1: - atomic_t mtu_info;
1: - ktime_t last_time_heard;
1: - long unsigned int last_time_sent;
1: - long unsigned int last_time_ecne_reduced;
1: - __u16 pathmaxrxt;
1: - __u32 flowlabel;
1: - __u8 dscp;
1: - __u16 pf_retrans;
1: - __u16 ps_retrans;
1: - __u32 pathmtu;
1: - __u32 param_flags;
1: - int init_sent_count;
1: - int state;
1: - short unsigned int error_count;
1: - struct timer_list T3_rtx_timer;
1: - struct timer_list hb_timer;
1: - struct timer_list proto_unreach_timer;
1: - struct timer_list reconf_timer;
1: - struct list_head transmitted;
1: - struct sctp_packet packet;
1: - struct list_head send_ready;
1: - struct {
1: - __u32 next_tsn_at_change;
1: - char changeover_active;
1: - char cycling_changeover;
1: - char cacc_saw_newack;
1: - } cacc;
1: - __u64 hb_nonce;
1: - struct callback_head rcu;
1: + struct list_head transports;
1: + struct rhlist_head node;
1: + refcount_t refcnt;
1: + __u32 rto_pending : 1;
1: + __u32 hb_sent : 1;
1: + __u32 pmtu_pending : 1;
1: + __u32 dst_pending_confirm : 1;
1: + __u32 sack_generation : 1;
1: + u32 dst_cookie;
1: + struct flowi fl;
1: + union sctp_addr ipaddr;
1: + struct sctp_af *af_specific;
1: + struct sctp_association *asoc;
1: + long unsigned int rto;
1: + __u32 rtt;
1: + __u32 rttvar;
1: + __u32 srtt;
1: + __u32 cwnd;
1: + __u32 ssthresh;
1: + __u32 partial_bytes_acked;
1: + __u32 flight_size;
1: + __u32 burst_limited;
1: + struct dst_entry *dst;
1: + union sctp_addr saddr;
1: + long unsigned int hbinterval;
1: + long unsigned int sackdelay;
1: + __u32 sackfreq;
1: + atomic_t mtu_info;
1: + ktime_t last_time_heard;
1: + long unsigned int last_time_sent;
1: + long unsigned int last_time_ecne_reduced;
1: + __u16 pathmaxrxt;
1: + __u32 flowlabel;
1: + __u8 dscp;
1: + __u16 pf_retrans;
1: + __u16 ps_retrans;
1: + __u32 pathmtu;
1: + __u32 param_flags;
1: + int init_sent_count;
1: + int state;
1: + short unsigned int error_count;
1: + struct timer_list T3_rtx_timer;
1: + struct timer_list hb_timer;
1: + struct timer_list proto_unreach_timer;
1: + struct timer_list reconf_timer;
1: + struct list_head transmitted;
1: + struct sctp_packet packet;
1: + struct list_head send_ready;
1: + struct {
1: + __u32 next_tsn_at_change;
1: + char changeover_active;
1: + char cycling_changeover;
1: + char cacc_saw_newack;
1: + } cacc;
1: + __u64 hb_nonce;
1: + struct callback_head rcu;
1: };
1:
1: struct sctp_datamsg {
1: - struct list_head chunks;
1: - refcount_t refcnt;
1: - long unsigned int expires_at;
1: - int send_error;
1: - u8 send_failed: 1;
1: - u8 can_delay: 1;
1: - u8 abandoned: 1;
1: + struct list_head chunks;
1: + refcount_t refcnt;
1: + long unsigned int expires_at;
1: + int send_error;
1: + u8 send_failed : 1;
1: + u8 can_delay : 1;
1: + u8 abandoned : 1;
1: };
1:
1: struct sctp_stream_priorities {
1: - struct list_head prio_sched;
1: - struct list_head active;
1: - struct sctp_stream_out_ext *next;
1: - __u16 prio;
1: + struct list_head prio_sched;
1: + struct list_head active;
1: + struct sctp_stream_out_ext *next;
1: + __u16 prio;
1: };
1:
1: struct sctp_stream_out_ext {
1: - __u64 abandoned_unsent[3];
1: - __u64 abandoned_sent[3];
1: - struct list_head outq;
1: - union {
1: - struct {
1: - struct list_head prio_list;
1: - struct sctp_stream_priorities *prio_head;
1: - };
1: - struct {
1: - struct list_head rr_list;
1: - };
1: - };
1: + __u64 abandoned_unsent[3];
1: + __u64 abandoned_sent[3];
1: + struct list_head outq;
1: + union {
1: + struct {
1: + struct list_head prio_list;
1: + struct sctp_stream_priorities *prio_head;
1: + };
1: + struct {
1: + struct list_head rr_list;
1: + };
1: + };
1: };
1:
1: struct task_security_struct {
1: - u32 osid;
1: - u32 sid;
1: - u32 exec_sid;
1: - u32 create_sid;
1: - u32 keycreate_sid;
1: - u32 sockcreate_sid;
1: + u32 osid;
1: + u32 sid;
1: + u32 exec_sid;
1: + u32 create_sid;
1: + u32 keycreate_sid;
1: + u32 sockcreate_sid;
1: };
1:
1: enum label_initialized {
1: - LABEL_INVALID = 0,
1: - LABEL_INITIALIZED = 1,
1: - LABEL_PENDING = 2,
1: + LABEL_INVALID = 0,
1: + LABEL_INITIALIZED = 1,
1: + LABEL_PENDING = 2,
1: };
1:
1: struct inode_security_struct {
1: - struct inode *inode;
1: - struct list_head list;
1: - u32 task_sid;
1: - u32 sid;
1: - u16 sclass;
1: - unsigned char initialized;
1: - spinlock_t lock;
1: + struct inode *inode;
1: + struct list_head list;
1: + u32 task_sid;
1: + u32 sid;
1: + u16 sclass;
1: + unsigned char initialized;
1: + spinlock_t lock;
1: };
1:
1: struct file_security_struct {
1: - u32 sid;
1: - u32 fown_sid;
1: - u32 isid;
1: - u32 pseqno;
1: + u32 sid;
1: + u32 fown_sid;
1: + u32 isid;
1: + u32 pseqno;
1: };
1:
1: struct superblock_security_struct {
1: - struct super_block *sb;
1: - u32 sid;
1: - u32 def_sid;
1: - u32 mntpoint_sid;
1: - short unsigned int behavior;
1: - short unsigned int flags;
1: - struct mutex lock;
1: - struct list_head isec_head;
1: - spinlock_t isec_lock;
1: + struct super_block *sb;
1: + u32 sid;
1: + u32 def_sid;
1: + u32 mntpoint_sid;
1: + short unsigned int behavior;
1: + short unsigned int flags;
1: + struct mutex lock;
1: + struct list_head isec_head;
1: + spinlock_t isec_lock;
1: };
1:
1: struct msg_security_struct {
1: - u32 sid;
1: + u32 sid;
1: };
1:
1: struct ipc_security_struct {
1: - u16 sclass;
1: - u32 sid;
1: + u16 sclass;
1: + u32 sid;
1: };
1:
1: struct sk_security_struct {
1: - enum {
1: - NLBL_UNSET = 0,
1: - NLBL_REQUIRE = 1,
1: - NLBL_LABELED = 2,
1: - NLBL_REQSKB = 3,
1: - NLBL_CONNLABELED = 4,
1: - } nlbl_state;
1: - struct netlbl_lsm_secattr *nlbl_secattr;
1: - u32 sid;
1: - u32 peer_sid;
1: - u16 sclass;
1: - enum {
1: - SCTP_ASSOC_UNSET = 0,
1: - SCTP_ASSOC_SET = 1,
1: - } sctp_assoc_state;
1: + enum {
1: + NLBL_UNSET = 0,
1: + NLBL_REQUIRE = 1,
1: + NLBL_LABELED = 2,
1: + NLBL_REQSKB = 3,
1: + NLBL_CONNLABELED = 4,
1: + } nlbl_state;
1: + struct netlbl_lsm_secattr *nlbl_secattr;
1: + u32 sid;
1: + u32 peer_sid;
1: + u16 sclass;
1: + enum {
1: + SCTP_ASSOC_UNSET = 0,
1: + SCTP_ASSOC_SET = 1,
1: + } sctp_assoc_state;
1: };
1:
1: struct tun_security_struct {
1: - u32 sid;
1: + u32 sid;
1: };
1:
1: struct key_security_struct {
1: - u32 sid;
1: + u32 sid;
1: };
1:
1: struct perf_event_security_struct {
1: - u32 sid;
1: + u32 sid;
1: };
1:
1: struct selinux_mnt_opts {
1: - const char *fscontext;
1: - const char *context;
1: - const char *rootcontext;
1: - const char *defcontext;
1: + const char *fscontext;
1: + const char *context;
1: + const char *rootcontext;
1: + const char *defcontext;
1: };
1:
1: enum {
1: - Opt_error = -1,
1: - Opt_context = 0,
1: - Opt_defcontext = 1,
1: - Opt_fscontext = 2,
1: - Opt_rootcontext = 3,
1: - Opt_seclabel = 4,
1: + Opt_error = -1,
1: + Opt_context = 0,
1: + Opt_defcontext = 1,
1: + Opt_fscontext = 2,
1: + Opt_rootcontext = 3,
1: + Opt_seclabel = 4,
1: };
1:
1: enum sel_inos {
1: - SEL_ROOT_INO = 2,
1: - SEL_LOAD = 3,
1: - SEL_ENFORCE = 4,
1: - SEL_CONTEXT = 5,
1: - SEL_ACCESS = 6,
1: - SEL_CREATE = 7,
1: - SEL_RELABEL = 8,
1: - SEL_USER = 9,
1: - SEL_POLICYVERS = 10,
1: - SEL_COMMIT_BOOLS = 11,
1: - SEL_MLS = 12,
1: - SEL_DISABLE = 13,
1: - SEL_MEMBER = 14,
1: - SEL_CHECKREQPROT = 15,
1: - SEL_COMPAT_NET = 16,
1: - SEL_REJECT_UNKNOWN = 17,
1: - SEL_DENY_UNKNOWN = 18,
1: - SEL_STATUS = 19,
1: - SEL_POLICY = 20,
1: - SEL_VALIDATE_TRANS = 21,
1: - SEL_INO_NEXT = 22,
1: + SEL_ROOT_INO = 2,
1: + SEL_LOAD = 3,
1: + SEL_ENFORCE = 4,
1: + SEL_CONTEXT = 5,
1: + SEL_ACCESS = 6,
1: + SEL_CREATE = 7,
1: + SEL_RELABEL = 8,
1: + SEL_USER = 9,
1: + SEL_POLICYVERS = 10,
1: + SEL_COMMIT_BOOLS = 11,
1: + SEL_MLS = 12,
1: + SEL_DISABLE = 13,
1: + SEL_MEMBER = 14,
1: + SEL_CHECKREQPROT = 15,
1: + SEL_COMPAT_NET = 16,
1: + SEL_REJECT_UNKNOWN = 17,
1: + SEL_DENY_UNKNOWN = 18,
1: + SEL_STATUS = 19,
1: + SEL_POLICY = 20,
1: + SEL_VALIDATE_TRANS = 21,
1: + SEL_INO_NEXT = 22,
1: };
1:
1: struct selinux_fs_info {
1: - struct dentry *bool_dir;
1: - unsigned int bool_num;
1: - char **bool_pending_names;
1: - unsigned int *bool_pending_values;
1: - struct dentry *class_dir;
1: - long unsigned int last_class_ino;
1: - bool policy_opened;
1: - struct dentry *policycap_dir;
1: - struct mutex mutex;
1: - long unsigned int last_ino;
1: - struct selinux_state *state;
1: - struct super_block *sb;
1: + struct dentry *bool_dir;
1: + unsigned int bool_num;
1: + char **bool_pending_names;
1: + unsigned int *bool_pending_values;
1: + struct dentry *class_dir;
1: + long unsigned int last_class_ino;
1: + bool policy_opened;
1: + struct dentry *policycap_dir;
1: + struct mutex mutex;
1: + long unsigned int last_ino;
1: + struct selinux_state *state;
1: + struct super_block *sb;
1: };
1:
1: struct policy_load_memory {
1: - size_t len;
1: - void *data;
1: + size_t len;
1: + void *data;
1: };
1:
1: enum {
1: - SELNL_MSG_SETENFORCE = 16,
1: - SELNL_MSG_POLICYLOAD = 17,
1: - SELNL_MSG_MAX = 18,
1: + SELNL_MSG_SETENFORCE = 16,
1: + SELNL_MSG_POLICYLOAD = 17,
1: + SELNL_MSG_MAX = 18,
1: };
1:
1: enum selinux_nlgroups {
1: - SELNLGRP_NONE = 0,
1: - SELNLGRP_AVC = 1,
1: - __SELNLGRP_MAX = 2,
1: + SELNLGRP_NONE = 0,
1: + SELNLGRP_AVC = 1,
1: + __SELNLGRP_MAX = 2,
1: };
1:
1: struct selnl_msg_setenforce {
1: - __s32 val;
1: + __s32 val;
1: };
1:
1: struct selnl_msg_policyload {
1: - __u32 seqno;
1: -};
1: -
1: -enum {
1: - XFRM_MSG_BASE = 16,
1: - XFRM_MSG_NEWSA = 16,
1: - XFRM_MSG_DELSA = 17,
1: - XFRM_MSG_GETSA = 18,
1: - XFRM_MSG_NEWPOLICY = 19,
1: - XFRM_MSG_DELPOLICY = 20,
1: - XFRM_MSG_GETPOLICY = 21,
1: - XFRM_MSG_ALLOCSPI = 22,
1: - XFRM_MSG_ACQUIRE = 23,
1: - XFRM_MSG_EXPIRE = 24,
1: - XFRM_MSG_UPDPOLICY = 25,
1: - XFRM_MSG_UPDSA = 26,
1: - XFRM_MSG_POLEXPIRE = 27,
1: - XFRM_MSG_FLUSHSA = 28,
1: - XFRM_MSG_FLUSHPOLICY = 29,
1: - XFRM_MSG_NEWAE = 30,
1: - XFRM_MSG_GETAE = 31,
1: - XFRM_MSG_REPORT = 32,
1: - XFRM_MSG_MIGRATE = 33,
1: - XFRM_MSG_NEWSADINFO = 34,
1: - XFRM_MSG_GETSADINFO = 35,
1: - XFRM_MSG_NEWSPDINFO = 36,
1: - XFRM_MSG_GETSPDINFO = 37,
1: - XFRM_MSG_MAPPING = 38,
1: - __XFRM_MSG_MAX = 39,
1: -};
1: -
1: -enum {
1: - RTM_BASE = 16,
1: - RTM_NEWLINK = 16,
1: - RTM_DELLINK = 17,
1: - RTM_GETLINK = 18,
1: - RTM_SETLINK = 19,
1: - RTM_NEWADDR = 20,
1: - RTM_DELADDR = 21,
1: - RTM_GETADDR = 22,
1: - RTM_NEWROUTE = 24,
1: - RTM_DELROUTE = 25,
1: - RTM_GETROUTE = 26,
1: - RTM_NEWNEIGH = 28,
1: - RTM_DELNEIGH = 29,
1: - RTM_GETNEIGH = 30,
1: - RTM_NEWRULE = 32,
1: - RTM_DELRULE = 33,
1: - RTM_GETRULE = 34,
1: - RTM_NEWQDISC = 36,
1: - RTM_DELQDISC = 37,
1: - RTM_GETQDISC = 38,
1: - RTM_NEWTCLASS = 40,
1: - RTM_DELTCLASS = 41,
1: - RTM_GETTCLASS = 42,
1: - RTM_NEWTFILTER = 44,
1: - RTM_DELTFILTER = 45,
1: - RTM_GETTFILTER = 46,
1: - RTM_NEWACTION = 48,
1: - RTM_DELACTION = 49,
1: - RTM_GETACTION = 50,
1: - RTM_NEWPREFIX = 52,
1: - RTM_GETMULTICAST = 58,
1: - RTM_GETANYCAST = 62,
1: - RTM_NEWNEIGHTBL = 64,
1: - RTM_GETNEIGHTBL = 66,
1: - RTM_SETNEIGHTBL = 67,
1: - RTM_NEWNDUSEROPT = 68,
1: - RTM_NEWADDRLABEL = 72,
1: - RTM_DELADDRLABEL = 73,
1: - RTM_GETADDRLABEL = 74,
1: - RTM_GETDCB = 78,
1: - RTM_SETDCB = 79,
1: - RTM_NEWNETCONF = 80,
1: - RTM_DELNETCONF = 81,
1: - RTM_GETNETCONF = 82,
1: - RTM_NEWMDB = 84,
1: - RTM_DELMDB = 85,
1: - RTM_GETMDB = 86,
1: - RTM_NEWNSID = 88,
1: - RTM_DELNSID = 89,
1: - RTM_GETNSID = 90,
1: - RTM_NEWSTATS = 92,
1: - RTM_GETSTATS = 94,
1: - RTM_NEWCACHEREPORT = 96,
1: - RTM_NEWCHAIN = 100,
1: - RTM_DELCHAIN = 101,
1: - RTM_GETCHAIN = 102,
1: - RTM_NEWNEXTHOP = 104,
1: - RTM_DELNEXTHOP = 105,
1: - RTM_GETNEXTHOP = 106,
1: - RTM_NEWLINKPROP = 108,
1: - RTM_DELLINKPROP = 109,
1: - RTM_GETLINKPROP = 110,
1: - __RTM_MAX = 111,
1: + __u32 seqno;
1: +};
1: +
1: +enum {
1: + XFRM_MSG_BASE = 16,
1: + XFRM_MSG_NEWSA = 16,
1: + XFRM_MSG_DELSA = 17,
1: + XFRM_MSG_GETSA = 18,
1: + XFRM_MSG_NEWPOLICY = 19,
1: + XFRM_MSG_DELPOLICY = 20,
1: + XFRM_MSG_GETPOLICY = 21,
1: + XFRM_MSG_ALLOCSPI = 22,
1: + XFRM_MSG_ACQUIRE = 23,
1: + XFRM_MSG_EXPIRE = 24,
1: + XFRM_MSG_UPDPOLICY = 25,
1: + XFRM_MSG_UPDSA = 26,
1: + XFRM_MSG_POLEXPIRE = 27,
1: + XFRM_MSG_FLUSHSA = 28,
1: + XFRM_MSG_FLUSHPOLICY = 29,
1: + XFRM_MSG_NEWAE = 30,
1: + XFRM_MSG_GETAE = 31,
1: + XFRM_MSG_REPORT = 32,
1: + XFRM_MSG_MIGRATE = 33,
1: + XFRM_MSG_NEWSADINFO = 34,
1: + XFRM_MSG_GETSADINFO = 35,
1: + XFRM_MSG_NEWSPDINFO = 36,
1: + XFRM_MSG_GETSPDINFO = 37,
1: + XFRM_MSG_MAPPING = 38,
1: + __XFRM_MSG_MAX = 39,
1: +};
1: +
1: +enum {
1: + RTM_BASE = 16,
1: + RTM_NEWLINK = 16,
1: + RTM_DELLINK = 17,
1: + RTM_GETLINK = 18,
1: + RTM_SETLINK = 19,
1: + RTM_NEWADDR = 20,
1: + RTM_DELADDR = 21,
1: + RTM_GETADDR = 22,
1: + RTM_NEWROUTE = 24,
1: + RTM_DELROUTE = 25,
1: + RTM_GETROUTE = 26,
1: + RTM_NEWNEIGH = 28,
1: + RTM_DELNEIGH = 29,
1: + RTM_GETNEIGH = 30,
1: + RTM_NEWRULE = 32,
1: + RTM_DELRULE = 33,
1: + RTM_GETRULE = 34,
1: + RTM_NEWQDISC = 36,
1: + RTM_DELQDISC = 37,
1: + RTM_GETQDISC = 38,
1: + RTM_NEWTCLASS = 40,
1: + RTM_DELTCLASS = 41,
1: + RTM_GETTCLASS = 42,
1: + RTM_NEWTFILTER = 44,
1: + RTM_DELTFILTER = 45,
1: + RTM_GETTFILTER = 46,
1: + RTM_NEWACTION = 48,
1: + RTM_DELACTION = 49,
1: + RTM_GETACTION = 50,
1: + RTM_NEWPREFIX = 52,
1: + RTM_GETMULTICAST = 58,
1: + RTM_GETANYCAST = 62,
1: + RTM_NEWNEIGHTBL = 64,
1: + RTM_GETNEIGHTBL = 66,
1: + RTM_SETNEIGHTBL = 67,
1: + RTM_NEWNDUSEROPT = 68,
1: + RTM_NEWADDRLABEL = 72,
1: + RTM_DELADDRLABEL = 73,
1: + RTM_GETADDRLABEL = 74,
1: + RTM_GETDCB = 78,
1: + RTM_SETDCB = 79,
1: + RTM_NEWNETCONF = 80,
1: + RTM_DELNETCONF = 81,
1: + RTM_GETNETCONF = 82,
1: + RTM_NEWMDB = 84,
1: + RTM_DELMDB = 85,
1: + RTM_GETMDB = 86,
1: + RTM_NEWNSID = 88,
1: + RTM_DELNSID = 89,
1: + RTM_GETNSID = 90,
1: + RTM_NEWSTATS = 92,
1: + RTM_GETSTATS = 94,
1: + RTM_NEWCACHEREPORT = 96,
1: + RTM_NEWCHAIN = 100,
1: + RTM_DELCHAIN = 101,
1: + RTM_GETCHAIN = 102,
1: + RTM_NEWNEXTHOP = 104,
1: + RTM_DELNEXTHOP = 105,
1: + RTM_GETNEXTHOP = 106,
1: + RTM_NEWLINKPROP = 108,
1: + RTM_DELLINKPROP = 109,
1: + RTM_GETLINKPROP = 110,
1: + __RTM_MAX = 111,
1: };
1:
1: struct nlmsg_perm {
1: - u16 nlmsg_type;
1: - u32 perm;
1: + u16 nlmsg_type;
1: + u32 perm;
1: };
1:
1: struct netdev_notifier_info {
1: - struct net_device *dev;
1: - struct netlink_ext_ack *extack;
1: + struct net_device *dev;
1: + struct netlink_ext_ack *extack;
1: };
1:
1: struct netif_security_struct {
1: - struct net *ns;
1: - int ifindex;
1: - u32 sid;
1: + struct net *ns;
1: + int ifindex;
1: + u32 sid;
1: };
1:
1: struct sel_netif {
1: - struct list_head list;
1: - struct netif_security_struct nsec;
1: - struct callback_head callback_head;
1: + struct list_head list;
1: + struct netif_security_struct nsec;
1: + struct callback_head callback_head;
1: };
1:
1: struct netnode_security_struct {
1: - union {
1: - __be32 ipv4;
1: - struct in6_addr ipv6;
1: - } addr;
1: - u32 sid;
1: - u16 family;
1: + union {
1: + __be32 ipv4;
1: + struct in6_addr ipv6;
1: + } addr;
1: + u32 sid;
1: + u16 family;
1: };
1:
1: struct sel_netnode_bkt {
1: - unsigned int size;
1: - struct list_head list;
1: + unsigned int size;
1: + struct list_head list;
1: };
1:
1: struct sel_netnode {
1: - struct netnode_security_struct nsec;
1: - struct list_head list;
1: - struct callback_head rcu;
1: + struct netnode_security_struct nsec;
1: + struct list_head list;
1: + struct callback_head rcu;
1: };
1:
1: struct netport_security_struct {
1: - u32 sid;
1: - u16 port;
1: - u8 protocol;
1: + u32 sid;
1: + u16 port;
1: + u8 protocol;
1: };
1:
1: struct sel_netport_bkt {
1: - int size;
1: - struct list_head list;
1: + int size;
1: + struct list_head list;
1: };
1:
1: struct sel_netport {
1: - struct netport_security_struct psec;
1: - struct list_head list;
1: - struct callback_head rcu;
1: + struct netport_security_struct psec;
1: + struct list_head list;
1: + struct callback_head rcu;
1: };
1:
1: struct pkey_security_struct {
1: - u64 subnet_prefix;
1: - u16 pkey;
1: - u32 sid;
1: + u64 subnet_prefix;
1: + u16 pkey;
1: + u32 sid;
1: };
1:
1: struct sel_ib_pkey_bkt {
1: - int size;
1: - struct list_head list;
1: + int size;
1: + struct list_head list;
1: };
1:
1: struct sel_ib_pkey {
1: - struct pkey_security_struct psec;
1: - struct list_head list;
1: - struct callback_head rcu;
1: + struct pkey_security_struct psec;
1: + struct list_head list;
1: + struct callback_head rcu;
1: };
1:
1: struct ebitmap_node {
1: - struct ebitmap_node *next;
1: - long unsigned int maps[6];
1: - u32 startbit;
1: + struct ebitmap_node *next;
1: + long unsigned int maps[6];
1: + u32 startbit;
1: };
1:
1: struct ebitmap {
1: - struct ebitmap_node *node;
1: - u32 highbit;
1: + struct ebitmap_node *node;
1: + u32 highbit;
1: };
1:
1: struct policy_file {
1: - char *data;
1: - size_t len;
1: + char *data;
1: + size_t len;
1: };
1:
1: struct hashtab_node {
1: - void *key;
1: - void *datum;
1: - struct hashtab_node *next;
1: + void *key;
1: + void *datum;
1: + struct hashtab_node *next;
1: };
1:
1: struct hashtab {
1: - struct hashtab_node **htable;
1: - u32 size;
1: - u32 nel;
1: - u32 (*hash_value)(struct hashtab *, const void *);
1: - int (*keycmp)(struct hashtab *, const void *, const void *);
1: + struct hashtab_node **htable;
1: + u32 size;
1: + u32 nel;
1: + u32 (*hash_value)(struct hashtab *, const void *);
1: + int (*keycmp)(struct hashtab *, const void *, const void *);
1: };
1:
1: struct hashtab_info {
1: - u32 slots_used;
1: - u32 max_chain_len;
1: + u32 slots_used;
1: + u32 max_chain_len;
1: };
1:
1: struct symtab {
1: - struct hashtab *table;
1: - u32 nprim;
1: + struct hashtab *table;
1: + u32 nprim;
1: };
1:
1: struct mls_level {
1: - u32 sens;
1: - struct ebitmap cat;
1: + u32 sens;
1: + struct ebitmap cat;
1: };
1:
1: struct mls_range {
1: - struct mls_level level[2];
1: + struct mls_level level[2];
1: };
1:
1: struct context___2 {
1: - u32 user;
1: - u32 role;
1: - u32 type;
1: - u32 len;
1: - struct mls_range range;
1: - char *str;
1: + u32 user;
1: + u32 role;
1: + u32 type;
1: + u32 len;
1: + struct mls_range range;
1: + char *str;
1: };
1:
1: struct sidtab_entry_leaf {
1: - struct context___2 context;
1: + struct context___2 context;
1: };
1:
1: struct sidtab_node_inner;
1: @@ -53076,274 +53496,274 @@ struct sidtab_node_inner;
1: struct sidtab_node_leaf;
1:
1: union sidtab_entry_inner {
1: - struct sidtab_node_inner *ptr_inner;
1: - struct sidtab_node_leaf *ptr_leaf;
1: + struct sidtab_node_inner *ptr_inner;
1: + struct sidtab_node_leaf *ptr_leaf;
1: };
1:
1: struct sidtab_node_inner {
1: - union sidtab_entry_inner entries[512];
1: + union sidtab_entry_inner entries[512];
1: };
1:
1: struct sidtab_node_leaf {
1: - struct sidtab_entry_leaf entries[56];
1: + struct sidtab_entry_leaf entries[56];
1: };
1:
1: struct sidtab_isid_entry {
1: - int set;
1: - struct context___2 context;
1: + int set;
1: + struct context___2 context;
1: };
1:
1: struct sidtab;
1:
1: struct sidtab_convert_params {
1: - int (*func)(struct context___2 *, struct context___2 *, void *);
1: - void *args;
1: - struct sidtab *target;
1: + int (*func)(struct context___2 *, struct context___2 *, void *);
1: + void *args;
1: + struct sidtab *target;
1: };
1:
1: struct sidtab {
1: - union sidtab_entry_inner roots[4];
1: - u32 count;
1: - struct sidtab_convert_params *convert;
1: - spinlock_t lock;
1: - u32 rcache[3];
1: - struct sidtab_isid_entry isids[27];
1: + union sidtab_entry_inner roots[4];
1: + u32 count;
1: + struct sidtab_convert_params *convert;
1: + spinlock_t lock;
1: + u32 rcache[3];
1: + struct sidtab_isid_entry isids[27];
1: };
1:
1: struct avtab_key {
1: - u16 source_type;
1: - u16 target_type;
1: - u16 target_class;
1: - u16 specified;
1: + u16 source_type;
1: + u16 target_type;
1: + u16 target_class;
1: + u16 specified;
1: };
1:
1: struct avtab_extended_perms {
1: - u8 specified;
1: - u8 driver;
1: - struct extended_perms_data perms;
1: + u8 specified;
1: + u8 driver;
1: + struct extended_perms_data perms;
1: };
1:
1: struct avtab_datum {
1: - union {
1: - u32 data;
1: - struct avtab_extended_perms *xperms;
1: - } u;
1: + union {
1: + u32 data;
1: + struct avtab_extended_perms *xperms;
1: + } u;
1: };
1:
1: struct avtab_node {
1: - struct avtab_key key;
1: - struct avtab_datum datum;
1: - struct avtab_node *next;
1: + struct avtab_key key;
1: + struct avtab_datum datum;
1: + struct avtab_node *next;
1: };
1:
1: struct avtab {
1: - struct avtab_node **htable;
1: - u32 nel;
1: - u32 nslot;
1: - u32 mask;
1: + struct avtab_node **htable;
1: + u32 nel;
1: + u32 nslot;
1: + u32 mask;
1: };
1:
1: struct type_set;
1:
1: struct constraint_expr {
1: - u32 expr_type;
1: - u32 attr;
1: - u32 op;
1: - struct ebitmap names;
1: - struct type_set *type_names;
1: - struct constraint_expr *next;
1: + u32 expr_type;
1: + u32 attr;
1: + u32 op;
1: + struct ebitmap names;
1: + struct type_set *type_names;
1: + struct constraint_expr *next;
1: };
1:
1: struct type_set {
1: - struct ebitmap types;
1: - struct ebitmap negset;
1: - u32 flags;
1: + struct ebitmap types;
1: + struct ebitmap negset;
1: + u32 flags;
1: };
1:
1: struct constraint_node {
1: - u32 permissions;
1: - struct constraint_expr *expr;
1: - struct constraint_node *next;
1: + u32 permissions;
1: + struct constraint_expr *expr;
1: + struct constraint_node *next;
1: };
1:
1: struct common_datum {
1: - u32 value;
1: - struct symtab permissions;
1: + u32 value;
1: + struct symtab permissions;
1: };
1:
1: struct class_datum {
1: - u32 value;
1: - char *comkey;
1: - struct common_datum *comdatum;
1: - struct symtab permissions;
1: - struct constraint_node *constraints;
1: - struct constraint_node *validatetrans;
1: - char default_user;
1: - char default_role;
1: - char default_type;
1: - char default_range;
1: + u32 value;
1: + char *comkey;
1: + struct common_datum *comdatum;
1: + struct symtab permissions;
1: + struct constraint_node *constraints;
1: + struct constraint_node *validatetrans;
1: + char default_user;
1: + char default_role;
1: + char default_type;
1: + char default_range;
1: };
1:
1: struct role_datum {
1: - u32 value;
1: - u32 bounds;
1: - struct ebitmap dominates;
1: - struct ebitmap types;
1: + u32 value;
1: + u32 bounds;
1: + struct ebitmap dominates;
1: + struct ebitmap types;
1: };
1:
1: struct role_trans {
1: - u32 role;
1: - u32 type;
1: - u32 tclass;
1: - u32 new_role;
1: - struct role_trans *next;
1: + u32 role;
1: + u32 type;
1: + u32 tclass;
1: + u32 new_role;
1: + struct role_trans *next;
1: };
1:
1: struct role_allow {
1: - u32 role;
1: - u32 new_role;
1: - struct role_allow *next;
1: + u32 role;
1: + u32 new_role;
1: + struct role_allow *next;
1: };
1:
1: struct type_datum {
1: - u32 value;
1: - u32 bounds;
1: - unsigned char primary;
1: - unsigned char attribute;
1: + u32 value;
1: + u32 bounds;
1: + unsigned char primary;
1: + unsigned char attribute;
1: };
1:
1: struct user_datum {
1: - u32 value;
1: - u32 bounds;
1: - struct ebitmap roles;
1: - struct mls_range range;
1: - struct mls_level dfltlevel;
1: + u32 value;
1: + u32 bounds;
1: + struct ebitmap roles;
1: + struct mls_range range;
1: + struct mls_level dfltlevel;
1: };
1:
1: struct cond_bool_datum {
1: - __u32 value;
1: - int state;
1: + __u32 value;
1: + int state;
1: };
1:
1: struct ocontext {
1: - union {
1: - char *name;
1: - struct {
1: - u8 protocol;
1: - u16 low_port;
1: - u16 high_port;
1: - } port;
1: - struct {
1: - u32 addr;
1: - u32 mask;
1: - } node;
1: - struct {
1: - u32 addr[4];
1: - u32 mask[4];
1: - } node6;
1: - struct {
1: - u64 subnet_prefix;
1: - u16 low_pkey;
1: - u16 high_pkey;
1: - } ibpkey;
1: - struct {
1: - char *dev_name;
1: - u8 port;
1: - } ibendport;
1: - } u;
1: - union {
1: - u32 sclass;
1: - u32 behavior;
1: - } v;
1: - struct context___2 context[2];
1: - u32 sid[2];
1: - struct ocontext *next;
1: + union {
1: + char *name;
1: + struct {
1: + u8 protocol;
1: + u16 low_port;
1: + u16 high_port;
1: + } port;
1: + struct {
1: + u32 addr;
1: + u32 mask;
1: + } node;
1: + struct {
1: + u32 addr[4];
1: + u32 mask[4];
1: + } node6;
1: + struct {
1: + u64 subnet_prefix;
1: + u16 low_pkey;
1: + u16 high_pkey;
1: + } ibpkey;
1: + struct {
1: + char *dev_name;
1: + u8 port;
1: + } ibendport;
1: + } u;
1: + union {
1: + u32 sclass;
1: + u32 behavior;
1: + } v;
1: + struct context___2 context[2];
1: + u32 sid[2];
1: + struct ocontext *next;
1: };
1:
1: struct genfs {
1: - char *fstype;
1: - struct ocontext *head;
1: - struct genfs *next;
1: + char *fstype;
1: + struct ocontext *head;
1: + struct genfs *next;
1: };
1:
1: struct cond_node;
1:
1: struct policydb {
1: - int mls_enabled;
1: - struct symtab symtab[8];
1: - char **sym_val_to_name[8];
1: - struct class_datum **class_val_to_struct;
1: - struct role_datum **role_val_to_struct;
1: - struct user_datum **user_val_to_struct;
1: - struct type_datum **type_val_to_struct;
1: - struct avtab te_avtab;
1: - struct role_trans *role_tr;
1: - struct ebitmap filename_trans_ttypes;
1: - struct hashtab *filename_trans;
1: - struct cond_bool_datum **bool_val_to_struct;
1: - struct avtab te_cond_avtab;
1: - struct cond_node *cond_list;
1: - struct role_allow *role_allow;
1: - struct ocontext *ocontexts[9];
1: - struct genfs *genfs;
1: - struct hashtab *range_tr;
1: - struct ebitmap *type_attr_map_array;
1: - struct ebitmap policycaps;
1: - struct ebitmap permissive_map;
1: - size_t len;
1: - unsigned int policyvers;
1: - unsigned int reject_unknown: 1;
1: - unsigned int allow_unknown: 1;
1: - u16 process_class;
1: - u32 process_trans_perms;
1: + int mls_enabled;
1: + struct symtab symtab[8];
1: + char **sym_val_to_name[8];
1: + struct class_datum **class_val_to_struct;
1: + struct role_datum **role_val_to_struct;
1: + struct user_datum **user_val_to_struct;
1: + struct type_datum **type_val_to_struct;
1: + struct avtab te_avtab;
1: + struct role_trans *role_tr;
1: + struct ebitmap filename_trans_ttypes;
1: + struct hashtab *filename_trans;
1: + struct cond_bool_datum **bool_val_to_struct;
1: + struct avtab te_cond_avtab;
1: + struct cond_node *cond_list;
1: + struct role_allow *role_allow;
1: + struct ocontext *ocontexts[9];
1: + struct genfs *genfs;
1: + struct hashtab *range_tr;
1: + struct ebitmap *type_attr_map_array;
1: + struct ebitmap policycaps;
1: + struct ebitmap permissive_map;
1: + size_t len;
1: + unsigned int policyvers;
1: + unsigned int reject_unknown : 1;
1: + unsigned int allow_unknown : 1;
1: + u16 process_class;
1: + u32 process_trans_perms;
1: };
1:
1: struct selinux_mapping;
1:
1: struct selinux_map {
1: - struct selinux_mapping *mapping;
1: - u16 size;
1: + struct selinux_mapping *mapping;
1: + u16 size;
1: };
1:
1: struct selinux_ss {
1: - struct sidtab *sidtab;
1: - struct policydb policydb;
1: - rwlock_t policy_rwlock;
1: - u32 latest_granting;
1: - struct selinux_map map;
1: - struct page *status_page;
1: - struct mutex status_lock;
1: + struct sidtab *sidtab;
1: + struct policydb policydb;
1: + rwlock_t policy_rwlock;
1: + u32 latest_granting;
1: + struct selinux_map map;
1: + struct page *status_page;
1: + struct mutex status_lock;
1: };
1:
1: struct perm_datum {
1: - u32 value;
1: + u32 value;
1: };
1:
1: struct filename_trans {
1: - u32 stype;
1: - u32 ttype;
1: - u16 tclass;
1: - const char *name;
1: + u32 stype;
1: + u32 ttype;
1: + u16 tclass;
1: + const char *name;
1: };
1:
1: struct filename_trans_datum {
1: - u32 otype;
1: + u32 otype;
1: };
1:
1: struct level_datum {
1: - struct mls_level *level;
1: - unsigned char isalias;
1: + struct mls_level *level;
1: + unsigned char isalias;
1: };
1:
1: struct cat_datum {
1: - u32 value;
1: - unsigned char isalias;
1: + u32 value;
1: + unsigned char isalias;
1: };
1:
1: struct range_trans {
1: - u32 source_type;
1: - u32 target_type;
1: - u32 target_class;
1: + u32 source_type;
1: + u32 target_type;
1: + u32 target_class;
1: };
1:
1: struct cond_expr;
1: @@ -53351,141 +53771,141 @@ struct cond_expr;
1: struct cond_av_list;
1:
1: struct cond_node {
1: - int cur_state;
1: - struct cond_expr *expr;
1: - struct cond_av_list *true_list;
1: - struct cond_av_list *false_list;
1: - struct cond_node *next;
1: + int cur_state;
1: + struct cond_expr *expr;
1: + struct cond_av_list *true_list;
1: + struct cond_av_list *false_list;
1: + struct cond_node *next;
1: };
1:
1: struct policy_data {
1: - struct policydb *p;
1: - void *fp;
1: + struct policydb *p;
1: + void *fp;
1: };
1:
1: struct cond_expr {
1: - __u32 expr_type;
1: - __u32 bool;
1: - struct cond_expr *next;
1: + __u32 expr_type;
1: + __u32 bool;
1: + struct cond_expr *next;
1: };
1:
1: struct cond_av_list {
1: - struct avtab_node *node;
1: - struct cond_av_list *next;
1: + struct avtab_node *node;
1: + struct cond_av_list *next;
1: };
1:
1: struct selinux_mapping {
1: - u16 value;
1: - unsigned int num_perms;
1: - u32 perms[32];
1: + u16 value;
1: + unsigned int num_perms;
1: + u32 perms[32];
1: };
1:
1: struct policydb_compat_info {
1: - int version;
1: - int sym_num;
1: - int ocon_num;
1: + int version;
1: + int sym_num;
1: + int ocon_num;
1: };
1:
1: struct convert_context_args {
1: - struct selinux_state *state;
1: - struct policydb *oldp;
1: - struct policydb *newp;
1: + struct selinux_state *state;
1: + struct policydb *oldp;
1: + struct policydb *newp;
1: };
1:
1: struct selinux_audit_rule {
1: - u32 au_seqno;
1: - struct context___2 au_ctxt;
1: + u32 au_seqno;
1: + struct context___2 au_ctxt;
1: };
1:
1: struct cond_insertf_data {
1: - struct policydb *p;
1: - struct cond_av_list *other;
1: - struct cond_av_list *head;
1: - struct cond_av_list *tail;
1: + struct policydb *p;
1: + struct cond_av_list *other;
1: + struct cond_av_list *head;
1: + struct cond_av_list *tail;
1: };
1:
1: struct selinux_kernel_status {
1: - u32 version;
1: - u32 sequence;
1: - u32 enforcing;
1: - u32 policyload;
1: - u32 deny_unknown;
1: + u32 version;
1: + u32 sequence;
1: + u32 enforcing;
1: + u32 policyload;
1: + u32 deny_unknown;
1: };
1:
1: struct sockaddr_un {
1: - __kernel_sa_family_t sun_family;
1: - char sun_path[108];
1: + __kernel_sa_family_t sun_family;
1: + char sun_path[108];
1: };
1:
1: struct unix_address {
1: - refcount_t refcnt;
1: - int len;
1: - unsigned int hash;
1: - struct sockaddr_un name[0];
1: + refcount_t refcnt;
1: + int len;
1: + unsigned int hash;
1: + struct sockaddr_un name[0];
1: };
1:
1: struct unix_sock {
1: - struct sock sk;
1: - struct unix_address *addr;
1: - struct path path;
1: - struct mutex iolock;
1: - struct mutex bindlock;
1: - struct sock *peer;
1: - struct list_head link;
1: - atomic_long_t inflight;
1: - spinlock_t lock;
1: - long unsigned int gc_flags;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct socket_wq peer_wq;
1: - wait_queue_entry_t peer_wake;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct sock sk;
1: + struct unix_address *addr;
1: + struct path path;
1: + struct mutex iolock;
1: + struct mutex bindlock;
1: + struct sock *peer;
1: + struct list_head link;
1: + atomic_long_t inflight;
1: + spinlock_t lock;
1: + long unsigned int gc_flags;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct socket_wq peer_wq;
1: + wait_queue_entry_t peer_wake;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: enum integrity_status {
1: - INTEGRITY_PASS = 0,
1: - INTEGRITY_PASS_IMMUTABLE = 1,
1: - INTEGRITY_FAIL = 2,
1: - INTEGRITY_NOLABEL = 3,
1: - INTEGRITY_NOXATTRS = 4,
1: - INTEGRITY_UNKNOWN = 5,
1: + INTEGRITY_PASS = 0,
1: + INTEGRITY_PASS_IMMUTABLE = 1,
1: + INTEGRITY_FAIL = 2,
1: + INTEGRITY_NOLABEL = 3,
1: + INTEGRITY_NOXATTRS = 4,
1: + INTEGRITY_UNKNOWN = 5,
1: };
1:
1: struct ima_digest_data {
1: - u8 algo;
1: - u8 length;
1: - union {
1: - struct {
1: - u8 unused;
1: - u8 type;
1: - } sha1;
1: - struct {
1: - u8 type;
1: - u8 algo;
1: - } ng;
1: - u8 data[2];
1: - } xattr;
1: - u8 digest[0];
1: + u8 algo;
1: + u8 length;
1: + union {
1: + struct {
1: + u8 unused;
1: + u8 type;
1: + } sha1;
1: + struct {
1: + u8 type;
1: + u8 algo;
1: + } ng;
1: + u8 data[2];
1: + } xattr;
1: + u8 digest[0];
1: };
1:
1: struct integrity_iint_cache {
1: - struct rb_node rb_node;
1: - struct mutex mutex;
1: - struct inode *inode;
1: - u64 version;
1: - long unsigned int flags;
1: - long unsigned int measured_pcrs;
1: - long unsigned int atomic_flags;
1: - enum integrity_status ima_file_status: 4;
1: - enum integrity_status ima_mmap_status: 4;
1: - enum integrity_status ima_bprm_status: 4;
1: - enum integrity_status ima_read_status: 4;
1: - enum integrity_status ima_creds_status: 4;
1: - enum integrity_status evm_status: 4;
1: - struct ima_digest_data *ima_hash;
1: + struct rb_node rb_node;
1: + struct mutex mutex;
1: + struct inode *inode;
1: + u64 version;
1: + long unsigned int flags;
1: + long unsigned int measured_pcrs;
1: + long unsigned int atomic_flags;
1: + enum integrity_status ima_file_status : 4;
1: + enum integrity_status ima_mmap_status : 4;
1: + enum integrity_status ima_bprm_status : 4;
1: + enum integrity_status ima_read_status : 4;
1: + enum integrity_status ima_creds_status : 4;
1: + enum integrity_status evm_status : 4;
1: + struct ima_digest_data *ima_hash;
1: };
1:
1: struct crypto_async_request;
1: @@ -53493,1487 +53913,1493 @@ struct crypto_async_request;
1: typedef void (*crypto_completion_t)(struct crypto_async_request *, int);
1:
1: struct crypto_async_request {
1: - struct list_head list;
1: - crypto_completion_t complete;
1: - void *data;
1: - struct crypto_tfm *tfm;
1: - u32 flags;
1: + struct list_head list;
1: + crypto_completion_t complete;
1: + void *data;
1: + struct crypto_tfm *tfm;
1: + u32 flags;
1: };
1:
1: struct crypto_wait {
1: - struct completion completion;
1: - int err;
1: + struct completion completion;
1: + int err;
1: };
1:
1: struct crypto_template;
1:
1: struct crypto_instance {
1: - struct crypto_alg alg;
1: - struct crypto_template *tmpl;
1: - struct hlist_node list;
1: - void *__ctx[0];
1: + struct crypto_alg alg;
1: + struct crypto_template *tmpl;
1: + struct hlist_node list;
1: + void *__ctx[0];
1: };
1:
1: struct rtattr;
1:
1: struct crypto_template {
1: - struct list_head list;
1: - struct hlist_head instances;
1: - struct module *module;
1: - struct crypto_instance * (*alloc)(struct rtattr **);
1: - void (*free)(struct crypto_instance *);
1: - int (*create)(struct crypto_template *, struct rtattr **);
1: - char name[128];
1: + struct list_head list;
1: + struct hlist_head instances;
1: + struct module *module;
1: + struct crypto_instance *(*alloc)(struct rtattr **);
1: + void (*free)(struct crypto_instance *);
1: + int (*create)(struct crypto_template *, struct rtattr **);
1: + char name[128];
1: };
1:
1: enum {
1: - CRYPTO_MSG_ALG_REQUEST = 0,
1: - CRYPTO_MSG_ALG_REGISTER = 1,
1: - CRYPTO_MSG_ALG_LOADED = 2,
1: + CRYPTO_MSG_ALG_REQUEST = 0,
1: + CRYPTO_MSG_ALG_REGISTER = 1,
1: + CRYPTO_MSG_ALG_LOADED = 2,
1: };
1:
1: struct crypto_larval {
1: - struct crypto_alg alg;
1: - struct crypto_alg *adult;
1: - struct completion completion;
1: - u32 mask;
1: + struct crypto_alg alg;
1: + struct crypto_alg *adult;
1: + struct completion completion;
1: + u32 mask;
1: };
1:
1: enum {
1: - CRYPTOA_UNSPEC = 0,
1: - CRYPTOA_ALG = 1,
1: - CRYPTOA_TYPE = 2,
1: - CRYPTOA_U32 = 3,
1: - __CRYPTOA_MAX = 4,
1: + CRYPTOA_UNSPEC = 0,
1: + CRYPTOA_ALG = 1,
1: + CRYPTOA_TYPE = 2,
1: + CRYPTOA_U32 = 3,
1: + __CRYPTOA_MAX = 4,
1: };
1:
1: struct crypto_attr_alg {
1: - char name[128];
1: + char name[128];
1: };
1:
1: struct crypto_attr_type {
1: - u32 type;
1: - u32 mask;
1: + u32 type;
1: + u32 mask;
1: };
1:
1: struct crypto_attr_u32 {
1: - u32 num;
1: + u32 num;
1: };
1:
1: struct rtattr {
1: - short unsigned int rta_len;
1: - short unsigned int rta_type;
1: + short unsigned int rta_len;
1: + short unsigned int rta_type;
1: };
1:
1: struct crypto_spawn {
1: - struct list_head list;
1: - struct crypto_alg *alg;
1: - struct crypto_instance *inst;
1: - const struct crypto_type *frontend;
1: - u32 mask;
1: + struct list_head list;
1: + struct crypto_alg *alg;
1: + struct crypto_instance *inst;
1: + const struct crypto_type *frontend;
1: + u32 mask;
1: };
1:
1: struct crypto_queue {
1: - struct list_head list;
1: - struct list_head *backlog;
1: - unsigned int qlen;
1: - unsigned int max_qlen;
1: + struct list_head list;
1: + struct list_head *backlog;
1: + unsigned int qlen;
1: + unsigned int max_qlen;
1: };
1:
1: struct scatter_walk {
1: - struct scatterlist *sg;
1: - unsigned int offset;
1: + struct scatterlist *sg;
1: + unsigned int offset;
1: };
1:
1: struct aead_request {
1: - struct crypto_async_request base;
1: - unsigned int assoclen;
1: - unsigned int cryptlen;
1: - u8 *iv;
1: - struct scatterlist *src;
1: - struct scatterlist *dst;
1: - void *__ctx[0];
1: + struct crypto_async_request base;
1: + unsigned int assoclen;
1: + unsigned int cryptlen;
1: + u8 *iv;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + void *__ctx[0];
1: };
1:
1: struct crypto_aead;
1:
1: struct aead_alg {
1: - int (*setkey)(struct crypto_aead *, const u8 *, unsigned int);
1: - int (*setauthsize)(struct crypto_aead *, unsigned int);
1: - int (*encrypt)(struct aead_request *);
1: - int (*decrypt)(struct aead_request *);
1: - int (*init)(struct crypto_aead *);
1: - void (*exit)(struct crypto_aead *);
1: - unsigned int ivsize;
1: - unsigned int maxauthsize;
1: - unsigned int chunksize;
1: - struct crypto_alg base;
1: + int (*setkey)(struct crypto_aead *, const u8 *, unsigned int);
1: + int (*setauthsize)(struct crypto_aead *, unsigned int);
1: + int (*encrypt)(struct aead_request *);
1: + int (*decrypt)(struct aead_request *);
1: + int (*init)(struct crypto_aead *);
1: + void (*exit)(struct crypto_aead *);
1: + unsigned int ivsize;
1: + unsigned int maxauthsize;
1: + unsigned int chunksize;
1: + struct crypto_alg base;
1: };
1:
1: struct crypto_aead {
1: - unsigned int authsize;
1: - unsigned int reqsize;
1: - struct crypto_tfm base;
1: + unsigned int authsize;
1: + unsigned int reqsize;
1: + struct crypto_tfm base;
1: };
1:
1: struct aead_instance {
1: - void (*free)(struct aead_instance *);
1: - union {
1: - struct {
1: - char head[64];
1: - struct crypto_instance base;
1: - } s;
1: - struct aead_alg alg;
1: - };
1: + void (*free)(struct aead_instance *);
1: + union {
1: + struct {
1: + char head[64];
1: + struct crypto_instance base;
1: + } s;
1: + struct aead_alg alg;
1: + };
1: };
1:
1: struct crypto_aead_spawn {
1: - struct crypto_spawn base;
1: + struct crypto_spawn base;
1: };
1:
1: enum crypto_attr_type_t {
1: - CRYPTOCFGA_UNSPEC = 0,
1: - CRYPTOCFGA_PRIORITY_VAL = 1,
1: - CRYPTOCFGA_REPORT_LARVAL = 2,
1: - CRYPTOCFGA_REPORT_HASH = 3,
1: - CRYPTOCFGA_REPORT_BLKCIPHER = 4,
1: - CRYPTOCFGA_REPORT_AEAD = 5,
1: - CRYPTOCFGA_REPORT_COMPRESS = 6,
1: - CRYPTOCFGA_REPORT_RNG = 7,
1: - CRYPTOCFGA_REPORT_CIPHER = 8,
1: - CRYPTOCFGA_REPORT_AKCIPHER = 9,
1: - CRYPTOCFGA_REPORT_KPP = 10,
1: - CRYPTOCFGA_REPORT_ACOMP = 11,
1: - CRYPTOCFGA_STAT_LARVAL = 12,
1: - CRYPTOCFGA_STAT_HASH = 13,
1: - CRYPTOCFGA_STAT_BLKCIPHER = 14,
1: - CRYPTOCFGA_STAT_AEAD = 15,
1: - CRYPTOCFGA_STAT_COMPRESS = 16,
1: - CRYPTOCFGA_STAT_RNG = 17,
1: - CRYPTOCFGA_STAT_CIPHER = 18,
1: - CRYPTOCFGA_STAT_AKCIPHER = 19,
1: - CRYPTOCFGA_STAT_KPP = 20,
1: - CRYPTOCFGA_STAT_ACOMP = 21,
1: - __CRYPTOCFGA_MAX = 22,
1: + CRYPTOCFGA_UNSPEC = 0,
1: + CRYPTOCFGA_PRIORITY_VAL = 1,
1: + CRYPTOCFGA_REPORT_LARVAL = 2,
1: + CRYPTOCFGA_REPORT_HASH = 3,
1: + CRYPTOCFGA_REPORT_BLKCIPHER = 4,
1: + CRYPTOCFGA_REPORT_AEAD = 5,
1: + CRYPTOCFGA_REPORT_COMPRESS = 6,
1: + CRYPTOCFGA_REPORT_RNG = 7,
1: + CRYPTOCFGA_REPORT_CIPHER = 8,
1: + CRYPTOCFGA_REPORT_AKCIPHER = 9,
1: + CRYPTOCFGA_REPORT_KPP = 10,
1: + CRYPTOCFGA_REPORT_ACOMP = 11,
1: + CRYPTOCFGA_STAT_LARVAL = 12,
1: + CRYPTOCFGA_STAT_HASH = 13,
1: + CRYPTOCFGA_STAT_BLKCIPHER = 14,
1: + CRYPTOCFGA_STAT_AEAD = 15,
1: + CRYPTOCFGA_STAT_COMPRESS = 16,
1: + CRYPTOCFGA_STAT_RNG = 17,
1: + CRYPTOCFGA_STAT_CIPHER = 18,
1: + CRYPTOCFGA_STAT_AKCIPHER = 19,
1: + CRYPTOCFGA_STAT_KPP = 20,
1: + CRYPTOCFGA_STAT_ACOMP = 21,
1: + __CRYPTOCFGA_MAX = 22,
1: };
1:
1: struct crypto_report_aead {
1: - char type[64];
1: - char geniv[64];
1: - unsigned int blocksize;
1: - unsigned int maxauthsize;
1: - unsigned int ivsize;
1: + char type[64];
1: + char geniv[64];
1: + unsigned int blocksize;
1: + unsigned int maxauthsize;
1: + unsigned int ivsize;
1: };
1:
1: struct crypto_sync_skcipher;
1:
1: struct aead_geniv_ctx {
1: - spinlock_t lock;
1: - struct crypto_aead *child;
1: - struct crypto_sync_skcipher *sknull;
1: - u8 salt[0];
1: + spinlock_t lock;
1: + struct crypto_aead *child;
1: + struct crypto_sync_skcipher *sknull;
1: + u8 salt[0];
1: };
1:
1: struct crypto_rng;
1:
1: struct rng_alg {
1: - int (*generate)(struct crypto_rng *, const u8 *, unsigned int, u8 *, unsigned int);
1: - int (*seed)(struct crypto_rng *, const u8 *, unsigned int);
1: - void (*set_ent)(struct crypto_rng *, const u8 *, unsigned int);
1: - unsigned int seedsize;
1: - struct crypto_alg base;
1: + int (*generate)(struct crypto_rng *, const u8 *, unsigned int, u8 *,
1: + unsigned int);
1: + int (*seed)(struct crypto_rng *, const u8 *, unsigned int);
1: + void (*set_ent)(struct crypto_rng *, const u8 *, unsigned int);
1: + unsigned int seedsize;
1: + struct crypto_alg base;
1: };
1:
1: struct crypto_rng {
1: - struct crypto_tfm base;
1: + struct crypto_tfm base;
1: };
1:
1: struct crypto_cipher {
1: - struct crypto_tfm base;
1: + struct crypto_tfm base;
1: };
1:
1: struct skcipher_request {
1: - unsigned int cryptlen;
1: - u8 *iv;
1: - struct scatterlist *src;
1: - struct scatterlist *dst;
1: - struct crypto_async_request base;
1: - void *__ctx[0];
1: + unsigned int cryptlen;
1: + u8 *iv;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + struct crypto_async_request base;
1: + void *__ctx[0];
1: };
1:
1: struct crypto_skcipher {
1: - int (*setkey)(struct crypto_skcipher *, const u8 *, unsigned int);
1: - int (*encrypt)(struct skcipher_request *);
1: - int (*decrypt)(struct skcipher_request *);
1: - unsigned int ivsize;
1: - unsigned int reqsize;
1: - unsigned int keysize;
1: - struct crypto_tfm base;
1: + int (*setkey)(struct crypto_skcipher *, const u8 *, unsigned int);
1: + int (*encrypt)(struct skcipher_request *);
1: + int (*decrypt)(struct skcipher_request *);
1: + unsigned int ivsize;
1: + unsigned int reqsize;
1: + unsigned int keysize;
1: + struct crypto_tfm base;
1: };
1:
1: struct crypto_sync_skcipher {
1: - struct crypto_skcipher base;
1: + struct crypto_skcipher base;
1: };
1:
1: struct skcipher_alg {
1: - int (*setkey)(struct crypto_skcipher *, const u8 *, unsigned int);
1: - int (*encrypt)(struct skcipher_request *);
1: - int (*decrypt)(struct skcipher_request *);
1: - int (*init)(struct crypto_skcipher *);
1: - void (*exit)(struct crypto_skcipher *);
1: - unsigned int min_keysize;
1: - unsigned int max_keysize;
1: - unsigned int ivsize;
1: - unsigned int chunksize;
1: - unsigned int walksize;
1: - struct crypto_alg base;
1: + int (*setkey)(struct crypto_skcipher *, const u8 *, unsigned int);
1: + int (*encrypt)(struct skcipher_request *);
1: + int (*decrypt)(struct skcipher_request *);
1: + int (*init)(struct crypto_skcipher *);
1: + void (*exit)(struct crypto_skcipher *);
1: + unsigned int min_keysize;
1: + unsigned int max_keysize;
1: + unsigned int ivsize;
1: + unsigned int chunksize;
1: + unsigned int walksize;
1: + struct crypto_alg base;
1: };
1:
1: struct skcipher_instance {
1: - void (*free)(struct skcipher_instance *);
1: - union {
1: - struct {
1: - char head[64];
1: - struct crypto_instance base;
1: - } s;
1: - struct skcipher_alg alg;
1: - };
1: + void (*free)(struct skcipher_instance *);
1: + union {
1: + struct {
1: + char head[64];
1: + struct crypto_instance base;
1: + } s;
1: + struct skcipher_alg alg;
1: + };
1: };
1:
1: struct crypto_skcipher_spawn {
1: - struct crypto_spawn base;
1: + struct crypto_spawn base;
1: };
1:
1: struct skcipher_walk {
1: - union {
1: - struct {
1: - struct page *page;
1: - long unsigned int offset;
1: - } phys;
1: - struct {
1: - u8 *page;
1: - void *addr;
1: - } virt;
1: - } src;
1: - union {
1: - struct {
1: - struct page *page;
1: - long unsigned int offset;
1: - } phys;
1: - struct {
1: - u8 *page;
1: - void *addr;
1: - } virt;
1: - } dst;
1: - struct scatter_walk in;
1: - unsigned int nbytes;
1: - struct scatter_walk out;
1: - unsigned int total;
1: - struct list_head buffers;
1: - u8 *page;
1: - u8 *buffer;
1: - u8 *oiv;
1: - void *iv;
1: - unsigned int ivsize;
1: - int flags;
1: - unsigned int blocksize;
1: - unsigned int stride;
1: - unsigned int alignmask;
1: + union {
1: + struct {
1: + struct page *page;
1: + long unsigned int offset;
1: + } phys;
1: + struct {
1: + u8 *page;
1: + void *addr;
1: + } virt;
1: + } src;
1: + union {
1: + struct {
1: + struct page *page;
1: + long unsigned int offset;
1: + } phys;
1: + struct {
1: + u8 *page;
1: + void *addr;
1: + } virt;
1: + } dst;
1: + struct scatter_walk in;
1: + unsigned int nbytes;
1: + struct scatter_walk out;
1: + unsigned int total;
1: + struct list_head buffers;
1: + u8 *page;
1: + u8 *buffer;
1: + u8 *oiv;
1: + void *iv;
1: + unsigned int ivsize;
1: + int flags;
1: + unsigned int blocksize;
1: + unsigned int stride;
1: + unsigned int alignmask;
1: };
1:
1: struct skcipher_ctx_simple {
1: - struct crypto_cipher *cipher;
1: + struct crypto_cipher *cipher;
1: };
1:
1: struct crypto_report_blkcipher {
1: - char type[64];
1: - char geniv[64];
1: - unsigned int blocksize;
1: - unsigned int min_keysize;
1: - unsigned int max_keysize;
1: - unsigned int ivsize;
1: + char type[64];
1: + char geniv[64];
1: + unsigned int blocksize;
1: + unsigned int min_keysize;
1: + unsigned int max_keysize;
1: + unsigned int ivsize;
1: };
1:
1: enum {
1: - SKCIPHER_WALK_PHYS = 1,
1: - SKCIPHER_WALK_SLOW = 2,
1: - SKCIPHER_WALK_COPY = 4,
1: - SKCIPHER_WALK_DIFF = 8,
1: - SKCIPHER_WALK_SLEEP = 16,
1: + SKCIPHER_WALK_PHYS = 1,
1: + SKCIPHER_WALK_SLOW = 2,
1: + SKCIPHER_WALK_COPY = 4,
1: + SKCIPHER_WALK_DIFF = 8,
1: + SKCIPHER_WALK_SLEEP = 16,
1: };
1:
1: struct skcipher_walk_buffer {
1: - struct list_head entry;
1: - struct scatter_walk dst;
1: - unsigned int len;
1: - u8 *data;
1: - u8 buffer[0];
1: + struct list_head entry;
1: + struct scatter_walk dst;
1: + unsigned int len;
1: + u8 *data;
1: + u8 buffer[0];
1: };
1:
1: struct hash_alg_common {
1: - unsigned int digestsize;
1: - unsigned int statesize;
1: - struct crypto_alg base;
1: + unsigned int digestsize;
1: + unsigned int statesize;
1: + struct crypto_alg base;
1: };
1:
1: struct ahash_request {
1: - struct crypto_async_request base;
1: - unsigned int nbytes;
1: - struct scatterlist *src;
1: - u8 *result;
1: - void *priv;
1: - void *__ctx[0];
1: + struct crypto_async_request base;
1: + unsigned int nbytes;
1: + struct scatterlist *src;
1: + u8 *result;
1: + void *priv;
1: + void *__ctx[0];
1: };
1:
1: struct crypto_ahash;
1:
1: struct ahash_alg {
1: - int (*init)(struct ahash_request *);
1: - int (*update)(struct ahash_request *);
1: - int (*final)(struct ahash_request *);
1: - int (*finup)(struct ahash_request *);
1: - int (*digest)(struct ahash_request *);
1: - int (*export)(struct ahash_request *, void *);
1: - int (*import)(struct ahash_request *, const void *);
1: - int (*setkey)(struct crypto_ahash *, const u8 *, unsigned int);
1: - struct hash_alg_common halg;
1: + int (*init)(struct ahash_request *);
1: + int (*update)(struct ahash_request *);
1: + int (* final)(struct ahash_request *);
1: + int (*finup)(struct ahash_request *);
1: + int (*digest)(struct ahash_request *);
1: + int (*export)(struct ahash_request *, void *);
1: + int (*import)(struct ahash_request *, const void *);
1: + int (*setkey)(struct crypto_ahash *, const u8 *, unsigned int);
1: + struct hash_alg_common halg;
1: };
1:
1: struct crypto_ahash {
1: - int (*init)(struct ahash_request *);
1: - int (*update)(struct ahash_request *);
1: - int (*final)(struct ahash_request *);
1: - int (*finup)(struct ahash_request *);
1: - int (*digest)(struct ahash_request *);
1: - int (*export)(struct ahash_request *, void *);
1: - int (*import)(struct ahash_request *, const void *);
1: - int (*setkey)(struct crypto_ahash *, const u8 *, unsigned int);
1: - unsigned int reqsize;
1: - struct crypto_tfm base;
1: + int (*init)(struct ahash_request *);
1: + int (*update)(struct ahash_request *);
1: + int (* final)(struct ahash_request *);
1: + int (*finup)(struct ahash_request *);
1: + int (*digest)(struct ahash_request *);
1: + int (*export)(struct ahash_request *, void *);
1: + int (*import)(struct ahash_request *, const void *);
1: + int (*setkey)(struct crypto_ahash *, const u8 *, unsigned int);
1: + unsigned int reqsize;
1: + struct crypto_tfm base;
1: };
1:
1: struct shash_alg {
1: - int (*init)(struct shash_desc *);
1: - int (*update)(struct shash_desc *, const u8 *, unsigned int);
1: - int (*final)(struct shash_desc *, u8 *);
1: - int (*finup)(struct shash_desc *, const u8 *, unsigned int, u8 *);
1: - int (*digest)(struct shash_desc *, const u8 *, unsigned int, u8 *);
1: - int (*export)(struct shash_desc *, void *);
1: - int (*import)(struct shash_desc *, const void *);
1: - int (*setkey)(struct crypto_shash *, const u8 *, unsigned int);
1: - unsigned int descsize;
1: - int: 32;
1: - unsigned int digestsize;
1: - unsigned int statesize;
1: - struct crypto_alg base;
1: + int (*init)(struct shash_desc *);
1: + int (*update)(struct shash_desc *, const u8 *, unsigned int);
1: + int (* final)(struct shash_desc *, u8 *);
1: + int (*finup)(struct shash_desc *, const u8 *, unsigned int, u8 *);
1: + int (*digest)(struct shash_desc *, const u8 *, unsigned int, u8 *);
1: + int (*export)(struct shash_desc *, void *);
1: + int (*import)(struct shash_desc *, const void *);
1: + int (*setkey)(struct crypto_shash *, const u8 *, unsigned int);
1: + unsigned int descsize;
1: + int : 32;
1: + unsigned int digestsize;
1: + unsigned int statesize;
1: + struct crypto_alg base;
1: };
1:
1: struct crypto_hash_walk {
1: - char *data;
1: - unsigned int offset;
1: - unsigned int alignmask;
1: - struct page *pg;
1: - unsigned int entrylen;
1: - unsigned int total;
1: - struct scatterlist *sg;
1: - unsigned int flags;
1: + char *data;
1: + unsigned int offset;
1: + unsigned int alignmask;
1: + struct page *pg;
1: + unsigned int entrylen;
1: + unsigned int total;
1: + struct scatterlist *sg;
1: + unsigned int flags;
1: };
1:
1: struct ahash_instance {
1: - struct ahash_alg alg;
1: + struct ahash_alg alg;
1: };
1:
1: struct crypto_ahash_spawn {
1: - struct crypto_spawn base;
1: + struct crypto_spawn base;
1: };
1:
1: struct crypto_report_hash {
1: - char type[64];
1: - unsigned int blocksize;
1: - unsigned int digestsize;
1: + char type[64];
1: + unsigned int blocksize;
1: + unsigned int digestsize;
1: };
1:
1: struct ahash_request_priv {
1: - crypto_completion_t complete;
1: - void *data;
1: - u8 *result;
1: - u32 flags;
1: - void *ubuf[0];
1: + crypto_completion_t complete;
1: + void *data;
1: + u8 *result;
1: + u32 flags;
1: + void *ubuf[0];
1: };
1:
1: struct shash_instance {
1: - struct shash_alg alg;
1: + struct shash_alg alg;
1: };
1:
1: struct crypto_shash_spawn {
1: - struct crypto_spawn base;
1: + struct crypto_spawn base;
1: };
1:
1: struct crypto_report_akcipher {
1: - char type[64];
1: + char type[64];
1: };
1:
1: struct akcipher_request {
1: - struct crypto_async_request base;
1: - struct scatterlist *src;
1: - struct scatterlist *dst;
1: - unsigned int src_len;
1: - unsigned int dst_len;
1: - void *__ctx[0];
1: + struct crypto_async_request base;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + unsigned int src_len;
1: + unsigned int dst_len;
1: + void *__ctx[0];
1: };
1:
1: struct crypto_akcipher {
1: - struct crypto_tfm base;
1: + struct crypto_tfm base;
1: };
1:
1: struct akcipher_alg {
1: - int (*sign)(struct akcipher_request *);
1: - int (*verify)(struct akcipher_request *);
1: - int (*encrypt)(struct akcipher_request *);
1: - int (*decrypt)(struct akcipher_request *);
1: - int (*set_pub_key)(struct crypto_akcipher *, const void *, unsigned int);
1: - int (*set_priv_key)(struct crypto_akcipher *, const void *, unsigned int);
1: - unsigned int (*max_size)(struct crypto_akcipher *);
1: - int (*init)(struct crypto_akcipher *);
1: - void (*exit)(struct crypto_akcipher *);
1: - unsigned int reqsize;
1: - struct crypto_alg base;
1: + int (*sign)(struct akcipher_request *);
1: + int (*verify)(struct akcipher_request *);
1: + int (*encrypt)(struct akcipher_request *);
1: + int (*decrypt)(struct akcipher_request *);
1: + int (*set_pub_key)(struct crypto_akcipher *, const void *, unsigned int);
1: + int (*set_priv_key)(struct crypto_akcipher *, const void *, unsigned int);
1: + unsigned int (*max_size)(struct crypto_akcipher *);
1: + int (*init)(struct crypto_akcipher *);
1: + void (*exit)(struct crypto_akcipher *);
1: + unsigned int reqsize;
1: + struct crypto_alg base;
1: };
1:
1: struct akcipher_instance {
1: - void (*free)(struct akcipher_instance *);
1: - union {
1: - struct {
1: - char head[80];
1: - struct crypto_instance base;
1: - } s;
1: - struct akcipher_alg alg;
1: - };
1: + void (*free)(struct akcipher_instance *);
1: + union {
1: + struct {
1: + char head[80];
1: + struct crypto_instance base;
1: + } s;
1: + struct akcipher_alg alg;
1: + };
1: };
1:
1: struct crypto_akcipher_spawn {
1: - struct crypto_spawn base;
1: + struct crypto_spawn base;
1: };
1:
1: struct crypto_report_kpp {
1: - char type[64];
1: + char type[64];
1: };
1:
1: struct kpp_request {
1: - struct crypto_async_request base;
1: - struct scatterlist *src;
1: - struct scatterlist *dst;
1: - unsigned int src_len;
1: - unsigned int dst_len;
1: - void *__ctx[0];
1: + struct crypto_async_request base;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + unsigned int src_len;
1: + unsigned int dst_len;
1: + void *__ctx[0];
1: };
1:
1: struct crypto_kpp {
1: - struct crypto_tfm base;
1: + struct crypto_tfm base;
1: };
1:
1: struct kpp_alg {
1: - int (*set_secret)(struct crypto_kpp *, const void *, unsigned int);
1: - int (*generate_public_key)(struct kpp_request *);
1: - int (*compute_shared_secret)(struct kpp_request *);
1: - unsigned int (*max_size)(struct crypto_kpp *);
1: - int (*init)(struct crypto_kpp *);
1: - void (*exit)(struct crypto_kpp *);
1: - unsigned int reqsize;
1: - struct crypto_alg base;
1: + int (*set_secret)(struct crypto_kpp *, const void *, unsigned int);
1: + int (*generate_public_key)(struct kpp_request *);
1: + int (*compute_shared_secret)(struct kpp_request *);
1: + unsigned int (*max_size)(struct crypto_kpp *);
1: + int (*init)(struct crypto_kpp *);
1: + void (*exit)(struct crypto_kpp *);
1: + unsigned int reqsize;
1: + struct crypto_alg base;
1: };
1:
1: enum asn1_class {
1: - ASN1_UNIV = 0,
1: - ASN1_APPL = 1,
1: - ASN1_CONT = 2,
1: - ASN1_PRIV = 3,
1: + ASN1_UNIV = 0,
1: + ASN1_APPL = 1,
1: + ASN1_CONT = 2,
1: + ASN1_PRIV = 3,
1: };
1:
1: enum asn1_method {
1: - ASN1_PRIM = 0,
1: - ASN1_CONS = 1,
1: + ASN1_PRIM = 0,
1: + ASN1_CONS = 1,
1: };
1:
1: enum asn1_tag {
1: - ASN1_EOC = 0,
1: - ASN1_BOOL = 1,
1: - ASN1_INT = 2,
1: - ASN1_BTS = 3,
1: - ASN1_OTS = 4,
1: - ASN1_NULL = 5,
1: - ASN1_OID = 6,
1: - ASN1_ODE = 7,
1: - ASN1_EXT = 8,
1: - ASN1_REAL = 9,
1: - ASN1_ENUM = 10,
1: - ASN1_EPDV = 11,
1: - ASN1_UTF8STR = 12,
1: - ASN1_RELOID = 13,
1: - ASN1_SEQ = 16,
1: - ASN1_SET = 17,
1: - ASN1_NUMSTR = 18,
1: - ASN1_PRNSTR = 19,
1: - ASN1_TEXSTR = 20,
1: - ASN1_VIDSTR = 21,
1: - ASN1_IA5STR = 22,
1: - ASN1_UNITIM = 23,
1: - ASN1_GENTIM = 24,
1: - ASN1_GRASTR = 25,
1: - ASN1_VISSTR = 26,
1: - ASN1_GENSTR = 27,
1: - ASN1_UNISTR = 28,
1: - ASN1_CHRSTR = 29,
1: - ASN1_BMPSTR = 30,
1: - ASN1_LONG_TAG = 31,
1: -};
1: -
1: -typedef int (*asn1_action_t)(void *, size_t, unsigned char, const void *, size_t);
1: + ASN1_EOC = 0,
1: + ASN1_BOOL = 1,
1: + ASN1_INT = 2,
1: + ASN1_BTS = 3,
1: + ASN1_OTS = 4,
1: + ASN1_NULL = 5,
1: + ASN1_OID = 6,
1: + ASN1_ODE = 7,
1: + ASN1_EXT = 8,
1: + ASN1_REAL = 9,
1: + ASN1_ENUM = 10,
1: + ASN1_EPDV = 11,
1: + ASN1_UTF8STR = 12,
1: + ASN1_RELOID = 13,
1: + ASN1_SEQ = 16,
1: + ASN1_SET = 17,
1: + ASN1_NUMSTR = 18,
1: + ASN1_PRNSTR = 19,
1: + ASN1_TEXSTR = 20,
1: + ASN1_VIDSTR = 21,
1: + ASN1_IA5STR = 22,
1: + ASN1_UNITIM = 23,
1: + ASN1_GENTIM = 24,
1: + ASN1_GRASTR = 25,
1: + ASN1_VISSTR = 26,
1: + ASN1_GENSTR = 27,
1: + ASN1_UNISTR = 28,
1: + ASN1_CHRSTR = 29,
1: + ASN1_BMPSTR = 30,
1: + ASN1_LONG_TAG = 31,
1: +};
1: +
1: +typedef int (*asn1_action_t)(void *, size_t, unsigned char, const void *,
1: + size_t);
1:
1: struct asn1_decoder {
1: - const unsigned char *machine;
1: - size_t machlen;
1: - const asn1_action_t *actions;
1: + const unsigned char *machine;
1: + size_t machlen;
1: + const asn1_action_t *actions;
1: };
1:
1: enum asn1_opcode {
1: - ASN1_OP_MATCH = 0,
1: - ASN1_OP_MATCH_OR_SKIP = 1,
1: - ASN1_OP_MATCH_ACT = 2,
1: - ASN1_OP_MATCH_ACT_OR_SKIP = 3,
1: - ASN1_OP_MATCH_JUMP = 4,
1: - ASN1_OP_MATCH_JUMP_OR_SKIP = 5,
1: - ASN1_OP_MATCH_ANY = 8,
1: - ASN1_OP_MATCH_ANY_OR_SKIP = 9,
1: - ASN1_OP_MATCH_ANY_ACT = 10,
1: - ASN1_OP_MATCH_ANY_ACT_OR_SKIP = 11,
1: - ASN1_OP_COND_MATCH_OR_SKIP = 17,
1: - ASN1_OP_COND_MATCH_ACT_OR_SKIP = 19,
1: - ASN1_OP_COND_MATCH_JUMP_OR_SKIP = 21,
1: - ASN1_OP_COND_MATCH_ANY = 24,
1: - ASN1_OP_COND_MATCH_ANY_OR_SKIP = 25,
1: - ASN1_OP_COND_MATCH_ANY_ACT = 26,
1: - ASN1_OP_COND_MATCH_ANY_ACT_OR_SKIP = 27,
1: - ASN1_OP_COND_FAIL = 28,
1: - ASN1_OP_COMPLETE = 29,
1: - ASN1_OP_ACT = 30,
1: - ASN1_OP_MAYBE_ACT = 31,
1: - ASN1_OP_END_SEQ = 32,
1: - ASN1_OP_END_SET = 33,
1: - ASN1_OP_END_SEQ_OF = 34,
1: - ASN1_OP_END_SET_OF = 35,
1: - ASN1_OP_END_SEQ_ACT = 36,
1: - ASN1_OP_END_SET_ACT = 37,
1: - ASN1_OP_END_SEQ_OF_ACT = 38,
1: - ASN1_OP_END_SET_OF_ACT = 39,
1: - ASN1_OP_RETURN = 40,
1: - ASN1_OP__NR = 41,
1: + ASN1_OP_MATCH = 0,
1: + ASN1_OP_MATCH_OR_SKIP = 1,
1: + ASN1_OP_MATCH_ACT = 2,
1: + ASN1_OP_MATCH_ACT_OR_SKIP = 3,
1: + ASN1_OP_MATCH_JUMP = 4,
1: + ASN1_OP_MATCH_JUMP_OR_SKIP = 5,
1: + ASN1_OP_MATCH_ANY = 8,
1: + ASN1_OP_MATCH_ANY_OR_SKIP = 9,
1: + ASN1_OP_MATCH_ANY_ACT = 10,
1: + ASN1_OP_MATCH_ANY_ACT_OR_SKIP = 11,
1: + ASN1_OP_COND_MATCH_OR_SKIP = 17,
1: + ASN1_OP_COND_MATCH_ACT_OR_SKIP = 19,
1: + ASN1_OP_COND_MATCH_JUMP_OR_SKIP = 21,
1: + ASN1_OP_COND_MATCH_ANY = 24,
1: + ASN1_OP_COND_MATCH_ANY_OR_SKIP = 25,
1: + ASN1_OP_COND_MATCH_ANY_ACT = 26,
1: + ASN1_OP_COND_MATCH_ANY_ACT_OR_SKIP = 27,
1: + ASN1_OP_COND_FAIL = 28,
1: + ASN1_OP_COMPLETE = 29,
1: + ASN1_OP_ACT = 30,
1: + ASN1_OP_MAYBE_ACT = 31,
1: + ASN1_OP_END_SEQ = 32,
1: + ASN1_OP_END_SET = 33,
1: + ASN1_OP_END_SEQ_OF = 34,
1: + ASN1_OP_END_SET_OF = 35,
1: + ASN1_OP_END_SEQ_ACT = 36,
1: + ASN1_OP_END_SET_ACT = 37,
1: + ASN1_OP_END_SEQ_OF_ACT = 38,
1: + ASN1_OP_END_SET_OF_ACT = 39,
1: + ASN1_OP_RETURN = 40,
1: + ASN1_OP__NR = 41,
1: };
1:
1: enum rsapubkey_actions {
1: - ACT_rsa_get_e = 0,
1: - ACT_rsa_get_n = 1,
1: - NR__rsapubkey_actions = 2,
1: + ACT_rsa_get_e = 0,
1: + ACT_rsa_get_n = 1,
1: + NR__rsapubkey_actions = 2,
1: };
1:
1: enum rsaprivkey_actions {
1: - ACT_rsa_get_d = 0,
1: - ACT_rsa_get_dp = 1,
1: - ACT_rsa_get_dq = 2,
1: - ACT_rsa_get_e___2 = 3,
1: - ACT_rsa_get_n___2 = 4,
1: - ACT_rsa_get_p = 5,
1: - ACT_rsa_get_q = 6,
1: - ACT_rsa_get_qinv = 7,
1: - NR__rsaprivkey_actions = 8,
1: + ACT_rsa_get_d = 0,
1: + ACT_rsa_get_dp = 1,
1: + ACT_rsa_get_dq = 2,
1: + ACT_rsa_get_e___2 = 3,
1: + ACT_rsa_get_n___2 = 4,
1: + ACT_rsa_get_p = 5,
1: + ACT_rsa_get_q = 6,
1: + ACT_rsa_get_qinv = 7,
1: + NR__rsaprivkey_actions = 8,
1: };
1:
1: typedef long unsigned int mpi_limb_t;
1:
1: struct gcry_mpi {
1: - int alloced;
1: - int nlimbs;
1: - int nbits;
1: - int sign;
1: - unsigned int flags;
1: - mpi_limb_t *d;
1: + int alloced;
1: + int nlimbs;
1: + int nbits;
1: + int sign;
1: + unsigned int flags;
1: + mpi_limb_t *d;
1: };
1:
1: typedef struct gcry_mpi *MPI;
1:
1: struct rsa_key {
1: - const u8 *n;
1: - const u8 *e;
1: - const u8 *d;
1: - const u8 *p;
1: - const u8 *q;
1: - const u8 *dp;
1: - const u8 *dq;
1: - const u8 *qinv;
1: - size_t n_sz;
1: - size_t e_sz;
1: - size_t d_sz;
1: - size_t p_sz;
1: - size_t q_sz;
1: - size_t dp_sz;
1: - size_t dq_sz;
1: - size_t qinv_sz;
1: + const u8 *n;
1: + const u8 *e;
1: + const u8 *d;
1: + const u8 *p;
1: + const u8 *q;
1: + const u8 *dp;
1: + const u8 *dq;
1: + const u8 *qinv;
1: + size_t n_sz;
1: + size_t e_sz;
1: + size_t d_sz;
1: + size_t p_sz;
1: + size_t q_sz;
1: + size_t dp_sz;
1: + size_t dq_sz;
1: + size_t qinv_sz;
1: };
1:
1: struct rsa_mpi_key {
1: - MPI n;
1: - MPI e;
1: - MPI d;
1: + MPI n;
1: + MPI e;
1: + MPI d;
1: };
1:
1: struct asn1_decoder___2;
1:
1: struct rsa_asn1_template {
1: - const char *name;
1: - const u8 *data;
1: - size_t size;
1: + const char *name;
1: + const u8 *data;
1: + size_t size;
1: };
1:
1: struct pkcs1pad_ctx {
1: - struct crypto_akcipher *child;
1: - unsigned int key_size;
1: + struct crypto_akcipher *child;
1: + unsigned int key_size;
1: };
1:
1: struct pkcs1pad_inst_ctx {
1: - struct crypto_akcipher_spawn spawn;
1: - const struct rsa_asn1_template *digest_info;
1: + struct crypto_akcipher_spawn spawn;
1: + const struct rsa_asn1_template *digest_info;
1: };
1:
1: struct pkcs1pad_request {
1: - struct scatterlist in_sg[2];
1: - struct scatterlist out_sg[1];
1: - uint8_t *in_buf;
1: - uint8_t *out_buf;
1: - struct akcipher_request child_req;
1: + struct scatterlist in_sg[2];
1: + struct scatterlist out_sg[1];
1: + uint8_t *in_buf;
1: + uint8_t *out_buf;
1: + struct akcipher_request child_req;
1: };
1:
1: struct crypto_report_acomp {
1: - char type[64];
1: + char type[64];
1: };
1:
1: struct acomp_req {
1: - struct crypto_async_request base;
1: - struct scatterlist *src;
1: - struct scatterlist *dst;
1: - unsigned int slen;
1: - unsigned int dlen;
1: - u32 flags;
1: - void *__ctx[0];
1: + struct crypto_async_request base;
1: + struct scatterlist *src;
1: + struct scatterlist *dst;
1: + unsigned int slen;
1: + unsigned int dlen;
1: + u32 flags;
1: + void *__ctx[0];
1: };
1:
1: struct crypto_acomp {
1: - int (*compress)(struct acomp_req *);
1: - int (*decompress)(struct acomp_req *);
1: - void (*dst_free)(struct scatterlist *);
1: - unsigned int reqsize;
1: - struct crypto_tfm base;
1: + int (*compress)(struct acomp_req *);
1: + int (*decompress)(struct acomp_req *);
1: + void (*dst_free)(struct scatterlist *);
1: + unsigned int reqsize;
1: + struct crypto_tfm base;
1: };
1:
1: struct acomp_alg {
1: - int (*compress)(struct acomp_req *);
1: - int (*decompress)(struct acomp_req *);
1: - void (*dst_free)(struct scatterlist *);
1: - int (*init)(struct crypto_acomp *);
1: - void (*exit)(struct crypto_acomp *);
1: - unsigned int reqsize;
1: - struct crypto_alg base;
1: + int (*compress)(struct acomp_req *);
1: + int (*decompress)(struct acomp_req *);
1: + void (*dst_free)(struct scatterlist *);
1: + int (*init)(struct crypto_acomp *);
1: + void (*exit)(struct crypto_acomp *);
1: + unsigned int reqsize;
1: + struct crypto_alg base;
1: };
1:
1: struct crypto_report_comp {
1: - char type[64];
1: + char type[64];
1: };
1:
1: struct crypto_scomp {
1: - struct crypto_tfm base;
1: + struct crypto_tfm base;
1: };
1:
1: struct scomp_alg {
1: - void * (*alloc_ctx)(struct crypto_scomp *);
1: - void (*free_ctx)(struct crypto_scomp *, void *);
1: - int (*compress)(struct crypto_scomp *, const u8 *, unsigned int, u8 *, unsigned int *, void *);
1: - int (*decompress)(struct crypto_scomp *, const u8 *, unsigned int, u8 *, unsigned int *, void *);
1: - struct crypto_alg base;
1: + void *(*alloc_ctx)(struct crypto_scomp *);
1: + void (*free_ctx)(struct crypto_scomp *, void *);
1: + int (*compress)(struct crypto_scomp *, const u8 *, unsigned int, u8 *,
1: + unsigned int *, void *);
1: + int (*decompress)(struct crypto_scomp *, const u8 *, unsigned int, u8 *,
1: + unsigned int *, void *);
1: + struct crypto_alg base;
1: };
1:
1: struct scomp_scratch {
1: - spinlock_t lock;
1: - void *src;
1: - void *dst;
1: + spinlock_t lock;
1: + void *src;
1: + void *dst;
1: };
1:
1: struct cryptomgr_param {
1: - struct rtattr *tb[34];
1: - struct {
1: - struct rtattr attr;
1: - struct crypto_attr_type data;
1: - } type;
1: - union {
1: - struct rtattr attr;
1: - struct {
1: - struct rtattr attr;
1: - struct crypto_attr_alg data;
1: - } alg;
1: - struct {
1: - struct rtattr attr;
1: - struct crypto_attr_u32 data;
1: - } nu32;
1: - } attrs[32];
1: - char template[128];
1: - struct crypto_larval *larval;
1: - u32 otype;
1: - u32 omask;
1: + struct rtattr *tb[34];
1: + struct {
1: + struct rtattr attr;
1: + struct crypto_attr_type data;
1: + } type;
1: + union {
1: + struct rtattr attr;
1: + struct {
1: + struct rtattr attr;
1: + struct crypto_attr_alg data;
1: + } alg;
1: + struct {
1: + struct rtattr attr;
1: + struct crypto_attr_u32 data;
1: + } nu32;
1: + } attrs[32];
1: + char template[128];
1: + struct crypto_larval *larval;
1: + u32 otype;
1: + u32 omask;
1: };
1:
1: struct crypto_test_param {
1: - char driver[128];
1: - char alg[128];
1: - u32 type;
1: + char driver[128];
1: + char alg[128];
1: + u32 type;
1: };
1:
1: struct cmac_tfm_ctx {
1: - struct crypto_cipher *child;
1: - u8 ctx[0];
1: + struct crypto_cipher *child;
1: + u8 ctx[0];
1: };
1:
1: struct cmac_desc_ctx {
1: - unsigned int len;
1: - u8 ctx[0];
1: + unsigned int len;
1: + u8 ctx[0];
1: };
1:
1: struct hmac_ctx {
1: - struct crypto_shash *hash;
1: + struct crypto_shash *hash;
1: };
1:
1: struct md5_state {
1: - u32 hash[4];
1: - u32 block[16];
1: - u64 byte_count;
1: + u32 hash[4];
1: + u32 block[16];
1: + u64 byte_count;
1: };
1:
1: struct sha1_state {
1: - u32 state[5];
1: - u64 count;
1: - u8 buffer[64];
1: + u32 state[5];
1: + u64 count;
1: + u8 buffer[64];
1: };
1:
1: typedef void sha1_block_fn(struct sha1_state *, const u8 *, int);
1:
1: struct sha256_state {
1: - u32 state[8];
1: - u64 count;
1: - u8 buf[64];
1: + u32 state[8];
1: + u64 count;
1: + u8 buf[64];
1: };
1:
1: typedef struct {
1: - u64 a;
1: - u64 b;
1: + u64 a;
1: + u64 b;
1: } u128;
1:
1: typedef struct {
1: - __be64 a;
1: - __be64 b;
1: + __be64 a;
1: + __be64 b;
1: } be128;
1:
1: typedef struct {
1: - __le64 b;
1: - __le64 a;
1: + __le64 b;
1: + __le64 a;
1: } le128;
1:
1: struct gf128mul_4k {
1: - be128 t[256];
1: + be128 t[256];
1: };
1:
1: struct gf128mul_64k {
1: - struct gf128mul_4k *t[16];
1: + struct gf128mul_4k *t[16];
1: };
1:
1: struct crypto_rfc3686_ctx {
1: - struct crypto_skcipher *child;
1: - u8 nonce[4];
1: + struct crypto_skcipher *child;
1: + u8 nonce[4];
1: };
1:
1: struct crypto_rfc3686_req_ctx {
1: - u8 iv[16];
1: - struct skcipher_request subreq;
1: + u8 iv[16];
1: + struct skcipher_request subreq;
1: };
1:
1: struct gcm_instance_ctx {
1: - struct crypto_skcipher_spawn ctr;
1: - struct crypto_ahash_spawn ghash;
1: + struct crypto_skcipher_spawn ctr;
1: + struct crypto_ahash_spawn ghash;
1: };
1:
1: struct crypto_gcm_ctx {
1: - struct crypto_skcipher *ctr;
1: - struct crypto_ahash *ghash;
1: + struct crypto_skcipher *ctr;
1: + struct crypto_ahash *ghash;
1: };
1:
1: struct crypto_rfc4106_ctx {
1: - struct crypto_aead *child;
1: - u8 nonce[4];
1: + struct crypto_aead *child;
1: + u8 nonce[4];
1: };
1:
1: struct crypto_rfc4106_req_ctx {
1: - struct scatterlist src[3];
1: - struct scatterlist dst[3];
1: - struct aead_request subreq;
1: + struct scatterlist src[3];
1: + struct scatterlist dst[3];
1: + struct aead_request subreq;
1: };
1:
1: struct crypto_rfc4543_instance_ctx {
1: - struct crypto_aead_spawn aead;
1: + struct crypto_aead_spawn aead;
1: };
1:
1: struct crypto_rfc4543_ctx {
1: - struct crypto_aead *child;
1: - struct crypto_sync_skcipher *null;
1: - u8 nonce[4];
1: + struct crypto_aead *child;
1: + struct crypto_sync_skcipher *null;
1: + u8 nonce[4];
1: };
1:
1: struct crypto_rfc4543_req_ctx {
1: - struct aead_request subreq;
1: + struct aead_request subreq;
1: };
1:
1: struct crypto_gcm_ghash_ctx {
1: - unsigned int cryptlen;
1: - struct scatterlist *src;
1: - int (*complete)(struct aead_request *, u32);
1: + unsigned int cryptlen;
1: + struct scatterlist *src;
1: + int (*complete)(struct aead_request *, u32);
1: };
1:
1: struct crypto_gcm_req_priv_ctx {
1: - u8 iv[16];
1: - u8 auth_tag[16];
1: - u8 iauth_tag[16];
1: - struct scatterlist src[3];
1: - struct scatterlist dst[3];
1: - struct scatterlist sg;
1: - struct crypto_gcm_ghash_ctx ghash_ctx;
1: - union {
1: - struct ahash_request ahreq;
1: - struct skcipher_request skreq;
1: - } u;
1: + u8 iv[16];
1: + u8 auth_tag[16];
1: + u8 iauth_tag[16];
1: + struct scatterlist src[3];
1: + struct scatterlist dst[3];
1: + struct scatterlist sg;
1: + struct crypto_gcm_ghash_ctx ghash_ctx;
1: + union {
1: + struct ahash_request ahreq;
1: + struct skcipher_request skreq;
1: + } u;
1: };
1:
1: struct ccm_instance_ctx {
1: - struct crypto_skcipher_spawn ctr;
1: - struct crypto_ahash_spawn mac;
1: + struct crypto_skcipher_spawn ctr;
1: + struct crypto_ahash_spawn mac;
1: };
1:
1: struct crypto_ccm_ctx {
1: - struct crypto_ahash *mac;
1: - struct crypto_skcipher *ctr;
1: + struct crypto_ahash *mac;
1: + struct crypto_skcipher *ctr;
1: };
1:
1: struct crypto_rfc4309_ctx {
1: - struct crypto_aead *child;
1: - u8 nonce[3];
1: + struct crypto_aead *child;
1: + u8 nonce[3];
1: };
1:
1: struct crypto_rfc4309_req_ctx {
1: - struct scatterlist src[3];
1: - struct scatterlist dst[3];
1: - struct aead_request subreq;
1: + struct scatterlist src[3];
1: + struct scatterlist dst[3];
1: + struct aead_request subreq;
1: };
1:
1: struct crypto_ccm_req_priv_ctx {
1: - u8 odata[16];
1: - u8 idata[16];
1: - u8 auth_tag[16];
1: - u32 flags;
1: - struct scatterlist src[3];
1: - struct scatterlist dst[3];
1: - union {
1: - struct ahash_request ahreq;
1: - struct skcipher_request skreq;
1: - };
1: + u8 odata[16];
1: + u8 idata[16];
1: + u8 auth_tag[16];
1: + u32 flags;
1: + struct scatterlist src[3];
1: + struct scatterlist dst[3];
1: + union {
1: + struct ahash_request ahreq;
1: + struct skcipher_request skreq;
1: + };
1: };
1:
1: struct cbcmac_tfm_ctx {
1: - struct crypto_cipher *child;
1: + struct crypto_cipher *child;
1: };
1:
1: struct cbcmac_desc_ctx {
1: - unsigned int len;
1: + unsigned int len;
1: };
1:
1: struct des_ctx {
1: - u32 expkey[32];
1: + u32 expkey[32];
1: };
1:
1: struct des3_ede_ctx {
1: - u32 expkey[96];
1: + u32 expkey[96];
1: };
1:
1: struct crypto_aes_ctx {
1: - u32 key_enc[60];
1: - u32 key_dec[60];
1: - u32 key_length;
1: + u32 key_enc[60];
1: + u32 key_dec[60];
1: + u32 key_length;
1: };
1:
1: struct chksum_ctx {
1: - u32 key;
1: + u32 key;
1: };
1:
1: struct chksum_desc_ctx {
1: - u32 crc;
1: + u32 crc;
1: };
1:
1: enum {
1: - CRYPTO_AUTHENC_KEYA_UNSPEC = 0,
1: - CRYPTO_AUTHENC_KEYA_PARAM = 1,
1: + CRYPTO_AUTHENC_KEYA_UNSPEC = 0,
1: + CRYPTO_AUTHENC_KEYA_PARAM = 1,
1: };
1:
1: struct crypto_authenc_key_param {
1: - __be32 enckeylen;
1: + __be32 enckeylen;
1: };
1:
1: struct crypto_authenc_keys {
1: - const u8 *authkey;
1: - const u8 *enckey;
1: - unsigned int authkeylen;
1: - unsigned int enckeylen;
1: + const u8 *authkey;
1: + const u8 *enckey;
1: + unsigned int authkeylen;
1: + unsigned int enckeylen;
1: };
1:
1: struct authenc_instance_ctx {
1: - struct crypto_ahash_spawn auth;
1: - struct crypto_skcipher_spawn enc;
1: - unsigned int reqoff;
1: + struct crypto_ahash_spawn auth;
1: + struct crypto_skcipher_spawn enc;
1: + unsigned int reqoff;
1: };
1:
1: struct crypto_authenc_ctx {
1: - struct crypto_ahash *auth;
1: - struct crypto_skcipher *enc;
1: - struct crypto_sync_skcipher *null;
1: + struct crypto_ahash *auth;
1: + struct crypto_skcipher *enc;
1: + struct crypto_sync_skcipher *null;
1: };
1:
1: struct authenc_request_ctx {
1: - struct scatterlist src[2];
1: - struct scatterlist dst[2];
1: - char tail[0];
1: + struct scatterlist src[2];
1: + struct scatterlist dst[2];
1: + char tail[0];
1: };
1:
1: struct authenc_esn_instance_ctx {
1: - struct crypto_ahash_spawn auth;
1: - struct crypto_skcipher_spawn enc;
1: + struct crypto_ahash_spawn auth;
1: + struct crypto_skcipher_spawn enc;
1: };
1:
1: struct crypto_authenc_esn_ctx {
1: - unsigned int reqoff;
1: - struct crypto_ahash *auth;
1: - struct crypto_skcipher *enc;
1: - struct crypto_sync_skcipher *null;
1: + unsigned int reqoff;
1: + struct crypto_ahash *auth;
1: + struct crypto_skcipher *enc;
1: + struct crypto_sync_skcipher *null;
1: };
1:
1: struct authenc_esn_request_ctx {
1: - struct scatterlist src[2];
1: - struct scatterlist dst[2];
1: - char tail[0];
1: + struct scatterlist src[2];
1: + struct scatterlist dst[2];
1: + char tail[0];
1: };
1:
1: struct crypto_report_rng {
1: - char type[64];
1: - unsigned int seedsize;
1: + char type[64];
1: + unsigned int seedsize;
1: };
1:
1: struct random_ready_callback {
1: - struct list_head list;
1: - void (*func)(struct random_ready_callback *);
1: - struct module *owner;
1: + struct list_head list;
1: + void (*func)(struct random_ready_callback *);
1: + struct module *owner;
1: };
1:
1: struct drbg_string {
1: - const unsigned char *buf;
1: - size_t len;
1: - struct list_head list;
1: + const unsigned char *buf;
1: + size_t len;
1: + struct list_head list;
1: };
1:
1: typedef uint32_t drbg_flag_t;
1:
1: struct drbg_core {
1: - drbg_flag_t flags;
1: - __u8 statelen;
1: - __u8 blocklen_bytes;
1: - char cra_name[128];
1: - char backend_cra_name[128];
1: + drbg_flag_t flags;
1: + __u8 statelen;
1: + __u8 blocklen_bytes;
1: + char cra_name[128];
1: + char backend_cra_name[128];
1: };
1:
1: struct drbg_state;
1:
1: struct drbg_state_ops {
1: - int (*update)(struct drbg_state *, struct list_head *, int);
1: - int (*generate)(struct drbg_state *, unsigned char *, unsigned int, struct list_head *);
1: - int (*crypto_init)(struct drbg_state *);
1: - int (*crypto_fini)(struct drbg_state *);
1: + int (*update)(struct drbg_state *, struct list_head *, int);
1: + int (*generate)(struct drbg_state *, unsigned char *, unsigned int,
1: + struct list_head *);
1: + int (*crypto_init)(struct drbg_state *);
1: + int (*crypto_fini)(struct drbg_state *);
1: };
1:
1: struct drbg_state {
1: - struct mutex drbg_mutex;
1: - unsigned char *V;
1: - unsigned char *Vbuf;
1: - unsigned char *C;
1: - unsigned char *Cbuf;
1: - size_t reseed_ctr;
1: - size_t reseed_threshold;
1: - unsigned char *scratchpad;
1: - unsigned char *scratchpadbuf;
1: - void *priv_data;
1: - struct crypto_skcipher *ctr_handle;
1: - struct skcipher_request *ctr_req;
1: - __u8 *outscratchpadbuf;
1: - __u8 *outscratchpad;
1: - struct crypto_wait ctr_wait;
1: - struct scatterlist sg_in;
1: - struct scatterlist sg_out;
1: - bool seeded;
1: - bool pr;
1: - bool fips_primed;
1: - unsigned char *prev;
1: - struct work_struct seed_work;
1: - struct crypto_rng *jent;
1: - const struct drbg_state_ops *d_ops;
1: - const struct drbg_core *core;
1: - struct drbg_string test_data;
1: - struct random_ready_callback random_ready;
1: + struct mutex drbg_mutex;
1: + unsigned char *V;
1: + unsigned char *Vbuf;
1: + unsigned char *C;
1: + unsigned char *Cbuf;
1: + size_t reseed_ctr;
1: + size_t reseed_threshold;
1: + unsigned char *scratchpad;
1: + unsigned char *scratchpadbuf;
1: + void *priv_data;
1: + struct crypto_skcipher *ctr_handle;
1: + struct skcipher_request *ctr_req;
1: + __u8 *outscratchpadbuf;
1: + __u8 *outscratchpad;
1: + struct crypto_wait ctr_wait;
1: + struct scatterlist sg_in;
1: + struct scatterlist sg_out;
1: + bool seeded;
1: + bool pr;
1: + bool fips_primed;
1: + unsigned char *prev;
1: + struct work_struct seed_work;
1: + struct crypto_rng *jent;
1: + const struct drbg_state_ops *d_ops;
1: + const struct drbg_core *core;
1: + struct drbg_string test_data;
1: + struct random_ready_callback random_ready;
1: };
1:
1: enum drbg_prefixes {
1: - DRBG_PREFIX0 = 0,
1: - DRBG_PREFIX1 = 1,
1: - DRBG_PREFIX2 = 2,
1: - DRBG_PREFIX3 = 3,
1: + DRBG_PREFIX0 = 0,
1: + DRBG_PREFIX1 = 1,
1: + DRBG_PREFIX2 = 2,
1: + DRBG_PREFIX3 = 3,
1: };
1:
1: struct sdesc {
1: - struct shash_desc shash;
1: - char ctx[0];
1: + struct shash_desc shash;
1: + char ctx[0];
1: };
1:
1: struct rand_data {
1: - __u64 data;
1: - __u64 old_data;
1: - __u64 prev_time;
1: - __u64 last_delta;
1: - __s64 last_delta2;
1: - unsigned int osr;
1: - unsigned char *mem;
1: - unsigned int memlocation;
1: - unsigned int memblocks;
1: - unsigned int memblocksize;
1: - unsigned int memaccessloops;
1: + __u64 data;
1: + __u64 old_data;
1: + __u64 prev_time;
1: + __u64 last_delta;
1: + __s64 last_delta2;
1: + unsigned int osr;
1: + unsigned char *mem;
1: + unsigned int memlocation;
1: + unsigned int memblocks;
1: + unsigned int memblocksize;
1: + unsigned int memaccessloops;
1: };
1:
1: struct rand_data___2;
1:
1: struct jitterentropy {
1: - spinlock_t jent_lock;
1: - struct rand_data___2 *entropy_collector;
1: + spinlock_t jent_lock;
1: + struct rand_data___2 *entropy_collector;
1: };
1:
1: struct ghash_ctx {
1: - struct gf128mul_4k *gf128;
1: + struct gf128mul_4k *gf128;
1: };
1:
1: struct ghash_desc_ctx {
1: - u8 buffer[16];
1: - u32 bytes;
1: + u8 buffer[16];
1: + u32 bytes;
1: };
1:
1: enum asymmetric_payload_bits {
1: - asym_crypto = 0,
1: - asym_subtype = 1,
1: - asym_key_ids = 2,
1: - asym_auth = 3,
1: + asym_crypto = 0,
1: + asym_subtype = 1,
1: + asym_key_ids = 2,
1: + asym_auth = 3,
1: };
1:
1: struct asymmetric_key_id {
1: - short unsigned int len;
1: - unsigned char data[0];
1: + short unsigned int len;
1: + unsigned char data[0];
1: };
1:
1: struct asymmetric_key_ids {
1: - void *id[2];
1: + void *id[2];
1: };
1:
1: struct public_key_signature;
1:
1: struct asymmetric_key_subtype {
1: - struct module *owner;
1: - const char *name;
1: - short unsigned int name_len;
1: - void (*describe)(const struct key *, struct seq_file *);
1: - void (*destroy)(void *, void *);
1: - int (*query)(const struct kernel_pkey_params *, struct kernel_pkey_query *);
1: - int (*eds_op)(struct kernel_pkey_params *, const void *, void *);
1: - int (*verify_signature)(const struct key *, const struct public_key_signature *);
1: + struct module *owner;
1: + const char *name;
1: + short unsigned int name_len;
1: + void (*describe)(const struct key *, struct seq_file *);
1: + void (*destroy)(void *, void *);
1: + int (*query)(const struct kernel_pkey_params *, struct kernel_pkey_query *);
1: + int (*eds_op)(struct kernel_pkey_params *, const void *, void *);
1: + int (*verify_signature)(const struct key *,
1: + const struct public_key_signature *);
1: };
1:
1: struct public_key_signature {
1: - struct asymmetric_key_id *auth_ids[2];
1: - u8 *s;
1: - u32 s_size;
1: - u8 *digest;
1: - u8 digest_size;
1: - const char *pkey_algo;
1: - const char *hash_algo;
1: - const char *encoding;
1: + struct asymmetric_key_id *auth_ids[2];
1: + u8 *s;
1: + u32 s_size;
1: + u8 *digest;
1: + u8 digest_size;
1: + const char *pkey_algo;
1: + const char *hash_algo;
1: + const char *encoding;
1: };
1:
1: struct asymmetric_key_parser {
1: - struct list_head link;
1: - struct module *owner;
1: - const char *name;
1: - int (*parse)(struct key_preparsed_payload *);
1: + struct list_head link;
1: + struct module *owner;
1: + const char *name;
1: + int (*parse)(struct key_preparsed_payload *);
1: };
1:
1: enum OID {
1: - OID_id_dsa_with_sha1 = 0,
1: - OID_id_dsa = 1,
1: - OID_id_ecdsa_with_sha1 = 2,
1: - OID_id_ecPublicKey = 3,
1: - OID_rsaEncryption = 4,
1: - OID_md2WithRSAEncryption = 5,
1: - OID_md3WithRSAEncryption = 6,
1: - OID_md4WithRSAEncryption = 7,
1: - OID_sha1WithRSAEncryption = 8,
1: - OID_sha256WithRSAEncryption = 9,
1: - OID_sha384WithRSAEncryption = 10,
1: - OID_sha512WithRSAEncryption = 11,
1: - OID_sha224WithRSAEncryption = 12,
1: - OID_data = 13,
1: - OID_signed_data = 14,
1: - OID_email_address = 15,
1: - OID_contentType = 16,
1: - OID_messageDigest = 17,
1: - OID_signingTime = 18,
1: - OID_smimeCapabilites = 19,
1: - OID_smimeAuthenticatedAttrs = 20,
1: - OID_md2 = 21,
1: - OID_md4 = 22,
1: - OID_md5 = 23,
1: - OID_msIndirectData = 24,
1: - OID_msStatementType = 25,
1: - OID_msSpOpusInfo = 26,
1: - OID_msPeImageDataObjId = 27,
1: - OID_msIndividualSPKeyPurpose = 28,
1: - OID_msOutlookExpress = 29,
1: - OID_certAuthInfoAccess = 30,
1: - OID_sha1 = 31,
1: - OID_sha256 = 32,
1: - OID_sha384 = 33,
1: - OID_sha512 = 34,
1: - OID_sha224 = 35,
1: - OID_commonName = 36,
1: - OID_surname = 37,
1: - OID_countryName = 38,
1: - OID_locality = 39,
1: - OID_stateOrProvinceName = 40,
1: - OID_organizationName = 41,
1: - OID_organizationUnitName = 42,
1: - OID_title = 43,
1: - OID_description = 44,
1: - OID_name = 45,
1: - OID_givenName = 46,
1: - OID_initials = 47,
1: - OID_generationalQualifier = 48,
1: - OID_subjectKeyIdentifier = 49,
1: - OID_keyUsage = 50,
1: - OID_subjectAltName = 51,
1: - OID_issuerAltName = 52,
1: - OID_basicConstraints = 53,
1: - OID_crlDistributionPoints = 54,
1: - OID_certPolicies = 55,
1: - OID_authorityKeyIdentifier = 56,
1: - OID_extKeyUsage = 57,
1: - OID_gostCPSignA = 58,
1: - OID_gostCPSignB = 59,
1: - OID_gostCPSignC = 60,
1: - OID_gost2012PKey256 = 61,
1: - OID_gost2012PKey512 = 62,
1: - OID_gost2012Digest256 = 63,
1: - OID_gost2012Digest512 = 64,
1: - OID_gost2012Signature256 = 65,
1: - OID_gost2012Signature512 = 66,
1: - OID_gostTC26Sign256A = 67,
1: - OID_gostTC26Sign256B = 68,
1: - OID_gostTC26Sign256C = 69,
1: - OID_gostTC26Sign256D = 70,
1: - OID_gostTC26Sign512A = 71,
1: - OID_gostTC26Sign512B = 72,
1: - OID_gostTC26Sign512C = 73,
1: - OID__NR = 74,
1: + OID_id_dsa_with_sha1 = 0,
1: + OID_id_dsa = 1,
1: + OID_id_ecdsa_with_sha1 = 2,
1: + OID_id_ecPublicKey = 3,
1: + OID_rsaEncryption = 4,
1: + OID_md2WithRSAEncryption = 5,
1: + OID_md3WithRSAEncryption = 6,
1: + OID_md4WithRSAEncryption = 7,
1: + OID_sha1WithRSAEncryption = 8,
1: + OID_sha256WithRSAEncryption = 9,
1: + OID_sha384WithRSAEncryption = 10,
1: + OID_sha512WithRSAEncryption = 11,
1: + OID_sha224WithRSAEncryption = 12,
1: + OID_data = 13,
1: + OID_signed_data = 14,
1: + OID_email_address = 15,
1: + OID_contentType = 16,
1: + OID_messageDigest = 17,
1: + OID_signingTime = 18,
1: + OID_smimeCapabilites = 19,
1: + OID_smimeAuthenticatedAttrs = 20,
1: + OID_md2 = 21,
1: + OID_md4 = 22,
1: + OID_md5 = 23,
1: + OID_msIndirectData = 24,
1: + OID_msStatementType = 25,
1: + OID_msSpOpusInfo = 26,
1: + OID_msPeImageDataObjId = 27,
1: + OID_msIndividualSPKeyPurpose = 28,
1: + OID_msOutlookExpress = 29,
1: + OID_certAuthInfoAccess = 30,
1: + OID_sha1 = 31,
1: + OID_sha256 = 32,
1: + OID_sha384 = 33,
1: + OID_sha512 = 34,
1: + OID_sha224 = 35,
1: + OID_commonName = 36,
1: + OID_surname = 37,
1: + OID_countryName = 38,
1: + OID_locality = 39,
1: + OID_stateOrProvinceName = 40,
1: + OID_organizationName = 41,
1: + OID_organizationUnitName = 42,
1: + OID_title = 43,
1: + OID_description = 44,
1: + OID_name = 45,
1: + OID_givenName = 46,
1: + OID_initials = 47,
1: + OID_generationalQualifier = 48,
1: + OID_subjectKeyIdentifier = 49,
1: + OID_keyUsage = 50,
1: + OID_subjectAltName = 51,
1: + OID_issuerAltName = 52,
1: + OID_basicConstraints = 53,
1: + OID_crlDistributionPoints = 54,
1: + OID_certPolicies = 55,
1: + OID_authorityKeyIdentifier = 56,
1: + OID_extKeyUsage = 57,
1: + OID_gostCPSignA = 58,
1: + OID_gostCPSignB = 59,
1: + OID_gostCPSignC = 60,
1: + OID_gost2012PKey256 = 61,
1: + OID_gost2012PKey512 = 62,
1: + OID_gost2012Digest256 = 63,
1: + OID_gost2012Digest512 = 64,
1: + OID_gost2012Signature256 = 65,
1: + OID_gost2012Signature512 = 66,
1: + OID_gostTC26Sign256A = 67,
1: + OID_gostTC26Sign256B = 68,
1: + OID_gostTC26Sign256C = 69,
1: + OID_gostTC26Sign256D = 70,
1: + OID_gostTC26Sign512A = 71,
1: + OID_gostTC26Sign512B = 72,
1: + OID_gostTC26Sign512C = 73,
1: + OID__NR = 74,
1: };
1:
1: struct public_key {
1: - void *key;
1: - u32 keylen;
1: - enum OID algo;
1: - void *params;
1: - u32 paramlen;
1: - bool key_is_private;
1: - const char *id_type;
1: - const char *pkey_algo;
1: + void *key;
1: + u32 keylen;
1: + enum OID algo;
1: + void *params;
1: + u32 paramlen;
1: + bool key_is_private;
1: + const char *id_type;
1: + const char *pkey_algo;
1: };
1:
1: enum x509_actions {
1: - ACT_x509_extract_key_data = 0,
1: - ACT_x509_extract_name_segment = 1,
1: - ACT_x509_note_OID = 2,
1: - ACT_x509_note_issuer = 3,
1: - ACT_x509_note_not_after = 4,
1: - ACT_x509_note_not_before = 5,
1: - ACT_x509_note_params = 6,
1: - ACT_x509_note_pkey_algo = 7,
1: - ACT_x509_note_serial = 8,
1: - ACT_x509_note_signature = 9,
1: - ACT_x509_note_subject = 10,
1: - ACT_x509_note_tbs_certificate = 11,
1: - ACT_x509_process_extension = 12,
1: - NR__x509_actions = 13,
1: + ACT_x509_extract_key_data = 0,
1: + ACT_x509_extract_name_segment = 1,
1: + ACT_x509_note_OID = 2,
1: + ACT_x509_note_issuer = 3,
1: + ACT_x509_note_not_after = 4,
1: + ACT_x509_note_not_before = 5,
1: + ACT_x509_note_params = 6,
1: + ACT_x509_note_pkey_algo = 7,
1: + ACT_x509_note_serial = 8,
1: + ACT_x509_note_signature = 9,
1: + ACT_x509_note_subject = 10,
1: + ACT_x509_note_tbs_certificate = 11,
1: + ACT_x509_process_extension = 12,
1: + NR__x509_actions = 13,
1: };
1:
1: enum x509_akid_actions {
1: - ACT_x509_akid_note_kid = 0,
1: - ACT_x509_akid_note_name = 1,
1: - ACT_x509_akid_note_serial = 2,
1: - ACT_x509_extract_name_segment___2 = 3,
1: - ACT_x509_note_OID___2 = 4,
1: - NR__x509_akid_actions = 5,
1: + ACT_x509_akid_note_kid = 0,
1: + ACT_x509_akid_note_name = 1,
1: + ACT_x509_akid_note_serial = 2,
1: + ACT_x509_extract_name_segment___2 = 3,
1: + ACT_x509_note_OID___2 = 4,
1: + NR__x509_akid_actions = 5,
1: };
1:
1: struct x509_certificate {
1: - struct x509_certificate *next;
1: - struct x509_certificate *signer;
1: - struct public_key *pub;
1: - struct public_key_signature *sig;
1: - char *issuer;
1: - char *subject;
1: - struct asymmetric_key_id *id;
1: - struct asymmetric_key_id *skid;
1: - time64_t valid_from;
1: - time64_t valid_to;
1: - const void *tbs;
1: - unsigned int tbs_size;
1: - unsigned int raw_sig_size;
1: - const void *raw_sig;
1: - const void *raw_serial;
1: - unsigned int raw_serial_size;
1: - unsigned int raw_issuer_size;
1: - const void *raw_issuer;
1: - const void *raw_subject;
1: - unsigned int raw_subject_size;
1: - unsigned int raw_skid_size;
1: - const void *raw_skid;
1: - unsigned int index;
1: - bool seen;
1: - bool verified;
1: - bool self_signed;
1: - bool unsupported_key;
1: - bool unsupported_sig;
1: - bool blacklisted;
1: + struct x509_certificate *next;
1: + struct x509_certificate *signer;
1: + struct public_key *pub;
1: + struct public_key_signature *sig;
1: + char *issuer;
1: + char *subject;
1: + struct asymmetric_key_id *id;
1: + struct asymmetric_key_id *skid;
1: + time64_t valid_from;
1: + time64_t valid_to;
1: + const void *tbs;
1: + unsigned int tbs_size;
1: + unsigned int raw_sig_size;
1: + const void *raw_sig;
1: + const void *raw_serial;
1: + unsigned int raw_serial_size;
1: + unsigned int raw_issuer_size;
1: + const void *raw_issuer;
1: + const void *raw_subject;
1: + unsigned int raw_subject_size;
1: + unsigned int raw_skid_size;
1: + const void *raw_skid;
1: + unsigned int index;
1: + bool seen;
1: + bool verified;
1: + bool self_signed;
1: + bool unsupported_key;
1: + bool unsupported_sig;
1: + bool blacklisted;
1: };
1:
1: struct x509_parse_context {
1: - struct x509_certificate *cert;
1: - long unsigned int data;
1: - const void *cert_start;
1: - const void *key;
1: - size_t key_size;
1: - const void *params;
1: - size_t params_size;
1: - enum OID key_algo;
1: - enum OID last_oid;
1: - enum OID algo_oid;
1: - unsigned char nr_mpi;
1: - u8 o_size;
1: - u8 cn_size;
1: - u8 email_size;
1: - u16 o_offset;
1: - u16 cn_offset;
1: - u16 email_offset;
1: - unsigned int raw_akid_size;
1: - const void *raw_akid;
1: - const void *akid_raw_issuer;
1: - unsigned int akid_raw_issuer_size;
1: + struct x509_certificate *cert;
1: + long unsigned int data;
1: + const void *cert_start;
1: + const void *key;
1: + size_t key_size;
1: + const void *params;
1: + size_t params_size;
1: + enum OID key_algo;
1: + enum OID last_oid;
1: + enum OID algo_oid;
1: + unsigned char nr_mpi;
1: + u8 o_size;
1: + u8 cn_size;
1: + u8 email_size;
1: + u16 o_offset;
1: + u16 cn_offset;
1: + u16 email_offset;
1: + unsigned int raw_akid_size;
1: + const void *raw_akid;
1: + const void *akid_raw_issuer;
1: + unsigned int akid_raw_issuer_size;
1: };
1:
1: enum pkcs7_actions {
1: - ACT_pkcs7_check_content_type = 0,
1: - ACT_pkcs7_extract_cert = 1,
1: - ACT_pkcs7_note_OID = 2,
1: - ACT_pkcs7_note_certificate_list = 3,
1: - ACT_pkcs7_note_content = 4,
1: - ACT_pkcs7_note_data = 5,
1: - ACT_pkcs7_note_signed_info = 6,
1: - ACT_pkcs7_note_signeddata_version = 7,
1: - ACT_pkcs7_note_signerinfo_version = 8,
1: - ACT_pkcs7_sig_note_authenticated_attr = 9,
1: - ACT_pkcs7_sig_note_digest_algo = 10,
1: - ACT_pkcs7_sig_note_issuer = 11,
1: - ACT_pkcs7_sig_note_pkey_algo = 12,
1: - ACT_pkcs7_sig_note_serial = 13,
1: - ACT_pkcs7_sig_note_set_of_authattrs = 14,
1: - ACT_pkcs7_sig_note_signature = 15,
1: - ACT_pkcs7_sig_note_skid = 16,
1: - NR__pkcs7_actions = 17,
1: + ACT_pkcs7_check_content_type = 0,
1: + ACT_pkcs7_extract_cert = 1,
1: + ACT_pkcs7_note_OID = 2,
1: + ACT_pkcs7_note_certificate_list = 3,
1: + ACT_pkcs7_note_content = 4,
1: + ACT_pkcs7_note_data = 5,
1: + ACT_pkcs7_note_signed_info = 6,
1: + ACT_pkcs7_note_signeddata_version = 7,
1: + ACT_pkcs7_note_signerinfo_version = 8,
1: + ACT_pkcs7_sig_note_authenticated_attr = 9,
1: + ACT_pkcs7_sig_note_digest_algo = 10,
1: + ACT_pkcs7_sig_note_issuer = 11,
1: + ACT_pkcs7_sig_note_pkey_algo = 12,
1: + ACT_pkcs7_sig_note_serial = 13,
1: + ACT_pkcs7_sig_note_set_of_authattrs = 14,
1: + ACT_pkcs7_sig_note_signature = 15,
1: + ACT_pkcs7_sig_note_skid = 16,
1: + NR__pkcs7_actions = 17,
1: };
1:
1: struct pkcs7_signed_info {
1: - struct pkcs7_signed_info *next;
1: - struct x509_certificate *signer;
1: - unsigned int index;
1: - bool unsupported_crypto;
1: - bool blacklisted;
1: - const void *msgdigest;
1: - unsigned int msgdigest_len;
1: - unsigned int authattrs_len;
1: - const void *authattrs;
1: - long unsigned int aa_set;
1: - time64_t signing_time;
1: - struct public_key_signature *sig;
1: + struct pkcs7_signed_info *next;
1: + struct x509_certificate *signer;
1: + unsigned int index;
1: + bool unsupported_crypto;
1: + bool blacklisted;
1: + const void *msgdigest;
1: + unsigned int msgdigest_len;
1: + unsigned int authattrs_len;
1: + const void *authattrs;
1: + long unsigned int aa_set;
1: + time64_t signing_time;
1: + struct public_key_signature *sig;
1: };
1:
1: struct pkcs7_message___2 {
1: - struct x509_certificate *certs;
1: - struct x509_certificate *crl;
1: - struct pkcs7_signed_info *signed_infos;
1: - u8 version;
1: - bool have_authattrs;
1: - enum OID data_type;
1: - size_t data_len;
1: - size_t data_hdrlen;
1: - const void *data;
1: + struct x509_certificate *certs;
1: + struct x509_certificate *crl;
1: + struct pkcs7_signed_info *signed_infos;
1: + u8 version;
1: + bool have_authattrs;
1: + enum OID data_type;
1: + size_t data_len;
1: + size_t data_hdrlen;
1: + const void *data;
1: };
1:
1: struct pkcs7_parse_context {
1: - struct pkcs7_message___2 *msg;
1: - struct pkcs7_signed_info *sinfo;
1: - struct pkcs7_signed_info **ppsinfo;
1: - struct x509_certificate *certs;
1: - struct x509_certificate **ppcerts;
1: - long unsigned int data;
1: - enum OID last_oid;
1: - unsigned int x509_index;
1: - unsigned int sinfo_index;
1: - const void *raw_serial;
1: - unsigned int raw_serial_size;
1: - unsigned int raw_issuer_size;
1: - const void *raw_issuer;
1: - const void *raw_skid;
1: - unsigned int raw_skid_size;
1: - bool expect_skid;
1: + struct pkcs7_message___2 *msg;
1: + struct pkcs7_signed_info *sinfo;
1: + struct pkcs7_signed_info **ppsinfo;
1: + struct x509_certificate *certs;
1: + struct x509_certificate **ppcerts;
1: + long unsigned int data;
1: + enum OID last_oid;
1: + unsigned int x509_index;
1: + unsigned int sinfo_index;
1: + const void *raw_serial;
1: + unsigned int raw_serial_size;
1: + unsigned int raw_issuer_size;
1: + const void *raw_issuer;
1: + const void *raw_skid;
1: + unsigned int raw_skid_size;
1: + bool expect_skid;
1: };
1:
1: enum hash_algo {
1: - HASH_ALGO_MD4 = 0,
1: - HASH_ALGO_MD5 = 1,
1: - HASH_ALGO_SHA1 = 2,
1: - HASH_ALGO_RIPE_MD_160 = 3,
1: - HASH_ALGO_SHA256 = 4,
1: - HASH_ALGO_SHA384 = 5,
1: - HASH_ALGO_SHA512 = 6,
1: - HASH_ALGO_SHA224 = 7,
1: - HASH_ALGO_RIPE_MD_128 = 8,
1: - HASH_ALGO_RIPE_MD_256 = 9,
1: - HASH_ALGO_RIPE_MD_320 = 10,
1: - HASH_ALGO_WP_256 = 11,
1: - HASH_ALGO_WP_384 = 12,
1: - HASH_ALGO_WP_512 = 13,
1: - HASH_ALGO_TGR_128 = 14,
1: - HASH_ALGO_TGR_160 = 15,
1: - HASH_ALGO_TGR_192 = 16,
1: - HASH_ALGO_SM3_256 = 17,
1: - HASH_ALGO_STREEBOG_256 = 18,
1: - HASH_ALGO_STREEBOG_512 = 19,
1: - HASH_ALGO__LAST = 20,
1: + HASH_ALGO_MD4 = 0,
1: + HASH_ALGO_MD5 = 1,
1: + HASH_ALGO_SHA1 = 2,
1: + HASH_ALGO_RIPE_MD_160 = 3,
1: + HASH_ALGO_SHA256 = 4,
1: + HASH_ALGO_SHA384 = 5,
1: + HASH_ALGO_SHA512 = 6,
1: + HASH_ALGO_SHA224 = 7,
1: + HASH_ALGO_RIPE_MD_128 = 8,
1: + HASH_ALGO_RIPE_MD_256 = 9,
1: + HASH_ALGO_RIPE_MD_320 = 10,
1: + HASH_ALGO_WP_256 = 11,
1: + HASH_ALGO_WP_384 = 12,
1: + HASH_ALGO_WP_512 = 13,
1: + HASH_ALGO_TGR_128 = 14,
1: + HASH_ALGO_TGR_160 = 15,
1: + HASH_ALGO_TGR_192 = 16,
1: + HASH_ALGO_SM3_256 = 17,
1: + HASH_ALGO_STREEBOG_256 = 18,
1: + HASH_ALGO_STREEBOG_512 = 19,
1: + HASH_ALGO__LAST = 20,
1: };
1:
1: struct biovec_slab {
1: - int nr_vecs;
1: - char *name;
1: - struct kmem_cache *slab;
1: + int nr_vecs;
1: + char *name;
1: + struct kmem_cache *slab;
1: };
1:
1: enum rq_qos_id {
1: - RQ_QOS_WBT = 0,
1: - RQ_QOS_LATENCY = 1,
1: - RQ_QOS_COST = 2,
1: + RQ_QOS_WBT = 0,
1: + RQ_QOS_LATENCY = 1,
1: + RQ_QOS_COST = 2,
1: };
1:
1: struct rq_qos_ops;
1:
1: struct rq_qos {
1: - struct rq_qos_ops *ops;
1: - struct request_queue *q;
1: - enum rq_qos_id id;
1: - struct rq_qos *next;
1: - struct dentry *debugfs_dir;
1: + struct rq_qos_ops *ops;
1: + struct request_queue *q;
1: + enum rq_qos_id id;
1: + struct rq_qos *next;
1: + struct dentry *debugfs_dir;
1: };
1:
1: struct rq_map_data {
1: - struct page **pages;
1: - int page_order;
1: - int nr_entries;
1: - long unsigned int offset;
1: - int null_mapped;
1: - int from_user;
1: + struct page **pages;
1: + int page_order;
1: + int nr_entries;
1: + long unsigned int offset;
1: + int null_mapped;
1: + int from_user;
1: };
1:
1: enum hctx_type {
1: - HCTX_TYPE_DEFAULT = 0,
1: - HCTX_TYPE_READ = 1,
1: - HCTX_TYPE_POLL = 2,
1: - HCTX_MAX_TYPES = 3,
1: + HCTX_TYPE_DEFAULT = 0,
1: + HCTX_TYPE_READ = 1,
1: + HCTX_TYPE_POLL = 2,
1: + HCTX_MAX_TYPES = 3,
1: };
1:
1: struct rq_qos_ops {
1: - void (*throttle)(struct rq_qos *, struct bio *);
1: - void (*track)(struct rq_qos *, struct request *, struct bio *);
1: - void (*merge)(struct rq_qos *, struct request *, struct bio *);
1: - void (*issue)(struct rq_qos *, struct request *);
1: - void (*requeue)(struct rq_qos *, struct request *);
1: - void (*done)(struct rq_qos *, struct request *);
1: - void (*done_bio)(struct rq_qos *, struct bio *);
1: - void (*cleanup)(struct rq_qos *, struct bio *);
1: - void (*queue_depth_changed)(struct rq_qos *);
1: - void (*exit)(struct rq_qos *);
1: - const struct blk_mq_debugfs_attr *debugfs_attrs;
1: + void (*throttle)(struct rq_qos *, struct bio *);
1: + void (*track)(struct rq_qos *, struct request *, struct bio *);
1: + void (*merge)(struct rq_qos *, struct request *, struct bio *);
1: + void (*issue)(struct rq_qos *, struct request *);
1: + void (*requeue)(struct rq_qos *, struct request *);
1: + void (*done)(struct rq_qos *, struct request *);
1: + void (*done_bio)(struct rq_qos *, struct bio *);
1: + void (*cleanup)(struct rq_qos *, struct bio *);
1: + void (*queue_depth_changed)(struct rq_qos *);
1: + void (*exit)(struct rq_qos *);
1: + const struct blk_mq_debugfs_attr *debugfs_attrs;
1: };
1:
1: struct bio_slab {
1: - struct kmem_cache *slab;
1: - unsigned int slab_ref;
1: - unsigned int slab_size;
1: - char name[8];
1: + struct kmem_cache *slab;
1: + unsigned int slab_ref;
1: + unsigned int slab_size;
1: + char name[8];
1: };
1:
1: struct bio_map_data {
1: - int is_our_pages;
1: - struct iov_iter iter;
1: - struct iovec iov[0];
1: + int is_our_pages;
1: + struct iov_iter iter;
1: + struct iovec iov[0];
1: };
1:
1: enum {
1: - BLK_MQ_F_SHOULD_MERGE = 1,
1: - BLK_MQ_F_TAG_SHARED = 2,
1: - BLK_MQ_F_BLOCKING = 32,
1: - BLK_MQ_F_NO_SCHED = 64,
1: - BLK_MQ_F_ALLOC_POLICY_START_BIT = 8,
1: - BLK_MQ_F_ALLOC_POLICY_BITS = 1,
1: - BLK_MQ_S_STOPPED = 0,
1: - BLK_MQ_S_TAG_ACTIVE = 1,
1: - BLK_MQ_S_SCHED_RESTART = 2,
1: - BLK_MQ_MAX_DEPTH = 10240,
1: - BLK_MQ_CPU_WORK_BATCH = 8,
1: + BLK_MQ_F_SHOULD_MERGE = 1,
1: + BLK_MQ_F_TAG_SHARED = 2,
1: + BLK_MQ_F_BLOCKING = 32,
1: + BLK_MQ_F_NO_SCHED = 64,
1: + BLK_MQ_F_ALLOC_POLICY_START_BIT = 8,
1: + BLK_MQ_F_ALLOC_POLICY_BITS = 1,
1: + BLK_MQ_S_STOPPED = 0,
1: + BLK_MQ_S_TAG_ACTIVE = 1,
1: + BLK_MQ_S_SCHED_RESTART = 2,
1: + BLK_MQ_MAX_DEPTH = 10240,
1: + BLK_MQ_CPU_WORK_BATCH = 8,
1: };
1:
1: enum {
1: - WBT_RWQ_BG = 0,
1: - WBT_RWQ_KSWAPD = 1,
1: - WBT_RWQ_DISCARD = 2,
1: - WBT_NUM_RWQ = 3,
1: + WBT_RWQ_BG = 0,
1: + WBT_RWQ_KSWAPD = 1,
1: + WBT_RWQ_DISCARD = 2,
1: + WBT_NUM_RWQ = 3,
1: };
1:
1: struct blk_plug_cb;
1: @@ -54981,167 +55407,167 @@ struct blk_plug_cb;
1: typedef void (*blk_plug_cb_fn)(struct blk_plug_cb *, bool);
1:
1: struct blk_plug_cb {
1: - struct list_head list;
1: - blk_plug_cb_fn callback;
1: - void *data;
1: + struct list_head list;
1: + blk_plug_cb_fn callback;
1: + void *data;
1: };
1:
1: enum {
1: - BLK_MQ_REQ_NOWAIT = 1,
1: - BLK_MQ_REQ_RESERVED = 2,
1: - BLK_MQ_REQ_INTERNAL = 4,
1: - BLK_MQ_REQ_PREEMPT = 8,
1: + BLK_MQ_REQ_NOWAIT = 1,
1: + BLK_MQ_REQ_RESERVED = 2,
1: + BLK_MQ_REQ_INTERNAL = 4,
1: + BLK_MQ_REQ_PREEMPT = 8,
1: };
1:
1: struct trace_event_raw_block_buffer {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - size_t size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + size_t size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_rq_requeue {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - char rwbs[8];
1: - u32 __data_loc_cmd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + u32 __data_loc_cmd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_rq_complete {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - int error;
1: - char rwbs[8];
1: - u32 __data_loc_cmd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + int error;
1: + char rwbs[8];
1: + u32 __data_loc_cmd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_rq {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - unsigned int bytes;
1: - char rwbs[8];
1: - char comm[16];
1: - u32 __data_loc_cmd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + unsigned int bytes;
1: + char rwbs[8];
1: + char comm[16];
1: + u32 __data_loc_cmd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_bio_bounce {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - char rwbs[8];
1: - char comm[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_bio_complete {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - int error;
1: - char rwbs[8];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + int error;
1: + char rwbs[8];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_bio_merge {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - char rwbs[8];
1: - char comm[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_bio_queue {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - char rwbs[8];
1: - char comm[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_get_rq {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - char rwbs[8];
1: - char comm[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_plug {
1: - struct trace_entry ent;
1: - char comm[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char comm[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_unplug {
1: - struct trace_entry ent;
1: - int nr_rq;
1: - char comm[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nr_rq;
1: + char comm[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_split {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - sector_t new_sector;
1: - char rwbs[8];
1: - char comm[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + sector_t new_sector;
1: + char rwbs[8];
1: + char comm[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_bio_remap {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - dev_t old_dev;
1: - sector_t old_sector;
1: - char rwbs[8];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + dev_t old_dev;
1: + sector_t old_sector;
1: + char rwbs[8];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_block_rq_remap {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - sector_t sector;
1: - unsigned int nr_sector;
1: - dev_t old_dev;
1: - sector_t old_sector;
1: - unsigned int nr_bios;
1: - char rwbs[8];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + sector_t sector;
1: + unsigned int nr_sector;
1: + dev_t old_dev;
1: + sector_t old_sector;
1: + unsigned int nr_bios;
1: + char rwbs[8];
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_block_buffer {};
1:
1: struct trace_event_data_offsets_block_rq_requeue {
1: - u32 cmd;
1: + u32 cmd;
1: };
1:
1: struct trace_event_data_offsets_block_rq_complete {
1: - u32 cmd;
1: + u32 cmd;
1: };
1:
1: struct trace_event_data_offsets_block_rq {
1: - u32 cmd;
1: + u32 cmd;
1: };
1:
1: struct trace_event_data_offsets_block_bio_bounce {};
1: @@ -55165,369 +55591,368 @@ struct trace_event_data_offsets_block_bio_remap {};
1: struct trace_event_data_offsets_block_rq_remap {};
1:
1: struct queue_sysfs_entry {
1: - struct attribute attr;
1: - ssize_t (*show)(struct request_queue *, char *);
1: - ssize_t (*store)(struct request_queue *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct request_queue *, char *);
1: + ssize_t (*store)(struct request_queue *, const char *, size_t);
1: };
1:
1: enum {
1: - REQ_FSEQ_PREFLUSH = 1,
1: - REQ_FSEQ_DATA = 2,
1: - REQ_FSEQ_POSTFLUSH = 4,
1: - REQ_FSEQ_DONE = 8,
1: - REQ_FSEQ_ACTIONS = 7,
1: - FLUSH_PENDING_TIMEOUT = 5000,
1: + REQ_FSEQ_PREFLUSH = 1,
1: + REQ_FSEQ_DATA = 2,
1: + REQ_FSEQ_POSTFLUSH = 4,
1: + REQ_FSEQ_DONE = 8,
1: + REQ_FSEQ_ACTIONS = 7,
1: + FLUSH_PENDING_TIMEOUT = 5000,
1: };
1:
1: enum blk_default_limits {
1: - BLK_MAX_SEGMENTS = 128,
1: - BLK_SAFE_MAX_SECTORS = 255,
1: - BLK_DEF_MAX_SECTORS = 2560,
1: - BLK_MAX_SEGMENT_SIZE = 65536,
1: - BLK_SEG_BOUNDARY_MASK = -1,
1: + BLK_MAX_SEGMENTS = 128,
1: + BLK_SAFE_MAX_SECTORS = 255,
1: + BLK_DEF_MAX_SECTORS = 2560,
1: + BLK_MAX_SEGMENT_SIZE = 65536,
1: + BLK_SEG_BOUNDARY_MASK = -1,
1: };
1:
1: enum {
1: - ICQ_EXITED = 4,
1: + ICQ_EXITED = 4,
1: };
1:
1: enum {
1: - sysctl_hung_task_timeout_secs = 0,
1: + sysctl_hung_task_timeout_secs = 0,
1: };
1:
1: struct req_iterator {
1: - struct bvec_iter iter;
1: - struct bio *bio;
1: + struct bvec_iter iter;
1: + struct bio *bio;
1: };
1:
1: typedef bool (*sb_for_each_fn)(struct sbitmap *, unsigned int, void *);
1:
1: -typedef bool busy_iter_fn(struct blk_mq_hw_ctx *, struct request *, void *, bool);
1: +typedef bool busy_iter_fn(struct blk_mq_hw_ctx *, struct request *, void *,
1: + bool);
1:
1: enum {
1: - BLK_MQ_UNIQUE_TAG_BITS = 16,
1: - BLK_MQ_UNIQUE_TAG_MASK = 65535,
1: + BLK_MQ_UNIQUE_TAG_BITS = 16,
1: + BLK_MQ_UNIQUE_TAG_MASK = 65535,
1: };
1:
1: enum {
1: - BLK_MQ_TAG_FAIL = -1,
1: - BLK_MQ_TAG_MIN = 1,
1: - BLK_MQ_TAG_MAX = -2,
1: + BLK_MQ_TAG_FAIL = -1,
1: + BLK_MQ_TAG_MIN = 1,
1: + BLK_MQ_TAG_MAX = -2,
1: };
1:
1: struct mq_inflight {
1: - struct hd_struct *part;
1: - unsigned int inflight[2];
1: + struct hd_struct *part;
1: + unsigned int inflight[2];
1: };
1:
1: struct flush_busy_ctx_data {
1: - struct blk_mq_hw_ctx *hctx;
1: - struct list_head *list;
1: + struct blk_mq_hw_ctx *hctx;
1: + struct list_head *list;
1: };
1:
1: struct dispatch_rq_data {
1: - struct blk_mq_hw_ctx *hctx;
1: - struct request *rq;
1: + struct blk_mq_hw_ctx *hctx;
1: + struct request *rq;
1: };
1:
1: struct blk_mq_qe_pair {
1: - struct list_head node;
1: - struct request_queue *q;
1: - struct elevator_type *type;
1: + struct list_head node;
1: + struct request_queue *q;
1: + struct elevator_type *type;
1: };
1:
1: struct sbq_wait {
1: - struct sbitmap_queue *sbq;
1: - struct wait_queue_entry wait;
1: + struct sbitmap_queue *sbq;
1: + struct wait_queue_entry wait;
1: };
1:
1: typedef bool busy_tag_iter_fn(struct request *, void *, bool);
1:
1: struct bt_iter_data {
1: - struct blk_mq_hw_ctx *hctx;
1: - busy_iter_fn *fn;
1: - void *data;
1: - bool reserved;
1: + struct blk_mq_hw_ctx *hctx;
1: + busy_iter_fn *fn;
1: + void *data;
1: + bool reserved;
1: };
1:
1: struct bt_tags_iter_data {
1: - struct blk_mq_tags *tags;
1: - busy_tag_iter_fn *fn;
1: - void *data;
1: - bool reserved;
1: + struct blk_mq_tags *tags;
1: + busy_tag_iter_fn *fn;
1: + void *data;
1: + bool reserved;
1: };
1:
1: struct blk_queue_stats {
1: - struct list_head callbacks;
1: - spinlock_t lock;
1: - bool enable_accounting;
1: + struct list_head callbacks;
1: + spinlock_t lock;
1: + bool enable_accounting;
1: };
1:
1: struct blk_mq_ctx_sysfs_entry {
1: - struct attribute attr;
1: - ssize_t (*show)(struct blk_mq_ctx *, char *);
1: - ssize_t (*store)(struct blk_mq_ctx *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct blk_mq_ctx *, char *);
1: + ssize_t (*store)(struct blk_mq_ctx *, const char *, size_t);
1: };
1:
1: struct blk_mq_hw_ctx_sysfs_entry {
1: - struct attribute attr;
1: - ssize_t (*show)(struct blk_mq_hw_ctx *, char *);
1: - ssize_t (*store)(struct blk_mq_hw_ctx *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct blk_mq_hw_ctx *, char *);
1: + ssize_t (*store)(struct blk_mq_hw_ctx *, const char *, size_t);
1: };
1:
1: struct disk_part_iter {
1: - struct gendisk *disk;
1: - struct hd_struct *part;
1: - int idx;
1: - unsigned int flags;
1: + struct gendisk *disk;
1: + struct hd_struct *part;
1: + int idx;
1: + unsigned int flags;
1: };
1:
1: struct hd_geometry {
1: - unsigned char heads;
1: - unsigned char sectors;
1: - short unsigned int cylinders;
1: - long unsigned int start;
1: + unsigned char heads;
1: + unsigned char sectors;
1: + short unsigned int cylinders;
1: + long unsigned int start;
1: };
1:
1: struct blkpg_ioctl_arg {
1: - int op;
1: - int flags;
1: - int datalen;
1: - void *data;
1: + int op;
1: + int flags;
1: + int datalen;
1: + void *data;
1: };
1:
1: struct blkpg_partition {
1: - long long int start;
1: - long long int length;
1: - int pno;
1: - char devname[64];
1: - char volname[64];
1: + long long int start;
1: + long long int length;
1: + int pno;
1: + char devname[64];
1: + char volname[64];
1: };
1:
1: struct pr_reservation {
1: - __u64 key;
1: - __u32 type;
1: - __u32 flags;
1: + __u64 key;
1: + __u32 type;
1: + __u32 flags;
1: };
1:
1: struct pr_registration {
1: - __u64 old_key;
1: - __u64 new_key;
1: - __u32 flags;
1: - __u32 __pad;
1: + __u64 old_key;
1: + __u64 new_key;
1: + __u32 flags;
1: + __u32 __pad;
1: };
1:
1: struct pr_preempt {
1: - __u64 old_key;
1: - __u64 new_key;
1: - __u32 type;
1: - __u32 flags;
1: + __u64 old_key;
1: + __u64 new_key;
1: + __u32 type;
1: + __u32 flags;
1: };
1:
1: struct pr_clear {
1: - __u64 key;
1: - __u32 flags;
1: - __u32 __pad;
1: + __u64 key;
1: + __u32 flags;
1: + __u32 __pad;
1: };
1:
1: struct klist_node;
1:
1: struct klist {
1: - spinlock_t k_lock;
1: - struct list_head k_list;
1: - void (*get)(struct klist_node *);
1: - void (*put)(struct klist_node *);
1: + spinlock_t k_lock;
1: + struct list_head k_list;
1: + void (*get)(struct klist_node *);
1: + void (*put)(struct klist_node *);
1: };
1:
1: struct klist_node {
1: - void *n_klist;
1: - struct list_head n_node;
1: - struct kref n_ref;
1: + void *n_klist;
1: + struct list_head n_node;
1: + struct kref n_ref;
1: };
1:
1: struct klist_iter {
1: - struct klist *i_klist;
1: - struct klist_node *i_cur;
1: + struct klist *i_klist;
1: + struct klist_node *i_cur;
1: };
1:
1: struct class_dev_iter {
1: - struct klist_iter ki;
1: - const struct device_type *type;
1: + struct klist_iter ki;
1: + const struct device_type *type;
1: };
1:
1: enum {
1: - DISK_EVENT_FLAG_POLL = 1,
1: - DISK_EVENT_FLAG_UEVENT = 2,
1: + DISK_EVENT_FLAG_POLL = 1,
1: + DISK_EVENT_FLAG_UEVENT = 2,
1: };
1:
1: struct disk_events {
1: - struct list_head node;
1: - struct gendisk *disk;
1: - spinlock_t lock;
1: - struct mutex block_mutex;
1: - int block;
1: - unsigned int pending;
1: - unsigned int clearing;
1: - long int poll_msecs;
1: - struct delayed_work dwork;
1: + struct list_head node;
1: + struct gendisk *disk;
1: + spinlock_t lock;
1: + struct mutex block_mutex;
1: + int block;
1: + unsigned int pending;
1: + unsigned int clearing;
1: + long int poll_msecs;
1: + struct delayed_work dwork;
1: };
1:
1: struct badblocks {
1: - struct device *dev;
1: - int count;
1: - int unacked_exist;
1: - int shift;
1: - u64 *page;
1: - int changed;
1: - seqlock_t lock;
1: - sector_t sector;
1: - sector_t size;
1: + struct device *dev;
1: + int count;
1: + int unacked_exist;
1: + int shift;
1: + u64 *page;
1: + int changed;
1: + seqlock_t lock;
1: + sector_t sector;
1: + sector_t size;
1: };
1:
1: typedef struct kobject *kobj_probe_t___2(dev_t, int *, void *);
1:
1: struct blk_major_name {
1: - struct blk_major_name *next;
1: - int major;
1: - char name[16];
1: + struct blk_major_name *next;
1: + int major;
1: + char name[16];
1: };
1:
1: -typedef struct {
1: - struct page *v;
1: -} Sector;
1: +typedef struct { struct page *v; } Sector;
1:
1: struct parsed_partitions {
1: - struct block_device *bdev;
1: - char name[32];
1: - struct {
1: - sector_t from;
1: - sector_t size;
1: - int flags;
1: - bool has_info;
1: - struct partition_meta_info info;
1: - } *parts;
1: - int next;
1: - int limit;
1: - bool access_beyond_eod;
1: - char *pp_buf;
1: -};
1: -
1: -enum {
1: - IOPRIO_WHO_PROCESS = 1,
1: - IOPRIO_WHO_PGRP = 2,
1: - IOPRIO_WHO_USER = 3,
1: -};
1: -
1: -enum {
1: - DOS_EXTENDED_PARTITION = 5,
1: - LINUX_EXTENDED_PARTITION = 133,
1: - WIN98_EXTENDED_PARTITION = 15,
1: - SUN_WHOLE_DISK = 5,
1: - LINUX_SWAP_PARTITION = 130,
1: - LINUX_DATA_PARTITION = 131,
1: - LINUX_LVM_PARTITION = 142,
1: - LINUX_RAID_PARTITION = 253,
1: - SOLARIS_X86_PARTITION = 130,
1: - NEW_SOLARIS_X86_PARTITION = 191,
1: - DM6_AUX1PARTITION = 81,
1: - DM6_AUX3PARTITION = 83,
1: - DM6_PARTITION = 84,
1: - EZD_PARTITION = 85,
1: - FREEBSD_PARTITION = 165,
1: - OPENBSD_PARTITION = 166,
1: - NETBSD_PARTITION = 169,
1: - BSDI_PARTITION = 183,
1: - MINIX_PARTITION = 129,
1: - UNIXWARE_PARTITION = 99,
1: + struct block_device *bdev;
1: + char name[32];
1: + struct {
1: + sector_t from;
1: + sector_t size;
1: + int flags;
1: + bool has_info;
1: + struct partition_meta_info info;
1: + } * parts;
1: + int next;
1: + int limit;
1: + bool access_beyond_eod;
1: + char *pp_buf;
1: +};
1: +
1: +enum {
1: + IOPRIO_WHO_PROCESS = 1,
1: + IOPRIO_WHO_PGRP = 2,
1: + IOPRIO_WHO_USER = 3,
1: +};
1: +
1: +enum {
1: + DOS_EXTENDED_PARTITION = 5,
1: + LINUX_EXTENDED_PARTITION = 133,
1: + WIN98_EXTENDED_PARTITION = 15,
1: + SUN_WHOLE_DISK = 5,
1: + LINUX_SWAP_PARTITION = 130,
1: + LINUX_DATA_PARTITION = 131,
1: + LINUX_LVM_PARTITION = 142,
1: + LINUX_RAID_PARTITION = 253,
1: + SOLARIS_X86_PARTITION = 130,
1: + NEW_SOLARIS_X86_PARTITION = 191,
1: + DM6_AUX1PARTITION = 81,
1: + DM6_AUX3PARTITION = 83,
1: + DM6_PARTITION = 84,
1: + EZD_PARTITION = 85,
1: + FREEBSD_PARTITION = 165,
1: + OPENBSD_PARTITION = 166,
1: + NETBSD_PARTITION = 169,
1: + BSDI_PARTITION = 183,
1: + MINIX_PARTITION = 129,
1: + UNIXWARE_PARTITION = 99,
1: };
1:
1: struct partition {
1: - unsigned char boot_ind;
1: - unsigned char head;
1: - unsigned char sector;
1: - unsigned char cyl;
1: - unsigned char sys_ind;
1: - unsigned char end_head;
1: - unsigned char end_sector;
1: - unsigned char end_cyl;
1: - __le32 start_sect;
1: - __le32 nr_sects;
1: + unsigned char boot_ind;
1: + unsigned char head;
1: + unsigned char sector;
1: + unsigned char cyl;
1: + unsigned char sys_ind;
1: + unsigned char end_head;
1: + unsigned char end_sector;
1: + unsigned char end_cyl;
1: + __le32 start_sect;
1: + __le32 nr_sects;
1: };
1:
1: struct _gpt_header {
1: - __le64 signature;
1: - __le32 revision;
1: - __le32 header_size;
1: - __le32 header_crc32;
1: - __le32 reserved1;
1: - __le64 my_lba;
1: - __le64 alternate_lba;
1: - __le64 first_usable_lba;
1: - __le64 last_usable_lba;
1: - efi_guid_t disk_guid;
1: - __le64 partition_entry_lba;
1: - __le32 num_partition_entries;
1: - __le32 sizeof_partition_entry;
1: - __le32 partition_entry_array_crc32;
1: + __le64 signature;
1: + __le32 revision;
1: + __le32 header_size;
1: + __le32 header_crc32;
1: + __le32 reserved1;
1: + __le64 my_lba;
1: + __le64 alternate_lba;
1: + __le64 first_usable_lba;
1: + __le64 last_usable_lba;
1: + efi_guid_t disk_guid;
1: + __le64 partition_entry_lba;
1: + __le32 num_partition_entries;
1: + __le32 sizeof_partition_entry;
1: + __le32 partition_entry_array_crc32;
1: } __attribute__((packed));
1:
1: typedef struct _gpt_header gpt_header;
1:
1: struct _gpt_entry_attributes {
1: - u64 required_to_function: 1;
1: - u64 reserved: 47;
1: - u64 type_guid_specific: 16;
1: + u64 required_to_function : 1;
1: + u64 reserved : 47;
1: + u64 type_guid_specific : 16;
1: };
1:
1: typedef struct _gpt_entry_attributes gpt_entry_attributes;
1:
1: struct _gpt_entry {
1: - efi_guid_t partition_type_guid;
1: - efi_guid_t unique_partition_guid;
1: - __le64 starting_lba;
1: - __le64 ending_lba;
1: - gpt_entry_attributes attributes;
1: - efi_char16_t partition_name[36];
1: + efi_guid_t partition_type_guid;
1: + efi_guid_t unique_partition_guid;
1: + __le64 starting_lba;
1: + __le64 ending_lba;
1: + gpt_entry_attributes attributes;
1: + efi_char16_t partition_name[36];
1: };
1:
1: typedef struct _gpt_entry gpt_entry;
1:
1: struct _gpt_mbr_record {
1: - u8 boot_indicator;
1: - u8 start_head;
1: - u8 start_sector;
1: - u8 start_track;
1: - u8 os_type;
1: - u8 end_head;
1: - u8 end_sector;
1: - u8 end_track;
1: - __le32 starting_lba;
1: - __le32 size_in_lba;
1: + u8 boot_indicator;
1: + u8 start_head;
1: + u8 start_sector;
1: + u8 start_track;
1: + u8 os_type;
1: + u8 end_head;
1: + u8 end_sector;
1: + u8 end_track;
1: + __le32 starting_lba;
1: + __le32 size_in_lba;
1: };
1:
1: typedef struct _gpt_mbr_record gpt_mbr_record;
1:
1: struct _legacy_mbr {
1: - u8 boot_code[440];
1: - __le32 unique_mbr_signature;
1: - __le16 unknown;
1: - gpt_mbr_record partition_record[4];
1: - __le16 signature;
1: + u8 boot_code[440];
1: + __le32 unique_mbr_signature;
1: + __le16 unknown;
1: + gpt_mbr_record partition_record[4];
1: + __le16 signature;
1: } __attribute__((packed));
1:
1: typedef struct _legacy_mbr legacy_mbr;
1:
1: struct rq_wait {
1: - wait_queue_head_t wait;
1: - atomic_t inflight;
1: + wait_queue_head_t wait;
1: + atomic_t inflight;
1: };
1:
1: struct rq_depth {
1: - unsigned int max_depth;
1: - int scale_step;
1: - bool scaled_max;
1: - unsigned int queue_depth;
1: - unsigned int default_depth;
1: + unsigned int max_depth;
1: + int scale_step;
1: + bool scaled_max;
1: + unsigned int queue_depth;
1: + unsigned int default_depth;
1: };
1:
1: typedef bool acquire_inflight_cb_t(struct rq_wait *, void *);
1: @@ -55535,181 +55960,181 @@ typedef bool acquire_inflight_cb_t(struct rq_wait *, void *);
1: typedef void cleanup_cb_t(struct rq_wait *, void *);
1:
1: struct rq_qos_wait_data {
1: - struct wait_queue_entry wq;
1: - struct task_struct *task;
1: - struct rq_wait *rqw;
1: - acquire_inflight_cb_t *cb;
1: - void *private_data;
1: - bool got_token;
1: + struct wait_queue_entry wq;
1: + struct task_struct *task;
1: + struct rq_wait *rqw;
1: + acquire_inflight_cb_t *cb;
1: + void *private_data;
1: + bool got_token;
1: };
1:
1: struct request_sense;
1:
1: struct cdrom_generic_command {
1: - unsigned char cmd[12];
1: - unsigned char *buffer;
1: - unsigned int buflen;
1: - int stat;
1: - struct request_sense *sense;
1: - unsigned char data_direction;
1: - int quiet;
1: - int timeout;
1: - void *reserved[1];
1: + unsigned char cmd[12];
1: + unsigned char *buffer;
1: + unsigned int buflen;
1: + int stat;
1: + struct request_sense *sense;
1: + unsigned char data_direction;
1: + int quiet;
1: + int timeout;
1: + void *reserved[1];
1: };
1:
1: struct request_sense {
1: - __u8 error_code: 7;
1: - __u8 valid: 1;
1: - __u8 segment_number;
1: - __u8 sense_key: 4;
1: - __u8 reserved2: 1;
1: - __u8 ili: 1;
1: - __u8 reserved1: 2;
1: - __u8 information[4];
1: - __u8 add_sense_len;
1: - __u8 command_info[4];
1: - __u8 asc;
1: - __u8 ascq;
1: - __u8 fruc;
1: - __u8 sks[3];
1: - __u8 asb[46];
1: + __u8 error_code : 7;
1: + __u8 valid : 1;
1: + __u8 segment_number;
1: + __u8 sense_key : 4;
1: + __u8 reserved2 : 1;
1: + __u8 ili : 1;
1: + __u8 reserved1 : 2;
1: + __u8 information[4];
1: + __u8 add_sense_len;
1: + __u8 command_info[4];
1: + __u8 asc;
1: + __u8 ascq;
1: + __u8 fruc;
1: + __u8 sks[3];
1: + __u8 asb[46];
1: };
1:
1: struct scsi_ioctl_command {
1: - unsigned int inlen;
1: - unsigned int outlen;
1: - unsigned char data[0];
1: + unsigned int inlen;
1: + unsigned int outlen;
1: + unsigned char data[0];
1: };
1:
1: enum scsi_device_event {
1: - SDEV_EVT_MEDIA_CHANGE = 1,
1: - SDEV_EVT_INQUIRY_CHANGE_REPORTED = 2,
1: - SDEV_EVT_CAPACITY_CHANGE_REPORTED = 3,
1: - SDEV_EVT_SOFT_THRESHOLD_REACHED_REPORTED = 4,
1: - SDEV_EVT_MODE_PARAMETER_CHANGE_REPORTED = 5,
1: - SDEV_EVT_LUN_CHANGE_REPORTED = 6,
1: - SDEV_EVT_ALUA_STATE_CHANGE_REPORTED = 7,
1: - SDEV_EVT_POWER_ON_RESET_OCCURRED = 8,
1: - SDEV_EVT_FIRST = 1,
1: - SDEV_EVT_LAST = 8,
1: - SDEV_EVT_MAXBITS = 9,
1: + SDEV_EVT_MEDIA_CHANGE = 1,
1: + SDEV_EVT_INQUIRY_CHANGE_REPORTED = 2,
1: + SDEV_EVT_CAPACITY_CHANGE_REPORTED = 3,
1: + SDEV_EVT_SOFT_THRESHOLD_REACHED_REPORTED = 4,
1: + SDEV_EVT_MODE_PARAMETER_CHANGE_REPORTED = 5,
1: + SDEV_EVT_LUN_CHANGE_REPORTED = 6,
1: + SDEV_EVT_ALUA_STATE_CHANGE_REPORTED = 7,
1: + SDEV_EVT_POWER_ON_RESET_OCCURRED = 8,
1: + SDEV_EVT_FIRST = 1,
1: + SDEV_EVT_LAST = 8,
1: + SDEV_EVT_MAXBITS = 9,
1: };
1:
1: struct scsi_request {
1: - unsigned char __cmd[16];
1: - unsigned char *cmd;
1: - short unsigned int cmd_len;
1: - int result;
1: - unsigned int sense_len;
1: - unsigned int resid_len;
1: - int retries;
1: - void *sense;
1: + unsigned char __cmd[16];
1: + unsigned char *cmd;
1: + short unsigned int cmd_len;
1: + int result;
1: + unsigned int sense_len;
1: + unsigned int resid_len;
1: + int retries;
1: + void *sense;
1: };
1:
1: struct blk_cmd_filter {
1: - long unsigned int read_ok[4];
1: - long unsigned int write_ok[4];
1: + long unsigned int read_ok[4];
1: + long unsigned int write_ok[4];
1: };
1:
1: struct sg_io_hdr {
1: - int interface_id;
1: - int dxfer_direction;
1: - unsigned char cmd_len;
1: - unsigned char mx_sb_len;
1: - short unsigned int iovec_count;
1: - unsigned int dxfer_len;
1: - void *dxferp;
1: - unsigned char *cmdp;
1: - void *sbp;
1: - unsigned int timeout;
1: - unsigned int flags;
1: - int pack_id;
1: - void *usr_ptr;
1: - unsigned char status;
1: - unsigned char masked_status;
1: - unsigned char msg_status;
1: - unsigned char sb_len_wr;
1: - short unsigned int host_status;
1: - short unsigned int driver_status;
1: - int resid;
1: - unsigned int duration;
1: - unsigned int info;
1: + int interface_id;
1: + int dxfer_direction;
1: + unsigned char cmd_len;
1: + unsigned char mx_sb_len;
1: + short unsigned int iovec_count;
1: + unsigned int dxfer_len;
1: + void *dxferp;
1: + unsigned char *cmdp;
1: + void *sbp;
1: + unsigned int timeout;
1: + unsigned int flags;
1: + int pack_id;
1: + void *usr_ptr;
1: + unsigned char status;
1: + unsigned char masked_status;
1: + unsigned char msg_status;
1: + unsigned char sb_len_wr;
1: + short unsigned int host_status;
1: + short unsigned int driver_status;
1: + int resid;
1: + unsigned int duration;
1: + unsigned int info;
1: };
1:
1: struct compat_sg_io_hdr {
1: - compat_int_t interface_id;
1: - compat_int_t dxfer_direction;
1: - unsigned char cmd_len;
1: - unsigned char mx_sb_len;
1: - short unsigned int iovec_count;
1: - compat_uint_t dxfer_len;
1: - compat_uint_t dxferp;
1: - compat_uptr_t cmdp;
1: - compat_uptr_t sbp;
1: - compat_uint_t timeout;
1: - compat_uint_t flags;
1: - compat_int_t pack_id;
1: - compat_uptr_t usr_ptr;
1: - unsigned char status;
1: - unsigned char masked_status;
1: - unsigned char msg_status;
1: - unsigned char sb_len_wr;
1: - short unsigned int host_status;
1: - short unsigned int driver_status;
1: - compat_int_t resid;
1: - compat_uint_t duration;
1: - compat_uint_t info;
1: + compat_int_t interface_id;
1: + compat_int_t dxfer_direction;
1: + unsigned char cmd_len;
1: + unsigned char mx_sb_len;
1: + short unsigned int iovec_count;
1: + compat_uint_t dxfer_len;
1: + compat_uint_t dxferp;
1: + compat_uptr_t cmdp;
1: + compat_uptr_t sbp;
1: + compat_uint_t timeout;
1: + compat_uint_t flags;
1: + compat_int_t pack_id;
1: + compat_uptr_t usr_ptr;
1: + unsigned char status;
1: + unsigned char masked_status;
1: + unsigned char msg_status;
1: + unsigned char sb_len_wr;
1: + short unsigned int host_status;
1: + short unsigned int driver_status;
1: + compat_int_t resid;
1: + compat_uint_t duration;
1: + compat_uint_t info;
1: };
1:
1: struct bsg_device {
1: - struct request_queue *queue;
1: - spinlock_t lock;
1: - struct hlist_node dev_list;
1: - refcount_t ref_count;
1: - char name[20];
1: - int max_queue;
1: + struct request_queue *queue;
1: + spinlock_t lock;
1: + struct hlist_node dev_list;
1: + refcount_t ref_count;
1: + char name[20];
1: + int max_queue;
1: };
1:
1: struct deadline_data {
1: - struct rb_root sort_list[2];
1: - struct list_head fifo_list[2];
1: - struct request *next_rq[2];
1: - unsigned int batching;
1: - unsigned int starved;
1: - int fifo_expire[2];
1: - int fifo_batch;
1: - int writes_starved;
1: - int front_merges;
1: - spinlock_t lock;
1: - spinlock_t zone_lock;
1: - struct list_head dispatch;
1: + struct rb_root sort_list[2];
1: + struct list_head fifo_list[2];
1: + struct request *next_rq[2];
1: + unsigned int batching;
1: + unsigned int starved;
1: + int fifo_expire[2];
1: + int fifo_batch;
1: + int writes_starved;
1: + int front_merges;
1: + spinlock_t lock;
1: + spinlock_t zone_lock;
1: + struct list_head dispatch;
1: };
1:
1: struct trace_event_raw_kyber_latency {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - char domain[16];
1: - char type[8];
1: - u8 percentile;
1: - u8 numerator;
1: - u8 denominator;
1: - unsigned int samples;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char domain[16];
1: + char type[8];
1: + u8 percentile;
1: + u8 numerator;
1: + u8 denominator;
1: + unsigned int samples;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_kyber_adjust {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - char domain[16];
1: - unsigned int depth;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char domain[16];
1: + unsigned int depth;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_kyber_throttled {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - char domain[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + char domain[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_kyber_latency {};
1: @@ -55719,119 +56144,119 @@ struct trace_event_data_offsets_kyber_adjust {};
1: struct trace_event_data_offsets_kyber_throttled {};
1:
1: enum {
1: - KYBER_READ = 0,
1: - KYBER_WRITE = 1,
1: - KYBER_DISCARD = 2,
1: - KYBER_OTHER = 3,
1: - KYBER_NUM_DOMAINS = 4,
1: + KYBER_READ = 0,
1: + KYBER_WRITE = 1,
1: + KYBER_DISCARD = 2,
1: + KYBER_OTHER = 3,
1: + KYBER_NUM_DOMAINS = 4,
1: };
1:
1: enum {
1: - KYBER_ASYNC_PERCENT = 75,
1: + KYBER_ASYNC_PERCENT = 75,
1: };
1:
1: enum {
1: - KYBER_LATENCY_SHIFT = 2,
1: - KYBER_GOOD_BUCKETS = 4,
1: - KYBER_LATENCY_BUCKETS = 8,
1: + KYBER_LATENCY_SHIFT = 2,
1: + KYBER_GOOD_BUCKETS = 4,
1: + KYBER_LATENCY_BUCKETS = 8,
1: };
1:
1: enum {
1: - KYBER_TOTAL_LATENCY = 0,
1: - KYBER_IO_LATENCY = 1,
1: + KYBER_TOTAL_LATENCY = 0,
1: + KYBER_IO_LATENCY = 1,
1: };
1:
1: struct kyber_cpu_latency {
1: - atomic_t buckets[48];
1: + atomic_t buckets[48];
1: };
1:
1: struct kyber_ctx_queue {
1: - spinlock_t lock;
1: - struct list_head rq_list[4];
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + spinlock_t lock;
1: + struct list_head rq_list[4];
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct kyber_queue_data {
1: - struct request_queue *q;
1: - struct sbitmap_queue domain_tokens[4];
1: - unsigned int async_depth;
1: - struct kyber_cpu_latency *cpu_latency;
1: - struct timer_list timer;
1: - unsigned int latency_buckets[48];
1: - long unsigned int latency_timeout[3];
1: - int domain_p99[3];
1: - u64 latency_targets[3];
1: + struct request_queue *q;
1: + struct sbitmap_queue domain_tokens[4];
1: + unsigned int async_depth;
1: + struct kyber_cpu_latency *cpu_latency;
1: + struct timer_list timer;
1: + unsigned int latency_buckets[48];
1: + long unsigned int latency_timeout[3];
1: + int domain_p99[3];
1: + u64 latency_targets[3];
1: };
1:
1: struct kyber_hctx_data {
1: - spinlock_t lock;
1: - struct list_head rqs[4];
1: - unsigned int cur_domain;
1: - unsigned int batching;
1: - struct kyber_ctx_queue *kcqs;
1: - struct sbitmap kcq_map[4];
1: - struct sbq_wait domain_wait[4];
1: - struct sbq_wait_state *domain_ws[4];
1: - atomic_t wait_index[4];
1: + spinlock_t lock;
1: + struct list_head rqs[4];
1: + unsigned int cur_domain;
1: + unsigned int batching;
1: + struct kyber_ctx_queue *kcqs;
1: + struct sbitmap kcq_map[4];
1: + struct sbq_wait domain_wait[4];
1: + struct sbq_wait_state *domain_ws[4];
1: + atomic_t wait_index[4];
1: };
1:
1: struct flush_kcq_data {
1: - struct kyber_hctx_data *khd;
1: - unsigned int sched_domain;
1: - struct list_head *list;
1: + struct kyber_hctx_data *khd;
1: + unsigned int sched_domain;
1: + struct list_head *list;
1: };
1:
1: typedef u32 compat_caddr_t;
1:
1: struct cdrom_read_audio {
1: - union cdrom_addr addr;
1: - __u8 addr_format;
1: - int nframes;
1: - __u8 *buf;
1: + union cdrom_addr addr;
1: + __u8 addr_format;
1: + int nframes;
1: + __u8 *buf;
1: };
1:
1: struct compat_hd_geometry {
1: - unsigned char heads;
1: - unsigned char sectors;
1: - short unsigned int cylinders;
1: - u32 start;
1: + unsigned char heads;
1: + unsigned char sectors;
1: + short unsigned int cylinders;
1: + u32 start;
1: };
1:
1: struct compat_cdrom_read_audio {
1: - union cdrom_addr addr;
1: - u8 addr_format;
1: - compat_int_t nframes;
1: - compat_caddr_t buf;
1: + union cdrom_addr addr;
1: + u8 addr_format;
1: + compat_int_t nframes;
1: + compat_caddr_t buf;
1: };
1:
1: struct compat_cdrom_generic_command {
1: - unsigned char cmd[12];
1: - compat_caddr_t buffer;
1: - compat_uint_t buflen;
1: - compat_int_t stat;
1: - compat_caddr_t sense;
1: - unsigned char data_direction;
1: - compat_int_t quiet;
1: - compat_int_t timeout;
1: - compat_caddr_t reserved[1];
1: + unsigned char cmd[12];
1: + compat_caddr_t buffer;
1: + compat_uint_t buflen;
1: + compat_int_t stat;
1: + compat_caddr_t sense;
1: + unsigned char data_direction;
1: + compat_int_t quiet;
1: + compat_int_t timeout;
1: + compat_caddr_t reserved[1];
1: };
1:
1: struct compat_blkpg_ioctl_arg {
1: - compat_int_t op;
1: - compat_int_t flags;
1: - compat_int_t datalen;
1: - compat_caddr_t data;
1: + compat_int_t op;
1: + compat_int_t flags;
1: + compat_int_t datalen;
1: + compat_caddr_t data;
1: };
1:
1: struct show_busy_params {
1: - struct seq_file *m;
1: - struct blk_mq_hw_ctx *hctx;
1: + struct seq_file *m;
1: + struct blk_mq_hw_ctx *hctx;
1: };
1:
1: typedef int (*cmp_r_func_t)(const void *, const void *, const void *);
1: @@ -55841,16 +56266,16 @@ typedef __kernel_long_t __kernel_ptrdiff_t;
1: typedef __kernel_ptrdiff_t ptrdiff_t;
1:
1: struct region {
1: - unsigned int start;
1: - unsigned int off;
1: - unsigned int group_len;
1: - unsigned int end;
1: + unsigned int start;
1: + unsigned int off;
1: + unsigned int group_len;
1: + unsigned int end;
1: };
1:
1: enum {
1: - REG_OP_ISFREE = 0,
1: - REG_OP_ALLOC = 1,
1: - REG_OP_RELEASE = 2,
1: + REG_OP_ISFREE = 0,
1: + REG_OP_ALLOC = 1,
1: + REG_OP_RELEASE = 2,
1: };
1:
1: typedef struct scatterlist *sg_alloc_fn(unsigned int, gfp_t);
1: @@ -55858,241 +56283,242 @@ typedef struct scatterlist *sg_alloc_fn(unsigned int, gfp_t);
1: typedef void sg_free_fn(struct scatterlist *, unsigned int);
1:
1: struct sg_page_iter {
1: - struct scatterlist *sg;
1: - unsigned int sg_pgoffset;
1: - unsigned int __nents;
1: - int __pg_advance;
1: + struct scatterlist *sg;
1: + unsigned int sg_pgoffset;
1: + unsigned int __nents;
1: + int __pg_advance;
1: };
1:
1: struct sg_dma_page_iter {
1: - struct sg_page_iter base;
1: + struct sg_page_iter base;
1: };
1:
1: struct sg_mapping_iter {
1: - struct page *page;
1: - void *addr;
1: - size_t length;
1: - size_t consumed;
1: - struct sg_page_iter piter;
1: - unsigned int __offset;
1: - unsigned int __remaining;
1: - unsigned int __flags;
1: + struct page *page;
1: + void *addr;
1: + size_t length;
1: + size_t consumed;
1: + struct sg_page_iter piter;
1: + unsigned int __offset;
1: + unsigned int __remaining;
1: + unsigned int __flags;
1: };
1:
1: -typedef int (*cmp_func)(void *, const struct list_head *, const struct list_head *);
1: +typedef int (*cmp_func)(void *, const struct list_head *,
1: + const struct list_head *);
1:
1: struct __kfifo {
1: - unsigned int in;
1: - unsigned int out;
1: - unsigned int mask;
1: - unsigned int esize;
1: - void *data;
1: + unsigned int in;
1: + unsigned int out;
1: + unsigned int mask;
1: + unsigned int esize;
1: + void *data;
1: };
1:
1: struct rhltable {
1: - struct rhashtable ht;
1: + struct rhashtable ht;
1: };
1:
1: struct rhashtable_walker {
1: - struct list_head list;
1: - struct bucket_table *tbl;
1: + struct list_head list;
1: + struct bucket_table *tbl;
1: };
1:
1: struct rhashtable_iter {
1: - struct rhashtable *ht;
1: - struct rhash_head *p;
1: - struct rhlist_head *list;
1: - struct rhashtable_walker walker;
1: - unsigned int slot;
1: - unsigned int skip;
1: - bool end_of_table;
1: + struct rhashtable *ht;
1: + struct rhash_head *p;
1: + struct rhlist_head *list;
1: + struct rhashtable_walker walker;
1: + unsigned int slot;
1: + unsigned int skip;
1: + bool end_of_table;
1: };
1:
1: union nested_table {
1: - union nested_table *table;
1: - struct rhash_lock_head *bucket;
1: + union nested_table *table;
1: + struct rhash_lock_head *bucket;
1: };
1:
1: struct once_work {
1: - struct work_struct work;
1: - struct static_key_true *key;
1: + struct work_struct work;
1: + struct static_key_true *key;
1: };
1:
1: struct genradix_iter {
1: - size_t offset;
1: - size_t pos;
1: + size_t offset;
1: + size_t pos;
1: };
1:
1: struct genradix_node {
1: - union {
1: - struct genradix_node *children[512];
1: - u8 data[4096];
1: - };
1: + union {
1: + struct genradix_node *children[512];
1: + u8 data[4096];
1: + };
1: };
1:
1: struct reciprocal_value {
1: - u32 m;
1: - u8 sh1;
1: - u8 sh2;
1: + u32 m;
1: + u8 sh1;
1: + u8 sh2;
1: };
1:
1: struct reciprocal_value_adv {
1: - u32 m;
1: - u8 sh;
1: - u8 exp;
1: - bool is_wide_m;
1: + u32 m;
1: + u8 sh;
1: + u8 exp;
1: + bool is_wide_m;
1: };
1:
1: struct arc4_ctx {
1: - u32 S[256];
1: - u32 x;
1: - u32 y;
1: + u32 S[256];
1: + u32 x;
1: + u32 y;
1: };
1:
1: enum devm_ioremap_type {
1: - DEVM_IOREMAP = 0,
1: - DEVM_IOREMAP_NC = 1,
1: - DEVM_IOREMAP_UC = 2,
1: - DEVM_IOREMAP_WC = 3,
1: + DEVM_IOREMAP = 0,
1: + DEVM_IOREMAP_NC = 1,
1: + DEVM_IOREMAP_UC = 2,
1: + DEVM_IOREMAP_WC = 3,
1: };
1:
1: struct pcim_iomap_devres {
1: - void *table[6];
1: + void *table[6];
1: };
1:
1: enum assoc_array_walk_status {
1: - assoc_array_walk_tree_empty = 0,
1: - assoc_array_walk_found_terminal_node = 1,
1: - assoc_array_walk_found_wrong_shortcut = 2,
1: + assoc_array_walk_tree_empty = 0,
1: + assoc_array_walk_found_terminal_node = 1,
1: + assoc_array_walk_found_wrong_shortcut = 2,
1: };
1:
1: struct assoc_array_walk_result {
1: - struct {
1: - struct assoc_array_node *node;
1: - int level;
1: - int slot;
1: - } terminal_node;
1: - struct {
1: - struct assoc_array_shortcut *shortcut;
1: - int level;
1: - int sc_level;
1: - long unsigned int sc_segments;
1: - long unsigned int dissimilarity;
1: - } wrong_shortcut;
1: + struct {
1: + struct assoc_array_node *node;
1: + int level;
1: + int slot;
1: + } terminal_node;
1: + struct {
1: + struct assoc_array_shortcut *shortcut;
1: + int level;
1: + int sc_level;
1: + long unsigned int sc_segments;
1: + long unsigned int dissimilarity;
1: + } wrong_shortcut;
1: };
1:
1: struct assoc_array_delete_collapse_context {
1: - struct assoc_array_node *node;
1: - const void *skip_leaf;
1: - int slot;
1: + struct assoc_array_node *node;
1: + const void *skip_leaf;
1: + int slot;
1: };
1:
1: struct gen_pool_chunk {
1: - struct list_head next_chunk;
1: - atomic_long_t avail;
1: - phys_addr_t phys_addr;
1: - void *owner;
1: - long unsigned int start_addr;
1: - long unsigned int end_addr;
1: - long unsigned int bits[0];
1: + struct list_head next_chunk;
1: + atomic_long_t avail;
1: + phys_addr_t phys_addr;
1: + void *owner;
1: + long unsigned int start_addr;
1: + long unsigned int end_addr;
1: + long unsigned int bits[0];
1: };
1:
1: struct genpool_data_align {
1: - int align;
1: + int align;
1: };
1:
1: struct genpool_data_fixed {
1: - long unsigned int offset;
1: + long unsigned int offset;
1: };
1:
1: typedef struct {
1: - unsigned char op;
1: - unsigned char bits;
1: - short unsigned int val;
1: + unsigned char op;
1: + unsigned char bits;
1: + short unsigned int val;
1: } code;
1:
1: typedef enum {
1: - HEAD = 0,
1: - FLAGS = 1,
1: - TIME = 2,
1: - OS = 3,
1: - EXLEN = 4,
1: - EXTRA = 5,
1: - NAME = 6,
1: - COMMENT = 7,
1: - HCRC = 8,
1: - DICTID = 9,
1: - DICT = 10,
1: - TYPE = 11,
1: - TYPEDO = 12,
1: - STORED = 13,
1: - COPY = 14,
1: - TABLE = 15,
1: - LENLENS = 16,
1: - CODELENS = 17,
1: - LEN = 18,
1: - LENEXT = 19,
1: - DIST = 20,
1: - DISTEXT = 21,
1: - MATCH = 22,
1: - LIT = 23,
1: - CHECK = 24,
1: - LENGTH = 25,
1: - DONE = 26,
1: - BAD = 27,
1: - MEM = 28,
1: - SYNC = 29,
1: + HEAD = 0,
1: + FLAGS = 1,
1: + TIME = 2,
1: + OS = 3,
1: + EXLEN = 4,
1: + EXTRA = 5,
1: + NAME = 6,
1: + COMMENT = 7,
1: + HCRC = 8,
1: + DICTID = 9,
1: + DICT = 10,
1: + TYPE = 11,
1: + TYPEDO = 12,
1: + STORED = 13,
1: + COPY = 14,
1: + TABLE = 15,
1: + LENLENS = 16,
1: + CODELENS = 17,
1: + LEN = 18,
1: + LENEXT = 19,
1: + DIST = 20,
1: + DISTEXT = 21,
1: + MATCH = 22,
1: + LIT = 23,
1: + CHECK = 24,
1: + LENGTH = 25,
1: + DONE = 26,
1: + BAD = 27,
1: + MEM = 28,
1: + SYNC = 29,
1: } inflate_mode;
1:
1: struct inflate_state {
1: - inflate_mode mode;
1: - int last;
1: - int wrap;
1: - int havedict;
1: - int flags;
1: - unsigned int dmax;
1: - long unsigned int check;
1: - long unsigned int total;
1: - unsigned int wbits;
1: - unsigned int wsize;
1: - unsigned int whave;
1: - unsigned int write;
1: - unsigned char *window;
1: - long unsigned int hold;
1: - unsigned int bits;
1: - unsigned int length;
1: - unsigned int offset;
1: - unsigned int extra;
1: - const code *lencode;
1: - const code *distcode;
1: - unsigned int lenbits;
1: - unsigned int distbits;
1: - unsigned int ncode;
1: - unsigned int nlen;
1: - unsigned int ndist;
1: - unsigned int have;
1: - code *next;
1: - short unsigned int lens[320];
1: - short unsigned int work[288];
1: - code codes[2048];
1: + inflate_mode mode;
1: + int last;
1: + int wrap;
1: + int havedict;
1: + int flags;
1: + unsigned int dmax;
1: + long unsigned int check;
1: + long unsigned int total;
1: + unsigned int wbits;
1: + unsigned int wsize;
1: + unsigned int whave;
1: + unsigned int write;
1: + unsigned char *window;
1: + long unsigned int hold;
1: + unsigned int bits;
1: + unsigned int length;
1: + unsigned int offset;
1: + unsigned int extra;
1: + const code *lencode;
1: + const code *distcode;
1: + unsigned int lenbits;
1: + unsigned int distbits;
1: + unsigned int ncode;
1: + unsigned int nlen;
1: + unsigned int ndist;
1: + unsigned int have;
1: + code *next;
1: + short unsigned int lens[320];
1: + short unsigned int work[288];
1: + code codes[2048];
1: };
1:
1: union uu {
1: - short unsigned int us;
1: - unsigned char b[2];
1: + short unsigned int us;
1: + unsigned char b[2];
1: };
1:
1: typedef unsigned int uInt;
1:
1: typedef enum {
1: - CODES = 0,
1: - LENS = 1,
1: - DISTS = 2,
1: + CODES = 0,
1: + LENS = 1,
1: + DISTS = 2,
1: } codetype;
1:
1: struct inflate_workspace {
1: - struct inflate_state inflate_state;
1: - unsigned char working_window[32768];
1: + struct inflate_state inflate_state;
1: + unsigned char working_window[32768];
1: };
1:
1: typedef unsigned char uch;
1: @@ -56102,32 +56528,32 @@ typedef short unsigned int ush;
1: typedef long unsigned int ulg;
1:
1: struct ct_data_s {
1: - union {
1: - ush freq;
1: - ush code;
1: - } fc;
1: - union {
1: - ush dad;
1: - ush len;
1: - } dl;
1: + union {
1: + ush freq;
1: + ush code;
1: + } fc;
1: + union {
1: + ush dad;
1: + ush len;
1: + } dl;
1: };
1:
1: typedef struct ct_data_s ct_data;
1:
1: struct static_tree_desc_s {
1: - const ct_data *static_tree;
1: - const int *extra_bits;
1: - int extra_base;
1: - int elems;
1: - int max_length;
1: + const ct_data *static_tree;
1: + const int *extra_bits;
1: + int extra_base;
1: + int elems;
1: + int max_length;
1: };
1:
1: typedef struct static_tree_desc_s static_tree_desc;
1:
1: struct tree_desc_s {
1: - ct_data *dyn_tree;
1: - int max_code;
1: - static_tree_desc *stat_desc;
1: + ct_data *dyn_tree;
1: + int max_code;
1: + static_tree_desc *stat_desc;
1: };
1:
1: typedef ush Pos;
1: @@ -56135,93 +56561,93 @@ typedef ush Pos;
1: typedef unsigned int IPos;
1:
1: struct deflate_state {
1: - z_streamp strm;
1: - int status;
1: - Byte *pending_buf;
1: - ulg pending_buf_size;
1: - Byte *pending_out;
1: - int pending;
1: - int noheader;
1: - Byte data_type;
1: - Byte method;
1: - int last_flush;
1: - uInt w_size;
1: - uInt w_bits;
1: - uInt w_mask;
1: - Byte *window;
1: - ulg window_size;
1: - Pos *prev;
1: - Pos *head;
1: - uInt ins_h;
1: - uInt hash_size;
1: - uInt hash_bits;
1: - uInt hash_mask;
1: - uInt hash_shift;
1: - long int block_start;
1: - uInt match_length;
1: - IPos prev_match;
1: - int match_available;
1: - uInt strstart;
1: - uInt match_start;
1: - uInt lookahead;
1: - uInt prev_length;
1: - uInt max_chain_length;
1: - uInt max_lazy_match;
1: - int level;
1: - int strategy;
1: - uInt good_match;
1: - int nice_match;
1: - struct ct_data_s dyn_ltree[573];
1: - struct ct_data_s dyn_dtree[61];
1: - struct ct_data_s bl_tree[39];
1: - struct tree_desc_s l_desc;
1: - struct tree_desc_s d_desc;
1: - struct tree_desc_s bl_desc;
1: - ush bl_count[16];
1: - int heap[573];
1: - int heap_len;
1: - int heap_max;
1: - uch depth[573];
1: - uch *l_buf;
1: - uInt lit_bufsize;
1: - uInt last_lit;
1: - ush *d_buf;
1: - ulg opt_len;
1: - ulg static_len;
1: - ulg compressed_len;
1: - uInt matches;
1: - int last_eob_len;
1: - ush bi_buf;
1: - int bi_valid;
1: + z_streamp strm;
1: + int status;
1: + Byte *pending_buf;
1: + ulg pending_buf_size;
1: + Byte *pending_out;
1: + int pending;
1: + int noheader;
1: + Byte data_type;
1: + Byte method;
1: + int last_flush;
1: + uInt w_size;
1: + uInt w_bits;
1: + uInt w_mask;
1: + Byte *window;
1: + ulg window_size;
1: + Pos *prev;
1: + Pos *head;
1: + uInt ins_h;
1: + uInt hash_size;
1: + uInt hash_bits;
1: + uInt hash_mask;
1: + uInt hash_shift;
1: + long int block_start;
1: + uInt match_length;
1: + IPos prev_match;
1: + int match_available;
1: + uInt strstart;
1: + uInt match_start;
1: + uInt lookahead;
1: + uInt prev_length;
1: + uInt max_chain_length;
1: + uInt max_lazy_match;
1: + int level;
1: + int strategy;
1: + uInt good_match;
1: + int nice_match;
1: + struct ct_data_s dyn_ltree[573];
1: + struct ct_data_s dyn_dtree[61];
1: + struct ct_data_s bl_tree[39];
1: + struct tree_desc_s l_desc;
1: + struct tree_desc_s d_desc;
1: + struct tree_desc_s bl_desc;
1: + ush bl_count[16];
1: + int heap[573];
1: + int heap_len;
1: + int heap_max;
1: + uch depth[573];
1: + uch *l_buf;
1: + uInt lit_bufsize;
1: + uInt last_lit;
1: + ush *d_buf;
1: + ulg opt_len;
1: + ulg static_len;
1: + ulg compressed_len;
1: + uInt matches;
1: + int last_eob_len;
1: + ush bi_buf;
1: + int bi_valid;
1: };
1:
1: typedef struct deflate_state deflate_state;
1:
1: struct deflate_workspace {
1: - deflate_state deflate_memory;
1: - Byte *window_memory;
1: - Pos *prev_memory;
1: - Pos *head_memory;
1: - char *overlay_memory;
1: + deflate_state deflate_memory;
1: + Byte *window_memory;
1: + Pos *prev_memory;
1: + Pos *head_memory;
1: + char *overlay_memory;
1: };
1:
1: typedef struct deflate_workspace deflate_workspace;
1:
1: typedef enum {
1: - need_more = 0,
1: - block_done = 1,
1: - finish_started = 2,
1: - finish_done = 3,
1: + need_more = 0,
1: + block_done = 1,
1: + finish_started = 2,
1: + finish_done = 3,
1: } block_state;
1:
1: typedef block_state (*compress_func)(deflate_state *, int);
1:
1: struct config_s {
1: - ush good_length;
1: - ush max_lazy;
1: - ush nice_length;
1: - ush max_chain;
1: - compress_func func;
1: + ush good_length;
1: + ush max_lazy;
1: + ush nice_length;
1: + ush max_chain;
1: + compress_func func;
1: };
1:
1: typedef struct config_s config;
1: @@ -56229,15 +56655,15 @@ typedef struct config_s config;
1: typedef struct tree_desc_s tree_desc;
1:
1: typedef struct {
1: - const uint8_t *externalDict;
1: - size_t extDictSize;
1: - const uint8_t *prefixEnd;
1: - size_t prefixSize;
1: + const uint8_t *externalDict;
1: + size_t extDictSize;
1: + const uint8_t *prefixEnd;
1: + size_t prefixSize;
1: } LZ4_streamDecode_t_internal;
1:
1: typedef union {
1: - long long unsigned int table[4];
1: - LZ4_streamDecode_t_internal internal_donotuse;
1: + long long unsigned int table[4];
1: + LZ4_streamDecode_t_internal internal_donotuse;
1: } LZ4_streamDecode_t;
1:
1: typedef uint8_t BYTE;
1: @@ -56251,61 +56677,61 @@ typedef uint64_t U64;
1: typedef uintptr_t uptrval;
1:
1: typedef enum {
1: - noDict = 0,
1: - withPrefix64k = 1,
1: - usingExtDict = 2,
1: + noDict = 0,
1: + withPrefix64k = 1,
1: + usingExtDict = 2,
1: } dict_directive;
1:
1: typedef enum {
1: - endOnOutputSize = 0,
1: - endOnInputSize = 1,
1: + endOnOutputSize = 0,
1: + endOnInputSize = 1,
1: } endCondition_directive;
1:
1: typedef enum {
1: - decode_full_block = 0,
1: - partial_decode = 1,
1: + decode_full_block = 0,
1: + partial_decode = 1,
1: } earlyEnd_directive;
1:
1: enum xz_mode {
1: - XZ_SINGLE = 0,
1: - XZ_PREALLOC = 1,
1: - XZ_DYNALLOC = 2,
1: + XZ_SINGLE = 0,
1: + XZ_PREALLOC = 1,
1: + XZ_DYNALLOC = 2,
1: };
1:
1: enum xz_ret {
1: - XZ_OK = 0,
1: - XZ_STREAM_END = 1,
1: - XZ_UNSUPPORTED_CHECK = 2,
1: - XZ_MEM_ERROR = 3,
1: - XZ_MEMLIMIT_ERROR = 4,
1: - XZ_FORMAT_ERROR = 5,
1: - XZ_OPTIONS_ERROR = 6,
1: - XZ_DATA_ERROR = 7,
1: - XZ_BUF_ERROR = 8,
1: + XZ_OK = 0,
1: + XZ_STREAM_END = 1,
1: + XZ_UNSUPPORTED_CHECK = 2,
1: + XZ_MEM_ERROR = 3,
1: + XZ_MEMLIMIT_ERROR = 4,
1: + XZ_FORMAT_ERROR = 5,
1: + XZ_OPTIONS_ERROR = 6,
1: + XZ_DATA_ERROR = 7,
1: + XZ_BUF_ERROR = 8,
1: };
1:
1: struct xz_buf {
1: - const uint8_t *in;
1: - size_t in_pos;
1: - size_t in_size;
1: - uint8_t *out;
1: - size_t out_pos;
1: - size_t out_size;
1: + const uint8_t *in;
1: + size_t in_pos;
1: + size_t in_size;
1: + uint8_t *out;
1: + size_t out_pos;
1: + size_t out_size;
1: };
1:
1: typedef uint64_t vli_type;
1:
1: enum xz_check {
1: - XZ_CHECK_NONE = 0,
1: - XZ_CHECK_CRC32 = 1,
1: - XZ_CHECK_CRC64 = 4,
1: - XZ_CHECK_SHA256 = 10,
1: + XZ_CHECK_NONE = 0,
1: + XZ_CHECK_CRC32 = 1,
1: + XZ_CHECK_CRC64 = 4,
1: + XZ_CHECK_SHA256 = 10,
1: };
1:
1: struct xz_dec_hash {
1: - vli_type unpadded;
1: - vli_type uncompressed;
1: - uint32_t crc32;
1: + vli_type unpadded;
1: + vli_type uncompressed;
1: + uint32_t crc32;
1: };
1:
1: struct xz_dec_lzma2;
1: @@ -56313,217 +56739,217 @@ struct xz_dec_lzma2;
1: struct xz_dec_bcj;
1:
1: struct xz_dec {
1: - enum {
1: - SEQ_STREAM_HEADER = 0,
1: - SEQ_BLOCK_START = 1,
1: - SEQ_BLOCK_HEADER = 2,
1: - SEQ_BLOCK_UNCOMPRESS = 3,
1: - SEQ_BLOCK_PADDING = 4,
1: - SEQ_BLOCK_CHECK = 5,
1: - SEQ_INDEX = 6,
1: - SEQ_INDEX_PADDING = 7,
1: - SEQ_INDEX_CRC32 = 8,
1: - SEQ_STREAM_FOOTER = 9,
1: - } sequence;
1: - uint32_t pos;
1: - vli_type vli;
1: - size_t in_start;
1: - size_t out_start;
1: - uint32_t crc32;
1: - enum xz_check check_type;
1: - enum xz_mode mode;
1: - bool allow_buf_error;
1: - struct {
1: - vli_type compressed;
1: - vli_type uncompressed;
1: - uint32_t size;
1: - } block_header;
1: - struct {
1: - vli_type compressed;
1: - vli_type uncompressed;
1: - vli_type count;
1: - struct xz_dec_hash hash;
1: - } block;
1: - struct {
1: - enum {
1: - SEQ_INDEX_COUNT = 0,
1: - SEQ_INDEX_UNPADDED = 1,
1: - SEQ_INDEX_UNCOMPRESSED = 2,
1: - } sequence;
1: - vli_type size;
1: - vli_type count;
1: - struct xz_dec_hash hash;
1: - } index;
1: - struct {
1: - size_t pos;
1: - size_t size;
1: - uint8_t buf[1024];
1: - } temp;
1: - struct xz_dec_lzma2 *lzma2;
1: - struct xz_dec_bcj *bcj;
1: - bool bcj_active;
1: + enum {
1: + SEQ_STREAM_HEADER = 0,
1: + SEQ_BLOCK_START = 1,
1: + SEQ_BLOCK_HEADER = 2,
1: + SEQ_BLOCK_UNCOMPRESS = 3,
1: + SEQ_BLOCK_PADDING = 4,
1: + SEQ_BLOCK_CHECK = 5,
1: + SEQ_INDEX = 6,
1: + SEQ_INDEX_PADDING = 7,
1: + SEQ_INDEX_CRC32 = 8,
1: + SEQ_STREAM_FOOTER = 9,
1: + } sequence;
1: + uint32_t pos;
1: + vli_type vli;
1: + size_t in_start;
1: + size_t out_start;
1: + uint32_t crc32;
1: + enum xz_check check_type;
1: + enum xz_mode mode;
1: + bool allow_buf_error;
1: + struct {
1: + vli_type compressed;
1: + vli_type uncompressed;
1: + uint32_t size;
1: + } block_header;
1: + struct {
1: + vli_type compressed;
1: + vli_type uncompressed;
1: + vli_type count;
1: + struct xz_dec_hash hash;
1: + } block;
1: + struct {
1: + enum {
1: + SEQ_INDEX_COUNT = 0,
1: + SEQ_INDEX_UNPADDED = 1,
1: + SEQ_INDEX_UNCOMPRESSED = 2,
1: + } sequence;
1: + vli_type size;
1: + vli_type count;
1: + struct xz_dec_hash hash;
1: + } index;
1: + struct {
1: + size_t pos;
1: + size_t size;
1: + uint8_t buf[1024];
1: + } temp;
1: + struct xz_dec_lzma2 *lzma2;
1: + struct xz_dec_bcj *bcj;
1: + bool bcj_active;
1: };
1:
1: enum lzma_state {
1: - STATE_LIT_LIT = 0,
1: - STATE_MATCH_LIT_LIT = 1,
1: - STATE_REP_LIT_LIT = 2,
1: - STATE_SHORTREP_LIT_LIT = 3,
1: - STATE_MATCH_LIT = 4,
1: - STATE_REP_LIT = 5,
1: - STATE_SHORTREP_LIT = 6,
1: - STATE_LIT_MATCH = 7,
1: - STATE_LIT_LONGREP = 8,
1: - STATE_LIT_SHORTREP = 9,
1: - STATE_NONLIT_MATCH = 10,
1: - STATE_NONLIT_REP = 11,
1: + STATE_LIT_LIT = 0,
1: + STATE_MATCH_LIT_LIT = 1,
1: + STATE_REP_LIT_LIT = 2,
1: + STATE_SHORTREP_LIT_LIT = 3,
1: + STATE_MATCH_LIT = 4,
1: + STATE_REP_LIT = 5,
1: + STATE_SHORTREP_LIT = 6,
1: + STATE_LIT_MATCH = 7,
1: + STATE_LIT_LONGREP = 8,
1: + STATE_LIT_SHORTREP = 9,
1: + STATE_NONLIT_MATCH = 10,
1: + STATE_NONLIT_REP = 11,
1: };
1:
1: struct dictionary {
1: - uint8_t *buf;
1: - size_t start;
1: - size_t pos;
1: - size_t full;
1: - size_t limit;
1: - size_t end;
1: - uint32_t size;
1: - uint32_t size_max;
1: - uint32_t allocated;
1: - enum xz_mode mode;
1: + uint8_t *buf;
1: + size_t start;
1: + size_t pos;
1: + size_t full;
1: + size_t limit;
1: + size_t end;
1: + uint32_t size;
1: + uint32_t size_max;
1: + uint32_t allocated;
1: + enum xz_mode mode;
1: };
1:
1: struct rc_dec {
1: - uint32_t range;
1: - uint32_t code;
1: - uint32_t init_bytes_left;
1: - const uint8_t *in;
1: - size_t in_pos;
1: - size_t in_limit;
1: + uint32_t range;
1: + uint32_t code;
1: + uint32_t init_bytes_left;
1: + const uint8_t *in;
1: + size_t in_pos;
1: + size_t in_limit;
1: };
1:
1: struct lzma_len_dec {
1: - uint16_t choice;
1: - uint16_t choice2;
1: - uint16_t low[128];
1: - uint16_t mid[128];
1: - uint16_t high[256];
1: + uint16_t choice;
1: + uint16_t choice2;
1: + uint16_t low[128];
1: + uint16_t mid[128];
1: + uint16_t high[256];
1: };
1:
1: struct lzma_dec {
1: - uint32_t rep0;
1: - uint32_t rep1;
1: - uint32_t rep2;
1: - uint32_t rep3;
1: - enum lzma_state state;
1: - uint32_t len;
1: - uint32_t lc;
1: - uint32_t literal_pos_mask;
1: - uint32_t pos_mask;
1: - uint16_t is_match[192];
1: - uint16_t is_rep[12];
1: - uint16_t is_rep0[12];
1: - uint16_t is_rep1[12];
1: - uint16_t is_rep2[12];
1: - uint16_t is_rep0_long[192];
1: - uint16_t dist_slot[256];
1: - uint16_t dist_special[114];
1: - uint16_t dist_align[16];
1: - struct lzma_len_dec match_len_dec;
1: - struct lzma_len_dec rep_len_dec;
1: - uint16_t literal[12288];
1: + uint32_t rep0;
1: + uint32_t rep1;
1: + uint32_t rep2;
1: + uint32_t rep3;
1: + enum lzma_state state;
1: + uint32_t len;
1: + uint32_t lc;
1: + uint32_t literal_pos_mask;
1: + uint32_t pos_mask;
1: + uint16_t is_match[192];
1: + uint16_t is_rep[12];
1: + uint16_t is_rep0[12];
1: + uint16_t is_rep1[12];
1: + uint16_t is_rep2[12];
1: + uint16_t is_rep0_long[192];
1: + uint16_t dist_slot[256];
1: + uint16_t dist_special[114];
1: + uint16_t dist_align[16];
1: + struct lzma_len_dec match_len_dec;
1: + struct lzma_len_dec rep_len_dec;
1: + uint16_t literal[12288];
1: };
1:
1: enum lzma2_seq {
1: - SEQ_CONTROL = 0,
1: - SEQ_UNCOMPRESSED_1 = 1,
1: - SEQ_UNCOMPRESSED_2 = 2,
1: - SEQ_COMPRESSED_0 = 3,
1: - SEQ_COMPRESSED_1 = 4,
1: - SEQ_PROPERTIES = 5,
1: - SEQ_LZMA_PREPARE = 6,
1: - SEQ_LZMA_RUN = 7,
1: - SEQ_COPY = 8,
1: + SEQ_CONTROL = 0,
1: + SEQ_UNCOMPRESSED_1 = 1,
1: + SEQ_UNCOMPRESSED_2 = 2,
1: + SEQ_COMPRESSED_0 = 3,
1: + SEQ_COMPRESSED_1 = 4,
1: + SEQ_PROPERTIES = 5,
1: + SEQ_LZMA_PREPARE = 6,
1: + SEQ_LZMA_RUN = 7,
1: + SEQ_COPY = 8,
1: };
1:
1: struct lzma2_dec {
1: - enum lzma2_seq sequence;
1: - enum lzma2_seq next_sequence;
1: - uint32_t uncompressed;
1: - uint32_t compressed;
1: - bool need_dict_reset;
1: - bool need_props;
1: + enum lzma2_seq sequence;
1: + enum lzma2_seq next_sequence;
1: + uint32_t uncompressed;
1: + uint32_t compressed;
1: + bool need_dict_reset;
1: + bool need_props;
1: };
1:
1: struct xz_dec_lzma2___2 {
1: - struct rc_dec rc;
1: - struct dictionary dict;
1: - struct lzma2_dec lzma2;
1: - struct lzma_dec lzma;
1: - struct {
1: - uint32_t size;
1: - uint8_t buf[63];
1: - } temp;
1: + struct rc_dec rc;
1: + struct dictionary dict;
1: + struct lzma2_dec lzma2;
1: + struct lzma_dec lzma;
1: + struct {
1: + uint32_t size;
1: + uint8_t buf[63];
1: + } temp;
1: };
1:
1: struct xz_dec_bcj___2 {
1: - enum {
1: - BCJ_X86 = 4,
1: - BCJ_POWERPC = 5,
1: - BCJ_IA64 = 6,
1: - BCJ_ARM = 7,
1: - BCJ_ARMTHUMB = 8,
1: - BCJ_SPARC = 9,
1: - } type;
1: - enum xz_ret ret;
1: - bool single_call;
1: - uint32_t pos;
1: - uint32_t x86_prev_mask;
1: - uint8_t *out;
1: - size_t out_pos;
1: - size_t out_size;
1: - struct {
1: - size_t filtered;
1: - size_t size;
1: - uint8_t buf[16];
1: - } temp;
1: + enum {
1: + BCJ_X86 = 4,
1: + BCJ_POWERPC = 5,
1: + BCJ_IA64 = 6,
1: + BCJ_ARM = 7,
1: + BCJ_ARMTHUMB = 8,
1: + BCJ_SPARC = 9,
1: + } type;
1: + enum xz_ret ret;
1: + bool single_call;
1: + uint32_t pos;
1: + uint32_t x86_prev_mask;
1: + uint8_t *out;
1: + size_t out_pos;
1: + size_t out_size;
1: + struct {
1: + size_t filtered;
1: + size_t size;
1: + uint8_t buf[16];
1: + } temp;
1: };
1:
1: struct ei_entry {
1: - struct list_head list;
1: - long unsigned int start_addr;
1: - long unsigned int end_addr;
1: - int etype;
1: - void *priv;
1: + struct list_head list;
1: + long unsigned int start_addr;
1: + long unsigned int end_addr;
1: + int etype;
1: + void *priv;
1: };
1:
1: struct nla_bitfield32 {
1: - __u32 value;
1: - __u32 selector;
1: + __u32 value;
1: + __u32 selector;
1: };
1:
1: enum nla_policy_validation {
1: - NLA_VALIDATE_NONE = 0,
1: - NLA_VALIDATE_RANGE = 1,
1: - NLA_VALIDATE_MIN = 2,
1: - NLA_VALIDATE_MAX = 3,
1: - NLA_VALIDATE_FUNCTION = 4,
1: + NLA_VALIDATE_NONE = 0,
1: + NLA_VALIDATE_RANGE = 1,
1: + NLA_VALIDATE_MIN = 2,
1: + NLA_VALIDATE_MAX = 3,
1: + NLA_VALIDATE_FUNCTION = 4,
1: };
1:
1: struct cpu_rmap {
1: - struct kref refcount;
1: - u16 size;
1: - u16 used;
1: - void **obj;
1: - struct {
1: - u16 index;
1: - u16 dist;
1: - } near[0];
1: + struct kref refcount;
1: + u16 size;
1: + u16 used;
1: + void **obj;
1: + struct {
1: + u16 index;
1: + u16 dist;
1: + } near[0];
1: };
1:
1: struct irq_glue {
1: - struct irq_affinity_notify notify;
1: - struct cpu_rmap *rmap;
1: - u16 index;
1: + struct irq_affinity_notify notify;
1: + struct cpu_rmap *rmap;
1: + u16 index;
1: };
1:
1: typedef mpi_limb_t *mpi_ptr_t;
1: @@ -56535,1184 +56961,1186 @@ typedef mpi_limb_t UWtype;
1: typedef unsigned int UHWtype;
1:
1: struct karatsuba_ctx {
1: - struct karatsuba_ctx *next;
1: - mpi_ptr_t tspace;
1: - mpi_size_t tspace_size;
1: - mpi_ptr_t tp;
1: - mpi_size_t tp_size;
1: + struct karatsuba_ctx *next;
1: + mpi_ptr_t tspace;
1: + mpi_size_t tspace_size;
1: + mpi_ptr_t tp;
1: + mpi_size_t tp_size;
1: };
1:
1: typedef long int mpi_limb_signed_t;
1:
1: struct sg_pool {
1: - size_t size;
1: - char *name;
1: - struct kmem_cache *slab;
1: - mempool_t *pool;
1: + size_t size;
1: + char *name;
1: + struct kmem_cache *slab;
1: + mempool_t *pool;
1: };
1:
1: struct font_desc {
1: - int idx;
1: - const char *name;
1: - int width;
1: - int height;
1: - const void *data;
1: - int pref;
1: + int idx;
1: + const char *name;
1: + int width;
1: + int height;
1: + const void *data;
1: + int pref;
1: };
1:
1: struct msr {
1: - union {
1: - struct {
1: - u32 l;
1: - u32 h;
1: - };
1: - u64 q;
1: - };
1: + union {
1: + struct {
1: + u32 l;
1: + u32 h;
1: + };
1: + u64 q;
1: + };
1: };
1:
1: struct msr_info {
1: - u32 msr_no;
1: - struct msr reg;
1: - struct msr *msrs;
1: - int err;
1: + u32 msr_no;
1: + struct msr reg;
1: + struct msr *msrs;
1: + int err;
1: };
1:
1: struct msr_regs_info {
1: - u32 *regs;
1: - int err;
1: + u32 *regs;
1: + int err;
1: };
1:
1: struct msr_info_completion {
1: - struct msr_info msr;
1: - struct completion done;
1: + struct msr_info msr;
1: + struct completion done;
1: };
1:
1: struct trace_event_raw_msr_trace_class {
1: - struct trace_entry ent;
1: - unsigned int msr;
1: - u64 val;
1: - int failed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int msr;
1: + u64 val;
1: + int failed;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_msr_trace_class {};
1:
1: struct pci_sriov {
1: - int pos;
1: - int nres;
1: - u32 cap;
1: - u16 ctrl;
1: - u16 total_VFs;
1: - u16 initial_VFs;
1: - u16 num_VFs;
1: - u16 offset;
1: - u16 stride;
1: - u16 vf_device;
1: - u32 pgsz;
1: - u8 link;
1: - u8 max_VF_buses;
1: - u16 driver_max_VFs;
1: - struct pci_dev *dev;
1: - struct pci_dev *self;
1: - u32 class;
1: - u8 hdr_type;
1: - u16 subsystem_vendor;
1: - u16 subsystem_device;
1: - resource_size_t barsz[6];
1: - bool drivers_autoprobe;
1: + int pos;
1: + int nres;
1: + u32 cap;
1: + u16 ctrl;
1: + u16 total_VFs;
1: + u16 initial_VFs;
1: + u16 num_VFs;
1: + u16 offset;
1: + u16 stride;
1: + u16 vf_device;
1: + u32 pgsz;
1: + u8 link;
1: + u8 max_VF_buses;
1: + u16 driver_max_VFs;
1: + struct pci_dev *dev;
1: + struct pci_dev *self;
1: + u32 class;
1: + u8 hdr_type;
1: + u16 subsystem_vendor;
1: + u16 subsystem_device;
1: + resource_size_t barsz[6];
1: + bool drivers_autoprobe;
1: };
1:
1: struct pci_bus_resource {
1: - struct list_head list;
1: - struct resource *res;
1: - unsigned int flags;
1: + struct list_head list;
1: + struct resource *res;
1: + unsigned int flags;
1: };
1:
1: typedef u64 pci_bus_addr_t;
1:
1: struct pci_bus_region {
1: - pci_bus_addr_t start;
1: - pci_bus_addr_t end;
1: + pci_bus_addr_t start;
1: + pci_bus_addr_t end;
1: };
1:
1: enum pci_fixup_pass {
1: - pci_fixup_early = 0,
1: - pci_fixup_header = 1,
1: - pci_fixup_final = 2,
1: - pci_fixup_enable = 3,
1: - pci_fixup_resume = 4,
1: - pci_fixup_suspend = 5,
1: - pci_fixup_resume_early = 6,
1: - pci_fixup_suspend_late = 7,
1: + pci_fixup_early = 0,
1: + pci_fixup_header = 1,
1: + pci_fixup_final = 2,
1: + pci_fixup_enable = 3,
1: + pci_fixup_resume = 4,
1: + pci_fixup_suspend = 5,
1: + pci_fixup_resume_early = 6,
1: + pci_fixup_suspend_late = 7,
1: };
1:
1: struct hotplug_slot_ops;
1:
1: struct hotplug_slot {
1: - const struct hotplug_slot_ops *ops;
1: - struct list_head slot_list;
1: - struct pci_slot *pci_slot;
1: - struct module *owner;
1: - const char *mod_name;
1: + const struct hotplug_slot_ops *ops;
1: + struct list_head slot_list;
1: + struct pci_slot *pci_slot;
1: + struct module *owner;
1: + const char *mod_name;
1: };
1:
1: enum pci_dev_flags {
1: - PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG = 1,
1: - PCI_DEV_FLAGS_NO_D3 = 2,
1: - PCI_DEV_FLAGS_ASSIGNED = 4,
1: - PCI_DEV_FLAGS_ACS_ENABLED_QUIRK = 8,
1: - PCI_DEV_FLAG_PCIE_BRIDGE_ALIAS = 32,
1: - PCI_DEV_FLAGS_NO_BUS_RESET = 64,
1: - PCI_DEV_FLAGS_NO_PM_RESET = 128,
1: - PCI_DEV_FLAGS_VPD_REF_F0 = 256,
1: - PCI_DEV_FLAGS_BRIDGE_XLATE_ROOT = 512,
1: - PCI_DEV_FLAGS_NO_FLR_RESET = 1024,
1: - PCI_DEV_FLAGS_NO_RELAXED_ORDERING = 2048,
1: + PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG = 1,
1: + PCI_DEV_FLAGS_NO_D3 = 2,
1: + PCI_DEV_FLAGS_ASSIGNED = 4,
1: + PCI_DEV_FLAGS_ACS_ENABLED_QUIRK = 8,
1: + PCI_DEV_FLAG_PCIE_BRIDGE_ALIAS = 32,
1: + PCI_DEV_FLAGS_NO_BUS_RESET = 64,
1: + PCI_DEV_FLAGS_NO_PM_RESET = 128,
1: + PCI_DEV_FLAGS_VPD_REF_F0 = 256,
1: + PCI_DEV_FLAGS_BRIDGE_XLATE_ROOT = 512,
1: + PCI_DEV_FLAGS_NO_FLR_RESET = 1024,
1: + PCI_DEV_FLAGS_NO_RELAXED_ORDERING = 2048,
1: };
1:
1: enum pci_bus_flags {
1: - PCI_BUS_FLAGS_NO_MSI = 1,
1: - PCI_BUS_FLAGS_NO_MMRBC = 2,
1: - PCI_BUS_FLAGS_NO_AERSID = 4,
1: - PCI_BUS_FLAGS_NO_EXTCFG = 8,
1: + PCI_BUS_FLAGS_NO_MSI = 1,
1: + PCI_BUS_FLAGS_NO_MMRBC = 2,
1: + PCI_BUS_FLAGS_NO_AERSID = 4,
1: + PCI_BUS_FLAGS_NO_EXTCFG = 8,
1: };
1:
1: enum pci_bus_speed {
1: - PCI_SPEED_33MHz = 0,
1: - PCI_SPEED_66MHz = 1,
1: - PCI_SPEED_66MHz_PCIX = 2,
1: - PCI_SPEED_100MHz_PCIX = 3,
1: - PCI_SPEED_133MHz_PCIX = 4,
1: - PCI_SPEED_66MHz_PCIX_ECC = 5,
1: - PCI_SPEED_100MHz_PCIX_ECC = 6,
1: - PCI_SPEED_133MHz_PCIX_ECC = 7,
1: - PCI_SPEED_66MHz_PCIX_266 = 9,
1: - PCI_SPEED_100MHz_PCIX_266 = 10,
1: - PCI_SPEED_133MHz_PCIX_266 = 11,
1: - AGP_UNKNOWN = 12,
1: - AGP_1X = 13,
1: - AGP_2X = 14,
1: - AGP_4X = 15,
1: - AGP_8X = 16,
1: - PCI_SPEED_66MHz_PCIX_533 = 17,
1: - PCI_SPEED_100MHz_PCIX_533 = 18,
1: - PCI_SPEED_133MHz_PCIX_533 = 19,
1: - PCIE_SPEED_2_5GT = 20,
1: - PCIE_SPEED_5_0GT = 21,
1: - PCIE_SPEED_8_0GT = 22,
1: - PCIE_SPEED_16_0GT = 23,
1: - PCIE_SPEED_32_0GT = 24,
1: - PCI_SPEED_UNKNOWN = 255,
1: + PCI_SPEED_33MHz = 0,
1: + PCI_SPEED_66MHz = 1,
1: + PCI_SPEED_66MHz_PCIX = 2,
1: + PCI_SPEED_100MHz_PCIX = 3,
1: + PCI_SPEED_133MHz_PCIX = 4,
1: + PCI_SPEED_66MHz_PCIX_ECC = 5,
1: + PCI_SPEED_100MHz_PCIX_ECC = 6,
1: + PCI_SPEED_133MHz_PCIX_ECC = 7,
1: + PCI_SPEED_66MHz_PCIX_266 = 9,
1: + PCI_SPEED_100MHz_PCIX_266 = 10,
1: + PCI_SPEED_133MHz_PCIX_266 = 11,
1: + AGP_UNKNOWN = 12,
1: + AGP_1X = 13,
1: + AGP_2X = 14,
1: + AGP_4X = 15,
1: + AGP_8X = 16,
1: + PCI_SPEED_66MHz_PCIX_533 = 17,
1: + PCI_SPEED_100MHz_PCIX_533 = 18,
1: + PCI_SPEED_133MHz_PCIX_533 = 19,
1: + PCIE_SPEED_2_5GT = 20,
1: + PCIE_SPEED_5_0GT = 21,
1: + PCIE_SPEED_8_0GT = 22,
1: + PCIE_SPEED_16_0GT = 23,
1: + PCIE_SPEED_32_0GT = 24,
1: + PCI_SPEED_UNKNOWN = 255,
1: };
1:
1: struct pci_host_bridge {
1: - struct device dev;
1: - struct pci_bus *bus;
1: - struct pci_ops *ops;
1: - void *sysdata;
1: - int busnr;
1: - struct list_head windows;
1: - struct list_head dma_ranges;
1: - u8 (*swizzle_irq)(struct pci_dev *, u8 *);
1: - int (*map_irq)(const struct pci_dev *, u8, u8);
1: - void (*release_fn)(struct pci_host_bridge *);
1: - void *release_data;
1: - struct msi_controller *msi;
1: - unsigned int ignore_reset_delay: 1;
1: - unsigned int no_ext_tags: 1;
1: - unsigned int native_aer: 1;
1: - unsigned int native_pcie_hotplug: 1;
1: - unsigned int native_shpc_hotplug: 1;
1: - unsigned int native_pme: 1;
1: - unsigned int native_ltr: 1;
1: - unsigned int preserve_config: 1;
1: - resource_size_t (*align_resource)(struct pci_dev *, const struct resource *, resource_size_t, resource_size_t, resource_size_t);
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long unsigned int private[0];
1: -};
1: -
1: -enum {
1: - PCI_REASSIGN_ALL_RSRC = 1,
1: - PCI_REASSIGN_ALL_BUS = 2,
1: - PCI_PROBE_ONLY = 4,
1: - PCI_CAN_SKIP_ISA_ALIGN = 8,
1: - PCI_ENABLE_PROC_DOMAINS = 16,
1: - PCI_COMPAT_DOMAIN_0 = 32,
1: - PCI_SCAN_ALL_PCIE_DEVS = 64,
1: + struct device dev;
1: + struct pci_bus *bus;
1: + struct pci_ops *ops;
1: + void *sysdata;
1: + int busnr;
1: + struct list_head windows;
1: + struct list_head dma_ranges;
1: + u8 (*swizzle_irq)(struct pci_dev *, u8 *);
1: + int (*map_irq)(const struct pci_dev *, u8, u8);
1: + void (*release_fn)(struct pci_host_bridge *);
1: + void *release_data;
1: + struct msi_controller *msi;
1: + unsigned int ignore_reset_delay : 1;
1: + unsigned int no_ext_tags : 1;
1: + unsigned int native_aer : 1;
1: + unsigned int native_pcie_hotplug : 1;
1: + unsigned int native_shpc_hotplug : 1;
1: + unsigned int native_pme : 1;
1: + unsigned int native_ltr : 1;
1: + unsigned int preserve_config : 1;
1: + resource_size_t (*align_resource)(struct pci_dev *, const struct resource *,
1: + resource_size_t, resource_size_t,
1: + resource_size_t);
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long unsigned int private[0];
1: +};
1: +
1: +enum {
1: + PCI_REASSIGN_ALL_RSRC = 1,
1: + PCI_REASSIGN_ALL_BUS = 2,
1: + PCI_PROBE_ONLY = 4,
1: + PCI_CAN_SKIP_ISA_ALIGN = 8,
1: + PCI_ENABLE_PROC_DOMAINS = 16,
1: + PCI_COMPAT_DOMAIN_0 = 32,
1: + PCI_SCAN_ALL_PCIE_DEVS = 64,
1: };
1:
1: enum pcie_bus_config_types {
1: - PCIE_BUS_TUNE_OFF = 0,
1: - PCIE_BUS_DEFAULT = 1,
1: - PCIE_BUS_SAFE = 2,
1: - PCIE_BUS_PERFORMANCE = 3,
1: - PCIE_BUS_PEER2PEER = 4,
1: + PCIE_BUS_TUNE_OFF = 0,
1: + PCIE_BUS_DEFAULT = 1,
1: + PCIE_BUS_SAFE = 2,
1: + PCIE_BUS_PERFORMANCE = 3,
1: + PCIE_BUS_PEER2PEER = 4,
1: };
1:
1: struct hotplug_slot_ops {
1: - int (*enable_slot)(struct hotplug_slot *);
1: - int (*disable_slot)(struct hotplug_slot *);
1: - int (*set_attention_status)(struct hotplug_slot *, u8);
1: - int (*hardware_test)(struct hotplug_slot *, u32);
1: - int (*get_power_status)(struct hotplug_slot *, u8 *);
1: - int (*get_attention_status)(struct hotplug_slot *, u8 *);
1: - int (*get_latch_status)(struct hotplug_slot *, u8 *);
1: - int (*get_adapter_status)(struct hotplug_slot *, u8 *);
1: - int (*reset_slot)(struct hotplug_slot *, int);
1: + int (*enable_slot)(struct hotplug_slot *);
1: + int (*disable_slot)(struct hotplug_slot *);
1: + int (*set_attention_status)(struct hotplug_slot *, u8);
1: + int (*hardware_test)(struct hotplug_slot *, u32);
1: + int (*get_power_status)(struct hotplug_slot *, u8 *);
1: + int (*get_attention_status)(struct hotplug_slot *, u8 *);
1: + int (*get_latch_status)(struct hotplug_slot *, u8 *);
1: + int (*get_adapter_status)(struct hotplug_slot *, u8 *);
1: + int (*reset_slot)(struct hotplug_slot *, int);
1: };
1:
1: enum pci_bar_type {
1: - pci_bar_unknown = 0,
1: - pci_bar_io = 1,
1: - pci_bar_mem32 = 2,
1: - pci_bar_mem64 = 3,
1: + pci_bar_unknown = 0,
1: + pci_bar_io = 1,
1: + pci_bar_mem32 = 2,
1: + pci_bar_mem64 = 3,
1: };
1:
1: struct pci_domain_busn_res {
1: - struct list_head list;
1: - struct resource res;
1: - int domain_nr;
1: + struct list_head list;
1: + struct resource res;
1: + int domain_nr;
1: };
1:
1: struct bus_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct bus_type *, char *);
1: - ssize_t (*store)(struct bus_type *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct bus_type *, char *);
1: + ssize_t (*store)(struct bus_type *, const char *, size_t);
1: };
1:
1: enum pcie_reset_state {
1: - pcie_deassert_reset = 1,
1: - pcie_warm_reset = 2,
1: - pcie_hot_reset = 3,
1: + pcie_deassert_reset = 1,
1: + pcie_warm_reset = 2,
1: + pcie_hot_reset = 3,
1: };
1:
1: enum pcie_link_width {
1: - PCIE_LNK_WIDTH_RESRV = 0,
1: - PCIE_LNK_X1 = 1,
1: - PCIE_LNK_X2 = 2,
1: - PCIE_LNK_X4 = 4,
1: - PCIE_LNK_X8 = 8,
1: - PCIE_LNK_X12 = 12,
1: - PCIE_LNK_X16 = 16,
1: - PCIE_LNK_X32 = 32,
1: - PCIE_LNK_WIDTH_UNKNOWN = 255,
1: + PCIE_LNK_WIDTH_RESRV = 0,
1: + PCIE_LNK_X1 = 1,
1: + PCIE_LNK_X2 = 2,
1: + PCIE_LNK_X4 = 4,
1: + PCIE_LNK_X8 = 8,
1: + PCIE_LNK_X12 = 12,
1: + PCIE_LNK_X16 = 16,
1: + PCIE_LNK_X32 = 32,
1: + PCIE_LNK_WIDTH_UNKNOWN = 255,
1: };
1:
1: struct pci_cap_saved_data {
1: - u16 cap_nr;
1: - bool cap_extended;
1: - unsigned int size;
1: - u32 data[0];
1: + u16 cap_nr;
1: + bool cap_extended;
1: + unsigned int size;
1: + u32 data[0];
1: };
1:
1: struct pci_cap_saved_state {
1: - struct hlist_node next;
1: - struct pci_cap_saved_data cap;
1: + struct hlist_node next;
1: + struct pci_cap_saved_data cap;
1: };
1:
1: typedef int (*arch_set_vga_state_t)(struct pci_dev *, bool, unsigned int, u32);
1:
1: struct pci_platform_pm_ops {
1: - bool (*bridge_d3)(struct pci_dev *);
1: - bool (*is_manageable)(struct pci_dev *);
1: - int (*set_state)(struct pci_dev *, pci_power_t);
1: - pci_power_t (*get_state)(struct pci_dev *);
1: - void (*refresh_state)(struct pci_dev *);
1: - pci_power_t (*choose_state)(struct pci_dev *);
1: - int (*set_wakeup)(struct pci_dev *, bool);
1: - bool (*need_resume)(struct pci_dev *);
1: + bool (*bridge_d3)(struct pci_dev *);
1: + bool (*is_manageable)(struct pci_dev *);
1: + int (*set_state)(struct pci_dev *, pci_power_t);
1: + pci_power_t (*get_state)(struct pci_dev *);
1: + void (*refresh_state)(struct pci_dev *);
1: + pci_power_t (*choose_state)(struct pci_dev *);
1: + int (*set_wakeup)(struct pci_dev *, bool);
1: + bool (*need_resume)(struct pci_dev *);
1: };
1:
1: struct pci_pme_device {
1: - struct list_head list;
1: - struct pci_dev *dev;
1: + struct list_head list;
1: + struct pci_dev *dev;
1: };
1:
1: struct pci_saved_state {
1: - u32 config_space[16];
1: - struct pci_cap_saved_data cap[0];
1: + u32 config_space[16];
1: + struct pci_cap_saved_data cap[0];
1: };
1:
1: struct pci_devres {
1: - unsigned int enabled: 1;
1: - unsigned int pinned: 1;
1: - unsigned int orig_intx: 1;
1: - unsigned int restore_intx: 1;
1: - unsigned int mwi: 1;
1: - u32 region_mask;
1: + unsigned int enabled : 1;
1: + unsigned int pinned : 1;
1: + unsigned int orig_intx : 1;
1: + unsigned int restore_intx : 1;
1: + unsigned int mwi : 1;
1: + u32 region_mask;
1: };
1:
1: struct driver_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct device_driver *, char *);
1: - ssize_t (*store)(struct device_driver *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct device_driver *, char *);
1: + ssize_t (*store)(struct device_driver *, const char *, size_t);
1: };
1:
1: enum pci_ers_result {
1: - PCI_ERS_RESULT_NONE = 1,
1: - PCI_ERS_RESULT_CAN_RECOVER = 2,
1: - PCI_ERS_RESULT_NEED_RESET = 3,
1: - PCI_ERS_RESULT_DISCONNECT = 4,
1: - PCI_ERS_RESULT_RECOVERED = 5,
1: - PCI_ERS_RESULT_NO_AER_DRIVER = 6,
1: + PCI_ERS_RESULT_NONE = 1,
1: + PCI_ERS_RESULT_CAN_RECOVER = 2,
1: + PCI_ERS_RESULT_NEED_RESET = 3,
1: + PCI_ERS_RESULT_DISCONNECT = 4,
1: + PCI_ERS_RESULT_RECOVERED = 5,
1: + PCI_ERS_RESULT_NO_AER_DRIVER = 6,
1: };
1:
1: enum dev_dma_attr {
1: - DEV_DMA_NOT_SUPPORTED = 0,
1: - DEV_DMA_NON_COHERENT = 1,
1: - DEV_DMA_COHERENT = 2,
1: + DEV_DMA_NOT_SUPPORTED = 0,
1: + DEV_DMA_NON_COHERENT = 1,
1: + DEV_DMA_COHERENT = 2,
1: };
1:
1: struct pcie_device {
1: - int irq;
1: - struct pci_dev *port;
1: - u32 service;
1: - void *priv_data;
1: - struct device device;
1: + int irq;
1: + struct pci_dev *port;
1: + u32 service;
1: + void *priv_data;
1: + struct device device;
1: };
1:
1: struct pcie_port_service_driver {
1: - const char *name;
1: - int (*probe)(struct pcie_device *);
1: - void (*remove)(struct pcie_device *);
1: - int (*suspend)(struct pcie_device *);
1: - int (*resume_noirq)(struct pcie_device *);
1: - int (*resume)(struct pcie_device *);
1: - int (*runtime_suspend)(struct pcie_device *);
1: - int (*runtime_resume)(struct pcie_device *);
1: - void (*error_resume)(struct pci_dev *);
1: - pci_ers_result_t (*reset_link)(struct pci_dev *);
1: - int port_type;
1: - u32 service;
1: - struct device_driver driver;
1: + const char *name;
1: + int (*probe)(struct pcie_device *);
1: + void (*remove)(struct pcie_device *);
1: + int (*suspend)(struct pcie_device *);
1: + int (*resume_noirq)(struct pcie_device *);
1: + int (*resume)(struct pcie_device *);
1: + int (*runtime_suspend)(struct pcie_device *);
1: + int (*runtime_resume)(struct pcie_device *);
1: + void (*error_resume)(struct pci_dev *);
1: + pci_ers_result_t (*reset_link)(struct pci_dev *);
1: + int port_type;
1: + u32 service;
1: + struct device_driver driver;
1: };
1:
1: struct pci_dynid {
1: - struct list_head node;
1: - struct pci_device_id id;
1: + struct list_head node;
1: + struct pci_device_id id;
1: };
1:
1: struct drv_dev_and_id {
1: - struct pci_driver *drv;
1: - struct pci_dev *dev;
1: - const struct pci_device_id *id;
1: + struct pci_driver *drv;
1: + struct pci_dev *dev;
1: + const struct pci_device_id *id;
1: };
1:
1: enum pci_mmap_state {
1: - pci_mmap_io = 0,
1: - pci_mmap_mem = 1,
1: + pci_mmap_io = 0,
1: + pci_mmap_mem = 1,
1: };
1:
1: enum pci_mmap_api {
1: - PCI_MMAP_SYSFS = 0,
1: - PCI_MMAP_PROCFS = 1,
1: + PCI_MMAP_SYSFS = 0,
1: + PCI_MMAP_PROCFS = 1,
1: };
1:
1: enum pci_lost_interrupt_reason {
1: - PCI_LOST_IRQ_NO_INFORMATION = 0,
1: - PCI_LOST_IRQ_DISABLE_MSI = 1,
1: - PCI_LOST_IRQ_DISABLE_MSIX = 2,
1: - PCI_LOST_IRQ_DISABLE_ACPI = 3,
1: + PCI_LOST_IRQ_NO_INFORMATION = 0,
1: + PCI_LOST_IRQ_DISABLE_MSI = 1,
1: + PCI_LOST_IRQ_DISABLE_MSIX = 2,
1: + PCI_LOST_IRQ_DISABLE_ACPI = 3,
1: };
1:
1: struct pci_vpd_ops;
1:
1: struct pci_vpd {
1: - const struct pci_vpd_ops *ops;
1: - struct bin_attribute *attr;
1: - struct mutex lock;
1: - unsigned int len;
1: - u16 flag;
1: - u8 cap;
1: - unsigned int busy: 1;
1: - unsigned int valid: 1;
1: + const struct pci_vpd_ops *ops;
1: + struct bin_attribute *attr;
1: + struct mutex lock;
1: + unsigned int len;
1: + u16 flag;
1: + u8 cap;
1: + unsigned int busy : 1;
1: + unsigned int valid : 1;
1: };
1:
1: struct pci_vpd_ops {
1: - ssize_t (*read)(struct pci_dev *, loff_t, size_t, void *);
1: - ssize_t (*write)(struct pci_dev *, loff_t, size_t, const void *);
1: - int (*set_size)(struct pci_dev *, size_t);
1: + ssize_t (*read)(struct pci_dev *, loff_t, size_t, void *);
1: + ssize_t (*write)(struct pci_dev *, loff_t, size_t, const void *);
1: + int (*set_size)(struct pci_dev *, size_t);
1: };
1:
1: struct pci_dev_resource {
1: - struct list_head list;
1: - struct resource *res;
1: - struct pci_dev *dev;
1: - resource_size_t start;
1: - resource_size_t end;
1: - resource_size_t add_size;
1: - resource_size_t min_align;
1: - long unsigned int flags;
1: + struct list_head list;
1: + struct resource *res;
1: + struct pci_dev *dev;
1: + resource_size_t start;
1: + resource_size_t end;
1: + resource_size_t add_size;
1: + resource_size_t min_align;
1: + long unsigned int flags;
1: };
1:
1: enum release_type {
1: - leaf_only = 0,
1: - whole_subtree = 1,
1: + leaf_only = 0,
1: + whole_subtree = 1,
1: };
1:
1: enum enable_type {
1: - undefined = -1,
1: - user_disabled = 0,
1: - auto_disabled = 1,
1: - user_enabled = 2,
1: - auto_enabled = 3,
1: + undefined = -1,
1: + user_disabled = 0,
1: + auto_disabled = 1,
1: + user_enabled = 2,
1: + auto_enabled = 3,
1: };
1:
1: struct portdrv_service_data {
1: - struct pcie_port_service_driver *drv;
1: - struct device *dev;
1: - u32 service;
1: + struct pcie_port_service_driver *drv;
1: + struct device *dev;
1: + u32 service;
1: };
1:
1: typedef int (*pcie_pm_callback_t)(struct pcie_device *);
1:
1: struct aspm_latency {
1: - u32 l0s;
1: - u32 l1;
1: + u32 l0s;
1: + u32 l1;
1: };
1:
1: struct pcie_link_state {
1: - struct pci_dev *pdev;
1: - struct pci_dev *downstream;
1: - struct pcie_link_state *root;
1: - struct pcie_link_state *parent;
1: - struct list_head sibling;
1: - u32 aspm_support: 7;
1: - u32 aspm_enabled: 7;
1: - u32 aspm_capable: 7;
1: - u32 aspm_default: 7;
1: - char: 4;
1: - u32 aspm_disable: 7;
1: - u32 clkpm_capable: 1;
1: - u32 clkpm_enabled: 1;
1: - u32 clkpm_default: 1;
1: - u32 clkpm_disable: 1;
1: - struct aspm_latency latency_up;
1: - struct aspm_latency latency_dw;
1: - struct aspm_latency acceptable[8];
1: - struct {
1: - u32 up_cap_ptr;
1: - u32 dw_cap_ptr;
1: - u32 ctl1;
1: - u32 ctl2;
1: - } l1ss;
1: + struct pci_dev *pdev;
1: + struct pci_dev *downstream;
1: + struct pcie_link_state *root;
1: + struct pcie_link_state *parent;
1: + struct list_head sibling;
1: + u32 aspm_support : 7;
1: + u32 aspm_enabled : 7;
1: + u32 aspm_capable : 7;
1: + u32 aspm_default : 7;
1: + char : 4;
1: + u32 aspm_disable : 7;
1: + u32 clkpm_capable : 1;
1: + u32 clkpm_enabled : 1;
1: + u32 clkpm_default : 1;
1: + u32 clkpm_disable : 1;
1: + struct aspm_latency latency_up;
1: + struct aspm_latency latency_dw;
1: + struct aspm_latency acceptable[8];
1: + struct {
1: + u32 up_cap_ptr;
1: + u32 dw_cap_ptr;
1: + u32 ctl1;
1: + u32 ctl2;
1: + } l1ss;
1: };
1:
1: struct aspm_register_info {
1: - u32 support: 2;
1: - u32 enabled: 2;
1: - u32 latency_encoding_l0s;
1: - u32 latency_encoding_l1;
1: - u32 l1ss_cap_ptr;
1: - u32 l1ss_cap;
1: - u32 l1ss_ctl1;
1: - u32 l1ss_ctl2;
1: + u32 support : 2;
1: + u32 enabled : 2;
1: + u32 latency_encoding_l0s;
1: + u32 latency_encoding_l1;
1: + u32 l1ss_cap_ptr;
1: + u32 l1ss_cap;
1: + u32 l1ss_ctl1;
1: + u32 l1ss_ctl2;
1: };
1:
1: struct aer_stats {
1: - u64 dev_cor_errs[16];
1: - u64 dev_fatal_errs[27];
1: - u64 dev_nonfatal_errs[27];
1: - u64 dev_total_cor_errs;
1: - u64 dev_total_fatal_errs;
1: - u64 dev_total_nonfatal_errs;
1: - u64 rootport_total_cor_errs;
1: - u64 rootport_total_fatal_errs;
1: - u64 rootport_total_nonfatal_errs;
1: + u64 dev_cor_errs[16];
1: + u64 dev_fatal_errs[27];
1: + u64 dev_nonfatal_errs[27];
1: + u64 dev_total_cor_errs;
1: + u64 dev_total_fatal_errs;
1: + u64 dev_total_nonfatal_errs;
1: + u64 rootport_total_cor_errs;
1: + u64 rootport_total_fatal_errs;
1: + u64 rootport_total_nonfatal_errs;
1: };
1:
1: struct aer_header_log_regs {
1: - unsigned int dw0;
1: - unsigned int dw1;
1: - unsigned int dw2;
1: - unsigned int dw3;
1: + unsigned int dw0;
1: + unsigned int dw1;
1: + unsigned int dw2;
1: + unsigned int dw3;
1: };
1:
1: struct aer_err_info {
1: - struct pci_dev *dev[5];
1: - int error_dev_num;
1: - unsigned int id: 16;
1: - unsigned int severity: 2;
1: - unsigned int __pad1: 5;
1: - unsigned int multi_error_valid: 1;
1: - unsigned int first_error: 5;
1: - unsigned int __pad2: 2;
1: - unsigned int tlp_header_valid: 1;
1: - unsigned int status;
1: - unsigned int mask;
1: - struct aer_header_log_regs tlp;
1: + struct pci_dev *dev[5];
1: + int error_dev_num;
1: + unsigned int id : 16;
1: + unsigned int severity : 2;
1: + unsigned int __pad1 : 5;
1: + unsigned int multi_error_valid : 1;
1: + unsigned int first_error : 5;
1: + unsigned int __pad2 : 2;
1: + unsigned int tlp_header_valid : 1;
1: + unsigned int status;
1: + unsigned int mask;
1: + struct aer_header_log_regs tlp;
1: };
1:
1: struct aer_err_source {
1: - unsigned int status;
1: - unsigned int id;
1: + unsigned int status;
1: + unsigned int id;
1: };
1:
1: struct aer_rpc {
1: - struct pci_dev *rpd;
1: - struct {
1: - union {
1: - struct __kfifo kfifo;
1: - struct aer_err_source *type;
1: - const struct aer_err_source *const_type;
1: - char (*rectype)[0];
1: - struct aer_err_source *ptr;
1: - const struct aer_err_source *ptr_const;
1: - };
1: - struct aer_err_source buf[128];
1: - } aer_fifo;
1: + struct pci_dev *rpd;
1: + struct {
1: + union {
1: + struct __kfifo kfifo;
1: + struct aer_err_source *type;
1: + const struct aer_err_source *const_type;
1: + char (*rectype)[0];
1: + struct aer_err_source *ptr;
1: + const struct aer_err_source *ptr_const;
1: + };
1: + struct aer_err_source buf[128];
1: + } aer_fifo;
1: };
1:
1: struct pcie_pme_service_data {
1: - spinlock_t lock;
1: - struct pcie_device *srv;
1: - struct work_struct work;
1: - bool noirq;
1: + spinlock_t lock;
1: + struct pcie_device *srv;
1: + struct work_struct work;
1: + bool noirq;
1: };
1:
1: struct pci_filp_private {
1: - enum pci_mmap_state mmap_state;
1: - int write_combine;
1: + enum pci_mmap_state mmap_state;
1: + int write_combine;
1: };
1:
1: struct pci_slot_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct pci_slot *, char *);
1: - ssize_t (*store)(struct pci_slot *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct pci_slot *, char *);
1: + ssize_t (*store)(struct pci_slot *, const char *, size_t);
1: };
1:
1: struct acpi_bus_type {
1: - struct list_head list;
1: - const char *name;
1: - bool (*match)(struct device *);
1: - struct acpi_device * (*find_companion)(struct device *);
1: - void (*setup)(struct device *);
1: - void (*cleanup)(struct device *);
1: + struct list_head list;
1: + const char *name;
1: + bool (*match)(struct device *);
1: + struct acpi_device *(*find_companion)(struct device *);
1: + void (*setup)(struct device *);
1: + void (*cleanup)(struct device *);
1: };
1:
1: struct acpi_pci_root {
1: - struct acpi_device *device;
1: - struct pci_bus *bus;
1: - u16 segment;
1: - struct resource secondary;
1: - u32 osc_support_set;
1: - u32 osc_control_set;
1: - phys_addr_t mcfg_addr;
1: + struct acpi_device *device;
1: + struct pci_bus *bus;
1: + u16 segment;
1: + struct resource secondary;
1: + u32 osc_support_set;
1: + u32 osc_control_set;
1: + phys_addr_t mcfg_addr;
1: };
1:
1: enum pm_qos_flags_status {
1: - PM_QOS_FLAGS_UNDEFINED = -1,
1: - PM_QOS_FLAGS_NONE = 0,
1: - PM_QOS_FLAGS_SOME = 1,
1: - PM_QOS_FLAGS_ALL = 2,
1: + PM_QOS_FLAGS_UNDEFINED = -1,
1: + PM_QOS_FLAGS_NONE = 0,
1: + PM_QOS_FLAGS_SOME = 1,
1: + PM_QOS_FLAGS_ALL = 2,
1: };
1:
1: struct hpx_type0 {
1: - u32 revision;
1: - u8 cache_line_size;
1: - u8 latency_timer;
1: - u8 enable_serr;
1: - u8 enable_perr;
1: + u32 revision;
1: + u8 cache_line_size;
1: + u8 latency_timer;
1: + u8 enable_serr;
1: + u8 enable_perr;
1: };
1:
1: struct hpx_type1 {
1: - u32 revision;
1: - u8 max_mem_read;
1: - u8 avg_max_split;
1: - u16 tot_max_split;
1: + u32 revision;
1: + u8 max_mem_read;
1: + u8 avg_max_split;
1: + u16 tot_max_split;
1: };
1:
1: struct hpx_type2 {
1: - u32 revision;
1: - u32 unc_err_mask_and;
1: - u32 unc_err_mask_or;
1: - u32 unc_err_sever_and;
1: - u32 unc_err_sever_or;
1: - u32 cor_err_mask_and;
1: - u32 cor_err_mask_or;
1: - u32 adv_err_cap_and;
1: - u32 adv_err_cap_or;
1: - u16 pci_exp_devctl_and;
1: - u16 pci_exp_devctl_or;
1: - u16 pci_exp_lnkctl_and;
1: - u16 pci_exp_lnkctl_or;
1: - u32 sec_unc_err_sever_and;
1: - u32 sec_unc_err_sever_or;
1: - u32 sec_unc_err_mask_and;
1: - u32 sec_unc_err_mask_or;
1: + u32 revision;
1: + u32 unc_err_mask_and;
1: + u32 unc_err_mask_or;
1: + u32 unc_err_sever_and;
1: + u32 unc_err_sever_or;
1: + u32 cor_err_mask_and;
1: + u32 cor_err_mask_or;
1: + u32 adv_err_cap_and;
1: + u32 adv_err_cap_or;
1: + u16 pci_exp_devctl_and;
1: + u16 pci_exp_devctl_or;
1: + u16 pci_exp_lnkctl_and;
1: + u16 pci_exp_lnkctl_or;
1: + u32 sec_unc_err_sever_and;
1: + u32 sec_unc_err_sever_or;
1: + u32 sec_unc_err_mask_and;
1: + u32 sec_unc_err_mask_or;
1: };
1:
1: struct hpx_type3 {
1: - u16 device_type;
1: - u16 function_type;
1: - u16 config_space_location;
1: - u16 pci_exp_cap_id;
1: - u16 pci_exp_cap_ver;
1: - u16 pci_exp_vendor_id;
1: - u16 dvsec_id;
1: - u16 dvsec_rev;
1: - u16 match_offset;
1: - u32 match_mask_and;
1: - u32 match_value;
1: - u16 reg_offset;
1: - u32 reg_mask_and;
1: - u32 reg_mask_or;
1: + u16 device_type;
1: + u16 function_type;
1: + u16 config_space_location;
1: + u16 pci_exp_cap_id;
1: + u16 pci_exp_cap_ver;
1: + u16 pci_exp_vendor_id;
1: + u16 dvsec_id;
1: + u16 dvsec_rev;
1: + u16 match_offset;
1: + u32 match_mask_and;
1: + u32 match_value;
1: + u16 reg_offset;
1: + u32 reg_mask_and;
1: + u32 reg_mask_or;
1: };
1:
1: enum hpx_type3_dev_type {
1: - HPX_TYPE_ENDPOINT = 1,
1: - HPX_TYPE_LEG_END = 2,
1: - HPX_TYPE_RC_END = 4,
1: - HPX_TYPE_RC_EC = 8,
1: - HPX_TYPE_ROOT_PORT = 16,
1: - HPX_TYPE_UPSTREAM = 32,
1: - HPX_TYPE_DOWNSTREAM = 64,
1: - HPX_TYPE_PCI_BRIDGE = 128,
1: - HPX_TYPE_PCIE_BRIDGE = 256,
1: + HPX_TYPE_ENDPOINT = 1,
1: + HPX_TYPE_LEG_END = 2,
1: + HPX_TYPE_RC_END = 4,
1: + HPX_TYPE_RC_EC = 8,
1: + HPX_TYPE_ROOT_PORT = 16,
1: + HPX_TYPE_UPSTREAM = 32,
1: + HPX_TYPE_DOWNSTREAM = 64,
1: + HPX_TYPE_PCI_BRIDGE = 128,
1: + HPX_TYPE_PCIE_BRIDGE = 256,
1: };
1:
1: enum hpx_type3_fn_type {
1: - HPX_FN_NORMAL = 1,
1: - HPX_FN_SRIOV_PHYS = 2,
1: - HPX_FN_SRIOV_VIRT = 4,
1: + HPX_FN_NORMAL = 1,
1: + HPX_FN_SRIOV_PHYS = 2,
1: + HPX_FN_SRIOV_VIRT = 4,
1: };
1:
1: enum hpx_type3_cfg_loc {
1: - HPX_CFG_PCICFG = 0,
1: - HPX_CFG_PCIE_CAP = 1,
1: - HPX_CFG_PCIE_CAP_EXT = 2,
1: - HPX_CFG_VEND_CAP = 3,
1: - HPX_CFG_DVSEC = 4,
1: - HPX_CFG_MAX = 5,
1: + HPX_CFG_PCICFG = 0,
1: + HPX_CFG_PCIE_CAP = 1,
1: + HPX_CFG_PCIE_CAP_EXT = 2,
1: + HPX_CFG_VEND_CAP = 3,
1: + HPX_CFG_DVSEC = 4,
1: + HPX_CFG_MAX = 5,
1: };
1:
1: enum device_link_state {
1: - DL_STATE_NONE = -1,
1: - DL_STATE_DORMANT = 0,
1: - DL_STATE_AVAILABLE = 1,
1: - DL_STATE_CONSUMER_PROBE = 2,
1: - DL_STATE_ACTIVE = 3,
1: - DL_STATE_SUPPLIER_UNBIND = 4,
1: + DL_STATE_NONE = -1,
1: + DL_STATE_DORMANT = 0,
1: + DL_STATE_AVAILABLE = 1,
1: + DL_STATE_CONSUMER_PROBE = 2,
1: + DL_STATE_ACTIVE = 3,
1: + DL_STATE_SUPPLIER_UNBIND = 4,
1: };
1:
1: struct device_link {
1: - struct device *supplier;
1: - struct list_head s_node;
1: - struct device *consumer;
1: - struct list_head c_node;
1: - enum device_link_state status;
1: - u32 flags;
1: - refcount_t rpm_active;
1: - struct kref kref;
1: - struct callback_head callback_head;
1: - bool supplier_preactivated;
1: + struct device *supplier;
1: + struct list_head s_node;
1: + struct device *consumer;
1: + struct list_head c_node;
1: + enum device_link_state status;
1: + u32 flags;
1: + refcount_t rpm_active;
1: + struct kref kref;
1: + struct callback_head callback_head;
1: + bool supplier_preactivated;
1: };
1:
1: enum pci_irq_reroute_variant {
1: - INTEL_IRQ_REROUTE_VARIANT = 1,
1: - MAX_IRQ_REROUTE_VARIANTS = 3,
1: + INTEL_IRQ_REROUTE_VARIANT = 1,
1: + MAX_IRQ_REROUTE_VARIANTS = 3,
1: };
1:
1: struct pci_fixup {
1: - u16 vendor;
1: - u16 device;
1: - u32 class;
1: - unsigned int class_shift;
1: - int hook_offset;
1: -};
1: -
1: -enum {
1: - NVME_REG_CAP = 0,
1: - NVME_REG_VS = 8,
1: - NVME_REG_INTMS = 12,
1: - NVME_REG_INTMC = 16,
1: - NVME_REG_CC = 20,
1: - NVME_REG_CSTS = 28,
1: - NVME_REG_NSSR = 32,
1: - NVME_REG_AQA = 36,
1: - NVME_REG_ASQ = 40,
1: - NVME_REG_ACQ = 48,
1: - NVME_REG_CMBLOC = 56,
1: - NVME_REG_CMBSZ = 60,
1: - NVME_REG_BPINFO = 64,
1: - NVME_REG_BPRSEL = 68,
1: - NVME_REG_BPMBL = 72,
1: - NVME_REG_PMRCAP = 3584,
1: - NVME_REG_PMRCTL = 3588,
1: - NVME_REG_PMRSTS = 3592,
1: - NVME_REG_PMREBS = 3596,
1: - NVME_REG_PMRSWTP = 3600,
1: - NVME_REG_DBS = 4096,
1: -};
1: -
1: -enum {
1: - NVME_CC_ENABLE = 1,
1: - NVME_CC_CSS_NVM = 0,
1: - NVME_CC_EN_SHIFT = 0,
1: - NVME_CC_CSS_SHIFT = 4,
1: - NVME_CC_MPS_SHIFT = 7,
1: - NVME_CC_AMS_SHIFT = 11,
1: - NVME_CC_SHN_SHIFT = 14,
1: - NVME_CC_IOSQES_SHIFT = 16,
1: - NVME_CC_IOCQES_SHIFT = 20,
1: - NVME_CC_AMS_RR = 0,
1: - NVME_CC_AMS_WRRU = 2048,
1: - NVME_CC_AMS_VS = 14336,
1: - NVME_CC_SHN_NONE = 0,
1: - NVME_CC_SHN_NORMAL = 16384,
1: - NVME_CC_SHN_ABRUPT = 32768,
1: - NVME_CC_SHN_MASK = 49152,
1: - NVME_CC_IOSQES = 393216,
1: - NVME_CC_IOCQES = 4194304,
1: - NVME_CSTS_RDY = 1,
1: - NVME_CSTS_CFS = 2,
1: - NVME_CSTS_NSSRO = 16,
1: - NVME_CSTS_PP = 32,
1: - NVME_CSTS_SHST_NORMAL = 0,
1: - NVME_CSTS_SHST_OCCUR = 4,
1: - NVME_CSTS_SHST_CMPLT = 8,
1: - NVME_CSTS_SHST_MASK = 12,
1: -};
1: -
1: -enum {
1: - NVME_AEN_BIT_NS_ATTR = 8,
1: - NVME_AEN_BIT_FW_ACT = 9,
1: - NVME_AEN_BIT_ANA_CHANGE = 11,
1: - NVME_AEN_BIT_DISC_CHANGE = 31,
1: -};
1: -
1: -enum {
1: - SWITCHTEC_GAS_MRPC_OFFSET = 0,
1: - SWITCHTEC_GAS_TOP_CFG_OFFSET = 4096,
1: - SWITCHTEC_GAS_SW_EVENT_OFFSET = 6144,
1: - SWITCHTEC_GAS_SYS_INFO_OFFSET = 8192,
1: - SWITCHTEC_GAS_FLASH_INFO_OFFSET = 8704,
1: - SWITCHTEC_GAS_PART_CFG_OFFSET = 16384,
1: - SWITCHTEC_GAS_NTB_OFFSET = 65536,
1: - SWITCHTEC_GAS_PFF_CSR_OFFSET = 1261568,
1: -};
1: -
1: -enum {
1: - SWITCHTEC_NTB_REG_INFO_OFFSET = 0,
1: - SWITCHTEC_NTB_REG_CTRL_OFFSET = 16384,
1: - SWITCHTEC_NTB_REG_DBMSG_OFFSET = 409600,
1: + u16 vendor;
1: + u16 device;
1: + u32 class;
1: + unsigned int class_shift;
1: + int hook_offset;
1: +};
1: +
1: +enum {
1: + NVME_REG_CAP = 0,
1: + NVME_REG_VS = 8,
1: + NVME_REG_INTMS = 12,
1: + NVME_REG_INTMC = 16,
1: + NVME_REG_CC = 20,
1: + NVME_REG_CSTS = 28,
1: + NVME_REG_NSSR = 32,
1: + NVME_REG_AQA = 36,
1: + NVME_REG_ASQ = 40,
1: + NVME_REG_ACQ = 48,
1: + NVME_REG_CMBLOC = 56,
1: + NVME_REG_CMBSZ = 60,
1: + NVME_REG_BPINFO = 64,
1: + NVME_REG_BPRSEL = 68,
1: + NVME_REG_BPMBL = 72,
1: + NVME_REG_PMRCAP = 3584,
1: + NVME_REG_PMRCTL = 3588,
1: + NVME_REG_PMRSTS = 3592,
1: + NVME_REG_PMREBS = 3596,
1: + NVME_REG_PMRSWTP = 3600,
1: + NVME_REG_DBS = 4096,
1: +};
1: +
1: +enum {
1: + NVME_CC_ENABLE = 1,
1: + NVME_CC_CSS_NVM = 0,
1: + NVME_CC_EN_SHIFT = 0,
1: + NVME_CC_CSS_SHIFT = 4,
1: + NVME_CC_MPS_SHIFT = 7,
1: + NVME_CC_AMS_SHIFT = 11,
1: + NVME_CC_SHN_SHIFT = 14,
1: + NVME_CC_IOSQES_SHIFT = 16,
1: + NVME_CC_IOCQES_SHIFT = 20,
1: + NVME_CC_AMS_RR = 0,
1: + NVME_CC_AMS_WRRU = 2048,
1: + NVME_CC_AMS_VS = 14336,
1: + NVME_CC_SHN_NONE = 0,
1: + NVME_CC_SHN_NORMAL = 16384,
1: + NVME_CC_SHN_ABRUPT = 32768,
1: + NVME_CC_SHN_MASK = 49152,
1: + NVME_CC_IOSQES = 393216,
1: + NVME_CC_IOCQES = 4194304,
1: + NVME_CSTS_RDY = 1,
1: + NVME_CSTS_CFS = 2,
1: + NVME_CSTS_NSSRO = 16,
1: + NVME_CSTS_PP = 32,
1: + NVME_CSTS_SHST_NORMAL = 0,
1: + NVME_CSTS_SHST_OCCUR = 4,
1: + NVME_CSTS_SHST_CMPLT = 8,
1: + NVME_CSTS_SHST_MASK = 12,
1: +};
1: +
1: +enum {
1: + NVME_AEN_BIT_NS_ATTR = 8,
1: + NVME_AEN_BIT_FW_ACT = 9,
1: + NVME_AEN_BIT_ANA_CHANGE = 11,
1: + NVME_AEN_BIT_DISC_CHANGE = 31,
1: +};
1: +
1: +enum {
1: + SWITCHTEC_GAS_MRPC_OFFSET = 0,
1: + SWITCHTEC_GAS_TOP_CFG_OFFSET = 4096,
1: + SWITCHTEC_GAS_SW_EVENT_OFFSET = 6144,
1: + SWITCHTEC_GAS_SYS_INFO_OFFSET = 8192,
1: + SWITCHTEC_GAS_FLASH_INFO_OFFSET = 8704,
1: + SWITCHTEC_GAS_PART_CFG_OFFSET = 16384,
1: + SWITCHTEC_GAS_NTB_OFFSET = 65536,
1: + SWITCHTEC_GAS_PFF_CSR_OFFSET = 1261568,
1: +};
1: +
1: +enum {
1: + SWITCHTEC_NTB_REG_INFO_OFFSET = 0,
1: + SWITCHTEC_NTB_REG_CTRL_OFFSET = 16384,
1: + SWITCHTEC_NTB_REG_DBMSG_OFFSET = 409600,
1: };
1:
1: struct nt_partition_info {
1: - u32 xlink_enabled;
1: - u32 target_part_low;
1: - u32 target_part_high;
1: - u32 reserved;
1: + u32 xlink_enabled;
1: + u32 target_part_low;
1: + u32 target_part_high;
1: + u32 reserved;
1: };
1:
1: struct ntb_info_regs {
1: - u8 partition_count;
1: - u8 partition_id;
1: - u16 reserved1;
1: - u64 ep_map;
1: - u16 requester_id;
1: - u16 reserved2;
1: - u32 reserved3[4];
1: - struct nt_partition_info ntp_info[48];
1: + u8 partition_count;
1: + u8 partition_id;
1: + u16 reserved1;
1: + u64 ep_map;
1: + u16 requester_id;
1: + u16 reserved2;
1: + u32 reserved3[4];
1: + struct nt_partition_info ntp_info[48];
1: } __attribute__((packed));
1:
1: struct ntb_ctrl_regs {
1: - u32 partition_status;
1: - u32 partition_op;
1: - u32 partition_ctrl;
1: - u32 bar_setup;
1: - u32 bar_error;
1: - u16 lut_table_entries;
1: - u16 lut_table_offset;
1: - u32 lut_error;
1: - u16 req_id_table_size;
1: - u16 req_id_table_offset;
1: - u32 req_id_error;
1: - u32 reserved1[7];
1: - struct {
1: - u32 ctl;
1: - u32 win_size;
1: - u64 xlate_addr;
1: - } bar_entry[6];
1: - struct {
1: - u32 win_size;
1: - u32 reserved[3];
1: - } bar_ext_entry[6];
1: - u32 reserved2[192];
1: - u32 req_id_table[512];
1: - u32 reserved3[256];
1: - u64 lut_entry[512];
1: + u32 partition_status;
1: + u32 partition_op;
1: + u32 partition_ctrl;
1: + u32 bar_setup;
1: + u32 bar_error;
1: + u16 lut_table_entries;
1: + u16 lut_table_offset;
1: + u32 lut_error;
1: + u16 req_id_table_size;
1: + u16 req_id_table_offset;
1: + u32 req_id_error;
1: + u32 reserved1[7];
1: + struct {
1: + u32 ctl;
1: + u32 win_size;
1: + u64 xlate_addr;
1: + } bar_entry[6];
1: + struct {
1: + u32 win_size;
1: + u32 reserved[3];
1: + } bar_ext_entry[6];
1: + u32 reserved2[192];
1: + u32 req_id_table[512];
1: + u32 reserved3[256];
1: + u64 lut_entry[512];
1: };
1:
1: struct pci_dev_reset_methods {
1: - u16 vendor;
1: - u16 device;
1: - int (*reset)(struct pci_dev *, int);
1: + u16 vendor;
1: + u16 device;
1: + int (*reset)(struct pci_dev *, int);
1: };
1:
1: struct pci_dev_acs_enabled {
1: - u16 vendor;
1: - u16 device;
1: - int (*acs_enabled)(struct pci_dev *, u16);
1: + u16 vendor;
1: + u16 device;
1: + int (*acs_enabled)(struct pci_dev *, u16);
1: };
1:
1: struct pci_dev_acs_ops {
1: - u16 vendor;
1: - u16 device;
1: - int (*enable_acs)(struct pci_dev *);
1: - int (*disable_acs_redir)(struct pci_dev *);
1: + u16 vendor;
1: + u16 device;
1: + int (*enable_acs)(struct pci_dev *);
1: + int (*disable_acs_redir)(struct pci_dev *);
1: };
1:
1: typedef acpi_status (*acpi_walk_callback)(acpi_handle, u32, void *, void **);
1:
1: struct msix_entry {
1: - u32 vector;
1: - u16 entry;
1: + u32 vector;
1: + u16 entry;
1: };
1:
1: enum dmi_device_type {
1: - DMI_DEV_TYPE_ANY = 0,
1: - DMI_DEV_TYPE_OTHER = 1,
1: - DMI_DEV_TYPE_UNKNOWN = 2,
1: - DMI_DEV_TYPE_VIDEO = 3,
1: - DMI_DEV_TYPE_SCSI = 4,
1: - DMI_DEV_TYPE_ETHERNET = 5,
1: - DMI_DEV_TYPE_TOKENRING = 6,
1: - DMI_DEV_TYPE_SOUND = 7,
1: - DMI_DEV_TYPE_PATA = 8,
1: - DMI_DEV_TYPE_SATA = 9,
1: - DMI_DEV_TYPE_SAS = 10,
1: - DMI_DEV_TYPE_IPMI = -1,
1: - DMI_DEV_TYPE_OEM_STRING = -2,
1: - DMI_DEV_TYPE_DEV_ONBOARD = -3,
1: - DMI_DEV_TYPE_DEV_SLOT = -4,
1: + DMI_DEV_TYPE_ANY = 0,
1: + DMI_DEV_TYPE_OTHER = 1,
1: + DMI_DEV_TYPE_UNKNOWN = 2,
1: + DMI_DEV_TYPE_VIDEO = 3,
1: + DMI_DEV_TYPE_SCSI = 4,
1: + DMI_DEV_TYPE_ETHERNET = 5,
1: + DMI_DEV_TYPE_TOKENRING = 6,
1: + DMI_DEV_TYPE_SOUND = 7,
1: + DMI_DEV_TYPE_PATA = 8,
1: + DMI_DEV_TYPE_SATA = 9,
1: + DMI_DEV_TYPE_SAS = 10,
1: + DMI_DEV_TYPE_IPMI = -1,
1: + DMI_DEV_TYPE_OEM_STRING = -2,
1: + DMI_DEV_TYPE_DEV_ONBOARD = -3,
1: + DMI_DEV_TYPE_DEV_SLOT = -4,
1: };
1:
1: struct dmi_device {
1: - struct list_head list;
1: - int type;
1: - const char *name;
1: - void *device_data;
1: + struct list_head list;
1: + int type;
1: + const char *name;
1: + void *device_data;
1: };
1:
1: struct dmi_dev_onboard {
1: - struct dmi_device dev;
1: - int instance;
1: - int segment;
1: - int bus;
1: - int devfn;
1: + struct dmi_device dev;
1: + int instance;
1: + int segment;
1: + int bus;
1: + int devfn;
1: };
1:
1: enum smbios_attr_enum {
1: - SMBIOS_ATTR_NONE = 0,
1: - SMBIOS_ATTR_LABEL_SHOW = 1,
1: - SMBIOS_ATTR_INSTANCE_SHOW = 2,
1: + SMBIOS_ATTR_NONE = 0,
1: + SMBIOS_ATTR_LABEL_SHOW = 1,
1: + SMBIOS_ATTR_INSTANCE_SHOW = 2,
1: };
1:
1: enum acpi_attr_enum {
1: - ACPI_ATTR_LABEL_SHOW = 0,
1: - ACPI_ATTR_INDEX_SHOW = 1,
1: + ACPI_ATTR_LABEL_SHOW = 0,
1: + ACPI_ATTR_INDEX_SHOW = 1,
1: };
1:
1: enum hdmi_infoframe_type {
1: - HDMI_INFOFRAME_TYPE_VENDOR = 129,
1: - HDMI_INFOFRAME_TYPE_AVI = 130,
1: - HDMI_INFOFRAME_TYPE_SPD = 131,
1: - HDMI_INFOFRAME_TYPE_AUDIO = 132,
1: - HDMI_INFOFRAME_TYPE_DRM = 135,
1: + HDMI_INFOFRAME_TYPE_VENDOR = 129,
1: + HDMI_INFOFRAME_TYPE_AVI = 130,
1: + HDMI_INFOFRAME_TYPE_SPD = 131,
1: + HDMI_INFOFRAME_TYPE_AUDIO = 132,
1: + HDMI_INFOFRAME_TYPE_DRM = 135,
1: };
1:
1: struct hdmi_any_infoframe {
1: - enum hdmi_infoframe_type type;
1: - unsigned char version;
1: - unsigned char length;
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: };
1:
1: enum hdmi_colorspace {
1: - HDMI_COLORSPACE_RGB = 0,
1: - HDMI_COLORSPACE_YUV422 = 1,
1: - HDMI_COLORSPACE_YUV444 = 2,
1: - HDMI_COLORSPACE_YUV420 = 3,
1: - HDMI_COLORSPACE_RESERVED4 = 4,
1: - HDMI_COLORSPACE_RESERVED5 = 5,
1: - HDMI_COLORSPACE_RESERVED6 = 6,
1: - HDMI_COLORSPACE_IDO_DEFINED = 7,
1: + HDMI_COLORSPACE_RGB = 0,
1: + HDMI_COLORSPACE_YUV422 = 1,
1: + HDMI_COLORSPACE_YUV444 = 2,
1: + HDMI_COLORSPACE_YUV420 = 3,
1: + HDMI_COLORSPACE_RESERVED4 = 4,
1: + HDMI_COLORSPACE_RESERVED5 = 5,
1: + HDMI_COLORSPACE_RESERVED6 = 6,
1: + HDMI_COLORSPACE_IDO_DEFINED = 7,
1: };
1:
1: enum hdmi_scan_mode {
1: - HDMI_SCAN_MODE_NONE = 0,
1: - HDMI_SCAN_MODE_OVERSCAN = 1,
1: - HDMI_SCAN_MODE_UNDERSCAN = 2,
1: - HDMI_SCAN_MODE_RESERVED = 3,
1: + HDMI_SCAN_MODE_NONE = 0,
1: + HDMI_SCAN_MODE_OVERSCAN = 1,
1: + HDMI_SCAN_MODE_UNDERSCAN = 2,
1: + HDMI_SCAN_MODE_RESERVED = 3,
1: };
1:
1: enum hdmi_colorimetry {
1: - HDMI_COLORIMETRY_NONE = 0,
1: - HDMI_COLORIMETRY_ITU_601 = 1,
1: - HDMI_COLORIMETRY_ITU_709 = 2,
1: - HDMI_COLORIMETRY_EXTENDED = 3,
1: + HDMI_COLORIMETRY_NONE = 0,
1: + HDMI_COLORIMETRY_ITU_601 = 1,
1: + HDMI_COLORIMETRY_ITU_709 = 2,
1: + HDMI_COLORIMETRY_EXTENDED = 3,
1: };
1:
1: enum hdmi_picture_aspect {
1: - HDMI_PICTURE_ASPECT_NONE = 0,
1: - HDMI_PICTURE_ASPECT_4_3 = 1,
1: - HDMI_PICTURE_ASPECT_16_9 = 2,
1: - HDMI_PICTURE_ASPECT_64_27 = 3,
1: - HDMI_PICTURE_ASPECT_256_135 = 4,
1: - HDMI_PICTURE_ASPECT_RESERVED = 5,
1: + HDMI_PICTURE_ASPECT_NONE = 0,
1: + HDMI_PICTURE_ASPECT_4_3 = 1,
1: + HDMI_PICTURE_ASPECT_16_9 = 2,
1: + HDMI_PICTURE_ASPECT_64_27 = 3,
1: + HDMI_PICTURE_ASPECT_256_135 = 4,
1: + HDMI_PICTURE_ASPECT_RESERVED = 5,
1: };
1:
1: enum hdmi_active_aspect {
1: - HDMI_ACTIVE_ASPECT_16_9_TOP = 2,
1: - HDMI_ACTIVE_ASPECT_14_9_TOP = 3,
1: - HDMI_ACTIVE_ASPECT_16_9_CENTER = 4,
1: - HDMI_ACTIVE_ASPECT_PICTURE = 8,
1: - HDMI_ACTIVE_ASPECT_4_3 = 9,
1: - HDMI_ACTIVE_ASPECT_16_9 = 10,
1: - HDMI_ACTIVE_ASPECT_14_9 = 11,
1: - HDMI_ACTIVE_ASPECT_4_3_SP_14_9 = 13,
1: - HDMI_ACTIVE_ASPECT_16_9_SP_14_9 = 14,
1: - HDMI_ACTIVE_ASPECT_16_9_SP_4_3 = 15,
1: + HDMI_ACTIVE_ASPECT_16_9_TOP = 2,
1: + HDMI_ACTIVE_ASPECT_14_9_TOP = 3,
1: + HDMI_ACTIVE_ASPECT_16_9_CENTER = 4,
1: + HDMI_ACTIVE_ASPECT_PICTURE = 8,
1: + HDMI_ACTIVE_ASPECT_4_3 = 9,
1: + HDMI_ACTIVE_ASPECT_16_9 = 10,
1: + HDMI_ACTIVE_ASPECT_14_9 = 11,
1: + HDMI_ACTIVE_ASPECT_4_3_SP_14_9 = 13,
1: + HDMI_ACTIVE_ASPECT_16_9_SP_14_9 = 14,
1: + HDMI_ACTIVE_ASPECT_16_9_SP_4_3 = 15,
1: };
1:
1: enum hdmi_extended_colorimetry {
1: - HDMI_EXTENDED_COLORIMETRY_XV_YCC_601 = 0,
1: - HDMI_EXTENDED_COLORIMETRY_XV_YCC_709 = 1,
1: - HDMI_EXTENDED_COLORIMETRY_S_YCC_601 = 2,
1: - HDMI_EXTENDED_COLORIMETRY_OPYCC_601 = 3,
1: - HDMI_EXTENDED_COLORIMETRY_OPRGB = 4,
1: - HDMI_EXTENDED_COLORIMETRY_BT2020_CONST_LUM = 5,
1: - HDMI_EXTENDED_COLORIMETRY_BT2020 = 6,
1: - HDMI_EXTENDED_COLORIMETRY_RESERVED = 7,
1: + HDMI_EXTENDED_COLORIMETRY_XV_YCC_601 = 0,
1: + HDMI_EXTENDED_COLORIMETRY_XV_YCC_709 = 1,
1: + HDMI_EXTENDED_COLORIMETRY_S_YCC_601 = 2,
1: + HDMI_EXTENDED_COLORIMETRY_OPYCC_601 = 3,
1: + HDMI_EXTENDED_COLORIMETRY_OPRGB = 4,
1: + HDMI_EXTENDED_COLORIMETRY_BT2020_CONST_LUM = 5,
1: + HDMI_EXTENDED_COLORIMETRY_BT2020 = 6,
1: + HDMI_EXTENDED_COLORIMETRY_RESERVED = 7,
1: };
1:
1: enum hdmi_quantization_range {
1: - HDMI_QUANTIZATION_RANGE_DEFAULT = 0,
1: - HDMI_QUANTIZATION_RANGE_LIMITED = 1,
1: - HDMI_QUANTIZATION_RANGE_FULL = 2,
1: - HDMI_QUANTIZATION_RANGE_RESERVED = 3,
1: + HDMI_QUANTIZATION_RANGE_DEFAULT = 0,
1: + HDMI_QUANTIZATION_RANGE_LIMITED = 1,
1: + HDMI_QUANTIZATION_RANGE_FULL = 2,
1: + HDMI_QUANTIZATION_RANGE_RESERVED = 3,
1: };
1:
1: enum hdmi_nups {
1: - HDMI_NUPS_UNKNOWN = 0,
1: - HDMI_NUPS_HORIZONTAL = 1,
1: - HDMI_NUPS_VERTICAL = 2,
1: - HDMI_NUPS_BOTH = 3,
1: + HDMI_NUPS_UNKNOWN = 0,
1: + HDMI_NUPS_HORIZONTAL = 1,
1: + HDMI_NUPS_VERTICAL = 2,
1: + HDMI_NUPS_BOTH = 3,
1: };
1:
1: enum hdmi_ycc_quantization_range {
1: - HDMI_YCC_QUANTIZATION_RANGE_LIMITED = 0,
1: - HDMI_YCC_QUANTIZATION_RANGE_FULL = 1,
1: + HDMI_YCC_QUANTIZATION_RANGE_LIMITED = 0,
1: + HDMI_YCC_QUANTIZATION_RANGE_FULL = 1,
1: };
1:
1: enum hdmi_content_type {
1: - HDMI_CONTENT_TYPE_GRAPHICS = 0,
1: - HDMI_CONTENT_TYPE_PHOTO = 1,
1: - HDMI_CONTENT_TYPE_CINEMA = 2,
1: - HDMI_CONTENT_TYPE_GAME = 3,
1: + HDMI_CONTENT_TYPE_GRAPHICS = 0,
1: + HDMI_CONTENT_TYPE_PHOTO = 1,
1: + HDMI_CONTENT_TYPE_CINEMA = 2,
1: + HDMI_CONTENT_TYPE_GAME = 3,
1: };
1:
1: enum hdmi_metadata_type {
1: - HDMI_STATIC_METADATA_TYPE1 = 1,
1: + HDMI_STATIC_METADATA_TYPE1 = 1,
1: };
1:
1: enum hdmi_eotf {
1: - HDMI_EOTF_TRADITIONAL_GAMMA_SDR = 0,
1: - HDMI_EOTF_TRADITIONAL_GAMMA_HDR = 1,
1: - HDMI_EOTF_SMPTE_ST2084 = 2,
1: - HDMI_EOTF_BT_2100_HLG = 3,
1: + HDMI_EOTF_TRADITIONAL_GAMMA_SDR = 0,
1: + HDMI_EOTF_TRADITIONAL_GAMMA_HDR = 1,
1: + HDMI_EOTF_SMPTE_ST2084 = 2,
1: + HDMI_EOTF_BT_2100_HLG = 3,
1: };
1:
1: struct hdmi_avi_infoframe {
1: - enum hdmi_infoframe_type type;
1: - unsigned char version;
1: - unsigned char length;
1: - enum hdmi_colorspace colorspace;
1: - enum hdmi_scan_mode scan_mode;
1: - enum hdmi_colorimetry colorimetry;
1: - enum hdmi_picture_aspect picture_aspect;
1: - enum hdmi_active_aspect active_aspect;
1: - bool itc;
1: - enum hdmi_extended_colorimetry extended_colorimetry;
1: - enum hdmi_quantization_range quantization_range;
1: - enum hdmi_nups nups;
1: - unsigned char video_code;
1: - enum hdmi_ycc_quantization_range ycc_quantization_range;
1: - enum hdmi_content_type content_type;
1: - unsigned char pixel_repeat;
1: - short unsigned int top_bar;
1: - short unsigned int bottom_bar;
1: - short unsigned int left_bar;
1: - short unsigned int right_bar;
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + enum hdmi_colorspace colorspace;
1: + enum hdmi_scan_mode scan_mode;
1: + enum hdmi_colorimetry colorimetry;
1: + enum hdmi_picture_aspect picture_aspect;
1: + enum hdmi_active_aspect active_aspect;
1: + bool itc;
1: + enum hdmi_extended_colorimetry extended_colorimetry;
1: + enum hdmi_quantization_range quantization_range;
1: + enum hdmi_nups nups;
1: + unsigned char video_code;
1: + enum hdmi_ycc_quantization_range ycc_quantization_range;
1: + enum hdmi_content_type content_type;
1: + unsigned char pixel_repeat;
1: + short unsigned int top_bar;
1: + short unsigned int bottom_bar;
1: + short unsigned int left_bar;
1: + short unsigned int right_bar;
1: };
1:
1: struct hdmi_drm_infoframe {
1: - enum hdmi_infoframe_type type;
1: - unsigned char version;
1: - unsigned char length;
1: - enum hdmi_eotf eotf;
1: - enum hdmi_metadata_type metadata_type;
1: - struct {
1: - u16 x;
1: - u16 y;
1: - } display_primaries[3];
1: - struct {
1: - u16 x;
1: - u16 y;
1: - } white_point;
1: - u16 max_display_mastering_luminance;
1: - u16 min_display_mastering_luminance;
1: - u16 max_cll;
1: - u16 max_fall;
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + enum hdmi_eotf eotf;
1: + enum hdmi_metadata_type metadata_type;
1: + struct {
1: + u16 x;
1: + u16 y;
1: + } display_primaries[3];
1: + struct {
1: + u16 x;
1: + u16 y;
1: + } white_point;
1: + u16 max_display_mastering_luminance;
1: + u16 min_display_mastering_luminance;
1: + u16 max_cll;
1: + u16 max_fall;
1: };
1:
1: enum hdmi_spd_sdi {
1: - HDMI_SPD_SDI_UNKNOWN = 0,
1: - HDMI_SPD_SDI_DSTB = 1,
1: - HDMI_SPD_SDI_DVDP = 2,
1: - HDMI_SPD_SDI_DVHS = 3,
1: - HDMI_SPD_SDI_HDDVR = 4,
1: - HDMI_SPD_SDI_DVC = 5,
1: - HDMI_SPD_SDI_DSC = 6,
1: - HDMI_SPD_SDI_VCD = 7,
1: - HDMI_SPD_SDI_GAME = 8,
1: - HDMI_SPD_SDI_PC = 9,
1: - HDMI_SPD_SDI_BD = 10,
1: - HDMI_SPD_SDI_SACD = 11,
1: - HDMI_SPD_SDI_HDDVD = 12,
1: - HDMI_SPD_SDI_PMP = 13,
1: + HDMI_SPD_SDI_UNKNOWN = 0,
1: + HDMI_SPD_SDI_DSTB = 1,
1: + HDMI_SPD_SDI_DVDP = 2,
1: + HDMI_SPD_SDI_DVHS = 3,
1: + HDMI_SPD_SDI_HDDVR = 4,
1: + HDMI_SPD_SDI_DVC = 5,
1: + HDMI_SPD_SDI_DSC = 6,
1: + HDMI_SPD_SDI_VCD = 7,
1: + HDMI_SPD_SDI_GAME = 8,
1: + HDMI_SPD_SDI_PC = 9,
1: + HDMI_SPD_SDI_BD = 10,
1: + HDMI_SPD_SDI_SACD = 11,
1: + HDMI_SPD_SDI_HDDVD = 12,
1: + HDMI_SPD_SDI_PMP = 13,
1: };
1:
1: struct hdmi_spd_infoframe {
1: - enum hdmi_infoframe_type type;
1: - unsigned char version;
1: - unsigned char length;
1: - char vendor[8];
1: - char product[16];
1: - enum hdmi_spd_sdi sdi;
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + char vendor[8];
1: + char product[16];
1: + enum hdmi_spd_sdi sdi;
1: };
1:
1: enum hdmi_audio_coding_type {
1: - HDMI_AUDIO_CODING_TYPE_STREAM = 0,
1: - HDMI_AUDIO_CODING_TYPE_PCM = 1,
1: - HDMI_AUDIO_CODING_TYPE_AC3 = 2,
1: - HDMI_AUDIO_CODING_TYPE_MPEG1 = 3,
1: - HDMI_AUDIO_CODING_TYPE_MP3 = 4,
1: - HDMI_AUDIO_CODING_TYPE_MPEG2 = 5,
1: - HDMI_AUDIO_CODING_TYPE_AAC_LC = 6,
1: - HDMI_AUDIO_CODING_TYPE_DTS = 7,
1: - HDMI_AUDIO_CODING_TYPE_ATRAC = 8,
1: - HDMI_AUDIO_CODING_TYPE_DSD = 9,
1: - HDMI_AUDIO_CODING_TYPE_EAC3 = 10,
1: - HDMI_AUDIO_CODING_TYPE_DTS_HD = 11,
1: - HDMI_AUDIO_CODING_TYPE_MLP = 12,
1: - HDMI_AUDIO_CODING_TYPE_DST = 13,
1: - HDMI_AUDIO_CODING_TYPE_WMA_PRO = 14,
1: - HDMI_AUDIO_CODING_TYPE_CXT = 15,
1: + HDMI_AUDIO_CODING_TYPE_STREAM = 0,
1: + HDMI_AUDIO_CODING_TYPE_PCM = 1,
1: + HDMI_AUDIO_CODING_TYPE_AC3 = 2,
1: + HDMI_AUDIO_CODING_TYPE_MPEG1 = 3,
1: + HDMI_AUDIO_CODING_TYPE_MP3 = 4,
1: + HDMI_AUDIO_CODING_TYPE_MPEG2 = 5,
1: + HDMI_AUDIO_CODING_TYPE_AAC_LC = 6,
1: + HDMI_AUDIO_CODING_TYPE_DTS = 7,
1: + HDMI_AUDIO_CODING_TYPE_ATRAC = 8,
1: + HDMI_AUDIO_CODING_TYPE_DSD = 9,
1: + HDMI_AUDIO_CODING_TYPE_EAC3 = 10,
1: + HDMI_AUDIO_CODING_TYPE_DTS_HD = 11,
1: + HDMI_AUDIO_CODING_TYPE_MLP = 12,
1: + HDMI_AUDIO_CODING_TYPE_DST = 13,
1: + HDMI_AUDIO_CODING_TYPE_WMA_PRO = 14,
1: + HDMI_AUDIO_CODING_TYPE_CXT = 15,
1: };
1:
1: enum hdmi_audio_sample_size {
1: - HDMI_AUDIO_SAMPLE_SIZE_STREAM = 0,
1: - HDMI_AUDIO_SAMPLE_SIZE_16 = 1,
1: - HDMI_AUDIO_SAMPLE_SIZE_20 = 2,
1: - HDMI_AUDIO_SAMPLE_SIZE_24 = 3,
1: + HDMI_AUDIO_SAMPLE_SIZE_STREAM = 0,
1: + HDMI_AUDIO_SAMPLE_SIZE_16 = 1,
1: + HDMI_AUDIO_SAMPLE_SIZE_20 = 2,
1: + HDMI_AUDIO_SAMPLE_SIZE_24 = 3,
1: };
1:
1: enum hdmi_audio_sample_frequency {
1: - HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM = 0,
1: - HDMI_AUDIO_SAMPLE_FREQUENCY_32000 = 1,
1: - HDMI_AUDIO_SAMPLE_FREQUENCY_44100 = 2,
1: - HDMI_AUDIO_SAMPLE_FREQUENCY_48000 = 3,
1: - HDMI_AUDIO_SAMPLE_FREQUENCY_88200 = 4,
1: - HDMI_AUDIO_SAMPLE_FREQUENCY_96000 = 5,
1: - HDMI_AUDIO_SAMPLE_FREQUENCY_176400 = 6,
1: - HDMI_AUDIO_SAMPLE_FREQUENCY_192000 = 7,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM = 0,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_32000 = 1,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_44100 = 2,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_48000 = 3,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_88200 = 4,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_96000 = 5,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_176400 = 6,
1: + HDMI_AUDIO_SAMPLE_FREQUENCY_192000 = 7,
1: };
1:
1: enum hdmi_audio_coding_type_ext {
1: - HDMI_AUDIO_CODING_TYPE_EXT_CT = 0,
1: - HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC = 1,
1: - HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC_V2 = 2,
1: - HDMI_AUDIO_CODING_TYPE_EXT_MPEG_SURROUND = 3,
1: - HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC = 4,
1: - HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC_V2 = 5,
1: - HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_AAC_LC = 6,
1: - HDMI_AUDIO_CODING_TYPE_EXT_DRA = 7,
1: - HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC_SURROUND = 8,
1: - HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_AAC_LC_SURROUND = 10,
1: + HDMI_AUDIO_CODING_TYPE_EXT_CT = 0,
1: + HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC = 1,
1: + HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC_V2 = 2,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG_SURROUND = 3,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC = 4,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC_V2 = 5,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_AAC_LC = 6,
1: + HDMI_AUDIO_CODING_TYPE_EXT_DRA = 7,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_HE_AAC_SURROUND = 8,
1: + HDMI_AUDIO_CODING_TYPE_EXT_MPEG4_AAC_LC_SURROUND = 10,
1: };
1:
1: struct hdmi_audio_infoframe {
1: - enum hdmi_infoframe_type type;
1: - unsigned char version;
1: - unsigned char length;
1: - unsigned char channels;
1: - enum hdmi_audio_coding_type coding_type;
1: - enum hdmi_audio_sample_size sample_size;
1: - enum hdmi_audio_sample_frequency sample_frequency;
1: - enum hdmi_audio_coding_type_ext coding_type_ext;
1: - unsigned char channel_allocation;
1: - unsigned char level_shift_value;
1: - bool downmix_inhibit;
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + unsigned char channels;
1: + enum hdmi_audio_coding_type coding_type;
1: + enum hdmi_audio_sample_size sample_size;
1: + enum hdmi_audio_sample_frequency sample_frequency;
1: + enum hdmi_audio_coding_type_ext coding_type_ext;
1: + unsigned char channel_allocation;
1: + unsigned char level_shift_value;
1: + bool downmix_inhibit;
1: };
1:
1: enum hdmi_3d_structure {
1: - HDMI_3D_STRUCTURE_INVALID = -1,
1: - HDMI_3D_STRUCTURE_FRAME_PACKING = 0,
1: - HDMI_3D_STRUCTURE_FIELD_ALTERNATIVE = 1,
1: - HDMI_3D_STRUCTURE_LINE_ALTERNATIVE = 2,
1: - HDMI_3D_STRUCTURE_SIDE_BY_SIDE_FULL = 3,
1: - HDMI_3D_STRUCTURE_L_DEPTH = 4,
1: - HDMI_3D_STRUCTURE_L_DEPTH_GFX_GFX_DEPTH = 5,
1: - HDMI_3D_STRUCTURE_TOP_AND_BOTTOM = 6,
1: - HDMI_3D_STRUCTURE_SIDE_BY_SIDE_HALF = 8,
1: + HDMI_3D_STRUCTURE_INVALID = -1,
1: + HDMI_3D_STRUCTURE_FRAME_PACKING = 0,
1: + HDMI_3D_STRUCTURE_FIELD_ALTERNATIVE = 1,
1: + HDMI_3D_STRUCTURE_LINE_ALTERNATIVE = 2,
1: + HDMI_3D_STRUCTURE_SIDE_BY_SIDE_FULL = 3,
1: + HDMI_3D_STRUCTURE_L_DEPTH = 4,
1: + HDMI_3D_STRUCTURE_L_DEPTH_GFX_GFX_DEPTH = 5,
1: + HDMI_3D_STRUCTURE_TOP_AND_BOTTOM = 6,
1: + HDMI_3D_STRUCTURE_SIDE_BY_SIDE_HALF = 8,
1: };
1:
1: struct hdmi_vendor_infoframe {
1: - enum hdmi_infoframe_type type;
1: - unsigned char version;
1: - unsigned char length;
1: - unsigned int oui;
1: - u8 vic;
1: - enum hdmi_3d_structure s3d_struct;
1: - unsigned int s3d_ext_data;
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + unsigned int oui;
1: + u8 vic;
1: + enum hdmi_3d_structure s3d_struct;
1: + unsigned int s3d_ext_data;
1: };
1:
1: union hdmi_vendor_any_infoframe {
1: - struct {
1: - enum hdmi_infoframe_type type;
1: - unsigned char version;
1: - unsigned char length;
1: - unsigned int oui;
1: - } any;
1: - struct hdmi_vendor_infoframe hdmi;
1: + struct {
1: + enum hdmi_infoframe_type type;
1: + unsigned char version;
1: + unsigned char length;
1: + unsigned int oui;
1: + } any;
1: + struct hdmi_vendor_infoframe hdmi;
1: };
1:
1: union hdmi_infoframe {
1: - struct hdmi_any_infoframe any;
1: - struct hdmi_avi_infoframe avi;
1: - struct hdmi_spd_infoframe spd;
1: - union hdmi_vendor_any_infoframe vendor;
1: - struct hdmi_audio_infoframe audio;
1: - struct hdmi_drm_infoframe drm;
1: + struct hdmi_any_infoframe any;
1: + struct hdmi_avi_infoframe avi;
1: + struct hdmi_spd_infoframe spd;
1: + union hdmi_vendor_any_infoframe vendor;
1: + struct hdmi_audio_infoframe audio;
1: + struct hdmi_drm_infoframe drm;
1: };
1:
1: struct console_font {
1: - unsigned int width;
1: - unsigned int height;
1: - unsigned int charcount;
1: - unsigned char *data;
1: + unsigned int width;
1: + unsigned int height;
1: + unsigned int charcount;
1: + unsigned char *data;
1: };
1:
1: struct vt_mode {
1: - char mode;
1: - char waitv;
1: - short int relsig;
1: - short int acqsig;
1: - short int frsig;
1: + char mode;
1: + char waitv;
1: + short int relsig;
1: + short int acqsig;
1: + short int frsig;
1: };
1:
1: struct uni_pagedir;
1: @@ -57720,323 +58148,323 @@ struct uni_pagedir;
1: struct uni_screen;
1:
1: struct vc_data {
1: - struct tty_port port;
1: - short unsigned int vc_num;
1: - unsigned int vc_cols;
1: - unsigned int vc_rows;
1: - unsigned int vc_size_row;
1: - unsigned int vc_scan_lines;
1: - long unsigned int vc_origin;
1: - long unsigned int vc_scr_end;
1: - long unsigned int vc_visible_origin;
1: - unsigned int vc_top;
1: - unsigned int vc_bottom;
1: - const struct consw *vc_sw;
1: - short unsigned int *vc_screenbuf;
1: - unsigned int vc_screenbuf_size;
1: - unsigned char vc_mode;
1: - unsigned char vc_attr;
1: - unsigned char vc_def_color;
1: - unsigned char vc_color;
1: - unsigned char vc_s_color;
1: - unsigned char vc_ulcolor;
1: - unsigned char vc_itcolor;
1: - unsigned char vc_halfcolor;
1: - unsigned int vc_cursor_type;
1: - short unsigned int vc_complement_mask;
1: - short unsigned int vc_s_complement_mask;
1: - unsigned int vc_x;
1: - unsigned int vc_y;
1: - unsigned int vc_saved_x;
1: - unsigned int vc_saved_y;
1: - long unsigned int vc_pos;
1: - short unsigned int vc_hi_font_mask;
1: - struct console_font vc_font;
1: - short unsigned int vc_video_erase_char;
1: - unsigned int vc_state;
1: - unsigned int vc_npar;
1: - unsigned int vc_par[16];
1: - struct vt_mode vt_mode;
1: - struct pid *vt_pid;
1: - int vt_newvt;
1: - wait_queue_head_t paste_wait;
1: - unsigned int vc_charset: 1;
1: - unsigned int vc_s_charset: 1;
1: - unsigned int vc_disp_ctrl: 1;
1: - unsigned int vc_toggle_meta: 1;
1: - unsigned int vc_decscnm: 1;
1: - unsigned int vc_decom: 1;
1: - unsigned int vc_decawm: 1;
1: - unsigned int vc_deccm: 1;
1: - unsigned int vc_decim: 1;
1: - unsigned int vc_intensity: 2;
1: - unsigned int vc_italic: 1;
1: - unsigned int vc_underline: 1;
1: - unsigned int vc_blink: 1;
1: - unsigned int vc_reverse: 1;
1: - unsigned int vc_s_intensity: 2;
1: - unsigned int vc_s_italic: 1;
1: - unsigned int vc_s_underline: 1;
1: - unsigned int vc_s_blink: 1;
1: - unsigned int vc_s_reverse: 1;
1: - unsigned int vc_priv: 3;
1: - unsigned int vc_need_wrap: 1;
1: - unsigned int vc_can_do_color: 1;
1: - unsigned int vc_report_mouse: 2;
1: - unsigned char vc_utf: 1;
1: - unsigned char vc_utf_count;
1: - int vc_utf_char;
1: - unsigned int vc_tab_stop[8];
1: - unsigned char vc_palette[48];
1: - short unsigned int *vc_translate;
1: - unsigned char vc_G0_charset;
1: - unsigned char vc_G1_charset;
1: - unsigned char vc_saved_G0;
1: - unsigned char vc_saved_G1;
1: - unsigned int vc_resize_user;
1: - unsigned int vc_bell_pitch;
1: - unsigned int vc_bell_duration;
1: - short unsigned int vc_cur_blink_ms;
1: - struct vc_data **vc_display_fg;
1: - struct uni_pagedir *vc_uni_pagedir;
1: - struct uni_pagedir **vc_uni_pagedir_loc;
1: - struct uni_screen *vc_uni_screen;
1: + struct tty_port port;
1: + short unsigned int vc_num;
1: + unsigned int vc_cols;
1: + unsigned int vc_rows;
1: + unsigned int vc_size_row;
1: + unsigned int vc_scan_lines;
1: + long unsigned int vc_origin;
1: + long unsigned int vc_scr_end;
1: + long unsigned int vc_visible_origin;
1: + unsigned int vc_top;
1: + unsigned int vc_bottom;
1: + const struct consw *vc_sw;
1: + short unsigned int *vc_screenbuf;
1: + unsigned int vc_screenbuf_size;
1: + unsigned char vc_mode;
1: + unsigned char vc_attr;
1: + unsigned char vc_def_color;
1: + unsigned char vc_color;
1: + unsigned char vc_s_color;
1: + unsigned char vc_ulcolor;
1: + unsigned char vc_itcolor;
1: + unsigned char vc_halfcolor;
1: + unsigned int vc_cursor_type;
1: + short unsigned int vc_complement_mask;
1: + short unsigned int vc_s_complement_mask;
1: + unsigned int vc_x;
1: + unsigned int vc_y;
1: + unsigned int vc_saved_x;
1: + unsigned int vc_saved_y;
1: + long unsigned int vc_pos;
1: + short unsigned int vc_hi_font_mask;
1: + struct console_font vc_font;
1: + short unsigned int vc_video_erase_char;
1: + unsigned int vc_state;
1: + unsigned int vc_npar;
1: + unsigned int vc_par[16];
1: + struct vt_mode vt_mode;
1: + struct pid *vt_pid;
1: + int vt_newvt;
1: + wait_queue_head_t paste_wait;
1: + unsigned int vc_charset : 1;
1: + unsigned int vc_s_charset : 1;
1: + unsigned int vc_disp_ctrl : 1;
1: + unsigned int vc_toggle_meta : 1;
1: + unsigned int vc_decscnm : 1;
1: + unsigned int vc_decom : 1;
1: + unsigned int vc_decawm : 1;
1: + unsigned int vc_deccm : 1;
1: + unsigned int vc_decim : 1;
1: + unsigned int vc_intensity : 2;
1: + unsigned int vc_italic : 1;
1: + unsigned int vc_underline : 1;
1: + unsigned int vc_blink : 1;
1: + unsigned int vc_reverse : 1;
1: + unsigned int vc_s_intensity : 2;
1: + unsigned int vc_s_italic : 1;
1: + unsigned int vc_s_underline : 1;
1: + unsigned int vc_s_blink : 1;
1: + unsigned int vc_s_reverse : 1;
1: + unsigned int vc_priv : 3;
1: + unsigned int vc_need_wrap : 1;
1: + unsigned int vc_can_do_color : 1;
1: + unsigned int vc_report_mouse : 2;
1: + unsigned char vc_utf : 1;
1: + unsigned char vc_utf_count;
1: + int vc_utf_char;
1: + unsigned int vc_tab_stop[8];
1: + unsigned char vc_palette[48];
1: + short unsigned int *vc_translate;
1: + unsigned char vc_G0_charset;
1: + unsigned char vc_G1_charset;
1: + unsigned char vc_saved_G0;
1: + unsigned char vc_saved_G1;
1: + unsigned int vc_resize_user;
1: + unsigned int vc_bell_pitch;
1: + unsigned int vc_bell_duration;
1: + short unsigned int vc_cur_blink_ms;
1: + struct vc_data **vc_display_fg;
1: + struct uni_pagedir *vc_uni_pagedir;
1: + struct uni_pagedir **vc_uni_pagedir_loc;
1: + struct uni_screen *vc_uni_screen;
1: };
1:
1: struct vc {
1: - struct vc_data *d;
1: - struct work_struct SAK_work;
1: + struct vc_data *d;
1: + struct work_struct SAK_work;
1: };
1:
1: struct vgastate {
1: - void *vgabase;
1: - long unsigned int membase;
1: - __u32 memsize;
1: - __u32 flags;
1: - __u32 depth;
1: - __u32 num_attr;
1: - __u32 num_crtc;
1: - __u32 num_gfx;
1: - __u32 num_seq;
1: - void *vidstate;
1: + void *vgabase;
1: + long unsigned int membase;
1: + __u32 memsize;
1: + __u32 flags;
1: + __u32 depth;
1: + __u32 num_attr;
1: + __u32 num_crtc;
1: + __u32 num_gfx;
1: + __u32 num_seq;
1: + void *vidstate;
1: };
1:
1: struct vgacon_scrollback_info {
1: - void *data;
1: - int tail;
1: - int size;
1: - int rows;
1: - int cnt;
1: - int cur;
1: - int save;
1: - int restore;
1: + void *data;
1: + int tail;
1: + int size;
1: + int rows;
1: + int cnt;
1: + int cur;
1: + int save;
1: + int restore;
1: };
1:
1: struct linux_logo {
1: - int type;
1: - unsigned int width;
1: - unsigned int height;
1: - unsigned int clutsize;
1: - const unsigned char *clut;
1: - const unsigned char *data;
1: + int type;
1: + unsigned int width;
1: + unsigned int height;
1: + unsigned int clutsize;
1: + const unsigned char *clut;
1: + const unsigned char *data;
1: };
1:
1: struct fb_fix_screeninfo {
1: - char id[16];
1: - long unsigned int smem_start;
1: - __u32 smem_len;
1: - __u32 type;
1: - __u32 type_aux;
1: - __u32 visual;
1: - __u16 xpanstep;
1: - __u16 ypanstep;
1: - __u16 ywrapstep;
1: - __u32 line_length;
1: - long unsigned int mmio_start;
1: - __u32 mmio_len;
1: - __u32 accel;
1: - __u16 capabilities;
1: - __u16 reserved[2];
1: + char id[16];
1: + long unsigned int smem_start;
1: + __u32 smem_len;
1: + __u32 type;
1: + __u32 type_aux;
1: + __u32 visual;
1: + __u16 xpanstep;
1: + __u16 ypanstep;
1: + __u16 ywrapstep;
1: + __u32 line_length;
1: + long unsigned int mmio_start;
1: + __u32 mmio_len;
1: + __u32 accel;
1: + __u16 capabilities;
1: + __u16 reserved[2];
1: };
1:
1: struct fb_bitfield {
1: - __u32 offset;
1: - __u32 length;
1: - __u32 msb_right;
1: + __u32 offset;
1: + __u32 length;
1: + __u32 msb_right;
1: };
1:
1: struct fb_var_screeninfo {
1: - __u32 xres;
1: - __u32 yres;
1: - __u32 xres_virtual;
1: - __u32 yres_virtual;
1: - __u32 xoffset;
1: - __u32 yoffset;
1: - __u32 bits_per_pixel;
1: - __u32 grayscale;
1: - struct fb_bitfield red;
1: - struct fb_bitfield green;
1: - struct fb_bitfield blue;
1: - struct fb_bitfield transp;
1: - __u32 nonstd;
1: - __u32 activate;
1: - __u32 height;
1: - __u32 width;
1: - __u32 accel_flags;
1: - __u32 pixclock;
1: - __u32 left_margin;
1: - __u32 right_margin;
1: - __u32 upper_margin;
1: - __u32 lower_margin;
1: - __u32 hsync_len;
1: - __u32 vsync_len;
1: - __u32 sync;
1: - __u32 vmode;
1: - __u32 rotate;
1: - __u32 colorspace;
1: - __u32 reserved[4];
1: + __u32 xres;
1: + __u32 yres;
1: + __u32 xres_virtual;
1: + __u32 yres_virtual;
1: + __u32 xoffset;
1: + __u32 yoffset;
1: + __u32 bits_per_pixel;
1: + __u32 grayscale;
1: + struct fb_bitfield red;
1: + struct fb_bitfield green;
1: + struct fb_bitfield blue;
1: + struct fb_bitfield transp;
1: + __u32 nonstd;
1: + __u32 activate;
1: + __u32 height;
1: + __u32 width;
1: + __u32 accel_flags;
1: + __u32 pixclock;
1: + __u32 left_margin;
1: + __u32 right_margin;
1: + __u32 upper_margin;
1: + __u32 lower_margin;
1: + __u32 hsync_len;
1: + __u32 vsync_len;
1: + __u32 sync;
1: + __u32 vmode;
1: + __u32 rotate;
1: + __u32 colorspace;
1: + __u32 reserved[4];
1: };
1:
1: struct fb_cmap {
1: - __u32 start;
1: - __u32 len;
1: - __u16 *red;
1: - __u16 *green;
1: - __u16 *blue;
1: - __u16 *transp;
1: + __u32 start;
1: + __u32 len;
1: + __u16 *red;
1: + __u16 *green;
1: + __u16 *blue;
1: + __u16 *transp;
1: };
1:
1: enum {
1: - FB_BLANK_UNBLANK = 0,
1: - FB_BLANK_NORMAL = 1,
1: - FB_BLANK_VSYNC_SUSPEND = 2,
1: - FB_BLANK_HSYNC_SUSPEND = 3,
1: - FB_BLANK_POWERDOWN = 4,
1: + FB_BLANK_UNBLANK = 0,
1: + FB_BLANK_NORMAL = 1,
1: + FB_BLANK_VSYNC_SUSPEND = 2,
1: + FB_BLANK_HSYNC_SUSPEND = 3,
1: + FB_BLANK_POWERDOWN = 4,
1: };
1:
1: struct fb_copyarea {
1: - __u32 dx;
1: - __u32 dy;
1: - __u32 width;
1: - __u32 height;
1: - __u32 sx;
1: - __u32 sy;
1: + __u32 dx;
1: + __u32 dy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 sx;
1: + __u32 sy;
1: };
1:
1: struct fb_fillrect {
1: - __u32 dx;
1: - __u32 dy;
1: - __u32 width;
1: - __u32 height;
1: - __u32 color;
1: - __u32 rop;
1: + __u32 dx;
1: + __u32 dy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 color;
1: + __u32 rop;
1: };
1:
1: struct fb_image {
1: - __u32 dx;
1: - __u32 dy;
1: - __u32 width;
1: - __u32 height;
1: - __u32 fg_color;
1: - __u32 bg_color;
1: - __u8 depth;
1: - const char *data;
1: - struct fb_cmap cmap;
1: + __u32 dx;
1: + __u32 dy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 fg_color;
1: + __u32 bg_color;
1: + __u8 depth;
1: + const char *data;
1: + struct fb_cmap cmap;
1: };
1:
1: struct fbcurpos {
1: - __u16 x;
1: - __u16 y;
1: + __u16 x;
1: + __u16 y;
1: };
1:
1: struct fb_cursor {
1: - __u16 set;
1: - __u16 enable;
1: - __u16 rop;
1: - const char *mask;
1: - struct fbcurpos hot;
1: - struct fb_image image;
1: + __u16 set;
1: + __u16 enable;
1: + __u16 rop;
1: + const char *mask;
1: + struct fbcurpos hot;
1: + struct fb_image image;
1: };
1:
1: struct fb_chroma {
1: - __u32 redx;
1: - __u32 greenx;
1: - __u32 bluex;
1: - __u32 whitex;
1: - __u32 redy;
1: - __u32 greeny;
1: - __u32 bluey;
1: - __u32 whitey;
1: + __u32 redx;
1: + __u32 greenx;
1: + __u32 bluex;
1: + __u32 whitex;
1: + __u32 redy;
1: + __u32 greeny;
1: + __u32 bluey;
1: + __u32 whitey;
1: };
1:
1: struct fb_videomode;
1:
1: struct fb_monspecs {
1: - struct fb_chroma chroma;
1: - struct fb_videomode *modedb;
1: - __u8 manufacturer[4];
1: - __u8 monitor[14];
1: - __u8 serial_no[14];
1: - __u8 ascii[14];
1: - __u32 modedb_len;
1: - __u32 model;
1: - __u32 serial;
1: - __u32 year;
1: - __u32 week;
1: - __u32 hfmin;
1: - __u32 hfmax;
1: - __u32 dclkmin;
1: - __u32 dclkmax;
1: - __u16 input;
1: - __u16 dpms;
1: - __u16 signal;
1: - __u16 vfmin;
1: - __u16 vfmax;
1: - __u16 gamma;
1: - __u16 gtf: 1;
1: - __u16 misc;
1: - __u8 version;
1: - __u8 revision;
1: - __u8 max_x;
1: - __u8 max_y;
1: + struct fb_chroma chroma;
1: + struct fb_videomode *modedb;
1: + __u8 manufacturer[4];
1: + __u8 monitor[14];
1: + __u8 serial_no[14];
1: + __u8 ascii[14];
1: + __u32 modedb_len;
1: + __u32 model;
1: + __u32 serial;
1: + __u32 year;
1: + __u32 week;
1: + __u32 hfmin;
1: + __u32 hfmax;
1: + __u32 dclkmin;
1: + __u32 dclkmax;
1: + __u16 input;
1: + __u16 dpms;
1: + __u16 signal;
1: + __u16 vfmin;
1: + __u16 vfmax;
1: + __u16 gamma;
1: + __u16 gtf : 1;
1: + __u16 misc;
1: + __u8 version;
1: + __u8 revision;
1: + __u8 max_x;
1: + __u8 max_y;
1: };
1:
1: struct fb_videomode {
1: - const char *name;
1: - u32 refresh;
1: - u32 xres;
1: - u32 yres;
1: - u32 pixclock;
1: - u32 left_margin;
1: - u32 right_margin;
1: - u32 upper_margin;
1: - u32 lower_margin;
1: - u32 hsync_len;
1: - u32 vsync_len;
1: - u32 sync;
1: - u32 vmode;
1: - u32 flag;
1: + const char *name;
1: + u32 refresh;
1: + u32 xres;
1: + u32 yres;
1: + u32 pixclock;
1: + u32 left_margin;
1: + u32 right_margin;
1: + u32 upper_margin;
1: + u32 lower_margin;
1: + u32 hsync_len;
1: + u32 vsync_len;
1: + u32 sync;
1: + u32 vmode;
1: + u32 flag;
1: };
1:
1: struct fb_info;
1:
1: struct fb_event {
1: - struct fb_info *info;
1: - void *data;
1: + struct fb_info *info;
1: + void *data;
1: };
1:
1: struct fb_pixmap {
1: - u8 *addr;
1: - u32 size;
1: - u32 offset;
1: - u32 buf_align;
1: - u32 scan_align;
1: - u32 access_align;
1: - u32 flags;
1: - u32 blit_x;
1: - u32 blit_y;
1: - void (*writeio)(struct fb_info *, void *, void *, unsigned int);
1: - void (*readio)(struct fb_info *, void *, void *, unsigned int);
1: + u8 *addr;
1: + u32 size;
1: + u32 offset;
1: + u32 buf_align;
1: + u32 scan_align;
1: + u32 access_align;
1: + u32 flags;
1: + u32 blit_x;
1: + u32 blit_y;
1: + void (*writeio)(struct fb_info *, void *, void *, unsigned int);
1: + void (*readio)(struct fb_info *, void *, void *, unsigned int);
1: };
1:
1: struct fb_deferred_io;
1: @@ -58048,309 +58476,311 @@ struct fb_tile_ops;
1: struct apertures_struct;
1:
1: struct fb_info {
1: - atomic_t count;
1: - int node;
1: - int flags;
1: - int fbcon_rotate_hint;
1: - struct mutex lock;
1: - struct mutex mm_lock;
1: - struct fb_var_screeninfo var;
1: - struct fb_fix_screeninfo fix;
1: - struct fb_monspecs monspecs;
1: - struct work_struct queue;
1: - struct fb_pixmap pixmap;
1: - struct fb_pixmap sprite;
1: - struct fb_cmap cmap;
1: - struct list_head modelist;
1: - struct fb_videomode *mode;
1: - struct delayed_work deferred_work;
1: - struct fb_deferred_io *fbdefio;
1: - struct fb_ops *fbops;
1: - struct device *device;
1: - struct device *dev;
1: - int class_flag;
1: - struct fb_tile_ops *tileops;
1: - union {
1: - char *screen_base;
1: - char *screen_buffer;
1: - };
1: - long unsigned int screen_size;
1: - void *pseudo_palette;
1: - u32 state;
1: - void *fbcon_par;
1: - void *par;
1: - struct apertures_struct *apertures;
1: - bool skip_vt_switch;
1: + atomic_t count;
1: + int node;
1: + int flags;
1: + int fbcon_rotate_hint;
1: + struct mutex lock;
1: + struct mutex mm_lock;
1: + struct fb_var_screeninfo var;
1: + struct fb_fix_screeninfo fix;
1: + struct fb_monspecs monspecs;
1: + struct work_struct queue;
1: + struct fb_pixmap pixmap;
1: + struct fb_pixmap sprite;
1: + struct fb_cmap cmap;
1: + struct list_head modelist;
1: + struct fb_videomode *mode;
1: + struct delayed_work deferred_work;
1: + struct fb_deferred_io *fbdefio;
1: + struct fb_ops *fbops;
1: + struct device *device;
1: + struct device *dev;
1: + int class_flag;
1: + struct fb_tile_ops *tileops;
1: + union {
1: + char *screen_base;
1: + char *screen_buffer;
1: + };
1: + long unsigned int screen_size;
1: + void *pseudo_palette;
1: + u32 state;
1: + void *fbcon_par;
1: + void *par;
1: + struct apertures_struct *apertures;
1: + bool skip_vt_switch;
1: };
1:
1: struct fb_blit_caps {
1: - u32 x;
1: - u32 y;
1: - u32 len;
1: - u32 flags;
1: + u32 x;
1: + u32 y;
1: + u32 len;
1: + u32 flags;
1: };
1:
1: struct fb_deferred_io {
1: - long unsigned int delay;
1: - struct mutex lock;
1: - struct list_head pagelist;
1: - void (*first_io)(struct fb_info *);
1: - void (*deferred_io)(struct fb_info *, struct list_head *);
1: + long unsigned int delay;
1: + struct mutex lock;
1: + struct list_head pagelist;
1: + void (*first_io)(struct fb_info *);
1: + void (*deferred_io)(struct fb_info *, struct list_head *);
1: };
1:
1: struct fb_ops {
1: - struct module *owner;
1: - int (*fb_open)(struct fb_info *, int);
1: - int (*fb_release)(struct fb_info *, int);
1: - ssize_t (*fb_read)(struct fb_info *, char *, size_t, loff_t *);
1: - ssize_t (*fb_write)(struct fb_info *, const char *, size_t, loff_t *);
1: - int (*fb_check_var)(struct fb_var_screeninfo *, struct fb_info *);
1: - int (*fb_set_par)(struct fb_info *);
1: - int (*fb_setcolreg)(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, struct fb_info *);
1: - int (*fb_setcmap)(struct fb_cmap *, struct fb_info *);
1: - int (*fb_blank)(int, struct fb_info *);
1: - int (*fb_pan_display)(struct fb_var_screeninfo *, struct fb_info *);
1: - void (*fb_fillrect)(struct fb_info *, const struct fb_fillrect *);
1: - void (*fb_copyarea)(struct fb_info *, const struct fb_copyarea *);
1: - void (*fb_imageblit)(struct fb_info *, const struct fb_image *);
1: - int (*fb_cursor)(struct fb_info *, struct fb_cursor *);
1: - int (*fb_sync)(struct fb_info *);
1: - int (*fb_ioctl)(struct fb_info *, unsigned int, long unsigned int);
1: - int (*fb_compat_ioctl)(struct fb_info *, unsigned int, long unsigned int);
1: - int (*fb_mmap)(struct fb_info *, struct vm_area_struct *);
1: - void (*fb_get_caps)(struct fb_info *, struct fb_blit_caps *, struct fb_var_screeninfo *);
1: - void (*fb_destroy)(struct fb_info *);
1: - int (*fb_debug_enter)(struct fb_info *);
1: - int (*fb_debug_leave)(struct fb_info *);
1: + struct module *owner;
1: + int (*fb_open)(struct fb_info *, int);
1: + int (*fb_release)(struct fb_info *, int);
1: + ssize_t (*fb_read)(struct fb_info *, char *, size_t, loff_t *);
1: + ssize_t (*fb_write)(struct fb_info *, const char *, size_t, loff_t *);
1: + int (*fb_check_var)(struct fb_var_screeninfo *, struct fb_info *);
1: + int (*fb_set_par)(struct fb_info *);
1: + int (*fb_setcolreg)(unsigned int, unsigned int, unsigned int, unsigned int,
1: + unsigned int, struct fb_info *);
1: + int (*fb_setcmap)(struct fb_cmap *, struct fb_info *);
1: + int (*fb_blank)(int, struct fb_info *);
1: + int (*fb_pan_display)(struct fb_var_screeninfo *, struct fb_info *);
1: + void (*fb_fillrect)(struct fb_info *, const struct fb_fillrect *);
1: + void (*fb_copyarea)(struct fb_info *, const struct fb_copyarea *);
1: + void (*fb_imageblit)(struct fb_info *, const struct fb_image *);
1: + int (*fb_cursor)(struct fb_info *, struct fb_cursor *);
1: + int (*fb_sync)(struct fb_info *);
1: + int (*fb_ioctl)(struct fb_info *, unsigned int, long unsigned int);
1: + int (*fb_compat_ioctl)(struct fb_info *, unsigned int, long unsigned int);
1: + int (*fb_mmap)(struct fb_info *, struct vm_area_struct *);
1: + void (*fb_get_caps)(struct fb_info *, struct fb_blit_caps *,
1: + struct fb_var_screeninfo *);
1: + void (*fb_destroy)(struct fb_info *);
1: + int (*fb_debug_enter)(struct fb_info *);
1: + int (*fb_debug_leave)(struct fb_info *);
1: };
1:
1: struct fb_tilemap {
1: - __u32 width;
1: - __u32 height;
1: - __u32 depth;
1: - __u32 length;
1: - const __u8 *data;
1: + __u32 width;
1: + __u32 height;
1: + __u32 depth;
1: + __u32 length;
1: + const __u8 *data;
1: };
1:
1: struct fb_tilerect {
1: - __u32 sx;
1: - __u32 sy;
1: - __u32 width;
1: - __u32 height;
1: - __u32 index;
1: - __u32 fg;
1: - __u32 bg;
1: - __u32 rop;
1: + __u32 sx;
1: + __u32 sy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 index;
1: + __u32 fg;
1: + __u32 bg;
1: + __u32 rop;
1: };
1:
1: struct fb_tilearea {
1: - __u32 sx;
1: - __u32 sy;
1: - __u32 dx;
1: - __u32 dy;
1: - __u32 width;
1: - __u32 height;
1: + __u32 sx;
1: + __u32 sy;
1: + __u32 dx;
1: + __u32 dy;
1: + __u32 width;
1: + __u32 height;
1: };
1:
1: struct fb_tileblit {
1: - __u32 sx;
1: - __u32 sy;
1: - __u32 width;
1: - __u32 height;
1: - __u32 fg;
1: - __u32 bg;
1: - __u32 length;
1: - __u32 *indices;
1: + __u32 sx;
1: + __u32 sy;
1: + __u32 width;
1: + __u32 height;
1: + __u32 fg;
1: + __u32 bg;
1: + __u32 length;
1: + __u32 *indices;
1: };
1:
1: struct fb_tilecursor {
1: - __u32 sx;
1: - __u32 sy;
1: - __u32 mode;
1: - __u32 shape;
1: - __u32 fg;
1: - __u32 bg;
1: + __u32 sx;
1: + __u32 sy;
1: + __u32 mode;
1: + __u32 shape;
1: + __u32 fg;
1: + __u32 bg;
1: };
1:
1: struct fb_tile_ops {
1: - void (*fb_settile)(struct fb_info *, struct fb_tilemap *);
1: - void (*fb_tilecopy)(struct fb_info *, struct fb_tilearea *);
1: - void (*fb_tilefill)(struct fb_info *, struct fb_tilerect *);
1: - void (*fb_tileblit)(struct fb_info *, struct fb_tileblit *);
1: - void (*fb_tilecursor)(struct fb_info *, struct fb_tilecursor *);
1: - int (*fb_get_tilemax)(struct fb_info *);
1: + void (*fb_settile)(struct fb_info *, struct fb_tilemap *);
1: + void (*fb_tilecopy)(struct fb_info *, struct fb_tilearea *);
1: + void (*fb_tilefill)(struct fb_info *, struct fb_tilerect *);
1: + void (*fb_tileblit)(struct fb_info *, struct fb_tileblit *);
1: + void (*fb_tilecursor)(struct fb_info *, struct fb_tilecursor *);
1: + int (*fb_get_tilemax)(struct fb_info *);
1: };
1:
1: struct aperture {
1: - resource_size_t base;
1: - resource_size_t size;
1: + resource_size_t base;
1: + resource_size_t size;
1: };
1:
1: struct apertures_struct {
1: - unsigned int count;
1: - struct aperture ranges[0];
1: + unsigned int count;
1: + struct aperture ranges[0];
1: };
1:
1: enum backlight_update_reason {
1: - BACKLIGHT_UPDATE_HOTKEY = 0,
1: - BACKLIGHT_UPDATE_SYSFS = 1,
1: + BACKLIGHT_UPDATE_HOTKEY = 0,
1: + BACKLIGHT_UPDATE_SYSFS = 1,
1: };
1:
1: enum backlight_type {
1: - BACKLIGHT_RAW = 1,
1: - BACKLIGHT_PLATFORM = 2,
1: - BACKLIGHT_FIRMWARE = 3,
1: - BACKLIGHT_TYPE_MAX = 4,
1: + BACKLIGHT_RAW = 1,
1: + BACKLIGHT_PLATFORM = 2,
1: + BACKLIGHT_FIRMWARE = 3,
1: + BACKLIGHT_TYPE_MAX = 4,
1: };
1:
1: enum backlight_notification {
1: - BACKLIGHT_REGISTERED = 0,
1: - BACKLIGHT_UNREGISTERED = 1,
1: + BACKLIGHT_REGISTERED = 0,
1: + BACKLIGHT_UNREGISTERED = 1,
1: };
1:
1: enum backlight_scale {
1: - BACKLIGHT_SCALE_UNKNOWN = 0,
1: - BACKLIGHT_SCALE_LINEAR = 1,
1: - BACKLIGHT_SCALE_NON_LINEAR = 2,
1: + BACKLIGHT_SCALE_UNKNOWN = 0,
1: + BACKLIGHT_SCALE_LINEAR = 1,
1: + BACKLIGHT_SCALE_NON_LINEAR = 2,
1: };
1:
1: struct backlight_device;
1:
1: struct backlight_ops {
1: - unsigned int options;
1: - int (*update_status)(struct backlight_device *);
1: - int (*get_brightness)(struct backlight_device *);
1: - int (*check_fb)(struct backlight_device *, struct fb_info *);
1: + unsigned int options;
1: + int (*update_status)(struct backlight_device *);
1: + int (*get_brightness)(struct backlight_device *);
1: + int (*check_fb)(struct backlight_device *, struct fb_info *);
1: };
1:
1: struct backlight_properties {
1: - int brightness;
1: - int max_brightness;
1: - int power;
1: - int fb_blank;
1: - enum backlight_type type;
1: - unsigned int state;
1: - enum backlight_scale scale;
1: + int brightness;
1: + int max_brightness;
1: + int power;
1: + int fb_blank;
1: + enum backlight_type type;
1: + unsigned int state;
1: + enum backlight_scale scale;
1: };
1:
1: struct backlight_device {
1: - struct backlight_properties props;
1: - struct mutex update_lock;
1: - struct mutex ops_lock;
1: - const struct backlight_ops *ops;
1: - struct notifier_block fb_notif;
1: - struct list_head entry;
1: - struct device dev;
1: - bool fb_bl_on[32];
1: - int use_count;
1: + struct backlight_properties props;
1: + struct mutex update_lock;
1: + struct mutex ops_lock;
1: + const struct backlight_ops *ops;
1: + struct notifier_block fb_notif;
1: + struct list_head entry;
1: + struct device dev;
1: + bool fb_bl_on[32];
1: + int use_count;
1: };
1:
1: struct generic_bl_info {
1: - const char *name;
1: - int max_intensity;
1: - int default_intensity;
1: - int limit_mask;
1: - void (*set_bl_intensity)(int);
1: - void (*kick_battery)();
1: + const char *name;
1: + int max_intensity;
1: + int default_intensity;
1: + int limit_mask;
1: + void (*set_bl_intensity)(int);
1: + void (*kick_battery)();
1: };
1:
1: struct fb_cmap_user {
1: - __u32 start;
1: - __u32 len;
1: - __u16 *red;
1: - __u16 *green;
1: - __u16 *blue;
1: - __u16 *transp;
1: + __u32 start;
1: + __u32 len;
1: + __u16 *red;
1: + __u16 *green;
1: + __u16 *blue;
1: + __u16 *transp;
1: };
1:
1: struct fb_modelist {
1: - struct list_head list;
1: - struct fb_videomode mode;
1: + struct list_head list;
1: + struct fb_videomode mode;
1: };
1:
1: struct logo_data {
1: - int depth;
1: - int needs_directpalette;
1: - int needs_truepalette;
1: - int needs_cmapreset;
1: - const struct linux_logo *logo;
1: + int depth;
1: + int needs_directpalette;
1: + int needs_truepalette;
1: + int needs_cmapreset;
1: + const struct linux_logo *logo;
1: };
1:
1: struct fb_fix_screeninfo32 {
1: - char id[16];
1: - compat_caddr_t smem_start;
1: - u32 smem_len;
1: - u32 type;
1: - u32 type_aux;
1: - u32 visual;
1: - u16 xpanstep;
1: - u16 ypanstep;
1: - u16 ywrapstep;
1: - u32 line_length;
1: - compat_caddr_t mmio_start;
1: - u32 mmio_len;
1: - u32 accel;
1: - u16 reserved[3];
1: + char id[16];
1: + compat_caddr_t smem_start;
1: + u32 smem_len;
1: + u32 type;
1: + u32 type_aux;
1: + u32 visual;
1: + u16 xpanstep;
1: + u16 ypanstep;
1: + u16 ywrapstep;
1: + u32 line_length;
1: + compat_caddr_t mmio_start;
1: + u32 mmio_len;
1: + u32 accel;
1: + u16 reserved[3];
1: };
1:
1: struct fb_cmap32 {
1: - u32 start;
1: - u32 len;
1: - compat_caddr_t red;
1: - compat_caddr_t green;
1: - compat_caddr_t blue;
1: - compat_caddr_t transp;
1: + u32 start;
1: + u32 len;
1: + compat_caddr_t red;
1: + compat_caddr_t green;
1: + compat_caddr_t blue;
1: + compat_caddr_t transp;
1: };
1:
1: struct dmt_videomode {
1: - u32 dmt_id;
1: - u32 std_2byte_code;
1: - u32 cvt_3byte_code;
1: - const struct fb_videomode *mode;
1: + u32 dmt_id;
1: + u32 std_2byte_code;
1: + u32 cvt_3byte_code;
1: + const struct fb_videomode *mode;
1: };
1:
1: struct broken_edid {
1: - u8 manufacturer[4];
1: - u32 model;
1: - u32 fix;
1: + u8 manufacturer[4];
1: + u32 model;
1: + u32 fix;
1: };
1:
1: struct __fb_timings {
1: - u32 dclk;
1: - u32 hfreq;
1: - u32 vfreq;
1: - u32 hactive;
1: - u32 vactive;
1: - u32 hblank;
1: - u32 vblank;
1: - u32 htotal;
1: - u32 vtotal;
1: + u32 dclk;
1: + u32 hfreq;
1: + u32 vfreq;
1: + u32 hactive;
1: + u32 vactive;
1: + u32 hblank;
1: + u32 vblank;
1: + u32 htotal;
1: + u32 vtotal;
1: };
1:
1: struct fb_cvt_data {
1: - u32 xres;
1: - u32 yres;
1: - u32 refresh;
1: - u32 f_refresh;
1: - u32 pixclock;
1: - u32 hperiod;
1: - u32 hblank;
1: - u32 hfreq;
1: - u32 htotal;
1: - u32 vtotal;
1: - u32 vsync;
1: - u32 hsync;
1: - u32 h_front_porch;
1: - u32 h_back_porch;
1: - u32 v_front_porch;
1: - u32 v_back_porch;
1: - u32 h_margin;
1: - u32 v_margin;
1: - u32 interlace;
1: - u32 aspect_ratio;
1: - u32 active_pixels;
1: - u32 flags;
1: - u32 status;
1: + u32 xres;
1: + u32 yres;
1: + u32 refresh;
1: + u32 f_refresh;
1: + u32 pixclock;
1: + u32 hperiod;
1: + u32 hblank;
1: + u32 hfreq;
1: + u32 htotal;
1: + u32 vtotal;
1: + u32 vsync;
1: + u32 hsync;
1: + u32 h_front_porch;
1: + u32 h_back_porch;
1: + u32 v_front_porch;
1: + u32 v_back_porch;
1: + u32 h_margin;
1: + u32 v_margin;
1: + u32 interlace;
1: + u32 aspect_ratio;
1: + u32 active_pixels;
1: + u32 flags;
1: + u32 status;
1: };
1:
1: typedef unsigned char u_char;
1: @@ -58358,194 +58788,196 @@ typedef unsigned char u_char;
1: typedef short unsigned int u_short;
1:
1: struct fb_con2fbmap {
1: - __u32 console;
1: - __u32 framebuffer;
1: + __u32 console;
1: + __u32 framebuffer;
1: };
1:
1: struct fbcon_display {
1: - const u_char *fontdata;
1: - int userfont;
1: - u_short scrollmode;
1: - u_short inverse;
1: - short int yscroll;
1: - int vrows;
1: - int cursor_shape;
1: - int con_rotate;
1: - u32 xres_virtual;
1: - u32 yres_virtual;
1: - u32 height;
1: - u32 width;
1: - u32 bits_per_pixel;
1: - u32 grayscale;
1: - u32 nonstd;
1: - u32 accel_flags;
1: - u32 rotate;
1: - struct fb_bitfield red;
1: - struct fb_bitfield green;
1: - struct fb_bitfield blue;
1: - struct fb_bitfield transp;
1: - const struct fb_videomode *mode;
1: + const u_char *fontdata;
1: + int userfont;
1: + u_short scrollmode;
1: + u_short inverse;
1: + short int yscroll;
1: + int vrows;
1: + int cursor_shape;
1: + int con_rotate;
1: + u32 xres_virtual;
1: + u32 yres_virtual;
1: + u32 height;
1: + u32 width;
1: + u32 bits_per_pixel;
1: + u32 grayscale;
1: + u32 nonstd;
1: + u32 accel_flags;
1: + u32 rotate;
1: + struct fb_bitfield red;
1: + struct fb_bitfield green;
1: + struct fb_bitfield blue;
1: + struct fb_bitfield transp;
1: + const struct fb_videomode *mode;
1: };
1:
1: struct fbcon_ops {
1: - void (*bmove)(struct vc_data *, struct fb_info *, int, int, int, int, int, int);
1: - void (*clear)(struct vc_data *, struct fb_info *, int, int, int, int);
1: - void (*putcs)(struct vc_data *, struct fb_info *, const short unsigned int *, int, int, int, int, int);
1: - void (*clear_margins)(struct vc_data *, struct fb_info *, int, int);
1: - void (*cursor)(struct vc_data *, struct fb_info *, int, int, int, int);
1: - int (*update_start)(struct fb_info *);
1: - int (*rotate_font)(struct fb_info *, struct vc_data *);
1: - struct fb_var_screeninfo var;
1: - struct timer_list cursor_timer;
1: - struct fb_cursor cursor_state;
1: - struct fbcon_display *p;
1: - struct fb_info *info;
1: - int currcon;
1: - int cur_blink_jiffies;
1: - int cursor_flash;
1: - int cursor_reset;
1: - int blank_state;
1: - int graphics;
1: - int save_graphics;
1: - int flags;
1: - int rotate;
1: - int cur_rotate;
1: - char *cursor_data;
1: - u8 *fontbuffer;
1: - u8 *fontdata;
1: - u8 *cursor_src;
1: - u32 cursor_size;
1: - u32 fd_size;
1: -};
1: -
1: -enum {
1: - FBCON_LOGO_CANSHOW = -1,
1: - FBCON_LOGO_DRAW = -2,
1: - FBCON_LOGO_DONTSHOW = -3,
1: + void (*bmove)(struct vc_data *, struct fb_info *, int, int, int, int, int,
1: + int);
1: + void (*clear)(struct vc_data *, struct fb_info *, int, int, int, int);
1: + void (*putcs)(struct vc_data *, struct fb_info *, const short unsigned int *,
1: + int, int, int, int, int);
1: + void (*clear_margins)(struct vc_data *, struct fb_info *, int, int);
1: + void (*cursor)(struct vc_data *, struct fb_info *, int, int, int, int);
1: + int (*update_start)(struct fb_info *);
1: + int (*rotate_font)(struct fb_info *, struct vc_data *);
1: + struct fb_var_screeninfo var;
1: + struct timer_list cursor_timer;
1: + struct fb_cursor cursor_state;
1: + struct fbcon_display *p;
1: + struct fb_info *info;
1: + int currcon;
1: + int cur_blink_jiffies;
1: + int cursor_flash;
1: + int cursor_reset;
1: + int blank_state;
1: + int graphics;
1: + int save_graphics;
1: + int flags;
1: + int rotate;
1: + int cur_rotate;
1: + char *cursor_data;
1: + u8 *fontbuffer;
1: + u8 *fontdata;
1: + u8 *cursor_src;
1: + u32 cursor_size;
1: + u32 fd_size;
1: +};
1: +
1: +enum {
1: + FBCON_LOGO_CANSHOW = -1,
1: + FBCON_LOGO_DRAW = -2,
1: + FBCON_LOGO_DONTSHOW = -3,
1: };
1:
1: enum drm_panel_orientation {
1: - DRM_MODE_PANEL_ORIENTATION_UNKNOWN = -1,
1: - DRM_MODE_PANEL_ORIENTATION_NORMAL = 0,
1: - DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP = 1,
1: - DRM_MODE_PANEL_ORIENTATION_LEFT_UP = 2,
1: - DRM_MODE_PANEL_ORIENTATION_RIGHT_UP = 3,
1: + DRM_MODE_PANEL_ORIENTATION_UNKNOWN = -1,
1: + DRM_MODE_PANEL_ORIENTATION_NORMAL = 0,
1: + DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP = 1,
1: + DRM_MODE_PANEL_ORIENTATION_LEFT_UP = 2,
1: + DRM_MODE_PANEL_ORIENTATION_RIGHT_UP = 3,
1: };
1:
1: typedef u16 acpi_owner_id;
1:
1: union acpi_name_union {
1: - u32 integer;
1: - char ascii[4];
1: + u32 integer;
1: + char ascii[4];
1: };
1:
1: struct acpi_table_desc {
1: - acpi_physical_address address;
1: - struct acpi_table_header *pointer;
1: - u32 length;
1: - union acpi_name_union signature;
1: - acpi_owner_id owner_id;
1: - u8 flags;
1: - u16 validation_count;
1: + acpi_physical_address address;
1: + struct acpi_table_header *pointer;
1: + u32 length;
1: + union acpi_name_union signature;
1: + acpi_owner_id owner_id;
1: + u8 flags;
1: + u16 validation_count;
1: };
1:
1: struct acpi_madt_io_sapic {
1: - struct acpi_subtable_header header;
1: - u8 id;
1: - u8 reserved;
1: - u32 global_irq_base;
1: - u64 address;
1: + struct acpi_subtable_header header;
1: + u8 id;
1: + u8 reserved;
1: + u32 global_irq_base;
1: + u64 address;
1: };
1:
1: struct acpi_madt_interrupt_source {
1: - struct acpi_subtable_header header;
1: - u16 inti_flags;
1: - u8 type;
1: - u8 id;
1: - u8 eid;
1: - u8 io_sapic_vector;
1: - u32 global_irq;
1: - u32 flags;
1: + struct acpi_subtable_header header;
1: + u16 inti_flags;
1: + u8 type;
1: + u8 id;
1: + u8 eid;
1: + u8 io_sapic_vector;
1: + u32 global_irq;
1: + u32 flags;
1: };
1:
1: struct acpi_madt_generic_interrupt {
1: - struct acpi_subtable_header header;
1: - u16 reserved;
1: - u32 cpu_interface_number;
1: - u32 uid;
1: - u32 flags;
1: - u32 parking_version;
1: - u32 performance_interrupt;
1: - u64 parked_address;
1: - u64 base_address;
1: - u64 gicv_base_address;
1: - u64 gich_base_address;
1: - u32 vgic_interrupt;
1: - u64 gicr_base_address;
1: - u64 arm_mpidr;
1: - u8 efficiency_class;
1: - u8 reserved2[1];
1: - u16 spe_interrupt;
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u32 cpu_interface_number;
1: + u32 uid;
1: + u32 flags;
1: + u32 parking_version;
1: + u32 performance_interrupt;
1: + u64 parked_address;
1: + u64 base_address;
1: + u64 gicv_base_address;
1: + u64 gich_base_address;
1: + u32 vgic_interrupt;
1: + u64 gicr_base_address;
1: + u64 arm_mpidr;
1: + u8 efficiency_class;
1: + u8 reserved2[1];
1: + u16 spe_interrupt;
1: } __attribute__((packed));
1:
1: struct acpi_madt_generic_distributor {
1: - struct acpi_subtable_header header;
1: - u16 reserved;
1: - u32 gic_id;
1: - u64 base_address;
1: - u32 global_irq_base;
1: - u8 version;
1: - u8 reserved2[3];
1: + struct acpi_subtable_header header;
1: + u16 reserved;
1: + u32 gic_id;
1: + u64 base_address;
1: + u32 global_irq_base;
1: + u8 version;
1: + u8 reserved2[3];
1: };
1:
1: enum acpi_subtable_type {
1: - ACPI_SUBTABLE_COMMON = 0,
1: - ACPI_SUBTABLE_HMAT = 1,
1: + ACPI_SUBTABLE_COMMON = 0,
1: + ACPI_SUBTABLE_HMAT = 1,
1: };
1:
1: struct acpi_subtable_entry {
1: - union acpi_subtable_headers *hdr;
1: - enum acpi_subtable_type type;
1: + union acpi_subtable_headers *hdr;
1: + enum acpi_subtable_type type;
1: };
1:
1: enum acpi_predicate {
1: - all_versions = 0,
1: - less_than_or_equal = 1,
1: - equal = 2,
1: - greater_than_or_equal = 3,
1: + all_versions = 0,
1: + less_than_or_equal = 1,
1: + equal = 2,
1: + greater_than_or_equal = 3,
1: };
1:
1: struct acpi_platform_list {
1: - char oem_id[7];
1: - char oem_table_id[9];
1: - u32 oem_revision;
1: - char *table;
1: - enum acpi_predicate pred;
1: - char *reason;
1: - u32 data;
1: + char oem_id[7];
1: + char oem_table_id[9];
1: + u32 oem_revision;
1: + char *table;
1: + enum acpi_predicate pred;
1: + char *reason;
1: + u32 data;
1: };
1:
1: typedef u32 (*acpi_interface_handler)(acpi_string, u32);
1:
1: struct acpi_osi_entry {
1: - char string[64];
1: - bool enable;
1: + char string[64];
1: + bool enable;
1: };
1:
1: struct acpi_osi_config {
1: - u8 default_disabling;
1: - unsigned int linux_enable: 1;
1: - unsigned int linux_dmi: 1;
1: - unsigned int linux_cmdline: 1;
1: - unsigned int darwin_enable: 1;
1: - unsigned int darwin_dmi: 1;
1: - unsigned int darwin_cmdline: 1;
1: + u8 default_disabling;
1: + unsigned int linux_enable : 1;
1: + unsigned int linux_dmi : 1;
1: + unsigned int linux_cmdline : 1;
1: + unsigned int darwin_enable : 1;
1: + unsigned int darwin_dmi : 1;
1: + unsigned int darwin_cmdline : 1;
1: };
1:
1: struct acpi_predefined_names {
1: - const char *name;
1: - u8 type;
1: - char *val;
1: + const char *name;
1: + u8 type;
1: + char *val;
1: };
1:
1: typedef u32 (*acpi_osd_handler)(void *);
1: @@ -58558,110 +58990,111 @@ typedef void (*acpi_notify_handler)(acpi_handle, u32, void *);
1:
1: typedef void (*acpi_object_handler)(acpi_handle, void *);
1:
1: -typedef acpi_status (*acpi_adr_space_handler)(u32, acpi_physical_address, u32, u64 *, void *, void *);
1: +typedef acpi_status (*acpi_adr_space_handler)(u32, acpi_physical_address, u32,
1: + u64 *, void *, void *);
1:
1: typedef acpi_status (*acpi_adr_space_setup)(acpi_handle, u32, void *, void **);
1:
1: struct acpi_pci_id {
1: - u16 segment;
1: - u16 bus;
1: - u16 device;
1: - u16 function;
1: + u16 segment;
1: + u16 bus;
1: + u16 device;
1: + u16 function;
1: };
1:
1: struct acpi_mem_space_context {
1: - u32 length;
1: - acpi_physical_address address;
1: - acpi_physical_address mapped_physical_address;
1: - u8 *mapped_logical_address;
1: - acpi_size mapped_length;
1: + u32 length;
1: + acpi_physical_address address;
1: + acpi_physical_address mapped_physical_address;
1: + u8 *mapped_logical_address;
1: + acpi_size mapped_length;
1: };
1:
1: typedef enum {
1: - OSL_GLOBAL_LOCK_HANDLER = 0,
1: - OSL_NOTIFY_HANDLER = 1,
1: - OSL_GPE_HANDLER = 2,
1: - OSL_DEBUGGER_MAIN_THREAD = 3,
1: - OSL_DEBUGGER_EXEC_THREAD = 4,
1: - OSL_EC_POLL_HANDLER = 5,
1: - OSL_EC_BURST_HANDLER = 6,
1: + OSL_GLOBAL_LOCK_HANDLER = 0,
1: + OSL_NOTIFY_HANDLER = 1,
1: + OSL_GPE_HANDLER = 2,
1: + OSL_DEBUGGER_MAIN_THREAD = 3,
1: + OSL_DEBUGGER_EXEC_THREAD = 4,
1: + OSL_EC_POLL_HANDLER = 5,
1: + OSL_EC_BURST_HANDLER = 6,
1: } acpi_execute_type;
1:
1: union acpi_operand_object;
1:
1: struct acpi_namespace_node {
1: - union acpi_operand_object *object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 flags;
1: - union acpi_name_union name;
1: - struct acpi_namespace_node *parent;
1: - struct acpi_namespace_node *child;
1: - struct acpi_namespace_node *peer;
1: - acpi_owner_id owner_id;
1: + union acpi_operand_object *object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 flags;
1: + union acpi_name_union name;
1: + struct acpi_namespace_node *parent;
1: + struct acpi_namespace_node *child;
1: + struct acpi_namespace_node *peer;
1: + acpi_owner_id owner_id;
1: };
1:
1: struct acpi_object_common {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: };
1:
1: struct acpi_object_integer {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 fill[3];
1: - u64 value;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 fill[3];
1: + u64 value;
1: };
1:
1: struct acpi_object_string {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - char *pointer;
1: - u32 length;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + char *pointer;
1: + u32 length;
1: };
1:
1: struct acpi_object_buffer {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 *pointer;
1: - u32 length;
1: - u32 aml_length;
1: - u8 *aml_start;
1: - struct acpi_namespace_node *node;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 *pointer;
1: + u32 length;
1: + u32 aml_length;
1: + u8 *aml_start;
1: + struct acpi_namespace_node *node;
1: };
1:
1: struct acpi_object_package {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - struct acpi_namespace_node *node;
1: - union acpi_operand_object **elements;
1: - u8 *aml_start;
1: - u32 aml_length;
1: - u32 count;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object **elements;
1: + u8 *aml_start;
1: + u32 aml_length;
1: + u32 count;
1: };
1:
1: struct acpi_object_event {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - void *os_semaphore;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + void *os_semaphore;
1: };
1:
1: struct acpi_walk_state;
1: @@ -58669,318 +59102,318 @@ struct acpi_walk_state;
1: typedef acpi_status (*acpi_internal_method)(struct acpi_walk_state *);
1:
1: struct acpi_object_method {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 info_flags;
1: - u8 param_count;
1: - u8 sync_level;
1: - union acpi_operand_object *mutex;
1: - union acpi_operand_object *node;
1: - u8 *aml_start;
1: - union {
1: - acpi_internal_method implementation;
1: - union acpi_operand_object *handler;
1: - } dispatch;
1: - u32 aml_length;
1: - acpi_owner_id owner_id;
1: - u8 thread_count;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 info_flags;
1: + u8 param_count;
1: + u8 sync_level;
1: + union acpi_operand_object *mutex;
1: + union acpi_operand_object *node;
1: + u8 *aml_start;
1: + union {
1: + acpi_internal_method implementation;
1: + union acpi_operand_object *handler;
1: + } dispatch;
1: + u32 aml_length;
1: + acpi_owner_id owner_id;
1: + u8 thread_count;
1: };
1:
1: struct acpi_thread_state;
1:
1: struct acpi_object_mutex {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 sync_level;
1: - u16 acquisition_depth;
1: - void *os_mutex;
1: - u64 thread_id;
1: - struct acpi_thread_state *owner_thread;
1: - union acpi_operand_object *prev;
1: - union acpi_operand_object *next;
1: - struct acpi_namespace_node *node;
1: - u8 original_sync_level;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 sync_level;
1: + u16 acquisition_depth;
1: + void *os_mutex;
1: + u64 thread_id;
1: + struct acpi_thread_state *owner_thread;
1: + union acpi_operand_object *prev;
1: + union acpi_operand_object *next;
1: + struct acpi_namespace_node *node;
1: + u8 original_sync_level;
1: };
1:
1: struct acpi_object_region {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 space_id;
1: - struct acpi_namespace_node *node;
1: - union acpi_operand_object *handler;
1: - union acpi_operand_object *next;
1: - acpi_physical_address address;
1: - u32 length;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 space_id;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object *handler;
1: + union acpi_operand_object *next;
1: + acpi_physical_address address;
1: + u32 length;
1: };
1:
1: struct acpi_object_notify_common {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - union acpi_operand_object *notify_list[2];
1: - union acpi_operand_object *handler;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: };
1:
1: struct acpi_gpe_block_info;
1:
1: struct acpi_object_device {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - union acpi_operand_object *notify_list[2];
1: - union acpi_operand_object *handler;
1: - struct acpi_gpe_block_info *gpe_block;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: + struct acpi_gpe_block_info *gpe_block;
1: };
1:
1: struct acpi_object_power_resource {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - union acpi_operand_object *notify_list[2];
1: - union acpi_operand_object *handler;
1: - u32 system_level;
1: - u32 resource_order;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: + u32 system_level;
1: + u32 resource_order;
1: };
1:
1: struct acpi_object_processor {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 proc_id;
1: - u8 length;
1: - union acpi_operand_object *notify_list[2];
1: - union acpi_operand_object *handler;
1: - acpi_io_address address;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 proc_id;
1: + u8 length;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: + acpi_io_address address;
1: };
1:
1: struct acpi_object_thermal_zone {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - union acpi_operand_object *notify_list[2];
1: - union acpi_operand_object *handler;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *notify_list[2];
1: + union acpi_operand_object *handler;
1: };
1:
1: struct acpi_object_field_common {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 field_flags;
1: - u8 attribute;
1: - u8 access_byte_width;
1: - struct acpi_namespace_node *node;
1: - u32 bit_length;
1: - u32 base_byte_offset;
1: - u32 value;
1: - u8 start_field_bit_offset;
1: - u8 access_length;
1: - union acpi_operand_object *region_obj;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + union acpi_operand_object *region_obj;
1: };
1:
1: struct acpi_object_region_field {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 field_flags;
1: - u8 attribute;
1: - u8 access_byte_width;
1: - struct acpi_namespace_node *node;
1: - u32 bit_length;
1: - u32 base_byte_offset;
1: - u32 value;
1: - u8 start_field_bit_offset;
1: - u8 access_length;
1: - u16 resource_length;
1: - union acpi_operand_object *region_obj;
1: - u8 *resource_buffer;
1: - u16 pin_number_index;
1: - u8 *internal_pcc_buffer;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + u16 resource_length;
1: + union acpi_operand_object *region_obj;
1: + u8 *resource_buffer;
1: + u16 pin_number_index;
1: + u8 *internal_pcc_buffer;
1: };
1:
1: struct acpi_object_buffer_field {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 field_flags;
1: - u8 attribute;
1: - u8 access_byte_width;
1: - struct acpi_namespace_node *node;
1: - u32 bit_length;
1: - u32 base_byte_offset;
1: - u32 value;
1: - u8 start_field_bit_offset;
1: - u8 access_length;
1: - union acpi_operand_object *buffer_obj;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + union acpi_operand_object *buffer_obj;
1: };
1:
1: struct acpi_object_bank_field {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 field_flags;
1: - u8 attribute;
1: - u8 access_byte_width;
1: - struct acpi_namespace_node *node;
1: - u32 bit_length;
1: - u32 base_byte_offset;
1: - u32 value;
1: - u8 start_field_bit_offset;
1: - u8 access_length;
1: - union acpi_operand_object *region_obj;
1: - union acpi_operand_object *bank_obj;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + union acpi_operand_object *region_obj;
1: + union acpi_operand_object *bank_obj;
1: };
1:
1: struct acpi_object_index_field {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 field_flags;
1: - u8 attribute;
1: - u8 access_byte_width;
1: - struct acpi_namespace_node *node;
1: - u32 bit_length;
1: - u32 base_byte_offset;
1: - u32 value;
1: - u8 start_field_bit_offset;
1: - u8 access_length;
1: - union acpi_operand_object *index_obj;
1: - union acpi_operand_object *data_obj;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 access_byte_width;
1: + struct acpi_namespace_node *node;
1: + u32 bit_length;
1: + u32 base_byte_offset;
1: + u32 value;
1: + u8 start_field_bit_offset;
1: + u8 access_length;
1: + union acpi_operand_object *index_obj;
1: + union acpi_operand_object *data_obj;
1: };
1:
1: struct acpi_object_notify_handler {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - struct acpi_namespace_node *node;
1: - u32 handler_type;
1: - acpi_notify_handler handler;
1: - void *context;
1: - union acpi_operand_object *next[2];
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + struct acpi_namespace_node *node;
1: + u32 handler_type;
1: + acpi_notify_handler handler;
1: + void *context;
1: + union acpi_operand_object *next[2];
1: };
1:
1: struct acpi_object_addr_handler {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 space_id;
1: - u8 handler_flags;
1: - acpi_adr_space_handler handler;
1: - struct acpi_namespace_node *node;
1: - void *context;
1: - acpi_adr_space_setup setup;
1: - union acpi_operand_object *region_list;
1: - union acpi_operand_object *next;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 space_id;
1: + u8 handler_flags;
1: + acpi_adr_space_handler handler;
1: + struct acpi_namespace_node *node;
1: + void *context;
1: + acpi_adr_space_setup setup;
1: + union acpi_operand_object *region_list;
1: + union acpi_operand_object *next;
1: };
1:
1: struct acpi_object_reference {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - u8 class;
1: - u8 target_type;
1: - u8 resolved;
1: - void *object;
1: - struct acpi_namespace_node *node;
1: - union acpi_operand_object **where;
1: - u8 *index_pointer;
1: - u8 *aml;
1: - u32 value;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + u8 class;
1: + u8 target_type;
1: + u8 resolved;
1: + void *object;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object **where;
1: + u8 *index_pointer;
1: + u8 *aml;
1: + u32 value;
1: };
1:
1: struct acpi_object_extra {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - struct acpi_namespace_node *method_REG;
1: - struct acpi_namespace_node *scope_node;
1: - void *region_context;
1: - u8 *aml_start;
1: - u32 aml_length;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + struct acpi_namespace_node *method_REG;
1: + struct acpi_namespace_node *scope_node;
1: + void *region_context;
1: + u8 *aml_start;
1: + u32 aml_length;
1: };
1:
1: struct acpi_object_data {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - acpi_object_handler handler;
1: - void *pointer;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + acpi_object_handler handler;
1: + void *pointer;
1: };
1:
1: struct acpi_object_cache_list {
1: - union acpi_operand_object *next_object;
1: - u8 descriptor_type;
1: - u8 type;
1: - u16 reference_count;
1: - u8 flags;
1: - union acpi_operand_object *next;
1: + union acpi_operand_object *next_object;
1: + u8 descriptor_type;
1: + u8 type;
1: + u16 reference_count;
1: + u8 flags;
1: + union acpi_operand_object *next;
1: };
1:
1: union acpi_operand_object {
1: - struct acpi_object_common common;
1: - struct acpi_object_integer integer;
1: - struct acpi_object_string string;
1: - struct acpi_object_buffer buffer;
1: - struct acpi_object_package package;
1: - struct acpi_object_event event;
1: - struct acpi_object_method method;
1: - struct acpi_object_mutex mutex;
1: - struct acpi_object_region region;
1: - struct acpi_object_notify_common common_notify;
1: - struct acpi_object_device device;
1: - struct acpi_object_power_resource power_resource;
1: - struct acpi_object_processor processor;
1: - struct acpi_object_thermal_zone thermal_zone;
1: - struct acpi_object_field_common common_field;
1: - struct acpi_object_region_field field;
1: - struct acpi_object_buffer_field buffer_field;
1: - struct acpi_object_bank_field bank_field;
1: - struct acpi_object_index_field index_field;
1: - struct acpi_object_notify_handler notify;
1: - struct acpi_object_addr_handler address_space;
1: - struct acpi_object_reference reference;
1: - struct acpi_object_extra extra;
1: - struct acpi_object_data data;
1: - struct acpi_object_cache_list cache;
1: - struct acpi_namespace_node node;
1: + struct acpi_object_common common;
1: + struct acpi_object_integer integer;
1: + struct acpi_object_string string;
1: + struct acpi_object_buffer buffer;
1: + struct acpi_object_package package;
1: + struct acpi_object_event event;
1: + struct acpi_object_method method;
1: + struct acpi_object_mutex mutex;
1: + struct acpi_object_region region;
1: + struct acpi_object_notify_common common_notify;
1: + struct acpi_object_device device;
1: + struct acpi_object_power_resource power_resource;
1: + struct acpi_object_processor processor;
1: + struct acpi_object_thermal_zone thermal_zone;
1: + struct acpi_object_field_common common_field;
1: + struct acpi_object_region_field field;
1: + struct acpi_object_buffer_field buffer_field;
1: + struct acpi_object_bank_field bank_field;
1: + struct acpi_object_index_field index_field;
1: + struct acpi_object_notify_handler notify;
1: + struct acpi_object_addr_handler address_space;
1: + struct acpi_object_reference reference;
1: + struct acpi_object_extra extra;
1: + struct acpi_object_data data;
1: + struct acpi_object_cache_list cache;
1: + struct acpi_namespace_node node;
1: };
1:
1: union acpi_parse_object;
1: @@ -58988,492 +59421,493 @@ union acpi_parse_object;
1: union acpi_generic_state;
1:
1: struct acpi_parse_state {
1: - u8 *aml_start;
1: - u8 *aml;
1: - u8 *aml_end;
1: - u8 *pkg_start;
1: - u8 *pkg_end;
1: - union acpi_parse_object *start_op;
1: - struct acpi_namespace_node *start_node;
1: - union acpi_generic_state *scope;
1: - union acpi_parse_object *start_scope;
1: - u32 aml_size;
1: + u8 *aml_start;
1: + u8 *aml;
1: + u8 *aml_end;
1: + u8 *pkg_start;
1: + u8 *pkg_end;
1: + union acpi_parse_object *start_op;
1: + struct acpi_namespace_node *start_node;
1: + union acpi_generic_state *scope;
1: + union acpi_parse_object *start_scope;
1: + u32 aml_size;
1: };
1:
1: -typedef acpi_status (*acpi_parse_downwards)(struct acpi_walk_state *, union acpi_parse_object **);
1: +typedef acpi_status (*acpi_parse_downwards)(struct acpi_walk_state *,
1: + union acpi_parse_object **);
1:
1: typedef acpi_status (*acpi_parse_upwards)(struct acpi_walk_state *);
1:
1: struct acpi_opcode_info;
1:
1: struct acpi_walk_state {
1: - struct acpi_walk_state *next;
1: - u8 descriptor_type;
1: - u8 walk_type;
1: - u16 opcode;
1: - u8 next_op_info;
1: - u8 num_operands;
1: - u8 operand_index;
1: - acpi_owner_id owner_id;
1: - u8 last_predicate;
1: - u8 current_result;
1: - u8 return_used;
1: - u8 scope_depth;
1: - u8 pass_number;
1: - u8 namespace_override;
1: - u8 result_size;
1: - u8 result_count;
1: - u8 *aml;
1: - u32 arg_types;
1: - u32 method_breakpoint;
1: - u32 user_breakpoint;
1: - u32 parse_flags;
1: - struct acpi_parse_state parser_state;
1: - u32 prev_arg_types;
1: - u32 arg_count;
1: - u16 method_nesting_depth;
1: - u8 method_is_nested;
1: - struct acpi_namespace_node arguments[7];
1: - struct acpi_namespace_node local_variables[8];
1: - union acpi_operand_object *operands[9];
1: - union acpi_operand_object **params;
1: - u8 *aml_last_while;
1: - union acpi_operand_object **caller_return_desc;
1: - union acpi_generic_state *control_state;
1: - struct acpi_namespace_node *deferred_node;
1: - union acpi_operand_object *implicit_return_obj;
1: - struct acpi_namespace_node *method_call_node;
1: - union acpi_parse_object *method_call_op;
1: - union acpi_operand_object *method_desc;
1: - struct acpi_namespace_node *method_node;
1: - char *method_pathname;
1: - union acpi_parse_object *op;
1: - const struct acpi_opcode_info *op_info;
1: - union acpi_parse_object *origin;
1: - union acpi_operand_object *result_obj;
1: - union acpi_generic_state *results;
1: - union acpi_operand_object *return_desc;
1: - union acpi_generic_state *scope_info;
1: - union acpi_parse_object *prev_op;
1: - union acpi_parse_object *next_op;
1: - struct acpi_thread_state *thread;
1: - acpi_parse_downwards descending_callback;
1: - acpi_parse_upwards ascending_callback;
1: + struct acpi_walk_state *next;
1: + u8 descriptor_type;
1: + u8 walk_type;
1: + u16 opcode;
1: + u8 next_op_info;
1: + u8 num_operands;
1: + u8 operand_index;
1: + acpi_owner_id owner_id;
1: + u8 last_predicate;
1: + u8 current_result;
1: + u8 return_used;
1: + u8 scope_depth;
1: + u8 pass_number;
1: + u8 namespace_override;
1: + u8 result_size;
1: + u8 result_count;
1: + u8 *aml;
1: + u32 arg_types;
1: + u32 method_breakpoint;
1: + u32 user_breakpoint;
1: + u32 parse_flags;
1: + struct acpi_parse_state parser_state;
1: + u32 prev_arg_types;
1: + u32 arg_count;
1: + u16 method_nesting_depth;
1: + u8 method_is_nested;
1: + struct acpi_namespace_node arguments[7];
1: + struct acpi_namespace_node local_variables[8];
1: + union acpi_operand_object *operands[9];
1: + union acpi_operand_object **params;
1: + u8 *aml_last_while;
1: + union acpi_operand_object **caller_return_desc;
1: + union acpi_generic_state *control_state;
1: + struct acpi_namespace_node *deferred_node;
1: + union acpi_operand_object *implicit_return_obj;
1: + struct acpi_namespace_node *method_call_node;
1: + union acpi_parse_object *method_call_op;
1: + union acpi_operand_object *method_desc;
1: + struct acpi_namespace_node *method_node;
1: + char *method_pathname;
1: + union acpi_parse_object *op;
1: + const struct acpi_opcode_info *op_info;
1: + union acpi_parse_object *origin;
1: + union acpi_operand_object *result_obj;
1: + union acpi_generic_state *results;
1: + union acpi_operand_object *return_desc;
1: + union acpi_generic_state *scope_info;
1: + union acpi_parse_object *prev_op;
1: + union acpi_parse_object *next_op;
1: + struct acpi_thread_state *thread;
1: + acpi_parse_downwards descending_callback;
1: + acpi_parse_upwards ascending_callback;
1: };
1:
1: struct acpi_gpe_handler_info {
1: - acpi_gpe_handler address;
1: - void *context;
1: - struct acpi_namespace_node *method_node;
1: - u8 original_flags;
1: - u8 originally_enabled;
1: + acpi_gpe_handler address;
1: + void *context;
1: + struct acpi_namespace_node *method_node;
1: + u8 original_flags;
1: + u8 originally_enabled;
1: };
1:
1: struct acpi_gpe_notify_info {
1: - struct acpi_namespace_node *device_node;
1: - struct acpi_gpe_notify_info *next;
1: + struct acpi_namespace_node *device_node;
1: + struct acpi_gpe_notify_info *next;
1: };
1:
1: union acpi_gpe_dispatch_info {
1: - struct acpi_namespace_node *method_node;
1: - struct acpi_gpe_handler_info *handler;
1: - struct acpi_gpe_notify_info *notify_list;
1: + struct acpi_namespace_node *method_node;
1: + struct acpi_gpe_handler_info *handler;
1: + struct acpi_gpe_notify_info *notify_list;
1: };
1:
1: struct acpi_gpe_register_info;
1:
1: struct acpi_gpe_event_info {
1: - union acpi_gpe_dispatch_info dispatch;
1: - struct acpi_gpe_register_info *register_info;
1: - u8 flags;
1: - u8 gpe_number;
1: - u8 runtime_count;
1: - u8 disable_for_dispatch;
1: + union acpi_gpe_dispatch_info dispatch;
1: + struct acpi_gpe_register_info *register_info;
1: + u8 flags;
1: + u8 gpe_number;
1: + u8 runtime_count;
1: + u8 disable_for_dispatch;
1: };
1:
1: struct acpi_gpe_register_info {
1: - struct acpi_generic_address status_address;
1: - struct acpi_generic_address enable_address;
1: - u16 base_gpe_number;
1: - u8 enable_for_wake;
1: - u8 enable_for_run;
1: - u8 mask_for_run;
1: - u8 enable_mask;
1: + struct acpi_generic_address status_address;
1: + struct acpi_generic_address enable_address;
1: + u16 base_gpe_number;
1: + u8 enable_for_wake;
1: + u8 enable_for_run;
1: + u8 mask_for_run;
1: + u8 enable_mask;
1: } __attribute__((packed));
1:
1: struct acpi_gpe_xrupt_info;
1:
1: struct acpi_gpe_block_info {
1: - struct acpi_namespace_node *node;
1: - struct acpi_gpe_block_info *previous;
1: - struct acpi_gpe_block_info *next;
1: - struct acpi_gpe_xrupt_info *xrupt_block;
1: - struct acpi_gpe_register_info *register_info;
1: - struct acpi_gpe_event_info *event_info;
1: - u64 address;
1: - u32 register_count;
1: - u16 gpe_count;
1: - u16 block_base_number;
1: - u8 space_id;
1: - u8 initialized;
1: + struct acpi_namespace_node *node;
1: + struct acpi_gpe_block_info *previous;
1: + struct acpi_gpe_block_info *next;
1: + struct acpi_gpe_xrupt_info *xrupt_block;
1: + struct acpi_gpe_register_info *register_info;
1: + struct acpi_gpe_event_info *event_info;
1: + u64 address;
1: + u32 register_count;
1: + u16 gpe_count;
1: + u16 block_base_number;
1: + u8 space_id;
1: + u8 initialized;
1: };
1:
1: struct acpi_gpe_xrupt_info {
1: - struct acpi_gpe_xrupt_info *previous;
1: - struct acpi_gpe_xrupt_info *next;
1: - struct acpi_gpe_block_info *gpe_block_list_head;
1: - u32 interrupt_number;
1: + struct acpi_gpe_xrupt_info *previous;
1: + struct acpi_gpe_xrupt_info *next;
1: + struct acpi_gpe_block_info *gpe_block_list_head;
1: + u32 interrupt_number;
1: };
1:
1: struct acpi_common_state {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: };
1:
1: struct acpi_update_state {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: - union acpi_operand_object *object;
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + union acpi_operand_object *object;
1: };
1:
1: struct acpi_pkg_state {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: - u32 index;
1: - union acpi_operand_object *source_object;
1: - union acpi_operand_object *dest_object;
1: - struct acpi_walk_state *walk_state;
1: - void *this_target_obj;
1: - u32 num_packages;
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u32 index;
1: + union acpi_operand_object *source_object;
1: + union acpi_operand_object *dest_object;
1: + struct acpi_walk_state *walk_state;
1: + void *this_target_obj;
1: + u32 num_packages;
1: };
1:
1: struct acpi_control_state {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: - u16 opcode;
1: - union acpi_parse_object *predicate_op;
1: - u8 *aml_predicate_start;
1: - u8 *package_end;
1: - u64 loop_timeout;
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u16 opcode;
1: + union acpi_parse_object *predicate_op;
1: + u8 *aml_predicate_start;
1: + u8 *package_end;
1: + u64 loop_timeout;
1: };
1:
1: union acpi_parse_value {
1: - u64 integer;
1: - u32 size;
1: - char *string;
1: - u8 *buffer;
1: - char *name;
1: - union acpi_parse_object *arg;
1: + u64 integer;
1: + u32 size;
1: + char *string;
1: + u8 *buffer;
1: + char *name;
1: + union acpi_parse_object *arg;
1: };
1:
1: struct acpi_parse_obj_common {
1: - union acpi_parse_object *parent;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 aml_opcode;
1: - u8 *aml;
1: - union acpi_parse_object *next;
1: - struct acpi_namespace_node *node;
1: - union acpi_parse_value value;
1: - u8 arg_list_length;
1: + union acpi_parse_object *parent;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 aml_opcode;
1: + u8 *aml;
1: + union acpi_parse_object *next;
1: + struct acpi_namespace_node *node;
1: + union acpi_parse_value value;
1: + u8 arg_list_length;
1: };
1:
1: struct acpi_parse_obj_named {
1: - union acpi_parse_object *parent;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 aml_opcode;
1: - u8 *aml;
1: - union acpi_parse_object *next;
1: - struct acpi_namespace_node *node;
1: - union acpi_parse_value value;
1: - u8 arg_list_length;
1: - char *path;
1: - u8 *data;
1: - u32 length;
1: - u32 name;
1: + union acpi_parse_object *parent;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 aml_opcode;
1: + u8 *aml;
1: + union acpi_parse_object *next;
1: + struct acpi_namespace_node *node;
1: + union acpi_parse_value value;
1: + u8 arg_list_length;
1: + char *path;
1: + u8 *data;
1: + u32 length;
1: + u32 name;
1: };
1:
1: struct acpi_parse_obj_asl {
1: - union acpi_parse_object *parent;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 aml_opcode;
1: - u8 *aml;
1: - union acpi_parse_object *next;
1: - struct acpi_namespace_node *node;
1: - union acpi_parse_value value;
1: - u8 arg_list_length;
1: - union acpi_parse_object *child;
1: - union acpi_parse_object *parent_method;
1: - char *filename;
1: - u8 file_changed;
1: - char *parent_filename;
1: - char *external_name;
1: - char *namepath;
1: - char name_seg[4];
1: - u32 extra_value;
1: - u32 column;
1: - u32 line_number;
1: - u32 logical_line_number;
1: - u32 logical_byte_offset;
1: - u32 end_line;
1: - u32 end_logical_line;
1: - u32 acpi_btype;
1: - u32 aml_length;
1: - u32 aml_subtree_length;
1: - u32 final_aml_length;
1: - u32 final_aml_offset;
1: - u32 compile_flags;
1: - u16 parse_opcode;
1: - u8 aml_opcode_length;
1: - u8 aml_pkg_len_bytes;
1: - u8 extra;
1: - char parse_op_name[20];
1: + union acpi_parse_object *parent;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 aml_opcode;
1: + u8 *aml;
1: + union acpi_parse_object *next;
1: + struct acpi_namespace_node *node;
1: + union acpi_parse_value value;
1: + u8 arg_list_length;
1: + union acpi_parse_object *child;
1: + union acpi_parse_object *parent_method;
1: + char *filename;
1: + u8 file_changed;
1: + char *parent_filename;
1: + char *external_name;
1: + char *namepath;
1: + char name_seg[4];
1: + u32 extra_value;
1: + u32 column;
1: + u32 line_number;
1: + u32 logical_line_number;
1: + u32 logical_byte_offset;
1: + u32 end_line;
1: + u32 end_logical_line;
1: + u32 acpi_btype;
1: + u32 aml_length;
1: + u32 aml_subtree_length;
1: + u32 final_aml_length;
1: + u32 final_aml_offset;
1: + u32 compile_flags;
1: + u16 parse_opcode;
1: + u8 aml_opcode_length;
1: + u8 aml_pkg_len_bytes;
1: + u8 extra;
1: + char parse_op_name[20];
1: };
1:
1: union acpi_parse_object {
1: - struct acpi_parse_obj_common common;
1: - struct acpi_parse_obj_named named;
1: - struct acpi_parse_obj_asl asl;
1: + struct acpi_parse_obj_common common;
1: + struct acpi_parse_obj_named named;
1: + struct acpi_parse_obj_asl asl;
1: };
1:
1: struct acpi_scope_state {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: - struct acpi_namespace_node *node;
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + struct acpi_namespace_node *node;
1: };
1:
1: struct acpi_pscope_state {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: - u32 arg_count;
1: - union acpi_parse_object *op;
1: - u8 *arg_end;
1: - u8 *pkg_end;
1: - u32 arg_list;
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u32 arg_count;
1: + union acpi_parse_object *op;
1: + u8 *arg_end;
1: + u8 *pkg_end;
1: + u32 arg_list;
1: };
1:
1: struct acpi_thread_state {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: - u8 current_sync_level;
1: - struct acpi_walk_state *walk_state_list;
1: - union acpi_operand_object *acquired_mutex_list;
1: - u64 thread_id;
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u8 current_sync_level;
1: + struct acpi_walk_state *walk_state_list;
1: + union acpi_operand_object *acquired_mutex_list;
1: + u64 thread_id;
1: };
1:
1: struct acpi_result_values {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: - union acpi_operand_object *obj_desc[8];
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + union acpi_operand_object *obj_desc[8];
1: };
1:
1: struct acpi_global_notify_handler {
1: - acpi_notify_handler handler;
1: - void *context;
1: + acpi_notify_handler handler;
1: + void *context;
1: };
1:
1: struct acpi_notify_info {
1: - void *next;
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 value;
1: - u16 state;
1: - u8 handler_list_id;
1: - struct acpi_namespace_node *node;
1: - union acpi_operand_object *handler_list_head;
1: - struct acpi_global_notify_handler *global;
1: + void *next;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 value;
1: + u16 state;
1: + u8 handler_list_id;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object *handler_list_head;
1: + struct acpi_global_notify_handler *global;
1: };
1:
1: union acpi_generic_state {
1: - struct acpi_common_state common;
1: - struct acpi_control_state control;
1: - struct acpi_update_state update;
1: - struct acpi_scope_state scope;
1: - struct acpi_pscope_state parse_scope;
1: - struct acpi_pkg_state pkg;
1: - struct acpi_thread_state thread;
1: - struct acpi_result_values results;
1: - struct acpi_notify_info notify;
1: + struct acpi_common_state common;
1: + struct acpi_control_state control;
1: + struct acpi_update_state update;
1: + struct acpi_scope_state scope;
1: + struct acpi_pscope_state parse_scope;
1: + struct acpi_pkg_state pkg;
1: + struct acpi_thread_state thread;
1: + struct acpi_result_values results;
1: + struct acpi_notify_info notify;
1: };
1:
1: struct acpi_opcode_info {
1: - u32 parse_args;
1: - u32 runtime_args;
1: - u16 flags;
1: - u8 object_type;
1: - u8 class;
1: - u8 type;
1: + u32 parse_args;
1: + u32 runtime_args;
1: + u16 flags;
1: + u8 object_type;
1: + u8 class;
1: + u8 type;
1: };
1:
1: struct acpi_os_dpc {
1: - acpi_osd_exec_callback function;
1: - void *context;
1: - struct work_struct work;
1: + acpi_osd_exec_callback function;
1: + void *context;
1: + struct work_struct work;
1: };
1:
1: struct acpi_ioremap {
1: - struct list_head list;
1: - void *virt;
1: - acpi_physical_address phys;
1: - acpi_size size;
1: - long unsigned int refcount;
1: + struct list_head list;
1: + void *virt;
1: + acpi_physical_address phys;
1: + acpi_size size;
1: + long unsigned int refcount;
1: };
1:
1: struct acpi_hp_work {
1: - struct work_struct work;
1: - struct acpi_device *adev;
1: - u32 src;
1: + struct work_struct work;
1: + struct acpi_device *adev;
1: + u32 src;
1: };
1:
1: struct acpi_pld_info {
1: - u8 revision;
1: - u8 ignore_color;
1: - u8 red;
1: - u8 green;
1: - u8 blue;
1: - u16 width;
1: - u16 height;
1: - u8 user_visible;
1: - u8 dock;
1: - u8 lid;
1: - u8 panel;
1: - u8 vertical_position;
1: - u8 horizontal_position;
1: - u8 shape;
1: - u8 group_orientation;
1: - u8 group_token;
1: - u8 group_position;
1: - u8 bay;
1: - u8 ejectable;
1: - u8 ospm_eject_required;
1: - u8 cabinet_number;
1: - u8 card_cage_number;
1: - u8 reference;
1: - u8 rotation;
1: - u8 order;
1: - u8 reserved;
1: - u16 vertical_offset;
1: - u16 horizontal_offset;
1: + u8 revision;
1: + u8 ignore_color;
1: + u8 red;
1: + u8 green;
1: + u8 blue;
1: + u16 width;
1: + u16 height;
1: + u8 user_visible;
1: + u8 dock;
1: + u8 lid;
1: + u8 panel;
1: + u8 vertical_position;
1: + u8 horizontal_position;
1: + u8 shape;
1: + u8 group_orientation;
1: + u8 group_token;
1: + u8 group_position;
1: + u8 bay;
1: + u8 ejectable;
1: + u8 ospm_eject_required;
1: + u8 cabinet_number;
1: + u8 card_cage_number;
1: + u8 reference;
1: + u8 rotation;
1: + u8 order;
1: + u8 reserved;
1: + u16 vertical_offset;
1: + u16 horizontal_offset;
1: };
1:
1: struct acpi_handle_list {
1: - u32 count;
1: - acpi_handle handles[10];
1: + u32 count;
1: + acpi_handle handles[10];
1: };
1:
1: struct acpi_device_bus_id {
1: - char bus_id[15];
1: - unsigned int instance_no;
1: - struct list_head node;
1: + char bus_id[15];
1: + unsigned int instance_no;
1: + struct list_head node;
1: };
1:
1: struct acpi_dev_match_info {
1: - struct acpi_device_id hid[2];
1: - const char *uid;
1: - s64 hrv;
1: + struct acpi_device_id hid[2];
1: + const char *uid;
1: + s64 hrv;
1: };
1:
1: struct nvs_region {
1: - __u64 phys_start;
1: - __u64 size;
1: - struct list_head node;
1: + __u64 phys_start;
1: + __u64 size;
1: + struct list_head node;
1: };
1:
1: struct nvs_page {
1: - long unsigned int phys_start;
1: - unsigned int size;
1: - void *kaddr;
1: - void *data;
1: - bool unmap;
1: - struct list_head node;
1: + long unsigned int phys_start;
1: + unsigned int size;
1: + void *kaddr;
1: + void *data;
1: + bool unmap;
1: + struct list_head node;
1: };
1:
1: typedef u32 acpi_event_status;
1:
1: struct acpi_table_facs {
1: - char signature[4];
1: - u32 length;
1: - u32 hardware_signature;
1: - u32 firmware_waking_vector;
1: - u32 global_lock;
1: - u32 flags;
1: - u64 xfirmware_waking_vector;
1: - u8 version;
1: - u8 reserved[3];
1: - u32 ospm_flags;
1: - u8 reserved1[24];
1: + char signature[4];
1: + u32 length;
1: + u32 hardware_signature;
1: + u32 firmware_waking_vector;
1: + u32 global_lock;
1: + u32 flags;
1: + u64 xfirmware_waking_vector;
1: + u8 version;
1: + u8 reserved[3];
1: + u32 ospm_flags;
1: + u8 reserved1[24];
1: };
1:
1: struct lpi_device_info {
1: - char *name;
1: - int enabled;
1: - union acpi_object *package;
1: + char *name;
1: + int enabled;
1: + union acpi_object *package;
1: };
1:
1: struct lpi_device_constraint {
1: - int uid;
1: - int min_dstate;
1: - int function_states;
1: + int uid;
1: + int min_dstate;
1: + int function_states;
1: };
1:
1: struct lpi_constraints {
1: - acpi_handle handle;
1: - int min_dstate;
1: + acpi_handle handle;
1: + int min_dstate;
1: };
1:
1: struct acpi_hardware_id {
1: - struct list_head list;
1: - const char *id;
1: + struct list_head list;
1: + const char *id;
1: };
1:
1: struct acpi_data_node {
1: - const char *name;
1: - acpi_handle handle;
1: - struct fwnode_handle fwnode;
1: - struct fwnode_handle *parent;
1: - struct acpi_device_data data;
1: - struct list_head sibling;
1: - struct kobject kobj;
1: - struct completion kobj_done;
1: + const char *name;
1: + acpi_handle handle;
1: + struct fwnode_handle fwnode;
1: + struct fwnode_handle *parent;
1: + struct acpi_device_data data;
1: + struct list_head sibling;
1: + struct kobject kobj;
1: + struct completion kobj_done;
1: };
1:
1: struct acpi_data_node_attr {
1: - struct attribute attr;
1: - ssize_t (*show)(struct acpi_data_node *, char *);
1: - ssize_t (*store)(struct acpi_data_node *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct acpi_data_node *, char *);
1: + ssize_t (*store)(struct acpi_data_node *, const char *, size_t);
1: };
1:
1: struct acpi_device_physical_node {
1: - unsigned int node_id;
1: - struct list_head node;
1: - struct device *dev;
1: - bool put_online: 1;
1: + unsigned int node_id;
1: + struct list_head node;
1: + struct device *dev;
1: + bool put_online : 1;
1: };
1:
1: typedef u32 (*acpi_event_handler)(void *);
1: @@ -59481,586 +59915,589 @@ typedef u32 (*acpi_event_handler)(void *);
1: typedef acpi_status (*acpi_table_handler)(u32, void *, void *);
1:
1: enum acpi_bus_device_type {
1: - ACPI_BUS_TYPE_DEVICE = 0,
1: - ACPI_BUS_TYPE_POWER = 1,
1: - ACPI_BUS_TYPE_PROCESSOR = 2,
1: - ACPI_BUS_TYPE_THERMAL = 3,
1: - ACPI_BUS_TYPE_POWER_BUTTON = 4,
1: - ACPI_BUS_TYPE_SLEEP_BUTTON = 5,
1: - ACPI_BUS_TYPE_ECDT_EC = 6,
1: - ACPI_BUS_DEVICE_TYPE_COUNT = 7,
1: + ACPI_BUS_TYPE_DEVICE = 0,
1: + ACPI_BUS_TYPE_POWER = 1,
1: + ACPI_BUS_TYPE_PROCESSOR = 2,
1: + ACPI_BUS_TYPE_THERMAL = 3,
1: + ACPI_BUS_TYPE_POWER_BUTTON = 4,
1: + ACPI_BUS_TYPE_SLEEP_BUTTON = 5,
1: + ACPI_BUS_TYPE_ECDT_EC = 6,
1: + ACPI_BUS_DEVICE_TYPE_COUNT = 7,
1: };
1:
1: struct acpi_osc_context {
1: - char *uuid_str;
1: - int rev;
1: - struct acpi_buffer cap;
1: - struct acpi_buffer ret;
1: + char *uuid_str;
1: + int rev;
1: + struct acpi_buffer cap;
1: + struct acpi_buffer ret;
1: };
1:
1: struct acpi_pnp_device_id {
1: - u32 length;
1: - char *string;
1: + u32 length;
1: + char *string;
1: };
1:
1: struct acpi_pnp_device_id_list {
1: - u32 count;
1: - u32 list_size;
1: - struct acpi_pnp_device_id ids[1];
1: + u32 count;
1: + u32 list_size;
1: + struct acpi_pnp_device_id ids[1];
1: };
1:
1: struct acpi_device_info {
1: - u32 info_size;
1: - u32 name;
1: - acpi_object_type type;
1: - u8 param_count;
1: - u16 valid;
1: - u8 flags;
1: - u8 highest_dstates[4];
1: - u8 lowest_dstates[5];
1: - u64 address;
1: - struct acpi_pnp_device_id hardware_id;
1: - struct acpi_pnp_device_id unique_id;
1: - struct acpi_pnp_device_id class_code;
1: - struct acpi_pnp_device_id_list compatible_id_list;
1: + u32 info_size;
1: + u32 name;
1: + acpi_object_type type;
1: + u8 param_count;
1: + u16 valid;
1: + u8 flags;
1: + u8 highest_dstates[4];
1: + u8 lowest_dstates[5];
1: + u64 address;
1: + struct acpi_pnp_device_id hardware_id;
1: + struct acpi_pnp_device_id unique_id;
1: + struct acpi_pnp_device_id class_code;
1: + struct acpi_pnp_device_id_list compatible_id_list;
1: };
1:
1: struct acpi_table_spcr {
1: - struct acpi_table_header header;
1: - u8 interface_type;
1: - u8 reserved[3];
1: - struct acpi_generic_address serial_port;
1: - u8 interrupt_type;
1: - u8 pc_interrupt;
1: - u32 interrupt;
1: - u8 baud_rate;
1: - u8 parity;
1: - u8 stop_bits;
1: - u8 flow_control;
1: - u8 terminal_type;
1: - u8 reserved1;
1: - u16 pci_device_id;
1: - u16 pci_vendor_id;
1: - u8 pci_bus;
1: - u8 pci_device;
1: - u8 pci_function;
1: - u32 pci_flags;
1: - u8 pci_segment;
1: - u32 reserved2;
1: + struct acpi_table_header header;
1: + u8 interface_type;
1: + u8 reserved[3];
1: + struct acpi_generic_address serial_port;
1: + u8 interrupt_type;
1: + u8 pc_interrupt;
1: + u32 interrupt;
1: + u8 baud_rate;
1: + u8 parity;
1: + u8 stop_bits;
1: + u8 flow_control;
1: + u8 terminal_type;
1: + u8 reserved1;
1: + u16 pci_device_id;
1: + u16 pci_vendor_id;
1: + u8 pci_bus;
1: + u8 pci_device;
1: + u8 pci_function;
1: + u32 pci_flags;
1: + u8 pci_segment;
1: + u32 reserved2;
1: } __attribute__((packed));
1:
1: struct acpi_table_stao {
1: - struct acpi_table_header header;
1: - u8 ignore_uart;
1: + struct acpi_table_header header;
1: + u8 ignore_uart;
1: } __attribute__((packed));
1:
1: struct acpi_resource_irq {
1: - u8 descriptor_length;
1: - u8 triggering;
1: - u8 polarity;
1: - u8 shareable;
1: - u8 wake_capable;
1: - u8 interrupt_count;
1: - u8 interrupts[1];
1: + u8 descriptor_length;
1: + u8 triggering;
1: + u8 polarity;
1: + u8 shareable;
1: + u8 wake_capable;
1: + u8 interrupt_count;
1: + u8 interrupts[1];
1: };
1:
1: struct acpi_resource_dma {
1: - u8 type;
1: - u8 bus_master;
1: - u8 transfer;
1: - u8 channel_count;
1: - u8 channels[1];
1: + u8 type;
1: + u8 bus_master;
1: + u8 transfer;
1: + u8 channel_count;
1: + u8 channels[1];
1: };
1:
1: struct acpi_resource_start_dependent {
1: - u8 descriptor_length;
1: - u8 compatibility_priority;
1: - u8 performance_robustness;
1: + u8 descriptor_length;
1: + u8 compatibility_priority;
1: + u8 performance_robustness;
1: };
1:
1: struct acpi_resource_io {
1: - u8 io_decode;
1: - u8 alignment;
1: - u8 address_length;
1: - u16 minimum;
1: - u16 maximum;
1: + u8 io_decode;
1: + u8 alignment;
1: + u8 address_length;
1: + u16 minimum;
1: + u16 maximum;
1: } __attribute__((packed));
1:
1: struct acpi_resource_fixed_io {
1: - u16 address;
1: - u8 address_length;
1: + u16 address;
1: + u8 address_length;
1: } __attribute__((packed));
1:
1: struct acpi_resource_fixed_dma {
1: - u16 request_lines;
1: - u16 channels;
1: - u8 width;
1: + u16 request_lines;
1: + u16 channels;
1: + u8 width;
1: } __attribute__((packed));
1:
1: struct acpi_resource_vendor {
1: - u16 byte_length;
1: - u8 byte_data[1];
1: + u16 byte_length;
1: + u8 byte_data[1];
1: } __attribute__((packed));
1:
1: struct acpi_resource_vendor_typed {
1: - u16 byte_length;
1: - u8 uuid_subtype;
1: - u8 uuid[16];
1: - u8 byte_data[1];
1: + u16 byte_length;
1: + u8 uuid_subtype;
1: + u8 uuid[16];
1: + u8 byte_data[1];
1: };
1:
1: struct acpi_resource_end_tag {
1: - u8 checksum;
1: + u8 checksum;
1: };
1:
1: struct acpi_resource_memory24 {
1: - u8 write_protect;
1: - u16 minimum;
1: - u16 maximum;
1: - u16 alignment;
1: - u16 address_length;
1: + u8 write_protect;
1: + u16 minimum;
1: + u16 maximum;
1: + u16 alignment;
1: + u16 address_length;
1: } __attribute__((packed));
1:
1: struct acpi_resource_memory32 {
1: - u8 write_protect;
1: - u32 minimum;
1: - u32 maximum;
1: - u32 alignment;
1: - u32 address_length;
1: + u8 write_protect;
1: + u32 minimum;
1: + u32 maximum;
1: + u32 alignment;
1: + u32 address_length;
1: } __attribute__((packed));
1:
1: struct acpi_resource_fixed_memory32 {
1: - u8 write_protect;
1: - u32 address;
1: - u32 address_length;
1: + u8 write_protect;
1: + u32 address;
1: + u32 address_length;
1: } __attribute__((packed));
1:
1: struct acpi_memory_attribute {
1: - u8 write_protect;
1: - u8 caching;
1: - u8 range_type;
1: - u8 translation;
1: + u8 write_protect;
1: + u8 caching;
1: + u8 range_type;
1: + u8 translation;
1: };
1:
1: struct acpi_io_attribute {
1: - u8 range_type;
1: - u8 translation;
1: - u8 translation_type;
1: - u8 reserved1;
1: + u8 range_type;
1: + u8 translation;
1: + u8 translation_type;
1: + u8 reserved1;
1: };
1:
1: union acpi_resource_attribute {
1: - struct acpi_memory_attribute mem;
1: - struct acpi_io_attribute io;
1: - u8 type_specific;
1: + struct acpi_memory_attribute mem;
1: + struct acpi_io_attribute io;
1: + u8 type_specific;
1: };
1:
1: struct acpi_resource_label {
1: - u16 string_length;
1: - char *string_ptr;
1: + u16 string_length;
1: + char *string_ptr;
1: } __attribute__((packed));
1:
1: struct acpi_resource_source {
1: - u8 index;
1: - u16 string_length;
1: - char *string_ptr;
1: + u8 index;
1: + u16 string_length;
1: + char *string_ptr;
1: } __attribute__((packed));
1:
1: struct acpi_address16_attribute {
1: - u16 granularity;
1: - u16 minimum;
1: - u16 maximum;
1: - u16 translation_offset;
1: - u16 address_length;
1: + u16 granularity;
1: + u16 minimum;
1: + u16 maximum;
1: + u16 translation_offset;
1: + u16 address_length;
1: };
1:
1: struct acpi_address32_attribute {
1: - u32 granularity;
1: - u32 minimum;
1: - u32 maximum;
1: - u32 translation_offset;
1: - u32 address_length;
1: + u32 granularity;
1: + u32 minimum;
1: + u32 maximum;
1: + u32 translation_offset;
1: + u32 address_length;
1: };
1:
1: struct acpi_address64_attribute {
1: - u64 granularity;
1: - u64 minimum;
1: - u64 maximum;
1: - u64 translation_offset;
1: - u64 address_length;
1: + u64 granularity;
1: + u64 minimum;
1: + u64 maximum;
1: + u64 translation_offset;
1: + u64 address_length;
1: };
1:
1: struct acpi_resource_address {
1: - u8 resource_type;
1: - u8 producer_consumer;
1: - u8 decode;
1: - u8 min_address_fixed;
1: - u8 max_address_fixed;
1: - union acpi_resource_attribute info;
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: };
1:
1: struct acpi_resource_address16 {
1: - u8 resource_type;
1: - u8 producer_consumer;
1: - u8 decode;
1: - u8 min_address_fixed;
1: - u8 max_address_fixed;
1: - union acpi_resource_attribute info;
1: - struct acpi_address16_attribute address;
1: - struct acpi_resource_source resource_source;
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: + struct acpi_address16_attribute address;
1: + struct acpi_resource_source resource_source;
1: } __attribute__((packed));
1:
1: struct acpi_resource_address32 {
1: - u8 resource_type;
1: - u8 producer_consumer;
1: - u8 decode;
1: - u8 min_address_fixed;
1: - u8 max_address_fixed;
1: - union acpi_resource_attribute info;
1: - struct acpi_address32_attribute address;
1: - struct acpi_resource_source resource_source;
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: + struct acpi_address32_attribute address;
1: + struct acpi_resource_source resource_source;
1: } __attribute__((packed));
1:
1: struct acpi_resource_address64 {
1: - u8 resource_type;
1: - u8 producer_consumer;
1: - u8 decode;
1: - u8 min_address_fixed;
1: - u8 max_address_fixed;
1: - union acpi_resource_attribute info;
1: - struct acpi_address64_attribute address;
1: - struct acpi_resource_source resource_source;
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: + struct acpi_address64_attribute address;
1: + struct acpi_resource_source resource_source;
1: } __attribute__((packed));
1:
1: struct acpi_resource_extended_address64 {
1: - u8 resource_type;
1: - u8 producer_consumer;
1: - u8 decode;
1: - u8 min_address_fixed;
1: - u8 max_address_fixed;
1: - union acpi_resource_attribute info;
1: - u8 revision_ID;
1: - struct acpi_address64_attribute address;
1: - u64 type_specific;
1: + u8 resource_type;
1: + u8 producer_consumer;
1: + u8 decode;
1: + u8 min_address_fixed;
1: + u8 max_address_fixed;
1: + union acpi_resource_attribute info;
1: + u8 revision_ID;
1: + struct acpi_address64_attribute address;
1: + u64 type_specific;
1: } __attribute__((packed));
1:
1: struct acpi_resource_extended_irq {
1: - u8 producer_consumer;
1: - u8 triggering;
1: - u8 polarity;
1: - u8 shareable;
1: - u8 wake_capable;
1: - u8 interrupt_count;
1: - struct acpi_resource_source resource_source;
1: - u32 interrupts[1];
1: + u8 producer_consumer;
1: + u8 triggering;
1: + u8 polarity;
1: + u8 shareable;
1: + u8 wake_capable;
1: + u8 interrupt_count;
1: + struct acpi_resource_source resource_source;
1: + u32 interrupts[1];
1: } __attribute__((packed));
1:
1: struct acpi_resource_generic_register {
1: - u8 space_id;
1: - u8 bit_width;
1: - u8 bit_offset;
1: - u8 access_size;
1: - u64 address;
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_size;
1: + u64 address;
1: } __attribute__((packed));
1:
1: struct acpi_resource_gpio {
1: - u8 revision_id;
1: - u8 connection_type;
1: - u8 producer_consumer;
1: - u8 pin_config;
1: - u8 shareable;
1: - u8 wake_capable;
1: - u8 io_restriction;
1: - u8 triggering;
1: - u8 polarity;
1: - u16 drive_strength;
1: - u16 debounce_timeout;
1: - u16 pin_table_length;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - u16 *pin_table;
1: - u8 *vendor_data;
1: + u8 revision_id;
1: + u8 connection_type;
1: + u8 producer_consumer;
1: + u8 pin_config;
1: + u8 shareable;
1: + u8 wake_capable;
1: + u8 io_restriction;
1: + u8 triggering;
1: + u8 polarity;
1: + u16 drive_strength;
1: + u16 debounce_timeout;
1: + u16 pin_table_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u16 *pin_table;
1: + u8 *vendor_data;
1: } __attribute__((packed));
1:
1: struct acpi_resource_common_serialbus {
1: - u8 revision_id;
1: - u8 type;
1: - u8 producer_consumer;
1: - u8 slave_mode;
1: - u8 connection_sharing;
1: - u8 type_revision_id;
1: - u16 type_data_length;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - u8 *vendor_data;
1: + u8 revision_id;
1: + u8 type;
1: + u8 producer_consumer;
1: + u8 slave_mode;
1: + u8 connection_sharing;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u8 *vendor_data;
1: } __attribute__((packed));
1:
1: struct acpi_resource_i2c_serialbus {
1: - u8 revision_id;
1: - u8 type;
1: - u8 producer_consumer;
1: - u8 slave_mode;
1: - u8 connection_sharing;
1: - u8 type_revision_id;
1: - u16 type_data_length;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - u8 *vendor_data;
1: - u8 access_mode;
1: - u16 slave_address;
1: - u32 connection_speed;
1: + u8 revision_id;
1: + u8 type;
1: + u8 producer_consumer;
1: + u8 slave_mode;
1: + u8 connection_sharing;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u8 *vendor_data;
1: + u8 access_mode;
1: + u16 slave_address;
1: + u32 connection_speed;
1: } __attribute__((packed));
1:
1: struct acpi_resource_spi_serialbus {
1: - u8 revision_id;
1: - u8 type;
1: - u8 producer_consumer;
1: - u8 slave_mode;
1: - u8 connection_sharing;
1: - u8 type_revision_id;
1: - u16 type_data_length;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - u8 *vendor_data;
1: - u8 wire_mode;
1: - u8 device_polarity;
1: - u8 data_bit_length;
1: - u8 clock_phase;
1: - u8 clock_polarity;
1: - u16 device_selection;
1: - u32 connection_speed;
1: + u8 revision_id;
1: + u8 type;
1: + u8 producer_consumer;
1: + u8 slave_mode;
1: + u8 connection_sharing;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u8 *vendor_data;
1: + u8 wire_mode;
1: + u8 device_polarity;
1: + u8 data_bit_length;
1: + u8 clock_phase;
1: + u8 clock_polarity;
1: + u16 device_selection;
1: + u32 connection_speed;
1: } __attribute__((packed));
1:
1: struct acpi_resource_uart_serialbus {
1: - u8 revision_id;
1: - u8 type;
1: - u8 producer_consumer;
1: - u8 slave_mode;
1: - u8 connection_sharing;
1: - u8 type_revision_id;
1: - u16 type_data_length;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - u8 *vendor_data;
1: - u8 endian;
1: - u8 data_bits;
1: - u8 stop_bits;
1: - u8 flow_control;
1: - u8 parity;
1: - u8 lines_enabled;
1: - u16 rx_fifo_size;
1: - u16 tx_fifo_size;
1: - u32 default_baud_rate;
1: + u8 revision_id;
1: + u8 type;
1: + u8 producer_consumer;
1: + u8 slave_mode;
1: + u8 connection_sharing;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u8 *vendor_data;
1: + u8 endian;
1: + u8 data_bits;
1: + u8 stop_bits;
1: + u8 flow_control;
1: + u8 parity;
1: + u8 lines_enabled;
1: + u16 rx_fifo_size;
1: + u16 tx_fifo_size;
1: + u32 default_baud_rate;
1: } __attribute__((packed));
1:
1: struct acpi_resource_pin_function {
1: - u8 revision_id;
1: - u8 pin_config;
1: - u8 shareable;
1: - u16 function_number;
1: - u16 pin_table_length;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - u16 *pin_table;
1: - u8 *vendor_data;
1: + u8 revision_id;
1: + u8 pin_config;
1: + u8 shareable;
1: + u16 function_number;
1: + u16 pin_table_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u16 *pin_table;
1: + u8 *vendor_data;
1: } __attribute__((packed));
1:
1: struct acpi_resource_pin_config {
1: - u8 revision_id;
1: - u8 producer_consumer;
1: - u8 shareable;
1: - u8 pin_config_type;
1: - u32 pin_config_value;
1: - u16 pin_table_length;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - u16 *pin_table;
1: - u8 *vendor_data;
1: + u8 revision_id;
1: + u8 producer_consumer;
1: + u8 shareable;
1: + u8 pin_config_type;
1: + u32 pin_config_value;
1: + u16 pin_table_length;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + u16 *pin_table;
1: + u8 *vendor_data;
1: } __attribute__((packed));
1:
1: struct acpi_resource_pin_group {
1: - u8 revision_id;
1: - u8 producer_consumer;
1: - u16 pin_table_length;
1: - u16 vendor_length;
1: - u16 *pin_table;
1: - struct acpi_resource_label resource_label;
1: - u8 *vendor_data;
1: + u8 revision_id;
1: + u8 producer_consumer;
1: + u16 pin_table_length;
1: + u16 vendor_length;
1: + u16 *pin_table;
1: + struct acpi_resource_label resource_label;
1: + u8 *vendor_data;
1: } __attribute__((packed));
1:
1: struct acpi_resource_pin_group_function {
1: - u8 revision_id;
1: - u8 producer_consumer;
1: - u8 shareable;
1: - u16 function_number;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - struct acpi_resource_label resource_source_label;
1: - u8 *vendor_data;
1: + u8 revision_id;
1: + u8 producer_consumer;
1: + u8 shareable;
1: + u16 function_number;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + struct acpi_resource_label resource_source_label;
1: + u8 *vendor_data;
1: } __attribute__((packed));
1:
1: struct acpi_resource_pin_group_config {
1: - u8 revision_id;
1: - u8 producer_consumer;
1: - u8 shareable;
1: - u8 pin_config_type;
1: - u32 pin_config_value;
1: - u16 vendor_length;
1: - struct acpi_resource_source resource_source;
1: - struct acpi_resource_label resource_source_label;
1: - u8 *vendor_data;
1: + u8 revision_id;
1: + u8 producer_consumer;
1: + u8 shareable;
1: + u8 pin_config_type;
1: + u32 pin_config_value;
1: + u16 vendor_length;
1: + struct acpi_resource_source resource_source;
1: + struct acpi_resource_label resource_source_label;
1: + u8 *vendor_data;
1: } __attribute__((packed));
1:
1: union acpi_resource_data {
1: - struct acpi_resource_irq irq;
1: - struct acpi_resource_dma dma;
1: - struct acpi_resource_start_dependent start_dpf;
1: - struct acpi_resource_io io;
1: - struct acpi_resource_fixed_io fixed_io;
1: - struct acpi_resource_fixed_dma fixed_dma;
1: - struct acpi_resource_vendor vendor;
1: - struct acpi_resource_vendor_typed vendor_typed;
1: - struct acpi_resource_end_tag end_tag;
1: - struct acpi_resource_memory24 memory24;
1: - struct acpi_resource_memory32 memory32;
1: - struct acpi_resource_fixed_memory32 fixed_memory32;
1: - struct acpi_resource_address16 address16;
1: - struct acpi_resource_address32 address32;
1: - struct acpi_resource_address64 address64;
1: - struct acpi_resource_extended_address64 ext_address64;
1: - struct acpi_resource_extended_irq extended_irq;
1: - struct acpi_resource_generic_register generic_reg;
1: - struct acpi_resource_gpio gpio;
1: - struct acpi_resource_i2c_serialbus i2c_serial_bus;
1: - struct acpi_resource_spi_serialbus spi_serial_bus;
1: - struct acpi_resource_uart_serialbus uart_serial_bus;
1: - struct acpi_resource_common_serialbus common_serial_bus;
1: - struct acpi_resource_pin_function pin_function;
1: - struct acpi_resource_pin_config pin_config;
1: - struct acpi_resource_pin_group pin_group;
1: - struct acpi_resource_pin_group_function pin_group_function;
1: - struct acpi_resource_pin_group_config pin_group_config;
1: - struct acpi_resource_address address;
1: + struct acpi_resource_irq irq;
1: + struct acpi_resource_dma dma;
1: + struct acpi_resource_start_dependent start_dpf;
1: + struct acpi_resource_io io;
1: + struct acpi_resource_fixed_io fixed_io;
1: + struct acpi_resource_fixed_dma fixed_dma;
1: + struct acpi_resource_vendor vendor;
1: + struct acpi_resource_vendor_typed vendor_typed;
1: + struct acpi_resource_end_tag end_tag;
1: + struct acpi_resource_memory24 memory24;
1: + struct acpi_resource_memory32 memory32;
1: + struct acpi_resource_fixed_memory32 fixed_memory32;
1: + struct acpi_resource_address16 address16;
1: + struct acpi_resource_address32 address32;
1: + struct acpi_resource_address64 address64;
1: + struct acpi_resource_extended_address64 ext_address64;
1: + struct acpi_resource_extended_irq extended_irq;
1: + struct acpi_resource_generic_register generic_reg;
1: + struct acpi_resource_gpio gpio;
1: + struct acpi_resource_i2c_serialbus i2c_serial_bus;
1: + struct acpi_resource_spi_serialbus spi_serial_bus;
1: + struct acpi_resource_uart_serialbus uart_serial_bus;
1: + struct acpi_resource_common_serialbus common_serial_bus;
1: + struct acpi_resource_pin_function pin_function;
1: + struct acpi_resource_pin_config pin_config;
1: + struct acpi_resource_pin_group pin_group;
1: + struct acpi_resource_pin_group_function pin_group_function;
1: + struct acpi_resource_pin_group_config pin_group_config;
1: + struct acpi_resource_address address;
1: };
1:
1: struct acpi_resource {
1: - u32 type;
1: - u32 length;
1: - union acpi_resource_data data;
1: + u32 type;
1: + u32 length;
1: + union acpi_resource_data data;
1: } __attribute__((packed));
1:
1: -typedef acpi_status (*acpi_walk_resource_callback)(struct acpi_resource *, void *);
1: +typedef acpi_status (*acpi_walk_resource_callback)(struct acpi_resource *,
1: + void *);
1:
1: enum acpi_reconfig_event {
1: - ACPI_RECONFIG_DEVICE_ADD = 0,
1: - ACPI_RECONFIG_DEVICE_REMOVE = 1,
1: + ACPI_RECONFIG_DEVICE_ADD = 0,
1: + ACPI_RECONFIG_DEVICE_REMOVE = 1,
1: };
1:
1: struct acpi_probe_entry;
1:
1: -typedef bool (*acpi_probe_entry_validate_subtbl)(struct acpi_subtable_header *, struct acpi_probe_entry *);
1: +typedef bool (*acpi_probe_entry_validate_subtbl)(struct acpi_subtable_header *,
1: + struct acpi_probe_entry *);
1:
1: struct acpi_probe_entry {
1: - __u8 id[5];
1: - __u8 type;
1: - acpi_probe_entry_validate_subtbl subtable_valid;
1: - union {
1: - acpi_tbl_table_handler probe_table;
1: - acpi_tbl_entry_handler probe_subtbl;
1: - };
1: - kernel_ulong_t driver_data;
1: + __u8 id[5];
1: + __u8 type;
1: + acpi_probe_entry_validate_subtbl subtable_valid;
1: + union {
1: + acpi_tbl_table_handler probe_table;
1: + acpi_tbl_entry_handler probe_subtbl;
1: + };
1: + kernel_ulong_t driver_data;
1: };
1:
1: struct acpi_dep_data {
1: - struct list_head node;
1: - acpi_handle master;
1: - acpi_handle slave;
1: + struct list_head node;
1: + acpi_handle master;
1: + acpi_handle slave;
1: };
1:
1: struct acpi_table_events_work {
1: - struct work_struct work;
1: - void *table;
1: - u32 event;
1: + struct work_struct work;
1: + void *table;
1: + u32 event;
1: };
1:
1: struct resource_win {
1: - struct resource res;
1: - resource_size_t offset;
1: + struct resource res;
1: + resource_size_t offset;
1: };
1:
1: struct res_proc_context {
1: - struct list_head *list;
1: - int (*preproc)(struct acpi_resource *, void *);
1: - void *preproc_data;
1: - int count;
1: - int error;
1: + struct list_head *list;
1: + int (*preproc)(struct acpi_resource *, void *);
1: + void *preproc_data;
1: + int count;
1: + int error;
1: };
1:
1: struct thermal_cooling_device_ops;
1:
1: struct thermal_cooling_device {
1: - int id;
1: - char type[20];
1: - struct device device;
1: - struct device_node *np;
1: - void *devdata;
1: - void *stats;
1: - const struct thermal_cooling_device_ops *ops;
1: - bool updated;
1: - struct mutex lock;
1: - struct list_head thermal_instances;
1: - struct list_head node;
1: + int id;
1: + char type[20];
1: + struct device device;
1: + struct device_node *np;
1: + void *devdata;
1: + void *stats;
1: + const struct thermal_cooling_device_ops *ops;
1: + bool updated;
1: + struct mutex lock;
1: + struct list_head thermal_instances;
1: + struct list_head node;
1: };
1:
1: enum thermal_device_mode {
1: - THERMAL_DEVICE_DISABLED = 0,
1: - THERMAL_DEVICE_ENABLED = 1,
1: + THERMAL_DEVICE_DISABLED = 0,
1: + THERMAL_DEVICE_ENABLED = 1,
1: };
1:
1: enum thermal_trip_type {
1: - THERMAL_TRIP_ACTIVE = 0,
1: - THERMAL_TRIP_PASSIVE = 1,
1: - THERMAL_TRIP_HOT = 2,
1: - THERMAL_TRIP_CRITICAL = 3,
1: + THERMAL_TRIP_ACTIVE = 0,
1: + THERMAL_TRIP_PASSIVE = 1,
1: + THERMAL_TRIP_HOT = 2,
1: + THERMAL_TRIP_CRITICAL = 3,
1: };
1:
1: enum thermal_trend {
1: - THERMAL_TREND_STABLE = 0,
1: - THERMAL_TREND_RAISING = 1,
1: - THERMAL_TREND_DROPPING = 2,
1: - THERMAL_TREND_RAISE_FULL = 3,
1: - THERMAL_TREND_DROP_FULL = 4,
1: + THERMAL_TREND_STABLE = 0,
1: + THERMAL_TREND_RAISING = 1,
1: + THERMAL_TREND_DROPPING = 2,
1: + THERMAL_TREND_RAISE_FULL = 3,
1: + THERMAL_TREND_DROP_FULL = 4,
1: };
1:
1: enum thermal_notify_event {
1: - THERMAL_EVENT_UNSPECIFIED = 0,
1: - THERMAL_EVENT_TEMP_SAMPLE = 1,
1: - THERMAL_TRIP_VIOLATED = 2,
1: - THERMAL_TRIP_CHANGED = 3,
1: - THERMAL_DEVICE_DOWN = 4,
1: - THERMAL_DEVICE_UP = 5,
1: - THERMAL_DEVICE_POWER_CAPABILITY_CHANGED = 6,
1: - THERMAL_TABLE_CHANGED = 7,
1: + THERMAL_EVENT_UNSPECIFIED = 0,
1: + THERMAL_EVENT_TEMP_SAMPLE = 1,
1: + THERMAL_TRIP_VIOLATED = 2,
1: + THERMAL_TRIP_CHANGED = 3,
1: + THERMAL_DEVICE_DOWN = 4,
1: + THERMAL_DEVICE_UP = 5,
1: + THERMAL_DEVICE_POWER_CAPABILITY_CHANGED = 6,
1: + THERMAL_TABLE_CHANGED = 7,
1: };
1:
1: struct thermal_zone_device;
1:
1: struct thermal_zone_device_ops {
1: - int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: - int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: - int (*get_temp)(struct thermal_zone_device *, int *);
1: - int (*set_trips)(struct thermal_zone_device *, int, int);
1: - int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
1: - int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
1: - int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
1: - int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
1: - int (*set_trip_temp)(struct thermal_zone_device *, int, int);
1: - int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
1: - int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
1: - int (*get_crit_temp)(struct thermal_zone_device *, int *);
1: - int (*set_emul_temp)(struct thermal_zone_device *, int);
1: - int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
1: - int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
1: + int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: + int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: + int (*get_temp)(struct thermal_zone_device *, int *);
1: + int (*set_trips)(struct thermal_zone_device *, int, int);
1: + int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
1: + int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
1: + int (*get_trip_type)(struct thermal_zone_device *, int,
1: + enum thermal_trip_type *);
1: + int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
1: + int (*set_trip_temp)(struct thermal_zone_device *, int, int);
1: + int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
1: + int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
1: + int (*get_crit_temp)(struct thermal_zone_device *, int *);
1: + int (*set_emul_temp)(struct thermal_zone_device *, int);
1: + int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
1: + int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
1: };
1:
1: struct thermal_attr;
1: @@ -60070,1290 +60507,1299 @@ struct thermal_zone_params;
1: struct thermal_governor;
1:
1: struct thermal_zone_device {
1: - int id;
1: - char type[20];
1: - struct device device;
1: - struct attribute_group trips_attribute_group;
1: - struct thermal_attr *trip_temp_attrs;
1: - struct thermal_attr *trip_type_attrs;
1: - struct thermal_attr *trip_hyst_attrs;
1: - void *devdata;
1: - int trips;
1: - long unsigned int trips_disabled;
1: - int passive_delay;
1: - int polling_delay;
1: - int temperature;
1: - int last_temperature;
1: - int emul_temperature;
1: - int passive;
1: - int prev_low_trip;
1: - int prev_high_trip;
1: - unsigned int forced_passive;
1: - atomic_t need_update;
1: - struct thermal_zone_device_ops *ops;
1: - struct thermal_zone_params *tzp;
1: - struct thermal_governor *governor;
1: - void *governor_data;
1: - struct list_head thermal_instances;
1: - struct ida ida;
1: - struct mutex lock;
1: - struct list_head node;
1: - struct delayed_work poll_queue;
1: - enum thermal_notify_event notify_event;
1: + int id;
1: + char type[20];
1: + struct device device;
1: + struct attribute_group trips_attribute_group;
1: + struct thermal_attr *trip_temp_attrs;
1: + struct thermal_attr *trip_type_attrs;
1: + struct thermal_attr *trip_hyst_attrs;
1: + void *devdata;
1: + int trips;
1: + long unsigned int trips_disabled;
1: + int passive_delay;
1: + int polling_delay;
1: + int temperature;
1: + int last_temperature;
1: + int emul_temperature;
1: + int passive;
1: + int prev_low_trip;
1: + int prev_high_trip;
1: + unsigned int forced_passive;
1: + atomic_t need_update;
1: + struct thermal_zone_device_ops *ops;
1: + struct thermal_zone_params *tzp;
1: + struct thermal_governor *governor;
1: + void *governor_data;
1: + struct list_head thermal_instances;
1: + struct ida ida;
1: + struct mutex lock;
1: + struct list_head node;
1: + struct delayed_work poll_queue;
1: + enum thermal_notify_event notify_event;
1: };
1:
1: struct thermal_cooling_device_ops {
1: - int (*get_max_state)(struct thermal_cooling_device *, long unsigned int *);
1: - int (*get_cur_state)(struct thermal_cooling_device *, long unsigned int *);
1: - int (*set_cur_state)(struct thermal_cooling_device *, long unsigned int);
1: - int (*get_requested_power)(struct thermal_cooling_device *, struct thermal_zone_device *, u32 *);
1: - int (*state2power)(struct thermal_cooling_device *, struct thermal_zone_device *, long unsigned int, u32 *);
1: - int (*power2state)(struct thermal_cooling_device *, struct thermal_zone_device *, u32, long unsigned int *);
1: + int (*get_max_state)(struct thermal_cooling_device *, long unsigned int *);
1: + int (*get_cur_state)(struct thermal_cooling_device *, long unsigned int *);
1: + int (*set_cur_state)(struct thermal_cooling_device *, long unsigned int);
1: + int (*get_requested_power)(struct thermal_cooling_device *,
1: + struct thermal_zone_device *, u32 *);
1: + int (*state2power)(struct thermal_cooling_device *,
1: + struct thermal_zone_device *, long unsigned int, u32 *);
1: + int (*power2state)(struct thermal_cooling_device *,
1: + struct thermal_zone_device *, u32, long unsigned int *);
1: };
1:
1: struct thermal_attr {
1: - struct device_attribute attr;
1: - char name[20];
1: + struct device_attribute attr;
1: + char name[20];
1: };
1:
1: struct thermal_bind_params;
1:
1: struct thermal_zone_params {
1: - char governor_name[20];
1: - bool no_hwmon;
1: - int num_tbps;
1: - struct thermal_bind_params *tbp;
1: - u32 sustainable_power;
1: - s32 k_po;
1: - s32 k_pu;
1: - s32 k_i;
1: - s32 k_d;
1: - s32 integral_cutoff;
1: - int slope;
1: - int offset;
1: + char governor_name[20];
1: + bool no_hwmon;
1: + int num_tbps;
1: + struct thermal_bind_params *tbp;
1: + u32 sustainable_power;
1: + s32 k_po;
1: + s32 k_pu;
1: + s32 k_i;
1: + s32 k_d;
1: + s32 integral_cutoff;
1: + int slope;
1: + int offset;
1: };
1:
1: struct thermal_governor {
1: - char name[20];
1: - int (*bind_to_tz)(struct thermal_zone_device *);
1: - void (*unbind_from_tz)(struct thermal_zone_device *);
1: - int (*throttle)(struct thermal_zone_device *, int);
1: - struct list_head governor_list;
1: + char name[20];
1: + int (*bind_to_tz)(struct thermal_zone_device *);
1: + void (*unbind_from_tz)(struct thermal_zone_device *);
1: + int (*throttle)(struct thermal_zone_device *, int);
1: + struct list_head governor_list;
1: };
1:
1: struct thermal_bind_params {
1: - struct thermal_cooling_device *cdev;
1: - int weight;
1: - int trip_mask;
1: - long unsigned int *binding_limits;
1: - int (*match)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: + struct thermal_cooling_device *cdev;
1: + int weight;
1: + int trip_mask;
1: + long unsigned int *binding_limits;
1: + int (*match)(struct thermal_zone_device *, struct thermal_cooling_device *);
1: };
1:
1: struct acpi_lpi_state {
1: - u32 min_residency;
1: - u32 wake_latency;
1: - u32 flags;
1: - u32 arch_flags;
1: - u32 res_cnt_freq;
1: - u32 enable_parent_state;
1: - u64 address;
1: - u8 index;
1: - u8 entry_method;
1: - char desc[32];
1: + u32 min_residency;
1: + u32 wake_latency;
1: + u32 flags;
1: + u32 arch_flags;
1: + u32 res_cnt_freq;
1: + u32 enable_parent_state;
1: + u64 address;
1: + u8 index;
1: + u8 entry_method;
1: + char desc[32];
1: };
1:
1: struct acpi_processor_power {
1: - int count;
1: - union {
1: - struct acpi_processor_cx states[8];
1: - struct acpi_lpi_state lpi_states[8];
1: - };
1: - int timer_broadcast_on_state;
1: + int count;
1: + union {
1: + struct acpi_processor_cx states[8];
1: + struct acpi_lpi_state lpi_states[8];
1: + };
1: + int timer_broadcast_on_state;
1: };
1:
1: struct acpi_psd_package {
1: - u64 num_entries;
1: - u64 revision;
1: - u64 domain;
1: - u64 coord_type;
1: - u64 num_processors;
1: + u64 num_entries;
1: + u64 revision;
1: + u64 domain;
1: + u64 coord_type;
1: + u64 num_processors;
1: };
1:
1: struct acpi_pct_register {
1: - u8 descriptor;
1: - u16 length;
1: - u8 space_id;
1: - u8 bit_width;
1: - u8 bit_offset;
1: - u8 reserved;
1: - u64 address;
1: + u8 descriptor;
1: + u16 length;
1: + u8 space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 reserved;
1: + u64 address;
1: } __attribute__((packed));
1:
1: struct acpi_processor_px {
1: - u64 core_frequency;
1: - u64 power;
1: - u64 transition_latency;
1: - u64 bus_master_latency;
1: - u64 control;
1: - u64 status;
1: + u64 core_frequency;
1: + u64 power;
1: + u64 transition_latency;
1: + u64 bus_master_latency;
1: + u64 control;
1: + u64 status;
1: };
1:
1: struct acpi_processor_performance {
1: - unsigned int state;
1: - unsigned int platform_limit;
1: - struct acpi_pct_register control_register;
1: - struct acpi_pct_register status_register;
1: - short: 16;
1: - unsigned int state_count;
1: - int: 32;
1: - struct acpi_processor_px *states;
1: - struct acpi_psd_package domain_info;
1: - cpumask_var_t shared_cpu_map;
1: - unsigned int shared_type;
1: - int: 32;
1: + unsigned int state;
1: + unsigned int platform_limit;
1: + struct acpi_pct_register control_register;
1: + struct acpi_pct_register status_register;
1: + short : 16;
1: + unsigned int state_count;
1: + int : 32;
1: + struct acpi_processor_px *states;
1: + struct acpi_psd_package domain_info;
1: + cpumask_var_t shared_cpu_map;
1: + unsigned int shared_type;
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct acpi_tsd_package {
1: - u64 num_entries;
1: - u64 revision;
1: - u64 domain;
1: - u64 coord_type;
1: - u64 num_processors;
1: + u64 num_entries;
1: + u64 revision;
1: + u64 domain;
1: + u64 coord_type;
1: + u64 num_processors;
1: };
1:
1: struct acpi_processor_tx_tss {
1: - u64 freqpercentage;
1: - u64 power;
1: - u64 transition_latency;
1: - u64 control;
1: - u64 status;
1: + u64 freqpercentage;
1: + u64 power;
1: + u64 transition_latency;
1: + u64 control;
1: + u64 status;
1: };
1:
1: struct acpi_processor_tx {
1: - u16 power;
1: - u16 performance;
1: + u16 power;
1: + u16 performance;
1: };
1:
1: struct acpi_processor;
1:
1: struct acpi_processor_throttling {
1: - unsigned int state;
1: - unsigned int platform_limit;
1: - struct acpi_pct_register control_register;
1: - struct acpi_pct_register status_register;
1: - short: 16;
1: - unsigned int state_count;
1: - int: 32;
1: - struct acpi_processor_tx_tss *states_tss;
1: - struct acpi_tsd_package domain_info;
1: - cpumask_var_t shared_cpu_map;
1: - int (*acpi_processor_get_throttling)(struct acpi_processor *);
1: - int (*acpi_processor_set_throttling)(struct acpi_processor *, int, bool);
1: - u32 address;
1: - u8 duty_offset;
1: - u8 duty_width;
1: - u8 tsd_valid_flag;
1: - char: 8;
1: - unsigned int shared_type;
1: - struct acpi_processor_tx states[16];
1: - int: 32;
1: + unsigned int state;
1: + unsigned int platform_limit;
1: + struct acpi_pct_register control_register;
1: + struct acpi_pct_register status_register;
1: + short : 16;
1: + unsigned int state_count;
1: + int : 32;
1: + struct acpi_processor_tx_tss *states_tss;
1: + struct acpi_tsd_package domain_info;
1: + cpumask_var_t shared_cpu_map;
1: + int (*acpi_processor_get_throttling)(struct acpi_processor *);
1: + int (*acpi_processor_set_throttling)(struct acpi_processor *, int, bool);
1: + u32 address;
1: + u8 duty_offset;
1: + u8 duty_width;
1: + u8 tsd_valid_flag;
1: + char : 8;
1: + unsigned int shared_type;
1: + struct acpi_processor_tx states[16];
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct acpi_processor_lx {
1: - int px;
1: - int tx;
1: + int px;
1: + int tx;
1: };
1:
1: struct acpi_processor_limit {
1: - struct acpi_processor_lx state;
1: - struct acpi_processor_lx thermal;
1: - struct acpi_processor_lx user;
1: + struct acpi_processor_lx state;
1: + struct acpi_processor_lx thermal;
1: + struct acpi_processor_lx user;
1: };
1:
1: struct acpi_processor {
1: - acpi_handle handle;
1: - u32 acpi_id;
1: - phys_cpuid_t phys_id;
1: - u32 id;
1: - u32 pblk;
1: - int performance_platform_limit;
1: - int throttling_platform_limit;
1: - struct acpi_processor_flags flags;
1: - struct acpi_processor_power power;
1: - struct acpi_processor_performance *performance;
1: - struct acpi_processor_throttling throttling;
1: - struct acpi_processor_limit limit;
1: - struct thermal_cooling_device *cdev;
1: - struct device *dev;
1: - struct freq_qos_request perflib_req;
1: - struct freq_qos_request thermal_req;
1: + acpi_handle handle;
1: + u32 acpi_id;
1: + phys_cpuid_t phys_id;
1: + u32 id;
1: + u32 pblk;
1: + int performance_platform_limit;
1: + int throttling_platform_limit;
1: + struct acpi_processor_flags flags;
1: + struct acpi_processor_power power;
1: + struct acpi_processor_performance *performance;
1: + struct acpi_processor_throttling throttling;
1: + struct acpi_processor_limit limit;
1: + struct thermal_cooling_device *cdev;
1: + struct device *dev;
1: + struct freq_qos_request perflib_req;
1: + struct freq_qos_request thermal_req;
1: };
1:
1: struct acpi_processor_errata {
1: - u8 smp;
1: - struct {
1: - u8 throttle: 1;
1: - u8 fdma: 1;
1: - u8 reserved: 6;
1: - u32 bmisx;
1: - } piix4;
1: + u8 smp;
1: + struct {
1: + u8 throttle : 1;
1: + u8 fdma : 1;
1: + u8 reserved : 6;
1: + u32 bmisx;
1: + } piix4;
1: };
1:
1: struct acpi_table_ecdt {
1: - struct acpi_table_header header;
1: - struct acpi_generic_address control;
1: - struct acpi_generic_address data;
1: - u32 uid;
1: - u8 gpe;
1: - u8 id[1];
1: + struct acpi_table_header header;
1: + struct acpi_generic_address control;
1: + struct acpi_generic_address data;
1: + u32 uid;
1: + u8 gpe;
1: + u8 id[1];
1: } __attribute__((packed));
1:
1: struct transaction;
1:
1: struct acpi_ec {
1: - acpi_handle handle;
1: - int gpe;
1: - int irq;
1: - long unsigned int command_addr;
1: - long unsigned int data_addr;
1: - bool global_lock;
1: - long unsigned int flags;
1: - long unsigned int reference_count;
1: - struct mutex mutex;
1: - wait_queue_head_t wait;
1: - struct list_head list;
1: - struct transaction *curr;
1: - spinlock_t lock;
1: - struct work_struct work;
1: - long unsigned int timestamp;
1: - long unsigned int nr_pending_queries;
1: - bool busy_polling;
1: - unsigned int polling_guard;
1: + acpi_handle handle;
1: + int gpe;
1: + int irq;
1: + long unsigned int command_addr;
1: + long unsigned int data_addr;
1: + bool global_lock;
1: + long unsigned int flags;
1: + long unsigned int reference_count;
1: + struct mutex mutex;
1: + wait_queue_head_t wait;
1: + struct list_head list;
1: + struct transaction *curr;
1: + spinlock_t lock;
1: + struct work_struct work;
1: + long unsigned int timestamp;
1: + long unsigned int nr_pending_queries;
1: + bool busy_polling;
1: + unsigned int polling_guard;
1: };
1:
1: struct transaction {
1: - const u8 *wdata;
1: - u8 *rdata;
1: - short unsigned int irq_count;
1: - u8 command;
1: - u8 wi;
1: - u8 ri;
1: - u8 wlen;
1: - u8 rlen;
1: - u8 flags;
1: + const u8 *wdata;
1: + u8 *rdata;
1: + short unsigned int irq_count;
1: + u8 command;
1: + u8 wi;
1: + u8 ri;
1: + u8 wlen;
1: + u8 rlen;
1: + u8 flags;
1: };
1:
1: typedef int (*acpi_ec_query_func)(void *);
1:
1: enum ec_command {
1: - ACPI_EC_COMMAND_READ = 128,
1: - ACPI_EC_COMMAND_WRITE = 129,
1: - ACPI_EC_BURST_ENABLE = 130,
1: - ACPI_EC_BURST_DISABLE = 131,
1: - ACPI_EC_COMMAND_QUERY = 132,
1: + ACPI_EC_COMMAND_READ = 128,
1: + ACPI_EC_COMMAND_WRITE = 129,
1: + ACPI_EC_BURST_ENABLE = 130,
1: + ACPI_EC_BURST_DISABLE = 131,
1: + ACPI_EC_COMMAND_QUERY = 132,
1: };
1:
1: enum {
1: - EC_FLAGS_QUERY_ENABLED = 0,
1: - EC_FLAGS_QUERY_PENDING = 1,
1: - EC_FLAGS_QUERY_GUARDING = 2,
1: - EC_FLAGS_EVENT_HANDLER_INSTALLED = 3,
1: - EC_FLAGS_EC_HANDLER_INSTALLED = 4,
1: - EC_FLAGS_QUERY_METHODS_INSTALLED = 5,
1: - EC_FLAGS_STARTED = 6,
1: - EC_FLAGS_STOPPED = 7,
1: - EC_FLAGS_EVENTS_MASKED = 8,
1: + EC_FLAGS_QUERY_ENABLED = 0,
1: + EC_FLAGS_QUERY_PENDING = 1,
1: + EC_FLAGS_QUERY_GUARDING = 2,
1: + EC_FLAGS_EVENT_HANDLER_INSTALLED = 3,
1: + EC_FLAGS_EC_HANDLER_INSTALLED = 4,
1: + EC_FLAGS_QUERY_METHODS_INSTALLED = 5,
1: + EC_FLAGS_STARTED = 6,
1: + EC_FLAGS_STOPPED = 7,
1: + EC_FLAGS_EVENTS_MASKED = 8,
1: };
1:
1: struct acpi_ec_query_handler {
1: - struct list_head node;
1: - acpi_ec_query_func func;
1: - acpi_handle handle;
1: - void *data;
1: - u8 query_bit;
1: - struct kref kref;
1: + struct list_head node;
1: + acpi_ec_query_func func;
1: + acpi_handle handle;
1: + void *data;
1: + u8 query_bit;
1: + struct kref kref;
1: };
1:
1: struct acpi_ec_query {
1: - struct transaction transaction;
1: - struct work_struct work;
1: - struct acpi_ec_query_handler *handler;
1: + struct transaction transaction;
1: + struct work_struct work;
1: + struct acpi_ec_query_handler *handler;
1: };
1:
1: struct dock_station {
1: - acpi_handle handle;
1: - long unsigned int last_dock_time;
1: - u32 flags;
1: - struct list_head dependent_devices;
1: - struct list_head sibling;
1: - struct platform_device *dock_device;
1: + acpi_handle handle;
1: + long unsigned int last_dock_time;
1: + u32 flags;
1: + struct list_head dependent_devices;
1: + struct list_head sibling;
1: + struct platform_device *dock_device;
1: };
1:
1: struct dock_dependent_device {
1: - struct list_head list;
1: - struct acpi_device *adev;
1: + struct list_head list;
1: + struct acpi_device *adev;
1: };
1:
1: enum dock_callback_type {
1: - DOCK_CALL_HANDLER = 0,
1: - DOCK_CALL_FIXUP = 1,
1: - DOCK_CALL_UEVENT = 2,
1: + DOCK_CALL_HANDLER = 0,
1: + DOCK_CALL_FIXUP = 1,
1: + DOCK_CALL_UEVENT = 2,
1: };
1:
1: struct acpi_pci_root_ops;
1:
1: struct acpi_pci_root_info {
1: - struct acpi_pci_root *root;
1: - struct acpi_device *bridge;
1: - struct acpi_pci_root_ops *ops;
1: - struct list_head resources;
1: - char name[16];
1: + struct acpi_pci_root *root;
1: + struct acpi_device *bridge;
1: + struct acpi_pci_root_ops *ops;
1: + struct list_head resources;
1: + char name[16];
1: };
1:
1: struct acpi_pci_root_ops {
1: - struct pci_ops *pci_ops;
1: - int (*init_info)(struct acpi_pci_root_info *);
1: - void (*release_info)(struct acpi_pci_root_info *);
1: - int (*prepare_resources)(struct acpi_pci_root_info *);
1: + struct pci_ops *pci_ops;
1: + int (*init_info)(struct acpi_pci_root_info *);
1: + void (*release_info)(struct acpi_pci_root_info *);
1: + int (*prepare_resources)(struct acpi_pci_root_info *);
1: };
1:
1: struct pci_osc_bit_struct {
1: - u32 bit;
1: - char *desc;
1: + u32 bit;
1: + char *desc;
1: };
1:
1: struct acpi_handle_node {
1: - struct list_head node;
1: - acpi_handle handle;
1: + struct list_head node;
1: + acpi_handle handle;
1: };
1:
1: struct acpi_pci_link_irq {
1: - u32 active;
1: - u8 triggering;
1: - u8 polarity;
1: - u8 resource_type;
1: - u8 possible_count;
1: - u32 possible[16];
1: - u8 initialized: 1;
1: - u8 reserved: 7;
1: + u32 active;
1: + u8 triggering;
1: + u8 polarity;
1: + u8 resource_type;
1: + u8 possible_count;
1: + u32 possible[16];
1: + u8 initialized : 1;
1: + u8 reserved : 7;
1: };
1:
1: struct acpi_pci_link {
1: - struct list_head list;
1: - struct acpi_device *device;
1: - struct acpi_pci_link_irq irq;
1: - int refcnt;
1: + struct list_head list;
1: + struct acpi_device *device;
1: + struct acpi_pci_link_irq irq;
1: + int refcnt;
1: };
1:
1: struct acpi_pci_routing_table {
1: - u32 length;
1: - u32 pin;
1: - u64 address;
1: - u32 source_index;
1: - char source[4];
1: + u32 length;
1: + u32 pin;
1: + u64 address;
1: + u32 source_index;
1: + char source[4];
1: };
1:
1: struct acpi_prt_entry {
1: - struct acpi_pci_id id;
1: - u8 pin;
1: - acpi_handle link;
1: - u32 index;
1: + struct acpi_pci_id id;
1: + u8 pin;
1: + acpi_handle link;
1: + u32 index;
1: };
1:
1: struct prt_quirk {
1: - const struct dmi_system_id *system;
1: - unsigned int segment;
1: - unsigned int bus;
1: - unsigned int device;
1: - unsigned char pin;
1: - const char *source;
1: - const char *actual_source;
1: + const struct dmi_system_id *system;
1: + unsigned int segment;
1: + unsigned int bus;
1: + unsigned int device;
1: + unsigned char pin;
1: + const char *source;
1: + const char *actual_source;
1: };
1:
1: struct apd_private_data;
1:
1: struct apd_device_desc {
1: - unsigned int flags;
1: - unsigned int fixed_clk_rate;
1: - struct property_entry *properties;
1: - int (*setup)(struct apd_private_data *);
1: + unsigned int flags;
1: + unsigned int fixed_clk_rate;
1: + struct property_entry *properties;
1: + int (*setup)(struct apd_private_data *);
1: };
1:
1: struct apd_private_data {
1: - struct clk *clk;
1: - struct acpi_device *adev;
1: - const struct apd_device_desc *dev_desc;
1: + struct clk *clk;
1: + struct acpi_device *adev;
1: + const struct apd_device_desc *dev_desc;
1: };
1:
1: struct acpi_power_dependent_device {
1: - struct device *dev;
1: - struct list_head node;
1: + struct device *dev;
1: + struct list_head node;
1: };
1:
1: struct acpi_power_resource {
1: - struct acpi_device device;
1: - struct list_head list_node;
1: - char *name;
1: - u32 system_level;
1: - u32 order;
1: - unsigned int ref_count;
1: - bool wakeup_enabled;
1: - struct mutex resource_lock;
1: - struct list_head dependents;
1: + struct acpi_device device;
1: + struct list_head list_node;
1: + char *name;
1: + u32 system_level;
1: + u32 order;
1: + unsigned int ref_count;
1: + bool wakeup_enabled;
1: + struct mutex resource_lock;
1: + struct list_head dependents;
1: };
1:
1: struct acpi_power_resource_entry {
1: - struct list_head node;
1: - struct acpi_power_resource *resource;
1: + struct list_head node;
1: + struct acpi_power_resource *resource;
1: };
1:
1: struct acpi_bus_event {
1: - struct list_head node;
1: - acpi_device_class device_class;
1: - acpi_bus_id bus_id;
1: - u32 type;
1: - u32 data;
1: + struct list_head node;
1: + acpi_device_class device_class;
1: + acpi_bus_id bus_id;
1: + u32 type;
1: + u32 data;
1: };
1:
1: struct acpi_genl_event {
1: - acpi_device_class device_class;
1: - char bus_id[15];
1: - u32 type;
1: - u32 data;
1: + acpi_device_class device_class;
1: + char bus_id[15];
1: + u32 type;
1: + u32 data;
1: };
1:
1: enum {
1: - ACPI_GENL_ATTR_UNSPEC = 0,
1: - ACPI_GENL_ATTR_EVENT = 1,
1: - __ACPI_GENL_ATTR_MAX = 2,
1: + ACPI_GENL_ATTR_UNSPEC = 0,
1: + ACPI_GENL_ATTR_EVENT = 1,
1: + __ACPI_GENL_ATTR_MAX = 2,
1: };
1:
1: enum {
1: - ACPI_GENL_CMD_UNSPEC = 0,
1: - ACPI_GENL_CMD_EVENT = 1,
1: - __ACPI_GENL_CMD_MAX = 2,
1: + ACPI_GENL_CMD_UNSPEC = 0,
1: + ACPI_GENL_CMD_EVENT = 1,
1: + __ACPI_GENL_CMD_MAX = 2,
1: };
1:
1: struct acpi_ged_device {
1: - struct device *dev;
1: - struct list_head event_list;
1: + struct device *dev;
1: + struct list_head event_list;
1: };
1:
1: struct acpi_ged_event {
1: - struct list_head node;
1: - struct device *dev;
1: - unsigned int gsi;
1: - unsigned int irq;
1: - acpi_handle handle;
1: + struct list_head node;
1: + struct device *dev;
1: + unsigned int gsi;
1: + unsigned int irq;
1: + acpi_handle handle;
1: };
1:
1: typedef void (*acpi_gbl_event_handler)(u32, acpi_handle, u32, void *);
1:
1: struct acpi_table_bert {
1: - struct acpi_table_header header;
1: - u32 region_length;
1: - u64 address;
1: + struct acpi_table_header header;
1: + u32 region_length;
1: + u64 address;
1: };
1:
1: struct acpi_table_attr {
1: - struct bin_attribute attr;
1: - char name[4];
1: - int instance;
1: - char filename[8];
1: - struct list_head node;
1: + struct bin_attribute attr;
1: + char name[4];
1: + int instance;
1: + char filename[8];
1: + struct list_head node;
1: };
1:
1: struct acpi_data_attr {
1: - struct bin_attribute attr;
1: - u64 addr;
1: + struct bin_attribute attr;
1: + u64 addr;
1: };
1:
1: struct acpi_data_obj {
1: - char *name;
1: - int (*fn)(void *, struct acpi_data_attr *);
1: + char *name;
1: + int (*fn)(void *, struct acpi_data_attr *);
1: };
1:
1: struct event_counter {
1: - u32 count;
1: - u32 flags;
1: + u32 count;
1: + u32 flags;
1: };
1:
1: struct acpi_device_properties {
1: - const guid_t *guid;
1: - const union acpi_object *properties;
1: - struct list_head list;
1: + const guid_t *guid;
1: + const union acpi_object *properties;
1: + struct list_head list;
1: };
1:
1: struct always_present_id {
1: - struct acpi_device_id hid[2];
1: - struct x86_cpu_id cpu_ids[2];
1: - struct dmi_system_id dmi_ids[2];
1: - const char *uid;
1: + struct acpi_device_id hid[2];
1: + struct x86_cpu_id cpu_ids[2];
1: + struct dmi_system_id dmi_ids[2];
1: + const char *uid;
1: };
1:
1: struct acpi_lpat {
1: - int temp;
1: - int raw;
1: + int temp;
1: + int raw;
1: };
1:
1: struct acpi_lpat_conversion_table {
1: - struct acpi_lpat *lpat;
1: - int lpat_count;
1: + struct acpi_lpat *lpat;
1: + int lpat_count;
1: };
1:
1: struct acpi_table_lpit {
1: - struct acpi_table_header header;
1: + struct acpi_table_header header;
1: };
1:
1: struct acpi_lpit_header {
1: - u32 type;
1: - u32 length;
1: - u16 unique_id;
1: - u16 reserved;
1: - u32 flags;
1: + u32 type;
1: + u32 length;
1: + u16 unique_id;
1: + u16 reserved;
1: + u32 flags;
1: };
1:
1: struct acpi_lpit_native {
1: - struct acpi_lpit_header header;
1: - struct acpi_generic_address entry_trigger;
1: - u32 residency;
1: - u32 latency;
1: - struct acpi_generic_address residency_counter;
1: - u64 counter_frequency;
1: + struct acpi_lpit_header header;
1: + struct acpi_generic_address entry_trigger;
1: + u32 residency;
1: + u32 latency;
1: + struct acpi_generic_address residency_counter;
1: + u64 counter_frequency;
1: } __attribute__((packed));
1:
1: struct lpit_residency_info {
1: - struct acpi_generic_address gaddr;
1: - u64 frequency;
1: - void *iomem_addr;
1: + struct acpi_generic_address gaddr;
1: + u64 frequency;
1: + void *iomem_addr;
1: };
1:
1: struct acpi_name_info {
1: - char name[4];
1: - u16 argument_list;
1: - u8 expected_btypes;
1: + char name[4];
1: + u16 argument_list;
1: + u8 expected_btypes;
1: } __attribute__((packed));
1:
1: struct acpi_package_info {
1: - u8 type;
1: - u8 object_type1;
1: - u8 count1;
1: - u8 object_type2;
1: - u8 count2;
1: - u16 reserved;
1: + u8 type;
1: + u8 object_type1;
1: + u8 count1;
1: + u8 object_type2;
1: + u8 count2;
1: + u16 reserved;
1: } __attribute__((packed));
1:
1: struct acpi_package_info2 {
1: - u8 type;
1: - u8 count;
1: - u8 object_type[4];
1: - u8 reserved;
1: + u8 type;
1: + u8 count;
1: + u8 object_type[4];
1: + u8 reserved;
1: };
1:
1: struct acpi_package_info3 {
1: - u8 type;
1: - u8 count;
1: - u8 object_type[2];
1: - u8 tail_object_type;
1: - u16 reserved;
1: + u8 type;
1: + u8 count;
1: + u8 object_type[2];
1: + u8 tail_object_type;
1: + u16 reserved;
1: } __attribute__((packed));
1:
1: struct acpi_package_info4 {
1: - u8 type;
1: - u8 object_type1;
1: - u8 count1;
1: - u8 sub_object_types;
1: - u8 pkg_count;
1: - u16 reserved;
1: + u8 type;
1: + u8 object_type1;
1: + u8 count1;
1: + u8 sub_object_types;
1: + u8 pkg_count;
1: + u16 reserved;
1: } __attribute__((packed));
1:
1: union acpi_predefined_info {
1: - struct acpi_name_info info;
1: - struct acpi_package_info ret_info;
1: - struct acpi_package_info2 ret_info2;
1: - struct acpi_package_info3 ret_info3;
1: - struct acpi_package_info4 ret_info4;
1: + struct acpi_name_info info;
1: + struct acpi_package_info ret_info;
1: + struct acpi_package_info2 ret_info2;
1: + struct acpi_package_info3 ret_info3;
1: + struct acpi_package_info4 ret_info4;
1: };
1:
1: struct acpi_evaluate_info {
1: - struct acpi_namespace_node *prefix_node;
1: - const char *relative_pathname;
1: - union acpi_operand_object **parameters;
1: - struct acpi_namespace_node *node;
1: - union acpi_operand_object *obj_desc;
1: - char *full_pathname;
1: - const union acpi_predefined_info *predefined;
1: - union acpi_operand_object *return_object;
1: - union acpi_operand_object *parent_package;
1: - u32 return_flags;
1: - u32 return_btype;
1: - u16 param_count;
1: - u16 node_flags;
1: - u8 pass_number;
1: - u8 return_object_type;
1: - u8 flags;
1: -};
1: -
1: -enum {
1: - ACPI_REFCLASS_LOCAL = 0,
1: - ACPI_REFCLASS_ARG = 1,
1: - ACPI_REFCLASS_REFOF = 2,
1: - ACPI_REFCLASS_INDEX = 3,
1: - ACPI_REFCLASS_TABLE = 4,
1: - ACPI_REFCLASS_NAME = 5,
1: - ACPI_REFCLASS_DEBUG = 6,
1: - ACPI_REFCLASS_MAX = 6,
1: + struct acpi_namespace_node *prefix_node;
1: + const char *relative_pathname;
1: + union acpi_operand_object **parameters;
1: + struct acpi_namespace_node *node;
1: + union acpi_operand_object *obj_desc;
1: + char *full_pathname;
1: + const union acpi_predefined_info *predefined;
1: + union acpi_operand_object *return_object;
1: + union acpi_operand_object *parent_package;
1: + u32 return_flags;
1: + u32 return_btype;
1: + u16 param_count;
1: + u16 node_flags;
1: + u8 pass_number;
1: + u8 return_object_type;
1: + u8 flags;
1: +};
1: +
1: +enum {
1: + ACPI_REFCLASS_LOCAL = 0,
1: + ACPI_REFCLASS_ARG = 1,
1: + ACPI_REFCLASS_REFOF = 2,
1: + ACPI_REFCLASS_INDEX = 3,
1: + ACPI_REFCLASS_TABLE = 4,
1: + ACPI_REFCLASS_NAME = 5,
1: + ACPI_REFCLASS_DEBUG = 6,
1: + ACPI_REFCLASS_MAX = 6,
1: };
1:
1: struct acpi_common_descriptor {
1: - void *common_pointer;
1: - u8 descriptor_type;
1: + void *common_pointer;
1: + u8 descriptor_type;
1: };
1:
1: union acpi_descriptor {
1: - struct acpi_common_descriptor common;
1: - union acpi_operand_object object;
1: - struct acpi_namespace_node node;
1: - union acpi_parse_object op;
1: + struct acpi_common_descriptor common;
1: + union acpi_operand_object object;
1: + struct acpi_namespace_node node;
1: + union acpi_parse_object op;
1: };
1:
1: typedef enum {
1: - ACPI_IMODE_LOAD_PASS1 = 1,
1: - ACPI_IMODE_LOAD_PASS2 = 2,
1: - ACPI_IMODE_EXECUTE = 3,
1: + ACPI_IMODE_LOAD_PASS1 = 1,
1: + ACPI_IMODE_LOAD_PASS2 = 2,
1: + ACPI_IMODE_EXECUTE = 3,
1: } acpi_interpreter_mode;
1:
1: struct acpi_create_field_info {
1: - struct acpi_namespace_node *region_node;
1: - struct acpi_namespace_node *field_node;
1: - struct acpi_namespace_node *register_node;
1: - struct acpi_namespace_node *data_register_node;
1: - struct acpi_namespace_node *connection_node;
1: - u8 *resource_buffer;
1: - u32 bank_value;
1: - u32 field_bit_position;
1: - u32 field_bit_length;
1: - u16 resource_length;
1: - u16 pin_number_index;
1: - u8 field_flags;
1: - u8 attribute;
1: - u8 field_type;
1: - u8 access_length;
1: + struct acpi_namespace_node *region_node;
1: + struct acpi_namespace_node *field_node;
1: + struct acpi_namespace_node *register_node;
1: + struct acpi_namespace_node *data_register_node;
1: + struct acpi_namespace_node *connection_node;
1: + u8 *resource_buffer;
1: + u32 bank_value;
1: + u32 field_bit_position;
1: + u32 field_bit_length;
1: + u16 resource_length;
1: + u16 pin_number_index;
1: + u8 field_flags;
1: + u8 attribute;
1: + u8 field_type;
1: + u8 access_length;
1: };
1:
1: struct acpi_init_walk_info {
1: - u32 table_index;
1: - u32 object_count;
1: - u32 method_count;
1: - u32 serial_method_count;
1: - u32 non_serial_method_count;
1: - u32 serialized_method_count;
1: - u32 device_count;
1: - u32 op_region_count;
1: - u32 field_count;
1: - u32 buffer_count;
1: - u32 package_count;
1: - u32 op_region_init;
1: - u32 field_init;
1: - u32 buffer_init;
1: - u32 package_init;
1: - acpi_owner_id owner_id;
1: + u32 table_index;
1: + u32 object_count;
1: + u32 method_count;
1: + u32 serial_method_count;
1: + u32 non_serial_method_count;
1: + u32 serialized_method_count;
1: + u32 device_count;
1: + u32 op_region_count;
1: + u32 field_count;
1: + u32 buffer_count;
1: + u32 package_count;
1: + u32 op_region_init;
1: + u32 field_init;
1: + u32 buffer_init;
1: + u32 package_init;
1: + acpi_owner_id owner_id;
1: };
1:
1: typedef u32 acpi_name;
1:
1: -typedef acpi_status (*acpi_exception_handler)(acpi_status, acpi_name, u16, u32, void *);
1: +typedef acpi_status (*acpi_exception_handler)(acpi_status, acpi_name, u16, u32,
1: + void *);
1:
1: enum {
1: - AML_FIELD_ACCESS_ANY = 0,
1: - AML_FIELD_ACCESS_BYTE = 1,
1: - AML_FIELD_ACCESS_WORD = 2,
1: - AML_FIELD_ACCESS_DWORD = 3,
1: - AML_FIELD_ACCESS_QWORD = 4,
1: - AML_FIELD_ACCESS_BUFFER = 5,
1: + AML_FIELD_ACCESS_ANY = 0,
1: + AML_FIELD_ACCESS_BYTE = 1,
1: + AML_FIELD_ACCESS_WORD = 2,
1: + AML_FIELD_ACCESS_DWORD = 3,
1: + AML_FIELD_ACCESS_QWORD = 4,
1: + AML_FIELD_ACCESS_BUFFER = 5,
1: };
1:
1: typedef acpi_status (*acpi_execute_op)(struct acpi_walk_state *);
1:
1: struct acpi_fixed_event_handler {
1: - acpi_event_handler handler;
1: - void *context;
1: + acpi_event_handler handler;
1: + void *context;
1: };
1:
1: struct acpi_fixed_event_info {
1: - u8 status_register_id;
1: - u8 enable_register_id;
1: - u16 status_bit_mask;
1: - u16 enable_bit_mask;
1: + u8 status_register_id;
1: + u8 enable_register_id;
1: + u16 status_bit_mask;
1: + u16 enable_bit_mask;
1: };
1:
1: typedef u32 acpi_mutex_handle;
1:
1: struct acpi_gpe_walk_info {
1: - struct acpi_namespace_node *gpe_device;
1: - struct acpi_gpe_block_info *gpe_block;
1: - u16 count;
1: - acpi_owner_id owner_id;
1: - u8 execute_by_owner_id;
1: + struct acpi_namespace_node *gpe_device;
1: + struct acpi_gpe_block_info *gpe_block;
1: + u16 count;
1: + acpi_owner_id owner_id;
1: + u8 execute_by_owner_id;
1: };
1:
1: struct acpi_gpe_device_info {
1: - u32 index;
1: - u32 next_block_base_index;
1: - acpi_status status;
1: - struct acpi_namespace_node *gpe_device;
1: + u32 index;
1: + u32 next_block_base_index;
1: + acpi_status status;
1: + struct acpi_namespace_node *gpe_device;
1: };
1:
1: -typedef acpi_status (*acpi_gpe_callback)(struct acpi_gpe_xrupt_info *, struct acpi_gpe_block_info *, void *);
1: +typedef acpi_status (*acpi_gpe_callback)(struct acpi_gpe_xrupt_info *,
1: + struct acpi_gpe_block_info *, void *);
1:
1: struct acpi_connection_info {
1: - u8 *connection;
1: - u16 length;
1: - u8 access_length;
1: + u8 *connection;
1: + u16 length;
1: + u8 access_length;
1: };
1:
1: struct acpi_reg_walk_info {
1: - u32 function;
1: - u32 reg_run_count;
1: - acpi_adr_space_type space_id;
1: + u32 function;
1: + u32 reg_run_count;
1: + acpi_adr_space_type space_id;
1: };
1:
1: typedef u32 (*acpi_sci_handler)(void *);
1:
1: struct acpi_sci_handler_info {
1: - struct acpi_sci_handler_info *next;
1: - acpi_sci_handler address;
1: - void *context;
1: + struct acpi_sci_handler_info *next;
1: + acpi_sci_handler address;
1: + void *context;
1: };
1:
1: enum {
1: - AML_FIELD_UPDATE_PRESERVE = 0,
1: - AML_FIELD_UPDATE_WRITE_AS_ONES = 32,
1: - AML_FIELD_UPDATE_WRITE_AS_ZEROS = 64,
1: + AML_FIELD_UPDATE_PRESERVE = 0,
1: + AML_FIELD_UPDATE_WRITE_AS_ONES = 32,
1: + AML_FIELD_UPDATE_WRITE_AS_ZEROS = 64,
1: };
1:
1: struct acpi_signal_fatal_info {
1: - u32 type;
1: - u32 code;
1: - u32 argument;
1: + u32 type;
1: + u32 code;
1: + u32 argument;
1: };
1:
1: enum {
1: - MATCH_MTR = 0,
1: - MATCH_MEQ = 1,
1: - MATCH_MLE = 2,
1: - MATCH_MLT = 3,
1: - MATCH_MGE = 4,
1: - MATCH_MGT = 5,
1: + MATCH_MTR = 0,
1: + MATCH_MEQ = 1,
1: + MATCH_MLE = 2,
1: + MATCH_MLT = 3,
1: + MATCH_MGE = 4,
1: + MATCH_MGT = 5,
1: };
1:
1: enum {
1: - AML_FIELD_ATTRIB_QUICK = 2,
1: - AML_FIELD_ATTRIB_SEND_RECEIVE = 4,
1: - AML_FIELD_ATTRIB_BYTE = 6,
1: - AML_FIELD_ATTRIB_WORD = 8,
1: - AML_FIELD_ATTRIB_BLOCK = 10,
1: - AML_FIELD_ATTRIB_BYTES = 11,
1: - AML_FIELD_ATTRIB_PROCESS_CALL = 12,
1: - AML_FIELD_ATTRIB_BLOCK_PROCESS_CALL = 13,
1: - AML_FIELD_ATTRIB_RAW_BYTES = 14,
1: - AML_FIELD_ATTRIB_RAW_PROCESS_BYTES = 15,
1: + AML_FIELD_ATTRIB_QUICK = 2,
1: + AML_FIELD_ATTRIB_SEND_RECEIVE = 4,
1: + AML_FIELD_ATTRIB_BYTE = 6,
1: + AML_FIELD_ATTRIB_WORD = 8,
1: + AML_FIELD_ATTRIB_BLOCK = 10,
1: + AML_FIELD_ATTRIB_BYTES = 11,
1: + AML_FIELD_ATTRIB_PROCESS_CALL = 12,
1: + AML_FIELD_ATTRIB_BLOCK_PROCESS_CALL = 13,
1: + AML_FIELD_ATTRIB_RAW_BYTES = 14,
1: + AML_FIELD_ATTRIB_RAW_PROCESS_BYTES = 15,
1: };
1:
1: typedef enum {
1: - ACPI_TRACE_AML_METHOD = 0,
1: - ACPI_TRACE_AML_OPCODE = 1,
1: - ACPI_TRACE_AML_REGION = 2,
1: + ACPI_TRACE_AML_METHOD = 0,
1: + ACPI_TRACE_AML_OPCODE = 1,
1: + ACPI_TRACE_AML_REGION = 2,
1: } acpi_trace_event_type;
1:
1: struct acpi_bit_register_info {
1: - u8 parent_register;
1: - u8 bit_position;
1: - u16 access_bit_mask;
1: + u8 parent_register;
1: + u8 bit_position;
1: + u16 access_bit_mask;
1: };
1:
1: struct acpi_port_info {
1: - char *name;
1: - u16 start;
1: - u16 end;
1: - u8 osi_dependency;
1: + char *name;
1: + u16 start;
1: + u16 end;
1: + u8 osi_dependency;
1: };
1:
1: struct acpi_pci_device {
1: - acpi_handle device;
1: - struct acpi_pci_device *next;
1: + acpi_handle device;
1: + struct acpi_pci_device *next;
1: };
1:
1: typedef acpi_status (*acpi_init_handler)(acpi_handle, u32);
1:
1: struct acpi_device_walk_info {
1: - struct acpi_table_desc *table_desc;
1: - struct acpi_evaluate_info *evaluate_info;
1: - u32 device_count;
1: - u32 num_STA;
1: - u32 num_INI;
1: + struct acpi_table_desc *table_desc;
1: + struct acpi_evaluate_info *evaluate_info;
1: + u32 device_count;
1: + u32 num_STA;
1: + u32 num_INI;
1: };
1:
1: -typedef acpi_status (*acpi_pkg_callback)(u8, union acpi_operand_object *, union acpi_generic_state *, void *);
1: +typedef acpi_status (*acpi_pkg_callback)(u8, union acpi_operand_object *,
1: + union acpi_generic_state *, void *);
1:
1: struct acpi_table_list {
1: - struct acpi_table_desc *tables;
1: - u32 current_table_count;
1: - u32 max_table_count;
1: - u8 flags;
1: + struct acpi_table_desc *tables;
1: + u32 current_table_count;
1: + u32 max_table_count;
1: + u8 flags;
1: };
1:
1: enum acpi_return_package_types {
1: - ACPI_PTYPE1_FIXED = 1,
1: - ACPI_PTYPE1_VAR = 2,
1: - ACPI_PTYPE1_OPTION = 3,
1: - ACPI_PTYPE2 = 4,
1: - ACPI_PTYPE2_COUNT = 5,
1: - ACPI_PTYPE2_PKG_COUNT = 6,
1: - ACPI_PTYPE2_FIXED = 7,
1: - ACPI_PTYPE2_MIN = 8,
1: - ACPI_PTYPE2_REV_FIXED = 9,
1: - ACPI_PTYPE2_FIX_VAR = 10,
1: - ACPI_PTYPE2_VAR_VAR = 11,
1: - ACPI_PTYPE2_UUID_PAIR = 12,
1: - ACPI_PTYPE_CUSTOM = 13,
1: -};
1: -
1: -typedef acpi_status (*acpi_object_converter)(struct acpi_namespace_node *, union acpi_operand_object *, union acpi_operand_object **);
1: + ACPI_PTYPE1_FIXED = 1,
1: + ACPI_PTYPE1_VAR = 2,
1: + ACPI_PTYPE1_OPTION = 3,
1: + ACPI_PTYPE2 = 4,
1: + ACPI_PTYPE2_COUNT = 5,
1: + ACPI_PTYPE2_PKG_COUNT = 6,
1: + ACPI_PTYPE2_FIXED = 7,
1: + ACPI_PTYPE2_MIN = 8,
1: + ACPI_PTYPE2_REV_FIXED = 9,
1: + ACPI_PTYPE2_FIX_VAR = 10,
1: + ACPI_PTYPE2_VAR_VAR = 11,
1: + ACPI_PTYPE2_UUID_PAIR = 12,
1: + ACPI_PTYPE_CUSTOM = 13,
1: +};
1: +
1: +typedef acpi_status (*acpi_object_converter)(struct acpi_namespace_node *,
1: + union acpi_operand_object *,
1: + union acpi_operand_object **);
1:
1: struct acpi_simple_repair_info {
1: - char name[4];
1: - u32 unexpected_btypes;
1: - u32 package_index;
1: - acpi_object_converter object_converter;
1: + char name[4];
1: + u32 unexpected_btypes;
1: + u32 package_index;
1: + acpi_object_converter object_converter;
1: };
1:
1: -typedef acpi_status (*acpi_repair_function)(struct acpi_evaluate_info *, union acpi_operand_object **);
1: +typedef acpi_status (*acpi_repair_function)(struct acpi_evaluate_info *,
1: + union acpi_operand_object **);
1:
1: struct acpi_repair_info {
1: - char name[4];
1: - acpi_repair_function repair_function;
1: + char name[4];
1: + acpi_repair_function repair_function;
1: };
1:
1: struct acpi_namestring_info {
1: - const char *external_name;
1: - const char *next_external_char;
1: - char *internal_name;
1: - u32 length;
1: - u32 num_segments;
1: - u32 num_carats;
1: - u8 fully_qualified;
1: + const char *external_name;
1: + const char *next_external_char;
1: + char *internal_name;
1: + u32 length;
1: + u32 num_segments;
1: + u32 num_carats;
1: + u8 fully_qualified;
1: };
1:
1: struct acpi_rw_lock {
1: - void *writer_mutex;
1: - void *reader_mutex;
1: - u32 num_readers;
1: + void *writer_mutex;
1: + void *reader_mutex;
1: + u32 num_readers;
1: };
1:
1: struct acpi_get_devices_info {
1: - acpi_walk_callback user_function;
1: - void *context;
1: - const char *hid;
1: + acpi_walk_callback user_function;
1: + void *context;
1: + const char *hid;
1: };
1:
1: struct aml_resource_small_header {
1: - u8 descriptor_type;
1: + u8 descriptor_type;
1: };
1:
1: struct aml_resource_irq {
1: - u8 descriptor_type;
1: - u16 irq_mask;
1: - u8 flags;
1: + u8 descriptor_type;
1: + u16 irq_mask;
1: + u8 flags;
1: } __attribute__((packed));
1:
1: struct aml_resource_dma {
1: - u8 descriptor_type;
1: - u8 dma_channel_mask;
1: - u8 flags;
1: + u8 descriptor_type;
1: + u8 dma_channel_mask;
1: + u8 flags;
1: };
1:
1: struct aml_resource_start_dependent {
1: - u8 descriptor_type;
1: - u8 flags;
1: + u8 descriptor_type;
1: + u8 flags;
1: };
1:
1: struct aml_resource_end_dependent {
1: - u8 descriptor_type;
1: + u8 descriptor_type;
1: };
1:
1: struct aml_resource_io {
1: - u8 descriptor_type;
1: - u8 flags;
1: - u16 minimum;
1: - u16 maximum;
1: - u8 alignment;
1: - u8 address_length;
1: + u8 descriptor_type;
1: + u8 flags;
1: + u16 minimum;
1: + u16 maximum;
1: + u8 alignment;
1: + u8 address_length;
1: };
1:
1: struct aml_resource_fixed_io {
1: - u8 descriptor_type;
1: - u16 address;
1: - u8 address_length;
1: + u8 descriptor_type;
1: + u16 address;
1: + u8 address_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_vendor_small {
1: - u8 descriptor_type;
1: + u8 descriptor_type;
1: };
1:
1: struct aml_resource_end_tag {
1: - u8 descriptor_type;
1: - u8 checksum;
1: + u8 descriptor_type;
1: + u8 checksum;
1: };
1:
1: struct aml_resource_fixed_dma {
1: - u8 descriptor_type;
1: - u16 request_lines;
1: - u16 channels;
1: - u8 width;
1: + u8 descriptor_type;
1: + u16 request_lines;
1: + u16 channels;
1: + u8 width;
1: } __attribute__((packed));
1:
1: struct aml_resource_large_header {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_memory24 {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 flags;
1: - u16 minimum;
1: - u16 maximum;
1: - u16 alignment;
1: - u16 address_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 flags;
1: + u16 minimum;
1: + u16 maximum;
1: + u16 alignment;
1: + u16 address_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_vendor_large {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_memory32 {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 flags;
1: - u32 minimum;
1: - u32 maximum;
1: - u32 alignment;
1: - u32 address_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 flags;
1: + u32 minimum;
1: + u32 maximum;
1: + u32 alignment;
1: + u32 address_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_fixed_memory32 {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 flags;
1: - u32 address;
1: - u32 address_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 flags;
1: + u32 address;
1: + u32 address_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_address {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 resource_type;
1: - u8 flags;
1: - u8 specific_flags;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: } __attribute__((packed));
1:
1: struct aml_resource_extended_address64 {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 resource_type;
1: - u8 flags;
1: - u8 specific_flags;
1: - u8 revision_ID;
1: - u8 reserved;
1: - u64 granularity;
1: - u64 minimum;
1: - u64 maximum;
1: - u64 translation_offset;
1: - u64 address_length;
1: - u64 type_specific;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: + u8 revision_ID;
1: + u8 reserved;
1: + u64 granularity;
1: + u64 minimum;
1: + u64 maximum;
1: + u64 translation_offset;
1: + u64 address_length;
1: + u64 type_specific;
1: } __attribute__((packed));
1:
1: struct aml_resource_address64 {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 resource_type;
1: - u8 flags;
1: - u8 specific_flags;
1: - u64 granularity;
1: - u64 minimum;
1: - u64 maximum;
1: - u64 translation_offset;
1: - u64 address_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: + u64 granularity;
1: + u64 minimum;
1: + u64 maximum;
1: + u64 translation_offset;
1: + u64 address_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_address32 {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 resource_type;
1: - u8 flags;
1: - u8 specific_flags;
1: - u32 granularity;
1: - u32 minimum;
1: - u32 maximum;
1: - u32 translation_offset;
1: - u32 address_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: + u32 granularity;
1: + u32 minimum;
1: + u32 maximum;
1: + u32 translation_offset;
1: + u32 address_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_address16 {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 resource_type;
1: - u8 flags;
1: - u8 specific_flags;
1: - u16 granularity;
1: - u16 minimum;
1: - u16 maximum;
1: - u16 translation_offset;
1: - u16 address_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 resource_type;
1: + u8 flags;
1: + u8 specific_flags;
1: + u16 granularity;
1: + u16 minimum;
1: + u16 maximum;
1: + u16 translation_offset;
1: + u16 address_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_extended_irq {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 flags;
1: - u8 interrupt_count;
1: - u32 interrupts[1];
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 flags;
1: + u8 interrupt_count;
1: + u32 interrupts[1];
1: } __attribute__((packed));
1:
1: struct aml_resource_generic_register {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 address_space_id;
1: - u8 bit_width;
1: - u8 bit_offset;
1: - u8 access_size;
1: - u64 address;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 address_space_id;
1: + u8 bit_width;
1: + u8 bit_offset;
1: + u8 access_size;
1: + u64 address;
1: } __attribute__((packed));
1:
1: struct aml_resource_gpio {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u8 connection_type;
1: - u16 flags;
1: - u16 int_flags;
1: - u8 pin_config;
1: - u16 drive_strength;
1: - u16 debounce_timeout;
1: - u16 pin_table_offset;
1: - u8 res_source_index;
1: - u16 res_source_offset;
1: - u16 vendor_offset;
1: - u16 vendor_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 connection_type;
1: + u16 flags;
1: + u16 int_flags;
1: + u8 pin_config;
1: + u16 drive_strength;
1: + u16 debounce_timeout;
1: + u16 pin_table_offset;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_common_serialbus {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u8 res_source_index;
1: - u8 type;
1: - u8 flags;
1: - u16 type_specific_flags;
1: - u8 type_revision_id;
1: - u16 type_data_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 res_source_index;
1: + u8 type;
1: + u8 flags;
1: + u16 type_specific_flags;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_i2c_serialbus {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u8 res_source_index;
1: - u8 type;
1: - u8 flags;
1: - u16 type_specific_flags;
1: - u8 type_revision_id;
1: - u16 type_data_length;
1: - u32 connection_speed;
1: - u16 slave_address;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 res_source_index;
1: + u8 type;
1: + u8 flags;
1: + u16 type_specific_flags;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u32 connection_speed;
1: + u16 slave_address;
1: } __attribute__((packed));
1:
1: struct aml_resource_spi_serialbus {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u8 res_source_index;
1: - u8 type;
1: - u8 flags;
1: - u16 type_specific_flags;
1: - u8 type_revision_id;
1: - u16 type_data_length;
1: - u32 connection_speed;
1: - u8 data_bit_length;
1: - u8 clock_phase;
1: - u8 clock_polarity;
1: - u16 device_selection;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 res_source_index;
1: + u8 type;
1: + u8 flags;
1: + u16 type_specific_flags;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u32 connection_speed;
1: + u8 data_bit_length;
1: + u8 clock_phase;
1: + u8 clock_polarity;
1: + u16 device_selection;
1: } __attribute__((packed));
1:
1: struct aml_resource_uart_serialbus {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u8 res_source_index;
1: - u8 type;
1: - u8 flags;
1: - u16 type_specific_flags;
1: - u8 type_revision_id;
1: - u16 type_data_length;
1: - u32 default_baud_rate;
1: - u16 rx_fifo_size;
1: - u16 tx_fifo_size;
1: - u8 parity;
1: - u8 lines_enabled;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u8 res_source_index;
1: + u8 type;
1: + u8 flags;
1: + u16 type_specific_flags;
1: + u8 type_revision_id;
1: + u16 type_data_length;
1: + u32 default_baud_rate;
1: + u16 rx_fifo_size;
1: + u16 tx_fifo_size;
1: + u8 parity;
1: + u8 lines_enabled;
1: } __attribute__((packed));
1:
1: struct aml_resource_pin_function {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u16 flags;
1: - u8 pin_config;
1: - u16 function_number;
1: - u16 pin_table_offset;
1: - u8 res_source_index;
1: - u16 res_source_offset;
1: - u16 vendor_offset;
1: - u16 vendor_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u8 pin_config;
1: + u16 function_number;
1: + u16 pin_table_offset;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_pin_config {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u16 flags;
1: - u8 pin_config_type;
1: - u32 pin_config_value;
1: - u16 pin_table_offset;
1: - u8 res_source_index;
1: - u16 res_source_offset;
1: - u16 vendor_offset;
1: - u16 vendor_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u8 pin_config_type;
1: + u32 pin_config_value;
1: + u16 pin_table_offset;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_pin_group {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u16 flags;
1: - u16 pin_table_offset;
1: - u16 label_offset;
1: - u16 vendor_offset;
1: - u16 vendor_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u16 pin_table_offset;
1: + u16 label_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_pin_group_function {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u16 flags;
1: - u16 function_number;
1: - u8 res_source_index;
1: - u16 res_source_offset;
1: - u16 res_source_label_offset;
1: - u16 vendor_offset;
1: - u16 vendor_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u16 function_number;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 res_source_label_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: } __attribute__((packed));
1:
1: struct aml_resource_pin_group_config {
1: - u8 descriptor_type;
1: - u16 resource_length;
1: - u8 revision_id;
1: - u16 flags;
1: - u8 pin_config_type;
1: - u32 pin_config_value;
1: - u8 res_source_index;
1: - u16 res_source_offset;
1: - u16 res_source_label_offset;
1: - u16 vendor_offset;
1: - u16 vendor_length;
1: + u8 descriptor_type;
1: + u16 resource_length;
1: + u8 revision_id;
1: + u16 flags;
1: + u8 pin_config_type;
1: + u32 pin_config_value;
1: + u8 res_source_index;
1: + u16 res_source_offset;
1: + u16 res_source_label_offset;
1: + u16 vendor_offset;
1: + u16 vendor_length;
1: } __attribute__((packed));
1:
1: union aml_resource {
1: - u8 descriptor_type;
1: - struct aml_resource_small_header small_header;
1: - struct aml_resource_large_header large_header;
1: - struct aml_resource_irq irq;
1: - struct aml_resource_dma dma;
1: - struct aml_resource_start_dependent start_dpf;
1: - struct aml_resource_end_dependent end_dpf;
1: - struct aml_resource_io io;
1: - struct aml_resource_fixed_io fixed_io;
1: - struct aml_resource_fixed_dma fixed_dma;
1: - struct aml_resource_vendor_small vendor_small;
1: - struct aml_resource_end_tag end_tag;
1: - struct aml_resource_memory24 memory24;
1: - struct aml_resource_generic_register generic_reg;
1: - struct aml_resource_vendor_large vendor_large;
1: - struct aml_resource_memory32 memory32;
1: - struct aml_resource_fixed_memory32 fixed_memory32;
1: - struct aml_resource_address16 address16;
1: - struct aml_resource_address32 address32;
1: - struct aml_resource_address64 address64;
1: - struct aml_resource_extended_address64 ext_address64;
1: - struct aml_resource_extended_irq extended_irq;
1: - struct aml_resource_gpio gpio;
1: - struct aml_resource_i2c_serialbus i2c_serial_bus;
1: - struct aml_resource_spi_serialbus spi_serial_bus;
1: - struct aml_resource_uart_serialbus uart_serial_bus;
1: - struct aml_resource_common_serialbus common_serial_bus;
1: - struct aml_resource_pin_function pin_function;
1: - struct aml_resource_pin_config pin_config;
1: - struct aml_resource_pin_group pin_group;
1: - struct aml_resource_pin_group_function pin_group_function;
1: - struct aml_resource_pin_group_config pin_group_config;
1: - struct aml_resource_address address;
1: - u32 dword_item;
1: - u16 word_item;
1: - u8 byte_item;
1: + u8 descriptor_type;
1: + struct aml_resource_small_header small_header;
1: + struct aml_resource_large_header large_header;
1: + struct aml_resource_irq irq;
1: + struct aml_resource_dma dma;
1: + struct aml_resource_start_dependent start_dpf;
1: + struct aml_resource_end_dependent end_dpf;
1: + struct aml_resource_io io;
1: + struct aml_resource_fixed_io fixed_io;
1: + struct aml_resource_fixed_dma fixed_dma;
1: + struct aml_resource_vendor_small vendor_small;
1: + struct aml_resource_end_tag end_tag;
1: + struct aml_resource_memory24 memory24;
1: + struct aml_resource_generic_register generic_reg;
1: + struct aml_resource_vendor_large vendor_large;
1: + struct aml_resource_memory32 memory32;
1: + struct aml_resource_fixed_memory32 fixed_memory32;
1: + struct aml_resource_address16 address16;
1: + struct aml_resource_address32 address32;
1: + struct aml_resource_address64 address64;
1: + struct aml_resource_extended_address64 ext_address64;
1: + struct aml_resource_extended_irq extended_irq;
1: + struct aml_resource_gpio gpio;
1: + struct aml_resource_i2c_serialbus i2c_serial_bus;
1: + struct aml_resource_spi_serialbus spi_serial_bus;
1: + struct aml_resource_uart_serialbus uart_serial_bus;
1: + struct aml_resource_common_serialbus common_serial_bus;
1: + struct aml_resource_pin_function pin_function;
1: + struct aml_resource_pin_config pin_config;
1: + struct aml_resource_pin_group pin_group;
1: + struct aml_resource_pin_group_function pin_group_function;
1: + struct aml_resource_pin_group_config pin_group_config;
1: + struct aml_resource_address address;
1: + u32 dword_item;
1: + u16 word_item;
1: + u8 byte_item;
1: };
1:
1: struct acpi_rsconvert_info {
1: - u8 opcode;
1: - u8 resource_offset;
1: - u8 aml_offset;
1: - u8 value;
1: -};
1: -
1: -enum {
1: - ACPI_RSC_INITGET = 0,
1: - ACPI_RSC_INITSET = 1,
1: - ACPI_RSC_FLAGINIT = 2,
1: - ACPI_RSC_1BITFLAG = 3,
1: - ACPI_RSC_2BITFLAG = 4,
1: - ACPI_RSC_3BITFLAG = 5,
1: - ACPI_RSC_ADDRESS = 6,
1: - ACPI_RSC_BITMASK = 7,
1: - ACPI_RSC_BITMASK16 = 8,
1: - ACPI_RSC_COUNT = 9,
1: - ACPI_RSC_COUNT16 = 10,
1: - ACPI_RSC_COUNT_GPIO_PIN = 11,
1: - ACPI_RSC_COUNT_GPIO_RES = 12,
1: - ACPI_RSC_COUNT_GPIO_VEN = 13,
1: - ACPI_RSC_COUNT_SERIAL_RES = 14,
1: - ACPI_RSC_COUNT_SERIAL_VEN = 15,
1: - ACPI_RSC_DATA8 = 16,
1: - ACPI_RSC_EXIT_EQ = 17,
1: - ACPI_RSC_EXIT_LE = 18,
1: - ACPI_RSC_EXIT_NE = 19,
1: - ACPI_RSC_LENGTH = 20,
1: - ACPI_RSC_MOVE_GPIO_PIN = 21,
1: - ACPI_RSC_MOVE_GPIO_RES = 22,
1: - ACPI_RSC_MOVE_SERIAL_RES = 23,
1: - ACPI_RSC_MOVE_SERIAL_VEN = 24,
1: - ACPI_RSC_MOVE8 = 25,
1: - ACPI_RSC_MOVE16 = 26,
1: - ACPI_RSC_MOVE32 = 27,
1: - ACPI_RSC_MOVE64 = 28,
1: - ACPI_RSC_SET8 = 29,
1: - ACPI_RSC_SOURCE = 30,
1: - ACPI_RSC_SOURCEX = 31,
1: + u8 opcode;
1: + u8 resource_offset;
1: + u8 aml_offset;
1: + u8 value;
1: +};
1: +
1: +enum {
1: + ACPI_RSC_INITGET = 0,
1: + ACPI_RSC_INITSET = 1,
1: + ACPI_RSC_FLAGINIT = 2,
1: + ACPI_RSC_1BITFLAG = 3,
1: + ACPI_RSC_2BITFLAG = 4,
1: + ACPI_RSC_3BITFLAG = 5,
1: + ACPI_RSC_ADDRESS = 6,
1: + ACPI_RSC_BITMASK = 7,
1: + ACPI_RSC_BITMASK16 = 8,
1: + ACPI_RSC_COUNT = 9,
1: + ACPI_RSC_COUNT16 = 10,
1: + ACPI_RSC_COUNT_GPIO_PIN = 11,
1: + ACPI_RSC_COUNT_GPIO_RES = 12,
1: + ACPI_RSC_COUNT_GPIO_VEN = 13,
1: + ACPI_RSC_COUNT_SERIAL_RES = 14,
1: + ACPI_RSC_COUNT_SERIAL_VEN = 15,
1: + ACPI_RSC_DATA8 = 16,
1: + ACPI_RSC_EXIT_EQ = 17,
1: + ACPI_RSC_EXIT_LE = 18,
1: + ACPI_RSC_EXIT_NE = 19,
1: + ACPI_RSC_LENGTH = 20,
1: + ACPI_RSC_MOVE_GPIO_PIN = 21,
1: + ACPI_RSC_MOVE_GPIO_RES = 22,
1: + ACPI_RSC_MOVE_SERIAL_RES = 23,
1: + ACPI_RSC_MOVE_SERIAL_VEN = 24,
1: + ACPI_RSC_MOVE8 = 25,
1: + ACPI_RSC_MOVE16 = 26,
1: + ACPI_RSC_MOVE32 = 27,
1: + ACPI_RSC_MOVE64 = 28,
1: + ACPI_RSC_SET8 = 29,
1: + ACPI_RSC_SOURCE = 30,
1: + ACPI_RSC_SOURCEX = 31,
1: };
1:
1: typedef u16 acpi_rs_length;
1: @@ -61363,84 +61809,84 @@ typedef acpi_status (*acpi_walk_aml_callback)(u8 *, u32, u32, u8, void **);
1: typedef u32 acpi_rsdesc_size;
1:
1: struct acpi_vendor_uuid {
1: - u8 subtype;
1: - u8 data[16];
1: + u8 subtype;
1: + u8 data[16];
1: };
1:
1: struct acpi_vendor_walk_info {
1: - struct acpi_vendor_uuid *uuid;
1: - struct acpi_buffer *buffer;
1: - acpi_status status;
1: + struct acpi_vendor_uuid *uuid;
1: + struct acpi_buffer *buffer;
1: + acpi_status status;
1: };
1:
1: struct acpi_fadt_info {
1: - const char *name;
1: - u16 address64;
1: - u16 address32;
1: - u16 length;
1: - u8 default_length;
1: - u8 flags;
1: + const char *name;
1: + u16 address64;
1: + u16 address32;
1: + u16 length;
1: + u8 default_length;
1: + u8 flags;
1: };
1:
1: struct acpi_fadt_pm_info {
1: - struct acpi_generic_address *target;
1: - u16 source;
1: - u8 register_num;
1: + struct acpi_generic_address *target;
1: + u16 source;
1: + u8 register_num;
1: };
1:
1: struct acpi_table_rsdp {
1: - char signature[8];
1: - u8 checksum;
1: - char oem_id[6];
1: - u8 revision;
1: - u32 rsdt_physical_address;
1: - u32 length;
1: - u64 xsdt_physical_address;
1: - u8 extended_checksum;
1: - u8 reserved[3];
1: + char signature[8];
1: + u8 checksum;
1: + char oem_id[6];
1: + u8 revision;
1: + u32 rsdt_physical_address;
1: + u32 length;
1: + u64 xsdt_physical_address;
1: + u8 extended_checksum;
1: + u8 reserved[3];
1: } __attribute__((packed));
1:
1: struct acpi_address_range {
1: - struct acpi_address_range *next;
1: - struct acpi_namespace_node *region_node;
1: - acpi_physical_address start_address;
1: - acpi_physical_address end_address;
1: + struct acpi_address_range *next;
1: + struct acpi_namespace_node *region_node;
1: + acpi_physical_address start_address;
1: + acpi_physical_address end_address;
1: };
1:
1: struct acpi_pkg_info {
1: - u8 *free_space;
1: - acpi_size length;
1: - u32 object_space;
1: - u32 num_packages;
1: + u8 *free_space;
1: + acpi_size length;
1: + u32 object_space;
1: + u32 num_packages;
1: };
1:
1: struct acpi_exception_info {
1: - char *name;
1: + char *name;
1: };
1:
1: struct acpi_mutex_info {
1: - void *mutex;
1: - u32 use_count;
1: - u64 thread_id;
1: + void *mutex;
1: + u32 use_count;
1: + u64 thread_id;
1: };
1:
1: struct acpi_comment_node {
1: - char *comment;
1: - struct acpi_comment_node *next;
1: + char *comment;
1: + struct acpi_comment_node *next;
1: };
1:
1: struct acpi_interface_info {
1: - char *name;
1: - struct acpi_interface_info *next;
1: - u8 flags;
1: - u8 value;
1: + char *name;
1: + struct acpi_interface_info *next;
1: + u8 flags;
1: + u8 value;
1: };
1:
1: enum led_brightness {
1: - LED_OFF = 0,
1: - LED_ON = 1,
1: - LED_HALF = 127,
1: - LED_FULL = 255,
1: + LED_OFF = 0,
1: + LED_ON = 1,
1: + LED_HALF = 127,
1: + LED_FULL = 255,
1: };
1:
1: struct led_pattern;
1: @@ -61448,351 +61894,355 @@ struct led_pattern;
1: struct led_trigger;
1:
1: struct led_classdev {
1: - const char *name;
1: - enum led_brightness brightness;
1: - enum led_brightness max_brightness;
1: - int flags;
1: - long unsigned int work_flags;
1: - void (*brightness_set)(struct led_classdev *, enum led_brightness);
1: - int (*brightness_set_blocking)(struct led_classdev *, enum led_brightness);
1: - enum led_brightness (*brightness_get)(struct led_classdev *);
1: - int (*blink_set)(struct led_classdev *, long unsigned int *, long unsigned int *);
1: - int (*pattern_set)(struct led_classdev *, struct led_pattern *, u32, int);
1: - int (*pattern_clear)(struct led_classdev *);
1: - struct device *dev;
1: - const struct attribute_group **groups;
1: - struct list_head node;
1: - const char *default_trigger;
1: - long unsigned int blink_delay_on;
1: - long unsigned int blink_delay_off;
1: - struct timer_list blink_timer;
1: - int blink_brightness;
1: - int new_blink_brightness;
1: - void (*flash_resume)(struct led_classdev *);
1: - struct work_struct set_brightness_work;
1: - int delayed_set_value;
1: - struct rw_semaphore trigger_lock;
1: - struct led_trigger *trigger;
1: - struct list_head trig_list;
1: - void *trigger_data;
1: - bool activated;
1: - struct mutex led_access;
1: + const char *name;
1: + enum led_brightness brightness;
1: + enum led_brightness max_brightness;
1: + int flags;
1: + long unsigned int work_flags;
1: + void (*brightness_set)(struct led_classdev *, enum led_brightness);
1: + int (*brightness_set_blocking)(struct led_classdev *, enum led_brightness);
1: + enum led_brightness (*brightness_get)(struct led_classdev *);
1: + int (*blink_set)(struct led_classdev *, long unsigned int *,
1: + long unsigned int *);
1: + int (*pattern_set)(struct led_classdev *, struct led_pattern *, u32, int);
1: + int (*pattern_clear)(struct led_classdev *);
1: + struct device *dev;
1: + const struct attribute_group **groups;
1: + struct list_head node;
1: + const char *default_trigger;
1: + long unsigned int blink_delay_on;
1: + long unsigned int blink_delay_off;
1: + struct timer_list blink_timer;
1: + int blink_brightness;
1: + int new_blink_brightness;
1: + void (*flash_resume)(struct led_classdev *);
1: + struct work_struct set_brightness_work;
1: + int delayed_set_value;
1: + struct rw_semaphore trigger_lock;
1: + struct led_trigger *trigger;
1: + struct list_head trig_list;
1: + void *trigger_data;
1: + bool activated;
1: + struct mutex led_access;
1: };
1:
1: struct led_pattern {
1: - u32 delta_t;
1: - int brightness;
1: + u32 delta_t;
1: + int brightness;
1: };
1:
1: struct led_trigger {
1: - const char *name;
1: - int (*activate)(struct led_classdev *);
1: - void (*deactivate)(struct led_classdev *);
1: - rwlock_t leddev_list_lock;
1: - struct list_head led_cdevs;
1: - struct list_head next_trig;
1: - const struct attribute_group **groups;
1: + const char *name;
1: + int (*activate)(struct led_classdev *);
1: + void (*deactivate)(struct led_classdev *);
1: + rwlock_t leddev_list_lock;
1: + struct list_head led_cdevs;
1: + struct list_head next_trig;
1: + const struct attribute_group **groups;
1: };
1:
1: enum power_supply_property {
1: - POWER_SUPPLY_PROP_STATUS = 0,
1: - POWER_SUPPLY_PROP_CHARGE_TYPE = 1,
1: - POWER_SUPPLY_PROP_HEALTH = 2,
1: - POWER_SUPPLY_PROP_PRESENT = 3,
1: - POWER_SUPPLY_PROP_ONLINE = 4,
1: - POWER_SUPPLY_PROP_AUTHENTIC = 5,
1: - POWER_SUPPLY_PROP_TECHNOLOGY = 6,
1: - POWER_SUPPLY_PROP_CYCLE_COUNT = 7,
1: - POWER_SUPPLY_PROP_VOLTAGE_MAX = 8,
1: - POWER_SUPPLY_PROP_VOLTAGE_MIN = 9,
1: - POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN = 10,
1: - POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN = 11,
1: - POWER_SUPPLY_PROP_VOLTAGE_NOW = 12,
1: - POWER_SUPPLY_PROP_VOLTAGE_AVG = 13,
1: - POWER_SUPPLY_PROP_VOLTAGE_OCV = 14,
1: - POWER_SUPPLY_PROP_VOLTAGE_BOOT = 15,
1: - POWER_SUPPLY_PROP_CURRENT_MAX = 16,
1: - POWER_SUPPLY_PROP_CURRENT_NOW = 17,
1: - POWER_SUPPLY_PROP_CURRENT_AVG = 18,
1: - POWER_SUPPLY_PROP_CURRENT_BOOT = 19,
1: - POWER_SUPPLY_PROP_POWER_NOW = 20,
1: - POWER_SUPPLY_PROP_POWER_AVG = 21,
1: - POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN = 22,
1: - POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN = 23,
1: - POWER_SUPPLY_PROP_CHARGE_FULL = 24,
1: - POWER_SUPPLY_PROP_CHARGE_EMPTY = 25,
1: - POWER_SUPPLY_PROP_CHARGE_NOW = 26,
1: - POWER_SUPPLY_PROP_CHARGE_AVG = 27,
1: - POWER_SUPPLY_PROP_CHARGE_COUNTER = 28,
1: - POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT = 29,
1: - POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX = 30,
1: - POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE = 31,
1: - POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX = 32,
1: - POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT = 33,
1: - POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX = 34,
1: - POWER_SUPPLY_PROP_CHARGE_CONTROL_START_THRESHOLD = 35,
1: - POWER_SUPPLY_PROP_CHARGE_CONTROL_END_THRESHOLD = 36,
1: - POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT = 37,
1: - POWER_SUPPLY_PROP_INPUT_VOLTAGE_LIMIT = 38,
1: - POWER_SUPPLY_PROP_INPUT_POWER_LIMIT = 39,
1: - POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN = 40,
1: - POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN = 41,
1: - POWER_SUPPLY_PROP_ENERGY_FULL = 42,
1: - POWER_SUPPLY_PROP_ENERGY_EMPTY = 43,
1: - POWER_SUPPLY_PROP_ENERGY_NOW = 44,
1: - POWER_SUPPLY_PROP_ENERGY_AVG = 45,
1: - POWER_SUPPLY_PROP_CAPACITY = 46,
1: - POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN = 47,
1: - POWER_SUPPLY_PROP_CAPACITY_ALERT_MAX = 48,
1: - POWER_SUPPLY_PROP_CAPACITY_LEVEL = 49,
1: - POWER_SUPPLY_PROP_TEMP = 50,
1: - POWER_SUPPLY_PROP_TEMP_MAX = 51,
1: - POWER_SUPPLY_PROP_TEMP_MIN = 52,
1: - POWER_SUPPLY_PROP_TEMP_ALERT_MIN = 53,
1: - POWER_SUPPLY_PROP_TEMP_ALERT_MAX = 54,
1: - POWER_SUPPLY_PROP_TEMP_AMBIENT = 55,
1: - POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MIN = 56,
1: - POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MAX = 57,
1: - POWER_SUPPLY_PROP_TIME_TO_EMPTY_NOW = 58,
1: - POWER_SUPPLY_PROP_TIME_TO_EMPTY_AVG = 59,
1: - POWER_SUPPLY_PROP_TIME_TO_FULL_NOW = 60,
1: - POWER_SUPPLY_PROP_TIME_TO_FULL_AVG = 61,
1: - POWER_SUPPLY_PROP_TYPE = 62,
1: - POWER_SUPPLY_PROP_USB_TYPE = 63,
1: - POWER_SUPPLY_PROP_SCOPE = 64,
1: - POWER_SUPPLY_PROP_PRECHARGE_CURRENT = 65,
1: - POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT = 66,
1: - POWER_SUPPLY_PROP_CALIBRATE = 67,
1: - POWER_SUPPLY_PROP_MODEL_NAME = 68,
1: - POWER_SUPPLY_PROP_MANUFACTURER = 69,
1: - POWER_SUPPLY_PROP_SERIAL_NUMBER = 70,
1: + POWER_SUPPLY_PROP_STATUS = 0,
1: + POWER_SUPPLY_PROP_CHARGE_TYPE = 1,
1: + POWER_SUPPLY_PROP_HEALTH = 2,
1: + POWER_SUPPLY_PROP_PRESENT = 3,
1: + POWER_SUPPLY_PROP_ONLINE = 4,
1: + POWER_SUPPLY_PROP_AUTHENTIC = 5,
1: + POWER_SUPPLY_PROP_TECHNOLOGY = 6,
1: + POWER_SUPPLY_PROP_CYCLE_COUNT = 7,
1: + POWER_SUPPLY_PROP_VOLTAGE_MAX = 8,
1: + POWER_SUPPLY_PROP_VOLTAGE_MIN = 9,
1: + POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN = 10,
1: + POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN = 11,
1: + POWER_SUPPLY_PROP_VOLTAGE_NOW = 12,
1: + POWER_SUPPLY_PROP_VOLTAGE_AVG = 13,
1: + POWER_SUPPLY_PROP_VOLTAGE_OCV = 14,
1: + POWER_SUPPLY_PROP_VOLTAGE_BOOT = 15,
1: + POWER_SUPPLY_PROP_CURRENT_MAX = 16,
1: + POWER_SUPPLY_PROP_CURRENT_NOW = 17,
1: + POWER_SUPPLY_PROP_CURRENT_AVG = 18,
1: + POWER_SUPPLY_PROP_CURRENT_BOOT = 19,
1: + POWER_SUPPLY_PROP_POWER_NOW = 20,
1: + POWER_SUPPLY_PROP_POWER_AVG = 21,
1: + POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN = 22,
1: + POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN = 23,
1: + POWER_SUPPLY_PROP_CHARGE_FULL = 24,
1: + POWER_SUPPLY_PROP_CHARGE_EMPTY = 25,
1: + POWER_SUPPLY_PROP_CHARGE_NOW = 26,
1: + POWER_SUPPLY_PROP_CHARGE_AVG = 27,
1: + POWER_SUPPLY_PROP_CHARGE_COUNTER = 28,
1: + POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT = 29,
1: + POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX = 30,
1: + POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE = 31,
1: + POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX = 32,
1: + POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT = 33,
1: + POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX = 34,
1: + POWER_SUPPLY_PROP_CHARGE_CONTROL_START_THRESHOLD = 35,
1: + POWER_SUPPLY_PROP_CHARGE_CONTROL_END_THRESHOLD = 36,
1: + POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT = 37,
1: + POWER_SUPPLY_PROP_INPUT_VOLTAGE_LIMIT = 38,
1: + POWER_SUPPLY_PROP_INPUT_POWER_LIMIT = 39,
1: + POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN = 40,
1: + POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN = 41,
1: + POWER_SUPPLY_PROP_ENERGY_FULL = 42,
1: + POWER_SUPPLY_PROP_ENERGY_EMPTY = 43,
1: + POWER_SUPPLY_PROP_ENERGY_NOW = 44,
1: + POWER_SUPPLY_PROP_ENERGY_AVG = 45,
1: + POWER_SUPPLY_PROP_CAPACITY = 46,
1: + POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN = 47,
1: + POWER_SUPPLY_PROP_CAPACITY_ALERT_MAX = 48,
1: + POWER_SUPPLY_PROP_CAPACITY_LEVEL = 49,
1: + POWER_SUPPLY_PROP_TEMP = 50,
1: + POWER_SUPPLY_PROP_TEMP_MAX = 51,
1: + POWER_SUPPLY_PROP_TEMP_MIN = 52,
1: + POWER_SUPPLY_PROP_TEMP_ALERT_MIN = 53,
1: + POWER_SUPPLY_PROP_TEMP_ALERT_MAX = 54,
1: + POWER_SUPPLY_PROP_TEMP_AMBIENT = 55,
1: + POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MIN = 56,
1: + POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MAX = 57,
1: + POWER_SUPPLY_PROP_TIME_TO_EMPTY_NOW = 58,
1: + POWER_SUPPLY_PROP_TIME_TO_EMPTY_AVG = 59,
1: + POWER_SUPPLY_PROP_TIME_TO_FULL_NOW = 60,
1: + POWER_SUPPLY_PROP_TIME_TO_FULL_AVG = 61,
1: + POWER_SUPPLY_PROP_TYPE = 62,
1: + POWER_SUPPLY_PROP_USB_TYPE = 63,
1: + POWER_SUPPLY_PROP_SCOPE = 64,
1: + POWER_SUPPLY_PROP_PRECHARGE_CURRENT = 65,
1: + POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT = 66,
1: + POWER_SUPPLY_PROP_CALIBRATE = 67,
1: + POWER_SUPPLY_PROP_MODEL_NAME = 68,
1: + POWER_SUPPLY_PROP_MANUFACTURER = 69,
1: + POWER_SUPPLY_PROP_SERIAL_NUMBER = 70,
1: };
1:
1: enum power_supply_type {
1: - POWER_SUPPLY_TYPE_UNKNOWN = 0,
1: - POWER_SUPPLY_TYPE_BATTERY = 1,
1: - POWER_SUPPLY_TYPE_UPS = 2,
1: - POWER_SUPPLY_TYPE_MAINS = 3,
1: - POWER_SUPPLY_TYPE_USB = 4,
1: - POWER_SUPPLY_TYPE_USB_DCP = 5,
1: - POWER_SUPPLY_TYPE_USB_CDP = 6,
1: - POWER_SUPPLY_TYPE_USB_ACA = 7,
1: - POWER_SUPPLY_TYPE_USB_TYPE_C = 8,
1: - POWER_SUPPLY_TYPE_USB_PD = 9,
1: - POWER_SUPPLY_TYPE_USB_PD_DRP = 10,
1: - POWER_SUPPLY_TYPE_APPLE_BRICK_ID = 11,
1: + POWER_SUPPLY_TYPE_UNKNOWN = 0,
1: + POWER_SUPPLY_TYPE_BATTERY = 1,
1: + POWER_SUPPLY_TYPE_UPS = 2,
1: + POWER_SUPPLY_TYPE_MAINS = 3,
1: + POWER_SUPPLY_TYPE_USB = 4,
1: + POWER_SUPPLY_TYPE_USB_DCP = 5,
1: + POWER_SUPPLY_TYPE_USB_CDP = 6,
1: + POWER_SUPPLY_TYPE_USB_ACA = 7,
1: + POWER_SUPPLY_TYPE_USB_TYPE_C = 8,
1: + POWER_SUPPLY_TYPE_USB_PD = 9,
1: + POWER_SUPPLY_TYPE_USB_PD_DRP = 10,
1: + POWER_SUPPLY_TYPE_APPLE_BRICK_ID = 11,
1: };
1:
1: enum power_supply_usb_type {
1: - POWER_SUPPLY_USB_TYPE_UNKNOWN = 0,
1: - POWER_SUPPLY_USB_TYPE_SDP = 1,
1: - POWER_SUPPLY_USB_TYPE_DCP = 2,
1: - POWER_SUPPLY_USB_TYPE_CDP = 3,
1: - POWER_SUPPLY_USB_TYPE_ACA = 4,
1: - POWER_SUPPLY_USB_TYPE_C = 5,
1: - POWER_SUPPLY_USB_TYPE_PD = 6,
1: - POWER_SUPPLY_USB_TYPE_PD_DRP = 7,
1: - POWER_SUPPLY_USB_TYPE_PD_PPS = 8,
1: - POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID = 9,
1: + POWER_SUPPLY_USB_TYPE_UNKNOWN = 0,
1: + POWER_SUPPLY_USB_TYPE_SDP = 1,
1: + POWER_SUPPLY_USB_TYPE_DCP = 2,
1: + POWER_SUPPLY_USB_TYPE_CDP = 3,
1: + POWER_SUPPLY_USB_TYPE_ACA = 4,
1: + POWER_SUPPLY_USB_TYPE_C = 5,
1: + POWER_SUPPLY_USB_TYPE_PD = 6,
1: + POWER_SUPPLY_USB_TYPE_PD_DRP = 7,
1: + POWER_SUPPLY_USB_TYPE_PD_PPS = 8,
1: + POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID = 9,
1: };
1:
1: union power_supply_propval {
1: - int intval;
1: - const char *strval;
1: + int intval;
1: + const char *strval;
1: };
1:
1: struct power_supply_config {
1: - struct device_node *of_node;
1: - struct fwnode_handle *fwnode;
1: - void *drv_data;
1: - const struct attribute_group **attr_grp;
1: - char **supplied_to;
1: - size_t num_supplicants;
1: + struct device_node *of_node;
1: + struct fwnode_handle *fwnode;
1: + void *drv_data;
1: + const struct attribute_group **attr_grp;
1: + char **supplied_to;
1: + size_t num_supplicants;
1: };
1:
1: struct power_supply;
1:
1: struct power_supply_desc {
1: - const char *name;
1: - enum power_supply_type type;
1: - enum power_supply_usb_type *usb_types;
1: - size_t num_usb_types;
1: - enum power_supply_property *properties;
1: - size_t num_properties;
1: - int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *);
1: - int (*set_property)(struct power_supply *, enum power_supply_property, const union power_supply_propval *);
1: - int (*property_is_writeable)(struct power_supply *, enum power_supply_property);
1: - void (*external_power_changed)(struct power_supply *);
1: - void (*set_charged)(struct power_supply *);
1: - bool no_thermal;
1: - int use_for_apm;
1: + const char *name;
1: + enum power_supply_type type;
1: + enum power_supply_usb_type *usb_types;
1: + size_t num_usb_types;
1: + enum power_supply_property *properties;
1: + size_t num_properties;
1: + int (*get_property)(struct power_supply *, enum power_supply_property,
1: + union power_supply_propval *);
1: + int (*set_property)(struct power_supply *, enum power_supply_property,
1: + const union power_supply_propval *);
1: + int (*property_is_writeable)(struct power_supply *,
1: + enum power_supply_property);
1: + void (*external_power_changed)(struct power_supply *);
1: + void (*set_charged)(struct power_supply *);
1: + bool no_thermal;
1: + int use_for_apm;
1: };
1:
1: struct power_supply {
1: - const struct power_supply_desc *desc;
1: - char **supplied_to;
1: - size_t num_supplicants;
1: - char **supplied_from;
1: - size_t num_supplies;
1: - struct device_node *of_node;
1: - void *drv_data;
1: - struct device dev;
1: - struct work_struct changed_work;
1: - struct delayed_work deferred_register_work;
1: - spinlock_t changed_lock;
1: - bool changed;
1: - bool initialized;
1: - bool removing;
1: - atomic_t use_cnt;
1: - struct thermal_zone_device *tzd;
1: - struct thermal_cooling_device *tcd;
1: - struct led_trigger *charging_full_trig;
1: - char *charging_full_trig_name;
1: - struct led_trigger *charging_trig;
1: - char *charging_trig_name;
1: - struct led_trigger *full_trig;
1: - char *full_trig_name;
1: - struct led_trigger *online_trig;
1: - char *online_trig_name;
1: - struct led_trigger *charging_blink_full_solid_trig;
1: - char *charging_blink_full_solid_trig_name;
1: + const struct power_supply_desc *desc;
1: + char **supplied_to;
1: + size_t num_supplicants;
1: + char **supplied_from;
1: + size_t num_supplies;
1: + struct device_node *of_node;
1: + void *drv_data;
1: + struct device dev;
1: + struct work_struct changed_work;
1: + struct delayed_work deferred_register_work;
1: + spinlock_t changed_lock;
1: + bool changed;
1: + bool initialized;
1: + bool removing;
1: + atomic_t use_cnt;
1: + struct thermal_zone_device *tzd;
1: + struct thermal_cooling_device *tcd;
1: + struct led_trigger *charging_full_trig;
1: + char *charging_full_trig_name;
1: + struct led_trigger *charging_trig;
1: + char *charging_trig_name;
1: + struct led_trigger *full_trig;
1: + char *full_trig_name;
1: + struct led_trigger *online_trig;
1: + char *online_trig_name;
1: + struct led_trigger *charging_blink_full_solid_trig;
1: + char *charging_blink_full_solid_trig_name;
1: };
1:
1: struct acpi_ac_bl {
1: - const char *hid;
1: - int hrv;
1: + const char *hid;
1: + int hrv;
1: };
1:
1: struct acpi_ac {
1: - struct power_supply *charger;
1: - struct power_supply_desc charger_desc;
1: - struct acpi_device *device;
1: - long long unsigned int state;
1: - struct notifier_block battery_nb;
1: + struct power_supply *charger;
1: + struct power_supply_desc charger_desc;
1: + struct acpi_device *device;
1: + long long unsigned int state;
1: + struct notifier_block battery_nb;
1: };
1:
1: struct input_id {
1: - __u16 bustype;
1: - __u16 vendor;
1: - __u16 product;
1: - __u16 version;
1: + __u16 bustype;
1: + __u16 vendor;
1: + __u16 product;
1: + __u16 version;
1: };
1:
1: struct input_absinfo {
1: - __s32 value;
1: - __s32 minimum;
1: - __s32 maximum;
1: - __s32 fuzz;
1: - __s32 flat;
1: - __s32 resolution;
1: + __s32 value;
1: + __s32 minimum;
1: + __s32 maximum;
1: + __s32 fuzz;
1: + __s32 flat;
1: + __s32 resolution;
1: };
1:
1: struct input_keymap_entry {
1: - __u8 flags;
1: - __u8 len;
1: - __u16 index;
1: - __u32 keycode;
1: - __u8 scancode[32];
1: + __u8 flags;
1: + __u8 len;
1: + __u16 index;
1: + __u32 keycode;
1: + __u8 scancode[32];
1: };
1:
1: struct ff_replay {
1: - __u16 length;
1: - __u16 delay;
1: + __u16 length;
1: + __u16 delay;
1: };
1:
1: struct ff_trigger {
1: - __u16 button;
1: - __u16 interval;
1: + __u16 button;
1: + __u16 interval;
1: };
1:
1: struct ff_envelope {
1: - __u16 attack_length;
1: - __u16 attack_level;
1: - __u16 fade_length;
1: - __u16 fade_level;
1: + __u16 attack_length;
1: + __u16 attack_level;
1: + __u16 fade_length;
1: + __u16 fade_level;
1: };
1:
1: struct ff_constant_effect {
1: - __s16 level;
1: - struct ff_envelope envelope;
1: + __s16 level;
1: + struct ff_envelope envelope;
1: };
1:
1: struct ff_ramp_effect {
1: - __s16 start_level;
1: - __s16 end_level;
1: - struct ff_envelope envelope;
1: + __s16 start_level;
1: + __s16 end_level;
1: + struct ff_envelope envelope;
1: };
1:
1: struct ff_condition_effect {
1: - __u16 right_saturation;
1: - __u16 left_saturation;
1: - __s16 right_coeff;
1: - __s16 left_coeff;
1: - __u16 deadband;
1: - __s16 center;
1: + __u16 right_saturation;
1: + __u16 left_saturation;
1: + __s16 right_coeff;
1: + __s16 left_coeff;
1: + __u16 deadband;
1: + __s16 center;
1: };
1:
1: struct ff_periodic_effect {
1: - __u16 waveform;
1: - __u16 period;
1: - __s16 magnitude;
1: - __s16 offset;
1: - __u16 phase;
1: - struct ff_envelope envelope;
1: - __u32 custom_len;
1: - __s16 *custom_data;
1: + __u16 waveform;
1: + __u16 period;
1: + __s16 magnitude;
1: + __s16 offset;
1: + __u16 phase;
1: + struct ff_envelope envelope;
1: + __u32 custom_len;
1: + __s16 *custom_data;
1: };
1:
1: struct ff_rumble_effect {
1: - __u16 strong_magnitude;
1: - __u16 weak_magnitude;
1: + __u16 strong_magnitude;
1: + __u16 weak_magnitude;
1: };
1:
1: struct ff_effect {
1: - __u16 type;
1: - __s16 id;
1: - __u16 direction;
1: - struct ff_trigger trigger;
1: - struct ff_replay replay;
1: - union {
1: - struct ff_constant_effect constant;
1: - struct ff_ramp_effect ramp;
1: - struct ff_periodic_effect periodic;
1: - struct ff_condition_effect condition[2];
1: - struct ff_rumble_effect rumble;
1: - } u;
1: + __u16 type;
1: + __s16 id;
1: + __u16 direction;
1: + struct ff_trigger trigger;
1: + struct ff_replay replay;
1: + union {
1: + struct ff_constant_effect constant;
1: + struct ff_ramp_effect ramp;
1: + struct ff_periodic_effect periodic;
1: + struct ff_condition_effect condition[2];
1: + struct ff_rumble_effect rumble;
1: + } u;
1: };
1:
1: struct input_device_id {
1: - kernel_ulong_t flags;
1: - __u16 bustype;
1: - __u16 vendor;
1: - __u16 product;
1: - __u16 version;
1: - kernel_ulong_t evbit[1];
1: - kernel_ulong_t keybit[12];
1: - kernel_ulong_t relbit[1];
1: - kernel_ulong_t absbit[1];
1: - kernel_ulong_t mscbit[1];
1: - kernel_ulong_t ledbit[1];
1: - kernel_ulong_t sndbit[1];
1: - kernel_ulong_t ffbit[2];
1: - kernel_ulong_t swbit[1];
1: - kernel_ulong_t propbit[1];
1: - kernel_ulong_t driver_info;
1: + kernel_ulong_t flags;
1: + __u16 bustype;
1: + __u16 vendor;
1: + __u16 product;
1: + __u16 version;
1: + kernel_ulong_t evbit[1];
1: + kernel_ulong_t keybit[12];
1: + kernel_ulong_t relbit[1];
1: + kernel_ulong_t absbit[1];
1: + kernel_ulong_t mscbit[1];
1: + kernel_ulong_t ledbit[1];
1: + kernel_ulong_t sndbit[1];
1: + kernel_ulong_t ffbit[2];
1: + kernel_ulong_t swbit[1];
1: + kernel_ulong_t propbit[1];
1: + kernel_ulong_t driver_info;
1: };
1:
1: struct input_value {
1: - __u16 type;
1: - __u16 code;
1: - __s32 value;
1: + __u16 type;
1: + __u16 code;
1: + __s32 value;
1: };
1:
1: enum input_clock_type {
1: - INPUT_CLK_REAL = 0,
1: - INPUT_CLK_MONO = 1,
1: - INPUT_CLK_BOOT = 2,
1: - INPUT_CLK_MAX = 3,
1: + INPUT_CLK_REAL = 0,
1: + INPUT_CLK_MONO = 1,
1: + INPUT_CLK_BOOT = 2,
1: + INPUT_CLK_MAX = 3,
1: };
1:
1: struct ff_device;
1: @@ -61804,579 +62254,582 @@ struct input_mt;
1: struct input_handle;
1:
1: struct input_dev {
1: - const char *name;
1: - const char *phys;
1: - const char *uniq;
1: - struct input_id id;
1: - long unsigned int propbit[1];
1: - long unsigned int evbit[1];
1: - long unsigned int keybit[12];
1: - long unsigned int relbit[1];
1: - long unsigned int absbit[1];
1: - long unsigned int mscbit[1];
1: - long unsigned int ledbit[1];
1: - long unsigned int sndbit[1];
1: - long unsigned int ffbit[2];
1: - long unsigned int swbit[1];
1: - unsigned int hint_events_per_packet;
1: - unsigned int keycodemax;
1: - unsigned int keycodesize;
1: - void *keycode;
1: - int (*setkeycode)(struct input_dev *, const struct input_keymap_entry *, unsigned int *);
1: - int (*getkeycode)(struct input_dev *, struct input_keymap_entry *);
1: - struct ff_device *ff;
1: - struct input_dev_poller *poller;
1: - unsigned int repeat_key;
1: - struct timer_list timer;
1: - int rep[2];
1: - struct input_mt *mt;
1: - struct input_absinfo *absinfo;
1: - long unsigned int key[12];
1: - long unsigned int led[1];
1: - long unsigned int snd[1];
1: - long unsigned int sw[1];
1: - int (*open)(struct input_dev *);
1: - void (*close)(struct input_dev *);
1: - int (*flush)(struct input_dev *, struct file *);
1: - int (*event)(struct input_dev *, unsigned int, unsigned int, int);
1: - struct input_handle *grab;
1: - spinlock_t event_lock;
1: - struct mutex mutex;
1: - unsigned int users;
1: - bool going_away;
1: - struct device dev;
1: - struct list_head h_list;
1: - struct list_head node;
1: - unsigned int num_vals;
1: - unsigned int max_vals;
1: - struct input_value *vals;
1: - bool devres_managed;
1: - ktime_t timestamp[3];
1: + const char *name;
1: + const char *phys;
1: + const char *uniq;
1: + struct input_id id;
1: + long unsigned int propbit[1];
1: + long unsigned int evbit[1];
1: + long unsigned int keybit[12];
1: + long unsigned int relbit[1];
1: + long unsigned int absbit[1];
1: + long unsigned int mscbit[1];
1: + long unsigned int ledbit[1];
1: + long unsigned int sndbit[1];
1: + long unsigned int ffbit[2];
1: + long unsigned int swbit[1];
1: + unsigned int hint_events_per_packet;
1: + unsigned int keycodemax;
1: + unsigned int keycodesize;
1: + void *keycode;
1: + int (*setkeycode)(struct input_dev *, const struct input_keymap_entry *,
1: + unsigned int *);
1: + int (*getkeycode)(struct input_dev *, struct input_keymap_entry *);
1: + struct ff_device *ff;
1: + struct input_dev_poller *poller;
1: + unsigned int repeat_key;
1: + struct timer_list timer;
1: + int rep[2];
1: + struct input_mt *mt;
1: + struct input_absinfo *absinfo;
1: + long unsigned int key[12];
1: + long unsigned int led[1];
1: + long unsigned int snd[1];
1: + long unsigned int sw[1];
1: + int (*open)(struct input_dev *);
1: + void (*close)(struct input_dev *);
1: + int (*flush)(struct input_dev *, struct file *);
1: + int (*event)(struct input_dev *, unsigned int, unsigned int, int);
1: + struct input_handle *grab;
1: + spinlock_t event_lock;
1: + struct mutex mutex;
1: + unsigned int users;
1: + bool going_away;
1: + struct device dev;
1: + struct list_head h_list;
1: + struct list_head node;
1: + unsigned int num_vals;
1: + unsigned int max_vals;
1: + struct input_value *vals;
1: + bool devres_managed;
1: + ktime_t timestamp[3];
1: };
1:
1: struct ff_device {
1: - int (*upload)(struct input_dev *, struct ff_effect *, struct ff_effect *);
1: - int (*erase)(struct input_dev *, int);
1: - int (*playback)(struct input_dev *, int, int);
1: - void (*set_gain)(struct input_dev *, u16);
1: - void (*set_autocenter)(struct input_dev *, u16);
1: - void (*destroy)(struct ff_device *);
1: - void *private;
1: - long unsigned int ffbit[2];
1: - struct mutex mutex;
1: - int max_effects;
1: - struct ff_effect *effects;
1: - struct file *effect_owners[0];
1: + int (*upload)(struct input_dev *, struct ff_effect *, struct ff_effect *);
1: + int (*erase)(struct input_dev *, int);
1: + int (*playback)(struct input_dev *, int, int);
1: + void (*set_gain)(struct input_dev *, u16);
1: + void (*set_autocenter)(struct input_dev *, u16);
1: + void (*destroy)(struct ff_device *);
1: + void *private;
1: + long unsigned int ffbit[2];
1: + struct mutex mutex;
1: + int max_effects;
1: + struct ff_effect *effects;
1: + struct file *effect_owners[0];
1: };
1:
1: struct input_handler;
1:
1: struct input_handle {
1: - void *private;
1: - int open;
1: - const char *name;
1: - struct input_dev *dev;
1: - struct input_handler *handler;
1: - struct list_head d_node;
1: - struct list_head h_node;
1: + void *private;
1: + int open;
1: + const char *name;
1: + struct input_dev *dev;
1: + struct input_handler *handler;
1: + struct list_head d_node;
1: + struct list_head h_node;
1: };
1:
1: struct input_handler {
1: - void *private;
1: - void (*event)(struct input_handle *, unsigned int, unsigned int, int);
1: - void (*events)(struct input_handle *, const struct input_value *, unsigned int);
1: - bool (*filter)(struct input_handle *, unsigned int, unsigned int, int);
1: - bool (*match)(struct input_handler *, struct input_dev *);
1: - int (*connect)(struct input_handler *, struct input_dev *, const struct input_device_id *);
1: - void (*disconnect)(struct input_handle *);
1: - void (*start)(struct input_handle *);
1: - bool legacy_minors;
1: - int minor;
1: - const char *name;
1: - const struct input_device_id *id_table;
1: - struct list_head h_list;
1: - struct list_head node;
1: -};
1: -
1: -enum {
1: - ACPI_BUTTON_LID_INIT_IGNORE = 0,
1: - ACPI_BUTTON_LID_INIT_OPEN = 1,
1: - ACPI_BUTTON_LID_INIT_METHOD = 2,
1: - ACPI_BUTTON_LID_INIT_DISABLED = 3,
1: + void *private;
1: + void (*event)(struct input_handle *, unsigned int, unsigned int, int);
1: + void (*events)(struct input_handle *, const struct input_value *,
1: + unsigned int);
1: + bool (*filter)(struct input_handle *, unsigned int, unsigned int, int);
1: + bool (*match)(struct input_handler *, struct input_dev *);
1: + int (*connect)(struct input_handler *, struct input_dev *,
1: + const struct input_device_id *);
1: + void (*disconnect)(struct input_handle *);
1: + void (*start)(struct input_handle *);
1: + bool legacy_minors;
1: + int minor;
1: + const char *name;
1: + const struct input_device_id *id_table;
1: + struct list_head h_list;
1: + struct list_head node;
1: +};
1: +
1: +enum {
1: + ACPI_BUTTON_LID_INIT_IGNORE = 0,
1: + ACPI_BUTTON_LID_INIT_OPEN = 1,
1: + ACPI_BUTTON_LID_INIT_METHOD = 2,
1: + ACPI_BUTTON_LID_INIT_DISABLED = 3,
1: };
1:
1: struct acpi_button {
1: - unsigned int type;
1: - struct input_dev *input;
1: - char phys[32];
1: - long unsigned int pushed;
1: - int last_state;
1: - ktime_t last_time;
1: - bool suspended;
1: + unsigned int type;
1: + struct input_dev *input;
1: + char phys[32];
1: + long unsigned int pushed;
1: + int last_state;
1: + ktime_t last_time;
1: + bool suspended;
1: };
1:
1: struct acpi_fan_fps {
1: - u64 control;
1: - u64 trip_point;
1: - u64 speed;
1: - u64 noise_level;
1: - u64 power;
1: + u64 control;
1: + u64 trip_point;
1: + u64 speed;
1: + u64 noise_level;
1: + u64 power;
1: };
1:
1: struct acpi_fan_fif {
1: - u64 revision;
1: - u64 fine_grain_ctrl;
1: - u64 step_size;
1: - u64 low_speed_notification;
1: + u64 revision;
1: + u64 fine_grain_ctrl;
1: + u64 step_size;
1: + u64 low_speed_notification;
1: };
1:
1: struct acpi_fan {
1: - bool acpi4;
1: - struct acpi_fan_fif fif;
1: - struct acpi_fan_fps *fps;
1: - int fps_count;
1: - struct thermal_cooling_device *cdev;
1: + bool acpi4;
1: + struct acpi_fan_fif fif;
1: + struct acpi_fan_fps *fps;
1: + int fps_count;
1: + struct thermal_cooling_device *cdev;
1: };
1:
1: struct acpi_video_brightness_flags {
1: - u8 _BCL_no_ac_battery_levels: 1;
1: - u8 _BCL_reversed: 1;
1: - u8 _BQC_use_index: 1;
1: + u8 _BCL_no_ac_battery_levels : 1;
1: + u8 _BCL_reversed : 1;
1: + u8 _BQC_use_index : 1;
1: };
1:
1: struct acpi_video_device_brightness {
1: - int curr;
1: - int count;
1: - int *levels;
1: - struct acpi_video_brightness_flags flags;
1: + int curr;
1: + int count;
1: + int *levels;
1: + struct acpi_video_brightness_flags flags;
1: };
1:
1: enum acpi_backlight_type {
1: - acpi_backlight_undef = -1,
1: - acpi_backlight_none = 0,
1: - acpi_backlight_video = 1,
1: - acpi_backlight_vendor = 2,
1: - acpi_backlight_native = 3,
1: + acpi_backlight_undef = -1,
1: + acpi_backlight_none = 0,
1: + acpi_backlight_video = 1,
1: + acpi_backlight_vendor = 2,
1: + acpi_backlight_native = 3,
1: };
1:
1: enum acpi_video_level_idx {
1: - ACPI_VIDEO_AC_LEVEL = 0,
1: - ACPI_VIDEO_BATTERY_LEVEL = 1,
1: - ACPI_VIDEO_FIRST_LEVEL = 2,
1: + ACPI_VIDEO_AC_LEVEL = 0,
1: + ACPI_VIDEO_BATTERY_LEVEL = 1,
1: + ACPI_VIDEO_FIRST_LEVEL = 2,
1: };
1:
1: struct acpi_video_bus_flags {
1: - u8 multihead: 1;
1: - u8 rom: 1;
1: - u8 post: 1;
1: - u8 reserved: 5;
1: + u8 multihead : 1;
1: + u8 rom : 1;
1: + u8 post : 1;
1: + u8 reserved : 5;
1: };
1:
1: struct acpi_video_bus_cap {
1: - u8 _DOS: 1;
1: - u8 _DOD: 1;
1: - u8 _ROM: 1;
1: - u8 _GPD: 1;
1: - u8 _SPD: 1;
1: - u8 _VPO: 1;
1: - u8 reserved: 2;
1: + u8 _DOS : 1;
1: + u8 _DOD : 1;
1: + u8 _ROM : 1;
1: + u8 _GPD : 1;
1: + u8 _SPD : 1;
1: + u8 _VPO : 1;
1: + u8 reserved : 2;
1: };
1:
1: struct acpi_video_device_attrib {
1: - u32 display_index: 4;
1: - u32 display_port_attachment: 4;
1: - u32 display_type: 4;
1: - u32 vendor_specific: 4;
1: - u32 bios_can_detect: 1;
1: - u32 depend_on_vga: 1;
1: - u32 pipe_id: 3;
1: - u32 reserved: 10;
1: - u32 device_id_scheme: 1;
1: + u32 display_index : 4;
1: + u32 display_port_attachment : 4;
1: + u32 display_type : 4;
1: + u32 vendor_specific : 4;
1: + u32 bios_can_detect : 1;
1: + u32 depend_on_vga : 1;
1: + u32 pipe_id : 3;
1: + u32 reserved : 10;
1: + u32 device_id_scheme : 1;
1: };
1:
1: struct acpi_video_device;
1:
1: struct acpi_video_enumerated_device {
1: - union {
1: - u32 int_val;
1: - struct acpi_video_device_attrib attrib;
1: - } value;
1: - struct acpi_video_device *bind_info;
1: + union {
1: + u32 int_val;
1: + struct acpi_video_device_attrib attrib;
1: + } value;
1: + struct acpi_video_device *bind_info;
1: };
1:
1: struct acpi_video_device_flags {
1: - u8 crt: 1;
1: - u8 lcd: 1;
1: - u8 tvout: 1;
1: - u8 dvi: 1;
1: - u8 bios: 1;
1: - u8 unknown: 1;
1: - u8 notify: 1;
1: - u8 reserved: 1;
1: + u8 crt : 1;
1: + u8 lcd : 1;
1: + u8 tvout : 1;
1: + u8 dvi : 1;
1: + u8 bios : 1;
1: + u8 unknown : 1;
1: + u8 notify : 1;
1: + u8 reserved : 1;
1: };
1:
1: struct acpi_video_device_cap {
1: - u8 _ADR: 1;
1: - u8 _BCL: 1;
1: - u8 _BCM: 1;
1: - u8 _BQC: 1;
1: - u8 _BCQ: 1;
1: - u8 _DDC: 1;
1: + u8 _ADR : 1;
1: + u8 _BCL : 1;
1: + u8 _BCM : 1;
1: + u8 _BQC : 1;
1: + u8 _BCQ : 1;
1: + u8 _DDC : 1;
1: };
1:
1: struct acpi_video_bus;
1:
1: struct acpi_video_device {
1: - long unsigned int device_id;
1: - struct acpi_video_device_flags flags;
1: - struct acpi_video_device_cap cap;
1: - struct list_head entry;
1: - struct delayed_work switch_brightness_work;
1: - int switch_brightness_event;
1: - struct acpi_video_bus *video;
1: - struct acpi_device *dev;
1: - struct acpi_video_device_brightness *brightness;
1: - struct backlight_device *backlight;
1: - struct thermal_cooling_device *cooling_dev;
1: + long unsigned int device_id;
1: + struct acpi_video_device_flags flags;
1: + struct acpi_video_device_cap cap;
1: + struct list_head entry;
1: + struct delayed_work switch_brightness_work;
1: + int switch_brightness_event;
1: + struct acpi_video_bus *video;
1: + struct acpi_device *dev;
1: + struct acpi_video_device_brightness *brightness;
1: + struct backlight_device *backlight;
1: + struct thermal_cooling_device *cooling_dev;
1: };
1:
1: struct acpi_video_bus {
1: - struct acpi_device *device;
1: - bool backlight_registered;
1: - u8 dos_setting;
1: - struct acpi_video_enumerated_device *attached_array;
1: - u8 attached_count;
1: - u8 child_count;
1: - struct acpi_video_bus_cap cap;
1: - struct acpi_video_bus_flags flags;
1: - struct list_head video_device_list;
1: - struct mutex device_list_lock;
1: - struct list_head entry;
1: - struct input_dev *input;
1: - char phys[32];
1: - struct notifier_block pm_nb;
1: + struct acpi_device *device;
1: + bool backlight_registered;
1: + u8 dos_setting;
1: + struct acpi_video_enumerated_device *attached_array;
1: + u8 attached_count;
1: + u8 child_count;
1: + struct acpi_video_bus_cap cap;
1: + struct acpi_video_bus_flags flags;
1: + struct list_head video_device_list;
1: + struct mutex device_list_lock;
1: + struct list_head entry;
1: + struct input_dev *input;
1: + char phys[32];
1: + struct notifier_block pm_nb;
1: };
1:
1: struct acpi_lpi_states_array {
1: - unsigned int size;
1: - unsigned int composite_states_size;
1: - struct acpi_lpi_state *entries;
1: - struct acpi_lpi_state *composite_states[8];
1: + unsigned int size;
1: + unsigned int composite_states_size;
1: + struct acpi_lpi_state *entries;
1: + struct acpi_lpi_state *composite_states[8];
1: };
1:
1: struct throttling_tstate {
1: - unsigned int cpu;
1: - int target_state;
1: + unsigned int cpu;
1: + int target_state;
1: };
1:
1: struct acpi_processor_throttling_arg {
1: - struct acpi_processor *pr;
1: - int target_state;
1: - bool force;
1: + struct acpi_processor *pr;
1: + int target_state;
1: + bool force;
1: };
1:
1: struct container_dev {
1: - struct device dev;
1: - int (*offline)(struct container_dev *);
1: + struct device dev;
1: + int (*offline)(struct container_dev *);
1: };
1:
1: struct acpi_thermal_state {
1: - u8 critical: 1;
1: - u8 hot: 1;
1: - u8 passive: 1;
1: - u8 active: 1;
1: - u8 reserved: 4;
1: - int active_index;
1: + u8 critical : 1;
1: + u8 hot : 1;
1: + u8 passive : 1;
1: + u8 active : 1;
1: + u8 reserved : 4;
1: + int active_index;
1: };
1:
1: struct acpi_thermal_state_flags {
1: - u8 valid: 1;
1: - u8 enabled: 1;
1: - u8 reserved: 6;
1: + u8 valid : 1;
1: + u8 enabled : 1;
1: + u8 reserved : 6;
1: };
1:
1: struct acpi_thermal_critical {
1: - struct acpi_thermal_state_flags flags;
1: - long unsigned int temperature;
1: + struct acpi_thermal_state_flags flags;
1: + long unsigned int temperature;
1: };
1:
1: struct acpi_thermal_hot {
1: - struct acpi_thermal_state_flags flags;
1: - long unsigned int temperature;
1: + struct acpi_thermal_state_flags flags;
1: + long unsigned int temperature;
1: };
1:
1: struct acpi_thermal_passive {
1: - struct acpi_thermal_state_flags flags;
1: - long unsigned int temperature;
1: - long unsigned int tc1;
1: - long unsigned int tc2;
1: - long unsigned int tsp;
1: - struct acpi_handle_list devices;
1: + struct acpi_thermal_state_flags flags;
1: + long unsigned int temperature;
1: + long unsigned int tc1;
1: + long unsigned int tc2;
1: + long unsigned int tsp;
1: + struct acpi_handle_list devices;
1: };
1:
1: struct acpi_thermal_active {
1: - struct acpi_thermal_state_flags flags;
1: - long unsigned int temperature;
1: - struct acpi_handle_list devices;
1: + struct acpi_thermal_state_flags flags;
1: + long unsigned int temperature;
1: + struct acpi_handle_list devices;
1: };
1:
1: struct acpi_thermal_trips {
1: - struct acpi_thermal_critical critical;
1: - struct acpi_thermal_hot hot;
1: - struct acpi_thermal_passive passive;
1: - struct acpi_thermal_active active[10];
1: + struct acpi_thermal_critical critical;
1: + struct acpi_thermal_hot hot;
1: + struct acpi_thermal_passive passive;
1: + struct acpi_thermal_active active[10];
1: };
1:
1: struct acpi_thermal_flags {
1: - u8 cooling_mode: 1;
1: - u8 devices: 1;
1: - u8 reserved: 6;
1: + u8 cooling_mode : 1;
1: + u8 devices : 1;
1: + u8 reserved : 6;
1: };
1:
1: struct acpi_thermal {
1: - struct acpi_device *device;
1: - acpi_bus_id name;
1: - long unsigned int temperature;
1: - long unsigned int last_temperature;
1: - long unsigned int polling_frequency;
1: - volatile u8 zombie;
1: - struct acpi_thermal_flags flags;
1: - struct acpi_thermal_state state;
1: - struct acpi_thermal_trips trips;
1: - struct acpi_handle_list devices;
1: - struct thermal_zone_device *thermal_zone;
1: - int tz_enabled;
1: - int kelvin_offset;
1: - struct work_struct thermal_check_work;
1: + struct acpi_device *device;
1: + acpi_bus_id name;
1: + long unsigned int temperature;
1: + long unsigned int last_temperature;
1: + long unsigned int polling_frequency;
1: + volatile u8 zombie;
1: + struct acpi_thermal_flags flags;
1: + struct acpi_thermal_state state;
1: + struct acpi_thermal_trips trips;
1: + struct acpi_handle_list devices;
1: + struct thermal_zone_device *thermal_zone;
1: + int tz_enabled;
1: + int kelvin_offset;
1: + struct work_struct thermal_check_work;
1: };
1:
1: struct acpi_table_slit {
1: - struct acpi_table_header header;
1: - u64 locality_count;
1: - u8 entry[1];
1: + struct acpi_table_header header;
1: + u64 locality_count;
1: + u8 entry[1];
1: } __attribute__((packed));
1:
1: struct acpi_table_srat {
1: - struct acpi_table_header header;
1: - u32 table_revision;
1: - u64 reserved;
1: + struct acpi_table_header header;
1: + u32 table_revision;
1: + u64 reserved;
1: };
1:
1: enum acpi_srat_type {
1: - ACPI_SRAT_TYPE_CPU_AFFINITY = 0,
1: - ACPI_SRAT_TYPE_MEMORY_AFFINITY = 1,
1: - ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2,
1: - ACPI_SRAT_TYPE_GICC_AFFINITY = 3,
1: - ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4,
1: - ACPI_SRAT_TYPE_GENERIC_AFFINITY = 5,
1: - ACPI_SRAT_TYPE_RESERVED = 6,
1: + ACPI_SRAT_TYPE_CPU_AFFINITY = 0,
1: + ACPI_SRAT_TYPE_MEMORY_AFFINITY = 1,
1: + ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2,
1: + ACPI_SRAT_TYPE_GICC_AFFINITY = 3,
1: + ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4,
1: + ACPI_SRAT_TYPE_GENERIC_AFFINITY = 5,
1: + ACPI_SRAT_TYPE_RESERVED = 6,
1: };
1:
1: struct acpi_srat_mem_affinity {
1: - struct acpi_subtable_header header;
1: - u32 proximity_domain;
1: - u16 reserved;
1: - u64 base_address;
1: - u64 length;
1: - u32 reserved1;
1: - u32 flags;
1: - u64 reserved2;
1: + struct acpi_subtable_header header;
1: + u32 proximity_domain;
1: + u16 reserved;
1: + u64 base_address;
1: + u64 length;
1: + u32 reserved1;
1: + u32 flags;
1: + u64 reserved2;
1: } __attribute__((packed));
1:
1: struct acpi_srat_gicc_affinity {
1: - struct acpi_subtable_header header;
1: - u32 proximity_domain;
1: - u32 acpi_processor_uid;
1: - u32 flags;
1: - u32 clock_domain;
1: + struct acpi_subtable_header header;
1: + u32 proximity_domain;
1: + u32 acpi_processor_uid;
1: + u32 flags;
1: + u32 clock_domain;
1: } __attribute__((packed));
1:
1: struct acpi_pci_ioapic {
1: - acpi_handle root_handle;
1: - acpi_handle handle;
1: - u32 gsi_base;
1: - struct resource res;
1: - struct pci_dev *pdev;
1: - struct list_head list;
1: + acpi_handle root_handle;
1: + acpi_handle handle;
1: + u32 gsi_base;
1: + struct resource res;
1: + struct pci_dev *pdev;
1: + struct list_head list;
1: };
1:
1: enum dmi_entry_type {
1: - DMI_ENTRY_BIOS = 0,
1: - DMI_ENTRY_SYSTEM = 1,
1: - DMI_ENTRY_BASEBOARD = 2,
1: - DMI_ENTRY_CHASSIS = 3,
1: - DMI_ENTRY_PROCESSOR = 4,
1: - DMI_ENTRY_MEM_CONTROLLER = 5,
1: - DMI_ENTRY_MEM_MODULE = 6,
1: - DMI_ENTRY_CACHE = 7,
1: - DMI_ENTRY_PORT_CONNECTOR = 8,
1: - DMI_ENTRY_SYSTEM_SLOT = 9,
1: - DMI_ENTRY_ONBOARD_DEVICE = 10,
1: - DMI_ENTRY_OEMSTRINGS = 11,
1: - DMI_ENTRY_SYSCONF = 12,
1: - DMI_ENTRY_BIOS_LANG = 13,
1: - DMI_ENTRY_GROUP_ASSOC = 14,
1: - DMI_ENTRY_SYSTEM_EVENT_LOG = 15,
1: - DMI_ENTRY_PHYS_MEM_ARRAY = 16,
1: - DMI_ENTRY_MEM_DEVICE = 17,
1: - DMI_ENTRY_32_MEM_ERROR = 18,
1: - DMI_ENTRY_MEM_ARRAY_MAPPED_ADDR = 19,
1: - DMI_ENTRY_MEM_DEV_MAPPED_ADDR = 20,
1: - DMI_ENTRY_BUILTIN_POINTING_DEV = 21,
1: - DMI_ENTRY_PORTABLE_BATTERY = 22,
1: - DMI_ENTRY_SYSTEM_RESET = 23,
1: - DMI_ENTRY_HW_SECURITY = 24,
1: - DMI_ENTRY_SYSTEM_POWER_CONTROLS = 25,
1: - DMI_ENTRY_VOLTAGE_PROBE = 26,
1: - DMI_ENTRY_COOLING_DEV = 27,
1: - DMI_ENTRY_TEMP_PROBE = 28,
1: - DMI_ENTRY_ELECTRICAL_CURRENT_PROBE = 29,
1: - DMI_ENTRY_OOB_REMOTE_ACCESS = 30,
1: - DMI_ENTRY_BIS_ENTRY = 31,
1: - DMI_ENTRY_SYSTEM_BOOT = 32,
1: - DMI_ENTRY_MGMT_DEV = 33,
1: - DMI_ENTRY_MGMT_DEV_COMPONENT = 34,
1: - DMI_ENTRY_MGMT_DEV_THRES = 35,
1: - DMI_ENTRY_MEM_CHANNEL = 36,
1: - DMI_ENTRY_IPMI_DEV = 37,
1: - DMI_ENTRY_SYS_POWER_SUPPLY = 38,
1: - DMI_ENTRY_ADDITIONAL = 39,
1: - DMI_ENTRY_ONBOARD_DEV_EXT = 40,
1: - DMI_ENTRY_MGMT_CONTROLLER_HOST = 41,
1: - DMI_ENTRY_INACTIVE = 126,
1: - DMI_ENTRY_END_OF_TABLE = 127,
1: + DMI_ENTRY_BIOS = 0,
1: + DMI_ENTRY_SYSTEM = 1,
1: + DMI_ENTRY_BASEBOARD = 2,
1: + DMI_ENTRY_CHASSIS = 3,
1: + DMI_ENTRY_PROCESSOR = 4,
1: + DMI_ENTRY_MEM_CONTROLLER = 5,
1: + DMI_ENTRY_MEM_MODULE = 6,
1: + DMI_ENTRY_CACHE = 7,
1: + DMI_ENTRY_PORT_CONNECTOR = 8,
1: + DMI_ENTRY_SYSTEM_SLOT = 9,
1: + DMI_ENTRY_ONBOARD_DEVICE = 10,
1: + DMI_ENTRY_OEMSTRINGS = 11,
1: + DMI_ENTRY_SYSCONF = 12,
1: + DMI_ENTRY_BIOS_LANG = 13,
1: + DMI_ENTRY_GROUP_ASSOC = 14,
1: + DMI_ENTRY_SYSTEM_EVENT_LOG = 15,
1: + DMI_ENTRY_PHYS_MEM_ARRAY = 16,
1: + DMI_ENTRY_MEM_DEVICE = 17,
1: + DMI_ENTRY_32_MEM_ERROR = 18,
1: + DMI_ENTRY_MEM_ARRAY_MAPPED_ADDR = 19,
1: + DMI_ENTRY_MEM_DEV_MAPPED_ADDR = 20,
1: + DMI_ENTRY_BUILTIN_POINTING_DEV = 21,
1: + DMI_ENTRY_PORTABLE_BATTERY = 22,
1: + DMI_ENTRY_SYSTEM_RESET = 23,
1: + DMI_ENTRY_HW_SECURITY = 24,
1: + DMI_ENTRY_SYSTEM_POWER_CONTROLS = 25,
1: + DMI_ENTRY_VOLTAGE_PROBE = 26,
1: + DMI_ENTRY_COOLING_DEV = 27,
1: + DMI_ENTRY_TEMP_PROBE = 28,
1: + DMI_ENTRY_ELECTRICAL_CURRENT_PROBE = 29,
1: + DMI_ENTRY_OOB_REMOTE_ACCESS = 30,
1: + DMI_ENTRY_BIS_ENTRY = 31,
1: + DMI_ENTRY_SYSTEM_BOOT = 32,
1: + DMI_ENTRY_MGMT_DEV = 33,
1: + DMI_ENTRY_MGMT_DEV_COMPONENT = 34,
1: + DMI_ENTRY_MGMT_DEV_THRES = 35,
1: + DMI_ENTRY_MEM_CHANNEL = 36,
1: + DMI_ENTRY_IPMI_DEV = 37,
1: + DMI_ENTRY_SYS_POWER_SUPPLY = 38,
1: + DMI_ENTRY_ADDITIONAL = 39,
1: + DMI_ENTRY_ONBOARD_DEV_EXT = 40,
1: + DMI_ENTRY_MGMT_CONTROLLER_HOST = 41,
1: + DMI_ENTRY_INACTIVE = 126,
1: + DMI_ENTRY_END_OF_TABLE = 127,
1: };
1:
1: struct dmi_header {
1: - u8 type;
1: - u8 length;
1: - u16 handle;
1: + u8 type;
1: + u8 length;
1: + u16 handle;
1: };
1:
1: enum {
1: - POWER_SUPPLY_STATUS_UNKNOWN = 0,
1: - POWER_SUPPLY_STATUS_CHARGING = 1,
1: - POWER_SUPPLY_STATUS_DISCHARGING = 2,
1: - POWER_SUPPLY_STATUS_NOT_CHARGING = 3,
1: - POWER_SUPPLY_STATUS_FULL = 4,
1: + POWER_SUPPLY_STATUS_UNKNOWN = 0,
1: + POWER_SUPPLY_STATUS_CHARGING = 1,
1: + POWER_SUPPLY_STATUS_DISCHARGING = 2,
1: + POWER_SUPPLY_STATUS_NOT_CHARGING = 3,
1: + POWER_SUPPLY_STATUS_FULL = 4,
1: };
1:
1: enum {
1: - POWER_SUPPLY_TECHNOLOGY_UNKNOWN = 0,
1: - POWER_SUPPLY_TECHNOLOGY_NiMH = 1,
1: - POWER_SUPPLY_TECHNOLOGY_LION = 2,
1: - POWER_SUPPLY_TECHNOLOGY_LIPO = 3,
1: - POWER_SUPPLY_TECHNOLOGY_LiFe = 4,
1: - POWER_SUPPLY_TECHNOLOGY_NiCd = 5,
1: - POWER_SUPPLY_TECHNOLOGY_LiMn = 6,
1: + POWER_SUPPLY_TECHNOLOGY_UNKNOWN = 0,
1: + POWER_SUPPLY_TECHNOLOGY_NiMH = 1,
1: + POWER_SUPPLY_TECHNOLOGY_LION = 2,
1: + POWER_SUPPLY_TECHNOLOGY_LIPO = 3,
1: + POWER_SUPPLY_TECHNOLOGY_LiFe = 4,
1: + POWER_SUPPLY_TECHNOLOGY_NiCd = 5,
1: + POWER_SUPPLY_TECHNOLOGY_LiMn = 6,
1: };
1:
1: enum {
1: - POWER_SUPPLY_CAPACITY_LEVEL_UNKNOWN = 0,
1: - POWER_SUPPLY_CAPACITY_LEVEL_CRITICAL = 1,
1: - POWER_SUPPLY_CAPACITY_LEVEL_LOW = 2,
1: - POWER_SUPPLY_CAPACITY_LEVEL_NORMAL = 3,
1: - POWER_SUPPLY_CAPACITY_LEVEL_HIGH = 4,
1: - POWER_SUPPLY_CAPACITY_LEVEL_FULL = 5,
1: + POWER_SUPPLY_CAPACITY_LEVEL_UNKNOWN = 0,
1: + POWER_SUPPLY_CAPACITY_LEVEL_CRITICAL = 1,
1: + POWER_SUPPLY_CAPACITY_LEVEL_LOW = 2,
1: + POWER_SUPPLY_CAPACITY_LEVEL_NORMAL = 3,
1: + POWER_SUPPLY_CAPACITY_LEVEL_HIGH = 4,
1: + POWER_SUPPLY_CAPACITY_LEVEL_FULL = 5,
1: };
1:
1: struct acpi_battery_hook {
1: - const char *name;
1: - int (*add_battery)(struct power_supply *);
1: - int (*remove_battery)(struct power_supply *);
1: - struct list_head list;
1: + const char *name;
1: + int (*add_battery)(struct power_supply *);
1: + int (*remove_battery)(struct power_supply *);
1: + struct list_head list;
1: };
1:
1: enum {
1: - ACPI_BATTERY_ALARM_PRESENT = 0,
1: - ACPI_BATTERY_XINFO_PRESENT = 1,
1: - ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY = 2,
1: - ACPI_BATTERY_QUIRK_THINKPAD_MAH = 3,
1: - ACPI_BATTERY_QUIRK_DEGRADED_FULL_CHARGE = 4,
1: + ACPI_BATTERY_ALARM_PRESENT = 0,
1: + ACPI_BATTERY_XINFO_PRESENT = 1,
1: + ACPI_BATTERY_QUIRK_PERCENTAGE_CAPACITY = 2,
1: + ACPI_BATTERY_QUIRK_THINKPAD_MAH = 3,
1: + ACPI_BATTERY_QUIRK_DEGRADED_FULL_CHARGE = 4,
1: };
1:
1: struct acpi_battery {
1: - struct mutex lock;
1: - struct mutex sysfs_lock;
1: - struct power_supply *bat;
1: - struct power_supply_desc bat_desc;
1: - struct acpi_device *device;
1: - struct notifier_block pm_nb;
1: - struct list_head list;
1: - long unsigned int update_time;
1: - int revision;
1: - int rate_now;
1: - int capacity_now;
1: - int voltage_now;
1: - int design_capacity;
1: - int full_charge_capacity;
1: - int technology;
1: - int design_voltage;
1: - int design_capacity_warning;
1: - int design_capacity_low;
1: - int cycle_count;
1: - int measurement_accuracy;
1: - int max_sampling_time;
1: - int min_sampling_time;
1: - int max_averaging_interval;
1: - int min_averaging_interval;
1: - int capacity_granularity_1;
1: - int capacity_granularity_2;
1: - int alarm;
1: - char model_number[32];
1: - char serial_number[32];
1: - char type[32];
1: - char oem_info[32];
1: - int state;
1: - int power_unit;
1: - long unsigned int flags;
1: + struct mutex lock;
1: + struct mutex sysfs_lock;
1: + struct power_supply *bat;
1: + struct power_supply_desc bat_desc;
1: + struct acpi_device *device;
1: + struct notifier_block pm_nb;
1: + struct list_head list;
1: + long unsigned int update_time;
1: + int revision;
1: + int rate_now;
1: + int capacity_now;
1: + int voltage_now;
1: + int design_capacity;
1: + int full_charge_capacity;
1: + int technology;
1: + int design_voltage;
1: + int design_capacity_warning;
1: + int design_capacity_low;
1: + int cycle_count;
1: + int measurement_accuracy;
1: + int max_sampling_time;
1: + int min_sampling_time;
1: + int max_averaging_interval;
1: + int min_averaging_interval;
1: + int capacity_granularity_1;
1: + int capacity_granularity_2;
1: + int alarm;
1: + char model_number[32];
1: + char serial_number[32];
1: + char type[32];
1: + char oem_info[32];
1: + int state;
1: + int power_unit;
1: + long unsigned int flags;
1: };
1:
1: struct acpi_offsets {
1: - size_t offset;
1: - u8 mode;
1: + size_t offset;
1: + u8 mode;
1: };
1:
1: struct acpi_table_bgrt {
1: - struct acpi_table_header header;
1: - u16 version;
1: - u8 status;
1: - u8 image_type;
1: - u64 image_address;
1: - u32 image_offset_x;
1: - u32 image_offset_y;
1: + struct acpi_table_header header;
1: + u16 version;
1: + u8 status;
1: + u8 image_type;
1: + u64 image_address;
1: + u32 image_offset_x;
1: + u32 image_offset_y;
1: };
1:
1: struct acpi_pcct_hw_reduced {
1: - struct acpi_subtable_header header;
1: - u32 platform_interrupt;
1: - u8 flags;
1: - u8 reserved;
1: - u64 base_address;
1: - u64 length;
1: - struct acpi_generic_address doorbell_register;
1: - u64 preserve_mask;
1: - u64 write_mask;
1: - u32 latency;
1: - u32 max_access_rate;
1: - u16 min_turnaround_time;
1: + struct acpi_subtable_header header;
1: + u32 platform_interrupt;
1: + u8 flags;
1: + u8 reserved;
1: + u64 base_address;
1: + u64 length;
1: + struct acpi_generic_address doorbell_register;
1: + u64 preserve_mask;
1: + u64 write_mask;
1: + u32 latency;
1: + u32 max_access_rate;
1: + u16 min_turnaround_time;
1: } __attribute__((packed));
1:
1: struct acpi_pcct_shared_memory {
1: - u32 signature;
1: - u16 command;
1: - u16 status;
1: + u32 signature;
1: + u16 command;
1: + u16 status;
1: };
1:
1: struct mbox_chan;
1:
1: struct mbox_chan_ops {
1: - int (*send_data)(struct mbox_chan *, void *);
1: - int (*flush)(struct mbox_chan *, long unsigned int);
1: - int (*startup)(struct mbox_chan *);
1: - void (*shutdown)(struct mbox_chan *);
1: - bool (*last_tx_done)(struct mbox_chan *);
1: - bool (*peek_data)(struct mbox_chan *);
1: + int (*send_data)(struct mbox_chan *, void *);
1: + int (*flush)(struct mbox_chan *, long unsigned int);
1: + int (*startup)(struct mbox_chan *);
1: + void (*shutdown)(struct mbox_chan *);
1: + bool (*last_tx_done)(struct mbox_chan *);
1: + bool (*peek_data)(struct mbox_chan *);
1: };
1:
1: struct mbox_controller;
1: @@ -62384,229 +62837,228 @@ struct mbox_controller;
1: struct mbox_client;
1:
1: struct mbox_chan {
1: - struct mbox_controller *mbox;
1: - unsigned int txdone_method;
1: - struct mbox_client *cl;
1: - struct completion tx_complete;
1: - void *active_req;
1: - unsigned int msg_count;
1: - unsigned int msg_free;
1: - void *msg_data[20];
1: - spinlock_t lock;
1: - void *con_priv;
1: + struct mbox_controller *mbox;
1: + unsigned int txdone_method;
1: + struct mbox_client *cl;
1: + struct completion tx_complete;
1: + void *active_req;
1: + unsigned int msg_count;
1: + unsigned int msg_free;
1: + void *msg_data[20];
1: + spinlock_t lock;
1: + void *con_priv;
1: };
1:
1: struct mbox_controller {
1: - struct device *dev;
1: - const struct mbox_chan_ops *ops;
1: - struct mbox_chan *chans;
1: - int num_chans;
1: - bool txdone_irq;
1: - bool txdone_poll;
1: - unsigned int txpoll_period;
1: - struct mbox_chan * (*of_xlate)(struct mbox_controller *, const struct of_phandle_args *);
1: - struct hrtimer poll_hrt;
1: - struct list_head node;
1: + struct device *dev;
1: + const struct mbox_chan_ops *ops;
1: + struct mbox_chan *chans;
1: + int num_chans;
1: + bool txdone_irq;
1: + bool txdone_poll;
1: + unsigned int txpoll_period;
1: + struct mbox_chan *(*of_xlate)(struct mbox_controller *,
1: + const struct of_phandle_args *);
1: + struct hrtimer poll_hrt;
1: + struct list_head node;
1: };
1:
1: struct mbox_client {
1: - struct device *dev;
1: - bool tx_block;
1: - long unsigned int tx_tout;
1: - bool knows_txdone;
1: - void (*rx_callback)(struct mbox_client *, void *);
1: - void (*tx_prepare)(struct mbox_client *, void *);
1: - void (*tx_done)(struct mbox_client *, void *, int);
1: + struct device *dev;
1: + bool tx_block;
1: + long unsigned int tx_tout;
1: + bool knows_txdone;
1: + void (*rx_callback)(struct mbox_client *, void *);
1: + void (*tx_prepare)(struct mbox_client *, void *);
1: + void (*tx_done)(struct mbox_client *, void *, int);
1: };
1:
1: struct cpc_register_resource {
1: - acpi_object_type type;
1: - u64 *sys_mem_vaddr;
1: - union {
1: - struct cpc_reg reg;
1: - u64 int_value;
1: - } cpc_entry;
1: + acpi_object_type type;
1: + u64 *sys_mem_vaddr;
1: + union {
1: + struct cpc_reg reg;
1: + u64 int_value;
1: + } cpc_entry;
1: };
1:
1: struct cpc_desc {
1: - int num_entries;
1: - int version;
1: - int cpu_id;
1: - int write_cmd_status;
1: - int write_cmd_id;
1: - struct cpc_register_resource cpc_regs[21];
1: - struct acpi_psd_package domain_info;
1: - struct kobject kobj;
1: + int num_entries;
1: + int version;
1: + int cpu_id;
1: + int write_cmd_status;
1: + int write_cmd_id;
1: + struct cpc_register_resource cpc_regs[21];
1: + struct acpi_psd_package domain_info;
1: + struct kobject kobj;
1: };
1:
1: enum cppc_regs {
1: - HIGHEST_PERF = 0,
1: - NOMINAL_PERF = 1,
1: - LOW_NON_LINEAR_PERF = 2,
1: - LOWEST_PERF = 3,
1: - GUARANTEED_PERF = 4,
1: - DESIRED_PERF = 5,
1: - MIN_PERF = 6,
1: - MAX_PERF = 7,
1: - PERF_REDUC_TOLERANCE = 8,
1: - TIME_WINDOW = 9,
1: - CTR_WRAP_TIME = 10,
1: - REFERENCE_CTR = 11,
1: - DELIVERED_CTR = 12,
1: - PERF_LIMITED = 13,
1: - ENABLE = 14,
1: - AUTO_SEL_ENABLE = 15,
1: - AUTO_ACT_WINDOW = 16,
1: - ENERGY_PERF = 17,
1: - REFERENCE_PERF = 18,
1: - LOWEST_FREQ = 19,
1: - NOMINAL_FREQ = 20,
1: + HIGHEST_PERF = 0,
1: + NOMINAL_PERF = 1,
1: + LOW_NON_LINEAR_PERF = 2,
1: + LOWEST_PERF = 3,
1: + GUARANTEED_PERF = 4,
1: + DESIRED_PERF = 5,
1: + MIN_PERF = 6,
1: + MAX_PERF = 7,
1: + PERF_REDUC_TOLERANCE = 8,
1: + TIME_WINDOW = 9,
1: + CTR_WRAP_TIME = 10,
1: + REFERENCE_CTR = 11,
1: + DELIVERED_CTR = 12,
1: + PERF_LIMITED = 13,
1: + ENABLE = 14,
1: + AUTO_SEL_ENABLE = 15,
1: + AUTO_ACT_WINDOW = 16,
1: + ENERGY_PERF = 17,
1: + REFERENCE_PERF = 18,
1: + LOWEST_FREQ = 19,
1: + NOMINAL_FREQ = 20,
1: };
1:
1: struct cppc_perf_caps {
1: - u32 guaranteed_perf;
1: - u32 highest_perf;
1: - u32 nominal_perf;
1: - u32 lowest_perf;
1: - u32 lowest_nonlinear_perf;
1: - u32 lowest_freq;
1: - u32 nominal_freq;
1: + u32 guaranteed_perf;
1: + u32 highest_perf;
1: + u32 nominal_perf;
1: + u32 lowest_perf;
1: + u32 lowest_nonlinear_perf;
1: + u32 lowest_freq;
1: + u32 nominal_freq;
1: };
1:
1: struct cppc_perf_ctrls {
1: - u32 max_perf;
1: - u32 min_perf;
1: - u32 desired_perf;
1: + u32 max_perf;
1: + u32 min_perf;
1: + u32 desired_perf;
1: };
1:
1: struct cppc_perf_fb_ctrs {
1: - u64 reference;
1: - u64 delivered;
1: - u64 reference_perf;
1: - u64 wraparound_time;
1: + u64 reference;
1: + u64 delivered;
1: + u64 reference_perf;
1: + u64 wraparound_time;
1: };
1:
1: struct cppc_cpudata {
1: - int cpu;
1: - struct cppc_perf_caps perf_caps;
1: - struct cppc_perf_ctrls perf_ctrls;
1: - struct cppc_perf_fb_ctrs perf_fb_ctrs;
1: - struct cpufreq_policy *cur_policy;
1: - unsigned int shared_type;
1: - cpumask_var_t shared_cpu_map;
1: + int cpu;
1: + struct cppc_perf_caps perf_caps;
1: + struct cppc_perf_ctrls perf_ctrls;
1: + struct cppc_perf_fb_ctrs perf_fb_ctrs;
1: + struct cpufreq_policy *cur_policy;
1: + unsigned int shared_type;
1: + cpumask_var_t shared_cpu_map;
1: };
1:
1: struct cppc_pcc_data {
1: - struct mbox_chan *pcc_channel;
1: - void *pcc_comm_addr;
1: - bool pcc_channel_acquired;
1: - unsigned int deadline_us;
1: - unsigned int pcc_mpar;
1: - unsigned int pcc_mrtt;
1: - unsigned int pcc_nominal;
1: - bool pending_pcc_write_cmd;
1: - bool platform_owns_pcc;
1: - unsigned int pcc_write_cnt;
1: - struct rw_semaphore pcc_lock;
1: - wait_queue_head_t pcc_write_wait_q;
1: - ktime_t last_cmd_cmpl_time;
1: - ktime_t last_mpar_reset;
1: - int mpar_count;
1: - int refcount;
1: + struct mbox_chan *pcc_channel;
1: + void *pcc_comm_addr;
1: + bool pcc_channel_acquired;
1: + unsigned int deadline_us;
1: + unsigned int pcc_mpar;
1: + unsigned int pcc_mrtt;
1: + unsigned int pcc_nominal;
1: + bool pending_pcc_write_cmd;
1: + bool platform_owns_pcc;
1: + unsigned int pcc_write_cnt;
1: + struct rw_semaphore pcc_lock;
1: + wait_queue_head_t pcc_write_wait_q;
1: + ktime_t last_cmd_cmpl_time;
1: + ktime_t last_mpar_reset;
1: + int mpar_count;
1: + int refcount;
1: };
1:
1: struct cppc_attr {
1: - struct attribute attr;
1: - ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: - ssize_t (*store)(struct kobject *, struct attribute *, const char *, ssize_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: + ssize_t (*store)(struct kobject *, struct attribute *, const char *, ssize_t);
1: };
1:
1: struct pnp_resource {
1: - struct list_head list;
1: - struct resource res;
1: + struct list_head list;
1: + struct resource res;
1: };
1:
1: struct pnp_port {
1: - resource_size_t min;
1: - resource_size_t max;
1: - resource_size_t align;
1: - resource_size_t size;
1: - unsigned char flags;
1: + resource_size_t min;
1: + resource_size_t max;
1: + resource_size_t align;
1: + resource_size_t size;
1: + unsigned char flags;
1: };
1:
1: -typedef struct {
1: - long unsigned int bits[4];
1: -} pnp_irq_mask_t;
1: +typedef struct { long unsigned int bits[4]; } pnp_irq_mask_t;
1:
1: struct pnp_irq {
1: - pnp_irq_mask_t map;
1: - unsigned char flags;
1: + pnp_irq_mask_t map;
1: + unsigned char flags;
1: };
1:
1: struct pnp_dma {
1: - unsigned char map;
1: - unsigned char flags;
1: + unsigned char map;
1: + unsigned char flags;
1: };
1:
1: struct pnp_mem {
1: - resource_size_t min;
1: - resource_size_t max;
1: - resource_size_t align;
1: - resource_size_t size;
1: - unsigned char flags;
1: + resource_size_t min;
1: + resource_size_t max;
1: + resource_size_t align;
1: + resource_size_t size;
1: + unsigned char flags;
1: };
1:
1: struct pnp_option {
1: - struct list_head list;
1: - unsigned int flags;
1: - long unsigned int type;
1: - union {
1: - struct pnp_port port;
1: - struct pnp_irq irq;
1: - struct pnp_dma dma;
1: - struct pnp_mem mem;
1: - } u;
1: + struct list_head list;
1: + unsigned int flags;
1: + long unsigned int type;
1: + union {
1: + struct pnp_port port;
1: + struct pnp_irq irq;
1: + struct pnp_dma dma;
1: + struct pnp_mem mem;
1: + } u;
1: };
1:
1: struct pnp_info_buffer {
1: - char *buffer;
1: - char *curr;
1: - long unsigned int size;
1: - long unsigned int len;
1: - int stop;
1: - int error;
1: + char *buffer;
1: + char *curr;
1: + long unsigned int size;
1: + long unsigned int len;
1: + int stop;
1: + int error;
1: };
1:
1: typedef struct pnp_info_buffer pnp_info_buffer_t;
1:
1: struct pnp_fixup {
1: - char id[7];
1: - void (*quirk_function)(struct pnp_dev *);
1: + char id[7];
1: + void (*quirk_function)(struct pnp_dev *);
1: };
1:
1: struct acpipnp_parse_option_s {
1: - struct pnp_dev *dev;
1: - unsigned int option_flags;
1: + struct pnp_dev *dev;
1: + unsigned int option_flags;
1: };
1:
1: struct clk_bulk_data {
1: - const char *id;
1: - struct clk *clk;
1: + const char *id;
1: + struct clk *clk;
1: };
1:
1: struct clk_bulk_devres {
1: - struct clk_bulk_data *clks;
1: - int num_clks;
1: + struct clk_bulk_data *clks;
1: + int num_clks;
1: };
1:
1: struct clk_hw;
1:
1: struct clk_lookup {
1: - struct list_head node;
1: - const char *dev_id;
1: - const char *con_id;
1: - struct clk *clk;
1: - struct clk_hw *clk_hw;
1: + struct list_head node;
1: + const char *dev_id;
1: + const char *con_id;
1: + struct clk *clk;
1: + struct clk_hw *clk_hw;
1: };
1:
1: struct clk_core;
1: @@ -62614,413 +63066,414 @@ struct clk_core;
1: struct clk_init_data;
1:
1: struct clk_hw {
1: - struct clk_core *core;
1: - struct clk *clk;
1: - const struct clk_init_data *init;
1: + struct clk_core *core;
1: + struct clk *clk;
1: + const struct clk_init_data *init;
1: };
1:
1: struct clk_rate_request {
1: - long unsigned int rate;
1: - long unsigned int min_rate;
1: - long unsigned int max_rate;
1: - long unsigned int best_parent_rate;
1: - struct clk_hw *best_parent_hw;
1: + long unsigned int rate;
1: + long unsigned int min_rate;
1: + long unsigned int max_rate;
1: + long unsigned int best_parent_rate;
1: + struct clk_hw *best_parent_hw;
1: };
1:
1: struct clk_duty {
1: - unsigned int num;
1: - unsigned int den;
1: + unsigned int num;
1: + unsigned int den;
1: };
1:
1: struct clk_ops {
1: - int (*prepare)(struct clk_hw *);
1: - void (*unprepare)(struct clk_hw *);
1: - int (*is_prepared)(struct clk_hw *);
1: - void (*unprepare_unused)(struct clk_hw *);
1: - int (*enable)(struct clk_hw *);
1: - void (*disable)(struct clk_hw *);
1: - int (*is_enabled)(struct clk_hw *);
1: - void (*disable_unused)(struct clk_hw *);
1: - int (*save_context)(struct clk_hw *);
1: - void (*restore_context)(struct clk_hw *);
1: - long unsigned int (*recalc_rate)(struct clk_hw *, long unsigned int);
1: - long int (*round_rate)(struct clk_hw *, long unsigned int, long unsigned int *);
1: - int (*determine_rate)(struct clk_hw *, struct clk_rate_request *);
1: - int (*set_parent)(struct clk_hw *, u8);
1: - u8 (*get_parent)(struct clk_hw *);
1: - int (*set_rate)(struct clk_hw *, long unsigned int, long unsigned int);
1: - int (*set_rate_and_parent)(struct clk_hw *, long unsigned int, long unsigned int, u8);
1: - long unsigned int (*recalc_accuracy)(struct clk_hw *, long unsigned int);
1: - int (*get_phase)(struct clk_hw *);
1: - int (*set_phase)(struct clk_hw *, int);
1: - int (*get_duty_cycle)(struct clk_hw *, struct clk_duty *);
1: - int (*set_duty_cycle)(struct clk_hw *, struct clk_duty *);
1: - void (*init)(struct clk_hw *);
1: - void (*debug_init)(struct clk_hw *, struct dentry *);
1: + int (*prepare)(struct clk_hw *);
1: + void (*unprepare)(struct clk_hw *);
1: + int (*is_prepared)(struct clk_hw *);
1: + void (*unprepare_unused)(struct clk_hw *);
1: + int (*enable)(struct clk_hw *);
1: + void (*disable)(struct clk_hw *);
1: + int (*is_enabled)(struct clk_hw *);
1: + void (*disable_unused)(struct clk_hw *);
1: + int (*save_context)(struct clk_hw *);
1: + void (*restore_context)(struct clk_hw *);
1: + long unsigned int (*recalc_rate)(struct clk_hw *, long unsigned int);
1: + long int (*round_rate)(struct clk_hw *, long unsigned int,
1: + long unsigned int *);
1: + int (*determine_rate)(struct clk_hw *, struct clk_rate_request *);
1: + int (*set_parent)(struct clk_hw *, u8);
1: + u8 (*get_parent)(struct clk_hw *);
1: + int (*set_rate)(struct clk_hw *, long unsigned int, long unsigned int);
1: + int (*set_rate_and_parent)(struct clk_hw *, long unsigned int,
1: + long unsigned int, u8);
1: + long unsigned int (*recalc_accuracy)(struct clk_hw *, long unsigned int);
1: + int (*get_phase)(struct clk_hw *);
1: + int (*set_phase)(struct clk_hw *, int);
1: + int (*get_duty_cycle)(struct clk_hw *, struct clk_duty *);
1: + int (*set_duty_cycle)(struct clk_hw *, struct clk_duty *);
1: + void (*init)(struct clk_hw *);
1: + void (*debug_init)(struct clk_hw *, struct dentry *);
1: };
1:
1: struct clk_parent_data {
1: - const struct clk_hw *hw;
1: - const char *fw_name;
1: - const char *name;
1: - int index;
1: + const struct clk_hw *hw;
1: + const char *fw_name;
1: + const char *name;
1: + int index;
1: };
1:
1: struct clk_init_data {
1: - const char *name;
1: - const struct clk_ops *ops;
1: - const char * const *parent_names;
1: - const struct clk_parent_data *parent_data;
1: - const struct clk_hw **parent_hws;
1: - u8 num_parents;
1: - long unsigned int flags;
1: + const char *name;
1: + const struct clk_ops *ops;
1: + const char *const *parent_names;
1: + const struct clk_parent_data *parent_data;
1: + const struct clk_hw **parent_hws;
1: + u8 num_parents;
1: + long unsigned int flags;
1: };
1:
1: struct clk_lookup_alloc {
1: - struct clk_lookup cl;
1: - char dev_id[20];
1: - char con_id[16];
1: + struct clk_lookup cl;
1: + char dev_id[20];
1: + char con_id[16];
1: };
1:
1: struct clk_notifier {
1: - struct clk *clk;
1: - struct srcu_notifier_head notifier_head;
1: - struct list_head node;
1: + struct clk *clk;
1: + struct srcu_notifier_head notifier_head;
1: + struct list_head node;
1: };
1:
1: struct clk {
1: - struct clk_core *core;
1: - struct device *dev;
1: - const char *dev_id;
1: - const char *con_id;
1: - long unsigned int min_rate;
1: - long unsigned int max_rate;
1: - unsigned int exclusive_count;
1: - struct hlist_node clks_node;
1: + struct clk_core *core;
1: + struct device *dev;
1: + const char *dev_id;
1: + const char *con_id;
1: + long unsigned int min_rate;
1: + long unsigned int max_rate;
1: + unsigned int exclusive_count;
1: + struct hlist_node clks_node;
1: };
1:
1: struct clk_notifier_data {
1: - struct clk *clk;
1: - long unsigned int old_rate;
1: - long unsigned int new_rate;
1: + struct clk *clk;
1: + long unsigned int old_rate;
1: + long unsigned int new_rate;
1: };
1:
1: struct clk_parent_map;
1:
1: struct clk_core {
1: - const char *name;
1: - const struct clk_ops *ops;
1: - struct clk_hw *hw;
1: - struct module *owner;
1: - struct device *dev;
1: - struct device_node *of_node;
1: - struct clk_core *parent;
1: - struct clk_parent_map *parents;
1: - u8 num_parents;
1: - u8 new_parent_index;
1: - long unsigned int rate;
1: - long unsigned int req_rate;
1: - long unsigned int new_rate;
1: - struct clk_core *new_parent;
1: - struct clk_core *new_child;
1: - long unsigned int flags;
1: - bool orphan;
1: - bool rpm_enabled;
1: - unsigned int enable_count;
1: - unsigned int prepare_count;
1: - unsigned int protect_count;
1: - long unsigned int min_rate;
1: - long unsigned int max_rate;
1: - long unsigned int accuracy;
1: - int phase;
1: - struct clk_duty duty;
1: - struct hlist_head children;
1: - struct hlist_node child_node;
1: - struct hlist_head clks;
1: - unsigned int notifier_count;
1: - struct dentry *dentry;
1: - struct hlist_node debug_node;
1: - struct kref ref;
1: + const char *name;
1: + const struct clk_ops *ops;
1: + struct clk_hw *hw;
1: + struct module *owner;
1: + struct device *dev;
1: + struct device_node *of_node;
1: + struct clk_core *parent;
1: + struct clk_parent_map *parents;
1: + u8 num_parents;
1: + u8 new_parent_index;
1: + long unsigned int rate;
1: + long unsigned int req_rate;
1: + long unsigned int new_rate;
1: + struct clk_core *new_parent;
1: + struct clk_core *new_child;
1: + long unsigned int flags;
1: + bool orphan;
1: + bool rpm_enabled;
1: + unsigned int enable_count;
1: + unsigned int prepare_count;
1: + unsigned int protect_count;
1: + long unsigned int min_rate;
1: + long unsigned int max_rate;
1: + long unsigned int accuracy;
1: + int phase;
1: + struct clk_duty duty;
1: + struct hlist_head children;
1: + struct hlist_node child_node;
1: + struct hlist_head clks;
1: + unsigned int notifier_count;
1: + struct dentry *dentry;
1: + struct hlist_node debug_node;
1: + struct kref ref;
1: };
1:
1: struct clk_parent_map {
1: - const struct clk_hw *hw;
1: - struct clk_core *core;
1: - const char *fw_name;
1: - const char *name;
1: - int index;
1: + const struct clk_hw *hw;
1: + struct clk_core *core;
1: + const char *fw_name;
1: + const char *name;
1: + int index;
1: };
1:
1: struct trace_event_raw_clk {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_clk_rate {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - long unsigned int rate;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + long unsigned int rate;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_clk_parent {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - u32 __data_loc_pname;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u32 __data_loc_pname;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_clk_phase {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - int phase;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + int phase;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_clk_duty_cycle {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - unsigned int num;
1: - unsigned int den;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int num;
1: + unsigned int den;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_clk {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_clk_rate {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_clk_parent {
1: - u32 name;
1: - u32 pname;
1: + u32 name;
1: + u32 pname;
1: };
1:
1: struct trace_event_data_offsets_clk_phase {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_clk_duty_cycle {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct clk_div_table {
1: - unsigned int val;
1: - unsigned int div;
1: + unsigned int val;
1: + unsigned int div;
1: };
1:
1: struct clk_divider {
1: - struct clk_hw hw;
1: - void *reg;
1: - u8 shift;
1: - u8 width;
1: - u8 flags;
1: - const struct clk_div_table *table;
1: - spinlock_t *lock;
1: + struct clk_hw hw;
1: + void *reg;
1: + u8 shift;
1: + u8 width;
1: + u8 flags;
1: + const struct clk_div_table *table;
1: + spinlock_t *lock;
1: };
1:
1: struct clk_fixed_factor {
1: - struct clk_hw hw;
1: - unsigned int mult;
1: - unsigned int div;
1: + struct clk_hw hw;
1: + unsigned int mult;
1: + unsigned int div;
1: };
1:
1: struct clk_fixed_rate {
1: - struct clk_hw hw;
1: - long unsigned int fixed_rate;
1: - long unsigned int fixed_accuracy;
1: + struct clk_hw hw;
1: + long unsigned int fixed_rate;
1: + long unsigned int fixed_accuracy;
1: };
1:
1: struct clk_gate {
1: - struct clk_hw hw;
1: - void *reg;
1: - u8 bit_idx;
1: - u8 flags;
1: - spinlock_t *lock;
1: + struct clk_hw hw;
1: + void *reg;
1: + u8 bit_idx;
1: + u8 flags;
1: + spinlock_t *lock;
1: };
1:
1: struct clk_multiplier {
1: - struct clk_hw hw;
1: - void *reg;
1: - u8 shift;
1: - u8 width;
1: - u8 flags;
1: - spinlock_t *lock;
1: + struct clk_hw hw;
1: + void *reg;
1: + u8 shift;
1: + u8 width;
1: + u8 flags;
1: + spinlock_t *lock;
1: };
1:
1: struct clk_mux {
1: - struct clk_hw hw;
1: - void *reg;
1: - u32 *table;
1: - u32 mask;
1: - u8 shift;
1: - u8 flags;
1: - spinlock_t *lock;
1: + struct clk_hw hw;
1: + void *reg;
1: + u32 *table;
1: + u32 mask;
1: + u8 shift;
1: + u8 flags;
1: + spinlock_t *lock;
1: };
1:
1: struct clk_composite {
1: - struct clk_hw hw;
1: - struct clk_ops ops;
1: - struct clk_hw *mux_hw;
1: - struct clk_hw *rate_hw;
1: - struct clk_hw *gate_hw;
1: - const struct clk_ops *mux_ops;
1: - const struct clk_ops *rate_ops;
1: - const struct clk_ops *gate_ops;
1: + struct clk_hw hw;
1: + struct clk_ops ops;
1: + struct clk_hw *mux_hw;
1: + struct clk_hw *rate_hw;
1: + struct clk_hw *gate_hw;
1: + const struct clk_ops *mux_ops;
1: + const struct clk_ops *rate_ops;
1: + const struct clk_ops *gate_ops;
1: };
1:
1: struct clk_fractional_divider {
1: - struct clk_hw hw;
1: - void *reg;
1: - u8 mshift;
1: - u8 mwidth;
1: - u32 mmask;
1: - u8 nshift;
1: - u8 nwidth;
1: - u32 nmask;
1: - u8 flags;
1: - void (*approximation)(struct clk_hw *, long unsigned int, long unsigned int *, long unsigned int *, long unsigned int *);
1: - spinlock_t *lock;
1: + struct clk_hw hw;
1: + void *reg;
1: + u8 mshift;
1: + u8 mwidth;
1: + u32 mmask;
1: + u8 nshift;
1: + u8 nwidth;
1: + u32 nmask;
1: + u8 flags;
1: + void (*approximation)(struct clk_hw *, long unsigned int, long unsigned int *,
1: + long unsigned int *, long unsigned int *);
1: + spinlock_t *lock;
1: };
1:
1: struct gpio_desc;
1:
1: struct clk_gpio {
1: - struct clk_hw hw;
1: - struct gpio_desc *gpiod;
1: + struct clk_hw hw;
1: + struct gpio_desc *gpiod;
1: };
1:
1: enum gpiod_flags {
1: - GPIOD_ASIS = 0,
1: - GPIOD_IN = 1,
1: - GPIOD_OUT_LOW = 3,
1: - GPIOD_OUT_HIGH = 7,
1: - GPIOD_OUT_LOW_OPEN_DRAIN = 11,
1: - GPIOD_OUT_HIGH_OPEN_DRAIN = 15,
1: + GPIOD_ASIS = 0,
1: + GPIOD_IN = 1,
1: + GPIOD_OUT_LOW = 3,
1: + GPIOD_OUT_HIGH = 7,
1: + GPIOD_OUT_LOW_OPEN_DRAIN = 11,
1: + GPIOD_OUT_HIGH_OPEN_DRAIN = 15,
1: };
1:
1: struct pmc_clk {
1: - const char *name;
1: - long unsigned int freq;
1: - const char *parent_name;
1: + const char *name;
1: + long unsigned int freq;
1: + const char *parent_name;
1: };
1:
1: struct pmc_clk_data {
1: - void *base;
1: - const struct pmc_clk *clks;
1: - bool critical;
1: + void *base;
1: + const struct pmc_clk *clks;
1: + bool critical;
1: };
1:
1: struct clk_plt_fixed {
1: - struct clk_hw *clk;
1: - struct clk_lookup *lookup;
1: + struct clk_hw *clk;
1: + struct clk_lookup *lookup;
1: };
1:
1: struct clk_plt {
1: - struct clk_hw hw;
1: - void *reg;
1: - struct clk_lookup *lookup;
1: - spinlock_t lock;
1: + struct clk_hw hw;
1: + void *reg;
1: + struct clk_lookup *lookup;
1: + spinlock_t lock;
1: };
1:
1: struct clk_plt_data {
1: - struct clk_plt_fixed **parents;
1: - u8 nparents;
1: - struct clk_plt *clks[6];
1: - struct clk_lookup *mclk_lookup;
1: - struct clk_lookup *ether_clk_lookup;
1: + struct clk_plt_fixed **parents;
1: + u8 nparents;
1: + struct clk_plt *clks[6];
1: + struct clk_lookup *mclk_lookup;
1: + struct clk_lookup *ether_clk_lookup;
1: };
1:
1: typedef s32 dma_cookie_t;
1:
1: enum dma_status {
1: - DMA_COMPLETE = 0,
1: - DMA_IN_PROGRESS = 1,
1: - DMA_PAUSED = 2,
1: - DMA_ERROR = 3,
1: + DMA_COMPLETE = 0,
1: + DMA_IN_PROGRESS = 1,
1: + DMA_PAUSED = 2,
1: + DMA_ERROR = 3,
1: };
1:
1: enum dma_transaction_type {
1: - DMA_MEMCPY = 0,
1: - DMA_XOR = 1,
1: - DMA_PQ = 2,
1: - DMA_XOR_VAL = 3,
1: - DMA_PQ_VAL = 4,
1: - DMA_MEMSET = 5,
1: - DMA_MEMSET_SG = 6,
1: - DMA_INTERRUPT = 7,
1: - DMA_PRIVATE = 8,
1: - DMA_ASYNC_TX = 9,
1: - DMA_SLAVE = 10,
1: - DMA_CYCLIC = 11,
1: - DMA_INTERLEAVE = 12,
1: - DMA_TX_TYPE_END = 13,
1: + DMA_MEMCPY = 0,
1: + DMA_XOR = 1,
1: + DMA_PQ = 2,
1: + DMA_XOR_VAL = 3,
1: + DMA_PQ_VAL = 4,
1: + DMA_MEMSET = 5,
1: + DMA_MEMSET_SG = 6,
1: + DMA_INTERRUPT = 7,
1: + DMA_PRIVATE = 8,
1: + DMA_ASYNC_TX = 9,
1: + DMA_SLAVE = 10,
1: + DMA_CYCLIC = 11,
1: + DMA_INTERLEAVE = 12,
1: + DMA_TX_TYPE_END = 13,
1: };
1:
1: enum dma_transfer_direction {
1: - DMA_MEM_TO_MEM = 0,
1: - DMA_MEM_TO_DEV = 1,
1: - DMA_DEV_TO_MEM = 2,
1: - DMA_DEV_TO_DEV = 3,
1: - DMA_TRANS_NONE = 4,
1: + DMA_MEM_TO_MEM = 0,
1: + DMA_MEM_TO_DEV = 1,
1: + DMA_DEV_TO_MEM = 2,
1: + DMA_DEV_TO_DEV = 3,
1: + DMA_TRANS_NONE = 4,
1: };
1:
1: struct data_chunk {
1: - size_t size;
1: - size_t icg;
1: - size_t dst_icg;
1: - size_t src_icg;
1: + size_t size;
1: + size_t icg;
1: + size_t dst_icg;
1: + size_t src_icg;
1: };
1:
1: struct dma_interleaved_template {
1: - dma_addr_t src_start;
1: - dma_addr_t dst_start;
1: - enum dma_transfer_direction dir;
1: - bool src_inc;
1: - bool dst_inc;
1: - bool src_sgl;
1: - bool dst_sgl;
1: - size_t numf;
1: - size_t frame_size;
1: - struct data_chunk sgl[0];
1: + dma_addr_t src_start;
1: + dma_addr_t dst_start;
1: + enum dma_transfer_direction dir;
1: + bool src_inc;
1: + bool dst_inc;
1: + bool src_sgl;
1: + bool dst_sgl;
1: + size_t numf;
1: + size_t frame_size;
1: + struct data_chunk sgl[0];
1: };
1:
1: enum dma_ctrl_flags {
1: - DMA_PREP_INTERRUPT = 1,
1: - DMA_CTRL_ACK = 2,
1: - DMA_PREP_PQ_DISABLE_P = 4,
1: - DMA_PREP_PQ_DISABLE_Q = 8,
1: - DMA_PREP_CONTINUE = 16,
1: - DMA_PREP_FENCE = 32,
1: - DMA_CTRL_REUSE = 64,
1: - DMA_PREP_CMD = 128,
1: + DMA_PREP_INTERRUPT = 1,
1: + DMA_CTRL_ACK = 2,
1: + DMA_PREP_PQ_DISABLE_P = 4,
1: + DMA_PREP_PQ_DISABLE_Q = 8,
1: + DMA_PREP_CONTINUE = 16,
1: + DMA_PREP_FENCE = 32,
1: + DMA_CTRL_REUSE = 64,
1: + DMA_PREP_CMD = 128,
1: };
1:
1: enum sum_check_bits {
1: - SUM_CHECK_P = 0,
1: - SUM_CHECK_Q = 1,
1: + SUM_CHECK_P = 0,
1: + SUM_CHECK_Q = 1,
1: };
1:
1: enum sum_check_flags {
1: - SUM_CHECK_P_RESULT = 1,
1: - SUM_CHECK_Q_RESULT = 2,
1: + SUM_CHECK_P_RESULT = 1,
1: + SUM_CHECK_Q_RESULT = 2,
1: };
1:
1: -typedef struct {
1: - long unsigned int bits[1];
1: -} dma_cap_mask_t;
1: +typedef struct { long unsigned int bits[1]; } dma_cap_mask_t;
1:
1: struct dma_chan_percpu {
1: - long unsigned int memcpy_count;
1: - long unsigned int bytes_transferred;
1: + long unsigned int memcpy_count;
1: + long unsigned int bytes_transferred;
1: };
1:
1: struct dma_router {
1: - struct device *dev;
1: - void (*route_free)(struct device *, void *);
1: + struct device *dev;
1: + void (*route_free)(struct device *, void *);
1: };
1:
1: struct dma_device;
1: @@ -63028,18 +63481,18 @@ struct dma_device;
1: struct dma_chan_dev;
1:
1: struct dma_chan___2 {
1: - struct dma_device *device;
1: - dma_cookie_t cookie;
1: - dma_cookie_t completed_cookie;
1: - int chan_id;
1: - struct dma_chan_dev *dev;
1: - struct list_head device_node;
1: - struct dma_chan_percpu *local;
1: - int client_count;
1: - int table_count;
1: - struct dma_router *router;
1: - void *route_data;
1: - void *private;
1: + struct dma_device *device;
1: + dma_cookie_t cookie;
1: + dma_cookie_t completed_cookie;
1: + int chan_id;
1: + struct dma_chan_dev *dev;
1: + struct list_head device_node;
1: + struct dma_chan_percpu *local;
1: + int client_count;
1: + int table_count;
1: + struct dma_router *router;
1: + void *route_data;
1: + void *private;
1: };
1:
1: typedef bool (*dma_filter_fn)(struct dma_chan___2 *, void *);
1: @@ -63047,25 +63500,25 @@ typedef bool (*dma_filter_fn)(struct dma_chan___2 *, void *);
1: struct dma_slave_map;
1:
1: struct dma_filter {
1: - dma_filter_fn fn;
1: - int mapcnt;
1: - const struct dma_slave_map *map;
1: + dma_filter_fn fn;
1: + int mapcnt;
1: + const struct dma_slave_map *map;
1: };
1:
1: enum dmaengine_alignment {
1: - DMAENGINE_ALIGN_1_BYTE = 0,
1: - DMAENGINE_ALIGN_2_BYTES = 1,
1: - DMAENGINE_ALIGN_4_BYTES = 2,
1: - DMAENGINE_ALIGN_8_BYTES = 3,
1: - DMAENGINE_ALIGN_16_BYTES = 4,
1: - DMAENGINE_ALIGN_32_BYTES = 5,
1: - DMAENGINE_ALIGN_64_BYTES = 6,
1: + DMAENGINE_ALIGN_1_BYTE = 0,
1: + DMAENGINE_ALIGN_2_BYTES = 1,
1: + DMAENGINE_ALIGN_4_BYTES = 2,
1: + DMAENGINE_ALIGN_8_BYTES = 3,
1: + DMAENGINE_ALIGN_16_BYTES = 4,
1: + DMAENGINE_ALIGN_32_BYTES = 5,
1: + DMAENGINE_ALIGN_64_BYTES = 6,
1: };
1:
1: enum dma_residue_granularity {
1: - DMA_RESIDUE_GRANULARITY_DESCRIPTOR = 0,
1: - DMA_RESIDUE_GRANULARITY_SEGMENT = 1,
1: - DMA_RESIDUE_GRANULARITY_BURST = 2,
1: + DMA_RESIDUE_GRANULARITY_DESCRIPTOR = 0,
1: + DMA_RESIDUE_GRANULARITY_SEGMENT = 1,
1: + DMA_RESIDUE_GRANULARITY_BURST = 2,
1: };
1:
1: struct dma_async_tx_descriptor;
1: @@ -63075,268 +63528,293 @@ struct dma_slave_config;
1: struct dma_tx_state;
1:
1: struct dma_device {
1: - unsigned int chancnt;
1: - unsigned int privatecnt;
1: - struct list_head channels;
1: - struct list_head global_node;
1: - struct dma_filter filter;
1: - dma_cap_mask_t cap_mask;
1: - short unsigned int max_xor;
1: - short unsigned int max_pq;
1: - enum dmaengine_alignment copy_align;
1: - enum dmaengine_alignment xor_align;
1: - enum dmaengine_alignment pq_align;
1: - enum dmaengine_alignment fill_align;
1: - int dev_id;
1: - struct device *dev;
1: - u32 src_addr_widths;
1: - u32 dst_addr_widths;
1: - u32 directions;
1: - u32 max_burst;
1: - bool descriptor_reuse;
1: - enum dma_residue_granularity residue_granularity;
1: - int (*device_alloc_chan_resources)(struct dma_chan___2 *);
1: - void (*device_free_chan_resources)(struct dma_chan___2 *);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_memcpy)(struct dma_chan___2 *, dma_addr_t, dma_addr_t, size_t, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_xor)(struct dma_chan___2 *, dma_addr_t, dma_addr_t *, unsigned int, size_t, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_xor_val)(struct dma_chan___2 *, dma_addr_t *, unsigned int, size_t, enum sum_check_flags *, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_pq)(struct dma_chan___2 *, dma_addr_t *, dma_addr_t *, unsigned int, const unsigned char *, size_t, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_pq_val)(struct dma_chan___2 *, dma_addr_t *, dma_addr_t *, unsigned int, const unsigned char *, size_t, enum sum_check_flags *, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_memset)(struct dma_chan___2 *, dma_addr_t, int, size_t, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_memset_sg)(struct dma_chan___2 *, struct scatterlist *, unsigned int, int, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_interrupt)(struct dma_chan___2 *, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_slave_sg)(struct dma_chan___2 *, struct scatterlist *, unsigned int, enum dma_transfer_direction, long unsigned int, void *);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_cyclic)(struct dma_chan___2 *, dma_addr_t, size_t, size_t, enum dma_transfer_direction, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_interleaved_dma)(struct dma_chan___2 *, struct dma_interleaved_template *, long unsigned int);
1: - struct dma_async_tx_descriptor * (*device_prep_dma_imm_data)(struct dma_chan___2 *, dma_addr_t, u64, long unsigned int);
1: - int (*device_config)(struct dma_chan___2 *, struct dma_slave_config *);
1: - int (*device_pause)(struct dma_chan___2 *);
1: - int (*device_resume)(struct dma_chan___2 *);
1: - int (*device_terminate_all)(struct dma_chan___2 *);
1: - void (*device_synchronize)(struct dma_chan___2 *);
1: - enum dma_status (*device_tx_status)(struct dma_chan___2 *, dma_cookie_t, struct dma_tx_state *);
1: - void (*device_issue_pending)(struct dma_chan___2 *);
1: + unsigned int chancnt;
1: + unsigned int privatecnt;
1: + struct list_head channels;
1: + struct list_head global_node;
1: + struct dma_filter filter;
1: + dma_cap_mask_t cap_mask;
1: + short unsigned int max_xor;
1: + short unsigned int max_pq;
1: + enum dmaengine_alignment copy_align;
1: + enum dmaengine_alignment xor_align;
1: + enum dmaengine_alignment pq_align;
1: + enum dmaengine_alignment fill_align;
1: + int dev_id;
1: + struct device *dev;
1: + u32 src_addr_widths;
1: + u32 dst_addr_widths;
1: + u32 directions;
1: + u32 max_burst;
1: + bool descriptor_reuse;
1: + enum dma_residue_granularity residue_granularity;
1: + int (*device_alloc_chan_resources)(struct dma_chan___2 *);
1: + void (*device_free_chan_resources)(struct dma_chan___2 *);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_memcpy)(
1: + struct dma_chan___2 *, dma_addr_t, dma_addr_t, size_t, long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_xor)(struct dma_chan___2 *,
1: + dma_addr_t,
1: + dma_addr_t *,
1: + unsigned int, size_t,
1: + long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_xor_val)(
1: + struct dma_chan___2 *, dma_addr_t *, unsigned int, size_t,
1: + enum sum_check_flags *, long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_pq)(
1: + struct dma_chan___2 *, dma_addr_t *, dma_addr_t *, unsigned int,
1: + const unsigned char *, size_t, long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_pq_val)(
1: + struct dma_chan___2 *, dma_addr_t *, dma_addr_t *, unsigned int,
1: + const unsigned char *, size_t, enum sum_check_flags *, long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_memset)(
1: + struct dma_chan___2 *, dma_addr_t, int, size_t, long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_memset_sg)(
1: + struct dma_chan___2 *, struct scatterlist *, unsigned int, int,
1: + long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_interrupt)(
1: + struct dma_chan___2 *, long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_slave_sg)(
1: + struct dma_chan___2 *, struct scatterlist *, unsigned int,
1: + enum dma_transfer_direction, long unsigned int, void *);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_cyclic)(
1: + struct dma_chan___2 *, dma_addr_t, size_t, size_t,
1: + enum dma_transfer_direction, long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_interleaved_dma)(
1: + struct dma_chan___2 *, struct dma_interleaved_template *,
1: + long unsigned int);
1: + struct dma_async_tx_descriptor *(*device_prep_dma_imm_data)(
1: + struct dma_chan___2 *, dma_addr_t, u64, long unsigned int);
1: + int (*device_config)(struct dma_chan___2 *, struct dma_slave_config *);
1: + int (*device_pause)(struct dma_chan___2 *);
1: + int (*device_resume)(struct dma_chan___2 *);
1: + int (*device_terminate_all)(struct dma_chan___2 *);
1: + void (*device_synchronize)(struct dma_chan___2 *);
1: + enum dma_status (*device_tx_status)(struct dma_chan___2 *, dma_cookie_t,
1: + struct dma_tx_state *);
1: + void (*device_issue_pending)(struct dma_chan___2 *);
1: };
1:
1: struct dma_chan_dev {
1: - struct dma_chan___2 *chan;
1: - struct device device;
1: - int dev_id;
1: - atomic_t *idr_ref;
1: + struct dma_chan___2 *chan;
1: + struct device device;
1: + int dev_id;
1: + atomic_t *idr_ref;
1: };
1:
1: enum dma_slave_buswidth {
1: - DMA_SLAVE_BUSWIDTH_UNDEFINED = 0,
1: - DMA_SLAVE_BUSWIDTH_1_BYTE = 1,
1: - DMA_SLAVE_BUSWIDTH_2_BYTES = 2,
1: - DMA_SLAVE_BUSWIDTH_3_BYTES = 3,
1: - DMA_SLAVE_BUSWIDTH_4_BYTES = 4,
1: - DMA_SLAVE_BUSWIDTH_8_BYTES = 8,
1: - DMA_SLAVE_BUSWIDTH_16_BYTES = 16,
1: - DMA_SLAVE_BUSWIDTH_32_BYTES = 32,
1: - DMA_SLAVE_BUSWIDTH_64_BYTES = 64,
1: + DMA_SLAVE_BUSWIDTH_UNDEFINED = 0,
1: + DMA_SLAVE_BUSWIDTH_1_BYTE = 1,
1: + DMA_SLAVE_BUSWIDTH_2_BYTES = 2,
1: + DMA_SLAVE_BUSWIDTH_3_BYTES = 3,
1: + DMA_SLAVE_BUSWIDTH_4_BYTES = 4,
1: + DMA_SLAVE_BUSWIDTH_8_BYTES = 8,
1: + DMA_SLAVE_BUSWIDTH_16_BYTES = 16,
1: + DMA_SLAVE_BUSWIDTH_32_BYTES = 32,
1: + DMA_SLAVE_BUSWIDTH_64_BYTES = 64,
1: };
1:
1: struct dma_slave_config {
1: - enum dma_transfer_direction direction;
1: - phys_addr_t src_addr;
1: - phys_addr_t dst_addr;
1: - enum dma_slave_buswidth src_addr_width;
1: - enum dma_slave_buswidth dst_addr_width;
1: - u32 src_maxburst;
1: - u32 dst_maxburst;
1: - u32 src_port_window_size;
1: - u32 dst_port_window_size;
1: - bool device_fc;
1: - unsigned int slave_id;
1: + enum dma_transfer_direction direction;
1: + phys_addr_t src_addr;
1: + phys_addr_t dst_addr;
1: + enum dma_slave_buswidth src_addr_width;
1: + enum dma_slave_buswidth dst_addr_width;
1: + u32 src_maxburst;
1: + u32 dst_maxburst;
1: + u32 src_port_window_size;
1: + u32 dst_port_window_size;
1: + bool device_fc;
1: + unsigned int slave_id;
1: };
1:
1: struct dma_slave_caps {
1: - u32 src_addr_widths;
1: - u32 dst_addr_widths;
1: - u32 directions;
1: - u32 max_burst;
1: - bool cmd_pause;
1: - bool cmd_resume;
1: - bool cmd_terminate;
1: - enum dma_residue_granularity residue_granularity;
1: - bool descriptor_reuse;
1: + u32 src_addr_widths;
1: + u32 dst_addr_widths;
1: + u32 directions;
1: + u32 max_burst;
1: + bool cmd_pause;
1: + bool cmd_resume;
1: + bool cmd_terminate;
1: + enum dma_residue_granularity residue_granularity;
1: + bool descriptor_reuse;
1: };
1:
1: typedef void (*dma_async_tx_callback)(void *);
1:
1: enum dmaengine_tx_result {
1: - DMA_TRANS_NOERROR = 0,
1: - DMA_TRANS_READ_FAILED = 1,
1: - DMA_TRANS_WRITE_FAILED = 2,
1: - DMA_TRANS_ABORTED = 3,
1: + DMA_TRANS_NOERROR = 0,
1: + DMA_TRANS_READ_FAILED = 1,
1: + DMA_TRANS_WRITE_FAILED = 2,
1: + DMA_TRANS_ABORTED = 3,
1: };
1:
1: struct dmaengine_result {
1: - enum dmaengine_tx_result result;
1: - u32 residue;
1: + enum dmaengine_tx_result result;
1: + u32 residue;
1: };
1:
1: -typedef void (*dma_async_tx_callback_result)(void *, const struct dmaengine_result *);
1: +typedef void (*dma_async_tx_callback_result)(void *,
1: + const struct dmaengine_result *);
1:
1: struct dmaengine_unmap_data {
1: - u8 map_cnt;
1: - u8 to_cnt;
1: - u8 from_cnt;
1: - u8 bidi_cnt;
1: - struct device *dev;
1: - struct kref kref;
1: - size_t len;
1: - dma_addr_t addr[0];
1: + u8 map_cnt;
1: + u8 to_cnt;
1: + u8 from_cnt;
1: + u8 bidi_cnt;
1: + struct device *dev;
1: + struct kref kref;
1: + size_t len;
1: + dma_addr_t addr[0];
1: };
1:
1: struct dma_async_tx_descriptor {
1: - dma_cookie_t cookie;
1: - enum dma_ctrl_flags flags;
1: - dma_addr_t phys;
1: - struct dma_chan___2 *chan;
1: - dma_cookie_t (*tx_submit)(struct dma_async_tx_descriptor *);
1: - int (*desc_free)(struct dma_async_tx_descriptor *);
1: - dma_async_tx_callback callback;
1: - dma_async_tx_callback_result callback_result;
1: - void *callback_param;
1: - struct dmaengine_unmap_data *unmap;
1: + dma_cookie_t cookie;
1: + enum dma_ctrl_flags flags;
1: + dma_addr_t phys;
1: + struct dma_chan___2 *chan;
1: + dma_cookie_t (*tx_submit)(struct dma_async_tx_descriptor *);
1: + int (*desc_free)(struct dma_async_tx_descriptor *);
1: + dma_async_tx_callback callback;
1: + dma_async_tx_callback_result callback_result;
1: + void *callback_param;
1: + struct dmaengine_unmap_data *unmap;
1: };
1:
1: struct dma_tx_state {
1: - dma_cookie_t last;
1: - dma_cookie_t used;
1: - u32 residue;
1: + dma_cookie_t last;
1: + dma_cookie_t used;
1: + u32 residue;
1: };
1:
1: struct dma_slave_map {
1: - const char *devname;
1: - const char *slave;
1: - void *param;
1: + const char *devname;
1: + const char *slave;
1: + void *param;
1: };
1:
1: struct dma_chan_tbl_ent {
1: - struct dma_chan___2 *chan;
1: + struct dma_chan___2 *chan;
1: };
1:
1: struct dmaengine_unmap_pool {
1: - struct kmem_cache *cache;
1: - const char *name;
1: - mempool_t *pool;
1: - size_t size;
1: + struct kmem_cache *cache;
1: + const char *name;
1: + mempool_t *pool;
1: + size_t size;
1: };
1:
1: struct dmaengine_desc_callback {
1: - dma_async_tx_callback callback;
1: - dma_async_tx_callback_result callback_result;
1: - void *callback_param;
1: + dma_async_tx_callback callback;
1: + dma_async_tx_callback_result callback_result;
1: + void *callback_param;
1: };
1:
1: struct virt_dma_desc {
1: - struct dma_async_tx_descriptor tx;
1: - struct dmaengine_result tx_result;
1: - struct list_head node;
1: + struct dma_async_tx_descriptor tx;
1: + struct dmaengine_result tx_result;
1: + struct list_head node;
1: };
1:
1: struct virt_dma_chan {
1: - struct dma_chan___2 chan;
1: - struct tasklet_struct task;
1: - void (*desc_free)(struct virt_dma_desc *);
1: - spinlock_t lock;
1: - struct list_head desc_allocated;
1: - struct list_head desc_submitted;
1: - struct list_head desc_issued;
1: - struct list_head desc_completed;
1: - struct virt_dma_desc *cyclic;
1: - struct virt_dma_desc *vd_terminated;
1: + struct dma_chan___2 chan;
1: + struct tasklet_struct task;
1: + void (*desc_free)(struct virt_dma_desc *);
1: + spinlock_t lock;
1: + struct list_head desc_allocated;
1: + struct list_head desc_submitted;
1: + struct list_head desc_issued;
1: + struct list_head desc_completed;
1: + struct virt_dma_desc *cyclic;
1: + struct virt_dma_desc *vd_terminated;
1: };
1:
1: struct acpi_table_csrt {
1: - struct acpi_table_header header;
1: + struct acpi_table_header header;
1: };
1:
1: struct acpi_csrt_group {
1: - u32 length;
1: - u32 vendor_id;
1: - u32 subvendor_id;
1: - u16 device_id;
1: - u16 subdevice_id;
1: - u16 revision;
1: - u16 reserved;
1: - u32 shared_info_length;
1: + u32 length;
1: + u32 vendor_id;
1: + u32 subvendor_id;
1: + u16 device_id;
1: + u16 subdevice_id;
1: + u16 revision;
1: + u16 reserved;
1: + u32 shared_info_length;
1: };
1:
1: struct acpi_csrt_shared_info {
1: - u16 major_version;
1: - u16 minor_version;
1: - u32 mmio_base_low;
1: - u32 mmio_base_high;
1: - u32 gsi_interrupt;
1: - u8 interrupt_polarity;
1: - u8 interrupt_mode;
1: - u8 num_channels;
1: - u8 dma_address_width;
1: - u16 base_request_line;
1: - u16 num_handshake_signals;
1: - u32 max_block_size;
1: + u16 major_version;
1: + u16 minor_version;
1: + u32 mmio_base_low;
1: + u32 mmio_base_high;
1: + u32 gsi_interrupt;
1: + u8 interrupt_polarity;
1: + u8 interrupt_mode;
1: + u8 num_channels;
1: + u8 dma_address_width;
1: + u16 base_request_line;
1: + u16 num_handshake_signals;
1: + u32 max_block_size;
1: };
1:
1: struct acpi_dma_spec {
1: - int chan_id;
1: - int slave_id;
1: - struct device *dev;
1: + int chan_id;
1: + int slave_id;
1: + struct device *dev;
1: };
1:
1: struct acpi_dma {
1: - struct list_head dma_controllers;
1: - struct device *dev;
1: - struct dma_chan___2 * (*acpi_dma_xlate)(struct acpi_dma_spec *, struct acpi_dma *);
1: - void *data;
1: - short unsigned int base_request_line;
1: - short unsigned int end_request_line;
1: + struct list_head dma_controllers;
1: + struct device *dev;
1: + struct dma_chan___2 *(*acpi_dma_xlate)(struct acpi_dma_spec *,
1: + struct acpi_dma *);
1: + void *data;
1: + short unsigned int base_request_line;
1: + short unsigned int end_request_line;
1: };
1:
1: struct acpi_dma_filter_info {
1: - dma_cap_mask_t dma_cap;
1: - dma_filter_fn filter_fn;
1: + dma_cap_mask_t dma_cap;
1: + dma_filter_fn filter_fn;
1: };
1:
1: struct acpi_dma_parser_data {
1: - struct acpi_dma_spec dma_spec;
1: - size_t index;
1: - size_t n;
1: + struct acpi_dma_spec dma_spec;
1: + size_t index;
1: + size_t n;
1: };
1:
1: struct dw_dma_slave {
1: - struct device *dma_dev;
1: - u8 src_id;
1: - u8 dst_id;
1: - u8 m_master;
1: - u8 p_master;
1: - bool hs_polarity;
1: + struct device *dma_dev;
1: + u8 src_id;
1: + u8 dst_id;
1: + u8 m_master;
1: + u8 p_master;
1: + bool hs_polarity;
1: };
1:
1: struct dw_dma_platform_data {
1: - unsigned int nr_channels;
1: - unsigned char chan_allocation_order;
1: - unsigned char chan_priority;
1: - unsigned int block_size;
1: - unsigned char nr_masters;
1: - unsigned char data_width[4];
1: - unsigned char multi_block[8];
1: - unsigned char protctl;
1: + unsigned int nr_channels;
1: + unsigned char chan_allocation_order;
1: + unsigned char chan_priority;
1: + unsigned int block_size;
1: + unsigned char nr_masters;
1: + unsigned char data_width[4];
1: + unsigned char multi_block[8];
1: + unsigned char protctl;
1: };
1:
1: struct dw_dma;
1:
1: struct dw_dma_chip {
1: - struct device *dev;
1: - int id;
1: - int irq;
1: - void *regs;
1: - struct clk *clk;
1: - struct dw_dma *dw;
1: - const struct dw_dma_platform_data *pdata;
1: + struct device *dev;
1: + int id;
1: + int irq;
1: + void *regs;
1: + struct clk *clk;
1: + struct dw_dma *dw;
1: + const struct dw_dma_platform_data *pdata;
1: };
1:
1: struct dma_pool___2;
1: @@ -63344,529 +63822,529 @@ struct dma_pool___2;
1: struct dw_dma_chan;
1:
1: struct dw_dma {
1: - struct dma_device dma;
1: - char name[20];
1: - void *regs;
1: - struct dma_pool___2 *desc_pool;
1: - struct tasklet_struct tasklet;
1: - struct dw_dma_chan *chan;
1: - u8 all_chan_mask;
1: - u8 in_use;
1: - void (*initialize_chan)(struct dw_dma_chan *);
1: - void (*suspend_chan)(struct dw_dma_chan *, bool);
1: - void (*resume_chan)(struct dw_dma_chan *, bool);
1: - u32 (*prepare_ctllo)(struct dw_dma_chan *);
1: - void (*encode_maxburst)(struct dw_dma_chan *, u32 *);
1: - u32 (*bytes2block)(struct dw_dma_chan *, size_t, unsigned int, size_t *);
1: - size_t (*block2bytes)(struct dw_dma_chan *, u32, u32);
1: - void (*set_device_name)(struct dw_dma *, int);
1: - void (*disable)(struct dw_dma *);
1: - void (*enable)(struct dw_dma *);
1: - struct dw_dma_platform_data *pdata;
1: + struct dma_device dma;
1: + char name[20];
1: + void *regs;
1: + struct dma_pool___2 *desc_pool;
1: + struct tasklet_struct tasklet;
1: + struct dw_dma_chan *chan;
1: + u8 all_chan_mask;
1: + u8 in_use;
1: + void (*initialize_chan)(struct dw_dma_chan *);
1: + void (*suspend_chan)(struct dw_dma_chan *, bool);
1: + void (*resume_chan)(struct dw_dma_chan *, bool);
1: + u32 (*prepare_ctllo)(struct dw_dma_chan *);
1: + void (*encode_maxburst)(struct dw_dma_chan *, u32 *);
1: + u32 (*bytes2block)(struct dw_dma_chan *, size_t, unsigned int, size_t *);
1: + size_t (*block2bytes)(struct dw_dma_chan *, u32, u32);
1: + void (*set_device_name)(struct dw_dma *, int);
1: + void (*disable)(struct dw_dma *);
1: + void (*enable)(struct dw_dma *);
1: + struct dw_dma_platform_data *pdata;
1: };
1:
1: enum dw_dma_fc {
1: - DW_DMA_FC_D_M2M = 0,
1: - DW_DMA_FC_D_M2P = 1,
1: - DW_DMA_FC_D_P2M = 2,
1: - DW_DMA_FC_D_P2P = 3,
1: - DW_DMA_FC_P_P2M = 4,
1: - DW_DMA_FC_SP_P2P = 5,
1: - DW_DMA_FC_P_M2P = 6,
1: - DW_DMA_FC_DP_P2P = 7,
1: + DW_DMA_FC_D_M2M = 0,
1: + DW_DMA_FC_D_M2P = 1,
1: + DW_DMA_FC_D_P2M = 2,
1: + DW_DMA_FC_D_P2P = 3,
1: + DW_DMA_FC_P_P2M = 4,
1: + DW_DMA_FC_SP_P2P = 5,
1: + DW_DMA_FC_P_M2P = 6,
1: + DW_DMA_FC_DP_P2P = 7,
1: };
1:
1: struct dw_dma_chan_regs {
1: - u32 SAR;
1: - u32 __pad_SAR;
1: - u32 DAR;
1: - u32 __pad_DAR;
1: - u32 LLP;
1: - u32 __pad_LLP;
1: - u32 CTL_LO;
1: - u32 CTL_HI;
1: - u32 SSTAT;
1: - u32 __pad_SSTAT;
1: - u32 DSTAT;
1: - u32 __pad_DSTAT;
1: - u32 SSTATAR;
1: - u32 __pad_SSTATAR;
1: - u32 DSTATAR;
1: - u32 __pad_DSTATAR;
1: - u32 CFG_LO;
1: - u32 CFG_HI;
1: - u32 SGR;
1: - u32 __pad_SGR;
1: - u32 DSR;
1: - u32 __pad_DSR;
1: + u32 SAR;
1: + u32 __pad_SAR;
1: + u32 DAR;
1: + u32 __pad_DAR;
1: + u32 LLP;
1: + u32 __pad_LLP;
1: + u32 CTL_LO;
1: + u32 CTL_HI;
1: + u32 SSTAT;
1: + u32 __pad_SSTAT;
1: + u32 DSTAT;
1: + u32 __pad_DSTAT;
1: + u32 SSTATAR;
1: + u32 __pad_SSTATAR;
1: + u32 DSTATAR;
1: + u32 __pad_DSTATAR;
1: + u32 CFG_LO;
1: + u32 CFG_HI;
1: + u32 SGR;
1: + u32 __pad_SGR;
1: + u32 DSR;
1: + u32 __pad_DSR;
1: };
1:
1: struct dw_dma_irq_regs {
1: - u32 XFER;
1: - u32 __pad_XFER;
1: - u32 BLOCK;
1: - u32 __pad_BLOCK;
1: - u32 SRC_TRAN;
1: - u32 __pad_SRC_TRAN;
1: - u32 DST_TRAN;
1: - u32 __pad_DST_TRAN;
1: - u32 ERROR;
1: - u32 __pad_ERROR;
1: + u32 XFER;
1: + u32 __pad_XFER;
1: + u32 BLOCK;
1: + u32 __pad_BLOCK;
1: + u32 SRC_TRAN;
1: + u32 __pad_SRC_TRAN;
1: + u32 DST_TRAN;
1: + u32 __pad_DST_TRAN;
1: + u32 ERROR;
1: + u32 __pad_ERROR;
1: };
1:
1: struct dw_dma_regs {
1: - struct dw_dma_chan_regs CHAN[8];
1: - struct dw_dma_irq_regs RAW;
1: - struct dw_dma_irq_regs STATUS;
1: - struct dw_dma_irq_regs MASK;
1: - struct dw_dma_irq_regs CLEAR;
1: - u32 STATUS_INT;
1: - u32 __pad_STATUS_INT;
1: - u32 REQ_SRC;
1: - u32 __pad_REQ_SRC;
1: - u32 REQ_DST;
1: - u32 __pad_REQ_DST;
1: - u32 SGL_REQ_SRC;
1: - u32 __pad_SGL_REQ_SRC;
1: - u32 SGL_REQ_DST;
1: - u32 __pad_SGL_REQ_DST;
1: - u32 LAST_SRC;
1: - u32 __pad_LAST_SRC;
1: - u32 LAST_DST;
1: - u32 __pad_LAST_DST;
1: - u32 CFG;
1: - u32 __pad_CFG;
1: - u32 CH_EN;
1: - u32 __pad_CH_EN;
1: - u32 ID;
1: - u32 __pad_ID;
1: - u32 TEST;
1: - u32 __pad_TEST;
1: - u32 CLASS_PRIORITY0;
1: - u32 __pad_CLASS_PRIORITY0;
1: - u32 CLASS_PRIORITY1;
1: - u32 __pad_CLASS_PRIORITY1;
1: - u32 __reserved;
1: - u32 DWC_PARAMS[8];
1: - u32 MULTI_BLK_TYPE;
1: - u32 MAX_BLK_SIZE;
1: - u32 DW_PARAMS;
1: - u32 COMP_TYPE;
1: - u32 COMP_VERSION;
1: - u32 FIFO_PARTITION0;
1: - u32 __pad_FIFO_PARTITION0;
1: - u32 FIFO_PARTITION1;
1: - u32 __pad_FIFO_PARTITION1;
1: - u32 SAI_ERR;
1: - u32 __pad_SAI_ERR;
1: - u32 GLOBAL_CFG;
1: - u32 __pad_GLOBAL_CFG;
1: + struct dw_dma_chan_regs CHAN[8];
1: + struct dw_dma_irq_regs RAW;
1: + struct dw_dma_irq_regs STATUS;
1: + struct dw_dma_irq_regs MASK;
1: + struct dw_dma_irq_regs CLEAR;
1: + u32 STATUS_INT;
1: + u32 __pad_STATUS_INT;
1: + u32 REQ_SRC;
1: + u32 __pad_REQ_SRC;
1: + u32 REQ_DST;
1: + u32 __pad_REQ_DST;
1: + u32 SGL_REQ_SRC;
1: + u32 __pad_SGL_REQ_SRC;
1: + u32 SGL_REQ_DST;
1: + u32 __pad_SGL_REQ_DST;
1: + u32 LAST_SRC;
1: + u32 __pad_LAST_SRC;
1: + u32 LAST_DST;
1: + u32 __pad_LAST_DST;
1: + u32 CFG;
1: + u32 __pad_CFG;
1: + u32 CH_EN;
1: + u32 __pad_CH_EN;
1: + u32 ID;
1: + u32 __pad_ID;
1: + u32 TEST;
1: + u32 __pad_TEST;
1: + u32 CLASS_PRIORITY0;
1: + u32 __pad_CLASS_PRIORITY0;
1: + u32 CLASS_PRIORITY1;
1: + u32 __pad_CLASS_PRIORITY1;
1: + u32 __reserved;
1: + u32 DWC_PARAMS[8];
1: + u32 MULTI_BLK_TYPE;
1: + u32 MAX_BLK_SIZE;
1: + u32 DW_PARAMS;
1: + u32 COMP_TYPE;
1: + u32 COMP_VERSION;
1: + u32 FIFO_PARTITION0;
1: + u32 __pad_FIFO_PARTITION0;
1: + u32 FIFO_PARTITION1;
1: + u32 __pad_FIFO_PARTITION1;
1: + u32 SAI_ERR;
1: + u32 __pad_SAI_ERR;
1: + u32 GLOBAL_CFG;
1: + u32 __pad_GLOBAL_CFG;
1: };
1:
1: enum dw_dmac_flags {
1: - DW_DMA_IS_CYCLIC = 0,
1: - DW_DMA_IS_SOFT_LLP = 1,
1: - DW_DMA_IS_PAUSED = 2,
1: - DW_DMA_IS_INITIALIZED = 3,
1: + DW_DMA_IS_CYCLIC = 0,
1: + DW_DMA_IS_SOFT_LLP = 1,
1: + DW_DMA_IS_PAUSED = 2,
1: + DW_DMA_IS_INITIALIZED = 3,
1: };
1:
1: struct dw_dma_chan {
1: - struct dma_chan___2 chan;
1: - void *ch_regs;
1: - u8 mask;
1: - u8 priority;
1: - enum dma_transfer_direction direction;
1: - struct list_head *tx_node_active;
1: - spinlock_t lock;
1: - long unsigned int flags;
1: - struct list_head active_list;
1: - struct list_head queue;
1: - unsigned int descs_allocated;
1: - unsigned int block_size;
1: - bool nollp;
1: - struct dw_dma_slave dws;
1: - struct dma_slave_config dma_sconfig;
1: + struct dma_chan___2 chan;
1: + void *ch_regs;
1: + u8 mask;
1: + u8 priority;
1: + enum dma_transfer_direction direction;
1: + struct list_head *tx_node_active;
1: + spinlock_t lock;
1: + long unsigned int flags;
1: + struct list_head active_list;
1: + struct list_head queue;
1: + unsigned int descs_allocated;
1: + unsigned int block_size;
1: + bool nollp;
1: + struct dw_dma_slave dws;
1: + struct dma_slave_config dma_sconfig;
1: };
1:
1: struct dw_lli {
1: - __le32 sar;
1: - __le32 dar;
1: - __le32 llp;
1: - __le32 ctllo;
1: - __le32 ctlhi;
1: - __le32 sstat;
1: - __le32 dstat;
1: + __le32 sar;
1: + __le32 dar;
1: + __le32 llp;
1: + __le32 ctllo;
1: + __le32 ctlhi;
1: + __le32 sstat;
1: + __le32 dstat;
1: };
1:
1: struct dw_desc {
1: - struct dw_lli lli;
1: - struct list_head desc_node;
1: - struct list_head tx_list;
1: - struct dma_async_tx_descriptor txd;
1: - size_t len;
1: - size_t total_len;
1: - u32 residue;
1: + struct dw_lli lli;
1: + struct list_head desc_node;
1: + struct list_head tx_list;
1: + struct dma_async_tx_descriptor txd;
1: + size_t len;
1: + size_t total_len;
1: + u32 residue;
1: };
1:
1: struct dw_dma_chip_pdata {
1: - const struct dw_dma_platform_data *pdata;
1: - int (*probe)(struct dw_dma_chip *);
1: - int (*remove)(struct dw_dma_chip *);
1: - struct dw_dma_chip *chip;
1: + const struct dw_dma_platform_data *pdata;
1: + int (*probe)(struct dw_dma_chip *);
1: + int (*remove)(struct dw_dma_chip *);
1: + struct dw_dma_chip *chip;
1: };
1:
1: enum dw_dma_msize {
1: - DW_DMA_MSIZE_1 = 0,
1: - DW_DMA_MSIZE_4 = 1,
1: - DW_DMA_MSIZE_8 = 2,
1: - DW_DMA_MSIZE_16 = 3,
1: - DW_DMA_MSIZE_32 = 4,
1: - DW_DMA_MSIZE_64 = 5,
1: - DW_DMA_MSIZE_128 = 6,
1: - DW_DMA_MSIZE_256 = 7,
1: + DW_DMA_MSIZE_1 = 0,
1: + DW_DMA_MSIZE_4 = 1,
1: + DW_DMA_MSIZE_8 = 2,
1: + DW_DMA_MSIZE_16 = 3,
1: + DW_DMA_MSIZE_32 = 4,
1: + DW_DMA_MSIZE_64 = 5,
1: + DW_DMA_MSIZE_128 = 6,
1: + DW_DMA_MSIZE_256 = 7,
1: };
1:
1: enum idma32_msize {
1: - IDMA32_MSIZE_1 = 0,
1: - IDMA32_MSIZE_2 = 1,
1: - IDMA32_MSIZE_4 = 2,
1: - IDMA32_MSIZE_8 = 3,
1: - IDMA32_MSIZE_16 = 4,
1: - IDMA32_MSIZE_32 = 5,
1: + IDMA32_MSIZE_1 = 0,
1: + IDMA32_MSIZE_2 = 1,
1: + IDMA32_MSIZE_4 = 2,
1: + IDMA32_MSIZE_8 = 3,
1: + IDMA32_MSIZE_16 = 4,
1: + IDMA32_MSIZE_32 = 5,
1: };
1:
1: struct hsu_dma;
1:
1: struct hsu_dma_chip {
1: - struct device *dev;
1: - int irq;
1: - void *regs;
1: - unsigned int length;
1: - unsigned int offset;
1: - struct hsu_dma *hsu;
1: + struct device *dev;
1: + int irq;
1: + void *regs;
1: + unsigned int length;
1: + unsigned int offset;
1: + struct hsu_dma *hsu;
1: };
1:
1: struct hsu_dma_chan;
1:
1: struct hsu_dma {
1: - struct dma_device dma;
1: - struct hsu_dma_chan *chan;
1: - short unsigned int nr_channels;
1: + struct dma_device dma;
1: + struct hsu_dma_chan *chan;
1: + short unsigned int nr_channels;
1: };
1:
1: struct hsu_dma_sg {
1: - dma_addr_t addr;
1: - unsigned int len;
1: + dma_addr_t addr;
1: + unsigned int len;
1: };
1:
1: struct hsu_dma_desc {
1: - struct virt_dma_desc vdesc;
1: - enum dma_transfer_direction direction;
1: - struct hsu_dma_sg *sg;
1: - unsigned int nents;
1: - size_t length;
1: - unsigned int active;
1: - enum dma_status status;
1: + struct virt_dma_desc vdesc;
1: + enum dma_transfer_direction direction;
1: + struct hsu_dma_sg *sg;
1: + unsigned int nents;
1: + size_t length;
1: + unsigned int active;
1: + enum dma_status status;
1: };
1:
1: struct hsu_dma_chan {
1: - struct virt_dma_chan vchan;
1: - void *reg;
1: - enum dma_transfer_direction direction;
1: - struct dma_slave_config config;
1: - struct hsu_dma_desc *desc;
1: + struct virt_dma_chan vchan;
1: + void *reg;
1: + enum dma_transfer_direction direction;
1: + struct dma_slave_config config;
1: + struct hsu_dma_desc *desc;
1: };
1:
1: struct serial_struct32 {
1: - compat_int_t type;
1: - compat_int_t line;
1: - compat_uint_t port;
1: - compat_int_t irq;
1: - compat_int_t flags;
1: - compat_int_t xmit_fifo_size;
1: - compat_int_t custom_divisor;
1: - compat_int_t baud_base;
1: - short unsigned int close_delay;
1: - char io_type;
1: - char reserved_char[1];
1: - compat_int_t hub6;
1: - short unsigned int closing_wait;
1: - short unsigned int closing_wait2;
1: - compat_uint_t iomem_base;
1: - short unsigned int iomem_reg_shift;
1: - unsigned int port_high;
1: - compat_int_t reserved[1];
1: + compat_int_t type;
1: + compat_int_t line;
1: + compat_uint_t port;
1: + compat_int_t irq;
1: + compat_int_t flags;
1: + compat_int_t xmit_fifo_size;
1: + compat_int_t custom_divisor;
1: + compat_int_t baud_base;
1: + short unsigned int close_delay;
1: + char io_type;
1: + char reserved_char[1];
1: + compat_int_t hub6;
1: + short unsigned int closing_wait;
1: + short unsigned int closing_wait2;
1: + compat_uint_t iomem_base;
1: + short unsigned int iomem_reg_shift;
1: + unsigned int port_high;
1: + compat_int_t reserved[1];
1: };
1:
1: struct n_tty_data {
1: - size_t read_head;
1: - size_t commit_head;
1: - size_t canon_head;
1: - size_t echo_head;
1: - size_t echo_commit;
1: - size_t echo_mark;
1: - long unsigned int char_map[4];
1: - long unsigned int overrun_time;
1: - int num_overrun;
1: - bool no_room;
1: - unsigned char lnext: 1;
1: - unsigned char erasing: 1;
1: - unsigned char raw: 1;
1: - unsigned char real_raw: 1;
1: - unsigned char icanon: 1;
1: - unsigned char push: 1;
1: - char read_buf[4096];
1: - long unsigned int read_flags[64];
1: - unsigned char echo_buf[4096];
1: - size_t read_tail;
1: - size_t line_start;
1: - unsigned int column;
1: - unsigned int canon_column;
1: - size_t echo_tail;
1: - struct mutex atomic_read_lock;
1: - struct mutex output_lock;
1: -};
1: -
1: -enum {
1: - ERASE = 0,
1: - WERASE = 1,
1: - KILL = 2,
1: + size_t read_head;
1: + size_t commit_head;
1: + size_t canon_head;
1: + size_t echo_head;
1: + size_t echo_commit;
1: + size_t echo_mark;
1: + long unsigned int char_map[4];
1: + long unsigned int overrun_time;
1: + int num_overrun;
1: + bool no_room;
1: + unsigned char lnext : 1;
1: + unsigned char erasing : 1;
1: + unsigned char raw : 1;
1: + unsigned char real_raw : 1;
1: + unsigned char icanon : 1;
1: + unsigned char push : 1;
1: + char read_buf[4096];
1: + long unsigned int read_flags[64];
1: + unsigned char echo_buf[4096];
1: + size_t read_tail;
1: + size_t line_start;
1: + unsigned int column;
1: + unsigned int canon_column;
1: + size_t echo_tail;
1: + struct mutex atomic_read_lock;
1: + struct mutex output_lock;
1: +};
1: +
1: +enum {
1: + ERASE = 0,
1: + WERASE = 1,
1: + KILL = 2,
1: };
1:
1: struct termios {
1: - tcflag_t c_iflag;
1: - tcflag_t c_oflag;
1: - tcflag_t c_cflag;
1: - tcflag_t c_lflag;
1: - cc_t c_line;
1: - cc_t c_cc[19];
1: + tcflag_t c_iflag;
1: + tcflag_t c_oflag;
1: + tcflag_t c_cflag;
1: + tcflag_t c_lflag;
1: + cc_t c_line;
1: + cc_t c_cc[19];
1: };
1:
1: struct termios2 {
1: - tcflag_t c_iflag;
1: - tcflag_t c_oflag;
1: - tcflag_t c_cflag;
1: - tcflag_t c_lflag;
1: - cc_t c_line;
1: - cc_t c_cc[19];
1: - speed_t c_ispeed;
1: - speed_t c_ospeed;
1: + tcflag_t c_iflag;
1: + tcflag_t c_oflag;
1: + tcflag_t c_cflag;
1: + tcflag_t c_lflag;
1: + cc_t c_line;
1: + cc_t c_cc[19];
1: + speed_t c_ispeed;
1: + speed_t c_ospeed;
1: };
1:
1: struct termio {
1: - short unsigned int c_iflag;
1: - short unsigned int c_oflag;
1: - short unsigned int c_cflag;
1: - short unsigned int c_lflag;
1: - unsigned char c_line;
1: - unsigned char c_cc[8];
1: + short unsigned int c_iflag;
1: + short unsigned int c_oflag;
1: + short unsigned int c_cflag;
1: + short unsigned int c_lflag;
1: + unsigned char c_line;
1: + unsigned char c_cc[8];
1: };
1:
1: struct ldsem_waiter {
1: - struct list_head list;
1: - struct task_struct *task;
1: + struct list_head list;
1: + struct task_struct *task;
1: };
1:
1: struct pts_fs_info___2;
1:
1: struct tty_audit_buf {
1: - struct mutex mutex;
1: - dev_t dev;
1: - unsigned int icanon: 1;
1: - size_t valid;
1: - unsigned char *data;
1: + struct mutex mutex;
1: + dev_t dev;
1: + unsigned int icanon : 1;
1: + size_t valid;
1: + unsigned char *data;
1: };
1:
1: struct sysrq_state {
1: - struct input_handle handle;
1: - struct work_struct reinject_work;
1: - long unsigned int key_down[12];
1: - unsigned int alt;
1: - unsigned int alt_use;
1: - bool active;
1: - bool need_reinject;
1: - bool reinjecting;
1: - bool reset_canceled;
1: - bool reset_requested;
1: - long unsigned int reset_keybit[12];
1: - int reset_seq_len;
1: - int reset_seq_cnt;
1: - int reset_seq_version;
1: - struct timer_list keyreset_timer;
1: + struct input_handle handle;
1: + struct work_struct reinject_work;
1: + long unsigned int key_down[12];
1: + unsigned int alt;
1: + unsigned int alt_use;
1: + bool active;
1: + bool need_reinject;
1: + bool reinjecting;
1: + bool reset_canceled;
1: + bool reset_requested;
1: + long unsigned int reset_keybit[12];
1: + int reset_seq_len;
1: + int reset_seq_cnt;
1: + int reset_seq_version;
1: + struct timer_list keyreset_timer;
1: };
1:
1: struct consolefontdesc {
1: - short unsigned int charcount;
1: - short unsigned int charheight;
1: - char *chardata;
1: + short unsigned int charcount;
1: + short unsigned int charheight;
1: + char *chardata;
1: };
1:
1: struct unipair {
1: - short unsigned int unicode;
1: - short unsigned int fontpos;
1: + short unsigned int unicode;
1: + short unsigned int fontpos;
1: };
1:
1: struct unimapdesc {
1: - short unsigned int entry_ct;
1: - struct unipair *entries;
1: + short unsigned int entry_ct;
1: + struct unipair *entries;
1: };
1:
1: struct kbentry {
1: - unsigned char kb_table;
1: - unsigned char kb_index;
1: - short unsigned int kb_value;
1: + unsigned char kb_table;
1: + unsigned char kb_index;
1: + short unsigned int kb_value;
1: };
1:
1: struct kbsentry {
1: - unsigned char kb_func;
1: - unsigned char kb_string[512];
1: + unsigned char kb_func;
1: + unsigned char kb_string[512];
1: };
1:
1: struct kbkeycode {
1: - unsigned int scancode;
1: - unsigned int keycode;
1: + unsigned int scancode;
1: + unsigned int keycode;
1: };
1:
1: struct kbd_repeat {
1: - int delay;
1: - int period;
1: + int delay;
1: + int period;
1: };
1:
1: struct console_font_op {
1: - unsigned int op;
1: - unsigned int flags;
1: - unsigned int width;
1: - unsigned int height;
1: - unsigned int charcount;
1: - unsigned char *data;
1: + unsigned int op;
1: + unsigned int flags;
1: + unsigned int width;
1: + unsigned int height;
1: + unsigned int charcount;
1: + unsigned char *data;
1: };
1:
1: struct vt_stat {
1: - short unsigned int v_active;
1: - short unsigned int v_signal;
1: - short unsigned int v_state;
1: + short unsigned int v_active;
1: + short unsigned int v_signal;
1: + short unsigned int v_state;
1: };
1:
1: struct vt_sizes {
1: - short unsigned int v_rows;
1: - short unsigned int v_cols;
1: - short unsigned int v_scrollsize;
1: + short unsigned int v_rows;
1: + short unsigned int v_cols;
1: + short unsigned int v_scrollsize;
1: };
1:
1: struct vt_consize {
1: - short unsigned int v_rows;
1: - short unsigned int v_cols;
1: - short unsigned int v_vlin;
1: - short unsigned int v_clin;
1: - short unsigned int v_vcol;
1: - short unsigned int v_ccol;
1: + short unsigned int v_rows;
1: + short unsigned int v_cols;
1: + short unsigned int v_vlin;
1: + short unsigned int v_clin;
1: + short unsigned int v_vcol;
1: + short unsigned int v_ccol;
1: };
1:
1: struct vt_event {
1: - unsigned int event;
1: - unsigned int oldev;
1: - unsigned int newev;
1: - unsigned int pad[4];
1: + unsigned int event;
1: + unsigned int oldev;
1: + unsigned int newev;
1: + unsigned int pad[4];
1: };
1:
1: struct vt_setactivate {
1: - unsigned int console;
1: - struct vt_mode mode;
1: + unsigned int console;
1: + struct vt_mode mode;
1: };
1:
1: struct vt_spawn_console {
1: - spinlock_t lock;
1: - struct pid *pid;
1: - int sig;
1: + spinlock_t lock;
1: + struct pid *pid;
1: + int sig;
1: };
1:
1: struct vt_event_wait {
1: - struct list_head list;
1: - struct vt_event event;
1: - int done;
1: + struct list_head list;
1: + struct vt_event event;
1: + int done;
1: };
1:
1: struct compat_consolefontdesc {
1: - short unsigned int charcount;
1: - short unsigned int charheight;
1: - compat_caddr_t chardata;
1: + short unsigned int charcount;
1: + short unsigned int charheight;
1: + compat_caddr_t chardata;
1: };
1:
1: struct compat_console_font_op {
1: - compat_uint_t op;
1: - compat_uint_t flags;
1: - compat_uint_t width;
1: - compat_uint_t height;
1: - compat_uint_t charcount;
1: - compat_caddr_t data;
1: + compat_uint_t op;
1: + compat_uint_t flags;
1: + compat_uint_t width;
1: + compat_uint_t height;
1: + compat_uint_t charcount;
1: + compat_caddr_t data;
1: };
1:
1: struct compat_unimapdesc {
1: - short unsigned int entry_ct;
1: - compat_caddr_t entries;
1: + short unsigned int entry_ct;
1: + compat_caddr_t entries;
1: };
1:
1: struct vt_notifier_param {
1: - struct vc_data *vc;
1: - unsigned int c;
1: + struct vc_data *vc;
1: + unsigned int c;
1: };
1:
1: struct vcs_poll_data {
1: - struct notifier_block notifier;
1: - unsigned int cons_num;
1: - int event;
1: - wait_queue_head_t waitq;
1: - struct fasync_struct *fasync;
1: + struct notifier_block notifier;
1: + unsigned int cons_num;
1: + int event;
1: + wait_queue_head_t waitq;
1: + struct fasync_struct *fasync;
1: };
1:
1: struct tiocl_selection {
1: - short unsigned int xs;
1: - short unsigned int ys;
1: - short unsigned int xe;
1: - short unsigned int ye;
1: - short unsigned int sel_mode;
1: + short unsigned int xs;
1: + short unsigned int ys;
1: + short unsigned int xe;
1: + short unsigned int ye;
1: + short unsigned int sel_mode;
1: };
1:
1: struct keyboard_notifier_param {
1: - struct vc_data *vc;
1: - int down;
1: - int shift;
1: - int ledstate;
1: - unsigned int value;
1: + struct vc_data *vc;
1: + int down;
1: + int shift;
1: + int ledstate;
1: + unsigned int value;
1: };
1:
1: struct kbd_struct {
1: - unsigned char lockstate;
1: - unsigned char slockstate;
1: - unsigned char ledmode: 1;
1: - unsigned char ledflagstate: 4;
1: - char: 3;
1: - unsigned char default_ledflagstate: 4;
1: - unsigned char kbdmode: 3;
1: - char: 1;
1: - unsigned char modeflags: 5;
1: + unsigned char lockstate;
1: + unsigned char slockstate;
1: + unsigned char ledmode : 1;
1: + unsigned char ledflagstate : 4;
1: + char : 3;
1: + unsigned char default_ledflagstate : 4;
1: + unsigned char kbdmode : 3;
1: + char : 1;
1: + unsigned char modeflags : 5;
1: };
1:
1: struct kbdiacr {
1: - unsigned char diacr;
1: - unsigned char base;
1: - unsigned char result;
1: + unsigned char diacr;
1: + unsigned char base;
1: + unsigned char result;
1: };
1:
1: struct kbdiacrs {
1: - unsigned int kb_cnt;
1: - struct kbdiacr kbdiacr[256];
1: + unsigned int kb_cnt;
1: + struct kbdiacr kbdiacr[256];
1: };
1:
1: struct kbdiacruc {
1: - unsigned int diacr;
1: - unsigned int base;
1: - unsigned int result;
1: + unsigned int diacr;
1: + unsigned int base;
1: + unsigned int result;
1: };
1:
1: struct kbdiacrsuc {
1: - unsigned int kb_cnt;
1: - struct kbdiacruc kbdiacruc[256];
1: + unsigned int kb_cnt;
1: + struct kbdiacruc kbdiacruc[256];
1: };
1:
1: typedef void k_handler_fn(struct vc_data *, unsigned char, char);
1: @@ -63874,142 +64352,142 @@ typedef void k_handler_fn(struct vc_data *, unsigned char, char);
1: typedef void fn_handler_fn(struct vc_data *);
1:
1: struct getset_keycode_data {
1: - struct input_keymap_entry ke;
1: - int error;
1: + struct input_keymap_entry ke;
1: + int error;
1: };
1:
1: struct kbd_led_trigger {
1: - struct led_trigger trigger;
1: - unsigned int mask;
1: + struct led_trigger trigger;
1: + unsigned int mask;
1: };
1:
1: struct uni_pagedir {
1: - u16 **uni_pgdir[32];
1: - long unsigned int refcount;
1: - long unsigned int sum;
1: - unsigned char *inverse_translations[4];
1: - u16 *inverse_trans_unicode;
1: + u16 **uni_pgdir[32];
1: + long unsigned int refcount;
1: + long unsigned int sum;
1: + unsigned char *inverse_translations[4];
1: + u16 *inverse_trans_unicode;
1: };
1:
1: typedef uint32_t char32_t;
1:
1: struct uni_screen {
1: - char32_t *lines[0];
1: + char32_t *lines[0];
1: };
1:
1: struct con_driver {
1: - const struct consw *con;
1: - const char *desc;
1: - struct device *dev;
1: - int node;
1: - int first;
1: - int last;
1: - int flag;
1: + const struct consw *con;
1: + const char *desc;
1: + struct device *dev;
1: + int node;
1: + int first;
1: + int last;
1: + int flag;
1: };
1:
1: enum {
1: - blank_off = 0,
1: - blank_normal_wait = 1,
1: - blank_vesa_wait = 2,
1: + blank_off = 0,
1: + blank_normal_wait = 1,
1: + blank_vesa_wait = 2,
1: };
1:
1: enum {
1: - EPecma = 0,
1: - EPdec = 1,
1: - EPeq = 2,
1: - EPgt = 3,
1: - EPlt = 4,
1: + EPecma = 0,
1: + EPdec = 1,
1: + EPeq = 2,
1: + EPgt = 3,
1: + EPlt = 4,
1: };
1:
1: struct rgb {
1: - u8 r;
1: - u8 g;
1: - u8 b;
1: + u8 r;
1: + u8 g;
1: + u8 b;
1: };
1:
1: enum {
1: - ESnormal = 0,
1: - ESesc = 1,
1: - ESsquare = 2,
1: - ESgetpars = 3,
1: - ESfunckey = 4,
1: - EShash = 5,
1: - ESsetG0 = 6,
1: - ESsetG1 = 7,
1: - ESpercent = 8,
1: - EScsiignore = 9,
1: - ESnonstd = 10,
1: - ESpalette = 11,
1: - ESosc = 12,
1: + ESnormal = 0,
1: + ESesc = 1,
1: + ESsquare = 2,
1: + ESgetpars = 3,
1: + ESfunckey = 4,
1: + EShash = 5,
1: + ESsetG0 = 6,
1: + ESsetG1 = 7,
1: + ESpercent = 8,
1: + EScsiignore = 9,
1: + ESnonstd = 10,
1: + ESpalette = 11,
1: + ESosc = 12,
1: };
1:
1: struct interval {
1: - uint32_t first;
1: - uint32_t last;
1: + uint32_t first;
1: + uint32_t last;
1: };
1:
1: struct serial_rs485 {
1: - __u32 flags;
1: - __u32 delay_rts_before_send;
1: - __u32 delay_rts_after_send;
1: - __u32 padding[5];
1: + __u32 flags;
1: + __u32 delay_rts_before_send;
1: + __u32 delay_rts_after_send;
1: + __u32 padding[5];
1: };
1:
1: struct serial_iso7816 {
1: - __u32 flags;
1: - __u32 tg;
1: - __u32 sc_fi;
1: - __u32 sc_di;
1: - __u32 clk;
1: - __u32 reserved[5];
1: + __u32 flags;
1: + __u32 tg;
1: + __u32 sc_fi;
1: + __u32 sc_di;
1: + __u32 clk;
1: + __u32 reserved[5];
1: };
1:
1: struct circ_buf {
1: - char *buf;
1: - int head;
1: - int tail;
1: + char *buf;
1: + int head;
1: + int tail;
1: };
1:
1: struct uart_port;
1:
1: struct uart_ops {
1: - unsigned int (*tx_empty)(struct uart_port *);
1: - void (*set_mctrl)(struct uart_port *, unsigned int);
1: - unsigned int (*get_mctrl)(struct uart_port *);
1: - void (*stop_tx)(struct uart_port *);
1: - void (*start_tx)(struct uart_port *);
1: - void (*throttle)(struct uart_port *);
1: - void (*unthrottle)(struct uart_port *);
1: - void (*send_xchar)(struct uart_port *, char);
1: - void (*stop_rx)(struct uart_port *);
1: - void (*enable_ms)(struct uart_port *);
1: - void (*break_ctl)(struct uart_port *, int);
1: - int (*startup)(struct uart_port *);
1: - void (*shutdown)(struct uart_port *);
1: - void (*flush_buffer)(struct uart_port *);
1: - void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: - void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: - void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: - const char * (*type)(struct uart_port *);
1: - void (*release_port)(struct uart_port *);
1: - int (*request_port)(struct uart_port *);
1: - void (*config_port)(struct uart_port *, int);
1: - int (*verify_port)(struct uart_port *, struct serial_struct *);
1: - int (*ioctl)(struct uart_port *, unsigned int, long unsigned int);
1: + unsigned int (*tx_empty)(struct uart_port *);
1: + void (*set_mctrl)(struct uart_port *, unsigned int);
1: + unsigned int (*get_mctrl)(struct uart_port *);
1: + void (*stop_tx)(struct uart_port *);
1: + void (*start_tx)(struct uart_port *);
1: + void (*throttle)(struct uart_port *);
1: + void (*unthrottle)(struct uart_port *);
1: + void (*send_xchar)(struct uart_port *, char);
1: + void (*stop_rx)(struct uart_port *);
1: + void (*enable_ms)(struct uart_port *);
1: + void (*break_ctl)(struct uart_port *, int);
1: + int (*startup)(struct uart_port *);
1: + void (*shutdown)(struct uart_port *);
1: + void (*flush_buffer)(struct uart_port *);
1: + void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: + void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: + void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: + const char *(*type)(struct uart_port *);
1: + void (*release_port)(struct uart_port *);
1: + int (*request_port)(struct uart_port *);
1: + void (*config_port)(struct uart_port *, int);
1: + int (*verify_port)(struct uart_port *, struct serial_struct *);
1: + int (*ioctl)(struct uart_port *, unsigned int, long unsigned int);
1: };
1:
1: struct uart_icount {
1: - __u32 cts;
1: - __u32 dsr;
1: - __u32 rng;
1: - __u32 dcd;
1: - __u32 rx;
1: - __u32 tx;
1: - __u32 frame;
1: - __u32 overrun;
1: - __u32 parity;
1: - __u32 brk;
1: - __u32 buf_overrun;
1: + __u32 cts;
1: + __u32 dsr;
1: + __u32 rng;
1: + __u32 dcd;
1: + __u32 rx;
1: + __u32 tx;
1: + __u32 frame;
1: + __u32 overrun;
1: + __u32 parity;
1: + __u32 brk;
1: + __u32 buf_overrun;
1: };
1:
1: typedef unsigned int upf_t;
1: @@ -64019,163 +64497,164 @@ typedef unsigned int upstat_t;
1: struct uart_state;
1:
1: struct uart_port {
1: - spinlock_t lock;
1: - long unsigned int iobase;
1: - unsigned char *membase;
1: - unsigned int (*serial_in)(struct uart_port *, int);
1: - void (*serial_out)(struct uart_port *, int, int);
1: - void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: - void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: - unsigned int (*get_mctrl)(struct uart_port *);
1: - void (*set_mctrl)(struct uart_port *, unsigned int);
1: - unsigned int (*get_divisor)(struct uart_port *, unsigned int, unsigned int *);
1: - void (*set_divisor)(struct uart_port *, unsigned int, unsigned int, unsigned int);
1: - int (*startup)(struct uart_port *);
1: - void (*shutdown)(struct uart_port *);
1: - void (*throttle)(struct uart_port *);
1: - void (*unthrottle)(struct uart_port *);
1: - int (*handle_irq)(struct uart_port *);
1: - void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: - void (*handle_break)(struct uart_port *);
1: - int (*rs485_config)(struct uart_port *, struct serial_rs485 *);
1: - int (*iso7816_config)(struct uart_port *, struct serial_iso7816 *);
1: - unsigned int irq;
1: - long unsigned int irqflags;
1: - unsigned int uartclk;
1: - unsigned int fifosize;
1: - unsigned char x_char;
1: - unsigned char regshift;
1: - unsigned char iotype;
1: - unsigned char quirks;
1: - unsigned int read_status_mask;
1: - unsigned int ignore_status_mask;
1: - struct uart_state *state;
1: - struct uart_icount icount;
1: - struct console *cons;
1: - long unsigned int sysrq;
1: - unsigned int sysrq_ch;
1: - upf_t flags;
1: - upstat_t status;
1: - int hw_stopped;
1: - unsigned int mctrl;
1: - unsigned int timeout;
1: - unsigned int type;
1: - const struct uart_ops *ops;
1: - unsigned int custom_divisor;
1: - unsigned int line;
1: - unsigned int minor;
1: - resource_size_t mapbase;
1: - resource_size_t mapsize;
1: - struct device *dev;
1: - unsigned char hub6;
1: - unsigned char suspended;
1: - unsigned char unused[2];
1: - const char *name;
1: - struct attribute_group *attr_group;
1: - const struct attribute_group **tty_groups;
1: - struct serial_rs485 rs485;
1: - struct serial_iso7816 iso7816;
1: - void *private_data;
1: + spinlock_t lock;
1: + long unsigned int iobase;
1: + unsigned char *membase;
1: + unsigned int (*serial_in)(struct uart_port *, int);
1: + void (*serial_out)(struct uart_port *, int, int);
1: + void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: + void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: + unsigned int (*get_mctrl)(struct uart_port *);
1: + void (*set_mctrl)(struct uart_port *, unsigned int);
1: + unsigned int (*get_divisor)(struct uart_port *, unsigned int, unsigned int *);
1: + void (*set_divisor)(struct uart_port *, unsigned int, unsigned int,
1: + unsigned int);
1: + int (*startup)(struct uart_port *);
1: + void (*shutdown)(struct uart_port *);
1: + void (*throttle)(struct uart_port *);
1: + void (*unthrottle)(struct uart_port *);
1: + int (*handle_irq)(struct uart_port *);
1: + void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: + void (*handle_break)(struct uart_port *);
1: + int (*rs485_config)(struct uart_port *, struct serial_rs485 *);
1: + int (*iso7816_config)(struct uart_port *, struct serial_iso7816 *);
1: + unsigned int irq;
1: + long unsigned int irqflags;
1: + unsigned int uartclk;
1: + unsigned int fifosize;
1: + unsigned char x_char;
1: + unsigned char regshift;
1: + unsigned char iotype;
1: + unsigned char quirks;
1: + unsigned int read_status_mask;
1: + unsigned int ignore_status_mask;
1: + struct uart_state *state;
1: + struct uart_icount icount;
1: + struct console *cons;
1: + long unsigned int sysrq;
1: + unsigned int sysrq_ch;
1: + upf_t flags;
1: + upstat_t status;
1: + int hw_stopped;
1: + unsigned int mctrl;
1: + unsigned int timeout;
1: + unsigned int type;
1: + const struct uart_ops *ops;
1: + unsigned int custom_divisor;
1: + unsigned int line;
1: + unsigned int minor;
1: + resource_size_t mapbase;
1: + resource_size_t mapsize;
1: + struct device *dev;
1: + unsigned char hub6;
1: + unsigned char suspended;
1: + unsigned char unused[2];
1: + const char *name;
1: + struct attribute_group *attr_group;
1: + const struct attribute_group **tty_groups;
1: + struct serial_rs485 rs485;
1: + struct serial_iso7816 iso7816;
1: + void *private_data;
1: };
1:
1: enum uart_pm_state {
1: - UART_PM_STATE_ON = 0,
1: - UART_PM_STATE_OFF = 3,
1: - UART_PM_STATE_UNDEFINED = 4,
1: + UART_PM_STATE_ON = 0,
1: + UART_PM_STATE_OFF = 3,
1: + UART_PM_STATE_UNDEFINED = 4,
1: };
1:
1: struct uart_state {
1: - struct tty_port port;
1: - enum uart_pm_state pm_state;
1: - struct circ_buf xmit;
1: - atomic_t refcount;
1: - wait_queue_head_t remove_wait;
1: - struct uart_port *uart_port;
1: + struct tty_port port;
1: + enum uart_pm_state pm_state;
1: + struct circ_buf xmit;
1: + atomic_t refcount;
1: + wait_queue_head_t remove_wait;
1: + struct uart_port *uart_port;
1: };
1:
1: struct uart_driver {
1: - struct module *owner;
1: - const char *driver_name;
1: - const char *dev_name;
1: - int major;
1: - int minor;
1: - int nr;
1: - struct console *cons;
1: - struct uart_state *state;
1: - struct tty_driver *tty_driver;
1: + struct module *owner;
1: + const char *driver_name;
1: + const char *dev_name;
1: + int major;
1: + int minor;
1: + int nr;
1: + struct console *cons;
1: + struct uart_state *state;
1: + struct tty_driver *tty_driver;
1: };
1:
1: struct uart_match {
1: - struct uart_port *port;
1: - struct uart_driver *driver;
1: + struct uart_port *port;
1: + struct uart_driver *driver;
1: };
1:
1: struct earlycon_device {
1: - struct console *con;
1: - struct uart_port port;
1: - char options[16];
1: - unsigned int baud;
1: + struct console *con;
1: + struct uart_port port;
1: + char options[16];
1: + unsigned int baud;
1: };
1:
1: struct earlycon_id {
1: - char name[15];
1: - char name_term;
1: - char compatible[128];
1: - int (*setup)(struct earlycon_device *, const char *);
1: + char name[15];
1: + char name_term;
1: + char compatible[128];
1: + int (*setup)(struct earlycon_device *, const char *);
1: };
1:
1: enum hwparam_type {
1: - hwparam_ioport = 0,
1: - hwparam_iomem = 1,
1: - hwparam_ioport_or_iomem = 2,
1: - hwparam_irq = 3,
1: - hwparam_dma = 4,
1: - hwparam_dma_addr = 5,
1: - hwparam_other = 6,
1: + hwparam_ioport = 0,
1: + hwparam_iomem = 1,
1: + hwparam_ioport_or_iomem = 2,
1: + hwparam_irq = 3,
1: + hwparam_dma = 4,
1: + hwparam_dma_addr = 5,
1: + hwparam_other = 6,
1: };
1:
1: struct plat_serial8250_port {
1: - long unsigned int iobase;
1: - void *membase;
1: - resource_size_t mapbase;
1: - unsigned int irq;
1: - long unsigned int irqflags;
1: - unsigned int uartclk;
1: - void *private_data;
1: - unsigned char regshift;
1: - unsigned char iotype;
1: - unsigned char hub6;
1: - upf_t flags;
1: - unsigned int type;
1: - unsigned int (*serial_in)(struct uart_port *, int);
1: - void (*serial_out)(struct uart_port *, int, int);
1: - void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: - void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: - unsigned int (*get_mctrl)(struct uart_port *);
1: - int (*handle_irq)(struct uart_port *);
1: - void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: - void (*handle_break)(struct uart_port *);
1: -};
1: -
1: -enum {
1: - PLAT8250_DEV_LEGACY = -1,
1: - PLAT8250_DEV_PLATFORM = 0,
1: - PLAT8250_DEV_PLATFORM1 = 1,
1: - PLAT8250_DEV_PLATFORM2 = 2,
1: - PLAT8250_DEV_FOURPORT = 3,
1: - PLAT8250_DEV_ACCENT = 4,
1: - PLAT8250_DEV_BOCA = 5,
1: - PLAT8250_DEV_EXAR_ST16C554 = 6,
1: - PLAT8250_DEV_HUB6 = 7,
1: - PLAT8250_DEV_AU1X00 = 8,
1: - PLAT8250_DEV_SM501 = 9,
1: + long unsigned int iobase;
1: + void *membase;
1: + resource_size_t mapbase;
1: + unsigned int irq;
1: + long unsigned int irqflags;
1: + unsigned int uartclk;
1: + void *private_data;
1: + unsigned char regshift;
1: + unsigned char iotype;
1: + unsigned char hub6;
1: + upf_t flags;
1: + unsigned int type;
1: + unsigned int (*serial_in)(struct uart_port *, int);
1: + void (*serial_out)(struct uart_port *, int, int);
1: + void (*set_termios)(struct uart_port *, struct ktermios *, struct ktermios *);
1: + void (*set_ldisc)(struct uart_port *, struct ktermios *);
1: + unsigned int (*get_mctrl)(struct uart_port *);
1: + int (*handle_irq)(struct uart_port *);
1: + void (*pm)(struct uart_port *, unsigned int, unsigned int);
1: + void (*handle_break)(struct uart_port *);
1: +};
1: +
1: +enum {
1: + PLAT8250_DEV_LEGACY = -1,
1: + PLAT8250_DEV_PLATFORM = 0,
1: + PLAT8250_DEV_PLATFORM1 = 1,
1: + PLAT8250_DEV_PLATFORM2 = 2,
1: + PLAT8250_DEV_FOURPORT = 3,
1: + PLAT8250_DEV_ACCENT = 4,
1: + PLAT8250_DEV_BOCA = 5,
1: + PLAT8250_DEV_EXAR_ST16C554 = 6,
1: + PLAT8250_DEV_HUB6 = 7,
1: + PLAT8250_DEV_AU1X00 = 8,
1: + PLAT8250_DEV_SM501 = 9,
1: };
1:
1: struct uart_8250_port;
1:
1: struct uart_8250_ops {
1: - int (*setup_irq)(struct uart_8250_port *);
1: - void (*release_irq)(struct uart_8250_port *);
1: + int (*setup_irq)(struct uart_8250_port *);
1: + void (*release_irq)(struct uart_8250_port *);
1: };
1:
1: struct mctrl_gpios;
1: @@ -64185,440 +64664,443 @@ struct uart_8250_dma;
1: struct uart_8250_em485;
1:
1: struct uart_8250_port {
1: - struct uart_port port;
1: - struct timer_list timer;
1: - struct list_head list;
1: - u32 capabilities;
1: - short unsigned int bugs;
1: - bool fifo_bug;
1: - unsigned int tx_loadsz;
1: - unsigned char acr;
1: - unsigned char fcr;
1: - unsigned char ier;
1: - unsigned char lcr;
1: - unsigned char mcr;
1: - unsigned char mcr_mask;
1: - unsigned char mcr_force;
1: - unsigned char cur_iotype;
1: - unsigned int rpm_tx_active;
1: - unsigned char canary;
1: - unsigned char probe;
1: - struct mctrl_gpios *gpios;
1: - unsigned char lsr_saved_flags;
1: - unsigned char msr_saved_flags;
1: - struct uart_8250_dma *dma;
1: - const struct uart_8250_ops *ops;
1: - int (*dl_read)(struct uart_8250_port *);
1: - void (*dl_write)(struct uart_8250_port *, int);
1: - struct uart_8250_em485 *em485;
1: - struct delayed_work overrun_backoff;
1: - u32 overrun_backoff_time_ms;
1: + struct uart_port port;
1: + struct timer_list timer;
1: + struct list_head list;
1: + u32 capabilities;
1: + short unsigned int bugs;
1: + bool fifo_bug;
1: + unsigned int tx_loadsz;
1: + unsigned char acr;
1: + unsigned char fcr;
1: + unsigned char ier;
1: + unsigned char lcr;
1: + unsigned char mcr;
1: + unsigned char mcr_mask;
1: + unsigned char mcr_force;
1: + unsigned char cur_iotype;
1: + unsigned int rpm_tx_active;
1: + unsigned char canary;
1: + unsigned char probe;
1: + struct mctrl_gpios *gpios;
1: + unsigned char lsr_saved_flags;
1: + unsigned char msr_saved_flags;
1: + struct uart_8250_dma *dma;
1: + const struct uart_8250_ops *ops;
1: + int (*dl_read)(struct uart_8250_port *);
1: + void (*dl_write)(struct uart_8250_port *, int);
1: + struct uart_8250_em485 *em485;
1: + struct delayed_work overrun_backoff;
1: + u32 overrun_backoff_time_ms;
1: };
1:
1: struct uart_8250_em485 {
1: - struct hrtimer start_tx_timer;
1: - struct hrtimer stop_tx_timer;
1: - struct hrtimer *active_timer;
1: - struct uart_8250_port *port;
1: + struct hrtimer start_tx_timer;
1: + struct hrtimer stop_tx_timer;
1: + struct hrtimer *active_timer;
1: + struct uart_8250_port *port;
1: };
1:
1: struct uart_8250_dma {
1: - int (*tx_dma)(struct uart_8250_port *);
1: - int (*rx_dma)(struct uart_8250_port *);
1: - dma_filter_fn fn;
1: - void *rx_param;
1: - void *tx_param;
1: - struct dma_slave_config rxconf;
1: - struct dma_slave_config txconf;
1: - struct dma_chan___2 *rxchan;
1: - struct dma_chan___2 *txchan;
1: - phys_addr_t rx_dma_addr;
1: - phys_addr_t tx_dma_addr;
1: - dma_addr_t rx_addr;
1: - dma_addr_t tx_addr;
1: - dma_cookie_t rx_cookie;
1: - dma_cookie_t tx_cookie;
1: - void *rx_buf;
1: - size_t rx_size;
1: - size_t tx_size;
1: - unsigned char tx_running;
1: - unsigned char tx_err;
1: - unsigned char rx_running;
1: + int (*tx_dma)(struct uart_8250_port *);
1: + int (*rx_dma)(struct uart_8250_port *);
1: + dma_filter_fn fn;
1: + void *rx_param;
1: + void *tx_param;
1: + struct dma_slave_config rxconf;
1: + struct dma_slave_config txconf;
1: + struct dma_chan___2 *rxchan;
1: + struct dma_chan___2 *txchan;
1: + phys_addr_t rx_dma_addr;
1: + phys_addr_t tx_dma_addr;
1: + dma_addr_t rx_addr;
1: + dma_addr_t tx_addr;
1: + dma_cookie_t rx_cookie;
1: + dma_cookie_t tx_cookie;
1: + void *rx_buf;
1: + size_t rx_size;
1: + size_t tx_size;
1: + unsigned char tx_running;
1: + unsigned char tx_err;
1: + unsigned char rx_running;
1: };
1:
1: struct old_serial_port {
1: - unsigned int uart;
1: - unsigned int baud_base;
1: - unsigned int port;
1: - unsigned int irq;
1: - upf_t flags;
1: - unsigned char io_type;
1: - unsigned char *iomem_base;
1: - short unsigned int iomem_reg_shift;
1: + unsigned int uart;
1: + unsigned int baud_base;
1: + unsigned int port;
1: + unsigned int irq;
1: + upf_t flags;
1: + unsigned char io_type;
1: + unsigned char *iomem_base;
1: + short unsigned int iomem_reg_shift;
1: };
1:
1: struct irq_info {
1: - struct hlist_node node;
1: - int irq;
1: - spinlock_t lock;
1: - struct list_head *head;
1: + struct hlist_node node;
1: + int irq;
1: + spinlock_t lock;
1: + struct list_head *head;
1: };
1:
1: struct serial8250_config {
1: - const char *name;
1: - short unsigned int fifo_size;
1: - short unsigned int tx_loadsz;
1: - unsigned char fcr;
1: - unsigned char rxtrig_bytes[4];
1: - unsigned int flags;
1: + const char *name;
1: + short unsigned int fifo_size;
1: + short unsigned int tx_loadsz;
1: + unsigned char fcr;
1: + unsigned char rxtrig_bytes[4];
1: + unsigned int flags;
1: };
1:
1: struct dw8250_port_data {
1: - int line;
1: - struct uart_8250_dma dma;
1: - u8 dlf_size;
1: + int line;
1: + struct uart_8250_dma dma;
1: + u8 dlf_size;
1: };
1:
1: struct pciserial_board {
1: - unsigned int flags;
1: - unsigned int num_ports;
1: - unsigned int base_baud;
1: - unsigned int uart_offset;
1: - unsigned int reg_shift;
1: - unsigned int first_offset;
1: + unsigned int flags;
1: + unsigned int num_ports;
1: + unsigned int base_baud;
1: + unsigned int uart_offset;
1: + unsigned int reg_shift;
1: + unsigned int first_offset;
1: };
1:
1: struct serial_private;
1:
1: struct pci_serial_quirk {
1: - u32 vendor;
1: - u32 device;
1: - u32 subvendor;
1: - u32 subdevice;
1: - int (*probe)(struct pci_dev *);
1: - int (*init)(struct pci_dev *);
1: - int (*setup)(struct serial_private *, const struct pciserial_board *, struct uart_8250_port *, int);
1: - void (*exit)(struct pci_dev *);
1: + u32 vendor;
1: + u32 device;
1: + u32 subvendor;
1: + u32 subdevice;
1: + int (*probe)(struct pci_dev *);
1: + int (*init)(struct pci_dev *);
1: + int (*setup)(struct serial_private *, const struct pciserial_board *,
1: + struct uart_8250_port *, int);
1: + void (*exit)(struct pci_dev *);
1: };
1:
1: struct serial_private {
1: - struct pci_dev *dev;
1: - unsigned int nr;
1: - struct pci_serial_quirk *quirk;
1: - const struct pciserial_board *board;
1: - int line[0];
1: + struct pci_dev *dev;
1: + unsigned int nr;
1: + struct pci_serial_quirk *quirk;
1: + const struct pciserial_board *board;
1: + int line[0];
1: };
1:
1: struct f815xxa_data {
1: - spinlock_t lock;
1: - int idx;
1: + spinlock_t lock;
1: + int idx;
1: };
1:
1: struct timedia_struct {
1: - int num;
1: - const short unsigned int *ids;
1: + int num;
1: + const short unsigned int *ids;
1: };
1:
1: struct quatech_feature {
1: - u16 devid;
1: - bool amcc;
1: + u16 devid;
1: + bool amcc;
1: };
1:
1: enum pci_board_num_t {
1: - pbn_default = 0,
1: - pbn_b0_1_115200 = 1,
1: - pbn_b0_2_115200 = 2,
1: - pbn_b0_4_115200 = 3,
1: - pbn_b0_5_115200 = 4,
1: - pbn_b0_8_115200 = 5,
1: - pbn_b0_1_921600 = 6,
1: - pbn_b0_2_921600 = 7,
1: - pbn_b0_4_921600 = 8,
1: - pbn_b0_2_1130000 = 9,
1: - pbn_b0_4_1152000 = 10,
1: - pbn_b0_4_1250000 = 11,
1: - pbn_b0_2_1843200 = 12,
1: - pbn_b0_4_1843200 = 13,
1: - pbn_b0_1_4000000 = 14,
1: - pbn_b0_bt_1_115200 = 15,
1: - pbn_b0_bt_2_115200 = 16,
1: - pbn_b0_bt_4_115200 = 17,
1: - pbn_b0_bt_8_115200 = 18,
1: - pbn_b0_bt_1_460800 = 19,
1: - pbn_b0_bt_2_460800 = 20,
1: - pbn_b0_bt_4_460800 = 21,
1: - pbn_b0_bt_1_921600 = 22,
1: - pbn_b0_bt_2_921600 = 23,
1: - pbn_b0_bt_4_921600 = 24,
1: - pbn_b0_bt_8_921600 = 25,
1: - pbn_b1_1_115200 = 26,
1: - pbn_b1_2_115200 = 27,
1: - pbn_b1_4_115200 = 28,
1: - pbn_b1_8_115200 = 29,
1: - pbn_b1_16_115200 = 30,
1: - pbn_b1_1_921600 = 31,
1: - pbn_b1_2_921600 = 32,
1: - pbn_b1_4_921600 = 33,
1: - pbn_b1_8_921600 = 34,
1: - pbn_b1_2_1250000 = 35,
1: - pbn_b1_bt_1_115200 = 36,
1: - pbn_b1_bt_2_115200 = 37,
1: - pbn_b1_bt_4_115200 = 38,
1: - pbn_b1_bt_2_921600 = 39,
1: - pbn_b1_1_1382400 = 40,
1: - pbn_b1_2_1382400 = 41,
1: - pbn_b1_4_1382400 = 42,
1: - pbn_b1_8_1382400 = 43,
1: - pbn_b2_1_115200 = 44,
1: - pbn_b2_2_115200 = 45,
1: - pbn_b2_4_115200 = 46,
1: - pbn_b2_8_115200 = 47,
1: - pbn_b2_1_460800 = 48,
1: - pbn_b2_4_460800 = 49,
1: - pbn_b2_8_460800 = 50,
1: - pbn_b2_16_460800 = 51,
1: - pbn_b2_1_921600 = 52,
1: - pbn_b2_4_921600 = 53,
1: - pbn_b2_8_921600 = 54,
1: - pbn_b2_8_1152000 = 55,
1: - pbn_b2_bt_1_115200 = 56,
1: - pbn_b2_bt_2_115200 = 57,
1: - pbn_b2_bt_4_115200 = 58,
1: - pbn_b2_bt_2_921600 = 59,
1: - pbn_b2_bt_4_921600 = 60,
1: - pbn_b3_2_115200 = 61,
1: - pbn_b3_4_115200 = 62,
1: - pbn_b3_8_115200 = 63,
1: - pbn_b4_bt_2_921600 = 64,
1: - pbn_b4_bt_4_921600 = 65,
1: - pbn_b4_bt_8_921600 = 66,
1: - pbn_panacom = 67,
1: - pbn_panacom2 = 68,
1: - pbn_panacom4 = 69,
1: - pbn_plx_romulus = 70,
1: - pbn_endrun_2_4000000 = 71,
1: - pbn_oxsemi = 72,
1: - pbn_oxsemi_1_4000000 = 73,
1: - pbn_oxsemi_2_4000000 = 74,
1: - pbn_oxsemi_4_4000000 = 75,
1: - pbn_oxsemi_8_4000000 = 76,
1: - pbn_intel_i960 = 77,
1: - pbn_sgi_ioc3 = 78,
1: - pbn_computone_4 = 79,
1: - pbn_computone_6 = 80,
1: - pbn_computone_8 = 81,
1: - pbn_sbsxrsio = 82,
1: - pbn_pasemi_1682M = 83,
1: - pbn_ni8430_2 = 84,
1: - pbn_ni8430_4 = 85,
1: - pbn_ni8430_8 = 86,
1: - pbn_ni8430_16 = 87,
1: - pbn_ADDIDATA_PCIe_1_3906250 = 88,
1: - pbn_ADDIDATA_PCIe_2_3906250 = 89,
1: - pbn_ADDIDATA_PCIe_4_3906250 = 90,
1: - pbn_ADDIDATA_PCIe_8_3906250 = 91,
1: - pbn_ce4100_1_115200 = 92,
1: - pbn_omegapci = 93,
1: - pbn_NETMOS9900_2s_115200 = 94,
1: - pbn_brcm_trumanage = 95,
1: - pbn_fintek_4 = 96,
1: - pbn_fintek_8 = 97,
1: - pbn_fintek_12 = 98,
1: - pbn_fintek_F81504A = 99,
1: - pbn_fintek_F81508A = 100,
1: - pbn_fintek_F81512A = 101,
1: - pbn_wch382_2 = 102,
1: - pbn_wch384_4 = 103,
1: - pbn_pericom_PI7C9X7951 = 104,
1: - pbn_pericom_PI7C9X7952 = 105,
1: - pbn_pericom_PI7C9X7954 = 106,
1: - pbn_pericom_PI7C9X7958 = 107,
1: - pbn_sunix_pci_1s = 108,
1: - pbn_sunix_pci_2s = 109,
1: - pbn_sunix_pci_4s = 110,
1: - pbn_sunix_pci_8s = 111,
1: - pbn_sunix_pci_16s = 112,
1: - pbn_moxa8250_2p = 113,
1: - pbn_moxa8250_4p = 114,
1: - pbn_moxa8250_8p = 115,
1: + pbn_default = 0,
1: + pbn_b0_1_115200 = 1,
1: + pbn_b0_2_115200 = 2,
1: + pbn_b0_4_115200 = 3,
1: + pbn_b0_5_115200 = 4,
1: + pbn_b0_8_115200 = 5,
1: + pbn_b0_1_921600 = 6,
1: + pbn_b0_2_921600 = 7,
1: + pbn_b0_4_921600 = 8,
1: + pbn_b0_2_1130000 = 9,
1: + pbn_b0_4_1152000 = 10,
1: + pbn_b0_4_1250000 = 11,
1: + pbn_b0_2_1843200 = 12,
1: + pbn_b0_4_1843200 = 13,
1: + pbn_b0_1_4000000 = 14,
1: + pbn_b0_bt_1_115200 = 15,
1: + pbn_b0_bt_2_115200 = 16,
1: + pbn_b0_bt_4_115200 = 17,
1: + pbn_b0_bt_8_115200 = 18,
1: + pbn_b0_bt_1_460800 = 19,
1: + pbn_b0_bt_2_460800 = 20,
1: + pbn_b0_bt_4_460800 = 21,
1: + pbn_b0_bt_1_921600 = 22,
1: + pbn_b0_bt_2_921600 = 23,
1: + pbn_b0_bt_4_921600 = 24,
1: + pbn_b0_bt_8_921600 = 25,
1: + pbn_b1_1_115200 = 26,
1: + pbn_b1_2_115200 = 27,
1: + pbn_b1_4_115200 = 28,
1: + pbn_b1_8_115200 = 29,
1: + pbn_b1_16_115200 = 30,
1: + pbn_b1_1_921600 = 31,
1: + pbn_b1_2_921600 = 32,
1: + pbn_b1_4_921600 = 33,
1: + pbn_b1_8_921600 = 34,
1: + pbn_b1_2_1250000 = 35,
1: + pbn_b1_bt_1_115200 = 36,
1: + pbn_b1_bt_2_115200 = 37,
1: + pbn_b1_bt_4_115200 = 38,
1: + pbn_b1_bt_2_921600 = 39,
1: + pbn_b1_1_1382400 = 40,
1: + pbn_b1_2_1382400 = 41,
1: + pbn_b1_4_1382400 = 42,
1: + pbn_b1_8_1382400 = 43,
1: + pbn_b2_1_115200 = 44,
1: + pbn_b2_2_115200 = 45,
1: + pbn_b2_4_115200 = 46,
1: + pbn_b2_8_115200 = 47,
1: + pbn_b2_1_460800 = 48,
1: + pbn_b2_4_460800 = 49,
1: + pbn_b2_8_460800 = 50,
1: + pbn_b2_16_460800 = 51,
1: + pbn_b2_1_921600 = 52,
1: + pbn_b2_4_921600 = 53,
1: + pbn_b2_8_921600 = 54,
1: + pbn_b2_8_1152000 = 55,
1: + pbn_b2_bt_1_115200 = 56,
1: + pbn_b2_bt_2_115200 = 57,
1: + pbn_b2_bt_4_115200 = 58,
1: + pbn_b2_bt_2_921600 = 59,
1: + pbn_b2_bt_4_921600 = 60,
1: + pbn_b3_2_115200 = 61,
1: + pbn_b3_4_115200 = 62,
1: + pbn_b3_8_115200 = 63,
1: + pbn_b4_bt_2_921600 = 64,
1: + pbn_b4_bt_4_921600 = 65,
1: + pbn_b4_bt_8_921600 = 66,
1: + pbn_panacom = 67,
1: + pbn_panacom2 = 68,
1: + pbn_panacom4 = 69,
1: + pbn_plx_romulus = 70,
1: + pbn_endrun_2_4000000 = 71,
1: + pbn_oxsemi = 72,
1: + pbn_oxsemi_1_4000000 = 73,
1: + pbn_oxsemi_2_4000000 = 74,
1: + pbn_oxsemi_4_4000000 = 75,
1: + pbn_oxsemi_8_4000000 = 76,
1: + pbn_intel_i960 = 77,
1: + pbn_sgi_ioc3 = 78,
1: + pbn_computone_4 = 79,
1: + pbn_computone_6 = 80,
1: + pbn_computone_8 = 81,
1: + pbn_sbsxrsio = 82,
1: + pbn_pasemi_1682M = 83,
1: + pbn_ni8430_2 = 84,
1: + pbn_ni8430_4 = 85,
1: + pbn_ni8430_8 = 86,
1: + pbn_ni8430_16 = 87,
1: + pbn_ADDIDATA_PCIe_1_3906250 = 88,
1: + pbn_ADDIDATA_PCIe_2_3906250 = 89,
1: + pbn_ADDIDATA_PCIe_4_3906250 = 90,
1: + pbn_ADDIDATA_PCIe_8_3906250 = 91,
1: + pbn_ce4100_1_115200 = 92,
1: + pbn_omegapci = 93,
1: + pbn_NETMOS9900_2s_115200 = 94,
1: + pbn_brcm_trumanage = 95,
1: + pbn_fintek_4 = 96,
1: + pbn_fintek_8 = 97,
1: + pbn_fintek_12 = 98,
1: + pbn_fintek_F81504A = 99,
1: + pbn_fintek_F81508A = 100,
1: + pbn_fintek_F81512A = 101,
1: + pbn_wch382_2 = 102,
1: + pbn_wch384_4 = 103,
1: + pbn_pericom_PI7C9X7951 = 104,
1: + pbn_pericom_PI7C9X7952 = 105,
1: + pbn_pericom_PI7C9X7954 = 106,
1: + pbn_pericom_PI7C9X7958 = 107,
1: + pbn_sunix_pci_1s = 108,
1: + pbn_sunix_pci_2s = 109,
1: + pbn_sunix_pci_4s = 110,
1: + pbn_sunix_pci_8s = 111,
1: + pbn_sunix_pci_16s = 112,
1: + pbn_moxa8250_2p = 113,
1: + pbn_moxa8250_4p = 114,
1: + pbn_moxa8250_8p = 115,
1: };
1:
1: struct acpi_gpio_params {
1: - unsigned int crs_entry_index;
1: - unsigned int line_index;
1: - bool active_low;
1: + unsigned int crs_entry_index;
1: + unsigned int line_index;
1: + bool active_low;
1: };
1:
1: struct exar8250_platform {
1: - int (*rs485_config)(struct uart_port *, struct serial_rs485 *);
1: - int (*register_gpio)(struct pci_dev *, struct uart_8250_port *);
1: + int (*rs485_config)(struct uart_port *, struct serial_rs485 *);
1: + int (*register_gpio)(struct pci_dev *, struct uart_8250_port *);
1: };
1:
1: struct exar8250;
1:
1: struct exar8250_board {
1: - unsigned int num_ports;
1: - unsigned int reg_shift;
1: - int (*setup)(struct exar8250 *, struct pci_dev *, struct uart_8250_port *, int);
1: - void (*exit)(struct pci_dev *);
1: + unsigned int num_ports;
1: + unsigned int reg_shift;
1: + int (*setup)(struct exar8250 *, struct pci_dev *, struct uart_8250_port *,
1: + int);
1: + void (*exit)(struct pci_dev *);
1: };
1:
1: struct exar8250 {
1: - unsigned int nr;
1: - struct exar8250_board *board;
1: - void *virt;
1: - int line[0];
1: + unsigned int nr;
1: + struct exar8250_board *board;
1: + void *virt;
1: + int line[0];
1: };
1:
1: struct lpss8250;
1:
1: struct lpss8250_board {
1: - long unsigned int freq;
1: - unsigned int base_baud;
1: - int (*setup)(struct lpss8250 *, struct uart_port *);
1: - void (*exit)(struct lpss8250 *);
1: + long unsigned int freq;
1: + unsigned int base_baud;
1: + int (*setup)(struct lpss8250 *, struct uart_port *);
1: + void (*exit)(struct lpss8250 *);
1: };
1:
1: struct lpss8250 {
1: - struct dw8250_port_data data;
1: - struct lpss8250_board *board;
1: - struct dw_dma_chip dma_chip;
1: - struct dw_dma_slave dma_param;
1: - u8 dma_maxburst;
1: + struct dw8250_port_data data;
1: + struct lpss8250_board *board;
1: + struct dw_dma_chip dma_chip;
1: + struct dw_dma_slave dma_param;
1: + u8 dma_maxburst;
1: };
1:
1: struct hsu_dma_slave {
1: - struct device *dma_dev;
1: - int chan_id;
1: + struct device *dma_dev;
1: + int chan_id;
1: };
1:
1: struct mid8250;
1:
1: struct mid8250_board {
1: - unsigned int flags;
1: - long unsigned int freq;
1: - unsigned int base_baud;
1: - int (*setup)(struct mid8250 *, struct uart_port *);
1: - void (*exit)(struct mid8250 *);
1: + unsigned int flags;
1: + long unsigned int freq;
1: + unsigned int base_baud;
1: + int (*setup)(struct mid8250 *, struct uart_port *);
1: + void (*exit)(struct mid8250 *);
1: };
1:
1: struct mid8250 {
1: - int line;
1: - int dma_index;
1: - struct pci_dev *dma_dev;
1: - struct uart_8250_dma dma;
1: - struct mid8250_board *board;
1: - struct hsu_dma_chip dma_chip;
1: + int line;
1: + int dma_index;
1: + struct pci_dev *dma_dev;
1: + struct uart_8250_dma dma;
1: + struct mid8250_board *board;
1: + struct hsu_dma_chip dma_chip;
1: };
1:
1: -typedef int splice_actor___2(struct pipe_inode_info *, struct pipe_buffer *, struct splice_desc *);
1: +typedef int splice_actor___2(struct pipe_inode_info *, struct pipe_buffer *,
1: + struct splice_desc *);
1:
1: struct memdev {
1: - const char *name;
1: - umode_t mode;
1: - const struct file_operations *fops;
1: - fmode_t fmode;
1: + const char *name;
1: + umode_t mode;
1: + const struct file_operations *fops;
1: + fmode_t fmode;
1: };
1:
1: struct timer_rand_state {
1: - cycles_t last_time;
1: - long int last_delta;
1: - long int last_delta2;
1: + cycles_t last_time;
1: + long int last_delta;
1: + long int last_delta2;
1: };
1:
1: struct trace_event_raw_add_device_randomness {
1: - struct trace_entry ent;
1: - int bytes;
1: - long unsigned int IP;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int bytes;
1: + long unsigned int IP;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_random__mix_pool_bytes {
1: - struct trace_entry ent;
1: - const char *pool_name;
1: - int bytes;
1: - long unsigned int IP;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int bytes;
1: + long unsigned int IP;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_credit_entropy_bits {
1: - struct trace_entry ent;
1: - const char *pool_name;
1: - int bits;
1: - int entropy_count;
1: - long unsigned int IP;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int bits;
1: + int entropy_count;
1: + long unsigned int IP;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_push_to_pool {
1: - struct trace_entry ent;
1: - const char *pool_name;
1: - int pool_bits;
1: - int input_bits;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int pool_bits;
1: + int input_bits;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_debit_entropy {
1: - struct trace_entry ent;
1: - const char *pool_name;
1: - int debit_bits;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int debit_bits;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_add_input_randomness {
1: - struct trace_entry ent;
1: - int input_bits;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int input_bits;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_add_disk_randomness {
1: - struct trace_entry ent;
1: - dev_t dev;
1: - int input_bits;
1: - char __data[0];
1: + struct trace_entry ent;
1: + dev_t dev;
1: + int input_bits;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xfer_secondary_pool {
1: - struct trace_entry ent;
1: - const char *pool_name;
1: - int xfer_bits;
1: - int request_bits;
1: - int pool_entropy;
1: - int input_entropy;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int xfer_bits;
1: + int request_bits;
1: + int pool_entropy;
1: + int input_entropy;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_random__get_random_bytes {
1: - struct trace_entry ent;
1: - int nbytes;
1: - long unsigned int IP;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int nbytes;
1: + long unsigned int IP;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_random__extract_entropy {
1: - struct trace_entry ent;
1: - const char *pool_name;
1: - int nbytes;
1: - int entropy_count;
1: - long unsigned int IP;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const char *pool_name;
1: + int nbytes;
1: + int entropy_count;
1: + long unsigned int IP;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_random_read {
1: - struct trace_entry ent;
1: - int got_bits;
1: - int need_bits;
1: - int pool_left;
1: - int input_left;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int got_bits;
1: + int need_bits;
1: + int pool_left;
1: + int input_left;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_urandom_read {
1: - struct trace_entry ent;
1: - int got_bits;
1: - int pool_left;
1: - int input_left;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int got_bits;
1: + int pool_left;
1: + int input_left;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_add_device_randomness {};
1: @@ -64646,545 +65128,545 @@ struct trace_event_data_offsets_random_read {};
1: struct trace_event_data_offsets_urandom_read {};
1:
1: struct poolinfo {
1: - int poolbitshift;
1: - int poolwords;
1: - int poolbytes;
1: - int poolfracbits;
1: - int tap1;
1: - int tap2;
1: - int tap3;
1: - int tap4;
1: - int tap5;
1: + int poolbitshift;
1: + int poolwords;
1: + int poolbytes;
1: + int poolfracbits;
1: + int tap1;
1: + int tap2;
1: + int tap3;
1: + int tap4;
1: + int tap5;
1: };
1:
1: struct crng_state {
1: - __u32 state[16];
1: - long unsigned int init_time;
1: - spinlock_t lock;
1: + __u32 state[16];
1: + long unsigned int init_time;
1: + spinlock_t lock;
1: };
1:
1: struct entropy_store {
1: - const struct poolinfo *poolinfo;
1: - __u32 *pool;
1: - const char *name;
1: - struct entropy_store *pull;
1: - struct work_struct push_work;
1: - long unsigned int last_pulled;
1: - spinlock_t lock;
1: - short unsigned int add_ptr;
1: - short unsigned int input_rotate;
1: - int entropy_count;
1: - unsigned int initialized: 1;
1: - unsigned int last_data_init: 1;
1: - __u8 last_data[10];
1: + const struct poolinfo *poolinfo;
1: + __u32 *pool;
1: + const char *name;
1: + struct entropy_store *pull;
1: + struct work_struct push_work;
1: + long unsigned int last_pulled;
1: + spinlock_t lock;
1: + short unsigned int add_ptr;
1: + short unsigned int input_rotate;
1: + int entropy_count;
1: + unsigned int initialized : 1;
1: + unsigned int last_data_init : 1;
1: + __u8 last_data[10];
1: };
1:
1: struct fast_pool {
1: - __u32 pool[4];
1: - long unsigned int last;
1: - short unsigned int reg_idx;
1: - unsigned char count;
1: + __u32 pool[4];
1: + long unsigned int last;
1: + short unsigned int reg_idx;
1: + unsigned char count;
1: };
1:
1: struct batched_entropy {
1: - union {
1: - u64 entropy_u64[8];
1: - u32 entropy_u32[16];
1: - };
1: - unsigned int position;
1: - spinlock_t batch_lock;
1: + union {
1: + u64 entropy_u64[8];
1: + u32 entropy_u32[16];
1: + };
1: + unsigned int position;
1: + spinlock_t batch_lock;
1: };
1:
1: struct hpet_info {
1: - long unsigned int hi_ireqfreq;
1: - long unsigned int hi_flags;
1: - short unsigned int hi_hpet;
1: - short unsigned int hi_timer;
1: + long unsigned int hi_ireqfreq;
1: + long unsigned int hi_flags;
1: + short unsigned int hi_hpet;
1: + short unsigned int hi_timer;
1: };
1:
1: struct hpet_timer {
1: - u64 hpet_config;
1: - union {
1: - u64 _hpet_hc64;
1: - u32 _hpet_hc32;
1: - long unsigned int _hpet_compare;
1: - } _u1;
1: - u64 hpet_fsb[2];
1: + u64 hpet_config;
1: + union {
1: + u64 _hpet_hc64;
1: + u32 _hpet_hc32;
1: + long unsigned int _hpet_compare;
1: + } _u1;
1: + u64 hpet_fsb[2];
1: };
1:
1: struct hpet {
1: - u64 hpet_cap;
1: - u64 res0;
1: - u64 hpet_config;
1: - u64 res1;
1: - u64 hpet_isr;
1: - u64 res2[25];
1: - union {
1: - u64 _hpet_mc64;
1: - u32 _hpet_mc32;
1: - long unsigned int _hpet_mc;
1: - } _u0;
1: - u64 res3;
1: - struct hpet_timer hpet_timers[1];
1: + u64 hpet_cap;
1: + u64 res0;
1: + u64 hpet_config;
1: + u64 res1;
1: + u64 hpet_isr;
1: + u64 res2[25];
1: + union {
1: + u64 _hpet_mc64;
1: + u32 _hpet_mc32;
1: + long unsigned int _hpet_mc;
1: + } _u0;
1: + u64 res3;
1: + struct hpet_timer hpet_timers[1];
1: };
1:
1: struct hpets;
1:
1: struct hpet_dev {
1: - struct hpets *hd_hpets;
1: - struct hpet *hd_hpet;
1: - struct hpet_timer *hd_timer;
1: - long unsigned int hd_ireqfreq;
1: - long unsigned int hd_irqdata;
1: - wait_queue_head_t hd_waitqueue;
1: - struct fasync_struct *hd_async_queue;
1: - unsigned int hd_flags;
1: - unsigned int hd_irq;
1: - unsigned int hd_hdwirq;
1: - char hd_name[7];
1: + struct hpets *hd_hpets;
1: + struct hpet *hd_hpet;
1: + struct hpet_timer *hd_timer;
1: + long unsigned int hd_ireqfreq;
1: + long unsigned int hd_irqdata;
1: + wait_queue_head_t hd_waitqueue;
1: + struct fasync_struct *hd_async_queue;
1: + unsigned int hd_flags;
1: + unsigned int hd_irq;
1: + unsigned int hd_hdwirq;
1: + char hd_name[7];
1: };
1:
1: struct hpets {
1: - struct hpets *hp_next;
1: - struct hpet *hp_hpet;
1: - long unsigned int hp_hpet_phys;
1: - struct clocksource *hp_clocksource;
1: - long long unsigned int hp_tick_freq;
1: - long unsigned int hp_delta;
1: - unsigned int hp_ntimer;
1: - unsigned int hp_which;
1: - struct hpet_dev hp_dev[1];
1: + struct hpets *hp_next;
1: + struct hpet *hp_hpet;
1: + long unsigned int hp_hpet_phys;
1: + struct clocksource *hp_clocksource;
1: + long long unsigned int hp_tick_freq;
1: + long unsigned int hp_delta;
1: + unsigned int hp_ntimer;
1: + unsigned int hp_which;
1: + struct hpet_dev hp_dev[1];
1: };
1:
1: struct compat_hpet_info {
1: - compat_ulong_t hi_ireqfreq;
1: - compat_ulong_t hi_flags;
1: - short unsigned int hi_hpet;
1: - short unsigned int hi_timer;
1: + compat_ulong_t hi_ireqfreq;
1: + compat_ulong_t hi_flags;
1: + short unsigned int hi_hpet;
1: + short unsigned int hi_timer;
1: };
1:
1: struct nvram_ops {
1: - ssize_t (*get_size)();
1: - unsigned char (*read_byte)(int);
1: - void (*write_byte)(unsigned char, int);
1: - ssize_t (*read)(char *, size_t, loff_t *);
1: - ssize_t (*write)(char *, size_t, loff_t *);
1: - long int (*initialize)();
1: - long int (*set_checksum)();
1: + ssize_t (*get_size)();
1: + unsigned char (*read_byte)(int);
1: + void (*write_byte)(unsigned char, int);
1: + ssize_t (*read)(char *, size_t, loff_t *);
1: + ssize_t (*write)(char *, size_t, loff_t *);
1: + long int (*initialize)();
1: + long int (*set_checksum)();
1: };
1:
1: struct hwrng {
1: - const char *name;
1: - int (*init)(struct hwrng *);
1: - void (*cleanup)(struct hwrng *);
1: - int (*data_present)(struct hwrng *, int);
1: - int (*data_read)(struct hwrng *, u32 *);
1: - int (*read)(struct hwrng *, void *, size_t, bool);
1: - long unsigned int priv;
1: - short unsigned int quality;
1: - struct list_head list;
1: - struct kref ref;
1: - struct completion cleanup_done;
1: -};
1: -
1: -enum {
1: - VIA_STRFILT_CNT_SHIFT = 16,
1: - VIA_STRFILT_FAIL = 32768,
1: - VIA_STRFILT_ENABLE = 16384,
1: - VIA_RAWBITS_ENABLE = 8192,
1: - VIA_RNG_ENABLE = 64,
1: - VIA_NOISESRC1 = 256,
1: - VIA_NOISESRC2 = 512,
1: - VIA_XSTORE_CNT_MASK = 15,
1: - VIA_RNG_CHUNK_8 = 0,
1: - VIA_RNG_CHUNK_4 = 1,
1: - VIA_RNG_CHUNK_4_MASK = -1,
1: - VIA_RNG_CHUNK_2 = 2,
1: - VIA_RNG_CHUNK_2_MASK = 65535,
1: - VIA_RNG_CHUNK_1 = 3,
1: - VIA_RNG_CHUNK_1_MASK = 255,
1: + const char *name;
1: + int (*init)(struct hwrng *);
1: + void (*cleanup)(struct hwrng *);
1: + int (*data_present)(struct hwrng *, int);
1: + int (*data_read)(struct hwrng *, u32 *);
1: + int (*read)(struct hwrng *, void *, size_t, bool);
1: + long unsigned int priv;
1: + short unsigned int quality;
1: + struct list_head list;
1: + struct kref ref;
1: + struct completion cleanup_done;
1: +};
1: +
1: +enum {
1: + VIA_STRFILT_CNT_SHIFT = 16,
1: + VIA_STRFILT_FAIL = 32768,
1: + VIA_STRFILT_ENABLE = 16384,
1: + VIA_RAWBITS_ENABLE = 8192,
1: + VIA_RNG_ENABLE = 64,
1: + VIA_NOISESRC1 = 256,
1: + VIA_NOISESRC2 = 512,
1: + VIA_XSTORE_CNT_MASK = 15,
1: + VIA_RNG_CHUNK_8 = 0,
1: + VIA_RNG_CHUNK_4 = 1,
1: + VIA_RNG_CHUNK_4_MASK = -1,
1: + VIA_RNG_CHUNK_2 = 2,
1: + VIA_RNG_CHUNK_2_MASK = 65535,
1: + VIA_RNG_CHUNK_1 = 3,
1: + VIA_RNG_CHUNK_1_MASK = 255,
1: };
1:
1: enum chipset_type {
1: - NOT_SUPPORTED = 0,
1: - SUPPORTED = 1,
1: + NOT_SUPPORTED = 0,
1: + SUPPORTED = 1,
1: };
1:
1: struct agp_version {
1: - u16 major;
1: - u16 minor;
1: + u16 major;
1: + u16 minor;
1: };
1:
1: struct agp_bridge_data;
1:
1: struct agp_memory {
1: - struct agp_memory *next;
1: - struct agp_memory *prev;
1: - struct agp_bridge_data *bridge;
1: - struct page **pages;
1: - size_t page_count;
1: - int key;
1: - int num_scratch_pages;
1: - off_t pg_start;
1: - u32 type;
1: - u32 physical;
1: - bool is_bound;
1: - bool is_flushed;
1: - struct list_head mapped_list;
1: - struct scatterlist *sg_list;
1: - int num_sg;
1: + struct agp_memory *next;
1: + struct agp_memory *prev;
1: + struct agp_bridge_data *bridge;
1: + struct page **pages;
1: + size_t page_count;
1: + int key;
1: + int num_scratch_pages;
1: + off_t pg_start;
1: + u32 type;
1: + u32 physical;
1: + bool is_bound;
1: + bool is_flushed;
1: + struct list_head mapped_list;
1: + struct scatterlist *sg_list;
1: + int num_sg;
1: };
1:
1: struct agp_bridge_driver;
1:
1: struct agp_bridge_data {
1: - const struct agp_version *version;
1: - const struct agp_bridge_driver *driver;
1: - const struct vm_operations_struct *vm_ops;
1: - void *previous_size;
1: - void *current_size;
1: - void *dev_private_data;
1: - struct pci_dev *dev;
1: - u32 *gatt_table;
1: - u32 *gatt_table_real;
1: - long unsigned int scratch_page;
1: - struct page *scratch_page_page;
1: - dma_addr_t scratch_page_dma;
1: - long unsigned int gart_bus_addr;
1: - long unsigned int gatt_bus_addr;
1: - u32 mode;
1: - enum chipset_type type;
1: - long unsigned int *key_list;
1: - atomic_t current_memory_agp;
1: - atomic_t agp_in_use;
1: - int max_memory_agp;
1: - int aperture_size_idx;
1: - int capndx;
1: - int flags;
1: - char major_version;
1: - char minor_version;
1: - struct list_head list;
1: - u32 apbase_config;
1: - struct list_head mapped_list;
1: - spinlock_t mapped_lock;
1: + const struct agp_version *version;
1: + const struct agp_bridge_driver *driver;
1: + const struct vm_operations_struct *vm_ops;
1: + void *previous_size;
1: + void *current_size;
1: + void *dev_private_data;
1: + struct pci_dev *dev;
1: + u32 *gatt_table;
1: + u32 *gatt_table_real;
1: + long unsigned int scratch_page;
1: + struct page *scratch_page_page;
1: + dma_addr_t scratch_page_dma;
1: + long unsigned int gart_bus_addr;
1: + long unsigned int gatt_bus_addr;
1: + u32 mode;
1: + enum chipset_type type;
1: + long unsigned int *key_list;
1: + atomic_t current_memory_agp;
1: + atomic_t agp_in_use;
1: + int max_memory_agp;
1: + int aperture_size_idx;
1: + int capndx;
1: + int flags;
1: + char major_version;
1: + char minor_version;
1: + struct list_head list;
1: + u32 apbase_config;
1: + struct list_head mapped_list;
1: + spinlock_t mapped_lock;
1: };
1:
1: enum aper_size_type {
1: - U8_APER_SIZE = 0,
1: - U16_APER_SIZE = 1,
1: - U32_APER_SIZE = 2,
1: - LVL2_APER_SIZE = 3,
1: - FIXED_APER_SIZE = 4,
1: + U8_APER_SIZE = 0,
1: + U16_APER_SIZE = 1,
1: + U32_APER_SIZE = 2,
1: + LVL2_APER_SIZE = 3,
1: + FIXED_APER_SIZE = 4,
1: };
1:
1: struct gatt_mask {
1: - long unsigned int mask;
1: - u32 type;
1: + long unsigned int mask;
1: + u32 type;
1: };
1:
1: struct agp_bridge_driver {
1: - struct module *owner;
1: - const void *aperture_sizes;
1: - int num_aperture_sizes;
1: - enum aper_size_type size_type;
1: - bool cant_use_aperture;
1: - bool needs_scratch_page;
1: - const struct gatt_mask *masks;
1: - int (*fetch_size)();
1: - int (*configure)();
1: - void (*agp_enable)(struct agp_bridge_data *, u32);
1: - void (*cleanup)();
1: - void (*tlb_flush)(struct agp_memory *);
1: - long unsigned int (*mask_memory)(struct agp_bridge_data *, dma_addr_t, int);
1: - void (*cache_flush)();
1: - int (*create_gatt_table)(struct agp_bridge_data *);
1: - int (*free_gatt_table)(struct agp_bridge_data *);
1: - int (*insert_memory)(struct agp_memory *, off_t, int);
1: - int (*remove_memory)(struct agp_memory *, off_t, int);
1: - struct agp_memory * (*alloc_by_type)(size_t, int);
1: - void (*free_by_type)(struct agp_memory *);
1: - struct page * (*agp_alloc_page)(struct agp_bridge_data *);
1: - int (*agp_alloc_pages)(struct agp_bridge_data *, struct agp_memory *, size_t);
1: - void (*agp_destroy_page)(struct page *, int);
1: - void (*agp_destroy_pages)(struct agp_memory *);
1: - int (*agp_type_to_mask_type)(struct agp_bridge_data *, int);
1: + struct module *owner;
1: + const void *aperture_sizes;
1: + int num_aperture_sizes;
1: + enum aper_size_type size_type;
1: + bool cant_use_aperture;
1: + bool needs_scratch_page;
1: + const struct gatt_mask *masks;
1: + int (*fetch_size)();
1: + int (*configure)();
1: + void (*agp_enable)(struct agp_bridge_data *, u32);
1: + void (*cleanup)();
1: + void (*tlb_flush)(struct agp_memory *);
1: + long unsigned int (*mask_memory)(struct agp_bridge_data *, dma_addr_t, int);
1: + void (*cache_flush)();
1: + int (*create_gatt_table)(struct agp_bridge_data *);
1: + int (*free_gatt_table)(struct agp_bridge_data *);
1: + int (*insert_memory)(struct agp_memory *, off_t, int);
1: + int (*remove_memory)(struct agp_memory *, off_t, int);
1: + struct agp_memory *(*alloc_by_type)(size_t, int);
1: + void (*free_by_type)(struct agp_memory *);
1: + struct page *(*agp_alloc_page)(struct agp_bridge_data *);
1: + int (*agp_alloc_pages)(struct agp_bridge_data *, struct agp_memory *, size_t);
1: + void (*agp_destroy_page)(struct page *, int);
1: + void (*agp_destroy_pages)(struct agp_memory *);
1: + int (*agp_type_to_mask_type)(struct agp_bridge_data *, int);
1: };
1:
1: struct agp_kern_info {
1: - struct agp_version version;
1: - struct pci_dev *device;
1: - enum chipset_type chipset;
1: - long unsigned int mode;
1: - long unsigned int aper_base;
1: - size_t aper_size;
1: - int max_memory;
1: - int current_memory;
1: - bool cant_use_aperture;
1: - long unsigned int page_mask;
1: - const struct vm_operations_struct *vm_ops;
1: + struct agp_version version;
1: + struct pci_dev *device;
1: + enum chipset_type chipset;
1: + long unsigned int mode;
1: + long unsigned int aper_base;
1: + size_t aper_size;
1: + int max_memory;
1: + int current_memory;
1: + bool cant_use_aperture;
1: + long unsigned int page_mask;
1: + const struct vm_operations_struct *vm_ops;
1: };
1:
1: struct agp_info {
1: - struct agp_version version;
1: - u32 bridge_id;
1: - u32 agp_mode;
1: - long unsigned int aper_base;
1: - size_t aper_size;
1: - size_t pg_total;
1: - size_t pg_system;
1: - size_t pg_used;
1: + struct agp_version version;
1: + u32 bridge_id;
1: + u32 agp_mode;
1: + long unsigned int aper_base;
1: + size_t aper_size;
1: + size_t pg_total;
1: + size_t pg_system;
1: + size_t pg_used;
1: };
1:
1: struct agp_setup {
1: - u32 agp_mode;
1: + u32 agp_mode;
1: };
1:
1: struct agp_segment {
1: - off_t pg_start;
1: - size_t pg_count;
1: - int prot;
1: + off_t pg_start;
1: + size_t pg_count;
1: + int prot;
1: };
1:
1: struct agp_segment_priv {
1: - off_t pg_start;
1: - size_t pg_count;
1: - pgprot_t prot;
1: + off_t pg_start;
1: + size_t pg_count;
1: + pgprot_t prot;
1: };
1:
1: struct agp_region {
1: - pid_t pid;
1: - size_t seg_count;
1: - struct agp_segment *seg_list;
1: + pid_t pid;
1: + size_t seg_count;
1: + struct agp_segment *seg_list;
1: };
1:
1: struct agp_allocate {
1: - int key;
1: - size_t pg_count;
1: - u32 type;
1: - u32 physical;
1: + int key;
1: + size_t pg_count;
1: + u32 type;
1: + u32 physical;
1: };
1:
1: struct agp_bind {
1: - int key;
1: - off_t pg_start;
1: + int key;
1: + off_t pg_start;
1: };
1:
1: struct agp_unbind {
1: - int key;
1: - u32 priority;
1: + int key;
1: + u32 priority;
1: };
1:
1: struct agp_client {
1: - struct agp_client *next;
1: - struct agp_client *prev;
1: - pid_t pid;
1: - int num_segments;
1: - struct agp_segment_priv **segments;
1: + struct agp_client *next;
1: + struct agp_client *prev;
1: + pid_t pid;
1: + int num_segments;
1: + struct agp_segment_priv **segments;
1: };
1:
1: struct agp_controller {
1: - struct agp_controller *next;
1: - struct agp_controller *prev;
1: - pid_t pid;
1: - int num_clients;
1: - struct agp_memory *pool;
1: - struct agp_client *clients;
1: + struct agp_controller *next;
1: + struct agp_controller *prev;
1: + pid_t pid;
1: + int num_clients;
1: + struct agp_memory *pool;
1: + struct agp_client *clients;
1: };
1:
1: struct agp_file_private {
1: - struct agp_file_private *next;
1: - struct agp_file_private *prev;
1: - pid_t my_pid;
1: - long unsigned int access_flags;
1: + struct agp_file_private *next;
1: + struct agp_file_private *prev;
1: + pid_t my_pid;
1: + long unsigned int access_flags;
1: };
1:
1: struct agp_front_data {
1: - struct mutex agp_mutex;
1: - struct agp_controller *current_controller;
1: - struct agp_controller *controllers;
1: - struct agp_file_private *file_priv_list;
1: - bool used_by_controller;
1: - bool backend_acquired;
1: + struct mutex agp_mutex;
1: + struct agp_controller *current_controller;
1: + struct agp_controller *controllers;
1: + struct agp_file_private *file_priv_list;
1: + bool used_by_controller;
1: + bool backend_acquired;
1: };
1:
1: struct aper_size_info_8 {
1: - int size;
1: - int num_entries;
1: - int page_order;
1: - u8 size_value;
1: + int size;
1: + int num_entries;
1: + int page_order;
1: + u8 size_value;
1: };
1:
1: struct aper_size_info_16 {
1: - int size;
1: - int num_entries;
1: - int page_order;
1: - u16 size_value;
1: + int size;
1: + int num_entries;
1: + int page_order;
1: + u16 size_value;
1: };
1:
1: struct aper_size_info_32 {
1: - int size;
1: - int num_entries;
1: - int page_order;
1: - u32 size_value;
1: + int size;
1: + int num_entries;
1: + int page_order;
1: + u32 size_value;
1: };
1:
1: struct aper_size_info_lvl2 {
1: - int size;
1: - int num_entries;
1: - u32 size_value;
1: + int size;
1: + int num_entries;
1: + u32 size_value;
1: };
1:
1: struct aper_size_info_fixed {
1: - int size;
1: - int num_entries;
1: - int page_order;
1: + int size;
1: + int num_entries;
1: + int page_order;
1: };
1:
1: struct agp_3_5_dev {
1: - struct list_head list;
1: - u8 capndx;
1: - u32 maxbw;
1: - struct pci_dev *dev;
1: + struct list_head list;
1: + u8 capndx;
1: + u32 maxbw;
1: + struct pci_dev *dev;
1: };
1:
1: struct isoch_data {
1: - u32 maxbw;
1: - u32 n;
1: - u32 y;
1: - u32 l;
1: - u32 rq;
1: - struct agp_3_5_dev *dev;
1: + u32 maxbw;
1: + u32 n;
1: + u32 y;
1: + u32 l;
1: + u32 rq;
1: + struct agp_3_5_dev *dev;
1: };
1:
1: struct agp_info32 {
1: - struct agp_version version;
1: - u32 bridge_id;
1: - u32 agp_mode;
1: - compat_long_t aper_base;
1: - compat_size_t aper_size;
1: - compat_size_t pg_total;
1: - compat_size_t pg_system;
1: - compat_size_t pg_used;
1: + struct agp_version version;
1: + u32 bridge_id;
1: + u32 agp_mode;
1: + compat_long_t aper_base;
1: + compat_size_t aper_size;
1: + compat_size_t pg_total;
1: + compat_size_t pg_system;
1: + compat_size_t pg_used;
1: };
1:
1: struct agp_segment32 {
1: - compat_off_t pg_start;
1: - compat_size_t pg_count;
1: - compat_int_t prot;
1: + compat_off_t pg_start;
1: + compat_size_t pg_count;
1: + compat_int_t prot;
1: };
1:
1: struct agp_region32 {
1: - compat_pid_t pid;
1: - compat_size_t seg_count;
1: - struct agp_segment32 *seg_list;
1: + compat_pid_t pid;
1: + compat_size_t seg_count;
1: + struct agp_segment32 *seg_list;
1: };
1:
1: struct agp_allocate32 {
1: - compat_int_t key;
1: - compat_size_t pg_count;
1: - u32 type;
1: - u32 physical;
1: + compat_int_t key;
1: + compat_size_t pg_count;
1: + u32 type;
1: + u32 physical;
1: };
1:
1: struct agp_bind32 {
1: - compat_int_t key;
1: - compat_off_t pg_start;
1: + compat_int_t key;
1: + compat_off_t pg_start;
1: };
1:
1: struct agp_unbind32 {
1: - compat_int_t key;
1: - u32 priority;
1: + compat_int_t key;
1: + u32 priority;
1: };
1:
1: struct intel_agp_driver_description {
1: - unsigned int chip_id;
1: - char *name;
1: - const struct agp_bridge_driver *driver;
1: + unsigned int chip_id;
1: + char *name;
1: + const struct agp_bridge_driver *driver;
1: };
1:
1: struct intel_gtt_driver {
1: - unsigned int gen: 8;
1: - unsigned int is_g33: 1;
1: - unsigned int is_pineview: 1;
1: - unsigned int is_ironlake: 1;
1: - unsigned int has_pgtbl_enable: 1;
1: - unsigned int dma_mask_size: 8;
1: - int (*setup)();
1: - void (*cleanup)();
1: - void (*write_entry)(dma_addr_t, unsigned int, unsigned int);
1: - bool (*check_flags)(unsigned int);
1: - void (*chipset_flush)();
1: + unsigned int gen : 8;
1: + unsigned int is_g33 : 1;
1: + unsigned int is_pineview : 1;
1: + unsigned int is_ironlake : 1;
1: + unsigned int has_pgtbl_enable : 1;
1: + unsigned int dma_mask_size : 8;
1: + int (*setup)();
1: + void (*cleanup)();
1: + void (*write_entry)(dma_addr_t, unsigned int, unsigned int);
1: + bool (*check_flags)(unsigned int);
1: + void (*chipset_flush)();
1: };
1:
1: struct _intel_private {
1: - const struct intel_gtt_driver *driver;
1: - struct pci_dev *pcidev;
1: - struct pci_dev *bridge_dev;
1: - u8 *registers;
1: - phys_addr_t gtt_phys_addr;
1: - u32 PGETBL_save;
1: - u32 *gtt;
1: - bool clear_fake_agp;
1: - int num_dcache_entries;
1: - void *i9xx_flush_page;
1: - char *i81x_gtt_table;
1: - struct resource ifp_resource;
1: - int resource_valid;
1: - struct page *scratch_page;
1: - phys_addr_t scratch_page_dma;
1: - int refcount;
1: - unsigned int needs_dmar: 1;
1: - phys_addr_t gma_bus_addr;
1: - resource_size_t stolen_size;
1: - unsigned int gtt_total_entries;
1: - unsigned int gtt_mappable_entries;
1: + const struct intel_gtt_driver *driver;
1: + struct pci_dev *pcidev;
1: + struct pci_dev *bridge_dev;
1: + u8 *registers;
1: + phys_addr_t gtt_phys_addr;
1: + u32 PGETBL_save;
1: + u32 *gtt;
1: + bool clear_fake_agp;
1: + int num_dcache_entries;
1: + void *i9xx_flush_page;
1: + char *i81x_gtt_table;
1: + struct resource ifp_resource;
1: + int resource_valid;
1: + struct page *scratch_page;
1: + phys_addr_t scratch_page_dma;
1: + int refcount;
1: + unsigned int needs_dmar : 1;
1: + phys_addr_t gma_bus_addr;
1: + resource_size_t stolen_size;
1: + unsigned int gtt_total_entries;
1: + unsigned int gtt_mappable_entries;
1: };
1:
1: struct intel_gtt_driver_description {
1: - unsigned int gmch_chip_id;
1: - char *name;
1: - const struct intel_gtt_driver *gtt_driver;
1: + unsigned int gmch_chip_id;
1: + char *name;
1: + const struct intel_gtt_driver *gtt_driver;
1: };
1:
1: struct iommu_group {
1: - struct kobject kobj;
1: - struct kobject *devices_kobj;
1: - struct list_head devices;
1: - struct mutex mutex;
1: - struct blocking_notifier_head notifier;
1: - void *iommu_data;
1: - void (*iommu_data_release)(void *);
1: - char *name;
1: - int id;
1: - struct iommu_domain *default_domain;
1: - struct iommu_domain *domain;
1: + struct kobject kobj;
1: + struct kobject *devices_kobj;
1: + struct list_head devices;
1: + struct mutex mutex;
1: + struct blocking_notifier_head notifier;
1: + void *iommu_data;
1: + void (*iommu_data_release)(void *);
1: + char *name;
1: + int id;
1: + struct iommu_domain *default_domain;
1: + struct iommu_domain *domain;
1: };
1:
1: typedef unsigned int ioasid_t;
1:
1: enum iommu_fault_type {
1: - IOMMU_FAULT_DMA_UNRECOV = 1,
1: - IOMMU_FAULT_PAGE_REQ = 2,
1: + IOMMU_FAULT_DMA_UNRECOV = 1,
1: + IOMMU_FAULT_PAGE_REQ = 2,
1: };
1:
1: struct iommu_device {
1: - struct list_head list;
1: - const struct iommu_ops *ops;
1: - struct fwnode_handle *fwnode;
1: - struct device *dev;
1: + struct list_head list;
1: + const struct iommu_ops *ops;
1: + struct fwnode_handle *fwnode;
1: + struct device *dev;
1: };
1:
1: struct fsl_mc_obj_desc {
1: - char type[16];
1: - int id;
1: - u16 vendor;
1: - u16 ver_major;
1: - u16 ver_minor;
1: - u8 irq_count;
1: - u8 region_count;
1: - u32 state;
1: - char label[16];
1: - u16 flags;
1: + char type[16];
1: + int id;
1: + u16 vendor;
1: + u16 ver_major;
1: + u16 ver_minor;
1: + u8 irq_count;
1: + u8 region_count;
1: + u32 state;
1: + char label[16];
1: + u16 flags;
1: };
1:
1: struct fsl_mc_io;
1: @@ -65194,118 +65676,118 @@ struct fsl_mc_device_irq;
1: struct fsl_mc_resource;
1:
1: struct fsl_mc_device {
1: - struct device dev;
1: - u64 dma_mask;
1: - u16 flags;
1: - u16 icid;
1: - u16 mc_handle;
1: - struct fsl_mc_io *mc_io;
1: - struct fsl_mc_obj_desc obj_desc;
1: - struct resource *regions;
1: - struct fsl_mc_device_irq **irqs;
1: - struct fsl_mc_resource *resource;
1: - struct device_link *consumer_link;
1: + struct device dev;
1: + u64 dma_mask;
1: + u16 flags;
1: + u16 icid;
1: + u16 mc_handle;
1: + struct fsl_mc_io *mc_io;
1: + struct fsl_mc_obj_desc obj_desc;
1: + struct resource *regions;
1: + struct fsl_mc_device_irq **irqs;
1: + struct fsl_mc_resource *resource;
1: + struct device_link *consumer_link;
1: };
1:
1: enum fsl_mc_pool_type {
1: - FSL_MC_POOL_DPMCP = 0,
1: - FSL_MC_POOL_DPBP = 1,
1: - FSL_MC_POOL_DPCON = 2,
1: - FSL_MC_POOL_IRQ = 3,
1: - FSL_MC_NUM_POOL_TYPES = 4,
1: + FSL_MC_POOL_DPMCP = 0,
1: + FSL_MC_POOL_DPBP = 1,
1: + FSL_MC_POOL_DPCON = 2,
1: + FSL_MC_POOL_IRQ = 3,
1: + FSL_MC_NUM_POOL_TYPES = 4,
1: };
1:
1: struct fsl_mc_resource_pool;
1:
1: struct fsl_mc_resource {
1: - enum fsl_mc_pool_type type;
1: - s32 id;
1: - void *data;
1: - struct fsl_mc_resource_pool *parent_pool;
1: - struct list_head node;
1: + enum fsl_mc_pool_type type;
1: + s32 id;
1: + void *data;
1: + struct fsl_mc_resource_pool *parent_pool;
1: + struct list_head node;
1: };
1:
1: struct fsl_mc_device_irq {
1: - struct msi_desc *msi_desc;
1: - struct fsl_mc_device *mc_dev;
1: - u8 dev_irq_index;
1: - struct fsl_mc_resource resource;
1: + struct msi_desc *msi_desc;
1: + struct fsl_mc_device *mc_dev;
1: + u8 dev_irq_index;
1: + struct fsl_mc_resource resource;
1: };
1:
1: struct fsl_mc_io {
1: - struct device *dev;
1: - u16 flags;
1: - u32 portal_size;
1: - phys_addr_t portal_phys_addr;
1: - void *portal_virt_addr;
1: - struct fsl_mc_device *dpmcp_dev;
1: - union {
1: - struct mutex mutex;
1: - spinlock_t spinlock;
1: - };
1: + struct device *dev;
1: + u16 flags;
1: + u32 portal_size;
1: + phys_addr_t portal_phys_addr;
1: + void *portal_virt_addr;
1: + struct fsl_mc_device *dpmcp_dev;
1: + union {
1: + struct mutex mutex;
1: + spinlock_t spinlock;
1: + };
1: };
1:
1: struct group_device {
1: - struct list_head list;
1: - struct device *dev;
1: - char *name;
1: + struct list_head list;
1: + struct device *dev;
1: + char *name;
1: };
1:
1: struct iommu_group_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct iommu_group *, char *);
1: - ssize_t (*store)(struct iommu_group *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct iommu_group *, char *);
1: + ssize_t (*store)(struct iommu_group *, const char *, size_t);
1: };
1:
1: struct group_for_pci_data {
1: - struct pci_dev *pdev;
1: - struct iommu_group *group;
1: + struct pci_dev *pdev;
1: + struct iommu_group *group;
1: };
1:
1: struct trace_event_raw_iommu_group_event {
1: - struct trace_entry ent;
1: - int gid;
1: - u32 __data_loc_device;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int gid;
1: + u32 __data_loc_device;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_iommu_device_event {
1: - struct trace_entry ent;
1: - u32 __data_loc_device;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_device;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_map {
1: - struct trace_entry ent;
1: - u64 iova;
1: - u64 paddr;
1: - size_t size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u64 iova;
1: + u64 paddr;
1: + size_t size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_unmap {
1: - struct trace_entry ent;
1: - u64 iova;
1: - size_t size;
1: - size_t unmapped_size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u64 iova;
1: + size_t size;
1: + size_t unmapped_size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_iommu_error {
1: - struct trace_entry ent;
1: - u32 __data_loc_device;
1: - u32 __data_loc_driver;
1: - u64 iova;
1: - int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_device;
1: + u32 __data_loc_driver;
1: + u64 iova;
1: + int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_iommu_group_event {
1: - u32 device;
1: + u32 device;
1: };
1:
1: struct trace_event_data_offsets_iommu_device_event {
1: - u32 device;
1: + u32 device;
1: };
1:
1: struct trace_event_data_offsets_map {};
1: @@ -65313,14 +65795,14 @@ struct trace_event_data_offsets_map {};
1: struct trace_event_data_offsets_unmap {};
1:
1: struct trace_event_data_offsets_iommu_error {
1: - u32 device;
1: - u32 driver;
1: + u32 device;
1: + u32 driver;
1: };
1:
1: struct iova {
1: - struct rb_node node;
1: - long unsigned int pfn_hi;
1: - long unsigned int pfn_lo;
1: + struct rb_node node;
1: + long unsigned int pfn_hi;
1: + long unsigned int pfn_lo;
1: };
1:
1: struct iova_magazine;
1: @@ -65328,10 +65810,10 @@ struct iova_magazine;
1: struct iova_cpu_rcache;
1:
1: struct iova_rcache {
1: - spinlock_t lock;
1: - long unsigned int depot_size;
1: - struct iova_magazine *depot[32];
1: - struct iova_cpu_rcache *cpu_rcaches;
1: + spinlock_t lock;
1: + long unsigned int depot_size;
1: + struct iova_magazine *depot[32];
1: + struct iova_cpu_rcache *cpu_rcaches;
1: };
1:
1: struct iova_domain;
1: @@ -65343,375 +65825,375 @@ typedef void (*iova_entry_dtor)(long unsigned int);
1: struct iova_fq;
1:
1: struct iova_domain {
1: - spinlock_t iova_rbtree_lock;
1: - struct rb_root rbroot;
1: - struct rb_node *cached_node;
1: - struct rb_node *cached32_node;
1: - long unsigned int granule;
1: - long unsigned int start_pfn;
1: - long unsigned int dma_32bit_pfn;
1: - long unsigned int max32_alloc_size;
1: - struct iova_fq *fq;
1: - atomic64_t fq_flush_start_cnt;
1: - atomic64_t fq_flush_finish_cnt;
1: - struct iova anchor;
1: - struct iova_rcache rcaches[6];
1: - iova_flush_cb flush_cb;
1: - iova_entry_dtor entry_dtor;
1: - struct timer_list fq_timer;
1: - atomic_t fq_timer_on;
1: + spinlock_t iova_rbtree_lock;
1: + struct rb_root rbroot;
1: + struct rb_node *cached_node;
1: + struct rb_node *cached32_node;
1: + long unsigned int granule;
1: + long unsigned int start_pfn;
1: + long unsigned int dma_32bit_pfn;
1: + long unsigned int max32_alloc_size;
1: + struct iova_fq *fq;
1: + atomic64_t fq_flush_start_cnt;
1: + atomic64_t fq_flush_finish_cnt;
1: + struct iova anchor;
1: + struct iova_rcache rcaches[6];
1: + iova_flush_cb flush_cb;
1: + iova_entry_dtor entry_dtor;
1: + struct timer_list fq_timer;
1: + atomic_t fq_timer_on;
1: };
1:
1: struct iova_fq_entry {
1: - long unsigned int iova_pfn;
1: - long unsigned int pages;
1: - long unsigned int data;
1: - u64 counter;
1: + long unsigned int iova_pfn;
1: + long unsigned int pages;
1: + long unsigned int data;
1: + u64 counter;
1: };
1:
1: struct iova_fq {
1: - struct iova_fq_entry entries[256];
1: - unsigned int head;
1: - unsigned int tail;
1: - spinlock_t lock;
1: + struct iova_fq_entry entries[256];
1: + unsigned int head;
1: + unsigned int tail;
1: + spinlock_t lock;
1: };
1:
1: struct iommu_dma_msi_page {
1: - struct list_head list;
1: - dma_addr_t iova;
1: - phys_addr_t phys;
1: + struct list_head list;
1: + dma_addr_t iova;
1: + phys_addr_t phys;
1: };
1:
1: enum iommu_dma_cookie_type {
1: - IOMMU_DMA_IOVA_COOKIE = 0,
1: - IOMMU_DMA_MSI_COOKIE = 1,
1: + IOMMU_DMA_IOVA_COOKIE = 0,
1: + IOMMU_DMA_MSI_COOKIE = 1,
1: };
1:
1: struct iommu_dma_cookie {
1: - enum iommu_dma_cookie_type type;
1: - union {
1: - struct iova_domain iovad;
1: - dma_addr_t msi_iova;
1: - };
1: - struct list_head msi_page_list;
1: - struct iommu_domain *fq_domain;
1: + enum iommu_dma_cookie_type type;
1: + union {
1: + struct iova_domain iovad;
1: + dma_addr_t msi_iova;
1: + };
1: + struct list_head msi_page_list;
1: + struct iommu_domain *fq_domain;
1: };
1:
1: struct iova_magazine {
1: - long unsigned int size;
1: - long unsigned int pfns[128];
1: + long unsigned int size;
1: + long unsigned int pfns[128];
1: };
1:
1: struct iova_cpu_rcache {
1: - spinlock_t lock;
1: - struct iova_magazine *loaded;
1: - struct iova_magazine *prev;
1: + spinlock_t lock;
1: + struct iova_magazine *loaded;
1: + struct iova_magazine *prev;
1: };
1:
1: struct amd_iommu_device_info {
1: - int max_pasids;
1: - u32 flags;
1: + int max_pasids;
1: + u32 flags;
1: };
1:
1: struct amd_iommu_fault {
1: - u64 address;
1: - u32 pasid;
1: - u16 device_id;
1: - u16 tag;
1: - u16 flags;
1: + u64 address;
1: + u32 pasid;
1: + u16 device_id;
1: + u16 tag;
1: + u16 flags;
1: };
1:
1: struct protection_domain {
1: - struct list_head list;
1: - struct list_head dev_list;
1: - struct iommu_domain domain;
1: - spinlock_t lock;
1: - u16 id;
1: - int mode;
1: - u64 *pt_root;
1: - int glx;
1: - u64 *gcr3_tbl;
1: - long unsigned int flags;
1: - unsigned int dev_cnt;
1: - unsigned int dev_iommu[32];
1: + struct list_head list;
1: + struct list_head dev_list;
1: + struct iommu_domain domain;
1: + spinlock_t lock;
1: + u16 id;
1: + int mode;
1: + u64 *pt_root;
1: + int glx;
1: + u64 *gcr3_tbl;
1: + long unsigned int flags;
1: + unsigned int dev_cnt;
1: + unsigned int dev_iommu[32];
1: };
1:
1: struct amd_iommu___2 {
1: - struct list_head list;
1: - int index;
1: - raw_spinlock_t lock;
1: - struct pci_dev *dev;
1: - struct pci_dev *root_pdev;
1: - u64 mmio_phys;
1: - u64 mmio_phys_end;
1: - u8 *mmio_base;
1: - u32 cap;
1: - u8 acpi_flags;
1: - u64 features;
1: - bool is_iommu_v2;
1: - u16 devid;
1: - u16 cap_ptr;
1: - u16 pci_seg;
1: - u64 exclusion_start;
1: - u64 exclusion_length;
1: - u8 *cmd_buf;
1: - u32 cmd_buf_head;
1: - u32 cmd_buf_tail;
1: - u8 *evt_buf;
1: - u8 *ppr_log;
1: - u8 *ga_log;
1: - u8 *ga_log_tail;
1: - bool int_enabled;
1: - bool need_sync;
1: - struct iommu_device iommu;
1: - u32 stored_addr_lo;
1: - u32 stored_addr_hi;
1: - u32 stored_l1[108];
1: - u32 stored_l2[131];
1: - u8 max_banks;
1: - u8 max_counters;
1: - u32 flags;
1: - volatile u64 cmd_sem;
1: - struct irq_affinity_notify intcapxt_notify;
1: + struct list_head list;
1: + int index;
1: + raw_spinlock_t lock;
1: + struct pci_dev *dev;
1: + struct pci_dev *root_pdev;
1: + u64 mmio_phys;
1: + u64 mmio_phys_end;
1: + u8 *mmio_base;
1: + u32 cap;
1: + u8 acpi_flags;
1: + u64 features;
1: + bool is_iommu_v2;
1: + u16 devid;
1: + u16 cap_ptr;
1: + u16 pci_seg;
1: + u64 exclusion_start;
1: + u64 exclusion_length;
1: + u8 *cmd_buf;
1: + u32 cmd_buf_head;
1: + u32 cmd_buf_tail;
1: + u8 *evt_buf;
1: + u8 *ppr_log;
1: + u8 *ga_log;
1: + u8 *ga_log_tail;
1: + bool int_enabled;
1: + bool need_sync;
1: + struct iommu_device iommu;
1: + u32 stored_addr_lo;
1: + u32 stored_addr_hi;
1: + u32 stored_l1[108];
1: + u32 stored_l2[131];
1: + u8 max_banks;
1: + u8 max_counters;
1: + u32 flags;
1: + volatile u64 cmd_sem;
1: + struct irq_affinity_notify intcapxt_notify;
1: };
1:
1: struct acpihid_map_entry {
1: - struct list_head list;
1: - u8 uid[256];
1: - u8 hid[9];
1: - u16 devid;
1: - u16 root_devid;
1: - bool cmd_line;
1: - struct iommu_group *group;
1: + struct list_head list;
1: + u8 uid[256];
1: + u8 hid[9];
1: + u16 devid;
1: + u16 root_devid;
1: + bool cmd_line;
1: + struct iommu_group *group;
1: };
1:
1: struct iommu_dev_data {
1: - spinlock_t lock;
1: - struct list_head list;
1: - struct llist_node dev_data_list;
1: - struct protection_domain *domain;
1: - struct pci_dev *pdev;
1: - u16 devid;
1: - bool iommu_v2;
1: - bool passthrough;
1: - struct {
1: - bool enabled;
1: - int qdep;
1: - } ats;
1: - bool pri_tlp;
1: - u32 errata;
1: - bool use_vapic;
1: - bool defer_attach;
1: - struct ratelimit_state rs;
1: + spinlock_t lock;
1: + struct list_head list;
1: + struct llist_node dev_data_list;
1: + struct protection_domain *domain;
1: + struct pci_dev *pdev;
1: + u16 devid;
1: + bool iommu_v2;
1: + bool passthrough;
1: + struct {
1: + bool enabled;
1: + int qdep;
1: + } ats;
1: + bool pri_tlp;
1: + u32 errata;
1: + bool use_vapic;
1: + bool defer_attach;
1: + struct ratelimit_state rs;
1: };
1:
1: struct dev_table_entry {
1: - u64 data[4];
1: + u64 data[4];
1: };
1:
1: struct unity_map_entry {
1: - struct list_head list;
1: - u16 devid_start;
1: - u16 devid_end;
1: - u64 address_start;
1: - u64 address_end;
1: - int prot;
1: + struct list_head list;
1: + u16 devid_start;
1: + u16 devid_end;
1: + u64 address_start;
1: + u64 address_end;
1: + int prot;
1: };
1:
1: struct iommu_cmd {
1: - u32 data[4];
1: + u32 data[4];
1: };
1:
1: enum {
1: - IRQ_REMAP_XAPIC_MODE = 0,
1: - IRQ_REMAP_X2APIC_MODE = 1,
1: + IRQ_REMAP_XAPIC_MODE = 0,
1: + IRQ_REMAP_X2APIC_MODE = 1,
1: };
1:
1: struct irq_remap_table {
1: - raw_spinlock_t lock;
1: - unsigned int min_index;
1: - u32 *table;
1: + raw_spinlock_t lock;
1: + unsigned int min_index;
1: + u32 *table;
1: };
1:
1: struct devid_map {
1: - struct list_head list;
1: - u8 id;
1: - u16 devid;
1: - bool cmd_line;
1: + struct list_head list;
1: + u8 id;
1: + u16 devid;
1: + bool cmd_line;
1: };
1:
1: enum amd_iommu_intr_mode_type {
1: - AMD_IOMMU_GUEST_IR_LEGACY = 0,
1: - AMD_IOMMU_GUEST_IR_LEGACY_GA = 1,
1: - AMD_IOMMU_GUEST_IR_VAPIC = 2,
1: + AMD_IOMMU_GUEST_IR_LEGACY = 0,
1: + AMD_IOMMU_GUEST_IR_LEGACY_GA = 1,
1: + AMD_IOMMU_GUEST_IR_VAPIC = 2,
1: };
1:
1: struct ivhd_header {
1: - u8 type;
1: - u8 flags;
1: - u16 length;
1: - u16 devid;
1: - u16 cap_ptr;
1: - u64 mmio_phys;
1: - u16 pci_seg;
1: - u16 info;
1: - u32 efr_attr;
1: - u64 efr_reg;
1: - u64 res;
1: + u8 type;
1: + u8 flags;
1: + u16 length;
1: + u16 devid;
1: + u16 cap_ptr;
1: + u64 mmio_phys;
1: + u16 pci_seg;
1: + u16 info;
1: + u32 efr_attr;
1: + u64 efr_reg;
1: + u64 res;
1: };
1:
1: struct ivhd_entry {
1: - u8 type;
1: - u16 devid;
1: - u8 flags;
1: - u32 ext;
1: - u32 hidh;
1: - u64 cid;
1: - u8 uidf;
1: - u8 uidl;
1: - u8 uid;
1: + u8 type;
1: + u16 devid;
1: + u8 flags;
1: + u32 ext;
1: + u32 hidh;
1: + u64 cid;
1: + u8 uidf;
1: + u8 uidl;
1: + u8 uid;
1: } __attribute__((packed));
1:
1: struct ivmd_header {
1: - u8 type;
1: - u8 flags;
1: - u16 length;
1: - u16 devid;
1: - u16 aux;
1: - u64 resv;
1: - u64 range_start;
1: - u64 range_length;
1: + u8 type;
1: + u8 flags;
1: + u16 length;
1: + u16 devid;
1: + u16 aux;
1: + u64 resv;
1: + u64 range_start;
1: + u64 range_length;
1: };
1:
1: enum iommu_init_state {
1: - IOMMU_START_STATE = 0,
1: - IOMMU_IVRS_DETECTED = 1,
1: - IOMMU_ACPI_FINISHED = 2,
1: - IOMMU_ENABLED = 3,
1: - IOMMU_PCI_INIT = 4,
1: - IOMMU_INTERRUPTS_EN = 5,
1: - IOMMU_DMA_OPS = 6,
1: - IOMMU_INITIALIZED = 7,
1: - IOMMU_NOT_FOUND = 8,
1: - IOMMU_INIT_ERROR = 9,
1: - IOMMU_CMDLINE_DISABLED = 10,
1: + IOMMU_START_STATE = 0,
1: + IOMMU_IVRS_DETECTED = 1,
1: + IOMMU_ACPI_FINISHED = 2,
1: + IOMMU_ENABLED = 3,
1: + IOMMU_PCI_INIT = 4,
1: + IOMMU_INTERRUPTS_EN = 5,
1: + IOMMU_DMA_OPS = 6,
1: + IOMMU_INITIALIZED = 7,
1: + IOMMU_NOT_FOUND = 8,
1: + IOMMU_INIT_ERROR = 9,
1: + IOMMU_CMDLINE_DISABLED = 10,
1: };
1:
1: struct ivrs_quirk_entry {
1: - u8 id;
1: - u16 devid;
1: + u8 id;
1: + u16 devid;
1: };
1:
1: enum {
1: - DELL_INSPIRON_7375 = 0,
1: - DELL_LATITUDE_5495 = 1,
1: - LENOVO_IDEAPAD_330S_15ARR = 2,
1: + DELL_INSPIRON_7375 = 0,
1: + DELL_LATITUDE_5495 = 1,
1: + LENOVO_IDEAPAD_330S_15ARR = 2,
1: };
1:
1: struct acpi_table_dmar {
1: - struct acpi_table_header header;
1: - u8 width;
1: - u8 flags;
1: - u8 reserved[10];
1: + struct acpi_table_header header;
1: + u8 width;
1: + u8 flags;
1: + u8 reserved[10];
1: };
1:
1: struct acpi_dmar_header {
1: - u16 type;
1: - u16 length;
1: + u16 type;
1: + u16 length;
1: };
1:
1: enum acpi_dmar_type {
1: - ACPI_DMAR_TYPE_HARDWARE_UNIT = 0,
1: - ACPI_DMAR_TYPE_RESERVED_MEMORY = 1,
1: - ACPI_DMAR_TYPE_ROOT_ATS = 2,
1: - ACPI_DMAR_TYPE_HARDWARE_AFFINITY = 3,
1: - ACPI_DMAR_TYPE_NAMESPACE = 4,
1: - ACPI_DMAR_TYPE_RESERVED = 5,
1: + ACPI_DMAR_TYPE_HARDWARE_UNIT = 0,
1: + ACPI_DMAR_TYPE_RESERVED_MEMORY = 1,
1: + ACPI_DMAR_TYPE_ROOT_ATS = 2,
1: + ACPI_DMAR_TYPE_HARDWARE_AFFINITY = 3,
1: + ACPI_DMAR_TYPE_NAMESPACE = 4,
1: + ACPI_DMAR_TYPE_RESERVED = 5,
1: };
1:
1: struct acpi_dmar_device_scope {
1: - u8 entry_type;
1: - u8 length;
1: - u16 reserved;
1: - u8 enumeration_id;
1: - u8 bus;
1: + u8 entry_type;
1: + u8 length;
1: + u16 reserved;
1: + u8 enumeration_id;
1: + u8 bus;
1: };
1:
1: enum acpi_dmar_scope_type {
1: - ACPI_DMAR_SCOPE_TYPE_NOT_USED = 0,
1: - ACPI_DMAR_SCOPE_TYPE_ENDPOINT = 1,
1: - ACPI_DMAR_SCOPE_TYPE_BRIDGE = 2,
1: - ACPI_DMAR_SCOPE_TYPE_IOAPIC = 3,
1: - ACPI_DMAR_SCOPE_TYPE_HPET = 4,
1: - ACPI_DMAR_SCOPE_TYPE_NAMESPACE = 5,
1: - ACPI_DMAR_SCOPE_TYPE_RESERVED = 6,
1: + ACPI_DMAR_SCOPE_TYPE_NOT_USED = 0,
1: + ACPI_DMAR_SCOPE_TYPE_ENDPOINT = 1,
1: + ACPI_DMAR_SCOPE_TYPE_BRIDGE = 2,
1: + ACPI_DMAR_SCOPE_TYPE_IOAPIC = 3,
1: + ACPI_DMAR_SCOPE_TYPE_HPET = 4,
1: + ACPI_DMAR_SCOPE_TYPE_NAMESPACE = 5,
1: + ACPI_DMAR_SCOPE_TYPE_RESERVED = 6,
1: };
1:
1: struct acpi_dmar_pci_path {
1: - u8 device;
1: - u8 function;
1: + u8 device;
1: + u8 function;
1: };
1:
1: struct acpi_dmar_hardware_unit {
1: - struct acpi_dmar_header header;
1: - u8 flags;
1: - u8 reserved;
1: - u16 segment;
1: - u64 address;
1: + struct acpi_dmar_header header;
1: + u8 flags;
1: + u8 reserved;
1: + u16 segment;
1: + u64 address;
1: };
1:
1: struct acpi_dmar_reserved_memory {
1: - struct acpi_dmar_header header;
1: - u16 reserved;
1: - u16 segment;
1: - u64 base_address;
1: - u64 end_address;
1: + struct acpi_dmar_header header;
1: + u16 reserved;
1: + u16 segment;
1: + u64 base_address;
1: + u64 end_address;
1: };
1:
1: struct acpi_dmar_atsr {
1: - struct acpi_dmar_header header;
1: - u8 flags;
1: - u8 reserved;
1: - u16 segment;
1: + struct acpi_dmar_header header;
1: + u8 flags;
1: + u8 reserved;
1: + u16 segment;
1: };
1:
1: struct acpi_dmar_rhsa {
1: - struct acpi_dmar_header header;
1: - u32 reserved;
1: - u64 base_address;
1: - u32 proximity_domain;
1: + struct acpi_dmar_header header;
1: + u32 reserved;
1: + u64 base_address;
1: + u32 proximity_domain;
1: } __attribute__((packed));
1:
1: struct acpi_dmar_andd {
1: - struct acpi_dmar_header header;
1: - u8 reserved[3];
1: - u8 device_number;
1: - char device_name[1];
1: + struct acpi_dmar_header header;
1: + u8 reserved[3];
1: + u8 device_number;
1: + char device_name[1];
1: } __attribute__((packed));
1:
1: struct dmar_dev_scope {
1: - struct device *dev;
1: - u8 bus;
1: - u8 devfn;
1: + struct device *dev;
1: + u8 bus;
1: + u8 devfn;
1: };
1:
1: struct intel_iommu;
1:
1: struct dmar_drhd_unit {
1: - struct list_head list;
1: - struct acpi_dmar_header *hdr;
1: - u64 reg_base_addr;
1: - struct dmar_dev_scope *devices;
1: - int devices_cnt;
1: - u16 segment;
1: - u8 ignored: 1;
1: - u8 include_all: 1;
1: - struct intel_iommu *iommu;
1: + struct list_head list;
1: + struct acpi_dmar_header *hdr;
1: + u64 reg_base_addr;
1: + struct dmar_dev_scope *devices;
1: + int devices_cnt;
1: + u16 segment;
1: + u8 ignored : 1;
1: + u8 include_all : 1;
1: + struct intel_iommu *iommu;
1: };
1:
1: struct iommu_flush {
1: - void (*flush_context)(struct intel_iommu *, u16, u16, u8, u64);
1: - void (*flush_iotlb)(struct intel_iommu *, u16, u64, unsigned int, u64);
1: + void (*flush_context)(struct intel_iommu *, u16, u16, u8, u64);
1: + void (*flush_iotlb)(struct intel_iommu *, u16, u64, unsigned int, u64);
1: };
1:
1: struct dmar_domain;
1: @@ -65721,244 +66203,244 @@ struct root_entry;
1: struct q_inval;
1:
1: struct intel_iommu {
1: - void *reg;
1: - u64 reg_phys;
1: - u64 reg_size;
1: - u64 cap;
1: - u64 ecap;
1: - u32 gcmd;
1: - raw_spinlock_t register_lock;
1: - int seq_id;
1: - int agaw;
1: - int msagaw;
1: - unsigned int irq;
1: - unsigned int pr_irq;
1: - u16 segment;
1: - unsigned char name[13];
1: - long unsigned int *domain_ids;
1: - struct dmar_domain ***domains;
1: - spinlock_t lock;
1: - struct root_entry *root_entry;
1: - struct iommu_flush flush;
1: - struct q_inval *qi;
1: - u32 *iommu_state;
1: - struct iommu_device iommu;
1: - int node;
1: - u32 flags;
1: + void *reg;
1: + u64 reg_phys;
1: + u64 reg_size;
1: + u64 cap;
1: + u64 ecap;
1: + u32 gcmd;
1: + raw_spinlock_t register_lock;
1: + int seq_id;
1: + int agaw;
1: + int msagaw;
1: + unsigned int irq;
1: + unsigned int pr_irq;
1: + u16 segment;
1: + unsigned char name[13];
1: + long unsigned int *domain_ids;
1: + struct dmar_domain ***domains;
1: + spinlock_t lock;
1: + struct root_entry *root_entry;
1: + struct iommu_flush flush;
1: + struct q_inval *qi;
1: + u32 *iommu_state;
1: + struct iommu_device iommu;
1: + int node;
1: + u32 flags;
1: };
1:
1: struct dmar_pci_path {
1: - u8 bus;
1: - u8 device;
1: - u8 function;
1: + u8 bus;
1: + u8 device;
1: + u8 function;
1: };
1:
1: struct dmar_pci_notify_info {
1: - struct pci_dev *dev;
1: - long unsigned int event;
1: - int bus;
1: - u16 seg;
1: - u16 level;
1: - struct dmar_pci_path path[0];
1: + struct pci_dev *dev;
1: + long unsigned int event;
1: + int bus;
1: + u16 seg;
1: + u16 level;
1: + struct dmar_pci_path path[0];
1: };
1:
1: enum {
1: - QI_FREE = 0,
1: - QI_IN_USE = 1,
1: - QI_DONE = 2,
1: - QI_ABORT = 3,
1: + QI_FREE = 0,
1: + QI_IN_USE = 1,
1: + QI_DONE = 2,
1: + QI_ABORT = 3,
1: };
1:
1: struct qi_desc {
1: - u64 qw0;
1: - u64 qw1;
1: - u64 qw2;
1: - u64 qw3;
1: + u64 qw0;
1: + u64 qw1;
1: + u64 qw2;
1: + u64 qw3;
1: };
1:
1: struct q_inval {
1: - raw_spinlock_t q_lock;
1: - void *desc;
1: - int *desc_status;
1: - int free_head;
1: - int free_tail;
1: - int free_cnt;
1: + raw_spinlock_t q_lock;
1: + void *desc;
1: + int *desc_status;
1: + int free_head;
1: + int free_tail;
1: + int free_cnt;
1: };
1:
1: struct root_entry {
1: - u64 lo;
1: - u64 hi;
1: + u64 lo;
1: + u64 hi;
1: };
1:
1: struct dma_pte;
1:
1: struct dmar_domain {
1: - int nid;
1: - unsigned int iommu_refcnt[128];
1: - u16 iommu_did[128];
1: - unsigned int auxd_refcnt;
1: - bool has_iotlb_device;
1: - struct list_head devices;
1: - struct list_head auxd;
1: - struct iova_domain iovad;
1: - struct dma_pte *pgd;
1: - int gaw;
1: - int agaw;
1: - int flags;
1: - int iommu_coherency;
1: - int iommu_snooping;
1: - int iommu_count;
1: - int iommu_superpage;
1: - u64 max_addr;
1: - int default_pasid;
1: - struct iommu_domain domain;
1: + int nid;
1: + unsigned int iommu_refcnt[128];
1: + u16 iommu_did[128];
1: + unsigned int auxd_refcnt;
1: + bool has_iotlb_device;
1: + struct list_head devices;
1: + struct list_head auxd;
1: + struct iova_domain iovad;
1: + struct dma_pte *pgd;
1: + int gaw;
1: + int agaw;
1: + int flags;
1: + int iommu_coherency;
1: + int iommu_snooping;
1: + int iommu_count;
1: + int iommu_superpage;
1: + u64 max_addr;
1: + int default_pasid;
1: + struct iommu_domain domain;
1: };
1:
1: struct dma_pte {
1: - u64 val;
1: + u64 val;
1: };
1:
1: typedef int (*dmar_res_handler_t)(struct acpi_dmar_header *, void *);
1:
1: struct dmar_res_callback {
1: - dmar_res_handler_t cb[5];
1: - void *arg[5];
1: - bool ignore_unhandled;
1: - bool print_entry;
1: + dmar_res_handler_t cb[5];
1: + void *arg[5];
1: + bool ignore_unhandled;
1: + bool print_entry;
1: };
1:
1: enum faulttype {
1: - DMA_REMAP = 0,
1: - INTR_REMAP = 1,
1: - UNKNOWN = 2,
1: + DMA_REMAP = 0,
1: + INTR_REMAP = 1,
1: + UNKNOWN = 2,
1: };
1:
1: struct memory_notify {
1: - long unsigned int start_pfn;
1: - long unsigned int nr_pages;
1: - int status_change_nid_normal;
1: - int status_change_nid_high;
1: - int status_change_nid;
1: + long unsigned int start_pfn;
1: + long unsigned int nr_pages;
1: + int status_change_nid_normal;
1: + int status_change_nid_high;
1: + int status_change_nid;
1: };
1:
1: enum {
1: - SR_DMAR_FECTL_REG = 0,
1: - SR_DMAR_FEDATA_REG = 1,
1: - SR_DMAR_FEADDR_REG = 2,
1: - SR_DMAR_FEUADDR_REG = 3,
1: - MAX_SR_DMAR_REGS = 4,
1: + SR_DMAR_FECTL_REG = 0,
1: + SR_DMAR_FEDATA_REG = 1,
1: + SR_DMAR_FEADDR_REG = 2,
1: + SR_DMAR_FEUADDR_REG = 3,
1: + MAX_SR_DMAR_REGS = 4,
1: };
1:
1: struct context_entry {
1: - u64 lo;
1: - u64 hi;
1: + u64 lo;
1: + u64 hi;
1: };
1:
1: struct pasid_table;
1:
1: struct device_domain_info {
1: - struct list_head link;
1: - struct list_head global;
1: - struct list_head table;
1: - struct list_head auxiliary_domains;
1: - u8 bus;
1: - u8 devfn;
1: - u16 pfsid;
1: - u8 pasid_supported: 3;
1: - u8 pasid_enabled: 1;
1: - u8 pri_supported: 1;
1: - u8 pri_enabled: 1;
1: - u8 ats_supported: 1;
1: - u8 ats_enabled: 1;
1: - u8 auxd_enabled: 1;
1: - u8 ats_qdep;
1: - struct device *dev;
1: - struct intel_iommu *iommu;
1: - struct dmar_domain *domain;
1: - struct pasid_table *pasid_table;
1: + struct list_head link;
1: + struct list_head global;
1: + struct list_head table;
1: + struct list_head auxiliary_domains;
1: + u8 bus;
1: + u8 devfn;
1: + u16 pfsid;
1: + u8 pasid_supported : 3;
1: + u8 pasid_enabled : 1;
1: + u8 pri_supported : 1;
1: + u8 pri_enabled : 1;
1: + u8 ats_supported : 1;
1: + u8 ats_enabled : 1;
1: + u8 auxd_enabled : 1;
1: + u8 ats_qdep;
1: + struct device *dev;
1: + struct intel_iommu *iommu;
1: + struct dmar_domain *domain;
1: + struct pasid_table *pasid_table;
1: };
1:
1: struct pasid_table {
1: - void *table;
1: - int order;
1: - int max_pasid;
1: - struct list_head dev;
1: + void *table;
1: + int order;
1: + int max_pasid;
1: + struct list_head dev;
1: };
1:
1: struct dmar_rmrr_unit {
1: - struct list_head list;
1: - struct acpi_dmar_header *hdr;
1: - u64 base_address;
1: - u64 end_address;
1: - struct dmar_dev_scope *devices;
1: - int devices_cnt;
1: + struct list_head list;
1: + struct acpi_dmar_header *hdr;
1: + u64 base_address;
1: + u64 end_address;
1: + struct dmar_dev_scope *devices;
1: + int devices_cnt;
1: };
1:
1: struct dmar_atsr_unit {
1: - struct list_head list;
1: - struct acpi_dmar_header *hdr;
1: - struct dmar_dev_scope *devices;
1: - int devices_cnt;
1: - u8 include_all: 1;
1: + struct list_head list;
1: + struct acpi_dmar_header *hdr;
1: + struct dmar_dev_scope *devices;
1: + int devices_cnt;
1: + u8 include_all : 1;
1: };
1:
1: struct domain_context_mapping_data {
1: - struct dmar_domain *domain;
1: - struct intel_iommu *iommu;
1: - struct pasid_table *table;
1: + struct dmar_domain *domain;
1: + struct intel_iommu *iommu;
1: + struct pasid_table *table;
1: };
1:
1: struct pasid_dir_entry {
1: - u64 val;
1: + u64 val;
1: };
1:
1: struct pasid_entry {
1: - u64 val[8];
1: + u64 val[8];
1: };
1:
1: struct pasid_table_opaque {
1: - struct pasid_table **pasid_table;
1: - int segment;
1: - int bus;
1: - int devfn;
1: + struct pasid_table **pasid_table;
1: + int segment;
1: + int bus;
1: + int devfn;
1: };
1:
1: struct trace_event_raw_dma_map {
1: - struct trace_entry ent;
1: - u32 __data_loc_dev_name;
1: - dma_addr_t dev_addr;
1: - phys_addr_t phys_addr;
1: - size_t size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_dev_name;
1: + dma_addr_t dev_addr;
1: + phys_addr_t phys_addr;
1: + size_t size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_dma_unmap {
1: - struct trace_entry ent;
1: - u32 __data_loc_dev_name;
1: - dma_addr_t dev_addr;
1: - size_t size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_dev_name;
1: + dma_addr_t dev_addr;
1: + size_t size;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_dma_map {
1: - u32 dev_name;
1: + u32 dev_name;
1: };
1:
1: struct trace_event_data_offsets_dma_unmap {
1: - u32 dev_name;
1: + u32 dev_name;
1: };
1:
1: struct i2c_msg {
1: - __u16 addr;
1: - __u16 flags;
1: - __u16 len;
1: - __u8 *buf;
1: + __u16 addr;
1: + __u16 flags;
1: + __u16 len;
1: + __u8 *buf;
1: };
1:
1: union i2c_smbus_data {
1: - __u8 byte;
1: - __u16 word;
1: - __u8 block[34];
1: + __u8 byte;
1: + __u16 word;
1: + __u8 block[34];
1: };
1:
1: struct i2c_algorithm;
1: @@ -65970,192 +66452,194 @@ struct i2c_bus_recovery_info;
1: struct i2c_adapter_quirks;
1:
1: struct i2c_adapter {
1: - struct module *owner;
1: - unsigned int class;
1: - const struct i2c_algorithm *algo;
1: - void *algo_data;
1: - const struct i2c_lock_operations *lock_ops;
1: - struct rt_mutex bus_lock;
1: - struct rt_mutex mux_lock;
1: - int timeout;
1: - int retries;
1: - struct device dev;
1: - long unsigned int locked_flags;
1: - int nr;
1: - char name[48];
1: - struct completion dev_released;
1: - struct mutex userspace_clients_lock;
1: - struct list_head userspace_clients;
1: - struct i2c_bus_recovery_info *bus_recovery_info;
1: - const struct i2c_adapter_quirks *quirks;
1: - struct irq_domain *host_notify_domain;
1: + struct module *owner;
1: + unsigned int class;
1: + const struct i2c_algorithm *algo;
1: + void *algo_data;
1: + const struct i2c_lock_operations *lock_ops;
1: + struct rt_mutex bus_lock;
1: + struct rt_mutex mux_lock;
1: + int timeout;
1: + int retries;
1: + struct device dev;
1: + long unsigned int locked_flags;
1: + int nr;
1: + char name[48];
1: + struct completion dev_released;
1: + struct mutex userspace_clients_lock;
1: + struct list_head userspace_clients;
1: + struct i2c_bus_recovery_info *bus_recovery_info;
1: + const struct i2c_adapter_quirks *quirks;
1: + struct irq_domain *host_notify_domain;
1: };
1:
1: struct i2c_algorithm {
1: - int (*master_xfer)(struct i2c_adapter *, struct i2c_msg *, int);
1: - int (*master_xfer_atomic)(struct i2c_adapter *, struct i2c_msg *, int);
1: - int (*smbus_xfer)(struct i2c_adapter *, u16, short unsigned int, char, u8, int, union i2c_smbus_data *);
1: - int (*smbus_xfer_atomic)(struct i2c_adapter *, u16, short unsigned int, char, u8, int, union i2c_smbus_data *);
1: - u32 (*functionality)(struct i2c_adapter *);
1: + int (*master_xfer)(struct i2c_adapter *, struct i2c_msg *, int);
1: + int (*master_xfer_atomic)(struct i2c_adapter *, struct i2c_msg *, int);
1: + int (*smbus_xfer)(struct i2c_adapter *, u16, short unsigned int, char, u8,
1: + int, union i2c_smbus_data *);
1: + int (*smbus_xfer_atomic)(struct i2c_adapter *, u16, short unsigned int, char,
1: + u8, int, union i2c_smbus_data *);
1: + u32 (*functionality)(struct i2c_adapter *);
1: };
1:
1: struct i2c_lock_operations {
1: - void (*lock_bus)(struct i2c_adapter *, unsigned int);
1: - int (*trylock_bus)(struct i2c_adapter *, unsigned int);
1: - void (*unlock_bus)(struct i2c_adapter *, unsigned int);
1: + void (*lock_bus)(struct i2c_adapter *, unsigned int);
1: + int (*trylock_bus)(struct i2c_adapter *, unsigned int);
1: + void (*unlock_bus)(struct i2c_adapter *, unsigned int);
1: };
1:
1: struct i2c_bus_recovery_info {
1: - int (*recover_bus)(struct i2c_adapter *);
1: - int (*get_scl)(struct i2c_adapter *);
1: - void (*set_scl)(struct i2c_adapter *, int);
1: - int (*get_sda)(struct i2c_adapter *);
1: - void (*set_sda)(struct i2c_adapter *, int);
1: - int (*get_bus_free)(struct i2c_adapter *);
1: - void (*prepare_recovery)(struct i2c_adapter *);
1: - void (*unprepare_recovery)(struct i2c_adapter *);
1: - struct gpio_desc *scl_gpiod;
1: - struct gpio_desc *sda_gpiod;
1: + int (*recover_bus)(struct i2c_adapter *);
1: + int (*get_scl)(struct i2c_adapter *);
1: + void (*set_scl)(struct i2c_adapter *, int);
1: + int (*get_sda)(struct i2c_adapter *);
1: + void (*set_sda)(struct i2c_adapter *, int);
1: + int (*get_bus_free)(struct i2c_adapter *);
1: + void (*prepare_recovery)(struct i2c_adapter *);
1: + void (*unprepare_recovery)(struct i2c_adapter *);
1: + struct gpio_desc *scl_gpiod;
1: + struct gpio_desc *sda_gpiod;
1: };
1:
1: struct i2c_adapter_quirks {
1: - u64 flags;
1: - int max_num_msgs;
1: - u16 max_write_len;
1: - u16 max_read_len;
1: - u16 max_comb_1st_msg_len;
1: - u16 max_comb_2nd_msg_len;
1: + u64 flags;
1: + int max_num_msgs;
1: + u16 max_write_len;
1: + u16 max_read_len;
1: + u16 max_comb_1st_msg_len;
1: + u16 max_comb_2nd_msg_len;
1: };
1:
1: struct hdr_static_metadata {
1: - __u8 eotf;
1: - __u8 metadata_type;
1: - __u16 max_cll;
1: - __u16 max_fall;
1: - __u16 min_cll;
1: + __u8 eotf;
1: + __u8 metadata_type;
1: + __u16 max_cll;
1: + __u16 max_fall;
1: + __u16 min_cll;
1: };
1:
1: struct hdr_sink_metadata {
1: - __u32 metadata_type;
1: - union {
1: - struct hdr_static_metadata hdmi_type1;
1: - };
1: + __u32 metadata_type;
1: + union {
1: + struct hdr_static_metadata hdmi_type1;
1: + };
1: };
1:
1: typedef unsigned int drm_magic_t;
1:
1: struct drm_clip_rect {
1: - short unsigned int x1;
1: - short unsigned int y1;
1: - short unsigned int x2;
1: - short unsigned int y2;
1: + short unsigned int x1;
1: + short unsigned int y1;
1: + short unsigned int x2;
1: + short unsigned int y2;
1: };
1:
1: struct drm_event {
1: - __u32 type;
1: - __u32 length;
1: + __u32 type;
1: + __u32 length;
1: };
1:
1: struct drm_event_vblank {
1: - struct drm_event base;
1: - __u64 user_data;
1: - __u32 tv_sec;
1: - __u32 tv_usec;
1: - __u32 sequence;
1: - __u32 crtc_id;
1: + struct drm_event base;
1: + __u64 user_data;
1: + __u32 tv_sec;
1: + __u32 tv_usec;
1: + __u32 sequence;
1: + __u32 crtc_id;
1: };
1:
1: struct drm_event_crtc_sequence {
1: - struct drm_event base;
1: - __u64 user_data;
1: - __s64 time_ns;
1: - __u64 sequence;
1: + struct drm_event base;
1: + __u64 user_data;
1: + __s64 time_ns;
1: + __u64 sequence;
1: };
1:
1: enum drm_mode_subconnector {
1: - DRM_MODE_SUBCONNECTOR_Automatic = 0,
1: - DRM_MODE_SUBCONNECTOR_Unknown = 0,
1: - DRM_MODE_SUBCONNECTOR_DVID = 3,
1: - DRM_MODE_SUBCONNECTOR_DVIA = 4,
1: - DRM_MODE_SUBCONNECTOR_Composite = 5,
1: - DRM_MODE_SUBCONNECTOR_SVIDEO = 6,
1: - DRM_MODE_SUBCONNECTOR_Component = 8,
1: - DRM_MODE_SUBCONNECTOR_SCART = 9,
1: + DRM_MODE_SUBCONNECTOR_Automatic = 0,
1: + DRM_MODE_SUBCONNECTOR_Unknown = 0,
1: + DRM_MODE_SUBCONNECTOR_DVID = 3,
1: + DRM_MODE_SUBCONNECTOR_DVIA = 4,
1: + DRM_MODE_SUBCONNECTOR_Composite = 5,
1: + DRM_MODE_SUBCONNECTOR_SVIDEO = 6,
1: + DRM_MODE_SUBCONNECTOR_Component = 8,
1: + DRM_MODE_SUBCONNECTOR_SCART = 9,
1: };
1:
1: struct drm_mode_fb_cmd2 {
1: - __u32 fb_id;
1: - __u32 width;
1: - __u32 height;
1: - __u32 pixel_format;
1: - __u32 flags;
1: - __u32 handles[4];
1: - __u32 pitches[4];
1: - __u32 offsets[4];
1: - __u64 modifier[4];
1: + __u32 fb_id;
1: + __u32 width;
1: + __u32 height;
1: + __u32 pixel_format;
1: + __u32 flags;
1: + __u32 handles[4];
1: + __u32 pitches[4];
1: + __u32 offsets[4];
1: + __u64 modifier[4];
1: };
1:
1: struct drm_mode_create_dumb {
1: - __u32 height;
1: - __u32 width;
1: - __u32 bpp;
1: - __u32 flags;
1: - __u32 handle;
1: - __u32 pitch;
1: - __u64 size;
1: + __u32 height;
1: + __u32 width;
1: + __u32 bpp;
1: + __u32 flags;
1: + __u32 handle;
1: + __u32 pitch;
1: + __u64 size;
1: };
1:
1: struct drm_modeset_lock;
1:
1: struct drm_modeset_acquire_ctx {
1: - struct ww_acquire_ctx ww_ctx;
1: - struct drm_modeset_lock *contended;
1: - struct list_head locked;
1: - bool trylock_only;
1: - bool interruptible;
1: + struct ww_acquire_ctx ww_ctx;
1: + struct drm_modeset_lock *contended;
1: + struct list_head locked;
1: + bool trylock_only;
1: + bool interruptible;
1: };
1:
1: struct drm_modeset_lock {
1: - struct ww_mutex mutex;
1: - struct list_head head;
1: + struct ww_mutex mutex;
1: + struct list_head head;
1: };
1:
1: struct drm_rect {
1: - int x1;
1: - int y1;
1: - int x2;
1: - int y2;
1: + int x1;
1: + int y1;
1: + int x2;
1: + int y2;
1: };
1:
1: struct drm_object_properties;
1:
1: struct drm_mode_object {
1: - uint32_t id;
1: - uint32_t type;
1: - struct drm_object_properties *properties;
1: - struct kref refcount;
1: - void (*free_cb)(struct kref *);
1: + uint32_t id;
1: + uint32_t type;
1: + struct drm_object_properties *properties;
1: + struct kref refcount;
1: + void (*free_cb)(struct kref *);
1: };
1:
1: struct drm_property;
1:
1: struct drm_object_properties {
1: - int count;
1: - struct drm_property *properties[24];
1: - uint64_t values[24];
1: + int count;
1: + struct drm_property *properties[24];
1: + uint64_t values[24];
1: };
1:
1: struct drm_device;
1:
1: struct drm_property {
1: - struct list_head head;
1: - struct drm_mode_object base;
1: - uint32_t flags;
1: - char name[32];
1: - uint32_t num_values;
1: - uint64_t *values;
1: - struct drm_device *dev;
1: - struct list_head enum_list;
1: + struct list_head head;
1: + struct drm_mode_object base;
1: + uint32_t flags;
1: + char name[32];
1: + uint32_t num_values;
1: + uint64_t *values;
1: + struct drm_device *dev;
1: + struct list_head enum_list;
1: };
1:
1: struct drm_framebuffer;
1: @@ -66163,9 +66647,11 @@ struct drm_framebuffer;
1: struct drm_file;
1:
1: struct drm_framebuffer_funcs {
1: - void (*destroy)(struct drm_framebuffer *);
1: - int (*create_handle)(struct drm_framebuffer *, struct drm_file *, unsigned int *);
1: - int (*dirty)(struct drm_framebuffer *, struct drm_file *, unsigned int, unsigned int, struct drm_clip_rect *, unsigned int);
1: + void (*destroy)(struct drm_framebuffer *);
1: + int (*create_handle)(struct drm_framebuffer *, struct drm_file *,
1: + unsigned int *);
1: + int (*dirty)(struct drm_framebuffer *, struct drm_file *, unsigned int,
1: + unsigned int, struct drm_clip_rect *, unsigned int);
1: };
1:
1: struct drm_format_info;
1: @@ -66173,28 +66659,28 @@ struct drm_format_info;
1: struct drm_gem_object;
1:
1: struct drm_framebuffer {
1: - struct drm_device *dev;
1: - struct list_head head;
1: - struct drm_mode_object base;
1: - char comm[16];
1: - const struct drm_format_info *format;
1: - const struct drm_framebuffer_funcs *funcs;
1: - unsigned int pitches[4];
1: - unsigned int offsets[4];
1: - uint64_t modifier;
1: - unsigned int width;
1: - unsigned int height;
1: - int flags;
1: - int hot_x;
1: - int hot_y;
1: - struct list_head filp_head;
1: - struct drm_gem_object *obj[4];
1: + struct drm_device *dev;
1: + struct list_head head;
1: + struct drm_mode_object base;
1: + char comm[16];
1: + const struct drm_format_info *format;
1: + const struct drm_framebuffer_funcs *funcs;
1: + unsigned int pitches[4];
1: + unsigned int offsets[4];
1: + uint64_t modifier;
1: + unsigned int width;
1: + unsigned int height;
1: + int flags;
1: + int hot_x;
1: + int hot_y;
1: + struct list_head filp_head;
1: + struct drm_gem_object *obj[4];
1: };
1:
1: struct drm_prime_file_private {
1: - struct mutex lock;
1: - struct rb_root dmabufs;
1: - struct rb_root handles;
1: + struct mutex lock;
1: + struct rb_root dmabufs;
1: + struct rb_root handles;
1: };
1:
1: struct drm_master;
1: @@ -66202,33 +66688,33 @@ struct drm_master;
1: struct drm_minor;
1:
1: struct drm_file {
1: - bool authenticated;
1: - bool stereo_allowed;
1: - bool universal_planes;
1: - bool atomic;
1: - bool aspect_ratio_allowed;
1: - bool writeback_connectors;
1: - bool is_master;
1: - struct drm_master *master;
1: - struct pid *pid;
1: - drm_magic_t magic;
1: - struct list_head lhead;
1: - struct drm_minor *minor;
1: - struct idr object_idr;
1: - spinlock_t table_lock;
1: - struct idr syncobj_idr;
1: - spinlock_t syncobj_table_lock;
1: - struct file *filp;
1: - void *driver_priv;
1: - struct list_head fbs;
1: - struct mutex fbs_lock;
1: - struct list_head blobs;
1: - wait_queue_head_t event_wait;
1: - struct list_head pending_event_list;
1: - struct list_head event_list;
1: - int event_space;
1: - struct mutex event_read_lock;
1: - struct drm_prime_file_private prime;
1: + bool authenticated;
1: + bool stereo_allowed;
1: + bool universal_planes;
1: + bool atomic;
1: + bool aspect_ratio_allowed;
1: + bool writeback_connectors;
1: + bool is_master;
1: + struct drm_master *master;
1: + struct pid *pid;
1: + drm_magic_t magic;
1: + struct list_head lhead;
1: + struct drm_minor *minor;
1: + struct idr object_idr;
1: + spinlock_t table_lock;
1: + struct idr syncobj_idr;
1: + spinlock_t syncobj_table_lock;
1: + struct file *filp;
1: + void *driver_priv;
1: + struct list_head fbs;
1: + struct mutex fbs_lock;
1: + struct list_head blobs;
1: + wait_queue_head_t event_wait;
1: + struct list_head pending_event_list;
1: + struct list_head event_list;
1: + int event_space;
1: + struct mutex event_read_lock;
1: + struct drm_prime_file_private prime;
1: };
1:
1: struct drm_mode_config_funcs;
1: @@ -66238,118 +66724,118 @@ struct drm_atomic_state;
1: struct drm_mode_config_helper_funcs;
1:
1: struct drm_mode_config {
1: - struct mutex mutex;
1: - struct drm_modeset_lock connection_mutex;
1: - struct drm_modeset_acquire_ctx *acquire_ctx;
1: - struct mutex idr_mutex;
1: - struct idr object_idr;
1: - struct idr tile_idr;
1: - struct mutex fb_lock;
1: - int num_fb;
1: - struct list_head fb_list;
1: - spinlock_t connector_list_lock;
1: - int num_connector;
1: - struct ida connector_ida;
1: - struct list_head connector_list;
1: - struct llist_head connector_free_list;
1: - struct work_struct connector_free_work;
1: - int num_encoder;
1: - struct list_head encoder_list;
1: - int num_total_plane;
1: - struct list_head plane_list;
1: - int num_crtc;
1: - struct list_head crtc_list;
1: - struct list_head property_list;
1: - struct list_head privobj_list;
1: - int min_width;
1: - int min_height;
1: - int max_width;
1: - int max_height;
1: - const struct drm_mode_config_funcs *funcs;
1: - resource_size_t fb_base;
1: - bool poll_enabled;
1: - bool poll_running;
1: - bool delayed_event;
1: - struct delayed_work output_poll_work;
1: - struct mutex blob_lock;
1: - struct list_head property_blob_list;
1: - struct drm_property *edid_property;
1: - struct drm_property *dpms_property;
1: - struct drm_property *path_property;
1: - struct drm_property *tile_property;
1: - struct drm_property *link_status_property;
1: - struct drm_property *plane_type_property;
1: - struct drm_property *prop_src_x;
1: - struct drm_property *prop_src_y;
1: - struct drm_property *prop_src_w;
1: - struct drm_property *prop_src_h;
1: - struct drm_property *prop_crtc_x;
1: - struct drm_property *prop_crtc_y;
1: - struct drm_property *prop_crtc_w;
1: - struct drm_property *prop_crtc_h;
1: - struct drm_property *prop_fb_id;
1: - struct drm_property *prop_in_fence_fd;
1: - struct drm_property *prop_out_fence_ptr;
1: - struct drm_property *prop_crtc_id;
1: - struct drm_property *prop_fb_damage_clips;
1: - struct drm_property *prop_active;
1: - struct drm_property *prop_mode_id;
1: - struct drm_property *prop_vrr_enabled;
1: - struct drm_property *dvi_i_subconnector_property;
1: - struct drm_property *dvi_i_select_subconnector_property;
1: - struct drm_property *tv_subconnector_property;
1: - struct drm_property *tv_select_subconnector_property;
1: - struct drm_property *tv_mode_property;
1: - struct drm_property *tv_left_margin_property;
1: - struct drm_property *tv_right_margin_property;
1: - struct drm_property *tv_top_margin_property;
1: - struct drm_property *tv_bottom_margin_property;
1: - struct drm_property *tv_brightness_property;
1: - struct drm_property *tv_contrast_property;
1: - struct drm_property *tv_flicker_reduction_property;
1: - struct drm_property *tv_overscan_property;
1: - struct drm_property *tv_saturation_property;
1: - struct drm_property *tv_hue_property;
1: - struct drm_property *scaling_mode_property;
1: - struct drm_property *aspect_ratio_property;
1: - struct drm_property *content_type_property;
1: - struct drm_property *degamma_lut_property;
1: - struct drm_property *degamma_lut_size_property;
1: - struct drm_property *ctm_property;
1: - struct drm_property *gamma_lut_property;
1: - struct drm_property *gamma_lut_size_property;
1: - struct drm_property *suggested_x_property;
1: - struct drm_property *suggested_y_property;
1: - struct drm_property *non_desktop_property;
1: - struct drm_property *panel_orientation_property;
1: - struct drm_property *writeback_fb_id_property;
1: - struct drm_property *writeback_pixel_formats_property;
1: - struct drm_property *writeback_out_fence_ptr_property;
1: - struct drm_property *hdr_output_metadata_property;
1: - struct drm_property *content_protection_property;
1: - struct drm_property *hdcp_content_type_property;
1: - uint32_t preferred_depth;
1: - uint32_t prefer_shadow;
1: - bool prefer_shadow_fbdev;
1: - bool quirk_addfb_prefer_xbgr_30bpp;
1: - bool quirk_addfb_prefer_host_byte_order;
1: - bool async_page_flip;
1: - bool allow_fb_modifiers;
1: - bool normalize_zpos;
1: - struct drm_property *modifiers_property;
1: - uint32_t cursor_width;
1: - uint32_t cursor_height;
1: - struct drm_atomic_state *suspend_state;
1: - const struct drm_mode_config_helper_funcs *helper_private;
1: + struct mutex mutex;
1: + struct drm_modeset_lock connection_mutex;
1: + struct drm_modeset_acquire_ctx *acquire_ctx;
1: + struct mutex idr_mutex;
1: + struct idr object_idr;
1: + struct idr tile_idr;
1: + struct mutex fb_lock;
1: + int num_fb;
1: + struct list_head fb_list;
1: + spinlock_t connector_list_lock;
1: + int num_connector;
1: + struct ida connector_ida;
1: + struct list_head connector_list;
1: + struct llist_head connector_free_list;
1: + struct work_struct connector_free_work;
1: + int num_encoder;
1: + struct list_head encoder_list;
1: + int num_total_plane;
1: + struct list_head plane_list;
1: + int num_crtc;
1: + struct list_head crtc_list;
1: + struct list_head property_list;
1: + struct list_head privobj_list;
1: + int min_width;
1: + int min_height;
1: + int max_width;
1: + int max_height;
1: + const struct drm_mode_config_funcs *funcs;
1: + resource_size_t fb_base;
1: + bool poll_enabled;
1: + bool poll_running;
1: + bool delayed_event;
1: + struct delayed_work output_poll_work;
1: + struct mutex blob_lock;
1: + struct list_head property_blob_list;
1: + struct drm_property *edid_property;
1: + struct drm_property *dpms_property;
1: + struct drm_property *path_property;
1: + struct drm_property *tile_property;
1: + struct drm_property *link_status_property;
1: + struct drm_property *plane_type_property;
1: + struct drm_property *prop_src_x;
1: + struct drm_property *prop_src_y;
1: + struct drm_property *prop_src_w;
1: + struct drm_property *prop_src_h;
1: + struct drm_property *prop_crtc_x;
1: + struct drm_property *prop_crtc_y;
1: + struct drm_property *prop_crtc_w;
1: + struct drm_property *prop_crtc_h;
1: + struct drm_property *prop_fb_id;
1: + struct drm_property *prop_in_fence_fd;
1: + struct drm_property *prop_out_fence_ptr;
1: + struct drm_property *prop_crtc_id;
1: + struct drm_property *prop_fb_damage_clips;
1: + struct drm_property *prop_active;
1: + struct drm_property *prop_mode_id;
1: + struct drm_property *prop_vrr_enabled;
1: + struct drm_property *dvi_i_subconnector_property;
1: + struct drm_property *dvi_i_select_subconnector_property;
1: + struct drm_property *tv_subconnector_property;
1: + struct drm_property *tv_select_subconnector_property;
1: + struct drm_property *tv_mode_property;
1: + struct drm_property *tv_left_margin_property;
1: + struct drm_property *tv_right_margin_property;
1: + struct drm_property *tv_top_margin_property;
1: + struct drm_property *tv_bottom_margin_property;
1: + struct drm_property *tv_brightness_property;
1: + struct drm_property *tv_contrast_property;
1: + struct drm_property *tv_flicker_reduction_property;
1: + struct drm_property *tv_overscan_property;
1: + struct drm_property *tv_saturation_property;
1: + struct drm_property *tv_hue_property;
1: + struct drm_property *scaling_mode_property;
1: + struct drm_property *aspect_ratio_property;
1: + struct drm_property *content_type_property;
1: + struct drm_property *degamma_lut_property;
1: + struct drm_property *degamma_lut_size_property;
1: + struct drm_property *ctm_property;
1: + struct drm_property *gamma_lut_property;
1: + struct drm_property *gamma_lut_size_property;
1: + struct drm_property *suggested_x_property;
1: + struct drm_property *suggested_y_property;
1: + struct drm_property *non_desktop_property;
1: + struct drm_property *panel_orientation_property;
1: + struct drm_property *writeback_fb_id_property;
1: + struct drm_property *writeback_pixel_formats_property;
1: + struct drm_property *writeback_out_fence_ptr_property;
1: + struct drm_property *hdr_output_metadata_property;
1: + struct drm_property *content_protection_property;
1: + struct drm_property *hdcp_content_type_property;
1: + uint32_t preferred_depth;
1: + uint32_t prefer_shadow;
1: + bool prefer_shadow_fbdev;
1: + bool quirk_addfb_prefer_xbgr_30bpp;
1: + bool quirk_addfb_prefer_host_byte_order;
1: + bool async_page_flip;
1: + bool allow_fb_modifiers;
1: + bool normalize_zpos;
1: + struct drm_property *modifiers_property;
1: + uint32_t cursor_width;
1: + uint32_t cursor_height;
1: + struct drm_atomic_state *suspend_state;
1: + const struct drm_mode_config_helper_funcs *helper_private;
1: };
1:
1: struct drm_vram_mm;
1:
1: enum switch_power_state {
1: - DRM_SWITCH_POWER_ON = 0,
1: - DRM_SWITCH_POWER_OFF = 1,
1: - DRM_SWITCH_POWER_CHANGING = 2,
1: - DRM_SWITCH_POWER_DYNAMIC_OFF = 3,
1: + DRM_SWITCH_POWER_ON = 0,
1: + DRM_SWITCH_POWER_OFF = 1,
1: + DRM_SWITCH_POWER_CHANGING = 2,
1: + DRM_SWITCH_POWER_DYNAMIC_OFF = 3,
1: };
1:
1: struct drm_driver;
1: @@ -66363,154 +66849,154 @@ struct drm_vma_offset_manager;
1: struct drm_fb_helper;
1:
1: struct drm_device {
1: - struct list_head legacy_dev_list;
1: - int if_version;
1: - struct kref ref;
1: - struct device *dev;
1: - struct drm_driver *driver;
1: - void *dev_private;
1: - struct drm_minor *primary;
1: - struct drm_minor *render;
1: - bool registered;
1: - struct drm_master *master;
1: - u32 driver_features;
1: - bool unplugged;
1: - struct inode *anon_inode;
1: - char *unique;
1: - struct mutex struct_mutex;
1: - struct mutex master_mutex;
1: - int open_count;
1: - struct mutex filelist_mutex;
1: - struct list_head filelist;
1: - struct list_head filelist_internal;
1: - struct mutex clientlist_mutex;
1: - struct list_head clientlist;
1: - bool irq_enabled;
1: - int irq;
1: - bool vblank_disable_immediate;
1: - struct drm_vblank_crtc *vblank;
1: - spinlock_t vblank_time_lock;
1: - spinlock_t vbl_lock;
1: - u32 max_vblank_count;
1: - struct list_head vblank_event_list;
1: - spinlock_t event_lock;
1: - struct drm_agp_head *agp;
1: - struct pci_dev *pdev;
1: - unsigned int num_crtcs;
1: - struct drm_mode_config mode_config;
1: - struct mutex object_name_lock;
1: - struct idr object_name_idr;
1: - struct drm_vma_offset_manager *vma_offset_manager;
1: - struct drm_vram_mm *vram_mm;
1: - enum switch_power_state switch_power_state;
1: - struct drm_fb_helper *fb_helper;
1: + struct list_head legacy_dev_list;
1: + int if_version;
1: + struct kref ref;
1: + struct device *dev;
1: + struct drm_driver *driver;
1: + void *dev_private;
1: + struct drm_minor *primary;
1: + struct drm_minor *render;
1: + bool registered;
1: + struct drm_master *master;
1: + u32 driver_features;
1: + bool unplugged;
1: + struct inode *anon_inode;
1: + char *unique;
1: + struct mutex struct_mutex;
1: + struct mutex master_mutex;
1: + int open_count;
1: + struct mutex filelist_mutex;
1: + struct list_head filelist;
1: + struct list_head filelist_internal;
1: + struct mutex clientlist_mutex;
1: + struct list_head clientlist;
1: + bool irq_enabled;
1: + int irq;
1: + bool vblank_disable_immediate;
1: + struct drm_vblank_crtc *vblank;
1: + spinlock_t vblank_time_lock;
1: + spinlock_t vbl_lock;
1: + u32 max_vblank_count;
1: + struct list_head vblank_event_list;
1: + spinlock_t event_lock;
1: + struct drm_agp_head *agp;
1: + struct pci_dev *pdev;
1: + unsigned int num_crtcs;
1: + struct drm_mode_config mode_config;
1: + struct mutex object_name_lock;
1: + struct idr object_name_idr;
1: + struct drm_vma_offset_manager *vma_offset_manager;
1: + struct drm_vram_mm *vram_mm;
1: + enum switch_power_state switch_power_state;
1: + struct drm_fb_helper *fb_helper;
1: };
1:
1: struct drm_format_info {
1: - u32 format;
1: - u8 depth;
1: - u8 num_planes;
1: - union {
1: - u8 cpp[3];
1: - u8 char_per_block[3];
1: - };
1: - u8 block_w[3];
1: - u8 block_h[3];
1: - u8 hsub;
1: - u8 vsub;
1: - bool has_alpha;
1: - bool is_yuv;
1: + u32 format;
1: + u8 depth;
1: + u8 num_planes;
1: + union {
1: + u8 cpp[3];
1: + u8 char_per_block[3];
1: + };
1: + u8 block_w[3];
1: + u8 block_h[3];
1: + u8 hsub;
1: + u8 vsub;
1: + bool has_alpha;
1: + bool is_yuv;
1: };
1:
1: enum drm_connector_force {
1: - DRM_FORCE_UNSPECIFIED = 0,
1: - DRM_FORCE_OFF = 1,
1: - DRM_FORCE_ON = 2,
1: - DRM_FORCE_ON_DIGITAL = 3,
1: + DRM_FORCE_UNSPECIFIED = 0,
1: + DRM_FORCE_OFF = 1,
1: + DRM_FORCE_ON = 2,
1: + DRM_FORCE_ON_DIGITAL = 3,
1: };
1:
1: enum drm_connector_status {
1: - connector_status_connected = 1,
1: - connector_status_disconnected = 2,
1: - connector_status_unknown = 3,
1: + connector_status_connected = 1,
1: + connector_status_disconnected = 2,
1: + connector_status_unknown = 3,
1: };
1:
1: enum drm_connector_registration_state {
1: - DRM_CONNECTOR_INITIALIZING = 0,
1: - DRM_CONNECTOR_REGISTERED = 1,
1: - DRM_CONNECTOR_UNREGISTERED = 2,
1: + DRM_CONNECTOR_INITIALIZING = 0,
1: + DRM_CONNECTOR_REGISTERED = 1,
1: + DRM_CONNECTOR_UNREGISTERED = 2,
1: };
1:
1: enum subpixel_order {
1: - SubPixelUnknown = 0,
1: - SubPixelHorizontalRGB = 1,
1: - SubPixelHorizontalBGR = 2,
1: - SubPixelVerticalRGB = 3,
1: - SubPixelVerticalBGR = 4,
1: - SubPixelNone = 5,
1: + SubPixelUnknown = 0,
1: + SubPixelHorizontalRGB = 1,
1: + SubPixelHorizontalBGR = 2,
1: + SubPixelVerticalRGB = 3,
1: + SubPixelVerticalBGR = 4,
1: + SubPixelNone = 5,
1: };
1:
1: struct drm_scrambling {
1: - bool supported;
1: - bool low_rates;
1: + bool supported;
1: + bool low_rates;
1: };
1:
1: struct drm_scdc {
1: - bool supported;
1: - bool read_request;
1: - struct drm_scrambling scrambling;
1: + bool supported;
1: + bool read_request;
1: + struct drm_scrambling scrambling;
1: };
1:
1: struct drm_hdmi_info {
1: - struct drm_scdc scdc;
1: - long unsigned int y420_vdb_modes[2];
1: - long unsigned int y420_cmdb_modes[2];
1: - u64 y420_cmdb_map;
1: - u8 y420_dc_modes;
1: + struct drm_scdc scdc;
1: + long unsigned int y420_vdb_modes[2];
1: + long unsigned int y420_cmdb_modes[2];
1: + u64 y420_cmdb_map;
1: + u8 y420_dc_modes;
1: };
1:
1: enum drm_link_status {
1: - DRM_LINK_STATUS_GOOD = 0,
1: - DRM_LINK_STATUS_BAD = 1,
1: + DRM_LINK_STATUS_GOOD = 0,
1: + DRM_LINK_STATUS_BAD = 1,
1: };
1:
1: struct drm_display_info {
1: - unsigned int width_mm;
1: - unsigned int height_mm;
1: - unsigned int bpc;
1: - enum subpixel_order subpixel_order;
1: - int panel_orientation;
1: - u32 color_formats;
1: - const u32 *bus_formats;
1: - unsigned int num_bus_formats;
1: - u32 bus_flags;
1: - int max_tmds_clock;
1: - bool dvi_dual;
1: - bool has_hdmi_infoframe;
1: - bool rgb_quant_range_selectable;
1: - u8 edid_hdmi_dc_modes;
1: - u8 cea_rev;
1: - struct drm_hdmi_info hdmi;
1: - bool non_desktop;
1: + unsigned int width_mm;
1: + unsigned int height_mm;
1: + unsigned int bpc;
1: + enum subpixel_order subpixel_order;
1: + int panel_orientation;
1: + u32 color_formats;
1: + const u32 *bus_formats;
1: + unsigned int num_bus_formats;
1: + u32 bus_flags;
1: + int max_tmds_clock;
1: + bool dvi_dual;
1: + bool has_hdmi_infoframe;
1: + bool rgb_quant_range_selectable;
1: + u8 edid_hdmi_dc_modes;
1: + u8 cea_rev;
1: + struct drm_hdmi_info hdmi;
1: + bool non_desktop;
1: };
1:
1: struct drm_connector_tv_margins {
1: - unsigned int bottom;
1: - unsigned int left;
1: - unsigned int right;
1: - unsigned int top;
1: + unsigned int bottom;
1: + unsigned int left;
1: + unsigned int right;
1: + unsigned int top;
1: };
1:
1: struct drm_tv_connector_state {
1: - enum drm_mode_subconnector subconnector;
1: - struct drm_connector_tv_margins margins;
1: - unsigned int mode;
1: - unsigned int brightness;
1: - unsigned int contrast;
1: - unsigned int flicker_reduction;
1: - unsigned int overscan;
1: - unsigned int saturation;
1: - unsigned int hue;
1: + enum drm_mode_subconnector subconnector;
1: + struct drm_connector_tv_margins margins;
1: + unsigned int mode;
1: + unsigned int brightness;
1: + unsigned int contrast;
1: + unsigned int flicker_reduction;
1: + unsigned int overscan;
1: + unsigned int saturation;
1: + unsigned int hue;
1: };
1:
1: struct drm_connector;
1: @@ -66526,42 +67012,42 @@ struct drm_writeback_job;
1: struct drm_property_blob;
1:
1: struct drm_connector_state {
1: - struct drm_connector *connector;
1: - struct drm_crtc *crtc;
1: - struct drm_encoder *best_encoder;
1: - enum drm_link_status link_status;
1: - struct drm_atomic_state *state;
1: - struct drm_crtc_commit *commit;
1: - struct drm_tv_connector_state tv;
1: - bool self_refresh_aware;
1: - enum hdmi_picture_aspect picture_aspect_ratio;
1: - unsigned int content_type;
1: - unsigned int hdcp_content_type;
1: - unsigned int scaling_mode;
1: - unsigned int content_protection;
1: - u32 colorspace;
1: - struct drm_writeback_job *writeback_job;
1: - u8 max_requested_bpc;
1: - u8 max_bpc;
1: - struct drm_property_blob *hdr_output_metadata;
1: + struct drm_connector *connector;
1: + struct drm_crtc *crtc;
1: + struct drm_encoder *best_encoder;
1: + enum drm_link_status link_status;
1: + struct drm_atomic_state *state;
1: + struct drm_crtc_commit *commit;
1: + struct drm_tv_connector_state tv;
1: + bool self_refresh_aware;
1: + enum hdmi_picture_aspect picture_aspect_ratio;
1: + unsigned int content_type;
1: + unsigned int hdcp_content_type;
1: + unsigned int scaling_mode;
1: + unsigned int content_protection;
1: + u32 colorspace;
1: + struct drm_writeback_job *writeback_job;
1: + u8 max_requested_bpc;
1: + u8 max_bpc;
1: + struct drm_property_blob *hdr_output_metadata;
1: };
1:
1: struct drm_cmdline_mode {
1: - char name[32];
1: - bool specified;
1: - bool refresh_specified;
1: - bool bpp_specified;
1: - int xres;
1: - int yres;
1: - int bpp;
1: - int refresh;
1: - bool rb;
1: - bool interlace;
1: - bool cvt;
1: - bool margins;
1: - enum drm_connector_force force;
1: - unsigned int rotation_reflection;
1: - struct drm_connector_tv_margins tv_margins;
1: + char name[32];
1: + bool specified;
1: + bool refresh_specified;
1: + bool bpp_specified;
1: + int xres;
1: + int yres;
1: + int bpp;
1: + int refresh;
1: + bool rb;
1: + bool interlace;
1: + bool cvt;
1: + bool margins;
1: + enum drm_connector_force force;
1: + unsigned int rotation_reflection;
1: + struct drm_connector_tv_margins tv_margins;
1: };
1:
1: struct drm_connector_funcs;
1: @@ -66571,161 +67057,161 @@ struct drm_connector_helper_funcs;
1: struct drm_tile_group;
1:
1: struct drm_connector {
1: - struct drm_device *dev;
1: - struct device *kdev;
1: - struct device_attribute *attr;
1: - struct list_head head;
1: - struct drm_mode_object base;
1: - char *name;
1: - struct mutex mutex;
1: - unsigned int index;
1: - int connector_type;
1: - int connector_type_id;
1: - bool interlace_allowed;
1: - bool doublescan_allowed;
1: - bool stereo_allowed;
1: - bool ycbcr_420_allowed;
1: - enum drm_connector_registration_state registration_state;
1: - struct list_head modes;
1: - enum drm_connector_status status;
1: - struct list_head probed_modes;
1: - struct drm_display_info display_info;
1: - const struct drm_connector_funcs *funcs;
1: - struct drm_property_blob *edid_blob_ptr;
1: - struct drm_object_properties properties;
1: - struct drm_property *scaling_mode_property;
1: - struct drm_property *vrr_capable_property;
1: - struct drm_property *colorspace_property;
1: - struct drm_property_blob *path_blob_ptr;
1: - struct drm_property *max_bpc_property;
1: - uint8_t polled;
1: - int dpms;
1: - const struct drm_connector_helper_funcs *helper_private;
1: - struct drm_cmdline_mode cmdline_mode;
1: - enum drm_connector_force force;
1: - bool override_edid;
1: - u32 possible_encoders;
1: - struct drm_encoder *encoder;
1: - uint8_t eld[128];
1: - bool latency_present[2];
1: - int video_latency[2];
1: - int audio_latency[2];
1: - struct i2c_adapter *ddc;
1: - int null_edid_counter;
1: - unsigned int bad_edid_counter;
1: - bool edid_corrupt;
1: - struct dentry *debugfs_entry;
1: - struct drm_connector_state *state;
1: - struct drm_property_blob *tile_blob_ptr;
1: - bool has_tile;
1: - struct drm_tile_group *tile_group;
1: - bool tile_is_single_monitor;
1: - uint8_t num_h_tile;
1: - uint8_t num_v_tile;
1: - uint8_t tile_h_loc;
1: - uint8_t tile_v_loc;
1: - uint16_t tile_h_size;
1: - uint16_t tile_v_size;
1: - struct llist_node free_node;
1: - struct hdr_sink_metadata hdr_sink_metadata;
1: + struct drm_device *dev;
1: + struct device *kdev;
1: + struct device_attribute *attr;
1: + struct list_head head;
1: + struct drm_mode_object base;
1: + char *name;
1: + struct mutex mutex;
1: + unsigned int index;
1: + int connector_type;
1: + int connector_type_id;
1: + bool interlace_allowed;
1: + bool doublescan_allowed;
1: + bool stereo_allowed;
1: + bool ycbcr_420_allowed;
1: + enum drm_connector_registration_state registration_state;
1: + struct list_head modes;
1: + enum drm_connector_status status;
1: + struct list_head probed_modes;
1: + struct drm_display_info display_info;
1: + const struct drm_connector_funcs *funcs;
1: + struct drm_property_blob *edid_blob_ptr;
1: + struct drm_object_properties properties;
1: + struct drm_property *scaling_mode_property;
1: + struct drm_property *vrr_capable_property;
1: + struct drm_property *colorspace_property;
1: + struct drm_property_blob *path_blob_ptr;
1: + struct drm_property *max_bpc_property;
1: + uint8_t polled;
1: + int dpms;
1: + const struct drm_connector_helper_funcs *helper_private;
1: + struct drm_cmdline_mode cmdline_mode;
1: + enum drm_connector_force force;
1: + bool override_edid;
1: + u32 possible_encoders;
1: + struct drm_encoder *encoder;
1: + uint8_t eld[128];
1: + bool latency_present[2];
1: + int video_latency[2];
1: + int audio_latency[2];
1: + struct i2c_adapter *ddc;
1: + int null_edid_counter;
1: + unsigned int bad_edid_counter;
1: + bool edid_corrupt;
1: + struct dentry *debugfs_entry;
1: + struct drm_connector_state *state;
1: + struct drm_property_blob *tile_blob_ptr;
1: + bool has_tile;
1: + struct drm_tile_group *tile_group;
1: + bool tile_is_single_monitor;
1: + uint8_t num_h_tile;
1: + uint8_t num_v_tile;
1: + uint8_t tile_h_loc;
1: + uint8_t tile_v_loc;
1: + uint16_t tile_h_size;
1: + uint16_t tile_v_size;
1: + struct llist_node free_node;
1: + struct hdr_sink_metadata hdr_sink_metadata;
1: };
1:
1: enum drm_mode_status {
1: - MODE_OK = 0,
1: - MODE_HSYNC = 1,
1: - MODE_VSYNC = 2,
1: - MODE_H_ILLEGAL = 3,
1: - MODE_V_ILLEGAL = 4,
1: - MODE_BAD_WIDTH = 5,
1: - MODE_NOMODE = 6,
1: - MODE_NO_INTERLACE = 7,
1: - MODE_NO_DBLESCAN = 8,
1: - MODE_NO_VSCAN = 9,
1: - MODE_MEM = 10,
1: - MODE_VIRTUAL_X = 11,
1: - MODE_VIRTUAL_Y = 12,
1: - MODE_MEM_VIRT = 13,
1: - MODE_NOCLOCK = 14,
1: - MODE_CLOCK_HIGH = 15,
1: - MODE_CLOCK_LOW = 16,
1: - MODE_CLOCK_RANGE = 17,
1: - MODE_BAD_HVALUE = 18,
1: - MODE_BAD_VVALUE = 19,
1: - MODE_BAD_VSCAN = 20,
1: - MODE_HSYNC_NARROW = 21,
1: - MODE_HSYNC_WIDE = 22,
1: - MODE_HBLANK_NARROW = 23,
1: - MODE_HBLANK_WIDE = 24,
1: - MODE_VSYNC_NARROW = 25,
1: - MODE_VSYNC_WIDE = 26,
1: - MODE_VBLANK_NARROW = 27,
1: - MODE_VBLANK_WIDE = 28,
1: - MODE_PANEL = 29,
1: - MODE_INTERLACE_WIDTH = 30,
1: - MODE_ONE_WIDTH = 31,
1: - MODE_ONE_HEIGHT = 32,
1: - MODE_ONE_SIZE = 33,
1: - MODE_NO_REDUCED = 34,
1: - MODE_NO_STEREO = 35,
1: - MODE_NO_420 = 36,
1: - MODE_STALE = -3,
1: - MODE_BAD = -2,
1: - MODE_ERROR = -1,
1: + MODE_OK = 0,
1: + MODE_HSYNC = 1,
1: + MODE_VSYNC = 2,
1: + MODE_H_ILLEGAL = 3,
1: + MODE_V_ILLEGAL = 4,
1: + MODE_BAD_WIDTH = 5,
1: + MODE_NOMODE = 6,
1: + MODE_NO_INTERLACE = 7,
1: + MODE_NO_DBLESCAN = 8,
1: + MODE_NO_VSCAN = 9,
1: + MODE_MEM = 10,
1: + MODE_VIRTUAL_X = 11,
1: + MODE_VIRTUAL_Y = 12,
1: + MODE_MEM_VIRT = 13,
1: + MODE_NOCLOCK = 14,
1: + MODE_CLOCK_HIGH = 15,
1: + MODE_CLOCK_LOW = 16,
1: + MODE_CLOCK_RANGE = 17,
1: + MODE_BAD_HVALUE = 18,
1: + MODE_BAD_VVALUE = 19,
1: + MODE_BAD_VSCAN = 20,
1: + MODE_HSYNC_NARROW = 21,
1: + MODE_HSYNC_WIDE = 22,
1: + MODE_HBLANK_NARROW = 23,
1: + MODE_HBLANK_WIDE = 24,
1: + MODE_VSYNC_NARROW = 25,
1: + MODE_VSYNC_WIDE = 26,
1: + MODE_VBLANK_NARROW = 27,
1: + MODE_VBLANK_WIDE = 28,
1: + MODE_PANEL = 29,
1: + MODE_INTERLACE_WIDTH = 30,
1: + MODE_ONE_WIDTH = 31,
1: + MODE_ONE_HEIGHT = 32,
1: + MODE_ONE_SIZE = 33,
1: + MODE_NO_REDUCED = 34,
1: + MODE_NO_STEREO = 35,
1: + MODE_NO_420 = 36,
1: + MODE_STALE = -3,
1: + MODE_BAD = -2,
1: + MODE_ERROR = -1,
1: };
1:
1: struct drm_display_mode {
1: - struct list_head head;
1: - char name[32];
1: - enum drm_mode_status status;
1: - unsigned int type;
1: - int clock;
1: - int hdisplay;
1: - int hsync_start;
1: - int hsync_end;
1: - int htotal;
1: - int hskew;
1: - int vdisplay;
1: - int vsync_start;
1: - int vsync_end;
1: - int vtotal;
1: - int vscan;
1: - unsigned int flags;
1: - int width_mm;
1: - int height_mm;
1: - int crtc_clock;
1: - int crtc_hdisplay;
1: - int crtc_hblank_start;
1: - int crtc_hblank_end;
1: - int crtc_hsync_start;
1: - int crtc_hsync_end;
1: - int crtc_htotal;
1: - int crtc_hskew;
1: - int crtc_vdisplay;
1: - int crtc_vblank_start;
1: - int crtc_vblank_end;
1: - int crtc_vsync_start;
1: - int crtc_vsync_end;
1: - int crtc_vtotal;
1: - int *private;
1: - int private_flags;
1: - int vrefresh;
1: - int hsync;
1: - enum hdmi_picture_aspect picture_aspect_ratio;
1: - struct list_head export_head;
1: + struct list_head head;
1: + char name[32];
1: + enum drm_mode_status status;
1: + unsigned int type;
1: + int clock;
1: + int hdisplay;
1: + int hsync_start;
1: + int hsync_end;
1: + int htotal;
1: + int hskew;
1: + int vdisplay;
1: + int vsync_start;
1: + int vsync_end;
1: + int vtotal;
1: + int vscan;
1: + unsigned int flags;
1: + int width_mm;
1: + int height_mm;
1: + int crtc_clock;
1: + int crtc_hdisplay;
1: + int crtc_hblank_start;
1: + int crtc_hblank_end;
1: + int crtc_hsync_start;
1: + int crtc_hsync_end;
1: + int crtc_htotal;
1: + int crtc_hskew;
1: + int crtc_vdisplay;
1: + int crtc_vblank_start;
1: + int crtc_vblank_end;
1: + int crtc_vsync_start;
1: + int crtc_vsync_end;
1: + int crtc_vtotal;
1: + int *private;
1: + int private_flags;
1: + int vrefresh;
1: + int hsync;
1: + enum hdmi_picture_aspect picture_aspect_ratio;
1: + struct list_head export_head;
1: };
1:
1: struct drm_crtc_crc_entry;
1:
1: struct drm_crtc_crc {
1: - spinlock_t lock;
1: - const char *source;
1: - bool opened;
1: - bool overflow;
1: - struct drm_crtc_crc_entry *entries;
1: - int head;
1: - int tail;
1: - size_t values_cnt;
1: - wait_queue_head_t wq;
1: + spinlock_t lock;
1: + const char *source;
1: + bool opened;
1: + bool overflow;
1: + struct drm_crtc_crc_entry *entries;
1: + int head;
1: + int tail;
1: + size_t values_cnt;
1: + wait_queue_head_t wq;
1: };
1:
1: struct drm_plane;
1: @@ -66739,37 +67225,37 @@ struct drm_crtc_state;
1: struct drm_self_refresh_data;
1:
1: struct drm_crtc {
1: - struct drm_device *dev;
1: - struct device_node *port;
1: - struct list_head head;
1: - char *name;
1: - struct drm_modeset_lock mutex;
1: - struct drm_mode_object base;
1: - struct drm_plane *primary;
1: - struct drm_plane *cursor;
1: - unsigned int index;
1: - int cursor_x;
1: - int cursor_y;
1: - bool enabled;
1: - struct drm_display_mode mode;
1: - struct drm_display_mode hwmode;
1: - int x;
1: - int y;
1: - const struct drm_crtc_funcs *funcs;
1: - uint32_t gamma_size;
1: - uint16_t *gamma_store;
1: - const struct drm_crtc_helper_funcs *helper_private;
1: - struct drm_object_properties properties;
1: - struct drm_crtc_state *state;
1: - struct list_head commit_list;
1: - spinlock_t commit_lock;
1: - struct dentry *debugfs_entry;
1: - struct drm_crtc_crc crc;
1: - unsigned int fence_context;
1: - spinlock_t fence_lock;
1: - long unsigned int fence_seqno;
1: - char timeline_name[32];
1: - struct drm_self_refresh_data *self_refresh_data;
1: + struct drm_device *dev;
1: + struct device_node *port;
1: + struct list_head head;
1: + char *name;
1: + struct drm_modeset_lock mutex;
1: + struct drm_mode_object base;
1: + struct drm_plane *primary;
1: + struct drm_plane *cursor;
1: + unsigned int index;
1: + int cursor_x;
1: + int cursor_y;
1: + bool enabled;
1: + struct drm_display_mode mode;
1: + struct drm_display_mode hwmode;
1: + int x;
1: + int y;
1: + const struct drm_crtc_funcs *funcs;
1: + uint32_t gamma_size;
1: + uint16_t *gamma_store;
1: + const struct drm_crtc_helper_funcs *helper_private;
1: + struct drm_object_properties properties;
1: + struct drm_crtc_state *state;
1: + struct list_head commit_list;
1: + spinlock_t commit_lock;
1: + struct dentry *debugfs_entry;
1: + struct drm_crtc_crc crc;
1: + unsigned int fence_context;
1: + spinlock_t fence_lock;
1: + long unsigned int fence_seqno;
1: + char timeline_name[32];
1: + struct drm_self_refresh_data *self_refresh_data;
1: };
1:
1: struct drm_bridge;
1: @@ -66779,18 +67265,18 @@ struct drm_encoder_funcs;
1: struct drm_encoder_helper_funcs;
1:
1: struct drm_encoder {
1: - struct drm_device *dev;
1: - struct list_head head;
1: - struct drm_mode_object base;
1: - char *name;
1: - int encoder_type;
1: - unsigned int index;
1: - uint32_t possible_crtcs;
1: - uint32_t possible_clones;
1: - struct drm_crtc *crtc;
1: - struct drm_bridge *bridge;
1: - const struct drm_encoder_funcs *funcs;
1: - const struct drm_encoder_helper_funcs *helper_private;
1: + struct drm_device *dev;
1: + struct list_head head;
1: + struct drm_mode_object base;
1: + char *name;
1: + int encoder_type;
1: + unsigned int index;
1: + uint32_t possible_crtcs;
1: + uint32_t possible_clones;
1: + struct drm_crtc *crtc;
1: + struct drm_bridge *bridge;
1: + const struct drm_encoder_funcs *funcs;
1: + const struct drm_encoder_helper_funcs *helper_private;
1: };
1:
1: struct __drm_planes_state;
1: @@ -66802,111 +67288,125 @@ struct __drm_connnectors_state;
1: struct __drm_private_objs_state;
1:
1: struct drm_atomic_state {
1: - struct kref ref;
1: - struct drm_device *dev;
1: - bool allow_modeset: 1;
1: - bool legacy_cursor_update: 1;
1: - bool async_update: 1;
1: - bool duplicated: 1;
1: - struct __drm_planes_state *planes;
1: - struct __drm_crtcs_state *crtcs;
1: - int num_connector;
1: - struct __drm_connnectors_state *connectors;
1: - int num_private_objs;
1: - struct __drm_private_objs_state *private_objs;
1: - struct drm_modeset_acquire_ctx *acquire_ctx;
1: - struct drm_crtc_commit *fake_commit;
1: - struct work_struct commit_work;
1: + struct kref ref;
1: + struct drm_device *dev;
1: + bool allow_modeset : 1;
1: + bool legacy_cursor_update : 1;
1: + bool async_update : 1;
1: + bool duplicated : 1;
1: + struct __drm_planes_state *planes;
1: + struct __drm_crtcs_state *crtcs;
1: + int num_connector;
1: + struct __drm_connnectors_state *connectors;
1: + int num_private_objs;
1: + struct __drm_private_objs_state *private_objs;
1: + struct drm_modeset_acquire_ctx *acquire_ctx;
1: + struct drm_crtc_commit *fake_commit;
1: + struct work_struct commit_work;
1: };
1:
1: struct drm_pending_vblank_event;
1:
1: struct drm_crtc_commit {
1: - struct drm_crtc *crtc;
1: - struct kref ref;
1: - struct completion flip_done;
1: - struct completion hw_done;
1: - struct completion cleanup_done;
1: - struct list_head commit_entry;
1: - struct drm_pending_vblank_event *event;
1: - bool abort_completion;
1: + struct drm_crtc *crtc;
1: + struct kref ref;
1: + struct completion flip_done;
1: + struct completion hw_done;
1: + struct completion cleanup_done;
1: + struct list_head commit_entry;
1: + struct drm_pending_vblank_event *event;
1: + bool abort_completion;
1: };
1:
1: struct drm_property_blob {
1: - struct drm_mode_object base;
1: - struct drm_device *dev;
1: - struct list_head head_global;
1: - struct list_head head_file;
1: - size_t length;
1: - void *data;
1: + struct drm_mode_object base;
1: + struct drm_device *dev;
1: + struct list_head head_global;
1: + struct list_head head_file;
1: + size_t length;
1: + void *data;
1: };
1:
1: struct drm_printer;
1:
1: struct drm_connector_funcs {
1: - int (*dpms)(struct drm_connector *, int);
1: - void (*reset)(struct drm_connector *);
1: - enum drm_connector_status (*detect)(struct drm_connector *, bool);
1: - void (*force)(struct drm_connector *);
1: - int (*fill_modes)(struct drm_connector *, uint32_t, uint32_t);
1: - int (*set_property)(struct drm_connector *, struct drm_property *, uint64_t);
1: - int (*late_register)(struct drm_connector *);
1: - void (*early_unregister)(struct drm_connector *);
1: - void (*destroy)(struct drm_connector *);
1: - struct drm_connector_state * (*atomic_duplicate_state)(struct drm_connector *);
1: - void (*atomic_destroy_state)(struct drm_connector *, struct drm_connector_state *);
1: - int (*atomic_set_property)(struct drm_connector *, struct drm_connector_state *, struct drm_property *, uint64_t);
1: - int (*atomic_get_property)(struct drm_connector *, const struct drm_connector_state *, struct drm_property *, uint64_t *);
1: - void (*atomic_print_state)(struct drm_printer *, const struct drm_connector_state *);
1: + int (*dpms)(struct drm_connector *, int);
1: + void (*reset)(struct drm_connector *);
1: + enum drm_connector_status (*detect)(struct drm_connector *, bool);
1: + void (*force)(struct drm_connector *);
1: + int (*fill_modes)(struct drm_connector *, uint32_t, uint32_t);
1: + int (*set_property)(struct drm_connector *, struct drm_property *, uint64_t);
1: + int (*late_register)(struct drm_connector *);
1: + void (*early_unregister)(struct drm_connector *);
1: + void (*destroy)(struct drm_connector *);
1: + struct drm_connector_state *(*atomic_duplicate_state)(struct drm_connector *);
1: + void (*atomic_destroy_state)(struct drm_connector *,
1: + struct drm_connector_state *);
1: + int (*atomic_set_property)(struct drm_connector *,
1: + struct drm_connector_state *,
1: + struct drm_property *, uint64_t);
1: + int (*atomic_get_property)(struct drm_connector *,
1: + const struct drm_connector_state *,
1: + struct drm_property *, uint64_t *);
1: + void (*atomic_print_state)(struct drm_printer *,
1: + const struct drm_connector_state *);
1: };
1:
1: struct drm_printer {
1: - void (*printfn)(struct drm_printer *, struct va_format *);
1: - void (*puts)(struct drm_printer *, const char *);
1: - void *arg;
1: - const char *prefix;
1: + void (*printfn)(struct drm_printer *, struct va_format *);
1: + void (*puts)(struct drm_printer *, const char *);
1: + void *arg;
1: + const char *prefix;
1: };
1:
1: struct drm_writeback_connector;
1:
1: struct drm_connector_helper_funcs {
1: - int (*get_modes)(struct drm_connector *);
1: - int (*detect_ctx)(struct drm_connector *, struct drm_modeset_acquire_ctx *, bool);
1: - enum drm_mode_status (*mode_valid)(struct drm_connector *, struct drm_display_mode *);
1: - struct drm_encoder * (*best_encoder)(struct drm_connector *);
1: - struct drm_encoder * (*atomic_best_encoder)(struct drm_connector *, struct drm_connector_state *);
1: - int (*atomic_check)(struct drm_connector *, struct drm_atomic_state *);
1: - void (*atomic_commit)(struct drm_connector *, struct drm_connector_state *);
1: - int (*prepare_writeback_job)(struct drm_writeback_connector *, struct drm_writeback_job *);
1: - void (*cleanup_writeback_job)(struct drm_writeback_connector *, struct drm_writeback_job *);
1: + int (*get_modes)(struct drm_connector *);
1: + int (*detect_ctx)(struct drm_connector *, struct drm_modeset_acquire_ctx *,
1: + bool);
1: + enum drm_mode_status (*mode_valid)(struct drm_connector *,
1: + struct drm_display_mode *);
1: + struct drm_encoder *(*best_encoder)(struct drm_connector *);
1: + struct drm_encoder *(*atomic_best_encoder)(struct drm_connector *,
1: + struct drm_connector_state *);
1: + int (*atomic_check)(struct drm_connector *, struct drm_atomic_state *);
1: + void (*atomic_commit)(struct drm_connector *, struct drm_connector_state *);
1: + int (*prepare_writeback_job)(struct drm_writeback_connector *,
1: + struct drm_writeback_job *);
1: + void (*cleanup_writeback_job)(struct drm_writeback_connector *,
1: + struct drm_writeback_job *);
1: };
1:
1: struct drm_tile_group {
1: - struct kref refcount;
1: - struct drm_device *dev;
1: - int id;
1: - u8 group_data[8];
1: + struct kref refcount;
1: + struct drm_device *dev;
1: + int id;
1: + u8 group_data[8];
1: };
1:
1: struct drm_connector_list_iter {
1: - struct drm_device *dev;
1: - struct drm_connector *conn;
1: + struct drm_device *dev;
1: + struct drm_connector *conn;
1: };
1:
1: struct drm_mode_config_funcs {
1: - struct drm_framebuffer * (*fb_create)(struct drm_device *, struct drm_file *, const struct drm_mode_fb_cmd2 *);
1: - const struct drm_format_info * (*get_format_info)(const struct drm_mode_fb_cmd2 *);
1: - void (*output_poll_changed)(struct drm_device *);
1: - enum drm_mode_status (*mode_valid)(struct drm_device *, const struct drm_display_mode *);
1: - int (*atomic_check)(struct drm_device *, struct drm_atomic_state *);
1: - int (*atomic_commit)(struct drm_device *, struct drm_atomic_state *, bool);
1: - struct drm_atomic_state * (*atomic_state_alloc)(struct drm_device *);
1: - void (*atomic_state_clear)(struct drm_atomic_state *);
1: - void (*atomic_state_free)(struct drm_atomic_state *);
1: + struct drm_framebuffer *(*fb_create)(struct drm_device *, struct drm_file *,
1: + const struct drm_mode_fb_cmd2 *);
1: + const struct drm_format_info *(*get_format_info)(
1: + const struct drm_mode_fb_cmd2 *);
1: + void (*output_poll_changed)(struct drm_device *);
1: + enum drm_mode_status (*mode_valid)(struct drm_device *,
1: + const struct drm_display_mode *);
1: + int (*atomic_check)(struct drm_device *, struct drm_atomic_state *);
1: + int (*atomic_commit)(struct drm_device *, struct drm_atomic_state *, bool);
1: + struct drm_atomic_state *(*atomic_state_alloc)(struct drm_device *);
1: + void (*atomic_state_clear)(struct drm_atomic_state *);
1: + void (*atomic_state_free)(struct drm_atomic_state *);
1: };
1:
1: struct drm_mode_config_helper_funcs {
1: - void (*atomic_commit_tail)(struct drm_atomic_state *);
1: + void (*atomic_commit_tail)(struct drm_atomic_state *);
1: };
1:
1: struct dma_buf;
1: @@ -66916,92 +67416,102 @@ struct dma_buf_attachment;
1: struct drm_ioctl_desc;
1:
1: struct drm_driver {
1: - int (*load)(struct drm_device *, long unsigned int);
1: - int (*open)(struct drm_device *, struct drm_file *);
1: - void (*postclose)(struct drm_device *, struct drm_file *);
1: - void (*lastclose)(struct drm_device *);
1: - void (*unload)(struct drm_device *);
1: - void (*release)(struct drm_device *);
1: - u32 (*get_vblank_counter)(struct drm_device *, unsigned int);
1: - int (*enable_vblank)(struct drm_device *, unsigned int);
1: - void (*disable_vblank)(struct drm_device *, unsigned int);
1: - bool (*get_scanout_position)(struct drm_device *, unsigned int, bool, int *, int *, ktime_t *, ktime_t *, const struct drm_display_mode *);
1: - bool (*get_vblank_timestamp)(struct drm_device *, unsigned int, int *, ktime_t *, bool);
1: - irqreturn_t (*irq_handler)(int, void *);
1: - void (*irq_preinstall)(struct drm_device *);
1: - int (*irq_postinstall)(struct drm_device *);
1: - void (*irq_uninstall)(struct drm_device *);
1: - int (*master_create)(struct drm_device *, struct drm_master *);
1: - void (*master_destroy)(struct drm_device *, struct drm_master *);
1: - int (*master_set)(struct drm_device *, struct drm_file *, bool);
1: - void (*master_drop)(struct drm_device *, struct drm_file *);
1: - int (*debugfs_init)(struct drm_minor *);
1: - void (*gem_free_object)(struct drm_gem_object *);
1: - void (*gem_free_object_unlocked)(struct drm_gem_object *);
1: - int (*gem_open_object)(struct drm_gem_object *, struct drm_file *);
1: - void (*gem_close_object)(struct drm_gem_object *, struct drm_file *);
1: - void (*gem_print_info)(struct drm_printer *, unsigned int, const struct drm_gem_object *);
1: - struct drm_gem_object * (*gem_create_object)(struct drm_device *, size_t);
1: - int (*prime_handle_to_fd)(struct drm_device *, struct drm_file *, uint32_t, uint32_t, int *);
1: - int (*prime_fd_to_handle)(struct drm_device *, struct drm_file *, int, uint32_t *);
1: - struct dma_buf * (*gem_prime_export)(struct drm_gem_object *, int);
1: - struct drm_gem_object * (*gem_prime_import)(struct drm_device *, struct dma_buf *);
1: - int (*gem_prime_pin)(struct drm_gem_object *);
1: - void (*gem_prime_unpin)(struct drm_gem_object *);
1: - struct sg_table * (*gem_prime_get_sg_table)(struct drm_gem_object *);
1: - struct drm_gem_object * (*gem_prime_import_sg_table)(struct drm_device *, struct dma_buf_attachment *, struct sg_table *);
1: - void * (*gem_prime_vmap)(struct drm_gem_object *);
1: - void (*gem_prime_vunmap)(struct drm_gem_object *, void *);
1: - int (*gem_prime_mmap)(struct drm_gem_object *, struct vm_area_struct *);
1: - int (*dumb_create)(struct drm_file *, struct drm_device *, struct drm_mode_create_dumb *);
1: - int (*dumb_map_offset)(struct drm_file *, struct drm_device *, uint32_t, uint64_t *);
1: - int (*dumb_destroy)(struct drm_file *, struct drm_device *, uint32_t);
1: - const struct vm_operations_struct *gem_vm_ops;
1: - int major;
1: - int minor;
1: - int patchlevel;
1: - char *name;
1: - char *desc;
1: - char *date;
1: - u32 driver_features;
1: - const struct drm_ioctl_desc *ioctls;
1: - int num_ioctls;
1: - const struct file_operations *fops;
1: - struct list_head legacy_dev_list;
1: - int (*firstopen)(struct drm_device *);
1: - void (*preclose)(struct drm_device *, struct drm_file *);
1: - int (*dma_ioctl)(struct drm_device *, void *, struct drm_file *);
1: - int (*dma_quiescent)(struct drm_device *);
1: - int (*context_dtor)(struct drm_device *, int);
1: - int dev_priv_size;
1: + int (*load)(struct drm_device *, long unsigned int);
1: + int (*open)(struct drm_device *, struct drm_file *);
1: + void (*postclose)(struct drm_device *, struct drm_file *);
1: + void (*lastclose)(struct drm_device *);
1: + void (*unload)(struct drm_device *);
1: + void (*release)(struct drm_device *);
1: + u32 (*get_vblank_counter)(struct drm_device *, unsigned int);
1: + int (*enable_vblank)(struct drm_device *, unsigned int);
1: + void (*disable_vblank)(struct drm_device *, unsigned int);
1: + bool (*get_scanout_position)(struct drm_device *, unsigned int, bool, int *,
1: + int *, ktime_t *, ktime_t *,
1: + const struct drm_display_mode *);
1: + bool (*get_vblank_timestamp)(struct drm_device *, unsigned int, int *,
1: + ktime_t *, bool);
1: + irqreturn_t (*irq_handler)(int, void *);
1: + void (*irq_preinstall)(struct drm_device *);
1: + int (*irq_postinstall)(struct drm_device *);
1: + void (*irq_uninstall)(struct drm_device *);
1: + int (*master_create)(struct drm_device *, struct drm_master *);
1: + void (*master_destroy)(struct drm_device *, struct drm_master *);
1: + int (*master_set)(struct drm_device *, struct drm_file *, bool);
1: + void (*master_drop)(struct drm_device *, struct drm_file *);
1: + int (*debugfs_init)(struct drm_minor *);
1: + void (*gem_free_object)(struct drm_gem_object *);
1: + void (*gem_free_object_unlocked)(struct drm_gem_object *);
1: + int (*gem_open_object)(struct drm_gem_object *, struct drm_file *);
1: + void (*gem_close_object)(struct drm_gem_object *, struct drm_file *);
1: + void (*gem_print_info)(struct drm_printer *, unsigned int,
1: + const struct drm_gem_object *);
1: + struct drm_gem_object *(*gem_create_object)(struct drm_device *, size_t);
1: + int (*prime_handle_to_fd)(struct drm_device *, struct drm_file *, uint32_t,
1: + uint32_t, int *);
1: + int (*prime_fd_to_handle)(struct drm_device *, struct drm_file *, int,
1: + uint32_t *);
1: + struct dma_buf *(*gem_prime_export)(struct drm_gem_object *, int);
1: + struct drm_gem_object *(*gem_prime_import)(struct drm_device *,
1: + struct dma_buf *);
1: + int (*gem_prime_pin)(struct drm_gem_object *);
1: + void (*gem_prime_unpin)(struct drm_gem_object *);
1: + struct sg_table *(*gem_prime_get_sg_table)(struct drm_gem_object *);
1: + struct drm_gem_object *(*gem_prime_import_sg_table)(
1: + struct drm_device *, struct dma_buf_attachment *, struct sg_table *);
1: + void *(*gem_prime_vmap)(struct drm_gem_object *);
1: + void (*gem_prime_vunmap)(struct drm_gem_object *, void *);
1: + int (*gem_prime_mmap)(struct drm_gem_object *, struct vm_area_struct *);
1: + int (*dumb_create)(struct drm_file *, struct drm_device *,
1: + struct drm_mode_create_dumb *);
1: + int (*dumb_map_offset)(struct drm_file *, struct drm_device *, uint32_t,
1: + uint64_t *);
1: + int (*dumb_destroy)(struct drm_file *, struct drm_device *, uint32_t);
1: + const struct vm_operations_struct *gem_vm_ops;
1: + int major;
1: + int minor;
1: + int patchlevel;
1: + char *name;
1: + char *desc;
1: + char *date;
1: + u32 driver_features;
1: + const struct drm_ioctl_desc *ioctls;
1: + int num_ioctls;
1: + const struct file_operations *fops;
1: + struct list_head legacy_dev_list;
1: + int (*firstopen)(struct drm_device *);
1: + void (*preclose)(struct drm_device *, struct drm_file *);
1: + int (*dma_ioctl)(struct drm_device *, void *, struct drm_file *);
1: + int (*dma_quiescent)(struct drm_device *);
1: + int (*context_dtor)(struct drm_device *, int);
1: + int dev_priv_size;
1: };
1:
1: struct drm_minor {
1: - int index;
1: - int type;
1: - struct device *kdev;
1: - struct drm_device *dev;
1: - struct dentry *debugfs_root;
1: - struct list_head debugfs_list;
1: - struct mutex debugfs_lock;
1: + int index;
1: + int type;
1: + struct device *kdev;
1: + struct drm_device *dev;
1: + struct dentry *debugfs_root;
1: + struct list_head debugfs_list;
1: + struct mutex debugfs_lock;
1: };
1:
1: struct drm_vblank_crtc {
1: - struct drm_device *dev;
1: - wait_queue_head_t queue;
1: - struct timer_list disable_timer;
1: - seqlock_t seqlock;
1: - atomic64_t count;
1: - ktime_t time;
1: - atomic_t refcount;
1: - u32 last;
1: - u32 max_vblank_count;
1: - unsigned int inmodeset;
1: - unsigned int pipe;
1: - int framedur_ns;
1: - int linedur_ns;
1: - struct drm_display_mode hwmode;
1: - bool enabled;
1: + struct drm_device *dev;
1: + wait_queue_head_t queue;
1: + struct timer_list disable_timer;
1: + seqlock_t seqlock;
1: + atomic64_t count;
1: + ktime_t time;
1: + atomic_t refcount;
1: + u32 last;
1: + u32 max_vblank_count;
1: + unsigned int inmodeset;
1: + unsigned int pipe;
1: + int framedur_ns;
1: + int linedur_ns;
1: + struct drm_display_mode hwmode;
1: + bool enabled;
1: };
1:
1: struct drm_client_funcs;
1: @@ -67009,13 +67519,13 @@ struct drm_client_funcs;
1: struct drm_mode_set;
1:
1: struct drm_client_dev {
1: - struct drm_device *dev;
1: - const char *name;
1: - struct list_head list;
1: - const struct drm_client_funcs *funcs;
1: - struct drm_file *file;
1: - struct mutex modeset_mutex;
1: - struct drm_mode_set *modesets;
1: + struct drm_device *dev;
1: + const char *name;
1: + struct list_head list;
1: + const struct drm_client_funcs *funcs;
1: + struct drm_file *file;
1: + struct mutex modeset_mutex;
1: + struct drm_mode_set *modesets;
1: };
1:
1: struct drm_client_buffer;
1: @@ -67023,71 +67533,71 @@ struct drm_client_buffer;
1: struct drm_fb_helper_funcs;
1:
1: struct drm_fb_helper {
1: - struct drm_client_dev client;
1: - struct drm_client_buffer *buffer;
1: - struct drm_framebuffer *fb;
1: - struct drm_device *dev;
1: - const struct drm_fb_helper_funcs *funcs;
1: - struct fb_info *fbdev;
1: - u32 pseudo_palette[17];
1: - struct drm_clip_rect dirty_clip;
1: - spinlock_t dirty_lock;
1: - struct work_struct dirty_work;
1: - struct work_struct resume_work;
1: - struct mutex lock;
1: - struct list_head kernel_fb_list;
1: - bool delayed_hotplug;
1: - bool deferred_setup;
1: - int preferred_bpp;
1: + struct drm_client_dev client;
1: + struct drm_client_buffer *buffer;
1: + struct drm_framebuffer *fb;
1: + struct drm_device *dev;
1: + const struct drm_fb_helper_funcs *funcs;
1: + struct fb_info *fbdev;
1: + u32 pseudo_palette[17];
1: + struct drm_clip_rect dirty_clip;
1: + spinlock_t dirty_lock;
1: + struct work_struct dirty_work;
1: + struct work_struct resume_work;
1: + struct mutex lock;
1: + struct list_head kernel_fb_list;
1: + bool delayed_hotplug;
1: + bool deferred_setup;
1: + int preferred_bpp;
1: };
1:
1: enum drm_color_encoding {
1: - DRM_COLOR_YCBCR_BT601 = 0,
1: - DRM_COLOR_YCBCR_BT709 = 1,
1: - DRM_COLOR_YCBCR_BT2020 = 2,
1: - DRM_COLOR_ENCODING_MAX = 3,
1: + DRM_COLOR_YCBCR_BT601 = 0,
1: + DRM_COLOR_YCBCR_BT709 = 1,
1: + DRM_COLOR_YCBCR_BT2020 = 2,
1: + DRM_COLOR_ENCODING_MAX = 3,
1: };
1:
1: enum drm_color_range {
1: - DRM_COLOR_YCBCR_LIMITED_RANGE = 0,
1: - DRM_COLOR_YCBCR_FULL_RANGE = 1,
1: - DRM_COLOR_RANGE_MAX = 2,
1: + DRM_COLOR_YCBCR_LIMITED_RANGE = 0,
1: + DRM_COLOR_YCBCR_FULL_RANGE = 1,
1: + DRM_COLOR_RANGE_MAX = 2,
1: };
1:
1: struct dma_fence;
1:
1: struct drm_plane_state {
1: - struct drm_plane *plane;
1: - struct drm_crtc *crtc;
1: - struct drm_framebuffer *fb;
1: - struct dma_fence *fence;
1: - int32_t crtc_x;
1: - int32_t crtc_y;
1: - uint32_t crtc_w;
1: - uint32_t crtc_h;
1: - uint32_t src_x;
1: - uint32_t src_y;
1: - uint32_t src_h;
1: - uint32_t src_w;
1: - u16 alpha;
1: - uint16_t pixel_blend_mode;
1: - unsigned int rotation;
1: - unsigned int zpos;
1: - unsigned int normalized_zpos;
1: - enum drm_color_encoding color_encoding;
1: - enum drm_color_range color_range;
1: - struct drm_property_blob *fb_damage_clips;
1: - struct drm_rect src;
1: - struct drm_rect dst;
1: - bool visible;
1: - struct drm_crtc_commit *commit;
1: - struct drm_atomic_state *state;
1: + struct drm_plane *plane;
1: + struct drm_crtc *crtc;
1: + struct drm_framebuffer *fb;
1: + struct dma_fence *fence;
1: + int32_t crtc_x;
1: + int32_t crtc_y;
1: + uint32_t crtc_w;
1: + uint32_t crtc_h;
1: + uint32_t src_x;
1: + uint32_t src_y;
1: + uint32_t src_h;
1: + uint32_t src_w;
1: + u16 alpha;
1: + uint16_t pixel_blend_mode;
1: + unsigned int rotation;
1: + unsigned int zpos;
1: + unsigned int normalized_zpos;
1: + enum drm_color_encoding color_encoding;
1: + enum drm_color_range color_range;
1: + struct drm_property_blob *fb_damage_clips;
1: + struct drm_rect src;
1: + struct drm_rect dst;
1: + bool visible;
1: + struct drm_crtc_commit *commit;
1: + struct drm_atomic_state *state;
1: };
1:
1: enum drm_plane_type {
1: - DRM_PLANE_TYPE_OVERLAY = 0,
1: - DRM_PLANE_TYPE_PRIMARY = 1,
1: - DRM_PLANE_TYPE_CURSOR = 2,
1: + DRM_PLANE_TYPE_OVERLAY = 0,
1: + DRM_PLANE_TYPE_PRIMARY = 1,
1: + DRM_PLANE_TYPE_CURSOR = 2,
1: };
1:
1: struct drm_plane_funcs;
1: @@ -67095,198 +67605,219 @@ struct drm_plane_funcs;
1: struct drm_plane_helper_funcs;
1:
1: struct drm_plane {
1: - struct drm_device *dev;
1: - struct list_head head;
1: - char *name;
1: - struct drm_modeset_lock mutex;
1: - struct drm_mode_object base;
1: - uint32_t possible_crtcs;
1: - uint32_t *format_types;
1: - unsigned int format_count;
1: - bool format_default;
1: - uint64_t *modifiers;
1: - unsigned int modifier_count;
1: - struct drm_crtc *crtc;
1: - struct drm_framebuffer *fb;
1: - struct drm_framebuffer *old_fb;
1: - const struct drm_plane_funcs *funcs;
1: - struct drm_object_properties properties;
1: - enum drm_plane_type type;
1: - unsigned int index;
1: - const struct drm_plane_helper_funcs *helper_private;
1: - struct drm_plane_state *state;
1: - struct drm_property *alpha_property;
1: - struct drm_property *zpos_property;
1: - struct drm_property *rotation_property;
1: - struct drm_property *blend_mode_property;
1: - struct drm_property *color_encoding_property;
1: - struct drm_property *color_range_property;
1: + struct drm_device *dev;
1: + struct list_head head;
1: + char *name;
1: + struct drm_modeset_lock mutex;
1: + struct drm_mode_object base;
1: + uint32_t possible_crtcs;
1: + uint32_t *format_types;
1: + unsigned int format_count;
1: + bool format_default;
1: + uint64_t *modifiers;
1: + unsigned int modifier_count;
1: + struct drm_crtc *crtc;
1: + struct drm_framebuffer *fb;
1: + struct drm_framebuffer *old_fb;
1: + const struct drm_plane_funcs *funcs;
1: + struct drm_object_properties properties;
1: + enum drm_plane_type type;
1: + unsigned int index;
1: + const struct drm_plane_helper_funcs *helper_private;
1: + struct drm_plane_state *state;
1: + struct drm_property *alpha_property;
1: + struct drm_property *zpos_property;
1: + struct drm_property *rotation_property;
1: + struct drm_property *blend_mode_property;
1: + struct drm_property *color_encoding_property;
1: + struct drm_property *color_range_property;
1: };
1:
1: struct drm_plane_funcs {
1: - int (*update_plane)(struct drm_plane *, struct drm_crtc *, struct drm_framebuffer *, int, int, unsigned int, unsigned int, uint32_t, uint32_t, uint32_t, uint32_t, struct drm_modeset_acquire_ctx *);
1: - int (*disable_plane)(struct drm_plane *, struct drm_modeset_acquire_ctx *);
1: - void (*destroy)(struct drm_plane *);
1: - void (*reset)(struct drm_plane *);
1: - int (*set_property)(struct drm_plane *, struct drm_property *, uint64_t);
1: - struct drm_plane_state * (*atomic_duplicate_state)(struct drm_plane *);
1: - void (*atomic_destroy_state)(struct drm_plane *, struct drm_plane_state *);
1: - int (*atomic_set_property)(struct drm_plane *, struct drm_plane_state *, struct drm_property *, uint64_t);
1: - int (*atomic_get_property)(struct drm_plane *, const struct drm_plane_state *, struct drm_property *, uint64_t *);
1: - int (*late_register)(struct drm_plane *);
1: - void (*early_unregister)(struct drm_plane *);
1: - void (*atomic_print_state)(struct drm_printer *, const struct drm_plane_state *);
1: - bool (*format_mod_supported)(struct drm_plane *, uint32_t, uint64_t);
1: + int (*update_plane)(struct drm_plane *, struct drm_crtc *,
1: + struct drm_framebuffer *, int, int, unsigned int,
1: + unsigned int, uint32_t, uint32_t, uint32_t, uint32_t,
1: + struct drm_modeset_acquire_ctx *);
1: + int (*disable_plane)(struct drm_plane *, struct drm_modeset_acquire_ctx *);
1: + void (*destroy)(struct drm_plane *);
1: + void (*reset)(struct drm_plane *);
1: + int (*set_property)(struct drm_plane *, struct drm_property *, uint64_t);
1: + struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *);
1: + void (*atomic_destroy_state)(struct drm_plane *, struct drm_plane_state *);
1: + int (*atomic_set_property)(struct drm_plane *, struct drm_plane_state *,
1: + struct drm_property *, uint64_t);
1: + int (*atomic_get_property)(struct drm_plane *, const struct drm_plane_state *,
1: + struct drm_property *, uint64_t *);
1: + int (*late_register)(struct drm_plane *);
1: + void (*early_unregister)(struct drm_plane *);
1: + void (*atomic_print_state)(struct drm_printer *,
1: + const struct drm_plane_state *);
1: + bool (*format_mod_supported)(struct drm_plane *, uint32_t, uint64_t);
1: };
1:
1: struct drm_plane_helper_funcs {
1: - int (*prepare_fb)(struct drm_plane *, struct drm_plane_state *);
1: - void (*cleanup_fb)(struct drm_plane *, struct drm_plane_state *);
1: - int (*atomic_check)(struct drm_plane *, struct drm_plane_state *);
1: - void (*atomic_update)(struct drm_plane *, struct drm_plane_state *);
1: - void (*atomic_disable)(struct drm_plane *, struct drm_plane_state *);
1: - int (*atomic_async_check)(struct drm_plane *, struct drm_plane_state *);
1: - void (*atomic_async_update)(struct drm_plane *, struct drm_plane_state *);
1: + int (*prepare_fb)(struct drm_plane *, struct drm_plane_state *);
1: + void (*cleanup_fb)(struct drm_plane *, struct drm_plane_state *);
1: + int (*atomic_check)(struct drm_plane *, struct drm_plane_state *);
1: + void (*atomic_update)(struct drm_plane *, struct drm_plane_state *);
1: + void (*atomic_disable)(struct drm_plane *, struct drm_plane_state *);
1: + int (*atomic_async_check)(struct drm_plane *, struct drm_plane_state *);
1: + void (*atomic_async_update)(struct drm_plane *, struct drm_plane_state *);
1: };
1:
1: struct drm_crtc_crc_entry {
1: - bool has_frame_counter;
1: - uint32_t frame;
1: - uint32_t crcs[10];
1: + bool has_frame_counter;
1: + uint32_t frame;
1: + uint32_t crcs[10];
1: };
1:
1: struct drm_crtc_state {
1: - struct drm_crtc *crtc;
1: - bool enable;
1: - bool active;
1: - bool planes_changed: 1;
1: - bool mode_changed: 1;
1: - bool active_changed: 1;
1: - bool connectors_changed: 1;
1: - bool zpos_changed: 1;
1: - bool color_mgmt_changed: 1;
1: - bool no_vblank: 1;
1: - u32 plane_mask;
1: - u32 connector_mask;
1: - u32 encoder_mask;
1: - struct drm_display_mode adjusted_mode;
1: - struct drm_display_mode mode;
1: - struct drm_property_blob *mode_blob;
1: - struct drm_property_blob *degamma_lut;
1: - struct drm_property_blob *ctm;
1: - struct drm_property_blob *gamma_lut;
1: - u32 target_vblank;
1: - bool async_flip;
1: - bool vrr_enabled;
1: - bool self_refresh_active;
1: - struct drm_pending_vblank_event *event;
1: - struct drm_crtc_commit *commit;
1: - struct drm_atomic_state *state;
1: + struct drm_crtc *crtc;
1: + bool enable;
1: + bool active;
1: + bool planes_changed : 1;
1: + bool mode_changed : 1;
1: + bool active_changed : 1;
1: + bool connectors_changed : 1;
1: + bool zpos_changed : 1;
1: + bool color_mgmt_changed : 1;
1: + bool no_vblank : 1;
1: + u32 plane_mask;
1: + u32 connector_mask;
1: + u32 encoder_mask;
1: + struct drm_display_mode adjusted_mode;
1: + struct drm_display_mode mode;
1: + struct drm_property_blob *mode_blob;
1: + struct drm_property_blob *degamma_lut;
1: + struct drm_property_blob *ctm;
1: + struct drm_property_blob *gamma_lut;
1: + u32 target_vblank;
1: + bool async_flip;
1: + bool vrr_enabled;
1: + bool self_refresh_active;
1: + struct drm_pending_vblank_event *event;
1: + struct drm_crtc_commit *commit;
1: + struct drm_atomic_state *state;
1: };
1:
1: struct drm_pending_event {
1: - struct completion *completion;
1: - void (*completion_release)(struct completion *);
1: - struct drm_event *event;
1: - struct dma_fence *fence;
1: - struct drm_file *file_priv;
1: - struct list_head link;
1: - struct list_head pending_link;
1: + struct completion *completion;
1: + void (*completion_release)(struct completion *);
1: + struct drm_event *event;
1: + struct dma_fence *fence;
1: + struct drm_file *file_priv;
1: + struct list_head link;
1: + struct list_head pending_link;
1: };
1:
1: struct drm_pending_vblank_event {
1: - struct drm_pending_event base;
1: - unsigned int pipe;
1: - u64 sequence;
1: - union {
1: - struct drm_event base;
1: - struct drm_event_vblank vbl;
1: - struct drm_event_crtc_sequence seq;
1: - } event;
1: + struct drm_pending_event base;
1: + unsigned int pipe;
1: + u64 sequence;
1: + union {
1: + struct drm_event base;
1: + struct drm_event_vblank vbl;
1: + struct drm_event_crtc_sequence seq;
1: + } event;
1: };
1:
1: struct drm_crtc_funcs {
1: - void (*reset)(struct drm_crtc *);
1: - int (*cursor_set)(struct drm_crtc *, struct drm_file *, uint32_t, uint32_t, uint32_t);
1: - int (*cursor_set2)(struct drm_crtc *, struct drm_file *, uint32_t, uint32_t, uint32_t, int32_t, int32_t);
1: - int (*cursor_move)(struct drm_crtc *, int, int);
1: - int (*gamma_set)(struct drm_crtc *, u16 *, u16 *, u16 *, uint32_t, struct drm_modeset_acquire_ctx *);
1: - void (*destroy)(struct drm_crtc *);
1: - int (*set_config)(struct drm_mode_set *, struct drm_modeset_acquire_ctx *);
1: - int (*page_flip)(struct drm_crtc *, struct drm_framebuffer *, struct drm_pending_vblank_event *, uint32_t, struct drm_modeset_acquire_ctx *);
1: - int (*page_flip_target)(struct drm_crtc *, struct drm_framebuffer *, struct drm_pending_vblank_event *, uint32_t, uint32_t, struct drm_modeset_acquire_ctx *);
1: - int (*set_property)(struct drm_crtc *, struct drm_property *, uint64_t);
1: - struct drm_crtc_state * (*atomic_duplicate_state)(struct drm_crtc *);
1: - void (*atomic_destroy_state)(struct drm_crtc *, struct drm_crtc_state *);
1: - int (*atomic_set_property)(struct drm_crtc *, struct drm_crtc_state *, struct drm_property *, uint64_t);
1: - int (*atomic_get_property)(struct drm_crtc *, const struct drm_crtc_state *, struct drm_property *, uint64_t *);
1: - int (*late_register)(struct drm_crtc *);
1: - void (*early_unregister)(struct drm_crtc *);
1: - int (*set_crc_source)(struct drm_crtc *, const char *);
1: - int (*verify_crc_source)(struct drm_crtc *, const char *, size_t *);
1: - const char * const * (*get_crc_sources)(struct drm_crtc *, size_t *);
1: - void (*atomic_print_state)(struct drm_printer *, const struct drm_crtc_state *);
1: - u32 (*get_vblank_counter)(struct drm_crtc *);
1: - int (*enable_vblank)(struct drm_crtc *);
1: - void (*disable_vblank)(struct drm_crtc *);
1: + void (*reset)(struct drm_crtc *);
1: + int (*cursor_set)(struct drm_crtc *, struct drm_file *, uint32_t, uint32_t,
1: + uint32_t);
1: + int (*cursor_set2)(struct drm_crtc *, struct drm_file *, uint32_t, uint32_t,
1: + uint32_t, int32_t, int32_t);
1: + int (*cursor_move)(struct drm_crtc *, int, int);
1: + int (*gamma_set)(struct drm_crtc *, u16 *, u16 *, u16 *, uint32_t,
1: + struct drm_modeset_acquire_ctx *);
1: + void (*destroy)(struct drm_crtc *);
1: + int (*set_config)(struct drm_mode_set *, struct drm_modeset_acquire_ctx *);
1: + int (*page_flip)(struct drm_crtc *, struct drm_framebuffer *,
1: + struct drm_pending_vblank_event *, uint32_t,
1: + struct drm_modeset_acquire_ctx *);
1: + int (*page_flip_target)(struct drm_crtc *, struct drm_framebuffer *,
1: + struct drm_pending_vblank_event *, uint32_t, uint32_t,
1: + struct drm_modeset_acquire_ctx *);
1: + int (*set_property)(struct drm_crtc *, struct drm_property *, uint64_t);
1: + struct drm_crtc_state *(*atomic_duplicate_state)(struct drm_crtc *);
1: + void (*atomic_destroy_state)(struct drm_crtc *, struct drm_crtc_state *);
1: + int (*atomic_set_property)(struct drm_crtc *, struct drm_crtc_state *,
1: + struct drm_property *, uint64_t);
1: + int (*atomic_get_property)(struct drm_crtc *, const struct drm_crtc_state *,
1: + struct drm_property *, uint64_t *);
1: + int (*late_register)(struct drm_crtc *);
1: + void (*early_unregister)(struct drm_crtc *);
1: + int (*set_crc_source)(struct drm_crtc *, const char *);
1: + int (*verify_crc_source)(struct drm_crtc *, const char *, size_t *);
1: + const char *const *(*get_crc_sources)(struct drm_crtc *, size_t *);
1: + void (*atomic_print_state)(struct drm_printer *,
1: + const struct drm_crtc_state *);
1: + u32 (*get_vblank_counter)(struct drm_crtc *);
1: + int (*enable_vblank)(struct drm_crtc *);
1: + void (*disable_vblank)(struct drm_crtc *);
1: };
1:
1: struct drm_mode_set {
1: - struct drm_framebuffer *fb;
1: - struct drm_crtc *crtc;
1: - struct drm_display_mode *mode;
1: - uint32_t x;
1: - uint32_t y;
1: - struct drm_connector **connectors;
1: - size_t num_connectors;
1: + struct drm_framebuffer *fb;
1: + struct drm_crtc *crtc;
1: + struct drm_display_mode *mode;
1: + uint32_t x;
1: + uint32_t y;
1: + struct drm_connector **connectors;
1: + size_t num_connectors;
1: };
1:
1: enum mode_set_atomic {
1: - LEAVE_ATOMIC_MODE_SET = 0,
1: - ENTER_ATOMIC_MODE_SET = 1,
1: + LEAVE_ATOMIC_MODE_SET = 0,
1: + ENTER_ATOMIC_MODE_SET = 1,
1: };
1:
1: struct drm_crtc_helper_funcs {
1: - void (*dpms)(struct drm_crtc *, int);
1: - void (*prepare)(struct drm_crtc *);
1: - void (*commit)(struct drm_crtc *);
1: - enum drm_mode_status (*mode_valid)(struct drm_crtc *, const struct drm_display_mode *);
1: - bool (*mode_fixup)(struct drm_crtc *, const struct drm_display_mode *, struct drm_display_mode *);
1: - int (*mode_set)(struct drm_crtc *, struct drm_display_mode *, struct drm_display_mode *, int, int, struct drm_framebuffer *);
1: - void (*mode_set_nofb)(struct drm_crtc *);
1: - int (*mode_set_base)(struct drm_crtc *, int, int, struct drm_framebuffer *);
1: - int (*mode_set_base_atomic)(struct drm_crtc *, struct drm_framebuffer *, int, int, enum mode_set_atomic);
1: - void (*disable)(struct drm_crtc *);
1: - int (*atomic_check)(struct drm_crtc *, struct drm_crtc_state *);
1: - void (*atomic_begin)(struct drm_crtc *, struct drm_crtc_state *);
1: - void (*atomic_flush)(struct drm_crtc *, struct drm_crtc_state *);
1: - void (*atomic_enable)(struct drm_crtc *, struct drm_crtc_state *);
1: - void (*atomic_disable)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*dpms)(struct drm_crtc *, int);
1: + void (*prepare)(struct drm_crtc *);
1: + void (*commit)(struct drm_crtc *);
1: + enum drm_mode_status (*mode_valid)(struct drm_crtc *,
1: + const struct drm_display_mode *);
1: + bool (*mode_fixup)(struct drm_crtc *, const struct drm_display_mode *,
1: + struct drm_display_mode *);
1: + int (*mode_set)(struct drm_crtc *, struct drm_display_mode *,
1: + struct drm_display_mode *, int, int,
1: + struct drm_framebuffer *);
1: + void (*mode_set_nofb)(struct drm_crtc *);
1: + int (*mode_set_base)(struct drm_crtc *, int, int, struct drm_framebuffer *);
1: + int (*mode_set_base_atomic)(struct drm_crtc *, struct drm_framebuffer *, int,
1: + int, enum mode_set_atomic);
1: + void (*disable)(struct drm_crtc *);
1: + int (*atomic_check)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*atomic_begin)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*atomic_flush)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*atomic_enable)(struct drm_crtc *, struct drm_crtc_state *);
1: + void (*atomic_disable)(struct drm_crtc *, struct drm_crtc_state *);
1: };
1:
1: struct __drm_planes_state {
1: - struct drm_plane *ptr;
1: - struct drm_plane_state *state;
1: - struct drm_plane_state *old_state;
1: - struct drm_plane_state *new_state;
1: + struct drm_plane *ptr;
1: + struct drm_plane_state *state;
1: + struct drm_plane_state *old_state;
1: + struct drm_plane_state *new_state;
1: };
1:
1: struct __drm_crtcs_state {
1: - struct drm_crtc *ptr;
1: - struct drm_crtc_state *state;
1: - struct drm_crtc_state *old_state;
1: - struct drm_crtc_state *new_state;
1: - struct drm_crtc_commit *commit;
1: - s32 *out_fence_ptr;
1: - u64 last_vblank_count;
1: + struct drm_crtc *ptr;
1: + struct drm_crtc_state *state;
1: + struct drm_crtc_state *old_state;
1: + struct drm_crtc_state *new_state;
1: + struct drm_crtc_commit *commit;
1: + s32 *out_fence_ptr;
1: + u64 last_vblank_count;
1: };
1:
1: struct __drm_connnectors_state {
1: - struct drm_connector *ptr;
1: - struct drm_connector_state *state;
1: - struct drm_connector_state *old_state;
1: - struct drm_connector_state *new_state;
1: - s32 *out_fence_ptr;
1: + struct drm_connector *ptr;
1: + struct drm_connector_state *state;
1: + struct drm_connector_state *old_state;
1: + struct drm_connector_state *new_state;
1: + s32 *out_fence_ptr;
1: };
1:
1: struct drm_private_state;
1: @@ -67294,33 +67825,34 @@ struct drm_private_state;
1: struct drm_private_obj;
1:
1: struct drm_private_state_funcs {
1: - struct drm_private_state * (*atomic_duplicate_state)(struct drm_private_obj *);
1: - void (*atomic_destroy_state)(struct drm_private_obj *, struct drm_private_state *);
1: + struct drm_private_state *(*atomic_duplicate_state)(struct drm_private_obj *);
1: + void (*atomic_destroy_state)(struct drm_private_obj *,
1: + struct drm_private_state *);
1: };
1:
1: struct drm_private_state {
1: - struct drm_atomic_state *state;
1: + struct drm_atomic_state *state;
1: };
1:
1: struct drm_private_obj {
1: - struct list_head head;
1: - struct drm_modeset_lock lock;
1: - struct drm_private_state *state;
1: - const struct drm_private_state_funcs *funcs;
1: + struct list_head head;
1: + struct drm_modeset_lock lock;
1: + struct drm_private_state *state;
1: + const struct drm_private_state_funcs *funcs;
1: };
1:
1: struct __drm_private_objs_state {
1: - struct drm_private_obj *ptr;
1: - struct drm_private_state *state;
1: - struct drm_private_state *old_state;
1: - struct drm_private_state *new_state;
1: + struct drm_private_obj *ptr;
1: + struct drm_private_state *state;
1: + struct drm_private_state *old_state;
1: + struct drm_private_state *new_state;
1: };
1:
1: struct drm_encoder_funcs {
1: - void (*reset)(struct drm_encoder *);
1: - void (*destroy)(struct drm_encoder *);
1: - int (*late_register)(struct drm_encoder *);
1: - void (*early_unregister)(struct drm_encoder *);
1: + void (*reset)(struct drm_encoder *);
1: + void (*destroy)(struct drm_encoder *);
1: + int (*late_register)(struct drm_encoder *);
1: + void (*early_unregister)(struct drm_encoder *);
1: };
1:
1: struct drm_bridge_timings;
1: @@ -67328,463 +67860,472 @@ struct drm_bridge_timings;
1: struct drm_bridge_funcs;
1:
1: struct drm_bridge {
1: - struct drm_device *dev;
1: - struct drm_encoder *encoder;
1: - struct drm_bridge *next;
1: - struct list_head list;
1: - const struct drm_bridge_timings *timings;
1: - const struct drm_bridge_funcs *funcs;
1: - void *driver_private;
1: + struct drm_device *dev;
1: + struct drm_encoder *encoder;
1: + struct drm_bridge *next;
1: + struct list_head list;
1: + const struct drm_bridge_timings *timings;
1: + const struct drm_bridge_funcs *funcs;
1: + void *driver_private;
1: };
1:
1: struct drm_encoder_helper_funcs {
1: - void (*dpms)(struct drm_encoder *, int);
1: - enum drm_mode_status (*mode_valid)(struct drm_encoder *, const struct drm_display_mode *);
1: - bool (*mode_fixup)(struct drm_encoder *, const struct drm_display_mode *, struct drm_display_mode *);
1: - void (*prepare)(struct drm_encoder *);
1: - void (*commit)(struct drm_encoder *);
1: - void (*mode_set)(struct drm_encoder *, struct drm_display_mode *, struct drm_display_mode *);
1: - void (*atomic_mode_set)(struct drm_encoder *, struct drm_crtc_state *, struct drm_connector_state *);
1: - struct drm_crtc * (*get_crtc)(struct drm_encoder *);
1: - enum drm_connector_status (*detect)(struct drm_encoder *, struct drm_connector *);
1: - void (*atomic_disable)(struct drm_encoder *, struct drm_atomic_state *);
1: - void (*atomic_enable)(struct drm_encoder *, struct drm_atomic_state *);
1: - void (*disable)(struct drm_encoder *);
1: - void (*enable)(struct drm_encoder *);
1: - int (*atomic_check)(struct drm_encoder *, struct drm_crtc_state *, struct drm_connector_state *);
1: + void (*dpms)(struct drm_encoder *, int);
1: + enum drm_mode_status (*mode_valid)(struct drm_encoder *,
1: + const struct drm_display_mode *);
1: + bool (*mode_fixup)(struct drm_encoder *, const struct drm_display_mode *,
1: + struct drm_display_mode *);
1: + void (*prepare)(struct drm_encoder *);
1: + void (*commit)(struct drm_encoder *);
1: + void (*mode_set)(struct drm_encoder *, struct drm_display_mode *,
1: + struct drm_display_mode *);
1: + void (*atomic_mode_set)(struct drm_encoder *, struct drm_crtc_state *,
1: + struct drm_connector_state *);
1: + struct drm_crtc *(*get_crtc)(struct drm_encoder *);
1: + enum drm_connector_status (*detect)(struct drm_encoder *,
1: + struct drm_connector *);
1: + void (*atomic_disable)(struct drm_encoder *, struct drm_atomic_state *);
1: + void (*atomic_enable)(struct drm_encoder *, struct drm_atomic_state *);
1: + void (*disable)(struct drm_encoder *);
1: + void (*enable)(struct drm_encoder *);
1: + int (*atomic_check)(struct drm_encoder *, struct drm_crtc_state *,
1: + struct drm_connector_state *);
1: };
1:
1: struct drm_bridge_funcs {
1: - int (*attach)(struct drm_bridge *);
1: - void (*detach)(struct drm_bridge *);
1: - enum drm_mode_status (*mode_valid)(struct drm_bridge *, const struct drm_display_mode *);
1: - bool (*mode_fixup)(struct drm_bridge *, const struct drm_display_mode *, struct drm_display_mode *);
1: - void (*disable)(struct drm_bridge *);
1: - void (*post_disable)(struct drm_bridge *);
1: - void (*mode_set)(struct drm_bridge *, const struct drm_display_mode *, const struct drm_display_mode *);
1: - void (*pre_enable)(struct drm_bridge *);
1: - void (*enable)(struct drm_bridge *);
1: - void (*atomic_pre_enable)(struct drm_bridge *, struct drm_atomic_state *);
1: - void (*atomic_enable)(struct drm_bridge *, struct drm_atomic_state *);
1: - void (*atomic_disable)(struct drm_bridge *, struct drm_atomic_state *);
1: - void (*atomic_post_disable)(struct drm_bridge *, struct drm_atomic_state *);
1: + int (*attach)(struct drm_bridge *);
1: + void (*detach)(struct drm_bridge *);
1: + enum drm_mode_status (*mode_valid)(struct drm_bridge *,
1: + const struct drm_display_mode *);
1: + bool (*mode_fixup)(struct drm_bridge *, const struct drm_display_mode *,
1: + struct drm_display_mode *);
1: + void (*disable)(struct drm_bridge *);
1: + void (*post_disable)(struct drm_bridge *);
1: + void (*mode_set)(struct drm_bridge *, const struct drm_display_mode *,
1: + const struct drm_display_mode *);
1: + void (*pre_enable)(struct drm_bridge *);
1: + void (*enable)(struct drm_bridge *);
1: + void (*atomic_pre_enable)(struct drm_bridge *, struct drm_atomic_state *);
1: + void (*atomic_enable)(struct drm_bridge *, struct drm_atomic_state *);
1: + void (*atomic_disable)(struct drm_bridge *, struct drm_atomic_state *);
1: + void (*atomic_post_disable)(struct drm_bridge *, struct drm_atomic_state *);
1: };
1:
1: struct drm_bridge_timings {
1: - u32 input_bus_flags;
1: - u32 setup_time_ps;
1: - u32 hold_time_ps;
1: - bool dual_link;
1: + u32 input_bus_flags;
1: + u32 setup_time_ps;
1: + u32 hold_time_ps;
1: + bool dual_link;
1: };
1:
1: enum drm_driver_feature {
1: - DRIVER_GEM = 1,
1: - DRIVER_MODESET = 2,
1: - DRIVER_RENDER = 8,
1: - DRIVER_ATOMIC = 16,
1: - DRIVER_SYNCOBJ = 32,
1: - DRIVER_SYNCOBJ_TIMELINE = 64,
1: - DRIVER_USE_AGP = 33554432,
1: - DRIVER_LEGACY = 67108864,
1: - DRIVER_PCI_DMA = 134217728,
1: - DRIVER_SG = 268435456,
1: - DRIVER_HAVE_DMA = 536870912,
1: - DRIVER_HAVE_IRQ = 1073741824,
1: - DRIVER_KMS_LEGACY_CONTEXT = -2147483648,
1: + DRIVER_GEM = 1,
1: + DRIVER_MODESET = 2,
1: + DRIVER_RENDER = 8,
1: + DRIVER_ATOMIC = 16,
1: + DRIVER_SYNCOBJ = 32,
1: + DRIVER_SYNCOBJ_TIMELINE = 64,
1: + DRIVER_USE_AGP = 33554432,
1: + DRIVER_LEGACY = 67108864,
1: + DRIVER_PCI_DMA = 134217728,
1: + DRIVER_SG = 268435456,
1: + DRIVER_HAVE_DMA = 536870912,
1: + DRIVER_HAVE_IRQ = 1073741824,
1: + DRIVER_KMS_LEGACY_CONTEXT = -2147483648,
1: };
1:
1: struct drm_mm;
1:
1: struct drm_mm_node {
1: - long unsigned int color;
1: - u64 start;
1: - u64 size;
1: - struct drm_mm *mm;
1: - struct list_head node_list;
1: - struct list_head hole_stack;
1: - struct rb_node rb;
1: - struct rb_node rb_hole_size;
1: - struct rb_node rb_hole_addr;
1: - u64 __subtree_last;
1: - u64 hole_size;
1: - long unsigned int flags;
1: + long unsigned int color;
1: + u64 start;
1: + u64 size;
1: + struct drm_mm *mm;
1: + struct list_head node_list;
1: + struct list_head hole_stack;
1: + struct rb_node rb;
1: + struct rb_node rb_hole_size;
1: + struct rb_node rb_hole_addr;
1: + u64 __subtree_last;
1: + u64 hole_size;
1: + long unsigned int flags;
1: };
1:
1: struct drm_vma_offset_node {
1: - rwlock_t vm_lock;
1: - struct drm_mm_node vm_node;
1: - struct rb_root vm_files;
1: - bool readonly: 1;
1: + rwlock_t vm_lock;
1: + struct drm_mm_node vm_node;
1: + struct rb_root vm_files;
1: + bool readonly : 1;
1: };
1:
1: struct dma_resv_list;
1:
1: struct dma_resv {
1: - struct ww_mutex lock;
1: - seqcount_t seq;
1: - struct dma_fence *fence_excl;
1: - struct dma_resv_list *fence;
1: + struct ww_mutex lock;
1: + seqcount_t seq;
1: + struct dma_fence *fence_excl;
1: + struct dma_resv_list *fence;
1: };
1:
1: struct drm_gem_object_funcs;
1:
1: struct drm_gem_object {
1: - struct kref refcount;
1: - unsigned int handle_count;
1: - struct drm_device *dev;
1: - struct file *filp;
1: - struct drm_vma_offset_node vma_node;
1: - size_t size;
1: - int name;
1: - struct dma_buf *dma_buf;
1: - struct dma_buf_attachment *import_attach;
1: - struct dma_resv *resv;
1: - struct dma_resv _resv;
1: - const struct drm_gem_object_funcs *funcs;
1: + struct kref refcount;
1: + unsigned int handle_count;
1: + struct drm_device *dev;
1: + struct file *filp;
1: + struct drm_vma_offset_node vma_node;
1: + size_t size;
1: + int name;
1: + struct dma_buf *dma_buf;
1: + struct dma_buf_attachment *import_attach;
1: + struct dma_resv *resv;
1: + struct dma_resv _resv;
1: + const struct drm_gem_object_funcs *funcs;
1: };
1:
1: enum drm_ioctl_flags {
1: - DRM_AUTH = 1,
1: - DRM_MASTER = 2,
1: - DRM_ROOT_ONLY = 4,
1: - DRM_UNLOCKED = 16,
1: - DRM_RENDER_ALLOW = 32,
1: + DRM_AUTH = 1,
1: + DRM_MASTER = 2,
1: + DRM_ROOT_ONLY = 4,
1: + DRM_UNLOCKED = 16,
1: + DRM_RENDER_ALLOW = 32,
1: };
1:
1: typedef int drm_ioctl_t(struct drm_device *, void *, struct drm_file *);
1:
1: struct drm_ioctl_desc {
1: - unsigned int cmd;
1: - enum drm_ioctl_flags flags;
1: - drm_ioctl_t *func;
1: - const char *name;
1: + unsigned int cmd;
1: + enum drm_ioctl_flags flags;
1: + drm_ioctl_t *func;
1: + const char *name;
1: };
1:
1: struct drm_client_funcs {
1: - struct module *owner;
1: - void (*unregister)(struct drm_client_dev *);
1: - int (*restore)(struct drm_client_dev *);
1: - int (*hotplug)(struct drm_client_dev *);
1: + struct module *owner;
1: + void (*unregister)(struct drm_client_dev *);
1: + int (*restore)(struct drm_client_dev *);
1: + int (*hotplug)(struct drm_client_dev *);
1: };
1:
1: struct drm_client_buffer {
1: - struct drm_client_dev *client;
1: - u32 handle;
1: - u32 pitch;
1: - struct drm_gem_object *gem;
1: - void *vaddr;
1: - struct drm_framebuffer *fb;
1: + struct drm_client_dev *client;
1: + u32 handle;
1: + u32 pitch;
1: + struct drm_gem_object *gem;
1: + void *vaddr;
1: + struct drm_framebuffer *fb;
1: };
1:
1: struct drm_fb_helper_surface_size {
1: - u32 fb_width;
1: - u32 fb_height;
1: - u32 surface_width;
1: - u32 surface_height;
1: - u32 surface_bpp;
1: - u32 surface_depth;
1: + u32 fb_width;
1: + u32 fb_height;
1: + u32 surface_width;
1: + u32 surface_height;
1: + u32 surface_bpp;
1: + u32 surface_depth;
1: };
1:
1: struct drm_fb_helper_funcs {
1: - int (*fb_probe)(struct drm_fb_helper *, struct drm_fb_helper_surface_size *);
1: + int (*fb_probe)(struct drm_fb_helper *, struct drm_fb_helper_surface_size *);
1: };
1:
1: struct drm_dp_aux_msg {
1: - unsigned int address;
1: - u8 request;
1: - u8 reply;
1: - void *buffer;
1: - size_t size;
1: + unsigned int address;
1: + u8 request;
1: + u8 reply;
1: + void *buffer;
1: + size_t size;
1: };
1:
1: struct cec_adapter;
1:
1: struct drm_dp_aux_cec {
1: - struct mutex lock;
1: - struct cec_adapter *adap;
1: - struct drm_connector *connector;
1: - struct delayed_work unregister_work;
1: + struct mutex lock;
1: + struct cec_adapter *adap;
1: + struct drm_connector *connector;
1: + struct delayed_work unregister_work;
1: };
1:
1: struct drm_dp_aux {
1: - const char *name;
1: - struct i2c_adapter ddc;
1: - struct device *dev;
1: - struct drm_crtc *crtc;
1: - struct mutex hw_mutex;
1: - struct work_struct crc_work;
1: - u8 crc_count;
1: - ssize_t (*transfer)(struct drm_dp_aux *, struct drm_dp_aux_msg *);
1: - unsigned int i2c_nack_count;
1: - unsigned int i2c_defer_count;
1: - struct drm_dp_aux_cec cec;
1: - bool is_remote;
1: + const char *name;
1: + struct i2c_adapter ddc;
1: + struct device *dev;
1: + struct drm_crtc *crtc;
1: + struct mutex hw_mutex;
1: + struct work_struct crc_work;
1: + u8 crc_count;
1: + ssize_t (*transfer)(struct drm_dp_aux *, struct drm_dp_aux_msg *);
1: + unsigned int i2c_nack_count;
1: + unsigned int i2c_defer_count;
1: + struct drm_dp_aux_cec cec;
1: + bool is_remote;
1: };
1:
1: struct drm_dp_dpcd_ident {
1: - u8 oui[3];
1: - u8 device_id[6];
1: - u8 hw_rev;
1: - u8 sw_major_rev;
1: - u8 sw_minor_rev;
1: + u8 oui[3];
1: + u8 device_id[6];
1: + u8 hw_rev;
1: + u8 sw_major_rev;
1: + u8 sw_minor_rev;
1: };
1:
1: struct drm_dp_desc {
1: - struct drm_dp_dpcd_ident ident;
1: - u32 quirks;
1: + struct drm_dp_dpcd_ident ident;
1: + u32 quirks;
1: };
1:
1: enum drm_dp_quirk {
1: - DP_DPCD_QUIRK_CONSTANT_N = 0,
1: - DP_DPCD_QUIRK_NO_PSR = 1,
1: - DP_DPCD_QUIRK_NO_SINK_COUNT = 2,
1: + DP_DPCD_QUIRK_CONSTANT_N = 0,
1: + DP_DPCD_QUIRK_NO_PSR = 1,
1: + DP_DPCD_QUIRK_NO_SINK_COUNT = 2,
1: };
1:
1: struct dpcd_quirk {
1: - u8 oui[3];
1: - u8 device_id[6];
1: - bool is_branch;
1: - u32 quirks;
1: + u8 oui[3];
1: + u8 device_id[6];
1: + bool is_branch;
1: + u32 quirks;
1: };
1:
1: struct dp_sdp_header {
1: - u8 HB0;
1: - u8 HB1;
1: - u8 HB2;
1: - u8 HB3;
1: + u8 HB0;
1: + u8 HB1;
1: + u8 HB2;
1: + u8 HB3;
1: };
1:
1: struct drm_dsc_rc_range_parameters {
1: - u8 range_min_qp;
1: - u8 range_max_qp;
1: - u8 range_bpg_offset;
1: + u8 range_min_qp;
1: + u8 range_max_qp;
1: + u8 range_bpg_offset;
1: };
1:
1: struct drm_dsc_config {
1: - u8 line_buf_depth;
1: - u8 bits_per_component;
1: - bool convert_rgb;
1: - u8 slice_count;
1: - u16 slice_width;
1: - u16 slice_height;
1: - bool simple_422;
1: - u16 pic_width;
1: - u16 pic_height;
1: - u8 rc_tgt_offset_high;
1: - u8 rc_tgt_offset_low;
1: - u16 bits_per_pixel;
1: - u8 rc_edge_factor;
1: - u8 rc_quant_incr_limit1;
1: - u8 rc_quant_incr_limit0;
1: - u16 initial_xmit_delay;
1: - u16 initial_dec_delay;
1: - bool block_pred_enable;
1: - u8 first_line_bpg_offset;
1: - u16 initial_offset;
1: - u16 rc_buf_thresh[14];
1: - struct drm_dsc_rc_range_parameters rc_range_params[15];
1: - u16 rc_model_size;
1: - u8 flatness_min_qp;
1: - u8 flatness_max_qp;
1: - u8 initial_scale_value;
1: - u16 scale_decrement_interval;
1: - u16 scale_increment_interval;
1: - u16 nfl_bpg_offset;
1: - u16 slice_bpg_offset;
1: - u16 final_offset;
1: - bool vbr_enable;
1: - u8 mux_word_size;
1: - u16 slice_chunk_size;
1: - u16 rc_bits;
1: - u8 dsc_version_minor;
1: - u8 dsc_version_major;
1: - bool native_422;
1: - bool native_420;
1: - u8 second_line_bpg_offset;
1: - u16 nsl_bpg_offset;
1: - u16 second_line_offset_adj;
1: + u8 line_buf_depth;
1: + u8 bits_per_component;
1: + bool convert_rgb;
1: + u8 slice_count;
1: + u16 slice_width;
1: + u16 slice_height;
1: + bool simple_422;
1: + u16 pic_width;
1: + u16 pic_height;
1: + u8 rc_tgt_offset_high;
1: + u8 rc_tgt_offset_low;
1: + u16 bits_per_pixel;
1: + u8 rc_edge_factor;
1: + u8 rc_quant_incr_limit1;
1: + u8 rc_quant_incr_limit0;
1: + u16 initial_xmit_delay;
1: + u16 initial_dec_delay;
1: + bool block_pred_enable;
1: + u8 first_line_bpg_offset;
1: + u16 initial_offset;
1: + u16 rc_buf_thresh[14];
1: + struct drm_dsc_rc_range_parameters rc_range_params[15];
1: + u16 rc_model_size;
1: + u8 flatness_min_qp;
1: + u8 flatness_max_qp;
1: + u8 initial_scale_value;
1: + u16 scale_decrement_interval;
1: + u16 scale_increment_interval;
1: + u16 nfl_bpg_offset;
1: + u16 slice_bpg_offset;
1: + u16 final_offset;
1: + bool vbr_enable;
1: + u8 mux_word_size;
1: + u16 slice_chunk_size;
1: + u16 rc_bits;
1: + u8 dsc_version_minor;
1: + u8 dsc_version_major;
1: + bool native_422;
1: + bool native_420;
1: + u8 second_line_bpg_offset;
1: + u16 nsl_bpg_offset;
1: + u16 second_line_offset_adj;
1: };
1:
1: struct drm_dsc_picture_parameter_set {
1: - u8 dsc_version;
1: - u8 pps_identifier;
1: - u8 pps_reserved;
1: - u8 pps_3;
1: - u8 pps_4;
1: - u8 bits_per_pixel_low;
1: - __be16 pic_height;
1: - __be16 pic_width;
1: - __be16 slice_height;
1: - __be16 slice_width;
1: - __be16 chunk_size;
1: - u8 initial_xmit_delay_high;
1: - u8 initial_xmit_delay_low;
1: - __be16 initial_dec_delay;
1: - u8 pps20_reserved;
1: - u8 initial_scale_value;
1: - __be16 scale_increment_interval;
1: - u8 scale_decrement_interval_high;
1: - u8 scale_decrement_interval_low;
1: - u8 pps26_reserved;
1: - u8 first_line_bpg_offset;
1: - __be16 nfl_bpg_offset;
1: - __be16 slice_bpg_offset;
1: - __be16 initial_offset;
1: - __be16 final_offset;
1: - u8 flatness_min_qp;
1: - u8 flatness_max_qp;
1: - __be16 rc_model_size;
1: - u8 rc_edge_factor;
1: - u8 rc_quant_incr_limit0;
1: - u8 rc_quant_incr_limit1;
1: - u8 rc_tgt_offset;
1: - u8 rc_buf_thresh[14];
1: - __be16 rc_range_parameters[15];
1: - u8 native_422_420;
1: - u8 second_line_bpg_offset;
1: - __be16 nsl_bpg_offset;
1: - __be16 second_line_offset_adj;
1: - u32 pps_long_94_reserved;
1: - u32 pps_long_98_reserved;
1: - u32 pps_long_102_reserved;
1: - u32 pps_long_106_reserved;
1: - u32 pps_long_110_reserved;
1: - u32 pps_long_114_reserved;
1: - u32 pps_long_118_reserved;
1: - u32 pps_long_122_reserved;
1: - __be16 pps_short_126_reserved;
1: + u8 dsc_version;
1: + u8 pps_identifier;
1: + u8 pps_reserved;
1: + u8 pps_3;
1: + u8 pps_4;
1: + u8 bits_per_pixel_low;
1: + __be16 pic_height;
1: + __be16 pic_width;
1: + __be16 slice_height;
1: + __be16 slice_width;
1: + __be16 chunk_size;
1: + u8 initial_xmit_delay_high;
1: + u8 initial_xmit_delay_low;
1: + __be16 initial_dec_delay;
1: + u8 pps20_reserved;
1: + u8 initial_scale_value;
1: + __be16 scale_increment_interval;
1: + u8 scale_decrement_interval_high;
1: + u8 scale_decrement_interval_low;
1: + u8 pps26_reserved;
1: + u8 first_line_bpg_offset;
1: + __be16 nfl_bpg_offset;
1: + __be16 slice_bpg_offset;
1: + __be16 initial_offset;
1: + __be16 final_offset;
1: + u8 flatness_min_qp;
1: + u8 flatness_max_qp;
1: + __be16 rc_model_size;
1: + u8 rc_edge_factor;
1: + u8 rc_quant_incr_limit0;
1: + u8 rc_quant_incr_limit1;
1: + u8 rc_tgt_offset;
1: + u8 rc_buf_thresh[14];
1: + __be16 rc_range_parameters[15];
1: + u8 native_422_420;
1: + u8 second_line_bpg_offset;
1: + __be16 nsl_bpg_offset;
1: + __be16 second_line_offset_adj;
1: + u32 pps_long_94_reserved;
1: + u32 pps_long_98_reserved;
1: + u32 pps_long_102_reserved;
1: + u32 pps_long_106_reserved;
1: + u32 pps_long_110_reserved;
1: + u32 pps_long_114_reserved;
1: + u32 pps_long_118_reserved;
1: + u32 pps_long_122_reserved;
1: + __be16 pps_short_126_reserved;
1: } __attribute__((packed));
1:
1: struct est_timings {
1: - u8 t1;
1: - u8 t2;
1: - u8 mfg_rsvd;
1: + u8 t1;
1: + u8 t2;
1: + u8 mfg_rsvd;
1: };
1:
1: struct std_timing {
1: - u8 hsize;
1: - u8 vfreq_aspect;
1: + u8 hsize;
1: + u8 vfreq_aspect;
1: };
1:
1: struct detailed_pixel_timing {
1: - u8 hactive_lo;
1: - u8 hblank_lo;
1: - u8 hactive_hblank_hi;
1: - u8 vactive_lo;
1: - u8 vblank_lo;
1: - u8 vactive_vblank_hi;
1: - u8 hsync_offset_lo;
1: - u8 hsync_pulse_width_lo;
1: - u8 vsync_offset_pulse_width_lo;
1: - u8 hsync_vsync_offset_pulse_width_hi;
1: - u8 width_mm_lo;
1: - u8 height_mm_lo;
1: - u8 width_height_mm_hi;
1: - u8 hborder;
1: - u8 vborder;
1: - u8 misc;
1: + u8 hactive_lo;
1: + u8 hblank_lo;
1: + u8 hactive_hblank_hi;
1: + u8 vactive_lo;
1: + u8 vblank_lo;
1: + u8 vactive_vblank_hi;
1: + u8 hsync_offset_lo;
1: + u8 hsync_pulse_width_lo;
1: + u8 vsync_offset_pulse_width_lo;
1: + u8 hsync_vsync_offset_pulse_width_hi;
1: + u8 width_mm_lo;
1: + u8 height_mm_lo;
1: + u8 width_height_mm_hi;
1: + u8 hborder;
1: + u8 vborder;
1: + u8 misc;
1: };
1:
1: struct detailed_data_string {
1: - u8 str[13];
1: + u8 str[13];
1: };
1:
1: struct detailed_data_monitor_range {
1: - u8 min_vfreq;
1: - u8 max_vfreq;
1: - u8 min_hfreq_khz;
1: - u8 max_hfreq_khz;
1: - u8 pixel_clock_mhz;
1: - u8 flags;
1: - union {
1: - struct {
1: - u8 reserved;
1: - u8 hfreq_start_khz;
1: - u8 c;
1: - __le16 m;
1: - u8 k;
1: - u8 j;
1: - } __attribute__((packed)) gtf2;
1: - struct {
1: - u8 version;
1: - u8 data1;
1: - u8 data2;
1: - u8 supported_aspects;
1: - u8 flags;
1: - u8 supported_scalings;
1: - u8 preferred_refresh;
1: - } cvt;
1: - } formula;
1: + u8 min_vfreq;
1: + u8 max_vfreq;
1: + u8 min_hfreq_khz;
1: + u8 max_hfreq_khz;
1: + u8 pixel_clock_mhz;
1: + u8 flags;
1: + union {
1: + struct {
1: + u8 reserved;
1: + u8 hfreq_start_khz;
1: + u8 c;
1: + __le16 m;
1: + u8 k;
1: + u8 j;
1: + } __attribute__((packed)) gtf2;
1: + struct {
1: + u8 version;
1: + u8 data1;
1: + u8 data2;
1: + u8 supported_aspects;
1: + u8 flags;
1: + u8 supported_scalings;
1: + u8 preferred_refresh;
1: + } cvt;
1: + } formula;
1: } __attribute__((packed));
1:
1: struct detailed_data_wpindex {
1: - u8 white_yx_lo;
1: - u8 white_x_hi;
1: - u8 white_y_hi;
1: - u8 gamma;
1: + u8 white_yx_lo;
1: + u8 white_x_hi;
1: + u8 white_y_hi;
1: + u8 gamma;
1: };
1:
1: struct cvt_timing {
1: - u8 code[3];
1: + u8 code[3];
1: };
1:
1: struct detailed_non_pixel {
1: - u8 pad1;
1: - u8 type;
1: - u8 pad2;
1: - union {
1: - struct detailed_data_string str;
1: - struct detailed_data_monitor_range range;
1: - struct detailed_data_wpindex color;
1: - struct std_timing timings[6];
1: - struct cvt_timing cvt[4];
1: - } data;
1: + u8 pad1;
1: + u8 type;
1: + u8 pad2;
1: + union {
1: + struct detailed_data_string str;
1: + struct detailed_data_monitor_range range;
1: + struct detailed_data_wpindex color;
1: + struct std_timing timings[6];
1: + struct cvt_timing cvt[4];
1: + } data;
1: } __attribute__((packed));
1:
1: struct detailed_timing {
1: - __le16 pixel_clock;
1: - union {
1: - struct detailed_pixel_timing pixel_data;
1: - struct detailed_non_pixel other_data;
1: - } data;
1: + __le16 pixel_clock;
1: + union {
1: + struct detailed_pixel_timing pixel_data;
1: + struct detailed_non_pixel other_data;
1: + } data;
1: };
1:
1: struct edid {
1: - u8 header[8];
1: - u8 mfg_id[2];
1: - u8 prod_code[2];
1: - u32 serial;
1: - u8 mfg_week;
1: - u8 mfg_year;
1: - u8 version;
1: - u8 revision;
1: - u8 input;
1: - u8 width_cm;
1: - u8 height_cm;
1: - u8 gamma;
1: - u8 features;
1: - u8 red_green_lo;
1: - u8 black_white_lo;
1: - u8 red_x;
1: - u8 red_y;
1: - u8 green_x;
1: - u8 green_y;
1: - u8 blue_x;
1: - u8 blue_y;
1: - u8 white_x;
1: - u8 white_y;
1: - struct est_timings established_timings;
1: - struct std_timing standard_timings[8];
1: - struct detailed_timing detailed_timings[4];
1: - u8 extensions;
1: - u8 checksum;
1: + u8 header[8];
1: + u8 mfg_id[2];
1: + u8 prod_code[2];
1: + u32 serial;
1: + u8 mfg_week;
1: + u8 mfg_year;
1: + u8 version;
1: + u8 revision;
1: + u8 input;
1: + u8 width_cm;
1: + u8 height_cm;
1: + u8 gamma;
1: + u8 features;
1: + u8 red_green_lo;
1: + u8 black_white_lo;
1: + u8 red_x;
1: + u8 red_y;
1: + u8 green_x;
1: + u8 green_y;
1: + u8 blue_x;
1: + u8 blue_y;
1: + u8 white_x;
1: + u8 white_y;
1: + struct est_timings established_timings;
1: + struct std_timing standard_timings[8];
1: + struct detailed_timing detailed_timings[4];
1: + u8 extensions;
1: + u8 checksum;
1: };
1:
1: struct drm_dp_vcpi {
1: - int vcpi;
1: - int pbn;
1: - int aligned_pbn;
1: - int num_slots;
1: + int vcpi;
1: + int pbn;
1: + int aligned_pbn;
1: + int num_slots;
1: };
1:
1: struct drm_dp_mst_branch;
1: @@ -67792,70 +68333,70 @@ struct drm_dp_mst_branch;
1: struct drm_dp_mst_topology_mgr;
1:
1: struct drm_dp_mst_port {
1: - struct kref topology_kref;
1: - struct kref malloc_kref;
1: - u8 port_num;
1: - bool input;
1: - bool mcs;
1: - bool ddps;
1: - u8 pdt;
1: - bool ldps;
1: - u8 dpcd_rev;
1: - u8 num_sdp_streams;
1: - u8 num_sdp_stream_sinks;
1: - uint16_t available_pbn;
1: - struct list_head next;
1: - struct drm_dp_mst_branch *mstb;
1: - struct drm_dp_aux aux;
1: - struct drm_dp_mst_branch *parent;
1: - struct drm_dp_vcpi vcpi;
1: - struct drm_connector *connector;
1: - struct drm_dp_mst_topology_mgr *mgr;
1: - struct edid *cached_edid;
1: - bool has_audio;
1: + struct kref topology_kref;
1: + struct kref malloc_kref;
1: + u8 port_num;
1: + bool input;
1: + bool mcs;
1: + bool ddps;
1: + u8 pdt;
1: + bool ldps;
1: + u8 dpcd_rev;
1: + u8 num_sdp_streams;
1: + u8 num_sdp_stream_sinks;
1: + uint16_t available_pbn;
1: + struct list_head next;
1: + struct drm_dp_mst_branch *mstb;
1: + struct drm_dp_aux aux;
1: + struct drm_dp_mst_branch *parent;
1: + struct drm_dp_vcpi vcpi;
1: + struct drm_connector *connector;
1: + struct drm_dp_mst_topology_mgr *mgr;
1: + struct edid *cached_edid;
1: + bool has_audio;
1: };
1:
1: struct drm_dp_sideband_msg_tx;
1:
1: struct drm_dp_mst_branch {
1: - struct kref topology_kref;
1: - struct kref malloc_kref;
1: - struct list_head destroy_next;
1: - u8 rad[8];
1: - u8 lct;
1: - int num_ports;
1: - int msg_slots;
1: - struct list_head ports;
1: - struct drm_dp_mst_port *port_parent;
1: - struct drm_dp_mst_topology_mgr *mgr;
1: - struct drm_dp_sideband_msg_tx *tx_slots[2];
1: - int last_seqno;
1: - bool link_address_sent;
1: - u8 guid[16];
1: + struct kref topology_kref;
1: + struct kref malloc_kref;
1: + struct list_head destroy_next;
1: + u8 rad[8];
1: + u8 lct;
1: + int num_ports;
1: + int msg_slots;
1: + struct list_head ports;
1: + struct drm_dp_mst_port *port_parent;
1: + struct drm_dp_mst_topology_mgr *mgr;
1: + struct drm_dp_sideband_msg_tx *tx_slots[2];
1: + int last_seqno;
1: + bool link_address_sent;
1: + u8 guid[16];
1: };
1:
1: struct drm_dp_sideband_msg_hdr {
1: - u8 lct;
1: - u8 lcr;
1: - u8 rad[8];
1: - bool broadcast;
1: - bool path_msg;
1: - u8 msg_len;
1: - bool somt;
1: - bool eomt;
1: - bool seqno;
1: + u8 lct;
1: + u8 lcr;
1: + u8 rad[8];
1: + bool broadcast;
1: + bool path_msg;
1: + u8 msg_len;
1: + bool somt;
1: + bool eomt;
1: + bool seqno;
1: };
1:
1: struct drm_dp_sideband_msg_rx {
1: - u8 chunk[48];
1: - u8 msg[256];
1: - u8 curchunk_len;
1: - u8 curchunk_idx;
1: - u8 curchunk_hdrlen;
1: - u8 curlen;
1: - bool have_somt;
1: - bool have_eomt;
1: - struct drm_dp_sideband_msg_hdr initial_hdr;
1: + u8 chunk[48];
1: + u8 msg[256];
1: + u8 curchunk_len;
1: + u8 curchunk_idx;
1: + u8 curchunk_hdrlen;
1: + u8 curlen;
1: + bool have_somt;
1: + bool have_eomt;
1: + struct drm_dp_sideband_msg_hdr initial_hdr;
1: };
1:
1: struct drm_dp_mst_topology_cbs;
1: @@ -67863,366 +68404,373 @@ struct drm_dp_mst_topology_cbs;
1: struct drm_dp_payload;
1:
1: struct drm_dp_mst_topology_mgr {
1: - struct drm_private_obj base;
1: - struct drm_device *dev;
1: - const struct drm_dp_mst_topology_cbs *cbs;
1: - int max_dpcd_transaction_bytes;
1: - struct drm_dp_aux *aux;
1: - int max_payloads;
1: - int conn_base_id;
1: - struct drm_dp_sideband_msg_rx down_rep_recv;
1: - struct drm_dp_sideband_msg_rx up_req_recv;
1: - struct mutex lock;
1: - struct mutex probe_lock;
1: - bool mst_state;
1: - struct drm_dp_mst_branch *mst_primary;
1: - u8 dpcd[15];
1: - u8 sink_count;
1: - int pbn_div;
1: - const struct drm_private_state_funcs *funcs;
1: - struct mutex qlock;
1: - bool is_waiting_for_dwn_reply;
1: - struct list_head tx_msg_downq;
1: - struct mutex payload_lock;
1: - struct drm_dp_vcpi **proposed_vcpis;
1: - struct drm_dp_payload *payloads;
1: - long unsigned int payload_mask;
1: - long unsigned int vcpi_mask;
1: - wait_queue_head_t tx_waitq;
1: - struct work_struct work;
1: - struct work_struct tx_work;
1: - struct list_head destroy_port_list;
1: - struct list_head destroy_branch_device_list;
1: - struct mutex delayed_destroy_lock;
1: - struct work_struct delayed_destroy_work;
1: - struct list_head up_req_list;
1: - struct mutex up_req_lock;
1: - struct work_struct up_req_work;
1: + struct drm_private_obj base;
1: + struct drm_device *dev;
1: + const struct drm_dp_mst_topology_cbs *cbs;
1: + int max_dpcd_transaction_bytes;
1: + struct drm_dp_aux *aux;
1: + int max_payloads;
1: + int conn_base_id;
1: + struct drm_dp_sideband_msg_rx down_rep_recv;
1: + struct drm_dp_sideband_msg_rx up_req_recv;
1: + struct mutex lock;
1: + struct mutex probe_lock;
1: + bool mst_state;
1: + struct drm_dp_mst_branch *mst_primary;
1: + u8 dpcd[15];
1: + u8 sink_count;
1: + int pbn_div;
1: + const struct drm_private_state_funcs *funcs;
1: + struct mutex qlock;
1: + bool is_waiting_for_dwn_reply;
1: + struct list_head tx_msg_downq;
1: + struct mutex payload_lock;
1: + struct drm_dp_vcpi **proposed_vcpis;
1: + struct drm_dp_payload *payloads;
1: + long unsigned int payload_mask;
1: + long unsigned int vcpi_mask;
1: + wait_queue_head_t tx_waitq;
1: + struct work_struct work;
1: + struct work_struct tx_work;
1: + struct list_head destroy_port_list;
1: + struct list_head destroy_branch_device_list;
1: + struct mutex delayed_destroy_lock;
1: + struct work_struct delayed_destroy_work;
1: + struct list_head up_req_list;
1: + struct mutex up_req_lock;
1: + struct work_struct up_req_work;
1: };
1:
1: struct drm_dp_nak_reply {
1: - u8 guid[16];
1: - u8 reason;
1: - u8 nak_data;
1: + u8 guid[16];
1: + u8 reason;
1: + u8 nak_data;
1: };
1:
1: struct drm_dp_link_addr_reply_port {
1: - bool input_port;
1: - u8 peer_device_type;
1: - u8 port_number;
1: - bool mcs;
1: - bool ddps;
1: - bool legacy_device_plug_status;
1: - u8 dpcd_revision;
1: - u8 peer_guid[16];
1: - u8 num_sdp_streams;
1: - u8 num_sdp_stream_sinks;
1: + bool input_port;
1: + u8 peer_device_type;
1: + u8 port_number;
1: + bool mcs;
1: + bool ddps;
1: + bool legacy_device_plug_status;
1: + u8 dpcd_revision;
1: + u8 peer_guid[16];
1: + u8 num_sdp_streams;
1: + u8 num_sdp_stream_sinks;
1: };
1:
1: struct drm_dp_link_address_ack_reply {
1: - u8 guid[16];
1: - u8 nports;
1: - struct drm_dp_link_addr_reply_port ports[16];
1: + u8 guid[16];
1: + u8 nports;
1: + struct drm_dp_link_addr_reply_port ports[16];
1: };
1:
1: struct drm_dp_port_number_rep {
1: - u8 port_number;
1: + u8 port_number;
1: };
1:
1: struct drm_dp_enum_path_resources_ack_reply {
1: - u8 port_number;
1: - u16 full_payload_bw_number;
1: - u16 avail_payload_bw_number;
1: + u8 port_number;
1: + u16 full_payload_bw_number;
1: + u16 avail_payload_bw_number;
1: };
1:
1: struct drm_dp_allocate_payload_ack_reply {
1: - u8 port_number;
1: - u8 vcpi;
1: - u16 allocated_pbn;
1: + u8 port_number;
1: + u8 vcpi;
1: + u16 allocated_pbn;
1: };
1:
1: struct drm_dp_query_payload_ack_reply {
1: - u8 port_number;
1: - u16 allocated_pbn;
1: + u8 port_number;
1: + u16 allocated_pbn;
1: };
1:
1: struct drm_dp_remote_dpcd_read_ack_reply {
1: - u8 port_number;
1: - u8 num_bytes;
1: - u8 bytes[255];
1: + u8 port_number;
1: + u8 num_bytes;
1: + u8 bytes[255];
1: };
1:
1: struct drm_dp_remote_dpcd_write_ack_reply {
1: - u8 port_number;
1: + u8 port_number;
1: };
1:
1: struct drm_dp_remote_dpcd_write_nak_reply {
1: - u8 port_number;
1: - u8 reason;
1: - u8 bytes_written_before_failure;
1: + u8 port_number;
1: + u8 reason;
1: + u8 bytes_written_before_failure;
1: };
1:
1: struct drm_dp_remote_i2c_read_ack_reply {
1: - u8 port_number;
1: - u8 num_bytes;
1: - u8 bytes[255];
1: + u8 port_number;
1: + u8 num_bytes;
1: + u8 bytes[255];
1: };
1:
1: struct drm_dp_remote_i2c_read_nak_reply {
1: - u8 port_number;
1: - u8 nak_reason;
1: - u8 i2c_nak_transaction;
1: + u8 port_number;
1: + u8 nak_reason;
1: + u8 i2c_nak_transaction;
1: };
1:
1: struct drm_dp_remote_i2c_write_ack_reply {
1: - u8 port_number;
1: + u8 port_number;
1: };
1:
1: union ack_replies {
1: - struct drm_dp_nak_reply nak;
1: - struct drm_dp_link_address_ack_reply link_addr;
1: - struct drm_dp_port_number_rep port_number;
1: - struct drm_dp_enum_path_resources_ack_reply path_resources;
1: - struct drm_dp_allocate_payload_ack_reply allocate_payload;
1: - struct drm_dp_query_payload_ack_reply query_payload;
1: - struct drm_dp_remote_dpcd_read_ack_reply remote_dpcd_read_ack;
1: - struct drm_dp_remote_dpcd_write_ack_reply remote_dpcd_write_ack;
1: - struct drm_dp_remote_dpcd_write_nak_reply remote_dpcd_write_nack;
1: - struct drm_dp_remote_i2c_read_ack_reply remote_i2c_read_ack;
1: - struct drm_dp_remote_i2c_read_nak_reply remote_i2c_read_nack;
1: - struct drm_dp_remote_i2c_write_ack_reply remote_i2c_write_ack;
1: + struct drm_dp_nak_reply nak;
1: + struct drm_dp_link_address_ack_reply link_addr;
1: + struct drm_dp_port_number_rep port_number;
1: + struct drm_dp_enum_path_resources_ack_reply path_resources;
1: + struct drm_dp_allocate_payload_ack_reply allocate_payload;
1: + struct drm_dp_query_payload_ack_reply query_payload;
1: + struct drm_dp_remote_dpcd_read_ack_reply remote_dpcd_read_ack;
1: + struct drm_dp_remote_dpcd_write_ack_reply remote_dpcd_write_ack;
1: + struct drm_dp_remote_dpcd_write_nak_reply remote_dpcd_write_nack;
1: + struct drm_dp_remote_i2c_read_ack_reply remote_i2c_read_ack;
1: + struct drm_dp_remote_i2c_read_nak_reply remote_i2c_read_nack;
1: + struct drm_dp_remote_i2c_write_ack_reply remote_i2c_write_ack;
1: };
1:
1: struct drm_dp_sideband_msg_reply_body {
1: - u8 reply_type;
1: - u8 req_type;
1: - union ack_replies u;
1: + u8 reply_type;
1: + u8 req_type;
1: + union ack_replies u;
1: };
1:
1: struct drm_dp_sideband_msg_tx {
1: - u8 msg[256];
1: - u8 chunk[48];
1: - u8 cur_offset;
1: - u8 cur_len;
1: - struct drm_dp_mst_branch *dst;
1: - struct list_head next;
1: - int seqno;
1: - int state;
1: - bool path_msg;
1: - struct drm_dp_sideband_msg_reply_body reply;
1: + u8 msg[256];
1: + u8 chunk[48];
1: + u8 cur_offset;
1: + u8 cur_len;
1: + struct drm_dp_mst_branch *dst;
1: + struct list_head next;
1: + int seqno;
1: + int state;
1: + bool path_msg;
1: + struct drm_dp_sideband_msg_reply_body reply;
1: };
1:
1: struct drm_dp_allocate_payload {
1: - u8 port_number;
1: - u8 number_sdp_streams;
1: - u8 vcpi;
1: - u16 pbn;
1: - u8 sdp_stream_sink[16];
1: + u8 port_number;
1: + u8 number_sdp_streams;
1: + u8 vcpi;
1: + u16 pbn;
1: + u8 sdp_stream_sink[16];
1: };
1:
1: struct drm_dp_connection_status_notify {
1: - u8 guid[16];
1: - u8 port_number;
1: - bool legacy_device_plug_status;
1: - bool displayport_device_plug_status;
1: - bool message_capability_status;
1: - bool input_port;
1: - u8 peer_device_type;
1: + u8 guid[16];
1: + u8 port_number;
1: + bool legacy_device_plug_status;
1: + bool displayport_device_plug_status;
1: + bool message_capability_status;
1: + bool input_port;
1: + u8 peer_device_type;
1: };
1:
1: struct drm_dp_remote_dpcd_read {
1: - u8 port_number;
1: - u32 dpcd_address;
1: - u8 num_bytes;
1: + u8 port_number;
1: + u32 dpcd_address;
1: + u8 num_bytes;
1: };
1:
1: struct drm_dp_remote_dpcd_write {
1: - u8 port_number;
1: - u32 dpcd_address;
1: - u8 num_bytes;
1: - u8 *bytes;
1: + u8 port_number;
1: + u32 dpcd_address;
1: + u8 num_bytes;
1: + u8 *bytes;
1: };
1:
1: struct drm_dp_remote_i2c_read_tx {
1: - u8 i2c_dev_id;
1: - u8 num_bytes;
1: - u8 *bytes;
1: - u8 no_stop_bit;
1: - u8 i2c_transaction_delay;
1: + u8 i2c_dev_id;
1: + u8 num_bytes;
1: + u8 *bytes;
1: + u8 no_stop_bit;
1: + u8 i2c_transaction_delay;
1: };
1:
1: struct drm_dp_remote_i2c_read {
1: - u8 num_transactions;
1: - u8 port_number;
1: - struct drm_dp_remote_i2c_read_tx transactions[4];
1: - u8 read_i2c_device_id;
1: - u8 num_bytes_read;
1: + u8 num_transactions;
1: + u8 port_number;
1: + struct drm_dp_remote_i2c_read_tx transactions[4];
1: + u8 read_i2c_device_id;
1: + u8 num_bytes_read;
1: };
1:
1: struct drm_dp_remote_i2c_write {
1: - u8 port_number;
1: - u8 write_i2c_device_id;
1: - u8 num_bytes;
1: - u8 *bytes;
1: + u8 port_number;
1: + u8 write_i2c_device_id;
1: + u8 num_bytes;
1: + u8 *bytes;
1: };
1:
1: struct drm_dp_port_number_req {
1: - u8 port_number;
1: + u8 port_number;
1: };
1:
1: struct drm_dp_query_payload {
1: - u8 port_number;
1: - u8 vcpi;
1: + u8 port_number;
1: + u8 vcpi;
1: };
1:
1: struct drm_dp_resource_status_notify {
1: - u8 port_number;
1: - u8 guid[16];
1: - u16 available_pbn;
1: + u8 port_number;
1: + u8 guid[16];
1: + u16 available_pbn;
1: };
1:
1: union ack_req {
1: - struct drm_dp_connection_status_notify conn_stat;
1: - struct drm_dp_port_number_req port_num;
1: - struct drm_dp_resource_status_notify resource_stat;
1: - struct drm_dp_query_payload query_payload;
1: - struct drm_dp_allocate_payload allocate_payload;
1: - struct drm_dp_remote_dpcd_read dpcd_read;
1: - struct drm_dp_remote_dpcd_write dpcd_write;
1: - struct drm_dp_remote_i2c_read i2c_read;
1: - struct drm_dp_remote_i2c_write i2c_write;
1: + struct drm_dp_connection_status_notify conn_stat;
1: + struct drm_dp_port_number_req port_num;
1: + struct drm_dp_resource_status_notify resource_stat;
1: + struct drm_dp_query_payload query_payload;
1: + struct drm_dp_allocate_payload allocate_payload;
1: + struct drm_dp_remote_dpcd_read dpcd_read;
1: + struct drm_dp_remote_dpcd_write dpcd_write;
1: + struct drm_dp_remote_i2c_read i2c_read;
1: + struct drm_dp_remote_i2c_write i2c_write;
1: };
1:
1: struct drm_dp_sideband_msg_req_body {
1: - u8 req_type;
1: - union ack_req u;
1: + u8 req_type;
1: + union ack_req u;
1: };
1:
1: struct drm_dp_mst_topology_cbs {
1: - struct drm_connector * (*add_connector)(struct drm_dp_mst_topology_mgr *, struct drm_dp_mst_port *, const char *);
1: - void (*register_connector)(struct drm_connector *);
1: - void (*destroy_connector)(struct drm_dp_mst_topology_mgr *, struct drm_connector *);
1: + struct drm_connector *(*add_connector)(struct drm_dp_mst_topology_mgr *,
1: + struct drm_dp_mst_port *,
1: + const char *);
1: + void (*register_connector)(struct drm_connector *);
1: + void (*destroy_connector)(struct drm_dp_mst_topology_mgr *,
1: + struct drm_connector *);
1: };
1:
1: struct drm_dp_payload {
1: - int payload_state;
1: - int start_slot;
1: - int num_slots;
1: - int vcpi;
1: + int payload_state;
1: + int start_slot;
1: + int num_slots;
1: + int vcpi;
1: };
1:
1: struct drm_dp_vcpi_allocation {
1: - struct drm_dp_mst_port *port;
1: - int vcpi;
1: - struct list_head next;
1: + struct drm_dp_mst_port *port;
1: + int vcpi;
1: + struct list_head next;
1: };
1:
1: struct drm_dp_mst_topology_state {
1: - struct drm_private_state base;
1: - struct list_head vcpis;
1: - struct drm_dp_mst_topology_mgr *mgr;
1: + struct drm_private_state base;
1: + struct list_head vcpis;
1: + struct drm_dp_mst_topology_mgr *mgr;
1: };
1:
1: struct drm_dp_pending_up_req {
1: - struct drm_dp_sideband_msg_hdr hdr;
1: - struct drm_dp_sideband_msg_req_body msg;
1: - struct list_head next;
1: + struct drm_dp_sideband_msg_hdr hdr;
1: + struct drm_dp_sideband_msg_req_body msg;
1: + struct list_head next;
1: };
1:
1: struct dma_fence_ops;
1:
1: struct dma_fence {
1: - spinlock_t *lock;
1: - const struct dma_fence_ops *ops;
1: - union {
1: - struct list_head cb_list;
1: - ktime_t timestamp;
1: - struct callback_head rcu;
1: - };
1: - u64 context;
1: - u64 seqno;
1: - long unsigned int flags;
1: - struct kref refcount;
1: - int error;
1: + spinlock_t *lock;
1: + const struct dma_fence_ops *ops;
1: + union {
1: + struct list_head cb_list;
1: + ktime_t timestamp;
1: + struct callback_head rcu;
1: + };
1: + u64 context;
1: + u64 seqno;
1: + long unsigned int flags;
1: + struct kref refcount;
1: + int error;
1: };
1:
1: struct dma_fence_ops {
1: - bool use_64bit_seqno;
1: - const char * (*get_driver_name)(struct dma_fence *);
1: - const char * (*get_timeline_name)(struct dma_fence *);
1: - bool (*enable_signaling)(struct dma_fence *);
1: - bool (*signaled)(struct dma_fence *);
1: - long int (*wait)(struct dma_fence *, bool, long int);
1: - void (*release)(struct dma_fence *);
1: - void (*fence_value_str)(struct dma_fence *, char *, int);
1: - void (*timeline_value_str)(struct dma_fence *, char *, int);
1: + bool use_64bit_seqno;
1: + const char *(*get_driver_name)(struct dma_fence *);
1: + const char *(*get_timeline_name)(struct dma_fence *);
1: + bool (*enable_signaling)(struct dma_fence *);
1: + bool (*signaled)(struct dma_fence *);
1: + long int (*wait)(struct dma_fence *, bool, long int);
1: + void (*release)(struct dma_fence *);
1: + void (*fence_value_str)(struct dma_fence *, char *, int);
1: + void (*timeline_value_str)(struct dma_fence *, char *, int);
1: };
1:
1: struct drm_color_lut {
1: - __u16 red;
1: - __u16 green;
1: - __u16 blue;
1: - __u16 reserved;
1: + __u16 red;
1: + __u16 green;
1: + __u16 blue;
1: + __u16 reserved;
1: };
1:
1: struct drm_writeback_job {
1: - struct drm_writeback_connector *connector;
1: - bool prepared;
1: - struct work_struct cleanup_work;
1: - struct list_head list_entry;
1: - struct drm_framebuffer *fb;
1: - struct dma_fence *out_fence;
1: - void *priv;
1: + struct drm_writeback_connector *connector;
1: + bool prepared;
1: + struct work_struct cleanup_work;
1: + struct list_head list_entry;
1: + struct drm_framebuffer *fb;
1: + struct dma_fence *out_fence;
1: + void *priv;
1: };
1:
1: struct drm_writeback_connector {
1: - struct drm_connector base;
1: - struct drm_encoder encoder;
1: - struct drm_property_blob *pixel_formats_blob_ptr;
1: - spinlock_t job_lock;
1: - struct list_head job_queue;
1: - unsigned int fence_context;
1: - spinlock_t fence_lock;
1: - long unsigned int fence_seqno;
1: - char timeline_name[32];
1: + struct drm_connector base;
1: + struct drm_encoder encoder;
1: + struct drm_property_blob *pixel_formats_blob_ptr;
1: + spinlock_t job_lock;
1: + struct list_head job_queue;
1: + unsigned int fence_context;
1: + spinlock_t fence_lock;
1: + long unsigned int fence_seqno;
1: + char timeline_name[32];
1: };
1:
1: enum drm_lspcon_mode {
1: - DRM_LSPCON_MODE_INVALID = 0,
1: - DRM_LSPCON_MODE_LS = 1,
1: - DRM_LSPCON_MODE_PCON = 2,
1: + DRM_LSPCON_MODE_INVALID = 0,
1: + DRM_LSPCON_MODE_LS = 1,
1: + DRM_LSPCON_MODE_PCON = 2,
1: };
1:
1: enum drm_dp_dual_mode_type {
1: - DRM_DP_DUAL_MODE_NONE = 0,
1: - DRM_DP_DUAL_MODE_UNKNOWN = 1,
1: - DRM_DP_DUAL_MODE_TYPE1_DVI = 2,
1: - DRM_DP_DUAL_MODE_TYPE1_HDMI = 3,
1: - DRM_DP_DUAL_MODE_TYPE2_DVI = 4,
1: - DRM_DP_DUAL_MODE_TYPE2_HDMI = 5,
1: - DRM_DP_DUAL_MODE_LSPCON = 6,
1: + DRM_DP_DUAL_MODE_NONE = 0,
1: + DRM_DP_DUAL_MODE_UNKNOWN = 1,
1: + DRM_DP_DUAL_MODE_TYPE1_DVI = 2,
1: + DRM_DP_DUAL_MODE_TYPE1_HDMI = 3,
1: + DRM_DP_DUAL_MODE_TYPE2_DVI = 4,
1: + DRM_DP_DUAL_MODE_TYPE2_HDMI = 5,
1: + DRM_DP_DUAL_MODE_LSPCON = 6,
1: };
1:
1: struct drm_simple_display_pipe;
1:
1: struct drm_simple_display_pipe_funcs {
1: - enum drm_mode_status (*mode_valid)(struct drm_simple_display_pipe *, const struct drm_display_mode *);
1: - void (*enable)(struct drm_simple_display_pipe *, struct drm_crtc_state *, struct drm_plane_state *);
1: - void (*disable)(struct drm_simple_display_pipe *);
1: - int (*check)(struct drm_simple_display_pipe *, struct drm_plane_state *, struct drm_crtc_state *);
1: - void (*update)(struct drm_simple_display_pipe *, struct drm_plane_state *);
1: - int (*prepare_fb)(struct drm_simple_display_pipe *, struct drm_plane_state *);
1: - void (*cleanup_fb)(struct drm_simple_display_pipe *, struct drm_plane_state *);
1: - int (*enable_vblank)(struct drm_simple_display_pipe *);
1: - void (*disable_vblank)(struct drm_simple_display_pipe *);
1: + enum drm_mode_status (*mode_valid)(struct drm_simple_display_pipe *,
1: + const struct drm_display_mode *);
1: + void (*enable)(struct drm_simple_display_pipe *, struct drm_crtc_state *,
1: + struct drm_plane_state *);
1: + void (*disable)(struct drm_simple_display_pipe *);
1: + int (*check)(struct drm_simple_display_pipe *, struct drm_plane_state *,
1: + struct drm_crtc_state *);
1: + void (*update)(struct drm_simple_display_pipe *, struct drm_plane_state *);
1: + int (*prepare_fb)(struct drm_simple_display_pipe *, struct drm_plane_state *);
1: + void (*cleanup_fb)(struct drm_simple_display_pipe *,
1: + struct drm_plane_state *);
1: + int (*enable_vblank)(struct drm_simple_display_pipe *);
1: + void (*disable_vblank)(struct drm_simple_display_pipe *);
1: };
1:
1: struct drm_simple_display_pipe {
1: - struct drm_crtc crtc;
1: - struct drm_plane plane;
1: - struct drm_encoder encoder;
1: - struct drm_connector *connector;
1: - const struct drm_simple_display_pipe_funcs *funcs;
1: + struct drm_crtc crtc;
1: + struct drm_plane plane;
1: + struct drm_encoder encoder;
1: + struct drm_connector *connector;
1: + const struct drm_simple_display_pipe_funcs *funcs;
1: };
1:
1: struct dma_fence_cb;
1: @@ -68230,124 +68778,128 @@ struct dma_fence_cb;
1: typedef void (*dma_fence_func_t)(struct dma_fence *, struct dma_fence_cb *);
1:
1: struct dma_fence_cb {
1: - struct list_head node;
1: - dma_fence_func_t func;
1: + struct list_head node;
1: + dma_fence_func_t func;
1: };
1:
1: struct dma_buf_ops {
1: - bool cache_sgt_mapping;
1: - bool dynamic_mapping;
1: - int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
1: - void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
1: - struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *, enum dma_data_direction);
1: - void (*unmap_dma_buf)(struct dma_buf_attachment *, struct sg_table *, enum dma_data_direction);
1: - void (*release)(struct dma_buf *);
1: - int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
1: - int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
1: - int (*mmap)(struct dma_buf *, struct vm_area_struct *);
1: - void * (*map)(struct dma_buf *, long unsigned int);
1: - void (*unmap)(struct dma_buf *, long unsigned int, void *);
1: - void * (*vmap)(struct dma_buf *);
1: - void (*vunmap)(struct dma_buf *, void *);
1: + bool cache_sgt_mapping;
1: + bool dynamic_mapping;
1: + int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
1: + void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
1: + struct sg_table *(*map_dma_buf)(struct dma_buf_attachment *,
1: + enum dma_data_direction);
1: + void (*unmap_dma_buf)(struct dma_buf_attachment *, struct sg_table *,
1: + enum dma_data_direction);
1: + void (*release)(struct dma_buf *);
1: + int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
1: + int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
1: + int (*mmap)(struct dma_buf *, struct vm_area_struct *);
1: + void *(*map)(struct dma_buf *, long unsigned int);
1: + void (*unmap)(struct dma_buf *, long unsigned int, void *);
1: + void *(*vmap)(struct dma_buf *);
1: + void (*vunmap)(struct dma_buf *, void *);
1: };
1:
1: struct dma_buf_poll_cb_t {
1: - struct dma_fence_cb cb;
1: - wait_queue_head_t *poll;
1: - __poll_t active;
1: + struct dma_fence_cb cb;
1: + wait_queue_head_t *poll;
1: + __poll_t active;
1: };
1:
1: struct dma_buf {
1: - size_t size;
1: - struct file *file;
1: - struct list_head attachments;
1: - const struct dma_buf_ops *ops;
1: - struct mutex lock;
1: - unsigned int vmapping_counter;
1: - void *vmap_ptr;
1: - const char *exp_name;
1: - const char *name;
1: - struct module *owner;
1: - struct list_head list_node;
1: - void *priv;
1: - struct dma_resv *resv;
1: - wait_queue_head_t poll;
1: - struct dma_buf_poll_cb_t cb_excl;
1: - struct dma_buf_poll_cb_t cb_shared;
1: + size_t size;
1: + struct file *file;
1: + struct list_head attachments;
1: + const struct dma_buf_ops *ops;
1: + struct mutex lock;
1: + unsigned int vmapping_counter;
1: + void *vmap_ptr;
1: + const char *exp_name;
1: + const char *name;
1: + struct module *owner;
1: + struct list_head list_node;
1: + void *priv;
1: + struct dma_resv *resv;
1: + wait_queue_head_t poll;
1: + struct dma_buf_poll_cb_t cb_excl;
1: + struct dma_buf_poll_cb_t cb_shared;
1: };
1:
1: struct dma_buf_attachment {
1: - struct dma_buf *dmabuf;
1: - struct device *dev;
1: - struct list_head node;
1: - struct sg_table *sgt;
1: - enum dma_data_direction dir;
1: - bool dynamic_mapping;
1: - void *priv;
1: + struct dma_buf *dmabuf;
1: + struct device *dev;
1: + struct list_head node;
1: + struct sg_table *sgt;
1: + enum dma_data_direction dir;
1: + bool dynamic_mapping;
1: + void *priv;
1: };
1:
1: struct dma_resv_list {
1: - struct callback_head rcu;
1: - u32 shared_count;
1: - u32 shared_max;
1: - struct dma_fence *shared[0];
1: + struct callback_head rcu;
1: + u32 shared_count;
1: + u32 shared_max;
1: + struct dma_fence *shared[0];
1: };
1:
1: struct drm_mm {
1: - void (*color_adjust)(const struct drm_mm_node *, long unsigned int, u64 *, u64 *);
1: - struct list_head hole_stack;
1: - struct drm_mm_node head_node;
1: - struct rb_root_cached interval_tree;
1: - struct rb_root_cached holes_size;
1: - struct rb_root holes_addr;
1: - long unsigned int scan_active;
1: + void (*color_adjust)(const struct drm_mm_node *, long unsigned int, u64 *,
1: + u64 *);
1: + struct list_head hole_stack;
1: + struct drm_mm_node head_node;
1: + struct rb_root_cached interval_tree;
1: + struct rb_root_cached holes_size;
1: + struct rb_root holes_addr;
1: + long unsigned int scan_active;
1: };
1:
1: struct drm_vma_offset_manager {
1: - rwlock_t vm_lock;
1: - struct drm_mm vm_addr_space_mm;
1: + rwlock_t vm_lock;
1: + struct drm_mm vm_addr_space_mm;
1: };
1:
1: struct drm_gem_object_funcs {
1: - void (*free)(struct drm_gem_object *);
1: - int (*open)(struct drm_gem_object *, struct drm_file *);
1: - void (*close)(struct drm_gem_object *, struct drm_file *);
1: - void (*print_info)(struct drm_printer *, unsigned int, const struct drm_gem_object *);
1: - struct dma_buf * (*export)(struct drm_gem_object *, int);
1: - int (*pin)(struct drm_gem_object *);
1: - void (*unpin)(struct drm_gem_object *);
1: - struct sg_table * (*get_sg_table)(struct drm_gem_object *);
1: - void * (*vmap)(struct drm_gem_object *);
1: - void (*vunmap)(struct drm_gem_object *, void *);
1: - int (*mmap)(struct drm_gem_object *, struct vm_area_struct *);
1: - const struct vm_operations_struct *vm_ops;
1: + void (*free)(struct drm_gem_object *);
1: + int (*open)(struct drm_gem_object *, struct drm_file *);
1: + void (*close)(struct drm_gem_object *, struct drm_file *);
1: + void (*print_info)(struct drm_printer *, unsigned int,
1: + const struct drm_gem_object *);
1: + struct dma_buf *(*export)(struct drm_gem_object *, int);
1: + int (*pin)(struct drm_gem_object *);
1: + void (*unpin)(struct drm_gem_object *);
1: + struct sg_table *(*get_sg_table)(struct drm_gem_object *);
1: + void *(*vmap)(struct drm_gem_object *);
1: + void (*vunmap)(struct drm_gem_object *, void *);
1: + int (*mmap)(struct drm_gem_object *, struct vm_area_struct *);
1: + const struct vm_operations_struct *vm_ops;
1: };
1:
1: struct drm_mode_rect {
1: - __s32 x1;
1: - __s32 y1;
1: - __s32 x2;
1: - __s32 y2;
1: + __s32 x1;
1: + __s32 y1;
1: + __s32 x2;
1: + __s32 y2;
1: };
1:
1: struct drm_atomic_helper_damage_iter {
1: - struct drm_rect plane_src;
1: - const struct drm_rect *clips;
1: - uint32_t num_clips;
1: - uint32_t curr_clip;
1: - bool full_update;
1: + struct drm_rect plane_src;
1: + const struct drm_rect *clips;
1: + uint32_t num_clips;
1: + uint32_t curr_clip;
1: + bool full_update;
1: };
1:
1: struct ewma_psr_time {
1: - long unsigned int internal;
1: + long unsigned int internal;
1: };
1:
1: struct drm_self_refresh_data {
1: - struct drm_crtc *crtc;
1: - struct delayed_work entry_work;
1: - struct mutex avg_mutex;
1: - struct ewma_psr_time entry_avg_ms;
1: - struct ewma_psr_time exit_avg_ms;
1: + struct drm_crtc *crtc;
1: + struct delayed_work entry_work;
1: + struct mutex avg_mutex;
1: + struct ewma_psr_time entry_avg_ms;
1: + struct ewma_psr_time exit_avg_ms;
1: };
1:
1: struct display_timing;
1: @@ -68355,501 +68907,507 @@ struct display_timing;
1: struct drm_panel;
1:
1: struct drm_panel_funcs {
1: - int (*prepare)(struct drm_panel *);
1: - int (*enable)(struct drm_panel *);
1: - int (*disable)(struct drm_panel *);
1: - int (*unprepare)(struct drm_panel *);
1: - int (*get_modes)(struct drm_panel *);
1: - int (*get_timings)(struct drm_panel *, unsigned int, struct display_timing *);
1: + int (*prepare)(struct drm_panel *);
1: + int (*enable)(struct drm_panel *);
1: + int (*disable)(struct drm_panel *);
1: + int (*unprepare)(struct drm_panel *);
1: + int (*get_modes)(struct drm_panel *);
1: + int (*get_timings)(struct drm_panel *, unsigned int, struct display_timing *);
1: };
1:
1: struct drm_panel {
1: - struct drm_device *drm;
1: - struct drm_connector *connector;
1: - struct device *dev;
1: - const struct drm_panel_funcs *funcs;
1: - int connector_type;
1: - struct list_head list;
1: + struct drm_device *drm;
1: + struct drm_connector *connector;
1: + struct device *dev;
1: + const struct drm_panel_funcs *funcs;
1: + int connector_type;
1: + struct list_head list;
1: };
1:
1: struct panel_bridge {
1: - struct drm_bridge bridge;
1: - struct drm_connector connector;
1: - struct drm_panel *panel;
1: - u32 connector_type;
1: + struct drm_bridge bridge;
1: + struct drm_connector connector;
1: + struct drm_panel *panel;
1: + u32 connector_type;
1: };
1:
1: struct drm_master {
1: - struct kref refcount;
1: - struct drm_device *dev;
1: - char *unique;
1: - int unique_len;
1: - struct idr magic_map;
1: - void *driver_priv;
1: - struct drm_master *lessor;
1: - int lessee_id;
1: - struct list_head lessee_list;
1: - struct list_head lessees;
1: - struct idr leases;
1: - struct idr lessee_idr;
1: + struct kref refcount;
1: + struct drm_device *dev;
1: + char *unique;
1: + int unique_len;
1: + struct idr magic_map;
1: + void *driver_priv;
1: + struct drm_master *lessor;
1: + int lessee_id;
1: + struct list_head lessee_list;
1: + struct list_head lessees;
1: + struct idr leases;
1: + struct idr lessee_idr;
1: };
1:
1: struct drm_auth {
1: - drm_magic_t magic;
1: + drm_magic_t magic;
1: };
1:
1: enum drm_minor_type {
1: - DRM_MINOR_PRIMARY = 0,
1: - DRM_MINOR_CONTROL = 1,
1: - DRM_MINOR_RENDER = 2,
1: + DRM_MINOR_PRIMARY = 0,
1: + DRM_MINOR_CONTROL = 1,
1: + DRM_MINOR_RENDER = 2,
1: };
1:
1: struct xa_limit {
1: - u32 max;
1: - u32 min;
1: + u32 max;
1: + u32 min;
1: };
1:
1: struct drm_gem_close {
1: - __u32 handle;
1: - __u32 pad;
1: + __u32 handle;
1: + __u32 pad;
1: };
1:
1: struct drm_gem_flink {
1: - __u32 handle;
1: - __u32 name;
1: + __u32 handle;
1: + __u32 name;
1: };
1:
1: struct drm_gem_open {
1: - __u32 name;
1: - __u32 handle;
1: - __u64 size;
1: + __u32 name;
1: + __u32 handle;
1: + __u64 size;
1: };
1:
1: struct ww_class {
1: - atomic_long_t stamp;
1: - struct lock_class_key acquire_key;
1: - struct lock_class_key mutex_key;
1: - const char *acquire_name;
1: - const char *mutex_name;
1: - unsigned int is_wait_die;
1: + atomic_long_t stamp;
1: + struct lock_class_key acquire_key;
1: + struct lock_class_key mutex_key;
1: + const char *acquire_name;
1: + const char *mutex_name;
1: + unsigned int is_wait_die;
1: };
1:
1: struct drm_version {
1: - int version_major;
1: - int version_minor;
1: - int version_patchlevel;
1: - __kernel_size_t name_len;
1: - char *name;
1: - __kernel_size_t date_len;
1: - char *date;
1: - __kernel_size_t desc_len;
1: - char *desc;
1: + int version_major;
1: + int version_minor;
1: + int version_patchlevel;
1: + __kernel_size_t name_len;
1: + char *name;
1: + __kernel_size_t date_len;
1: + char *date;
1: + __kernel_size_t desc_len;
1: + char *desc;
1: };
1:
1: struct drm_unique {
1: - __kernel_size_t unique_len;
1: - char *unique;
1: + __kernel_size_t unique_len;
1: + char *unique;
1: };
1:
1: struct drm_client {
1: - int idx;
1: - int auth;
1: - long unsigned int pid;
1: - long unsigned int uid;
1: - long unsigned int magic;
1: - long unsigned int iocs;
1: + int idx;
1: + int auth;
1: + long unsigned int pid;
1: + long unsigned int uid;
1: + long unsigned int magic;
1: + long unsigned int iocs;
1: };
1:
1: enum drm_stat_type {
1: - _DRM_STAT_LOCK = 0,
1: - _DRM_STAT_OPENS = 1,
1: - _DRM_STAT_CLOSES = 2,
1: - _DRM_STAT_IOCTLS = 3,
1: - _DRM_STAT_LOCKS = 4,
1: - _DRM_STAT_UNLOCKS = 5,
1: - _DRM_STAT_VALUE = 6,
1: - _DRM_STAT_BYTE = 7,
1: - _DRM_STAT_COUNT = 8,
1: - _DRM_STAT_IRQ = 9,
1: - _DRM_STAT_PRIMARY = 10,
1: - _DRM_STAT_SECONDARY = 11,
1: - _DRM_STAT_DMA = 12,
1: - _DRM_STAT_SPECIAL = 13,
1: - _DRM_STAT_MISSED = 14,
1: + _DRM_STAT_LOCK = 0,
1: + _DRM_STAT_OPENS = 1,
1: + _DRM_STAT_CLOSES = 2,
1: + _DRM_STAT_IOCTLS = 3,
1: + _DRM_STAT_LOCKS = 4,
1: + _DRM_STAT_UNLOCKS = 5,
1: + _DRM_STAT_VALUE = 6,
1: + _DRM_STAT_BYTE = 7,
1: + _DRM_STAT_COUNT = 8,
1: + _DRM_STAT_IRQ = 9,
1: + _DRM_STAT_PRIMARY = 10,
1: + _DRM_STAT_SECONDARY = 11,
1: + _DRM_STAT_DMA = 12,
1: + _DRM_STAT_SPECIAL = 13,
1: + _DRM_STAT_MISSED = 14,
1: };
1:
1: struct drm_stats {
1: - long unsigned int count;
1: - struct {
1: - long unsigned int value;
1: - enum drm_stat_type type;
1: - } data[15];
1: + long unsigned int count;
1: + struct {
1: + long unsigned int value;
1: + enum drm_stat_type type;
1: + } data[15];
1: };
1:
1: struct drm_set_version {
1: - int drm_di_major;
1: - int drm_di_minor;
1: - int drm_dd_major;
1: - int drm_dd_minor;
1: + int drm_di_major;
1: + int drm_di_minor;
1: + int drm_dd_major;
1: + int drm_dd_minor;
1: };
1:
1: struct drm_get_cap {
1: - __u64 capability;
1: - __u64 value;
1: + __u64 capability;
1: + __u64 value;
1: };
1:
1: struct drm_set_client_cap {
1: - __u64 capability;
1: - __u64 value;
1: + __u64 capability;
1: + __u64 value;
1: };
1:
1: struct drm_agp_head {
1: - struct agp_kern_info agp_info;
1: - struct list_head memory;
1: - long unsigned int mode;
1: - struct agp_bridge_data *bridge;
1: - int enabled;
1: - int acquired;
1: - long unsigned int base;
1: - int agp_mtrr;
1: - int cant_use_aperture;
1: - long unsigned int page_mask;
1: + struct agp_kern_info agp_info;
1: + struct list_head memory;
1: + long unsigned int mode;
1: + struct agp_bridge_data *bridge;
1: + int enabled;
1: + int acquired;
1: + long unsigned int base;
1: + int agp_mtrr;
1: + int cant_use_aperture;
1: + long unsigned int page_mask;
1: };
1:
1: enum drm_map_type {
1: - _DRM_FRAME_BUFFER = 0,
1: - _DRM_REGISTERS = 1,
1: - _DRM_SHM = 2,
1: - _DRM_AGP = 3,
1: - _DRM_SCATTER_GATHER = 4,
1: - _DRM_CONSISTENT = 5,
1: + _DRM_FRAME_BUFFER = 0,
1: + _DRM_REGISTERS = 1,
1: + _DRM_SHM = 2,
1: + _DRM_AGP = 3,
1: + _DRM_SCATTER_GATHER = 4,
1: + _DRM_CONSISTENT = 5,
1: };
1:
1: enum drm_map_flags {
1: - _DRM_RESTRICTED = 1,
1: - _DRM_READ_ONLY = 2,
1: - _DRM_LOCKED = 4,
1: - _DRM_KERNEL = 8,
1: - _DRM_WRITE_COMBINING = 16,
1: - _DRM_CONTAINS_LOCK = 32,
1: - _DRM_REMOVABLE = 64,
1: - _DRM_DRIVER = 128,
1: + _DRM_RESTRICTED = 1,
1: + _DRM_READ_ONLY = 2,
1: + _DRM_LOCKED = 4,
1: + _DRM_KERNEL = 8,
1: + _DRM_WRITE_COMBINING = 16,
1: + _DRM_CONTAINS_LOCK = 32,
1: + _DRM_REMOVABLE = 64,
1: + _DRM_DRIVER = 128,
1: };
1:
1: struct drm_local_map {
1: - resource_size_t offset;
1: - long unsigned int size;
1: - enum drm_map_type type;
1: - enum drm_map_flags flags;
1: - void *handle;
1: - int mtrr;
1: + resource_size_t offset;
1: + long unsigned int size;
1: + enum drm_map_type type;
1: + enum drm_map_flags flags;
1: + void *handle;
1: + int mtrr;
1: };
1:
1: struct drm_agp_mem {
1: - long unsigned int handle;
1: - struct agp_memory *memory;
1: - long unsigned int bound;
1: - int pages;
1: - struct list_head head;
1: + long unsigned int handle;
1: + struct agp_memory *memory;
1: + long unsigned int bound;
1: + int pages;
1: + struct list_head head;
1: };
1:
1: struct drm_irq_busid {
1: - int irq;
1: - int busnum;
1: - int devnum;
1: - int funcnum;
1: + int irq;
1: + int busnum;
1: + int devnum;
1: + int funcnum;
1: };
1:
1: struct drm_dma_handle {
1: - dma_addr_t busaddr;
1: - void *vaddr;
1: - size_t size;
1: + dma_addr_t busaddr;
1: + void *vaddr;
1: + size_t size;
1: };
1:
1: typedef struct drm_dma_handle drm_dma_handle_t;
1:
1: struct class_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct class *, struct class_attribute *, char *);
1: - ssize_t (*store)(struct class *, struct class_attribute *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct class *, struct class_attribute *, char *);
1: + ssize_t (*store)(struct class *, struct class_attribute *, const char *,
1: + size_t);
1: };
1:
1: struct class_attribute_string {
1: - struct class_attribute attr;
1: - char *str;
1: + struct class_attribute attr;
1: + char *str;
1: };
1:
1: struct drm_hash_item {
1: - struct hlist_node head;
1: - long unsigned int key;
1: + struct hlist_node head;
1: + long unsigned int key;
1: };
1:
1: struct drm_open_hash {
1: - struct hlist_head *table;
1: - u8 order;
1: + struct hlist_head *table;
1: + u8 order;
1: };
1:
1: enum drm_mm_insert_mode {
1: - DRM_MM_INSERT_BEST = 0,
1: - DRM_MM_INSERT_LOW = 1,
1: - DRM_MM_INSERT_HIGH = 2,
1: - DRM_MM_INSERT_EVICT = 3,
1: - DRM_MM_INSERT_ONCE = -2147483648,
1: - DRM_MM_INSERT_HIGHEST = -2147483646,
1: - DRM_MM_INSERT_LOWEST = -2147483647,
1: + DRM_MM_INSERT_BEST = 0,
1: + DRM_MM_INSERT_LOW = 1,
1: + DRM_MM_INSERT_HIGH = 2,
1: + DRM_MM_INSERT_EVICT = 3,
1: + DRM_MM_INSERT_ONCE = -2147483648,
1: + DRM_MM_INSERT_HIGHEST = -2147483646,
1: + DRM_MM_INSERT_LOWEST = -2147483647,
1: };
1:
1: struct drm_mm_scan {
1: - struct drm_mm *mm;
1: - u64 size;
1: - u64 alignment;
1: - u64 remainder_mask;
1: - u64 range_start;
1: - u64 range_end;
1: - u64 hit_start;
1: - u64 hit_end;
1: - long unsigned int color;
1: - enum drm_mm_insert_mode mode;
1: + struct drm_mm *mm;
1: + u64 size;
1: + u64 alignment;
1: + u64 remainder_mask;
1: + u64 range_start;
1: + u64 range_end;
1: + u64 hit_start;
1: + u64 hit_end;
1: + long unsigned int color;
1: + enum drm_mm_insert_mode mode;
1: };
1:
1: struct drm_mode_modeinfo {
1: - __u32 clock;
1: - __u16 hdisplay;
1: - __u16 hsync_start;
1: - __u16 hsync_end;
1: - __u16 htotal;
1: - __u16 hskew;
1: - __u16 vdisplay;
1: - __u16 vsync_start;
1: - __u16 vsync_end;
1: - __u16 vtotal;
1: - __u16 vscan;
1: - __u32 vrefresh;
1: - __u32 flags;
1: - __u32 type;
1: - char name[32];
1: + __u32 clock;
1: + __u16 hdisplay;
1: + __u16 hsync_start;
1: + __u16 hsync_end;
1: + __u16 htotal;
1: + __u16 hskew;
1: + __u16 vdisplay;
1: + __u16 vsync_start;
1: + __u16 vsync_end;
1: + __u16 vtotal;
1: + __u16 vscan;
1: + __u32 vrefresh;
1: + __u32 flags;
1: + __u32 type;
1: + char name[32];
1: };
1:
1: struct drm_mode_crtc {
1: - __u64 set_connectors_ptr;
1: - __u32 count_connectors;
1: - __u32 crtc_id;
1: - __u32 fb_id;
1: - __u32 x;
1: - __u32 y;
1: - __u32 gamma_size;
1: - __u32 mode_valid;
1: - struct drm_mode_modeinfo mode;
1: + __u64 set_connectors_ptr;
1: + __u32 count_connectors;
1: + __u32 crtc_id;
1: + __u32 fb_id;
1: + __u32 x;
1: + __u32 y;
1: + __u32 gamma_size;
1: + __u32 mode_valid;
1: + struct drm_mode_modeinfo mode;
1: };
1:
1: struct drm_format_name_buf {
1: - char str[32];
1: + char str[32];
1: };
1:
1: struct displayid_hdr {
1: - u8 rev;
1: - u8 bytes;
1: - u8 prod_id;
1: - u8 ext_count;
1: + u8 rev;
1: + u8 bytes;
1: + u8 prod_id;
1: + u8 ext_count;
1: };
1:
1: struct displayid_block {
1: - u8 tag;
1: - u8 rev;
1: - u8 num_bytes;
1: + u8 tag;
1: + u8 rev;
1: + u8 num_bytes;
1: };
1:
1: struct displayid_tiled_block {
1: - struct displayid_block base;
1: - u8 tile_cap;
1: - u8 topo[3];
1: - u8 tile_size[4];
1: - u8 tile_pixel_bezel[5];
1: - u8 topology_id[8];
1: + struct displayid_block base;
1: + u8 tile_cap;
1: + u8 topo[3];
1: + u8 tile_size[4];
1: + u8 tile_pixel_bezel[5];
1: + u8 topology_id[8];
1: };
1:
1: struct displayid_detailed_timings_1 {
1: - u8 pixel_clock[3];
1: - u8 flags;
1: - u8 hactive[2];
1: - u8 hblank[2];
1: - u8 hsync[2];
1: - u8 hsw[2];
1: - u8 vactive[2];
1: - u8 vblank[2];
1: - u8 vsync[2];
1: - u8 vsw[2];
1: + u8 pixel_clock[3];
1: + u8 flags;
1: + u8 hactive[2];
1: + u8 hblank[2];
1: + u8 hsync[2];
1: + u8 hsw[2];
1: + u8 vactive[2];
1: + u8 vblank[2];
1: + u8 vsync[2];
1: + u8 vsw[2];
1: };
1:
1: struct displayid_detailed_timing_block {
1: - struct displayid_block base;
1: - struct displayid_detailed_timings_1 timings[0];
1: + struct displayid_block base;
1: + struct displayid_detailed_timings_1 timings[0];
1: };
1:
1: struct hdr_metadata_infoframe {
1: - __u8 eotf;
1: - __u8 metadata_type;
1: - struct {
1: - __u16 x;
1: - __u16 y;
1: - } display_primaries[3];
1: - struct {
1: - __u16 x;
1: - __u16 y;
1: - } white_point;
1: - __u16 max_display_mastering_luminance;
1: - __u16 min_display_mastering_luminance;
1: - __u16 max_cll;
1: - __u16 max_fall;
1: + __u8 eotf;
1: + __u8 metadata_type;
1: + struct {
1: + __u16 x;
1: + __u16 y;
1: + } display_primaries[3];
1: + struct {
1: + __u16 x;
1: + __u16 y;
1: + } white_point;
1: + __u16 max_display_mastering_luminance;
1: + __u16 min_display_mastering_luminance;
1: + __u16 max_cll;
1: + __u16 max_fall;
1: };
1:
1: struct hdr_output_metadata {
1: - __u32 metadata_type;
1: - union {
1: - struct hdr_metadata_infoframe hdmi_metadata_type1;
1: - };
1: + __u32 metadata_type;
1: + union {
1: + struct hdr_metadata_infoframe hdmi_metadata_type1;
1: + };
1: };
1:
1: struct cea_sad {
1: - u8 format;
1: - u8 channels;
1: - u8 freq;
1: - u8 byte2;
1: + u8 format;
1: + u8 channels;
1: + u8 freq;
1: + u8 byte2;
1: };
1:
1: struct detailed_mode_closure {
1: - struct drm_connector *connector;
1: - struct edid *edid;
1: - bool preferred;
1: - u32 quirks;
1: - int modes;
1: + struct drm_connector *connector;
1: + struct edid *edid;
1: + bool preferred;
1: + u32 quirks;
1: + int modes;
1: };
1:
1: struct edid_quirk {
1: - char vendor[4];
1: - int product_id;
1: - u32 quirks;
1: + char vendor[4];
1: + int product_id;
1: + u32 quirks;
1: };
1:
1: struct minimode {
1: - short int w;
1: - short int h;
1: - short int r;
1: - short int rb;
1: + short int w;
1: + short int h;
1: + short int r;
1: + short int rb;
1: };
1:
1: typedef void detailed_cb(struct detailed_timing *, void *);
1:
1: struct stereo_mandatory_mode {
1: - int width;
1: - int height;
1: - int vrefresh;
1: - unsigned int flags;
1: + int width;
1: + int height;
1: + int vrefresh;
1: + unsigned int flags;
1: };
1:
1: struct i2c_device_id {
1: - char name[20];
1: - kernel_ulong_t driver_data;
1: + char name[20];
1: + kernel_ulong_t driver_data;
1: };
1:
1: struct i2c_client {
1: - short unsigned int flags;
1: - short unsigned int addr;
1: - char name[20];
1: - struct i2c_adapter *adapter;
1: - struct device dev;
1: - int init_irq;
1: - int irq;
1: - struct list_head detected;
1: + short unsigned int flags;
1: + short unsigned int addr;
1: + char name[20];
1: + struct i2c_adapter *adapter;
1: + struct device dev;
1: + int init_irq;
1: + int irq;
1: + struct list_head detected;
1: };
1:
1: enum i2c_alert_protocol {
1: - I2C_PROTOCOL_SMBUS_ALERT = 0,
1: - I2C_PROTOCOL_SMBUS_HOST_NOTIFY = 1,
1: + I2C_PROTOCOL_SMBUS_ALERT = 0,
1: + I2C_PROTOCOL_SMBUS_HOST_NOTIFY = 1,
1: };
1:
1: struct i2c_board_info;
1:
1: struct i2c_driver {
1: - unsigned int class;
1: - int (*probe)(struct i2c_client *, const struct i2c_device_id *);
1: - int (*remove)(struct i2c_client *);
1: - int (*probe_new)(struct i2c_client *);
1: - void (*shutdown)(struct i2c_client *);
1: - void (*alert)(struct i2c_client *, enum i2c_alert_protocol, unsigned int);
1: - int (*command)(struct i2c_client *, unsigned int, void *);
1: - struct device_driver driver;
1: - const struct i2c_device_id *id_table;
1: - int (*detect)(struct i2c_client *, struct i2c_board_info *);
1: - const short unsigned int *address_list;
1: - struct list_head clients;
1: - bool disable_i2c_core_irq_mapping;
1: + unsigned int class;
1: + int (*probe)(struct i2c_client *, const struct i2c_device_id *);
1: + int (*remove)(struct i2c_client *);
1: + int (*probe_new)(struct i2c_client *);
1: + void (*shutdown)(struct i2c_client *);
1: + void (*alert)(struct i2c_client *, enum i2c_alert_protocol, unsigned int);
1: + int (*command)(struct i2c_client *, unsigned int, void *);
1: + struct device_driver driver;
1: + const struct i2c_device_id *id_table;
1: + int (*detect)(struct i2c_client *, struct i2c_board_info *);
1: + const short unsigned int *address_list;
1: + struct list_head clients;
1: + bool disable_i2c_core_irq_mapping;
1: };
1:
1: struct i2c_board_info {
1: - char type[20];
1: - short unsigned int flags;
1: - short unsigned int addr;
1: - const char *dev_name;
1: - void *platform_data;
1: - struct device_node *of_node;
1: - struct fwnode_handle *fwnode;
1: - const struct property_entry *properties;
1: - const struct resource *resources;
1: - unsigned int num_resources;
1: - int irq;
1: + char type[20];
1: + short unsigned int flags;
1: + short unsigned int addr;
1: + const char *dev_name;
1: + void *platform_data;
1: + struct device_node *of_node;
1: + struct fwnode_handle *fwnode;
1: + const struct property_entry *properties;
1: + const struct resource *resources;
1: + unsigned int num_resources;
1: + int irq;
1: };
1:
1: struct drm_encoder_slave_funcs {
1: - void (*set_config)(struct drm_encoder *, void *);
1: - void (*destroy)(struct drm_encoder *);
1: - void (*dpms)(struct drm_encoder *, int);
1: - void (*save)(struct drm_encoder *);
1: - void (*restore)(struct drm_encoder *);
1: - bool (*mode_fixup)(struct drm_encoder *, const struct drm_display_mode *, struct drm_display_mode *);
1: - int (*mode_valid)(struct drm_encoder *, struct drm_display_mode *);
1: - void (*mode_set)(struct drm_encoder *, struct drm_display_mode *, struct drm_display_mode *);
1: - enum drm_connector_status (*detect)(struct drm_encoder *, struct drm_connector *);
1: - int (*get_modes)(struct drm_encoder *, struct drm_connector *);
1: - int (*create_resources)(struct drm_encoder *, struct drm_connector *);
1: - int (*set_property)(struct drm_encoder *, struct drm_connector *, struct drm_property *, uint64_t);
1: + void (*set_config)(struct drm_encoder *, void *);
1: + void (*destroy)(struct drm_encoder *);
1: + void (*dpms)(struct drm_encoder *, int);
1: + void (*save)(struct drm_encoder *);
1: + void (*restore)(struct drm_encoder *);
1: + bool (*mode_fixup)(struct drm_encoder *, const struct drm_display_mode *,
1: + struct drm_display_mode *);
1: + int (*mode_valid)(struct drm_encoder *, struct drm_display_mode *);
1: + void (*mode_set)(struct drm_encoder *, struct drm_display_mode *,
1: + struct drm_display_mode *);
1: + enum drm_connector_status (*detect)(struct drm_encoder *,
1: + struct drm_connector *);
1: + int (*get_modes)(struct drm_encoder *, struct drm_connector *);
1: + int (*create_resources)(struct drm_encoder *, struct drm_connector *);
1: + int (*set_property)(struct drm_encoder *, struct drm_connector *,
1: + struct drm_property *, uint64_t);
1: };
1:
1: struct drm_encoder_slave {
1: - struct drm_encoder base;
1: - const struct drm_encoder_slave_funcs *slave_funcs;
1: - void *slave_priv;
1: - void *bus_priv;
1: + struct drm_encoder base;
1: + const struct drm_encoder_slave_funcs *slave_funcs;
1: + void *slave_priv;
1: + void *bus_priv;
1: };
1:
1: struct drm_i2c_encoder_driver {
1: - struct i2c_driver i2c_driver;
1: - int (*encoder_init)(struct i2c_client *, struct drm_device *, struct drm_encoder_slave *);
1: + struct i2c_driver i2c_driver;
1: + int (*encoder_init)(struct i2c_client *, struct drm_device *,
1: + struct drm_encoder_slave *);
1: };
1:
1: struct trace_event_raw_drm_vblank_event {
1: - struct trace_entry ent;
1: - int crtc;
1: - unsigned int seq;
1: - ktime_t time;
1: - bool high_prec;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int crtc;
1: + unsigned int seq;
1: + ktime_t time;
1: + bool high_prec;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drm_vblank_event_queued {
1: - struct trace_entry ent;
1: - struct drm_file *file;
1: - int crtc;
1: - unsigned int seq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_file *file;
1: + int crtc;
1: + unsigned int seq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drm_vblank_event_delivered {
1: - struct trace_entry ent;
1: - struct drm_file *file;
1: - int crtc;
1: - unsigned int seq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_file *file;
1: + int crtc;
1: + unsigned int seq;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_drm_vblank_event {};
1: @@ -68859,32 +69417,32 @@ struct trace_event_data_offsets_drm_vblank_event_queued {};
1: struct trace_event_data_offsets_drm_vblank_event_delivered {};
1:
1: struct dma_buf_export_info {
1: - const char *exp_name;
1: - struct module *owner;
1: - const struct dma_buf_ops *ops;
1: - size_t size;
1: - int flags;
1: - struct dma_resv *resv;
1: - void *priv;
1: + const char *exp_name;
1: + struct module *owner;
1: + const struct dma_buf_ops *ops;
1: + size_t size;
1: + int flags;
1: + struct dma_resv *resv;
1: + void *priv;
1: };
1:
1: struct drm_prime_handle {
1: - __u32 handle;
1: - __u32 flags;
1: - __s32 fd;
1: + __u32 handle;
1: + __u32 flags;
1: + __s32 fd;
1: };
1:
1: struct drm_prime_member {
1: - struct dma_buf *dma_buf;
1: - uint32_t handle;
1: - struct rb_node dmabuf_rb;
1: - struct rb_node handle_rb;
1: + struct dma_buf *dma_buf;
1: + uint32_t handle;
1: + struct rb_node dmabuf_rb;
1: + struct rb_node handle_rb;
1: };
1:
1: struct drm_vma_offset_file {
1: - struct rb_node vm_rb;
1: - struct drm_file *vm_tag;
1: - long unsigned int vm_count;
1: + struct rb_node vm_rb;
1: + struct drm_file *vm_tag;
1: + long unsigned int vm_count;
1: };
1:
1: struct drm_flip_work;
1: @@ -68892,647 +69450,647 @@ struct drm_flip_work;
1: typedef void (*drm_flip_func_t)(struct drm_flip_work *, void *);
1:
1: struct drm_flip_work {
1: - const char *name;
1: - drm_flip_func_t func;
1: - struct work_struct worker;
1: - struct list_head queued;
1: - struct list_head commited;
1: - spinlock_t lock;
1: + const char *name;
1: + drm_flip_func_t func;
1: + struct work_struct worker;
1: + struct list_head queued;
1: + struct list_head commited;
1: + spinlock_t lock;
1: };
1:
1: struct drm_flip_task {
1: - struct list_head node;
1: - void *data;
1: + struct list_head node;
1: + void *data;
1: };
1:
1: struct drm_info_list {
1: - const char *name;
1: - int (*show)(struct seq_file *, void *);
1: - u32 driver_features;
1: - void *data;
1: + const char *name;
1: + int (*show)(struct seq_file *, void *);
1: + u32 driver_features;
1: + void *data;
1: };
1:
1: struct drm_info_node {
1: - struct drm_minor *minor;
1: - const struct drm_info_list *info_ent;
1: - struct list_head list;
1: - struct dentry *dent;
1: + struct drm_minor *minor;
1: + const struct drm_info_list *info_ent;
1: + struct list_head list;
1: + struct dentry *dent;
1: };
1:
1: struct drm_mode_fb_cmd {
1: - __u32 fb_id;
1: - __u32 width;
1: - __u32 height;
1: - __u32 pitch;
1: - __u32 bpp;
1: - __u32 depth;
1: - __u32 handle;
1: + __u32 fb_id;
1: + __u32 width;
1: + __u32 height;
1: + __u32 pitch;
1: + __u32 bpp;
1: + __u32 depth;
1: + __u32 handle;
1: };
1:
1: struct drm_mode_fb_dirty_cmd {
1: - __u32 fb_id;
1: - __u32 flags;
1: - __u32 color;
1: - __u32 num_clips;
1: - __u64 clips_ptr;
1: + __u32 fb_id;
1: + __u32 flags;
1: + __u32 color;
1: + __u32 num_clips;
1: + __u64 clips_ptr;
1: };
1:
1: struct drm_mode_rmfb_work {
1: - struct work_struct work;
1: - struct list_head fbs;
1: + struct work_struct work;
1: + struct list_head fbs;
1: };
1:
1: struct drm_mode_get_connector {
1: - __u64 encoders_ptr;
1: - __u64 modes_ptr;
1: - __u64 props_ptr;
1: - __u64 prop_values_ptr;
1: - __u32 count_modes;
1: - __u32 count_props;
1: - __u32 count_encoders;
1: - __u32 encoder_id;
1: - __u32 connector_id;
1: - __u32 connector_type;
1: - __u32 connector_type_id;
1: - __u32 connection;
1: - __u32 mm_width;
1: - __u32 mm_height;
1: - __u32 subpixel;
1: - __u32 pad;
1: + __u64 encoders_ptr;
1: + __u64 modes_ptr;
1: + __u64 props_ptr;
1: + __u64 prop_values_ptr;
1: + __u32 count_modes;
1: + __u32 count_props;
1: + __u32 count_encoders;
1: + __u32 encoder_id;
1: + __u32 connector_id;
1: + __u32 connector_type;
1: + __u32 connector_type_id;
1: + __u32 connection;
1: + __u32 mm_width;
1: + __u32 mm_height;
1: + __u32 subpixel;
1: + __u32 pad;
1: };
1:
1: struct drm_mode_connector_set_property {
1: - __u64 value;
1: - __u32 prop_id;
1: - __u32 connector_id;
1: + __u64 value;
1: + __u32 prop_id;
1: + __u32 connector_id;
1: };
1:
1: struct drm_mode_obj_set_property {
1: - __u64 value;
1: - __u32 prop_id;
1: - __u32 obj_id;
1: - __u32 obj_type;
1: + __u64 value;
1: + __u32 prop_id;
1: + __u32 obj_id;
1: + __u32 obj_type;
1: };
1:
1: struct drm_prop_enum_list {
1: - int type;
1: - const char *name;
1: + int type;
1: + const char *name;
1: };
1:
1: struct drm_conn_prop_enum_list {
1: - int type;
1: - const char *name;
1: - struct ida ida;
1: + int type;
1: + const char *name;
1: + struct ida ida;
1: };
1:
1: struct drm_mode_get_encoder {
1: - __u32 encoder_id;
1: - __u32 encoder_type;
1: - __u32 crtc_id;
1: - __u32 possible_crtcs;
1: - __u32 possible_clones;
1: + __u32 encoder_id;
1: + __u32 encoder_type;
1: + __u32 crtc_id;
1: + __u32 possible_crtcs;
1: + __u32 possible_clones;
1: };
1:
1: struct drm_mode_obj_get_properties {
1: - __u64 props_ptr;
1: - __u64 prop_values_ptr;
1: - __u32 count_props;
1: - __u32 obj_id;
1: - __u32 obj_type;
1: + __u64 props_ptr;
1: + __u64 prop_values_ptr;
1: + __u32 count_props;
1: + __u32 obj_id;
1: + __u32 obj_type;
1: };
1:
1: struct drm_mode_property_enum {
1: - __u64 value;
1: - char name[32];
1: + __u64 value;
1: + char name[32];
1: };
1:
1: struct drm_mode_get_property {
1: - __u64 values_ptr;
1: - __u64 enum_blob_ptr;
1: - __u32 prop_id;
1: - __u32 flags;
1: - char name[32];
1: - __u32 count_values;
1: - __u32 count_enum_blobs;
1: + __u64 values_ptr;
1: + __u64 enum_blob_ptr;
1: + __u32 prop_id;
1: + __u32 flags;
1: + char name[32];
1: + __u32 count_values;
1: + __u32 count_enum_blobs;
1: };
1:
1: struct drm_mode_get_blob {
1: - __u32 blob_id;
1: - __u32 length;
1: - __u64 data;
1: + __u32 blob_id;
1: + __u32 length;
1: + __u64 data;
1: };
1:
1: struct drm_mode_create_blob {
1: - __u64 data;
1: - __u32 length;
1: - __u32 blob_id;
1: + __u64 data;
1: + __u32 length;
1: + __u32 blob_id;
1: };
1:
1: struct drm_mode_destroy_blob {
1: - __u32 blob_id;
1: + __u32 blob_id;
1: };
1:
1: struct drm_property_enum {
1: - uint64_t value;
1: - struct list_head head;
1: - char name[32];
1: + uint64_t value;
1: + struct list_head head;
1: + char name[32];
1: };
1:
1: struct drm_mode_set_plane {
1: - __u32 plane_id;
1: - __u32 crtc_id;
1: - __u32 fb_id;
1: - __u32 flags;
1: - __s32 crtc_x;
1: - __s32 crtc_y;
1: - __u32 crtc_w;
1: - __u32 crtc_h;
1: - __u32 src_x;
1: - __u32 src_y;
1: - __u32 src_h;
1: - __u32 src_w;
1: + __u32 plane_id;
1: + __u32 crtc_id;
1: + __u32 fb_id;
1: + __u32 flags;
1: + __s32 crtc_x;
1: + __s32 crtc_y;
1: + __u32 crtc_w;
1: + __u32 crtc_h;
1: + __u32 src_x;
1: + __u32 src_y;
1: + __u32 src_h;
1: + __u32 src_w;
1: };
1:
1: struct drm_mode_get_plane {
1: - __u32 plane_id;
1: - __u32 crtc_id;
1: - __u32 fb_id;
1: - __u32 possible_crtcs;
1: - __u32 gamma_size;
1: - __u32 count_format_types;
1: - __u64 format_type_ptr;
1: + __u32 plane_id;
1: + __u32 crtc_id;
1: + __u32 fb_id;
1: + __u32 possible_crtcs;
1: + __u32 gamma_size;
1: + __u32 count_format_types;
1: + __u64 format_type_ptr;
1: };
1:
1: struct drm_mode_get_plane_res {
1: - __u64 plane_id_ptr;
1: - __u32 count_planes;
1: + __u64 plane_id_ptr;
1: + __u32 count_planes;
1: };
1:
1: struct drm_mode_cursor {
1: - __u32 flags;
1: - __u32 crtc_id;
1: - __s32 x;
1: - __s32 y;
1: - __u32 width;
1: - __u32 height;
1: - __u32 handle;
1: + __u32 flags;
1: + __u32 crtc_id;
1: + __s32 x;
1: + __s32 y;
1: + __u32 width;
1: + __u32 height;
1: + __u32 handle;
1: };
1:
1: struct drm_mode_cursor2 {
1: - __u32 flags;
1: - __u32 crtc_id;
1: - __s32 x;
1: - __s32 y;
1: - __u32 width;
1: - __u32 height;
1: - __u32 handle;
1: - __s32 hot_x;
1: - __s32 hot_y;
1: + __u32 flags;
1: + __u32 crtc_id;
1: + __s32 x;
1: + __s32 y;
1: + __u32 width;
1: + __u32 height;
1: + __u32 handle;
1: + __s32 hot_x;
1: + __s32 hot_y;
1: };
1:
1: struct drm_mode_crtc_page_flip_target {
1: - __u32 crtc_id;
1: - __u32 fb_id;
1: - __u32 flags;
1: - __u32 sequence;
1: - __u64 user_data;
1: + __u32 crtc_id;
1: + __u32 fb_id;
1: + __u32 flags;
1: + __u32 sequence;
1: + __u64 user_data;
1: };
1:
1: struct drm_format_modifier_blob {
1: - __u32 version;
1: - __u32 flags;
1: - __u32 count_formats;
1: - __u32 formats_offset;
1: - __u32 count_modifiers;
1: - __u32 modifiers_offset;
1: + __u32 version;
1: + __u32 flags;
1: + __u32 count_formats;
1: + __u32 formats_offset;
1: + __u32 count_modifiers;
1: + __u32 modifiers_offset;
1: };
1:
1: struct drm_format_modifier {
1: - __u64 formats;
1: - __u32 offset;
1: - __u32 pad;
1: - __u64 modifier;
1: + __u64 formats;
1: + __u32 offset;
1: + __u32 pad;
1: + __u64 modifier;
1: };
1:
1: struct drm_mode_crtc_lut {
1: - __u32 crtc_id;
1: - __u32 gamma_size;
1: - __u64 red;
1: - __u64 green;
1: - __u64 blue;
1: + __u32 crtc_id;
1: + __u32 gamma_size;
1: + __u64 red;
1: + __u64 green;
1: + __u64 blue;
1: };
1:
1: enum drm_color_lut_tests {
1: - DRM_COLOR_LUT_EQUAL_CHANNELS = 1,
1: - DRM_COLOR_LUT_NON_DECREASING = 2,
1: + DRM_COLOR_LUT_EQUAL_CHANNELS = 1,
1: + DRM_COLOR_LUT_NON_DECREASING = 2,
1: };
1:
1: struct drm_print_iterator {
1: - void *data;
1: - ssize_t start;
1: - ssize_t remain;
1: - ssize_t offset;
1: + void *data;
1: + ssize_t start;
1: + ssize_t remain;
1: + ssize_t offset;
1: };
1:
1: struct drm_mode_map_dumb {
1: - __u32 handle;
1: - __u32 pad;
1: - __u64 offset;
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: };
1:
1: struct drm_mode_destroy_dumb {
1: - __u32 handle;
1: + __u32 handle;
1: };
1:
1: struct drm_mode_card_res {
1: - __u64 fb_id_ptr;
1: - __u64 crtc_id_ptr;
1: - __u64 connector_id_ptr;
1: - __u64 encoder_id_ptr;
1: - __u32 count_fbs;
1: - __u32 count_crtcs;
1: - __u32 count_connectors;
1: - __u32 count_encoders;
1: - __u32 min_width;
1: - __u32 max_width;
1: - __u32 min_height;
1: - __u32 max_height;
1: + __u64 fb_id_ptr;
1: + __u64 crtc_id_ptr;
1: + __u64 connector_id_ptr;
1: + __u64 encoder_id_ptr;
1: + __u32 count_fbs;
1: + __u32 count_crtcs;
1: + __u32 count_connectors;
1: + __u32 count_encoders;
1: + __u32 min_width;
1: + __u32 max_width;
1: + __u32 min_height;
1: + __u32 max_height;
1: };
1:
1: enum drm_vblank_seq_type {
1: - _DRM_VBLANK_ABSOLUTE = 0,
1: - _DRM_VBLANK_RELATIVE = 1,
1: - _DRM_VBLANK_HIGH_CRTC_MASK = 62,
1: - _DRM_VBLANK_EVENT = 67108864,
1: - _DRM_VBLANK_FLIP = 134217728,
1: - _DRM_VBLANK_NEXTONMISS = 268435456,
1: - _DRM_VBLANK_SECONDARY = 536870912,
1: - _DRM_VBLANK_SIGNAL = 1073741824,
1: + _DRM_VBLANK_ABSOLUTE = 0,
1: + _DRM_VBLANK_RELATIVE = 1,
1: + _DRM_VBLANK_HIGH_CRTC_MASK = 62,
1: + _DRM_VBLANK_EVENT = 67108864,
1: + _DRM_VBLANK_FLIP = 134217728,
1: + _DRM_VBLANK_NEXTONMISS = 268435456,
1: + _DRM_VBLANK_SECONDARY = 536870912,
1: + _DRM_VBLANK_SIGNAL = 1073741824,
1: };
1:
1: struct drm_wait_vblank_request {
1: - enum drm_vblank_seq_type type;
1: - unsigned int sequence;
1: - long unsigned int signal;
1: + enum drm_vblank_seq_type type;
1: + unsigned int sequence;
1: + long unsigned int signal;
1: };
1:
1: struct drm_wait_vblank_reply {
1: - enum drm_vblank_seq_type type;
1: - unsigned int sequence;
1: - long int tval_sec;
1: - long int tval_usec;
1: + enum drm_vblank_seq_type type;
1: + unsigned int sequence;
1: + long int tval_sec;
1: + long int tval_usec;
1: };
1:
1: union drm_wait_vblank {
1: - struct drm_wait_vblank_request request;
1: - struct drm_wait_vblank_reply reply;
1: + struct drm_wait_vblank_request request;
1: + struct drm_wait_vblank_reply reply;
1: };
1:
1: struct drm_modeset_ctl {
1: - __u32 crtc;
1: - __u32 cmd;
1: + __u32 crtc;
1: + __u32 cmd;
1: };
1:
1: struct drm_crtc_get_sequence {
1: - __u32 crtc_id;
1: - __u32 active;
1: - __u64 sequence;
1: - __s64 sequence_ns;
1: + __u32 crtc_id;
1: + __u32 active;
1: + __u64 sequence;
1: + __s64 sequence_ns;
1: };
1:
1: struct drm_crtc_queue_sequence {
1: - __u32 crtc_id;
1: - __u32 flags;
1: - __u64 sequence;
1: - __u64 user_data;
1: + __u32 crtc_id;
1: + __u32 flags;
1: + __u64 sequence;
1: + __u64 user_data;
1: };
1:
1: enum dma_fence_flag_bits {
1: - DMA_FENCE_FLAG_SIGNALED_BIT = 0,
1: - DMA_FENCE_FLAG_TIMESTAMP_BIT = 1,
1: - DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT = 2,
1: - DMA_FENCE_FLAG_USER_BITS = 3,
1: + DMA_FENCE_FLAG_SIGNALED_BIT = 0,
1: + DMA_FENCE_FLAG_TIMESTAMP_BIT = 1,
1: + DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT = 2,
1: + DMA_FENCE_FLAG_USER_BITS = 3,
1: };
1:
1: struct sync_file {
1: - struct file *file;
1: - char user_name[32];
1: - struct list_head sync_file_list;
1: - wait_queue_head_t wq;
1: - long unsigned int flags;
1: - struct dma_fence *fence;
1: - struct dma_fence_cb cb;
1: + struct file *file;
1: + char user_name[32];
1: + struct list_head sync_file_list;
1: + wait_queue_head_t wq;
1: + long unsigned int flags;
1: + struct dma_fence *fence;
1: + struct dma_fence_cb cb;
1: };
1:
1: struct drm_syncobj_create {
1: - __u32 handle;
1: - __u32 flags;
1: + __u32 handle;
1: + __u32 flags;
1: };
1:
1: struct drm_syncobj_destroy {
1: - __u32 handle;
1: - __u32 pad;
1: + __u32 handle;
1: + __u32 pad;
1: };
1:
1: struct drm_syncobj_handle {
1: - __u32 handle;
1: - __u32 flags;
1: - __s32 fd;
1: - __u32 pad;
1: + __u32 handle;
1: + __u32 flags;
1: + __s32 fd;
1: + __u32 pad;
1: };
1:
1: struct drm_syncobj_transfer {
1: - __u32 src_handle;
1: - __u32 dst_handle;
1: - __u64 src_point;
1: - __u64 dst_point;
1: - __u32 flags;
1: - __u32 pad;
1: + __u32 src_handle;
1: + __u32 dst_handle;
1: + __u64 src_point;
1: + __u64 dst_point;
1: + __u32 flags;
1: + __u32 pad;
1: };
1:
1: struct drm_syncobj_wait {
1: - __u64 handles;
1: - __s64 timeout_nsec;
1: - __u32 count_handles;
1: - __u32 flags;
1: - __u32 first_signaled;
1: - __u32 pad;
1: + __u64 handles;
1: + __s64 timeout_nsec;
1: + __u32 count_handles;
1: + __u32 flags;
1: + __u32 first_signaled;
1: + __u32 pad;
1: };
1:
1: struct drm_syncobj_timeline_wait {
1: - __u64 handles;
1: - __u64 points;
1: - __s64 timeout_nsec;
1: - __u32 count_handles;
1: - __u32 flags;
1: - __u32 first_signaled;
1: - __u32 pad;
1: + __u64 handles;
1: + __u64 points;
1: + __s64 timeout_nsec;
1: + __u32 count_handles;
1: + __u32 flags;
1: + __u32 first_signaled;
1: + __u32 pad;
1: };
1:
1: struct drm_syncobj_array {
1: - __u64 handles;
1: - __u32 count_handles;
1: - __u32 pad;
1: + __u64 handles;
1: + __u32 count_handles;
1: + __u32 pad;
1: };
1:
1: struct drm_syncobj_timeline_array {
1: - __u64 handles;
1: - __u64 points;
1: - __u32 count_handles;
1: - __u32 flags;
1: + __u64 handles;
1: + __u64 points;
1: + __u32 count_handles;
1: + __u32 flags;
1: };
1:
1: struct dma_fence_chain {
1: - struct dma_fence base;
1: - spinlock_t lock;
1: - struct dma_fence *prev;
1: - u64 prev_seqno;
1: - struct dma_fence *fence;
1: - struct dma_fence_cb cb;
1: - struct irq_work work;
1: + struct dma_fence base;
1: + spinlock_t lock;
1: + struct dma_fence *prev;
1: + u64 prev_seqno;
1: + struct dma_fence *fence;
1: + struct dma_fence_cb cb;
1: + struct irq_work work;
1: };
1:
1: struct drm_syncobj {
1: - struct kref refcount;
1: - struct dma_fence *fence;
1: - struct list_head cb_list;
1: - spinlock_t lock;
1: - struct file *file;
1: + struct kref refcount;
1: + struct dma_fence *fence;
1: + struct list_head cb_list;
1: + spinlock_t lock;
1: + struct file *file;
1: };
1:
1: struct syncobj_wait_entry {
1: - struct list_head node;
1: - struct task_struct *task;
1: - struct dma_fence *fence;
1: - struct dma_fence_cb fence_cb;
1: - u64 point;
1: + struct list_head node;
1: + struct task_struct *task;
1: + struct dma_fence *fence;
1: + struct dma_fence_cb fence_cb;
1: + u64 point;
1: };
1:
1: struct drm_mode_create_lease {
1: - __u64 object_ids;
1: - __u32 object_count;
1: - __u32 flags;
1: - __u32 lessee_id;
1: - __u32 fd;
1: + __u64 object_ids;
1: + __u32 object_count;
1: + __u32 flags;
1: + __u32 lessee_id;
1: + __u32 fd;
1: };
1:
1: struct drm_mode_list_lessees {
1: - __u32 count_lessees;
1: - __u32 pad;
1: - __u64 lessees_ptr;
1: + __u32 count_lessees;
1: + __u32 pad;
1: + __u64 lessees_ptr;
1: };
1:
1: struct drm_mode_get_lease {
1: - __u32 count_objects;
1: - __u32 pad;
1: - __u64 objects_ptr;
1: + __u32 count_objects;
1: + __u32 pad;
1: + __u64 objects_ptr;
1: };
1:
1: struct drm_mode_revoke_lease {
1: - __u32 lessee_id;
1: + __u32 lessee_id;
1: };
1:
1: struct drm_client_offset {
1: - int x;
1: - int y;
1: + int x;
1: + int y;
1: };
1:
1: struct drm_mode_atomic {
1: - __u32 flags;
1: - __u32 count_objs;
1: - __u64 objs_ptr;
1: - __u64 count_props_ptr;
1: - __u64 props_ptr;
1: - __u64 prop_values_ptr;
1: - __u64 reserved;
1: - __u64 user_data;
1: + __u32 flags;
1: + __u32 count_objs;
1: + __u64 objs_ptr;
1: + __u64 count_props_ptr;
1: + __u64 props_ptr;
1: + __u64 prop_values_ptr;
1: + __u64 reserved;
1: + __u64 user_data;
1: };
1:
1: struct drm_out_fence_state {
1: - s32 *out_fence_ptr;
1: - struct sync_file *sync_file;
1: - int fd;
1: + s32 *out_fence_ptr;
1: + struct sync_file *sync_file;
1: + int fd;
1: };
1:
1: struct hdcp_srm_header {
1: - u8 srm_id;
1: - u8 reserved;
1: - __be16 srm_version;
1: - u8 srm_gen_no;
1: + u8 srm_id;
1: + u8 reserved;
1: + __be16 srm_version;
1: + u8 srm_gen_no;
1: } __attribute__((packed));
1:
1: struct hdcp_srm {
1: - u32 revoked_ksv_cnt;
1: - u8 *revoked_ksv_list;
1: - struct mutex mutex;
1: + u32 revoked_ksv_cnt;
1: + u8 *revoked_ksv_list;
1: + struct mutex mutex;
1: };
1:
1: typedef unsigned int drm_drawable_t;
1:
1: struct drm_agp_mode {
1: - long unsigned int mode;
1: + long unsigned int mode;
1: };
1:
1: struct drm_agp_buffer {
1: - long unsigned int size;
1: - long unsigned int handle;
1: - long unsigned int type;
1: - long unsigned int physical;
1: + long unsigned int size;
1: + long unsigned int handle;
1: + long unsigned int type;
1: + long unsigned int physical;
1: };
1:
1: struct drm_agp_binding {
1: - long unsigned int handle;
1: - long unsigned int offset;
1: + long unsigned int handle;
1: + long unsigned int offset;
1: };
1:
1: struct drm_agp_info {
1: - int agp_version_major;
1: - int agp_version_minor;
1: - long unsigned int mode;
1: - long unsigned int aperture_base;
1: - long unsigned int aperture_size;
1: - long unsigned int memory_allowed;
1: - long unsigned int memory_used;
1: - short unsigned int id_vendor;
1: - short unsigned int id_device;
1: + int agp_version_major;
1: + int agp_version_minor;
1: + long unsigned int mode;
1: + long unsigned int aperture_base;
1: + long unsigned int aperture_size;
1: + long unsigned int memory_allowed;
1: + long unsigned int memory_used;
1: + short unsigned int id_vendor;
1: + short unsigned int id_device;
1: };
1:
1: typedef int drm_ioctl_compat_t(struct file *, unsigned int, long unsigned int);
1:
1: struct drm_version_32 {
1: - int version_major;
1: - int version_minor;
1: - int version_patchlevel;
1: - u32 name_len;
1: - u32 name;
1: - u32 date_len;
1: - u32 date;
1: - u32 desc_len;
1: - u32 desc;
1: + int version_major;
1: + int version_minor;
1: + int version_patchlevel;
1: + u32 name_len;
1: + u32 name;
1: + u32 date_len;
1: + u32 date;
1: + u32 desc_len;
1: + u32 desc;
1: };
1:
1: typedef struct drm_version_32 drm_version32_t;
1:
1: struct drm_unique32 {
1: - u32 unique_len;
1: - u32 unique;
1: + u32 unique_len;
1: + u32 unique;
1: };
1:
1: typedef struct drm_unique32 drm_unique32_t;
1:
1: struct drm_client32 {
1: - int idx;
1: - int auth;
1: - u32 pid;
1: - u32 uid;
1: - u32 magic;
1: - u32 iocs;
1: + int idx;
1: + int auth;
1: + u32 pid;
1: + u32 uid;
1: + u32 magic;
1: + u32 iocs;
1: };
1:
1: typedef struct drm_client32 drm_client32_t;
1:
1: struct drm_stats32 {
1: - u32 count;
1: - struct {
1: - u32 value;
1: - enum drm_stat_type type;
1: - } data[15];
1: + u32 count;
1: + struct {
1: + u32 value;
1: + enum drm_stat_type type;
1: + } data[15];
1: };
1:
1: typedef struct drm_stats32 drm_stats32_t;
1:
1: struct drm_agp_mode32 {
1: - u32 mode;
1: + u32 mode;
1: };
1:
1: typedef struct drm_agp_mode32 drm_agp_mode32_t;
1:
1: struct drm_agp_info32 {
1: - int agp_version_major;
1: - int agp_version_minor;
1: - u32 mode;
1: - u32 aperture_base;
1: - u32 aperture_size;
1: - u32 memory_allowed;
1: - u32 memory_used;
1: - short unsigned int id_vendor;
1: - short unsigned int id_device;
1: + int agp_version_major;
1: + int agp_version_minor;
1: + u32 mode;
1: + u32 aperture_base;
1: + u32 aperture_size;
1: + u32 memory_allowed;
1: + u32 memory_used;
1: + short unsigned int id_vendor;
1: + short unsigned int id_device;
1: };
1:
1: typedef struct drm_agp_info32 drm_agp_info32_t;
1:
1: struct drm_agp_buffer32 {
1: - u32 size;
1: - u32 handle;
1: - u32 type;
1: - u32 physical;
1: + u32 size;
1: + u32 handle;
1: + u32 type;
1: + u32 physical;
1: };
1:
1: typedef struct drm_agp_buffer32 drm_agp_buffer32_t;
1:
1: struct drm_agp_binding32 {
1: - u32 handle;
1: - u32 offset;
1: + u32 handle;
1: + u32 offset;
1: };
1:
1: typedef struct drm_agp_binding32 drm_agp_binding32_t;
1:
1: struct drm_update_draw32 {
1: - drm_drawable_t handle;
1: - unsigned int type;
1: - unsigned int num;
1: - u64 data;
1: + drm_drawable_t handle;
1: + unsigned int type;
1: + unsigned int num;
1: + u64 data;
1: } __attribute__((packed));
1:
1: typedef struct drm_update_draw32 drm_update_draw32_t;
1:
1: struct drm_wait_vblank_request32 {
1: - enum drm_vblank_seq_type type;
1: - unsigned int sequence;
1: - u32 signal;
1: + enum drm_vblank_seq_type type;
1: + unsigned int sequence;
1: + u32 signal;
1: };
1:
1: struct drm_wait_vblank_reply32 {
1: - enum drm_vblank_seq_type type;
1: - unsigned int sequence;
1: - s32 tval_sec;
1: - s32 tval_usec;
1: + enum drm_vblank_seq_type type;
1: + unsigned int sequence;
1: + s32 tval_sec;
1: + s32 tval_usec;
1: };
1:
1: union drm_wait_vblank32 {
1: - struct drm_wait_vblank_request32 request;
1: - struct drm_wait_vblank_reply32 reply;
1: + struct drm_wait_vblank_request32 request;
1: + struct drm_wait_vblank_reply32 reply;
1: };
1:
1: typedef union drm_wait_vblank32 drm_wait_vblank32_t;
1:
1: struct drm_mode_fb_cmd232 {
1: - u32 fb_id;
1: - u32 width;
1: - u32 height;
1: - u32 pixel_format;
1: - u32 flags;
1: - u32 handles[4];
1: - u32 pitches[4];
1: - u32 offsets[4];
1: - u64 modifier[4];
1: + u32 fb_id;
1: + u32 width;
1: + u32 height;
1: + u32 pixel_format;
1: + u32 flags;
1: + u32 handles[4];
1: + u32 pitches[4];
1: + u32 offsets[4];
1: + u64 modifier[4];
1: } __attribute__((packed));
1:
1: struct mipi_dsi_msg {
1: - u8 channel;
1: - u8 type;
1: - u16 flags;
1: - size_t tx_len;
1: - const void *tx_buf;
1: - size_t rx_len;
1: - void *rx_buf;
1: + u8 channel;
1: + u8 type;
1: + u16 flags;
1: + size_t tx_len;
1: + const void *tx_buf;
1: + size_t rx_len;
1: + void *rx_buf;
1: };
1:
1: struct mipi_dsi_packet {
1: - size_t size;
1: - u8 header[4];
1: - size_t payload_length;
1: - const u8 *payload;
1: + size_t size;
1: + u8 header[4];
1: + size_t payload_length;
1: + const u8 *payload;
1: };
1:
1: struct mipi_dsi_host;
1: @@ -69540,302 +70098,302 @@ struct mipi_dsi_host;
1: struct mipi_dsi_device;
1:
1: struct mipi_dsi_host_ops {
1: - int (*attach)(struct mipi_dsi_host *, struct mipi_dsi_device *);
1: - int (*detach)(struct mipi_dsi_host *, struct mipi_dsi_device *);
1: - ssize_t (*transfer)(struct mipi_dsi_host *, const struct mipi_dsi_msg *);
1: + int (*attach)(struct mipi_dsi_host *, struct mipi_dsi_device *);
1: + int (*detach)(struct mipi_dsi_host *, struct mipi_dsi_device *);
1: + ssize_t (*transfer)(struct mipi_dsi_host *, const struct mipi_dsi_msg *);
1: };
1:
1: struct mipi_dsi_host {
1: - struct device *dev;
1: - const struct mipi_dsi_host_ops *ops;
1: - struct list_head list;
1: + struct device *dev;
1: + const struct mipi_dsi_host_ops *ops;
1: + struct list_head list;
1: };
1:
1: enum mipi_dsi_pixel_format {
1: - MIPI_DSI_FMT_RGB888 = 0,
1: - MIPI_DSI_FMT_RGB666 = 1,
1: - MIPI_DSI_FMT_RGB666_PACKED = 2,
1: - MIPI_DSI_FMT_RGB565 = 3,
1: + MIPI_DSI_FMT_RGB888 = 0,
1: + MIPI_DSI_FMT_RGB666 = 1,
1: + MIPI_DSI_FMT_RGB666_PACKED = 2,
1: + MIPI_DSI_FMT_RGB565 = 3,
1: };
1:
1: struct mipi_dsi_device {
1: - struct mipi_dsi_host *host;
1: - struct device dev;
1: - char name[20];
1: - unsigned int channel;
1: - unsigned int lanes;
1: - enum mipi_dsi_pixel_format format;
1: - long unsigned int mode_flags;
1: - long unsigned int hs_rate;
1: - long unsigned int lp_rate;
1: + struct mipi_dsi_host *host;
1: + struct device dev;
1: + char name[20];
1: + unsigned int channel;
1: + unsigned int lanes;
1: + enum mipi_dsi_pixel_format format;
1: + long unsigned int mode_flags;
1: + long unsigned int hs_rate;
1: + long unsigned int lp_rate;
1: };
1:
1: struct mipi_dsi_device_info {
1: - char type[20];
1: - u32 channel;
1: - struct device_node *node;
1: + char type[20];
1: + u32 channel;
1: + struct device_node *node;
1: };
1:
1: enum mipi_dsi_dcs_tear_mode {
1: - MIPI_DSI_DCS_TEAR_MODE_VBLANK = 0,
1: - MIPI_DSI_DCS_TEAR_MODE_VHBLANK = 1,
1: + MIPI_DSI_DCS_TEAR_MODE_VBLANK = 0,
1: + MIPI_DSI_DCS_TEAR_MODE_VHBLANK = 1,
1: };
1:
1: struct mipi_dsi_driver {
1: - struct device_driver driver;
1: - int (*probe)(struct mipi_dsi_device *);
1: - int (*remove)(struct mipi_dsi_device *);
1: - void (*shutdown)(struct mipi_dsi_device *);
1: -};
1: -
1: -enum {
1: - MIPI_DSI_V_SYNC_START = 1,
1: - MIPI_DSI_V_SYNC_END = 17,
1: - MIPI_DSI_H_SYNC_START = 33,
1: - MIPI_DSI_H_SYNC_END = 49,
1: - MIPI_DSI_COLOR_MODE_OFF = 2,
1: - MIPI_DSI_COLOR_MODE_ON = 18,
1: - MIPI_DSI_SHUTDOWN_PERIPHERAL = 34,
1: - MIPI_DSI_TURN_ON_PERIPHERAL = 50,
1: - MIPI_DSI_GENERIC_SHORT_WRITE_0_PARAM = 3,
1: - MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM = 19,
1: - MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM = 35,
1: - MIPI_DSI_GENERIC_READ_REQUEST_0_PARAM = 4,
1: - MIPI_DSI_GENERIC_READ_REQUEST_1_PARAM = 20,
1: - MIPI_DSI_GENERIC_READ_REQUEST_2_PARAM = 36,
1: - MIPI_DSI_DCS_SHORT_WRITE = 5,
1: - MIPI_DSI_DCS_SHORT_WRITE_PARAM = 21,
1: - MIPI_DSI_DCS_READ = 6,
1: - MIPI_DSI_DCS_COMPRESSION_MODE = 7,
1: - MIPI_DSI_PPS_LONG_WRITE = 10,
1: - MIPI_DSI_SET_MAXIMUM_RETURN_PACKET_SIZE = 55,
1: - MIPI_DSI_END_OF_TRANSMISSION = 8,
1: - MIPI_DSI_NULL_PACKET = 9,
1: - MIPI_DSI_BLANKING_PACKET = 25,
1: - MIPI_DSI_GENERIC_LONG_WRITE = 41,
1: - MIPI_DSI_DCS_LONG_WRITE = 57,
1: - MIPI_DSI_LOOSELY_PACKED_PIXEL_STREAM_YCBCR20 = 12,
1: - MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR24 = 28,
1: - MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR16 = 44,
1: - MIPI_DSI_PACKED_PIXEL_STREAM_30 = 13,
1: - MIPI_DSI_PACKED_PIXEL_STREAM_36 = 29,
1: - MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR12 = 61,
1: - MIPI_DSI_PACKED_PIXEL_STREAM_16 = 14,
1: - MIPI_DSI_PACKED_PIXEL_STREAM_18 = 30,
1: - MIPI_DSI_PIXEL_STREAM_3BYTE_18 = 46,
1: - MIPI_DSI_PACKED_PIXEL_STREAM_24 = 62,
1: -};
1: -
1: -enum {
1: - MIPI_DCS_NOP = 0,
1: - MIPI_DCS_SOFT_RESET = 1,
1: - MIPI_DCS_GET_DISPLAY_ID = 4,
1: - MIPI_DCS_GET_RED_CHANNEL = 6,
1: - MIPI_DCS_GET_GREEN_CHANNEL = 7,
1: - MIPI_DCS_GET_BLUE_CHANNEL = 8,
1: - MIPI_DCS_GET_DISPLAY_STATUS = 9,
1: - MIPI_DCS_GET_POWER_MODE = 10,
1: - MIPI_DCS_GET_ADDRESS_MODE = 11,
1: - MIPI_DCS_GET_PIXEL_FORMAT = 12,
1: - MIPI_DCS_GET_DISPLAY_MODE = 13,
1: - MIPI_DCS_GET_SIGNAL_MODE = 14,
1: - MIPI_DCS_GET_DIAGNOSTIC_RESULT = 15,
1: - MIPI_DCS_ENTER_SLEEP_MODE = 16,
1: - MIPI_DCS_EXIT_SLEEP_MODE = 17,
1: - MIPI_DCS_ENTER_PARTIAL_MODE = 18,
1: - MIPI_DCS_ENTER_NORMAL_MODE = 19,
1: - MIPI_DCS_EXIT_INVERT_MODE = 32,
1: - MIPI_DCS_ENTER_INVERT_MODE = 33,
1: - MIPI_DCS_SET_GAMMA_CURVE = 38,
1: - MIPI_DCS_SET_DISPLAY_OFF = 40,
1: - MIPI_DCS_SET_DISPLAY_ON = 41,
1: - MIPI_DCS_SET_COLUMN_ADDRESS = 42,
1: - MIPI_DCS_SET_PAGE_ADDRESS = 43,
1: - MIPI_DCS_WRITE_MEMORY_START = 44,
1: - MIPI_DCS_WRITE_LUT = 45,
1: - MIPI_DCS_READ_MEMORY_START = 46,
1: - MIPI_DCS_SET_PARTIAL_AREA = 48,
1: - MIPI_DCS_SET_SCROLL_AREA = 51,
1: - MIPI_DCS_SET_TEAR_OFF = 52,
1: - MIPI_DCS_SET_TEAR_ON = 53,
1: - MIPI_DCS_SET_ADDRESS_MODE = 54,
1: - MIPI_DCS_SET_SCROLL_START = 55,
1: - MIPI_DCS_EXIT_IDLE_MODE = 56,
1: - MIPI_DCS_ENTER_IDLE_MODE = 57,
1: - MIPI_DCS_SET_PIXEL_FORMAT = 58,
1: - MIPI_DCS_WRITE_MEMORY_CONTINUE = 60,
1: - MIPI_DCS_READ_MEMORY_CONTINUE = 62,
1: - MIPI_DCS_SET_TEAR_SCANLINE = 68,
1: - MIPI_DCS_GET_SCANLINE = 69,
1: - MIPI_DCS_SET_DISPLAY_BRIGHTNESS = 81,
1: - MIPI_DCS_GET_DISPLAY_BRIGHTNESS = 82,
1: - MIPI_DCS_WRITE_CONTROL_DISPLAY = 83,
1: - MIPI_DCS_GET_CONTROL_DISPLAY = 84,
1: - MIPI_DCS_WRITE_POWER_SAVE = 85,
1: - MIPI_DCS_GET_POWER_SAVE = 86,
1: - MIPI_DCS_SET_CABC_MIN_BRIGHTNESS = 94,
1: - MIPI_DCS_GET_CABC_MIN_BRIGHTNESS = 95,
1: - MIPI_DCS_READ_DDB_START = 161,
1: - MIPI_DCS_READ_DDB_CONTINUE = 168,
1: + struct device_driver driver;
1: + int (*probe)(struct mipi_dsi_device *);
1: + int (*remove)(struct mipi_dsi_device *);
1: + void (*shutdown)(struct mipi_dsi_device *);
1: +};
1: +
1: +enum {
1: + MIPI_DSI_V_SYNC_START = 1,
1: + MIPI_DSI_V_SYNC_END = 17,
1: + MIPI_DSI_H_SYNC_START = 33,
1: + MIPI_DSI_H_SYNC_END = 49,
1: + MIPI_DSI_COLOR_MODE_OFF = 2,
1: + MIPI_DSI_COLOR_MODE_ON = 18,
1: + MIPI_DSI_SHUTDOWN_PERIPHERAL = 34,
1: + MIPI_DSI_TURN_ON_PERIPHERAL = 50,
1: + MIPI_DSI_GENERIC_SHORT_WRITE_0_PARAM = 3,
1: + MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM = 19,
1: + MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM = 35,
1: + MIPI_DSI_GENERIC_READ_REQUEST_0_PARAM = 4,
1: + MIPI_DSI_GENERIC_READ_REQUEST_1_PARAM = 20,
1: + MIPI_DSI_GENERIC_READ_REQUEST_2_PARAM = 36,
1: + MIPI_DSI_DCS_SHORT_WRITE = 5,
1: + MIPI_DSI_DCS_SHORT_WRITE_PARAM = 21,
1: + MIPI_DSI_DCS_READ = 6,
1: + MIPI_DSI_DCS_COMPRESSION_MODE = 7,
1: + MIPI_DSI_PPS_LONG_WRITE = 10,
1: + MIPI_DSI_SET_MAXIMUM_RETURN_PACKET_SIZE = 55,
1: + MIPI_DSI_END_OF_TRANSMISSION = 8,
1: + MIPI_DSI_NULL_PACKET = 9,
1: + MIPI_DSI_BLANKING_PACKET = 25,
1: + MIPI_DSI_GENERIC_LONG_WRITE = 41,
1: + MIPI_DSI_DCS_LONG_WRITE = 57,
1: + MIPI_DSI_LOOSELY_PACKED_PIXEL_STREAM_YCBCR20 = 12,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR24 = 28,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR16 = 44,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_30 = 13,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_36 = 29,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_YCBCR12 = 61,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_16 = 14,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_18 = 30,
1: + MIPI_DSI_PIXEL_STREAM_3BYTE_18 = 46,
1: + MIPI_DSI_PACKED_PIXEL_STREAM_24 = 62,
1: +};
1: +
1: +enum {
1: + MIPI_DCS_NOP = 0,
1: + MIPI_DCS_SOFT_RESET = 1,
1: + MIPI_DCS_GET_DISPLAY_ID = 4,
1: + MIPI_DCS_GET_RED_CHANNEL = 6,
1: + MIPI_DCS_GET_GREEN_CHANNEL = 7,
1: + MIPI_DCS_GET_BLUE_CHANNEL = 8,
1: + MIPI_DCS_GET_DISPLAY_STATUS = 9,
1: + MIPI_DCS_GET_POWER_MODE = 10,
1: + MIPI_DCS_GET_ADDRESS_MODE = 11,
1: + MIPI_DCS_GET_PIXEL_FORMAT = 12,
1: + MIPI_DCS_GET_DISPLAY_MODE = 13,
1: + MIPI_DCS_GET_SIGNAL_MODE = 14,
1: + MIPI_DCS_GET_DIAGNOSTIC_RESULT = 15,
1: + MIPI_DCS_ENTER_SLEEP_MODE = 16,
1: + MIPI_DCS_EXIT_SLEEP_MODE = 17,
1: + MIPI_DCS_ENTER_PARTIAL_MODE = 18,
1: + MIPI_DCS_ENTER_NORMAL_MODE = 19,
1: + MIPI_DCS_EXIT_INVERT_MODE = 32,
1: + MIPI_DCS_ENTER_INVERT_MODE = 33,
1: + MIPI_DCS_SET_GAMMA_CURVE = 38,
1: + MIPI_DCS_SET_DISPLAY_OFF = 40,
1: + MIPI_DCS_SET_DISPLAY_ON = 41,
1: + MIPI_DCS_SET_COLUMN_ADDRESS = 42,
1: + MIPI_DCS_SET_PAGE_ADDRESS = 43,
1: + MIPI_DCS_WRITE_MEMORY_START = 44,
1: + MIPI_DCS_WRITE_LUT = 45,
1: + MIPI_DCS_READ_MEMORY_START = 46,
1: + MIPI_DCS_SET_PARTIAL_AREA = 48,
1: + MIPI_DCS_SET_SCROLL_AREA = 51,
1: + MIPI_DCS_SET_TEAR_OFF = 52,
1: + MIPI_DCS_SET_TEAR_ON = 53,
1: + MIPI_DCS_SET_ADDRESS_MODE = 54,
1: + MIPI_DCS_SET_SCROLL_START = 55,
1: + MIPI_DCS_EXIT_IDLE_MODE = 56,
1: + MIPI_DCS_ENTER_IDLE_MODE = 57,
1: + MIPI_DCS_SET_PIXEL_FORMAT = 58,
1: + MIPI_DCS_WRITE_MEMORY_CONTINUE = 60,
1: + MIPI_DCS_READ_MEMORY_CONTINUE = 62,
1: + MIPI_DCS_SET_TEAR_SCANLINE = 68,
1: + MIPI_DCS_GET_SCANLINE = 69,
1: + MIPI_DCS_SET_DISPLAY_BRIGHTNESS = 81,
1: + MIPI_DCS_GET_DISPLAY_BRIGHTNESS = 82,
1: + MIPI_DCS_WRITE_CONTROL_DISPLAY = 83,
1: + MIPI_DCS_GET_CONTROL_DISPLAY = 84,
1: + MIPI_DCS_WRITE_POWER_SAVE = 85,
1: + MIPI_DCS_GET_POWER_SAVE = 86,
1: + MIPI_DCS_SET_CABC_MIN_BRIGHTNESS = 94,
1: + MIPI_DCS_GET_CABC_MIN_BRIGHTNESS = 95,
1: + MIPI_DCS_READ_DDB_START = 161,
1: + MIPI_DCS_READ_DDB_CONTINUE = 168,
1: };
1:
1: struct drm_dmi_panel_orientation_data {
1: - int width;
1: - int height;
1: - const char * const *bios_dates;
1: - int orientation;
1: + int width;
1: + int height;
1: + const char *const *bios_dates;
1: + int orientation;
1: };
1:
1: typedef u32 depot_stack_handle_t;
1:
1: enum drm_i915_pmu_engine_sample {
1: - I915_SAMPLE_BUSY = 0,
1: - I915_SAMPLE_WAIT = 1,
1: - I915_SAMPLE_SEMA = 2,
1: + I915_SAMPLE_BUSY = 0,
1: + I915_SAMPLE_WAIT = 1,
1: + I915_SAMPLE_SEMA = 2,
1: };
1:
1: struct drm_i915_gem_pwrite {
1: - __u32 handle;
1: - __u32 pad;
1: - __u64 offset;
1: - __u64 size;
1: - __u64 data_ptr;
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: + __u64 size;
1: + __u64 data_ptr;
1: };
1:
1: enum pipe {
1: - INVALID_PIPE = -1,
1: - PIPE_A = 0,
1: - PIPE_B = 1,
1: - PIPE_C = 2,
1: - PIPE_D = 3,
1: - _PIPE_EDP = 4,
1: - I915_MAX_PIPES = 4,
1: + INVALID_PIPE = -1,
1: + PIPE_A = 0,
1: + PIPE_B = 1,
1: + PIPE_C = 2,
1: + PIPE_D = 3,
1: + _PIPE_EDP = 4,
1: + I915_MAX_PIPES = 4,
1: };
1:
1: enum transcoder {
1: - INVALID_TRANSCODER = -1,
1: - TRANSCODER_A = 0,
1: - TRANSCODER_B = 1,
1: - TRANSCODER_C = 2,
1: - TRANSCODER_D = 3,
1: - TRANSCODER_EDP = 4,
1: - TRANSCODER_DSI_0 = 5,
1: - TRANSCODER_DSI_1 = 6,
1: - TRANSCODER_DSI_A = 5,
1: - TRANSCODER_DSI_C = 6,
1: - I915_MAX_TRANSCODERS = 7,
1: + INVALID_TRANSCODER = -1,
1: + TRANSCODER_A = 0,
1: + TRANSCODER_B = 1,
1: + TRANSCODER_C = 2,
1: + TRANSCODER_D = 3,
1: + TRANSCODER_EDP = 4,
1: + TRANSCODER_DSI_0 = 5,
1: + TRANSCODER_DSI_1 = 6,
1: + TRANSCODER_DSI_A = 5,
1: + TRANSCODER_DSI_C = 6,
1: + I915_MAX_TRANSCODERS = 7,
1: };
1:
1: enum i9xx_plane_id {
1: - PLANE_A = 0,
1: - PLANE_B = 1,
1: - PLANE_C = 2,
1: + PLANE_A = 0,
1: + PLANE_B = 1,
1: + PLANE_C = 2,
1: };
1:
1: enum plane_id {
1: - PLANE_PRIMARY = 0,
1: - PLANE_SPRITE0 = 1,
1: - PLANE_SPRITE1 = 2,
1: - PLANE_SPRITE2 = 3,
1: - PLANE_SPRITE3 = 4,
1: - PLANE_SPRITE4 = 5,
1: - PLANE_SPRITE5 = 6,
1: - PLANE_CURSOR = 7,
1: - I915_MAX_PLANES = 8,
1: + PLANE_PRIMARY = 0,
1: + PLANE_SPRITE0 = 1,
1: + PLANE_SPRITE1 = 2,
1: + PLANE_SPRITE2 = 3,
1: + PLANE_SPRITE3 = 4,
1: + PLANE_SPRITE4 = 5,
1: + PLANE_SPRITE5 = 6,
1: + PLANE_CURSOR = 7,
1: + I915_MAX_PLANES = 8,
1: };
1:
1: enum port {
1: - PORT_NONE = -1,
1: - PORT_A = 0,
1: - PORT_B = 1,
1: - PORT_C = 2,
1: - PORT_D = 3,
1: - PORT_E = 4,
1: - PORT_F = 5,
1: - PORT_G = 6,
1: - PORT_H = 7,
1: - PORT_I = 8,
1: - I915_MAX_PORTS = 9,
1: + PORT_NONE = -1,
1: + PORT_A = 0,
1: + PORT_B = 1,
1: + PORT_C = 2,
1: + PORT_D = 3,
1: + PORT_E = 4,
1: + PORT_F = 5,
1: + PORT_G = 6,
1: + PORT_H = 7,
1: + PORT_I = 8,
1: + I915_MAX_PORTS = 9,
1: };
1:
1: enum tc_port_mode {
1: - TC_PORT_TBT_ALT = 0,
1: - TC_PORT_DP_ALT = 1,
1: - TC_PORT_LEGACY = 2,
1: + TC_PORT_TBT_ALT = 0,
1: + TC_PORT_DP_ALT = 1,
1: + TC_PORT_LEGACY = 2,
1: };
1:
1: enum dpio_phy {
1: - DPIO_PHY0 = 0,
1: - DPIO_PHY1 = 1,
1: - DPIO_PHY2 = 2,
1: + DPIO_PHY0 = 0,
1: + DPIO_PHY1 = 1,
1: + DPIO_PHY2 = 2,
1: };
1:
1: enum aux_ch {
1: - AUX_CH_A = 0,
1: - AUX_CH_B = 1,
1: - AUX_CH_C = 2,
1: - AUX_CH_D = 3,
1: - AUX_CH_E = 4,
1: - AUX_CH_F = 5,
1: - AUX_CH_G = 6,
1: + AUX_CH_A = 0,
1: + AUX_CH_B = 1,
1: + AUX_CH_C = 2,
1: + AUX_CH_D = 3,
1: + AUX_CH_E = 4,
1: + AUX_CH_F = 5,
1: + AUX_CH_G = 6,
1: };
1:
1: struct intel_link_m_n {
1: - u32 tu;
1: - u32 gmch_m;
1: - u32 gmch_n;
1: - u32 link_m;
1: - u32 link_n;
1: + u32 tu;
1: + u32 gmch_m;
1: + u32 gmch_n;
1: + u32 link_m;
1: + u32 link_n;
1: };
1:
1: enum phy_fia {
1: - FIA1 = 0,
1: - FIA2 = 1,
1: - FIA3 = 2,
1: + FIA1 = 0,
1: + FIA2 = 1,
1: + FIA3 = 2,
1: };
1:
1: struct intel_cdclk_vals {
1: - u16 refclk;
1: - u32 cdclk;
1: - u8 divider;
1: - u8 ratio;
1: + u16 refclk;
1: + u32 cdclk;
1: + u8 divider;
1: + u8 ratio;
1: };
1:
1: struct cec_devnode {
1: - struct device dev;
1: - struct cdev cdev;
1: - int minor;
1: - bool registered;
1: - bool unregistered;
1: - struct list_head fhs;
1: - struct mutex lock;
1: + struct device dev;
1: + struct cdev cdev;
1: + int minor;
1: + bool registered;
1: + bool unregistered;
1: + struct list_head fhs;
1: + struct mutex lock;
1: };
1:
1: struct cec_log_addrs {
1: - __u8 log_addr[4];
1: - __u16 log_addr_mask;
1: - __u8 cec_version;
1: - __u8 num_log_addrs;
1: - __u32 vendor_id;
1: - __u32 flags;
1: - char osd_name[15];
1: - __u8 primary_device_type[4];
1: - __u8 log_addr_type[4];
1: - __u8 all_device_types[4];
1: - __u8 features[48];
1: + __u8 log_addr[4];
1: + __u16 log_addr_mask;
1: + __u8 cec_version;
1: + __u8 num_log_addrs;
1: + __u32 vendor_id;
1: + __u32 flags;
1: + char osd_name[15];
1: + __u8 primary_device_type[4];
1: + __u8 log_addr_type[4];
1: + __u8 all_device_types[4];
1: + __u8 features[48];
1: };
1:
1: struct cec_drm_connector_info {
1: - __u32 card_no;
1: - __u32 connector_id;
1: + __u32 card_no;
1: + __u32 connector_id;
1: };
1:
1: struct cec_connector_info {
1: - __u32 type;
1: - union {
1: - struct cec_drm_connector_info drm;
1: - __u32 raw[16];
1: - };
1: + __u32 type;
1: + union {
1: + struct cec_drm_connector_info drm;
1: + __u32 raw[16];
1: + };
1: };
1:
1: struct rc_dev;
1: @@ -69847,567 +70405,578 @@ struct cec_adap_ops;
1: struct cec_fh;
1:
1: struct cec_adapter {
1: - struct module *owner;
1: - char name[32];
1: - struct cec_devnode devnode;
1: - struct mutex lock;
1: - struct rc_dev *rc;
1: - struct list_head transmit_queue;
1: - unsigned int transmit_queue_sz;
1: - struct list_head wait_queue;
1: - struct cec_data *transmitting;
1: - bool transmit_in_progress;
1: - struct task_struct *kthread_config;
1: - struct completion config_completion;
1: - struct task_struct *kthread;
1: - wait_queue_head_t kthread_waitq;
1: - wait_queue_head_t waitq;
1: - const struct cec_adap_ops *ops;
1: - void *priv;
1: - u32 capabilities;
1: - u8 available_log_addrs;
1: - u16 phys_addr;
1: - bool needs_hpd;
1: - bool is_configuring;
1: - bool is_configured;
1: - bool cec_pin_is_high;
1: - u8 last_initiator;
1: - u32 monitor_all_cnt;
1: - u32 monitor_pin_cnt;
1: - u32 follower_cnt;
1: - struct cec_fh *cec_follower;
1: - struct cec_fh *cec_initiator;
1: - bool passthrough;
1: - struct cec_log_addrs log_addrs;
1: - struct cec_connector_info conn_info;
1: - u32 tx_timeouts;
1: - struct dentry *cec_dir;
1: - struct dentry *status_file;
1: - struct dentry *error_inj_file;
1: - u16 phys_addrs[15];
1: - u32 sequence;
1: - char input_phys[32];
1: + struct module *owner;
1: + char name[32];
1: + struct cec_devnode devnode;
1: + struct mutex lock;
1: + struct rc_dev *rc;
1: + struct list_head transmit_queue;
1: + unsigned int transmit_queue_sz;
1: + struct list_head wait_queue;
1: + struct cec_data *transmitting;
1: + bool transmit_in_progress;
1: + struct task_struct *kthread_config;
1: + struct completion config_completion;
1: + struct task_struct *kthread;
1: + wait_queue_head_t kthread_waitq;
1: + wait_queue_head_t waitq;
1: + const struct cec_adap_ops *ops;
1: + void *priv;
1: + u32 capabilities;
1: + u8 available_log_addrs;
1: + u16 phys_addr;
1: + bool needs_hpd;
1: + bool is_configuring;
1: + bool is_configured;
1: + bool cec_pin_is_high;
1: + u8 last_initiator;
1: + u32 monitor_all_cnt;
1: + u32 monitor_pin_cnt;
1: + u32 follower_cnt;
1: + struct cec_fh *cec_follower;
1: + struct cec_fh *cec_initiator;
1: + bool passthrough;
1: + struct cec_log_addrs log_addrs;
1: + struct cec_connector_info conn_info;
1: + u32 tx_timeouts;
1: + struct dentry *cec_dir;
1: + struct dentry *status_file;
1: + struct dentry *error_inj_file;
1: + u16 phys_addrs[15];
1: + u32 sequence;
1: + char input_phys[32];
1: };
1:
1: struct hdcp2_cert_rx {
1: - u8 receiver_id[5];
1: - u8 kpub_rx[131];
1: - u8 reserved[2];
1: - u8 dcp_signature[384];
1: + u8 receiver_id[5];
1: + u8 kpub_rx[131];
1: + u8 reserved[2];
1: + u8 dcp_signature[384];
1: };
1:
1: struct hdcp2_streamid_type {
1: - u8 stream_id;
1: - u8 stream_type;
1: + u8 stream_id;
1: + u8 stream_type;
1: };
1:
1: struct hdcp2_tx_caps {
1: - u8 version;
1: - u8 tx_cap_mask[2];
1: + u8 version;
1: + u8 tx_cap_mask[2];
1: };
1:
1: struct hdcp2_ake_init {
1: - u8 msg_id;
1: - u8 r_tx[8];
1: - struct hdcp2_tx_caps tx_caps;
1: + u8 msg_id;
1: + u8 r_tx[8];
1: + struct hdcp2_tx_caps tx_caps;
1: };
1:
1: struct hdcp2_ake_send_cert {
1: - u8 msg_id;
1: - struct hdcp2_cert_rx cert_rx;
1: - u8 r_rx[8];
1: - u8 rx_caps[3];
1: + u8 msg_id;
1: + struct hdcp2_cert_rx cert_rx;
1: + u8 r_rx[8];
1: + u8 rx_caps[3];
1: };
1:
1: struct hdcp2_ake_no_stored_km {
1: - u8 msg_id;
1: - u8 e_kpub_km[128];
1: + u8 msg_id;
1: + u8 e_kpub_km[128];
1: };
1:
1: struct hdcp2_ake_send_hprime {
1: - u8 msg_id;
1: - u8 h_prime[32];
1: + u8 msg_id;
1: + u8 h_prime[32];
1: };
1:
1: struct hdcp2_ake_send_pairing_info {
1: - u8 msg_id;
1: - u8 e_kh_km[16];
1: + u8 msg_id;
1: + u8 e_kh_km[16];
1: };
1:
1: struct hdcp2_lc_init {
1: - u8 msg_id;
1: - u8 r_n[8];
1: + u8 msg_id;
1: + u8 r_n[8];
1: };
1:
1: struct hdcp2_lc_send_lprime {
1: - u8 msg_id;
1: - u8 l_prime[32];
1: + u8 msg_id;
1: + u8 l_prime[32];
1: };
1:
1: struct hdcp2_ske_send_eks {
1: - u8 msg_id;
1: - u8 e_dkey_ks[16];
1: - u8 riv[8];
1: + u8 msg_id;
1: + u8 e_dkey_ks[16];
1: + u8 riv[8];
1: };
1:
1: struct hdcp2_rep_send_receiverid_list {
1: - u8 msg_id;
1: - u8 rx_info[2];
1: - u8 seq_num_v[3];
1: - u8 v_prime[16];
1: - u8 receiver_ids[155];
1: + u8 msg_id;
1: + u8 rx_info[2];
1: + u8 seq_num_v[3];
1: + u8 v_prime[16];
1: + u8 receiver_ids[155];
1: };
1:
1: struct hdcp2_rep_send_ack {
1: - u8 msg_id;
1: - u8 v[16];
1: + u8 msg_id;
1: + u8 v[16];
1: };
1:
1: struct hdcp2_rep_stream_ready {
1: - u8 msg_id;
1: - u8 m_prime[32];
1: + u8 msg_id;
1: + u8 m_prime[32];
1: };
1:
1: enum hdcp_wired_protocol {
1: - HDCP_PROTOCOL_INVALID = 0,
1: - HDCP_PROTOCOL_HDMI = 1,
1: - HDCP_PROTOCOL_DP = 2,
1: + HDCP_PROTOCOL_INVALID = 0,
1: + HDCP_PROTOCOL_HDMI = 1,
1: + HDCP_PROTOCOL_DP = 2,
1: };
1:
1: enum mei_fw_ddi {
1: - MEI_DDI_INVALID_PORT = 0,
1: - MEI_DDI_B = 1,
1: - MEI_DDI_C = 2,
1: - MEI_DDI_D = 3,
1: - MEI_DDI_E = 4,
1: - MEI_DDI_F = 5,
1: - MEI_DDI_A = 7,
1: - MEI_DDI_RANGE_END = 7,
1: + MEI_DDI_INVALID_PORT = 0,
1: + MEI_DDI_B = 1,
1: + MEI_DDI_C = 2,
1: + MEI_DDI_D = 3,
1: + MEI_DDI_E = 4,
1: + MEI_DDI_F = 5,
1: + MEI_DDI_A = 7,
1: + MEI_DDI_RANGE_END = 7,
1: };
1:
1: enum mei_fw_tc {
1: - MEI_INVALID_TRANSCODER = 0,
1: - MEI_TRANSCODER_EDP = 1,
1: - MEI_TRANSCODER_DSI0 = 2,
1: - MEI_TRANSCODER_DSI1 = 3,
1: - MEI_TRANSCODER_A = 16,
1: - MEI_TRANSCODER_B = 17,
1: - MEI_TRANSCODER_C = 18,
1: - MEI_TRANSCODER_D = 19,
1: + MEI_INVALID_TRANSCODER = 0,
1: + MEI_TRANSCODER_EDP = 1,
1: + MEI_TRANSCODER_DSI0 = 2,
1: + MEI_TRANSCODER_DSI1 = 3,
1: + MEI_TRANSCODER_A = 16,
1: + MEI_TRANSCODER_B = 17,
1: + MEI_TRANSCODER_C = 18,
1: + MEI_TRANSCODER_D = 19,
1: };
1:
1: struct hdcp_port_data {
1: - enum mei_fw_ddi fw_ddi;
1: - enum mei_fw_tc fw_tc;
1: - u8 port_type;
1: - u8 protocol;
1: - u16 k;
1: - u32 seq_num_m;
1: - struct hdcp2_streamid_type *streams;
1: + enum mei_fw_ddi fw_ddi;
1: + enum mei_fw_tc fw_tc;
1: + u8 port_type;
1: + u8 protocol;
1: + u16 k;
1: + u32 seq_num_m;
1: + struct hdcp2_streamid_type *streams;
1: };
1:
1: struct i915_hdcp_component_ops {
1: - struct module *owner;
1: - int (*initiate_hdcp2_session)(struct device *, struct hdcp_port_data *, struct hdcp2_ake_init *);
1: - int (*verify_receiver_cert_prepare_km)(struct device *, struct hdcp_port_data *, struct hdcp2_ake_send_cert *, bool *, struct hdcp2_ake_no_stored_km *, size_t *);
1: - int (*verify_hprime)(struct device *, struct hdcp_port_data *, struct hdcp2_ake_send_hprime *);
1: - int (*store_pairing_info)(struct device *, struct hdcp_port_data *, struct hdcp2_ake_send_pairing_info *);
1: - int (*initiate_locality_check)(struct device *, struct hdcp_port_data *, struct hdcp2_lc_init *);
1: - int (*verify_lprime)(struct device *, struct hdcp_port_data *, struct hdcp2_lc_send_lprime *);
1: - int (*get_session_key)(struct device *, struct hdcp_port_data *, struct hdcp2_ske_send_eks *);
1: - int (*repeater_check_flow_prepare_ack)(struct device *, struct hdcp_port_data *, struct hdcp2_rep_send_receiverid_list *, struct hdcp2_rep_send_ack *);
1: - int (*verify_mprime)(struct device *, struct hdcp_port_data *, struct hdcp2_rep_stream_ready *);
1: - int (*enable_hdcp_authentication)(struct device *, struct hdcp_port_data *);
1: - int (*close_hdcp_session)(struct device *, struct hdcp_port_data *);
1: + struct module *owner;
1: + int (*initiate_hdcp2_session)(struct device *, struct hdcp_port_data *,
1: + struct hdcp2_ake_init *);
1: + int (*verify_receiver_cert_prepare_km)(struct device *,
1: + struct hdcp_port_data *,
1: + struct hdcp2_ake_send_cert *, bool *,
1: + struct hdcp2_ake_no_stored_km *,
1: + size_t *);
1: + int (*verify_hprime)(struct device *, struct hdcp_port_data *,
1: + struct hdcp2_ake_send_hprime *);
1: + int (*store_pairing_info)(struct device *, struct hdcp_port_data *,
1: + struct hdcp2_ake_send_pairing_info *);
1: + int (*initiate_locality_check)(struct device *, struct hdcp_port_data *,
1: + struct hdcp2_lc_init *);
1: + int (*verify_lprime)(struct device *, struct hdcp_port_data *,
1: + struct hdcp2_lc_send_lprime *);
1: + int (*get_session_key)(struct device *, struct hdcp_port_data *,
1: + struct hdcp2_ske_send_eks *);
1: + int (*repeater_check_flow_prepare_ack)(
1: + struct device *, struct hdcp_port_data *,
1: + struct hdcp2_rep_send_receiverid_list *, struct hdcp2_rep_send_ack *);
1: + int (*verify_mprime)(struct device *, struct hdcp_port_data *,
1: + struct hdcp2_rep_stream_ready *);
1: + int (*enable_hdcp_authentication)(struct device *, struct hdcp_port_data *);
1: + int (*close_hdcp_session)(struct device *, struct hdcp_port_data *);
1: };
1:
1: struct i915_hdcp_comp_master {
1: - struct device *mei_dev;
1: - const struct i915_hdcp_component_ops *ops;
1: - struct mutex mutex;
1: + struct device *mei_dev;
1: + const struct i915_hdcp_component_ops *ops;
1: + struct mutex mutex;
1: };
1:
1: struct cec_msg {
1: - __u64 tx_ts;
1: - __u64 rx_ts;
1: - __u32 len;
1: - __u32 timeout;
1: - __u32 sequence;
1: - __u32 flags;
1: - __u8 msg[16];
1: - __u8 reply;
1: - __u8 rx_status;
1: - __u8 tx_status;
1: - __u8 tx_arb_lost_cnt;
1: - __u8 tx_nack_cnt;
1: - __u8 tx_low_drive_cnt;
1: - __u8 tx_error_cnt;
1: + __u64 tx_ts;
1: + __u64 rx_ts;
1: + __u32 len;
1: + __u32 timeout;
1: + __u32 sequence;
1: + __u32 flags;
1: + __u8 msg[16];
1: + __u8 reply;
1: + __u8 rx_status;
1: + __u8 tx_status;
1: + __u8 tx_arb_lost_cnt;
1: + __u8 tx_nack_cnt;
1: + __u8 tx_low_drive_cnt;
1: + __u8 tx_error_cnt;
1: };
1:
1: struct cec_event_state_change {
1: - __u16 phys_addr;
1: - __u16 log_addr_mask;
1: - __u16 have_conn_info;
1: + __u16 phys_addr;
1: + __u16 log_addr_mask;
1: + __u16 have_conn_info;
1: };
1:
1: struct cec_event_lost_msgs {
1: - __u32 lost_msgs;
1: + __u32 lost_msgs;
1: };
1:
1: struct cec_event {
1: - __u64 ts;
1: - __u32 event;
1: - __u32 flags;
1: - union {
1: - struct cec_event_state_change state_change;
1: - struct cec_event_lost_msgs lost_msgs;
1: - __u32 raw[16];
1: - };
1: + __u64 ts;
1: + __u32 event;
1: + __u32 flags;
1: + union {
1: + struct cec_event_state_change state_change;
1: + struct cec_event_lost_msgs lost_msgs;
1: + __u32 raw[16];
1: + };
1: };
1:
1: enum rc_proto {
1: - RC_PROTO_UNKNOWN = 0,
1: - RC_PROTO_OTHER = 1,
1: - RC_PROTO_RC5 = 2,
1: - RC_PROTO_RC5X_20 = 3,
1: - RC_PROTO_RC5_SZ = 4,
1: - RC_PROTO_JVC = 5,
1: - RC_PROTO_SONY12 = 6,
1: - RC_PROTO_SONY15 = 7,
1: - RC_PROTO_SONY20 = 8,
1: - RC_PROTO_NEC = 9,
1: - RC_PROTO_NECX = 10,
1: - RC_PROTO_NEC32 = 11,
1: - RC_PROTO_SANYO = 12,
1: - RC_PROTO_MCIR2_KBD = 13,
1: - RC_PROTO_MCIR2_MSE = 14,
1: - RC_PROTO_RC6_0 = 15,
1: - RC_PROTO_RC6_6A_20 = 16,
1: - RC_PROTO_RC6_6A_24 = 17,
1: - RC_PROTO_RC6_6A_32 = 18,
1: - RC_PROTO_RC6_MCE = 19,
1: - RC_PROTO_SHARP = 20,
1: - RC_PROTO_XMP = 21,
1: - RC_PROTO_CEC = 22,
1: - RC_PROTO_IMON = 23,
1: - RC_PROTO_RCMM12 = 24,
1: - RC_PROTO_RCMM24 = 25,
1: - RC_PROTO_RCMM32 = 26,
1: - RC_PROTO_XBOX_DVD = 27,
1: + RC_PROTO_UNKNOWN = 0,
1: + RC_PROTO_OTHER = 1,
1: + RC_PROTO_RC5 = 2,
1: + RC_PROTO_RC5X_20 = 3,
1: + RC_PROTO_RC5_SZ = 4,
1: + RC_PROTO_JVC = 5,
1: + RC_PROTO_SONY12 = 6,
1: + RC_PROTO_SONY15 = 7,
1: + RC_PROTO_SONY20 = 8,
1: + RC_PROTO_NEC = 9,
1: + RC_PROTO_NECX = 10,
1: + RC_PROTO_NEC32 = 11,
1: + RC_PROTO_SANYO = 12,
1: + RC_PROTO_MCIR2_KBD = 13,
1: + RC_PROTO_MCIR2_MSE = 14,
1: + RC_PROTO_RC6_0 = 15,
1: + RC_PROTO_RC6_6A_20 = 16,
1: + RC_PROTO_RC6_6A_24 = 17,
1: + RC_PROTO_RC6_6A_32 = 18,
1: + RC_PROTO_RC6_MCE = 19,
1: + RC_PROTO_SHARP = 20,
1: + RC_PROTO_XMP = 21,
1: + RC_PROTO_CEC = 22,
1: + RC_PROTO_IMON = 23,
1: + RC_PROTO_RCMM12 = 24,
1: + RC_PROTO_RCMM24 = 25,
1: + RC_PROTO_RCMM32 = 26,
1: + RC_PROTO_XBOX_DVD = 27,
1: };
1:
1: struct rc_map_table {
1: - u32 scancode;
1: - u32 keycode;
1: + u32 scancode;
1: + u32 keycode;
1: };
1:
1: struct rc_map {
1: - struct rc_map_table *scan;
1: - unsigned int size;
1: - unsigned int len;
1: - unsigned int alloc;
1: - enum rc_proto rc_proto;
1: - const char *name;
1: - spinlock_t lock;
1: + struct rc_map_table *scan;
1: + unsigned int size;
1: + unsigned int len;
1: + unsigned int alloc;
1: + enum rc_proto rc_proto;
1: + const char *name;
1: + spinlock_t lock;
1: };
1:
1: enum rc_driver_type {
1: - RC_DRIVER_SCANCODE = 0,
1: - RC_DRIVER_IR_RAW = 1,
1: - RC_DRIVER_IR_RAW_TX = 2,
1: + RC_DRIVER_SCANCODE = 0,
1: + RC_DRIVER_IR_RAW = 1,
1: + RC_DRIVER_IR_RAW_TX = 2,
1: };
1:
1: struct rc_scancode_filter {
1: - u32 data;
1: - u32 mask;
1: + u32 data;
1: + u32 mask;
1: };
1:
1: struct ir_raw_event_ctrl;
1:
1: struct rc_dev {
1: - struct device dev;
1: - bool managed_alloc;
1: - const struct attribute_group *sysfs_groups[5];
1: - const char *device_name;
1: - const char *input_phys;
1: - struct input_id input_id;
1: - const char *driver_name;
1: - const char *map_name;
1: - struct rc_map rc_map;
1: - struct mutex lock;
1: - unsigned int minor;
1: - struct ir_raw_event_ctrl *raw;
1: - struct input_dev *input_dev;
1: - enum rc_driver_type driver_type;
1: - bool idle;
1: - bool encode_wakeup;
1: - u64 allowed_protocols;
1: - u64 enabled_protocols;
1: - u64 allowed_wakeup_protocols;
1: - enum rc_proto wakeup_protocol;
1: - struct rc_scancode_filter scancode_filter;
1: - struct rc_scancode_filter scancode_wakeup_filter;
1: - u32 scancode_mask;
1: - u32 users;
1: - void *priv;
1: - spinlock_t keylock;
1: - bool keypressed;
1: - long unsigned int keyup_jiffies;
1: - struct timer_list timer_keyup;
1: - struct timer_list timer_repeat;
1: - u32 last_keycode;
1: - enum rc_proto last_protocol;
1: - u32 last_scancode;
1: - u8 last_toggle;
1: - u32 timeout;
1: - u32 min_timeout;
1: - u32 max_timeout;
1: - u32 rx_resolution;
1: - u32 tx_resolution;
1: - bool registered;
1: - int (*change_protocol)(struct rc_dev *, u64 *);
1: - int (*open)(struct rc_dev *);
1: - void (*close)(struct rc_dev *);
1: - int (*s_tx_mask)(struct rc_dev *, u32);
1: - int (*s_tx_carrier)(struct rc_dev *, u32);
1: - int (*s_tx_duty_cycle)(struct rc_dev *, u32);
1: - int (*s_rx_carrier_range)(struct rc_dev *, u32, u32);
1: - int (*tx_ir)(struct rc_dev *, unsigned int *, unsigned int);
1: - void (*s_idle)(struct rc_dev *, bool);
1: - int (*s_learning_mode)(struct rc_dev *, int);
1: - int (*s_carrier_report)(struct rc_dev *, int);
1: - int (*s_filter)(struct rc_dev *, struct rc_scancode_filter *);
1: - int (*s_wakeup_filter)(struct rc_dev *, struct rc_scancode_filter *);
1: - int (*s_timeout)(struct rc_dev *, unsigned int);
1: + struct device dev;
1: + bool managed_alloc;
1: + const struct attribute_group *sysfs_groups[5];
1: + const char *device_name;
1: + const char *input_phys;
1: + struct input_id input_id;
1: + const char *driver_name;
1: + const char *map_name;
1: + struct rc_map rc_map;
1: + struct mutex lock;
1: + unsigned int minor;
1: + struct ir_raw_event_ctrl *raw;
1: + struct input_dev *input_dev;
1: + enum rc_driver_type driver_type;
1: + bool idle;
1: + bool encode_wakeup;
1: + u64 allowed_protocols;
1: + u64 enabled_protocols;
1: + u64 allowed_wakeup_protocols;
1: + enum rc_proto wakeup_protocol;
1: + struct rc_scancode_filter scancode_filter;
1: + struct rc_scancode_filter scancode_wakeup_filter;
1: + u32 scancode_mask;
1: + u32 users;
1: + void *priv;
1: + spinlock_t keylock;
1: + bool keypressed;
1: + long unsigned int keyup_jiffies;
1: + struct timer_list timer_keyup;
1: + struct timer_list timer_repeat;
1: + u32 last_keycode;
1: + enum rc_proto last_protocol;
1: + u32 last_scancode;
1: + u8 last_toggle;
1: + u32 timeout;
1: + u32 min_timeout;
1: + u32 max_timeout;
1: + u32 rx_resolution;
1: + u32 tx_resolution;
1: + bool registered;
1: + int (*change_protocol)(struct rc_dev *, u64 *);
1: + int (*open)(struct rc_dev *);
1: + void (*close)(struct rc_dev *);
1: + int (*s_tx_mask)(struct rc_dev *, u32);
1: + int (*s_tx_carrier)(struct rc_dev *, u32);
1: + int (*s_tx_duty_cycle)(struct rc_dev *, u32);
1: + int (*s_rx_carrier_range)(struct rc_dev *, u32, u32);
1: + int (*tx_ir)(struct rc_dev *, unsigned int *, unsigned int);
1: + void (*s_idle)(struct rc_dev *, bool);
1: + int (*s_learning_mode)(struct rc_dev *, int);
1: + int (*s_carrier_report)(struct rc_dev *, int);
1: + int (*s_filter)(struct rc_dev *, struct rc_scancode_filter *);
1: + int (*s_wakeup_filter)(struct rc_dev *, struct rc_scancode_filter *);
1: + int (*s_timeout)(struct rc_dev *, unsigned int);
1: };
1:
1: struct cec_data {
1: - struct list_head list;
1: - struct list_head xfer_list;
1: - struct cec_adapter *adap;
1: - struct cec_msg msg;
1: - struct cec_fh *fh;
1: - struct delayed_work work;
1: - struct completion c;
1: - u8 attempts;
1: - bool blocking;
1: - bool completed;
1: + struct list_head list;
1: + struct list_head xfer_list;
1: + struct cec_adapter *adap;
1: + struct cec_msg msg;
1: + struct cec_fh *fh;
1: + struct delayed_work work;
1: + struct completion c;
1: + u8 attempts;
1: + bool blocking;
1: + bool completed;
1: };
1:
1: struct cec_event_entry {
1: - struct list_head list;
1: - struct cec_event ev;
1: + struct list_head list;
1: + struct cec_event ev;
1: };
1:
1: struct cec_fh {
1: - struct list_head list;
1: - struct list_head xfer_list;
1: - struct cec_adapter *adap;
1: - u8 mode_initiator;
1: - u8 mode_follower;
1: - wait_queue_head_t wait;
1: - struct mutex lock;
1: - struct list_head events[8];
1: - u16 queued_events[8];
1: - unsigned int total_queued_events;
1: - struct cec_event_entry core_events[2];
1: - struct list_head msgs;
1: - unsigned int queued_msgs;
1: + struct list_head list;
1: + struct list_head xfer_list;
1: + struct cec_adapter *adap;
1: + u8 mode_initiator;
1: + u8 mode_follower;
1: + wait_queue_head_t wait;
1: + struct mutex lock;
1: + struct list_head events[8];
1: + u16 queued_events[8];
1: + unsigned int total_queued_events;
1: + struct cec_event_entry core_events[2];
1: + struct list_head msgs;
1: + unsigned int queued_msgs;
1: };
1:
1: struct cec_adap_ops {
1: - int (*adap_enable)(struct cec_adapter *, bool);
1: - int (*adap_monitor_all_enable)(struct cec_adapter *, bool);
1: - int (*adap_monitor_pin_enable)(struct cec_adapter *, bool);
1: - int (*adap_log_addr)(struct cec_adapter *, u8);
1: - int (*adap_transmit)(struct cec_adapter *, u8, u32, struct cec_msg *);
1: - void (*adap_status)(struct cec_adapter *, struct seq_file *);
1: - void (*adap_free)(struct cec_adapter *);
1: - int (*error_inj_show)(struct cec_adapter *, struct seq_file *);
1: - bool (*error_inj_parse_line)(struct cec_adapter *, char *);
1: - int (*received)(struct cec_adapter *, struct cec_msg *);
1: + int (*adap_enable)(struct cec_adapter *, bool);
1: + int (*adap_monitor_all_enable)(struct cec_adapter *, bool);
1: + int (*adap_monitor_pin_enable)(struct cec_adapter *, bool);
1: + int (*adap_log_addr)(struct cec_adapter *, u8);
1: + int (*adap_transmit)(struct cec_adapter *, u8, u32, struct cec_msg *);
1: + void (*adap_status)(struct cec_adapter *, struct seq_file *);
1: + void (*adap_free)(struct cec_adapter *);
1: + int (*error_inj_show)(struct cec_adapter *, struct seq_file *);
1: + bool (*error_inj_parse_line)(struct cec_adapter *, char *);
1: + int (*received)(struct cec_adapter *, struct cec_msg *);
1: };
1:
1: struct io_mapping {
1: - resource_size_t base;
1: - long unsigned int size;
1: - pgprot_t prot;
1: - void *iomem;
1: + resource_size_t base;
1: + long unsigned int size;
1: + pgprot_t prot;
1: + void *iomem;
1: };
1:
1: struct i2c_algo_bit_data {
1: - void *data;
1: - void (*setsda)(void *, int);
1: - void (*setscl)(void *, int);
1: - int (*getsda)(void *);
1: - int (*getscl)(void *);
1: - int (*pre_xfer)(struct i2c_adapter *);
1: - void (*post_xfer)(struct i2c_adapter *);
1: - int udelay;
1: - int timeout;
1: - bool can_do_atomic;
1: + void *data;
1: + void (*setsda)(void *, int);
1: + void (*setscl)(void *, int);
1: + int (*getsda)(void *);
1: + int (*getscl)(void *);
1: + int (*pre_xfer)(struct i2c_adapter *);
1: + void (*post_xfer)(struct i2c_adapter *);
1: + int udelay;
1: + int timeout;
1: + bool can_do_atomic;
1: };
1:
1: struct i915_params {
1: - char *vbt_firmware;
1: - int modeset;
1: - int lvds_channel_mode;
1: - int panel_use_ssc;
1: - int vbt_sdvo_panel_type;
1: - int enable_dc;
1: - int enable_fbc;
1: - int enable_psr;
1: - int disable_power_well;
1: - int enable_ips;
1: - int invert_brightness;
1: - int enable_guc;
1: - int guc_log_level;
1: - char *guc_firmware_path;
1: - char *huc_firmware_path;
1: - char *dmc_firmware_path;
1: - int mmio_debug;
1: - int edp_vswing;
1: - int reset;
1: - unsigned int inject_probe_failure;
1: - int fastboot;
1: - int enable_dpcd_backlight;
1: - char *force_probe;
1: - long unsigned int fake_lmem_start;
1: - bool alpha_support;
1: - bool enable_hangcheck;
1: - bool prefault_disable;
1: - bool load_detect_test;
1: - bool force_reset_modeset_test;
1: - bool error_capture;
1: - bool disable_display;
1: - bool verbose_state_checks;
1: - bool nuclear_pageflip;
1: - bool enable_dp_mst;
1: - bool enable_gvt;
1: -};
1: -
1: -typedef struct {
1: - u32 reg;
1: -} i915_reg_t;
1: + char *vbt_firmware;
1: + int modeset;
1: + int lvds_channel_mode;
1: + int panel_use_ssc;
1: + int vbt_sdvo_panel_type;
1: + int enable_dc;
1: + int enable_fbc;
1: + int enable_psr;
1: + int disable_power_well;
1: + int enable_ips;
1: + int invert_brightness;
1: + int enable_guc;
1: + int guc_log_level;
1: + char *guc_firmware_path;
1: + char *huc_firmware_path;
1: + char *dmc_firmware_path;
1: + int mmio_debug;
1: + int edp_vswing;
1: + int reset;
1: + unsigned int inject_probe_failure;
1: + int fastboot;
1: + int enable_dpcd_backlight;
1: + char *force_probe;
1: + long unsigned int fake_lmem_start;
1: + bool alpha_support;
1: + bool enable_hangcheck;
1: + bool prefault_disable;
1: + bool load_detect_test;
1: + bool force_reset_modeset_test;
1: + bool error_capture;
1: + bool disable_display;
1: + bool verbose_state_checks;
1: + bool nuclear_pageflip;
1: + bool enable_dp_mst;
1: + bool enable_gvt;
1: +};
1: +
1: +typedef struct { u32 reg; } i915_reg_t;
1:
1: enum intel_backlight_type {
1: - INTEL_BACKLIGHT_PMIC = 0,
1: - INTEL_BACKLIGHT_LPSS = 1,
1: - INTEL_BACKLIGHT_DISPLAY_DDI = 2,
1: - INTEL_BACKLIGHT_DSI_DCS = 3,
1: - INTEL_BACKLIGHT_PANEL_DRIVER_INTERFACE = 4,
1: - INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE = 5,
1: + INTEL_BACKLIGHT_PMIC = 0,
1: + INTEL_BACKLIGHT_LPSS = 1,
1: + INTEL_BACKLIGHT_DISPLAY_DDI = 2,
1: + INTEL_BACKLIGHT_DSI_DCS = 3,
1: + INTEL_BACKLIGHT_PANEL_DRIVER_INTERFACE = 4,
1: + INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE = 5,
1: };
1:
1: struct edp_power_seq {
1: - u16 t1_t3;
1: - u16 t8;
1: - u16 t9;
1: - u16 t10;
1: - u16 t11_t12;
1: + u16 t1_t3;
1: + u16 t8;
1: + u16 t9;
1: + u16 t10;
1: + u16 t11_t12;
1: };
1:
1: enum mipi_seq {
1: - MIPI_SEQ_END = 0,
1: - MIPI_SEQ_DEASSERT_RESET = 1,
1: - MIPI_SEQ_INIT_OTP = 2,
1: - MIPI_SEQ_DISPLAY_ON = 3,
1: - MIPI_SEQ_DISPLAY_OFF = 4,
1: - MIPI_SEQ_ASSERT_RESET = 5,
1: - MIPI_SEQ_BACKLIGHT_ON = 6,
1: - MIPI_SEQ_BACKLIGHT_OFF = 7,
1: - MIPI_SEQ_TEAR_ON = 8,
1: - MIPI_SEQ_TEAR_OFF = 9,
1: - MIPI_SEQ_POWER_ON = 10,
1: - MIPI_SEQ_POWER_OFF = 11,
1: - MIPI_SEQ_MAX = 12,
1: + MIPI_SEQ_END = 0,
1: + MIPI_SEQ_DEASSERT_RESET = 1,
1: + MIPI_SEQ_INIT_OTP = 2,
1: + MIPI_SEQ_DISPLAY_ON = 3,
1: + MIPI_SEQ_DISPLAY_OFF = 4,
1: + MIPI_SEQ_ASSERT_RESET = 5,
1: + MIPI_SEQ_BACKLIGHT_ON = 6,
1: + MIPI_SEQ_BACKLIGHT_OFF = 7,
1: + MIPI_SEQ_TEAR_ON = 8,
1: + MIPI_SEQ_TEAR_OFF = 9,
1: + MIPI_SEQ_POWER_ON = 10,
1: + MIPI_SEQ_POWER_OFF = 11,
1: + MIPI_SEQ_MAX = 12,
1: };
1:
1: struct mipi_config {
1: - u16 panel_id;
1: - u32 enable_dithering: 1;
1: - u32 rsvd1: 1;
1: - u32 is_bridge: 1;
1: - u32 panel_arch_type: 2;
1: - u32 is_cmd_mode: 1;
1: - u32 video_transfer_mode: 2;
1: - u32 cabc_supported: 1;
1: - u32 pwm_blc: 1;
1: - u32 videomode_color_format: 4;
1: - u32 rotation: 2;
1: - u32 bta_enabled: 1;
1: - u32 rsvd2: 15;
1: - u16 dual_link: 2;
1: - u16 lane_cnt: 2;
1: - u16 pixel_overlap: 3;
1: - u16 rgb_flip: 1;
1: - u16 dl_dcs_cabc_ports: 2;
1: - u16 dl_dcs_backlight_ports: 2;
1: - u16 rsvd3: 4;
1: - u16 rsvd4;
1: - u8 rsvd5;
1: - u32 target_burst_mode_freq;
1: - u32 dsi_ddr_clk;
1: - u32 bridge_ref_clk;
1: - u8 byte_clk_sel: 2;
1: - u8 rsvd6: 6;
1: - u16 dphy_param_valid: 1;
1: - u16 eot_pkt_disabled: 1;
1: - u16 enable_clk_stop: 1;
1: - u16 rsvd7: 13;
1: - u32 hs_tx_timeout;
1: - u32 lp_rx_timeout;
1: - u32 turn_around_timeout;
1: - u32 device_reset_timer;
1: - u32 master_init_timer;
1: - u32 dbi_bw_timer;
1: - u32 lp_byte_clk_val;
1: - u32 prepare_cnt: 6;
1: - u32 rsvd8: 2;
1: - u32 clk_zero_cnt: 8;
1: - u32 trail_cnt: 5;
1: - u32 rsvd9: 3;
1: - u32 exit_zero_cnt: 6;
1: - u32 rsvd10: 2;
1: - u32 clk_lane_switch_cnt;
1: - u32 hl_switch_cnt;
1: - u32 rsvd11[6];
1: - u8 tclk_miss;
1: - u8 tclk_post;
1: - u8 rsvd12;
1: - u8 tclk_pre;
1: - u8 tclk_prepare;
1: - u8 tclk_settle;
1: - u8 tclk_term_enable;
1: - u8 tclk_trail;
1: - u16 tclk_prepare_clkzero;
1: - u8 rsvd13;
1: - u8 td_term_enable;
1: - u8 teot;
1: - u8 ths_exit;
1: - u8 ths_prepare;
1: - u16 ths_prepare_hszero;
1: - u8 rsvd14;
1: - u8 ths_settle;
1: - u8 ths_skip;
1: - u8 ths_trail;
1: - u8 tinit;
1: - u8 tlpx;
1: - u8 rsvd15[3];
1: - u8 panel_enable;
1: - u8 bl_enable;
1: - u8 pwm_enable;
1: - u8 reset_r_n;
1: - u8 pwr_down_r;
1: - u8 stdby_r_n;
1: + u16 panel_id;
1: + u32 enable_dithering : 1;
1: + u32 rsvd1 : 1;
1: + u32 is_bridge : 1;
1: + u32 panel_arch_type : 2;
1: + u32 is_cmd_mode : 1;
1: + u32 video_transfer_mode : 2;
1: + u32 cabc_supported : 1;
1: + u32 pwm_blc : 1;
1: + u32 videomode_color_format : 4;
1: + u32 rotation : 2;
1: + u32 bta_enabled : 1;
1: + u32 rsvd2 : 15;
1: + u16 dual_link : 2;
1: + u16 lane_cnt : 2;
1: + u16 pixel_overlap : 3;
1: + u16 rgb_flip : 1;
1: + u16 dl_dcs_cabc_ports : 2;
1: + u16 dl_dcs_backlight_ports : 2;
1: + u16 rsvd3 : 4;
1: + u16 rsvd4;
1: + u8 rsvd5;
1: + u32 target_burst_mode_freq;
1: + u32 dsi_ddr_clk;
1: + u32 bridge_ref_clk;
1: + u8 byte_clk_sel : 2;
1: + u8 rsvd6 : 6;
1: + u16 dphy_param_valid : 1;
1: + u16 eot_pkt_disabled : 1;
1: + u16 enable_clk_stop : 1;
1: + u16 rsvd7 : 13;
1: + u32 hs_tx_timeout;
1: + u32 lp_rx_timeout;
1: + u32 turn_around_timeout;
1: + u32 device_reset_timer;
1: + u32 master_init_timer;
1: + u32 dbi_bw_timer;
1: + u32 lp_byte_clk_val;
1: + u32 prepare_cnt : 6;
1: + u32 rsvd8 : 2;
1: + u32 clk_zero_cnt : 8;
1: + u32 trail_cnt : 5;
1: + u32 rsvd9 : 3;
1: + u32 exit_zero_cnt : 6;
1: + u32 rsvd10 : 2;
1: + u32 clk_lane_switch_cnt;
1: + u32 hl_switch_cnt;
1: + u32 rsvd11[6];
1: + u8 tclk_miss;
1: + u8 tclk_post;
1: + u8 rsvd12;
1: + u8 tclk_pre;
1: + u8 tclk_prepare;
1: + u8 tclk_settle;
1: + u8 tclk_term_enable;
1: + u8 tclk_trail;
1: + u16 tclk_prepare_clkzero;
1: + u8 rsvd13;
1: + u8 td_term_enable;
1: + u8 teot;
1: + u8 ths_exit;
1: + u8 ths_prepare;
1: + u16 ths_prepare_hszero;
1: + u8 rsvd14;
1: + u8 ths_settle;
1: + u8 ths_skip;
1: + u8 ths_trail;
1: + u8 tinit;
1: + u8 tlpx;
1: + u8 rsvd15[3];
1: + u8 panel_enable;
1: + u8 bl_enable;
1: + u8 pwm_enable;
1: + u8 reset_r_n;
1: + u8 pwr_down_r;
1: + u8 stdby_r_n;
1: } __attribute__((packed));
1:
1: struct mipi_pps_data {
1: - u16 panel_on_delay;
1: - u16 bl_enable_delay;
1: - u16 bl_disable_delay;
1: - u16 panel_off_delay;
1: - u16 panel_power_cycle_delay;
1: + u16 panel_on_delay;
1: + u16 bl_enable_delay;
1: + u16 bl_disable_delay;
1: + u16 panel_off_delay;
1: + u16 panel_power_cycle_delay;
1: };
1:
1: typedef depot_stack_handle_t intel_wakeref_t;
1: @@ -70415,121 +70984,121 @@ typedef depot_stack_handle_t intel_wakeref_t;
1: struct intel_wakeref;
1:
1: struct intel_wakeref_ops {
1: - int (*get)(struct intel_wakeref *);
1: - int (*put)(struct intel_wakeref *);
1: + int (*get)(struct intel_wakeref *);
1: + int (*put)(struct intel_wakeref *);
1: };
1:
1: struct intel_runtime_pm;
1:
1: struct intel_wakeref {
1: - atomic_t count;
1: - struct mutex mutex;
1: - intel_wakeref_t wakeref;
1: - struct intel_runtime_pm *rpm;
1: - const struct intel_wakeref_ops *ops;
1: - struct work_struct work;
1: + atomic_t count;
1: + struct mutex mutex;
1: + intel_wakeref_t wakeref;
1: + struct intel_runtime_pm *rpm;
1: + const struct intel_wakeref_ops *ops;
1: + struct work_struct work;
1: };
1:
1: struct intel_runtime_pm {
1: - atomic_t wakeref_count;
1: - struct device *kdev;
1: - bool available;
1: - bool suspended;
1: - bool irqs_enabled;
1: + atomic_t wakeref_count;
1: + struct device *kdev;
1: + bool available;
1: + bool suspended;
1: + bool irqs_enabled;
1: };
1:
1: struct intel_wakeref_auto {
1: - struct intel_runtime_pm *rpm;
1: - struct timer_list timer;
1: - intel_wakeref_t wakeref;
1: - spinlock_t lock;
1: - refcount_t count;
1: + struct intel_runtime_pm *rpm;
1: + struct timer_list timer;
1: + intel_wakeref_t wakeref;
1: + spinlock_t lock;
1: + refcount_t count;
1: };
1:
1: enum i915_drm_suspend_mode {
1: - I915_DRM_SUSPEND_IDLE = 0,
1: - I915_DRM_SUSPEND_MEM = 1,
1: - I915_DRM_SUSPEND_HIBERNATE = 2,
1: + I915_DRM_SUSPEND_IDLE = 0,
1: + I915_DRM_SUSPEND_MEM = 1,
1: + I915_DRM_SUSPEND_HIBERNATE = 2,
1: };
1:
1: enum intel_display_power_domain {
1: - POWER_DOMAIN_DISPLAY_CORE = 0,
1: - POWER_DOMAIN_PIPE_A = 1,
1: - POWER_DOMAIN_PIPE_B = 2,
1: - POWER_DOMAIN_PIPE_C = 3,
1: - POWER_DOMAIN_PIPE_D = 4,
1: - POWER_DOMAIN_PIPE_A_PANEL_FITTER = 5,
1: - POWER_DOMAIN_PIPE_B_PANEL_FITTER = 6,
1: - POWER_DOMAIN_PIPE_C_PANEL_FITTER = 7,
1: - POWER_DOMAIN_PIPE_D_PANEL_FITTER = 8,
1: - POWER_DOMAIN_TRANSCODER_A = 9,
1: - POWER_DOMAIN_TRANSCODER_B = 10,
1: - POWER_DOMAIN_TRANSCODER_C = 11,
1: - POWER_DOMAIN_TRANSCODER_D = 12,
1: - POWER_DOMAIN_TRANSCODER_EDP = 13,
1: - POWER_DOMAIN_TRANSCODER_VDSC_PW2 = 14,
1: - POWER_DOMAIN_TRANSCODER_DSI_A = 15,
1: - POWER_DOMAIN_TRANSCODER_DSI_C = 16,
1: - POWER_DOMAIN_PORT_DDI_A_LANES = 17,
1: - POWER_DOMAIN_PORT_DDI_B_LANES = 18,
1: - POWER_DOMAIN_PORT_DDI_C_LANES = 19,
1: - POWER_DOMAIN_PORT_DDI_D_LANES = 20,
1: - POWER_DOMAIN_PORT_DDI_E_LANES = 21,
1: - POWER_DOMAIN_PORT_DDI_F_LANES = 22,
1: - POWER_DOMAIN_PORT_DDI_G_LANES = 23,
1: - POWER_DOMAIN_PORT_DDI_H_LANES = 24,
1: - POWER_DOMAIN_PORT_DDI_I_LANES = 25,
1: - POWER_DOMAIN_PORT_DDI_A_IO = 26,
1: - POWER_DOMAIN_PORT_DDI_B_IO = 27,
1: - POWER_DOMAIN_PORT_DDI_C_IO = 28,
1: - POWER_DOMAIN_PORT_DDI_D_IO = 29,
1: - POWER_DOMAIN_PORT_DDI_E_IO = 30,
1: - POWER_DOMAIN_PORT_DDI_F_IO = 31,
1: - POWER_DOMAIN_PORT_DDI_G_IO = 32,
1: - POWER_DOMAIN_PORT_DDI_H_IO = 33,
1: - POWER_DOMAIN_PORT_DDI_I_IO = 34,
1: - POWER_DOMAIN_PORT_DSI = 35,
1: - POWER_DOMAIN_PORT_CRT = 36,
1: - POWER_DOMAIN_PORT_OTHER = 37,
1: - POWER_DOMAIN_VGA = 38,
1: - POWER_DOMAIN_AUDIO = 39,
1: - POWER_DOMAIN_AUX_A = 40,
1: - POWER_DOMAIN_AUX_B = 41,
1: - POWER_DOMAIN_AUX_C = 42,
1: - POWER_DOMAIN_AUX_D = 43,
1: - POWER_DOMAIN_AUX_E = 44,
1: - POWER_DOMAIN_AUX_F = 45,
1: - POWER_DOMAIN_AUX_G = 46,
1: - POWER_DOMAIN_AUX_H = 47,
1: - POWER_DOMAIN_AUX_I = 48,
1: - POWER_DOMAIN_AUX_IO_A = 49,
1: - POWER_DOMAIN_AUX_C_TBT = 50,
1: - POWER_DOMAIN_AUX_D_TBT = 51,
1: - POWER_DOMAIN_AUX_E_TBT = 52,
1: - POWER_DOMAIN_AUX_F_TBT = 53,
1: - POWER_DOMAIN_AUX_G_TBT = 54,
1: - POWER_DOMAIN_AUX_H_TBT = 55,
1: - POWER_DOMAIN_AUX_I_TBT = 56,
1: - POWER_DOMAIN_GMBUS = 57,
1: - POWER_DOMAIN_MODESET = 58,
1: - POWER_DOMAIN_GT_IRQ = 59,
1: - POWER_DOMAIN_DPLL_DC_OFF = 60,
1: - POWER_DOMAIN_INIT = 61,
1: - POWER_DOMAIN_NUM = 62,
1: + POWER_DOMAIN_DISPLAY_CORE = 0,
1: + POWER_DOMAIN_PIPE_A = 1,
1: + POWER_DOMAIN_PIPE_B = 2,
1: + POWER_DOMAIN_PIPE_C = 3,
1: + POWER_DOMAIN_PIPE_D = 4,
1: + POWER_DOMAIN_PIPE_A_PANEL_FITTER = 5,
1: + POWER_DOMAIN_PIPE_B_PANEL_FITTER = 6,
1: + POWER_DOMAIN_PIPE_C_PANEL_FITTER = 7,
1: + POWER_DOMAIN_PIPE_D_PANEL_FITTER = 8,
1: + POWER_DOMAIN_TRANSCODER_A = 9,
1: + POWER_DOMAIN_TRANSCODER_B = 10,
1: + POWER_DOMAIN_TRANSCODER_C = 11,
1: + POWER_DOMAIN_TRANSCODER_D = 12,
1: + POWER_DOMAIN_TRANSCODER_EDP = 13,
1: + POWER_DOMAIN_TRANSCODER_VDSC_PW2 = 14,
1: + POWER_DOMAIN_TRANSCODER_DSI_A = 15,
1: + POWER_DOMAIN_TRANSCODER_DSI_C = 16,
1: + POWER_DOMAIN_PORT_DDI_A_LANES = 17,
1: + POWER_DOMAIN_PORT_DDI_B_LANES = 18,
1: + POWER_DOMAIN_PORT_DDI_C_LANES = 19,
1: + POWER_DOMAIN_PORT_DDI_D_LANES = 20,
1: + POWER_DOMAIN_PORT_DDI_E_LANES = 21,
1: + POWER_DOMAIN_PORT_DDI_F_LANES = 22,
1: + POWER_DOMAIN_PORT_DDI_G_LANES = 23,
1: + POWER_DOMAIN_PORT_DDI_H_LANES = 24,
1: + POWER_DOMAIN_PORT_DDI_I_LANES = 25,
1: + POWER_DOMAIN_PORT_DDI_A_IO = 26,
1: + POWER_DOMAIN_PORT_DDI_B_IO = 27,
1: + POWER_DOMAIN_PORT_DDI_C_IO = 28,
1: + POWER_DOMAIN_PORT_DDI_D_IO = 29,
1: + POWER_DOMAIN_PORT_DDI_E_IO = 30,
1: + POWER_DOMAIN_PORT_DDI_F_IO = 31,
1: + POWER_DOMAIN_PORT_DDI_G_IO = 32,
1: + POWER_DOMAIN_PORT_DDI_H_IO = 33,
1: + POWER_DOMAIN_PORT_DDI_I_IO = 34,
1: + POWER_DOMAIN_PORT_DSI = 35,
1: + POWER_DOMAIN_PORT_CRT = 36,
1: + POWER_DOMAIN_PORT_OTHER = 37,
1: + POWER_DOMAIN_VGA = 38,
1: + POWER_DOMAIN_AUDIO = 39,
1: + POWER_DOMAIN_AUX_A = 40,
1: + POWER_DOMAIN_AUX_B = 41,
1: + POWER_DOMAIN_AUX_C = 42,
1: + POWER_DOMAIN_AUX_D = 43,
1: + POWER_DOMAIN_AUX_E = 44,
1: + POWER_DOMAIN_AUX_F = 45,
1: + POWER_DOMAIN_AUX_G = 46,
1: + POWER_DOMAIN_AUX_H = 47,
1: + POWER_DOMAIN_AUX_I = 48,
1: + POWER_DOMAIN_AUX_IO_A = 49,
1: + POWER_DOMAIN_AUX_C_TBT = 50,
1: + POWER_DOMAIN_AUX_D_TBT = 51,
1: + POWER_DOMAIN_AUX_E_TBT = 52,
1: + POWER_DOMAIN_AUX_F_TBT = 53,
1: + POWER_DOMAIN_AUX_G_TBT = 54,
1: + POWER_DOMAIN_AUX_H_TBT = 55,
1: + POWER_DOMAIN_AUX_I_TBT = 56,
1: + POWER_DOMAIN_GMBUS = 57,
1: + POWER_DOMAIN_MODESET = 58,
1: + POWER_DOMAIN_GT_IRQ = 59,
1: + POWER_DOMAIN_DPLL_DC_OFF = 60,
1: + POWER_DOMAIN_INIT = 61,
1: + POWER_DOMAIN_NUM = 62,
1: };
1:
1: enum i915_power_well_id {
1: - DISP_PW_ID_NONE = 0,
1: - VLV_DISP_PW_DISP2D = 1,
1: - BXT_DISP_PW_DPIO_CMN_A = 2,
1: - VLV_DISP_PW_DPIO_CMN_BC = 3,
1: - GLK_DISP_PW_DPIO_CMN_C = 4,
1: - CHV_DISP_PW_DPIO_CMN_D = 5,
1: - HSW_DISP_PW_GLOBAL = 6,
1: - SKL_DISP_PW_MISC_IO = 7,
1: - SKL_DISP_PW_1 = 8,
1: - SKL_DISP_PW_2 = 9,
1: - SKL_DISP_DC_OFF = 10,
1: + DISP_PW_ID_NONE = 0,
1: + VLV_DISP_PW_DISP2D = 1,
1: + BXT_DISP_PW_DPIO_CMN_A = 2,
1: + VLV_DISP_PW_DPIO_CMN_BC = 3,
1: + GLK_DISP_PW_DPIO_CMN_C = 4,
1: + CHV_DISP_PW_DPIO_CMN_D = 5,
1: + HSW_DISP_PW_GLOBAL = 6,
1: + SKL_DISP_PW_MISC_IO = 7,
1: + SKL_DISP_PW_1 = 8,
1: + SKL_DISP_PW_2 = 9,
1: + SKL_DISP_DC_OFF = 10,
1: };
1:
1: struct drm_i915_private;
1: @@ -70537,184 +71106,184 @@ struct drm_i915_private;
1: struct i915_power_well;
1:
1: struct i915_power_well_ops {
1: - void (*sync_hw)(struct drm_i915_private *, struct i915_power_well *);
1: - void (*enable)(struct drm_i915_private *, struct i915_power_well *);
1: - void (*disable)(struct drm_i915_private *, struct i915_power_well *);
1: - bool (*is_enabled)(struct drm_i915_private *, struct i915_power_well *);
1: + void (*sync_hw)(struct drm_i915_private *, struct i915_power_well *);
1: + void (*enable)(struct drm_i915_private *, struct i915_power_well *);
1: + void (*disable)(struct drm_i915_private *, struct i915_power_well *);
1: + bool (*is_enabled)(struct drm_i915_private *, struct i915_power_well *);
1: };
1:
1: typedef u8 intel_engine_mask_t;
1:
1: enum intel_platform {
1: - INTEL_PLATFORM_UNINITIALIZED = 0,
1: - INTEL_I830 = 1,
1: - INTEL_I845G = 2,
1: - INTEL_I85X = 3,
1: - INTEL_I865G = 4,
1: - INTEL_I915G = 5,
1: - INTEL_I915GM = 6,
1: - INTEL_I945G = 7,
1: - INTEL_I945GM = 8,
1: - INTEL_G33 = 9,
1: - INTEL_PINEVIEW = 10,
1: - INTEL_I965G = 11,
1: - INTEL_I965GM = 12,
1: - INTEL_G45 = 13,
1: - INTEL_GM45 = 14,
1: - INTEL_IRONLAKE = 15,
1: - INTEL_SANDYBRIDGE = 16,
1: - INTEL_IVYBRIDGE = 17,
1: - INTEL_VALLEYVIEW = 18,
1: - INTEL_HASWELL = 19,
1: - INTEL_BROADWELL = 20,
1: - INTEL_CHERRYVIEW = 21,
1: - INTEL_SKYLAKE = 22,
1: - INTEL_BROXTON = 23,
1: - INTEL_KABYLAKE = 24,
1: - INTEL_GEMINILAKE = 25,
1: - INTEL_COFFEELAKE = 26,
1: - INTEL_CANNONLAKE = 27,
1: - INTEL_ICELAKE = 28,
1: - INTEL_ELKHARTLAKE = 29,
1: - INTEL_TIGERLAKE = 30,
1: - INTEL_MAX_PLATFORMS = 31,
1: + INTEL_PLATFORM_UNINITIALIZED = 0,
1: + INTEL_I830 = 1,
1: + INTEL_I845G = 2,
1: + INTEL_I85X = 3,
1: + INTEL_I865G = 4,
1: + INTEL_I915G = 5,
1: + INTEL_I915GM = 6,
1: + INTEL_I945G = 7,
1: + INTEL_I945GM = 8,
1: + INTEL_G33 = 9,
1: + INTEL_PINEVIEW = 10,
1: + INTEL_I965G = 11,
1: + INTEL_I965GM = 12,
1: + INTEL_G45 = 13,
1: + INTEL_GM45 = 14,
1: + INTEL_IRONLAKE = 15,
1: + INTEL_SANDYBRIDGE = 16,
1: + INTEL_IVYBRIDGE = 17,
1: + INTEL_VALLEYVIEW = 18,
1: + INTEL_HASWELL = 19,
1: + INTEL_BROADWELL = 20,
1: + INTEL_CHERRYVIEW = 21,
1: + INTEL_SKYLAKE = 22,
1: + INTEL_BROXTON = 23,
1: + INTEL_KABYLAKE = 24,
1: + INTEL_GEMINILAKE = 25,
1: + INTEL_COFFEELAKE = 26,
1: + INTEL_CANNONLAKE = 27,
1: + INTEL_ICELAKE = 28,
1: + INTEL_ELKHARTLAKE = 29,
1: + INTEL_TIGERLAKE = 30,
1: + INTEL_MAX_PLATFORMS = 31,
1: };
1:
1: enum intel_ppgtt_type {
1: - INTEL_PPGTT_NONE = 0,
1: - INTEL_PPGTT_ALIASING = 1,
1: - INTEL_PPGTT_FULL = 2,
1: + INTEL_PPGTT_NONE = 0,
1: + INTEL_PPGTT_ALIASING = 1,
1: + INTEL_PPGTT_FULL = 2,
1: };
1:
1: struct color_luts {
1: - u32 degamma_lut_size;
1: - u32 gamma_lut_size;
1: - u32 degamma_lut_tests;
1: - u32 gamma_lut_tests;
1: + u32 degamma_lut_size;
1: + u32 gamma_lut_size;
1: + u32 degamma_lut_tests;
1: + u32 gamma_lut_tests;
1: };
1:
1: struct intel_device_info {
1: - u16 gen_mask;
1: - u8 gen;
1: - u8 gt;
1: - intel_engine_mask_t engine_mask;
1: - enum intel_platform platform;
1: - enum intel_ppgtt_type ppgtt_type;
1: - unsigned int ppgtt_size;
1: - unsigned int page_sizes;
1: - u32 memory_regions;
1: - u32 display_mmio_offset;
1: - u8 pipe_mask;
1: - u8 is_mobile: 1;
1: - u8 is_lp: 1;
1: - u8 require_force_probe: 1;
1: - u8 is_dgfx: 1;
1: - u8 has_64bit_reloc: 1;
1: - u8 gpu_reset_clobbers_display: 1;
1: - u8 has_reset_engine: 1;
1: - u8 has_fpga_dbg: 1;
1: - u8 has_global_mocs: 1;
1: - u8 has_gt_uc: 1;
1: - u8 has_l3_dpf: 1;
1: - u8 has_llc: 1;
1: - u8 has_logical_ring_contexts: 1;
1: - u8 has_logical_ring_elsq: 1;
1: - u8 has_logical_ring_preemption: 1;
1: - u8 has_pooled_eu: 1;
1: - u8 has_rc6: 1;
1: - u8 has_rc6p: 1;
1: - u8 has_rps: 1;
1: - u8 has_runtime_pm: 1;
1: - u8 has_snoop: 1;
1: - u8 has_coherent_ggtt: 1;
1: - u8 unfenced_needs_alignment: 1;
1: - u8 hws_needs_physical: 1;
1: - struct {
1: - u8 cursor_needs_physical: 1;
1: - u8 has_csr: 1;
1: - u8 has_ddi: 1;
1: - u8 has_dp_mst: 1;
1: - u8 has_dsb: 1;
1: - u8 has_dsc: 1;
1: - u8 has_fbc: 1;
1: - u8 has_gmch: 1;
1: - u8 has_hdcp: 1;
1: - u8 has_hotplug: 1;
1: - u8 has_ipc: 1;
1: - u8 has_modular_fia: 1;
1: - u8 has_overlay: 1;
1: - u8 has_psr: 1;
1: - u8 overlay_needs_physical: 1;
1: - u8 supports_tv: 1;
1: - } display;
1: - u16 ddb_size;
1: - int pipe_offsets[7];
1: - int trans_offsets[7];
1: - int cursor_offsets[4];
1: - struct color_luts color;
1: + u16 gen_mask;
1: + u8 gen;
1: + u8 gt;
1: + intel_engine_mask_t engine_mask;
1: + enum intel_platform platform;
1: + enum intel_ppgtt_type ppgtt_type;
1: + unsigned int ppgtt_size;
1: + unsigned int page_sizes;
1: + u32 memory_regions;
1: + u32 display_mmio_offset;
1: + u8 pipe_mask;
1: + u8 is_mobile : 1;
1: + u8 is_lp : 1;
1: + u8 require_force_probe : 1;
1: + u8 is_dgfx : 1;
1: + u8 has_64bit_reloc : 1;
1: + u8 gpu_reset_clobbers_display : 1;
1: + u8 has_reset_engine : 1;
1: + u8 has_fpga_dbg : 1;
1: + u8 has_global_mocs : 1;
1: + u8 has_gt_uc : 1;
1: + u8 has_l3_dpf : 1;
1: + u8 has_llc : 1;
1: + u8 has_logical_ring_contexts : 1;
1: + u8 has_logical_ring_elsq : 1;
1: + u8 has_logical_ring_preemption : 1;
1: + u8 has_pooled_eu : 1;
1: + u8 has_rc6 : 1;
1: + u8 has_rc6p : 1;
1: + u8 has_rps : 1;
1: + u8 has_runtime_pm : 1;
1: + u8 has_snoop : 1;
1: + u8 has_coherent_ggtt : 1;
1: + u8 unfenced_needs_alignment : 1;
1: + u8 hws_needs_physical : 1;
1: + struct {
1: + u8 cursor_needs_physical : 1;
1: + u8 has_csr : 1;
1: + u8 has_ddi : 1;
1: + u8 has_dp_mst : 1;
1: + u8 has_dsb : 1;
1: + u8 has_dsc : 1;
1: + u8 has_fbc : 1;
1: + u8 has_gmch : 1;
1: + u8 has_hdcp : 1;
1: + u8 has_hotplug : 1;
1: + u8 has_ipc : 1;
1: + u8 has_modular_fia : 1;
1: + u8 has_overlay : 1;
1: + u8 has_psr : 1;
1: + u8 overlay_needs_physical : 1;
1: + u8 supports_tv : 1;
1: + } display;
1: + u16 ddb_size;
1: + int pipe_offsets[7];
1: + int trans_offsets[7];
1: + int cursor_offsets[4];
1: + struct color_luts color;
1: };
1:
1: struct sseu_dev_info {
1: - u8 slice_mask;
1: - u8 subslice_mask[6];
1: - u8 eu_mask[96];
1: - u16 eu_total;
1: - u8 eu_per_subslice;
1: - u8 min_eu_in_pool;
1: - u8 subslice_7eu[3];
1: - u8 has_slice_pg: 1;
1: - u8 has_subslice_pg: 1;
1: - u8 has_eu_pg: 1;
1: - u8 max_slices;
1: - u8 max_subslices;
1: - u8 max_eus_per_subslice;
1: - u8 ss_stride;
1: - u8 eu_stride;
1: + u8 slice_mask;
1: + u8 subslice_mask[6];
1: + u8 eu_mask[96];
1: + u16 eu_total;
1: + u8 eu_per_subslice;
1: + u8 min_eu_in_pool;
1: + u8 subslice_7eu[3];
1: + u8 has_slice_pg : 1;
1: + u8 has_subslice_pg : 1;
1: + u8 has_eu_pg : 1;
1: + u8 max_slices;
1: + u8 max_subslices;
1: + u8 max_eus_per_subslice;
1: + u8 ss_stride;
1: + u8 eu_stride;
1: };
1:
1: struct intel_runtime_info {
1: - u32 platform_mask[2];
1: - u16 device_id;
1: - u8 num_sprites[4];
1: - u8 num_scalers[4];
1: - u8 num_engines;
1: - struct sseu_dev_info sseu;
1: - u32 cs_timestamp_frequency_khz;
1: - u8 vdbox_sfc_access;
1: + u32 platform_mask[2];
1: + u16 device_id;
1: + u8 num_sprites[4];
1: + u8 num_scalers[4];
1: + u8 num_engines;
1: + struct sseu_dev_info sseu;
1: + u32 cs_timestamp_frequency_khz;
1: + u8 vdbox_sfc_access;
1: };
1:
1: struct intel_driver_caps {
1: - unsigned int scheduler;
1: - bool has_logical_contexts: 1;
1: + unsigned int scheduler;
1: + bool has_logical_contexts : 1;
1: };
1:
1: enum forcewake_domains {
1: - FORCEWAKE_RENDER = 1,
1: - FORCEWAKE_BLITTER = 2,
1: - FORCEWAKE_MEDIA = 4,
1: - FORCEWAKE_MEDIA_VDBOX0 = 8,
1: - FORCEWAKE_MEDIA_VDBOX1 = 16,
1: - FORCEWAKE_MEDIA_VDBOX2 = 32,
1: - FORCEWAKE_MEDIA_VDBOX3 = 64,
1: - FORCEWAKE_MEDIA_VEBOX0 = 128,
1: - FORCEWAKE_MEDIA_VEBOX1 = 256,
1: - FORCEWAKE_ALL = 511,
1: + FORCEWAKE_RENDER = 1,
1: + FORCEWAKE_BLITTER = 2,
1: + FORCEWAKE_MEDIA = 4,
1: + FORCEWAKE_MEDIA_VDBOX0 = 8,
1: + FORCEWAKE_MEDIA_VDBOX1 = 16,
1: + FORCEWAKE_MEDIA_VDBOX2 = 32,
1: + FORCEWAKE_MEDIA_VDBOX3 = 64,
1: + FORCEWAKE_MEDIA_VEBOX0 = 128,
1: + FORCEWAKE_MEDIA_VEBOX1 = 256,
1: + FORCEWAKE_ALL = 511,
1: };
1:
1: struct intel_uncore;
1:
1: struct intel_uncore_funcs {
1: - void (*force_wake_get)(struct intel_uncore *, enum forcewake_domains);
1: - void (*force_wake_put)(struct intel_uncore *, enum forcewake_domains);
1: - enum forcewake_domains (*read_fw_domains)(struct intel_uncore *, i915_reg_t);
1: - enum forcewake_domains (*write_fw_domains)(struct intel_uncore *, i915_reg_t);
1: - u8 (*mmio_readb)(struct intel_uncore *, i915_reg_t, bool);
1: - u16 (*mmio_readw)(struct intel_uncore *, i915_reg_t, bool);
1: - u32 (*mmio_readl)(struct intel_uncore *, i915_reg_t, bool);
1: - u64 (*mmio_readq)(struct intel_uncore *, i915_reg_t, bool);
1: - void (*mmio_writeb)(struct intel_uncore *, i915_reg_t, u8, bool);
1: - void (*mmio_writew)(struct intel_uncore *, i915_reg_t, u16, bool);
1: - void (*mmio_writel)(struct intel_uncore *, i915_reg_t, u32, bool);
1: + void (*force_wake_get)(struct intel_uncore *, enum forcewake_domains);
1: + void (*force_wake_put)(struct intel_uncore *, enum forcewake_domains);
1: + enum forcewake_domains (*read_fw_domains)(struct intel_uncore *, i915_reg_t);
1: + enum forcewake_domains (*write_fw_domains)(struct intel_uncore *, i915_reg_t);
1: + u8 (*mmio_readb)(struct intel_uncore *, i915_reg_t, bool);
1: + u16 (*mmio_readw)(struct intel_uncore *, i915_reg_t, bool);
1: + u32 (*mmio_readl)(struct intel_uncore *, i915_reg_t, bool);
1: + u64 (*mmio_readq)(struct intel_uncore *, i915_reg_t, bool);
1: + void (*mmio_writeb)(struct intel_uncore *, i915_reg_t, u8, bool);
1: + void (*mmio_writew)(struct intel_uncore *, i915_reg_t, u16, bool);
1: + void (*mmio_writel)(struct intel_uncore *, i915_reg_t, u32, bool);
1: };
1:
1: struct intel_forcewake_range;
1: @@ -70724,182 +71293,182 @@ struct intel_uncore_forcewake_domain;
1: struct intel_uncore_mmio_debug;
1:
1: struct intel_uncore {
1: - void *regs;
1: - struct drm_i915_private *i915;
1: - struct intel_runtime_pm *rpm;
1: - spinlock_t lock;
1: - unsigned int flags;
1: - const struct intel_forcewake_range *fw_domains_table;
1: - unsigned int fw_domains_table_entries;
1: - struct notifier_block pmic_bus_access_nb;
1: - struct intel_uncore_funcs funcs;
1: - unsigned int fifo_count;
1: - enum forcewake_domains fw_domains;
1: - enum forcewake_domains fw_domains_active;
1: - enum forcewake_domains fw_domains_timer;
1: - enum forcewake_domains fw_domains_saved;
1: - struct intel_uncore_forcewake_domain *fw_domain[9];
1: - unsigned int user_forcewake_count;
1: - struct intel_uncore_mmio_debug *debug;
1: + void *regs;
1: + struct drm_i915_private *i915;
1: + struct intel_runtime_pm *rpm;
1: + spinlock_t lock;
1: + unsigned int flags;
1: + const struct intel_forcewake_range *fw_domains_table;
1: + unsigned int fw_domains_table_entries;
1: + struct notifier_block pmic_bus_access_nb;
1: + struct intel_uncore_funcs funcs;
1: + unsigned int fifo_count;
1: + enum forcewake_domains fw_domains;
1: + enum forcewake_domains fw_domains_active;
1: + enum forcewake_domains fw_domains_timer;
1: + enum forcewake_domains fw_domains_saved;
1: + struct intel_uncore_forcewake_domain *fw_domain[9];
1: + unsigned int user_forcewake_count;
1: + struct intel_uncore_mmio_debug *debug;
1: };
1:
1: struct intel_uncore_mmio_debug {
1: - spinlock_t lock;
1: - int unclaimed_mmio_check;
1: - int saved_mmio_check;
1: - u32 suspend_count;
1: + spinlock_t lock;
1: + int unclaimed_mmio_check;
1: + int saved_mmio_check;
1: + u32 suspend_count;
1: };
1:
1: struct i915_virtual_gpu {
1: - struct mutex lock;
1: - bool active;
1: - u32 caps;
1: + struct mutex lock;
1: + bool active;
1: + u32 caps;
1: };
1:
1: struct intel_gvt;
1:
1: struct intel_wopcm {
1: - u32 size;
1: - struct {
1: - u32 base;
1: - u32 size;
1: - } guc;
1: + u32 size;
1: + struct {
1: + u32 base;
1: + u32 size;
1: + } guc;
1: };
1:
1: struct intel_csr {
1: - struct work_struct work;
1: - const char *fw_path;
1: - u32 required_version;
1: - u32 max_fw_size;
1: - u32 *dmc_payload;
1: - u32 dmc_fw_size;
1: - u32 version;
1: - u32 mmio_count;
1: - i915_reg_t mmioaddr[20];
1: - u32 mmiodata[20];
1: - u32 dc_state;
1: - u32 target_dc_state;
1: - u32 allowed_dc_mask;
1: - intel_wakeref_t wakeref;
1: + struct work_struct work;
1: + const char *fw_path;
1: + u32 required_version;
1: + u32 max_fw_size;
1: + u32 *dmc_payload;
1: + u32 dmc_fw_size;
1: + u32 version;
1: + u32 mmio_count;
1: + i915_reg_t mmioaddr[20];
1: + u32 mmiodata[20];
1: + u32 dc_state;
1: + u32 target_dc_state;
1: + u32 allowed_dc_mask;
1: + intel_wakeref_t wakeref;
1: };
1:
1: struct intel_gmbus {
1: - struct i2c_adapter adapter;
1: - u32 force_bit;
1: - u32 reg0;
1: - i915_reg_t gpio_reg;
1: - struct i2c_algo_bit_data bit_algo;
1: - struct drm_i915_private *dev_priv;
1: + struct i2c_adapter adapter;
1: + u32 force_bit;
1: + u32 reg0;
1: + i915_reg_t gpio_reg;
1: + struct i2c_algo_bit_data bit_algo;
1: + struct drm_i915_private *dev_priv;
1: };
1:
1: struct i915_hotplug {
1: - struct delayed_work hotplug_work;
1: - struct {
1: - long unsigned int last_jiffies;
1: - int count;
1: - enum {
1: - HPD_ENABLED = 0,
1: - HPD_DISABLED = 1,
1: - HPD_MARK_DISABLED = 2,
1: - } state;
1: - } stats[13];
1: - u32 event_bits;
1: - u32 retry_bits;
1: - struct delayed_work reenable_work;
1: - u32 long_port_mask;
1: - u32 short_port_mask;
1: - struct work_struct dig_port_work;
1: - struct work_struct poll_init_work;
1: - bool poll_enabled;
1: - unsigned int hpd_storm_threshold;
1: - u8 hpd_short_storm_enabled;
1: - struct workqueue_struct *dp_wq;
1: + struct delayed_work hotplug_work;
1: + struct {
1: + long unsigned int last_jiffies;
1: + int count;
1: + enum {
1: + HPD_ENABLED = 0,
1: + HPD_DISABLED = 1,
1: + HPD_MARK_DISABLED = 2,
1: + } state;
1: + } stats[13];
1: + u32 event_bits;
1: + u32 retry_bits;
1: + struct delayed_work reenable_work;
1: + u32 long_port_mask;
1: + u32 short_port_mask;
1: + struct work_struct dig_port_work;
1: + struct work_struct poll_init_work;
1: + bool poll_enabled;
1: + unsigned int hpd_storm_threshold;
1: + u8 hpd_short_storm_enabled;
1: + struct workqueue_struct *dp_wq;
1: };
1:
1: struct i915_vma;
1:
1: struct intel_fbc_state_cache {
1: - struct i915_vma *vma;
1: - long unsigned int flags;
1: - struct {
1: - unsigned int mode_flags;
1: - u32 hsw_bdw_pixel_rate;
1: - } crtc;
1: - struct {
1: - unsigned int rotation;
1: - int src_w;
1: - int src_h;
1: - bool visible;
1: - int adjusted_x;
1: - int adjusted_y;
1: - int y;
1: - u16 pixel_blend_mode;
1: - } plane;
1: - struct {
1: - const struct drm_format_info *format;
1: - unsigned int stride;
1: - } fb;
1: + struct i915_vma *vma;
1: + long unsigned int flags;
1: + struct {
1: + unsigned int mode_flags;
1: + u32 hsw_bdw_pixel_rate;
1: + } crtc;
1: + struct {
1: + unsigned int rotation;
1: + int src_w;
1: + int src_h;
1: + bool visible;
1: + int adjusted_x;
1: + int adjusted_y;
1: + int y;
1: + u16 pixel_blend_mode;
1: + } plane;
1: + struct {
1: + const struct drm_format_info *format;
1: + unsigned int stride;
1: + } fb;
1: };
1:
1: struct intel_fbc_reg_params {
1: - struct i915_vma *vma;
1: - long unsigned int flags;
1: - struct {
1: - enum pipe pipe;
1: - enum i9xx_plane_id i9xx_plane;
1: - unsigned int fence_y_offset;
1: - } crtc;
1: - struct {
1: - const struct drm_format_info *format;
1: - unsigned int stride;
1: - } fb;
1: - int cfb_size;
1: - unsigned int gen9_wa_cfb_stride;
1: + struct i915_vma *vma;
1: + long unsigned int flags;
1: + struct {
1: + enum pipe pipe;
1: + enum i9xx_plane_id i9xx_plane;
1: + unsigned int fence_y_offset;
1: + } crtc;
1: + struct {
1: + const struct drm_format_info *format;
1: + unsigned int stride;
1: + } fb;
1: + int cfb_size;
1: + unsigned int gen9_wa_cfb_stride;
1: };
1:
1: struct intel_crtc;
1:
1: struct intel_fbc {
1: - struct mutex lock;
1: - unsigned int threshold;
1: - unsigned int possible_framebuffer_bits;
1: - unsigned int busy_bits;
1: - unsigned int visible_pipes_mask;
1: - struct intel_crtc *crtc;
1: - struct drm_mm_node compressed_fb;
1: - struct drm_mm_node *compressed_llb;
1: - bool false_color;
1: - bool enabled;
1: - bool active;
1: - bool flip_pending;
1: - bool underrun_detected;
1: - struct work_struct underrun_work;
1: - struct intel_fbc_state_cache state_cache;
1: - struct intel_fbc_reg_params params;
1: - const char *no_fbc_reason;
1: + struct mutex lock;
1: + unsigned int threshold;
1: + unsigned int possible_framebuffer_bits;
1: + unsigned int busy_bits;
1: + unsigned int visible_pipes_mask;
1: + struct intel_crtc *crtc;
1: + struct drm_mm_node compressed_fb;
1: + struct drm_mm_node *compressed_llb;
1: + bool false_color;
1: + bool enabled;
1: + bool active;
1: + bool flip_pending;
1: + bool underrun_detected;
1: + struct work_struct underrun_work;
1: + struct intel_fbc_state_cache state_cache;
1: + struct intel_fbc_reg_params params;
1: + const char *no_fbc_reason;
1: };
1:
1: enum drrs_refresh_rate_type {
1: - DRRS_HIGH_RR = 0,
1: - DRRS_LOW_RR = 1,
1: - DRRS_MAX_RR = 2,
1: + DRRS_HIGH_RR = 0,
1: + DRRS_LOW_RR = 1,
1: + DRRS_MAX_RR = 2,
1: };
1:
1: enum drrs_support_type {
1: - DRRS_NOT_SUPPORTED = 0,
1: - STATIC_DRRS_SUPPORT = 1,
1: - SEAMLESS_DRRS_SUPPORT = 2,
1: + DRRS_NOT_SUPPORTED = 0,
1: + STATIC_DRRS_SUPPORT = 1,
1: + SEAMLESS_DRRS_SUPPORT = 2,
1: };
1:
1: struct intel_dp;
1:
1: struct i915_drrs {
1: - struct mutex mutex;
1: - struct delayed_work work;
1: - struct intel_dp *dp;
1: - unsigned int busy_frontbuffer_bits;
1: - enum drrs_refresh_rate_type refresh_rate_type;
1: - enum drrs_support_type type;
1: + struct mutex mutex;
1: + struct delayed_work work;
1: + struct intel_dp *dp;
1: + unsigned int busy_frontbuffer_bits;
1: + enum drrs_refresh_rate_type refresh_rate_type;
1: + enum drrs_support_type type;
1: };
1:
1: struct opregion_header;
1: @@ -70911,125 +71480,125 @@ struct opregion_swsci;
1: struct opregion_asle;
1:
1: struct intel_opregion {
1: - struct opregion_header *header;
1: - struct opregion_acpi *acpi;
1: - struct opregion_swsci *swsci;
1: - u32 swsci_gbda_sub_functions;
1: - u32 swsci_sbcb_sub_functions;
1: - struct opregion_asle *asle;
1: - void *rvda;
1: - void *vbt_firmware;
1: - const void *vbt;
1: - u32 vbt_size;
1: - u32 *lid_state;
1: - struct work_struct asle_work;
1: - struct notifier_block acpi_notifier;
1: + struct opregion_header *header;
1: + struct opregion_acpi *acpi;
1: + struct opregion_swsci *swsci;
1: + u32 swsci_gbda_sub_functions;
1: + u32 swsci_sbcb_sub_functions;
1: + struct opregion_asle *asle;
1: + void *rvda;
1: + void *vbt_firmware;
1: + const void *vbt;
1: + u32 vbt_size;
1: + u32 *lid_state;
1: + struct work_struct asle_work;
1: + struct notifier_block acpi_notifier;
1: };
1:
1: enum psr_lines_to_wait {
1: - PSR_0_LINES_TO_WAIT = 0,
1: - PSR_1_LINE_TO_WAIT = 1,
1: - PSR_4_LINES_TO_WAIT = 2,
1: - PSR_8_LINES_TO_WAIT = 3,
1: + PSR_0_LINES_TO_WAIT = 0,
1: + PSR_1_LINE_TO_WAIT = 1,
1: + PSR_4_LINES_TO_WAIT = 2,
1: + PSR_8_LINES_TO_WAIT = 3,
1: };
1:
1: struct child_device_config;
1:
1: struct ddi_vbt_port_info {
1: - const struct child_device_config *child;
1: - int max_tmds_clock;
1: - u8 hdmi_level_shift;
1: - u8 supports_dvi: 1;
1: - u8 supports_hdmi: 1;
1: - u8 supports_dp: 1;
1: - u8 supports_edp: 1;
1: - u8 supports_typec_usb: 1;
1: - u8 supports_tbt: 1;
1: - u8 alternate_aux_channel;
1: - u8 alternate_ddc_pin;
1: - u8 dp_boost_level;
1: - u8 hdmi_boost_level;
1: - int dp_max_link_rate;
1: + const struct child_device_config *child;
1: + int max_tmds_clock;
1: + u8 hdmi_level_shift;
1: + u8 supports_dvi : 1;
1: + u8 supports_hdmi : 1;
1: + u8 supports_dp : 1;
1: + u8 supports_edp : 1;
1: + u8 supports_typec_usb : 1;
1: + u8 supports_tbt : 1;
1: + u8 alternate_aux_channel;
1: + u8 alternate_ddc_pin;
1: + u8 dp_boost_level;
1: + u8 hdmi_boost_level;
1: + int dp_max_link_rate;
1: };
1:
1: struct sdvo_device_mapping {
1: - u8 initialized;
1: - u8 dvo_port;
1: - u8 slave_addr;
1: - u8 dvo_wiring;
1: - u8 i2c_pin;
1: - u8 ddc_pin;
1: + u8 initialized;
1: + u8 dvo_port;
1: + u8 slave_addr;
1: + u8 dvo_wiring;
1: + u8 i2c_pin;
1: + u8 ddc_pin;
1: };
1:
1: struct intel_vbt_data {
1: - struct drm_display_mode *lfp_lvds_vbt_mode;
1: - struct drm_display_mode *sdvo_lvds_vbt_mode;
1: - unsigned int int_tv_support: 1;
1: - unsigned int lvds_dither: 1;
1: - unsigned int int_crt_support: 1;
1: - unsigned int lvds_use_ssc: 1;
1: - unsigned int int_lvds_support: 1;
1: - unsigned int display_clock_mode: 1;
1: - unsigned int fdi_rx_polarity_inverted: 1;
1: - unsigned int panel_type: 4;
1: - int lvds_ssc_freq;
1: - unsigned int bios_lvds_val;
1: - enum drm_panel_orientation orientation;
1: - enum drrs_support_type drrs_type;
1: - struct {
1: - int rate;
1: - int lanes;
1: - int preemphasis;
1: - int vswing;
1: - bool low_vswing;
1: - bool initialized;
1: - int bpp;
1: - struct edp_power_seq pps;
1: - } edp;
1: - struct {
1: - bool enable;
1: - bool full_link;
1: - bool require_aux_wakeup;
1: - int idle_frames;
1: - enum psr_lines_to_wait lines_to_wait;
1: - int tp1_wakeup_time_us;
1: - int tp2_tp3_wakeup_time_us;
1: - int psr2_tp2_tp3_wakeup_time_us;
1: - } psr;
1: - struct {
1: - u16 pwm_freq_hz;
1: - bool present;
1: - bool active_low_pwm;
1: - u8 min_brightness;
1: - u8 controller;
1: - enum intel_backlight_type type;
1: - } backlight;
1: - struct {
1: - u16 panel_id;
1: - struct mipi_config *config;
1: - struct mipi_pps_data *pps;
1: - u16 bl_ports;
1: - u16 cabc_ports;
1: - u8 seq_version;
1: - u32 size;
1: - u8 *data;
1: - const u8 *sequence[12];
1: - u8 *deassert_seq;
1: - enum drm_panel_orientation orientation;
1: - } dsi;
1: - int crt_ddc_pin;
1: - int child_dev_num;
1: - struct child_device_config *child_dev;
1: - struct ddi_vbt_port_info ddi_port_info[9];
1: - struct sdvo_device_mapping sdvo_mappings[2];
1: + struct drm_display_mode *lfp_lvds_vbt_mode;
1: + struct drm_display_mode *sdvo_lvds_vbt_mode;
1: + unsigned int int_tv_support : 1;
1: + unsigned int lvds_dither : 1;
1: + unsigned int int_crt_support : 1;
1: + unsigned int lvds_use_ssc : 1;
1: + unsigned int int_lvds_support : 1;
1: + unsigned int display_clock_mode : 1;
1: + unsigned int fdi_rx_polarity_inverted : 1;
1: + unsigned int panel_type : 4;
1: + int lvds_ssc_freq;
1: + unsigned int bios_lvds_val;
1: + enum drm_panel_orientation orientation;
1: + enum drrs_support_type drrs_type;
1: + struct {
1: + int rate;
1: + int lanes;
1: + int preemphasis;
1: + int vswing;
1: + bool low_vswing;
1: + bool initialized;
1: + int bpp;
1: + struct edp_power_seq pps;
1: + } edp;
1: + struct {
1: + bool enable;
1: + bool full_link;
1: + bool require_aux_wakeup;
1: + int idle_frames;
1: + enum psr_lines_to_wait lines_to_wait;
1: + int tp1_wakeup_time_us;
1: + int tp2_tp3_wakeup_time_us;
1: + int psr2_tp2_tp3_wakeup_time_us;
1: + } psr;
1: + struct {
1: + u16 pwm_freq_hz;
1: + bool present;
1: + bool active_low_pwm;
1: + u8 min_brightness;
1: + u8 controller;
1: + enum intel_backlight_type type;
1: + } backlight;
1: + struct {
1: + u16 panel_id;
1: + struct mipi_config *config;
1: + struct mipi_pps_data *pps;
1: + u16 bl_ports;
1: + u16 cabc_ports;
1: + u8 seq_version;
1: + u32 size;
1: + u8 *data;
1: + const u8 *sequence[12];
1: + u8 *deassert_seq;
1: + enum drm_panel_orientation orientation;
1: + } dsi;
1: + int crt_ddc_pin;
1: + int child_dev_num;
1: + struct child_device_config *child_dev;
1: + struct ddi_vbt_port_info ddi_port_info[9];
1: + struct sdvo_device_mapping sdvo_mappings[2];
1: };
1:
1: struct intel_cdclk_state {
1: - unsigned int cdclk;
1: - unsigned int vco;
1: - unsigned int ref;
1: - unsigned int bypass;
1: - u8 voltage_level;
1: + unsigned int cdclk;
1: + unsigned int vco;
1: + unsigned int ref;
1: + unsigned int bypass;
1: + u8 voltage_level;
1: };
1:
1: struct intel_crtc_state;
1: @@ -71041,80 +71610,89 @@ struct intel_initial_plane_config;
1: struct intel_encoder;
1:
1: struct drm_i915_display_funcs {
1: - void (*get_cdclk)(struct drm_i915_private *, struct intel_cdclk_state *);
1: - void (*set_cdclk)(struct drm_i915_private *, const struct intel_cdclk_state *, enum pipe);
1: - int (*get_fifo_size)(struct drm_i915_private *, enum i9xx_plane_id);
1: - int (*compute_pipe_wm)(struct intel_crtc_state *);
1: - int (*compute_intermediate_wm)(struct intel_crtc_state *);
1: - void (*initial_watermarks)(struct intel_atomic_state *, struct intel_crtc_state *);
1: - void (*atomic_update_watermarks)(struct intel_atomic_state *, struct intel_crtc_state *);
1: - void (*optimize_watermarks)(struct intel_atomic_state *, struct intel_crtc_state *);
1: - int (*compute_global_watermarks)(struct intel_atomic_state *);
1: - void (*update_wm)(struct intel_crtc *);
1: - int (*modeset_calc_cdclk)(struct intel_atomic_state *);
1: - u8 (*calc_voltage_level)(int);
1: - bool (*get_pipe_config)(struct intel_crtc *, struct intel_crtc_state *);
1: - void (*get_initial_plane_config)(struct intel_crtc *, struct intel_initial_plane_config *);
1: - int (*crtc_compute_clock)(struct intel_crtc *, struct intel_crtc_state *);
1: - void (*crtc_enable)(struct intel_crtc_state *, struct intel_atomic_state *);
1: - void (*crtc_disable)(struct intel_crtc_state *, struct intel_atomic_state *);
1: - void (*commit_modeset_enables)(struct intel_atomic_state *);
1: - void (*commit_modeset_disables)(struct intel_atomic_state *);
1: - void (*audio_codec_enable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - void (*audio_codec_disable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - void (*fdi_link_train)(struct intel_crtc *, const struct intel_crtc_state *);
1: - void (*init_clock_gating)(struct drm_i915_private *);
1: - void (*hpd_irq_setup)(struct drm_i915_private *);
1: - int (*color_check)(struct intel_crtc_state *);
1: - void (*color_commit)(const struct intel_crtc_state *);
1: - void (*load_luts)(const struct intel_crtc_state *);
1: - void (*read_luts)(struct intel_crtc_state *);
1: + void (*get_cdclk)(struct drm_i915_private *, struct intel_cdclk_state *);
1: + void (*set_cdclk)(struct drm_i915_private *, const struct intel_cdclk_state *,
1: + enum pipe);
1: + int (*get_fifo_size)(struct drm_i915_private *, enum i9xx_plane_id);
1: + int (*compute_pipe_wm)(struct intel_crtc_state *);
1: + int (*compute_intermediate_wm)(struct intel_crtc_state *);
1: + void (*initial_watermarks)(struct intel_atomic_state *,
1: + struct intel_crtc_state *);
1: + void (*atomic_update_watermarks)(struct intel_atomic_state *,
1: + struct intel_crtc_state *);
1: + void (*optimize_watermarks)(struct intel_atomic_state *,
1: + struct intel_crtc_state *);
1: + int (*compute_global_watermarks)(struct intel_atomic_state *);
1: + void (*update_wm)(struct intel_crtc *);
1: + int (*modeset_calc_cdclk)(struct intel_atomic_state *);
1: + u8 (*calc_voltage_level)(int);
1: + bool (*get_pipe_config)(struct intel_crtc *, struct intel_crtc_state *);
1: + void (*get_initial_plane_config)(struct intel_crtc *,
1: + struct intel_initial_plane_config *);
1: + int (*crtc_compute_clock)(struct intel_crtc *, struct intel_crtc_state *);
1: + void (*crtc_enable)(struct intel_crtc_state *, struct intel_atomic_state *);
1: + void (*crtc_disable)(struct intel_crtc_state *, struct intel_atomic_state *);
1: + void (*commit_modeset_enables)(struct intel_atomic_state *);
1: + void (*commit_modeset_disables)(struct intel_atomic_state *);
1: + void (*audio_codec_enable)(struct intel_encoder *,
1: + const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + void (*audio_codec_disable)(struct intel_encoder *,
1: + const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + void (*fdi_link_train)(struct intel_crtc *, const struct intel_crtc_state *);
1: + void (*init_clock_gating)(struct drm_i915_private *);
1: + void (*hpd_irq_setup)(struct drm_i915_private *);
1: + int (*color_check)(struct intel_crtc_state *);
1: + void (*color_commit)(const struct intel_crtc_state *);
1: + void (*load_luts)(const struct intel_crtc_state *);
1: + void (*read_luts)(struct intel_crtc_state *);
1: };
1:
1: enum intel_pch {
1: - PCH_NOP = -1,
1: - PCH_NONE = 0,
1: - PCH_IBX = 1,
1: - PCH_CPT = 2,
1: - PCH_LPT = 3,
1: - PCH_SPT = 4,
1: - PCH_CNP = 5,
1: - PCH_ICP = 6,
1: - PCH_JSP = 7,
1: - PCH_MCC = 8,
1: - PCH_TGP = 9,
1: + PCH_NOP = -1,
1: + PCH_NONE = 0,
1: + PCH_IBX = 1,
1: + PCH_CPT = 2,
1: + PCH_LPT = 3,
1: + PCH_SPT = 4,
1: + PCH_CNP = 5,
1: + PCH_ICP = 6,
1: + PCH_JSP = 7,
1: + PCH_MCC = 8,
1: + PCH_TGP = 9,
1: };
1:
1: struct i915_page_dma {
1: - struct page *page;
1: - union {
1: - dma_addr_t daddr;
1: - u32 ggtt_offset;
1: - };
1: + struct page *page;
1: + union {
1: + dma_addr_t daddr;
1: + u32 ggtt_offset;
1: + };
1: };
1:
1: struct i915_page_scratch {
1: - struct i915_page_dma base;
1: - u64 encode;
1: + struct i915_page_dma base;
1: + u64 encode;
1: };
1:
1: struct pagestash {
1: - spinlock_t lock;
1: - struct pagevec pvec;
1: + spinlock_t lock;
1: + struct pagevec pvec;
1: };
1:
1: enum i915_cache_level {
1: - I915_CACHE_NONE = 0,
1: - I915_CACHE_LLC = 1,
1: - I915_CACHE_L3_LLC = 2,
1: - I915_CACHE_WT = 3,
1: + I915_CACHE_NONE = 0,
1: + I915_CACHE_LLC = 1,
1: + I915_CACHE_L3_LLC = 2,
1: + I915_CACHE_WT = 3,
1: };
1:
1: struct i915_vma_ops {
1: - int (*bind_vma)(struct i915_vma *, enum i915_cache_level, u32);
1: - void (*unbind_vma)(struct i915_vma *);
1: - int (*set_pages)(struct i915_vma *);
1: - void (*clear_pages)(struct i915_vma *);
1: + int (*bind_vma)(struct i915_vma *, enum i915_cache_level, u32);
1: + void (*unbind_vma)(struct i915_vma *);
1: + int (*set_pages)(struct i915_vma *);
1: + void (*clear_pages)(struct i915_vma *);
1: };
1:
1: struct intel_gt;
1: @@ -71122,333 +71700,335 @@ struct intel_gt;
1: struct drm_i915_file_private;
1:
1: struct i915_address_space {
1: - struct kref ref;
1: - struct rcu_work rcu;
1: - struct drm_mm mm;
1: - struct intel_gt *gt;
1: - struct drm_i915_private *i915;
1: - struct device *dma;
1: - struct drm_i915_file_private *file;
1: - u64 total;
1: - u64 reserved;
1: - unsigned int bind_async_flags;
1: - atomic_t open;
1: - struct mutex mutex;
1: - struct i915_page_scratch scratch[4];
1: - unsigned int scratch_order;
1: - unsigned int top;
1: - struct list_head bound_list;
1: - struct pagestash free_pages;
1: - bool is_ggtt: 1;
1: - bool pt_kmap_wc: 1;
1: - bool has_read_only: 1;
1: - u64 (*pte_encode)(dma_addr_t, enum i915_cache_level, u32);
1: - int (*allocate_va_range)(struct i915_address_space *, u64, u64);
1: - void (*clear_range)(struct i915_address_space *, u64, u64);
1: - void (*insert_page)(struct i915_address_space *, dma_addr_t, u64, enum i915_cache_level, u32);
1: - void (*insert_entries)(struct i915_address_space *, struct i915_vma *, enum i915_cache_level, u32);
1: - void (*cleanup)(struct i915_address_space *);
1: - struct i915_vma_ops vma_ops;
1: + struct kref ref;
1: + struct rcu_work rcu;
1: + struct drm_mm mm;
1: + struct intel_gt *gt;
1: + struct drm_i915_private *i915;
1: + struct device *dma;
1: + struct drm_i915_file_private *file;
1: + u64 total;
1: + u64 reserved;
1: + unsigned int bind_async_flags;
1: + atomic_t open;
1: + struct mutex mutex;
1: + struct i915_page_scratch scratch[4];
1: + unsigned int scratch_order;
1: + unsigned int top;
1: + struct list_head bound_list;
1: + struct pagestash free_pages;
1: + bool is_ggtt : 1;
1: + bool pt_kmap_wc : 1;
1: + bool has_read_only : 1;
1: + u64 (*pte_encode)(dma_addr_t, enum i915_cache_level, u32);
1: + int (*allocate_va_range)(struct i915_address_space *, u64, u64);
1: + void (*clear_range)(struct i915_address_space *, u64, u64);
1: + void (*insert_page)(struct i915_address_space *, dma_addr_t, u64,
1: + enum i915_cache_level, u32);
1: + void (*insert_entries)(struct i915_address_space *, struct i915_vma *,
1: + enum i915_cache_level, u32);
1: + void (*cleanup)(struct i915_address_space *);
1: + struct i915_vma_ops vma_ops;
1: };
1:
1: struct i915_ggtt;
1:
1: struct i915_fence_reg {
1: - struct list_head link;
1: - struct i915_ggtt *ggtt;
1: - struct i915_vma *vma;
1: - atomic_t pin_count;
1: - int id;
1: - bool dirty;
1: + struct list_head link;
1: + struct i915_ggtt *ggtt;
1: + struct i915_vma *vma;
1: + atomic_t pin_count;
1: + int id;
1: + bool dirty;
1: };
1:
1: struct i915_ppgtt;
1:
1: struct i915_ggtt {
1: - struct i915_address_space vm;
1: - struct io_mapping iomap;
1: - struct resource gmadr;
1: - resource_size_t mappable_end;
1: - void *gsm;
1: - void (*invalidate)(struct i915_ggtt *);
1: - struct i915_ppgtt *alias;
1: - bool do_idle_maps;
1: - int mtrr;
1: - u32 bit_6_swizzle_x;
1: - u32 bit_6_swizzle_y;
1: - u32 pin_bias;
1: - unsigned int num_fences;
1: - struct i915_fence_reg fence_regs[32];
1: - struct list_head fence_list;
1: - struct list_head userfault_list;
1: - struct intel_wakeref_auto userfault_wakeref;
1: - struct drm_mm_node error_capture;
1: - struct drm_mm_node uc_fw;
1: + struct i915_address_space vm;
1: + struct io_mapping iomap;
1: + struct resource gmadr;
1: + resource_size_t mappable_end;
1: + void *gsm;
1: + void (*invalidate)(struct i915_ggtt *);
1: + struct i915_ppgtt *alias;
1: + bool do_idle_maps;
1: + int mtrr;
1: + u32 bit_6_swizzle_x;
1: + u32 bit_6_swizzle_y;
1: + u32 pin_bias;
1: + unsigned int num_fences;
1: + struct i915_fence_reg fence_regs[32];
1: + struct list_head fence_list;
1: + struct list_head userfault_list;
1: + struct intel_wakeref_auto userfault_wakeref;
1: + struct drm_mm_node error_capture;
1: + struct drm_mm_node uc_fw;
1: };
1:
1: struct intel_memory_region;
1:
1: struct i915_gem_mm {
1: - struct drm_mm stolen;
1: - struct mutex stolen_lock;
1: - spinlock_t obj_lock;
1: - struct list_head purge_list;
1: - struct list_head shrink_list;
1: - struct llist_head free_list;
1: - struct work_struct free_work;
1: - atomic_t free_count;
1: - struct pagestash wc_stash;
1: - struct vfsmount *gemfs;
1: - struct intel_memory_region *regions[3];
1: - struct notifier_block oom_notifier;
1: - struct notifier_block vmap_notifier;
1: - struct shrinker shrinker;
1: - struct workqueue_struct *userptr_wq;
1: - u64 shrink_memory;
1: - u32 shrink_count;
1: + struct drm_mm stolen;
1: + struct mutex stolen_lock;
1: + spinlock_t obj_lock;
1: + struct list_head purge_list;
1: + struct list_head shrink_list;
1: + struct llist_head free_list;
1: + struct work_struct free_work;
1: + atomic_t free_count;
1: + struct pagestash wc_stash;
1: + struct vfsmount *gemfs;
1: + struct intel_memory_region *regions[3];
1: + struct notifier_block oom_notifier;
1: + struct notifier_block vmap_notifier;
1: + struct shrinker shrinker;
1: + struct workqueue_struct *userptr_wq;
1: + u64 shrink_memory;
1: + u32 shrink_count;
1: };
1:
1: enum intel_pipe_crc_source {
1: - INTEL_PIPE_CRC_SOURCE_NONE = 0,
1: - INTEL_PIPE_CRC_SOURCE_PLANE1 = 1,
1: - INTEL_PIPE_CRC_SOURCE_PLANE2 = 2,
1: - INTEL_PIPE_CRC_SOURCE_PLANE3 = 3,
1: - INTEL_PIPE_CRC_SOURCE_PLANE4 = 4,
1: - INTEL_PIPE_CRC_SOURCE_PLANE5 = 5,
1: - INTEL_PIPE_CRC_SOURCE_PLANE6 = 6,
1: - INTEL_PIPE_CRC_SOURCE_PLANE7 = 7,
1: - INTEL_PIPE_CRC_SOURCE_PIPE = 8,
1: - INTEL_PIPE_CRC_SOURCE_TV = 9,
1: - INTEL_PIPE_CRC_SOURCE_DP_B = 10,
1: - INTEL_PIPE_CRC_SOURCE_DP_C = 11,
1: - INTEL_PIPE_CRC_SOURCE_DP_D = 12,
1: - INTEL_PIPE_CRC_SOURCE_AUTO = 13,
1: - INTEL_PIPE_CRC_SOURCE_MAX = 14,
1: + INTEL_PIPE_CRC_SOURCE_NONE = 0,
1: + INTEL_PIPE_CRC_SOURCE_PLANE1 = 1,
1: + INTEL_PIPE_CRC_SOURCE_PLANE2 = 2,
1: + INTEL_PIPE_CRC_SOURCE_PLANE3 = 3,
1: + INTEL_PIPE_CRC_SOURCE_PLANE4 = 4,
1: + INTEL_PIPE_CRC_SOURCE_PLANE5 = 5,
1: + INTEL_PIPE_CRC_SOURCE_PLANE6 = 6,
1: + INTEL_PIPE_CRC_SOURCE_PLANE7 = 7,
1: + INTEL_PIPE_CRC_SOURCE_PIPE = 8,
1: + INTEL_PIPE_CRC_SOURCE_TV = 9,
1: + INTEL_PIPE_CRC_SOURCE_DP_B = 10,
1: + INTEL_PIPE_CRC_SOURCE_DP_C = 11,
1: + INTEL_PIPE_CRC_SOURCE_DP_D = 12,
1: + INTEL_PIPE_CRC_SOURCE_AUTO = 13,
1: + INTEL_PIPE_CRC_SOURCE_MAX = 14,
1: };
1:
1: struct intel_pipe_crc {
1: - spinlock_t lock;
1: - int skipped;
1: - enum intel_pipe_crc_source source;
1: + spinlock_t lock;
1: + int skipped;
1: + enum intel_pipe_crc_source source;
1: };
1:
1: struct intel_dpll_hw_state {
1: - u32 dpll;
1: - u32 dpll_md;
1: - u32 fp0;
1: - u32 fp1;
1: - u32 wrpll;
1: - u32 spll;
1: - u32 ctrl1;
1: - u32 cfgcr1;
1: - u32 cfgcr2;
1: - u32 cfgcr0;
1: - u32 ebb0;
1: - u32 ebb4;
1: - u32 pll0;
1: - u32 pll1;
1: - u32 pll2;
1: - u32 pll3;
1: - u32 pll6;
1: - u32 pll8;
1: - u32 pll9;
1: - u32 pll10;
1: - u32 pcsdw12;
1: - u32 mg_refclkin_ctl;
1: - u32 mg_clktop2_coreclkctl1;
1: - u32 mg_clktop2_hsclkctl;
1: - u32 mg_pll_div0;
1: - u32 mg_pll_div1;
1: - u32 mg_pll_lf;
1: - u32 mg_pll_frac_lock;
1: - u32 mg_pll_ssc;
1: - u32 mg_pll_bias;
1: - u32 mg_pll_tdc_coldst_bias;
1: - u32 mg_pll_bias_mask;
1: - u32 mg_pll_tdc_coldst_bias_mask;
1: + u32 dpll;
1: + u32 dpll_md;
1: + u32 fp0;
1: + u32 fp1;
1: + u32 wrpll;
1: + u32 spll;
1: + u32 ctrl1;
1: + u32 cfgcr1;
1: + u32 cfgcr2;
1: + u32 cfgcr0;
1: + u32 ebb0;
1: + u32 ebb4;
1: + u32 pll0;
1: + u32 pll1;
1: + u32 pll2;
1: + u32 pll3;
1: + u32 pll6;
1: + u32 pll8;
1: + u32 pll9;
1: + u32 pll10;
1: + u32 pcsdw12;
1: + u32 mg_refclkin_ctl;
1: + u32 mg_clktop2_coreclkctl1;
1: + u32 mg_clktop2_hsclkctl;
1: + u32 mg_pll_div0;
1: + u32 mg_pll_div1;
1: + u32 mg_pll_lf;
1: + u32 mg_pll_frac_lock;
1: + u32 mg_pll_ssc;
1: + u32 mg_pll_bias;
1: + u32 mg_pll_tdc_coldst_bias;
1: + u32 mg_pll_bias_mask;
1: + u32 mg_pll_tdc_coldst_bias_mask;
1: };
1:
1: struct intel_shared_dpll_state {
1: - unsigned int crtc_mask;
1: - struct intel_dpll_hw_state hw_state;
1: + unsigned int crtc_mask;
1: + struct intel_dpll_hw_state hw_state;
1: };
1:
1: struct dpll_info;
1:
1: struct intel_shared_dpll {
1: - struct intel_shared_dpll_state state;
1: - unsigned int active_mask;
1: - bool on;
1: - const struct dpll_info *info;
1: - intel_wakeref_t wakeref;
1: + struct intel_shared_dpll_state state;
1: + unsigned int active_mask;
1: + bool on;
1: + const struct dpll_info *info;
1: + intel_wakeref_t wakeref;
1: };
1:
1: struct i915_wa;
1:
1: struct i915_wa_list {
1: - const char *name;
1: - const char *engine_name;
1: - struct i915_wa *list;
1: - unsigned int count;
1: - unsigned int wa_count;
1: + const char *name;
1: + const char *engine_name;
1: + struct i915_wa *list;
1: + unsigned int count;
1: + unsigned int wa_count;
1: };
1:
1: struct i915_frontbuffer_tracking {
1: - spinlock_t lock;
1: - unsigned int busy_bits;
1: - unsigned int flip_bits;
1: + spinlock_t lock;
1: + unsigned int busy_bits;
1: + unsigned int flip_bits;
1: };
1:
1: struct intel_atomic_helper {
1: - struct llist_head free_list;
1: - struct work_struct free_work;
1: + struct llist_head free_list;
1: + struct work_struct free_work;
1: };
1:
1: struct intel_l3_parity {
1: - u32 *remap_info[2];
1: - struct work_struct error_work;
1: - int which_slice;
1: + u32 *remap_info[2];
1: + struct work_struct error_work;
1: + int which_slice;
1: };
1:
1: struct i915_power_domains {
1: - bool initializing;
1: - bool display_core_suspended;
1: - int power_well_count;
1: - intel_wakeref_t wakeref;
1: - struct mutex lock;
1: - int domain_use_count[62];
1: - struct delayed_work async_put_work;
1: - intel_wakeref_t async_put_wakeref;
1: - u64 async_put_domains[2];
1: - struct i915_power_well *power_wells;
1: + bool initializing;
1: + bool display_core_suspended;
1: + int power_well_count;
1: + intel_wakeref_t wakeref;
1: + struct mutex lock;
1: + int domain_use_count[62];
1: + struct delayed_work async_put_work;
1: + intel_wakeref_t async_put_wakeref;
1: + u64 async_put_domains[2];
1: + struct i915_power_well *power_wells;
1: };
1:
1: struct i915_psr {
1: - struct mutex lock;
1: - u32 debug;
1: - bool sink_support;
1: - bool enabled;
1: - struct intel_dp *dp;
1: - enum pipe pipe;
1: - enum transcoder transcoder;
1: - bool active;
1: - struct work_struct work;
1: - unsigned int busy_frontbuffer_bits;
1: - bool sink_psr2_support;
1: - bool link_standby;
1: - bool colorimetry_support;
1: - bool psr2_enabled;
1: - u8 sink_sync_latency;
1: - ktime_t last_entry_attempt;
1: - ktime_t last_exit;
1: - bool sink_not_reliable;
1: - bool irq_aux_error;
1: - u16 su_x_granularity;
1: - bool dc3co_enabled;
1: - u32 dc3co_exit_delay;
1: - struct delayed_work idle_work;
1: + struct mutex lock;
1: + u32 debug;
1: + bool sink_support;
1: + bool enabled;
1: + struct intel_dp *dp;
1: + enum pipe pipe;
1: + enum transcoder transcoder;
1: + bool active;
1: + struct work_struct work;
1: + unsigned int busy_frontbuffer_bits;
1: + bool sink_psr2_support;
1: + bool link_standby;
1: + bool colorimetry_support;
1: + bool psr2_enabled;
1: + u8 sink_sync_latency;
1: + ktime_t last_entry_attempt;
1: + ktime_t last_exit;
1: + bool sink_not_reliable;
1: + bool irq_aux_error;
1: + u16 su_x_granularity;
1: + bool dc3co_enabled;
1: + u32 dc3co_exit_delay;
1: + struct delayed_work idle_work;
1: };
1:
1: struct i915_gpu_state;
1:
1: struct i915_gpu_error {
1: - spinlock_t lock;
1: - struct i915_gpu_state *first_error;
1: - atomic_t pending_fb_pin;
1: - atomic_t reset_count;
1: - atomic_t reset_engine_count[8];
1: + spinlock_t lock;
1: + struct i915_gpu_state *first_error;
1: + atomic_t pending_fb_pin;
1: + atomic_t reset_count;
1: + atomic_t reset_engine_count[8];
1: };
1:
1: struct i915_suspend_saved_registers {
1: - u32 saveDSPARB;
1: - u32 saveFBC_CONTROL;
1: - u32 saveCACHE_MODE_0;
1: - u32 saveMI_ARB_STATE;
1: - u32 saveSWF0[16];
1: - u32 saveSWF1[16];
1: - u32 saveSWF3[3];
1: - u64 saveFENCE[32];
1: - u32 savePCH_PORT_HOTPLUG;
1: - u16 saveGCDGMBUS;
1: + u32 saveDSPARB;
1: + u32 saveFBC_CONTROL;
1: + u32 saveCACHE_MODE_0;
1: + u32 saveMI_ARB_STATE;
1: + u32 saveSWF0[16];
1: + u32 saveSWF1[16];
1: + u32 saveSWF3[3];
1: + u64 saveFENCE[32];
1: + u32 savePCH_PORT_HOTPLUG;
1: + u16 saveGCDGMBUS;
1: };
1:
1: enum intel_ddb_partitioning {
1: - INTEL_DDB_PART_1_2 = 0,
1: - INTEL_DDB_PART_5_6 = 1,
1: + INTEL_DDB_PART_1_2 = 0,
1: + INTEL_DDB_PART_5_6 = 1,
1: };
1:
1: struct ilk_wm_values {
1: - u32 wm_pipe[3];
1: - u32 wm_lp[3];
1: - u32 wm_lp_spr[3];
1: - u32 wm_linetime[3];
1: - bool enable_fbc_wm;
1: - enum intel_ddb_partitioning partitioning;
1: + u32 wm_pipe[3];
1: + u32 wm_lp[3];
1: + u32 wm_lp_spr[3];
1: + u32 wm_linetime[3];
1: + bool enable_fbc_wm;
1: + enum intel_ddb_partitioning partitioning;
1: };
1:
1: struct skl_ddb_allocation {
1: - u8 enabled_slices;
1: + u8 enabled_slices;
1: };
1:
1: struct skl_ddb_values {
1: - unsigned int dirty_pipes;
1: - struct skl_ddb_allocation ddb;
1: + unsigned int dirty_pipes;
1: + struct skl_ddb_allocation ddb;
1: };
1:
1: struct g4x_pipe_wm {
1: - u16 plane[8];
1: - u16 fbc;
1: + u16 plane[8];
1: + u16 fbc;
1: };
1:
1: struct g4x_sr_wm {
1: - u16 plane;
1: - u16 cursor;
1: - u16 fbc;
1: + u16 plane;
1: + u16 cursor;
1: + u16 fbc;
1: };
1:
1: struct vlv_wm_ddl_values {
1: - u8 plane[8];
1: + u8 plane[8];
1: };
1:
1: struct vlv_wm_values {
1: - struct g4x_pipe_wm pipe[3];
1: - struct g4x_sr_wm sr;
1: - struct vlv_wm_ddl_values ddl[3];
1: - u8 level;
1: - bool cxsr;
1: + struct g4x_pipe_wm pipe[3];
1: + struct g4x_sr_wm sr;
1: + struct vlv_wm_ddl_values ddl[3];
1: + u8 level;
1: + bool cxsr;
1: };
1:
1: struct g4x_wm_values {
1: - struct g4x_pipe_wm pipe[2];
1: - struct g4x_sr_wm sr;
1: - struct g4x_sr_wm hpll;
1: - bool cxsr;
1: - bool hpll_en;
1: - bool fbc_en;
1: + struct g4x_pipe_wm pipe[2];
1: + struct g4x_sr_wm sr;
1: + struct g4x_sr_wm hpll;
1: + bool cxsr;
1: + bool hpll_en;
1: + bool fbc_en;
1: };
1:
1: enum intel_dram_type {
1: - INTEL_DRAM_UNKNOWN = 0,
1: - INTEL_DRAM_DDR3 = 1,
1: - INTEL_DRAM_DDR4 = 2,
1: - INTEL_DRAM_LPDDR3 = 3,
1: - INTEL_DRAM_LPDDR4 = 4,
1: + INTEL_DRAM_UNKNOWN = 0,
1: + INTEL_DRAM_DDR3 = 1,
1: + INTEL_DRAM_DDR4 = 2,
1: + INTEL_DRAM_LPDDR3 = 3,
1: + INTEL_DRAM_LPDDR4 = 4,
1: };
1:
1: struct dram_info {
1: - bool valid;
1: - bool is_16gb_dimm;
1: - u8 num_channels;
1: - u8 ranks;
1: - u32 bandwidth_kbps;
1: - bool symmetric_memory;
1: - enum intel_dram_type type;
1: + bool valid;
1: + bool is_16gb_dimm;
1: + u8 num_channels;
1: + u8 ranks;
1: + u32 bandwidth_kbps;
1: + bool symmetric_memory;
1: + enum intel_dram_type type;
1: };
1:
1: struct intel_bw_info {
1: - unsigned int deratedbw[3];
1: - u8 num_qgv_points;
1: - u8 num_planes;
1: + unsigned int deratedbw[3];
1: + u8 num_qgv_points;
1: + u8 num_planes;
1: };
1:
1: struct i915_perf;
1: @@ -71456,134 +72036,134 @@ struct i915_perf;
1: struct i915_oa_reg;
1:
1: struct i915_oa_config {
1: - struct i915_perf *perf;
1: - char uuid[37];
1: - int id;
1: - const struct i915_oa_reg *mux_regs;
1: - u32 mux_regs_len;
1: - const struct i915_oa_reg *b_counter_regs;
1: - u32 b_counter_regs_len;
1: - const struct i915_oa_reg *flex_regs;
1: - u32 flex_regs_len;
1: - struct attribute_group sysfs_metric;
1: - struct attribute *attrs[2];
1: - struct device_attribute sysfs_metric_id;
1: - struct kref ref;
1: - struct callback_head rcu;
1: + struct i915_perf *perf;
1: + char uuid[37];
1: + int id;
1: + const struct i915_oa_reg *mux_regs;
1: + u32 mux_regs_len;
1: + const struct i915_oa_reg *b_counter_regs;
1: + u32 b_counter_regs_len;
1: + const struct i915_oa_reg *flex_regs;
1: + u32 flex_regs_len;
1: + struct attribute_group sysfs_metric;
1: + struct attribute *attrs[2];
1: + struct device_attribute sysfs_metric_id;
1: + struct kref ref;
1: + struct callback_head rcu;
1: };
1:
1: struct i915_perf_stream;
1:
1: struct i915_oa_ops {
1: - bool (*is_valid_b_counter_reg)(struct i915_perf *, u32);
1: - bool (*is_valid_mux_reg)(struct i915_perf *, u32);
1: - bool (*is_valid_flex_reg)(struct i915_perf *, u32);
1: - int (*enable_metric_set)(struct i915_perf_stream *);
1: - void (*disable_metric_set)(struct i915_perf_stream *);
1: - void (*oa_enable)(struct i915_perf_stream *);
1: - void (*oa_disable)(struct i915_perf_stream *);
1: - int (*read)(struct i915_perf_stream *, char *, size_t, size_t *);
1: - u32 (*oa_hw_tail_read)(struct i915_perf_stream *);
1: + bool (*is_valid_b_counter_reg)(struct i915_perf *, u32);
1: + bool (*is_valid_mux_reg)(struct i915_perf *, u32);
1: + bool (*is_valid_flex_reg)(struct i915_perf *, u32);
1: + int (*enable_metric_set)(struct i915_perf_stream *);
1: + void (*disable_metric_set)(struct i915_perf_stream *);
1: + void (*oa_enable)(struct i915_perf_stream *);
1: + void (*oa_disable)(struct i915_perf_stream *);
1: + int (*read)(struct i915_perf_stream *, char *, size_t, size_t *);
1: + u32 (*oa_hw_tail_read)(struct i915_perf_stream *);
1: };
1:
1: struct i915_oa_format;
1:
1: struct i915_perf {
1: - struct drm_i915_private *i915;
1: - struct kobject *metrics_kobj;
1: - struct ctl_table_header *sysctl_header;
1: - struct mutex metrics_lock;
1: - struct idr metrics_idr;
1: - struct mutex lock;
1: - struct i915_perf_stream *exclusive_stream;
1: - struct ratelimit_state spurious_report_rs;
1: - struct i915_oa_config test_config;
1: - u32 gen7_latched_oastatus1;
1: - u32 ctx_oactxctrl_offset;
1: - u32 ctx_flexeu0_offset;
1: - u32 gen8_valid_ctx_bit;
1: - struct i915_oa_ops ops;
1: - const struct i915_oa_format *oa_formats;
1: - atomic64_t noa_programming_delay;
1: + struct drm_i915_private *i915;
1: + struct kobject *metrics_kobj;
1: + struct ctl_table_header *sysctl_header;
1: + struct mutex metrics_lock;
1: + struct idr metrics_idr;
1: + struct mutex lock;
1: + struct i915_perf_stream *exclusive_stream;
1: + struct ratelimit_state spurious_report_rs;
1: + struct i915_oa_config test_config;
1: + u32 gen7_latched_oastatus1;
1: + u32 ctx_oactxctrl_offset;
1: + u32 ctx_flexeu0_offset;
1: + u32 gen8_valid_ctx_bit;
1: + struct i915_oa_ops ops;
1: + const struct i915_oa_format *oa_formats;
1: + atomic64_t noa_programming_delay;
1: };
1:
1: enum intel_uc_fw_type {
1: - INTEL_UC_FW_TYPE_GUC = 0,
1: - INTEL_UC_FW_TYPE_HUC = 1,
1: + INTEL_UC_FW_TYPE_GUC = 0,
1: + INTEL_UC_FW_TYPE_HUC = 1,
1: };
1:
1: enum intel_uc_fw_status {
1: - INTEL_UC_FIRMWARE_NOT_SUPPORTED = -1,
1: - INTEL_UC_FIRMWARE_UNINITIALIZED = 0,
1: - INTEL_UC_FIRMWARE_DISABLED = 1,
1: - INTEL_UC_FIRMWARE_SELECTED = 2,
1: - INTEL_UC_FIRMWARE_MISSING = 3,
1: - INTEL_UC_FIRMWARE_ERROR = 4,
1: - INTEL_UC_FIRMWARE_AVAILABLE = 5,
1: - INTEL_UC_FIRMWARE_FAIL = 6,
1: - INTEL_UC_FIRMWARE_TRANSFERRED = 7,
1: - INTEL_UC_FIRMWARE_RUNNING = 8,
1: + INTEL_UC_FIRMWARE_NOT_SUPPORTED = -1,
1: + INTEL_UC_FIRMWARE_UNINITIALIZED = 0,
1: + INTEL_UC_FIRMWARE_DISABLED = 1,
1: + INTEL_UC_FIRMWARE_SELECTED = 2,
1: + INTEL_UC_FIRMWARE_MISSING = 3,
1: + INTEL_UC_FIRMWARE_ERROR = 4,
1: + INTEL_UC_FIRMWARE_AVAILABLE = 5,
1: + INTEL_UC_FIRMWARE_FAIL = 6,
1: + INTEL_UC_FIRMWARE_TRANSFERRED = 7,
1: + INTEL_UC_FIRMWARE_RUNNING = 8,
1: };
1:
1: struct drm_i915_gem_object;
1:
1: struct intel_uc_fw {
1: - enum intel_uc_fw_type type;
1: - union {
1: - const enum intel_uc_fw_status status;
1: - enum intel_uc_fw_status __status;
1: - };
1: - const char *path;
1: - bool user_overridden;
1: - size_t size;
1: - struct drm_i915_gem_object *obj;
1: - u16 major_ver_wanted;
1: - u16 minor_ver_wanted;
1: - u16 major_ver_found;
1: - u16 minor_ver_found;
1: - u32 rsa_size;
1: - u32 ucode_size;
1: + enum intel_uc_fw_type type;
1: + union {
1: + const enum intel_uc_fw_status status;
1: + enum intel_uc_fw_status __status;
1: + };
1: + const char *path;
1: + bool user_overridden;
1: + size_t size;
1: + struct drm_i915_gem_object *obj;
1: + u16 major_ver_wanted;
1: + u16 minor_ver_wanted;
1: + u16 major_ver_found;
1: + u16 minor_ver_found;
1: + u32 rsa_size;
1: + u32 ucode_size;
1: };
1:
1: struct intel_guc_log {
1: - u32 level;
1: - struct i915_vma *vma;
1: - struct {
1: - void *buf_addr;
1: - bool started;
1: - struct work_struct flush_work;
1: - struct rchan *channel;
1: - struct mutex lock;
1: - u32 full_count;
1: - } relay;
1: - struct {
1: - u32 sampled_overflow;
1: - u32 overflow;
1: - u32 flush;
1: - } stats[3];
1: + u32 level;
1: + struct i915_vma *vma;
1: + struct {
1: + void *buf_addr;
1: + bool started;
1: + struct work_struct flush_work;
1: + struct rchan *channel;
1: + struct mutex lock;
1: + u32 full_count;
1: + } relay;
1: + struct {
1: + u32 sampled_overflow;
1: + u32 overflow;
1: + u32 flush;
1: + } stats[3];
1: };
1:
1: struct guc_ct_buffer_desc;
1:
1: struct intel_guc_ct_buffer {
1: - struct guc_ct_buffer_desc *desc;
1: - u32 *cmds;
1: + struct guc_ct_buffer_desc *desc;
1: + u32 *cmds;
1: };
1:
1: struct intel_guc_ct_channel {
1: - struct i915_vma *vma;
1: - struct intel_guc_ct_buffer ctbs[2];
1: - u32 owner;
1: - u32 next_fence;
1: - bool enabled;
1: + struct i915_vma *vma;
1: + struct intel_guc_ct_buffer ctbs[2];
1: + u32 owner;
1: + u32 next_fence;
1: + bool enabled;
1: };
1:
1: struct intel_guc_ct {
1: - struct intel_guc_ct_channel host_channel;
1: - spinlock_t lock;
1: - struct list_head pending_requests;
1: - struct list_head incoming_requests;
1: - struct work_struct worker;
1: + struct intel_guc_ct_channel host_channel;
1: + spinlock_t lock;
1: + struct list_head pending_requests;
1: + struct list_head incoming_requests;
1: + struct work_struct worker;
1: };
1:
1: struct __guc_ads_blob;
1: @@ -71591,195 +72171,195 @@ struct __guc_ads_blob;
1: struct intel_guc_client;
1:
1: struct intel_guc {
1: - struct intel_uc_fw fw;
1: - struct intel_guc_log log;
1: - struct intel_guc_ct ct;
1: - spinlock_t irq_lock;
1: - unsigned int msg_enabled_mask;
1: - struct {
1: - bool enabled;
1: - void (*reset)(struct intel_guc *);
1: - void (*enable)(struct intel_guc *);
1: - void (*disable)(struct intel_guc *);
1: - } interrupts;
1: - bool submission_supported;
1: - struct i915_vma *ads_vma;
1: - struct __guc_ads_blob *ads_blob;
1: - struct i915_vma *stage_desc_pool;
1: - void *stage_desc_pool_vaddr;
1: - struct ida stage_ids;
1: - struct intel_guc_client *execbuf_client;
1: - long unsigned int doorbell_bitmap[4];
1: - u32 db_cacheline;
1: - u32 params[14];
1: - struct {
1: - u32 base;
1: - unsigned int count;
1: - enum forcewake_domains fw_domains;
1: - } send_regs;
1: - u32 mmio_msg;
1: - struct mutex send_mutex;
1: - int (*send)(struct intel_guc *, const u32 *, u32, u32 *, u32);
1: - void (*handler)(struct intel_guc *);
1: - void (*notify)(struct intel_guc *);
1: + struct intel_uc_fw fw;
1: + struct intel_guc_log log;
1: + struct intel_guc_ct ct;
1: + spinlock_t irq_lock;
1: + unsigned int msg_enabled_mask;
1: + struct {
1: + bool enabled;
1: + void (*reset)(struct intel_guc *);
1: + void (*enable)(struct intel_guc *);
1: + void (*disable)(struct intel_guc *);
1: + } interrupts;
1: + bool submission_supported;
1: + struct i915_vma *ads_vma;
1: + struct __guc_ads_blob *ads_blob;
1: + struct i915_vma *stage_desc_pool;
1: + void *stage_desc_pool_vaddr;
1: + struct ida stage_ids;
1: + struct intel_guc_client *execbuf_client;
1: + long unsigned int doorbell_bitmap[4];
1: + u32 db_cacheline;
1: + u32 params[14];
1: + struct {
1: + u32 base;
1: + unsigned int count;
1: + enum forcewake_domains fw_domains;
1: + } send_regs;
1: + u32 mmio_msg;
1: + struct mutex send_mutex;
1: + int (*send)(struct intel_guc *, const u32 *, u32, u32 *, u32);
1: + void (*handler)(struct intel_guc *);
1: + void (*notify)(struct intel_guc *);
1: };
1:
1: struct intel_huc {
1: - struct intel_uc_fw fw;
1: - struct i915_vma *rsa_data;
1: - struct {
1: - i915_reg_t reg;
1: - u32 mask;
1: - u32 value;
1: - } status;
1: + struct intel_uc_fw fw;
1: + struct i915_vma *rsa_data;
1: + struct {
1: + i915_reg_t reg;
1: + u32 mask;
1: + u32 value;
1: + } status;
1: };
1:
1: struct intel_uc {
1: - struct intel_guc guc;
1: - struct intel_huc huc;
1: - struct drm_i915_gem_object *load_err_log;
1: + struct intel_guc guc;
1: + struct intel_huc huc;
1: + struct drm_i915_gem_object *load_err_log;
1: };
1:
1: struct intel_gt_timelines {
1: - spinlock_t lock;
1: - struct list_head active_list;
1: - spinlock_t hwsp_lock;
1: - struct list_head hwsp_free_list;
1: + spinlock_t lock;
1: + struct list_head active_list;
1: + spinlock_t hwsp_lock;
1: + struct list_head hwsp_free_list;
1: };
1:
1: struct intel_gt_requests {
1: - struct delayed_work retire_work;
1: + struct delayed_work retire_work;
1: };
1:
1: struct intel_reset {
1: - long unsigned int flags;
1: - struct mutex mutex;
1: - wait_queue_head_t queue;
1: - struct srcu_struct backoff_srcu;
1: + long unsigned int flags;
1: + struct mutex mutex;
1: + wait_queue_head_t queue;
1: + struct srcu_struct backoff_srcu;
1: };
1:
1: struct intel_llc {};
1:
1: struct intel_rc6 {
1: - u64 prev_hw_residency[4];
1: - u64 cur_residency[4];
1: - struct drm_i915_gem_object *pctx;
1: - bool supported: 1;
1: - bool enabled: 1;
1: - bool wakeref: 1;
1: - bool ctx_corrupted: 1;
1: + u64 prev_hw_residency[4];
1: + u64 cur_residency[4];
1: + struct drm_i915_gem_object *pctx;
1: + bool supported : 1;
1: + bool enabled : 1;
1: + bool wakeref : 1;
1: + bool ctx_corrupted : 1;
1: };
1:
1: struct intel_rps_ei {
1: - ktime_t ktime;
1: - u32 render_c0;
1: - u32 media_c0;
1: + ktime_t ktime;
1: + u32 render_c0;
1: + u32 media_c0;
1: };
1:
1: struct intel_ips {
1: - u64 last_count1;
1: - long unsigned int last_time1;
1: - long unsigned int chipset_power;
1: - u64 last_count2;
1: - u64 last_time2;
1: - long unsigned int gfx_power;
1: - u8 corr;
1: - int c;
1: - int m;
1: + u64 last_count1;
1: + long unsigned int last_time1;
1: + long unsigned int chipset_power;
1: + u64 last_count2;
1: + u64 last_time2;
1: + long unsigned int gfx_power;
1: + u8 corr;
1: + int c;
1: + int m;
1: };
1:
1: struct intel_rps {
1: - struct mutex lock;
1: - struct work_struct work;
1: - bool enabled;
1: - bool active;
1: - u32 pm_iir;
1: - u32 pm_intrmsk_mbz;
1: - u32 pm_events;
1: - u8 cur_freq;
1: - u8 last_freq;
1: - u8 min_freq_softlimit;
1: - u8 max_freq_softlimit;
1: - u8 max_freq;
1: - u8 min_freq;
1: - u8 boost_freq;
1: - u8 idle_freq;
1: - u8 efficient_freq;
1: - u8 rp1_freq;
1: - u8 rp0_freq;
1: - u16 gpll_ref_freq;
1: - int last_adj;
1: - struct {
1: - struct mutex mutex;
1: - enum {
1: - LOW_POWER = 0,
1: - BETWEEN = 1,
1: - HIGH_POWER = 2,
1: - } mode;
1: - unsigned int interactive;
1: - u8 up_threshold;
1: - u8 down_threshold;
1: - } power;
1: - atomic_t num_waiters;
1: - atomic_t boosts;
1: - struct intel_rps_ei ei;
1: - struct intel_ips ips;
1: + struct mutex lock;
1: + struct work_struct work;
1: + bool enabled;
1: + bool active;
1: + u32 pm_iir;
1: + u32 pm_intrmsk_mbz;
1: + u32 pm_events;
1: + u8 cur_freq;
1: + u8 last_freq;
1: + u8 min_freq_softlimit;
1: + u8 max_freq_softlimit;
1: + u8 max_freq;
1: + u8 min_freq;
1: + u8 boost_freq;
1: + u8 idle_freq;
1: + u8 efficient_freq;
1: + u8 rp1_freq;
1: + u8 rp0_freq;
1: + u16 gpll_ref_freq;
1: + int last_adj;
1: + struct {
1: + struct mutex mutex;
1: + enum {
1: + LOW_POWER = 0,
1: + BETWEEN = 1,
1: + HIGH_POWER = 2,
1: + } mode;
1: + unsigned int interactive;
1: + u8 up_threshold;
1: + u8 down_threshold;
1: + } power;
1: + atomic_t num_waiters;
1: + atomic_t boosts;
1: + struct intel_rps_ei ei;
1: + struct intel_ips ips;
1: };
1:
1: struct intel_engine_cs;
1:
1: struct intel_gt {
1: - struct drm_i915_private *i915;
1: - struct intel_uncore *uncore;
1: - struct i915_ggtt *ggtt;
1: - struct intel_uc uc;
1: - struct intel_gt_timelines timelines;
1: - struct intel_gt_requests requests;
1: - struct intel_wakeref wakeref;
1: - atomic_t user_wakeref;
1: - struct list_head closed_vma;
1: - spinlock_t closed_lock;
1: - struct intel_reset reset;
1: - intel_wakeref_t awake;
1: - struct intel_llc llc;
1: - struct intel_rc6 rc6;
1: - struct intel_rps rps;
1: - ktime_t last_init_time;
1: - struct i915_vma *scratch;
1: - spinlock_t irq_lock;
1: - u32 gt_imr;
1: - u32 pm_ier;
1: - u32 pm_imr;
1: - u32 pm_guc_events;
1: - struct intel_engine_cs *engine[8];
1: - struct intel_engine_cs *engine_class[20];
1: + struct drm_i915_private *i915;
1: + struct intel_uncore *uncore;
1: + struct i915_ggtt *ggtt;
1: + struct intel_uc uc;
1: + struct intel_gt_timelines timelines;
1: + struct intel_gt_requests requests;
1: + struct intel_wakeref wakeref;
1: + atomic_t user_wakeref;
1: + struct list_head closed_vma;
1: + spinlock_t closed_lock;
1: + struct intel_reset reset;
1: + intel_wakeref_t awake;
1: + struct intel_llc llc;
1: + struct intel_rc6 rc6;
1: + struct intel_rps rps;
1: + ktime_t last_init_time;
1: + struct i915_vma *scratch;
1: + spinlock_t irq_lock;
1: + u32 gt_imr;
1: + u32 pm_ier;
1: + u32 pm_imr;
1: + u32 pm_guc_events;
1: + struct intel_engine_cs *engine[8];
1: + struct intel_engine_cs *engine_class[20];
1: };
1:
1: struct i915_gem_contexts {
1: - spinlock_t lock;
1: - struct list_head list;
1: - struct llist_head free_list;
1: - struct work_struct free_work;
1: + spinlock_t lock;
1: + struct list_head list;
1: + struct llist_head free_list;
1: + struct work_struct free_work;
1: };
1:
1: struct i915_pmu_sample {
1: - u64 cur;
1: + u64 cur;
1: };
1:
1: struct i915_pmu {
1: - struct hlist_node node;
1: - struct pmu base;
1: - const char *name;
1: - spinlock_t lock;
1: - struct hrtimer timer;
1: - u64 enable;
1: - ktime_t timer_last;
1: - unsigned int enable_count[20];
1: - bool timer_enabled;
1: - struct i915_pmu_sample sample[4];
1: - ktime_t sleep_last;
1: - void *i915_attr;
1: - void *pmu_attr;
1: + struct hlist_node node;
1: + struct pmu base;
1: + const char *name;
1: + spinlock_t lock;
1: + struct hrtimer timer;
1: + u64 enable;
1: + ktime_t timer_last;
1: + unsigned int enable_count[20];
1: + bool timer_enabled;
1: + struct i915_pmu_sample sample[4];
1: + ktime_t sleep_last;
1: + void *i915_attr;
1: + void *pmu_attr;
1: };
1:
1: struct i915_gem_context;
1: @@ -71795,391 +72375,392 @@ struct i915_audio_component;
1: struct vlv_s0ix_state;
1:
1: struct drm_i915_private {
1: - struct drm_device drm;
1: - const struct intel_device_info __info;
1: - struct intel_runtime_info __runtime;
1: - struct intel_driver_caps caps;
1: - struct resource dsm;
1: - struct resource dsm_reserved;
1: - resource_size_t stolen_usable_size;
1: - struct intel_uncore uncore;
1: - struct intel_uncore_mmio_debug mmio_debug;
1: - struct i915_virtual_gpu vgpu;
1: - struct intel_gvt *gvt;
1: - struct intel_wopcm wopcm;
1: - struct intel_csr csr;
1: - struct intel_gmbus gmbus[15];
1: - struct mutex gmbus_mutex;
1: - u32 gpio_mmio_base;
1: - u32 hsw_psr_mmio_adjust;
1: - u32 mipi_mmio_base;
1: - u32 pps_mmio_base;
1: - wait_queue_head_t gmbus_wait_queue;
1: - struct pci_dev *bridge_dev;
1: - struct i915_gem_context *kernel_context;
1: - struct intel_engine_cs *engine[8];
1: - struct rb_root uabi_engines;
1: - struct resource mch_res;
1: - spinlock_t irq_lock;
1: - bool display_irqs_enabled;
1: - struct pm_qos_request pm_qos;
1: - struct mutex sb_lock;
1: - struct pm_qos_request sb_qos;
1: - union {
1: - u32 irq_mask;
1: - u32 de_irq_mask[4];
1: - };
1: - u32 pipestat_irq_mask[4];
1: - struct i915_hotplug hotplug;
1: - struct intel_fbc fbc;
1: - struct i915_drrs drrs;
1: - struct intel_opregion opregion;
1: - struct intel_vbt_data vbt;
1: - bool preserve_bios_swizzle;
1: - struct intel_overlay *overlay;
1: - struct mutex backlight_lock;
1: - struct mutex pps_mutex;
1: - unsigned int fsb_freq;
1: - unsigned int mem_freq;
1: - unsigned int is_ddr3;
1: - unsigned int skl_preferred_vco_freq;
1: - unsigned int max_cdclk_freq;
1: - unsigned int max_dotclk_freq;
1: - unsigned int rawclk_freq;
1: - unsigned int hpll_freq;
1: - unsigned int fdi_pll_freq;
1: - unsigned int czclk_freq;
1: - struct {
1: - struct intel_cdclk_state logical;
1: - struct intel_cdclk_state actual;
1: - struct intel_cdclk_state hw;
1: - const struct intel_cdclk_vals *table;
1: - int force_min_cdclk;
1: - } cdclk;
1: - struct workqueue_struct *wq;
1: - struct workqueue_struct *modeset_wq;
1: - struct workqueue_struct *flip_wq;
1: - struct drm_i915_display_funcs display;
1: - enum intel_pch pch_type;
1: - short unsigned int pch_id;
1: - long unsigned int quirks;
1: - struct drm_atomic_state *modeset_restore_state;
1: - struct drm_modeset_acquire_ctx reset_ctx;
1: - struct i915_ggtt ggtt;
1: - struct i915_gem_mm mm;
1: - struct hlist_head mm_structs[128];
1: - struct mutex mm_lock;
1: - struct intel_crtc *plane_to_crtc_mapping[4];
1: - struct intel_crtc *pipe_to_crtc_mapping[4];
1: - struct intel_pipe_crc pipe_crc[4];
1: - int num_shared_dpll;
1: - struct intel_shared_dpll shared_dplls[9];
1: - const struct intel_dpll_mgr *dpll_mgr;
1: - struct mutex dpll_lock;
1: - u8 active_pipes;
1: - int min_cdclk[4];
1: - u8 min_voltage_level[4];
1: - int dpio_phy_iosf_port[2];
1: - struct i915_wa_list gt_wa_list;
1: - struct i915_frontbuffer_tracking fb_tracking;
1: - struct intel_atomic_helper atomic_helper;
1: - u16 orig_clock;
1: - bool mchbar_need_disable;
1: - struct intel_l3_parity l3_parity;
1: - u32 edram_size_mb;
1: - struct i915_power_domains power_domains;
1: - struct i915_psr psr;
1: - struct i915_gpu_error gpu_error;
1: - struct drm_i915_gem_object *vlv_pctx;
1: - struct intel_fbdev *fbdev;
1: - struct work_struct fbdev_suspend_work;
1: - struct drm_property *broadcast_rgb_property;
1: - struct drm_property *force_audio_property;
1: - struct i915_audio_component *audio_component;
1: - bool audio_component_registered;
1: - struct mutex av_mutex;
1: - int audio_power_refcount;
1: - u32 audio_freq_cntrl;
1: - u32 fdi_rx_config;
1: - u32 chv_phy_control;
1: - u32 chv_dpll_md[4];
1: - u32 bxt_phy_grc;
1: - u32 suspend_count;
1: - bool power_domains_suspended;
1: - struct i915_suspend_saved_registers regfile;
1: - struct vlv_s0ix_state *vlv_s0ix_state;
1: - enum {
1: - I915_SAGV_UNKNOWN = 0,
1: - I915_SAGV_DISABLED = 1,
1: - I915_SAGV_ENABLED = 2,
1: - I915_SAGV_NOT_CONTROLLED = 3,
1: - } sagv_status;
1: - u32 sagv_block_time_us;
1: - struct {
1: - u16 pri_latency[5];
1: - u16 spr_latency[5];
1: - u16 cur_latency[5];
1: - u16 skl_latency[8];
1: - union {
1: - struct ilk_wm_values hw;
1: - struct skl_ddb_values skl_hw;
1: - struct vlv_wm_values vlv;
1: - struct g4x_wm_values g4x;
1: - };
1: - u8 max_level;
1: - struct mutex wm_mutex;
1: - bool distrust_bios_wm;
1: - } wm;
1: - struct dram_info dram_info;
1: - struct intel_bw_info max_bw[6];
1: - struct drm_private_obj bw_obj;
1: - struct intel_runtime_pm runtime_pm;
1: - struct i915_perf perf;
1: - struct intel_gt gt;
1: - struct {
1: - struct notifier_block pm_notifier;
1: - struct i915_gem_contexts contexts;
1: - } gem;
1: - u8 pch_ssc_use;
1: - u8 vblank_enabled;
1: - bool chv_phy_assert[2];
1: - bool ipc_enabled;
1: - struct intel_encoder *av_enc_map[4];
1: - struct {
1: - struct platform_device *platdev;
1: - int irq;
1: - } lpe_audio;
1: - struct i915_pmu pmu;
1: - struct i915_hdcp_comp_master *hdcp_master;
1: - bool hdcp_comp_added;
1: - struct mutex hdcp_comp_mutex;
1: + struct drm_device drm;
1: + const struct intel_device_info __info;
1: + struct intel_runtime_info __runtime;
1: + struct intel_driver_caps caps;
1: + struct resource dsm;
1: + struct resource dsm_reserved;
1: + resource_size_t stolen_usable_size;
1: + struct intel_uncore uncore;
1: + struct intel_uncore_mmio_debug mmio_debug;
1: + struct i915_virtual_gpu vgpu;
1: + struct intel_gvt *gvt;
1: + struct intel_wopcm wopcm;
1: + struct intel_csr csr;
1: + struct intel_gmbus gmbus[15];
1: + struct mutex gmbus_mutex;
1: + u32 gpio_mmio_base;
1: + u32 hsw_psr_mmio_adjust;
1: + u32 mipi_mmio_base;
1: + u32 pps_mmio_base;
1: + wait_queue_head_t gmbus_wait_queue;
1: + struct pci_dev *bridge_dev;
1: + struct i915_gem_context *kernel_context;
1: + struct intel_engine_cs *engine[8];
1: + struct rb_root uabi_engines;
1: + struct resource mch_res;
1: + spinlock_t irq_lock;
1: + bool display_irqs_enabled;
1: + struct pm_qos_request pm_qos;
1: + struct mutex sb_lock;
1: + struct pm_qos_request sb_qos;
1: + union {
1: + u32 irq_mask;
1: + u32 de_irq_mask[4];
1: + };
1: + u32 pipestat_irq_mask[4];
1: + struct i915_hotplug hotplug;
1: + struct intel_fbc fbc;
1: + struct i915_drrs drrs;
1: + struct intel_opregion opregion;
1: + struct intel_vbt_data vbt;
1: + bool preserve_bios_swizzle;
1: + struct intel_overlay *overlay;
1: + struct mutex backlight_lock;
1: + struct mutex pps_mutex;
1: + unsigned int fsb_freq;
1: + unsigned int mem_freq;
1: + unsigned int is_ddr3;
1: + unsigned int skl_preferred_vco_freq;
1: + unsigned int max_cdclk_freq;
1: + unsigned int max_dotclk_freq;
1: + unsigned int rawclk_freq;
1: + unsigned int hpll_freq;
1: + unsigned int fdi_pll_freq;
1: + unsigned int czclk_freq;
1: + struct {
1: + struct intel_cdclk_state logical;
1: + struct intel_cdclk_state actual;
1: + struct intel_cdclk_state hw;
1: + const struct intel_cdclk_vals *table;
1: + int force_min_cdclk;
1: + } cdclk;
1: + struct workqueue_struct *wq;
1: + struct workqueue_struct *modeset_wq;
1: + struct workqueue_struct *flip_wq;
1: + struct drm_i915_display_funcs display;
1: + enum intel_pch pch_type;
1: + short unsigned int pch_id;
1: + long unsigned int quirks;
1: + struct drm_atomic_state *modeset_restore_state;
1: + struct drm_modeset_acquire_ctx reset_ctx;
1: + struct i915_ggtt ggtt;
1: + struct i915_gem_mm mm;
1: + struct hlist_head mm_structs[128];
1: + struct mutex mm_lock;
1: + struct intel_crtc *plane_to_crtc_mapping[4];
1: + struct intel_crtc *pipe_to_crtc_mapping[4];
1: + struct intel_pipe_crc pipe_crc[4];
1: + int num_shared_dpll;
1: + struct intel_shared_dpll shared_dplls[9];
1: + const struct intel_dpll_mgr *dpll_mgr;
1: + struct mutex dpll_lock;
1: + u8 active_pipes;
1: + int min_cdclk[4];
1: + u8 min_voltage_level[4];
1: + int dpio_phy_iosf_port[2];
1: + struct i915_wa_list gt_wa_list;
1: + struct i915_frontbuffer_tracking fb_tracking;
1: + struct intel_atomic_helper atomic_helper;
1: + u16 orig_clock;
1: + bool mchbar_need_disable;
1: + struct intel_l3_parity l3_parity;
1: + u32 edram_size_mb;
1: + struct i915_power_domains power_domains;
1: + struct i915_psr psr;
1: + struct i915_gpu_error gpu_error;
1: + struct drm_i915_gem_object *vlv_pctx;
1: + struct intel_fbdev *fbdev;
1: + struct work_struct fbdev_suspend_work;
1: + struct drm_property *broadcast_rgb_property;
1: + struct drm_property *force_audio_property;
1: + struct i915_audio_component *audio_component;
1: + bool audio_component_registered;
1: + struct mutex av_mutex;
1: + int audio_power_refcount;
1: + u32 audio_freq_cntrl;
1: + u32 fdi_rx_config;
1: + u32 chv_phy_control;
1: + u32 chv_dpll_md[4];
1: + u32 bxt_phy_grc;
1: + u32 suspend_count;
1: + bool power_domains_suspended;
1: + struct i915_suspend_saved_registers regfile;
1: + struct vlv_s0ix_state *vlv_s0ix_state;
1: + enum {
1: + I915_SAGV_UNKNOWN = 0,
1: + I915_SAGV_DISABLED = 1,
1: + I915_SAGV_ENABLED = 2,
1: + I915_SAGV_NOT_CONTROLLED = 3,
1: + } sagv_status;
1: + u32 sagv_block_time_us;
1: + struct {
1: + u16 pri_latency[5];
1: + u16 spr_latency[5];
1: + u16 cur_latency[5];
1: + u16 skl_latency[8];
1: + union {
1: + struct ilk_wm_values hw;
1: + struct skl_ddb_values skl_hw;
1: + struct vlv_wm_values vlv;
1: + struct g4x_wm_values g4x;
1: + };
1: + u8 max_level;
1: + struct mutex wm_mutex;
1: + bool distrust_bios_wm;
1: + } wm;
1: + struct dram_info dram_info;
1: + struct intel_bw_info max_bw[6];
1: + struct drm_private_obj bw_obj;
1: + struct intel_runtime_pm runtime_pm;
1: + struct i915_perf perf;
1: + struct intel_gt gt;
1: + struct {
1: + struct notifier_block pm_notifier;
1: + struct i915_gem_contexts contexts;
1: + } gem;
1: + u8 pch_ssc_use;
1: + u8 vblank_enabled;
1: + bool chv_phy_assert[2];
1: + bool ipc_enabled;
1: + struct intel_encoder *av_enc_map[4];
1: + struct {
1: + struct platform_device *platdev;
1: + int irq;
1: + } lpe_audio;
1: + struct i915_pmu pmu;
1: + struct i915_hdcp_comp_master *hdcp_master;
1: + bool hdcp_comp_added;
1: + struct mutex hdcp_comp_mutex;
1: };
1:
1: struct i915_power_well_desc;
1:
1: struct i915_power_well {
1: - const struct i915_power_well_desc *desc;
1: - int count;
1: - bool hw_enabled;
1: + const struct i915_power_well_desc *desc;
1: + int count;
1: + bool hw_enabled;
1: };
1:
1: struct i915_power_well_regs {
1: - i915_reg_t bios;
1: - i915_reg_t driver;
1: - i915_reg_t kvmr;
1: - i915_reg_t debug;
1: + i915_reg_t bios;
1: + i915_reg_t driver;
1: + i915_reg_t kvmr;
1: + i915_reg_t debug;
1: };
1:
1: struct i915_power_well_desc {
1: - const char *name;
1: - bool always_on;
1: - u64 domains;
1: - enum i915_power_well_id id;
1: - union {
1: - struct {
1: - u8 idx;
1: - } vlv;
1: - struct {
1: - enum dpio_phy phy;
1: - } bxt;
1: - struct {
1: - const struct i915_power_well_regs *regs;
1: - u8 idx;
1: - u8 irq_pipe_mask;
1: - bool has_vga: 1;
1: - bool has_fuses: 1;
1: - bool is_tc_tbt: 1;
1: - } hsw;
1: - };
1: - const struct i915_power_well_ops *ops;
1: + const char *name;
1: + bool always_on;
1: + u64 domains;
1: + enum i915_power_well_id id;
1: + union {
1: + struct {
1: + u8 idx;
1: + } vlv;
1: + struct {
1: + enum dpio_phy phy;
1: + } bxt;
1: + struct {
1: + const struct i915_power_well_regs *regs;
1: + u8 idx;
1: + u8 irq_pipe_mask;
1: + bool has_vga : 1;
1: + bool has_fuses : 1;
1: + bool is_tc_tbt : 1;
1: + } hsw;
1: + };
1: + const struct i915_power_well_ops *ops;
1: };
1:
1: enum intel_dpll_id {
1: - DPLL_ID_PRIVATE = -1,
1: - DPLL_ID_PCH_PLL_A = 0,
1: - DPLL_ID_PCH_PLL_B = 1,
1: - DPLL_ID_WRPLL1 = 0,
1: - DPLL_ID_WRPLL2 = 1,
1: - DPLL_ID_SPLL = 2,
1: - DPLL_ID_LCPLL_810 = 3,
1: - DPLL_ID_LCPLL_1350 = 4,
1: - DPLL_ID_LCPLL_2700 = 5,
1: - DPLL_ID_SKL_DPLL0 = 0,
1: - DPLL_ID_SKL_DPLL1 = 1,
1: - DPLL_ID_SKL_DPLL2 = 2,
1: - DPLL_ID_SKL_DPLL3 = 3,
1: - DPLL_ID_ICL_DPLL0 = 0,
1: - DPLL_ID_ICL_DPLL1 = 1,
1: - DPLL_ID_EHL_DPLL4 = 2,
1: - DPLL_ID_ICL_TBTPLL = 2,
1: - DPLL_ID_ICL_MGPLL1 = 3,
1: - DPLL_ID_ICL_MGPLL2 = 4,
1: - DPLL_ID_ICL_MGPLL3 = 5,
1: - DPLL_ID_ICL_MGPLL4 = 6,
1: - DPLL_ID_TGL_MGPLL5 = 7,
1: - DPLL_ID_TGL_MGPLL6 = 8,
1: + DPLL_ID_PRIVATE = -1,
1: + DPLL_ID_PCH_PLL_A = 0,
1: + DPLL_ID_PCH_PLL_B = 1,
1: + DPLL_ID_WRPLL1 = 0,
1: + DPLL_ID_WRPLL2 = 1,
1: + DPLL_ID_SPLL = 2,
1: + DPLL_ID_LCPLL_810 = 3,
1: + DPLL_ID_LCPLL_1350 = 4,
1: + DPLL_ID_LCPLL_2700 = 5,
1: + DPLL_ID_SKL_DPLL0 = 0,
1: + DPLL_ID_SKL_DPLL1 = 1,
1: + DPLL_ID_SKL_DPLL2 = 2,
1: + DPLL_ID_SKL_DPLL3 = 3,
1: + DPLL_ID_ICL_DPLL0 = 0,
1: + DPLL_ID_ICL_DPLL1 = 1,
1: + DPLL_ID_EHL_DPLL4 = 2,
1: + DPLL_ID_ICL_TBTPLL = 2,
1: + DPLL_ID_ICL_MGPLL1 = 3,
1: + DPLL_ID_ICL_MGPLL2 = 4,
1: + DPLL_ID_ICL_MGPLL3 = 5,
1: + DPLL_ID_ICL_MGPLL4 = 6,
1: + DPLL_ID_TGL_MGPLL5 = 7,
1: + DPLL_ID_TGL_MGPLL6 = 8,
1: };
1:
1: enum icl_port_dpll_id {
1: - ICL_PORT_DPLL_DEFAULT = 0,
1: - ICL_PORT_DPLL_MG_PHY = 1,
1: - ICL_PORT_DPLL_COUNT = 2,
1: + ICL_PORT_DPLL_DEFAULT = 0,
1: + ICL_PORT_DPLL_MG_PHY = 1,
1: + ICL_PORT_DPLL_COUNT = 2,
1: };
1:
1: struct intel_shared_dpll_funcs {
1: - void (*prepare)(struct drm_i915_private *, struct intel_shared_dpll *);
1: - void (*enable)(struct drm_i915_private *, struct intel_shared_dpll *);
1: - void (*disable)(struct drm_i915_private *, struct intel_shared_dpll *);
1: - bool (*get_hw_state)(struct drm_i915_private *, struct intel_shared_dpll *, struct intel_dpll_hw_state *);
1: + void (*prepare)(struct drm_i915_private *, struct intel_shared_dpll *);
1: + void (*enable)(struct drm_i915_private *, struct intel_shared_dpll *);
1: + void (*disable)(struct drm_i915_private *, struct intel_shared_dpll *);
1: + bool (*get_hw_state)(struct drm_i915_private *, struct intel_shared_dpll *,
1: + struct intel_dpll_hw_state *);
1: };
1:
1: struct dpll_info {
1: - const char *name;
1: - const struct intel_shared_dpll_funcs *funcs;
1: - enum intel_dpll_id id;
1: - u32 flags;
1: + const char *name;
1: + const struct intel_shared_dpll_funcs *funcs;
1: + enum intel_dpll_id id;
1: + u32 flags;
1: };
1:
1: enum dsb_id {
1: - INVALID_DSB = -1,
1: - DSB1 = 0,
1: - DSB2 = 1,
1: - DSB3 = 2,
1: - MAX_DSB_PER_PIPE = 3,
1: + INVALID_DSB = -1,
1: + DSB1 = 0,
1: + DSB2 = 1,
1: + DSB3 = 2,
1: + MAX_DSB_PER_PIPE = 3,
1: };
1:
1: struct intel_dsb {
1: - atomic_t refcount;
1: - enum dsb_id id;
1: - u32 *cmd_buf;
1: - struct i915_vma *vma;
1: - int free_pos;
1: - u32 ins_start_offset;
1: + atomic_t refcount;
1: + enum dsb_id id;
1: + u32 *cmd_buf;
1: + struct i915_vma *vma;
1: + int free_pos;
1: + u32 ins_start_offset;
1: };
1:
1: struct i915_page_sizes {
1: - unsigned int phys;
1: - unsigned int sg;
1: - unsigned int gtt;
1: + unsigned int phys;
1: + unsigned int sg;
1: + unsigned int gtt;
1: };
1:
1: struct i915_active_fence {
1: - struct dma_fence *fence;
1: - struct dma_fence_cb cb;
1: + struct dma_fence *fence;
1: + struct dma_fence_cb cb;
1: };
1:
1: struct active_node;
1:
1: struct i915_active {
1: - atomic_t count;
1: - struct mutex mutex;
1: - spinlock_t tree_lock;
1: - struct active_node *cache;
1: - struct rb_root tree;
1: - struct i915_active_fence excl;
1: - long unsigned int flags;
1: - int (*active)(struct i915_active *);
1: - void (*retire)(struct i915_active *);
1: - struct work_struct work;
1: - struct llist_head preallocated_barriers;
1: + atomic_t count;
1: + struct mutex mutex;
1: + spinlock_t tree_lock;
1: + struct active_node *cache;
1: + struct rb_root tree;
1: + struct i915_active_fence excl;
1: + long unsigned int flags;
1: + int (*active)(struct i915_active *);
1: + void (*retire)(struct i915_active *);
1: + struct work_struct work;
1: + struct llist_head preallocated_barriers;
1: };
1:
1: enum i915_ggtt_view_type {
1: - I915_GGTT_VIEW_NORMAL = 0,
1: - I915_GGTT_VIEW_ROTATED = 32,
1: - I915_GGTT_VIEW_PARTIAL = 12,
1: - I915_GGTT_VIEW_REMAPPED = 36,
1: + I915_GGTT_VIEW_NORMAL = 0,
1: + I915_GGTT_VIEW_ROTATED = 32,
1: + I915_GGTT_VIEW_PARTIAL = 12,
1: + I915_GGTT_VIEW_REMAPPED = 36,
1: };
1:
1: struct intel_partial_info {
1: - u64 offset;
1: - unsigned int size;
1: + u64 offset;
1: + unsigned int size;
1: } __attribute__((packed));
1:
1: struct intel_remapped_plane_info {
1: - unsigned int width;
1: - unsigned int height;
1: - unsigned int stride;
1: - unsigned int offset;
1: + unsigned int width;
1: + unsigned int height;
1: + unsigned int stride;
1: + unsigned int offset;
1: };
1:
1: struct intel_rotation_info {
1: - struct intel_remapped_plane_info plane[2];
1: + struct intel_remapped_plane_info plane[2];
1: };
1:
1: struct intel_remapped_info {
1: - struct intel_remapped_plane_info plane[2];
1: - unsigned int unused_mbz;
1: + struct intel_remapped_plane_info plane[2];
1: + unsigned int unused_mbz;
1: };
1:
1: struct i915_ggtt_view {
1: - enum i915_ggtt_view_type type;
1: - union {
1: - struct intel_partial_info partial;
1: - struct intel_rotation_info rotated;
1: - struct intel_remapped_info remapped;
1: - };
1: + enum i915_ggtt_view_type type;
1: + union {
1: + struct intel_partial_info partial;
1: + struct intel_rotation_info rotated;
1: + struct intel_remapped_info remapped;
1: + };
1: } __attribute__((packed));
1:
1: struct i915_vma {
1: - struct drm_mm_node node;
1: - struct drm_i915_gem_object *obj;
1: - struct i915_address_space *vm;
1: - const struct i915_vma_ops *ops;
1: - struct i915_fence_reg *fence;
1: - struct dma_resv *resv;
1: - struct sg_table *pages;
1: - void *iomap;
1: - void *private;
1: - u64 size;
1: - u64 display_alignment;
1: - struct i915_page_sizes page_sizes;
1: - u32 fence_size;
1: - u32 fence_alignment;
1: - atomic_t open_count;
1: - atomic_t flags;
1: - struct i915_active active;
1: - atomic_t pages_count;
1: - struct mutex pages_mutex;
1: - struct i915_ggtt_view ggtt_view;
1: - struct list_head vm_link;
1: - struct list_head obj_link;
1: - struct rb_node obj_node;
1: - struct hlist_node obj_hash;
1: - struct list_head exec_link;
1: - struct list_head reloc_link;
1: - struct list_head evict_link;
1: - struct list_head closed_link;
1: - unsigned int *exec_flags;
1: - struct hlist_node exec_node;
1: - u32 exec_handle;
1: -};
1: -
1: -enum {
1: - __I915_SAMPLE_FREQ_ACT = 0,
1: - __I915_SAMPLE_FREQ_REQ = 1,
1: - __I915_SAMPLE_RC6 = 2,
1: - __I915_SAMPLE_RC6_LAST_REPORTED = 3,
1: - __I915_NUM_PMU_SAMPLERS = 4,
1: + struct drm_mm_node node;
1: + struct drm_i915_gem_object *obj;
1: + struct i915_address_space *vm;
1: + const struct i915_vma_ops *ops;
1: + struct i915_fence_reg *fence;
1: + struct dma_resv *resv;
1: + struct sg_table *pages;
1: + void *iomap;
1: + void *private;
1: + u64 size;
1: + u64 display_alignment;
1: + struct i915_page_sizes page_sizes;
1: + u32 fence_size;
1: + u32 fence_alignment;
1: + atomic_t open_count;
1: + atomic_t flags;
1: + struct i915_active active;
1: + atomic_t pages_count;
1: + struct mutex pages_mutex;
1: + struct i915_ggtt_view ggtt_view;
1: + struct list_head vm_link;
1: + struct list_head obj_link;
1: + struct rb_node obj_node;
1: + struct hlist_node obj_hash;
1: + struct list_head exec_link;
1: + struct list_head reloc_link;
1: + struct list_head evict_link;
1: + struct list_head closed_link;
1: + unsigned int *exec_flags;
1: + struct hlist_node exec_node;
1: + u32 exec_handle;
1: +};
1: +
1: +enum {
1: + __I915_SAMPLE_FREQ_ACT = 0,
1: + __I915_SAMPLE_FREQ_REQ = 1,
1: + __I915_SAMPLE_RC6 = 2,
1: + __I915_SAMPLE_RC6_LAST_REPORTED = 3,
1: + __I915_NUM_PMU_SAMPLERS = 4,
1: };
1:
1: struct i915_priolist {
1: - struct list_head requests[4];
1: - struct rb_node node;
1: - long unsigned int used;
1: - int priority;
1: + struct list_head requests[4];
1: + struct rb_node node;
1: + long unsigned int used;
1: + int priority;
1: };
1:
1: struct intel_engine_pool {
1: - spinlock_t lock;
1: - struct list_head cache_list[4];
1: + spinlock_t lock;
1: + struct list_head cache_list[4];
1: };
1:
1: struct i915_gem_object_page_iter {
1: - struct scatterlist *sg_pos;
1: - unsigned int sg_idx;
1: - struct xarray radix;
1: - struct mutex lock;
1: + struct scatterlist *sg_pos;
1: + unsigned int sg_idx;
1: + struct xarray radix;
1: + struct mutex lock;
1: };
1:
1: struct i915_mm_struct;
1: @@ -72187,10 +72768,10 @@ struct i915_mm_struct;
1: struct i915_mmu_object;
1:
1: struct i915_gem_userptr {
1: - uintptr_t ptr;
1: - struct i915_mm_struct *mm;
1: - struct i915_mmu_object *mmu_object;
1: - struct work_struct *work;
1: + uintptr_t ptr;
1: + struct i915_mm_struct *mm;
1: + struct i915_mmu_object *mmu_object;
1: + struct work_struct *work;
1: };
1:
1: struct drm_i915_gem_object_ops;
1: @@ -72198,60 +72779,60 @@ struct drm_i915_gem_object_ops;
1: struct intel_frontbuffer;
1:
1: struct drm_i915_gem_object {
1: - struct drm_gem_object base;
1: - const struct drm_i915_gem_object_ops *ops;
1: - struct {
1: - spinlock_t lock;
1: - struct list_head list;
1: - struct rb_root tree;
1: - } vma;
1: - struct list_head lut_list;
1: - struct drm_mm_node *stolen;
1: - union {
1: - struct callback_head rcu;
1: - struct llist_node freed;
1: - };
1: - unsigned int userfault_count;
1: - struct list_head userfault_link;
1: - long unsigned int flags;
1: - unsigned int cache_level: 3;
1: - unsigned int cache_coherent: 2;
1: - unsigned int cache_dirty: 1;
1: - u16 read_domains;
1: - u16 write_domain;
1: - struct intel_frontbuffer *frontbuffer;
1: - unsigned int tiling_and_stride;
1: - atomic_t bind_count;
1: - struct {
1: - struct mutex lock;
1: - atomic_t pages_pin_count;
1: - atomic_t shrink_pin;
1: - struct intel_memory_region *region;
1: - struct list_head blocks;
1: - struct list_head region_link;
1: - struct sg_table *pages;
1: - void *mapping;
1: - struct i915_page_sizes page_sizes;
1: - struct i915_gem_object_page_iter get_page;
1: - struct list_head link;
1: - unsigned int madv: 2;
1: - bool dirty: 1;
1: - bool quirked: 1;
1: - } mm;
1: - long unsigned int *bit_17;
1: - union {
1: - struct i915_gem_userptr userptr;
1: - long unsigned int scratch;
1: - void *gvt_info;
1: - };
1: - struct drm_dma_handle *phys_handle;
1: + struct drm_gem_object base;
1: + const struct drm_i915_gem_object_ops *ops;
1: + struct {
1: + spinlock_t lock;
1: + struct list_head list;
1: + struct rb_root tree;
1: + } vma;
1: + struct list_head lut_list;
1: + struct drm_mm_node *stolen;
1: + union {
1: + struct callback_head rcu;
1: + struct llist_node freed;
1: + };
1: + unsigned int userfault_count;
1: + struct list_head userfault_link;
1: + long unsigned int flags;
1: + unsigned int cache_level : 3;
1: + unsigned int cache_coherent : 2;
1: + unsigned int cache_dirty : 1;
1: + u16 read_domains;
1: + u16 write_domain;
1: + struct intel_frontbuffer *frontbuffer;
1: + unsigned int tiling_and_stride;
1: + atomic_t bind_count;
1: + struct {
1: + struct mutex lock;
1: + atomic_t pages_pin_count;
1: + atomic_t shrink_pin;
1: + struct intel_memory_region *region;
1: + struct list_head blocks;
1: + struct list_head region_link;
1: + struct sg_table *pages;
1: + void *mapping;
1: + struct i915_page_sizes page_sizes;
1: + struct i915_gem_object_page_iter get_page;
1: + struct list_head link;
1: + unsigned int madv : 2;
1: + bool dirty : 1;
1: + bool quirked : 1;
1: + } mm;
1: + long unsigned int *bit_17;
1: + union {
1: + struct i915_gem_userptr userptr;
1: + long unsigned int scratch;
1: + void *gvt_info;
1: + };
1: + struct drm_dma_handle *phys_handle;
1: };
1:
1: struct intel_sseu {
1: - u8 slice_mask;
1: - u8 subslice_mask;
1: - u8 min_eus_per_subslice;
1: - u8 max_eus_per_subslice;
1: + u8 slice_mask;
1: + u8 subslice_mask;
1: + u8 min_eus_per_subslice;
1: + u8 max_eus_per_subslice;
1: };
1:
1: struct i915_syncmap;
1: @@ -72259,124 +72840,124 @@ struct i915_syncmap;
1: struct intel_timeline_cacheline;
1:
1: struct intel_timeline {
1: - u64 fence_context;
1: - u32 seqno;
1: - struct mutex mutex;
1: - atomic_t pin_count;
1: - atomic_t active_count;
1: - const u32 *hwsp_seqno;
1: - struct i915_vma *hwsp_ggtt;
1: - u32 hwsp_offset;
1: - struct intel_timeline_cacheline *hwsp_cacheline;
1: - bool has_initial_breadcrumb;
1: - struct list_head requests;
1: - struct i915_active_fence last_request;
1: - struct intel_timeline *retire;
1: - struct i915_syncmap *sync;
1: - struct list_head link;
1: - struct intel_gt *gt;
1: - struct kref kref;
1: - struct callback_head rcu;
1: + u64 fence_context;
1: + u32 seqno;
1: + struct mutex mutex;
1: + atomic_t pin_count;
1: + atomic_t active_count;
1: + const u32 *hwsp_seqno;
1: + struct i915_vma *hwsp_ggtt;
1: + u32 hwsp_offset;
1: + struct intel_timeline_cacheline *hwsp_cacheline;
1: + bool has_initial_breadcrumb;
1: + struct list_head requests;
1: + struct i915_active_fence last_request;
1: + struct intel_timeline *retire;
1: + struct i915_syncmap *sync;
1: + struct list_head link;
1: + struct intel_gt *gt;
1: + struct kref kref;
1: + struct callback_head rcu;
1: };
1:
1: struct i915_wa {
1: - i915_reg_t reg;
1: - u32 mask;
1: - u32 val;
1: - u32 read;
1: + i915_reg_t reg;
1: + u32 mask;
1: + u32 val;
1: + u32 read;
1: };
1:
1: struct intel_hw_status_page {
1: - struct i915_vma *vma;
1: - u32 *addr;
1: + struct i915_vma *vma;
1: + u32 *addr;
1: };
1:
1: struct intel_instdone {
1: - u32 instdone;
1: - u32 slice_common;
1: - u32 sampler[24];
1: - u32 row[24];
1: + u32 instdone;
1: + u32 slice_common;
1: + u32 sampler[24];
1: + u32 row[24];
1: };
1:
1: struct i915_wa_ctx_bb {
1: - u32 offset;
1: - u32 size;
1: + u32 offset;
1: + u32 size;
1: };
1:
1: struct i915_ctx_workarounds {
1: - struct i915_wa_ctx_bb indirect_ctx;
1: - struct i915_wa_ctx_bb per_ctx;
1: - struct i915_vma *vma;
1: + struct i915_wa_ctx_bb indirect_ctx;
1: + struct i915_wa_ctx_bb per_ctx;
1: + struct i915_vma *vma;
1: };
1:
1: enum intel_engine_id {
1: - RCS0 = 0,
1: - BCS0 = 1,
1: - VCS0 = 2,
1: - VCS1 = 3,
1: - VCS2 = 4,
1: - VCS3 = 5,
1: - VECS0 = 6,
1: - VECS1 = 7,
1: - I915_NUM_ENGINES = 8,
1: + RCS0 = 0,
1: + BCS0 = 1,
1: + VCS0 = 2,
1: + VCS1 = 3,
1: + VCS2 = 4,
1: + VCS3 = 5,
1: + VECS0 = 6,
1: + VECS1 = 7,
1: + I915_NUM_ENGINES = 8,
1: };
1:
1: struct i915_request;
1:
1: struct intel_engine_execlists {
1: - struct tasklet_struct tasklet;
1: - struct timer_list timer;
1: - struct timer_list preempt;
1: - struct i915_priolist default_priolist;
1: - bool no_priolist;
1: - u32 *submit_reg;
1: - u32 *ctrl_reg;
1: - struct i915_request * const *active;
1: - struct i915_request *inflight[3];
1: - struct i915_request *pending[3];
1: - unsigned int port_mask;
1: - int switch_priority_hint;
1: - int queue_priority_hint;
1: - struct rb_root_cached queue;
1: - struct rb_root_cached virtual;
1: - u32 *csb_write;
1: - u32 *csb_status;
1: - u8 csb_size;
1: - u8 csb_head;
1: + struct tasklet_struct tasklet;
1: + struct timer_list timer;
1: + struct timer_list preempt;
1: + struct i915_priolist default_priolist;
1: + bool no_priolist;
1: + u32 *submit_reg;
1: + u32 *ctrl_reg;
1: + struct i915_request *const *active;
1: + struct i915_request *inflight[3];
1: + struct i915_request *pending[3];
1: + unsigned int port_mask;
1: + int switch_priority_hint;
1: + int queue_priority_hint;
1: + struct rb_root_cached queue;
1: + struct rb_root_cached virtual;
1: + u32 *csb_write;
1: + u32 *csb_status;
1: + u8 csb_size;
1: + u8 csb_head;
1: };
1:
1: struct i915_sw_fence {
1: - wait_queue_head_t wait;
1: - long unsigned int flags;
1: - atomic_t pending;
1: - int error;
1: + wait_queue_head_t wait;
1: + long unsigned int flags;
1: + atomic_t pending;
1: + int error;
1: };
1:
1: struct i915_sw_dma_fence_cb {
1: - struct dma_fence_cb base;
1: - struct i915_sw_fence *fence;
1: + struct dma_fence_cb base;
1: + struct i915_sw_fence *fence;
1: };
1:
1: struct i915_sched_attr {
1: - int priority;
1: + int priority;
1: };
1:
1: struct i915_sched_node {
1: - struct list_head signalers_list;
1: - struct list_head waiters_list;
1: - struct list_head link;
1: - struct i915_sched_attr attr;
1: - unsigned int flags;
1: - intel_engine_mask_t semaphores;
1: + struct list_head signalers_list;
1: + struct list_head waiters_list;
1: + struct list_head link;
1: + struct i915_sched_attr attr;
1: + unsigned int flags;
1: + intel_engine_mask_t semaphores;
1: };
1:
1: struct i915_dependency {
1: - struct i915_sched_node *signaler;
1: - struct i915_sched_node *waiter;
1: - struct list_head signal_link;
1: - struct list_head wait_link;
1: - struct list_head dfs_link;
1: - long unsigned int flags;
1: + struct i915_sched_node *signaler;
1: + struct i915_sched_node *waiter;
1: + struct list_head signal_link;
1: + struct list_head wait_link;
1: + struct list_head dfs_link;
1: + long unsigned int flags;
1: };
1:
1: struct intel_context;
1: @@ -72386,69 +72967,69 @@ struct intel_ring;
1: struct i915_capture_list;
1:
1: struct i915_request {
1: - struct dma_fence fence;
1: - spinlock_t lock;
1: - struct drm_i915_private *i915;
1: - struct i915_gem_context *gem_context;
1: - struct intel_engine_cs *engine;
1: - struct intel_context *hw_context;
1: - struct intel_ring *ring;
1: - struct intel_timeline *timeline;
1: - struct list_head signal_link;
1: - long unsigned int rcustate;
1: - struct pin_cookie cookie;
1: - struct i915_sw_fence submit;
1: - union {
1: - wait_queue_entry_t submitq;
1: - struct i915_sw_dma_fence_cb dmaq;
1: - };
1: - struct list_head execute_cb;
1: - struct i915_sw_fence semaphore;
1: - struct i915_sched_node sched;
1: - struct i915_dependency dep;
1: - intel_engine_mask_t execution_mask;
1: - const u32 *hwsp_seqno;
1: - struct intel_timeline_cacheline *hwsp_cacheline;
1: - u32 head;
1: - u32 infix;
1: - u32 postfix;
1: - u32 tail;
1: - u32 wa_tail;
1: - u32 reserved_space;
1: - struct i915_vma *batch;
1: - struct i915_capture_list *capture_list;
1: - long unsigned int emitted_jiffies;
1: - long unsigned int flags;
1: - struct list_head link;
1: - struct drm_i915_file_private *file_priv;
1: - struct list_head client_link;
1: + struct dma_fence fence;
1: + spinlock_t lock;
1: + struct drm_i915_private *i915;
1: + struct i915_gem_context *gem_context;
1: + struct intel_engine_cs *engine;
1: + struct intel_context *hw_context;
1: + struct intel_ring *ring;
1: + struct intel_timeline *timeline;
1: + struct list_head signal_link;
1: + long unsigned int rcustate;
1: + struct pin_cookie cookie;
1: + struct i915_sw_fence submit;
1: + union {
1: + wait_queue_entry_t submitq;
1: + struct i915_sw_dma_fence_cb dmaq;
1: + };
1: + struct list_head execute_cb;
1: + struct i915_sw_fence semaphore;
1: + struct i915_sched_node sched;
1: + struct i915_dependency dep;
1: + intel_engine_mask_t execution_mask;
1: + const u32 *hwsp_seqno;
1: + struct intel_timeline_cacheline *hwsp_cacheline;
1: + u32 head;
1: + u32 infix;
1: + u32 postfix;
1: + u32 tail;
1: + u32 wa_tail;
1: + u32 reserved_space;
1: + struct i915_vma *batch;
1: + struct i915_capture_list *capture_list;
1: + long unsigned int emitted_jiffies;
1: + long unsigned int flags;
1: + struct list_head link;
1: + struct drm_i915_file_private *file_priv;
1: + struct list_head client_link;
1: };
1:
1: struct intel_ring {
1: - struct kref ref;
1: - struct i915_vma *vma;
1: - void *vaddr;
1: - atomic_t pin_count;
1: - u32 head;
1: - u32 tail;
1: - u32 emit;
1: - u32 space;
1: - u32 size;
1: - u32 effective_size;
1: + struct kref ref;
1: + struct i915_vma *vma;
1: + void *vaddr;
1: + atomic_t pin_count;
1: + u32 head;
1: + u32 tail;
1: + u32 emit;
1: + u32 space;
1: + u32 size;
1: + u32 effective_size;
1: };
1:
1: struct intel_breadcrumbs {
1: - spinlock_t irq_lock;
1: - struct list_head signalers;
1: - struct irq_work irq_work;
1: - unsigned int irq_enabled;
1: - bool irq_armed;
1: + spinlock_t irq_lock;
1: + struct list_head signalers;
1: + struct irq_work irq_work;
1: + unsigned int irq_enabled;
1: + bool irq_armed;
1: };
1:
1: struct intel_engine_pmu {
1: - u32 enable;
1: - unsigned int enable_count[3];
1: - struct i915_pmu_sample sample[3];
1: + u32 enable;
1: + unsigned int enable_count[3];
1: + struct i915_pmu_sample sample[3];
1: };
1:
1: struct intel_context_ops;
1: @@ -72456,432 +73037,434 @@ struct intel_context_ops;
1: struct drm_i915_reg_table;
1:
1: struct intel_engine_cs {
1: - struct drm_i915_private *i915;
1: - struct intel_gt *gt;
1: - struct intel_uncore *uncore;
1: - char name[8];
1: - enum intel_engine_id id;
1: - enum intel_engine_id legacy_idx;
1: - unsigned int hw_id;
1: - unsigned int guc_id;
1: - intel_engine_mask_t mask;
1: - u8 class;
1: - u8 instance;
1: - u16 uabi_class;
1: - u16 uabi_instance;
1: - u32 uabi_capabilities;
1: - u32 context_size;
1: - u32 mmio_base;
1: - unsigned int context_tag;
1: - struct rb_node uabi_node;
1: - struct intel_sseu sseu;
1: - struct {
1: - spinlock_t lock;
1: - struct list_head requests;
1: - } active;
1: - struct llist_head barrier_tasks;
1: - struct intel_context *kernel_context;
1: - intel_engine_mask_t saturated;
1: - struct {
1: - struct delayed_work work;
1: - struct i915_request *systole;
1: - } heartbeat;
1: - long unsigned int serial;
1: - long unsigned int wakeref_serial;
1: - struct intel_wakeref wakeref;
1: - struct drm_i915_gem_object *default_state;
1: - void *pinned_default_state;
1: - struct {
1: - struct intel_ring *ring;
1: - struct intel_timeline *timeline;
1: - } legacy;
1: - struct intel_breadcrumbs breadcrumbs;
1: - struct intel_engine_pmu pmu;
1: - struct intel_engine_pool pool;
1: - struct intel_hw_status_page status_page;
1: - struct i915_ctx_workarounds wa_ctx;
1: - struct i915_wa_list ctx_wa_list;
1: - struct i915_wa_list wa_list;
1: - struct i915_wa_list whitelist;
1: - u32 irq_keep_mask;
1: - u32 irq_enable_mask;
1: - void (*irq_enable)(struct intel_engine_cs *);
1: - void (*irq_disable)(struct intel_engine_cs *);
1: - int (*resume)(struct intel_engine_cs *);
1: - struct {
1: - void (*prepare)(struct intel_engine_cs *);
1: - void (*reset)(struct intel_engine_cs *, bool);
1: - void (*finish)(struct intel_engine_cs *);
1: - } reset;
1: - void (*park)(struct intel_engine_cs *);
1: - void (*unpark)(struct intel_engine_cs *);
1: - void (*set_default_submission)(struct intel_engine_cs *);
1: - const struct intel_context_ops *cops;
1: - int (*request_alloc)(struct i915_request *);
1: - int (*emit_flush)(struct i915_request *, u32);
1: - int (*emit_bb_start)(struct i915_request *, u64, u32, unsigned int);
1: - int (*emit_init_breadcrumb)(struct i915_request *);
1: - u32 * (*emit_fini_breadcrumb)(struct i915_request *, u32 *);
1: - unsigned int emit_fini_breadcrumb_dw;
1: - void (*submit_request)(struct i915_request *);
1: - void (*bond_execute)(struct i915_request *, struct dma_fence *);
1: - void (*schedule)(struct i915_request *, const struct i915_sched_attr *);
1: - void (*cancel_requests)(struct intel_engine_cs *);
1: - void (*destroy)(struct intel_engine_cs *);
1: - struct intel_engine_execlists execlists;
1: - struct intel_timeline *retire;
1: - struct work_struct retire_work;
1: - struct atomic_notifier_head context_status_notifier;
1: - unsigned int flags;
1: - struct hlist_head cmd_hash[512];
1: - const struct drm_i915_reg_table *reg_tables;
1: - int reg_table_count;
1: - u32 (*get_cmd_length_mask)(u32);
1: - struct {
1: - seqlock_t lock;
1: - unsigned int enabled;
1: - unsigned int active;
1: - ktime_t enabled_at;
1: - ktime_t start;
1: - ktime_t total;
1: - } stats;
1: - struct {
1: - long unsigned int heartbeat_interval_ms;
1: - long unsigned int preempt_timeout_ms;
1: - long unsigned int stop_timeout_ms;
1: - long unsigned int timeslice_duration_ms;
1: - } props;
1: + struct drm_i915_private *i915;
1: + struct intel_gt *gt;
1: + struct intel_uncore *uncore;
1: + char name[8];
1: + enum intel_engine_id id;
1: + enum intel_engine_id legacy_idx;
1: + unsigned int hw_id;
1: + unsigned int guc_id;
1: + intel_engine_mask_t mask;
1: + u8 class;
1: + u8 instance;
1: + u16 uabi_class;
1: + u16 uabi_instance;
1: + u32 uabi_capabilities;
1: + u32 context_size;
1: + u32 mmio_base;
1: + unsigned int context_tag;
1: + struct rb_node uabi_node;
1: + struct intel_sseu sseu;
1: + struct {
1: + spinlock_t lock;
1: + struct list_head requests;
1: + } active;
1: + struct llist_head barrier_tasks;
1: + struct intel_context *kernel_context;
1: + intel_engine_mask_t saturated;
1: + struct {
1: + struct delayed_work work;
1: + struct i915_request *systole;
1: + } heartbeat;
1: + long unsigned int serial;
1: + long unsigned int wakeref_serial;
1: + struct intel_wakeref wakeref;
1: + struct drm_i915_gem_object *default_state;
1: + void *pinned_default_state;
1: + struct {
1: + struct intel_ring *ring;
1: + struct intel_timeline *timeline;
1: + } legacy;
1: + struct intel_breadcrumbs breadcrumbs;
1: + struct intel_engine_pmu pmu;
1: + struct intel_engine_pool pool;
1: + struct intel_hw_status_page status_page;
1: + struct i915_ctx_workarounds wa_ctx;
1: + struct i915_wa_list ctx_wa_list;
1: + struct i915_wa_list wa_list;
1: + struct i915_wa_list whitelist;
1: + u32 irq_keep_mask;
1: + u32 irq_enable_mask;
1: + void (*irq_enable)(struct intel_engine_cs *);
1: + void (*irq_disable)(struct intel_engine_cs *);
1: + int (*resume)(struct intel_engine_cs *);
1: + struct {
1: + void (*prepare)(struct intel_engine_cs *);
1: + void (*reset)(struct intel_engine_cs *, bool);
1: + void (*finish)(struct intel_engine_cs *);
1: + } reset;
1: + void (*park)(struct intel_engine_cs *);
1: + void (*unpark)(struct intel_engine_cs *);
1: + void (*set_default_submission)(struct intel_engine_cs *);
1: + const struct intel_context_ops *cops;
1: + int (*request_alloc)(struct i915_request *);
1: + int (*emit_flush)(struct i915_request *, u32);
1: + int (*emit_bb_start)(struct i915_request *, u64, u32, unsigned int);
1: + int (*emit_init_breadcrumb)(struct i915_request *);
1: + u32 *(*emit_fini_breadcrumb)(struct i915_request *, u32 *);
1: + unsigned int emit_fini_breadcrumb_dw;
1: + void (*submit_request)(struct i915_request *);
1: + void (*bond_execute)(struct i915_request *, struct dma_fence *);
1: + void (*schedule)(struct i915_request *, const struct i915_sched_attr *);
1: + void (*cancel_requests)(struct intel_engine_cs *);
1: + void (*destroy)(struct intel_engine_cs *);
1: + struct intel_engine_execlists execlists;
1: + struct intel_timeline *retire;
1: + struct work_struct retire_work;
1: + struct atomic_notifier_head context_status_notifier;
1: + unsigned int flags;
1: + struct hlist_head cmd_hash[512];
1: + const struct drm_i915_reg_table *reg_tables;
1: + int reg_table_count;
1: + u32 (*get_cmd_length_mask)(u32);
1: + struct {
1: + seqlock_t lock;
1: + unsigned int enabled;
1: + unsigned int active;
1: + ktime_t enabled_at;
1: + ktime_t start;
1: + ktime_t total;
1: + } stats;
1: + struct {
1: + long unsigned int heartbeat_interval_ms;
1: + long unsigned int preempt_timeout_ms;
1: + long unsigned int stop_timeout_ms;
1: + long unsigned int timeslice_duration_ms;
1: + } props;
1: };
1:
1: struct intel_context {
1: - struct kref ref;
1: - struct intel_engine_cs *engine;
1: - struct intel_engine_cs *inflight;
1: - struct i915_address_space *vm;
1: - struct i915_gem_context *gem_context;
1: - struct list_head signal_link;
1: - struct list_head signals;
1: - struct i915_vma *state;
1: - struct intel_ring *ring;
1: - struct intel_timeline *timeline;
1: - long unsigned int flags;
1: - u32 *lrc_reg_state;
1: - u64 lrc_desc;
1: - u32 tag;
1: - unsigned int active_count;
1: - atomic_t pin_count;
1: - struct mutex pin_mutex;
1: - struct i915_active active;
1: - const struct intel_context_ops *ops;
1: - struct intel_sseu sseu;
1: + struct kref ref;
1: + struct intel_engine_cs *engine;
1: + struct intel_engine_cs *inflight;
1: + struct i915_address_space *vm;
1: + struct i915_gem_context *gem_context;
1: + struct list_head signal_link;
1: + struct list_head signals;
1: + struct i915_vma *state;
1: + struct intel_ring *ring;
1: + struct intel_timeline *timeline;
1: + long unsigned int flags;
1: + u32 *lrc_reg_state;
1: + u64 lrc_desc;
1: + u32 tag;
1: + unsigned int active_count;
1: + atomic_t pin_count;
1: + struct mutex pin_mutex;
1: + struct i915_active active;
1: + const struct intel_context_ops *ops;
1: + struct intel_sseu sseu;
1: };
1:
1: struct intel_context_ops {
1: - int (*alloc)(struct intel_context *);
1: - int (*pin)(struct intel_context *);
1: - void (*unpin)(struct intel_context *);
1: - void (*enter)(struct intel_context *);
1: - void (*exit)(struct intel_context *);
1: - void (*reset)(struct intel_context *);
1: - void (*destroy)(struct kref *);
1: + int (*alloc)(struct intel_context *);
1: + int (*pin)(struct intel_context *);
1: + void (*unpin)(struct intel_context *);
1: + void (*enter)(struct intel_context *);
1: + void (*exit)(struct intel_context *);
1: + void (*reset)(struct intel_context *);
1: + void (*destroy)(struct kref *);
1: };
1:
1: struct drm_i915_reg_descriptor;
1:
1: struct drm_i915_reg_table {
1: - const struct drm_i915_reg_descriptor *regs;
1: - int num_regs;
1: + const struct drm_i915_reg_descriptor *regs;
1: + int num_regs;
1: };
1:
1: struct i915_gem_engines;
1:
1: struct i915_gem_context {
1: - struct drm_i915_private *i915;
1: - struct drm_i915_file_private *file_priv;
1: - struct i915_gem_engines *engines;
1: - struct mutex engines_mutex;
1: - struct intel_timeline *timeline;
1: - struct i915_address_space *vm;
1: - struct pid *pid;
1: - const char *name;
1: - struct list_head link;
1: - struct llist_node free_link;
1: - struct kref ref;
1: - struct callback_head rcu;
1: - long unsigned int user_flags;
1: - long unsigned int flags;
1: - struct mutex mutex;
1: - struct i915_sched_attr sched;
1: - atomic_t guilty_count;
1: - atomic_t active_count;
1: - long unsigned int hang_timestamp[2];
1: - u8 remap_slice;
1: - struct xarray handles_vma;
1: - long unsigned int *jump_whitelist;
1: - u32 jump_whitelist_cmds;
1: + struct drm_i915_private *i915;
1: + struct drm_i915_file_private *file_priv;
1: + struct i915_gem_engines *engines;
1: + struct mutex engines_mutex;
1: + struct intel_timeline *timeline;
1: + struct i915_address_space *vm;
1: + struct pid *pid;
1: + const char *name;
1: + struct list_head link;
1: + struct llist_node free_link;
1: + struct kref ref;
1: + struct callback_head rcu;
1: + long unsigned int user_flags;
1: + long unsigned int flags;
1: + struct mutex mutex;
1: + struct i915_sched_attr sched;
1: + atomic_t guilty_count;
1: + atomic_t active_count;
1: + long unsigned int hang_timestamp[2];
1: + u8 remap_slice;
1: + struct xarray handles_vma;
1: + long unsigned int *jump_whitelist;
1: + u32 jump_whitelist_cmds;
1: };
1:
1: struct i915_capture_list {
1: - struct i915_capture_list *next;
1: - struct i915_vma *vma;
1: + struct i915_capture_list *next;
1: + struct i915_vma *vma;
1: };
1:
1: struct drm_i915_file_private {
1: - struct drm_i915_private *dev_priv;
1: - union {
1: - struct drm_file *file;
1: - struct callback_head rcu;
1: - };
1: - struct {
1: - spinlock_t lock;
1: - struct list_head request_list;
1: - } mm;
1: - struct idr context_idr;
1: - struct mutex context_idr_lock;
1: - struct idr vm_idr;
1: - struct mutex vm_idr_lock;
1: - unsigned int bsd_engine;
1: - atomic_t ban_score;
1: - long unsigned int hang_timestamp;
1: + struct drm_i915_private *dev_priv;
1: + union {
1: + struct drm_file *file;
1: + struct callback_head rcu;
1: + };
1: + struct {
1: + spinlock_t lock;
1: + struct list_head request_list;
1: + } mm;
1: + struct idr context_idr;
1: + struct mutex context_idr_lock;
1: + struct idr vm_idr;
1: + struct mutex vm_idr_lock;
1: + unsigned int bsd_engine;
1: + atomic_t ban_score;
1: + long unsigned int hang_timestamp;
1: };
1:
1: struct drm_i915_gem_object_ops {
1: - unsigned int flags;
1: - int (*get_pages)(struct drm_i915_gem_object *);
1: - void (*put_pages)(struct drm_i915_gem_object *, struct sg_table *);
1: - void (*truncate)(struct drm_i915_gem_object *);
1: - void (*writeback)(struct drm_i915_gem_object *);
1: - int (*pwrite)(struct drm_i915_gem_object *, const struct drm_i915_gem_pwrite *);
1: - int (*dmabuf_export)(struct drm_i915_gem_object *);
1: - void (*release)(struct drm_i915_gem_object *);
1: + unsigned int flags;
1: + int (*get_pages)(struct drm_i915_gem_object *);
1: + void (*put_pages)(struct drm_i915_gem_object *, struct sg_table *);
1: + void (*truncate)(struct drm_i915_gem_object *);
1: + void (*writeback)(struct drm_i915_gem_object *);
1: + int (*pwrite)(struct drm_i915_gem_object *,
1: + const struct drm_i915_gem_pwrite *);
1: + int (*dmabuf_export)(struct drm_i915_gem_object *);
1: + void (*release)(struct drm_i915_gem_object *);
1: };
1:
1: struct i915_buddy_block;
1:
1: struct i915_buddy_mm {
1: - struct list_head *free_list;
1: - struct i915_buddy_block **roots;
1: - unsigned int n_roots;
1: - unsigned int max_order;
1: - u64 chunk_size;
1: - u64 size;
1: + struct list_head *free_list;
1: + struct i915_buddy_block **roots;
1: + unsigned int n_roots;
1: + unsigned int max_order;
1: + u64 chunk_size;
1: + u64 size;
1: };
1:
1: struct intel_memory_region_ops;
1:
1: struct intel_memory_region {
1: - struct drm_i915_private *i915;
1: - const struct intel_memory_region_ops *ops;
1: - struct io_mapping iomap;
1: - struct resource region;
1: - struct drm_mm_node fake_mappable;
1: - struct i915_buddy_mm mm;
1: - struct mutex mm_lock;
1: - struct kref kref;
1: - resource_size_t io_start;
1: - resource_size_t min_page_size;
1: - unsigned int type;
1: - unsigned int instance;
1: - unsigned int id;
1: - dma_addr_t remap_addr;
1: - struct {
1: - struct mutex lock;
1: - struct list_head list;
1: - struct list_head purgeable;
1: - } objects;
1: + struct drm_i915_private *i915;
1: + const struct intel_memory_region_ops *ops;
1: + struct io_mapping iomap;
1: + struct resource region;
1: + struct drm_mm_node fake_mappable;
1: + struct i915_buddy_mm mm;
1: + struct mutex mm_lock;
1: + struct kref kref;
1: + resource_size_t io_start;
1: + resource_size_t min_page_size;
1: + unsigned int type;
1: + unsigned int instance;
1: + unsigned int id;
1: + dma_addr_t remap_addr;
1: + struct {
1: + struct mutex lock;
1: + struct list_head list;
1: + struct list_head purgeable;
1: + } objects;
1: };
1:
1: struct intel_frontbuffer {
1: - struct kref ref;
1: - atomic_t bits;
1: - struct i915_active write;
1: - struct drm_i915_gem_object *obj;
1: - struct callback_head rcu;
1: + struct kref ref;
1: + atomic_t bits;
1: + struct i915_active write;
1: + struct drm_i915_gem_object *obj;
1: + struct callback_head rcu;
1: };
1:
1: struct i915_gem_engines {
1: - struct callback_head rcu;
1: - unsigned int num_engines;
1: - struct intel_context *engines[0];
1: + struct callback_head rcu;
1: + unsigned int num_engines;
1: + struct intel_context *engines[0];
1: };
1:
1: enum forcewake_domain_id {
1: - FW_DOMAIN_ID_RENDER = 0,
1: - FW_DOMAIN_ID_BLITTER = 1,
1: - FW_DOMAIN_ID_MEDIA = 2,
1: - FW_DOMAIN_ID_MEDIA_VDBOX0 = 3,
1: - FW_DOMAIN_ID_MEDIA_VDBOX1 = 4,
1: - FW_DOMAIN_ID_MEDIA_VDBOX2 = 5,
1: - FW_DOMAIN_ID_MEDIA_VDBOX3 = 6,
1: - FW_DOMAIN_ID_MEDIA_VEBOX0 = 7,
1: - FW_DOMAIN_ID_MEDIA_VEBOX1 = 8,
1: - FW_DOMAIN_ID_COUNT = 9,
1: + FW_DOMAIN_ID_RENDER = 0,
1: + FW_DOMAIN_ID_BLITTER = 1,
1: + FW_DOMAIN_ID_MEDIA = 2,
1: + FW_DOMAIN_ID_MEDIA_VDBOX0 = 3,
1: + FW_DOMAIN_ID_MEDIA_VDBOX1 = 4,
1: + FW_DOMAIN_ID_MEDIA_VDBOX2 = 5,
1: + FW_DOMAIN_ID_MEDIA_VDBOX3 = 6,
1: + FW_DOMAIN_ID_MEDIA_VEBOX0 = 7,
1: + FW_DOMAIN_ID_MEDIA_VEBOX1 = 8,
1: + FW_DOMAIN_ID_COUNT = 9,
1: };
1:
1: struct intel_forcewake_range {
1: - u32 start;
1: - u32 end;
1: - enum forcewake_domains domains;
1: + u32 start;
1: + u32 end;
1: + enum forcewake_domains domains;
1: };
1:
1: struct intel_uncore_forcewake_domain {
1: - struct intel_uncore *uncore;
1: - enum forcewake_domain_id id;
1: - enum forcewake_domains mask;
1: - unsigned int wake_count;
1: - bool active;
1: - struct hrtimer timer;
1: - u32 *reg_set;
1: - u32 *reg_ack;
1: + struct intel_uncore *uncore;
1: + enum forcewake_domain_id id;
1: + enum forcewake_domains mask;
1: + unsigned int wake_count;
1: + bool active;
1: + struct hrtimer timer;
1: + u32 *reg_set;
1: + u32 *reg_ack;
1: };
1:
1: struct guc_ct_buffer_desc {
1: - u32 addr;
1: - u64 host_private;
1: - u32 size;
1: - u32 head;
1: - u32 tail;
1: - u32 is_in_error;
1: - u32 fence;
1: - u32 status;
1: - u32 owner;
1: - u32 owner_sub_id;
1: - u32 reserved[5];
1: + u32 addr;
1: + u64 host_private;
1: + u32 size;
1: + u32 head;
1: + u32 tail;
1: + u32 is_in_error;
1: + u32 fence;
1: + u32 status;
1: + u32 owner;
1: + u32 owner_sub_id;
1: + u32 reserved[5];
1: } __attribute__((packed));
1:
1: enum guc_log_buffer_type {
1: - GUC_ISR_LOG_BUFFER = 0,
1: - GUC_DPC_LOG_BUFFER = 1,
1: - GUC_CRASH_DUMP_LOG_BUFFER = 2,
1: - GUC_MAX_LOG_BUFFER = 3,
1: + GUC_ISR_LOG_BUFFER = 0,
1: + GUC_DPC_LOG_BUFFER = 1,
1: + GUC_CRASH_DUMP_LOG_BUFFER = 2,
1: + GUC_MAX_LOG_BUFFER = 3,
1: };
1:
1: struct i915_page_table {
1: - struct i915_page_dma base;
1: - atomic_t used;
1: + struct i915_page_dma base;
1: + atomic_t used;
1: };
1:
1: struct i915_page_directory {
1: - struct i915_page_table pt;
1: - spinlock_t lock;
1: - void *entry[512];
1: + struct i915_page_table pt;
1: + spinlock_t lock;
1: + void *entry[512];
1: };
1:
1: struct i915_ppgtt {
1: - struct i915_address_space vm;
1: - struct i915_page_directory *pd;
1: + struct i915_address_space vm;
1: + struct i915_page_directory *pd;
1: };
1:
1: struct i915_buddy_block {
1: - u64 header;
1: - struct i915_buddy_block *left;
1: - struct i915_buddy_block *right;
1: - struct i915_buddy_block *parent;
1: - void *private;
1: - struct list_head link;
1: - struct list_head tmp_link;
1: + u64 header;
1: + struct i915_buddy_block *left;
1: + struct i915_buddy_block *right;
1: + struct i915_buddy_block *parent;
1: + void *private;
1: + struct list_head link;
1: + struct list_head tmp_link;
1: };
1:
1: enum intel_region_id {
1: - INTEL_REGION_SMEM = 0,
1: - INTEL_REGION_LMEM = 1,
1: - INTEL_REGION_STOLEN = 2,
1: - INTEL_REGION_UNKNOWN = 3,
1: + INTEL_REGION_SMEM = 0,
1: + INTEL_REGION_LMEM = 1,
1: + INTEL_REGION_STOLEN = 2,
1: + INTEL_REGION_UNKNOWN = 3,
1: };
1:
1: struct intel_memory_region_ops {
1: - unsigned int flags;
1: - int (*init)(struct intel_memory_region *);
1: - void (*release)(struct intel_memory_region *);
1: - struct drm_i915_gem_object * (*create_object)(struct intel_memory_region *, resource_size_t, unsigned int);
1: + unsigned int flags;
1: + int (*init)(struct intel_memory_region *);
1: + void (*release)(struct intel_memory_region *);
1: + struct drm_i915_gem_object *(*create_object)(struct intel_memory_region *,
1: + resource_size_t, unsigned int);
1: };
1:
1: struct drm_i915_error_object;
1:
1: struct i915_error_uc {
1: - struct intel_uc_fw guc_fw;
1: - struct intel_uc_fw huc_fw;
1: - struct drm_i915_error_object *guc_log;
1: + struct intel_uc_fw guc_fw;
1: + struct intel_uc_fw huc_fw;
1: + struct drm_i915_error_object *guc_log;
1: };
1:
1: struct drm_i915_error_object {
1: - u64 gtt_offset;
1: - u64 gtt_size;
1: - u32 gtt_page_sizes;
1: - int num_pages;
1: - int page_count;
1: - int unused;
1: - u32 *pages[0];
1: + u64 gtt_offset;
1: + u64 gtt_size;
1: + u32 gtt_page_sizes;
1: + int num_pages;
1: + int page_count;
1: + int unused;
1: + u32 *pages[0];
1: };
1:
1: struct drm_i915_error_context {
1: - char comm[16];
1: - pid_t pid;
1: - int active;
1: - int guilty;
1: - struct i915_sched_attr sched_attr;
1: + char comm[16];
1: + pid_t pid;
1: + int active;
1: + int guilty;
1: + struct i915_sched_attr sched_attr;
1: };
1:
1: struct drm_i915_error_request {
1: - long unsigned int flags;
1: - long int jiffies;
1: - pid_t pid;
1: - u32 context;
1: - u32 seqno;
1: - u32 start;
1: - u32 head;
1: - u32 tail;
1: - struct i915_sched_attr sched_attr;
1: + long unsigned int flags;
1: + long int jiffies;
1: + pid_t pid;
1: + u32 context;
1: + u32 seqno;
1: + u32 start;
1: + u32 head;
1: + u32 tail;
1: + struct i915_sched_attr sched_attr;
1: };
1:
1: struct drm_i915_error_engine {
1: - const struct intel_engine_cs *engine;
1: - bool idle;
1: - int num_requests;
1: - u32 reset_count;
1: - u32 rq_head;
1: - u32 rq_post;
1: - u32 rq_tail;
1: - u32 cpu_ring_head;
1: - u32 cpu_ring_tail;
1: - u32 start;
1: - u32 tail;
1: - u32 head;
1: - u32 ctl;
1: - u32 mode;
1: - u32 hws;
1: - u32 ipeir;
1: - u32 ipehr;
1: - u32 bbstate;
1: - u32 instpm;
1: - u32 instps;
1: - u64 bbaddr;
1: - u64 acthd;
1: - u32 fault_reg;
1: - u64 faddr;
1: - u32 rc_psmi;
1: - struct intel_instdone instdone;
1: - struct drm_i915_error_context context;
1: - struct drm_i915_error_object *ringbuffer;
1: - struct drm_i915_error_object *batchbuffer;
1: - struct drm_i915_error_object *wa_batchbuffer;
1: - struct drm_i915_error_object *ctx;
1: - struct drm_i915_error_object *hws_page;
1: - struct drm_i915_error_object **user_bo;
1: - long int user_bo_count;
1: - struct drm_i915_error_object *wa_ctx;
1: - struct drm_i915_error_object *default_state;
1: - struct drm_i915_error_request *requests;
1: - struct drm_i915_error_request execlist[2];
1: - unsigned int num_ports;
1: - struct {
1: - u32 gfx_mode;
1: - union {
1: - u64 pdp[4];
1: - u32 pp_dir_base;
1: - };
1: - } vm_info;
1: - struct drm_i915_error_engine *next;
1: + const struct intel_engine_cs *engine;
1: + bool idle;
1: + int num_requests;
1: + u32 reset_count;
1: + u32 rq_head;
1: + u32 rq_post;
1: + u32 rq_tail;
1: + u32 cpu_ring_head;
1: + u32 cpu_ring_tail;
1: + u32 start;
1: + u32 tail;
1: + u32 head;
1: + u32 ctl;
1: + u32 mode;
1: + u32 hws;
1: + u32 ipeir;
1: + u32 ipehr;
1: + u32 bbstate;
1: + u32 instpm;
1: + u32 instps;
1: + u64 bbaddr;
1: + u64 acthd;
1: + u32 fault_reg;
1: + u64 faddr;
1: + u32 rc_psmi;
1: + struct intel_instdone instdone;
1: + struct drm_i915_error_context context;
1: + struct drm_i915_error_object *ringbuffer;
1: + struct drm_i915_error_object *batchbuffer;
1: + struct drm_i915_error_object *wa_batchbuffer;
1: + struct drm_i915_error_object *ctx;
1: + struct drm_i915_error_object *hws_page;
1: + struct drm_i915_error_object **user_bo;
1: + long int user_bo_count;
1: + struct drm_i915_error_object *wa_ctx;
1: + struct drm_i915_error_object *default_state;
1: + struct drm_i915_error_request *requests;
1: + struct drm_i915_error_request execlist[2];
1: + unsigned int num_ports;
1: + struct {
1: + u32 gfx_mode;
1: + union {
1: + u64 pdp[4];
1: + u32 pp_dir_base;
1: + };
1: + } vm_info;
1: + struct drm_i915_error_engine *next;
1: };
1:
1: struct intel_overlay_error_state;
1: @@ -72889,1933 +73472,1961 @@ struct intel_overlay_error_state;
1: struct intel_display_error_state;
1:
1: struct i915_gpu_state {
1: - struct kref ref;
1: - ktime_t time;
1: - ktime_t boottime;
1: - ktime_t uptime;
1: - long unsigned int capture;
1: - struct drm_i915_private *i915;
1: - char error_msg[128];
1: - bool simulated;
1: - bool awake;
1: - bool wakelock;
1: - bool suspended;
1: - int iommu;
1: - u32 reset_count;
1: - u32 suspend_count;
1: - struct intel_device_info device_info;
1: - struct intel_runtime_info runtime_info;
1: - struct intel_driver_caps driver_caps;
1: - struct i915_params params;
1: - struct i915_error_uc uc;
1: - u32 eir;
1: - u32 pgtbl_er;
1: - u32 ier;
1: - u32 gtier[6];
1: - u32 ngtier;
1: - u32 ccid;
1: - u32 derrmr;
1: - u32 forcewake;
1: - u32 error;
1: - u32 err_int;
1: - u32 fault_data0;
1: - u32 fault_data1;
1: - u32 done_reg;
1: - u32 gac_eco;
1: - u32 gam_ecochk;
1: - u32 gab_ctl;
1: - u32 gfx_mode;
1: - u32 gtt_cache;
1: - u32 aux_err;
1: - u32 sfc_done[4];
1: - u32 gam_done;
1: - u32 nfence;
1: - u64 fence[32];
1: - struct intel_overlay_error_state *overlay;
1: - struct intel_display_error_state *display;
1: - struct drm_i915_error_engine *engine;
1: - struct scatterlist *sgl;
1: - struct scatterlist *fit;
1: + struct kref ref;
1: + ktime_t time;
1: + ktime_t boottime;
1: + ktime_t uptime;
1: + long unsigned int capture;
1: + struct drm_i915_private *i915;
1: + char error_msg[128];
1: + bool simulated;
1: + bool awake;
1: + bool wakelock;
1: + bool suspended;
1: + int iommu;
1: + u32 reset_count;
1: + u32 suspend_count;
1: + struct intel_device_info device_info;
1: + struct intel_runtime_info runtime_info;
1: + struct intel_driver_caps driver_caps;
1: + struct i915_params params;
1: + struct i915_error_uc uc;
1: + u32 eir;
1: + u32 pgtbl_er;
1: + u32 ier;
1: + u32 gtier[6];
1: + u32 ngtier;
1: + u32 ccid;
1: + u32 derrmr;
1: + u32 forcewake;
1: + u32 error;
1: + u32 err_int;
1: + u32 fault_data0;
1: + u32 fault_data1;
1: + u32 done_reg;
1: + u32 gac_eco;
1: + u32 gam_ecochk;
1: + u32 gab_ctl;
1: + u32 gfx_mode;
1: + u32 gtt_cache;
1: + u32 aux_err;
1: + u32 sfc_done[4];
1: + u32 gam_done;
1: + u32 nfence;
1: + u64 fence[32];
1: + struct intel_overlay_error_state *overlay;
1: + struct intel_display_error_state *display;
1: + struct drm_i915_error_engine *engine;
1: + struct scatterlist *sgl;
1: + struct scatterlist *fit;
1: };
1:
1: struct i915_oa_format {
1: - u32 format;
1: - int size;
1: + u32 format;
1: + int size;
1: };
1:
1: struct i915_oa_reg {
1: - i915_reg_t addr;
1: - u32 value;
1: + i915_reg_t addr;
1: + u32 value;
1: };
1:
1: struct i915_perf_stream_ops {
1: - void (*enable)(struct i915_perf_stream *);
1: - void (*disable)(struct i915_perf_stream *);
1: - void (*poll_wait)(struct i915_perf_stream *, struct file *, poll_table *);
1: - int (*wait_unlocked)(struct i915_perf_stream *);
1: - int (*read)(struct i915_perf_stream *, char *, size_t, size_t *);
1: - void (*destroy)(struct i915_perf_stream *);
1: + void (*enable)(struct i915_perf_stream *);
1: + void (*disable)(struct i915_perf_stream *);
1: + void (*poll_wait)(struct i915_perf_stream *, struct file *, poll_table *);
1: + int (*wait_unlocked)(struct i915_perf_stream *);
1: + int (*read)(struct i915_perf_stream *, char *, size_t, size_t *);
1: + void (*destroy)(struct i915_perf_stream *);
1: };
1:
1: struct i915_perf_stream {
1: - struct i915_perf *perf;
1: - struct intel_uncore *uncore;
1: - struct intel_engine_cs *engine;
1: - u32 sample_flags;
1: - int sample_size;
1: - struct i915_gem_context *ctx;
1: - bool enabled;
1: - bool hold_preemption;
1: - const struct i915_perf_stream_ops *ops;
1: - struct i915_oa_config *oa_config;
1: - struct llist_head oa_config_bos;
1: - struct intel_context *pinned_ctx;
1: - u32 specific_ctx_id;
1: - u32 specific_ctx_id_mask;
1: - struct hrtimer poll_check_timer;
1: - wait_queue_head_t poll_wq;
1: - bool pollin;
1: - bool periodic;
1: - int period_exponent;
1: - struct {
1: - struct i915_vma *vma;
1: - u8 *vaddr;
1: - u32 last_ctx_id;
1: - int format;
1: - int format_size;
1: - int size_exponent;
1: - spinlock_t ptr_lock;
1: - struct {
1: - u32 offset;
1: - } tails[2];
1: - unsigned int aged_tail_idx;
1: - u64 aging_timestamp;
1: - u32 head;
1: - } oa_buffer;
1: - struct i915_vma *noa_wait;
1: + struct i915_perf *perf;
1: + struct intel_uncore *uncore;
1: + struct intel_engine_cs *engine;
1: + u32 sample_flags;
1: + int sample_size;
1: + struct i915_gem_context *ctx;
1: + bool enabled;
1: + bool hold_preemption;
1: + const struct i915_perf_stream_ops *ops;
1: + struct i915_oa_config *oa_config;
1: + struct llist_head oa_config_bos;
1: + struct intel_context *pinned_ctx;
1: + u32 specific_ctx_id;
1: + u32 specific_ctx_id_mask;
1: + struct hrtimer poll_check_timer;
1: + wait_queue_head_t poll_wq;
1: + bool pollin;
1: + bool periodic;
1: + int period_exponent;
1: + struct {
1: + struct i915_vma *vma;
1: + u8 *vaddr;
1: + u32 last_ctx_id;
1: + int format;
1: + int format_size;
1: + int size_exponent;
1: + spinlock_t ptr_lock;
1: + struct {
1: + u32 offset;
1: + } tails[2];
1: + unsigned int aged_tail_idx;
1: + u64 aging_timestamp;
1: + u32 head;
1: + } oa_buffer;
1: + struct i915_vma *noa_wait;
1: };
1:
1: enum hpd_pin {
1: - HPD_NONE = 0,
1: - HPD_TV = 0,
1: - HPD_CRT = 1,
1: - HPD_SDVO_B = 2,
1: - HPD_SDVO_C = 3,
1: - HPD_PORT_A = 4,
1: - HPD_PORT_B = 5,
1: - HPD_PORT_C = 6,
1: - HPD_PORT_D = 7,
1: - HPD_PORT_E = 8,
1: - HPD_PORT_F = 9,
1: - HPD_PORT_G = 10,
1: - HPD_PORT_H = 11,
1: - HPD_PORT_I = 12,
1: - HPD_NUM_PINS = 13,
1: + HPD_NONE = 0,
1: + HPD_TV = 0,
1: + HPD_CRT = 1,
1: + HPD_SDVO_B = 2,
1: + HPD_SDVO_C = 3,
1: + HPD_PORT_A = 4,
1: + HPD_PORT_B = 5,
1: + HPD_PORT_C = 6,
1: + HPD_PORT_D = 7,
1: + HPD_PORT_E = 8,
1: + HPD_PORT_F = 9,
1: + HPD_PORT_G = 10,
1: + HPD_PORT_H = 11,
1: + HPD_PORT_I = 12,
1: + HPD_NUM_PINS = 13,
1: };
1:
1: struct dpll {
1: - int n;
1: - int m1;
1: - int m2;
1: - int p1;
1: - int p2;
1: - int dot;
1: - int vco;
1: - int m;
1: - int p;
1: + int n;
1: + int m1;
1: + int m2;
1: + int p1;
1: + int p2;
1: + int dot;
1: + int vco;
1: + int m;
1: + int p;
1: };
1:
1: struct icl_port_dpll {
1: - struct intel_shared_dpll *pll;
1: - struct intel_dpll_hw_state hw_state;
1: + struct intel_shared_dpll *pll;
1: + struct intel_dpll_hw_state hw_state;
1: };
1:
1: struct intel_scaler {
1: - int in_use;
1: - u32 mode;
1: + int in_use;
1: + u32 mode;
1: };
1:
1: struct intel_crtc_scaler_state {
1: - struct intel_scaler scalers[2];
1: - unsigned int scaler_users;
1: - int scaler_id;
1: + struct intel_scaler scalers[2];
1: + unsigned int scaler_users;
1: + int scaler_id;
1: };
1:
1: struct intel_wm_level {
1: - bool enable;
1: - u32 pri_val;
1: - u32 spr_val;
1: - u32 cur_val;
1: - u32 fbc_val;
1: + bool enable;
1: + u32 pri_val;
1: + u32 spr_val;
1: + u32 cur_val;
1: + u32 fbc_val;
1: };
1:
1: struct intel_pipe_wm {
1: - struct intel_wm_level wm[5];
1: - u32 linetime;
1: - bool fbc_wm_enabled;
1: - bool pipe_enabled;
1: - bool sprites_enabled;
1: - bool sprites_scaled;
1: + struct intel_wm_level wm[5];
1: + u32 linetime;
1: + bool fbc_wm_enabled;
1: + bool pipe_enabled;
1: + bool sprites_enabled;
1: + bool sprites_scaled;
1: };
1:
1: struct skl_wm_level {
1: - u16 min_ddb_alloc;
1: - u16 plane_res_b;
1: - u8 plane_res_l;
1: - bool plane_en;
1: - bool ignore_lines;
1: + u16 min_ddb_alloc;
1: + u16 plane_res_b;
1: + u8 plane_res_l;
1: + bool plane_en;
1: + bool ignore_lines;
1: };
1:
1: struct skl_plane_wm {
1: - struct skl_wm_level wm[8];
1: - struct skl_wm_level uv_wm[8];
1: - struct skl_wm_level trans_wm;
1: - bool is_planar;
1: + struct skl_wm_level wm[8];
1: + struct skl_wm_level uv_wm[8];
1: + struct skl_wm_level trans_wm;
1: + bool is_planar;
1: };
1:
1: struct skl_pipe_wm {
1: - struct skl_plane_wm planes[8];
1: - u32 linetime;
1: + struct skl_plane_wm planes[8];
1: + u32 linetime;
1: };
1:
1: struct skl_ddb_entry {
1: - u16 start;
1: - u16 end;
1: + u16 start;
1: + u16 end;
1: };
1:
1: struct vlv_wm_state {
1: - struct g4x_pipe_wm wm[3];
1: - struct g4x_sr_wm sr[3];
1: - u8 num_levels;
1: - bool cxsr;
1: + struct g4x_pipe_wm wm[3];
1: + struct g4x_sr_wm sr[3];
1: + u8 num_levels;
1: + bool cxsr;
1: };
1:
1: struct vlv_fifo_state {
1: - u16 plane[8];
1: + u16 plane[8];
1: };
1:
1: struct g4x_wm_state {
1: - struct g4x_pipe_wm wm;
1: - struct g4x_sr_wm sr;
1: - struct g4x_sr_wm hpll;
1: - bool cxsr;
1: - bool hpll_en;
1: - bool fbc_en;
1: + struct g4x_pipe_wm wm;
1: + struct g4x_sr_wm sr;
1: + struct g4x_sr_wm hpll;
1: + bool cxsr;
1: + bool hpll_en;
1: + bool fbc_en;
1: };
1:
1: struct intel_crtc_wm_state {
1: - union {
1: - struct {
1: - struct intel_pipe_wm intermediate;
1: - struct intel_pipe_wm optimal;
1: - } ilk;
1: - struct {
1: - struct skl_pipe_wm optimal;
1: - struct skl_ddb_entry ddb;
1: - struct skl_ddb_entry plane_ddb_y[8];
1: - struct skl_ddb_entry plane_ddb_uv[8];
1: - } skl;
1: - struct {
1: - struct g4x_pipe_wm raw[3];
1: - struct vlv_wm_state intermediate;
1: - struct vlv_wm_state optimal;
1: - struct vlv_fifo_state fifo_state;
1: - } vlv;
1: - struct {
1: - struct g4x_pipe_wm raw[3];
1: - struct g4x_wm_state intermediate;
1: - struct g4x_wm_state optimal;
1: - } g4x;
1: - };
1: - bool need_postvbl_update;
1: + union {
1: + struct {
1: + struct intel_pipe_wm intermediate;
1: + struct intel_pipe_wm optimal;
1: + } ilk;
1: + struct {
1: + struct skl_pipe_wm optimal;
1: + struct skl_ddb_entry ddb;
1: + struct skl_ddb_entry plane_ddb_y[8];
1: + struct skl_ddb_entry plane_ddb_uv[8];
1: + } skl;
1: + struct {
1: + struct g4x_pipe_wm raw[3];
1: + struct vlv_wm_state intermediate;
1: + struct vlv_wm_state optimal;
1: + struct vlv_fifo_state fifo_state;
1: + } vlv;
1: + struct {
1: + struct g4x_pipe_wm raw[3];
1: + struct g4x_wm_state intermediate;
1: + struct g4x_wm_state optimal;
1: + } g4x;
1: + };
1: + bool need_postvbl_update;
1: };
1:
1: enum intel_output_format {
1: - INTEL_OUTPUT_FORMAT_INVALID = 0,
1: - INTEL_OUTPUT_FORMAT_RGB = 1,
1: - INTEL_OUTPUT_FORMAT_YCBCR420 = 2,
1: - INTEL_OUTPUT_FORMAT_YCBCR444 = 3,
1: + INTEL_OUTPUT_FORMAT_INVALID = 0,
1: + INTEL_OUTPUT_FORMAT_RGB = 1,
1: + INTEL_OUTPUT_FORMAT_YCBCR420 = 2,
1: + INTEL_OUTPUT_FORMAT_YCBCR444 = 3,
1: };
1:
1: struct intel_crtc_state {
1: - struct drm_crtc_state base;
1: - long unsigned int quirks;
1: - unsigned int fb_bits;
1: - bool update_pipe;
1: - bool disable_cxsr;
1: - bool update_wm_pre;
1: - bool update_wm_post;
1: - bool fifo_changed;
1: - bool preload_luts;
1: - int pipe_src_w;
1: - int pipe_src_h;
1: - unsigned int pixel_rate;
1: - bool has_pch_encoder;
1: - bool has_infoframe;
1: - enum transcoder cpu_transcoder;
1: - bool limited_color_range;
1: - unsigned int output_types;
1: - bool has_hdmi_sink;
1: - bool has_audio;
1: - bool dither;
1: - bool dither_force_disable;
1: - bool clock_set;
1: - bool sdvo_tv_clock;
1: - bool bw_constrained;
1: - struct dpll dpll;
1: - struct intel_shared_dpll *shared_dpll;
1: - struct intel_dpll_hw_state dpll_hw_state;
1: - struct icl_port_dpll icl_port_dplls[2];
1: - struct {
1: - u32 ctrl;
1: - u32 div;
1: - } dsi_pll;
1: - int pipe_bpp;
1: - struct intel_link_m_n dp_m_n;
1: - struct intel_link_m_n dp_m2_n2;
1: - bool has_drrs;
1: - bool has_psr;
1: - bool has_psr2;
1: - u32 dc3co_exitline;
1: - int port_clock;
1: - unsigned int pixel_multiplier;
1: - u8 lane_count;
1: - u8 lane_lat_optim_mask;
1: - u8 min_voltage_level;
1: - struct {
1: - u32 control;
1: - u32 pgm_ratios;
1: - u32 lvds_border_bits;
1: - } gmch_pfit;
1: - struct {
1: - u32 pos;
1: - u32 size;
1: - bool enabled;
1: - bool force_thru;
1: - } pch_pfit;
1: - int fdi_lanes;
1: - struct intel_link_m_n fdi_m_n;
1: - bool ips_enabled;
1: - bool crc_enabled;
1: - bool enable_fbc;
1: - bool double_wide;
1: - int pbn;
1: - struct intel_crtc_scaler_state scaler_state;
1: - enum pipe hsw_workaround_pipe;
1: - bool disable_lp_wm;
1: - struct intel_crtc_wm_state wm;
1: - int min_cdclk[8];
1: - u32 data_rate[8];
1: - u32 gamma_mode;
1: - union {
1: - u32 csc_mode;
1: - u32 cgm_mode;
1: - };
1: - u8 active_planes;
1: - u8 nv12_planes;
1: - u8 c8_planes;
1: - u8 update_planes;
1: - struct {
1: - u32 enable;
1: - u32 gcp;
1: - union hdmi_infoframe avi;
1: - union hdmi_infoframe spd;
1: - union hdmi_infoframe hdmi;
1: - union hdmi_infoframe drm;
1: - } infoframes;
1: - bool hdmi_scrambling;
1: - bool hdmi_high_tmds_clock_ratio;
1: - enum intel_output_format output_format;
1: - bool lspcon_downsampling;
1: - bool gamma_enable;
1: - bool csc_enable;
1: - struct {
1: - bool compression_enable;
1: - bool dsc_split;
1: - u16 compressed_bpp;
1: - u8 slice_count;
1: - struct drm_dsc_config config;
1: - } dsc;
1: - bool fec_enable;
1: - enum transcoder master_transcoder;
1: - u8 sync_mode_slaves_mask;
1: + struct drm_crtc_state base;
1: + long unsigned int quirks;
1: + unsigned int fb_bits;
1: + bool update_pipe;
1: + bool disable_cxsr;
1: + bool update_wm_pre;
1: + bool update_wm_post;
1: + bool fifo_changed;
1: + bool preload_luts;
1: + int pipe_src_w;
1: + int pipe_src_h;
1: + unsigned int pixel_rate;
1: + bool has_pch_encoder;
1: + bool has_infoframe;
1: + enum transcoder cpu_transcoder;
1: + bool limited_color_range;
1: + unsigned int output_types;
1: + bool has_hdmi_sink;
1: + bool has_audio;
1: + bool dither;
1: + bool dither_force_disable;
1: + bool clock_set;
1: + bool sdvo_tv_clock;
1: + bool bw_constrained;
1: + struct dpll dpll;
1: + struct intel_shared_dpll *shared_dpll;
1: + struct intel_dpll_hw_state dpll_hw_state;
1: + struct icl_port_dpll icl_port_dplls[2];
1: + struct {
1: + u32 ctrl;
1: + u32 div;
1: + } dsi_pll;
1: + int pipe_bpp;
1: + struct intel_link_m_n dp_m_n;
1: + struct intel_link_m_n dp_m2_n2;
1: + bool has_drrs;
1: + bool has_psr;
1: + bool has_psr2;
1: + u32 dc3co_exitline;
1: + int port_clock;
1: + unsigned int pixel_multiplier;
1: + u8 lane_count;
1: + u8 lane_lat_optim_mask;
1: + u8 min_voltage_level;
1: + struct {
1: + u32 control;
1: + u32 pgm_ratios;
1: + u32 lvds_border_bits;
1: + } gmch_pfit;
1: + struct {
1: + u32 pos;
1: + u32 size;
1: + bool enabled;
1: + bool force_thru;
1: + } pch_pfit;
1: + int fdi_lanes;
1: + struct intel_link_m_n fdi_m_n;
1: + bool ips_enabled;
1: + bool crc_enabled;
1: + bool enable_fbc;
1: + bool double_wide;
1: + int pbn;
1: + struct intel_crtc_scaler_state scaler_state;
1: + enum pipe hsw_workaround_pipe;
1: + bool disable_lp_wm;
1: + struct intel_crtc_wm_state wm;
1: + int min_cdclk[8];
1: + u32 data_rate[8];
1: + u32 gamma_mode;
1: + union {
1: + u32 csc_mode;
1: + u32 cgm_mode;
1: + };
1: + u8 active_planes;
1: + u8 nv12_planes;
1: + u8 c8_planes;
1: + u8 update_planes;
1: + struct {
1: + u32 enable;
1: + u32 gcp;
1: + union hdmi_infoframe avi;
1: + union hdmi_infoframe spd;
1: + union hdmi_infoframe hdmi;
1: + union hdmi_infoframe drm;
1: + } infoframes;
1: + bool hdmi_scrambling;
1: + bool hdmi_high_tmds_clock_ratio;
1: + enum intel_output_format output_format;
1: + bool lspcon_downsampling;
1: + bool gamma_enable;
1: + bool csc_enable;
1: + struct {
1: + bool compression_enable;
1: + bool dsc_split;
1: + u16 compressed_bpp;
1: + u8 slice_count;
1: + struct drm_dsc_config config;
1: + } dsc;
1: + bool fec_enable;
1: + enum transcoder master_transcoder;
1: + u8 sync_mode_slaves_mask;
1: };
1:
1: struct intel_atomic_state {
1: - struct drm_atomic_state base;
1: - intel_wakeref_t wakeref;
1: - struct {
1: - struct intel_cdclk_state logical;
1: - struct intel_cdclk_state actual;
1: - int force_min_cdclk;
1: - bool force_min_cdclk_changed;
1: - enum pipe pipe;
1: - } cdclk;
1: - bool dpll_set;
1: - bool modeset;
1: - u8 active_pipe_changes;
1: - u8 active_pipes;
1: - int min_cdclk[4];
1: - u8 min_voltage_level[4];
1: - struct intel_shared_dpll_state shared_dpll[9];
1: - bool skip_intermediate_wm;
1: - bool rps_interactive;
1: - bool global_state_changed;
1: - struct skl_ddb_values wm_results;
1: - struct i915_sw_fence commit_ready;
1: - struct llist_node freed;
1: + struct drm_atomic_state base;
1: + intel_wakeref_t wakeref;
1: + struct {
1: + struct intel_cdclk_state logical;
1: + struct intel_cdclk_state actual;
1: + int force_min_cdclk;
1: + bool force_min_cdclk_changed;
1: + enum pipe pipe;
1: + } cdclk;
1: + bool dpll_set;
1: + bool modeset;
1: + u8 active_pipe_changes;
1: + u8 active_pipes;
1: + int min_cdclk[4];
1: + u8 min_voltage_level[4];
1: + struct intel_shared_dpll_state shared_dpll[9];
1: + bool skip_intermediate_wm;
1: + bool rps_interactive;
1: + bool global_state_changed;
1: + struct skl_ddb_values wm_results;
1: + struct i915_sw_fence commit_ready;
1: + struct llist_node freed;
1: };
1:
1: struct intel_crtc {
1: - struct drm_crtc base;
1: - enum pipe pipe;
1: - bool active;
1: - u8 plane_ids_mask;
1: - long long unsigned int enabled_power_domains;
1: - struct intel_overlay *overlay;
1: - struct intel_crtc_state *config;
1: - bool cpu_fifo_underrun_disabled;
1: - bool pch_fifo_underrun_disabled;
1: - struct {
1: - union {
1: - struct intel_pipe_wm ilk;
1: - struct vlv_wm_state vlv;
1: - struct g4x_wm_state g4x;
1: - } active;
1: - } wm;
1: - int scanline_offset;
1: - struct {
1: - unsigned int start_vbl_count;
1: - ktime_t start_vbl_time;
1: - int min_vbl;
1: - int max_vbl;
1: - int scanline_start;
1: - } debug;
1: - int num_scalers;
1: - struct intel_dsb dsb;
1: + struct drm_crtc base;
1: + enum pipe pipe;
1: + bool active;
1: + u8 plane_ids_mask;
1: + long long unsigned int enabled_power_domains;
1: + struct intel_overlay *overlay;
1: + struct intel_crtc_state *config;
1: + bool cpu_fifo_underrun_disabled;
1: + bool pch_fifo_underrun_disabled;
1: + struct {
1: + union {
1: + struct intel_pipe_wm ilk;
1: + struct vlv_wm_state vlv;
1: + struct g4x_wm_state g4x;
1: + } active;
1: + } wm;
1: + int scanline_offset;
1: + struct {
1: + unsigned int start_vbl_count;
1: + ktime_t start_vbl_time;
1: + int min_vbl;
1: + int max_vbl;
1: + int scanline_start;
1: + } debug;
1: + int num_scalers;
1: + struct intel_dsb dsb;
1: };
1:
1: struct intel_framebuffer;
1:
1: struct intel_initial_plane_config {
1: - struct intel_framebuffer *fb;
1: - unsigned int tiling;
1: - int size;
1: - u32 base;
1: - u8 rotation;
1: + struct intel_framebuffer *fb;
1: + unsigned int tiling;
1: + int size;
1: + u32 base;
1: + u8 rotation;
1: };
1:
1: enum intel_output_type {
1: - INTEL_OUTPUT_UNUSED = 0,
1: - INTEL_OUTPUT_ANALOG = 1,
1: - INTEL_OUTPUT_DVO = 2,
1: - INTEL_OUTPUT_SDVO = 3,
1: - INTEL_OUTPUT_LVDS = 4,
1: - INTEL_OUTPUT_TVOUT = 5,
1: - INTEL_OUTPUT_HDMI = 6,
1: - INTEL_OUTPUT_DP = 7,
1: - INTEL_OUTPUT_EDP = 8,
1: - INTEL_OUTPUT_DSI = 9,
1: - INTEL_OUTPUT_DDI = 10,
1: - INTEL_OUTPUT_DP_MST = 11,
1: + INTEL_OUTPUT_UNUSED = 0,
1: + INTEL_OUTPUT_ANALOG = 1,
1: + INTEL_OUTPUT_DVO = 2,
1: + INTEL_OUTPUT_SDVO = 3,
1: + INTEL_OUTPUT_LVDS = 4,
1: + INTEL_OUTPUT_TVOUT = 5,
1: + INTEL_OUTPUT_HDMI = 6,
1: + INTEL_OUTPUT_DP = 7,
1: + INTEL_OUTPUT_EDP = 8,
1: + INTEL_OUTPUT_DSI = 9,
1: + INTEL_OUTPUT_DDI = 10,
1: + INTEL_OUTPUT_DP_MST = 11,
1: };
1:
1: enum intel_hotplug_state {
1: - INTEL_HOTPLUG_UNCHANGED = 0,
1: - INTEL_HOTPLUG_CHANGED = 1,
1: - INTEL_HOTPLUG_RETRY = 2,
1: + INTEL_HOTPLUG_UNCHANGED = 0,
1: + INTEL_HOTPLUG_CHANGED = 1,
1: + INTEL_HOTPLUG_RETRY = 2,
1: };
1:
1: struct intel_connector;
1:
1: struct intel_encoder {
1: - struct drm_encoder base;
1: - enum intel_output_type type;
1: - enum port port;
1: - u16 cloneable;
1: - u8 pipe_mask;
1: - enum intel_hotplug_state (*hotplug)(struct intel_encoder *, struct intel_connector *, bool);
1: - enum intel_output_type (*compute_output_type)(struct intel_encoder *, struct intel_crtc_state *, struct drm_connector_state *);
1: - int (*compute_config)(struct intel_encoder *, struct intel_crtc_state *, struct drm_connector_state *);
1: - void (*update_prepare)(struct intel_atomic_state *, struct intel_encoder *, struct intel_crtc *);
1: - void (*pre_pll_enable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - void (*pre_enable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - void (*enable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - void (*update_complete)(struct intel_atomic_state *, struct intel_encoder *, struct intel_crtc *);
1: - void (*disable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - void (*post_disable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - void (*post_pll_disable)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - void (*update_pipe)(struct intel_encoder *, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - bool (*get_hw_state)(struct intel_encoder *, enum pipe *);
1: - void (*get_config)(struct intel_encoder *, struct intel_crtc_state *);
1: - void (*get_power_domains)(struct intel_encoder *, struct intel_crtc_state *);
1: - void (*suspend)(struct intel_encoder *);
1: - enum hpd_pin hpd_pin;
1: - enum intel_display_power_domain power_domain;
1: - const struct drm_connector *audio_connector;
1: + struct drm_encoder base;
1: + enum intel_output_type type;
1: + enum port port;
1: + u16 cloneable;
1: + u8 pipe_mask;
1: + enum intel_hotplug_state (*hotplug)(struct intel_encoder *,
1: + struct intel_connector *, bool);
1: + enum intel_output_type (*compute_output_type)(struct intel_encoder *,
1: + struct intel_crtc_state *,
1: + struct drm_connector_state *);
1: + int (*compute_config)(struct intel_encoder *, struct intel_crtc_state *,
1: + struct drm_connector_state *);
1: + void (*update_prepare)(struct intel_atomic_state *, struct intel_encoder *,
1: + struct intel_crtc *);
1: + void (*pre_pll_enable)(struct intel_encoder *,
1: + const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + void (*pre_enable)(struct intel_encoder *, const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + void (*enable)(struct intel_encoder *, const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + void (*update_complete)(struct intel_atomic_state *, struct intel_encoder *,
1: + struct intel_crtc *);
1: + void (*disable)(struct intel_encoder *, const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + void (*post_disable)(struct intel_encoder *, const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + void (*post_pll_disable)(struct intel_encoder *,
1: + const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + void (*update_pipe)(struct intel_encoder *, const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + bool (*get_hw_state)(struct intel_encoder *, enum pipe *);
1: + void (*get_config)(struct intel_encoder *, struct intel_crtc_state *);
1: + void (*get_power_domains)(struct intel_encoder *, struct intel_crtc_state *);
1: + void (*suspend)(struct intel_encoder *);
1: + enum hpd_pin hpd_pin;
1: + enum intel_display_power_domain power_domain;
1: + const struct drm_connector *audio_connector;
1: };
1:
1: struct intel_dp_compliance_data {
1: - long unsigned int edid;
1: - u8 video_pattern;
1: - u16 hdisplay;
1: - u16 vdisplay;
1: - u8 bpc;
1: + long unsigned int edid;
1: + u8 video_pattern;
1: + u16 hdisplay;
1: + u16 vdisplay;
1: + u8 bpc;
1: };
1:
1: struct intel_dp_compliance {
1: - long unsigned int test_type;
1: - struct intel_dp_compliance_data test_data;
1: - bool test_active;
1: - int test_link_rate;
1: - u8 test_lane_count;
1: + long unsigned int test_type;
1: + struct intel_dp_compliance_data test_data;
1: + bool test_active;
1: + int test_link_rate;
1: + u8 test_lane_count;
1: };
1:
1: struct intel_dp_mst_encoder;
1:
1: struct intel_dp {
1: - i915_reg_t output_reg;
1: - u32 DP;
1: - int link_rate;
1: - u8 lane_count;
1: - u8 sink_count;
1: - bool link_mst;
1: - bool link_trained;
1: - bool has_audio;
1: - bool reset_link_params;
1: - u8 dpcd[15];
1: - u8 psr_dpcd[2];
1: - u8 downstream_ports[16];
1: - u8 edp_dpcd[3];
1: - u8 dsc_dpcd[15];
1: - u8 fec_capable;
1: - short: 16;
1: - int num_source_rates;
1: - int: 32;
1: - const int *source_rates;
1: - int num_sink_rates;
1: - int sink_rates[8];
1: - bool use_rate_select;
1: - int: 24;
1: - int num_common_rates;
1: - int common_rates[8];
1: - int max_link_lane_count;
1: - int max_link_rate;
1: - struct drm_dp_desc desc;
1: - int: 32;
1: - struct drm_dp_aux aux;
1: - u32 aux_busy_last_status;
1: - u8 train_set[4];
1: - int panel_power_up_delay;
1: - int panel_power_down_delay;
1: - int panel_power_cycle_delay;
1: - int backlight_on_delay;
1: - int backlight_off_delay;
1: - int: 32;
1: - struct delayed_work panel_vdd_work;
1: - bool want_panel_vdd;
1: - long: 56;
1: - long unsigned int last_power_on;
1: - long unsigned int last_backlight_off;
1: - ktime_t panel_power_off_time;
1: - struct notifier_block edp_notifier;
1: - enum pipe pps_pipe;
1: - enum pipe active_pipe;
1: - bool pps_reset;
1: - struct edp_power_seq pps_delays;
1: - bool can_mst;
1: - bool is_mst;
1: - int: 24;
1: - int active_mst_links;
1: - struct {
1: - i915_reg_t dp_tp_ctl;
1: - i915_reg_t dp_tp_status;
1: - } regs;
1: - int: 32;
1: - struct intel_connector *attached_connector;
1: - struct intel_dp_mst_encoder *mst_encoders[4];
1: - struct drm_dp_mst_topology_mgr mst_mgr;
1: - u32 (*get_aux_clock_divider)(struct intel_dp *, int);
1: - u32 (*get_aux_send_ctl)(struct intel_dp *, int, u32);
1: - i915_reg_t (*aux_ch_ctl_reg)(struct intel_dp *);
1: - i915_reg_t (*aux_ch_data_reg)(struct intel_dp *, int);
1: - void (*prepare_link_retrain)(struct intel_dp *);
1: - struct intel_dp_compliance compliance;
1: - bool force_dsc_en;
1: - long: 56;
1: + i915_reg_t output_reg;
1: + u32 DP;
1: + int link_rate;
1: + u8 lane_count;
1: + u8 sink_count;
1: + bool link_mst;
1: + bool link_trained;
1: + bool has_audio;
1: + bool reset_link_params;
1: + u8 dpcd[15];
1: + u8 psr_dpcd[2];
1: + u8 downstream_ports[16];
1: + u8 edp_dpcd[3];
1: + u8 dsc_dpcd[15];
1: + u8 fec_capable;
1: + short : 16;
1: + int num_source_rates;
1: + int : 32;
1: + const int *source_rates;
1: + int num_sink_rates;
1: + int sink_rates[8];
1: + bool use_rate_select;
1: + int : 24;
1: + int num_common_rates;
1: + int common_rates[8];
1: + int max_link_lane_count;
1: + int max_link_rate;
1: + struct drm_dp_desc desc;
1: + int : 32;
1: + struct drm_dp_aux aux;
1: + u32 aux_busy_last_status;
1: + u8 train_set[4];
1: + int panel_power_up_delay;
1: + int panel_power_down_delay;
1: + int panel_power_cycle_delay;
1: + int backlight_on_delay;
1: + int backlight_off_delay;
1: + int : 32;
1: + struct delayed_work panel_vdd_work;
1: + bool want_panel_vdd;
1: + long : 56;
1: + long unsigned int last_power_on;
1: + long unsigned int last_backlight_off;
1: + ktime_t panel_power_off_time;
1: + struct notifier_block edp_notifier;
1: + enum pipe pps_pipe;
1: + enum pipe active_pipe;
1: + bool pps_reset;
1: + struct edp_power_seq pps_delays;
1: + bool can_mst;
1: + bool is_mst;
1: + int : 24;
1: + int active_mst_links;
1: + struct {
1: + i915_reg_t dp_tp_ctl;
1: + i915_reg_t dp_tp_status;
1: + } regs;
1: + int : 32;
1: + struct intel_connector *attached_connector;
1: + struct intel_dp_mst_encoder *mst_encoders[4];
1: + struct drm_dp_mst_topology_mgr mst_mgr;
1: + u32 (*get_aux_clock_divider)(struct intel_dp *, int);
1: + u32 (*get_aux_send_ctl)(struct intel_dp *, int, u32);
1: + i915_reg_t (*aux_ch_ctl_reg)(struct intel_dp *);
1: + i915_reg_t (*aux_ch_data_reg)(struct intel_dp *, int);
1: + void (*prepare_link_retrain)(struct intel_dp *);
1: + struct intel_dp_compliance compliance;
1: + bool force_dsc_en;
1: + long : 56;
1: } __attribute__((packed));
1:
1: struct child_device_config {
1: - u16 handle;
1: - u16 device_type;
1: - union {
1: - u8 device_id[10];
1: - struct {
1: - u8 i2c_speed;
1: - u8 dp_onboard_redriver;
1: - u8 dp_ondock_redriver;
1: - u8 hdmi_level_shifter_value: 5;
1: - u8 hdmi_max_data_rate: 3;
1: - u16 dtd_buf_ptr;
1: - u8 edidless_efp: 1;
1: - u8 compression_enable: 1;
1: - u8 compression_method: 1;
1: - u8 ganged_edp: 1;
1: - u8 reserved0: 4;
1: - u8 compression_structure_index: 4;
1: - u8 reserved1: 4;
1: - u8 slave_port;
1: - u8 reserved2;
1: - };
1: - };
1: - u16 addin_offset;
1: - u8 dvo_port;
1: - u8 i2c_pin;
1: - u8 slave_addr;
1: - u8 ddc_pin;
1: - u16 edid_ptr;
1: - u8 dvo_cfg;
1: - union {
1: - struct {
1: - u8 dvo2_port;
1: - u8 i2c2_pin;
1: - u8 slave2_addr;
1: - u8 ddc2_pin;
1: - };
1: - struct {
1: - u8 efp_routed: 1;
1: - u8 lane_reversal: 1;
1: - u8 lspcon: 1;
1: - u8 iboost: 1;
1: - u8 hpd_invert: 1;
1: - u8 use_vbt_vswing: 1;
1: - u8 flag_reserved: 2;
1: - u8 hdmi_support: 1;
1: - u8 dp_support: 1;
1: - u8 tmds_support: 1;
1: - u8 support_reserved: 5;
1: - u8 aux_channel;
1: - u8 dongle_detect;
1: - };
1: - };
1: - u8 pipe_cap: 2;
1: - u8 sdvo_stall: 1;
1: - u8 hpd_status: 2;
1: - u8 integrated_encoder: 1;
1: - u8 capabilities_reserved: 2;
1: - u8 dvo_wiring;
1: - union {
1: - u8 dvo2_wiring;
1: - u8 mipi_bridge_type;
1: - };
1: - u16 extended_type;
1: - u8 dvo_function;
1: - u8 dp_usb_type_c: 1;
1: - u8 tbt: 1;
1: - u8 flags2_reserved: 2;
1: - u8 dp_port_trace_length: 4;
1: - u8 dp_gpio_index;
1: - u16 dp_gpio_pin_num;
1: - u8 dp_iboost_level: 4;
1: - u8 hdmi_iboost_level: 4;
1: - u8 dp_max_link_rate: 2;
1: - u8 dp_max_link_rate_reserved: 6;
1: + u16 handle;
1: + u16 device_type;
1: + union {
1: + u8 device_id[10];
1: + struct {
1: + u8 i2c_speed;
1: + u8 dp_onboard_redriver;
1: + u8 dp_ondock_redriver;
1: + u8 hdmi_level_shifter_value : 5;
1: + u8 hdmi_max_data_rate : 3;
1: + u16 dtd_buf_ptr;
1: + u8 edidless_efp : 1;
1: + u8 compression_enable : 1;
1: + u8 compression_method : 1;
1: + u8 ganged_edp : 1;
1: + u8 reserved0 : 4;
1: + u8 compression_structure_index : 4;
1: + u8 reserved1 : 4;
1: + u8 slave_port;
1: + u8 reserved2;
1: + };
1: + };
1: + u16 addin_offset;
1: + u8 dvo_port;
1: + u8 i2c_pin;
1: + u8 slave_addr;
1: + u8 ddc_pin;
1: + u16 edid_ptr;
1: + u8 dvo_cfg;
1: + union {
1: + struct {
1: + u8 dvo2_port;
1: + u8 i2c2_pin;
1: + u8 slave2_addr;
1: + u8 ddc2_pin;
1: + };
1: + struct {
1: + u8 efp_routed : 1;
1: + u8 lane_reversal : 1;
1: + u8 lspcon : 1;
1: + u8 iboost : 1;
1: + u8 hpd_invert : 1;
1: + u8 use_vbt_vswing : 1;
1: + u8 flag_reserved : 2;
1: + u8 hdmi_support : 1;
1: + u8 dp_support : 1;
1: + u8 tmds_support : 1;
1: + u8 support_reserved : 5;
1: + u8 aux_channel;
1: + u8 dongle_detect;
1: + };
1: + };
1: + u8 pipe_cap : 2;
1: + u8 sdvo_stall : 1;
1: + u8 hpd_status : 2;
1: + u8 integrated_encoder : 1;
1: + u8 capabilities_reserved : 2;
1: + u8 dvo_wiring;
1: + union {
1: + u8 dvo2_wiring;
1: + u8 mipi_bridge_type;
1: + };
1: + u16 extended_type;
1: + u8 dvo_function;
1: + u8 dp_usb_type_c : 1;
1: + u8 tbt : 1;
1: + u8 flags2_reserved : 2;
1: + u8 dp_port_trace_length : 4;
1: + u8 dp_gpio_index;
1: + u16 dp_gpio_pin_num;
1: + u8 dp_iboost_level : 4;
1: + u8 hdmi_iboost_level : 4;
1: + u8 dp_max_link_rate : 2;
1: + u8 dp_max_link_rate_reserved : 6;
1: } __attribute__((packed));
1:
1: struct intel_dpll_mgr {
1: - const struct dpll_info *dpll_info;
1: - bool (*get_dplls)(struct intel_atomic_state *, struct intel_crtc *, struct intel_encoder *);
1: - void (*put_dplls)(struct intel_atomic_state *, struct intel_crtc *);
1: - void (*update_active_dpll)(struct intel_atomic_state *, struct intel_crtc *, struct intel_encoder *);
1: - void (*dump_hw_state)(struct drm_i915_private *, const struct intel_dpll_hw_state *);
1: + const struct dpll_info *dpll_info;
1: + bool (*get_dplls)(struct intel_atomic_state *, struct intel_crtc *,
1: + struct intel_encoder *);
1: + void (*put_dplls)(struct intel_atomic_state *, struct intel_crtc *);
1: + void (*update_active_dpll)(struct intel_atomic_state *, struct intel_crtc *,
1: + struct intel_encoder *);
1: + void (*dump_hw_state)(struct drm_i915_private *,
1: + const struct intel_dpll_hw_state *);
1: };
1:
1: struct intel_fbdev {
1: - struct drm_fb_helper helper;
1: - struct intel_framebuffer *fb;
1: - struct i915_vma *vma;
1: - long unsigned int vma_flags;
1: - async_cookie_t cookie;
1: - int preferred_bpp;
1: - bool hpd_suspended: 1;
1: - bool hpd_waiting: 1;
1: - struct mutex hpd_lock;
1: + struct drm_fb_helper helper;
1: + struct intel_framebuffer *fb;
1: + struct i915_vma *vma;
1: + long unsigned int vma_flags;
1: + async_cookie_t cookie;
1: + int preferred_bpp;
1: + bool hpd_suspended : 1;
1: + bool hpd_waiting : 1;
1: + struct mutex hpd_lock;
1: };
1:
1: struct vlv_s0ix_state {
1: - u32 wr_watermark;
1: - u32 gfx_prio_ctrl;
1: - u32 arb_mode;
1: - u32 gfx_pend_tlb0;
1: - u32 gfx_pend_tlb1;
1: - u32 lra_limits[13];
1: - u32 media_max_req_count;
1: - u32 gfx_max_req_count;
1: - u32 render_hwsp;
1: - u32 ecochk;
1: - u32 bsd_hwsp;
1: - u32 blt_hwsp;
1: - u32 tlb_rd_addr;
1: - u32 g3dctl;
1: - u32 gsckgctl;
1: - u32 mbctl;
1: - u32 ucgctl1;
1: - u32 ucgctl3;
1: - u32 rcgctl1;
1: - u32 rcgctl2;
1: - u32 rstctl;
1: - u32 misccpctl;
1: - u32 gfxpause;
1: - u32 rpdeuhwtc;
1: - u32 rpdeuc;
1: - u32 ecobus;
1: - u32 pwrdwnupctl;
1: - u32 rp_down_timeout;
1: - u32 rp_deucsw;
1: - u32 rcubmabdtmr;
1: - u32 rcedata;
1: - u32 spare2gh;
1: - u32 gt_imr;
1: - u32 gt_ier;
1: - u32 pm_imr;
1: - u32 pm_ier;
1: - u32 gt_scratch[8];
1: - u32 tilectl;
1: - u32 gt_fifoctl;
1: - u32 gtlc_wake_ctrl;
1: - u32 gtlc_survive;
1: - u32 pmwgicz;
1: - u32 gu_ctl0;
1: - u32 gu_ctl1;
1: - u32 pcbr;
1: - u32 clock_gate_dis2;
1: + u32 wr_watermark;
1: + u32 gfx_prio_ctrl;
1: + u32 arb_mode;
1: + u32 gfx_pend_tlb0;
1: + u32 gfx_pend_tlb1;
1: + u32 lra_limits[13];
1: + u32 media_max_req_count;
1: + u32 gfx_max_req_count;
1: + u32 render_hwsp;
1: + u32 ecochk;
1: + u32 bsd_hwsp;
1: + u32 blt_hwsp;
1: + u32 tlb_rd_addr;
1: + u32 g3dctl;
1: + u32 gsckgctl;
1: + u32 mbctl;
1: + u32 ucgctl1;
1: + u32 ucgctl3;
1: + u32 rcgctl1;
1: + u32 rcgctl2;
1: + u32 rstctl;
1: + u32 misccpctl;
1: + u32 gfxpause;
1: + u32 rpdeuhwtc;
1: + u32 rpdeuc;
1: + u32 ecobus;
1: + u32 pwrdwnupctl;
1: + u32 rp_down_timeout;
1: + u32 rp_deucsw;
1: + u32 rcubmabdtmr;
1: + u32 rcedata;
1: + u32 spare2gh;
1: + u32 gt_imr;
1: + u32 gt_ier;
1: + u32 pm_imr;
1: + u32 pm_ier;
1: + u32 gt_scratch[8];
1: + u32 tilectl;
1: + u32 gt_fifoctl;
1: + u32 gtlc_wake_ctrl;
1: + u32 gtlc_survive;
1: + u32 pmwgicz;
1: + u32 gu_ctl0;
1: + u32 gu_ctl1;
1: + u32 pcbr;
1: + u32 clock_gate_dis2;
1: };
1:
1: struct dram_dimm_info {
1: - u8 size;
1: - u8 width;
1: - u8 ranks;
1: + u8 size;
1: + u8 width;
1: + u8 ranks;
1: };
1:
1: struct dram_channel_info {
1: - struct dram_dimm_info dimm_l;
1: - struct dram_dimm_info dimm_s;
1: - u8 ranks;
1: - bool is_16gb_dimm;
1: + struct dram_dimm_info dimm_l;
1: + struct dram_dimm_info dimm_s;
1: + u8 ranks;
1: + bool is_16gb_dimm;
1: };
1:
1: struct intel_framebuffer {
1: - struct drm_framebuffer base;
1: - struct intel_frontbuffer *frontbuffer;
1: - struct intel_rotation_info rot_info;
1: - struct {
1: - unsigned int x;
1: - unsigned int y;
1: - } normal[2];
1: - struct {
1: - unsigned int x;
1: - unsigned int y;
1: - unsigned int pitch;
1: - } rotated[2];
1: + struct drm_framebuffer base;
1: + struct intel_frontbuffer *frontbuffer;
1: + struct intel_rotation_info rot_info;
1: + struct {
1: + unsigned int x;
1: + unsigned int y;
1: + } normal[2];
1: + struct {
1: + unsigned int x;
1: + unsigned int y;
1: + unsigned int pitch;
1: + } rotated[2];
1: };
1:
1: struct pwm_device;
1:
1: struct intel_panel {
1: - struct drm_display_mode *fixed_mode;
1: - struct drm_display_mode *downclock_mode;
1: - struct {
1: - bool present;
1: - u32 level;
1: - u32 min;
1: - u32 max;
1: - bool enabled;
1: - bool combination_mode;
1: - bool active_low_pwm;
1: - bool alternate_pwm_increment;
1: - bool util_pin_active_low;
1: - u8 controller;
1: - struct pwm_device *pwm;
1: - struct backlight_device *device;
1: - int (*setup)(struct intel_connector *, enum pipe);
1: - u32 (*get)(struct intel_connector *);
1: - void (*set)(const struct drm_connector_state *, u32);
1: - void (*disable)(const struct drm_connector_state *);
1: - void (*enable)(const struct intel_crtc_state *, const struct drm_connector_state *);
1: - u32 (*hz_to_pwm)(struct intel_connector *, u32);
1: - void (*power)(struct intel_connector *, bool);
1: - } backlight;
1: + struct drm_display_mode *fixed_mode;
1: + struct drm_display_mode *downclock_mode;
1: + struct {
1: + bool present;
1: + u32 level;
1: + u32 min;
1: + u32 max;
1: + bool enabled;
1: + bool combination_mode;
1: + bool active_low_pwm;
1: + bool alternate_pwm_increment;
1: + bool util_pin_active_low;
1: + u8 controller;
1: + struct pwm_device *pwm;
1: + struct backlight_device *device;
1: + int (*setup)(struct intel_connector *, enum pipe);
1: + u32 (*get)(struct intel_connector *);
1: + void (*set)(const struct drm_connector_state *, u32);
1: + void (*disable)(const struct drm_connector_state *);
1: + void (*enable)(const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + u32 (*hz_to_pwm)(struct intel_connector *, u32);
1: + void (*power)(struct intel_connector *, bool);
1: + } backlight;
1: };
1:
1: struct intel_hdcp_shim;
1:
1: struct intel_hdcp {
1: - const struct intel_hdcp_shim *shim;
1: - struct mutex mutex;
1: - u64 value;
1: - struct delayed_work check_work;
1: - struct work_struct prop_work;
1: - bool hdcp_encrypted;
1: - bool hdcp2_supported;
1: - bool hdcp2_encrypted;
1: - u8 content_type;
1: - struct hdcp_port_data port_data;
1: - bool is_paired;
1: - bool is_repeater;
1: - u32 seq_num_v;
1: - u32 seq_num_m;
1: - wait_queue_head_t cp_irq_queue;
1: - atomic_t cp_irq_count;
1: - int cp_irq_count_cached;
1: - enum transcoder cpu_transcoder;
1: + const struct intel_hdcp_shim *shim;
1: + struct mutex mutex;
1: + u64 value;
1: + struct delayed_work check_work;
1: + struct work_struct prop_work;
1: + bool hdcp_encrypted;
1: + bool hdcp2_supported;
1: + bool hdcp2_encrypted;
1: + u8 content_type;
1: + struct hdcp_port_data port_data;
1: + bool is_paired;
1: + bool is_repeater;
1: + u32 seq_num_v;
1: + u32 seq_num_m;
1: + wait_queue_head_t cp_irq_queue;
1: + atomic_t cp_irq_count;
1: + int cp_irq_count_cached;
1: + enum transcoder cpu_transcoder;
1: };
1:
1: struct intel_connector {
1: - struct drm_connector base;
1: - struct intel_encoder *encoder;
1: - u32 acpi_device_id;
1: - bool (*get_hw_state)(struct intel_connector *);
1: - struct intel_panel panel;
1: - struct edid *edid;
1: - struct edid *detect_edid;
1: - u8 polled;
1: - void *port;
1: - struct intel_dp *mst_port;
1: - struct work_struct modeset_retry_work;
1: - struct intel_hdcp hdcp;
1: + struct drm_connector base;
1: + struct intel_encoder *encoder;
1: + u32 acpi_device_id;
1: + bool (*get_hw_state)(struct intel_connector *);
1: + struct intel_panel panel;
1: + struct edid *edid;
1: + struct edid *detect_edid;
1: + u8 polled;
1: + void *port;
1: + struct intel_dp *mst_port;
1: + struct work_struct modeset_retry_work;
1: + struct intel_hdcp hdcp;
1: };
1:
1: struct intel_digital_port;
1:
1: struct intel_hdcp_shim {
1: - int (*write_an_aksv)(struct intel_digital_port *, u8 *);
1: - int (*read_bksv)(struct intel_digital_port *, u8 *);
1: - int (*read_bstatus)(struct intel_digital_port *, u8 *);
1: - int (*repeater_present)(struct intel_digital_port *, bool *);
1: - int (*read_ri_prime)(struct intel_digital_port *, u8 *);
1: - int (*read_ksv_ready)(struct intel_digital_port *, bool *);
1: - int (*read_ksv_fifo)(struct intel_digital_port *, int, u8 *);
1: - int (*read_v_prime_part)(struct intel_digital_port *, int, u32 *);
1: - int (*toggle_signalling)(struct intel_digital_port *, bool);
1: - bool (*check_link)(struct intel_digital_port *);
1: - int (*hdcp_capable)(struct intel_digital_port *, bool *);
1: - enum hdcp_wired_protocol protocol;
1: - int (*hdcp_2_2_capable)(struct intel_digital_port *, bool *);
1: - int (*write_2_2_msg)(struct intel_digital_port *, void *, size_t);
1: - int (*read_2_2_msg)(struct intel_digital_port *, u8, void *, size_t);
1: - int (*config_stream_type)(struct intel_digital_port *, bool, u8);
1: - int (*check_2_2_link)(struct intel_digital_port *);
1: + int (*write_an_aksv)(struct intel_digital_port *, u8 *);
1: + int (*read_bksv)(struct intel_digital_port *, u8 *);
1: + int (*read_bstatus)(struct intel_digital_port *, u8 *);
1: + int (*repeater_present)(struct intel_digital_port *, bool *);
1: + int (*read_ri_prime)(struct intel_digital_port *, u8 *);
1: + int (*read_ksv_ready)(struct intel_digital_port *, bool *);
1: + int (*read_ksv_fifo)(struct intel_digital_port *, int, u8 *);
1: + int (*read_v_prime_part)(struct intel_digital_port *, int, u32 *);
1: + int (*toggle_signalling)(struct intel_digital_port *, bool);
1: + bool (*check_link)(struct intel_digital_port *);
1: + int (*hdcp_capable)(struct intel_digital_port *, bool *);
1: + enum hdcp_wired_protocol protocol;
1: + int (*hdcp_2_2_capable)(struct intel_digital_port *, bool *);
1: + int (*write_2_2_msg)(struct intel_digital_port *, void *, size_t);
1: + int (*read_2_2_msg)(struct intel_digital_port *, u8, void *, size_t);
1: + int (*config_stream_type)(struct intel_digital_port *, bool, u8);
1: + int (*check_2_2_link)(struct intel_digital_port *);
1: };
1:
1: struct cec_notifier;
1:
1: struct intel_hdmi {
1: - i915_reg_t hdmi_reg;
1: - int ddc_bus;
1: - struct {
1: - enum drm_dp_dual_mode_type type;
1: - int max_tmds_clock;
1: - } dp_dual_mode;
1: - bool has_hdmi_sink;
1: - bool has_audio;
1: - struct intel_connector *attached_connector;
1: - struct cec_notifier *cec_notifier;
1: + i915_reg_t hdmi_reg;
1: + int ddc_bus;
1: + struct {
1: + enum drm_dp_dual_mode_type type;
1: + int max_tmds_clock;
1: + } dp_dual_mode;
1: + bool has_hdmi_sink;
1: + bool has_audio;
1: + struct intel_connector *attached_connector;
1: + struct cec_notifier *cec_notifier;
1: };
1:
1: enum lspcon_vendor {
1: - LSPCON_VENDOR_MCA = 0,
1: - LSPCON_VENDOR_PARADE = 1,
1: + LSPCON_VENDOR_MCA = 0,
1: + LSPCON_VENDOR_PARADE = 1,
1: };
1:
1: struct intel_lspcon {
1: - bool active;
1: - enum drm_lspcon_mode mode;
1: - enum lspcon_vendor vendor;
1: + bool active;
1: + enum drm_lspcon_mode mode;
1: + enum lspcon_vendor vendor;
1: };
1:
1: struct intel_digital_port {
1: - struct intel_encoder base;
1: - u32 saved_port_bits;
1: - struct intel_dp dp;
1: - struct intel_hdmi hdmi;
1: - struct intel_lspcon lspcon;
1: - enum irqreturn (*hpd_pulse)(struct intel_digital_port *, bool);
1: - bool release_cl2_override;
1: - u8 max_lanes;
1: - enum aux_ch aux_ch;
1: - enum intel_display_power_domain ddi_io_power_domain;
1: - struct mutex tc_lock;
1: - intel_wakeref_t tc_lock_wakeref;
1: - int tc_link_refcount;
1: - bool tc_legacy_port: 1;
1: - char tc_port_name[8];
1: - enum tc_port_mode tc_mode;
1: - enum phy_fia tc_phy_fia;
1: - u8 tc_phy_fia_idx;
1: - void (*write_infoframe)(struct intel_encoder *, const struct intel_crtc_state *, unsigned int, const void *, ssize_t);
1: - void (*read_infoframe)(struct intel_encoder *, const struct intel_crtc_state *, unsigned int, void *, ssize_t);
1: - void (*set_infoframes)(struct intel_encoder *, bool, const struct intel_crtc_state *, const struct drm_connector_state *);
1: - u32 (*infoframes_enabled)(struct intel_encoder *, const struct intel_crtc_state *);
1: + struct intel_encoder base;
1: + u32 saved_port_bits;
1: + struct intel_dp dp;
1: + struct intel_hdmi hdmi;
1: + struct intel_lspcon lspcon;
1: + enum irqreturn (*hpd_pulse)(struct intel_digital_port *, bool);
1: + bool release_cl2_override;
1: + u8 max_lanes;
1: + enum aux_ch aux_ch;
1: + enum intel_display_power_domain ddi_io_power_domain;
1: + struct mutex tc_lock;
1: + intel_wakeref_t tc_lock_wakeref;
1: + int tc_link_refcount;
1: + bool tc_legacy_port : 1;
1: + char tc_port_name[8];
1: + enum tc_port_mode tc_mode;
1: + enum phy_fia tc_phy_fia;
1: + u8 tc_phy_fia_idx;
1: + void (*write_infoframe)(struct intel_encoder *,
1: + const struct intel_crtc_state *, unsigned int,
1: + const void *, ssize_t);
1: + void (*read_infoframe)(struct intel_encoder *,
1: + const struct intel_crtc_state *, unsigned int, void *,
1: + ssize_t);
1: + void (*set_infoframes)(struct intel_encoder *, bool,
1: + const struct intel_crtc_state *,
1: + const struct drm_connector_state *);
1: + u32 (*infoframes_enabled)(struct intel_encoder *,
1: + const struct intel_crtc_state *);
1: };
1:
1: enum vlv_wm_level {
1: - VLV_WM_LEVEL_PM2 = 0,
1: - VLV_WM_LEVEL_PM5 = 1,
1: - VLV_WM_LEVEL_DDR_DVFS = 2,
1: - NUM_VLV_WM_LEVELS = 3,
1: + VLV_WM_LEVEL_PM2 = 0,
1: + VLV_WM_LEVEL_PM5 = 1,
1: + VLV_WM_LEVEL_DDR_DVFS = 2,
1: + NUM_VLV_WM_LEVELS = 3,
1: };
1:
1: enum g4x_wm_level {
1: - G4X_WM_LEVEL_NORMAL = 0,
1: - G4X_WM_LEVEL_SR = 1,
1: - G4X_WM_LEVEL_HPLL = 2,
1: - NUM_G4X_WM_LEVELS = 3,
1: + G4X_WM_LEVEL_NORMAL = 0,
1: + G4X_WM_LEVEL_SR = 1,
1: + G4X_WM_LEVEL_HPLL = 2,
1: + NUM_G4X_WM_LEVELS = 3,
1: };
1:
1: struct intel_dp_mst_encoder {
1: - struct intel_encoder base;
1: - enum pipe pipe;
1: - struct intel_digital_port *primary;
1: - struct intel_connector *connector;
1: + struct intel_encoder base;
1: + enum pipe pipe;
1: + struct intel_digital_port *primary;
1: + struct intel_connector *connector;
1: };
1:
1: enum tc_port {
1: - PORT_TC_NONE = -1,
1: - PORT_TC1 = 0,
1: - PORT_TC2 = 1,
1: - PORT_TC3 = 2,
1: - PORT_TC4 = 3,
1: - PORT_TC5 = 4,
1: - PORT_TC6 = 5,
1: - I915_MAX_TC_PORTS = 6,
1: + PORT_TC_NONE = -1,
1: + PORT_TC1 = 0,
1: + PORT_TC2 = 1,
1: + PORT_TC3 = 2,
1: + PORT_TC4 = 3,
1: + PORT_TC5 = 4,
1: + PORT_TC6 = 5,
1: + I915_MAX_TC_PORTS = 6,
1: };
1:
1: typedef bool (*long_pulse_detect_func)(enum hpd_pin, u32);
1:
1: enum drm_i915_gem_engine_class {
1: - I915_ENGINE_CLASS_RENDER = 0,
1: - I915_ENGINE_CLASS_COPY = 1,
1: - I915_ENGINE_CLASS_VIDEO = 2,
1: - I915_ENGINE_CLASS_VIDEO_ENHANCE = 3,
1: - I915_ENGINE_CLASS_INVALID = -1,
1: + I915_ENGINE_CLASS_RENDER = 0,
1: + I915_ENGINE_CLASS_COPY = 1,
1: + I915_ENGINE_CLASS_VIDEO = 2,
1: + I915_ENGINE_CLASS_VIDEO_ENHANCE = 3,
1: + I915_ENGINE_CLASS_INVALID = -1,
1: };
1:
1: struct drm_i915_getparam {
1: - __s32 param;
1: - int *value;
1: + __s32 param;
1: + int *value;
1: };
1:
1: typedef struct drm_i915_getparam drm_i915_getparam_t;
1:
1: enum vga_switcheroo_state {
1: - VGA_SWITCHEROO_OFF = 0,
1: - VGA_SWITCHEROO_ON = 1,
1: - VGA_SWITCHEROO_NOT_FOUND = 2,
1: + VGA_SWITCHEROO_OFF = 0,
1: + VGA_SWITCHEROO_ON = 1,
1: + VGA_SWITCHEROO_NOT_FOUND = 2,
1: };
1:
1: enum vga_switcheroo_client_id {
1: - VGA_SWITCHEROO_UNKNOWN_ID = 4096,
1: - VGA_SWITCHEROO_IGD = 0,
1: - VGA_SWITCHEROO_DIS = 1,
1: - VGA_SWITCHEROO_MAX_CLIENTS = 2,
1: + VGA_SWITCHEROO_UNKNOWN_ID = 4096,
1: + VGA_SWITCHEROO_IGD = 0,
1: + VGA_SWITCHEROO_DIS = 1,
1: + VGA_SWITCHEROO_MAX_CLIENTS = 2,
1: };
1:
1: struct vga_switcheroo_client_ops {
1: - void (*set_gpu_state)(struct pci_dev *, enum vga_switcheroo_state);
1: - void (*reprobe)(struct pci_dev *);
1: - bool (*can_switch)(struct pci_dev *);
1: - void (*gpu_bound)(struct pci_dev *, enum vga_switcheroo_client_id);
1: + void (*set_gpu_state)(struct pci_dev *, enum vga_switcheroo_state);
1: + void (*reprobe)(struct pci_dev *);
1: + bool (*can_switch)(struct pci_dev *);
1: + void (*gpu_bound)(struct pci_dev *, enum vga_switcheroo_client_id);
1: };
1:
1: enum {
1: - VLV_IOSF_SB_BUNIT = 0,
1: - VLV_IOSF_SB_CCK = 1,
1: - VLV_IOSF_SB_CCU = 2,
1: - VLV_IOSF_SB_DPIO = 3,
1: - VLV_IOSF_SB_FLISDSI = 4,
1: - VLV_IOSF_SB_GPIO = 5,
1: - VLV_IOSF_SB_NC = 6,
1: - VLV_IOSF_SB_PUNIT = 7,
1: + VLV_IOSF_SB_BUNIT = 0,
1: + VLV_IOSF_SB_CCK = 1,
1: + VLV_IOSF_SB_CCU = 2,
1: + VLV_IOSF_SB_DPIO = 3,
1: + VLV_IOSF_SB_FLISDSI = 4,
1: + VLV_IOSF_SB_GPIO = 5,
1: + VLV_IOSF_SB_NC = 6,
1: + VLV_IOSF_SB_PUNIT = 7,
1: };
1:
1: struct intel_css_header {
1: - u32 module_type;
1: - u32 header_len;
1: - u32 header_ver;
1: - u32 module_id;
1: - u32 module_vendor;
1: - u32 date;
1: - u32 size;
1: - u32 key_size;
1: - u32 modulus_size;
1: - u32 exponent_size;
1: - u32 reserved1[12];
1: - u32 version;
1: - u32 reserved2[8];
1: - u32 kernel_header_info;
1: + u32 module_type;
1: + u32 header_len;
1: + u32 header_ver;
1: + u32 module_id;
1: + u32 module_vendor;
1: + u32 date;
1: + u32 size;
1: + u32 key_size;
1: + u32 modulus_size;
1: + u32 exponent_size;
1: + u32 reserved1[12];
1: + u32 version;
1: + u32 reserved2[8];
1: + u32 kernel_header_info;
1: };
1:
1: struct intel_fw_info {
1: - u8 reserved1;
1: - u8 dmc_id;
1: - char stepping;
1: - char substepping;
1: - u32 offset;
1: - u32 reserved2;
1: + u8 reserved1;
1: + u8 dmc_id;
1: + char stepping;
1: + char substepping;
1: + u32 offset;
1: + u32 reserved2;
1: };
1:
1: struct intel_package_header {
1: - u8 header_len;
1: - u8 header_ver;
1: - u8 reserved[10];
1: - u32 num_entries;
1: + u8 header_len;
1: + u8 header_ver;
1: + u8 reserved[10];
1: + u32 num_entries;
1: };
1:
1: struct intel_dmc_header_base {
1: - u32 signature;
1: - u8 header_len;
1: - u8 header_ver;
1: - u16 dmcc_ver;
1: - u32 project;
1: - u32 fw_size;
1: - u32 fw_version;
1: + u32 signature;
1: + u8 header_len;
1: + u8 header_ver;
1: + u16 dmcc_ver;
1: + u32 project;
1: + u32 fw_size;
1: + u32 fw_version;
1: };
1:
1: struct intel_dmc_header_v1 {
1: - struct intel_dmc_header_base base;
1: - u32 mmio_count;
1: - u32 mmioaddr[8];
1: - u32 mmiodata[8];
1: - char dfile[32];
1: - u32 reserved1[2];
1: + struct intel_dmc_header_base base;
1: + u32 mmio_count;
1: + u32 mmioaddr[8];
1: + u32 mmiodata[8];
1: + char dfile[32];
1: + u32 reserved1[2];
1: };
1:
1: struct intel_dmc_header_v3 {
1: - struct intel_dmc_header_base base;
1: - u32 start_mmioaddr;
1: - u32 reserved[9];
1: - char dfile[32];
1: - u32 mmio_count;
1: - u32 mmioaddr[20];
1: - u32 mmiodata[20];
1: + struct intel_dmc_header_base base;
1: + u32 start_mmioaddr;
1: + u32 reserved[9];
1: + char dfile[32];
1: + u32 mmio_count;
1: + u32 mmioaddr[20];
1: + u32 mmiodata[20];
1: };
1:
1: struct stepping_info {
1: - char stepping;
1: - char substepping;
1: + char stepping;
1: + char substepping;
1: };
1:
1: enum intel_memory_type {
1: - INTEL_MEMORY_SYSTEM = 0,
1: - INTEL_MEMORY_LOCAL = 1,
1: - INTEL_MEMORY_STOLEN = 2,
1: + INTEL_MEMORY_SYSTEM = 0,
1: + INTEL_MEMORY_LOCAL = 1,
1: + INTEL_MEMORY_STOLEN = 2,
1: };
1:
1: struct drm_intel_sprite_colorkey {
1: - __u32 plane_id;
1: - __u32 min_value;
1: - __u32 channel_mask;
1: - __u32 max_value;
1: - __u32 flags;
1: + __u32 plane_id;
1: + __u32 min_value;
1: + __u32 channel_mask;
1: + __u32 max_value;
1: + __u32 flags;
1: };
1:
1: -typedef struct {
1: - u32 val;
1: -} uint_fixed_16_16_t;
1: +typedef struct { u32 val; } uint_fixed_16_16_t;
1:
1: struct skl_wm_params {
1: - bool x_tiled;
1: - bool y_tiled;
1: - bool rc_surface;
1: - bool is_planar;
1: - u32 width;
1: - u8 cpp;
1: - u32 plane_pixel_rate;
1: - u32 y_min_scanlines;
1: - u32 plane_bytes_per_line;
1: - uint_fixed_16_16_t plane_blocks_per_line;
1: - uint_fixed_16_16_t y_tile_minimum;
1: - u32 linetime_us;
1: - u32 dbuf_block_size;
1: + bool x_tiled;
1: + bool y_tiled;
1: + bool rc_surface;
1: + bool is_planar;
1: + u32 width;
1: + u8 cpp;
1: + u32 plane_pixel_rate;
1: + u32 y_min_scanlines;
1: + u32 plane_bytes_per_line;
1: + uint_fixed_16_16_t plane_blocks_per_line;
1: + uint_fixed_16_16_t y_tile_minimum;
1: + u32 linetime_us;
1: + u32 dbuf_block_size;
1: };
1:
1: struct intel_wm_config {
1: - unsigned int num_pipes_active;
1: - bool sprites_enabled;
1: - bool sprites_scaled;
1: + unsigned int num_pipes_active;
1: + bool sprites_enabled;
1: + bool sprites_scaled;
1: };
1:
1: struct intel_plane;
1:
1: struct intel_plane_state {
1: - struct drm_plane_state base;
1: - struct i915_ggtt_view view;
1: - struct i915_vma *vma;
1: - long unsigned int flags;
1: - struct {
1: - u32 offset;
1: - u32 stride;
1: - int x;
1: - int y;
1: - } color_plane[2];
1: - u32 ctl;
1: - u32 color_ctl;
1: - int scaler_id;
1: - struct intel_plane *planar_linked_plane;
1: - u32 planar_slave;
1: - struct drm_intel_sprite_colorkey ckey;
1: + struct drm_plane_state base;
1: + struct i915_ggtt_view view;
1: + struct i915_vma *vma;
1: + long unsigned int flags;
1: + struct {
1: + u32 offset;
1: + u32 stride;
1: + int x;
1: + int y;
1: + } color_plane[2];
1: + u32 ctl;
1: + u32 color_ctl;
1: + int scaler_id;
1: + struct intel_plane *planar_linked_plane;
1: + u32 planar_slave;
1: + struct drm_intel_sprite_colorkey ckey;
1: };
1:
1: struct intel_plane {
1: - struct drm_plane base;
1: - enum i9xx_plane_id i9xx_plane;
1: - enum plane_id id;
1: - enum pipe pipe;
1: - bool has_fbc;
1: - bool has_ccs;
1: - u32 frontbuffer_bit;
1: - struct {
1: - u32 base;
1: - u32 cntl;
1: - u32 size;
1: - } cursor;
1: - unsigned int (*max_stride)(struct intel_plane *, u32, u64, unsigned int);
1: - void (*update_plane)(struct intel_plane *, const struct intel_crtc_state *, const struct intel_plane_state *);
1: - void (*update_slave)(struct intel_plane *, const struct intel_crtc_state *, const struct intel_plane_state *);
1: - void (*disable_plane)(struct intel_plane *, const struct intel_crtc_state *);
1: - bool (*get_hw_state)(struct intel_plane *, enum pipe *);
1: - int (*check_plane)(struct intel_crtc_state *, struct intel_plane_state *);
1: - int (*min_cdclk)(const struct intel_crtc_state *, const struct intel_plane_state *);
1: + struct drm_plane base;
1: + enum i9xx_plane_id i9xx_plane;
1: + enum plane_id id;
1: + enum pipe pipe;
1: + bool has_fbc;
1: + bool has_ccs;
1: + u32 frontbuffer_bit;
1: + struct {
1: + u32 base;
1: + u32 cntl;
1: + u32 size;
1: + } cursor;
1: + unsigned int (*max_stride)(struct intel_plane *, u32, u64, unsigned int);
1: + void (*update_plane)(struct intel_plane *, const struct intel_crtc_state *,
1: + const struct intel_plane_state *);
1: + void (*update_slave)(struct intel_plane *, const struct intel_crtc_state *,
1: + const struct intel_plane_state *);
1: + void (*disable_plane)(struct intel_plane *, const struct intel_crtc_state *);
1: + bool (*get_hw_state)(struct intel_plane *, enum pipe *);
1: + int (*check_plane)(struct intel_crtc_state *, struct intel_plane_state *);
1: + int (*min_cdclk)(const struct intel_crtc_state *,
1: + const struct intel_plane_state *);
1: };
1:
1: struct intel_watermark_params {
1: - u16 fifo_size;
1: - u16 max_wm;
1: - u8 default_wm;
1: - u8 guard_size;
1: - u8 cacheline_size;
1: + u16 fifo_size;
1: + u16 max_wm;
1: + u8 default_wm;
1: + u8 guard_size;
1: + u8 cacheline_size;
1: };
1:
1: struct cxsr_latency {
1: - bool is_desktop: 1;
1: - bool is_ddr3: 1;
1: - u16 fsb_freq;
1: - u16 mem_freq;
1: - u16 display_sr;
1: - u16 display_hpll_disable;
1: - u16 cursor_sr;
1: - u16 cursor_hpll_disable;
1: + bool is_desktop : 1;
1: + bool is_ddr3 : 1;
1: + u16 fsb_freq;
1: + u16 mem_freq;
1: + u16 display_sr;
1: + u16 display_hpll_disable;
1: + u16 cursor_sr;
1: + u16 cursor_hpll_disable;
1: };
1:
1: struct ilk_wm_maximums {
1: - u16 pri;
1: - u16 spr;
1: - u16 cur;
1: - u16 fbc;
1: + u16 pri;
1: + u16 spr;
1: + u16 cur;
1: + u16 fbc;
1: };
1:
1: enum intel_sbi_destination {
1: - SBI_ICLK = 0,
1: - SBI_MPHY = 1,
1: + SBI_ICLK = 0,
1: + SBI_MPHY = 1,
1: };
1:
1: struct drm_i915_reg_read {
1: - __u64 offset;
1: - __u64 val;
1: + __u64 offset;
1: + __u64 val;
1: };
1:
1: enum ack_type {
1: - ACK_CLEAR = 0,
1: - ACK_SET = 1,
1: + ACK_CLEAR = 0,
1: + ACK_SET = 1,
1: };
1:
1: struct reg_whitelist {
1: - i915_reg_t offset_ldw;
1: - i915_reg_t offset_udw;
1: - u16 gen_mask;
1: - u8 size;
1: + i915_reg_t offset_ldw;
1: + i915_reg_t offset_udw;
1: + u16 gen_mask;
1: + u8 size;
1: };
1:
1: struct remap_pfn {
1: - struct mm_struct *mm;
1: - long unsigned int pfn;
1: - pgprot_t prot;
1: + struct mm_struct *mm;
1: + long unsigned int pfn;
1: + pgprot_t prot;
1: };
1:
1: enum i915_sw_fence_notify {
1: - FENCE_COMPLETE = 0,
1: - FENCE_FREE = 1,
1: + FENCE_COMPLETE = 0,
1: + FENCE_FREE = 1,
1: };
1:
1: -typedef int (*i915_sw_fence_notify_t)(struct i915_sw_fence *, enum i915_sw_fence_notify);
1: +typedef int (*i915_sw_fence_notify_t)(struct i915_sw_fence *,
1: + enum i915_sw_fence_notify);
1:
1: enum {
1: - DEBUG_FENCE_IDLE = 0,
1: - DEBUG_FENCE_NOTIFY = 1,
1: + DEBUG_FENCE_IDLE = 0,
1: + DEBUG_FENCE_NOTIFY = 1,
1: };
1:
1: struct i915_sw_dma_fence_cb_timer {
1: - struct i915_sw_dma_fence_cb base;
1: - struct dma_fence *dma;
1: - struct timer_list timer;
1: - struct irq_work work;
1: - struct callback_head rcu;
1: + struct i915_sw_dma_fence_cb base;
1: + struct dma_fence *dma;
1: + struct timer_list timer;
1: + struct irq_work work;
1: + struct callback_head rcu;
1: };
1:
1: struct dma_fence_work;
1:
1: struct dma_fence_work_ops {
1: - const char *name;
1: - int (*work)(struct dma_fence_work *);
1: - void (*release)(struct dma_fence_work *);
1: + const char *name;
1: + int (*work)(struct dma_fence_work *);
1: + void (*release)(struct dma_fence_work *);
1: };
1:
1: struct dma_fence_work {
1: - struct dma_fence dma;
1: - spinlock_t lock;
1: - struct i915_sw_fence chain;
1: - struct i915_sw_dma_fence_cb cb;
1: - struct work_struct work;
1: - const struct dma_fence_work_ops *ops;
1: + struct dma_fence dma;
1: + spinlock_t lock;
1: + struct i915_sw_fence chain;
1: + struct i915_sw_dma_fence_cb cb;
1: + struct work_struct work;
1: + const struct dma_fence_work_ops *ops;
1: };
1:
1: struct i915_syncmap___2 {
1: - u64 prefix;
1: - unsigned int height;
1: - unsigned int bitmap;
1: - struct i915_syncmap___2 *parent;
1: + u64 prefix;
1: + unsigned int height;
1: + unsigned int bitmap;
1: + struct i915_syncmap___2 *parent;
1: };
1:
1: struct i915_user_extension {
1: - __u64 next_extension;
1: - __u32 name;
1: - __u32 flags;
1: - __u32 rsvd[4];
1: + __u64 next_extension;
1: + __u32 name;
1: + __u32 flags;
1: + __u32 rsvd[4];
1: };
1:
1: typedef int (*i915_user_extension_fn)(struct i915_user_extension *, void *);
1:
1: struct drm_i915_getparam32 {
1: - s32 param;
1: - u32 value;
1: + s32 param;
1: + u32 value;
1: };
1:
1: struct i915_gem_engines_iter {
1: - unsigned int idx;
1: - const struct i915_gem_engines *engines;
1: + unsigned int idx;
1: + const struct i915_gem_engines *engines;
1: };
1:
1: struct guc_execlist_context {
1: - u32 context_desc;
1: - u32 context_id;
1: - u32 ring_status;
1: - u32 ring_lrca;
1: - u32 ring_begin;
1: - u32 ring_end;
1: - u32 ring_next_free_location;
1: - u32 ring_current_tail_pointer_value;
1: - u8 engine_state_submit_value;
1: - u8 engine_state_wait_value;
1: - u16 pagefault_count;
1: - u16 engine_submit_queue_count;
1: + u32 context_desc;
1: + u32 context_id;
1: + u32 ring_status;
1: + u32 ring_lrca;
1: + u32 ring_begin;
1: + u32 ring_end;
1: + u32 ring_next_free_location;
1: + u32 ring_current_tail_pointer_value;
1: + u8 engine_state_submit_value;
1: + u8 engine_state_wait_value;
1: + u16 pagefault_count;
1: + u16 engine_submit_queue_count;
1: } __attribute__((packed));
1:
1: struct guc_stage_desc {
1: - u32 sched_common_area;
1: - u32 stage_id;
1: - u32 pas_id;
1: - u8 engines_used;
1: - u64 db_trigger_cpu;
1: - u32 db_trigger_uk;
1: - u64 db_trigger_phy;
1: - u16 db_id;
1: - struct guc_execlist_context lrc[5];
1: - u8 attribute;
1: - u32 priority;
1: - u32 wq_sampled_tail_offset;
1: - u32 wq_total_submit_enqueues;
1: - u32 process_desc;
1: - u32 wq_addr;
1: - u32 wq_size;
1: - u32 engine_presence;
1: - u8 engine_suspended;
1: - u8 reserved0[3];
1: - u64 reserved1[1];
1: - u64 desc_private;
1: + u32 sched_common_area;
1: + u32 stage_id;
1: + u32 pas_id;
1: + u8 engines_used;
1: + u64 db_trigger_cpu;
1: + u32 db_trigger_uk;
1: + u64 db_trigger_phy;
1: + u16 db_id;
1: + struct guc_execlist_context lrc[5];
1: + u8 attribute;
1: + u32 priority;
1: + u32 wq_sampled_tail_offset;
1: + u32 wq_total_submit_enqueues;
1: + u32 process_desc;
1: + u32 wq_addr;
1: + u32 wq_size;
1: + u32 engine_presence;
1: + u8 engine_suspended;
1: + u8 reserved0[3];
1: + u64 reserved1[1];
1: + u64 desc_private;
1: } __attribute__((packed));
1:
1: enum i915_map_type {
1: - I915_MAP_WB = 0,
1: - I915_MAP_WC = 1,
1: - I915_MAP_FORCE_WB = -2147483648,
1: - I915_MAP_FORCE_WC = -2147483647,
1: + I915_MAP_WB = 0,
1: + I915_MAP_WC = 1,
1: + I915_MAP_FORCE_WB = -2147483648,
1: + I915_MAP_FORCE_WC = -2147483647,
1: };
1:
1: struct intel_guc_client {
1: - struct i915_vma *vma;
1: - void *vaddr;
1: - struct intel_guc *guc;
1: - u32 priority;
1: - u32 stage_id;
1: - u32 proc_desc_offset;
1: - u16 doorbell_id;
1: - long unsigned int doorbell_offset;
1: - spinlock_t wq_lock;
1: + struct i915_vma *vma;
1: + void *vaddr;
1: + struct intel_guc *guc;
1: + u32 priority;
1: + u32 stage_id;
1: + u32 proc_desc_offset;
1: + u16 doorbell_id;
1: + long unsigned int doorbell_offset;
1: + spinlock_t wq_lock;
1: };
1:
1: struct file_stats {
1: - struct i915_address_space *vm;
1: - long unsigned int count;
1: - u64 total;
1: - u64 unbound;
1: - u64 active;
1: - u64 inactive;
1: - u64 closed;
1: + struct i915_address_space *vm;
1: + long unsigned int count;
1: + u64 total;
1: + u64 unbound;
1: + u64 active;
1: + u64 inactive;
1: + u64 closed;
1: };
1:
1: struct i915_debugfs_files {
1: - const char *name;
1: - const struct file_operations *fops;
1: + const char *name;
1: + const struct file_operations *fops;
1: };
1:
1: struct dpcd_block {
1: - unsigned int offset;
1: - unsigned int end;
1: - size_t size;
1: - bool edp;
1: + unsigned int offset;
1: + unsigned int end;
1: + size_t size;
1: + bool edp;
1: };
1:
1: struct i915_str_attribute {
1: - struct device_attribute attr;
1: - const char *str;
1: + struct device_attribute attr;
1: + const char *str;
1: };
1:
1: struct i915_ext_attribute {
1: - struct device_attribute attr;
1: - long unsigned int val;
1: + struct device_attribute attr;
1: + long unsigned int val;
1: };
1:
1: enum {
1: - I915_FENCE_FLAG_ACTIVE = 3,
1: - I915_FENCE_FLAG_SIGNAL = 4,
1: + I915_FENCE_FLAG_ACTIVE = 3,
1: + I915_FENCE_FLAG_SIGNAL = 4,
1: };
1:
1: typedef void (*i915_global_func_t)();
1:
1: struct i915_global {
1: - struct list_head link;
1: - i915_global_func_t shrink;
1: - i915_global_func_t exit;
1: + struct list_head link;
1: + i915_global_func_t shrink;
1: + i915_global_func_t exit;
1: };
1:
1: struct i915_global_context {
1: - struct i915_global base;
1: - struct kmem_cache *slab_ce;
1: + struct i915_global base;
1: + struct kmem_cache *slab_ce;
1: };
1:
1: struct engine_mmio_base {
1: - u32 gen: 8;
1: - u32 base: 24;
1: + u32 gen : 8;
1: + u32 base : 24;
1: };
1:
1: struct engine_info {
1: - unsigned int hw_id;
1: - u8 class;
1: - u8 instance;
1: - struct engine_mmio_base mmio_bases[3];
1: + unsigned int hw_id;
1: + u8 class;
1: + u8 instance;
1: + struct engine_mmio_base mmio_bases[3];
1: };
1:
1: struct measure_breadcrumb {
1: - struct i915_request rq;
1: - struct intel_timeline timeline;
1: - struct intel_ring ring;
1: - u32 cs[1024];
1: + struct i915_request rq;
1: + struct intel_timeline timeline;
1: + struct intel_ring ring;
1: + u32 cs[1024];
1: };
1:
1: enum {
1: - I915_PRIORITY_MIN = -1024,
1: - I915_PRIORITY_NORMAL = 0,
1: - I915_PRIORITY_MAX = 1024,
1: - I915_PRIORITY_HEARTBEAT = 1025,
1: - I915_PRIORITY_DISPLAY = 1026,
1: + I915_PRIORITY_MIN = -1024,
1: + I915_PRIORITY_NORMAL = 0,
1: + I915_PRIORITY_MAX = 1024,
1: + I915_PRIORITY_HEARTBEAT = 1025,
1: + I915_PRIORITY_DISPLAY = 1026,
1: };
1:
1: struct intel_engine_pool_node {
1: - struct i915_active active;
1: - struct drm_i915_gem_object *obj;
1: - struct list_head link;
1: - struct intel_engine_pool *pool;
1: + struct i915_active active;
1: + struct drm_i915_gem_object *obj;
1: + struct list_head link;
1: + struct intel_engine_pool *pool;
1: };
1:
1: struct legacy_ring {
1: - struct intel_gt *gt;
1: - u8 class;
1: - u8 instance;
1: + struct intel_gt *gt;
1: + u8 class;
1: + u8 instance;
1: };
1:
1: struct ia_constants {
1: - unsigned int min_gpu_freq;
1: - unsigned int max_gpu_freq;
1: - unsigned int min_ring_freq;
1: - unsigned int max_ia_freq;
1: + unsigned int min_gpu_freq;
1: + unsigned int max_gpu_freq;
1: + unsigned int min_ring_freq;
1: + unsigned int max_ia_freq;
1: };
1:
1: enum {
1: - INTEL_ADVANCED_CONTEXT = 0,
1: - INTEL_LEGACY_32B_CONTEXT = 1,
1: - INTEL_ADVANCED_AD_CONTEXT = 2,
1: - INTEL_LEGACY_64B_CONTEXT = 3,
1: + INTEL_ADVANCED_CONTEXT = 0,
1: + INTEL_LEGACY_32B_CONTEXT = 1,
1: + INTEL_ADVANCED_AD_CONTEXT = 2,
1: + INTEL_LEGACY_64B_CONTEXT = 3,
1: };
1:
1: enum {
1: - INTEL_CONTEXT_SCHEDULE_IN = 0,
1: - INTEL_CONTEXT_SCHEDULE_OUT = 1,
1: - INTEL_CONTEXT_SCHEDULE_PREEMPTED = 2,
1: + INTEL_CONTEXT_SCHEDULE_IN = 0,
1: + INTEL_CONTEXT_SCHEDULE_OUT = 1,
1: + INTEL_CONTEXT_SCHEDULE_PREEMPTED = 2,
1: };
1:
1: enum intel_gt_scratch_field {
1: - INTEL_GT_SCRATCH_FIELD_DEFAULT = 0,
1: - INTEL_GT_SCRATCH_FIELD_RENDER_FLUSH = 128,
1: - INTEL_GT_SCRATCH_FIELD_COHERENTL3_WA = 256,
1: - INTEL_GT_SCRATCH_FIELD_PERF_CS_GPR = 2048,
1: - INTEL_GT_SCRATCH_FIELD_PERF_PREDICATE_RESULT_1 = 2096,
1: + INTEL_GT_SCRATCH_FIELD_DEFAULT = 0,
1: + INTEL_GT_SCRATCH_FIELD_RENDER_FLUSH = 128,
1: + INTEL_GT_SCRATCH_FIELD_COHERENTL3_WA = 256,
1: + INTEL_GT_SCRATCH_FIELD_PERF_CS_GPR = 2048,
1: + INTEL_GT_SCRATCH_FIELD_PERF_PREDICATE_RESULT_1 = 2096,
1: };
1:
1: struct ve_node {
1: - struct rb_node rb;
1: - int prio;
1: + struct rb_node rb;
1: + int prio;
1: };
1:
1: struct ve_bond {
1: - const struct intel_engine_cs *master;
1: - intel_engine_mask_t sibling_mask;
1: + const struct intel_engine_cs *master;
1: + intel_engine_mask_t sibling_mask;
1: };
1:
1: struct virtual_engine {
1: - struct intel_engine_cs base;
1: - struct intel_context context;
1: - struct i915_request *request;
1: - struct ve_node nodes[8];
1: - struct ve_bond *bonds;
1: - unsigned int num_bonds;
1: - unsigned int num_siblings;
1: - struct intel_engine_cs *siblings[0];
1: + struct intel_engine_cs base;
1: + struct intel_context context;
1: + struct i915_request *request;
1: + struct ve_node nodes[8];
1: + struct ve_bond *bonds;
1: + unsigned int num_bonds;
1: + unsigned int num_siblings;
1: + struct intel_engine_cs *siblings[0];
1: };
1:
1: struct lri {
1: - i915_reg_t reg;
1: - u32 value;
1: + i915_reg_t reg;
1: + u32 value;
1: };
1:
1: -typedef u32 * (*wa_bb_func_t)(struct intel_engine_cs *, u32 *);
1: +typedef u32 *(*wa_bb_func_t)(struct intel_engine_cs *, u32 *);
1:
1: enum i915_mocs_table_index {
1: - I915_MOCS_UNCACHED = 0,
1: - I915_MOCS_PTE = 1,
1: - I915_MOCS_CACHED = 2,
1: + I915_MOCS_UNCACHED = 0,
1: + I915_MOCS_PTE = 1,
1: + I915_MOCS_CACHED = 2,
1: };
1:
1: struct drm_i915_mocs_entry {
1: - u32 control_value;
1: - u16 l3cc_value;
1: - u16 used;
1: + u32 control_value;
1: + u16 l3cc_value;
1: + u16 used;
1: };
1:
1: struct drm_i915_mocs_table {
1: - unsigned int size;
1: - unsigned int n_entries;
1: - const struct drm_i915_mocs_entry *table;
1: + unsigned int size;
1: + unsigned int n_entries;
1: + const struct drm_i915_mocs_entry *table;
1: };
1:
1: struct intel_renderstate_rodata {
1: - const u32 *reloc;
1: - const u32 *batch;
1: - const u32 batch_items;
1: + const u32 *reloc;
1: + const u32 *batch;
1: + const u32 batch_items;
1: };
1:
1: struct intel_renderstate {
1: - const struct intel_renderstate_rodata *rodata;
1: - struct drm_i915_gem_object *obj;
1: - struct i915_vma *vma;
1: - u32 batch_offset;
1: - u32 batch_size;
1: - u32 aux_offset;
1: - u32 aux_size;
1: + const struct intel_renderstate_rodata *rodata;
1: + struct drm_i915_gem_object *obj;
1: + struct i915_vma *vma;
1: + u32 batch_offset;
1: + u32 batch_size;
1: + u32 aux_offset;
1: + u32 aux_size;
1: };
1:
1: struct intel_wedge_me {
1: - struct delayed_work work;
1: - struct intel_gt *gt;
1: - const char *name;
1: + struct delayed_work work;
1: + struct intel_gt *gt;
1: + const char *name;
1: };
1:
1: typedef int (*reset_func)(struct intel_gt *, intel_engine_mask_t, unsigned int);
1:
1: struct cparams {
1: - u16 i;
1: - u16 t;
1: - u16 m;
1: - u16 c;
1: + u16 i;
1: + u16 t;
1: + u16 m;
1: + u16 c;
1: };
1:
1: struct intel_timeline_hwsp;
1:
1: struct intel_timeline_cacheline {
1: - struct i915_active active;
1: - struct intel_timeline_hwsp *hwsp;
1: - void *vaddr;
1: + struct i915_active active;
1: + struct intel_timeline_hwsp *hwsp;
1: + void *vaddr;
1: };
1:
1: struct intel_timeline_hwsp {
1: - struct intel_gt *gt;
1: - struct intel_gt_timelines *gt_timelines;
1: - struct list_head free_link;
1: - struct i915_vma *vma;
1: - u64 free_bitmap;
1: + struct intel_gt *gt;
1: + struct intel_gt_timelines *gt_timelines;
1: + struct list_head free_link;
1: + struct i915_vma *vma;
1: + u64 free_bitmap;
1: };
1:
1: struct drm_i915_gem_busy {
1: - __u32 handle;
1: - __u32 busy;
1: + __u32 handle;
1: + __u32 busy;
1: };
1:
1: enum fb_op_origin {
1: - ORIGIN_GTT = 0,
1: - ORIGIN_CPU = 1,
1: - ORIGIN_CS = 2,
1: - ORIGIN_FLIP = 3,
1: - ORIGIN_DIRTYFB = 4,
1: + ORIGIN_GTT = 0,
1: + ORIGIN_CPU = 1,
1: + ORIGIN_CS = 2,
1: + ORIGIN_FLIP = 3,
1: + ORIGIN_DIRTYFB = 4,
1: };
1:
1: struct clflush {
1: - struct dma_fence_work base;
1: - struct drm_i915_gem_object *obj;
1: + struct dma_fence_work base;
1: + struct drm_i915_gem_object *obj;
1: };
1:
1: struct i915_sleeve {
1: - struct i915_vma *vma;
1: - struct drm_i915_gem_object *obj;
1: - struct sg_table *pages;
1: - struct i915_page_sizes page_sizes;
1: + struct i915_vma *vma;
1: + struct drm_i915_gem_object *obj;
1: + struct sg_table *pages;
1: + struct i915_page_sizes page_sizes;
1: };
1:
1: struct clear_pages_work {
1: - struct dma_fence dma;
1: - struct dma_fence_cb cb;
1: - struct i915_sw_fence wait;
1: - struct work_struct work;
1: - struct irq_work irq_work;
1: - struct i915_sleeve *sleeve;
1: - struct intel_context *ce;
1: - u32 value;
1: + struct dma_fence dma;
1: + struct dma_fence_cb cb;
1: + struct i915_sw_fence wait;
1: + struct work_struct work;
1: + struct irq_work irq_work;
1: + struct i915_sleeve *sleeve;
1: + struct intel_context *ce;
1: + u32 value;
1: };
1:
1: struct i915_engine_class_instance {
1: - __u16 engine_class;
1: - __u16 engine_instance;
1: + __u16 engine_class;
1: + __u16 engine_instance;
1: };
1:
1: struct drm_i915_gem_context_create_ext {
1: - __u32 ctx_id;
1: - __u32 flags;
1: - __u64 extensions;
1: + __u32 ctx_id;
1: + __u32 flags;
1: + __u64 extensions;
1: };
1:
1: struct drm_i915_gem_context_param {
1: - __u32 ctx_id;
1: - __u32 size;
1: - __u64 param;
1: - __u64 value;
1: + __u32 ctx_id;
1: + __u32 size;
1: + __u64 param;
1: + __u64 value;
1: };
1:
1: struct drm_i915_gem_context_param_sseu {
1: - struct i915_engine_class_instance engine;
1: - __u32 flags;
1: - __u64 slice_mask;
1: - __u64 subslice_mask;
1: - __u16 min_eus_per_subslice;
1: - __u16 max_eus_per_subslice;
1: - __u32 rsvd;
1: + struct i915_engine_class_instance engine;
1: + __u32 flags;
1: + __u64 slice_mask;
1: + __u64 subslice_mask;
1: + __u16 min_eus_per_subslice;
1: + __u16 max_eus_per_subslice;
1: + __u32 rsvd;
1: };
1:
1: struct i915_context_engines_load_balance {
1: - struct i915_user_extension base;
1: - __u16 engine_index;
1: - __u16 num_siblings;
1: - __u32 flags;
1: - __u64 mbz64;
1: - struct i915_engine_class_instance engines[0];
1: + struct i915_user_extension base;
1: + __u16 engine_index;
1: + __u16 num_siblings;
1: + __u32 flags;
1: + __u64 mbz64;
1: + struct i915_engine_class_instance engines[0];
1: };
1:
1: struct i915_context_engines_bond {
1: - struct i915_user_extension base;
1: - struct i915_engine_class_instance master;
1: - __u16 virtual_index;
1: - __u16 num_bonds;
1: - __u64 flags;
1: - __u64 mbz64[4];
1: - struct i915_engine_class_instance engines[0];
1: + struct i915_user_extension base;
1: + struct i915_engine_class_instance master;
1: + __u16 virtual_index;
1: + __u16 num_bonds;
1: + __u64 flags;
1: + __u64 mbz64[4];
1: + struct i915_engine_class_instance engines[0];
1: };
1:
1: struct i915_context_param_engines {
1: - __u64 extensions;
1: - struct i915_engine_class_instance engines[0];
1: + __u64 extensions;
1: + struct i915_engine_class_instance engines[0];
1: };
1:
1: struct drm_i915_gem_context_create_ext_setparam {
1: - struct i915_user_extension base;
1: - struct drm_i915_gem_context_param param;
1: + struct i915_user_extension base;
1: + struct drm_i915_gem_context_param param;
1: };
1:
1: struct drm_i915_gem_context_create_ext_clone {
1: - struct i915_user_extension base;
1: - __u32 clone_id;
1: - __u32 flags;
1: - __u64 rsvd;
1: + struct i915_user_extension base;
1: + __u32 clone_id;
1: + __u32 flags;
1: + __u64 rsvd;
1: };
1:
1: struct drm_i915_gem_context_destroy {
1: - __u32 ctx_id;
1: - __u32 pad;
1: + __u32 ctx_id;
1: + __u32 pad;
1: };
1:
1: struct drm_i915_gem_vm_control {
1: - __u64 extensions;
1: - __u32 flags;
1: - __u32 vm_id;
1: + __u64 extensions;
1: + __u32 flags;
1: + __u32 vm_id;
1: };
1:
1: struct drm_i915_reset_stats {
1: - __u32 ctx_id;
1: - __u32 flags;
1: - __u32 reset_count;
1: - __u32 batch_active;
1: - __u32 batch_pending;
1: - __u32 pad;
1: + __u32 ctx_id;
1: + __u32 flags;
1: + __u32 reset_count;
1: + __u32 batch_active;
1: + __u32 batch_pending;
1: + __u32 pad;
1: };
1:
1: struct radix_tree_iter {
1: - long unsigned int index;
1: - long unsigned int next_index;
1: - long unsigned int tags;
1: - struct xa_node *node;
1: + long unsigned int index;
1: + long unsigned int next_index;
1: + long unsigned int tags;
1: + struct xa_node *node;
1: };
1:
1: enum {
1: - RADIX_TREE_ITER_TAG_MASK = 15,
1: - RADIX_TREE_ITER_TAGGED = 16,
1: - RADIX_TREE_ITER_CONTIG = 32,
1: + RADIX_TREE_ITER_TAG_MASK = 15,
1: + RADIX_TREE_ITER_TAGGED = 16,
1: + RADIX_TREE_ITER_CONTIG = 32,
1: };
1:
1: struct i915_lut_handle {
1: - struct list_head obj_link;
1: - struct i915_gem_context *ctx;
1: - u32 handle;
1: + struct list_head obj_link;
1: + struct i915_gem_context *ctx;
1: + u32 handle;
1: };
1:
1: struct i915_global_gem_context {
1: - struct i915_global base;
1: - struct kmem_cache *slab_luts;
1: + struct i915_global base;
1: + struct kmem_cache *slab_luts;
1: };
1:
1: struct context_barrier_task {
1: - struct i915_active base;
1: - void (*task)(void *);
1: - void *data;
1: + struct i915_active base;
1: + void (*task)(void *);
1: + void *data;
1: };
1:
1: struct set_engines {
1: - struct i915_gem_context *ctx;
1: - struct i915_gem_engines *engines;
1: + struct i915_gem_context *ctx;
1: + struct i915_gem_engines *engines;
1: };
1:
1: struct create_ext {
1: - struct i915_gem_context *ctx;
1: - struct drm_i915_file_private *fpriv;
1: + struct i915_gem_context *ctx;
1: + struct drm_i915_file_private *fpriv;
1: };
1:
1: struct drm_i915_gem_set_domain {
1: - __u32 handle;
1: - __u32 read_domains;
1: - __u32 write_domain;
1: + __u32 handle;
1: + __u32 read_domains;
1: + __u32 write_domain;
1: };
1:
1: struct drm_i915_gem_caching {
1: - __u32 handle;
1: - __u32 caching;
1: + __u32 handle;
1: + __u32 caching;
1: };
1:
1: struct i915_vma_work;
1:
1: struct drm_i915_gem_relocation_entry {
1: - __u32 target_handle;
1: - __u32 delta;
1: - __u64 offset;
1: - __u64 presumed_offset;
1: - __u32 read_domains;
1: - __u32 write_domain;
1: + __u32 target_handle;
1: + __u32 delta;
1: + __u64 offset;
1: + __u64 presumed_offset;
1: + __u32 read_domains;
1: + __u32 write_domain;
1: };
1:
1: struct drm_i915_gem_exec_object {
1: - __u32 handle;
1: - __u32 relocation_count;
1: - __u64 relocs_ptr;
1: - __u64 alignment;
1: - __u64 offset;
1: + __u32 handle;
1: + __u32 relocation_count;
1: + __u64 relocs_ptr;
1: + __u64 alignment;
1: + __u64 offset;
1: };
1:
1: struct drm_i915_gem_execbuffer {
1: - __u64 buffers_ptr;
1: - __u32 buffer_count;
1: - __u32 batch_start_offset;
1: - __u32 batch_len;
1: - __u32 DR1;
1: - __u32 DR4;
1: - __u32 num_cliprects;
1: - __u64 cliprects_ptr;
1: + __u64 buffers_ptr;
1: + __u32 buffer_count;
1: + __u32 batch_start_offset;
1: + __u32 batch_len;
1: + __u32 DR1;
1: + __u32 DR4;
1: + __u32 num_cliprects;
1: + __u64 cliprects_ptr;
1: };
1:
1: struct drm_i915_gem_exec_object2 {
1: - __u32 handle;
1: - __u32 relocation_count;
1: - __u64 relocs_ptr;
1: - __u64 alignment;
1: - __u64 offset;
1: - __u64 flags;
1: - union {
1: - __u64 rsvd1;
1: - __u64 pad_to_size;
1: - };
1: - __u64 rsvd2;
1: + __u32 handle;
1: + __u32 relocation_count;
1: + __u64 relocs_ptr;
1: + __u64 alignment;
1: + __u64 offset;
1: + __u64 flags;
1: + union {
1: + __u64 rsvd1;
1: + __u64 pad_to_size;
1: + };
1: + __u64 rsvd2;
1: };
1:
1: struct drm_i915_gem_exec_fence {
1: - __u32 handle;
1: - __u32 flags;
1: + __u32 handle;
1: + __u32 flags;
1: };
1:
1: struct drm_i915_gem_execbuffer2 {
1: - __u64 buffers_ptr;
1: - __u32 buffer_count;
1: - __u32 batch_start_offset;
1: - __u32 batch_len;
1: - __u32 DR1;
1: - __u32 DR4;
1: - __u32 num_cliprects;
1: - __u64 cliprects_ptr;
1: - __u64 flags;
1: - __u64 rsvd1;
1: - __u64 rsvd2;
1: + __u64 buffers_ptr;
1: + __u32 buffer_count;
1: + __u32 batch_start_offset;
1: + __u32 batch_len;
1: + __u32 DR1;
1: + __u32 DR4;
1: + __u32 num_cliprects;
1: + __u64 cliprects_ptr;
1: + __u64 flags;
1: + __u64 rsvd1;
1: + __u64 rsvd2;
1: };
1:
1: enum {
1: - FORCE_CPU_RELOC = 1,
1: - FORCE_GTT_RELOC = 2,
1: - FORCE_GPU_RELOC = 3,
1: + FORCE_CPU_RELOC = 1,
1: + FORCE_GTT_RELOC = 2,
1: + FORCE_GPU_RELOC = 3,
1: };
1:
1: struct reloc_cache {
1: - struct drm_mm_node node;
1: - long unsigned int vaddr;
1: - long unsigned int page;
1: - unsigned int gen;
1: - bool use_64bit_reloc: 1;
1: - bool has_llc: 1;
1: - bool has_fence: 1;
1: - bool needs_unfenced: 1;
1: - struct intel_context *ce;
1: - struct i915_request *rq;
1: - u32 *rq_cmd;
1: - unsigned int rq_size;
1: + struct drm_mm_node node;
1: + long unsigned int vaddr;
1: + long unsigned int page;
1: + unsigned int gen;
1: + bool use_64bit_reloc : 1;
1: + bool has_llc : 1;
1: + bool has_fence : 1;
1: + bool needs_unfenced : 1;
1: + struct intel_context *ce;
1: + struct i915_request *rq;
1: + u32 *rq_cmd;
1: + unsigned int rq_size;
1: };
1:
1: struct i915_execbuffer {
1: - struct drm_i915_private *i915;
1: - struct drm_file *file;
1: - struct drm_i915_gem_execbuffer2 *args;
1: - struct drm_i915_gem_exec_object2 *exec;
1: - struct i915_vma **vma;
1: - unsigned int *flags;
1: - struct intel_engine_cs *engine;
1: - struct intel_context *context;
1: - struct i915_gem_context *gem_context;
1: - struct i915_request *request;
1: - struct i915_vma *batch;
1: - unsigned int buffer_count;
1: - struct list_head unbound;
1: - struct list_head relocs;
1: - struct reloc_cache reloc_cache;
1: - u64 invalid_flags;
1: - u32 context_flags;
1: - u32 batch_start_offset;
1: - u32 batch_len;
1: - u32 batch_flags;
1: - int lut_size;
1: - struct hlist_head *buckets;
1: + struct drm_i915_private *i915;
1: + struct drm_file *file;
1: + struct drm_i915_gem_execbuffer2 *args;
1: + struct drm_i915_gem_exec_object2 *exec;
1: + struct i915_vma **vma;
1: + unsigned int *flags;
1: + struct intel_engine_cs *engine;
1: + struct intel_context *context;
1: + struct i915_gem_context *gem_context;
1: + struct i915_request *request;
1: + struct i915_vma *batch;
1: + unsigned int buffer_count;
1: + struct list_head unbound;
1: + struct list_head relocs;
1: + struct reloc_cache reloc_cache;
1: + u64 invalid_flags;
1: + u32 context_flags;
1: + u32 batch_start_offset;
1: + u32 batch_len;
1: + u32 batch_flags;
1: + int lut_size;
1: + struct hlist_head *buckets;
1: };
1:
1: struct stub_fence {
1: - struct dma_fence dma;
1: - struct i915_sw_fence chain;
1: + struct dma_fence dma;
1: + struct i915_sw_fence chain;
1: };
1:
1: enum i915_mm_subclass {
1: - I915_MM_NORMAL = 0,
1: - I915_MM_SHRINKER = 1,
1: + I915_MM_NORMAL = 0,
1: + I915_MM_SHRINKER = 1,
1: };
1:
1: struct i915_global_object {
1: - struct i915_global base;
1: - struct kmem_cache *slab_objects;
1: + struct i915_global base;
1: + struct kmem_cache *slab_objects;
1: };
1:
1: struct drm_i915_gem_mmap {
1: - __u32 handle;
1: - __u32 pad;
1: - __u64 offset;
1: - __u64 size;
1: - __u64 addr_ptr;
1: - __u64 flags;
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: + __u64 size;
1: + __u64 addr_ptr;
1: + __u64 flags;
1: };
1:
1: struct drm_i915_gem_mmap_gtt {
1: - __u32 handle;
1: - __u32 pad;
1: - __u64 offset;
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: };
1:
1: struct sgt_iter {
1: - struct scatterlist *sgp;
1: - union {
1: - long unsigned int pfn;
1: - dma_addr_t dma;
1: - };
1: - unsigned int curr;
1: - unsigned int max;
1: + struct scatterlist *sgp;
1: + union {
1: + long unsigned int pfn;
1: + dma_addr_t dma;
1: + };
1: + unsigned int curr;
1: + unsigned int max;
1: };
1:
1: struct drm_i915_gem_set_tiling {
1: - __u32 handle;
1: - __u32 tiling_mode;
1: - __u32 stride;
1: - __u32 swizzle_mode;
1: + __u32 handle;
1: + __u32 tiling_mode;
1: + __u32 stride;
1: + __u32 swizzle_mode;
1: };
1:
1: struct drm_i915_gem_get_tiling {
1: - __u32 handle;
1: - __u32 tiling_mode;
1: - __u32 swizzle_mode;
1: - __u32 phys_swizzle_mode;
1: + __u32 handle;
1: + __u32 tiling_mode;
1: + __u32 swizzle_mode;
1: + __u32 phys_swizzle_mode;
1: };
1:
1: struct drm_i915_gem_userptr {
1: - __u64 user_ptr;
1: - __u64 user_size;
1: - __u32 flags;
1: - __u32 handle;
1: + __u64 user_ptr;
1: + __u64 user_size;
1: + __u32 flags;
1: + __u32 handle;
1: };
1:
1: struct i915_mmu_notifier;
1:
1: struct i915_mm_struct {
1: - struct mm_struct *mm;
1: - struct drm_i915_private *i915;
1: - struct i915_mmu_notifier *mn;
1: - struct hlist_node node;
1: - struct kref kref;
1: - struct work_struct work;
1: + struct mm_struct *mm;
1: + struct drm_i915_private *i915;
1: + struct i915_mmu_notifier *mn;
1: + struct hlist_node node;
1: + struct kref kref;
1: + struct work_struct work;
1: };
1:
1: struct i915_mmu_object {
1: - struct i915_mmu_notifier *mn;
1: - struct drm_i915_gem_object *obj;
1: - struct interval_tree_node it;
1: + struct i915_mmu_notifier *mn;
1: + struct drm_i915_gem_object *obj;
1: + struct interval_tree_node it;
1: };
1:
1: struct i915_mmu_notifier {
1: - spinlock_t lock;
1: - struct hlist_node node;
1: - struct mmu_notifier mn;
1: - struct rb_root_cached objects;
1: - struct i915_mm_struct *mm;
1: + spinlock_t lock;
1: + struct hlist_node node;
1: + struct mmu_notifier mn;
1: + struct rb_root_cached objects;
1: + struct i915_mm_struct *mm;
1: };
1:
1: struct get_pages_work {
1: - struct work_struct work;
1: - struct drm_i915_gem_object *obj;
1: - struct task_struct *task;
1: + struct work_struct work;
1: + struct drm_i915_gem_object *obj;
1: + struct task_struct *task;
1: };
1:
1: struct dma_fence_array {
1: - struct dma_fence base;
1: - spinlock_t lock;
1: - unsigned int num_fences;
1: - atomic_t num_pending;
1: - struct dma_fence **fences;
1: - struct irq_work work;
1: + struct dma_fence base;
1: + spinlock_t lock;
1: + unsigned int num_fences;
1: + atomic_t num_pending;
1: + struct dma_fence **fences;
1: + struct irq_work work;
1: };
1:
1: struct drm_i915_gem_wait {
1: - __u32 bo_handle;
1: - __u32 flags;
1: - __s64 timeout_ns;
1: + __u32 bo_handle;
1: + __u32 flags;
1: + __s64 timeout_ns;
1: };
1:
1: struct active_node {
1: - struct i915_active_fence base;
1: - struct i915_active *ref;
1: - struct rb_node node;
1: - u64 timeline;
1: + struct i915_active_fence base;
1: + struct i915_active *ref;
1: + struct rb_node node;
1: + u64 timeline;
1: };
1:
1: struct i915_global_active {
1: - struct i915_global base;
1: - struct kmem_cache *slab_cache;
1: + struct i915_global base;
1: + struct kmem_cache *slab_cache;
1: };
1:
1: struct i915_global_block {
1: - struct i915_global base;
1: - struct kmem_cache *slab_blocks;
1: + struct i915_global base;
1: + struct kmem_cache *slab_blocks;
1: };
1:
1: struct drm_i915_cmd_descriptor {
1: - u32 flags;
1: - struct {
1: - u32 value;
1: - u32 mask;
1: - } cmd;
1: - union {
1: - u32 fixed;
1: - u32 mask;
1: - } length;
1: - struct {
1: - u32 offset;
1: - u32 mask;
1: - u32 step;
1: - } reg;
1: - struct {
1: - u32 offset;
1: - u32 mask;
1: - u32 expected;
1: - u32 condition_offset;
1: - u32 condition_mask;
1: - } bits[3];
1: + u32 flags;
1: + struct {
1: + u32 value;
1: + u32 mask;
1: + } cmd;
1: + union {
1: + u32 fixed;
1: + u32 mask;
1: + } length;
1: + struct {
1: + u32 offset;
1: + u32 mask;
1: + u32 step;
1: + } reg;
1: + struct {
1: + u32 offset;
1: + u32 mask;
1: + u32 expected;
1: + u32 condition_offset;
1: + u32 condition_mask;
1: + } bits[3];
1: };
1:
1: struct drm_i915_cmd_table {
1: - const struct drm_i915_cmd_descriptor *table;
1: - int count;
1: + const struct drm_i915_cmd_descriptor *table;
1: + int count;
1: };
1:
1: struct drm_i915_reg_descriptor {
1: - i915_reg_t addr;
1: - u32 mask;
1: - u32 value;
1: + i915_reg_t addr;
1: + u32 mask;
1: + u32 value;
1: };
1:
1: struct cmd_node {
1: - const struct drm_i915_cmd_descriptor *desc;
1: - struct hlist_node node;
1: + const struct drm_i915_cmd_descriptor *desc;
1: + struct hlist_node node;
1: };
1:
1: typedef u32 gen6_pte_t;
1: @@ -74823,471 +75434,471 @@ typedef u32 gen6_pte_t;
1: typedef u64 gen8_pte_t;
1:
1: struct gen6_ppgtt {
1: - struct i915_ppgtt base;
1: - struct i915_vma *vma;
1: - gen6_pte_t *pd_addr;
1: - atomic_t pin_count;
1: - struct mutex pin_mutex;
1: - bool scan_for_unused_pt;
1: + struct i915_ppgtt base;
1: + struct i915_vma *vma;
1: + gen6_pte_t *pd_addr;
1: + atomic_t pin_count;
1: + struct mutex pin_mutex;
1: + bool scan_for_unused_pt;
1: };
1:
1: enum vgt_g2v_type {
1: - VGT_G2V_PPGTT_L3_PAGE_TABLE_CREATE = 2,
1: - VGT_G2V_PPGTT_L3_PAGE_TABLE_DESTROY = 3,
1: - VGT_G2V_PPGTT_L4_PAGE_TABLE_CREATE = 4,
1: - VGT_G2V_PPGTT_L4_PAGE_TABLE_DESTROY = 5,
1: - VGT_G2V_EXECLIST_CONTEXT_CREATE = 6,
1: - VGT_G2V_EXECLIST_CONTEXT_DESTROY = 7,
1: - VGT_G2V_MAX = 8,
1: + VGT_G2V_PPGTT_L3_PAGE_TABLE_CREATE = 2,
1: + VGT_G2V_PPGTT_L3_PAGE_TABLE_DESTROY = 3,
1: + VGT_G2V_PPGTT_L4_PAGE_TABLE_CREATE = 4,
1: + VGT_G2V_PPGTT_L4_PAGE_TABLE_DESTROY = 5,
1: + VGT_G2V_EXECLIST_CONTEXT_CREATE = 6,
1: + VGT_G2V_EXECLIST_CONTEXT_DESTROY = 7,
1: + VGT_G2V_MAX = 8,
1: };
1:
1: struct sgt_dma {
1: - struct scatterlist *sg;
1: - dma_addr_t dma;
1: - dma_addr_t max;
1: + struct scatterlist *sg;
1: + dma_addr_t dma;
1: + dma_addr_t max;
1: };
1:
1: struct insert_page {
1: - struct i915_address_space *vm;
1: - dma_addr_t addr;
1: - u64 offset;
1: - enum i915_cache_level level;
1: + struct i915_address_space *vm;
1: + dma_addr_t addr;
1: + u64 offset;
1: + enum i915_cache_level level;
1: };
1:
1: struct insert_entries {
1: - struct i915_address_space *vm;
1: - struct i915_vma *vma;
1: - enum i915_cache_level level;
1: - u32 flags;
1: + struct i915_address_space *vm;
1: + struct i915_vma *vma;
1: + enum i915_cache_level level;
1: + u32 flags;
1: };
1:
1: struct clear_range {
1: - struct i915_address_space *vm;
1: - u64 start;
1: - u64 length;
1: + struct i915_address_space *vm;
1: + u64 start;
1: + u64 length;
1: };
1:
1: struct drm_i915_gem_create {
1: - __u64 size;
1: - __u32 handle;
1: - __u32 pad;
1: + __u64 size;
1: + __u32 handle;
1: + __u32 pad;
1: };
1:
1: struct drm_i915_gem_pread {
1: - __u32 handle;
1: - __u32 pad;
1: - __u64 offset;
1: - __u64 size;
1: - __u64 data_ptr;
1: + __u32 handle;
1: + __u32 pad;
1: + __u64 offset;
1: + __u64 size;
1: + __u64 data_ptr;
1: };
1:
1: struct drm_i915_gem_sw_finish {
1: - __u32 handle;
1: + __u32 handle;
1: };
1:
1: struct drm_i915_gem_get_aperture {
1: - __u64 aper_size;
1: - __u64 aper_available_size;
1: + __u64 aper_size;
1: + __u64 aper_available_size;
1: };
1:
1: struct drm_i915_gem_madvise {
1: - __u32 handle;
1: - __u32 madv;
1: - __u32 retained;
1: + __u32 handle;
1: + __u32 madv;
1: + __u32 retained;
1: };
1:
1: struct park_work {
1: - struct rcu_work work;
1: - int epoch;
1: + struct rcu_work work;
1: + int epoch;
1: };
1:
1: struct drm_i915_perf_oa_config {
1: - char uuid[36];
1: - __u32 n_mux_regs;
1: - __u32 n_boolean_regs;
1: - __u32 n_flex_regs;
1: - __u64 mux_regs_ptr;
1: - __u64 boolean_regs_ptr;
1: - __u64 flex_regs_ptr;
1: + char uuid[36];
1: + __u32 n_mux_regs;
1: + __u32 n_boolean_regs;
1: + __u32 n_flex_regs;
1: + __u64 mux_regs_ptr;
1: + __u64 boolean_regs_ptr;
1: + __u64 flex_regs_ptr;
1: };
1:
1: struct drm_i915_query_item {
1: - __u64 query_id;
1: - __s32 length;
1: - __u32 flags;
1: - __u64 data_ptr;
1: + __u64 query_id;
1: + __s32 length;
1: + __u32 flags;
1: + __u64 data_ptr;
1: };
1:
1: struct drm_i915_query {
1: - __u32 num_items;
1: - __u32 flags;
1: - __u64 items_ptr;
1: + __u32 num_items;
1: + __u32 flags;
1: + __u64 items_ptr;
1: };
1:
1: struct drm_i915_query_topology_info {
1: - __u16 flags;
1: - __u16 max_slices;
1: - __u16 max_subslices;
1: - __u16 max_eus_per_subslice;
1: - __u16 subslice_offset;
1: - __u16 subslice_stride;
1: - __u16 eu_offset;
1: - __u16 eu_stride;
1: - __u8 data[0];
1: + __u16 flags;
1: + __u16 max_slices;
1: + __u16 max_subslices;
1: + __u16 max_eus_per_subslice;
1: + __u16 subslice_offset;
1: + __u16 subslice_stride;
1: + __u16 eu_offset;
1: + __u16 eu_stride;
1: + __u8 data[0];
1: };
1:
1: struct drm_i915_engine_info {
1: - struct i915_engine_class_instance engine;
1: - __u32 rsvd0;
1: - __u64 flags;
1: - __u64 capabilities;
1: - __u64 rsvd1[4];
1: + struct i915_engine_class_instance engine;
1: + __u32 rsvd0;
1: + __u64 flags;
1: + __u64 capabilities;
1: + __u64 rsvd1[4];
1: };
1:
1: struct drm_i915_query_engine_info {
1: - __u32 num_engines;
1: - __u32 rsvd[3];
1: - struct drm_i915_engine_info engines[0];
1: + __u32 num_engines;
1: + __u32 rsvd[3];
1: + struct drm_i915_engine_info engines[0];
1: };
1:
1: struct drm_i915_query_perf_config {
1: - union {
1: - __u64 n_configs;
1: - __u64 config;
1: - char uuid[36];
1: - };
1: - __u32 flags;
1: - __u8 data[0];
1: + union {
1: + __u64 n_configs;
1: + __u64 config;
1: + char uuid[36];
1: + };
1: + __u32 flags;
1: + __u8 data[0];
1: };
1:
1: struct execute_cb {
1: - struct list_head link;
1: - struct irq_work work;
1: - struct i915_sw_fence *fence;
1: - void (*hook)(struct i915_request *, struct dma_fence *);
1: - struct i915_request *signal;
1: + struct list_head link;
1: + struct irq_work work;
1: + struct i915_sw_fence *fence;
1: + void (*hook)(struct i915_request *, struct dma_fence *);
1: + struct i915_request *signal;
1: };
1:
1: struct i915_global_request {
1: - struct i915_global base;
1: - struct kmem_cache *slab_requests;
1: - struct kmem_cache *slab_dependencies;
1: - struct kmem_cache *slab_execute_cbs;
1: + struct i915_global base;
1: + struct kmem_cache *slab_requests;
1: + struct kmem_cache *slab_dependencies;
1: + struct kmem_cache *slab_execute_cbs;
1: };
1:
1: struct request_wait {
1: - struct dma_fence_cb cb;
1: - struct task_struct *tsk;
1: + struct dma_fence_cb cb;
1: + struct task_struct *tsk;
1: };
1:
1: struct i915_global_scheduler {
1: - struct i915_global base;
1: - struct kmem_cache *slab_dependencies;
1: - struct kmem_cache *slab_priorities;
1: + struct i915_global base;
1: + struct kmem_cache *slab_dependencies;
1: + struct kmem_cache *slab_priorities;
1: };
1:
1: struct sched_cache {
1: - struct list_head *priolist;
1: + struct list_head *priolist;
1: };
1:
1: struct trace_event_raw_intel_pipe_enable {
1: - struct trace_entry ent;
1: - u32 frame[3];
1: - u32 scanline[3];
1: - enum pipe pipe;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 frame[3];
1: + u32 scanline[3];
1: + enum pipe pipe;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_intel_pipe_disable {
1: - struct trace_entry ent;
1: - u32 frame[3];
1: - u32 scanline[3];
1: - enum pipe pipe;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 frame[3];
1: + u32 scanline[3];
1: + enum pipe pipe;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_intel_pipe_crc {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - u32 crcs[5];
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 crcs[5];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_intel_cpu_fifo_underrun {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_intel_pch_fifo_underrun {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_intel_memory_cxsr {
1: - struct trace_entry ent;
1: - u32 frame[3];
1: - u32 scanline[3];
1: - bool old;
1: - bool new;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 frame[3];
1: + u32 scanline[3];
1: + bool old;
1: + bool new;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_g4x_wm {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - u16 primary;
1: - u16 sprite;
1: - u16 cursor;
1: - u16 sr_plane;
1: - u16 sr_cursor;
1: - u16 sr_fbc;
1: - u16 hpll_plane;
1: - u16 hpll_cursor;
1: - u16 hpll_fbc;
1: - bool cxsr;
1: - bool hpll;
1: - bool fbc;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u16 primary;
1: + u16 sprite;
1: + u16 cursor;
1: + u16 sr_plane;
1: + u16 sr_cursor;
1: + u16 sr_fbc;
1: + u16 hpll_plane;
1: + u16 hpll_cursor;
1: + u16 hpll_fbc;
1: + bool cxsr;
1: + bool hpll;
1: + bool fbc;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vlv_wm {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - u32 level;
1: - u32 cxsr;
1: - u32 primary;
1: - u32 sprite0;
1: - u32 sprite1;
1: - u32 cursor;
1: - u32 sr_plane;
1: - u32 sr_cursor;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 level;
1: + u32 cxsr;
1: + u32 primary;
1: + u32 sprite0;
1: + u32 sprite1;
1: + u32 cursor;
1: + u32 sr_plane;
1: + u32 sr_cursor;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_vlv_fifo_size {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - u32 sprite0_start;
1: - u32 sprite1_start;
1: - u32 fifo_size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 sprite0_start;
1: + u32 sprite1_start;
1: + u32 fifo_size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_intel_update_plane {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - int src[4];
1: - int dst[4];
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + int src[4];
1: + int dst[4];
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_intel_disable_plane {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_pipe_update_start {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - u32 min;
1: - u32 max;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 min;
1: + u32 max;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_pipe_update_vblank_evaded {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - u32 min;
1: - u32 max;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + u32 min;
1: + u32 max;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_pipe_update_end {
1: - struct trace_entry ent;
1: - enum pipe pipe;
1: - u32 frame;
1: - u32 scanline;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum pipe pipe;
1: + u32 frame;
1: + u32 scanline;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_object_create {
1: - struct trace_entry ent;
1: - struct drm_i915_gem_object *obj;
1: - u64 size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + u64 size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_shrink {
1: - struct trace_entry ent;
1: - int dev;
1: - long unsigned int target;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int dev;
1: + long unsigned int target;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_vma_bind {
1: - struct trace_entry ent;
1: - struct drm_i915_gem_object *obj;
1: - struct i915_address_space *vm;
1: - u64 offset;
1: - u64 size;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + struct i915_address_space *vm;
1: + u64 offset;
1: + u64 size;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_vma_unbind {
1: - struct trace_entry ent;
1: - struct drm_i915_gem_object *obj;
1: - struct i915_address_space *vm;
1: - u64 offset;
1: - u64 size;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + struct i915_address_space *vm;
1: + u64 offset;
1: + u64 size;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_object_pwrite {
1: - struct trace_entry ent;
1: - struct drm_i915_gem_object *obj;
1: - u64 offset;
1: - u64 len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + u64 offset;
1: + u64 len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_object_pread {
1: - struct trace_entry ent;
1: - struct drm_i915_gem_object *obj;
1: - u64 offset;
1: - u64 len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + u64 offset;
1: + u64 len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_object_fault {
1: - struct trace_entry ent;
1: - struct drm_i915_gem_object *obj;
1: - u64 index;
1: - bool gtt;
1: - bool write;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + u64 index;
1: + bool gtt;
1: + bool write;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_object {
1: - struct trace_entry ent;
1: - struct drm_i915_gem_object *obj;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct drm_i915_gem_object *obj;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_evict {
1: - struct trace_entry ent;
1: - u32 dev;
1: - struct i915_address_space *vm;
1: - u64 size;
1: - u64 align;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 dev;
1: + struct i915_address_space *vm;
1: + u64 size;
1: + u64 align;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_evict_node {
1: - struct trace_entry ent;
1: - u32 dev;
1: - struct i915_address_space *vm;
1: - u64 start;
1: - u64 size;
1: - long unsigned int color;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 dev;
1: + struct i915_address_space *vm;
1: + u64 start;
1: + u64 size;
1: + long unsigned int color;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_gem_evict_vm {
1: - struct trace_entry ent;
1: - u32 dev;
1: - struct i915_address_space *vm;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 dev;
1: + struct i915_address_space *vm;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_request_queue {
1: - struct trace_entry ent;
1: - u32 dev;
1: - u64 ctx;
1: - u16 class;
1: - u16 instance;
1: - u32 seqno;
1: - u32 flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 dev;
1: + u64 ctx;
1: + u16 class;
1: + u16 instance;
1: + u32 seqno;
1: + u32 flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_request {
1: - struct trace_entry ent;
1: - u32 dev;
1: - u64 ctx;
1: - u16 class;
1: - u16 instance;
1: - u32 seqno;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 dev;
1: + u64 ctx;
1: + u16 class;
1: + u16 instance;
1: + u32 seqno;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_request_wait_begin {
1: - struct trace_entry ent;
1: - u32 dev;
1: - u64 ctx;
1: - u16 class;
1: - u16 instance;
1: - u32 seqno;
1: - unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 dev;
1: + u64 ctx;
1: + u16 class;
1: + u16 instance;
1: + u32 seqno;
1: + unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_reg_rw {
1: - struct trace_entry ent;
1: - u64 val;
1: - u32 reg;
1: - u16 write;
1: - u16 len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u64 val;
1: + u32 reg;
1: + u16 write;
1: + u16 len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_intel_gpu_freq_change {
1: - struct trace_entry ent;
1: - u32 freq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 freq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_ppgtt {
1: - struct trace_entry ent;
1: - struct i915_address_space *vm;
1: - u32 dev;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct i915_address_space *vm;
1: + u32 dev;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i915_context {
1: - struct trace_entry ent;
1: - u32 dev;
1: - struct i915_gem_context *ctx;
1: - struct i915_address_space *vm;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 dev;
1: + struct i915_gem_context *ctx;
1: + struct i915_address_space *vm;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_intel_pipe_enable {};
1: @@ -75309,11 +75920,11 @@ struct trace_event_data_offsets_vlv_wm {};
1: struct trace_event_data_offsets_vlv_fifo_size {};
1:
1: struct trace_event_data_offsets_intel_update_plane {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_intel_disable_plane {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_i915_pipe_update_start {};
1: @@ -75359,2357 +75970,2363 @@ struct trace_event_data_offsets_i915_ppgtt {};
1: struct trace_event_data_offsets_i915_context {};
1:
1: struct i915_global_vma {
1: - struct i915_global base;
1: - struct kmem_cache *slab_vmas;
1: + struct i915_global base;
1: + struct kmem_cache *slab_vmas;
1: };
1:
1: struct i915_vma_work___2 {
1: - struct dma_fence_work base;
1: - struct i915_vma *vma;
1: - enum i915_cache_level cache_level;
1: - unsigned int flags;
1: + struct dma_fence_work base;
1: + struct i915_vma *vma;
1: + enum i915_cache_level cache_level;
1: + unsigned int flags;
1: };
1:
1: struct uc_css_header {
1: - u32 module_type;
1: - u32 header_size_dw;
1: - u32 header_version;
1: - u32 module_id;
1: - u32 module_vendor;
1: - u32 date;
1: - u32 size_dw;
1: - u32 key_size_dw;
1: - u32 modulus_size_dw;
1: - u32 exponent_size_dw;
1: - u32 time;
1: - char username[8];
1: - char buildnumber[12];
1: - u32 sw_version;
1: - u32 reserved[14];
1: - u32 header_info;
1: + u32 module_type;
1: + u32 header_size_dw;
1: + u32 header_version;
1: + u32 module_id;
1: + u32 module_vendor;
1: + u32 date;
1: + u32 size_dw;
1: + u32 key_size_dw;
1: + u32 modulus_size_dw;
1: + u32 exponent_size_dw;
1: + u32 time;
1: + char username[8];
1: + char buildnumber[12];
1: + u32 sw_version;
1: + u32 reserved[14];
1: + u32 header_info;
1: };
1:
1: struct uc_fw_blob {
1: - u8 major;
1: - u8 minor;
1: - const char *path;
1: + u8 major;
1: + u8 minor;
1: + const char *path;
1: } __attribute__((packed));
1:
1: struct uc_fw_platform_requirement {
1: - enum intel_platform p;
1: - u8 rev;
1: - struct uc_fw_blob blobs[2];
1: + enum intel_platform p;
1: + u8 rev;
1: + struct uc_fw_blob blobs[2];
1: } __attribute__((packed));
1:
1: enum intel_guc_msg_type {
1: - INTEL_GUC_MSG_TYPE_REQUEST = 0,
1: - INTEL_GUC_MSG_TYPE_RESPONSE = 15,
1: + INTEL_GUC_MSG_TYPE_REQUEST = 0,
1: + INTEL_GUC_MSG_TYPE_RESPONSE = 15,
1: };
1:
1: enum intel_guc_action {
1: - INTEL_GUC_ACTION_DEFAULT = 0,
1: - INTEL_GUC_ACTION_REQUEST_PREEMPTION = 2,
1: - INTEL_GUC_ACTION_REQUEST_ENGINE_RESET = 3,
1: - INTEL_GUC_ACTION_ALLOCATE_DOORBELL = 16,
1: - INTEL_GUC_ACTION_DEALLOCATE_DOORBELL = 32,
1: - INTEL_GUC_ACTION_LOG_BUFFER_FILE_FLUSH_COMPLETE = 48,
1: - INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING = 64,
1: - INTEL_GUC_ACTION_FORCE_LOG_BUFFER_FLUSH = 770,
1: - INTEL_GUC_ACTION_ENTER_S_STATE = 1281,
1: - INTEL_GUC_ACTION_EXIT_S_STATE = 1282,
1: - INTEL_GUC_ACTION_SLPC_REQUEST = 12291,
1: - INTEL_GUC_ACTION_SAMPLE_FORCEWAKE = 12293,
1: - INTEL_GUC_ACTION_AUTHENTICATE_HUC = 16384,
1: - INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER = 17669,
1: - INTEL_GUC_ACTION_DEREGISTER_COMMAND_TRANSPORT_BUFFER = 17670,
1: - INTEL_GUC_ACTION_LIMIT = 17671,
1: + INTEL_GUC_ACTION_DEFAULT = 0,
1: + INTEL_GUC_ACTION_REQUEST_PREEMPTION = 2,
1: + INTEL_GUC_ACTION_REQUEST_ENGINE_RESET = 3,
1: + INTEL_GUC_ACTION_ALLOCATE_DOORBELL = 16,
1: + INTEL_GUC_ACTION_DEALLOCATE_DOORBELL = 32,
1: + INTEL_GUC_ACTION_LOG_BUFFER_FILE_FLUSH_COMPLETE = 48,
1: + INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING = 64,
1: + INTEL_GUC_ACTION_FORCE_LOG_BUFFER_FLUSH = 770,
1: + INTEL_GUC_ACTION_ENTER_S_STATE = 1281,
1: + INTEL_GUC_ACTION_EXIT_S_STATE = 1282,
1: + INTEL_GUC_ACTION_SLPC_REQUEST = 12291,
1: + INTEL_GUC_ACTION_SAMPLE_FORCEWAKE = 12293,
1: + INTEL_GUC_ACTION_AUTHENTICATE_HUC = 16384,
1: + INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER = 17669,
1: + INTEL_GUC_ACTION_DEREGISTER_COMMAND_TRANSPORT_BUFFER = 17670,
1: + INTEL_GUC_ACTION_LIMIT = 17671,
1: };
1:
1: enum intel_guc_sleep_state_status {
1: - INTEL_GUC_SLEEP_STATE_SUCCESS = 1,
1: - INTEL_GUC_SLEEP_STATE_PREEMPT_TO_IDLE_FAILED = 2,
1: - INTEL_GUC_SLEEP_STATE_ENGINE_RESET_FAILED = 3,
1: + INTEL_GUC_SLEEP_STATE_SUCCESS = 1,
1: + INTEL_GUC_SLEEP_STATE_PREEMPT_TO_IDLE_FAILED = 2,
1: + INTEL_GUC_SLEEP_STATE_ENGINE_RESET_FAILED = 3,
1: };
1:
1: enum intel_guc_response_status {
1: - INTEL_GUC_RESPONSE_STATUS_SUCCESS = 0,
1: - INTEL_GUC_RESPONSE_STATUS_GENERIC_FAIL = 61440,
1: + INTEL_GUC_RESPONSE_STATUS_SUCCESS = 0,
1: + INTEL_GUC_RESPONSE_STATUS_GENERIC_FAIL = 61440,
1: };
1:
1: enum intel_guc_recv_message {
1: - INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED = 2,
1: - INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER = 8,
1: + INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED = 2,
1: + INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER = 8,
1: };
1:
1: struct guc_policy {
1: - u32 execution_quantum;
1: - u32 preemption_time;
1: - u32 fault_time;
1: - u32 policy_flags;
1: - u32 reserved[8];
1: + u32 execution_quantum;
1: + u32 preemption_time;
1: + u32 fault_time;
1: + u32 policy_flags;
1: + u32 reserved[8];
1: };
1:
1: struct guc_policies {
1: - struct guc_policy policy[20];
1: - u32 submission_queue_depth[5];
1: - u32 dpc_promote_time;
1: - u32 is_valid;
1: - u32 max_num_work_items;
1: - u32 reserved[4];
1: + struct guc_policy policy[20];
1: + u32 submission_queue_depth[5];
1: + u32 dpc_promote_time;
1: + u32 is_valid;
1: + u32 max_num_work_items;
1: + u32 reserved[4];
1: };
1:
1: struct guc_mmio_reg {
1: - u32 offset;
1: - u32 value;
1: - u32 flags;
1: + u32 offset;
1: + u32 value;
1: + u32 flags;
1: };
1:
1: struct guc_mmio_regset {
1: - struct guc_mmio_reg registers[64];
1: - u32 values_valid;
1: - u32 number_of_registers;
1: + struct guc_mmio_reg registers[64];
1: + u32 values_valid;
1: + u32 number_of_registers;
1: };
1:
1: struct guc_mmio_reg_state {
1: - struct guc_mmio_regset engine_reg[80];
1: - u32 reserved[98];
1: + struct guc_mmio_regset engine_reg[80];
1: + u32 reserved[98];
1: };
1:
1: struct guc_gt_system_info {
1: - u32 slice_enabled;
1: - u32 rcs_enabled;
1: - u32 reserved0;
1: - u32 bcs_enabled;
1: - u32 vdbox_enable_mask;
1: - u32 vdbox_sfc_support_mask;
1: - u32 vebox_enable_mask;
1: - u32 reserved[9];
1: + u32 slice_enabled;
1: + u32 rcs_enabled;
1: + u32 reserved0;
1: + u32 bcs_enabled;
1: + u32 vdbox_enable_mask;
1: + u32 vdbox_sfc_support_mask;
1: + u32 vebox_enable_mask;
1: + u32 reserved[9];
1: };
1:
1: struct guc_ct_pool_entry {
1: - struct guc_ct_buffer_desc desc;
1: - u32 reserved[7];
1: + struct guc_ct_buffer_desc desc;
1: + u32 reserved[7];
1: } __attribute__((packed));
1:
1: struct guc_clients_info {
1: - u32 clients_num;
1: - u32 reserved0[13];
1: - u32 ct_pool_addr;
1: - u32 ct_pool_count;
1: - u32 reserved[4];
1: + u32 clients_num;
1: + u32 reserved0[13];
1: + u32 ct_pool_addr;
1: + u32 ct_pool_count;
1: + u32 reserved[4];
1: };
1:
1: struct guc_ads {
1: - u32 reg_state_addr;
1: - u32 reg_state_buffer;
1: - u32 scheduler_policies;
1: - u32 gt_system_info;
1: - u32 clients_info;
1: - u32 control_data;
1: - u32 golden_context_lrca[5];
1: - u32 eng_state_size[5];
1: - u32 reserved[16];
1: + u32 reg_state_addr;
1: + u32 reg_state_buffer;
1: + u32 scheduler_policies;
1: + u32 gt_system_info;
1: + u32 clients_info;
1: + u32 control_data;
1: + u32 golden_context_lrca[5];
1: + u32 eng_state_size[5];
1: + u32 reserved[16];
1: };
1:
1: struct __guc_ads_blob {
1: - struct guc_ads ads;
1: - struct guc_policies policies;
1: - struct guc_mmio_reg_state reg_state;
1: - struct guc_gt_system_info system_info;
1: - struct guc_clients_info clients_info;
1: - struct guc_ct_pool_entry ct_pool[2];
1: - u8 reg_state_buffer[40960];
1: + struct guc_ads ads;
1: + struct guc_policies policies;
1: + struct guc_mmio_reg_state reg_state;
1: + struct guc_gt_system_info system_info;
1: + struct guc_clients_info clients_info;
1: + struct guc_ct_pool_entry ct_pool[2];
1: + u8 reg_state_buffer[40960];
1: };
1:
1: struct ct_request {
1: - struct list_head link;
1: - u32 fence;
1: - u32 status;
1: - u32 response_len;
1: - u32 *response_buf;
1: + struct list_head link;
1: + u32 fence;
1: + u32 status;
1: + u32 response_len;
1: + u32 *response_buf;
1: };
1:
1: struct ct_incoming_request {
1: - struct list_head link;
1: - u32 msg[0];
1: + struct list_head link;
1: + u32 msg[0];
1: };
1:
1: enum {
1: - CTB_SEND = 0,
1: - CTB_RECV = 1,
1: + CTB_SEND = 0,
1: + CTB_RECV = 1,
1: };
1:
1: enum {
1: - CTB_OWNER_HOST = 0,
1: + CTB_OWNER_HOST = 0,
1: };
1:
1: struct guc_log_buffer_state {
1: - u32 marker[2];
1: - u32 read_ptr;
1: - u32 write_ptr;
1: - u32 size;
1: - u32 sampled_write_ptr;
1: - union {
1: - struct {
1: - u32 flush_to_file: 1;
1: - u32 buffer_full_cnt: 4;
1: - u32 reserved: 27;
1: - };
1: - u32 flags;
1: - };
1: - u32 version;
1: + u32 marker[2];
1: + u32 read_ptr;
1: + u32 write_ptr;
1: + u32 size;
1: + u32 sampled_write_ptr;
1: + union {
1: + struct {
1: + u32 flush_to_file : 1;
1: + u32 buffer_full_cnt : 4;
1: + u32 reserved : 27;
1: + };
1: + u32 flags;
1: + };
1: + u32 version;
1: };
1:
1: struct guc_wq_item {
1: - u32 header;
1: - u32 context_desc;
1: - u32 submit_element_info;
1: - u32 fence_id;
1: + u32 header;
1: + u32 context_desc;
1: + u32 submit_element_info;
1: + u32 fence_id;
1: };
1:
1: struct guc_process_desc {
1: - u32 stage_id;
1: - u64 db_base_addr;
1: - u32 head;
1: - u32 tail;
1: - u32 error_offset;
1: - u64 wq_base_addr;
1: - u32 wq_size_bytes;
1: - u32 wq_status;
1: - u32 engine_presence;
1: - u32 priority;
1: - u32 reserved[30];
1: + u32 stage_id;
1: + u64 db_base_addr;
1: + u32 head;
1: + u32 tail;
1: + u32 error_offset;
1: + u64 wq_base_addr;
1: + u32 wq_size_bytes;
1: + u32 wq_status;
1: + u32 engine_presence;
1: + u32 priority;
1: + u32 reserved[30];
1: } __attribute__((packed));
1:
1: struct guc_doorbell_info {
1: - u32 db_status;
1: - u32 cookie;
1: - u32 reserved[14];
1: + u32 db_status;
1: + u32 cookie;
1: + u32 reserved[14];
1: };
1:
1: enum hdmi_force_audio {
1: - HDMI_AUDIO_OFF_DVI = -2,
1: - HDMI_AUDIO_OFF = -1,
1: - HDMI_AUDIO_AUTO = 0,
1: - HDMI_AUDIO_ON = 1,
1: + HDMI_AUDIO_OFF_DVI = -2,
1: + HDMI_AUDIO_OFF = -1,
1: + HDMI_AUDIO_AUTO = 0,
1: + HDMI_AUDIO_ON = 1,
1: };
1:
1: struct intel_digital_connector_state {
1: - struct drm_connector_state base;
1: - enum hdmi_force_audio force_audio;
1: - int broadcast_rgb;
1: + struct drm_connector_state base;
1: + enum hdmi_force_audio force_audio;
1: + int broadcast_rgb;
1: };
1:
1: struct component_ops {
1: - int (*bind)(struct device *, struct device *, void *);
1: - void (*unbind)(struct device *, struct device *, void *);
1: + int (*bind)(struct device *, struct device *, void *);
1: + void (*unbind)(struct device *, struct device *, void *);
1: };
1:
1: struct drm_audio_component_ops {
1: - struct module *owner;
1: - long unsigned int (*get_power)(struct device *);
1: - void (*put_power)(struct device *, long unsigned int);
1: - void (*codec_wake_override)(struct device *, bool);
1: - int (*get_cdclk_freq)(struct device *);
1: - int (*sync_audio_rate)(struct device *, int, int, int);
1: - int (*get_eld)(struct device *, int, int, bool *, unsigned char *, int);
1: + struct module *owner;
1: + long unsigned int (*get_power)(struct device *);
1: + void (*put_power)(struct device *, long unsigned int);
1: + void (*codec_wake_override)(struct device *, bool);
1: + int (*get_cdclk_freq)(struct device *);
1: + int (*sync_audio_rate)(struct device *, int, int, int);
1: + int (*get_eld)(struct device *, int, int, bool *, unsigned char *, int);
1: };
1:
1: struct drm_audio_component;
1:
1: struct drm_audio_component_audio_ops {
1: - void *audio_ptr;
1: - void (*pin_eld_notify)(void *, int, int);
1: - int (*pin2port)(void *, int);
1: - int (*master_bind)(struct device *, struct drm_audio_component *);
1: - void (*master_unbind)(struct device *, struct drm_audio_component *);
1: + void *audio_ptr;
1: + void (*pin_eld_notify)(void *, int, int);
1: + int (*pin2port)(void *, int);
1: + int (*master_bind)(struct device *, struct drm_audio_component *);
1: + void (*master_unbind)(struct device *, struct drm_audio_component *);
1: };
1:
1: struct drm_audio_component {
1: - struct device *dev;
1: - const struct drm_audio_component_ops *ops;
1: - const struct drm_audio_component_audio_ops *audio_ops;
1: + struct device *dev;
1: + const struct drm_audio_component_ops *ops;
1: + const struct drm_audio_component_audio_ops *audio_ops;
1: };
1:
1: enum i915_component_type {
1: - I915_COMPONENT_AUDIO = 1,
1: - I915_COMPONENT_HDCP = 2,
1: + I915_COMPONENT_AUDIO = 1,
1: + I915_COMPONENT_HDCP = 2,
1: };
1:
1: struct i915_audio_component {
1: - struct drm_audio_component base;
1: - int aud_sample_rate[9];
1: + struct drm_audio_component base;
1: + int aud_sample_rate[9];
1: };
1:
1: struct dp_aud_n_m {
1: - int sample_rate;
1: - int clock;
1: - u16 m;
1: - u16 n;
1: + int sample_rate;
1: + int clock;
1: + u16 m;
1: + u16 n;
1: };
1:
1: struct hdmi_aud_ncts {
1: - int sample_rate;
1: - int clock;
1: - int n;
1: - int cts;
1: + int sample_rate;
1: + int clock;
1: + int n;
1: + int cts;
1: };
1:
1: enum phy {
1: - PHY_NONE = -1,
1: - PHY_A = 0,
1: - PHY_B = 1,
1: - PHY_C = 2,
1: - PHY_D = 3,
1: - PHY_E = 4,
1: - PHY_F = 5,
1: - PHY_G = 6,
1: - PHY_H = 7,
1: - PHY_I = 8,
1: - I915_MAX_PHYS = 9,
1: + PHY_NONE = -1,
1: + PHY_A = 0,
1: + PHY_B = 1,
1: + PHY_C = 2,
1: + PHY_D = 3,
1: + PHY_E = 4,
1: + PHY_F = 5,
1: + PHY_G = 6,
1: + PHY_H = 7,
1: + PHY_I = 8,
1: + I915_MAX_PHYS = 9,
1: };
1:
1: enum mipi_seq_element {
1: - MIPI_SEQ_ELEM_END = 0,
1: - MIPI_SEQ_ELEM_SEND_PKT = 1,
1: - MIPI_SEQ_ELEM_DELAY = 2,
1: - MIPI_SEQ_ELEM_GPIO = 3,
1: - MIPI_SEQ_ELEM_I2C = 4,
1: - MIPI_SEQ_ELEM_SPI = 5,
1: - MIPI_SEQ_ELEM_PMIC = 6,
1: - MIPI_SEQ_ELEM_MAX = 7,
1: + MIPI_SEQ_ELEM_END = 0,
1: + MIPI_SEQ_ELEM_SEND_PKT = 1,
1: + MIPI_SEQ_ELEM_DELAY = 2,
1: + MIPI_SEQ_ELEM_GPIO = 3,
1: + MIPI_SEQ_ELEM_I2C = 4,
1: + MIPI_SEQ_ELEM_SPI = 5,
1: + MIPI_SEQ_ELEM_PMIC = 6,
1: + MIPI_SEQ_ELEM_MAX = 7,
1: };
1:
1: struct vbt_header {
1: - u8 signature[20];
1: - u16 version;
1: - u16 header_size;
1: - u16 vbt_size;
1: - u8 vbt_checksum;
1: - u8 reserved0;
1: - u32 bdb_offset;
1: - u32 aim_offset[4];
1: + u8 signature[20];
1: + u16 version;
1: + u16 header_size;
1: + u16 vbt_size;
1: + u8 vbt_checksum;
1: + u8 reserved0;
1: + u32 bdb_offset;
1: + u32 aim_offset[4];
1: };
1:
1: struct bdb_header {
1: - u8 signature[16];
1: - u16 version;
1: - u16 header_size;
1: - u16 bdb_size;
1: + u8 signature[16];
1: + u16 version;
1: + u16 header_size;
1: + u16 bdb_size;
1: };
1:
1: enum bdb_block_id {
1: - BDB_GENERAL_FEATURES = 1,
1: - BDB_GENERAL_DEFINITIONS = 2,
1: - BDB_OLD_TOGGLE_LIST = 3,
1: - BDB_MODE_SUPPORT_LIST = 4,
1: - BDB_GENERIC_MODE_TABLE = 5,
1: - BDB_EXT_MMIO_REGS = 6,
1: - BDB_SWF_IO = 7,
1: - BDB_SWF_MMIO = 8,
1: - BDB_PSR = 9,
1: - BDB_MODE_REMOVAL_TABLE = 10,
1: - BDB_CHILD_DEVICE_TABLE = 11,
1: - BDB_DRIVER_FEATURES = 12,
1: - BDB_DRIVER_PERSISTENCE = 13,
1: - BDB_EXT_TABLE_PTRS = 14,
1: - BDB_DOT_CLOCK_OVERRIDE = 15,
1: - BDB_DISPLAY_SELECT = 16,
1: - BDB_DRIVER_ROTATION = 18,
1: - BDB_DISPLAY_REMOVE = 19,
1: - BDB_OEM_CUSTOM = 20,
1: - BDB_EFP_LIST = 21,
1: - BDB_SDVO_LVDS_OPTIONS = 22,
1: - BDB_SDVO_PANEL_DTDS = 23,
1: - BDB_SDVO_LVDS_PNP_IDS = 24,
1: - BDB_SDVO_LVDS_POWER_SEQ = 25,
1: - BDB_TV_OPTIONS = 26,
1: - BDB_EDP = 27,
1: - BDB_LVDS_OPTIONS = 40,
1: - BDB_LVDS_LFP_DATA_PTRS = 41,
1: - BDB_LVDS_LFP_DATA = 42,
1: - BDB_LVDS_BACKLIGHT = 43,
1: - BDB_LVDS_POWER = 44,
1: - BDB_MIPI_CONFIG = 52,
1: - BDB_MIPI_SEQUENCE = 53,
1: - BDB_COMPRESSION_PARAMETERS = 56,
1: - BDB_SKIP = 254,
1: + BDB_GENERAL_FEATURES = 1,
1: + BDB_GENERAL_DEFINITIONS = 2,
1: + BDB_OLD_TOGGLE_LIST = 3,
1: + BDB_MODE_SUPPORT_LIST = 4,
1: + BDB_GENERIC_MODE_TABLE = 5,
1: + BDB_EXT_MMIO_REGS = 6,
1: + BDB_SWF_IO = 7,
1: + BDB_SWF_MMIO = 8,
1: + BDB_PSR = 9,
1: + BDB_MODE_REMOVAL_TABLE = 10,
1: + BDB_CHILD_DEVICE_TABLE = 11,
1: + BDB_DRIVER_FEATURES = 12,
1: + BDB_DRIVER_PERSISTENCE = 13,
1: + BDB_EXT_TABLE_PTRS = 14,
1: + BDB_DOT_CLOCK_OVERRIDE = 15,
1: + BDB_DISPLAY_SELECT = 16,
1: + BDB_DRIVER_ROTATION = 18,
1: + BDB_DISPLAY_REMOVE = 19,
1: + BDB_OEM_CUSTOM = 20,
1: + BDB_EFP_LIST = 21,
1: + BDB_SDVO_LVDS_OPTIONS = 22,
1: + BDB_SDVO_PANEL_DTDS = 23,
1: + BDB_SDVO_LVDS_PNP_IDS = 24,
1: + BDB_SDVO_LVDS_POWER_SEQ = 25,
1: + BDB_TV_OPTIONS = 26,
1: + BDB_EDP = 27,
1: + BDB_LVDS_OPTIONS = 40,
1: + BDB_LVDS_LFP_DATA_PTRS = 41,
1: + BDB_LVDS_LFP_DATA = 42,
1: + BDB_LVDS_BACKLIGHT = 43,
1: + BDB_LVDS_POWER = 44,
1: + BDB_MIPI_CONFIG = 52,
1: + BDB_MIPI_SEQUENCE = 53,
1: + BDB_COMPRESSION_PARAMETERS = 56,
1: + BDB_SKIP = 254,
1: };
1:
1: struct bdb_general_features {
1: - u8 panel_fitting: 2;
1: - u8 flexaim: 1;
1: - u8 msg_enable: 1;
1: - u8 clear_screen: 3;
1: - u8 color_flip: 1;
1: - u8 download_ext_vbt: 1;
1: - u8 enable_ssc: 1;
1: - u8 ssc_freq: 1;
1: - u8 enable_lfp_on_override: 1;
1: - u8 disable_ssc_ddt: 1;
1: - u8 underscan_vga_timings: 1;
1: - u8 display_clock_mode: 1;
1: - u8 vbios_hotplug_support: 1;
1: - u8 disable_smooth_vision: 1;
1: - u8 single_dvi: 1;
1: - u8 rotate_180: 1;
1: - u8 fdi_rx_polarity_inverted: 1;
1: - u8 vbios_extended_mode: 1;
1: - u8 copy_ilfp_dtd_to_sdvo_lvds_dtd: 1;
1: - u8 panel_best_fit_timing: 1;
1: - u8 ignore_strap_state: 1;
1: - u8 legacy_monitor_detect;
1: - u8 int_crt_support: 1;
1: - u8 int_tv_support: 1;
1: - u8 int_efp_support: 1;
1: - u8 dp_ssc_enable: 1;
1: - u8 dp_ssc_freq: 1;
1: - u8 dp_ssc_dongle_supported: 1;
1: - u8 rsvd11: 2;
1: + u8 panel_fitting : 2;
1: + u8 flexaim : 1;
1: + u8 msg_enable : 1;
1: + u8 clear_screen : 3;
1: + u8 color_flip : 1;
1: + u8 download_ext_vbt : 1;
1: + u8 enable_ssc : 1;
1: + u8 ssc_freq : 1;
1: + u8 enable_lfp_on_override : 1;
1: + u8 disable_ssc_ddt : 1;
1: + u8 underscan_vga_timings : 1;
1: + u8 display_clock_mode : 1;
1: + u8 vbios_hotplug_support : 1;
1: + u8 disable_smooth_vision : 1;
1: + u8 single_dvi : 1;
1: + u8 rotate_180 : 1;
1: + u8 fdi_rx_polarity_inverted : 1;
1: + u8 vbios_extended_mode : 1;
1: + u8 copy_ilfp_dtd_to_sdvo_lvds_dtd : 1;
1: + u8 panel_best_fit_timing : 1;
1: + u8 ignore_strap_state : 1;
1: + u8 legacy_monitor_detect;
1: + u8 int_crt_support : 1;
1: + u8 int_tv_support : 1;
1: + u8 int_efp_support : 1;
1: + u8 dp_ssc_enable : 1;
1: + u8 dp_ssc_freq : 1;
1: + u8 dp_ssc_dongle_supported : 1;
1: + u8 rsvd11 : 2;
1: };
1:
1: enum vbt_gmbus_ddi {
1: - DDC_BUS_DDI_B = 1,
1: - DDC_BUS_DDI_C = 2,
1: - DDC_BUS_DDI_D = 3,
1: - DDC_BUS_DDI_F = 4,
1: - ICL_DDC_BUS_DDI_A = 1,
1: - ICL_DDC_BUS_DDI_B = 2,
1: - TGL_DDC_BUS_DDI_C = 3,
1: - ICL_DDC_BUS_PORT_1 = 4,
1: - ICL_DDC_BUS_PORT_2 = 5,
1: - ICL_DDC_BUS_PORT_3 = 6,
1: - ICL_DDC_BUS_PORT_4 = 7,
1: - TGL_DDC_BUS_PORT_5 = 8,
1: - TGL_DDC_BUS_PORT_6 = 9,
1: + DDC_BUS_DDI_B = 1,
1: + DDC_BUS_DDI_C = 2,
1: + DDC_BUS_DDI_D = 3,
1: + DDC_BUS_DDI_F = 4,
1: + ICL_DDC_BUS_DDI_A = 1,
1: + ICL_DDC_BUS_DDI_B = 2,
1: + TGL_DDC_BUS_DDI_C = 3,
1: + ICL_DDC_BUS_PORT_1 = 4,
1: + ICL_DDC_BUS_PORT_2 = 5,
1: + ICL_DDC_BUS_PORT_3 = 6,
1: + ICL_DDC_BUS_PORT_4 = 7,
1: + TGL_DDC_BUS_PORT_5 = 8,
1: + TGL_DDC_BUS_PORT_6 = 9,
1: };
1:
1: struct bdb_general_definitions {
1: - u8 crt_ddc_gmbus_pin;
1: - u8 dpms_acpi: 1;
1: - u8 skip_boot_crt_detect: 1;
1: - u8 dpms_aim: 1;
1: - u8 rsvd1: 5;
1: - u8 boot_display[2];
1: - u8 child_dev_size;
1: - u8 devices[0];
1: + u8 crt_ddc_gmbus_pin;
1: + u8 dpms_acpi : 1;
1: + u8 skip_boot_crt_detect : 1;
1: + u8 dpms_aim : 1;
1: + u8 rsvd1 : 5;
1: + u8 boot_display[2];
1: + u8 child_dev_size;
1: + u8 devices[0];
1: };
1:
1: struct psr_table {
1: - u8 full_link: 1;
1: - u8 require_aux_to_wakeup: 1;
1: - u8 feature_bits_rsvd: 6;
1: - u8 idle_frames: 4;
1: - u8 lines_to_wait: 3;
1: - u8 wait_times_rsvd: 1;
1: - u16 tp1_wakeup_time;
1: - u16 tp2_tp3_wakeup_time;
1: + u8 full_link : 1;
1: + u8 require_aux_to_wakeup : 1;
1: + u8 feature_bits_rsvd : 6;
1: + u8 idle_frames : 4;
1: + u8 lines_to_wait : 3;
1: + u8 wait_times_rsvd : 1;
1: + u16 tp1_wakeup_time;
1: + u16 tp2_tp3_wakeup_time;
1: };
1:
1: struct bdb_psr {
1: - struct psr_table psr_table[16];
1: - u32 psr2_tp2_tp3_wakeup_time;
1: + struct psr_table psr_table[16];
1: + u32 psr2_tp2_tp3_wakeup_time;
1: };
1:
1: struct bdb_driver_features {
1: - u8 boot_dev_algorithm: 1;
1: - u8 block_display_switch: 1;
1: - u8 allow_display_switch: 1;
1: - u8 hotplug_dvo: 1;
1: - u8 dual_view_zoom: 1;
1: - u8 int15h_hook: 1;
1: - u8 sprite_in_clone: 1;
1: - u8 primary_lfp_id: 1;
1: - u16 boot_mode_x;
1: - u16 boot_mode_y;
1: - u8 boot_mode_bpp;
1: - u8 boot_mode_refresh;
1: - u16 enable_lfp_primary: 1;
1: - u16 selective_mode_pruning: 1;
1: - u16 dual_frequency: 1;
1: - u16 render_clock_freq: 1;
1: - u16 nt_clone_support: 1;
1: - u16 power_scheme_ui: 1;
1: - u16 sprite_display_assign: 1;
1: - u16 cui_aspect_scaling: 1;
1: - u16 preserve_aspect_ratio: 1;
1: - u16 sdvo_device_power_down: 1;
1: - u16 crt_hotplug: 1;
1: - u16 lvds_config: 2;
1: - u16 tv_hotplug: 1;
1: - u16 hdmi_config: 2;
1: - u8 static_display: 1;
1: - u8 reserved2: 7;
1: - u16 legacy_crt_max_x;
1: - u16 legacy_crt_max_y;
1: - u8 legacy_crt_max_refresh;
1: - u8 hdmi_termination;
1: - u8 custom_vbt_version;
1: - u16 rmpm_enabled: 1;
1: - u16 s2ddt_enabled: 1;
1: - u16 dpst_enabled: 1;
1: - u16 bltclt_enabled: 1;
1: - u16 adb_enabled: 1;
1: - u16 drrs_enabled: 1;
1: - u16 grs_enabled: 1;
1: - u16 gpmt_enabled: 1;
1: - u16 tbt_enabled: 1;
1: - u16 psr_enabled: 1;
1: - u16 ips_enabled: 1;
1: - u16 reserved3: 4;
1: - u16 pc_feature_valid: 1;
1: + u8 boot_dev_algorithm : 1;
1: + u8 block_display_switch : 1;
1: + u8 allow_display_switch : 1;
1: + u8 hotplug_dvo : 1;
1: + u8 dual_view_zoom : 1;
1: + u8 int15h_hook : 1;
1: + u8 sprite_in_clone : 1;
1: + u8 primary_lfp_id : 1;
1: + u16 boot_mode_x;
1: + u16 boot_mode_y;
1: + u8 boot_mode_bpp;
1: + u8 boot_mode_refresh;
1: + u16 enable_lfp_primary : 1;
1: + u16 selective_mode_pruning : 1;
1: + u16 dual_frequency : 1;
1: + u16 render_clock_freq : 1;
1: + u16 nt_clone_support : 1;
1: + u16 power_scheme_ui : 1;
1: + u16 sprite_display_assign : 1;
1: + u16 cui_aspect_scaling : 1;
1: + u16 preserve_aspect_ratio : 1;
1: + u16 sdvo_device_power_down : 1;
1: + u16 crt_hotplug : 1;
1: + u16 lvds_config : 2;
1: + u16 tv_hotplug : 1;
1: + u16 hdmi_config : 2;
1: + u8 static_display : 1;
1: + u8 reserved2 : 7;
1: + u16 legacy_crt_max_x;
1: + u16 legacy_crt_max_y;
1: + u8 legacy_crt_max_refresh;
1: + u8 hdmi_termination;
1: + u8 custom_vbt_version;
1: + u16 rmpm_enabled : 1;
1: + u16 s2ddt_enabled : 1;
1: + u16 dpst_enabled : 1;
1: + u16 bltclt_enabled : 1;
1: + u16 adb_enabled : 1;
1: + u16 drrs_enabled : 1;
1: + u16 grs_enabled : 1;
1: + u16 gpmt_enabled : 1;
1: + u16 tbt_enabled : 1;
1: + u16 psr_enabled : 1;
1: + u16 ips_enabled : 1;
1: + u16 reserved3 : 4;
1: + u16 pc_feature_valid : 1;
1: } __attribute__((packed));
1:
1: struct bdb_sdvo_lvds_options {
1: - u8 panel_backlight;
1: - u8 h40_set_panel_type;
1: - u8 panel_type;
1: - u8 ssc_clk_freq;
1: - u16 als_low_trip;
1: - u16 als_high_trip;
1: - u8 sclalarcoeff_tab_row_num;
1: - u8 sclalarcoeff_tab_row_size;
1: - u8 coefficient[8];
1: - u8 panel_misc_bits_1;
1: - u8 panel_misc_bits_2;
1: - u8 panel_misc_bits_3;
1: - u8 panel_misc_bits_4;
1: + u8 panel_backlight;
1: + u8 h40_set_panel_type;
1: + u8 panel_type;
1: + u8 ssc_clk_freq;
1: + u16 als_low_trip;
1: + u16 als_high_trip;
1: + u8 sclalarcoeff_tab_row_num;
1: + u8 sclalarcoeff_tab_row_size;
1: + u8 coefficient[8];
1: + u8 panel_misc_bits_1;
1: + u8 panel_misc_bits_2;
1: + u8 panel_misc_bits_3;
1: + u8 panel_misc_bits_4;
1: };
1:
1: struct lvds_dvo_timing {
1: - u16 clock;
1: - u8 hactive_lo;
1: - u8 hblank_lo;
1: - u8 hblank_hi: 4;
1: - u8 hactive_hi: 4;
1: - u8 vactive_lo;
1: - u8 vblank_lo;
1: - u8 vblank_hi: 4;
1: - u8 vactive_hi: 4;
1: - u8 hsync_off_lo;
1: - u8 hsync_pulse_width_lo;
1: - u8 vsync_pulse_width_lo: 4;
1: - u8 vsync_off_lo: 4;
1: - u8 vsync_pulse_width_hi: 2;
1: - u8 vsync_off_hi: 2;
1: - u8 hsync_pulse_width_hi: 2;
1: - u8 hsync_off_hi: 2;
1: - u8 himage_lo;
1: - u8 vimage_lo;
1: - u8 vimage_hi: 4;
1: - u8 himage_hi: 4;
1: - u8 h_border;
1: - u8 v_border;
1: - u8 rsvd1: 3;
1: - u8 digital: 2;
1: - u8 vsync_positive: 1;
1: - u8 hsync_positive: 1;
1: - u8 non_interlaced: 1;
1: + u16 clock;
1: + u8 hactive_lo;
1: + u8 hblank_lo;
1: + u8 hblank_hi : 4;
1: + u8 hactive_hi : 4;
1: + u8 vactive_lo;
1: + u8 vblank_lo;
1: + u8 vblank_hi : 4;
1: + u8 vactive_hi : 4;
1: + u8 hsync_off_lo;
1: + u8 hsync_pulse_width_lo;
1: + u8 vsync_pulse_width_lo : 4;
1: + u8 vsync_off_lo : 4;
1: + u8 vsync_pulse_width_hi : 2;
1: + u8 vsync_off_hi : 2;
1: + u8 hsync_pulse_width_hi : 2;
1: + u8 hsync_off_hi : 2;
1: + u8 himage_lo;
1: + u8 vimage_lo;
1: + u8 vimage_hi : 4;
1: + u8 himage_hi : 4;
1: + u8 h_border;
1: + u8 v_border;
1: + u8 rsvd1 : 3;
1: + u8 digital : 2;
1: + u8 vsync_positive : 1;
1: + u8 hsync_positive : 1;
1: + u8 non_interlaced : 1;
1: };
1:
1: struct bdb_sdvo_panel_dtds {
1: - struct lvds_dvo_timing dtds[4];
1: + struct lvds_dvo_timing dtds[4];
1: };
1:
1: struct edp_fast_link_params {
1: - u8 rate: 4;
1: - u8 lanes: 4;
1: - u8 preemphasis: 4;
1: - u8 vswing: 4;
1: + u8 rate : 4;
1: + u8 lanes : 4;
1: + u8 preemphasis : 4;
1: + u8 vswing : 4;
1: };
1:
1: struct edp_pwm_delays {
1: - u16 pwm_on_to_backlight_enable;
1: - u16 backlight_disable_to_pwm_off;
1: + u16 pwm_on_to_backlight_enable;
1: + u16 backlight_disable_to_pwm_off;
1: };
1:
1: struct edp_full_link_params {
1: - u8 preemphasis: 4;
1: - u8 vswing: 4;
1: + u8 preemphasis : 4;
1: + u8 vswing : 4;
1: };
1:
1: struct bdb_edp {
1: - struct edp_power_seq power_seqs[16];
1: - u32 color_depth;
1: - struct edp_fast_link_params fast_link_params[16];
1: - u32 sdrrs_msa_timing_delay;
1: - u16 edp_s3d_feature;
1: - u16 edp_t3_optimization;
1: - u64 edp_vswing_preemph;
1: - u16 fast_link_training;
1: - u16 dpcd_600h_write_required;
1: - struct edp_pwm_delays pwm_delays[16];
1: - u16 full_link_params_provided;
1: - struct edp_full_link_params full_link_params[16];
1: + struct edp_power_seq power_seqs[16];
1: + u32 color_depth;
1: + struct edp_fast_link_params fast_link_params[16];
1: + u32 sdrrs_msa_timing_delay;
1: + u16 edp_s3d_feature;
1: + u16 edp_t3_optimization;
1: + u64 edp_vswing_preemph;
1: + u16 fast_link_training;
1: + u16 dpcd_600h_write_required;
1: + struct edp_pwm_delays pwm_delays[16];
1: + u16 full_link_params_provided;
1: + struct edp_full_link_params full_link_params[16];
1: } __attribute__((packed));
1:
1: struct bdb_lvds_options {
1: - u8 panel_type;
1: - u8 panel_type2;
1: - u8 pfit_mode: 2;
1: - u8 pfit_text_mode_enhanced: 1;
1: - u8 pfit_gfx_mode_enhanced: 1;
1: - u8 pfit_ratio_auto: 1;
1: - u8 pixel_dither: 1;
1: - u8 lvds_edid: 1;
1: - u8 rsvd2: 1;
1: - u8 rsvd4;
1: - u32 lvds_panel_channel_bits;
1: - u16 ssc_bits;
1: - u16 ssc_freq;
1: - u16 ssc_ddt;
1: - u16 panel_color_depth;
1: - u32 dps_panel_type_bits;
1: - u32 blt_control_type_bits;
1: - u16 lcdvcc_s0_enable;
1: - u32 rotation;
1: + u8 panel_type;
1: + u8 panel_type2;
1: + u8 pfit_mode : 2;
1: + u8 pfit_text_mode_enhanced : 1;
1: + u8 pfit_gfx_mode_enhanced : 1;
1: + u8 pfit_ratio_auto : 1;
1: + u8 pixel_dither : 1;
1: + u8 lvds_edid : 1;
1: + u8 rsvd2 : 1;
1: + u8 rsvd4;
1: + u32 lvds_panel_channel_bits;
1: + u16 ssc_bits;
1: + u16 ssc_freq;
1: + u16 ssc_ddt;
1: + u16 panel_color_depth;
1: + u32 dps_panel_type_bits;
1: + u32 blt_control_type_bits;
1: + u16 lcdvcc_s0_enable;
1: + u32 rotation;
1: } __attribute__((packed));
1:
1: struct lvds_lfp_data_ptr {
1: - u16 fp_timing_offset;
1: - u8 fp_table_size;
1: - u16 dvo_timing_offset;
1: - u8 dvo_table_size;
1: - u16 panel_pnp_id_offset;
1: - u8 pnp_table_size;
1: + u16 fp_timing_offset;
1: + u8 fp_table_size;
1: + u16 dvo_timing_offset;
1: + u8 dvo_table_size;
1: + u16 panel_pnp_id_offset;
1: + u8 pnp_table_size;
1: } __attribute__((packed));
1:
1: struct bdb_lvds_lfp_data_ptrs {
1: - u8 lvds_entries;
1: - struct lvds_lfp_data_ptr ptr[16];
1: + u8 lvds_entries;
1: + struct lvds_lfp_data_ptr ptr[16];
1: } __attribute__((packed));
1:
1: struct lvds_fp_timing {
1: - u16 x_res;
1: - u16 y_res;
1: - u32 lvds_reg;
1: - u32 lvds_reg_val;
1: - u32 pp_on_reg;
1: - u32 pp_on_reg_val;
1: - u32 pp_off_reg;
1: - u32 pp_off_reg_val;
1: - u32 pp_cycle_reg;
1: - u32 pp_cycle_reg_val;
1: - u32 pfit_reg;
1: - u32 pfit_reg_val;
1: - u16 terminator;
1: + u16 x_res;
1: + u16 y_res;
1: + u32 lvds_reg;
1: + u32 lvds_reg_val;
1: + u32 pp_on_reg;
1: + u32 pp_on_reg_val;
1: + u32 pp_off_reg;
1: + u32 pp_off_reg_val;
1: + u32 pp_cycle_reg;
1: + u32 pp_cycle_reg_val;
1: + u32 pfit_reg;
1: + u32 pfit_reg_val;
1: + u16 terminator;
1: } __attribute__((packed));
1:
1: struct lvds_pnp_id {
1: - u16 mfg_name;
1: - u16 product_code;
1: - u32 serial;
1: - u8 mfg_week;
1: - u8 mfg_year;
1: + u16 mfg_name;
1: + u16 product_code;
1: + u32 serial;
1: + u8 mfg_week;
1: + u8 mfg_year;
1: } __attribute__((packed));
1:
1: struct lvds_lfp_data_entry {
1: - struct lvds_fp_timing fp_timing;
1: - struct lvds_dvo_timing dvo_timing;
1: - struct lvds_pnp_id pnp_id;
1: + struct lvds_fp_timing fp_timing;
1: + struct lvds_dvo_timing dvo_timing;
1: + struct lvds_pnp_id pnp_id;
1: } __attribute__((packed));
1:
1: struct bdb_lvds_lfp_data {
1: - struct lvds_lfp_data_entry data[16];
1: + struct lvds_lfp_data_entry data[16];
1: };
1:
1: struct lfp_backlight_data_entry {
1: - u8 type: 2;
1: - u8 active_low_pwm: 1;
1: - u8 obsolete1: 5;
1: - u16 pwm_freq_hz;
1: - u8 min_brightness;
1: - u8 obsolete2;
1: - u8 obsolete3;
1: + u8 type : 2;
1: + u8 active_low_pwm : 1;
1: + u8 obsolete1 : 5;
1: + u16 pwm_freq_hz;
1: + u8 min_brightness;
1: + u8 obsolete2;
1: + u8 obsolete3;
1: } __attribute__((packed));
1:
1: struct lfp_backlight_control_method {
1: - u8 type: 4;
1: - u8 controller: 4;
1: + u8 type : 4;
1: + u8 controller : 4;
1: };
1:
1: struct bdb_lfp_backlight_data {
1: - u8 entry_size;
1: - struct lfp_backlight_data_entry data[16];
1: - u8 level[16];
1: - struct lfp_backlight_control_method backlight_control[16];
1: + u8 entry_size;
1: + struct lfp_backlight_data_entry data[16];
1: + u8 level[16];
1: + struct lfp_backlight_control_method backlight_control[16];
1: } __attribute__((packed));
1:
1: struct bdb_mipi_config {
1: - struct mipi_config config[6];
1: - struct mipi_pps_data pps[6];
1: + struct mipi_config config[6];
1: + struct mipi_pps_data pps[6];
1: };
1:
1: struct bdb_mipi_sequence {
1: - u8 version;
1: - u8 data[0];
1: + u8 version;
1: + u8 data[0];
1: };
1:
1: struct intel_bw_state {
1: - struct drm_private_state base;
1: - unsigned int data_rate[4];
1: - u8 num_active_planes[4];
1: + struct drm_private_state base;
1: + unsigned int data_rate[4];
1: + u8 num_active_planes[4];
1: };
1:
1: struct intel_qgv_point {
1: - u16 dclk;
1: - u16 t_rp;
1: - u16 t_rdpre;
1: - u16 t_rc;
1: - u16 t_ras;
1: - u16 t_rcd;
1: + u16 dclk;
1: + u16 t_rp;
1: + u16 t_rdpre;
1: + u16 t_rc;
1: + u16 t_ras;
1: + u16 t_rcd;
1: };
1:
1: struct intel_qgv_info {
1: - struct intel_qgv_point points[3];
1: - u8 num_points;
1: - u8 num_channels;
1: - u8 t_bl;
1: - enum intel_dram_type dram_type;
1: + struct intel_qgv_point points[3];
1: + u8 num_points;
1: + u8 num_channels;
1: + u8 t_bl;
1: + enum intel_dram_type dram_type;
1: };
1:
1: struct intel_sa_info {
1: - u16 displayrtids;
1: - u8 deburst;
1: - u8 deprogbwlimit;
1: + u16 displayrtids;
1: + u8 deburst;
1: + u8 deprogbwlimit;
1: };
1:
1: struct drm_color_ctm {
1: - __u64 matrix[9];
1: + __u64 matrix[9];
1: };
1:
1: enum {
1: - PROCMON_0_85V_DOT_0 = 0,
1: - PROCMON_0_95V_DOT_0 = 1,
1: - PROCMON_0_95V_DOT_1 = 2,
1: - PROCMON_1_05V_DOT_0 = 3,
1: - PROCMON_1_05V_DOT_1 = 4,
1: + PROCMON_0_85V_DOT_0 = 0,
1: + PROCMON_0_95V_DOT_0 = 1,
1: + PROCMON_0_95V_DOT_1 = 2,
1: + PROCMON_1_05V_DOT_0 = 3,
1: + PROCMON_1_05V_DOT_1 = 4,
1: };
1:
1: struct cnl_procmon {
1: - u32 dw1;
1: - u32 dw9;
1: - u32 dw10;
1: + u32 dw1;
1: + u32 dw9;
1: + u32 dw10;
1: };
1:
1: enum intel_broadcast_rgb {
1: - INTEL_BROADCAST_RGB_AUTO = 0,
1: - INTEL_BROADCAST_RGB_FULL = 1,
1: - INTEL_BROADCAST_RGB_LIMITED = 2,
1: + INTEL_BROADCAST_RGB_AUTO = 0,
1: + INTEL_BROADCAST_RGB_FULL = 1,
1: + INTEL_BROADCAST_RGB_LIMITED = 2,
1: };
1:
1: enum hdmi_packet_type {
1: - HDMI_PACKET_TYPE_NULL = 0,
1: - HDMI_PACKET_TYPE_AUDIO_CLOCK_REGEN = 1,
1: - HDMI_PACKET_TYPE_AUDIO_SAMPLE = 2,
1: - HDMI_PACKET_TYPE_GENERAL_CONTROL = 3,
1: - HDMI_PACKET_TYPE_ACP = 4,
1: - HDMI_PACKET_TYPE_ISRC1 = 5,
1: - HDMI_PACKET_TYPE_ISRC2 = 6,
1: - HDMI_PACKET_TYPE_ONE_BIT_AUDIO_SAMPLE = 7,
1: - HDMI_PACKET_TYPE_DST_AUDIO = 8,
1: - HDMI_PACKET_TYPE_HBR_AUDIO_STREAM = 9,
1: - HDMI_PACKET_TYPE_GAMUT_METADATA = 10,
1: + HDMI_PACKET_TYPE_NULL = 0,
1: + HDMI_PACKET_TYPE_AUDIO_CLOCK_REGEN = 1,
1: + HDMI_PACKET_TYPE_AUDIO_SAMPLE = 2,
1: + HDMI_PACKET_TYPE_GENERAL_CONTROL = 3,
1: + HDMI_PACKET_TYPE_ACP = 4,
1: + HDMI_PACKET_TYPE_ISRC1 = 5,
1: + HDMI_PACKET_TYPE_ISRC2 = 6,
1: + HDMI_PACKET_TYPE_ONE_BIT_AUDIO_SAMPLE = 7,
1: + HDMI_PACKET_TYPE_DST_AUDIO = 8,
1: + HDMI_PACKET_TYPE_HBR_AUDIO_STREAM = 9,
1: + HDMI_PACKET_TYPE_GAMUT_METADATA = 10,
1: };
1:
1: struct drm_i915_get_pipe_from_crtc_id {
1: - __u32 crtc_id;
1: - __u32 pipe;
1: + __u32 crtc_id;
1: + __u32 pipe;
1: };
1:
1: enum dpio_channel {
1: - DPIO_CH0 = 0,
1: - DPIO_CH1 = 1,
1: + DPIO_CH0 = 0,
1: + DPIO_CH1 = 1,
1: };
1:
1: struct intel_cursor_error_state {
1: - u32 control;
1: - u32 position;
1: - u32 base;
1: - u32 size;
1: + u32 control;
1: + u32 position;
1: + u32 base;
1: + u32 size;
1: };
1:
1: struct intel_pipe_error_state {
1: - bool power_domain_on;
1: - u32 source;
1: - u32 stat;
1: + bool power_domain_on;
1: + u32 source;
1: + u32 stat;
1: };
1:
1: struct intel_plane_error_state {
1: - u32 control;
1: - u32 stride;
1: - u32 size;
1: - u32 pos;
1: - u32 addr;
1: - u32 surface;
1: - u32 tile_offset;
1: + u32 control;
1: + u32 stride;
1: + u32 size;
1: + u32 pos;
1: + u32 addr;
1: + u32 surface;
1: + u32 tile_offset;
1: };
1:
1: struct intel_transcoder_error_state {
1: - bool available;
1: - bool power_domain_on;
1: - enum transcoder cpu_transcoder;
1: - u32 conf;
1: - u32 htotal;
1: - u32 hblank;
1: - u32 hsync;
1: - u32 vtotal;
1: - u32 vblank;
1: - u32 vsync;
1: + bool available;
1: + bool power_domain_on;
1: + enum transcoder cpu_transcoder;
1: + u32 conf;
1: + u32 htotal;
1: + u32 hblank;
1: + u32 hsync;
1: + u32 vtotal;
1: + u32 vblank;
1: + u32 vsync;
1: };
1:
1: struct intel_display_error_state {
1: - u32 power_well_driver;
1: - struct intel_cursor_error_state cursor[4];
1: - struct intel_pipe_error_state pipe[4];
1: - struct intel_plane_error_state plane[4];
1: - struct intel_transcoder_error_state transcoder[5];
1: + u32 power_well_driver;
1: + struct intel_cursor_error_state cursor[4];
1: + struct intel_pipe_error_state pipe[4];
1: + struct intel_plane_error_state plane[4];
1: + struct intel_transcoder_error_state transcoder[5];
1: };
1:
1: struct drm_i915_error_state_buf {
1: - struct drm_i915_private *i915;
1: - struct scatterlist *sgl;
1: - struct scatterlist *cur;
1: - struct scatterlist *end;
1: - char *buf;
1: - size_t bytes;
1: - size_t size;
1: - loff_t iter;
1: - int err;
1: + struct drm_i915_private *i915;
1: + struct scatterlist *sgl;
1: + struct scatterlist *cur;
1: + struct scatterlist *end;
1: + char *buf;
1: + size_t bytes;
1: + size_t size;
1: + loff_t iter;
1: + int err;
1: };
1:
1: enum link_m_n_set {
1: - M1_N1 = 0,
1: - M2_N2 = 1,
1: + M1_N1 = 0,
1: + M2_N2 = 1,
1: };
1:
1: struct intel_load_detect_pipe {
1: - struct drm_atomic_state *restore_state;
1: + struct drm_atomic_state *restore_state;
1: };
1:
1: struct intel_limit {
1: - struct {
1: - int min;
1: - int max;
1: - } dot;
1: - struct {
1: - int min;
1: - int max;
1: - } vco;
1: - struct {
1: - int min;
1: - int max;
1: - } n;
1: - struct {
1: - int min;
1: - int max;
1: - } m;
1: - struct {
1: - int min;
1: - int max;
1: - } m1;
1: - struct {
1: - int min;
1: - int max;
1: - } m2;
1: - struct {
1: - int min;
1: - int max;
1: - } p;
1: - struct {
1: - int min;
1: - int max;
1: - } p1;
1: - struct {
1: - int dot_limit;
1: - int p2_slow;
1: - int p2_fast;
1: - } p2;
1: + struct {
1: + int min;
1: + int max;
1: + } dot;
1: + struct {
1: + int min;
1: + int max;
1: + } vco;
1: + struct {
1: + int min;
1: + int max;
1: + } n;
1: + struct {
1: + int min;
1: + int max;
1: + } m;
1: + struct {
1: + int min;
1: + int max;
1: + } m1;
1: + struct {
1: + int min;
1: + int max;
1: + } m2;
1: + struct {
1: + int min;
1: + int max;
1: + } p;
1: + struct {
1: + int min;
1: + int max;
1: + } p1;
1: + struct {
1: + int dot_limit;
1: + int p2_slow;
1: + int p2_fast;
1: + } p2;
1: };
1:
1: struct wait_rps_boost {
1: - struct wait_queue_entry wait;
1: - struct drm_crtc *crtc;
1: - struct i915_request *request;
1: + struct wait_queue_entry wait;
1: + struct drm_crtc *crtc;
1: + struct i915_request *request;
1: };
1:
1: struct skl_hw_state {
1: - struct skl_ddb_entry ddb_y[8];
1: - struct skl_ddb_entry ddb_uv[8];
1: - struct skl_ddb_allocation ddb;
1: - struct skl_pipe_wm wm;
1: + struct skl_ddb_entry ddb_y[8];
1: + struct skl_ddb_entry ddb_uv[8];
1: + struct skl_ddb_allocation ddb;
1: + struct skl_pipe_wm wm;
1: };
1:
1: enum skl_power_gate {
1: - SKL_PG0 = 0,
1: - SKL_PG1 = 1,
1: - SKL_PG2 = 2,
1: - ICL_PG3 = 3,
1: - ICL_PG4 = 4,
1: + SKL_PG0 = 0,
1: + SKL_PG1 = 1,
1: + SKL_PG2 = 2,
1: + ICL_PG3 = 3,
1: + ICL_PG4 = 4,
1: };
1:
1: struct bxt_ddi_phy_info {
1: - bool dual_channel;
1: - enum dpio_phy rcomp_phy;
1: - int reset_delay;
1: - u32 pwron_mask;
1: - struct {
1: - enum port port;
1: - } channel[2];
1: + bool dual_channel;
1: + enum dpio_phy rcomp_phy;
1: + int reset_delay;
1: + u32 pwron_mask;
1: + struct {
1: + enum port port;
1: + } channel[2];
1: };
1:
1: struct hsw_wrpll_rnp {
1: - unsigned int p;
1: - unsigned int n2;
1: - unsigned int r2;
1: + unsigned int p;
1: + unsigned int n2;
1: + unsigned int r2;
1: };
1:
1: struct skl_dpll_regs {
1: - i915_reg_t ctl;
1: - i915_reg_t cfgcr1;
1: - i915_reg_t cfgcr2;
1: + i915_reg_t ctl;
1: + i915_reg_t cfgcr1;
1: + i915_reg_t cfgcr2;
1: };
1:
1: struct skl_wrpll_context {
1: - u64 min_deviation;
1: - u64 central_freq;
1: - u64 dco_freq;
1: - unsigned int p;
1: + u64 min_deviation;
1: + u64 central_freq;
1: + u64 dco_freq;
1: + unsigned int p;
1: };
1:
1: struct skl_wrpll_params {
1: - u32 dco_fraction;
1: - u32 dco_integer;
1: - u32 qdiv_ratio;
1: - u32 qdiv_mode;
1: - u32 kdiv;
1: - u32 pdiv;
1: - u32 central_freq;
1: + u32 dco_fraction;
1: + u32 dco_integer;
1: + u32 qdiv_ratio;
1: + u32 qdiv_mode;
1: + u32 kdiv;
1: + u32 pdiv;
1: + u32 central_freq;
1: };
1:
1: struct bxt_clk_div {
1: - int clock;
1: - u32 p1;
1: - u32 p2;
1: - u32 m2_int;
1: - u32 m2_frac;
1: - bool m2_frac_en;
1: - u32 n;
1: - int vco;
1: + int clock;
1: + u32 p1;
1: + u32 p2;
1: + u32 m2_int;
1: + u32 m2_frac;
1: + bool m2_frac_en;
1: + u32 n;
1: + int vco;
1: };
1:
1: struct icl_combo_pll_params {
1: - int clock;
1: - struct skl_wrpll_params wrpll;
1: + int clock;
1: + struct skl_wrpll_params wrpll;
1: };
1:
1: struct hdcp2_rep_stream_manage {
1: - u8 msg_id;
1: - u8 seq_num_m[3];
1: - __be16 k;
1: - struct hdcp2_streamid_type streams[1];
1: + u8 msg_id;
1: + u8 seq_num_m[3];
1: + __be16 k;
1: + struct hdcp2_streamid_type streams[1];
1: };
1:
1: enum hdcp_port_type {
1: - HDCP_PORT_TYPE_INVALID = 0,
1: - HDCP_PORT_TYPE_INTEGRATED = 1,
1: - HDCP_PORT_TYPE_LSPCON = 2,
1: - HDCP_PORT_TYPE_CPDP = 3,
1: + HDCP_PORT_TYPE_INVALID = 0,
1: + HDCP_PORT_TYPE_INTEGRATED = 1,
1: + HDCP_PORT_TYPE_LSPCON = 2,
1: + HDCP_PORT_TYPE_CPDP = 3,
1: };
1:
1: enum check_link_response {
1: - HDCP_LINK_PROTECTED = 0,
1: - HDCP_TOPOLOGY_CHANGE = 1,
1: - HDCP_LINK_INTEGRITY_FAILURE = 2,
1: - HDCP_REAUTH_REQUEST = 3,
1: + HDCP_LINK_PROTECTED = 0,
1: + HDCP_TOPOLOGY_CHANGE = 1,
1: + HDCP_LINK_INTEGRITY_FAILURE = 2,
1: + HDCP_REAUTH_REQUEST = 3,
1: };
1:
1: struct intel_hdmi_lpe_audio_port_pdata {
1: - u8 eld[128];
1: - int port;
1: - int pipe;
1: - int ls_clock;
1: - bool dp_output;
1: + u8 eld[128];
1: + int port;
1: + int pipe;
1: + int ls_clock;
1: + bool dp_output;
1: };
1:
1: struct intel_hdmi_lpe_audio_pdata {
1: - struct intel_hdmi_lpe_audio_port_pdata port[3];
1: - int num_ports;
1: - int num_pipes;
1: - void (*notify_audio_lpe)(struct platform_device *, int);
1: - spinlock_t lpe_audio_slock;
1: + struct intel_hdmi_lpe_audio_port_pdata port[3];
1: + int num_ports;
1: + int num_pipes;
1: + void (*notify_audio_lpe)(struct platform_device *, int);
1: + spinlock_t lpe_audio_slock;
1: };
1:
1: struct drm_intel_overlay_put_image {
1: - __u32 flags;
1: - __u32 bo_handle;
1: - __u16 stride_Y;
1: - __u16 stride_UV;
1: - __u32 offset_Y;
1: - __u32 offset_U;
1: - __u32 offset_V;
1: - __u16 src_width;
1: - __u16 src_height;
1: - __u16 src_scan_width;
1: - __u16 src_scan_height;
1: - __u32 crtc_id;
1: - __u16 dst_x;
1: - __u16 dst_y;
1: - __u16 dst_width;
1: - __u16 dst_height;
1: + __u32 flags;
1: + __u32 bo_handle;
1: + __u16 stride_Y;
1: + __u16 stride_UV;
1: + __u32 offset_Y;
1: + __u32 offset_U;
1: + __u32 offset_V;
1: + __u16 src_width;
1: + __u16 src_height;
1: + __u16 src_scan_width;
1: + __u16 src_scan_height;
1: + __u32 crtc_id;
1: + __u16 dst_x;
1: + __u16 dst_y;
1: + __u16 dst_width;
1: + __u16 dst_height;
1: };
1:
1: struct drm_intel_overlay_attrs {
1: - __u32 flags;
1: - __u32 color_key;
1: - __s32 brightness;
1: - __u32 contrast;
1: - __u32 saturation;
1: - __u32 gamma0;
1: - __u32 gamma1;
1: - __u32 gamma2;
1: - __u32 gamma3;
1: - __u32 gamma4;
1: - __u32 gamma5;
1: + __u32 flags;
1: + __u32 color_key;
1: + __s32 brightness;
1: + __u32 contrast;
1: + __u32 saturation;
1: + __u32 gamma0;
1: + __u32 gamma1;
1: + __u32 gamma2;
1: + __u32 gamma3;
1: + __u32 gamma4;
1: + __u32 gamma5;
1: };
1:
1: struct overlay_registers {
1: - u32 OBUF_0Y;
1: - u32 OBUF_1Y;
1: - u32 OBUF_0U;
1: - u32 OBUF_0V;
1: - u32 OBUF_1U;
1: - u32 OBUF_1V;
1: - u32 OSTRIDE;
1: - u32 YRGB_VPH;
1: - u32 UV_VPH;
1: - u32 HORZ_PH;
1: - u32 INIT_PHS;
1: - u32 DWINPOS;
1: - u32 DWINSZ;
1: - u32 SWIDTH;
1: - u32 SWIDTHSW;
1: - u32 SHEIGHT;
1: - u32 YRGBSCALE;
1: - u32 UVSCALE;
1: - u32 OCLRC0;
1: - u32 OCLRC1;
1: - u32 DCLRKV;
1: - u32 DCLRKM;
1: - u32 SCLRKVH;
1: - u32 SCLRKVL;
1: - u32 SCLRKEN;
1: - u32 OCONFIG;
1: - u32 OCMD;
1: - u32 RESERVED1;
1: - u32 OSTART_0Y;
1: - u32 OSTART_1Y;
1: - u32 OSTART_0U;
1: - u32 OSTART_0V;
1: - u32 OSTART_1U;
1: - u32 OSTART_1V;
1: - u32 OTILEOFF_0Y;
1: - u32 OTILEOFF_1Y;
1: - u32 OTILEOFF_0U;
1: - u32 OTILEOFF_0V;
1: - u32 OTILEOFF_1U;
1: - u32 OTILEOFF_1V;
1: - u32 FASTHSCALE;
1: - u32 UVSCALEV;
1: - u32 RESERVEDC[86];
1: - u16 Y_VCOEFS[51];
1: - u16 RESERVEDD[77];
1: - u16 Y_HCOEFS[85];
1: - u16 RESERVEDE[171];
1: - u16 UV_VCOEFS[51];
1: - u16 RESERVEDF[77];
1: - u16 UV_HCOEFS[51];
1: - u16 RESERVEDG[77];
1: + u32 OBUF_0Y;
1: + u32 OBUF_1Y;
1: + u32 OBUF_0U;
1: + u32 OBUF_0V;
1: + u32 OBUF_1U;
1: + u32 OBUF_1V;
1: + u32 OSTRIDE;
1: + u32 YRGB_VPH;
1: + u32 UV_VPH;
1: + u32 HORZ_PH;
1: + u32 INIT_PHS;
1: + u32 DWINPOS;
1: + u32 DWINSZ;
1: + u32 SWIDTH;
1: + u32 SWIDTHSW;
1: + u32 SHEIGHT;
1: + u32 YRGBSCALE;
1: + u32 UVSCALE;
1: + u32 OCLRC0;
1: + u32 OCLRC1;
1: + u32 DCLRKV;
1: + u32 DCLRKM;
1: + u32 SCLRKVH;
1: + u32 SCLRKVL;
1: + u32 SCLRKEN;
1: + u32 OCONFIG;
1: + u32 OCMD;
1: + u32 RESERVED1;
1: + u32 OSTART_0Y;
1: + u32 OSTART_1Y;
1: + u32 OSTART_0U;
1: + u32 OSTART_0V;
1: + u32 OSTART_1U;
1: + u32 OSTART_1V;
1: + u32 OTILEOFF_0Y;
1: + u32 OTILEOFF_1Y;
1: + u32 OTILEOFF_0U;
1: + u32 OTILEOFF_0V;
1: + u32 OTILEOFF_1U;
1: + u32 OTILEOFF_1V;
1: + u32 FASTHSCALE;
1: + u32 UVSCALEV;
1: + u32 RESERVEDC[86];
1: + u16 Y_VCOEFS[51];
1: + u16 RESERVEDD[77];
1: + u16 Y_HCOEFS[85];
1: + u16 RESERVEDE[171];
1: + u16 UV_VCOEFS[51];
1: + u16 RESERVEDF[77];
1: + u16 UV_HCOEFS[51];
1: + u16 RESERVEDG[77];
1: };
1:
1: struct intel_overlay_error_state {
1: - struct overlay_registers regs;
1: - long unsigned int base;
1: - u32 dovsta;
1: - u32 isr;
1: + struct overlay_registers regs;
1: + long unsigned int base;
1: + u32 dovsta;
1: + u32 isr;
1: };
1:
1: struct intel_overlay {
1: - struct drm_i915_private *i915;
1: - struct intel_context *context;
1: - struct intel_crtc *crtc;
1: - struct i915_vma *vma;
1: - struct i915_vma *old_vma;
1: - bool active;
1: - bool pfit_active;
1: - u32 pfit_vscale_ratio;
1: - u32 color_key: 24;
1: - u32 color_key_enabled: 1;
1: - u32 brightness;
1: - u32 contrast;
1: - u32 saturation;
1: - u32 old_xscale;
1: - u32 old_yscale;
1: - struct drm_i915_gem_object *reg_bo;
1: - struct overlay_registers *regs;
1: - u32 flip_addr;
1: - struct i915_active last_flip;
1: - void (*flip_complete)(struct intel_overlay *);
1: + struct drm_i915_private *i915;
1: + struct intel_context *context;
1: + struct intel_crtc *crtc;
1: + struct i915_vma *vma;
1: + struct i915_vma *old_vma;
1: + bool active;
1: + bool pfit_active;
1: + u32 pfit_vscale_ratio;
1: + u32 color_key : 24;
1: + u32 color_key_enabled : 1;
1: + u32 brightness;
1: + u32 contrast;
1: + u32 saturation;
1: + u32 old_xscale;
1: + u32 old_yscale;
1: + struct drm_i915_gem_object *reg_bo;
1: + struct overlay_registers *regs;
1: + u32 flip_addr;
1: + struct i915_active last_flip;
1: + void (*flip_complete)(struct intel_overlay *);
1: };
1:
1: struct dp_sdp {
1: - struct dp_sdp_header sdp_header;
1: - u8 db[32];
1: + struct dp_sdp_header sdp_header;
1: + u8 db[32];
1: };
1:
1: struct intel_quirk {
1: - int device;
1: - int subsystem_vendor;
1: - int subsystem_device;
1: - void (*hook)(struct drm_i915_private *);
1: + int device;
1: + int subsystem_vendor;
1: + int subsystem_device;
1: + void (*hook)(struct drm_i915_private *);
1: };
1:
1: struct intel_dmi_quirk {
1: - void (*hook)(struct drm_i915_private *);
1: - struct dmi_system_id (*dmi_id_list)[0];
1: + void (*hook)(struct drm_i915_private *);
1: + struct dmi_system_id (*dmi_id_list)[0];
1: };
1:
1: struct opregion_header {
1: - u8 signature[16];
1: - u32 size;
1: - struct {
1: - u8 rsvd;
1: - u8 revision;
1: - u8 minor;
1: - u8 major;
1: - } over;
1: - u8 bios_ver[32];
1: - u8 vbios_ver[16];
1: - u8 driver_ver[16];
1: - u32 mboxes;
1: - u32 driver_model;
1: - u32 pcon;
1: - u8 dver[32];
1: - u8 rsvd[124];
1: + u8 signature[16];
1: + u32 size;
1: + struct {
1: + u8 rsvd;
1: + u8 revision;
1: + u8 minor;
1: + u8 major;
1: + } over;
1: + u8 bios_ver[32];
1: + u8 vbios_ver[16];
1: + u8 driver_ver[16];
1: + u32 mboxes;
1: + u32 driver_model;
1: + u32 pcon;
1: + u8 dver[32];
1: + u8 rsvd[124];
1: };
1:
1: struct opregion_acpi {
1: - u32 drdy;
1: - u32 csts;
1: - u32 cevt;
1: - u8 rsvd1[20];
1: - u32 didl[8];
1: - u32 cpdl[8];
1: - u32 cadl[8];
1: - u32 nadl[8];
1: - u32 aslp;
1: - u32 tidx;
1: - u32 chpd;
1: - u32 clid;
1: - u32 cdck;
1: - u32 sxsw;
1: - u32 evts;
1: - u32 cnot;
1: - u32 nrdy;
1: - u32 did2[7];
1: - u32 cpd2[7];
1: - u8 rsvd2[4];
1: + u32 drdy;
1: + u32 csts;
1: + u32 cevt;
1: + u8 rsvd1[20];
1: + u32 didl[8];
1: + u32 cpdl[8];
1: + u32 cadl[8];
1: + u32 nadl[8];
1: + u32 aslp;
1: + u32 tidx;
1: + u32 chpd;
1: + u32 clid;
1: + u32 cdck;
1: + u32 sxsw;
1: + u32 evts;
1: + u32 cnot;
1: + u32 nrdy;
1: + u32 did2[7];
1: + u32 cpd2[7];
1: + u8 rsvd2[4];
1: };
1:
1: struct opregion_swsci {
1: - u32 scic;
1: - u32 parm;
1: - u32 dslp;
1: - u8 rsvd[244];
1: + u32 scic;
1: + u32 parm;
1: + u32 dslp;
1: + u8 rsvd[244];
1: };
1:
1: struct opregion_asle {
1: - u32 ardy;
1: - u32 aslc;
1: - u32 tche;
1: - u32 alsi;
1: - u32 bclp;
1: - u32 pfit;
1: - u32 cblv;
1: - u16 bclm[20];
1: - u32 cpfm;
1: - u32 epfm;
1: - u8 plut[74];
1: - u32 pfmb;
1: - u32 cddv;
1: - u32 pcft;
1: - u32 srot;
1: - u32 iuer;
1: - u64 fdss;
1: - u32 fdsp;
1: - u32 stat;
1: - u64 rvda;
1: - u32 rvds;
1: - u8 rsvd[58];
1: + u32 ardy;
1: + u32 aslc;
1: + u32 tche;
1: + u32 alsi;
1: + u32 bclp;
1: + u32 pfit;
1: + u32 cblv;
1: + u16 bclm[20];
1: + u32 cpfm;
1: + u32 epfm;
1: + u8 plut[74];
1: + u32 pfmb;
1: + u32 cddv;
1: + u32 pcft;
1: + u32 srot;
1: + u32 iuer;
1: + u64 fdss;
1: + u32 fdsp;
1: + u32 stat;
1: + u64 rvda;
1: + u32 rvds;
1: + u8 rsvd[58];
1: } __attribute__((packed));
1:
1: struct intel_dvo_dev_ops;
1:
1: struct intel_dvo_device {
1: - const char *name;
1: - int type;
1: - i915_reg_t dvo_reg;
1: - i915_reg_t dvo_srcdim_reg;
1: - u32 gpio;
1: - int slave_addr;
1: - const struct intel_dvo_dev_ops *dev_ops;
1: - void *dev_priv;
1: - struct i2c_adapter *i2c_bus;
1: + const char *name;
1: + int type;
1: + i915_reg_t dvo_reg;
1: + i915_reg_t dvo_srcdim_reg;
1: + u32 gpio;
1: + int slave_addr;
1: + const struct intel_dvo_dev_ops *dev_ops;
1: + void *dev_priv;
1: + struct i2c_adapter *i2c_bus;
1: };
1:
1: struct intel_dvo_dev_ops {
1: - bool (*init)(struct intel_dvo_device *, struct i2c_adapter *);
1: - void (*create_resources)(struct intel_dvo_device *);
1: - void (*dpms)(struct intel_dvo_device *, bool);
1: - int (*mode_valid)(struct intel_dvo_device *, struct drm_display_mode *);
1: - void (*prepare)(struct intel_dvo_device *);
1: - void (*commit)(struct intel_dvo_device *);
1: - void (*mode_set)(struct intel_dvo_device *, const struct drm_display_mode *, const struct drm_display_mode *);
1: - enum drm_connector_status (*detect)(struct intel_dvo_device *);
1: - bool (*get_hw_state)(struct intel_dvo_device *);
1: - struct drm_display_mode * (*get_modes)(struct intel_dvo_device *);
1: - void (*destroy)(struct intel_dvo_device *);
1: - void (*dump_regs)(struct intel_dvo_device *);
1: + bool (*init)(struct intel_dvo_device *, struct i2c_adapter *);
1: + void (*create_resources)(struct intel_dvo_device *);
1: + void (*dpms)(struct intel_dvo_device *, bool);
1: + int (*mode_valid)(struct intel_dvo_device *, struct drm_display_mode *);
1: + void (*prepare)(struct intel_dvo_device *);
1: + void (*commit)(struct intel_dvo_device *);
1: + void (*mode_set)(struct intel_dvo_device *, const struct drm_display_mode *,
1: + const struct drm_display_mode *);
1: + enum drm_connector_status (*detect)(struct intel_dvo_device *);
1: + bool (*get_hw_state)(struct intel_dvo_device *);
1: + struct drm_display_mode *(*get_modes)(struct intel_dvo_device *);
1: + void (*destroy)(struct intel_dvo_device *);
1: + void (*dump_regs)(struct intel_dvo_device *);
1: };
1:
1: struct ch7017_priv {
1: - u8 dummy;
1: + u8 dummy;
1: };
1:
1: struct ch7xxx_id_struct {
1: - u8 vid;
1: - char *name;
1: + u8 vid;
1: + char *name;
1: };
1:
1: struct ch7xxx_did_struct {
1: - u8 did;
1: - char *name;
1: + u8 did;
1: + char *name;
1: };
1:
1: struct ch7xxx_priv {
1: - bool quiet;
1: + bool quiet;
1: };
1:
1: struct ivch_priv {
1: - bool quiet;
1: - u16 width;
1: - u16 height;
1: - u16 reg_backup[24];
1: + bool quiet;
1: + u16 width;
1: + u16 height;
1: + u16 reg_backup[24];
1: };
1:
1: enum {
1: - MODE_640x480 = 0,
1: - MODE_800x600 = 1,
1: - MODE_1024x768 = 2,
1: + MODE_640x480 = 0,
1: + MODE_800x600 = 1,
1: + MODE_1024x768 = 2,
1: };
1:
1: struct ns2501_reg {
1: - u8 offset;
1: - u8 value;
1: + u8 offset;
1: + u8 value;
1: };
1:
1: struct ns2501_configuration {
1: - u8 sync;
1: - u8 conf;
1: - u8 syncb;
1: - u8 dither;
1: - u8 pll_a;
1: - u16 pll_b;
1: - u16 hstart;
1: - u16 hstop;
1: - u16 vstart;
1: - u16 vstop;
1: - u16 vsync;
1: - u16 vtotal;
1: - u16 hpos;
1: - u16 vpos;
1: - u16 voffs;
1: - u16 hscale;
1: - u16 vscale;
1: + u8 sync;
1: + u8 conf;
1: + u8 syncb;
1: + u8 dither;
1: + u8 pll_a;
1: + u16 pll_b;
1: + u16 hstart;
1: + u16 hstop;
1: + u16 vstart;
1: + u16 vstop;
1: + u16 vsync;
1: + u16 vtotal;
1: + u16 hpos;
1: + u16 vpos;
1: + u16 voffs;
1: + u16 hscale;
1: + u16 vscale;
1: };
1:
1: struct ns2501_priv {
1: - bool quiet;
1: - const struct ns2501_configuration *conf;
1: + bool quiet;
1: + const struct ns2501_configuration *conf;
1: };
1:
1: struct sil164_priv {
1: - bool quiet;
1: + bool quiet;
1: };
1:
1: struct tfp410_priv {
1: - bool quiet;
1: + bool quiet;
1: };
1:
1: struct intel_dsi_host;
1:
1: struct intel_dsi {
1: - struct intel_encoder base;
1: - struct intel_dsi_host *dsi_hosts[9];
1: - intel_wakeref_t io_wakeref[9];
1: - struct gpio_desc *gpio_panel;
1: - struct intel_connector *attached_connector;
1: - union {
1: - u16 ports;
1: - u16 phys;
1: - };
1: - bool hs;
1: - int channel;
1: - u16 operation_mode;
1: - unsigned int lane_count;
1: - enum mipi_dsi_pixel_format pixel_format;
1: - u32 video_mode_format;
1: - u8 eotp_pkt;
1: - u8 clock_stop;
1: - u8 escape_clk_div;
1: - u8 dual_link;
1: - u16 dcs_backlight_ports;
1: - u16 dcs_cabc_ports;
1: - bool bgr_enabled;
1: - u8 pixel_overlap;
1: - u32 port_bits;
1: - u32 bw_timer;
1: - u32 dphy_reg;
1: - u32 dphy_data_lane_reg;
1: - u32 video_frmt_cfg_bits;
1: - u16 lp_byte_clk;
1: - u16 hs_tx_timeout;
1: - u16 lp_rx_timeout;
1: - u16 turn_arnd_val;
1: - u16 rst_timer_val;
1: - u16 hs_to_lp_count;
1: - u16 clk_lp_to_hs_count;
1: - u16 clk_hs_to_lp_count;
1: - u16 init_count;
1: - u32 pclk;
1: - u16 burst_mode_ratio;
1: - u16 backlight_off_delay;
1: - u16 backlight_on_delay;
1: - u16 panel_on_delay;
1: - u16 panel_off_delay;
1: - u16 panel_pwr_cycle_delay;
1: + struct intel_encoder base;
1: + struct intel_dsi_host *dsi_hosts[9];
1: + intel_wakeref_t io_wakeref[9];
1: + struct gpio_desc *gpio_panel;
1: + struct intel_connector *attached_connector;
1: + union {
1: + u16 ports;
1: + u16 phys;
1: + };
1: + bool hs;
1: + int channel;
1: + u16 operation_mode;
1: + unsigned int lane_count;
1: + enum mipi_dsi_pixel_format pixel_format;
1: + u32 video_mode_format;
1: + u8 eotp_pkt;
1: + u8 clock_stop;
1: + u8 escape_clk_div;
1: + u8 dual_link;
1: + u16 dcs_backlight_ports;
1: + u16 dcs_cabc_ports;
1: + bool bgr_enabled;
1: + u8 pixel_overlap;
1: + u32 port_bits;
1: + u32 bw_timer;
1: + u32 dphy_reg;
1: + u32 dphy_data_lane_reg;
1: + u32 video_frmt_cfg_bits;
1: + u16 lp_byte_clk;
1: + u16 hs_tx_timeout;
1: + u16 lp_rx_timeout;
1: + u16 turn_arnd_val;
1: + u16 rst_timer_val;
1: + u16 hs_to_lp_count;
1: + u16 clk_lp_to_hs_count;
1: + u16 clk_hs_to_lp_count;
1: + u16 init_count;
1: + u32 pclk;
1: + u16 burst_mode_ratio;
1: + u16 backlight_off_delay;
1: + u16 backlight_on_delay;
1: + u16 panel_on_delay;
1: + u16 panel_off_delay;
1: + u16 panel_pwr_cycle_delay;
1: };
1:
1: struct intel_dsi_host {
1: - struct mipi_dsi_host base;
1: - struct intel_dsi *intel_dsi;
1: - enum port port;
1: - struct mipi_dsi_device *device;
1: + struct mipi_dsi_host base;
1: + struct intel_dsi *intel_dsi;
1: + enum port port;
1: + struct mipi_dsi_device *device;
1: };
1:
1: struct intel_crt {
1: - struct intel_encoder base;
1: - struct intel_connector *connector;
1: - bool force_hotplug_required;
1: - i915_reg_t adpa_reg;
1: + struct intel_encoder base;
1: + struct intel_connector *connector;
1: + bool force_hotplug_required;
1: + i915_reg_t adpa_reg;
1: };
1:
1: struct ddi_buf_trans {
1: - u32 trans1;
1: - u32 trans2;
1: - u8 i_boost;
1: + u32 trans1;
1: + u32 trans2;
1: + u8 i_boost;
1: };
1:
1: struct bxt_ddi_buf_trans {
1: - u8 margin;
1: - u8 scale;
1: - u8 enable;
1: - u8 deemphasis;
1: + u8 margin;
1: + u8 scale;
1: + u8 enable;
1: + u8 deemphasis;
1: };
1:
1: struct cnl_ddi_buf_trans {
1: - u8 dw2_swing_sel;
1: - u8 dw7_n_scalar;
1: - u8 dw4_cursor_coeff;
1: - u8 dw4_post_cursor_2;
1: - u8 dw4_post_cursor_1;
1: + u8 dw2_swing_sel;
1: + u8 dw7_n_scalar;
1: + u8 dw4_cursor_coeff;
1: + u8 dw4_post_cursor_2;
1: + u8 dw4_post_cursor_1;
1: };
1:
1: struct icl_mg_phy_ddi_buf_trans {
1: - u32 cri_txdeemph_override_5_0;
1: - u32 cri_txdeemph_override_11_6;
1: - u32 cri_txdeemph_override_17_12;
1: + u32 cri_txdeemph_override_5_0;
1: + u32 cri_txdeemph_override_11_6;
1: + u32 cri_txdeemph_override_17_12;
1: };
1:
1: struct tgl_dkl_phy_ddi_buf_trans {
1: - u32 dkl_vswing_control;
1: - u32 dkl_preshoot_control;
1: - u32 dkl_de_emphasis_control;
1: + u32 dkl_vswing_control;
1: + u32 dkl_preshoot_control;
1: + u32 dkl_de_emphasis_control;
1: };
1:
1: struct link_config_limits {
1: - int min_clock;
1: - int max_clock;
1: - int min_lane_count;
1: - int max_lane_count;
1: - int min_bpp;
1: - int max_bpp;
1: + int min_clock;
1: + int max_clock;
1: + int min_lane_count;
1: + int max_lane_count;
1: + int min_bpp;
1: + int max_bpp;
1: };
1:
1: struct dp_link_dpll {
1: - int clock;
1: - struct dpll dpll;
1: + int clock;
1: + struct dpll dpll;
1: };
1:
1: typedef bool (*vlv_pipe_check)(struct drm_i915_private *, enum pipe);
1:
1: struct pps_registers {
1: - i915_reg_t pp_ctrl;
1: - i915_reg_t pp_stat;
1: - i915_reg_t pp_on;
1: - i915_reg_t pp_off;
1: - i915_reg_t pp_div;
1: + i915_reg_t pp_ctrl;
1: + i915_reg_t pp_stat;
1: + i915_reg_t pp_on;
1: + i915_reg_t pp_off;
1: + i915_reg_t pp_div;
1: };
1:
1: struct hdcp2_dp_errata_stream_type {
1: - u8 msg_id;
1: - u8 stream_type;
1: + u8 msg_id;
1: + u8 stream_type;
1: };
1:
1: struct hdcp2_dp_msg_data {
1: - u8 msg_id;
1: - u32 offset;
1: - bool msg_detectable;
1: - u32 timeout;
1: - u32 timeout2;
1: + u8 msg_id;
1: + u32 offset;
1: + bool msg_detectable;
1: + u32 timeout;
1: + u32 timeout2;
1: };
1:
1: struct gpio_map {
1: - u16 base_offset;
1: - bool init;
1: + u16 base_offset;
1: + bool init;
1: };
1:
1: -typedef const u8 * (*fn_mipi_elem_exec)(struct intel_dsi *, const u8 *);
1: +typedef const u8 *(*fn_mipi_elem_exec)(struct intel_dsi *, const u8 *);
1:
1: struct intel_dvo {
1: - struct intel_encoder base;
1: - struct intel_dvo_device dev;
1: - struct intel_connector *attached_connector;
1: - bool panel_wants_dither;
1: + struct intel_encoder base;
1: + struct intel_dvo_device dev;
1: + struct intel_connector *attached_connector;
1: + bool panel_wants_dither;
1: };
1:
1: enum i915_gpio {
1: - GPIOA = 0,
1: - GPIOB = 1,
1: - GPIOC = 2,
1: - GPIOD = 3,
1: - GPIOE = 4,
1: - GPIOF = 5,
1: - GPIOG = 6,
1: - GPIOH = 7,
1: - __GPIOI_UNUSED = 8,
1: - GPIOJ = 9,
1: - GPIOK = 10,
1: - GPIOL = 11,
1: - GPIOM = 12,
1: - GPION = 13,
1: - GPIOO = 14,
1: + GPIOA = 0,
1: + GPIOB = 1,
1: + GPIOC = 2,
1: + GPIOD = 3,
1: + GPIOE = 4,
1: + GPIOF = 5,
1: + GPIOG = 6,
1: + GPIOH = 7,
1: + __GPIOI_UNUSED = 8,
1: + GPIOJ = 9,
1: + GPIOK = 10,
1: + GPIOL = 11,
1: + GPIOM = 12,
1: + GPION = 13,
1: + GPIOO = 14,
1: };
1:
1: struct gmbus_pin {
1: - const char *name;
1: - enum i915_gpio gpio;
1: + const char *name;
1: + enum i915_gpio gpio;
1: };
1:
1: struct hdcp2_hdmi_msg_timeout {
1: - u8 msg_id;
1: - u16 timeout;
1: + u8 msg_id;
1: + u16 timeout;
1: };
1:
1: enum vga_switcheroo_handler_flags_t {
1: - VGA_SWITCHEROO_CAN_SWITCH_DDC = 1,
1: - VGA_SWITCHEROO_NEEDS_EDP_CONFIG = 2,
1: + VGA_SWITCHEROO_CAN_SWITCH_DDC = 1,
1: + VGA_SWITCHEROO_NEEDS_EDP_CONFIG = 2,
1: };
1:
1: struct intel_lvds_pps {
1: - int t1_t2;
1: - int t3;
1: - int t4;
1: - int t5;
1: - int tx;
1: - int divider;
1: - int port;
1: - bool powerdown_on_reset;
1: + int t1_t2;
1: + int t3;
1: + int t4;
1: + int t5;
1: + int tx;
1: + int divider;
1: + int port;
1: + bool powerdown_on_reset;
1: };
1:
1: struct intel_lvds_encoder {
1: - struct intel_encoder base;
1: - bool is_dual_link;
1: - i915_reg_t reg;
1: - u32 a3_power;
1: - struct intel_lvds_pps init_pps;
1: - u32 init_lvds_val;
1: - struct intel_connector *attached_connector;
1: + struct intel_encoder base;
1: + bool is_dual_link;
1: + i915_reg_t reg;
1: + u32 a3_power;
1: + struct intel_lvds_pps init_pps;
1: + u32 init_lvds_val;
1: + struct intel_connector *attached_connector;
1: };
1:
1: enum pwm_polarity {
1: - PWM_POLARITY_NORMAL = 0,
1: - PWM_POLARITY_INVERSED = 1,
1: + PWM_POLARITY_NORMAL = 0,
1: + PWM_POLARITY_INVERSED = 1,
1: };
1:
1: struct pwm_args {
1: - unsigned int period;
1: - enum pwm_polarity polarity;
1: + unsigned int period;
1: + enum pwm_polarity polarity;
1: };
1:
1: struct pwm_state {
1: - unsigned int period;
1: - unsigned int duty_cycle;
1: - enum pwm_polarity polarity;
1: - bool enabled;
1: + unsigned int period;
1: + unsigned int duty_cycle;
1: + enum pwm_polarity polarity;
1: + bool enabled;
1: };
1:
1: struct pwm_chip;
1:
1: struct pwm_device {
1: - const char *label;
1: - long unsigned int flags;
1: - unsigned int hwpwm;
1: - unsigned int pwm;
1: - struct pwm_chip *chip;
1: - void *chip_data;
1: - struct pwm_args args;
1: - struct pwm_state state;
1: + const char *label;
1: + long unsigned int flags;
1: + unsigned int hwpwm;
1: + unsigned int pwm;
1: + struct pwm_chip *chip;
1: + void *chip_data;
1: + struct pwm_args args;
1: + struct pwm_state state;
1: };
1:
1: struct pwm_ops;
1:
1: struct pwm_chip {
1: - struct device *dev;
1: - const struct pwm_ops *ops;
1: - int base;
1: - unsigned int npwm;
1: - struct pwm_device * (*of_xlate)(struct pwm_chip *, const struct of_phandle_args *);
1: - unsigned int of_pwm_n_cells;
1: - struct list_head list;
1: - struct pwm_device *pwms;
1: + struct device *dev;
1: + const struct pwm_ops *ops;
1: + int base;
1: + unsigned int npwm;
1: + struct pwm_device *(*of_xlate)(struct pwm_chip *,
1: + const struct of_phandle_args *);
1: + unsigned int of_pwm_n_cells;
1: + struct list_head list;
1: + struct pwm_device *pwms;
1: };
1:
1: struct pwm_capture;
1:
1: struct pwm_ops {
1: - int (*request)(struct pwm_chip *, struct pwm_device *);
1: - void (*free)(struct pwm_chip *, struct pwm_device *);
1: - int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
1: - int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
1: - void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
1: - struct module *owner;
1: - int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
1: - int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
1: - int (*enable)(struct pwm_chip *, struct pwm_device *);
1: - void (*disable)(struct pwm_chip *, struct pwm_device *);
1: + int (*request)(struct pwm_chip *, struct pwm_device *);
1: + void (*free)(struct pwm_chip *, struct pwm_device *);
1: + int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *,
1: + long unsigned int);
1: + int (*apply)(struct pwm_chip *, struct pwm_device *,
1: + const struct pwm_state *);
1: + void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
1: + struct module *owner;
1: + int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
1: + int (*set_polarity)(struct pwm_chip *, struct pwm_device *,
1: + enum pwm_polarity);
1: + int (*enable)(struct pwm_chip *, struct pwm_device *);
1: + void (*disable)(struct pwm_chip *, struct pwm_device *);
1: };
1:
1: struct pwm_capture {
1: - unsigned int period;
1: - unsigned int duty_cycle;
1: + unsigned int period;
1: + unsigned int duty_cycle;
1: };
1:
1: struct intel_sdvo_caps {
1: - u8 vendor_id;
1: - u8 device_id;
1: - u8 device_rev_id;
1: - u8 sdvo_version_major;
1: - u8 sdvo_version_minor;
1: - unsigned int sdvo_inputs_mask: 2;
1: - unsigned int smooth_scaling: 1;
1: - unsigned int sharp_scaling: 1;
1: - unsigned int up_scaling: 1;
1: - unsigned int down_scaling: 1;
1: - unsigned int stall_support: 1;
1: - unsigned int pad: 1;
1: - u16 output_flags;
1: + u8 vendor_id;
1: + u8 device_id;
1: + u8 device_rev_id;
1: + u8 sdvo_version_major;
1: + u8 sdvo_version_minor;
1: + unsigned int sdvo_inputs_mask : 2;
1: + unsigned int smooth_scaling : 1;
1: + unsigned int sharp_scaling : 1;
1: + unsigned int up_scaling : 1;
1: + unsigned int down_scaling : 1;
1: + unsigned int stall_support : 1;
1: + unsigned int pad : 1;
1: + u16 output_flags;
1: };
1:
1: struct intel_sdvo_dtd {
1: - struct {
1: - u16 clock;
1: - u8 h_active;
1: - u8 h_blank;
1: - u8 h_high;
1: - u8 v_active;
1: - u8 v_blank;
1: - u8 v_high;
1: - } part1;
1: - struct {
1: - u8 h_sync_off;
1: - u8 h_sync_width;
1: - u8 v_sync_off_width;
1: - u8 sync_off_width_high;
1: - u8 dtd_flags;
1: - u8 sdvo_flags;
1: - u8 v_sync_off_high;
1: - u8 reserved;
1: - } part2;
1: + struct {
1: + u16 clock;
1: + u8 h_active;
1: + u8 h_blank;
1: + u8 h_high;
1: + u8 v_active;
1: + u8 v_blank;
1: + u8 v_high;
1: + } part1;
1: + struct {
1: + u8 h_sync_off;
1: + u8 h_sync_width;
1: + u8 v_sync_off_width;
1: + u8 sync_off_width_high;
1: + u8 dtd_flags;
1: + u8 sdvo_flags;
1: + u8 v_sync_off_high;
1: + u8 reserved;
1: + } part2;
1: };
1:
1: struct intel_sdvo_pixel_clock_range {
1: - u16 min;
1: - u16 max;
1: + u16 min;
1: + u16 max;
1: };
1:
1: struct intel_sdvo_preferred_input_timing_args {
1: - u16 clock;
1: - u16 width;
1: - u16 height;
1: - u8 interlace: 1;
1: - u8 scaled: 1;
1: - u8 pad: 6;
1: + u16 clock;
1: + u16 width;
1: + u16 height;
1: + u8 interlace : 1;
1: + u8 scaled : 1;
1: + u8 pad : 6;
1: } __attribute__((packed));
1:
1: struct intel_sdvo_get_trained_inputs_response {
1: - unsigned int input0_trained: 1;
1: - unsigned int input1_trained: 1;
1: - unsigned int pad: 6;
1: + unsigned int input0_trained : 1;
1: + unsigned int input1_trained : 1;
1: + unsigned int pad : 6;
1: } __attribute__((packed));
1:
1: struct intel_sdvo_in_out_map {
1: - u16 in0;
1: - u16 in1;
1: + u16 in0;
1: + u16 in1;
1: };
1:
1: struct intel_sdvo_set_target_input_args {
1: - unsigned int target_1: 1;
1: - unsigned int pad: 7;
1: + unsigned int target_1 : 1;
1: + unsigned int pad : 7;
1: } __attribute__((packed));
1:
1: struct intel_sdvo_tv_format {
1: - unsigned int ntsc_m: 1;
1: - unsigned int ntsc_j: 1;
1: - unsigned int ntsc_443: 1;
1: - unsigned int pal_b: 1;
1: - unsigned int pal_d: 1;
1: - unsigned int pal_g: 1;
1: - unsigned int pal_h: 1;
1: - unsigned int pal_i: 1;
1: - unsigned int pal_m: 1;
1: - unsigned int pal_n: 1;
1: - unsigned int pal_nc: 1;
1: - unsigned int pal_60: 1;
1: - unsigned int secam_b: 1;
1: - unsigned int secam_d: 1;
1: - unsigned int secam_g: 1;
1: - unsigned int secam_k: 1;
1: - unsigned int secam_k1: 1;
1: - unsigned int secam_l: 1;
1: - unsigned int secam_60: 1;
1: - unsigned int hdtv_std_smpte_240m_1080i_59: 1;
1: - unsigned int hdtv_std_smpte_240m_1080i_60: 1;
1: - unsigned int hdtv_std_smpte_260m_1080i_59: 1;
1: - unsigned int hdtv_std_smpte_260m_1080i_60: 1;
1: - unsigned int hdtv_std_smpte_274m_1080i_50: 1;
1: - unsigned int hdtv_std_smpte_274m_1080i_59: 1;
1: - unsigned int hdtv_std_smpte_274m_1080i_60: 1;
1: - unsigned int hdtv_std_smpte_274m_1080p_23: 1;
1: - unsigned int hdtv_std_smpte_274m_1080p_24: 1;
1: - unsigned int hdtv_std_smpte_274m_1080p_25: 1;
1: - unsigned int hdtv_std_smpte_274m_1080p_29: 1;
1: - unsigned int hdtv_std_smpte_274m_1080p_30: 1;
1: - unsigned int hdtv_std_smpte_274m_1080p_50: 1;
1: - unsigned int hdtv_std_smpte_274m_1080p_59: 1;
1: - unsigned int hdtv_std_smpte_274m_1080p_60: 1;
1: - unsigned int hdtv_std_smpte_295m_1080i_50: 1;
1: - unsigned int hdtv_std_smpte_295m_1080p_50: 1;
1: - unsigned int hdtv_std_smpte_296m_720p_59: 1;
1: - unsigned int hdtv_std_smpte_296m_720p_60: 1;
1: - unsigned int hdtv_std_smpte_296m_720p_50: 1;
1: - unsigned int hdtv_std_smpte_293m_480p_59: 1;
1: - unsigned int hdtv_std_smpte_170m_480i_59: 1;
1: - unsigned int hdtv_std_iturbt601_576i_50: 1;
1: - unsigned int hdtv_std_iturbt601_576p_50: 1;
1: - unsigned int hdtv_std_eia_7702a_480i_60: 1;
1: - unsigned int hdtv_std_eia_7702a_480p_60: 1;
1: - unsigned int pad: 3;
1: + unsigned int ntsc_m : 1;
1: + unsigned int ntsc_j : 1;
1: + unsigned int ntsc_443 : 1;
1: + unsigned int pal_b : 1;
1: + unsigned int pal_d : 1;
1: + unsigned int pal_g : 1;
1: + unsigned int pal_h : 1;
1: + unsigned int pal_i : 1;
1: + unsigned int pal_m : 1;
1: + unsigned int pal_n : 1;
1: + unsigned int pal_nc : 1;
1: + unsigned int pal_60 : 1;
1: + unsigned int secam_b : 1;
1: + unsigned int secam_d : 1;
1: + unsigned int secam_g : 1;
1: + unsigned int secam_k : 1;
1: + unsigned int secam_k1 : 1;
1: + unsigned int secam_l : 1;
1: + unsigned int secam_60 : 1;
1: + unsigned int hdtv_std_smpte_240m_1080i_59 : 1;
1: + unsigned int hdtv_std_smpte_240m_1080i_60 : 1;
1: + unsigned int hdtv_std_smpte_260m_1080i_59 : 1;
1: + unsigned int hdtv_std_smpte_260m_1080i_60 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080i_50 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080i_59 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080i_60 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_23 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_24 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_25 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_29 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_30 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_50 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_59 : 1;
1: + unsigned int hdtv_std_smpte_274m_1080p_60 : 1;
1: + unsigned int hdtv_std_smpte_295m_1080i_50 : 1;
1: + unsigned int hdtv_std_smpte_295m_1080p_50 : 1;
1: + unsigned int hdtv_std_smpte_296m_720p_59 : 1;
1: + unsigned int hdtv_std_smpte_296m_720p_60 : 1;
1: + unsigned int hdtv_std_smpte_296m_720p_50 : 1;
1: + unsigned int hdtv_std_smpte_293m_480p_59 : 1;
1: + unsigned int hdtv_std_smpte_170m_480i_59 : 1;
1: + unsigned int hdtv_std_iturbt601_576i_50 : 1;
1: + unsigned int hdtv_std_iturbt601_576p_50 : 1;
1: + unsigned int hdtv_std_eia_7702a_480i_60 : 1;
1: + unsigned int hdtv_std_eia_7702a_480p_60 : 1;
1: + unsigned int pad : 3;
1: } __attribute__((packed));
1:
1: struct intel_sdvo_sdtv_resolution_request {
1: - unsigned int ntsc_m: 1;
1: - unsigned int ntsc_j: 1;
1: - unsigned int ntsc_443: 1;
1: - unsigned int pal_b: 1;
1: - unsigned int pal_d: 1;
1: - unsigned int pal_g: 1;
1: - unsigned int pal_h: 1;
1: - unsigned int pal_i: 1;
1: - unsigned int pal_m: 1;
1: - unsigned int pal_n: 1;
1: - unsigned int pal_nc: 1;
1: - unsigned int pal_60: 1;
1: - unsigned int secam_b: 1;
1: - unsigned int secam_d: 1;
1: - unsigned int secam_g: 1;
1: - unsigned int secam_k: 1;
1: - unsigned int secam_k1: 1;
1: - unsigned int secam_l: 1;
1: - unsigned int secam_60: 1;
1: - unsigned int pad: 5;
1: + unsigned int ntsc_m : 1;
1: + unsigned int ntsc_j : 1;
1: + unsigned int ntsc_443 : 1;
1: + unsigned int pal_b : 1;
1: + unsigned int pal_d : 1;
1: + unsigned int pal_g : 1;
1: + unsigned int pal_h : 1;
1: + unsigned int pal_i : 1;
1: + unsigned int pal_m : 1;
1: + unsigned int pal_n : 1;
1: + unsigned int pal_nc : 1;
1: + unsigned int pal_60 : 1;
1: + unsigned int secam_b : 1;
1: + unsigned int secam_d : 1;
1: + unsigned int secam_g : 1;
1: + unsigned int secam_k : 1;
1: + unsigned int secam_k1 : 1;
1: + unsigned int secam_l : 1;
1: + unsigned int secam_60 : 1;
1: + unsigned int pad : 5;
1: } __attribute__((packed));
1:
1: struct intel_sdvo_enhancements_reply {
1: - unsigned int flicker_filter: 1;
1: - unsigned int flicker_filter_adaptive: 1;
1: - unsigned int flicker_filter_2d: 1;
1: - unsigned int saturation: 1;
1: - unsigned int hue: 1;
1: - unsigned int brightness: 1;
1: - unsigned int contrast: 1;
1: - unsigned int overscan_h: 1;
1: - unsigned int overscan_v: 1;
1: - unsigned int hpos: 1;
1: - unsigned int vpos: 1;
1: - unsigned int sharpness: 1;
1: - unsigned int dot_crawl: 1;
1: - unsigned int dither: 1;
1: - unsigned int tv_chroma_filter: 1;
1: - unsigned int tv_luma_filter: 1;
1: + unsigned int flicker_filter : 1;
1: + unsigned int flicker_filter_adaptive : 1;
1: + unsigned int flicker_filter_2d : 1;
1: + unsigned int saturation : 1;
1: + unsigned int hue : 1;
1: + unsigned int brightness : 1;
1: + unsigned int contrast : 1;
1: + unsigned int overscan_h : 1;
1: + unsigned int overscan_v : 1;
1: + unsigned int hpos : 1;
1: + unsigned int vpos : 1;
1: + unsigned int sharpness : 1;
1: + unsigned int dot_crawl : 1;
1: + unsigned int dither : 1;
1: + unsigned int tv_chroma_filter : 1;
1: + unsigned int tv_luma_filter : 1;
1: } __attribute__((packed));
1:
1: struct intel_sdvo_encode {
1: - u8 dvi_rev;
1: - u8 hdmi_rev;
1: + u8 dvi_rev;
1: + u8 hdmi_rev;
1: };
1:
1: struct intel_sdvo {
1: - struct intel_encoder base;
1: - struct i2c_adapter *i2c;
1: - u8 slave_addr;
1: - long: 56;
1: - struct i2c_adapter ddc;
1: - i915_reg_t sdvo_reg;
1: - u16 controlled_output;
1: - struct intel_sdvo_caps caps;
1: - short: 16;
1: - int pixel_clock_min;
1: - int pixel_clock_max;
1: - u16 attached_output;
1: - u16 hotplug_active;
1: - enum port port;
1: - bool has_hdmi_monitor;
1: - bool has_hdmi_audio;
1: - u8 ddc_bus;
1: - u8 dtd_sdvo_flags;
1: - int: 32;
1: + struct intel_encoder base;
1: + struct i2c_adapter *i2c;
1: + u8 slave_addr;
1: + long : 56;
1: + struct i2c_adapter ddc;
1: + i915_reg_t sdvo_reg;
1: + u16 controlled_output;
1: + struct intel_sdvo_caps caps;
1: + short : 16;
1: + int pixel_clock_min;
1: + int pixel_clock_max;
1: + u16 attached_output;
1: + u16 hotplug_active;
1: + enum port port;
1: + bool has_hdmi_monitor;
1: + bool has_hdmi_audio;
1: + u8 ddc_bus;
1: + u8 dtd_sdvo_flags;
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct intel_sdvo_connector {
1: - struct intel_connector base;
1: - u16 output_flag;
1: - u8 tv_format_supported[19];
1: - int format_supported_num;
1: - struct drm_property *tv_format;
1: - struct drm_property *left;
1: - struct drm_property *right;
1: - struct drm_property *top;
1: - struct drm_property *bottom;
1: - struct drm_property *hpos;
1: - struct drm_property *vpos;
1: - struct drm_property *contrast;
1: - struct drm_property *saturation;
1: - struct drm_property *hue;
1: - struct drm_property *sharpness;
1: - struct drm_property *flicker_filter;
1: - struct drm_property *flicker_filter_adaptive;
1: - struct drm_property *flicker_filter_2d;
1: - struct drm_property *tv_chroma_filter;
1: - struct drm_property *tv_luma_filter;
1: - struct drm_property *dot_crawl;
1: - struct drm_property *brightness;
1: - u32 max_hscan;
1: - u32 max_vscan;
1: - bool is_hdmi;
1: + struct intel_connector base;
1: + u16 output_flag;
1: + u8 tv_format_supported[19];
1: + int format_supported_num;
1: + struct drm_property *tv_format;
1: + struct drm_property *left;
1: + struct drm_property *right;
1: + struct drm_property *top;
1: + struct drm_property *bottom;
1: + struct drm_property *hpos;
1: + struct drm_property *vpos;
1: + struct drm_property *contrast;
1: + struct drm_property *saturation;
1: + struct drm_property *hue;
1: + struct drm_property *sharpness;
1: + struct drm_property *flicker_filter;
1: + struct drm_property *flicker_filter_adaptive;
1: + struct drm_property *flicker_filter_2d;
1: + struct drm_property *tv_chroma_filter;
1: + struct drm_property *tv_luma_filter;
1: + struct drm_property *dot_crawl;
1: + struct drm_property *brightness;
1: + u32 max_hscan;
1: + u32 max_vscan;
1: + bool is_hdmi;
1: };
1:
1: struct intel_sdvo_connector_state {
1: - struct intel_digital_connector_state base;
1: - struct {
1: - unsigned int overscan_h;
1: - unsigned int overscan_v;
1: - unsigned int hpos;
1: - unsigned int vpos;
1: - unsigned int sharpness;
1: - unsigned int flicker_filter;
1: - unsigned int flicker_filter_2d;
1: - unsigned int flicker_filter_adaptive;
1: - unsigned int chroma_filter;
1: - unsigned int luma_filter;
1: - unsigned int dot_crawl;
1: - } tv;
1: + struct intel_digital_connector_state base;
1: + struct {
1: + unsigned int overscan_h;
1: + unsigned int overscan_v;
1: + unsigned int hpos;
1: + unsigned int vpos;
1: + unsigned int sharpness;
1: + unsigned int flicker_filter;
1: + unsigned int flicker_filter_2d;
1: + unsigned int flicker_filter_adaptive;
1: + unsigned int chroma_filter;
1: + unsigned int luma_filter;
1: + unsigned int dot_crawl;
1: + } tv;
1: };
1:
1: struct intel_tv {
1: - struct intel_encoder base;
1: - int type;
1: + struct intel_encoder base;
1: + int type;
1: };
1:
1: struct video_levels {
1: - u16 blank;
1: - u16 black;
1: - u8 burst;
1: + u16 blank;
1: + u16 black;
1: + u8 burst;
1: };
1:
1: struct color_conversion {
1: - u16 ry;
1: - u16 gy;
1: - u16 by;
1: - u16 ay;
1: - u16 ru;
1: - u16 gu;
1: - u16 bu;
1: - u16 au;
1: - u16 rv;
1: - u16 gv;
1: - u16 bv;
1: - u16 av;
1: + u16 ry;
1: + u16 gy;
1: + u16 by;
1: + u16 ay;
1: + u16 ru;
1: + u16 gu;
1: + u16 bu;
1: + u16 au;
1: + u16 rv;
1: + u16 gv;
1: + u16 bv;
1: + u16 av;
1: };
1:
1: struct tv_mode {
1: - const char *name;
1: - u32 clock;
1: - u16 refresh;
1: - u8 oversample;
1: - u8 hsync_end;
1: - u16 hblank_start;
1: - u16 hblank_end;
1: - u16 htotal;
1: - bool progressive: 1;
1: - bool trilevel_sync: 1;
1: - bool component_only: 1;
1: - u8 vsync_start_f1;
1: - u8 vsync_start_f2;
1: - u8 vsync_len;
1: - bool veq_ena: 1;
1: - u8 veq_start_f1;
1: - u8 veq_start_f2;
1: - u8 veq_len;
1: - u8 vi_end_f1;
1: - u8 vi_end_f2;
1: - u16 nbr_end;
1: - bool burst_ena: 1;
1: - u8 hburst_start;
1: - u8 hburst_len;
1: - u8 vburst_start_f1;
1: - u16 vburst_end_f1;
1: - u8 vburst_start_f2;
1: - u16 vburst_end_f2;
1: - u8 vburst_start_f3;
1: - u16 vburst_end_f3;
1: - u8 vburst_start_f4;
1: - u16 vburst_end_f4;
1: - u16 dda2_size;
1: - u16 dda3_size;
1: - u8 dda1_inc;
1: - u16 dda2_inc;
1: - u16 dda3_inc;
1: - u32 sc_reset;
1: - bool pal_burst: 1;
1: - const struct video_levels *composite_levels;
1: - const struct video_levels *svideo_levels;
1: - const struct color_conversion *composite_color;
1: - const struct color_conversion *svideo_color;
1: - const u32 *filter_table;
1: + const char *name;
1: + u32 clock;
1: + u16 refresh;
1: + u8 oversample;
1: + u8 hsync_end;
1: + u16 hblank_start;
1: + u16 hblank_end;
1: + u16 htotal;
1: + bool progressive : 1;
1: + bool trilevel_sync : 1;
1: + bool component_only : 1;
1: + u8 vsync_start_f1;
1: + u8 vsync_start_f2;
1: + u8 vsync_len;
1: + bool veq_ena : 1;
1: + u8 veq_start_f1;
1: + u8 veq_start_f2;
1: + u8 veq_len;
1: + u8 vi_end_f1;
1: + u8 vi_end_f2;
1: + u16 nbr_end;
1: + bool burst_ena : 1;
1: + u8 hburst_start;
1: + u8 hburst_len;
1: + u8 vburst_start_f1;
1: + u16 vburst_end_f1;
1: + u8 vburst_start_f2;
1: + u16 vburst_end_f2;
1: + u8 vburst_start_f3;
1: + u16 vburst_end_f3;
1: + u8 vburst_start_f4;
1: + u16 vburst_end_f4;
1: + u16 dda2_size;
1: + u16 dda3_size;
1: + u8 dda1_inc;
1: + u16 dda2_inc;
1: + u16 dda3_inc;
1: + u32 sc_reset;
1: + bool pal_burst : 1;
1: + const struct video_levels *composite_levels;
1: + const struct video_levels *svideo_levels;
1: + const struct color_conversion *composite_color;
1: + const struct color_conversion *svideo_color;
1: + const u32 *filter_table;
1: };
1:
1: struct intel_tv_connector_state {
1: - struct drm_connector_state base;
1: - struct {
1: - u16 top;
1: - u16 bottom;
1: - } margins;
1: - bool bypass_vfilter;
1: + struct drm_connector_state base;
1: + struct {
1: + u16 top;
1: + u16 bottom;
1: + } margins;
1: + bool bypass_vfilter;
1: };
1:
1: struct input_res {
1: - u16 w;
1: - u16 h;
1: + u16 w;
1: + u16 h;
1: };
1:
1: struct drm_dsc_pps_infoframe {
1: - struct dp_sdp_header pps_header;
1: - struct drm_dsc_picture_parameter_set pps_payload;
1: + struct dp_sdp_header pps_header;
1: + struct drm_dsc_picture_parameter_set pps_payload;
1: };
1:
1: enum ROW_INDEX_BPP {
1: - ROW_INDEX_6BPP = 0,
1: - ROW_INDEX_8BPP = 1,
1: - ROW_INDEX_10BPP = 2,
1: - ROW_INDEX_12BPP = 3,
1: - ROW_INDEX_15BPP = 4,
1: - MAX_ROW_INDEX = 5,
1: + ROW_INDEX_6BPP = 0,
1: + ROW_INDEX_8BPP = 1,
1: + ROW_INDEX_10BPP = 2,
1: + ROW_INDEX_12BPP = 3,
1: + ROW_INDEX_15BPP = 4,
1: + MAX_ROW_INDEX = 5,
1: };
1:
1: enum COLUMN_INDEX_BPC {
1: - COLUMN_INDEX_8BPC = 0,
1: - COLUMN_INDEX_10BPC = 1,
1: - COLUMN_INDEX_12BPC = 2,
1: - COLUMN_INDEX_14BPC = 3,
1: - COLUMN_INDEX_16BPC = 4,
1: - MAX_COLUMN_INDEX = 5,
1: + COLUMN_INDEX_8BPC = 0,
1: + COLUMN_INDEX_10BPC = 1,
1: + COLUMN_INDEX_12BPC = 2,
1: + COLUMN_INDEX_14BPC = 3,
1: + COLUMN_INDEX_16BPC = 4,
1: + MAX_COLUMN_INDEX = 5,
1: };
1:
1: struct rc_parameters {
1: - u16 initial_xmit_delay;
1: - u8 first_line_bpg_offset;
1: - u16 initial_offset;
1: - u8 flatness_min_qp;
1: - u8 flatness_max_qp;
1: - u8 rc_quant_incr_limit0;
1: - u8 rc_quant_incr_limit1;
1: - struct drm_dsc_rc_range_parameters rc_range_params[15];
1: + u16 initial_xmit_delay;
1: + u8 first_line_bpg_offset;
1: + u16 initial_offset;
1: + u8 flatness_min_qp;
1: + u8 flatness_max_qp;
1: + u8 rc_quant_incr_limit0;
1: + u8 rc_quant_incr_limit1;
1: + struct drm_dsc_rc_range_parameters rc_range_params[15];
1: };
1:
1: enum drm_i915_oa_format {
1: - I915_OA_FORMAT_A13 = 1,
1: - I915_OA_FORMAT_A29 = 2,
1: - I915_OA_FORMAT_A13_B8_C8 = 3,
1: - I915_OA_FORMAT_B4_C8 = 4,
1: - I915_OA_FORMAT_A45_B8_C8 = 5,
1: - I915_OA_FORMAT_B4_C8_A16 = 6,
1: - I915_OA_FORMAT_C4_B8 = 7,
1: - I915_OA_FORMAT_A12 = 8,
1: - I915_OA_FORMAT_A12_B8_C8 = 9,
1: - I915_OA_FORMAT_A32u40_A4u32_B8_C8 = 10,
1: - I915_OA_FORMAT_MAX = 11,
1: + I915_OA_FORMAT_A13 = 1,
1: + I915_OA_FORMAT_A29 = 2,
1: + I915_OA_FORMAT_A13_B8_C8 = 3,
1: + I915_OA_FORMAT_B4_C8 = 4,
1: + I915_OA_FORMAT_A45_B8_C8 = 5,
1: + I915_OA_FORMAT_B4_C8_A16 = 6,
1: + I915_OA_FORMAT_C4_B8 = 7,
1: + I915_OA_FORMAT_A12 = 8,
1: + I915_OA_FORMAT_A12_B8_C8 = 9,
1: + I915_OA_FORMAT_A32u40_A4u32_B8_C8 = 10,
1: + I915_OA_FORMAT_MAX = 11,
1: };
1:
1: enum drm_i915_perf_property_id {
1: - DRM_I915_PERF_PROP_CTX_HANDLE = 1,
1: - DRM_I915_PERF_PROP_SAMPLE_OA = 2,
1: - DRM_I915_PERF_PROP_OA_METRICS_SET = 3,
1: - DRM_I915_PERF_PROP_OA_FORMAT = 4,
1: - DRM_I915_PERF_PROP_OA_EXPONENT = 5,
1: - DRM_I915_PERF_PROP_HOLD_PREEMPTION = 6,
1: - DRM_I915_PERF_PROP_MAX = 7,
1: + DRM_I915_PERF_PROP_CTX_HANDLE = 1,
1: + DRM_I915_PERF_PROP_SAMPLE_OA = 2,
1: + DRM_I915_PERF_PROP_OA_METRICS_SET = 3,
1: + DRM_I915_PERF_PROP_OA_FORMAT = 4,
1: + DRM_I915_PERF_PROP_OA_EXPONENT = 5,
1: + DRM_I915_PERF_PROP_HOLD_PREEMPTION = 6,
1: + DRM_I915_PERF_PROP_MAX = 7,
1: };
1:
1: struct drm_i915_perf_open_param {
1: - __u32 flags;
1: - __u32 num_properties;
1: - __u64 properties_ptr;
1: + __u32 flags;
1: + __u32 num_properties;
1: + __u64 properties_ptr;
1: };
1:
1: struct drm_i915_perf_record_header {
1: - __u32 type;
1: - __u16 pad;
1: - __u16 size;
1: + __u32 type;
1: + __u16 pad;
1: + __u16 size;
1: };
1:
1: enum drm_i915_perf_record_type {
1: - DRM_I915_PERF_RECORD_SAMPLE = 1,
1: - DRM_I915_PERF_RECORD_OA_REPORT_LOST = 2,
1: - DRM_I915_PERF_RECORD_OA_BUFFER_LOST = 3,
1: - DRM_I915_PERF_RECORD_MAX = 4,
1: + DRM_I915_PERF_RECORD_SAMPLE = 1,
1: + DRM_I915_PERF_RECORD_OA_REPORT_LOST = 2,
1: + DRM_I915_PERF_RECORD_OA_BUFFER_LOST = 3,
1: + DRM_I915_PERF_RECORD_MAX = 4,
1: };
1:
1: struct perf_open_properties {
1: - u32 sample_flags;
1: - u64 single_context: 1;
1: - u64 hold_preemption: 1;
1: - u64 ctx_handle;
1: - int metrics_set;
1: - int oa_format;
1: - bool oa_periodic;
1: - int oa_period_exponent;
1: - struct intel_engine_cs *engine;
1: + u32 sample_flags;
1: + u64 single_context : 1;
1: + u64 hold_preemption : 1;
1: + u64 ctx_handle;
1: + int metrics_set;
1: + int oa_format;
1: + bool oa_periodic;
1: + int oa_period_exponent;
1: + struct intel_engine_cs *engine;
1: };
1:
1: struct i915_oa_config_bo {
1: - struct llist_node node;
1: - struct i915_oa_config *oa_config;
1: - struct i915_vma *vma;
1: + struct llist_node node;
1: + struct i915_oa_config *oa_config;
1: + struct i915_vma *vma;
1: };
1:
1: struct flex {
1: - i915_reg_t reg;
1: - u32 offset;
1: - u32 value;
1: + i915_reg_t reg;
1: + u32 offset;
1: + u32 value;
1: };
1:
1: struct compress {
1: - struct pagevec pool;
1: - struct z_stream_s zstream;
1: - void *tmp;
1: - bool wc;
1: + struct pagevec pool;
1: + struct z_stream_s zstream;
1: + void *tmp;
1: + bool wc;
1: };
1:
1: struct capture_vma {
1: - struct capture_vma *next;
1: - void **slot;
1: + struct capture_vma *next;
1: + void **slot;
1: };
1:
1: struct _balloon_info_ {
1: - struct drm_mm_node space[4];
1: + struct drm_mm_node space[4];
1: };
1:
1: struct vga_device {
1: - struct list_head list;
1: - struct pci_dev *pdev;
1: - unsigned int decodes;
1: - unsigned int owns;
1: - unsigned int locks;
1: - unsigned int io_lock_cnt;
1: - unsigned int mem_lock_cnt;
1: - unsigned int io_norm_cnt;
1: - unsigned int mem_norm_cnt;
1: - bool bridge_has_one_vga;
1: - void *cookie;
1: - void (*irq_set_state)(void *, bool);
1: - unsigned int (*set_vga_decode)(void *, bool);
1: + struct list_head list;
1: + struct pci_dev *pdev;
1: + unsigned int decodes;
1: + unsigned int owns;
1: + unsigned int locks;
1: + unsigned int io_lock_cnt;
1: + unsigned int mem_lock_cnt;
1: + unsigned int io_norm_cnt;
1: + unsigned int mem_norm_cnt;
1: + bool bridge_has_one_vga;
1: + void *cookie;
1: + void (*irq_set_state)(void *, bool);
1: + unsigned int (*set_vga_decode)(void *, bool);
1: };
1:
1: struct vga_arb_user_card {
1: - struct pci_dev *pdev;
1: - unsigned int mem_cnt;
1: - unsigned int io_cnt;
1: + struct pci_dev *pdev;
1: + unsigned int mem_cnt;
1: + unsigned int io_cnt;
1: };
1:
1: struct vga_arb_private {
1: - struct list_head list;
1: - struct pci_dev *target;
1: - struct vga_arb_user_card cards[16];
1: - spinlock_t lock;
1: + struct list_head list;
1: + struct pci_dev *target;
1: + struct vga_arb_user_card cards[16];
1: + spinlock_t lock;
1: };
1:
1: struct cb_id {
1: - __u32 idx;
1: - __u32 val;
1: + __u32 idx;
1: + __u32 val;
1: };
1:
1: struct cn_msg {
1: - struct cb_id id;
1: - __u32 seq;
1: - __u32 ack;
1: - __u16 len;
1: - __u16 flags;
1: - __u8 data[0];
1: + struct cb_id id;
1: + __u32 seq;
1: + __u32 ack;
1: + __u16 len;
1: + __u16 flags;
1: + __u8 data[0];
1: };
1:
1: struct cn_queue_dev {
1: - atomic_t refcnt;
1: - unsigned char name[32];
1: - struct list_head queue_list;
1: - spinlock_t queue_lock;
1: - struct sock *nls;
1: + atomic_t refcnt;
1: + unsigned char name[32];
1: + struct list_head queue_list;
1: + spinlock_t queue_lock;
1: + struct sock *nls;
1: };
1:
1: struct cn_callback_id {
1: - unsigned char name[32];
1: - struct cb_id id;
1: + unsigned char name[32];
1: + struct cb_id id;
1: };
1:
1: struct cn_callback_entry {
1: - struct list_head callback_entry;
1: - refcount_t refcnt;
1: - struct cn_queue_dev *pdev;
1: - struct cn_callback_id id;
1: - void (*callback)(struct cn_msg *, struct netlink_skb_parms *);
1: - u32 seq;
1: - u32 group;
1: + struct list_head callback_entry;
1: + refcount_t refcnt;
1: + struct cn_queue_dev *pdev;
1: + struct cn_callback_id id;
1: + void (*callback)(struct cn_msg *, struct netlink_skb_parms *);
1: + u32 seq;
1: + u32 group;
1: };
1:
1: struct cn_dev {
1: - struct cb_id id;
1: - u32 seq;
1: - u32 groups;
1: - struct sock *nls;
1: - struct cn_queue_dev *cbdev;
1: + struct cb_id id;
1: + u32 seq;
1: + u32 groups;
1: + struct sock *nls;
1: + struct cn_queue_dev *cbdev;
1: };
1:
1: enum proc_cn_mcast_op {
1: - PROC_CN_MCAST_LISTEN = 1,
1: - PROC_CN_MCAST_IGNORE = 2,
1: + PROC_CN_MCAST_LISTEN = 1,
1: + PROC_CN_MCAST_IGNORE = 2,
1: };
1:
1: struct fork_proc_event {
1: - __kernel_pid_t parent_pid;
1: - __kernel_pid_t parent_tgid;
1: - __kernel_pid_t child_pid;
1: - __kernel_pid_t child_tgid;
1: + __kernel_pid_t parent_pid;
1: + __kernel_pid_t parent_tgid;
1: + __kernel_pid_t child_pid;
1: + __kernel_pid_t child_tgid;
1: };
1:
1: struct exec_proc_event {
1: - __kernel_pid_t process_pid;
1: - __kernel_pid_t process_tgid;
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: };
1:
1: struct id_proc_event {
1: - __kernel_pid_t process_pid;
1: - __kernel_pid_t process_tgid;
1: - union {
1: - __u32 ruid;
1: - __u32 rgid;
1: - } r;
1: - union {
1: - __u32 euid;
1: - __u32 egid;
1: - } e;
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + union {
1: + __u32 ruid;
1: + __u32 rgid;
1: + } r;
1: + union {
1: + __u32 euid;
1: + __u32 egid;
1: + } e;
1: };
1:
1: struct sid_proc_event {
1: - __kernel_pid_t process_pid;
1: - __kernel_pid_t process_tgid;
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: };
1:
1: struct ptrace_proc_event {
1: - __kernel_pid_t process_pid;
1: - __kernel_pid_t process_tgid;
1: - __kernel_pid_t tracer_pid;
1: - __kernel_pid_t tracer_tgid;
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + __kernel_pid_t tracer_pid;
1: + __kernel_pid_t tracer_tgid;
1: };
1:
1: struct comm_proc_event {
1: - __kernel_pid_t process_pid;
1: - __kernel_pid_t process_tgid;
1: - char comm[16];
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + char comm[16];
1: };
1:
1: struct coredump_proc_event {
1: - __kernel_pid_t process_pid;
1: - __kernel_pid_t process_tgid;
1: - __kernel_pid_t parent_pid;
1: - __kernel_pid_t parent_tgid;
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + __kernel_pid_t parent_pid;
1: + __kernel_pid_t parent_tgid;
1: };
1:
1: struct exit_proc_event {
1: - __kernel_pid_t process_pid;
1: - __kernel_pid_t process_tgid;
1: - __u32 exit_code;
1: - __u32 exit_signal;
1: - __kernel_pid_t parent_pid;
1: - __kernel_pid_t parent_tgid;
1: + __kernel_pid_t process_pid;
1: + __kernel_pid_t process_tgid;
1: + __u32 exit_code;
1: + __u32 exit_signal;
1: + __kernel_pid_t parent_pid;
1: + __kernel_pid_t parent_tgid;
1: };
1:
1: struct proc_event {
1: - enum what what;
1: - __u32 cpu;
1: - __u64 timestamp_ns;
1: - union {
1: - struct {
1: - __u32 err;
1: - } ack;
1: - struct fork_proc_event fork;
1: - struct exec_proc_event exec;
1: - struct id_proc_event id;
1: - struct sid_proc_event sid;
1: - struct ptrace_proc_event ptrace;
1: - struct comm_proc_event comm;
1: - struct coredump_proc_event coredump;
1: - struct exit_proc_event exit;
1: - } event_data;
1: + enum what what;
1: + __u32 cpu;
1: + __u64 timestamp_ns;
1: + union {
1: + struct {
1: + __u32 err;
1: + } ack;
1: + struct fork_proc_event fork;
1: + struct exec_proc_event exec;
1: + struct id_proc_event id;
1: + struct sid_proc_event sid;
1: + struct ptrace_proc_event ptrace;
1: + struct comm_proc_event comm;
1: + struct coredump_proc_event coredump;
1: + struct exit_proc_event exit;
1: + } event_data;
1: };
1:
1: struct component_master_ops {
1: - int (*bind)(struct device *);
1: - void (*unbind)(struct device *);
1: + int (*bind)(struct device *);
1: + void (*unbind)(struct device *);
1: };
1:
1: struct component;
1:
1: struct component_match_array {
1: - void *data;
1: - int (*compare)(struct device *, void *);
1: - int (*compare_typed)(struct device *, int, void *);
1: - void (*release)(struct device *, void *);
1: - struct component *component;
1: - bool duplicate;
1: + void *data;
1: + int (*compare)(struct device *, void *);
1: + int (*compare_typed)(struct device *, int, void *);
1: + void (*release)(struct device *, void *);
1: + struct component *component;
1: + bool duplicate;
1: };
1:
1: struct master;
1:
1: struct component {
1: - struct list_head node;
1: - struct master *master;
1: - bool bound;
1: - const struct component_ops *ops;
1: - int subcomponent;
1: - struct device *dev;
1: + struct list_head node;
1: + struct master *master;
1: + bool bound;
1: + const struct component_ops *ops;
1: + int subcomponent;
1: + struct device *dev;
1: };
1:
1: struct component_match {
1: - size_t alloc;
1: - size_t num;
1: - struct component_match_array *compare;
1: + size_t alloc;
1: + size_t num;
1: + struct component_match_array *compare;
1: };
1:
1: struct master {
1: - struct list_head node;
1: - bool bound;
1: - const struct component_master_ops *ops;
1: - struct device *dev;
1: - struct component_match *match;
1: - struct dentry *dentry;
1: + struct list_head node;
1: + bool bound;
1: + const struct component_master_ops *ops;
1: + struct device *dev;
1: + struct component_match *match;
1: + struct dentry *dentry;
1: };
1:
1: struct wake_irq {
1: - struct device *dev;
1: - unsigned int status;
1: - int irq;
1: - const char *name;
1: + struct device *dev;
1: + unsigned int status;
1: + int irq;
1: + const char *name;
1: };
1:
1: enum dpm_order {
1: - DPM_ORDER_NONE = 0,
1: - DPM_ORDER_DEV_AFTER_PARENT = 1,
1: - DPM_ORDER_PARENT_BEFORE_DEV = 2,
1: - DPM_ORDER_DEV_LAST = 3,
1: + DPM_ORDER_NONE = 0,
1: + DPM_ORDER_DEV_AFTER_PARENT = 1,
1: + DPM_ORDER_PARENT_BEFORE_DEV = 2,
1: + DPM_ORDER_DEV_LAST = 3,
1: };
1:
1: struct subsys_private {
1: - struct kset subsys;
1: - struct kset *devices_kset;
1: - struct list_head interfaces;
1: - struct mutex mutex;
1: - struct kset *drivers_kset;
1: - struct klist klist_devices;
1: - struct klist klist_drivers;
1: - struct blocking_notifier_head bus_notifier;
1: - unsigned int drivers_autoprobe: 1;
1: - struct bus_type *bus;
1: - struct kset glue_dirs;
1: - struct class *class;
1: + struct kset subsys;
1: + struct kset *devices_kset;
1: + struct list_head interfaces;
1: + struct mutex mutex;
1: + struct kset *drivers_kset;
1: + struct klist klist_devices;
1: + struct klist klist_drivers;
1: + struct blocking_notifier_head bus_notifier;
1: + unsigned int drivers_autoprobe : 1;
1: + struct bus_type *bus;
1: + struct kset glue_dirs;
1: + struct class *class;
1: };
1:
1: struct driver_private {
1: - struct kobject kobj;
1: - struct klist klist_devices;
1: - struct klist_node knode_bus;
1: - struct module_kobject *mkobj;
1: - struct device_driver *driver;
1: + struct kobject kobj;
1: + struct klist klist_devices;
1: + struct klist_node knode_bus;
1: + struct module_kobject *mkobj;
1: + struct device_driver *driver;
1: };
1:
1: struct device_private {
1: - struct klist klist_children;
1: - struct klist_node knode_parent;
1: - struct klist_node knode_driver;
1: - struct klist_node knode_bus;
1: - struct klist_node knode_class;
1: - struct list_head deferred_probe;
1: - struct device_driver *async_driver;
1: - struct device *device;
1: - u8 dead: 1;
1: + struct klist klist_children;
1: + struct klist_node knode_parent;
1: + struct klist_node knode_driver;
1: + struct klist_node knode_bus;
1: + struct klist_node knode_class;
1: + struct list_head deferred_probe;
1: + struct device_driver *async_driver;
1: + struct device *device;
1: + u8 dead : 1;
1: };
1:
1: union device_attr_group_devres {
1: - const struct attribute_group *group;
1: - const struct attribute_group **groups;
1: + const struct attribute_group *group;
1: + const struct attribute_group **groups;
1: };
1:
1: struct class_dir {
1: - struct kobject kobj;
1: - struct class *class;
1: + struct kobject kobj;
1: + struct class *class;
1: };
1:
1: struct root_device {
1: - struct device dev;
1: - struct module *owner;
1: + struct device dev;
1: + struct module *owner;
1: };
1:
1: struct subsys_dev_iter {
1: - struct klist_iter ki;
1: - const struct device_type *type;
1: + struct klist_iter ki;
1: + const struct device_type *type;
1: };
1:
1: struct device_attach_data {
1: - struct device *dev;
1: - bool check_async;
1: - bool want_async;
1: - bool have_async;
1: + struct device *dev;
1: + bool check_async;
1: + bool want_async;
1: + bool have_async;
1: };
1:
1: struct class_compat {
1: - struct kobject *kobj;
1: + struct kobject *kobj;
1: };
1:
1: struct platform_object {
1: - struct platform_device pdev;
1: - char name[0];
1: + struct platform_device pdev;
1: + char name[0];
1: };
1:
1: struct cpu_attr {
1: - struct device_attribute attr;
1: - const struct cpumask * const map;
1: + struct device_attribute attr;
1: + const struct cpumask *const map;
1: };
1:
1: struct probe {
1: - struct probe *next;
1: - dev_t dev;
1: - long unsigned int range;
1: - struct module *owner;
1: - kobj_probe_t___2 *get;
1: - int (*lock)(dev_t, void *);
1: - void *data;
1: + struct probe *next;
1: + dev_t dev;
1: + long unsigned int range;
1: + struct module *owner;
1: + kobj_probe_t___2 *get;
1: + int (*lock)(dev_t, void *);
1: + void *data;
1: };
1:
1: struct kobj_map___2 {
1: - struct probe *probes[255];
1: - struct mutex *lock;
1: + struct probe *probes[255];
1: + struct mutex *lock;
1: };
1:
1: struct devres_node {
1: - struct list_head entry;
1: - dr_release_t release;
1: - const char *name;
1: - size_t size;
1: + struct list_head entry;
1: + dr_release_t release;
1: + const char *name;
1: + size_t size;
1: };
1:
1: struct devres {
1: - struct devres_node node;
1: - u8 data[0];
1: + struct devres_node node;
1: + u8 data[0];
1: };
1:
1: struct devres_group {
1: - struct devres_node node[2];
1: - void *id;
1: - int color;
1: + struct devres_node node[2];
1: + void *id;
1: + int color;
1: };
1:
1: struct action_devres {
1: - void *data;
1: - void (*action)(void *);
1: + void *data;
1: + void (*action)(void *);
1: };
1:
1: struct pages_devres {
1: - long unsigned int addr;
1: - unsigned int order;
1: + long unsigned int addr;
1: + unsigned int order;
1: };
1:
1: struct attribute_container {
1: - struct list_head node;
1: - struct klist containers;
1: - struct class *class;
1: - const struct attribute_group *grp;
1: - struct device_attribute **attrs;
1: - int (*match)(struct attribute_container *, struct device *);
1: - long unsigned int flags;
1: + struct list_head node;
1: + struct klist containers;
1: + struct class *class;
1: + const struct attribute_group *grp;
1: + struct device_attribute **attrs;
1: + int (*match)(struct attribute_container *, struct device *);
1: + long unsigned int flags;
1: };
1:
1: struct internal_container {
1: - struct klist_node node;
1: - struct attribute_container *cont;
1: - struct device classdev;
1: + struct klist_node node;
1: + struct attribute_container *cont;
1: + struct device classdev;
1: };
1:
1: struct transport_container;
1:
1: struct transport_class {
1: - struct class class;
1: - int (*setup)(struct transport_container *, struct device *, struct device *);
1: - int (*configure)(struct transport_container *, struct device *, struct device *);
1: - int (*remove)(struct transport_container *, struct device *, struct device *);
1: + struct class class;
1: + int (*setup)(struct transport_container *, struct device *, struct device *);
1: + int (*configure)(struct transport_container *, struct device *,
1: + struct device *);
1: + int (*remove)(struct transport_container *, struct device *, struct device *);
1: };
1:
1: struct transport_container {
1: - struct attribute_container ac;
1: - const struct attribute_group *statistics;
1: + struct attribute_container ac;
1: + const struct attribute_group *statistics;
1: };
1:
1: struct anon_transport_class {
1: - struct transport_class tclass;
1: - struct attribute_container container;
1: + struct transport_class tclass;
1: + struct attribute_container container;
1: };
1:
1: struct reset_control;
1: @@ -77717,60 +78334,60 @@ struct reset_control;
1: struct mii_bus;
1:
1: struct mdio_device {
1: - struct device dev;
1: - struct mii_bus *bus;
1: - char modalias[32];
1: - int (*bus_match)(struct device *, struct device_driver *);
1: - void (*device_free)(struct mdio_device *);
1: - void (*device_remove)(struct mdio_device *);
1: - int addr;
1: - int flags;
1: - struct gpio_desc *reset_gpio;
1: - struct reset_control *reset_ctrl;
1: - unsigned int reset_assert_delay;
1: - unsigned int reset_deassert_delay;
1: + struct device dev;
1: + struct mii_bus *bus;
1: + char modalias[32];
1: + int (*bus_match)(struct device *, struct device_driver *);
1: + void (*device_free)(struct mdio_device *);
1: + void (*device_remove)(struct mdio_device *);
1: + int addr;
1: + int flags;
1: + struct gpio_desc *reset_gpio;
1: + struct reset_control *reset_ctrl;
1: + unsigned int reset_assert_delay;
1: + unsigned int reset_deassert_delay;
1: };
1:
1: struct phy_c45_device_ids {
1: - u32 devices_in_package;
1: - u32 device_ids[8];
1: + u32 devices_in_package;
1: + u32 device_ids[8];
1: };
1:
1: enum phy_state {
1: - PHY_DOWN = 0,
1: - PHY_READY = 1,
1: - PHY_HALTED = 2,
1: - PHY_UP = 3,
1: - PHY_RUNNING = 4,
1: - PHY_NOLINK = 5,
1: + PHY_DOWN = 0,
1: + PHY_READY = 1,
1: + PHY_HALTED = 2,
1: + PHY_UP = 3,
1: + PHY_RUNNING = 4,
1: + PHY_NOLINK = 5,
1: };
1:
1: typedef enum {
1: - PHY_INTERFACE_MODE_NA = 0,
1: - PHY_INTERFACE_MODE_INTERNAL = 1,
1: - PHY_INTERFACE_MODE_MII = 2,
1: - PHY_INTERFACE_MODE_GMII = 3,
1: - PHY_INTERFACE_MODE_SGMII = 4,
1: - PHY_INTERFACE_MODE_TBI = 5,
1: - PHY_INTERFACE_MODE_REVMII = 6,
1: - PHY_INTERFACE_MODE_RMII = 7,
1: - PHY_INTERFACE_MODE_RGMII = 8,
1: - PHY_INTERFACE_MODE_RGMII_ID = 9,
1: - PHY_INTERFACE_MODE_RGMII_RXID = 10,
1: - PHY_INTERFACE_MODE_RGMII_TXID = 11,
1: - PHY_INTERFACE_MODE_RTBI = 12,
1: - PHY_INTERFACE_MODE_SMII = 13,
1: - PHY_INTERFACE_MODE_XGMII = 14,
1: - PHY_INTERFACE_MODE_MOCA = 15,
1: - PHY_INTERFACE_MODE_QSGMII = 16,
1: - PHY_INTERFACE_MODE_TRGMII = 17,
1: - PHY_INTERFACE_MODE_1000BASEX = 18,
1: - PHY_INTERFACE_MODE_2500BASEX = 19,
1: - PHY_INTERFACE_MODE_RXAUI = 20,
1: - PHY_INTERFACE_MODE_XAUI = 21,
1: - PHY_INTERFACE_MODE_10GKR = 22,
1: - PHY_INTERFACE_MODE_USXGMII = 23,
1: - PHY_INTERFACE_MODE_MAX = 24,
1: + PHY_INTERFACE_MODE_NA = 0,
1: + PHY_INTERFACE_MODE_INTERNAL = 1,
1: + PHY_INTERFACE_MODE_MII = 2,
1: + PHY_INTERFACE_MODE_GMII = 3,
1: + PHY_INTERFACE_MODE_SGMII = 4,
1: + PHY_INTERFACE_MODE_TBI = 5,
1: + PHY_INTERFACE_MODE_REVMII = 6,
1: + PHY_INTERFACE_MODE_RMII = 7,
1: + PHY_INTERFACE_MODE_RGMII = 8,
1: + PHY_INTERFACE_MODE_RGMII_ID = 9,
1: + PHY_INTERFACE_MODE_RGMII_RXID = 10,
1: + PHY_INTERFACE_MODE_RGMII_TXID = 11,
1: + PHY_INTERFACE_MODE_RTBI = 12,
1: + PHY_INTERFACE_MODE_SMII = 13,
1: + PHY_INTERFACE_MODE_XGMII = 14,
1: + PHY_INTERFACE_MODE_MOCA = 15,
1: + PHY_INTERFACE_MODE_QSGMII = 16,
1: + PHY_INTERFACE_MODE_TRGMII = 17,
1: + PHY_INTERFACE_MODE_1000BASEX = 18,
1: + PHY_INTERFACE_MODE_2500BASEX = 19,
1: + PHY_INTERFACE_MODE_RXAUI = 20,
1: + PHY_INTERFACE_MODE_XAUI = 21,
1: + PHY_INTERFACE_MODE_10GKR = 22,
1: + PHY_INTERFACE_MODE_USXGMII = 23,
1: + PHY_INTERFACE_MODE_MAX = 24,
1: } phy_interface_t;
1:
1: struct phylink;
1: @@ -77778,309 +78395,310 @@ struct phylink;
1: struct phy_driver;
1:
1: struct phy_device {
1: - struct mdio_device mdio;
1: - struct phy_driver *drv;
1: - u32 phy_id;
1: - struct phy_c45_device_ids c45_ids;
1: - unsigned int is_c45: 1;
1: - unsigned int is_internal: 1;
1: - unsigned int is_pseudo_fixed_link: 1;
1: - unsigned int is_gigabit_capable: 1;
1: - unsigned int has_fixups: 1;
1: - unsigned int suspended: 1;
1: - unsigned int sysfs_links: 1;
1: - unsigned int loopback_enabled: 1;
1: - unsigned int autoneg: 1;
1: - unsigned int link: 1;
1: - unsigned int autoneg_complete: 1;
1: - unsigned int interrupts: 1;
1: - enum phy_state state;
1: - u32 dev_flags;
1: - phy_interface_t interface;
1: - int speed;
1: - int duplex;
1: - int pause;
1: - int asym_pause;
1: - long unsigned int supported[2];
1: - long unsigned int advertising[2];
1: - long unsigned int lp_advertising[2];
1: - long unsigned int adv_old[2];
1: - u32 eee_broken_modes;
1: - int irq;
1: - void *priv;
1: - struct delayed_work state_queue;
1: - struct mutex lock;
1: - bool sfp_bus_attached;
1: - struct sfp_bus *sfp_bus;
1: - struct phylink *phylink;
1: - struct net_device *attached_dev;
1: - u8 mdix;
1: - u8 mdix_ctrl;
1: - void (*phy_link_change)(struct phy_device *, bool, bool);
1: - void (*adjust_link)(struct net_device *);
1: + struct mdio_device mdio;
1: + struct phy_driver *drv;
1: + u32 phy_id;
1: + struct phy_c45_device_ids c45_ids;
1: + unsigned int is_c45 : 1;
1: + unsigned int is_internal : 1;
1: + unsigned int is_pseudo_fixed_link : 1;
1: + unsigned int is_gigabit_capable : 1;
1: + unsigned int has_fixups : 1;
1: + unsigned int suspended : 1;
1: + unsigned int sysfs_links : 1;
1: + unsigned int loopback_enabled : 1;
1: + unsigned int autoneg : 1;
1: + unsigned int link : 1;
1: + unsigned int autoneg_complete : 1;
1: + unsigned int interrupts : 1;
1: + enum phy_state state;
1: + u32 dev_flags;
1: + phy_interface_t interface;
1: + int speed;
1: + int duplex;
1: + int pause;
1: + int asym_pause;
1: + long unsigned int supported[2];
1: + long unsigned int advertising[2];
1: + long unsigned int lp_advertising[2];
1: + long unsigned int adv_old[2];
1: + u32 eee_broken_modes;
1: + int irq;
1: + void *priv;
1: + struct delayed_work state_queue;
1: + struct mutex lock;
1: + bool sfp_bus_attached;
1: + struct sfp_bus *sfp_bus;
1: + struct phylink *phylink;
1: + struct net_device *attached_dev;
1: + u8 mdix;
1: + u8 mdix_ctrl;
1: + void (*phy_link_change)(struct phy_device *, bool, bool);
1: + void (*adjust_link)(struct net_device *);
1: };
1:
1: struct mii_bus {
1: - struct module *owner;
1: - const char *name;
1: - char id[61];
1: - void *priv;
1: - int (*read)(struct mii_bus *, int, int);
1: - int (*write)(struct mii_bus *, int, int, u16);
1: - int (*reset)(struct mii_bus *);
1: - struct mutex mdio_lock;
1: - struct device *parent;
1: - enum {
1: - MDIOBUS_ALLOCATED = 1,
1: - MDIOBUS_REGISTERED = 2,
1: - MDIOBUS_UNREGISTERED = 3,
1: - MDIOBUS_RELEASED = 4,
1: - } state;
1: - struct device dev;
1: - struct mdio_device *mdio_map[32];
1: - u32 phy_mask;
1: - u32 phy_ignore_ta_mask;
1: - int irq[32];
1: - int reset_delay_us;
1: - struct gpio_desc *reset_gpiod;
1: + struct module *owner;
1: + const char *name;
1: + char id[61];
1: + void *priv;
1: + int (*read)(struct mii_bus *, int, int);
1: + int (*write)(struct mii_bus *, int, int, u16);
1: + int (*reset)(struct mii_bus *);
1: + struct mutex mdio_lock;
1: + struct device *parent;
1: + enum {
1: + MDIOBUS_ALLOCATED = 1,
1: + MDIOBUS_REGISTERED = 2,
1: + MDIOBUS_UNREGISTERED = 3,
1: + MDIOBUS_RELEASED = 4,
1: + } state;
1: + struct device dev;
1: + struct mdio_device *mdio_map[32];
1: + u32 phy_mask;
1: + u32 phy_ignore_ta_mask;
1: + int irq[32];
1: + int reset_delay_us;
1: + struct gpio_desc *reset_gpiod;
1: };
1:
1: struct mdio_driver_common {
1: - struct device_driver driver;
1: - int flags;
1: + struct device_driver driver;
1: + int flags;
1: };
1:
1: struct phy_driver {
1: - struct mdio_driver_common mdiodrv;
1: - u32 phy_id;
1: - char *name;
1: - u32 phy_id_mask;
1: - const long unsigned int * const features;
1: - u32 flags;
1: - const void *driver_data;
1: - int (*soft_reset)(struct phy_device *);
1: - int (*config_init)(struct phy_device *);
1: - int (*probe)(struct phy_device *);
1: - int (*get_features)(struct phy_device *);
1: - int (*suspend)(struct phy_device *);
1: - int (*resume)(struct phy_device *);
1: - int (*config_aneg)(struct phy_device *);
1: - int (*aneg_done)(struct phy_device *);
1: - int (*read_status)(struct phy_device *);
1: - int (*ack_interrupt)(struct phy_device *);
1: - int (*config_intr)(struct phy_device *);
1: - int (*did_interrupt)(struct phy_device *);
1: - int (*handle_interrupt)(struct phy_device *);
1: - void (*remove)(struct phy_device *);
1: - int (*match_phy_device)(struct phy_device *);
1: - int (*ts_info)(struct phy_device *, struct ethtool_ts_info *);
1: - int (*hwtstamp)(struct phy_device *, struct ifreq *);
1: - bool (*rxtstamp)(struct phy_device *, struct sk_buff *, int);
1: - void (*txtstamp)(struct phy_device *, struct sk_buff *, int);
1: - int (*set_wol)(struct phy_device *, struct ethtool_wolinfo *);
1: - void (*get_wol)(struct phy_device *, struct ethtool_wolinfo *);
1: - void (*link_change_notify)(struct phy_device *);
1: - int (*read_mmd)(struct phy_device *, int, u16);
1: - int (*write_mmd)(struct phy_device *, int, u16, u16);
1: - int (*read_page)(struct phy_device *);
1: - int (*write_page)(struct phy_device *, int);
1: - int (*module_info)(struct phy_device *, struct ethtool_modinfo *);
1: - int (*module_eeprom)(struct phy_device *, struct ethtool_eeprom *, u8 *);
1: - int (*get_sset_count)(struct phy_device *);
1: - void (*get_strings)(struct phy_device *, u8 *);
1: - void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *);
1: - int (*get_tunable)(struct phy_device *, struct ethtool_tunable *, void *);
1: - int (*set_tunable)(struct phy_device *, struct ethtool_tunable *, const void *);
1: - int (*set_loopback)(struct phy_device *, bool);
1: + struct mdio_driver_common mdiodrv;
1: + u32 phy_id;
1: + char *name;
1: + u32 phy_id_mask;
1: + const long unsigned int *const features;
1: + u32 flags;
1: + const void *driver_data;
1: + int (*soft_reset)(struct phy_device *);
1: + int (*config_init)(struct phy_device *);
1: + int (*probe)(struct phy_device *);
1: + int (*get_features)(struct phy_device *);
1: + int (*suspend)(struct phy_device *);
1: + int (*resume)(struct phy_device *);
1: + int (*config_aneg)(struct phy_device *);
1: + int (*aneg_done)(struct phy_device *);
1: + int (*read_status)(struct phy_device *);
1: + int (*ack_interrupt)(struct phy_device *);
1: + int (*config_intr)(struct phy_device *);
1: + int (*did_interrupt)(struct phy_device *);
1: + int (*handle_interrupt)(struct phy_device *);
1: + void (*remove)(struct phy_device *);
1: + int (*match_phy_device)(struct phy_device *);
1: + int (*ts_info)(struct phy_device *, struct ethtool_ts_info *);
1: + int (*hwtstamp)(struct phy_device *, struct ifreq *);
1: + bool (*rxtstamp)(struct phy_device *, struct sk_buff *, int);
1: + void (*txtstamp)(struct phy_device *, struct sk_buff *, int);
1: + int (*set_wol)(struct phy_device *, struct ethtool_wolinfo *);
1: + void (*get_wol)(struct phy_device *, struct ethtool_wolinfo *);
1: + void (*link_change_notify)(struct phy_device *);
1: + int (*read_mmd)(struct phy_device *, int, u16);
1: + int (*write_mmd)(struct phy_device *, int, u16, u16);
1: + int (*read_page)(struct phy_device *);
1: + int (*write_page)(struct phy_device *, int);
1: + int (*module_info)(struct phy_device *, struct ethtool_modinfo *);
1: + int (*module_eeprom)(struct phy_device *, struct ethtool_eeprom *, u8 *);
1: + int (*get_sset_count)(struct phy_device *);
1: + void (*get_strings)(struct phy_device *, u8 *);
1: + void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *);
1: + int (*get_tunable)(struct phy_device *, struct ethtool_tunable *, void *);
1: + int (*set_tunable)(struct phy_device *, struct ethtool_tunable *,
1: + const void *);
1: + int (*set_loopback)(struct phy_device *, bool);
1: };
1:
1: struct device_connection {
1: - struct fwnode_handle *fwnode;
1: - const char *endpoint[2];
1: - const char *id;
1: - struct list_head list;
1: + struct fwnode_handle *fwnode;
1: + const char *endpoint[2];
1: + const char *id;
1: + struct list_head list;
1: };
1:
1: -typedef void * (*devcon_match_fn_t)(struct device_connection *, int, void *);
1: +typedef void *(*devcon_match_fn_t)(struct device_connection *, int, void *);
1:
1: struct software_node;
1:
1: struct software_node_ref_args {
1: - const struct software_node *node;
1: - unsigned int nargs;
1: - u64 args[8];
1: + const struct software_node *node;
1: + unsigned int nargs;
1: + u64 args[8];
1: };
1:
1: struct software_node_reference;
1:
1: struct software_node {
1: - const char *name;
1: - const struct software_node *parent;
1: - const struct property_entry *properties;
1: - const struct software_node_reference *references;
1: + const char *name;
1: + const struct software_node *parent;
1: + const struct property_entry *properties;
1: + const struct software_node_reference *references;
1: };
1:
1: struct software_node_reference {
1: - const char *name;
1: - unsigned int nrefs;
1: - const struct software_node_ref_args *refs;
1: + const char *name;
1: + unsigned int nrefs;
1: + const struct software_node_ref_args *refs;
1: };
1:
1: struct swnode {
1: - int id;
1: - struct kobject kobj;
1: - struct fwnode_handle fwnode;
1: - const struct software_node *node;
1: - struct ida child_ids;
1: - struct list_head entry;
1: - struct list_head children;
1: - struct swnode *parent;
1: - unsigned int allocated: 1;
1: + int id;
1: + struct kobject kobj;
1: + struct fwnode_handle fwnode;
1: + const struct software_node *node;
1: + struct ida child_ids;
1: + struct list_head entry;
1: + struct list_head children;
1: + struct swnode *parent;
1: + unsigned int allocated : 1;
1: };
1:
1: struct req {
1: - struct req *next;
1: - struct completion done;
1: - int err;
1: - const char *name;
1: - umode_t mode;
1: - kuid_t uid;
1: - kgid_t gid;
1: - struct device *dev;
1: + struct req *next;
1: + struct completion done;
1: + int err;
1: + const char *name;
1: + umode_t mode;
1: + kuid_t uid;
1: + kgid_t gid;
1: + struct device *dev;
1: };
1:
1: typedef int (*pm_callback_t)(struct device *);
1:
1: struct pm_clk_notifier_block {
1: - struct notifier_block nb;
1: - struct dev_pm_domain *pm_domain;
1: - char *con_ids[0];
1: + struct notifier_block nb;
1: + struct dev_pm_domain *pm_domain;
1: + char *con_ids[0];
1: };
1:
1: enum pce_status {
1: - PCE_STATUS_NONE = 0,
1: - PCE_STATUS_ACQUIRED = 1,
1: - PCE_STATUS_ENABLED = 2,
1: - PCE_STATUS_ERROR = 3,
1: + PCE_STATUS_NONE = 0,
1: + PCE_STATUS_ACQUIRED = 1,
1: + PCE_STATUS_ENABLED = 2,
1: + PCE_STATUS_ERROR = 3,
1: };
1:
1: struct pm_clock_entry {
1: - struct list_head node;
1: - char *con_id;
1: - struct clk *clk;
1: - enum pce_status status;
1: + struct list_head node;
1: + char *con_id;
1: + struct clk *clk;
1: + enum pce_status status;
1: };
1:
1: enum fw_opt {
1: - FW_OPT_UEVENT = 1,
1: - FW_OPT_NOWAIT = 2,
1: - FW_OPT_USERHELPER = 4,
1: - FW_OPT_NO_WARN = 8,
1: - FW_OPT_NOCACHE = 16,
1: - FW_OPT_NOFALLBACK = 32,
1: + FW_OPT_UEVENT = 1,
1: + FW_OPT_NOWAIT = 2,
1: + FW_OPT_USERHELPER = 4,
1: + FW_OPT_NO_WARN = 8,
1: + FW_OPT_NOCACHE = 16,
1: + FW_OPT_NOFALLBACK = 32,
1: };
1:
1: enum fw_status {
1: - FW_STATUS_UNKNOWN = 0,
1: - FW_STATUS_LOADING = 1,
1: - FW_STATUS_DONE = 2,
1: - FW_STATUS_ABORTED = 3,
1: + FW_STATUS_UNKNOWN = 0,
1: + FW_STATUS_LOADING = 1,
1: + FW_STATUS_DONE = 2,
1: + FW_STATUS_ABORTED = 3,
1: };
1:
1: struct fw_state {
1: - struct completion completion;
1: - enum fw_status status;
1: + struct completion completion;
1: + enum fw_status status;
1: };
1:
1: struct firmware_cache;
1:
1: struct fw_priv {
1: - struct kref ref;
1: - struct list_head list;
1: - struct firmware_cache *fwc;
1: - struct fw_state fw_st;
1: - void *data;
1: - size_t size;
1: - size_t allocated_size;
1: - const char *fw_name;
1: + struct kref ref;
1: + struct list_head list;
1: + struct firmware_cache *fwc;
1: + struct fw_state fw_st;
1: + void *data;
1: + size_t size;
1: + size_t allocated_size;
1: + const char *fw_name;
1: };
1:
1: struct firmware_cache {
1: - spinlock_t lock;
1: - struct list_head head;
1: - int state;
1: - spinlock_t name_lock;
1: - struct list_head fw_names;
1: - struct delayed_work work;
1: - struct notifier_block pm_notify;
1: + spinlock_t lock;
1: + struct list_head head;
1: + int state;
1: + spinlock_t name_lock;
1: + struct list_head fw_names;
1: + struct delayed_work work;
1: + struct notifier_block pm_notify;
1: };
1:
1: struct fw_cache_entry {
1: - struct list_head list;
1: - const char *name;
1: + struct list_head list;
1: + const char *name;
1: };
1:
1: struct fw_name_devm {
1: - long unsigned int magic;
1: - const char *name;
1: + long unsigned int magic;
1: + const char *name;
1: };
1:
1: struct firmware_work {
1: - struct work_struct work;
1: - struct module *module;
1: - const char *name;
1: - struct device *device;
1: - void *context;
1: - void (*cont)(const struct firmware *, void *);
1: - enum fw_opt opt_flags;
1: + struct work_struct work;
1: + struct module *module;
1: + const char *name;
1: + struct device *device;
1: + void *context;
1: + void (*cont)(const struct firmware *, void *);
1: + enum fw_opt opt_flags;
1: };
1:
1: struct node_access_nodes {
1: - struct device dev;
1: - struct list_head list_node;
1: - unsigned int access;
1: + struct device dev;
1: + struct list_head list_node;
1: + unsigned int access;
1: };
1:
1: struct node_attr {
1: - struct device_attribute attr;
1: - enum node_states state;
1: + struct device_attribute attr;
1: + enum node_states state;
1: };
1:
1: enum regcache_type {
1: - REGCACHE_NONE = 0,
1: - REGCACHE_RBTREE = 1,
1: - REGCACHE_COMPRESSED = 2,
1: - REGCACHE_FLAT = 3,
1: + REGCACHE_NONE = 0,
1: + REGCACHE_RBTREE = 1,
1: + REGCACHE_COMPRESSED = 2,
1: + REGCACHE_FLAT = 3,
1: };
1:
1: struct reg_default {
1: - unsigned int reg;
1: - unsigned int def;
1: + unsigned int reg;
1: + unsigned int def;
1: };
1:
1: struct reg_sequence {
1: - unsigned int reg;
1: - unsigned int def;
1: - unsigned int delay_us;
1: + unsigned int reg;
1: + unsigned int def;
1: + unsigned int delay_us;
1: };
1:
1: enum regmap_endian {
1: - REGMAP_ENDIAN_DEFAULT = 0,
1: - REGMAP_ENDIAN_BIG = 1,
1: - REGMAP_ENDIAN_LITTLE = 2,
1: - REGMAP_ENDIAN_NATIVE = 3,
1: + REGMAP_ENDIAN_DEFAULT = 0,
1: + REGMAP_ENDIAN_BIG = 1,
1: + REGMAP_ENDIAN_LITTLE = 2,
1: + REGMAP_ENDIAN_NATIVE = 3,
1: };
1:
1: struct regmap_range {
1: - unsigned int range_min;
1: - unsigned int range_max;
1: + unsigned int range_min;
1: + unsigned int range_max;
1: };
1:
1: struct regmap_access_table {
1: - const struct regmap_range *yes_ranges;
1: - unsigned int n_yes_ranges;
1: - const struct regmap_range *no_ranges;
1: - unsigned int n_no_ranges;
1: + const struct regmap_range *yes_ranges;
1: + unsigned int n_yes_ranges;
1: + const struct regmap_range *no_ranges;
1: + unsigned int n_no_ranges;
1: };
1:
1: typedef void (*regmap_lock)(void *);
1: @@ -78090,76 +78708,78 @@ typedef void (*regmap_unlock)(void *);
1: struct regmap_range_cfg;
1:
1: struct regmap_config {
1: - const char *name;
1: - int reg_bits;
1: - int reg_stride;
1: - int pad_bits;
1: - int val_bits;
1: - bool (*writeable_reg)(struct device *, unsigned int);
1: - bool (*readable_reg)(struct device *, unsigned int);
1: - bool (*volatile_reg)(struct device *, unsigned int);
1: - bool (*precious_reg)(struct device *, unsigned int);
1: - bool (*writeable_noinc_reg)(struct device *, unsigned int);
1: - bool (*readable_noinc_reg)(struct device *, unsigned int);
1: - bool disable_locking;
1: - regmap_lock lock;
1: - regmap_unlock unlock;
1: - void *lock_arg;
1: - int (*reg_read)(void *, unsigned int, unsigned int *);
1: - int (*reg_write)(void *, unsigned int, unsigned int);
1: - bool fast_io;
1: - unsigned int max_register;
1: - const struct regmap_access_table *wr_table;
1: - const struct regmap_access_table *rd_table;
1: - const struct regmap_access_table *volatile_table;
1: - const struct regmap_access_table *precious_table;
1: - const struct regmap_access_table *wr_noinc_table;
1: - const struct regmap_access_table *rd_noinc_table;
1: - const struct reg_default *reg_defaults;
1: - unsigned int num_reg_defaults;
1: - enum regcache_type cache_type;
1: - const void *reg_defaults_raw;
1: - unsigned int num_reg_defaults_raw;
1: - long unsigned int read_flag_mask;
1: - long unsigned int write_flag_mask;
1: - bool zero_flag_mask;
1: - bool use_single_read;
1: - bool use_single_write;
1: - bool can_multi_write;
1: - enum regmap_endian reg_format_endian;
1: - enum regmap_endian val_format_endian;
1: - const struct regmap_range_cfg *ranges;
1: - unsigned int num_ranges;
1: - bool use_hwlock;
1: - unsigned int hwlock_id;
1: - unsigned int hwlock_mode;
1: + const char *name;
1: + int reg_bits;
1: + int reg_stride;
1: + int pad_bits;
1: + int val_bits;
1: + bool (*writeable_reg)(struct device *, unsigned int);
1: + bool (*readable_reg)(struct device *, unsigned int);
1: + bool (*volatile_reg)(struct device *, unsigned int);
1: + bool (*precious_reg)(struct device *, unsigned int);
1: + bool (*writeable_noinc_reg)(struct device *, unsigned int);
1: + bool (*readable_noinc_reg)(struct device *, unsigned int);
1: + bool disable_locking;
1: + regmap_lock lock;
1: + regmap_unlock unlock;
1: + void *lock_arg;
1: + int (*reg_read)(void *, unsigned int, unsigned int *);
1: + int (*reg_write)(void *, unsigned int, unsigned int);
1: + bool fast_io;
1: + unsigned int max_register;
1: + const struct regmap_access_table *wr_table;
1: + const struct regmap_access_table *rd_table;
1: + const struct regmap_access_table *volatile_table;
1: + const struct regmap_access_table *precious_table;
1: + const struct regmap_access_table *wr_noinc_table;
1: + const struct regmap_access_table *rd_noinc_table;
1: + const struct reg_default *reg_defaults;
1: + unsigned int num_reg_defaults;
1: + enum regcache_type cache_type;
1: + const void *reg_defaults_raw;
1: + unsigned int num_reg_defaults_raw;
1: + long unsigned int read_flag_mask;
1: + long unsigned int write_flag_mask;
1: + bool zero_flag_mask;
1: + bool use_single_read;
1: + bool use_single_write;
1: + bool can_multi_write;
1: + enum regmap_endian reg_format_endian;
1: + enum regmap_endian val_format_endian;
1: + const struct regmap_range_cfg *ranges;
1: + unsigned int num_ranges;
1: + bool use_hwlock;
1: + unsigned int hwlock_id;
1: + unsigned int hwlock_mode;
1: };
1:
1: struct regmap_range_cfg {
1: - const char *name;
1: - unsigned int range_min;
1: - unsigned int range_max;
1: - unsigned int selector_reg;
1: - unsigned int selector_mask;
1: - int selector_shift;
1: - unsigned int window_start;
1: - unsigned int window_len;
1: + const char *name;
1: + unsigned int range_min;
1: + unsigned int range_max;
1: + unsigned int selector_reg;
1: + unsigned int selector_mask;
1: + int selector_shift;
1: + unsigned int window_start;
1: + unsigned int window_len;
1: };
1:
1: typedef int (*regmap_hw_write)(void *, const void *, size_t);
1:
1: -typedef int (*regmap_hw_gather_write)(void *, const void *, size_t, const void *, size_t);
1: +typedef int (*regmap_hw_gather_write)(void *, const void *, size_t,
1: + const void *, size_t);
1:
1: struct regmap_async;
1:
1: -typedef int (*regmap_hw_async_write)(void *, const void *, size_t, const void *, size_t, struct regmap_async *);
1: +typedef int (*regmap_hw_async_write)(void *, const void *, size_t, const void *,
1: + size_t, struct regmap_async *);
1:
1: struct regmap;
1:
1: struct regmap_async {
1: - struct list_head list;
1: - struct regmap *map;
1: - void *work_buf;
1: + struct list_head list;
1: + struct regmap *map;
1: + void *work_buf;
1: };
1:
1: typedef int (*regmap_hw_read)(void *, const void *, size_t, void *, size_t);
1: @@ -78168,48 +78788,49 @@ typedef int (*regmap_hw_reg_read)(void *, unsigned int, unsigned int *);
1:
1: typedef int (*regmap_hw_reg_write)(void *, unsigned int, unsigned int);
1:
1: -typedef int (*regmap_hw_reg_update_bits)(void *, unsigned int, unsigned int, unsigned int);
1: +typedef int (*regmap_hw_reg_update_bits)(void *, unsigned int, unsigned int,
1: + unsigned int);
1:
1: -typedef struct regmap_async * (*regmap_hw_async_alloc)();
1: +typedef struct regmap_async *(*regmap_hw_async_alloc)();
1:
1: typedef void (*regmap_hw_free_context)(void *);
1:
1: struct regmap_bus {
1: - bool fast_io;
1: - regmap_hw_write write;
1: - regmap_hw_gather_write gather_write;
1: - regmap_hw_async_write async_write;
1: - regmap_hw_reg_write reg_write;
1: - regmap_hw_reg_update_bits reg_update_bits;
1: - regmap_hw_read read;
1: - regmap_hw_reg_read reg_read;
1: - regmap_hw_free_context free_context;
1: - regmap_hw_async_alloc async_alloc;
1: - u8 read_flag_mask;
1: - enum regmap_endian reg_format_endian_default;
1: - enum regmap_endian val_format_endian_default;
1: - size_t max_raw_read;
1: - size_t max_raw_write;
1: + bool fast_io;
1: + regmap_hw_write write;
1: + regmap_hw_gather_write gather_write;
1: + regmap_hw_async_write async_write;
1: + regmap_hw_reg_write reg_write;
1: + regmap_hw_reg_update_bits reg_update_bits;
1: + regmap_hw_read read;
1: + regmap_hw_reg_read reg_read;
1: + regmap_hw_free_context free_context;
1: + regmap_hw_async_alloc async_alloc;
1: + u8 read_flag_mask;
1: + enum regmap_endian reg_format_endian_default;
1: + enum regmap_endian val_format_endian_default;
1: + size_t max_raw_read;
1: + size_t max_raw_write;
1: };
1:
1: struct reg_field {
1: - unsigned int reg;
1: - unsigned int lsb;
1: - unsigned int msb;
1: - unsigned int id_size;
1: - unsigned int id_offset;
1: + unsigned int reg;
1: + unsigned int lsb;
1: + unsigned int msb;
1: + unsigned int id_size;
1: + unsigned int id_offset;
1: };
1:
1: struct regmap_format {
1: - size_t buf_size;
1: - size_t reg_bytes;
1: - size_t pad_bytes;
1: - size_t val_bytes;
1: - void (*format_write)(struct regmap *, unsigned int, unsigned int);
1: - void (*format_reg)(void *, unsigned int, unsigned int);
1: - void (*format_val)(void *, unsigned int, unsigned int);
1: - unsigned int (*parse_val)(const void *);
1: - void (*parse_inplace)(void *);
1: + size_t buf_size;
1: + size_t reg_bytes;
1: + size_t pad_bytes;
1: + size_t val_bytes;
1: + void (*format_write)(struct regmap *, unsigned int, unsigned int);
1: + void (*format_reg)(void *, unsigned int, unsigned int);
1: + void (*format_val)(void *, unsigned int, unsigned int);
1: + unsigned int (*parse_val)(const void *);
1: + void (*parse_inplace)(void *);
1: };
1:
1: struct hwspinlock;
1: @@ -78217,440 +78838,442 @@ struct hwspinlock;
1: struct regcache_ops;
1:
1: struct regmap {
1: - union {
1: - struct mutex mutex;
1: - struct {
1: - spinlock_t spinlock;
1: - long unsigned int spinlock_flags;
1: - };
1: - };
1: - regmap_lock lock;
1: - regmap_unlock unlock;
1: - void *lock_arg;
1: - gfp_t alloc_flags;
1: - struct device *dev;
1: - void *work_buf;
1: - struct regmap_format format;
1: - const struct regmap_bus *bus;
1: - void *bus_context;
1: - const char *name;
1: - bool async;
1: - spinlock_t async_lock;
1: - wait_queue_head_t async_waitq;
1: - struct list_head async_list;
1: - struct list_head async_free;
1: - int async_ret;
1: - bool debugfs_disable;
1: - struct dentry *debugfs;
1: - const char *debugfs_name;
1: - unsigned int debugfs_reg_len;
1: - unsigned int debugfs_val_len;
1: - unsigned int debugfs_tot_len;
1: - struct list_head debugfs_off_cache;
1: - struct mutex cache_lock;
1: - unsigned int max_register;
1: - bool (*writeable_reg)(struct device *, unsigned int);
1: - bool (*readable_reg)(struct device *, unsigned int);
1: - bool (*volatile_reg)(struct device *, unsigned int);
1: - bool (*precious_reg)(struct device *, unsigned int);
1: - bool (*writeable_noinc_reg)(struct device *, unsigned int);
1: - bool (*readable_noinc_reg)(struct device *, unsigned int);
1: - const struct regmap_access_table *wr_table;
1: - const struct regmap_access_table *rd_table;
1: - const struct regmap_access_table *volatile_table;
1: - const struct regmap_access_table *precious_table;
1: - const struct regmap_access_table *wr_noinc_table;
1: - const struct regmap_access_table *rd_noinc_table;
1: - int (*reg_read)(void *, unsigned int, unsigned int *);
1: - int (*reg_write)(void *, unsigned int, unsigned int);
1: - int (*reg_update_bits)(void *, unsigned int, unsigned int, unsigned int);
1: - bool defer_caching;
1: - long unsigned int read_flag_mask;
1: - long unsigned int write_flag_mask;
1: - int reg_shift;
1: - int reg_stride;
1: - int reg_stride_order;
1: - const struct regcache_ops *cache_ops;
1: - enum regcache_type cache_type;
1: - unsigned int cache_size_raw;
1: - unsigned int cache_word_size;
1: - unsigned int num_reg_defaults;
1: - unsigned int num_reg_defaults_raw;
1: - bool cache_only;
1: - bool cache_bypass;
1: - bool cache_free;
1: - struct reg_default *reg_defaults;
1: - const void *reg_defaults_raw;
1: - void *cache;
1: - bool cache_dirty;
1: - bool no_sync_defaults;
1: - struct reg_sequence *patch;
1: - int patch_regs;
1: - bool use_single_read;
1: - bool use_single_write;
1: - bool can_multi_write;
1: - size_t max_raw_read;
1: - size_t max_raw_write;
1: - struct rb_root range_tree;
1: - void *selector_work_buf;
1: - struct hwspinlock *hwlock;
1: + union {
1: + struct mutex mutex;
1: + struct {
1: + spinlock_t spinlock;
1: + long unsigned int spinlock_flags;
1: + };
1: + };
1: + regmap_lock lock;
1: + regmap_unlock unlock;
1: + void *lock_arg;
1: + gfp_t alloc_flags;
1: + struct device *dev;
1: + void *work_buf;
1: + struct regmap_format format;
1: + const struct regmap_bus *bus;
1: + void *bus_context;
1: + const char *name;
1: + bool async;
1: + spinlock_t async_lock;
1: + wait_queue_head_t async_waitq;
1: + struct list_head async_list;
1: + struct list_head async_free;
1: + int async_ret;
1: + bool debugfs_disable;
1: + struct dentry *debugfs;
1: + const char *debugfs_name;
1: + unsigned int debugfs_reg_len;
1: + unsigned int debugfs_val_len;
1: + unsigned int debugfs_tot_len;
1: + struct list_head debugfs_off_cache;
1: + struct mutex cache_lock;
1: + unsigned int max_register;
1: + bool (*writeable_reg)(struct device *, unsigned int);
1: + bool (*readable_reg)(struct device *, unsigned int);
1: + bool (*volatile_reg)(struct device *, unsigned int);
1: + bool (*precious_reg)(struct device *, unsigned int);
1: + bool (*writeable_noinc_reg)(struct device *, unsigned int);
1: + bool (*readable_noinc_reg)(struct device *, unsigned int);
1: + const struct regmap_access_table *wr_table;
1: + const struct regmap_access_table *rd_table;
1: + const struct regmap_access_table *volatile_table;
1: + const struct regmap_access_table *precious_table;
1: + const struct regmap_access_table *wr_noinc_table;
1: + const struct regmap_access_table *rd_noinc_table;
1: + int (*reg_read)(void *, unsigned int, unsigned int *);
1: + int (*reg_write)(void *, unsigned int, unsigned int);
1: + int (*reg_update_bits)(void *, unsigned int, unsigned int, unsigned int);
1: + bool defer_caching;
1: + long unsigned int read_flag_mask;
1: + long unsigned int write_flag_mask;
1: + int reg_shift;
1: + int reg_stride;
1: + int reg_stride_order;
1: + const struct regcache_ops *cache_ops;
1: + enum regcache_type cache_type;
1: + unsigned int cache_size_raw;
1: + unsigned int cache_word_size;
1: + unsigned int num_reg_defaults;
1: + unsigned int num_reg_defaults_raw;
1: + bool cache_only;
1: + bool cache_bypass;
1: + bool cache_free;
1: + struct reg_default *reg_defaults;
1: + const void *reg_defaults_raw;
1: + void *cache;
1: + bool cache_dirty;
1: + bool no_sync_defaults;
1: + struct reg_sequence *patch;
1: + int patch_regs;
1: + bool use_single_read;
1: + bool use_single_write;
1: + bool can_multi_write;
1: + size_t max_raw_read;
1: + size_t max_raw_write;
1: + struct rb_root range_tree;
1: + void *selector_work_buf;
1: + struct hwspinlock *hwlock;
1: };
1:
1: struct regcache_ops {
1: - const char *name;
1: - enum regcache_type type;
1: - int (*init)(struct regmap *);
1: - int (*exit)(struct regmap *);
1: - void (*debugfs_init)(struct regmap *);
1: - int (*read)(struct regmap *, unsigned int, unsigned int *);
1: - int (*write)(struct regmap *, unsigned int, unsigned int);
1: - int (*sync)(struct regmap *, unsigned int, unsigned int);
1: - int (*drop)(struct regmap *, unsigned int, unsigned int);
1: + const char *name;
1: + enum regcache_type type;
1: + int (*init)(struct regmap *);
1: + int (*exit)(struct regmap *);
1: + void (*debugfs_init)(struct regmap *);
1: + int (*read)(struct regmap *, unsigned int, unsigned int *);
1: + int (*write)(struct regmap *, unsigned int, unsigned int);
1: + int (*sync)(struct regmap *, unsigned int, unsigned int);
1: + int (*drop)(struct regmap *, unsigned int, unsigned int);
1: };
1:
1: struct regmap_range_node {
1: - struct rb_node node;
1: - const char *name;
1: - struct regmap *map;
1: - unsigned int range_min;
1: - unsigned int range_max;
1: - unsigned int selector_reg;
1: - unsigned int selector_mask;
1: - int selector_shift;
1: - unsigned int window_start;
1: - unsigned int window_len;
1: + struct rb_node node;
1: + const char *name;
1: + struct regmap *map;
1: + unsigned int range_min;
1: + unsigned int range_max;
1: + unsigned int selector_reg;
1: + unsigned int selector_mask;
1: + int selector_shift;
1: + unsigned int window_start;
1: + unsigned int window_len;
1: };
1:
1: struct regmap_field {
1: - struct regmap *regmap;
1: - unsigned int mask;
1: - unsigned int shift;
1: - unsigned int reg;
1: - unsigned int id_size;
1: - unsigned int id_offset;
1: + struct regmap *regmap;
1: + unsigned int mask;
1: + unsigned int shift;
1: + unsigned int reg;
1: + unsigned int id_size;
1: + unsigned int id_offset;
1: };
1:
1: struct trace_event_raw_regmap_reg {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - unsigned int reg;
1: - unsigned int val;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int reg;
1: + unsigned int val;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_regmap_block {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - unsigned int reg;
1: - int count;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int reg;
1: + int count;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_regcache_sync {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - u32 __data_loc_status;
1: - u32 __data_loc_type;
1: - int type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u32 __data_loc_status;
1: + u32 __data_loc_type;
1: + int type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_regmap_bool {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - int flag;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + int flag;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_regmap_async {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_regcache_drop_region {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - unsigned int from;
1: - unsigned int to;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int from;
1: + unsigned int to;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_regmap_reg {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_regmap_block {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_regcache_sync {
1: - u32 name;
1: - u32 status;
1: - u32 type;
1: + u32 name;
1: + u32 status;
1: + u32 type;
1: };
1:
1: struct trace_event_data_offsets_regmap_bool {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_regmap_async {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_regcache_drop_region {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct regcache_rbtree_node {
1: - void *block;
1: - long int *cache_present;
1: - unsigned int base_reg;
1: - unsigned int blklen;
1: - struct rb_node node;
1: + void *block;
1: + long int *cache_present;
1: + unsigned int base_reg;
1: + unsigned int blklen;
1: + struct rb_node node;
1: };
1:
1: struct regcache_rbtree_ctx {
1: - struct rb_root root;
1: - struct regcache_rbtree_node *cached_rbnode;
1: + struct rb_root root;
1: + struct regcache_rbtree_node *cached_rbnode;
1: };
1:
1: struct regmap_debugfs_off_cache {
1: - struct list_head list;
1: - off_t min;
1: - off_t max;
1: - unsigned int base_reg;
1: - unsigned int max_reg;
1: + struct list_head list;
1: + off_t min;
1: + off_t max;
1: + unsigned int base_reg;
1: + unsigned int max_reg;
1: };
1:
1: struct regmap_debugfs_node {
1: - struct regmap *map;
1: - const char *name;
1: - struct list_head link;
1: + struct regmap *map;
1: + const char *name;
1: + struct list_head link;
1: };
1:
1: typedef void (*irq_write_msi_msg_t)(struct msi_desc *, struct msi_msg *);
1:
1: struct platform_msi_priv_data {
1: - struct device *dev;
1: - void *host_data;
1: - msi_alloc_info_t arg;
1: - irq_write_msi_msg_t write_msg;
1: - int devid;
1: + struct device *dev;
1: + void *host_data;
1: + msi_alloc_info_t arg;
1: + irq_write_msi_msg_t write_msg;
1: + int devid;
1: };
1:
1: typedef long unsigned int __kernel_old_dev_t;
1:
1: enum {
1: - LO_FLAGS_READ_ONLY = 1,
1: - LO_FLAGS_AUTOCLEAR = 4,
1: - LO_FLAGS_PARTSCAN = 8,
1: - LO_FLAGS_DIRECT_IO = 16,
1: + LO_FLAGS_READ_ONLY = 1,
1: + LO_FLAGS_AUTOCLEAR = 4,
1: + LO_FLAGS_PARTSCAN = 8,
1: + LO_FLAGS_DIRECT_IO = 16,
1: };
1:
1: struct loop_info {
1: - int lo_number;
1: - __kernel_old_dev_t lo_device;
1: - long unsigned int lo_inode;
1: - __kernel_old_dev_t lo_rdevice;
1: - int lo_offset;
1: - int lo_encrypt_type;
1: - int lo_encrypt_key_size;
1: - int lo_flags;
1: - char lo_name[64];
1: - unsigned char lo_encrypt_key[32];
1: - long unsigned int lo_init[2];
1: - char reserved[4];
1: + int lo_number;
1: + __kernel_old_dev_t lo_device;
1: + long unsigned int lo_inode;
1: + __kernel_old_dev_t lo_rdevice;
1: + int lo_offset;
1: + int lo_encrypt_type;
1: + int lo_encrypt_key_size;
1: + int lo_flags;
1: + char lo_name[64];
1: + unsigned char lo_encrypt_key[32];
1: + long unsigned int lo_init[2];
1: + char reserved[4];
1: };
1:
1: struct loop_info64 {
1: - __u64 lo_device;
1: - __u64 lo_inode;
1: - __u64 lo_rdevice;
1: - __u64 lo_offset;
1: - __u64 lo_sizelimit;
1: - __u32 lo_number;
1: - __u32 lo_encrypt_type;
1: - __u32 lo_encrypt_key_size;
1: - __u32 lo_flags;
1: - __u8 lo_file_name[64];
1: - __u8 lo_crypt_name[64];
1: - __u8 lo_encrypt_key[32];
1: - __u64 lo_init[2];
1: + __u64 lo_device;
1: + __u64 lo_inode;
1: + __u64 lo_rdevice;
1: + __u64 lo_offset;
1: + __u64 lo_sizelimit;
1: + __u32 lo_number;
1: + __u32 lo_encrypt_type;
1: + __u32 lo_encrypt_key_size;
1: + __u32 lo_flags;
1: + __u8 lo_file_name[64];
1: + __u8 lo_crypt_name[64];
1: + __u8 lo_encrypt_key[32];
1: + __u64 lo_init[2];
1: };
1:
1: enum {
1: - Lo_unbound = 0,
1: - Lo_bound = 1,
1: - Lo_rundown = 2,
1: + Lo_unbound = 0,
1: + Lo_bound = 1,
1: + Lo_rundown = 2,
1: };
1:
1: struct loop_func_table;
1:
1: struct loop_device {
1: - int lo_number;
1: - atomic_t lo_refcnt;
1: - loff_t lo_offset;
1: - loff_t lo_sizelimit;
1: - int lo_flags;
1: - int (*transfer)(struct loop_device *, int, struct page *, unsigned int, struct page *, unsigned int, int, sector_t);
1: - char lo_file_name[64];
1: - char lo_crypt_name[64];
1: - char lo_encrypt_key[32];
1: - int lo_encrypt_key_size;
1: - struct loop_func_table *lo_encryption;
1: - __u32 lo_init[2];
1: - kuid_t lo_key_owner;
1: - int (*ioctl)(struct loop_device *, int, long unsigned int);
1: - struct file *lo_backing_file;
1: - struct block_device *lo_device;
1: - void *key_data;
1: - gfp_t old_gfp_mask;
1: - spinlock_t lo_lock;
1: - int lo_state;
1: - struct kthread_worker worker;
1: - struct task_struct *worker_task;
1: - bool use_dio;
1: - bool sysfs_inited;
1: - struct request_queue *lo_queue;
1: - struct blk_mq_tag_set tag_set;
1: - struct gendisk *lo_disk;
1: + int lo_number;
1: + atomic_t lo_refcnt;
1: + loff_t lo_offset;
1: + loff_t lo_sizelimit;
1: + int lo_flags;
1: + int (*transfer)(struct loop_device *, int, struct page *, unsigned int,
1: + struct page *, unsigned int, int, sector_t);
1: + char lo_file_name[64];
1: + char lo_crypt_name[64];
1: + char lo_encrypt_key[32];
1: + int lo_encrypt_key_size;
1: + struct loop_func_table *lo_encryption;
1: + __u32 lo_init[2];
1: + kuid_t lo_key_owner;
1: + int (*ioctl)(struct loop_device *, int, long unsigned int);
1: + struct file *lo_backing_file;
1: + struct block_device *lo_device;
1: + void *key_data;
1: + gfp_t old_gfp_mask;
1: + spinlock_t lo_lock;
1: + int lo_state;
1: + struct kthread_worker worker;
1: + struct task_struct *worker_task;
1: + bool use_dio;
1: + bool sysfs_inited;
1: + struct request_queue *lo_queue;
1: + struct blk_mq_tag_set tag_set;
1: + struct gendisk *lo_disk;
1: };
1:
1: struct loop_func_table {
1: - int number;
1: - int (*transfer)(struct loop_device *, int, struct page *, unsigned int, struct page *, unsigned int, int, sector_t);
1: - int (*init)(struct loop_device *, const struct loop_info64 *);
1: - int (*release)(struct loop_device *);
1: - int (*ioctl)(struct loop_device *, int, long unsigned int);
1: - struct module *owner;
1: + int number;
1: + int (*transfer)(struct loop_device *, int, struct page *, unsigned int,
1: + struct page *, unsigned int, int, sector_t);
1: + int (*init)(struct loop_device *, const struct loop_info64 *);
1: + int (*release)(struct loop_device *);
1: + int (*ioctl)(struct loop_device *, int, long unsigned int);
1: + struct module *owner;
1: };
1:
1: struct loop_cmd {
1: - struct kthread_work work;
1: - bool use_aio;
1: - atomic_t ref;
1: - long int ret;
1: - struct kiocb iocb;
1: - struct bio_vec *bvec;
1: - struct cgroup_subsys_state *css;
1: + struct kthread_work work;
1: + bool use_aio;
1: + atomic_t ref;
1: + long int ret;
1: + struct kiocb iocb;
1: + struct bio_vec *bvec;
1: + struct cgroup_subsys_state *css;
1: };
1:
1: struct compat_loop_info {
1: - compat_int_t lo_number;
1: - compat_dev_t lo_device;
1: - compat_ulong_t lo_inode;
1: - compat_dev_t lo_rdevice;
1: - compat_int_t lo_offset;
1: - compat_int_t lo_encrypt_type;
1: - compat_int_t lo_encrypt_key_size;
1: - compat_int_t lo_flags;
1: - char lo_name[64];
1: - unsigned char lo_encrypt_key[32];
1: - compat_ulong_t lo_init[2];
1: - char reserved[4];
1: + compat_int_t lo_number;
1: + compat_dev_t lo_device;
1: + compat_ulong_t lo_inode;
1: + compat_dev_t lo_rdevice;
1: + compat_int_t lo_offset;
1: + compat_int_t lo_encrypt_type;
1: + compat_int_t lo_encrypt_key_size;
1: + compat_int_t lo_flags;
1: + char lo_name[64];
1: + unsigned char lo_encrypt_key[32];
1: + compat_ulong_t lo_init[2];
1: + char reserved[4];
1: };
1:
1: struct dma_buf_sync {
1: - __u64 flags;
1: + __u64 flags;
1: };
1:
1: struct dma_buf_list {
1: - struct list_head head;
1: - struct mutex lock;
1: + struct list_head head;
1: + struct mutex lock;
1: };
1:
1: struct trace_event_raw_dma_fence {
1: - struct trace_entry ent;
1: - u32 __data_loc_driver;
1: - u32 __data_loc_timeline;
1: - unsigned int context;
1: - unsigned int seqno;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_driver;
1: + u32 __data_loc_timeline;
1: + unsigned int context;
1: + unsigned int seqno;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_dma_fence {
1: - u32 driver;
1: - u32 timeline;
1: + u32 driver;
1: + u32 timeline;
1: };
1:
1: struct default_wait_cb {
1: - struct dma_fence_cb base;
1: - struct task_struct *task;
1: + struct dma_fence_cb base;
1: + struct task_struct *task;
1: };
1:
1: struct dma_fence_array_cb {
1: - struct dma_fence_cb cb;
1: - struct dma_fence_array *array;
1: + struct dma_fence_cb cb;
1: + struct dma_fence_array *array;
1: };
1:
1: enum seqno_fence_condition {
1: - SEQNO_FENCE_WAIT_GEQUAL = 0,
1: - SEQNO_FENCE_WAIT_NONZERO = 1,
1: + SEQNO_FENCE_WAIT_GEQUAL = 0,
1: + SEQNO_FENCE_WAIT_NONZERO = 1,
1: };
1:
1: struct seqno_fence {
1: - struct dma_fence base;
1: - const struct dma_fence_ops *ops;
1: - struct dma_buf *sync_buf;
1: - uint32_t seqno_ofs;
1: - enum seqno_fence_condition condition;
1: + struct dma_fence base;
1: + const struct dma_fence_ops *ops;
1: + struct dma_buf *sync_buf;
1: + uint32_t seqno_ofs;
1: + enum seqno_fence_condition condition;
1: };
1:
1: struct sync_merge_data {
1: - char name[32];
1: - __s32 fd2;
1: - __s32 fence;
1: - __u32 flags;
1: - __u32 pad;
1: + char name[32];
1: + __s32 fd2;
1: + __s32 fence;
1: + __u32 flags;
1: + __u32 pad;
1: };
1:
1: struct sync_fence_info {
1: - char obj_name[32];
1: - char driver_name[32];
1: - __s32 status;
1: - __u32 flags;
1: - __u64 timestamp_ns;
1: + char obj_name[32];
1: + char driver_name[32];
1: + __s32 status;
1: + __u32 flags;
1: + __u64 timestamp_ns;
1: };
1:
1: struct sync_file_info {
1: - char name[32];
1: - __s32 status;
1: - __u32 flags;
1: - __u32 num_fences;
1: - __u32 pad;
1: - __u64 sync_fence_info;
1: + char name[32];
1: + __s32 status;
1: + __u32 flags;
1: + __u32 num_fences;
1: + __u32 pad;
1: + __u64 sync_fence_info;
1: };
1:
1: struct scsi_sense_hdr {
1: - u8 response_code;
1: - u8 sense_key;
1: - u8 asc;
1: - u8 ascq;
1: - u8 byte4;
1: - u8 byte5;
1: - u8 byte6;
1: - u8 additional_length;
1: + u8 response_code;
1: + u8 sense_key;
1: + u8 asc;
1: + u8 ascq;
1: + u8 byte4;
1: + u8 byte5;
1: + u8 byte6;
1: + u8 additional_length;
1: };
1:
1: typedef __u64 blist_flags_t;
1:
1: enum scsi_device_state {
1: - SDEV_CREATED = 1,
1: - SDEV_RUNNING = 2,
1: - SDEV_CANCEL = 3,
1: - SDEV_DEL = 4,
1: - SDEV_QUIESCE = 5,
1: - SDEV_OFFLINE = 6,
1: - SDEV_TRANSPORT_OFFLINE = 7,
1: - SDEV_BLOCK = 8,
1: - SDEV_CREATED_BLOCK = 9,
1: + SDEV_CREATED = 1,
1: + SDEV_RUNNING = 2,
1: + SDEV_CANCEL = 3,
1: + SDEV_DEL = 4,
1: + SDEV_QUIESCE = 5,
1: + SDEV_OFFLINE = 6,
1: + SDEV_TRANSPORT_OFFLINE = 7,
1: + SDEV_BLOCK = 8,
1: + SDEV_CREATED_BLOCK = 9,
1: };
1:
1: struct scsi_vpd {
1: - struct callback_head rcu;
1: - int len;
1: - unsigned char data[0];
1: + struct callback_head rcu;
1: + int len;
1: + unsigned char data[0];
1: };
1:
1: struct Scsi_Host;
1: @@ -78660,121 +79283,121 @@ struct scsi_target;
1: struct scsi_device_handler;
1:
1: struct scsi_device {
1: - struct Scsi_Host *host;
1: - struct request_queue *request_queue;
1: - struct list_head siblings;
1: - struct list_head same_target_siblings;
1: - atomic_t device_busy;
1: - atomic_t device_blocked;
1: - spinlock_t list_lock;
1: - struct list_head cmd_list;
1: - struct list_head starved_entry;
1: - short unsigned int queue_depth;
1: - short unsigned int max_queue_depth;
1: - short unsigned int last_queue_full_depth;
1: - short unsigned int last_queue_full_count;
1: - long unsigned int last_queue_full_time;
1: - long unsigned int queue_ramp_up_period;
1: - long unsigned int last_queue_ramp_up;
1: - unsigned int id;
1: - unsigned int channel;
1: - u64 lun;
1: - unsigned int manufacturer;
1: - unsigned int sector_size;
1: - void *hostdata;
1: - unsigned char type;
1: - char scsi_level;
1: - char inq_periph_qual;
1: - struct mutex inquiry_mutex;
1: - unsigned char inquiry_len;
1: - unsigned char *inquiry;
1: - const char *vendor;
1: - const char *model;
1: - const char *rev;
1: - struct scsi_vpd *vpd_pg0;
1: - struct scsi_vpd *vpd_pg83;
1: - struct scsi_vpd *vpd_pg80;
1: - struct scsi_vpd *vpd_pg89;
1: - unsigned char current_tag;
1: - struct scsi_target *sdev_target;
1: - blist_flags_t sdev_bflags;
1: - unsigned int eh_timeout;
1: - unsigned int removable: 1;
1: - unsigned int changed: 1;
1: - unsigned int busy: 1;
1: - unsigned int lockable: 1;
1: - unsigned int locked: 1;
1: - unsigned int borken: 1;
1: - unsigned int disconnect: 1;
1: - unsigned int soft_reset: 1;
1: - unsigned int sdtr: 1;
1: - unsigned int wdtr: 1;
1: - unsigned int ppr: 1;
1: - unsigned int tagged_supported: 1;
1: - unsigned int simple_tags: 1;
1: - unsigned int was_reset: 1;
1: - unsigned int expecting_cc_ua: 1;
1: - unsigned int use_10_for_rw: 1;
1: - unsigned int use_10_for_ms: 1;
1: - unsigned int no_report_opcodes: 1;
1: - unsigned int no_write_same: 1;
1: - unsigned int use_16_for_rw: 1;
1: - unsigned int skip_ms_page_8: 1;
1: - unsigned int skip_ms_page_3f: 1;
1: - unsigned int skip_vpd_pages: 1;
1: - unsigned int try_vpd_pages: 1;
1: - unsigned int use_192_bytes_for_3f: 1;
1: - unsigned int no_start_on_add: 1;
1: - unsigned int allow_restart: 1;
1: - unsigned int manage_start_stop: 1;
1: - unsigned int start_stop_pwr_cond: 1;
1: - unsigned int no_uld_attach: 1;
1: - unsigned int select_no_atn: 1;
1: - unsigned int fix_capacity: 1;
1: - unsigned int guess_capacity: 1;
1: - unsigned int retry_hwerror: 1;
1: - unsigned int last_sector_bug: 1;
1: - unsigned int no_read_disc_info: 1;
1: - unsigned int no_read_capacity_16: 1;
1: - unsigned int try_rc_10_first: 1;
1: - unsigned int security_supported: 1;
1: - unsigned int is_visible: 1;
1: - unsigned int wce_default_on: 1;
1: - unsigned int no_dif: 1;
1: - unsigned int broken_fua: 1;
1: - unsigned int lun_in_cdb: 1;
1: - unsigned int unmap_limit_for_ws: 1;
1: - unsigned int rpm_autosuspend: 1;
1: - atomic_t disk_events_disable_depth;
1: - long unsigned int supported_events[1];
1: - long unsigned int pending_events[1];
1: - struct list_head event_list;
1: - struct work_struct event_work;
1: - unsigned int max_device_blocked;
1: - atomic_t iorequest_cnt;
1: - atomic_t iodone_cnt;
1: - atomic_t ioerr_cnt;
1: - struct device sdev_gendev;
1: - struct device sdev_dev;
1: - struct execute_work ew;
1: - struct work_struct requeue_work;
1: - struct scsi_device_handler *handler;
1: - void *handler_data;
1: - unsigned char access_state;
1: - struct mutex state_mutex;
1: - enum scsi_device_state sdev_state;
1: - struct task_struct *quiesced_by;
1: - long unsigned int sdev_data[0];
1: + struct Scsi_Host *host;
1: + struct request_queue *request_queue;
1: + struct list_head siblings;
1: + struct list_head same_target_siblings;
1: + atomic_t device_busy;
1: + atomic_t device_blocked;
1: + spinlock_t list_lock;
1: + struct list_head cmd_list;
1: + struct list_head starved_entry;
1: + short unsigned int queue_depth;
1: + short unsigned int max_queue_depth;
1: + short unsigned int last_queue_full_depth;
1: + short unsigned int last_queue_full_count;
1: + long unsigned int last_queue_full_time;
1: + long unsigned int queue_ramp_up_period;
1: + long unsigned int last_queue_ramp_up;
1: + unsigned int id;
1: + unsigned int channel;
1: + u64 lun;
1: + unsigned int manufacturer;
1: + unsigned int sector_size;
1: + void *hostdata;
1: + unsigned char type;
1: + char scsi_level;
1: + char inq_periph_qual;
1: + struct mutex inquiry_mutex;
1: + unsigned char inquiry_len;
1: + unsigned char *inquiry;
1: + const char *vendor;
1: + const char *model;
1: + const char *rev;
1: + struct scsi_vpd *vpd_pg0;
1: + struct scsi_vpd *vpd_pg83;
1: + struct scsi_vpd *vpd_pg80;
1: + struct scsi_vpd *vpd_pg89;
1: + unsigned char current_tag;
1: + struct scsi_target *sdev_target;
1: + blist_flags_t sdev_bflags;
1: + unsigned int eh_timeout;
1: + unsigned int removable : 1;
1: + unsigned int changed : 1;
1: + unsigned int busy : 1;
1: + unsigned int lockable : 1;
1: + unsigned int locked : 1;
1: + unsigned int borken : 1;
1: + unsigned int disconnect : 1;
1: + unsigned int soft_reset : 1;
1: + unsigned int sdtr : 1;
1: + unsigned int wdtr : 1;
1: + unsigned int ppr : 1;
1: + unsigned int tagged_supported : 1;
1: + unsigned int simple_tags : 1;
1: + unsigned int was_reset : 1;
1: + unsigned int expecting_cc_ua : 1;
1: + unsigned int use_10_for_rw : 1;
1: + unsigned int use_10_for_ms : 1;
1: + unsigned int no_report_opcodes : 1;
1: + unsigned int no_write_same : 1;
1: + unsigned int use_16_for_rw : 1;
1: + unsigned int skip_ms_page_8 : 1;
1: + unsigned int skip_ms_page_3f : 1;
1: + unsigned int skip_vpd_pages : 1;
1: + unsigned int try_vpd_pages : 1;
1: + unsigned int use_192_bytes_for_3f : 1;
1: + unsigned int no_start_on_add : 1;
1: + unsigned int allow_restart : 1;
1: + unsigned int manage_start_stop : 1;
1: + unsigned int start_stop_pwr_cond : 1;
1: + unsigned int no_uld_attach : 1;
1: + unsigned int select_no_atn : 1;
1: + unsigned int fix_capacity : 1;
1: + unsigned int guess_capacity : 1;
1: + unsigned int retry_hwerror : 1;
1: + unsigned int last_sector_bug : 1;
1: + unsigned int no_read_disc_info : 1;
1: + unsigned int no_read_capacity_16 : 1;
1: + unsigned int try_rc_10_first : 1;
1: + unsigned int security_supported : 1;
1: + unsigned int is_visible : 1;
1: + unsigned int wce_default_on : 1;
1: + unsigned int no_dif : 1;
1: + unsigned int broken_fua : 1;
1: + unsigned int lun_in_cdb : 1;
1: + unsigned int unmap_limit_for_ws : 1;
1: + unsigned int rpm_autosuspend : 1;
1: + atomic_t disk_events_disable_depth;
1: + long unsigned int supported_events[1];
1: + long unsigned int pending_events[1];
1: + struct list_head event_list;
1: + struct work_struct event_work;
1: + unsigned int max_device_blocked;
1: + atomic_t iorequest_cnt;
1: + atomic_t iodone_cnt;
1: + atomic_t ioerr_cnt;
1: + struct device sdev_gendev;
1: + struct device sdev_dev;
1: + struct execute_work ew;
1: + struct work_struct requeue_work;
1: + struct scsi_device_handler *handler;
1: + void *handler_data;
1: + unsigned char access_state;
1: + struct mutex state_mutex;
1: + enum scsi_device_state sdev_state;
1: + struct task_struct *quiesced_by;
1: + long unsigned int sdev_data[0];
1: };
1:
1: enum scsi_host_state {
1: - SHOST_CREATED = 1,
1: - SHOST_RUNNING = 2,
1: - SHOST_CANCEL = 3,
1: - SHOST_DEL = 4,
1: - SHOST_RECOVERY = 5,
1: - SHOST_CANCEL_RECOVERY = 6,
1: - SHOST_DEL_RECOVERY = 7,
1: + SHOST_CREATED = 1,
1: + SHOST_RUNNING = 2,
1: + SHOST_CANCEL = 3,
1: + SHOST_DEL = 4,
1: + SHOST_RECOVERY = 5,
1: + SHOST_CANCEL_RECOVERY = 6,
1: + SHOST_DEL_RECOVERY = 7,
1: };
1:
1: struct scsi_host_template;
1: @@ -78782,840 +79405,842 @@ struct scsi_host_template;
1: struct scsi_transport_template;
1:
1: struct Scsi_Host {
1: - struct list_head __devices;
1: - struct list_head __targets;
1: - struct list_head starved_list;
1: - spinlock_t default_lock;
1: - spinlock_t *host_lock;
1: - struct mutex scan_mutex;
1: - struct list_head eh_cmd_q;
1: - struct task_struct *ehandler;
1: - struct completion *eh_action;
1: - wait_queue_head_t host_wait;
1: - struct scsi_host_template *hostt;
1: - struct scsi_transport_template *transportt;
1: - struct blk_mq_tag_set tag_set;
1: - atomic_t host_blocked;
1: - unsigned int host_failed;
1: - unsigned int host_eh_scheduled;
1: - unsigned int host_no;
1: - int eh_deadline;
1: - long unsigned int last_reset;
1: - unsigned int max_channel;
1: - unsigned int max_id;
1: - u64 max_lun;
1: - unsigned int unique_id;
1: - short unsigned int max_cmd_len;
1: - int this_id;
1: - int can_queue;
1: - short int cmd_per_lun;
1: - short unsigned int sg_tablesize;
1: - short unsigned int sg_prot_tablesize;
1: - unsigned int max_sectors;
1: - unsigned int max_segment_size;
1: - long unsigned int dma_boundary;
1: - long unsigned int virt_boundary_mask;
1: - unsigned int nr_hw_queues;
1: - unsigned int active_mode: 2;
1: - unsigned int unchecked_isa_dma: 1;
1: - unsigned int host_self_blocked: 1;
1: - unsigned int reverse_ordering: 1;
1: - unsigned int tmf_in_progress: 1;
1: - unsigned int async_scan: 1;
1: - unsigned int eh_noresume: 1;
1: - unsigned int no_write_same: 1;
1: - unsigned int use_cmd_list: 1;
1: - unsigned int short_inquiry: 1;
1: - unsigned int no_scsi2_lun_in_cdb: 1;
1: - char work_q_name[20];
1: - struct workqueue_struct *work_q;
1: - struct workqueue_struct *tmf_work_q;
1: - unsigned int max_host_blocked;
1: - unsigned int prot_capabilities;
1: - unsigned char prot_guard_type;
1: - long unsigned int base;
1: - long unsigned int io_port;
1: - unsigned char n_io_port;
1: - unsigned char dma_channel;
1: - unsigned int irq;
1: - enum scsi_host_state shost_state;
1: - struct device shost_gendev;
1: - struct device shost_dev;
1: - void *shost_data;
1: - struct device *dma_dev;
1: - long unsigned int hostdata[0];
1: + struct list_head __devices;
1: + struct list_head __targets;
1: + struct list_head starved_list;
1: + spinlock_t default_lock;
1: + spinlock_t *host_lock;
1: + struct mutex scan_mutex;
1: + struct list_head eh_cmd_q;
1: + struct task_struct *ehandler;
1: + struct completion *eh_action;
1: + wait_queue_head_t host_wait;
1: + struct scsi_host_template *hostt;
1: + struct scsi_transport_template *transportt;
1: + struct blk_mq_tag_set tag_set;
1: + atomic_t host_blocked;
1: + unsigned int host_failed;
1: + unsigned int host_eh_scheduled;
1: + unsigned int host_no;
1: + int eh_deadline;
1: + long unsigned int last_reset;
1: + unsigned int max_channel;
1: + unsigned int max_id;
1: + u64 max_lun;
1: + unsigned int unique_id;
1: + short unsigned int max_cmd_len;
1: + int this_id;
1: + int can_queue;
1: + short int cmd_per_lun;
1: + short unsigned int sg_tablesize;
1: + short unsigned int sg_prot_tablesize;
1: + unsigned int max_sectors;
1: + unsigned int max_segment_size;
1: + long unsigned int dma_boundary;
1: + long unsigned int virt_boundary_mask;
1: + unsigned int nr_hw_queues;
1: + unsigned int active_mode : 2;
1: + unsigned int unchecked_isa_dma : 1;
1: + unsigned int host_self_blocked : 1;
1: + unsigned int reverse_ordering : 1;
1: + unsigned int tmf_in_progress : 1;
1: + unsigned int async_scan : 1;
1: + unsigned int eh_noresume : 1;
1: + unsigned int no_write_same : 1;
1: + unsigned int use_cmd_list : 1;
1: + unsigned int short_inquiry : 1;
1: + unsigned int no_scsi2_lun_in_cdb : 1;
1: + char work_q_name[20];
1: + struct workqueue_struct *work_q;
1: + struct workqueue_struct *tmf_work_q;
1: + unsigned int max_host_blocked;
1: + unsigned int prot_capabilities;
1: + unsigned char prot_guard_type;
1: + long unsigned int base;
1: + long unsigned int io_port;
1: + unsigned char n_io_port;
1: + unsigned char dma_channel;
1: + unsigned int irq;
1: + enum scsi_host_state shost_state;
1: + struct device shost_gendev;
1: + struct device shost_dev;
1: + void *shost_data;
1: + struct device *dma_dev;
1: + long unsigned int hostdata[0];
1: };
1:
1: enum scsi_target_state {
1: - STARGET_CREATED = 1,
1: - STARGET_RUNNING = 2,
1: - STARGET_REMOVE = 3,
1: - STARGET_CREATED_REMOVE = 4,
1: - STARGET_DEL = 5,
1: + STARGET_CREATED = 1,
1: + STARGET_RUNNING = 2,
1: + STARGET_REMOVE = 3,
1: + STARGET_CREATED_REMOVE = 4,
1: + STARGET_DEL = 5,
1: };
1:
1: struct scsi_target {
1: - struct scsi_device *starget_sdev_user;
1: - struct list_head siblings;
1: - struct list_head devices;
1: - struct device dev;
1: - struct kref reap_ref;
1: - unsigned int channel;
1: - unsigned int id;
1: - unsigned int create: 1;
1: - unsigned int single_lun: 1;
1: - unsigned int pdt_1f_for_no_lun: 1;
1: - unsigned int no_report_luns: 1;
1: - unsigned int expecting_lun_change: 1;
1: - atomic_t target_busy;
1: - atomic_t target_blocked;
1: - unsigned int can_queue;
1: - unsigned int max_target_blocked;
1: - char scsi_level;
1: - enum scsi_target_state state;
1: - void *hostdata;
1: - long unsigned int starget_data[0];
1: + struct scsi_device *starget_sdev_user;
1: + struct list_head siblings;
1: + struct list_head devices;
1: + struct device dev;
1: + struct kref reap_ref;
1: + unsigned int channel;
1: + unsigned int id;
1: + unsigned int create : 1;
1: + unsigned int single_lun : 1;
1: + unsigned int pdt_1f_for_no_lun : 1;
1: + unsigned int no_report_luns : 1;
1: + unsigned int expecting_lun_change : 1;
1: + atomic_t target_busy;
1: + atomic_t target_blocked;
1: + unsigned int can_queue;
1: + unsigned int max_target_blocked;
1: + char scsi_level;
1: + enum scsi_target_state state;
1: + void *hostdata;
1: + long unsigned int starget_data[0];
1: };
1:
1: struct scsi_data_buffer {
1: - struct sg_table table;
1: - unsigned int length;
1: + struct sg_table table;
1: + unsigned int length;
1: };
1:
1: struct scsi_pointer {
1: - char *ptr;
1: - int this_residual;
1: - struct scatterlist *buffer;
1: - int buffers_residual;
1: - dma_addr_t dma_handle;
1: - volatile int Status;
1: - volatile int Message;
1: - volatile int have_data_in;
1: - volatile int sent_command;
1: - volatile int phase;
1: + char *ptr;
1: + int this_residual;
1: + struct scatterlist *buffer;
1: + int buffers_residual;
1: + dma_addr_t dma_handle;
1: + volatile int Status;
1: + volatile int Message;
1: + volatile int have_data_in;
1: + volatile int sent_command;
1: + volatile int phase;
1: };
1:
1: struct scsi_cmnd {
1: - struct scsi_request req;
1: - struct scsi_device *device;
1: - struct list_head list;
1: - struct list_head eh_entry;
1: - struct delayed_work abort_work;
1: - struct callback_head rcu;
1: - int eh_eflags;
1: - long unsigned int jiffies_at_alloc;
1: - int retries;
1: - int allowed;
1: - unsigned char prot_op;
1: - unsigned char prot_type;
1: - unsigned char prot_flags;
1: - short unsigned int cmd_len;
1: - enum dma_data_direction sc_data_direction;
1: - unsigned char *cmnd;
1: - struct scsi_data_buffer sdb;
1: - struct scsi_data_buffer *prot_sdb;
1: - unsigned int underflow;
1: - unsigned int transfersize;
1: - struct request *request;
1: - unsigned char *sense_buffer;
1: - void (*scsi_done)(struct scsi_cmnd *);
1: - struct scsi_pointer SCp;
1: - unsigned char *host_scribble;
1: - int result;
1: - int flags;
1: - long unsigned int state;
1: - unsigned char tag;
1: + struct scsi_request req;
1: + struct scsi_device *device;
1: + struct list_head list;
1: + struct list_head eh_entry;
1: + struct delayed_work abort_work;
1: + struct callback_head rcu;
1: + int eh_eflags;
1: + long unsigned int jiffies_at_alloc;
1: + int retries;
1: + int allowed;
1: + unsigned char prot_op;
1: + unsigned char prot_type;
1: + unsigned char prot_flags;
1: + short unsigned int cmd_len;
1: + enum dma_data_direction sc_data_direction;
1: + unsigned char *cmnd;
1: + struct scsi_data_buffer sdb;
1: + struct scsi_data_buffer *prot_sdb;
1: + unsigned int underflow;
1: + unsigned int transfersize;
1: + struct request *request;
1: + unsigned char *sense_buffer;
1: + void (*scsi_done)(struct scsi_cmnd *);
1: + struct scsi_pointer SCp;
1: + unsigned char *host_scribble;
1: + int result;
1: + int flags;
1: + long unsigned int state;
1: + unsigned char tag;
1: };
1:
1: enum scsi_prot_operations {
1: - SCSI_PROT_NORMAL = 0,
1: - SCSI_PROT_READ_INSERT = 1,
1: - SCSI_PROT_WRITE_STRIP = 2,
1: - SCSI_PROT_READ_STRIP = 3,
1: - SCSI_PROT_WRITE_INSERT = 4,
1: - SCSI_PROT_READ_PASS = 5,
1: - SCSI_PROT_WRITE_PASS = 6,
1: + SCSI_PROT_NORMAL = 0,
1: + SCSI_PROT_READ_INSERT = 1,
1: + SCSI_PROT_WRITE_STRIP = 2,
1: + SCSI_PROT_READ_STRIP = 3,
1: + SCSI_PROT_WRITE_INSERT = 4,
1: + SCSI_PROT_READ_PASS = 5,
1: + SCSI_PROT_WRITE_PASS = 6,
1: };
1:
1: struct scsi_driver {
1: - struct device_driver gendrv;
1: - void (*rescan)(struct device *);
1: - blk_status_t (*init_command)(struct scsi_cmnd *);
1: - void (*uninit_command)(struct scsi_cmnd *);
1: - int (*done)(struct scsi_cmnd *);
1: - int (*eh_action)(struct scsi_cmnd *, int);
1: - void (*eh_reset)(struct scsi_cmnd *);
1: + struct device_driver gendrv;
1: + void (*rescan)(struct device *);
1: + blk_status_t (*init_command)(struct scsi_cmnd *);
1: + void (*uninit_command)(struct scsi_cmnd *);
1: + int (*done)(struct scsi_cmnd *);
1: + int (*eh_action)(struct scsi_cmnd *, int);
1: + void (*eh_reset)(struct scsi_cmnd *);
1: };
1:
1: struct scsi_host_cmd_pool;
1:
1: struct scsi_host_template {
1: - struct module *module;
1: - const char *name;
1: - const char * (*info)(struct Scsi_Host *);
1: - int (*ioctl)(struct scsi_device *, unsigned int, void *);
1: - int (*compat_ioctl)(struct scsi_device *, unsigned int, void *);
1: - int (*queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
1: - void (*commit_rqs)(struct Scsi_Host *, u16);
1: - int (*eh_abort_handler)(struct scsi_cmnd *);
1: - int (*eh_device_reset_handler)(struct scsi_cmnd *);
1: - int (*eh_target_reset_handler)(struct scsi_cmnd *);
1: - int (*eh_bus_reset_handler)(struct scsi_cmnd *);
1: - int (*eh_host_reset_handler)(struct scsi_cmnd *);
1: - int (*slave_alloc)(struct scsi_device *);
1: - int (*slave_configure)(struct scsi_device *);
1: - void (*slave_destroy)(struct scsi_device *);
1: - int (*target_alloc)(struct scsi_target *);
1: - void (*target_destroy)(struct scsi_target *);
1: - int (*scan_finished)(struct Scsi_Host *, long unsigned int);
1: - void (*scan_start)(struct Scsi_Host *);
1: - int (*change_queue_depth)(struct scsi_device *, int);
1: - int (*map_queues)(struct Scsi_Host *);
1: - int (*bios_param)(struct scsi_device *, struct block_device *, sector_t, int *);
1: - void (*unlock_native_capacity)(struct scsi_device *);
1: - int (*show_info)(struct seq_file *, struct Scsi_Host *);
1: - int (*write_info)(struct Scsi_Host *, char *, int);
1: - enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
1: - int (*host_reset)(struct Scsi_Host *, int);
1: - const char *proc_name;
1: - struct proc_dir_entry *proc_dir;
1: - int can_queue;
1: - int this_id;
1: - short unsigned int sg_tablesize;
1: - short unsigned int sg_prot_tablesize;
1: - unsigned int max_sectors;
1: - unsigned int max_segment_size;
1: - long unsigned int dma_boundary;
1: - long unsigned int virt_boundary_mask;
1: - short int cmd_per_lun;
1: - unsigned char present;
1: - int tag_alloc_policy;
1: - unsigned int track_queue_depth: 1;
1: - unsigned int supported_mode: 2;
1: - unsigned int unchecked_isa_dma: 1;
1: - unsigned int emulated: 1;
1: - unsigned int skip_settle_delay: 1;
1: - unsigned int no_write_same: 1;
1: - unsigned int force_blk_mq: 1;
1: - unsigned int max_host_blocked;
1: - struct device_attribute **shost_attrs;
1: - struct device_attribute **sdev_attrs;
1: - const struct attribute_group **sdev_groups;
1: - u64 vendor_id;
1: - unsigned int cmd_size;
1: - struct scsi_host_cmd_pool *cmd_pool;
1: - int rpm_autosuspend_delay;
1: + struct module *module;
1: + const char *name;
1: + const char *(*info)(struct Scsi_Host *);
1: + int (*ioctl)(struct scsi_device *, unsigned int, void *);
1: + int (*compat_ioctl)(struct scsi_device *, unsigned int, void *);
1: + int (*queuecommand)(struct Scsi_Host *, struct scsi_cmnd *);
1: + void (*commit_rqs)(struct Scsi_Host *, u16);
1: + int (*eh_abort_handler)(struct scsi_cmnd *);
1: + int (*eh_device_reset_handler)(struct scsi_cmnd *);
1: + int (*eh_target_reset_handler)(struct scsi_cmnd *);
1: + int (*eh_bus_reset_handler)(struct scsi_cmnd *);
1: + int (*eh_host_reset_handler)(struct scsi_cmnd *);
1: + int (*slave_alloc)(struct scsi_device *);
1: + int (*slave_configure)(struct scsi_device *);
1: + void (*slave_destroy)(struct scsi_device *);
1: + int (*target_alloc)(struct scsi_target *);
1: + void (*target_destroy)(struct scsi_target *);
1: + int (*scan_finished)(struct Scsi_Host *, long unsigned int);
1: + void (*scan_start)(struct Scsi_Host *);
1: + int (*change_queue_depth)(struct scsi_device *, int);
1: + int (*map_queues)(struct Scsi_Host *);
1: + int (*bios_param)(struct scsi_device *, struct block_device *, sector_t,
1: + int *);
1: + void (*unlock_native_capacity)(struct scsi_device *);
1: + int (*show_info)(struct seq_file *, struct Scsi_Host *);
1: + int (*write_info)(struct Scsi_Host *, char *, int);
1: + enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd *);
1: + int (*host_reset)(struct Scsi_Host *, int);
1: + const char *proc_name;
1: + struct proc_dir_entry *proc_dir;
1: + int can_queue;
1: + int this_id;
1: + short unsigned int sg_tablesize;
1: + short unsigned int sg_prot_tablesize;
1: + unsigned int max_sectors;
1: + unsigned int max_segment_size;
1: + long unsigned int dma_boundary;
1: + long unsigned int virt_boundary_mask;
1: + short int cmd_per_lun;
1: + unsigned char present;
1: + int tag_alloc_policy;
1: + unsigned int track_queue_depth : 1;
1: + unsigned int supported_mode : 2;
1: + unsigned int unchecked_isa_dma : 1;
1: + unsigned int emulated : 1;
1: + unsigned int skip_settle_delay : 1;
1: + unsigned int no_write_same : 1;
1: + unsigned int force_blk_mq : 1;
1: + unsigned int max_host_blocked;
1: + struct device_attribute **shost_attrs;
1: + struct device_attribute **sdev_attrs;
1: + const struct attribute_group **sdev_groups;
1: + u64 vendor_id;
1: + unsigned int cmd_size;
1: + struct scsi_host_cmd_pool *cmd_pool;
1: + int rpm_autosuspend_delay;
1: };
1:
1: struct trace_event_raw_scsi_dispatch_cmd_start {
1: - struct trace_entry ent;
1: - unsigned int host_no;
1: - unsigned int channel;
1: - unsigned int id;
1: - unsigned int lun;
1: - unsigned int opcode;
1: - unsigned int cmd_len;
1: - unsigned int data_sglen;
1: - unsigned int prot_sglen;
1: - unsigned char prot_op;
1: - u32 __data_loc_cmnd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int host_no;
1: + unsigned int channel;
1: + unsigned int id;
1: + unsigned int lun;
1: + unsigned int opcode;
1: + unsigned int cmd_len;
1: + unsigned int data_sglen;
1: + unsigned int prot_sglen;
1: + unsigned char prot_op;
1: + u32 __data_loc_cmnd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_scsi_dispatch_cmd_error {
1: - struct trace_entry ent;
1: - unsigned int host_no;
1: - unsigned int channel;
1: - unsigned int id;
1: - unsigned int lun;
1: - int rtn;
1: - unsigned int opcode;
1: - unsigned int cmd_len;
1: - unsigned int data_sglen;
1: - unsigned int prot_sglen;
1: - unsigned char prot_op;
1: - u32 __data_loc_cmnd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int host_no;
1: + unsigned int channel;
1: + unsigned int id;
1: + unsigned int lun;
1: + int rtn;
1: + unsigned int opcode;
1: + unsigned int cmd_len;
1: + unsigned int data_sglen;
1: + unsigned int prot_sglen;
1: + unsigned char prot_op;
1: + u32 __data_loc_cmnd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_scsi_cmd_done_timeout_template {
1: - struct trace_entry ent;
1: - unsigned int host_no;
1: - unsigned int channel;
1: - unsigned int id;
1: - unsigned int lun;
1: - int result;
1: - unsigned int opcode;
1: - unsigned int cmd_len;
1: - unsigned int data_sglen;
1: - unsigned int prot_sglen;
1: - unsigned char prot_op;
1: - u32 __data_loc_cmnd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int host_no;
1: + unsigned int channel;
1: + unsigned int id;
1: + unsigned int lun;
1: + int result;
1: + unsigned int opcode;
1: + unsigned int cmd_len;
1: + unsigned int data_sglen;
1: + unsigned int prot_sglen;
1: + unsigned char prot_op;
1: + u32 __data_loc_cmnd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_scsi_eh_wakeup {
1: - struct trace_entry ent;
1: - unsigned int host_no;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int host_no;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_scsi_dispatch_cmd_start {
1: - u32 cmnd;
1: + u32 cmnd;
1: };
1:
1: struct trace_event_data_offsets_scsi_dispatch_cmd_error {
1: - u32 cmnd;
1: + u32 cmnd;
1: };
1:
1: struct trace_event_data_offsets_scsi_cmd_done_timeout_template {
1: - u32 cmnd;
1: + u32 cmnd;
1: };
1:
1: struct trace_event_data_offsets_scsi_eh_wakeup {};
1:
1: struct scsi_transport_template {
1: - struct transport_container host_attrs;
1: - struct transport_container target_attrs;
1: - struct transport_container device_attrs;
1: - int (*user_scan)(struct Scsi_Host *, uint, uint, u64);
1: - int device_size;
1: - int device_private_offset;
1: - int target_size;
1: - int target_private_offset;
1: - int host_size;
1: - unsigned int create_work_queue: 1;
1: - void (*eh_strategy_handler)(struct Scsi_Host *);
1: + struct transport_container host_attrs;
1: + struct transport_container target_attrs;
1: + struct transport_container device_attrs;
1: + int (*user_scan)(struct Scsi_Host *, uint, uint, u64);
1: + int device_size;
1: + int device_private_offset;
1: + int target_size;
1: + int target_private_offset;
1: + int host_size;
1: + unsigned int create_work_queue : 1;
1: + void (*eh_strategy_handler)(struct Scsi_Host *);
1: };
1:
1: struct scsi_idlun {
1: - __u32 dev_id;
1: - __u32 host_unique_id;
1: + __u32 dev_id;
1: + __u32 host_unique_id;
1: };
1:
1: typedef void (*activate_complete)(void *, int);
1:
1: struct scsi_device_handler {
1: - struct list_head list;
1: - struct module *module;
1: - const char *name;
1: - int (*check_sense)(struct scsi_device *, struct scsi_sense_hdr *);
1: - int (*attach)(struct scsi_device *);
1: - void (*detach)(struct scsi_device *);
1: - int (*activate)(struct scsi_device *, activate_complete, void *);
1: - blk_status_t (*prep_fn)(struct scsi_device *, struct request *);
1: - int (*set_params)(struct scsi_device *, const char *);
1: - void (*rescan)(struct scsi_device *);
1: + struct list_head list;
1: + struct module *module;
1: + const char *name;
1: + int (*check_sense)(struct scsi_device *, struct scsi_sense_hdr *);
1: + int (*attach)(struct scsi_device *);
1: + void (*detach)(struct scsi_device *);
1: + int (*activate)(struct scsi_device *, activate_complete, void *);
1: + blk_status_t (*prep_fn)(struct scsi_device *, struct request *);
1: + int (*set_params)(struct scsi_device *, const char *);
1: + void (*rescan)(struct scsi_device *);
1: };
1:
1: struct scsi_eh_save {
1: - int result;
1: - unsigned int resid_len;
1: - int eh_eflags;
1: - enum dma_data_direction data_direction;
1: - unsigned int underflow;
1: - unsigned char cmd_len;
1: - unsigned char prot_op;
1: - unsigned char *cmnd;
1: - struct scsi_data_buffer sdb;
1: - unsigned char eh_cmnd[16];
1: - struct scatterlist sense_sgl;
1: + int result;
1: + unsigned int resid_len;
1: + int eh_eflags;
1: + enum dma_data_direction data_direction;
1: + unsigned int underflow;
1: + unsigned char cmd_len;
1: + unsigned char prot_op;
1: + unsigned char *cmnd;
1: + struct scsi_data_buffer sdb;
1: + unsigned char eh_cmnd[16];
1: + struct scatterlist sense_sgl;
1: };
1:
1: struct scsi_varlen_cdb_hdr {
1: - __u8 opcode;
1: - __u8 control;
1: - __u8 misc[5];
1: - __u8 additional_cdb_length;
1: - __be16 service_action;
1: + __u8 opcode;
1: + __u8 control;
1: + __u8 misc[5];
1: + __u8 additional_cdb_length;
1: + __be16 service_action;
1: };
1:
1: struct scsi_mode_data {
1: - __u32 length;
1: - __u16 block_descriptor_length;
1: - __u8 medium_type;
1: - __u8 device_specific;
1: - __u8 header_length;
1: - __u8 longlba: 1;
1: + __u32 length;
1: + __u16 block_descriptor_length;
1: + __u8 medium_type;
1: + __u8 device_specific;
1: + __u8 header_length;
1: + __u8 longlba : 1;
1: };
1:
1: struct scsi_event {
1: - enum scsi_device_event evt_type;
1: - struct list_head node;
1: + enum scsi_device_event evt_type;
1: + struct list_head node;
1: };
1:
1: enum scsi_host_prot_capabilities {
1: - SHOST_DIF_TYPE1_PROTECTION = 1,
1: - SHOST_DIF_TYPE2_PROTECTION = 2,
1: - SHOST_DIF_TYPE3_PROTECTION = 4,
1: - SHOST_DIX_TYPE0_PROTECTION = 8,
1: - SHOST_DIX_TYPE1_PROTECTION = 16,
1: - SHOST_DIX_TYPE2_PROTECTION = 32,
1: - SHOST_DIX_TYPE3_PROTECTION = 64,
1: + SHOST_DIF_TYPE1_PROTECTION = 1,
1: + SHOST_DIF_TYPE2_PROTECTION = 2,
1: + SHOST_DIF_TYPE3_PROTECTION = 4,
1: + SHOST_DIX_TYPE0_PROTECTION = 8,
1: + SHOST_DIX_TYPE1_PROTECTION = 16,
1: + SHOST_DIX_TYPE2_PROTECTION = 32,
1: + SHOST_DIX_TYPE3_PROTECTION = 64,
1: };
1:
1: enum {
1: - ACTION_FAIL = 0,
1: - ACTION_REPREP = 1,
1: - ACTION_RETRY = 2,
1: - ACTION_DELAYED_RETRY = 3,
1: + ACTION_FAIL = 0,
1: + ACTION_REPREP = 1,
1: + ACTION_RETRY = 2,
1: + ACTION_DELAYED_RETRY = 3,
1: };
1:
1: struct value_name_pair;
1:
1: struct sa_name_list {
1: - int opcode;
1: - const struct value_name_pair *arr;
1: - int arr_sz;
1: + int opcode;
1: + const struct value_name_pair *arr;
1: + int arr_sz;
1: };
1:
1: struct value_name_pair {
1: - int value;
1: - const char *name;
1: + int value;
1: + const char *name;
1: };
1:
1: struct error_info {
1: - short unsigned int code12;
1: - short unsigned int size;
1: + short unsigned int code12;
1: + short unsigned int size;
1: };
1:
1: struct error_info2 {
1: - unsigned char code1;
1: - unsigned char code2_min;
1: - unsigned char code2_max;
1: - const char *str;
1: - const char *fmt;
1: + unsigned char code1;
1: + unsigned char code2_min;
1: + unsigned char code2_max;
1: + const char *str;
1: + const char *fmt;
1: };
1:
1: struct scsi_lun {
1: - __u8 scsi_lun[8];
1: + __u8 scsi_lun[8];
1: };
1:
1: enum scsi_timeouts {
1: - SCSI_DEFAULT_EH_TIMEOUT = 10000,
1: + SCSI_DEFAULT_EH_TIMEOUT = 10000,
1: };
1:
1: enum scsi_scan_mode {
1: - SCSI_SCAN_INITIAL = 0,
1: - SCSI_SCAN_RESCAN = 1,
1: - SCSI_SCAN_MANUAL = 2,
1: + SCSI_SCAN_INITIAL = 0,
1: + SCSI_SCAN_RESCAN = 1,
1: + SCSI_SCAN_MANUAL = 2,
1: };
1:
1: struct async_scan_data {
1: - struct list_head list;
1: - struct Scsi_Host *shost;
1: - struct completion prev_finished;
1: + struct list_head list;
1: + struct Scsi_Host *shost;
1: + struct completion prev_finished;
1: };
1:
1: enum scsi_devinfo_key {
1: - SCSI_DEVINFO_GLOBAL = 0,
1: - SCSI_DEVINFO_SPI = 1,
1: + SCSI_DEVINFO_GLOBAL = 0,
1: + SCSI_DEVINFO_SPI = 1,
1: };
1:
1: struct scsi_dev_info_list {
1: - struct list_head dev_info_list;
1: - char vendor[8];
1: - char model[16];
1: - blist_flags_t flags;
1: - unsigned int compatible;
1: + struct list_head dev_info_list;
1: + char vendor[8];
1: + char model[16];
1: + blist_flags_t flags;
1: + unsigned int compatible;
1: };
1:
1: struct scsi_dev_info_list_table {
1: - struct list_head node;
1: - struct list_head scsi_dev_info_list;
1: - const char *name;
1: - int key;
1: + struct list_head node;
1: + struct list_head scsi_dev_info_list;
1: + const char *name;
1: + int key;
1: };
1:
1: struct double_list {
1: - struct list_head *top;
1: - struct list_head *bottom;
1: + struct list_head *top;
1: + struct list_head *bottom;
1: };
1:
1: struct spi_transport_attrs {
1: - int period;
1: - int min_period;
1: - int offset;
1: - int max_offset;
1: - unsigned int width: 1;
1: - unsigned int max_width: 1;
1: - unsigned int iu: 1;
1: - unsigned int max_iu: 1;
1: - unsigned int dt: 1;
1: - unsigned int qas: 1;
1: - unsigned int max_qas: 1;
1: - unsigned int wr_flow: 1;
1: - unsigned int rd_strm: 1;
1: - unsigned int rti: 1;
1: - unsigned int pcomp_en: 1;
1: - unsigned int hold_mcs: 1;
1: - unsigned int initial_dv: 1;
1: - long unsigned int flags;
1: - unsigned int support_sync: 1;
1: - unsigned int support_wide: 1;
1: - unsigned int support_dt: 1;
1: - unsigned int support_dt_only;
1: - unsigned int support_ius;
1: - unsigned int support_qas;
1: - unsigned int dv_pending: 1;
1: - unsigned int dv_in_progress: 1;
1: - struct mutex dv_mutex;
1: + int period;
1: + int min_period;
1: + int offset;
1: + int max_offset;
1: + unsigned int width : 1;
1: + unsigned int max_width : 1;
1: + unsigned int iu : 1;
1: + unsigned int max_iu : 1;
1: + unsigned int dt : 1;
1: + unsigned int qas : 1;
1: + unsigned int max_qas : 1;
1: + unsigned int wr_flow : 1;
1: + unsigned int rd_strm : 1;
1: + unsigned int rti : 1;
1: + unsigned int pcomp_en : 1;
1: + unsigned int hold_mcs : 1;
1: + unsigned int initial_dv : 1;
1: + long unsigned int flags;
1: + unsigned int support_sync : 1;
1: + unsigned int support_wide : 1;
1: + unsigned int support_dt : 1;
1: + unsigned int support_dt_only;
1: + unsigned int support_ius;
1: + unsigned int support_qas;
1: + unsigned int dv_pending : 1;
1: + unsigned int dv_in_progress : 1;
1: + struct mutex dv_mutex;
1: };
1:
1: enum spi_signal_type {
1: - SPI_SIGNAL_UNKNOWN = 1,
1: - SPI_SIGNAL_SE = 2,
1: - SPI_SIGNAL_LVD = 3,
1: - SPI_SIGNAL_HVD = 4,
1: + SPI_SIGNAL_UNKNOWN = 1,
1: + SPI_SIGNAL_SE = 2,
1: + SPI_SIGNAL_LVD = 3,
1: + SPI_SIGNAL_HVD = 4,
1: };
1:
1: struct spi_host_attrs {
1: - enum spi_signal_type signalling;
1: + enum spi_signal_type signalling;
1: };
1:
1: struct spi_function_template {
1: - void (*get_period)(struct scsi_target *);
1: - void (*set_period)(struct scsi_target *, int);
1: - void (*get_offset)(struct scsi_target *);
1: - void (*set_offset)(struct scsi_target *, int);
1: - void (*get_width)(struct scsi_target *);
1: - void (*set_width)(struct scsi_target *, int);
1: - void (*get_iu)(struct scsi_target *);
1: - void (*set_iu)(struct scsi_target *, int);
1: - void (*get_dt)(struct scsi_target *);
1: - void (*set_dt)(struct scsi_target *, int);
1: - void (*get_qas)(struct scsi_target *);
1: - void (*set_qas)(struct scsi_target *, int);
1: - void (*get_wr_flow)(struct scsi_target *);
1: - void (*set_wr_flow)(struct scsi_target *, int);
1: - void (*get_rd_strm)(struct scsi_target *);
1: - void (*set_rd_strm)(struct scsi_target *, int);
1: - void (*get_rti)(struct scsi_target *);
1: - void (*set_rti)(struct scsi_target *, int);
1: - void (*get_pcomp_en)(struct scsi_target *);
1: - void (*set_pcomp_en)(struct scsi_target *, int);
1: - void (*get_hold_mcs)(struct scsi_target *);
1: - void (*set_hold_mcs)(struct scsi_target *, int);
1: - void (*get_signalling)(struct Scsi_Host *);
1: - void (*set_signalling)(struct Scsi_Host *, enum spi_signal_type);
1: - int (*deny_binding)(struct scsi_target *);
1: - long unsigned int show_period: 1;
1: - long unsigned int show_offset: 1;
1: - long unsigned int show_width: 1;
1: - long unsigned int show_iu: 1;
1: - long unsigned int show_dt: 1;
1: - long unsigned int show_qas: 1;
1: - long unsigned int show_wr_flow: 1;
1: - long unsigned int show_rd_strm: 1;
1: - long unsigned int show_rti: 1;
1: - long unsigned int show_pcomp_en: 1;
1: - long unsigned int show_hold_mcs: 1;
1: -};
1: -
1: -enum {
1: - SPI_BLIST_NOIUS = 1,
1: + void (*get_period)(struct scsi_target *);
1: + void (*set_period)(struct scsi_target *, int);
1: + void (*get_offset)(struct scsi_target *);
1: + void (*set_offset)(struct scsi_target *, int);
1: + void (*get_width)(struct scsi_target *);
1: + void (*set_width)(struct scsi_target *, int);
1: + void (*get_iu)(struct scsi_target *);
1: + void (*set_iu)(struct scsi_target *, int);
1: + void (*get_dt)(struct scsi_target *);
1: + void (*set_dt)(struct scsi_target *, int);
1: + void (*get_qas)(struct scsi_target *);
1: + void (*set_qas)(struct scsi_target *, int);
1: + void (*get_wr_flow)(struct scsi_target *);
1: + void (*set_wr_flow)(struct scsi_target *, int);
1: + void (*get_rd_strm)(struct scsi_target *);
1: + void (*set_rd_strm)(struct scsi_target *, int);
1: + void (*get_rti)(struct scsi_target *);
1: + void (*set_rti)(struct scsi_target *, int);
1: + void (*get_pcomp_en)(struct scsi_target *);
1: + void (*set_pcomp_en)(struct scsi_target *, int);
1: + void (*get_hold_mcs)(struct scsi_target *);
1: + void (*set_hold_mcs)(struct scsi_target *, int);
1: + void (*get_signalling)(struct Scsi_Host *);
1: + void (*set_signalling)(struct Scsi_Host *, enum spi_signal_type);
1: + int (*deny_binding)(struct scsi_target *);
1: + long unsigned int show_period : 1;
1: + long unsigned int show_offset : 1;
1: + long unsigned int show_width : 1;
1: + long unsigned int show_iu : 1;
1: + long unsigned int show_dt : 1;
1: + long unsigned int show_qas : 1;
1: + long unsigned int show_wr_flow : 1;
1: + long unsigned int show_rd_strm : 1;
1: + long unsigned int show_rti : 1;
1: + long unsigned int show_pcomp_en : 1;
1: + long unsigned int show_hold_mcs : 1;
1: +};
1: +
1: +enum {
1: + SPI_BLIST_NOIUS = 1,
1: };
1:
1: struct spi_internal {
1: - struct scsi_transport_template t;
1: - struct spi_function_template *f;
1: + struct scsi_transport_template t;
1: + struct spi_function_template *f;
1: };
1:
1: enum spi_compare_returns {
1: - SPI_COMPARE_SUCCESS = 0,
1: - SPI_COMPARE_FAILURE = 1,
1: - SPI_COMPARE_SKIP_TEST = 2,
1: + SPI_COMPARE_SUCCESS = 0,
1: + SPI_COMPARE_FAILURE = 1,
1: + SPI_COMPARE_SKIP_TEST = 2,
1: };
1:
1: struct work_queue_wrapper {
1: - struct work_struct work;
1: - struct scsi_device *sdev;
1: + struct work_struct work;
1: + struct scsi_device *sdev;
1: };
1:
1: enum bip_flags {
1: - BIP_BLOCK_INTEGRITY = 1,
1: - BIP_MAPPED_INTEGRITY = 2,
1: - BIP_CTRL_NOCHECK = 4,
1: - BIP_DISK_NOCHECK = 8,
1: - BIP_IP_CHECKSUM = 16,
1: + BIP_BLOCK_INTEGRITY = 1,
1: + BIP_MAPPED_INTEGRITY = 2,
1: + BIP_CTRL_NOCHECK = 4,
1: + BIP_DISK_NOCHECK = 8,
1: + BIP_IP_CHECKSUM = 16,
1: };
1:
1: enum t10_dif_type {
1: - T10_PI_TYPE0_PROTECTION = 0,
1: - T10_PI_TYPE1_PROTECTION = 1,
1: - T10_PI_TYPE2_PROTECTION = 2,
1: - T10_PI_TYPE3_PROTECTION = 3,
1: + T10_PI_TYPE0_PROTECTION = 0,
1: + T10_PI_TYPE1_PROTECTION = 1,
1: + T10_PI_TYPE2_PROTECTION = 2,
1: + T10_PI_TYPE3_PROTECTION = 3,
1: };
1:
1: enum scsi_prot_flags {
1: - SCSI_PROT_TRANSFER_PI = 1,
1: - SCSI_PROT_GUARD_CHECK = 2,
1: - SCSI_PROT_REF_CHECK = 4,
1: - SCSI_PROT_REF_INCREMENT = 8,
1: - SCSI_PROT_IP_CHECKSUM = 16,
1: + SCSI_PROT_TRANSFER_PI = 1,
1: + SCSI_PROT_GUARD_CHECK = 2,
1: + SCSI_PROT_REF_CHECK = 4,
1: + SCSI_PROT_REF_INCREMENT = 8,
1: + SCSI_PROT_IP_CHECKSUM = 16,
1: };
1:
1: enum {
1: - SD_EXT_CDB_SIZE = 32,
1: - SD_MEMPOOL_SIZE = 2,
1: + SD_EXT_CDB_SIZE = 32,
1: + SD_MEMPOOL_SIZE = 2,
1: };
1:
1: enum {
1: - SD_DEF_XFER_BLOCKS = 65535,
1: - SD_MAX_XFER_BLOCKS = -1,
1: - SD_MAX_WS10_BLOCKS = 65535,
1: - SD_MAX_WS16_BLOCKS = 8388607,
1: + SD_DEF_XFER_BLOCKS = 65535,
1: + SD_MAX_XFER_BLOCKS = -1,
1: + SD_MAX_WS10_BLOCKS = 65535,
1: + SD_MAX_WS16_BLOCKS = 8388607,
1: };
1:
1: enum {
1: - SD_LBP_FULL = 0,
1: - SD_LBP_UNMAP = 1,
1: - SD_LBP_WS16 = 2,
1: - SD_LBP_WS10 = 3,
1: - SD_LBP_ZERO = 4,
1: - SD_LBP_DISABLE = 5,
1: + SD_LBP_FULL = 0,
1: + SD_LBP_UNMAP = 1,
1: + SD_LBP_WS16 = 2,
1: + SD_LBP_WS10 = 3,
1: + SD_LBP_ZERO = 4,
1: + SD_LBP_DISABLE = 5,
1: };
1:
1: enum {
1: - SD_ZERO_WRITE = 0,
1: - SD_ZERO_WS = 1,
1: - SD_ZERO_WS16_UNMAP = 2,
1: - SD_ZERO_WS10_UNMAP = 3,
1: + SD_ZERO_WRITE = 0,
1: + SD_ZERO_WS = 1,
1: + SD_ZERO_WS16_UNMAP = 2,
1: + SD_ZERO_WS10_UNMAP = 3,
1: };
1:
1: struct opal_dev;
1:
1: struct scsi_disk {
1: - struct scsi_driver *driver;
1: - struct scsi_device *device;
1: - struct device dev;
1: - struct gendisk *disk;
1: - struct opal_dev *opal_dev;
1: - atomic_t openers;
1: - sector_t capacity;
1: - u32 max_xfer_blocks;
1: - u32 opt_xfer_blocks;
1: - u32 max_ws_blocks;
1: - u32 max_unmap_blocks;
1: - u32 unmap_granularity;
1: - u32 unmap_alignment;
1: - u32 index;
1: - unsigned int physical_block_size;
1: - unsigned int max_medium_access_timeouts;
1: - unsigned int medium_access_timed_out;
1: - u8 media_present;
1: - u8 write_prot;
1: - u8 protection_type;
1: - u8 provisioning_mode;
1: - u8 zeroing_mode;
1: - unsigned int ATO: 1;
1: - unsigned int cache_override: 1;
1: - unsigned int WCE: 1;
1: - unsigned int RCD: 1;
1: - unsigned int DPOFUA: 1;
1: - unsigned int first_scan: 1;
1: - unsigned int lbpme: 1;
1: - unsigned int lbprz: 1;
1: - unsigned int lbpu: 1;
1: - unsigned int lbpws: 1;
1: - unsigned int lbpws10: 1;
1: - unsigned int lbpvpd: 1;
1: - unsigned int ws10: 1;
1: - unsigned int ws16: 1;
1: - unsigned int rc_basis: 2;
1: - unsigned int zoned: 2;
1: - unsigned int urswrz: 1;
1: - unsigned int security: 1;
1: - unsigned int ignore_medium_access_errors: 1;
1: + struct scsi_driver *driver;
1: + struct scsi_device *device;
1: + struct device dev;
1: + struct gendisk *disk;
1: + struct opal_dev *opal_dev;
1: + atomic_t openers;
1: + sector_t capacity;
1: + u32 max_xfer_blocks;
1: + u32 opt_xfer_blocks;
1: + u32 max_ws_blocks;
1: + u32 max_unmap_blocks;
1: + u32 unmap_granularity;
1: + u32 unmap_alignment;
1: + u32 index;
1: + unsigned int physical_block_size;
1: + unsigned int max_medium_access_timeouts;
1: + unsigned int medium_access_timed_out;
1: + u8 media_present;
1: + u8 write_prot;
1: + u8 protection_type;
1: + u8 provisioning_mode;
1: + u8 zeroing_mode;
1: + unsigned int ATO : 1;
1: + unsigned int cache_override : 1;
1: + unsigned int WCE : 1;
1: + unsigned int RCD : 1;
1: + unsigned int DPOFUA : 1;
1: + unsigned int first_scan : 1;
1: + unsigned int lbpme : 1;
1: + unsigned int lbprz : 1;
1: + unsigned int lbpu : 1;
1: + unsigned int lbpws : 1;
1: + unsigned int lbpws10 : 1;
1: + unsigned int lbpvpd : 1;
1: + unsigned int ws10 : 1;
1: + unsigned int ws16 : 1;
1: + unsigned int rc_basis : 2;
1: + unsigned int zoned : 2;
1: + unsigned int urswrz : 1;
1: + unsigned int security : 1;
1: + unsigned int ignore_medium_access_errors : 1;
1: };
1:
1: struct cdrom_mcn {
1: - __u8 medium_catalog_number[14];
1: + __u8 medium_catalog_number[14];
1: };
1:
1: struct packet_command {
1: - unsigned char cmd[12];
1: - unsigned char *buffer;
1: - unsigned int buflen;
1: - int stat;
1: - struct scsi_sense_hdr *sshdr;
1: - unsigned char data_direction;
1: - int quiet;
1: - int timeout;
1: - void *reserved[1];
1: + unsigned char cmd[12];
1: + unsigned char *buffer;
1: + unsigned int buflen;
1: + int stat;
1: + struct scsi_sense_hdr *sshdr;
1: + unsigned char data_direction;
1: + int quiet;
1: + int timeout;
1: + void *reserved[1];
1: };
1:
1: struct cdrom_device_ops;
1:
1: struct cdrom_device_info {
1: - const struct cdrom_device_ops *ops;
1: - struct list_head list;
1: - struct gendisk *disk;
1: - void *handle;
1: - int mask;
1: - int speed;
1: - int capacity;
1: - unsigned int options: 30;
1: - unsigned int mc_flags: 2;
1: - unsigned int vfs_events;
1: - unsigned int ioctl_events;
1: - int use_count;
1: - char name[20];
1: - __u8 sanyo_slot: 2;
1: - __u8 keeplocked: 1;
1: - __u8 reserved: 5;
1: - int cdda_method;
1: - __u8 last_sense;
1: - __u8 media_written;
1: - short unsigned int mmc3_profile;
1: - int for_data;
1: - int (*exit)(struct cdrom_device_info *);
1: - int mrw_mode_page;
1: + const struct cdrom_device_ops *ops;
1: + struct list_head list;
1: + struct gendisk *disk;
1: + void *handle;
1: + int mask;
1: + int speed;
1: + int capacity;
1: + unsigned int options : 30;
1: + unsigned int mc_flags : 2;
1: + unsigned int vfs_events;
1: + unsigned int ioctl_events;
1: + int use_count;
1: + char name[20];
1: + __u8 sanyo_slot : 2;
1: + __u8 keeplocked : 1;
1: + __u8 reserved : 5;
1: + int cdda_method;
1: + __u8 last_sense;
1: + __u8 media_written;
1: + short unsigned int mmc3_profile;
1: + int for_data;
1: + int (*exit)(struct cdrom_device_info *);
1: + int mrw_mode_page;
1: };
1:
1: struct cdrom_device_ops {
1: - int (*open)(struct cdrom_device_info *, int);
1: - void (*release)(struct cdrom_device_info *);
1: - int (*drive_status)(struct cdrom_device_info *, int);
1: - unsigned int (*check_events)(struct cdrom_device_info *, unsigned int, int);
1: - int (*media_changed)(struct cdrom_device_info *, int);
1: - int (*tray_move)(struct cdrom_device_info *, int);
1: - int (*lock_door)(struct cdrom_device_info *, int);
1: - int (*select_speed)(struct cdrom_device_info *, int);
1: - int (*select_disc)(struct cdrom_device_info *, int);
1: - int (*get_last_session)(struct cdrom_device_info *, struct cdrom_multisession *);
1: - int (*get_mcn)(struct cdrom_device_info *, struct cdrom_mcn *);
1: - int (*reset)(struct cdrom_device_info *);
1: - int (*audio_ioctl)(struct cdrom_device_info *, unsigned int, void *);
1: - const int capability;
1: - int (*generic_packet)(struct cdrom_device_info *, struct packet_command *);
1: -};
1: -
1: -enum {
1: - mechtype_caddy = 0,
1: - mechtype_tray = 1,
1: - mechtype_popup = 2,
1: - mechtype_individual_changer = 4,
1: - mechtype_cartridge_changer = 5,
1: + int (*open)(struct cdrom_device_info *, int);
1: + void (*release)(struct cdrom_device_info *);
1: + int (*drive_status)(struct cdrom_device_info *, int);
1: + unsigned int (*check_events)(struct cdrom_device_info *, unsigned int, int);
1: + int (*media_changed)(struct cdrom_device_info *, int);
1: + int (*tray_move)(struct cdrom_device_info *, int);
1: + int (*lock_door)(struct cdrom_device_info *, int);
1: + int (*select_speed)(struct cdrom_device_info *, int);
1: + int (*select_disc)(struct cdrom_device_info *, int);
1: + int (*get_last_session)(struct cdrom_device_info *,
1: + struct cdrom_multisession *);
1: + int (*get_mcn)(struct cdrom_device_info *, struct cdrom_mcn *);
1: + int (*reset)(struct cdrom_device_info *);
1: + int (*audio_ioctl)(struct cdrom_device_info *, unsigned int, void *);
1: + const int capability;
1: + int (*generic_packet)(struct cdrom_device_info *, struct packet_command *);
1: +};
1: +
1: +enum {
1: + mechtype_caddy = 0,
1: + mechtype_tray = 1,
1: + mechtype_popup = 2,
1: + mechtype_individual_changer = 4,
1: + mechtype_cartridge_changer = 5,
1: };
1:
1: struct event_header {
1: - __be16 data_len;
1: - __u8 notification_class: 3;
1: - __u8 reserved1: 4;
1: - __u8 nea: 1;
1: - __u8 supp_event_class;
1: + __be16 data_len;
1: + __u8 notification_class : 3;
1: + __u8 reserved1 : 4;
1: + __u8 nea : 1;
1: + __u8 supp_event_class;
1: };
1:
1: struct media_event_desc {
1: - __u8 media_event_code: 4;
1: - __u8 reserved1: 4;
1: - __u8 door_open: 1;
1: - __u8 media_present: 1;
1: - __u8 reserved2: 6;
1: - __u8 start_slot;
1: - __u8 end_slot;
1: + __u8 media_event_code : 4;
1: + __u8 reserved1 : 4;
1: + __u8 door_open : 1;
1: + __u8 media_present : 1;
1: + __u8 reserved2 : 6;
1: + __u8 start_slot;
1: + __u8 end_slot;
1: };
1:
1: struct scsi_cd {
1: - struct scsi_driver *driver;
1: - unsigned int capacity;
1: - struct scsi_device *device;
1: - unsigned int vendor;
1: - long unsigned int ms_offset;
1: - unsigned int writeable: 1;
1: - unsigned int use: 1;
1: - unsigned int xa_flag: 1;
1: - unsigned int readcd_known: 1;
1: - unsigned int readcd_cdda: 1;
1: - unsigned int media_present: 1;
1: - int tur_mismatch;
1: - bool tur_changed: 1;
1: - bool get_event_changed: 1;
1: - bool ignore_get_event: 1;
1: - struct cdrom_device_info cdi;
1: - struct kref kref;
1: - struct gendisk *disk;
1: + struct scsi_driver *driver;
1: + unsigned int capacity;
1: + struct scsi_device *device;
1: + unsigned int vendor;
1: + long unsigned int ms_offset;
1: + unsigned int writeable : 1;
1: + unsigned int use : 1;
1: + unsigned int xa_flag : 1;
1: + unsigned int readcd_known : 1;
1: + unsigned int readcd_cdda : 1;
1: + unsigned int media_present : 1;
1: + int tur_mismatch;
1: + bool tur_changed : 1;
1: + bool get_event_changed : 1;
1: + bool ignore_get_event : 1;
1: + struct cdrom_device_info cdi;
1: + struct kref kref;
1: + struct gendisk *disk;
1: };
1:
1: typedef struct scsi_cd Scsi_CD;
1:
1: struct cdrom_ti {
1: - __u8 cdti_trk0;
1: - __u8 cdti_ind0;
1: - __u8 cdti_trk1;
1: - __u8 cdti_ind1;
1: + __u8 cdti_trk0;
1: + __u8 cdti_ind0;
1: + __u8 cdti_trk1;
1: + __u8 cdti_ind1;
1: };
1:
1: struct cdrom_tochdr {
1: - __u8 cdth_trk0;
1: - __u8 cdth_trk1;
1: + __u8 cdth_trk0;
1: + __u8 cdth_trk1;
1: };
1:
1: struct ccs_modesel_head {
1: - __u8 _r1;
1: - __u8 medium;
1: - __u8 _r2;
1: - __u8 block_desc_length;
1: - __u8 density;
1: - __u8 number_blocks_hi;
1: - __u8 number_blocks_med;
1: - __u8 number_blocks_lo;
1: - __u8 _r3;
1: - __u8 block_length_hi;
1: - __u8 block_length_med;
1: - __u8 block_length_lo;
1: + __u8 _r1;
1: + __u8 medium;
1: + __u8 _r2;
1: + __u8 block_desc_length;
1: + __u8 density;
1: + __u8 number_blocks_hi;
1: + __u8 number_blocks_med;
1: + __u8 number_blocks_lo;
1: + __u8 _r3;
1: + __u8 block_length_hi;
1: + __u8 block_length_med;
1: + __u8 block_length_lo;
1: };
1:
1: typedef struct sg_io_hdr sg_io_hdr_t;
1:
1: struct sg_scsi_id {
1: - int host_no;
1: - int channel;
1: - int scsi_id;
1: - int lun;
1: - int scsi_type;
1: - short int h_cmd_per_lun;
1: - short int d_queue_depth;
1: - int unused[2];
1: + int host_no;
1: + int channel;
1: + int scsi_id;
1: + int lun;
1: + int scsi_type;
1: + short int h_cmd_per_lun;
1: + short int d_queue_depth;
1: + int unused[2];
1: };
1:
1: typedef struct sg_scsi_id sg_scsi_id_t;
1:
1: struct sg_req_info {
1: - char req_state;
1: - char orphan;
1: - char sg_io_owned;
1: - char problem;
1: - int pack_id;
1: - void *usr_ptr;
1: - unsigned int duration;
1: - int unused;
1: + char req_state;
1: + char orphan;
1: + char sg_io_owned;
1: + char problem;
1: + int pack_id;
1: + void *usr_ptr;
1: + unsigned int duration;
1: + int unused;
1: };
1:
1: typedef struct sg_req_info sg_req_info_t;
1:
1: struct sg_header {
1: - int pack_len;
1: - int reply_len;
1: - int pack_id;
1: - int result;
1: - unsigned int twelve_byte: 1;
1: - unsigned int target_status: 5;
1: - unsigned int host_status: 8;
1: - unsigned int driver_status: 8;
1: - unsigned int other_flags: 10;
1: - unsigned char sense_buffer[16];
1: + int pack_len;
1: + int reply_len;
1: + int pack_id;
1: + int result;
1: + unsigned int twelve_byte : 1;
1: + unsigned int target_status : 5;
1: + unsigned int host_status : 8;
1: + unsigned int driver_status : 8;
1: + unsigned int other_flags : 10;
1: + unsigned char sense_buffer[16];
1: };
1:
1: struct sg_scatter_hold {
1: - short unsigned int k_use_sg;
1: - unsigned int sglist_len;
1: - unsigned int bufflen;
1: - struct page **pages;
1: - int page_order;
1: - char dio_in_use;
1: - unsigned char cmd_opcode;
1: + short unsigned int k_use_sg;
1: + unsigned int sglist_len;
1: + unsigned int bufflen;
1: + struct page **pages;
1: + int page_order;
1: + char dio_in_use;
1: + unsigned char cmd_opcode;
1: };
1:
1: typedef struct sg_scatter_hold Sg_scatter_hold;
1: @@ -79623,18 +80248,18 @@ typedef struct sg_scatter_hold Sg_scatter_hold;
1: struct sg_fd;
1:
1: struct sg_request {
1: - struct list_head entry;
1: - struct sg_fd *parentfp;
1: - Sg_scatter_hold data;
1: - sg_io_hdr_t header;
1: - unsigned char sense_b[96];
1: - char res_used;
1: - char orphan;
1: - char sg_io_owned;
1: - char done;
1: - struct request *rq;
1: - struct bio *bio;
1: - struct execute_work ew;
1: + struct list_head entry;
1: + struct sg_fd *parentfp;
1: + Sg_scatter_hold data;
1: + sg_io_hdr_t header;
1: + unsigned char sense_b[96];
1: + char res_used;
1: + char orphan;
1: + char sg_io_owned;
1: + char done;
1: + struct request *rq;
1: + struct bio *bio;
1: + struct execute_work ew;
1: };
1:
1: typedef struct sg_request Sg_request;
1: @@ -79642,42 +80267,42 @@ typedef struct sg_request Sg_request;
1: struct sg_device;
1:
1: struct sg_fd {
1: - struct list_head sfd_siblings;
1: - struct sg_device *parentdp;
1: - wait_queue_head_t read_wait;
1: - rwlock_t rq_list_lock;
1: - struct mutex f_mutex;
1: - int timeout;
1: - int timeout_user;
1: - Sg_scatter_hold reserve;
1: - struct list_head rq_list;
1: - struct fasync_struct *async_qp;
1: - Sg_request req_arr[16];
1: - char force_packid;
1: - char cmd_q;
1: - unsigned char next_cmd_len;
1: - char keep_orphan;
1: - char mmap_called;
1: - char res_in_use;
1: - struct kref f_ref;
1: - struct execute_work ew;
1: + struct list_head sfd_siblings;
1: + struct sg_device *parentdp;
1: + wait_queue_head_t read_wait;
1: + rwlock_t rq_list_lock;
1: + struct mutex f_mutex;
1: + int timeout;
1: + int timeout_user;
1: + Sg_scatter_hold reserve;
1: + struct list_head rq_list;
1: + struct fasync_struct *async_qp;
1: + Sg_request req_arr[16];
1: + char force_packid;
1: + char cmd_q;
1: + unsigned char next_cmd_len;
1: + char keep_orphan;
1: + char mmap_called;
1: + char res_in_use;
1: + struct kref f_ref;
1: + struct execute_work ew;
1: };
1:
1: struct sg_device {
1: - struct scsi_device *device;
1: - wait_queue_head_t open_wait;
1: - struct mutex open_rel_lock;
1: - int sg_tablesize;
1: - u32 index;
1: - struct list_head sfds;
1: - rwlock_t sfd_lock;
1: - atomic_t detaching;
1: - bool exclude;
1: - int open_cnt;
1: - char sgdebug;
1: - struct gendisk *disk;
1: - struct cdev *cdev;
1: - struct kref d_ref;
1: + struct scsi_device *device;
1: + wait_queue_head_t open_wait;
1: + struct mutex open_rel_lock;
1: + int sg_tablesize;
1: + u32 index;
1: + struct list_head sfds;
1: + rwlock_t sfd_lock;
1: + atomic_t detaching;
1: + bool exclude;
1: + int open_cnt;
1: + char sgdebug;
1: + struct gendisk *disk;
1: + struct cdev *cdev;
1: + struct kref d_ref;
1: };
1:
1: typedef struct sg_fd Sg_fd;
1: @@ -79685,730 +80310,730 @@ typedef struct sg_fd Sg_fd;
1: typedef struct sg_device Sg_device;
1:
1: struct compat_sg_req_info {
1: - char req_state;
1: - char orphan;
1: - char sg_io_owned;
1: - char problem;
1: - int pack_id;
1: - compat_uptr_t usr_ptr;
1: - unsigned int duration;
1: - int unused;
1: + char req_state;
1: + char orphan;
1: + char sg_io_owned;
1: + char problem;
1: + int pack_id;
1: + compat_uptr_t usr_ptr;
1: + unsigned int duration;
1: + int unused;
1: };
1:
1: struct sg_proc_deviter {
1: - loff_t index;
1: - size_t max;
1: -};
1: -
1: -enum {
1: - ATA_MAX_DEVICES = 2,
1: - ATA_MAX_PRD = 256,
1: - ATA_SECT_SIZE = 512,
1: - ATA_MAX_SECTORS_128 = 128,
1: - ATA_MAX_SECTORS = 256,
1: - ATA_MAX_SECTORS_1024 = 1024,
1: - ATA_MAX_SECTORS_LBA48 = 65535,
1: - ATA_MAX_SECTORS_TAPE = 65535,
1: - ATA_MAX_TRIM_RNUM = 64,
1: - ATA_ID_WORDS = 256,
1: - ATA_ID_CONFIG = 0,
1: - ATA_ID_CYLS = 1,
1: - ATA_ID_HEADS = 3,
1: - ATA_ID_SECTORS = 6,
1: - ATA_ID_SERNO = 10,
1: - ATA_ID_BUF_SIZE = 21,
1: - ATA_ID_FW_REV = 23,
1: - ATA_ID_PROD = 27,
1: - ATA_ID_MAX_MULTSECT = 47,
1: - ATA_ID_DWORD_IO = 48,
1: - ATA_ID_TRUSTED = 48,
1: - ATA_ID_CAPABILITY = 49,
1: - ATA_ID_OLD_PIO_MODES = 51,
1: - ATA_ID_OLD_DMA_MODES = 52,
1: - ATA_ID_FIELD_VALID = 53,
1: - ATA_ID_CUR_CYLS = 54,
1: - ATA_ID_CUR_HEADS = 55,
1: - ATA_ID_CUR_SECTORS = 56,
1: - ATA_ID_MULTSECT = 59,
1: - ATA_ID_LBA_CAPACITY = 60,
1: - ATA_ID_SWDMA_MODES = 62,
1: - ATA_ID_MWDMA_MODES = 63,
1: - ATA_ID_PIO_MODES = 64,
1: - ATA_ID_EIDE_DMA_MIN = 65,
1: - ATA_ID_EIDE_DMA_TIME = 66,
1: - ATA_ID_EIDE_PIO = 67,
1: - ATA_ID_EIDE_PIO_IORDY = 68,
1: - ATA_ID_ADDITIONAL_SUPP = 69,
1: - ATA_ID_QUEUE_DEPTH = 75,
1: - ATA_ID_SATA_CAPABILITY = 76,
1: - ATA_ID_SATA_CAPABILITY_2 = 77,
1: - ATA_ID_FEATURE_SUPP = 78,
1: - ATA_ID_MAJOR_VER = 80,
1: - ATA_ID_COMMAND_SET_1 = 82,
1: - ATA_ID_COMMAND_SET_2 = 83,
1: - ATA_ID_CFSSE = 84,
1: - ATA_ID_CFS_ENABLE_1 = 85,
1: - ATA_ID_CFS_ENABLE_2 = 86,
1: - ATA_ID_CSF_DEFAULT = 87,
1: - ATA_ID_UDMA_MODES = 88,
1: - ATA_ID_HW_CONFIG = 93,
1: - ATA_ID_SPG = 98,
1: - ATA_ID_LBA_CAPACITY_2 = 100,
1: - ATA_ID_SECTOR_SIZE = 106,
1: - ATA_ID_WWN = 108,
1: - ATA_ID_LOGICAL_SECTOR_SIZE = 117,
1: - ATA_ID_COMMAND_SET_3 = 119,
1: - ATA_ID_COMMAND_SET_4 = 120,
1: - ATA_ID_LAST_LUN = 126,
1: - ATA_ID_DLF = 128,
1: - ATA_ID_CSFO = 129,
1: - ATA_ID_CFA_POWER = 160,
1: - ATA_ID_CFA_KEY_MGMT = 162,
1: - ATA_ID_CFA_MODES = 163,
1: - ATA_ID_DATA_SET_MGMT = 169,
1: - ATA_ID_SCT_CMD_XPORT = 206,
1: - ATA_ID_ROT_SPEED = 217,
1: - ATA_ID_PIO4 = 2,
1: - ATA_ID_SERNO_LEN = 20,
1: - ATA_ID_FW_REV_LEN = 8,
1: - ATA_ID_PROD_LEN = 40,
1: - ATA_ID_WWN_LEN = 8,
1: - ATA_PCI_CTL_OFS = 2,
1: - ATA_PIO0 = 1,
1: - ATA_PIO1 = 3,
1: - ATA_PIO2 = 7,
1: - ATA_PIO3 = 15,
1: - ATA_PIO4 = 31,
1: - ATA_PIO5 = 63,
1: - ATA_PIO6 = 127,
1: - ATA_PIO4_ONLY = 16,
1: - ATA_SWDMA0 = 1,
1: - ATA_SWDMA1 = 3,
1: - ATA_SWDMA2 = 7,
1: - ATA_SWDMA2_ONLY = 4,
1: - ATA_MWDMA0 = 1,
1: - ATA_MWDMA1 = 3,
1: - ATA_MWDMA2 = 7,
1: - ATA_MWDMA3 = 15,
1: - ATA_MWDMA4 = 31,
1: - ATA_MWDMA12_ONLY = 6,
1: - ATA_MWDMA2_ONLY = 4,
1: - ATA_UDMA0 = 1,
1: - ATA_UDMA1 = 3,
1: - ATA_UDMA2 = 7,
1: - ATA_UDMA3 = 15,
1: - ATA_UDMA4 = 31,
1: - ATA_UDMA5 = 63,
1: - ATA_UDMA6 = 127,
1: - ATA_UDMA7 = 255,
1: - ATA_UDMA24_ONLY = 20,
1: - ATA_UDMA_MASK_40C = 7,
1: - ATA_PRD_SZ = 8,
1: - ATA_PRD_TBL_SZ = 2048,
1: - ATA_PRD_EOT = -2147483648,
1: - ATA_DMA_TABLE_OFS = 4,
1: - ATA_DMA_STATUS = 2,
1: - ATA_DMA_CMD = 0,
1: - ATA_DMA_WR = 8,
1: - ATA_DMA_START = 1,
1: - ATA_DMA_INTR = 4,
1: - ATA_DMA_ERR = 2,
1: - ATA_DMA_ACTIVE = 1,
1: - ATA_HOB = 128,
1: - ATA_NIEN = 2,
1: - ATA_LBA = 64,
1: - ATA_DEV1 = 16,
1: - ATA_DEVICE_OBS = 160,
1: - ATA_DEVCTL_OBS = 8,
1: - ATA_BUSY = 128,
1: - ATA_DRDY = 64,
1: - ATA_DF = 32,
1: - ATA_DSC = 16,
1: - ATA_DRQ = 8,
1: - ATA_CORR = 4,
1: - ATA_SENSE = 2,
1: - ATA_ERR = 1,
1: - ATA_SRST = 4,
1: - ATA_ICRC = 128,
1: - ATA_BBK = 128,
1: - ATA_UNC = 64,
1: - ATA_MC = 32,
1: - ATA_IDNF = 16,
1: - ATA_MCR = 8,
1: - ATA_ABORTED = 4,
1: - ATA_TRK0NF = 2,
1: - ATA_AMNF = 1,
1: - ATAPI_LFS = 240,
1: - ATAPI_EOM = 2,
1: - ATAPI_ILI = 1,
1: - ATAPI_IO = 2,
1: - ATAPI_COD = 1,
1: - ATA_REG_DATA = 0,
1: - ATA_REG_ERR = 1,
1: - ATA_REG_NSECT = 2,
1: - ATA_REG_LBAL = 3,
1: - ATA_REG_LBAM = 4,
1: - ATA_REG_LBAH = 5,
1: - ATA_REG_DEVICE = 6,
1: - ATA_REG_STATUS = 7,
1: - ATA_REG_FEATURE = 1,
1: - ATA_REG_CMD = 7,
1: - ATA_REG_BYTEL = 4,
1: - ATA_REG_BYTEH = 5,
1: - ATA_REG_DEVSEL = 6,
1: - ATA_REG_IRQ = 2,
1: - ATA_CMD_DEV_RESET = 8,
1: - ATA_CMD_CHK_POWER = 229,
1: - ATA_CMD_STANDBY = 226,
1: - ATA_CMD_IDLE = 227,
1: - ATA_CMD_EDD = 144,
1: - ATA_CMD_DOWNLOAD_MICRO = 146,
1: - ATA_CMD_DOWNLOAD_MICRO_DMA = 147,
1: - ATA_CMD_NOP = 0,
1: - ATA_CMD_FLUSH = 231,
1: - ATA_CMD_FLUSH_EXT = 234,
1: - ATA_CMD_ID_ATA = 236,
1: - ATA_CMD_ID_ATAPI = 161,
1: - ATA_CMD_SERVICE = 162,
1: - ATA_CMD_READ = 200,
1: - ATA_CMD_READ_EXT = 37,
1: - ATA_CMD_READ_QUEUED = 38,
1: - ATA_CMD_READ_STREAM_EXT = 43,
1: - ATA_CMD_READ_STREAM_DMA_EXT = 42,
1: - ATA_CMD_WRITE = 202,
1: - ATA_CMD_WRITE_EXT = 53,
1: - ATA_CMD_WRITE_QUEUED = 54,
1: - ATA_CMD_WRITE_STREAM_EXT = 59,
1: - ATA_CMD_WRITE_STREAM_DMA_EXT = 58,
1: - ATA_CMD_WRITE_FUA_EXT = 61,
1: - ATA_CMD_WRITE_QUEUED_FUA_EXT = 62,
1: - ATA_CMD_FPDMA_READ = 96,
1: - ATA_CMD_FPDMA_WRITE = 97,
1: - ATA_CMD_NCQ_NON_DATA = 99,
1: - ATA_CMD_FPDMA_SEND = 100,
1: - ATA_CMD_FPDMA_RECV = 101,
1: - ATA_CMD_PIO_READ = 32,
1: - ATA_CMD_PIO_READ_EXT = 36,
1: - ATA_CMD_PIO_WRITE = 48,
1: - ATA_CMD_PIO_WRITE_EXT = 52,
1: - ATA_CMD_READ_MULTI = 196,
1: - ATA_CMD_READ_MULTI_EXT = 41,
1: - ATA_CMD_WRITE_MULTI = 197,
1: - ATA_CMD_WRITE_MULTI_EXT = 57,
1: - ATA_CMD_WRITE_MULTI_FUA_EXT = 206,
1: - ATA_CMD_SET_FEATURES = 239,
1: - ATA_CMD_SET_MULTI = 198,
1: - ATA_CMD_PACKET = 160,
1: - ATA_CMD_VERIFY = 64,
1: - ATA_CMD_VERIFY_EXT = 66,
1: - ATA_CMD_WRITE_UNCORR_EXT = 69,
1: - ATA_CMD_STANDBYNOW1 = 224,
1: - ATA_CMD_IDLEIMMEDIATE = 225,
1: - ATA_CMD_SLEEP = 230,
1: - ATA_CMD_INIT_DEV_PARAMS = 145,
1: - ATA_CMD_READ_NATIVE_MAX = 248,
1: - ATA_CMD_READ_NATIVE_MAX_EXT = 39,
1: - ATA_CMD_SET_MAX = 249,
1: - ATA_CMD_SET_MAX_EXT = 55,
1: - ATA_CMD_READ_LOG_EXT = 47,
1: - ATA_CMD_WRITE_LOG_EXT = 63,
1: - ATA_CMD_READ_LOG_DMA_EXT = 71,
1: - ATA_CMD_WRITE_LOG_DMA_EXT = 87,
1: - ATA_CMD_TRUSTED_NONDATA = 91,
1: - ATA_CMD_TRUSTED_RCV = 92,
1: - ATA_CMD_TRUSTED_RCV_DMA = 93,
1: - ATA_CMD_TRUSTED_SND = 94,
1: - ATA_CMD_TRUSTED_SND_DMA = 95,
1: - ATA_CMD_PMP_READ = 228,
1: - ATA_CMD_PMP_READ_DMA = 233,
1: - ATA_CMD_PMP_WRITE = 232,
1: - ATA_CMD_PMP_WRITE_DMA = 235,
1: - ATA_CMD_CONF_OVERLAY = 177,
1: - ATA_CMD_SEC_SET_PASS = 241,
1: - ATA_CMD_SEC_UNLOCK = 242,
1: - ATA_CMD_SEC_ERASE_PREP = 243,
1: - ATA_CMD_SEC_ERASE_UNIT = 244,
1: - ATA_CMD_SEC_FREEZE_LOCK = 245,
1: - ATA_CMD_SEC_DISABLE_PASS = 246,
1: - ATA_CMD_CONFIG_STREAM = 81,
1: - ATA_CMD_SMART = 176,
1: - ATA_CMD_MEDIA_LOCK = 222,
1: - ATA_CMD_MEDIA_UNLOCK = 223,
1: - ATA_CMD_DSM = 6,
1: - ATA_CMD_CHK_MED_CRD_TYP = 209,
1: - ATA_CMD_CFA_REQ_EXT_ERR = 3,
1: - ATA_CMD_CFA_WRITE_NE = 56,
1: - ATA_CMD_CFA_TRANS_SECT = 135,
1: - ATA_CMD_CFA_ERASE = 192,
1: - ATA_CMD_CFA_WRITE_MULT_NE = 205,
1: - ATA_CMD_REQ_SENSE_DATA = 11,
1: - ATA_CMD_SANITIZE_DEVICE = 180,
1: - ATA_CMD_ZAC_MGMT_IN = 74,
1: - ATA_CMD_ZAC_MGMT_OUT = 159,
1: - ATA_CMD_RESTORE = 16,
1: - ATA_SUBCMD_FPDMA_RECV_RD_LOG_DMA_EXT = 1,
1: - ATA_SUBCMD_FPDMA_RECV_ZAC_MGMT_IN = 2,
1: - ATA_SUBCMD_FPDMA_SEND_DSM = 0,
1: - ATA_SUBCMD_FPDMA_SEND_WR_LOG_DMA_EXT = 2,
1: - ATA_SUBCMD_NCQ_NON_DATA_ABORT_QUEUE = 0,
1: - ATA_SUBCMD_NCQ_NON_DATA_SET_FEATURES = 5,
1: - ATA_SUBCMD_NCQ_NON_DATA_ZERO_EXT = 6,
1: - ATA_SUBCMD_NCQ_NON_DATA_ZAC_MGMT_OUT = 7,
1: - ATA_SUBCMD_ZAC_MGMT_IN_REPORT_ZONES = 0,
1: - ATA_SUBCMD_ZAC_MGMT_OUT_CLOSE_ZONE = 1,
1: - ATA_SUBCMD_ZAC_MGMT_OUT_FINISH_ZONE = 2,
1: - ATA_SUBCMD_ZAC_MGMT_OUT_OPEN_ZONE = 3,
1: - ATA_SUBCMD_ZAC_MGMT_OUT_RESET_WRITE_POINTER = 4,
1: - ATA_LOG_DIRECTORY = 0,
1: - ATA_LOG_SATA_NCQ = 16,
1: - ATA_LOG_NCQ_NON_DATA = 18,
1: - ATA_LOG_NCQ_SEND_RECV = 19,
1: - ATA_LOG_IDENTIFY_DEVICE = 48,
1: - ATA_LOG_SECURITY = 6,
1: - ATA_LOG_SATA_SETTINGS = 8,
1: - ATA_LOG_ZONED_INFORMATION = 9,
1: - ATA_LOG_DEVSLP_OFFSET = 48,
1: - ATA_LOG_DEVSLP_SIZE = 8,
1: - ATA_LOG_DEVSLP_MDAT = 0,
1: - ATA_LOG_DEVSLP_MDAT_MASK = 31,
1: - ATA_LOG_DEVSLP_DETO = 1,
1: - ATA_LOG_DEVSLP_VALID = 7,
1: - ATA_LOG_DEVSLP_VALID_MASK = 128,
1: - ATA_LOG_NCQ_PRIO_OFFSET = 9,
1: - ATA_LOG_NCQ_SEND_RECV_SUBCMDS_OFFSET = 0,
1: - ATA_LOG_NCQ_SEND_RECV_SUBCMDS_DSM = 1,
1: - ATA_LOG_NCQ_SEND_RECV_DSM_OFFSET = 4,
1: - ATA_LOG_NCQ_SEND_RECV_DSM_TRIM = 1,
1: - ATA_LOG_NCQ_SEND_RECV_RD_LOG_OFFSET = 8,
1: - ATA_LOG_NCQ_SEND_RECV_RD_LOG_SUPPORTED = 1,
1: - ATA_LOG_NCQ_SEND_RECV_WR_LOG_OFFSET = 12,
1: - ATA_LOG_NCQ_SEND_RECV_WR_LOG_SUPPORTED = 1,
1: - ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_OFFSET = 16,
1: - ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_OUT_SUPPORTED = 1,
1: - ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_IN_SUPPORTED = 2,
1: - ATA_LOG_NCQ_SEND_RECV_SIZE = 20,
1: - ATA_LOG_NCQ_NON_DATA_SUBCMDS_OFFSET = 0,
1: - ATA_LOG_NCQ_NON_DATA_ABORT_OFFSET = 0,
1: - ATA_LOG_NCQ_NON_DATA_ABORT_NCQ = 1,
1: - ATA_LOG_NCQ_NON_DATA_ABORT_ALL = 2,
1: - ATA_LOG_NCQ_NON_DATA_ABORT_STREAMING = 4,
1: - ATA_LOG_NCQ_NON_DATA_ABORT_NON_STREAMING = 8,
1: - ATA_LOG_NCQ_NON_DATA_ABORT_SELECTED = 16,
1: - ATA_LOG_NCQ_NON_DATA_ZAC_MGMT_OFFSET = 28,
1: - ATA_LOG_NCQ_NON_DATA_ZAC_MGMT_OUT = 1,
1: - ATA_LOG_NCQ_NON_DATA_SIZE = 64,
1: - ATA_CMD_READ_LONG = 34,
1: - ATA_CMD_READ_LONG_ONCE = 35,
1: - ATA_CMD_WRITE_LONG = 50,
1: - ATA_CMD_WRITE_LONG_ONCE = 51,
1: - SETFEATURES_XFER = 3,
1: - XFER_UDMA_7 = 71,
1: - XFER_UDMA_6 = 70,
1: - XFER_UDMA_5 = 69,
1: - XFER_UDMA_4 = 68,
1: - XFER_UDMA_3 = 67,
1: - XFER_UDMA_2 = 66,
1: - XFER_UDMA_1 = 65,
1: - XFER_UDMA_0 = 64,
1: - XFER_MW_DMA_4 = 36,
1: - XFER_MW_DMA_3 = 35,
1: - XFER_MW_DMA_2 = 34,
1: - XFER_MW_DMA_1 = 33,
1: - XFER_MW_DMA_0 = 32,
1: - XFER_SW_DMA_2 = 18,
1: - XFER_SW_DMA_1 = 17,
1: - XFER_SW_DMA_0 = 16,
1: - XFER_PIO_6 = 14,
1: - XFER_PIO_5 = 13,
1: - XFER_PIO_4 = 12,
1: - XFER_PIO_3 = 11,
1: - XFER_PIO_2 = 10,
1: - XFER_PIO_1 = 9,
1: - XFER_PIO_0 = 8,
1: - XFER_PIO_SLOW = 0,
1: - SETFEATURES_WC_ON = 2,
1: - SETFEATURES_WC_OFF = 130,
1: - SETFEATURES_RA_ON = 170,
1: - SETFEATURES_RA_OFF = 85,
1: - SETFEATURES_AAM_ON = 66,
1: - SETFEATURES_AAM_OFF = 194,
1: - SETFEATURES_SPINUP = 7,
1: - SETFEATURES_SPINUP_TIMEOUT = 30000,
1: - SETFEATURES_SATA_ENABLE = 16,
1: - SETFEATURES_SATA_DISABLE = 144,
1: - SATA_FPDMA_OFFSET = 1,
1: - SATA_FPDMA_AA = 2,
1: - SATA_DIPM = 3,
1: - SATA_FPDMA_IN_ORDER = 4,
1: - SATA_AN = 5,
1: - SATA_SSP = 6,
1: - SATA_DEVSLP = 9,
1: - SETFEATURE_SENSE_DATA = 195,
1: - ATA_SET_MAX_ADDR = 0,
1: - ATA_SET_MAX_PASSWD = 1,
1: - ATA_SET_MAX_LOCK = 2,
1: - ATA_SET_MAX_UNLOCK = 3,
1: - ATA_SET_MAX_FREEZE_LOCK = 4,
1: - ATA_SET_MAX_PASSWD_DMA = 5,
1: - ATA_SET_MAX_UNLOCK_DMA = 6,
1: - ATA_DCO_RESTORE = 192,
1: - ATA_DCO_FREEZE_LOCK = 193,
1: - ATA_DCO_IDENTIFY = 194,
1: - ATA_DCO_SET = 195,
1: - ATA_SMART_ENABLE = 216,
1: - ATA_SMART_READ_VALUES = 208,
1: - ATA_SMART_READ_THRESHOLDS = 209,
1: - ATA_DSM_TRIM = 1,
1: - ATA_SMART_LBAM_PASS = 79,
1: - ATA_SMART_LBAH_PASS = 194,
1: - ATAPI_PKT_DMA = 1,
1: - ATAPI_DMADIR = 4,
1: - ATAPI_CDB_LEN = 16,
1: - SATA_PMP_MAX_PORTS = 15,
1: - SATA_PMP_CTRL_PORT = 15,
1: - SATA_PMP_GSCR_DWORDS = 128,
1: - SATA_PMP_GSCR_PROD_ID = 0,
1: - SATA_PMP_GSCR_REV = 1,
1: - SATA_PMP_GSCR_PORT_INFO = 2,
1: - SATA_PMP_GSCR_ERROR = 32,
1: - SATA_PMP_GSCR_ERROR_EN = 33,
1: - SATA_PMP_GSCR_FEAT = 64,
1: - SATA_PMP_GSCR_FEAT_EN = 96,
1: - SATA_PMP_PSCR_STATUS = 0,
1: - SATA_PMP_PSCR_ERROR = 1,
1: - SATA_PMP_PSCR_CONTROL = 2,
1: - SATA_PMP_FEAT_BIST = 1,
1: - SATA_PMP_FEAT_PMREQ = 2,
1: - SATA_PMP_FEAT_DYNSSC = 4,
1: - SATA_PMP_FEAT_NOTIFY = 8,
1: - ATA_CBL_NONE = 0,
1: - ATA_CBL_PATA40 = 1,
1: - ATA_CBL_PATA80 = 2,
1: - ATA_CBL_PATA40_SHORT = 3,
1: - ATA_CBL_PATA_UNK = 4,
1: - ATA_CBL_PATA_IGN = 5,
1: - ATA_CBL_SATA = 6,
1: - SCR_STATUS = 0,
1: - SCR_ERROR = 1,
1: - SCR_CONTROL = 2,
1: - SCR_ACTIVE = 3,
1: - SCR_NOTIFICATION = 4,
1: - SERR_DATA_RECOVERED = 1,
1: - SERR_COMM_RECOVERED = 2,
1: - SERR_DATA = 256,
1: - SERR_PERSISTENT = 512,
1: - SERR_PROTOCOL = 1024,
1: - SERR_INTERNAL = 2048,
1: - SERR_PHYRDY_CHG = 65536,
1: - SERR_PHY_INT_ERR = 131072,
1: - SERR_COMM_WAKE = 262144,
1: - SERR_10B_8B_ERR = 524288,
1: - SERR_DISPARITY = 1048576,
1: - SERR_CRC = 2097152,
1: - SERR_HANDSHAKE = 4194304,
1: - SERR_LINK_SEQ_ERR = 8388608,
1: - SERR_TRANS_ST_ERROR = 16777216,
1: - SERR_UNRECOG_FIS = 33554432,
1: - SERR_DEV_XCHG = 67108864,
1: + loff_t index;
1: + size_t max;
1: +};
1: +
1: +enum {
1: + ATA_MAX_DEVICES = 2,
1: + ATA_MAX_PRD = 256,
1: + ATA_SECT_SIZE = 512,
1: + ATA_MAX_SECTORS_128 = 128,
1: + ATA_MAX_SECTORS = 256,
1: + ATA_MAX_SECTORS_1024 = 1024,
1: + ATA_MAX_SECTORS_LBA48 = 65535,
1: + ATA_MAX_SECTORS_TAPE = 65535,
1: + ATA_MAX_TRIM_RNUM = 64,
1: + ATA_ID_WORDS = 256,
1: + ATA_ID_CONFIG = 0,
1: + ATA_ID_CYLS = 1,
1: + ATA_ID_HEADS = 3,
1: + ATA_ID_SECTORS = 6,
1: + ATA_ID_SERNO = 10,
1: + ATA_ID_BUF_SIZE = 21,
1: + ATA_ID_FW_REV = 23,
1: + ATA_ID_PROD = 27,
1: + ATA_ID_MAX_MULTSECT = 47,
1: + ATA_ID_DWORD_IO = 48,
1: + ATA_ID_TRUSTED = 48,
1: + ATA_ID_CAPABILITY = 49,
1: + ATA_ID_OLD_PIO_MODES = 51,
1: + ATA_ID_OLD_DMA_MODES = 52,
1: + ATA_ID_FIELD_VALID = 53,
1: + ATA_ID_CUR_CYLS = 54,
1: + ATA_ID_CUR_HEADS = 55,
1: + ATA_ID_CUR_SECTORS = 56,
1: + ATA_ID_MULTSECT = 59,
1: + ATA_ID_LBA_CAPACITY = 60,
1: + ATA_ID_SWDMA_MODES = 62,
1: + ATA_ID_MWDMA_MODES = 63,
1: + ATA_ID_PIO_MODES = 64,
1: + ATA_ID_EIDE_DMA_MIN = 65,
1: + ATA_ID_EIDE_DMA_TIME = 66,
1: + ATA_ID_EIDE_PIO = 67,
1: + ATA_ID_EIDE_PIO_IORDY = 68,
1: + ATA_ID_ADDITIONAL_SUPP = 69,
1: + ATA_ID_QUEUE_DEPTH = 75,
1: + ATA_ID_SATA_CAPABILITY = 76,
1: + ATA_ID_SATA_CAPABILITY_2 = 77,
1: + ATA_ID_FEATURE_SUPP = 78,
1: + ATA_ID_MAJOR_VER = 80,
1: + ATA_ID_COMMAND_SET_1 = 82,
1: + ATA_ID_COMMAND_SET_2 = 83,
1: + ATA_ID_CFSSE = 84,
1: + ATA_ID_CFS_ENABLE_1 = 85,
1: + ATA_ID_CFS_ENABLE_2 = 86,
1: + ATA_ID_CSF_DEFAULT = 87,
1: + ATA_ID_UDMA_MODES = 88,
1: + ATA_ID_HW_CONFIG = 93,
1: + ATA_ID_SPG = 98,
1: + ATA_ID_LBA_CAPACITY_2 = 100,
1: + ATA_ID_SECTOR_SIZE = 106,
1: + ATA_ID_WWN = 108,
1: + ATA_ID_LOGICAL_SECTOR_SIZE = 117,
1: + ATA_ID_COMMAND_SET_3 = 119,
1: + ATA_ID_COMMAND_SET_4 = 120,
1: + ATA_ID_LAST_LUN = 126,
1: + ATA_ID_DLF = 128,
1: + ATA_ID_CSFO = 129,
1: + ATA_ID_CFA_POWER = 160,
1: + ATA_ID_CFA_KEY_MGMT = 162,
1: + ATA_ID_CFA_MODES = 163,
1: + ATA_ID_DATA_SET_MGMT = 169,
1: + ATA_ID_SCT_CMD_XPORT = 206,
1: + ATA_ID_ROT_SPEED = 217,
1: + ATA_ID_PIO4 = 2,
1: + ATA_ID_SERNO_LEN = 20,
1: + ATA_ID_FW_REV_LEN = 8,
1: + ATA_ID_PROD_LEN = 40,
1: + ATA_ID_WWN_LEN = 8,
1: + ATA_PCI_CTL_OFS = 2,
1: + ATA_PIO0 = 1,
1: + ATA_PIO1 = 3,
1: + ATA_PIO2 = 7,
1: + ATA_PIO3 = 15,
1: + ATA_PIO4 = 31,
1: + ATA_PIO5 = 63,
1: + ATA_PIO6 = 127,
1: + ATA_PIO4_ONLY = 16,
1: + ATA_SWDMA0 = 1,
1: + ATA_SWDMA1 = 3,
1: + ATA_SWDMA2 = 7,
1: + ATA_SWDMA2_ONLY = 4,
1: + ATA_MWDMA0 = 1,
1: + ATA_MWDMA1 = 3,
1: + ATA_MWDMA2 = 7,
1: + ATA_MWDMA3 = 15,
1: + ATA_MWDMA4 = 31,
1: + ATA_MWDMA12_ONLY = 6,
1: + ATA_MWDMA2_ONLY = 4,
1: + ATA_UDMA0 = 1,
1: + ATA_UDMA1 = 3,
1: + ATA_UDMA2 = 7,
1: + ATA_UDMA3 = 15,
1: + ATA_UDMA4 = 31,
1: + ATA_UDMA5 = 63,
1: + ATA_UDMA6 = 127,
1: + ATA_UDMA7 = 255,
1: + ATA_UDMA24_ONLY = 20,
1: + ATA_UDMA_MASK_40C = 7,
1: + ATA_PRD_SZ = 8,
1: + ATA_PRD_TBL_SZ = 2048,
1: + ATA_PRD_EOT = -2147483648,
1: + ATA_DMA_TABLE_OFS = 4,
1: + ATA_DMA_STATUS = 2,
1: + ATA_DMA_CMD = 0,
1: + ATA_DMA_WR = 8,
1: + ATA_DMA_START = 1,
1: + ATA_DMA_INTR = 4,
1: + ATA_DMA_ERR = 2,
1: + ATA_DMA_ACTIVE = 1,
1: + ATA_HOB = 128,
1: + ATA_NIEN = 2,
1: + ATA_LBA = 64,
1: + ATA_DEV1 = 16,
1: + ATA_DEVICE_OBS = 160,
1: + ATA_DEVCTL_OBS = 8,
1: + ATA_BUSY = 128,
1: + ATA_DRDY = 64,
1: + ATA_DF = 32,
1: + ATA_DSC = 16,
1: + ATA_DRQ = 8,
1: + ATA_CORR = 4,
1: + ATA_SENSE = 2,
1: + ATA_ERR = 1,
1: + ATA_SRST = 4,
1: + ATA_ICRC = 128,
1: + ATA_BBK = 128,
1: + ATA_UNC = 64,
1: + ATA_MC = 32,
1: + ATA_IDNF = 16,
1: + ATA_MCR = 8,
1: + ATA_ABORTED = 4,
1: + ATA_TRK0NF = 2,
1: + ATA_AMNF = 1,
1: + ATAPI_LFS = 240,
1: + ATAPI_EOM = 2,
1: + ATAPI_ILI = 1,
1: + ATAPI_IO = 2,
1: + ATAPI_COD = 1,
1: + ATA_REG_DATA = 0,
1: + ATA_REG_ERR = 1,
1: + ATA_REG_NSECT = 2,
1: + ATA_REG_LBAL = 3,
1: + ATA_REG_LBAM = 4,
1: + ATA_REG_LBAH = 5,
1: + ATA_REG_DEVICE = 6,
1: + ATA_REG_STATUS = 7,
1: + ATA_REG_FEATURE = 1,
1: + ATA_REG_CMD = 7,
1: + ATA_REG_BYTEL = 4,
1: + ATA_REG_BYTEH = 5,
1: + ATA_REG_DEVSEL = 6,
1: + ATA_REG_IRQ = 2,
1: + ATA_CMD_DEV_RESET = 8,
1: + ATA_CMD_CHK_POWER = 229,
1: + ATA_CMD_STANDBY = 226,
1: + ATA_CMD_IDLE = 227,
1: + ATA_CMD_EDD = 144,
1: + ATA_CMD_DOWNLOAD_MICRO = 146,
1: + ATA_CMD_DOWNLOAD_MICRO_DMA = 147,
1: + ATA_CMD_NOP = 0,
1: + ATA_CMD_FLUSH = 231,
1: + ATA_CMD_FLUSH_EXT = 234,
1: + ATA_CMD_ID_ATA = 236,
1: + ATA_CMD_ID_ATAPI = 161,
1: + ATA_CMD_SERVICE = 162,
1: + ATA_CMD_READ = 200,
1: + ATA_CMD_READ_EXT = 37,
1: + ATA_CMD_READ_QUEUED = 38,
1: + ATA_CMD_READ_STREAM_EXT = 43,
1: + ATA_CMD_READ_STREAM_DMA_EXT = 42,
1: + ATA_CMD_WRITE = 202,
1: + ATA_CMD_WRITE_EXT = 53,
1: + ATA_CMD_WRITE_QUEUED = 54,
1: + ATA_CMD_WRITE_STREAM_EXT = 59,
1: + ATA_CMD_WRITE_STREAM_DMA_EXT = 58,
1: + ATA_CMD_WRITE_FUA_EXT = 61,
1: + ATA_CMD_WRITE_QUEUED_FUA_EXT = 62,
1: + ATA_CMD_FPDMA_READ = 96,
1: + ATA_CMD_FPDMA_WRITE = 97,
1: + ATA_CMD_NCQ_NON_DATA = 99,
1: + ATA_CMD_FPDMA_SEND = 100,
1: + ATA_CMD_FPDMA_RECV = 101,
1: + ATA_CMD_PIO_READ = 32,
1: + ATA_CMD_PIO_READ_EXT = 36,
1: + ATA_CMD_PIO_WRITE = 48,
1: + ATA_CMD_PIO_WRITE_EXT = 52,
1: + ATA_CMD_READ_MULTI = 196,
1: + ATA_CMD_READ_MULTI_EXT = 41,
1: + ATA_CMD_WRITE_MULTI = 197,
1: + ATA_CMD_WRITE_MULTI_EXT = 57,
1: + ATA_CMD_WRITE_MULTI_FUA_EXT = 206,
1: + ATA_CMD_SET_FEATURES = 239,
1: + ATA_CMD_SET_MULTI = 198,
1: + ATA_CMD_PACKET = 160,
1: + ATA_CMD_VERIFY = 64,
1: + ATA_CMD_VERIFY_EXT = 66,
1: + ATA_CMD_WRITE_UNCORR_EXT = 69,
1: + ATA_CMD_STANDBYNOW1 = 224,
1: + ATA_CMD_IDLEIMMEDIATE = 225,
1: + ATA_CMD_SLEEP = 230,
1: + ATA_CMD_INIT_DEV_PARAMS = 145,
1: + ATA_CMD_READ_NATIVE_MAX = 248,
1: + ATA_CMD_READ_NATIVE_MAX_EXT = 39,
1: + ATA_CMD_SET_MAX = 249,
1: + ATA_CMD_SET_MAX_EXT = 55,
1: + ATA_CMD_READ_LOG_EXT = 47,
1: + ATA_CMD_WRITE_LOG_EXT = 63,
1: + ATA_CMD_READ_LOG_DMA_EXT = 71,
1: + ATA_CMD_WRITE_LOG_DMA_EXT = 87,
1: + ATA_CMD_TRUSTED_NONDATA = 91,
1: + ATA_CMD_TRUSTED_RCV = 92,
1: + ATA_CMD_TRUSTED_RCV_DMA = 93,
1: + ATA_CMD_TRUSTED_SND = 94,
1: + ATA_CMD_TRUSTED_SND_DMA = 95,
1: + ATA_CMD_PMP_READ = 228,
1: + ATA_CMD_PMP_READ_DMA = 233,
1: + ATA_CMD_PMP_WRITE = 232,
1: + ATA_CMD_PMP_WRITE_DMA = 235,
1: + ATA_CMD_CONF_OVERLAY = 177,
1: + ATA_CMD_SEC_SET_PASS = 241,
1: + ATA_CMD_SEC_UNLOCK = 242,
1: + ATA_CMD_SEC_ERASE_PREP = 243,
1: + ATA_CMD_SEC_ERASE_UNIT = 244,
1: + ATA_CMD_SEC_FREEZE_LOCK = 245,
1: + ATA_CMD_SEC_DISABLE_PASS = 246,
1: + ATA_CMD_CONFIG_STREAM = 81,
1: + ATA_CMD_SMART = 176,
1: + ATA_CMD_MEDIA_LOCK = 222,
1: + ATA_CMD_MEDIA_UNLOCK = 223,
1: + ATA_CMD_DSM = 6,
1: + ATA_CMD_CHK_MED_CRD_TYP = 209,
1: + ATA_CMD_CFA_REQ_EXT_ERR = 3,
1: + ATA_CMD_CFA_WRITE_NE = 56,
1: + ATA_CMD_CFA_TRANS_SECT = 135,
1: + ATA_CMD_CFA_ERASE = 192,
1: + ATA_CMD_CFA_WRITE_MULT_NE = 205,
1: + ATA_CMD_REQ_SENSE_DATA = 11,
1: + ATA_CMD_SANITIZE_DEVICE = 180,
1: + ATA_CMD_ZAC_MGMT_IN = 74,
1: + ATA_CMD_ZAC_MGMT_OUT = 159,
1: + ATA_CMD_RESTORE = 16,
1: + ATA_SUBCMD_FPDMA_RECV_RD_LOG_DMA_EXT = 1,
1: + ATA_SUBCMD_FPDMA_RECV_ZAC_MGMT_IN = 2,
1: + ATA_SUBCMD_FPDMA_SEND_DSM = 0,
1: + ATA_SUBCMD_FPDMA_SEND_WR_LOG_DMA_EXT = 2,
1: + ATA_SUBCMD_NCQ_NON_DATA_ABORT_QUEUE = 0,
1: + ATA_SUBCMD_NCQ_NON_DATA_SET_FEATURES = 5,
1: + ATA_SUBCMD_NCQ_NON_DATA_ZERO_EXT = 6,
1: + ATA_SUBCMD_NCQ_NON_DATA_ZAC_MGMT_OUT = 7,
1: + ATA_SUBCMD_ZAC_MGMT_IN_REPORT_ZONES = 0,
1: + ATA_SUBCMD_ZAC_MGMT_OUT_CLOSE_ZONE = 1,
1: + ATA_SUBCMD_ZAC_MGMT_OUT_FINISH_ZONE = 2,
1: + ATA_SUBCMD_ZAC_MGMT_OUT_OPEN_ZONE = 3,
1: + ATA_SUBCMD_ZAC_MGMT_OUT_RESET_WRITE_POINTER = 4,
1: + ATA_LOG_DIRECTORY = 0,
1: + ATA_LOG_SATA_NCQ = 16,
1: + ATA_LOG_NCQ_NON_DATA = 18,
1: + ATA_LOG_NCQ_SEND_RECV = 19,
1: + ATA_LOG_IDENTIFY_DEVICE = 48,
1: + ATA_LOG_SECURITY = 6,
1: + ATA_LOG_SATA_SETTINGS = 8,
1: + ATA_LOG_ZONED_INFORMATION = 9,
1: + ATA_LOG_DEVSLP_OFFSET = 48,
1: + ATA_LOG_DEVSLP_SIZE = 8,
1: + ATA_LOG_DEVSLP_MDAT = 0,
1: + ATA_LOG_DEVSLP_MDAT_MASK = 31,
1: + ATA_LOG_DEVSLP_DETO = 1,
1: + ATA_LOG_DEVSLP_VALID = 7,
1: + ATA_LOG_DEVSLP_VALID_MASK = 128,
1: + ATA_LOG_NCQ_PRIO_OFFSET = 9,
1: + ATA_LOG_NCQ_SEND_RECV_SUBCMDS_OFFSET = 0,
1: + ATA_LOG_NCQ_SEND_RECV_SUBCMDS_DSM = 1,
1: + ATA_LOG_NCQ_SEND_RECV_DSM_OFFSET = 4,
1: + ATA_LOG_NCQ_SEND_RECV_DSM_TRIM = 1,
1: + ATA_LOG_NCQ_SEND_RECV_RD_LOG_OFFSET = 8,
1: + ATA_LOG_NCQ_SEND_RECV_RD_LOG_SUPPORTED = 1,
1: + ATA_LOG_NCQ_SEND_RECV_WR_LOG_OFFSET = 12,
1: + ATA_LOG_NCQ_SEND_RECV_WR_LOG_SUPPORTED = 1,
1: + ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_OFFSET = 16,
1: + ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_OUT_SUPPORTED = 1,
1: + ATA_LOG_NCQ_SEND_RECV_ZAC_MGMT_IN_SUPPORTED = 2,
1: + ATA_LOG_NCQ_SEND_RECV_SIZE = 20,
1: + ATA_LOG_NCQ_NON_DATA_SUBCMDS_OFFSET = 0,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_OFFSET = 0,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_NCQ = 1,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_ALL = 2,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_STREAMING = 4,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_NON_STREAMING = 8,
1: + ATA_LOG_NCQ_NON_DATA_ABORT_SELECTED = 16,
1: + ATA_LOG_NCQ_NON_DATA_ZAC_MGMT_OFFSET = 28,
1: + ATA_LOG_NCQ_NON_DATA_ZAC_MGMT_OUT = 1,
1: + ATA_LOG_NCQ_NON_DATA_SIZE = 64,
1: + ATA_CMD_READ_LONG = 34,
1: + ATA_CMD_READ_LONG_ONCE = 35,
1: + ATA_CMD_WRITE_LONG = 50,
1: + ATA_CMD_WRITE_LONG_ONCE = 51,
1: + SETFEATURES_XFER = 3,
1: + XFER_UDMA_7 = 71,
1: + XFER_UDMA_6 = 70,
1: + XFER_UDMA_5 = 69,
1: + XFER_UDMA_4 = 68,
1: + XFER_UDMA_3 = 67,
1: + XFER_UDMA_2 = 66,
1: + XFER_UDMA_1 = 65,
1: + XFER_UDMA_0 = 64,
1: + XFER_MW_DMA_4 = 36,
1: + XFER_MW_DMA_3 = 35,
1: + XFER_MW_DMA_2 = 34,
1: + XFER_MW_DMA_1 = 33,
1: + XFER_MW_DMA_0 = 32,
1: + XFER_SW_DMA_2 = 18,
1: + XFER_SW_DMA_1 = 17,
1: + XFER_SW_DMA_0 = 16,
1: + XFER_PIO_6 = 14,
1: + XFER_PIO_5 = 13,
1: + XFER_PIO_4 = 12,
1: + XFER_PIO_3 = 11,
1: + XFER_PIO_2 = 10,
1: + XFER_PIO_1 = 9,
1: + XFER_PIO_0 = 8,
1: + XFER_PIO_SLOW = 0,
1: + SETFEATURES_WC_ON = 2,
1: + SETFEATURES_WC_OFF = 130,
1: + SETFEATURES_RA_ON = 170,
1: + SETFEATURES_RA_OFF = 85,
1: + SETFEATURES_AAM_ON = 66,
1: + SETFEATURES_AAM_OFF = 194,
1: + SETFEATURES_SPINUP = 7,
1: + SETFEATURES_SPINUP_TIMEOUT = 30000,
1: + SETFEATURES_SATA_ENABLE = 16,
1: + SETFEATURES_SATA_DISABLE = 144,
1: + SATA_FPDMA_OFFSET = 1,
1: + SATA_FPDMA_AA = 2,
1: + SATA_DIPM = 3,
1: + SATA_FPDMA_IN_ORDER = 4,
1: + SATA_AN = 5,
1: + SATA_SSP = 6,
1: + SATA_DEVSLP = 9,
1: + SETFEATURE_SENSE_DATA = 195,
1: + ATA_SET_MAX_ADDR = 0,
1: + ATA_SET_MAX_PASSWD = 1,
1: + ATA_SET_MAX_LOCK = 2,
1: + ATA_SET_MAX_UNLOCK = 3,
1: + ATA_SET_MAX_FREEZE_LOCK = 4,
1: + ATA_SET_MAX_PASSWD_DMA = 5,
1: + ATA_SET_MAX_UNLOCK_DMA = 6,
1: + ATA_DCO_RESTORE = 192,
1: + ATA_DCO_FREEZE_LOCK = 193,
1: + ATA_DCO_IDENTIFY = 194,
1: + ATA_DCO_SET = 195,
1: + ATA_SMART_ENABLE = 216,
1: + ATA_SMART_READ_VALUES = 208,
1: + ATA_SMART_READ_THRESHOLDS = 209,
1: + ATA_DSM_TRIM = 1,
1: + ATA_SMART_LBAM_PASS = 79,
1: + ATA_SMART_LBAH_PASS = 194,
1: + ATAPI_PKT_DMA = 1,
1: + ATAPI_DMADIR = 4,
1: + ATAPI_CDB_LEN = 16,
1: + SATA_PMP_MAX_PORTS = 15,
1: + SATA_PMP_CTRL_PORT = 15,
1: + SATA_PMP_GSCR_DWORDS = 128,
1: + SATA_PMP_GSCR_PROD_ID = 0,
1: + SATA_PMP_GSCR_REV = 1,
1: + SATA_PMP_GSCR_PORT_INFO = 2,
1: + SATA_PMP_GSCR_ERROR = 32,
1: + SATA_PMP_GSCR_ERROR_EN = 33,
1: + SATA_PMP_GSCR_FEAT = 64,
1: + SATA_PMP_GSCR_FEAT_EN = 96,
1: + SATA_PMP_PSCR_STATUS = 0,
1: + SATA_PMP_PSCR_ERROR = 1,
1: + SATA_PMP_PSCR_CONTROL = 2,
1: + SATA_PMP_FEAT_BIST = 1,
1: + SATA_PMP_FEAT_PMREQ = 2,
1: + SATA_PMP_FEAT_DYNSSC = 4,
1: + SATA_PMP_FEAT_NOTIFY = 8,
1: + ATA_CBL_NONE = 0,
1: + ATA_CBL_PATA40 = 1,
1: + ATA_CBL_PATA80 = 2,
1: + ATA_CBL_PATA40_SHORT = 3,
1: + ATA_CBL_PATA_UNK = 4,
1: + ATA_CBL_PATA_IGN = 5,
1: + ATA_CBL_SATA = 6,
1: + SCR_STATUS = 0,
1: + SCR_ERROR = 1,
1: + SCR_CONTROL = 2,
1: + SCR_ACTIVE = 3,
1: + SCR_NOTIFICATION = 4,
1: + SERR_DATA_RECOVERED = 1,
1: + SERR_COMM_RECOVERED = 2,
1: + SERR_DATA = 256,
1: + SERR_PERSISTENT = 512,
1: + SERR_PROTOCOL = 1024,
1: + SERR_INTERNAL = 2048,
1: + SERR_PHYRDY_CHG = 65536,
1: + SERR_PHY_INT_ERR = 131072,
1: + SERR_COMM_WAKE = 262144,
1: + SERR_10B_8B_ERR = 524288,
1: + SERR_DISPARITY = 1048576,
1: + SERR_CRC = 2097152,
1: + SERR_HANDSHAKE = 4194304,
1: + SERR_LINK_SEQ_ERR = 8388608,
1: + SERR_TRANS_ST_ERROR = 16777216,
1: + SERR_UNRECOG_FIS = 33554432,
1: + SERR_DEV_XCHG = 67108864,
1: };
1:
1: enum ata_prot_flags {
1: - ATA_PROT_FLAG_PIO = 1,
1: - ATA_PROT_FLAG_DMA = 2,
1: - ATA_PROT_FLAG_NCQ = 4,
1: - ATA_PROT_FLAG_ATAPI = 8,
1: - ATA_PROT_UNKNOWN = 255,
1: - ATA_PROT_NODATA = 0,
1: - ATA_PROT_PIO = 1,
1: - ATA_PROT_DMA = 2,
1: - ATA_PROT_NCQ_NODATA = 4,
1: - ATA_PROT_NCQ = 6,
1: - ATAPI_PROT_NODATA = 8,
1: - ATAPI_PROT_PIO = 9,
1: - ATAPI_PROT_DMA = 10,
1: + ATA_PROT_FLAG_PIO = 1,
1: + ATA_PROT_FLAG_DMA = 2,
1: + ATA_PROT_FLAG_NCQ = 4,
1: + ATA_PROT_FLAG_ATAPI = 8,
1: + ATA_PROT_UNKNOWN = 255,
1: + ATA_PROT_NODATA = 0,
1: + ATA_PROT_PIO = 1,
1: + ATA_PROT_DMA = 2,
1: + ATA_PROT_NCQ_NODATA = 4,
1: + ATA_PROT_NCQ = 6,
1: + ATAPI_PROT_NODATA = 8,
1: + ATAPI_PROT_PIO = 9,
1: + ATAPI_PROT_DMA = 10,
1: };
1:
1: struct ata_bmdma_prd {
1: - __le32 addr;
1: - __le32 flags_len;
1: -};
1: -
1: -enum {
1: - ATA_MSG_DRV = 1,
1: - ATA_MSG_INFO = 2,
1: - ATA_MSG_PROBE = 4,
1: - ATA_MSG_WARN = 8,
1: - ATA_MSG_MALLOC = 16,
1: - ATA_MSG_CTL = 32,
1: - ATA_MSG_INTR = 64,
1: - ATA_MSG_ERR = 128,
1: -};
1: -
1: -enum {
1: - LIBATA_MAX_PRD = 128,
1: - LIBATA_DUMB_MAX_PRD = 64,
1: - ATA_DEF_QUEUE = 1,
1: - ATA_MAX_QUEUE = 32,
1: - ATA_TAG_INTERNAL = 32,
1: - ATA_SHORT_PAUSE = 16,
1: - ATAPI_MAX_DRAIN = 16384,
1: - ATA_ALL_DEVICES = 3,
1: - ATA_SHT_EMULATED = 1,
1: - ATA_SHT_THIS_ID = -1,
1: - ATA_TFLAG_LBA48 = 1,
1: - ATA_TFLAG_ISADDR = 2,
1: - ATA_TFLAG_DEVICE = 4,
1: - ATA_TFLAG_WRITE = 8,
1: - ATA_TFLAG_LBA = 16,
1: - ATA_TFLAG_FUA = 32,
1: - ATA_TFLAG_POLLING = 64,
1: - ATA_DFLAG_LBA = 1,
1: - ATA_DFLAG_LBA48 = 2,
1: - ATA_DFLAG_CDB_INTR = 4,
1: - ATA_DFLAG_NCQ = 8,
1: - ATA_DFLAG_FLUSH_EXT = 16,
1: - ATA_DFLAG_ACPI_PENDING = 32,
1: - ATA_DFLAG_ACPI_FAILED = 64,
1: - ATA_DFLAG_AN = 128,
1: - ATA_DFLAG_TRUSTED = 256,
1: - ATA_DFLAG_DMADIR = 1024,
1: - ATA_DFLAG_CFG_MASK = 4095,
1: - ATA_DFLAG_PIO = 4096,
1: - ATA_DFLAG_NCQ_OFF = 8192,
1: - ATA_DFLAG_SLEEPING = 32768,
1: - ATA_DFLAG_DUBIOUS_XFER = 65536,
1: - ATA_DFLAG_NO_UNLOAD = 131072,
1: - ATA_DFLAG_UNLOCK_HPA = 262144,
1: - ATA_DFLAG_NCQ_SEND_RECV = 524288,
1: - ATA_DFLAG_NCQ_PRIO = 1048576,
1: - ATA_DFLAG_NCQ_PRIO_ENABLE = 2097152,
1: - ATA_DFLAG_INIT_MASK = 16777215,
1: - ATA_DFLAG_DETACH = 16777216,
1: - ATA_DFLAG_DETACHED = 33554432,
1: - ATA_DFLAG_DA = 67108864,
1: - ATA_DFLAG_DEVSLP = 134217728,
1: - ATA_DFLAG_ACPI_DISABLED = 268435456,
1: - ATA_DFLAG_D_SENSE = 536870912,
1: - ATA_DFLAG_ZAC = 1073741824,
1: - ATA_DEV_UNKNOWN = 0,
1: - ATA_DEV_ATA = 1,
1: - ATA_DEV_ATA_UNSUP = 2,
1: - ATA_DEV_ATAPI = 3,
1: - ATA_DEV_ATAPI_UNSUP = 4,
1: - ATA_DEV_PMP = 5,
1: - ATA_DEV_PMP_UNSUP = 6,
1: - ATA_DEV_SEMB = 7,
1: - ATA_DEV_SEMB_UNSUP = 8,
1: - ATA_DEV_ZAC = 9,
1: - ATA_DEV_ZAC_UNSUP = 10,
1: - ATA_DEV_NONE = 11,
1: - ATA_LFLAG_NO_HRST = 2,
1: - ATA_LFLAG_NO_SRST = 4,
1: - ATA_LFLAG_ASSUME_ATA = 8,
1: - ATA_LFLAG_ASSUME_SEMB = 16,
1: - ATA_LFLAG_ASSUME_CLASS = 24,
1: - ATA_LFLAG_NO_RETRY = 32,
1: - ATA_LFLAG_DISABLED = 64,
1: - ATA_LFLAG_SW_ACTIVITY = 128,
1: - ATA_LFLAG_NO_LPM = 256,
1: - ATA_LFLAG_RST_ONCE = 512,
1: - ATA_LFLAG_CHANGED = 1024,
1: - ATA_LFLAG_NO_DB_DELAY = 2048,
1: - ATA_FLAG_SLAVE_POSS = 1,
1: - ATA_FLAG_SATA = 2,
1: - ATA_FLAG_NO_LPM = 4,
1: - ATA_FLAG_NO_LOG_PAGE = 32,
1: - ATA_FLAG_NO_ATAPI = 64,
1: - ATA_FLAG_PIO_DMA = 128,
1: - ATA_FLAG_PIO_LBA48 = 256,
1: - ATA_FLAG_PIO_POLLING = 512,
1: - ATA_FLAG_NCQ = 1024,
1: - ATA_FLAG_NO_POWEROFF_SPINDOWN = 2048,
1: - ATA_FLAG_NO_HIBERNATE_SPINDOWN = 4096,
1: - ATA_FLAG_DEBUGMSG = 8192,
1: - ATA_FLAG_FPDMA_AA = 16384,
1: - ATA_FLAG_IGN_SIMPLEX = 32768,
1: - ATA_FLAG_NO_IORDY = 65536,
1: - ATA_FLAG_ACPI_SATA = 131072,
1: - ATA_FLAG_AN = 262144,
1: - ATA_FLAG_PMP = 524288,
1: - ATA_FLAG_FPDMA_AUX = 1048576,
1: - ATA_FLAG_EM = 2097152,
1: - ATA_FLAG_SW_ACTIVITY = 4194304,
1: - ATA_FLAG_NO_DIPM = 8388608,
1: - ATA_FLAG_SAS_HOST = 16777216,
1: - ATA_PFLAG_EH_PENDING = 1,
1: - ATA_PFLAG_EH_IN_PROGRESS = 2,
1: - ATA_PFLAG_FROZEN = 4,
1: - ATA_PFLAG_RECOVERED = 8,
1: - ATA_PFLAG_LOADING = 16,
1: - ATA_PFLAG_SCSI_HOTPLUG = 64,
1: - ATA_PFLAG_INITIALIZING = 128,
1: - ATA_PFLAG_RESETTING = 256,
1: - ATA_PFLAG_UNLOADING = 512,
1: - ATA_PFLAG_UNLOADED = 1024,
1: - ATA_PFLAG_SUSPENDED = 131072,
1: - ATA_PFLAG_PM_PENDING = 262144,
1: - ATA_PFLAG_INIT_GTM_VALID = 524288,
1: - ATA_PFLAG_PIO32 = 1048576,
1: - ATA_PFLAG_PIO32CHANGE = 2097152,
1: - ATA_PFLAG_EXTERNAL = 4194304,
1: - ATA_QCFLAG_ACTIVE = 1,
1: - ATA_QCFLAG_DMAMAP = 2,
1: - ATA_QCFLAG_IO = 8,
1: - ATA_QCFLAG_RESULT_TF = 16,
1: - ATA_QCFLAG_CLEAR_EXCL = 32,
1: - ATA_QCFLAG_QUIET = 64,
1: - ATA_QCFLAG_RETRY = 128,
1: - ATA_QCFLAG_FAILED = 65536,
1: - ATA_QCFLAG_SENSE_VALID = 131072,
1: - ATA_QCFLAG_EH_SCHEDULED = 262144,
1: - ATA_HOST_SIMPLEX = 1,
1: - ATA_HOST_STARTED = 2,
1: - ATA_HOST_PARALLEL_SCAN = 4,
1: - ATA_HOST_IGNORE_ATA = 8,
1: - ATA_TMOUT_BOOT = 30000,
1: - ATA_TMOUT_BOOT_QUICK = 7000,
1: - ATA_TMOUT_INTERNAL_QUICK = 5000,
1: - ATA_TMOUT_MAX_PARK = 30000,
1: - ATA_TMOUT_FF_WAIT_LONG = 2000,
1: - ATA_TMOUT_FF_WAIT = 800,
1: - ATA_WAIT_AFTER_RESET = 150,
1: - ATA_TMOUT_PMP_SRST_WAIT = 5000,
1: - ATA_TMOUT_SPURIOUS_PHY = 10000,
1: - BUS_UNKNOWN = 0,
1: - BUS_DMA = 1,
1: - BUS_IDLE = 2,
1: - BUS_NOINTR = 3,
1: - BUS_NODATA = 4,
1: - BUS_TIMER = 5,
1: - BUS_PIO = 6,
1: - BUS_EDD = 7,
1: - BUS_IDENTIFY = 8,
1: - BUS_PACKET = 9,
1: - PORT_UNKNOWN = 0,
1: - PORT_ENABLED = 1,
1: - PORT_DISABLED = 2,
1: - ATA_NR_PIO_MODES = 7,
1: - ATA_NR_MWDMA_MODES = 5,
1: - ATA_NR_UDMA_MODES = 8,
1: - ATA_SHIFT_PIO = 0,
1: - ATA_SHIFT_MWDMA = 7,
1: - ATA_SHIFT_UDMA = 12,
1: - ATA_SHIFT_PRIO = 6,
1: - ATA_PRIO_HIGH = 2,
1: - ATA_DMA_PAD_SZ = 4,
1: - ATA_ERING_SIZE = 32,
1: - ATA_DEFER_LINK = 1,
1: - ATA_DEFER_PORT = 2,
1: - ATA_EH_DESC_LEN = 80,
1: - ATA_EH_REVALIDATE = 1,
1: - ATA_EH_SOFTRESET = 2,
1: - ATA_EH_HARDRESET = 4,
1: - ATA_EH_RESET = 6,
1: - ATA_EH_ENABLE_LINK = 8,
1: - ATA_EH_PARK = 32,
1: - ATA_EH_PERDEV_MASK = 33,
1: - ATA_EH_ALL_ACTIONS = 15,
1: - ATA_EHI_HOTPLUGGED = 1,
1: - ATA_EHI_NO_AUTOPSY = 4,
1: - ATA_EHI_QUIET = 8,
1: - ATA_EHI_NO_RECOVERY = 16,
1: - ATA_EHI_DID_SOFTRESET = 65536,
1: - ATA_EHI_DID_HARDRESET = 131072,
1: - ATA_EHI_PRINTINFO = 262144,
1: - ATA_EHI_SETMODE = 524288,
1: - ATA_EHI_POST_SETMODE = 1048576,
1: - ATA_EHI_DID_RESET = 196608,
1: - ATA_EHI_TO_SLAVE_MASK = 12,
1: - ATA_EH_MAX_TRIES = 5,
1: - ATA_LINK_RESUME_TRIES = 5,
1: - ATA_PROBE_MAX_TRIES = 3,
1: - ATA_EH_DEV_TRIES = 3,
1: - ATA_EH_PMP_TRIES = 5,
1: - ATA_EH_PMP_LINK_TRIES = 3,
1: - SATA_PMP_RW_TIMEOUT = 3000,
1: - ATA_EH_CMD_TIMEOUT_TABLE_SIZE = 6,
1: - ATA_HORKAGE_DIAGNOSTIC = 1,
1: - ATA_HORKAGE_NODMA = 2,
1: - ATA_HORKAGE_NONCQ = 4,
1: - ATA_HORKAGE_MAX_SEC_128 = 8,
1: - ATA_HORKAGE_BROKEN_HPA = 16,
1: - ATA_HORKAGE_DISABLE = 32,
1: - ATA_HORKAGE_HPA_SIZE = 64,
1: - ATA_HORKAGE_IVB = 256,
1: - ATA_HORKAGE_STUCK_ERR = 512,
1: - ATA_HORKAGE_BRIDGE_OK = 1024,
1: - ATA_HORKAGE_ATAPI_MOD16_DMA = 2048,
1: - ATA_HORKAGE_FIRMWARE_WARN = 4096,
1: - ATA_HORKAGE_1_5_GBPS = 8192,
1: - ATA_HORKAGE_NOSETXFER = 16384,
1: - ATA_HORKAGE_BROKEN_FPDMA_AA = 32768,
1: - ATA_HORKAGE_DUMP_ID = 65536,
1: - ATA_HORKAGE_MAX_SEC_LBA48 = 131072,
1: - ATA_HORKAGE_ATAPI_DMADIR = 262144,
1: - ATA_HORKAGE_NO_NCQ_TRIM = 524288,
1: - ATA_HORKAGE_NOLPM = 1048576,
1: - ATA_HORKAGE_WD_BROKEN_LPM = 2097152,
1: - ATA_HORKAGE_ZERO_AFTER_TRIM = 4194304,
1: - ATA_HORKAGE_NO_DMA_LOG = 8388608,
1: - ATA_HORKAGE_NOTRIM = 16777216,
1: - ATA_HORKAGE_MAX_SEC_1024 = 33554432,
1: - ATA_DMA_MASK_ATA = 1,
1: - ATA_DMA_MASK_ATAPI = 2,
1: - ATA_DMA_MASK_CFA = 4,
1: - ATAPI_READ = 0,
1: - ATAPI_WRITE = 1,
1: - ATAPI_READ_CD = 2,
1: - ATAPI_PASS_THRU = 3,
1: - ATAPI_MISC = 4,
1: - ATA_TIMING_SETUP = 1,
1: - ATA_TIMING_ACT8B = 2,
1: - ATA_TIMING_REC8B = 4,
1: - ATA_TIMING_CYC8B = 8,
1: - ATA_TIMING_8BIT = 14,
1: - ATA_TIMING_ACTIVE = 16,
1: - ATA_TIMING_RECOVER = 32,
1: - ATA_TIMING_DMACK_HOLD = 64,
1: - ATA_TIMING_CYCLE = 128,
1: - ATA_TIMING_UDMA = 256,
1: - ATA_TIMING_ALL = 511,
1: - ATA_ACPI_FILTER_SETXFER = 1,
1: - ATA_ACPI_FILTER_LOCK = 2,
1: - ATA_ACPI_FILTER_DIPM = 4,
1: - ATA_ACPI_FILTER_FPDMA_OFFSET = 8,
1: - ATA_ACPI_FILTER_FPDMA_AA = 16,
1: - ATA_ACPI_FILTER_DEFAULT = 7,
1: + __le32 addr;
1: + __le32 flags_len;
1: +};
1: +
1: +enum {
1: + ATA_MSG_DRV = 1,
1: + ATA_MSG_INFO = 2,
1: + ATA_MSG_PROBE = 4,
1: + ATA_MSG_WARN = 8,
1: + ATA_MSG_MALLOC = 16,
1: + ATA_MSG_CTL = 32,
1: + ATA_MSG_INTR = 64,
1: + ATA_MSG_ERR = 128,
1: +};
1: +
1: +enum {
1: + LIBATA_MAX_PRD = 128,
1: + LIBATA_DUMB_MAX_PRD = 64,
1: + ATA_DEF_QUEUE = 1,
1: + ATA_MAX_QUEUE = 32,
1: + ATA_TAG_INTERNAL = 32,
1: + ATA_SHORT_PAUSE = 16,
1: + ATAPI_MAX_DRAIN = 16384,
1: + ATA_ALL_DEVICES = 3,
1: + ATA_SHT_EMULATED = 1,
1: + ATA_SHT_THIS_ID = -1,
1: + ATA_TFLAG_LBA48 = 1,
1: + ATA_TFLAG_ISADDR = 2,
1: + ATA_TFLAG_DEVICE = 4,
1: + ATA_TFLAG_WRITE = 8,
1: + ATA_TFLAG_LBA = 16,
1: + ATA_TFLAG_FUA = 32,
1: + ATA_TFLAG_POLLING = 64,
1: + ATA_DFLAG_LBA = 1,
1: + ATA_DFLAG_LBA48 = 2,
1: + ATA_DFLAG_CDB_INTR = 4,
1: + ATA_DFLAG_NCQ = 8,
1: + ATA_DFLAG_FLUSH_EXT = 16,
1: + ATA_DFLAG_ACPI_PENDING = 32,
1: + ATA_DFLAG_ACPI_FAILED = 64,
1: + ATA_DFLAG_AN = 128,
1: + ATA_DFLAG_TRUSTED = 256,
1: + ATA_DFLAG_DMADIR = 1024,
1: + ATA_DFLAG_CFG_MASK = 4095,
1: + ATA_DFLAG_PIO = 4096,
1: + ATA_DFLAG_NCQ_OFF = 8192,
1: + ATA_DFLAG_SLEEPING = 32768,
1: + ATA_DFLAG_DUBIOUS_XFER = 65536,
1: + ATA_DFLAG_NO_UNLOAD = 131072,
1: + ATA_DFLAG_UNLOCK_HPA = 262144,
1: + ATA_DFLAG_NCQ_SEND_RECV = 524288,
1: + ATA_DFLAG_NCQ_PRIO = 1048576,
1: + ATA_DFLAG_NCQ_PRIO_ENABLE = 2097152,
1: + ATA_DFLAG_INIT_MASK = 16777215,
1: + ATA_DFLAG_DETACH = 16777216,
1: + ATA_DFLAG_DETACHED = 33554432,
1: + ATA_DFLAG_DA = 67108864,
1: + ATA_DFLAG_DEVSLP = 134217728,
1: + ATA_DFLAG_ACPI_DISABLED = 268435456,
1: + ATA_DFLAG_D_SENSE = 536870912,
1: + ATA_DFLAG_ZAC = 1073741824,
1: + ATA_DEV_UNKNOWN = 0,
1: + ATA_DEV_ATA = 1,
1: + ATA_DEV_ATA_UNSUP = 2,
1: + ATA_DEV_ATAPI = 3,
1: + ATA_DEV_ATAPI_UNSUP = 4,
1: + ATA_DEV_PMP = 5,
1: + ATA_DEV_PMP_UNSUP = 6,
1: + ATA_DEV_SEMB = 7,
1: + ATA_DEV_SEMB_UNSUP = 8,
1: + ATA_DEV_ZAC = 9,
1: + ATA_DEV_ZAC_UNSUP = 10,
1: + ATA_DEV_NONE = 11,
1: + ATA_LFLAG_NO_HRST = 2,
1: + ATA_LFLAG_NO_SRST = 4,
1: + ATA_LFLAG_ASSUME_ATA = 8,
1: + ATA_LFLAG_ASSUME_SEMB = 16,
1: + ATA_LFLAG_ASSUME_CLASS = 24,
1: + ATA_LFLAG_NO_RETRY = 32,
1: + ATA_LFLAG_DISABLED = 64,
1: + ATA_LFLAG_SW_ACTIVITY = 128,
1: + ATA_LFLAG_NO_LPM = 256,
1: + ATA_LFLAG_RST_ONCE = 512,
1: + ATA_LFLAG_CHANGED = 1024,
1: + ATA_LFLAG_NO_DB_DELAY = 2048,
1: + ATA_FLAG_SLAVE_POSS = 1,
1: + ATA_FLAG_SATA = 2,
1: + ATA_FLAG_NO_LPM = 4,
1: + ATA_FLAG_NO_LOG_PAGE = 32,
1: + ATA_FLAG_NO_ATAPI = 64,
1: + ATA_FLAG_PIO_DMA = 128,
1: + ATA_FLAG_PIO_LBA48 = 256,
1: + ATA_FLAG_PIO_POLLING = 512,
1: + ATA_FLAG_NCQ = 1024,
1: + ATA_FLAG_NO_POWEROFF_SPINDOWN = 2048,
1: + ATA_FLAG_NO_HIBERNATE_SPINDOWN = 4096,
1: + ATA_FLAG_DEBUGMSG = 8192,
1: + ATA_FLAG_FPDMA_AA = 16384,
1: + ATA_FLAG_IGN_SIMPLEX = 32768,
1: + ATA_FLAG_NO_IORDY = 65536,
1: + ATA_FLAG_ACPI_SATA = 131072,
1: + ATA_FLAG_AN = 262144,
1: + ATA_FLAG_PMP = 524288,
1: + ATA_FLAG_FPDMA_AUX = 1048576,
1: + ATA_FLAG_EM = 2097152,
1: + ATA_FLAG_SW_ACTIVITY = 4194304,
1: + ATA_FLAG_NO_DIPM = 8388608,
1: + ATA_FLAG_SAS_HOST = 16777216,
1: + ATA_PFLAG_EH_PENDING = 1,
1: + ATA_PFLAG_EH_IN_PROGRESS = 2,
1: + ATA_PFLAG_FROZEN = 4,
1: + ATA_PFLAG_RECOVERED = 8,
1: + ATA_PFLAG_LOADING = 16,
1: + ATA_PFLAG_SCSI_HOTPLUG = 64,
1: + ATA_PFLAG_INITIALIZING = 128,
1: + ATA_PFLAG_RESETTING = 256,
1: + ATA_PFLAG_UNLOADING = 512,
1: + ATA_PFLAG_UNLOADED = 1024,
1: + ATA_PFLAG_SUSPENDED = 131072,
1: + ATA_PFLAG_PM_PENDING = 262144,
1: + ATA_PFLAG_INIT_GTM_VALID = 524288,
1: + ATA_PFLAG_PIO32 = 1048576,
1: + ATA_PFLAG_PIO32CHANGE = 2097152,
1: + ATA_PFLAG_EXTERNAL = 4194304,
1: + ATA_QCFLAG_ACTIVE = 1,
1: + ATA_QCFLAG_DMAMAP = 2,
1: + ATA_QCFLAG_IO = 8,
1: + ATA_QCFLAG_RESULT_TF = 16,
1: + ATA_QCFLAG_CLEAR_EXCL = 32,
1: + ATA_QCFLAG_QUIET = 64,
1: + ATA_QCFLAG_RETRY = 128,
1: + ATA_QCFLAG_FAILED = 65536,
1: + ATA_QCFLAG_SENSE_VALID = 131072,
1: + ATA_QCFLAG_EH_SCHEDULED = 262144,
1: + ATA_HOST_SIMPLEX = 1,
1: + ATA_HOST_STARTED = 2,
1: + ATA_HOST_PARALLEL_SCAN = 4,
1: + ATA_HOST_IGNORE_ATA = 8,
1: + ATA_TMOUT_BOOT = 30000,
1: + ATA_TMOUT_BOOT_QUICK = 7000,
1: + ATA_TMOUT_INTERNAL_QUICK = 5000,
1: + ATA_TMOUT_MAX_PARK = 30000,
1: + ATA_TMOUT_FF_WAIT_LONG = 2000,
1: + ATA_TMOUT_FF_WAIT = 800,
1: + ATA_WAIT_AFTER_RESET = 150,
1: + ATA_TMOUT_PMP_SRST_WAIT = 5000,
1: + ATA_TMOUT_SPURIOUS_PHY = 10000,
1: + BUS_UNKNOWN = 0,
1: + BUS_DMA = 1,
1: + BUS_IDLE = 2,
1: + BUS_NOINTR = 3,
1: + BUS_NODATA = 4,
1: + BUS_TIMER = 5,
1: + BUS_PIO = 6,
1: + BUS_EDD = 7,
1: + BUS_IDENTIFY = 8,
1: + BUS_PACKET = 9,
1: + PORT_UNKNOWN = 0,
1: + PORT_ENABLED = 1,
1: + PORT_DISABLED = 2,
1: + ATA_NR_PIO_MODES = 7,
1: + ATA_NR_MWDMA_MODES = 5,
1: + ATA_NR_UDMA_MODES = 8,
1: + ATA_SHIFT_PIO = 0,
1: + ATA_SHIFT_MWDMA = 7,
1: + ATA_SHIFT_UDMA = 12,
1: + ATA_SHIFT_PRIO = 6,
1: + ATA_PRIO_HIGH = 2,
1: + ATA_DMA_PAD_SZ = 4,
1: + ATA_ERING_SIZE = 32,
1: + ATA_DEFER_LINK = 1,
1: + ATA_DEFER_PORT = 2,
1: + ATA_EH_DESC_LEN = 80,
1: + ATA_EH_REVALIDATE = 1,
1: + ATA_EH_SOFTRESET = 2,
1: + ATA_EH_HARDRESET = 4,
1: + ATA_EH_RESET = 6,
1: + ATA_EH_ENABLE_LINK = 8,
1: + ATA_EH_PARK = 32,
1: + ATA_EH_PERDEV_MASK = 33,
1: + ATA_EH_ALL_ACTIONS = 15,
1: + ATA_EHI_HOTPLUGGED = 1,
1: + ATA_EHI_NO_AUTOPSY = 4,
1: + ATA_EHI_QUIET = 8,
1: + ATA_EHI_NO_RECOVERY = 16,
1: + ATA_EHI_DID_SOFTRESET = 65536,
1: + ATA_EHI_DID_HARDRESET = 131072,
1: + ATA_EHI_PRINTINFO = 262144,
1: + ATA_EHI_SETMODE = 524288,
1: + ATA_EHI_POST_SETMODE = 1048576,
1: + ATA_EHI_DID_RESET = 196608,
1: + ATA_EHI_TO_SLAVE_MASK = 12,
1: + ATA_EH_MAX_TRIES = 5,
1: + ATA_LINK_RESUME_TRIES = 5,
1: + ATA_PROBE_MAX_TRIES = 3,
1: + ATA_EH_DEV_TRIES = 3,
1: + ATA_EH_PMP_TRIES = 5,
1: + ATA_EH_PMP_LINK_TRIES = 3,
1: + SATA_PMP_RW_TIMEOUT = 3000,
1: + ATA_EH_CMD_TIMEOUT_TABLE_SIZE = 6,
1: + ATA_HORKAGE_DIAGNOSTIC = 1,
1: + ATA_HORKAGE_NODMA = 2,
1: + ATA_HORKAGE_NONCQ = 4,
1: + ATA_HORKAGE_MAX_SEC_128 = 8,
1: + ATA_HORKAGE_BROKEN_HPA = 16,
1: + ATA_HORKAGE_DISABLE = 32,
1: + ATA_HORKAGE_HPA_SIZE = 64,
1: + ATA_HORKAGE_IVB = 256,
1: + ATA_HORKAGE_STUCK_ERR = 512,
1: + ATA_HORKAGE_BRIDGE_OK = 1024,
1: + ATA_HORKAGE_ATAPI_MOD16_DMA = 2048,
1: + ATA_HORKAGE_FIRMWARE_WARN = 4096,
1: + ATA_HORKAGE_1_5_GBPS = 8192,
1: + ATA_HORKAGE_NOSETXFER = 16384,
1: + ATA_HORKAGE_BROKEN_FPDMA_AA = 32768,
1: + ATA_HORKAGE_DUMP_ID = 65536,
1: + ATA_HORKAGE_MAX_SEC_LBA48 = 131072,
1: + ATA_HORKAGE_ATAPI_DMADIR = 262144,
1: + ATA_HORKAGE_NO_NCQ_TRIM = 524288,
1: + ATA_HORKAGE_NOLPM = 1048576,
1: + ATA_HORKAGE_WD_BROKEN_LPM = 2097152,
1: + ATA_HORKAGE_ZERO_AFTER_TRIM = 4194304,
1: + ATA_HORKAGE_NO_DMA_LOG = 8388608,
1: + ATA_HORKAGE_NOTRIM = 16777216,
1: + ATA_HORKAGE_MAX_SEC_1024 = 33554432,
1: + ATA_DMA_MASK_ATA = 1,
1: + ATA_DMA_MASK_ATAPI = 2,
1: + ATA_DMA_MASK_CFA = 4,
1: + ATAPI_READ = 0,
1: + ATAPI_WRITE = 1,
1: + ATAPI_READ_CD = 2,
1: + ATAPI_PASS_THRU = 3,
1: + ATAPI_MISC = 4,
1: + ATA_TIMING_SETUP = 1,
1: + ATA_TIMING_ACT8B = 2,
1: + ATA_TIMING_REC8B = 4,
1: + ATA_TIMING_CYC8B = 8,
1: + ATA_TIMING_8BIT = 14,
1: + ATA_TIMING_ACTIVE = 16,
1: + ATA_TIMING_RECOVER = 32,
1: + ATA_TIMING_DMACK_HOLD = 64,
1: + ATA_TIMING_CYCLE = 128,
1: + ATA_TIMING_UDMA = 256,
1: + ATA_TIMING_ALL = 511,
1: + ATA_ACPI_FILTER_SETXFER = 1,
1: + ATA_ACPI_FILTER_LOCK = 2,
1: + ATA_ACPI_FILTER_DIPM = 4,
1: + ATA_ACPI_FILTER_FPDMA_OFFSET = 8,
1: + ATA_ACPI_FILTER_FPDMA_AA = 16,
1: + ATA_ACPI_FILTER_DEFAULT = 7,
1: };
1:
1: enum ata_xfer_mask {
1: - ATA_MASK_PIO = 127,
1: - ATA_MASK_MWDMA = 3968,
1: - ATA_MASK_UDMA = 1044480,
1: + ATA_MASK_PIO = 127,
1: + ATA_MASK_MWDMA = 3968,
1: + ATA_MASK_UDMA = 1044480,
1: };
1:
1: enum ata_completion_errors {
1: - AC_ERR_OK = 0,
1: - AC_ERR_DEV = 1,
1: - AC_ERR_HSM = 2,
1: - AC_ERR_TIMEOUT = 4,
1: - AC_ERR_MEDIA = 8,
1: - AC_ERR_ATA_BUS = 16,
1: - AC_ERR_HOST_BUS = 32,
1: - AC_ERR_SYSTEM = 64,
1: - AC_ERR_INVALID = 128,
1: - AC_ERR_OTHER = 256,
1: - AC_ERR_NODEV_HINT = 512,
1: - AC_ERR_NCQ = 1024,
1: + AC_ERR_OK = 0,
1: + AC_ERR_DEV = 1,
1: + AC_ERR_HSM = 2,
1: + AC_ERR_TIMEOUT = 4,
1: + AC_ERR_MEDIA = 8,
1: + AC_ERR_ATA_BUS = 16,
1: + AC_ERR_HOST_BUS = 32,
1: + AC_ERR_SYSTEM = 64,
1: + AC_ERR_INVALID = 128,
1: + AC_ERR_OTHER = 256,
1: + AC_ERR_NODEV_HINT = 512,
1: + AC_ERR_NCQ = 1024,
1: };
1:
1: enum ata_lpm_policy {
1: - ATA_LPM_UNKNOWN = 0,
1: - ATA_LPM_MAX_POWER = 1,
1: - ATA_LPM_MED_POWER = 2,
1: - ATA_LPM_MED_POWER_WITH_DIPM = 3,
1: - ATA_LPM_MIN_POWER_WITH_PARTIAL = 4,
1: - ATA_LPM_MIN_POWER = 5,
1: + ATA_LPM_UNKNOWN = 0,
1: + ATA_LPM_MAX_POWER = 1,
1: + ATA_LPM_MED_POWER = 2,
1: + ATA_LPM_MED_POWER_WITH_DIPM = 3,
1: + ATA_LPM_MIN_POWER_WITH_PARTIAL = 4,
1: + ATA_LPM_MIN_POWER = 5,
1: };
1:
1: struct ata_queued_cmd;
1: @@ -80416,22 +81041,22 @@ struct ata_queued_cmd;
1: typedef void (*ata_qc_cb_t)(struct ata_queued_cmd *);
1:
1: struct ata_taskfile {
1: - long unsigned int flags;
1: - u8 protocol;
1: - u8 ctl;
1: - u8 hob_feature;
1: - u8 hob_nsect;
1: - u8 hob_lbal;
1: - u8 hob_lbam;
1: - u8 hob_lbah;
1: - u8 feature;
1: - u8 nsect;
1: - u8 lbal;
1: - u8 lbam;
1: - u8 lbah;
1: - u8 device;
1: - u8 command;
1: - u32 auxiliary;
1: + long unsigned int flags;
1: + u8 protocol;
1: + u8 ctl;
1: + u8 hob_feature;
1: + u8 hob_nsect;
1: + u8 hob_lbal;
1: + u8 hob_lbam;
1: + u8 hob_lbah;
1: + u8 feature;
1: + u8 nsect;
1: + u8 lbal;
1: + u8 lbam;
1: + u8 lbah;
1: + u8 device;
1: + u8 command;
1: + u32 auxiliary;
1: };
1:
1: struct ata_port;
1: @@ -80439,31 +81064,31 @@ struct ata_port;
1: struct ata_device;
1:
1: struct ata_queued_cmd {
1: - struct ata_port *ap;
1: - struct ata_device *dev;
1: - struct scsi_cmnd *scsicmd;
1: - void (*scsidone)(struct scsi_cmnd *);
1: - struct ata_taskfile tf;
1: - u8 cdb[16];
1: - long unsigned int flags;
1: - unsigned int tag;
1: - unsigned int hw_tag;
1: - unsigned int n_elem;
1: - unsigned int orig_n_elem;
1: - int dma_dir;
1: - unsigned int sect_size;
1: - unsigned int nbytes;
1: - unsigned int extrabytes;
1: - unsigned int curbytes;
1: - struct scatterlist sgent;
1: - struct scatterlist *sg;
1: - struct scatterlist *cursg;
1: - unsigned int cursg_ofs;
1: - unsigned int err_mask;
1: - struct ata_taskfile result_tf;
1: - ata_qc_cb_t complete_fn;
1: - void *private_data;
1: - void *lldd_task;
1: + struct ata_port *ap;
1: + struct ata_device *dev;
1: + struct scsi_cmnd *scsicmd;
1: + void (*scsidone)(struct scsi_cmnd *);
1: + struct ata_taskfile tf;
1: + u8 cdb[16];
1: + long unsigned int flags;
1: + unsigned int tag;
1: + unsigned int hw_tag;
1: + unsigned int n_elem;
1: + unsigned int orig_n_elem;
1: + int dma_dir;
1: + unsigned int sect_size;
1: + unsigned int nbytes;
1: + unsigned int extrabytes;
1: + unsigned int curbytes;
1: + struct scatterlist sgent;
1: + struct scatterlist *sg;
1: + struct scatterlist *cursg;
1: + unsigned int cursg_ofs;
1: + unsigned int err_mask;
1: + struct ata_taskfile result_tf;
1: + ata_qc_cb_t complete_fn;
1: + void *private_data;
1: + void *lldd_task;
1: };
1:
1: struct ata_link;
1: @@ -80471,400 +81096,402 @@ struct ata_link;
1: typedef int (*ata_prereset_fn_t)(struct ata_link *, long unsigned int);
1:
1: struct ata_eh_info {
1: - struct ata_device *dev;
1: - u32 serror;
1: - unsigned int err_mask;
1: - unsigned int action;
1: - unsigned int dev_action[2];
1: - unsigned int flags;
1: - unsigned int probe_mask;
1: - char desc[80];
1: - int desc_len;
1: + struct ata_device *dev;
1: + u32 serror;
1: + unsigned int err_mask;
1: + unsigned int action;
1: + unsigned int dev_action[2];
1: + unsigned int flags;
1: + unsigned int probe_mask;
1: + char desc[80];
1: + int desc_len;
1: };
1:
1: struct ata_eh_context {
1: - struct ata_eh_info i;
1: - int tries[2];
1: - int cmd_timeout_idx[12];
1: - unsigned int classes[2];
1: - unsigned int did_probe_mask;
1: - unsigned int unloaded_mask;
1: - unsigned int saved_ncq_enabled;
1: - u8 saved_xfer_mode[2];
1: - long unsigned int last_reset;
1: + struct ata_eh_info i;
1: + int tries[2];
1: + int cmd_timeout_idx[12];
1: + unsigned int classes[2];
1: + unsigned int did_probe_mask;
1: + unsigned int unloaded_mask;
1: + unsigned int saved_ncq_enabled;
1: + u8 saved_xfer_mode[2];
1: + long unsigned int last_reset;
1: };
1:
1: struct ata_ering_entry {
1: - unsigned int eflags;
1: - unsigned int err_mask;
1: - u64 timestamp;
1: + unsigned int eflags;
1: + unsigned int err_mask;
1: + u64 timestamp;
1: };
1:
1: struct ata_ering {
1: - int cursor;
1: - struct ata_ering_entry ring[32];
1: + int cursor;
1: + struct ata_ering_entry ring[32];
1: };
1:
1: struct ata_device {
1: - struct ata_link *link;
1: - unsigned int devno;
1: - unsigned int horkage;
1: - long unsigned int flags;
1: - struct scsi_device *sdev;
1: - void *private_data;
1: - union acpi_object *gtf_cache;
1: - unsigned int gtf_filter;
1: - struct device tdev;
1: - u64 n_sectors;
1: - u64 n_native_sectors;
1: - unsigned int class;
1: - long unsigned int unpark_deadline;
1: - u8 pio_mode;
1: - u8 dma_mode;
1: - u8 xfer_mode;
1: - unsigned int xfer_shift;
1: - unsigned int multi_count;
1: - unsigned int max_sectors;
1: - unsigned int cdb_len;
1: - long unsigned int pio_mask;
1: - long unsigned int mwdma_mask;
1: - long unsigned int udma_mask;
1: - u16 cylinders;
1: - u16 heads;
1: - u16 sectors;
1: - long: 16;
1: - long: 64;
1: - union {
1: - u16 id[256];
1: - u32 gscr[128];
1: - };
1: - u8 devslp_timing[8];
1: - u8 ncq_send_recv_cmds[20];
1: - u8 ncq_non_data_cmds[64];
1: - u32 zac_zoned_cap;
1: - u32 zac_zones_optimal_open;
1: - u32 zac_zones_optimal_nonseq;
1: - u32 zac_zones_max_open;
1: - int spdn_cnt;
1: - struct ata_ering ering;
1: - long: 64;
1: + struct ata_link *link;
1: + unsigned int devno;
1: + unsigned int horkage;
1: + long unsigned int flags;
1: + struct scsi_device *sdev;
1: + void *private_data;
1: + union acpi_object *gtf_cache;
1: + unsigned int gtf_filter;
1: + struct device tdev;
1: + u64 n_sectors;
1: + u64 n_native_sectors;
1: + unsigned int class;
1: + long unsigned int unpark_deadline;
1: + u8 pio_mode;
1: + u8 dma_mode;
1: + u8 xfer_mode;
1: + unsigned int xfer_shift;
1: + unsigned int multi_count;
1: + unsigned int max_sectors;
1: + unsigned int cdb_len;
1: + long unsigned int pio_mask;
1: + long unsigned int mwdma_mask;
1: + long unsigned int udma_mask;
1: + u16 cylinders;
1: + u16 heads;
1: + u16 sectors;
1: + long : 16;
1: + long : 64;
1: + union {
1: + u16 id[256];
1: + u32 gscr[128];
1: + };
1: + u8 devslp_timing[8];
1: + u8 ncq_send_recv_cmds[20];
1: + u8 ncq_non_data_cmds[64];
1: + u32 zac_zoned_cap;
1: + u32 zac_zones_optimal_open;
1: + u32 zac_zones_optimal_nonseq;
1: + u32 zac_zones_max_open;
1: + int spdn_cnt;
1: + struct ata_ering ering;
1: + long : 64;
1: };
1:
1: struct ata_link {
1: - struct ata_port *ap;
1: - int pmp;
1: - struct device tdev;
1: - unsigned int active_tag;
1: - u32 sactive;
1: - unsigned int flags;
1: - u32 saved_scontrol;
1: - unsigned int hw_sata_spd_limit;
1: - unsigned int sata_spd_limit;
1: - unsigned int sata_spd;
1: - enum ata_lpm_policy lpm_policy;
1: - struct ata_eh_info eh_info;
1: - struct ata_eh_context eh_context;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct ata_device device[2];
1: - long unsigned int last_lpm_change;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: -};
1: -
1: -typedef int (*ata_reset_fn_t)(struct ata_link *, unsigned int *, long unsigned int);
1: + struct ata_port *ap;
1: + int pmp;
1: + struct device tdev;
1: + unsigned int active_tag;
1: + u32 sactive;
1: + unsigned int flags;
1: + u32 saved_scontrol;
1: + unsigned int hw_sata_spd_limit;
1: + unsigned int sata_spd_limit;
1: + unsigned int sata_spd;
1: + enum ata_lpm_policy lpm_policy;
1: + struct ata_eh_info eh_info;
1: + struct ata_eh_context eh_context;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct ata_device device[2];
1: + long unsigned int last_lpm_change;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: +};
1: +
1: +typedef int (*ata_reset_fn_t)(struct ata_link *, unsigned int *,
1: + long unsigned int);
1:
1: typedef void (*ata_postreset_fn_t)(struct ata_link *, unsigned int *);
1:
1: enum sw_activity {
1: - OFF = 0,
1: - BLINK_ON = 1,
1: - BLINK_OFF = 2,
1: + OFF = 0,
1: + BLINK_ON = 1,
1: + BLINK_OFF = 2,
1: };
1:
1: struct ata_ioports {
1: - void *cmd_addr;
1: - void *data_addr;
1: - void *error_addr;
1: - void *feature_addr;
1: - void *nsect_addr;
1: - void *lbal_addr;
1: - void *lbam_addr;
1: - void *lbah_addr;
1: - void *device_addr;
1: - void *status_addr;
1: - void *command_addr;
1: - void *altstatus_addr;
1: - void *ctl_addr;
1: - void *bmdma_addr;
1: - void *scr_addr;
1: + void *cmd_addr;
1: + void *data_addr;
1: + void *error_addr;
1: + void *feature_addr;
1: + void *nsect_addr;
1: + void *lbal_addr;
1: + void *lbam_addr;
1: + void *lbah_addr;
1: + void *device_addr;
1: + void *status_addr;
1: + void *command_addr;
1: + void *altstatus_addr;
1: + void *ctl_addr;
1: + void *bmdma_addr;
1: + void *scr_addr;
1: };
1:
1: struct ata_port_operations;
1:
1: struct ata_host {
1: - spinlock_t lock;
1: - struct device *dev;
1: - void * const *iomap;
1: - unsigned int n_ports;
1: - unsigned int n_tags;
1: - void *private_data;
1: - struct ata_port_operations *ops;
1: - long unsigned int flags;
1: - struct kref kref;
1: - struct mutex eh_mutex;
1: - struct task_struct *eh_owner;
1: - struct ata_port *simplex_claimed;
1: - struct ata_port *ports[0];
1: + spinlock_t lock;
1: + struct device *dev;
1: + void *const *iomap;
1: + unsigned int n_ports;
1: + unsigned int n_tags;
1: + void *private_data;
1: + struct ata_port_operations *ops;
1: + long unsigned int flags;
1: + struct kref kref;
1: + struct mutex eh_mutex;
1: + struct task_struct *eh_owner;
1: + struct ata_port *simplex_claimed;
1: + struct ata_port *ports[0];
1: };
1:
1: struct ata_port_operations {
1: - int (*qc_defer)(struct ata_queued_cmd *);
1: - int (*check_atapi_dma)(struct ata_queued_cmd *);
1: - enum ata_completion_errors (*qc_prep)(struct ata_queued_cmd *);
1: - unsigned int (*qc_issue)(struct ata_queued_cmd *);
1: - bool (*qc_fill_rtf)(struct ata_queued_cmd *);
1: - int (*cable_detect)(struct ata_port *);
1: - long unsigned int (*mode_filter)(struct ata_device *, long unsigned int);
1: - void (*set_piomode)(struct ata_port *, struct ata_device *);
1: - void (*set_dmamode)(struct ata_port *, struct ata_device *);
1: - int (*set_mode)(struct ata_link *, struct ata_device **);
1: - unsigned int (*read_id)(struct ata_device *, struct ata_taskfile *, u16 *);
1: - void (*dev_config)(struct ata_device *);
1: - void (*freeze)(struct ata_port *);
1: - void (*thaw)(struct ata_port *);
1: - ata_prereset_fn_t prereset;
1: - ata_reset_fn_t softreset;
1: - ata_reset_fn_t hardreset;
1: - ata_postreset_fn_t postreset;
1: - ata_prereset_fn_t pmp_prereset;
1: - ata_reset_fn_t pmp_softreset;
1: - ata_reset_fn_t pmp_hardreset;
1: - ata_postreset_fn_t pmp_postreset;
1: - void (*error_handler)(struct ata_port *);
1: - void (*lost_interrupt)(struct ata_port *);
1: - void (*post_internal_cmd)(struct ata_queued_cmd *);
1: - void (*sched_eh)(struct ata_port *);
1: - void (*end_eh)(struct ata_port *);
1: - int (*scr_read)(struct ata_link *, unsigned int, u32 *);
1: - int (*scr_write)(struct ata_link *, unsigned int, u32);
1: - void (*pmp_attach)(struct ata_port *);
1: - void (*pmp_detach)(struct ata_port *);
1: - int (*set_lpm)(struct ata_link *, enum ata_lpm_policy, unsigned int);
1: - int (*port_suspend)(struct ata_port *, pm_message_t);
1: - int (*port_resume)(struct ata_port *);
1: - int (*port_start)(struct ata_port *);
1: - void (*port_stop)(struct ata_port *);
1: - void (*host_stop)(struct ata_host *);
1: - void (*sff_dev_select)(struct ata_port *, unsigned int);
1: - void (*sff_set_devctl)(struct ata_port *, u8);
1: - u8 (*sff_check_status)(struct ata_port *);
1: - u8 (*sff_check_altstatus)(struct ata_port *);
1: - void (*sff_tf_load)(struct ata_port *, const struct ata_taskfile *);
1: - void (*sff_tf_read)(struct ata_port *, struct ata_taskfile *);
1: - void (*sff_exec_command)(struct ata_port *, const struct ata_taskfile *);
1: - unsigned int (*sff_data_xfer)(struct ata_queued_cmd *, unsigned char *, unsigned int, int);
1: - void (*sff_irq_on)(struct ata_port *);
1: - bool (*sff_irq_check)(struct ata_port *);
1: - void (*sff_irq_clear)(struct ata_port *);
1: - void (*sff_drain_fifo)(struct ata_queued_cmd *);
1: - void (*bmdma_setup)(struct ata_queued_cmd *);
1: - void (*bmdma_start)(struct ata_queued_cmd *);
1: - void (*bmdma_stop)(struct ata_queued_cmd *);
1: - u8 (*bmdma_status)(struct ata_port *);
1: - ssize_t (*em_show)(struct ata_port *, char *);
1: - ssize_t (*em_store)(struct ata_port *, const char *, size_t);
1: - ssize_t (*sw_activity_show)(struct ata_device *, char *);
1: - ssize_t (*sw_activity_store)(struct ata_device *, enum sw_activity);
1: - ssize_t (*transmit_led_message)(struct ata_port *, u32, ssize_t);
1: - void (*phy_reset)(struct ata_port *);
1: - void (*eng_timeout)(struct ata_port *);
1: - const struct ata_port_operations *inherits;
1: + int (*qc_defer)(struct ata_queued_cmd *);
1: + int (*check_atapi_dma)(struct ata_queued_cmd *);
1: + enum ata_completion_errors (*qc_prep)(struct ata_queued_cmd *);
1: + unsigned int (*qc_issue)(struct ata_queued_cmd *);
1: + bool (*qc_fill_rtf)(struct ata_queued_cmd *);
1: + int (*cable_detect)(struct ata_port *);
1: + long unsigned int (*mode_filter)(struct ata_device *, long unsigned int);
1: + void (*set_piomode)(struct ata_port *, struct ata_device *);
1: + void (*set_dmamode)(struct ata_port *, struct ata_device *);
1: + int (*set_mode)(struct ata_link *, struct ata_device **);
1: + unsigned int (*read_id)(struct ata_device *, struct ata_taskfile *, u16 *);
1: + void (*dev_config)(struct ata_device *);
1: + void (*freeze)(struct ata_port *);
1: + void (*thaw)(struct ata_port *);
1: + ata_prereset_fn_t prereset;
1: + ata_reset_fn_t softreset;
1: + ata_reset_fn_t hardreset;
1: + ata_postreset_fn_t postreset;
1: + ata_prereset_fn_t pmp_prereset;
1: + ata_reset_fn_t pmp_softreset;
1: + ata_reset_fn_t pmp_hardreset;
1: + ata_postreset_fn_t pmp_postreset;
1: + void (*error_handler)(struct ata_port *);
1: + void (*lost_interrupt)(struct ata_port *);
1: + void (*post_internal_cmd)(struct ata_queued_cmd *);
1: + void (*sched_eh)(struct ata_port *);
1: + void (*end_eh)(struct ata_port *);
1: + int (*scr_read)(struct ata_link *, unsigned int, u32 *);
1: + int (*scr_write)(struct ata_link *, unsigned int, u32);
1: + void (*pmp_attach)(struct ata_port *);
1: + void (*pmp_detach)(struct ata_port *);
1: + int (*set_lpm)(struct ata_link *, enum ata_lpm_policy, unsigned int);
1: + int (*port_suspend)(struct ata_port *, pm_message_t);
1: + int (*port_resume)(struct ata_port *);
1: + int (*port_start)(struct ata_port *);
1: + void (*port_stop)(struct ata_port *);
1: + void (*host_stop)(struct ata_host *);
1: + void (*sff_dev_select)(struct ata_port *, unsigned int);
1: + void (*sff_set_devctl)(struct ata_port *, u8);
1: + u8 (*sff_check_status)(struct ata_port *);
1: + u8 (*sff_check_altstatus)(struct ata_port *);
1: + void (*sff_tf_load)(struct ata_port *, const struct ata_taskfile *);
1: + void (*sff_tf_read)(struct ata_port *, struct ata_taskfile *);
1: + void (*sff_exec_command)(struct ata_port *, const struct ata_taskfile *);
1: + unsigned int (*sff_data_xfer)(struct ata_queued_cmd *, unsigned char *,
1: + unsigned int, int);
1: + void (*sff_irq_on)(struct ata_port *);
1: + bool (*sff_irq_check)(struct ata_port *);
1: + void (*sff_irq_clear)(struct ata_port *);
1: + void (*sff_drain_fifo)(struct ata_queued_cmd *);
1: + void (*bmdma_setup)(struct ata_queued_cmd *);
1: + void (*bmdma_start)(struct ata_queued_cmd *);
1: + void (*bmdma_stop)(struct ata_queued_cmd *);
1: + u8 (*bmdma_status)(struct ata_port *);
1: + ssize_t (*em_show)(struct ata_port *, char *);
1: + ssize_t (*em_store)(struct ata_port *, const char *, size_t);
1: + ssize_t (*sw_activity_show)(struct ata_device *, char *);
1: + ssize_t (*sw_activity_store)(struct ata_device *, enum sw_activity);
1: + ssize_t (*transmit_led_message)(struct ata_port *, u32, ssize_t);
1: + void (*phy_reset)(struct ata_port *);
1: + void (*eng_timeout)(struct ata_port *);
1: + const struct ata_port_operations *inherits;
1: };
1:
1: struct ata_port_stats {
1: - long unsigned int unhandled_irq;
1: - long unsigned int idle_irq;
1: - long unsigned int rw_reqbuf;
1: + long unsigned int unhandled_irq;
1: + long unsigned int idle_irq;
1: + long unsigned int rw_reqbuf;
1: };
1:
1: struct ata_acpi_drive {
1: - u32 pio;
1: - u32 dma;
1: + u32 pio;
1: + u32 dma;
1: };
1:
1: struct ata_acpi_gtm {
1: - struct ata_acpi_drive drive[2];
1: - u32 flags;
1: + struct ata_acpi_drive drive[2];
1: + u32 flags;
1: };
1:
1: struct ata_port {
1: - struct Scsi_Host *scsi_host;
1: - struct ata_port_operations *ops;
1: - spinlock_t *lock;
1: - long unsigned int flags;
1: - unsigned int pflags;
1: - unsigned int print_id;
1: - unsigned int local_port_no;
1: - unsigned int port_no;
1: - struct ata_ioports ioaddr;
1: - u8 ctl;
1: - u8 last_ctl;
1: - struct ata_link *sff_pio_task_link;
1: - struct delayed_work sff_pio_task;
1: - struct ata_bmdma_prd *bmdma_prd;
1: - dma_addr_t bmdma_prd_dma;
1: - unsigned int pio_mask;
1: - unsigned int mwdma_mask;
1: - unsigned int udma_mask;
1: - unsigned int cbl;
1: - struct ata_queued_cmd qcmd[33];
1: - long unsigned int sas_tag_allocated;
1: - u64 qc_active;
1: - int nr_active_links;
1: - unsigned int sas_last_tag;
1: - long: 64;
1: - struct ata_link link;
1: - struct ata_link *slave_link;
1: - int nr_pmp_links;
1: - struct ata_link *pmp_link;
1: - struct ata_link *excl_link;
1: - struct ata_port_stats stats;
1: - struct ata_host *host;
1: - struct device *dev;
1: - struct device tdev;
1: - struct mutex scsi_scan_mutex;
1: - struct delayed_work hotplug_task;
1: - struct work_struct scsi_rescan_task;
1: - unsigned int hsm_task_state;
1: - u32 msg_enable;
1: - struct list_head eh_done_q;
1: - wait_queue_head_t eh_wait_q;
1: - int eh_tries;
1: - struct completion park_req_pending;
1: - pm_message_t pm_mesg;
1: - enum ata_lpm_policy target_lpm_policy;
1: - struct timer_list fastdrain_timer;
1: - long unsigned int fastdrain_cnt;
1: - int em_message_type;
1: - void *private_data;
1: - struct ata_acpi_gtm __acpi_init_gtm;
1: - int: 32;
1: - u8 sector_buf[512];
1: + struct Scsi_Host *scsi_host;
1: + struct ata_port_operations *ops;
1: + spinlock_t *lock;
1: + long unsigned int flags;
1: + unsigned int pflags;
1: + unsigned int print_id;
1: + unsigned int local_port_no;
1: + unsigned int port_no;
1: + struct ata_ioports ioaddr;
1: + u8 ctl;
1: + u8 last_ctl;
1: + struct ata_link *sff_pio_task_link;
1: + struct delayed_work sff_pio_task;
1: + struct ata_bmdma_prd *bmdma_prd;
1: + dma_addr_t bmdma_prd_dma;
1: + unsigned int pio_mask;
1: + unsigned int mwdma_mask;
1: + unsigned int udma_mask;
1: + unsigned int cbl;
1: + struct ata_queued_cmd qcmd[33];
1: + long unsigned int sas_tag_allocated;
1: + u64 qc_active;
1: + int nr_active_links;
1: + unsigned int sas_last_tag;
1: + long : 64;
1: + struct ata_link link;
1: + struct ata_link *slave_link;
1: + int nr_pmp_links;
1: + struct ata_link *pmp_link;
1: + struct ata_link *excl_link;
1: + struct ata_port_stats stats;
1: + struct ata_host *host;
1: + struct device *dev;
1: + struct device tdev;
1: + struct mutex scsi_scan_mutex;
1: + struct delayed_work hotplug_task;
1: + struct work_struct scsi_rescan_task;
1: + unsigned int hsm_task_state;
1: + u32 msg_enable;
1: + struct list_head eh_done_q;
1: + wait_queue_head_t eh_wait_q;
1: + int eh_tries;
1: + struct completion park_req_pending;
1: + pm_message_t pm_mesg;
1: + enum ata_lpm_policy target_lpm_policy;
1: + struct timer_list fastdrain_timer;
1: + long unsigned int fastdrain_cnt;
1: + int em_message_type;
1: + void *private_data;
1: + struct ata_acpi_gtm __acpi_init_gtm;
1: + int : 32;
1: + u8 sector_buf[512];
1: };
1:
1: struct ata_port_info {
1: - long unsigned int flags;
1: - long unsigned int link_flags;
1: - long unsigned int pio_mask;
1: - long unsigned int mwdma_mask;
1: - long unsigned int udma_mask;
1: - struct ata_port_operations *port_ops;
1: - void *private_data;
1: + long unsigned int flags;
1: + long unsigned int link_flags;
1: + long unsigned int pio_mask;
1: + long unsigned int mwdma_mask;
1: + long unsigned int udma_mask;
1: + struct ata_port_operations *port_ops;
1: + void *private_data;
1: };
1:
1: struct ata_timing {
1: - short unsigned int mode;
1: - short unsigned int setup;
1: - short unsigned int act8b;
1: - short unsigned int rec8b;
1: - short unsigned int cyc8b;
1: - short unsigned int active;
1: - short unsigned int recover;
1: - short unsigned int dmack_hold;
1: - short unsigned int cycle;
1: - short unsigned int udma;
1: + short unsigned int mode;
1: + short unsigned int setup;
1: + short unsigned int act8b;
1: + short unsigned int rec8b;
1: + short unsigned int cyc8b;
1: + short unsigned int active;
1: + short unsigned int recover;
1: + short unsigned int dmack_hold;
1: + short unsigned int cycle;
1: + short unsigned int udma;
1: };
1:
1: struct pci_bits {
1: - unsigned int reg;
1: - unsigned int width;
1: - long unsigned int mask;
1: - long unsigned int val;
1: + unsigned int reg;
1: + unsigned int width;
1: + long unsigned int mask;
1: + long unsigned int val;
1: };
1:
1: enum ata_link_iter_mode {
1: - ATA_LITER_EDGE = 0,
1: - ATA_LITER_HOST_FIRST = 1,
1: - ATA_LITER_PMP_FIRST = 2,
1: + ATA_LITER_EDGE = 0,
1: + ATA_LITER_HOST_FIRST = 1,
1: + ATA_LITER_PMP_FIRST = 2,
1: };
1:
1: enum ata_dev_iter_mode {
1: - ATA_DITER_ENABLED = 0,
1: - ATA_DITER_ENABLED_REVERSE = 1,
1: - ATA_DITER_ALL = 2,
1: - ATA_DITER_ALL_REVERSE = 3,
1: + ATA_DITER_ENABLED = 0,
1: + ATA_DITER_ENABLED_REVERSE = 1,
1: + ATA_DITER_ALL = 2,
1: + ATA_DITER_ALL_REVERSE = 3,
1: };
1:
1: struct trace_event_raw_ata_qc_issue {
1: - struct trace_entry ent;
1: - unsigned int ata_port;
1: - unsigned int ata_dev;
1: - unsigned int tag;
1: - unsigned char cmd;
1: - unsigned char dev;
1: - unsigned char lbal;
1: - unsigned char lbam;
1: - unsigned char lbah;
1: - unsigned char nsect;
1: - unsigned char feature;
1: - unsigned char hob_lbal;
1: - unsigned char hob_lbam;
1: - unsigned char hob_lbah;
1: - unsigned char hob_nsect;
1: - unsigned char hob_feature;
1: - unsigned char ctl;
1: - unsigned char proto;
1: - long unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int ata_port;
1: + unsigned int ata_dev;
1: + unsigned int tag;
1: + unsigned char cmd;
1: + unsigned char dev;
1: + unsigned char lbal;
1: + unsigned char lbam;
1: + unsigned char lbah;
1: + unsigned char nsect;
1: + unsigned char feature;
1: + unsigned char hob_lbal;
1: + unsigned char hob_lbam;
1: + unsigned char hob_lbah;
1: + unsigned char hob_nsect;
1: + unsigned char hob_feature;
1: + unsigned char ctl;
1: + unsigned char proto;
1: + long unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ata_qc_complete_template {
1: - struct trace_entry ent;
1: - unsigned int ata_port;
1: - unsigned int ata_dev;
1: - unsigned int tag;
1: - unsigned char status;
1: - unsigned char dev;
1: - unsigned char lbal;
1: - unsigned char lbam;
1: - unsigned char lbah;
1: - unsigned char nsect;
1: - unsigned char error;
1: - unsigned char hob_lbal;
1: - unsigned char hob_lbam;
1: - unsigned char hob_lbah;
1: - unsigned char hob_nsect;
1: - unsigned char hob_feature;
1: - unsigned char ctl;
1: - long unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int ata_port;
1: + unsigned int ata_dev;
1: + unsigned int tag;
1: + unsigned char status;
1: + unsigned char dev;
1: + unsigned char lbal;
1: + unsigned char lbam;
1: + unsigned char lbah;
1: + unsigned char nsect;
1: + unsigned char error;
1: + unsigned char hob_lbal;
1: + unsigned char hob_lbam;
1: + unsigned char hob_lbah;
1: + unsigned char hob_nsect;
1: + unsigned char hob_feature;
1: + unsigned char ctl;
1: + long unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ata_eh_link_autopsy {
1: - struct trace_entry ent;
1: - unsigned int ata_port;
1: - unsigned int ata_dev;
1: - unsigned int eh_action;
1: - unsigned int eh_err_mask;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int ata_port;
1: + unsigned int ata_dev;
1: + unsigned int eh_action;
1: + unsigned int eh_err_mask;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_ata_eh_link_autopsy_qc {
1: - struct trace_entry ent;
1: - unsigned int ata_port;
1: - unsigned int ata_dev;
1: - unsigned int tag;
1: - unsigned int qc_flags;
1: - unsigned int eh_err_mask;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int ata_port;
1: + unsigned int ata_dev;
1: + unsigned int tag;
1: + unsigned int qc_flags;
1: + unsigned int eh_err_mask;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_ata_qc_issue {};
1: @@ -80876,5758 +81503,5762 @@ struct trace_event_data_offsets_ata_eh_link_autopsy {};
1: struct trace_event_data_offsets_ata_eh_link_autopsy_qc {};
1:
1: enum {
1: - ATA_READID_POSTRESET = 1,
1: - ATA_DNXFER_PIO = 0,
1: - ATA_DNXFER_DMA = 1,
1: - ATA_DNXFER_40C = 2,
1: - ATA_DNXFER_FORCE_PIO = 3,
1: - ATA_DNXFER_FORCE_PIO0 = 4,
1: - ATA_DNXFER_QUIET = -2147483648,
1: + ATA_READID_POSTRESET = 1,
1: + ATA_DNXFER_PIO = 0,
1: + ATA_DNXFER_DMA = 1,
1: + ATA_DNXFER_40C = 2,
1: + ATA_DNXFER_FORCE_PIO = 3,
1: + ATA_DNXFER_FORCE_PIO0 = 4,
1: + ATA_DNXFER_QUIET = -2147483648,
1: };
1:
1: struct ata_force_param {
1: - const char *name;
1: - unsigned int cbl;
1: - int spd_limit;
1: - long unsigned int xfer_mask;
1: - unsigned int horkage_on;
1: - unsigned int horkage_off;
1: - unsigned int lflags;
1: + const char *name;
1: + unsigned int cbl;
1: + int spd_limit;
1: + long unsigned int xfer_mask;
1: + unsigned int horkage_on;
1: + unsigned int horkage_off;
1: + unsigned int lflags;
1: };
1:
1: struct ata_force_ent {
1: - int port;
1: - int device;
1: - struct ata_force_param param;
1: + int port;
1: + int device;
1: + struct ata_force_param param;
1: };
1:
1: struct ata_xfer_ent {
1: - int shift;
1: - int bits;
1: - u8 base;
1: + int shift;
1: + int bits;
1: + u8 base;
1: };
1:
1: struct ata_blacklist_entry {
1: - const char *model_num;
1: - const char *model_rev;
1: - long unsigned int horkage;
1: + const char *model_num;
1: + const char *model_rev;
1: + long unsigned int horkage;
1: };
1:
1: typedef unsigned int (*ata_xlat_func_t)(struct ata_queued_cmd *);
1:
1: struct ata_scsi_args {
1: - struct ata_device *dev;
1: - u16 *id;
1: - struct scsi_cmnd *cmd;
1: + struct ata_device *dev;
1: + u16 *id;
1: + struct scsi_cmnd *cmd;
1: };
1:
1: enum ata_lpm_hints {
1: - ATA_LPM_EMPTY = 1,
1: - ATA_LPM_HIPM = 2,
1: - ATA_LPM_WAKE_ONLY = 4,
1: -};
1: -
1: -enum {
1: - ATA_EH_SPDN_NCQ_OFF = 1,
1: - ATA_EH_SPDN_SPEED_DOWN = 2,
1: - ATA_EH_SPDN_FALLBACK_TO_PIO = 4,
1: - ATA_EH_SPDN_KEEP_ERRORS = 8,
1: - ATA_EFLAG_IS_IO = 1,
1: - ATA_EFLAG_DUBIOUS_XFER = 2,
1: - ATA_EFLAG_OLD_ER = -2147483648,
1: - ATA_ECAT_NONE = 0,
1: - ATA_ECAT_ATA_BUS = 1,
1: - ATA_ECAT_TOUT_HSM = 2,
1: - ATA_ECAT_UNK_DEV = 3,
1: - ATA_ECAT_DUBIOUS_NONE = 4,
1: - ATA_ECAT_DUBIOUS_ATA_BUS = 5,
1: - ATA_ECAT_DUBIOUS_TOUT_HSM = 6,
1: - ATA_ECAT_DUBIOUS_UNK_DEV = 7,
1: - ATA_ECAT_NR = 8,
1: - ATA_EH_CMD_DFL_TIMEOUT = 5000,
1: - ATA_EH_RESET_COOL_DOWN = 5000,
1: - ATA_EH_PRERESET_TIMEOUT = 10000,
1: - ATA_EH_FASTDRAIN_INTERVAL = 3000,
1: - ATA_EH_UA_TRIES = 5,
1: - ATA_EH_PROBE_TRIAL_INTERVAL = 60000,
1: - ATA_EH_PROBE_TRIALS = 2,
1: + ATA_LPM_EMPTY = 1,
1: + ATA_LPM_HIPM = 2,
1: + ATA_LPM_WAKE_ONLY = 4,
1: +};
1: +
1: +enum {
1: + ATA_EH_SPDN_NCQ_OFF = 1,
1: + ATA_EH_SPDN_SPEED_DOWN = 2,
1: + ATA_EH_SPDN_FALLBACK_TO_PIO = 4,
1: + ATA_EH_SPDN_KEEP_ERRORS = 8,
1: + ATA_EFLAG_IS_IO = 1,
1: + ATA_EFLAG_DUBIOUS_XFER = 2,
1: + ATA_EFLAG_OLD_ER = -2147483648,
1: + ATA_ECAT_NONE = 0,
1: + ATA_ECAT_ATA_BUS = 1,
1: + ATA_ECAT_TOUT_HSM = 2,
1: + ATA_ECAT_UNK_DEV = 3,
1: + ATA_ECAT_DUBIOUS_NONE = 4,
1: + ATA_ECAT_DUBIOUS_ATA_BUS = 5,
1: + ATA_ECAT_DUBIOUS_TOUT_HSM = 6,
1: + ATA_ECAT_DUBIOUS_UNK_DEV = 7,
1: + ATA_ECAT_NR = 8,
1: + ATA_EH_CMD_DFL_TIMEOUT = 5000,
1: + ATA_EH_RESET_COOL_DOWN = 5000,
1: + ATA_EH_PRERESET_TIMEOUT = 10000,
1: + ATA_EH_FASTDRAIN_INTERVAL = 3000,
1: + ATA_EH_UA_TRIES = 5,
1: + ATA_EH_PROBE_TRIAL_INTERVAL = 60000,
1: + ATA_EH_PROBE_TRIALS = 2,
1: };
1:
1: struct ata_eh_cmd_timeout_ent {
1: - const u8 *commands;
1: - const long unsigned int *timeouts;
1: + const u8 *commands;
1: + const long unsigned int *timeouts;
1: };
1:
1: struct speed_down_verdict_arg {
1: - u64 since;
1: - int xfer_ok;
1: - int nr_errors[8];
1: + u64 since;
1: + int xfer_ok;
1: + int nr_errors[8];
1: };
1:
1: struct ata_internal {
1: - struct scsi_transport_template t;
1: - struct device_attribute private_port_attrs[3];
1: - struct device_attribute private_link_attrs[3];
1: - struct device_attribute private_dev_attrs[9];
1: - struct transport_container link_attr_cont;
1: - struct transport_container dev_attr_cont;
1: - struct device_attribute *link_attrs[4];
1: - struct device_attribute *port_attrs[4];
1: - struct device_attribute *dev_attrs[10];
1: + struct scsi_transport_template t;
1: + struct device_attribute private_port_attrs[3];
1: + struct device_attribute private_link_attrs[3];
1: + struct device_attribute private_dev_attrs[9];
1: + struct transport_container link_attr_cont;
1: + struct transport_container dev_attr_cont;
1: + struct device_attribute *link_attrs[4];
1: + struct device_attribute *port_attrs[4];
1: + struct device_attribute *dev_attrs[10];
1: };
1:
1: struct ata_show_ering_arg {
1: - char *buf;
1: - int written;
1: + char *buf;
1: + int written;
1: };
1:
1: enum hsm_task_states {
1: - HSM_ST_IDLE = 0,
1: - HSM_ST_FIRST = 1,
1: - HSM_ST = 2,
1: - HSM_ST_LAST = 3,
1: - HSM_ST_ERR = 4,
1: + HSM_ST_IDLE = 0,
1: + HSM_ST_FIRST = 1,
1: + HSM_ST = 2,
1: + HSM_ST_LAST = 3,
1: + HSM_ST_ERR = 4,
1: };
1:
1: struct ata_acpi_gtf {
1: - u8 tf[7];
1: + u8 tf[7];
1: };
1:
1: struct ata_acpi_hotplug_context {
1: - struct acpi_hotplug_context hp;
1: - union {
1: - struct ata_port *ap;
1: - struct ata_device *dev;
1: - } data;
1: + struct acpi_hotplug_context hp;
1: + union {
1: + struct ata_port *ap;
1: + struct ata_device *dev;
1: + } data;
1: };
1:
1: struct regulator;
1:
1: struct phy_configure_opts_mipi_dphy {
1: - unsigned int clk_miss;
1: - unsigned int clk_post;
1: - unsigned int clk_pre;
1: - unsigned int clk_prepare;
1: - unsigned int clk_settle;
1: - unsigned int clk_term_en;
1: - unsigned int clk_trail;
1: - unsigned int clk_zero;
1: - unsigned int d_term_en;
1: - unsigned int eot;
1: - unsigned int hs_exit;
1: - unsigned int hs_prepare;
1: - unsigned int hs_settle;
1: - unsigned int hs_skip;
1: - unsigned int hs_trail;
1: - unsigned int hs_zero;
1: - unsigned int init;
1: - unsigned int lpx;
1: - unsigned int ta_get;
1: - unsigned int ta_go;
1: - unsigned int ta_sure;
1: - unsigned int wakeup;
1: - long unsigned int hs_clk_rate;
1: - long unsigned int lp_clk_rate;
1: - unsigned char lanes;
1: + unsigned int clk_miss;
1: + unsigned int clk_post;
1: + unsigned int clk_pre;
1: + unsigned int clk_prepare;
1: + unsigned int clk_settle;
1: + unsigned int clk_term_en;
1: + unsigned int clk_trail;
1: + unsigned int clk_zero;
1: + unsigned int d_term_en;
1: + unsigned int eot;
1: + unsigned int hs_exit;
1: + unsigned int hs_prepare;
1: + unsigned int hs_settle;
1: + unsigned int hs_skip;
1: + unsigned int hs_trail;
1: + unsigned int hs_zero;
1: + unsigned int init;
1: + unsigned int lpx;
1: + unsigned int ta_get;
1: + unsigned int ta_go;
1: + unsigned int ta_sure;
1: + unsigned int wakeup;
1: + long unsigned int hs_clk_rate;
1: + long unsigned int lp_clk_rate;
1: + unsigned char lanes;
1: };
1:
1: enum phy_mode {
1: - PHY_MODE_INVALID = 0,
1: - PHY_MODE_USB_HOST = 1,
1: - PHY_MODE_USB_HOST_LS = 2,
1: - PHY_MODE_USB_HOST_FS = 3,
1: - PHY_MODE_USB_HOST_HS = 4,
1: - PHY_MODE_USB_HOST_SS = 5,
1: - PHY_MODE_USB_DEVICE = 6,
1: - PHY_MODE_USB_DEVICE_LS = 7,
1: - PHY_MODE_USB_DEVICE_FS = 8,
1: - PHY_MODE_USB_DEVICE_HS = 9,
1: - PHY_MODE_USB_DEVICE_SS = 10,
1: - PHY_MODE_USB_OTG = 11,
1: - PHY_MODE_UFS_HS_A = 12,
1: - PHY_MODE_UFS_HS_B = 13,
1: - PHY_MODE_PCIE = 14,
1: - PHY_MODE_ETHERNET = 15,
1: - PHY_MODE_MIPI_DPHY = 16,
1: - PHY_MODE_SATA = 17,
1: - PHY_MODE_LVDS = 18,
1: + PHY_MODE_INVALID = 0,
1: + PHY_MODE_USB_HOST = 1,
1: + PHY_MODE_USB_HOST_LS = 2,
1: + PHY_MODE_USB_HOST_FS = 3,
1: + PHY_MODE_USB_HOST_HS = 4,
1: + PHY_MODE_USB_HOST_SS = 5,
1: + PHY_MODE_USB_DEVICE = 6,
1: + PHY_MODE_USB_DEVICE_LS = 7,
1: + PHY_MODE_USB_DEVICE_FS = 8,
1: + PHY_MODE_USB_DEVICE_HS = 9,
1: + PHY_MODE_USB_DEVICE_SS = 10,
1: + PHY_MODE_USB_OTG = 11,
1: + PHY_MODE_UFS_HS_A = 12,
1: + PHY_MODE_UFS_HS_B = 13,
1: + PHY_MODE_PCIE = 14,
1: + PHY_MODE_ETHERNET = 15,
1: + PHY_MODE_MIPI_DPHY = 16,
1: + PHY_MODE_SATA = 17,
1: + PHY_MODE_LVDS = 18,
1: };
1:
1: union phy_configure_opts {
1: - struct phy_configure_opts_mipi_dphy mipi_dphy;
1: + struct phy_configure_opts_mipi_dphy mipi_dphy;
1: };
1:
1: struct phy___2;
1:
1: struct phy_ops {
1: - int (*init)(struct phy___2 *);
1: - int (*exit)(struct phy___2 *);
1: - int (*power_on)(struct phy___2 *);
1: - int (*power_off)(struct phy___2 *);
1: - int (*set_mode)(struct phy___2 *, enum phy_mode, int);
1: - int (*configure)(struct phy___2 *, union phy_configure_opts *);
1: - int (*validate)(struct phy___2 *, enum phy_mode, int, union phy_configure_opts *);
1: - int (*reset)(struct phy___2 *);
1: - int (*calibrate)(struct phy___2 *);
1: - void (*release)(struct phy___2 *);
1: - struct module *owner;
1: + int (*init)(struct phy___2 *);
1: + int (*exit)(struct phy___2 *);
1: + int (*power_on)(struct phy___2 *);
1: + int (*power_off)(struct phy___2 *);
1: + int (*set_mode)(struct phy___2 *, enum phy_mode, int);
1: + int (*configure)(struct phy___2 *, union phy_configure_opts *);
1: + int (*validate)(struct phy___2 *, enum phy_mode, int,
1: + union phy_configure_opts *);
1: + int (*reset)(struct phy___2 *);
1: + int (*calibrate)(struct phy___2 *);
1: + void (*release)(struct phy___2 *);
1: + struct module *owner;
1: };
1:
1: struct phy_attrs {
1: - u32 bus_width;
1: - enum phy_mode mode;
1: + u32 bus_width;
1: + enum phy_mode mode;
1: };
1:
1: struct phy___2 {
1: - struct device dev;
1: - int id;
1: - const struct phy_ops *ops;
1: - struct mutex mutex;
1: - int init_count;
1: - int power_count;
1: - struct phy_attrs attrs;
1: - struct regulator *pwr;
1: -};
1: -
1: -enum {
1: - AHCI_MAX_PORTS = 32,
1: - AHCI_MAX_CLKS = 5,
1: - AHCI_MAX_SG = 168,
1: - AHCI_DMA_BOUNDARY = -1,
1: - AHCI_MAX_CMDS = 32,
1: - AHCI_CMD_SZ = 32,
1: - AHCI_CMD_SLOT_SZ = 1024,
1: - AHCI_RX_FIS_SZ = 256,
1: - AHCI_CMD_TBL_CDB = 64,
1: - AHCI_CMD_TBL_HDR_SZ = 128,
1: - AHCI_CMD_TBL_SZ = 2816,
1: - AHCI_CMD_TBL_AR_SZ = 90112,
1: - AHCI_PORT_PRIV_DMA_SZ = 91392,
1: - AHCI_PORT_PRIV_FBS_DMA_SZ = 95232,
1: - AHCI_IRQ_ON_SG = -2147483648,
1: - AHCI_CMD_ATAPI = 32,
1: - AHCI_CMD_WRITE = 64,
1: - AHCI_CMD_PREFETCH = 128,
1: - AHCI_CMD_RESET = 256,
1: - AHCI_CMD_CLR_BUSY = 1024,
1: - RX_FIS_PIO_SETUP = 32,
1: - RX_FIS_D2H_REG = 64,
1: - RX_FIS_SDB = 88,
1: - RX_FIS_UNK = 96,
1: - HOST_CAP = 0,
1: - HOST_CTL = 4,
1: - HOST_IRQ_STAT = 8,
1: - HOST_PORTS_IMPL = 12,
1: - HOST_VERSION = 16,
1: - HOST_EM_LOC = 28,
1: - HOST_EM_CTL = 32,
1: - HOST_CAP2 = 36,
1: - HOST_RESET = 1,
1: - HOST_IRQ_EN = 2,
1: - HOST_MRSM = 4,
1: - HOST_AHCI_EN = -2147483648,
1: - HOST_CAP_SXS = 32,
1: - HOST_CAP_EMS = 64,
1: - HOST_CAP_CCC = 128,
1: - HOST_CAP_PART = 8192,
1: - HOST_CAP_SSC = 16384,
1: - HOST_CAP_PIO_MULTI = 32768,
1: - HOST_CAP_FBS = 65536,
1: - HOST_CAP_PMP = 131072,
1: - HOST_CAP_ONLY = 262144,
1: - HOST_CAP_CLO = 16777216,
1: - HOST_CAP_LED = 33554432,
1: - HOST_CAP_ALPM = 67108864,
1: - HOST_CAP_SSS = 134217728,
1: - HOST_CAP_MPS = 268435456,
1: - HOST_CAP_SNTF = 536870912,
1: - HOST_CAP_NCQ = 1073741824,
1: - HOST_CAP_64 = -2147483648,
1: - HOST_CAP2_BOH = 1,
1: - HOST_CAP2_NVMHCI = 2,
1: - HOST_CAP2_APST = 4,
1: - HOST_CAP2_SDS = 8,
1: - HOST_CAP2_SADM = 16,
1: - HOST_CAP2_DESO = 32,
1: - PORT_LST_ADDR = 0,
1: - PORT_LST_ADDR_HI = 4,
1: - PORT_FIS_ADDR = 8,
1: - PORT_FIS_ADDR_HI = 12,
1: - PORT_IRQ_STAT = 16,
1: - PORT_IRQ_MASK = 20,
1: - PORT_CMD = 24,
1: - PORT_TFDATA = 32,
1: - PORT_SIG = 36,
1: - PORT_CMD_ISSUE = 56,
1: - PORT_SCR_STAT = 40,
1: - PORT_SCR_CTL = 44,
1: - PORT_SCR_ERR = 48,
1: - PORT_SCR_ACT = 52,
1: - PORT_SCR_NTF = 60,
1: - PORT_FBS = 64,
1: - PORT_DEVSLP = 68,
1: - PORT_IRQ_COLD_PRES = -2147483648,
1: - PORT_IRQ_TF_ERR = 1073741824,
1: - PORT_IRQ_HBUS_ERR = 536870912,
1: - PORT_IRQ_HBUS_DATA_ERR = 268435456,
1: - PORT_IRQ_IF_ERR = 134217728,
1: - PORT_IRQ_IF_NONFATAL = 67108864,
1: - PORT_IRQ_OVERFLOW = 16777216,
1: - PORT_IRQ_BAD_PMP = 8388608,
1: - PORT_IRQ_PHYRDY = 4194304,
1: - PORT_IRQ_DEV_ILCK = 128,
1: - PORT_IRQ_CONNECT = 64,
1: - PORT_IRQ_SG_DONE = 32,
1: - PORT_IRQ_UNK_FIS = 16,
1: - PORT_IRQ_SDB_FIS = 8,
1: - PORT_IRQ_DMAS_FIS = 4,
1: - PORT_IRQ_PIOS_FIS = 2,
1: - PORT_IRQ_D2H_REG_FIS = 1,
1: - PORT_IRQ_FREEZE = 683671632,
1: - PORT_IRQ_ERROR = 2025848912,
1: - DEF_PORT_IRQ = 2025848959,
1: - PORT_CMD_ASP = 134217728,
1: - PORT_CMD_ALPE = 67108864,
1: - PORT_CMD_ATAPI = 16777216,
1: - PORT_CMD_FBSCP = 4194304,
1: - PORT_CMD_ESP = 2097152,
1: - PORT_CMD_HPCP = 262144,
1: - PORT_CMD_PMP = 131072,
1: - PORT_CMD_LIST_ON = 32768,
1: - PORT_CMD_FIS_ON = 16384,
1: - PORT_CMD_FIS_RX = 16,
1: - PORT_CMD_CLO = 8,
1: - PORT_CMD_POWER_ON = 4,
1: - PORT_CMD_SPIN_UP = 2,
1: - PORT_CMD_START = 1,
1: - PORT_CMD_ICC_MASK = -268435456,
1: - PORT_CMD_ICC_ACTIVE = 268435456,
1: - PORT_CMD_ICC_PARTIAL = 536870912,
1: - PORT_CMD_ICC_SLUMBER = 1610612736,
1: - PORT_FBS_DWE_OFFSET = 16,
1: - PORT_FBS_ADO_OFFSET = 12,
1: - PORT_FBS_DEV_OFFSET = 8,
1: - PORT_FBS_DEV_MASK = 3840,
1: - PORT_FBS_SDE = 4,
1: - PORT_FBS_DEC = 2,
1: - PORT_FBS_EN = 1,
1: - PORT_DEVSLP_DM_OFFSET = 25,
1: - PORT_DEVSLP_DM_MASK = 503316480,
1: - PORT_DEVSLP_DITO_OFFSET = 15,
1: - PORT_DEVSLP_MDAT_OFFSET = 10,
1: - PORT_DEVSLP_DETO_OFFSET = 2,
1: - PORT_DEVSLP_DSP = 2,
1: - PORT_DEVSLP_ADSE = 1,
1: - AHCI_HFLAG_NO_NCQ = 1,
1: - AHCI_HFLAG_IGN_IRQ_IF_ERR = 2,
1: - AHCI_HFLAG_IGN_SERR_INTERNAL = 4,
1: - AHCI_HFLAG_32BIT_ONLY = 8,
1: - AHCI_HFLAG_MV_PATA = 16,
1: - AHCI_HFLAG_NO_MSI = 32,
1: - AHCI_HFLAG_NO_PMP = 64,
1: - AHCI_HFLAG_SECT255 = 256,
1: - AHCI_HFLAG_YES_NCQ = 512,
1: - AHCI_HFLAG_NO_SUSPEND = 1024,
1: - AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = 2048,
1: - AHCI_HFLAG_NO_SNTF = 4096,
1: - AHCI_HFLAG_NO_FPDMA_AA = 8192,
1: - AHCI_HFLAG_YES_FBS = 16384,
1: - AHCI_HFLAG_DELAY_ENGINE = 32768,
1: - AHCI_HFLAG_NO_DEVSLP = 131072,
1: - AHCI_HFLAG_NO_FBS = 262144,
1: - AHCI_HFLAG_MULTI_MSI = 1048576,
1: - AHCI_HFLAG_WAKE_BEFORE_STOP = 4194304,
1: - AHCI_HFLAG_YES_ALPM = 8388608,
1: - AHCI_HFLAG_NO_WRITE_TO_RO = 16777216,
1: - AHCI_HFLAG_IS_MOBILE = 33554432,
1: - AHCI_HFLAG_SUSPEND_PHYS = 67108864,
1: - AHCI_FLAG_COMMON = 393346,
1: - ICH_MAP = 144,
1: - PCS_6 = 146,
1: - PCS_7 = 148,
1: - EM_MAX_SLOTS = 8,
1: - EM_MAX_RETRY = 5,
1: - EM_CTL_RST = 512,
1: - EM_CTL_TM = 256,
1: - EM_CTL_MR = 1,
1: - EM_CTL_ALHD = 67108864,
1: - EM_CTL_XMT = 33554432,
1: - EM_CTL_SMB = 16777216,
1: - EM_CTL_SGPIO = 524288,
1: - EM_CTL_SES = 262144,
1: - EM_CTL_SAFTE = 131072,
1: - EM_CTL_LED = 65536,
1: - EM_MSG_TYPE_LED = 1,
1: - EM_MSG_TYPE_SAFTE = 2,
1: - EM_MSG_TYPE_SES2 = 4,
1: - EM_MSG_TYPE_SGPIO = 8,
1: + struct device dev;
1: + int id;
1: + const struct phy_ops *ops;
1: + struct mutex mutex;
1: + int init_count;
1: + int power_count;
1: + struct phy_attrs attrs;
1: + struct regulator *pwr;
1: +};
1: +
1: +enum {
1: + AHCI_MAX_PORTS = 32,
1: + AHCI_MAX_CLKS = 5,
1: + AHCI_MAX_SG = 168,
1: + AHCI_DMA_BOUNDARY = -1,
1: + AHCI_MAX_CMDS = 32,
1: + AHCI_CMD_SZ = 32,
1: + AHCI_CMD_SLOT_SZ = 1024,
1: + AHCI_RX_FIS_SZ = 256,
1: + AHCI_CMD_TBL_CDB = 64,
1: + AHCI_CMD_TBL_HDR_SZ = 128,
1: + AHCI_CMD_TBL_SZ = 2816,
1: + AHCI_CMD_TBL_AR_SZ = 90112,
1: + AHCI_PORT_PRIV_DMA_SZ = 91392,
1: + AHCI_PORT_PRIV_FBS_DMA_SZ = 95232,
1: + AHCI_IRQ_ON_SG = -2147483648,
1: + AHCI_CMD_ATAPI = 32,
1: + AHCI_CMD_WRITE = 64,
1: + AHCI_CMD_PREFETCH = 128,
1: + AHCI_CMD_RESET = 256,
1: + AHCI_CMD_CLR_BUSY = 1024,
1: + RX_FIS_PIO_SETUP = 32,
1: + RX_FIS_D2H_REG = 64,
1: + RX_FIS_SDB = 88,
1: + RX_FIS_UNK = 96,
1: + HOST_CAP = 0,
1: + HOST_CTL = 4,
1: + HOST_IRQ_STAT = 8,
1: + HOST_PORTS_IMPL = 12,
1: + HOST_VERSION = 16,
1: + HOST_EM_LOC = 28,
1: + HOST_EM_CTL = 32,
1: + HOST_CAP2 = 36,
1: + HOST_RESET = 1,
1: + HOST_IRQ_EN = 2,
1: + HOST_MRSM = 4,
1: + HOST_AHCI_EN = -2147483648,
1: + HOST_CAP_SXS = 32,
1: + HOST_CAP_EMS = 64,
1: + HOST_CAP_CCC = 128,
1: + HOST_CAP_PART = 8192,
1: + HOST_CAP_SSC = 16384,
1: + HOST_CAP_PIO_MULTI = 32768,
1: + HOST_CAP_FBS = 65536,
1: + HOST_CAP_PMP = 131072,
1: + HOST_CAP_ONLY = 262144,
1: + HOST_CAP_CLO = 16777216,
1: + HOST_CAP_LED = 33554432,
1: + HOST_CAP_ALPM = 67108864,
1: + HOST_CAP_SSS = 134217728,
1: + HOST_CAP_MPS = 268435456,
1: + HOST_CAP_SNTF = 536870912,
1: + HOST_CAP_NCQ = 1073741824,
1: + HOST_CAP_64 = -2147483648,
1: + HOST_CAP2_BOH = 1,
1: + HOST_CAP2_NVMHCI = 2,
1: + HOST_CAP2_APST = 4,
1: + HOST_CAP2_SDS = 8,
1: + HOST_CAP2_SADM = 16,
1: + HOST_CAP2_DESO = 32,
1: + PORT_LST_ADDR = 0,
1: + PORT_LST_ADDR_HI = 4,
1: + PORT_FIS_ADDR = 8,
1: + PORT_FIS_ADDR_HI = 12,
1: + PORT_IRQ_STAT = 16,
1: + PORT_IRQ_MASK = 20,
1: + PORT_CMD = 24,
1: + PORT_TFDATA = 32,
1: + PORT_SIG = 36,
1: + PORT_CMD_ISSUE = 56,
1: + PORT_SCR_STAT = 40,
1: + PORT_SCR_CTL = 44,
1: + PORT_SCR_ERR = 48,
1: + PORT_SCR_ACT = 52,
1: + PORT_SCR_NTF = 60,
1: + PORT_FBS = 64,
1: + PORT_DEVSLP = 68,
1: + PORT_IRQ_COLD_PRES = -2147483648,
1: + PORT_IRQ_TF_ERR = 1073741824,
1: + PORT_IRQ_HBUS_ERR = 536870912,
1: + PORT_IRQ_HBUS_DATA_ERR = 268435456,
1: + PORT_IRQ_IF_ERR = 134217728,
1: + PORT_IRQ_IF_NONFATAL = 67108864,
1: + PORT_IRQ_OVERFLOW = 16777216,
1: + PORT_IRQ_BAD_PMP = 8388608,
1: + PORT_IRQ_PHYRDY = 4194304,
1: + PORT_IRQ_DEV_ILCK = 128,
1: + PORT_IRQ_CONNECT = 64,
1: + PORT_IRQ_SG_DONE = 32,
1: + PORT_IRQ_UNK_FIS = 16,
1: + PORT_IRQ_SDB_FIS = 8,
1: + PORT_IRQ_DMAS_FIS = 4,
1: + PORT_IRQ_PIOS_FIS = 2,
1: + PORT_IRQ_D2H_REG_FIS = 1,
1: + PORT_IRQ_FREEZE = 683671632,
1: + PORT_IRQ_ERROR = 2025848912,
1: + DEF_PORT_IRQ = 2025848959,
1: + PORT_CMD_ASP = 134217728,
1: + PORT_CMD_ALPE = 67108864,
1: + PORT_CMD_ATAPI = 16777216,
1: + PORT_CMD_FBSCP = 4194304,
1: + PORT_CMD_ESP = 2097152,
1: + PORT_CMD_HPCP = 262144,
1: + PORT_CMD_PMP = 131072,
1: + PORT_CMD_LIST_ON = 32768,
1: + PORT_CMD_FIS_ON = 16384,
1: + PORT_CMD_FIS_RX = 16,
1: + PORT_CMD_CLO = 8,
1: + PORT_CMD_POWER_ON = 4,
1: + PORT_CMD_SPIN_UP = 2,
1: + PORT_CMD_START = 1,
1: + PORT_CMD_ICC_MASK = -268435456,
1: + PORT_CMD_ICC_ACTIVE = 268435456,
1: + PORT_CMD_ICC_PARTIAL = 536870912,
1: + PORT_CMD_ICC_SLUMBER = 1610612736,
1: + PORT_FBS_DWE_OFFSET = 16,
1: + PORT_FBS_ADO_OFFSET = 12,
1: + PORT_FBS_DEV_OFFSET = 8,
1: + PORT_FBS_DEV_MASK = 3840,
1: + PORT_FBS_SDE = 4,
1: + PORT_FBS_DEC = 2,
1: + PORT_FBS_EN = 1,
1: + PORT_DEVSLP_DM_OFFSET = 25,
1: + PORT_DEVSLP_DM_MASK = 503316480,
1: + PORT_DEVSLP_DITO_OFFSET = 15,
1: + PORT_DEVSLP_MDAT_OFFSET = 10,
1: + PORT_DEVSLP_DETO_OFFSET = 2,
1: + PORT_DEVSLP_DSP = 2,
1: + PORT_DEVSLP_ADSE = 1,
1: + AHCI_HFLAG_NO_NCQ = 1,
1: + AHCI_HFLAG_IGN_IRQ_IF_ERR = 2,
1: + AHCI_HFLAG_IGN_SERR_INTERNAL = 4,
1: + AHCI_HFLAG_32BIT_ONLY = 8,
1: + AHCI_HFLAG_MV_PATA = 16,
1: + AHCI_HFLAG_NO_MSI = 32,
1: + AHCI_HFLAG_NO_PMP = 64,
1: + AHCI_HFLAG_SECT255 = 256,
1: + AHCI_HFLAG_YES_NCQ = 512,
1: + AHCI_HFLAG_NO_SUSPEND = 1024,
1: + AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = 2048,
1: + AHCI_HFLAG_NO_SNTF = 4096,
1: + AHCI_HFLAG_NO_FPDMA_AA = 8192,
1: + AHCI_HFLAG_YES_FBS = 16384,
1: + AHCI_HFLAG_DELAY_ENGINE = 32768,
1: + AHCI_HFLAG_NO_DEVSLP = 131072,
1: + AHCI_HFLAG_NO_FBS = 262144,
1: + AHCI_HFLAG_MULTI_MSI = 1048576,
1: + AHCI_HFLAG_WAKE_BEFORE_STOP = 4194304,
1: + AHCI_HFLAG_YES_ALPM = 8388608,
1: + AHCI_HFLAG_NO_WRITE_TO_RO = 16777216,
1: + AHCI_HFLAG_IS_MOBILE = 33554432,
1: + AHCI_HFLAG_SUSPEND_PHYS = 67108864,
1: + AHCI_FLAG_COMMON = 393346,
1: + ICH_MAP = 144,
1: + PCS_6 = 146,
1: + PCS_7 = 148,
1: + EM_MAX_SLOTS = 8,
1: + EM_MAX_RETRY = 5,
1: + EM_CTL_RST = 512,
1: + EM_CTL_TM = 256,
1: + EM_CTL_MR = 1,
1: + EM_CTL_ALHD = 67108864,
1: + EM_CTL_XMT = 33554432,
1: + EM_CTL_SMB = 16777216,
1: + EM_CTL_SGPIO = 524288,
1: + EM_CTL_SES = 262144,
1: + EM_CTL_SAFTE = 131072,
1: + EM_CTL_LED = 65536,
1: + EM_MSG_TYPE_LED = 1,
1: + EM_MSG_TYPE_SAFTE = 2,
1: + EM_MSG_TYPE_SES2 = 4,
1: + EM_MSG_TYPE_SGPIO = 8,
1: };
1:
1: struct ahci_cmd_hdr {
1: - __le32 opts;
1: - __le32 status;
1: - __le32 tbl_addr;
1: - __le32 tbl_addr_hi;
1: - __le32 reserved[4];
1: + __le32 opts;
1: + __le32 status;
1: + __le32 tbl_addr;
1: + __le32 tbl_addr_hi;
1: + __le32 reserved[4];
1: };
1:
1: struct ahci_em_priv {
1: - enum sw_activity blink_policy;
1: - struct timer_list timer;
1: - long unsigned int saved_activity;
1: - long unsigned int activity;
1: - long unsigned int led_state;
1: - struct ata_link *link;
1: + enum sw_activity blink_policy;
1: + struct timer_list timer;
1: + long unsigned int saved_activity;
1: + long unsigned int activity;
1: + long unsigned int led_state;
1: + struct ata_link *link;
1: };
1:
1: struct ahci_port_priv {
1: - struct ata_link *active_link;
1: - struct ahci_cmd_hdr *cmd_slot;
1: - dma_addr_t cmd_slot_dma;
1: - void *cmd_tbl;
1: - dma_addr_t cmd_tbl_dma;
1: - void *rx_fis;
1: - dma_addr_t rx_fis_dma;
1: - unsigned int ncq_saw_d2h: 1;
1: - unsigned int ncq_saw_dmas: 1;
1: - unsigned int ncq_saw_sdb: 1;
1: - spinlock_t lock;
1: - u32 intr_mask;
1: - bool fbs_supported;
1: - bool fbs_enabled;
1: - int fbs_last_dev;
1: - struct ahci_em_priv em_priv[8];
1: - char *irq_desc;
1: + struct ata_link *active_link;
1: + struct ahci_cmd_hdr *cmd_slot;
1: + dma_addr_t cmd_slot_dma;
1: + void *cmd_tbl;
1: + dma_addr_t cmd_tbl_dma;
1: + void *rx_fis;
1: + dma_addr_t rx_fis_dma;
1: + unsigned int ncq_saw_d2h : 1;
1: + unsigned int ncq_saw_dmas : 1;
1: + unsigned int ncq_saw_sdb : 1;
1: + spinlock_t lock;
1: + u32 intr_mask;
1: + bool fbs_supported;
1: + bool fbs_enabled;
1: + int fbs_last_dev;
1: + struct ahci_em_priv em_priv[8];
1: + char *irq_desc;
1: };
1:
1: struct ahci_host_priv {
1: - unsigned int flags;
1: - u32 force_port_map;
1: - u32 mask_port_map;
1: - void *mmio;
1: - u32 cap;
1: - u32 cap2;
1: - u32 version;
1: - u32 port_map;
1: - u32 saved_cap;
1: - u32 saved_cap2;
1: - u32 saved_port_map;
1: - u32 em_loc;
1: - u32 em_buf_sz;
1: - u32 em_msg_type;
1: - bool got_runtime_pm;
1: - struct clk *clks[5];
1: - struct reset_control *rsts;
1: - struct regulator **target_pwrs;
1: - struct regulator *ahci_regulator;
1: - struct regulator *phy_regulator;
1: - struct phy___2 **phys;
1: - unsigned int nports;
1: - void *plat_data;
1: - unsigned int irq;
1: - void (*start_engine)(struct ata_port *);
1: - int (*stop_engine)(struct ata_port *);
1: - irqreturn_t (*irq_handler)(int, void *);
1: - int (*get_irq_vector)(struct ata_host *, int);
1: -};
1: -
1: -enum {
1: - AHCI_PCI_BAR_STA2X11 = 0,
1: - AHCI_PCI_BAR_CAVIUM = 0,
1: - AHCI_PCI_BAR_ENMOTUS = 2,
1: - AHCI_PCI_BAR_CAVIUM_GEN5 = 4,
1: - AHCI_PCI_BAR_STANDARD = 5,
1: + unsigned int flags;
1: + u32 force_port_map;
1: + u32 mask_port_map;
1: + void *mmio;
1: + u32 cap;
1: + u32 cap2;
1: + u32 version;
1: + u32 port_map;
1: + u32 saved_cap;
1: + u32 saved_cap2;
1: + u32 saved_port_map;
1: + u32 em_loc;
1: + u32 em_buf_sz;
1: + u32 em_msg_type;
1: + bool got_runtime_pm;
1: + struct clk *clks[5];
1: + struct reset_control *rsts;
1: + struct regulator **target_pwrs;
1: + struct regulator *ahci_regulator;
1: + struct regulator *phy_regulator;
1: + struct phy___2 **phys;
1: + unsigned int nports;
1: + void *plat_data;
1: + unsigned int irq;
1: + void (*start_engine)(struct ata_port *);
1: + int (*stop_engine)(struct ata_port *);
1: + irqreturn_t (*irq_handler)(int, void *);
1: + int (*get_irq_vector)(struct ata_host *, int);
1: +};
1: +
1: +enum {
1: + AHCI_PCI_BAR_STA2X11 = 0,
1: + AHCI_PCI_BAR_CAVIUM = 0,
1: + AHCI_PCI_BAR_ENMOTUS = 2,
1: + AHCI_PCI_BAR_CAVIUM_GEN5 = 4,
1: + AHCI_PCI_BAR_STANDARD = 5,
1: };
1:
1: enum board_ids {
1: - board_ahci = 0,
1: - board_ahci_ign_iferr = 1,
1: - board_ahci_mobile = 2,
1: - board_ahci_nomsi = 3,
1: - board_ahci_noncq = 4,
1: - board_ahci_nosntf = 5,
1: - board_ahci_yes_fbs = 6,
1: - board_ahci_al = 7,
1: - board_ahci_avn = 8,
1: - board_ahci_mcp65 = 9,
1: - board_ahci_mcp77 = 10,
1: - board_ahci_mcp89 = 11,
1: - board_ahci_mv = 12,
1: - board_ahci_sb600 = 13,
1: - board_ahci_sb700 = 14,
1: - board_ahci_vt8251 = 15,
1: - board_ahci_pcs7 = 16,
1: - board_ahci_mcp_linux = 9,
1: - board_ahci_mcp67 = 9,
1: - board_ahci_mcp73 = 9,
1: - board_ahci_mcp79 = 10,
1: + board_ahci = 0,
1: + board_ahci_ign_iferr = 1,
1: + board_ahci_mobile = 2,
1: + board_ahci_nomsi = 3,
1: + board_ahci_noncq = 4,
1: + board_ahci_nosntf = 5,
1: + board_ahci_yes_fbs = 6,
1: + board_ahci_al = 7,
1: + board_ahci_avn = 8,
1: + board_ahci_mcp65 = 9,
1: + board_ahci_mcp77 = 10,
1: + board_ahci_mcp89 = 11,
1: + board_ahci_mv = 12,
1: + board_ahci_sb600 = 13,
1: + board_ahci_sb700 = 14,
1: + board_ahci_vt8251 = 15,
1: + board_ahci_pcs7 = 16,
1: + board_ahci_mcp_linux = 9,
1: + board_ahci_mcp67 = 9,
1: + board_ahci_mcp73 = 9,
1: + board_ahci_mcp79 = 10,
1: };
1:
1: struct ahci_sg {
1: - __le32 addr;
1: - __le32 addr_hi;
1: - __le32 reserved;
1: - __le32 flags_size;
1: -};
1: -
1: -enum {
1: - PIIX_IOCFG = 84,
1: - ICH5_PMR = 144,
1: - ICH5_PCS = 146,
1: - PIIX_SIDPR_BAR = 5,
1: - PIIX_SIDPR_LEN = 16,
1: - PIIX_SIDPR_IDX = 0,
1: - PIIX_SIDPR_DATA = 4,
1: - PIIX_FLAG_CHECKINTR = 268435456,
1: - PIIX_FLAG_SIDPR = 536870912,
1: - PIIX_PATA_FLAGS = 1,
1: - PIIX_SATA_FLAGS = 268435458,
1: - PIIX_FLAG_PIO16 = 1073741824,
1: - PIIX_80C_PRI = 48,
1: - PIIX_80C_SEC = 192,
1: - P0 = 0,
1: - P1 = 1,
1: - P2 = 2,
1: - P3 = 3,
1: - IDE = -1,
1: - NA = -2,
1: - RV = -3,
1: - PIIX_AHCI_DEVICE = 6,
1: - PIIX_HOST_BROKEN_SUSPEND = 16777216,
1: + __le32 addr;
1: + __le32 addr_hi;
1: + __le32 reserved;
1: + __le32 flags_size;
1: +};
1: +
1: +enum {
1: + PIIX_IOCFG = 84,
1: + ICH5_PMR = 144,
1: + ICH5_PCS = 146,
1: + PIIX_SIDPR_BAR = 5,
1: + PIIX_SIDPR_LEN = 16,
1: + PIIX_SIDPR_IDX = 0,
1: + PIIX_SIDPR_DATA = 4,
1: + PIIX_FLAG_CHECKINTR = 268435456,
1: + PIIX_FLAG_SIDPR = 536870912,
1: + PIIX_PATA_FLAGS = 1,
1: + PIIX_SATA_FLAGS = 268435458,
1: + PIIX_FLAG_PIO16 = 1073741824,
1: + PIIX_80C_PRI = 48,
1: + PIIX_80C_SEC = 192,
1: + P0 = 0,
1: + P1 = 1,
1: + P2 = 2,
1: + P3 = 3,
1: + IDE = -1,
1: + NA = -2,
1: + RV = -3,
1: + PIIX_AHCI_DEVICE = 6,
1: + PIIX_HOST_BROKEN_SUSPEND = 16777216,
1: };
1:
1: enum piix_controller_ids {
1: - piix_pata_mwdma = 0,
1: - piix_pata_33 = 1,
1: - ich_pata_33 = 2,
1: - ich_pata_66 = 3,
1: - ich_pata_100 = 4,
1: - ich_pata_100_nomwdma1 = 5,
1: - ich5_sata = 6,
1: - ich6_sata = 7,
1: - ich6m_sata = 8,
1: - ich8_sata = 9,
1: - ich8_2port_sata = 10,
1: - ich8m_apple_sata = 11,
1: - tolapai_sata = 12,
1: - piix_pata_vmw = 13,
1: - ich8_sata_snb = 14,
1: - ich8_2port_sata_snb = 15,
1: - ich8_2port_sata_byt = 16,
1: + piix_pata_mwdma = 0,
1: + piix_pata_33 = 1,
1: + ich_pata_33 = 2,
1: + ich_pata_66 = 3,
1: + ich_pata_100 = 4,
1: + ich_pata_100_nomwdma1 = 5,
1: + ich5_sata = 6,
1: + ich6_sata = 7,
1: + ich6m_sata = 8,
1: + ich8_sata = 9,
1: + ich8_2port_sata = 10,
1: + ich8m_apple_sata = 11,
1: + tolapai_sata = 12,
1: + piix_pata_vmw = 13,
1: + ich8_sata_snb = 14,
1: + ich8_2port_sata_snb = 15,
1: + ich8_2port_sata_byt = 16,
1: };
1:
1: struct piix_map_db {
1: - const u32 mask;
1: - const u16 port_enable;
1: - int map[0];
1: + const u32 mask;
1: + const u16 port_enable;
1: + int map[0];
1: };
1:
1: struct piix_host_priv {
1: - const int *map;
1: - u32 saved_iocfg;
1: - void *sidpr;
1: + const int *map;
1: + u32 saved_iocfg;
1: + void *sidpr;
1: };
1:
1: struct ich_laptop {
1: - u16 device;
1: - u16 subvendor;
1: - u16 subdevice;
1: + u16 device;
1: + u16 subvendor;
1: + u16 subdevice;
1: };
1:
1: enum {
1: - D0TIM = 128,
1: - D1TIM = 132,
1: - PM = 7,
1: - MDM = 768,
1: - UDM = 458752,
1: - PPE = 1073741824,
1: - USD = -2147483648,
1: + D0TIM = 128,
1: + D1TIM = 132,
1: + PM = 7,
1: + MDM = 768,
1: + UDM = 458752,
1: + PPE = 1073741824,
1: + USD = -2147483648,
1: };
1:
1: struct ethtool_cmd {
1: - __u32 cmd;
1: - __u32 supported;
1: - __u32 advertising;
1: - __u16 speed;
1: - __u8 duplex;
1: - __u8 port;
1: - __u8 phy_address;
1: - __u8 transceiver;
1: - __u8 autoneg;
1: - __u8 mdio_support;
1: - __u32 maxtxpkt;
1: - __u32 maxrxpkt;
1: - __u16 speed_hi;
1: - __u8 eth_tp_mdix;
1: - __u8 eth_tp_mdix_ctrl;
1: - __u32 lp_advertising;
1: - __u32 reserved[2];
1: + __u32 cmd;
1: + __u32 supported;
1: + __u32 advertising;
1: + __u16 speed;
1: + __u8 duplex;
1: + __u8 port;
1: + __u8 phy_address;
1: + __u8 transceiver;
1: + __u8 autoneg;
1: + __u8 mdio_support;
1: + __u32 maxtxpkt;
1: + __u32 maxrxpkt;
1: + __u16 speed_hi;
1: + __u8 eth_tp_mdix;
1: + __u8 eth_tp_mdix_ctrl;
1: + __u32 lp_advertising;
1: + __u32 reserved[2];
1: };
1:
1: enum netdev_state_t {
1: - __LINK_STATE_START = 0,
1: - __LINK_STATE_PRESENT = 1,
1: - __LINK_STATE_NOCARRIER = 2,
1: - __LINK_STATE_LINKWATCH_PENDING = 3,
1: - __LINK_STATE_DORMANT = 4,
1: + __LINK_STATE_START = 0,
1: + __LINK_STATE_PRESENT = 1,
1: + __LINK_STATE_NOCARRIER = 2,
1: + __LINK_STATE_LINKWATCH_PENDING = 3,
1: + __LINK_STATE_DORMANT = 4,
1: };
1:
1: struct mii_ioctl_data {
1: - __u16 phy_id;
1: - __u16 reg_num;
1: - __u16 val_in;
1: - __u16 val_out;
1: + __u16 phy_id;
1: + __u16 reg_num;
1: + __u16 val_in;
1: + __u16 val_out;
1: };
1:
1: struct mii_if_info {
1: - int phy_id;
1: - int advertising;
1: - int phy_id_mask;
1: - int reg_num_mask;
1: - unsigned int full_duplex: 1;
1: - unsigned int force_media: 1;
1: - unsigned int supports_gmii: 1;
1: - struct net_device *dev;
1: - int (*mdio_read)(struct net_device *, int, int);
1: - void (*mdio_write)(struct net_device *, int, int, int);
1: + int phy_id;
1: + int advertising;
1: + int phy_id_mask;
1: + int reg_num_mask;
1: + unsigned int full_duplex : 1;
1: + unsigned int force_media : 1;
1: + unsigned int supports_gmii : 1;
1: + struct net_device *dev;
1: + int (*mdio_read)(struct net_device *, int, int);
1: + void (*mdio_write)(struct net_device *, int, int, int);
1: };
1:
1: struct devprobe2 {
1: - struct net_device * (*probe)(int);
1: - int status;
1: -};
1: -
1: -enum {
1: - NETIF_F_SG_BIT = 0,
1: - NETIF_F_IP_CSUM_BIT = 1,
1: - __UNUSED_NETIF_F_1 = 2,
1: - NETIF_F_HW_CSUM_BIT = 3,
1: - NETIF_F_IPV6_CSUM_BIT = 4,
1: - NETIF_F_HIGHDMA_BIT = 5,
1: - NETIF_F_FRAGLIST_BIT = 6,
1: - NETIF_F_HW_VLAN_CTAG_TX_BIT = 7,
1: - NETIF_F_HW_VLAN_CTAG_RX_BIT = 8,
1: - NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9,
1: - NETIF_F_VLAN_CHALLENGED_BIT = 10,
1: - NETIF_F_GSO_BIT = 11,
1: - NETIF_F_LLTX_BIT = 12,
1: - NETIF_F_NETNS_LOCAL_BIT = 13,
1: - NETIF_F_GRO_BIT = 14,
1: - NETIF_F_LRO_BIT = 15,
1: - NETIF_F_GSO_SHIFT = 16,
1: - NETIF_F_TSO_BIT = 16,
1: - NETIF_F_GSO_ROBUST_BIT = 17,
1: - NETIF_F_TSO_ECN_BIT = 18,
1: - NETIF_F_TSO_MANGLEID_BIT = 19,
1: - NETIF_F_TSO6_BIT = 20,
1: - NETIF_F_FSO_BIT = 21,
1: - NETIF_F_GSO_GRE_BIT = 22,
1: - NETIF_F_GSO_GRE_CSUM_BIT = 23,
1: - NETIF_F_GSO_IPXIP4_BIT = 24,
1: - NETIF_F_GSO_IPXIP6_BIT = 25,
1: - NETIF_F_GSO_UDP_TUNNEL_BIT = 26,
1: - NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT = 27,
1: - NETIF_F_GSO_PARTIAL_BIT = 28,
1: - NETIF_F_GSO_TUNNEL_REMCSUM_BIT = 29,
1: - NETIF_F_GSO_SCTP_BIT = 30,
1: - NETIF_F_GSO_ESP_BIT = 31,
1: - NETIF_F_GSO_UDP_BIT = 32,
1: - NETIF_F_GSO_UDP_L4_BIT = 33,
1: - NETIF_F_GSO_LAST = 33,
1: - NETIF_F_FCOE_CRC_BIT = 34,
1: - NETIF_F_SCTP_CRC_BIT = 35,
1: - NETIF_F_FCOE_MTU_BIT = 36,
1: - NETIF_F_NTUPLE_BIT = 37,
1: - NETIF_F_RXHASH_BIT = 38,
1: - NETIF_F_RXCSUM_BIT = 39,
1: - NETIF_F_NOCACHE_COPY_BIT = 40,
1: - NETIF_F_LOOPBACK_BIT = 41,
1: - NETIF_F_RXFCS_BIT = 42,
1: - NETIF_F_RXALL_BIT = 43,
1: - NETIF_F_HW_VLAN_STAG_TX_BIT = 44,
1: - NETIF_F_HW_VLAN_STAG_RX_BIT = 45,
1: - NETIF_F_HW_VLAN_STAG_FILTER_BIT = 46,
1: - NETIF_F_HW_L2FW_DOFFLOAD_BIT = 47,
1: - NETIF_F_HW_TC_BIT = 48,
1: - NETIF_F_HW_ESP_BIT = 49,
1: - NETIF_F_HW_ESP_TX_CSUM_BIT = 50,
1: - NETIF_F_RX_UDP_TUNNEL_PORT_BIT = 51,
1: - NETIF_F_HW_TLS_TX_BIT = 52,
1: - NETIF_F_HW_TLS_RX_BIT = 53,
1: - NETIF_F_GRO_HW_BIT = 54,
1: - NETIF_F_HW_TLS_RECORD_BIT = 55,
1: - NETDEV_FEATURE_COUNT = 56,
1: + struct net_device *(*probe)(int);
1: + int status;
1: +};
1: +
1: +enum {
1: + NETIF_F_SG_BIT = 0,
1: + NETIF_F_IP_CSUM_BIT = 1,
1: + __UNUSED_NETIF_F_1 = 2,
1: + NETIF_F_HW_CSUM_BIT = 3,
1: + NETIF_F_IPV6_CSUM_BIT = 4,
1: + NETIF_F_HIGHDMA_BIT = 5,
1: + NETIF_F_FRAGLIST_BIT = 6,
1: + NETIF_F_HW_VLAN_CTAG_TX_BIT = 7,
1: + NETIF_F_HW_VLAN_CTAG_RX_BIT = 8,
1: + NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9,
1: + NETIF_F_VLAN_CHALLENGED_BIT = 10,
1: + NETIF_F_GSO_BIT = 11,
1: + NETIF_F_LLTX_BIT = 12,
1: + NETIF_F_NETNS_LOCAL_BIT = 13,
1: + NETIF_F_GRO_BIT = 14,
1: + NETIF_F_LRO_BIT = 15,
1: + NETIF_F_GSO_SHIFT = 16,
1: + NETIF_F_TSO_BIT = 16,
1: + NETIF_F_GSO_ROBUST_BIT = 17,
1: + NETIF_F_TSO_ECN_BIT = 18,
1: + NETIF_F_TSO_MANGLEID_BIT = 19,
1: + NETIF_F_TSO6_BIT = 20,
1: + NETIF_F_FSO_BIT = 21,
1: + NETIF_F_GSO_GRE_BIT = 22,
1: + NETIF_F_GSO_GRE_CSUM_BIT = 23,
1: + NETIF_F_GSO_IPXIP4_BIT = 24,
1: + NETIF_F_GSO_IPXIP6_BIT = 25,
1: + NETIF_F_GSO_UDP_TUNNEL_BIT = 26,
1: + NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT = 27,
1: + NETIF_F_GSO_PARTIAL_BIT = 28,
1: + NETIF_F_GSO_TUNNEL_REMCSUM_BIT = 29,
1: + NETIF_F_GSO_SCTP_BIT = 30,
1: + NETIF_F_GSO_ESP_BIT = 31,
1: + NETIF_F_GSO_UDP_BIT = 32,
1: + NETIF_F_GSO_UDP_L4_BIT = 33,
1: + NETIF_F_GSO_LAST = 33,
1: + NETIF_F_FCOE_CRC_BIT = 34,
1: + NETIF_F_SCTP_CRC_BIT = 35,
1: + NETIF_F_FCOE_MTU_BIT = 36,
1: + NETIF_F_NTUPLE_BIT = 37,
1: + NETIF_F_RXHASH_BIT = 38,
1: + NETIF_F_RXCSUM_BIT = 39,
1: + NETIF_F_NOCACHE_COPY_BIT = 40,
1: + NETIF_F_LOOPBACK_BIT = 41,
1: + NETIF_F_RXFCS_BIT = 42,
1: + NETIF_F_RXALL_BIT = 43,
1: + NETIF_F_HW_VLAN_STAG_TX_BIT = 44,
1: + NETIF_F_HW_VLAN_STAG_RX_BIT = 45,
1: + NETIF_F_HW_VLAN_STAG_FILTER_BIT = 46,
1: + NETIF_F_HW_L2FW_DOFFLOAD_BIT = 47,
1: + NETIF_F_HW_TC_BIT = 48,
1: + NETIF_F_HW_ESP_BIT = 49,
1: + NETIF_F_HW_ESP_TX_CSUM_BIT = 50,
1: + NETIF_F_RX_UDP_TUNNEL_PORT_BIT = 51,
1: + NETIF_F_HW_TLS_TX_BIT = 52,
1: + NETIF_F_HW_TLS_RX_BIT = 53,
1: + NETIF_F_GRO_HW_BIT = 54,
1: + NETIF_F_HW_TLS_RECORD_BIT = 55,
1: + NETDEV_FEATURE_COUNT = 56,
1: };
1:
1: typedef struct bio_vec skb_frag_t;
1:
1: struct skb_shared_hwtstamps {
1: - ktime_t hwtstamp;
1: + ktime_t hwtstamp;
1: };
1:
1: enum {
1: - SKBTX_HW_TSTAMP = 1,
1: - SKBTX_SW_TSTAMP = 2,
1: - SKBTX_IN_PROGRESS = 4,
1: - SKBTX_DEV_ZEROCOPY = 8,
1: - SKBTX_WIFI_STATUS = 16,
1: - SKBTX_SHARED_FRAG = 32,
1: - SKBTX_SCHED_TSTAMP = 64,
1: + SKBTX_HW_TSTAMP = 1,
1: + SKBTX_SW_TSTAMP = 2,
1: + SKBTX_IN_PROGRESS = 4,
1: + SKBTX_DEV_ZEROCOPY = 8,
1: + SKBTX_WIFI_STATUS = 16,
1: + SKBTX_SHARED_FRAG = 32,
1: + SKBTX_SCHED_TSTAMP = 64,
1: };
1:
1: struct skb_shared_info {
1: - __u8 __unused;
1: - __u8 meta_len;
1: - __u8 nr_frags;
1: - __u8 tx_flags;
1: - short unsigned int gso_size;
1: - short unsigned int gso_segs;
1: - struct sk_buff *frag_list;
1: - struct skb_shared_hwtstamps hwtstamps;
1: - unsigned int gso_type;
1: - u32 tskey;
1: - atomic_t dataref;
1: - void *destructor_arg;
1: - skb_frag_t frags[17];
1: + __u8 __unused;
1: + __u8 meta_len;
1: + __u8 nr_frags;
1: + __u8 tx_flags;
1: + short unsigned int gso_size;
1: + short unsigned int gso_segs;
1: + struct sk_buff *frag_list;
1: + struct skb_shared_hwtstamps hwtstamps;
1: + unsigned int gso_type;
1: + u32 tskey;
1: + atomic_t dataref;
1: + void *destructor_arg;
1: + skb_frag_t frags[17];
1: };
1:
1: enum net_device_flags {
1: - IFF_UP = 1,
1: - IFF_BROADCAST = 2,
1: - IFF_DEBUG = 4,
1: - IFF_LOOPBACK = 8,
1: - IFF_POINTOPOINT = 16,
1: - IFF_NOTRAILERS = 32,
1: - IFF_RUNNING = 64,
1: - IFF_NOARP = 128,
1: - IFF_PROMISC = 256,
1: - IFF_ALLMULTI = 512,
1: - IFF_MASTER = 1024,
1: - IFF_SLAVE = 2048,
1: - IFF_MULTICAST = 4096,
1: - IFF_PORTSEL = 8192,
1: - IFF_AUTOMEDIA = 16384,
1: - IFF_DYNAMIC = 32768,
1: - IFF_LOWER_UP = 65536,
1: - IFF_DORMANT = 131072,
1: - IFF_ECHO = 262144,
1: + IFF_UP = 1,
1: + IFF_BROADCAST = 2,
1: + IFF_DEBUG = 4,
1: + IFF_LOOPBACK = 8,
1: + IFF_POINTOPOINT = 16,
1: + IFF_NOTRAILERS = 32,
1: + IFF_RUNNING = 64,
1: + IFF_NOARP = 128,
1: + IFF_PROMISC = 256,
1: + IFF_ALLMULTI = 512,
1: + IFF_MASTER = 1024,
1: + IFF_SLAVE = 2048,
1: + IFF_MULTICAST = 4096,
1: + IFF_PORTSEL = 8192,
1: + IFF_AUTOMEDIA = 16384,
1: + IFF_DYNAMIC = 32768,
1: + IFF_LOWER_UP = 65536,
1: + IFF_DORMANT = 131072,
1: + IFF_ECHO = 262144,
1: };
1:
1: enum netdev_priv_flags {
1: - IFF_802_1Q_VLAN = 1,
1: - IFF_EBRIDGE = 2,
1: - IFF_BONDING = 4,
1: - IFF_ISATAP = 8,
1: - IFF_WAN_HDLC = 16,
1: - IFF_XMIT_DST_RELEASE = 32,
1: - IFF_DONT_BRIDGE = 64,
1: - IFF_DISABLE_NETPOLL = 128,
1: - IFF_MACVLAN_PORT = 256,
1: - IFF_BRIDGE_PORT = 512,
1: - IFF_OVS_DATAPATH = 1024,
1: - IFF_TX_SKB_SHARING = 2048,
1: - IFF_UNICAST_FLT = 4096,
1: - IFF_TEAM_PORT = 8192,
1: - IFF_SUPP_NOFCS = 16384,
1: - IFF_LIVE_ADDR_CHANGE = 32768,
1: - IFF_MACVLAN = 65536,
1: - IFF_XMIT_DST_RELEASE_PERM = 131072,
1: - IFF_L3MDEV_MASTER = 262144,
1: - IFF_NO_QUEUE = 524288,
1: - IFF_OPENVSWITCH = 1048576,
1: - IFF_L3MDEV_SLAVE = 2097152,
1: - IFF_TEAM = 4194304,
1: - IFF_RXFH_CONFIGURED = 8388608,
1: - IFF_PHONY_HEADROOM = 16777216,
1: - IFF_MACSEC = 33554432,
1: - IFF_NO_RX_HANDLER = 67108864,
1: - IFF_FAILOVER = 134217728,
1: - IFF_FAILOVER_SLAVE = 268435456,
1: - IFF_L3MDEV_RX_HANDLER = 536870912,
1: - IFF_LIVE_RENAME_OK = 1073741824,
1: + IFF_802_1Q_VLAN = 1,
1: + IFF_EBRIDGE = 2,
1: + IFF_BONDING = 4,
1: + IFF_ISATAP = 8,
1: + IFF_WAN_HDLC = 16,
1: + IFF_XMIT_DST_RELEASE = 32,
1: + IFF_DONT_BRIDGE = 64,
1: + IFF_DISABLE_NETPOLL = 128,
1: + IFF_MACVLAN_PORT = 256,
1: + IFF_BRIDGE_PORT = 512,
1: + IFF_OVS_DATAPATH = 1024,
1: + IFF_TX_SKB_SHARING = 2048,
1: + IFF_UNICAST_FLT = 4096,
1: + IFF_TEAM_PORT = 8192,
1: + IFF_SUPP_NOFCS = 16384,
1: + IFF_LIVE_ADDR_CHANGE = 32768,
1: + IFF_MACVLAN = 65536,
1: + IFF_XMIT_DST_RELEASE_PERM = 131072,
1: + IFF_L3MDEV_MASTER = 262144,
1: + IFF_NO_QUEUE = 524288,
1: + IFF_OPENVSWITCH = 1048576,
1: + IFF_L3MDEV_SLAVE = 2097152,
1: + IFF_TEAM = 4194304,
1: + IFF_RXFH_CONFIGURED = 8388608,
1: + IFF_PHONY_HEADROOM = 16777216,
1: + IFF_MACSEC = 33554432,
1: + IFF_NO_RX_HANDLER = 67108864,
1: + IFF_FAILOVER = 134217728,
1: + IFF_FAILOVER_SLAVE = 268435456,
1: + IFF_L3MDEV_RX_HANDLER = 536870912,
1: + IFF_LIVE_RENAME_OK = 1073741824,
1: };
1:
1: struct netpoll;
1:
1: struct netpoll_info {
1: - refcount_t refcnt;
1: - struct semaphore dev_lock;
1: - struct sk_buff_head txq;
1: - struct delayed_work tx_work;
1: - struct netpoll *netpoll;
1: - struct callback_head rcu;
1: + refcount_t refcnt;
1: + struct semaphore dev_lock;
1: + struct sk_buff_head txq;
1: + struct delayed_work tx_work;
1: + struct netpoll *netpoll;
1: + struct callback_head rcu;
1: };
1:
1: union inet_addr {
1: - __u32 all[4];
1: - __be32 ip;
1: - __be32 ip6[4];
1: - struct in_addr in;
1: - struct in6_addr in6;
1: + __u32 all[4];
1: + __be32 ip;
1: + __be32 ip6[4];
1: + struct in_addr in;
1: + struct in6_addr in6;
1: };
1:
1: struct netpoll {
1: - struct net_device *dev;
1: - char dev_name[16];
1: - const char *name;
1: - union inet_addr local_ip;
1: - union inet_addr remote_ip;
1: - bool ipv6;
1: - u16 local_port;
1: - u16 remote_port;
1: - u8 remote_mac[6];
1: + struct net_device *dev;
1: + char dev_name[16];
1: + const char *name;
1: + union inet_addr local_ip;
1: + union inet_addr remote_ip;
1: + bool ipv6;
1: + u16 local_port;
1: + u16 remote_port;
1: + u8 remote_mac[6];
1: };
1:
1: struct netconsole_target {
1: - struct list_head list;
1: - bool enabled;
1: - bool extended;
1: - struct netpoll np;
1: + struct list_head list;
1: + bool enabled;
1: + bool extended;
1: + struct netpoll np;
1: };
1:
1: struct mdio_board_info {
1: - const char *bus_id;
1: - char modalias[32];
1: - int mdio_addr;
1: - const void *platform_data;
1: + const char *bus_id;
1: + char modalias[32];
1: + int mdio_addr;
1: + const void *platform_data;
1: };
1:
1: struct mdio_board_entry {
1: - struct list_head list;
1: - struct mdio_board_info board_info;
1: + struct list_head list;
1: + struct mdio_board_info board_info;
1: };
1:
1: struct phy_setting {
1: - u32 speed;
1: - u8 duplex;
1: - u8 bit;
1: + u32 speed;
1: + u8 duplex;
1: + u8 bit;
1: };
1:
1: struct phy_fixup {
1: - struct list_head list;
1: - char bus_id[64];
1: - u32 phy_uid;
1: - u32 phy_uid_mask;
1: - int (*run)(struct phy_device *);
1: + struct list_head list;
1: + char bus_id[64];
1: + u32 phy_uid;
1: + u32 phy_uid_mask;
1: + int (*run)(struct phy_device *);
1: };
1:
1: struct sfp_eeprom_base {
1: - u8 phys_id;
1: - u8 phys_ext_id;
1: - u8 connector;
1: - u8 if_1x_copper_passive: 1;
1: - u8 if_1x_copper_active: 1;
1: - u8 if_1x_lx: 1;
1: - u8 if_1x_sx: 1;
1: - u8 e10g_base_sr: 1;
1: - u8 e10g_base_lr: 1;
1: - u8 e10g_base_lrm: 1;
1: - u8 e10g_base_er: 1;
1: - u8 sonet_oc3_short_reach: 1;
1: - u8 sonet_oc3_smf_intermediate_reach: 1;
1: - u8 sonet_oc3_smf_long_reach: 1;
1: - u8 unallocated_5_3: 1;
1: - u8 sonet_oc12_short_reach: 1;
1: - u8 sonet_oc12_smf_intermediate_reach: 1;
1: - u8 sonet_oc12_smf_long_reach: 1;
1: - u8 unallocated_5_7: 1;
1: - u8 sonet_oc48_short_reach: 1;
1: - u8 sonet_oc48_intermediate_reach: 1;
1: - u8 sonet_oc48_long_reach: 1;
1: - u8 sonet_reach_bit2: 1;
1: - u8 sonet_reach_bit1: 1;
1: - u8 sonet_oc192_short_reach: 1;
1: - u8 escon_smf_1310_laser: 1;
1: - u8 escon_mmf_1310_led: 1;
1: - u8 e1000_base_sx: 1;
1: - u8 e1000_base_lx: 1;
1: - u8 e1000_base_cx: 1;
1: - u8 e1000_base_t: 1;
1: - u8 e100_base_lx: 1;
1: - u8 e100_base_fx: 1;
1: - u8 e_base_bx10: 1;
1: - u8 e_base_px: 1;
1: - u8 fc_tech_electrical_inter_enclosure: 1;
1: - u8 fc_tech_lc: 1;
1: - u8 fc_tech_sa: 1;
1: - u8 fc_ll_m: 1;
1: - u8 fc_ll_l: 1;
1: - u8 fc_ll_i: 1;
1: - u8 fc_ll_s: 1;
1: - u8 fc_ll_v: 1;
1: - u8 unallocated_8_0: 1;
1: - u8 unallocated_8_1: 1;
1: - u8 sfp_ct_passive: 1;
1: - u8 sfp_ct_active: 1;
1: - u8 fc_tech_ll: 1;
1: - u8 fc_tech_sl: 1;
1: - u8 fc_tech_sn: 1;
1: - u8 fc_tech_electrical_intra_enclosure: 1;
1: - u8 fc_media_sm: 1;
1: - u8 unallocated_9_1: 1;
1: - u8 fc_media_m5: 1;
1: - u8 fc_media_m6: 1;
1: - u8 fc_media_tv: 1;
1: - u8 fc_media_mi: 1;
1: - u8 fc_media_tp: 1;
1: - u8 fc_media_tw: 1;
1: - u8 fc_speed_100: 1;
1: - u8 unallocated_10_1: 1;
1: - u8 fc_speed_200: 1;
1: - u8 fc_speed_3200: 1;
1: - u8 fc_speed_400: 1;
1: - u8 fc_speed_1600: 1;
1: - u8 fc_speed_800: 1;
1: - u8 fc_speed_1200: 1;
1: - u8 encoding;
1: - u8 br_nominal;
1: - u8 rate_id;
1: - u8 link_len[6];
1: - char vendor_name[16];
1: - u8 extended_cc;
1: - char vendor_oui[3];
1: - char vendor_pn[16];
1: - char vendor_rev[4];
1: - union {
1: - __be16 optical_wavelength;
1: - __be16 cable_compliance;
1: - struct {
1: - u8 sff8431_app_e: 1;
1: - u8 fc_pi_4_app_h: 1;
1: - u8 reserved60_2: 6;
1: - u8 reserved61: 8;
1: - } passive;
1: - struct {
1: - u8 sff8431_app_e: 1;
1: - u8 fc_pi_4_app_h: 1;
1: - u8 sff8431_lim: 1;
1: - u8 fc_pi_4_lim: 1;
1: - u8 reserved60_4: 4;
1: - u8 reserved61: 8;
1: - } active;
1: - };
1: - u8 reserved62;
1: - u8 cc_base;
1: + u8 phys_id;
1: + u8 phys_ext_id;
1: + u8 connector;
1: + u8 if_1x_copper_passive : 1;
1: + u8 if_1x_copper_active : 1;
1: + u8 if_1x_lx : 1;
1: + u8 if_1x_sx : 1;
1: + u8 e10g_base_sr : 1;
1: + u8 e10g_base_lr : 1;
1: + u8 e10g_base_lrm : 1;
1: + u8 e10g_base_er : 1;
1: + u8 sonet_oc3_short_reach : 1;
1: + u8 sonet_oc3_smf_intermediate_reach : 1;
1: + u8 sonet_oc3_smf_long_reach : 1;
1: + u8 unallocated_5_3 : 1;
1: + u8 sonet_oc12_short_reach : 1;
1: + u8 sonet_oc12_smf_intermediate_reach : 1;
1: + u8 sonet_oc12_smf_long_reach : 1;
1: + u8 unallocated_5_7 : 1;
1: + u8 sonet_oc48_short_reach : 1;
1: + u8 sonet_oc48_intermediate_reach : 1;
1: + u8 sonet_oc48_long_reach : 1;
1: + u8 sonet_reach_bit2 : 1;
1: + u8 sonet_reach_bit1 : 1;
1: + u8 sonet_oc192_short_reach : 1;
1: + u8 escon_smf_1310_laser : 1;
1: + u8 escon_mmf_1310_led : 1;
1: + u8 e1000_base_sx : 1;
1: + u8 e1000_base_lx : 1;
1: + u8 e1000_base_cx : 1;
1: + u8 e1000_base_t : 1;
1: + u8 e100_base_lx : 1;
1: + u8 e100_base_fx : 1;
1: + u8 e_base_bx10 : 1;
1: + u8 e_base_px : 1;
1: + u8 fc_tech_electrical_inter_enclosure : 1;
1: + u8 fc_tech_lc : 1;
1: + u8 fc_tech_sa : 1;
1: + u8 fc_ll_m : 1;
1: + u8 fc_ll_l : 1;
1: + u8 fc_ll_i : 1;
1: + u8 fc_ll_s : 1;
1: + u8 fc_ll_v : 1;
1: + u8 unallocated_8_0 : 1;
1: + u8 unallocated_8_1 : 1;
1: + u8 sfp_ct_passive : 1;
1: + u8 sfp_ct_active : 1;
1: + u8 fc_tech_ll : 1;
1: + u8 fc_tech_sl : 1;
1: + u8 fc_tech_sn : 1;
1: + u8 fc_tech_electrical_intra_enclosure : 1;
1: + u8 fc_media_sm : 1;
1: + u8 unallocated_9_1 : 1;
1: + u8 fc_media_m5 : 1;
1: + u8 fc_media_m6 : 1;
1: + u8 fc_media_tv : 1;
1: + u8 fc_media_mi : 1;
1: + u8 fc_media_tp : 1;
1: + u8 fc_media_tw : 1;
1: + u8 fc_speed_100 : 1;
1: + u8 unallocated_10_1 : 1;
1: + u8 fc_speed_200 : 1;
1: + u8 fc_speed_3200 : 1;
1: + u8 fc_speed_400 : 1;
1: + u8 fc_speed_1600 : 1;
1: + u8 fc_speed_800 : 1;
1: + u8 fc_speed_1200 : 1;
1: + u8 encoding;
1: + u8 br_nominal;
1: + u8 rate_id;
1: + u8 link_len[6];
1: + char vendor_name[16];
1: + u8 extended_cc;
1: + char vendor_oui[3];
1: + char vendor_pn[16];
1: + char vendor_rev[4];
1: + union {
1: + __be16 optical_wavelength;
1: + __be16 cable_compliance;
1: + struct {
1: + u8 sff8431_app_e : 1;
1: + u8 fc_pi_4_app_h : 1;
1: + u8 reserved60_2 : 6;
1: + u8 reserved61 : 8;
1: + } passive;
1: + struct {
1: + u8 sff8431_app_e : 1;
1: + u8 fc_pi_4_app_h : 1;
1: + u8 sff8431_lim : 1;
1: + u8 fc_pi_4_lim : 1;
1: + u8 reserved60_4 : 4;
1: + u8 reserved61 : 8;
1: + } active;
1: + };
1: + u8 reserved62;
1: + u8 cc_base;
1: };
1:
1: struct sfp_eeprom_ext {
1: - __be16 options;
1: - u8 br_max;
1: - u8 br_min;
1: - char vendor_sn[16];
1: - char datecode[8];
1: - u8 diagmon;
1: - u8 enhopts;
1: - u8 sff8472_compliance;
1: - u8 cc_ext;
1: + __be16 options;
1: + u8 br_max;
1: + u8 br_min;
1: + char vendor_sn[16];
1: + char datecode[8];
1: + u8 diagmon;
1: + u8 enhopts;
1: + u8 sff8472_compliance;
1: + u8 cc_ext;
1: };
1:
1: struct sfp_eeprom_id {
1: - struct sfp_eeprom_base base;
1: - struct sfp_eeprom_ext ext;
1: + struct sfp_eeprom_base base;
1: + struct sfp_eeprom_ext ext;
1: };
1:
1: struct sfp_upstream_ops {
1: - void (*attach)(void *, struct sfp_bus *);
1: - void (*detach)(void *, struct sfp_bus *);
1: - int (*module_insert)(void *, const struct sfp_eeprom_id *);
1: - void (*module_remove)(void *);
1: - void (*link_down)(void *);
1: - void (*link_up)(void *);
1: - int (*connect_phy)(void *, struct phy_device *);
1: - void (*disconnect_phy)(void *);
1: + void (*attach)(void *, struct sfp_bus *);
1: + void (*detach)(void *, struct sfp_bus *);
1: + int (*module_insert)(void *, const struct sfp_eeprom_id *);
1: + void (*module_remove)(void *);
1: + void (*link_down)(void *);
1: + void (*link_up)(void *);
1: + int (*connect_phy)(void *, struct phy_device *);
1: + void (*disconnect_phy)(void *);
1: };
1:
1: struct trace_event_raw_mdio_access {
1: - struct trace_entry ent;
1: - char busid[61];
1: - char read;
1: - u8 addr;
1: - u16 val;
1: - unsigned int regnum;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char busid[61];
1: + char read;
1: + u8 addr;
1: + u16 val;
1: + unsigned int regnum;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_mdio_access {};
1:
1: struct mdio_driver {
1: - struct mdio_driver_common mdiodrv;
1: - int (*probe)(struct mdio_device *);
1: - void (*remove)(struct mdio_device *);
1: + struct mdio_driver_common mdiodrv;
1: + int (*probe)(struct mdio_device *);
1: + void (*remove)(struct mdio_device *);
1: };
1:
1: struct mdio_device_id {
1: - __u32 phy_id;
1: - __u32 phy_id_mask;
1: -};
1: -
1: -enum {
1: - SKB_GSO_TCPV4 = 1,
1: - SKB_GSO_DODGY = 2,
1: - SKB_GSO_TCP_ECN = 4,
1: - SKB_GSO_TCP_FIXEDID = 8,
1: - SKB_GSO_TCPV6 = 16,
1: - SKB_GSO_FCOE = 32,
1: - SKB_GSO_GRE = 64,
1: - SKB_GSO_GRE_CSUM = 128,
1: - SKB_GSO_IPXIP4 = 256,
1: - SKB_GSO_IPXIP6 = 512,
1: - SKB_GSO_UDP_TUNNEL = 1024,
1: - SKB_GSO_UDP_TUNNEL_CSUM = 2048,
1: - SKB_GSO_PARTIAL = 4096,
1: - SKB_GSO_TUNNEL_REMCSUM = 8192,
1: - SKB_GSO_SCTP = 16384,
1: - SKB_GSO_ESP = 32768,
1: - SKB_GSO_UDP = 65536,
1: - SKB_GSO_UDP_L4 = 131072,
1: + __u32 phy_id;
1: + __u32 phy_id_mask;
1: +};
1: +
1: +enum {
1: + SKB_GSO_TCPV4 = 1,
1: + SKB_GSO_DODGY = 2,
1: + SKB_GSO_TCP_ECN = 4,
1: + SKB_GSO_TCP_FIXEDID = 8,
1: + SKB_GSO_TCPV6 = 16,
1: + SKB_GSO_FCOE = 32,
1: + SKB_GSO_GRE = 64,
1: + SKB_GSO_GRE_CSUM = 128,
1: + SKB_GSO_IPXIP4 = 256,
1: + SKB_GSO_IPXIP6 = 512,
1: + SKB_GSO_UDP_TUNNEL = 1024,
1: + SKB_GSO_UDP_TUNNEL_CSUM = 2048,
1: + SKB_GSO_PARTIAL = 4096,
1: + SKB_GSO_TUNNEL_REMCSUM = 8192,
1: + SKB_GSO_SCTP = 16384,
1: + SKB_GSO_ESP = 32768,
1: + SKB_GSO_UDP = 65536,
1: + SKB_GSO_UDP_L4 = 131072,
1: };
1:
1: enum ethtool_stringset {
1: - ETH_SS_TEST = 0,
1: - ETH_SS_STATS = 1,
1: - ETH_SS_PRIV_FLAGS = 2,
1: - ETH_SS_NTUPLE_FILTERS = 3,
1: - ETH_SS_FEATURES = 4,
1: - ETH_SS_RSS_HASH_FUNCS = 5,
1: - ETH_SS_TUNABLES = 6,
1: - ETH_SS_PHY_STATS = 7,
1: - ETH_SS_PHY_TUNABLES = 8,
1: + ETH_SS_TEST = 0,
1: + ETH_SS_STATS = 1,
1: + ETH_SS_PRIV_FLAGS = 2,
1: + ETH_SS_NTUPLE_FILTERS = 3,
1: + ETH_SS_FEATURES = 4,
1: + ETH_SS_RSS_HASH_FUNCS = 5,
1: + ETH_SS_TUNABLES = 6,
1: + ETH_SS_PHY_STATS = 7,
1: + ETH_SS_PHY_TUNABLES = 8,
1: };
1:
1: enum ethtool_test_flags {
1: - ETH_TEST_FL_OFFLINE = 1,
1: - ETH_TEST_FL_FAILED = 2,
1: - ETH_TEST_FL_EXTERNAL_LB = 4,
1: - ETH_TEST_FL_EXTERNAL_LB_DONE = 8,
1: + ETH_TEST_FL_OFFLINE = 1,
1: + ETH_TEST_FL_FAILED = 2,
1: + ETH_TEST_FL_EXTERNAL_LB = 4,
1: + ETH_TEST_FL_EXTERNAL_LB_DONE = 8,
1: };
1:
1: enum {
1: - ETH_RSS_HASH_TOP_BIT = 0,
1: - ETH_RSS_HASH_XOR_BIT = 1,
1: - ETH_RSS_HASH_CRC32_BIT = 2,
1: - ETH_RSS_HASH_FUNCS_COUNT = 3,
1: + ETH_RSS_HASH_TOP_BIT = 0,
1: + ETH_RSS_HASH_XOR_BIT = 1,
1: + ETH_RSS_HASH_CRC32_BIT = 2,
1: + ETH_RSS_HASH_FUNCS_COUNT = 3,
1: };
1:
1: struct netdev_hw_addr {
1: - struct list_head list;
1: - unsigned char addr[32];
1: - unsigned char type;
1: - bool global_use;
1: - int sync_cnt;
1: - int refcount;
1: - int synced;
1: - struct callback_head callback_head;
1: + struct list_head list;
1: + unsigned char addr[32];
1: + unsigned char type;
1: + bool global_use;
1: + int sync_cnt;
1: + int refcount;
1: + int synced;
1: + struct callback_head callback_head;
1: };
1:
1: enum gro_result {
1: - GRO_MERGED = 0,
1: - GRO_MERGED_FREE = 1,
1: - GRO_HELD = 2,
1: - GRO_NORMAL = 3,
1: - GRO_DROP = 4,
1: - GRO_CONSUMED = 5,
1: + GRO_MERGED = 0,
1: + GRO_MERGED_FREE = 1,
1: + GRO_HELD = 2,
1: + GRO_NORMAL = 3,
1: + GRO_DROP = 4,
1: + GRO_CONSUMED = 5,
1: };
1:
1: typedef enum gro_result gro_result_t;
1:
1: enum netdev_queue_state_t {
1: - __QUEUE_STATE_DRV_XOFF = 0,
1: - __QUEUE_STATE_STACK_XOFF = 1,
1: - __QUEUE_STATE_FROZEN = 2,
1: + __QUEUE_STATE_DRV_XOFF = 0,
1: + __QUEUE_STATE_STACK_XOFF = 1,
1: + __QUEUE_STATE_FROZEN = 2,
1: };
1:
1: enum skb_free_reason {
1: - SKB_REASON_CONSUMED = 0,
1: - SKB_REASON_DROPPED = 1,
1: -};
1: -
1: -enum {
1: - NETIF_MSG_DRV = 1,
1: - NETIF_MSG_PROBE = 2,
1: - NETIF_MSG_LINK = 4,
1: - NETIF_MSG_TIMER = 8,
1: - NETIF_MSG_IFDOWN = 16,
1: - NETIF_MSG_IFUP = 32,
1: - NETIF_MSG_RX_ERR = 64,
1: - NETIF_MSG_TX_ERR = 128,
1: - NETIF_MSG_TX_QUEUED = 256,
1: - NETIF_MSG_INTR = 512,
1: - NETIF_MSG_TX_DONE = 1024,
1: - NETIF_MSG_RX_STATUS = 2048,
1: - NETIF_MSG_PKTDATA = 4096,
1: - NETIF_MSG_HW = 8192,
1: - NETIF_MSG_WOL = 16384,
1: -};
1: -
1: -enum {
1: - SOF_TIMESTAMPING_TX_HARDWARE = 1,
1: - SOF_TIMESTAMPING_TX_SOFTWARE = 2,
1: - SOF_TIMESTAMPING_RX_HARDWARE = 4,
1: - SOF_TIMESTAMPING_RX_SOFTWARE = 8,
1: - SOF_TIMESTAMPING_SOFTWARE = 16,
1: - SOF_TIMESTAMPING_SYS_HARDWARE = 32,
1: - SOF_TIMESTAMPING_RAW_HARDWARE = 64,
1: - SOF_TIMESTAMPING_OPT_ID = 128,
1: - SOF_TIMESTAMPING_TX_SCHED = 256,
1: - SOF_TIMESTAMPING_TX_ACK = 512,
1: - SOF_TIMESTAMPING_OPT_CMSG = 1024,
1: - SOF_TIMESTAMPING_OPT_TSONLY = 2048,
1: - SOF_TIMESTAMPING_OPT_STATS = 4096,
1: - SOF_TIMESTAMPING_OPT_PKTINFO = 8192,
1: - SOF_TIMESTAMPING_OPT_TX_SWHW = 16384,
1: - SOF_TIMESTAMPING_LAST = 16384,
1: - SOF_TIMESTAMPING_MASK = 32767,
1: + SKB_REASON_CONSUMED = 0,
1: + SKB_REASON_DROPPED = 1,
1: +};
1: +
1: +enum {
1: + NETIF_MSG_DRV = 1,
1: + NETIF_MSG_PROBE = 2,
1: + NETIF_MSG_LINK = 4,
1: + NETIF_MSG_TIMER = 8,
1: + NETIF_MSG_IFDOWN = 16,
1: + NETIF_MSG_IFUP = 32,
1: + NETIF_MSG_RX_ERR = 64,
1: + NETIF_MSG_TX_ERR = 128,
1: + NETIF_MSG_TX_QUEUED = 256,
1: + NETIF_MSG_INTR = 512,
1: + NETIF_MSG_TX_DONE = 1024,
1: + NETIF_MSG_RX_STATUS = 2048,
1: + NETIF_MSG_PKTDATA = 4096,
1: + NETIF_MSG_HW = 8192,
1: + NETIF_MSG_WOL = 16384,
1: +};
1: +
1: +enum {
1: + SOF_TIMESTAMPING_TX_HARDWARE = 1,
1: + SOF_TIMESTAMPING_TX_SOFTWARE = 2,
1: + SOF_TIMESTAMPING_RX_HARDWARE = 4,
1: + SOF_TIMESTAMPING_RX_SOFTWARE = 8,
1: + SOF_TIMESTAMPING_SOFTWARE = 16,
1: + SOF_TIMESTAMPING_SYS_HARDWARE = 32,
1: + SOF_TIMESTAMPING_RAW_HARDWARE = 64,
1: + SOF_TIMESTAMPING_OPT_ID = 128,
1: + SOF_TIMESTAMPING_TX_SCHED = 256,
1: + SOF_TIMESTAMPING_TX_ACK = 512,
1: + SOF_TIMESTAMPING_OPT_CMSG = 1024,
1: + SOF_TIMESTAMPING_OPT_TSONLY = 2048,
1: + SOF_TIMESTAMPING_OPT_STATS = 4096,
1: + SOF_TIMESTAMPING_OPT_PKTINFO = 8192,
1: + SOF_TIMESTAMPING_OPT_TX_SWHW = 16384,
1: + SOF_TIMESTAMPING_LAST = 16384,
1: + SOF_TIMESTAMPING_MASK = 32767,
1: };
1:
1: struct hwtstamp_config {
1: - int flags;
1: - int tx_type;
1: - int rx_filter;
1: + int flags;
1: + int tx_type;
1: + int rx_filter;
1: };
1:
1: enum hwtstamp_tx_types {
1: - HWTSTAMP_TX_OFF = 0,
1: - HWTSTAMP_TX_ON = 1,
1: - HWTSTAMP_TX_ONESTEP_SYNC = 2,
1: + HWTSTAMP_TX_OFF = 0,
1: + HWTSTAMP_TX_ON = 1,
1: + HWTSTAMP_TX_ONESTEP_SYNC = 2,
1: };
1:
1: enum hwtstamp_rx_filters {
1: - HWTSTAMP_FILTER_NONE = 0,
1: - HWTSTAMP_FILTER_ALL = 1,
1: - HWTSTAMP_FILTER_SOME = 2,
1: - HWTSTAMP_FILTER_PTP_V1_L4_EVENT = 3,
1: - HWTSTAMP_FILTER_PTP_V1_L4_SYNC = 4,
1: - HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ = 5,
1: - HWTSTAMP_FILTER_PTP_V2_L4_EVENT = 6,
1: - HWTSTAMP_FILTER_PTP_V2_L4_SYNC = 7,
1: - HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ = 8,
1: - HWTSTAMP_FILTER_PTP_V2_L2_EVENT = 9,
1: - HWTSTAMP_FILTER_PTP_V2_L2_SYNC = 10,
1: - HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ = 11,
1: - HWTSTAMP_FILTER_PTP_V2_EVENT = 12,
1: - HWTSTAMP_FILTER_PTP_V2_SYNC = 13,
1: - HWTSTAMP_FILTER_PTP_V2_DELAY_REQ = 14,
1: - HWTSTAMP_FILTER_NTP_ALL = 15,
1: + HWTSTAMP_FILTER_NONE = 0,
1: + HWTSTAMP_FILTER_ALL = 1,
1: + HWTSTAMP_FILTER_SOME = 2,
1: + HWTSTAMP_FILTER_PTP_V1_L4_EVENT = 3,
1: + HWTSTAMP_FILTER_PTP_V1_L4_SYNC = 4,
1: + HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ = 5,
1: + HWTSTAMP_FILTER_PTP_V2_L4_EVENT = 6,
1: + HWTSTAMP_FILTER_PTP_V2_L4_SYNC = 7,
1: + HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ = 8,
1: + HWTSTAMP_FILTER_PTP_V2_L2_EVENT = 9,
1: + HWTSTAMP_FILTER_PTP_V2_L2_SYNC = 10,
1: + HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ = 11,
1: + HWTSTAMP_FILTER_PTP_V2_EVENT = 12,
1: + HWTSTAMP_FILTER_PTP_V2_SYNC = 13,
1: + HWTSTAMP_FILTER_PTP_V2_DELAY_REQ = 14,
1: + HWTSTAMP_FILTER_NTP_ALL = 15,
1: };
1:
1: struct sensor_device_attribute {
1: - struct device_attribute dev_attr;
1: - int index;
1: + struct device_attribute dev_attr;
1: + int index;
1: };
1:
1: struct ptp_clock_time {
1: - __s64 sec;
1: - __u32 nsec;
1: - __u32 reserved;
1: + __s64 sec;
1: + __u32 nsec;
1: + __u32 reserved;
1: };
1:
1: struct ptp_extts_request {
1: - unsigned int index;
1: - unsigned int flags;
1: - unsigned int rsv[2];
1: + unsigned int index;
1: + unsigned int flags;
1: + unsigned int rsv[2];
1: };
1:
1: struct ptp_perout_request {
1: - struct ptp_clock_time start;
1: - struct ptp_clock_time period;
1: - unsigned int index;
1: - unsigned int flags;
1: - unsigned int rsv[4];
1: + struct ptp_clock_time start;
1: + struct ptp_clock_time period;
1: + unsigned int index;
1: + unsigned int flags;
1: + unsigned int rsv[4];
1: };
1:
1: enum ptp_pin_function {
1: - PTP_PF_NONE = 0,
1: - PTP_PF_EXTTS = 1,
1: - PTP_PF_PEROUT = 2,
1: - PTP_PF_PHYSYNC = 3,
1: + PTP_PF_NONE = 0,
1: + PTP_PF_EXTTS = 1,
1: + PTP_PF_PEROUT = 2,
1: + PTP_PF_PHYSYNC = 3,
1: };
1:
1: struct ptp_pin_desc {
1: - char name[64];
1: - unsigned int index;
1: - unsigned int func;
1: - unsigned int chan;
1: - unsigned int rsv[5];
1: + char name[64];
1: + unsigned int index;
1: + unsigned int func;
1: + unsigned int chan;
1: + unsigned int rsv[5];
1: };
1:
1: struct ptp_clock_request {
1: - enum {
1: - PTP_CLK_REQ_EXTTS = 0,
1: - PTP_CLK_REQ_PEROUT = 1,
1: - PTP_CLK_REQ_PPS = 2,
1: - } type;
1: - union {
1: - struct ptp_extts_request extts;
1: - struct ptp_perout_request perout;
1: - };
1: + enum {
1: + PTP_CLK_REQ_EXTTS = 0,
1: + PTP_CLK_REQ_PEROUT = 1,
1: + PTP_CLK_REQ_PPS = 2,
1: + } type;
1: + union {
1: + struct ptp_extts_request extts;
1: + struct ptp_perout_request perout;
1: + };
1: };
1:
1: struct ptp_system_timestamp {
1: - struct timespec64 pre_ts;
1: - struct timespec64 post_ts;
1: + struct timespec64 pre_ts;
1: + struct timespec64 post_ts;
1: };
1:
1: struct ptp_clock_info {
1: - struct module *owner;
1: - char name[16];
1: - s32 max_adj;
1: - int n_alarm;
1: - int n_ext_ts;
1: - int n_per_out;
1: - int n_pins;
1: - int pps;
1: - struct ptp_pin_desc *pin_config;
1: - int (*adjfine)(struct ptp_clock_info *, long int);
1: - int (*adjfreq)(struct ptp_clock_info *, s32);
1: - int (*adjtime)(struct ptp_clock_info *, s64);
1: - int (*gettime64)(struct ptp_clock_info *, struct timespec64 *);
1: - int (*gettimex64)(struct ptp_clock_info *, struct timespec64 *, struct ptp_system_timestamp *);
1: - int (*getcrosststamp)(struct ptp_clock_info *, struct system_device_crosststamp *);
1: - int (*settime64)(struct ptp_clock_info *, const struct timespec64 *);
1: - int (*enable)(struct ptp_clock_info *, struct ptp_clock_request *, int);
1: - int (*verify)(struct ptp_clock_info *, unsigned int, enum ptp_pin_function, unsigned int);
1: - long int (*do_aux_work)(struct ptp_clock_info *);
1: + struct module *owner;
1: + char name[16];
1: + s32 max_adj;
1: + int n_alarm;
1: + int n_ext_ts;
1: + int n_per_out;
1: + int n_pins;
1: + int pps;
1: + struct ptp_pin_desc *pin_config;
1: + int (*adjfine)(struct ptp_clock_info *, long int);
1: + int (*adjfreq)(struct ptp_clock_info *, s32);
1: + int (*adjtime)(struct ptp_clock_info *, s64);
1: + int (*gettime64)(struct ptp_clock_info *, struct timespec64 *);
1: + int (*gettimex64)(struct ptp_clock_info *, struct timespec64 *,
1: + struct ptp_system_timestamp *);
1: + int (*getcrosststamp)(struct ptp_clock_info *,
1: + struct system_device_crosststamp *);
1: + int (*settime64)(struct ptp_clock_info *, const struct timespec64 *);
1: + int (*enable)(struct ptp_clock_info *, struct ptp_clock_request *, int);
1: + int (*verify)(struct ptp_clock_info *, unsigned int, enum ptp_pin_function,
1: + unsigned int);
1: + long int (*do_aux_work)(struct ptp_clock_info *);
1: };
1:
1: struct tg3_tx_buffer_desc {
1: - u32 addr_hi;
1: - u32 addr_lo;
1: - u32 len_flags;
1: - u32 vlan_tag;
1: + u32 addr_hi;
1: + u32 addr_lo;
1: + u32 len_flags;
1: + u32 vlan_tag;
1: };
1:
1: struct tg3_rx_buffer_desc {
1: - u32 addr_hi;
1: - u32 addr_lo;
1: - u32 idx_len;
1: - u32 type_flags;
1: - u32 ip_tcp_csum;
1: - u32 err_vlan;
1: - u32 reserved;
1: - u32 opaque;
1: + u32 addr_hi;
1: + u32 addr_lo;
1: + u32 idx_len;
1: + u32 type_flags;
1: + u32 ip_tcp_csum;
1: + u32 err_vlan;
1: + u32 reserved;
1: + u32 opaque;
1: };
1:
1: struct tg3_ext_rx_buffer_desc {
1: - struct {
1: - u32 addr_hi;
1: - u32 addr_lo;
1: - } addrlist[3];
1: - u32 len2_len1;
1: - u32 resv_len3;
1: - struct tg3_rx_buffer_desc std;
1: + struct {
1: + u32 addr_hi;
1: + u32 addr_lo;
1: + } addrlist[3];
1: + u32 len2_len1;
1: + u32 resv_len3;
1: + struct tg3_rx_buffer_desc std;
1: };
1:
1: struct tg3_internal_buffer_desc {
1: - u32 addr_hi;
1: - u32 addr_lo;
1: - u32 nic_mbuf;
1: - u16 len;
1: - u16 cqid_sqid;
1: - u32 flags;
1: - u32 __cookie1;
1: - u32 __cookie2;
1: - u32 __cookie3;
1: + u32 addr_hi;
1: + u32 addr_lo;
1: + u32 nic_mbuf;
1: + u16 len;
1: + u16 cqid_sqid;
1: + u32 flags;
1: + u32 __cookie1;
1: + u32 __cookie2;
1: + u32 __cookie3;
1: };
1:
1: struct tg3_hw_status {
1: - u32 status;
1: - u32 status_tag;
1: - u16 rx_jumbo_consumer;
1: - u16 rx_consumer;
1: - u16 rx_mini_consumer;
1: - u16 reserved;
1: - struct {
1: - u16 rx_producer;
1: - u16 tx_consumer;
1: - } idx[16];
1: + u32 status;
1: + u32 status_tag;
1: + u16 rx_jumbo_consumer;
1: + u16 rx_consumer;
1: + u16 rx_mini_consumer;
1: + u16 reserved;
1: + struct {
1: + u16 rx_producer;
1: + u16 tx_consumer;
1: + } idx[16];
1: };
1:
1: typedef struct {
1: - u32 high;
1: - u32 low;
1: + u32 high;
1: + u32 low;
1: } tg3_stat64_t;
1:
1: struct tg3_hw_stats {
1: - u8 __reserved0[256];
1: - tg3_stat64_t rx_octets;
1: - u64 __reserved1;
1: - tg3_stat64_t rx_fragments;
1: - tg3_stat64_t rx_ucast_packets;
1: - tg3_stat64_t rx_mcast_packets;
1: - tg3_stat64_t rx_bcast_packets;
1: - tg3_stat64_t rx_fcs_errors;
1: - tg3_stat64_t rx_align_errors;
1: - tg3_stat64_t rx_xon_pause_rcvd;
1: - tg3_stat64_t rx_xoff_pause_rcvd;
1: - tg3_stat64_t rx_mac_ctrl_rcvd;
1: - tg3_stat64_t rx_xoff_entered;
1: - tg3_stat64_t rx_frame_too_long_errors;
1: - tg3_stat64_t rx_jabbers;
1: - tg3_stat64_t rx_undersize_packets;
1: - tg3_stat64_t rx_in_length_errors;
1: - tg3_stat64_t rx_out_length_errors;
1: - tg3_stat64_t rx_64_or_less_octet_packets;
1: - tg3_stat64_t rx_65_to_127_octet_packets;
1: - tg3_stat64_t rx_128_to_255_octet_packets;
1: - tg3_stat64_t rx_256_to_511_octet_packets;
1: - tg3_stat64_t rx_512_to_1023_octet_packets;
1: - tg3_stat64_t rx_1024_to_1522_octet_packets;
1: - tg3_stat64_t rx_1523_to_2047_octet_packets;
1: - tg3_stat64_t rx_2048_to_4095_octet_packets;
1: - tg3_stat64_t rx_4096_to_8191_octet_packets;
1: - tg3_stat64_t rx_8192_to_9022_octet_packets;
1: - u64 __unused0[37];
1: - tg3_stat64_t tx_octets;
1: - u64 __reserved2;
1: - tg3_stat64_t tx_collisions;
1: - tg3_stat64_t tx_xon_sent;
1: - tg3_stat64_t tx_xoff_sent;
1: - tg3_stat64_t tx_flow_control;
1: - tg3_stat64_t tx_mac_errors;
1: - tg3_stat64_t tx_single_collisions;
1: - tg3_stat64_t tx_mult_collisions;
1: - tg3_stat64_t tx_deferred;
1: - u64 __reserved3;
1: - tg3_stat64_t tx_excessive_collisions;
1: - tg3_stat64_t tx_late_collisions;
1: - tg3_stat64_t tx_collide_2times;
1: - tg3_stat64_t tx_collide_3times;
1: - tg3_stat64_t tx_collide_4times;
1: - tg3_stat64_t tx_collide_5times;
1: - tg3_stat64_t tx_collide_6times;
1: - tg3_stat64_t tx_collide_7times;
1: - tg3_stat64_t tx_collide_8times;
1: - tg3_stat64_t tx_collide_9times;
1: - tg3_stat64_t tx_collide_10times;
1: - tg3_stat64_t tx_collide_11times;
1: - tg3_stat64_t tx_collide_12times;
1: - tg3_stat64_t tx_collide_13times;
1: - tg3_stat64_t tx_collide_14times;
1: - tg3_stat64_t tx_collide_15times;
1: - tg3_stat64_t tx_ucast_packets;
1: - tg3_stat64_t tx_mcast_packets;
1: - tg3_stat64_t tx_bcast_packets;
1: - tg3_stat64_t tx_carrier_sense_errors;
1: - tg3_stat64_t tx_discards;
1: - tg3_stat64_t tx_errors;
1: - u64 __unused1[31];
1: - tg3_stat64_t COS_rx_packets[16];
1: - tg3_stat64_t COS_rx_filter_dropped;
1: - tg3_stat64_t dma_writeq_full;
1: - tg3_stat64_t dma_write_prioq_full;
1: - tg3_stat64_t rxbds_empty;
1: - tg3_stat64_t rx_discards;
1: - tg3_stat64_t rx_errors;
1: - tg3_stat64_t rx_threshold_hit;
1: - u64 __unused2[9];
1: - tg3_stat64_t COS_out_packets[16];
1: - tg3_stat64_t dma_readq_full;
1: - tg3_stat64_t dma_read_prioq_full;
1: - tg3_stat64_t tx_comp_queue_full;
1: - tg3_stat64_t ring_set_send_prod_index;
1: - tg3_stat64_t ring_status_update;
1: - tg3_stat64_t nic_irqs;
1: - tg3_stat64_t nic_avoided_irqs;
1: - tg3_stat64_t nic_tx_threshold_hit;
1: - tg3_stat64_t mbuf_lwm_thresh_hit;
1: - u8 __reserved4[312];
1: + u8 __reserved0[256];
1: + tg3_stat64_t rx_octets;
1: + u64 __reserved1;
1: + tg3_stat64_t rx_fragments;
1: + tg3_stat64_t rx_ucast_packets;
1: + tg3_stat64_t rx_mcast_packets;
1: + tg3_stat64_t rx_bcast_packets;
1: + tg3_stat64_t rx_fcs_errors;
1: + tg3_stat64_t rx_align_errors;
1: + tg3_stat64_t rx_xon_pause_rcvd;
1: + tg3_stat64_t rx_xoff_pause_rcvd;
1: + tg3_stat64_t rx_mac_ctrl_rcvd;
1: + tg3_stat64_t rx_xoff_entered;
1: + tg3_stat64_t rx_frame_too_long_errors;
1: + tg3_stat64_t rx_jabbers;
1: + tg3_stat64_t rx_undersize_packets;
1: + tg3_stat64_t rx_in_length_errors;
1: + tg3_stat64_t rx_out_length_errors;
1: + tg3_stat64_t rx_64_or_less_octet_packets;
1: + tg3_stat64_t rx_65_to_127_octet_packets;
1: + tg3_stat64_t rx_128_to_255_octet_packets;
1: + tg3_stat64_t rx_256_to_511_octet_packets;
1: + tg3_stat64_t rx_512_to_1023_octet_packets;
1: + tg3_stat64_t rx_1024_to_1522_octet_packets;
1: + tg3_stat64_t rx_1523_to_2047_octet_packets;
1: + tg3_stat64_t rx_2048_to_4095_octet_packets;
1: + tg3_stat64_t rx_4096_to_8191_octet_packets;
1: + tg3_stat64_t rx_8192_to_9022_octet_packets;
1: + u64 __unused0[37];
1: + tg3_stat64_t tx_octets;
1: + u64 __reserved2;
1: + tg3_stat64_t tx_collisions;
1: + tg3_stat64_t tx_xon_sent;
1: + tg3_stat64_t tx_xoff_sent;
1: + tg3_stat64_t tx_flow_control;
1: + tg3_stat64_t tx_mac_errors;
1: + tg3_stat64_t tx_single_collisions;
1: + tg3_stat64_t tx_mult_collisions;
1: + tg3_stat64_t tx_deferred;
1: + u64 __reserved3;
1: + tg3_stat64_t tx_excessive_collisions;
1: + tg3_stat64_t tx_late_collisions;
1: + tg3_stat64_t tx_collide_2times;
1: + tg3_stat64_t tx_collide_3times;
1: + tg3_stat64_t tx_collide_4times;
1: + tg3_stat64_t tx_collide_5times;
1: + tg3_stat64_t tx_collide_6times;
1: + tg3_stat64_t tx_collide_7times;
1: + tg3_stat64_t tx_collide_8times;
1: + tg3_stat64_t tx_collide_9times;
1: + tg3_stat64_t tx_collide_10times;
1: + tg3_stat64_t tx_collide_11times;
1: + tg3_stat64_t tx_collide_12times;
1: + tg3_stat64_t tx_collide_13times;
1: + tg3_stat64_t tx_collide_14times;
1: + tg3_stat64_t tx_collide_15times;
1: + tg3_stat64_t tx_ucast_packets;
1: + tg3_stat64_t tx_mcast_packets;
1: + tg3_stat64_t tx_bcast_packets;
1: + tg3_stat64_t tx_carrier_sense_errors;
1: + tg3_stat64_t tx_discards;
1: + tg3_stat64_t tx_errors;
1: + u64 __unused1[31];
1: + tg3_stat64_t COS_rx_packets[16];
1: + tg3_stat64_t COS_rx_filter_dropped;
1: + tg3_stat64_t dma_writeq_full;
1: + tg3_stat64_t dma_write_prioq_full;
1: + tg3_stat64_t rxbds_empty;
1: + tg3_stat64_t rx_discards;
1: + tg3_stat64_t rx_errors;
1: + tg3_stat64_t rx_threshold_hit;
1: + u64 __unused2[9];
1: + tg3_stat64_t COS_out_packets[16];
1: + tg3_stat64_t dma_readq_full;
1: + tg3_stat64_t dma_read_prioq_full;
1: + tg3_stat64_t tx_comp_queue_full;
1: + tg3_stat64_t ring_set_send_prod_index;
1: + tg3_stat64_t ring_status_update;
1: + tg3_stat64_t nic_irqs;
1: + tg3_stat64_t nic_avoided_irqs;
1: + tg3_stat64_t nic_tx_threshold_hit;
1: + tg3_stat64_t mbuf_lwm_thresh_hit;
1: + u8 __reserved4[312];
1: };
1:
1: struct tg3_ocir {
1: - u32 signature;
1: - u16 version_flags;
1: - u16 refresh_int;
1: - u32 refresh_tmr;
1: - u32 update_tmr;
1: - u32 dst_base_addr;
1: - u16 src_hdr_offset;
1: - u16 src_hdr_length;
1: - u16 src_data_offset;
1: - u16 src_data_length;
1: - u16 dst_hdr_offset;
1: - u16 dst_data_offset;
1: - u16 dst_reg_upd_offset;
1: - u16 dst_sem_offset;
1: - u32 reserved1[2];
1: - u32 port0_flags;
1: - u32 port1_flags;
1: - u32 port2_flags;
1: - u32 port3_flags;
1: - u32 reserved2[1];
1: + u32 signature;
1: + u16 version_flags;
1: + u16 refresh_int;
1: + u32 refresh_tmr;
1: + u32 update_tmr;
1: + u32 dst_base_addr;
1: + u16 src_hdr_offset;
1: + u16 src_hdr_length;
1: + u16 src_data_offset;
1: + u16 src_data_length;
1: + u16 dst_hdr_offset;
1: + u16 dst_data_offset;
1: + u16 dst_reg_upd_offset;
1: + u16 dst_sem_offset;
1: + u32 reserved1[2];
1: + u32 port0_flags;
1: + u32 port1_flags;
1: + u32 port2_flags;
1: + u32 port3_flags;
1: + u32 reserved2[1];
1: };
1:
1: struct ring_info {
1: - u8 *data;
1: - dma_addr_t mapping;
1: + u8 *data;
1: + dma_addr_t mapping;
1: };
1:
1: struct tg3_tx_ring_info {
1: - struct sk_buff *skb;
1: - dma_addr_t mapping;
1: - bool fragmented;
1: + struct sk_buff *skb;
1: + dma_addr_t mapping;
1: + bool fragmented;
1: };
1:
1: struct tg3_link_config {
1: - u32 advertising;
1: - u32 speed;
1: - u8 duplex;
1: - u8 autoneg;
1: - u8 flowctrl;
1: - u8 active_flowctrl;
1: - u8 active_duplex;
1: - u32 active_speed;
1: - u32 rmt_adv;
1: + u32 advertising;
1: + u32 speed;
1: + u8 duplex;
1: + u8 autoneg;
1: + u8 flowctrl;
1: + u8 active_flowctrl;
1: + u8 active_duplex;
1: + u32 active_speed;
1: + u32 rmt_adv;
1: };
1:
1: struct tg3_bufmgr_config {
1: - u32 mbuf_read_dma_low_water;
1: - u32 mbuf_mac_rx_low_water;
1: - u32 mbuf_high_water;
1: - u32 mbuf_read_dma_low_water_jumbo;
1: - u32 mbuf_mac_rx_low_water_jumbo;
1: - u32 mbuf_high_water_jumbo;
1: - u32 dma_low_water;
1: - u32 dma_high_water;
1: + u32 mbuf_read_dma_low_water;
1: + u32 mbuf_mac_rx_low_water;
1: + u32 mbuf_high_water;
1: + u32 mbuf_read_dma_low_water_jumbo;
1: + u32 mbuf_mac_rx_low_water_jumbo;
1: + u32 mbuf_high_water_jumbo;
1: + u32 dma_low_water;
1: + u32 dma_high_water;
1: };
1:
1: struct tg3_ethtool_stats {
1: - u64 rx_octets;
1: - u64 rx_fragments;
1: - u64 rx_ucast_packets;
1: - u64 rx_mcast_packets;
1: - u64 rx_bcast_packets;
1: - u64 rx_fcs_errors;
1: - u64 rx_align_errors;
1: - u64 rx_xon_pause_rcvd;
1: - u64 rx_xoff_pause_rcvd;
1: - u64 rx_mac_ctrl_rcvd;
1: - u64 rx_xoff_entered;
1: - u64 rx_frame_too_long_errors;
1: - u64 rx_jabbers;
1: - u64 rx_undersize_packets;
1: - u64 rx_in_length_errors;
1: - u64 rx_out_length_errors;
1: - u64 rx_64_or_less_octet_packets;
1: - u64 rx_65_to_127_octet_packets;
1: - u64 rx_128_to_255_octet_packets;
1: - u64 rx_256_to_511_octet_packets;
1: - u64 rx_512_to_1023_octet_packets;
1: - u64 rx_1024_to_1522_octet_packets;
1: - u64 rx_1523_to_2047_octet_packets;
1: - u64 rx_2048_to_4095_octet_packets;
1: - u64 rx_4096_to_8191_octet_packets;
1: - u64 rx_8192_to_9022_octet_packets;
1: - u64 tx_octets;
1: - u64 tx_collisions;
1: - u64 tx_xon_sent;
1: - u64 tx_xoff_sent;
1: - u64 tx_flow_control;
1: - u64 tx_mac_errors;
1: - u64 tx_single_collisions;
1: - u64 tx_mult_collisions;
1: - u64 tx_deferred;
1: - u64 tx_excessive_collisions;
1: - u64 tx_late_collisions;
1: - u64 tx_collide_2times;
1: - u64 tx_collide_3times;
1: - u64 tx_collide_4times;
1: - u64 tx_collide_5times;
1: - u64 tx_collide_6times;
1: - u64 tx_collide_7times;
1: - u64 tx_collide_8times;
1: - u64 tx_collide_9times;
1: - u64 tx_collide_10times;
1: - u64 tx_collide_11times;
1: - u64 tx_collide_12times;
1: - u64 tx_collide_13times;
1: - u64 tx_collide_14times;
1: - u64 tx_collide_15times;
1: - u64 tx_ucast_packets;
1: - u64 tx_mcast_packets;
1: - u64 tx_bcast_packets;
1: - u64 tx_carrier_sense_errors;
1: - u64 tx_discards;
1: - u64 tx_errors;
1: - u64 dma_writeq_full;
1: - u64 dma_write_prioq_full;
1: - u64 rxbds_empty;
1: - u64 rx_discards;
1: - u64 rx_errors;
1: - u64 rx_threshold_hit;
1: - u64 dma_readq_full;
1: - u64 dma_read_prioq_full;
1: - u64 tx_comp_queue_full;
1: - u64 ring_set_send_prod_index;
1: - u64 ring_status_update;
1: - u64 nic_irqs;
1: - u64 nic_avoided_irqs;
1: - u64 nic_tx_threshold_hit;
1: - u64 mbuf_lwm_thresh_hit;
1: + u64 rx_octets;
1: + u64 rx_fragments;
1: + u64 rx_ucast_packets;
1: + u64 rx_mcast_packets;
1: + u64 rx_bcast_packets;
1: + u64 rx_fcs_errors;
1: + u64 rx_align_errors;
1: + u64 rx_xon_pause_rcvd;
1: + u64 rx_xoff_pause_rcvd;
1: + u64 rx_mac_ctrl_rcvd;
1: + u64 rx_xoff_entered;
1: + u64 rx_frame_too_long_errors;
1: + u64 rx_jabbers;
1: + u64 rx_undersize_packets;
1: + u64 rx_in_length_errors;
1: + u64 rx_out_length_errors;
1: + u64 rx_64_or_less_octet_packets;
1: + u64 rx_65_to_127_octet_packets;
1: + u64 rx_128_to_255_octet_packets;
1: + u64 rx_256_to_511_octet_packets;
1: + u64 rx_512_to_1023_octet_packets;
1: + u64 rx_1024_to_1522_octet_packets;
1: + u64 rx_1523_to_2047_octet_packets;
1: + u64 rx_2048_to_4095_octet_packets;
1: + u64 rx_4096_to_8191_octet_packets;
1: + u64 rx_8192_to_9022_octet_packets;
1: + u64 tx_octets;
1: + u64 tx_collisions;
1: + u64 tx_xon_sent;
1: + u64 tx_xoff_sent;
1: + u64 tx_flow_control;
1: + u64 tx_mac_errors;
1: + u64 tx_single_collisions;
1: + u64 tx_mult_collisions;
1: + u64 tx_deferred;
1: + u64 tx_excessive_collisions;
1: + u64 tx_late_collisions;
1: + u64 tx_collide_2times;
1: + u64 tx_collide_3times;
1: + u64 tx_collide_4times;
1: + u64 tx_collide_5times;
1: + u64 tx_collide_6times;
1: + u64 tx_collide_7times;
1: + u64 tx_collide_8times;
1: + u64 tx_collide_9times;
1: + u64 tx_collide_10times;
1: + u64 tx_collide_11times;
1: + u64 tx_collide_12times;
1: + u64 tx_collide_13times;
1: + u64 tx_collide_14times;
1: + u64 tx_collide_15times;
1: + u64 tx_ucast_packets;
1: + u64 tx_mcast_packets;
1: + u64 tx_bcast_packets;
1: + u64 tx_carrier_sense_errors;
1: + u64 tx_discards;
1: + u64 tx_errors;
1: + u64 dma_writeq_full;
1: + u64 dma_write_prioq_full;
1: + u64 rxbds_empty;
1: + u64 rx_discards;
1: + u64 rx_errors;
1: + u64 rx_threshold_hit;
1: + u64 dma_readq_full;
1: + u64 dma_read_prioq_full;
1: + u64 tx_comp_queue_full;
1: + u64 ring_set_send_prod_index;
1: + u64 ring_status_update;
1: + u64 nic_irqs;
1: + u64 nic_avoided_irqs;
1: + u64 nic_tx_threshold_hit;
1: + u64 mbuf_lwm_thresh_hit;
1: };
1:
1: struct tg3_rx_prodring_set {
1: - u32 rx_std_prod_idx;
1: - u32 rx_std_cons_idx;
1: - u32 rx_jmb_prod_idx;
1: - u32 rx_jmb_cons_idx;
1: - struct tg3_rx_buffer_desc *rx_std;
1: - struct tg3_ext_rx_buffer_desc *rx_jmb;
1: - struct ring_info *rx_std_buffers;
1: - struct ring_info *rx_jmb_buffers;
1: - dma_addr_t rx_std_mapping;
1: - dma_addr_t rx_jmb_mapping;
1: + u32 rx_std_prod_idx;
1: + u32 rx_std_cons_idx;
1: + u32 rx_jmb_prod_idx;
1: + u32 rx_jmb_cons_idx;
1: + struct tg3_rx_buffer_desc *rx_std;
1: + struct tg3_ext_rx_buffer_desc *rx_jmb;
1: + struct ring_info *rx_std_buffers;
1: + struct ring_info *rx_jmb_buffers;
1: + dma_addr_t rx_std_mapping;
1: + dma_addr_t rx_jmb_mapping;
1: };
1:
1: struct tg3;
1:
1: struct tg3_napi {
1: - struct napi_struct napi;
1: - struct tg3 *tp;
1: - struct tg3_hw_status *hw_status;
1: - u32 chk_msi_cnt;
1: - u32 last_tag;
1: - u32 last_irq_tag;
1: - u32 int_mbox;
1: - u32 coal_now;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - u32 consmbox;
1: - u32 rx_rcb_ptr;
1: - u32 last_rx_cons;
1: - u16 *rx_rcb_prod_idx;
1: - struct tg3_rx_prodring_set prodring;
1: - struct tg3_rx_buffer_desc *rx_rcb;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - u32 tx_prod;
1: - u32 tx_cons;
1: - u32 tx_pending;
1: - u32 last_tx_cons;
1: - u32 prodmbox;
1: - struct tg3_tx_buffer_desc *tx_ring;
1: - struct tg3_tx_ring_info *tx_buffers;
1: - dma_addr_t status_mapping;
1: - dma_addr_t rx_rcb_mapping;
1: - dma_addr_t tx_desc_mapping;
1: - char irq_lbl[16];
1: - unsigned int irq_vec;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct napi_struct napi;
1: + struct tg3 *tp;
1: + struct tg3_hw_status *hw_status;
1: + u32 chk_msi_cnt;
1: + u32 last_tag;
1: + u32 last_irq_tag;
1: + u32 int_mbox;
1: + u32 coal_now;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + u32 consmbox;
1: + u32 rx_rcb_ptr;
1: + u32 last_rx_cons;
1: + u16 *rx_rcb_prod_idx;
1: + struct tg3_rx_prodring_set prodring;
1: + struct tg3_rx_buffer_desc *rx_rcb;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + u32 tx_prod;
1: + u32 tx_cons;
1: + u32 tx_pending;
1: + u32 last_tx_cons;
1: + u32 prodmbox;
1: + struct tg3_tx_buffer_desc *tx_ring;
1: + struct tg3_tx_ring_info *tx_buffers;
1: + dma_addr_t status_mapping;
1: + dma_addr_t rx_rcb_mapping;
1: + dma_addr_t tx_desc_mapping;
1: + char irq_lbl[16];
1: + unsigned int irq_vec;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct ptp_clock;
1:
1: struct tg3 {
1: - unsigned int irq_sync;
1: - spinlock_t lock;
1: - spinlock_t indirect_lock;
1: - u32 (*read32)(struct tg3 *, u32);
1: - void (*write32)(struct tg3 *, u32, u32);
1: - u32 (*read32_mbox)(struct tg3 *, u32);
1: - void (*write32_mbox)(struct tg3 *, u32, u32);
1: - void *regs;
1: - void *aperegs;
1: - struct net_device *dev;
1: - struct pci_dev *pdev;
1: - u32 coal_now;
1: - u32 msg_enable;
1: - struct ptp_clock_info ptp_info;
1: - struct ptp_clock *ptp_clock;
1: - s64 ptp_adjust;
1: - void (*write32_tx_mbox)(struct tg3 *, u32, u32);
1: - u32 dma_limit;
1: - u32 txq_req;
1: - u32 txq_cnt;
1: - u32 txq_max;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct tg3_napi napi[5];
1: - void (*write32_rx_mbox)(struct tg3 *, u32, u32);
1: - u32 rx_copy_thresh;
1: - u32 rx_std_ring_mask;
1: - u32 rx_jmb_ring_mask;
1: - u32 rx_ret_ring_mask;
1: - u32 rx_pending;
1: - u32 rx_jumbo_pending;
1: - u32 rx_std_max_post;
1: - u32 rx_offset;
1: - u32 rx_pkt_map_sz;
1: - u32 rxq_req;
1: - u32 rxq_cnt;
1: - u32 rxq_max;
1: - bool rx_refill;
1: - long unsigned int rx_dropped;
1: - long unsigned int tx_dropped;
1: - struct rtnl_link_stats64 net_stats_prev;
1: - struct tg3_ethtool_stats estats_prev;
1: - long unsigned int tg3_flags[2];
1: - union {
1: - long unsigned int phy_crc_errors;
1: - long unsigned int last_event_jiffies;
1: - };
1: - struct timer_list timer;
1: - u16 timer_counter;
1: - u16 timer_multiplier;
1: - u32 timer_offset;
1: - u16 asf_counter;
1: - u16 asf_multiplier;
1: - u32 serdes_counter;
1: - struct tg3_link_config link_config;
1: - struct tg3_bufmgr_config bufmgr_config;
1: - u32 rx_mode;
1: - u32 tx_mode;
1: - u32 mac_mode;
1: - u32 mi_mode;
1: - u32 misc_host_ctrl;
1: - u32 grc_mode;
1: - u32 grc_local_ctrl;
1: - u32 dma_rwctrl;
1: - u32 coalesce_mode;
1: - u32 pwrmgmt_thresh;
1: - u32 rxptpctl;
1: - u32 pci_chip_rev_id;
1: - u16 pci_cmd;
1: - u8 pci_cacheline_sz;
1: - u8 pci_lat_timer;
1: - int pci_fn;
1: - int msi_cap;
1: - int pcix_cap;
1: - int pcie_readrq;
1: - struct mii_bus *mdio_bus;
1: - int old_link;
1: - u8 phy_addr;
1: - u8 phy_ape_lock;
1: - u32 phy_id;
1: - u32 phy_flags;
1: - u32 led_ctrl;
1: - u32 phy_otp;
1: - u32 setlpicnt;
1: - u8 rss_ind_tbl[128];
1: - char board_part_number[24];
1: - char fw_ver[32];
1: - u32 nic_sram_data_cfg;
1: - u32 pci_clock_ctrl;
1: - struct pci_dev *pdev_peer;
1: - struct tg3_hw_stats *hw_stats;
1: - dma_addr_t stats_mapping;
1: - struct work_struct reset_task;
1: - int nvram_lock_cnt;
1: - u32 nvram_size;
1: - u32 nvram_pagesize;
1: - u32 nvram_jedecnum;
1: - unsigned int irq_max;
1: - unsigned int irq_cnt;
1: - struct ethtool_coalesce coal;
1: - struct ethtool_eee eee;
1: - const char *fw_needed;
1: - const struct firmware *fw;
1: - u32 fw_len;
1: - struct device *hwmon_dev;
1: - bool link_up;
1: - bool pcierr_recovery;
1: - u32 ape_hb;
1: - long unsigned int ape_hb_interval;
1: - long unsigned int ape_hb_jiffies;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + unsigned int irq_sync;
1: + spinlock_t lock;
1: + spinlock_t indirect_lock;
1: + u32 (*read32)(struct tg3 *, u32);
1: + void (*write32)(struct tg3 *, u32, u32);
1: + u32 (*read32_mbox)(struct tg3 *, u32);
1: + void (*write32_mbox)(struct tg3 *, u32, u32);
1: + void *regs;
1: + void *aperegs;
1: + struct net_device *dev;
1: + struct pci_dev *pdev;
1: + u32 coal_now;
1: + u32 msg_enable;
1: + struct ptp_clock_info ptp_info;
1: + struct ptp_clock *ptp_clock;
1: + s64 ptp_adjust;
1: + void (*write32_tx_mbox)(struct tg3 *, u32, u32);
1: + u32 dma_limit;
1: + u32 txq_req;
1: + u32 txq_cnt;
1: + u32 txq_max;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct tg3_napi napi[5];
1: + void (*write32_rx_mbox)(struct tg3 *, u32, u32);
1: + u32 rx_copy_thresh;
1: + u32 rx_std_ring_mask;
1: + u32 rx_jmb_ring_mask;
1: + u32 rx_ret_ring_mask;
1: + u32 rx_pending;
1: + u32 rx_jumbo_pending;
1: + u32 rx_std_max_post;
1: + u32 rx_offset;
1: + u32 rx_pkt_map_sz;
1: + u32 rxq_req;
1: + u32 rxq_cnt;
1: + u32 rxq_max;
1: + bool rx_refill;
1: + long unsigned int rx_dropped;
1: + long unsigned int tx_dropped;
1: + struct rtnl_link_stats64 net_stats_prev;
1: + struct tg3_ethtool_stats estats_prev;
1: + long unsigned int tg3_flags[2];
1: + union {
1: + long unsigned int phy_crc_errors;
1: + long unsigned int last_event_jiffies;
1: + };
1: + struct timer_list timer;
1: + u16 timer_counter;
1: + u16 timer_multiplier;
1: + u32 timer_offset;
1: + u16 asf_counter;
1: + u16 asf_multiplier;
1: + u32 serdes_counter;
1: + struct tg3_link_config link_config;
1: + struct tg3_bufmgr_config bufmgr_config;
1: + u32 rx_mode;
1: + u32 tx_mode;
1: + u32 mac_mode;
1: + u32 mi_mode;
1: + u32 misc_host_ctrl;
1: + u32 grc_mode;
1: + u32 grc_local_ctrl;
1: + u32 dma_rwctrl;
1: + u32 coalesce_mode;
1: + u32 pwrmgmt_thresh;
1: + u32 rxptpctl;
1: + u32 pci_chip_rev_id;
1: + u16 pci_cmd;
1: + u8 pci_cacheline_sz;
1: + u8 pci_lat_timer;
1: + int pci_fn;
1: + int msi_cap;
1: + int pcix_cap;
1: + int pcie_readrq;
1: + struct mii_bus *mdio_bus;
1: + int old_link;
1: + u8 phy_addr;
1: + u8 phy_ape_lock;
1: + u32 phy_id;
1: + u32 phy_flags;
1: + u32 led_ctrl;
1: + u32 phy_otp;
1: + u32 setlpicnt;
1: + u8 rss_ind_tbl[128];
1: + char board_part_number[24];
1: + char fw_ver[32];
1: + u32 nic_sram_data_cfg;
1: + u32 pci_clock_ctrl;
1: + struct pci_dev *pdev_peer;
1: + struct tg3_hw_stats *hw_stats;
1: + dma_addr_t stats_mapping;
1: + struct work_struct reset_task;
1: + int nvram_lock_cnt;
1: + u32 nvram_size;
1: + u32 nvram_pagesize;
1: + u32 nvram_jedecnum;
1: + unsigned int irq_max;
1: + unsigned int irq_cnt;
1: + struct ethtool_coalesce coal;
1: + struct ethtool_eee eee;
1: + const char *fw_needed;
1: + const struct firmware *fw;
1: + u32 fw_len;
1: + struct device *hwmon_dev;
1: + bool link_up;
1: + bool pcierr_recovery;
1: + u32 ape_hb;
1: + long unsigned int ape_hb_interval;
1: + long unsigned int ape_hb_jiffies;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: enum TG3_FLAGS {
1: - TG3_FLAG_TAGGED_STATUS = 0,
1: - TG3_FLAG_TXD_MBOX_HWBUG = 1,
1: - TG3_FLAG_USE_LINKCHG_REG = 2,
1: - TG3_FLAG_ERROR_PROCESSED = 3,
1: - TG3_FLAG_ENABLE_ASF = 4,
1: - TG3_FLAG_ASPM_WORKAROUND = 5,
1: - TG3_FLAG_POLL_SERDES = 6,
1: - TG3_FLAG_POLL_CPMU_LINK = 7,
1: - TG3_FLAG_MBOX_WRITE_REORDER = 8,
1: - TG3_FLAG_PCIX_TARGET_HWBUG = 9,
1: - TG3_FLAG_WOL_SPEED_100MB = 10,
1: - TG3_FLAG_WOL_ENABLE = 11,
1: - TG3_FLAG_EEPROM_WRITE_PROT = 12,
1: - TG3_FLAG_NVRAM = 13,
1: - TG3_FLAG_NVRAM_BUFFERED = 14,
1: - TG3_FLAG_SUPPORT_MSI = 15,
1: - TG3_FLAG_SUPPORT_MSIX = 16,
1: - TG3_FLAG_USING_MSI = 17,
1: - TG3_FLAG_USING_MSIX = 18,
1: - TG3_FLAG_PCIX_MODE = 19,
1: - TG3_FLAG_PCI_HIGH_SPEED = 20,
1: - TG3_FLAG_PCI_32BIT = 21,
1: - TG3_FLAG_SRAM_USE_CONFIG = 22,
1: - TG3_FLAG_TX_RECOVERY_PENDING = 23,
1: - TG3_FLAG_WOL_CAP = 24,
1: - TG3_FLAG_JUMBO_RING_ENABLE = 25,
1: - TG3_FLAG_PAUSE_AUTONEG = 26,
1: - TG3_FLAG_CPMU_PRESENT = 27,
1: - TG3_FLAG_40BIT_DMA_BUG = 28,
1: - TG3_FLAG_BROKEN_CHECKSUMS = 29,
1: - TG3_FLAG_JUMBO_CAPABLE = 30,
1: - TG3_FLAG_CHIP_RESETTING = 31,
1: - TG3_FLAG_INIT_COMPLETE = 32,
1: - TG3_FLAG_MAX_RXPEND_64 = 33,
1: - TG3_FLAG_PCI_EXPRESS = 34,
1: - TG3_FLAG_ASF_NEW_HANDSHAKE = 35,
1: - TG3_FLAG_HW_AUTONEG = 36,
1: - TG3_FLAG_IS_NIC = 37,
1: - TG3_FLAG_FLASH = 38,
1: - TG3_FLAG_FW_TSO = 39,
1: - TG3_FLAG_HW_TSO_1 = 40,
1: - TG3_FLAG_HW_TSO_2 = 41,
1: - TG3_FLAG_HW_TSO_3 = 42,
1: - TG3_FLAG_TSO_CAPABLE = 43,
1: - TG3_FLAG_TSO_BUG = 44,
1: - TG3_FLAG_ICH_WORKAROUND = 45,
1: - TG3_FLAG_1SHOT_MSI = 46,
1: - TG3_FLAG_NO_FWARE_REPORTED = 47,
1: - TG3_FLAG_NO_NVRAM_ADDR_TRANS = 48,
1: - TG3_FLAG_ENABLE_APE = 49,
1: - TG3_FLAG_PROTECTED_NVRAM = 50,
1: - TG3_FLAG_5701_DMA_BUG = 51,
1: - TG3_FLAG_USE_PHYLIB = 52,
1: - TG3_FLAG_MDIOBUS_INITED = 53,
1: - TG3_FLAG_LRG_PROD_RING_CAP = 54,
1: - TG3_FLAG_RGMII_INBAND_DISABLE = 55,
1: - TG3_FLAG_RGMII_EXT_IBND_RX_EN = 56,
1: - TG3_FLAG_RGMII_EXT_IBND_TX_EN = 57,
1: - TG3_FLAG_CLKREQ_BUG = 58,
1: - TG3_FLAG_NO_NVRAM = 59,
1: - TG3_FLAG_ENABLE_RSS = 60,
1: - TG3_FLAG_ENABLE_TSS = 61,
1: - TG3_FLAG_SHORT_DMA_BUG = 62,
1: - TG3_FLAG_USE_JUMBO_BDFLAG = 63,
1: - TG3_FLAG_L1PLLPD_EN = 64,
1: - TG3_FLAG_APE_HAS_NCSI = 65,
1: - TG3_FLAG_TX_TSTAMP_EN = 66,
1: - TG3_FLAG_4K_FIFO_LIMIT = 67,
1: - TG3_FLAG_5719_5720_RDMA_BUG = 68,
1: - TG3_FLAG_RESET_TASK_PENDING = 69,
1: - TG3_FLAG_PTP_CAPABLE = 70,
1: - TG3_FLAG_5705_PLUS = 71,
1: - TG3_FLAG_IS_5788 = 72,
1: - TG3_FLAG_5750_PLUS = 73,
1: - TG3_FLAG_5780_CLASS = 74,
1: - TG3_FLAG_5755_PLUS = 75,
1: - TG3_FLAG_57765_PLUS = 76,
1: - TG3_FLAG_57765_CLASS = 77,
1: - TG3_FLAG_5717_PLUS = 78,
1: - TG3_FLAG_IS_SSB_CORE = 79,
1: - TG3_FLAG_FLUSH_POSTED_WRITES = 80,
1: - TG3_FLAG_ROBOSWITCH = 81,
1: - TG3_FLAG_ONE_DMA_AT_ONCE = 82,
1: - TG3_FLAG_RGMII_MODE = 83,
1: - TG3_FLAG_NUMBER_OF_FLAGS = 84,
1: + TG3_FLAG_TAGGED_STATUS = 0,
1: + TG3_FLAG_TXD_MBOX_HWBUG = 1,
1: + TG3_FLAG_USE_LINKCHG_REG = 2,
1: + TG3_FLAG_ERROR_PROCESSED = 3,
1: + TG3_FLAG_ENABLE_ASF = 4,
1: + TG3_FLAG_ASPM_WORKAROUND = 5,
1: + TG3_FLAG_POLL_SERDES = 6,
1: + TG3_FLAG_POLL_CPMU_LINK = 7,
1: + TG3_FLAG_MBOX_WRITE_REORDER = 8,
1: + TG3_FLAG_PCIX_TARGET_HWBUG = 9,
1: + TG3_FLAG_WOL_SPEED_100MB = 10,
1: + TG3_FLAG_WOL_ENABLE = 11,
1: + TG3_FLAG_EEPROM_WRITE_PROT = 12,
1: + TG3_FLAG_NVRAM = 13,
1: + TG3_FLAG_NVRAM_BUFFERED = 14,
1: + TG3_FLAG_SUPPORT_MSI = 15,
1: + TG3_FLAG_SUPPORT_MSIX = 16,
1: + TG3_FLAG_USING_MSI = 17,
1: + TG3_FLAG_USING_MSIX = 18,
1: + TG3_FLAG_PCIX_MODE = 19,
1: + TG3_FLAG_PCI_HIGH_SPEED = 20,
1: + TG3_FLAG_PCI_32BIT = 21,
1: + TG3_FLAG_SRAM_USE_CONFIG = 22,
1: + TG3_FLAG_TX_RECOVERY_PENDING = 23,
1: + TG3_FLAG_WOL_CAP = 24,
1: + TG3_FLAG_JUMBO_RING_ENABLE = 25,
1: + TG3_FLAG_PAUSE_AUTONEG = 26,
1: + TG3_FLAG_CPMU_PRESENT = 27,
1: + TG3_FLAG_40BIT_DMA_BUG = 28,
1: + TG3_FLAG_BROKEN_CHECKSUMS = 29,
1: + TG3_FLAG_JUMBO_CAPABLE = 30,
1: + TG3_FLAG_CHIP_RESETTING = 31,
1: + TG3_FLAG_INIT_COMPLETE = 32,
1: + TG3_FLAG_MAX_RXPEND_64 = 33,
1: + TG3_FLAG_PCI_EXPRESS = 34,
1: + TG3_FLAG_ASF_NEW_HANDSHAKE = 35,
1: + TG3_FLAG_HW_AUTONEG = 36,
1: + TG3_FLAG_IS_NIC = 37,
1: + TG3_FLAG_FLASH = 38,
1: + TG3_FLAG_FW_TSO = 39,
1: + TG3_FLAG_HW_TSO_1 = 40,
1: + TG3_FLAG_HW_TSO_2 = 41,
1: + TG3_FLAG_HW_TSO_3 = 42,
1: + TG3_FLAG_TSO_CAPABLE = 43,
1: + TG3_FLAG_TSO_BUG = 44,
1: + TG3_FLAG_ICH_WORKAROUND = 45,
1: + TG3_FLAG_1SHOT_MSI = 46,
1: + TG3_FLAG_NO_FWARE_REPORTED = 47,
1: + TG3_FLAG_NO_NVRAM_ADDR_TRANS = 48,
1: + TG3_FLAG_ENABLE_APE = 49,
1: + TG3_FLAG_PROTECTED_NVRAM = 50,
1: + TG3_FLAG_5701_DMA_BUG = 51,
1: + TG3_FLAG_USE_PHYLIB = 52,
1: + TG3_FLAG_MDIOBUS_INITED = 53,
1: + TG3_FLAG_LRG_PROD_RING_CAP = 54,
1: + TG3_FLAG_RGMII_INBAND_DISABLE = 55,
1: + TG3_FLAG_RGMII_EXT_IBND_RX_EN = 56,
1: + TG3_FLAG_RGMII_EXT_IBND_TX_EN = 57,
1: + TG3_FLAG_CLKREQ_BUG = 58,
1: + TG3_FLAG_NO_NVRAM = 59,
1: + TG3_FLAG_ENABLE_RSS = 60,
1: + TG3_FLAG_ENABLE_TSS = 61,
1: + TG3_FLAG_SHORT_DMA_BUG = 62,
1: + TG3_FLAG_USE_JUMBO_BDFLAG = 63,
1: + TG3_FLAG_L1PLLPD_EN = 64,
1: + TG3_FLAG_APE_HAS_NCSI = 65,
1: + TG3_FLAG_TX_TSTAMP_EN = 66,
1: + TG3_FLAG_4K_FIFO_LIMIT = 67,
1: + TG3_FLAG_5719_5720_RDMA_BUG = 68,
1: + TG3_FLAG_RESET_TASK_PENDING = 69,
1: + TG3_FLAG_PTP_CAPABLE = 70,
1: + TG3_FLAG_5705_PLUS = 71,
1: + TG3_FLAG_IS_5788 = 72,
1: + TG3_FLAG_5750_PLUS = 73,
1: + TG3_FLAG_5780_CLASS = 74,
1: + TG3_FLAG_5755_PLUS = 75,
1: + TG3_FLAG_57765_PLUS = 76,
1: + TG3_FLAG_57765_CLASS = 77,
1: + TG3_FLAG_5717_PLUS = 78,
1: + TG3_FLAG_IS_SSB_CORE = 79,
1: + TG3_FLAG_FLUSH_POSTED_WRITES = 80,
1: + TG3_FLAG_ROBOSWITCH = 81,
1: + TG3_FLAG_ONE_DMA_AT_ONCE = 82,
1: + TG3_FLAG_RGMII_MODE = 83,
1: + TG3_FLAG_NUMBER_OF_FLAGS = 84,
1: };
1:
1: struct tg3_firmware_hdr {
1: - __be32 version;
1: - __be32 base_addr;
1: - __be32 len;
1: + __be32 version;
1: + __be32 base_addr;
1: + __be32 len;
1: };
1:
1: struct tg3_fiber_aneginfo {
1: - int state;
1: - u32 flags;
1: - long unsigned int link_time;
1: - long unsigned int cur_time;
1: - u32 ability_match_cfg;
1: - int ability_match_count;
1: - char ability_match;
1: - char idle_match;
1: - char ack_match;
1: - u32 txconfig;
1: - u32 rxconfig;
1: + int state;
1: + u32 flags;
1: + long unsigned int link_time;
1: + long unsigned int cur_time;
1: + u32 ability_match_cfg;
1: + int ability_match_count;
1: + char ability_match;
1: + char idle_match;
1: + char ack_match;
1: + u32 txconfig;
1: + u32 rxconfig;
1: };
1:
1: struct subsys_tbl_ent {
1: - u16 subsys_vendor;
1: - u16 subsys_devid;
1: - u32 phy_id;
1: + u16 subsys_vendor;
1: + u16 subsys_devid;
1: + u32 phy_id;
1: };
1:
1: struct tg3_dev_id {
1: - u32 vendor;
1: - u32 device;
1: + u32 vendor;
1: + u32 device;
1: };
1:
1: struct tg3_dev_id___2 {
1: - u32 vendor;
1: - u32 device;
1: - u32 rev;
1: + u32 vendor;
1: + u32 device;
1: + u32 rev;
1: };
1:
1: struct mem_entry {
1: - u32 offset;
1: - u32 len;
1: + u32 offset;
1: + u32 len;
1: };
1:
1: enum mac {
1: - mac_82557_D100_A = 0,
1: - mac_82557_D100_B = 1,
1: - mac_82557_D100_C = 2,
1: - mac_82558_D101_A4 = 4,
1: - mac_82558_D101_B0 = 5,
1: - mac_82559_D101M = 8,
1: - mac_82559_D101S = 9,
1: - mac_82550_D102 = 12,
1: - mac_82550_D102_C = 13,
1: - mac_82551_E = 14,
1: - mac_82551_F = 15,
1: - mac_82551_10 = 16,
1: - mac_unknown = 255,
1: + mac_82557_D100_A = 0,
1: + mac_82557_D100_B = 1,
1: + mac_82557_D100_C = 2,
1: + mac_82558_D101_A4 = 4,
1: + mac_82558_D101_B0 = 5,
1: + mac_82559_D101M = 8,
1: + mac_82559_D101S = 9,
1: + mac_82550_D102 = 12,
1: + mac_82550_D102_C = 13,
1: + mac_82551_E = 14,
1: + mac_82551_F = 15,
1: + mac_82551_10 = 16,
1: + mac_unknown = 255,
1: };
1:
1: enum phy___3 {
1: - phy_100a = 992,
1: - phy_100c = 55575208,
1: - phy_82555_tx = 22020776,
1: - phy_nsc_tx = 1543512064,
1: - phy_82562_et = 53478056,
1: - phy_82562_em = 52429480,
1: - phy_82562_ek = 51380904,
1: - phy_82562_eh = 24117928,
1: - phy_82552_v = -798949299,
1: - phy_unknown = -1,
1: + phy_100a = 992,
1: + phy_100c = 55575208,
1: + phy_82555_tx = 22020776,
1: + phy_nsc_tx = 1543512064,
1: + phy_82562_et = 53478056,
1: + phy_82562_em = 52429480,
1: + phy_82562_ek = 51380904,
1: + phy_82562_eh = 24117928,
1: + phy_82552_v = -798949299,
1: + phy_unknown = -1,
1: };
1:
1: struct csr {
1: - struct {
1: - u8 status;
1: - u8 stat_ack;
1: - u8 cmd_lo;
1: - u8 cmd_hi;
1: - u32 gen_ptr;
1: - } scb;
1: - u32 port;
1: - u16 flash_ctrl;
1: - u8 eeprom_ctrl_lo;
1: - u8 eeprom_ctrl_hi;
1: - u32 mdi_ctrl;
1: - u32 rx_dma_count;
1: + struct {
1: + u8 status;
1: + u8 stat_ack;
1: + u8 cmd_lo;
1: + u8 cmd_hi;
1: + u32 gen_ptr;
1: + } scb;
1: + u32 port;
1: + u16 flash_ctrl;
1: + u8 eeprom_ctrl_lo;
1: + u8 eeprom_ctrl_hi;
1: + u32 mdi_ctrl;
1: + u32 rx_dma_count;
1: };
1:
1: enum scb_status {
1: - rus_no_res = 8,
1: - rus_ready = 16,
1: - rus_mask = 60,
1: + rus_no_res = 8,
1: + rus_ready = 16,
1: + rus_mask = 60,
1: };
1:
1: enum ru_state {
1: - RU_SUSPENDED = 0,
1: - RU_RUNNING = 1,
1: - RU_UNINITIALIZED = -1,
1: + RU_SUSPENDED = 0,
1: + RU_RUNNING = 1,
1: + RU_UNINITIALIZED = -1,
1: };
1:
1: enum scb_stat_ack {
1: - stat_ack_not_ours = 0,
1: - stat_ack_sw_gen = 4,
1: - stat_ack_rnr = 16,
1: - stat_ack_cu_idle = 32,
1: - stat_ack_frame_rx = 64,
1: - stat_ack_cu_cmd_done = 128,
1: - stat_ack_not_present = 255,
1: - stat_ack_rx = 84,
1: - stat_ack_tx = 160,
1: + stat_ack_not_ours = 0,
1: + stat_ack_sw_gen = 4,
1: + stat_ack_rnr = 16,
1: + stat_ack_cu_idle = 32,
1: + stat_ack_frame_rx = 64,
1: + stat_ack_cu_cmd_done = 128,
1: + stat_ack_not_present = 255,
1: + stat_ack_rx = 84,
1: + stat_ack_tx = 160,
1: };
1:
1: enum scb_cmd_hi {
1: - irq_mask_none = 0,
1: - irq_mask_all = 1,
1: - irq_sw_gen = 2,
1: + irq_mask_none = 0,
1: + irq_mask_all = 1,
1: + irq_sw_gen = 2,
1: };
1:
1: enum scb_cmd_lo {
1: - cuc_nop = 0,
1: - ruc_start = 1,
1: - ruc_load_base = 6,
1: - cuc_start = 16,
1: - cuc_resume = 32,
1: - cuc_dump_addr = 64,
1: - cuc_dump_stats = 80,
1: - cuc_load_base = 96,
1: - cuc_dump_reset = 112,
1: + cuc_nop = 0,
1: + ruc_start = 1,
1: + ruc_load_base = 6,
1: + cuc_start = 16,
1: + cuc_resume = 32,
1: + cuc_dump_addr = 64,
1: + cuc_dump_stats = 80,
1: + cuc_load_base = 96,
1: + cuc_dump_reset = 112,
1: };
1:
1: enum cuc_dump {
1: - cuc_dump_complete = 40965,
1: - cuc_dump_reset_complete = 40967,
1: + cuc_dump_complete = 40965,
1: + cuc_dump_reset_complete = 40967,
1: };
1:
1: enum port___2 {
1: - software_reset = 0,
1: - selftest = 1,
1: - selective_reset = 2,
1: + software_reset = 0,
1: + selftest = 1,
1: + selective_reset = 2,
1: };
1:
1: enum eeprom_ctrl_lo {
1: - eesk = 1,
1: - eecs = 2,
1: - eedi = 4,
1: - eedo = 8,
1: + eesk = 1,
1: + eecs = 2,
1: + eedi = 4,
1: + eedo = 8,
1: };
1:
1: enum mdi_ctrl {
1: - mdi_write = 67108864,
1: - mdi_read = 134217728,
1: - mdi_ready = 268435456,
1: + mdi_write = 67108864,
1: + mdi_read = 134217728,
1: + mdi_ready = 268435456,
1: };
1:
1: enum eeprom_op {
1: - op_write = 5,
1: - op_read = 6,
1: - op_ewds = 16,
1: - op_ewen = 19,
1: + op_write = 5,
1: + op_read = 6,
1: + op_ewds = 16,
1: + op_ewen = 19,
1: };
1:
1: enum eeprom_offsets {
1: - eeprom_cnfg_mdix = 3,
1: - eeprom_phy_iface = 6,
1: - eeprom_id = 10,
1: - eeprom_config_asf = 13,
1: - eeprom_smbus_addr = 144,
1: + eeprom_cnfg_mdix = 3,
1: + eeprom_phy_iface = 6,
1: + eeprom_id = 10,
1: + eeprom_config_asf = 13,
1: + eeprom_smbus_addr = 144,
1: };
1:
1: enum eeprom_cnfg_mdix {
1: - eeprom_mdix_enabled = 128,
1: + eeprom_mdix_enabled = 128,
1: };
1:
1: enum eeprom_phy_iface {
1: - NoSuchPhy = 0,
1: - I82553AB = 1,
1: - I82553C = 2,
1: - I82503 = 3,
1: - DP83840 = 4,
1: - S80C240 = 5,
1: - S80C24 = 6,
1: - I82555 = 7,
1: - DP83840A = 10,
1: + NoSuchPhy = 0,
1: + I82553AB = 1,
1: + I82553C = 2,
1: + I82503 = 3,
1: + DP83840 = 4,
1: + S80C240 = 5,
1: + S80C24 = 6,
1: + I82555 = 7,
1: + DP83840A = 10,
1: };
1:
1: enum eeprom_id {
1: - eeprom_id_wol = 32,
1: + eeprom_id_wol = 32,
1: };
1:
1: enum eeprom_config_asf {
1: - eeprom_asf = 32768,
1: - eeprom_gcl = 16384,
1: + eeprom_asf = 32768,
1: + eeprom_gcl = 16384,
1: };
1:
1: enum cb_status {
1: - cb_complete = 32768,
1: - cb_ok = 8192,
1: + cb_complete = 32768,
1: + cb_ok = 8192,
1: };
1:
1: enum cb_command {
1: - cb_nop = 0,
1: - cb_iaaddr = 1,
1: - cb_config = 2,
1: - cb_multi = 3,
1: - cb_tx = 4,
1: - cb_ucode = 5,
1: - cb_dump = 6,
1: - cb_tx_sf = 8,
1: - cb_tx_nc = 16,
1: - cb_cid = 7936,
1: - cb_i = 8192,
1: - cb_s = 16384,
1: - cb_el = 32768,
1: + cb_nop = 0,
1: + cb_iaaddr = 1,
1: + cb_config = 2,
1: + cb_multi = 3,
1: + cb_tx = 4,
1: + cb_ucode = 5,
1: + cb_dump = 6,
1: + cb_tx_sf = 8,
1: + cb_tx_nc = 16,
1: + cb_cid = 7936,
1: + cb_i = 8192,
1: + cb_s = 16384,
1: + cb_el = 32768,
1: };
1:
1: struct rfd {
1: - __le16 status;
1: - __le16 command;
1: - __le32 link;
1: - __le32 rbd;
1: - __le16 actual_size;
1: - __le16 size;
1: + __le16 status;
1: + __le16 command;
1: + __le32 link;
1: + __le32 rbd;
1: + __le16 actual_size;
1: + __le16 size;
1: };
1:
1: struct rx {
1: - struct rx *next;
1: - struct rx *prev;
1: - struct sk_buff *skb;
1: - dma_addr_t dma_addr;
1: + struct rx *next;
1: + struct rx *prev;
1: + struct sk_buff *skb;
1: + dma_addr_t dma_addr;
1: };
1:
1: struct config {
1: - u8 byte_count: 6;
1: - u8 pad0: 2;
1: - u8 rx_fifo_limit: 4;
1: - u8 tx_fifo_limit: 3;
1: - u8 pad1: 1;
1: - u8 adaptive_ifs;
1: - u8 mwi_enable: 1;
1: - u8 type_enable: 1;
1: - u8 read_align_enable: 1;
1: - u8 term_write_cache_line: 1;
1: - u8 pad3: 4;
1: - u8 rx_dma_max_count: 7;
1: - u8 pad4: 1;
1: - u8 tx_dma_max_count: 7;
1: - u8 dma_max_count_enable: 1;
1: - u8 late_scb_update: 1;
1: - u8 direct_rx_dma: 1;
1: - u8 tno_intr: 1;
1: - u8 cna_intr: 1;
1: - u8 standard_tcb: 1;
1: - u8 standard_stat_counter: 1;
1: - u8 rx_save_overruns: 1;
1: - u8 rx_save_bad_frames: 1;
1: - u8 rx_discard_short_frames: 1;
1: - u8 tx_underrun_retry: 2;
1: - u8 pad7: 2;
1: - u8 rx_extended_rfd: 1;
1: - u8 tx_two_frames_in_fifo: 1;
1: - u8 tx_dynamic_tbd: 1;
1: - u8 mii_mode: 1;
1: - u8 pad8: 6;
1: - u8 csma_disabled: 1;
1: - u8 rx_tcpudp_checksum: 1;
1: - u8 pad9: 3;
1: - u8 vlan_arp_tco: 1;
1: - u8 link_status_wake: 1;
1: - u8 arp_wake: 1;
1: - u8 mcmatch_wake: 1;
1: - u8 pad10: 3;
1: - u8 no_source_addr_insertion: 1;
1: - u8 preamble_length: 2;
1: - u8 loopback: 2;
1: - u8 linear_priority: 3;
1: - u8 pad11: 5;
1: - u8 linear_priority_mode: 1;
1: - u8 pad12: 3;
1: - u8 ifs: 4;
1: - u8 ip_addr_lo;
1: - u8 ip_addr_hi;
1: - u8 promiscuous_mode: 1;
1: - u8 broadcast_disabled: 1;
1: - u8 wait_after_win: 1;
1: - u8 pad15_1: 1;
1: - u8 ignore_ul_bit: 1;
1: - u8 crc_16_bit: 1;
1: - u8 pad15_2: 1;
1: - u8 crs_or_cdt: 1;
1: - u8 fc_delay_lo;
1: - u8 fc_delay_hi;
1: - u8 rx_stripping: 1;
1: - u8 tx_padding: 1;
1: - u8 rx_crc_transfer: 1;
1: - u8 rx_long_ok: 1;
1: - u8 fc_priority_threshold: 3;
1: - u8 pad18: 1;
1: - u8 addr_wake: 1;
1: - u8 magic_packet_disable: 1;
1: - u8 fc_disable: 1;
1: - u8 fc_restop: 1;
1: - u8 fc_restart: 1;
1: - u8 fc_reject: 1;
1: - u8 full_duplex_force: 1;
1: - u8 full_duplex_pin: 1;
1: - u8 pad20_1: 5;
1: - u8 fc_priority_location: 1;
1: - u8 multi_ia: 1;
1: - u8 pad20_2: 1;
1: - u8 pad21_1: 3;
1: - u8 multicast_all: 1;
1: - u8 pad21_2: 4;
1: - u8 rx_d102_mode: 1;
1: - u8 rx_vlan_drop: 1;
1: - u8 pad22: 6;
1: - u8 pad_d102[9];
1: + u8 byte_count : 6;
1: + u8 pad0 : 2;
1: + u8 rx_fifo_limit : 4;
1: + u8 tx_fifo_limit : 3;
1: + u8 pad1 : 1;
1: + u8 adaptive_ifs;
1: + u8 mwi_enable : 1;
1: + u8 type_enable : 1;
1: + u8 read_align_enable : 1;
1: + u8 term_write_cache_line : 1;
1: + u8 pad3 : 4;
1: + u8 rx_dma_max_count : 7;
1: + u8 pad4 : 1;
1: + u8 tx_dma_max_count : 7;
1: + u8 dma_max_count_enable : 1;
1: + u8 late_scb_update : 1;
1: + u8 direct_rx_dma : 1;
1: + u8 tno_intr : 1;
1: + u8 cna_intr : 1;
1: + u8 standard_tcb : 1;
1: + u8 standard_stat_counter : 1;
1: + u8 rx_save_overruns : 1;
1: + u8 rx_save_bad_frames : 1;
1: + u8 rx_discard_short_frames : 1;
1: + u8 tx_underrun_retry : 2;
1: + u8 pad7 : 2;
1: + u8 rx_extended_rfd : 1;
1: + u8 tx_two_frames_in_fifo : 1;
1: + u8 tx_dynamic_tbd : 1;
1: + u8 mii_mode : 1;
1: + u8 pad8 : 6;
1: + u8 csma_disabled : 1;
1: + u8 rx_tcpudp_checksum : 1;
1: + u8 pad9 : 3;
1: + u8 vlan_arp_tco : 1;
1: + u8 link_status_wake : 1;
1: + u8 arp_wake : 1;
1: + u8 mcmatch_wake : 1;
1: + u8 pad10 : 3;
1: + u8 no_source_addr_insertion : 1;
1: + u8 preamble_length : 2;
1: + u8 loopback : 2;
1: + u8 linear_priority : 3;
1: + u8 pad11 : 5;
1: + u8 linear_priority_mode : 1;
1: + u8 pad12 : 3;
1: + u8 ifs : 4;
1: + u8 ip_addr_lo;
1: + u8 ip_addr_hi;
1: + u8 promiscuous_mode : 1;
1: + u8 broadcast_disabled : 1;
1: + u8 wait_after_win : 1;
1: + u8 pad15_1 : 1;
1: + u8 ignore_ul_bit : 1;
1: + u8 crc_16_bit : 1;
1: + u8 pad15_2 : 1;
1: + u8 crs_or_cdt : 1;
1: + u8 fc_delay_lo;
1: + u8 fc_delay_hi;
1: + u8 rx_stripping : 1;
1: + u8 tx_padding : 1;
1: + u8 rx_crc_transfer : 1;
1: + u8 rx_long_ok : 1;
1: + u8 fc_priority_threshold : 3;
1: + u8 pad18 : 1;
1: + u8 addr_wake : 1;
1: + u8 magic_packet_disable : 1;
1: + u8 fc_disable : 1;
1: + u8 fc_restop : 1;
1: + u8 fc_restart : 1;
1: + u8 fc_reject : 1;
1: + u8 full_duplex_force : 1;
1: + u8 full_duplex_pin : 1;
1: + u8 pad20_1 : 5;
1: + u8 fc_priority_location : 1;
1: + u8 multi_ia : 1;
1: + u8 pad20_2 : 1;
1: + u8 pad21_1 : 3;
1: + u8 multicast_all : 1;
1: + u8 pad21_2 : 4;
1: + u8 rx_d102_mode : 1;
1: + u8 rx_vlan_drop : 1;
1: + u8 pad22 : 6;
1: + u8 pad_d102[9];
1: };
1:
1: struct multi {
1: - __le16 count;
1: - u8 addr[386];
1: + __le16 count;
1: + u8 addr[386];
1: };
1:
1: struct cb {
1: - __le16 status;
1: - __le16 command;
1: - __le32 link;
1: - union {
1: - u8 iaaddr[6];
1: - __le32 ucode[134];
1: - struct config config;
1: - struct multi multi;
1: - struct {
1: - u32 tbd_array;
1: - u16 tcb_byte_count;
1: - u8 threshold;
1: - u8 tbd_count;
1: - struct {
1: - __le32 buf_addr;
1: - __le16 size;
1: - u16 eol;
1: - } tbd;
1: - } tcb;
1: - __le32 dump_buffer_addr;
1: - } u;
1: - struct cb *next;
1: - struct cb *prev;
1: - dma_addr_t dma_addr;
1: - struct sk_buff *skb;
1: + __le16 status;
1: + __le16 command;
1: + __le32 link;
1: + union {
1: + u8 iaaddr[6];
1: + __le32 ucode[134];
1: + struct config config;
1: + struct multi multi;
1: + struct {
1: + u32 tbd_array;
1: + u16 tcb_byte_count;
1: + u8 threshold;
1: + u8 tbd_count;
1: + struct {
1: + __le32 buf_addr;
1: + __le16 size;
1: + u16 eol;
1: + } tbd;
1: + } tcb;
1: + __le32 dump_buffer_addr;
1: + } u;
1: + struct cb *next;
1: + struct cb *prev;
1: + dma_addr_t dma_addr;
1: + struct sk_buff *skb;
1: };
1:
1: enum loopback {
1: - lb_none = 0,
1: - lb_mac = 1,
1: - lb_phy = 3,
1: + lb_none = 0,
1: + lb_mac = 1,
1: + lb_phy = 3,
1: };
1:
1: struct stats {
1: - __le32 tx_good_frames;
1: - __le32 tx_max_collisions;
1: - __le32 tx_late_collisions;
1: - __le32 tx_underruns;
1: - __le32 tx_lost_crs;
1: - __le32 tx_deferred;
1: - __le32 tx_single_collisions;
1: - __le32 tx_multiple_collisions;
1: - __le32 tx_total_collisions;
1: - __le32 rx_good_frames;
1: - __le32 rx_crc_errors;
1: - __le32 rx_alignment_errors;
1: - __le32 rx_resource_errors;
1: - __le32 rx_overrun_errors;
1: - __le32 rx_cdt_errors;
1: - __le32 rx_short_frame_errors;
1: - __le32 fc_xmt_pause;
1: - __le32 fc_rcv_pause;
1: - __le32 fc_rcv_unsupported;
1: - __le16 xmt_tco_frames;
1: - __le16 rcv_tco_frames;
1: - __le32 complete;
1: + __le32 tx_good_frames;
1: + __le32 tx_max_collisions;
1: + __le32 tx_late_collisions;
1: + __le32 tx_underruns;
1: + __le32 tx_lost_crs;
1: + __le32 tx_deferred;
1: + __le32 tx_single_collisions;
1: + __le32 tx_multiple_collisions;
1: + __le32 tx_total_collisions;
1: + __le32 rx_good_frames;
1: + __le32 rx_crc_errors;
1: + __le32 rx_alignment_errors;
1: + __le32 rx_resource_errors;
1: + __le32 rx_overrun_errors;
1: + __le32 rx_cdt_errors;
1: + __le32 rx_short_frame_errors;
1: + __le32 fc_xmt_pause;
1: + __le32 fc_rcv_pause;
1: + __le32 fc_rcv_unsupported;
1: + __le16 xmt_tco_frames;
1: + __le16 rcv_tco_frames;
1: + __le32 complete;
1: };
1:
1: struct mem {
1: - struct {
1: - u32 signature;
1: - u32 result;
1: - } selftest;
1: - struct stats stats;
1: - u8 dump_buf[596];
1: + struct {
1: + u32 signature;
1: + u32 result;
1: + } selftest;
1: + struct stats stats;
1: + u8 dump_buf[596];
1: };
1:
1: struct param_range {
1: - u32 min;
1: - u32 max;
1: - u32 count;
1: + u32 min;
1: + u32 max;
1: + u32 count;
1: };
1:
1: struct params {
1: - struct param_range rfds;
1: - struct param_range cbs;
1: + struct param_range rfds;
1: + struct param_range cbs;
1: };
1:
1: struct nic {
1: - u32 msg_enable;
1: - struct net_device *netdev;
1: - struct pci_dev *pdev;
1: - u16 (*mdio_ctrl)(struct nic *, u32, u32, u32, u16);
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct rx *rxs;
1: - struct rx *rx_to_use;
1: - struct rx *rx_to_clean;
1: - struct rfd blank_rfd;
1: - enum ru_state ru_running;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - spinlock_t cb_lock;
1: - spinlock_t cmd_lock;
1: - struct csr *csr;
1: - enum scb_cmd_lo cuc_cmd;
1: - unsigned int cbs_avail;
1: - struct napi_struct napi;
1: - struct cb *cbs;
1: - struct cb *cb_to_use;
1: - struct cb *cb_to_send;
1: - struct cb *cb_to_clean;
1: - __le16 tx_command;
1: - long: 48;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - enum {
1: - ich = 1,
1: - promiscuous = 2,
1: - multicast_all = 4,
1: - wol_magic = 8,
1: - ich_10h_workaround = 16,
1: - } flags;
1: - enum mac mac;
1: - enum phy___3 phy;
1: - struct params params;
1: - struct timer_list watchdog;
1: - struct mii_if_info mii;
1: - struct work_struct tx_timeout_task;
1: - enum loopback loopback;
1: - struct mem *mem;
1: - dma_addr_t dma_addr;
1: - struct dma_pool___2 *cbs_pool;
1: - dma_addr_t cbs_dma_addr;
1: - u8 adaptive_ifs;
1: - u8 tx_threshold;
1: - u32 tx_frames;
1: - u32 tx_collisions;
1: - u32 tx_deferred;
1: - u32 tx_single_collisions;
1: - u32 tx_multiple_collisions;
1: - u32 tx_fc_pause;
1: - u32 tx_tco_frames;
1: - u32 rx_fc_pause;
1: - u32 rx_fc_unsupported;
1: - u32 rx_tco_frames;
1: - u32 rx_short_frame_errors;
1: - u32 rx_over_length_errors;
1: - u16 eeprom_wc;
1: - __le16 eeprom[256];
1: - spinlock_t mdio_lock;
1: - const struct firmware *fw;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + u32 msg_enable;
1: + struct net_device *netdev;
1: + struct pci_dev *pdev;
1: + u16 (*mdio_ctrl)(struct nic *, u32, u32, u32, u16);
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct rx *rxs;
1: + struct rx *rx_to_use;
1: + struct rx *rx_to_clean;
1: + struct rfd blank_rfd;
1: + enum ru_state ru_running;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + spinlock_t cb_lock;
1: + spinlock_t cmd_lock;
1: + struct csr *csr;
1: + enum scb_cmd_lo cuc_cmd;
1: + unsigned int cbs_avail;
1: + struct napi_struct napi;
1: + struct cb *cbs;
1: + struct cb *cb_to_use;
1: + struct cb *cb_to_send;
1: + struct cb *cb_to_clean;
1: + __le16 tx_command;
1: + long : 48;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + enum {
1: + ich = 1,
1: + promiscuous = 2,
1: + multicast_all = 4,
1: + wol_magic = 8,
1: + ich_10h_workaround = 16,
1: + } flags;
1: + enum mac mac;
1: + enum phy___3 phy;
1: + struct params params;
1: + struct timer_list watchdog;
1: + struct mii_if_info mii;
1: + struct work_struct tx_timeout_task;
1: + enum loopback loopback;
1: + struct mem *mem;
1: + dma_addr_t dma_addr;
1: + struct dma_pool___2 *cbs_pool;
1: + dma_addr_t cbs_dma_addr;
1: + u8 adaptive_ifs;
1: + u8 tx_threshold;
1: + u32 tx_frames;
1: + u32 tx_collisions;
1: + u32 tx_deferred;
1: + u32 tx_single_collisions;
1: + u32 tx_multiple_collisions;
1: + u32 tx_fc_pause;
1: + u32 tx_tco_frames;
1: + u32 rx_fc_pause;
1: + u32 rx_fc_unsupported;
1: + u32 rx_tco_frames;
1: + u32 rx_short_frame_errors;
1: + u32 rx_over_length_errors;
1: + u16 eeprom_wc;
1: + __le16 eeprom[256];
1: + spinlock_t mdio_lock;
1: + const struct firmware *fw;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct vlan_hdr {
1: - __be16 h_vlan_TCI;
1: - __be16 h_vlan_encapsulated_proto;
1: + __be16 h_vlan_TCI;
1: + __be16 h_vlan_encapsulated_proto;
1: };
1:
1: struct qdisc_walker {
1: - int stop;
1: - int skip;
1: - int count;
1: - int (*fn)(struct Qdisc *, long unsigned int, struct qdisc_walker *);
1: + int stop;
1: + int skip;
1: + int count;
1: + int (*fn)(struct Qdisc *, long unsigned int, struct qdisc_walker *);
1: };
1:
1: typedef enum {
1: - e1000_undefined = 0,
1: - e1000_82542_rev2_0 = 1,
1: - e1000_82542_rev2_1 = 2,
1: - e1000_82543 = 3,
1: - e1000_82544 = 4,
1: - e1000_82540 = 5,
1: - e1000_82545 = 6,
1: - e1000_82545_rev_3 = 7,
1: - e1000_82546 = 8,
1: - e1000_ce4100 = 9,
1: - e1000_82546_rev_3 = 10,
1: - e1000_82541 = 11,
1: - e1000_82541_rev_2 = 12,
1: - e1000_82547 = 13,
1: - e1000_82547_rev_2 = 14,
1: - e1000_num_macs = 15,
1: + e1000_undefined = 0,
1: + e1000_82542_rev2_0 = 1,
1: + e1000_82542_rev2_1 = 2,
1: + e1000_82543 = 3,
1: + e1000_82544 = 4,
1: + e1000_82540 = 5,
1: + e1000_82545 = 6,
1: + e1000_82545_rev_3 = 7,
1: + e1000_82546 = 8,
1: + e1000_ce4100 = 9,
1: + e1000_82546_rev_3 = 10,
1: + e1000_82541 = 11,
1: + e1000_82541_rev_2 = 12,
1: + e1000_82547 = 13,
1: + e1000_82547_rev_2 = 14,
1: + e1000_num_macs = 15,
1: } e1000_mac_type;
1:
1: typedef enum {
1: - e1000_eeprom_uninitialized = 0,
1: - e1000_eeprom_spi = 1,
1: - e1000_eeprom_microwire = 2,
1: - e1000_eeprom_flash = 3,
1: - e1000_eeprom_none = 4,
1: - e1000_num_eeprom_types = 5,
1: + e1000_eeprom_uninitialized = 0,
1: + e1000_eeprom_spi = 1,
1: + e1000_eeprom_microwire = 2,
1: + e1000_eeprom_flash = 3,
1: + e1000_eeprom_none = 4,
1: + e1000_num_eeprom_types = 5,
1: } e1000_eeprom_type;
1:
1: typedef enum {
1: - e1000_media_type_copper = 0,
1: - e1000_media_type_fiber = 1,
1: - e1000_media_type_internal_serdes = 2,
1: - e1000_num_media_types = 3,
1: + e1000_media_type_copper = 0,
1: + e1000_media_type_fiber = 1,
1: + e1000_media_type_internal_serdes = 2,
1: + e1000_num_media_types = 3,
1: } e1000_media_type;
1:
1: enum {
1: - e1000_10_half = 0,
1: - e1000_10_full = 1,
1: - e1000_100_half = 2,
1: - e1000_100_full = 3,
1: + e1000_10_half = 0,
1: + e1000_10_full = 1,
1: + e1000_100_half = 2,
1: + e1000_100_full = 3,
1: };
1:
1: typedef enum {
1: - E1000_FC_NONE = 0,
1: - E1000_FC_RX_PAUSE = 1,
1: - E1000_FC_TX_PAUSE = 2,
1: - E1000_FC_FULL = 3,
1: - E1000_FC_DEFAULT = 255,
1: + E1000_FC_NONE = 0,
1: + E1000_FC_RX_PAUSE = 1,
1: + E1000_FC_TX_PAUSE = 2,
1: + E1000_FC_FULL = 3,
1: + E1000_FC_DEFAULT = 255,
1: } e1000_fc_type;
1:
1: struct e1000_shadow_ram {
1: - u16 eeprom_word;
1: - bool modified;
1: + u16 eeprom_word;
1: + bool modified;
1: };
1:
1: typedef enum {
1: - e1000_bus_type_unknown = 0,
1: - e1000_bus_type_pci = 1,
1: - e1000_bus_type_pcix = 2,
1: - e1000_bus_type_reserved = 3,
1: + e1000_bus_type_unknown = 0,
1: + e1000_bus_type_pci = 1,
1: + e1000_bus_type_pcix = 2,
1: + e1000_bus_type_reserved = 3,
1: } e1000_bus_type;
1:
1: typedef enum {
1: - e1000_bus_speed_unknown = 0,
1: - e1000_bus_speed_33 = 1,
1: - e1000_bus_speed_66 = 2,
1: - e1000_bus_speed_100 = 3,
1: - e1000_bus_speed_120 = 4,
1: - e1000_bus_speed_133 = 5,
1: - e1000_bus_speed_reserved = 6,
1: + e1000_bus_speed_unknown = 0,
1: + e1000_bus_speed_33 = 1,
1: + e1000_bus_speed_66 = 2,
1: + e1000_bus_speed_100 = 3,
1: + e1000_bus_speed_120 = 4,
1: + e1000_bus_speed_133 = 5,
1: + e1000_bus_speed_reserved = 6,
1: } e1000_bus_speed;
1:
1: typedef enum {
1: - e1000_bus_width_unknown = 0,
1: - e1000_bus_width_32 = 1,
1: - e1000_bus_width_64 = 2,
1: - e1000_bus_width_reserved = 3,
1: + e1000_bus_width_unknown = 0,
1: + e1000_bus_width_32 = 1,
1: + e1000_bus_width_64 = 2,
1: + e1000_bus_width_reserved = 3,
1: } e1000_bus_width;
1:
1: typedef enum {
1: - e1000_cable_length_50 = 0,
1: - e1000_cable_length_50_80 = 1,
1: - e1000_cable_length_80_110 = 2,
1: - e1000_cable_length_110_140 = 3,
1: - e1000_cable_length_140 = 4,
1: - e1000_cable_length_undefined = 255,
1: + e1000_cable_length_50 = 0,
1: + e1000_cable_length_50_80 = 1,
1: + e1000_cable_length_80_110 = 2,
1: + e1000_cable_length_110_140 = 3,
1: + e1000_cable_length_140 = 4,
1: + e1000_cable_length_undefined = 255,
1: } e1000_cable_length;
1:
1: typedef enum {
1: - e1000_10bt_ext_dist_enable_normal = 0,
1: - e1000_10bt_ext_dist_enable_lower = 1,
1: - e1000_10bt_ext_dist_enable_undefined = 255,
1: + e1000_10bt_ext_dist_enable_normal = 0,
1: + e1000_10bt_ext_dist_enable_lower = 1,
1: + e1000_10bt_ext_dist_enable_undefined = 255,
1: } e1000_10bt_ext_dist_enable;
1:
1: typedef enum {
1: - e1000_rev_polarity_normal = 0,
1: - e1000_rev_polarity_reversed = 1,
1: - e1000_rev_polarity_undefined = 255,
1: + e1000_rev_polarity_normal = 0,
1: + e1000_rev_polarity_reversed = 1,
1: + e1000_rev_polarity_undefined = 255,
1: } e1000_rev_polarity;
1:
1: typedef enum {
1: - e1000_downshift_normal = 0,
1: - e1000_downshift_activated = 1,
1: - e1000_downshift_undefined = 255,
1: + e1000_downshift_normal = 0,
1: + e1000_downshift_activated = 1,
1: + e1000_downshift_undefined = 255,
1: } e1000_downshift;
1:
1: typedef enum {
1: - e1000_smart_speed_default = 0,
1: - e1000_smart_speed_on = 1,
1: - e1000_smart_speed_off = 2,
1: + e1000_smart_speed_default = 0,
1: + e1000_smart_speed_on = 1,
1: + e1000_smart_speed_off = 2,
1: } e1000_smart_speed;
1:
1: typedef enum {
1: - e1000_polarity_reversal_enabled = 0,
1: - e1000_polarity_reversal_disabled = 1,
1: - e1000_polarity_reversal_undefined = 255,
1: + e1000_polarity_reversal_enabled = 0,
1: + e1000_polarity_reversal_disabled = 1,
1: + e1000_polarity_reversal_undefined = 255,
1: } e1000_polarity_reversal;
1:
1: typedef enum {
1: - e1000_auto_x_mode_manual_mdi = 0,
1: - e1000_auto_x_mode_manual_mdix = 1,
1: - e1000_auto_x_mode_auto1 = 2,
1: - e1000_auto_x_mode_auto2 = 3,
1: - e1000_auto_x_mode_undefined = 255,
1: + e1000_auto_x_mode_manual_mdi = 0,
1: + e1000_auto_x_mode_manual_mdix = 1,
1: + e1000_auto_x_mode_auto1 = 2,
1: + e1000_auto_x_mode_auto2 = 3,
1: + e1000_auto_x_mode_undefined = 255,
1: } e1000_auto_x_mode;
1:
1: typedef enum {
1: - e1000_1000t_rx_status_not_ok = 0,
1: - e1000_1000t_rx_status_ok = 1,
1: - e1000_1000t_rx_status_undefined = 255,
1: + e1000_1000t_rx_status_not_ok = 0,
1: + e1000_1000t_rx_status_ok = 1,
1: + e1000_1000t_rx_status_undefined = 255,
1: } e1000_1000t_rx_status;
1:
1: typedef enum {
1: - e1000_phy_m88 = 0,
1: - e1000_phy_igp = 1,
1: - e1000_phy_8211 = 2,
1: - e1000_phy_8201 = 3,
1: - e1000_phy_undefined = 255,
1: + e1000_phy_m88 = 0,
1: + e1000_phy_igp = 1,
1: + e1000_phy_8211 = 2,
1: + e1000_phy_8201 = 3,
1: + e1000_phy_undefined = 255,
1: } e1000_phy_type;
1:
1: typedef enum {
1: - e1000_ms_hw_default = 0,
1: - e1000_ms_force_master = 1,
1: - e1000_ms_force_slave = 2,
1: - e1000_ms_auto = 3,
1: + e1000_ms_hw_default = 0,
1: + e1000_ms_force_master = 1,
1: + e1000_ms_force_slave = 2,
1: + e1000_ms_auto = 3,
1: } e1000_ms_type;
1:
1: typedef enum {
1: - e1000_ffe_config_enabled = 0,
1: - e1000_ffe_config_active = 1,
1: - e1000_ffe_config_blocked = 2,
1: + e1000_ffe_config_enabled = 0,
1: + e1000_ffe_config_active = 1,
1: + e1000_ffe_config_blocked = 2,
1: } e1000_ffe_config;
1:
1: typedef enum {
1: - e1000_dsp_config_disabled = 0,
1: - e1000_dsp_config_enabled = 1,
1: - e1000_dsp_config_activated = 2,
1: - e1000_dsp_config_undefined = 255,
1: + e1000_dsp_config_disabled = 0,
1: + e1000_dsp_config_enabled = 1,
1: + e1000_dsp_config_activated = 2,
1: + e1000_dsp_config_undefined = 255,
1: } e1000_dsp_config;
1:
1: struct e1000_phy_info {
1: - e1000_cable_length cable_length;
1: - e1000_10bt_ext_dist_enable extended_10bt_distance;
1: - e1000_rev_polarity cable_polarity;
1: - e1000_downshift downshift;
1: - e1000_polarity_reversal polarity_correction;
1: - e1000_auto_x_mode mdix_mode;
1: - e1000_1000t_rx_status local_rx;
1: - e1000_1000t_rx_status remote_rx;
1: + e1000_cable_length cable_length;
1: + e1000_10bt_ext_dist_enable extended_10bt_distance;
1: + e1000_rev_polarity cable_polarity;
1: + e1000_downshift downshift;
1: + e1000_polarity_reversal polarity_correction;
1: + e1000_auto_x_mode mdix_mode;
1: + e1000_1000t_rx_status local_rx;
1: + e1000_1000t_rx_status remote_rx;
1: };
1:
1: struct e1000_phy_stats {
1: - u32 idle_errors;
1: - u32 receive_errors;
1: + u32 idle_errors;
1: + u32 receive_errors;
1: };
1:
1: struct e1000_eeprom_info {
1: - e1000_eeprom_type type;
1: - u16 word_size;
1: - u16 opcode_bits;
1: - u16 address_bits;
1: - u16 delay_usec;
1: - u16 page_size;
1: + e1000_eeprom_type type;
1: + u16 word_size;
1: + u16 opcode_bits;
1: + u16 address_bits;
1: + u16 delay_usec;
1: + u16 page_size;
1: };
1:
1: struct e1000_host_mng_dhcp_cookie {
1: - u32 signature;
1: - u8 status;
1: - u8 reserved0;
1: - u16 vlan_id;
1: - u32 reserved1;
1: - u16 reserved2;
1: - u8 reserved3;
1: - u8 checksum;
1: + u32 signature;
1: + u8 status;
1: + u8 reserved0;
1: + u16 vlan_id;
1: + u32 reserved1;
1: + u16 reserved2;
1: + u8 reserved3;
1: + u8 checksum;
1: };
1:
1: struct e1000_rx_desc {
1: - __le64 buffer_addr;
1: - __le16 length;
1: - __le16 csum;
1: - u8 status;
1: - u8 errors;
1: - __le16 special;
1: + __le64 buffer_addr;
1: + __le16 length;
1: + __le16 csum;
1: + u8 status;
1: + u8 errors;
1: + __le16 special;
1: };
1:
1: struct e1000_tx_desc {
1: - __le64 buffer_addr;
1: - union {
1: - __le32 data;
1: - struct {
1: - __le16 length;
1: - u8 cso;
1: - u8 cmd;
1: - } flags;
1: - } lower;
1: - union {
1: - __le32 data;
1: - struct {
1: - u8 status;
1: - u8 css;
1: - __le16 special;
1: - } fields;
1: - } upper;
1: + __le64 buffer_addr;
1: + union {
1: + __le32 data;
1: + struct {
1: + __le16 length;
1: + u8 cso;
1: + u8 cmd;
1: + } flags;
1: + } lower;
1: + union {
1: + __le32 data;
1: + struct {
1: + u8 status;
1: + u8 css;
1: + __le16 special;
1: + } fields;
1: + } upper;
1: };
1:
1: struct e1000_context_desc {
1: - union {
1: - __le32 ip_config;
1: - struct {
1: - u8 ipcss;
1: - u8 ipcso;
1: - __le16 ipcse;
1: - } ip_fields;
1: - } lower_setup;
1: - union {
1: - __le32 tcp_config;
1: - struct {
1: - u8 tucss;
1: - u8 tucso;
1: - __le16 tucse;
1: - } tcp_fields;
1: - } upper_setup;
1: - __le32 cmd_and_length;
1: - union {
1: - __le32 data;
1: - struct {
1: - u8 status;
1: - u8 hdr_len;
1: - __le16 mss;
1: - } fields;
1: - } tcp_seg_setup;
1: + union {
1: + __le32 ip_config;
1: + struct {
1: + u8 ipcss;
1: + u8 ipcso;
1: + __le16 ipcse;
1: + } ip_fields;
1: + } lower_setup;
1: + union {
1: + __le32 tcp_config;
1: + struct {
1: + u8 tucss;
1: + u8 tucso;
1: + __le16 tucse;
1: + } tcp_fields;
1: + } upper_setup;
1: + __le32 cmd_and_length;
1: + union {
1: + __le32 data;
1: + struct {
1: + u8 status;
1: + u8 hdr_len;
1: + __le16 mss;
1: + } fields;
1: + } tcp_seg_setup;
1: };
1:
1: struct e1000_hw_stats {
1: - u64 crcerrs;
1: - u64 algnerrc;
1: - u64 symerrs;
1: - u64 rxerrc;
1: - u64 txerrc;
1: - u64 mpc;
1: - u64 scc;
1: - u64 ecol;
1: - u64 mcc;
1: - u64 latecol;
1: - u64 colc;
1: - u64 dc;
1: - u64 tncrs;
1: - u64 sec;
1: - u64 cexterr;
1: - u64 rlec;
1: - u64 xonrxc;
1: - u64 xontxc;
1: - u64 xoffrxc;
1: - u64 xofftxc;
1: - u64 fcruc;
1: - u64 prc64;
1: - u64 prc127;
1: - u64 prc255;
1: - u64 prc511;
1: - u64 prc1023;
1: - u64 prc1522;
1: - u64 gprc;
1: - u64 bprc;
1: - u64 mprc;
1: - u64 gptc;
1: - u64 gorcl;
1: - u64 gorch;
1: - u64 gotcl;
1: - u64 gotch;
1: - u64 rnbc;
1: - u64 ruc;
1: - u64 rfc;
1: - u64 roc;
1: - u64 rlerrc;
1: - u64 rjc;
1: - u64 mgprc;
1: - u64 mgpdc;
1: - u64 mgptc;
1: - u64 torl;
1: - u64 torh;
1: - u64 totl;
1: - u64 toth;
1: - u64 tpr;
1: - u64 tpt;
1: - u64 ptc64;
1: - u64 ptc127;
1: - u64 ptc255;
1: - u64 ptc511;
1: - u64 ptc1023;
1: - u64 ptc1522;
1: - u64 mptc;
1: - u64 bptc;
1: - u64 tsctc;
1: - u64 tsctfc;
1: - u64 iac;
1: - u64 icrxptc;
1: - u64 icrxatc;
1: - u64 ictxptc;
1: - u64 ictxatc;
1: - u64 ictxqec;
1: - u64 ictxqmtc;
1: - u64 icrxdmtc;
1: - u64 icrxoc;
1: + u64 crcerrs;
1: + u64 algnerrc;
1: + u64 symerrs;
1: + u64 rxerrc;
1: + u64 txerrc;
1: + u64 mpc;
1: + u64 scc;
1: + u64 ecol;
1: + u64 mcc;
1: + u64 latecol;
1: + u64 colc;
1: + u64 dc;
1: + u64 tncrs;
1: + u64 sec;
1: + u64 cexterr;
1: + u64 rlec;
1: + u64 xonrxc;
1: + u64 xontxc;
1: + u64 xoffrxc;
1: + u64 xofftxc;
1: + u64 fcruc;
1: + u64 prc64;
1: + u64 prc127;
1: + u64 prc255;
1: + u64 prc511;
1: + u64 prc1023;
1: + u64 prc1522;
1: + u64 gprc;
1: + u64 bprc;
1: + u64 mprc;
1: + u64 gptc;
1: + u64 gorcl;
1: + u64 gorch;
1: + u64 gotcl;
1: + u64 gotch;
1: + u64 rnbc;
1: + u64 ruc;
1: + u64 rfc;
1: + u64 roc;
1: + u64 rlerrc;
1: + u64 rjc;
1: + u64 mgprc;
1: + u64 mgpdc;
1: + u64 mgptc;
1: + u64 torl;
1: + u64 torh;
1: + u64 totl;
1: + u64 toth;
1: + u64 tpr;
1: + u64 tpt;
1: + u64 ptc64;
1: + u64 ptc127;
1: + u64 ptc255;
1: + u64 ptc511;
1: + u64 ptc1023;
1: + u64 ptc1522;
1: + u64 mptc;
1: + u64 bptc;
1: + u64 tsctc;
1: + u64 tsctfc;
1: + u64 iac;
1: + u64 icrxptc;
1: + u64 icrxatc;
1: + u64 ictxptc;
1: + u64 ictxatc;
1: + u64 ictxqec;
1: + u64 ictxqmtc;
1: + u64 icrxdmtc;
1: + u64 icrxoc;
1: };
1:
1: struct e1000_hw {
1: - u8 *hw_addr;
1: - u8 *flash_address;
1: - void *ce4100_gbe_mdio_base_virt;
1: - e1000_mac_type mac_type;
1: - e1000_phy_type phy_type;
1: - u32 phy_init_script;
1: - e1000_media_type media_type;
1: - void *back;
1: - struct e1000_shadow_ram *eeprom_shadow_ram;
1: - u32 flash_bank_size;
1: - u32 flash_base_addr;
1: - e1000_fc_type fc;
1: - e1000_bus_speed bus_speed;
1: - e1000_bus_width bus_width;
1: - e1000_bus_type bus_type;
1: - struct e1000_eeprom_info eeprom;
1: - e1000_ms_type master_slave;
1: - e1000_ms_type original_master_slave;
1: - e1000_ffe_config ffe_config_state;
1: - u32 asf_firmware_present;
1: - u32 eeprom_semaphore_present;
1: - long unsigned int io_base;
1: - u32 phy_id;
1: - u32 phy_revision;
1: - u32 phy_addr;
1: - u32 original_fc;
1: - u32 txcw;
1: - u32 autoneg_failed;
1: - u32 max_frame_size;
1: - u32 min_frame_size;
1: - u32 mc_filter_type;
1: - u32 num_mc_addrs;
1: - u32 collision_delta;
1: - u32 tx_packet_delta;
1: - u32 ledctl_default;
1: - u32 ledctl_mode1;
1: - u32 ledctl_mode2;
1: - bool tx_pkt_filtering;
1: - struct e1000_host_mng_dhcp_cookie mng_cookie;
1: - u16 phy_spd_default;
1: - u16 autoneg_advertised;
1: - u16 pci_cmd_word;
1: - u16 fc_high_water;
1: - u16 fc_low_water;
1: - u16 fc_pause_time;
1: - u16 current_ifs_val;
1: - u16 ifs_min_val;
1: - u16 ifs_max_val;
1: - u16 ifs_step_size;
1: - u16 ifs_ratio;
1: - u16 device_id;
1: - u16 vendor_id;
1: - u16 subsystem_id;
1: - u16 subsystem_vendor_id;
1: - u8 revision_id;
1: - u8 autoneg;
1: - u8 mdix;
1: - u8 forced_speed_duplex;
1: - u8 wait_autoneg_complete;
1: - u8 dma_fairness;
1: - u8 mac_addr[6];
1: - u8 perm_mac_addr[6];
1: - bool disable_polarity_correction;
1: - bool speed_downgraded;
1: - e1000_smart_speed smart_speed;
1: - e1000_dsp_config dsp_config_state;
1: - bool get_link_status;
1: - bool serdes_has_link;
1: - bool tbi_compatibility_en;
1: - bool tbi_compatibility_on;
1: - bool laa_is_present;
1: - bool phy_reset_disable;
1: - bool initialize_hw_bits_disable;
1: - bool fc_send_xon;
1: - bool fc_strict_ieee;
1: - bool report_tx_early;
1: - bool adaptive_ifs;
1: - bool ifs_params_forced;
1: - bool in_ifs_mode;
1: - bool mng_reg_access_disabled;
1: - bool leave_av_bit_off;
1: - bool bad_tx_carr_stats_fd;
1: - bool has_smbus;
1: + u8 *hw_addr;
1: + u8 *flash_address;
1: + void *ce4100_gbe_mdio_base_virt;
1: + e1000_mac_type mac_type;
1: + e1000_phy_type phy_type;
1: + u32 phy_init_script;
1: + e1000_media_type media_type;
1: + void *back;
1: + struct e1000_shadow_ram *eeprom_shadow_ram;
1: + u32 flash_bank_size;
1: + u32 flash_base_addr;
1: + e1000_fc_type fc;
1: + e1000_bus_speed bus_speed;
1: + e1000_bus_width bus_width;
1: + e1000_bus_type bus_type;
1: + struct e1000_eeprom_info eeprom;
1: + e1000_ms_type master_slave;
1: + e1000_ms_type original_master_slave;
1: + e1000_ffe_config ffe_config_state;
1: + u32 asf_firmware_present;
1: + u32 eeprom_semaphore_present;
1: + long unsigned int io_base;
1: + u32 phy_id;
1: + u32 phy_revision;
1: + u32 phy_addr;
1: + u32 original_fc;
1: + u32 txcw;
1: + u32 autoneg_failed;
1: + u32 max_frame_size;
1: + u32 min_frame_size;
1: + u32 mc_filter_type;
1: + u32 num_mc_addrs;
1: + u32 collision_delta;
1: + u32 tx_packet_delta;
1: + u32 ledctl_default;
1: + u32 ledctl_mode1;
1: + u32 ledctl_mode2;
1: + bool tx_pkt_filtering;
1: + struct e1000_host_mng_dhcp_cookie mng_cookie;
1: + u16 phy_spd_default;
1: + u16 autoneg_advertised;
1: + u16 pci_cmd_word;
1: + u16 fc_high_water;
1: + u16 fc_low_water;
1: + u16 fc_pause_time;
1: + u16 current_ifs_val;
1: + u16 ifs_min_val;
1: + u16 ifs_max_val;
1: + u16 ifs_step_size;
1: + u16 ifs_ratio;
1: + u16 device_id;
1: + u16 vendor_id;
1: + u16 subsystem_id;
1: + u16 subsystem_vendor_id;
1: + u8 revision_id;
1: + u8 autoneg;
1: + u8 mdix;
1: + u8 forced_speed_duplex;
1: + u8 wait_autoneg_complete;
1: + u8 dma_fairness;
1: + u8 mac_addr[6];
1: + u8 perm_mac_addr[6];
1: + bool disable_polarity_correction;
1: + bool speed_downgraded;
1: + e1000_smart_speed smart_speed;
1: + e1000_dsp_config dsp_config_state;
1: + bool get_link_status;
1: + bool serdes_has_link;
1: + bool tbi_compatibility_en;
1: + bool tbi_compatibility_on;
1: + bool laa_is_present;
1: + bool phy_reset_disable;
1: + bool initialize_hw_bits_disable;
1: + bool fc_send_xon;
1: + bool fc_strict_ieee;
1: + bool report_tx_early;
1: + bool adaptive_ifs;
1: + bool ifs_params_forced;
1: + bool in_ifs_mode;
1: + bool mng_reg_access_disabled;
1: + bool leave_av_bit_off;
1: + bool bad_tx_carr_stats_fd;
1: + bool has_smbus;
1: };
1:
1: struct e1000_tx_buffer {
1: - struct sk_buff *skb;
1: - dma_addr_t dma;
1: - long unsigned int time_stamp;
1: - u16 length;
1: - u16 next_to_watch;
1: - bool mapped_as_page;
1: - short unsigned int segs;
1: - unsigned int bytecount;
1: + struct sk_buff *skb;
1: + dma_addr_t dma;
1: + long unsigned int time_stamp;
1: + u16 length;
1: + u16 next_to_watch;
1: + bool mapped_as_page;
1: + short unsigned int segs;
1: + unsigned int bytecount;
1: };
1:
1: struct e1000_rx_buffer {
1: - union {
1: - struct page *page;
1: - u8 *data;
1: - } rxbuf;
1: - dma_addr_t dma;
1: + union {
1: + struct page *page;
1: + u8 *data;
1: + } rxbuf;
1: + dma_addr_t dma;
1: };
1:
1: struct e1000_tx_ring {
1: - void *desc;
1: - dma_addr_t dma;
1: - unsigned int size;
1: - unsigned int count;
1: - unsigned int next_to_use;
1: - unsigned int next_to_clean;
1: - struct e1000_tx_buffer *buffer_info;
1: - u16 tdh;
1: - u16 tdt;
1: - bool last_tx_tso;
1: + void *desc;
1: + dma_addr_t dma;
1: + unsigned int size;
1: + unsigned int count;
1: + unsigned int next_to_use;
1: + unsigned int next_to_clean;
1: + struct e1000_tx_buffer *buffer_info;
1: + u16 tdh;
1: + u16 tdt;
1: + bool last_tx_tso;
1: };
1:
1: struct e1000_rx_ring {
1: - void *desc;
1: - dma_addr_t dma;
1: - unsigned int size;
1: - unsigned int count;
1: - unsigned int next_to_use;
1: - unsigned int next_to_clean;
1: - struct e1000_rx_buffer *buffer_info;
1: - struct sk_buff *rx_skb_top;
1: - int cpu;
1: - u16 rdh;
1: - u16 rdt;
1: + void *desc;
1: + dma_addr_t dma;
1: + unsigned int size;
1: + unsigned int count;
1: + unsigned int next_to_use;
1: + unsigned int next_to_clean;
1: + struct e1000_rx_buffer *buffer_info;
1: + struct sk_buff *rx_skb_top;
1: + int cpu;
1: + u16 rdh;
1: + u16 rdt;
1: };
1:
1: struct e1000_adapter {
1: - long unsigned int active_vlans[64];
1: - u16 mng_vlan_id;
1: - u32 bd_number;
1: - u32 rx_buffer_len;
1: - u32 wol;
1: - u32 smartspeed;
1: - u32 en_mng_pt;
1: - u16 link_speed;
1: - u16 link_duplex;
1: - spinlock_t stats_lock;
1: - unsigned int total_tx_bytes;
1: - unsigned int total_tx_packets;
1: - unsigned int total_rx_bytes;
1: - unsigned int total_rx_packets;
1: - u32 itr;
1: - u32 itr_setting;
1: - u16 tx_itr;
1: - u16 rx_itr;
1: - u8 fc_autoneg;
1: - struct e1000_tx_ring *tx_ring;
1: - unsigned int restart_queue;
1: - u32 txd_cmd;
1: - u32 tx_int_delay;
1: - u32 tx_abs_int_delay;
1: - u32 gotcl;
1: - u64 gotcl_old;
1: - u64 tpt_old;
1: - u64 colc_old;
1: - u32 tx_timeout_count;
1: - u32 tx_fifo_head;
1: - u32 tx_head_addr;
1: - u32 tx_fifo_size;
1: - u8 tx_timeout_factor;
1: - atomic_t tx_fifo_stall;
1: - bool pcix_82544;
1: - bool detect_tx_hung;
1: - bool dump_buffers;
1: - bool (*clean_rx)(struct e1000_adapter *, struct e1000_rx_ring *, int *, int);
1: - void (*alloc_rx_buf)(struct e1000_adapter *, struct e1000_rx_ring *, int);
1: - struct e1000_rx_ring *rx_ring;
1: - struct napi_struct napi;
1: - int num_tx_queues;
1: - int num_rx_queues;
1: - u64 hw_csum_err;
1: - u64 hw_csum_good;
1: - u32 alloc_rx_buff_failed;
1: - u32 rx_int_delay;
1: - u32 rx_abs_int_delay;
1: - bool rx_csum;
1: - u32 gorcl;
1: - u64 gorcl_old;
1: - struct net_device *netdev;
1: - struct pci_dev *pdev;
1: - struct e1000_hw hw;
1: - struct e1000_hw_stats stats;
1: - struct e1000_phy_info phy_info;
1: - struct e1000_phy_stats phy_stats;
1: - u32 test_icr;
1: - struct e1000_tx_ring test_tx_ring;
1: - struct e1000_rx_ring test_rx_ring;
1: - int msg_enable;
1: - bool tso_force;
1: - bool smart_power_down;
1: - bool quad_port_a;
1: - long unsigned int flags;
1: - u32 eeprom_wol;
1: - int bars;
1: - int need_ioport;
1: - bool discarding;
1: - struct work_struct reset_task;
1: - struct delayed_work watchdog_task;
1: - struct delayed_work fifo_stall_task;
1: - struct delayed_work phy_info_task;
1: + long unsigned int active_vlans[64];
1: + u16 mng_vlan_id;
1: + u32 bd_number;
1: + u32 rx_buffer_len;
1: + u32 wol;
1: + u32 smartspeed;
1: + u32 en_mng_pt;
1: + u16 link_speed;
1: + u16 link_duplex;
1: + spinlock_t stats_lock;
1: + unsigned int total_tx_bytes;
1: + unsigned int total_tx_packets;
1: + unsigned int total_rx_bytes;
1: + unsigned int total_rx_packets;
1: + u32 itr;
1: + u32 itr_setting;
1: + u16 tx_itr;
1: + u16 rx_itr;
1: + u8 fc_autoneg;
1: + struct e1000_tx_ring *tx_ring;
1: + unsigned int restart_queue;
1: + u32 txd_cmd;
1: + u32 tx_int_delay;
1: + u32 tx_abs_int_delay;
1: + u32 gotcl;
1: + u64 gotcl_old;
1: + u64 tpt_old;
1: + u64 colc_old;
1: + u32 tx_timeout_count;
1: + u32 tx_fifo_head;
1: + u32 tx_head_addr;
1: + u32 tx_fifo_size;
1: + u8 tx_timeout_factor;
1: + atomic_t tx_fifo_stall;
1: + bool pcix_82544;
1: + bool detect_tx_hung;
1: + bool dump_buffers;
1: + bool (*clean_rx)(struct e1000_adapter *, struct e1000_rx_ring *, int *, int);
1: + void (*alloc_rx_buf)(struct e1000_adapter *, struct e1000_rx_ring *, int);
1: + struct e1000_rx_ring *rx_ring;
1: + struct napi_struct napi;
1: + int num_tx_queues;
1: + int num_rx_queues;
1: + u64 hw_csum_err;
1: + u64 hw_csum_good;
1: + u32 alloc_rx_buff_failed;
1: + u32 rx_int_delay;
1: + u32 rx_abs_int_delay;
1: + bool rx_csum;
1: + u32 gorcl;
1: + u64 gorcl_old;
1: + struct net_device *netdev;
1: + struct pci_dev *pdev;
1: + struct e1000_hw hw;
1: + struct e1000_hw_stats stats;
1: + struct e1000_phy_info phy_info;
1: + struct e1000_phy_stats phy_stats;
1: + u32 test_icr;
1: + struct e1000_tx_ring test_tx_ring;
1: + struct e1000_rx_ring test_rx_ring;
1: + int msg_enable;
1: + bool tso_force;
1: + bool smart_power_down;
1: + bool quad_port_a;
1: + long unsigned int flags;
1: + u32 eeprom_wol;
1: + int bars;
1: + int need_ioport;
1: + bool discarding;
1: + struct work_struct reset_task;
1: + struct delayed_work watchdog_task;
1: + struct delayed_work fifo_stall_task;
1: + struct delayed_work phy_info_task;
1: };
1:
1: enum e1000_state_t {
1: - __E1000_TESTING = 0,
1: - __E1000_RESETTING = 1,
1: - __E1000_DOWN = 2,
1: - __E1000_DISABLED = 3,
1: + __E1000_TESTING = 0,
1: + __E1000_RESETTING = 1,
1: + __E1000_DOWN = 2,
1: + __E1000_DISABLED = 3,
1: };
1:
1: enum latency_range {
1: - lowest_latency = 0,
1: - low_latency = 1,
1: - bulk_latency = 2,
1: - latency_invalid = 255,
1: + lowest_latency = 0,
1: + low_latency = 1,
1: + bulk_latency = 2,
1: + latency_invalid = 255,
1: };
1:
1: struct my_u {
1: - __le64 a;
1: - __le64 b;
1: + __le64 a;
1: + __le64 b;
1: };
1:
1: enum {
1: - e1000_igp_cable_length_10 = 10,
1: - e1000_igp_cable_length_20 = 20,
1: - e1000_igp_cable_length_30 = 30,
1: - e1000_igp_cable_length_40 = 40,
1: - e1000_igp_cable_length_50 = 50,
1: - e1000_igp_cable_length_60 = 60,
1: - e1000_igp_cable_length_70 = 70,
1: - e1000_igp_cable_length_80 = 80,
1: - e1000_igp_cable_length_90 = 90,
1: - e1000_igp_cable_length_100 = 100,
1: - e1000_igp_cable_length_110 = 110,
1: - e1000_igp_cable_length_115 = 115,
1: - e1000_igp_cable_length_120 = 120,
1: - e1000_igp_cable_length_130 = 130,
1: - e1000_igp_cable_length_140 = 140,
1: - e1000_igp_cable_length_150 = 150,
1: - e1000_igp_cable_length_160 = 160,
1: - e1000_igp_cable_length_170 = 170,
1: - e1000_igp_cable_length_180 = 180,
1: + e1000_igp_cable_length_10 = 10,
1: + e1000_igp_cable_length_20 = 20,
1: + e1000_igp_cable_length_30 = 30,
1: + e1000_igp_cable_length_40 = 40,
1: + e1000_igp_cable_length_50 = 50,
1: + e1000_igp_cable_length_60 = 60,
1: + e1000_igp_cable_length_70 = 70,
1: + e1000_igp_cable_length_80 = 80,
1: + e1000_igp_cable_length_90 = 90,
1: + e1000_igp_cable_length_100 = 100,
1: + e1000_igp_cable_length_110 = 110,
1: + e1000_igp_cable_length_115 = 115,
1: + e1000_igp_cable_length_120 = 120,
1: + e1000_igp_cable_length_130 = 130,
1: + e1000_igp_cable_length_140 = 140,
1: + e1000_igp_cable_length_150 = 150,
1: + e1000_igp_cable_length_160 = 160,
1: + e1000_igp_cable_length_170 = 170,
1: + e1000_igp_cable_length_180 = 180,
1: };
1:
1: enum {
1: - NETDEV_STATS = 0,
1: - E1000_STATS = 1,
1: + NETDEV_STATS = 0,
1: + E1000_STATS = 1,
1: };
1:
1: struct e1000_stats {
1: - char stat_string[32];
1: - int type;
1: - int sizeof_stat;
1: - int stat_offset;
1: + char stat_string[32];
1: + int type;
1: + int sizeof_stat;
1: + int stat_offset;
1: };
1:
1: struct e1000_opt_list {
1: - int i;
1: - char *str;
1: + int i;
1: + char *str;
1: };
1:
1: struct e1000_option {
1: - enum {
1: - enable_option = 0,
1: - range_option = 1,
1: - list_option = 2,
1: - } type;
1: - const char *name;
1: - const char *err;
1: - int def;
1: - union {
1: - struct {
1: - int min;
1: - int max;
1: - } r;
1: - struct {
1: - int nr;
1: - const struct e1000_opt_list *p;
1: - } l;
1: - } arg;
1: + enum {
1: + enable_option = 0,
1: + range_option = 1,
1: + list_option = 2,
1: + } type;
1: + const char *name;
1: + const char *err;
1: + int def;
1: + union {
1: + struct {
1: + int min;
1: + int max;
1: + } r;
1: + struct {
1: + int nr;
1: + const struct e1000_opt_list *p;
1: + } l;
1: + } arg;
1: };
1:
1: enum e1000_mac_type {
1: - e1000_82571 = 0,
1: - e1000_82572 = 1,
1: - e1000_82573 = 2,
1: - e1000_82574 = 3,
1: - e1000_82583 = 4,
1: - e1000_80003es2lan = 5,
1: - e1000_ich8lan = 6,
1: - e1000_ich9lan = 7,
1: - e1000_ich10lan = 8,
1: - e1000_pchlan = 9,
1: - e1000_pch2lan = 10,
1: - e1000_pch_lpt = 11,
1: - e1000_pch_spt = 12,
1: - e1000_pch_cnp = 13,
1: - e1000_pch_tgp = 14,
1: + e1000_82571 = 0,
1: + e1000_82572 = 1,
1: + e1000_82573 = 2,
1: + e1000_82574 = 3,
1: + e1000_82583 = 4,
1: + e1000_80003es2lan = 5,
1: + e1000_ich8lan = 6,
1: + e1000_ich9lan = 7,
1: + e1000_ich10lan = 8,
1: + e1000_pchlan = 9,
1: + e1000_pch2lan = 10,
1: + e1000_pch_lpt = 11,
1: + e1000_pch_spt = 12,
1: + e1000_pch_cnp = 13,
1: + e1000_pch_tgp = 14,
1: };
1:
1: enum e1000_media_type {
1: - e1000_media_type_unknown = 0,
1: - e1000_media_type_copper___2 = 1,
1: - e1000_media_type_fiber___2 = 2,
1: - e1000_media_type_internal_serdes___2 = 3,
1: - e1000_num_media_types___2 = 4,
1: + e1000_media_type_unknown = 0,
1: + e1000_media_type_copper___2 = 1,
1: + e1000_media_type_fiber___2 = 2,
1: + e1000_media_type_internal_serdes___2 = 3,
1: + e1000_num_media_types___2 = 4,
1: };
1:
1: enum e1000_nvm_type {
1: - e1000_nvm_unknown = 0,
1: - e1000_nvm_none = 1,
1: - e1000_nvm_eeprom_spi = 2,
1: - e1000_nvm_flash_hw = 3,
1: - e1000_nvm_flash_sw = 4,
1: + e1000_nvm_unknown = 0,
1: + e1000_nvm_none = 1,
1: + e1000_nvm_eeprom_spi = 2,
1: + e1000_nvm_flash_hw = 3,
1: + e1000_nvm_flash_sw = 4,
1: };
1:
1: enum e1000_nvm_override {
1: - e1000_nvm_override_none = 0,
1: - e1000_nvm_override_spi_small = 1,
1: - e1000_nvm_override_spi_large = 2,
1: + e1000_nvm_override_none = 0,
1: + e1000_nvm_override_spi_small = 1,
1: + e1000_nvm_override_spi_large = 2,
1: };
1:
1: enum e1000_phy_type {
1: - e1000_phy_unknown = 0,
1: - e1000_phy_none = 1,
1: - e1000_phy_m88___2 = 2,
1: - e1000_phy_igp___2 = 3,
1: - e1000_phy_igp_2 = 4,
1: - e1000_phy_gg82563 = 5,
1: - e1000_phy_igp_3 = 6,
1: - e1000_phy_ife = 7,
1: - e1000_phy_bm = 8,
1: - e1000_phy_82578 = 9,
1: - e1000_phy_82577 = 10,
1: - e1000_phy_82579 = 11,
1: - e1000_phy_i217 = 12,
1: + e1000_phy_unknown = 0,
1: + e1000_phy_none = 1,
1: + e1000_phy_m88___2 = 2,
1: + e1000_phy_igp___2 = 3,
1: + e1000_phy_igp_2 = 4,
1: + e1000_phy_gg82563 = 5,
1: + e1000_phy_igp_3 = 6,
1: + e1000_phy_ife = 7,
1: + e1000_phy_bm = 8,
1: + e1000_phy_82578 = 9,
1: + e1000_phy_82577 = 10,
1: + e1000_phy_82579 = 11,
1: + e1000_phy_i217 = 12,
1: };
1:
1: enum e1000_bus_width {
1: - e1000_bus_width_unknown___2 = 0,
1: - e1000_bus_width_pcie_x1 = 1,
1: - e1000_bus_width_pcie_x2 = 2,
1: - e1000_bus_width_pcie_x4 = 4,
1: - e1000_bus_width_pcie_x8 = 8,
1: - e1000_bus_width_32___2 = 9,
1: - e1000_bus_width_64___2 = 10,
1: - e1000_bus_width_reserved___2 = 11,
1: + e1000_bus_width_unknown___2 = 0,
1: + e1000_bus_width_pcie_x1 = 1,
1: + e1000_bus_width_pcie_x2 = 2,
1: + e1000_bus_width_pcie_x4 = 4,
1: + e1000_bus_width_pcie_x8 = 8,
1: + e1000_bus_width_32___2 = 9,
1: + e1000_bus_width_64___2 = 10,
1: + e1000_bus_width_reserved___2 = 11,
1: };
1:
1: enum e1000_1000t_rx_status {
1: - e1000_1000t_rx_status_not_ok___2 = 0,
1: - e1000_1000t_rx_status_ok___2 = 1,
1: - e1000_1000t_rx_status_undefined___2 = 255,
1: + e1000_1000t_rx_status_not_ok___2 = 0,
1: + e1000_1000t_rx_status_ok___2 = 1,
1: + e1000_1000t_rx_status_undefined___2 = 255,
1: };
1:
1: enum e1000_rev_polarity {
1: - e1000_rev_polarity_normal___2 = 0,
1: - e1000_rev_polarity_reversed___2 = 1,
1: - e1000_rev_polarity_undefined___2 = 255,
1: + e1000_rev_polarity_normal___2 = 0,
1: + e1000_rev_polarity_reversed___2 = 1,
1: + e1000_rev_polarity_undefined___2 = 255,
1: };
1:
1: enum e1000_fc_mode {
1: - e1000_fc_none = 0,
1: - e1000_fc_rx_pause = 1,
1: - e1000_fc_tx_pause = 2,
1: - e1000_fc_full = 3,
1: - e1000_fc_default = 255,
1: + e1000_fc_none = 0,
1: + e1000_fc_rx_pause = 1,
1: + e1000_fc_tx_pause = 2,
1: + e1000_fc_full = 3,
1: + e1000_fc_default = 255,
1: };
1:
1: enum e1000_ms_type {
1: - e1000_ms_hw_default___2 = 0,
1: - e1000_ms_force_master___2 = 1,
1: - e1000_ms_force_slave___2 = 2,
1: - e1000_ms_auto___2 = 3,
1: + e1000_ms_hw_default___2 = 0,
1: + e1000_ms_force_master___2 = 1,
1: + e1000_ms_force_slave___2 = 2,
1: + e1000_ms_auto___2 = 3,
1: };
1:
1: enum e1000_smart_speed {
1: - e1000_smart_speed_default___2 = 0,
1: - e1000_smart_speed_on___2 = 1,
1: - e1000_smart_speed_off___2 = 2,
1: + e1000_smart_speed_default___2 = 0,
1: + e1000_smart_speed_on___2 = 1,
1: + e1000_smart_speed_off___2 = 2,
1: };
1:
1: enum e1000_serdes_link_state {
1: - e1000_serdes_link_down = 0,
1: - e1000_serdes_link_autoneg_progress = 1,
1: - e1000_serdes_link_autoneg_complete = 2,
1: - e1000_serdes_link_forced_up = 3,
1: + e1000_serdes_link_down = 0,
1: + e1000_serdes_link_autoneg_progress = 1,
1: + e1000_serdes_link_autoneg_complete = 2,
1: + e1000_serdes_link_forced_up = 3,
1: };
1:
1: struct e1000_hw_stats___2 {
1: - u64 crcerrs;
1: - u64 algnerrc;
1: - u64 symerrs;
1: - u64 rxerrc;
1: - u64 mpc;
1: - u64 scc;
1: - u64 ecol;
1: - u64 mcc;
1: - u64 latecol;
1: - u64 colc;
1: - u64 dc;
1: - u64 tncrs;
1: - u64 sec;
1: - u64 cexterr;
1: - u64 rlec;
1: - u64 xonrxc;
1: - u64 xontxc;
1: - u64 xoffrxc;
1: - u64 xofftxc;
1: - u64 fcruc;
1: - u64 prc64;
1: - u64 prc127;
1: - u64 prc255;
1: - u64 prc511;
1: - u64 prc1023;
1: - u64 prc1522;
1: - u64 gprc;
1: - u64 bprc;
1: - u64 mprc;
1: - u64 gptc;
1: - u64 gorc;
1: - u64 gotc;
1: - u64 rnbc;
1: - u64 ruc;
1: - u64 rfc;
1: - u64 roc;
1: - u64 rjc;
1: - u64 mgprc;
1: - u64 mgpdc;
1: - u64 mgptc;
1: - u64 tor;
1: - u64 tot;
1: - u64 tpr;
1: - u64 tpt;
1: - u64 ptc64;
1: - u64 ptc127;
1: - u64 ptc255;
1: - u64 ptc511;
1: - u64 ptc1023;
1: - u64 ptc1522;
1: - u64 mptc;
1: - u64 bptc;
1: - u64 tsctc;
1: - u64 tsctfc;
1: - u64 iac;
1: - u64 icrxptc;
1: - u64 icrxatc;
1: - u64 ictxptc;
1: - u64 ictxatc;
1: - u64 ictxqec;
1: - u64 ictxqmtc;
1: - u64 icrxdmtc;
1: - u64 icrxoc;
1: + u64 crcerrs;
1: + u64 algnerrc;
1: + u64 symerrs;
1: + u64 rxerrc;
1: + u64 mpc;
1: + u64 scc;
1: + u64 ecol;
1: + u64 mcc;
1: + u64 latecol;
1: + u64 colc;
1: + u64 dc;
1: + u64 tncrs;
1: + u64 sec;
1: + u64 cexterr;
1: + u64 rlec;
1: + u64 xonrxc;
1: + u64 xontxc;
1: + u64 xoffrxc;
1: + u64 xofftxc;
1: + u64 fcruc;
1: + u64 prc64;
1: + u64 prc127;
1: + u64 prc255;
1: + u64 prc511;
1: + u64 prc1023;
1: + u64 prc1522;
1: + u64 gprc;
1: + u64 bprc;
1: + u64 mprc;
1: + u64 gptc;
1: + u64 gorc;
1: + u64 gotc;
1: + u64 rnbc;
1: + u64 ruc;
1: + u64 rfc;
1: + u64 roc;
1: + u64 rjc;
1: + u64 mgprc;
1: + u64 mgpdc;
1: + u64 mgptc;
1: + u64 tor;
1: + u64 tot;
1: + u64 tpr;
1: + u64 tpt;
1: + u64 ptc64;
1: + u64 ptc127;
1: + u64 ptc255;
1: + u64 ptc511;
1: + u64 ptc1023;
1: + u64 ptc1522;
1: + u64 mptc;
1: + u64 bptc;
1: + u64 tsctc;
1: + u64 tsctfc;
1: + u64 iac;
1: + u64 icrxptc;
1: + u64 icrxatc;
1: + u64 ictxptc;
1: + u64 ictxatc;
1: + u64 ictxqec;
1: + u64 ictxqmtc;
1: + u64 icrxdmtc;
1: + u64 icrxoc;
1: };
1:
1: struct e1000_hw___2;
1:
1: struct e1000_mac_operations {
1: - s32 (*id_led_init)(struct e1000_hw___2 *);
1: - s32 (*blink_led)(struct e1000_hw___2 *);
1: - bool (*check_mng_mode)(struct e1000_hw___2 *);
1: - s32 (*check_for_link)(struct e1000_hw___2 *);
1: - s32 (*cleanup_led)(struct e1000_hw___2 *);
1: - void (*clear_hw_cntrs)(struct e1000_hw___2 *);
1: - void (*clear_vfta)(struct e1000_hw___2 *);
1: - s32 (*get_bus_info)(struct e1000_hw___2 *);
1: - void (*set_lan_id)(struct e1000_hw___2 *);
1: - s32 (*get_link_up_info)(struct e1000_hw___2 *, u16 *, u16 *);
1: - s32 (*led_on)(struct e1000_hw___2 *);
1: - s32 (*led_off)(struct e1000_hw___2 *);
1: - void (*update_mc_addr_list)(struct e1000_hw___2 *, u8 *, u32);
1: - s32 (*reset_hw)(struct e1000_hw___2 *);
1: - s32 (*init_hw)(struct e1000_hw___2 *);
1: - s32 (*setup_link)(struct e1000_hw___2 *);
1: - s32 (*setup_physical_interface)(struct e1000_hw___2 *);
1: - s32 (*setup_led)(struct e1000_hw___2 *);
1: - void (*write_vfta)(struct e1000_hw___2 *, u32, u32);
1: - void (*config_collision_dist)(struct e1000_hw___2 *);
1: - int (*rar_set)(struct e1000_hw___2 *, u8 *, u32);
1: - s32 (*read_mac_addr)(struct e1000_hw___2 *);
1: - u32 (*rar_get_count)(struct e1000_hw___2 *);
1: + s32 (*id_led_init)(struct e1000_hw___2 *);
1: + s32 (*blink_led)(struct e1000_hw___2 *);
1: + bool (*check_mng_mode)(struct e1000_hw___2 *);
1: + s32 (*check_for_link)(struct e1000_hw___2 *);
1: + s32 (*cleanup_led)(struct e1000_hw___2 *);
1: + void (*clear_hw_cntrs)(struct e1000_hw___2 *);
1: + void (*clear_vfta)(struct e1000_hw___2 *);
1: + s32 (*get_bus_info)(struct e1000_hw___2 *);
1: + void (*set_lan_id)(struct e1000_hw___2 *);
1: + s32 (*get_link_up_info)(struct e1000_hw___2 *, u16 *, u16 *);
1: + s32 (*led_on)(struct e1000_hw___2 *);
1: + s32 (*led_off)(struct e1000_hw___2 *);
1: + void (*update_mc_addr_list)(struct e1000_hw___2 *, u8 *, u32);
1: + s32 (*reset_hw)(struct e1000_hw___2 *);
1: + s32 (*init_hw)(struct e1000_hw___2 *);
1: + s32 (*setup_link)(struct e1000_hw___2 *);
1: + s32 (*setup_physical_interface)(struct e1000_hw___2 *);
1: + s32 (*setup_led)(struct e1000_hw___2 *);
1: + void (*write_vfta)(struct e1000_hw___2 *, u32, u32);
1: + void (*config_collision_dist)(struct e1000_hw___2 *);
1: + int (*rar_set)(struct e1000_hw___2 *, u8 *, u32);
1: + s32 (*read_mac_addr)(struct e1000_hw___2 *);
1: + u32 (*rar_get_count)(struct e1000_hw___2 *);
1: };
1:
1: struct e1000_mac_info {
1: - struct e1000_mac_operations ops;
1: - u8 addr[6];
1: - u8 perm_addr[6];
1: - enum e1000_mac_type type;
1: - u32 collision_delta;
1: - u32 ledctl_default;
1: - u32 ledctl_mode1;
1: - u32 ledctl_mode2;
1: - u32 mc_filter_type;
1: - u32 tx_packet_delta;
1: - u32 txcw;
1: - u16 current_ifs_val;
1: - u16 ifs_max_val;
1: - u16 ifs_min_val;
1: - u16 ifs_ratio;
1: - u16 ifs_step_size;
1: - u16 mta_reg_count;
1: - u32 mta_shadow[128];
1: - u16 rar_entry_count;
1: - u8 forced_speed_duplex;
1: - bool adaptive_ifs;
1: - bool has_fwsm;
1: - bool arc_subsystem_valid;
1: - bool autoneg;
1: - bool autoneg_failed;
1: - bool get_link_status;
1: - bool in_ifs_mode;
1: - bool serdes_has_link;
1: - bool tx_pkt_filtering;
1: - enum e1000_serdes_link_state serdes_link_state;
1: + struct e1000_mac_operations ops;
1: + u8 addr[6];
1: + u8 perm_addr[6];
1: + enum e1000_mac_type type;
1: + u32 collision_delta;
1: + u32 ledctl_default;
1: + u32 ledctl_mode1;
1: + u32 ledctl_mode2;
1: + u32 mc_filter_type;
1: + u32 tx_packet_delta;
1: + u32 txcw;
1: + u16 current_ifs_val;
1: + u16 ifs_max_val;
1: + u16 ifs_min_val;
1: + u16 ifs_ratio;
1: + u16 ifs_step_size;
1: + u16 mta_reg_count;
1: + u32 mta_shadow[128];
1: + u16 rar_entry_count;
1: + u8 forced_speed_duplex;
1: + bool adaptive_ifs;
1: + bool has_fwsm;
1: + bool arc_subsystem_valid;
1: + bool autoneg;
1: + bool autoneg_failed;
1: + bool get_link_status;
1: + bool in_ifs_mode;
1: + bool serdes_has_link;
1: + bool tx_pkt_filtering;
1: + enum e1000_serdes_link_state serdes_link_state;
1: };
1:
1: struct e1000_fc_info {
1: - u32 high_water;
1: - u32 low_water;
1: - u16 pause_time;
1: - u16 refresh_time;
1: - bool send_xon;
1: - bool strict_ieee;
1: - enum e1000_fc_mode current_mode;
1: - enum e1000_fc_mode requested_mode;
1: + u32 high_water;
1: + u32 low_water;
1: + u16 pause_time;
1: + u16 refresh_time;
1: + bool send_xon;
1: + bool strict_ieee;
1: + enum e1000_fc_mode current_mode;
1: + enum e1000_fc_mode requested_mode;
1: };
1:
1: struct e1000_phy_operations {
1: - s32 (*acquire)(struct e1000_hw___2 *);
1: - s32 (*cfg_on_link_up)(struct e1000_hw___2 *);
1: - s32 (*check_polarity)(struct e1000_hw___2 *);
1: - s32 (*check_reset_block)(struct e1000_hw___2 *);
1: - s32 (*commit)(struct e1000_hw___2 *);
1: - s32 (*force_speed_duplex)(struct e1000_hw___2 *);
1: - s32 (*get_cfg_done)(struct e1000_hw___2 *);
1: - s32 (*get_cable_length)(struct e1000_hw___2 *);
1: - s32 (*get_info)(struct e1000_hw___2 *);
1: - s32 (*set_page)(struct e1000_hw___2 *, u16);
1: - s32 (*read_reg)(struct e1000_hw___2 *, u32, u16 *);
1: - s32 (*read_reg_locked)(struct e1000_hw___2 *, u32, u16 *);
1: - s32 (*read_reg_page)(struct e1000_hw___2 *, u32, u16 *);
1: - void (*release)(struct e1000_hw___2 *);
1: - s32 (*reset)(struct e1000_hw___2 *);
1: - s32 (*set_d0_lplu_state)(struct e1000_hw___2 *, bool);
1: - s32 (*set_d3_lplu_state)(struct e1000_hw___2 *, bool);
1: - s32 (*write_reg)(struct e1000_hw___2 *, u32, u16);
1: - s32 (*write_reg_locked)(struct e1000_hw___2 *, u32, u16);
1: - s32 (*write_reg_page)(struct e1000_hw___2 *, u32, u16);
1: - void (*power_up)(struct e1000_hw___2 *);
1: - void (*power_down)(struct e1000_hw___2 *);
1: + s32 (*acquire)(struct e1000_hw___2 *);
1: + s32 (*cfg_on_link_up)(struct e1000_hw___2 *);
1: + s32 (*check_polarity)(struct e1000_hw___2 *);
1: + s32 (*check_reset_block)(struct e1000_hw___2 *);
1: + s32 (*commit)(struct e1000_hw___2 *);
1: + s32 (*force_speed_duplex)(struct e1000_hw___2 *);
1: + s32 (*get_cfg_done)(struct e1000_hw___2 *);
1: + s32 (*get_cable_length)(struct e1000_hw___2 *);
1: + s32 (*get_info)(struct e1000_hw___2 *);
1: + s32 (*set_page)(struct e1000_hw___2 *, u16);
1: + s32 (*read_reg)(struct e1000_hw___2 *, u32, u16 *);
1: + s32 (*read_reg_locked)(struct e1000_hw___2 *, u32, u16 *);
1: + s32 (*read_reg_page)(struct e1000_hw___2 *, u32, u16 *);
1: + void (*release)(struct e1000_hw___2 *);
1: + s32 (*reset)(struct e1000_hw___2 *);
1: + s32 (*set_d0_lplu_state)(struct e1000_hw___2 *, bool);
1: + s32 (*set_d3_lplu_state)(struct e1000_hw___2 *, bool);
1: + s32 (*write_reg)(struct e1000_hw___2 *, u32, u16);
1: + s32 (*write_reg_locked)(struct e1000_hw___2 *, u32, u16);
1: + s32 (*write_reg_page)(struct e1000_hw___2 *, u32, u16);
1: + void (*power_up)(struct e1000_hw___2 *);
1: + void (*power_down)(struct e1000_hw___2 *);
1: };
1:
1: struct e1000_phy_info___2 {
1: - struct e1000_phy_operations ops;
1: - enum e1000_phy_type type;
1: - enum e1000_1000t_rx_status local_rx;
1: - enum e1000_1000t_rx_status remote_rx;
1: - enum e1000_ms_type ms_type;
1: - enum e1000_ms_type original_ms_type;
1: - enum e1000_rev_polarity cable_polarity;
1: - enum e1000_smart_speed smart_speed;
1: - u32 addr;
1: - u32 id;
1: - u32 reset_delay_us;
1: - u32 revision;
1: - enum e1000_media_type media_type;
1: - u16 autoneg_advertised;
1: - u16 autoneg_mask;
1: - u16 cable_length;
1: - u16 max_cable_length;
1: - u16 min_cable_length;
1: - u8 mdix;
1: - bool disable_polarity_correction;
1: - bool is_mdix;
1: - bool polarity_correction;
1: - bool speed_downgraded;
1: - bool autoneg_wait_to_complete;
1: + struct e1000_phy_operations ops;
1: + enum e1000_phy_type type;
1: + enum e1000_1000t_rx_status local_rx;
1: + enum e1000_1000t_rx_status remote_rx;
1: + enum e1000_ms_type ms_type;
1: + enum e1000_ms_type original_ms_type;
1: + enum e1000_rev_polarity cable_polarity;
1: + enum e1000_smart_speed smart_speed;
1: + u32 addr;
1: + u32 id;
1: + u32 reset_delay_us;
1: + u32 revision;
1: + enum e1000_media_type media_type;
1: + u16 autoneg_advertised;
1: + u16 autoneg_mask;
1: + u16 cable_length;
1: + u16 max_cable_length;
1: + u16 min_cable_length;
1: + u8 mdix;
1: + bool disable_polarity_correction;
1: + bool is_mdix;
1: + bool polarity_correction;
1: + bool speed_downgraded;
1: + bool autoneg_wait_to_complete;
1: };
1:
1: struct e1000_nvm_operations {
1: - s32 (*acquire)(struct e1000_hw___2 *);
1: - s32 (*read)(struct e1000_hw___2 *, u16, u16, u16 *);
1: - void (*release)(struct e1000_hw___2 *);
1: - void (*reload)(struct e1000_hw___2 *);
1: - s32 (*update)(struct e1000_hw___2 *);
1: - s32 (*valid_led_default)(struct e1000_hw___2 *, u16 *);
1: - s32 (*validate)(struct e1000_hw___2 *);
1: - s32 (*write)(struct e1000_hw___2 *, u16, u16, u16 *);
1: + s32 (*acquire)(struct e1000_hw___2 *);
1: + s32 (*read)(struct e1000_hw___2 *, u16, u16, u16 *);
1: + void (*release)(struct e1000_hw___2 *);
1: + void (*reload)(struct e1000_hw___2 *);
1: + s32 (*update)(struct e1000_hw___2 *);
1: + s32 (*valid_led_default)(struct e1000_hw___2 *, u16 *);
1: + s32 (*validate)(struct e1000_hw___2 *);
1: + s32 (*write)(struct e1000_hw___2 *, u16, u16, u16 *);
1: };
1:
1: struct e1000_nvm_info {
1: - struct e1000_nvm_operations ops;
1: - enum e1000_nvm_type type;
1: - enum e1000_nvm_override override;
1: - u32 flash_bank_size;
1: - u32 flash_base_addr;
1: - u16 word_size;
1: - u16 delay_usec;
1: - u16 address_bits;
1: - u16 opcode_bits;
1: - u16 page_size;
1: + struct e1000_nvm_operations ops;
1: + enum e1000_nvm_type type;
1: + enum e1000_nvm_override override;
1: + u32 flash_bank_size;
1: + u32 flash_base_addr;
1: + u16 word_size;
1: + u16 delay_usec;
1: + u16 address_bits;
1: + u16 opcode_bits;
1: + u16 page_size;
1: };
1:
1: struct e1000_bus_info {
1: - enum e1000_bus_width width;
1: - u16 func;
1: + enum e1000_bus_width width;
1: + u16 func;
1: };
1:
1: struct e1000_dev_spec_82571 {
1: - bool laa_is_present;
1: - u32 smb_counter;
1: + bool laa_is_present;
1: + u32 smb_counter;
1: };
1:
1: struct e1000_dev_spec_80003es2lan {
1: - bool mdic_wa_enable;
1: + bool mdic_wa_enable;
1: };
1:
1: struct e1000_shadow_ram___2 {
1: - u16 value;
1: - bool modified;
1: + u16 value;
1: + bool modified;
1: };
1:
1: enum e1000_ulp_state {
1: - e1000_ulp_state_unknown = 0,
1: - e1000_ulp_state_off = 1,
1: - e1000_ulp_state_on = 2,
1: + e1000_ulp_state_unknown = 0,
1: + e1000_ulp_state_off = 1,
1: + e1000_ulp_state_on = 2,
1: };
1:
1: struct e1000_dev_spec_ich8lan {
1: - bool kmrn_lock_loss_workaround_enabled;
1: - struct e1000_shadow_ram___2 shadow_ram[2048];
1: - bool nvm_k1_enabled;
1: - bool eee_disable;
1: - u16 eee_lp_ability;
1: - enum e1000_ulp_state ulp_state;
1: + bool kmrn_lock_loss_workaround_enabled;
1: + struct e1000_shadow_ram___2 shadow_ram[2048];
1: + bool nvm_k1_enabled;
1: + bool eee_disable;
1: + u16 eee_lp_ability;
1: + enum e1000_ulp_state ulp_state;
1: };
1:
1: struct e1000_adapter___2;
1:
1: struct e1000_hw___2 {
1: - struct e1000_adapter___2 *adapter;
1: - void *hw_addr;
1: - void *flash_address;
1: - struct e1000_mac_info mac;
1: - struct e1000_fc_info fc;
1: - struct e1000_phy_info___2 phy;
1: - struct e1000_nvm_info nvm;
1: - struct e1000_bus_info bus;
1: - struct e1000_host_mng_dhcp_cookie mng_cookie;
1: - union {
1: - struct e1000_dev_spec_82571 e82571;
1: - struct e1000_dev_spec_80003es2lan e80003es2lan;
1: - struct e1000_dev_spec_ich8lan ich8lan;
1: - } dev_spec;
1: + struct e1000_adapter___2 *adapter;
1: + void *hw_addr;
1: + void *flash_address;
1: + struct e1000_mac_info mac;
1: + struct e1000_fc_info fc;
1: + struct e1000_phy_info___2 phy;
1: + struct e1000_nvm_info nvm;
1: + struct e1000_bus_info bus;
1: + struct e1000_host_mng_dhcp_cookie mng_cookie;
1: + union {
1: + struct e1000_dev_spec_82571 e82571;
1: + struct e1000_dev_spec_80003es2lan e80003es2lan;
1: + struct e1000_dev_spec_ich8lan ich8lan;
1: + } dev_spec;
1: };
1:
1: struct e1000_phy_regs {
1: - u16 bmcr;
1: - u16 bmsr;
1: - u16 advertise;
1: - u16 lpa;
1: - u16 expansion;
1: - u16 ctrl1000;
1: - u16 stat1000;
1: - u16 estatus;
1: + u16 bmcr;
1: + u16 bmsr;
1: + u16 advertise;
1: + u16 lpa;
1: + u16 expansion;
1: + u16 ctrl1000;
1: + u16 stat1000;
1: + u16 estatus;
1: };
1:
1: struct e1000_buffer;
1:
1: struct e1000_ring {
1: - struct e1000_adapter___2 *adapter;
1: - void *desc;
1: - dma_addr_t dma;
1: - unsigned int size;
1: - unsigned int count;
1: - u16 next_to_use;
1: - u16 next_to_clean;
1: - void *head;
1: - void *tail;
1: - struct e1000_buffer *buffer_info;
1: - char name[21];
1: - u32 ims_val;
1: - u32 itr_val;
1: - void *itr_register;
1: - int set_itr;
1: - struct sk_buff *rx_skb_top;
1: + struct e1000_adapter___2 *adapter;
1: + void *desc;
1: + dma_addr_t dma;
1: + unsigned int size;
1: + unsigned int count;
1: + u16 next_to_use;
1: + u16 next_to_clean;
1: + void *head;
1: + void *tail;
1: + struct e1000_buffer *buffer_info;
1: + char name[21];
1: + u32 ims_val;
1: + u32 itr_val;
1: + void *itr_register;
1: + int set_itr;
1: + struct sk_buff *rx_skb_top;
1: };
1:
1: struct e1000_info;
1:
1: struct e1000_adapter___2 {
1: - struct timer_list watchdog_timer;
1: - struct timer_list phy_info_timer;
1: - struct timer_list blink_timer;
1: - struct work_struct reset_task;
1: - struct work_struct watchdog_task;
1: - const struct e1000_info *ei;
1: - long unsigned int active_vlans[64];
1: - u32 bd_number;
1: - u32 rx_buffer_len;
1: - u16 mng_vlan_id;
1: - u16 link_speed;
1: - u16 link_duplex;
1: - u16 eeprom_vers;
1: - long unsigned int state;
1: - u32 itr;
1: - u32 itr_setting;
1: - u16 tx_itr;
1: - u16 rx_itr;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct e1000_ring *tx_ring;
1: - u32 tx_fifo_limit;
1: - struct napi_struct napi;
1: - unsigned int uncorr_errors;
1: - unsigned int corr_errors;
1: - unsigned int restart_queue;
1: - u32 txd_cmd;
1: - bool detect_tx_hung;
1: - bool tx_hang_recheck;
1: - u8 tx_timeout_factor;
1: - u32 tx_int_delay;
1: - u32 tx_abs_int_delay;
1: - unsigned int total_tx_bytes;
1: - unsigned int total_tx_packets;
1: - unsigned int total_rx_bytes;
1: - unsigned int total_rx_packets;
1: - u64 tpt_old;
1: - u64 colc_old;
1: - u32 gotc;
1: - u64 gotc_old;
1: - u32 tx_timeout_count;
1: - u32 tx_fifo_head;
1: - u32 tx_head_addr;
1: - u32 tx_fifo_size;
1: - u32 tx_dma_failed;
1: - u32 tx_hwtstamp_timeouts;
1: - u32 tx_hwtstamp_skipped;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - bool (*clean_rx)(struct e1000_ring *, int *, int);
1: - void (*alloc_rx_buf)(struct e1000_ring *, int, gfp_t);
1: - struct e1000_ring *rx_ring;
1: - u32 rx_int_delay;
1: - u32 rx_abs_int_delay;
1: - u64 hw_csum_err;
1: - u64 hw_csum_good;
1: - u64 rx_hdr_split;
1: - u32 gorc;
1: - u64 gorc_old;
1: - u32 alloc_rx_buff_failed;
1: - u32 rx_dma_failed;
1: - u32 rx_hwtstamp_cleared;
1: - unsigned int rx_ps_pages;
1: - u16 rx_ps_bsize0;
1: - u32 max_frame_size;
1: - u32 min_frame_size;
1: - struct net_device *netdev;
1: - struct pci_dev *pdev;
1: - struct e1000_hw___2 hw;
1: - spinlock_t stats64_lock;
1: - struct e1000_hw_stats___2 stats;
1: - struct e1000_phy_info___2 phy_info;
1: - struct e1000_phy_stats phy_stats;
1: - struct e1000_phy_regs phy_regs;
1: - struct e1000_ring test_tx_ring;
1: - struct e1000_ring test_rx_ring;
1: - u32 test_icr;
1: - u32 msg_enable;
1: - unsigned int num_vectors;
1: - struct msix_entry *msix_entries;
1: - int int_mode;
1: - u32 eiac_mask;
1: - u32 eeprom_wol;
1: - u32 wol;
1: - u32 pba;
1: - u32 max_hw_frame_size;
1: - bool fc_autoneg;
1: - unsigned int flags;
1: - unsigned int flags2;
1: - struct work_struct downshift_task;
1: - struct work_struct update_phy_task;
1: - struct work_struct print_hang_task;
1: - int phy_hang_count;
1: - u16 tx_ring_count;
1: - u16 rx_ring_count;
1: - struct hwtstamp_config hwtstamp_config;
1: - struct delayed_work systim_overflow_work;
1: - struct sk_buff *tx_hwtstamp_skb;
1: - long unsigned int tx_hwtstamp_start;
1: - struct work_struct tx_hwtstamp_work;
1: - spinlock_t systim_lock;
1: - struct cyclecounter cc;
1: - struct timecounter tc;
1: - struct ptp_clock *ptp_clock;
1: - struct ptp_clock_info ptp_clock_info;
1: - struct pm_qos_request pm_qos_req;
1: - s32 ptp_delta;
1: - u16 eee_advert;
1: + struct timer_list watchdog_timer;
1: + struct timer_list phy_info_timer;
1: + struct timer_list blink_timer;
1: + struct work_struct reset_task;
1: + struct work_struct watchdog_task;
1: + const struct e1000_info *ei;
1: + long unsigned int active_vlans[64];
1: + u32 bd_number;
1: + u32 rx_buffer_len;
1: + u16 mng_vlan_id;
1: + u16 link_speed;
1: + u16 link_duplex;
1: + u16 eeprom_vers;
1: + long unsigned int state;
1: + u32 itr;
1: + u32 itr_setting;
1: + u16 tx_itr;
1: + u16 rx_itr;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct e1000_ring *tx_ring;
1: + u32 tx_fifo_limit;
1: + struct napi_struct napi;
1: + unsigned int uncorr_errors;
1: + unsigned int corr_errors;
1: + unsigned int restart_queue;
1: + u32 txd_cmd;
1: + bool detect_tx_hung;
1: + bool tx_hang_recheck;
1: + u8 tx_timeout_factor;
1: + u32 tx_int_delay;
1: + u32 tx_abs_int_delay;
1: + unsigned int total_tx_bytes;
1: + unsigned int total_tx_packets;
1: + unsigned int total_rx_bytes;
1: + unsigned int total_rx_packets;
1: + u64 tpt_old;
1: + u64 colc_old;
1: + u32 gotc;
1: + u64 gotc_old;
1: + u32 tx_timeout_count;
1: + u32 tx_fifo_head;
1: + u32 tx_head_addr;
1: + u32 tx_fifo_size;
1: + u32 tx_dma_failed;
1: + u32 tx_hwtstamp_timeouts;
1: + u32 tx_hwtstamp_skipped;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + bool (*clean_rx)(struct e1000_ring *, int *, int);
1: + void (*alloc_rx_buf)(struct e1000_ring *, int, gfp_t);
1: + struct e1000_ring *rx_ring;
1: + u32 rx_int_delay;
1: + u32 rx_abs_int_delay;
1: + u64 hw_csum_err;
1: + u64 hw_csum_good;
1: + u64 rx_hdr_split;
1: + u32 gorc;
1: + u64 gorc_old;
1: + u32 alloc_rx_buff_failed;
1: + u32 rx_dma_failed;
1: + u32 rx_hwtstamp_cleared;
1: + unsigned int rx_ps_pages;
1: + u16 rx_ps_bsize0;
1: + u32 max_frame_size;
1: + u32 min_frame_size;
1: + struct net_device *netdev;
1: + struct pci_dev *pdev;
1: + struct e1000_hw___2 hw;
1: + spinlock_t stats64_lock;
1: + struct e1000_hw_stats___2 stats;
1: + struct e1000_phy_info___2 phy_info;
1: + struct e1000_phy_stats phy_stats;
1: + struct e1000_phy_regs phy_regs;
1: + struct e1000_ring test_tx_ring;
1: + struct e1000_ring test_rx_ring;
1: + u32 test_icr;
1: + u32 msg_enable;
1: + unsigned int num_vectors;
1: + struct msix_entry *msix_entries;
1: + int int_mode;
1: + u32 eiac_mask;
1: + u32 eeprom_wol;
1: + u32 wol;
1: + u32 pba;
1: + u32 max_hw_frame_size;
1: + bool fc_autoneg;
1: + unsigned int flags;
1: + unsigned int flags2;
1: + struct work_struct downshift_task;
1: + struct work_struct update_phy_task;
1: + struct work_struct print_hang_task;
1: + int phy_hang_count;
1: + u16 tx_ring_count;
1: + u16 rx_ring_count;
1: + struct hwtstamp_config hwtstamp_config;
1: + struct delayed_work systim_overflow_work;
1: + struct sk_buff *tx_hwtstamp_skb;
1: + long unsigned int tx_hwtstamp_start;
1: + struct work_struct tx_hwtstamp_work;
1: + spinlock_t systim_lock;
1: + struct cyclecounter cc;
1: + struct timecounter tc;
1: + struct ptp_clock *ptp_clock;
1: + struct ptp_clock_info ptp_clock_info;
1: + struct pm_qos_request pm_qos_req;
1: + s32 ptp_delta;
1: + u16 eee_advert;
1: };
1:
1: struct e1000_ps_page {
1: - struct page *page;
1: - u64 dma;
1: + struct page *page;
1: + u64 dma;
1: };
1:
1: struct e1000_buffer {
1: - dma_addr_t dma;
1: - struct sk_buff *skb;
1: - union {
1: - struct {
1: - long unsigned int time_stamp;
1: - u16 length;
1: - u16 next_to_watch;
1: - unsigned int segs;
1: - unsigned int bytecount;
1: - u16 mapped_as_page;
1: - };
1: - struct {
1: - struct e1000_ps_page *ps_pages;
1: - struct page *page;
1: - };
1: - };
1: + dma_addr_t dma;
1: + struct sk_buff *skb;
1: + union {
1: + struct {
1: + long unsigned int time_stamp;
1: + u16 length;
1: + u16 next_to_watch;
1: + unsigned int segs;
1: + unsigned int bytecount;
1: + u16 mapped_as_page;
1: + };
1: + struct {
1: + struct e1000_ps_page *ps_pages;
1: + struct page *page;
1: + };
1: + };
1: };
1:
1: struct e1000_info {
1: - enum e1000_mac_type mac;
1: - unsigned int flags;
1: - unsigned int flags2;
1: - u32 pba;
1: - u32 max_hw_frame_size;
1: - s32 (*get_variants)(struct e1000_adapter___2 *);
1: - const struct e1000_mac_operations *mac_ops;
1: - const struct e1000_phy_operations *phy_ops;
1: - const struct e1000_nvm_operations *nvm_ops;
1: + enum e1000_mac_type mac;
1: + unsigned int flags;
1: + unsigned int flags2;
1: + u32 pba;
1: + u32 max_hw_frame_size;
1: + s32 (*get_variants)(struct e1000_adapter___2 *);
1: + const struct e1000_mac_operations *mac_ops;
1: + const struct e1000_phy_operations *phy_ops;
1: + const struct e1000_nvm_operations *nvm_ops;
1: };
1:
1: enum e1000_state_t___2 {
1: - __E1000_TESTING___2 = 0,
1: - __E1000_RESETTING___2 = 1,
1: - __E1000_ACCESS_SHARED_RESOURCE = 2,
1: - __E1000_DOWN___2 = 3,
1: + __E1000_TESTING___2 = 0,
1: + __E1000_RESETTING___2 = 1,
1: + __E1000_ACCESS_SHARED_RESOURCE = 2,
1: + __E1000_DOWN___2 = 3,
1: };
1:
1: struct ich8_hsfsts {
1: - u16 flcdone: 1;
1: - u16 flcerr: 1;
1: - u16 dael: 1;
1: - u16 berasesz: 2;
1: - u16 flcinprog: 1;
1: - u16 reserved1: 2;
1: - u16 reserved2: 6;
1: - u16 fldesvalid: 1;
1: - u16 flockdn: 1;
1: + u16 flcdone : 1;
1: + u16 flcerr : 1;
1: + u16 dael : 1;
1: + u16 berasesz : 2;
1: + u16 flcinprog : 1;
1: + u16 reserved1 : 2;
1: + u16 reserved2 : 6;
1: + u16 fldesvalid : 1;
1: + u16 flockdn : 1;
1: };
1:
1: union ich8_hws_flash_status {
1: - struct ich8_hsfsts hsf_status;
1: - u16 regval;
1: + struct ich8_hsfsts hsf_status;
1: + u16 regval;
1: };
1:
1: struct ich8_hsflctl {
1: - u16 flcgo: 1;
1: - u16 flcycle: 2;
1: - u16 reserved: 5;
1: - u16 fldbcount: 2;
1: - u16 flockdn: 6;
1: + u16 flcgo : 1;
1: + u16 flcycle : 2;
1: + u16 reserved : 5;
1: + u16 fldbcount : 2;
1: + u16 flockdn : 6;
1: };
1:
1: union ich8_hws_flash_ctrl {
1: - struct ich8_hsflctl hsf_ctrl;
1: - u16 regval;
1: + struct ich8_hsflctl hsf_ctrl;
1: + u16 regval;
1: };
1:
1: struct ich8_pr {
1: - u32 base: 13;
1: - u32 reserved1: 2;
1: - u32 rpe: 1;
1: - u32 limit: 13;
1: - u32 reserved2: 2;
1: - u32 wpe: 1;
1: + u32 base : 13;
1: + u32 reserved1 : 2;
1: + u32 rpe : 1;
1: + u32 limit : 13;
1: + u32 reserved2 : 2;
1: + u32 wpe : 1;
1: };
1:
1: union ich8_flash_protected_range {
1: - struct ich8_pr range;
1: - u32 regval;
1: + struct ich8_pr range;
1: + u32 regval;
1: };
1:
1: struct e1000_host_mng_command_header {
1: - u8 command_id;
1: - u8 checksum;
1: - u16 reserved1;
1: - u16 reserved2;
1: - u16 command_length;
1: + u8 command_id;
1: + u8 checksum;
1: + u16 reserved1;
1: + u16 reserved2;
1: + u16 command_length;
1: };
1:
1: enum e1000_mng_mode {
1: - e1000_mng_mode_none = 0,
1: - e1000_mng_mode_asf = 1,
1: - e1000_mng_mode_pt = 2,
1: - e1000_mng_mode_ipmi = 3,
1: - e1000_mng_mode_host_if_only = 4,
1: + e1000_mng_mode_none = 0,
1: + e1000_mng_mode_asf = 1,
1: + e1000_mng_mode_pt = 2,
1: + e1000_mng_mode_ipmi = 3,
1: + e1000_mng_mode_host_if_only = 4,
1: };
1:
1: struct e1000_option___2 {
1: - enum {
1: - enable_option___2 = 0,
1: - range_option___2 = 1,
1: - list_option___2 = 2,
1: - } type;
1: - const char *name;
1: - const char *err;
1: - int def;
1: - union {
1: - struct {
1: - int min;
1: - int max;
1: - } r;
1: - struct {
1: - int nr;
1: - struct e1000_opt_list *p;
1: - } l;
1: - } arg;
1: + enum {
1: + enable_option___2 = 0,
1: + range_option___2 = 1,
1: + list_option___2 = 2,
1: + } type;
1: + const char *name;
1: + const char *err;
1: + int def;
1: + union {
1: + struct {
1: + int min;
1: + int max;
1: + } r;
1: + struct {
1: + int nr;
1: + struct e1000_opt_list *p;
1: + } l;
1: + } arg;
1: };
1:
1: union e1000_rx_desc_extended {
1: - struct {
1: - __le64 buffer_addr;
1: - __le64 reserved;
1: - } read;
1: - struct {
1: - struct {
1: - __le32 mrq;
1: - union {
1: - __le32 rss;
1: - struct {
1: - __le16 ip_id;
1: - __le16 csum;
1: - } csum_ip;
1: - } hi_dword;
1: - } lower;
1: - struct {
1: - __le32 status_error;
1: - __le16 length;
1: - __le16 vlan;
1: - } upper;
1: - } wb;
1: + struct {
1: + __le64 buffer_addr;
1: + __le64 reserved;
1: + } read;
1: + struct {
1: + struct {
1: + __le32 mrq;
1: + union {
1: + __le32 rss;
1: + struct {
1: + __le16 ip_id;
1: + __le16 csum;
1: + } csum_ip;
1: + } hi_dword;
1: + } lower;
1: + struct {
1: + __le32 status_error;
1: + __le16 length;
1: + __le16 vlan;
1: + } upper;
1: + } wb;
1: };
1:
1: enum pkt_hash_types {
1: - PKT_HASH_TYPE_NONE = 0,
1: - PKT_HASH_TYPE_L2 = 1,
1: - PKT_HASH_TYPE_L3 = 2,
1: - PKT_HASH_TYPE_L4 = 3,
1: + PKT_HASH_TYPE_NONE = 0,
1: + PKT_HASH_TYPE_L2 = 1,
1: + PKT_HASH_TYPE_L3 = 2,
1: + PKT_HASH_TYPE_L4 = 3,
1: };
1:
1: union e1000_rx_desc_packet_split {
1: - struct {
1: - __le64 buffer_addr[4];
1: - } read;
1: - struct {
1: - struct {
1: - __le32 mrq;
1: - union {
1: - __le32 rss;
1: - struct {
1: - __le16 ip_id;
1: - __le16 csum;
1: - } csum_ip;
1: - } hi_dword;
1: - } lower;
1: - struct {
1: - __le32 status_error;
1: - __le16 length0;
1: - __le16 vlan;
1: - } middle;
1: - struct {
1: - __le16 header_status;
1: - __le16 length[3];
1: - } upper;
1: - __le64 reserved;
1: - } wb;
1: + struct {
1: + __le64 buffer_addr[4];
1: + } read;
1: + struct {
1: + struct {
1: + __le32 mrq;
1: + union {
1: + __le32 rss;
1: + struct {
1: + __le16 ip_id;
1: + __le16 csum;
1: + } csum_ip;
1: + } hi_dword;
1: + } lower;
1: + struct {
1: + __le32 status_error;
1: + __le16 length0;
1: + __le16 vlan;
1: + } middle;
1: + struct {
1: + __le16 header_status;
1: + __le16 length[3];
1: + } upper;
1: + __le64 reserved;
1: + } wb;
1: };
1:
1: enum e1000_boards {
1: - board_82571 = 0,
1: - board_82572 = 1,
1: - board_82573 = 2,
1: - board_82574 = 3,
1: - board_82583 = 4,
1: - board_80003es2lan = 5,
1: - board_ich8lan = 6,
1: - board_ich9lan = 7,
1: - board_ich10lan = 8,
1: - board_pchlan = 9,
1: - board_pch2lan = 10,
1: - board_pch_lpt = 11,
1: - board_pch_spt = 12,
1: - board_pch_cnp = 13,
1: + board_82571 = 0,
1: + board_82572 = 1,
1: + board_82573 = 2,
1: + board_82574 = 3,
1: + board_82583 = 4,
1: + board_80003es2lan = 5,
1: + board_ich8lan = 6,
1: + board_ich9lan = 7,
1: + board_ich10lan = 8,
1: + board_pchlan = 9,
1: + board_pch2lan = 10,
1: + board_pch_lpt = 11,
1: + board_pch_spt = 12,
1: + board_pch_cnp = 13,
1: };
1:
1: struct e1000_reg_info {
1: - u32 ofs;
1: - char *name;
1: + u32 ofs;
1: + char *name;
1: };
1:
1: struct my_u0 {
1: - __le64 a;
1: - __le64 b;
1: + __le64 a;
1: + __le64 b;
1: };
1:
1: struct my_u1 {
1: - __le64 a;
1: - __le64 b;
1: - __le64 c;
1: - __le64 d;
1: + __le64 a;
1: + __le64 b;
1: + __le64 c;
1: + __le64 d;
1: };
1:
1: enum {
1: - PCI_DEV_REG1 = 64,
1: - PCI_DEV_REG2 = 68,
1: - PCI_DEV_STATUS = 124,
1: - PCI_DEV_REG3 = 128,
1: - PCI_DEV_REG4 = 132,
1: - PCI_DEV_REG5 = 136,
1: - PCI_CFG_REG_0 = 144,
1: - PCI_CFG_REG_1 = 148,
1: - PSM_CONFIG_REG0 = 152,
1: - PSM_CONFIG_REG1 = 156,
1: - PSM_CONFIG_REG2 = 352,
1: - PSM_CONFIG_REG3 = 356,
1: - PSM_CONFIG_REG4 = 360,
1: - PCI_LDO_CTRL = 188,
1: + PCI_DEV_REG1 = 64,
1: + PCI_DEV_REG2 = 68,
1: + PCI_DEV_STATUS = 124,
1: + PCI_DEV_REG3 = 128,
1: + PCI_DEV_REG4 = 132,
1: + PCI_DEV_REG5 = 136,
1: + PCI_CFG_REG_0 = 144,
1: + PCI_CFG_REG_1 = 148,
1: + PSM_CONFIG_REG0 = 152,
1: + PSM_CONFIG_REG1 = 156,
1: + PSM_CONFIG_REG2 = 352,
1: + PSM_CONFIG_REG3 = 356,
1: + PSM_CONFIG_REG4 = 360,
1: + PCI_LDO_CTRL = 188,
1: };
1:
1: enum pci_dev_reg_1 {
1: - PCI_Y2_PIG_ENA = -2147483648,
1: - PCI_Y2_DLL_DIS = 1073741824,
1: - PCI_SW_PWR_ON_RST = 1073741824,
1: - PCI_Y2_PHY2_COMA = 536870912,
1: - PCI_Y2_PHY1_COMA = 268435456,
1: - PCI_Y2_PHY2_POWD = 134217728,
1: - PCI_Y2_PHY1_POWD = 67108864,
1: - PCI_Y2_PME_LEGACY = 32768,
1: - PCI_PHY_LNK_TIM_MSK = 768,
1: - PCI_ENA_L1_EVENT = 128,
1: - PCI_ENA_GPHY_LNK = 64,
1: - PCI_FORCE_PEX_L1 = 32,
1: + PCI_Y2_PIG_ENA = -2147483648,
1: + PCI_Y2_DLL_DIS = 1073741824,
1: + PCI_SW_PWR_ON_RST = 1073741824,
1: + PCI_Y2_PHY2_COMA = 536870912,
1: + PCI_Y2_PHY1_COMA = 268435456,
1: + PCI_Y2_PHY2_POWD = 134217728,
1: + PCI_Y2_PHY1_POWD = 67108864,
1: + PCI_Y2_PME_LEGACY = 32768,
1: + PCI_PHY_LNK_TIM_MSK = 768,
1: + PCI_ENA_L1_EVENT = 128,
1: + PCI_ENA_GPHY_LNK = 64,
1: + PCI_FORCE_PEX_L1 = 32,
1: };
1:
1: enum pci_dev_reg_2 {
1: - PCI_VPD_WR_THR = -16777216,
1: - PCI_DEV_SEL = 16646144,
1: - PCI_VPD_ROM_SZ = 114688,
1: - PCI_PATCH_DIR = 3840,
1: - PCI_EXT_PATCHS = 240,
1: - PCI_EN_DUMMY_RD = 8,
1: - PCI_REV_DESC = 4,
1: - PCI_USEDATA64 = 1,
1: + PCI_VPD_WR_THR = -16777216,
1: + PCI_DEV_SEL = 16646144,
1: + PCI_VPD_ROM_SZ = 114688,
1: + PCI_PATCH_DIR = 3840,
1: + PCI_EXT_PATCHS = 240,
1: + PCI_EN_DUMMY_RD = 8,
1: + PCI_REV_DESC = 4,
1: + PCI_USEDATA64 = 1,
1: };
1:
1: enum pci_dev_reg_3 {
1: - P_CLK_ASF_REGS_DIS = 262144,
1: - P_CLK_COR_REGS_D0_DIS = 131072,
1: - P_CLK_MACSEC_DIS = 131072,
1: - P_CLK_PCI_REGS_D0_DIS = 65536,
1: - P_CLK_COR_YTB_ARB_DIS = 32768,
1: - P_CLK_MAC_LNK1_D3_DIS = 16384,
1: - P_CLK_COR_LNK1_D0_DIS = 8192,
1: - P_CLK_MAC_LNK1_D0_DIS = 4096,
1: - P_CLK_COR_LNK1_D3_DIS = 2048,
1: - P_CLK_PCI_MST_ARB_DIS = 1024,
1: - P_CLK_COR_REGS_D3_DIS = 512,
1: - P_CLK_PCI_REGS_D3_DIS = 256,
1: - P_CLK_REF_LNK1_GM_DIS = 128,
1: - P_CLK_COR_LNK1_GM_DIS = 64,
1: - P_CLK_PCI_COMMON_DIS = 32,
1: - P_CLK_COR_COMMON_DIS = 16,
1: - P_CLK_PCI_LNK1_BMU_DIS = 8,
1: - P_CLK_COR_LNK1_BMU_DIS = 4,
1: - P_CLK_PCI_LNK1_BIU_DIS = 2,
1: - P_CLK_COR_LNK1_BIU_DIS = 1,
1: - PCIE_OUR3_WOL_D3_COLD_SET = 406548,
1: + P_CLK_ASF_REGS_DIS = 262144,
1: + P_CLK_COR_REGS_D0_DIS = 131072,
1: + P_CLK_MACSEC_DIS = 131072,
1: + P_CLK_PCI_REGS_D0_DIS = 65536,
1: + P_CLK_COR_YTB_ARB_DIS = 32768,
1: + P_CLK_MAC_LNK1_D3_DIS = 16384,
1: + P_CLK_COR_LNK1_D0_DIS = 8192,
1: + P_CLK_MAC_LNK1_D0_DIS = 4096,
1: + P_CLK_COR_LNK1_D3_DIS = 2048,
1: + P_CLK_PCI_MST_ARB_DIS = 1024,
1: + P_CLK_COR_REGS_D3_DIS = 512,
1: + P_CLK_PCI_REGS_D3_DIS = 256,
1: + P_CLK_REF_LNK1_GM_DIS = 128,
1: + P_CLK_COR_LNK1_GM_DIS = 64,
1: + P_CLK_PCI_COMMON_DIS = 32,
1: + P_CLK_COR_COMMON_DIS = 16,
1: + P_CLK_PCI_LNK1_BMU_DIS = 8,
1: + P_CLK_COR_LNK1_BMU_DIS = 4,
1: + P_CLK_PCI_LNK1_BIU_DIS = 2,
1: + P_CLK_COR_LNK1_BIU_DIS = 1,
1: + PCIE_OUR3_WOL_D3_COLD_SET = 406548,
1: };
1:
1: enum pci_dev_reg_4 {
1: - P_PEX_LTSSM_STAT_MSK = -33554432,
1: - P_PEX_LTSSM_L1_STAT = 52,
1: - P_PEX_LTSSM_DET_STAT = 1,
1: - P_TIMER_VALUE_MSK = 16711680,
1: - P_FORCE_ASPM_REQUEST = 32768,
1: - P_ASPM_GPHY_LINK_DOWN = 16384,
1: - P_ASPM_INT_FIFO_EMPTY = 8192,
1: - P_ASPM_CLKRUN_REQUEST = 4096,
1: - P_ASPM_FORCE_CLKREQ_ENA = 16,
1: - P_ASPM_CLKREQ_PAD_CTL = 8,
1: - P_ASPM_A1_MODE_SELECT = 4,
1: - P_CLK_GATE_PEX_UNIT_ENA = 2,
1: - P_CLK_GATE_ROOT_COR_ENA = 1,
1: - P_ASPM_CONTROL_MSK = 61440,
1: + P_PEX_LTSSM_STAT_MSK = -33554432,
1: + P_PEX_LTSSM_L1_STAT = 52,
1: + P_PEX_LTSSM_DET_STAT = 1,
1: + P_TIMER_VALUE_MSK = 16711680,
1: + P_FORCE_ASPM_REQUEST = 32768,
1: + P_ASPM_GPHY_LINK_DOWN = 16384,
1: + P_ASPM_INT_FIFO_EMPTY = 8192,
1: + P_ASPM_CLKRUN_REQUEST = 4096,
1: + P_ASPM_FORCE_CLKREQ_ENA = 16,
1: + P_ASPM_CLKREQ_PAD_CTL = 8,
1: + P_ASPM_A1_MODE_SELECT = 4,
1: + P_CLK_GATE_PEX_UNIT_ENA = 2,
1: + P_CLK_GATE_ROOT_COR_ENA = 1,
1: + P_ASPM_CONTROL_MSK = 61440,
1: };
1:
1: enum pci_dev_reg_5 {
1: - P_CTL_DIV_CORE_CLK_ENA = -2147483648,
1: - P_CTL_SRESET_VMAIN_AV = 1073741824,
1: - P_CTL_BYPASS_VMAIN_AV = 536870912,
1: - P_CTL_TIM_VMAIN_AV_MSK = 402653184,
1: - P_REL_PCIE_RST_DE_ASS = 67108864,
1: - P_REL_GPHY_REC_PACKET = 33554432,
1: - P_REL_INT_FIFO_N_EMPTY = 16777216,
1: - P_REL_MAIN_PWR_AVAIL = 8388608,
1: - P_REL_CLKRUN_REQ_REL = 4194304,
1: - P_REL_PCIE_RESET_ASS = 2097152,
1: - P_REL_PME_ASSERTED = 1048576,
1: - P_REL_PCIE_EXIT_L1_ST = 524288,
1: - P_REL_LOADER_NOT_FIN = 262144,
1: - P_REL_PCIE_RX_EX_IDLE = 131072,
1: - P_REL_GPHY_LINK_UP = 65536,
1: - P_GAT_PCIE_RST_ASSERTED = 1024,
1: - P_GAT_GPHY_N_REC_PACKET = 512,
1: - P_GAT_INT_FIFO_EMPTY = 256,
1: - P_GAT_MAIN_PWR_N_AVAIL = 128,
1: - P_GAT_CLKRUN_REQ_REL = 64,
1: - P_GAT_PCIE_RESET_ASS = 32,
1: - P_GAT_PME_DE_ASSERTED = 16,
1: - P_GAT_PCIE_ENTER_L1_ST = 8,
1: - P_GAT_LOADER_FINISHED = 4,
1: - P_GAT_PCIE_RX_EL_IDLE = 2,
1: - P_GAT_GPHY_LINK_DOWN = 1,
1: - PCIE_OUR5_EVENT_CLK_D3_SET = 50987786,
1: -};
1: -
1: -enum {
1: - PSM_CONFIG_REG4_TIMER_PHY_LINK_DETECT_MSK = 240,
1: - PSM_CONFIG_REG4_TIMER_PHY_LINK_DETECT_BASE = 4,
1: - PSM_CONFIG_REG4_DEBUG_TIMER = 2,
1: - PSM_CONFIG_REG4_RST_PHY_LINK_DETECT = 1,
1: + P_CTL_DIV_CORE_CLK_ENA = -2147483648,
1: + P_CTL_SRESET_VMAIN_AV = 1073741824,
1: + P_CTL_BYPASS_VMAIN_AV = 536870912,
1: + P_CTL_TIM_VMAIN_AV_MSK = 402653184,
1: + P_REL_PCIE_RST_DE_ASS = 67108864,
1: + P_REL_GPHY_REC_PACKET = 33554432,
1: + P_REL_INT_FIFO_N_EMPTY = 16777216,
1: + P_REL_MAIN_PWR_AVAIL = 8388608,
1: + P_REL_CLKRUN_REQ_REL = 4194304,
1: + P_REL_PCIE_RESET_ASS = 2097152,
1: + P_REL_PME_ASSERTED = 1048576,
1: + P_REL_PCIE_EXIT_L1_ST = 524288,
1: + P_REL_LOADER_NOT_FIN = 262144,
1: + P_REL_PCIE_RX_EX_IDLE = 131072,
1: + P_REL_GPHY_LINK_UP = 65536,
1: + P_GAT_PCIE_RST_ASSERTED = 1024,
1: + P_GAT_GPHY_N_REC_PACKET = 512,
1: + P_GAT_INT_FIFO_EMPTY = 256,
1: + P_GAT_MAIN_PWR_N_AVAIL = 128,
1: + P_GAT_CLKRUN_REQ_REL = 64,
1: + P_GAT_PCIE_RESET_ASS = 32,
1: + P_GAT_PME_DE_ASSERTED = 16,
1: + P_GAT_PCIE_ENTER_L1_ST = 8,
1: + P_GAT_LOADER_FINISHED = 4,
1: + P_GAT_PCIE_RX_EL_IDLE = 2,
1: + P_GAT_GPHY_LINK_DOWN = 1,
1: + PCIE_OUR5_EVENT_CLK_D3_SET = 50987786,
1: +};
1: +
1: +enum {
1: + PSM_CONFIG_REG4_TIMER_PHY_LINK_DETECT_MSK = 240,
1: + PSM_CONFIG_REG4_TIMER_PHY_LINK_DETECT_BASE = 4,
1: + PSM_CONFIG_REG4_DEBUG_TIMER = 2,
1: + PSM_CONFIG_REG4_RST_PHY_LINK_DETECT = 1,
1: };
1:
1: enum csr_regs {
1: - B0_RAP = 0,
1: - B0_CTST = 4,
1: - B0_POWER_CTRL = 7,
1: - B0_ISRC = 8,
1: - B0_IMSK = 12,
1: - B0_HWE_ISRC = 16,
1: - B0_HWE_IMSK = 20,
1: - B0_Y2_SP_ISRC2 = 28,
1: - B0_Y2_SP_ISRC3 = 32,
1: - B0_Y2_SP_EISR = 36,
1: - B0_Y2_SP_LISR = 40,
1: - B0_Y2_SP_ICR = 44,
1: - B2_MAC_1 = 256,
1: - B2_MAC_2 = 264,
1: - B2_MAC_3 = 272,
1: - B2_CONN_TYP = 280,
1: - B2_PMD_TYP = 281,
1: - B2_MAC_CFG = 282,
1: - B2_CHIP_ID = 283,
1: - B2_E_0 = 284,
1: - B2_Y2_CLK_GATE = 285,
1: - B2_Y2_HW_RES = 286,
1: - B2_E_3 = 287,
1: - B2_Y2_CLK_CTRL = 288,
1: - B2_TI_INI = 304,
1: - B2_TI_VAL = 308,
1: - B2_TI_CTRL = 312,
1: - B2_TI_TEST = 313,
1: - B2_TST_CTRL1 = 344,
1: - B2_TST_CTRL2 = 345,
1: - B2_GP_IO = 348,
1: - B2_I2C_CTRL = 352,
1: - B2_I2C_DATA = 356,
1: - B2_I2C_IRQ = 360,
1: - B2_I2C_SW = 364,
1: - Y2_PEX_PHY_DATA = 368,
1: - Y2_PEX_PHY_ADDR = 370,
1: - B3_RAM_ADDR = 384,
1: - B3_RAM_DATA_LO = 388,
1: - B3_RAM_DATA_HI = 392,
1: - B3_RI_WTO_R1 = 400,
1: - B3_RI_WTO_XA1 = 401,
1: - B3_RI_WTO_XS1 = 402,
1: - B3_RI_RTO_R1 = 403,
1: - B3_RI_RTO_XA1 = 404,
1: - B3_RI_RTO_XS1 = 405,
1: - B3_RI_WTO_R2 = 406,
1: - B3_RI_WTO_XA2 = 407,
1: - B3_RI_WTO_XS2 = 408,
1: - B3_RI_RTO_R2 = 409,
1: - B3_RI_RTO_XA2 = 410,
1: - B3_RI_RTO_XS2 = 411,
1: - B3_RI_TO_VAL = 412,
1: - B3_RI_CTRL = 416,
1: - B3_RI_TEST = 418,
1: - B3_MA_TOINI_RX1 = 432,
1: - B3_MA_TOINI_RX2 = 433,
1: - B3_MA_TOINI_TX1 = 434,
1: - B3_MA_TOINI_TX2 = 435,
1: - B3_MA_TOVAL_RX1 = 436,
1: - B3_MA_TOVAL_RX2 = 437,
1: - B3_MA_TOVAL_TX1 = 438,
1: - B3_MA_TOVAL_TX2 = 439,
1: - B3_MA_TO_CTRL = 440,
1: - B3_MA_TO_TEST = 442,
1: - B3_MA_RCINI_RX1 = 448,
1: - B3_MA_RCINI_RX2 = 449,
1: - B3_MA_RCINI_TX1 = 450,
1: - B3_MA_RCINI_TX2 = 451,
1: - B3_MA_RCVAL_RX1 = 452,
1: - B3_MA_RCVAL_RX2 = 453,
1: - B3_MA_RCVAL_TX1 = 454,
1: - B3_MA_RCVAL_TX2 = 455,
1: - B3_MA_RC_CTRL = 456,
1: - B3_MA_RC_TEST = 458,
1: - B3_PA_TOINI_RX1 = 464,
1: - B3_PA_TOINI_RX2 = 468,
1: - B3_PA_TOINI_TX1 = 472,
1: - B3_PA_TOINI_TX2 = 476,
1: - B3_PA_TOVAL_RX1 = 480,
1: - B3_PA_TOVAL_RX2 = 484,
1: - B3_PA_TOVAL_TX1 = 488,
1: - B3_PA_TOVAL_TX2 = 492,
1: - B3_PA_CTRL = 496,
1: - B3_PA_TEST = 498,
1: - Y2_CFG_SPC = 7168,
1: - Y2_CFG_AER = 7424,
1: -};
1: -
1: -enum {
1: - Y2_VMAIN_AVAIL = 131072,
1: - Y2_VAUX_AVAIL = 65536,
1: - Y2_HW_WOL_ON = 32768,
1: - Y2_HW_WOL_OFF = 16384,
1: - Y2_ASF_ENABLE = 8192,
1: - Y2_ASF_DISABLE = 4096,
1: - Y2_CLK_RUN_ENA = 2048,
1: - Y2_CLK_RUN_DIS = 1024,
1: - Y2_LED_STAT_ON = 512,
1: - Y2_LED_STAT_OFF = 256,
1: - CS_ST_SW_IRQ = 128,
1: - CS_CL_SW_IRQ = 64,
1: - CS_STOP_DONE = 32,
1: - CS_STOP_MAST = 16,
1: - CS_MRST_CLR = 8,
1: - CS_MRST_SET = 4,
1: - CS_RST_CLR = 2,
1: - CS_RST_SET = 1,
1: -};
1: -
1: -enum {
1: - PC_VAUX_ENA = 128,
1: - PC_VAUX_DIS = 64,
1: - PC_VCC_ENA = 32,
1: - PC_VCC_DIS = 16,
1: - PC_VAUX_ON = 8,
1: - PC_VAUX_OFF = 4,
1: - PC_VCC_ON = 2,
1: - PC_VCC_OFF = 1,
1: -};
1: -
1: -enum {
1: - Y2_IS_HW_ERR = -2147483648,
1: - Y2_IS_STAT_BMU = 1073741824,
1: - Y2_IS_ASF = 536870912,
1: - Y2_IS_CPU_TO = 268435456,
1: - Y2_IS_POLL_CHK = 134217728,
1: - Y2_IS_TWSI_RDY = 67108864,
1: - Y2_IS_IRQ_SW = 33554432,
1: - Y2_IS_TIMINT = 16777216,
1: - Y2_IS_IRQ_PHY2 = 4096,
1: - Y2_IS_IRQ_MAC2 = 2048,
1: - Y2_IS_CHK_RX2 = 1024,
1: - Y2_IS_CHK_TXS2 = 512,
1: - Y2_IS_CHK_TXA2 = 256,
1: - Y2_IS_PSM_ACK = 128,
1: - Y2_IS_PTP_TIST = 64,
1: - Y2_IS_PHY_QLNK = 32,
1: - Y2_IS_IRQ_PHY1 = 16,
1: - Y2_IS_IRQ_MAC1 = 8,
1: - Y2_IS_CHK_RX1 = 4,
1: - Y2_IS_CHK_TXS1 = 2,
1: - Y2_IS_CHK_TXA1 = 1,
1: - Y2_IS_BASE = -1073741824,
1: - Y2_IS_PORT_1 = 29,
1: - Y2_IS_PORT_2 = 7424,
1: - Y2_IS_ERROR = -2147480307,
1: -};
1: -
1: -enum {
1: - Y2_IS_TIST_OV = 536870912,
1: - Y2_IS_SENSOR = 268435456,
1: - Y2_IS_MST_ERR = 134217728,
1: - Y2_IS_IRQ_STAT = 67108864,
1: - Y2_IS_PCI_EXP = 33554432,
1: - Y2_IS_PCI_NEXP = 16777216,
1: - Y2_IS_PAR_RD2 = 8192,
1: - Y2_IS_PAR_WR2 = 4096,
1: - Y2_IS_PAR_MAC2 = 2048,
1: - Y2_IS_PAR_RX2 = 1024,
1: - Y2_IS_TCP_TXS2 = 512,
1: - Y2_IS_TCP_TXA2 = 256,
1: - Y2_IS_PAR_RD1 = 32,
1: - Y2_IS_PAR_WR1 = 16,
1: - Y2_IS_PAR_MAC1 = 8,
1: - Y2_IS_PAR_RX1 = 4,
1: - Y2_IS_TCP_TXS1 = 2,
1: - Y2_IS_TCP_TXA1 = 1,
1: - Y2_HWE_L1_MASK = 63,
1: - Y2_HWE_L2_MASK = 16128,
1: - Y2_HWE_ALL_MASK = 738213695,
1: -};
1: -
1: -enum {
1: - DPT_START = 2,
1: - DPT_STOP = 1,
1: -};
1: -
1: -enum {
1: - TST_FRC_DPERR_MR = 128,
1: - TST_FRC_DPERR_MW = 64,
1: - TST_FRC_DPERR_TR = 32,
1: - TST_FRC_DPERR_TW = 16,
1: - TST_FRC_APERR_M = 8,
1: - TST_FRC_APERR_T = 4,
1: - TST_CFG_WRITE_ON = 2,
1: - TST_CFG_WRITE_OFF = 1,
1: -};
1: -
1: -enum {
1: - GLB_GPIO_CLK_DEB_ENA = -2147483648,
1: - GLB_GPIO_CLK_DBG_MSK = 1006632960,
1: - GLB_GPIO_INT_RST_D3_DIS = 32768,
1: - GLB_GPIO_LED_PAD_SPEED_UP = 16384,
1: - GLB_GPIO_STAT_RACE_DIS = 8192,
1: - GLB_GPIO_TEST_SEL_MSK = 6144,
1: - GLB_GPIO_TEST_SEL_BASE = 2048,
1: - GLB_GPIO_RAND_ENA = 1024,
1: - GLB_GPIO_RAND_BIT_1 = 512,
1: -};
1: -
1: -enum {
1: - CFG_CHIP_R_MSK = 240,
1: - CFG_DIS_M2_CLK = 2,
1: - CFG_SNG_MAC = 1,
1: -};
1: -
1: -enum {
1: - CHIP_ID_YUKON_XL = 179,
1: - CHIP_ID_YUKON_EC_U = 180,
1: - CHIP_ID_YUKON_EX = 181,
1: - CHIP_ID_YUKON_EC = 182,
1: - CHIP_ID_YUKON_FE = 183,
1: - CHIP_ID_YUKON_FE_P = 184,
1: - CHIP_ID_YUKON_SUPR = 185,
1: - CHIP_ID_YUKON_UL_2 = 186,
1: - CHIP_ID_YUKON_OPT = 188,
1: - CHIP_ID_YUKON_PRM = 189,
1: - CHIP_ID_YUKON_OP_2 = 190,
1: + B0_RAP = 0,
1: + B0_CTST = 4,
1: + B0_POWER_CTRL = 7,
1: + B0_ISRC = 8,
1: + B0_IMSK = 12,
1: + B0_HWE_ISRC = 16,
1: + B0_HWE_IMSK = 20,
1: + B0_Y2_SP_ISRC2 = 28,
1: + B0_Y2_SP_ISRC3 = 32,
1: + B0_Y2_SP_EISR = 36,
1: + B0_Y2_SP_LISR = 40,
1: + B0_Y2_SP_ICR = 44,
1: + B2_MAC_1 = 256,
1: + B2_MAC_2 = 264,
1: + B2_MAC_3 = 272,
1: + B2_CONN_TYP = 280,
1: + B2_PMD_TYP = 281,
1: + B2_MAC_CFG = 282,
1: + B2_CHIP_ID = 283,
1: + B2_E_0 = 284,
1: + B2_Y2_CLK_GATE = 285,
1: + B2_Y2_HW_RES = 286,
1: + B2_E_3 = 287,
1: + B2_Y2_CLK_CTRL = 288,
1: + B2_TI_INI = 304,
1: + B2_TI_VAL = 308,
1: + B2_TI_CTRL = 312,
1: + B2_TI_TEST = 313,
1: + B2_TST_CTRL1 = 344,
1: + B2_TST_CTRL2 = 345,
1: + B2_GP_IO = 348,
1: + B2_I2C_CTRL = 352,
1: + B2_I2C_DATA = 356,
1: + B2_I2C_IRQ = 360,
1: + B2_I2C_SW = 364,
1: + Y2_PEX_PHY_DATA = 368,
1: + Y2_PEX_PHY_ADDR = 370,
1: + B3_RAM_ADDR = 384,
1: + B3_RAM_DATA_LO = 388,
1: + B3_RAM_DATA_HI = 392,
1: + B3_RI_WTO_R1 = 400,
1: + B3_RI_WTO_XA1 = 401,
1: + B3_RI_WTO_XS1 = 402,
1: + B3_RI_RTO_R1 = 403,
1: + B3_RI_RTO_XA1 = 404,
1: + B3_RI_RTO_XS1 = 405,
1: + B3_RI_WTO_R2 = 406,
1: + B3_RI_WTO_XA2 = 407,
1: + B3_RI_WTO_XS2 = 408,
1: + B3_RI_RTO_R2 = 409,
1: + B3_RI_RTO_XA2 = 410,
1: + B3_RI_RTO_XS2 = 411,
1: + B3_RI_TO_VAL = 412,
1: + B3_RI_CTRL = 416,
1: + B3_RI_TEST = 418,
1: + B3_MA_TOINI_RX1 = 432,
1: + B3_MA_TOINI_RX2 = 433,
1: + B3_MA_TOINI_TX1 = 434,
1: + B3_MA_TOINI_TX2 = 435,
1: + B3_MA_TOVAL_RX1 = 436,
1: + B3_MA_TOVAL_RX2 = 437,
1: + B3_MA_TOVAL_TX1 = 438,
1: + B3_MA_TOVAL_TX2 = 439,
1: + B3_MA_TO_CTRL = 440,
1: + B3_MA_TO_TEST = 442,
1: + B3_MA_RCINI_RX1 = 448,
1: + B3_MA_RCINI_RX2 = 449,
1: + B3_MA_RCINI_TX1 = 450,
1: + B3_MA_RCINI_TX2 = 451,
1: + B3_MA_RCVAL_RX1 = 452,
1: + B3_MA_RCVAL_RX2 = 453,
1: + B3_MA_RCVAL_TX1 = 454,
1: + B3_MA_RCVAL_TX2 = 455,
1: + B3_MA_RC_CTRL = 456,
1: + B3_MA_RC_TEST = 458,
1: + B3_PA_TOINI_RX1 = 464,
1: + B3_PA_TOINI_RX2 = 468,
1: + B3_PA_TOINI_TX1 = 472,
1: + B3_PA_TOINI_TX2 = 476,
1: + B3_PA_TOVAL_RX1 = 480,
1: + B3_PA_TOVAL_RX2 = 484,
1: + B3_PA_TOVAL_TX1 = 488,
1: + B3_PA_TOVAL_TX2 = 492,
1: + B3_PA_CTRL = 496,
1: + B3_PA_TEST = 498,
1: + Y2_CFG_SPC = 7168,
1: + Y2_CFG_AER = 7424,
1: +};
1: +
1: +enum {
1: + Y2_VMAIN_AVAIL = 131072,
1: + Y2_VAUX_AVAIL = 65536,
1: + Y2_HW_WOL_ON = 32768,
1: + Y2_HW_WOL_OFF = 16384,
1: + Y2_ASF_ENABLE = 8192,
1: + Y2_ASF_DISABLE = 4096,
1: + Y2_CLK_RUN_ENA = 2048,
1: + Y2_CLK_RUN_DIS = 1024,
1: + Y2_LED_STAT_ON = 512,
1: + Y2_LED_STAT_OFF = 256,
1: + CS_ST_SW_IRQ = 128,
1: + CS_CL_SW_IRQ = 64,
1: + CS_STOP_DONE = 32,
1: + CS_STOP_MAST = 16,
1: + CS_MRST_CLR = 8,
1: + CS_MRST_SET = 4,
1: + CS_RST_CLR = 2,
1: + CS_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + PC_VAUX_ENA = 128,
1: + PC_VAUX_DIS = 64,
1: + PC_VCC_ENA = 32,
1: + PC_VCC_DIS = 16,
1: + PC_VAUX_ON = 8,
1: + PC_VAUX_OFF = 4,
1: + PC_VCC_ON = 2,
1: + PC_VCC_OFF = 1,
1: +};
1: +
1: +enum {
1: + Y2_IS_HW_ERR = -2147483648,
1: + Y2_IS_STAT_BMU = 1073741824,
1: + Y2_IS_ASF = 536870912,
1: + Y2_IS_CPU_TO = 268435456,
1: + Y2_IS_POLL_CHK = 134217728,
1: + Y2_IS_TWSI_RDY = 67108864,
1: + Y2_IS_IRQ_SW = 33554432,
1: + Y2_IS_TIMINT = 16777216,
1: + Y2_IS_IRQ_PHY2 = 4096,
1: + Y2_IS_IRQ_MAC2 = 2048,
1: + Y2_IS_CHK_RX2 = 1024,
1: + Y2_IS_CHK_TXS2 = 512,
1: + Y2_IS_CHK_TXA2 = 256,
1: + Y2_IS_PSM_ACK = 128,
1: + Y2_IS_PTP_TIST = 64,
1: + Y2_IS_PHY_QLNK = 32,
1: + Y2_IS_IRQ_PHY1 = 16,
1: + Y2_IS_IRQ_MAC1 = 8,
1: + Y2_IS_CHK_RX1 = 4,
1: + Y2_IS_CHK_TXS1 = 2,
1: + Y2_IS_CHK_TXA1 = 1,
1: + Y2_IS_BASE = -1073741824,
1: + Y2_IS_PORT_1 = 29,
1: + Y2_IS_PORT_2 = 7424,
1: + Y2_IS_ERROR = -2147480307,
1: +};
1: +
1: +enum {
1: + Y2_IS_TIST_OV = 536870912,
1: + Y2_IS_SENSOR = 268435456,
1: + Y2_IS_MST_ERR = 134217728,
1: + Y2_IS_IRQ_STAT = 67108864,
1: + Y2_IS_PCI_EXP = 33554432,
1: + Y2_IS_PCI_NEXP = 16777216,
1: + Y2_IS_PAR_RD2 = 8192,
1: + Y2_IS_PAR_WR2 = 4096,
1: + Y2_IS_PAR_MAC2 = 2048,
1: + Y2_IS_PAR_RX2 = 1024,
1: + Y2_IS_TCP_TXS2 = 512,
1: + Y2_IS_TCP_TXA2 = 256,
1: + Y2_IS_PAR_RD1 = 32,
1: + Y2_IS_PAR_WR1 = 16,
1: + Y2_IS_PAR_MAC1 = 8,
1: + Y2_IS_PAR_RX1 = 4,
1: + Y2_IS_TCP_TXS1 = 2,
1: + Y2_IS_TCP_TXA1 = 1,
1: + Y2_HWE_L1_MASK = 63,
1: + Y2_HWE_L2_MASK = 16128,
1: + Y2_HWE_ALL_MASK = 738213695,
1: +};
1: +
1: +enum {
1: + DPT_START = 2,
1: + DPT_STOP = 1,
1: +};
1: +
1: +enum {
1: + TST_FRC_DPERR_MR = 128,
1: + TST_FRC_DPERR_MW = 64,
1: + TST_FRC_DPERR_TR = 32,
1: + TST_FRC_DPERR_TW = 16,
1: + TST_FRC_APERR_M = 8,
1: + TST_FRC_APERR_T = 4,
1: + TST_CFG_WRITE_ON = 2,
1: + TST_CFG_WRITE_OFF = 1,
1: +};
1: +
1: +enum {
1: + GLB_GPIO_CLK_DEB_ENA = -2147483648,
1: + GLB_GPIO_CLK_DBG_MSK = 1006632960,
1: + GLB_GPIO_INT_RST_D3_DIS = 32768,
1: + GLB_GPIO_LED_PAD_SPEED_UP = 16384,
1: + GLB_GPIO_STAT_RACE_DIS = 8192,
1: + GLB_GPIO_TEST_SEL_MSK = 6144,
1: + GLB_GPIO_TEST_SEL_BASE = 2048,
1: + GLB_GPIO_RAND_ENA = 1024,
1: + GLB_GPIO_RAND_BIT_1 = 512,
1: +};
1: +
1: +enum {
1: + CFG_CHIP_R_MSK = 240,
1: + CFG_DIS_M2_CLK = 2,
1: + CFG_SNG_MAC = 1,
1: +};
1: +
1: +enum {
1: + CHIP_ID_YUKON_XL = 179,
1: + CHIP_ID_YUKON_EC_U = 180,
1: + CHIP_ID_YUKON_EX = 181,
1: + CHIP_ID_YUKON_EC = 182,
1: + CHIP_ID_YUKON_FE = 183,
1: + CHIP_ID_YUKON_FE_P = 184,
1: + CHIP_ID_YUKON_SUPR = 185,
1: + CHIP_ID_YUKON_UL_2 = 186,
1: + CHIP_ID_YUKON_OPT = 188,
1: + CHIP_ID_YUKON_PRM = 189,
1: + CHIP_ID_YUKON_OP_2 = 190,
1: };
1:
1: enum yukon_xl_rev {
1: - CHIP_REV_YU_XL_A0 = 0,
1: - CHIP_REV_YU_XL_A1 = 1,
1: - CHIP_REV_YU_XL_A2 = 2,
1: - CHIP_REV_YU_XL_A3 = 3,
1: + CHIP_REV_YU_XL_A0 = 0,
1: + CHIP_REV_YU_XL_A1 = 1,
1: + CHIP_REV_YU_XL_A2 = 2,
1: + CHIP_REV_YU_XL_A3 = 3,
1: };
1:
1: enum yukon_ec_rev {
1: - CHIP_REV_YU_EC_A1 = 0,
1: - CHIP_REV_YU_EC_A2 = 1,
1: - CHIP_REV_YU_EC_A3 = 2,
1: + CHIP_REV_YU_EC_A1 = 0,
1: + CHIP_REV_YU_EC_A2 = 1,
1: + CHIP_REV_YU_EC_A3 = 2,
1: };
1:
1: enum yukon_ec_u_rev {
1: - CHIP_REV_YU_EC_U_A0 = 1,
1: - CHIP_REV_YU_EC_U_A1 = 2,
1: - CHIP_REV_YU_EC_U_B0 = 3,
1: - CHIP_REV_YU_EC_U_B1 = 5,
1: + CHIP_REV_YU_EC_U_A0 = 1,
1: + CHIP_REV_YU_EC_U_A1 = 2,
1: + CHIP_REV_YU_EC_U_B0 = 3,
1: + CHIP_REV_YU_EC_U_B1 = 5,
1: };
1:
1: enum yukon_fe_p_rev {
1: - CHIP_REV_YU_FE2_A0 = 0,
1: + CHIP_REV_YU_FE2_A0 = 0,
1: };
1:
1: enum yukon_ex_rev {
1: - CHIP_REV_YU_EX_A0 = 1,
1: - CHIP_REV_YU_EX_B0 = 2,
1: + CHIP_REV_YU_EX_A0 = 1,
1: + CHIP_REV_YU_EX_B0 = 2,
1: };
1:
1: enum yukon_supr_rev {
1: - CHIP_REV_YU_SU_A0 = 0,
1: - CHIP_REV_YU_SU_B0 = 1,
1: - CHIP_REV_YU_SU_B1 = 3,
1: + CHIP_REV_YU_SU_A0 = 0,
1: + CHIP_REV_YU_SU_B0 = 1,
1: + CHIP_REV_YU_SU_B1 = 3,
1: };
1:
1: enum yukon_prm_rev {
1: - CHIP_REV_YU_PRM_Z1 = 1,
1: - CHIP_REV_YU_PRM_A0 = 2,
1: + CHIP_REV_YU_PRM_Z1 = 1,
1: + CHIP_REV_YU_PRM_A0 = 2,
1: };
1:
1: enum {
1: - Y2_STATUS_LNK2_INAC = 128,
1: - Y2_CLK_GAT_LNK2_DIS = 64,
1: - Y2_COR_CLK_LNK2_DIS = 32,
1: - Y2_PCI_CLK_LNK2_DIS = 16,
1: - Y2_STATUS_LNK1_INAC = 8,
1: - Y2_CLK_GAT_LNK1_DIS = 4,
1: - Y2_COR_CLK_LNK1_DIS = 2,
1: - Y2_PCI_CLK_LNK1_DIS = 1,
1: + Y2_STATUS_LNK2_INAC = 128,
1: + Y2_CLK_GAT_LNK2_DIS = 64,
1: + Y2_COR_CLK_LNK2_DIS = 32,
1: + Y2_PCI_CLK_LNK2_DIS = 16,
1: + Y2_STATUS_LNK1_INAC = 8,
1: + Y2_CLK_GAT_LNK1_DIS = 4,
1: + Y2_COR_CLK_LNK1_DIS = 2,
1: + Y2_PCI_CLK_LNK1_DIS = 1,
1: };
1:
1: enum {
1: - CFG_LED_MODE_MSK = 28,
1: - CFG_LINK_2_AVAIL = 2,
1: - CFG_LINK_1_AVAIL = 1,
1: + CFG_LED_MODE_MSK = 28,
1: + CFG_LINK_2_AVAIL = 2,
1: + CFG_LINK_1_AVAIL = 1,
1: };
1:
1: enum {
1: - Y2_CLK_DIV_VAL_MSK = 16711680,
1: - Y2_CLK_DIV_VAL2_MSK = 14680064,
1: - Y2_CLK_SELECT2_MSK = 2031616,
1: - Y2_CLK_DIV_ENA = 2,
1: - Y2_CLK_DIV_DIS = 1,
1: + Y2_CLK_DIV_VAL_MSK = 16711680,
1: + Y2_CLK_DIV_VAL2_MSK = 14680064,
1: + Y2_CLK_SELECT2_MSK = 2031616,
1: + Y2_CLK_DIV_ENA = 2,
1: + Y2_CLK_DIV_DIS = 1,
1: };
1:
1: enum {
1: - TIM_START = 4,
1: - TIM_STOP = 2,
1: - TIM_CLR_IRQ = 1,
1: + TIM_START = 4,
1: + TIM_STOP = 2,
1: + TIM_CLR_IRQ = 1,
1: };
1:
1: enum {
1: - PEX_RD_ACCESS = -2147483648,
1: - PEX_DB_ACCESS = 1073741824,
1: + PEX_RD_ACCESS = -2147483648,
1: + PEX_DB_ACCESS = 1073741824,
1: };
1:
1: enum {
1: - RI_CLR_RD_PERR = 512,
1: - RI_CLR_WR_PERR = 256,
1: - RI_RST_CLR = 2,
1: - RI_RST_SET = 1,
1: + RI_CLR_RD_PERR = 512,
1: + RI_CLR_WR_PERR = 256,
1: + RI_RST_CLR = 2,
1: + RI_RST_SET = 1,
1: };
1:
1: enum {
1: - TXA_ENA_FSYNC = 128,
1: - TXA_DIS_FSYNC = 64,
1: - TXA_ENA_ALLOC = 32,
1: - TXA_DIS_ALLOC = 16,
1: - TXA_START_RC = 8,
1: - TXA_STOP_RC = 4,
1: - TXA_ENA_ARB = 2,
1: - TXA_DIS_ARB = 1,
1: + TXA_ENA_FSYNC = 128,
1: + TXA_DIS_FSYNC = 64,
1: + TXA_ENA_ALLOC = 32,
1: + TXA_DIS_ALLOC = 16,
1: + TXA_START_RC = 8,
1: + TXA_STOP_RC = 4,
1: + TXA_ENA_ARB = 2,
1: + TXA_DIS_ARB = 1,
1: };
1:
1: enum {
1: - TXA_ITI_INI = 512,
1: - TXA_ITI_VAL = 516,
1: - TXA_LIM_INI = 520,
1: - TXA_LIM_VAL = 524,
1: - TXA_CTRL = 528,
1: - TXA_TEST = 529,
1: - TXA_STAT = 530,
1: - RSS_KEY = 544,
1: - RSS_CFG = 584,
1: + TXA_ITI_INI = 512,
1: + TXA_ITI_VAL = 516,
1: + TXA_LIM_INI = 520,
1: + TXA_LIM_VAL = 524,
1: + TXA_CTRL = 528,
1: + TXA_TEST = 529,
1: + TXA_STAT = 530,
1: + RSS_KEY = 544,
1: + RSS_CFG = 584,
1: };
1:
1: enum {
1: - HASH_TCP_IPV6_EX_CTRL = 32,
1: - HASH_IPV6_EX_CTRL = 16,
1: - HASH_TCP_IPV6_CTRL = 8,
1: - HASH_IPV6_CTRL = 4,
1: - HASH_TCP_IPV4_CTRL = 2,
1: - HASH_IPV4_CTRL = 1,
1: - HASH_ALL = 63,
1: + HASH_TCP_IPV6_EX_CTRL = 32,
1: + HASH_IPV6_EX_CTRL = 16,
1: + HASH_TCP_IPV6_CTRL = 8,
1: + HASH_IPV6_CTRL = 4,
1: + HASH_TCP_IPV4_CTRL = 2,
1: + HASH_IPV4_CTRL = 1,
1: + HASH_ALL = 63,
1: };
1:
1: enum {
1: - B6_EXT_REG = 768,
1: - B7_CFG_SPC = 896,
1: - B8_RQ1_REGS = 1024,
1: - B8_RQ2_REGS = 1152,
1: - B8_TS1_REGS = 1536,
1: - B8_TA1_REGS = 1664,
1: - B8_TS2_REGS = 1792,
1: - B8_TA2_REGS = 1920,
1: - B16_RAM_REGS = 2048,
1: + B6_EXT_REG = 768,
1: + B7_CFG_SPC = 896,
1: + B8_RQ1_REGS = 1024,
1: + B8_RQ2_REGS = 1152,
1: + B8_TS1_REGS = 1536,
1: + B8_TA1_REGS = 1664,
1: + B8_TS2_REGS = 1792,
1: + B8_TA2_REGS = 1920,
1: + B16_RAM_REGS = 2048,
1: };
1:
1: enum {
1: - B8_Q_REGS = 1024,
1: - Q_D = 0,
1: - Q_VLAN = 32,
1: - Q_DONE = 36,
1: - Q_AC_L = 40,
1: - Q_AC_H = 44,
1: - Q_BC = 48,
1: - Q_CSR = 52,
1: - Q_TEST = 56,
1: - Q_WM = 64,
1: - Q_AL = 66,
1: - Q_RSP = 68,
1: - Q_RSL = 70,
1: - Q_RP = 72,
1: - Q_RL = 74,
1: - Q_WP = 76,
1: - Q_WSP = 77,
1: - Q_WL = 78,
1: - Q_WSL = 79,
1: + B8_Q_REGS = 1024,
1: + Q_D = 0,
1: + Q_VLAN = 32,
1: + Q_DONE = 36,
1: + Q_AC_L = 40,
1: + Q_AC_H = 44,
1: + Q_BC = 48,
1: + Q_CSR = 52,
1: + Q_TEST = 56,
1: + Q_WM = 64,
1: + Q_AL = 66,
1: + Q_RSP = 68,
1: + Q_RSL = 70,
1: + Q_RP = 72,
1: + Q_RL = 74,
1: + Q_WP = 76,
1: + Q_WSP = 77,
1: + Q_WL = 78,
1: + Q_WSL = 79,
1: };
1:
1: enum {
1: - F_TX_CHK_AUTO_OFF = -2147483648,
1: - F_TX_CHK_AUTO_ON = 1073741824,
1: - F_M_RX_RAM_DIS = 16777216,
1: + F_TX_CHK_AUTO_OFF = -2147483648,
1: + F_TX_CHK_AUTO_ON = 1073741824,
1: + F_M_RX_RAM_DIS = 16777216,
1: };
1:
1: enum {
1: - Y2_B8_PREF_REGS = 1104,
1: - PREF_UNIT_CTRL = 0,
1: - PREF_UNIT_LAST_IDX = 4,
1: - PREF_UNIT_ADDR_LO = 8,
1: - PREF_UNIT_ADDR_HI = 12,
1: - PREF_UNIT_GET_IDX = 16,
1: - PREF_UNIT_PUT_IDX = 20,
1: - PREF_UNIT_FIFO_WP = 32,
1: - PREF_UNIT_FIFO_RP = 36,
1: - PREF_UNIT_FIFO_WM = 40,
1: - PREF_UNIT_FIFO_LEV = 44,
1: - PREF_UNIT_MASK_IDX = 4095,
1: -};
1: -
1: -enum {
1: - RB_START = 0,
1: - RB_END = 4,
1: - RB_WP = 8,
1: - RB_RP = 12,
1: - RB_RX_UTPP = 16,
1: - RB_RX_LTPP = 20,
1: - RB_RX_UTHP = 24,
1: - RB_RX_LTHP = 28,
1: - RB_PC = 32,
1: - RB_LEV = 36,
1: - RB_CTRL = 40,
1: - RB_TST1 = 41,
1: - RB_TST2 = 42,
1: -};
1: -
1: -enum {
1: - Q_R1 = 0,
1: - Q_R2 = 128,
1: - Q_XS1 = 512,
1: - Q_XA1 = 640,
1: - Q_XS2 = 768,
1: - Q_XA2 = 896,
1: -};
1: -
1: -enum {
1: - PHY_ADDR_MARV = 0,
1: -};
1: -
1: -enum {
1: - LNK_SYNC_INI = 3120,
1: - LNK_SYNC_VAL = 3124,
1: - LNK_SYNC_CTRL = 3128,
1: - LNK_SYNC_TST = 3129,
1: - LNK_LED_REG = 3132,
1: - RX_GMF_EA = 3136,
1: - RX_GMF_AF_THR = 3140,
1: - RX_GMF_CTRL_T = 3144,
1: - RX_GMF_FL_MSK = 3148,
1: - RX_GMF_FL_THR = 3152,
1: - RX_GMF_FL_CTRL = 3154,
1: - RX_GMF_TR_THR = 3156,
1: - RX_GMF_UP_THR = 3160,
1: - RX_GMF_LP_THR = 3162,
1: - RX_GMF_VLAN = 3164,
1: - RX_GMF_WP = 3168,
1: - RX_GMF_WLEV = 3176,
1: - RX_GMF_RP = 3184,
1: - RX_GMF_RLEV = 3192,
1: -};
1: -
1: -enum {
1: - BMU_IDLE = -2147483648,
1: - BMU_RX_TCP_PKT = 1073741824,
1: - BMU_RX_IP_PKT = 536870912,
1: - BMU_ENA_RX_RSS_HASH = 32768,
1: - BMU_DIS_RX_RSS_HASH = 16384,
1: - BMU_ENA_RX_CHKSUM = 8192,
1: - BMU_DIS_RX_CHKSUM = 4096,
1: - BMU_CLR_IRQ_PAR = 2048,
1: - BMU_CLR_IRQ_TCP = 2048,
1: - BMU_CLR_IRQ_CHK = 1024,
1: - BMU_STOP = 512,
1: - BMU_START = 256,
1: - BMU_FIFO_OP_ON = 128,
1: - BMU_FIFO_OP_OFF = 64,
1: - BMU_FIFO_ENA = 32,
1: - BMU_FIFO_RST = 16,
1: - BMU_OP_ON = 8,
1: - BMU_OP_OFF = 4,
1: - BMU_RST_CLR = 2,
1: - BMU_RST_SET = 1,
1: - BMU_CLR_RESET = 22,
1: - BMU_OPER_INIT = 3368,
1: - BMU_WM_DEFAULT = 1536,
1: - BMU_WM_PEX = 128,
1: -};
1: -
1: -enum {
1: - TBMU_TEST_BMU_TX_CHK_AUTO_OFF = -2147483648,
1: - TBMU_TEST_BMU_TX_CHK_AUTO_ON = 1073741824,
1: - TBMU_TEST_HOME_ADD_PAD_FIX1_EN = 536870912,
1: - TBMU_TEST_HOME_ADD_PAD_FIX1_DIS = 268435456,
1: - TBMU_TEST_ROUTING_ADD_FIX_EN = 134217728,
1: - TBMU_TEST_ROUTING_ADD_FIX_DIS = 67108864,
1: - TBMU_TEST_HOME_ADD_FIX_EN = 33554432,
1: - TBMU_TEST_HOME_ADD_FIX_DIS = 16777216,
1: - TBMU_TEST_TEST_RSPTR_ON = 4194304,
1: - TBMU_TEST_TEST_RSPTR_OFF = 2097152,
1: - TBMU_TEST_TESTSTEP_RSPTR = 1048576,
1: - TBMU_TEST_TEST_RPTR_ON = 262144,
1: - TBMU_TEST_TEST_RPTR_OFF = 131072,
1: - TBMU_TEST_TESTSTEP_RPTR = 65536,
1: - TBMU_TEST_TEST_WSPTR_ON = 16384,
1: - TBMU_TEST_TEST_WSPTR_OFF = 8192,
1: - TBMU_TEST_TESTSTEP_WSPTR = 4096,
1: - TBMU_TEST_TEST_WPTR_ON = 1024,
1: - TBMU_TEST_TEST_WPTR_OFF = 512,
1: - TBMU_TEST_TESTSTEP_WPTR = 256,
1: - TBMU_TEST_TEST_REQ_NB_ON = 64,
1: - TBMU_TEST_TEST_REQ_NB_OFF = 32,
1: - TBMU_TEST_TESTSTEP_REQ_NB = 16,
1: - TBMU_TEST_TEST_DONE_IDX_ON = 4,
1: - TBMU_TEST_TEST_DONE_IDX_OFF = 2,
1: - TBMU_TEST_TESTSTEP_DONE_IDX = 1,
1: -};
1: -
1: -enum {
1: - PREF_UNIT_OP_ON = 8,
1: - PREF_UNIT_OP_OFF = 4,
1: - PREF_UNIT_RST_CLR = 2,
1: - PREF_UNIT_RST_SET = 1,
1: -};
1: -
1: -enum {
1: - RB_ENA_STFWD = 32,
1: - RB_DIS_STFWD = 16,
1: - RB_ENA_OP_MD = 8,
1: - RB_DIS_OP_MD = 4,
1: - RB_RST_CLR = 2,
1: - RB_RST_SET = 1,
1: -};
1: -
1: -enum {
1: - TX_GMF_EA = 3392,
1: - TX_GMF_AE_THR = 3396,
1: - TX_GMF_CTRL_T = 3400,
1: - TX_GMF_WP = 3424,
1: - TX_GMF_WSP = 3428,
1: - TX_GMF_WLEV = 3432,
1: - TX_GMF_RP = 3440,
1: - TX_GMF_RSTP = 3444,
1: - TX_GMF_RLEV = 3448,
1: - ECU_AE_THR = 112,
1: - ECU_TXFF_LEV = 416,
1: - ECU_JUMBO_WM = 128,
1: -};
1: -
1: -enum {
1: - B28_DPT_INI = 3584,
1: - B28_DPT_VAL = 3588,
1: - B28_DPT_CTRL = 3592,
1: - B28_DPT_TST = 3594,
1: -};
1: -
1: -enum {
1: - GMAC_TI_ST_VAL = 3604,
1: - GMAC_TI_ST_CTRL = 3608,
1: - GMAC_TI_ST_TST = 3610,
1: -};
1: -
1: -enum {
1: - CPU_WDOG = 3656,
1: - CPU_CNTR = 3660,
1: - CPU_TIM = 3664,
1: - CPU_AHB_ADDR = 3668,
1: - CPU_AHB_WDATA = 3672,
1: - CPU_AHB_RDATA = 3676,
1: - HCU_MAP_BASE = 3680,
1: - CPU_AHB_CTRL = 3684,
1: - HCU_CCSR = 3688,
1: - HCU_HCSR = 3692,
1: -};
1: -
1: -enum {
1: - B28_Y2_SMB_CONFIG = 3648,
1: - B28_Y2_SMB_CSD_REG = 3652,
1: - B28_Y2_ASF_IRQ_V_BASE = 3680,
1: - B28_Y2_ASF_STAT_CMD = 3688,
1: - B28_Y2_ASF_HOST_COM = 3692,
1: - B28_Y2_DATA_REG_1 = 3696,
1: - B28_Y2_DATA_REG_2 = 3700,
1: - B28_Y2_DATA_REG_3 = 3704,
1: - B28_Y2_DATA_REG_4 = 3708,
1: -};
1: -
1: -enum {
1: - STAT_CTRL = 3712,
1: - STAT_LAST_IDX = 3716,
1: - STAT_LIST_ADDR_LO = 3720,
1: - STAT_LIST_ADDR_HI = 3724,
1: - STAT_TXA1_RIDX = 3728,
1: - STAT_TXS1_RIDX = 3730,
1: - STAT_TXA2_RIDX = 3732,
1: - STAT_TXS2_RIDX = 3734,
1: - STAT_TX_IDX_TH = 3736,
1: - STAT_PUT_IDX = 3740,
1: - STAT_FIFO_WP = 3744,
1: - STAT_FIFO_RP = 3748,
1: - STAT_FIFO_RSP = 3750,
1: - STAT_FIFO_LEVEL = 3752,
1: - STAT_FIFO_SHLVL = 3754,
1: - STAT_FIFO_WM = 3756,
1: - STAT_FIFO_ISR_WM = 3757,
1: - STAT_LEV_TIMER_INI = 3760,
1: - STAT_LEV_TIMER_CNT = 3764,
1: - STAT_LEV_TIMER_CTRL = 3768,
1: - STAT_LEV_TIMER_TEST = 3769,
1: - STAT_TX_TIMER_INI = 3776,
1: - STAT_TX_TIMER_CNT = 3780,
1: - STAT_TX_TIMER_CTRL = 3784,
1: - STAT_TX_TIMER_TEST = 3785,
1: - STAT_ISR_TIMER_INI = 3792,
1: - STAT_ISR_TIMER_CNT = 3796,
1: - STAT_ISR_TIMER_CTRL = 3800,
1: - STAT_ISR_TIMER_TEST = 3801,
1: -};
1: -
1: -enum {
1: - LINKLED_OFF = 1,
1: - LINKLED_ON = 2,
1: - LINKLED_LINKSYNC_OFF = 4,
1: - LINKLED_LINKSYNC_ON = 8,
1: - LINKLED_BLINK_OFF = 16,
1: - LINKLED_BLINK_ON = 32,
1: -};
1: -
1: -enum {
1: - GMAC_CTRL = 3840,
1: - GPHY_CTRL = 3844,
1: - GMAC_IRQ_SRC = 3848,
1: - GMAC_IRQ_MSK = 3852,
1: - GMAC_LINK_CTRL = 3856,
1: - WOL_CTRL_STAT = 3872,
1: - WOL_MATCH_CTL = 3874,
1: - WOL_MATCH_RES = 3875,
1: - WOL_MAC_ADDR = 3876,
1: - WOL_PATT_RPTR = 3884,
1: - WOL_PATT_LEN_LO = 3888,
1: - WOL_PATT_LEN_HI = 3892,
1: - WOL_PATT_CNT_0 = 3896,
1: - WOL_PATT_CNT_4 = 3900,
1: -};
1: -
1: -enum {
1: - BASE_GMAC_1 = 10240,
1: - BASE_GMAC_2 = 14336,
1: -};
1: -
1: -enum {
1: - PHY_MARV_CTRL = 0,
1: - PHY_MARV_STAT = 1,
1: - PHY_MARV_ID0 = 2,
1: - PHY_MARV_ID1 = 3,
1: - PHY_MARV_AUNE_ADV = 4,
1: - PHY_MARV_AUNE_LP = 5,
1: - PHY_MARV_AUNE_EXP = 6,
1: - PHY_MARV_NEPG = 7,
1: - PHY_MARV_NEPG_LP = 8,
1: - PHY_MARV_1000T_CTRL = 9,
1: - PHY_MARV_1000T_STAT = 10,
1: - PHY_MARV_EXT_STAT = 15,
1: - PHY_MARV_PHY_CTRL = 16,
1: - PHY_MARV_PHY_STAT = 17,
1: - PHY_MARV_INT_MASK = 18,
1: - PHY_MARV_INT_STAT = 19,
1: - PHY_MARV_EXT_CTRL = 20,
1: - PHY_MARV_RXE_CNT = 21,
1: - PHY_MARV_EXT_ADR = 22,
1: - PHY_MARV_PORT_IRQ = 23,
1: - PHY_MARV_LED_CTRL = 24,
1: - PHY_MARV_LED_OVER = 25,
1: - PHY_MARV_EXT_CTRL_2 = 26,
1: - PHY_MARV_EXT_P_STAT = 27,
1: - PHY_MARV_CABLE_DIAG = 28,
1: - PHY_MARV_PAGE_ADDR = 29,
1: - PHY_MARV_PAGE_DATA = 30,
1: - PHY_MARV_FE_LED_PAR = 22,
1: - PHY_MARV_FE_LED_SER = 23,
1: - PHY_MARV_FE_VCT_TX = 26,
1: - PHY_MARV_FE_VCT_RX = 27,
1: - PHY_MARV_FE_SPEC_2 = 28,
1: -};
1: -
1: -enum {
1: - PHY_CT_RESET = 32768,
1: - PHY_CT_LOOP = 16384,
1: - PHY_CT_SPS_LSB = 8192,
1: - PHY_CT_ANE = 4096,
1: - PHY_CT_PDOWN = 2048,
1: - PHY_CT_ISOL = 1024,
1: - PHY_CT_RE_CFG = 512,
1: - PHY_CT_DUP_MD = 256,
1: - PHY_CT_COL_TST = 128,
1: - PHY_CT_SPS_MSB = 64,
1: -};
1: -
1: -enum {
1: - PHY_CT_SP1000 = 64,
1: - PHY_CT_SP100 = 8192,
1: - PHY_CT_SP10 = 0,
1: -};
1: -
1: -enum {
1: - PHY_MARV_ID0_VAL = 321,
1: - PHY_BCOM_ID1_A1 = 24641,
1: - PHY_BCOM_ID1_B2 = 24643,
1: - PHY_BCOM_ID1_C0 = 24644,
1: - PHY_BCOM_ID1_C5 = 24647,
1: - PHY_MARV_ID1_B0 = 3107,
1: - PHY_MARV_ID1_B2 = 3109,
1: - PHY_MARV_ID1_C2 = 3266,
1: - PHY_MARV_ID1_Y2 = 3217,
1: - PHY_MARV_ID1_FE = 3203,
1: - PHY_MARV_ID1_ECU = 3248,
1: + Y2_B8_PREF_REGS = 1104,
1: + PREF_UNIT_CTRL = 0,
1: + PREF_UNIT_LAST_IDX = 4,
1: + PREF_UNIT_ADDR_LO = 8,
1: + PREF_UNIT_ADDR_HI = 12,
1: + PREF_UNIT_GET_IDX = 16,
1: + PREF_UNIT_PUT_IDX = 20,
1: + PREF_UNIT_FIFO_WP = 32,
1: + PREF_UNIT_FIFO_RP = 36,
1: + PREF_UNIT_FIFO_WM = 40,
1: + PREF_UNIT_FIFO_LEV = 44,
1: + PREF_UNIT_MASK_IDX = 4095,
1: +};
1: +
1: +enum {
1: + RB_START = 0,
1: + RB_END = 4,
1: + RB_WP = 8,
1: + RB_RP = 12,
1: + RB_RX_UTPP = 16,
1: + RB_RX_LTPP = 20,
1: + RB_RX_UTHP = 24,
1: + RB_RX_LTHP = 28,
1: + RB_PC = 32,
1: + RB_LEV = 36,
1: + RB_CTRL = 40,
1: + RB_TST1 = 41,
1: + RB_TST2 = 42,
1: +};
1: +
1: +enum {
1: + Q_R1 = 0,
1: + Q_R2 = 128,
1: + Q_XS1 = 512,
1: + Q_XA1 = 640,
1: + Q_XS2 = 768,
1: + Q_XA2 = 896,
1: +};
1: +
1: +enum {
1: + PHY_ADDR_MARV = 0,
1: +};
1: +
1: +enum {
1: + LNK_SYNC_INI = 3120,
1: + LNK_SYNC_VAL = 3124,
1: + LNK_SYNC_CTRL = 3128,
1: + LNK_SYNC_TST = 3129,
1: + LNK_LED_REG = 3132,
1: + RX_GMF_EA = 3136,
1: + RX_GMF_AF_THR = 3140,
1: + RX_GMF_CTRL_T = 3144,
1: + RX_GMF_FL_MSK = 3148,
1: + RX_GMF_FL_THR = 3152,
1: + RX_GMF_FL_CTRL = 3154,
1: + RX_GMF_TR_THR = 3156,
1: + RX_GMF_UP_THR = 3160,
1: + RX_GMF_LP_THR = 3162,
1: + RX_GMF_VLAN = 3164,
1: + RX_GMF_WP = 3168,
1: + RX_GMF_WLEV = 3176,
1: + RX_GMF_RP = 3184,
1: + RX_GMF_RLEV = 3192,
1: +};
1: +
1: +enum {
1: + BMU_IDLE = -2147483648,
1: + BMU_RX_TCP_PKT = 1073741824,
1: + BMU_RX_IP_PKT = 536870912,
1: + BMU_ENA_RX_RSS_HASH = 32768,
1: + BMU_DIS_RX_RSS_HASH = 16384,
1: + BMU_ENA_RX_CHKSUM = 8192,
1: + BMU_DIS_RX_CHKSUM = 4096,
1: + BMU_CLR_IRQ_PAR = 2048,
1: + BMU_CLR_IRQ_TCP = 2048,
1: + BMU_CLR_IRQ_CHK = 1024,
1: + BMU_STOP = 512,
1: + BMU_START = 256,
1: + BMU_FIFO_OP_ON = 128,
1: + BMU_FIFO_OP_OFF = 64,
1: + BMU_FIFO_ENA = 32,
1: + BMU_FIFO_RST = 16,
1: + BMU_OP_ON = 8,
1: + BMU_OP_OFF = 4,
1: + BMU_RST_CLR = 2,
1: + BMU_RST_SET = 1,
1: + BMU_CLR_RESET = 22,
1: + BMU_OPER_INIT = 3368,
1: + BMU_WM_DEFAULT = 1536,
1: + BMU_WM_PEX = 128,
1: +};
1: +
1: +enum {
1: + TBMU_TEST_BMU_TX_CHK_AUTO_OFF = -2147483648,
1: + TBMU_TEST_BMU_TX_CHK_AUTO_ON = 1073741824,
1: + TBMU_TEST_HOME_ADD_PAD_FIX1_EN = 536870912,
1: + TBMU_TEST_HOME_ADD_PAD_FIX1_DIS = 268435456,
1: + TBMU_TEST_ROUTING_ADD_FIX_EN = 134217728,
1: + TBMU_TEST_ROUTING_ADD_FIX_DIS = 67108864,
1: + TBMU_TEST_HOME_ADD_FIX_EN = 33554432,
1: + TBMU_TEST_HOME_ADD_FIX_DIS = 16777216,
1: + TBMU_TEST_TEST_RSPTR_ON = 4194304,
1: + TBMU_TEST_TEST_RSPTR_OFF = 2097152,
1: + TBMU_TEST_TESTSTEP_RSPTR = 1048576,
1: + TBMU_TEST_TEST_RPTR_ON = 262144,
1: + TBMU_TEST_TEST_RPTR_OFF = 131072,
1: + TBMU_TEST_TESTSTEP_RPTR = 65536,
1: + TBMU_TEST_TEST_WSPTR_ON = 16384,
1: + TBMU_TEST_TEST_WSPTR_OFF = 8192,
1: + TBMU_TEST_TESTSTEP_WSPTR = 4096,
1: + TBMU_TEST_TEST_WPTR_ON = 1024,
1: + TBMU_TEST_TEST_WPTR_OFF = 512,
1: + TBMU_TEST_TESTSTEP_WPTR = 256,
1: + TBMU_TEST_TEST_REQ_NB_ON = 64,
1: + TBMU_TEST_TEST_REQ_NB_OFF = 32,
1: + TBMU_TEST_TESTSTEP_REQ_NB = 16,
1: + TBMU_TEST_TEST_DONE_IDX_ON = 4,
1: + TBMU_TEST_TEST_DONE_IDX_OFF = 2,
1: + TBMU_TEST_TESTSTEP_DONE_IDX = 1,
1: +};
1: +
1: +enum {
1: + PREF_UNIT_OP_ON = 8,
1: + PREF_UNIT_OP_OFF = 4,
1: + PREF_UNIT_RST_CLR = 2,
1: + PREF_UNIT_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + RB_ENA_STFWD = 32,
1: + RB_DIS_STFWD = 16,
1: + RB_ENA_OP_MD = 8,
1: + RB_DIS_OP_MD = 4,
1: + RB_RST_CLR = 2,
1: + RB_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + TX_GMF_EA = 3392,
1: + TX_GMF_AE_THR = 3396,
1: + TX_GMF_CTRL_T = 3400,
1: + TX_GMF_WP = 3424,
1: + TX_GMF_WSP = 3428,
1: + TX_GMF_WLEV = 3432,
1: + TX_GMF_RP = 3440,
1: + TX_GMF_RSTP = 3444,
1: + TX_GMF_RLEV = 3448,
1: + ECU_AE_THR = 112,
1: + ECU_TXFF_LEV = 416,
1: + ECU_JUMBO_WM = 128,
1: +};
1: +
1: +enum {
1: + B28_DPT_INI = 3584,
1: + B28_DPT_VAL = 3588,
1: + B28_DPT_CTRL = 3592,
1: + B28_DPT_TST = 3594,
1: +};
1: +
1: +enum {
1: + GMAC_TI_ST_VAL = 3604,
1: + GMAC_TI_ST_CTRL = 3608,
1: + GMAC_TI_ST_TST = 3610,
1: +};
1: +
1: +enum {
1: + CPU_WDOG = 3656,
1: + CPU_CNTR = 3660,
1: + CPU_TIM = 3664,
1: + CPU_AHB_ADDR = 3668,
1: + CPU_AHB_WDATA = 3672,
1: + CPU_AHB_RDATA = 3676,
1: + HCU_MAP_BASE = 3680,
1: + CPU_AHB_CTRL = 3684,
1: + HCU_CCSR = 3688,
1: + HCU_HCSR = 3692,
1: +};
1: +
1: +enum {
1: + B28_Y2_SMB_CONFIG = 3648,
1: + B28_Y2_SMB_CSD_REG = 3652,
1: + B28_Y2_ASF_IRQ_V_BASE = 3680,
1: + B28_Y2_ASF_STAT_CMD = 3688,
1: + B28_Y2_ASF_HOST_COM = 3692,
1: + B28_Y2_DATA_REG_1 = 3696,
1: + B28_Y2_DATA_REG_2 = 3700,
1: + B28_Y2_DATA_REG_3 = 3704,
1: + B28_Y2_DATA_REG_4 = 3708,
1: +};
1: +
1: +enum {
1: + STAT_CTRL = 3712,
1: + STAT_LAST_IDX = 3716,
1: + STAT_LIST_ADDR_LO = 3720,
1: + STAT_LIST_ADDR_HI = 3724,
1: + STAT_TXA1_RIDX = 3728,
1: + STAT_TXS1_RIDX = 3730,
1: + STAT_TXA2_RIDX = 3732,
1: + STAT_TXS2_RIDX = 3734,
1: + STAT_TX_IDX_TH = 3736,
1: + STAT_PUT_IDX = 3740,
1: + STAT_FIFO_WP = 3744,
1: + STAT_FIFO_RP = 3748,
1: + STAT_FIFO_RSP = 3750,
1: + STAT_FIFO_LEVEL = 3752,
1: + STAT_FIFO_SHLVL = 3754,
1: + STAT_FIFO_WM = 3756,
1: + STAT_FIFO_ISR_WM = 3757,
1: + STAT_LEV_TIMER_INI = 3760,
1: + STAT_LEV_TIMER_CNT = 3764,
1: + STAT_LEV_TIMER_CTRL = 3768,
1: + STAT_LEV_TIMER_TEST = 3769,
1: + STAT_TX_TIMER_INI = 3776,
1: + STAT_TX_TIMER_CNT = 3780,
1: + STAT_TX_TIMER_CTRL = 3784,
1: + STAT_TX_TIMER_TEST = 3785,
1: + STAT_ISR_TIMER_INI = 3792,
1: + STAT_ISR_TIMER_CNT = 3796,
1: + STAT_ISR_TIMER_CTRL = 3800,
1: + STAT_ISR_TIMER_TEST = 3801,
1: +};
1: +
1: +enum {
1: + LINKLED_OFF = 1,
1: + LINKLED_ON = 2,
1: + LINKLED_LINKSYNC_OFF = 4,
1: + LINKLED_LINKSYNC_ON = 8,
1: + LINKLED_BLINK_OFF = 16,
1: + LINKLED_BLINK_ON = 32,
1: +};
1: +
1: +enum {
1: + GMAC_CTRL = 3840,
1: + GPHY_CTRL = 3844,
1: + GMAC_IRQ_SRC = 3848,
1: + GMAC_IRQ_MSK = 3852,
1: + GMAC_LINK_CTRL = 3856,
1: + WOL_CTRL_STAT = 3872,
1: + WOL_MATCH_CTL = 3874,
1: + WOL_MATCH_RES = 3875,
1: + WOL_MAC_ADDR = 3876,
1: + WOL_PATT_RPTR = 3884,
1: + WOL_PATT_LEN_LO = 3888,
1: + WOL_PATT_LEN_HI = 3892,
1: + WOL_PATT_CNT_0 = 3896,
1: + WOL_PATT_CNT_4 = 3900,
1: +};
1: +
1: +enum {
1: + BASE_GMAC_1 = 10240,
1: + BASE_GMAC_2 = 14336,
1: +};
1: +
1: +enum {
1: + PHY_MARV_CTRL = 0,
1: + PHY_MARV_STAT = 1,
1: + PHY_MARV_ID0 = 2,
1: + PHY_MARV_ID1 = 3,
1: + PHY_MARV_AUNE_ADV = 4,
1: + PHY_MARV_AUNE_LP = 5,
1: + PHY_MARV_AUNE_EXP = 6,
1: + PHY_MARV_NEPG = 7,
1: + PHY_MARV_NEPG_LP = 8,
1: + PHY_MARV_1000T_CTRL = 9,
1: + PHY_MARV_1000T_STAT = 10,
1: + PHY_MARV_EXT_STAT = 15,
1: + PHY_MARV_PHY_CTRL = 16,
1: + PHY_MARV_PHY_STAT = 17,
1: + PHY_MARV_INT_MASK = 18,
1: + PHY_MARV_INT_STAT = 19,
1: + PHY_MARV_EXT_CTRL = 20,
1: + PHY_MARV_RXE_CNT = 21,
1: + PHY_MARV_EXT_ADR = 22,
1: + PHY_MARV_PORT_IRQ = 23,
1: + PHY_MARV_LED_CTRL = 24,
1: + PHY_MARV_LED_OVER = 25,
1: + PHY_MARV_EXT_CTRL_2 = 26,
1: + PHY_MARV_EXT_P_STAT = 27,
1: + PHY_MARV_CABLE_DIAG = 28,
1: + PHY_MARV_PAGE_ADDR = 29,
1: + PHY_MARV_PAGE_DATA = 30,
1: + PHY_MARV_FE_LED_PAR = 22,
1: + PHY_MARV_FE_LED_SER = 23,
1: + PHY_MARV_FE_VCT_TX = 26,
1: + PHY_MARV_FE_VCT_RX = 27,
1: + PHY_MARV_FE_SPEC_2 = 28,
1: +};
1: +
1: +enum {
1: + PHY_CT_RESET = 32768,
1: + PHY_CT_LOOP = 16384,
1: + PHY_CT_SPS_LSB = 8192,
1: + PHY_CT_ANE = 4096,
1: + PHY_CT_PDOWN = 2048,
1: + PHY_CT_ISOL = 1024,
1: + PHY_CT_RE_CFG = 512,
1: + PHY_CT_DUP_MD = 256,
1: + PHY_CT_COL_TST = 128,
1: + PHY_CT_SPS_MSB = 64,
1: +};
1: +
1: +enum {
1: + PHY_CT_SP1000 = 64,
1: + PHY_CT_SP100 = 8192,
1: + PHY_CT_SP10 = 0,
1: +};
1: +
1: +enum {
1: + PHY_MARV_ID0_VAL = 321,
1: + PHY_BCOM_ID1_A1 = 24641,
1: + PHY_BCOM_ID1_B2 = 24643,
1: + PHY_BCOM_ID1_C0 = 24644,
1: + PHY_BCOM_ID1_C5 = 24647,
1: + PHY_MARV_ID1_B0 = 3107,
1: + PHY_MARV_ID1_B2 = 3109,
1: + PHY_MARV_ID1_C2 = 3266,
1: + PHY_MARV_ID1_Y2 = 3217,
1: + PHY_MARV_ID1_FE = 3203,
1: + PHY_MARV_ID1_ECU = 3248,
1: };
1:
1: enum {
1: - PHY_AN_NXT_PG = 32768,
1: - PHY_AN_ACK = 16384,
1: - PHY_AN_RF = 8192,
1: - PHY_AN_PAUSE_ASYM = 2048,
1: - PHY_AN_PAUSE_CAP = 1024,
1: - PHY_AN_100BASE4 = 512,
1: - PHY_AN_100FULL = 256,
1: - PHY_AN_100HALF = 128,
1: - PHY_AN_10FULL = 64,
1: - PHY_AN_10HALF = 32,
1: - PHY_AN_CSMA = 1,
1: - PHY_AN_SEL = 31,
1: - PHY_AN_FULL = 321,
1: - PHY_AN_ALL = 480,
1: -};
1: -
1: -enum {
1: - PHY_M_AN_NXT_PG = 32768,
1: - PHY_M_AN_ACK = 16384,
1: - PHY_M_AN_RF = 8192,
1: - PHY_M_AN_ASP = 2048,
1: - PHY_M_AN_PC = 1024,
1: - PHY_M_AN_100_T4 = 512,
1: - PHY_M_AN_100_FD = 256,
1: - PHY_M_AN_100_HD = 128,
1: - PHY_M_AN_10_FD = 64,
1: - PHY_M_AN_10_HD = 32,
1: - PHY_M_AN_SEL_MSK = 496,
1: -};
1: -
1: -enum {
1: - PHY_M_AN_ASP_X = 256,
1: - PHY_M_AN_PC_X = 128,
1: - PHY_M_AN_1000X_AHD = 64,
1: - PHY_M_AN_1000X_AFD = 32,
1: -};
1: -
1: -enum {
1: - PHY_M_P_NO_PAUSE_X = 0,
1: - PHY_M_P_SYM_MD_X = 128,
1: - PHY_M_P_ASYM_MD_X = 256,
1: - PHY_M_P_BOTH_MD_X = 384,
1: -};
1: -
1: -enum {
1: - PHY_M_1000C_TEST = 57344,
1: - PHY_M_1000C_MSE = 4096,
1: - PHY_M_1000C_MSC = 2048,
1: - PHY_M_1000C_MPD = 1024,
1: - PHY_M_1000C_AFD = 512,
1: - PHY_M_1000C_AHD = 256,
1: -};
1: + PHY_AN_NXT_PG = 32768,
1: + PHY_AN_ACK = 16384,
1: + PHY_AN_RF = 8192,
1: + PHY_AN_PAUSE_ASYM = 2048,
1: + PHY_AN_PAUSE_CAP = 1024,
1: + PHY_AN_100BASE4 = 512,
1: + PHY_AN_100FULL = 256,
1: + PHY_AN_100HALF = 128,
1: + PHY_AN_10FULL = 64,
1: + PHY_AN_10HALF = 32,
1: + PHY_AN_CSMA = 1,
1: + PHY_AN_SEL = 31,
1: + PHY_AN_FULL = 321,
1: + PHY_AN_ALL = 480,
1: +};
1: +
1: +enum {
1: + PHY_M_AN_NXT_PG = 32768,
1: + PHY_M_AN_ACK = 16384,
1: + PHY_M_AN_RF = 8192,
1: + PHY_M_AN_ASP = 2048,
1: + PHY_M_AN_PC = 1024,
1: + PHY_M_AN_100_T4 = 512,
1: + PHY_M_AN_100_FD = 256,
1: + PHY_M_AN_100_HD = 128,
1: + PHY_M_AN_10_FD = 64,
1: + PHY_M_AN_10_HD = 32,
1: + PHY_M_AN_SEL_MSK = 496,
1: +};
1: +
1: +enum {
1: + PHY_M_AN_ASP_X = 256,
1: + PHY_M_AN_PC_X = 128,
1: + PHY_M_AN_1000X_AHD = 64,
1: + PHY_M_AN_1000X_AFD = 32,
1: +};
1: +
1: +enum {
1: + PHY_M_P_NO_PAUSE_X = 0,
1: + PHY_M_P_SYM_MD_X = 128,
1: + PHY_M_P_ASYM_MD_X = 256,
1: + PHY_M_P_BOTH_MD_X = 384,
1: +};
1: +
1: +enum {
1: + PHY_M_1000C_TEST = 57344,
1: + PHY_M_1000C_MSE = 4096,
1: + PHY_M_1000C_MSC = 2048,
1: + PHY_M_1000C_MPD = 1024,
1: + PHY_M_1000C_AFD = 512,
1: + PHY_M_1000C_AHD = 256,
1: +};
1:
1: enum {
1: - PHY_M_PC_TX_FFD_MSK = 49152,
1: - PHY_M_PC_RX_FFD_MSK = 12288,
1: - PHY_M_PC_ASS_CRS_TX = 2048,
1: - PHY_M_PC_FL_GOOD = 1024,
1: - PHY_M_PC_EN_DET_MSK = 768,
1: - PHY_M_PC_ENA_EXT_D = 128,
1: - PHY_M_PC_MDIX_MSK = 96,
1: - PHY_M_PC_DIS_125CLK = 16,
1: - PHY_M_PC_MAC_POW_UP = 8,
1: - PHY_M_PC_SQE_T_ENA = 4,
1: - PHY_M_PC_POL_R_DIS = 2,
1: - PHY_M_PC_DIS_JABBER = 1,
1: + PHY_M_PC_TX_FFD_MSK = 49152,
1: + PHY_M_PC_RX_FFD_MSK = 12288,
1: + PHY_M_PC_ASS_CRS_TX = 2048,
1: + PHY_M_PC_FL_GOOD = 1024,
1: + PHY_M_PC_EN_DET_MSK = 768,
1: + PHY_M_PC_ENA_EXT_D = 128,
1: + PHY_M_PC_MDIX_MSK = 96,
1: + PHY_M_PC_DIS_125CLK = 16,
1: + PHY_M_PC_MAC_POW_UP = 8,
1: + PHY_M_PC_SQE_T_ENA = 4,
1: + PHY_M_PC_POL_R_DIS = 2,
1: + PHY_M_PC_DIS_JABBER = 1,
1: };
1:
1: enum {
1: - PHY_M_PC_MAN_MDI = 0,
1: - PHY_M_PC_MAN_MDIX = 1,
1: - PHY_M_PC_ENA_AUTO = 3,
1: + PHY_M_PC_MAN_MDI = 0,
1: + PHY_M_PC_MAN_MDIX = 1,
1: + PHY_M_PC_ENA_AUTO = 3,
1: };
1:
1: enum {
1: - PHY_M_PC_COP_TX_DIS = 8,
1: - PHY_M_PC_POW_D_ENA = 4,
1: + PHY_M_PC_COP_TX_DIS = 8,
1: + PHY_M_PC_POW_D_ENA = 4,
1: };
1:
1: enum {
1: - PHY_M_PC_ENA_DTE_DT = 32768,
1: - PHY_M_PC_ENA_ENE_DT = 16384,
1: - PHY_M_PC_DIS_NLP_CK = 8192,
1: - PHY_M_PC_ENA_LIP_NP = 4096,
1: - PHY_M_PC_DIS_NLP_GN = 2048,
1: - PHY_M_PC_DIS_SCRAMB = 512,
1: - PHY_M_PC_DIS_FEFI = 256,
1: - PHY_M_PC_SH_TP_SEL = 64,
1: - PHY_M_PC_RX_FD_MSK = 12,
1: + PHY_M_PC_ENA_DTE_DT = 32768,
1: + PHY_M_PC_ENA_ENE_DT = 16384,
1: + PHY_M_PC_DIS_NLP_CK = 8192,
1: + PHY_M_PC_ENA_LIP_NP = 4096,
1: + PHY_M_PC_DIS_NLP_GN = 2048,
1: + PHY_M_PC_DIS_SCRAMB = 512,
1: + PHY_M_PC_DIS_FEFI = 256,
1: + PHY_M_PC_SH_TP_SEL = 64,
1: + PHY_M_PC_RX_FD_MSK = 12,
1: };
1:
1: enum {
1: - PHY_M_PS_SPEED_MSK = 49152,
1: - PHY_M_PS_SPEED_1000 = 32768,
1: - PHY_M_PS_SPEED_100 = 16384,
1: - PHY_M_PS_SPEED_10 = 0,
1: - PHY_M_PS_FULL_DUP = 8192,
1: - PHY_M_PS_PAGE_REC = 4096,
1: - PHY_M_PS_SPDUP_RES = 2048,
1: - PHY_M_PS_LINK_UP = 1024,
1: - PHY_M_PS_CABLE_MSK = 896,
1: - PHY_M_PS_MDI_X_STAT = 64,
1: - PHY_M_PS_DOWNS_STAT = 32,
1: - PHY_M_PS_ENDET_STAT = 16,
1: - PHY_M_PS_TX_P_EN = 8,
1: - PHY_M_PS_RX_P_EN = 4,
1: - PHY_M_PS_POL_REV = 2,
1: - PHY_M_PS_JABBER = 1,
1: + PHY_M_PS_SPEED_MSK = 49152,
1: + PHY_M_PS_SPEED_1000 = 32768,
1: + PHY_M_PS_SPEED_100 = 16384,
1: + PHY_M_PS_SPEED_10 = 0,
1: + PHY_M_PS_FULL_DUP = 8192,
1: + PHY_M_PS_PAGE_REC = 4096,
1: + PHY_M_PS_SPDUP_RES = 2048,
1: + PHY_M_PS_LINK_UP = 1024,
1: + PHY_M_PS_CABLE_MSK = 896,
1: + PHY_M_PS_MDI_X_STAT = 64,
1: + PHY_M_PS_DOWNS_STAT = 32,
1: + PHY_M_PS_ENDET_STAT = 16,
1: + PHY_M_PS_TX_P_EN = 8,
1: + PHY_M_PS_RX_P_EN = 4,
1: + PHY_M_PS_POL_REV = 2,
1: + PHY_M_PS_JABBER = 1,
1: };
1:
1: enum {
1: - PHY_M_IS_AN_ERROR = 32768,
1: - PHY_M_IS_LSP_CHANGE = 16384,
1: - PHY_M_IS_DUP_CHANGE = 8192,
1: - PHY_M_IS_AN_PR = 4096,
1: - PHY_M_IS_AN_COMPL = 2048,
1: - PHY_M_IS_LST_CHANGE = 1024,
1: - PHY_M_IS_SYMB_ERROR = 512,
1: - PHY_M_IS_FALSE_CARR = 256,
1: - PHY_M_IS_FIFO_ERROR = 128,
1: - PHY_M_IS_MDI_CHANGE = 64,
1: - PHY_M_IS_DOWNSH_DET = 32,
1: - PHY_M_IS_END_CHANGE = 16,
1: - PHY_M_IS_DTE_CHANGE = 4,
1: - PHY_M_IS_POL_CHANGE = 2,
1: - PHY_M_IS_JABBER = 1,
1: - PHY_M_DEF_MSK = 25600,
1: - PHY_M_AN_MSK = 34816,
1: + PHY_M_IS_AN_ERROR = 32768,
1: + PHY_M_IS_LSP_CHANGE = 16384,
1: + PHY_M_IS_DUP_CHANGE = 8192,
1: + PHY_M_IS_AN_PR = 4096,
1: + PHY_M_IS_AN_COMPL = 2048,
1: + PHY_M_IS_LST_CHANGE = 1024,
1: + PHY_M_IS_SYMB_ERROR = 512,
1: + PHY_M_IS_FALSE_CARR = 256,
1: + PHY_M_IS_FIFO_ERROR = 128,
1: + PHY_M_IS_MDI_CHANGE = 64,
1: + PHY_M_IS_DOWNSH_DET = 32,
1: + PHY_M_IS_END_CHANGE = 16,
1: + PHY_M_IS_DTE_CHANGE = 4,
1: + PHY_M_IS_POL_CHANGE = 2,
1: + PHY_M_IS_JABBER = 1,
1: + PHY_M_DEF_MSK = 25600,
1: + PHY_M_AN_MSK = 34816,
1: };
1:
1: enum {
1: - PHY_M_EC_ENA_BC_EXT = 32768,
1: - PHY_M_EC_ENA_LIN_LB = 16384,
1: - PHY_M_EC_DIS_LINK_P = 4096,
1: - PHY_M_EC_M_DSC_MSK = 3072,
1: - PHY_M_EC_S_DSC_MSK = 768,
1: - PHY_M_EC_M_DSC_MSK2 = 3584,
1: - PHY_M_EC_DOWN_S_ENA = 256,
1: - PHY_M_EC_RX_TIM_CT = 128,
1: - PHY_M_EC_MAC_S_MSK = 112,
1: - PHY_M_EC_FIB_AN_ENA = 8,
1: - PHY_M_EC_DTE_D_ENA = 4,
1: - PHY_M_EC_TX_TIM_CT = 2,
1: - PHY_M_EC_TRANS_DIS = 1,
1: - PHY_M_10B_TE_ENABLE = 128,
1: + PHY_M_EC_ENA_BC_EXT = 32768,
1: + PHY_M_EC_ENA_LIN_LB = 16384,
1: + PHY_M_EC_DIS_LINK_P = 4096,
1: + PHY_M_EC_M_DSC_MSK = 3072,
1: + PHY_M_EC_S_DSC_MSK = 768,
1: + PHY_M_EC_M_DSC_MSK2 = 3584,
1: + PHY_M_EC_DOWN_S_ENA = 256,
1: + PHY_M_EC_RX_TIM_CT = 128,
1: + PHY_M_EC_MAC_S_MSK = 112,
1: + PHY_M_EC_FIB_AN_ENA = 8,
1: + PHY_M_EC_DTE_D_ENA = 4,
1: + PHY_M_EC_TX_TIM_CT = 2,
1: + PHY_M_EC_TRANS_DIS = 1,
1: + PHY_M_10B_TE_ENABLE = 128,
1: };
1:
1: enum {
1: - PHY_M_PC_DIS_LINK_Pa = 32768,
1: - PHY_M_PC_DSC_MSK = 28672,
1: - PHY_M_PC_DOWN_S_ENA = 2048,
1: + PHY_M_PC_DIS_LINK_Pa = 32768,
1: + PHY_M_PC_DSC_MSK = 28672,
1: + PHY_M_PC_DOWN_S_ENA = 2048,
1: };
1:
1: enum {
1: - MAC_TX_CLK_0_MHZ = 2,
1: - MAC_TX_CLK_2_5_MHZ = 6,
1: - MAC_TX_CLK_25_MHZ = 7,
1: + MAC_TX_CLK_0_MHZ = 2,
1: + MAC_TX_CLK_2_5_MHZ = 6,
1: + MAC_TX_CLK_25_MHZ = 7,
1: };
1:
1: enum {
1: - PHY_M_LEDC_DIS_LED = 32768,
1: - PHY_M_LEDC_PULS_MSK = 28672,
1: - PHY_M_LEDC_F_INT = 2048,
1: - PHY_M_LEDC_BL_R_MSK = 1792,
1: - PHY_M_LEDC_DP_C_LSB = 128,
1: - PHY_M_LEDC_TX_C_LSB = 64,
1: - PHY_M_LEDC_LK_C_MSK = 56,
1: + PHY_M_LEDC_DIS_LED = 32768,
1: + PHY_M_LEDC_PULS_MSK = 28672,
1: + PHY_M_LEDC_F_INT = 2048,
1: + PHY_M_LEDC_BL_R_MSK = 1792,
1: + PHY_M_LEDC_DP_C_LSB = 128,
1: + PHY_M_LEDC_TX_C_LSB = 64,
1: + PHY_M_LEDC_LK_C_MSK = 56,
1: };
1:
1: enum {
1: - PHY_M_LEDC_LINK_MSK = 24,
1: - PHY_M_LEDC_DP_CTRL = 4,
1: - PHY_M_LEDC_DP_C_MSB = 4,
1: - PHY_M_LEDC_RX_CTRL = 2,
1: - PHY_M_LEDC_TX_CTRL = 1,
1: - PHY_M_LEDC_TX_C_MSB = 1,
1: + PHY_M_LEDC_LINK_MSK = 24,
1: + PHY_M_LEDC_DP_CTRL = 4,
1: + PHY_M_LEDC_DP_C_MSB = 4,
1: + PHY_M_LEDC_RX_CTRL = 2,
1: + PHY_M_LEDC_TX_CTRL = 1,
1: + PHY_M_LEDC_TX_C_MSB = 1,
1: };
1:
1: enum {
1: - PHY_M_POLC_LS1M_MSK = 61440,
1: - PHY_M_POLC_IS0M_MSK = 3840,
1: - PHY_M_POLC_LOS_MSK = 192,
1: - PHY_M_POLC_INIT_MSK = 48,
1: - PHY_M_POLC_STA1_MSK = 12,
1: - PHY_M_POLC_STA0_MSK = 3,
1: + PHY_M_POLC_LS1M_MSK = 61440,
1: + PHY_M_POLC_IS0M_MSK = 3840,
1: + PHY_M_POLC_LOS_MSK = 192,
1: + PHY_M_POLC_INIT_MSK = 48,
1: + PHY_M_POLC_STA1_MSK = 12,
1: + PHY_M_POLC_STA0_MSK = 3,
1: };
1:
1: enum {
1: - PULS_NO_STR = 0,
1: - PULS_21MS = 1,
1: - PULS_42MS = 2,
1: - PULS_84MS = 3,
1: - PULS_170MS = 4,
1: - PULS_340MS = 5,
1: - PULS_670MS = 6,
1: - PULS_1300MS = 7,
1: + PULS_NO_STR = 0,
1: + PULS_21MS = 1,
1: + PULS_42MS = 2,
1: + PULS_84MS = 3,
1: + PULS_170MS = 4,
1: + PULS_340MS = 5,
1: + PULS_670MS = 6,
1: + PULS_1300MS = 7,
1: };
1:
1: enum {
1: - BLINK_42MS = 0,
1: - BLINK_84MS = 1,
1: - BLINK_170MS = 2,
1: - BLINK_340MS = 3,
1: - BLINK_670MS = 4,
1: + BLINK_42MS = 0,
1: + BLINK_84MS = 1,
1: + BLINK_170MS = 2,
1: + BLINK_340MS = 3,
1: + BLINK_670MS = 4,
1: };
1:
1: enum led_mode {
1: - MO_LED_NORM = 0,
1: - MO_LED_BLINK = 1,
1: - MO_LED_OFF = 2,
1: - MO_LED_ON = 3,
1: + MO_LED_NORM = 0,
1: + MO_LED_BLINK = 1,
1: + MO_LED_OFF = 2,
1: + MO_LED_ON = 3,
1: };
1:
1: enum {
1: - PHY_M_FC_AUTO_SEL = 32768,
1: - PHY_M_FC_AN_REG_ACC = 16384,
1: - PHY_M_FC_RESOLUTION = 8192,
1: - PHY_M_SER_IF_AN_BP = 4096,
1: - PHY_M_SER_IF_BP_ST = 2048,
1: - PHY_M_IRQ_POLARITY = 1024,
1: - PHY_M_DIS_AUT_MED = 512,
1: - PHY_M_UNDOC1 = 128,
1: - PHY_M_DTE_POW_STAT = 16,
1: - PHY_M_MODE_MASK = 15,
1: -};
1: -
1: -enum {
1: - PHY_M_FELP_LED2_MSK = 3840,
1: - PHY_M_FELP_LED1_MSK = 240,
1: - PHY_M_FELP_LED0_MSK = 15,
1: -};
1: -
1: -enum {
1: - LED_PAR_CTRL_COLX = 0,
1: - LED_PAR_CTRL_ERROR = 1,
1: - LED_PAR_CTRL_DUPLEX = 2,
1: - LED_PAR_CTRL_DP_COL = 3,
1: - LED_PAR_CTRL_SPEED = 4,
1: - LED_PAR_CTRL_LINK = 5,
1: - LED_PAR_CTRL_TX = 6,
1: - LED_PAR_CTRL_RX = 7,
1: - LED_PAR_CTRL_ACT = 8,
1: - LED_PAR_CTRL_LNK_RX = 9,
1: - LED_PAR_CTRL_LNK_AC = 10,
1: - LED_PAR_CTRL_ACT_BL = 11,
1: - LED_PAR_CTRL_TX_BL = 12,
1: - LED_PAR_CTRL_RX_BL = 13,
1: - LED_PAR_CTRL_COL_BL = 14,
1: - LED_PAR_CTRL_INACT = 15,
1: -};
1: -
1: -enum {
1: - PHY_M_FESC_DIS_WAIT = 4,
1: - PHY_M_FESC_ENA_MCLK = 2,
1: - PHY_M_FESC_SEL_CL_A = 1,
1: -};
1: -
1: -enum {
1: - PHY_M_FIB_FORCE_LNK = 1024,
1: - PHY_M_FIB_SIGD_POL = 512,
1: - PHY_M_FIB_TX_DIS = 8,
1: -};
1: -
1: -enum {
1: - PHY_M_MAC_MD_MSK = 896,
1: - PHY_M_MAC_GMIF_PUP = 8,
1: - PHY_M_MAC_MD_AUTO = 3,
1: - PHY_M_MAC_MD_COPPER = 5,
1: - PHY_M_MAC_MD_1000BX = 7,
1: -};
1: -
1: -enum {
1: - PHY_M_LEDC_LOS_MSK = 61440,
1: - PHY_M_LEDC_INIT_MSK = 3840,
1: - PHY_M_LEDC_STA1_MSK = 240,
1: - PHY_M_LEDC_STA0_MSK = 15,
1: -};
1: -
1: -enum {
1: - GM_GP_STAT = 0,
1: - GM_GP_CTRL = 4,
1: - GM_TX_CTRL = 8,
1: - GM_RX_CTRL = 12,
1: - GM_TX_FLOW_CTRL = 16,
1: - GM_TX_PARAM = 20,
1: - GM_SERIAL_MODE = 24,
1: - GM_SRC_ADDR_1L = 28,
1: - GM_SRC_ADDR_1M = 32,
1: - GM_SRC_ADDR_1H = 36,
1: - GM_SRC_ADDR_2L = 40,
1: - GM_SRC_ADDR_2M = 44,
1: - GM_SRC_ADDR_2H = 48,
1: - GM_MC_ADDR_H1 = 52,
1: - GM_MC_ADDR_H2 = 56,
1: - GM_MC_ADDR_H3 = 60,
1: - GM_MC_ADDR_H4 = 64,
1: - GM_TX_IRQ_SRC = 68,
1: - GM_RX_IRQ_SRC = 72,
1: - GM_TR_IRQ_SRC = 76,
1: - GM_TX_IRQ_MSK = 80,
1: - GM_RX_IRQ_MSK = 84,
1: - GM_TR_IRQ_MSK = 88,
1: - GM_SMI_CTRL = 128,
1: - GM_SMI_DATA = 132,
1: - GM_PHY_ADDR = 136,
1: - GM_MIB_CNT_BASE = 256,
1: - GM_MIB_CNT_END = 604,
1: -};
1: -
1: -enum {
1: - GM_RXF_UC_OK = 256,
1: - GM_RXF_BC_OK = 264,
1: - GM_RXF_MPAUSE = 272,
1: - GM_RXF_MC_OK = 280,
1: - GM_RXF_FCS_ERR = 288,
1: - GM_RXO_OK_LO = 304,
1: - GM_RXO_OK_HI = 312,
1: - GM_RXO_ERR_LO = 320,
1: - GM_RXO_ERR_HI = 328,
1: - GM_RXF_SHT = 336,
1: - GM_RXE_FRAG = 344,
1: - GM_RXF_64B = 352,
1: - GM_RXF_127B = 360,
1: - GM_RXF_255B = 368,
1: - GM_RXF_511B = 376,
1: - GM_RXF_1023B = 384,
1: - GM_RXF_1518B = 392,
1: - GM_RXF_MAX_SZ = 400,
1: - GM_RXF_LNG_ERR = 408,
1: - GM_RXF_JAB_PKT = 416,
1: - GM_RXE_FIFO_OV = 432,
1: - GM_TXF_UC_OK = 448,
1: - GM_TXF_BC_OK = 456,
1: - GM_TXF_MPAUSE = 464,
1: - GM_TXF_MC_OK = 472,
1: - GM_TXO_OK_LO = 480,
1: - GM_TXO_OK_HI = 488,
1: - GM_TXF_64B = 496,
1: - GM_TXF_127B = 504,
1: - GM_TXF_255B = 512,
1: - GM_TXF_511B = 520,
1: - GM_TXF_1023B = 528,
1: - GM_TXF_1518B = 536,
1: - GM_TXF_MAX_SZ = 544,
1: - GM_TXF_COL = 560,
1: - GM_TXF_LAT_COL = 568,
1: - GM_TXF_ABO_COL = 576,
1: - GM_TXF_MUL_COL = 584,
1: - GM_TXF_SNG_COL = 592,
1: - GM_TXE_FIFO_UR = 600,
1: -};
1: -
1: -enum {
1: - GM_GPCR_PROM_ENA = 16384,
1: - GM_GPCR_FC_TX_DIS = 8192,
1: - GM_GPCR_TX_ENA = 4096,
1: - GM_GPCR_RX_ENA = 2048,
1: - GM_GPCR_BURST_ENA = 1024,
1: - GM_GPCR_LOOP_ENA = 512,
1: - GM_GPCR_PART_ENA = 256,
1: - GM_GPCR_GIGS_ENA = 128,
1: - GM_GPCR_FL_PASS = 64,
1: - GM_GPCR_DUP_FULL = 32,
1: - GM_GPCR_FC_RX_DIS = 16,
1: - GM_GPCR_SPEED_100 = 8,
1: - GM_GPCR_AU_DUP_DIS = 4,
1: - GM_GPCR_AU_FCT_DIS = 2,
1: - GM_GPCR_AU_SPD_DIS = 1,
1: -};
1: -
1: -enum {
1: - GM_TXCR_FORCE_JAM = 32768,
1: - GM_TXCR_CRC_DIS = 16384,
1: - GM_TXCR_PAD_DIS = 8192,
1: - GM_TXCR_COL_THR_MSK = 7168,
1: -};
1: -
1: -enum {
1: - GM_RXCR_UCF_ENA = 32768,
1: - GM_RXCR_MCF_ENA = 16384,
1: - GM_RXCR_CRC_DIS = 8192,
1: - GM_RXCR_PASS_FC = 4096,
1: -};
1: -
1: -enum {
1: - GM_TXPA_JAMLEN_MSK = 49152,
1: - GM_TXPA_JAMIPG_MSK = 15872,
1: - GM_TXPA_JAMDAT_MSK = 496,
1: - GM_TXPA_BO_LIM_MSK = 15,
1: - TX_JAM_LEN_DEF = 3,
1: - TX_JAM_IPG_DEF = 11,
1: - TX_IPG_JAM_DEF = 28,
1: - TX_BOF_LIM_DEF = 4,
1: -};
1: -
1: -enum {
1: - GM_SMOD_DATABL_MSK = 63488,
1: - GM_SMOD_LIMIT_4 = 1024,
1: - GM_SMOD_VLAN_ENA = 512,
1: - GM_SMOD_JUMBO_ENA = 256,
1: - GM_NEW_FLOW_CTRL = 64,
1: - GM_SMOD_IPG_MSK = 31,
1: -};
1: -
1: -enum {
1: - GM_SMI_CT_PHY_A_MSK = 63488,
1: - GM_SMI_CT_REG_A_MSK = 1984,
1: - GM_SMI_CT_OP_RD = 32,
1: - GM_SMI_CT_RD_VAL = 16,
1: - GM_SMI_CT_BUSY = 8,
1: -};
1: -
1: -enum {
1: - GM_PAR_MIB_CLR = 32,
1: - GM_PAR_MIB_TST = 16,
1: -};
1: -
1: -enum {
1: - GMR_FS_LEN = 2147418112,
1: - GMR_FS_VLAN = 8192,
1: - GMR_FS_JABBER = 4096,
1: - GMR_FS_UN_SIZE = 2048,
1: - GMR_FS_MC = 1024,
1: - GMR_FS_BC = 512,
1: - GMR_FS_RX_OK = 256,
1: - GMR_FS_GOOD_FC = 128,
1: - GMR_FS_BAD_FC = 64,
1: - GMR_FS_MII_ERR = 32,
1: - GMR_FS_LONG_ERR = 16,
1: - GMR_FS_FRAGMENT = 8,
1: - GMR_FS_CRC_ERR = 2,
1: - GMR_FS_RX_FF_OV = 1,
1: - GMR_FS_ANY_ERR = 6267,
1: -};
1: -
1: -enum {
1: - RX_GCLKMAC_ENA = -2147483648,
1: - RX_GCLKMAC_OFF = 1073741824,
1: - RX_STFW_DIS = 536870912,
1: - RX_STFW_ENA = 268435456,
1: - RX_TRUNC_ON = 134217728,
1: - RX_TRUNC_OFF = 67108864,
1: - RX_VLAN_STRIP_ON = 33554432,
1: - RX_VLAN_STRIP_OFF = 16777216,
1: - RX_MACSEC_FLUSH_ON = 8388608,
1: - RX_MACSEC_FLUSH_OFF = 4194304,
1: - RX_MACSEC_ASF_FLUSH_ON = 2097152,
1: - RX_MACSEC_ASF_FLUSH_OFF = 1048576,
1: - GMF_RX_OVER_ON = 524288,
1: - GMF_RX_OVER_OFF = 262144,
1: - GMF_ASF_RX_OVER_ON = 131072,
1: - GMF_ASF_RX_OVER_OFF = 65536,
1: - GMF_WP_TST_ON = 16384,
1: - GMF_WP_TST_OFF = 8192,
1: - GMF_WP_STEP = 4096,
1: - GMF_RP_TST_ON = 1024,
1: - GMF_RP_TST_OFF = 512,
1: - GMF_RP_STEP = 256,
1: - GMF_RX_F_FL_ON = 128,
1: - GMF_RX_F_FL_OFF = 64,
1: - GMF_CLI_RX_FO = 32,
1: - GMF_CLI_RX_C = 16,
1: - GMF_OPER_ON = 8,
1: - GMF_OPER_OFF = 4,
1: - GMF_RST_CLR = 2,
1: - GMF_RST_SET = 1,
1: - RX_GMF_FL_THR_DEF = 10,
1: - GMF_RX_CTRL_DEF = 136,
1: + PHY_M_FC_AUTO_SEL = 32768,
1: + PHY_M_FC_AN_REG_ACC = 16384,
1: + PHY_M_FC_RESOLUTION = 8192,
1: + PHY_M_SER_IF_AN_BP = 4096,
1: + PHY_M_SER_IF_BP_ST = 2048,
1: + PHY_M_IRQ_POLARITY = 1024,
1: + PHY_M_DIS_AUT_MED = 512,
1: + PHY_M_UNDOC1 = 128,
1: + PHY_M_DTE_POW_STAT = 16,
1: + PHY_M_MODE_MASK = 15,
1: +};
1: +
1: +enum {
1: + PHY_M_FELP_LED2_MSK = 3840,
1: + PHY_M_FELP_LED1_MSK = 240,
1: + PHY_M_FELP_LED0_MSK = 15,
1: +};
1: +
1: +enum {
1: + LED_PAR_CTRL_COLX = 0,
1: + LED_PAR_CTRL_ERROR = 1,
1: + LED_PAR_CTRL_DUPLEX = 2,
1: + LED_PAR_CTRL_DP_COL = 3,
1: + LED_PAR_CTRL_SPEED = 4,
1: + LED_PAR_CTRL_LINK = 5,
1: + LED_PAR_CTRL_TX = 6,
1: + LED_PAR_CTRL_RX = 7,
1: + LED_PAR_CTRL_ACT = 8,
1: + LED_PAR_CTRL_LNK_RX = 9,
1: + LED_PAR_CTRL_LNK_AC = 10,
1: + LED_PAR_CTRL_ACT_BL = 11,
1: + LED_PAR_CTRL_TX_BL = 12,
1: + LED_PAR_CTRL_RX_BL = 13,
1: + LED_PAR_CTRL_COL_BL = 14,
1: + LED_PAR_CTRL_INACT = 15,
1: +};
1: +
1: +enum {
1: + PHY_M_FESC_DIS_WAIT = 4,
1: + PHY_M_FESC_ENA_MCLK = 2,
1: + PHY_M_FESC_SEL_CL_A = 1,
1: +};
1: +
1: +enum {
1: + PHY_M_FIB_FORCE_LNK = 1024,
1: + PHY_M_FIB_SIGD_POL = 512,
1: + PHY_M_FIB_TX_DIS = 8,
1: +};
1: +
1: +enum {
1: + PHY_M_MAC_MD_MSK = 896,
1: + PHY_M_MAC_GMIF_PUP = 8,
1: + PHY_M_MAC_MD_AUTO = 3,
1: + PHY_M_MAC_MD_COPPER = 5,
1: + PHY_M_MAC_MD_1000BX = 7,
1: +};
1: +
1: +enum {
1: + PHY_M_LEDC_LOS_MSK = 61440,
1: + PHY_M_LEDC_INIT_MSK = 3840,
1: + PHY_M_LEDC_STA1_MSK = 240,
1: + PHY_M_LEDC_STA0_MSK = 15,
1: +};
1: +
1: +enum {
1: + GM_GP_STAT = 0,
1: + GM_GP_CTRL = 4,
1: + GM_TX_CTRL = 8,
1: + GM_RX_CTRL = 12,
1: + GM_TX_FLOW_CTRL = 16,
1: + GM_TX_PARAM = 20,
1: + GM_SERIAL_MODE = 24,
1: + GM_SRC_ADDR_1L = 28,
1: + GM_SRC_ADDR_1M = 32,
1: + GM_SRC_ADDR_1H = 36,
1: + GM_SRC_ADDR_2L = 40,
1: + GM_SRC_ADDR_2M = 44,
1: + GM_SRC_ADDR_2H = 48,
1: + GM_MC_ADDR_H1 = 52,
1: + GM_MC_ADDR_H2 = 56,
1: + GM_MC_ADDR_H3 = 60,
1: + GM_MC_ADDR_H4 = 64,
1: + GM_TX_IRQ_SRC = 68,
1: + GM_RX_IRQ_SRC = 72,
1: + GM_TR_IRQ_SRC = 76,
1: + GM_TX_IRQ_MSK = 80,
1: + GM_RX_IRQ_MSK = 84,
1: + GM_TR_IRQ_MSK = 88,
1: + GM_SMI_CTRL = 128,
1: + GM_SMI_DATA = 132,
1: + GM_PHY_ADDR = 136,
1: + GM_MIB_CNT_BASE = 256,
1: + GM_MIB_CNT_END = 604,
1: +};
1: +
1: +enum {
1: + GM_RXF_UC_OK = 256,
1: + GM_RXF_BC_OK = 264,
1: + GM_RXF_MPAUSE = 272,
1: + GM_RXF_MC_OK = 280,
1: + GM_RXF_FCS_ERR = 288,
1: + GM_RXO_OK_LO = 304,
1: + GM_RXO_OK_HI = 312,
1: + GM_RXO_ERR_LO = 320,
1: + GM_RXO_ERR_HI = 328,
1: + GM_RXF_SHT = 336,
1: + GM_RXE_FRAG = 344,
1: + GM_RXF_64B = 352,
1: + GM_RXF_127B = 360,
1: + GM_RXF_255B = 368,
1: + GM_RXF_511B = 376,
1: + GM_RXF_1023B = 384,
1: + GM_RXF_1518B = 392,
1: + GM_RXF_MAX_SZ = 400,
1: + GM_RXF_LNG_ERR = 408,
1: + GM_RXF_JAB_PKT = 416,
1: + GM_RXE_FIFO_OV = 432,
1: + GM_TXF_UC_OK = 448,
1: + GM_TXF_BC_OK = 456,
1: + GM_TXF_MPAUSE = 464,
1: + GM_TXF_MC_OK = 472,
1: + GM_TXO_OK_LO = 480,
1: + GM_TXO_OK_HI = 488,
1: + GM_TXF_64B = 496,
1: + GM_TXF_127B = 504,
1: + GM_TXF_255B = 512,
1: + GM_TXF_511B = 520,
1: + GM_TXF_1023B = 528,
1: + GM_TXF_1518B = 536,
1: + GM_TXF_MAX_SZ = 544,
1: + GM_TXF_COL = 560,
1: + GM_TXF_LAT_COL = 568,
1: + GM_TXF_ABO_COL = 576,
1: + GM_TXF_MUL_COL = 584,
1: + GM_TXF_SNG_COL = 592,
1: + GM_TXE_FIFO_UR = 600,
1: +};
1: +
1: +enum {
1: + GM_GPCR_PROM_ENA = 16384,
1: + GM_GPCR_FC_TX_DIS = 8192,
1: + GM_GPCR_TX_ENA = 4096,
1: + GM_GPCR_RX_ENA = 2048,
1: + GM_GPCR_BURST_ENA = 1024,
1: + GM_GPCR_LOOP_ENA = 512,
1: + GM_GPCR_PART_ENA = 256,
1: + GM_GPCR_GIGS_ENA = 128,
1: + GM_GPCR_FL_PASS = 64,
1: + GM_GPCR_DUP_FULL = 32,
1: + GM_GPCR_FC_RX_DIS = 16,
1: + GM_GPCR_SPEED_100 = 8,
1: + GM_GPCR_AU_DUP_DIS = 4,
1: + GM_GPCR_AU_FCT_DIS = 2,
1: + GM_GPCR_AU_SPD_DIS = 1,
1: +};
1: +
1: +enum {
1: + GM_TXCR_FORCE_JAM = 32768,
1: + GM_TXCR_CRC_DIS = 16384,
1: + GM_TXCR_PAD_DIS = 8192,
1: + GM_TXCR_COL_THR_MSK = 7168,
1: +};
1: +
1: +enum {
1: + GM_RXCR_UCF_ENA = 32768,
1: + GM_RXCR_MCF_ENA = 16384,
1: + GM_RXCR_CRC_DIS = 8192,
1: + GM_RXCR_PASS_FC = 4096,
1: +};
1: +
1: +enum {
1: + GM_TXPA_JAMLEN_MSK = 49152,
1: + GM_TXPA_JAMIPG_MSK = 15872,
1: + GM_TXPA_JAMDAT_MSK = 496,
1: + GM_TXPA_BO_LIM_MSK = 15,
1: + TX_JAM_LEN_DEF = 3,
1: + TX_JAM_IPG_DEF = 11,
1: + TX_IPG_JAM_DEF = 28,
1: + TX_BOF_LIM_DEF = 4,
1: +};
1: +
1: +enum {
1: + GM_SMOD_DATABL_MSK = 63488,
1: + GM_SMOD_LIMIT_4 = 1024,
1: + GM_SMOD_VLAN_ENA = 512,
1: + GM_SMOD_JUMBO_ENA = 256,
1: + GM_NEW_FLOW_CTRL = 64,
1: + GM_SMOD_IPG_MSK = 31,
1: +};
1: +
1: +enum {
1: + GM_SMI_CT_PHY_A_MSK = 63488,
1: + GM_SMI_CT_REG_A_MSK = 1984,
1: + GM_SMI_CT_OP_RD = 32,
1: + GM_SMI_CT_RD_VAL = 16,
1: + GM_SMI_CT_BUSY = 8,
1: +};
1: +
1: +enum {
1: + GM_PAR_MIB_CLR = 32,
1: + GM_PAR_MIB_TST = 16,
1: +};
1: +
1: +enum {
1: + GMR_FS_LEN = 2147418112,
1: + GMR_FS_VLAN = 8192,
1: + GMR_FS_JABBER = 4096,
1: + GMR_FS_UN_SIZE = 2048,
1: + GMR_FS_MC = 1024,
1: + GMR_FS_BC = 512,
1: + GMR_FS_RX_OK = 256,
1: + GMR_FS_GOOD_FC = 128,
1: + GMR_FS_BAD_FC = 64,
1: + GMR_FS_MII_ERR = 32,
1: + GMR_FS_LONG_ERR = 16,
1: + GMR_FS_FRAGMENT = 8,
1: + GMR_FS_CRC_ERR = 2,
1: + GMR_FS_RX_FF_OV = 1,
1: + GMR_FS_ANY_ERR = 6267,
1: +};
1: +
1: +enum {
1: + RX_GCLKMAC_ENA = -2147483648,
1: + RX_GCLKMAC_OFF = 1073741824,
1: + RX_STFW_DIS = 536870912,
1: + RX_STFW_ENA = 268435456,
1: + RX_TRUNC_ON = 134217728,
1: + RX_TRUNC_OFF = 67108864,
1: + RX_VLAN_STRIP_ON = 33554432,
1: + RX_VLAN_STRIP_OFF = 16777216,
1: + RX_MACSEC_FLUSH_ON = 8388608,
1: + RX_MACSEC_FLUSH_OFF = 4194304,
1: + RX_MACSEC_ASF_FLUSH_ON = 2097152,
1: + RX_MACSEC_ASF_FLUSH_OFF = 1048576,
1: + GMF_RX_OVER_ON = 524288,
1: + GMF_RX_OVER_OFF = 262144,
1: + GMF_ASF_RX_OVER_ON = 131072,
1: + GMF_ASF_RX_OVER_OFF = 65536,
1: + GMF_WP_TST_ON = 16384,
1: + GMF_WP_TST_OFF = 8192,
1: + GMF_WP_STEP = 4096,
1: + GMF_RP_TST_ON = 1024,
1: + GMF_RP_TST_OFF = 512,
1: + GMF_RP_STEP = 256,
1: + GMF_RX_F_FL_ON = 128,
1: + GMF_RX_F_FL_OFF = 64,
1: + GMF_CLI_RX_FO = 32,
1: + GMF_CLI_RX_C = 16,
1: + GMF_OPER_ON = 8,
1: + GMF_OPER_OFF = 4,
1: + GMF_RST_CLR = 2,
1: + GMF_RST_SET = 1,
1: + RX_GMF_FL_THR_DEF = 10,
1: + GMF_RX_CTRL_DEF = 136,
1: };
1:
1: -enum {
1: - RX_IPV6_SA_MOB_ENA = 512,
1: - RX_IPV6_SA_MOB_DIS = 256,
1: - RX_IPV6_DA_MOB_ENA = 128,
1: - RX_IPV6_DA_MOB_DIS = 64,
1: - RX_PTR_SYNCDLY_ENA = 32,
1: - RX_PTR_SYNCDLY_DIS = 16,
1: - RX_ASF_NEWFLAG_ENA = 8,
1: - RX_ASF_NEWFLAG_DIS = 4,
1: - RX_FLSH_MISSPKT_ENA = 2,
1: - RX_FLSH_MISSPKT_DIS = 1,
1: -};
1: -
1: -enum {
1: - TX_DYN_WM_ENA = 3,
1: -};
1: -
1: -enum {
1: - TX_STFW_DIS = -2147483648,
1: - TX_STFW_ENA = 1073741824,
1: - TX_VLAN_TAG_ON = 33554432,
1: - TX_VLAN_TAG_OFF = 16777216,
1: - TX_PCI_JUM_ENA = 8388608,
1: - TX_PCI_JUM_DIS = 4194304,
1: - GMF_WSP_TST_ON = 262144,
1: - GMF_WSP_TST_OFF = 131072,
1: - GMF_WSP_STEP = 65536,
1: - GMF_CLI_TX_FU = 64,
1: - GMF_CLI_TX_FC = 32,
1: - GMF_CLI_TX_PE = 16,
1: -};
1: -
1: -enum {
1: - GMT_ST_START = 4,
1: - GMT_ST_STOP = 2,
1: - GMT_ST_CLR_IRQ = 1,
1: -};
1: -
1: -enum {
1: - Y2_ASF_OS_PRES = 16,
1: - Y2_ASF_RESET = 8,
1: - Y2_ASF_RUNNING = 4,
1: - Y2_ASF_CLR_HSTI = 2,
1: - Y2_ASF_IRQ = 1,
1: - Y2_ASF_UC_STATE = 12,
1: - Y2_ASF_CLK_HALT = 0,
1: -};
1: -
1: -enum {
1: - HCU_CCSR_SMBALERT_MONITOR = 134217728,
1: - HCU_CCSR_CPU_SLEEP = 67108864,
1: - HCU_CCSR_CS_TO = 33554432,
1: - HCU_CCSR_WDOG = 16777216,
1: - HCU_CCSR_CLR_IRQ_HOST = 131072,
1: - HCU_CCSR_SET_IRQ_HCU = 65536,
1: - HCU_CCSR_AHB_RST = 512,
1: - HCU_CCSR_CPU_RST_MODE = 256,
1: - HCU_CCSR_SET_SYNC_CPU = 32,
1: - HCU_CCSR_CPU_CLK_DIVIDE_MSK = 24,
1: - HCU_CCSR_CPU_CLK_DIVIDE_BASE = 8,
1: - HCU_CCSR_OS_PRSNT = 4,
1: - HCU_CCSR_UC_STATE_MSK = 3,
1: - HCU_CCSR_UC_STATE_BASE = 1,
1: - HCU_CCSR_ASF_RESET = 0,
1: - HCU_CCSR_ASF_HALTED = 2,
1: - HCU_CCSR_ASF_RUNNING = 1,
1: -};
1: -
1: -enum {
1: - SC_STAT_CLR_IRQ = 16,
1: - SC_STAT_OP_ON = 8,
1: - SC_STAT_OP_OFF = 4,
1: - SC_STAT_RST_CLR = 2,
1: - SC_STAT_RST_SET = 1,
1: -};
1: -
1: -enum {
1: - GMC_SET_RST = 32768,
1: - GMC_SEC_RST_OFF = 16384,
1: - GMC_BYP_MACSECRX_ON = 8192,
1: - GMC_BYP_MACSECRX_OFF = 4096,
1: - GMC_BYP_MACSECTX_ON = 2048,
1: - GMC_BYP_MACSECTX_OFF = 1024,
1: - GMC_BYP_RETR_ON = 512,
1: - GMC_BYP_RETR_OFF = 256,
1: - GMC_H_BURST_ON = 128,
1: - GMC_H_BURST_OFF = 64,
1: - GMC_F_LOOPB_ON = 32,
1: - GMC_F_LOOPB_OFF = 16,
1: - GMC_PAUSE_ON = 8,
1: - GMC_PAUSE_OFF = 4,
1: - GMC_RST_CLR = 2,
1: - GMC_RST_SET = 1,
1: -};
1: -
1: -enum {
1: - GPC_TX_PAUSE = 1073741824,
1: - GPC_RX_PAUSE = 536870912,
1: - GPC_SPEED = 402653184,
1: - GPC_LINK = 67108864,
1: - GPC_DUPLEX = 33554432,
1: - GPC_CLOCK = 16777216,
1: - GPC_PDOWN = 8388608,
1: - GPC_TSTMODE = 4194304,
1: - GPC_REG18 = 2097152,
1: - GPC_REG12SEL = 1572864,
1: - GPC_REG18SEL = 393216,
1: - GPC_SPILOCK = 65536,
1: - GPC_LEDMUX = 49152,
1: - GPC_INTPOL = 8192,
1: - GPC_DETECT = 4096,
1: - GPC_1000HD = 2048,
1: - GPC_SLAVE = 1024,
1: - GPC_PAUSE = 512,
1: - GPC_LEDCTL = 192,
1: - GPC_RST_CLR = 2,
1: - GPC_RST_SET = 1,
1: -};
1: -
1: -enum {
1: - GM_IS_TX_CO_OV = 32,
1: - GM_IS_RX_CO_OV = 16,
1: - GM_IS_TX_FF_UR = 8,
1: - GM_IS_TX_COMPL = 4,
1: - GM_IS_RX_FF_OR = 2,
1: - GM_IS_RX_COMPL = 1,
1: -};
1: -
1: -enum {
1: - GMLC_RST_CLR = 2,
1: - GMLC_RST_SET = 1,
1: -};
1: -
1: -enum {
1: - WOL_CTL_LINK_CHG_OCC = 32768,
1: - WOL_CTL_MAGIC_PKT_OCC = 16384,
1: - WOL_CTL_PATTERN_OCC = 8192,
1: - WOL_CTL_CLEAR_RESULT = 4096,
1: - WOL_CTL_ENA_PME_ON_LINK_CHG = 2048,
1: - WOL_CTL_DIS_PME_ON_LINK_CHG = 1024,
1: - WOL_CTL_ENA_PME_ON_MAGIC_PKT = 512,
1: - WOL_CTL_DIS_PME_ON_MAGIC_PKT = 256,
1: - WOL_CTL_ENA_PME_ON_PATTERN = 128,
1: - WOL_CTL_DIS_PME_ON_PATTERN = 64,
1: - WOL_CTL_ENA_LINK_CHG_UNIT = 32,
1: - WOL_CTL_DIS_LINK_CHG_UNIT = 16,
1: - WOL_CTL_ENA_MAGIC_PKT_UNIT = 8,
1: - WOL_CTL_DIS_MAGIC_PKT_UNIT = 4,
1: - WOL_CTL_ENA_PATTERN_UNIT = 2,
1: - WOL_CTL_DIS_PATTERN_UNIT = 1,
1: -};
1: -
1: -enum {
1: - UDPTCP = 1,
1: - CALSUM = 2,
1: - WR_SUM = 4,
1: - INIT_SUM = 8,
1: - LOCK_SUM = 16,
1: - INS_VLAN = 32,
1: - EOP = 128,
1: -};
1: -
1: -enum {
1: - HW_OWNER = 128,
1: - OP_TCPWRITE = 17,
1: - OP_TCPSTART = 18,
1: - OP_TCPINIT = 20,
1: - OP_TCPLCK = 24,
1: - OP_TCPCHKSUM = 18,
1: - OP_TCPIS = 22,
1: - OP_TCPLW = 25,
1: - OP_TCPLSW = 27,
1: - OP_TCPLISW = 31,
1: - OP_ADDR64 = 33,
1: - OP_VLAN = 34,
1: - OP_ADDR64VLAN = 35,
1: - OP_LRGLEN = 36,
1: - OP_LRGLENVLAN = 38,
1: - OP_MSS = 40,
1: - OP_MSSVLAN = 42,
1: - OP_BUFFER = 64,
1: - OP_PACKET = 65,
1: - OP_LARGESEND = 67,
1: - OP_LSOV2 = 69,
1: - OP_RXSTAT = 96,
1: - OP_RXTIMESTAMP = 97,
1: - OP_RXVLAN = 98,
1: - OP_RXCHKS = 100,
1: - OP_RXCHKSVLAN = 102,
1: - OP_RXTIMEVLAN = 99,
1: - OP_RSS_HASH = 101,
1: - OP_TXINDEXLE = 104,
1: - OP_MACSEC = 108,
1: - OP_PUTIDX = 112,
1: +enum {
1: + RX_IPV6_SA_MOB_ENA = 512,
1: + RX_IPV6_SA_MOB_DIS = 256,
1: + RX_IPV6_DA_MOB_ENA = 128,
1: + RX_IPV6_DA_MOB_DIS = 64,
1: + RX_PTR_SYNCDLY_ENA = 32,
1: + RX_PTR_SYNCDLY_DIS = 16,
1: + RX_ASF_NEWFLAG_ENA = 8,
1: + RX_ASF_NEWFLAG_DIS = 4,
1: + RX_FLSH_MISSPKT_ENA = 2,
1: + RX_FLSH_MISSPKT_DIS = 1,
1: +};
1: +
1: +enum {
1: + TX_DYN_WM_ENA = 3,
1: +};
1: +
1: +enum {
1: + TX_STFW_DIS = -2147483648,
1: + TX_STFW_ENA = 1073741824,
1: + TX_VLAN_TAG_ON = 33554432,
1: + TX_VLAN_TAG_OFF = 16777216,
1: + TX_PCI_JUM_ENA = 8388608,
1: + TX_PCI_JUM_DIS = 4194304,
1: + GMF_WSP_TST_ON = 262144,
1: + GMF_WSP_TST_OFF = 131072,
1: + GMF_WSP_STEP = 65536,
1: + GMF_CLI_TX_FU = 64,
1: + GMF_CLI_TX_FC = 32,
1: + GMF_CLI_TX_PE = 16,
1: +};
1: +
1: +enum {
1: + GMT_ST_START = 4,
1: + GMT_ST_STOP = 2,
1: + GMT_ST_CLR_IRQ = 1,
1: +};
1: +
1: +enum {
1: + Y2_ASF_OS_PRES = 16,
1: + Y2_ASF_RESET = 8,
1: + Y2_ASF_RUNNING = 4,
1: + Y2_ASF_CLR_HSTI = 2,
1: + Y2_ASF_IRQ = 1,
1: + Y2_ASF_UC_STATE = 12,
1: + Y2_ASF_CLK_HALT = 0,
1: +};
1: +
1: +enum {
1: + HCU_CCSR_SMBALERT_MONITOR = 134217728,
1: + HCU_CCSR_CPU_SLEEP = 67108864,
1: + HCU_CCSR_CS_TO = 33554432,
1: + HCU_CCSR_WDOG = 16777216,
1: + HCU_CCSR_CLR_IRQ_HOST = 131072,
1: + HCU_CCSR_SET_IRQ_HCU = 65536,
1: + HCU_CCSR_AHB_RST = 512,
1: + HCU_CCSR_CPU_RST_MODE = 256,
1: + HCU_CCSR_SET_SYNC_CPU = 32,
1: + HCU_CCSR_CPU_CLK_DIVIDE_MSK = 24,
1: + HCU_CCSR_CPU_CLK_DIVIDE_BASE = 8,
1: + HCU_CCSR_OS_PRSNT = 4,
1: + HCU_CCSR_UC_STATE_MSK = 3,
1: + HCU_CCSR_UC_STATE_BASE = 1,
1: + HCU_CCSR_ASF_RESET = 0,
1: + HCU_CCSR_ASF_HALTED = 2,
1: + HCU_CCSR_ASF_RUNNING = 1,
1: +};
1: +
1: +enum {
1: + SC_STAT_CLR_IRQ = 16,
1: + SC_STAT_OP_ON = 8,
1: + SC_STAT_OP_OFF = 4,
1: + SC_STAT_RST_CLR = 2,
1: + SC_STAT_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + GMC_SET_RST = 32768,
1: + GMC_SEC_RST_OFF = 16384,
1: + GMC_BYP_MACSECRX_ON = 8192,
1: + GMC_BYP_MACSECRX_OFF = 4096,
1: + GMC_BYP_MACSECTX_ON = 2048,
1: + GMC_BYP_MACSECTX_OFF = 1024,
1: + GMC_BYP_RETR_ON = 512,
1: + GMC_BYP_RETR_OFF = 256,
1: + GMC_H_BURST_ON = 128,
1: + GMC_H_BURST_OFF = 64,
1: + GMC_F_LOOPB_ON = 32,
1: + GMC_F_LOOPB_OFF = 16,
1: + GMC_PAUSE_ON = 8,
1: + GMC_PAUSE_OFF = 4,
1: + GMC_RST_CLR = 2,
1: + GMC_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + GPC_TX_PAUSE = 1073741824,
1: + GPC_RX_PAUSE = 536870912,
1: + GPC_SPEED = 402653184,
1: + GPC_LINK = 67108864,
1: + GPC_DUPLEX = 33554432,
1: + GPC_CLOCK = 16777216,
1: + GPC_PDOWN = 8388608,
1: + GPC_TSTMODE = 4194304,
1: + GPC_REG18 = 2097152,
1: + GPC_REG12SEL = 1572864,
1: + GPC_REG18SEL = 393216,
1: + GPC_SPILOCK = 65536,
1: + GPC_LEDMUX = 49152,
1: + GPC_INTPOL = 8192,
1: + GPC_DETECT = 4096,
1: + GPC_1000HD = 2048,
1: + GPC_SLAVE = 1024,
1: + GPC_PAUSE = 512,
1: + GPC_LEDCTL = 192,
1: + GPC_RST_CLR = 2,
1: + GPC_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + GM_IS_TX_CO_OV = 32,
1: + GM_IS_RX_CO_OV = 16,
1: + GM_IS_TX_FF_UR = 8,
1: + GM_IS_TX_COMPL = 4,
1: + GM_IS_RX_FF_OR = 2,
1: + GM_IS_RX_COMPL = 1,
1: +};
1: +
1: +enum {
1: + GMLC_RST_CLR = 2,
1: + GMLC_RST_SET = 1,
1: +};
1: +
1: +enum {
1: + WOL_CTL_LINK_CHG_OCC = 32768,
1: + WOL_CTL_MAGIC_PKT_OCC = 16384,
1: + WOL_CTL_PATTERN_OCC = 8192,
1: + WOL_CTL_CLEAR_RESULT = 4096,
1: + WOL_CTL_ENA_PME_ON_LINK_CHG = 2048,
1: + WOL_CTL_DIS_PME_ON_LINK_CHG = 1024,
1: + WOL_CTL_ENA_PME_ON_MAGIC_PKT = 512,
1: + WOL_CTL_DIS_PME_ON_MAGIC_PKT = 256,
1: + WOL_CTL_ENA_PME_ON_PATTERN = 128,
1: + WOL_CTL_DIS_PME_ON_PATTERN = 64,
1: + WOL_CTL_ENA_LINK_CHG_UNIT = 32,
1: + WOL_CTL_DIS_LINK_CHG_UNIT = 16,
1: + WOL_CTL_ENA_MAGIC_PKT_UNIT = 8,
1: + WOL_CTL_DIS_MAGIC_PKT_UNIT = 4,
1: + WOL_CTL_ENA_PATTERN_UNIT = 2,
1: + WOL_CTL_DIS_PATTERN_UNIT = 1,
1: +};
1: +
1: +enum {
1: + UDPTCP = 1,
1: + CALSUM = 2,
1: + WR_SUM = 4,
1: + INIT_SUM = 8,
1: + LOCK_SUM = 16,
1: + INS_VLAN = 32,
1: + EOP = 128,
1: +};
1: +
1: +enum {
1: + HW_OWNER = 128,
1: + OP_TCPWRITE = 17,
1: + OP_TCPSTART = 18,
1: + OP_TCPINIT = 20,
1: + OP_TCPLCK = 24,
1: + OP_TCPCHKSUM = 18,
1: + OP_TCPIS = 22,
1: + OP_TCPLW = 25,
1: + OP_TCPLSW = 27,
1: + OP_TCPLISW = 31,
1: + OP_ADDR64 = 33,
1: + OP_VLAN = 34,
1: + OP_ADDR64VLAN = 35,
1: + OP_LRGLEN = 36,
1: + OP_LRGLENVLAN = 38,
1: + OP_MSS = 40,
1: + OP_MSSVLAN = 42,
1: + OP_BUFFER = 64,
1: + OP_PACKET = 65,
1: + OP_LARGESEND = 67,
1: + OP_LSOV2 = 69,
1: + OP_RXSTAT = 96,
1: + OP_RXTIMESTAMP = 97,
1: + OP_RXVLAN = 98,
1: + OP_RXCHKS = 100,
1: + OP_RXCHKSVLAN = 102,
1: + OP_RXTIMEVLAN = 99,
1: + OP_RSS_HASH = 101,
1: + OP_TXINDEXLE = 104,
1: + OP_MACSEC = 108,
1: + OP_PUTIDX = 112,
1: };
1:
1: enum status_css {
1: - CSS_TCPUDPCSOK = 128,
1: - CSS_ISUDP = 64,
1: - CSS_ISTCP = 32,
1: - CSS_ISIPFRAG = 16,
1: - CSS_ISIPV6 = 8,
1: - CSS_IPV4CSUMOK = 4,
1: - CSS_ISIPV4 = 2,
1: - CSS_LINK_BIT = 1,
1: + CSS_TCPUDPCSOK = 128,
1: + CSS_ISUDP = 64,
1: + CSS_ISTCP = 32,
1: + CSS_ISIPFRAG = 16,
1: + CSS_ISIPV6 = 8,
1: + CSS_IPV4CSUMOK = 4,
1: + CSS_ISIPV4 = 2,
1: + CSS_LINK_BIT = 1,
1: };
1:
1: struct sky2_tx_le {
1: - __le32 addr;
1: - __le16 length;
1: - u8 ctrl;
1: - u8 opcode;
1: + __le32 addr;
1: + __le16 length;
1: + u8 ctrl;
1: + u8 opcode;
1: };
1:
1: struct sky2_rx_le {
1: - __le32 addr;
1: - __le16 length;
1: - u8 ctrl;
1: - u8 opcode;
1: + __le32 addr;
1: + __le16 length;
1: + u8 ctrl;
1: + u8 opcode;
1: };
1:
1: struct sky2_status_le {
1: - __le32 status;
1: - __le16 length;
1: - u8 css;
1: - u8 opcode;
1: + __le32 status;
1: + __le16 length;
1: + u8 css;
1: + u8 opcode;
1: };
1:
1: struct tx_ring_info {
1: - struct sk_buff *skb;
1: - long unsigned int flags;
1: - dma_addr_t mapaddr;
1: - __u32 maplen;
1: + struct sk_buff *skb;
1: + long unsigned int flags;
1: + dma_addr_t mapaddr;
1: + __u32 maplen;
1: };
1:
1: struct rx_ring_info {
1: - struct sk_buff *skb;
1: - dma_addr_t data_addr;
1: - __u32 data_size;
1: - dma_addr_t frag_addr[2];
1: + struct sk_buff *skb;
1: + dma_addr_t data_addr;
1: + __u32 data_size;
1: + dma_addr_t frag_addr[2];
1: };
1:
1: enum flow_control {
1: - FC_NONE = 0,
1: - FC_TX = 1,
1: - FC_RX = 2,
1: - FC_BOTH = 3,
1: + FC_NONE = 0,
1: + FC_TX = 1,
1: + FC_RX = 2,
1: + FC_BOTH = 3,
1: };
1:
1: struct sky2_stats {
1: - struct u64_stats_sync syncp;
1: - u64 packets;
1: - u64 bytes;
1: + struct u64_stats_sync syncp;
1: + u64 packets;
1: + u64 bytes;
1: };
1:
1: struct sky2_hw;
1:
1: struct sky2_port {
1: - struct sky2_hw *hw;
1: - struct net_device *netdev;
1: - unsigned int port;
1: - u32 msg_enable;
1: - spinlock_t phy_lock;
1: - struct tx_ring_info *tx_ring;
1: - struct sky2_tx_le *tx_le;
1: - struct sky2_stats tx_stats;
1: - u16 tx_ring_size;
1: - u16 tx_cons;
1: - u16 tx_prod;
1: - u16 tx_next;
1: - u16 tx_pending;
1: - u16 tx_last_mss;
1: - u32 tx_last_upper;
1: - u32 tx_tcpsum;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct rx_ring_info *rx_ring;
1: - struct sky2_rx_le *rx_le;
1: - struct sky2_stats rx_stats;
1: - u16 rx_next;
1: - u16 rx_put;
1: - u16 rx_pending;
1: - u16 rx_data_size;
1: - u16 rx_nfrags;
1: - long unsigned int last_rx;
1: - struct {
1: - long unsigned int last;
1: - u32 mac_rp;
1: - u8 mac_lev;
1: - u8 fifo_rp;
1: - u8 fifo_lev;
1: - } check;
1: - dma_addr_t rx_le_map;
1: - dma_addr_t tx_le_map;
1: - u16 advertising;
1: - u16 speed;
1: - u8 wol;
1: - u8 duplex;
1: - u16 flags;
1: - enum flow_control flow_mode;
1: - enum flow_control flow_status;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct sky2_hw *hw;
1: + struct net_device *netdev;
1: + unsigned int port;
1: + u32 msg_enable;
1: + spinlock_t phy_lock;
1: + struct tx_ring_info *tx_ring;
1: + struct sky2_tx_le *tx_le;
1: + struct sky2_stats tx_stats;
1: + u16 tx_ring_size;
1: + u16 tx_cons;
1: + u16 tx_prod;
1: + u16 tx_next;
1: + u16 tx_pending;
1: + u16 tx_last_mss;
1: + u32 tx_last_upper;
1: + u32 tx_tcpsum;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct rx_ring_info *rx_ring;
1: + struct sky2_rx_le *rx_le;
1: + struct sky2_stats rx_stats;
1: + u16 rx_next;
1: + u16 rx_put;
1: + u16 rx_pending;
1: + u16 rx_data_size;
1: + u16 rx_nfrags;
1: + long unsigned int last_rx;
1: + struct {
1: + long unsigned int last;
1: + u32 mac_rp;
1: + u8 mac_lev;
1: + u8 fifo_rp;
1: + u8 fifo_lev;
1: + } check;
1: + dma_addr_t rx_le_map;
1: + dma_addr_t tx_le_map;
1: + u16 advertising;
1: + u16 speed;
1: + u8 wol;
1: + u8 duplex;
1: + u16 flags;
1: + enum flow_control flow_mode;
1: + enum flow_control flow_status;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct sky2_hw {
1: - void *regs;
1: - struct pci_dev *pdev;
1: - struct napi_struct napi;
1: - struct net_device *dev[2];
1: - long unsigned int flags;
1: - u8 chip_id;
1: - u8 chip_rev;
1: - u8 pmd_type;
1: - u8 ports;
1: - struct sky2_status_le *st_le;
1: - u32 st_size;
1: - u32 st_idx;
1: - dma_addr_t st_dma;
1: - struct timer_list watchdog_timer;
1: - struct work_struct restart_work;
1: - wait_queue_head_t msi_wait;
1: - char irq_name[0];
1: + void *regs;
1: + struct pci_dev *pdev;
1: + struct napi_struct napi;
1: + struct net_device *dev[2];
1: + long unsigned int flags;
1: + u8 chip_id;
1: + u8 chip_rev;
1: + u8 pmd_type;
1: + u8 ports;
1: + struct sky2_status_le *st_le;
1: + u32 st_size;
1: + u32 st_idx;
1: + dma_addr_t st_dma;
1: + struct timer_list watchdog_timer;
1: + struct work_struct restart_work;
1: + wait_queue_head_t msi_wait;
1: + char irq_name[0];
1: };
1:
1: struct sky2_stat {
1: - char name[32];
1: - u16 offset;
1: + char name[32];
1: + u16 offset;
1: };
1:
1: struct vlan_ethhdr {
1: - unsigned char h_dest[6];
1: - unsigned char h_source[6];
1: - __be16 h_vlan_proto;
1: - __be16 h_vlan_TCI;
1: - __be16 h_vlan_encapsulated_proto;
1: -};
1: -
1: -enum {
1: - NvRegIrqStatus = 0,
1: - NvRegIrqMask = 4,
1: - NvRegUnknownSetupReg6 = 8,
1: - NvRegPollingInterval = 12,
1: - NvRegMSIMap0 = 32,
1: - NvRegMSIMap1 = 36,
1: - NvRegMSIIrqMask = 48,
1: - NvRegMisc1 = 128,
1: - NvRegMacReset = 52,
1: - NvRegTransmitterControl = 132,
1: - NvRegTransmitterStatus = 136,
1: - NvRegPacketFilterFlags = 140,
1: - NvRegOffloadConfig = 144,
1: - NvRegReceiverControl = 148,
1: - NvRegReceiverStatus = 152,
1: - NvRegSlotTime = 156,
1: - NvRegTxDeferral = 160,
1: - NvRegRxDeferral = 164,
1: - NvRegMacAddrA = 168,
1: - NvRegMacAddrB = 172,
1: - NvRegMulticastAddrA = 176,
1: - NvRegMulticastAddrB = 180,
1: - NvRegMulticastMaskA = 184,
1: - NvRegMulticastMaskB = 188,
1: - NvRegPhyInterface = 192,
1: - NvRegBackOffControl = 196,
1: - NvRegTxRingPhysAddr = 256,
1: - NvRegRxRingPhysAddr = 260,
1: - NvRegRingSizes = 264,
1: - NvRegTransmitPoll = 268,
1: - NvRegLinkSpeed = 272,
1: - NvRegUnknownSetupReg5 = 304,
1: - NvRegTxWatermark = 316,
1: - NvRegTxRxControl = 324,
1: - NvRegTxRingPhysAddrHigh = 328,
1: - NvRegRxRingPhysAddrHigh = 332,
1: - NvRegTxPauseFrame = 368,
1: - NvRegTxPauseFrameLimit = 372,
1: - NvRegMIIStatus = 384,
1: - NvRegMIIMask = 388,
1: - NvRegAdapterControl = 392,
1: - NvRegMIISpeed = 396,
1: - NvRegMIIControl = 400,
1: - NvRegMIIData = 404,
1: - NvRegTxUnicast = 416,
1: - NvRegTxMulticast = 420,
1: - NvRegTxBroadcast = 424,
1: - NvRegWakeUpFlags = 512,
1: - NvRegMgmtUnitGetVersion = 516,
1: - NvRegMgmtUnitVersion = 520,
1: - NvRegPowerCap = 616,
1: - NvRegPowerState = 620,
1: - NvRegMgmtUnitControl = 632,
1: - NvRegTxCnt = 640,
1: - NvRegTxZeroReXmt = 644,
1: - NvRegTxOneReXmt = 648,
1: - NvRegTxManyReXmt = 652,
1: - NvRegTxLateCol = 656,
1: - NvRegTxUnderflow = 660,
1: - NvRegTxLossCarrier = 664,
1: - NvRegTxExcessDef = 668,
1: - NvRegTxRetryErr = 672,
1: - NvRegRxFrameErr = 676,
1: - NvRegRxExtraByte = 680,
1: - NvRegRxLateCol = 684,
1: - NvRegRxRunt = 688,
1: - NvRegRxFrameTooLong = 692,
1: - NvRegRxOverflow = 696,
1: - NvRegRxFCSErr = 700,
1: - NvRegRxFrameAlignErr = 704,
1: - NvRegRxLenErr = 708,
1: - NvRegRxUnicast = 712,
1: - NvRegRxMulticast = 716,
1: - NvRegRxBroadcast = 720,
1: - NvRegTxDef = 724,
1: - NvRegTxFrame = 728,
1: - NvRegRxCnt = 732,
1: - NvRegTxPause = 736,
1: - NvRegRxPause = 740,
1: - NvRegRxDropFrame = 744,
1: - NvRegVlanControl = 768,
1: - NvRegMSIXMap0 = 992,
1: - NvRegMSIXMap1 = 996,
1: - NvRegMSIXIrqStatus = 1008,
1: - NvRegPowerState2 = 1536,
1: + unsigned char h_dest[6];
1: + unsigned char h_source[6];
1: + __be16 h_vlan_proto;
1: + __be16 h_vlan_TCI;
1: + __be16 h_vlan_encapsulated_proto;
1: +};
1: +
1: +enum {
1: + NvRegIrqStatus = 0,
1: + NvRegIrqMask = 4,
1: + NvRegUnknownSetupReg6 = 8,
1: + NvRegPollingInterval = 12,
1: + NvRegMSIMap0 = 32,
1: + NvRegMSIMap1 = 36,
1: + NvRegMSIIrqMask = 48,
1: + NvRegMisc1 = 128,
1: + NvRegMacReset = 52,
1: + NvRegTransmitterControl = 132,
1: + NvRegTransmitterStatus = 136,
1: + NvRegPacketFilterFlags = 140,
1: + NvRegOffloadConfig = 144,
1: + NvRegReceiverControl = 148,
1: + NvRegReceiverStatus = 152,
1: + NvRegSlotTime = 156,
1: + NvRegTxDeferral = 160,
1: + NvRegRxDeferral = 164,
1: + NvRegMacAddrA = 168,
1: + NvRegMacAddrB = 172,
1: + NvRegMulticastAddrA = 176,
1: + NvRegMulticastAddrB = 180,
1: + NvRegMulticastMaskA = 184,
1: + NvRegMulticastMaskB = 188,
1: + NvRegPhyInterface = 192,
1: + NvRegBackOffControl = 196,
1: + NvRegTxRingPhysAddr = 256,
1: + NvRegRxRingPhysAddr = 260,
1: + NvRegRingSizes = 264,
1: + NvRegTransmitPoll = 268,
1: + NvRegLinkSpeed = 272,
1: + NvRegUnknownSetupReg5 = 304,
1: + NvRegTxWatermark = 316,
1: + NvRegTxRxControl = 324,
1: + NvRegTxRingPhysAddrHigh = 328,
1: + NvRegRxRingPhysAddrHigh = 332,
1: + NvRegTxPauseFrame = 368,
1: + NvRegTxPauseFrameLimit = 372,
1: + NvRegMIIStatus = 384,
1: + NvRegMIIMask = 388,
1: + NvRegAdapterControl = 392,
1: + NvRegMIISpeed = 396,
1: + NvRegMIIControl = 400,
1: + NvRegMIIData = 404,
1: + NvRegTxUnicast = 416,
1: + NvRegTxMulticast = 420,
1: + NvRegTxBroadcast = 424,
1: + NvRegWakeUpFlags = 512,
1: + NvRegMgmtUnitGetVersion = 516,
1: + NvRegMgmtUnitVersion = 520,
1: + NvRegPowerCap = 616,
1: + NvRegPowerState = 620,
1: + NvRegMgmtUnitControl = 632,
1: + NvRegTxCnt = 640,
1: + NvRegTxZeroReXmt = 644,
1: + NvRegTxOneReXmt = 648,
1: + NvRegTxManyReXmt = 652,
1: + NvRegTxLateCol = 656,
1: + NvRegTxUnderflow = 660,
1: + NvRegTxLossCarrier = 664,
1: + NvRegTxExcessDef = 668,
1: + NvRegTxRetryErr = 672,
1: + NvRegRxFrameErr = 676,
1: + NvRegRxExtraByte = 680,
1: + NvRegRxLateCol = 684,
1: + NvRegRxRunt = 688,
1: + NvRegRxFrameTooLong = 692,
1: + NvRegRxOverflow = 696,
1: + NvRegRxFCSErr = 700,
1: + NvRegRxFrameAlignErr = 704,
1: + NvRegRxLenErr = 708,
1: + NvRegRxUnicast = 712,
1: + NvRegRxMulticast = 716,
1: + NvRegRxBroadcast = 720,
1: + NvRegTxDef = 724,
1: + NvRegTxFrame = 728,
1: + NvRegRxCnt = 732,
1: + NvRegTxPause = 736,
1: + NvRegRxPause = 740,
1: + NvRegRxDropFrame = 744,
1: + NvRegVlanControl = 768,
1: + NvRegMSIXMap0 = 992,
1: + NvRegMSIXMap1 = 996,
1: + NvRegMSIXIrqStatus = 1008,
1: + NvRegPowerState2 = 1536,
1: };
1:
1: struct ring_desc {
1: - __le32 buf;
1: - __le32 flaglen;
1: + __le32 buf;
1: + __le32 flaglen;
1: };
1:
1: struct ring_desc_ex {
1: - __le32 bufhigh;
1: - __le32 buflow;
1: - __le32 txvlan;
1: - __le32 flaglen;
1: + __le32 bufhigh;
1: + __le32 buflow;
1: + __le32 txvlan;
1: + __le32 flaglen;
1: };
1:
1: union ring_type {
1: - struct ring_desc *orig;
1: - struct ring_desc_ex *ex;
1: + struct ring_desc *orig;
1: + struct ring_desc_ex *ex;
1: };
1:
1: struct nv_ethtool_str {
1: - char name[32];
1: + char name[32];
1: };
1:
1: struct nv_ethtool_stats {
1: - u64 tx_bytes;
1: - u64 tx_zero_rexmt;
1: - u64 tx_one_rexmt;
1: - u64 tx_many_rexmt;
1: - u64 tx_late_collision;
1: - u64 tx_fifo_errors;
1: - u64 tx_carrier_errors;
1: - u64 tx_excess_deferral;
1: - u64 tx_retry_error;
1: - u64 rx_frame_error;
1: - u64 rx_extra_byte;
1: - u64 rx_late_collision;
1: - u64 rx_runt;
1: - u64 rx_frame_too_long;
1: - u64 rx_over_errors;
1: - u64 rx_crc_errors;
1: - u64 rx_frame_align_error;
1: - u64 rx_length_error;
1: - u64 rx_unicast;
1: - u64 rx_multicast;
1: - u64 rx_broadcast;
1: - u64 rx_packets;
1: - u64 rx_errors_total;
1: - u64 tx_errors_total;
1: - u64 tx_deferral;
1: - u64 tx_packets;
1: - u64 rx_bytes;
1: - u64 tx_pause;
1: - u64 rx_pause;
1: - u64 rx_drop_frame;
1: - u64 tx_unicast;
1: - u64 tx_multicast;
1: - u64 tx_broadcast;
1: + u64 tx_bytes;
1: + u64 tx_zero_rexmt;
1: + u64 tx_one_rexmt;
1: + u64 tx_many_rexmt;
1: + u64 tx_late_collision;
1: + u64 tx_fifo_errors;
1: + u64 tx_carrier_errors;
1: + u64 tx_excess_deferral;
1: + u64 tx_retry_error;
1: + u64 rx_frame_error;
1: + u64 rx_extra_byte;
1: + u64 rx_late_collision;
1: + u64 rx_runt;
1: + u64 rx_frame_too_long;
1: + u64 rx_over_errors;
1: + u64 rx_crc_errors;
1: + u64 rx_frame_align_error;
1: + u64 rx_length_error;
1: + u64 rx_unicast;
1: + u64 rx_multicast;
1: + u64 rx_broadcast;
1: + u64 rx_packets;
1: + u64 rx_errors_total;
1: + u64 tx_errors_total;
1: + u64 tx_deferral;
1: + u64 tx_packets;
1: + u64 rx_bytes;
1: + u64 tx_pause;
1: + u64 rx_pause;
1: + u64 rx_drop_frame;
1: + u64 tx_unicast;
1: + u64 tx_multicast;
1: + u64 tx_broadcast;
1: };
1:
1: struct register_test {
1: - __u32 reg;
1: - __u32 mask;
1: + __u32 reg;
1: + __u32 mask;
1: };
1:
1: struct nv_skb_map {
1: - struct sk_buff *skb;
1: - dma_addr_t dma;
1: - unsigned int dma_len: 31;
1: - unsigned int dma_single: 1;
1: - struct ring_desc_ex *first_tx_desc;
1: - struct nv_skb_map *next_tx_ctx;
1: + struct sk_buff *skb;
1: + dma_addr_t dma;
1: + unsigned int dma_len : 31;
1: + unsigned int dma_single : 1;
1: + struct ring_desc_ex *first_tx_desc;
1: + struct nv_skb_map *next_tx_ctx;
1: };
1:
1: struct nv_txrx_stats {
1: - u64 stat_rx_packets;
1: - u64 stat_rx_bytes;
1: - u64 stat_rx_missed_errors;
1: - u64 stat_rx_dropped;
1: - u64 stat_tx_packets;
1: - u64 stat_tx_bytes;
1: - u64 stat_tx_dropped;
1: + u64 stat_rx_packets;
1: + u64 stat_rx_bytes;
1: + u64 stat_rx_missed_errors;
1: + u64 stat_rx_dropped;
1: + u64 stat_tx_packets;
1: + u64 stat_tx_bytes;
1: + u64 stat_tx_dropped;
1: };
1:
1: struct fe_priv {
1: - spinlock_t lock;
1: - struct net_device *dev;
1: - struct napi_struct napi;
1: - spinlock_t hwstats_lock;
1: - struct nv_ethtool_stats estats;
1: - int in_shutdown;
1: - u32 linkspeed;
1: - int duplex;
1: - int autoneg;
1: - int fixed_mode;
1: - int phyaddr;
1: - int wolenabled;
1: - unsigned int phy_oui;
1: - unsigned int phy_model;
1: - unsigned int phy_rev;
1: - u16 gigabit;
1: - int intr_test;
1: - int recover_error;
1: - int quiet_count;
1: - dma_addr_t ring_addr;
1: - struct pci_dev *pci_dev;
1: - u32 orig_mac[2];
1: - u32 events;
1: - u32 irqmask;
1: - u32 desc_ver;
1: - u32 txrxctl_bits;
1: - u32 vlanctl_bits;
1: - u32 driver_data;
1: - u32 device_id;
1: - u32 register_size;
1: - u32 mac_in_use;
1: - int mgmt_version;
1: - int mgmt_sema;
1: - void *base;
1: - union ring_type get_rx;
1: - union ring_type put_rx;
1: - union ring_type last_rx;
1: - struct nv_skb_map *get_rx_ctx;
1: - struct nv_skb_map *put_rx_ctx;
1: - struct nv_skb_map *last_rx_ctx;
1: - struct nv_skb_map *rx_skb;
1: - union ring_type rx_ring;
1: - unsigned int rx_buf_sz;
1: - unsigned int pkt_limit;
1: - struct timer_list oom_kick;
1: - struct timer_list nic_poll;
1: - struct timer_list stats_poll;
1: - u32 nic_poll_irq;
1: - int rx_ring_size;
1: - struct u64_stats_sync swstats_rx_syncp;
1: - struct nv_txrx_stats *txrx_stats;
1: - int need_linktimer;
1: - long unsigned int link_timeout;
1: - union ring_type get_tx;
1: - union ring_type put_tx;
1: - union ring_type last_tx;
1: - struct nv_skb_map *get_tx_ctx;
1: - struct nv_skb_map *put_tx_ctx;
1: - struct nv_skb_map *last_tx_ctx;
1: - struct nv_skb_map *tx_skb;
1: - union ring_type tx_ring;
1: - u32 tx_flags;
1: - int tx_ring_size;
1: - int tx_limit;
1: - u32 tx_pkts_in_progress;
1: - struct nv_skb_map *tx_change_owner;
1: - struct nv_skb_map *tx_end_flip;
1: - int tx_stop;
1: - struct u64_stats_sync swstats_tx_syncp;
1: - u32 msi_flags;
1: - struct msix_entry msi_x_entry[8];
1: - u32 pause_flags;
1: - u32 saved_config_space[385];
1: - char name_rx[19];
1: - char name_tx[19];
1: - char name_other[22];
1: -};
1: -
1: -enum {
1: - NV_OPTIMIZATION_MODE_THROUGHPUT = 0,
1: - NV_OPTIMIZATION_MODE_CPU = 1,
1: - NV_OPTIMIZATION_MODE_DYNAMIC = 2,
1: -};
1: -
1: -enum {
1: - NV_MSI_INT_DISABLED = 0,
1: - NV_MSI_INT_ENABLED = 1,
1: -};
1: -
1: -enum {
1: - NV_MSIX_INT_DISABLED = 0,
1: - NV_MSIX_INT_ENABLED = 1,
1: -};
1: -
1: -enum {
1: - NV_DMA_64BIT_DISABLED = 0,
1: - NV_DMA_64BIT_ENABLED = 1,
1: -};
1: -
1: -enum {
1: - NV_CROSSOVER_DETECTION_DISABLED = 0,
1: - NV_CROSSOVER_DETECTION_ENABLED = 1,
1: -};
1: -
1: -enum {
1: - HAS_MII_XCVR = 65536,
1: - HAS_CHIP_XCVR = 131072,
1: - HAS_LNK_CHNG = 262144,
1: -};
1: -
1: -enum {
1: - RTL8139 = 0,
1: - RTL8129 = 1,
1: + spinlock_t lock;
1: + struct net_device *dev;
1: + struct napi_struct napi;
1: + spinlock_t hwstats_lock;
1: + struct nv_ethtool_stats estats;
1: + int in_shutdown;
1: + u32 linkspeed;
1: + int duplex;
1: + int autoneg;
1: + int fixed_mode;
1: + int phyaddr;
1: + int wolenabled;
1: + unsigned int phy_oui;
1: + unsigned int phy_model;
1: + unsigned int phy_rev;
1: + u16 gigabit;
1: + int intr_test;
1: + int recover_error;
1: + int quiet_count;
1: + dma_addr_t ring_addr;
1: + struct pci_dev *pci_dev;
1: + u32 orig_mac[2];
1: + u32 events;
1: + u32 irqmask;
1: + u32 desc_ver;
1: + u32 txrxctl_bits;
1: + u32 vlanctl_bits;
1: + u32 driver_data;
1: + u32 device_id;
1: + u32 register_size;
1: + u32 mac_in_use;
1: + int mgmt_version;
1: + int mgmt_sema;
1: + void *base;
1: + union ring_type get_rx;
1: + union ring_type put_rx;
1: + union ring_type last_rx;
1: + struct nv_skb_map *get_rx_ctx;
1: + struct nv_skb_map *put_rx_ctx;
1: + struct nv_skb_map *last_rx_ctx;
1: + struct nv_skb_map *rx_skb;
1: + union ring_type rx_ring;
1: + unsigned int rx_buf_sz;
1: + unsigned int pkt_limit;
1: + struct timer_list oom_kick;
1: + struct timer_list nic_poll;
1: + struct timer_list stats_poll;
1: + u32 nic_poll_irq;
1: + int rx_ring_size;
1: + struct u64_stats_sync swstats_rx_syncp;
1: + struct nv_txrx_stats *txrx_stats;
1: + int need_linktimer;
1: + long unsigned int link_timeout;
1: + union ring_type get_tx;
1: + union ring_type put_tx;
1: + union ring_type last_tx;
1: + struct nv_skb_map *get_tx_ctx;
1: + struct nv_skb_map *put_tx_ctx;
1: + struct nv_skb_map *last_tx_ctx;
1: + struct nv_skb_map *tx_skb;
1: + union ring_type tx_ring;
1: + u32 tx_flags;
1: + int tx_ring_size;
1: + int tx_limit;
1: + u32 tx_pkts_in_progress;
1: + struct nv_skb_map *tx_change_owner;
1: + struct nv_skb_map *tx_end_flip;
1: + int tx_stop;
1: + struct u64_stats_sync swstats_tx_syncp;
1: + u32 msi_flags;
1: + struct msix_entry msi_x_entry[8];
1: + u32 pause_flags;
1: + u32 saved_config_space[385];
1: + char name_rx[19];
1: + char name_tx[19];
1: + char name_other[22];
1: +};
1: +
1: +enum {
1: + NV_OPTIMIZATION_MODE_THROUGHPUT = 0,
1: + NV_OPTIMIZATION_MODE_CPU = 1,
1: + NV_OPTIMIZATION_MODE_DYNAMIC = 2,
1: +};
1: +
1: +enum {
1: + NV_MSI_INT_DISABLED = 0,
1: + NV_MSI_INT_ENABLED = 1,
1: +};
1: +
1: +enum {
1: + NV_MSIX_INT_DISABLED = 0,
1: + NV_MSIX_INT_ENABLED = 1,
1: +};
1: +
1: +enum {
1: + NV_DMA_64BIT_DISABLED = 0,
1: + NV_DMA_64BIT_ENABLED = 1,
1: +};
1: +
1: +enum {
1: + NV_CROSSOVER_DETECTION_DISABLED = 0,
1: + NV_CROSSOVER_DETECTION_ENABLED = 1,
1: +};
1: +
1: +enum {
1: + HAS_MII_XCVR = 65536,
1: + HAS_CHIP_XCVR = 131072,
1: + HAS_LNK_CHNG = 262144,
1: +};
1: +
1: +enum {
1: + RTL8139 = 0,
1: + RTL8129 = 1,
1: };
1:
1: enum RTL8139_registers {
1: - MAC0 = 0,
1: - MAR0 = 8,
1: - TxStatus0 = 16,
1: - TxAddr0 = 32,
1: - RxBuf = 48,
1: - ChipCmd = 55,
1: - RxBufPtr = 56,
1: - RxBufAddr = 58,
1: - IntrMask = 60,
1: - IntrStatus = 62,
1: - TxConfig = 64,
1: - RxConfig = 68,
1: - Timer = 72,
1: - RxMissed = 76,
1: - Cfg9346 = 80,
1: - Config0 = 81,
1: - Config1 = 82,
1: - TimerInt = 84,
1: - MediaStatus = 88,
1: - Config3 = 89,
1: - Config4 = 90,
1: - HltClk = 91,
1: - MultiIntr = 92,
1: - TxSummary = 96,
1: - BasicModeCtrl = 98,
1: - BasicModeStatus = 100,
1: - NWayAdvert = 102,
1: - NWayLPAR = 104,
1: - NWayExpansion = 106,
1: - FIFOTMS = 112,
1: - CSCR = 116,
1: - PARA78 = 120,
1: - FlashReg = 212,
1: - PARA7c = 124,
1: - Config5 = 216,
1: + MAC0 = 0,
1: + MAR0 = 8,
1: + TxStatus0 = 16,
1: + TxAddr0 = 32,
1: + RxBuf = 48,
1: + ChipCmd = 55,
1: + RxBufPtr = 56,
1: + RxBufAddr = 58,
1: + IntrMask = 60,
1: + IntrStatus = 62,
1: + TxConfig = 64,
1: + RxConfig = 68,
1: + Timer = 72,
1: + RxMissed = 76,
1: + Cfg9346 = 80,
1: + Config0 = 81,
1: + Config1 = 82,
1: + TimerInt = 84,
1: + MediaStatus = 88,
1: + Config3 = 89,
1: + Config4 = 90,
1: + HltClk = 91,
1: + MultiIntr = 92,
1: + TxSummary = 96,
1: + BasicModeCtrl = 98,
1: + BasicModeStatus = 100,
1: + NWayAdvert = 102,
1: + NWayLPAR = 104,
1: + NWayExpansion = 106,
1: + FIFOTMS = 112,
1: + CSCR = 116,
1: + PARA78 = 120,
1: + FlashReg = 212,
1: + PARA7c = 124,
1: + Config5 = 216,
1: };
1:
1: enum ClearBitMasks {
1: - MultiIntrClear = 61440,
1: - ChipCmdClear = 226,
1: - Config1Clear = 206,
1: + MultiIntrClear = 61440,
1: + ChipCmdClear = 226,
1: + Config1Clear = 206,
1: };
1:
1: enum ChipCmdBits {
1: - CmdReset = 16,
1: - CmdRxEnb = 8,
1: - CmdTxEnb = 4,
1: - RxBufEmpty = 1,
1: + CmdReset = 16,
1: + CmdRxEnb = 8,
1: + CmdTxEnb = 4,
1: + RxBufEmpty = 1,
1: };
1:
1: enum IntrStatusBits {
1: - PCIErr = 32768,
1: - PCSTimeout = 16384,
1: - RxFIFOOver = 64,
1: - RxUnderrun = 32,
1: - RxOverflow = 16,
1: - TxErr = 8,
1: - TxOK = 4,
1: - RxErr = 2,
1: - RxOK = 1,
1: - RxAckBits = 81,
1: + PCIErr = 32768,
1: + PCSTimeout = 16384,
1: + RxFIFOOver = 64,
1: + RxUnderrun = 32,
1: + RxOverflow = 16,
1: + TxErr = 8,
1: + TxOK = 4,
1: + RxErr = 2,
1: + RxOK = 1,
1: + RxAckBits = 81,
1: };
1:
1: enum TxStatusBits {
1: - TxHostOwns = 8192,
1: - TxUnderrun = 16384,
1: - TxStatOK = 32768,
1: - TxOutOfWindow = 536870912,
1: - TxAborted = 1073741824,
1: - TxCarrierLost = -2147483648,
1: + TxHostOwns = 8192,
1: + TxUnderrun = 16384,
1: + TxStatOK = 32768,
1: + TxOutOfWindow = 536870912,
1: + TxAborted = 1073741824,
1: + TxCarrierLost = -2147483648,
1: };
1:
1: enum RxStatusBits {
1: - RxMulticast = 32768,
1: - RxPhysical = 16384,
1: - RxBroadcast = 8192,
1: - RxBadSymbol = 32,
1: - RxRunt = 16,
1: - RxTooLong = 8,
1: - RxCRCErr = 4,
1: - RxBadAlign = 2,
1: - RxStatusOK = 1,
1: + RxMulticast = 32768,
1: + RxPhysical = 16384,
1: + RxBroadcast = 8192,
1: + RxBadSymbol = 32,
1: + RxRunt = 16,
1: + RxTooLong = 8,
1: + RxCRCErr = 4,
1: + RxBadAlign = 2,
1: + RxStatusOK = 1,
1: };
1:
1: enum rx_mode_bits {
1: - AcceptErr = 32,
1: - AcceptRunt = 16,
1: - AcceptBroadcast = 8,
1: - AcceptMulticast = 4,
1: - AcceptMyPhys = 2,
1: - AcceptAllPhys = 1,
1: + AcceptErr = 32,
1: + AcceptRunt = 16,
1: + AcceptBroadcast = 8,
1: + AcceptMulticast = 4,
1: + AcceptMyPhys = 2,
1: + AcceptAllPhys = 1,
1: };
1:
1: enum tx_config_bits {
1: - TxIFGShift = 24,
1: - TxIFG84 = 0,
1: - TxIFG88 = 16777216,
1: - TxIFG92 = 33554432,
1: - TxIFG96 = 50331648,
1: - TxLoopBack = 393216,
1: - TxCRC = 65536,
1: - TxClearAbt = 1,
1: - TxDMAShift = 8,
1: - TxRetryShift = 4,
1: - TxVersionMask = 2088763392,
1: + TxIFGShift = 24,
1: + TxIFG84 = 0,
1: + TxIFG88 = 16777216,
1: + TxIFG92 = 33554432,
1: + TxIFG96 = 50331648,
1: + TxLoopBack = 393216,
1: + TxCRC = 65536,
1: + TxClearAbt = 1,
1: + TxDMAShift = 8,
1: + TxRetryShift = 4,
1: + TxVersionMask = 2088763392,
1: };
1:
1: enum Config1Bits {
1: - Cfg1_PM_Enable = 1,
1: - Cfg1_VPD_Enable = 2,
1: - Cfg1_PIO = 4,
1: - Cfg1_MMIO = 8,
1: - LWAKE = 16,
1: - Cfg1_Driver_Load = 32,
1: - Cfg1_LED0 = 64,
1: - Cfg1_LED1 = 128,
1: - SLEEP = 2,
1: - PWRDN = 1,
1: + Cfg1_PM_Enable = 1,
1: + Cfg1_VPD_Enable = 2,
1: + Cfg1_PIO = 4,
1: + Cfg1_MMIO = 8,
1: + LWAKE = 16,
1: + Cfg1_Driver_Load = 32,
1: + Cfg1_LED0 = 64,
1: + Cfg1_LED1 = 128,
1: + SLEEP = 2,
1: + PWRDN = 1,
1: };
1:
1: enum Config3Bits {
1: - Cfg3_FBtBEn = 1,
1: - Cfg3_FuncRegEn = 2,
1: - Cfg3_CLKRUN_En = 4,
1: - Cfg3_CardB_En = 8,
1: - Cfg3_LinkUp = 16,
1: - Cfg3_Magic = 32,
1: - Cfg3_PARM_En = 64,
1: - Cfg3_GNTSel = 128,
1: + Cfg3_FBtBEn = 1,
1: + Cfg3_FuncRegEn = 2,
1: + Cfg3_CLKRUN_En = 4,
1: + Cfg3_CardB_En = 8,
1: + Cfg3_LinkUp = 16,
1: + Cfg3_Magic = 32,
1: + Cfg3_PARM_En = 64,
1: + Cfg3_GNTSel = 128,
1: };
1:
1: enum Config4Bits {
1: - LWPTN = 4,
1: + LWPTN = 4,
1: };
1:
1: enum Config5Bits {
1: - Cfg5_PME_STS = 1,
1: - Cfg5_LANWake = 2,
1: - Cfg5_LDPS = 4,
1: - Cfg5_FIFOAddrPtr = 8,
1: - Cfg5_UWF = 16,
1: - Cfg5_MWF = 32,
1: - Cfg5_BWF = 64,
1: + Cfg5_PME_STS = 1,
1: + Cfg5_LANWake = 2,
1: + Cfg5_LDPS = 4,
1: + Cfg5_FIFOAddrPtr = 8,
1: + Cfg5_UWF = 16,
1: + Cfg5_MWF = 32,
1: + Cfg5_BWF = 64,
1: };
1:
1: enum CSCRBits {
1: - CSCR_LinkOKBit = 1024,
1: - CSCR_LinkChangeBit = 2048,
1: - CSCR_LinkStatusBits = 61440,
1: - CSCR_LinkDownOffCmd = 960,
1: - CSCR_LinkDownCmd = 62400,
1: + CSCR_LinkOKBit = 1024,
1: + CSCR_LinkChangeBit = 2048,
1: + CSCR_LinkStatusBits = 61440,
1: + CSCR_LinkDownOffCmd = 960,
1: + CSCR_LinkDownCmd = 62400,
1: };
1:
1: enum Cfg9346Bits {
1: - Cfg9346_Lock = 0,
1: - Cfg9346_Unlock = 192,
1: + Cfg9346_Lock = 0,
1: + Cfg9346_Unlock = 192,
1: };
1:
1: typedef enum {
1: - CH_8139 = 0,
1: - CH_8139_K = 1,
1: - CH_8139A = 2,
1: - CH_8139A_G = 3,
1: - CH_8139B = 4,
1: - CH_8130 = 5,
1: - CH_8139C = 6,
1: - CH_8100 = 7,
1: - CH_8100B_8139D = 8,
1: - CH_8101 = 9,
1: + CH_8139 = 0,
1: + CH_8139_K = 1,
1: + CH_8139A = 2,
1: + CH_8139A_G = 3,
1: + CH_8139B = 4,
1: + CH_8130 = 5,
1: + CH_8139C = 6,
1: + CH_8100 = 7,
1: + CH_8100B_8139D = 8,
1: + CH_8101 = 9,
1: } chip_t;
1:
1: enum chip_flags {
1: - HasHltClk = 1,
1: - HasLWake = 2,
1: + HasHltClk = 1,
1: + HasLWake = 2,
1: };
1:
1: struct rtl_extra_stats {
1: - long unsigned int early_rx;
1: - long unsigned int tx_buf_mapped;
1: - long unsigned int tx_timeouts;
1: - long unsigned int rx_lost_in_ring;
1: + long unsigned int early_rx;
1: + long unsigned int tx_buf_mapped;
1: + long unsigned int tx_timeouts;
1: + long unsigned int rx_lost_in_ring;
1: };
1:
1: struct rtl8139_stats {
1: - u64 packets;
1: - u64 bytes;
1: - struct u64_stats_sync syncp;
1: + u64 packets;
1: + u64 bytes;
1: + struct u64_stats_sync syncp;
1: };
1:
1: struct rtl8139_private {
1: - void *mmio_addr;
1: - int drv_flags;
1: - struct pci_dev *pci_dev;
1: - u32 msg_enable;
1: - struct napi_struct napi;
1: - struct net_device *dev;
1: - unsigned char *rx_ring;
1: - unsigned int cur_rx;
1: - struct rtl8139_stats rx_stats;
1: - dma_addr_t rx_ring_dma;
1: - unsigned int tx_flag;
1: - long unsigned int cur_tx;
1: - long unsigned int dirty_tx;
1: - struct rtl8139_stats tx_stats;
1: - unsigned char *tx_buf[4];
1: - unsigned char *tx_bufs;
1: - dma_addr_t tx_bufs_dma;
1: - signed char phys[4];
1: - char twistie;
1: - char twist_row;
1: - char twist_col;
1: - unsigned int watchdog_fired: 1;
1: - unsigned int default_port: 4;
1: - unsigned int have_thread: 1;
1: - spinlock_t lock;
1: - spinlock_t rx_lock;
1: - chip_t chipset;
1: - u32 rx_config;
1: - struct rtl_extra_stats xstats;
1: - struct delayed_work thread;
1: - struct mii_if_info mii;
1: - unsigned int regs_len;
1: - long unsigned int fifo_copy_timeout;
1: + void *mmio_addr;
1: + int drv_flags;
1: + struct pci_dev *pci_dev;
1: + u32 msg_enable;
1: + struct napi_struct napi;
1: + struct net_device *dev;
1: + unsigned char *rx_ring;
1: + unsigned int cur_rx;
1: + struct rtl8139_stats rx_stats;
1: + dma_addr_t rx_ring_dma;
1: + unsigned int tx_flag;
1: + long unsigned int cur_tx;
1: + long unsigned int dirty_tx;
1: + struct rtl8139_stats tx_stats;
1: + unsigned char *tx_buf[4];
1: + unsigned char *tx_bufs;
1: + dma_addr_t tx_bufs_dma;
1: + signed char phys[4];
1: + char twistie;
1: + char twist_row;
1: + char twist_col;
1: + unsigned int watchdog_fired : 1;
1: + unsigned int default_port : 4;
1: + unsigned int have_thread : 1;
1: + spinlock_t lock;
1: + spinlock_t rx_lock;
1: + chip_t chipset;
1: + u32 rx_config;
1: + struct rtl_extra_stats xstats;
1: + struct delayed_work thread;
1: + struct mii_if_info mii;
1: + unsigned int regs_len;
1: + long unsigned int fifo_copy_timeout;
1: };
1:
1: struct rtl8169_private;
1: @@ -86635,78 +87266,78 @@ struct rtl8169_private;
1: typedef void (*rtl_fw_write_t)(struct rtl8169_private *, int, int);
1:
1: enum mac_version {
1: - RTL_GIGA_MAC_VER_02 = 0,
1: - RTL_GIGA_MAC_VER_03 = 1,
1: - RTL_GIGA_MAC_VER_04 = 2,
1: - RTL_GIGA_MAC_VER_05 = 3,
1: - RTL_GIGA_MAC_VER_06 = 4,
1: - RTL_GIGA_MAC_VER_07 = 5,
1: - RTL_GIGA_MAC_VER_08 = 6,
1: - RTL_GIGA_MAC_VER_09 = 7,
1: - RTL_GIGA_MAC_VER_10 = 8,
1: - RTL_GIGA_MAC_VER_11 = 9,
1: - RTL_GIGA_MAC_VER_12 = 10,
1: - RTL_GIGA_MAC_VER_13 = 11,
1: - RTL_GIGA_MAC_VER_14 = 12,
1: - RTL_GIGA_MAC_VER_15 = 13,
1: - RTL_GIGA_MAC_VER_16 = 14,
1: - RTL_GIGA_MAC_VER_17 = 15,
1: - RTL_GIGA_MAC_VER_18 = 16,
1: - RTL_GIGA_MAC_VER_19 = 17,
1: - RTL_GIGA_MAC_VER_20 = 18,
1: - RTL_GIGA_MAC_VER_21 = 19,
1: - RTL_GIGA_MAC_VER_22 = 20,
1: - RTL_GIGA_MAC_VER_23 = 21,
1: - RTL_GIGA_MAC_VER_24 = 22,
1: - RTL_GIGA_MAC_VER_25 = 23,
1: - RTL_GIGA_MAC_VER_26 = 24,
1: - RTL_GIGA_MAC_VER_27 = 25,
1: - RTL_GIGA_MAC_VER_28 = 26,
1: - RTL_GIGA_MAC_VER_29 = 27,
1: - RTL_GIGA_MAC_VER_30 = 28,
1: - RTL_GIGA_MAC_VER_31 = 29,
1: - RTL_GIGA_MAC_VER_32 = 30,
1: - RTL_GIGA_MAC_VER_33 = 31,
1: - RTL_GIGA_MAC_VER_34 = 32,
1: - RTL_GIGA_MAC_VER_35 = 33,
1: - RTL_GIGA_MAC_VER_36 = 34,
1: - RTL_GIGA_MAC_VER_37 = 35,
1: - RTL_GIGA_MAC_VER_38 = 36,
1: - RTL_GIGA_MAC_VER_39 = 37,
1: - RTL_GIGA_MAC_VER_40 = 38,
1: - RTL_GIGA_MAC_VER_41 = 39,
1: - RTL_GIGA_MAC_VER_42 = 40,
1: - RTL_GIGA_MAC_VER_43 = 41,
1: - RTL_GIGA_MAC_VER_44 = 42,
1: - RTL_GIGA_MAC_VER_45 = 43,
1: - RTL_GIGA_MAC_VER_46 = 44,
1: - RTL_GIGA_MAC_VER_47 = 45,
1: - RTL_GIGA_MAC_VER_48 = 46,
1: - RTL_GIGA_MAC_VER_49 = 47,
1: - RTL_GIGA_MAC_VER_50 = 48,
1: - RTL_GIGA_MAC_VER_51 = 49,
1: - RTL_GIGA_MAC_VER_52 = 50,
1: - RTL_GIGA_MAC_VER_60 = 51,
1: - RTL_GIGA_MAC_VER_61 = 52,
1: - RTL_GIGA_MAC_NONE = 53,
1: + RTL_GIGA_MAC_VER_02 = 0,
1: + RTL_GIGA_MAC_VER_03 = 1,
1: + RTL_GIGA_MAC_VER_04 = 2,
1: + RTL_GIGA_MAC_VER_05 = 3,
1: + RTL_GIGA_MAC_VER_06 = 4,
1: + RTL_GIGA_MAC_VER_07 = 5,
1: + RTL_GIGA_MAC_VER_08 = 6,
1: + RTL_GIGA_MAC_VER_09 = 7,
1: + RTL_GIGA_MAC_VER_10 = 8,
1: + RTL_GIGA_MAC_VER_11 = 9,
1: + RTL_GIGA_MAC_VER_12 = 10,
1: + RTL_GIGA_MAC_VER_13 = 11,
1: + RTL_GIGA_MAC_VER_14 = 12,
1: + RTL_GIGA_MAC_VER_15 = 13,
1: + RTL_GIGA_MAC_VER_16 = 14,
1: + RTL_GIGA_MAC_VER_17 = 15,
1: + RTL_GIGA_MAC_VER_18 = 16,
1: + RTL_GIGA_MAC_VER_19 = 17,
1: + RTL_GIGA_MAC_VER_20 = 18,
1: + RTL_GIGA_MAC_VER_21 = 19,
1: + RTL_GIGA_MAC_VER_22 = 20,
1: + RTL_GIGA_MAC_VER_23 = 21,
1: + RTL_GIGA_MAC_VER_24 = 22,
1: + RTL_GIGA_MAC_VER_25 = 23,
1: + RTL_GIGA_MAC_VER_26 = 24,
1: + RTL_GIGA_MAC_VER_27 = 25,
1: + RTL_GIGA_MAC_VER_28 = 26,
1: + RTL_GIGA_MAC_VER_29 = 27,
1: + RTL_GIGA_MAC_VER_30 = 28,
1: + RTL_GIGA_MAC_VER_31 = 29,
1: + RTL_GIGA_MAC_VER_32 = 30,
1: + RTL_GIGA_MAC_VER_33 = 31,
1: + RTL_GIGA_MAC_VER_34 = 32,
1: + RTL_GIGA_MAC_VER_35 = 33,
1: + RTL_GIGA_MAC_VER_36 = 34,
1: + RTL_GIGA_MAC_VER_37 = 35,
1: + RTL_GIGA_MAC_VER_38 = 36,
1: + RTL_GIGA_MAC_VER_39 = 37,
1: + RTL_GIGA_MAC_VER_40 = 38,
1: + RTL_GIGA_MAC_VER_41 = 39,
1: + RTL_GIGA_MAC_VER_42 = 40,
1: + RTL_GIGA_MAC_VER_43 = 41,
1: + RTL_GIGA_MAC_VER_44 = 42,
1: + RTL_GIGA_MAC_VER_45 = 43,
1: + RTL_GIGA_MAC_VER_46 = 44,
1: + RTL_GIGA_MAC_VER_47 = 45,
1: + RTL_GIGA_MAC_VER_48 = 46,
1: + RTL_GIGA_MAC_VER_49 = 47,
1: + RTL_GIGA_MAC_VER_50 = 48,
1: + RTL_GIGA_MAC_VER_51 = 49,
1: + RTL_GIGA_MAC_VER_52 = 50,
1: + RTL_GIGA_MAC_VER_60 = 51,
1: + RTL_GIGA_MAC_VER_61 = 52,
1: + RTL_GIGA_MAC_NONE = 53,
1: };
1:
1: struct rtl8169_stats {
1: - u64 packets;
1: - u64 bytes;
1: - struct u64_stats_sync syncp;
1: + u64 packets;
1: + u64 bytes;
1: + struct u64_stats_sync syncp;
1: };
1:
1: struct ring_info___2 {
1: - struct sk_buff *skb;
1: - u32 len;
1: + struct sk_buff *skb;
1: + u32 len;
1: };
1:
1: struct rtl8169_tc_offsets {
1: - bool inited;
1: - __le64 tx_errors;
1: - __le32 tx_multi_collision;
1: - __le16 tx_aborted;
1: + bool inited;
1: + __le64 tx_errors;
1: + __le32 tx_multi_collision;
1: + __le16 tx_aborted;
1: };
1:
1: struct TxDesc;
1: @@ -86718,446 +87349,446 @@ struct rtl8169_counters;
1: struct rtl_fw;
1:
1: struct rtl8169_private {
1: - void *mmio_addr;
1: - struct pci_dev *pci_dev;
1: - struct net_device *dev;
1: - struct phy_device *phydev;
1: - struct napi_struct napi;
1: - u32 msg_enable;
1: - enum mac_version mac_version;
1: - u32 cur_rx;
1: - u32 cur_tx;
1: - u32 dirty_tx;
1: - struct rtl8169_stats rx_stats;
1: - struct rtl8169_stats tx_stats;
1: - struct TxDesc *TxDescArray;
1: - struct RxDesc *RxDescArray;
1: - dma_addr_t TxPhyAddr;
1: - dma_addr_t RxPhyAddr;
1: - struct page *Rx_databuff[256];
1: - struct ring_info___2 tx_skb[64];
1: - u16 cp_cmd;
1: - u32 irq_mask;
1: - struct clk *clk;
1: - struct {
1: - long unsigned int flags[1];
1: - struct mutex mutex;
1: - struct work_struct work;
1: - } wk;
1: - unsigned int irq_enabled: 1;
1: - unsigned int supports_gmii: 1;
1: - unsigned int aspm_manageable: 1;
1: - dma_addr_t counters_phys_addr;
1: - struct rtl8169_counters *counters;
1: - struct rtl8169_tc_offsets tc_offset;
1: - u32 saved_wolopts;
1: - int eee_adv;
1: - const char *fw_name;
1: - struct rtl_fw *rtl_fw;
1: - u32 ocp_base;
1: + void *mmio_addr;
1: + struct pci_dev *pci_dev;
1: + struct net_device *dev;
1: + struct phy_device *phydev;
1: + struct napi_struct napi;
1: + u32 msg_enable;
1: + enum mac_version mac_version;
1: + u32 cur_rx;
1: + u32 cur_tx;
1: + u32 dirty_tx;
1: + struct rtl8169_stats rx_stats;
1: + struct rtl8169_stats tx_stats;
1: + struct TxDesc *TxDescArray;
1: + struct RxDesc *RxDescArray;
1: + dma_addr_t TxPhyAddr;
1: + dma_addr_t RxPhyAddr;
1: + struct page *Rx_databuff[256];
1: + struct ring_info___2 tx_skb[64];
1: + u16 cp_cmd;
1: + u32 irq_mask;
1: + struct clk *clk;
1: + struct {
1: + long unsigned int flags[1];
1: + struct mutex mutex;
1: + struct work_struct work;
1: + } wk;
1: + unsigned int irq_enabled : 1;
1: + unsigned int supports_gmii : 1;
1: + unsigned int aspm_manageable : 1;
1: + dma_addr_t counters_phys_addr;
1: + struct rtl8169_counters *counters;
1: + struct rtl8169_tc_offsets tc_offset;
1: + u32 saved_wolopts;
1: + int eee_adv;
1: + const char *fw_name;
1: + struct rtl_fw *rtl_fw;
1: + u32 ocp_base;
1: };
1:
1: typedef int (*rtl_fw_read_t)(struct rtl8169_private *, int);
1:
1: struct rtl_fw_phy_action {
1: - __le32 *code;
1: - size_t size;
1: + __le32 *code;
1: + size_t size;
1: };
1:
1: struct rtl_fw {
1: - rtl_fw_write_t phy_write;
1: - rtl_fw_read_t phy_read;
1: - rtl_fw_write_t mac_mcu_write;
1: - rtl_fw_read_t mac_mcu_read;
1: - const struct firmware *fw;
1: - const char *fw_name;
1: - struct device *dev;
1: - char version[32];
1: - struct rtl_fw_phy_action phy_action;
1: + rtl_fw_write_t phy_write;
1: + rtl_fw_read_t phy_read;
1: + rtl_fw_write_t mac_mcu_write;
1: + rtl_fw_read_t mac_mcu_read;
1: + const struct firmware *fw;
1: + const char *fw_name;
1: + struct device *dev;
1: + char version[32];
1: + struct rtl_fw_phy_action phy_action;
1: };
1:
1: enum rtl_registers {
1: - MAC0___2 = 0,
1: - MAC4 = 4,
1: - MAR0___2 = 8,
1: - CounterAddrLow = 16,
1: - CounterAddrHigh = 20,
1: - TxDescStartAddrLow = 32,
1: - TxDescStartAddrHigh = 36,
1: - TxHDescStartAddrLow = 40,
1: - TxHDescStartAddrHigh = 44,
1: - FLASH = 48,
1: - ERSR = 54,
1: - ChipCmd___2 = 55,
1: - TxPoll = 56,
1: - IntrMask___2 = 60,
1: - IntrStatus___2 = 62,
1: - TxConfig___2 = 64,
1: - RxConfig___2 = 68,
1: - RxMissed___2 = 76,
1: - Cfg9346___2 = 80,
1: - Config0___2 = 81,
1: - Config1___2 = 82,
1: - Config2 = 83,
1: - Config3___2 = 84,
1: - Config4___2 = 85,
1: - Config5___2 = 86,
1: - PHYAR = 96,
1: - PHYstatus = 108,
1: - RxMaxSize = 218,
1: - CPlusCmd = 224,
1: - IntrMitigate = 226,
1: - RxDescAddrLow = 228,
1: - RxDescAddrHigh = 232,
1: - EarlyTxThres = 236,
1: - MaxTxPacketSize = 236,
1: - FuncEvent = 240,
1: - FuncEventMask = 244,
1: - FuncPresetState = 248,
1: - IBCR0 = 248,
1: - IBCR2 = 249,
1: - IBIMR0 = 250,
1: - IBISR0 = 251,
1: - FuncForceEvent = 252,
1: + MAC0___2 = 0,
1: + MAC4 = 4,
1: + MAR0___2 = 8,
1: + CounterAddrLow = 16,
1: + CounterAddrHigh = 20,
1: + TxDescStartAddrLow = 32,
1: + TxDescStartAddrHigh = 36,
1: + TxHDescStartAddrLow = 40,
1: + TxHDescStartAddrHigh = 44,
1: + FLASH = 48,
1: + ERSR = 54,
1: + ChipCmd___2 = 55,
1: + TxPoll = 56,
1: + IntrMask___2 = 60,
1: + IntrStatus___2 = 62,
1: + TxConfig___2 = 64,
1: + RxConfig___2 = 68,
1: + RxMissed___2 = 76,
1: + Cfg9346___2 = 80,
1: + Config0___2 = 81,
1: + Config1___2 = 82,
1: + Config2 = 83,
1: + Config3___2 = 84,
1: + Config4___2 = 85,
1: + Config5___2 = 86,
1: + PHYAR = 96,
1: + PHYstatus = 108,
1: + RxMaxSize = 218,
1: + CPlusCmd = 224,
1: + IntrMitigate = 226,
1: + RxDescAddrLow = 228,
1: + RxDescAddrHigh = 232,
1: + EarlyTxThres = 236,
1: + MaxTxPacketSize = 236,
1: + FuncEvent = 240,
1: + FuncEventMask = 244,
1: + FuncPresetState = 248,
1: + IBCR0 = 248,
1: + IBCR2 = 249,
1: + IBIMR0 = 250,
1: + IBISR0 = 251,
1: + FuncForceEvent = 252,
1: };
1:
1: enum rtl8168_8101_registers {
1: - CSIDR = 100,
1: - CSIAR = 104,
1: - PMCH = 111,
1: - EPHYAR = 128,
1: - DLLPR = 208,
1: - DBG_REG = 209,
1: - TWSI = 210,
1: - MCU = 211,
1: - EFUSEAR = 220,
1: - MISC_1 = 242,
1: + CSIDR = 100,
1: + CSIAR = 104,
1: + PMCH = 111,
1: + EPHYAR = 128,
1: + DLLPR = 208,
1: + DBG_REG = 209,
1: + TWSI = 210,
1: + MCU = 211,
1: + EFUSEAR = 220,
1: + MISC_1 = 242,
1: };
1:
1: enum rtl8168_registers {
1: - LED_FREQ = 26,
1: - EEE_LED = 27,
1: - ERIDR = 112,
1: - ERIAR = 116,
1: - EPHY_RXER_NUM = 124,
1: - OCPDR = 176,
1: - OCPAR = 180,
1: - GPHY_OCP = 184,
1: - RDSAR1 = 208,
1: - MISC = 240,
1: + LED_FREQ = 26,
1: + EEE_LED = 27,
1: + ERIDR = 112,
1: + ERIAR = 116,
1: + EPHY_RXER_NUM = 124,
1: + OCPDR = 176,
1: + OCPAR = 180,
1: + GPHY_OCP = 184,
1: + RDSAR1 = 208,
1: + MISC = 240,
1: };
1:
1: enum rtl8125_registers {
1: - IntrMask_8125 = 56,
1: - IntrStatus_8125 = 60,
1: - TxPoll_8125 = 144,
1: - MAC0_BKP = 6624,
1: + IntrMask_8125 = 56,
1: + IntrStatus_8125 = 60,
1: + TxPoll_8125 = 144,
1: + MAC0_BKP = 6624,
1: };
1:
1: enum rtl_register_content {
1: - SYSErr = 32768,
1: - PCSTimeout___2 = 16384,
1: - SWInt = 256,
1: - TxDescUnavail = 128,
1: - RxFIFOOver___2 = 64,
1: - LinkChg = 32,
1: - RxOverflow___2 = 16,
1: - TxErr___2 = 8,
1: - TxOK___2 = 4,
1: - RxErr___2 = 2,
1: - RxOK___2 = 1,
1: - RxRWT = 4194304,
1: - RxRES = 2097152,
1: - RxRUNT = 1048576,
1: - RxCRC = 524288,
1: - StopReq = 128,
1: - CmdReset___2 = 16,
1: - CmdRxEnb___2 = 8,
1: - CmdTxEnb___2 = 4,
1: - RxBufEmpty___2 = 1,
1: - HPQ = 128,
1: - NPQ = 64,
1: - FSWInt = 1,
1: - Cfg9346_Lock___2 = 0,
1: - Cfg9346_Unlock___2 = 192,
1: - AcceptErr___2 = 32,
1: - AcceptRunt___2 = 16,
1: - AcceptBroadcast___2 = 8,
1: - AcceptMulticast___2 = 4,
1: - AcceptMyPhys___2 = 2,
1: - AcceptAllPhys___2 = 1,
1: - TxInterFrameGapShift = 24,
1: - TxDMAShift___2 = 8,
1: - LEDS1 = 128,
1: - LEDS0 = 64,
1: - Speed_down = 16,
1: - MEMMAP = 8,
1: - IOMAP = 4,
1: - VPD = 2,
1: - PMEnable = 1,
1: - ClkReqEn = 128,
1: - MSIEnable = 32,
1: - PCI_Clock_66MHz = 1,
1: - PCI_Clock_33MHz = 0,
1: - MagicPacket = 32,
1: - LinkUp = 16,
1: - Jumbo_En0 = 4,
1: - Rdy_to_L23 = 2,
1: - Beacon_en = 1,
1: - Jumbo_En1 = 2,
1: - BWF = 64,
1: - MWF = 32,
1: - UWF = 16,
1: - Spi_en = 8,
1: - LanWake = 2,
1: - PMEStatus = 1,
1: - ASPM_en = 1,
1: - EnableBist = 32768,
1: - Mac_dbgo_oe = 16384,
1: - Normal_mode = 8192,
1: - Force_half_dup = 4096,
1: - Force_rxflow_en = 2048,
1: - Force_txflow_en = 1024,
1: - Cxpl_dbg_sel = 512,
1: - ASF = 256,
1: - PktCntrDisable = 128,
1: - Mac_dbgo_sel = 28,
1: - RxVlan = 64,
1: - RxChkSum = 32,
1: - PCIDAC = 16,
1: - PCIMulRW = 8,
1: - TBI_Enable = 128,
1: - TxFlowCtrl = 64,
1: - RxFlowCtrl = 32,
1: - _1000bpsF = 16,
1: - _100bps = 8,
1: - _10bps = 4,
1: - LinkStatus = 2,
1: - FullDup = 1,
1: - CounterReset = 1,
1: - CounterDump = 8,
1: - MagicPacket_v2 = 65536,
1: + SYSErr = 32768,
1: + PCSTimeout___2 = 16384,
1: + SWInt = 256,
1: + TxDescUnavail = 128,
1: + RxFIFOOver___2 = 64,
1: + LinkChg = 32,
1: + RxOverflow___2 = 16,
1: + TxErr___2 = 8,
1: + TxOK___2 = 4,
1: + RxErr___2 = 2,
1: + RxOK___2 = 1,
1: + RxRWT = 4194304,
1: + RxRES = 2097152,
1: + RxRUNT = 1048576,
1: + RxCRC = 524288,
1: + StopReq = 128,
1: + CmdReset___2 = 16,
1: + CmdRxEnb___2 = 8,
1: + CmdTxEnb___2 = 4,
1: + RxBufEmpty___2 = 1,
1: + HPQ = 128,
1: + NPQ = 64,
1: + FSWInt = 1,
1: + Cfg9346_Lock___2 = 0,
1: + Cfg9346_Unlock___2 = 192,
1: + AcceptErr___2 = 32,
1: + AcceptRunt___2 = 16,
1: + AcceptBroadcast___2 = 8,
1: + AcceptMulticast___2 = 4,
1: + AcceptMyPhys___2 = 2,
1: + AcceptAllPhys___2 = 1,
1: + TxInterFrameGapShift = 24,
1: + TxDMAShift___2 = 8,
1: + LEDS1 = 128,
1: + LEDS0 = 64,
1: + Speed_down = 16,
1: + MEMMAP = 8,
1: + IOMAP = 4,
1: + VPD = 2,
1: + PMEnable = 1,
1: + ClkReqEn = 128,
1: + MSIEnable = 32,
1: + PCI_Clock_66MHz = 1,
1: + PCI_Clock_33MHz = 0,
1: + MagicPacket = 32,
1: + LinkUp = 16,
1: + Jumbo_En0 = 4,
1: + Rdy_to_L23 = 2,
1: + Beacon_en = 1,
1: + Jumbo_En1 = 2,
1: + BWF = 64,
1: + MWF = 32,
1: + UWF = 16,
1: + Spi_en = 8,
1: + LanWake = 2,
1: + PMEStatus = 1,
1: + ASPM_en = 1,
1: + EnableBist = 32768,
1: + Mac_dbgo_oe = 16384,
1: + Normal_mode = 8192,
1: + Force_half_dup = 4096,
1: + Force_rxflow_en = 2048,
1: + Force_txflow_en = 1024,
1: + Cxpl_dbg_sel = 512,
1: + ASF = 256,
1: + PktCntrDisable = 128,
1: + Mac_dbgo_sel = 28,
1: + RxVlan = 64,
1: + RxChkSum = 32,
1: + PCIDAC = 16,
1: + PCIMulRW = 8,
1: + TBI_Enable = 128,
1: + TxFlowCtrl = 64,
1: + RxFlowCtrl = 32,
1: + _1000bpsF = 16,
1: + _100bps = 8,
1: + _10bps = 4,
1: + LinkStatus = 2,
1: + FullDup = 1,
1: + CounterReset = 1,
1: + CounterDump = 8,
1: + MagicPacket_v2 = 65536,
1: };
1:
1: enum rtl_desc_bit {
1: - DescOwn = -2147483648,
1: - RingEnd = 1073741824,
1: - FirstFrag = 536870912,
1: - LastFrag = 268435456,
1: + DescOwn = -2147483648,
1: + RingEnd = 1073741824,
1: + FirstFrag = 536870912,
1: + LastFrag = 268435456,
1: };
1:
1: enum rtl_tx_desc_bit {
1: - TD_LSO = 134217728,
1: - TxVlanTag = 131072,
1: + TD_LSO = 134217728,
1: + TxVlanTag = 131072,
1: };
1:
1: enum rtl_tx_desc_bit_0 {
1: - TD0_TCP_CS = 65536,
1: - TD0_UDP_CS = 131072,
1: - TD0_IP_CS = 262144,
1: + TD0_TCP_CS = 65536,
1: + TD0_UDP_CS = 131072,
1: + TD0_IP_CS = 262144,
1: };
1:
1: enum rtl_tx_desc_bit_1 {
1: - TD1_GTSENV4 = 67108864,
1: - TD1_GTSENV6 = 33554432,
1: - TD1_IPv6_CS = 268435456,
1: - TD1_IPv4_CS = 536870912,
1: - TD1_TCP_CS = 1073741824,
1: - TD1_UDP_CS = -2147483648,
1: + TD1_GTSENV4 = 67108864,
1: + TD1_GTSENV6 = 33554432,
1: + TD1_IPv6_CS = 268435456,
1: + TD1_IPv4_CS = 536870912,
1: + TD1_TCP_CS = 1073741824,
1: + TD1_UDP_CS = -2147483648,
1: };
1:
1: enum rtl_rx_desc_bit {
1: - PID1 = 262144,
1: - PID0 = 131072,
1: - IPFail = 65536,
1: - UDPFail = 32768,
1: - TCPFail = 16384,
1: - RxVlanTag = 65536,
1: + PID1 = 262144,
1: + PID0 = 131072,
1: + IPFail = 65536,
1: + UDPFail = 32768,
1: + TCPFail = 16384,
1: + RxVlanTag = 65536,
1: };
1:
1: struct TxDesc {
1: - __le32 opts1;
1: - __le32 opts2;
1: - __le64 addr;
1: + __le32 opts1;
1: + __le32 opts2;
1: + __le64 addr;
1: };
1:
1: struct RxDesc {
1: - __le32 opts1;
1: - __le32 opts2;
1: - __le64 addr;
1: + __le32 opts1;
1: + __le32 opts2;
1: + __le64 addr;
1: };
1:
1: struct rtl8169_counters {
1: - __le64 tx_packets;
1: - __le64 rx_packets;
1: - __le64 tx_errors;
1: - __le32 rx_errors;
1: - __le16 rx_missed;
1: - __le16 align_errors;
1: - __le32 tx_one_collision;
1: - __le32 tx_multi_collision;
1: - __le64 rx_unicast;
1: - __le64 rx_broadcast;
1: - __le32 rx_multicast;
1: - __le16 tx_aborted;
1: - __le16 tx_underun;
1: + __le64 tx_packets;
1: + __le64 rx_packets;
1: + __le64 tx_errors;
1: + __le32 rx_errors;
1: + __le16 rx_missed;
1: + __le16 align_errors;
1: + __le32 tx_one_collision;
1: + __le32 tx_multi_collision;
1: + __le64 rx_unicast;
1: + __le64 rx_broadcast;
1: + __le32 rx_multicast;
1: + __le16 tx_aborted;
1: + __le16 tx_underun;
1: };
1:
1: enum rtl_flag {
1: - RTL_FLAG_TASK_ENABLED = 0,
1: - RTL_FLAG_TASK_RESET_PENDING = 1,
1: - RTL_FLAG_MAX = 2,
1: + RTL_FLAG_TASK_ENABLED = 0,
1: + RTL_FLAG_TASK_RESET_PENDING = 1,
1: + RTL_FLAG_MAX = 2,
1: };
1:
1: typedef void (*rtl_generic_fct)(struct rtl8169_private *);
1:
1: struct rtl_cond {
1: - bool (*check)(struct rtl8169_private *);
1: - const char *msg;
1: + bool (*check)(struct rtl8169_private *);
1: + const char *msg;
1: };
1:
1: struct rtl_coalesce_scale {
1: - u32 nsecs[2];
1: + u32 nsecs[2];
1: };
1:
1: struct rtl_coalesce_info {
1: - u32 speed;
1: - struct rtl_coalesce_scale scalev[4];
1: + u32 speed;
1: + struct rtl_coalesce_scale scalev[4];
1: };
1:
1: struct phy_reg {
1: - u16 reg;
1: - u16 val;
1: + u16 reg;
1: + u16 val;
1: };
1:
1: struct ephy_info {
1: - unsigned int offset;
1: - u16 mask;
1: - u16 bits;
1: + unsigned int offset;
1: + u16 mask;
1: + u16 bits;
1: };
1:
1: struct rtl_mac_info {
1: - u16 mask;
1: - u16 val;
1: - u16 mac_version;
1: + u16 mask;
1: + u16 val;
1: + u16 mac_version;
1: };
1:
1: enum rtl_fw_opcode {
1: - PHY_READ = 0,
1: - PHY_DATA_OR = 1,
1: - PHY_DATA_AND = 2,
1: - PHY_BJMPN = 3,
1: - PHY_MDIO_CHG = 4,
1: - PHY_CLEAR_READCOUNT = 7,
1: - PHY_WRITE = 8,
1: - PHY_READCOUNT_EQ_SKIP = 9,
1: - PHY_COMP_EQ_SKIPN = 10,
1: - PHY_COMP_NEQ_SKIPN = 11,
1: - PHY_WRITE_PREVIOUS = 12,
1: - PHY_SKIPN = 13,
1: - PHY_DELAY_MS = 14,
1: + PHY_READ = 0,
1: + PHY_DATA_OR = 1,
1: + PHY_DATA_AND = 2,
1: + PHY_BJMPN = 3,
1: + PHY_MDIO_CHG = 4,
1: + PHY_CLEAR_READCOUNT = 7,
1: + PHY_WRITE = 8,
1: + PHY_READCOUNT_EQ_SKIP = 9,
1: + PHY_COMP_EQ_SKIPN = 10,
1: + PHY_COMP_NEQ_SKIPN = 11,
1: + PHY_WRITE_PREVIOUS = 12,
1: + PHY_SKIPN = 13,
1: + PHY_DELAY_MS = 14,
1: };
1:
1: struct fw_info {
1: - u32 magic;
1: - char version[32];
1: - __le32 fw_start;
1: - __le32 fw_len;
1: - u8 chksum;
1: + u32 magic;
1: + char version[32];
1: + __le32 fw_start;
1: + __le32 fw_len;
1: + u8 chksum;
1: } __attribute__((packed));
1:
1: struct ohci {
1: - void *registers;
1: + void *registers;
1: };
1:
1: struct cdrom_msf {
1: - __u8 cdmsf_min0;
1: - __u8 cdmsf_sec0;
1: - __u8 cdmsf_frame0;
1: - __u8 cdmsf_min1;
1: - __u8 cdmsf_sec1;
1: - __u8 cdmsf_frame1;
1: + __u8 cdmsf_min0;
1: + __u8 cdmsf_sec0;
1: + __u8 cdmsf_frame0;
1: + __u8 cdmsf_min1;
1: + __u8 cdmsf_sec1;
1: + __u8 cdmsf_frame1;
1: };
1:
1: struct cdrom_volctrl {
1: - __u8 channel0;
1: - __u8 channel1;
1: - __u8 channel2;
1: - __u8 channel3;
1: + __u8 channel0;
1: + __u8 channel1;
1: + __u8 channel2;
1: + __u8 channel3;
1: };
1:
1: struct cdrom_subchnl {
1: - __u8 cdsc_format;
1: - __u8 cdsc_audiostatus;
1: - __u8 cdsc_adr: 4;
1: - __u8 cdsc_ctrl: 4;
1: - __u8 cdsc_trk;
1: - __u8 cdsc_ind;
1: - union cdrom_addr cdsc_absaddr;
1: - union cdrom_addr cdsc_reladdr;
1: + __u8 cdsc_format;
1: + __u8 cdsc_audiostatus;
1: + __u8 cdsc_adr : 4;
1: + __u8 cdsc_ctrl : 4;
1: + __u8 cdsc_trk;
1: + __u8 cdsc_ind;
1: + union cdrom_addr cdsc_absaddr;
1: + union cdrom_addr cdsc_reladdr;
1: };
1:
1: struct cdrom_blk {
1: - unsigned int from;
1: - short unsigned int len;
1: + unsigned int from;
1: + short unsigned int len;
1: };
1:
1: struct dvd_layer {
1: - __u8 book_version: 4;
1: - __u8 book_type: 4;
1: - __u8 min_rate: 4;
1: - __u8 disc_size: 4;
1: - __u8 layer_type: 4;
1: - __u8 track_path: 1;
1: - __u8 nlayers: 2;
1: - char: 1;
1: - __u8 track_density: 4;
1: - __u8 linear_density: 4;
1: - __u8 bca: 1;
1: - __u32 start_sector;
1: - __u32 end_sector;
1: - __u32 end_sector_l0;
1: + __u8 book_version : 4;
1: + __u8 book_type : 4;
1: + __u8 min_rate : 4;
1: + __u8 disc_size : 4;
1: + __u8 layer_type : 4;
1: + __u8 track_path : 1;
1: + __u8 nlayers : 2;
1: + char : 1;
1: + __u8 track_density : 4;
1: + __u8 linear_density : 4;
1: + __u8 bca : 1;
1: + __u32 start_sector;
1: + __u32 end_sector;
1: + __u32 end_sector_l0;
1: };
1:
1: struct dvd_physical {
1: - __u8 type;
1: - __u8 layer_num;
1: - struct dvd_layer layer[4];
1: + __u8 type;
1: + __u8 layer_num;
1: + struct dvd_layer layer[4];
1: };
1:
1: struct dvd_copyright {
1: - __u8 type;
1: - __u8 layer_num;
1: - __u8 cpst;
1: - __u8 rmi;
1: + __u8 type;
1: + __u8 layer_num;
1: + __u8 cpst;
1: + __u8 rmi;
1: };
1:
1: struct dvd_disckey {
1: - __u8 type;
1: - unsigned int agid: 2;
1: - __u8 value[2048];
1: + __u8 type;
1: + unsigned int agid : 2;
1: + __u8 value[2048];
1: };
1:
1: struct dvd_bca {
1: - __u8 type;
1: - int len;
1: - __u8 value[188];
1: + __u8 type;
1: + int len;
1: + __u8 value[188];
1: };
1:
1: struct dvd_manufact {
1: - __u8 type;
1: - __u8 layer_num;
1: - int len;
1: - __u8 value[2048];
1: + __u8 type;
1: + __u8 layer_num;
1: + int len;
1: + __u8 value[2048];
1: };
1:
1: typedef union {
1: - __u8 type;
1: - struct dvd_physical physical;
1: - struct dvd_copyright copyright;
1: - struct dvd_disckey disckey;
1: - struct dvd_bca bca;
1: - struct dvd_manufact manufact;
1: + __u8 type;
1: + struct dvd_physical physical;
1: + struct dvd_copyright copyright;
1: + struct dvd_disckey disckey;
1: + struct dvd_bca bca;
1: + struct dvd_manufact manufact;
1: } dvd_struct;
1:
1: typedef __u8 dvd_key[5];
1: @@ -87165,269 +87796,269 @@ typedef __u8 dvd_key[5];
1: typedef __u8 dvd_challenge[10];
1:
1: struct dvd_lu_send_agid {
1: - __u8 type;
1: - unsigned int agid: 2;
1: + __u8 type;
1: + unsigned int agid : 2;
1: };
1:
1: struct dvd_host_send_challenge {
1: - __u8 type;
1: - unsigned int agid: 2;
1: - dvd_challenge chal;
1: + __u8 type;
1: + unsigned int agid : 2;
1: + dvd_challenge chal;
1: };
1:
1: struct dvd_send_key {
1: - __u8 type;
1: - unsigned int agid: 2;
1: - dvd_key key;
1: + __u8 type;
1: + unsigned int agid : 2;
1: + dvd_key key;
1: };
1:
1: struct dvd_lu_send_challenge {
1: - __u8 type;
1: - unsigned int agid: 2;
1: - dvd_challenge chal;
1: + __u8 type;
1: + unsigned int agid : 2;
1: + dvd_challenge chal;
1: };
1:
1: struct dvd_lu_send_title_key {
1: - __u8 type;
1: - unsigned int agid: 2;
1: - dvd_key title_key;
1: - int lba;
1: - unsigned int cpm: 1;
1: - unsigned int cp_sec: 1;
1: - unsigned int cgms: 2;
1: + __u8 type;
1: + unsigned int agid : 2;
1: + dvd_key title_key;
1: + int lba;
1: + unsigned int cpm : 1;
1: + unsigned int cp_sec : 1;
1: + unsigned int cgms : 2;
1: };
1:
1: struct dvd_lu_send_asf {
1: - __u8 type;
1: - unsigned int agid: 2;
1: - unsigned int asf: 1;
1: + __u8 type;
1: + unsigned int agid : 2;
1: + unsigned int asf : 1;
1: };
1:
1: struct dvd_host_send_rpcstate {
1: - __u8 type;
1: - __u8 pdrc;
1: + __u8 type;
1: + __u8 pdrc;
1: };
1:
1: struct dvd_lu_send_rpcstate {
1: - __u8 type: 2;
1: - __u8 vra: 3;
1: - __u8 ucca: 3;
1: - __u8 region_mask;
1: - __u8 rpc_scheme;
1: + __u8 type : 2;
1: + __u8 vra : 3;
1: + __u8 ucca : 3;
1: + __u8 region_mask;
1: + __u8 rpc_scheme;
1: };
1:
1: typedef union {
1: - __u8 type;
1: - struct dvd_lu_send_agid lsa;
1: - struct dvd_host_send_challenge hsc;
1: - struct dvd_send_key lsk;
1: - struct dvd_lu_send_challenge lsc;
1: - struct dvd_send_key hsk;
1: - struct dvd_lu_send_title_key lstk;
1: - struct dvd_lu_send_asf lsasf;
1: - struct dvd_host_send_rpcstate hrpcs;
1: - struct dvd_lu_send_rpcstate lrpcs;
1: + __u8 type;
1: + struct dvd_lu_send_agid lsa;
1: + struct dvd_host_send_challenge hsc;
1: + struct dvd_send_key lsk;
1: + struct dvd_lu_send_challenge lsc;
1: + struct dvd_send_key hsk;
1: + struct dvd_lu_send_title_key lstk;
1: + struct dvd_lu_send_asf lsasf;
1: + struct dvd_host_send_rpcstate hrpcs;
1: + struct dvd_lu_send_rpcstate lrpcs;
1: } dvd_authinfo;
1:
1: struct mrw_feature_desc {
1: - __be16 feature_code;
1: - __u8 curr: 1;
1: - __u8 persistent: 1;
1: - __u8 feature_version: 4;
1: - __u8 reserved1: 2;
1: - __u8 add_len;
1: - __u8 write: 1;
1: - __u8 reserved2: 7;
1: - __u8 reserved3;
1: - __u8 reserved4;
1: - __u8 reserved5;
1: + __be16 feature_code;
1: + __u8 curr : 1;
1: + __u8 persistent : 1;
1: + __u8 feature_version : 4;
1: + __u8 reserved1 : 2;
1: + __u8 add_len;
1: + __u8 write : 1;
1: + __u8 reserved2 : 7;
1: + __u8 reserved3;
1: + __u8 reserved4;
1: + __u8 reserved5;
1: };
1:
1: struct rwrt_feature_desc {
1: - __be16 feature_code;
1: - __u8 curr: 1;
1: - __u8 persistent: 1;
1: - __u8 feature_version: 4;
1: - __u8 reserved1: 2;
1: - __u8 add_len;
1: - __u32 last_lba;
1: - __u32 block_size;
1: - __u16 blocking;
1: - __u8 page_present: 1;
1: - __u8 reserved2: 7;
1: - __u8 reserved3;
1: + __be16 feature_code;
1: + __u8 curr : 1;
1: + __u8 persistent : 1;
1: + __u8 feature_version : 4;
1: + __u8 reserved1 : 2;
1: + __u8 add_len;
1: + __u32 last_lba;
1: + __u32 block_size;
1: + __u16 blocking;
1: + __u8 page_present : 1;
1: + __u8 reserved2 : 7;
1: + __u8 reserved3;
1: };
1:
1: typedef struct {
1: - __be16 disc_information_length;
1: - __u8 disc_status: 2;
1: - __u8 border_status: 2;
1: - __u8 erasable: 1;
1: - __u8 reserved1: 3;
1: - __u8 n_first_track;
1: - __u8 n_sessions_lsb;
1: - __u8 first_track_lsb;
1: - __u8 last_track_lsb;
1: - __u8 mrw_status: 2;
1: - __u8 dbit: 1;
1: - __u8 reserved2: 2;
1: - __u8 uru: 1;
1: - __u8 dbc_v: 1;
1: - __u8 did_v: 1;
1: - __u8 disc_type;
1: - __u8 n_sessions_msb;
1: - __u8 first_track_msb;
1: - __u8 last_track_msb;
1: - __u32 disc_id;
1: - __u32 lead_in;
1: - __u32 lead_out;
1: - __u8 disc_bar_code[8];
1: - __u8 reserved3;
1: - __u8 n_opc;
1: + __be16 disc_information_length;
1: + __u8 disc_status : 2;
1: + __u8 border_status : 2;
1: + __u8 erasable : 1;
1: + __u8 reserved1 : 3;
1: + __u8 n_first_track;
1: + __u8 n_sessions_lsb;
1: + __u8 first_track_lsb;
1: + __u8 last_track_lsb;
1: + __u8 mrw_status : 2;
1: + __u8 dbit : 1;
1: + __u8 reserved2 : 2;
1: + __u8 uru : 1;
1: + __u8 dbc_v : 1;
1: + __u8 did_v : 1;
1: + __u8 disc_type;
1: + __u8 n_sessions_msb;
1: + __u8 first_track_msb;
1: + __u8 last_track_msb;
1: + __u32 disc_id;
1: + __u32 lead_in;
1: + __u32 lead_out;
1: + __u8 disc_bar_code[8];
1: + __u8 reserved3;
1: + __u8 n_opc;
1: } disc_information;
1:
1: typedef struct {
1: - __be16 track_information_length;
1: - __u8 track_lsb;
1: - __u8 session_lsb;
1: - __u8 reserved1;
1: - __u8 track_mode: 4;
1: - __u8 copy: 1;
1: - __u8 damage: 1;
1: - __u8 reserved2: 2;
1: - __u8 data_mode: 4;
1: - __u8 fp: 1;
1: - __u8 packet: 1;
1: - __u8 blank: 1;
1: - __u8 rt: 1;
1: - __u8 nwa_v: 1;
1: - __u8 lra_v: 1;
1: - __u8 reserved3: 6;
1: - __be32 track_start;
1: - __be32 next_writable;
1: - __be32 free_blocks;
1: - __be32 fixed_packet_size;
1: - __be32 track_size;
1: - __be32 last_rec_address;
1: + __be16 track_information_length;
1: + __u8 track_lsb;
1: + __u8 session_lsb;
1: + __u8 reserved1;
1: + __u8 track_mode : 4;
1: + __u8 copy : 1;
1: + __u8 damage : 1;
1: + __u8 reserved2 : 2;
1: + __u8 data_mode : 4;
1: + __u8 fp : 1;
1: + __u8 packet : 1;
1: + __u8 blank : 1;
1: + __u8 rt : 1;
1: + __u8 nwa_v : 1;
1: + __u8 lra_v : 1;
1: + __u8 reserved3 : 6;
1: + __be32 track_start;
1: + __be32 next_writable;
1: + __be32 free_blocks;
1: + __be32 fixed_packet_size;
1: + __be32 track_size;
1: + __be32 last_rec_address;
1: } track_information;
1:
1: struct mode_page_header {
1: - __be16 mode_data_length;
1: - __u8 medium_type;
1: - __u8 reserved1;
1: - __u8 reserved2;
1: - __u8 reserved3;
1: - __be16 desc_length;
1: + __be16 mode_data_length;
1: + __u8 medium_type;
1: + __u8 reserved1;
1: + __u8 reserved2;
1: + __u8 reserved3;
1: + __be16 desc_length;
1: };
1:
1: typedef struct {
1: - int data;
1: - int audio;
1: - int cdi;
1: - int xa;
1: - long int error;
1: + int data;
1: + int audio;
1: + int cdi;
1: + int xa;
1: + long int error;
1: } tracktype;
1:
1: struct cdrom_mechstat_header {
1: - __u8 curslot: 5;
1: - __u8 changer_state: 2;
1: - __u8 fault: 1;
1: - __u8 reserved1: 4;
1: - __u8 door_open: 1;
1: - __u8 mech_state: 3;
1: - __u8 curlba[3];
1: - __u8 nslots;
1: - __u16 slot_tablelen;
1: + __u8 curslot : 5;
1: + __u8 changer_state : 2;
1: + __u8 fault : 1;
1: + __u8 reserved1 : 4;
1: + __u8 door_open : 1;
1: + __u8 mech_state : 3;
1: + __u8 curlba[3];
1: + __u8 nslots;
1: + __u16 slot_tablelen;
1: };
1:
1: struct cdrom_slot {
1: - __u8 change: 1;
1: - __u8 reserved1: 6;
1: - __u8 disc_present: 1;
1: - __u8 reserved2[3];
1: + __u8 change : 1;
1: + __u8 reserved1 : 6;
1: + __u8 disc_present : 1;
1: + __u8 reserved2[3];
1: };
1:
1: struct cdrom_changer_info {
1: - struct cdrom_mechstat_header hdr;
1: - struct cdrom_slot slots[256];
1: + struct cdrom_mechstat_header hdr;
1: + struct cdrom_slot slots[256];
1: };
1:
1: struct modesel_head {
1: - __u8 reserved1;
1: - __u8 medium;
1: - __u8 reserved2;
1: - __u8 block_desc_length;
1: - __u8 density;
1: - __u8 number_of_blocks_hi;
1: - __u8 number_of_blocks_med;
1: - __u8 number_of_blocks_lo;
1: - __u8 reserved3;
1: - __u8 block_length_hi;
1: - __u8 block_length_med;
1: - __u8 block_length_lo;
1: + __u8 reserved1;
1: + __u8 medium;
1: + __u8 reserved2;
1: + __u8 block_desc_length;
1: + __u8 density;
1: + __u8 number_of_blocks_hi;
1: + __u8 number_of_blocks_med;
1: + __u8 number_of_blocks_lo;
1: + __u8 reserved3;
1: + __u8 block_length_hi;
1: + __u8 block_length_med;
1: + __u8 block_length_lo;
1: };
1:
1: typedef struct {
1: - __u16 report_key_length;
1: - __u8 reserved1;
1: - __u8 reserved2;
1: - __u8 ucca: 3;
1: - __u8 vra: 3;
1: - __u8 type_code: 2;
1: - __u8 region_mask;
1: - __u8 rpc_scheme;
1: - __u8 reserved3;
1: + __u16 report_key_length;
1: + __u8 reserved1;
1: + __u8 reserved2;
1: + __u8 ucca : 3;
1: + __u8 vra : 3;
1: + __u8 type_code : 2;
1: + __u8 region_mask;
1: + __u8 rpc_scheme;
1: + __u8 reserved3;
1: } rpc_state_t;
1:
1: struct cdrom_sysctl_settings {
1: - char info[1000];
1: - int autoclose;
1: - int autoeject;
1: - int debug;
1: - int lock;
1: - int check;
1: + char info[1000];
1: + int autoclose;
1: + int autoeject;
1: + int debug;
1: + int lock;
1: + int check;
1: };
1:
1: enum cdrom_print_option {
1: - CTL_NAME = 0,
1: - CTL_SPEED = 1,
1: - CTL_SLOTS = 2,
1: - CTL_CAPABILITY = 3,
1: + CTL_NAME = 0,
1: + CTL_SPEED = 1,
1: + CTL_SLOTS = 2,
1: + CTL_CAPABILITY = 3,
1: };
1:
1: struct socket_state_t {
1: - u_int flags;
1: - u_int csc_mask;
1: - u_char Vcc;
1: - u_char Vpp;
1: - u_char io_irq;
1: + u_int flags;
1: + u_int csc_mask;
1: + u_char Vcc;
1: + u_char Vpp;
1: + u_char io_irq;
1: };
1:
1: typedef struct socket_state_t socket_state_t;
1:
1: struct pccard_io_map {
1: - u_char map;
1: - u_char flags;
1: - u_short speed;
1: - phys_addr_t start;
1: - phys_addr_t stop;
1: + u_char map;
1: + u_char flags;
1: + u_short speed;
1: + phys_addr_t start;
1: + phys_addr_t stop;
1: };
1:
1: struct pccard_mem_map {
1: - u_char map;
1: - u_char flags;
1: - u_short speed;
1: - phys_addr_t static_start;
1: - u_int card_start;
1: - struct resource *res;
1: + u_char map;
1: + u_char flags;
1: + u_short speed;
1: + phys_addr_t static_start;
1: + u_int card_start;
1: + struct resource *res;
1: };
1:
1: typedef struct pccard_mem_map pccard_mem_map;
1:
1: struct io_window_t {
1: - u_int InUse;
1: - u_int Config;
1: - struct resource *res;
1: + u_int InUse;
1: + u_int Config;
1: + struct resource *res;
1: };
1:
1: typedef struct io_window_t io_window_t;
1: @@ -87435,12 +88066,12 @@ typedef struct io_window_t io_window_t;
1: struct pcmcia_socket;
1:
1: struct pccard_operations {
1: - int (*init)(struct pcmcia_socket *);
1: - int (*suspend)(struct pcmcia_socket *);
1: - int (*get_status)(struct pcmcia_socket *, u_int *);
1: - int (*set_socket)(struct pcmcia_socket *, socket_state_t *);
1: - int (*set_io_map)(struct pcmcia_socket *, struct pccard_io_map *);
1: - int (*set_mem_map)(struct pcmcia_socket *, struct pccard_mem_map *);
1: + int (*init)(struct pcmcia_socket *);
1: + int (*suspend)(struct pcmcia_socket *);
1: + int (*get_status)(struct pcmcia_socket *, u_int *);
1: + int (*set_socket)(struct pcmcia_socket *, socket_state_t *);
1: + int (*set_io_map)(struct pcmcia_socket *, struct pccard_io_map *);
1: + int (*set_mem_map)(struct pcmcia_socket *, struct pccard_mem_map *);
1: };
1:
1: struct pccard_resource_ops;
1: @@ -87448,223 +88079,225 @@ struct pccard_resource_ops;
1: struct pcmcia_callback;
1:
1: struct pcmcia_socket {
1: - struct module *owner;
1: - socket_state_t socket;
1: - u_int state;
1: - u_int suspended_state;
1: - u_short functions;
1: - u_short lock_count;
1: - pccard_mem_map cis_mem;
1: - void *cis_virt;
1: - io_window_t io[2];
1: - pccard_mem_map win[4];
1: - struct list_head cis_cache;
1: - size_t fake_cis_len;
1: - u8 *fake_cis;
1: - struct list_head socket_list;
1: - struct completion socket_released;
1: - unsigned int sock;
1: - u_int features;
1: - u_int irq_mask;
1: - u_int map_size;
1: - u_int io_offset;
1: - u_int pci_irq;
1: - struct pci_dev *cb_dev;
1: - u8 resource_setup_done;
1: - struct pccard_operations *ops;
1: - struct pccard_resource_ops *resource_ops;
1: - void *resource_data;
1: - void (*zoom_video)(struct pcmcia_socket *, int);
1: - int (*power_hook)(struct pcmcia_socket *, int);
1: - void (*tune_bridge)(struct pcmcia_socket *, struct pci_bus *);
1: - struct task_struct *thread;
1: - struct completion thread_done;
1: - unsigned int thread_events;
1: - unsigned int sysfs_events;
1: - struct mutex skt_mutex;
1: - struct mutex ops_mutex;
1: - spinlock_t thread_lock;
1: - struct pcmcia_callback *callback;
1: - struct list_head devices_list;
1: - u8 device_count;
1: - u8 pcmcia_pfc;
1: - atomic_t present;
1: - unsigned int pcmcia_irq;
1: - struct device dev;
1: - void *driver_data;
1: - int resume_status;
1: + struct module *owner;
1: + socket_state_t socket;
1: + u_int state;
1: + u_int suspended_state;
1: + u_short functions;
1: + u_short lock_count;
1: + pccard_mem_map cis_mem;
1: + void *cis_virt;
1: + io_window_t io[2];
1: + pccard_mem_map win[4];
1: + struct list_head cis_cache;
1: + size_t fake_cis_len;
1: + u8 *fake_cis;
1: + struct list_head socket_list;
1: + struct completion socket_released;
1: + unsigned int sock;
1: + u_int features;
1: + u_int irq_mask;
1: + u_int map_size;
1: + u_int io_offset;
1: + u_int pci_irq;
1: + struct pci_dev *cb_dev;
1: + u8 resource_setup_done;
1: + struct pccard_operations *ops;
1: + struct pccard_resource_ops *resource_ops;
1: + void *resource_data;
1: + void (*zoom_video)(struct pcmcia_socket *, int);
1: + int (*power_hook)(struct pcmcia_socket *, int);
1: + void (*tune_bridge)(struct pcmcia_socket *, struct pci_bus *);
1: + struct task_struct *thread;
1: + struct completion thread_done;
1: + unsigned int thread_events;
1: + unsigned int sysfs_events;
1: + struct mutex skt_mutex;
1: + struct mutex ops_mutex;
1: + spinlock_t thread_lock;
1: + struct pcmcia_callback *callback;
1: + struct list_head devices_list;
1: + u8 device_count;
1: + u8 pcmcia_pfc;
1: + atomic_t present;
1: + unsigned int pcmcia_irq;
1: + struct device dev;
1: + void *driver_data;
1: + int resume_status;
1: };
1:
1: struct pccard_resource_ops {
1: - int (*validate_mem)(struct pcmcia_socket *);
1: - int (*find_io)(struct pcmcia_socket *, unsigned int, unsigned int *, unsigned int, unsigned int, struct resource **);
1: - struct resource * (*find_mem)(long unsigned int, long unsigned int, long unsigned int, int, struct pcmcia_socket *);
1: - int (*init)(struct pcmcia_socket *);
1: - void (*exit)(struct pcmcia_socket *);
1: + int (*validate_mem)(struct pcmcia_socket *);
1: + int (*find_io)(struct pcmcia_socket *, unsigned int, unsigned int *,
1: + unsigned int, unsigned int, struct resource **);
1: + struct resource *(*find_mem)(long unsigned int, long unsigned int,
1: + long unsigned int, int, struct pcmcia_socket *);
1: + int (*init)(struct pcmcia_socket *);
1: + void (*exit)(struct pcmcia_socket *);
1: };
1:
1: struct pcmcia_callback {
1: - struct module *owner;
1: - int (*add)(struct pcmcia_socket *);
1: - int (*remove)(struct pcmcia_socket *);
1: - void (*requery)(struct pcmcia_socket *);
1: - int (*validate)(struct pcmcia_socket *, unsigned int *);
1: - int (*suspend)(struct pcmcia_socket *);
1: - int (*early_resume)(struct pcmcia_socket *);
1: - int (*resume)(struct pcmcia_socket *);
1: + struct module *owner;
1: + int (*add)(struct pcmcia_socket *);
1: + int (*remove)(struct pcmcia_socket *);
1: + void (*requery)(struct pcmcia_socket *);
1: + int (*validate)(struct pcmcia_socket *, unsigned int *);
1: + int (*suspend)(struct pcmcia_socket *);
1: + int (*early_resume)(struct pcmcia_socket *);
1: + int (*resume)(struct pcmcia_socket *);
1: };
1:
1: enum {
1: - PCMCIA_IOPORT_0 = 0,
1: - PCMCIA_IOPORT_1 = 1,
1: - PCMCIA_IOMEM_0 = 2,
1: - PCMCIA_IOMEM_1 = 3,
1: - PCMCIA_IOMEM_2 = 4,
1: - PCMCIA_IOMEM_3 = 5,
1: - PCMCIA_NUM_RESOURCES = 6,
1: + PCMCIA_IOPORT_0 = 0,
1: + PCMCIA_IOPORT_1 = 1,
1: + PCMCIA_IOMEM_0 = 2,
1: + PCMCIA_IOMEM_1 = 3,
1: + PCMCIA_IOMEM_2 = 4,
1: + PCMCIA_IOMEM_3 = 5,
1: + PCMCIA_NUM_RESOURCES = 6,
1: };
1:
1: typedef unsigned char cisdata_t;
1:
1: struct cistpl_longlink_mfc_t {
1: - u_char nfn;
1: - struct {
1: - u_char space;
1: - u_int addr;
1: - } fn[8];
1: + u_char nfn;
1: + struct {
1: + u_char space;
1: + u_int addr;
1: + } fn[8];
1: };
1:
1: typedef struct cistpl_longlink_mfc_t cistpl_longlink_mfc_t;
1:
1: struct cistpl_vers_1_t {
1: - u_char major;
1: - u_char minor;
1: - u_char ns;
1: - u_char ofs[4];
1: - char str[254];
1: + u_char major;
1: + u_char minor;
1: + u_char ns;
1: + u_char ofs[4];
1: + char str[254];
1: };
1:
1: typedef struct cistpl_vers_1_t cistpl_vers_1_t;
1:
1: struct cistpl_manfid_t {
1: - u_short manf;
1: - u_short card;
1: + u_short manf;
1: + u_short card;
1: };
1:
1: typedef struct cistpl_manfid_t cistpl_manfid_t;
1:
1: struct cistpl_funcid_t {
1: - u_char func;
1: - u_char sysinit;
1: + u_char func;
1: + u_char sysinit;
1: };
1:
1: typedef struct cistpl_funcid_t cistpl_funcid_t;
1:
1: struct cistpl_config_t {
1: - u_char last_idx;
1: - u_int base;
1: - u_int rmask[4];
1: - u_char subtuples;
1: + u_char last_idx;
1: + u_int base;
1: + u_int rmask[4];
1: + u_char subtuples;
1: };
1:
1: typedef struct cistpl_config_t cistpl_config_t;
1:
1: struct cistpl_device_geo_t {
1: - u_char ngeo;
1: - struct {
1: - u_char buswidth;
1: - u_int erase_block;
1: - u_int read_block;
1: - u_int write_block;
1: - u_int partition;
1: - u_int interleave;
1: - } geo[4];
1: + u_char ngeo;
1: + struct {
1: + u_char buswidth;
1: + u_int erase_block;
1: + u_int read_block;
1: + u_int write_block;
1: + u_int partition;
1: + u_int interleave;
1: + } geo[4];
1: };
1:
1: typedef struct cistpl_device_geo_t cistpl_device_geo_t;
1:
1: struct pcmcia_device_id {
1: - __u16 match_flags;
1: - __u16 manf_id;
1: - __u16 card_id;
1: - __u8 func_id;
1: - __u8 function;
1: - __u8 device_no;
1: - __u32 prod_id_hash[4];
1: - const char *prod_id[4];
1: - kernel_ulong_t driver_info;
1: - char *cisfile;
1: + __u16 match_flags;
1: + __u16 manf_id;
1: + __u16 card_id;
1: + __u8 func_id;
1: + __u8 function;
1: + __u8 device_no;
1: + __u32 prod_id_hash[4];
1: + const char *prod_id[4];
1: + kernel_ulong_t driver_info;
1: + char *cisfile;
1: };
1:
1: struct pcmcia_dynids {
1: - struct mutex lock;
1: - struct list_head list;
1: + struct mutex lock;
1: + struct list_head list;
1: };
1:
1: struct pcmcia_device;
1:
1: struct pcmcia_driver {
1: - const char *name;
1: - int (*probe)(struct pcmcia_device *);
1: - void (*remove)(struct pcmcia_device *);
1: - int (*suspend)(struct pcmcia_device *);
1: - int (*resume)(struct pcmcia_device *);
1: - struct module *owner;
1: - const struct pcmcia_device_id *id_table;
1: - struct device_driver drv;
1: - struct pcmcia_dynids dynids;
1: + const char *name;
1: + int (*probe)(struct pcmcia_device *);
1: + void (*remove)(struct pcmcia_device *);
1: + int (*suspend)(struct pcmcia_device *);
1: + int (*resume)(struct pcmcia_device *);
1: + struct module *owner;
1: + const struct pcmcia_device_id *id_table;
1: + struct device_driver drv;
1: + struct pcmcia_dynids dynids;
1: };
1:
1: struct config_t;
1:
1: struct pcmcia_device {
1: - struct pcmcia_socket *socket;
1: - char *devname;
1: - u8 device_no;
1: - u8 func;
1: - struct config_t *function_config;
1: - struct list_head socket_device_list;
1: - unsigned int irq;
1: - struct resource *resource[6];
1: - resource_size_t card_addr;
1: - unsigned int vpp;
1: - unsigned int config_flags;
1: - unsigned int config_base;
1: - unsigned int config_index;
1: - unsigned int config_regs;
1: - unsigned int io_lines;
1: - u16 suspended: 1;
1: - u16 _irq: 1;
1: - u16 _io: 1;
1: - u16 _win: 4;
1: - u16 _locked: 1;
1: - u16 allow_func_id_match: 1;
1: - u16 has_manf_id: 1;
1: - u16 has_card_id: 1;
1: - u16 has_func_id: 1;
1: - u16 reserved: 4;
1: - u8 func_id;
1: - u16 manf_id;
1: - u16 card_id;
1: - char *prod_id[4];
1: - u64 dma_mask;
1: - struct device dev;
1: - void *priv;
1: - unsigned int open;
1: + struct pcmcia_socket *socket;
1: + char *devname;
1: + u8 device_no;
1: + u8 func;
1: + struct config_t *function_config;
1: + struct list_head socket_device_list;
1: + unsigned int irq;
1: + struct resource *resource[6];
1: + resource_size_t card_addr;
1: + unsigned int vpp;
1: + unsigned int config_flags;
1: + unsigned int config_base;
1: + unsigned int config_index;
1: + unsigned int config_regs;
1: + unsigned int io_lines;
1: + u16 suspended : 1;
1: + u16 _irq : 1;
1: + u16 _io : 1;
1: + u16 _win : 4;
1: + u16 _locked : 1;
1: + u16 allow_func_id_match : 1;
1: + u16 has_manf_id : 1;
1: + u16 has_card_id : 1;
1: + u16 has_func_id : 1;
1: + u16 reserved : 4;
1: + u8 func_id;
1: + u16 manf_id;
1: + u16 card_id;
1: + char *prod_id[4];
1: + u64 dma_mask;
1: + struct device dev;
1: + void *priv;
1: + unsigned int open;
1: };
1:
1: struct config_t {
1: - struct kref ref;
1: - unsigned int state;
1: - struct resource io[2];
1: - struct resource mem[4];
1: + struct kref ref;
1: + unsigned int state;
1: + struct resource io[2];
1: + struct resource mem[4];
1: };
1:
1: typedef struct config_t config_t;
1:
1: struct pcmcia_dynid {
1: - struct list_head node;
1: - struct pcmcia_device_id id;
1: + struct list_head node;
1: + struct pcmcia_device_id id;
1: };
1:
1: typedef long unsigned int u_long;
1: @@ -87672,579 +88305,579 @@ typedef long unsigned int u_long;
1: typedef struct pccard_io_map pccard_io_map;
1:
1: struct cistpl_longlink_t {
1: - u_int addr;
1: + u_int addr;
1: };
1:
1: typedef struct cistpl_longlink_t cistpl_longlink_t;
1:
1: struct cistpl_checksum_t {
1: - u_short addr;
1: - u_short len;
1: - u_char sum;
1: + u_short addr;
1: + u_short len;
1: + u_char sum;
1: };
1:
1: typedef struct cistpl_checksum_t cistpl_checksum_t;
1:
1: struct cistpl_altstr_t {
1: - u_char ns;
1: - u_char ofs[4];
1: - char str[254];
1: + u_char ns;
1: + u_char ofs[4];
1: + char str[254];
1: };
1:
1: typedef struct cistpl_altstr_t cistpl_altstr_t;
1:
1: struct cistpl_device_t {
1: - u_char ndev;
1: - struct {
1: - u_char type;
1: - u_char wp;
1: - u_int speed;
1: - u_int size;
1: - } dev[4];
1: + u_char ndev;
1: + struct {
1: + u_char type;
1: + u_char wp;
1: + u_int speed;
1: + u_int size;
1: + } dev[4];
1: };
1:
1: typedef struct cistpl_device_t cistpl_device_t;
1:
1: struct cistpl_jedec_t {
1: - u_char nid;
1: - struct {
1: - u_char mfr;
1: - u_char info;
1: - } id[4];
1: + u_char nid;
1: + struct {
1: + u_char mfr;
1: + u_char info;
1: + } id[4];
1: };
1:
1: typedef struct cistpl_jedec_t cistpl_jedec_t;
1:
1: struct cistpl_funce_t {
1: - u_char type;
1: - u_char data[0];
1: + u_char type;
1: + u_char data[0];
1: };
1:
1: typedef struct cistpl_funce_t cistpl_funce_t;
1:
1: struct cistpl_bar_t {
1: - u_char attr;
1: - u_int size;
1: + u_char attr;
1: + u_int size;
1: };
1:
1: typedef struct cistpl_bar_t cistpl_bar_t;
1:
1: struct cistpl_power_t {
1: - u_char present;
1: - u_char flags;
1: - u_int param[7];
1: + u_char present;
1: + u_char flags;
1: + u_int param[7];
1: };
1:
1: typedef struct cistpl_power_t cistpl_power_t;
1:
1: struct cistpl_timing_t {
1: - u_int wait;
1: - u_int waitscale;
1: - u_int ready;
1: - u_int rdyscale;
1: - u_int reserved;
1: - u_int rsvscale;
1: + u_int wait;
1: + u_int waitscale;
1: + u_int ready;
1: + u_int rdyscale;
1: + u_int reserved;
1: + u_int rsvscale;
1: };
1:
1: typedef struct cistpl_timing_t cistpl_timing_t;
1:
1: struct cistpl_io_t {
1: - u_char flags;
1: - u_char nwin;
1: - struct {
1: - u_int base;
1: - u_int len;
1: - } win[16];
1: + u_char flags;
1: + u_char nwin;
1: + struct {
1: + u_int base;
1: + u_int len;
1: + } win[16];
1: };
1:
1: typedef struct cistpl_io_t cistpl_io_t;
1:
1: struct cistpl_irq_t {
1: - u_int IRQInfo1;
1: - u_int IRQInfo2;
1: + u_int IRQInfo1;
1: + u_int IRQInfo2;
1: };
1:
1: typedef struct cistpl_irq_t cistpl_irq_t;
1:
1: struct cistpl_mem_t {
1: - u_char flags;
1: - u_char nwin;
1: - struct {
1: - u_int len;
1: - u_int card_addr;
1: - u_int host_addr;
1: - } win[8];
1: + u_char flags;
1: + u_char nwin;
1: + struct {
1: + u_int len;
1: + u_int card_addr;
1: + u_int host_addr;
1: + } win[8];
1: };
1:
1: typedef struct cistpl_mem_t cistpl_mem_t;
1:
1: struct cistpl_cftable_entry_t {
1: - u_char index;
1: - u_short flags;
1: - u_char interface;
1: - cistpl_power_t vcc;
1: - cistpl_power_t vpp1;
1: - cistpl_power_t vpp2;
1: - cistpl_timing_t timing;
1: - cistpl_io_t io;
1: - cistpl_irq_t irq;
1: - cistpl_mem_t mem;
1: - u_char subtuples;
1: + u_char index;
1: + u_short flags;
1: + u_char interface;
1: + cistpl_power_t vcc;
1: + cistpl_power_t vpp1;
1: + cistpl_power_t vpp2;
1: + cistpl_timing_t timing;
1: + cistpl_io_t io;
1: + cistpl_irq_t irq;
1: + cistpl_mem_t mem;
1: + u_char subtuples;
1: };
1:
1: typedef struct cistpl_cftable_entry_t cistpl_cftable_entry_t;
1:
1: struct cistpl_cftable_entry_cb_t {
1: - u_char index;
1: - u_int flags;
1: - cistpl_power_t vcc;
1: - cistpl_power_t vpp1;
1: - cistpl_power_t vpp2;
1: - u_char io;
1: - cistpl_irq_t irq;
1: - u_char mem;
1: - u_char subtuples;
1: + u_char index;
1: + u_int flags;
1: + cistpl_power_t vcc;
1: + cistpl_power_t vpp1;
1: + cistpl_power_t vpp2;
1: + u_char io;
1: + cistpl_irq_t irq;
1: + u_char mem;
1: + u_char subtuples;
1: };
1:
1: typedef struct cistpl_cftable_entry_cb_t cistpl_cftable_entry_cb_t;
1:
1: struct cistpl_vers_2_t {
1: - u_char vers;
1: - u_char comply;
1: - u_short dindex;
1: - u_char vspec8;
1: - u_char vspec9;
1: - u_char nhdr;
1: - u_char vendor;
1: - u_char info;
1: - char str[244];
1: + u_char vers;
1: + u_char comply;
1: + u_short dindex;
1: + u_char vspec8;
1: + u_char vspec9;
1: + u_char nhdr;
1: + u_char vendor;
1: + u_char info;
1: + char str[244];
1: };
1:
1: typedef struct cistpl_vers_2_t cistpl_vers_2_t;
1:
1: struct cistpl_org_t {
1: - u_char data_org;
1: - char desc[30];
1: + u_char data_org;
1: + char desc[30];
1: };
1:
1: typedef struct cistpl_org_t cistpl_org_t;
1:
1: struct cistpl_format_t {
1: - u_char type;
1: - u_char edc;
1: - u_int offset;
1: - u_int length;
1: + u_char type;
1: + u_char edc;
1: + u_int offset;
1: + u_int length;
1: };
1:
1: typedef struct cistpl_format_t cistpl_format_t;
1:
1: union cisparse_t {
1: - cistpl_device_t device;
1: - cistpl_checksum_t checksum;
1: - cistpl_longlink_t longlink;
1: - cistpl_longlink_mfc_t longlink_mfc;
1: - cistpl_vers_1_t version_1;
1: - cistpl_altstr_t altstr;
1: - cistpl_jedec_t jedec;
1: - cistpl_manfid_t manfid;
1: - cistpl_funcid_t funcid;
1: - cistpl_funce_t funce;
1: - cistpl_bar_t bar;
1: - cistpl_config_t config;
1: - cistpl_cftable_entry_t cftable_entry;
1: - cistpl_cftable_entry_cb_t cftable_entry_cb;
1: - cistpl_device_geo_t device_geo;
1: - cistpl_vers_2_t vers_2;
1: - cistpl_org_t org;
1: - cistpl_format_t format;
1: + cistpl_device_t device;
1: + cistpl_checksum_t checksum;
1: + cistpl_longlink_t longlink;
1: + cistpl_longlink_mfc_t longlink_mfc;
1: + cistpl_vers_1_t version_1;
1: + cistpl_altstr_t altstr;
1: + cistpl_jedec_t jedec;
1: + cistpl_manfid_t manfid;
1: + cistpl_funcid_t funcid;
1: + cistpl_funce_t funce;
1: + cistpl_bar_t bar;
1: + cistpl_config_t config;
1: + cistpl_cftable_entry_t cftable_entry;
1: + cistpl_cftable_entry_cb_t cftable_entry_cb;
1: + cistpl_device_geo_t device_geo;
1: + cistpl_vers_2_t vers_2;
1: + cistpl_org_t org;
1: + cistpl_format_t format;
1: };
1:
1: typedef union cisparse_t cisparse_t;
1:
1: struct tuple_t {
1: - u_int Attributes;
1: - cisdata_t DesiredTuple;
1: - u_int Flags;
1: - u_int LinkOffset;
1: - u_int CISOffset;
1: - cisdata_t TupleCode;
1: - cisdata_t TupleLink;
1: - cisdata_t TupleOffset;
1: - cisdata_t TupleDataMax;
1: - cisdata_t TupleDataLen;
1: - cisdata_t *TupleData;
1: + u_int Attributes;
1: + cisdata_t DesiredTuple;
1: + u_int Flags;
1: + u_int LinkOffset;
1: + u_int CISOffset;
1: + cisdata_t TupleCode;
1: + cisdata_t TupleLink;
1: + cisdata_t TupleOffset;
1: + cisdata_t TupleDataMax;
1: + cisdata_t TupleDataLen;
1: + cisdata_t *TupleData;
1: };
1:
1: typedef struct tuple_t tuple_t;
1:
1: struct cis_cache_entry {
1: - struct list_head node;
1: - unsigned int addr;
1: - unsigned int len;
1: - unsigned int attr;
1: - unsigned char cache[0];
1: + struct list_head node;
1: + unsigned int addr;
1: + unsigned int len;
1: + unsigned int attr;
1: + unsigned char cache[0];
1: };
1:
1: struct tuple_flags {
1: - u_int link_space: 4;
1: - u_int has_link: 1;
1: - u_int mfc_fn: 3;
1: - u_int space: 4;
1: + u_int link_space : 4;
1: + u_int has_link : 1;
1: + u_int mfc_fn : 3;
1: + u_int space : 4;
1: };
1:
1: struct pcmcia_cfg_mem {
1: - struct pcmcia_device *p_dev;
1: - int (*conf_check)(struct pcmcia_device *, void *);
1: - void *priv_data;
1: - cisparse_t parse;
1: - cistpl_cftable_entry_t dflt;
1: + struct pcmcia_device *p_dev;
1: + int (*conf_check)(struct pcmcia_device *, void *);
1: + void *priv_data;
1: + cisparse_t parse;
1: + cistpl_cftable_entry_t dflt;
1: };
1:
1: struct pcmcia_loop_mem {
1: - struct pcmcia_device *p_dev;
1: - void *priv_data;
1: - int (*loop_tuple)(struct pcmcia_device *, tuple_t *, void *);
1: + struct pcmcia_device *p_dev;
1: + void *priv_data;
1: + int (*loop_tuple)(struct pcmcia_device *, tuple_t *, void *);
1: };
1:
1: struct pcmcia_loop_get {
1: - size_t len;
1: - cisdata_t **buf;
1: + size_t len;
1: + cisdata_t **buf;
1: };
1:
1: struct resource_map {
1: - u_long base;
1: - u_long num;
1: - struct resource_map *next;
1: + u_long base;
1: + u_long num;
1: + struct resource_map *next;
1: };
1:
1: struct socket_data {
1: - struct resource_map mem_db;
1: - struct resource_map mem_db_valid;
1: - struct resource_map io_db;
1: + struct resource_map mem_db;
1: + struct resource_map mem_db_valid;
1: + struct resource_map io_db;
1: };
1:
1: struct pcmcia_align_data {
1: - long unsigned int mask;
1: - long unsigned int offset;
1: - struct resource_map *map;
1: + long unsigned int mask;
1: + long unsigned int offset;
1: + struct resource_map *map;
1: };
1:
1: struct yenta_socket;
1:
1: struct cardbus_type {
1: - int (*override)(struct yenta_socket *);
1: - void (*save_state)(struct yenta_socket *);
1: - void (*restore_state)(struct yenta_socket *);
1: - int (*sock_init)(struct yenta_socket *);
1: + int (* override)(struct yenta_socket *);
1: + void (*save_state)(struct yenta_socket *);
1: + void (*restore_state)(struct yenta_socket *);
1: + int (*sock_init)(struct yenta_socket *);
1: };
1:
1: struct yenta_socket {
1: - struct pci_dev *dev;
1: - int cb_irq;
1: - int io_irq;
1: - void *base;
1: - struct timer_list poll_timer;
1: - struct pcmcia_socket socket;
1: - struct cardbus_type *type;
1: - u32 flags;
1: - unsigned int probe_status;
1: - unsigned int private[8];
1: - u32 saved_state[2];
1: -};
1: -
1: -enum {
1: - CARDBUS_TYPE_DEFAULT = -1,
1: - CARDBUS_TYPE_TI = 0,
1: - CARDBUS_TYPE_TI113X = 1,
1: - CARDBUS_TYPE_TI12XX = 2,
1: - CARDBUS_TYPE_TI1250 = 3,
1: - CARDBUS_TYPE_RICOH = 4,
1: - CARDBUS_TYPE_TOPIC95 = 5,
1: - CARDBUS_TYPE_TOPIC97 = 6,
1: - CARDBUS_TYPE_O2MICRO = 7,
1: - CARDBUS_TYPE_ENE = 8,
1: + struct pci_dev *dev;
1: + int cb_irq;
1: + int io_irq;
1: + void *base;
1: + struct timer_list poll_timer;
1: + struct pcmcia_socket socket;
1: + struct cardbus_type *type;
1: + u32 flags;
1: + unsigned int probe_status;
1: + unsigned int private[8];
1: + u32 saved_state[2];
1: +};
1: +
1: +enum {
1: + CARDBUS_TYPE_DEFAULT = -1,
1: + CARDBUS_TYPE_TI = 0,
1: + CARDBUS_TYPE_TI113X = 1,
1: + CARDBUS_TYPE_TI12XX = 2,
1: + CARDBUS_TYPE_TI1250 = 3,
1: + CARDBUS_TYPE_RICOH = 4,
1: + CARDBUS_TYPE_TOPIC95 = 5,
1: + CARDBUS_TYPE_TOPIC97 = 6,
1: + CARDBUS_TYPE_O2MICRO = 7,
1: + CARDBUS_TYPE_ENE = 8,
1: };
1:
1: enum usb_device_speed {
1: - USB_SPEED_UNKNOWN = 0,
1: - USB_SPEED_LOW = 1,
1: - USB_SPEED_FULL = 2,
1: - USB_SPEED_HIGH = 3,
1: - USB_SPEED_WIRELESS = 4,
1: - USB_SPEED_SUPER = 5,
1: - USB_SPEED_SUPER_PLUS = 6,
1: + USB_SPEED_UNKNOWN = 0,
1: + USB_SPEED_LOW = 1,
1: + USB_SPEED_FULL = 2,
1: + USB_SPEED_HIGH = 3,
1: + USB_SPEED_WIRELESS = 4,
1: + USB_SPEED_SUPER = 5,
1: + USB_SPEED_SUPER_PLUS = 6,
1: };
1:
1: enum usb_device_state {
1: - USB_STATE_NOTATTACHED = 0,
1: - USB_STATE_ATTACHED = 1,
1: - USB_STATE_POWERED = 2,
1: - USB_STATE_RECONNECTING = 3,
1: - USB_STATE_UNAUTHENTICATED = 4,
1: - USB_STATE_DEFAULT = 5,
1: - USB_STATE_ADDRESS = 6,
1: - USB_STATE_CONFIGURED = 7,
1: - USB_STATE_SUSPENDED = 8,
1: + USB_STATE_NOTATTACHED = 0,
1: + USB_STATE_ATTACHED = 1,
1: + USB_STATE_POWERED = 2,
1: + USB_STATE_RECONNECTING = 3,
1: + USB_STATE_UNAUTHENTICATED = 4,
1: + USB_STATE_DEFAULT = 5,
1: + USB_STATE_ADDRESS = 6,
1: + USB_STATE_CONFIGURED = 7,
1: + USB_STATE_SUSPENDED = 8,
1: };
1:
1: enum usb_otg_state {
1: - OTG_STATE_UNDEFINED = 0,
1: - OTG_STATE_B_IDLE = 1,
1: - OTG_STATE_B_SRP_INIT = 2,
1: - OTG_STATE_B_PERIPHERAL = 3,
1: - OTG_STATE_B_WAIT_ACON = 4,
1: - OTG_STATE_B_HOST = 5,
1: - OTG_STATE_A_IDLE = 6,
1: - OTG_STATE_A_WAIT_VRISE = 7,
1: - OTG_STATE_A_WAIT_BCON = 8,
1: - OTG_STATE_A_HOST = 9,
1: - OTG_STATE_A_SUSPEND = 10,
1: - OTG_STATE_A_PERIPHERAL = 11,
1: - OTG_STATE_A_WAIT_VFALL = 12,
1: - OTG_STATE_A_VBUS_ERR = 13,
1: + OTG_STATE_UNDEFINED = 0,
1: + OTG_STATE_B_IDLE = 1,
1: + OTG_STATE_B_SRP_INIT = 2,
1: + OTG_STATE_B_PERIPHERAL = 3,
1: + OTG_STATE_B_WAIT_ACON = 4,
1: + OTG_STATE_B_HOST = 5,
1: + OTG_STATE_A_IDLE = 6,
1: + OTG_STATE_A_WAIT_VRISE = 7,
1: + OTG_STATE_A_WAIT_BCON = 8,
1: + OTG_STATE_A_HOST = 9,
1: + OTG_STATE_A_SUSPEND = 10,
1: + OTG_STATE_A_PERIPHERAL = 11,
1: + OTG_STATE_A_WAIT_VFALL = 12,
1: + OTG_STATE_A_VBUS_ERR = 13,
1: };
1:
1: enum usb_dr_mode {
1: - USB_DR_MODE_UNKNOWN = 0,
1: - USB_DR_MODE_HOST = 1,
1: - USB_DR_MODE_PERIPHERAL = 2,
1: - USB_DR_MODE_OTG = 3,
1: + USB_DR_MODE_UNKNOWN = 0,
1: + USB_DR_MODE_HOST = 1,
1: + USB_DR_MODE_PERIPHERAL = 2,
1: + USB_DR_MODE_OTG = 3,
1: };
1:
1: struct usb_device_id {
1: - __u16 match_flags;
1: - __u16 idVendor;
1: - __u16 idProduct;
1: - __u16 bcdDevice_lo;
1: - __u16 bcdDevice_hi;
1: - __u8 bDeviceClass;
1: - __u8 bDeviceSubClass;
1: - __u8 bDeviceProtocol;
1: - __u8 bInterfaceClass;
1: - __u8 bInterfaceSubClass;
1: - __u8 bInterfaceProtocol;
1: - __u8 bInterfaceNumber;
1: - kernel_ulong_t driver_info;
1: + __u16 match_flags;
1: + __u16 idVendor;
1: + __u16 idProduct;
1: + __u16 bcdDevice_lo;
1: + __u16 bcdDevice_hi;
1: + __u8 bDeviceClass;
1: + __u8 bDeviceSubClass;
1: + __u8 bDeviceProtocol;
1: + __u8 bInterfaceClass;
1: + __u8 bInterfaceSubClass;
1: + __u8 bInterfaceProtocol;
1: + __u8 bInterfaceNumber;
1: + kernel_ulong_t driver_info;
1: };
1:
1: struct usb_descriptor_header {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: };
1:
1: struct usb_device_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __le16 bcdUSB;
1: - __u8 bDeviceClass;
1: - __u8 bDeviceSubClass;
1: - __u8 bDeviceProtocol;
1: - __u8 bMaxPacketSize0;
1: - __le16 idVendor;
1: - __le16 idProduct;
1: - __le16 bcdDevice;
1: - __u8 iManufacturer;
1: - __u8 iProduct;
1: - __u8 iSerialNumber;
1: - __u8 bNumConfigurations;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 bcdUSB;
1: + __u8 bDeviceClass;
1: + __u8 bDeviceSubClass;
1: + __u8 bDeviceProtocol;
1: + __u8 bMaxPacketSize0;
1: + __le16 idVendor;
1: + __le16 idProduct;
1: + __le16 bcdDevice;
1: + __u8 iManufacturer;
1: + __u8 iProduct;
1: + __u8 iSerialNumber;
1: + __u8 bNumConfigurations;
1: };
1:
1: struct usb_config_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __le16 wTotalLength;
1: - __u8 bNumInterfaces;
1: - __u8 bConfigurationValue;
1: - __u8 iConfiguration;
1: - __u8 bmAttributes;
1: - __u8 bMaxPower;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 wTotalLength;
1: + __u8 bNumInterfaces;
1: + __u8 bConfigurationValue;
1: + __u8 iConfiguration;
1: + __u8 bmAttributes;
1: + __u8 bMaxPower;
1: } __attribute__((packed));
1:
1: struct usb_interface_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bInterfaceNumber;
1: - __u8 bAlternateSetting;
1: - __u8 bNumEndpoints;
1: - __u8 bInterfaceClass;
1: - __u8 bInterfaceSubClass;
1: - __u8 bInterfaceProtocol;
1: - __u8 iInterface;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bInterfaceNumber;
1: + __u8 bAlternateSetting;
1: + __u8 bNumEndpoints;
1: + __u8 bInterfaceClass;
1: + __u8 bInterfaceSubClass;
1: + __u8 bInterfaceProtocol;
1: + __u8 iInterface;
1: };
1:
1: struct usb_endpoint_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bEndpointAddress;
1: - __u8 bmAttributes;
1: - __le16 wMaxPacketSize;
1: - __u8 bInterval;
1: - __u8 bRefresh;
1: - __u8 bSynchAddress;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bEndpointAddress;
1: + __u8 bmAttributes;
1: + __le16 wMaxPacketSize;
1: + __u8 bInterval;
1: + __u8 bRefresh;
1: + __u8 bSynchAddress;
1: } __attribute__((packed));
1:
1: struct usb_ssp_isoc_ep_comp_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __le16 wReseved;
1: - __le32 dwBytesPerInterval;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 wReseved;
1: + __le32 dwBytesPerInterval;
1: };
1:
1: struct usb_ss_ep_comp_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bMaxBurst;
1: - __u8 bmAttributes;
1: - __le16 wBytesPerInterval;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bMaxBurst;
1: + __u8 bmAttributes;
1: + __le16 wBytesPerInterval;
1: };
1:
1: struct usb_interface_assoc_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bFirstInterface;
1: - __u8 bInterfaceCount;
1: - __u8 bFunctionClass;
1: - __u8 bFunctionSubClass;
1: - __u8 bFunctionProtocol;
1: - __u8 iFunction;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bFirstInterface;
1: + __u8 bInterfaceCount;
1: + __u8 bFunctionClass;
1: + __u8 bFunctionSubClass;
1: + __u8 bFunctionProtocol;
1: + __u8 iFunction;
1: };
1:
1: struct usb_bos_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __le16 wTotalLength;
1: - __u8 bNumDeviceCaps;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 wTotalLength;
1: + __u8 bNumDeviceCaps;
1: } __attribute__((packed));
1:
1: struct usb_ext_cap_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDevCapabilityType;
1: - __le32 bmAttributes;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: + __le32 bmAttributes;
1: } __attribute__((packed));
1:
1: struct usb_ss_cap_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDevCapabilityType;
1: - __u8 bmAttributes;
1: - __le16 wSpeedSupported;
1: - __u8 bFunctionalitySupport;
1: - __u8 bU1devExitLat;
1: - __le16 bU2DevExitLat;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: + __u8 bmAttributes;
1: + __le16 wSpeedSupported;
1: + __u8 bFunctionalitySupport;
1: + __u8 bU1devExitLat;
1: + __le16 bU2DevExitLat;
1: };
1:
1: struct usb_ss_container_id_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDevCapabilityType;
1: - __u8 bReserved;
1: - __u8 ContainerID[16];
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: + __u8 bReserved;
1: + __u8 ContainerID[16];
1: };
1:
1: struct usb_ssp_cap_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDevCapabilityType;
1: - __u8 bReserved;
1: - __le32 bmAttributes;
1: - __le16 wFunctionalitySupport;
1: - __le16 wReserved;
1: - __le32 bmSublinkSpeedAttr[1];
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: + __u8 bReserved;
1: + __le32 bmAttributes;
1: + __le16 wFunctionalitySupport;
1: + __le16 wReserved;
1: + __le32 bmSublinkSpeedAttr[1];
1: };
1:
1: struct usb_ptm_cap_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDevCapabilityType;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: };
1:
1: enum usb3_link_state {
1: - USB3_LPM_U0 = 0,
1: - USB3_LPM_U1 = 1,
1: - USB3_LPM_U2 = 2,
1: - USB3_LPM_U3 = 3,
1: + USB3_LPM_U0 = 0,
1: + USB3_LPM_U1 = 1,
1: + USB3_LPM_U2 = 2,
1: + USB3_LPM_U3 = 3,
1: };
1:
1: struct ep_device;
1:
1: struct usb_host_endpoint {
1: - struct usb_endpoint_descriptor desc;
1: - struct usb_ss_ep_comp_descriptor ss_ep_comp;
1: - struct usb_ssp_isoc_ep_comp_descriptor ssp_isoc_ep_comp;
1: - char: 8;
1: - struct list_head urb_list;
1: - void *hcpriv;
1: - struct ep_device *ep_dev;
1: - unsigned char *extra;
1: - int extralen;
1: - int enabled;
1: - int streams;
1: - int: 32;
1: + struct usb_endpoint_descriptor desc;
1: + struct usb_ss_ep_comp_descriptor ss_ep_comp;
1: + struct usb_ssp_isoc_ep_comp_descriptor ssp_isoc_ep_comp;
1: + char : 8;
1: + struct list_head urb_list;
1: + void *hcpriv;
1: + struct ep_device *ep_dev;
1: + unsigned char *extra;
1: + int extralen;
1: + int enabled;
1: + int streams;
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct usb_host_interface {
1: - struct usb_interface_descriptor desc;
1: - int extralen;
1: - unsigned char *extra;
1: - struct usb_host_endpoint *endpoint;
1: - char *string;
1: + struct usb_interface_descriptor desc;
1: + int extralen;
1: + unsigned char *extra;
1: + struct usb_host_endpoint *endpoint;
1: + char *string;
1: };
1:
1: enum usb_interface_condition {
1: - USB_INTERFACE_UNBOUND = 0,
1: - USB_INTERFACE_BINDING = 1,
1: - USB_INTERFACE_BOUND = 2,
1: - USB_INTERFACE_UNBINDING = 3,
1: + USB_INTERFACE_UNBOUND = 0,
1: + USB_INTERFACE_BINDING = 1,
1: + USB_INTERFACE_BOUND = 2,
1: + USB_INTERFACE_UNBINDING = 3,
1: };
1:
1: struct usb_interface {
1: - struct usb_host_interface *altsetting;
1: - struct usb_host_interface *cur_altsetting;
1: - unsigned int num_altsetting;
1: - struct usb_interface_assoc_descriptor *intf_assoc;
1: - int minor;
1: - enum usb_interface_condition condition;
1: - unsigned int sysfs_files_created: 1;
1: - unsigned int ep_devs_created: 1;
1: - unsigned int unregistering: 1;
1: - unsigned int needs_remote_wakeup: 1;
1: - unsigned int needs_altsetting0: 1;
1: - unsigned int needs_binding: 1;
1: - unsigned int resetting_device: 1;
1: - unsigned int authorized: 1;
1: - struct device dev;
1: - struct device *usb_dev;
1: - struct work_struct reset_ws;
1: + struct usb_host_interface *altsetting;
1: + struct usb_host_interface *cur_altsetting;
1: + unsigned int num_altsetting;
1: + struct usb_interface_assoc_descriptor *intf_assoc;
1: + int minor;
1: + enum usb_interface_condition condition;
1: + unsigned int sysfs_files_created : 1;
1: + unsigned int ep_devs_created : 1;
1: + unsigned int unregistering : 1;
1: + unsigned int needs_remote_wakeup : 1;
1: + unsigned int needs_altsetting0 : 1;
1: + unsigned int needs_binding : 1;
1: + unsigned int resetting_device : 1;
1: + unsigned int authorized : 1;
1: + struct device dev;
1: + struct device *usb_dev;
1: + struct work_struct reset_ws;
1: };
1:
1: struct usb_interface_cache {
1: - unsigned int num_altsetting;
1: - struct kref ref;
1: - struct usb_host_interface altsetting[0];
1: + unsigned int num_altsetting;
1: + struct kref ref;
1: + struct usb_host_interface altsetting[0];
1: };
1:
1: struct usb_host_config {
1: - struct usb_config_descriptor desc;
1: - char *string;
1: - struct usb_interface_assoc_descriptor *intf_assoc[16];
1: - struct usb_interface *interface[32];
1: - struct usb_interface_cache *intf_cache[32];
1: - unsigned char *extra;
1: - int extralen;
1: + struct usb_config_descriptor desc;
1: + char *string;
1: + struct usb_interface_assoc_descriptor *intf_assoc[16];
1: + struct usb_interface *interface[32];
1: + struct usb_interface_cache *intf_cache[32];
1: + unsigned char *extra;
1: + int extralen;
1: };
1:
1: struct usb_host_bos {
1: - struct usb_bos_descriptor *desc;
1: - struct usb_ext_cap_descriptor *ext_cap;
1: - struct usb_ss_cap_descriptor *ss_cap;
1: - struct usb_ssp_cap_descriptor *ssp_cap;
1: - struct usb_ss_container_id_descriptor *ss_id;
1: - struct usb_ptm_cap_descriptor *ptm_cap;
1: + struct usb_bos_descriptor *desc;
1: + struct usb_ext_cap_descriptor *ext_cap;
1: + struct usb_ss_cap_descriptor *ss_cap;
1: + struct usb_ssp_cap_descriptor *ssp_cap;
1: + struct usb_ss_container_id_descriptor *ss_id;
1: + struct usb_ptm_cap_descriptor *ptm_cap;
1: };
1:
1: struct usb_devmap {
1: - long unsigned int devicemap[2];
1: + long unsigned int devicemap[2];
1: };
1:
1: struct usb_device;
1: @@ -88252,185 +88885,185 @@ struct usb_device;
1: struct mon_bus;
1:
1: struct usb_bus {
1: - struct device *controller;
1: - struct device *sysdev;
1: - int busnum;
1: - const char *bus_name;
1: - u8 uses_pio_for_control;
1: - u8 otg_port;
1: - unsigned int is_b_host: 1;
1: - unsigned int b_hnp_enable: 1;
1: - unsigned int no_stop_on_short: 1;
1: - unsigned int no_sg_constraint: 1;
1: - unsigned int sg_tablesize;
1: - int devnum_next;
1: - struct mutex devnum_next_mutex;
1: - struct usb_devmap devmap;
1: - struct usb_device *root_hub;
1: - struct usb_bus *hs_companion;
1: - int bandwidth_allocated;
1: - int bandwidth_int_reqs;
1: - int bandwidth_isoc_reqs;
1: - unsigned int resuming_ports;
1: - struct mon_bus *mon_bus;
1: - int monitored;
1: + struct device *controller;
1: + struct device *sysdev;
1: + int busnum;
1: + const char *bus_name;
1: + u8 uses_pio_for_control;
1: + u8 otg_port;
1: + unsigned int is_b_host : 1;
1: + unsigned int b_hnp_enable : 1;
1: + unsigned int no_stop_on_short : 1;
1: + unsigned int no_sg_constraint : 1;
1: + unsigned int sg_tablesize;
1: + int devnum_next;
1: + struct mutex devnum_next_mutex;
1: + struct usb_devmap devmap;
1: + struct usb_device *root_hub;
1: + struct usb_bus *hs_companion;
1: + int bandwidth_allocated;
1: + int bandwidth_int_reqs;
1: + int bandwidth_isoc_reqs;
1: + unsigned int resuming_ports;
1: + struct mon_bus *mon_bus;
1: + int monitored;
1: };
1:
1: struct wusb_dev;
1:
1: enum usb_device_removable {
1: - USB_DEVICE_REMOVABLE_UNKNOWN = 0,
1: - USB_DEVICE_REMOVABLE = 1,
1: - USB_DEVICE_FIXED = 2,
1: + USB_DEVICE_REMOVABLE_UNKNOWN = 0,
1: + USB_DEVICE_REMOVABLE = 1,
1: + USB_DEVICE_FIXED = 2,
1: };
1:
1: struct usb2_lpm_parameters {
1: - unsigned int besl;
1: - int timeout;
1: + unsigned int besl;
1: + int timeout;
1: };
1:
1: struct usb3_lpm_parameters {
1: - unsigned int mel;
1: - unsigned int pel;
1: - unsigned int sel;
1: - int timeout;
1: + unsigned int mel;
1: + unsigned int pel;
1: + unsigned int sel;
1: + int timeout;
1: };
1:
1: struct usb_tt;
1:
1: struct usb_device {
1: - int devnum;
1: - char devpath[16];
1: - u32 route;
1: - enum usb_device_state state;
1: - enum usb_device_speed speed;
1: - unsigned int rx_lanes;
1: - unsigned int tx_lanes;
1: - struct usb_tt *tt;
1: - int ttport;
1: - unsigned int toggle[2];
1: - struct usb_device *parent;
1: - struct usb_bus *bus;
1: - struct usb_host_endpoint ep0;
1: - struct device dev;
1: - struct usb_device_descriptor descriptor;
1: - struct usb_host_bos *bos;
1: - struct usb_host_config *config;
1: - struct usb_host_config *actconfig;
1: - struct usb_host_endpoint *ep_in[16];
1: - struct usb_host_endpoint *ep_out[16];
1: - char **rawdescriptors;
1: - short unsigned int bus_mA;
1: - u8 portnum;
1: - u8 level;
1: - u8 devaddr;
1: - unsigned int can_submit: 1;
1: - unsigned int persist_enabled: 1;
1: - unsigned int have_langid: 1;
1: - unsigned int authorized: 1;
1: - unsigned int authenticated: 1;
1: - unsigned int wusb: 1;
1: - unsigned int lpm_capable: 1;
1: - unsigned int usb2_hw_lpm_capable: 1;
1: - unsigned int usb2_hw_lpm_besl_capable: 1;
1: - unsigned int usb2_hw_lpm_enabled: 1;
1: - unsigned int usb2_hw_lpm_allowed: 1;
1: - unsigned int usb3_lpm_u1_enabled: 1;
1: - unsigned int usb3_lpm_u2_enabled: 1;
1: - int string_langid;
1: - char *product;
1: - char *manufacturer;
1: - char *serial;
1: - struct list_head filelist;
1: - int maxchild;
1: - u32 quirks;
1: - atomic_t urbnum;
1: - long unsigned int active_duration;
1: - long unsigned int connect_time;
1: - unsigned int do_remote_wakeup: 1;
1: - unsigned int reset_resume: 1;
1: - unsigned int port_is_suspended: 1;
1: - struct wusb_dev *wusb_dev;
1: - int slot_id;
1: - enum usb_device_removable removable;
1: - struct usb2_lpm_parameters l1_params;
1: - struct usb3_lpm_parameters u1_params;
1: - struct usb3_lpm_parameters u2_params;
1: - unsigned int lpm_disable_count;
1: - u16 hub_delay;
1: + int devnum;
1: + char devpath[16];
1: + u32 route;
1: + enum usb_device_state state;
1: + enum usb_device_speed speed;
1: + unsigned int rx_lanes;
1: + unsigned int tx_lanes;
1: + struct usb_tt *tt;
1: + int ttport;
1: + unsigned int toggle[2];
1: + struct usb_device *parent;
1: + struct usb_bus *bus;
1: + struct usb_host_endpoint ep0;
1: + struct device dev;
1: + struct usb_device_descriptor descriptor;
1: + struct usb_host_bos *bos;
1: + struct usb_host_config *config;
1: + struct usb_host_config *actconfig;
1: + struct usb_host_endpoint *ep_in[16];
1: + struct usb_host_endpoint *ep_out[16];
1: + char **rawdescriptors;
1: + short unsigned int bus_mA;
1: + u8 portnum;
1: + u8 level;
1: + u8 devaddr;
1: + unsigned int can_submit : 1;
1: + unsigned int persist_enabled : 1;
1: + unsigned int have_langid : 1;
1: + unsigned int authorized : 1;
1: + unsigned int authenticated : 1;
1: + unsigned int wusb : 1;
1: + unsigned int lpm_capable : 1;
1: + unsigned int usb2_hw_lpm_capable : 1;
1: + unsigned int usb2_hw_lpm_besl_capable : 1;
1: + unsigned int usb2_hw_lpm_enabled : 1;
1: + unsigned int usb2_hw_lpm_allowed : 1;
1: + unsigned int usb3_lpm_u1_enabled : 1;
1: + unsigned int usb3_lpm_u2_enabled : 1;
1: + int string_langid;
1: + char *product;
1: + char *manufacturer;
1: + char *serial;
1: + struct list_head filelist;
1: + int maxchild;
1: + u32 quirks;
1: + atomic_t urbnum;
1: + long unsigned int active_duration;
1: + long unsigned int connect_time;
1: + unsigned int do_remote_wakeup : 1;
1: + unsigned int reset_resume : 1;
1: + unsigned int port_is_suspended : 1;
1: + struct wusb_dev *wusb_dev;
1: + int slot_id;
1: + enum usb_device_removable removable;
1: + struct usb2_lpm_parameters l1_params;
1: + struct usb3_lpm_parameters u1_params;
1: + struct usb3_lpm_parameters u2_params;
1: + unsigned int lpm_disable_count;
1: + u16 hub_delay;
1: };
1:
1: enum usb_port_connect_type {
1: - USB_PORT_CONNECT_TYPE_UNKNOWN = 0,
1: - USB_PORT_CONNECT_TYPE_HOT_PLUG = 1,
1: - USB_PORT_CONNECT_TYPE_HARD_WIRED = 2,
1: - USB_PORT_NOT_USED = 3,
1: + USB_PORT_CONNECT_TYPE_UNKNOWN = 0,
1: + USB_PORT_CONNECT_TYPE_HOT_PLUG = 1,
1: + USB_PORT_CONNECT_TYPE_HARD_WIRED = 2,
1: + USB_PORT_NOT_USED = 3,
1: };
1:
1: struct usb_tt {
1: - struct usb_device *hub;
1: - int multi;
1: - unsigned int think_time;
1: - void *hcpriv;
1: - spinlock_t lock;
1: - struct list_head clear_list;
1: - struct work_struct clear_work;
1: + struct usb_device *hub;
1: + int multi;
1: + unsigned int think_time;
1: + void *hcpriv;
1: + spinlock_t lock;
1: + struct list_head clear_list;
1: + struct work_struct clear_work;
1: };
1:
1: struct usb_dynids {
1: - spinlock_t lock;
1: - struct list_head list;
1: + spinlock_t lock;
1: + struct list_head list;
1: };
1:
1: struct usbdrv_wrap {
1: - struct device_driver driver;
1: - int for_devices;
1: + struct device_driver driver;
1: + int for_devices;
1: };
1:
1: struct usb_driver {
1: - const char *name;
1: - int (*probe)(struct usb_interface *, const struct usb_device_id *);
1: - void (*disconnect)(struct usb_interface *);
1: - int (*unlocked_ioctl)(struct usb_interface *, unsigned int, void *);
1: - int (*suspend)(struct usb_interface *, pm_message_t);
1: - int (*resume)(struct usb_interface *);
1: - int (*reset_resume)(struct usb_interface *);
1: - int (*pre_reset)(struct usb_interface *);
1: - int (*post_reset)(struct usb_interface *);
1: - const struct usb_device_id *id_table;
1: - const struct attribute_group **dev_groups;
1: - struct usb_dynids dynids;
1: - struct usbdrv_wrap drvwrap;
1: - unsigned int no_dynamic_id: 1;
1: - unsigned int supports_autosuspend: 1;
1: - unsigned int disable_hub_initiated_lpm: 1;
1: - unsigned int soft_unbind: 1;
1: + const char *name;
1: + int (*probe)(struct usb_interface *, const struct usb_device_id *);
1: + void (*disconnect)(struct usb_interface *);
1: + int (*unlocked_ioctl)(struct usb_interface *, unsigned int, void *);
1: + int (*suspend)(struct usb_interface *, pm_message_t);
1: + int (*resume)(struct usb_interface *);
1: + int (*reset_resume)(struct usb_interface *);
1: + int (*pre_reset)(struct usb_interface *);
1: + int (*post_reset)(struct usb_interface *);
1: + const struct usb_device_id *id_table;
1: + const struct attribute_group **dev_groups;
1: + struct usb_dynids dynids;
1: + struct usbdrv_wrap drvwrap;
1: + unsigned int no_dynamic_id : 1;
1: + unsigned int supports_autosuspend : 1;
1: + unsigned int disable_hub_initiated_lpm : 1;
1: + unsigned int soft_unbind : 1;
1: };
1:
1: struct usb_device_driver {
1: - const char *name;
1: - int (*probe)(struct usb_device *);
1: - void (*disconnect)(struct usb_device *);
1: - int (*suspend)(struct usb_device *, pm_message_t);
1: - int (*resume)(struct usb_device *, pm_message_t);
1: - const struct attribute_group **dev_groups;
1: - struct usbdrv_wrap drvwrap;
1: - unsigned int supports_autosuspend: 1;
1: + const char *name;
1: + int (*probe)(struct usb_device *);
1: + void (*disconnect)(struct usb_device *);
1: + int (*suspend)(struct usb_device *, pm_message_t);
1: + int (*resume)(struct usb_device *, pm_message_t);
1: + const struct attribute_group **dev_groups;
1: + struct usbdrv_wrap drvwrap;
1: + unsigned int supports_autosuspend : 1;
1: };
1:
1: struct usb_iso_packet_descriptor {
1: - unsigned int offset;
1: - unsigned int length;
1: - unsigned int actual_length;
1: - int status;
1: + unsigned int offset;
1: + unsigned int length;
1: + unsigned int actual_length;
1: + int status;
1: };
1:
1: struct usb_anchor {
1: - struct list_head urb_list;
1: - wait_queue_head_t wait;
1: - spinlock_t lock;
1: - atomic_t suspend_wakeups;
1: - unsigned int poisoned: 1;
1: + struct list_head urb_list;
1: + wait_queue_head_t wait;
1: + spinlock_t lock;
1: + atomic_t suspend_wakeups;
1: + unsigned int poisoned : 1;
1: };
1:
1: struct urb;
1: @@ -88438,50 +89071,50 @@ struct urb;
1: typedef void (*usb_complete_t)(struct urb *);
1:
1: struct urb {
1: - struct kref kref;
1: - int unlinked;
1: - void *hcpriv;
1: - atomic_t use_count;
1: - atomic_t reject;
1: - struct list_head urb_list;
1: - struct list_head anchor_list;
1: - struct usb_anchor *anchor;
1: - struct usb_device *dev;
1: - struct usb_host_endpoint *ep;
1: - unsigned int pipe;
1: - unsigned int stream_id;
1: - int status;
1: - unsigned int transfer_flags;
1: - void *transfer_buffer;
1: - dma_addr_t transfer_dma;
1: - struct scatterlist *sg;
1: - int num_mapped_sgs;
1: - int num_sgs;
1: - u32 transfer_buffer_length;
1: - u32 actual_length;
1: - unsigned char *setup_packet;
1: - dma_addr_t setup_dma;
1: - int start_frame;
1: - int number_of_packets;
1: - int interval;
1: - int error_count;
1: - void *context;
1: - usb_complete_t complete;
1: - struct usb_iso_packet_descriptor iso_frame_desc[0];
1: + struct kref kref;
1: + int unlinked;
1: + void *hcpriv;
1: + atomic_t use_count;
1: + atomic_t reject;
1: + struct list_head urb_list;
1: + struct list_head anchor_list;
1: + struct usb_anchor *anchor;
1: + struct usb_device *dev;
1: + struct usb_host_endpoint *ep;
1: + unsigned int pipe;
1: + unsigned int stream_id;
1: + int status;
1: + unsigned int transfer_flags;
1: + void *transfer_buffer;
1: + dma_addr_t transfer_dma;
1: + struct scatterlist *sg;
1: + int num_mapped_sgs;
1: + int num_sgs;
1: + u32 transfer_buffer_length;
1: + u32 actual_length;
1: + unsigned char *setup_packet;
1: + dma_addr_t setup_dma;
1: + int start_frame;
1: + int number_of_packets;
1: + int interval;
1: + int error_count;
1: + void *context;
1: + usb_complete_t complete;
1: + struct usb_iso_packet_descriptor iso_frame_desc[0];
1: };
1:
1: struct giveback_urb_bh {
1: - bool running;
1: - spinlock_t lock;
1: - struct list_head head;
1: - struct tasklet_struct bh;
1: - struct usb_host_endpoint *completing_ep;
1: + bool running;
1: + spinlock_t lock;
1: + struct list_head head;
1: + struct tasklet_struct bh;
1: + struct usb_host_endpoint *completing_ep;
1: };
1:
1: enum usb_dev_authorize_policy {
1: - USB_DEVICE_AUTHORIZE_NONE = 0,
1: - USB_DEVICE_AUTHORIZE_ALL = 1,
1: - USB_DEVICE_AUTHORIZE_INTERNAL = 2,
1: + USB_DEVICE_AUTHORIZE_NONE = 0,
1: + USB_DEVICE_AUTHORIZE_ALL = 1,
1: + USB_DEVICE_AUTHORIZE_INTERNAL = 2,
1: };
1:
1: struct usb_phy_roothub;
1: @@ -88491,136 +89124,145 @@ struct hc_driver;
1: struct usb_phy;
1:
1: struct usb_hcd {
1: - struct usb_bus self;
1: - struct kref kref;
1: - const char *product_desc;
1: - int speed;
1: - char irq_descr[24];
1: - struct timer_list rh_timer;
1: - struct urb *status_urb;
1: - struct work_struct wakeup_work;
1: - struct work_struct died_work;
1: - const struct hc_driver *driver;
1: - struct usb_phy *usb_phy;
1: - struct usb_phy_roothub *phy_roothub;
1: - long unsigned int flags;
1: - enum usb_dev_authorize_policy dev_policy;
1: - unsigned int rh_registered: 1;
1: - unsigned int rh_pollable: 1;
1: - unsigned int msix_enabled: 1;
1: - unsigned int msi_enabled: 1;
1: - unsigned int skip_phy_initialization: 1;
1: - unsigned int uses_new_polling: 1;
1: - unsigned int wireless: 1;
1: - unsigned int has_tt: 1;
1: - unsigned int amd_resume_bug: 1;
1: - unsigned int can_do_streams: 1;
1: - unsigned int tpl_support: 1;
1: - unsigned int cant_recv_wakeups: 1;
1: - unsigned int irq;
1: - void *regs;
1: - resource_size_t rsrc_start;
1: - resource_size_t rsrc_len;
1: - unsigned int power_budget;
1: - struct giveback_urb_bh high_prio_bh;
1: - struct giveback_urb_bh low_prio_bh;
1: - struct mutex *address0_mutex;
1: - struct mutex *bandwidth_mutex;
1: - struct usb_hcd *shared_hcd;
1: - struct usb_hcd *primary_hcd;
1: - struct dma_pool___2 *pool[4];
1: - int state;
1: - struct gen_pool *localmem_pool;
1: - long unsigned int hcd_priv[0];
1: + struct usb_bus self;
1: + struct kref kref;
1: + const char *product_desc;
1: + int speed;
1: + char irq_descr[24];
1: + struct timer_list rh_timer;
1: + struct urb *status_urb;
1: + struct work_struct wakeup_work;
1: + struct work_struct died_work;
1: + const struct hc_driver *driver;
1: + struct usb_phy *usb_phy;
1: + struct usb_phy_roothub *phy_roothub;
1: + long unsigned int flags;
1: + enum usb_dev_authorize_policy dev_policy;
1: + unsigned int rh_registered : 1;
1: + unsigned int rh_pollable : 1;
1: + unsigned int msix_enabled : 1;
1: + unsigned int msi_enabled : 1;
1: + unsigned int skip_phy_initialization : 1;
1: + unsigned int uses_new_polling : 1;
1: + unsigned int wireless : 1;
1: + unsigned int has_tt : 1;
1: + unsigned int amd_resume_bug : 1;
1: + unsigned int can_do_streams : 1;
1: + unsigned int tpl_support : 1;
1: + unsigned int cant_recv_wakeups : 1;
1: + unsigned int irq;
1: + void *regs;
1: + resource_size_t rsrc_start;
1: + resource_size_t rsrc_len;
1: + unsigned int power_budget;
1: + struct giveback_urb_bh high_prio_bh;
1: + struct giveback_urb_bh low_prio_bh;
1: + struct mutex *address0_mutex;
1: + struct mutex *bandwidth_mutex;
1: + struct usb_hcd *shared_hcd;
1: + struct usb_hcd *primary_hcd;
1: + struct dma_pool___2 *pool[4];
1: + int state;
1: + struct gen_pool *localmem_pool;
1: + long unsigned int hcd_priv[0];
1: };
1:
1: struct hc_driver {
1: - const char *description;
1: - const char *product_desc;
1: - size_t hcd_priv_size;
1: - irqreturn_t (*irq)(struct usb_hcd *);
1: - int flags;
1: - int (*reset)(struct usb_hcd *);
1: - int (*start)(struct usb_hcd *);
1: - int (*pci_suspend)(struct usb_hcd *, bool);
1: - int (*pci_resume)(struct usb_hcd *, bool);
1: - void (*stop)(struct usb_hcd *);
1: - void (*shutdown)(struct usb_hcd *);
1: - int (*get_frame_number)(struct usb_hcd *);
1: - int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
1: - int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
1: - int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
1: - void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
1: - void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
1: - void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
1: - int (*hub_status_data)(struct usb_hcd *, char *);
1: - int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
1: - int (*bus_suspend)(struct usb_hcd *);
1: - int (*bus_resume)(struct usb_hcd *);
1: - int (*start_port_reset)(struct usb_hcd *, unsigned int);
1: - long unsigned int (*get_resuming_ports)(struct usb_hcd *);
1: - void (*relinquish_port)(struct usb_hcd *, int);
1: - int (*port_handed_over)(struct usb_hcd *, int);
1: - void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
1: - int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
1: - void (*free_dev)(struct usb_hcd *, struct usb_device *);
1: - int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
1: - int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
1: - int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
1: - int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
1: - int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
1: - void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
1: - int (*address_device)(struct usb_hcd *, struct usb_device *);
1: - int (*enable_device)(struct usb_hcd *, struct usb_device *);
1: - int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
1: - int (*reset_device)(struct usb_hcd *, struct usb_device *);
1: - int (*update_device)(struct usb_hcd *, struct usb_device *);
1: - int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
1: - int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
1: - int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
1: - int (*find_raw_port_number)(struct usb_hcd *, int);
1: - int (*port_power)(struct usb_hcd *, int, bool);
1: + const char *description;
1: + const char *product_desc;
1: + size_t hcd_priv_size;
1: + irqreturn_t (*irq)(struct usb_hcd *);
1: + int flags;
1: + int (*reset)(struct usb_hcd *);
1: + int (*start)(struct usb_hcd *);
1: + int (*pci_suspend)(struct usb_hcd *, bool);
1: + int (*pci_resume)(struct usb_hcd *, bool);
1: + void (*stop)(struct usb_hcd *);
1: + void (*shutdown)(struct usb_hcd *);
1: + int (*get_frame_number)(struct usb_hcd *);
1: + int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
1: + int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
1: + int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
1: + void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
1: + void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
1: + void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
1: + int (*hub_status_data)(struct usb_hcd *, char *);
1: + int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
1: + int (*bus_suspend)(struct usb_hcd *);
1: + int (*bus_resume)(struct usb_hcd *);
1: + int (*start_port_reset)(struct usb_hcd *, unsigned int);
1: + long unsigned int (*get_resuming_ports)(struct usb_hcd *);
1: + void (*relinquish_port)(struct usb_hcd *, int);
1: + int (*port_handed_over)(struct usb_hcd *, int);
1: + void (*clear_tt_buffer_complete)(struct usb_hcd *,
1: + struct usb_host_endpoint *);
1: + int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
1: + void (*free_dev)(struct usb_hcd *, struct usb_device *);
1: + int (*alloc_streams)(struct usb_hcd *, struct usb_device *,
1: + struct usb_host_endpoint **, unsigned int, unsigned int,
1: + gfp_t);
1: + int (*free_streams)(struct usb_hcd *, struct usb_device *,
1: + struct usb_host_endpoint **, unsigned int, gfp_t);
1: + int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
1: + struct usb_host_endpoint *);
1: + int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
1: + struct usb_host_endpoint *);
1: + int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
1: + void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
1: + int (*address_device)(struct usb_hcd *, struct usb_device *);
1: + int (*enable_device)(struct usb_hcd *, struct usb_device *);
1: + int (*update_hub_device)(struct usb_hcd *, struct usb_device *,
1: + struct usb_tt *, gfp_t);
1: + int (*reset_device)(struct usb_hcd *, struct usb_device *);
1: + int (*update_device)(struct usb_hcd *, struct usb_device *);
1: + int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
1: + int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *,
1: + enum usb3_link_state);
1: + int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *,
1: + enum usb3_link_state);
1: + int (*find_raw_port_number)(struct usb_hcd *, int);
1: + int (*port_power)(struct usb_hcd *, int, bool);
1: };
1:
1: enum usb_phy_type {
1: - USB_PHY_TYPE_UNDEFINED = 0,
1: - USB_PHY_TYPE_USB2 = 1,
1: - USB_PHY_TYPE_USB3 = 2,
1: + USB_PHY_TYPE_UNDEFINED = 0,
1: + USB_PHY_TYPE_USB2 = 1,
1: + USB_PHY_TYPE_USB3 = 2,
1: };
1:
1: enum usb_phy_events {
1: - USB_EVENT_NONE = 0,
1: - USB_EVENT_VBUS = 1,
1: - USB_EVENT_ID = 2,
1: - USB_EVENT_CHARGER = 3,
1: - USB_EVENT_ENUMERATED = 4,
1: + USB_EVENT_NONE = 0,
1: + USB_EVENT_VBUS = 1,
1: + USB_EVENT_ID = 2,
1: + USB_EVENT_CHARGER = 3,
1: + USB_EVENT_ENUMERATED = 4,
1: };
1:
1: struct extcon_dev;
1:
1: enum usb_charger_type {
1: - UNKNOWN_TYPE = 0,
1: - SDP_TYPE = 1,
1: - DCP_TYPE = 2,
1: - CDP_TYPE = 3,
1: - ACA_TYPE = 4,
1: + UNKNOWN_TYPE = 0,
1: + SDP_TYPE = 1,
1: + DCP_TYPE = 2,
1: + CDP_TYPE = 3,
1: + ACA_TYPE = 4,
1: };
1:
1: enum usb_charger_state {
1: - USB_CHARGER_DEFAULT = 0,
1: - USB_CHARGER_PRESENT = 1,
1: - USB_CHARGER_ABSENT = 2,
1: + USB_CHARGER_DEFAULT = 0,
1: + USB_CHARGER_PRESENT = 1,
1: + USB_CHARGER_ABSENT = 2,
1: };
1:
1: struct usb_charger_current {
1: - unsigned int sdp_min;
1: - unsigned int sdp_max;
1: - unsigned int dcp_min;
1: - unsigned int dcp_max;
1: - unsigned int cdp_min;
1: - unsigned int cdp_max;
1: - unsigned int aca_min;
1: - unsigned int aca_max;
1: + unsigned int sdp_min;
1: + unsigned int sdp_max;
1: + unsigned int dcp_min;
1: + unsigned int dcp_max;
1: + unsigned int cdp_min;
1: + unsigned int cdp_max;
1: + unsigned int aca_min;
1: + unsigned int aca_max;
1: };
1:
1: struct usb_otg;
1: @@ -88628,95 +89270,95 @@ struct usb_otg;
1: struct usb_phy_io_ops;
1:
1: struct usb_phy {
1: - struct device *dev;
1: - const char *label;
1: - unsigned int flags;
1: - enum usb_phy_type type;
1: - enum usb_phy_events last_event;
1: - struct usb_otg *otg;
1: - struct device *io_dev;
1: - struct usb_phy_io_ops *io_ops;
1: - void *io_priv;
1: - struct extcon_dev *edev;
1: - struct extcon_dev *id_edev;
1: - struct notifier_block vbus_nb;
1: - struct notifier_block id_nb;
1: - struct notifier_block type_nb;
1: - enum usb_charger_type chg_type;
1: - enum usb_charger_state chg_state;
1: - struct usb_charger_current chg_cur;
1: - struct work_struct chg_work;
1: - struct atomic_notifier_head notifier;
1: - u16 port_status;
1: - u16 port_change;
1: - struct list_head head;
1: - int (*init)(struct usb_phy *);
1: - void (*shutdown)(struct usb_phy *);
1: - int (*set_vbus)(struct usb_phy *, int);
1: - int (*set_power)(struct usb_phy *, unsigned int);
1: - int (*set_suspend)(struct usb_phy *, int);
1: - int (*set_wakeup)(struct usb_phy *, bool);
1: - int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
1: - int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
1: - enum usb_charger_type (*charger_detect)(struct usb_phy *);
1: + struct device *dev;
1: + const char *label;
1: + unsigned int flags;
1: + enum usb_phy_type type;
1: + enum usb_phy_events last_event;
1: + struct usb_otg *otg;
1: + struct device *io_dev;
1: + struct usb_phy_io_ops *io_ops;
1: + void *io_priv;
1: + struct extcon_dev *edev;
1: + struct extcon_dev *id_edev;
1: + struct notifier_block vbus_nb;
1: + struct notifier_block id_nb;
1: + struct notifier_block type_nb;
1: + enum usb_charger_type chg_type;
1: + enum usb_charger_state chg_state;
1: + struct usb_charger_current chg_cur;
1: + struct work_struct chg_work;
1: + struct atomic_notifier_head notifier;
1: + u16 port_status;
1: + u16 port_change;
1: + struct list_head head;
1: + int (*init)(struct usb_phy *);
1: + void (*shutdown)(struct usb_phy *);
1: + int (*set_vbus)(struct usb_phy *, int);
1: + int (*set_power)(struct usb_phy *, unsigned int);
1: + int (*set_suspend)(struct usb_phy *, int);
1: + int (*set_wakeup)(struct usb_phy *, bool);
1: + int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
1: + int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
1: + enum usb_charger_type (*charger_detect)(struct usb_phy *);
1: };
1:
1: struct usb_port_status {
1: - __le16 wPortStatus;
1: - __le16 wPortChange;
1: - __le32 dwExtPortStatus;
1: + __le16 wPortStatus;
1: + __le16 wPortChange;
1: + __le32 dwExtPortStatus;
1: };
1:
1: struct usb_hub_status {
1: - __le16 wHubStatus;
1: - __le16 wHubChange;
1: + __le16 wHubStatus;
1: + __le16 wHubChange;
1: };
1:
1: struct usb_hub_descriptor {
1: - __u8 bDescLength;
1: - __u8 bDescriptorType;
1: - __u8 bNbrPorts;
1: - __le16 wHubCharacteristics;
1: - __u8 bPwrOn2PwrGood;
1: - __u8 bHubContrCurrent;
1: - union {
1: - struct {
1: - __u8 DeviceRemovable[4];
1: - __u8 PortPwrCtrlMask[4];
1: - } hs;
1: - struct {
1: - __u8 bHubHdrDecLat;
1: - __le16 wHubDelay;
1: - __le16 DeviceRemovable;
1: - } __attribute__((packed)) ss;
1: - } u;
1: + __u8 bDescLength;
1: + __u8 bDescriptorType;
1: + __u8 bNbrPorts;
1: + __le16 wHubCharacteristics;
1: + __u8 bPwrOn2PwrGood;
1: + __u8 bHubContrCurrent;
1: + union {
1: + struct {
1: + __u8 DeviceRemovable[4];
1: + __u8 PortPwrCtrlMask[4];
1: + } hs;
1: + struct {
1: + __u8 bHubHdrDecLat;
1: + __le16 wHubDelay;
1: + __le16 DeviceRemovable;
1: + } __attribute__((packed)) ss;
1: + } u;
1: } __attribute__((packed));
1:
1: struct usb_mon_operations {
1: - void (*urb_submit)(struct usb_bus *, struct urb *);
1: - void (*urb_submit_error)(struct usb_bus *, struct urb *, int);
1: - void (*urb_complete)(struct usb_bus *, struct urb *, int);
1: + void (*urb_submit)(struct usb_bus *, struct urb *);
1: + void (*urb_submit_error)(struct usb_bus *, struct urb *, int);
1: + void (*urb_complete)(struct usb_bus *, struct urb *, int);
1: };
1:
1: struct usb_phy_io_ops {
1: - int (*read)(struct usb_phy *, u32);
1: - int (*write)(struct usb_phy *, u32, u32);
1: + int (*read)(struct usb_phy *, u32);
1: + int (*write)(struct usb_phy *, u32, u32);
1: };
1:
1: struct usb_gadget;
1:
1: struct usb_otg {
1: - u8 default_a;
1: - struct phy___2 *phy;
1: - struct usb_phy *usb_phy;
1: - struct usb_bus *host;
1: - struct usb_gadget *gadget;
1: - enum usb_otg_state state;
1: - int (*set_host)(struct usb_otg *, struct usb_bus *);
1: - int (*set_peripheral)(struct usb_otg *, struct usb_gadget *);
1: - int (*set_vbus)(struct usb_otg *, bool);
1: - int (*start_srp)(struct usb_otg *);
1: - int (*start_hnp)(struct usb_otg *);
1: + u8 default_a;
1: + struct phy___2 *phy;
1: + struct usb_phy *usb_phy;
1: + struct usb_bus *host;
1: + struct usb_gadget *gadget;
1: + enum usb_otg_state state;
1: + int (*set_host)(struct usb_otg *, struct usb_bus *);
1: + int (*set_peripheral)(struct usb_otg *, struct usb_gadget *);
1: + int (*set_vbus)(struct usb_otg *, bool);
1: + int (*start_srp)(struct usb_otg *);
1: + int (*start_hnp)(struct usb_otg *);
1: };
1:
1: typedef u32 usb_port_location_t;
1: @@ -88724,775 +89366,776 @@ typedef u32 usb_port_location_t;
1: struct usb_port;
1:
1: struct usb_hub {
1: - struct device *intfdev;
1: - struct usb_device *hdev;
1: - struct kref kref;
1: - struct urb *urb;
1: - u8 (*buffer)[8];
1: - union {
1: - struct usb_hub_status hub;
1: - struct usb_port_status port;
1: - } *status;
1: - struct mutex status_mutex;
1: - int error;
1: - int nerrors;
1: - long unsigned int event_bits[1];
1: - long unsigned int change_bits[1];
1: - long unsigned int removed_bits[1];
1: - long unsigned int wakeup_bits[1];
1: - long unsigned int power_bits[1];
1: - long unsigned int child_usage_bits[1];
1: - long unsigned int warm_reset_bits[1];
1: - struct usb_hub_descriptor *descriptor;
1: - struct usb_tt tt;
1: - unsigned int mA_per_port;
1: - unsigned int wakeup_enabled_descendants;
1: - unsigned int limited_power: 1;
1: - unsigned int quiescing: 1;
1: - unsigned int disconnected: 1;
1: - unsigned int in_reset: 1;
1: - unsigned int quirk_check_port_auto_suspend: 1;
1: - unsigned int has_indicators: 1;
1: - u8 indicator[31];
1: - struct delayed_work leds;
1: - struct delayed_work init_work;
1: - struct work_struct events;
1: - spinlock_t irq_urb_lock;
1: - struct timer_list irq_urb_retry;
1: - struct usb_port **ports;
1: + struct device *intfdev;
1: + struct usb_device *hdev;
1: + struct kref kref;
1: + struct urb *urb;
1: + u8 (*buffer)[8];
1: + union {
1: + struct usb_hub_status hub;
1: + struct usb_port_status port;
1: + } * status;
1: + struct mutex status_mutex;
1: + int error;
1: + int nerrors;
1: + long unsigned int event_bits[1];
1: + long unsigned int change_bits[1];
1: + long unsigned int removed_bits[1];
1: + long unsigned int wakeup_bits[1];
1: + long unsigned int power_bits[1];
1: + long unsigned int child_usage_bits[1];
1: + long unsigned int warm_reset_bits[1];
1: + struct usb_hub_descriptor *descriptor;
1: + struct usb_tt tt;
1: + unsigned int mA_per_port;
1: + unsigned int wakeup_enabled_descendants;
1: + unsigned int limited_power : 1;
1: + unsigned int quiescing : 1;
1: + unsigned int disconnected : 1;
1: + unsigned int in_reset : 1;
1: + unsigned int quirk_check_port_auto_suspend : 1;
1: + unsigned int has_indicators : 1;
1: + u8 indicator[31];
1: + struct delayed_work leds;
1: + struct delayed_work init_work;
1: + struct work_struct events;
1: + spinlock_t irq_urb_lock;
1: + struct timer_list irq_urb_retry;
1: + struct usb_port **ports;
1: };
1:
1: struct usb_dev_state;
1:
1: struct usb_port {
1: - struct usb_device *child;
1: - struct device dev;
1: - struct usb_dev_state *port_owner;
1: - struct usb_port *peer;
1: - struct dev_pm_qos_request *req;
1: - enum usb_port_connect_type connect_type;
1: - usb_port_location_t location;
1: - struct mutex status_lock;
1: - u32 over_current_count;
1: - u8 portnum;
1: - u32 quirks;
1: - unsigned int is_superspeed: 1;
1: - unsigned int usb3_lpm_u1_permit: 1;
1: - unsigned int usb3_lpm_u2_permit: 1;
1: + struct usb_device *child;
1: + struct device dev;
1: + struct usb_dev_state *port_owner;
1: + struct usb_port *peer;
1: + struct dev_pm_qos_request *req;
1: + enum usb_port_connect_type connect_type;
1: + usb_port_location_t location;
1: + struct mutex status_lock;
1: + u32 over_current_count;
1: + u8 portnum;
1: + u32 quirks;
1: + unsigned int is_superspeed : 1;
1: + unsigned int usb3_lpm_u1_permit : 1;
1: + unsigned int usb3_lpm_u2_permit : 1;
1: };
1:
1: struct find_interface_arg {
1: - int minor;
1: - struct device_driver *drv;
1: + int minor;
1: + struct device_driver *drv;
1: };
1:
1: struct each_dev_arg {
1: - void *data;
1: - int (*fn)(struct usb_device *, void *);
1: + void *data;
1: + int (*fn)(struct usb_device *, void *);
1: };
1:
1: struct usb_qualifier_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __le16 bcdUSB;
1: - __u8 bDeviceClass;
1: - __u8 bDeviceSubClass;
1: - __u8 bDeviceProtocol;
1: - __u8 bMaxPacketSize0;
1: - __u8 bNumConfigurations;
1: - __u8 bRESERVED;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 bcdUSB;
1: + __u8 bDeviceClass;
1: + __u8 bDeviceSubClass;
1: + __u8 bDeviceProtocol;
1: + __u8 bMaxPacketSize0;
1: + __u8 bNumConfigurations;
1: + __u8 bRESERVED;
1: };
1:
1: struct usb_set_sel_req {
1: - __u8 u1_sel;
1: - __u8 u1_pel;
1: - __le16 u2_sel;
1: - __le16 u2_pel;
1: + __u8 u1_sel;
1: + __u8 u1_pel;
1: + __le16 u2_sel;
1: + __le16 u2_pel;
1: };
1:
1: struct usbdevfs_hub_portinfo {
1: - char nports;
1: - char port[127];
1: + char nports;
1: + char port[127];
1: };
1:
1: enum hub_led_mode {
1: - INDICATOR_AUTO = 0,
1: - INDICATOR_CYCLE = 1,
1: - INDICATOR_GREEN_BLINK = 2,
1: - INDICATOR_GREEN_BLINK_OFF = 3,
1: - INDICATOR_AMBER_BLINK = 4,
1: - INDICATOR_AMBER_BLINK_OFF = 5,
1: - INDICATOR_ALT_BLINK = 6,
1: - INDICATOR_ALT_BLINK_OFF = 7,
1: + INDICATOR_AUTO = 0,
1: + INDICATOR_CYCLE = 1,
1: + INDICATOR_GREEN_BLINK = 2,
1: + INDICATOR_GREEN_BLINK_OFF = 3,
1: + INDICATOR_AMBER_BLINK = 4,
1: + INDICATOR_AMBER_BLINK_OFF = 5,
1: + INDICATOR_ALT_BLINK = 6,
1: + INDICATOR_ALT_BLINK_OFF = 7,
1: };
1:
1: struct usb_tt_clear {
1: - struct list_head clear_list;
1: - unsigned int tt;
1: - u16 devinfo;
1: - struct usb_hcd *hcd;
1: - struct usb_host_endpoint *ep;
1: + struct list_head clear_list;
1: + unsigned int tt;
1: + u16 devinfo;
1: + struct usb_hcd *hcd;
1: + struct usb_host_endpoint *ep;
1: };
1:
1: enum hub_activation_type {
1: - HUB_INIT = 0,
1: - HUB_INIT2 = 1,
1: - HUB_INIT3 = 2,
1: - HUB_POST_RESET = 3,
1: - HUB_RESUME = 4,
1: - HUB_RESET_RESUME = 5,
1: + HUB_INIT = 0,
1: + HUB_INIT2 = 1,
1: + HUB_INIT3 = 2,
1: + HUB_POST_RESET = 3,
1: + HUB_RESUME = 4,
1: + HUB_RESET_RESUME = 5,
1: };
1:
1: enum hub_quiescing_type {
1: - HUB_DISCONNECT = 0,
1: - HUB_PRE_RESET = 1,
1: - HUB_SUSPEND = 2,
1: + HUB_DISCONNECT = 0,
1: + HUB_PRE_RESET = 1,
1: + HUB_SUSPEND = 2,
1: };
1:
1: struct usb_ctrlrequest {
1: - __u8 bRequestType;
1: - __u8 bRequest;
1: - __le16 wValue;
1: - __le16 wIndex;
1: - __le16 wLength;
1: + __u8 bRequestType;
1: + __u8 bRequest;
1: + __le16 wValue;
1: + __le16 wIndex;
1: + __le16 wLength;
1: };
1:
1: enum usb_led_event {
1: - USB_LED_EVENT_HOST = 0,
1: - USB_LED_EVENT_GADGET = 1,
1: + USB_LED_EVENT_HOST = 0,
1: + USB_LED_EVENT_GADGET = 1,
1: };
1:
1: struct usb_sg_request {
1: - int status;
1: - size_t bytes;
1: - spinlock_t lock;
1: - struct usb_device *dev;
1: - int pipe;
1: - int entries;
1: - struct urb **urbs;
1: - int count;
1: - struct completion complete;
1: + int status;
1: + size_t bytes;
1: + spinlock_t lock;
1: + struct usb_device *dev;
1: + int pipe;
1: + int entries;
1: + struct urb **urbs;
1: + int count;
1: + struct completion complete;
1: };
1:
1: struct usb_cdc_header_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __le16 bcdCDC;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdCDC;
1: } __attribute__((packed));
1:
1: struct usb_cdc_call_mgmt_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __u8 bmCapabilities;
1: - __u8 bDataInterface;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bmCapabilities;
1: + __u8 bDataInterface;
1: };
1:
1: struct usb_cdc_acm_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __u8 bmCapabilities;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bmCapabilities;
1: };
1:
1: struct usb_cdc_union_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __u8 bMasterInterface0;
1: - __u8 bSlaveInterface0;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bMasterInterface0;
1: + __u8 bSlaveInterface0;
1: };
1:
1: struct usb_cdc_country_functional_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __u8 iCountryCodeRelDate;
1: - __le16 wCountyCode0;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 iCountryCodeRelDate;
1: + __le16 wCountyCode0;
1: };
1:
1: struct usb_cdc_network_terminal_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __u8 bEntityId;
1: - __u8 iName;
1: - __u8 bChannelIndex;
1: - __u8 bPhysicalInterface;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bEntityId;
1: + __u8 iName;
1: + __u8 bChannelIndex;
1: + __u8 bPhysicalInterface;
1: };
1:
1: struct usb_cdc_ether_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __u8 iMACAddress;
1: - __le32 bmEthernetStatistics;
1: - __le16 wMaxSegmentSize;
1: - __le16 wNumberMCFilters;
1: - __u8 bNumberPowerFilters;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 iMACAddress;
1: + __le32 bmEthernetStatistics;
1: + __le16 wMaxSegmentSize;
1: + __le16 wNumberMCFilters;
1: + __u8 bNumberPowerFilters;
1: } __attribute__((packed));
1:
1: struct usb_cdc_dmm_desc {
1: - __u8 bFunctionLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubtype;
1: - __u16 bcdVersion;
1: - __le16 wMaxCommand;
1: + __u8 bFunctionLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubtype;
1: + __u16 bcdVersion;
1: + __le16 wMaxCommand;
1: } __attribute__((packed));
1:
1: struct usb_cdc_mdlm_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __le16 bcdVersion;
1: - __u8 bGUID[16];
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdVersion;
1: + __u8 bGUID[16];
1: } __attribute__((packed));
1:
1: struct usb_cdc_mdlm_detail_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __u8 bGuidDescriptorType;
1: - __u8 bDetailData[0];
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __u8 bGuidDescriptorType;
1: + __u8 bDetailData[0];
1: };
1:
1: struct usb_cdc_obex_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __le16 bcdVersion;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdVersion;
1: } __attribute__((packed));
1:
1: struct usb_cdc_ncm_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __le16 bcdNcmVersion;
1: - __u8 bmNetworkCapabilities;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdNcmVersion;
1: + __u8 bmNetworkCapabilities;
1: } __attribute__((packed));
1:
1: struct usb_cdc_mbim_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __le16 bcdMBIMVersion;
1: - __le16 wMaxControlMessage;
1: - __u8 bNumberFilters;
1: - __u8 bMaxFilterSize;
1: - __le16 wMaxSegmentSize;
1: - __u8 bmNetworkCapabilities;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdMBIMVersion;
1: + __le16 wMaxControlMessage;
1: + __u8 bNumberFilters;
1: + __u8 bMaxFilterSize;
1: + __le16 wMaxSegmentSize;
1: + __u8 bmNetworkCapabilities;
1: } __attribute__((packed));
1:
1: struct usb_cdc_mbim_extended_desc {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDescriptorSubType;
1: - __le16 bcdMBIMExtendedVersion;
1: - __u8 bMaxOutstandingCommandMessages;
1: - __le16 wMTU;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDescriptorSubType;
1: + __le16 bcdMBIMExtendedVersion;
1: + __u8 bMaxOutstandingCommandMessages;
1: + __le16 wMTU;
1: } __attribute__((packed));
1:
1: struct usb_cdc_parsed_header {
1: - struct usb_cdc_union_desc *usb_cdc_union_desc;
1: - struct usb_cdc_header_desc *usb_cdc_header_desc;
1: - struct usb_cdc_call_mgmt_descriptor *usb_cdc_call_mgmt_descriptor;
1: - struct usb_cdc_acm_descriptor *usb_cdc_acm_descriptor;
1: - struct usb_cdc_country_functional_desc *usb_cdc_country_functional_desc;
1: - struct usb_cdc_network_terminal_desc *usb_cdc_network_terminal_desc;
1: - struct usb_cdc_ether_desc *usb_cdc_ether_desc;
1: - struct usb_cdc_dmm_desc *usb_cdc_dmm_desc;
1: - struct usb_cdc_mdlm_desc *usb_cdc_mdlm_desc;
1: - struct usb_cdc_mdlm_detail_desc *usb_cdc_mdlm_detail_desc;
1: - struct usb_cdc_obex_desc *usb_cdc_obex_desc;
1: - struct usb_cdc_ncm_desc *usb_cdc_ncm_desc;
1: - struct usb_cdc_mbim_desc *usb_cdc_mbim_desc;
1: - struct usb_cdc_mbim_extended_desc *usb_cdc_mbim_extended_desc;
1: - bool phonet_magic_present;
1: + struct usb_cdc_union_desc *usb_cdc_union_desc;
1: + struct usb_cdc_header_desc *usb_cdc_header_desc;
1: + struct usb_cdc_call_mgmt_descriptor *usb_cdc_call_mgmt_descriptor;
1: + struct usb_cdc_acm_descriptor *usb_cdc_acm_descriptor;
1: + struct usb_cdc_country_functional_desc *usb_cdc_country_functional_desc;
1: + struct usb_cdc_network_terminal_desc *usb_cdc_network_terminal_desc;
1: + struct usb_cdc_ether_desc *usb_cdc_ether_desc;
1: + struct usb_cdc_dmm_desc *usb_cdc_dmm_desc;
1: + struct usb_cdc_mdlm_desc *usb_cdc_mdlm_desc;
1: + struct usb_cdc_mdlm_detail_desc *usb_cdc_mdlm_detail_desc;
1: + struct usb_cdc_obex_desc *usb_cdc_obex_desc;
1: + struct usb_cdc_ncm_desc *usb_cdc_ncm_desc;
1: + struct usb_cdc_mbim_desc *usb_cdc_mbim_desc;
1: + struct usb_cdc_mbim_extended_desc *usb_cdc_mbim_extended_desc;
1: + bool phonet_magic_present;
1: };
1:
1: struct api_context {
1: - struct completion done;
1: - int status;
1: + struct completion done;
1: + int status;
1: };
1:
1: struct set_config_request {
1: - struct usb_device *udev;
1: - int config;
1: - struct work_struct work;
1: - struct list_head node;
1: + struct usb_device *udev;
1: + int config;
1: + struct work_struct work;
1: + struct list_head node;
1: };
1:
1: struct usb_dynid {
1: - struct list_head node;
1: - struct usb_device_id id;
1: + struct list_head node;
1: + struct usb_device_id id;
1: };
1:
1: struct usb_dev_cap_header {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDevCapabilityType;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDevCapabilityType;
1: };
1:
1: struct usb_class_driver {
1: - char *name;
1: - char * (*devnode)(struct device *, umode_t *);
1: - const struct file_operations *fops;
1: - int minor_base;
1: + char *name;
1: + char *(*devnode)(struct device *, umode_t *);
1: + const struct file_operations *fops;
1: + int minor_base;
1: };
1:
1: struct usb_class {
1: - struct kref kref;
1: - struct class *class;
1: + struct kref kref;
1: + struct class *class;
1: };
1:
1: struct ep_device {
1: - struct usb_endpoint_descriptor *desc;
1: - struct usb_device *udev;
1: - struct device dev;
1: + struct usb_endpoint_descriptor *desc;
1: + struct usb_device *udev;
1: + struct device dev;
1: };
1:
1: struct usbdevfs_ctrltransfer {
1: - __u8 bRequestType;
1: - __u8 bRequest;
1: - __u16 wValue;
1: - __u16 wIndex;
1: - __u16 wLength;
1: - __u32 timeout;
1: - void *data;
1: + __u8 bRequestType;
1: + __u8 bRequest;
1: + __u16 wValue;
1: + __u16 wIndex;
1: + __u16 wLength;
1: + __u32 timeout;
1: + void *data;
1: };
1:
1: struct usbdevfs_bulktransfer {
1: - unsigned int ep;
1: - unsigned int len;
1: - unsigned int timeout;
1: - void *data;
1: + unsigned int ep;
1: + unsigned int len;
1: + unsigned int timeout;
1: + void *data;
1: };
1:
1: struct usbdevfs_setinterface {
1: - unsigned int interface;
1: - unsigned int altsetting;
1: + unsigned int interface;
1: + unsigned int altsetting;
1: };
1:
1: struct usbdevfs_disconnectsignal {
1: - unsigned int signr;
1: - void *context;
1: + unsigned int signr;
1: + void *context;
1: };
1:
1: struct usbdevfs_getdriver {
1: - unsigned int interface;
1: - char driver[256];
1: + unsigned int interface;
1: + char driver[256];
1: };
1:
1: struct usbdevfs_connectinfo {
1: - unsigned int devnum;
1: - unsigned char slow;
1: + unsigned int devnum;
1: + unsigned char slow;
1: };
1:
1: struct usbdevfs_conninfo_ex {
1: - __u32 size;
1: - __u32 busnum;
1: - __u32 devnum;
1: - __u32 speed;
1: - __u8 num_ports;
1: - __u8 ports[7];
1: + __u32 size;
1: + __u32 busnum;
1: + __u32 devnum;
1: + __u32 speed;
1: + __u8 num_ports;
1: + __u8 ports[7];
1: };
1:
1: struct usbdevfs_iso_packet_desc {
1: - unsigned int length;
1: - unsigned int actual_length;
1: - unsigned int status;
1: + unsigned int length;
1: + unsigned int actual_length;
1: + unsigned int status;
1: };
1:
1: struct usbdevfs_urb {
1: - unsigned char type;
1: - unsigned char endpoint;
1: - int status;
1: - unsigned int flags;
1: - void *buffer;
1: - int buffer_length;
1: - int actual_length;
1: - int start_frame;
1: - union {
1: - int number_of_packets;
1: - unsigned int stream_id;
1: - };
1: - int error_count;
1: - unsigned int signr;
1: - void *usercontext;
1: - struct usbdevfs_iso_packet_desc iso_frame_desc[0];
1: + unsigned char type;
1: + unsigned char endpoint;
1: + int status;
1: + unsigned int flags;
1: + void *buffer;
1: + int buffer_length;
1: + int actual_length;
1: + int start_frame;
1: + union {
1: + int number_of_packets;
1: + unsigned int stream_id;
1: + };
1: + int error_count;
1: + unsigned int signr;
1: + void *usercontext;
1: + struct usbdevfs_iso_packet_desc iso_frame_desc[0];
1: };
1:
1: struct usbdevfs_ioctl {
1: - int ifno;
1: - int ioctl_code;
1: - void *data;
1: + int ifno;
1: + int ioctl_code;
1: + void *data;
1: };
1:
1: struct usbdevfs_disconnect_claim {
1: - unsigned int interface;
1: - unsigned int flags;
1: - char driver[256];
1: + unsigned int interface;
1: + unsigned int flags;
1: + char driver[256];
1: };
1:
1: struct usbdevfs_streams {
1: - unsigned int num_streams;
1: - unsigned int num_eps;
1: - unsigned char eps[0];
1: + unsigned int num_streams;
1: + unsigned int num_eps;
1: + unsigned char eps[0];
1: };
1:
1: struct usbdevfs_ctrltransfer32 {
1: - u8 bRequestType;
1: - u8 bRequest;
1: - u16 wValue;
1: - u16 wIndex;
1: - u16 wLength;
1: - u32 timeout;
1: - compat_caddr_t data;
1: + u8 bRequestType;
1: + u8 bRequest;
1: + u16 wValue;
1: + u16 wIndex;
1: + u16 wLength;
1: + u32 timeout;
1: + compat_caddr_t data;
1: };
1:
1: struct usbdevfs_bulktransfer32 {
1: - compat_uint_t ep;
1: - compat_uint_t len;
1: - compat_uint_t timeout;
1: - compat_caddr_t data;
1: + compat_uint_t ep;
1: + compat_uint_t len;
1: + compat_uint_t timeout;
1: + compat_caddr_t data;
1: };
1:
1: struct usbdevfs_disconnectsignal32 {
1: - compat_int_t signr;
1: - compat_caddr_t context;
1: + compat_int_t signr;
1: + compat_caddr_t context;
1: };
1:
1: struct usbdevfs_urb32 {
1: - unsigned char type;
1: - unsigned char endpoint;
1: - compat_int_t status;
1: - compat_uint_t flags;
1: - compat_caddr_t buffer;
1: - compat_int_t buffer_length;
1: - compat_int_t actual_length;
1: - compat_int_t start_frame;
1: - compat_int_t number_of_packets;
1: - compat_int_t error_count;
1: - compat_uint_t signr;
1: - compat_caddr_t usercontext;
1: - struct usbdevfs_iso_packet_desc iso_frame_desc[0];
1: + unsigned char type;
1: + unsigned char endpoint;
1: + compat_int_t status;
1: + compat_uint_t flags;
1: + compat_caddr_t buffer;
1: + compat_int_t buffer_length;
1: + compat_int_t actual_length;
1: + compat_int_t start_frame;
1: + compat_int_t number_of_packets;
1: + compat_int_t error_count;
1: + compat_uint_t signr;
1: + compat_caddr_t usercontext;
1: + struct usbdevfs_iso_packet_desc iso_frame_desc[0];
1: };
1:
1: struct usbdevfs_ioctl32 {
1: - s32 ifno;
1: - s32 ioctl_code;
1: - compat_caddr_t data;
1: + s32 ifno;
1: + s32 ioctl_code;
1: + compat_caddr_t data;
1: };
1:
1: struct usb_dev_state___2 {
1: - struct list_head list;
1: - struct usb_device *dev;
1: - struct file *file;
1: - spinlock_t lock;
1: - struct list_head async_pending;
1: - struct list_head async_completed;
1: - struct list_head memory_list;
1: - wait_queue_head_t wait;
1: - wait_queue_head_t wait_for_resume;
1: - unsigned int discsignr;
1: - struct pid *disc_pid;
1: - const struct cred *cred;
1: - sigval_t disccontext;
1: - long unsigned int ifclaimed;
1: - u32 disabled_bulk_eps;
1: - long unsigned int interface_allowed_mask;
1: - int not_yet_resumed;
1: - bool suspend_allowed;
1: - bool privileges_dropped;
1: + struct list_head list;
1: + struct usb_device *dev;
1: + struct file *file;
1: + spinlock_t lock;
1: + struct list_head async_pending;
1: + struct list_head async_completed;
1: + struct list_head memory_list;
1: + wait_queue_head_t wait;
1: + wait_queue_head_t wait_for_resume;
1: + unsigned int discsignr;
1: + struct pid *disc_pid;
1: + const struct cred *cred;
1: + sigval_t disccontext;
1: + long unsigned int ifclaimed;
1: + u32 disabled_bulk_eps;
1: + long unsigned int interface_allowed_mask;
1: + int not_yet_resumed;
1: + bool suspend_allowed;
1: + bool privileges_dropped;
1: };
1:
1: struct usb_memory {
1: - struct list_head memlist;
1: - int vma_use_count;
1: - int urb_use_count;
1: - u32 size;
1: - void *mem;
1: - dma_addr_t dma_handle;
1: - long unsigned int vm_start;
1: - struct usb_dev_state___2 *ps;
1: + struct list_head memlist;
1: + int vma_use_count;
1: + int urb_use_count;
1: + u32 size;
1: + void *mem;
1: + dma_addr_t dma_handle;
1: + long unsigned int vm_start;
1: + struct usb_dev_state___2 *ps;
1: };
1:
1: struct async {
1: - struct list_head asynclist;
1: - struct usb_dev_state___2 *ps;
1: - struct pid *pid;
1: - const struct cred *cred;
1: - unsigned int signr;
1: - unsigned int ifnum;
1: - void *userbuffer;
1: - void *userurb;
1: - sigval_t userurb_sigval;
1: - struct urb *urb;
1: - struct usb_memory *usbm;
1: - unsigned int mem_usage;
1: - int status;
1: - u8 bulk_addr;
1: - u8 bulk_status;
1: + struct list_head asynclist;
1: + struct usb_dev_state___2 *ps;
1: + struct pid *pid;
1: + const struct cred *cred;
1: + unsigned int signr;
1: + unsigned int ifnum;
1: + void *userbuffer;
1: + void *userurb;
1: + sigval_t userurb_sigval;
1: + struct urb *urb;
1: + struct usb_memory *usbm;
1: + unsigned int mem_usage;
1: + int status;
1: + u8 bulk_addr;
1: + u8 bulk_status;
1: };
1:
1: enum snoop_when {
1: - SUBMIT = 0,
1: - COMPLETE = 1,
1: + SUBMIT = 0,
1: + COMPLETE = 1,
1: };
1:
1: struct quirk_entry {
1: - u16 vid;
1: - u16 pid;
1: - u32 flags;
1: + u16 vid;
1: + u16 pid;
1: + u32 flags;
1: };
1:
1: struct device_connect_event {
1: - atomic_t count;
1: - wait_queue_head_t wait;
1: + atomic_t count;
1: + wait_queue_head_t wait;
1: };
1:
1: struct class_info {
1: - int class;
1: - char *class_name;
1: + int class;
1: + char *class_name;
1: };
1:
1: struct usb_phy_roothub___2 {
1: - struct phy___2 *phy;
1: - struct list_head list;
1: + struct phy___2 *phy;
1: + struct list_head list;
1: };
1:
1: -typedef void (*companion_fn)(struct pci_dev *, struct usb_hcd *, struct pci_dev *, struct usb_hcd *);
1: +typedef void (*companion_fn)(struct pci_dev *, struct usb_hcd *,
1: + struct pci_dev *, struct usb_hcd *);
1:
1: struct mon_bus {
1: - struct list_head bus_link;
1: - spinlock_t lock;
1: - struct usb_bus *u_bus;
1: - int text_inited;
1: - int bin_inited;
1: - struct dentry *dent_s;
1: - struct dentry *dent_t;
1: - struct dentry *dent_u;
1: - struct device *classdev;
1: - int nreaders;
1: - struct list_head r_list;
1: - struct kref ref;
1: - unsigned int cnt_events;
1: - unsigned int cnt_text_lost;
1: + struct list_head bus_link;
1: + spinlock_t lock;
1: + struct usb_bus *u_bus;
1: + int text_inited;
1: + int bin_inited;
1: + struct dentry *dent_s;
1: + struct dentry *dent_t;
1: + struct dentry *dent_u;
1: + struct device *classdev;
1: + int nreaders;
1: + struct list_head r_list;
1: + struct kref ref;
1: + unsigned int cnt_events;
1: + unsigned int cnt_text_lost;
1: };
1:
1: struct mon_reader {
1: - struct list_head r_link;
1: - struct mon_bus *m_bus;
1: - void *r_data;
1: - void (*rnf_submit)(void *, struct urb *);
1: - void (*rnf_error)(void *, struct urb *, int);
1: - void (*rnf_complete)(void *, struct urb *, int);
1: + struct list_head r_link;
1: + struct mon_bus *m_bus;
1: + void *r_data;
1: + void (*rnf_submit)(void *, struct urb *);
1: + void (*rnf_error)(void *, struct urb *, int);
1: + void (*rnf_complete)(void *, struct urb *, int);
1: };
1:
1: struct snap {
1: - int slen;
1: - char str[80];
1: + int slen;
1: + char str[80];
1: };
1:
1: struct mon_iso_desc {
1: - int status;
1: - unsigned int offset;
1: - unsigned int length;
1: + int status;
1: + unsigned int offset;
1: + unsigned int length;
1: };
1:
1: struct mon_event_text {
1: - struct list_head e_link;
1: - int type;
1: - long unsigned int id;
1: - unsigned int tstamp;
1: - int busnum;
1: - char devnum;
1: - char epnum;
1: - char is_in;
1: - char xfertype;
1: - int length;
1: - int status;
1: - int interval;
1: - int start_frame;
1: - int error_count;
1: - char setup_flag;
1: - char data_flag;
1: - int numdesc;
1: - struct mon_iso_desc isodesc[5];
1: - unsigned char setup[8];
1: - unsigned char data[32];
1: + struct list_head e_link;
1: + int type;
1: + long unsigned int id;
1: + unsigned int tstamp;
1: + int busnum;
1: + char devnum;
1: + char epnum;
1: + char is_in;
1: + char xfertype;
1: + int length;
1: + int status;
1: + int interval;
1: + int start_frame;
1: + int error_count;
1: + char setup_flag;
1: + char data_flag;
1: + int numdesc;
1: + struct mon_iso_desc isodesc[5];
1: + unsigned char setup[8];
1: + unsigned char data[32];
1: };
1:
1: struct mon_reader_text {
1: - struct kmem_cache *e_slab;
1: - int nevents;
1: - struct list_head e_list;
1: - struct mon_reader r;
1: - wait_queue_head_t wait;
1: - int printf_size;
1: - size_t printf_offset;
1: - size_t printf_togo;
1: - char *printf_buf;
1: - struct mutex printf_lock;
1: - char slab_name[30];
1: + struct kmem_cache *e_slab;
1: + int nevents;
1: + struct list_head e_list;
1: + struct mon_reader r;
1: + wait_queue_head_t wait;
1: + int printf_size;
1: + size_t printf_offset;
1: + size_t printf_togo;
1: + char *printf_buf;
1: + struct mutex printf_lock;
1: + char slab_name[30];
1: };
1:
1: struct mon_text_ptr {
1: - int cnt;
1: - int limit;
1: - char *pbuf;
1: + int cnt;
1: + int limit;
1: + char *pbuf;
1: };
1:
1: struct iso_rec {
1: - int error_count;
1: - int numdesc;
1: + int error_count;
1: + int numdesc;
1: };
1:
1: struct mon_bin_hdr {
1: - u64 id;
1: - unsigned char type;
1: - unsigned char xfer_type;
1: - unsigned char epnum;
1: - unsigned char devnum;
1: - short unsigned int busnum;
1: - char flag_setup;
1: - char flag_data;
1: - s64 ts_sec;
1: - s32 ts_usec;
1: - int status;
1: - unsigned int len_urb;
1: - unsigned int len_cap;
1: - union {
1: - unsigned char setup[8];
1: - struct iso_rec iso;
1: - } s;
1: - int interval;
1: - int start_frame;
1: - unsigned int xfer_flags;
1: - unsigned int ndesc;
1: + u64 id;
1: + unsigned char type;
1: + unsigned char xfer_type;
1: + unsigned char epnum;
1: + unsigned char devnum;
1: + short unsigned int busnum;
1: + char flag_setup;
1: + char flag_data;
1: + s64 ts_sec;
1: + s32 ts_usec;
1: + int status;
1: + unsigned int len_urb;
1: + unsigned int len_cap;
1: + union {
1: + unsigned char setup[8];
1: + struct iso_rec iso;
1: + } s;
1: + int interval;
1: + int start_frame;
1: + unsigned int xfer_flags;
1: + unsigned int ndesc;
1: };
1:
1: struct mon_bin_isodesc {
1: - int iso_status;
1: - unsigned int iso_off;
1: - unsigned int iso_len;
1: - u32 _pad;
1: + int iso_status;
1: + unsigned int iso_off;
1: + unsigned int iso_len;
1: + u32 _pad;
1: };
1:
1: struct mon_bin_stats {
1: - u32 queued;
1: - u32 dropped;
1: + u32 queued;
1: + u32 dropped;
1: };
1:
1: struct mon_bin_get {
1: - struct mon_bin_hdr *hdr;
1: - void *data;
1: - size_t alloc;
1: + struct mon_bin_hdr *hdr;
1: + void *data;
1: + size_t alloc;
1: };
1:
1: struct mon_bin_mfetch {
1: - u32 *offvec;
1: - u32 nfetch;
1: - u32 nflush;
1: + u32 *offvec;
1: + u32 nfetch;
1: + u32 nflush;
1: };
1:
1: struct mon_bin_get32 {
1: - u32 hdr32;
1: - u32 data32;
1: - u32 alloc32;
1: + u32 hdr32;
1: + u32 data32;
1: + u32 alloc32;
1: };
1:
1: struct mon_bin_mfetch32 {
1: - u32 offvec32;
1: - u32 nfetch32;
1: - u32 nflush32;
1: + u32 offvec32;
1: + u32 nfetch32;
1: + u32 nflush32;
1: };
1:
1: struct mon_pgmap {
1: - struct page *pg;
1: - unsigned char *ptr;
1: + struct page *pg;
1: + unsigned char *ptr;
1: };
1:
1: struct mon_reader_bin {
1: - spinlock_t b_lock;
1: - unsigned int b_size;
1: - unsigned int b_cnt;
1: - unsigned int b_in;
1: - unsigned int b_out;
1: - unsigned int b_read;
1: - struct mon_pgmap *b_vec;
1: - wait_queue_head_t b_wait;
1: - struct mutex fetch_lock;
1: - int mmap_active;
1: - struct mon_reader r;
1: - unsigned int cnt_lost;
1: + spinlock_t b_lock;
1: + unsigned int b_size;
1: + unsigned int b_cnt;
1: + unsigned int b_in;
1: + unsigned int b_out;
1: + unsigned int b_read;
1: + struct mon_pgmap *b_vec;
1: + wait_queue_head_t b_wait;
1: + struct mutex fetch_lock;
1: + int mmap_active;
1: + struct mon_reader r;
1: + unsigned int cnt_lost;
1: };
1:
1: enum amd_chipset_gen {
1: - NOT_AMD_CHIPSET = 0,
1: - AMD_CHIPSET_SB600 = 1,
1: - AMD_CHIPSET_SB700 = 2,
1: - AMD_CHIPSET_SB800 = 3,
1: - AMD_CHIPSET_HUDSON2 = 4,
1: - AMD_CHIPSET_BOLTON = 5,
1: - AMD_CHIPSET_YANGTZE = 6,
1: - AMD_CHIPSET_TAISHAN = 7,
1: - AMD_CHIPSET_UNKNOWN = 8,
1: + NOT_AMD_CHIPSET = 0,
1: + AMD_CHIPSET_SB600 = 1,
1: + AMD_CHIPSET_SB700 = 2,
1: + AMD_CHIPSET_SB800 = 3,
1: + AMD_CHIPSET_HUDSON2 = 4,
1: + AMD_CHIPSET_BOLTON = 5,
1: + AMD_CHIPSET_YANGTZE = 6,
1: + AMD_CHIPSET_TAISHAN = 7,
1: + AMD_CHIPSET_UNKNOWN = 8,
1: };
1:
1: struct amd_chipset_type {
1: - enum amd_chipset_gen gen;
1: - u8 rev;
1: + enum amd_chipset_gen gen;
1: + u8 rev;
1: };
1:
1: struct amd_chipset_info {
1: - struct pci_dev *nb_dev;
1: - struct pci_dev *smbus_dev;
1: - int nb_type;
1: - struct amd_chipset_type sb_type;
1: - int isoc_reqs;
1: - int probe_count;
1: - bool need_pll_quirk;
1: + struct pci_dev *nb_dev;
1: + struct pci_dev *smbus_dev;
1: + int nb_type;
1: + struct amd_chipset_type sb_type;
1: + int isoc_reqs;
1: + int probe_count;
1: + bool need_pll_quirk;
1: };
1:
1: struct ehci_per_sched {
1: - struct usb_device *udev;
1: - struct usb_host_endpoint *ep;
1: - struct list_head ps_list;
1: - u16 tt_usecs;
1: - u16 cs_mask;
1: - u16 period;
1: - u16 phase;
1: - u8 bw_phase;
1: - u8 phase_uf;
1: - u8 usecs;
1: - u8 c_usecs;
1: - u8 bw_uperiod;
1: - u8 bw_period;
1: + struct usb_device *udev;
1: + struct usb_host_endpoint *ep;
1: + struct list_head ps_list;
1: + u16 tt_usecs;
1: + u16 cs_mask;
1: + u16 period;
1: + u16 phase;
1: + u8 bw_phase;
1: + u8 phase_uf;
1: + u8 usecs;
1: + u8 c_usecs;
1: + u8 bw_uperiod;
1: + u8 bw_period;
1: };
1:
1: enum ehci_rh_state {
1: - EHCI_RH_HALTED = 0,
1: - EHCI_RH_SUSPENDED = 1,
1: - EHCI_RH_RUNNING = 2,
1: - EHCI_RH_STOPPING = 3,
1: + EHCI_RH_HALTED = 0,
1: + EHCI_RH_SUSPENDED = 1,
1: + EHCI_RH_RUNNING = 2,
1: + EHCI_RH_STOPPING = 3,
1: };
1:
1: enum ehci_hrtimer_event {
1: - EHCI_HRTIMER_POLL_ASS = 0,
1: - EHCI_HRTIMER_POLL_PSS = 1,
1: - EHCI_HRTIMER_POLL_DEAD = 2,
1: - EHCI_HRTIMER_UNLINK_INTR = 3,
1: - EHCI_HRTIMER_FREE_ITDS = 4,
1: - EHCI_HRTIMER_ACTIVE_UNLINK = 5,
1: - EHCI_HRTIMER_START_UNLINK_INTR = 6,
1: - EHCI_HRTIMER_ASYNC_UNLINKS = 7,
1: - EHCI_HRTIMER_IAA_WATCHDOG = 8,
1: - EHCI_HRTIMER_DISABLE_PERIODIC = 9,
1: - EHCI_HRTIMER_DISABLE_ASYNC = 10,
1: - EHCI_HRTIMER_IO_WATCHDOG = 11,
1: - EHCI_HRTIMER_NUM_EVENTS = 12,
1: + EHCI_HRTIMER_POLL_ASS = 0,
1: + EHCI_HRTIMER_POLL_PSS = 1,
1: + EHCI_HRTIMER_POLL_DEAD = 2,
1: + EHCI_HRTIMER_UNLINK_INTR = 3,
1: + EHCI_HRTIMER_FREE_ITDS = 4,
1: + EHCI_HRTIMER_ACTIVE_UNLINK = 5,
1: + EHCI_HRTIMER_START_UNLINK_INTR = 6,
1: + EHCI_HRTIMER_ASYNC_UNLINKS = 7,
1: + EHCI_HRTIMER_IAA_WATCHDOG = 8,
1: + EHCI_HRTIMER_DISABLE_PERIODIC = 9,
1: + EHCI_HRTIMER_DISABLE_ASYNC = 10,
1: + EHCI_HRTIMER_IO_WATCHDOG = 11,
1: + EHCI_HRTIMER_NUM_EVENTS = 12,
1: };
1:
1: struct ehci_caps;
1: @@ -89510,140 +90153,140 @@ struct ehci_itd;
1: struct ehci_sitd;
1:
1: struct ehci_hcd {
1: - enum ehci_hrtimer_event next_hrtimer_event;
1: - unsigned int enabled_hrtimer_events;
1: - ktime_t hr_timeouts[12];
1: - struct hrtimer hrtimer;
1: - int PSS_poll_count;
1: - int ASS_poll_count;
1: - int died_poll_count;
1: - struct ehci_caps *caps;
1: - struct ehci_regs *regs;
1: - struct ehci_dbg_port *debug;
1: - __u32 hcs_params;
1: - spinlock_t lock;
1: - enum ehci_rh_state rh_state;
1: - bool scanning: 1;
1: - bool need_rescan: 1;
1: - bool intr_unlinking: 1;
1: - bool iaa_in_progress: 1;
1: - bool async_unlinking: 1;
1: - bool shutdown: 1;
1: - struct ehci_qh *qh_scan_next;
1: - struct ehci_qh *async;
1: - struct ehci_qh *dummy;
1: - struct list_head async_unlink;
1: - struct list_head async_idle;
1: - unsigned int async_unlink_cycle;
1: - unsigned int async_count;
1: - __le32 old_current;
1: - __le32 old_token;
1: - unsigned int periodic_size;
1: - __le32 *periodic;
1: - dma_addr_t periodic_dma;
1: - struct list_head intr_qh_list;
1: - unsigned int i_thresh;
1: - union ehci_shadow *pshadow;
1: - struct list_head intr_unlink_wait;
1: - struct list_head intr_unlink;
1: - unsigned int intr_unlink_wait_cycle;
1: - unsigned int intr_unlink_cycle;
1: - unsigned int now_frame;
1: - unsigned int last_iso_frame;
1: - unsigned int intr_count;
1: - unsigned int isoc_count;
1: - unsigned int periodic_count;
1: - unsigned int uframe_periodic_max;
1: - struct list_head cached_itd_list;
1: - struct ehci_itd *last_itd_to_free;
1: - struct list_head cached_sitd_list;
1: - struct ehci_sitd *last_sitd_to_free;
1: - long unsigned int reset_done[15];
1: - long unsigned int bus_suspended;
1: - long unsigned int companion_ports;
1: - long unsigned int owned_ports;
1: - long unsigned int port_c_suspend;
1: - long unsigned int suspended_ports;
1: - long unsigned int resuming_ports;
1: - struct dma_pool___2 *qh_pool;
1: - struct dma_pool___2 *qtd_pool;
1: - struct dma_pool___2 *itd_pool;
1: - struct dma_pool___2 *sitd_pool;
1: - unsigned int random_frame;
1: - long unsigned int next_statechange;
1: - ktime_t last_periodic_enable;
1: - u32 command;
1: - unsigned int no_selective_suspend: 1;
1: - unsigned int has_fsl_port_bug: 1;
1: - unsigned int has_fsl_hs_errata: 1;
1: - unsigned int has_fsl_susp_errata: 1;
1: - unsigned int big_endian_mmio: 1;
1: - unsigned int big_endian_desc: 1;
1: - unsigned int big_endian_capbase: 1;
1: - unsigned int has_amcc_usb23: 1;
1: - unsigned int need_io_watchdog: 1;
1: - unsigned int amd_pll_fix: 1;
1: - unsigned int use_dummy_qh: 1;
1: - unsigned int has_synopsys_hc_bug: 1;
1: - unsigned int frame_index_bug: 1;
1: - unsigned int need_oc_pp_cycle: 1;
1: - unsigned int imx28_write_fix: 1;
1: - __le32 *ohci_hcctrl_reg;
1: - unsigned int has_hostpc: 1;
1: - unsigned int has_tdi_phy_lpm: 1;
1: - unsigned int has_ppcd: 1;
1: - u8 sbrn;
1: - u8 bandwidth[64];
1: - u8 tt_budget[64];
1: - struct list_head tt_list;
1: - long unsigned int priv[0];
1: + enum ehci_hrtimer_event next_hrtimer_event;
1: + unsigned int enabled_hrtimer_events;
1: + ktime_t hr_timeouts[12];
1: + struct hrtimer hrtimer;
1: + int PSS_poll_count;
1: + int ASS_poll_count;
1: + int died_poll_count;
1: + struct ehci_caps *caps;
1: + struct ehci_regs *regs;
1: + struct ehci_dbg_port *debug;
1: + __u32 hcs_params;
1: + spinlock_t lock;
1: + enum ehci_rh_state rh_state;
1: + bool scanning : 1;
1: + bool need_rescan : 1;
1: + bool intr_unlinking : 1;
1: + bool iaa_in_progress : 1;
1: + bool async_unlinking : 1;
1: + bool shutdown : 1;
1: + struct ehci_qh *qh_scan_next;
1: + struct ehci_qh *async;
1: + struct ehci_qh *dummy;
1: + struct list_head async_unlink;
1: + struct list_head async_idle;
1: + unsigned int async_unlink_cycle;
1: + unsigned int async_count;
1: + __le32 old_current;
1: + __le32 old_token;
1: + unsigned int periodic_size;
1: + __le32 *periodic;
1: + dma_addr_t periodic_dma;
1: + struct list_head intr_qh_list;
1: + unsigned int i_thresh;
1: + union ehci_shadow *pshadow;
1: + struct list_head intr_unlink_wait;
1: + struct list_head intr_unlink;
1: + unsigned int intr_unlink_wait_cycle;
1: + unsigned int intr_unlink_cycle;
1: + unsigned int now_frame;
1: + unsigned int last_iso_frame;
1: + unsigned int intr_count;
1: + unsigned int isoc_count;
1: + unsigned int periodic_count;
1: + unsigned int uframe_periodic_max;
1: + struct list_head cached_itd_list;
1: + struct ehci_itd *last_itd_to_free;
1: + struct list_head cached_sitd_list;
1: + struct ehci_sitd *last_sitd_to_free;
1: + long unsigned int reset_done[15];
1: + long unsigned int bus_suspended;
1: + long unsigned int companion_ports;
1: + long unsigned int owned_ports;
1: + long unsigned int port_c_suspend;
1: + long unsigned int suspended_ports;
1: + long unsigned int resuming_ports;
1: + struct dma_pool___2 *qh_pool;
1: + struct dma_pool___2 *qtd_pool;
1: + struct dma_pool___2 *itd_pool;
1: + struct dma_pool___2 *sitd_pool;
1: + unsigned int random_frame;
1: + long unsigned int next_statechange;
1: + ktime_t last_periodic_enable;
1: + u32 command;
1: + unsigned int no_selective_suspend : 1;
1: + unsigned int has_fsl_port_bug : 1;
1: + unsigned int has_fsl_hs_errata : 1;
1: + unsigned int has_fsl_susp_errata : 1;
1: + unsigned int big_endian_mmio : 1;
1: + unsigned int big_endian_desc : 1;
1: + unsigned int big_endian_capbase : 1;
1: + unsigned int has_amcc_usb23 : 1;
1: + unsigned int need_io_watchdog : 1;
1: + unsigned int amd_pll_fix : 1;
1: + unsigned int use_dummy_qh : 1;
1: + unsigned int has_synopsys_hc_bug : 1;
1: + unsigned int frame_index_bug : 1;
1: + unsigned int need_oc_pp_cycle : 1;
1: + unsigned int imx28_write_fix : 1;
1: + __le32 *ohci_hcctrl_reg;
1: + unsigned int has_hostpc : 1;
1: + unsigned int has_tdi_phy_lpm : 1;
1: + unsigned int has_ppcd : 1;
1: + u8 sbrn;
1: + u8 bandwidth[64];
1: + u8 tt_budget[64];
1: + struct list_head tt_list;
1: + long unsigned int priv[0];
1: };
1:
1: struct ehci_caps {
1: - u32 hc_capbase;
1: - u32 hcs_params;
1: - u32 hcc_params;
1: - u8 portroute[8];
1: + u32 hc_capbase;
1: + u32 hcs_params;
1: + u32 hcc_params;
1: + u8 portroute[8];
1: };
1:
1: struct ehci_regs {
1: - u32 command;
1: - u32 status;
1: - u32 intr_enable;
1: - u32 frame_index;
1: - u32 segment;
1: - u32 frame_list;
1: - u32 async_next;
1: - u32 reserved1[2];
1: - u32 txfill_tuning;
1: - u32 reserved2[6];
1: - u32 configured_flag;
1: - u32 port_status[0];
1: - u32 reserved3[9];
1: - u32 usbmode;
1: - u32 reserved4[6];
1: - u32 hostpc[0];
1: - u32 reserved5[17];
1: - u32 usbmode_ex;
1: + u32 command;
1: + u32 status;
1: + u32 intr_enable;
1: + u32 frame_index;
1: + u32 segment;
1: + u32 frame_list;
1: + u32 async_next;
1: + u32 reserved1[2];
1: + u32 txfill_tuning;
1: + u32 reserved2[6];
1: + u32 configured_flag;
1: + u32 port_status[0];
1: + u32 reserved3[9];
1: + u32 usbmode;
1: + u32 reserved4[6];
1: + u32 hostpc[0];
1: + u32 reserved5[17];
1: + u32 usbmode_ex;
1: };
1:
1: struct ehci_dbg_port {
1: - u32 control;
1: - u32 pids;
1: - u32 data03;
1: - u32 data47;
1: - u32 address;
1: + u32 control;
1: + u32 pids;
1: + u32 data03;
1: + u32 data47;
1: + u32 address;
1: };
1:
1: struct ehci_fstn;
1:
1: union ehci_shadow {
1: - struct ehci_qh *qh;
1: - struct ehci_itd *itd;
1: - struct ehci_sitd *sitd;
1: - struct ehci_fstn *fstn;
1: - __le32 *hw_next;
1: - void *ptr;
1: + struct ehci_qh *qh;
1: + struct ehci_itd *itd;
1: + struct ehci_sitd *sitd;
1: + struct ehci_fstn *fstn;
1: + __le32 *hw_next;
1: + void *ptr;
1: };
1:
1: struct ehci_qh_hw;
1: @@ -89651,140 +90294,140 @@ struct ehci_qh_hw;
1: struct ehci_qtd;
1:
1: struct ehci_qh {
1: - struct ehci_qh_hw *hw;
1: - dma_addr_t qh_dma;
1: - union ehci_shadow qh_next;
1: - struct list_head qtd_list;
1: - struct list_head intr_node;
1: - struct ehci_qtd *dummy;
1: - struct list_head unlink_node;
1: - struct ehci_per_sched ps;
1: - unsigned int unlink_cycle;
1: - u8 qh_state;
1: - u8 xacterrs;
1: - u8 unlink_reason;
1: - u8 gap_uf;
1: - unsigned int is_out: 1;
1: - unsigned int clearing_tt: 1;
1: - unsigned int dequeue_during_giveback: 1;
1: - unsigned int should_be_inactive: 1;
1: + struct ehci_qh_hw *hw;
1: + dma_addr_t qh_dma;
1: + union ehci_shadow qh_next;
1: + struct list_head qtd_list;
1: + struct list_head intr_node;
1: + struct ehci_qtd *dummy;
1: + struct list_head unlink_node;
1: + struct ehci_per_sched ps;
1: + unsigned int unlink_cycle;
1: + u8 qh_state;
1: + u8 xacterrs;
1: + u8 unlink_reason;
1: + u8 gap_uf;
1: + unsigned int is_out : 1;
1: + unsigned int clearing_tt : 1;
1: + unsigned int dequeue_during_giveback : 1;
1: + unsigned int should_be_inactive : 1;
1: };
1:
1: struct ehci_iso_stream;
1:
1: struct ehci_itd {
1: - __le32 hw_next;
1: - __le32 hw_transaction[8];
1: - __le32 hw_bufp[7];
1: - __le32 hw_bufp_hi[7];
1: - dma_addr_t itd_dma;
1: - union ehci_shadow itd_next;
1: - struct urb *urb;
1: - struct ehci_iso_stream *stream;
1: - struct list_head itd_list;
1: - unsigned int frame;
1: - unsigned int pg;
1: - unsigned int index[8];
1: - long: 64;
1: + __le32 hw_next;
1: + __le32 hw_transaction[8];
1: + __le32 hw_bufp[7];
1: + __le32 hw_bufp_hi[7];
1: + dma_addr_t itd_dma;
1: + union ehci_shadow itd_next;
1: + struct urb *urb;
1: + struct ehci_iso_stream *stream;
1: + struct list_head itd_list;
1: + unsigned int frame;
1: + unsigned int pg;
1: + unsigned int index[8];
1: + long : 64;
1: };
1:
1: struct ehci_sitd {
1: - __le32 hw_next;
1: - __le32 hw_fullspeed_ep;
1: - __le32 hw_uframe;
1: - __le32 hw_results;
1: - __le32 hw_buf[2];
1: - __le32 hw_backpointer;
1: - __le32 hw_buf_hi[2];
1: - dma_addr_t sitd_dma;
1: - union ehci_shadow sitd_next;
1: - struct urb *urb;
1: - struct ehci_iso_stream *stream;
1: - struct list_head sitd_list;
1: - unsigned int frame;
1: - unsigned int index;
1: + __le32 hw_next;
1: + __le32 hw_fullspeed_ep;
1: + __le32 hw_uframe;
1: + __le32 hw_results;
1: + __le32 hw_buf[2];
1: + __le32 hw_backpointer;
1: + __le32 hw_buf_hi[2];
1: + dma_addr_t sitd_dma;
1: + union ehci_shadow sitd_next;
1: + struct urb *urb;
1: + struct ehci_iso_stream *stream;
1: + struct list_head sitd_list;
1: + unsigned int frame;
1: + unsigned int index;
1: };
1:
1: struct ehci_qtd {
1: - __le32 hw_next;
1: - __le32 hw_alt_next;
1: - __le32 hw_token;
1: - __le32 hw_buf[5];
1: - __le32 hw_buf_hi[5];
1: - dma_addr_t qtd_dma;
1: - struct list_head qtd_list;
1: - struct urb *urb;
1: - size_t length;
1: + __le32 hw_next;
1: + __le32 hw_alt_next;
1: + __le32 hw_token;
1: + __le32 hw_buf[5];
1: + __le32 hw_buf_hi[5];
1: + dma_addr_t qtd_dma;
1: + struct list_head qtd_list;
1: + struct urb *urb;
1: + size_t length;
1: };
1:
1: struct ehci_fstn {
1: - __le32 hw_next;
1: - __le32 hw_prev;
1: - dma_addr_t fstn_dma;
1: - union ehci_shadow fstn_next;
1: - long: 64;
1: + __le32 hw_next;
1: + __le32 hw_prev;
1: + dma_addr_t fstn_dma;
1: + union ehci_shadow fstn_next;
1: + long : 64;
1: };
1:
1: struct ehci_qh_hw {
1: - __le32 hw_next;
1: - __le32 hw_info1;
1: - __le32 hw_info2;
1: - __le32 hw_current;
1: - __le32 hw_qtd_next;
1: - __le32 hw_alt_next;
1: - __le32 hw_token;
1: - __le32 hw_buf[5];
1: - __le32 hw_buf_hi[5];
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + __le32 hw_next;
1: + __le32 hw_info1;
1: + __le32 hw_info2;
1: + __le32 hw_current;
1: + __le32 hw_qtd_next;
1: + __le32 hw_alt_next;
1: + __le32 hw_token;
1: + __le32 hw_buf[5];
1: + __le32 hw_buf_hi[5];
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct ehci_iso_packet {
1: - u64 bufp;
1: - __le32 transaction;
1: - u8 cross;
1: - u32 buf1;
1: + u64 bufp;
1: + __le32 transaction;
1: + u8 cross;
1: + u32 buf1;
1: };
1:
1: struct ehci_iso_sched {
1: - struct list_head td_list;
1: - unsigned int span;
1: - unsigned int first_packet;
1: - struct ehci_iso_packet packet[0];
1: + struct list_head td_list;
1: + unsigned int span;
1: + unsigned int first_packet;
1: + struct ehci_iso_packet packet[0];
1: };
1:
1: struct ehci_iso_stream {
1: - struct ehci_qh_hw *hw;
1: - u8 bEndpointAddress;
1: - u8 highspeed;
1: - struct list_head td_list;
1: - struct list_head free_list;
1: - struct ehci_per_sched ps;
1: - unsigned int next_uframe;
1: - __le32 splits;
1: - u16 uperiod;
1: - u16 maxp;
1: - unsigned int bandwidth;
1: - __le32 buf0;
1: - __le32 buf1;
1: - __le32 buf2;
1: - __le32 address;
1: + struct ehci_qh_hw *hw;
1: + u8 bEndpointAddress;
1: + u8 highspeed;
1: + struct list_head td_list;
1: + struct list_head free_list;
1: + struct ehci_per_sched ps;
1: + unsigned int next_uframe;
1: + __le32 splits;
1: + u16 uperiod;
1: + u16 maxp;
1: + unsigned int bandwidth;
1: + __le32 buf0;
1: + __le32 buf1;
1: + __le32 buf2;
1: + __le32 address;
1: };
1:
1: struct ehci_tt {
1: - u16 bandwidth[8];
1: - struct list_head tt_list;
1: - struct list_head ps_list;
1: - struct usb_tt *usb_tt;
1: - int tt_port;
1: + u16 bandwidth[8];
1: + struct list_head tt_list;
1: + struct list_head ps_list;
1: + struct usb_tt *usb_tt;
1: + int tt_port;
1: };
1:
1: struct ehci_driver_overrides {
1: - size_t extra_priv_size;
1: - int (*reset)(struct usb_hcd *);
1: - int (*port_power)(struct usb_hcd *, int, bool);
1: + size_t extra_priv_size;
1: + int (*reset)(struct usb_hcd *);
1: + int (*port_power)(struct usb_hcd *, int, bool);
1: };
1:
1: typedef __u32 __hc32;
1: @@ -89794,499 +90437,499 @@ typedef __u16 __hc16;
1: struct td;
1:
1: struct ed {
1: - __hc32 hwINFO;
1: - __hc32 hwTailP;
1: - __hc32 hwHeadP;
1: - __hc32 hwNextED;
1: - dma_addr_t dma;
1: - struct td *dummy;
1: - struct ed *ed_next;
1: - struct ed *ed_prev;
1: - struct list_head td_list;
1: - struct list_head in_use_list;
1: - u8 state;
1: - u8 type;
1: - u8 branch;
1: - u16 interval;
1: - u16 load;
1: - u16 last_iso;
1: - u16 tick;
1: - unsigned int takeback_wdh_cnt;
1: - struct td *pending_td;
1: - long: 64;
1: + __hc32 hwINFO;
1: + __hc32 hwTailP;
1: + __hc32 hwHeadP;
1: + __hc32 hwNextED;
1: + dma_addr_t dma;
1: + struct td *dummy;
1: + struct ed *ed_next;
1: + struct ed *ed_prev;
1: + struct list_head td_list;
1: + struct list_head in_use_list;
1: + u8 state;
1: + u8 type;
1: + u8 branch;
1: + u16 interval;
1: + u16 load;
1: + u16 last_iso;
1: + u16 tick;
1: + unsigned int takeback_wdh_cnt;
1: + struct td *pending_td;
1: + long : 64;
1: };
1:
1: struct td {
1: - __hc32 hwINFO;
1: - __hc32 hwCBP;
1: - __hc32 hwNextTD;
1: - __hc32 hwBE;
1: - __hc16 hwPSW[2];
1: - __u8 index;
1: - struct ed *ed;
1: - struct td *td_hash;
1: - struct td *next_dl_td;
1: - struct urb *urb;
1: - dma_addr_t td_dma;
1: - dma_addr_t data_dma;
1: - struct list_head td_list;
1: - long: 64;
1: + __hc32 hwINFO;
1: + __hc32 hwCBP;
1: + __hc32 hwNextTD;
1: + __hc32 hwBE;
1: + __hc16 hwPSW[2];
1: + __u8 index;
1: + struct ed *ed;
1: + struct td *td_hash;
1: + struct td *next_dl_td;
1: + struct urb *urb;
1: + dma_addr_t td_dma;
1: + dma_addr_t data_dma;
1: + struct list_head td_list;
1: + long : 64;
1: };
1:
1: struct ohci_hcca {
1: - __hc32 int_table[32];
1: - __hc32 frame_no;
1: - __hc32 done_head;
1: - u8 reserved_for_hc[116];
1: - u8 what[4];
1: + __hc32 int_table[32];
1: + __hc32 frame_no;
1: + __hc32 done_head;
1: + u8 reserved_for_hc[116];
1: + u8 what[4];
1: };
1:
1: struct ohci_roothub_regs {
1: - __hc32 a;
1: - __hc32 b;
1: - __hc32 status;
1: - __hc32 portstatus[15];
1: + __hc32 a;
1: + __hc32 b;
1: + __hc32 status;
1: + __hc32 portstatus[15];
1: };
1:
1: struct ohci_regs {
1: - __hc32 revision;
1: - __hc32 control;
1: - __hc32 cmdstatus;
1: - __hc32 intrstatus;
1: - __hc32 intrenable;
1: - __hc32 intrdisable;
1: - __hc32 hcca;
1: - __hc32 ed_periodcurrent;
1: - __hc32 ed_controlhead;
1: - __hc32 ed_controlcurrent;
1: - __hc32 ed_bulkhead;
1: - __hc32 ed_bulkcurrent;
1: - __hc32 donehead;
1: - __hc32 fminterval;
1: - __hc32 fmremaining;
1: - __hc32 fmnumber;
1: - __hc32 periodicstart;
1: - __hc32 lsthresh;
1: - struct ohci_roothub_regs roothub;
1: - long: 64;
1: - long: 64;
1: + __hc32 revision;
1: + __hc32 control;
1: + __hc32 cmdstatus;
1: + __hc32 intrstatus;
1: + __hc32 intrenable;
1: + __hc32 intrdisable;
1: + __hc32 hcca;
1: + __hc32 ed_periodcurrent;
1: + __hc32 ed_controlhead;
1: + __hc32 ed_controlcurrent;
1: + __hc32 ed_bulkhead;
1: + __hc32 ed_bulkcurrent;
1: + __hc32 donehead;
1: + __hc32 fminterval;
1: + __hc32 fmremaining;
1: + __hc32 fmnumber;
1: + __hc32 periodicstart;
1: + __hc32 lsthresh;
1: + struct ohci_roothub_regs roothub;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct urb_priv {
1: - struct ed *ed;
1: - u16 length;
1: - u16 td_cnt;
1: - struct list_head pending;
1: - struct td *td[0];
1: + struct ed *ed;
1: + u16 length;
1: + u16 td_cnt;
1: + struct list_head pending;
1: + struct td *td[0];
1: };
1:
1: typedef struct urb_priv urb_priv_t;
1:
1: enum ohci_rh_state {
1: - OHCI_RH_HALTED = 0,
1: - OHCI_RH_SUSPENDED = 1,
1: - OHCI_RH_RUNNING = 2,
1: + OHCI_RH_HALTED = 0,
1: + OHCI_RH_SUSPENDED = 1,
1: + OHCI_RH_RUNNING = 2,
1: };
1:
1: struct ohci_hcd {
1: - spinlock_t lock;
1: - struct ohci_regs *regs;
1: - struct ohci_hcca *hcca;
1: - dma_addr_t hcca_dma;
1: - struct ed *ed_rm_list;
1: - struct ed *ed_bulktail;
1: - struct ed *ed_controltail;
1: - struct ed *periodic[32];
1: - void (*start_hnp)(struct ohci_hcd *);
1: - struct dma_pool___2 *td_cache;
1: - struct dma_pool___2 *ed_cache;
1: - struct td *td_hash[64];
1: - struct td *dl_start;
1: - struct td *dl_end;
1: - struct list_head pending;
1: - struct list_head eds_in_use;
1: - enum ohci_rh_state rh_state;
1: - int num_ports;
1: - int load[32];
1: - u32 hc_control;
1: - long unsigned int next_statechange;
1: - u32 fminterval;
1: - unsigned int autostop: 1;
1: - unsigned int working: 1;
1: - unsigned int restart_work: 1;
1: - long unsigned int flags;
1: - unsigned int prev_frame_no;
1: - unsigned int wdh_cnt;
1: - unsigned int prev_wdh_cnt;
1: - u32 prev_donehead;
1: - struct timer_list io_watchdog;
1: - struct work_struct nec_work;
1: - struct dentry *debug_dir;
1: - long unsigned int priv[0];
1: + spinlock_t lock;
1: + struct ohci_regs *regs;
1: + struct ohci_hcca *hcca;
1: + dma_addr_t hcca_dma;
1: + struct ed *ed_rm_list;
1: + struct ed *ed_bulktail;
1: + struct ed *ed_controltail;
1: + struct ed *periodic[32];
1: + void (*start_hnp)(struct ohci_hcd *);
1: + struct dma_pool___2 *td_cache;
1: + struct dma_pool___2 *ed_cache;
1: + struct td *td_hash[64];
1: + struct td *dl_start;
1: + struct td *dl_end;
1: + struct list_head pending;
1: + struct list_head eds_in_use;
1: + enum ohci_rh_state rh_state;
1: + int num_ports;
1: + int load[32];
1: + u32 hc_control;
1: + long unsigned int next_statechange;
1: + u32 fminterval;
1: + unsigned int autostop : 1;
1: + unsigned int working : 1;
1: + unsigned int restart_work : 1;
1: + long unsigned int flags;
1: + unsigned int prev_frame_no;
1: + unsigned int wdh_cnt;
1: + unsigned int prev_wdh_cnt;
1: + u32 prev_donehead;
1: + struct timer_list io_watchdog;
1: + struct work_struct nec_work;
1: + struct dentry *debug_dir;
1: + long unsigned int priv[0];
1: };
1:
1: struct ohci_driver_overrides {
1: - const char *product_desc;
1: - size_t extra_priv_size;
1: - int (*reset)(struct usb_hcd *);
1: + const char *product_desc;
1: + size_t extra_priv_size;
1: + int (*reset)(struct usb_hcd *);
1: };
1:
1: struct debug_buffer {
1: - ssize_t (*fill_func)(struct debug_buffer *);
1: - struct ohci_hcd *ohci;
1: - struct mutex mutex;
1: - size_t count;
1: - char *page;
1: + ssize_t (*fill_func)(struct debug_buffer *);
1: + struct ohci_hcd *ohci;
1: + struct mutex mutex;
1: + size_t count;
1: + char *page;
1: };
1:
1: struct uhci_td;
1:
1: struct uhci_qh {
1: - __le32 link;
1: - __le32 element;
1: - dma_addr_t dma_handle;
1: - struct list_head node;
1: - struct usb_host_endpoint *hep;
1: - struct usb_device *udev;
1: - struct list_head queue;
1: - struct uhci_td *dummy_td;
1: - struct uhci_td *post_td;
1: - struct usb_iso_packet_descriptor *iso_packet_desc;
1: - long unsigned int advance_jiffies;
1: - unsigned int unlink_frame;
1: - unsigned int period;
1: - short int phase;
1: - short int load;
1: - unsigned int iso_frame;
1: - int state;
1: - int type;
1: - int skel;
1: - unsigned int initial_toggle: 1;
1: - unsigned int needs_fixup: 1;
1: - unsigned int is_stopped: 1;
1: - unsigned int wait_expired: 1;
1: - unsigned int bandwidth_reserved: 1;
1: + __le32 link;
1: + __le32 element;
1: + dma_addr_t dma_handle;
1: + struct list_head node;
1: + struct usb_host_endpoint *hep;
1: + struct usb_device *udev;
1: + struct list_head queue;
1: + struct uhci_td *dummy_td;
1: + struct uhci_td *post_td;
1: + struct usb_iso_packet_descriptor *iso_packet_desc;
1: + long unsigned int advance_jiffies;
1: + unsigned int unlink_frame;
1: + unsigned int period;
1: + short int phase;
1: + short int load;
1: + unsigned int iso_frame;
1: + int state;
1: + int type;
1: + int skel;
1: + unsigned int initial_toggle : 1;
1: + unsigned int needs_fixup : 1;
1: + unsigned int is_stopped : 1;
1: + unsigned int wait_expired : 1;
1: + unsigned int bandwidth_reserved : 1;
1: };
1:
1: struct uhci_td {
1: - __le32 link;
1: - __le32 status;
1: - __le32 token;
1: - __le32 buffer;
1: - dma_addr_t dma_handle;
1: - struct list_head list;
1: - int frame;
1: - struct list_head fl_list;
1: + __le32 link;
1: + __le32 status;
1: + __le32 token;
1: + __le32 buffer;
1: + dma_addr_t dma_handle;
1: + struct list_head list;
1: + int frame;
1: + struct list_head fl_list;
1: };
1:
1: enum uhci_rh_state {
1: - UHCI_RH_RESET = 0,
1: - UHCI_RH_SUSPENDED = 1,
1: - UHCI_RH_AUTO_STOPPED = 2,
1: - UHCI_RH_RESUMING = 3,
1: - UHCI_RH_SUSPENDING = 4,
1: - UHCI_RH_RUNNING = 5,
1: - UHCI_RH_RUNNING_NODEVS = 6,
1: + UHCI_RH_RESET = 0,
1: + UHCI_RH_SUSPENDED = 1,
1: + UHCI_RH_AUTO_STOPPED = 2,
1: + UHCI_RH_RESUMING = 3,
1: + UHCI_RH_SUSPENDING = 4,
1: + UHCI_RH_RUNNING = 5,
1: + UHCI_RH_RUNNING_NODEVS = 6,
1: };
1:
1: struct uhci_hcd {
1: - struct dentry *dentry;
1: - long unsigned int io_addr;
1: - void *regs;
1: - struct dma_pool___2 *qh_pool;
1: - struct dma_pool___2 *td_pool;
1: - struct uhci_td *term_td;
1: - struct uhci_qh *skelqh[11];
1: - struct uhci_qh *next_qh;
1: - spinlock_t lock;
1: - dma_addr_t frame_dma_handle;
1: - __le32 *frame;
1: - void **frame_cpu;
1: - enum uhci_rh_state rh_state;
1: - long unsigned int auto_stop_time;
1: - unsigned int frame_number;
1: - unsigned int is_stopped;
1: - unsigned int last_iso_frame;
1: - unsigned int cur_iso_frame;
1: - unsigned int scan_in_progress: 1;
1: - unsigned int need_rescan: 1;
1: - unsigned int dead: 1;
1: - unsigned int RD_enable: 1;
1: - unsigned int is_initialized: 1;
1: - unsigned int fsbr_is_on: 1;
1: - unsigned int fsbr_is_wanted: 1;
1: - unsigned int fsbr_expiring: 1;
1: - struct timer_list fsbr_timer;
1: - unsigned int oc_low: 1;
1: - unsigned int wait_for_hp: 1;
1: - unsigned int big_endian_mmio: 1;
1: - unsigned int big_endian_desc: 1;
1: - unsigned int is_aspeed: 1;
1: - long unsigned int port_c_suspend;
1: - long unsigned int resuming_ports;
1: - long unsigned int ports_timeout;
1: - struct list_head idle_qh_list;
1: - int rh_numports;
1: - wait_queue_head_t waitqh;
1: - int num_waiting;
1: - int total_load;
1: - short int load[32];
1: - struct clk *clk;
1: - void (*reset_hc)(struct uhci_hcd *);
1: - int (*check_and_reset_hc)(struct uhci_hcd *);
1: - void (*configure_hc)(struct uhci_hcd *);
1: - int (*resume_detect_interrupts_are_broken)(struct uhci_hcd *);
1: - int (*global_suspend_mode_is_broken)(struct uhci_hcd *);
1: + struct dentry *dentry;
1: + long unsigned int io_addr;
1: + void *regs;
1: + struct dma_pool___2 *qh_pool;
1: + struct dma_pool___2 *td_pool;
1: + struct uhci_td *term_td;
1: + struct uhci_qh *skelqh[11];
1: + struct uhci_qh *next_qh;
1: + spinlock_t lock;
1: + dma_addr_t frame_dma_handle;
1: + __le32 *frame;
1: + void **frame_cpu;
1: + enum uhci_rh_state rh_state;
1: + long unsigned int auto_stop_time;
1: + unsigned int frame_number;
1: + unsigned int is_stopped;
1: + unsigned int last_iso_frame;
1: + unsigned int cur_iso_frame;
1: + unsigned int scan_in_progress : 1;
1: + unsigned int need_rescan : 1;
1: + unsigned int dead : 1;
1: + unsigned int RD_enable : 1;
1: + unsigned int is_initialized : 1;
1: + unsigned int fsbr_is_on : 1;
1: + unsigned int fsbr_is_wanted : 1;
1: + unsigned int fsbr_expiring : 1;
1: + struct timer_list fsbr_timer;
1: + unsigned int oc_low : 1;
1: + unsigned int wait_for_hp : 1;
1: + unsigned int big_endian_mmio : 1;
1: + unsigned int big_endian_desc : 1;
1: + unsigned int is_aspeed : 1;
1: + long unsigned int port_c_suspend;
1: + long unsigned int resuming_ports;
1: + long unsigned int ports_timeout;
1: + struct list_head idle_qh_list;
1: + int rh_numports;
1: + wait_queue_head_t waitqh;
1: + int num_waiting;
1: + int total_load;
1: + short int load[32];
1: + struct clk *clk;
1: + void (*reset_hc)(struct uhci_hcd *);
1: + int (*check_and_reset_hc)(struct uhci_hcd *);
1: + void (*configure_hc)(struct uhci_hcd *);
1: + int (*resume_detect_interrupts_are_broken)(struct uhci_hcd *);
1: + int (*global_suspend_mode_is_broken)(struct uhci_hcd *);
1: };
1:
1: struct urb_priv___2 {
1: - struct list_head node;
1: - struct urb *urb;
1: - struct uhci_qh *qh;
1: - struct list_head td_list;
1: - unsigned int fsbr: 1;
1: + struct list_head node;
1: + struct urb *urb;
1: + struct uhci_qh *qh;
1: + struct list_head td_list;
1: + unsigned int fsbr : 1;
1: };
1:
1: struct xhci_cap_regs {
1: - __le32 hc_capbase;
1: - __le32 hcs_params1;
1: - __le32 hcs_params2;
1: - __le32 hcs_params3;
1: - __le32 hcc_params;
1: - __le32 db_off;
1: - __le32 run_regs_off;
1: - __le32 hcc_params2;
1: + __le32 hc_capbase;
1: + __le32 hcs_params1;
1: + __le32 hcs_params2;
1: + __le32 hcs_params3;
1: + __le32 hcc_params;
1: + __le32 db_off;
1: + __le32 run_regs_off;
1: + __le32 hcc_params2;
1: };
1:
1: struct xhci_op_regs {
1: - __le32 command;
1: - __le32 status;
1: - __le32 page_size;
1: - __le32 reserved1;
1: - __le32 reserved2;
1: - __le32 dev_notification;
1: - __le64 cmd_ring;
1: - __le32 reserved3[4];
1: - __le64 dcbaa_ptr;
1: - __le32 config_reg;
1: - __le32 reserved4[241];
1: - __le32 port_status_base;
1: - __le32 port_power_base;
1: - __le32 port_link_base;
1: - __le32 reserved5;
1: - __le32 reserved6[1016];
1: + __le32 command;
1: + __le32 status;
1: + __le32 page_size;
1: + __le32 reserved1;
1: + __le32 reserved2;
1: + __le32 dev_notification;
1: + __le64 cmd_ring;
1: + __le32 reserved3[4];
1: + __le64 dcbaa_ptr;
1: + __le32 config_reg;
1: + __le32 reserved4[241];
1: + __le32 port_status_base;
1: + __le32 port_power_base;
1: + __le32 port_link_base;
1: + __le32 reserved5;
1: + __le32 reserved6[1016];
1: };
1:
1: struct xhci_intr_reg {
1: - __le32 irq_pending;
1: - __le32 irq_control;
1: - __le32 erst_size;
1: - __le32 rsvd;
1: - __le64 erst_base;
1: - __le64 erst_dequeue;
1: + __le32 irq_pending;
1: + __le32 irq_control;
1: + __le32 erst_size;
1: + __le32 rsvd;
1: + __le64 erst_base;
1: + __le64 erst_dequeue;
1: };
1:
1: struct xhci_run_regs {
1: - __le32 microframe_index;
1: - __le32 rsvd[7];
1: - struct xhci_intr_reg ir_set[128];
1: + __le32 microframe_index;
1: + __le32 rsvd[7];
1: + struct xhci_intr_reg ir_set[128];
1: };
1:
1: struct xhci_doorbell_array {
1: - __le32 doorbell[256];
1: + __le32 doorbell[256];
1: };
1:
1: struct xhci_container_ctx {
1: - unsigned int type;
1: - int size;
1: - u8 *bytes;
1: - dma_addr_t dma;
1: + unsigned int type;
1: + int size;
1: + u8 *bytes;
1: + dma_addr_t dma;
1: };
1:
1: struct xhci_slot_ctx {
1: - __le32 dev_info;
1: - __le32 dev_info2;
1: - __le32 tt_info;
1: - __le32 dev_state;
1: - __le32 reserved[4];
1: + __le32 dev_info;
1: + __le32 dev_info2;
1: + __le32 tt_info;
1: + __le32 dev_state;
1: + __le32 reserved[4];
1: };
1:
1: struct xhci_ep_ctx {
1: - __le32 ep_info;
1: - __le32 ep_info2;
1: - __le64 deq;
1: - __le32 tx_info;
1: - __le32 reserved[3];
1: + __le32 ep_info;
1: + __le32 ep_info2;
1: + __le64 deq;
1: + __le32 tx_info;
1: + __le32 reserved[3];
1: };
1:
1: struct xhci_input_control_ctx {
1: - __le32 drop_flags;
1: - __le32 add_flags;
1: - __le32 rsvd2[6];
1: + __le32 drop_flags;
1: + __le32 add_flags;
1: + __le32 rsvd2[6];
1: };
1:
1: union xhci_trb;
1:
1: struct xhci_command {
1: - struct xhci_container_ctx *in_ctx;
1: - u32 status;
1: - int slot_id;
1: - struct completion *completion;
1: - union xhci_trb *command_trb;
1: - struct list_head cmd_list;
1: + struct xhci_container_ctx *in_ctx;
1: + u32 status;
1: + int slot_id;
1: + struct completion *completion;
1: + union xhci_trb *command_trb;
1: + struct list_head cmd_list;
1: };
1:
1: struct xhci_link_trb {
1: - __le64 segment_ptr;
1: - __le32 intr_target;
1: - __le32 control;
1: + __le64 segment_ptr;
1: + __le32 intr_target;
1: + __le32 control;
1: };
1:
1: struct xhci_transfer_event {
1: - __le64 buffer;
1: - __le32 transfer_len;
1: - __le32 flags;
1: + __le64 buffer;
1: + __le32 transfer_len;
1: + __le32 flags;
1: };
1:
1: struct xhci_event_cmd {
1: - __le64 cmd_trb;
1: - __le32 status;
1: - __le32 flags;
1: + __le64 cmd_trb;
1: + __le32 status;
1: + __le32 flags;
1: };
1:
1: struct xhci_generic_trb {
1: - __le32 field[4];
1: + __le32 field[4];
1: };
1:
1: union xhci_trb {
1: - struct xhci_link_trb link;
1: - struct xhci_transfer_event trans_event;
1: - struct xhci_event_cmd event_cmd;
1: - struct xhci_generic_trb generic;
1: + struct xhci_link_trb link;
1: + struct xhci_transfer_event trans_event;
1: + struct xhci_event_cmd event_cmd;
1: + struct xhci_generic_trb generic;
1: };
1:
1: struct xhci_stream_ctx {
1: - __le64 stream_ring;
1: - __le32 reserved[2];
1: + __le64 stream_ring;
1: + __le32 reserved[2];
1: };
1:
1: struct xhci_ring;
1:
1: struct xhci_stream_info {
1: - struct xhci_ring **stream_rings;
1: - unsigned int num_streams;
1: - struct xhci_stream_ctx *stream_ctx_array;
1: - unsigned int num_stream_ctxs;
1: - dma_addr_t ctx_array_dma;
1: - struct xarray trb_address_map;
1: - struct xhci_command *free_streams_command;
1: + struct xhci_ring **stream_rings;
1: + unsigned int num_streams;
1: + struct xhci_stream_ctx *stream_ctx_array;
1: + unsigned int num_stream_ctxs;
1: + dma_addr_t ctx_array_dma;
1: + struct xarray trb_address_map;
1: + struct xhci_command *free_streams_command;
1: };
1:
1: enum xhci_ring_type {
1: - TYPE_CTRL = 0,
1: - TYPE_ISOC = 1,
1: - TYPE_BULK = 2,
1: - TYPE_INTR = 3,
1: - TYPE_STREAM = 4,
1: - TYPE_COMMAND = 5,
1: - TYPE_EVENT = 6,
1: + TYPE_CTRL = 0,
1: + TYPE_ISOC = 1,
1: + TYPE_BULK = 2,
1: + TYPE_INTR = 3,
1: + TYPE_STREAM = 4,
1: + TYPE_COMMAND = 5,
1: + TYPE_EVENT = 6,
1: };
1:
1: struct xhci_segment;
1:
1: struct xhci_ring {
1: - struct xhci_segment *first_seg;
1: - struct xhci_segment *last_seg;
1: - union xhci_trb *enqueue;
1: - struct xhci_segment *enq_seg;
1: - union xhci_trb *dequeue;
1: - struct xhci_segment *deq_seg;
1: - struct list_head td_list;
1: - u32 cycle_state;
1: - unsigned int err_count;
1: - unsigned int stream_id;
1: - unsigned int num_segs;
1: - unsigned int num_trbs_free;
1: - unsigned int num_trbs_free_temp;
1: - unsigned int bounce_buf_len;
1: - enum xhci_ring_type type;
1: - bool last_td_was_short;
1: - struct xarray *trb_address_map;
1: + struct xhci_segment *first_seg;
1: + struct xhci_segment *last_seg;
1: + union xhci_trb *enqueue;
1: + struct xhci_segment *enq_seg;
1: + union xhci_trb *dequeue;
1: + struct xhci_segment *deq_seg;
1: + struct list_head td_list;
1: + u32 cycle_state;
1: + unsigned int err_count;
1: + unsigned int stream_id;
1: + unsigned int num_segs;
1: + unsigned int num_trbs_free;
1: + unsigned int num_trbs_free_temp;
1: + unsigned int bounce_buf_len;
1: + enum xhci_ring_type type;
1: + bool last_td_was_short;
1: + struct xarray *trb_address_map;
1: };
1:
1: struct xhci_bw_info {
1: - unsigned int ep_interval;
1: - unsigned int mult;
1: - unsigned int num_packets;
1: - unsigned int max_packet_size;
1: - unsigned int max_esit_payload;
1: - unsigned int type;
1: + unsigned int ep_interval;
1: + unsigned int mult;
1: + unsigned int num_packets;
1: + unsigned int max_packet_size;
1: + unsigned int max_esit_payload;
1: + unsigned int type;
1: };
1:
1: struct xhci_hcd;
1:
1: struct xhci_virt_ep {
1: - struct xhci_ring *ring;
1: - struct xhci_stream_info *stream_info;
1: - struct xhci_ring *new_ring;
1: - unsigned int ep_state;
1: - struct list_head cancelled_td_list;
1: - struct timer_list stop_cmd_timer;
1: - struct xhci_hcd *xhci;
1: - struct xhci_segment *queued_deq_seg;
1: - union xhci_trb *queued_deq_ptr;
1: - bool skip;
1: - struct xhci_bw_info bw_info;
1: - struct list_head bw_endpoint_list;
1: - int next_frame_id;
1: - bool use_extended_tbc;
1: + struct xhci_ring *ring;
1: + struct xhci_stream_info *stream_info;
1: + struct xhci_ring *new_ring;
1: + unsigned int ep_state;
1: + struct list_head cancelled_td_list;
1: + struct timer_list stop_cmd_timer;
1: + struct xhci_hcd *xhci;
1: + struct xhci_segment *queued_deq_seg;
1: + union xhci_trb *queued_deq_ptr;
1: + bool skip;
1: + struct xhci_bw_info bw_info;
1: + struct list_head bw_endpoint_list;
1: + int next_frame_id;
1: + bool use_extended_tbc;
1: };
1:
1: struct xhci_erst_entry;
1:
1: struct xhci_erst {
1: - struct xhci_erst_entry *entries;
1: - unsigned int num_entries;
1: - dma_addr_t erst_dma_addr;
1: - unsigned int erst_size;
1: + struct xhci_erst_entry *entries;
1: + unsigned int num_entries;
1: + dma_addr_t erst_dma_addr;
1: + unsigned int erst_size;
1: };
1:
1: struct s3_save {
1: - u32 command;
1: - u32 dev_nt;
1: - u64 dcbaa_ptr;
1: - u32 config_reg;
1: - u32 irq_pending;
1: - u32 irq_control;
1: - u32 erst_size;
1: - u64 erst_base;
1: - u64 erst_dequeue;
1: + u32 command;
1: + u32 dev_nt;
1: + u64 dcbaa_ptr;
1: + u32 config_reg;
1: + u32 irq_pending;
1: + u32 irq_control;
1: + u32 erst_size;
1: + u64 erst_base;
1: + u64 erst_dequeue;
1: };
1:
1: struct xhci_bus_state {
1: - long unsigned int bus_suspended;
1: - long unsigned int next_statechange;
1: - u32 port_c_suspend;
1: - u32 suspended_ports;
1: - u32 port_remote_wakeup;
1: - long unsigned int resume_done[31];
1: - long unsigned int resuming_ports;
1: - long unsigned int rexit_ports;
1: - struct completion rexit_done[31];
1: + long unsigned int bus_suspended;
1: + long unsigned int next_statechange;
1: + u32 port_c_suspend;
1: + u32 suspended_ports;
1: + u32 port_remote_wakeup;
1: + long unsigned int resume_done[31];
1: + long unsigned int resuming_ports;
1: + long unsigned int rexit_ports;
1: + struct completion rexit_done[31];
1: };
1:
1: struct xhci_port;
1:
1: struct xhci_hub {
1: - struct xhci_port **ports;
1: - unsigned int num_ports;
1: - struct usb_hcd *hcd;
1: - struct xhci_bus_state bus_state;
1: - u8 maj_rev;
1: - u8 min_rev;
1: - u32 *psi;
1: - u8 psi_count;
1: - u8 psi_uid_count;
1: + struct xhci_port **ports;
1: + unsigned int num_ports;
1: + struct usb_hcd *hcd;
1: + struct xhci_bus_state bus_state;
1: + u8 maj_rev;
1: + u8 min_rev;
1: + u32 *psi;
1: + u8 psi_count;
1: + u8 psi_uid_count;
1: };
1:
1: struct xhci_device_context_array;
1: @@ -90298,446 +90941,446 @@ struct xhci_virt_device;
1: struct xhci_root_port_bw_info;
1:
1: struct xhci_hcd {
1: - struct usb_hcd *main_hcd;
1: - struct usb_hcd *shared_hcd;
1: - struct xhci_cap_regs *cap_regs;
1: - struct xhci_op_regs *op_regs;
1: - struct xhci_run_regs *run_regs;
1: - struct xhci_doorbell_array *dba;
1: - struct xhci_intr_reg *ir_set;
1: - __u32 hcs_params1;
1: - __u32 hcs_params2;
1: - __u32 hcs_params3;
1: - __u32 hcc_params;
1: - __u32 hcc_params2;
1: - spinlock_t lock;
1: - u8 sbrn;
1: - u16 hci_version;
1: - u8 max_slots;
1: - u8 max_interrupters;
1: - u8 max_ports;
1: - u8 isoc_threshold;
1: - u32 imod_interval;
1: - int event_ring_max;
1: - int page_size;
1: - int page_shift;
1: - int msix_count;
1: - struct clk *clk;
1: - struct clk *reg_clk;
1: - struct xhci_device_context_array *dcbaa;
1: - struct xhci_ring *cmd_ring;
1: - unsigned int cmd_ring_state;
1: - struct list_head cmd_list;
1: - unsigned int cmd_ring_reserved_trbs;
1: - struct delayed_work cmd_timer;
1: - struct completion cmd_ring_stop_completion;
1: - struct xhci_command *current_cmd;
1: - struct xhci_ring *event_ring;
1: - struct xhci_erst erst;
1: - struct xhci_scratchpad *scratchpad;
1: - struct list_head lpm_failed_devs;
1: - struct mutex mutex;
1: - struct xhci_command *lpm_command;
1: - struct xhci_virt_device *devs[256];
1: - struct xhci_root_port_bw_info *rh_bw;
1: - struct dma_pool___2 *device_pool;
1: - struct dma_pool___2 *segment_pool;
1: - struct dma_pool___2 *small_streams_pool;
1: - struct dma_pool___2 *medium_streams_pool;
1: - unsigned int xhc_state;
1: - u32 command;
1: - struct s3_save s3;
1: - long long unsigned int quirks;
1: - unsigned int num_active_eps;
1: - unsigned int limit_active_eps;
1: - struct xhci_port *hw_ports;
1: - struct xhci_hub usb2_rhub;
1: - struct xhci_hub usb3_rhub;
1: - unsigned int hw_lpm_support: 1;
1: - unsigned int broken_suspend: 1;
1: - u32 *ext_caps;
1: - unsigned int num_ext_caps;
1: - struct timer_list comp_mode_recovery_timer;
1: - u32 port_status_u0;
1: - u16 test_mode;
1: - struct dentry *debugfs_root;
1: - struct dentry *debugfs_slots;
1: - struct list_head regset_list;
1: - void *dbc;
1: - long unsigned int priv[0];
1: + struct usb_hcd *main_hcd;
1: + struct usb_hcd *shared_hcd;
1: + struct xhci_cap_regs *cap_regs;
1: + struct xhci_op_regs *op_regs;
1: + struct xhci_run_regs *run_regs;
1: + struct xhci_doorbell_array *dba;
1: + struct xhci_intr_reg *ir_set;
1: + __u32 hcs_params1;
1: + __u32 hcs_params2;
1: + __u32 hcs_params3;
1: + __u32 hcc_params;
1: + __u32 hcc_params2;
1: + spinlock_t lock;
1: + u8 sbrn;
1: + u16 hci_version;
1: + u8 max_slots;
1: + u8 max_interrupters;
1: + u8 max_ports;
1: + u8 isoc_threshold;
1: + u32 imod_interval;
1: + int event_ring_max;
1: + int page_size;
1: + int page_shift;
1: + int msix_count;
1: + struct clk *clk;
1: + struct clk *reg_clk;
1: + struct xhci_device_context_array *dcbaa;
1: + struct xhci_ring *cmd_ring;
1: + unsigned int cmd_ring_state;
1: + struct list_head cmd_list;
1: + unsigned int cmd_ring_reserved_trbs;
1: + struct delayed_work cmd_timer;
1: + struct completion cmd_ring_stop_completion;
1: + struct xhci_command *current_cmd;
1: + struct xhci_ring *event_ring;
1: + struct xhci_erst erst;
1: + struct xhci_scratchpad *scratchpad;
1: + struct list_head lpm_failed_devs;
1: + struct mutex mutex;
1: + struct xhci_command *lpm_command;
1: + struct xhci_virt_device *devs[256];
1: + struct xhci_root_port_bw_info *rh_bw;
1: + struct dma_pool___2 *device_pool;
1: + struct dma_pool___2 *segment_pool;
1: + struct dma_pool___2 *small_streams_pool;
1: + struct dma_pool___2 *medium_streams_pool;
1: + unsigned int xhc_state;
1: + u32 command;
1: + struct s3_save s3;
1: + long long unsigned int quirks;
1: + unsigned int num_active_eps;
1: + unsigned int limit_active_eps;
1: + struct xhci_port *hw_ports;
1: + struct xhci_hub usb2_rhub;
1: + struct xhci_hub usb3_rhub;
1: + unsigned int hw_lpm_support : 1;
1: + unsigned int broken_suspend : 1;
1: + u32 *ext_caps;
1: + unsigned int num_ext_caps;
1: + struct timer_list comp_mode_recovery_timer;
1: + u32 port_status_u0;
1: + u16 test_mode;
1: + struct dentry *debugfs_root;
1: + struct dentry *debugfs_slots;
1: + struct list_head regset_list;
1: + void *dbc;
1: + long unsigned int priv[0];
1: };
1:
1: struct xhci_segment {
1: - union xhci_trb *trbs;
1: - struct xhci_segment *next;
1: - dma_addr_t dma;
1: - dma_addr_t bounce_dma;
1: - void *bounce_buf;
1: - unsigned int bounce_offs;
1: - unsigned int bounce_len;
1: + union xhci_trb *trbs;
1: + struct xhci_segment *next;
1: + dma_addr_t dma;
1: + dma_addr_t bounce_dma;
1: + void *bounce_buf;
1: + unsigned int bounce_offs;
1: + unsigned int bounce_len;
1: };
1:
1: enum xhci_overhead_type {
1: - LS_OVERHEAD_TYPE = 0,
1: - FS_OVERHEAD_TYPE = 1,
1: - HS_OVERHEAD_TYPE = 2,
1: + LS_OVERHEAD_TYPE = 0,
1: + FS_OVERHEAD_TYPE = 1,
1: + HS_OVERHEAD_TYPE = 2,
1: };
1:
1: struct xhci_interval_bw {
1: - unsigned int num_packets;
1: - struct list_head endpoints;
1: - unsigned int overhead[3];
1: + unsigned int num_packets;
1: + struct list_head endpoints;
1: + unsigned int overhead[3];
1: };
1:
1: struct xhci_interval_bw_table {
1: - unsigned int interval0_esit_payload;
1: - struct xhci_interval_bw interval_bw[16];
1: - unsigned int bw_used;
1: - unsigned int ss_bw_in;
1: - unsigned int ss_bw_out;
1: + unsigned int interval0_esit_payload;
1: + struct xhci_interval_bw interval_bw[16];
1: + unsigned int bw_used;
1: + unsigned int ss_bw_in;
1: + unsigned int ss_bw_out;
1: };
1:
1: struct xhci_tt_bw_info;
1:
1: struct xhci_virt_device {
1: - struct usb_device *udev;
1: - struct xhci_container_ctx *out_ctx;
1: - struct xhci_container_ctx *in_ctx;
1: - struct xhci_virt_ep eps[31];
1: - u8 fake_port;
1: - u8 real_port;
1: - struct xhci_interval_bw_table *bw_table;
1: - struct xhci_tt_bw_info *tt_info;
1: - long unsigned int flags;
1: - u16 current_mel;
1: - void *debugfs_private;
1: + struct usb_device *udev;
1: + struct xhci_container_ctx *out_ctx;
1: + struct xhci_container_ctx *in_ctx;
1: + struct xhci_virt_ep eps[31];
1: + u8 fake_port;
1: + u8 real_port;
1: + struct xhci_interval_bw_table *bw_table;
1: + struct xhci_tt_bw_info *tt_info;
1: + long unsigned int flags;
1: + u16 current_mel;
1: + void *debugfs_private;
1: };
1:
1: struct xhci_tt_bw_info {
1: - struct list_head tt_list;
1: - int slot_id;
1: - int ttport;
1: - struct xhci_interval_bw_table bw_table;
1: - int active_eps;
1: + struct list_head tt_list;
1: + int slot_id;
1: + int ttport;
1: + struct xhci_interval_bw_table bw_table;
1: + int active_eps;
1: };
1:
1: struct xhci_root_port_bw_info {
1: - struct list_head tts;
1: - unsigned int num_active_tts;
1: - struct xhci_interval_bw_table bw_table;
1: + struct list_head tts;
1: + unsigned int num_active_tts;
1: + struct xhci_interval_bw_table bw_table;
1: };
1:
1: struct xhci_device_context_array {
1: - __le64 dev_context_ptrs[256];
1: - dma_addr_t dma;
1: + __le64 dev_context_ptrs[256];
1: + dma_addr_t dma;
1: };
1:
1: enum xhci_setup_dev {
1: - SETUP_CONTEXT_ONLY = 0,
1: - SETUP_CONTEXT_ADDRESS = 1,
1: + SETUP_CONTEXT_ONLY = 0,
1: + SETUP_CONTEXT_ADDRESS = 1,
1: };
1:
1: struct xhci_td {
1: - struct list_head td_list;
1: - struct list_head cancelled_td_list;
1: - struct urb *urb;
1: - struct xhci_segment *start_seg;
1: - union xhci_trb *first_trb;
1: - union xhci_trb *last_trb;
1: - struct xhci_segment *bounce_seg;
1: - bool urb_length_set;
1: + struct list_head td_list;
1: + struct list_head cancelled_td_list;
1: + struct urb *urb;
1: + struct xhci_segment *start_seg;
1: + union xhci_trb *first_trb;
1: + union xhci_trb *last_trb;
1: + struct xhci_segment *bounce_seg;
1: + bool urb_length_set;
1: };
1:
1: struct xhci_dequeue_state {
1: - struct xhci_segment *new_deq_seg;
1: - union xhci_trb *new_deq_ptr;
1: - int new_cycle_state;
1: - unsigned int stream_id;
1: + struct xhci_segment *new_deq_seg;
1: + union xhci_trb *new_deq_ptr;
1: + int new_cycle_state;
1: + unsigned int stream_id;
1: };
1:
1: struct xhci_erst_entry {
1: - __le64 seg_addr;
1: - __le32 seg_size;
1: - __le32 rsvd;
1: + __le64 seg_addr;
1: + __le32 seg_size;
1: + __le32 rsvd;
1: };
1:
1: struct xhci_scratchpad {
1: - u64 *sp_array;
1: - dma_addr_t sp_dma;
1: - void **sp_buffers;
1: + u64 *sp_array;
1: + dma_addr_t sp_dma;
1: + void **sp_buffers;
1: };
1:
1: struct urb_priv___3 {
1: - int num_tds;
1: - int num_tds_done;
1: - struct xhci_td td[0];
1: + int num_tds;
1: + int num_tds_done;
1: + struct xhci_td td[0];
1: };
1:
1: struct xhci_port {
1: - __le32 *addr;
1: - int hw_portnum;
1: - int hcd_portnum;
1: - struct xhci_hub *rhub;
1: + __le32 *addr;
1: + int hw_portnum;
1: + int hcd_portnum;
1: + struct xhci_hub *rhub;
1: };
1:
1: struct xhci_driver_overrides {
1: - size_t extra_priv_size;
1: - int (*reset)(struct usb_hcd *);
1: - int (*start)(struct usb_hcd *);
1: + size_t extra_priv_size;
1: + int (*reset)(struct usb_hcd *);
1: + int (*start)(struct usb_hcd *);
1: };
1:
1: typedef void (*xhci_get_quirks_t)(struct device *, struct xhci_hcd *);
1:
1: enum xhci_ep_reset_type {
1: - EP_HARD_RESET = 0,
1: - EP_SOFT_RESET = 1,
1: + EP_HARD_RESET = 0,
1: + EP_SOFT_RESET = 1,
1: };
1:
1: struct kfifo {
1: - union {
1: - struct __kfifo kfifo;
1: - unsigned char *type;
1: - const unsigned char *const_type;
1: - char (*rectype)[0];
1: - void *ptr;
1: - const void *ptr_const;
1: - };
1: - unsigned char buf[0];
1: + union {
1: + struct __kfifo kfifo;
1: + unsigned char *type;
1: + const unsigned char *const_type;
1: + char (*rectype)[0];
1: + void *ptr;
1: + const void *ptr_const;
1: + };
1: + unsigned char buf[0];
1: };
1:
1: struct dbc_regs {
1: - __le32 capability;
1: - __le32 doorbell;
1: - __le32 ersts;
1: - __le32 __reserved_0;
1: - __le64 erstba;
1: - __le64 erdp;
1: - __le32 control;
1: - __le32 status;
1: - __le32 portsc;
1: - __le32 __reserved_1;
1: - __le64 dccp;
1: - __le32 devinfo1;
1: - __le32 devinfo2;
1: + __le32 capability;
1: + __le32 doorbell;
1: + __le32 ersts;
1: + __le32 __reserved_0;
1: + __le64 erstba;
1: + __le64 erdp;
1: + __le32 control;
1: + __le32 status;
1: + __le32 portsc;
1: + __le32 __reserved_1;
1: + __le64 dccp;
1: + __le32 devinfo1;
1: + __le32 devinfo2;
1: };
1:
1: struct dbc_str_descs {
1: - char string0[64];
1: - char manufacturer[64];
1: - char product[64];
1: - char serial[64];
1: + char string0[64];
1: + char manufacturer[64];
1: + char product[64];
1: + char serial[64];
1: };
1:
1: enum dbc_state {
1: - DS_DISABLED = 0,
1: - DS_INITIALIZED = 1,
1: - DS_ENABLED = 2,
1: - DS_CONNECTED = 3,
1: - DS_CONFIGURED = 4,
1: - DS_STALLED = 5,
1: + DS_DISABLED = 0,
1: + DS_INITIALIZED = 1,
1: + DS_ENABLED = 2,
1: + DS_CONNECTED = 3,
1: + DS_CONFIGURED = 4,
1: + DS_STALLED = 5,
1: };
1:
1: struct dbc_ep;
1:
1: struct dbc_request {
1: - void *buf;
1: - unsigned int length;
1: - dma_addr_t dma;
1: - void (*complete)(struct xhci_hcd *, struct dbc_request *);
1: - struct list_head list_pool;
1: - int status;
1: - unsigned int actual;
1: - struct dbc_ep *dep;
1: - struct list_head list_pending;
1: - dma_addr_t trb_dma;
1: - union xhci_trb *trb;
1: - unsigned int direction: 1;
1: + void *buf;
1: + unsigned int length;
1: + dma_addr_t dma;
1: + void (*complete)(struct xhci_hcd *, struct dbc_request *);
1: + struct list_head list_pool;
1: + int status;
1: + unsigned int actual;
1: + struct dbc_ep *dep;
1: + struct list_head list_pending;
1: + dma_addr_t trb_dma;
1: + union xhci_trb *trb;
1: + unsigned int direction : 1;
1: };
1:
1: struct xhci_dbc;
1:
1: struct dbc_ep {
1: - struct xhci_dbc *dbc;
1: - struct list_head list_pending;
1: - struct xhci_ring *ring;
1: - unsigned int direction: 1;
1: + struct xhci_dbc *dbc;
1: + struct list_head list_pending;
1: + struct xhci_ring *ring;
1: + unsigned int direction : 1;
1: };
1:
1: struct dbc_port {
1: - struct tty_port port;
1: - spinlock_t port_lock;
1: - struct list_head read_pool;
1: - struct list_head read_queue;
1: - unsigned int n_read;
1: - struct tasklet_struct push;
1: - struct list_head write_pool;
1: - struct kfifo write_fifo;
1: - bool registered;
1: - struct dbc_ep *in;
1: - struct dbc_ep *out;
1: + struct tty_port port;
1: + spinlock_t port_lock;
1: + struct list_head read_pool;
1: + struct list_head read_queue;
1: + unsigned int n_read;
1: + struct tasklet_struct push;
1: + struct list_head write_pool;
1: + struct kfifo write_fifo;
1: + bool registered;
1: + struct dbc_ep *in;
1: + struct dbc_ep *out;
1: };
1:
1: struct xhci_dbc {
1: - spinlock_t lock;
1: - struct xhci_hcd *xhci;
1: - struct dbc_regs *regs;
1: - struct xhci_ring *ring_evt;
1: - struct xhci_ring *ring_in;
1: - struct xhci_ring *ring_out;
1: - struct xhci_erst erst;
1: - struct xhci_container_ctx *ctx;
1: - struct dbc_str_descs *string;
1: - dma_addr_t string_dma;
1: - size_t string_size;
1: - enum dbc_state state;
1: - struct delayed_work event_work;
1: - unsigned int resume_required: 1;
1: - struct dbc_ep eps[2];
1: - struct dbc_port port;
1: + spinlock_t lock;
1: + struct xhci_hcd *xhci;
1: + struct dbc_regs *regs;
1: + struct xhci_ring *ring_evt;
1: + struct xhci_ring *ring_in;
1: + struct xhci_ring *ring_out;
1: + struct xhci_erst erst;
1: + struct xhci_container_ctx *ctx;
1: + struct dbc_str_descs *string;
1: + dma_addr_t string_dma;
1: + size_t string_size;
1: + enum dbc_state state;
1: + struct delayed_work event_work;
1: + unsigned int resume_required : 1;
1: + struct dbc_ep eps[2];
1: + struct dbc_port port;
1: };
1:
1: struct trace_event_raw_xhci_log_msg {
1: - struct trace_entry ent;
1: - u32 __data_loc_msg;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_ctx {
1: - struct trace_entry ent;
1: - int ctx_64;
1: - unsigned int ctx_type;
1: - dma_addr_t ctx_dma;
1: - u8 *ctx_va;
1: - unsigned int ctx_ep_num;
1: - int slot_id;
1: - u32 __data_loc_ctx_data;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int ctx_64;
1: + unsigned int ctx_type;
1: + dma_addr_t ctx_dma;
1: + u8 *ctx_va;
1: + unsigned int ctx_ep_num;
1: + int slot_id;
1: + u32 __data_loc_ctx_data;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_trb {
1: - struct trace_entry ent;
1: - u32 type;
1: - u32 field0;
1: - u32 field1;
1: - u32 field2;
1: - u32 field3;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 type;
1: + u32 field0;
1: + u32 field1;
1: + u32 field2;
1: + u32 field3;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_free_virt_dev {
1: - struct trace_entry ent;
1: - void *vdev;
1: - long long unsigned int out_ctx;
1: - long long unsigned int in_ctx;
1: - u8 fake_port;
1: - u8 real_port;
1: - u16 current_mel;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *vdev;
1: + long long unsigned int out_ctx;
1: + long long unsigned int in_ctx;
1: + u8 fake_port;
1: + u8 real_port;
1: + u16 current_mel;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_virt_dev {
1: - struct trace_entry ent;
1: - void *vdev;
1: - long long unsigned int out_ctx;
1: - long long unsigned int in_ctx;
1: - int devnum;
1: - int state;
1: - int speed;
1: - u8 portnum;
1: - u8 level;
1: - int slot_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *vdev;
1: + long long unsigned int out_ctx;
1: + long long unsigned int in_ctx;
1: + int devnum;
1: + int state;
1: + int speed;
1: + u8 portnum;
1: + u8 level;
1: + int slot_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_urb {
1: - struct trace_entry ent;
1: - void *urb;
1: - unsigned int pipe;
1: - unsigned int stream;
1: - int status;
1: - unsigned int flags;
1: - int num_mapped_sgs;
1: - int num_sgs;
1: - int length;
1: - int actual;
1: - int epnum;
1: - int dir_in;
1: - int type;
1: - int slot_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *urb;
1: + unsigned int pipe;
1: + unsigned int stream;
1: + int status;
1: + unsigned int flags;
1: + int num_mapped_sgs;
1: + int num_sgs;
1: + int length;
1: + int actual;
1: + int epnum;
1: + int dir_in;
1: + int type;
1: + int slot_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_ep_ctx {
1: - struct trace_entry ent;
1: - u32 info;
1: - u32 info2;
1: - u64 deq;
1: - u32 tx_info;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 info;
1: + u32 info2;
1: + u64 deq;
1: + u32 tx_info;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_slot_ctx {
1: - struct trace_entry ent;
1: - u32 info;
1: - u32 info2;
1: - u32 tt_info;
1: - u32 state;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 info;
1: + u32 info2;
1: + u32 tt_info;
1: + u32 state;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_ctrl_ctx {
1: - struct trace_entry ent;
1: - u32 drop;
1: - u32 add;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 drop;
1: + u32 add;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_ring {
1: - struct trace_entry ent;
1: - u32 type;
1: - void *ring;
1: - dma_addr_t enq;
1: - dma_addr_t deq;
1: - dma_addr_t enq_seg;
1: - dma_addr_t deq_seg;
1: - unsigned int num_segs;
1: - unsigned int stream_id;
1: - unsigned int cycle_state;
1: - unsigned int num_trbs_free;
1: - unsigned int bounce_buf_len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 type;
1: + void *ring;
1: + dma_addr_t enq;
1: + dma_addr_t deq;
1: + dma_addr_t enq_seg;
1: + dma_addr_t deq_seg;
1: + unsigned int num_segs;
1: + unsigned int stream_id;
1: + unsigned int cycle_state;
1: + unsigned int num_trbs_free;
1: + unsigned int bounce_buf_len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_portsc {
1: - struct trace_entry ent;
1: - u32 portnum;
1: - u32 portsc;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 portnum;
1: + u32 portsc;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_log_doorbell {
1: - struct trace_entry ent;
1: - u32 slot;
1: - u32 doorbell;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 slot;
1: + u32 doorbell;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xhci_dbc_log_request {
1: - struct trace_entry ent;
1: - struct dbc_request *req;
1: - bool dir;
1: - unsigned int actual;
1: - unsigned int length;
1: - int status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct dbc_request *req;
1: + bool dir;
1: + unsigned int actual;
1: + unsigned int length;
1: + int status;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_xhci_log_msg {
1: - u32 msg;
1: + u32 msg;
1: };
1:
1: struct trace_event_data_offsets_xhci_log_ctx {
1: - u32 ctx_data;
1: + u32 ctx_data;
1: };
1:
1: struct trace_event_data_offsets_xhci_log_trb {};
1: @@ -90763,109 +91406,109 @@ struct trace_event_data_offsets_xhci_log_doorbell {};
1: struct trace_event_data_offsets_xhci_dbc_log_request {};
1:
1: struct xhci_regset {
1: - char name[32];
1: - struct debugfs_regset32 regset;
1: - size_t nregs;
1: - struct list_head list;
1: + char name[32];
1: + struct debugfs_regset32 regset;
1: + size_t nregs;
1: + struct list_head list;
1: };
1:
1: struct xhci_file_map {
1: - const char *name;
1: - int (*show)(struct seq_file *, void *);
1: + const char *name;
1: + int (*show)(struct seq_file *, void *);
1: };
1:
1: struct xhci_ep_priv {
1: - char name[32];
1: - struct dentry *root;
1: + char name[32];
1: + struct dentry *root;
1: };
1:
1: struct xhci_slot_priv {
1: - char name[32];
1: - struct dentry *root;
1: - struct xhci_ep_priv *eps[31];
1: - struct xhci_virt_device *dev;
1: + char name[32];
1: + struct dentry *root;
1: + struct xhci_ep_priv *eps[31];
1: + struct xhci_virt_device *dev;
1: };
1:
1: struct usblp {
1: - struct usb_device *dev;
1: - struct mutex wmut;
1: - struct mutex mut;
1: - spinlock_t lock;
1: - char *readbuf;
1: - char *statusbuf;
1: - struct usb_anchor urbs;
1: - wait_queue_head_t rwait;
1: - wait_queue_head_t wwait;
1: - int readcount;
1: - int ifnum;
1: - struct usb_interface *intf;
1: - struct {
1: - int alt_setting;
1: - struct usb_endpoint_descriptor *epwrite;
1: - struct usb_endpoint_descriptor *epread;
1: - } protocol[4];
1: - int current_protocol;
1: - int minor;
1: - int wcomplete;
1: - int rcomplete;
1: - int wstatus;
1: - int rstatus;
1: - unsigned int quirks;
1: - unsigned int flags;
1: - unsigned char used;
1: - unsigned char present;
1: - unsigned char bidir;
1: - unsigned char no_paper;
1: - unsigned char *device_id_string;
1: + struct usb_device *dev;
1: + struct mutex wmut;
1: + struct mutex mut;
1: + spinlock_t lock;
1: + char *readbuf;
1: + char *statusbuf;
1: + struct usb_anchor urbs;
1: + wait_queue_head_t rwait;
1: + wait_queue_head_t wwait;
1: + int readcount;
1: + int ifnum;
1: + struct usb_interface *intf;
1: + struct {
1: + int alt_setting;
1: + struct usb_endpoint_descriptor *epwrite;
1: + struct usb_endpoint_descriptor *epread;
1: + } protocol[4];
1: + int current_protocol;
1: + int minor;
1: + int wcomplete;
1: + int rcomplete;
1: + int wstatus;
1: + int rstatus;
1: + unsigned int quirks;
1: + unsigned int flags;
1: + unsigned char used;
1: + unsigned char present;
1: + unsigned char bidir;
1: + unsigned char no_paper;
1: + unsigned char *device_id_string;
1: };
1:
1: struct quirk_printer_struct {
1: - __u16 vendorId;
1: - __u16 productId;
1: - unsigned int quirks;
1: -};
1: -
1: -enum {
1: - US_FL_SINGLE_LUN = 1,
1: - US_FL_NEED_OVERRIDE = 2,
1: - US_FL_SCM_MULT_TARG = 4,
1: - US_FL_FIX_INQUIRY = 8,
1: - US_FL_FIX_CAPACITY = 16,
1: - US_FL_IGNORE_RESIDUE = 32,
1: - US_FL_BULK32 = 64,
1: - US_FL_NOT_LOCKABLE = 128,
1: - US_FL_GO_SLOW = 256,
1: - US_FL_NO_WP_DETECT = 512,
1: - US_FL_MAX_SECTORS_64 = 1024,
1: - US_FL_IGNORE_DEVICE = 2048,
1: - US_FL_CAPACITY_HEURISTICS = 4096,
1: - US_FL_MAX_SECTORS_MIN = 8192,
1: - US_FL_BULK_IGNORE_TAG = 16384,
1: - US_FL_SANE_SENSE = 32768,
1: - US_FL_CAPACITY_OK = 65536,
1: - US_FL_BAD_SENSE = 131072,
1: - US_FL_NO_READ_DISC_INFO = 262144,
1: - US_FL_NO_READ_CAPACITY_16 = 524288,
1: - US_FL_INITIAL_READ10 = 1048576,
1: - US_FL_WRITE_CACHE = 2097152,
1: - US_FL_NEEDS_CAP16 = 4194304,
1: - US_FL_IGNORE_UAS = 8388608,
1: - US_FL_BROKEN_FUA = 16777216,
1: - US_FL_NO_ATA_1X = 33554432,
1: - US_FL_NO_REPORT_OPCODES = 67108864,
1: - US_FL_MAX_SECTORS_240 = 134217728,
1: - US_FL_NO_REPORT_LUNS = 268435456,
1: - US_FL_ALWAYS_SYNC = 536870912,
1: + __u16 vendorId;
1: + __u16 productId;
1: + unsigned int quirks;
1: +};
1: +
1: +enum {
1: + US_FL_SINGLE_LUN = 1,
1: + US_FL_NEED_OVERRIDE = 2,
1: + US_FL_SCM_MULT_TARG = 4,
1: + US_FL_FIX_INQUIRY = 8,
1: + US_FL_FIX_CAPACITY = 16,
1: + US_FL_IGNORE_RESIDUE = 32,
1: + US_FL_BULK32 = 64,
1: + US_FL_NOT_LOCKABLE = 128,
1: + US_FL_GO_SLOW = 256,
1: + US_FL_NO_WP_DETECT = 512,
1: + US_FL_MAX_SECTORS_64 = 1024,
1: + US_FL_IGNORE_DEVICE = 2048,
1: + US_FL_CAPACITY_HEURISTICS = 4096,
1: + US_FL_MAX_SECTORS_MIN = 8192,
1: + US_FL_BULK_IGNORE_TAG = 16384,
1: + US_FL_SANE_SENSE = 32768,
1: + US_FL_CAPACITY_OK = 65536,
1: + US_FL_BAD_SENSE = 131072,
1: + US_FL_NO_READ_DISC_INFO = 262144,
1: + US_FL_NO_READ_CAPACITY_16 = 524288,
1: + US_FL_INITIAL_READ10 = 1048576,
1: + US_FL_WRITE_CACHE = 2097152,
1: + US_FL_NEEDS_CAP16 = 4194304,
1: + US_FL_IGNORE_UAS = 8388608,
1: + US_FL_BROKEN_FUA = 16777216,
1: + US_FL_NO_ATA_1X = 33554432,
1: + US_FL_NO_REPORT_OPCODES = 67108864,
1: + US_FL_MAX_SECTORS_240 = 134217728,
1: + US_FL_NO_REPORT_LUNS = 268435456,
1: + US_FL_ALWAYS_SYNC = 536870912,
1: };
1:
1: struct us_data;
1:
1: struct us_unusual_dev {
1: - const char *vendorName;
1: - const char *productName;
1: - __u8 useProtocol;
1: - __u8 useTransport;
1: - int (*initFunction)(struct us_data *);
1: + const char *vendorName;
1: + const char *productName;
1: + __u8 useProtocol;
1: + __u8 useTransport;
1: + int (*initFunction)(struct us_data *);
1: };
1:
1: typedef int (*trans_cmnd)(struct scsi_cmnd *, struct us_data *);
1: @@ -90879,96 +91522,96 @@ typedef void (*extra_data_destructor)(void *);
1: typedef void (*pm_hook)(struct us_data *, int);
1:
1: struct us_data {
1: - struct mutex dev_mutex;
1: - struct usb_device *pusb_dev;
1: - struct usb_interface *pusb_intf;
1: - struct us_unusual_dev *unusual_dev;
1: - long unsigned int fflags;
1: - long unsigned int dflags;
1: - unsigned int send_bulk_pipe;
1: - unsigned int recv_bulk_pipe;
1: - unsigned int send_ctrl_pipe;
1: - unsigned int recv_ctrl_pipe;
1: - unsigned int recv_intr_pipe;
1: - char *transport_name;
1: - char *protocol_name;
1: - __le32 bcs_signature;
1: - u8 subclass;
1: - u8 protocol;
1: - u8 max_lun;
1: - u8 ifnum;
1: - u8 ep_bInterval;
1: - trans_cmnd transport;
1: - trans_reset transport_reset;
1: - proto_cmnd proto_handler;
1: - struct scsi_cmnd *srb;
1: - unsigned int tag;
1: - char scsi_name[32];
1: - struct urb *current_urb;
1: - struct usb_ctrlrequest *cr;
1: - struct usb_sg_request current_sg;
1: - unsigned char *iobuf;
1: - dma_addr_t iobuf_dma;
1: - struct task_struct *ctl_thread;
1: - struct completion cmnd_ready;
1: - struct completion notify;
1: - wait_queue_head_t delay_wait;
1: - struct delayed_work scan_dwork;
1: - void *extra;
1: - extra_data_destructor extra_destructor;
1: - pm_hook suspend_resume_hook;
1: - int use_last_sector_hacks;
1: - int last_sector_retries;
1: + struct mutex dev_mutex;
1: + struct usb_device *pusb_dev;
1: + struct usb_interface *pusb_intf;
1: + struct us_unusual_dev *unusual_dev;
1: + long unsigned int fflags;
1: + long unsigned int dflags;
1: + unsigned int send_bulk_pipe;
1: + unsigned int recv_bulk_pipe;
1: + unsigned int send_ctrl_pipe;
1: + unsigned int recv_ctrl_pipe;
1: + unsigned int recv_intr_pipe;
1: + char *transport_name;
1: + char *protocol_name;
1: + __le32 bcs_signature;
1: + u8 subclass;
1: + u8 protocol;
1: + u8 max_lun;
1: + u8 ifnum;
1: + u8 ep_bInterval;
1: + trans_cmnd transport;
1: + trans_reset transport_reset;
1: + proto_cmnd proto_handler;
1: + struct scsi_cmnd *srb;
1: + unsigned int tag;
1: + char scsi_name[32];
1: + struct urb *current_urb;
1: + struct usb_ctrlrequest *cr;
1: + struct usb_sg_request current_sg;
1: + unsigned char *iobuf;
1: + dma_addr_t iobuf_dma;
1: + struct task_struct *ctl_thread;
1: + struct completion cmnd_ready;
1: + struct completion notify;
1: + wait_queue_head_t delay_wait;
1: + struct delayed_work scan_dwork;
1: + void *extra;
1: + extra_data_destructor extra_destructor;
1: + pm_hook suspend_resume_hook;
1: + int use_last_sector_hacks;
1: + int last_sector_retries;
1: };
1:
1: enum xfer_buf_dir {
1: - TO_XFER_BUF = 0,
1: - FROM_XFER_BUF = 1,
1: + TO_XFER_BUF = 0,
1: + FROM_XFER_BUF = 1,
1: };
1:
1: struct bulk_cb_wrap {
1: - __le32 Signature;
1: - __u32 Tag;
1: - __le32 DataTransferLength;
1: - __u8 Flags;
1: - __u8 Lun;
1: - __u8 Length;
1: - __u8 CDB[16];
1: + __le32 Signature;
1: + __u32 Tag;
1: + __le32 DataTransferLength;
1: + __u8 Flags;
1: + __u8 Lun;
1: + __u8 Length;
1: + __u8 CDB[16];
1: };
1:
1: struct bulk_cs_wrap {
1: - __le32 Signature;
1: - __u32 Tag;
1: - __le32 Residue;
1: - __u8 Status;
1: + __le32 Signature;
1: + __u32 Tag;
1: + __le32 Residue;
1: + __u8 Status;
1: };
1:
1: struct swoc_info {
1: - __u8 rev;
1: - __u8 reserved[8];
1: - __u16 LinuxSKU;
1: - __u16 LinuxVer;
1: - __u8 reserved2[47];
1: + __u8 rev;
1: + __u8 reserved[8];
1: + __u16 LinuxSKU;
1: + __u16 LinuxVer;
1: + __u8 reserved2[47];
1: } __attribute__((packed));
1:
1: struct ignore_entry {
1: - u16 vid;
1: - u16 pid;
1: - u16 bcdmin;
1: - u16 bcdmax;
1: + u16 vid;
1: + u16 pid;
1: + u16 bcdmin;
1: + u16 bcdmax;
1: };
1:
1: struct usb_debug_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __u8 bDebugInEndpoint;
1: - __u8 bDebugOutEndpoint;
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __u8 bDebugInEndpoint;
1: + __u8 bDebugOutEndpoint;
1: };
1:
1: struct ehci_dev {
1: - u32 bus;
1: - u32 slot;
1: - u32 func;
1: + u32 bus;
1: + u32 slot;
1: + u32 func;
1: };
1:
1: typedef void (*set_debug_port_t)(int);
1: @@ -90976,821 +91619,821 @@ typedef void (*set_debug_port_t)(int);
1: struct usb_hcd___2;
1:
1: struct serio_device_id {
1: - __u8 type;
1: - __u8 extra;
1: - __u8 id;
1: - __u8 proto;
1: + __u8 type;
1: + __u8 extra;
1: + __u8 id;
1: + __u8 proto;
1: };
1:
1: struct serio_driver;
1:
1: struct serio {
1: - void *port_data;
1: - char name[32];
1: - char phys[32];
1: - char firmware_id[128];
1: - bool manual_bind;
1: - struct serio_device_id id;
1: - spinlock_t lock;
1: - int (*write)(struct serio *, unsigned char);
1: - int (*open)(struct serio *);
1: - void (*close)(struct serio *);
1: - int (*start)(struct serio *);
1: - void (*stop)(struct serio *);
1: - struct serio *parent;
1: - struct list_head child_node;
1: - struct list_head children;
1: - unsigned int depth;
1: - struct serio_driver *drv;
1: - struct mutex drv_mutex;
1: - struct device dev;
1: - struct list_head node;
1: - struct mutex *ps2_cmd_mutex;
1: + void *port_data;
1: + char name[32];
1: + char phys[32];
1: + char firmware_id[128];
1: + bool manual_bind;
1: + struct serio_device_id id;
1: + spinlock_t lock;
1: + int (*write)(struct serio *, unsigned char);
1: + int (*open)(struct serio *);
1: + void (*close)(struct serio *);
1: + int (*start)(struct serio *);
1: + void (*stop)(struct serio *);
1: + struct serio *parent;
1: + struct list_head child_node;
1: + struct list_head children;
1: + unsigned int depth;
1: + struct serio_driver *drv;
1: + struct mutex drv_mutex;
1: + struct device dev;
1: + struct list_head node;
1: + struct mutex *ps2_cmd_mutex;
1: };
1:
1: struct serio_driver {
1: - const char *description;
1: - const struct serio_device_id *id_table;
1: - bool manual_bind;
1: - void (*write_wakeup)(struct serio *);
1: - irqreturn_t (*interrupt)(struct serio *, unsigned char, unsigned int);
1: - int (*connect)(struct serio *, struct serio_driver *);
1: - int (*reconnect)(struct serio *);
1: - int (*fast_reconnect)(struct serio *);
1: - void (*disconnect)(struct serio *);
1: - void (*cleanup)(struct serio *);
1: - struct device_driver driver;
1: + const char *description;
1: + const struct serio_device_id *id_table;
1: + bool manual_bind;
1: + void (*write_wakeup)(struct serio *);
1: + irqreturn_t (*interrupt)(struct serio *, unsigned char, unsigned int);
1: + int (*connect)(struct serio *, struct serio_driver *);
1: + int (*reconnect)(struct serio *);
1: + int (*fast_reconnect)(struct serio *);
1: + void (*disconnect)(struct serio *);
1: + void (*cleanup)(struct serio *);
1: + struct device_driver driver;
1: };
1:
1: enum serio_event_type {
1: - SERIO_RESCAN_PORT = 0,
1: - SERIO_RECONNECT_PORT = 1,
1: - SERIO_RECONNECT_SUBTREE = 2,
1: - SERIO_REGISTER_PORT = 3,
1: - SERIO_ATTACH_DRIVER = 4,
1: + SERIO_RESCAN_PORT = 0,
1: + SERIO_RECONNECT_PORT = 1,
1: + SERIO_RECONNECT_SUBTREE = 2,
1: + SERIO_REGISTER_PORT = 3,
1: + SERIO_ATTACH_DRIVER = 4,
1: };
1:
1: struct serio_event {
1: - enum serio_event_type type;
1: - void *object;
1: - struct module *owner;
1: - struct list_head node;
1: + enum serio_event_type type;
1: + void *object;
1: + struct module *owner;
1: + struct list_head node;
1: };
1:
1: enum i8042_controller_reset_mode {
1: - I8042_RESET_NEVER = 0,
1: - I8042_RESET_ALWAYS = 1,
1: - I8042_RESET_ON_S2RAM = 2,
1: + I8042_RESET_NEVER = 0,
1: + I8042_RESET_ALWAYS = 1,
1: + I8042_RESET_ON_S2RAM = 2,
1: };
1:
1: struct i8042_port {
1: - struct serio *serio;
1: - int irq;
1: - bool exists;
1: - bool driver_bound;
1: - signed char mux;
1: + struct serio *serio;
1: + int irq;
1: + bool exists;
1: + bool driver_bound;
1: + signed char mux;
1: };
1:
1: struct serport {
1: - struct tty_struct *tty;
1: - wait_queue_head_t wait;
1: - struct serio *serio;
1: - struct serio_device_id id;
1: - spinlock_t lock;
1: - long unsigned int flags;
1: + struct tty_struct *tty;
1: + wait_queue_head_t wait;
1: + struct serio *serio;
1: + struct serio_device_id id;
1: + spinlock_t lock;
1: + long unsigned int flags;
1: };
1:
1: struct ps2dev {
1: - struct serio *serio;
1: - struct mutex cmd_mutex;
1: - wait_queue_head_t wait;
1: - long unsigned int flags;
1: - u8 cmdbuf[8];
1: - u8 cmdcnt;
1: - u8 nak;
1: + struct serio *serio;
1: + struct mutex cmd_mutex;
1: + wait_queue_head_t wait;
1: + long unsigned int flags;
1: + u8 cmdbuf[8];
1: + u8 cmdcnt;
1: + u8 nak;
1: };
1:
1: struct input_mt_slot {
1: - int abs[14];
1: - unsigned int frame;
1: - unsigned int key;
1: + int abs[14];
1: + unsigned int frame;
1: + unsigned int key;
1: };
1:
1: struct input_mt {
1: - int trkid;
1: - int num_slots;
1: - int slot;
1: - unsigned int flags;
1: - unsigned int frame;
1: - int *red;
1: - struct input_mt_slot slots[0];
1: + int trkid;
1: + int num_slots;
1: + int slot;
1: + unsigned int flags;
1: + unsigned int frame;
1: + int *red;
1: + struct input_mt_slot slots[0];
1: };
1:
1: union input_seq_state {
1: - struct {
1: - short unsigned int pos;
1: - bool mutex_acquired;
1: - };
1: - void *p;
1: + struct {
1: + short unsigned int pos;
1: + bool mutex_acquired;
1: + };
1: + void *p;
1: };
1:
1: struct input_devres {
1: - struct input_dev *input;
1: + struct input_dev *input;
1: };
1:
1: struct input_event {
1: - __kernel_ulong_t __sec;
1: - __kernel_ulong_t __usec;
1: - __u16 type;
1: - __u16 code;
1: - __s32 value;
1: + __kernel_ulong_t __sec;
1: + __kernel_ulong_t __usec;
1: + __u16 type;
1: + __u16 code;
1: + __s32 value;
1: };
1:
1: struct input_event_compat {
1: - compat_ulong_t sec;
1: - compat_ulong_t usec;
1: - __u16 type;
1: - __u16 code;
1: - __s32 value;
1: + compat_ulong_t sec;
1: + compat_ulong_t usec;
1: + __u16 type;
1: + __u16 code;
1: + __s32 value;
1: };
1:
1: struct ff_periodic_effect_compat {
1: - __u16 waveform;
1: - __u16 period;
1: - __s16 magnitude;
1: - __s16 offset;
1: - __u16 phase;
1: - struct ff_envelope envelope;
1: - __u32 custom_len;
1: - compat_uptr_t custom_data;
1: + __u16 waveform;
1: + __u16 period;
1: + __s16 magnitude;
1: + __s16 offset;
1: + __u16 phase;
1: + struct ff_envelope envelope;
1: + __u32 custom_len;
1: + compat_uptr_t custom_data;
1: };
1:
1: struct ff_effect_compat {
1: - __u16 type;
1: - __s16 id;
1: - __u16 direction;
1: - struct ff_trigger trigger;
1: - struct ff_replay replay;
1: - union {
1: - struct ff_constant_effect constant;
1: - struct ff_ramp_effect ramp;
1: - struct ff_periodic_effect_compat periodic;
1: - struct ff_condition_effect condition[2];
1: - struct ff_rumble_effect rumble;
1: - } u;
1: + __u16 type;
1: + __s16 id;
1: + __u16 direction;
1: + struct ff_trigger trigger;
1: + struct ff_replay replay;
1: + union {
1: + struct ff_constant_effect constant;
1: + struct ff_ramp_effect ramp;
1: + struct ff_periodic_effect_compat periodic;
1: + struct ff_condition_effect condition[2];
1: + struct ff_rumble_effect rumble;
1: + } u;
1: };
1:
1: struct input_mt_pos {
1: - s16 x;
1: - s16 y;
1: + s16 x;
1: + s16 y;
1: };
1:
1: struct input_dev_poller {
1: - void (*poll)(struct input_dev *);
1: - unsigned int poll_interval;
1: - unsigned int poll_interval_max;
1: - unsigned int poll_interval_min;
1: - struct input_dev *input;
1: - struct delayed_work work;
1: + void (*poll)(struct input_dev *);
1: + unsigned int poll_interval;
1: + unsigned int poll_interval_max;
1: + unsigned int poll_interval_min;
1: + struct input_dev *input;
1: + struct delayed_work work;
1: };
1:
1: struct ml_effect_state {
1: - struct ff_effect *effect;
1: - long unsigned int flags;
1: - int count;
1: - long unsigned int play_at;
1: - long unsigned int stop_at;
1: - long unsigned int adj_at;
1: + struct ff_effect *effect;
1: + long unsigned int flags;
1: + int count;
1: + long unsigned int play_at;
1: + long unsigned int stop_at;
1: + long unsigned int adj_at;
1: };
1:
1: struct ml_device {
1: - void *private;
1: - struct ml_effect_state states[16];
1: - int gain;
1: - struct timer_list timer;
1: - struct input_dev *dev;
1: - int (*play_effect)(struct input_dev *, void *, struct ff_effect *);
1: + void *private;
1: + struct ml_effect_state states[16];
1: + int gain;
1: + struct timer_list timer;
1: + struct input_dev *dev;
1: + int (*play_effect)(struct input_dev *, void *, struct ff_effect *);
1: };
1:
1: struct input_polled_dev {
1: - void *private;
1: - void (*open)(struct input_polled_dev *);
1: - void (*close)(struct input_polled_dev *);
1: - void (*poll)(struct input_polled_dev *);
1: - unsigned int poll_interval;
1: - unsigned int poll_interval_max;
1: - unsigned int poll_interval_min;
1: - struct input_dev *input;
1: - struct delayed_work work;
1: - bool devres_managed;
1: + void *private;
1: + void (*open)(struct input_polled_dev *);
1: + void (*close)(struct input_polled_dev *);
1: + void (*poll)(struct input_polled_dev *);
1: + unsigned int poll_interval;
1: + unsigned int poll_interval_max;
1: + unsigned int poll_interval_min;
1: + struct input_dev *input;
1: + struct delayed_work work;
1: + bool devres_managed;
1: };
1:
1: struct input_polled_devres {
1: - struct input_polled_dev *polldev;
1: + struct input_polled_dev *polldev;
1: };
1:
1: struct key_entry {
1: - int type;
1: - u32 code;
1: - union {
1: - u16 keycode;
1: - struct {
1: - u8 code;
1: - u8 value;
1: - } sw;
1: - };
1: + int type;
1: + u32 code;
1: + union {
1: + u16 keycode;
1: + struct {
1: + u8 code;
1: + u8 value;
1: + } sw;
1: + };
1: };
1:
1: struct led_init_data {
1: - struct fwnode_handle *fwnode;
1: - const char *default_label;
1: - const char *devicename;
1: - bool devname_mandatory;
1: + struct fwnode_handle *fwnode;
1: + const char *default_label;
1: + const char *devicename;
1: + bool devname_mandatory;
1: };
1:
1: struct input_led {
1: - struct led_classdev cdev;
1: - struct input_handle *handle;
1: - unsigned int code;
1: + struct led_classdev cdev;
1: + struct input_handle *handle;
1: + unsigned int code;
1: };
1:
1: struct input_leds {
1: - struct input_handle handle;
1: - unsigned int num_leds;
1: - struct input_led leds[0];
1: + struct input_handle handle;
1: + unsigned int num_leds;
1: + struct input_led leds[0];
1: };
1:
1: struct input_mask {
1: - __u32 type;
1: - __u32 codes_size;
1: - __u64 codes_ptr;
1: + __u32 type;
1: + __u32 codes_size;
1: + __u64 codes_ptr;
1: };
1:
1: struct evdev_client;
1:
1: struct evdev {
1: - int open;
1: - struct input_handle handle;
1: - wait_queue_head_t wait;
1: - struct evdev_client *grab;
1: - struct list_head client_list;
1: - spinlock_t client_lock;
1: - struct mutex mutex;
1: - struct device dev;
1: - struct cdev cdev;
1: - bool exist;
1: + int open;
1: + struct input_handle handle;
1: + wait_queue_head_t wait;
1: + struct evdev_client *grab;
1: + struct list_head client_list;
1: + spinlock_t client_lock;
1: + struct mutex mutex;
1: + struct device dev;
1: + struct cdev cdev;
1: + bool exist;
1: };
1:
1: struct evdev_client {
1: - unsigned int head;
1: - unsigned int tail;
1: - unsigned int packet_head;
1: - spinlock_t buffer_lock;
1: - struct fasync_struct *fasync;
1: - struct evdev *evdev;
1: - struct list_head node;
1: - enum input_clock_type clk_type;
1: - bool revoked;
1: - long unsigned int *evmasks[32];
1: - unsigned int bufsize;
1: - struct input_event buffer[0];
1: + unsigned int head;
1: + unsigned int tail;
1: + unsigned int packet_head;
1: + spinlock_t buffer_lock;
1: + struct fasync_struct *fasync;
1: + struct evdev *evdev;
1: + struct list_head node;
1: + enum input_clock_type clk_type;
1: + bool revoked;
1: + long unsigned int *evmasks[32];
1: + unsigned int bufsize;
1: + struct input_event buffer[0];
1: };
1:
1: struct atkbd {
1: - struct ps2dev ps2dev;
1: - struct input_dev *dev;
1: - char name[64];
1: - char phys[32];
1: - short unsigned int id;
1: - short unsigned int keycode[512];
1: - long unsigned int force_release_mask[8];
1: - unsigned char set;
1: - bool translated;
1: - bool extra;
1: - bool write;
1: - bool softrepeat;
1: - bool softraw;
1: - bool scroll;
1: - bool enabled;
1: - unsigned char emul;
1: - bool resend;
1: - bool release;
1: - long unsigned int xl_bit;
1: - unsigned int last;
1: - long unsigned int time;
1: - long unsigned int err_count;
1: - struct delayed_work event_work;
1: - long unsigned int event_jiffies;
1: - long unsigned int event_mask;
1: - struct mutex mutex;
1: + struct ps2dev ps2dev;
1: + struct input_dev *dev;
1: + char name[64];
1: + char phys[32];
1: + short unsigned int id;
1: + short unsigned int keycode[512];
1: + long unsigned int force_release_mask[8];
1: + unsigned char set;
1: + bool translated;
1: + bool extra;
1: + bool write;
1: + bool softrepeat;
1: + bool softraw;
1: + bool scroll;
1: + bool enabled;
1: + unsigned char emul;
1: + bool resend;
1: + bool release;
1: + long unsigned int xl_bit;
1: + unsigned int last;
1: + long unsigned int time;
1: + long unsigned int err_count;
1: + struct delayed_work event_work;
1: + long unsigned int event_jiffies;
1: + long unsigned int event_mask;
1: + struct mutex mutex;
1: };
1:
1: enum psmouse_state {
1: - PSMOUSE_IGNORE = 0,
1: - PSMOUSE_INITIALIZING = 1,
1: - PSMOUSE_RESYNCING = 2,
1: - PSMOUSE_CMD_MODE = 3,
1: - PSMOUSE_ACTIVATED = 4,
1: + PSMOUSE_IGNORE = 0,
1: + PSMOUSE_INITIALIZING = 1,
1: + PSMOUSE_RESYNCING = 2,
1: + PSMOUSE_CMD_MODE = 3,
1: + PSMOUSE_ACTIVATED = 4,
1: };
1:
1: typedef enum {
1: - PSMOUSE_BAD_DATA = 0,
1: - PSMOUSE_GOOD_DATA = 1,
1: - PSMOUSE_FULL_PACKET = 2,
1: + PSMOUSE_BAD_DATA = 0,
1: + PSMOUSE_GOOD_DATA = 1,
1: + PSMOUSE_FULL_PACKET = 2,
1: } psmouse_ret_t;
1:
1: enum psmouse_scale {
1: - PSMOUSE_SCALE11 = 0,
1: - PSMOUSE_SCALE21 = 1,
1: + PSMOUSE_SCALE11 = 0,
1: + PSMOUSE_SCALE21 = 1,
1: };
1:
1: enum psmouse_type {
1: - PSMOUSE_NONE = 0,
1: - PSMOUSE_PS2 = 1,
1: - PSMOUSE_PS2PP = 2,
1: - PSMOUSE_THINKPS = 3,
1: - PSMOUSE_GENPS = 4,
1: - PSMOUSE_IMPS = 5,
1: - PSMOUSE_IMEX = 6,
1: - PSMOUSE_SYNAPTICS = 7,
1: - PSMOUSE_ALPS = 8,
1: - PSMOUSE_LIFEBOOK = 9,
1: - PSMOUSE_TRACKPOINT = 10,
1: - PSMOUSE_TOUCHKIT_PS2 = 11,
1: - PSMOUSE_CORTRON = 12,
1: - PSMOUSE_HGPK = 13,
1: - PSMOUSE_ELANTECH = 14,
1: - PSMOUSE_FSP = 15,
1: - PSMOUSE_SYNAPTICS_RELATIVE = 16,
1: - PSMOUSE_CYPRESS = 17,
1: - PSMOUSE_FOCALTECH = 18,
1: - PSMOUSE_VMMOUSE = 19,
1: - PSMOUSE_BYD = 20,
1: - PSMOUSE_SYNAPTICS_SMBUS = 21,
1: - PSMOUSE_ELANTECH_SMBUS = 22,
1: - PSMOUSE_AUTO = 23,
1: + PSMOUSE_NONE = 0,
1: + PSMOUSE_PS2 = 1,
1: + PSMOUSE_PS2PP = 2,
1: + PSMOUSE_THINKPS = 3,
1: + PSMOUSE_GENPS = 4,
1: + PSMOUSE_IMPS = 5,
1: + PSMOUSE_IMEX = 6,
1: + PSMOUSE_SYNAPTICS = 7,
1: + PSMOUSE_ALPS = 8,
1: + PSMOUSE_LIFEBOOK = 9,
1: + PSMOUSE_TRACKPOINT = 10,
1: + PSMOUSE_TOUCHKIT_PS2 = 11,
1: + PSMOUSE_CORTRON = 12,
1: + PSMOUSE_HGPK = 13,
1: + PSMOUSE_ELANTECH = 14,
1: + PSMOUSE_FSP = 15,
1: + PSMOUSE_SYNAPTICS_RELATIVE = 16,
1: + PSMOUSE_CYPRESS = 17,
1: + PSMOUSE_FOCALTECH = 18,
1: + PSMOUSE_VMMOUSE = 19,
1: + PSMOUSE_BYD = 20,
1: + PSMOUSE_SYNAPTICS_SMBUS = 21,
1: + PSMOUSE_ELANTECH_SMBUS = 22,
1: + PSMOUSE_AUTO = 23,
1: };
1:
1: struct psmouse;
1:
1: struct psmouse_protocol {
1: - enum psmouse_type type;
1: - bool maxproto;
1: - bool ignore_parity;
1: - bool try_passthru;
1: - bool smbus_companion;
1: - const char *name;
1: - const char *alias;
1: - int (*detect)(struct psmouse *, bool);
1: - int (*init)(struct psmouse *);
1: + enum psmouse_type type;
1: + bool maxproto;
1: + bool ignore_parity;
1: + bool try_passthru;
1: + bool smbus_companion;
1: + const char *name;
1: + const char *alias;
1: + int (*detect)(struct psmouse *, bool);
1: + int (*init)(struct psmouse *);
1: };
1:
1: struct psmouse {
1: - void *private;
1: - struct input_dev *dev;
1: - struct ps2dev ps2dev;
1: - struct delayed_work resync_work;
1: - const char *vendor;
1: - const char *name;
1: - const struct psmouse_protocol *protocol;
1: - unsigned char packet[8];
1: - unsigned char badbyte;
1: - unsigned char pktcnt;
1: - unsigned char pktsize;
1: - unsigned char oob_data_type;
1: - unsigned char extra_buttons;
1: - bool acks_disable_command;
1: - unsigned int model;
1: - long unsigned int last;
1: - long unsigned int out_of_sync_cnt;
1: - long unsigned int num_resyncs;
1: - enum psmouse_state state;
1: - char devname[64];
1: - char phys[32];
1: - unsigned int rate;
1: - unsigned int resolution;
1: - unsigned int resetafter;
1: - unsigned int resync_time;
1: - bool smartscroll;
1: - psmouse_ret_t (*protocol_handler)(struct psmouse *);
1: - void (*set_rate)(struct psmouse *, unsigned int);
1: - void (*set_resolution)(struct psmouse *, unsigned int);
1: - void (*set_scale)(struct psmouse *, enum psmouse_scale);
1: - int (*reconnect)(struct psmouse *);
1: - int (*fast_reconnect)(struct psmouse *);
1: - void (*disconnect)(struct psmouse *);
1: - void (*cleanup)(struct psmouse *);
1: - int (*poll)(struct psmouse *);
1: - void (*pt_activate)(struct psmouse *);
1: - void (*pt_deactivate)(struct psmouse *);
1: + void *private;
1: + struct input_dev *dev;
1: + struct ps2dev ps2dev;
1: + struct delayed_work resync_work;
1: + const char *vendor;
1: + const char *name;
1: + const struct psmouse_protocol *protocol;
1: + unsigned char packet[8];
1: + unsigned char badbyte;
1: + unsigned char pktcnt;
1: + unsigned char pktsize;
1: + unsigned char oob_data_type;
1: + unsigned char extra_buttons;
1: + bool acks_disable_command;
1: + unsigned int model;
1: + long unsigned int last;
1: + long unsigned int out_of_sync_cnt;
1: + long unsigned int num_resyncs;
1: + enum psmouse_state state;
1: + char devname[64];
1: + char phys[32];
1: + unsigned int rate;
1: + unsigned int resolution;
1: + unsigned int resetafter;
1: + unsigned int resync_time;
1: + bool smartscroll;
1: + psmouse_ret_t (*protocol_handler)(struct psmouse *);
1: + void (*set_rate)(struct psmouse *, unsigned int);
1: + void (*set_resolution)(struct psmouse *, unsigned int);
1: + void (*set_scale)(struct psmouse *, enum psmouse_scale);
1: + int (*reconnect)(struct psmouse *);
1: + int (*fast_reconnect)(struct psmouse *);
1: + void (*disconnect)(struct psmouse *);
1: + void (*cleanup)(struct psmouse *);
1: + int (*poll)(struct psmouse *);
1: + void (*pt_activate)(struct psmouse *);
1: + void (*pt_deactivate)(struct psmouse *);
1: };
1:
1: struct psmouse_attribute {
1: - struct device_attribute dattr;
1: - void *data;
1: - ssize_t (*show)(struct psmouse *, void *, char *);
1: - ssize_t (*set)(struct psmouse *, void *, const char *, size_t);
1: - bool protect;
1: + struct device_attribute dattr;
1: + void *data;
1: + ssize_t (*show)(struct psmouse *, void *, char *);
1: + ssize_t (*set)(struct psmouse *, void *, const char *, size_t);
1: + bool protect;
1: };
1:
1: struct rmi_2d_axis_alignment {
1: - bool swap_axes;
1: - bool flip_x;
1: - bool flip_y;
1: - u16 clip_x_low;
1: - u16 clip_y_low;
1: - u16 clip_x_high;
1: - u16 clip_y_high;
1: - u16 offset_x;
1: - u16 offset_y;
1: - u8 delta_x_threshold;
1: - u8 delta_y_threshold;
1: + bool swap_axes;
1: + bool flip_x;
1: + bool flip_y;
1: + u16 clip_x_low;
1: + u16 clip_y_low;
1: + u16 clip_x_high;
1: + u16 clip_y_high;
1: + u16 offset_x;
1: + u16 offset_y;
1: + u8 delta_x_threshold;
1: + u8 delta_y_threshold;
1: };
1:
1: enum rmi_sensor_type {
1: - rmi_sensor_default = 0,
1: - rmi_sensor_touchscreen = 1,
1: - rmi_sensor_touchpad = 2,
1: + rmi_sensor_default = 0,
1: + rmi_sensor_touchscreen = 1,
1: + rmi_sensor_touchpad = 2,
1: };
1:
1: struct rmi_2d_sensor_platform_data {
1: - struct rmi_2d_axis_alignment axis_align;
1: - enum rmi_sensor_type sensor_type;
1: - int x_mm;
1: - int y_mm;
1: - int disable_report_mask;
1: - u16 rezero_wait;
1: - bool topbuttonpad;
1: - bool kernel_tracking;
1: - int dmax;
1: - int dribble;
1: - int palm_detect;
1: + struct rmi_2d_axis_alignment axis_align;
1: + enum rmi_sensor_type sensor_type;
1: + int x_mm;
1: + int y_mm;
1: + int disable_report_mask;
1: + u16 rezero_wait;
1: + bool topbuttonpad;
1: + bool kernel_tracking;
1: + int dmax;
1: + int dribble;
1: + int palm_detect;
1: };
1:
1: struct rmi_f30_data {
1: - bool buttonpad;
1: - bool trackstick_buttons;
1: - bool disable;
1: + bool buttonpad;
1: + bool trackstick_buttons;
1: + bool disable;
1: };
1:
1: enum rmi_reg_state {
1: - RMI_REG_STATE_DEFAULT = 0,
1: - RMI_REG_STATE_OFF = 1,
1: - RMI_REG_STATE_ON = 2,
1: + RMI_REG_STATE_DEFAULT = 0,
1: + RMI_REG_STATE_OFF = 1,
1: + RMI_REG_STATE_ON = 2,
1: };
1:
1: struct rmi_f01_power_management {
1: - enum rmi_reg_state nosleep;
1: - u8 wakeup_threshold;
1: - u8 doze_holdoff;
1: - u8 doze_interval;
1: + enum rmi_reg_state nosleep;
1: + u8 wakeup_threshold;
1: + u8 doze_holdoff;
1: + u8 doze_interval;
1: };
1:
1: struct rmi_device_platform_data_spi {
1: - u32 block_delay_us;
1: - u32 split_read_block_delay_us;
1: - u32 read_delay_us;
1: - u32 write_delay_us;
1: - u32 split_read_byte_delay_us;
1: - u32 pre_delay_us;
1: - u32 post_delay_us;
1: - u8 bits_per_word;
1: - u16 mode;
1: - void *cs_assert_data;
1: - int (*cs_assert)(const void *, const bool);
1: + u32 block_delay_us;
1: + u32 split_read_block_delay_us;
1: + u32 read_delay_us;
1: + u32 write_delay_us;
1: + u32 split_read_byte_delay_us;
1: + u32 pre_delay_us;
1: + u32 post_delay_us;
1: + u8 bits_per_word;
1: + u16 mode;
1: + void *cs_assert_data;
1: + int (*cs_assert)(const void *, const bool);
1: };
1:
1: struct rmi_device_platform_data {
1: - int reset_delay_ms;
1: - int irq;
1: - struct rmi_device_platform_data_spi spi_data;
1: - struct rmi_2d_sensor_platform_data sensor_pdata;
1: - struct rmi_f01_power_management power_management;
1: - struct rmi_f30_data f30_data;
1: + int reset_delay_ms;
1: + int irq;
1: + struct rmi_device_platform_data_spi spi_data;
1: + struct rmi_2d_sensor_platform_data sensor_pdata;
1: + struct rmi_f01_power_management power_management;
1: + struct rmi_f30_data f30_data;
1: };
1:
1: enum synaptics_pkt_type {
1: - SYN_NEWABS = 0,
1: - SYN_NEWABS_STRICT = 1,
1: - SYN_NEWABS_RELAXED = 2,
1: - SYN_OLDABS = 3,
1: + SYN_NEWABS = 0,
1: + SYN_NEWABS_STRICT = 1,
1: + SYN_NEWABS_RELAXED = 2,
1: + SYN_OLDABS = 3,
1: };
1:
1: struct synaptics_hw_state {
1: - int x;
1: - int y;
1: - int z;
1: - int w;
1: - unsigned int left: 1;
1: - unsigned int right: 1;
1: - unsigned int middle: 1;
1: - unsigned int up: 1;
1: - unsigned int down: 1;
1: - u8 ext_buttons;
1: - s8 scroll;
1: + int x;
1: + int y;
1: + int z;
1: + int w;
1: + unsigned int left : 1;
1: + unsigned int right : 1;
1: + unsigned int middle : 1;
1: + unsigned int up : 1;
1: + unsigned int down : 1;
1: + u8 ext_buttons;
1: + s8 scroll;
1: };
1:
1: struct synaptics_device_info {
1: - u32 model_id;
1: - u32 firmware_id;
1: - u32 board_id;
1: - u32 capabilities;
1: - u32 ext_cap;
1: - u32 ext_cap_0c;
1: - u32 ext_cap_10;
1: - u32 identity;
1: - u32 x_res;
1: - u32 y_res;
1: - u32 x_max;
1: - u32 y_max;
1: - u32 x_min;
1: - u32 y_min;
1: + u32 model_id;
1: + u32 firmware_id;
1: + u32 board_id;
1: + u32 capabilities;
1: + u32 ext_cap;
1: + u32 ext_cap_0c;
1: + u32 ext_cap_10;
1: + u32 identity;
1: + u32 x_res;
1: + u32 y_res;
1: + u32 x_max;
1: + u32 y_max;
1: + u32 x_min;
1: + u32 y_min;
1: };
1:
1: struct synaptics_data {
1: - struct synaptics_device_info info;
1: - enum synaptics_pkt_type pkt_type;
1: - u8 mode;
1: - int scroll;
1: - bool absolute_mode;
1: - bool disable_gesture;
1: - struct serio *pt_port;
1: - struct synaptics_hw_state agm;
1: - unsigned int agm_count;
1: - long unsigned int press_start;
1: - bool press;
1: - bool report_press;
1: - bool is_forcepad;
1: + struct synaptics_device_info info;
1: + enum synaptics_pkt_type pkt_type;
1: + u8 mode;
1: + int scroll;
1: + bool absolute_mode;
1: + bool disable_gesture;
1: + struct serio *pt_port;
1: + struct synaptics_hw_state agm;
1: + unsigned int agm_count;
1: + long unsigned int press_start;
1: + bool press;
1: + bool report_press;
1: + bool is_forcepad;
1: };
1:
1: struct min_max_quirk {
1: - const char * const *pnp_ids;
1: - struct {
1: - u32 min;
1: - u32 max;
1: - } board_id;
1: - u32 x_min;
1: - u32 x_max;
1: - u32 y_min;
1: - u32 y_max;
1: + const char *const *pnp_ids;
1: + struct {
1: + u32 min;
1: + u32 max;
1: + } board_id;
1: + u32 x_min;
1: + u32 x_max;
1: + u32 y_min;
1: + u32 y_max;
1: };
1:
1: enum {
1: - SYNAPTICS_INTERTOUCH_NOT_SET = -1,
1: - SYNAPTICS_INTERTOUCH_OFF = 0,
1: - SYNAPTICS_INTERTOUCH_ON = 1,
1: + SYNAPTICS_INTERTOUCH_NOT_SET = -1,
1: + SYNAPTICS_INTERTOUCH_OFF = 0,
1: + SYNAPTICS_INTERTOUCH_ON = 1,
1: };
1:
1: struct focaltech_finger_state {
1: - bool active;
1: - bool valid;
1: - unsigned int x;
1: - unsigned int y;
1: + bool active;
1: + bool valid;
1: + unsigned int x;
1: + unsigned int y;
1: };
1:
1: struct focaltech_hw_state {
1: - struct focaltech_finger_state fingers[5];
1: - unsigned int width;
1: - bool pressed;
1: + struct focaltech_finger_state fingers[5];
1: + unsigned int width;
1: + bool pressed;
1: };
1:
1: struct focaltech_data {
1: - unsigned int x_max;
1: - unsigned int y_max;
1: - struct focaltech_hw_state state;
1: + unsigned int x_max;
1: + unsigned int y_max;
1: + struct focaltech_hw_state state;
1: };
1:
1: enum SS4_PACKET_ID {
1: - SS4_PACKET_ID_IDLE = 0,
1: - SS4_PACKET_ID_ONE = 1,
1: - SS4_PACKET_ID_TWO = 2,
1: - SS4_PACKET_ID_MULTI = 3,
1: - SS4_PACKET_ID_STICK = 4,
1: + SS4_PACKET_ID_IDLE = 0,
1: + SS4_PACKET_ID_ONE = 1,
1: + SS4_PACKET_ID_TWO = 2,
1: + SS4_PACKET_ID_MULTI = 3,
1: + SS4_PACKET_ID_STICK = 4,
1: };
1:
1: enum V7_PACKET_ID {
1: - V7_PACKET_ID_IDLE = 0,
1: - V7_PACKET_ID_TWO = 1,
1: - V7_PACKET_ID_MULTI = 2,
1: - V7_PACKET_ID_NEW = 3,
1: - V7_PACKET_ID_UNKNOWN = 4,
1: + V7_PACKET_ID_IDLE = 0,
1: + V7_PACKET_ID_TWO = 1,
1: + V7_PACKET_ID_MULTI = 2,
1: + V7_PACKET_ID_NEW = 3,
1: + V7_PACKET_ID_UNKNOWN = 4,
1: };
1:
1: struct alps_protocol_info {
1: - u16 version;
1: - u8 byte0;
1: - u8 mask0;
1: - unsigned int flags;
1: + u16 version;
1: + u8 byte0;
1: + u8 mask0;
1: + unsigned int flags;
1: };
1:
1: struct alps_model_info {
1: - u8 signature[3];
1: - struct alps_protocol_info protocol_info;
1: + u8 signature[3];
1: + struct alps_protocol_info protocol_info;
1: };
1:
1: struct alps_nibble_commands {
1: - int command;
1: - unsigned char data;
1: + int command;
1: + unsigned char data;
1: };
1:
1: struct alps_bitmap_point {
1: - int start_bit;
1: - int num_bits;
1: + int start_bit;
1: + int num_bits;
1: };
1:
1: struct alps_fields {
1: - unsigned int x_map;
1: - unsigned int y_map;
1: - unsigned int fingers;
1: - int pressure;
1: - struct input_mt_pos st;
1: - struct input_mt_pos mt[4];
1: - unsigned int first_mp: 1;
1: - unsigned int is_mp: 1;
1: - unsigned int left: 1;
1: - unsigned int right: 1;
1: - unsigned int middle: 1;
1: - unsigned int ts_left: 1;
1: - unsigned int ts_right: 1;
1: - unsigned int ts_middle: 1;
1: + unsigned int x_map;
1: + unsigned int y_map;
1: + unsigned int fingers;
1: + int pressure;
1: + struct input_mt_pos st;
1: + struct input_mt_pos mt[4];
1: + unsigned int first_mp : 1;
1: + unsigned int is_mp : 1;
1: + unsigned int left : 1;
1: + unsigned int right : 1;
1: + unsigned int middle : 1;
1: + unsigned int ts_left : 1;
1: + unsigned int ts_right : 1;
1: + unsigned int ts_middle : 1;
1: };
1:
1: struct alps_data {
1: - struct psmouse *psmouse;
1: - struct input_dev *dev2;
1: - struct input_dev *dev3;
1: - char phys2[32];
1: - char phys3[32];
1: - struct delayed_work dev3_register_work;
1: - const struct alps_nibble_commands *nibble_commands;
1: - int addr_command;
1: - u16 proto_version;
1: - u8 byte0;
1: - u8 mask0;
1: - u8 dev_id[3];
1: - u8 fw_ver[3];
1: - int flags;
1: - int x_max;
1: - int y_max;
1: - int x_bits;
1: - int y_bits;
1: - unsigned int x_res;
1: - unsigned int y_res;
1: - int (*hw_init)(struct psmouse *);
1: - void (*process_packet)(struct psmouse *);
1: - int (*decode_fields)(struct alps_fields *, unsigned char *, struct psmouse *);
1: - void (*set_abs_params)(struct alps_data *, struct input_dev *);
1: - int prev_fin;
1: - int multi_packet;
1: - int second_touch;
1: - unsigned char multi_data[6];
1: - struct alps_fields f;
1: - u8 quirks;
1: - struct timer_list timer;
1: + struct psmouse *psmouse;
1: + struct input_dev *dev2;
1: + struct input_dev *dev3;
1: + char phys2[32];
1: + char phys3[32];
1: + struct delayed_work dev3_register_work;
1: + const struct alps_nibble_commands *nibble_commands;
1: + int addr_command;
1: + u16 proto_version;
1: + u8 byte0;
1: + u8 mask0;
1: + u8 dev_id[3];
1: + u8 fw_ver[3];
1: + int flags;
1: + int x_max;
1: + int y_max;
1: + int x_bits;
1: + int y_bits;
1: + unsigned int x_res;
1: + unsigned int y_res;
1: + int (*hw_init)(struct psmouse *);
1: + void (*process_packet)(struct psmouse *);
1: + int (*decode_fields)(struct alps_fields *, unsigned char *, struct psmouse *);
1: + void (*set_abs_params)(struct alps_data *, struct input_dev *);
1: + int prev_fin;
1: + int multi_packet;
1: + int second_touch;
1: + unsigned char multi_data[6];
1: + struct alps_fields f;
1: + u8 quirks;
1: + struct timer_list timer;
1: };
1:
1: struct byd_data {
1: - struct timer_list timer;
1: - struct psmouse *psmouse;
1: - s32 abs_x;
1: - s32 abs_y;
1: - volatile long unsigned int last_touch_time;
1: - bool btn_left;
1: - bool btn_right;
1: - bool touch;
1: + struct timer_list timer;
1: + struct psmouse *psmouse;
1: + s32 abs_x;
1: + s32 abs_y;
1: + volatile long unsigned int last_touch_time;
1: + bool btn_left;
1: + bool btn_right;
1: + bool touch;
1: };
1:
1: struct ps2pp_info {
1: - u8 model;
1: - u8 kind;
1: - u16 features;
1: + u8 model;
1: + u8 kind;
1: + u16 features;
1: };
1:
1: struct lifebook_data {
1: - struct input_dev *dev2;
1: - char phys[32];
1: + struct input_dev *dev2;
1: + char phys[32];
1: };
1:
1: struct trackpoint_data {
1: - u8 variant_id;
1: - u8 firmware_id;
1: - u8 sensitivity;
1: - u8 speed;
1: - u8 inertia;
1: - u8 reach;
1: - u8 draghys;
1: - u8 mindrag;
1: - u8 thresh;
1: - u8 upthresh;
1: - u8 ztime;
1: - u8 jenks;
1: - u8 drift_time;
1: - bool press_to_select;
1: - bool skipback;
1: - bool ext_dev;
1: + u8 variant_id;
1: + u8 firmware_id;
1: + u8 sensitivity;
1: + u8 speed;
1: + u8 inertia;
1: + u8 reach;
1: + u8 draghys;
1: + u8 mindrag;
1: + u8 thresh;
1: + u8 upthresh;
1: + u8 ztime;
1: + u8 jenks;
1: + u8 drift_time;
1: + bool press_to_select;
1: + bool skipback;
1: + bool ext_dev;
1: };
1:
1: struct trackpoint_attr_data {
1: - size_t field_offset;
1: - u8 command;
1: - u8 mask;
1: - bool inverted;
1: - u8 power_on_default;
1: + size_t field_offset;
1: + u8 command;
1: + u8 mask;
1: + bool inverted;
1: + u8 power_on_default;
1: };
1:
1: struct cytp_contact {
1: - int x;
1: - int y;
1: - int z;
1: + int x;
1: + int y;
1: + int z;
1: };
1:
1: struct cytp_report_data {
1: - int contact_cnt;
1: - struct cytp_contact contacts[2];
1: - unsigned int left: 1;
1: - unsigned int right: 1;
1: - unsigned int middle: 1;
1: - unsigned int tap: 1;
1: + int contact_cnt;
1: + struct cytp_contact contacts[2];
1: + unsigned int left : 1;
1: + unsigned int right : 1;
1: + unsigned int middle : 1;
1: + unsigned int tap : 1;
1: };
1:
1: struct cytp_data {
1: - int fw_version;
1: - int pkt_size;
1: - int mode;
1: - int tp_min_pressure;
1: - int tp_max_pressure;
1: - int tp_width;
1: - int tp_high;
1: - int tp_max_abs_x;
1: - int tp_max_abs_y;
1: - int tp_res_x;
1: - int tp_res_y;
1: - int tp_metrics_supported;
1: + int fw_version;
1: + int pkt_size;
1: + int mode;
1: + int tp_min_pressure;
1: + int tp_max_pressure;
1: + int tp_width;
1: + int tp_high;
1: + int tp_max_abs_x;
1: + int tp_max_abs_y;
1: + int tp_res_x;
1: + int tp_res_y;
1: + int tp_metrics_supported;
1: };
1:
1: struct psmouse_smbus_dev {
1: - struct i2c_board_info board;
1: - struct psmouse *psmouse;
1: - struct i2c_client *client;
1: - struct list_head node;
1: - bool dead;
1: - bool need_deactivate;
1: + struct i2c_board_info board;
1: + struct psmouse *psmouse;
1: + struct i2c_client *client;
1: + struct list_head node;
1: + bool dead;
1: + bool need_deactivate;
1: };
1:
1: struct psmouse_smbus_removal_work {
1: - struct work_struct work;
1: - struct i2c_client *client;
1: + struct work_struct work;
1: + struct i2c_client *client;
1: };
1:
1: struct touchscreen_properties {
1: - unsigned int max_x;
1: - unsigned int max_y;
1: - bool invert_x;
1: - bool invert_y;
1: - bool swap_x_y;
1: + unsigned int max_x;
1: + unsigned int max_y;
1: + bool invert_x;
1: + bool invert_y;
1: + bool swap_x_y;
1: };
1:
1: struct trace_event_raw_rtc_time_alarm_class {
1: - struct trace_entry ent;
1: - time64_t secs;
1: - int err;
1: - char __data[0];
1: + struct trace_entry ent;
1: + time64_t secs;
1: + int err;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rtc_irq_set_freq {
1: - struct trace_entry ent;
1: - int freq;
1: - int err;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int freq;
1: + int err;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rtc_irq_set_state {
1: - struct trace_entry ent;
1: - int enabled;
1: - int err;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int enabled;
1: + int err;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rtc_alarm_irq_enable {
1: - struct trace_entry ent;
1: - unsigned int enabled;
1: - int err;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int enabled;
1: + int err;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rtc_offset_class {
1: - struct trace_entry ent;
1: - long int offset;
1: - int err;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long int offset;
1: + int err;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rtc_timer_class {
1: - struct trace_entry ent;
1: - struct rtc_timer *timer;
1: - ktime_t expires;
1: - ktime_t period;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct rtc_timer *timer;
1: + ktime_t expires;
1: + ktime_t period;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_rtc_time_alarm_class {};
1: @@ -91806,18 +92449,18 @@ struct trace_event_data_offsets_rtc_offset_class {};
1: struct trace_event_data_offsets_rtc_timer_class {};
1:
1: enum {
1: - none = 0,
1: - day = 1,
1: - month = 2,
1: - year = 3,
1: + none = 0,
1: + day = 1,
1: + month = 2,
1: + year = 3,
1: };
1:
1: struct nvmem_cell_info {
1: - const char *name;
1: - unsigned int offset;
1: - unsigned int bytes;
1: - unsigned int bit_offset;
1: - unsigned int nbits;
1: + const char *name;
1: + unsigned int offset;
1: + unsigned int bytes;
1: + unsigned int bit_offset;
1: + unsigned int nbits;
1: };
1:
1: typedef int (*nvmem_reg_read_t)(void *, unsigned int, void *, size_t);
1: @@ -91825,196 +92468,196 @@ typedef int (*nvmem_reg_read_t)(void *, unsigned int, void *, size_t);
1: typedef int (*nvmem_reg_write_t)(void *, unsigned int, void *, size_t);
1:
1: enum nvmem_type {
1: - NVMEM_TYPE_UNKNOWN = 0,
1: - NVMEM_TYPE_EEPROM = 1,
1: - NVMEM_TYPE_OTP = 2,
1: - NVMEM_TYPE_BATTERY_BACKED = 3,
1: + NVMEM_TYPE_UNKNOWN = 0,
1: + NVMEM_TYPE_EEPROM = 1,
1: + NVMEM_TYPE_OTP = 2,
1: + NVMEM_TYPE_BATTERY_BACKED = 3,
1: };
1:
1: struct nvmem_config {
1: - struct device *dev;
1: - const char *name;
1: - int id;
1: - struct module *owner;
1: - const struct nvmem_cell_info *cells;
1: - int ncells;
1: - enum nvmem_type type;
1: - bool read_only;
1: - bool root_only;
1: - bool no_of_node;
1: - nvmem_reg_read_t reg_read;
1: - nvmem_reg_write_t reg_write;
1: - int size;
1: - int word_size;
1: - int stride;
1: - void *priv;
1: - bool compat;
1: - struct device *base_dev;
1: + struct device *dev;
1: + const char *name;
1: + int id;
1: + struct module *owner;
1: + const struct nvmem_cell_info *cells;
1: + int ncells;
1: + enum nvmem_type type;
1: + bool read_only;
1: + bool root_only;
1: + bool no_of_node;
1: + nvmem_reg_read_t reg_read;
1: + nvmem_reg_write_t reg_write;
1: + int size;
1: + int word_size;
1: + int stride;
1: + void *priv;
1: + bool compat;
1: + struct device *base_dev;
1: };
1:
1: struct nvmem_device;
1:
1: struct cmos_rtc_board_info {
1: - void (*wake_on)(struct device *);
1: - void (*wake_off)(struct device *);
1: - u32 flags;
1: - int address_space;
1: - u8 rtc_day_alarm;
1: - u8 rtc_mon_alarm;
1: - u8 rtc_century;
1: + void (*wake_on)(struct device *);
1: + void (*wake_off)(struct device *);
1: + u32 flags;
1: + int address_space;
1: + u8 rtc_day_alarm;
1: + u8 rtc_mon_alarm;
1: + u8 rtc_century;
1: };
1:
1: struct cmos_rtc {
1: - struct rtc_device *rtc;
1: - struct device *dev;
1: - int irq;
1: - struct resource *iomem;
1: - time64_t alarm_expires;
1: - void (*wake_on)(struct device *);
1: - void (*wake_off)(struct device *);
1: - u8 enabled_wake;
1: - u8 suspend_ctrl;
1: - u8 day_alrm;
1: - u8 mon_alrm;
1: - u8 century;
1: - struct rtc_wkalrm saved_wkalrm;
1: + struct rtc_device *rtc;
1: + struct device *dev;
1: + int irq;
1: + struct resource *iomem;
1: + time64_t alarm_expires;
1: + void (*wake_on)(struct device *);
1: + void (*wake_off)(struct device *);
1: + u8 enabled_wake;
1: + u8 suspend_ctrl;
1: + u8 day_alrm;
1: + u8 mon_alrm;
1: + u8 century;
1: + struct rtc_wkalrm saved_wkalrm;
1: };
1:
1: struct i2c_devinfo {
1: - struct list_head list;
1: - int busnum;
1: - struct i2c_board_info board_info;
1: + struct list_head list;
1: + int busnum;
1: + struct i2c_board_info board_info;
1: };
1:
1: struct i2c_device_identity {
1: - u16 manufacturer_id;
1: - u16 part_id;
1: - u8 die_revision;
1: + u16 manufacturer_id;
1: + u16 part_id;
1: + u8 die_revision;
1: };
1:
1: struct i2c_timings {
1: - u32 bus_freq_hz;
1: - u32 scl_rise_ns;
1: - u32 scl_fall_ns;
1: - u32 scl_int_delay_ns;
1: - u32 sda_fall_ns;
1: - u32 sda_hold_ns;
1: - u32 digital_filter_width_ns;
1: - u32 analog_filter_cutoff_freq_hz;
1: + u32 bus_freq_hz;
1: + u32 scl_rise_ns;
1: + u32 scl_fall_ns;
1: + u32 scl_int_delay_ns;
1: + u32 sda_fall_ns;
1: + u32 sda_hold_ns;
1: + u32 digital_filter_width_ns;
1: + u32 analog_filter_cutoff_freq_hz;
1: };
1:
1: struct trace_event_raw_i2c_write {
1: - struct trace_entry ent;
1: - int adapter_nr;
1: - __u16 msg_nr;
1: - __u16 addr;
1: - __u16 flags;
1: - __u16 len;
1: - u32 __data_loc_buf;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 msg_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u16 len;
1: + u32 __data_loc_buf;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i2c_read {
1: - struct trace_entry ent;
1: - int adapter_nr;
1: - __u16 msg_nr;
1: - __u16 addr;
1: - __u16 flags;
1: - __u16 len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 msg_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u16 len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i2c_reply {
1: - struct trace_entry ent;
1: - int adapter_nr;
1: - __u16 msg_nr;
1: - __u16 addr;
1: - __u16 flags;
1: - __u16 len;
1: - u32 __data_loc_buf;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 msg_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u16 len;
1: + u32 __data_loc_buf;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_i2c_result {
1: - struct trace_entry ent;
1: - int adapter_nr;
1: - __u16 nr_msgs;
1: - __s16 ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 nr_msgs;
1: + __s16 ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_i2c_write {
1: - u32 buf;
1: + u32 buf;
1: };
1:
1: struct trace_event_data_offsets_i2c_read {};
1:
1: struct trace_event_data_offsets_i2c_reply {
1: - u32 buf;
1: + u32 buf;
1: };
1:
1: struct trace_event_data_offsets_i2c_result {};
1:
1: struct i2c_dummy_devres {
1: - struct i2c_client *client;
1: + struct i2c_client *client;
1: };
1:
1: struct i2c_cmd_arg {
1: - unsigned int cmd;
1: - void *arg;
1: + unsigned int cmd;
1: + void *arg;
1: };
1:
1: struct class_compat___2;
1:
1: struct i2c_smbus_alert_setup {
1: - int irq;
1: + int irq;
1: };
1:
1: struct trace_event_raw_smbus_write {
1: - struct trace_entry ent;
1: - int adapter_nr;
1: - __u16 addr;
1: - __u16 flags;
1: - __u8 command;
1: - __u8 len;
1: - __u32 protocol;
1: - __u8 buf[34];
1: - char __data[0];
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u8 command;
1: + __u8 len;
1: + __u32 protocol;
1: + __u8 buf[34];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_smbus_read {
1: - struct trace_entry ent;
1: - int adapter_nr;
1: - __u16 flags;
1: - __u16 addr;
1: - __u8 command;
1: - __u32 protocol;
1: - __u8 buf[34];
1: - char __data[0];
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 flags;
1: + __u16 addr;
1: + __u8 command;
1: + __u32 protocol;
1: + __u8 buf[34];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_smbus_reply {
1: - struct trace_entry ent;
1: - int adapter_nr;
1: - __u16 addr;
1: - __u16 flags;
1: - __u8 command;
1: - __u8 len;
1: - __u32 protocol;
1: - __u8 buf[34];
1: - char __data[0];
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u8 command;
1: + __u8 len;
1: + __u32 protocol;
1: + __u8 buf[34];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_smbus_result {
1: - struct trace_entry ent;
1: - int adapter_nr;
1: - __u16 addr;
1: - __u16 flags;
1: - __u8 read_write;
1: - __u8 command;
1: - __s16 res;
1: - __u32 protocol;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int adapter_nr;
1: + __u16 addr;
1: + __u16 flags;
1: + __u8 read_write;
1: + __u8 command;
1: + __s16 res;
1: + __u32 protocol;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_smbus_write {};
1: @@ -92026,688 +92669,689 @@ struct trace_event_data_offsets_smbus_reply {};
1: struct trace_event_data_offsets_smbus_result {};
1:
1: struct i2c_acpi_handler_data {
1: - struct acpi_connection_info info;
1: - struct i2c_adapter *adapter;
1: + struct acpi_connection_info info;
1: + struct i2c_adapter *adapter;
1: };
1:
1: struct gsb_buffer {
1: - u8 status;
1: - u8 len;
1: - union {
1: - u16 wdata;
1: - u8 bdata;
1: - u8 data[0];
1: - };
1: + u8 status;
1: + u8 len;
1: + union {
1: + u16 wdata;
1: + u8 bdata;
1: + u8 data[0];
1: + };
1: };
1:
1: struct i2c_acpi_lookup {
1: - struct i2c_board_info *info;
1: - acpi_handle adapter_handle;
1: - acpi_handle device_handle;
1: - acpi_handle search_handle;
1: - int n;
1: - int index;
1: - u32 speed;
1: - u32 min_speed;
1: - u32 force_speed;
1: + struct i2c_board_info *info;
1: + acpi_handle adapter_handle;
1: + acpi_handle device_handle;
1: + acpi_handle search_handle;
1: + int n;
1: + int index;
1: + u32 speed;
1: + u32 min_speed;
1: + u32 force_speed;
1: };
1:
1: struct i2c_smbus_alert {
1: - struct work_struct alert;
1: - struct i2c_client *ara;
1: + struct work_struct alert;
1: + struct i2c_client *ara;
1: };
1:
1: struct alert_data {
1: - short unsigned int addr;
1: - enum i2c_alert_protocol type;
1: - unsigned int data;
1: + short unsigned int addr;
1: + enum i2c_alert_protocol type;
1: + unsigned int data;
1: };
1:
1: struct itco_wdt_platform_data {
1: - char name[32];
1: - unsigned int version;
1: - void *no_reboot_priv;
1: - int (*update_no_reboot_bit)(void *, bool);
1: + char name[32];
1: + unsigned int version;
1: + void *no_reboot_priv;
1: + int (*update_no_reboot_bit)(void *, bool);
1: };
1:
1: struct i801_priv {
1: - struct i2c_adapter adapter;
1: - long unsigned int smba;
1: - unsigned char original_hstcfg;
1: - unsigned char original_slvcmd;
1: - struct pci_dev *pci_dev;
1: - unsigned int features;
1: - wait_queue_head_t waitq;
1: - u8 status;
1: - u8 cmd;
1: - bool is_read;
1: - int count;
1: - int len;
1: - u8 *data;
1: - struct platform_device *tco_pdev;
1: - bool acpi_reserved;
1: - struct mutex acpi_lock;
1: + struct i2c_adapter adapter;
1: + long unsigned int smba;
1: + unsigned char original_hstcfg;
1: + unsigned char original_slvcmd;
1: + struct pci_dev *pci_dev;
1: + unsigned int features;
1: + wait_queue_head_t waitq;
1: + u8 status;
1: + u8 cmd;
1: + bool is_read;
1: + int count;
1: + int len;
1: + u8 *data;
1: + struct platform_device *tco_pdev;
1: + bool acpi_reserved;
1: + struct mutex acpi_lock;
1: };
1:
1: struct dmi_onboard_device_info {
1: - const char *name;
1: - u8 type;
1: - short unsigned int i2c_addr;
1: - const char *i2c_type;
1: + const char *name;
1: + u8 type;
1: + short unsigned int i2c_addr;
1: + const char *i2c_type;
1: };
1:
1: struct pps_ktime {
1: - __s64 sec;
1: - __s32 nsec;
1: - __u32 flags;
1: + __s64 sec;
1: + __s32 nsec;
1: + __u32 flags;
1: };
1:
1: struct pps_ktime_compat {
1: - __s64 sec;
1: - __s32 nsec;
1: - __u32 flags;
1: + __s64 sec;
1: + __s32 nsec;
1: + __u32 flags;
1: };
1:
1: struct pps_kinfo {
1: - __u32 assert_sequence;
1: - __u32 clear_sequence;
1: - struct pps_ktime assert_tu;
1: - struct pps_ktime clear_tu;
1: - int current_mode;
1: + __u32 assert_sequence;
1: + __u32 clear_sequence;
1: + struct pps_ktime assert_tu;
1: + struct pps_ktime clear_tu;
1: + int current_mode;
1: };
1:
1: struct pps_kinfo_compat {
1: - __u32 assert_sequence;
1: - __u32 clear_sequence;
1: - struct pps_ktime_compat assert_tu;
1: - struct pps_ktime_compat clear_tu;
1: - int current_mode;
1: + __u32 assert_sequence;
1: + __u32 clear_sequence;
1: + struct pps_ktime_compat assert_tu;
1: + struct pps_ktime_compat clear_tu;
1: + int current_mode;
1: } __attribute__((packed));
1:
1: struct pps_kparams {
1: - int api_version;
1: - int mode;
1: - struct pps_ktime assert_off_tu;
1: - struct pps_ktime clear_off_tu;
1: + int api_version;
1: + int mode;
1: + struct pps_ktime assert_off_tu;
1: + struct pps_ktime clear_off_tu;
1: };
1:
1: struct pps_fdata {
1: - struct pps_kinfo info;
1: - struct pps_ktime timeout;
1: + struct pps_kinfo info;
1: + struct pps_ktime timeout;
1: };
1:
1: struct pps_fdata_compat {
1: - struct pps_kinfo_compat info;
1: - struct pps_ktime_compat timeout;
1: + struct pps_kinfo_compat info;
1: + struct pps_ktime_compat timeout;
1: } __attribute__((packed));
1:
1: struct pps_bind_args {
1: - int tsformat;
1: - int edge;
1: - int consumer;
1: + int tsformat;
1: + int edge;
1: + int consumer;
1: };
1:
1: struct pps_device;
1:
1: struct pps_source_info {
1: - char name[32];
1: - char path[32];
1: - int mode;
1: - void (*echo)(struct pps_device *, int, void *);
1: - struct module *owner;
1: - struct device *dev;
1: + char name[32];
1: + char path[32];
1: + int mode;
1: + void (*echo)(struct pps_device *, int, void *);
1: + struct module *owner;
1: + struct device *dev;
1: };
1:
1: struct pps_device {
1: - struct pps_source_info info;
1: - struct pps_kparams params;
1: - __u32 assert_sequence;
1: - __u32 clear_sequence;
1: - struct pps_ktime assert_tu;
1: - struct pps_ktime clear_tu;
1: - int current_mode;
1: - unsigned int last_ev;
1: - wait_queue_head_t queue;
1: - unsigned int id;
1: - const void *lookup_cookie;
1: - struct cdev cdev;
1: - struct device *dev;
1: - struct fasync_struct *async_queue;
1: - spinlock_t lock;
1: + struct pps_source_info info;
1: + struct pps_kparams params;
1: + __u32 assert_sequence;
1: + __u32 clear_sequence;
1: + struct pps_ktime assert_tu;
1: + struct pps_ktime clear_tu;
1: + int current_mode;
1: + unsigned int last_ev;
1: + wait_queue_head_t queue;
1: + unsigned int id;
1: + const void *lookup_cookie;
1: + struct cdev cdev;
1: + struct device *dev;
1: + struct fasync_struct *async_queue;
1: + spinlock_t lock;
1: };
1:
1: struct pps_event_time {
1: - struct timespec64 ts_real;
1: + struct timespec64 ts_real;
1: };
1:
1: struct ptp_extts_event {
1: - struct ptp_clock_time t;
1: - unsigned int index;
1: - unsigned int flags;
1: - unsigned int rsv[2];
1: + struct ptp_clock_time t;
1: + unsigned int index;
1: + unsigned int flags;
1: + unsigned int rsv[2];
1: };
1:
1: enum ptp_clock_events {
1: - PTP_CLOCK_ALARM = 0,
1: - PTP_CLOCK_EXTTS = 1,
1: - PTP_CLOCK_PPS = 2,
1: - PTP_CLOCK_PPSUSR = 3,
1: + PTP_CLOCK_ALARM = 0,
1: + PTP_CLOCK_EXTTS = 1,
1: + PTP_CLOCK_PPS = 2,
1: + PTP_CLOCK_PPSUSR = 3,
1: };
1:
1: struct ptp_clock_event {
1: - int type;
1: - int index;
1: - union {
1: - u64 timestamp;
1: - struct pps_event_time pps_times;
1: - };
1: + int type;
1: + int index;
1: + union {
1: + u64 timestamp;
1: + struct pps_event_time pps_times;
1: + };
1: };
1:
1: struct timestamp_event_queue {
1: - struct ptp_extts_event buf[128];
1: - int head;
1: - int tail;
1: - spinlock_t lock;
1: + struct ptp_extts_event buf[128];
1: + int head;
1: + int tail;
1: + spinlock_t lock;
1: };
1:
1: struct ptp_clock___2 {
1: - struct posix_clock clock;
1: - struct device dev;
1: - struct ptp_clock_info *info;
1: - dev_t devid;
1: - int index;
1: - struct pps_device *pps_source;
1: - long int dialed_frequency;
1: - struct timestamp_event_queue tsevq;
1: - struct mutex tsevq_mux;
1: - struct mutex pincfg_mux;
1: - wait_queue_head_t tsev_wq;
1: - int defunct;
1: - struct device_attribute *pin_dev_attr;
1: - struct attribute **pin_attr;
1: - struct attribute_group pin_attr_group;
1: - const struct attribute_group *pin_attr_groups[2];
1: - struct kthread_worker *kworker;
1: - struct kthread_delayed_work aux_work;
1: + struct posix_clock clock;
1: + struct device dev;
1: + struct ptp_clock_info *info;
1: + dev_t devid;
1: + int index;
1: + struct pps_device *pps_source;
1: + long int dialed_frequency;
1: + struct timestamp_event_queue tsevq;
1: + struct mutex tsevq_mux;
1: + struct mutex pincfg_mux;
1: + wait_queue_head_t tsev_wq;
1: + int defunct;
1: + struct device_attribute *pin_dev_attr;
1: + struct attribute **pin_attr;
1: + struct attribute_group pin_attr_group;
1: + const struct attribute_group *pin_attr_groups[2];
1: + struct kthread_worker *kworker;
1: + struct kthread_delayed_work aux_work;
1: };
1:
1: struct ptp_clock_caps {
1: - int max_adj;
1: - int n_alarm;
1: - int n_ext_ts;
1: - int n_per_out;
1: - int pps;
1: - int n_pins;
1: - int cross_timestamping;
1: - int rsv[13];
1: + int max_adj;
1: + int n_alarm;
1: + int n_ext_ts;
1: + int n_per_out;
1: + int pps;
1: + int n_pins;
1: + int cross_timestamping;
1: + int rsv[13];
1: };
1:
1: struct ptp_sys_offset {
1: - unsigned int n_samples;
1: - unsigned int rsv[3];
1: - struct ptp_clock_time ts[51];
1: + unsigned int n_samples;
1: + unsigned int rsv[3];
1: + struct ptp_clock_time ts[51];
1: };
1:
1: struct ptp_sys_offset_extended {
1: - unsigned int n_samples;
1: - unsigned int rsv[3];
1: - struct ptp_clock_time ts[75];
1: + unsigned int n_samples;
1: + unsigned int rsv[3];
1: + struct ptp_clock_time ts[75];
1: };
1:
1: struct ptp_sys_offset_precise {
1: - struct ptp_clock_time device;
1: - struct ptp_clock_time sys_realtime;
1: - struct ptp_clock_time sys_monoraw;
1: - unsigned int rsv[4];
1: + struct ptp_clock_time device;
1: + struct ptp_clock_time sys_realtime;
1: + struct ptp_clock_time sys_monoraw;
1: + unsigned int rsv[4];
1: };
1:
1: enum power_supply_notifier_events {
1: - PSY_EVENT_PROP_CHANGED = 0,
1: + PSY_EVENT_PROP_CHANGED = 0,
1: };
1:
1: struct power_supply_battery_ocv_table {
1: - int ocv;
1: - int capacity;
1: + int ocv;
1: + int capacity;
1: };
1:
1: struct power_supply_battery_info {
1: - int energy_full_design_uwh;
1: - int charge_full_design_uah;
1: - int voltage_min_design_uv;
1: - int voltage_max_design_uv;
1: - int precharge_current_ua;
1: - int charge_term_current_ua;
1: - int constant_charge_current_max_ua;
1: - int constant_charge_voltage_max_uv;
1: - int factory_internal_resistance_uohm;
1: - int ocv_temp[20];
1: - struct power_supply_battery_ocv_table *ocv_table[20];
1: - int ocv_table_size[20];
1: + int energy_full_design_uwh;
1: + int charge_full_design_uah;
1: + int voltage_min_design_uv;
1: + int voltage_max_design_uv;
1: + int precharge_current_ua;
1: + int charge_term_current_ua;
1: + int constant_charge_current_max_ua;
1: + int constant_charge_voltage_max_uv;
1: + int factory_internal_resistance_uohm;
1: + int ocv_temp[20];
1: + struct power_supply_battery_ocv_table *ocv_table[20];
1: + int ocv_table_size[20];
1: };
1:
1: struct psy_am_i_supplied_data {
1: - struct power_supply *psy;
1: - unsigned int count;
1: + struct power_supply *psy;
1: + unsigned int count;
1: };
1:
1: enum hwmon_sensor_types {
1: - hwmon_chip = 0,
1: - hwmon_temp = 1,
1: - hwmon_in = 2,
1: - hwmon_curr = 3,
1: - hwmon_power = 4,
1: - hwmon_energy = 5,
1: - hwmon_humidity = 6,
1: - hwmon_fan = 7,
1: - hwmon_pwm = 8,
1: - hwmon_max = 9,
1: + hwmon_chip = 0,
1: + hwmon_temp = 1,
1: + hwmon_in = 2,
1: + hwmon_curr = 3,
1: + hwmon_power = 4,
1: + hwmon_energy = 5,
1: + hwmon_humidity = 6,
1: + hwmon_fan = 7,
1: + hwmon_pwm = 8,
1: + hwmon_max = 9,
1: };
1:
1: enum hwmon_temp_attributes {
1: - hwmon_temp_input = 0,
1: - hwmon_temp_type = 1,
1: - hwmon_temp_lcrit = 2,
1: - hwmon_temp_lcrit_hyst = 3,
1: - hwmon_temp_min = 4,
1: - hwmon_temp_min_hyst = 5,
1: - hwmon_temp_max = 6,
1: - hwmon_temp_max_hyst = 7,
1: - hwmon_temp_crit = 8,
1: - hwmon_temp_crit_hyst = 9,
1: - hwmon_temp_emergency = 10,
1: - hwmon_temp_emergency_hyst = 11,
1: - hwmon_temp_alarm = 12,
1: - hwmon_temp_lcrit_alarm = 13,
1: - hwmon_temp_min_alarm = 14,
1: - hwmon_temp_max_alarm = 15,
1: - hwmon_temp_crit_alarm = 16,
1: - hwmon_temp_emergency_alarm = 17,
1: - hwmon_temp_fault = 18,
1: - hwmon_temp_offset = 19,
1: - hwmon_temp_label = 20,
1: - hwmon_temp_lowest = 21,
1: - hwmon_temp_highest = 22,
1: - hwmon_temp_reset_history = 23,
1: + hwmon_temp_input = 0,
1: + hwmon_temp_type = 1,
1: + hwmon_temp_lcrit = 2,
1: + hwmon_temp_lcrit_hyst = 3,
1: + hwmon_temp_min = 4,
1: + hwmon_temp_min_hyst = 5,
1: + hwmon_temp_max = 6,
1: + hwmon_temp_max_hyst = 7,
1: + hwmon_temp_crit = 8,
1: + hwmon_temp_crit_hyst = 9,
1: + hwmon_temp_emergency = 10,
1: + hwmon_temp_emergency_hyst = 11,
1: + hwmon_temp_alarm = 12,
1: + hwmon_temp_lcrit_alarm = 13,
1: + hwmon_temp_min_alarm = 14,
1: + hwmon_temp_max_alarm = 15,
1: + hwmon_temp_crit_alarm = 16,
1: + hwmon_temp_emergency_alarm = 17,
1: + hwmon_temp_fault = 18,
1: + hwmon_temp_offset = 19,
1: + hwmon_temp_label = 20,
1: + hwmon_temp_lowest = 21,
1: + hwmon_temp_highest = 22,
1: + hwmon_temp_reset_history = 23,
1: };
1:
1: enum hwmon_in_attributes {
1: - hwmon_in_input = 0,
1: - hwmon_in_min = 1,
1: - hwmon_in_max = 2,
1: - hwmon_in_lcrit = 3,
1: - hwmon_in_crit = 4,
1: - hwmon_in_average = 5,
1: - hwmon_in_lowest = 6,
1: - hwmon_in_highest = 7,
1: - hwmon_in_reset_history = 8,
1: - hwmon_in_label = 9,
1: - hwmon_in_alarm = 10,
1: - hwmon_in_min_alarm = 11,
1: - hwmon_in_max_alarm = 12,
1: - hwmon_in_lcrit_alarm = 13,
1: - hwmon_in_crit_alarm = 14,
1: - hwmon_in_enable = 15,
1: + hwmon_in_input = 0,
1: + hwmon_in_min = 1,
1: + hwmon_in_max = 2,
1: + hwmon_in_lcrit = 3,
1: + hwmon_in_crit = 4,
1: + hwmon_in_average = 5,
1: + hwmon_in_lowest = 6,
1: + hwmon_in_highest = 7,
1: + hwmon_in_reset_history = 8,
1: + hwmon_in_label = 9,
1: + hwmon_in_alarm = 10,
1: + hwmon_in_min_alarm = 11,
1: + hwmon_in_max_alarm = 12,
1: + hwmon_in_lcrit_alarm = 13,
1: + hwmon_in_crit_alarm = 14,
1: + hwmon_in_enable = 15,
1: };
1:
1: enum hwmon_curr_attributes {
1: - hwmon_curr_input = 0,
1: - hwmon_curr_min = 1,
1: - hwmon_curr_max = 2,
1: - hwmon_curr_lcrit = 3,
1: - hwmon_curr_crit = 4,
1: - hwmon_curr_average = 5,
1: - hwmon_curr_lowest = 6,
1: - hwmon_curr_highest = 7,
1: - hwmon_curr_reset_history = 8,
1: - hwmon_curr_label = 9,
1: - hwmon_curr_alarm = 10,
1: - hwmon_curr_min_alarm = 11,
1: - hwmon_curr_max_alarm = 12,
1: - hwmon_curr_lcrit_alarm = 13,
1: - hwmon_curr_crit_alarm = 14,
1: + hwmon_curr_input = 0,
1: + hwmon_curr_min = 1,
1: + hwmon_curr_max = 2,
1: + hwmon_curr_lcrit = 3,
1: + hwmon_curr_crit = 4,
1: + hwmon_curr_average = 5,
1: + hwmon_curr_lowest = 6,
1: + hwmon_curr_highest = 7,
1: + hwmon_curr_reset_history = 8,
1: + hwmon_curr_label = 9,
1: + hwmon_curr_alarm = 10,
1: + hwmon_curr_min_alarm = 11,
1: + hwmon_curr_max_alarm = 12,
1: + hwmon_curr_lcrit_alarm = 13,
1: + hwmon_curr_crit_alarm = 14,
1: };
1:
1: struct hwmon_ops {
1: - umode_t (*is_visible)(const void *, enum hwmon_sensor_types, u32, int);
1: - int (*read)(struct device *, enum hwmon_sensor_types, u32, int, long int *);
1: - int (*read_string)(struct device *, enum hwmon_sensor_types, u32, int, const char **);
1: - int (*write)(struct device *, enum hwmon_sensor_types, u32, int, long int);
1: + umode_t (*is_visible)(const void *, enum hwmon_sensor_types, u32, int);
1: + int (*read)(struct device *, enum hwmon_sensor_types, u32, int, long int *);
1: + int (*read_string)(struct device *, enum hwmon_sensor_types, u32, int,
1: + const char **);
1: + int (*write)(struct device *, enum hwmon_sensor_types, u32, int, long int);
1: };
1:
1: struct hwmon_channel_info {
1: - enum hwmon_sensor_types type;
1: - const u32 *config;
1: + enum hwmon_sensor_types type;
1: + const u32 *config;
1: };
1:
1: struct hwmon_chip_info {
1: - const struct hwmon_ops *ops;
1: - const struct hwmon_channel_info **info;
1: + const struct hwmon_ops *ops;
1: + const struct hwmon_channel_info **info;
1: };
1:
1: struct power_supply_hwmon {
1: - struct power_supply *psy;
1: - long unsigned int *props;
1: + struct power_supply *psy;
1: + long unsigned int *props;
1: };
1:
1: enum hwmon_chip_attributes {
1: - hwmon_chip_temp_reset_history = 0,
1: - hwmon_chip_in_reset_history = 1,
1: - hwmon_chip_curr_reset_history = 2,
1: - hwmon_chip_power_reset_history = 3,
1: - hwmon_chip_register_tz = 4,
1: - hwmon_chip_update_interval = 5,
1: - hwmon_chip_alarms = 6,
1: - hwmon_chip_samples = 7,
1: - hwmon_chip_curr_samples = 8,
1: - hwmon_chip_in_samples = 9,
1: - hwmon_chip_power_samples = 10,
1: - hwmon_chip_temp_samples = 11,
1: + hwmon_chip_temp_reset_history = 0,
1: + hwmon_chip_in_reset_history = 1,
1: + hwmon_chip_curr_reset_history = 2,
1: + hwmon_chip_power_reset_history = 3,
1: + hwmon_chip_register_tz = 4,
1: + hwmon_chip_update_interval = 5,
1: + hwmon_chip_alarms = 6,
1: + hwmon_chip_samples = 7,
1: + hwmon_chip_curr_samples = 8,
1: + hwmon_chip_in_samples = 9,
1: + hwmon_chip_power_samples = 10,
1: + hwmon_chip_temp_samples = 11,
1: };
1:
1: enum hwmon_power_attributes {
1: - hwmon_power_average = 0,
1: - hwmon_power_average_interval = 1,
1: - hwmon_power_average_interval_max = 2,
1: - hwmon_power_average_interval_min = 3,
1: - hwmon_power_average_highest = 4,
1: - hwmon_power_average_lowest = 5,
1: - hwmon_power_average_max = 6,
1: - hwmon_power_average_min = 7,
1: - hwmon_power_input = 8,
1: - hwmon_power_input_highest = 9,
1: - hwmon_power_input_lowest = 10,
1: - hwmon_power_reset_history = 11,
1: - hwmon_power_accuracy = 12,
1: - hwmon_power_cap = 13,
1: - hwmon_power_cap_hyst = 14,
1: - hwmon_power_cap_max = 15,
1: - hwmon_power_cap_min = 16,
1: - hwmon_power_min = 17,
1: - hwmon_power_max = 18,
1: - hwmon_power_crit = 19,
1: - hwmon_power_lcrit = 20,
1: - hwmon_power_label = 21,
1: - hwmon_power_alarm = 22,
1: - hwmon_power_cap_alarm = 23,
1: - hwmon_power_min_alarm = 24,
1: - hwmon_power_max_alarm = 25,
1: - hwmon_power_lcrit_alarm = 26,
1: - hwmon_power_crit_alarm = 27,
1: + hwmon_power_average = 0,
1: + hwmon_power_average_interval = 1,
1: + hwmon_power_average_interval_max = 2,
1: + hwmon_power_average_interval_min = 3,
1: + hwmon_power_average_highest = 4,
1: + hwmon_power_average_lowest = 5,
1: + hwmon_power_average_max = 6,
1: + hwmon_power_average_min = 7,
1: + hwmon_power_input = 8,
1: + hwmon_power_input_highest = 9,
1: + hwmon_power_input_lowest = 10,
1: + hwmon_power_reset_history = 11,
1: + hwmon_power_accuracy = 12,
1: + hwmon_power_cap = 13,
1: + hwmon_power_cap_hyst = 14,
1: + hwmon_power_cap_max = 15,
1: + hwmon_power_cap_min = 16,
1: + hwmon_power_min = 17,
1: + hwmon_power_max = 18,
1: + hwmon_power_crit = 19,
1: + hwmon_power_lcrit = 20,
1: + hwmon_power_label = 21,
1: + hwmon_power_alarm = 22,
1: + hwmon_power_cap_alarm = 23,
1: + hwmon_power_min_alarm = 24,
1: + hwmon_power_max_alarm = 25,
1: + hwmon_power_lcrit_alarm = 26,
1: + hwmon_power_crit_alarm = 27,
1: };
1:
1: enum hwmon_energy_attributes {
1: - hwmon_energy_input = 0,
1: - hwmon_energy_label = 1,
1: + hwmon_energy_input = 0,
1: + hwmon_energy_label = 1,
1: };
1:
1: enum hwmon_humidity_attributes {
1: - hwmon_humidity_input = 0,
1: - hwmon_humidity_label = 1,
1: - hwmon_humidity_min = 2,
1: - hwmon_humidity_min_hyst = 3,
1: - hwmon_humidity_max = 4,
1: - hwmon_humidity_max_hyst = 5,
1: - hwmon_humidity_alarm = 6,
1: - hwmon_humidity_fault = 7,
1: + hwmon_humidity_input = 0,
1: + hwmon_humidity_label = 1,
1: + hwmon_humidity_min = 2,
1: + hwmon_humidity_min_hyst = 3,
1: + hwmon_humidity_max = 4,
1: + hwmon_humidity_max_hyst = 5,
1: + hwmon_humidity_alarm = 6,
1: + hwmon_humidity_fault = 7,
1: };
1:
1: enum hwmon_fan_attributes {
1: - hwmon_fan_input = 0,
1: - hwmon_fan_label = 1,
1: - hwmon_fan_min = 2,
1: - hwmon_fan_max = 3,
1: - hwmon_fan_div = 4,
1: - hwmon_fan_pulses = 5,
1: - hwmon_fan_target = 6,
1: - hwmon_fan_alarm = 7,
1: - hwmon_fan_min_alarm = 8,
1: - hwmon_fan_max_alarm = 9,
1: - hwmon_fan_fault = 10,
1: + hwmon_fan_input = 0,
1: + hwmon_fan_label = 1,
1: + hwmon_fan_min = 2,
1: + hwmon_fan_max = 3,
1: + hwmon_fan_div = 4,
1: + hwmon_fan_pulses = 5,
1: + hwmon_fan_target = 6,
1: + hwmon_fan_alarm = 7,
1: + hwmon_fan_min_alarm = 8,
1: + hwmon_fan_max_alarm = 9,
1: + hwmon_fan_fault = 10,
1: };
1:
1: enum hwmon_pwm_attributes {
1: - hwmon_pwm_input = 0,
1: - hwmon_pwm_enable = 1,
1: - hwmon_pwm_mode = 2,
1: - hwmon_pwm_freq = 3,
1: + hwmon_pwm_input = 0,
1: + hwmon_pwm_enable = 1,
1: + hwmon_pwm_mode = 2,
1: + hwmon_pwm_freq = 3,
1: };
1:
1: struct trace_event_raw_hwmon_attr_class {
1: - struct trace_entry ent;
1: - int index;
1: - u32 __data_loc_attr_name;
1: - long int val;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int index;
1: + u32 __data_loc_attr_name;
1: + long int val;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_hwmon_attr_show_string {
1: - struct trace_entry ent;
1: - int index;
1: - u32 __data_loc_attr_name;
1: - u32 __data_loc_label;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int index;
1: + u32 __data_loc_attr_name;
1: + u32 __data_loc_label;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_hwmon_attr_class {
1: - u32 attr_name;
1: + u32 attr_name;
1: };
1:
1: struct trace_event_data_offsets_hwmon_attr_show_string {
1: - u32 attr_name;
1: - u32 label;
1: + u32 attr_name;
1: + u32 label;
1: };
1:
1: struct hwmon_device {
1: - const char *name;
1: - struct device dev;
1: - const struct hwmon_chip_info *chip;
1: - struct attribute_group group;
1: - const struct attribute_group **groups;
1: + const char *name;
1: + struct device dev;
1: + const struct hwmon_chip_info *chip;
1: + struct attribute_group group;
1: + const struct attribute_group **groups;
1: };
1:
1: struct hwmon_device_attribute {
1: - struct device_attribute dev_attr;
1: - const struct hwmon_ops *ops;
1: - enum hwmon_sensor_types type;
1: - u32 attr;
1: - int index;
1: - char name[32];
1: + struct device_attribute dev_attr;
1: + const struct hwmon_ops *ops;
1: + enum hwmon_sensor_types type;
1: + u32 attr;
1: + int index;
1: + char name[32];
1: };
1:
1: struct trace_event_raw_thermal_temperature {
1: - struct trace_entry ent;
1: - u32 __data_loc_thermal_zone;
1: - int id;
1: - int temp_prev;
1: - int temp;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_thermal_zone;
1: + int id;
1: + int temp_prev;
1: + int temp;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cdev_update {
1: - struct trace_entry ent;
1: - u32 __data_loc_type;
1: - long unsigned int target;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_type;
1: + long unsigned int target;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_thermal_zone_trip {
1: - struct trace_entry ent;
1: - u32 __data_loc_thermal_zone;
1: - int id;
1: - int trip;
1: - enum thermal_trip_type trip_type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_thermal_zone;
1: + int id;
1: + int trip;
1: + enum thermal_trip_type trip_type;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_thermal_temperature {
1: - u32 thermal_zone;
1: + u32 thermal_zone;
1: };
1:
1: struct trace_event_data_offsets_cdev_update {
1: - u32 type;
1: + u32 type;
1: };
1:
1: struct trace_event_data_offsets_thermal_zone_trip {
1: - u32 thermal_zone;
1: + u32 thermal_zone;
1: };
1:
1: struct thermal_instance {
1: - int id;
1: - char name[20];
1: - struct thermal_zone_device *tz;
1: - struct thermal_cooling_device *cdev;
1: - int trip;
1: - bool initialized;
1: - long unsigned int upper;
1: - long unsigned int lower;
1: - long unsigned int target;
1: - char attr_name[20];
1: - struct device_attribute attr;
1: - char weight_attr_name[20];
1: - struct device_attribute weight_attr;
1: - struct list_head tz_node;
1: - struct list_head cdev_node;
1: - unsigned int weight;
1: + int id;
1: + char name[20];
1: + struct thermal_zone_device *tz;
1: + struct thermal_cooling_device *cdev;
1: + int trip;
1: + bool initialized;
1: + long unsigned int upper;
1: + long unsigned int lower;
1: + long unsigned int target;
1: + char attr_name[20];
1: + struct device_attribute attr;
1: + char weight_attr_name[20];
1: + struct device_attribute weight_attr;
1: + struct list_head tz_node;
1: + struct list_head cdev_node;
1: + unsigned int weight;
1: };
1:
1: struct thermal_hwmon_device {
1: - char type[20];
1: - struct device *device;
1: - int count;
1: - struct list_head tz_list;
1: - struct list_head node;
1: + char type[20];
1: + struct device *device;
1: + int count;
1: + struct list_head tz_list;
1: + struct list_head node;
1: };
1:
1: struct thermal_hwmon_attr {
1: - struct device_attribute attr;
1: - char name[16];
1: + struct device_attribute attr;
1: + char name[16];
1: };
1:
1: struct thermal_hwmon_temp {
1: - struct list_head hwmon_node;
1: - struct thermal_zone_device *tz;
1: - struct thermal_hwmon_attr temp_input;
1: - struct thermal_hwmon_attr temp_crit;
1: + struct list_head hwmon_node;
1: + struct thermal_zone_device *tz;
1: + struct thermal_hwmon_attr temp_input;
1: + struct thermal_hwmon_attr temp_crit;
1: };
1:
1: struct mdp_device_descriptor_s {
1: - __u32 number;
1: - __u32 major;
1: - __u32 minor;
1: - __u32 raid_disk;
1: - __u32 state;
1: - __u32 reserved[27];
1: + __u32 number;
1: + __u32 major;
1: + __u32 minor;
1: + __u32 raid_disk;
1: + __u32 state;
1: + __u32 reserved[27];
1: };
1:
1: typedef struct mdp_device_descriptor_s mdp_disk_t;
1:
1: struct mdp_superblock_s {
1: - __u32 md_magic;
1: - __u32 major_version;
1: - __u32 minor_version;
1: - __u32 patch_version;
1: - __u32 gvalid_words;
1: - __u32 set_uuid0;
1: - __u32 ctime;
1: - __u32 level;
1: - __u32 size;
1: - __u32 nr_disks;
1: - __u32 raid_disks;
1: - __u32 md_minor;
1: - __u32 not_persistent;
1: - __u32 set_uuid1;
1: - __u32 set_uuid2;
1: - __u32 set_uuid3;
1: - __u32 gstate_creserved[16];
1: - __u32 utime;
1: - __u32 state;
1: - __u32 active_disks;
1: - __u32 working_disks;
1: - __u32 failed_disks;
1: - __u32 spare_disks;
1: - __u32 sb_csum;
1: - __u32 events_lo;
1: - __u32 events_hi;
1: - __u32 cp_events_lo;
1: - __u32 cp_events_hi;
1: - __u32 recovery_cp;
1: - __u64 reshape_position;
1: - __u32 new_level;
1: - __u32 delta_disks;
1: - __u32 new_layout;
1: - __u32 new_chunk;
1: - __u32 gstate_sreserved[14];
1: - __u32 layout;
1: - __u32 chunk_size;
1: - __u32 root_pv;
1: - __u32 root_block;
1: - __u32 pstate_reserved[60];
1: - mdp_disk_t disks[27];
1: - __u32 reserved[0];
1: - mdp_disk_t this_disk;
1: + __u32 md_magic;
1: + __u32 major_version;
1: + __u32 minor_version;
1: + __u32 patch_version;
1: + __u32 gvalid_words;
1: + __u32 set_uuid0;
1: + __u32 ctime;
1: + __u32 level;
1: + __u32 size;
1: + __u32 nr_disks;
1: + __u32 raid_disks;
1: + __u32 md_minor;
1: + __u32 not_persistent;
1: + __u32 set_uuid1;
1: + __u32 set_uuid2;
1: + __u32 set_uuid3;
1: + __u32 gstate_creserved[16];
1: + __u32 utime;
1: + __u32 state;
1: + __u32 active_disks;
1: + __u32 working_disks;
1: + __u32 failed_disks;
1: + __u32 spare_disks;
1: + __u32 sb_csum;
1: + __u32 events_lo;
1: + __u32 events_hi;
1: + __u32 cp_events_lo;
1: + __u32 cp_events_hi;
1: + __u32 recovery_cp;
1: + __u64 reshape_position;
1: + __u32 new_level;
1: + __u32 delta_disks;
1: + __u32 new_layout;
1: + __u32 new_chunk;
1: + __u32 gstate_sreserved[14];
1: + __u32 layout;
1: + __u32 chunk_size;
1: + __u32 root_pv;
1: + __u32 root_block;
1: + __u32 pstate_reserved[60];
1: + mdp_disk_t disks[27];
1: + __u32 reserved[0];
1: + mdp_disk_t this_disk;
1: };
1:
1: typedef struct mdp_superblock_s mdp_super_t;
1:
1: struct mdp_superblock_1 {
1: - __le32 magic;
1: - __le32 major_version;
1: - __le32 feature_map;
1: - __le32 pad0;
1: - __u8 set_uuid[16];
1: - char set_name[32];
1: - __le64 ctime;
1: - __le32 level;
1: - __le32 layout;
1: - __le64 size;
1: - __le32 chunksize;
1: - __le32 raid_disks;
1: - union {
1: - __le32 bitmap_offset;
1: - struct {
1: - __le16 offset;
1: - __le16 size;
1: - } ppl;
1: - };
1: - __le32 new_level;
1: - __le64 reshape_position;
1: - __le32 delta_disks;
1: - __le32 new_layout;
1: - __le32 new_chunk;
1: - __le32 new_offset;
1: - __le64 data_offset;
1: - __le64 data_size;
1: - __le64 super_offset;
1: - union {
1: - __le64 recovery_offset;
1: - __le64 journal_tail;
1: - };
1: - __le32 dev_number;
1: - __le32 cnt_corrected_read;
1: - __u8 device_uuid[16];
1: - __u8 devflags;
1: - __u8 bblog_shift;
1: - __le16 bblog_size;
1: - __le32 bblog_offset;
1: - __le64 utime;
1: - __le64 events;
1: - __le64 resync_offset;
1: - __le32 sb_csum;
1: - __le32 max_dev;
1: - __u8 pad3[32];
1: - __le16 dev_roles[0];
1: + __le32 magic;
1: + __le32 major_version;
1: + __le32 feature_map;
1: + __le32 pad0;
1: + __u8 set_uuid[16];
1: + char set_name[32];
1: + __le64 ctime;
1: + __le32 level;
1: + __le32 layout;
1: + __le64 size;
1: + __le32 chunksize;
1: + __le32 raid_disks;
1: + union {
1: + __le32 bitmap_offset;
1: + struct {
1: + __le16 offset;
1: + __le16 size;
1: + } ppl;
1: + };
1: + __le32 new_level;
1: + __le64 reshape_position;
1: + __le32 delta_disks;
1: + __le32 new_layout;
1: + __le32 new_chunk;
1: + __le32 new_offset;
1: + __le64 data_offset;
1: + __le64 data_size;
1: + __le64 super_offset;
1: + union {
1: + __le64 recovery_offset;
1: + __le64 journal_tail;
1: + };
1: + __le32 dev_number;
1: + __le32 cnt_corrected_read;
1: + __u8 device_uuid[16];
1: + __u8 devflags;
1: + __u8 bblog_shift;
1: + __le16 bblog_size;
1: + __le32 bblog_offset;
1: + __le64 utime;
1: + __le64 events;
1: + __le64 resync_offset;
1: + __le32 sb_csum;
1: + __le32 max_dev;
1: + __u8 pad3[32];
1: + __le16 dev_roles[0];
1: };
1:
1: struct mdu_version_s {
1: - int major;
1: - int minor;
1: - int patchlevel;
1: + int major;
1: + int minor;
1: + int patchlevel;
1: };
1:
1: typedef struct mdu_version_s mdu_version_t;
1:
1: struct mdu_bitmap_file_s {
1: - char pathname[4096];
1: + char pathname[4096];
1: };
1:
1: typedef struct mdu_bitmap_file_s mdu_bitmap_file_t;
1: @@ -92717,27 +93361,27 @@ struct mddev;
1: struct md_rdev;
1:
1: struct md_cluster_operations {
1: - int (*join)(struct mddev *, int);
1: - int (*leave)(struct mddev *);
1: - int (*slot_number)(struct mddev *);
1: - int (*resync_info_update)(struct mddev *, sector_t, sector_t);
1: - void (*resync_info_get)(struct mddev *, sector_t *, sector_t *);
1: - int (*metadata_update_start)(struct mddev *);
1: - int (*metadata_update_finish)(struct mddev *);
1: - void (*metadata_update_cancel)(struct mddev *);
1: - int (*resync_start)(struct mddev *);
1: - int (*resync_finish)(struct mddev *);
1: - int (*area_resyncing)(struct mddev *, int, sector_t, sector_t);
1: - int (*add_new_disk)(struct mddev *, struct md_rdev *);
1: - void (*add_new_disk_cancel)(struct mddev *);
1: - int (*new_disk_ack)(struct mddev *, bool);
1: - int (*remove_disk)(struct mddev *, struct md_rdev *);
1: - void (*load_bitmaps)(struct mddev *, int);
1: - int (*gather_bitmaps)(struct md_rdev *);
1: - int (*resize_bitmaps)(struct mddev *, sector_t, sector_t);
1: - int (*lock_all_bitmaps)(struct mddev *);
1: - void (*unlock_all_bitmaps)(struct mddev *);
1: - void (*update_size)(struct mddev *, sector_t);
1: + int (*join)(struct mddev *, int);
1: + int (*leave)(struct mddev *);
1: + int (*slot_number)(struct mddev *);
1: + int (*resync_info_update)(struct mddev *, sector_t, sector_t);
1: + void (*resync_info_get)(struct mddev *, sector_t *, sector_t *);
1: + int (*metadata_update_start)(struct mddev *);
1: + int (*metadata_update_finish)(struct mddev *);
1: + void (*metadata_update_cancel)(struct mddev *);
1: + int (*resync_start)(struct mddev *);
1: + int (*resync_finish)(struct mddev *);
1: + int (*area_resyncing)(struct mddev *, int, sector_t, sector_t);
1: + int (*add_new_disk)(struct mddev *, struct md_rdev *);
1: + void (*add_new_disk_cancel)(struct mddev *);
1: + int (*new_disk_ack)(struct mddev *, bool);
1: + int (*remove_disk)(struct mddev *, struct md_rdev *);
1: + void (*load_bitmaps)(struct mddev *, int);
1: + int (*gather_bitmaps)(struct md_rdev *);
1: + int (*resize_bitmaps)(struct mddev *, sector_t, sector_t);
1: + int (*lock_all_bitmaps)(struct mddev *);
1: + void (*unlock_all_bitmaps)(struct mddev *);
1: + void (*update_size)(struct mddev *, sector_t);
1: };
1:
1: struct md_cluster_info;
1: @@ -92749,399 +93393,399 @@ struct md_thread;
1: struct bitmap;
1:
1: struct mddev {
1: - void *private;
1: - struct md_personality *pers;
1: - dev_t unit;
1: - int md_minor;
1: - struct list_head disks;
1: - long unsigned int flags;
1: - long unsigned int sb_flags;
1: - int suspended;
1: - atomic_t active_io;
1: - int ro;
1: - int sysfs_active;
1: - struct gendisk *gendisk;
1: - struct kobject kobj;
1: - int hold_active;
1: - int major_version;
1: - int minor_version;
1: - int patch_version;
1: - int persistent;
1: - int external;
1: - char metadata_type[17];
1: - int chunk_sectors;
1: - time64_t ctime;
1: - time64_t utime;
1: - int level;
1: - int layout;
1: - char clevel[16];
1: - int raid_disks;
1: - int max_disks;
1: - sector_t dev_sectors;
1: - sector_t array_sectors;
1: - int external_size;
1: - __u64 events;
1: - int can_decrease_events;
1: - char uuid[16];
1: - sector_t reshape_position;
1: - int delta_disks;
1: - int new_level;
1: - int new_layout;
1: - int new_chunk_sectors;
1: - int reshape_backwards;
1: - struct md_thread *thread;
1: - struct md_thread *sync_thread;
1: - char *last_sync_action;
1: - sector_t curr_resync;
1: - sector_t curr_resync_completed;
1: - long unsigned int resync_mark;
1: - sector_t resync_mark_cnt;
1: - sector_t curr_mark_cnt;
1: - sector_t resync_max_sectors;
1: - atomic64_t resync_mismatches;
1: - sector_t suspend_lo;
1: - sector_t suspend_hi;
1: - int sync_speed_min;
1: - int sync_speed_max;
1: - int parallel_resync;
1: - int ok_start_degraded;
1: - long unsigned int recovery;
1: - int recovery_disabled;
1: - int in_sync;
1: - struct mutex open_mutex;
1: - struct mutex reconfig_mutex;
1: - atomic_t active;
1: - atomic_t openers;
1: - int changed;
1: - int degraded;
1: - atomic_t recovery_active;
1: - wait_queue_head_t recovery_wait;
1: - sector_t recovery_cp;
1: - sector_t resync_min;
1: - sector_t resync_max;
1: - struct kernfs_node *sysfs_state;
1: - struct kernfs_node *sysfs_action;
1: - struct work_struct del_work;
1: - spinlock_t lock;
1: - wait_queue_head_t sb_wait;
1: - atomic_t pending_writes;
1: - unsigned int safemode;
1: - unsigned int safemode_delay;
1: - struct timer_list safemode_timer;
1: - struct percpu_ref writes_pending;
1: - int sync_checkers;
1: - struct request_queue *queue;
1: - struct bitmap *bitmap;
1: - struct {
1: - struct file *file;
1: - loff_t offset;
1: - long unsigned int space;
1: - loff_t default_offset;
1: - long unsigned int default_space;
1: - struct mutex mutex;
1: - long unsigned int chunksize;
1: - long unsigned int daemon_sleep;
1: - long unsigned int max_write_behind;
1: - int external;
1: - int nodes;
1: - char cluster_name[64];
1: - } bitmap_info;
1: - atomic_t max_corr_read_errors;
1: - struct list_head all_mddevs;
1: - struct attribute_group *to_remove;
1: - struct bio_set bio_set;
1: - struct bio_set sync_set;
1: - struct bio *flush_bio;
1: - atomic_t flush_pending;
1: - ktime_t start_flush;
1: - ktime_t last_flush;
1: - struct work_struct flush_work;
1: - struct work_struct event_work;
1: - mempool_t *wb_info_pool;
1: - void (*sync_super)(struct mddev *, struct md_rdev *);
1: - struct md_cluster_info *cluster_info;
1: - unsigned int good_device_nr;
1: - bool has_superblocks: 1;
1: - bool fail_last_dev: 1;
1: + void *private;
1: + struct md_personality *pers;
1: + dev_t unit;
1: + int md_minor;
1: + struct list_head disks;
1: + long unsigned int flags;
1: + long unsigned int sb_flags;
1: + int suspended;
1: + atomic_t active_io;
1: + int ro;
1: + int sysfs_active;
1: + struct gendisk *gendisk;
1: + struct kobject kobj;
1: + int hold_active;
1: + int major_version;
1: + int minor_version;
1: + int patch_version;
1: + int persistent;
1: + int external;
1: + char metadata_type[17];
1: + int chunk_sectors;
1: + time64_t ctime;
1: + time64_t utime;
1: + int level;
1: + int layout;
1: + char clevel[16];
1: + int raid_disks;
1: + int max_disks;
1: + sector_t dev_sectors;
1: + sector_t array_sectors;
1: + int external_size;
1: + __u64 events;
1: + int can_decrease_events;
1: + char uuid[16];
1: + sector_t reshape_position;
1: + int delta_disks;
1: + int new_level;
1: + int new_layout;
1: + int new_chunk_sectors;
1: + int reshape_backwards;
1: + struct md_thread *thread;
1: + struct md_thread *sync_thread;
1: + char *last_sync_action;
1: + sector_t curr_resync;
1: + sector_t curr_resync_completed;
1: + long unsigned int resync_mark;
1: + sector_t resync_mark_cnt;
1: + sector_t curr_mark_cnt;
1: + sector_t resync_max_sectors;
1: + atomic64_t resync_mismatches;
1: + sector_t suspend_lo;
1: + sector_t suspend_hi;
1: + int sync_speed_min;
1: + int sync_speed_max;
1: + int parallel_resync;
1: + int ok_start_degraded;
1: + long unsigned int recovery;
1: + int recovery_disabled;
1: + int in_sync;
1: + struct mutex open_mutex;
1: + struct mutex reconfig_mutex;
1: + atomic_t active;
1: + atomic_t openers;
1: + int changed;
1: + int degraded;
1: + atomic_t recovery_active;
1: + wait_queue_head_t recovery_wait;
1: + sector_t recovery_cp;
1: + sector_t resync_min;
1: + sector_t resync_max;
1: + struct kernfs_node *sysfs_state;
1: + struct kernfs_node *sysfs_action;
1: + struct work_struct del_work;
1: + spinlock_t lock;
1: + wait_queue_head_t sb_wait;
1: + atomic_t pending_writes;
1: + unsigned int safemode;
1: + unsigned int safemode_delay;
1: + struct timer_list safemode_timer;
1: + struct percpu_ref writes_pending;
1: + int sync_checkers;
1: + struct request_queue *queue;
1: + struct bitmap *bitmap;
1: + struct {
1: + struct file *file;
1: + loff_t offset;
1: + long unsigned int space;
1: + loff_t default_offset;
1: + long unsigned int default_space;
1: + struct mutex mutex;
1: + long unsigned int chunksize;
1: + long unsigned int daemon_sleep;
1: + long unsigned int max_write_behind;
1: + int external;
1: + int nodes;
1: + char cluster_name[64];
1: + } bitmap_info;
1: + atomic_t max_corr_read_errors;
1: + struct list_head all_mddevs;
1: + struct attribute_group *to_remove;
1: + struct bio_set bio_set;
1: + struct bio_set sync_set;
1: + struct bio *flush_bio;
1: + atomic_t flush_pending;
1: + ktime_t start_flush;
1: + ktime_t last_flush;
1: + struct work_struct flush_work;
1: + struct work_struct event_work;
1: + mempool_t *wb_info_pool;
1: + void (*sync_super)(struct mddev *, struct md_rdev *);
1: + struct md_cluster_info *cluster_info;
1: + unsigned int good_device_nr;
1: + bool has_superblocks : 1;
1: + bool fail_last_dev : 1;
1: };
1:
1: struct md_rdev {
1: - struct list_head same_set;
1: - sector_t sectors;
1: - struct mddev *mddev;
1: - int last_events;
1: - struct block_device *meta_bdev;
1: - struct block_device *bdev;
1: - struct page *sb_page;
1: - struct page *bb_page;
1: - int sb_loaded;
1: - __u64 sb_events;
1: - sector_t data_offset;
1: - sector_t new_data_offset;
1: - sector_t sb_start;
1: - int sb_size;
1: - int preferred_minor;
1: - struct kobject kobj;
1: - long unsigned int flags;
1: - wait_queue_head_t blocked_wait;
1: - int desc_nr;
1: - int raid_disk;
1: - int new_raid_disk;
1: - int saved_raid_disk;
1: - union {
1: - sector_t recovery_offset;
1: - sector_t journal_tail;
1: - };
1: - atomic_t nr_pending;
1: - atomic_t read_errors;
1: - time64_t last_read_error;
1: - atomic_t corrected_errors;
1: - struct list_head wb_list;
1: - spinlock_t wb_list_lock;
1: - wait_queue_head_t wb_io_wait;
1: - struct work_struct del_work;
1: - struct kernfs_node *sysfs_state;
1: - struct badblocks badblocks;
1: - struct {
1: - short int offset;
1: - unsigned int size;
1: - sector_t sector;
1: - } ppl;
1: + struct list_head same_set;
1: + sector_t sectors;
1: + struct mddev *mddev;
1: + int last_events;
1: + struct block_device *meta_bdev;
1: + struct block_device *bdev;
1: + struct page *sb_page;
1: + struct page *bb_page;
1: + int sb_loaded;
1: + __u64 sb_events;
1: + sector_t data_offset;
1: + sector_t new_data_offset;
1: + sector_t sb_start;
1: + int sb_size;
1: + int preferred_minor;
1: + struct kobject kobj;
1: + long unsigned int flags;
1: + wait_queue_head_t blocked_wait;
1: + int desc_nr;
1: + int raid_disk;
1: + int new_raid_disk;
1: + int saved_raid_disk;
1: + union {
1: + sector_t recovery_offset;
1: + sector_t journal_tail;
1: + };
1: + atomic_t nr_pending;
1: + atomic_t read_errors;
1: + time64_t last_read_error;
1: + atomic_t corrected_errors;
1: + struct list_head wb_list;
1: + spinlock_t wb_list_lock;
1: + wait_queue_head_t wb_io_wait;
1: + struct work_struct del_work;
1: + struct kernfs_node *sysfs_state;
1: + struct badblocks badblocks;
1: + struct {
1: + short int offset;
1: + unsigned int size;
1: + sector_t sector;
1: + } ppl;
1: };
1:
1: enum flag_bits {
1: - Faulty = 0,
1: - In_sync = 1,
1: - Bitmap_sync = 2,
1: - WriteMostly = 3,
1: - AutoDetected = 4,
1: - Blocked = 5,
1: - WriteErrorSeen = 6,
1: - FaultRecorded = 7,
1: - BlockedBadBlocks = 8,
1: - WantReplacement = 9,
1: - Replacement = 10,
1: - Candidate = 11,
1: - Journal = 12,
1: - ClusterRemove = 13,
1: - RemoveSynchronized = 14,
1: - ExternalBbl = 15,
1: - FailFast = 16,
1: - LastDev = 17,
1: - WBCollisionCheck = 18,
1: + Faulty = 0,
1: + In_sync = 1,
1: + Bitmap_sync = 2,
1: + WriteMostly = 3,
1: + AutoDetected = 4,
1: + Blocked = 5,
1: + WriteErrorSeen = 6,
1: + FaultRecorded = 7,
1: + BlockedBadBlocks = 8,
1: + WantReplacement = 9,
1: + Replacement = 10,
1: + Candidate = 11,
1: + Journal = 12,
1: + ClusterRemove = 13,
1: + RemoveSynchronized = 14,
1: + ExternalBbl = 15,
1: + FailFast = 16,
1: + LastDev = 17,
1: + WBCollisionCheck = 18,
1: };
1:
1: enum mddev_flags {
1: - MD_ARRAY_FIRST_USE = 0,
1: - MD_CLOSING = 1,
1: - MD_JOURNAL_CLEAN = 2,
1: - MD_HAS_JOURNAL = 3,
1: - MD_CLUSTER_RESYNC_LOCKED = 4,
1: - MD_FAILFAST_SUPPORTED = 5,
1: - MD_HAS_PPL = 6,
1: - MD_HAS_MULTIPLE_PPLS = 7,
1: - MD_ALLOW_SB_UPDATE = 8,
1: - MD_UPDATING_SB = 9,
1: - MD_NOT_READY = 10,
1: - MD_BROKEN = 11,
1: + MD_ARRAY_FIRST_USE = 0,
1: + MD_CLOSING = 1,
1: + MD_JOURNAL_CLEAN = 2,
1: + MD_HAS_JOURNAL = 3,
1: + MD_CLUSTER_RESYNC_LOCKED = 4,
1: + MD_FAILFAST_SUPPORTED = 5,
1: + MD_HAS_PPL = 6,
1: + MD_HAS_MULTIPLE_PPLS = 7,
1: + MD_ALLOW_SB_UPDATE = 8,
1: + MD_UPDATING_SB = 9,
1: + MD_NOT_READY = 10,
1: + MD_BROKEN = 11,
1: };
1:
1: enum mddev_sb_flags {
1: - MD_SB_CHANGE_DEVS = 0,
1: - MD_SB_CHANGE_CLEAN = 1,
1: - MD_SB_CHANGE_PENDING = 2,
1: - MD_SB_NEED_REWRITE = 3,
1: + MD_SB_CHANGE_DEVS = 0,
1: + MD_SB_CHANGE_CLEAN = 1,
1: + MD_SB_CHANGE_PENDING = 2,
1: + MD_SB_NEED_REWRITE = 3,
1: };
1:
1: struct md_personality {
1: - char *name;
1: - int level;
1: - struct list_head list;
1: - struct module *owner;
1: - bool (*make_request)(struct mddev *, struct bio *);
1: - int (*run)(struct mddev *);
1: - int (*start)(struct mddev *);
1: - void (*free)(struct mddev *, void *);
1: - void (*status)(struct seq_file *, struct mddev *);
1: - void (*error_handler)(struct mddev *, struct md_rdev *);
1: - int (*hot_add_disk)(struct mddev *, struct md_rdev *);
1: - int (*hot_remove_disk)(struct mddev *, struct md_rdev *);
1: - int (*spare_active)(struct mddev *);
1: - sector_t (*sync_request)(struct mddev *, sector_t, int *);
1: - int (*resize)(struct mddev *, sector_t);
1: - sector_t (*size)(struct mddev *, sector_t, int);
1: - int (*check_reshape)(struct mddev *);
1: - int (*start_reshape)(struct mddev *);
1: - void (*finish_reshape)(struct mddev *);
1: - void (*update_reshape_pos)(struct mddev *);
1: - void (*quiesce)(struct mddev *, int);
1: - void * (*takeover)(struct mddev *);
1: - int (*congested)(struct mddev *, int);
1: - int (*change_consistency_policy)(struct mddev *, const char *);
1: + char *name;
1: + int level;
1: + struct list_head list;
1: + struct module *owner;
1: + bool (*make_request)(struct mddev *, struct bio *);
1: + int (*run)(struct mddev *);
1: + int (*start)(struct mddev *);
1: + void (*free)(struct mddev *, void *);
1: + void (*status)(struct seq_file *, struct mddev *);
1: + void (*error_handler)(struct mddev *, struct md_rdev *);
1: + int (*hot_add_disk)(struct mddev *, struct md_rdev *);
1: + int (*hot_remove_disk)(struct mddev *, struct md_rdev *);
1: + int (*spare_active)(struct mddev *);
1: + sector_t (*sync_request)(struct mddev *, sector_t, int *);
1: + int (*resize)(struct mddev *, sector_t);
1: + sector_t (*size)(struct mddev *, sector_t, int);
1: + int (*check_reshape)(struct mddev *);
1: + int (*start_reshape)(struct mddev *);
1: + void (*finish_reshape)(struct mddev *);
1: + void (*update_reshape_pos)(struct mddev *);
1: + void (*quiesce)(struct mddev *, int);
1: + void *(*takeover)(struct mddev *);
1: + int (*congested)(struct mddev *, int);
1: + int (*change_consistency_policy)(struct mddev *, const char *);
1: };
1:
1: struct md_thread {
1: - void (*run)(struct md_thread *);
1: - struct mddev *mddev;
1: - wait_queue_head_t wqueue;
1: - long unsigned int flags;
1: - struct task_struct *tsk;
1: - long unsigned int timeout;
1: - void *private;
1: + void (*run)(struct md_thread *);
1: + struct mddev *mddev;
1: + wait_queue_head_t wqueue;
1: + long unsigned int flags;
1: + struct task_struct *tsk;
1: + long unsigned int timeout;
1: + void *private;
1: };
1:
1: struct bitmap_page;
1:
1: struct bitmap_counts {
1: - spinlock_t lock;
1: - struct bitmap_page *bp;
1: - long unsigned int pages;
1: - long unsigned int missing_pages;
1: - long unsigned int chunkshift;
1: - long unsigned int chunks;
1: + spinlock_t lock;
1: + struct bitmap_page *bp;
1: + long unsigned int pages;
1: + long unsigned int missing_pages;
1: + long unsigned int chunkshift;
1: + long unsigned int chunks;
1: };
1:
1: struct bitmap_storage {
1: - struct file *file;
1: - struct page *sb_page;
1: - struct page **filemap;
1: - long unsigned int *filemap_attr;
1: - long unsigned int file_pages;
1: - long unsigned int bytes;
1: + struct file *file;
1: + struct page *sb_page;
1: + struct page **filemap;
1: + long unsigned int *filemap_attr;
1: + long unsigned int file_pages;
1: + long unsigned int bytes;
1: };
1:
1: struct bitmap {
1: - struct bitmap_counts counts;
1: - struct mddev *mddev;
1: - __u64 events_cleared;
1: - int need_sync;
1: - struct bitmap_storage storage;
1: - long unsigned int flags;
1: - int allclean;
1: - atomic_t behind_writes;
1: - long unsigned int behind_writes_used;
1: - long unsigned int daemon_lastrun;
1: - long unsigned int last_end_sync;
1: - atomic_t pending_writes;
1: - wait_queue_head_t write_wait;
1: - wait_queue_head_t overflow_wait;
1: - wait_queue_head_t behind_wait;
1: - struct kernfs_node *sysfs_can_clear;
1: - int cluster_slot;
1: + struct bitmap_counts counts;
1: + struct mddev *mddev;
1: + __u64 events_cleared;
1: + int need_sync;
1: + struct bitmap_storage storage;
1: + long unsigned int flags;
1: + int allclean;
1: + atomic_t behind_writes;
1: + long unsigned int behind_writes_used;
1: + long unsigned int daemon_lastrun;
1: + long unsigned int last_end_sync;
1: + atomic_t pending_writes;
1: + wait_queue_head_t write_wait;
1: + wait_queue_head_t overflow_wait;
1: + wait_queue_head_t behind_wait;
1: + struct kernfs_node *sysfs_can_clear;
1: + int cluster_slot;
1: };
1:
1: enum recovery_flags {
1: - MD_RECOVERY_RUNNING = 0,
1: - MD_RECOVERY_SYNC = 1,
1: - MD_RECOVERY_RECOVER = 2,
1: - MD_RECOVERY_INTR = 3,
1: - MD_RECOVERY_DONE = 4,
1: - MD_RECOVERY_NEEDED = 5,
1: - MD_RECOVERY_REQUESTED = 6,
1: - MD_RECOVERY_CHECK = 7,
1: - MD_RECOVERY_RESHAPE = 8,
1: - MD_RECOVERY_FROZEN = 9,
1: - MD_RECOVERY_ERROR = 10,
1: - MD_RECOVERY_WAIT = 11,
1: - MD_RESYNCING_REMOTE = 12,
1: + MD_RECOVERY_RUNNING = 0,
1: + MD_RECOVERY_SYNC = 1,
1: + MD_RECOVERY_RECOVER = 2,
1: + MD_RECOVERY_INTR = 3,
1: + MD_RECOVERY_DONE = 4,
1: + MD_RECOVERY_NEEDED = 5,
1: + MD_RECOVERY_REQUESTED = 6,
1: + MD_RECOVERY_CHECK = 7,
1: + MD_RECOVERY_RESHAPE = 8,
1: + MD_RECOVERY_FROZEN = 9,
1: + MD_RECOVERY_ERROR = 10,
1: + MD_RECOVERY_WAIT = 11,
1: + MD_RESYNCING_REMOTE = 12,
1: };
1:
1: struct md_sysfs_entry {
1: - struct attribute attr;
1: - ssize_t (*show)(struct mddev *, char *);
1: - ssize_t (*store)(struct mddev *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct mddev *, char *);
1: + ssize_t (*store)(struct mddev *, const char *, size_t);
1: };
1:
1: struct bitmap_page {
1: - char *map;
1: - unsigned int hijacked: 1;
1: - unsigned int pending: 1;
1: - unsigned int count: 30;
1: + char *map;
1: + unsigned int hijacked : 1;
1: + unsigned int pending : 1;
1: + unsigned int count : 30;
1: };
1:
1: struct super_type {
1: - char *name;
1: - struct module *owner;
1: - int (*load_super)(struct md_rdev *, struct md_rdev *, int);
1: - int (*validate_super)(struct mddev *, struct md_rdev *);
1: - void (*sync_super)(struct mddev *, struct md_rdev *);
1: - long long unsigned int (*rdev_size_change)(struct md_rdev *, sector_t);
1: - int (*allow_new_offset)(struct md_rdev *, long long unsigned int);
1: + char *name;
1: + struct module *owner;
1: + int (*load_super)(struct md_rdev *, struct md_rdev *, int);
1: + int (*validate_super)(struct mddev *, struct md_rdev *);
1: + void (*sync_super)(struct mddev *, struct md_rdev *);
1: + long long unsigned int (*rdev_size_change)(struct md_rdev *, sector_t);
1: + int (*allow_new_offset)(struct md_rdev *, long long unsigned int);
1: };
1:
1: struct rdev_sysfs_entry {
1: - struct attribute attr;
1: - ssize_t (*show)(struct md_rdev *, char *);
1: - ssize_t (*store)(struct md_rdev *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct md_rdev *, char *);
1: + ssize_t (*store)(struct md_rdev *, const char *, size_t);
1: };
1:
1: enum array_state {
1: - clear = 0,
1: - inactive = 1,
1: - suspended = 2,
1: - readonly = 3,
1: - read_auto = 4,
1: - clean = 5,
1: - active = 6,
1: - write_pending = 7,
1: - active_idle = 8,
1: - broken = 9,
1: - bad_word = 10,
1: + clear = 0,
1: + inactive = 1,
1: + suspended = 2,
1: + readonly = 3,
1: + read_auto = 4,
1: + clean = 5,
1: + active = 6,
1: + write_pending = 7,
1: + active_idle = 8,
1: + broken = 9,
1: + bad_word = 10,
1: };
1:
1: struct detected_devices_node {
1: - struct list_head list;
1: - dev_t dev;
1: + struct list_head list;
1: + dev_t dev;
1: };
1:
1: typedef __u16 bitmap_counter_t;
1:
1: enum bitmap_state {
1: - BITMAP_STALE = 1,
1: - BITMAP_WRITE_ERROR = 2,
1: - BITMAP_HOSTENDIAN = 15,
1: + BITMAP_STALE = 1,
1: + BITMAP_WRITE_ERROR = 2,
1: + BITMAP_HOSTENDIAN = 15,
1: };
1:
1: struct bitmap_super_s {
1: - __le32 magic;
1: - __le32 version;
1: - __u8 uuid[16];
1: - __le64 events;
1: - __le64 events_cleared;
1: - __le64 sync_size;
1: - __le32 state;
1: - __le32 chunksize;
1: - __le32 daemon_sleep;
1: - __le32 write_behind;
1: - __le32 sectors_reserved;
1: - __le32 nodes;
1: - __u8 cluster_name[64];
1: - __u8 pad[120];
1: + __le32 magic;
1: + __le32 version;
1: + __u8 uuid[16];
1: + __le64 events;
1: + __le64 events_cleared;
1: + __le64 sync_size;
1: + __le32 state;
1: + __le32 chunksize;
1: + __le32 daemon_sleep;
1: + __le32 write_behind;
1: + __le32 sectors_reserved;
1: + __le32 nodes;
1: + __u8 cluster_name[64];
1: + __u8 pad[120];
1: };
1:
1: typedef struct bitmap_super_s bitmap_super_t;
1:
1: enum bitmap_page_attr {
1: - BITMAP_PAGE_DIRTY = 0,
1: - BITMAP_PAGE_PENDING = 1,
1: - BITMAP_PAGE_NEEDWRITE = 2,
1: + BITMAP_PAGE_DIRTY = 0,
1: + BITMAP_PAGE_PENDING = 1,
1: + BITMAP_PAGE_NEEDWRITE = 2,
1: };
1:
1: enum dm_queue_mode {
1: - DM_TYPE_NONE = 0,
1: - DM_TYPE_BIO_BASED = 1,
1: - DM_TYPE_REQUEST_BASED = 2,
1: - DM_TYPE_DAX_BIO_BASED = 3,
1: - DM_TYPE_NVME_BIO_BASED = 4,
1: + DM_TYPE_NONE = 0,
1: + DM_TYPE_BIO_BASED = 1,
1: + DM_TYPE_REQUEST_BASED = 2,
1: + DM_TYPE_DAX_BIO_BASED = 3,
1: + DM_TYPE_NVME_BIO_BASED = 4,
1: };
1:
1: typedef enum {
1: - STATUSTYPE_INFO = 0,
1: - STATUSTYPE_TABLE = 1,
1: + STATUSTYPE_INFO = 0,
1: + STATUSTYPE_TABLE = 1,
1: } status_type_t;
1:
1: union map_info___2 {
1: - void *ptr;
1: + void *ptr;
1: };
1:
1: struct dm_target;
1: @@ -93153,34 +93797,38 @@ struct dm_table;
1: struct target_type;
1:
1: struct dm_target {
1: - struct dm_table *table;
1: - struct target_type *type;
1: - sector_t begin;
1: - sector_t len;
1: - uint32_t max_io_len;
1: - unsigned int num_flush_bios;
1: - unsigned int num_discard_bios;
1: - unsigned int num_secure_erase_bios;
1: - unsigned int num_write_same_bios;
1: - unsigned int num_write_zeroes_bios;
1: - unsigned int per_io_data_size;
1: - void *private;
1: - char *error;
1: - bool flush_supported: 1;
1: - bool discards_supported: 1;
1: + struct dm_table *table;
1: + struct target_type *type;
1: + sector_t begin;
1: + sector_t len;
1: + uint32_t max_io_len;
1: + unsigned int num_flush_bios;
1: + unsigned int num_discard_bios;
1: + unsigned int num_secure_erase_bios;
1: + unsigned int num_write_same_bios;
1: + unsigned int num_write_zeroes_bios;
1: + unsigned int per_io_data_size;
1: + void *private;
1: + char *error;
1: + bool flush_supported : 1;
1: + bool discards_supported : 1;
1: };
1:
1: typedef void (*dm_dtr_fn)(struct dm_target *);
1:
1: typedef int (*dm_map_fn)(struct dm_target *, struct bio *);
1:
1: -typedef int (*dm_clone_and_map_request_fn)(struct dm_target *, struct request *, union map_info___2 *, struct request **);
1: +typedef int (*dm_clone_and_map_request_fn)(struct dm_target *, struct request *,
1: + union map_info___2 *,
1: + struct request **);
1:
1: -typedef void (*dm_release_clone_request_fn)(struct request *, union map_info___2 *);
1: +typedef void (*dm_release_clone_request_fn)(struct request *,
1: + union map_info___2 *);
1:
1: typedef int (*dm_endio_fn)(struct dm_target *, struct bio *, blk_status_t *);
1:
1: -typedef int (*dm_request_endio_fn)(struct dm_target *, struct request *, blk_status_t, union map_info___2 *);
1: +typedef int (*dm_request_endio_fn)(struct dm_target *, struct request *,
1: + blk_status_t, union map_info___2 *);
1:
1: typedef void (*dm_presuspend_fn)(struct dm_target *);
1:
1: @@ -93192,547 +93840,559 @@ typedef int (*dm_preresume_fn)(struct dm_target *);
1:
1: typedef void (*dm_resume_fn)(struct dm_target *);
1:
1: -typedef void (*dm_status_fn)(struct dm_target *, status_type_t, unsigned int, char *, unsigned int);
1: +typedef void (*dm_status_fn)(struct dm_target *, status_type_t, unsigned int,
1: + char *, unsigned int);
1:
1: -typedef int (*dm_message_fn)(struct dm_target *, unsigned int, char **, char *, unsigned int);
1: +typedef int (*dm_message_fn)(struct dm_target *, unsigned int, char **, char *,
1: + unsigned int);
1:
1: typedef int (*dm_prepare_ioctl_fn)(struct dm_target *, struct block_device **);
1:
1: struct dm_dev;
1:
1: -typedef int (*iterate_devices_callout_fn)(struct dm_target *, struct dm_dev *, sector_t, sector_t, void *);
1: +typedef int (*iterate_devices_callout_fn)(struct dm_target *, struct dm_dev *,
1: + sector_t, sector_t, void *);
1:
1: struct dm_dev {
1: - struct block_device *bdev;
1: - struct dax_device *dax_dev;
1: - fmode_t mode;
1: - char name[16];
1: + struct block_device *bdev;
1: + struct dax_device *dax_dev;
1: + fmode_t mode;
1: + char name[16];
1: };
1:
1: -typedef int (*dm_iterate_devices_fn)(struct dm_target *, iterate_devices_callout_fn, void *);
1: +typedef int (*dm_iterate_devices_fn)(struct dm_target *,
1: + iterate_devices_callout_fn, void *);
1:
1: typedef void (*dm_io_hints_fn)(struct dm_target *, struct queue_limits *);
1:
1: typedef int (*dm_busy_fn)(struct dm_target *);
1:
1: -typedef long int (*dm_dax_direct_access_fn)(struct dm_target *, long unsigned int, long int, void **, pfn_t *);
1: +typedef long int (*dm_dax_direct_access_fn)(struct dm_target *,
1: + long unsigned int, long int,
1: + void **, pfn_t *);
1:
1: -typedef size_t (*dm_dax_copy_iter_fn)(struct dm_target *, long unsigned int, void *, size_t, struct iov_iter *);
1: +typedef size_t (*dm_dax_copy_iter_fn)(struct dm_target *, long unsigned int,
1: + void *, size_t, struct iov_iter *);
1:
1: struct target_type {
1: - uint64_t features;
1: - const char *name;
1: - struct module *module;
1: - unsigned int version[3];
1: - dm_ctr_fn ctr;
1: - dm_dtr_fn dtr;
1: - dm_map_fn map;
1: - dm_clone_and_map_request_fn clone_and_map_rq;
1: - dm_release_clone_request_fn release_clone_rq;
1: - dm_endio_fn end_io;
1: - dm_request_endio_fn rq_end_io;
1: - dm_presuspend_fn presuspend;
1: - dm_presuspend_undo_fn presuspend_undo;
1: - dm_postsuspend_fn postsuspend;
1: - dm_preresume_fn preresume;
1: - dm_resume_fn resume;
1: - dm_status_fn status;
1: - dm_message_fn message;
1: - dm_prepare_ioctl_fn prepare_ioctl;
1: - dm_busy_fn busy;
1: - dm_iterate_devices_fn iterate_devices;
1: - dm_io_hints_fn io_hints;
1: - dm_dax_direct_access_fn direct_access;
1: - dm_dax_copy_iter_fn dax_copy_from_iter;
1: - dm_dax_copy_iter_fn dax_copy_to_iter;
1: - struct list_head list;
1: + uint64_t features;
1: + const char *name;
1: + struct module *module;
1: + unsigned int version[3];
1: + dm_ctr_fn ctr;
1: + dm_dtr_fn dtr;
1: + dm_map_fn map;
1: + dm_clone_and_map_request_fn clone_and_map_rq;
1: + dm_release_clone_request_fn release_clone_rq;
1: + dm_endio_fn end_io;
1: + dm_request_endio_fn rq_end_io;
1: + dm_presuspend_fn presuspend;
1: + dm_presuspend_undo_fn presuspend_undo;
1: + dm_postsuspend_fn postsuspend;
1: + dm_preresume_fn preresume;
1: + dm_resume_fn resume;
1: + dm_status_fn status;
1: + dm_message_fn message;
1: + dm_prepare_ioctl_fn prepare_ioctl;
1: + dm_busy_fn busy;
1: + dm_iterate_devices_fn iterate_devices;
1: + dm_io_hints_fn io_hints;
1: + dm_dax_direct_access_fn direct_access;
1: + dm_dax_copy_iter_fn dax_copy_from_iter;
1: + dm_dax_copy_iter_fn dax_copy_to_iter;
1: + struct list_head list;
1: };
1:
1: struct dm_stats_last_position;
1:
1: struct dm_stats {
1: - struct mutex mutex;
1: - struct list_head list;
1: - struct dm_stats_last_position *last;
1: - sector_t last_sector;
1: - unsigned int last_rw;
1: + struct mutex mutex;
1: + struct list_head list;
1: + struct dm_stats_last_position *last;
1: + sector_t last_sector;
1: + unsigned int last_rw;
1: };
1:
1: struct dm_stats_aux {
1: - bool merged;
1: - long long unsigned int duration_ns;
1: + bool merged;
1: + long long unsigned int duration_ns;
1: };
1:
1: struct dm_kobject_holder {
1: - struct kobject kobj;
1: - struct completion completion;
1: + struct kobject kobj;
1: + struct completion completion;
1: };
1:
1: struct mapped_device {
1: - struct mutex suspend_lock;
1: - struct mutex table_devices_lock;
1: - struct list_head table_devices;
1: - void *map;
1: - long unsigned int flags;
1: - struct mutex type_lock;
1: - enum dm_queue_mode type;
1: - int numa_node_id;
1: - struct request_queue *queue;
1: - atomic_t holders;
1: - atomic_t open_count;
1: - struct dm_target *immutable_target;
1: - struct target_type *immutable_target_type;
1: - char name[16];
1: - struct gendisk *disk;
1: - struct dax_device *dax_dev;
1: - struct work_struct work;
1: - wait_queue_head_t wait;
1: - spinlock_t deferred_lock;
1: - struct bio_list deferred;
1: - void *interface_ptr;
1: - wait_queue_head_t eventq;
1: - atomic_t event_nr;
1: - atomic_t uevent_seq;
1: - struct list_head uevent_list;
1: - spinlock_t uevent_lock;
1: - unsigned int internal_suspend_count;
1: - struct bio_set io_bs;
1: - struct bio_set bs;
1: - struct workqueue_struct *wq;
1: - struct super_block *frozen_sb;
1: - struct hd_geometry geometry;
1: - struct dm_kobject_holder kobj_holder;
1: - struct block_device *bdev;
1: - struct dm_stats stats;
1: - struct blk_mq_tag_set *tag_set;
1: - bool init_tio_pdu: 1;
1: - struct srcu_struct io_barrier;
1: + struct mutex suspend_lock;
1: + struct mutex table_devices_lock;
1: + struct list_head table_devices;
1: + void *map;
1: + long unsigned int flags;
1: + struct mutex type_lock;
1: + enum dm_queue_mode type;
1: + int numa_node_id;
1: + struct request_queue *queue;
1: + atomic_t holders;
1: + atomic_t open_count;
1: + struct dm_target *immutable_target;
1: + struct target_type *immutable_target_type;
1: + char name[16];
1: + struct gendisk *disk;
1: + struct dax_device *dax_dev;
1: + struct work_struct work;
1: + wait_queue_head_t wait;
1: + spinlock_t deferred_lock;
1: + struct bio_list deferred;
1: + void *interface_ptr;
1: + wait_queue_head_t eventq;
1: + atomic_t event_nr;
1: + atomic_t uevent_seq;
1: + struct list_head uevent_list;
1: + spinlock_t uevent_lock;
1: + unsigned int internal_suspend_count;
1: + struct bio_set io_bs;
1: + struct bio_set bs;
1: + struct workqueue_struct *wq;
1: + struct super_block *frozen_sb;
1: + struct hd_geometry geometry;
1: + struct dm_kobject_holder kobj_holder;
1: + struct block_device *bdev;
1: + struct dm_stats stats;
1: + struct blk_mq_tag_set *tag_set;
1: + bool init_tio_pdu : 1;
1: + struct srcu_struct io_barrier;
1: };
1:
1: struct dax_operations {
1: - long int (*direct_access)(struct dax_device *, long unsigned int, long int, void **, pfn_t *);
1: - bool (*dax_supported)(struct dax_device *, struct block_device *, int, sector_t, sector_t);
1: - size_t (*copy_from_iter)(struct dax_device *, long unsigned int, void *, size_t, struct iov_iter *);
1: - size_t (*copy_to_iter)(struct dax_device *, long unsigned int, void *, size_t, struct iov_iter *);
1: + long int (*direct_access)(struct dax_device *, long unsigned int, long int,
1: + void **, pfn_t *);
1: + bool (*dax_supported)(struct dax_device *, struct block_device *, int,
1: + sector_t, sector_t);
1: + size_t (*copy_from_iter)(struct dax_device *, long unsigned int, void *,
1: + size_t, struct iov_iter *);
1: + size_t (*copy_to_iter)(struct dax_device *, long unsigned int, void *, size_t,
1: + struct iov_iter *);
1: };
1:
1: struct dm_io;
1:
1: struct clone_info {
1: - struct dm_table *map;
1: - struct bio *bio;
1: - struct dm_io *io;
1: - sector_t sector;
1: - unsigned int sector_count;
1: + struct dm_table *map;
1: + struct bio *bio;
1: + struct dm_io *io;
1: + sector_t sector;
1: + unsigned int sector_count;
1: };
1:
1: struct dm_target_io {
1: - unsigned int magic;
1: - struct dm_io *io;
1: - struct dm_target *ti;
1: - unsigned int target_bio_nr;
1: - unsigned int *len_ptr;
1: - bool inside_dm_io;
1: - struct bio clone;
1: + unsigned int magic;
1: + struct dm_io *io;
1: + struct dm_target *ti;
1: + unsigned int target_bio_nr;
1: + unsigned int *len_ptr;
1: + bool inside_dm_io;
1: + struct bio clone;
1: };
1:
1: struct dm_io {
1: - unsigned int magic;
1: - struct mapped_device *md;
1: - blk_status_t status;
1: - atomic_t io_count;
1: - struct bio *orig_bio;
1: - long unsigned int start_time;
1: - spinlock_t endio_lock;
1: - struct dm_stats_aux stats_aux;
1: - struct dm_target_io tio;
1: + unsigned int magic;
1: + struct mapped_device *md;
1: + blk_status_t status;
1: + atomic_t io_count;
1: + struct bio *orig_bio;
1: + long unsigned int start_time;
1: + spinlock_t endio_lock;
1: + struct dm_stats_aux stats_aux;
1: + struct dm_target_io tio;
1: };
1:
1: struct dm_md_mempools {
1: - struct bio_set bs;
1: - struct bio_set io_bs;
1: + struct bio_set bs;
1: + struct bio_set io_bs;
1: };
1:
1: struct table_device {
1: - struct list_head list;
1: - refcount_t count;
1: - struct dm_dev dm_dev;
1: + struct list_head list;
1: + refcount_t count;
1: + struct dm_dev dm_dev;
1: };
1:
1: struct dm_pr {
1: - u64 old_key;
1: - u64 new_key;
1: - u32 flags;
1: - bool fail_early;
1: + u64 old_key;
1: + u64 new_key;
1: + u32 flags;
1: + bool fail_early;
1: };
1:
1: struct dm_md_mempools___2;
1:
1: struct dm_table {
1: - struct mapped_device *md;
1: - enum dm_queue_mode type;
1: - unsigned int depth;
1: - unsigned int counts[16];
1: - sector_t *index[16];
1: - unsigned int num_targets;
1: - unsigned int num_allocated;
1: - sector_t *highs;
1: - struct dm_target *targets;
1: - struct target_type *immutable_target_type;
1: - bool integrity_supported: 1;
1: - bool singleton: 1;
1: - unsigned int integrity_added: 1;
1: - fmode_t mode;
1: - struct list_head devices;
1: - void (*event_fn)(void *);
1: - void *event_context;
1: - struct dm_md_mempools___2 *mempools;
1: - struct list_head target_callbacks;
1: + struct mapped_device *md;
1: + enum dm_queue_mode type;
1: + unsigned int depth;
1: + unsigned int counts[16];
1: + sector_t *index[16];
1: + unsigned int num_targets;
1: + unsigned int num_allocated;
1: + sector_t *highs;
1: + struct dm_target *targets;
1: + struct target_type *immutable_target_type;
1: + bool integrity_supported : 1;
1: + bool singleton : 1;
1: + unsigned int integrity_added : 1;
1: + fmode_t mode;
1: + struct list_head devices;
1: + void (*event_fn)(void *);
1: + void *event_context;
1: + struct dm_md_mempools___2 *mempools;
1: + struct list_head target_callbacks;
1: };
1:
1: struct dm_target_callbacks {
1: - struct list_head list;
1: - int (*congested_fn)(struct dm_target_callbacks *, int);
1: + struct list_head list;
1: + int (*congested_fn)(struct dm_target_callbacks *, int);
1: };
1:
1: struct dm_arg_set {
1: - unsigned int argc;
1: - char **argv;
1: + unsigned int argc;
1: + char **argv;
1: };
1:
1: struct dm_arg {
1: - unsigned int min;
1: - unsigned int max;
1: - char *error;
1: + unsigned int min;
1: + unsigned int max;
1: + char *error;
1: };
1:
1: struct dm_dev_internal {
1: - struct list_head list;
1: - refcount_t count;
1: - struct dm_dev *dm_dev;
1: + struct list_head list;
1: + refcount_t count;
1: + struct dm_dev *dm_dev;
1: };
1:
1: enum suspend_mode {
1: - PRESUSPEND = 0,
1: - PRESUSPEND_UNDO = 1,
1: - POSTSUSPEND = 2,
1: + PRESUSPEND = 0,
1: + PRESUSPEND_UNDO = 1,
1: + POSTSUSPEND = 2,
1: };
1:
1: struct linear_c {
1: - struct dm_dev *dev;
1: - sector_t start;
1: + struct dm_dev *dev;
1: + sector_t start;
1: };
1:
1: struct stripe {
1: - struct dm_dev *dev;
1: - sector_t physical_start;
1: - atomic_t error_count;
1: + struct dm_dev *dev;
1: + sector_t physical_start;
1: + atomic_t error_count;
1: };
1:
1: struct stripe_c {
1: - uint32_t stripes;
1: - int stripes_shift;
1: - sector_t stripe_width;
1: - uint32_t chunk_size;
1: - int chunk_size_shift;
1: - struct dm_target *ti;
1: - struct work_struct trigger_event;
1: - struct stripe stripe[0];
1: + uint32_t stripes;
1: + int stripes_shift;
1: + sector_t stripe_width;
1: + uint32_t chunk_size;
1: + int chunk_size_shift;
1: + struct dm_target *ti;
1: + struct work_struct trigger_event;
1: + struct stripe stripe[0];
1: };
1:
1: struct dm_ioctl {
1: - __u32 version[3];
1: - __u32 data_size;
1: - __u32 data_start;
1: - __u32 target_count;
1: - __s32 open_count;
1: - __u32 flags;
1: - __u32 event_nr;
1: - __u32 padding;
1: - __u64 dev;
1: - char name[128];
1: - char uuid[129];
1: - char data[7];
1: + __u32 version[3];
1: + __u32 data_size;
1: + __u32 data_start;
1: + __u32 target_count;
1: + __s32 open_count;
1: + __u32 flags;
1: + __u32 event_nr;
1: + __u32 padding;
1: + __u64 dev;
1: + char name[128];
1: + char uuid[129];
1: + char data[7];
1: };
1:
1: struct dm_target_spec {
1: - __u64 sector_start;
1: - __u64 length;
1: - __s32 status;
1: - __u32 next;
1: - char target_type[16];
1: + __u64 sector_start;
1: + __u64 length;
1: + __s32 status;
1: + __u32 next;
1: + char target_type[16];
1: };
1:
1: struct dm_target_deps {
1: - __u32 count;
1: - __u32 padding;
1: - __u64 dev[0];
1: + __u32 count;
1: + __u32 padding;
1: + __u64 dev[0];
1: };
1:
1: struct dm_name_list {
1: - __u64 dev;
1: - __u32 next;
1: - char name[0];
1: + __u64 dev;
1: + __u32 next;
1: + char name[0];
1: };
1:
1: struct dm_target_versions {
1: - __u32 next;
1: - __u32 version[3];
1: - char name[0];
1: + __u32 next;
1: + __u32 version[3];
1: + char name[0];
1: };
1:
1: struct dm_target_msg {
1: - __u64 sector;
1: - char message[0];
1: -};
1: -
1: -enum {
1: - DM_VERSION_CMD = 0,
1: - DM_REMOVE_ALL_CMD = 1,
1: - DM_LIST_DEVICES_CMD = 2,
1: - DM_DEV_CREATE_CMD = 3,
1: - DM_DEV_REMOVE_CMD = 4,
1: - DM_DEV_RENAME_CMD = 5,
1: - DM_DEV_SUSPEND_CMD = 6,
1: - DM_DEV_STATUS_CMD = 7,
1: - DM_DEV_WAIT_CMD = 8,
1: - DM_TABLE_LOAD_CMD = 9,
1: - DM_TABLE_CLEAR_CMD = 10,
1: - DM_TABLE_DEPS_CMD = 11,
1: - DM_TABLE_STATUS_CMD = 12,
1: - DM_LIST_VERSIONS_CMD = 13,
1: - DM_TARGET_MSG_CMD = 14,
1: - DM_DEV_SET_GEOMETRY_CMD = 15,
1: - DM_DEV_ARM_POLL_CMD = 16,
1: - DM_GET_TARGET_VERSION_CMD = 17,
1: + __u64 sector;
1: + char message[0];
1: +};
1: +
1: +enum {
1: + DM_VERSION_CMD = 0,
1: + DM_REMOVE_ALL_CMD = 1,
1: + DM_LIST_DEVICES_CMD = 2,
1: + DM_DEV_CREATE_CMD = 3,
1: + DM_DEV_REMOVE_CMD = 4,
1: + DM_DEV_RENAME_CMD = 5,
1: + DM_DEV_SUSPEND_CMD = 6,
1: + DM_DEV_STATUS_CMD = 7,
1: + DM_DEV_WAIT_CMD = 8,
1: + DM_TABLE_LOAD_CMD = 9,
1: + DM_TABLE_CLEAR_CMD = 10,
1: + DM_TABLE_DEPS_CMD = 11,
1: + DM_TABLE_STATUS_CMD = 12,
1: + DM_LIST_VERSIONS_CMD = 13,
1: + DM_TARGET_MSG_CMD = 14,
1: + DM_DEV_SET_GEOMETRY_CMD = 15,
1: + DM_DEV_ARM_POLL_CMD = 16,
1: + DM_GET_TARGET_VERSION_CMD = 17,
1: };
1:
1: struct dm_file {
1: - volatile unsigned int global_event_nr;
1: + volatile unsigned int global_event_nr;
1: };
1:
1: struct hash_cell {
1: - struct list_head name_list;
1: - struct list_head uuid_list;
1: - char *name;
1: - char *uuid;
1: - struct mapped_device *md;
1: - struct dm_table *new_map;
1: + struct list_head name_list;
1: + struct list_head uuid_list;
1: + char *name;
1: + char *uuid;
1: + struct mapped_device *md;
1: + struct dm_table *new_map;
1: };
1:
1: struct vers_iter {
1: - size_t param_size;
1: - struct dm_target_versions *vers;
1: - struct dm_target_versions *old_vers;
1: - char *end;
1: - uint32_t flags;
1: + size_t param_size;
1: + struct dm_target_versions *vers;
1: + struct dm_target_versions *old_vers;
1: + char *end;
1: + uint32_t flags;
1: };
1:
1: typedef int (*ioctl_fn___2)(struct file *, struct dm_ioctl *, size_t);
1:
1: struct dm_io_region {
1: - struct block_device *bdev;
1: - sector_t sector;
1: - sector_t count;
1: + struct block_device *bdev;
1: + sector_t sector;
1: + sector_t count;
1: };
1:
1: struct page_list {
1: - struct page_list *next;
1: - struct page *page;
1: + struct page_list *next;
1: + struct page *page;
1: };
1:
1: typedef void (*io_notify_fn)(long unsigned int, void *);
1:
1: enum dm_io_mem_type {
1: - DM_IO_PAGE_LIST = 0,
1: - DM_IO_BIO = 1,
1: - DM_IO_VMA = 2,
1: - DM_IO_KMEM = 3,
1: + DM_IO_PAGE_LIST = 0,
1: + DM_IO_BIO = 1,
1: + DM_IO_VMA = 2,
1: + DM_IO_KMEM = 3,
1: };
1:
1: struct dm_io_memory {
1: - enum dm_io_mem_type type;
1: - unsigned int offset;
1: - union {
1: - struct page_list *pl;
1: - struct bio *bio;
1: - void *vma;
1: - void *addr;
1: - } ptr;
1: + enum dm_io_mem_type type;
1: + unsigned int offset;
1: + union {
1: + struct page_list *pl;
1: + struct bio *bio;
1: + void *vma;
1: + void *addr;
1: + } ptr;
1: };
1:
1: struct dm_io_notify {
1: - io_notify_fn fn;
1: - void *context;
1: + io_notify_fn fn;
1: + void *context;
1: };
1:
1: struct dm_io_client;
1:
1: struct dm_io_request {
1: - int bi_op;
1: - int bi_op_flags;
1: - struct dm_io_memory mem;
1: - struct dm_io_notify notify;
1: - struct dm_io_client *client;
1: + int bi_op;
1: + int bi_op_flags;
1: + struct dm_io_memory mem;
1: + struct dm_io_notify notify;
1: + struct dm_io_client *client;
1: };
1:
1: struct dm_io_client {
1: - mempool_t pool;
1: - struct bio_set bios;
1: + mempool_t pool;
1: + struct bio_set bios;
1: };
1:
1: struct io {
1: - long unsigned int error_bits;
1: - atomic_t count;
1: - struct dm_io_client *client;
1: - io_notify_fn callback;
1: - void *context;
1: - void *vma_invalidate_address;
1: - long unsigned int vma_invalidate_size;
1: - long: 64;
1: + long unsigned int error_bits;
1: + atomic_t count;
1: + struct dm_io_client *client;
1: + io_notify_fn callback;
1: + void *context;
1: + void *vma_invalidate_address;
1: + long unsigned int vma_invalidate_size;
1: + long : 64;
1: };
1:
1: struct dpages {
1: - void (*get_page)(struct dpages *, struct page **, long unsigned int *, unsigned int *);
1: - void (*next_page)(struct dpages *);
1: - union {
1: - unsigned int context_u;
1: - struct bvec_iter context_bi;
1: - };
1: - void *context_ptr;
1: - void *vma_invalidate_address;
1: - long unsigned int vma_invalidate_size;
1: + void (*get_page)(struct dpages *, struct page **, long unsigned int *,
1: + unsigned int *);
1: + void (*next_page)(struct dpages *);
1: + union {
1: + unsigned int context_u;
1: + struct bvec_iter context_bi;
1: + };
1: + void *context_ptr;
1: + void *vma_invalidate_address;
1: + long unsigned int vma_invalidate_size;
1: };
1:
1: struct sync_io {
1: - long unsigned int error_bits;
1: - struct completion wait;
1: + long unsigned int error_bits;
1: + struct completion wait;
1: };
1:
1: struct dm_kcopyd_throttle {
1: - unsigned int throttle;
1: - unsigned int num_io_jobs;
1: - unsigned int io_period;
1: - unsigned int total_period;
1: - unsigned int last_jiffies;
1: + unsigned int throttle;
1: + unsigned int num_io_jobs;
1: + unsigned int io_period;
1: + unsigned int total_period;
1: + unsigned int last_jiffies;
1: };
1:
1: typedef void (*dm_kcopyd_notify_fn)(int, long unsigned int, void *);
1:
1: struct dm_kcopyd_client {
1: - struct page_list *pages;
1: - unsigned int nr_reserved_pages;
1: - unsigned int nr_free_pages;
1: - unsigned int sub_job_size;
1: - struct dm_io_client *io_client;
1: - wait_queue_head_t destroyq;
1: - mempool_t job_pool;
1: - struct workqueue_struct *kcopyd_wq;
1: - struct work_struct kcopyd_work;
1: - struct dm_kcopyd_throttle *throttle;
1: - atomic_t nr_jobs;
1: - spinlock_t job_lock;
1: - struct list_head callback_jobs;
1: - struct list_head complete_jobs;
1: - struct list_head io_jobs;
1: - struct list_head pages_jobs;
1: + struct page_list *pages;
1: + unsigned int nr_reserved_pages;
1: + unsigned int nr_free_pages;
1: + unsigned int sub_job_size;
1: + struct dm_io_client *io_client;
1: + wait_queue_head_t destroyq;
1: + mempool_t job_pool;
1: + struct workqueue_struct *kcopyd_wq;
1: + struct work_struct kcopyd_work;
1: + struct dm_kcopyd_throttle *throttle;
1: + atomic_t nr_jobs;
1: + spinlock_t job_lock;
1: + struct list_head callback_jobs;
1: + struct list_head complete_jobs;
1: + struct list_head io_jobs;
1: + struct list_head pages_jobs;
1: };
1:
1: struct kcopyd_job {
1: - struct dm_kcopyd_client *kc;
1: - struct list_head list;
1: - long unsigned int flags;
1: - int read_err;
1: - long unsigned int write_err;
1: - int rw;
1: - struct dm_io_region source;
1: - unsigned int num_dests;
1: - struct dm_io_region dests[8];
1: - struct page_list *pages;
1: - dm_kcopyd_notify_fn fn;
1: - void *context;
1: - struct mutex lock;
1: - atomic_t sub_jobs;
1: - sector_t progress;
1: - sector_t write_offset;
1: - struct kcopyd_job *master_job;
1: + struct dm_kcopyd_client *kc;
1: + struct list_head list;
1: + long unsigned int flags;
1: + int read_err;
1: + long unsigned int write_err;
1: + int rw;
1: + struct dm_io_region source;
1: + unsigned int num_dests;
1: + struct dm_io_region dests[8];
1: + struct page_list *pages;
1: + dm_kcopyd_notify_fn fn;
1: + void *context;
1: + struct mutex lock;
1: + atomic_t sub_jobs;
1: + sector_t progress;
1: + sector_t write_offset;
1: + struct kcopyd_job *master_job;
1: };
1:
1: struct dm_sysfs_attr {
1: - struct attribute attr;
1: - ssize_t (*show)(struct mapped_device *, char *);
1: - ssize_t (*store)(struct mapped_device *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct mapped_device *, char *);
1: + ssize_t (*store)(struct mapped_device *, const char *, size_t);
1: };
1:
1: struct dm_stats_last_position {
1: - sector_t last_sector;
1: - unsigned int last_rw;
1: + sector_t last_sector;
1: + unsigned int last_rw;
1: };
1:
1: struct dm_stat_percpu {
1: - long long unsigned int sectors[2];
1: - long long unsigned int ios[2];
1: - long long unsigned int merges[2];
1: - long long unsigned int ticks[2];
1: - long long unsigned int io_ticks[2];
1: - long long unsigned int io_ticks_total;
1: - long long unsigned int time_in_queue;
1: - long long unsigned int *histogram;
1: + long long unsigned int sectors[2];
1: + long long unsigned int ios[2];
1: + long long unsigned int merges[2];
1: + long long unsigned int ticks[2];
1: + long long unsigned int io_ticks[2];
1: + long long unsigned int io_ticks_total;
1: + long long unsigned int time_in_queue;
1: + long long unsigned int *histogram;
1: };
1:
1: struct dm_stat_shared {
1: - atomic_t in_flight[2];
1: - long long unsigned int stamp;
1: - struct dm_stat_percpu tmp;
1: + atomic_t in_flight[2];
1: + long long unsigned int stamp;
1: + struct dm_stat_percpu tmp;
1: };
1:
1: struct dm_stat {
1: - struct list_head list_entry;
1: - int id;
1: - unsigned int stat_flags;
1: - size_t n_entries;
1: - sector_t start;
1: - sector_t end;
1: - sector_t step;
1: - unsigned int n_histogram_entries;
1: - long long unsigned int *histogram_boundaries;
1: - const char *program_id;
1: - const char *aux_data;
1: - struct callback_head callback_head;
1: - size_t shared_alloc_size;
1: - size_t percpu_alloc_size;
1: - size_t histogram_alloc_size;
1: - struct dm_stat_percpu *stat_percpu[64];
1: - struct dm_stat_shared stat_shared[0];
1: + struct list_head list_entry;
1: + int id;
1: + unsigned int stat_flags;
1: + size_t n_entries;
1: + sector_t start;
1: + sector_t end;
1: + sector_t step;
1: + unsigned int n_histogram_entries;
1: + long long unsigned int *histogram_boundaries;
1: + const char *program_id;
1: + const char *aux_data;
1: + struct callback_head callback_head;
1: + size_t shared_alloc_size;
1: + size_t percpu_alloc_size;
1: + size_t histogram_alloc_size;
1: + struct dm_stat_percpu *stat_percpu[64];
1: + struct dm_stat_shared stat_shared[0];
1: };
1:
1: struct dm_rq_target_io;
1:
1: struct dm_rq_clone_bio_info {
1: - struct bio *orig;
1: - struct dm_rq_target_io *tio;
1: - struct bio clone;
1: + struct bio *orig;
1: + struct dm_rq_target_io *tio;
1: + struct bio clone;
1: };
1:
1: struct dm_rq_target_io {
1: - struct mapped_device *md;
1: - struct dm_target *ti;
1: - struct request *orig;
1: - struct request *clone;
1: - struct kthread_work work;
1: - blk_status_t error;
1: - union map_info___2 info;
1: - struct dm_stats_aux stats_aux;
1: - long unsigned int duration_jiffies;
1: - unsigned int n_sectors;
1: - unsigned int completed;
1: + struct mapped_device *md;
1: + struct dm_target *ti;
1: + struct request *orig;
1: + struct request *clone;
1: + struct kthread_work work;
1: + blk_status_t error;
1: + union map_info___2 info;
1: + struct dm_stats_aux stats_aux;
1: + long unsigned int duration_jiffies;
1: + unsigned int n_sectors;
1: + unsigned int completed;
1: };
1:
1: struct dm_bio_details {
1: - struct gendisk *bi_disk;
1: - u8 bi_partno;
1: - long unsigned int bi_flags;
1: - struct bvec_iter bi_iter;
1: + struct gendisk *bi_disk;
1: + u8 bi_partno;
1: + long unsigned int bi_flags;
1: + struct bvec_iter bi_iter;
1: };
1:
1: typedef sector_t region_t;
1: @@ -93740,55 +94400,55 @@ typedef sector_t region_t;
1: struct dm_dirty_log_type;
1:
1: struct dm_dirty_log {
1: - struct dm_dirty_log_type *type;
1: - int (*flush_callback_fn)(struct dm_target *);
1: - void *context;
1: + struct dm_dirty_log_type *type;
1: + int (*flush_callback_fn)(struct dm_target *);
1: + void *context;
1: };
1:
1: struct dm_dirty_log_type {
1: - const char *name;
1: - struct module *module;
1: - struct list_head list;
1: - int (*ctr)(struct dm_dirty_log *, struct dm_target *, unsigned int, char **);
1: - void (*dtr)(struct dm_dirty_log *);
1: - int (*presuspend)(struct dm_dirty_log *);
1: - int (*postsuspend)(struct dm_dirty_log *);
1: - int (*resume)(struct dm_dirty_log *);
1: - uint32_t (*get_region_size)(struct dm_dirty_log *);
1: - int (*is_clean)(struct dm_dirty_log *, region_t);
1: - int (*in_sync)(struct dm_dirty_log *, region_t, int);
1: - int (*flush)(struct dm_dirty_log *);
1: - void (*mark_region)(struct dm_dirty_log *, region_t);
1: - void (*clear_region)(struct dm_dirty_log *, region_t);
1: - int (*get_resync_work)(struct dm_dirty_log *, region_t *);
1: - void (*set_region_sync)(struct dm_dirty_log *, region_t, int);
1: - region_t (*get_sync_count)(struct dm_dirty_log *);
1: - int (*status)(struct dm_dirty_log *, status_type_t, char *, unsigned int);
1: - int (*is_remote_recovering)(struct dm_dirty_log *, region_t);
1: + const char *name;
1: + struct module *module;
1: + struct list_head list;
1: + int (*ctr)(struct dm_dirty_log *, struct dm_target *, unsigned int, char **);
1: + void (*dtr)(struct dm_dirty_log *);
1: + int (*presuspend)(struct dm_dirty_log *);
1: + int (*postsuspend)(struct dm_dirty_log *);
1: + int (*resume)(struct dm_dirty_log *);
1: + uint32_t (*get_region_size)(struct dm_dirty_log *);
1: + int (*is_clean)(struct dm_dirty_log *, region_t);
1: + int (*in_sync)(struct dm_dirty_log *, region_t, int);
1: + int (*flush)(struct dm_dirty_log *);
1: + void (*mark_region)(struct dm_dirty_log *, region_t);
1: + void (*clear_region)(struct dm_dirty_log *, region_t);
1: + int (*get_resync_work)(struct dm_dirty_log *, region_t *);
1: + void (*set_region_sync)(struct dm_dirty_log *, region_t, int);
1: + region_t (*get_sync_count)(struct dm_dirty_log *);
1: + int (*status)(struct dm_dirty_log *, status_type_t, char *, unsigned int);
1: + int (*is_remote_recovering)(struct dm_dirty_log *, region_t);
1: };
1:
1: enum dm_rh_region_states {
1: - DM_RH_CLEAN = 1,
1: - DM_RH_DIRTY = 2,
1: - DM_RH_NOSYNC = 4,
1: - DM_RH_RECOVERING = 8,
1: + DM_RH_CLEAN = 1,
1: + DM_RH_DIRTY = 2,
1: + DM_RH_NOSYNC = 4,
1: + DM_RH_RECOVERING = 8,
1: };
1:
1: enum dm_raid1_error {
1: - DM_RAID1_WRITE_ERROR = 0,
1: - DM_RAID1_FLUSH_ERROR = 1,
1: - DM_RAID1_SYNC_ERROR = 2,
1: - DM_RAID1_READ_ERROR = 3,
1: + DM_RAID1_WRITE_ERROR = 0,
1: + DM_RAID1_FLUSH_ERROR = 1,
1: + DM_RAID1_SYNC_ERROR = 2,
1: + DM_RAID1_READ_ERROR = 3,
1: };
1:
1: struct mirror_set;
1:
1: struct mirror {
1: - struct mirror_set *ms;
1: - atomic_t error_count;
1: - long unsigned int error_type;
1: - struct dm_dev *dev;
1: - sector_t offset;
1: + struct mirror_set *ms;
1: + atomic_t error_count;
1: + long unsigned int error_type;
1: + struct dm_dev *dev;
1: + sector_t offset;
1: };
1:
1: struct dm_region_hash;
1: @@ -93796,1081 +94456,1084 @@ struct dm_region_hash;
1: struct dm_kcopyd_client___2;
1:
1: struct mirror_set {
1: - struct dm_target *ti;
1: - struct list_head list;
1: - uint64_t features;
1: - spinlock_t lock;
1: - struct bio_list reads;
1: - struct bio_list writes;
1: - struct bio_list failures;
1: - struct bio_list holds;
1: - struct dm_region_hash *rh;
1: - struct dm_kcopyd_client___2 *kcopyd_client;
1: - struct dm_io_client *io_client;
1: - region_t nr_regions;
1: - int in_sync;
1: - int log_failure;
1: - int leg_failure;
1: - atomic_t suspend;
1: - atomic_t default_mirror;
1: - struct workqueue_struct *kmirrord_wq;
1: - struct work_struct kmirrord_work;
1: - struct timer_list timer;
1: - long unsigned int timer_pending;
1: - struct work_struct trigger_event;
1: - unsigned int nr_mirrors;
1: - struct mirror mirror[0];
1: + struct dm_target *ti;
1: + struct list_head list;
1: + uint64_t features;
1: + spinlock_t lock;
1: + struct bio_list reads;
1: + struct bio_list writes;
1: + struct bio_list failures;
1: + struct bio_list holds;
1: + struct dm_region_hash *rh;
1: + struct dm_kcopyd_client___2 *kcopyd_client;
1: + struct dm_io_client *io_client;
1: + region_t nr_regions;
1: + int in_sync;
1: + int log_failure;
1: + int leg_failure;
1: + atomic_t suspend;
1: + atomic_t default_mirror;
1: + struct workqueue_struct *kmirrord_wq;
1: + struct work_struct kmirrord_work;
1: + struct timer_list timer;
1: + long unsigned int timer_pending;
1: + struct work_struct trigger_event;
1: + unsigned int nr_mirrors;
1: + struct mirror mirror[0];
1: };
1:
1: struct dm_raid1_bio_record {
1: - struct mirror *m;
1: - struct dm_bio_details details;
1: - region_t write_region;
1: + struct mirror *m;
1: + struct dm_bio_details details;
1: + region_t write_region;
1: };
1:
1: struct dm_region;
1:
1: struct log_header_disk {
1: - __le32 magic;
1: - __le32 version;
1: - __le64 nr_regions;
1: + __le32 magic;
1: + __le32 version;
1: + __le64 nr_regions;
1: };
1:
1: struct log_header_core {
1: - uint32_t magic;
1: - uint32_t version;
1: - uint64_t nr_regions;
1: + uint32_t magic;
1: + uint32_t version;
1: + uint64_t nr_regions;
1: };
1:
1: enum sync {
1: - DEFAULTSYNC = 0,
1: - NOSYNC = 1,
1: - FORCESYNC = 2,
1: + DEFAULTSYNC = 0,
1: + NOSYNC = 1,
1: + FORCESYNC = 2,
1: };
1:
1: struct log_c {
1: - struct dm_target *ti;
1: - int touched_dirtied;
1: - int touched_cleaned;
1: - int flush_failed;
1: - uint32_t region_size;
1: - unsigned int region_count;
1: - region_t sync_count;
1: - unsigned int bitset_uint32_count;
1: - uint32_t *clean_bits;
1: - uint32_t *sync_bits;
1: - uint32_t *recovering_bits;
1: - int sync_search;
1: - enum sync sync;
1: - struct dm_io_request io_req;
1: - int log_dev_failed;
1: - int log_dev_flush_failed;
1: - struct dm_dev *log_dev;
1: - struct log_header_core header;
1: - struct dm_io_region header_location;
1: - struct log_header_disk *disk_header;
1: + struct dm_target *ti;
1: + int touched_dirtied;
1: + int touched_cleaned;
1: + int flush_failed;
1: + uint32_t region_size;
1: + unsigned int region_count;
1: + region_t sync_count;
1: + unsigned int bitset_uint32_count;
1: + uint32_t *clean_bits;
1: + uint32_t *sync_bits;
1: + uint32_t *recovering_bits;
1: + int sync_search;
1: + enum sync sync;
1: + struct dm_io_request io_req;
1: + int log_dev_failed;
1: + int log_dev_flush_failed;
1: + struct dm_dev *log_dev;
1: + struct log_header_core header;
1: + struct dm_io_region header_location;
1: + struct log_header_disk *disk_header;
1: };
1:
1: struct dm_region_hash___2 {
1: - uint32_t region_size;
1: - unsigned int region_shift;
1: - struct dm_dirty_log *log;
1: - rwlock_t hash_lock;
1: - unsigned int mask;
1: - unsigned int nr_buckets;
1: - unsigned int prime;
1: - unsigned int shift;
1: - struct list_head *buckets;
1: - int flush_failure;
1: - unsigned int max_recovery;
1: - spinlock_t region_lock;
1: - atomic_t recovery_in_flight;
1: - struct list_head clean_regions;
1: - struct list_head quiesced_regions;
1: - struct list_head recovered_regions;
1: - struct list_head failed_recovered_regions;
1: - struct semaphore recovery_count;
1: - mempool_t region_pool;
1: - void *context;
1: - sector_t target_begin;
1: - void (*dispatch_bios)(void *, struct bio_list *);
1: - void (*wakeup_workers)(void *);
1: - void (*wakeup_all_recovery_waiters)(void *);
1: + uint32_t region_size;
1: + unsigned int region_shift;
1: + struct dm_dirty_log *log;
1: + rwlock_t hash_lock;
1: + unsigned int mask;
1: + unsigned int nr_buckets;
1: + unsigned int prime;
1: + unsigned int shift;
1: + struct list_head *buckets;
1: + int flush_failure;
1: + unsigned int max_recovery;
1: + spinlock_t region_lock;
1: + atomic_t recovery_in_flight;
1: + struct list_head clean_regions;
1: + struct list_head quiesced_regions;
1: + struct list_head recovered_regions;
1: + struct list_head failed_recovered_regions;
1: + struct semaphore recovery_count;
1: + mempool_t region_pool;
1: + void *context;
1: + sector_t target_begin;
1: + void (*dispatch_bios)(void *, struct bio_list *);
1: + void (*wakeup_workers)(void *);
1: + void (*wakeup_all_recovery_waiters)(void *);
1: };
1:
1: struct dm_region___2 {
1: - struct dm_region_hash___2 *rh;
1: - region_t key;
1: - int state;
1: - struct list_head hash_list;
1: - struct list_head list;
1: - atomic_t pending;
1: - struct bio_list delayed_bios;
1: + struct dm_region_hash___2 *rh;
1: + region_t key;
1: + int state;
1: + struct list_head hash_list;
1: + struct list_head list;
1: + atomic_t pending;
1: + struct bio_list delayed_bios;
1: };
1:
1: enum {
1: - EDAC_REPORTING_ENABLED = 0,
1: - EDAC_REPORTING_DISABLED = 1,
1: - EDAC_REPORTING_FORCE = 2,
1: + EDAC_REPORTING_ENABLED = 0,
1: + EDAC_REPORTING_DISABLED = 1,
1: + EDAC_REPORTING_FORCE = 2,
1: };
1:
1: enum dev_type {
1: - DEV_UNKNOWN = 0,
1: - DEV_X1 = 1,
1: - DEV_X2 = 2,
1: - DEV_X4 = 3,
1: - DEV_X8 = 4,
1: - DEV_X16 = 5,
1: - DEV_X32 = 6,
1: - DEV_X64 = 7,
1: + DEV_UNKNOWN = 0,
1: + DEV_X1 = 1,
1: + DEV_X2 = 2,
1: + DEV_X4 = 3,
1: + DEV_X8 = 4,
1: + DEV_X16 = 5,
1: + DEV_X32 = 6,
1: + DEV_X64 = 7,
1: };
1:
1: enum hw_event_mc_err_type {
1: - HW_EVENT_ERR_CORRECTED = 0,
1: - HW_EVENT_ERR_UNCORRECTED = 1,
1: - HW_EVENT_ERR_DEFERRED = 2,
1: - HW_EVENT_ERR_FATAL = 3,
1: - HW_EVENT_ERR_INFO = 4,
1: + HW_EVENT_ERR_CORRECTED = 0,
1: + HW_EVENT_ERR_UNCORRECTED = 1,
1: + HW_EVENT_ERR_DEFERRED = 2,
1: + HW_EVENT_ERR_FATAL = 3,
1: + HW_EVENT_ERR_INFO = 4,
1: };
1:
1: enum mem_type {
1: - MEM_EMPTY = 0,
1: - MEM_RESERVED = 1,
1: - MEM_UNKNOWN = 2,
1: - MEM_FPM = 3,
1: - MEM_EDO = 4,
1: - MEM_BEDO = 5,
1: - MEM_SDR = 6,
1: - MEM_RDR = 7,
1: - MEM_DDR = 8,
1: - MEM_RDDR = 9,
1: - MEM_RMBS = 10,
1: - MEM_DDR2 = 11,
1: - MEM_FB_DDR2 = 12,
1: - MEM_RDDR2 = 13,
1: - MEM_XDR = 14,
1: - MEM_DDR3 = 15,
1: - MEM_RDDR3 = 16,
1: - MEM_LRDDR3 = 17,
1: - MEM_DDR4 = 18,
1: - MEM_RDDR4 = 19,
1: - MEM_LRDDR4 = 20,
1: - MEM_NVDIMM = 21,
1: + MEM_EMPTY = 0,
1: + MEM_RESERVED = 1,
1: + MEM_UNKNOWN = 2,
1: + MEM_FPM = 3,
1: + MEM_EDO = 4,
1: + MEM_BEDO = 5,
1: + MEM_SDR = 6,
1: + MEM_RDR = 7,
1: + MEM_DDR = 8,
1: + MEM_RDDR = 9,
1: + MEM_RMBS = 10,
1: + MEM_DDR2 = 11,
1: + MEM_FB_DDR2 = 12,
1: + MEM_RDDR2 = 13,
1: + MEM_XDR = 14,
1: + MEM_DDR3 = 15,
1: + MEM_RDDR3 = 16,
1: + MEM_LRDDR3 = 17,
1: + MEM_DDR4 = 18,
1: + MEM_RDDR4 = 19,
1: + MEM_LRDDR4 = 20,
1: + MEM_NVDIMM = 21,
1: };
1:
1: enum edac_type {
1: - EDAC_UNKNOWN = 0,
1: - EDAC_NONE = 1,
1: - EDAC_RESERVED = 2,
1: - EDAC_PARITY = 3,
1: - EDAC_EC = 4,
1: - EDAC_SECDED = 5,
1: - EDAC_S2ECD2ED = 6,
1: - EDAC_S4ECD4ED = 7,
1: - EDAC_S8ECD8ED = 8,
1: - EDAC_S16ECD16ED = 9,
1: + EDAC_UNKNOWN = 0,
1: + EDAC_NONE = 1,
1: + EDAC_RESERVED = 2,
1: + EDAC_PARITY = 3,
1: + EDAC_EC = 4,
1: + EDAC_SECDED = 5,
1: + EDAC_S2ECD2ED = 6,
1: + EDAC_S4ECD4ED = 7,
1: + EDAC_S8ECD8ED = 8,
1: + EDAC_S16ECD16ED = 9,
1: };
1:
1: enum scrub_type {
1: - SCRUB_UNKNOWN = 0,
1: - SCRUB_NONE = 1,
1: - SCRUB_SW_PROG = 2,
1: - SCRUB_SW_SRC = 3,
1: - SCRUB_SW_PROG_SRC = 4,
1: - SCRUB_SW_TUNABLE = 5,
1: - SCRUB_HW_PROG = 6,
1: - SCRUB_HW_SRC = 7,
1: - SCRUB_HW_PROG_SRC = 8,
1: - SCRUB_HW_TUNABLE = 9,
1: + SCRUB_UNKNOWN = 0,
1: + SCRUB_NONE = 1,
1: + SCRUB_SW_PROG = 2,
1: + SCRUB_SW_SRC = 3,
1: + SCRUB_SW_PROG_SRC = 4,
1: + SCRUB_SW_TUNABLE = 5,
1: + SCRUB_HW_PROG = 6,
1: + SCRUB_HW_SRC = 7,
1: + SCRUB_HW_PROG_SRC = 8,
1: + SCRUB_HW_TUNABLE = 9,
1: };
1:
1: enum edac_mc_layer_type {
1: - EDAC_MC_LAYER_BRANCH = 0,
1: - EDAC_MC_LAYER_CHANNEL = 1,
1: - EDAC_MC_LAYER_SLOT = 2,
1: - EDAC_MC_LAYER_CHIP_SELECT = 3,
1: - EDAC_MC_LAYER_ALL_MEM = 4,
1: + EDAC_MC_LAYER_BRANCH = 0,
1: + EDAC_MC_LAYER_CHANNEL = 1,
1: + EDAC_MC_LAYER_SLOT = 2,
1: + EDAC_MC_LAYER_CHIP_SELECT = 3,
1: + EDAC_MC_LAYER_ALL_MEM = 4,
1: };
1:
1: struct edac_mc_layer {
1: - enum edac_mc_layer_type type;
1: - unsigned int size;
1: - bool is_virt_csrow;
1: + enum edac_mc_layer_type type;
1: + unsigned int size;
1: + bool is_virt_csrow;
1: };
1:
1: struct mem_ctl_info;
1:
1: struct dimm_info {
1: - struct device dev;
1: - char label[32];
1: - unsigned int location[3];
1: - struct mem_ctl_info *mci;
1: - unsigned int idx;
1: - u32 grain;
1: - enum dev_type dtype;
1: - enum mem_type mtype;
1: - enum edac_type edac_mode;
1: - u32 nr_pages;
1: - unsigned int csrow;
1: - unsigned int cschannel;
1: - u16 smbios_handle;
1: + struct device dev;
1: + char label[32];
1: + unsigned int location[3];
1: + struct mem_ctl_info *mci;
1: + unsigned int idx;
1: + u32 grain;
1: + enum dev_type dtype;
1: + enum mem_type mtype;
1: + enum edac_type edac_mode;
1: + u32 nr_pages;
1: + unsigned int csrow;
1: + unsigned int cschannel;
1: + u16 smbios_handle;
1: };
1:
1: struct mcidev_sysfs_attribute;
1:
1: struct edac_raw_error_desc {
1: - char location[256];
1: - char label[296];
1: - long int grain;
1: - u16 error_count;
1: - int top_layer;
1: - int mid_layer;
1: - int low_layer;
1: - long unsigned int page_frame_number;
1: - long unsigned int offset_in_page;
1: - long unsigned int syndrome;
1: - const char *msg;
1: - const char *other_detail;
1: - bool enable_per_layer_report;
1: + char location[256];
1: + char label[296];
1: + long int grain;
1: + u16 error_count;
1: + int top_layer;
1: + int mid_layer;
1: + int low_layer;
1: + long unsigned int page_frame_number;
1: + long unsigned int offset_in_page;
1: + long unsigned int syndrome;
1: + const char *msg;
1: + const char *other_detail;
1: + bool enable_per_layer_report;
1: };
1:
1: struct csrow_info;
1:
1: struct mem_ctl_info {
1: - struct device dev;
1: - struct bus_type *bus;
1: - struct list_head link;
1: - struct module *owner;
1: - long unsigned int mtype_cap;
1: - long unsigned int edac_ctl_cap;
1: - long unsigned int edac_cap;
1: - long unsigned int scrub_cap;
1: - enum scrub_type scrub_mode;
1: - int (*set_sdram_scrub_rate)(struct mem_ctl_info *, u32);
1: - int (*get_sdram_scrub_rate)(struct mem_ctl_info *);
1: - void (*edac_check)(struct mem_ctl_info *);
1: - long unsigned int (*ctl_page_to_phys)(struct mem_ctl_info *, long unsigned int);
1: - int mc_idx;
1: - struct csrow_info **csrows;
1: - unsigned int nr_csrows;
1: - unsigned int num_cschannel;
1: - unsigned int n_layers;
1: - struct edac_mc_layer *layers;
1: - bool csbased;
1: - unsigned int tot_dimms;
1: - struct dimm_info **dimms;
1: - struct device *pdev;
1: - const char *mod_name;
1: - const char *ctl_name;
1: - const char *dev_name;
1: - void *pvt_info;
1: - long unsigned int start_time;
1: - u32 ce_noinfo_count;
1: - u32 ue_noinfo_count;
1: - u32 ue_mc;
1: - u32 ce_mc;
1: - u32 *ce_per_layer[3];
1: - u32 *ue_per_layer[3];
1: - struct completion complete;
1: - const struct mcidev_sysfs_attribute *mc_driver_sysfs_attributes;
1: - struct delayed_work work;
1: - struct edac_raw_error_desc error_desc;
1: - int op_state;
1: - struct dentry *debugfs;
1: - u8 fake_inject_layer[3];
1: - bool fake_inject_ue;
1: - u16 fake_inject_count;
1: + struct device dev;
1: + struct bus_type *bus;
1: + struct list_head link;
1: + struct module *owner;
1: + long unsigned int mtype_cap;
1: + long unsigned int edac_ctl_cap;
1: + long unsigned int edac_cap;
1: + long unsigned int scrub_cap;
1: + enum scrub_type scrub_mode;
1: + int (*set_sdram_scrub_rate)(struct mem_ctl_info *, u32);
1: + int (*get_sdram_scrub_rate)(struct mem_ctl_info *);
1: + void (*edac_check)(struct mem_ctl_info *);
1: + long unsigned int (*ctl_page_to_phys)(struct mem_ctl_info *,
1: + long unsigned int);
1: + int mc_idx;
1: + struct csrow_info **csrows;
1: + unsigned int nr_csrows;
1: + unsigned int num_cschannel;
1: + unsigned int n_layers;
1: + struct edac_mc_layer *layers;
1: + bool csbased;
1: + unsigned int tot_dimms;
1: + struct dimm_info **dimms;
1: + struct device *pdev;
1: + const char *mod_name;
1: + const char *ctl_name;
1: + const char *dev_name;
1: + void *pvt_info;
1: + long unsigned int start_time;
1: + u32 ce_noinfo_count;
1: + u32 ue_noinfo_count;
1: + u32 ue_mc;
1: + u32 ce_mc;
1: + u32 *ce_per_layer[3];
1: + u32 *ue_per_layer[3];
1: + struct completion complete;
1: + const struct mcidev_sysfs_attribute *mc_driver_sysfs_attributes;
1: + struct delayed_work work;
1: + struct edac_raw_error_desc error_desc;
1: + int op_state;
1: + struct dentry *debugfs;
1: + u8 fake_inject_layer[3];
1: + bool fake_inject_ue;
1: + u16 fake_inject_count;
1: };
1:
1: struct rank_info {
1: - int chan_idx;
1: - struct csrow_info *csrow;
1: - struct dimm_info *dimm;
1: - u32 ce_count;
1: + int chan_idx;
1: + struct csrow_info *csrow;
1: + struct dimm_info *dimm;
1: + u32 ce_count;
1: };
1:
1: struct csrow_info {
1: - struct device dev;
1: - long unsigned int first_page;
1: - long unsigned int last_page;
1: - long unsigned int page_mask;
1: - int csrow_idx;
1: - u32 ue_count;
1: - u32 ce_count;
1: - struct mem_ctl_info *mci;
1: - u32 nr_channels;
1: - struct rank_info **channels;
1: + struct device dev;
1: + long unsigned int first_page;
1: + long unsigned int last_page;
1: + long unsigned int page_mask;
1: + int csrow_idx;
1: + u32 ue_count;
1: + u32 ce_count;
1: + struct mem_ctl_info *mci;
1: + u32 nr_channels;
1: + struct rank_info **channels;
1: };
1:
1: struct edac_device_counter {
1: - u32 ue_count;
1: - u32 ce_count;
1: + u32 ue_count;
1: + u32 ce_count;
1: };
1:
1: struct edac_device_ctl_info;
1:
1: struct edac_dev_sysfs_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct edac_device_ctl_info *, char *);
1: - ssize_t (*store)(struct edac_device_ctl_info *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct edac_device_ctl_info *, char *);
1: + ssize_t (*store)(struct edac_device_ctl_info *, const char *, size_t);
1: };
1:
1: struct edac_device_instance;
1:
1: struct edac_device_ctl_info {
1: - struct list_head link;
1: - struct module *owner;
1: - int dev_idx;
1: - int log_ue;
1: - int log_ce;
1: - int panic_on_ue;
1: - unsigned int poll_msec;
1: - long unsigned int delay;
1: - struct edac_dev_sysfs_attribute *sysfs_attributes;
1: - struct bus_type *edac_subsys;
1: - int op_state;
1: - struct delayed_work work;
1: - void (*edac_check)(struct edac_device_ctl_info *);
1: - struct device *dev;
1: - const char *mod_name;
1: - const char *ctl_name;
1: - const char *dev_name;
1: - void *pvt_info;
1: - long unsigned int start_time;
1: - struct completion removal_complete;
1: - char name[32];
1: - u32 nr_instances;
1: - struct edac_device_instance *instances;
1: - struct edac_device_counter counters;
1: - struct kobject kobj;
1: + struct list_head link;
1: + struct module *owner;
1: + int dev_idx;
1: + int log_ue;
1: + int log_ce;
1: + int panic_on_ue;
1: + unsigned int poll_msec;
1: + long unsigned int delay;
1: + struct edac_dev_sysfs_attribute *sysfs_attributes;
1: + struct bus_type *edac_subsys;
1: + int op_state;
1: + struct delayed_work work;
1: + void (*edac_check)(struct edac_device_ctl_info *);
1: + struct device *dev;
1: + const char *mod_name;
1: + const char *ctl_name;
1: + const char *dev_name;
1: + void *pvt_info;
1: + long unsigned int start_time;
1: + struct completion removal_complete;
1: + char name[32];
1: + u32 nr_instances;
1: + struct edac_device_instance *instances;
1: + struct edac_device_counter counters;
1: + struct kobject kobj;
1: };
1:
1: struct edac_device_block;
1:
1: struct edac_dev_sysfs_block_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: - ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
1: - struct edac_device_block *block;
1: - unsigned int value;
1: + struct attribute attr;
1: + ssize_t (*show)(struct kobject *, struct attribute *, char *);
1: + ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
1: + struct edac_device_block *block;
1: + unsigned int value;
1: };
1:
1: struct edac_device_block {
1: - struct edac_device_instance *instance;
1: - char name[32];
1: - struct edac_device_counter counters;
1: - int nr_attribs;
1: - struct edac_dev_sysfs_block_attribute *block_attributes;
1: - struct kobject kobj;
1: + struct edac_device_instance *instance;
1: + char name[32];
1: + struct edac_device_counter counters;
1: + int nr_attribs;
1: + struct edac_dev_sysfs_block_attribute *block_attributes;
1: + struct kobject kobj;
1: };
1:
1: struct edac_device_instance {
1: - struct edac_device_ctl_info *ctl;
1: - char name[35];
1: - struct edac_device_counter counters;
1: - u32 nr_blocks;
1: - struct edac_device_block *blocks;
1: - struct kobject kobj;
1: + struct edac_device_ctl_info *ctl;
1: + char name[35];
1: + struct edac_device_counter counters;
1: + u32 nr_blocks;
1: + struct edac_device_block *blocks;
1: + struct kobject kobj;
1: };
1:
1: struct dev_ch_attribute {
1: - struct device_attribute attr;
1: - unsigned int channel;
1: + struct device_attribute attr;
1: + unsigned int channel;
1: };
1:
1: struct ctl_info_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct edac_device_ctl_info *, char *);
1: - ssize_t (*store)(struct edac_device_ctl_info *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct edac_device_ctl_info *, char *);
1: + ssize_t (*store)(struct edac_device_ctl_info *, const char *, size_t);
1: };
1:
1: struct instance_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct edac_device_instance *, char *);
1: - ssize_t (*store)(struct edac_device_instance *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct edac_device_instance *, char *);
1: + ssize_t (*store)(struct edac_device_instance *, const char *, size_t);
1: };
1:
1: struct edac_pci_counter {
1: - atomic_t pe_count;
1: - atomic_t npe_count;
1: + atomic_t pe_count;
1: + atomic_t npe_count;
1: };
1:
1: struct edac_pci_ctl_info {
1: - struct list_head link;
1: - int pci_idx;
1: - struct bus_type *edac_subsys;
1: - int op_state;
1: - struct delayed_work work;
1: - void (*edac_check)(struct edac_pci_ctl_info *);
1: - struct device *dev;
1: - const char *mod_name;
1: - const char *ctl_name;
1: - const char *dev_name;
1: - void *pvt_info;
1: - long unsigned int start_time;
1: - struct completion complete;
1: - char name[32];
1: - struct edac_pci_counter counters;
1: - struct kobject kobj;
1: + struct list_head link;
1: + int pci_idx;
1: + struct bus_type *edac_subsys;
1: + int op_state;
1: + struct delayed_work work;
1: + void (*edac_check)(struct edac_pci_ctl_info *);
1: + struct device *dev;
1: + const char *mod_name;
1: + const char *ctl_name;
1: + const char *dev_name;
1: + void *pvt_info;
1: + long unsigned int start_time;
1: + struct completion complete;
1: + char name[32];
1: + struct edac_pci_counter counters;
1: + struct kobject kobj;
1: };
1:
1: struct edac_pci_gen_data {
1: - int edac_idx;
1: + int edac_idx;
1: };
1:
1: struct instance_attribute___2 {
1: - struct attribute attr;
1: - ssize_t (*show)(struct edac_pci_ctl_info *, char *);
1: - ssize_t (*store)(struct edac_pci_ctl_info *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct edac_pci_ctl_info *, char *);
1: + ssize_t (*store)(struct edac_pci_ctl_info *, const char *, size_t);
1: };
1:
1: struct edac_pci_dev_attribute {
1: - struct attribute attr;
1: - void *value;
1: - ssize_t (*show)(void *, char *);
1: - ssize_t (*store)(void *, const char *, size_t);
1: + struct attribute attr;
1: + void *value;
1: + ssize_t (*show)(void *, char *);
1: + ssize_t (*store)(void *, const char *, size_t);
1: };
1:
1: typedef void (*pci_parity_check_fn_t)(struct pci_dev *);
1:
1: enum tt_ids {
1: - TT_INSTR = 0,
1: - TT_DATA = 1,
1: - TT_GEN = 2,
1: - TT_RESV = 3,
1: + TT_INSTR = 0,
1: + TT_DATA = 1,
1: + TT_GEN = 2,
1: + TT_RESV = 3,
1: };
1:
1: enum ll_ids {
1: - LL_RESV = 0,
1: - LL_L1 = 1,
1: - LL_L2 = 2,
1: - LL_LG = 3,
1: + LL_RESV = 0,
1: + LL_L1 = 1,
1: + LL_L2 = 2,
1: + LL_LG = 3,
1: };
1:
1: enum ii_ids {
1: - II_MEM = 0,
1: - II_RESV = 1,
1: - II_IO = 2,
1: - II_GEN = 3,
1: + II_MEM = 0,
1: + II_RESV = 1,
1: + II_IO = 2,
1: + II_GEN = 3,
1: };
1:
1: enum rrrr_ids {
1: - R4_GEN = 0,
1: - R4_RD = 1,
1: - R4_WR = 2,
1: - R4_DRD = 3,
1: - R4_DWR = 4,
1: - R4_IRD = 5,
1: - R4_PREF = 6,
1: - R4_EVICT = 7,
1: - R4_SNOOP = 8,
1: + R4_GEN = 0,
1: + R4_RD = 1,
1: + R4_WR = 2,
1: + R4_DRD = 3,
1: + R4_DWR = 4,
1: + R4_IRD = 5,
1: + R4_PREF = 6,
1: + R4_EVICT = 7,
1: + R4_SNOOP = 8,
1: };
1:
1: struct amd_decoder_ops {
1: - bool (*mc0_mce)(u16, u8);
1: - bool (*mc1_mce)(u16, u8);
1: - bool (*mc2_mce)(u16, u8);
1: + bool (*mc0_mce)(u16, u8);
1: + bool (*mc1_mce)(u16, u8);
1: + bool (*mc2_mce)(u16, u8);
1: };
1:
1: struct smca_mce_desc {
1: - const char * const *descs;
1: - unsigned int num_descs;
1: + const char *const *descs;
1: + unsigned int num_descs;
1: };
1:
1: struct freq_attr {
1: - struct attribute attr;
1: - ssize_t (*show)(struct cpufreq_policy *, char *);
1: - ssize_t (*store)(struct cpufreq_policy *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct cpufreq_policy *, char *);
1: + ssize_t (*store)(struct cpufreq_policy *, const char *, size_t);
1: };
1:
1: struct cpufreq_driver {
1: - char name[16];
1: - u8 flags;
1: - void *driver_data;
1: - int (*init)(struct cpufreq_policy *);
1: - int (*verify)(struct cpufreq_policy *);
1: - int (*setpolicy)(struct cpufreq_policy *);
1: - int (*target)(struct cpufreq_policy *, unsigned int, unsigned int);
1: - int (*target_index)(struct cpufreq_policy *, unsigned int);
1: - unsigned int (*fast_switch)(struct cpufreq_policy *, unsigned int);
1: - unsigned int (*resolve_freq)(struct cpufreq_policy *, unsigned int);
1: - unsigned int (*get_intermediate)(struct cpufreq_policy *, unsigned int);
1: - int (*target_intermediate)(struct cpufreq_policy *, unsigned int);
1: - unsigned int (*get)(unsigned int);
1: - void (*update_limits)(unsigned int);
1: - int (*bios_limit)(int, unsigned int *);
1: - int (*online)(struct cpufreq_policy *);
1: - int (*offline)(struct cpufreq_policy *);
1: - int (*exit)(struct cpufreq_policy *);
1: - void (*stop_cpu)(struct cpufreq_policy *);
1: - int (*suspend)(struct cpufreq_policy *);
1: - int (*resume)(struct cpufreq_policy *);
1: - void (*ready)(struct cpufreq_policy *);
1: - struct freq_attr **attr;
1: - bool boost_enabled;
1: - int (*set_boost)(int);
1: + char name[16];
1: + u8 flags;
1: + void *driver_data;
1: + int (*init)(struct cpufreq_policy *);
1: + int (*verify)(struct cpufreq_policy *);
1: + int (*setpolicy)(struct cpufreq_policy *);
1: + int (*target)(struct cpufreq_policy *, unsigned int, unsigned int);
1: + int (*target_index)(struct cpufreq_policy *, unsigned int);
1: + unsigned int (*fast_switch)(struct cpufreq_policy *, unsigned int);
1: + unsigned int (*resolve_freq)(struct cpufreq_policy *, unsigned int);
1: + unsigned int (*get_intermediate)(struct cpufreq_policy *, unsigned int);
1: + int (*target_intermediate)(struct cpufreq_policy *, unsigned int);
1: + unsigned int (*get)(unsigned int);
1: + void (*update_limits)(unsigned int);
1: + int (*bios_limit)(int, unsigned int *);
1: + int (*online)(struct cpufreq_policy *);
1: + int (*offline)(struct cpufreq_policy *);
1: + int (*exit)(struct cpufreq_policy *);
1: + void (*stop_cpu)(struct cpufreq_policy *);
1: + int (*suspend)(struct cpufreq_policy *);
1: + int (*resume)(struct cpufreq_policy *);
1: + void (*ready)(struct cpufreq_policy *);
1: + struct freq_attr **attr;
1: + bool boost_enabled;
1: + int (*set_boost)(int);
1: };
1:
1: struct gov_attr_set {
1: - struct kobject kobj;
1: - struct list_head policy_list;
1: - struct mutex update_lock;
1: - int usage_count;
1: + struct kobject kobj;
1: + struct list_head policy_list;
1: + struct mutex update_lock;
1: + int usage_count;
1: };
1:
1: struct governor_attr {
1: - struct attribute attr;
1: - ssize_t (*show)(struct gov_attr_set *, char *);
1: - ssize_t (*store)(struct gov_attr_set *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct gov_attr_set *, char *);
1: + ssize_t (*store)(struct gov_attr_set *, const char *, size_t);
1: };
1:
1: enum {
1: - OD_NORMAL_SAMPLE = 0,
1: - OD_SUB_SAMPLE = 1,
1: + OD_NORMAL_SAMPLE = 0,
1: + OD_SUB_SAMPLE = 1,
1: };
1:
1: struct dbs_data {
1: - struct gov_attr_set attr_set;
1: - void *tuners;
1: - unsigned int ignore_nice_load;
1: - unsigned int sampling_rate;
1: - unsigned int sampling_down_factor;
1: - unsigned int up_threshold;
1: - unsigned int io_is_busy;
1: + struct gov_attr_set attr_set;
1: + void *tuners;
1: + unsigned int ignore_nice_load;
1: + unsigned int sampling_rate;
1: + unsigned int sampling_down_factor;
1: + unsigned int up_threshold;
1: + unsigned int io_is_busy;
1: };
1:
1: struct policy_dbs_info {
1: - struct cpufreq_policy *policy;
1: - struct mutex update_mutex;
1: - u64 last_sample_time;
1: - s64 sample_delay_ns;
1: - atomic_t work_count;
1: - struct irq_work irq_work;
1: - struct work_struct work;
1: - struct dbs_data *dbs_data;
1: - struct list_head list;
1: - unsigned int rate_mult;
1: - unsigned int idle_periods;
1: - bool is_shared;
1: - bool work_in_progress;
1: + struct cpufreq_policy *policy;
1: + struct mutex update_mutex;
1: + u64 last_sample_time;
1: + s64 sample_delay_ns;
1: + atomic_t work_count;
1: + struct irq_work irq_work;
1: + struct work_struct work;
1: + struct dbs_data *dbs_data;
1: + struct list_head list;
1: + unsigned int rate_mult;
1: + unsigned int idle_periods;
1: + bool is_shared;
1: + bool work_in_progress;
1: };
1:
1: struct dbs_governor {
1: - struct cpufreq_governor gov;
1: - struct kobj_type kobj_type;
1: - struct dbs_data *gdbs_data;
1: - unsigned int (*gov_dbs_update)(struct cpufreq_policy *);
1: - struct policy_dbs_info * (*alloc)();
1: - void (*free)(struct policy_dbs_info *);
1: - int (*init)(struct dbs_data *);
1: - void (*exit)(struct dbs_data *);
1: - void (*start)(struct cpufreq_policy *);
1: + struct cpufreq_governor gov;
1: + struct kobj_type kobj_type;
1: + struct dbs_data *gdbs_data;
1: + unsigned int (*gov_dbs_update)(struct cpufreq_policy *);
1: + struct policy_dbs_info *(*alloc)();
1: + void (*free)(struct policy_dbs_info *);
1: + int (*init)(struct dbs_data *);
1: + void (*exit)(struct dbs_data *);
1: + void (*start)(struct cpufreq_policy *);
1: };
1:
1: struct od_ops {
1: - unsigned int (*powersave_bias_target)(struct cpufreq_policy *, unsigned int, unsigned int);
1: + unsigned int (*powersave_bias_target)(struct cpufreq_policy *, unsigned int,
1: + unsigned int);
1: };
1:
1: struct od_policy_dbs_info {
1: - struct policy_dbs_info policy_dbs;
1: - unsigned int freq_lo;
1: - unsigned int freq_lo_delay_us;
1: - unsigned int freq_hi_delay_us;
1: - unsigned int sample_type: 1;
1: + struct policy_dbs_info policy_dbs;
1: + unsigned int freq_lo;
1: + unsigned int freq_lo_delay_us;
1: + unsigned int freq_hi_delay_us;
1: + unsigned int sample_type : 1;
1: };
1:
1: struct od_dbs_tuners {
1: - unsigned int powersave_bias;
1: + unsigned int powersave_bias;
1: };
1:
1: struct cpu_dbs_info {
1: - u64 prev_cpu_idle;
1: - u64 prev_update_time;
1: - u64 prev_cpu_nice;
1: - unsigned int prev_load;
1: - struct update_util_data update_util;
1: - struct policy_dbs_info *policy_dbs;
1: + u64 prev_cpu_idle;
1: + u64 prev_update_time;
1: + u64 prev_cpu_nice;
1: + unsigned int prev_load;
1: + struct update_util_data update_util;
1: + struct policy_dbs_info *policy_dbs;
1: };
1:
1: enum {
1: - UNDEFINED_CAPABLE = 0,
1: - SYSTEM_INTEL_MSR_CAPABLE = 1,
1: - SYSTEM_AMD_MSR_CAPABLE = 2,
1: - SYSTEM_IO_CAPABLE = 3,
1: + UNDEFINED_CAPABLE = 0,
1: + SYSTEM_INTEL_MSR_CAPABLE = 1,
1: + SYSTEM_AMD_MSR_CAPABLE = 2,
1: + SYSTEM_IO_CAPABLE = 3,
1: };
1:
1: struct acpi_cpufreq_data {
1: - unsigned int resume;
1: - unsigned int cpu_feature;
1: - unsigned int acpi_perf_cpu;
1: - cpumask_var_t freqdomain_cpus;
1: - void (*cpu_freq_write)(struct acpi_pct_register *, u32);
1: - u32 (*cpu_freq_read)(struct acpi_pct_register *);
1: + unsigned int resume;
1: + unsigned int cpu_feature;
1: + unsigned int acpi_perf_cpu;
1: + cpumask_var_t freqdomain_cpus;
1: + void (*cpu_freq_write)(struct acpi_pct_register *, u32);
1: + u32 (*cpu_freq_read)(struct acpi_pct_register *);
1: };
1:
1: struct drv_cmd {
1: - struct acpi_pct_register *reg;
1: - u32 val;
1: - union {
1: - void (*write)(struct acpi_pct_register *, u32);
1: - u32 (*read)(struct acpi_pct_register *);
1: - } func;
1: + struct acpi_pct_register *reg;
1: + u32 val;
1: + union {
1: + void (*write)(struct acpi_pct_register *, u32);
1: + u32 (*read)(struct acpi_pct_register *);
1: + } func;
1: };
1:
1: enum acpi_preferred_pm_profiles {
1: - PM_UNSPECIFIED = 0,
1: - PM_DESKTOP = 1,
1: - PM_MOBILE = 2,
1: - PM_WORKSTATION = 3,
1: - PM_ENTERPRISE_SERVER = 4,
1: - PM_SOHO_SERVER = 5,
1: - PM_APPLIANCE_PC = 6,
1: - PM_PERFORMANCE_SERVER = 7,
1: - PM_TABLET = 8,
1: + PM_UNSPECIFIED = 0,
1: + PM_DESKTOP = 1,
1: + PM_MOBILE = 2,
1: + PM_WORKSTATION = 3,
1: + PM_ENTERPRISE_SERVER = 4,
1: + PM_SOHO_SERVER = 5,
1: + PM_APPLIANCE_PC = 6,
1: + PM_PERFORMANCE_SERVER = 7,
1: + PM_TABLET = 8,
1: };
1:
1: struct sample {
1: - int32_t core_avg_perf;
1: - int32_t busy_scaled;
1: - u64 aperf;
1: - u64 mperf;
1: - u64 tsc;
1: - u64 time;
1: + int32_t core_avg_perf;
1: + int32_t busy_scaled;
1: + u64 aperf;
1: + u64 mperf;
1: + u64 tsc;
1: + u64 time;
1: };
1:
1: struct pstate_data {
1: - int current_pstate;
1: - int min_pstate;
1: - int max_pstate;
1: - int max_pstate_physical;
1: - int scaling;
1: - int turbo_pstate;
1: - unsigned int max_freq;
1: - unsigned int turbo_freq;
1: + int current_pstate;
1: + int min_pstate;
1: + int max_pstate;
1: + int max_pstate_physical;
1: + int scaling;
1: + int turbo_pstate;
1: + unsigned int max_freq;
1: + unsigned int turbo_freq;
1: };
1:
1: struct vid_data {
1: - int min;
1: - int max;
1: - int turbo;
1: - int32_t ratio;
1: + int min;
1: + int max;
1: + int turbo;
1: + int32_t ratio;
1: };
1:
1: struct global_params {
1: - bool no_turbo;
1: - bool turbo_disabled;
1: - bool turbo_disabled_mf;
1: - int max_perf_pct;
1: - int min_perf_pct;
1: + bool no_turbo;
1: + bool turbo_disabled;
1: + bool turbo_disabled_mf;
1: + int max_perf_pct;
1: + int min_perf_pct;
1: };
1:
1: struct cpudata {
1: - int cpu;
1: - unsigned int policy;
1: - struct update_util_data update_util;
1: - bool update_util_set;
1: - struct pstate_data pstate;
1: - struct vid_data vid;
1: - u64 last_update;
1: - u64 last_sample_time;
1: - u64 aperf_mperf_shift;
1: - u64 prev_aperf;
1: - u64 prev_mperf;
1: - u64 prev_tsc;
1: - u64 prev_cummulative_iowait;
1: - struct sample sample;
1: - int32_t min_perf_ratio;
1: - int32_t max_perf_ratio;
1: - struct acpi_processor_performance acpi_perf_data;
1: - bool valid_pss_table;
1: - unsigned int iowait_boost;
1: - s16 epp_powersave;
1: - s16 epp_policy;
1: - s16 epp_default;
1: - s16 epp_saved;
1: - u64 hwp_req_cached;
1: - u64 hwp_cap_cached;
1: - u64 last_io_update;
1: - unsigned int sched_flags;
1: - u32 hwp_boost_min;
1: + int cpu;
1: + unsigned int policy;
1: + struct update_util_data update_util;
1: + bool update_util_set;
1: + struct pstate_data pstate;
1: + struct vid_data vid;
1: + u64 last_update;
1: + u64 last_sample_time;
1: + u64 aperf_mperf_shift;
1: + u64 prev_aperf;
1: + u64 prev_mperf;
1: + u64 prev_tsc;
1: + u64 prev_cummulative_iowait;
1: + struct sample sample;
1: + int32_t min_perf_ratio;
1: + int32_t max_perf_ratio;
1: + struct acpi_processor_performance acpi_perf_data;
1: + bool valid_pss_table;
1: + unsigned int iowait_boost;
1: + s16 epp_powersave;
1: + s16 epp_policy;
1: + s16 epp_default;
1: + s16 epp_saved;
1: + u64 hwp_req_cached;
1: + u64 hwp_cap_cached;
1: + u64 last_io_update;
1: + unsigned int sched_flags;
1: + u32 hwp_boost_min;
1: };
1:
1: struct pstate_funcs {
1: - int (*get_max)();
1: - int (*get_max_physical)();
1: - int (*get_min)();
1: - int (*get_turbo)();
1: - int (*get_scaling)();
1: - int (*get_aperf_mperf_shift)();
1: - u64 (*get_val)(struct cpudata *, int);
1: - void (*get_vid)(struct cpudata *);
1: + int (*get_max)();
1: + int (*get_max_physical)();
1: + int (*get_min)();
1: + int (*get_turbo)();
1: + int (*get_scaling)();
1: + int (*get_aperf_mperf_shift)();
1: + u64 (*get_val)(struct cpudata *, int);
1: + void (*get_vid)(struct cpudata *);
1: };
1:
1: enum {
1: - PSS = 0,
1: - PPC = 1,
1: + PSS = 0,
1: + PPC = 1,
1: };
1:
1: struct cpuidle_governor {
1: - char name[16];
1: - struct list_head governor_list;
1: - unsigned int rating;
1: - int (*enable)(struct cpuidle_driver *, struct cpuidle_device *);
1: - void (*disable)(struct cpuidle_driver *, struct cpuidle_device *);
1: - int (*select)(struct cpuidle_driver *, struct cpuidle_device *, bool *);
1: - void (*reflect)(struct cpuidle_device *, int);
1: + char name[16];
1: + struct list_head governor_list;
1: + unsigned int rating;
1: + int (*enable)(struct cpuidle_driver *, struct cpuidle_device *);
1: + void (*disable)(struct cpuidle_driver *, struct cpuidle_device *);
1: + int (*select)(struct cpuidle_driver *, struct cpuidle_device *, bool *);
1: + void (*reflect)(struct cpuidle_device *, int);
1: };
1:
1: struct cpuidle_state_kobj {
1: - struct cpuidle_state *state;
1: - struct cpuidle_state_usage *state_usage;
1: - struct completion kobj_unregister;
1: - struct kobject kobj;
1: - struct cpuidle_device *device;
1: + struct cpuidle_state *state;
1: + struct cpuidle_state_usage *state_usage;
1: + struct completion kobj_unregister;
1: + struct kobject kobj;
1: + struct cpuidle_device *device;
1: };
1:
1: struct cpuidle_device_kobj {
1: - struct cpuidle_device *dev;
1: - struct completion kobj_unregister;
1: - struct kobject kobj;
1: + struct cpuidle_device *dev;
1: + struct completion kobj_unregister;
1: + struct kobject kobj;
1: };
1:
1: struct cpuidle_attr {
1: - struct attribute attr;
1: - ssize_t (*show)(struct cpuidle_device *, char *);
1: - ssize_t (*store)(struct cpuidle_device *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct cpuidle_device *, char *);
1: + ssize_t (*store)(struct cpuidle_device *, const char *, size_t);
1: };
1:
1: struct cpuidle_state_attr {
1: - struct attribute attr;
1: - ssize_t (*show)(struct cpuidle_state *, struct cpuidle_state_usage *, char *);
1: - ssize_t (*store)(struct cpuidle_state *, struct cpuidle_state_usage *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct cpuidle_state *, struct cpuidle_state_usage *, char *);
1: + ssize_t (*store)(struct cpuidle_state *, struct cpuidle_state_usage *,
1: + const char *, size_t);
1: };
1:
1: struct menu_device {
1: - int needs_update;
1: - int tick_wakeup;
1: - u64 next_timer_ns;
1: - unsigned int bucket;
1: - unsigned int correction_factor[12];
1: - unsigned int intervals[8];
1: - int interval_ptr;
1: + int needs_update;
1: + int tick_wakeup;
1: + u64 next_timer_ns;
1: + unsigned int bucket;
1: + unsigned int correction_factor[12];
1: + unsigned int intervals[8];
1: + int interval_ptr;
1: };
1:
1: struct led_properties {
1: - u32 color;
1: - bool color_present;
1: - const char *function;
1: - u32 func_enum;
1: - bool func_enum_present;
1: - const char *label;
1: + u32 color;
1: + bool color_present;
1: + const char *function;
1: + u32 func_enum;
1: + bool func_enum_present;
1: + const char *label;
1: };
1:
1: struct dmi_memdev_info {
1: - const char *device;
1: - const char *bank;
1: - u64 size;
1: - u16 handle;
1: - u8 type;
1: + const char *device;
1: + const char *bank;
1: + u64 size;
1: + u16 handle;
1: + u8 type;
1: };
1:
1: struct dmi_device_attribute {
1: - struct device_attribute dev_attr;
1: - int field;
1: + struct device_attribute dev_attr;
1: + int field;
1: };
1:
1: struct mafield {
1: - const char *prefix;
1: - int field;
1: + const char *prefix;
1: + int field;
1: };
1:
1: struct firmware_map_entry {
1: - u64 start;
1: - u64 end;
1: - const char *type;
1: - struct list_head list;
1: - struct kobject kobj;
1: + u64 start;
1: + u64 end;
1: + const char *type;
1: + struct list_head list;
1: + struct kobject kobj;
1: };
1:
1: struct memmap_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct firmware_map_entry *, char *);
1: + struct attribute attr;
1: + ssize_t (*show)(struct firmware_map_entry *, char *);
1: };
1:
1: struct bmp_header {
1: - u16 id;
1: - u32 size;
1: + u16 id;
1: + u32 size;
1: } __attribute__((packed));
1:
1: typedef efi_status_t efi_query_variable_store_t(u32, long unsigned int, bool);
1:
1: typedef struct {
1: - efi_guid_t guid;
1: - u32 table;
1: + efi_guid_t guid;
1: + u32 table;
1: } efi_config_table_32_t;
1:
1: typedef struct {
1: - u32 version;
1: - u32 length;
1: - u64 memory_protection_attribute;
1: + u32 version;
1: + u32 length;
1: + u64 memory_protection_attribute;
1: } efi_properties_table_t;
1:
1: struct efivar_operations {
1: - efi_get_variable_t *get_variable;
1: - efi_get_next_variable_t *get_next_variable;
1: - efi_set_variable_t *set_variable;
1: - efi_set_variable_t *set_variable_nonblocking;
1: - efi_query_variable_store_t *query_variable_store;
1: + efi_get_variable_t *get_variable;
1: + efi_get_next_variable_t *get_next_variable;
1: + efi_set_variable_t *set_variable;
1: + efi_set_variable_t *set_variable_nonblocking;
1: + efi_query_variable_store_t *query_variable_store;
1: };
1:
1: struct efivars {
1: - struct kset *kset;
1: - struct kobject *kobject;
1: - const struct efivar_operations *ops;
1: + struct kset *kset;
1: + struct kobject *kobject;
1: + const struct efivar_operations *ops;
1: };
1:
1: struct efi_variable {
1: - efi_char16_t VariableName[512];
1: - efi_guid_t VendorGuid;
1: - long unsigned int DataSize;
1: - __u8 Data[1024];
1: - efi_status_t Status;
1: - __u32 Attributes;
1: + efi_char16_t VariableName[512];
1: + efi_guid_t VendorGuid;
1: + long unsigned int DataSize;
1: + __u8 Data[1024];
1: + efi_status_t Status;
1: + __u32 Attributes;
1: } __attribute__((packed));
1:
1: struct efivar_entry {
1: - struct efi_variable var;
1: - struct list_head list;
1: - struct kobject kobj;
1: - bool scanning;
1: - bool deleting;
1: + struct efi_variable var;
1: + struct list_head list;
1: + struct kobject kobj;
1: + bool scanning;
1: + bool deleting;
1: };
1:
1: struct linux_efi_random_seed {
1: - u32 size;
1: - u8 bits[0];
1: + u32 size;
1: + u8 bits[0];
1: };
1:
1: struct linux_efi_memreserve {
1: - int size;
1: - atomic_t count;
1: - phys_addr_t next;
1: - struct {
1: - phys_addr_t base;
1: - phys_addr_t size;
1: - } entry[0];
1: + int size;
1: + atomic_t count;
1: + phys_addr_t next;
1: + struct {
1: + phys_addr_t base;
1: + phys_addr_t size;
1: + } entry[0];
1: };
1:
1: struct efi_generic_dev_path {
1: - u8 type;
1: - u8 sub_type;
1: - u16 length;
1: + u8 type;
1: + u8 sub_type;
1: + u16 length;
1: };
1:
1: struct variable_validate {
1: - efi_guid_t vendor;
1: - char *name;
1: - bool (*validate)(efi_char16_t *, int, u8 *, long unsigned int);
1: + efi_guid_t vendor;
1: + char *name;
1: + bool (*validate)(efi_char16_t *, int, u8 *, long unsigned int);
1: };
1:
1: typedef struct {
1: - u32 version;
1: - u32 num_entries;
1: - u32 desc_size;
1: - u32 reserved;
1: - efi_memory_desc_t entry[0];
1: + u32 version;
1: + u32 num_entries;
1: + u32 desc_size;
1: + u32 reserved;
1: + efi_memory_desc_t entry[0];
1: } efi_memory_attributes_table_t;
1:
1: struct linux_efi_tpm_eventlog {
1: - u32 size;
1: - u32 final_events_preboot_size;
1: - u8 version;
1: - u8 log[0];
1: + u32 size;
1: + u32 final_events_preboot_size;
1: + u8 version;
1: + u8 log[0];
1: };
1:
1: struct efi_tcg2_final_events_table {
1: - u64 version;
1: - u64 nr_events;
1: - u8 events[0];
1: + u64 version;
1: + u64 nr_events;
1: + u8 events[0];
1: };
1:
1: struct tpm_digest {
1: - u16 alg_id;
1: - u8 digest[64];
1: + u16 alg_id;
1: + u8 digest[64];
1: };
1:
1: enum tpm_duration {
1: - TPM_SHORT = 0,
1: - TPM_MEDIUM = 1,
1: - TPM_LONG = 2,
1: - TPM_LONG_LONG = 3,
1: - TPM_UNDEFINED = 4,
1: - TPM_NUM_DURATIONS = 4,
1: + TPM_SHORT = 0,
1: + TPM_MEDIUM = 1,
1: + TPM_LONG = 2,
1: + TPM_LONG_LONG = 3,
1: + TPM_UNDEFINED = 4,
1: + TPM_NUM_DURATIONS = 4,
1: };
1:
1: struct tcg_efi_specid_event_algs {
1: - u16 alg_id;
1: - u16 digest_size;
1: + u16 alg_id;
1: + u16 digest_size;
1: };
1:
1: struct tcg_efi_specid_event_head {
1: - u8 signature[16];
1: - u32 platform_class;
1: - u8 spec_version_minor;
1: - u8 spec_version_major;
1: - u8 spec_errata;
1: - u8 uintnsize;
1: - u32 num_algs;
1: - struct tcg_efi_specid_event_algs digest_sizes[0];
1: + u8 signature[16];
1: + u32 platform_class;
1: + u8 spec_version_minor;
1: + u8 spec_version_major;
1: + u8 spec_errata;
1: + u8 uintnsize;
1: + u32 num_algs;
1: + struct tcg_efi_specid_event_algs digest_sizes[0];
1: };
1:
1: struct tcg_pcr_event {
1: - u32 pcr_idx;
1: - u32 event_type;
1: - u8 digest[20];
1: - u32 event_size;
1: - u8 event[0];
1: + u32 pcr_idx;
1: + u32 event_type;
1: + u8 digest[20];
1: + u32 event_size;
1: + u8 event[0];
1: };
1:
1: struct tcg_event_field {
1: - u32 event_size;
1: - u8 event[0];
1: + u32 event_size;
1: + u8 event[0];
1: };
1:
1: struct tcg_pcr_event2_head {
1: - u32 pcr_idx;
1: - u32 event_type;
1: - u32 count;
1: - struct tpm_digest digests[0];
1: + u32 pcr_idx;
1: + u32 event_type;
1: + u32 count;
1: + struct tpm_digest digests[0];
1: };
1:
1: typedef struct {
1: - u64 length;
1: - u64 data;
1: + u64 length;
1: + u64 data;
1: } efi_capsule_block_desc_t;
1:
1: struct compat_efi_variable {
1: - efi_char16_t VariableName[512];
1: - efi_guid_t VendorGuid;
1: - __u32 DataSize;
1: - __u8 Data[1024];
1: - __u32 Status;
1: - __u32 Attributes;
1: + efi_char16_t VariableName[512];
1: + efi_guid_t VendorGuid;
1: + __u32 DataSize;
1: + __u8 Data[1024];
1: + __u32 Status;
1: + __u32 Attributes;
1: };
1:
1: struct efivar_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct efivar_entry *, char *);
1: - ssize_t (*store)(struct efivar_entry *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct efivar_entry *, char *);
1: + ssize_t (*store)(struct efivar_entry *, const char *, size_t);
1: };
1:
1: struct efi_system_resource_entry_v1 {
1: - efi_guid_t fw_class;
1: - u32 fw_type;
1: - u32 fw_version;
1: - u32 lowest_supported_fw_version;
1: - u32 capsule_flags;
1: - u32 last_attempt_version;
1: - u32 last_attempt_status;
1: + efi_guid_t fw_class;
1: + u32 fw_type;
1: + u32 fw_version;
1: + u32 lowest_supported_fw_version;
1: + u32 capsule_flags;
1: + u32 last_attempt_version;
1: + u32 last_attempt_status;
1: };
1:
1: struct efi_system_resource_table {
1: - u32 fw_resource_count;
1: - u32 fw_resource_count_max;
1: - u64 fw_resource_version;
1: - u8 entries[0];
1: + u32 fw_resource_count;
1: + u32 fw_resource_count_max;
1: + u64 fw_resource_version;
1: + u8 entries[0];
1: };
1:
1: struct esre_entry {
1: - union {
1: - struct efi_system_resource_entry_v1 *esre1;
1: - } esre;
1: - struct kobject kobj;
1: - struct list_head list;
1: + union {
1: + struct efi_system_resource_entry_v1 *esre1;
1: + } esre;
1: + struct kobject kobj;
1: + struct list_head list;
1: };
1:
1: struct esre_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct esre_entry *, char *);
1: - ssize_t (*store)(struct esre_entry *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct esre_entry *, char *);
1: + ssize_t (*store)(struct esre_entry *, const char *, size_t);
1: };
1:
1: struct efi_runtime_map_entry {
1: - efi_memory_desc_t md;
1: - struct kobject kobj;
1: + efi_memory_desc_t md;
1: + struct kobject kobj;
1: };
1:
1: struct map_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct efi_runtime_map_entry *, char *);
1: + struct attribute attr;
1: + ssize_t (*show)(struct efi_runtime_map_entry *, char *);
1: };
1:
1: struct hid_device_id {
1: - __u16 bus;
1: - __u16 group;
1: - __u32 vendor;
1: - __u32 product;
1: - kernel_ulong_t driver_data;
1: + __u16 bus;
1: + __u16 group;
1: + __u32 vendor;
1: + __u32 product;
1: + kernel_ulong_t driver_data;
1: };
1:
1: struct hid_item {
1: - unsigned int format;
1: - __u8 size;
1: - __u8 type;
1: - __u8 tag;
1: - union {
1: - __u8 u8;
1: - __s8 s8;
1: - __u16 u16;
1: - __s16 s16;
1: - __u32 u32;
1: - __s32 s32;
1: - __u8 *longdata;
1: - } data;
1: + unsigned int format;
1: + __u8 size;
1: + __u8 type;
1: + __u8 tag;
1: + union {
1: + __u8 u8;
1: + __s8 s8;
1: + __u16 u16;
1: + __s16 s16;
1: + __u32 u32;
1: + __s32 s32;
1: + __u8 *longdata;
1: + } data;
1: };
1:
1: struct hid_global {
1: - unsigned int usage_page;
1: - __s32 logical_minimum;
1: - __s32 logical_maximum;
1: - __s32 physical_minimum;
1: - __s32 physical_maximum;
1: - __s32 unit_exponent;
1: - unsigned int unit;
1: - unsigned int report_id;
1: - unsigned int report_size;
1: - unsigned int report_count;
1: + unsigned int usage_page;
1: + __s32 logical_minimum;
1: + __s32 logical_maximum;
1: + __s32 physical_minimum;
1: + __s32 physical_maximum;
1: + __s32 unit_exponent;
1: + unsigned int unit;
1: + unsigned int report_id;
1: + unsigned int report_size;
1: + unsigned int report_count;
1: };
1:
1: struct hid_local {
1: - unsigned int usage[12288];
1: - u8 usage_size[12288];
1: - unsigned int collection_index[12288];
1: - unsigned int usage_index;
1: - unsigned int usage_minimum;
1: - unsigned int delimiter_depth;
1: - unsigned int delimiter_branch;
1: + unsigned int usage[12288];
1: + u8 usage_size[12288];
1: + unsigned int collection_index[12288];
1: + unsigned int usage_index;
1: + unsigned int usage_minimum;
1: + unsigned int delimiter_depth;
1: + unsigned int delimiter_branch;
1: };
1:
1: struct hid_collection {
1: - int parent_idx;
1: - unsigned int type;
1: - unsigned int usage;
1: - unsigned int level;
1: + int parent_idx;
1: + unsigned int type;
1: + unsigned int usage;
1: + unsigned int level;
1: };
1:
1: struct hid_usage {
1: - unsigned int hid;
1: - unsigned int collection_index;
1: - unsigned int usage_index;
1: - __s8 resolution_multiplier;
1: - __s8 wheel_factor;
1: - __u16 code;
1: - __u8 type;
1: - __s8 hat_min;
1: - __s8 hat_max;
1: - __s8 hat_dir;
1: - __s16 wheel_accumulated;
1: + unsigned int hid;
1: + unsigned int collection_index;
1: + unsigned int usage_index;
1: + __s8 resolution_multiplier;
1: + __s8 wheel_factor;
1: + __u16 code;
1: + __u8 type;
1: + __s8 hat_min;
1: + __s8 hat_max;
1: + __s8 hat_dir;
1: + __s16 wheel_accumulated;
1: };
1:
1: struct hid_report;
1: @@ -94878,63 +95541,63 @@ struct hid_report;
1: struct hid_input;
1:
1: struct hid_field {
1: - unsigned int physical;
1: - unsigned int logical;
1: - unsigned int application;
1: - struct hid_usage *usage;
1: - unsigned int maxusage;
1: - unsigned int flags;
1: - unsigned int report_offset;
1: - unsigned int report_size;
1: - unsigned int report_count;
1: - unsigned int report_type;
1: - __s32 *value;
1: - __s32 logical_minimum;
1: - __s32 logical_maximum;
1: - __s32 physical_minimum;
1: - __s32 physical_maximum;
1: - __s32 unit_exponent;
1: - unsigned int unit;
1: - struct hid_report *report;
1: - unsigned int index;
1: - struct hid_input *hidinput;
1: - __u16 dpad;
1: + unsigned int physical;
1: + unsigned int logical;
1: + unsigned int application;
1: + struct hid_usage *usage;
1: + unsigned int maxusage;
1: + unsigned int flags;
1: + unsigned int report_offset;
1: + unsigned int report_size;
1: + unsigned int report_count;
1: + unsigned int report_type;
1: + __s32 *value;
1: + __s32 logical_minimum;
1: + __s32 logical_maximum;
1: + __s32 physical_minimum;
1: + __s32 physical_maximum;
1: + __s32 unit_exponent;
1: + unsigned int unit;
1: + struct hid_report *report;
1: + unsigned int index;
1: + struct hid_input *hidinput;
1: + __u16 dpad;
1: };
1:
1: struct hid_device;
1:
1: struct hid_report {
1: - struct list_head list;
1: - struct list_head hidinput_list;
1: - unsigned int id;
1: - unsigned int type;
1: - unsigned int application;
1: - struct hid_field *field[256];
1: - unsigned int maxfield;
1: - unsigned int size;
1: - struct hid_device *device;
1: + struct list_head list;
1: + struct list_head hidinput_list;
1: + unsigned int id;
1: + unsigned int type;
1: + unsigned int application;
1: + struct hid_field *field[256];
1: + unsigned int maxfield;
1: + unsigned int size;
1: + struct hid_device *device;
1: };
1:
1: struct hid_input {
1: - struct list_head list;
1: - struct hid_report *report;
1: - struct input_dev *input;
1: - const char *name;
1: - bool registered;
1: - struct list_head reports;
1: - unsigned int application;
1: + struct list_head list;
1: + struct hid_report *report;
1: + struct input_dev *input;
1: + const char *name;
1: + bool registered;
1: + struct list_head reports;
1: + unsigned int application;
1: };
1:
1: enum hid_type {
1: - HID_TYPE_OTHER = 0,
1: - HID_TYPE_USBMOUSE = 1,
1: - HID_TYPE_USBNONE = 2,
1: + HID_TYPE_OTHER = 0,
1: + HID_TYPE_USBMOUSE = 1,
1: + HID_TYPE_USBNONE = 2,
1: };
1:
1: struct hid_report_enum {
1: - unsigned int numbered;
1: - struct list_head report_list;
1: - struct hid_report *report_id_hash[256];
1: + unsigned int numbered;
1: + struct list_head report_list;
1: + struct hid_report *report_id_hash[256];
1: };
1:
1: struct hid_driver;
1: @@ -94942,52 +95605,53 @@ struct hid_driver;
1: struct hid_ll_driver;
1:
1: struct hid_device {
1: - __u8 *dev_rdesc;
1: - unsigned int dev_rsize;
1: - __u8 *rdesc;
1: - unsigned int rsize;
1: - struct hid_collection *collection;
1: - unsigned int collection_size;
1: - unsigned int maxcollection;
1: - unsigned int maxapplication;
1: - __u16 bus;
1: - __u16 group;
1: - __u32 vendor;
1: - __u32 product;
1: - __u32 version;
1: - enum hid_type type;
1: - unsigned int country;
1: - struct hid_report_enum report_enum[3];
1: - struct work_struct led_work;
1: - struct semaphore driver_input_lock;
1: - struct device dev;
1: - struct hid_driver *driver;
1: - struct hid_ll_driver *ll_driver;
1: - struct mutex ll_open_lock;
1: - unsigned int ll_open_count;
1: - long unsigned int status;
1: - unsigned int claimed;
1: - unsigned int quirks;
1: - bool io_started;
1: - struct list_head inputs;
1: - void *hiddev;
1: - void *hidraw;
1: - char name[128];
1: - char phys[64];
1: - char uniq[64];
1: - void *driver_data;
1: - int (*ff_init)(struct hid_device *);
1: - int (*hiddev_connect)(struct hid_device *, unsigned int);
1: - void (*hiddev_disconnect)(struct hid_device *);
1: - void (*hiddev_hid_event)(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
1: - void (*hiddev_report_event)(struct hid_device *, struct hid_report *);
1: - short unsigned int debug;
1: - struct dentry *debug_dir;
1: - struct dentry *debug_rdesc;
1: - struct dentry *debug_events;
1: - struct list_head debug_list;
1: - spinlock_t debug_list_lock;
1: - wait_queue_head_t debug_wait;
1: + __u8 *dev_rdesc;
1: + unsigned int dev_rsize;
1: + __u8 *rdesc;
1: + unsigned int rsize;
1: + struct hid_collection *collection;
1: + unsigned int collection_size;
1: + unsigned int maxcollection;
1: + unsigned int maxapplication;
1: + __u16 bus;
1: + __u16 group;
1: + __u32 vendor;
1: + __u32 product;
1: + __u32 version;
1: + enum hid_type type;
1: + unsigned int country;
1: + struct hid_report_enum report_enum[3];
1: + struct work_struct led_work;
1: + struct semaphore driver_input_lock;
1: + struct device dev;
1: + struct hid_driver *driver;
1: + struct hid_ll_driver *ll_driver;
1: + struct mutex ll_open_lock;
1: + unsigned int ll_open_count;
1: + long unsigned int status;
1: + unsigned int claimed;
1: + unsigned int quirks;
1: + bool io_started;
1: + struct list_head inputs;
1: + void *hiddev;
1: + void *hidraw;
1: + char name[128];
1: + char phys[64];
1: + char uniq[64];
1: + void *driver_data;
1: + int (*ff_init)(struct hid_device *);
1: + int (*hiddev_connect)(struct hid_device *, unsigned int);
1: + void (*hiddev_disconnect)(struct hid_device *);
1: + void (*hiddev_hid_event)(struct hid_device *, struct hid_field *,
1: + struct hid_usage *, __s32);
1: + void (*hiddev_report_event)(struct hid_device *, struct hid_report *);
1: + short unsigned int debug;
1: + struct dentry *debug_dir;
1: + struct dentry *debug_rdesc;
1: + struct dentry *debug_events;
1: + struct list_head debug_list;
1: + spinlock_t debug_list_lock;
1: + wait_queue_head_t debug_wait;
1: };
1:
1: struct hid_report_id;
1: @@ -94995,878 +95659,885 @@ struct hid_report_id;
1: struct hid_usage_id;
1:
1: struct hid_driver {
1: - char *name;
1: - const struct hid_device_id *id_table;
1: - struct list_head dyn_list;
1: - spinlock_t dyn_lock;
1: - bool (*match)(struct hid_device *, bool);
1: - int (*probe)(struct hid_device *, const struct hid_device_id *);
1: - void (*remove)(struct hid_device *);
1: - const struct hid_report_id *report_table;
1: - int (*raw_event)(struct hid_device *, struct hid_report *, u8 *, int);
1: - const struct hid_usage_id *usage_table;
1: - int (*event)(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
1: - void (*report)(struct hid_device *, struct hid_report *);
1: - __u8 * (*report_fixup)(struct hid_device *, __u8 *, unsigned int *);
1: - int (*input_mapping)(struct hid_device *, struct hid_input *, struct hid_field *, struct hid_usage *, long unsigned int **, int *);
1: - int (*input_mapped)(struct hid_device *, struct hid_input *, struct hid_field *, struct hid_usage *, long unsigned int **, int *);
1: - int (*input_configured)(struct hid_device *, struct hid_input *);
1: - void (*feature_mapping)(struct hid_device *, struct hid_field *, struct hid_usage *);
1: - int (*suspend)(struct hid_device *, pm_message_t);
1: - int (*resume)(struct hid_device *);
1: - int (*reset_resume)(struct hid_device *);
1: - struct device_driver driver;
1: + char *name;
1: + const struct hid_device_id *id_table;
1: + struct list_head dyn_list;
1: + spinlock_t dyn_lock;
1: + bool (*match)(struct hid_device *, bool);
1: + int (*probe)(struct hid_device *, const struct hid_device_id *);
1: + void (*remove)(struct hid_device *);
1: + const struct hid_report_id *report_table;
1: + int (*raw_event)(struct hid_device *, struct hid_report *, u8 *, int);
1: + const struct hid_usage_id *usage_table;
1: + int (*event)(struct hid_device *, struct hid_field *, struct hid_usage *,
1: + __s32);
1: + void (*report)(struct hid_device *, struct hid_report *);
1: + __u8 *(*report_fixup)(struct hid_device *, __u8 *, unsigned int *);
1: + int (*input_mapping)(struct hid_device *, struct hid_input *,
1: + struct hid_field *, struct hid_usage *,
1: + long unsigned int **, int *);
1: + int (*input_mapped)(struct hid_device *, struct hid_input *,
1: + struct hid_field *, struct hid_usage *,
1: + long unsigned int **, int *);
1: + int (*input_configured)(struct hid_device *, struct hid_input *);
1: + void (*feature_mapping)(struct hid_device *, struct hid_field *,
1: + struct hid_usage *);
1: + int (*suspend)(struct hid_device *, pm_message_t);
1: + int (*resume)(struct hid_device *);
1: + int (*reset_resume)(struct hid_device *);
1: + struct device_driver driver;
1: };
1:
1: struct hid_ll_driver {
1: - int (*start)(struct hid_device *);
1: - void (*stop)(struct hid_device *);
1: - int (*open)(struct hid_device *);
1: - void (*close)(struct hid_device *);
1: - int (*power)(struct hid_device *, int);
1: - int (*parse)(struct hid_device *);
1: - void (*request)(struct hid_device *, struct hid_report *, int);
1: - int (*wait)(struct hid_device *);
1: - int (*raw_request)(struct hid_device *, unsigned char, __u8 *, size_t, unsigned char, int);
1: - int (*output_report)(struct hid_device *, __u8 *, size_t);
1: - int (*idle)(struct hid_device *, int, int, int);
1: + int (*start)(struct hid_device *);
1: + void (*stop)(struct hid_device *);
1: + int (*open)(struct hid_device *);
1: + void (*close)(struct hid_device *);
1: + int (*power)(struct hid_device *, int);
1: + int (*parse)(struct hid_device *);
1: + void (*request)(struct hid_device *, struct hid_report *, int);
1: + int (*wait)(struct hid_device *);
1: + int (*raw_request)(struct hid_device *, unsigned char, __u8 *, size_t,
1: + unsigned char, int);
1: + int (*output_report)(struct hid_device *, __u8 *, size_t);
1: + int (*idle)(struct hid_device *, int, int, int);
1: };
1:
1: struct hid_parser {
1: - struct hid_global global;
1: - struct hid_global global_stack[4];
1: - unsigned int global_stack_ptr;
1: - struct hid_local local;
1: - unsigned int *collection_stack;
1: - unsigned int collection_stack_ptr;
1: - unsigned int collection_stack_size;
1: - struct hid_device *device;
1: - unsigned int scan_flags;
1: + struct hid_global global;
1: + struct hid_global global_stack[4];
1: + unsigned int global_stack_ptr;
1: + struct hid_local local;
1: + unsigned int *collection_stack;
1: + unsigned int collection_stack_ptr;
1: + unsigned int collection_stack_size;
1: + struct hid_device *device;
1: + unsigned int scan_flags;
1: };
1:
1: struct hid_report_id {
1: - __u32 report_type;
1: + __u32 report_type;
1: };
1:
1: struct hid_usage_id {
1: - __u32 usage_hid;
1: - __u32 usage_type;
1: - __u32 usage_code;
1: + __u32 usage_hid;
1: + __u32 usage_type;
1: + __u32 usage_code;
1: };
1:
1: struct hiddev {
1: - int minor;
1: - int exist;
1: - int open;
1: - struct mutex existancelock;
1: - wait_queue_head_t wait;
1: - struct hid_device *hid;
1: - struct list_head list;
1: - spinlock_t list_lock;
1: - bool initialized;
1: + int minor;
1: + int exist;
1: + int open;
1: + struct mutex existancelock;
1: + wait_queue_head_t wait;
1: + struct hid_device *hid;
1: + struct list_head list;
1: + spinlock_t list_lock;
1: + bool initialized;
1: };
1:
1: struct hidraw {
1: - unsigned int minor;
1: - int exist;
1: - int open;
1: - wait_queue_head_t wait;
1: - struct hid_device *hid;
1: - struct device *dev;
1: - spinlock_t list_lock;
1: - struct list_head list;
1: + unsigned int minor;
1: + int exist;
1: + int open;
1: + wait_queue_head_t wait;
1: + struct hid_device *hid;
1: + struct device *dev;
1: + spinlock_t list_lock;
1: + struct list_head list;
1: };
1:
1: struct hid_dynid {
1: - struct list_head list;
1: - struct hid_device_id id;
1: + struct list_head list;
1: + struct hid_device_id id;
1: };
1:
1: typedef bool (*hid_usage_cmp_t)(struct hid_usage *, unsigned int, unsigned int);
1:
1: struct quirks_list_struct {
1: - struct hid_device_id hid_bl_item;
1: - struct list_head node;
1: + struct hid_device_id hid_bl_item;
1: + struct list_head node;
1: };
1:
1: struct hid_debug_list {
1: - struct {
1: - union {
1: - struct __kfifo kfifo;
1: - char *type;
1: - const char *const_type;
1: - char (*rectype)[0];
1: - char *ptr;
1: - const char *ptr_const;
1: - };
1: - char buf[0];
1: - } hid_debug_fifo;
1: - struct fasync_struct *fasync;
1: - struct hid_device *hdev;
1: - struct list_head node;
1: - struct mutex read_mutex;
1: + struct {
1: + union {
1: + struct __kfifo kfifo;
1: + char *type;
1: + const char *const_type;
1: + char (*rectype)[0];
1: + char *ptr;
1: + const char *ptr_const;
1: + };
1: + char buf[0];
1: + } hid_debug_fifo;
1: + struct fasync_struct *fasync;
1: + struct hid_device *hdev;
1: + struct list_head node;
1: + struct mutex read_mutex;
1: };
1:
1: struct hid_usage_entry {
1: - unsigned int page;
1: - unsigned int usage;
1: - const char *description;
1: + unsigned int page;
1: + unsigned int usage;
1: + const char *description;
1: };
1:
1: struct hidraw_devinfo {
1: - __u32 bustype;
1: - __s16 vendor;
1: - __s16 product;
1: + __u32 bustype;
1: + __s16 vendor;
1: + __s16 product;
1: };
1:
1: struct hidraw_report {
1: - __u8 *value;
1: - int len;
1: + __u8 *value;
1: + int len;
1: };
1:
1: struct hidraw_list {
1: - struct hidraw_report buffer[64];
1: - int head;
1: - int tail;
1: - struct fasync_struct *fasync;
1: - struct hidraw *hidraw;
1: - struct list_head node;
1: - struct mutex read_mutex;
1: + struct hidraw_report buffer[64];
1: + int head;
1: + int tail;
1: + struct fasync_struct *fasync;
1: + struct hidraw *hidraw;
1: + struct list_head node;
1: + struct mutex read_mutex;
1: };
1:
1: struct a4tech_sc {
1: - long unsigned int quirks;
1: - unsigned int hw_wheel;
1: - __s32 delayed_value;
1: + long unsigned int quirks;
1: + unsigned int hw_wheel;
1: + __s32 delayed_value;
1: };
1:
1: struct apple_sc {
1: - long unsigned int quirks;
1: - unsigned int fn_on;
1: - long unsigned int pressed_numlock[12];
1: + long unsigned int quirks;
1: + unsigned int fn_on;
1: + long unsigned int pressed_numlock[12];
1: };
1:
1: struct apple_key_translation {
1: - u16 from;
1: - u16 to;
1: - u8 flags;
1: + u16 from;
1: + u16 to;
1: + u8 flags;
1: };
1:
1: struct lg_drv_data {
1: - long unsigned int quirks;
1: - void *device_props;
1: + long unsigned int quirks;
1: + void *device_props;
1: };
1:
1: struct dev_type___2 {
1: - u16 idVendor;
1: - u16 idProduct;
1: - const short int *ff;
1: + u16 idVendor;
1: + u16 idProduct;
1: + const short int *ff;
1: };
1:
1: struct lg4ff_wheel_data {
1: - const u32 product_id;
1: - u16 combine;
1: - u16 range;
1: - const u16 min_range;
1: - const u16 max_range;
1: - u8 led_state;
1: - struct led_classdev *led[5];
1: - const u32 alternate_modes;
1: - const char * const real_tag;
1: - const char * const real_name;
1: - const u16 real_product_id;
1: - void (*set_range)(struct hid_device *, u16);
1: + const u32 product_id;
1: + u16 combine;
1: + u16 range;
1: + const u16 min_range;
1: + const u16 max_range;
1: + u8 led_state;
1: + struct led_classdev *led[5];
1: + const u32 alternate_modes;
1: + const char *const real_tag;
1: + const char *const real_name;
1: + const u16 real_product_id;
1: + void (*set_range)(struct hid_device *, u16);
1: };
1:
1: struct lg4ff_device_entry {
1: - spinlock_t report_lock;
1: - struct hid_report *report;
1: - struct lg4ff_wheel_data wdata;
1: + spinlock_t report_lock;
1: + struct hid_report *report;
1: + struct lg4ff_wheel_data wdata;
1: };
1:
1: struct lg4ff_wheel {
1: - const u32 product_id;
1: - const short int *ff_effects;
1: - const u16 min_range;
1: - const u16 max_range;
1: - void (*set_range)(struct hid_device *, u16);
1: + const u32 product_id;
1: + const short int *ff_effects;
1: + const u16 min_range;
1: + const u16 max_range;
1: + void (*set_range)(struct hid_device *, u16);
1: };
1:
1: struct lg4ff_compat_mode_switch {
1: - const u8 cmd_count;
1: - u8 cmd[0];
1: + const u8 cmd_count;
1: + u8 cmd[0];
1: };
1:
1: struct lg4ff_wheel_ident_info {
1: - const u32 modes;
1: - const u16 mask;
1: - const u16 result;
1: - const u16 real_product_id;
1: + const u32 modes;
1: + const u16 mask;
1: + const u16 result;
1: + const u16 real_product_id;
1: };
1:
1: struct lg4ff_multimode_wheel {
1: - const u16 product_id;
1: - const u32 alternate_modes;
1: - const char *real_tag;
1: - const char *real_name;
1: + const u16 product_id;
1: + const u32 alternate_modes;
1: + const char *real_tag;
1: + const char *real_name;
1: };
1:
1: struct lg4ff_alternate_mode {
1: - const u16 product_id;
1: - const char *tag;
1: - const char *name;
1: + const u16 product_id;
1: + const char *tag;
1: + const char *name;
1: };
1:
1: enum lg_g15_model {
1: - LG_G15 = 0,
1: - LG_G15_V2 = 1,
1: - LG_G510 = 2,
1: - LG_G510_USB_AUDIO = 3,
1: + LG_G15 = 0,
1: + LG_G15_V2 = 1,
1: + LG_G510 = 2,
1: + LG_G510_USB_AUDIO = 3,
1: };
1:
1: enum lg_g15_led_type {
1: - LG_G15_KBD_BRIGHTNESS = 0,
1: - LG_G15_LCD_BRIGHTNESS = 1,
1: - LG_G15_BRIGHTNESS_MAX = 2,
1: - LG_G15_MACRO_PRESET1 = 2,
1: - LG_G15_MACRO_PRESET2 = 3,
1: - LG_G15_MACRO_PRESET3 = 4,
1: - LG_G15_MACRO_RECORD = 5,
1: - LG_G15_LED_MAX = 6,
1: + LG_G15_KBD_BRIGHTNESS = 0,
1: + LG_G15_LCD_BRIGHTNESS = 1,
1: + LG_G15_BRIGHTNESS_MAX = 2,
1: + LG_G15_MACRO_PRESET1 = 2,
1: + LG_G15_MACRO_PRESET2 = 3,
1: + LG_G15_MACRO_PRESET3 = 4,
1: + LG_G15_MACRO_RECORD = 5,
1: + LG_G15_LED_MAX = 6,
1: };
1:
1: struct lg_g15_led {
1: - struct led_classdev cdev;
1: - enum led_brightness brightness;
1: - enum lg_g15_led_type led;
1: - u8 red;
1: - u8 green;
1: - u8 blue;
1: + struct led_classdev cdev;
1: + enum led_brightness brightness;
1: + enum lg_g15_led_type led;
1: + u8 red;
1: + u8 green;
1: + u8 blue;
1: };
1:
1: struct lg_g15_data {
1: - u8 transfer_buf[20];
1: - struct mutex mutex;
1: - struct work_struct work;
1: - struct input_dev *input;
1: - struct hid_device *hdev;
1: - enum lg_g15_model model;
1: - struct lg_g15_led leds[6];
1: - bool game_mode_enabled;
1: + u8 transfer_buf[20];
1: + struct mutex mutex;
1: + struct work_struct work;
1: + struct input_dev *input;
1: + struct hid_device *hdev;
1: + enum lg_g15_model model;
1: + struct lg_g15_led leds[6];
1: + bool game_mode_enabled;
1: };
1:
1: struct ms_data {
1: - long unsigned int quirks;
1: - struct hid_device *hdev;
1: - struct work_struct ff_worker;
1: - __u8 strong;
1: - __u8 weak;
1: - void *output_report_dmabuf;
1: + long unsigned int quirks;
1: + struct hid_device *hdev;
1: + struct work_struct ff_worker;
1: + __u8 strong;
1: + __u8 weak;
1: + void *output_report_dmabuf;
1: };
1:
1: enum {
1: - MAGNITUDE_STRONG = 2,
1: - MAGNITUDE_WEAK = 3,
1: - MAGNITUDE_NUM = 4,
1: + MAGNITUDE_STRONG = 2,
1: + MAGNITUDE_WEAK = 3,
1: + MAGNITUDE_NUM = 4,
1: };
1:
1: struct xb1s_ff_report {
1: - __u8 report_id;
1: - __u8 enable;
1: - __u8 magnitude[4];
1: - __u8 duration_10ms;
1: - __u8 start_delay_10ms;
1: - __u8 loop_count;
1: + __u8 report_id;
1: + __u8 enable;
1: + __u8 magnitude[4];
1: + __u8 duration_10ms;
1: + __u8 start_delay_10ms;
1: + __u8 loop_count;
1: };
1:
1: struct ntrig_data {
1: - __u16 x;
1: - __u16 y;
1: - __u16 w;
1: - __u16 h;
1: - __u16 id;
1: - bool tipswitch;
1: - bool confidence;
1: - bool first_contact_touch;
1: - bool reading_mt;
1: - __u8 mt_footer[4];
1: - __u8 mt_foot_count;
1: - __s8 act_state;
1: - __s8 deactivate_slack;
1: - __s8 activate_slack;
1: - __u16 min_width;
1: - __u16 min_height;
1: - __u16 activation_width;
1: - __u16 activation_height;
1: - __u16 sensor_logical_width;
1: - __u16 sensor_logical_height;
1: - __u16 sensor_physical_width;
1: - __u16 sensor_physical_height;
1: + __u16 x;
1: + __u16 y;
1: + __u16 w;
1: + __u16 h;
1: + __u16 id;
1: + bool tipswitch;
1: + bool confidence;
1: + bool first_contact_touch;
1: + bool reading_mt;
1: + __u8 mt_footer[4];
1: + __u8 mt_foot_count;
1: + __s8 act_state;
1: + __s8 deactivate_slack;
1: + __s8 activate_slack;
1: + __u16 min_width;
1: + __u16 min_height;
1: + __u16 activation_width;
1: + __u16 activation_height;
1: + __u16 sensor_logical_width;
1: + __u16 sensor_logical_height;
1: + __u16 sensor_physical_width;
1: + __u16 sensor_physical_height;
1: };
1:
1: struct plff_device {
1: - struct hid_report *report;
1: - s32 maxval;
1: - s32 *strong;
1: - s32 *weak;
1: + struct hid_report *report;
1: + s32 maxval;
1: + s32 *strong;
1: + s32 *weak;
1: };
1:
1: enum {
1: - POWER_SUPPLY_SCOPE_UNKNOWN = 0,
1: - POWER_SUPPLY_SCOPE_SYSTEM = 1,
1: - POWER_SUPPLY_SCOPE_DEVICE = 2,
1: + POWER_SUPPLY_SCOPE_UNKNOWN = 0,
1: + POWER_SUPPLY_SCOPE_SYSTEM = 1,
1: + POWER_SUPPLY_SCOPE_DEVICE = 2,
1: };
1:
1: struct sixaxis_led {
1: - u8 time_enabled;
1: - u8 duty_length;
1: - u8 enabled;
1: - u8 duty_off;
1: - u8 duty_on;
1: + u8 time_enabled;
1: + u8 duty_length;
1: + u8 enabled;
1: + u8 duty_off;
1: + u8 duty_on;
1: };
1:
1: struct sixaxis_rumble {
1: - u8 padding;
1: - u8 right_duration;
1: - u8 right_motor_on;
1: - u8 left_duration;
1: - u8 left_motor_force;
1: + u8 padding;
1: + u8 right_duration;
1: + u8 right_motor_on;
1: + u8 left_duration;
1: + u8 left_motor_force;
1: };
1:
1: struct sixaxis_output_report {
1: - u8 report_id;
1: - struct sixaxis_rumble rumble;
1: - u8 padding[4];
1: - u8 leds_bitmap;
1: - struct sixaxis_led led[4];
1: - struct sixaxis_led _reserved;
1: + u8 report_id;
1: + struct sixaxis_rumble rumble;
1: + u8 padding[4];
1: + u8 leds_bitmap;
1: + struct sixaxis_led led[4];
1: + struct sixaxis_led _reserved;
1: };
1:
1: union sixaxis_output_report_01 {
1: - struct sixaxis_output_report data;
1: - u8 buf[36];
1: + struct sixaxis_output_report data;
1: + u8 buf[36];
1: };
1:
1: struct motion_output_report_02 {
1: - u8 type;
1: - u8 zero;
1: - u8 r;
1: - u8 g;
1: - u8 b;
1: - u8 zero2;
1: - u8 rumble;
1: + u8 type;
1: + u8 zero;
1: + u8 r;
1: + u8 g;
1: + u8 b;
1: + u8 zero2;
1: + u8 rumble;
1: };
1:
1: struct ds4_calibration_data {
1: - int abs_code;
1: - short int bias;
1: - int sens_numer;
1: - int sens_denom;
1: + int abs_code;
1: + short int bias;
1: + int sens_numer;
1: + int sens_denom;
1: };
1:
1: enum ds4_dongle_state {
1: - DONGLE_DISCONNECTED = 0,
1: - DONGLE_CALIBRATING = 1,
1: - DONGLE_CONNECTED = 2,
1: - DONGLE_DISABLED = 3,
1: + DONGLE_DISCONNECTED = 0,
1: + DONGLE_CALIBRATING = 1,
1: + DONGLE_CONNECTED = 2,
1: + DONGLE_DISABLED = 3,
1: };
1:
1: enum sony_worker {
1: - SONY_WORKER_STATE = 0,
1: - SONY_WORKER_HOTPLUG = 1,
1: + SONY_WORKER_STATE = 0,
1: + SONY_WORKER_HOTPLUG = 1,
1: };
1:
1: struct sony_sc {
1: - spinlock_t lock;
1: - struct list_head list_node;
1: - struct hid_device *hdev;
1: - struct input_dev *touchpad;
1: - struct input_dev *sensor_dev;
1: - struct led_classdev *leds[4];
1: - long unsigned int quirks;
1: - struct work_struct hotplug_worker;
1: - struct work_struct state_worker;
1: - void (*send_output_report)(struct sony_sc *);
1: - struct power_supply *battery;
1: - struct power_supply_desc battery_desc;
1: - int device_id;
1: - unsigned int fw_version;
1: - unsigned int hw_version;
1: - u8 *output_report_dmabuf;
1: - u8 mac_address[6];
1: - u8 hotplug_worker_initialized;
1: - u8 state_worker_initialized;
1: - u8 defer_initialization;
1: - u8 cable_state;
1: - u8 battery_charging;
1: - u8 battery_capacity;
1: - u8 led_state[4];
1: - u8 led_delay_on[4];
1: - u8 led_delay_off[4];
1: - u8 led_count;
1: - bool timestamp_initialized;
1: - u16 prev_timestamp;
1: - unsigned int timestamp_us;
1: - u8 ds4_bt_poll_interval;
1: - enum ds4_dongle_state ds4_dongle_state;
1: - struct ds4_calibration_data ds4_calib_data[6];
1: + spinlock_t lock;
1: + struct list_head list_node;
1: + struct hid_device *hdev;
1: + struct input_dev *touchpad;
1: + struct input_dev *sensor_dev;
1: + struct led_classdev *leds[4];
1: + long unsigned int quirks;
1: + struct work_struct hotplug_worker;
1: + struct work_struct state_worker;
1: + void (*send_output_report)(struct sony_sc *);
1: + struct power_supply *battery;
1: + struct power_supply_desc battery_desc;
1: + int device_id;
1: + unsigned int fw_version;
1: + unsigned int hw_version;
1: + u8 *output_report_dmabuf;
1: + u8 mac_address[6];
1: + u8 hotplug_worker_initialized;
1: + u8 state_worker_initialized;
1: + u8 defer_initialization;
1: + u8 cable_state;
1: + u8 battery_charging;
1: + u8 battery_capacity;
1: + u8 led_state[4];
1: + u8 led_delay_on[4];
1: + u8 led_delay_off[4];
1: + u8 led_count;
1: + bool timestamp_initialized;
1: + u16 prev_timestamp;
1: + unsigned int timestamp_us;
1: + u8 ds4_bt_poll_interval;
1: + enum ds4_dongle_state ds4_dongle_state;
1: + struct ds4_calibration_data ds4_calib_data[6];
1: };
1:
1: struct hid_control_fifo {
1: - unsigned char dir;
1: - struct hid_report *report;
1: - char *raw_report;
1: + unsigned char dir;
1: + struct hid_report *report;
1: + char *raw_report;
1: };
1:
1: struct hid_output_fifo {
1: - struct hid_report *report;
1: - char *raw_report;
1: + struct hid_report *report;
1: + char *raw_report;
1: };
1:
1: struct hid_class_descriptor {
1: - __u8 bDescriptorType;
1: - __le16 wDescriptorLength;
1: + __u8 bDescriptorType;
1: + __le16 wDescriptorLength;
1: } __attribute__((packed));
1:
1: struct hid_descriptor {
1: - __u8 bLength;
1: - __u8 bDescriptorType;
1: - __le16 bcdHID;
1: - __u8 bCountryCode;
1: - __u8 bNumDescriptors;
1: - struct hid_class_descriptor desc[1];
1: + __u8 bLength;
1: + __u8 bDescriptorType;
1: + __le16 bcdHID;
1: + __u8 bCountryCode;
1: + __u8 bNumDescriptors;
1: + struct hid_class_descriptor desc[1];
1: } __attribute__((packed));
1:
1: struct usbhid_device {
1: - struct hid_device *hid;
1: - struct usb_interface *intf;
1: - int ifnum;
1: - unsigned int bufsize;
1: - struct urb *urbin;
1: - char *inbuf;
1: - dma_addr_t inbuf_dma;
1: - struct urb *urbctrl;
1: - struct usb_ctrlrequest *cr;
1: - struct hid_control_fifo ctrl[256];
1: - unsigned char ctrlhead;
1: - unsigned char ctrltail;
1: - char *ctrlbuf;
1: - dma_addr_t ctrlbuf_dma;
1: - long unsigned int last_ctrl;
1: - struct urb *urbout;
1: - struct hid_output_fifo out[256];
1: - unsigned char outhead;
1: - unsigned char outtail;
1: - char *outbuf;
1: - dma_addr_t outbuf_dma;
1: - long unsigned int last_out;
1: - spinlock_t lock;
1: - long unsigned int iofl;
1: - struct timer_list io_retry;
1: - long unsigned int stop_retry;
1: - unsigned int retry_delay;
1: - struct work_struct reset_work;
1: - wait_queue_head_t wait;
1: + struct hid_device *hid;
1: + struct usb_interface *intf;
1: + int ifnum;
1: + unsigned int bufsize;
1: + struct urb *urbin;
1: + char *inbuf;
1: + dma_addr_t inbuf_dma;
1: + struct urb *urbctrl;
1: + struct usb_ctrlrequest *cr;
1: + struct hid_control_fifo ctrl[256];
1: + unsigned char ctrlhead;
1: + unsigned char ctrltail;
1: + char *ctrlbuf;
1: + dma_addr_t ctrlbuf_dma;
1: + long unsigned int last_ctrl;
1: + struct urb *urbout;
1: + struct hid_output_fifo out[256];
1: + unsigned char outhead;
1: + unsigned char outtail;
1: + char *outbuf;
1: + dma_addr_t outbuf_dma;
1: + long unsigned int last_out;
1: + spinlock_t lock;
1: + long unsigned int iofl;
1: + struct timer_list io_retry;
1: + long unsigned int stop_retry;
1: + unsigned int retry_delay;
1: + struct work_struct reset_work;
1: + wait_queue_head_t wait;
1: };
1:
1: struct hiddev_event {
1: - unsigned int hid;
1: - int value;
1: + unsigned int hid;
1: + int value;
1: };
1:
1: struct hiddev_devinfo {
1: - __u32 bustype;
1: - __u32 busnum;
1: - __u32 devnum;
1: - __u32 ifnum;
1: - __s16 vendor;
1: - __s16 product;
1: - __s16 version;
1: - __u32 num_applications;
1: + __u32 bustype;
1: + __u32 busnum;
1: + __u32 devnum;
1: + __u32 ifnum;
1: + __s16 vendor;
1: + __s16 product;
1: + __s16 version;
1: + __u32 num_applications;
1: };
1:
1: struct hiddev_collection_info {
1: - __u32 index;
1: - __u32 type;
1: - __u32 usage;
1: - __u32 level;
1: + __u32 index;
1: + __u32 type;
1: + __u32 usage;
1: + __u32 level;
1: };
1:
1: struct hiddev_report_info {
1: - __u32 report_type;
1: - __u32 report_id;
1: - __u32 num_fields;
1: + __u32 report_type;
1: + __u32 report_id;
1: + __u32 num_fields;
1: };
1:
1: struct hiddev_field_info {
1: - __u32 report_type;
1: - __u32 report_id;
1: - __u32 field_index;
1: - __u32 maxusage;
1: - __u32 flags;
1: - __u32 physical;
1: - __u32 logical;
1: - __u32 application;
1: - __s32 logical_minimum;
1: - __s32 logical_maximum;
1: - __s32 physical_minimum;
1: - __s32 physical_maximum;
1: - __u32 unit_exponent;
1: - __u32 unit;
1: + __u32 report_type;
1: + __u32 report_id;
1: + __u32 field_index;
1: + __u32 maxusage;
1: + __u32 flags;
1: + __u32 physical;
1: + __u32 logical;
1: + __u32 application;
1: + __s32 logical_minimum;
1: + __s32 logical_maximum;
1: + __s32 physical_minimum;
1: + __s32 physical_maximum;
1: + __u32 unit_exponent;
1: + __u32 unit;
1: };
1:
1: struct hiddev_usage_ref {
1: - __u32 report_type;
1: - __u32 report_id;
1: - __u32 field_index;
1: - __u32 usage_index;
1: - __u32 usage_code;
1: - __s32 value;
1: + __u32 report_type;
1: + __u32 report_id;
1: + __u32 field_index;
1: + __u32 usage_index;
1: + __u32 usage_code;
1: + __s32 value;
1: };
1:
1: struct hiddev_usage_ref_multi {
1: - struct hiddev_usage_ref uref;
1: - __u32 num_values;
1: - __s32 values[1024];
1: + struct hiddev_usage_ref uref;
1: + __u32 num_values;
1: + __s32 values[1024];
1: };
1:
1: struct hiddev_list {
1: - struct hiddev_usage_ref buffer[2048];
1: - int head;
1: - int tail;
1: - unsigned int flags;
1: - struct fasync_struct *fasync;
1: - struct hiddev *hiddev;
1: - struct list_head node;
1: - struct mutex thread_lock;
1: + struct hiddev_usage_ref buffer[2048];
1: + int head;
1: + int tail;
1: + unsigned int flags;
1: + struct fasync_struct *fasync;
1: + struct hiddev *hiddev;
1: + struct list_head node;
1: + struct mutex thread_lock;
1: };
1:
1: struct pidff_usage {
1: - struct hid_field *field;
1: - s32 *value;
1: + struct hid_field *field;
1: + s32 *value;
1: };
1:
1: struct pidff_device {
1: - struct hid_device *hid;
1: - struct hid_report *reports[13];
1: - struct pidff_usage set_effect[7];
1: - struct pidff_usage set_envelope[5];
1: - struct pidff_usage set_condition[8];
1: - struct pidff_usage set_periodic[5];
1: - struct pidff_usage set_constant[2];
1: - struct pidff_usage set_ramp[3];
1: - struct pidff_usage device_gain[1];
1: - struct pidff_usage block_load[2];
1: - struct pidff_usage pool[3];
1: - struct pidff_usage effect_operation[2];
1: - struct pidff_usage block_free[1];
1: - struct hid_field *create_new_effect_type;
1: - struct hid_field *set_effect_type;
1: - struct hid_field *effect_direction;
1: - struct hid_field *device_control;
1: - struct hid_field *block_load_status;
1: - struct hid_field *effect_operation_status;
1: - int control_id[2];
1: - int type_id[11];
1: - int status_id[2];
1: - int operation_id[2];
1: - int pid_id[64];
1: + struct hid_device *hid;
1: + struct hid_report *reports[13];
1: + struct pidff_usage set_effect[7];
1: + struct pidff_usage set_envelope[5];
1: + struct pidff_usage set_condition[8];
1: + struct pidff_usage set_periodic[5];
1: + struct pidff_usage set_constant[2];
1: + struct pidff_usage set_ramp[3];
1: + struct pidff_usage device_gain[1];
1: + struct pidff_usage block_load[2];
1: + struct pidff_usage pool[3];
1: + struct pidff_usage effect_operation[2];
1: + struct pidff_usage block_free[1];
1: + struct hid_field *create_new_effect_type;
1: + struct hid_field *set_effect_type;
1: + struct hid_field *effect_direction;
1: + struct hid_field *device_control;
1: + struct hid_field *block_load_status;
1: + struct hid_field *effect_operation_status;
1: + int control_id[2];
1: + int type_id[11];
1: + int status_id[2];
1: + int operation_id[2];
1: + int pid_id[64];
1: };
1:
1: enum rfkill_type {
1: - RFKILL_TYPE_ALL = 0,
1: - RFKILL_TYPE_WLAN = 1,
1: - RFKILL_TYPE_BLUETOOTH = 2,
1: - RFKILL_TYPE_UWB = 3,
1: - RFKILL_TYPE_WIMAX = 4,
1: - RFKILL_TYPE_WWAN = 5,
1: - RFKILL_TYPE_GPS = 6,
1: - RFKILL_TYPE_FM = 7,
1: - RFKILL_TYPE_NFC = 8,
1: - NUM_RFKILL_TYPES = 9,
1: + RFKILL_TYPE_ALL = 0,
1: + RFKILL_TYPE_WLAN = 1,
1: + RFKILL_TYPE_BLUETOOTH = 2,
1: + RFKILL_TYPE_UWB = 3,
1: + RFKILL_TYPE_WIMAX = 4,
1: + RFKILL_TYPE_WWAN = 5,
1: + RFKILL_TYPE_GPS = 6,
1: + RFKILL_TYPE_FM = 7,
1: + RFKILL_TYPE_NFC = 8,
1: + NUM_RFKILL_TYPES = 9,
1: };
1:
1: struct rfkill;
1:
1: struct rfkill_ops {
1: - void (*poll)(struct rfkill *, void *);
1: - void (*query)(struct rfkill *, void *);
1: - int (*set_block)(void *, bool);
1: -};
1: -
1: -enum {
1: - DISABLE_ASL_WLAN = 1,
1: - DISABLE_ASL_BLUETOOTH = 2,
1: - DISABLE_ASL_IRDA = 4,
1: - DISABLE_ASL_CAMERA = 8,
1: - DISABLE_ASL_TV = 16,
1: - DISABLE_ASL_GPS = 32,
1: - DISABLE_ASL_DISPLAYSWITCH = 64,
1: - DISABLE_ASL_MODEM = 128,
1: - DISABLE_ASL_CARDREADER = 256,
1: - DISABLE_ASL_3G = 512,
1: - DISABLE_ASL_WIMAX = 1024,
1: - DISABLE_ASL_HWCF = 2048,
1: -};
1: -
1: -enum {
1: - CM_ASL_WLAN = 0,
1: - CM_ASL_BLUETOOTH = 1,
1: - CM_ASL_IRDA = 2,
1: - CM_ASL_1394 = 3,
1: - CM_ASL_CAMERA = 4,
1: - CM_ASL_TV = 5,
1: - CM_ASL_GPS = 6,
1: - CM_ASL_DVDROM = 7,
1: - CM_ASL_DISPLAYSWITCH = 8,
1: - CM_ASL_PANELBRIGHT = 9,
1: - CM_ASL_BIOSFLASH = 10,
1: - CM_ASL_ACPIFLASH = 11,
1: - CM_ASL_CPUFV = 12,
1: - CM_ASL_CPUTEMPERATURE = 13,
1: - CM_ASL_FANCPU = 14,
1: - CM_ASL_FANCHASSIS = 15,
1: - CM_ASL_USBPORT1 = 16,
1: - CM_ASL_USBPORT2 = 17,
1: - CM_ASL_USBPORT3 = 18,
1: - CM_ASL_MODEM = 19,
1: - CM_ASL_CARDREADER = 20,
1: - CM_ASL_3G = 21,
1: - CM_ASL_WIMAX = 22,
1: - CM_ASL_HWCF = 23,
1: - CM_ASL_LID = 24,
1: - CM_ASL_TYPE = 25,
1: - CM_ASL_PANELPOWER = 26,
1: - CM_ASL_TPD = 27,
1: + void (*poll)(struct rfkill *, void *);
1: + void (*query)(struct rfkill *, void *);
1: + int (*set_block)(void *, bool);
1: +};
1: +
1: +enum {
1: + DISABLE_ASL_WLAN = 1,
1: + DISABLE_ASL_BLUETOOTH = 2,
1: + DISABLE_ASL_IRDA = 4,
1: + DISABLE_ASL_CAMERA = 8,
1: + DISABLE_ASL_TV = 16,
1: + DISABLE_ASL_GPS = 32,
1: + DISABLE_ASL_DISPLAYSWITCH = 64,
1: + DISABLE_ASL_MODEM = 128,
1: + DISABLE_ASL_CARDREADER = 256,
1: + DISABLE_ASL_3G = 512,
1: + DISABLE_ASL_WIMAX = 1024,
1: + DISABLE_ASL_HWCF = 2048,
1: +};
1: +
1: +enum {
1: + CM_ASL_WLAN = 0,
1: + CM_ASL_BLUETOOTH = 1,
1: + CM_ASL_IRDA = 2,
1: + CM_ASL_1394 = 3,
1: + CM_ASL_CAMERA = 4,
1: + CM_ASL_TV = 5,
1: + CM_ASL_GPS = 6,
1: + CM_ASL_DVDROM = 7,
1: + CM_ASL_DISPLAYSWITCH = 8,
1: + CM_ASL_PANELBRIGHT = 9,
1: + CM_ASL_BIOSFLASH = 10,
1: + CM_ASL_ACPIFLASH = 11,
1: + CM_ASL_CPUFV = 12,
1: + CM_ASL_CPUTEMPERATURE = 13,
1: + CM_ASL_FANCPU = 14,
1: + CM_ASL_FANCHASSIS = 15,
1: + CM_ASL_USBPORT1 = 16,
1: + CM_ASL_USBPORT2 = 17,
1: + CM_ASL_USBPORT3 = 18,
1: + CM_ASL_MODEM = 19,
1: + CM_ASL_CARDREADER = 20,
1: + CM_ASL_3G = 21,
1: + CM_ASL_WIMAX = 22,
1: + CM_ASL_HWCF = 23,
1: + CM_ASL_LID = 24,
1: + CM_ASL_TYPE = 25,
1: + CM_ASL_PANELPOWER = 26,
1: + CM_ASL_TPD = 27,
1: };
1:
1: struct eeepc_laptop {
1: - acpi_handle handle;
1: - u32 cm_supported;
1: - bool cpufv_disabled;
1: - bool hotplug_disabled;
1: - u16 event_count[128];
1: - struct platform_device *platform_device;
1: - struct acpi_device *device;
1: - struct backlight_device *backlight_device;
1: - struct input_dev *inputdev;
1: - struct rfkill *wlan_rfkill;
1: - struct rfkill *bluetooth_rfkill;
1: - struct rfkill *wwan3g_rfkill;
1: - struct rfkill *wimax_rfkill;
1: - struct hotplug_slot hotplug_slot;
1: - struct mutex hotplug_lock;
1: - struct led_classdev tpd_led;
1: - int tpd_led_wk;
1: - struct workqueue_struct *led_workqueue;
1: - struct work_struct tpd_led_work;
1: + acpi_handle handle;
1: + u32 cm_supported;
1: + bool cpufv_disabled;
1: + bool hotplug_disabled;
1: + u16 event_count[128];
1: + struct platform_device *platform_device;
1: + struct acpi_device *device;
1: + struct backlight_device *backlight_device;
1: + struct input_dev *inputdev;
1: + struct rfkill *wlan_rfkill;
1: + struct rfkill *bluetooth_rfkill;
1: + struct rfkill *wwan3g_rfkill;
1: + struct rfkill *wimax_rfkill;
1: + struct hotplug_slot hotplug_slot;
1: + struct mutex hotplug_lock;
1: + struct led_classdev tpd_led;
1: + int tpd_led_wk;
1: + struct workqueue_struct *led_workqueue;
1: + struct work_struct tpd_led_work;
1: };
1:
1: struct eeepc_cpufv {
1: - int num;
1: - int cur;
1: + int num;
1: + int cur;
1: };
1:
1: struct pmc_bit_map {
1: - const char *name;
1: - u32 bit_mask;
1: + const char *name;
1: + u32 bit_mask;
1: };
1:
1: struct pmc_reg_map {
1: - const struct pmc_bit_map *d3_sts_0;
1: - const struct pmc_bit_map *d3_sts_1;
1: - const struct pmc_bit_map *func_dis;
1: - const struct pmc_bit_map *func_dis_2;
1: - const struct pmc_bit_map *pss;
1: + const struct pmc_bit_map *d3_sts_0;
1: + const struct pmc_bit_map *d3_sts_1;
1: + const struct pmc_bit_map *func_dis;
1: + const struct pmc_bit_map *func_dis_2;
1: + const struct pmc_bit_map *pss;
1: };
1:
1: struct pmc_data {
1: - const struct pmc_reg_map *map;
1: - const struct pmc_clk *clks;
1: + const struct pmc_reg_map *map;
1: + const struct pmc_clk *clks;
1: };
1:
1: struct pmc_dev {
1: - u32 base_addr;
1: - void *regmap;
1: - const struct pmc_reg_map *map;
1: - struct dentry *dbgfs_dir;
1: - bool init;
1: + u32 base_addr;
1: + void *regmap;
1: + const struct pmc_reg_map *map;
1: + struct dentry *dbgfs_dir;
1: + bool init;
1: };
1:
1: struct acpi_table_pcct {
1: - struct acpi_table_header header;
1: - u32 flags;
1: - u64 reserved;
1: + struct acpi_table_header header;
1: + u32 flags;
1: + u64 reserved;
1: };
1:
1: enum acpi_pcct_type {
1: - ACPI_PCCT_TYPE_GENERIC_SUBSPACE = 0,
1: - ACPI_PCCT_TYPE_HW_REDUCED_SUBSPACE = 1,
1: - ACPI_PCCT_TYPE_HW_REDUCED_SUBSPACE_TYPE2 = 2,
1: - ACPI_PCCT_TYPE_EXT_PCC_MASTER_SUBSPACE = 3,
1: - ACPI_PCCT_TYPE_EXT_PCC_SLAVE_SUBSPACE = 4,
1: - ACPI_PCCT_TYPE_RESERVED = 5,
1: + ACPI_PCCT_TYPE_GENERIC_SUBSPACE = 0,
1: + ACPI_PCCT_TYPE_HW_REDUCED_SUBSPACE = 1,
1: + ACPI_PCCT_TYPE_HW_REDUCED_SUBSPACE_TYPE2 = 2,
1: + ACPI_PCCT_TYPE_EXT_PCC_MASTER_SUBSPACE = 3,
1: + ACPI_PCCT_TYPE_EXT_PCC_SLAVE_SUBSPACE = 4,
1: + ACPI_PCCT_TYPE_RESERVED = 5,
1: };
1:
1: struct acpi_pcct_subspace {
1: - struct acpi_subtable_header header;
1: - u8 reserved[6];
1: - u64 base_address;
1: - u64 length;
1: - struct acpi_generic_address doorbell_register;
1: - u64 preserve_mask;
1: - u64 write_mask;
1: - u32 latency;
1: - u32 max_access_rate;
1: - u16 min_turnaround_time;
1: + struct acpi_subtable_header header;
1: + u8 reserved[6];
1: + u64 base_address;
1: + u64 length;
1: + struct acpi_generic_address doorbell_register;
1: + u64 preserve_mask;
1: + u64 write_mask;
1: + u32 latency;
1: + u32 max_access_rate;
1: + u16 min_turnaround_time;
1: } __attribute__((packed));
1:
1: struct acpi_pcct_hw_reduced_type2 {
1: - struct acpi_subtable_header header;
1: - u32 platform_interrupt;
1: - u8 flags;
1: - u8 reserved;
1: - u64 base_address;
1: - u64 length;
1: - struct acpi_generic_address doorbell_register;
1: - u64 preserve_mask;
1: - u64 write_mask;
1: - u32 latency;
1: - u32 max_access_rate;
1: - u16 min_turnaround_time;
1: - struct acpi_generic_address platform_ack_register;
1: - u64 ack_preserve_mask;
1: - u64 ack_write_mask;
1: + struct acpi_subtable_header header;
1: + u32 platform_interrupt;
1: + u8 flags;
1: + u8 reserved;
1: + u64 base_address;
1: + u64 length;
1: + struct acpi_generic_address doorbell_register;
1: + u64 preserve_mask;
1: + u64 write_mask;
1: + u32 latency;
1: + u32 max_access_rate;
1: + u16 min_turnaround_time;
1: + struct acpi_generic_address platform_ack_register;
1: + u64 ack_preserve_mask;
1: + u64 ack_write_mask;
1: } __attribute__((packed));
1:
1: struct cper_sec_proc_arm {
1: - u32 validation_bits;
1: - u16 err_info_num;
1: - u16 context_info_num;
1: - u32 section_length;
1: - u8 affinity_level;
1: - u8 reserved[3];
1: - u64 mpidr;
1: - u64 midr;
1: - u32 running_state;
1: - u32 psci_state;
1: + u32 validation_bits;
1: + u16 err_info_num;
1: + u16 context_info_num;
1: + u32 section_length;
1: + u8 affinity_level;
1: + u8 reserved[3];
1: + u64 mpidr;
1: + u64 midr;
1: + u32 running_state;
1: + u32 psci_state;
1: };
1:
1: struct trace_event_raw_mc_event {
1: - struct trace_entry ent;
1: - unsigned int error_type;
1: - u32 __data_loc_msg;
1: - u32 __data_loc_label;
1: - u16 error_count;
1: - u8 mc_index;
1: - s8 top_layer;
1: - s8 middle_layer;
1: - s8 lower_layer;
1: - long int address;
1: - u8 grain_bits;
1: - long int syndrome;
1: - u32 __data_loc_driver_detail;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int error_type;
1: + u32 __data_loc_msg;
1: + u32 __data_loc_label;
1: + u16 error_count;
1: + u8 mc_index;
1: + s8 top_layer;
1: + s8 middle_layer;
1: + s8 lower_layer;
1: + long int address;
1: + u8 grain_bits;
1: + long int syndrome;
1: + u32 __data_loc_driver_detail;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_arm_event {
1: - struct trace_entry ent;
1: - u64 mpidr;
1: - u64 midr;
1: - u32 running_state;
1: - u32 psci_state;
1: - u8 affinity;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u64 mpidr;
1: + u64 midr;
1: + u32 running_state;
1: + u32 psci_state;
1: + u8 affinity;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_non_standard_event {
1: - struct trace_entry ent;
1: - char sec_type[16];
1: - char fru_id[16];
1: - u32 __data_loc_fru_text;
1: - u8 sev;
1: - u32 len;
1: - u32 __data_loc_buf;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char sec_type[16];
1: + char fru_id[16];
1: + u32 __data_loc_fru_text;
1: + u8 sev;
1: + u32 len;
1: + u32 __data_loc_buf;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_aer_event {
1: - struct trace_entry ent;
1: - u32 __data_loc_dev_name;
1: - u32 status;
1: - u8 severity;
1: - u8 tlp_header_valid;
1: - u32 tlp_header[4];
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_dev_name;
1: + u32 status;
1: + u8 severity;
1: + u8 tlp_header_valid;
1: + u32 tlp_header[4];
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_mc_event {
1: - u32 msg;
1: - u32 label;
1: - u32 driver_detail;
1: + u32 msg;
1: + u32 label;
1: + u32 driver_detail;
1: };
1:
1: struct trace_event_data_offsets_arm_event {};
1:
1: struct trace_event_data_offsets_non_standard_event {
1: - u32 fru_text;
1: - u32 buf;
1: + u32 fru_text;
1: + u32 buf;
1: };
1:
1: struct trace_event_data_offsets_aer_event {
1: - u32 dev_name;
1: + u32 dev_name;
1: };
1:
1: struct nvmem_cell_lookup {
1: - const char *nvmem_name;
1: - const char *cell_name;
1: - const char *dev_id;
1: - const char *con_id;
1: - struct list_head node;
1: + const char *nvmem_name;
1: + const char *cell_name;
1: + const char *dev_id;
1: + const char *con_id;
1: + struct list_head node;
1: };
1:
1: enum {
1: - NVMEM_ADD = 1,
1: - NVMEM_REMOVE = 2,
1: - NVMEM_CELL_ADD = 3,
1: - NVMEM_CELL_REMOVE = 4,
1: + NVMEM_ADD = 1,
1: + NVMEM_REMOVE = 2,
1: + NVMEM_CELL_ADD = 3,
1: + NVMEM_CELL_REMOVE = 4,
1: };
1:
1: struct nvmem_cell_table {
1: - const char *nvmem_name;
1: - const struct nvmem_cell_info *cells;
1: - size_t ncells;
1: - struct list_head node;
1: + const char *nvmem_name;
1: + const struct nvmem_cell_info *cells;
1: + size_t ncells;
1: + struct list_head node;
1: };
1:
1: struct nvmem_device___2 {
1: - struct module *owner;
1: - struct device dev;
1: - int stride;
1: - int word_size;
1: - int id;
1: - struct kref refcnt;
1: - size_t size;
1: - bool read_only;
1: - int flags;
1: - enum nvmem_type type;
1: - struct bin_attribute eeprom;
1: - struct device *base_dev;
1: - struct list_head cells;
1: - nvmem_reg_read_t reg_read;
1: - nvmem_reg_write_t reg_write;
1: - void *priv;
1: + struct module *owner;
1: + struct device dev;
1: + int stride;
1: + int word_size;
1: + int id;
1: + struct kref refcnt;
1: + size_t size;
1: + bool read_only;
1: + int flags;
1: + enum nvmem_type type;
1: + struct bin_attribute eeprom;
1: + struct device *base_dev;
1: + struct list_head cells;
1: + nvmem_reg_read_t reg_read;
1: + nvmem_reg_write_t reg_write;
1: + void *priv;
1: };
1:
1: struct nvmem_cell {
1: - const char *name;
1: - int offset;
1: - int bytes;
1: - int bit_offset;
1: - int nbits;
1: - struct device_node *np;
1: - struct nvmem_device___2 *nvmem;
1: - struct list_head node;
1: + const char *name;
1: + int offset;
1: + int bytes;
1: + int bit_offset;
1: + int nbits;
1: + struct device_node *np;
1: + struct nvmem_device___2 *nvmem;
1: + struct list_head node;
1: };
1:
1: struct snd_shutdown_f_ops;
1: @@ -95874,169 +96545,174 @@ struct snd_shutdown_f_ops;
1: struct snd_info_entry;
1:
1: struct snd_card {
1: - int number;
1: - char id[16];
1: - char driver[16];
1: - char shortname[32];
1: - char longname[80];
1: - char irq_descr[32];
1: - char mixername[80];
1: - char components[128];
1: - struct module *module;
1: - void *private_data;
1: - void (*private_free)(struct snd_card *);
1: - struct list_head devices;
1: - struct device ctl_dev;
1: - unsigned int last_numid;
1: - struct rw_semaphore controls_rwsem;
1: - rwlock_t ctl_files_rwlock;
1: - int controls_count;
1: - int user_ctl_count;
1: - struct list_head controls;
1: - struct list_head ctl_files;
1: - struct snd_info_entry *proc_root;
1: - struct proc_dir_entry *proc_root_link;
1: - struct list_head files_list;
1: - struct snd_shutdown_f_ops *s_f_ops;
1: - spinlock_t files_lock;
1: - int shutdown;
1: - struct completion *release_completion;
1: - struct device *dev;
1: - struct device card_dev;
1: - const struct attribute_group *dev_groups[4];
1: - bool registered;
1: - int sync_irq;
1: - wait_queue_head_t remove_sleep;
1: - unsigned int power_state;
1: - wait_queue_head_t power_sleep;
1: + int number;
1: + char id[16];
1: + char driver[16];
1: + char shortname[32];
1: + char longname[80];
1: + char irq_descr[32];
1: + char mixername[80];
1: + char components[128];
1: + struct module *module;
1: + void *private_data;
1: + void (*private_free)(struct snd_card *);
1: + struct list_head devices;
1: + struct device ctl_dev;
1: + unsigned int last_numid;
1: + struct rw_semaphore controls_rwsem;
1: + rwlock_t ctl_files_rwlock;
1: + int controls_count;
1: + int user_ctl_count;
1: + struct list_head controls;
1: + struct list_head ctl_files;
1: + struct snd_info_entry *proc_root;
1: + struct proc_dir_entry *proc_root_link;
1: + struct list_head files_list;
1: + struct snd_shutdown_f_ops *s_f_ops;
1: + spinlock_t files_lock;
1: + int shutdown;
1: + struct completion *release_completion;
1: + struct device *dev;
1: + struct device card_dev;
1: + const struct attribute_group *dev_groups[4];
1: + bool registered;
1: + int sync_irq;
1: + wait_queue_head_t remove_sleep;
1: + unsigned int power_state;
1: + wait_queue_head_t power_sleep;
1: };
1:
1: struct snd_info_buffer;
1:
1: struct snd_info_entry_text {
1: - void (*read)(struct snd_info_entry *, struct snd_info_buffer *);
1: - void (*write)(struct snd_info_entry *, struct snd_info_buffer *);
1: + void (*read)(struct snd_info_entry *, struct snd_info_buffer *);
1: + void (*write)(struct snd_info_entry *, struct snd_info_buffer *);
1: };
1:
1: struct snd_info_entry_ops;
1:
1: struct snd_info_entry {
1: - const char *name;
1: - umode_t mode;
1: - long int size;
1: - short unsigned int content;
1: - union {
1: - struct snd_info_entry_text text;
1: - struct snd_info_entry_ops *ops;
1: - } c;
1: - struct snd_info_entry *parent;
1: - struct module *module;
1: - void *private_data;
1: - void (*private_free)(struct snd_info_entry *);
1: - struct proc_dir_entry *p;
1: - struct mutex access;
1: - struct list_head children;
1: - struct list_head list;
1: + const char *name;
1: + umode_t mode;
1: + long int size;
1: + short unsigned int content;
1: + union {
1: + struct snd_info_entry_text text;
1: + struct snd_info_entry_ops *ops;
1: + } c;
1: + struct snd_info_entry *parent;
1: + struct module *module;
1: + void *private_data;
1: + void (*private_free)(struct snd_info_entry *);
1: + struct proc_dir_entry *p;
1: + struct mutex access;
1: + struct list_head children;
1: + struct list_head list;
1: };
1:
1: struct snd_minor {
1: - int type;
1: - int card;
1: - int device;
1: - const struct file_operations *f_ops;
1: - void *private_data;
1: - struct device *dev;
1: - struct snd_card *card_ptr;
1: + int type;
1: + int card;
1: + int device;
1: + const struct file_operations *f_ops;
1: + void *private_data;
1: + struct device *dev;
1: + struct snd_card *card_ptr;
1: };
1:
1: struct snd_info_buffer {
1: - char *buffer;
1: - unsigned int curr;
1: - unsigned int size;
1: - unsigned int len;
1: - int stop;
1: - int error;
1: + char *buffer;
1: + unsigned int curr;
1: + unsigned int size;
1: + unsigned int len;
1: + int stop;
1: + int error;
1: };
1:
1: struct snd_info_entry_ops {
1: - int (*open)(struct snd_info_entry *, short unsigned int, void **);
1: - int (*release)(struct snd_info_entry *, short unsigned int, void *);
1: - ssize_t (*read)(struct snd_info_entry *, void *, struct file *, char *, size_t, loff_t);
1: - ssize_t (*write)(struct snd_info_entry *, void *, struct file *, const char *, size_t, loff_t);
1: - loff_t (*llseek)(struct snd_info_entry *, void *, struct file *, loff_t, int);
1: - __poll_t (*poll)(struct snd_info_entry *, void *, struct file *, poll_table *);
1: - int (*ioctl)(struct snd_info_entry *, void *, struct file *, unsigned int, long unsigned int);
1: - int (*mmap)(struct snd_info_entry *, void *, struct inode *, struct file *, struct vm_area_struct *);
1: + int (*open)(struct snd_info_entry *, short unsigned int, void **);
1: + int (*release)(struct snd_info_entry *, short unsigned int, void *);
1: + ssize_t (*read)(struct snd_info_entry *, void *, struct file *, char *,
1: + size_t, loff_t);
1: + ssize_t (*write)(struct snd_info_entry *, void *, struct file *, const char *,
1: + size_t, loff_t);
1: + loff_t (*llseek)(struct snd_info_entry *, void *, struct file *, loff_t, int);
1: + __poll_t (*poll)(struct snd_info_entry *, void *, struct file *,
1: + poll_table *);
1: + int (*ioctl)(struct snd_info_entry *, void *, struct file *, unsigned int,
1: + long unsigned int);
1: + int (*mmap)(struct snd_info_entry *, void *, struct inode *, struct file *,
1: + struct vm_area_struct *);
1: };
1:
1: enum {
1: - SND_CTL_SUBDEV_PCM = 0,
1: - SND_CTL_SUBDEV_RAWMIDI = 1,
1: - SND_CTL_SUBDEV_ITEMS = 2,
1: + SND_CTL_SUBDEV_PCM = 0,
1: + SND_CTL_SUBDEV_RAWMIDI = 1,
1: + SND_CTL_SUBDEV_ITEMS = 2,
1: };
1:
1: struct snd_monitor_file {
1: - struct file *file;
1: - const struct file_operations *disconnected_f_op;
1: - struct list_head shutdown_list;
1: - struct list_head list;
1: + struct file *file;
1: + const struct file_operations *disconnected_f_op;
1: + struct list_head shutdown_list;
1: + struct list_head list;
1: };
1:
1: enum snd_device_type {
1: - SNDRV_DEV_LOWLEVEL = 0,
1: - SNDRV_DEV_INFO = 1,
1: - SNDRV_DEV_BUS = 2,
1: - SNDRV_DEV_CODEC = 3,
1: - SNDRV_DEV_PCM = 4,
1: - SNDRV_DEV_COMPRESS = 5,
1: - SNDRV_DEV_RAWMIDI = 6,
1: - SNDRV_DEV_TIMER = 7,
1: - SNDRV_DEV_SEQUENCER = 8,
1: - SNDRV_DEV_HWDEP = 9,
1: - SNDRV_DEV_JACK = 10,
1: - SNDRV_DEV_CONTROL = 11,
1: + SNDRV_DEV_LOWLEVEL = 0,
1: + SNDRV_DEV_INFO = 1,
1: + SNDRV_DEV_BUS = 2,
1: + SNDRV_DEV_CODEC = 3,
1: + SNDRV_DEV_PCM = 4,
1: + SNDRV_DEV_COMPRESS = 5,
1: + SNDRV_DEV_RAWMIDI = 6,
1: + SNDRV_DEV_TIMER = 7,
1: + SNDRV_DEV_SEQUENCER = 8,
1: + SNDRV_DEV_HWDEP = 9,
1: + SNDRV_DEV_JACK = 10,
1: + SNDRV_DEV_CONTROL = 11,
1: };
1:
1: enum snd_device_state {
1: - SNDRV_DEV_BUILD = 0,
1: - SNDRV_DEV_REGISTERED = 1,
1: - SNDRV_DEV_DISCONNECTED = 2,
1: + SNDRV_DEV_BUILD = 0,
1: + SNDRV_DEV_REGISTERED = 1,
1: + SNDRV_DEV_DISCONNECTED = 2,
1: };
1:
1: struct snd_device;
1:
1: struct snd_device_ops {
1: - int (*dev_free)(struct snd_device *);
1: - int (*dev_register)(struct snd_device *);
1: - int (*dev_disconnect)(struct snd_device *);
1: + int (*dev_free)(struct snd_device *);
1: + int (*dev_register)(struct snd_device *);
1: + int (*dev_disconnect)(struct snd_device *);
1: };
1:
1: struct snd_device {
1: - struct list_head list;
1: - struct snd_card *card;
1: - enum snd_device_state state;
1: - enum snd_device_type type;
1: - void *device_data;
1: - struct snd_device_ops *ops;
1: + struct list_head list;
1: + struct snd_card *card;
1: + enum snd_device_state state;
1: + enum snd_device_type type;
1: + void *device_data;
1: + struct snd_device_ops *ops;
1: };
1:
1: struct snd_aes_iec958 {
1: - unsigned char status[24];
1: - unsigned char subcode[147];
1: - unsigned char pad;
1: - unsigned char dig_subframe[4];
1: + unsigned char status[24];
1: + unsigned char subcode[147];
1: + unsigned char pad;
1: + unsigned char dig_subframe[4];
1: };
1:
1: struct snd_ctl_card_info {
1: - int card;
1: - int pad;
1: - unsigned char id[16];
1: - unsigned char driver[16];
1: - unsigned char name[32];
1: - unsigned char longname[80];
1: - unsigned char reserved_[16];
1: - unsigned char mixername[80];
1: - unsigned char components[128];
1: + int card;
1: + int pad;
1: + unsigned char id[16];
1: + unsigned char driver[16];
1: + unsigned char name[32];
1: + unsigned char longname[80];
1: + unsigned char reserved_[16];
1: + unsigned char mixername[80];
1: + unsigned char components[128];
1: };
1:
1: typedef int snd_ctl_elem_type_t;
1: @@ -96044,663 +96720,674 @@ typedef int snd_ctl_elem_type_t;
1: typedef int snd_ctl_elem_iface_t;
1:
1: struct snd_ctl_elem_id {
1: - unsigned int numid;
1: - snd_ctl_elem_iface_t iface;
1: - unsigned int device;
1: - unsigned int subdevice;
1: - unsigned char name[44];
1: - unsigned int index;
1: + unsigned int numid;
1: + snd_ctl_elem_iface_t iface;
1: + unsigned int device;
1: + unsigned int subdevice;
1: + unsigned char name[44];
1: + unsigned int index;
1: };
1:
1: struct snd_ctl_elem_list {
1: - unsigned int offset;
1: - unsigned int space;
1: - unsigned int used;
1: - unsigned int count;
1: - struct snd_ctl_elem_id *pids;
1: - unsigned char reserved[50];
1: + unsigned int offset;
1: + unsigned int space;
1: + unsigned int used;
1: + unsigned int count;
1: + struct snd_ctl_elem_id *pids;
1: + unsigned char reserved[50];
1: };
1:
1: struct snd_ctl_elem_info {
1: - struct snd_ctl_elem_id id;
1: - snd_ctl_elem_type_t type;
1: - unsigned int access;
1: - unsigned int count;
1: - __kernel_pid_t owner;
1: - union {
1: - struct {
1: - long int min;
1: - long int max;
1: - long int step;
1: - } integer;
1: - struct {
1: - long long int min;
1: - long long int max;
1: - long long int step;
1: - } integer64;
1: - struct {
1: - unsigned int items;
1: - unsigned int item;
1: - char name[64];
1: - __u64 names_ptr;
1: - unsigned int names_length;
1: - } enumerated;
1: - unsigned char reserved[128];
1: - } value;
1: - union {
1: - short unsigned int d[4];
1: - short unsigned int *d_ptr;
1: - } dimen;
1: - unsigned char reserved[56];
1: + struct snd_ctl_elem_id id;
1: + snd_ctl_elem_type_t type;
1: + unsigned int access;
1: + unsigned int count;
1: + __kernel_pid_t owner;
1: + union {
1: + struct {
1: + long int min;
1: + long int max;
1: + long int step;
1: + } integer;
1: + struct {
1: + long long int min;
1: + long long int max;
1: + long long int step;
1: + } integer64;
1: + struct {
1: + unsigned int items;
1: + unsigned int item;
1: + char name[64];
1: + __u64 names_ptr;
1: + unsigned int names_length;
1: + } enumerated;
1: + unsigned char reserved[128];
1: + } value;
1: + union {
1: + short unsigned int d[4];
1: + short unsigned int *d_ptr;
1: + } dimen;
1: + unsigned char reserved[56];
1: };
1:
1: struct snd_ctl_elem_value {
1: - struct snd_ctl_elem_id id;
1: - unsigned int indirect: 1;
1: - union {
1: - union {
1: - long int value[128];
1: - long int *value_ptr;
1: - } integer;
1: - union {
1: - long long int value[64];
1: - long long int *value_ptr;
1: - } integer64;
1: - union {
1: - unsigned int item[128];
1: - unsigned int *item_ptr;
1: - } enumerated;
1: - union {
1: - unsigned char data[512];
1: - unsigned char *data_ptr;
1: - } bytes;
1: - struct snd_aes_iec958 iec958;
1: - } value;
1: - struct timespec tstamp;
1: - unsigned char reserved[112];
1: + struct snd_ctl_elem_id id;
1: + unsigned int indirect : 1;
1: + union {
1: + union {
1: + long int value[128];
1: + long int *value_ptr;
1: + } integer;
1: + union {
1: + long long int value[64];
1: + long long int *value_ptr;
1: + } integer64;
1: + union {
1: + unsigned int item[128];
1: + unsigned int *item_ptr;
1: + } enumerated;
1: + union {
1: + unsigned char data[512];
1: + unsigned char *data_ptr;
1: + } bytes;
1: + struct snd_aes_iec958 iec958;
1: + } value;
1: + struct timespec tstamp;
1: + unsigned char reserved[112];
1: };
1:
1: struct snd_ctl_tlv {
1: - unsigned int numid;
1: - unsigned int length;
1: - unsigned int tlv[0];
1: + unsigned int numid;
1: + unsigned int length;
1: + unsigned int tlv[0];
1: };
1:
1: enum sndrv_ctl_event_type {
1: - SNDRV_CTL_EVENT_ELEM = 0,
1: - SNDRV_CTL_EVENT_LAST = 0,
1: + SNDRV_CTL_EVENT_ELEM = 0,
1: + SNDRV_CTL_EVENT_LAST = 0,
1: };
1:
1: struct snd_ctl_event {
1: - int type;
1: - union {
1: - struct {
1: - unsigned int mask;
1: - struct snd_ctl_elem_id id;
1: - } elem;
1: - unsigned char data8[60];
1: - } data;
1: + int type;
1: + union {
1: + struct {
1: + unsigned int mask;
1: + struct snd_ctl_elem_id id;
1: + } elem;
1: + unsigned char data8[60];
1: + } data;
1: };
1:
1: struct snd_kcontrol;
1:
1: -typedef int snd_kcontrol_info_t(struct snd_kcontrol *, struct snd_ctl_elem_info *);
1: +typedef int snd_kcontrol_info_t(struct snd_kcontrol *,
1: + struct snd_ctl_elem_info *);
1:
1: -typedef int snd_kcontrol_get_t(struct snd_kcontrol *, struct snd_ctl_elem_value *);
1: +typedef int snd_kcontrol_get_t(struct snd_kcontrol *,
1: + struct snd_ctl_elem_value *);
1:
1: -typedef int snd_kcontrol_put_t(struct snd_kcontrol *, struct snd_ctl_elem_value *);
1: +typedef int snd_kcontrol_put_t(struct snd_kcontrol *,
1: + struct snd_ctl_elem_value *);
1:
1: -typedef int snd_kcontrol_tlv_rw_t(struct snd_kcontrol *, int, unsigned int, unsigned int *);
1: +typedef int snd_kcontrol_tlv_rw_t(struct snd_kcontrol *, int, unsigned int,
1: + unsigned int *);
1:
1: struct snd_ctl_file;
1:
1: struct snd_kcontrol_volatile {
1: - struct snd_ctl_file *owner;
1: - unsigned int access;
1: + struct snd_ctl_file *owner;
1: + unsigned int access;
1: };
1:
1: struct snd_kcontrol {
1: - struct list_head list;
1: - struct snd_ctl_elem_id id;
1: - unsigned int count;
1: - snd_kcontrol_info_t *info;
1: - snd_kcontrol_get_t *get;
1: - snd_kcontrol_put_t *put;
1: - union {
1: - snd_kcontrol_tlv_rw_t *c;
1: - const unsigned int *p;
1: - } tlv;
1: - long unsigned int private_value;
1: - void *private_data;
1: - void (*private_free)(struct snd_kcontrol *);
1: - struct snd_kcontrol_volatile vd[0];
1: + struct list_head list;
1: + struct snd_ctl_elem_id id;
1: + unsigned int count;
1: + snd_kcontrol_info_t *info;
1: + snd_kcontrol_get_t *get;
1: + snd_kcontrol_put_t *put;
1: + union {
1: + snd_kcontrol_tlv_rw_t *c;
1: + const unsigned int *p;
1: + } tlv;
1: + long unsigned int private_value;
1: + void *private_data;
1: + void (*private_free)(struct snd_kcontrol *);
1: + struct snd_kcontrol_volatile vd[0];
1: };
1:
1: enum {
1: - SNDRV_CTL_TLV_OP_READ = 0,
1: - SNDRV_CTL_TLV_OP_WRITE = 1,
1: - SNDRV_CTL_TLV_OP_CMD = -1,
1: + SNDRV_CTL_TLV_OP_READ = 0,
1: + SNDRV_CTL_TLV_OP_WRITE = 1,
1: + SNDRV_CTL_TLV_OP_CMD = -1,
1: };
1:
1: struct snd_kcontrol_new {
1: - snd_ctl_elem_iface_t iface;
1: - unsigned int device;
1: - unsigned int subdevice;
1: - const unsigned char *name;
1: - unsigned int index;
1: - unsigned int access;
1: - unsigned int count;
1: - snd_kcontrol_info_t *info;
1: - snd_kcontrol_get_t *get;
1: - snd_kcontrol_put_t *put;
1: - union {
1: - snd_kcontrol_tlv_rw_t *c;
1: - const unsigned int *p;
1: - } tlv;
1: - long unsigned int private_value;
1: + snd_ctl_elem_iface_t iface;
1: + unsigned int device;
1: + unsigned int subdevice;
1: + const unsigned char *name;
1: + unsigned int index;
1: + unsigned int access;
1: + unsigned int count;
1: + snd_kcontrol_info_t *info;
1: + snd_kcontrol_get_t *get;
1: + snd_kcontrol_put_t *put;
1: + union {
1: + snd_kcontrol_tlv_rw_t *c;
1: + const unsigned int *p;
1: + } tlv;
1: + long unsigned int private_value;
1: };
1:
1: struct snd_ctl_file {
1: - struct list_head list;
1: - struct snd_card *card;
1: - struct pid *pid;
1: - int preferred_subdevice[2];
1: - wait_queue_head_t change_sleep;
1: - spinlock_t read_lock;
1: - struct fasync_struct *fasync;
1: - int subscribed;
1: - struct list_head events;
1: + struct list_head list;
1: + struct snd_card *card;
1: + struct pid *pid;
1: + int preferred_subdevice[2];
1: + wait_queue_head_t change_sleep;
1: + spinlock_t read_lock;
1: + struct fasync_struct *fasync;
1: + int subscribed;
1: + struct list_head events;
1: };
1:
1: struct snd_kctl_event {
1: - struct list_head list;
1: - struct snd_ctl_elem_id id;
1: - unsigned int mask;
1: + struct list_head list;
1: + struct snd_ctl_elem_id id;
1: + unsigned int mask;
1: };
1:
1: -typedef int (*snd_kctl_ioctl_func_t)(struct snd_card *, struct snd_ctl_file *, unsigned int, long unsigned int);
1: +typedef int (*snd_kctl_ioctl_func_t)(struct snd_card *, struct snd_ctl_file *,
1: + unsigned int, long unsigned int);
1:
1: struct snd_kctl_ioctl {
1: - struct list_head list;
1: - snd_kctl_ioctl_func_t fioctl;
1: + struct list_head list;
1: + snd_kctl_ioctl_func_t fioctl;
1: };
1:
1: enum snd_ctl_add_mode {
1: - CTL_ADD_EXCLUSIVE = 0,
1: - CTL_REPLACE = 1,
1: - CTL_ADD_ON_REPLACE = 2,
1: + CTL_ADD_EXCLUSIVE = 0,
1: + CTL_REPLACE = 1,
1: + CTL_ADD_ON_REPLACE = 2,
1: };
1:
1: struct user_element {
1: - struct snd_ctl_elem_info info;
1: - struct snd_card *card;
1: - char *elem_data;
1: - long unsigned int elem_data_size;
1: - void *tlv_data;
1: - long unsigned int tlv_data_size;
1: - void *priv_data;
1: + struct snd_ctl_elem_info info;
1: + struct snd_card *card;
1: + char *elem_data;
1: + long unsigned int elem_data_size;
1: + void *tlv_data;
1: + long unsigned int tlv_data_size;
1: + void *priv_data;
1: };
1:
1: struct snd_ctl_elem_list32 {
1: - u32 offset;
1: - u32 space;
1: - u32 used;
1: - u32 count;
1: - u32 pids;
1: - unsigned char reserved[50];
1: + u32 offset;
1: + u32 space;
1: + u32 used;
1: + u32 count;
1: + u32 pids;
1: + unsigned char reserved[50];
1: };
1:
1: struct snd_ctl_elem_info32 {
1: - struct snd_ctl_elem_id id;
1: - s32 type;
1: - u32 access;
1: - u32 count;
1: - s32 owner;
1: - union {
1: - struct {
1: - s32 min;
1: - s32 max;
1: - s32 step;
1: - } integer;
1: - struct {
1: - u64 min;
1: - u64 max;
1: - u64 step;
1: - } integer64;
1: - struct {
1: - u32 items;
1: - u32 item;
1: - char name[64];
1: - u64 names_ptr;
1: - u32 names_length;
1: - } enumerated;
1: - unsigned char reserved[128];
1: - } value;
1: - unsigned char reserved[64];
1: + struct snd_ctl_elem_id id;
1: + s32 type;
1: + u32 access;
1: + u32 count;
1: + s32 owner;
1: + union {
1: + struct {
1: + s32 min;
1: + s32 max;
1: + s32 step;
1: + } integer;
1: + struct {
1: + u64 min;
1: + u64 max;
1: + u64 step;
1: + } integer64;
1: + struct {
1: + u32 items;
1: + u32 item;
1: + char name[64];
1: + u64 names_ptr;
1: + u32 names_length;
1: + } enumerated;
1: + unsigned char reserved[128];
1: + } value;
1: + unsigned char reserved[64];
1: };
1:
1: struct snd_ctl_elem_value32 {
1: - struct snd_ctl_elem_id id;
1: - unsigned int indirect;
1: - union {
1: - s32 integer[128];
1: - unsigned char data[512];
1: - } value;
1: - unsigned char reserved[128];
1: + struct snd_ctl_elem_id id;
1: + unsigned int indirect;
1: + union {
1: + s32 integer[128];
1: + unsigned char data[512];
1: + } value;
1: + unsigned char reserved[128];
1: };
1:
1: enum {
1: - SNDRV_CTL_IOCTL_ELEM_LIST32 = -1069001456,
1: - SNDRV_CTL_IOCTL_ELEM_INFO32 = -1055894255,
1: - SNDRV_CTL_IOCTL_ELEM_READ32 = -1027320558,
1: - SNDRV_CTL_IOCTL_ELEM_WRITE32 = -1027320557,
1: - SNDRV_CTL_IOCTL_ELEM_ADD32 = -1055894249,
1: - SNDRV_CTL_IOCTL_ELEM_REPLACE32 = -1055894248,
1: + SNDRV_CTL_IOCTL_ELEM_LIST32 = -1069001456,
1: + SNDRV_CTL_IOCTL_ELEM_INFO32 = -1055894255,
1: + SNDRV_CTL_IOCTL_ELEM_READ32 = -1027320558,
1: + SNDRV_CTL_IOCTL_ELEM_WRITE32 = -1027320557,
1: + SNDRV_CTL_IOCTL_ELEM_ADD32 = -1055894249,
1: + SNDRV_CTL_IOCTL_ELEM_REPLACE32 = -1055894248,
1: };
1:
1: struct snd_pci_quirk {
1: - short unsigned int subvendor;
1: - short unsigned int subdevice;
1: - short unsigned int subdevice_mask;
1: - int value;
1: + short unsigned int subvendor;
1: + short unsigned int subdevice;
1: + short unsigned int subdevice_mask;
1: + int value;
1: };
1:
1: struct snd_info_private_data {
1: - struct snd_info_buffer *rbuffer;
1: - struct snd_info_buffer *wbuffer;
1: - struct snd_info_entry *entry;
1: - void *file_private_data;
1: + struct snd_info_buffer *rbuffer;
1: + struct snd_info_buffer *wbuffer;
1: + struct snd_info_entry *entry;
1: + void *file_private_data;
1: };
1:
1: struct link_ctl_info {
1: - snd_ctl_elem_type_t type;
1: - int count;
1: - int min_val;
1: - int max_val;
1: + snd_ctl_elem_type_t type;
1: + int count;
1: + int min_val;
1: + int max_val;
1: };
1:
1: struct link_master {
1: - struct list_head slaves;
1: - struct link_ctl_info info;
1: - int val;
1: - unsigned int tlv[4];
1: - void (*hook)(void *, int);
1: - void *hook_private_data;
1: + struct list_head slaves;
1: + struct link_ctl_info info;
1: + int val;
1: + unsigned int tlv[4];
1: + void (*hook)(void *, int);
1: + void *hook_private_data;
1: };
1:
1: struct link_slave {
1: - struct list_head list;
1: - struct link_master *master;
1: - struct link_ctl_info info;
1: - int vals[2];
1: - unsigned int flags;
1: - struct snd_kcontrol *kctl;
1: - struct snd_kcontrol slave;
1: + struct list_head list;
1: + struct link_master *master;
1: + struct link_ctl_info info;
1: + int vals[2];
1: + unsigned int flags;
1: + struct snd_kcontrol *kctl;
1: + struct snd_kcontrol slave;
1: };
1:
1: enum snd_jack_types {
1: - SND_JACK_HEADPHONE = 1,
1: - SND_JACK_MICROPHONE = 2,
1: - SND_JACK_HEADSET = 3,
1: - SND_JACK_LINEOUT = 4,
1: - SND_JACK_MECHANICAL = 8,
1: - SND_JACK_VIDEOOUT = 16,
1: - SND_JACK_AVOUT = 20,
1: - SND_JACK_LINEIN = 32,
1: - SND_JACK_BTN_0 = 16384,
1: - SND_JACK_BTN_1 = 8192,
1: - SND_JACK_BTN_2 = 4096,
1: - SND_JACK_BTN_3 = 2048,
1: - SND_JACK_BTN_4 = 1024,
1: - SND_JACK_BTN_5 = 512,
1: + SND_JACK_HEADPHONE = 1,
1: + SND_JACK_MICROPHONE = 2,
1: + SND_JACK_HEADSET = 3,
1: + SND_JACK_LINEOUT = 4,
1: + SND_JACK_MECHANICAL = 8,
1: + SND_JACK_VIDEOOUT = 16,
1: + SND_JACK_AVOUT = 20,
1: + SND_JACK_LINEIN = 32,
1: + SND_JACK_BTN_0 = 16384,
1: + SND_JACK_BTN_1 = 8192,
1: + SND_JACK_BTN_2 = 4096,
1: + SND_JACK_BTN_3 = 2048,
1: + SND_JACK_BTN_4 = 1024,
1: + SND_JACK_BTN_5 = 512,
1: };
1:
1: struct snd_jack {
1: - struct list_head kctl_list;
1: - struct snd_card *card;
1: - const char *id;
1: - struct input_dev *input_dev;
1: - int registered;
1: - int type;
1: - char name[100];
1: - unsigned int key[6];
1: - void *private_data;
1: - void (*private_free)(struct snd_jack *);
1: + struct list_head kctl_list;
1: + struct snd_card *card;
1: + const char *id;
1: + struct input_dev *input_dev;
1: + int registered;
1: + int type;
1: + char name[100];
1: + unsigned int key[6];
1: + void *private_data;
1: + void (*private_free)(struct snd_jack *);
1: };
1:
1: struct snd_jack_kctl {
1: - struct snd_kcontrol *kctl;
1: - struct list_head list;
1: - unsigned int mask_bits;
1: + struct snd_kcontrol *kctl;
1: + struct list_head list;
1: + unsigned int mask_bits;
1: };
1:
1: struct snd_hwdep_info {
1: - unsigned int device;
1: - int card;
1: - unsigned char id[64];
1: - unsigned char name[80];
1: - int iface;
1: - unsigned char reserved[64];
1: + unsigned int device;
1: + int card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + int iface;
1: + unsigned char reserved[64];
1: };
1:
1: struct snd_hwdep_dsp_status {
1: - unsigned int version;
1: - unsigned char id[32];
1: - unsigned int num_dsps;
1: - unsigned int dsp_loaded;
1: - unsigned int chip_ready;
1: - unsigned char reserved[16];
1: + unsigned int version;
1: + unsigned char id[32];
1: + unsigned int num_dsps;
1: + unsigned int dsp_loaded;
1: + unsigned int chip_ready;
1: + unsigned char reserved[16];
1: };
1:
1: struct snd_hwdep_dsp_image {
1: - unsigned int index;
1: - unsigned char name[64];
1: - unsigned char *image;
1: - size_t length;
1: - long unsigned int driver_data;
1: + unsigned int index;
1: + unsigned char name[64];
1: + unsigned char *image;
1: + size_t length;
1: + long unsigned int driver_data;
1: };
1:
1: struct snd_hwdep;
1:
1: struct snd_hwdep_ops {
1: - long long int (*llseek)(struct snd_hwdep *, struct file *, long long int, int);
1: - long int (*read)(struct snd_hwdep *, char *, long int, loff_t *);
1: - long int (*write)(struct snd_hwdep *, const char *, long int, loff_t *);
1: - int (*open)(struct snd_hwdep *, struct file *);
1: - int (*release)(struct snd_hwdep *, struct file *);
1: - __poll_t (*poll)(struct snd_hwdep *, struct file *, poll_table *);
1: - int (*ioctl)(struct snd_hwdep *, struct file *, unsigned int, long unsigned int);
1: - int (*ioctl_compat)(struct snd_hwdep *, struct file *, unsigned int, long unsigned int);
1: - int (*mmap)(struct snd_hwdep *, struct file *, struct vm_area_struct *);
1: - int (*dsp_status)(struct snd_hwdep *, struct snd_hwdep_dsp_status *);
1: - int (*dsp_load)(struct snd_hwdep *, struct snd_hwdep_dsp_image *);
1: + long long int (*llseek)(struct snd_hwdep *, struct file *, long long int,
1: + int);
1: + long int (*read)(struct snd_hwdep *, char *, long int, loff_t *);
1: + long int (*write)(struct snd_hwdep *, const char *, long int, loff_t *);
1: + int (*open)(struct snd_hwdep *, struct file *);
1: + int (*release)(struct snd_hwdep *, struct file *);
1: + __poll_t (*poll)(struct snd_hwdep *, struct file *, poll_table *);
1: + int (*ioctl)(struct snd_hwdep *, struct file *, unsigned int,
1: + long unsigned int);
1: + int (*ioctl_compat)(struct snd_hwdep *, struct file *, unsigned int,
1: + long unsigned int);
1: + int (*mmap)(struct snd_hwdep *, struct file *, struct vm_area_struct *);
1: + int (*dsp_status)(struct snd_hwdep *, struct snd_hwdep_dsp_status *);
1: + int (*dsp_load)(struct snd_hwdep *, struct snd_hwdep_dsp_image *);
1: };
1:
1: struct snd_hwdep {
1: - struct snd_card *card;
1: - struct list_head list;
1: - int device;
1: - char id[32];
1: - char name[80];
1: - int iface;
1: - struct snd_hwdep_ops ops;
1: - wait_queue_head_t open_wait;
1: - void *private_data;
1: - void (*private_free)(struct snd_hwdep *);
1: - struct device dev;
1: - struct mutex open_mutex;
1: - int used;
1: - unsigned int dsp_loaded;
1: - unsigned int exclusive: 1;
1: + struct snd_card *card;
1: + struct list_head list;
1: + int device;
1: + char id[32];
1: + char name[80];
1: + int iface;
1: + struct snd_hwdep_ops ops;
1: + wait_queue_head_t open_wait;
1: + void *private_data;
1: + void (*private_free)(struct snd_hwdep *);
1: + struct device dev;
1: + struct mutex open_mutex;
1: + int used;
1: + unsigned int dsp_loaded;
1: + unsigned int exclusive : 1;
1: };
1:
1: struct snd_hwdep_dsp_image32 {
1: - u32 index;
1: - unsigned char name[64];
1: - u32 image;
1: - u32 length;
1: - u32 driver_data;
1: + u32 index;
1: + unsigned char name[64];
1: + u32 image;
1: + u32 length;
1: + u32 driver_data;
1: };
1:
1: enum {
1: - SNDRV_HWDEP_IOCTL_DSP_LOAD32 = 1079003139,
1: + SNDRV_HWDEP_IOCTL_DSP_LOAD32 = 1079003139,
1: };
1:
1: enum {
1: - SNDRV_TIMER_CLASS_NONE = -1,
1: - SNDRV_TIMER_CLASS_SLAVE = 0,
1: - SNDRV_TIMER_CLASS_GLOBAL = 1,
1: - SNDRV_TIMER_CLASS_CARD = 2,
1: - SNDRV_TIMER_CLASS_PCM = 3,
1: - SNDRV_TIMER_CLASS_LAST = 3,
1: + SNDRV_TIMER_CLASS_NONE = -1,
1: + SNDRV_TIMER_CLASS_SLAVE = 0,
1: + SNDRV_TIMER_CLASS_GLOBAL = 1,
1: + SNDRV_TIMER_CLASS_CARD = 2,
1: + SNDRV_TIMER_CLASS_PCM = 3,
1: + SNDRV_TIMER_CLASS_LAST = 3,
1: };
1:
1: enum {
1: - SNDRV_TIMER_SCLASS_NONE = 0,
1: - SNDRV_TIMER_SCLASS_APPLICATION = 1,
1: - SNDRV_TIMER_SCLASS_SEQUENCER = 2,
1: - SNDRV_TIMER_SCLASS_OSS_SEQUENCER = 3,
1: - SNDRV_TIMER_SCLASS_LAST = 3,
1: + SNDRV_TIMER_SCLASS_NONE = 0,
1: + SNDRV_TIMER_SCLASS_APPLICATION = 1,
1: + SNDRV_TIMER_SCLASS_SEQUENCER = 2,
1: + SNDRV_TIMER_SCLASS_OSS_SEQUENCER = 3,
1: + SNDRV_TIMER_SCLASS_LAST = 3,
1: };
1:
1: struct snd_timer_id {
1: - int dev_class;
1: - int dev_sclass;
1: - int card;
1: - int device;
1: - int subdevice;
1: + int dev_class;
1: + int dev_sclass;
1: + int card;
1: + int device;
1: + int subdevice;
1: };
1:
1: struct snd_timer_ginfo {
1: - struct snd_timer_id tid;
1: - unsigned int flags;
1: - int card;
1: - unsigned char id[64];
1: - unsigned char name[80];
1: - long unsigned int reserved0;
1: - long unsigned int resolution;
1: - long unsigned int resolution_min;
1: - long unsigned int resolution_max;
1: - unsigned int clients;
1: - unsigned char reserved[32];
1: + struct snd_timer_id tid;
1: + unsigned int flags;
1: + int card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + long unsigned int reserved0;
1: + long unsigned int resolution;
1: + long unsigned int resolution_min;
1: + long unsigned int resolution_max;
1: + unsigned int clients;
1: + unsigned char reserved[32];
1: };
1:
1: struct snd_timer_gparams {
1: - struct snd_timer_id tid;
1: - long unsigned int period_num;
1: - long unsigned int period_den;
1: - unsigned char reserved[32];
1: + struct snd_timer_id tid;
1: + long unsigned int period_num;
1: + long unsigned int period_den;
1: + unsigned char reserved[32];
1: };
1:
1: struct snd_timer_gstatus {
1: - struct snd_timer_id tid;
1: - long unsigned int resolution;
1: - long unsigned int resolution_num;
1: - long unsigned int resolution_den;
1: - unsigned char reserved[32];
1: + struct snd_timer_id tid;
1: + long unsigned int resolution;
1: + long unsigned int resolution_num;
1: + long unsigned int resolution_den;
1: + unsigned char reserved[32];
1: };
1:
1: struct snd_timer_select {
1: - struct snd_timer_id id;
1: - unsigned char reserved[32];
1: + struct snd_timer_id id;
1: + unsigned char reserved[32];
1: };
1:
1: struct snd_timer_info {
1: - unsigned int flags;
1: - int card;
1: - unsigned char id[64];
1: - unsigned char name[80];
1: - long unsigned int reserved0;
1: - long unsigned int resolution;
1: - unsigned char reserved[64];
1: + unsigned int flags;
1: + int card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + long unsigned int reserved0;
1: + long unsigned int resolution;
1: + unsigned char reserved[64];
1: };
1:
1: struct snd_timer_params {
1: - unsigned int flags;
1: - unsigned int ticks;
1: - unsigned int queue_size;
1: - unsigned int reserved0;
1: - unsigned int filter;
1: - unsigned char reserved[60];
1: + unsigned int flags;
1: + unsigned int ticks;
1: + unsigned int queue_size;
1: + unsigned int reserved0;
1: + unsigned int filter;
1: + unsigned char reserved[60];
1: };
1:
1: struct snd_timer_status {
1: - struct timespec tstamp;
1: - unsigned int resolution;
1: - unsigned int lost;
1: - unsigned int overrun;
1: - unsigned int queue;
1: - unsigned char reserved[64];
1: + struct timespec tstamp;
1: + unsigned int resolution;
1: + unsigned int lost;
1: + unsigned int overrun;
1: + unsigned int queue;
1: + unsigned char reserved[64];
1: };
1:
1: struct snd_timer_read {
1: - unsigned int resolution;
1: - unsigned int ticks;
1: + unsigned int resolution;
1: + unsigned int ticks;
1: };
1:
1: enum {
1: - SNDRV_TIMER_EVENT_RESOLUTION = 0,
1: - SNDRV_TIMER_EVENT_TICK = 1,
1: - SNDRV_TIMER_EVENT_START = 2,
1: - SNDRV_TIMER_EVENT_STOP = 3,
1: - SNDRV_TIMER_EVENT_CONTINUE = 4,
1: - SNDRV_TIMER_EVENT_PAUSE = 5,
1: - SNDRV_TIMER_EVENT_EARLY = 6,
1: - SNDRV_TIMER_EVENT_SUSPEND = 7,
1: - SNDRV_TIMER_EVENT_RESUME = 8,
1: - SNDRV_TIMER_EVENT_MSTART = 12,
1: - SNDRV_TIMER_EVENT_MSTOP = 13,
1: - SNDRV_TIMER_EVENT_MCONTINUE = 14,
1: - SNDRV_TIMER_EVENT_MPAUSE = 15,
1: - SNDRV_TIMER_EVENT_MSUSPEND = 17,
1: - SNDRV_TIMER_EVENT_MRESUME = 18,
1: + SNDRV_TIMER_EVENT_RESOLUTION = 0,
1: + SNDRV_TIMER_EVENT_TICK = 1,
1: + SNDRV_TIMER_EVENT_START = 2,
1: + SNDRV_TIMER_EVENT_STOP = 3,
1: + SNDRV_TIMER_EVENT_CONTINUE = 4,
1: + SNDRV_TIMER_EVENT_PAUSE = 5,
1: + SNDRV_TIMER_EVENT_EARLY = 6,
1: + SNDRV_TIMER_EVENT_SUSPEND = 7,
1: + SNDRV_TIMER_EVENT_RESUME = 8,
1: + SNDRV_TIMER_EVENT_MSTART = 12,
1: + SNDRV_TIMER_EVENT_MSTOP = 13,
1: + SNDRV_TIMER_EVENT_MCONTINUE = 14,
1: + SNDRV_TIMER_EVENT_MPAUSE = 15,
1: + SNDRV_TIMER_EVENT_MSUSPEND = 17,
1: + SNDRV_TIMER_EVENT_MRESUME = 18,
1: };
1:
1: struct snd_timer_tread {
1: - int event;
1: - struct timespec tstamp;
1: - unsigned int val;
1: + int event;
1: + struct timespec tstamp;
1: + unsigned int val;
1: };
1:
1: struct snd_timer;
1:
1: struct snd_timer_hardware {
1: - unsigned int flags;
1: - long unsigned int resolution;
1: - long unsigned int resolution_min;
1: - long unsigned int resolution_max;
1: - long unsigned int ticks;
1: - int (*open)(struct snd_timer *);
1: - int (*close)(struct snd_timer *);
1: - long unsigned int (*c_resolution)(struct snd_timer *);
1: - int (*start)(struct snd_timer *);
1: - int (*stop)(struct snd_timer *);
1: - int (*set_period)(struct snd_timer *, long unsigned int, long unsigned int);
1: - int (*precise_resolution)(struct snd_timer *, long unsigned int *, long unsigned int *);
1: + unsigned int flags;
1: + long unsigned int resolution;
1: + long unsigned int resolution_min;
1: + long unsigned int resolution_max;
1: + long unsigned int ticks;
1: + int (*open)(struct snd_timer *);
1: + int (*close)(struct snd_timer *);
1: + long unsigned int (*c_resolution)(struct snd_timer *);
1: + int (*start)(struct snd_timer *);
1: + int (*stop)(struct snd_timer *);
1: + int (*set_period)(struct snd_timer *, long unsigned int, long unsigned int);
1: + int (*precise_resolution)(struct snd_timer *, long unsigned int *,
1: + long unsigned int *);
1: };
1:
1: struct snd_timer {
1: - int tmr_class;
1: - struct snd_card *card;
1: - struct module *module;
1: - int tmr_device;
1: - int tmr_subdevice;
1: - char id[64];
1: - char name[80];
1: - unsigned int flags;
1: - int running;
1: - long unsigned int sticks;
1: - void *private_data;
1: - void (*private_free)(struct snd_timer *);
1: - struct snd_timer_hardware hw;
1: - spinlock_t lock;
1: - struct list_head device_list;
1: - struct list_head open_list_head;
1: - struct list_head active_list_head;
1: - struct list_head ack_list_head;
1: - struct list_head sack_list_head;
1: - struct tasklet_struct task_queue;
1: - int max_instances;
1: - int num_instances;
1: + int tmr_class;
1: + struct snd_card *card;
1: + struct module *module;
1: + int tmr_device;
1: + int tmr_subdevice;
1: + char id[64];
1: + char name[80];
1: + unsigned int flags;
1: + int running;
1: + long unsigned int sticks;
1: + void *private_data;
1: + void (*private_free)(struct snd_timer *);
1: + struct snd_timer_hardware hw;
1: + spinlock_t lock;
1: + struct list_head device_list;
1: + struct list_head open_list_head;
1: + struct list_head active_list_head;
1: + struct list_head ack_list_head;
1: + struct list_head sack_list_head;
1: + struct tasklet_struct task_queue;
1: + int max_instances;
1: + int num_instances;
1: };
1:
1: struct snd_timer_instance {
1: - struct snd_timer *timer;
1: - char *owner;
1: - unsigned int flags;
1: - void *private_data;
1: - void (*private_free)(struct snd_timer_instance *);
1: - void (*callback)(struct snd_timer_instance *, long unsigned int, long unsigned int);
1: - void (*ccallback)(struct snd_timer_instance *, int, struct timespec *, long unsigned int);
1: - void (*disconnect)(struct snd_timer_instance *);
1: - void *callback_data;
1: - long unsigned int ticks;
1: - long unsigned int cticks;
1: - long unsigned int pticks;
1: - long unsigned int resolution;
1: - long unsigned int lost;
1: - int slave_class;
1: - unsigned int slave_id;
1: - struct list_head open_list;
1: - struct list_head active_list;
1: - struct list_head ack_list;
1: - struct list_head slave_list_head;
1: - struct list_head slave_active_head;
1: - struct snd_timer_instance *master;
1: + struct snd_timer *timer;
1: + char *owner;
1: + unsigned int flags;
1: + void *private_data;
1: + void (*private_free)(struct snd_timer_instance *);
1: + void (*callback)(struct snd_timer_instance *, long unsigned int,
1: + long unsigned int);
1: + void (*ccallback)(struct snd_timer_instance *, int, struct timespec *,
1: + long unsigned int);
1: + void (*disconnect)(struct snd_timer_instance *);
1: + void *callback_data;
1: + long unsigned int ticks;
1: + long unsigned int cticks;
1: + long unsigned int pticks;
1: + long unsigned int resolution;
1: + long unsigned int lost;
1: + int slave_class;
1: + unsigned int slave_id;
1: + struct list_head open_list;
1: + struct list_head active_list;
1: + struct list_head ack_list;
1: + struct list_head slave_list_head;
1: + struct list_head slave_active_head;
1: + struct snd_timer_instance *master;
1: };
1:
1: struct snd_timer_user {
1: - struct snd_timer_instance *timeri;
1: - int tread;
1: - long unsigned int ticks;
1: - long unsigned int overrun;
1: - int qhead;
1: - int qtail;
1: - int qused;
1: - int queue_size;
1: - bool disconnected;
1: - struct snd_timer_read *queue;
1: - struct snd_timer_tread *tqueue;
1: - spinlock_t qlock;
1: - long unsigned int last_resolution;
1: - unsigned int filter;
1: - struct timespec tstamp;
1: - wait_queue_head_t qchange_sleep;
1: - struct fasync_struct *fasync;
1: - struct mutex ioctl_lock;
1: + struct snd_timer_instance *timeri;
1: + int tread;
1: + long unsigned int ticks;
1: + long unsigned int overrun;
1: + int qhead;
1: + int qtail;
1: + int qused;
1: + int queue_size;
1: + bool disconnected;
1: + struct snd_timer_read *queue;
1: + struct snd_timer_tread *tqueue;
1: + spinlock_t qlock;
1: + long unsigned int last_resolution;
1: + unsigned int filter;
1: + struct timespec tstamp;
1: + wait_queue_head_t qchange_sleep;
1: + struct fasync_struct *fasync;
1: + struct mutex ioctl_lock;
1: };
1:
1: struct snd_timer_system_private {
1: - struct timer_list tlist;
1: - struct snd_timer *snd_timer;
1: - long unsigned int last_expires;
1: - long unsigned int last_jiffies;
1: - long unsigned int correction;
1: + struct timer_list tlist;
1: + struct snd_timer *snd_timer;
1: + long unsigned int last_expires;
1: + long unsigned int last_jiffies;
1: + long unsigned int correction;
1: };
1:
1: enum {
1: - SNDRV_TIMER_IOCTL_START_OLD = 21536,
1: - SNDRV_TIMER_IOCTL_STOP_OLD = 21537,
1: - SNDRV_TIMER_IOCTL_CONTINUE_OLD = 21538,
1: - SNDRV_TIMER_IOCTL_PAUSE_OLD = 21539,
1: + SNDRV_TIMER_IOCTL_START_OLD = 21536,
1: + SNDRV_TIMER_IOCTL_STOP_OLD = 21537,
1: + SNDRV_TIMER_IOCTL_CONTINUE_OLD = 21538,
1: + SNDRV_TIMER_IOCTL_PAUSE_OLD = 21539,
1: };
1:
1: struct snd_timer_gparams32 {
1: - struct snd_timer_id tid;
1: - u32 period_num;
1: - u32 period_den;
1: - unsigned char reserved[32];
1: + struct snd_timer_id tid;
1: + u32 period_num;
1: + u32 period_den;
1: + unsigned char reserved[32];
1: };
1:
1: struct snd_timer_info32 {
1: - u32 flags;
1: - s32 card;
1: - unsigned char id[64];
1: - unsigned char name[80];
1: - u32 reserved0;
1: - u32 resolution;
1: - unsigned char reserved[64];
1: + u32 flags;
1: + s32 card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + u32 reserved0;
1: + u32 resolution;
1: + unsigned char reserved[64];
1: };
1:
1: struct snd_timer_status32 {
1: - struct old_timespec32 tstamp;
1: - u32 resolution;
1: - u32 lost;
1: - u32 overrun;
1: - u32 queue;
1: - unsigned char reserved[64];
1: + struct old_timespec32 tstamp;
1: + u32 resolution;
1: + u32 lost;
1: + u32 overrun;
1: + u32 queue;
1: + unsigned char reserved[64];
1: };
1:
1: enum {
1: - SNDRV_TIMER_IOCTL_GPARAMS32 = 1077695492,
1: - SNDRV_TIMER_IOCTL_INFO32 = -2132782063,
1: - SNDRV_TIMER_IOCTL_STATUS32 = 1079530516,
1: + SNDRV_TIMER_IOCTL_GPARAMS32 = 1077695492,
1: + SNDRV_TIMER_IOCTL_INFO32 = -2132782063,
1: + SNDRV_TIMER_IOCTL_STATUS32 = 1079530516,
1: };
1:
1: struct snd_hrtimer {
1: - struct snd_timer *timer;
1: - struct hrtimer hrt;
1: - bool in_callback;
1: + struct snd_timer *timer;
1: + struct hrtimer hrt;
1: + bool in_callback;
1: };
1:
1: typedef long unsigned int snd_pcm_uframes_t;
1: @@ -96708,17 +97395,17 @@ typedef long unsigned int snd_pcm_uframes_t;
1: typedef long int snd_pcm_sframes_t;
1:
1: enum {
1: - SNDRV_PCM_CLASS_GENERIC = 0,
1: - SNDRV_PCM_CLASS_MULTI = 1,
1: - SNDRV_PCM_CLASS_MODEM = 2,
1: - SNDRV_PCM_CLASS_DIGITIZER = 3,
1: - SNDRV_PCM_CLASS_LAST = 3,
1: + SNDRV_PCM_CLASS_GENERIC = 0,
1: + SNDRV_PCM_CLASS_MULTI = 1,
1: + SNDRV_PCM_CLASS_MODEM = 2,
1: + SNDRV_PCM_CLASS_DIGITIZER = 3,
1: + SNDRV_PCM_CLASS_LAST = 3,
1: };
1:
1: enum {
1: - SNDRV_PCM_STREAM_PLAYBACK = 0,
1: - SNDRV_PCM_STREAM_CAPTURE = 1,
1: - SNDRV_PCM_STREAM_LAST = 1,
1: + SNDRV_PCM_STREAM_PLAYBACK = 0,
1: + SNDRV_PCM_STREAM_CAPTURE = 1,
1: + SNDRV_PCM_STREAM_LAST = 1,
1: };
1:
1: typedef int snd_pcm_access_t;
1: @@ -96730,121 +97417,121 @@ typedef int snd_pcm_subformat_t;
1: typedef int snd_pcm_state_t;
1:
1: union snd_pcm_sync_id {
1: - unsigned char id[16];
1: - short unsigned int id16[8];
1: - unsigned int id32[4];
1: + unsigned char id[16];
1: + short unsigned int id16[8];
1: + unsigned int id32[4];
1: };
1:
1: struct snd_pcm_info {
1: - unsigned int device;
1: - unsigned int subdevice;
1: - int stream;
1: - int card;
1: - unsigned char id[64];
1: - unsigned char name[80];
1: - unsigned char subname[32];
1: - int dev_class;
1: - int dev_subclass;
1: - unsigned int subdevices_count;
1: - unsigned int subdevices_avail;
1: - union snd_pcm_sync_id sync;
1: - unsigned char reserved[64];
1: + unsigned int device;
1: + unsigned int subdevice;
1: + int stream;
1: + int card;
1: + unsigned char id[64];
1: + unsigned char name[80];
1: + unsigned char subname[32];
1: + int dev_class;
1: + int dev_subclass;
1: + unsigned int subdevices_count;
1: + unsigned int subdevices_avail;
1: + union snd_pcm_sync_id sync;
1: + unsigned char reserved[64];
1: };
1:
1: struct snd_interval {
1: - unsigned int min;
1: - unsigned int max;
1: - unsigned int openmin: 1;
1: - unsigned int openmax: 1;
1: - unsigned int integer: 1;
1: - unsigned int empty: 1;
1: + unsigned int min;
1: + unsigned int max;
1: + unsigned int openmin : 1;
1: + unsigned int openmax : 1;
1: + unsigned int integer : 1;
1: + unsigned int empty : 1;
1: };
1:
1: struct snd_mask {
1: - __u32 bits[8];
1: + __u32 bits[8];
1: };
1:
1: struct snd_pcm_hw_params {
1: - unsigned int flags;
1: - struct snd_mask masks[3];
1: - struct snd_mask mres[5];
1: - struct snd_interval intervals[12];
1: - struct snd_interval ires[9];
1: - unsigned int rmask;
1: - unsigned int cmask;
1: - unsigned int info;
1: - unsigned int msbits;
1: - unsigned int rate_num;
1: - unsigned int rate_den;
1: - snd_pcm_uframes_t fifo_size;
1: - unsigned char reserved[64];
1: + unsigned int flags;
1: + struct snd_mask masks[3];
1: + struct snd_mask mres[5];
1: + struct snd_interval intervals[12];
1: + struct snd_interval ires[9];
1: + unsigned int rmask;
1: + unsigned int cmask;
1: + unsigned int info;
1: + unsigned int msbits;
1: + unsigned int rate_num;
1: + unsigned int rate_den;
1: + snd_pcm_uframes_t fifo_size;
1: + unsigned char reserved[64];
1: };
1:
1: enum {
1: - SNDRV_PCM_TSTAMP_NONE = 0,
1: - SNDRV_PCM_TSTAMP_ENABLE = 1,
1: - SNDRV_PCM_TSTAMP_LAST = 1,
1: + SNDRV_PCM_TSTAMP_NONE = 0,
1: + SNDRV_PCM_TSTAMP_ENABLE = 1,
1: + SNDRV_PCM_TSTAMP_LAST = 1,
1: };
1:
1: struct snd_pcm_status {
1: - snd_pcm_state_t state;
1: - struct timespec trigger_tstamp;
1: - struct timespec tstamp;
1: - snd_pcm_uframes_t appl_ptr;
1: - snd_pcm_uframes_t hw_ptr;
1: - snd_pcm_sframes_t delay;
1: - snd_pcm_uframes_t avail;
1: - snd_pcm_uframes_t avail_max;
1: - snd_pcm_uframes_t overrange;
1: - snd_pcm_state_t suspended_state;
1: - __u32 audio_tstamp_data;
1: - struct timespec audio_tstamp;
1: - struct timespec driver_tstamp;
1: - __u32 audio_tstamp_accuracy;
1: - unsigned char reserved[20];
1: + snd_pcm_state_t state;
1: + struct timespec trigger_tstamp;
1: + struct timespec tstamp;
1: + snd_pcm_uframes_t appl_ptr;
1: + snd_pcm_uframes_t hw_ptr;
1: + snd_pcm_sframes_t delay;
1: + snd_pcm_uframes_t avail;
1: + snd_pcm_uframes_t avail_max;
1: + snd_pcm_uframes_t overrange;
1: + snd_pcm_state_t suspended_state;
1: + __u32 audio_tstamp_data;
1: + struct timespec audio_tstamp;
1: + struct timespec driver_tstamp;
1: + __u32 audio_tstamp_accuracy;
1: + unsigned char reserved[20];
1: };
1:
1: struct snd_pcm_mmap_status {
1: - snd_pcm_state_t state;
1: - int pad1;
1: - snd_pcm_uframes_t hw_ptr;
1: - struct timespec tstamp;
1: - snd_pcm_state_t suspended_state;
1: - struct timespec audio_tstamp;
1: + snd_pcm_state_t state;
1: + int pad1;
1: + snd_pcm_uframes_t hw_ptr;
1: + struct timespec tstamp;
1: + snd_pcm_state_t suspended_state;
1: + struct timespec audio_tstamp;
1: };
1:
1: struct snd_pcm_mmap_control {
1: - snd_pcm_uframes_t appl_ptr;
1: - snd_pcm_uframes_t avail_min;
1: + snd_pcm_uframes_t appl_ptr;
1: + snd_pcm_uframes_t avail_min;
1: };
1:
1: struct snd_dma_device {
1: - int type;
1: - struct device *dev;
1: + int type;
1: + struct device *dev;
1: };
1:
1: struct snd_dma_buffer {
1: - struct snd_dma_device dev;
1: - unsigned char *area;
1: - dma_addr_t addr;
1: - size_t bytes;
1: - void *private_data;
1: + struct snd_dma_device dev;
1: + unsigned char *area;
1: + dma_addr_t addr;
1: + size_t bytes;
1: + void *private_data;
1: };
1:
1: struct snd_pcm_hardware {
1: - unsigned int info;
1: - u64 formats;
1: - unsigned int rates;
1: - unsigned int rate_min;
1: - unsigned int rate_max;
1: - unsigned int channels_min;
1: - unsigned int channels_max;
1: - size_t buffer_bytes_max;
1: - size_t period_bytes_min;
1: - size_t period_bytes_max;
1: - unsigned int periods_min;
1: - unsigned int periods_max;
1: - size_t fifo_size;
1: + unsigned int info;
1: + u64 formats;
1: + unsigned int rates;
1: + unsigned int rate_min;
1: + unsigned int rate_max;
1: + unsigned int channels_min;
1: + unsigned int channels_max;
1: + size_t buffer_bytes_max;
1: + size_t period_bytes_min;
1: + size_t period_bytes_max;
1: + unsigned int periods_min;
1: + unsigned int periods_max;
1: + size_t fifo_size;
1: };
1:
1: struct snd_pcm_substream;
1: @@ -96854,29 +97541,34 @@ struct snd_pcm_audio_tstamp_config;
1: struct snd_pcm_audio_tstamp_report;
1:
1: struct snd_pcm_ops {
1: - int (*open)(struct snd_pcm_substream *);
1: - int (*close)(struct snd_pcm_substream *);
1: - int (*ioctl)(struct snd_pcm_substream *, unsigned int, void *);
1: - int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *);
1: - int (*hw_free)(struct snd_pcm_substream *);
1: - int (*prepare)(struct snd_pcm_substream *);
1: - int (*trigger)(struct snd_pcm_substream *, int);
1: - int (*sync_stop)(struct snd_pcm_substream *);
1: - snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *);
1: - int (*get_time_info)(struct snd_pcm_substream *, struct timespec *, struct timespec *, struct snd_pcm_audio_tstamp_config *, struct snd_pcm_audio_tstamp_report *);
1: - int (*fill_silence)(struct snd_pcm_substream *, int, long unsigned int, long unsigned int);
1: - int (*copy_user)(struct snd_pcm_substream *, int, long unsigned int, void *, long unsigned int);
1: - int (*copy_kernel)(struct snd_pcm_substream *, int, long unsigned int, void *, long unsigned int);
1: - struct page * (*page)(struct snd_pcm_substream *, long unsigned int);
1: - int (*mmap)(struct snd_pcm_substream *, struct vm_area_struct *);
1: - int (*ack)(struct snd_pcm_substream *);
1: + int (*open)(struct snd_pcm_substream *);
1: + int (*close)(struct snd_pcm_substream *);
1: + int (*ioctl)(struct snd_pcm_substream *, unsigned int, void *);
1: + int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *);
1: + int (*hw_free)(struct snd_pcm_substream *);
1: + int (*prepare)(struct snd_pcm_substream *);
1: + int (*trigger)(struct snd_pcm_substream *, int);
1: + int (*sync_stop)(struct snd_pcm_substream *);
1: + snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *);
1: + int (*get_time_info)(struct snd_pcm_substream *, struct timespec *,
1: + struct timespec *, struct snd_pcm_audio_tstamp_config *,
1: + struct snd_pcm_audio_tstamp_report *);
1: + int (*fill_silence)(struct snd_pcm_substream *, int, long unsigned int,
1: + long unsigned int);
1: + int (*copy_user)(struct snd_pcm_substream *, int, long unsigned int, void *,
1: + long unsigned int);
1: + int (*copy_kernel)(struct snd_pcm_substream *, int, long unsigned int, void *,
1: + long unsigned int);
1: + struct page *(*page)(struct snd_pcm_substream *, long unsigned int);
1: + int (*mmap)(struct snd_pcm_substream *, struct vm_area_struct *);
1: + int (*ack)(struct snd_pcm_substream *);
1: };
1:
1: struct snd_pcm_group {
1: - spinlock_t lock;
1: - struct mutex mutex;
1: - struct list_head substreams;
1: - refcount_t refs;
1: + spinlock_t lock;
1: + struct mutex mutex;
1: + struct list_head substreams;
1: + refcount_t refs;
1: };
1:
1: struct snd_pcm;
1: @@ -96886,156 +97578,157 @@ struct snd_pcm_str;
1: struct snd_pcm_runtime;
1:
1: struct snd_pcm_substream {
1: - struct snd_pcm *pcm;
1: - struct snd_pcm_str *pstr;
1: - void *private_data;
1: - int number;
1: - char name[32];
1: - int stream;
1: - struct pm_qos_request latency_pm_qos_req;
1: - size_t buffer_bytes_max;
1: - struct snd_dma_buffer dma_buffer;
1: - size_t dma_max;
1: - const struct snd_pcm_ops *ops;
1: - struct snd_pcm_runtime *runtime;
1: - struct snd_timer *timer;
1: - unsigned int timer_running: 1;
1: - long int wait_time;
1: - struct snd_pcm_substream *next;
1: - struct list_head link_list;
1: - struct snd_pcm_group self_group;
1: - struct snd_pcm_group *group;
1: - int ref_count;
1: - atomic_t mmap_count;
1: - unsigned int f_flags;
1: - void (*pcm_release)(struct snd_pcm_substream *);
1: - struct pid *pid;
1: - struct snd_info_entry *proc_root;
1: - unsigned int hw_opened: 1;
1: - unsigned int managed_buffer_alloc: 1;
1: + struct snd_pcm *pcm;
1: + struct snd_pcm_str *pstr;
1: + void *private_data;
1: + int number;
1: + char name[32];
1: + int stream;
1: + struct pm_qos_request latency_pm_qos_req;
1: + size_t buffer_bytes_max;
1: + struct snd_dma_buffer dma_buffer;
1: + size_t dma_max;
1: + const struct snd_pcm_ops *ops;
1: + struct snd_pcm_runtime *runtime;
1: + struct snd_timer *timer;
1: + unsigned int timer_running : 1;
1: + long int wait_time;
1: + struct snd_pcm_substream *next;
1: + struct list_head link_list;
1: + struct snd_pcm_group self_group;
1: + struct snd_pcm_group *group;
1: + int ref_count;
1: + atomic_t mmap_count;
1: + unsigned int f_flags;
1: + void (*pcm_release)(struct snd_pcm_substream *);
1: + struct pid *pid;
1: + struct snd_info_entry *proc_root;
1: + unsigned int hw_opened : 1;
1: + unsigned int managed_buffer_alloc : 1;
1: };
1:
1: struct snd_pcm_audio_tstamp_config {
1: - u32 type_requested: 4;
1: - u32 report_delay: 1;
1: + u32 type_requested : 4;
1: + u32 report_delay : 1;
1: };
1:
1: struct snd_pcm_audio_tstamp_report {
1: - u32 valid: 1;
1: - u32 actual_type: 4;
1: - u32 accuracy_report: 1;
1: - u32 accuracy;
1: + u32 valid : 1;
1: + u32 actual_type : 4;
1: + u32 accuracy_report : 1;
1: + u32 accuracy;
1: };
1:
1: struct snd_pcm_hw_rule;
1:
1: -typedef int (*snd_pcm_hw_rule_func_t)(struct snd_pcm_hw_params *, struct snd_pcm_hw_rule *);
1: +typedef int (*snd_pcm_hw_rule_func_t)(struct snd_pcm_hw_params *,
1: + struct snd_pcm_hw_rule *);
1:
1: struct snd_pcm_hw_rule {
1: - unsigned int cond;
1: - int var;
1: - int deps[4];
1: - snd_pcm_hw_rule_func_t func;
1: - void *private;
1: + unsigned int cond;
1: + int var;
1: + int deps[4];
1: + snd_pcm_hw_rule_func_t func;
1: + void *private;
1: };
1:
1: struct snd_pcm_hw_constraints {
1: - struct snd_mask masks[3];
1: - struct snd_interval intervals[12];
1: - unsigned int rules_num;
1: - unsigned int rules_all;
1: - struct snd_pcm_hw_rule *rules;
1: + struct snd_mask masks[3];
1: + struct snd_interval intervals[12];
1: + unsigned int rules_num;
1: + unsigned int rules_all;
1: + struct snd_pcm_hw_rule *rules;
1: };
1:
1: struct snd_pcm_runtime {
1: - struct snd_pcm_substream *trigger_master;
1: - struct timespec trigger_tstamp;
1: - bool trigger_tstamp_latched;
1: - int overrange;
1: - snd_pcm_uframes_t avail_max;
1: - snd_pcm_uframes_t hw_ptr_base;
1: - snd_pcm_uframes_t hw_ptr_interrupt;
1: - long unsigned int hw_ptr_jiffies;
1: - long unsigned int hw_ptr_buffer_jiffies;
1: - snd_pcm_sframes_t delay;
1: - u64 hw_ptr_wrap;
1: - snd_pcm_access_t access;
1: - snd_pcm_format_t format;
1: - snd_pcm_subformat_t subformat;
1: - unsigned int rate;
1: - unsigned int channels;
1: - snd_pcm_uframes_t period_size;
1: - unsigned int periods;
1: - snd_pcm_uframes_t buffer_size;
1: - snd_pcm_uframes_t min_align;
1: - size_t byte_align;
1: - unsigned int frame_bits;
1: - unsigned int sample_bits;
1: - unsigned int info;
1: - unsigned int rate_num;
1: - unsigned int rate_den;
1: - unsigned int no_period_wakeup: 1;
1: - int tstamp_mode;
1: - unsigned int period_step;
1: - snd_pcm_uframes_t start_threshold;
1: - snd_pcm_uframes_t stop_threshold;
1: - snd_pcm_uframes_t silence_threshold;
1: - snd_pcm_uframes_t silence_size;
1: - snd_pcm_uframes_t boundary;
1: - snd_pcm_uframes_t silence_start;
1: - snd_pcm_uframes_t silence_filled;
1: - union snd_pcm_sync_id sync;
1: - struct snd_pcm_mmap_status *status;
1: - struct snd_pcm_mmap_control *control;
1: - snd_pcm_uframes_t twake;
1: - wait_queue_head_t sleep;
1: - wait_queue_head_t tsleep;
1: - struct fasync_struct *fasync;
1: - bool stop_operating;
1: - void *private_data;
1: - void (*private_free)(struct snd_pcm_runtime *);
1: - struct snd_pcm_hardware hw;
1: - struct snd_pcm_hw_constraints hw_constraints;
1: - unsigned int timer_resolution;
1: - int tstamp_type;
1: - unsigned char *dma_area;
1: - dma_addr_t dma_addr;
1: - size_t dma_bytes;
1: - struct snd_dma_buffer *dma_buffer_p;
1: - unsigned int buffer_changed: 1;
1: - struct snd_pcm_audio_tstamp_config audio_tstamp_config;
1: - struct snd_pcm_audio_tstamp_report audio_tstamp_report;
1: - struct timespec driver_tstamp;
1: + struct snd_pcm_substream *trigger_master;
1: + struct timespec trigger_tstamp;
1: + bool trigger_tstamp_latched;
1: + int overrange;
1: + snd_pcm_uframes_t avail_max;
1: + snd_pcm_uframes_t hw_ptr_base;
1: + snd_pcm_uframes_t hw_ptr_interrupt;
1: + long unsigned int hw_ptr_jiffies;
1: + long unsigned int hw_ptr_buffer_jiffies;
1: + snd_pcm_sframes_t delay;
1: + u64 hw_ptr_wrap;
1: + snd_pcm_access_t access;
1: + snd_pcm_format_t format;
1: + snd_pcm_subformat_t subformat;
1: + unsigned int rate;
1: + unsigned int channels;
1: + snd_pcm_uframes_t period_size;
1: + unsigned int periods;
1: + snd_pcm_uframes_t buffer_size;
1: + snd_pcm_uframes_t min_align;
1: + size_t byte_align;
1: + unsigned int frame_bits;
1: + unsigned int sample_bits;
1: + unsigned int info;
1: + unsigned int rate_num;
1: + unsigned int rate_den;
1: + unsigned int no_period_wakeup : 1;
1: + int tstamp_mode;
1: + unsigned int period_step;
1: + snd_pcm_uframes_t start_threshold;
1: + snd_pcm_uframes_t stop_threshold;
1: + snd_pcm_uframes_t silence_threshold;
1: + snd_pcm_uframes_t silence_size;
1: + snd_pcm_uframes_t boundary;
1: + snd_pcm_uframes_t silence_start;
1: + snd_pcm_uframes_t silence_filled;
1: + union snd_pcm_sync_id sync;
1: + struct snd_pcm_mmap_status *status;
1: + struct snd_pcm_mmap_control *control;
1: + snd_pcm_uframes_t twake;
1: + wait_queue_head_t sleep;
1: + wait_queue_head_t tsleep;
1: + struct fasync_struct *fasync;
1: + bool stop_operating;
1: + void *private_data;
1: + void (*private_free)(struct snd_pcm_runtime *);
1: + struct snd_pcm_hardware hw;
1: + struct snd_pcm_hw_constraints hw_constraints;
1: + unsigned int timer_resolution;
1: + int tstamp_type;
1: + unsigned char *dma_area;
1: + dma_addr_t dma_addr;
1: + size_t dma_bytes;
1: + struct snd_dma_buffer *dma_buffer_p;
1: + unsigned int buffer_changed : 1;
1: + struct snd_pcm_audio_tstamp_config audio_tstamp_config;
1: + struct snd_pcm_audio_tstamp_report audio_tstamp_report;
1: + struct timespec driver_tstamp;
1: };
1:
1: struct snd_pcm_str {
1: - int stream;
1: - struct snd_pcm *pcm;
1: - unsigned int substream_count;
1: - unsigned int substream_opened;
1: - struct snd_pcm_substream *substream;
1: - struct snd_info_entry *proc_root;
1: - struct snd_kcontrol *chmap_kctl;
1: - struct device dev;
1: + int stream;
1: + struct snd_pcm *pcm;
1: + unsigned int substream_count;
1: + unsigned int substream_opened;
1: + struct snd_pcm_substream *substream;
1: + struct snd_info_entry *proc_root;
1: + struct snd_kcontrol *chmap_kctl;
1: + struct device dev;
1: };
1:
1: struct snd_pcm {
1: - struct snd_card *card;
1: - struct list_head list;
1: - int device;
1: - unsigned int info_flags;
1: - short unsigned int dev_class;
1: - short unsigned int dev_subclass;
1: - char id[64];
1: - char name[80];
1: - struct snd_pcm_str streams[2];
1: - struct mutex open_mutex;
1: - wait_queue_head_t open_wait;
1: - void *private_data;
1: - void (*private_free)(struct snd_pcm *);
1: - bool internal;
1: - bool nonatomic;
1: - bool no_device_suspend;
1: + struct snd_card *card;
1: + struct list_head list;
1: + int device;
1: + unsigned int info_flags;
1: + short unsigned int dev_class;
1: + short unsigned int dev_subclass;
1: + char id[64];
1: + char name[80];
1: + struct snd_pcm_str streams[2];
1: + struct mutex open_mutex;
1: + wait_queue_head_t open_wait;
1: + void *private_data;
1: + void (*private_free)(struct snd_pcm *);
1: + bool internal;
1: + bool nonatomic;
1: + bool no_device_suspend;
1: };
1:
1: typedef u32 u_int32_t;
1: @@ -97043,350 +97736,352 @@ typedef u32 u_int32_t;
1: typedef u64 u_int64_t;
1:
1: enum {
1: - SNDRV_PCM_MMAP_OFFSET_DATA = 0,
1: - SNDRV_PCM_MMAP_OFFSET_STATUS = -2147483648,
1: - SNDRV_PCM_MMAP_OFFSET_CONTROL = -2130706432,
1: + SNDRV_PCM_MMAP_OFFSET_DATA = 0,
1: + SNDRV_PCM_MMAP_OFFSET_STATUS = -2147483648,
1: + SNDRV_PCM_MMAP_OFFSET_CONTROL = -2130706432,
1: };
1:
1: typedef int snd_pcm_hw_param_t;
1:
1: struct snd_pcm_sw_params {
1: - int tstamp_mode;
1: - unsigned int period_step;
1: - unsigned int sleep_min;
1: - snd_pcm_uframes_t avail_min;
1: - snd_pcm_uframes_t xfer_align;
1: - snd_pcm_uframes_t start_threshold;
1: - snd_pcm_uframes_t stop_threshold;
1: - snd_pcm_uframes_t silence_threshold;
1: - snd_pcm_uframes_t silence_size;
1: - snd_pcm_uframes_t boundary;
1: - unsigned int proto;
1: - unsigned int tstamp_type;
1: - unsigned char reserved[56];
1: + int tstamp_mode;
1: + unsigned int period_step;
1: + unsigned int sleep_min;
1: + snd_pcm_uframes_t avail_min;
1: + snd_pcm_uframes_t xfer_align;
1: + snd_pcm_uframes_t start_threshold;
1: + snd_pcm_uframes_t stop_threshold;
1: + snd_pcm_uframes_t silence_threshold;
1: + snd_pcm_uframes_t silence_size;
1: + snd_pcm_uframes_t boundary;
1: + unsigned int proto;
1: + unsigned int tstamp_type;
1: + unsigned char reserved[56];
1: };
1:
1: struct snd_pcm_channel_info {
1: - unsigned int channel;
1: - __kernel_off_t offset;
1: - unsigned int first;
1: - unsigned int step;
1: + unsigned int channel;
1: + __kernel_off_t offset;
1: + unsigned int first;
1: + unsigned int step;
1: };
1:
1: enum {
1: - SNDRV_PCM_AUDIO_TSTAMP_TYPE_COMPAT = 0,
1: - SNDRV_PCM_AUDIO_TSTAMP_TYPE_DEFAULT = 1,
1: - SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK = 2,
1: - SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ABSOLUTE = 3,
1: - SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ESTIMATED = 4,
1: - SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED = 5,
1: - SNDRV_PCM_AUDIO_TSTAMP_TYPE_LAST = 5,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_COMPAT = 0,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_DEFAULT = 1,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK = 2,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ABSOLUTE = 3,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ESTIMATED = 4,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED = 5,
1: + SNDRV_PCM_AUDIO_TSTAMP_TYPE_LAST = 5,
1: };
1:
1: struct snd_pcm_sync_ptr {
1: - unsigned int flags;
1: - union {
1: - struct snd_pcm_mmap_status status;
1: - unsigned char reserved[64];
1: - } s;
1: - union {
1: - struct snd_pcm_mmap_control control;
1: - unsigned char reserved[64];
1: - } c;
1: + unsigned int flags;
1: + union {
1: + struct snd_pcm_mmap_status status;
1: + unsigned char reserved[64];
1: + } s;
1: + union {
1: + struct snd_pcm_mmap_control control;
1: + unsigned char reserved[64];
1: + } c;
1: };
1:
1: struct snd_xferi {
1: - snd_pcm_sframes_t result;
1: - void *buf;
1: - snd_pcm_uframes_t frames;
1: + snd_pcm_sframes_t result;
1: + void *buf;
1: + snd_pcm_uframes_t frames;
1: };
1:
1: struct snd_xfern {
1: - snd_pcm_sframes_t result;
1: - void **bufs;
1: - snd_pcm_uframes_t frames;
1: + snd_pcm_sframes_t result;
1: + void **bufs;
1: + snd_pcm_uframes_t frames;
1: };
1:
1: enum {
1: - SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0,
1: - SNDRV_PCM_TSTAMP_TYPE_MONOTONIC = 1,
1: - SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW = 2,
1: - SNDRV_PCM_TSTAMP_TYPE_LAST = 2,
1: + SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0,
1: + SNDRV_PCM_TSTAMP_TYPE_MONOTONIC = 1,
1: + SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW = 2,
1: + SNDRV_PCM_TSTAMP_TYPE_LAST = 2,
1: };
1:
1: struct snd_pcm_file {
1: - struct snd_pcm_substream *substream;
1: - int no_compat_mmap;
1: - unsigned int user_pversion;
1: + struct snd_pcm_substream *substream;
1: + int no_compat_mmap;
1: + unsigned int user_pversion;
1: };
1:
1: struct snd_pcm_hw_constraint_list {
1: - const unsigned int *list;
1: - unsigned int count;
1: - unsigned int mask;
1: + const unsigned int *list;
1: + unsigned int count;
1: + unsigned int mask;
1: };
1:
1: struct snd_pcm_hw_params_old {
1: - unsigned int flags;
1: - unsigned int masks[3];
1: - struct snd_interval intervals[12];
1: - unsigned int rmask;
1: - unsigned int cmask;
1: - unsigned int info;
1: - unsigned int msbits;
1: - unsigned int rate_num;
1: - unsigned int rate_den;
1: - snd_pcm_uframes_t fifo_size;
1: - unsigned char reserved[64];
1: + unsigned int flags;
1: + unsigned int masks[3];
1: + struct snd_interval intervals[12];
1: + unsigned int rmask;
1: + unsigned int cmask;
1: + unsigned int info;
1: + unsigned int msbits;
1: + unsigned int rate_num;
1: + unsigned int rate_den;
1: + snd_pcm_uframes_t fifo_size;
1: + unsigned char reserved[64];
1: };
1:
1: struct action_ops {
1: - int (*pre_action)(struct snd_pcm_substream *, int);
1: - int (*do_action)(struct snd_pcm_substream *, int);
1: - void (*undo_action)(struct snd_pcm_substream *, int);
1: - void (*post_action)(struct snd_pcm_substream *, int);
1: + int (*pre_action)(struct snd_pcm_substream *, int);
1: + int (*do_action)(struct snd_pcm_substream *, int);
1: + void (*undo_action)(struct snd_pcm_substream *, int);
1: + void (*post_action)(struct snd_pcm_substream *, int);
1: };
1:
1: struct snd_pcm_hw_params32 {
1: - u32 flags;
1: - struct snd_mask masks[3];
1: - struct snd_mask mres[5];
1: - struct snd_interval intervals[12];
1: - struct snd_interval ires[9];
1: - u32 rmask;
1: - u32 cmask;
1: - u32 info;
1: - u32 msbits;
1: - u32 rate_num;
1: - u32 rate_den;
1: - u32 fifo_size;
1: - unsigned char reserved[64];
1: + u32 flags;
1: + struct snd_mask masks[3];
1: + struct snd_mask mres[5];
1: + struct snd_interval intervals[12];
1: + struct snd_interval ires[9];
1: + u32 rmask;
1: + u32 cmask;
1: + u32 info;
1: + u32 msbits;
1: + u32 rate_num;
1: + u32 rate_den;
1: + u32 fifo_size;
1: + unsigned char reserved[64];
1: };
1:
1: struct snd_pcm_sw_params32 {
1: - s32 tstamp_mode;
1: - u32 period_step;
1: - u32 sleep_min;
1: - u32 avail_min;
1: - u32 xfer_align;
1: - u32 start_threshold;
1: - u32 stop_threshold;
1: - u32 silence_threshold;
1: - u32 silence_size;
1: - u32 boundary;
1: - u32 proto;
1: - u32 tstamp_type;
1: - unsigned char reserved[56];
1: + s32 tstamp_mode;
1: + u32 period_step;
1: + u32 sleep_min;
1: + u32 avail_min;
1: + u32 xfer_align;
1: + u32 start_threshold;
1: + u32 stop_threshold;
1: + u32 silence_threshold;
1: + u32 silence_size;
1: + u32 boundary;
1: + u32 proto;
1: + u32 tstamp_type;
1: + unsigned char reserved[56];
1: };
1:
1: struct snd_pcm_channel_info32 {
1: - u32 channel;
1: - u32 offset;
1: - u32 first;
1: - u32 step;
1: + u32 channel;
1: + u32 offset;
1: + u32 first;
1: + u32 step;
1: };
1:
1: struct snd_pcm_status32 {
1: - s32 state;
1: - struct old_timespec32 trigger_tstamp;
1: - struct old_timespec32 tstamp;
1: - u32 appl_ptr;
1: - u32 hw_ptr;
1: - s32 delay;
1: - u32 avail;
1: - u32 avail_max;
1: - u32 overrange;
1: - s32 suspended_state;
1: - u32 audio_tstamp_data;
1: - struct old_timespec32 audio_tstamp;
1: - struct old_timespec32 driver_tstamp;
1: - u32 audio_tstamp_accuracy;
1: - unsigned char reserved[36];
1: + s32 state;
1: + struct old_timespec32 trigger_tstamp;
1: + struct old_timespec32 tstamp;
1: + u32 appl_ptr;
1: + u32 hw_ptr;
1: + s32 delay;
1: + u32 avail;
1: + u32 avail_max;
1: + u32 overrange;
1: + s32 suspended_state;
1: + u32 audio_tstamp_data;
1: + struct old_timespec32 audio_tstamp;
1: + struct old_timespec32 driver_tstamp;
1: + u32 audio_tstamp_accuracy;
1: + unsigned char reserved[36];
1: };
1:
1: struct snd_xferi32 {
1: - s32 result;
1: - u32 buf;
1: - u32 frames;
1: + s32 result;
1: + u32 buf;
1: + u32 frames;
1: };
1:
1: struct snd_xfern32 {
1: - s32 result;
1: - u32 bufs;
1: - u32 frames;
1: + s32 result;
1: + u32 bufs;
1: + u32 frames;
1: };
1:
1: struct snd_pcm_mmap_status32 {
1: - s32 state;
1: - s32 pad1;
1: - u32 hw_ptr;
1: - struct old_timespec32 tstamp;
1: - s32 suspended_state;
1: - struct old_timespec32 audio_tstamp;
1: + s32 state;
1: + s32 pad1;
1: + u32 hw_ptr;
1: + struct old_timespec32 tstamp;
1: + s32 suspended_state;
1: + struct old_timespec32 audio_tstamp;
1: };
1:
1: struct snd_pcm_mmap_control32 {
1: - u32 appl_ptr;
1: - u32 avail_min;
1: + u32 appl_ptr;
1: + u32 avail_min;
1: };
1:
1: struct snd_pcm_sync_ptr32 {
1: - u32 flags;
1: - union {
1: - struct snd_pcm_mmap_status32 status;
1: - unsigned char reserved[64];
1: - } s;
1: - union {
1: - struct snd_pcm_mmap_control32 control;
1: - unsigned char reserved[64];
1: - } c;
1: -};
1: -
1: -enum {
1: - SNDRV_PCM_IOCTL_HW_REFINE32 = -1034141424,
1: - SNDRV_PCM_IOCTL_HW_PARAMS32 = -1034141423,
1: - SNDRV_PCM_IOCTL_SW_PARAMS32 = -1066909421,
1: - SNDRV_PCM_IOCTL_STATUS32 = -2140389088,
1: - SNDRV_PCM_IOCTL_STATUS_EXT32 = -1066647260,
1: - SNDRV_PCM_IOCTL_DELAY32 = -2147204831,
1: - SNDRV_PCM_IOCTL_CHANNEL_INFO32 = -2146418382,
1: - SNDRV_PCM_IOCTL_REWIND32 = 1074020678,
1: - SNDRV_PCM_IOCTL_FORWARD32 = 1074020681,
1: - SNDRV_PCM_IOCTL_WRITEI_FRAMES32 = 1074544976,
1: - SNDRV_PCM_IOCTL_READI_FRAMES32 = -2146680495,
1: - SNDRV_PCM_IOCTL_WRITEN_FRAMES32 = 1074544978,
1: - SNDRV_PCM_IOCTL_READN_FRAMES32 = -2146680493,
1: - SNDRV_PCM_IOCTL_SYNC_PTR32 = -1065074397,
1: -};
1: -
1: -enum {
1: - SNDRV_CHMAP_UNKNOWN = 0,
1: - SNDRV_CHMAP_NA = 1,
1: - SNDRV_CHMAP_MONO = 2,
1: - SNDRV_CHMAP_FL = 3,
1: - SNDRV_CHMAP_FR = 4,
1: - SNDRV_CHMAP_RL = 5,
1: - SNDRV_CHMAP_RR = 6,
1: - SNDRV_CHMAP_FC = 7,
1: - SNDRV_CHMAP_LFE = 8,
1: - SNDRV_CHMAP_SL = 9,
1: - SNDRV_CHMAP_SR = 10,
1: - SNDRV_CHMAP_RC = 11,
1: - SNDRV_CHMAP_FLC = 12,
1: - SNDRV_CHMAP_FRC = 13,
1: - SNDRV_CHMAP_RLC = 14,
1: - SNDRV_CHMAP_RRC = 15,
1: - SNDRV_CHMAP_FLW = 16,
1: - SNDRV_CHMAP_FRW = 17,
1: - SNDRV_CHMAP_FLH = 18,
1: - SNDRV_CHMAP_FCH = 19,
1: - SNDRV_CHMAP_FRH = 20,
1: - SNDRV_CHMAP_TC = 21,
1: - SNDRV_CHMAP_TFL = 22,
1: - SNDRV_CHMAP_TFR = 23,
1: - SNDRV_CHMAP_TFC = 24,
1: - SNDRV_CHMAP_TRL = 25,
1: - SNDRV_CHMAP_TRR = 26,
1: - SNDRV_CHMAP_TRC = 27,
1: - SNDRV_CHMAP_TFLC = 28,
1: - SNDRV_CHMAP_TFRC = 29,
1: - SNDRV_CHMAP_TSL = 30,
1: - SNDRV_CHMAP_TSR = 31,
1: - SNDRV_CHMAP_LLFE = 32,
1: - SNDRV_CHMAP_RLFE = 33,
1: - SNDRV_CHMAP_BC = 34,
1: - SNDRV_CHMAP_BLC = 35,
1: - SNDRV_CHMAP_BRC = 36,
1: - SNDRV_CHMAP_LAST = 36,
1: + u32 flags;
1: + union {
1: + struct snd_pcm_mmap_status32 status;
1: + unsigned char reserved[64];
1: + } s;
1: + union {
1: + struct snd_pcm_mmap_control32 control;
1: + unsigned char reserved[64];
1: + } c;
1: +};
1: +
1: +enum {
1: + SNDRV_PCM_IOCTL_HW_REFINE32 = -1034141424,
1: + SNDRV_PCM_IOCTL_HW_PARAMS32 = -1034141423,
1: + SNDRV_PCM_IOCTL_SW_PARAMS32 = -1066909421,
1: + SNDRV_PCM_IOCTL_STATUS32 = -2140389088,
1: + SNDRV_PCM_IOCTL_STATUS_EXT32 = -1066647260,
1: + SNDRV_PCM_IOCTL_DELAY32 = -2147204831,
1: + SNDRV_PCM_IOCTL_CHANNEL_INFO32 = -2146418382,
1: + SNDRV_PCM_IOCTL_REWIND32 = 1074020678,
1: + SNDRV_PCM_IOCTL_FORWARD32 = 1074020681,
1: + SNDRV_PCM_IOCTL_WRITEI_FRAMES32 = 1074544976,
1: + SNDRV_PCM_IOCTL_READI_FRAMES32 = -2146680495,
1: + SNDRV_PCM_IOCTL_WRITEN_FRAMES32 = 1074544978,
1: + SNDRV_PCM_IOCTL_READN_FRAMES32 = -2146680493,
1: + SNDRV_PCM_IOCTL_SYNC_PTR32 = -1065074397,
1: +};
1: +
1: +enum {
1: + SNDRV_CHMAP_UNKNOWN = 0,
1: + SNDRV_CHMAP_NA = 1,
1: + SNDRV_CHMAP_MONO = 2,
1: + SNDRV_CHMAP_FL = 3,
1: + SNDRV_CHMAP_FR = 4,
1: + SNDRV_CHMAP_RL = 5,
1: + SNDRV_CHMAP_RR = 6,
1: + SNDRV_CHMAP_FC = 7,
1: + SNDRV_CHMAP_LFE = 8,
1: + SNDRV_CHMAP_SL = 9,
1: + SNDRV_CHMAP_SR = 10,
1: + SNDRV_CHMAP_RC = 11,
1: + SNDRV_CHMAP_FLC = 12,
1: + SNDRV_CHMAP_FRC = 13,
1: + SNDRV_CHMAP_RLC = 14,
1: + SNDRV_CHMAP_RRC = 15,
1: + SNDRV_CHMAP_FLW = 16,
1: + SNDRV_CHMAP_FRW = 17,
1: + SNDRV_CHMAP_FLH = 18,
1: + SNDRV_CHMAP_FCH = 19,
1: + SNDRV_CHMAP_FRH = 20,
1: + SNDRV_CHMAP_TC = 21,
1: + SNDRV_CHMAP_TFL = 22,
1: + SNDRV_CHMAP_TFR = 23,
1: + SNDRV_CHMAP_TFC = 24,
1: + SNDRV_CHMAP_TRL = 25,
1: + SNDRV_CHMAP_TRR = 26,
1: + SNDRV_CHMAP_TRC = 27,
1: + SNDRV_CHMAP_TFLC = 28,
1: + SNDRV_CHMAP_TFRC = 29,
1: + SNDRV_CHMAP_TSL = 30,
1: + SNDRV_CHMAP_TSR = 31,
1: + SNDRV_CHMAP_LLFE = 32,
1: + SNDRV_CHMAP_RLFE = 33,
1: + SNDRV_CHMAP_BC = 34,
1: + SNDRV_CHMAP_BLC = 35,
1: + SNDRV_CHMAP_BRC = 36,
1: + SNDRV_CHMAP_LAST = 36,
1: };
1:
1: struct snd_ratnum {
1: - unsigned int num;
1: - unsigned int den_min;
1: - unsigned int den_max;
1: - unsigned int den_step;
1: + unsigned int num;
1: + unsigned int den_min;
1: + unsigned int den_max;
1: + unsigned int den_step;
1: };
1:
1: struct snd_ratden {
1: - unsigned int num_min;
1: - unsigned int num_max;
1: - unsigned int num_step;
1: - unsigned int den;
1: + unsigned int num_min;
1: + unsigned int num_max;
1: + unsigned int num_step;
1: + unsigned int den;
1: };
1:
1: struct snd_pcm_hw_constraint_ratnums {
1: - int nrats;
1: - const struct snd_ratnum *rats;
1: + int nrats;
1: + const struct snd_ratnum *rats;
1: };
1:
1: struct snd_pcm_hw_constraint_ratdens {
1: - int nrats;
1: - const struct snd_ratden *rats;
1: + int nrats;
1: + const struct snd_ratden *rats;
1: };
1:
1: struct snd_pcm_hw_constraint_ranges {
1: - unsigned int count;
1: - const struct snd_interval *ranges;
1: - unsigned int mask;
1: + unsigned int count;
1: + const struct snd_interval *ranges;
1: + unsigned int mask;
1: };
1:
1: struct snd_pcm_chmap_elem {
1: - unsigned char channels;
1: - unsigned char map[15];
1: + unsigned char channels;
1: + unsigned char map[15];
1: };
1:
1: struct snd_pcm_chmap {
1: - struct snd_pcm *pcm;
1: - int stream;
1: - struct snd_kcontrol *kctl;
1: - const struct snd_pcm_chmap_elem *chmap;
1: - unsigned int max_channels;
1: - unsigned int channel_mask;
1: - void *private_data;
1: + struct snd_pcm *pcm;
1: + int stream;
1: + struct snd_kcontrol *kctl;
1: + const struct snd_pcm_chmap_elem *chmap;
1: + unsigned int max_channels;
1: + unsigned int channel_mask;
1: + void *private_data;
1: };
1:
1: -typedef int (*pcm_transfer_f)(struct snd_pcm_substream *, int, long unsigned int, void *, long unsigned int);
1: +typedef int (*pcm_transfer_f)(struct snd_pcm_substream *, int,
1: + long unsigned int, void *, long unsigned int);
1:
1: -typedef int (*pcm_copy_f)(struct snd_pcm_substream *, snd_pcm_uframes_t, void *, snd_pcm_uframes_t, snd_pcm_uframes_t, pcm_transfer_f);
1: +typedef int (*pcm_copy_f)(struct snd_pcm_substream *, snd_pcm_uframes_t, void *,
1: + snd_pcm_uframes_t, snd_pcm_uframes_t, pcm_transfer_f);
1:
1: struct pcm_format_data {
1: - unsigned char width;
1: - unsigned char phys;
1: - signed char le;
1: - signed char signd;
1: - unsigned char silence[8];
1: + unsigned char width;
1: + unsigned char phys;
1: + signed char le;
1: + signed char signd;
1: + unsigned char silence[8];
1: };
1:
1: struct snd_sg_page {
1: - void *buf;
1: - dma_addr_t addr;
1: + void *buf;
1: + dma_addr_t addr;
1: };
1:
1: struct snd_sg_buf {
1: - int size;
1: - int pages;
1: - int tblsize;
1: - struct snd_sg_page *table;
1: - struct page **page_table;
1: - struct device *dev;
1: + int size;
1: + int pages;
1: + int tblsize;
1: + struct snd_sg_page *table;
1: + struct page **page_table;
1: + struct device *dev;
1: };
1:
1: struct snd_seq_device {
1: - struct snd_card *card;
1: - int device;
1: - const char *id;
1: - char name[80];
1: - int argsize;
1: - void *driver_data;
1: - void *private_data;
1: - void (*private_free)(struct snd_seq_device *);
1: - struct device dev;
1: + struct snd_card *card;
1: + int device;
1: + const char *id;
1: + char name[80];
1: + int argsize;
1: + void *driver_data;
1: + void *private_data;
1: + void (*private_free)(struct snd_seq_device *);
1: + struct device dev;
1: };
1:
1: struct snd_seq_driver {
1: - struct device_driver driver;
1: - char *id;
1: - int argsize;
1: + struct device_driver driver;
1: + char *id;
1: + int argsize;
1: };
1:
1: typedef atomic_t snd_use_lock_t;
1: @@ -97394,483 +98089,483 @@ typedef atomic_t snd_use_lock_t;
1: typedef unsigned char snd_seq_event_type_t;
1:
1: struct snd_seq_addr {
1: - unsigned char client;
1: - unsigned char port;
1: + unsigned char client;
1: + unsigned char port;
1: };
1:
1: struct snd_seq_connect {
1: - struct snd_seq_addr sender;
1: - struct snd_seq_addr dest;
1: + struct snd_seq_addr sender;
1: + struct snd_seq_addr dest;
1: };
1:
1: struct snd_seq_ev_note {
1: - unsigned char channel;
1: - unsigned char note;
1: - unsigned char velocity;
1: - unsigned char off_velocity;
1: - unsigned int duration;
1: + unsigned char channel;
1: + unsigned char note;
1: + unsigned char velocity;
1: + unsigned char off_velocity;
1: + unsigned int duration;
1: };
1:
1: struct snd_seq_ev_ctrl {
1: - unsigned char channel;
1: - unsigned char unused1;
1: - unsigned char unused2;
1: - unsigned char unused3;
1: - unsigned int param;
1: - int value;
1: + unsigned char channel;
1: + unsigned char unused1;
1: + unsigned char unused2;
1: + unsigned char unused3;
1: + unsigned int param;
1: + int value;
1: };
1:
1: struct snd_seq_ev_raw8 {
1: - unsigned char d[12];
1: + unsigned char d[12];
1: };
1:
1: struct snd_seq_ev_raw32 {
1: - unsigned int d[3];
1: + unsigned int d[3];
1: };
1:
1: struct snd_seq_ev_ext {
1: - unsigned int len;
1: - void *ptr;
1: + unsigned int len;
1: + void *ptr;
1: } __attribute__((packed));
1:
1: struct snd_seq_result {
1: - int event;
1: - int result;
1: + int event;
1: + int result;
1: };
1:
1: struct snd_seq_real_time {
1: - unsigned int tv_sec;
1: - unsigned int tv_nsec;
1: + unsigned int tv_sec;
1: + unsigned int tv_nsec;
1: };
1:
1: typedef unsigned int snd_seq_tick_time_t;
1:
1: union snd_seq_timestamp {
1: - snd_seq_tick_time_t tick;
1: - struct snd_seq_real_time time;
1: + snd_seq_tick_time_t tick;
1: + struct snd_seq_real_time time;
1: };
1:
1: struct snd_seq_queue_skew {
1: - unsigned int value;
1: - unsigned int base;
1: + unsigned int value;
1: + unsigned int base;
1: };
1:
1: struct snd_seq_ev_queue_control {
1: - unsigned char queue;
1: - unsigned char pad[3];
1: - union {
1: - int value;
1: - union snd_seq_timestamp time;
1: - unsigned int position;
1: - struct snd_seq_queue_skew skew;
1: - unsigned int d32[2];
1: - unsigned char d8[8];
1: - } param;
1: + unsigned char queue;
1: + unsigned char pad[3];
1: + union {
1: + int value;
1: + union snd_seq_timestamp time;
1: + unsigned int position;
1: + struct snd_seq_queue_skew skew;
1: + unsigned int d32[2];
1: + unsigned char d8[8];
1: + } param;
1: };
1:
1: struct snd_seq_event;
1:
1: struct snd_seq_ev_quote {
1: - struct snd_seq_addr origin;
1: - short unsigned int value;
1: - struct snd_seq_event *event;
1: + struct snd_seq_addr origin;
1: + short unsigned int value;
1: + struct snd_seq_event *event;
1: } __attribute__((packed));
1:
1: struct snd_seq_event {
1: - snd_seq_event_type_t type;
1: - unsigned char flags;
1: - char tag;
1: - unsigned char queue;
1: - union snd_seq_timestamp time;
1: - struct snd_seq_addr source;
1: - struct snd_seq_addr dest;
1: - union {
1: - struct snd_seq_ev_note note;
1: - struct snd_seq_ev_ctrl control;
1: - struct snd_seq_ev_raw8 raw8;
1: - struct snd_seq_ev_raw32 raw32;
1: - struct snd_seq_ev_ext ext;
1: - struct snd_seq_ev_queue_control queue;
1: - union snd_seq_timestamp time;
1: - struct snd_seq_addr addr;
1: - struct snd_seq_connect connect;
1: - struct snd_seq_result result;
1: - struct snd_seq_ev_quote quote;
1: - } data;
1: + snd_seq_event_type_t type;
1: + unsigned char flags;
1: + char tag;
1: + unsigned char queue;
1: + union snd_seq_timestamp time;
1: + struct snd_seq_addr source;
1: + struct snd_seq_addr dest;
1: + union {
1: + struct snd_seq_ev_note note;
1: + struct snd_seq_ev_ctrl control;
1: + struct snd_seq_ev_raw8 raw8;
1: + struct snd_seq_ev_raw32 raw32;
1: + struct snd_seq_ev_ext ext;
1: + struct snd_seq_ev_queue_control queue;
1: + union snd_seq_timestamp time;
1: + struct snd_seq_addr addr;
1: + struct snd_seq_connect connect;
1: + struct snd_seq_result result;
1: + struct snd_seq_ev_quote quote;
1: + } data;
1: } __attribute__((packed));
1:
1: struct snd_seq_system_info {
1: - int queues;
1: - int clients;
1: - int ports;
1: - int channels;
1: - int cur_clients;
1: - int cur_queues;
1: - char reserved[24];
1: + int queues;
1: + int clients;
1: + int ports;
1: + int channels;
1: + int cur_clients;
1: + int cur_queues;
1: + char reserved[24];
1: };
1:
1: struct snd_seq_running_info {
1: - unsigned char client;
1: - unsigned char big_endian;
1: - unsigned char cpu_mode;
1: - unsigned char pad;
1: - unsigned char reserved[12];
1: + unsigned char client;
1: + unsigned char big_endian;
1: + unsigned char cpu_mode;
1: + unsigned char pad;
1: + unsigned char reserved[12];
1: };
1:
1: typedef int snd_seq_client_type_t;
1:
1: struct snd_seq_client_info {
1: - int client;
1: - snd_seq_client_type_t type;
1: - char name[64];
1: - unsigned int filter;
1: - unsigned char multicast_filter[8];
1: - unsigned char event_filter[32];
1: - int num_ports;
1: - int event_lost;
1: - int card;
1: - int pid;
1: - char reserved[56];
1: + int client;
1: + snd_seq_client_type_t type;
1: + char name[64];
1: + unsigned int filter;
1: + unsigned char multicast_filter[8];
1: + unsigned char event_filter[32];
1: + int num_ports;
1: + int event_lost;
1: + int card;
1: + int pid;
1: + char reserved[56];
1: };
1:
1: struct snd_seq_client_pool {
1: - int client;
1: - int output_pool;
1: - int input_pool;
1: - int output_room;
1: - int output_free;
1: - int input_free;
1: - char reserved[64];
1: + int client;
1: + int output_pool;
1: + int input_pool;
1: + int output_room;
1: + int output_free;
1: + int input_free;
1: + char reserved[64];
1: };
1:
1: struct snd_seq_remove_events {
1: - unsigned int remove_mode;
1: - union snd_seq_timestamp time;
1: - unsigned char queue;
1: - struct snd_seq_addr dest;
1: - unsigned char channel;
1: - int type;
1: - char tag;
1: - int reserved[10];
1: + unsigned int remove_mode;
1: + union snd_seq_timestamp time;
1: + unsigned char queue;
1: + struct snd_seq_addr dest;
1: + unsigned char channel;
1: + int type;
1: + char tag;
1: + int reserved[10];
1: };
1:
1: struct snd_seq_port_info {
1: - struct snd_seq_addr addr;
1: - char name[64];
1: - unsigned int capability;
1: - unsigned int type;
1: - int midi_channels;
1: - int midi_voices;
1: - int synth_voices;
1: - int read_use;
1: - int write_use;
1: - void *kernel;
1: - unsigned int flags;
1: - unsigned char time_queue;
1: - char reserved[59];
1: + struct snd_seq_addr addr;
1: + char name[64];
1: + unsigned int capability;
1: + unsigned int type;
1: + int midi_channels;
1: + int midi_voices;
1: + int synth_voices;
1: + int read_use;
1: + int write_use;
1: + void *kernel;
1: + unsigned int flags;
1: + unsigned char time_queue;
1: + char reserved[59];
1: };
1:
1: struct snd_seq_queue_info {
1: - int queue;
1: - int owner;
1: - unsigned int locked: 1;
1: - char name[64];
1: - unsigned int flags;
1: - char reserved[60];
1: + int queue;
1: + int owner;
1: + unsigned int locked : 1;
1: + char name[64];
1: + unsigned int flags;
1: + char reserved[60];
1: };
1:
1: struct snd_seq_queue_status {
1: - int queue;
1: - int events;
1: - snd_seq_tick_time_t tick;
1: - struct snd_seq_real_time time;
1: - int running;
1: - int flags;
1: - char reserved[64];
1: + int queue;
1: + int events;
1: + snd_seq_tick_time_t tick;
1: + struct snd_seq_real_time time;
1: + int running;
1: + int flags;
1: + char reserved[64];
1: };
1:
1: struct snd_seq_queue_tempo {
1: - int queue;
1: - unsigned int tempo;
1: - int ppq;
1: - unsigned int skew_value;
1: - unsigned int skew_base;
1: - char reserved[24];
1: + int queue;
1: + unsigned int tempo;
1: + int ppq;
1: + unsigned int skew_value;
1: + unsigned int skew_base;
1: + char reserved[24];
1: };
1:
1: struct snd_seq_queue_timer {
1: - int queue;
1: - int type;
1: - union {
1: - struct {
1: - struct snd_timer_id id;
1: - unsigned int resolution;
1: - } alsa;
1: - } u;
1: - char reserved[64];
1: + int queue;
1: + int type;
1: + union {
1: + struct {
1: + struct snd_timer_id id;
1: + unsigned int resolution;
1: + } alsa;
1: + } u;
1: + char reserved[64];
1: };
1:
1: struct snd_seq_queue_client {
1: - int queue;
1: - int client;
1: - int used;
1: - char reserved[64];
1: + int queue;
1: + int client;
1: + int used;
1: + char reserved[64];
1: };
1:
1: struct snd_seq_port_subscribe {
1: - struct snd_seq_addr sender;
1: - struct snd_seq_addr dest;
1: - unsigned int voices;
1: - unsigned int flags;
1: - unsigned char queue;
1: - unsigned char pad[3];
1: - char reserved[64];
1: + struct snd_seq_addr sender;
1: + struct snd_seq_addr dest;
1: + unsigned int voices;
1: + unsigned int flags;
1: + unsigned char queue;
1: + unsigned char pad[3];
1: + char reserved[64];
1: };
1:
1: struct snd_seq_query_subs {
1: - struct snd_seq_addr root;
1: - int type;
1: - int index;
1: - int num_subs;
1: - struct snd_seq_addr addr;
1: - unsigned char queue;
1: - unsigned int flags;
1: - char reserved[64];
1: + struct snd_seq_addr root;
1: + int type;
1: + int index;
1: + int num_subs;
1: + struct snd_seq_addr addr;
1: + unsigned char queue;
1: + unsigned int flags;
1: + char reserved[64];
1: };
1:
1: typedef struct snd_seq_real_time snd_seq_real_time_t;
1:
1: struct snd_seq_port_callback {
1: - struct module *owner;
1: - void *private_data;
1: - int (*subscribe)(void *, struct snd_seq_port_subscribe *);
1: - int (*unsubscribe)(void *, struct snd_seq_port_subscribe *);
1: - int (*use)(void *, struct snd_seq_port_subscribe *);
1: - int (*unuse)(void *, struct snd_seq_port_subscribe *);
1: - int (*event_input)(struct snd_seq_event *, int, void *, int, int);
1: - void (*private_free)(void *);
1: + struct module *owner;
1: + void *private_data;
1: + int (*subscribe)(void *, struct snd_seq_port_subscribe *);
1: + int (*unsubscribe)(void *, struct snd_seq_port_subscribe *);
1: + int (*use)(void *, struct snd_seq_port_subscribe *);
1: + int (*unuse)(void *, struct snd_seq_port_subscribe *);
1: + int (*event_input)(struct snd_seq_event *, int, void *, int, int);
1: + void (*private_free)(void *);
1: };
1:
1: struct snd_seq_pool;
1:
1: struct snd_seq_event_cell {
1: - struct snd_seq_event event;
1: - struct snd_seq_pool *pool;
1: - struct snd_seq_event_cell *next;
1: + struct snd_seq_event event;
1: + struct snd_seq_pool *pool;
1: + struct snd_seq_event_cell *next;
1: };
1:
1: struct snd_seq_pool {
1: - struct snd_seq_event_cell *ptr;
1: - struct snd_seq_event_cell *free;
1: - int total_elements;
1: - atomic_t counter;
1: - int size;
1: - int room;
1: - int closing;
1: - int max_used;
1: - int event_alloc_nopool;
1: - int event_alloc_failures;
1: - int event_alloc_success;
1: - wait_queue_head_t output_sleep;
1: - spinlock_t lock;
1: + struct snd_seq_event_cell *ptr;
1: + struct snd_seq_event_cell *free;
1: + int total_elements;
1: + atomic_t counter;
1: + int size;
1: + int room;
1: + int closing;
1: + int max_used;
1: + int event_alloc_nopool;
1: + int event_alloc_failures;
1: + int event_alloc_success;
1: + wait_queue_head_t output_sleep;
1: + spinlock_t lock;
1: };
1:
1: struct snd_seq_fifo {
1: - struct snd_seq_pool *pool;
1: - struct snd_seq_event_cell *head;
1: - struct snd_seq_event_cell *tail;
1: - int cells;
1: - spinlock_t lock;
1: - snd_use_lock_t use_lock;
1: - wait_queue_head_t input_sleep;
1: - atomic_t overflow;
1: + struct snd_seq_pool *pool;
1: + struct snd_seq_event_cell *head;
1: + struct snd_seq_event_cell *tail;
1: + int cells;
1: + spinlock_t lock;
1: + snd_use_lock_t use_lock;
1: + wait_queue_head_t input_sleep;
1: + atomic_t overflow;
1: };
1:
1: struct snd_seq_subscribers {
1: - struct snd_seq_port_subscribe info;
1: - struct list_head src_list;
1: - struct list_head dest_list;
1: - atomic_t ref_count;
1: + struct snd_seq_port_subscribe info;
1: + struct list_head src_list;
1: + struct list_head dest_list;
1: + atomic_t ref_count;
1: };
1:
1: struct snd_seq_port_subs_info {
1: - struct list_head list_head;
1: - unsigned int count;
1: - unsigned int exclusive: 1;
1: - struct rw_semaphore list_mutex;
1: - rwlock_t list_lock;
1: - int (*open)(void *, struct snd_seq_port_subscribe *);
1: - int (*close)(void *, struct snd_seq_port_subscribe *);
1: + struct list_head list_head;
1: + unsigned int count;
1: + unsigned int exclusive : 1;
1: + struct rw_semaphore list_mutex;
1: + rwlock_t list_lock;
1: + int (*open)(void *, struct snd_seq_port_subscribe *);
1: + int (*close)(void *, struct snd_seq_port_subscribe *);
1: };
1:
1: struct snd_seq_client_port {
1: - struct snd_seq_addr addr;
1: - struct module *owner;
1: - char name[64];
1: - struct list_head list;
1: - snd_use_lock_t use_lock;
1: - struct snd_seq_port_subs_info c_src;
1: - struct snd_seq_port_subs_info c_dest;
1: - int (*event_input)(struct snd_seq_event *, int, void *, int, int);
1: - void (*private_free)(void *);
1: - void *private_data;
1: - unsigned int closing: 1;
1: - unsigned int timestamping: 1;
1: - unsigned int time_real: 1;
1: - int time_queue;
1: - unsigned int capability;
1: - unsigned int type;
1: - int midi_channels;
1: - int midi_voices;
1: - int synth_voices;
1: + struct snd_seq_addr addr;
1: + struct module *owner;
1: + char name[64];
1: + struct list_head list;
1: + snd_use_lock_t use_lock;
1: + struct snd_seq_port_subs_info c_src;
1: + struct snd_seq_port_subs_info c_dest;
1: + int (*event_input)(struct snd_seq_event *, int, void *, int, int);
1: + void (*private_free)(void *);
1: + void *private_data;
1: + unsigned int closing : 1;
1: + unsigned int timestamping : 1;
1: + unsigned int time_real : 1;
1: + int time_queue;
1: + unsigned int capability;
1: + unsigned int type;
1: + int midi_channels;
1: + int midi_voices;
1: + int synth_voices;
1: };
1:
1: struct snd_seq_user_client {
1: - struct file *file;
1: - struct pid *owner;
1: - struct snd_seq_fifo *fifo;
1: - int fifo_pool_size;
1: + struct file *file;
1: + struct pid *owner;
1: + struct snd_seq_fifo *fifo;
1: + int fifo_pool_size;
1: };
1:
1: struct snd_seq_kernel_client {
1: - struct snd_card *card;
1: + struct snd_card *card;
1: };
1:
1: struct snd_seq_client {
1: - snd_seq_client_type_t type;
1: - unsigned int accept_input: 1;
1: - unsigned int accept_output: 1;
1: - char name[64];
1: - int number;
1: - unsigned int filter;
1: - long unsigned int event_filter[4];
1: - snd_use_lock_t use_lock;
1: - int event_lost;
1: - int num_ports;
1: - struct list_head ports_list_head;
1: - rwlock_t ports_lock;
1: - struct mutex ports_mutex;
1: - struct mutex ioctl_mutex;
1: - int convert32;
1: - struct snd_seq_pool *pool;
1: - union {
1: - struct snd_seq_user_client user;
1: - struct snd_seq_kernel_client kernel;
1: - } data;
1: + snd_seq_client_type_t type;
1: + unsigned int accept_input : 1;
1: + unsigned int accept_output : 1;
1: + char name[64];
1: + int number;
1: + unsigned int filter;
1: + long unsigned int event_filter[4];
1: + snd_use_lock_t use_lock;
1: + int event_lost;
1: + int num_ports;
1: + struct list_head ports_list_head;
1: + rwlock_t ports_lock;
1: + struct mutex ports_mutex;
1: + struct mutex ioctl_mutex;
1: + int convert32;
1: + struct snd_seq_pool *pool;
1: + union {
1: + struct snd_seq_user_client user;
1: + struct snd_seq_kernel_client kernel;
1: + } data;
1: };
1:
1: struct snd_seq_usage {
1: - int cur;
1: - int peak;
1: + int cur;
1: + int peak;
1: };
1:
1: struct snd_seq_prioq {
1: - struct snd_seq_event_cell *head;
1: - struct snd_seq_event_cell *tail;
1: - int cells;
1: - spinlock_t lock;
1: + struct snd_seq_event_cell *head;
1: + struct snd_seq_event_cell *tail;
1: + int cells;
1: + spinlock_t lock;
1: };
1:
1: struct snd_seq_timer_tick {
1: - snd_seq_tick_time_t cur_tick;
1: - long unsigned int resolution;
1: - long unsigned int fraction;
1: + snd_seq_tick_time_t cur_tick;
1: + long unsigned int resolution;
1: + long unsigned int fraction;
1: };
1:
1: struct snd_seq_timer {
1: - unsigned int running: 1;
1: - unsigned int initialized: 1;
1: - unsigned int tempo;
1: - int ppq;
1: - snd_seq_real_time_t cur_time;
1: - struct snd_seq_timer_tick tick;
1: - int tick_updated;
1: - int type;
1: - struct snd_timer_id alsa_id;
1: - struct snd_timer_instance *timeri;
1: - unsigned int ticks;
1: - long unsigned int preferred_resolution;
1: - unsigned int skew;
1: - unsigned int skew_base;
1: - struct timespec64 last_update;
1: - spinlock_t lock;
1: + unsigned int running : 1;
1: + unsigned int initialized : 1;
1: + unsigned int tempo;
1: + int ppq;
1: + snd_seq_real_time_t cur_time;
1: + struct snd_seq_timer_tick tick;
1: + int tick_updated;
1: + int type;
1: + struct snd_timer_id alsa_id;
1: + struct snd_timer_instance *timeri;
1: + unsigned int ticks;
1: + long unsigned int preferred_resolution;
1: + unsigned int skew;
1: + unsigned int skew_base;
1: + struct timespec64 last_update;
1: + spinlock_t lock;
1: };
1:
1: struct snd_seq_queue {
1: - int queue;
1: - char name[64];
1: - struct snd_seq_prioq *tickq;
1: - struct snd_seq_prioq *timeq;
1: - struct snd_seq_timer *timer;
1: - int owner;
1: - unsigned int locked: 1;
1: - unsigned int klocked: 1;
1: - unsigned int check_again: 1;
1: - unsigned int check_blocked: 1;
1: - unsigned int flags;
1: - unsigned int info_flags;
1: - spinlock_t owner_lock;
1: - spinlock_t check_lock;
1: - long unsigned int clients_bitmap[3];
1: - unsigned int clients;
1: - struct mutex timer_mutex;
1: - snd_use_lock_t use_lock;
1: + int queue;
1: + char name[64];
1: + struct snd_seq_prioq *tickq;
1: + struct snd_seq_prioq *timeq;
1: + struct snd_seq_timer *timer;
1: + int owner;
1: + unsigned int locked : 1;
1: + unsigned int klocked : 1;
1: + unsigned int check_again : 1;
1: + unsigned int check_blocked : 1;
1: + unsigned int flags;
1: + unsigned int info_flags;
1: + spinlock_t owner_lock;
1: + spinlock_t check_lock;
1: + long unsigned int clients_bitmap[3];
1: + unsigned int clients;
1: + struct mutex timer_mutex;
1: + snd_use_lock_t use_lock;
1: };
1:
1: struct ioctl_handler {
1: - unsigned int cmd;
1: - int (*func)(struct snd_seq_client *, void *);
1: + unsigned int cmd;
1: + int (*func)(struct snd_seq_client *, void *);
1: };
1:
1: struct snd_seq_port_info32 {
1: - struct snd_seq_addr addr;
1: - char name[64];
1: - u32 capability;
1: - u32 type;
1: - s32 midi_channels;
1: - s32 midi_voices;
1: - s32 synth_voices;
1: - s32 read_use;
1: - s32 write_use;
1: - u32 kernel;
1: - u32 flags;
1: - unsigned char time_queue;
1: - char reserved[59];
1: + struct snd_seq_addr addr;
1: + char name[64];
1: + u32 capability;
1: + u32 type;
1: + s32 midi_channels;
1: + s32 midi_voices;
1: + s32 synth_voices;
1: + s32 read_use;
1: + s32 write_use;
1: + u32 kernel;
1: + u32 flags;
1: + unsigned char time_queue;
1: + char reserved[59];
1: };
1:
1: enum {
1: - SNDRV_SEQ_IOCTL_CREATE_PORT32 = -1062972640,
1: - SNDRV_SEQ_IOCTL_DELETE_PORT32 = 1084511009,
1: - SNDRV_SEQ_IOCTL_GET_PORT_INFO32 = -1062972638,
1: - SNDRV_SEQ_IOCTL_SET_PORT_INFO32 = 1084511011,
1: - SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT32 = -1062972590,
1: + SNDRV_SEQ_IOCTL_CREATE_PORT32 = -1062972640,
1: + SNDRV_SEQ_IOCTL_DELETE_PORT32 = 1084511009,
1: + SNDRV_SEQ_IOCTL_GET_PORT_INFO32 = -1062972638,
1: + SNDRV_SEQ_IOCTL_SET_PORT_INFO32 = 1084511011,
1: + SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT32 = -1062972590,
1: };
1:
1: typedef int (*snd_seq_dump_func_t)(void *, void *, int);
1:
1: struct snd_seq_dummy_port {
1: - int client;
1: - int port;
1: - int duplex;
1: - int connect;
1: + int client;
1: + int port;
1: + int duplex;
1: + int connect;
1: };
1:
1: struct hda_device_id {
1: - __u32 vendor_id;
1: - __u32 rev_id;
1: - __u8 api_version;
1: - const char *name;
1: - long unsigned int driver_data;
1: + __u32 vendor_id;
1: + __u32 rev_id;
1: + __u8 api_version;
1: + const char *name;
1: + long unsigned int driver_data;
1: };
1:
1: typedef u16 hda_nid_t;
1:
1: struct snd_array {
1: - unsigned int used;
1: - unsigned int alloced;
1: - unsigned int elem_size;
1: - unsigned int alloc_align;
1: - void *list;
1: + unsigned int used;
1: + unsigned int alloced;
1: + unsigned int elem_size;
1: + unsigned int alloc_align;
1: + void *list;
1: };
1:
1: struct regmap___2;
1: @@ -97880,44 +98575,45 @@ struct hdac_bus;
1: struct hdac_widget_tree;
1:
1: struct hdac_device {
1: - struct device dev;
1: - int type;
1: - struct hdac_bus *bus;
1: - unsigned int addr;
1: - struct list_head list;
1: - hda_nid_t afg;
1: - hda_nid_t mfg;
1: - unsigned int vendor_id;
1: - unsigned int subsystem_id;
1: - unsigned int revision_id;
1: - unsigned int afg_function_id;
1: - unsigned int mfg_function_id;
1: - unsigned int afg_unsol: 1;
1: - unsigned int mfg_unsol: 1;
1: - unsigned int power_caps;
1: - const char *vendor_name;
1: - const char *chip_name;
1: - int (*exec_verb)(struct hdac_device *, unsigned int, unsigned int, unsigned int *);
1: - unsigned int num_nodes;
1: - hda_nid_t start_nid;
1: - hda_nid_t end_nid;
1: - atomic_t in_pm;
1: - struct mutex widget_lock;
1: - struct hdac_widget_tree *widgets;
1: - struct regmap___2 *regmap;
1: - struct snd_array vendor_verbs;
1: - bool lazy_cache: 1;
1: - bool caps_overwriting: 1;
1: - bool cache_coef: 1;
1: + struct device dev;
1: + int type;
1: + struct hdac_bus *bus;
1: + unsigned int addr;
1: + struct list_head list;
1: + hda_nid_t afg;
1: + hda_nid_t mfg;
1: + unsigned int vendor_id;
1: + unsigned int subsystem_id;
1: + unsigned int revision_id;
1: + unsigned int afg_function_id;
1: + unsigned int mfg_function_id;
1: + unsigned int afg_unsol : 1;
1: + unsigned int mfg_unsol : 1;
1: + unsigned int power_caps;
1: + const char *vendor_name;
1: + const char *chip_name;
1: + int (*exec_verb)(struct hdac_device *, unsigned int, unsigned int,
1: + unsigned int *);
1: + unsigned int num_nodes;
1: + hda_nid_t start_nid;
1: + hda_nid_t end_nid;
1: + atomic_t in_pm;
1: + struct mutex widget_lock;
1: + struct hdac_widget_tree *widgets;
1: + struct regmap___2 *regmap;
1: + struct snd_array vendor_verbs;
1: + bool lazy_cache : 1;
1: + bool caps_overwriting : 1;
1: + bool cache_coef : 1;
1: };
1:
1: struct hdac_rb {
1: - __le32 *buf;
1: - dma_addr_t addr;
1: - short unsigned int rp;
1: - short unsigned int wp;
1: - int cmds[8];
1: - u32 res[8];
1: + __le32 *buf;
1: + dma_addr_t addr;
1: + short unsigned int rp;
1: + short unsigned int wp;
1: + int cmds[8];
1: + u32 res[8];
1: };
1:
1: struct hdac_bus_ops;
1: @@ -97925,99 +98621,99 @@ struct hdac_bus_ops;
1: struct hdac_ext_bus_ops;
1:
1: struct hdac_bus {
1: - struct device *dev;
1: - const struct hdac_bus_ops *ops;
1: - const struct hdac_ext_bus_ops *ext_ops;
1: - long unsigned int addr;
1: - void *remap_addr;
1: - int irq;
1: - void *ppcap;
1: - void *spbcap;
1: - void *mlcap;
1: - void *gtscap;
1: - void *drsmcap;
1: - struct list_head codec_list;
1: - unsigned int num_codecs;
1: - struct hdac_device *caddr_tbl[16];
1: - u32 unsol_queue[128];
1: - unsigned int unsol_rp;
1: - unsigned int unsol_wp;
1: - struct work_struct unsol_work;
1: - long unsigned int codec_mask;
1: - long unsigned int codec_powered;
1: - struct hdac_rb corb;
1: - struct hdac_rb rirb;
1: - unsigned int last_cmd[8];
1: - struct snd_dma_buffer rb;
1: - struct snd_dma_buffer posbuf;
1: - int dma_type;
1: - struct list_head stream_list;
1: - bool chip_init: 1;
1: - bool sync_write: 1;
1: - bool use_posbuf: 1;
1: - bool snoop: 1;
1: - bool align_bdle_4k: 1;
1: - bool reverse_assign: 1;
1: - bool corbrp_self_clear: 1;
1: - bool polling_mode: 1;
1: - int poll_count;
1: - int bdl_pos_adj;
1: - spinlock_t reg_lock;
1: - struct mutex cmd_mutex;
1: - struct mutex lock;
1: - struct drm_audio_component *audio_component;
1: - long int display_power_status;
1: - long unsigned int display_power_active;
1: - int num_streams;
1: - int idx;
1: - struct list_head hlink_list;
1: - bool cmd_dma_state;
1: -};
1: -
1: -enum {
1: - HDA_DEV_CORE = 0,
1: - HDA_DEV_LEGACY = 1,
1: - HDA_DEV_ASOC = 2,
1: + struct device *dev;
1: + const struct hdac_bus_ops *ops;
1: + const struct hdac_ext_bus_ops *ext_ops;
1: + long unsigned int addr;
1: + void *remap_addr;
1: + int irq;
1: + void *ppcap;
1: + void *spbcap;
1: + void *mlcap;
1: + void *gtscap;
1: + void *drsmcap;
1: + struct list_head codec_list;
1: + unsigned int num_codecs;
1: + struct hdac_device *caddr_tbl[16];
1: + u32 unsol_queue[128];
1: + unsigned int unsol_rp;
1: + unsigned int unsol_wp;
1: + struct work_struct unsol_work;
1: + long unsigned int codec_mask;
1: + long unsigned int codec_powered;
1: + struct hdac_rb corb;
1: + struct hdac_rb rirb;
1: + unsigned int last_cmd[8];
1: + struct snd_dma_buffer rb;
1: + struct snd_dma_buffer posbuf;
1: + int dma_type;
1: + struct list_head stream_list;
1: + bool chip_init : 1;
1: + bool sync_write : 1;
1: + bool use_posbuf : 1;
1: + bool snoop : 1;
1: + bool align_bdle_4k : 1;
1: + bool reverse_assign : 1;
1: + bool corbrp_self_clear : 1;
1: + bool polling_mode : 1;
1: + int poll_count;
1: + int bdl_pos_adj;
1: + spinlock_t reg_lock;
1: + struct mutex cmd_mutex;
1: + struct mutex lock;
1: + struct drm_audio_component *audio_component;
1: + long int display_power_status;
1: + long unsigned int display_power_active;
1: + int num_streams;
1: + int idx;
1: + struct list_head hlink_list;
1: + bool cmd_dma_state;
1: +};
1: +
1: +enum {
1: + HDA_DEV_CORE = 0,
1: + HDA_DEV_LEGACY = 1,
1: + HDA_DEV_ASOC = 2,
1: };
1:
1: struct hdac_driver {
1: - struct device_driver driver;
1: - int type;
1: - const struct hda_device_id *id_table;
1: - int (*match)(struct hdac_device *, struct hdac_driver *);
1: - void (*unsol_event)(struct hdac_device *, unsigned int);
1: - int (*probe)(struct hdac_device *);
1: - int (*remove)(struct hdac_device *);
1: - void (*shutdown)(struct hdac_device *);
1: + struct device_driver driver;
1: + int type;
1: + const struct hda_device_id *id_table;
1: + int (*match)(struct hdac_device *, struct hdac_driver *);
1: + void (*unsol_event)(struct hdac_device *, unsigned int);
1: + int (*probe)(struct hdac_device *);
1: + int (*remove)(struct hdac_device *);
1: + void (*shutdown)(struct hdac_device *);
1: };
1:
1: struct hdac_bus_ops {
1: - int (*command)(struct hdac_bus *, unsigned int);
1: - int (*get_response)(struct hdac_bus *, unsigned int, unsigned int *);
1: + int (*command)(struct hdac_bus *, unsigned int);
1: + int (*get_response)(struct hdac_bus *, unsigned int, unsigned int *);
1: };
1:
1: struct hdac_ext_bus_ops {
1: - int (*hdev_attach)(struct hdac_device *);
1: - int (*hdev_detach)(struct hdac_device *);
1: + int (*hdev_attach)(struct hdac_device *);
1: + int (*hdev_detach)(struct hdac_device *);
1: };
1:
1: struct hda_bus {
1: - struct hdac_bus core;
1: - struct snd_card *card;
1: - struct pci_dev *pci;
1: - const char *modelname;
1: - struct mutex prepare_mutex;
1: - long unsigned int pcm_dev_bits[1];
1: - unsigned int needs_damn_long_delay: 1;
1: - unsigned int allow_bus_reset: 1;
1: - unsigned int shutdown: 1;
1: - unsigned int response_reset: 1;
1: - unsigned int in_reset: 1;
1: - unsigned int no_response_fallback: 1;
1: - unsigned int bus_probing: 1;
1: - unsigned int keep_power: 1;
1: - int primary_dig_out_type;
1: - unsigned int mixer_assigned;
1: + struct hdac_bus core;
1: + struct snd_card *card;
1: + struct pci_dev *pci;
1: + const char *modelname;
1: + struct mutex prepare_mutex;
1: + long unsigned int pcm_dev_bits[1];
1: + unsigned int needs_damn_long_delay : 1;
1: + unsigned int allow_bus_reset : 1;
1: + unsigned int shutdown : 1;
1: + unsigned int response_reset : 1;
1: + unsigned int in_reset : 1;
1: + unsigned int no_response_fallback : 1;
1: + unsigned int bus_probing : 1;
1: + unsigned int keep_power : 1;
1: + int primary_dig_out_type;
1: + unsigned int mixer_assigned;
1: };
1:
1: struct hda_codec;
1: @@ -98025,17 +98721,17 @@ struct hda_codec;
1: typedef int (*hda_codec_patch_t)(struct hda_codec *);
1:
1: struct hda_codec_ops {
1: - int (*build_controls)(struct hda_codec *);
1: - int (*build_pcms)(struct hda_codec *);
1: - int (*init)(struct hda_codec *);
1: - void (*free)(struct hda_codec *);
1: - void (*unsol_event)(struct hda_codec *, unsigned int);
1: - void (*set_power_state)(struct hda_codec *, hda_nid_t, unsigned int);
1: - int (*suspend)(struct hda_codec *);
1: - int (*resume)(struct hda_codec *);
1: - int (*check_power_status)(struct hda_codec *, hda_nid_t);
1: - void (*reboot_notify)(struct hda_codec *);
1: - void (*stream_pm)(struct hda_codec *, hda_nid_t, bool);
1: + int (*build_controls)(struct hda_codec *);
1: + int (*build_pcms)(struct hda_codec *);
1: + int (*init)(struct hda_codec *);
1: + void (*free)(struct hda_codec *);
1: + void (*unsol_event)(struct hda_codec *, unsigned int);
1: + void (*set_power_state)(struct hda_codec *, hda_nid_t, unsigned int);
1: + int (*suspend)(struct hda_codec *);
1: + int (*resume)(struct hda_codec *);
1: + int (*check_power_status)(struct hda_codec *, hda_nid_t);
1: + void (*reboot_notify)(struct hda_codec *);
1: + void (*stream_pm)(struct hda_codec *, hda_nid_t, bool);
1: };
1:
1: struct hda_beep;
1: @@ -98043,72 +98739,73 @@ struct hda_beep;
1: struct hda_fixup;
1:
1: struct hda_codec {
1: - struct hdac_device core;
1: - struct hda_bus *bus;
1: - struct snd_card *card;
1: - unsigned int addr;
1: - u32 probe_id;
1: - const struct hda_device_id *preset;
1: - const char *modelname;
1: - struct hda_codec_ops patch_ops;
1: - struct list_head pcm_list_head;
1: - void *spec;
1: - struct hda_beep *beep;
1: - unsigned int beep_mode;
1: - u32 *wcaps;
1: - struct snd_array mixers;
1: - struct snd_array nids;
1: - struct list_head conn_list;
1: - struct mutex spdif_mutex;
1: - struct mutex control_mutex;
1: - struct snd_array spdif_out;
1: - unsigned int spdif_in_enable;
1: - const hda_nid_t *slave_dig_outs;
1: - struct snd_array init_pins;
1: - struct snd_array driver_pins;
1: - struct snd_array cvt_setups;
1: - struct mutex user_mutex;
1: - struct snd_hwdep *hwdep;
1: - unsigned int in_freeing: 1;
1: - unsigned int registered: 1;
1: - unsigned int display_power_control: 1;
1: - unsigned int spdif_status_reset: 1;
1: - unsigned int pin_amp_workaround: 1;
1: - unsigned int single_adc_amp: 1;
1: - unsigned int no_sticky_stream: 1;
1: - unsigned int pins_shutup: 1;
1: - unsigned int no_trigger_sense: 1;
1: - unsigned int no_jack_detect: 1;
1: - unsigned int inv_eapd: 1;
1: - unsigned int inv_jack_detect: 1;
1: - unsigned int pcm_format_first: 1;
1: - unsigned int cached_write: 1;
1: - unsigned int dp_mst: 1;
1: - unsigned int dump_coef: 1;
1: - unsigned int power_save_node: 1;
1: - unsigned int auto_runtime_pm: 1;
1: - unsigned int force_pin_prefix: 1;
1: - unsigned int link_down_at_suspend: 1;
1: - unsigned int relaxed_resume: 1;
1: - unsigned int mst_no_extra_pcms: 1;
1: - long unsigned int power_on_acct;
1: - long unsigned int power_off_acct;
1: - long unsigned int power_jiffies;
1: - unsigned int (*power_filter)(struct hda_codec *, hda_nid_t, unsigned int);
1: - void (*proc_widget_hook)(struct snd_info_buffer *, struct hda_codec *, hda_nid_t);
1: - struct snd_array jacktbl;
1: - long unsigned int jackpoll_interval;
1: - struct delayed_work jackpoll_work;
1: - int depop_delay;
1: - int fixup_id;
1: - const struct hda_fixup *fixup_list;
1: - const char *fixup_name;
1: - struct snd_array verbs;
1: + struct hdac_device core;
1: + struct hda_bus *bus;
1: + struct snd_card *card;
1: + unsigned int addr;
1: + u32 probe_id;
1: + const struct hda_device_id *preset;
1: + const char *modelname;
1: + struct hda_codec_ops patch_ops;
1: + struct list_head pcm_list_head;
1: + void *spec;
1: + struct hda_beep *beep;
1: + unsigned int beep_mode;
1: + u32 *wcaps;
1: + struct snd_array mixers;
1: + struct snd_array nids;
1: + struct list_head conn_list;
1: + struct mutex spdif_mutex;
1: + struct mutex control_mutex;
1: + struct snd_array spdif_out;
1: + unsigned int spdif_in_enable;
1: + const hda_nid_t *slave_dig_outs;
1: + struct snd_array init_pins;
1: + struct snd_array driver_pins;
1: + struct snd_array cvt_setups;
1: + struct mutex user_mutex;
1: + struct snd_hwdep *hwdep;
1: + unsigned int in_freeing : 1;
1: + unsigned int registered : 1;
1: + unsigned int display_power_control : 1;
1: + unsigned int spdif_status_reset : 1;
1: + unsigned int pin_amp_workaround : 1;
1: + unsigned int single_adc_amp : 1;
1: + unsigned int no_sticky_stream : 1;
1: + unsigned int pins_shutup : 1;
1: + unsigned int no_trigger_sense : 1;
1: + unsigned int no_jack_detect : 1;
1: + unsigned int inv_eapd : 1;
1: + unsigned int inv_jack_detect : 1;
1: + unsigned int pcm_format_first : 1;
1: + unsigned int cached_write : 1;
1: + unsigned int dp_mst : 1;
1: + unsigned int dump_coef : 1;
1: + unsigned int power_save_node : 1;
1: + unsigned int auto_runtime_pm : 1;
1: + unsigned int force_pin_prefix : 1;
1: + unsigned int link_down_at_suspend : 1;
1: + unsigned int relaxed_resume : 1;
1: + unsigned int mst_no_extra_pcms : 1;
1: + long unsigned int power_on_acct;
1: + long unsigned int power_off_acct;
1: + long unsigned int power_jiffies;
1: + unsigned int (*power_filter)(struct hda_codec *, hda_nid_t, unsigned int);
1: + void (*proc_widget_hook)(struct snd_info_buffer *, struct hda_codec *,
1: + hda_nid_t);
1: + struct snd_array jacktbl;
1: + long unsigned int jackpoll_interval;
1: + struct delayed_work jackpoll_work;
1: + int depop_delay;
1: + int fixup_id;
1: + const struct hda_fixup *fixup_list;
1: + const char *fixup_name;
1: + struct snd_array verbs;
1: };
1:
1: struct hda_codec_driver {
1: - struct hdac_driver core;
1: - const struct hda_device_id *id;
1: + struct hdac_driver core;
1: + const struct hda_device_id *id;
1: };
1:
1: struct hda_pintbl;
1: @@ -98116,503 +98813,511 @@ struct hda_pintbl;
1: struct hda_verb;
1:
1: struct hda_fixup {
1: - int type;
1: - bool chained: 1;
1: - bool chained_before: 1;
1: - int chain_id;
1: - union {
1: - const struct hda_pintbl *pins;
1: - const struct hda_verb *verbs;
1: - void (*func)(struct hda_codec *, const struct hda_fixup *, int);
1: - } v;
1: + int type;
1: + bool chained : 1;
1: + bool chained_before : 1;
1: + int chain_id;
1: + union {
1: + const struct hda_pintbl *pins;
1: + const struct hda_verb *verbs;
1: + void (*func)(struct hda_codec *, const struct hda_fixup *, int);
1: + } v;
1: };
1:
1: struct hda_verb {
1: - hda_nid_t nid;
1: - u32 verb;
1: - u32 param;
1: + hda_nid_t nid;
1: + u32 verb;
1: + u32 param;
1: };
1:
1: struct hda_pintbl {
1: - hda_nid_t nid;
1: - u32 val;
1: + hda_nid_t nid;
1: + u32 val;
1: };
1:
1: enum {
1: - AC_WID_AUD_OUT = 0,
1: - AC_WID_AUD_IN = 1,
1: - AC_WID_AUD_MIX = 2,
1: - AC_WID_AUD_SEL = 3,
1: - AC_WID_PIN = 4,
1: - AC_WID_POWER = 5,
1: - AC_WID_VOL_KNB = 6,
1: - AC_WID_BEEP = 7,
1: - AC_WID_VENDOR = 15,
1: + AC_WID_AUD_OUT = 0,
1: + AC_WID_AUD_IN = 1,
1: + AC_WID_AUD_MIX = 2,
1: + AC_WID_AUD_SEL = 3,
1: + AC_WID_PIN = 4,
1: + AC_WID_POWER = 5,
1: + AC_WID_VOL_KNB = 6,
1: + AC_WID_BEEP = 7,
1: + AC_WID_VENDOR = 15,
1: };
1:
1: enum {
1: - HDA_INPUT = 0,
1: - HDA_OUTPUT = 1,
1: + HDA_INPUT = 0,
1: + HDA_OUTPUT = 1,
1: };
1:
1: struct hda_pcm_stream;
1:
1: struct hda_pcm_ops {
1: - int (*open)(struct hda_pcm_stream *, struct hda_codec *, struct snd_pcm_substream *);
1: - int (*close)(struct hda_pcm_stream *, struct hda_codec *, struct snd_pcm_substream *);
1: - int (*prepare)(struct hda_pcm_stream *, struct hda_codec *, unsigned int, unsigned int, struct snd_pcm_substream *);
1: - int (*cleanup)(struct hda_pcm_stream *, struct hda_codec *, struct snd_pcm_substream *);
1: - unsigned int (*get_delay)(struct hda_pcm_stream *, struct hda_codec *, struct snd_pcm_substream *);
1: + int (*open)(struct hda_pcm_stream *, struct hda_codec *,
1: + struct snd_pcm_substream *);
1: + int (*close)(struct hda_pcm_stream *, struct hda_codec *,
1: + struct snd_pcm_substream *);
1: + int (*prepare)(struct hda_pcm_stream *, struct hda_codec *, unsigned int,
1: + unsigned int, struct snd_pcm_substream *);
1: + int (*cleanup)(struct hda_pcm_stream *, struct hda_codec *,
1: + struct snd_pcm_substream *);
1: + unsigned int (*get_delay)(struct hda_pcm_stream *, struct hda_codec *,
1: + struct snd_pcm_substream *);
1: };
1:
1: struct hda_pcm_stream {
1: - unsigned int substreams;
1: - unsigned int channels_min;
1: - unsigned int channels_max;
1: - hda_nid_t nid;
1: - u32 rates;
1: - u64 formats;
1: - unsigned int maxbps;
1: - const struct snd_pcm_chmap_elem *chmap;
1: - struct hda_pcm_ops ops;
1: + unsigned int substreams;
1: + unsigned int channels_min;
1: + unsigned int channels_max;
1: + hda_nid_t nid;
1: + u32 rates;
1: + u64 formats;
1: + unsigned int maxbps;
1: + const struct snd_pcm_chmap_elem *chmap;
1: + struct hda_pcm_ops ops;
1: };
1:
1: enum {
1: - HDA_PCM_TYPE_AUDIO = 0,
1: - HDA_PCM_TYPE_SPDIF = 1,
1: - HDA_PCM_TYPE_HDMI = 2,
1: - HDA_PCM_TYPE_MODEM = 3,
1: - HDA_PCM_NTYPES = 4,
1: + HDA_PCM_TYPE_AUDIO = 0,
1: + HDA_PCM_TYPE_SPDIF = 1,
1: + HDA_PCM_TYPE_HDMI = 2,
1: + HDA_PCM_TYPE_MODEM = 3,
1: + HDA_PCM_NTYPES = 4,
1: };
1:
1: struct hda_pcm {
1: - char *name;
1: - struct hda_pcm_stream stream[2];
1: - unsigned int pcm_type;
1: - int device;
1: - struct snd_pcm *pcm;
1: - bool own_chmap;
1: - struct hda_codec *codec;
1: - struct kref kref;
1: - struct list_head list;
1: + char *name;
1: + struct hda_pcm_stream stream[2];
1: + unsigned int pcm_type;
1: + int device;
1: + struct snd_pcm *pcm;
1: + bool own_chmap;
1: + struct hda_codec *codec;
1: + struct kref kref;
1: + struct list_head list;
1: };
1:
1: struct hda_beep {
1: - struct input_dev *dev;
1: - struct hda_codec *codec;
1: - char phys[32];
1: - int tone;
1: - hda_nid_t nid;
1: - unsigned int registered: 1;
1: - unsigned int enabled: 1;
1: - unsigned int linear_tone: 1;
1: - unsigned int playing: 1;
1: - struct work_struct beep_work;
1: - struct mutex mutex;
1: - void (*power_hook)(struct hda_beep *, bool);
1: + struct input_dev *dev;
1: + struct hda_codec *codec;
1: + char phys[32];
1: + int tone;
1: + hda_nid_t nid;
1: + unsigned int registered : 1;
1: + unsigned int enabled : 1;
1: + unsigned int linear_tone : 1;
1: + unsigned int playing : 1;
1: + struct work_struct beep_work;
1: + struct mutex mutex;
1: + void (*power_hook)(struct hda_beep *, bool);
1: };
1:
1: struct hda_pincfg {
1: - hda_nid_t nid;
1: - unsigned char ctrl;
1: - unsigned char target;
1: - unsigned int cfg;
1: + hda_nid_t nid;
1: + unsigned char ctrl;
1: + unsigned char target;
1: + unsigned int cfg;
1: };
1:
1: struct hda_spdif_out {
1: - hda_nid_t nid;
1: - unsigned int status;
1: - short unsigned int ctls;
1: + hda_nid_t nid;
1: + unsigned int status;
1: + short unsigned int ctls;
1: };
1:
1: enum {
1: - HDA_VMUTE_OFF = 0,
1: - HDA_VMUTE_ON = 1,
1: - HDA_VMUTE_FOLLOW_MASTER = 2,
1: + HDA_VMUTE_OFF = 0,
1: + HDA_VMUTE_ON = 1,
1: + HDA_VMUTE_FOLLOW_MASTER = 2,
1: };
1:
1: struct hda_vmaster_mute_hook {
1: - struct snd_kcontrol *sw_kctl;
1: - void (*hook)(void *, int);
1: - unsigned int mute_mode;
1: - struct hda_codec *codec;
1: + struct snd_kcontrol *sw_kctl;
1: + void (*hook)(void *, int);
1: + unsigned int mute_mode;
1: + struct hda_codec *codec;
1: };
1:
1: struct hda_input_mux_item {
1: - char label[32];
1: - unsigned int index;
1: + char label[32];
1: + unsigned int index;
1: };
1:
1: struct hda_input_mux {
1: - unsigned int num_items;
1: - struct hda_input_mux_item items[16];
1: + unsigned int num_items;
1: + struct hda_input_mux_item items[16];
1: };
1:
1: enum {
1: - HDA_FRONT = 0,
1: - HDA_REAR = 1,
1: - HDA_CLFE = 2,
1: - HDA_SIDE = 3,
1: + HDA_FRONT = 0,
1: + HDA_REAR = 1,
1: + HDA_CLFE = 2,
1: + HDA_SIDE = 3,
1: };
1:
1: enum {
1: - HDA_DIG_NONE = 0,
1: - HDA_DIG_EXCLUSIVE = 1,
1: - HDA_DIG_ANALOG_DUP = 2,
1: + HDA_DIG_NONE = 0,
1: + HDA_DIG_EXCLUSIVE = 1,
1: + HDA_DIG_ANALOG_DUP = 2,
1: };
1:
1: struct hda_multi_out {
1: - int num_dacs;
1: - const hda_nid_t *dac_nids;
1: - hda_nid_t hp_nid;
1: - hda_nid_t hp_out_nid[5];
1: - hda_nid_t extra_out_nid[5];
1: - hda_nid_t dig_out_nid;
1: - const hda_nid_t *slave_dig_outs;
1: - int max_channels;
1: - int dig_out_used;
1: - int no_share_stream;
1: - int share_spdif;
1: - unsigned int analog_rates;
1: - unsigned int analog_maxbps;
1: - u64 analog_formats;
1: - unsigned int spdif_rates;
1: - unsigned int spdif_maxbps;
1: - u64 spdif_formats;
1: + int num_dacs;
1: + const hda_nid_t *dac_nids;
1: + hda_nid_t hp_nid;
1: + hda_nid_t hp_out_nid[5];
1: + hda_nid_t extra_out_nid[5];
1: + hda_nid_t dig_out_nid;
1: + const hda_nid_t *slave_dig_outs;
1: + int max_channels;
1: + int dig_out_used;
1: + int no_share_stream;
1: + int share_spdif;
1: + unsigned int analog_rates;
1: + unsigned int analog_maxbps;
1: + u64 analog_formats;
1: + unsigned int spdif_rates;
1: + unsigned int spdif_maxbps;
1: + u64 spdif_formats;
1: };
1:
1: struct hda_nid_item {
1: - struct snd_kcontrol *kctl;
1: - unsigned int index;
1: - hda_nid_t nid;
1: - short unsigned int flags;
1: + struct snd_kcontrol *kctl;
1: + unsigned int index;
1: + hda_nid_t nid;
1: + short unsigned int flags;
1: };
1:
1: struct hda_amp_list {
1: - hda_nid_t nid;
1: - unsigned char dir;
1: - unsigned char idx;
1: + hda_nid_t nid;
1: + unsigned char dir;
1: + unsigned char idx;
1: };
1:
1: struct hda_loopback_check {
1: - const struct hda_amp_list *amplist;
1: - int power_on;
1: + const struct hda_amp_list *amplist;
1: + int power_on;
1: };
1:
1: struct hda_conn_list {
1: - struct list_head list;
1: - int len;
1: - hda_nid_t nid;
1: - hda_nid_t conns[0];
1: + struct list_head list;
1: + int len;
1: + hda_nid_t nid;
1: + hda_nid_t conns[0];
1: };
1:
1: struct hda_cvt_setup {
1: - hda_nid_t nid;
1: - u8 stream_tag;
1: - u8 channel_id;
1: - u16 format_id;
1: - unsigned char active;
1: - unsigned char dirty;
1: + hda_nid_t nid;
1: + u8 stream_tag;
1: + u8 channel_id;
1: + u16 format_id;
1: + unsigned char active;
1: + unsigned char dirty;
1: };
1:
1: -typedef int (*map_slave_func_t)(struct hda_codec *, void *, struct snd_kcontrol *);
1: +typedef int (*map_slave_func_t)(struct hda_codec *, void *,
1: + struct snd_kcontrol *);
1:
1: struct slave_init_arg {
1: - struct hda_codec *codec;
1: - int step;
1: + struct hda_codec *codec;
1: + int step;
1: };
1:
1: enum {
1: - AC_JACK_LINE_OUT = 0,
1: - AC_JACK_SPEAKER = 1,
1: - AC_JACK_HP_OUT = 2,
1: - AC_JACK_CD = 3,
1: - AC_JACK_SPDIF_OUT = 4,
1: - AC_JACK_DIG_OTHER_OUT = 5,
1: - AC_JACK_MODEM_LINE_SIDE = 6,
1: - AC_JACK_MODEM_HAND_SIDE = 7,
1: - AC_JACK_LINE_IN = 8,
1: - AC_JACK_AUX = 9,
1: - AC_JACK_MIC_IN = 10,
1: - AC_JACK_TELEPHONY = 11,
1: - AC_JACK_SPDIF_IN = 12,
1: - AC_JACK_DIG_OTHER_IN = 13,
1: - AC_JACK_OTHER = 15,
1: + AC_JACK_LINE_OUT = 0,
1: + AC_JACK_SPEAKER = 1,
1: + AC_JACK_HP_OUT = 2,
1: + AC_JACK_CD = 3,
1: + AC_JACK_SPDIF_OUT = 4,
1: + AC_JACK_DIG_OTHER_OUT = 5,
1: + AC_JACK_MODEM_LINE_SIDE = 6,
1: + AC_JACK_MODEM_HAND_SIDE = 7,
1: + AC_JACK_LINE_IN = 8,
1: + AC_JACK_AUX = 9,
1: + AC_JACK_MIC_IN = 10,
1: + AC_JACK_TELEPHONY = 11,
1: + AC_JACK_SPDIF_IN = 12,
1: + AC_JACK_DIG_OTHER_IN = 13,
1: + AC_JACK_OTHER = 15,
1: };
1:
1: enum {
1: - AC_JACK_PORT_COMPLEX = 0,
1: - AC_JACK_PORT_NONE = 1,
1: - AC_JACK_PORT_FIXED = 2,
1: - AC_JACK_PORT_BOTH = 3,
1: + AC_JACK_PORT_COMPLEX = 0,
1: + AC_JACK_PORT_NONE = 1,
1: + AC_JACK_PORT_FIXED = 2,
1: + AC_JACK_PORT_BOTH = 3,
1: };
1:
1: enum {
1: - AUTO_PIN_LINE_OUT = 0,
1: - AUTO_PIN_SPEAKER_OUT = 1,
1: - AUTO_PIN_HP_OUT = 2,
1: + AUTO_PIN_LINE_OUT = 0,
1: + AUTO_PIN_SPEAKER_OUT = 1,
1: + AUTO_PIN_HP_OUT = 2,
1: };
1:
1: struct auto_pin_cfg_item {
1: - hda_nid_t pin;
1: - int type;
1: - unsigned int is_headset_mic: 1;
1: - unsigned int is_headphone_mic: 1;
1: - unsigned int has_boost_on_pin: 1;
1: + hda_nid_t pin;
1: + int type;
1: + unsigned int is_headset_mic : 1;
1: + unsigned int is_headphone_mic : 1;
1: + unsigned int has_boost_on_pin : 1;
1: };
1:
1: struct auto_pin_cfg {
1: - int line_outs;
1: - hda_nid_t line_out_pins[5];
1: - int speaker_outs;
1: - hda_nid_t speaker_pins[5];
1: - int hp_outs;
1: - int line_out_type;
1: - hda_nid_t hp_pins[5];
1: - int num_inputs;
1: - struct auto_pin_cfg_item inputs[8];
1: - int dig_outs;
1: - hda_nid_t dig_out_pins[2];
1: - hda_nid_t dig_in_pin;
1: - hda_nid_t mono_out_pin;
1: - int dig_out_type[2];
1: - int dig_in_type;
1: + int line_outs;
1: + hda_nid_t line_out_pins[5];
1: + int speaker_outs;
1: + hda_nid_t speaker_pins[5];
1: + int hp_outs;
1: + int line_out_type;
1: + hda_nid_t hp_pins[5];
1: + int num_inputs;
1: + struct auto_pin_cfg_item inputs[8];
1: + int dig_outs;
1: + hda_nid_t dig_out_pins[2];
1: + hda_nid_t dig_in_pin;
1: + hda_nid_t mono_out_pin;
1: + int dig_out_type[2];
1: + int dig_in_type;
1: };
1:
1: struct hda_jack_callback;
1:
1: -typedef void (*hda_jack_callback_fn)(struct hda_codec *, struct hda_jack_callback *);
1: +typedef void (*hda_jack_callback_fn)(struct hda_codec *,
1: + struct hda_jack_callback *);
1:
1: struct hda_jack_tbl;
1:
1: struct hda_jack_callback {
1: - hda_nid_t nid;
1: - int dev_id;
1: - hda_jack_callback_fn func;
1: - unsigned int private_data;
1: - unsigned int unsol_res;
1: - struct hda_jack_tbl *jack;
1: - struct hda_jack_callback *next;
1: + hda_nid_t nid;
1: + int dev_id;
1: + hda_jack_callback_fn func;
1: + unsigned int private_data;
1: + unsigned int unsol_res;
1: + struct hda_jack_tbl *jack;
1: + struct hda_jack_callback *next;
1: };
1:
1: struct hda_jack_tbl {
1: - hda_nid_t nid;
1: - int dev_id;
1: - unsigned char tag;
1: - struct hda_jack_callback *callback;
1: - unsigned int pin_sense;
1: - unsigned int jack_detect: 1;
1: - unsigned int jack_dirty: 1;
1: - unsigned int phantom_jack: 1;
1: - unsigned int block_report: 1;
1: - hda_nid_t gating_jack;
1: - hda_nid_t gated_jack;
1: - int type;
1: - int button_state;
1: - struct snd_jack *jack;
1: + hda_nid_t nid;
1: + int dev_id;
1: + unsigned char tag;
1: + struct hda_jack_callback *callback;
1: + unsigned int pin_sense;
1: + unsigned int jack_detect : 1;
1: + unsigned int jack_dirty : 1;
1: + unsigned int phantom_jack : 1;
1: + unsigned int block_report : 1;
1: + hda_nid_t gating_jack;
1: + hda_nid_t gated_jack;
1: + int type;
1: + int button_state;
1: + struct snd_jack *jack;
1: };
1:
1: struct hda_jack_keymap {
1: - enum snd_jack_types type;
1: - int key;
1: + enum snd_jack_types type;
1: + int key;
1: };
1:
1: enum {
1: - HDA_JACK_NOT_PRESENT = 0,
1: - HDA_JACK_PRESENT = 1,
1: - HDA_JACK_PHANTOM = 2,
1: + HDA_JACK_NOT_PRESENT = 0,
1: + HDA_JACK_PRESENT = 1,
1: + HDA_JACK_PHANTOM = 2,
1: };
1:
1: enum {
1: - AC_JACK_LOC_NONE = 0,
1: - AC_JACK_LOC_REAR = 1,
1: - AC_JACK_LOC_FRONT = 2,
1: - AC_JACK_LOC_LEFT = 3,
1: - AC_JACK_LOC_RIGHT = 4,
1: - AC_JACK_LOC_TOP = 5,
1: - AC_JACK_LOC_BOTTOM = 6,
1: + AC_JACK_LOC_NONE = 0,
1: + AC_JACK_LOC_REAR = 1,
1: + AC_JACK_LOC_FRONT = 2,
1: + AC_JACK_LOC_LEFT = 3,
1: + AC_JACK_LOC_RIGHT = 4,
1: + AC_JACK_LOC_TOP = 5,
1: + AC_JACK_LOC_BOTTOM = 6,
1: };
1:
1: enum {
1: - AC_JACK_LOC_EXTERNAL = 0,
1: - AC_JACK_LOC_INTERNAL = 16,
1: - AC_JACK_LOC_SEPARATE = 32,
1: - AC_JACK_LOC_OTHER = 48,
1: + AC_JACK_LOC_EXTERNAL = 0,
1: + AC_JACK_LOC_INTERNAL = 16,
1: + AC_JACK_LOC_SEPARATE = 32,
1: + AC_JACK_LOC_OTHER = 48,
1: };
1:
1: enum {
1: - AC_JACK_LOC_REAR_PANEL = 7,
1: - AC_JACK_LOC_DRIVE_BAY = 8,
1: - AC_JACK_LOC_RISER = 23,
1: - AC_JACK_LOC_HDMI = 24,
1: - AC_JACK_LOC_ATAPI = 25,
1: - AC_JACK_LOC_MOBILE_IN = 55,
1: - AC_JACK_LOC_MOBILE_OUT = 56,
1: + AC_JACK_LOC_REAR_PANEL = 7,
1: + AC_JACK_LOC_DRIVE_BAY = 8,
1: + AC_JACK_LOC_RISER = 23,
1: + AC_JACK_LOC_HDMI = 24,
1: + AC_JACK_LOC_ATAPI = 25,
1: + AC_JACK_LOC_MOBILE_IN = 55,
1: + AC_JACK_LOC_MOBILE_OUT = 56,
1: };
1:
1: struct hda_model_fixup {
1: - const int id;
1: - const char *name;
1: + const int id;
1: + const char *name;
1: };
1:
1: struct snd_hda_pin_quirk {
1: - unsigned int codec;
1: - short unsigned int subvendor;
1: - const struct hda_pintbl *pins;
1: - int value;
1: + unsigned int codec;
1: + short unsigned int subvendor;
1: + const struct hda_pintbl *pins;
1: + int value;
1: };
1:
1: enum {
1: - HDA_FIXUP_INVALID = 0,
1: - HDA_FIXUP_PINS = 1,
1: - HDA_FIXUP_VERBS = 2,
1: - HDA_FIXUP_FUNC = 3,
1: - HDA_FIXUP_PINCTLS = 4,
1: + HDA_FIXUP_INVALID = 0,
1: + HDA_FIXUP_PINS = 1,
1: + HDA_FIXUP_VERBS = 2,
1: + HDA_FIXUP_FUNC = 3,
1: + HDA_FIXUP_PINCTLS = 4,
1: };
1:
1: enum {
1: - HDA_FIXUP_ACT_PRE_PROBE = 0,
1: - HDA_FIXUP_ACT_PROBE = 1,
1: - HDA_FIXUP_ACT_INIT = 2,
1: - HDA_FIXUP_ACT_BUILD = 3,
1: - HDA_FIXUP_ACT_FREE = 4,
1: + HDA_FIXUP_ACT_PRE_PROBE = 0,
1: + HDA_FIXUP_ACT_PROBE = 1,
1: + HDA_FIXUP_ACT_INIT = 2,
1: + HDA_FIXUP_ACT_BUILD = 3,
1: + HDA_FIXUP_ACT_FREE = 4,
1: };
1:
1: enum {
1: - AUTO_PIN_MIC = 0,
1: - AUTO_PIN_LINE_IN = 1,
1: - AUTO_PIN_CD = 2,
1: - AUTO_PIN_AUX = 3,
1: - AUTO_PIN_LAST = 4,
1: + AUTO_PIN_MIC = 0,
1: + AUTO_PIN_LINE_IN = 1,
1: + AUTO_PIN_CD = 2,
1: + AUTO_PIN_AUX = 3,
1: + AUTO_PIN_LAST = 4,
1: };
1:
1: enum {
1: - INPUT_PIN_ATTR_UNUSED = 0,
1: - INPUT_PIN_ATTR_INT = 1,
1: - INPUT_PIN_ATTR_DOCK = 2,
1: - INPUT_PIN_ATTR_NORMAL = 3,
1: - INPUT_PIN_ATTR_REAR = 4,
1: - INPUT_PIN_ATTR_FRONT = 5,
1: - INPUT_PIN_ATTR_LAST = 5,
1: + INPUT_PIN_ATTR_UNUSED = 0,
1: + INPUT_PIN_ATTR_INT = 1,
1: + INPUT_PIN_ATTR_DOCK = 2,
1: + INPUT_PIN_ATTR_NORMAL = 3,
1: + INPUT_PIN_ATTR_REAR = 4,
1: + INPUT_PIN_ATTR_FRONT = 5,
1: + INPUT_PIN_ATTR_LAST = 5,
1: };
1:
1: struct auto_out_pin {
1: - hda_nid_t pin;
1: - short int seq;
1: + hda_nid_t pin;
1: + short int seq;
1: };
1:
1: struct hdac_stream {
1: - struct hdac_bus *bus;
1: - struct snd_dma_buffer bdl;
1: - __le32 *posbuf;
1: - int direction;
1: - unsigned int bufsize;
1: - unsigned int period_bytes;
1: - unsigned int frags;
1: - unsigned int fifo_size;
1: - void *sd_addr;
1: - u32 sd_int_sta_mask;
1: - struct snd_pcm_substream *substream;
1: - unsigned int format_val;
1: - unsigned char stream_tag;
1: - unsigned char index;
1: - int assigned_key;
1: - bool opened: 1;
1: - bool running: 1;
1: - bool prepared: 1;
1: - bool no_period_wakeup: 1;
1: - bool locked: 1;
1: - bool stripe: 1;
1: - long unsigned int start_wallclk;
1: - long unsigned int period_wallclk;
1: - struct timecounter tc;
1: - struct cyclecounter cc;
1: - int delay_negative_threshold;
1: - struct list_head list;
1: + struct hdac_bus *bus;
1: + struct snd_dma_buffer bdl;
1: + __le32 *posbuf;
1: + int direction;
1: + unsigned int bufsize;
1: + unsigned int period_bytes;
1: + unsigned int frags;
1: + unsigned int fifo_size;
1: + void *sd_addr;
1: + u32 sd_int_sta_mask;
1: + struct snd_pcm_substream *substream;
1: + unsigned int format_val;
1: + unsigned char stream_tag;
1: + unsigned char index;
1: + int assigned_key;
1: + bool opened : 1;
1: + bool running : 1;
1: + bool prepared : 1;
1: + bool no_period_wakeup : 1;
1: + bool locked : 1;
1: + bool stripe : 1;
1: + long unsigned int start_wallclk;
1: + long unsigned int period_wallclk;
1: + struct timecounter tc;
1: + struct cyclecounter cc;
1: + int delay_negative_threshold;
1: + struct list_head list;
1: };
1:
1: struct azx_dev {
1: - struct hdac_stream core;
1: - unsigned int irq_pending: 1;
1: - unsigned int insufficient: 1;
1: + struct hdac_stream core;
1: + unsigned int irq_pending : 1;
1: + unsigned int insufficient : 1;
1: };
1:
1: struct azx;
1:
1: struct hda_controller_ops {
1: - int (*disable_msi_reset_irq)(struct azx *);
1: - void (*pcm_mmap_prepare)(struct snd_pcm_substream *, struct vm_area_struct *);
1: - int (*position_check)(struct azx *, struct azx_dev *);
1: - int (*link_power)(struct azx *, bool);
1: + int (*disable_msi_reset_irq)(struct azx *);
1: + void (*pcm_mmap_prepare)(struct snd_pcm_substream *, struct vm_area_struct *);
1: + int (*position_check)(struct azx *, struct azx_dev *);
1: + int (*link_power)(struct azx *, bool);
1: };
1:
1: typedef unsigned int (*azx_get_pos_callback_t)(struct azx *, struct azx_dev *);
1:
1: -typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *, unsigned int);
1: +typedef int (*azx_get_delay_callback_t)(struct azx *, struct azx_dev *,
1: + unsigned int);
1:
1: struct azx {
1: - struct hda_bus bus;
1: - struct snd_card *card;
1: - struct pci_dev *pci;
1: - int dev_index;
1: - int driver_type;
1: - unsigned int driver_caps;
1: - int playback_streams;
1: - int playback_index_offset;
1: - int capture_streams;
1: - int capture_index_offset;
1: - int num_streams;
1: - int jackpoll_interval;
1: - const struct hda_controller_ops *ops;
1: - azx_get_pos_callback_t get_position[2];
1: - azx_get_delay_callback_t get_delay[2];
1: - struct mutex open_mutex;
1: - struct list_head pcm_list;
1: - int codec_probe_mask;
1: - unsigned int beep_mode;
1: - int bdl_pos_adj;
1: - unsigned int running: 1;
1: - unsigned int fallback_to_single_cmd: 1;
1: - unsigned int single_cmd: 1;
1: - unsigned int msi: 1;
1: - unsigned int probing: 1;
1: - unsigned int snoop: 1;
1: - unsigned int uc_buffer: 1;
1: - unsigned int align_buffer_size: 1;
1: - unsigned int region_requested: 1;
1: - unsigned int disabled: 1;
1: - unsigned int gts_present: 1;
1: + struct hda_bus bus;
1: + struct snd_card *card;
1: + struct pci_dev *pci;
1: + int dev_index;
1: + int driver_type;
1: + unsigned int driver_caps;
1: + int playback_streams;
1: + int playback_index_offset;
1: + int capture_streams;
1: + int capture_index_offset;
1: + int num_streams;
1: + int jackpoll_interval;
1: + const struct hda_controller_ops *ops;
1: + azx_get_pos_callback_t get_position[2];
1: + azx_get_delay_callback_t get_delay[2];
1: + struct mutex open_mutex;
1: + struct list_head pcm_list;
1: + int codec_probe_mask;
1: + unsigned int beep_mode;
1: + int bdl_pos_adj;
1: + unsigned int running : 1;
1: + unsigned int fallback_to_single_cmd : 1;
1: + unsigned int single_cmd : 1;
1: + unsigned int msi : 1;
1: + unsigned int probing : 1;
1: + unsigned int snoop : 1;
1: + unsigned int uc_buffer : 1;
1: + unsigned int align_buffer_size : 1;
1: + unsigned int region_requested : 1;
1: + unsigned int disabled : 1;
1: + unsigned int gts_present : 1;
1: };
1:
1: struct azx_pcm {
1: - struct azx *chip;
1: - struct snd_pcm *pcm;
1: - struct hda_codec *codec;
1: - struct hda_pcm *info;
1: - struct list_head list;
1: + struct azx *chip;
1: + struct snd_pcm *pcm;
1: + struct hda_codec *codec;
1: + struct hda_pcm *info;
1: + struct list_head list;
1: };
1:
1: struct trace_event_raw_azx_pcm_trigger {
1: - struct trace_entry ent;
1: - int card;
1: - int idx;
1: - int cmd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int card;
1: + int idx;
1: + int cmd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_azx_get_position {
1: - struct trace_entry ent;
1: - int card;
1: - int idx;
1: - unsigned int pos;
1: - unsigned int delay;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int card;
1: + int idx;
1: + unsigned int pos;
1: + unsigned int delay;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_azx_pcm {
1: - struct trace_entry ent;
1: - unsigned char stream_tag;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned char stream_tag;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_azx_pcm_trigger {};
1: @@ -98622,225 +99327,230 @@ struct trace_event_data_offsets_azx_get_position {};
1: struct trace_event_data_offsets_azx_pcm {};
1:
1: enum {
1: - SNDRV_HWDEP_IFACE_OPL2 = 0,
1: - SNDRV_HWDEP_IFACE_OPL3 = 1,
1: - SNDRV_HWDEP_IFACE_OPL4 = 2,
1: - SNDRV_HWDEP_IFACE_SB16CSP = 3,
1: - SNDRV_HWDEP_IFACE_EMU10K1 = 4,
1: - SNDRV_HWDEP_IFACE_YSS225 = 5,
1: - SNDRV_HWDEP_IFACE_ICS2115 = 6,
1: - SNDRV_HWDEP_IFACE_SSCAPE = 7,
1: - SNDRV_HWDEP_IFACE_VX = 8,
1: - SNDRV_HWDEP_IFACE_MIXART = 9,
1: - SNDRV_HWDEP_IFACE_USX2Y = 10,
1: - SNDRV_HWDEP_IFACE_EMUX_WAVETABLE = 11,
1: - SNDRV_HWDEP_IFACE_BLUETOOTH = 12,
1: - SNDRV_HWDEP_IFACE_USX2Y_PCM = 13,
1: - SNDRV_HWDEP_IFACE_PCXHR = 14,
1: - SNDRV_HWDEP_IFACE_SB_RC = 15,
1: - SNDRV_HWDEP_IFACE_HDA = 16,
1: - SNDRV_HWDEP_IFACE_USB_STREAM = 17,
1: - SNDRV_HWDEP_IFACE_FW_DICE = 18,
1: - SNDRV_HWDEP_IFACE_FW_FIREWORKS = 19,
1: - SNDRV_HWDEP_IFACE_FW_BEBOB = 20,
1: - SNDRV_HWDEP_IFACE_FW_OXFW = 21,
1: - SNDRV_HWDEP_IFACE_FW_DIGI00X = 22,
1: - SNDRV_HWDEP_IFACE_FW_TASCAM = 23,
1: - SNDRV_HWDEP_IFACE_LINE6 = 24,
1: - SNDRV_HWDEP_IFACE_FW_MOTU = 25,
1: - SNDRV_HWDEP_IFACE_FW_FIREFACE = 26,
1: - SNDRV_HWDEP_IFACE_LAST = 26,
1: + SNDRV_HWDEP_IFACE_OPL2 = 0,
1: + SNDRV_HWDEP_IFACE_OPL3 = 1,
1: + SNDRV_HWDEP_IFACE_OPL4 = 2,
1: + SNDRV_HWDEP_IFACE_SB16CSP = 3,
1: + SNDRV_HWDEP_IFACE_EMU10K1 = 4,
1: + SNDRV_HWDEP_IFACE_YSS225 = 5,
1: + SNDRV_HWDEP_IFACE_ICS2115 = 6,
1: + SNDRV_HWDEP_IFACE_SSCAPE = 7,
1: + SNDRV_HWDEP_IFACE_VX = 8,
1: + SNDRV_HWDEP_IFACE_MIXART = 9,
1: + SNDRV_HWDEP_IFACE_USX2Y = 10,
1: + SNDRV_HWDEP_IFACE_EMUX_WAVETABLE = 11,
1: + SNDRV_HWDEP_IFACE_BLUETOOTH = 12,
1: + SNDRV_HWDEP_IFACE_USX2Y_PCM = 13,
1: + SNDRV_HWDEP_IFACE_PCXHR = 14,
1: + SNDRV_HWDEP_IFACE_SB_RC = 15,
1: + SNDRV_HWDEP_IFACE_HDA = 16,
1: + SNDRV_HWDEP_IFACE_USB_STREAM = 17,
1: + SNDRV_HWDEP_IFACE_FW_DICE = 18,
1: + SNDRV_HWDEP_IFACE_FW_FIREWORKS = 19,
1: + SNDRV_HWDEP_IFACE_FW_BEBOB = 20,
1: + SNDRV_HWDEP_IFACE_FW_OXFW = 21,
1: + SNDRV_HWDEP_IFACE_FW_DIGI00X = 22,
1: + SNDRV_HWDEP_IFACE_FW_TASCAM = 23,
1: + SNDRV_HWDEP_IFACE_LINE6 = 24,
1: + SNDRV_HWDEP_IFACE_FW_MOTU = 25,
1: + SNDRV_HWDEP_IFACE_FW_FIREFACE = 26,
1: + SNDRV_HWDEP_IFACE_LAST = 26,
1: };
1:
1: struct hda_verb_ioctl {
1: - u32 verb;
1: - u32 res;
1: + u32 verb;
1: + u32 res;
1: };
1:
1: enum {
1: - SND_INTEL_DSP_DRIVER_ANY = 0,
1: - SND_INTEL_DSP_DRIVER_LEGACY = 1,
1: - SND_INTEL_DSP_DRIVER_SST = 2,
1: - SND_INTEL_DSP_DRIVER_SOF = 3,
1: - SND_INTEL_DSP_DRIVER_LAST = 3,
1: + SND_INTEL_DSP_DRIVER_ANY = 0,
1: + SND_INTEL_DSP_DRIVER_LEGACY = 1,
1: + SND_INTEL_DSP_DRIVER_SST = 2,
1: + SND_INTEL_DSP_DRIVER_SOF = 3,
1: + SND_INTEL_DSP_DRIVER_LAST = 3,
1: };
1:
1: enum {
1: - AZX_SNOOP_TYPE_NONE = 0,
1: - AZX_SNOOP_TYPE_SCH = 1,
1: - AZX_SNOOP_TYPE_ATI = 2,
1: - AZX_SNOOP_TYPE_NVIDIA = 3,
1: + AZX_SNOOP_TYPE_NONE = 0,
1: + AZX_SNOOP_TYPE_SCH = 1,
1: + AZX_SNOOP_TYPE_ATI = 2,
1: + AZX_SNOOP_TYPE_NVIDIA = 3,
1: };
1:
1: struct hda_intel {
1: - struct azx chip;
1: - struct work_struct irq_pending_work;
1: - struct completion probe_wait;
1: - struct work_struct probe_work;
1: - struct list_head list;
1: - unsigned int irq_pending_warned: 1;
1: - unsigned int probe_continued: 1;
1: - unsigned int use_vga_switcheroo: 1;
1: - unsigned int vga_switcheroo_registered: 1;
1: - unsigned int init_failed: 1;
1: - bool need_i915_power: 1;
1: + struct azx chip;
1: + struct work_struct irq_pending_work;
1: + struct completion probe_wait;
1: + struct work_struct probe_work;
1: + struct list_head list;
1: + unsigned int irq_pending_warned : 1;
1: + unsigned int probe_continued : 1;
1: + unsigned int use_vga_switcheroo : 1;
1: + unsigned int vga_switcheroo_registered : 1;
1: + unsigned int init_failed : 1;
1: + bool need_i915_power : 1;
1: };
1:
1: struct trace_event_raw_hda_pm {
1: - struct trace_entry ent;
1: - int dev_index;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int dev_index;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_hda_pm {};
1:
1: enum {
1: - POS_FIX_AUTO = 0,
1: - POS_FIX_LPIB = 1,
1: - POS_FIX_POSBUF = 2,
1: - POS_FIX_VIACOMBO = 3,
1: - POS_FIX_COMBO = 4,
1: - POS_FIX_SKL = 5,
1: - POS_FIX_FIFO = 6,
1: + POS_FIX_AUTO = 0,
1: + POS_FIX_LPIB = 1,
1: + POS_FIX_POSBUF = 2,
1: + POS_FIX_VIACOMBO = 3,
1: + POS_FIX_COMBO = 4,
1: + POS_FIX_SKL = 5,
1: + POS_FIX_FIFO = 6,
1: };
1:
1: enum {
1: - AZX_DRIVER_ICH = 0,
1: - AZX_DRIVER_PCH = 1,
1: - AZX_DRIVER_SCH = 2,
1: - AZX_DRIVER_SKL = 3,
1: - AZX_DRIVER_HDMI = 4,
1: - AZX_DRIVER_ATI = 5,
1: - AZX_DRIVER_ATIHDMI = 6,
1: - AZX_DRIVER_ATIHDMI_NS = 7,
1: - AZX_DRIVER_VIA = 8,
1: - AZX_DRIVER_SIS = 9,
1: - AZX_DRIVER_ULI = 10,
1: - AZX_DRIVER_NVIDIA = 11,
1: - AZX_DRIVER_TERA = 12,
1: - AZX_DRIVER_CTX = 13,
1: - AZX_DRIVER_CTHDA = 14,
1: - AZX_DRIVER_CMEDIA = 15,
1: - AZX_DRIVER_ZHAOXIN = 16,
1: - AZX_DRIVER_GENERIC = 17,
1: - AZX_NUM_DRIVERS = 18,
1: + AZX_DRIVER_ICH = 0,
1: + AZX_DRIVER_PCH = 1,
1: + AZX_DRIVER_SCH = 2,
1: + AZX_DRIVER_SKL = 3,
1: + AZX_DRIVER_HDMI = 4,
1: + AZX_DRIVER_ATI = 5,
1: + AZX_DRIVER_ATIHDMI = 6,
1: + AZX_DRIVER_ATIHDMI_NS = 7,
1: + AZX_DRIVER_VIA = 8,
1: + AZX_DRIVER_SIS = 9,
1: + AZX_DRIVER_ULI = 10,
1: + AZX_DRIVER_NVIDIA = 11,
1: + AZX_DRIVER_TERA = 12,
1: + AZX_DRIVER_CTX = 13,
1: + AZX_DRIVER_CTHDA = 14,
1: + AZX_DRIVER_CMEDIA = 15,
1: + AZX_DRIVER_ZHAOXIN = 16,
1: + AZX_DRIVER_GENERIC = 17,
1: + AZX_NUM_DRIVERS = 18,
1: };
1:
1: enum {
1: - AC_GRP_AUDIO_FUNCTION = 1,
1: - AC_GRP_MODEM_FUNCTION = 2,
1: + AC_GRP_AUDIO_FUNCTION = 1,
1: + AC_GRP_MODEM_FUNCTION = 2,
1: };
1:
1: struct hda_vendor_id {
1: - unsigned int id;
1: - const char *name;
1: + unsigned int id;
1: + const char *name;
1: };
1:
1: struct hda_rate_tbl {
1: - unsigned int hz;
1: - unsigned int alsa_bits;
1: - unsigned int hda_fmt;
1: + unsigned int hz;
1: + unsigned int alsa_bits;
1: + unsigned int hda_fmt;
1: };
1:
1: struct hdac_widget_tree {
1: - struct kobject *root;
1: - struct kobject *afg;
1: - struct kobject **nodes;
1: + struct kobject *root;
1: + struct kobject *afg;
1: + struct kobject **nodes;
1: };
1:
1: struct widget_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct hdac_device *, hda_nid_t, struct widget_attribute *, char *);
1: - ssize_t (*store)(struct hdac_device *, hda_nid_t, struct widget_attribute *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct hdac_device *, hda_nid_t, struct widget_attribute *,
1: + char *);
1: + ssize_t (*store)(struct hdac_device *, hda_nid_t, struct widget_attribute *,
1: + const char *, size_t);
1: };
1:
1: struct hdac_cea_channel_speaker_allocation {
1: - int ca_index;
1: - int speakers[8];
1: - int channels;
1: - int spk_mask;
1: + int ca_index;
1: + int speakers[8];
1: + int channels;
1: + int spk_mask;
1: };
1:
1: struct hdac_chmap;
1:
1: struct hdac_chmap_ops {
1: - int (*chmap_cea_alloc_validate_get_type)(struct hdac_chmap *, struct hdac_cea_channel_speaker_allocation *, int);
1: - void (*cea_alloc_to_tlv_chmap)(struct hdac_chmap *, struct hdac_cea_channel_speaker_allocation *, unsigned int *, int);
1: - int (*chmap_validate)(struct hdac_chmap *, int, int, unsigned char *);
1: - int (*get_spk_alloc)(struct hdac_device *, int);
1: - void (*get_chmap)(struct hdac_device *, int, unsigned char *);
1: - void (*set_chmap)(struct hdac_device *, int, unsigned char *, int);
1: - bool (*is_pcm_attached)(struct hdac_device *, int);
1: - int (*pin_get_slot_channel)(struct hdac_device *, hda_nid_t, int);
1: - int (*pin_set_slot_channel)(struct hdac_device *, hda_nid_t, int, int);
1: - void (*set_channel_count)(struct hdac_device *, hda_nid_t, int);
1: + int (*chmap_cea_alloc_validate_get_type)(
1: + struct hdac_chmap *, struct hdac_cea_channel_speaker_allocation *, int);
1: + void (*cea_alloc_to_tlv_chmap)(struct hdac_chmap *,
1: + struct hdac_cea_channel_speaker_allocation *,
1: + unsigned int *, int);
1: + int (*chmap_validate)(struct hdac_chmap *, int, int, unsigned char *);
1: + int (*get_spk_alloc)(struct hdac_device *, int);
1: + void (*get_chmap)(struct hdac_device *, int, unsigned char *);
1: + void (*set_chmap)(struct hdac_device *, int, unsigned char *, int);
1: + bool (*is_pcm_attached)(struct hdac_device *, int);
1: + int (*pin_get_slot_channel)(struct hdac_device *, hda_nid_t, int);
1: + int (*pin_set_slot_channel)(struct hdac_device *, hda_nid_t, int, int);
1: + void (*set_channel_count)(struct hdac_device *, hda_nid_t, int);
1: };
1:
1: struct hdac_chmap {
1: - unsigned int channels_max;
1: - struct hdac_chmap_ops ops;
1: - struct hdac_device *hdac;
1: + unsigned int channels_max;
1: + struct hdac_chmap_ops ops;
1: + struct hdac_device *hdac;
1: };
1:
1: enum cea_speaker_placement {
1: - FL = 1,
1: - FC = 2,
1: - FR = 4,
1: - FLC = 8,
1: - FRC = 16,
1: - RL = 32,
1: - RC = 64,
1: - RR = 128,
1: - RLC = 256,
1: - RRC = 512,
1: - LFE = 1024,
1: - FLW = 2048,
1: - FRW = 4096,
1: - FLH = 8192,
1: - FCH = 16384,
1: - FRH = 32768,
1: - TC = 65536,
1: + FL = 1,
1: + FC = 2,
1: + FR = 4,
1: + FLC = 8,
1: + FRC = 16,
1: + RL = 32,
1: + RC = 64,
1: + RR = 128,
1: + RLC = 256,
1: + RRC = 512,
1: + LFE = 1024,
1: + FLW = 2048,
1: + FRW = 4096,
1: + FLH = 8192,
1: + FCH = 16384,
1: + FRH = 32768,
1: + TC = 65536,
1: };
1:
1: struct channel_map_table {
1: - unsigned char map;
1: - int spk_mask;
1: + unsigned char map;
1: + int spk_mask;
1: };
1:
1: struct trace_event_raw_hda_send_cmd {
1: - struct trace_entry ent;
1: - u32 __data_loc_msg;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_hda_get_response {
1: - struct trace_entry ent;
1: - u32 __data_loc_msg;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_hda_unsol_event {
1: - struct trace_entry ent;
1: - u32 __data_loc_msg;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_hdac_stream {
1: - struct trace_entry ent;
1: - unsigned char stream_tag;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned char stream_tag;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_hda_send_cmd {
1: - u32 msg;
1: + u32 msg;
1: };
1:
1: struct trace_event_data_offsets_hda_get_response {
1: - u32 msg;
1: + u32 msg;
1: };
1:
1: struct trace_event_data_offsets_hda_unsol_event {
1: - u32 msg;
1: + u32 msg;
1: };
1:
1: struct trace_event_data_offsets_hdac_stream {};
1: @@ -98848,558 +99558,558 @@ struct trace_event_data_offsets_hdac_stream {};
1: struct component_match___2;
1:
1: struct nhlt_specific_cfg {
1: - u32 size;
1: - u8 caps[0];
1: + u32 size;
1: + u8 caps[0];
1: };
1:
1: struct nhlt_endpoint {
1: - u32 length;
1: - u8 linktype;
1: - u8 instance_id;
1: - u16 vendor_id;
1: - u16 device_id;
1: - u16 revision_id;
1: - u32 subsystem_id;
1: - u8 device_type;
1: - u8 direction;
1: - u8 virtual_bus_id;
1: - struct nhlt_specific_cfg config;
1: + u32 length;
1: + u8 linktype;
1: + u8 instance_id;
1: + u16 vendor_id;
1: + u16 device_id;
1: + u16 revision_id;
1: + u32 subsystem_id;
1: + u8 device_type;
1: + u8 direction;
1: + u8 virtual_bus_id;
1: + struct nhlt_specific_cfg config;
1: } __attribute__((packed));
1:
1: struct nhlt_acpi_table {
1: - struct acpi_table_header header;
1: - u8 endpoint_count;
1: - struct nhlt_endpoint desc[0];
1: + struct acpi_table_header header;
1: + u8 endpoint_count;
1: + struct nhlt_endpoint desc[0];
1: } __attribute__((packed));
1:
1: struct config_entry {
1: - u32 flags;
1: - u16 device;
1: - const struct dmi_system_id *dmi_table;
1: + u32 flags;
1: + u16 device;
1: + const struct dmi_system_id *dmi_table;
1: };
1:
1: enum nhlt_link_type {
1: - NHLT_LINK_HDA = 0,
1: - NHLT_LINK_DSP = 1,
1: - NHLT_LINK_DMIC = 2,
1: - NHLT_LINK_SSP = 3,
1: - NHLT_LINK_INVALID = 4,
1: + NHLT_LINK_HDA = 0,
1: + NHLT_LINK_DSP = 1,
1: + NHLT_LINK_DMIC = 2,
1: + NHLT_LINK_SSP = 3,
1: + NHLT_LINK_INVALID = 4,
1: };
1:
1: struct nhlt_resource_desc {
1: - u32 extra;
1: - u16 flags;
1: - u64 addr_spc_gra;
1: - u64 min_addr;
1: - u64 max_addr;
1: - u64 addr_trans_offset;
1: - u64 length;
1: + u32 extra;
1: + u16 flags;
1: + u64 addr_spc_gra;
1: + u64 min_addr;
1: + u64 max_addr;
1: + u64 addr_trans_offset;
1: + u64 length;
1: } __attribute__((packed));
1:
1: struct nhlt_device_specific_config {
1: - u8 virtual_slot;
1: - u8 config_type;
1: + u8 virtual_slot;
1: + u8 config_type;
1: };
1:
1: struct nhlt_dmic_array_config {
1: - struct nhlt_device_specific_config device_config;
1: - u8 array_type;
1: + struct nhlt_device_specific_config device_config;
1: + u8 array_type;
1: };
1:
1: struct nhlt_vendor_dmic_array_config {
1: - struct nhlt_dmic_array_config dmic_config;
1: - u8 nb_mics;
1: + struct nhlt_dmic_array_config dmic_config;
1: + u8 nb_mics;
1: };
1:
1: enum {
1: - NHLT_MIC_ARRAY_2CH_SMALL = 10,
1: - NHLT_MIC_ARRAY_2CH_BIG = 11,
1: - NHLT_MIC_ARRAY_4CH_1ST_GEOM = 12,
1: - NHLT_MIC_ARRAY_4CH_L_SHAPED = 13,
1: - NHLT_MIC_ARRAY_4CH_2ND_GEOM = 14,
1: - NHLT_MIC_ARRAY_VENDOR_DEFINED = 15,
1: + NHLT_MIC_ARRAY_2CH_SMALL = 10,
1: + NHLT_MIC_ARRAY_2CH_BIG = 11,
1: + NHLT_MIC_ARRAY_4CH_1ST_GEOM = 12,
1: + NHLT_MIC_ARRAY_4CH_L_SHAPED = 13,
1: + NHLT_MIC_ARRAY_4CH_2ND_GEOM = 14,
1: + NHLT_MIC_ARRAY_VENDOR_DEFINED = 15,
1: };
1:
1: struct pcibios_fwaddrmap {
1: - struct list_head list;
1: - struct pci_dev *dev;
1: - resource_size_t fw_addr[11];
1: + struct list_head list;
1: + struct pci_dev *dev;
1: + resource_size_t fw_addr[11];
1: };
1:
1: struct pci_check_idx_range {
1: - int start;
1: - int end;
1: + int start;
1: + int end;
1: };
1:
1: struct pci_raw_ops {
1: - int (*read)(unsigned int, unsigned int, unsigned int, int, int, u32 *);
1: - int (*write)(unsigned int, unsigned int, unsigned int, int, int, u32);
1: + int (*read)(unsigned int, unsigned int, unsigned int, int, int, u32 *);
1: + int (*write)(unsigned int, unsigned int, unsigned int, int, int, u32);
1: };
1:
1: struct pci_mmcfg_region {
1: - struct list_head list;
1: - struct resource res;
1: - u64 address;
1: - char *virt;
1: - u16 segment;
1: - u8 start_bus;
1: - u8 end_bus;
1: - char name[30];
1: + struct list_head list;
1: + struct resource res;
1: + u64 address;
1: + char *virt;
1: + u16 segment;
1: + u8 start_bus;
1: + u8 end_bus;
1: + char name[30];
1: };
1:
1: struct acpi_table_mcfg {
1: - struct acpi_table_header header;
1: - u8 reserved[8];
1: + struct acpi_table_header header;
1: + u8 reserved[8];
1: };
1:
1: struct acpi_mcfg_allocation {
1: - u64 address;
1: - u16 pci_segment;
1: - u8 start_bus_number;
1: - u8 end_bus_number;
1: - u32 reserved;
1: + u64 address;
1: + u16 pci_segment;
1: + u8 start_bus_number;
1: + u8 end_bus_number;
1: + u32 reserved;
1: };
1:
1: struct pci_mmcfg_hostbridge_probe {
1: - u32 bus;
1: - u32 devfn;
1: - u32 vendor;
1: - u32 device;
1: - const char * (*probe)();
1: + u32 bus;
1: + u32 devfn;
1: + u32 vendor;
1: + u32 device;
1: + const char *(*probe)();
1: };
1:
1: typedef bool (*check_reserved_t)(u64, u64, unsigned int);
1:
1: struct pci_root_info {
1: - struct acpi_pci_root_info common;
1: - struct pci_sysdata sd;
1: - bool mcfg_added;
1: - u8 start_bus;
1: - u8 end_bus;
1: + struct acpi_pci_root_info common;
1: + struct pci_sysdata sd;
1: + bool mcfg_added;
1: + u8 start_bus;
1: + u8 end_bus;
1: };
1:
1: struct irq_info___2 {
1: - u8 bus;
1: - u8 devfn;
1: - struct {
1: - u8 link;
1: - u16 bitmap;
1: - } __attribute__((packed)) irq[4];
1: - u8 slot;
1: - u8 rfu;
1: + u8 bus;
1: + u8 devfn;
1: + struct {
1: + u8 link;
1: + u16 bitmap;
1: + } __attribute__((packed)) irq[4];
1: + u8 slot;
1: + u8 rfu;
1: };
1:
1: struct irq_routing_table {
1: - u32 signature;
1: - u16 version;
1: - u16 size;
1: - u8 rtr_bus;
1: - u8 rtr_devfn;
1: - u16 exclusive_irqs;
1: - u16 rtr_vendor;
1: - u16 rtr_device;
1: - u32 miniport_data;
1: - u8 rfu[11];
1: - u8 checksum;
1: - struct irq_info___2 slots[0];
1: + u32 signature;
1: + u16 version;
1: + u16 size;
1: + u8 rtr_bus;
1: + u8 rtr_devfn;
1: + u16 exclusive_irqs;
1: + u16 rtr_vendor;
1: + u16 rtr_device;
1: + u32 miniport_data;
1: + u8 rfu[11];
1: + u8 checksum;
1: + struct irq_info___2 slots[0];
1: };
1:
1: struct irq_router {
1: - char *name;
1: - u16 vendor;
1: - u16 device;
1: - int (*get)(struct pci_dev *, struct pci_dev *, int);
1: - int (*set)(struct pci_dev *, struct pci_dev *, int, int);
1: + char *name;
1: + u16 vendor;
1: + u16 device;
1: + int (*get)(struct pci_dev *, struct pci_dev *, int);
1: + int (*set)(struct pci_dev *, struct pci_dev *, int, int);
1: };
1:
1: struct irq_router_handler {
1: - u16 vendor;
1: - int (*probe)(struct irq_router *, struct pci_dev *, u16);
1: + u16 vendor;
1: + int (*probe)(struct irq_router *, struct pci_dev *, u16);
1: };
1:
1: struct pci_setup_rom {
1: - struct setup_data data;
1: - uint16_t vendor;
1: - uint16_t devid;
1: - uint64_t pcilen;
1: - long unsigned int segment;
1: - long unsigned int bus;
1: - long unsigned int device;
1: - long unsigned int function;
1: - uint8_t romdata[0];
1: + struct setup_data data;
1: + uint16_t vendor;
1: + uint16_t devid;
1: + uint64_t pcilen;
1: + long unsigned int segment;
1: + long unsigned int bus;
1: + long unsigned int device;
1: + long unsigned int function;
1: + uint8_t romdata[0];
1: };
1:
1: enum pci_bf_sort_state {
1: - pci_bf_sort_default = 0,
1: - pci_force_nobf = 1,
1: - pci_force_bf = 2,
1: - pci_dmi_bf = 3,
1: + pci_bf_sort_default = 0,
1: + pci_force_nobf = 1,
1: + pci_force_bf = 2,
1: + pci_dmi_bf = 3,
1: };
1:
1: struct pci_root_res {
1: - struct list_head list;
1: - struct resource res;
1: + struct list_head list;
1: + struct resource res;
1: };
1:
1: struct pci_root_info___2 {
1: - struct list_head list;
1: - char name[12];
1: - struct list_head resources;
1: - struct resource busn;
1: - int node;
1: - int link;
1: + struct list_head list;
1: + char name[12];
1: + struct list_head resources;
1: + struct resource busn;
1: + int node;
1: + int link;
1: };
1:
1: struct amd_hostbridge {
1: - u32 bus;
1: - u32 slot;
1: - u32 device;
1: + u32 bus;
1: + u32 slot;
1: + u32 device;
1: };
1:
1: struct saved_msr {
1: - bool valid;
1: - struct msr_info info;
1: + bool valid;
1: + struct msr_info info;
1: };
1:
1: struct saved_msrs {
1: - unsigned int num;
1: - struct saved_msr *array;
1: + unsigned int num;
1: + struct saved_msr *array;
1: };
1:
1: struct saved_context {
1: - struct pt_regs regs;
1: - u16 ds;
1: - u16 es;
1: - u16 fs;
1: - u16 gs;
1: - long unsigned int kernelmode_gs_base;
1: - long unsigned int usermode_gs_base;
1: - long unsigned int fs_base;
1: - long unsigned int cr0;
1: - long unsigned int cr2;
1: - long unsigned int cr3;
1: - long unsigned int cr4;
1: - u64 misc_enable;
1: - bool misc_enable_saved;
1: - struct saved_msrs saved_msrs;
1: - long unsigned int efer;
1: - u16 gdt_pad;
1: - struct desc_ptr gdt_desc;
1: - u16 idt_pad;
1: - struct desc_ptr idt;
1: - u16 ldt;
1: - u16 tss;
1: - long unsigned int tr;
1: - long unsigned int safety;
1: - long unsigned int return_address;
1: + struct pt_regs regs;
1: + u16 ds;
1: + u16 es;
1: + u16 fs;
1: + u16 gs;
1: + long unsigned int kernelmode_gs_base;
1: + long unsigned int usermode_gs_base;
1: + long unsigned int fs_base;
1: + long unsigned int cr0;
1: + long unsigned int cr2;
1: + long unsigned int cr3;
1: + long unsigned int cr4;
1: + u64 misc_enable;
1: + bool misc_enable_saved;
1: + struct saved_msrs saved_msrs;
1: + long unsigned int efer;
1: + u16 gdt_pad;
1: + struct desc_ptr gdt_desc;
1: + u16 idt_pad;
1: + struct desc_ptr idt;
1: + u16 ldt;
1: + u16 tss;
1: + long unsigned int tr;
1: + long unsigned int safety;
1: + long unsigned int return_address;
1: } __attribute__((packed));
1:
1: typedef int (*pm_cpu_match_t)(const struct x86_cpu_id *);
1:
1: struct restore_data_record {
1: - long unsigned int jump_address;
1: - long unsigned int jump_address_phys;
1: - long unsigned int cr3;
1: - long unsigned int magic;
1: - u8 e820_digest[16];
1: + long unsigned int jump_address;
1: + long unsigned int jump_address_phys;
1: + long unsigned int cr3;
1: + long unsigned int magic;
1: + u8 e820_digest[16];
1: };
1:
1: struct __kernel_old_timespec {
1: - __kernel_old_time_t tv_sec;
1: - long int tv_nsec;
1: + __kernel_old_time_t tv_sec;
1: + long int tv_nsec;
1: };
1:
1: struct __kernel_sock_timeval {
1: - __s64 tv_sec;
1: - __s64 tv_usec;
1: + __s64 tv_sec;
1: + __s64 tv_usec;
1: };
1:
1: struct mmsghdr {
1: - struct user_msghdr msg_hdr;
1: - unsigned int msg_len;
1: + struct user_msghdr msg_hdr;
1: + unsigned int msg_len;
1: };
1:
1: struct scm_timestamping_internal {
1: - struct timespec64 ts[3];
1: + struct timespec64 ts[3];
1: };
1:
1: enum sock_shutdown_cmd {
1: - SHUT_RD = 0,
1: - SHUT_WR = 1,
1: - SHUT_RDWR = 2,
1: + SHUT_RD = 0,
1: + SHUT_WR = 1,
1: + SHUT_RDWR = 2,
1: };
1:
1: struct net_proto_family {
1: - int family;
1: - int (*create)(struct net *, struct socket *, int, int);
1: - struct module *owner;
1: + int family;
1: + int (*create)(struct net *, struct socket *, int, int);
1: + struct module *owner;
1: };
1:
1: enum {
1: - SOCK_WAKE_IO = 0,
1: - SOCK_WAKE_WAITD = 1,
1: - SOCK_WAKE_SPACE = 2,
1: - SOCK_WAKE_URG = 3,
1: + SOCK_WAKE_IO = 0,
1: + SOCK_WAKE_WAITD = 1,
1: + SOCK_WAKE_SPACE = 2,
1: + SOCK_WAKE_URG = 3,
1: };
1:
1: struct ifconf {
1: - int ifc_len;
1: - union {
1: - char *ifcu_buf;
1: - struct ifreq *ifcu_req;
1: - } ifc_ifcu;
1: + int ifc_len;
1: + union {
1: + char *ifcu_buf;
1: + struct ifreq *ifcu_req;
1: + } ifc_ifcu;
1: };
1:
1: struct compat_ifmap {
1: - compat_ulong_t mem_start;
1: - compat_ulong_t mem_end;
1: - short unsigned int base_addr;
1: - unsigned char irq;
1: - unsigned char dma;
1: - unsigned char port;
1: + compat_ulong_t mem_start;
1: + compat_ulong_t mem_end;
1: + short unsigned int base_addr;
1: + unsigned char irq;
1: + unsigned char dma;
1: + unsigned char port;
1: };
1:
1: struct compat_if_settings {
1: - unsigned int type;
1: - unsigned int size;
1: - compat_uptr_t ifs_ifsu;
1: + unsigned int type;
1: + unsigned int size;
1: + compat_uptr_t ifs_ifsu;
1: };
1:
1: struct compat_ifreq {
1: - union {
1: - char ifrn_name[16];
1: - } ifr_ifrn;
1: - union {
1: - struct sockaddr ifru_addr;
1: - struct sockaddr ifru_dstaddr;
1: - struct sockaddr ifru_broadaddr;
1: - struct sockaddr ifru_netmask;
1: - struct sockaddr ifru_hwaddr;
1: - short int ifru_flags;
1: - compat_int_t ifru_ivalue;
1: - compat_int_t ifru_mtu;
1: - struct compat_ifmap ifru_map;
1: - char ifru_slave[16];
1: - char ifru_newname[16];
1: - compat_caddr_t ifru_data;
1: - struct compat_if_settings ifru_settings;
1: - } ifr_ifru;
1: + union {
1: + char ifrn_name[16];
1: + } ifr_ifrn;
1: + union {
1: + struct sockaddr ifru_addr;
1: + struct sockaddr ifru_dstaddr;
1: + struct sockaddr ifru_broadaddr;
1: + struct sockaddr ifru_netmask;
1: + struct sockaddr ifru_hwaddr;
1: + short int ifru_flags;
1: + compat_int_t ifru_ivalue;
1: + compat_int_t ifru_mtu;
1: + struct compat_ifmap ifru_map;
1: + char ifru_slave[16];
1: + char ifru_newname[16];
1: + compat_caddr_t ifru_data;
1: + struct compat_if_settings ifru_settings;
1: + } ifr_ifru;
1: };
1:
1: struct compat_ifconf {
1: - compat_int_t ifc_len;
1: - compat_caddr_t ifcbuf;
1: + compat_int_t ifc_len;
1: + compat_caddr_t ifcbuf;
1: };
1:
1: struct compat_ethtool_rx_flow_spec {
1: - u32 flow_type;
1: - union ethtool_flow_union h_u;
1: - struct ethtool_flow_ext h_ext;
1: - union ethtool_flow_union m_u;
1: - struct ethtool_flow_ext m_ext;
1: - compat_u64 ring_cookie;
1: - u32 location;
1: + u32 flow_type;
1: + union ethtool_flow_union h_u;
1: + struct ethtool_flow_ext h_ext;
1: + union ethtool_flow_union m_u;
1: + struct ethtool_flow_ext m_ext;
1: + compat_u64 ring_cookie;
1: + u32 location;
1: } __attribute__((packed));
1:
1: struct compat_ethtool_rxnfc {
1: - u32 cmd;
1: - u32 flow_type;
1: - compat_u64 data;
1: - struct compat_ethtool_rx_flow_spec fs;
1: - u32 rule_cnt;
1: - u32 rule_locs[0];
1: + u32 cmd;
1: + u32 flow_type;
1: + compat_u64 data;
1: + struct compat_ethtool_rx_flow_spec fs;
1: + u32 rule_cnt;
1: + u32 rule_locs[0];
1: } __attribute__((packed));
1:
1: struct compat_msghdr {
1: - compat_uptr_t msg_name;
1: - compat_int_t msg_namelen;
1: - compat_uptr_t msg_iov;
1: - compat_size_t msg_iovlen;
1: - compat_uptr_t msg_control;
1: - compat_size_t msg_controllen;
1: - compat_uint_t msg_flags;
1: + compat_uptr_t msg_name;
1: + compat_int_t msg_namelen;
1: + compat_uptr_t msg_iov;
1: + compat_size_t msg_iovlen;
1: + compat_uptr_t msg_control;
1: + compat_size_t msg_controllen;
1: + compat_uint_t msg_flags;
1: };
1:
1: struct compat_mmsghdr {
1: - struct compat_msghdr msg_hdr;
1: - compat_uint_t msg_len;
1: + struct compat_msghdr msg_hdr;
1: + compat_uint_t msg_len;
1: };
1:
1: struct scm_ts_pktinfo {
1: - __u32 if_index;
1: - __u32 pkt_length;
1: - __u32 reserved[2];
1: + __u32 if_index;
1: + __u32 pkt_length;
1: + __u32 reserved[2];
1: };
1:
1: enum sock_flags {
1: - SOCK_DEAD = 0,
1: - SOCK_DONE = 1,
1: - SOCK_URGINLINE = 2,
1: - SOCK_KEEPOPEN = 3,
1: - SOCK_LINGER = 4,
1: - SOCK_DESTROY = 5,
1: - SOCK_BROADCAST = 6,
1: - SOCK_TIMESTAMP = 7,
1: - SOCK_ZAPPED = 8,
1: - SOCK_USE_WRITE_QUEUE = 9,
1: - SOCK_DBG = 10,
1: - SOCK_RCVTSTAMP = 11,
1: - SOCK_RCVTSTAMPNS = 12,
1: - SOCK_LOCALROUTE = 13,
1: - SOCK_QUEUE_SHRUNK = 14,
1: - SOCK_MEMALLOC = 15,
1: - SOCK_TIMESTAMPING_RX_SOFTWARE = 16,
1: - SOCK_FASYNC = 17,
1: - SOCK_RXQ_OVFL = 18,
1: - SOCK_ZEROCOPY = 19,
1: - SOCK_WIFI_STATUS = 20,
1: - SOCK_NOFCS = 21,
1: - SOCK_FILTER_LOCKED = 22,
1: - SOCK_SELECT_ERR_QUEUE = 23,
1: - SOCK_RCU_FREE = 24,
1: - SOCK_TXTIME = 25,
1: - SOCK_XDP = 26,
1: - SOCK_TSTAMP_NEW = 27,
1: + SOCK_DEAD = 0,
1: + SOCK_DONE = 1,
1: + SOCK_URGINLINE = 2,
1: + SOCK_KEEPOPEN = 3,
1: + SOCK_LINGER = 4,
1: + SOCK_DESTROY = 5,
1: + SOCK_BROADCAST = 6,
1: + SOCK_TIMESTAMP = 7,
1: + SOCK_ZAPPED = 8,
1: + SOCK_USE_WRITE_QUEUE = 9,
1: + SOCK_DBG = 10,
1: + SOCK_RCVTSTAMP = 11,
1: + SOCK_RCVTSTAMPNS = 12,
1: + SOCK_LOCALROUTE = 13,
1: + SOCK_QUEUE_SHRUNK = 14,
1: + SOCK_MEMALLOC = 15,
1: + SOCK_TIMESTAMPING_RX_SOFTWARE = 16,
1: + SOCK_FASYNC = 17,
1: + SOCK_RXQ_OVFL = 18,
1: + SOCK_ZEROCOPY = 19,
1: + SOCK_WIFI_STATUS = 20,
1: + SOCK_NOFCS = 21,
1: + SOCK_FILTER_LOCKED = 22,
1: + SOCK_SELECT_ERR_QUEUE = 23,
1: + SOCK_RCU_FREE = 24,
1: + SOCK_TXTIME = 25,
1: + SOCK_XDP = 26,
1: + SOCK_TSTAMP_NEW = 27,
1: };
1:
1: struct sock_skb_cb {
1: - u32 dropcount;
1: + u32 dropcount;
1: };
1:
1: struct in6_rtmsg {
1: - struct in6_addr rtmsg_dst;
1: - struct in6_addr rtmsg_src;
1: - struct in6_addr rtmsg_gateway;
1: - __u32 rtmsg_type;
1: - __u16 rtmsg_dst_len;
1: - __u16 rtmsg_src_len;
1: - __u32 rtmsg_metric;
1: - long unsigned int rtmsg_info;
1: - __u32 rtmsg_flags;
1: - int rtmsg_ifindex;
1: + struct in6_addr rtmsg_dst;
1: + struct in6_addr rtmsg_src;
1: + struct in6_addr rtmsg_gateway;
1: + __u32 rtmsg_type;
1: + __u16 rtmsg_dst_len;
1: + __u16 rtmsg_src_len;
1: + __u32 rtmsg_metric;
1: + long unsigned int rtmsg_info;
1: + __u32 rtmsg_flags;
1: + int rtmsg_ifindex;
1: };
1:
1: struct rtentry {
1: - long unsigned int rt_pad1;
1: - struct sockaddr rt_dst;
1: - struct sockaddr rt_gateway;
1: - struct sockaddr rt_genmask;
1: - short unsigned int rt_flags;
1: - short int rt_pad2;
1: - long unsigned int rt_pad3;
1: - void *rt_pad4;
1: - short int rt_metric;
1: - char *rt_dev;
1: - long unsigned int rt_mtu;
1: - long unsigned int rt_window;
1: - short unsigned int rt_irtt;
1: + long unsigned int rt_pad1;
1: + struct sockaddr rt_dst;
1: + struct sockaddr rt_gateway;
1: + struct sockaddr rt_genmask;
1: + short unsigned int rt_flags;
1: + short int rt_pad2;
1: + long unsigned int rt_pad3;
1: + void *rt_pad4;
1: + short int rt_metric;
1: + char *rt_dev;
1: + long unsigned int rt_mtu;
1: + long unsigned int rt_window;
1: + short unsigned int rt_irtt;
1: };
1:
1: struct sock_extended_err {
1: - __u32 ee_errno;
1: - __u8 ee_origin;
1: - __u8 ee_type;
1: - __u8 ee_code;
1: - __u8 ee_pad;
1: - __u32 ee_info;
1: - __u32 ee_data;
1: + __u32 ee_errno;
1: + __u8 ee_origin;
1: + __u8 ee_type;
1: + __u8 ee_code;
1: + __u8 ee_pad;
1: + __u32 ee_info;
1: + __u32 ee_data;
1: };
1:
1: struct sock_exterr_skb {
1: - union {
1: - struct inet_skb_parm h4;
1: - struct inet6_skb_parm h6;
1: - } header;
1: - struct sock_extended_err ee;
1: - u16 addr_offset;
1: - __be16 port;
1: - u8 opt_stats: 1;
1: - u8 unused: 7;
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + struct sock_extended_err ee;
1: + u16 addr_offset;
1: + __be16 port;
1: + u8 opt_stats : 1;
1: + u8 unused : 7;
1: };
1:
1: struct used_address {
1: - struct __kernel_sockaddr_storage name;
1: - unsigned int name_len;
1: + struct __kernel_sockaddr_storage name;
1: + unsigned int name_len;
1: };
1:
1: struct rtentry32 {
1: - u32 rt_pad1;
1: - struct sockaddr rt_dst;
1: - struct sockaddr rt_gateway;
1: - struct sockaddr rt_genmask;
1: - short unsigned int rt_flags;
1: - short int rt_pad2;
1: - u32 rt_pad3;
1: - unsigned char rt_tos;
1: - unsigned char rt_class;
1: - short int rt_pad4;
1: - short int rt_metric;
1: - u32 rt_dev;
1: - u32 rt_mtu;
1: - u32 rt_window;
1: - short unsigned int rt_irtt;
1: + u32 rt_pad1;
1: + struct sockaddr rt_dst;
1: + struct sockaddr rt_gateway;
1: + struct sockaddr rt_genmask;
1: + short unsigned int rt_flags;
1: + short int rt_pad2;
1: + u32 rt_pad3;
1: + unsigned char rt_tos;
1: + unsigned char rt_class;
1: + short int rt_pad4;
1: + short int rt_metric;
1: + u32 rt_dev;
1: + u32 rt_mtu;
1: + u32 rt_window;
1: + short unsigned int rt_irtt;
1: };
1:
1: struct in6_rtmsg32 {
1: - struct in6_addr rtmsg_dst;
1: - struct in6_addr rtmsg_src;
1: - struct in6_addr rtmsg_gateway;
1: - u32 rtmsg_type;
1: - u16 rtmsg_dst_len;
1: - u16 rtmsg_src_len;
1: - u32 rtmsg_metric;
1: - u32 rtmsg_info;
1: - u32 rtmsg_flags;
1: - s32 rtmsg_ifindex;
1: + struct in6_addr rtmsg_dst;
1: + struct in6_addr rtmsg_src;
1: + struct in6_addr rtmsg_gateway;
1: + u32 rtmsg_type;
1: + u16 rtmsg_dst_len;
1: + u16 rtmsg_src_len;
1: + u32 rtmsg_metric;
1: + u32 rtmsg_info;
1: + u32 rtmsg_flags;
1: + s32 rtmsg_ifindex;
1: };
1:
1: struct linger {
1: - int l_onoff;
1: - int l_linger;
1: + int l_onoff;
1: + int l_linger;
1: };
1:
1: struct cmsghdr {
1: - __kernel_size_t cmsg_len;
1: - int cmsg_level;
1: - int cmsg_type;
1: + __kernel_size_t cmsg_len;
1: + int cmsg_level;
1: + int cmsg_type;
1: };
1:
1: struct ucred {
1: - __u32 pid;
1: - __u32 uid;
1: - __u32 gid;
1: + __u32 pid;
1: + __u32 uid;
1: + __u32 gid;
1: };
1:
1: struct mmpin {
1: - struct user_struct *user;
1: - unsigned int num_pg;
1: + struct user_struct *user;
1: + unsigned int num_pg;
1: };
1:
1: struct ubuf_info {
1: - void (*callback)(struct ubuf_info *, bool);
1: - union {
1: - struct {
1: - long unsigned int desc;
1: - void *ctx;
1: - };
1: - struct {
1: - u32 id;
1: - u16 len;
1: - u16 zerocopy: 1;
1: - u32 bytelen;
1: - };
1: - };
1: - refcount_t refcnt;
1: - struct mmpin mmp;
1: + void (*callback)(struct ubuf_info *, bool);
1: + union {
1: + struct {
1: + long unsigned int desc;
1: + void *ctx;
1: + };
1: + struct {
1: + u32 id;
1: + u16 len;
1: + u16 zerocopy : 1;
1: + u32 bytelen;
1: + };
1: + };
1: + refcount_t refcnt;
1: + struct mmpin mmp;
1: };
1:
1: struct prot_inuse {
1: - int val[64];
1: + int val[64];
1: };
1:
1: struct rt6key {
1: - struct in6_addr addr;
1: - int plen;
1: + struct in6_addr addr;
1: + int plen;
1: };
1:
1: struct rtable;
1: @@ -99407,30 +100117,30 @@ struct rtable;
1: struct fnhe_hash_bucket;
1:
1: struct fib_nh_common {
1: - struct net_device *nhc_dev;
1: - int nhc_oif;
1: - unsigned char nhc_scope;
1: - u8 nhc_family;
1: - u8 nhc_gw_family;
1: - unsigned char nhc_flags;
1: - struct lwtunnel_state *nhc_lwtstate;
1: - union {
1: - __be32 ipv4;
1: - struct in6_addr ipv6;
1: - } nhc_gw;
1: - int nhc_weight;
1: - atomic_t nhc_upper_bound;
1: - struct rtable **nhc_pcpu_rth_output;
1: - struct rtable *nhc_rth_input;
1: - struct fnhe_hash_bucket *nhc_exceptions;
1: + struct net_device *nhc_dev;
1: + int nhc_oif;
1: + unsigned char nhc_scope;
1: + u8 nhc_family;
1: + u8 nhc_gw_family;
1: + unsigned char nhc_flags;
1: + struct lwtunnel_state *nhc_lwtstate;
1: + union {
1: + __be32 ipv4;
1: + struct in6_addr ipv6;
1: + } nhc_gw;
1: + int nhc_weight;
1: + atomic_t nhc_upper_bound;
1: + struct rtable **nhc_pcpu_rth_output;
1: + struct rtable *nhc_rth_input;
1: + struct fnhe_hash_bucket *nhc_exceptions;
1: };
1:
1: struct rt6_exception_bucket;
1:
1: struct fib6_nh {
1: - struct fib_nh_common nh_common;
1: - struct rt6_info **rt6i_pcpu;
1: - struct rt6_exception_bucket *rt6i_exception_bucket;
1: + struct fib_nh_common nh_common;
1: + struct rt6_info **rt6i_pcpu;
1: + struct rt6_exception_bucket *rt6i_exception_bucket;
1: };
1:
1: struct fib6_node;
1: @@ -99438,224 +100148,224 @@ struct fib6_node;
1: struct nexthop;
1:
1: struct fib6_info {
1: - struct fib6_table *fib6_table;
1: - struct fib6_info *fib6_next;
1: - struct fib6_node *fib6_node;
1: - union {
1: - struct list_head fib6_siblings;
1: - struct list_head nh_list;
1: - };
1: - unsigned int fib6_nsiblings;
1: - refcount_t fib6_ref;
1: - long unsigned int expires;
1: - struct dst_metrics *fib6_metrics;
1: - struct rt6key fib6_dst;
1: - u32 fib6_flags;
1: - struct rt6key fib6_src;
1: - struct rt6key fib6_prefsrc;
1: - u32 fib6_metric;
1: - u8 fib6_protocol;
1: - u8 fib6_type;
1: - u8 should_flush: 1;
1: - u8 dst_nocount: 1;
1: - u8 dst_nopolicy: 1;
1: - u8 dst_host: 1;
1: - u8 fib6_destroying: 1;
1: - u8 unused: 3;
1: - struct callback_head rcu;
1: - struct nexthop *nh;
1: - struct fib6_nh fib6_nh[0];
1: + struct fib6_table *fib6_table;
1: + struct fib6_info *fib6_next;
1: + struct fib6_node *fib6_node;
1: + union {
1: + struct list_head fib6_siblings;
1: + struct list_head nh_list;
1: + };
1: + unsigned int fib6_nsiblings;
1: + refcount_t fib6_ref;
1: + long unsigned int expires;
1: + struct dst_metrics *fib6_metrics;
1: + struct rt6key fib6_dst;
1: + u32 fib6_flags;
1: + struct rt6key fib6_src;
1: + struct rt6key fib6_prefsrc;
1: + u32 fib6_metric;
1: + u8 fib6_protocol;
1: + u8 fib6_type;
1: + u8 should_flush : 1;
1: + u8 dst_nocount : 1;
1: + u8 dst_nopolicy : 1;
1: + u8 dst_host : 1;
1: + u8 fib6_destroying : 1;
1: + u8 unused : 3;
1: + struct callback_head rcu;
1: + struct nexthop *nh;
1: + struct fib6_nh fib6_nh[0];
1: };
1:
1: struct uncached_list;
1:
1: struct rt6_info {
1: - struct dst_entry dst;
1: - struct fib6_info *from;
1: - struct rt6key rt6i_dst;
1: - struct rt6key rt6i_src;
1: - struct in6_addr rt6i_gateway;
1: - struct inet6_dev *rt6i_idev;
1: - u32 rt6i_flags;
1: - struct list_head rt6i_uncached;
1: - struct uncached_list *rt6i_uncached_list;
1: - short unsigned int rt6i_nfheader_len;
1: + struct dst_entry dst;
1: + struct fib6_info *from;
1: + struct rt6key rt6i_dst;
1: + struct rt6key rt6i_src;
1: + struct in6_addr rt6i_gateway;
1: + struct inet6_dev *rt6i_idev;
1: + u32 rt6i_flags;
1: + struct list_head rt6i_uncached;
1: + struct uncached_list *rt6i_uncached_list;
1: + short unsigned int rt6i_nfheader_len;
1: };
1:
1: struct rt6_statistics {
1: - __u32 fib_nodes;
1: - __u32 fib_route_nodes;
1: - __u32 fib_rt_entries;
1: - __u32 fib_rt_cache;
1: - __u32 fib_discarded_routes;
1: - atomic_t fib_rt_alloc;
1: - atomic_t fib_rt_uncache;
1: + __u32 fib_nodes;
1: + __u32 fib_route_nodes;
1: + __u32 fib_rt_entries;
1: + __u32 fib_rt_cache;
1: + __u32 fib_discarded_routes;
1: + atomic_t fib_rt_alloc;
1: + atomic_t fib_rt_uncache;
1: };
1:
1: struct fib6_node {
1: - struct fib6_node *parent;
1: - struct fib6_node *left;
1: - struct fib6_node *right;
1: - struct fib6_info *leaf;
1: - __u16 fn_bit;
1: - __u16 fn_flags;
1: - int fn_sernum;
1: - struct fib6_info *rr_ptr;
1: - struct callback_head rcu;
1: + struct fib6_node *parent;
1: + struct fib6_node *left;
1: + struct fib6_node *right;
1: + struct fib6_info *leaf;
1: + __u16 fn_bit;
1: + __u16 fn_flags;
1: + int fn_sernum;
1: + struct fib6_info *rr_ptr;
1: + struct callback_head rcu;
1: };
1:
1: struct fib6_table {
1: - struct hlist_node tb6_hlist;
1: - u32 tb6_id;
1: - spinlock_t tb6_lock;
1: - struct fib6_node tb6_root;
1: - struct inet_peer_base tb6_peers;
1: - unsigned int flags;
1: - unsigned int fib_seq;
1: + struct hlist_node tb6_hlist;
1: + u32 tb6_id;
1: + spinlock_t tb6_lock;
1: + struct fib6_node tb6_root;
1: + struct inet_peer_base tb6_peers;
1: + unsigned int flags;
1: + unsigned int fib_seq;
1: };
1:
1: typedef union {
1: - __be32 a4;
1: - __be32 a6[4];
1: - struct in6_addr in6;
1: + __be32 a4;
1: + __be32 a6[4];
1: + struct in6_addr in6;
1: } xfrm_address_t;
1:
1: struct xfrm_id {
1: - xfrm_address_t daddr;
1: - __be32 spi;
1: - __u8 proto;
1: + xfrm_address_t daddr;
1: + __be32 spi;
1: + __u8 proto;
1: };
1:
1: struct xfrm_sec_ctx {
1: - __u8 ctx_doi;
1: - __u8 ctx_alg;
1: - __u16 ctx_len;
1: - __u32 ctx_sid;
1: - char ctx_str[0];
1: + __u8 ctx_doi;
1: + __u8 ctx_alg;
1: + __u16 ctx_len;
1: + __u32 ctx_sid;
1: + char ctx_str[0];
1: };
1:
1: struct xfrm_selector {
1: - xfrm_address_t daddr;
1: - xfrm_address_t saddr;
1: - __be16 dport;
1: - __be16 dport_mask;
1: - __be16 sport;
1: - __be16 sport_mask;
1: - __u16 family;
1: - __u8 prefixlen_d;
1: - __u8 prefixlen_s;
1: - __u8 proto;
1: - int ifindex;
1: - __kernel_uid32_t user;
1: + xfrm_address_t daddr;
1: + xfrm_address_t saddr;
1: + __be16 dport;
1: + __be16 dport_mask;
1: + __be16 sport;
1: + __be16 sport_mask;
1: + __u16 family;
1: + __u8 prefixlen_d;
1: + __u8 prefixlen_s;
1: + __u8 proto;
1: + int ifindex;
1: + __kernel_uid32_t user;
1: };
1:
1: struct xfrm_lifetime_cfg {
1: - __u64 soft_byte_limit;
1: - __u64 hard_byte_limit;
1: - __u64 soft_packet_limit;
1: - __u64 hard_packet_limit;
1: - __u64 soft_add_expires_seconds;
1: - __u64 hard_add_expires_seconds;
1: - __u64 soft_use_expires_seconds;
1: - __u64 hard_use_expires_seconds;
1: + __u64 soft_byte_limit;
1: + __u64 hard_byte_limit;
1: + __u64 soft_packet_limit;
1: + __u64 hard_packet_limit;
1: + __u64 soft_add_expires_seconds;
1: + __u64 hard_add_expires_seconds;
1: + __u64 soft_use_expires_seconds;
1: + __u64 hard_use_expires_seconds;
1: };
1:
1: struct xfrm_lifetime_cur {
1: - __u64 bytes;
1: - __u64 packets;
1: - __u64 add_time;
1: - __u64 use_time;
1: + __u64 bytes;
1: + __u64 packets;
1: + __u64 add_time;
1: + __u64 use_time;
1: };
1:
1: struct xfrm_replay_state {
1: - __u32 oseq;
1: - __u32 seq;
1: - __u32 bitmap;
1: + __u32 oseq;
1: + __u32 seq;
1: + __u32 bitmap;
1: };
1:
1: struct xfrm_replay_state_esn {
1: - unsigned int bmp_len;
1: - __u32 oseq;
1: - __u32 seq;
1: - __u32 oseq_hi;
1: - __u32 seq_hi;
1: - __u32 replay_window;
1: - __u32 bmp[0];
1: + unsigned int bmp_len;
1: + __u32 oseq;
1: + __u32 seq;
1: + __u32 oseq_hi;
1: + __u32 seq_hi;
1: + __u32 replay_window;
1: + __u32 bmp[0];
1: };
1:
1: struct xfrm_algo {
1: - char alg_name[64];
1: - unsigned int alg_key_len;
1: - char alg_key[0];
1: + char alg_name[64];
1: + unsigned int alg_key_len;
1: + char alg_key[0];
1: };
1:
1: struct xfrm_algo_auth {
1: - char alg_name[64];
1: - unsigned int alg_key_len;
1: - unsigned int alg_trunc_len;
1: - char alg_key[0];
1: + char alg_name[64];
1: + unsigned int alg_key_len;
1: + unsigned int alg_trunc_len;
1: + char alg_key[0];
1: };
1:
1: struct xfrm_algo_aead {
1: - char alg_name[64];
1: - unsigned int alg_key_len;
1: - unsigned int alg_icv_len;
1: - char alg_key[0];
1: + char alg_name[64];
1: + unsigned int alg_key_len;
1: + unsigned int alg_icv_len;
1: + char alg_key[0];
1: };
1:
1: struct xfrm_stats {
1: - __u32 replay_window;
1: - __u32 replay;
1: - __u32 integrity_failed;
1: + __u32 replay_window;
1: + __u32 replay;
1: + __u32 integrity_failed;
1: };
1:
1: enum {
1: - XFRM_POLICY_TYPE_MAIN = 0,
1: - XFRM_POLICY_TYPE_SUB = 1,
1: - XFRM_POLICY_TYPE_MAX = 2,
1: - XFRM_POLICY_TYPE_ANY = 255,
1: + XFRM_POLICY_TYPE_MAIN = 0,
1: + XFRM_POLICY_TYPE_SUB = 1,
1: + XFRM_POLICY_TYPE_MAX = 2,
1: + XFRM_POLICY_TYPE_ANY = 255,
1: };
1:
1: struct xfrm_encap_tmpl {
1: - __u16 encap_type;
1: - __be16 encap_sport;
1: - __be16 encap_dport;
1: - xfrm_address_t encap_oa;
1: + __u16 encap_type;
1: + __be16 encap_sport;
1: + __be16 encap_dport;
1: + xfrm_address_t encap_oa;
1: };
1:
1: struct xfrm_mark {
1: - __u32 v;
1: - __u32 m;
1: + __u32 v;
1: + __u32 m;
1: };
1:
1: struct xfrm_address_filter {
1: - xfrm_address_t saddr;
1: - xfrm_address_t daddr;
1: - __u16 family;
1: - __u8 splen;
1: - __u8 dplen;
1: + xfrm_address_t saddr;
1: + xfrm_address_t daddr;
1: + __u16 family;
1: + __u8 splen;
1: + __u8 dplen;
1: };
1:
1: struct xfrm_state_walk {
1: - struct list_head all;
1: - u8 state;
1: - u8 dying;
1: - u8 proto;
1: - u32 seq;
1: - struct xfrm_address_filter *filter;
1: + struct list_head all;
1: + u8 state;
1: + u8 dying;
1: + u8 proto;
1: + u32 seq;
1: + struct xfrm_address_filter *filter;
1: };
1:
1: struct xfrm_state_offload {
1: - struct net_device *dev;
1: - long unsigned int offload_handle;
1: - unsigned int num_exthdrs;
1: - u8 flags;
1: + struct net_device *dev;
1: + long unsigned int offload_handle;
1: + unsigned int num_exthdrs;
1: + u8 flags;
1: };
1:
1: struct xfrm_mode {
1: - u8 encap;
1: - u8 family;
1: - u8 flags;
1: + u8 encap;
1: + u8 family;
1: + u8 flags;
1: };
1:
1: struct xfrm_replay;
1: @@ -99665,196 +100375,198 @@ struct xfrm_type;
1: struct xfrm_type_offload;
1:
1: struct xfrm_state {
1: - possible_net_t xs_net;
1: - union {
1: - struct hlist_node gclist;
1: - struct hlist_node bydst;
1: - };
1: - struct hlist_node bysrc;
1: - struct hlist_node byspi;
1: - refcount_t refcnt;
1: - spinlock_t lock;
1: - struct xfrm_id id;
1: - struct xfrm_selector sel;
1: - struct xfrm_mark mark;
1: - u32 if_id;
1: - u32 tfcpad;
1: - u32 genid;
1: - struct xfrm_state_walk km;
1: - struct {
1: - u32 reqid;
1: - u8 mode;
1: - u8 replay_window;
1: - u8 aalgo;
1: - u8 ealgo;
1: - u8 calgo;
1: - u8 flags;
1: - u16 family;
1: - xfrm_address_t saddr;
1: - int header_len;
1: - int trailer_len;
1: - u32 extra_flags;
1: - struct xfrm_mark smark;
1: - } props;
1: - struct xfrm_lifetime_cfg lft;
1: - struct xfrm_algo_auth *aalg;
1: - struct xfrm_algo *ealg;
1: - struct xfrm_algo *calg;
1: - struct xfrm_algo_aead *aead;
1: - const char *geniv;
1: - struct xfrm_encap_tmpl *encap;
1: - xfrm_address_t *coaddr;
1: - struct xfrm_state *tunnel;
1: - atomic_t tunnel_users;
1: - struct xfrm_replay_state replay;
1: - struct xfrm_replay_state_esn *replay_esn;
1: - struct xfrm_replay_state preplay;
1: - struct xfrm_replay_state_esn *preplay_esn;
1: - const struct xfrm_replay *repl;
1: - u32 xflags;
1: - u32 replay_maxage;
1: - u32 replay_maxdiff;
1: - struct timer_list rtimer;
1: - struct xfrm_stats stats;
1: - struct xfrm_lifetime_cur curlft;
1: - struct hrtimer mtimer;
1: - struct xfrm_state_offload xso;
1: - long int saved_tmo;
1: - time64_t lastused;
1: - struct page_frag xfrag;
1: - const struct xfrm_type *type;
1: - struct xfrm_mode inner_mode;
1: - struct xfrm_mode inner_mode_iaf;
1: - struct xfrm_mode outer_mode;
1: - const struct xfrm_type_offload *type_offload;
1: - struct xfrm_sec_ctx *security;
1: - void *data;
1: + possible_net_t xs_net;
1: + union {
1: + struct hlist_node gclist;
1: + struct hlist_node bydst;
1: + };
1: + struct hlist_node bysrc;
1: + struct hlist_node byspi;
1: + refcount_t refcnt;
1: + spinlock_t lock;
1: + struct xfrm_id id;
1: + struct xfrm_selector sel;
1: + struct xfrm_mark mark;
1: + u32 if_id;
1: + u32 tfcpad;
1: + u32 genid;
1: + struct xfrm_state_walk km;
1: + struct {
1: + u32 reqid;
1: + u8 mode;
1: + u8 replay_window;
1: + u8 aalgo;
1: + u8 ealgo;
1: + u8 calgo;
1: + u8 flags;
1: + u16 family;
1: + xfrm_address_t saddr;
1: + int header_len;
1: + int trailer_len;
1: + u32 extra_flags;
1: + struct xfrm_mark smark;
1: + } props;
1: + struct xfrm_lifetime_cfg lft;
1: + struct xfrm_algo_auth *aalg;
1: + struct xfrm_algo *ealg;
1: + struct xfrm_algo *calg;
1: + struct xfrm_algo_aead *aead;
1: + const char *geniv;
1: + struct xfrm_encap_tmpl *encap;
1: + xfrm_address_t *coaddr;
1: + struct xfrm_state *tunnel;
1: + atomic_t tunnel_users;
1: + struct xfrm_replay_state replay;
1: + struct xfrm_replay_state_esn *replay_esn;
1: + struct xfrm_replay_state preplay;
1: + struct xfrm_replay_state_esn *preplay_esn;
1: + const struct xfrm_replay *repl;
1: + u32 xflags;
1: + u32 replay_maxage;
1: + u32 replay_maxdiff;
1: + struct timer_list rtimer;
1: + struct xfrm_stats stats;
1: + struct xfrm_lifetime_cur curlft;
1: + struct hrtimer mtimer;
1: + struct xfrm_state_offload xso;
1: + long int saved_tmo;
1: + time64_t lastused;
1: + struct page_frag xfrag;
1: + const struct xfrm_type *type;
1: + struct xfrm_mode inner_mode;
1: + struct xfrm_mode inner_mode_iaf;
1: + struct xfrm_mode outer_mode;
1: + const struct xfrm_type_offload *type_offload;
1: + struct xfrm_sec_ctx *security;
1: + void *data;
1: };
1:
1: enum txtime_flags {
1: - SOF_TXTIME_DEADLINE_MODE = 1,
1: - SOF_TXTIME_REPORT_ERRORS = 2,
1: - SOF_TXTIME_FLAGS_LAST = 2,
1: - SOF_TXTIME_FLAGS_MASK = 3,
1: + SOF_TXTIME_DEADLINE_MODE = 1,
1: + SOF_TXTIME_REPORT_ERRORS = 2,
1: + SOF_TXTIME_FLAGS_LAST = 2,
1: + SOF_TXTIME_FLAGS_MASK = 3,
1: };
1:
1: struct sock_txtime {
1: - __kernel_clockid_t clockid;
1: - __u32 flags;
1: + __kernel_clockid_t clockid;
1: + __u32 flags;
1: };
1:
1: struct xfrm_policy_walk_entry {
1: - struct list_head all;
1: - u8 dead;
1: + struct list_head all;
1: + u8 dead;
1: };
1:
1: struct xfrm_policy_queue {
1: - struct sk_buff_head hold_queue;
1: - struct timer_list hold_timer;
1: - long unsigned int timeout;
1: + struct sk_buff_head hold_queue;
1: + struct timer_list hold_timer;
1: + long unsigned int timeout;
1: };
1:
1: struct xfrm_tmpl {
1: - struct xfrm_id id;
1: - xfrm_address_t saddr;
1: - short unsigned int encap_family;
1: - u32 reqid;
1: - u8 mode;
1: - u8 share;
1: - u8 optional;
1: - u8 allalgs;
1: - u32 aalgos;
1: - u32 ealgos;
1: - u32 calgos;
1: + struct xfrm_id id;
1: + xfrm_address_t saddr;
1: + short unsigned int encap_family;
1: + u32 reqid;
1: + u8 mode;
1: + u8 share;
1: + u8 optional;
1: + u8 allalgs;
1: + u32 aalgos;
1: + u32 ealgos;
1: + u32 calgos;
1: };
1:
1: struct xfrm_policy {
1: - possible_net_t xp_net;
1: - struct hlist_node bydst;
1: - struct hlist_node byidx;
1: - rwlock_t lock;
1: - refcount_t refcnt;
1: - u32 pos;
1: - struct timer_list timer;
1: - atomic_t genid;
1: - u32 priority;
1: - u32 index;
1: - u32 if_id;
1: - struct xfrm_mark mark;
1: - struct xfrm_selector selector;
1: - struct xfrm_lifetime_cfg lft;
1: - struct xfrm_lifetime_cur curlft;
1: - struct xfrm_policy_walk_entry walk;
1: - struct xfrm_policy_queue polq;
1: - bool bydst_reinsert;
1: - u8 type;
1: - u8 action;
1: - u8 flags;
1: - u8 xfrm_nr;
1: - u16 family;
1: - struct xfrm_sec_ctx *security;
1: - struct xfrm_tmpl xfrm_vec[6];
1: - struct hlist_node bydst_inexact_list;
1: - struct callback_head rcu;
1: + possible_net_t xp_net;
1: + struct hlist_node bydst;
1: + struct hlist_node byidx;
1: + rwlock_t lock;
1: + refcount_t refcnt;
1: + u32 pos;
1: + struct timer_list timer;
1: + atomic_t genid;
1: + u32 priority;
1: + u32 index;
1: + u32 if_id;
1: + struct xfrm_mark mark;
1: + struct xfrm_selector selector;
1: + struct xfrm_lifetime_cfg lft;
1: + struct xfrm_lifetime_cur curlft;
1: + struct xfrm_policy_walk_entry walk;
1: + struct xfrm_policy_queue polq;
1: + bool bydst_reinsert;
1: + u8 type;
1: + u8 action;
1: + u8 flags;
1: + u8 xfrm_nr;
1: + u16 family;
1: + struct xfrm_sec_ctx *security;
1: + struct xfrm_tmpl xfrm_vec[6];
1: + struct hlist_node bydst_inexact_list;
1: + struct callback_head rcu;
1: };
1:
1: enum sk_pacing {
1: - SK_PACING_NONE = 0,
1: - SK_PACING_NEEDED = 1,
1: - SK_PACING_FQ = 2,
1: + SK_PACING_NONE = 0,
1: + SK_PACING_NEEDED = 1,
1: + SK_PACING_FQ = 2,
1: };
1:
1: struct sockcm_cookie {
1: - u64 transmit_time;
1: - u32 mark;
1: - u16 tsflags;
1: + u64 transmit_time;
1: + u32 mark;
1: + u16 tsflags;
1: };
1:
1: struct fastopen_queue {
1: - struct request_sock *rskq_rst_head;
1: - struct request_sock *rskq_rst_tail;
1: - spinlock_t lock;
1: - int qlen;
1: - int max_qlen;
1: - struct tcp_fastopen_context *ctx;
1: + struct request_sock *rskq_rst_head;
1: + struct request_sock *rskq_rst_tail;
1: + spinlock_t lock;
1: + int qlen;
1: + int max_qlen;
1: + struct tcp_fastopen_context *ctx;
1: };
1:
1: struct request_sock_queue {
1: - spinlock_t rskq_lock;
1: - u8 rskq_defer_accept;
1: - u32 synflood_warned;
1: - atomic_t qlen;
1: - atomic_t young;
1: - struct request_sock *rskq_accept_head;
1: - struct request_sock *rskq_accept_tail;
1: - struct fastopen_queue fastopenq;
1: + spinlock_t rskq_lock;
1: + u8 rskq_defer_accept;
1: + u32 synflood_warned;
1: + atomic_t qlen;
1: + atomic_t young;
1: + struct request_sock *rskq_accept_head;
1: + struct request_sock *rskq_accept_tail;
1: + struct fastopen_queue fastopenq;
1: };
1:
1: struct minmax_sample {
1: - u32 t;
1: - u32 v;
1: + u32 t;
1: + u32 v;
1: };
1:
1: struct minmax {
1: - struct minmax_sample s[3];
1: + struct minmax_sample s[3];
1: };
1:
1: struct inet_connection_sock_af_ops {
1: - int (*queue_xmit)(struct sock *, struct sk_buff *, struct flowi *);
1: - void (*send_check)(struct sock *, struct sk_buff *);
1: - int (*rebuild_header)(struct sock *);
1: - void (*sk_rx_dst_set)(struct sock *, const struct sk_buff *);
1: - int (*conn_request)(struct sock *, struct sk_buff *);
1: - struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *);
1: - u16 net_header_len;
1: - u16 net_frag_header_len;
1: - u16 sockaddr_len;
1: - int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: - int (*getsockopt)(struct sock *, int, int, char *, int *);
1: - int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: - int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: - void (*addr2sockaddr)(struct sock *, struct sockaddr *);
1: - void (*mtu_reduced)(struct sock *);
1: + int (*queue_xmit)(struct sock *, struct sk_buff *, struct flowi *);
1: + void (*send_check)(struct sock *, struct sk_buff *);
1: + int (*rebuild_header)(struct sock *);
1: + void (*sk_rx_dst_set)(struct sock *, const struct sk_buff *);
1: + int (*conn_request)(struct sock *, struct sk_buff *);
1: + struct sock *(*syn_recv_sock)(const struct sock *, struct sk_buff *,
1: + struct request_sock *, struct dst_entry *,
1: + struct request_sock *, bool *);
1: + u16 net_header_len;
1: + u16 net_frag_header_len;
1: + u16 sockaddr_len;
1: + int (*setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*getsockopt)(struct sock *, int, int, char *, int *);
1: + int (*compat_setsockopt)(struct sock *, int, int, char *, unsigned int);
1: + int (*compat_getsockopt)(struct sock *, int, int, char *, int *);
1: + void (*addr2sockaddr)(struct sock *, struct sockaddr *);
1: + void (*mtu_reduced)(struct sock *);
1: };
1:
1: struct inet_bind_bucket;
1: @@ -99862,116 +100574,116 @@ struct inet_bind_bucket;
1: struct tcp_ulp_ops;
1:
1: struct inet_connection_sock {
1: - struct inet_sock icsk_inet;
1: - struct request_sock_queue icsk_accept_queue;
1: - struct inet_bind_bucket *icsk_bind_hash;
1: - long unsigned int icsk_timeout;
1: - struct timer_list icsk_retransmit_timer;
1: - struct timer_list icsk_delack_timer;
1: - __u32 icsk_rto;
1: - __u32 icsk_pmtu_cookie;
1: - const struct tcp_congestion_ops *icsk_ca_ops;
1: - const struct inet_connection_sock_af_ops *icsk_af_ops;
1: - const struct tcp_ulp_ops *icsk_ulp_ops;
1: - void *icsk_ulp_data;
1: - void (*icsk_clean_acked)(struct sock *, u32);
1: - struct hlist_node icsk_listen_portaddr_node;
1: - unsigned int (*icsk_sync_mss)(struct sock *, u32);
1: - __u8 icsk_ca_state: 6;
1: - __u8 icsk_ca_setsockopt: 1;
1: - __u8 icsk_ca_dst_locked: 1;
1: - __u8 icsk_retransmits;
1: - __u8 icsk_pending;
1: - __u8 icsk_backoff;
1: - __u8 icsk_syn_retries;
1: - __u8 icsk_probes_out;
1: - __u16 icsk_ext_hdr_len;
1: - struct {
1: - __u8 pending;
1: - __u8 quick;
1: - __u8 pingpong;
1: - __u8 blocked;
1: - __u32 ato;
1: - long unsigned int timeout;
1: - __u32 lrcvtime;
1: - __u16 last_seg_size;
1: - __u16 rcv_mss;
1: - } icsk_ack;
1: - struct {
1: - int enabled;
1: - int search_high;
1: - int search_low;
1: - int probe_size;
1: - u32 probe_timestamp;
1: - } icsk_mtup;
1: - u32 icsk_user_timeout;
1: - u64 icsk_ca_priv[13];
1: + struct inet_sock icsk_inet;
1: + struct request_sock_queue icsk_accept_queue;
1: + struct inet_bind_bucket *icsk_bind_hash;
1: + long unsigned int icsk_timeout;
1: + struct timer_list icsk_retransmit_timer;
1: + struct timer_list icsk_delack_timer;
1: + __u32 icsk_rto;
1: + __u32 icsk_pmtu_cookie;
1: + const struct tcp_congestion_ops *icsk_ca_ops;
1: + const struct inet_connection_sock_af_ops *icsk_af_ops;
1: + const struct tcp_ulp_ops *icsk_ulp_ops;
1: + void *icsk_ulp_data;
1: + void (*icsk_clean_acked)(struct sock *, u32);
1: + struct hlist_node icsk_listen_portaddr_node;
1: + unsigned int (*icsk_sync_mss)(struct sock *, u32);
1: + __u8 icsk_ca_state : 6;
1: + __u8 icsk_ca_setsockopt : 1;
1: + __u8 icsk_ca_dst_locked : 1;
1: + __u8 icsk_retransmits;
1: + __u8 icsk_pending;
1: + __u8 icsk_backoff;
1: + __u8 icsk_syn_retries;
1: + __u8 icsk_probes_out;
1: + __u16 icsk_ext_hdr_len;
1: + struct {
1: + __u8 pending;
1: + __u8 quick;
1: + __u8 pingpong;
1: + __u8 blocked;
1: + __u32 ato;
1: + long unsigned int timeout;
1: + __u32 lrcvtime;
1: + __u16 last_seg_size;
1: + __u16 rcv_mss;
1: + } icsk_ack;
1: + struct {
1: + int enabled;
1: + int search_high;
1: + int search_low;
1: + int probe_size;
1: + u32 probe_timestamp;
1: + } icsk_mtup;
1: + u32 icsk_user_timeout;
1: + u64 icsk_ca_priv[13];
1: };
1:
1: struct inet_bind_bucket {
1: - possible_net_t ib_net;
1: - int l3mdev;
1: - short unsigned int port;
1: - signed char fastreuse;
1: - signed char fastreuseport;
1: - kuid_t fastuid;
1: - struct in6_addr fast_v6_rcv_saddr;
1: - __be32 fast_rcv_saddr;
1: - short unsigned int fast_sk_family;
1: - bool fast_ipv6_only;
1: - struct hlist_node node;
1: - struct hlist_head owners;
1: + possible_net_t ib_net;
1: + int l3mdev;
1: + short unsigned int port;
1: + signed char fastreuse;
1: + signed char fastreuseport;
1: + kuid_t fastuid;
1: + struct in6_addr fast_v6_rcv_saddr;
1: + __be32 fast_rcv_saddr;
1: + short unsigned int fast_sk_family;
1: + bool fast_ipv6_only;
1: + struct hlist_node node;
1: + struct hlist_head owners;
1: };
1:
1: struct tcp_ulp_ops {
1: - struct list_head list;
1: - int (*init)(struct sock *);
1: - void (*update)(struct sock *, struct proto *, void (*)(struct sock *));
1: - void (*release)(struct sock *);
1: - int (*get_info)(const struct sock *, struct sk_buff *);
1: - size_t (*get_info_size)(const struct sock *);
1: - char name[16];
1: - struct module *owner;
1: + struct list_head list;
1: + int (*init)(struct sock *);
1: + void (*update)(struct sock *, struct proto *, void (*)(struct sock *));
1: + void (*release)(struct sock *);
1: + int (*get_info)(const struct sock *, struct sk_buff *);
1: + size_t (*get_info_size)(const struct sock *);
1: + char name[16];
1: + struct module *owner;
1: };
1:
1: struct tcp_fastopen_cookie {
1: - __le64 val[2];
1: - s8 len;
1: - bool exp;
1: + __le64 val[2];
1: + s8 len;
1: + bool exp;
1: };
1:
1: struct tcp_sack_block {
1: - u32 start_seq;
1: - u32 end_seq;
1: + u32 start_seq;
1: + u32 end_seq;
1: };
1:
1: struct tcp_options_received {
1: - int ts_recent_stamp;
1: - u32 ts_recent;
1: - u32 rcv_tsval;
1: - u32 rcv_tsecr;
1: - u16 saw_tstamp: 1;
1: - u16 tstamp_ok: 1;
1: - u16 dsack: 1;
1: - u16 wscale_ok: 1;
1: - u16 sack_ok: 3;
1: - u16 smc_ok: 1;
1: - u16 snd_wscale: 4;
1: - u16 rcv_wscale: 4;
1: - u8 num_sacks;
1: - u16 user_mss;
1: - u16 mss_clamp;
1: + int ts_recent_stamp;
1: + u32 ts_recent;
1: + u32 rcv_tsval;
1: + u32 rcv_tsecr;
1: + u16 saw_tstamp : 1;
1: + u16 tstamp_ok : 1;
1: + u16 dsack : 1;
1: + u16 wscale_ok : 1;
1: + u16 sack_ok : 3;
1: + u16 smc_ok : 1;
1: + u16 snd_wscale : 4;
1: + u16 rcv_wscale : 4;
1: + u8 num_sacks;
1: + u16 user_mss;
1: + u16 mss_clamp;
1: };
1:
1: struct tcp_rack {
1: - u64 mstamp;
1: - u32 rtt_us;
1: - u32 end_seq;
1: - u32 last_delivered;
1: - u8 reo_wnd_steps;
1: - u8 reo_wnd_persist: 5;
1: - u8 dsack_seen: 1;
1: - u8 advanced: 1;
1: + u64 mstamp;
1: + u32 rtt_us;
1: + u32 end_seq;
1: + u32 last_delivered;
1: + u8 reo_wnd_steps;
1: + u8 reo_wnd_persist : 5;
1: + u8 dsack_seen : 1;
1: + u8 advanced : 1;
1: };
1:
1: struct tcp_sock_af_ops;
1: @@ -99981,1044 +100693,1054 @@ struct tcp_md5sig_info;
1: struct tcp_fastopen_request;
1:
1: struct tcp_sock {
1: - struct inet_connection_sock inet_conn;
1: - u16 tcp_header_len;
1: - u16 gso_segs;
1: - __be32 pred_flags;
1: - u64 bytes_received;
1: - u32 segs_in;
1: - u32 data_segs_in;
1: - u32 rcv_nxt;
1: - u32 copied_seq;
1: - u32 rcv_wup;
1: - u32 snd_nxt;
1: - u32 segs_out;
1: - u32 data_segs_out;
1: - u64 bytes_sent;
1: - u64 bytes_acked;
1: - u32 dsack_dups;
1: - u32 snd_una;
1: - u32 snd_sml;
1: - u32 rcv_tstamp;
1: - u32 lsndtime;
1: - u32 last_oow_ack_time;
1: - u32 compressed_ack_rcv_nxt;
1: - u32 tsoffset;
1: - struct list_head tsq_node;
1: - struct list_head tsorted_sent_queue;
1: - u32 snd_wl1;
1: - u32 snd_wnd;
1: - u32 max_window;
1: - u32 mss_cache;
1: - u32 window_clamp;
1: - u32 rcv_ssthresh;
1: - struct tcp_rack rack;
1: - u16 advmss;
1: - u8 compressed_ack;
1: - u32 chrono_start;
1: - u32 chrono_stat[3];
1: - u8 chrono_type: 2;
1: - u8 rate_app_limited: 1;
1: - u8 fastopen_connect: 1;
1: - u8 fastopen_no_cookie: 1;
1: - u8 is_sack_reneg: 1;
1: - u8 fastopen_client_fail: 2;
1: - u8 nonagle: 4;
1: - u8 thin_lto: 1;
1: - u8 recvmsg_inq: 1;
1: - u8 repair: 1;
1: - u8 frto: 1;
1: - u8 repair_queue;
1: - u8 syn_data: 1;
1: - u8 syn_fastopen: 1;
1: - u8 syn_fastopen_exp: 1;
1: - u8 syn_fastopen_ch: 1;
1: - u8 syn_data_acked: 1;
1: - u8 save_syn: 1;
1: - u8 is_cwnd_limited: 1;
1: - u8 syn_smc: 1;
1: - u32 tlp_high_seq;
1: - u32 tcp_tx_delay;
1: - u64 tcp_wstamp_ns;
1: - u64 tcp_clock_cache;
1: - u64 tcp_mstamp;
1: - u32 srtt_us;
1: - u32 mdev_us;
1: - u32 mdev_max_us;
1: - u32 rttvar_us;
1: - u32 rtt_seq;
1: - struct minmax rtt_min;
1: - u32 packets_out;
1: - u32 retrans_out;
1: - u32 max_packets_out;
1: - u32 max_packets_seq;
1: - u16 urg_data;
1: - u8 ecn_flags;
1: - u8 keepalive_probes;
1: - u32 reordering;
1: - u32 reord_seen;
1: - u32 snd_up;
1: - struct tcp_options_received rx_opt;
1: - u32 snd_ssthresh;
1: - u32 snd_cwnd;
1: - u32 snd_cwnd_cnt;
1: - u32 snd_cwnd_clamp;
1: - u32 snd_cwnd_used;
1: - u32 snd_cwnd_stamp;
1: - u32 prior_cwnd;
1: - u32 prr_delivered;
1: - u32 prr_out;
1: - u32 delivered;
1: - u32 delivered_ce;
1: - u32 lost;
1: - u32 app_limited;
1: - u64 first_tx_mstamp;
1: - u64 delivered_mstamp;
1: - u32 rate_delivered;
1: - u32 rate_interval_us;
1: - u32 rcv_wnd;
1: - u32 write_seq;
1: - u32 notsent_lowat;
1: - u32 pushed_seq;
1: - u32 lost_out;
1: - u32 sacked_out;
1: - struct hrtimer pacing_timer;
1: - struct hrtimer compressed_ack_timer;
1: - struct sk_buff *lost_skb_hint;
1: - struct sk_buff *retransmit_skb_hint;
1: - struct rb_root out_of_order_queue;
1: - struct sk_buff *ooo_last_skb;
1: - struct tcp_sack_block duplicate_sack[1];
1: - struct tcp_sack_block selective_acks[4];
1: - struct tcp_sack_block recv_sack_cache[4];
1: - struct sk_buff *highest_sack;
1: - int lost_cnt_hint;
1: - u32 prior_ssthresh;
1: - u32 high_seq;
1: - u32 retrans_stamp;
1: - u32 undo_marker;
1: - int undo_retrans;
1: - u64 bytes_retrans;
1: - u32 total_retrans;
1: - u32 urg_seq;
1: - unsigned int keepalive_time;
1: - unsigned int keepalive_intvl;
1: - int linger2;
1: - u8 bpf_sock_ops_cb_flags;
1: - u32 rcv_ooopack;
1: - u32 rcv_rtt_last_tsecr;
1: - struct {
1: - u32 rtt_us;
1: - u32 seq;
1: - u64 time;
1: - } rcv_rtt_est;
1: - struct {
1: - u32 space;
1: - u32 seq;
1: - u64 time;
1: - } rcvq_space;
1: - struct {
1: - u32 probe_seq_start;
1: - u32 probe_seq_end;
1: - } mtu_probe;
1: - u32 mtu_info;
1: - const struct tcp_sock_af_ops *af_specific;
1: - struct tcp_md5sig_info *md5sig_info;
1: - struct tcp_fastopen_request *fastopen_req;
1: - struct request_sock *fastopen_rsk;
1: - u32 *saved_syn;
1: + struct inet_connection_sock inet_conn;
1: + u16 tcp_header_len;
1: + u16 gso_segs;
1: + __be32 pred_flags;
1: + u64 bytes_received;
1: + u32 segs_in;
1: + u32 data_segs_in;
1: + u32 rcv_nxt;
1: + u32 copied_seq;
1: + u32 rcv_wup;
1: + u32 snd_nxt;
1: + u32 segs_out;
1: + u32 data_segs_out;
1: + u64 bytes_sent;
1: + u64 bytes_acked;
1: + u32 dsack_dups;
1: + u32 snd_una;
1: + u32 snd_sml;
1: + u32 rcv_tstamp;
1: + u32 lsndtime;
1: + u32 last_oow_ack_time;
1: + u32 compressed_ack_rcv_nxt;
1: + u32 tsoffset;
1: + struct list_head tsq_node;
1: + struct list_head tsorted_sent_queue;
1: + u32 snd_wl1;
1: + u32 snd_wnd;
1: + u32 max_window;
1: + u32 mss_cache;
1: + u32 window_clamp;
1: + u32 rcv_ssthresh;
1: + struct tcp_rack rack;
1: + u16 advmss;
1: + u8 compressed_ack;
1: + u32 chrono_start;
1: + u32 chrono_stat[3];
1: + u8 chrono_type : 2;
1: + u8 rate_app_limited : 1;
1: + u8 fastopen_connect : 1;
1: + u8 fastopen_no_cookie : 1;
1: + u8 is_sack_reneg : 1;
1: + u8 fastopen_client_fail : 2;
1: + u8 nonagle : 4;
1: + u8 thin_lto : 1;
1: + u8 recvmsg_inq : 1;
1: + u8 repair : 1;
1: + u8 frto : 1;
1: + u8 repair_queue;
1: + u8 syn_data : 1;
1: + u8 syn_fastopen : 1;
1: + u8 syn_fastopen_exp : 1;
1: + u8 syn_fastopen_ch : 1;
1: + u8 syn_data_acked : 1;
1: + u8 save_syn : 1;
1: + u8 is_cwnd_limited : 1;
1: + u8 syn_smc : 1;
1: + u32 tlp_high_seq;
1: + u32 tcp_tx_delay;
1: + u64 tcp_wstamp_ns;
1: + u64 tcp_clock_cache;
1: + u64 tcp_mstamp;
1: + u32 srtt_us;
1: + u32 mdev_us;
1: + u32 mdev_max_us;
1: + u32 rttvar_us;
1: + u32 rtt_seq;
1: + struct minmax rtt_min;
1: + u32 packets_out;
1: + u32 retrans_out;
1: + u32 max_packets_out;
1: + u32 max_packets_seq;
1: + u16 urg_data;
1: + u8 ecn_flags;
1: + u8 keepalive_probes;
1: + u32 reordering;
1: + u32 reord_seen;
1: + u32 snd_up;
1: + struct tcp_options_received rx_opt;
1: + u32 snd_ssthresh;
1: + u32 snd_cwnd;
1: + u32 snd_cwnd_cnt;
1: + u32 snd_cwnd_clamp;
1: + u32 snd_cwnd_used;
1: + u32 snd_cwnd_stamp;
1: + u32 prior_cwnd;
1: + u32 prr_delivered;
1: + u32 prr_out;
1: + u32 delivered;
1: + u32 delivered_ce;
1: + u32 lost;
1: + u32 app_limited;
1: + u64 first_tx_mstamp;
1: + u64 delivered_mstamp;
1: + u32 rate_delivered;
1: + u32 rate_interval_us;
1: + u32 rcv_wnd;
1: + u32 write_seq;
1: + u32 notsent_lowat;
1: + u32 pushed_seq;
1: + u32 lost_out;
1: + u32 sacked_out;
1: + struct hrtimer pacing_timer;
1: + struct hrtimer compressed_ack_timer;
1: + struct sk_buff *lost_skb_hint;
1: + struct sk_buff *retransmit_skb_hint;
1: + struct rb_root out_of_order_queue;
1: + struct sk_buff *ooo_last_skb;
1: + struct tcp_sack_block duplicate_sack[1];
1: + struct tcp_sack_block selective_acks[4];
1: + struct tcp_sack_block recv_sack_cache[4];
1: + struct sk_buff *highest_sack;
1: + int lost_cnt_hint;
1: + u32 prior_ssthresh;
1: + u32 high_seq;
1: + u32 retrans_stamp;
1: + u32 undo_marker;
1: + int undo_retrans;
1: + u64 bytes_retrans;
1: + u32 total_retrans;
1: + u32 urg_seq;
1: + unsigned int keepalive_time;
1: + unsigned int keepalive_intvl;
1: + int linger2;
1: + u8 bpf_sock_ops_cb_flags;
1: + u32 rcv_ooopack;
1: + u32 rcv_rtt_last_tsecr;
1: + struct {
1: + u32 rtt_us;
1: + u32 seq;
1: + u64 time;
1: + } rcv_rtt_est;
1: + struct {
1: + u32 space;
1: + u32 seq;
1: + u64 time;
1: + } rcvq_space;
1: + struct {
1: + u32 probe_seq_start;
1: + u32 probe_seq_end;
1: + } mtu_probe;
1: + u32 mtu_info;
1: + const struct tcp_sock_af_ops *af_specific;
1: + struct tcp_md5sig_info *md5sig_info;
1: + struct tcp_fastopen_request *fastopen_req;
1: + struct request_sock *fastopen_rsk;
1: + u32 *saved_syn;
1: };
1:
1: struct tcp_md5sig_key;
1:
1: struct tcp_sock_af_ops {
1: - struct tcp_md5sig_key * (*md5_lookup)(const struct sock *, const struct sock *);
1: - int (*calc_md5_hash)(char *, const struct tcp_md5sig_key *, const struct sock *, const struct sk_buff *);
1: - int (*md5_parse)(struct sock *, int, char *, int);
1: + struct tcp_md5sig_key *(*md5_lookup)(const struct sock *,
1: + const struct sock *);
1: + int (*calc_md5_hash)(char *, const struct tcp_md5sig_key *,
1: + const struct sock *, const struct sk_buff *);
1: + int (*md5_parse)(struct sock *, int, char *, int);
1: };
1:
1: struct tcp_md5sig_info {
1: - struct hlist_head head;
1: - struct callback_head rcu;
1: + struct hlist_head head;
1: + struct callback_head rcu;
1: };
1:
1: struct tcp_fastopen_request {
1: - struct tcp_fastopen_cookie cookie;
1: - struct msghdr *data;
1: - size_t size;
1: - int copied;
1: - struct ubuf_info *uarg;
1: + struct tcp_fastopen_cookie cookie;
1: + struct msghdr *data;
1: + size_t size;
1: + int copied;
1: + struct ubuf_info *uarg;
1: };
1:
1: union tcp_md5_addr {
1: - struct in_addr a4;
1: - struct in6_addr a6;
1: + struct in_addr a4;
1: + struct in6_addr a6;
1: };
1:
1: struct tcp_md5sig_key {
1: - struct hlist_node node;
1: - u8 keylen;
1: - u8 family;
1: - union tcp_md5_addr addr;
1: - u8 prefixlen;
1: - u8 key[80];
1: - struct callback_head rcu;
1: + struct hlist_node node;
1: + u8 keylen;
1: + u8 family;
1: + union tcp_md5_addr addr;
1: + u8 prefixlen;
1: + u8 key[80];
1: + struct callback_head rcu;
1: };
1:
1: struct fib6_config {
1: - u32 fc_table;
1: - u32 fc_metric;
1: - int fc_dst_len;
1: - int fc_src_len;
1: - int fc_ifindex;
1: - u32 fc_flags;
1: - u32 fc_protocol;
1: - u16 fc_type;
1: - u16 fc_delete_all_nh: 1;
1: - u16 fc_ignore_dev_down: 1;
1: - u16 __unused: 14;
1: - u32 fc_nh_id;
1: - struct in6_addr fc_dst;
1: - struct in6_addr fc_src;
1: - struct in6_addr fc_prefsrc;
1: - struct in6_addr fc_gateway;
1: - long unsigned int fc_expires;
1: - struct nlattr *fc_mx;
1: - int fc_mx_len;
1: - int fc_mp_len;
1: - struct nlattr *fc_mp;
1: - struct nl_info fc_nlinfo;
1: - struct nlattr *fc_encap;
1: - u16 fc_encap_type;
1: + u32 fc_table;
1: + u32 fc_metric;
1: + int fc_dst_len;
1: + int fc_src_len;
1: + int fc_ifindex;
1: + u32 fc_flags;
1: + u32 fc_protocol;
1: + u16 fc_type;
1: + u16 fc_delete_all_nh : 1;
1: + u16 fc_ignore_dev_down : 1;
1: + u16 __unused : 14;
1: + u32 fc_nh_id;
1: + struct in6_addr fc_dst;
1: + struct in6_addr fc_src;
1: + struct in6_addr fc_prefsrc;
1: + struct in6_addr fc_gateway;
1: + long unsigned int fc_expires;
1: + struct nlattr *fc_mx;
1: + int fc_mx_len;
1: + int fc_mp_len;
1: + struct nlattr *fc_mp;
1: + struct nl_info fc_nlinfo;
1: + struct nlattr *fc_encap;
1: + u16 fc_encap_type;
1: };
1:
1: struct fib_nh_exception {
1: - struct fib_nh_exception *fnhe_next;
1: - int fnhe_genid;
1: - __be32 fnhe_daddr;
1: - u32 fnhe_pmtu;
1: - bool fnhe_mtu_locked;
1: - __be32 fnhe_gw;
1: - long unsigned int fnhe_expires;
1: - struct rtable *fnhe_rth_input;
1: - struct rtable *fnhe_rth_output;
1: - long unsigned int fnhe_stamp;
1: - struct callback_head rcu;
1: + struct fib_nh_exception *fnhe_next;
1: + int fnhe_genid;
1: + __be32 fnhe_daddr;
1: + u32 fnhe_pmtu;
1: + bool fnhe_mtu_locked;
1: + __be32 fnhe_gw;
1: + long unsigned int fnhe_expires;
1: + struct rtable *fnhe_rth_input;
1: + struct rtable *fnhe_rth_output;
1: + long unsigned int fnhe_stamp;
1: + struct callback_head rcu;
1: };
1:
1: struct rtable {
1: - struct dst_entry dst;
1: - int rt_genid;
1: - unsigned int rt_flags;
1: - __u16 rt_type;
1: - __u8 rt_is_input;
1: - __u8 rt_uses_gateway;
1: - int rt_iif;
1: - u8 rt_gw_family;
1: - union {
1: - __be32 rt_gw4;
1: - struct in6_addr rt_gw6;
1: - };
1: - u32 rt_mtu_locked: 1;
1: - u32 rt_pmtu: 31;
1: - struct list_head rt_uncached;
1: - struct uncached_list *rt_uncached_list;
1: + struct dst_entry dst;
1: + int rt_genid;
1: + unsigned int rt_flags;
1: + __u16 rt_type;
1: + __u8 rt_is_input;
1: + __u8 rt_uses_gateway;
1: + int rt_iif;
1: + u8 rt_gw_family;
1: + union {
1: + __be32 rt_gw4;
1: + struct in6_addr rt_gw6;
1: + };
1: + u32 rt_mtu_locked : 1;
1: + u32 rt_pmtu : 31;
1: + struct list_head rt_uncached;
1: + struct uncached_list *rt_uncached_list;
1: };
1:
1: struct fnhe_hash_bucket {
1: - struct fib_nh_exception *chain;
1: + struct fib_nh_exception *chain;
1: };
1:
1: struct net_protocol {
1: - int (*early_demux)(struct sk_buff *);
1: - int (*early_demux_handler)(struct sk_buff *);
1: - int (*handler)(struct sk_buff *);
1: - int (*err_handler)(struct sk_buff *, u32);
1: - unsigned int no_policy: 1;
1: - unsigned int netns_ok: 1;
1: - unsigned int icmp_strict_tag_validation: 1;
1: + int (*early_demux)(struct sk_buff *);
1: + int (*early_demux_handler)(struct sk_buff *);
1: + int (*handler)(struct sk_buff *);
1: + int (*err_handler)(struct sk_buff *, u32);
1: + unsigned int no_policy : 1;
1: + unsigned int netns_ok : 1;
1: + unsigned int icmp_strict_tag_validation : 1;
1: };
1:
1: struct rt6_exception_bucket {
1: - struct hlist_head chain;
1: - int depth;
1: + struct hlist_head chain;
1: + int depth;
1: };
1:
1: struct xfrm_replay {
1: - void (*advance)(struct xfrm_state *, __be32);
1: - int (*check)(struct xfrm_state *, struct sk_buff *, __be32);
1: - int (*recheck)(struct xfrm_state *, struct sk_buff *, __be32);
1: - void (*notify)(struct xfrm_state *, int);
1: - int (*overflow)(struct xfrm_state *, struct sk_buff *);
1: + void (*advance)(struct xfrm_state *, __be32);
1: + int (*check)(struct xfrm_state *, struct sk_buff *, __be32);
1: + int (*recheck)(struct xfrm_state *, struct sk_buff *, __be32);
1: + void (*notify)(struct xfrm_state *, int);
1: + int (*overflow)(struct xfrm_state *, struct sk_buff *);
1: };
1:
1: struct xfrm_type {
1: - char *description;
1: - struct module *owner;
1: - u8 proto;
1: - u8 flags;
1: - int (*init_state)(struct xfrm_state *);
1: - void (*destructor)(struct xfrm_state *);
1: - int (*input)(struct xfrm_state *, struct sk_buff *);
1: - int (*output)(struct xfrm_state *, struct sk_buff *);
1: - int (*reject)(struct xfrm_state *, struct sk_buff *, const struct flowi *);
1: - int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **);
1: + char *description;
1: + struct module *owner;
1: + u8 proto;
1: + u8 flags;
1: + int (*init_state)(struct xfrm_state *);
1: + void (*destructor)(struct xfrm_state *);
1: + int (*input)(struct xfrm_state *, struct sk_buff *);
1: + int (*output)(struct xfrm_state *, struct sk_buff *);
1: + int (*reject)(struct xfrm_state *, struct sk_buff *, const struct flowi *);
1: + int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **);
1: };
1:
1: struct xfrm_type_offload {
1: - char *description;
1: - struct module *owner;
1: - u8 proto;
1: - void (*encap)(struct xfrm_state *, struct sk_buff *);
1: - int (*input_tail)(struct xfrm_state *, struct sk_buff *);
1: - int (*xmit)(struct xfrm_state *, struct sk_buff *, netdev_features_t);
1: + char *description;
1: + struct module *owner;
1: + u8 proto;
1: + void (*encap)(struct xfrm_state *, struct sk_buff *);
1: + int (*input_tail)(struct xfrm_state *, struct sk_buff *);
1: + int (*xmit)(struct xfrm_state *, struct sk_buff *, netdev_features_t);
1: };
1:
1: enum {
1: - SK_MEMINFO_RMEM_ALLOC = 0,
1: - SK_MEMINFO_RCVBUF = 1,
1: - SK_MEMINFO_WMEM_ALLOC = 2,
1: - SK_MEMINFO_SNDBUF = 3,
1: - SK_MEMINFO_FWD_ALLOC = 4,
1: - SK_MEMINFO_WMEM_QUEUED = 5,
1: - SK_MEMINFO_OPTMEM = 6,
1: - SK_MEMINFO_BACKLOG = 7,
1: - SK_MEMINFO_DROPS = 8,
1: - SK_MEMINFO_VARS = 9,
1: + SK_MEMINFO_RMEM_ALLOC = 0,
1: + SK_MEMINFO_RCVBUF = 1,
1: + SK_MEMINFO_WMEM_ALLOC = 2,
1: + SK_MEMINFO_SNDBUF = 3,
1: + SK_MEMINFO_FWD_ALLOC = 4,
1: + SK_MEMINFO_WMEM_QUEUED = 5,
1: + SK_MEMINFO_OPTMEM = 6,
1: + SK_MEMINFO_BACKLOG = 7,
1: + SK_MEMINFO_DROPS = 8,
1: + SK_MEMINFO_VARS = 9,
1: };
1:
1: enum sknetlink_groups {
1: - SKNLGRP_NONE = 0,
1: - SKNLGRP_INET_TCP_DESTROY = 1,
1: - SKNLGRP_INET_UDP_DESTROY = 2,
1: - SKNLGRP_INET6_TCP_DESTROY = 3,
1: - SKNLGRP_INET6_UDP_DESTROY = 4,
1: - __SKNLGRP_MAX = 5,
1: + SKNLGRP_NONE = 0,
1: + SKNLGRP_INET_TCP_DESTROY = 1,
1: + SKNLGRP_INET_UDP_DESTROY = 2,
1: + SKNLGRP_INET6_TCP_DESTROY = 3,
1: + SKNLGRP_INET6_UDP_DESTROY = 4,
1: + __SKNLGRP_MAX = 5,
1: };
1:
1: struct inet_request_sock {
1: - struct request_sock req;
1: - u16 snd_wscale: 4;
1: - u16 rcv_wscale: 4;
1: - u16 tstamp_ok: 1;
1: - u16 sack_ok: 1;
1: - u16 wscale_ok: 1;
1: - u16 ecn_ok: 1;
1: - u16 acked: 1;
1: - u16 no_srccheck: 1;
1: - u16 smc_ok: 1;
1: - u32 ir_mark;
1: - union {
1: - struct ip_options_rcu *ireq_opt;
1: - struct {
1: - struct ipv6_txoptions *ipv6_opt;
1: - struct sk_buff *pktopts;
1: - };
1: - };
1: + struct request_sock req;
1: + u16 snd_wscale : 4;
1: + u16 rcv_wscale : 4;
1: + u16 tstamp_ok : 1;
1: + u16 sack_ok : 1;
1: + u16 wscale_ok : 1;
1: + u16 ecn_ok : 1;
1: + u16 acked : 1;
1: + u16 no_srccheck : 1;
1: + u16 smc_ok : 1;
1: + u32 ir_mark;
1: + union {
1: + struct ip_options_rcu *ireq_opt;
1: + struct {
1: + struct ipv6_txoptions *ipv6_opt;
1: + struct sk_buff *pktopts;
1: + };
1: + };
1: };
1:
1: struct tcp_request_sock_ops;
1:
1: struct tcp_request_sock {
1: - struct inet_request_sock req;
1: - const struct tcp_request_sock_ops *af_specific;
1: - u64 snt_synack;
1: - bool tfo_listener;
1: - u32 txhash;
1: - u32 rcv_isn;
1: - u32 snt_isn;
1: - u32 ts_off;
1: - u32 last_oow_ack_time;
1: - u32 rcv_nxt;
1: + struct inet_request_sock req;
1: + const struct tcp_request_sock_ops *af_specific;
1: + u64 snt_synack;
1: + bool tfo_listener;
1: + u32 txhash;
1: + u32 rcv_isn;
1: + u32 snt_isn;
1: + u32 ts_off;
1: + u32 last_oow_ack_time;
1: + u32 rcv_nxt;
1: };
1:
1: enum tcp_synack_type {
1: - TCP_SYNACK_NORMAL = 0,
1: - TCP_SYNACK_FASTOPEN = 1,
1: - TCP_SYNACK_COOKIE = 2,
1: + TCP_SYNACK_NORMAL = 0,
1: + TCP_SYNACK_FASTOPEN = 1,
1: + TCP_SYNACK_COOKIE = 2,
1: };
1:
1: struct tcp_request_sock_ops {
1: - u16 mss_clamp;
1: - struct tcp_md5sig_key * (*req_md5_lookup)(const struct sock *, const struct sock *);
1: - int (*calc_md5_hash)(char *, const struct tcp_md5sig_key *, const struct sock *, const struct sk_buff *);
1: - void (*init_req)(struct request_sock *, const struct sock *, struct sk_buff *);
1: - __u32 (*cookie_init_seq)(const struct sk_buff *, __u16 *);
1: - struct dst_entry * (*route_req)(const struct sock *, struct flowi *, const struct request_sock *);
1: - u32 (*init_seq)(const struct sk_buff *);
1: - u32 (*init_ts_off)(const struct net *, const struct sk_buff *);
1: - int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type);
1: + u16 mss_clamp;
1: + struct tcp_md5sig_key *(*req_md5_lookup)(const struct sock *,
1: + const struct sock *);
1: + int (*calc_md5_hash)(char *, const struct tcp_md5sig_key *,
1: + const struct sock *, const struct sk_buff *);
1: + void (*init_req)(struct request_sock *, const struct sock *,
1: + struct sk_buff *);
1: + __u32 (*cookie_init_seq)(const struct sk_buff *, __u16 *);
1: + struct dst_entry *(*route_req)(const struct sock *, struct flowi *,
1: + const struct request_sock *);
1: + u32 (*init_seq)(const struct sk_buff *);
1: + u32 (*init_ts_off)(const struct net *, const struct sk_buff *);
1: + int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *,
1: + struct request_sock *, struct tcp_fastopen_cookie *,
1: + enum tcp_synack_type);
1: };
1:
1: struct ts_state {
1: - unsigned int offset;
1: - char cb[40];
1: + unsigned int offset;
1: + char cb[40];
1: };
1:
1: struct ts_config;
1:
1: struct ts_ops {
1: - const char *name;
1: - struct ts_config * (*init)(const void *, unsigned int, gfp_t, int);
1: - unsigned int (*find)(struct ts_config *, struct ts_state *);
1: - void (*destroy)(struct ts_config *);
1: - void * (*get_pattern)(struct ts_config *);
1: - unsigned int (*get_pattern_len)(struct ts_config *);
1: - struct module *owner;
1: - struct list_head list;
1: + const char *name;
1: + struct ts_config *(*init)(const void *, unsigned int, gfp_t, int);
1: + unsigned int (*find)(struct ts_config *, struct ts_state *);
1: + void (*destroy)(struct ts_config *);
1: + void *(*get_pattern)(struct ts_config *);
1: + unsigned int (*get_pattern_len)(struct ts_config *);
1: + struct module *owner;
1: + struct list_head list;
1: };
1:
1: struct ts_config {
1: - struct ts_ops *ops;
1: - int flags;
1: - unsigned int (*get_next_block)(unsigned int, const u8 **, struct ts_config *, struct ts_state *);
1: - void (*finish)(struct ts_config *, struct ts_state *);
1: + struct ts_ops *ops;
1: + int flags;
1: + unsigned int (*get_next_block)(unsigned int, const u8 **, struct ts_config *,
1: + struct ts_state *);
1: + void (*finish)(struct ts_config *, struct ts_state *);
1: };
1:
1: struct nf_conntrack {
1: - atomic_t use;
1: + atomic_t use;
1: };
1:
1: enum {
1: - SKB_FCLONE_UNAVAILABLE = 0,
1: - SKB_FCLONE_ORIG = 1,
1: - SKB_FCLONE_CLONE = 2,
1: + SKB_FCLONE_UNAVAILABLE = 0,
1: + SKB_FCLONE_ORIG = 1,
1: + SKB_FCLONE_CLONE = 2,
1: };
1:
1: struct sk_buff_fclones {
1: - struct sk_buff skb1;
1: - struct sk_buff skb2;
1: - refcount_t fclone_ref;
1: + struct sk_buff skb1;
1: + struct sk_buff skb2;
1: + refcount_t fclone_ref;
1: };
1:
1: struct skb_seq_state {
1: - __u32 lower_offset;
1: - __u32 upper_offset;
1: - __u32 frag_idx;
1: - __u32 stepped_offset;
1: - struct sk_buff *root_skb;
1: - struct sk_buff *cur_skb;
1: - __u8 *frag_data;
1: + __u32 lower_offset;
1: + __u32 upper_offset;
1: + __u32 frag_idx;
1: + __u32 stepped_offset;
1: + struct sk_buff *root_skb;
1: + struct sk_buff *cur_skb;
1: + __u8 *frag_data;
1: };
1:
1: struct skb_checksum_ops {
1: - __wsum (*update)(const void *, int, __wsum);
1: - __wsum (*combine)(__wsum, __wsum, int, int);
1: + __wsum (*update)(const void *, int, __wsum);
1: + __wsum (*combine)(__wsum, __wsum, int, int);
1: };
1:
1: struct skb_gso_cb {
1: - union {
1: - int mac_offset;
1: - int data_offset;
1: - };
1: - int encap_level;
1: - __wsum csum;
1: - __u16 csum_start;
1: + union {
1: + int mac_offset;
1: + int data_offset;
1: + };
1: + int encap_level;
1: + __wsum csum;
1: + __u16 csum_start;
1: };
1:
1: struct napi_gro_cb {
1: - void *frag0;
1: - unsigned int frag0_len;
1: - int data_offset;
1: - u16 flush;
1: - u16 flush_id;
1: - u16 count;
1: - u16 gro_remcsum_start;
1: - long unsigned int age;
1: - u16 proto;
1: - u8 same_flow: 1;
1: - u8 encap_mark: 1;
1: - u8 csum_valid: 1;
1: - u8 csum_cnt: 3;
1: - u8 free: 2;
1: - u8 is_ipv6: 1;
1: - u8 is_fou: 1;
1: - u8 is_atomic: 1;
1: - u8 recursion_counter: 4;
1: - __wsum csum;
1: - struct sk_buff *last;
1: + void *frag0;
1: + unsigned int frag0_len;
1: + int data_offset;
1: + u16 flush;
1: + u16 flush_id;
1: + u16 count;
1: + u16 gro_remcsum_start;
1: + long unsigned int age;
1: + u16 proto;
1: + u8 same_flow : 1;
1: + u8 encap_mark : 1;
1: + u8 csum_valid : 1;
1: + u8 csum_cnt : 3;
1: + u8 free : 2;
1: + u8 is_ipv6 : 1;
1: + u8 is_fou : 1;
1: + u8 is_atomic : 1;
1: + u8 recursion_counter : 4;
1: + __wsum csum;
1: + struct sk_buff *last;
1: };
1:
1: struct ip_auth_hdr {
1: - __u8 nexthdr;
1: - __u8 hdrlen;
1: - __be16 reserved;
1: - __be32 spi;
1: - __be32 seq_no;
1: - __u8 auth_data[0];
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: + __be16 reserved;
1: + __be32 spi;
1: + __be32 seq_no;
1: + __u8 auth_data[0];
1: };
1:
1: struct frag_hdr {
1: - __u8 nexthdr;
1: - __u8 reserved;
1: - __be16 frag_off;
1: - __be32 identification;
1: + __u8 nexthdr;
1: + __u8 reserved;
1: + __be16 frag_off;
1: + __be32 identification;
1: };
1:
1: enum {
1: - SCM_TSTAMP_SND = 0,
1: - SCM_TSTAMP_SCHED = 1,
1: - SCM_TSTAMP_ACK = 2,
1: + SCM_TSTAMP_SND = 0,
1: + SCM_TSTAMP_SCHED = 1,
1: + SCM_TSTAMP_ACK = 2,
1: };
1:
1: struct xfrm_offload {
1: - struct {
1: - __u32 low;
1: - __u32 hi;
1: - } seq;
1: - __u32 flags;
1: - __u32 status;
1: - __u8 proto;
1: + struct {
1: + __u32 low;
1: + __u32 hi;
1: + } seq;
1: + __u32 flags;
1: + __u32 status;
1: + __u8 proto;
1: };
1:
1: struct sec_path {
1: - int len;
1: - int olen;
1: - struct xfrm_state *xvec[6];
1: - struct xfrm_offload ovec[1];
1: + int len;
1: + int olen;
1: + struct xfrm_state *xvec[6];
1: + struct xfrm_offload ovec[1];
1: };
1:
1: struct mpls_shim_hdr {
1: - __be32 label_stack_entry;
1: + __be32 label_stack_entry;
1: };
1:
1: struct napi_alloc_cache {
1: - struct page_frag_cache page;
1: - unsigned int skb_count;
1: - void *skb_cache[64];
1: + struct page_frag_cache page;
1: + unsigned int skb_count;
1: + void *skb_cache[64];
1: };
1:
1: struct scm_cookie {
1: - struct pid *pid;
1: - struct scm_fp_list *fp;
1: - struct scm_creds creds;
1: - u32 secid;
1: + struct pid *pid;
1: + struct scm_fp_list *fp;
1: + struct scm_creds creds;
1: + u32 secid;
1: };
1:
1: struct scm_timestamping {
1: - struct __kernel_old_timespec ts[3];
1: + struct __kernel_old_timespec ts[3];
1: };
1:
1: struct scm_timestamping64 {
1: - struct __kernel_timespec ts[3];
1: + struct __kernel_timespec ts[3];
1: };
1:
1: enum {
1: - TCA_STATS_UNSPEC = 0,
1: - TCA_STATS_BASIC = 1,
1: - TCA_STATS_RATE_EST = 2,
1: - TCA_STATS_QUEUE = 3,
1: - TCA_STATS_APP = 4,
1: - TCA_STATS_RATE_EST64 = 5,
1: - TCA_STATS_PAD = 6,
1: - TCA_STATS_BASIC_HW = 7,
1: - TCA_STATS_PKT64 = 8,
1: - __TCA_STATS_MAX = 9,
1: + TCA_STATS_UNSPEC = 0,
1: + TCA_STATS_BASIC = 1,
1: + TCA_STATS_RATE_EST = 2,
1: + TCA_STATS_QUEUE = 3,
1: + TCA_STATS_APP = 4,
1: + TCA_STATS_RATE_EST64 = 5,
1: + TCA_STATS_PAD = 6,
1: + TCA_STATS_BASIC_HW = 7,
1: + TCA_STATS_PKT64 = 8,
1: + __TCA_STATS_MAX = 9,
1: };
1:
1: struct gnet_stats_basic {
1: - __u64 bytes;
1: - __u32 packets;
1: + __u64 bytes;
1: + __u32 packets;
1: };
1:
1: struct gnet_stats_rate_est {
1: - __u32 bps;
1: - __u32 pps;
1: + __u32 bps;
1: + __u32 pps;
1: };
1:
1: struct gnet_stats_rate_est64 {
1: - __u64 bps;
1: - __u64 pps;
1: + __u64 bps;
1: + __u64 pps;
1: };
1:
1: struct gnet_estimator {
1: - signed char interval;
1: - unsigned char ewma_log;
1: + signed char interval;
1: + unsigned char ewma_log;
1: };
1:
1: struct net_rate_estimator {
1: - struct gnet_stats_basic_packed *bstats;
1: - spinlock_t *stats_lock;
1: - seqcount_t *running;
1: - struct gnet_stats_basic_cpu *cpu_bstats;
1: - u8 ewma_log;
1: - u8 intvl_log;
1: - seqcount_t seq;
1: - u64 last_packets;
1: - u64 last_bytes;
1: - u64 avpps;
1: - u64 avbps;
1: - long unsigned int next_jiffies;
1: - struct timer_list timer;
1: - struct callback_head rcu;
1: + struct gnet_stats_basic_packed *bstats;
1: + spinlock_t *stats_lock;
1: + seqcount_t *running;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + u8 ewma_log;
1: + u8 intvl_log;
1: + seqcount_t seq;
1: + u64 last_packets;
1: + u64 last_bytes;
1: + u64 avpps;
1: + u64 avbps;
1: + long unsigned int next_jiffies;
1: + struct timer_list timer;
1: + struct callback_head rcu;
1: };
1:
1: struct rtgenmsg {
1: - unsigned char rtgen_family;
1: + unsigned char rtgen_family;
1: };
1:
1: enum rtnetlink_groups {
1: - RTNLGRP_NONE = 0,
1: - RTNLGRP_LINK = 1,
1: - RTNLGRP_NOTIFY = 2,
1: - RTNLGRP_NEIGH = 3,
1: - RTNLGRP_TC = 4,
1: - RTNLGRP_IPV4_IFADDR = 5,
1: - RTNLGRP_IPV4_MROUTE = 6,
1: - RTNLGRP_IPV4_ROUTE = 7,
1: - RTNLGRP_IPV4_RULE = 8,
1: - RTNLGRP_IPV6_IFADDR = 9,
1: - RTNLGRP_IPV6_MROUTE = 10,
1: - RTNLGRP_IPV6_ROUTE = 11,
1: - RTNLGRP_IPV6_IFINFO = 12,
1: - RTNLGRP_DECnet_IFADDR = 13,
1: - RTNLGRP_NOP2 = 14,
1: - RTNLGRP_DECnet_ROUTE = 15,
1: - RTNLGRP_DECnet_RULE = 16,
1: - RTNLGRP_NOP4 = 17,
1: - RTNLGRP_IPV6_PREFIX = 18,
1: - RTNLGRP_IPV6_RULE = 19,
1: - RTNLGRP_ND_USEROPT = 20,
1: - RTNLGRP_PHONET_IFADDR = 21,
1: - RTNLGRP_PHONET_ROUTE = 22,
1: - RTNLGRP_DCB = 23,
1: - RTNLGRP_IPV4_NETCONF = 24,
1: - RTNLGRP_IPV6_NETCONF = 25,
1: - RTNLGRP_MDB = 26,
1: - RTNLGRP_MPLS_ROUTE = 27,
1: - RTNLGRP_NSID = 28,
1: - RTNLGRP_MPLS_NETCONF = 29,
1: - RTNLGRP_IPV4_MROUTE_R = 30,
1: - RTNLGRP_IPV6_MROUTE_R = 31,
1: - RTNLGRP_NEXTHOP = 32,
1: - __RTNLGRP_MAX = 33,
1: -};
1: -
1: -enum {
1: - NETNSA_NONE = 0,
1: - NETNSA_NSID = 1,
1: - NETNSA_PID = 2,
1: - NETNSA_FD = 3,
1: - NETNSA_TARGET_NSID = 4,
1: - NETNSA_CURRENT_NSID = 5,
1: - __NETNSA_MAX = 6,
1: -};
1: -
1: -typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *, struct netlink_ext_ack *);
1: + RTNLGRP_NONE = 0,
1: + RTNLGRP_LINK = 1,
1: + RTNLGRP_NOTIFY = 2,
1: + RTNLGRP_NEIGH = 3,
1: + RTNLGRP_TC = 4,
1: + RTNLGRP_IPV4_IFADDR = 5,
1: + RTNLGRP_IPV4_MROUTE = 6,
1: + RTNLGRP_IPV4_ROUTE = 7,
1: + RTNLGRP_IPV4_RULE = 8,
1: + RTNLGRP_IPV6_IFADDR = 9,
1: + RTNLGRP_IPV6_MROUTE = 10,
1: + RTNLGRP_IPV6_ROUTE = 11,
1: + RTNLGRP_IPV6_IFINFO = 12,
1: + RTNLGRP_DECnet_IFADDR = 13,
1: + RTNLGRP_NOP2 = 14,
1: + RTNLGRP_DECnet_ROUTE = 15,
1: + RTNLGRP_DECnet_RULE = 16,
1: + RTNLGRP_NOP4 = 17,
1: + RTNLGRP_IPV6_PREFIX = 18,
1: + RTNLGRP_IPV6_RULE = 19,
1: + RTNLGRP_ND_USEROPT = 20,
1: + RTNLGRP_PHONET_IFADDR = 21,
1: + RTNLGRP_PHONET_ROUTE = 22,
1: + RTNLGRP_DCB = 23,
1: + RTNLGRP_IPV4_NETCONF = 24,
1: + RTNLGRP_IPV6_NETCONF = 25,
1: + RTNLGRP_MDB = 26,
1: + RTNLGRP_MPLS_ROUTE = 27,
1: + RTNLGRP_NSID = 28,
1: + RTNLGRP_MPLS_NETCONF = 29,
1: + RTNLGRP_IPV4_MROUTE_R = 30,
1: + RTNLGRP_IPV6_MROUTE_R = 31,
1: + RTNLGRP_NEXTHOP = 32,
1: + __RTNLGRP_MAX = 33,
1: +};
1: +
1: +enum {
1: + NETNSA_NONE = 0,
1: + NETNSA_NSID = 1,
1: + NETNSA_PID = 2,
1: + NETNSA_FD = 3,
1: + NETNSA_TARGET_NSID = 4,
1: + NETNSA_CURRENT_NSID = 5,
1: + __NETNSA_MAX = 6,
1: +};
1: +
1: +typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *,
1: + struct netlink_ext_ack *);
1:
1: typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *);
1:
1: enum rtnl_link_flags {
1: - RTNL_FLAG_DOIT_UNLOCKED = 1,
1: + RTNL_FLAG_DOIT_UNLOCKED = 1,
1: };
1:
1: struct net_fill_args {
1: - u32 portid;
1: - u32 seq;
1: - int flags;
1: - int cmd;
1: - int nsid;
1: - bool add_ref;
1: - int ref_nsid;
1: + u32 portid;
1: + u32 seq;
1: + int flags;
1: + int cmd;
1: + int nsid;
1: + bool add_ref;
1: + int ref_nsid;
1: };
1:
1: struct rtnl_net_dump_cb {
1: - struct net *tgt_net;
1: - struct net *ref_net;
1: - struct sk_buff *skb;
1: - struct net_fill_args fillargs;
1: - int idx;
1: - int s_idx;
1: + struct net *tgt_net;
1: + struct net *ref_net;
1: + struct sk_buff *skb;
1: + struct net_fill_args fillargs;
1: + int idx;
1: + int s_idx;
1: };
1:
1: typedef u16 u_int16_t;
1:
1: struct flow_dissector_key_control {
1: - u16 thoff;
1: - u16 addr_type;
1: - u32 flags;
1: + u16 thoff;
1: + u16 addr_type;
1: + u32 flags;
1: };
1:
1: enum flow_dissect_ret {
1: - FLOW_DISSECT_RET_OUT_GOOD = 0,
1: - FLOW_DISSECT_RET_OUT_BAD = 1,
1: - FLOW_DISSECT_RET_PROTO_AGAIN = 2,
1: - FLOW_DISSECT_RET_IPPROTO_AGAIN = 3,
1: - FLOW_DISSECT_RET_CONTINUE = 4,
1: + FLOW_DISSECT_RET_OUT_GOOD = 0,
1: + FLOW_DISSECT_RET_OUT_BAD = 1,
1: + FLOW_DISSECT_RET_PROTO_AGAIN = 2,
1: + FLOW_DISSECT_RET_IPPROTO_AGAIN = 3,
1: + FLOW_DISSECT_RET_CONTINUE = 4,
1: };
1:
1: struct flow_dissector_key_basic {
1: - __be16 n_proto;
1: - u8 ip_proto;
1: - u8 padding;
1: + __be16 n_proto;
1: + u8 ip_proto;
1: + u8 padding;
1: };
1:
1: struct flow_dissector_key_tags {
1: - u32 flow_label;
1: + u32 flow_label;
1: };
1:
1: struct flow_dissector_key_vlan {
1: - union {
1: - struct {
1: - u16 vlan_id: 12;
1: - u16 vlan_dei: 1;
1: - u16 vlan_priority: 3;
1: - };
1: - __be16 vlan_tci;
1: - };
1: - __be16 vlan_tpid;
1: + union {
1: + struct {
1: + u16 vlan_id : 12;
1: + u16 vlan_dei : 1;
1: + u16 vlan_priority : 3;
1: + };
1: + __be16 vlan_tci;
1: + };
1: + __be16 vlan_tpid;
1: };
1:
1: struct flow_dissector_key_mpls {
1: - u32 mpls_ttl: 8;
1: - u32 mpls_bos: 1;
1: - u32 mpls_tc: 3;
1: - u32 mpls_label: 20;
1: + u32 mpls_ttl : 8;
1: + u32 mpls_bos : 1;
1: + u32 mpls_tc : 3;
1: + u32 mpls_label : 20;
1: };
1:
1: struct flow_dissector_key_enc_opts {
1: - u8 data[255];
1: - u8 len;
1: - __be16 dst_opt_type;
1: + u8 data[255];
1: + u8 len;
1: + __be16 dst_opt_type;
1: };
1:
1: struct flow_dissector_key_keyid {
1: - __be32 keyid;
1: + __be32 keyid;
1: };
1:
1: struct flow_dissector_key_ipv4_addrs {
1: - __be32 src;
1: - __be32 dst;
1: + __be32 src;
1: + __be32 dst;
1: };
1:
1: struct flow_dissector_key_ipv6_addrs {
1: - struct in6_addr src;
1: - struct in6_addr dst;
1: + struct in6_addr src;
1: + struct in6_addr dst;
1: };
1:
1: struct flow_dissector_key_tipc {
1: - __be32 key;
1: + __be32 key;
1: };
1:
1: struct flow_dissector_key_addrs {
1: - union {
1: - struct flow_dissector_key_ipv4_addrs v4addrs;
1: - struct flow_dissector_key_ipv6_addrs v6addrs;
1: - struct flow_dissector_key_tipc tipckey;
1: - };
1: + union {
1: + struct flow_dissector_key_ipv4_addrs v4addrs;
1: + struct flow_dissector_key_ipv6_addrs v6addrs;
1: + struct flow_dissector_key_tipc tipckey;
1: + };
1: };
1:
1: struct flow_dissector_key_arp {
1: - __u32 sip;
1: - __u32 tip;
1: - __u8 op;
1: - unsigned char sha[6];
1: - unsigned char tha[6];
1: + __u32 sip;
1: + __u32 tip;
1: + __u8 op;
1: + unsigned char sha[6];
1: + unsigned char tha[6];
1: };
1:
1: struct flow_dissector_key_ports {
1: - union {
1: - __be32 ports;
1: - struct {
1: - __be16 src;
1: - __be16 dst;
1: - };
1: - };
1: + union {
1: + __be32 ports;
1: + struct {
1: + __be16 src;
1: + __be16 dst;
1: + };
1: + };
1: };
1:
1: struct flow_dissector_key_icmp {
1: - struct {
1: - u8 type;
1: - u8 code;
1: - };
1: - u16 id;
1: + struct {
1: + u8 type;
1: + u8 code;
1: + };
1: + u16 id;
1: };
1:
1: struct flow_dissector_key_eth_addrs {
1: - unsigned char dst[6];
1: - unsigned char src[6];
1: + unsigned char dst[6];
1: + unsigned char src[6];
1: };
1:
1: struct flow_dissector_key_tcp {
1: - __be16 flags;
1: + __be16 flags;
1: };
1:
1: struct flow_dissector_key_ip {
1: - __u8 tos;
1: - __u8 ttl;
1: + __u8 tos;
1: + __u8 ttl;
1: };
1:
1: struct flow_dissector_key_meta {
1: - int ingress_ifindex;
1: - u16 ingress_iftype;
1: + int ingress_ifindex;
1: + u16 ingress_iftype;
1: };
1:
1: struct flow_dissector_key_ct {
1: - u16 ct_state;
1: - u16 ct_zone;
1: - u32 ct_mark;
1: - u32 ct_labels[4];
1: + u16 ct_state;
1: + u16 ct_zone;
1: + u32 ct_mark;
1: + u32 ct_labels[4];
1: };
1:
1: struct flow_dissector_key {
1: - enum flow_dissector_key_id key_id;
1: - size_t offset;
1: + enum flow_dissector_key_id key_id;
1: + size_t offset;
1: };
1:
1: struct flow_keys_basic {
1: - struct flow_dissector_key_control control;
1: - struct flow_dissector_key_basic basic;
1: + struct flow_dissector_key_control control;
1: + struct flow_dissector_key_basic basic;
1: };
1:
1: struct flow_keys {
1: - struct flow_dissector_key_control control;
1: - struct flow_dissector_key_basic basic;
1: - struct flow_dissector_key_tags tags;
1: - struct flow_dissector_key_vlan vlan;
1: - struct flow_dissector_key_vlan cvlan;
1: - struct flow_dissector_key_keyid keyid;
1: - struct flow_dissector_key_ports ports;
1: - struct flow_dissector_key_icmp icmp;
1: - struct flow_dissector_key_addrs addrs;
1: - int: 32;
1: + struct flow_dissector_key_control control;
1: + struct flow_dissector_key_basic basic;
1: + struct flow_dissector_key_tags tags;
1: + struct flow_dissector_key_vlan vlan;
1: + struct flow_dissector_key_vlan cvlan;
1: + struct flow_dissector_key_keyid keyid;
1: + struct flow_dissector_key_ports ports;
1: + struct flow_dissector_key_icmp icmp;
1: + struct flow_dissector_key_addrs addrs;
1: + int : 32;
1: };
1:
1: struct flow_keys_digest {
1: - u8 data[16];
1: + u8 data[16];
1: };
1:
1: struct bpf_flow_keys;
1:
1: struct bpf_flow_dissector {
1: - struct bpf_flow_keys *flow_keys;
1: - const struct sk_buff *skb;
1: - void *data;
1: - void *data_end;
1: + struct bpf_flow_keys *flow_keys;
1: + const struct sk_buff *skb;
1: + void *data;
1: + void *data_end;
1: };
1:
1: struct bpf_flow_keys {
1: - __u16 nhoff;
1: - __u16 thoff;
1: - __u16 addr_proto;
1: - __u8 is_frag;
1: - __u8 is_first_frag;
1: - __u8 is_encap;
1: - __u8 ip_proto;
1: - __be16 n_proto;
1: - __be16 sport;
1: - __be16 dport;
1: - union {
1: - struct {
1: - __be32 ipv4_src;
1: - __be32 ipv4_dst;
1: - };
1: - struct {
1: - __u32 ipv6_src[4];
1: - __u32 ipv6_dst[4];
1: - };
1: - };
1: - __u32 flags;
1: - __be32 flow_label;
1: + __u16 nhoff;
1: + __u16 thoff;
1: + __u16 addr_proto;
1: + __u8 is_frag;
1: + __u8 is_first_frag;
1: + __u8 is_encap;
1: + __u8 ip_proto;
1: + __be16 n_proto;
1: + __be16 sport;
1: + __be16 dport;
1: + union {
1: + struct {
1: + __be32 ipv4_src;
1: + __be32 ipv4_dst;
1: + };
1: + struct {
1: + __u32 ipv6_src[4];
1: + __u32 ipv6_dst[4];
1: + };
1: + };
1: + __u32 flags;
1: + __be32 flow_label;
1: };
1:
1: enum ip_conntrack_info {
1: - IP_CT_ESTABLISHED = 0,
1: - IP_CT_RELATED = 1,
1: - IP_CT_NEW = 2,
1: - IP_CT_IS_REPLY = 3,
1: - IP_CT_ESTABLISHED_REPLY = 3,
1: - IP_CT_RELATED_REPLY = 4,
1: - IP_CT_NUMBER = 5,
1: - IP_CT_UNTRACKED = 7,
1: + IP_CT_ESTABLISHED = 0,
1: + IP_CT_RELATED = 1,
1: + IP_CT_NEW = 2,
1: + IP_CT_IS_REPLY = 3,
1: + IP_CT_ESTABLISHED_REPLY = 3,
1: + IP_CT_RELATED_REPLY = 4,
1: + IP_CT_NUMBER = 5,
1: + IP_CT_UNTRACKED = 7,
1: };
1:
1: struct xt_table_info;
1:
1: struct xt_table {
1: - struct list_head list;
1: - unsigned int valid_hooks;
1: - struct xt_table_info *private;
1: - struct module *me;
1: - u_int8_t af;
1: - int priority;
1: - int (*table_init)(struct net *);
1: - char name[32];
1: + struct list_head list;
1: + unsigned int valid_hooks;
1: + struct xt_table_info *private;
1: + struct module *me;
1: + u_int8_t af;
1: + int priority;
1: + int (*table_init)(struct net *);
1: + char name[32];
1: };
1:
1: union nf_inet_addr {
1: - __u32 all[4];
1: - __be32 ip;
1: - __be32 ip6[4];
1: - struct in_addr in;
1: - struct in6_addr in6;
1: + __u32 all[4];
1: + __be32 ip;
1: + __be32 ip6[4];
1: + struct in_addr in;
1: + struct in6_addr in6;
1: };
1:
1: struct ip_ct_tcp_state {
1: - u_int32_t td_end;
1: - u_int32_t td_maxend;
1: - u_int32_t td_maxwin;
1: - u_int32_t td_maxack;
1: - u_int8_t td_scale;
1: - u_int8_t flags;
1: + u_int32_t td_end;
1: + u_int32_t td_maxend;
1: + u_int32_t td_maxwin;
1: + u_int32_t td_maxack;
1: + u_int8_t td_scale;
1: + u_int8_t flags;
1: };
1:
1: struct ip_ct_tcp {
1: - struct ip_ct_tcp_state seen[2];
1: - u_int8_t state;
1: - u_int8_t last_dir;
1: - u_int8_t retrans;
1: - u_int8_t last_index;
1: - u_int32_t last_seq;
1: - u_int32_t last_ack;
1: - u_int32_t last_end;
1: - u_int16_t last_win;
1: - u_int8_t last_wscale;
1: - u_int8_t last_flags;
1: + struct ip_ct_tcp_state seen[2];
1: + u_int8_t state;
1: + u_int8_t last_dir;
1: + u_int8_t retrans;
1: + u_int8_t last_index;
1: + u_int32_t last_seq;
1: + u_int32_t last_ack;
1: + u_int32_t last_end;
1: + u_int16_t last_win;
1: + u_int8_t last_wscale;
1: + u_int8_t last_flags;
1: };
1:
1: enum bpf_ret_code {
1: - BPF_OK = 0,
1: - BPF_DROP = 2,
1: - BPF_REDIRECT = 7,
1: - BPF_LWT_REROUTE = 128,
1: + BPF_OK = 0,
1: + BPF_DROP = 2,
1: + BPF_REDIRECT = 7,
1: + BPF_LWT_REROUTE = 128,
1: };
1:
1: enum devlink_port_type {
1: - DEVLINK_PORT_TYPE_NOTSET = 0,
1: - DEVLINK_PORT_TYPE_AUTO = 1,
1: - DEVLINK_PORT_TYPE_ETH = 2,
1: - DEVLINK_PORT_TYPE_IB = 3,
1: + DEVLINK_PORT_TYPE_NOTSET = 0,
1: + DEVLINK_PORT_TYPE_AUTO = 1,
1: + DEVLINK_PORT_TYPE_ETH = 2,
1: + DEVLINK_PORT_TYPE_IB = 3,
1: };
1:
1: enum devlink_port_flavour {
1: - DEVLINK_PORT_FLAVOUR_PHYSICAL = 0,
1: - DEVLINK_PORT_FLAVOUR_CPU = 1,
1: - DEVLINK_PORT_FLAVOUR_DSA = 2,
1: - DEVLINK_PORT_FLAVOUR_PCI_PF = 3,
1: - DEVLINK_PORT_FLAVOUR_PCI_VF = 4,
1: + DEVLINK_PORT_FLAVOUR_PHYSICAL = 0,
1: + DEVLINK_PORT_FLAVOUR_CPU = 1,
1: + DEVLINK_PORT_FLAVOUR_DSA = 2,
1: + DEVLINK_PORT_FLAVOUR_PCI_PF = 3,
1: + DEVLINK_PORT_FLAVOUR_PCI_VF = 4,
1: };
1:
1: struct devlink_port_phys_attrs {
1: - u32 port_number;
1: - u32 split_subport_number;
1: + u32 port_number;
1: + u32 split_subport_number;
1: };
1:
1: struct devlink_port_pci_pf_attrs {
1: - u16 pf;
1: + u16 pf;
1: };
1:
1: struct devlink_port_pci_vf_attrs {
1: - u16 pf;
1: - u16 vf;
1: + u16 pf;
1: + u16 vf;
1: };
1:
1: struct devlink_port_attrs {
1: - u8 set: 1;
1: - u8 split: 1;
1: - u8 switch_port: 1;
1: - enum devlink_port_flavour flavour;
1: - struct netdev_phys_item_id switch_id;
1: - union {
1: - struct devlink_port_phys_attrs phys;
1: - struct devlink_port_pci_pf_attrs pci_pf;
1: - struct devlink_port_pci_vf_attrs pci_vf;
1: - };
1: + u8 set : 1;
1: + u8 split : 1;
1: + u8 switch_port : 1;
1: + enum devlink_port_flavour flavour;
1: + struct netdev_phys_item_id switch_id;
1: + union {
1: + struct devlink_port_phys_attrs phys;
1: + struct devlink_port_pci_pf_attrs pci_pf;
1: + struct devlink_port_pci_vf_attrs pci_vf;
1: + };
1: };
1:
1: struct devlink;
1:
1: struct devlink_port {
1: - struct list_head list;
1: - struct list_head param_list;
1: - struct devlink *devlink;
1: - unsigned int index;
1: - bool registered;
1: - spinlock_t type_lock;
1: - enum devlink_port_type type;
1: - enum devlink_port_type desired_type;
1: - void *type_dev;
1: - struct devlink_port_attrs attrs;
1: - struct delayed_work type_warn_dw;
1: + struct list_head list;
1: + struct list_head param_list;
1: + struct devlink *devlink;
1: + unsigned int index;
1: + bool registered;
1: + spinlock_t type_lock;
1: + enum devlink_port_type type;
1: + enum devlink_port_type desired_type;
1: + void *type_dev;
1: + struct devlink_port_attrs attrs;
1: + struct delayed_work type_warn_dw;
1: };
1:
1: struct ip_tunnel_key {
1: - __be64 tun_id;
1: - union {
1: - struct {
1: - __be32 src;
1: - __be32 dst;
1: - } ipv4;
1: - struct {
1: - struct in6_addr src;
1: - struct in6_addr dst;
1: - } ipv6;
1: - } u;
1: - __be16 tun_flags;
1: - u8 tos;
1: - u8 ttl;
1: - __be32 label;
1: - __be16 tp_src;
1: - __be16 tp_dst;
1: + __be64 tun_id;
1: + union {
1: + struct {
1: + __be32 src;
1: + __be32 dst;
1: + } ipv4;
1: + struct {
1: + struct in6_addr src;
1: + struct in6_addr dst;
1: + } ipv6;
1: + } u;
1: + __be16 tun_flags;
1: + u8 tos;
1: + u8 ttl;
1: + __be32 label;
1: + __be16 tp_src;
1: + __be16 tp_dst;
1: };
1:
1: struct dst_cache_pcpu;
1:
1: struct dst_cache {
1: - struct dst_cache_pcpu *cache;
1: - long unsigned int reset_ts;
1: + struct dst_cache_pcpu *cache;
1: + long unsigned int reset_ts;
1: };
1:
1: struct ip_tunnel_info {
1: - struct ip_tunnel_key key;
1: - struct dst_cache dst_cache;
1: - u8 options_len;
1: - u8 mode;
1: + struct ip_tunnel_key key;
1: + struct dst_cache dst_cache;
1: + u8 options_len;
1: + u8 mode;
1: };
1:
1: struct lwtunnel_state {
1: - __u16 type;
1: - __u16 flags;
1: - __u16 headroom;
1: - atomic_t refcnt;
1: - int (*orig_output)(struct net *, struct sock *, struct sk_buff *);
1: - int (*orig_input)(struct sk_buff *);
1: - struct callback_head rcu;
1: - __u8 data[0];
1: + __u16 type;
1: + __u16 flags;
1: + __u16 headroom;
1: + atomic_t refcnt;
1: + int (*orig_output)(struct net *, struct sock *, struct sk_buff *);
1: + int (*orig_input)(struct sk_buff *);
1: + struct callback_head rcu;
1: + __u8 data[0];
1: };
1:
1: union tcp_word_hdr {
1: - struct tcphdr hdr;
1: - __be32 words[5];
1: + struct tcphdr hdr;
1: + __be32 words[5];
1: };
1:
1: enum devlink_sb_pool_type {
1: - DEVLINK_SB_POOL_TYPE_INGRESS = 0,
1: - DEVLINK_SB_POOL_TYPE_EGRESS = 1,
1: + DEVLINK_SB_POOL_TYPE_INGRESS = 0,
1: + DEVLINK_SB_POOL_TYPE_EGRESS = 1,
1: };
1:
1: enum devlink_sb_threshold_type {
1: - DEVLINK_SB_THRESHOLD_TYPE_STATIC = 0,
1: - DEVLINK_SB_THRESHOLD_TYPE_DYNAMIC = 1,
1: + DEVLINK_SB_THRESHOLD_TYPE_STATIC = 0,
1: + DEVLINK_SB_THRESHOLD_TYPE_DYNAMIC = 1,
1: };
1:
1: enum devlink_eswitch_encap_mode {
1: - DEVLINK_ESWITCH_ENCAP_MODE_NONE = 0,
1: - DEVLINK_ESWITCH_ENCAP_MODE_BASIC = 1,
1: + DEVLINK_ESWITCH_ENCAP_MODE_NONE = 0,
1: + DEVLINK_ESWITCH_ENCAP_MODE_BASIC = 1,
1: };
1:
1: enum devlink_trap_action {
1: - DEVLINK_TRAP_ACTION_DROP = 0,
1: - DEVLINK_TRAP_ACTION_TRAP = 1,
1: + DEVLINK_TRAP_ACTION_DROP = 0,
1: + DEVLINK_TRAP_ACTION_TRAP = 1,
1: };
1:
1: enum devlink_trap_type {
1: - DEVLINK_TRAP_TYPE_DROP = 0,
1: - DEVLINK_TRAP_TYPE_EXCEPTION = 1,
1: + DEVLINK_TRAP_TYPE_DROP = 0,
1: + DEVLINK_TRAP_TYPE_EXCEPTION = 1,
1: };
1:
1: enum devlink_dpipe_field_mapping_type {
1: - DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0,
1: - DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 1,
1: + DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0,
1: + DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 1,
1: };
1:
1: struct devlink_dpipe_headers;
1: @@ -101026,37 +101748,37 @@ struct devlink_dpipe_headers;
1: struct devlink_ops;
1:
1: struct devlink {
1: - struct list_head list;
1: - struct list_head port_list;
1: - struct list_head sb_list;
1: - struct list_head dpipe_table_list;
1: - struct list_head resource_list;
1: - struct list_head param_list;
1: - struct list_head region_list;
1: - u32 snapshot_id;
1: - struct list_head reporter_list;
1: - struct mutex reporters_lock;
1: - struct devlink_dpipe_headers *dpipe_headers;
1: - struct list_head trap_list;
1: - struct list_head trap_group_list;
1: - const struct devlink_ops *ops;
1: - struct device *dev;
1: - possible_net_t _net;
1: - struct mutex lock;
1: - u8 reload_failed: 1;
1: - u8 reload_enabled: 1;
1: - u8 registered: 1;
1: - long: 61;
1: - long: 64;
1: - long: 64;
1: - char priv[0];
1: + struct list_head list;
1: + struct list_head port_list;
1: + struct list_head sb_list;
1: + struct list_head dpipe_table_list;
1: + struct list_head resource_list;
1: + struct list_head param_list;
1: + struct list_head region_list;
1: + u32 snapshot_id;
1: + struct list_head reporter_list;
1: + struct mutex reporters_lock;
1: + struct devlink_dpipe_headers *dpipe_headers;
1: + struct list_head trap_list;
1: + struct list_head trap_group_list;
1: + const struct devlink_ops *ops;
1: + struct device *dev;
1: + possible_net_t _net;
1: + struct mutex lock;
1: + u8 reload_failed : 1;
1: + u8 reload_enabled : 1;
1: + u8 registered : 1;
1: + long : 61;
1: + long : 64;
1: + long : 64;
1: + char priv[0];
1: };
1:
1: struct devlink_dpipe_header;
1:
1: struct devlink_dpipe_headers {
1: - struct devlink_dpipe_header **headers;
1: - unsigned int headers_count;
1: + struct devlink_dpipe_header **headers;
1: + unsigned int headers_count;
1: };
1:
1: struct devlink_info_req;
1: @@ -101068,113 +101790,129 @@ struct devlink_trap;
1: struct devlink_trap_group;
1:
1: struct devlink_ops {
1: - int (*reload_down)(struct devlink *, bool, struct netlink_ext_ack *);
1: - int (*reload_up)(struct devlink *, struct netlink_ext_ack *);
1: - int (*port_type_set)(struct devlink_port *, enum devlink_port_type);
1: - int (*port_split)(struct devlink *, unsigned int, unsigned int, struct netlink_ext_ack *);
1: - int (*port_unsplit)(struct devlink *, unsigned int, struct netlink_ext_ack *);
1: - int (*sb_pool_get)(struct devlink *, unsigned int, u16, struct devlink_sb_pool_info *);
1: - int (*sb_pool_set)(struct devlink *, unsigned int, u16, u32, enum devlink_sb_threshold_type, struct netlink_ext_ack *);
1: - int (*sb_port_pool_get)(struct devlink_port *, unsigned int, u16, u32 *);
1: - int (*sb_port_pool_set)(struct devlink_port *, unsigned int, u16, u32, struct netlink_ext_ack *);
1: - int (*sb_tc_pool_bind_get)(struct devlink_port *, unsigned int, u16, enum devlink_sb_pool_type, u16 *, u32 *);
1: - int (*sb_tc_pool_bind_set)(struct devlink_port *, unsigned int, u16, enum devlink_sb_pool_type, u16, u32, struct netlink_ext_ack *);
1: - int (*sb_occ_snapshot)(struct devlink *, unsigned int);
1: - int (*sb_occ_max_clear)(struct devlink *, unsigned int);
1: - int (*sb_occ_port_pool_get)(struct devlink_port *, unsigned int, u16, u32 *, u32 *);
1: - int (*sb_occ_tc_port_bind_get)(struct devlink_port *, unsigned int, u16, enum devlink_sb_pool_type, u32 *, u32 *);
1: - int (*eswitch_mode_get)(struct devlink *, u16 *);
1: - int (*eswitch_mode_set)(struct devlink *, u16, struct netlink_ext_ack *);
1: - int (*eswitch_inline_mode_get)(struct devlink *, u8 *);
1: - int (*eswitch_inline_mode_set)(struct devlink *, u8, struct netlink_ext_ack *);
1: - int (*eswitch_encap_mode_get)(struct devlink *, enum devlink_eswitch_encap_mode *);
1: - int (*eswitch_encap_mode_set)(struct devlink *, enum devlink_eswitch_encap_mode, struct netlink_ext_ack *);
1: - int (*info_get)(struct devlink *, struct devlink_info_req *, struct netlink_ext_ack *);
1: - int (*flash_update)(struct devlink *, const char *, const char *, struct netlink_ext_ack *);
1: - int (*trap_init)(struct devlink *, const struct devlink_trap *, void *);
1: - void (*trap_fini)(struct devlink *, const struct devlink_trap *, void *);
1: - int (*trap_action_set)(struct devlink *, const struct devlink_trap *, enum devlink_trap_action);
1: - int (*trap_group_init)(struct devlink *, const struct devlink_trap_group *);
1: + int (*reload_down)(struct devlink *, bool, struct netlink_ext_ack *);
1: + int (*reload_up)(struct devlink *, struct netlink_ext_ack *);
1: + int (*port_type_set)(struct devlink_port *, enum devlink_port_type);
1: + int (*port_split)(struct devlink *, unsigned int, unsigned int,
1: + struct netlink_ext_ack *);
1: + int (*port_unsplit)(struct devlink *, unsigned int, struct netlink_ext_ack *);
1: + int (*sb_pool_get)(struct devlink *, unsigned int, u16,
1: + struct devlink_sb_pool_info *);
1: + int (*sb_pool_set)(struct devlink *, unsigned int, u16, u32,
1: + enum devlink_sb_threshold_type, struct netlink_ext_ack *);
1: + int (*sb_port_pool_get)(struct devlink_port *, unsigned int, u16, u32 *);
1: + int (*sb_port_pool_set)(struct devlink_port *, unsigned int, u16, u32,
1: + struct netlink_ext_ack *);
1: + int (*sb_tc_pool_bind_get)(struct devlink_port *, unsigned int, u16,
1: + enum devlink_sb_pool_type, u16 *, u32 *);
1: + int (*sb_tc_pool_bind_set)(struct devlink_port *, unsigned int, u16,
1: + enum devlink_sb_pool_type, u16, u32,
1: + struct netlink_ext_ack *);
1: + int (*sb_occ_snapshot)(struct devlink *, unsigned int);
1: + int (*sb_occ_max_clear)(struct devlink *, unsigned int);
1: + int (*sb_occ_port_pool_get)(struct devlink_port *, unsigned int, u16, u32 *,
1: + u32 *);
1: + int (*sb_occ_tc_port_bind_get)(struct devlink_port *, unsigned int, u16,
1: + enum devlink_sb_pool_type, u32 *, u32 *);
1: + int (*eswitch_mode_get)(struct devlink *, u16 *);
1: + int (*eswitch_mode_set)(struct devlink *, u16, struct netlink_ext_ack *);
1: + int (*eswitch_inline_mode_get)(struct devlink *, u8 *);
1: + int (*eswitch_inline_mode_set)(struct devlink *, u8,
1: + struct netlink_ext_ack *);
1: + int (*eswitch_encap_mode_get)(struct devlink *,
1: + enum devlink_eswitch_encap_mode *);
1: + int (*eswitch_encap_mode_set)(struct devlink *,
1: + enum devlink_eswitch_encap_mode,
1: + struct netlink_ext_ack *);
1: + int (*info_get)(struct devlink *, struct devlink_info_req *,
1: + struct netlink_ext_ack *);
1: + int (*flash_update)(struct devlink *, const char *, const char *,
1: + struct netlink_ext_ack *);
1: + int (*trap_init)(struct devlink *, const struct devlink_trap *, void *);
1: + void (*trap_fini)(struct devlink *, const struct devlink_trap *, void *);
1: + int (*trap_action_set)(struct devlink *, const struct devlink_trap *,
1: + enum devlink_trap_action);
1: + int (*trap_group_init)(struct devlink *, const struct devlink_trap_group *);
1: };
1:
1: struct devlink_sb_pool_info {
1: - enum devlink_sb_pool_type pool_type;
1: - u32 size;
1: - enum devlink_sb_threshold_type threshold_type;
1: - u32 cell_size;
1: + enum devlink_sb_pool_type pool_type;
1: + u32 size;
1: + enum devlink_sb_threshold_type threshold_type;
1: + u32 cell_size;
1: };
1:
1: struct devlink_dpipe_field {
1: - const char *name;
1: - unsigned int id;
1: - unsigned int bitwidth;
1: - enum devlink_dpipe_field_mapping_type mapping_type;
1: + const char *name;
1: + unsigned int id;
1: + unsigned int bitwidth;
1: + enum devlink_dpipe_field_mapping_type mapping_type;
1: };
1:
1: struct devlink_dpipe_header {
1: - const char *name;
1: - unsigned int id;
1: - struct devlink_dpipe_field *fields;
1: - unsigned int fields_count;
1: - bool global;
1: + const char *name;
1: + unsigned int id;
1: + struct devlink_dpipe_field *fields;
1: + unsigned int fields_count;
1: + bool global;
1: };
1:
1: struct devlink_trap_group {
1: - const char *name;
1: - u16 id;
1: - bool generic;
1: + const char *name;
1: + u16 id;
1: + bool generic;
1: };
1:
1: struct devlink_trap {
1: - enum devlink_trap_type type;
1: - enum devlink_trap_action init_action;
1: - bool generic;
1: - u16 id;
1: - const char *name;
1: - struct devlink_trap_group group;
1: - u32 metadata_cap;
1: + enum devlink_trap_type type;
1: + enum devlink_trap_action init_action;
1: + bool generic;
1: + u16 id;
1: + const char *name;
1: + struct devlink_trap_group group;
1: + u32 metadata_cap;
1: };
1:
1: struct arphdr {
1: - __be16 ar_hrd;
1: - __be16 ar_pro;
1: - unsigned char ar_hln;
1: - unsigned char ar_pln;
1: - __be16 ar_op;
1: + __be16 ar_hrd;
1: + __be16 ar_pro;
1: + unsigned char ar_hln;
1: + unsigned char ar_pln;
1: + __be16 ar_op;
1: };
1:
1: struct fib_info;
1:
1: struct fib_nh {
1: - struct fib_nh_common nh_common;
1: - struct hlist_node nh_hash;
1: - struct fib_info *nh_parent;
1: - __be32 nh_saddr;
1: - int nh_saddr_genid;
1: + struct fib_nh_common nh_common;
1: + struct hlist_node nh_hash;
1: + struct fib_info *nh_parent;
1: + __be32 nh_saddr;
1: + int nh_saddr_genid;
1: };
1:
1: struct fib_info {
1: - struct hlist_node fib_hash;
1: - struct hlist_node fib_lhash;
1: - struct list_head nh_list;
1: - struct net *fib_net;
1: - int fib_treeref;
1: - refcount_t fib_clntref;
1: - unsigned int fib_flags;
1: - unsigned char fib_dead;
1: - unsigned char fib_protocol;
1: - unsigned char fib_scope;
1: - unsigned char fib_type;
1: - __be32 fib_prefsrc;
1: - u32 fib_tb_id;
1: - u32 fib_priority;
1: - struct dst_metrics *fib_metrics;
1: - int fib_nhs;
1: - bool fib_nh_is_v6;
1: - bool nh_updated;
1: - struct nexthop *nh;
1: - struct callback_head rcu;
1: - struct fib_nh fib_nh[0];
1: + struct hlist_node fib_hash;
1: + struct hlist_node fib_lhash;
1: + struct list_head nh_list;
1: + struct net *fib_net;
1: + int fib_treeref;
1: + refcount_t fib_clntref;
1: + unsigned int fib_flags;
1: + unsigned char fib_dead;
1: + unsigned char fib_protocol;
1: + unsigned char fib_scope;
1: + unsigned char fib_type;
1: + __be32 fib_prefsrc;
1: + u32 fib_tb_id;
1: + u32 fib_priority;
1: + struct dst_metrics *fib_metrics;
1: + int fib_nhs;
1: + bool fib_nh_is_v6;
1: + bool nh_updated;
1: + struct nexthop *nh;
1: + struct callback_head rcu;
1: + struct fib_nh fib_nh[0];
1: };
1:
1: struct nh_info;
1: @@ -101182,799 +101920,802 @@ struct nh_info;
1: struct nh_group;
1:
1: struct nexthop {
1: - struct rb_node rb_node;
1: - struct list_head fi_list;
1: - struct list_head f6i_list;
1: - struct list_head grp_list;
1: - struct net *net;
1: - u32 id;
1: - u8 protocol;
1: - u8 nh_flags;
1: - bool is_group;
1: - refcount_t refcnt;
1: - struct callback_head rcu;
1: - union {
1: - struct nh_info *nh_info;
1: - struct nh_group *nh_grp;
1: - };
1: + struct rb_node rb_node;
1: + struct list_head fi_list;
1: + struct list_head f6i_list;
1: + struct list_head grp_list;
1: + struct net *net;
1: + u32 id;
1: + u8 protocol;
1: + u8 nh_flags;
1: + bool is_group;
1: + refcount_t refcnt;
1: + struct callback_head rcu;
1: + union {
1: + struct nh_info *nh_info;
1: + struct nh_group *nh_grp;
1: + };
1: };
1:
1: struct nh_info {
1: - struct hlist_node dev_hash;
1: - struct nexthop *nh_parent;
1: - u8 family;
1: - bool reject_nh;
1: - union {
1: - struct fib_nh_common fib_nhc;
1: - struct fib_nh fib_nh;
1: - struct fib6_nh fib6_nh;
1: - };
1: + struct hlist_node dev_hash;
1: + struct nexthop *nh_parent;
1: + u8 family;
1: + bool reject_nh;
1: + union {
1: + struct fib_nh_common fib_nhc;
1: + struct fib_nh fib_nh;
1: + struct fib6_nh fib6_nh;
1: + };
1: };
1:
1: struct nh_grp_entry {
1: - struct nexthop *nh;
1: - u8 weight;
1: - atomic_t upper_bound;
1: - struct list_head nh_list;
1: - struct nexthop *nh_parent;
1: + struct nexthop *nh;
1: + u8 weight;
1: + atomic_t upper_bound;
1: + struct list_head nh_list;
1: + struct nexthop *nh_parent;
1: };
1:
1: struct nh_group {
1: - u16 num_nh;
1: - bool mpath;
1: - bool has_v4;
1: - struct nh_grp_entry nh_entries[0];
1: + u16 num_nh;
1: + bool mpath;
1: + bool has_v4;
1: + struct nh_grp_entry nh_entries[0];
1: };
1:
1: struct ip_tunnel_encap {
1: - u16 type;
1: - u16 flags;
1: - __be16 sport;
1: - __be16 dport;
1: + u16 type;
1: + u16 flags;
1: + __be16 sport;
1: + __be16 dport;
1: };
1:
1: struct ip_tunnel_encap_ops {
1: - size_t (*encap_hlen)(struct ip_tunnel_encap *);
1: - int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *, struct flowi4 *);
1: - int (*err_handler)(struct sk_buff *, u32);
1: + size_t (*encap_hlen)(struct ip_tunnel_encap *);
1: + int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *,
1: + struct flowi4 *);
1: + int (*err_handler)(struct sk_buff *, u32);
1: };
1:
1: enum metadata_type {
1: - METADATA_IP_TUNNEL = 0,
1: - METADATA_HW_PORT_MUX = 1,
1: + METADATA_IP_TUNNEL = 0,
1: + METADATA_HW_PORT_MUX = 1,
1: };
1:
1: struct hw_port_info {
1: - struct net_device *lower_dev;
1: - u32 port_id;
1: + struct net_device *lower_dev;
1: + u32 port_id;
1: };
1:
1: struct metadata_dst {
1: - struct dst_entry dst;
1: - enum metadata_type type;
1: - union {
1: - struct ip_tunnel_info tun_info;
1: - struct hw_port_info port_info;
1: - } u;
1: + struct dst_entry dst;
1: + enum metadata_type type;
1: + union {
1: + struct ip_tunnel_info tun_info;
1: + struct hw_port_info port_info;
1: + } u;
1: };
1:
1: struct gre_base_hdr {
1: - __be16 flags;
1: - __be16 protocol;
1: + __be16 flags;
1: + __be16 protocol;
1: };
1:
1: struct gre_full_hdr {
1: - struct gre_base_hdr fixed_header;
1: - __be16 csum;
1: - __be16 reserved1;
1: - __be32 key;
1: - __be32 seq;
1: + struct gre_base_hdr fixed_header;
1: + __be16 csum;
1: + __be16 reserved1;
1: + __be32 key;
1: + __be32 seq;
1: };
1:
1: struct pptp_gre_header {
1: - struct gre_base_hdr gre_hd;
1: - __be16 payload_len;
1: - __be16 call_id;
1: - __be32 seq;
1: - __be32 ack;
1: + struct gre_base_hdr gre_hd;
1: + __be16 payload_len;
1: + __be16 call_id;
1: + __be32 seq;
1: + __be32 ack;
1: };
1:
1: struct tipc_basic_hdr {
1: - __be32 w[4];
1: + __be32 w[4];
1: };
1:
1: struct icmphdr {
1: - __u8 type;
1: - __u8 code;
1: - __sum16 checksum;
1: - union {
1: - struct {
1: - __be16 id;
1: - __be16 sequence;
1: - } echo;
1: - __be32 gateway;
1: - struct {
1: - __be16 __unused;
1: - __be16 mtu;
1: - } frag;
1: - __u8 reserved[4];
1: - } un;
1: + __u8 type;
1: + __u8 code;
1: + __sum16 checksum;
1: + union {
1: + struct {
1: + __be16 id;
1: + __be16 sequence;
1: + } echo;
1: + __be32 gateway;
1: + struct {
1: + __be16 __unused;
1: + __be16 mtu;
1: + } frag;
1: + __u8 reserved[4];
1: + } un;
1: };
1:
1: enum l2tp_debug_flags {
1: - L2TP_MSG_DEBUG = 1,
1: - L2TP_MSG_CONTROL = 2,
1: - L2TP_MSG_SEQ = 4,
1: - L2TP_MSG_DATA = 8,
1: + L2TP_MSG_DEBUG = 1,
1: + L2TP_MSG_CONTROL = 2,
1: + L2TP_MSG_SEQ = 4,
1: + L2TP_MSG_DATA = 8,
1: };
1:
1: struct pppoe_tag {
1: - __be16 tag_type;
1: - __be16 tag_len;
1: - char tag_data[0];
1: + __be16 tag_type;
1: + __be16 tag_len;
1: + char tag_data[0];
1: };
1:
1: struct pppoe_hdr {
1: - __u8 type: 4;
1: - __u8 ver: 4;
1: - __u8 code;
1: - __be16 sid;
1: - __be16 length;
1: - struct pppoe_tag tag[0];
1: + __u8 type : 4;
1: + __u8 ver : 4;
1: + __u8 code;
1: + __be16 sid;
1: + __be16 length;
1: + struct pppoe_tag tag[0];
1: };
1:
1: struct mpls_label {
1: - __be32 entry;
1: + __be32 entry;
1: };
1:
1: enum batadv_packettype {
1: - BATADV_IV_OGM = 0,
1: - BATADV_BCAST = 1,
1: - BATADV_CODED = 2,
1: - BATADV_ELP = 3,
1: - BATADV_OGM2 = 4,
1: - BATADV_UNICAST = 64,
1: - BATADV_UNICAST_FRAG = 65,
1: - BATADV_UNICAST_4ADDR = 66,
1: - BATADV_ICMP = 67,
1: - BATADV_UNICAST_TVLV = 68,
1: + BATADV_IV_OGM = 0,
1: + BATADV_BCAST = 1,
1: + BATADV_CODED = 2,
1: + BATADV_ELP = 3,
1: + BATADV_OGM2 = 4,
1: + BATADV_UNICAST = 64,
1: + BATADV_UNICAST_FRAG = 65,
1: + BATADV_UNICAST_4ADDR = 66,
1: + BATADV_ICMP = 67,
1: + BATADV_UNICAST_TVLV = 68,
1: };
1:
1: struct batadv_unicast_packet {
1: - __u8 packet_type;
1: - __u8 version;
1: - __u8 ttl;
1: - __u8 ttvn;
1: - __u8 dest[6];
1: + __u8 packet_type;
1: + __u8 version;
1: + __u8 ttl;
1: + __u8 ttvn;
1: + __u8 dest[6];
1: };
1:
1: union nf_conntrack_man_proto {
1: - __be16 all;
1: - struct {
1: - __be16 port;
1: - } tcp;
1: - struct {
1: - __be16 port;
1: - } udp;
1: - struct {
1: - __be16 id;
1: - } icmp;
1: - struct {
1: - __be16 port;
1: - } dccp;
1: - struct {
1: - __be16 port;
1: - } sctp;
1: - struct {
1: - __be16 key;
1: - } gre;
1: + __be16 all;
1: + struct {
1: + __be16 port;
1: + } tcp;
1: + struct {
1: + __be16 port;
1: + } udp;
1: + struct {
1: + __be16 id;
1: + } icmp;
1: + struct {
1: + __be16 port;
1: + } dccp;
1: + struct {
1: + __be16 port;
1: + } sctp;
1: + struct {
1: + __be16 key;
1: + } gre;
1: };
1:
1: struct nf_conntrack_man {
1: - union nf_inet_addr u3;
1: - union nf_conntrack_man_proto u;
1: - u_int16_t l3num;
1: + union nf_inet_addr u3;
1: + union nf_conntrack_man_proto u;
1: + u_int16_t l3num;
1: };
1:
1: struct nf_conntrack_tuple {
1: - struct nf_conntrack_man src;
1: - struct {
1: - union nf_inet_addr u3;
1: - union {
1: - __be16 all;
1: - struct {
1: - __be16 port;
1: - } tcp;
1: - struct {
1: - __be16 port;
1: - } udp;
1: - struct {
1: - u_int8_t type;
1: - u_int8_t code;
1: - } icmp;
1: - struct {
1: - __be16 port;
1: - } dccp;
1: - struct {
1: - __be16 port;
1: - } sctp;
1: - struct {
1: - __be16 key;
1: - } gre;
1: - } u;
1: - u_int8_t protonum;
1: - u_int8_t dir;
1: - } dst;
1: + struct nf_conntrack_man src;
1: + struct {
1: + union nf_inet_addr u3;
1: + union {
1: + __be16 all;
1: + struct {
1: + __be16 port;
1: + } tcp;
1: + struct {
1: + __be16 port;
1: + } udp;
1: + struct {
1: + u_int8_t type;
1: + u_int8_t code;
1: + } icmp;
1: + struct {
1: + __be16 port;
1: + } dccp;
1: + struct {
1: + __be16 port;
1: + } sctp;
1: + struct {
1: + __be16 key;
1: + } gre;
1: + } u;
1: + u_int8_t protonum;
1: + u_int8_t dir;
1: + } dst;
1: };
1:
1: struct nf_conntrack_tuple_hash {
1: - struct hlist_nulls_node hnnode;
1: - struct nf_conntrack_tuple tuple;
1: + struct hlist_nulls_node hnnode;
1: + struct nf_conntrack_tuple tuple;
1: };
1:
1: struct nf_ct_dccp {
1: - u_int8_t role[2];
1: - u_int8_t state;
1: - u_int8_t last_pkt;
1: - u_int8_t last_dir;
1: - u_int64_t handshake_seq;
1: + u_int8_t role[2];
1: + u_int8_t state;
1: + u_int8_t last_pkt;
1: + u_int8_t last_dir;
1: + u_int64_t handshake_seq;
1: };
1:
1: enum sctp_conntrack {
1: - SCTP_CONNTRACK_NONE = 0,
1: - SCTP_CONNTRACK_CLOSED = 1,
1: - SCTP_CONNTRACK_COOKIE_WAIT = 2,
1: - SCTP_CONNTRACK_COOKIE_ECHOED = 3,
1: - SCTP_CONNTRACK_ESTABLISHED = 4,
1: - SCTP_CONNTRACK_SHUTDOWN_SENT = 5,
1: - SCTP_CONNTRACK_SHUTDOWN_RECD = 6,
1: - SCTP_CONNTRACK_SHUTDOWN_ACK_SENT = 7,
1: - SCTP_CONNTRACK_HEARTBEAT_SENT = 8,
1: - SCTP_CONNTRACK_HEARTBEAT_ACKED = 9,
1: - SCTP_CONNTRACK_MAX = 10,
1: + SCTP_CONNTRACK_NONE = 0,
1: + SCTP_CONNTRACK_CLOSED = 1,
1: + SCTP_CONNTRACK_COOKIE_WAIT = 2,
1: + SCTP_CONNTRACK_COOKIE_ECHOED = 3,
1: + SCTP_CONNTRACK_ESTABLISHED = 4,
1: + SCTP_CONNTRACK_SHUTDOWN_SENT = 5,
1: + SCTP_CONNTRACK_SHUTDOWN_RECD = 6,
1: + SCTP_CONNTRACK_SHUTDOWN_ACK_SENT = 7,
1: + SCTP_CONNTRACK_HEARTBEAT_SENT = 8,
1: + SCTP_CONNTRACK_HEARTBEAT_ACKED = 9,
1: + SCTP_CONNTRACK_MAX = 10,
1: };
1:
1: struct ip_ct_sctp {
1: - enum sctp_conntrack state;
1: - __be32 vtag[2];
1: + enum sctp_conntrack state;
1: + __be32 vtag[2];
1: };
1:
1: struct nf_ct_udp {
1: - long unsigned int stream_ts;
1: + long unsigned int stream_ts;
1: };
1:
1: struct nf_ct_gre {
1: - unsigned int stream_timeout;
1: - unsigned int timeout;
1: + unsigned int stream_timeout;
1: + unsigned int timeout;
1: };
1:
1: union nf_conntrack_proto {
1: - struct nf_ct_dccp dccp;
1: - struct ip_ct_sctp sctp;
1: - struct ip_ct_tcp tcp;
1: - struct nf_ct_udp udp;
1: - struct nf_ct_gre gre;
1: - unsigned int tmpl_padto;
1: + struct nf_ct_dccp dccp;
1: + struct ip_ct_sctp sctp;
1: + struct ip_ct_tcp tcp;
1: + struct nf_ct_udp udp;
1: + struct nf_ct_gre gre;
1: + unsigned int tmpl_padto;
1: };
1:
1: struct nf_ct_ext;
1:
1: struct nf_conn {
1: - struct nf_conntrack ct_general;
1: - spinlock_t lock;
1: - u32 timeout;
1: - struct nf_conntrack_tuple_hash tuplehash[2];
1: - long unsigned int status;
1: - u16 cpu;
1: - possible_net_t ct_net;
1: - struct hlist_node nat_bysource;
1: - u8 __nfct_init_offset[0];
1: - struct nf_conn *master;
1: - u_int32_t secmark;
1: - struct nf_ct_ext *ext;
1: - union nf_conntrack_proto proto;
1: + struct nf_conntrack ct_general;
1: + spinlock_t lock;
1: + u32 timeout;
1: + struct nf_conntrack_tuple_hash tuplehash[2];
1: + long unsigned int status;
1: + u16 cpu;
1: + possible_net_t ct_net;
1: + struct hlist_node nat_bysource;
1: + u8 __nfct_init_offset[0];
1: + struct nf_conn *master;
1: + u_int32_t secmark;
1: + struct nf_ct_ext *ext;
1: + union nf_conntrack_proto proto;
1: };
1:
1: struct nf_conntrack_zone {
1: - u16 id;
1: - u8 flags;
1: - u8 dir;
1: + u16 id;
1: + u8 flags;
1: + u8 dir;
1: };
1:
1: struct xt_table_info {
1: - unsigned int size;
1: - unsigned int number;
1: - unsigned int initial_entries;
1: - unsigned int hook_entry[5];
1: - unsigned int underflow[5];
1: - unsigned int stacksize;
1: - void ***jumpstack;
1: - unsigned char entries[0];
1: + unsigned int size;
1: + unsigned int number;
1: + unsigned int initial_entries;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int stacksize;
1: + void ***jumpstack;
1: + unsigned char entries[0];
1: };
1:
1: struct nf_ct_ext {
1: - u8 offset[4];
1: - u8 len;
1: - char data[0];
1: + u8 offset[4];
1: + u8 len;
1: + char data[0];
1: };
1:
1: enum nf_ct_ext_id {
1: - NF_CT_EXT_HELPER = 0,
1: - NF_CT_EXT_NAT = 1,
1: - NF_CT_EXT_SEQADJ = 2,
1: - NF_CT_EXT_ACCT = 3,
1: - NF_CT_EXT_NUM = 4,
1: + NF_CT_EXT_HELPER = 0,
1: + NF_CT_EXT_NAT = 1,
1: + NF_CT_EXT_SEQADJ = 2,
1: + NF_CT_EXT_ACCT = 3,
1: + NF_CT_EXT_NUM = 4,
1: };
1:
1: struct nf_conn_labels {
1: - long unsigned int bits[2];
1: + long unsigned int bits[2];
1: };
1:
1: struct _flow_keys_digest_data {
1: - __be16 n_proto;
1: - u8 ip_proto;
1: - u8 padding;
1: - __be32 ports;
1: - __be32 src;
1: - __be32 dst;
1: + __be16 n_proto;
1: + u8 ip_proto;
1: + u8 padding;
1: + __be32 ports;
1: + __be32 src;
1: + __be32 dst;
1: };
1:
1: enum {
1: - IF_OPER_UNKNOWN = 0,
1: - IF_OPER_NOTPRESENT = 1,
1: - IF_OPER_DOWN = 2,
1: - IF_OPER_LOWERLAYERDOWN = 3,
1: - IF_OPER_TESTING = 4,
1: - IF_OPER_DORMANT = 5,
1: - IF_OPER_UP = 6,
1: + IF_OPER_UNKNOWN = 0,
1: + IF_OPER_NOTPRESENT = 1,
1: + IF_OPER_DOWN = 2,
1: + IF_OPER_LOWERLAYERDOWN = 3,
1: + IF_OPER_TESTING = 4,
1: + IF_OPER_DORMANT = 5,
1: + IF_OPER_UP = 6,
1: };
1:
1: enum nf_dev_hooks {
1: - NF_NETDEV_INGRESS = 0,
1: - NF_NETDEV_NUMHOOKS = 1,
1: + NF_NETDEV_INGRESS = 0,
1: + NF_NETDEV_NUMHOOKS = 1,
1: };
1:
1: struct xdp_buff {
1: - void *data;
1: - void *data_end;
1: - void *data_meta;
1: - void *data_hard_start;
1: - long unsigned int handle;
1: - struct xdp_rxq_info *rxq;
1: + void *data;
1: + void *data_end;
1: + void *data_meta;
1: + void *data_hard_start;
1: + long unsigned int handle;
1: + struct xdp_rxq_info *rxq;
1: };
1:
1: struct ifbond {
1: - __s32 bond_mode;
1: - __s32 num_slaves;
1: - __s32 miimon;
1: + __s32 bond_mode;
1: + __s32 num_slaves;
1: + __s32 miimon;
1: };
1:
1: typedef struct ifbond ifbond;
1:
1: struct ifslave {
1: - __s32 slave_id;
1: - char slave_name[16];
1: - __s8 link;
1: - __s8 state;
1: - __u32 link_failure_count;
1: + __s32 slave_id;
1: + char slave_name[16];
1: + __s8 link;
1: + __s8 state;
1: + __u32 link_failure_count;
1: };
1:
1: typedef struct ifslave ifslave;
1:
1: struct netdev_boot_setup {
1: - char name[16];
1: - struct ifmap map;
1: + char name[16];
1: + struct ifmap map;
1: };
1:
1: enum {
1: - NAPIF_STATE_SCHED = 1,
1: - NAPIF_STATE_MISSED = 2,
1: - NAPIF_STATE_DISABLE = 4,
1: - NAPIF_STATE_NPSVC = 8,
1: - NAPIF_STATE_HASHED = 16,
1: - NAPIF_STATE_NO_BUSY_POLL = 32,
1: - NAPIF_STATE_IN_BUSY_POLL = 64,
1: + NAPIF_STATE_SCHED = 1,
1: + NAPIF_STATE_MISSED = 2,
1: + NAPIF_STATE_DISABLE = 4,
1: + NAPIF_STATE_NPSVC = 8,
1: + NAPIF_STATE_HASHED = 16,
1: + NAPIF_STATE_NO_BUSY_POLL = 32,
1: + NAPIF_STATE_IN_BUSY_POLL = 64,
1: };
1:
1: struct udp_tunnel_info {
1: - short unsigned int type;
1: - sa_family_t sa_family;
1: - __be16 port;
1: + short unsigned int type;
1: + sa_family_t sa_family;
1: + __be16 port;
1: };
1:
1: struct packet_type {
1: - __be16 type;
1: - bool ignore_outgoing;
1: - struct net_device *dev;
1: - int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
1: - void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
1: - bool (*id_match)(struct packet_type *, struct sock *);
1: - void *af_packet_priv;
1: - struct list_head list;
1: + __be16 type;
1: + bool ignore_outgoing;
1: + struct net_device *dev;
1: + int (*func)(struct sk_buff *, struct net_device *, struct packet_type *,
1: + struct net_device *);
1: + void (*list_func)(struct list_head *, struct packet_type *,
1: + struct net_device *);
1: + bool (*id_match)(struct packet_type *, struct sock *);
1: + void *af_packet_priv;
1: + struct list_head list;
1: };
1:
1: struct offload_callbacks {
1: - struct sk_buff * (*gso_segment)(struct sk_buff *, netdev_features_t);
1: - struct sk_buff * (*gro_receive)(struct list_head *, struct sk_buff *);
1: - int (*gro_complete)(struct sk_buff *, int);
1: + struct sk_buff *(*gso_segment)(struct sk_buff *, netdev_features_t);
1: + struct sk_buff *(*gro_receive)(struct list_head *, struct sk_buff *);
1: + int (*gro_complete)(struct sk_buff *, int);
1: };
1:
1: struct packet_offload {
1: - __be16 type;
1: - u16 priority;
1: - struct offload_callbacks callbacks;
1: - struct list_head list;
1: + __be16 type;
1: + u16 priority;
1: + struct offload_callbacks callbacks;
1: + struct list_head list;
1: };
1:
1: struct netdev_notifier_info_ext {
1: - struct netdev_notifier_info info;
1: - union {
1: - u32 mtu;
1: - } ext;
1: + struct netdev_notifier_info info;
1: + union {
1: + u32 mtu;
1: + } ext;
1: };
1:
1: struct netdev_notifier_change_info {
1: - struct netdev_notifier_info info;
1: - unsigned int flags_changed;
1: + struct netdev_notifier_info info;
1: + unsigned int flags_changed;
1: };
1:
1: struct netdev_notifier_changeupper_info {
1: - struct netdev_notifier_info info;
1: - struct net_device *upper_dev;
1: - bool master;
1: - bool linking;
1: - void *upper_info;
1: + struct netdev_notifier_info info;
1: + struct net_device *upper_dev;
1: + bool master;
1: + bool linking;
1: + void *upper_info;
1: };
1:
1: struct netdev_notifier_changelowerstate_info {
1: - struct netdev_notifier_info info;
1: - void *lower_state_info;
1: + struct netdev_notifier_info info;
1: + void *lower_state_info;
1: };
1:
1: struct netdev_notifier_pre_changeaddr_info {
1: - struct netdev_notifier_info info;
1: - const unsigned char *dev_addr;
1: + struct netdev_notifier_info info;
1: + const unsigned char *dev_addr;
1: };
1:
1: typedef int (*bpf_op_t)(struct net_device *, struct netdev_bpf *);
1:
1: struct netdev_bonding_info {
1: - ifslave slave;
1: - ifbond master;
1: + ifslave slave;
1: + ifbond master;
1: };
1:
1: struct netdev_notifier_bonding_info {
1: - struct netdev_notifier_info info;
1: - struct netdev_bonding_info bonding_info;
1: + struct netdev_notifier_info info;
1: + struct netdev_bonding_info bonding_info;
1: };
1:
1: enum qdisc_state_t {
1: - __QDISC_STATE_SCHED = 0,
1: - __QDISC_STATE_DEACTIVATED = 1,
1: + __QDISC_STATE_SCHED = 0,
1: + __QDISC_STATE_DEACTIVATED = 1,
1: };
1:
1: struct tcf_walker {
1: - int stop;
1: - int skip;
1: - int count;
1: - bool nonempty;
1: - long unsigned int cookie;
1: - int (*fn)(struct tcf_proto *, void *, struct tcf_walker *);
1: + int stop;
1: + int skip;
1: + int count;
1: + bool nonempty;
1: + long unsigned int cookie;
1: + int (*fn)(struct tcf_proto *, void *, struct tcf_walker *);
1: };
1:
1: struct qdisc_skb_cb {
1: - struct {
1: - unsigned int pkt_len;
1: - u16 slave_dev_queue_mapping;
1: - u16 tc_classid;
1: - };
1: - unsigned char data[20];
1: + struct {
1: + unsigned int pkt_len;
1: + u16 slave_dev_queue_mapping;
1: + u16 tc_classid;
1: + };
1: + unsigned char data[20];
1: };
1:
1: struct udp_hslot;
1:
1: struct udp_table {
1: - struct udp_hslot *hash;
1: - struct udp_hslot *hash2;
1: - unsigned int mask;
1: - unsigned int log;
1: -};
1: -
1: -enum {
1: - IPV4_DEVCONF_FORWARDING = 1,
1: - IPV4_DEVCONF_MC_FORWARDING = 2,
1: - IPV4_DEVCONF_PROXY_ARP = 3,
1: - IPV4_DEVCONF_ACCEPT_REDIRECTS = 4,
1: - IPV4_DEVCONF_SECURE_REDIRECTS = 5,
1: - IPV4_DEVCONF_SEND_REDIRECTS = 6,
1: - IPV4_DEVCONF_SHARED_MEDIA = 7,
1: - IPV4_DEVCONF_RP_FILTER = 8,
1: - IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9,
1: - IPV4_DEVCONF_BOOTP_RELAY = 10,
1: - IPV4_DEVCONF_LOG_MARTIANS = 11,
1: - IPV4_DEVCONF_TAG = 12,
1: - IPV4_DEVCONF_ARPFILTER = 13,
1: - IPV4_DEVCONF_MEDIUM_ID = 14,
1: - IPV4_DEVCONF_NOXFRM = 15,
1: - IPV4_DEVCONF_NOPOLICY = 16,
1: - IPV4_DEVCONF_FORCE_IGMP_VERSION = 17,
1: - IPV4_DEVCONF_ARP_ANNOUNCE = 18,
1: - IPV4_DEVCONF_ARP_IGNORE = 19,
1: - IPV4_DEVCONF_PROMOTE_SECONDARIES = 20,
1: - IPV4_DEVCONF_ARP_ACCEPT = 21,
1: - IPV4_DEVCONF_ARP_NOTIFY = 22,
1: - IPV4_DEVCONF_ACCEPT_LOCAL = 23,
1: - IPV4_DEVCONF_SRC_VMARK = 24,
1: - IPV4_DEVCONF_PROXY_ARP_PVLAN = 25,
1: - IPV4_DEVCONF_ROUTE_LOCALNET = 26,
1: - IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27,
1: - IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28,
1: - IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29,
1: - IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30,
1: - IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31,
1: - IPV4_DEVCONF_BC_FORWARDING = 32,
1: - __IPV4_DEVCONF_MAX = 33,
1: + struct udp_hslot *hash;
1: + struct udp_hslot *hash2;
1: + unsigned int mask;
1: + unsigned int log;
1: +};
1: +
1: +enum {
1: + IPV4_DEVCONF_FORWARDING = 1,
1: + IPV4_DEVCONF_MC_FORWARDING = 2,
1: + IPV4_DEVCONF_PROXY_ARP = 3,
1: + IPV4_DEVCONF_ACCEPT_REDIRECTS = 4,
1: + IPV4_DEVCONF_SECURE_REDIRECTS = 5,
1: + IPV4_DEVCONF_SEND_REDIRECTS = 6,
1: + IPV4_DEVCONF_SHARED_MEDIA = 7,
1: + IPV4_DEVCONF_RP_FILTER = 8,
1: + IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9,
1: + IPV4_DEVCONF_BOOTP_RELAY = 10,
1: + IPV4_DEVCONF_LOG_MARTIANS = 11,
1: + IPV4_DEVCONF_TAG = 12,
1: + IPV4_DEVCONF_ARPFILTER = 13,
1: + IPV4_DEVCONF_MEDIUM_ID = 14,
1: + IPV4_DEVCONF_NOXFRM = 15,
1: + IPV4_DEVCONF_NOPOLICY = 16,
1: + IPV4_DEVCONF_FORCE_IGMP_VERSION = 17,
1: + IPV4_DEVCONF_ARP_ANNOUNCE = 18,
1: + IPV4_DEVCONF_ARP_IGNORE = 19,
1: + IPV4_DEVCONF_PROMOTE_SECONDARIES = 20,
1: + IPV4_DEVCONF_ARP_ACCEPT = 21,
1: + IPV4_DEVCONF_ARP_NOTIFY = 22,
1: + IPV4_DEVCONF_ACCEPT_LOCAL = 23,
1: + IPV4_DEVCONF_SRC_VMARK = 24,
1: + IPV4_DEVCONF_PROXY_ARP_PVLAN = 25,
1: + IPV4_DEVCONF_ROUTE_LOCALNET = 26,
1: + IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27,
1: + IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28,
1: + IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29,
1: + IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30,
1: + IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31,
1: + IPV4_DEVCONF_BC_FORWARDING = 32,
1: + __IPV4_DEVCONF_MAX = 33,
1: };
1:
1: struct udp_hslot {
1: - struct hlist_head head;
1: - int count;
1: - spinlock_t lock;
1: + struct hlist_head head;
1: + int count;
1: + spinlock_t lock;
1: };
1:
1: struct dev_kfree_skb_cb {
1: - enum skb_free_reason reason;
1: + enum skb_free_reason reason;
1: };
1:
1: struct netdev_adjacent {
1: - struct net_device *dev;
1: - bool master;
1: - bool ignore;
1: - u16 ref_nr;
1: - void *private;
1: - struct list_head list;
1: - struct callback_head rcu;
1: + struct net_device *dev;
1: + bool master;
1: + bool ignore;
1: + u16 ref_nr;
1: + void *private;
1: + struct list_head list;
1: + struct callback_head rcu;
1: };
1:
1: struct ethtool_value {
1: - __u32 cmd;
1: - __u32 data;
1: + __u32 cmd;
1: + __u32 data;
1: };
1:
1: enum tunable_id {
1: - ETHTOOL_ID_UNSPEC = 0,
1: - ETHTOOL_RX_COPYBREAK = 1,
1: - ETHTOOL_TX_COPYBREAK = 2,
1: - ETHTOOL_PFC_PREVENTION_TOUT = 3,
1: - __ETHTOOL_TUNABLE_COUNT = 4,
1: + ETHTOOL_ID_UNSPEC = 0,
1: + ETHTOOL_RX_COPYBREAK = 1,
1: + ETHTOOL_TX_COPYBREAK = 2,
1: + ETHTOOL_PFC_PREVENTION_TOUT = 3,
1: + __ETHTOOL_TUNABLE_COUNT = 4,
1: };
1:
1: enum tunable_type_id {
1: - ETHTOOL_TUNABLE_UNSPEC = 0,
1: - ETHTOOL_TUNABLE_U8 = 1,
1: - ETHTOOL_TUNABLE_U16 = 2,
1: - ETHTOOL_TUNABLE_U32 = 3,
1: - ETHTOOL_TUNABLE_U64 = 4,
1: - ETHTOOL_TUNABLE_STRING = 5,
1: - ETHTOOL_TUNABLE_S8 = 6,
1: - ETHTOOL_TUNABLE_S16 = 7,
1: - ETHTOOL_TUNABLE_S32 = 8,
1: - ETHTOOL_TUNABLE_S64 = 9,
1: + ETHTOOL_TUNABLE_UNSPEC = 0,
1: + ETHTOOL_TUNABLE_U8 = 1,
1: + ETHTOOL_TUNABLE_U16 = 2,
1: + ETHTOOL_TUNABLE_U32 = 3,
1: + ETHTOOL_TUNABLE_U64 = 4,
1: + ETHTOOL_TUNABLE_STRING = 5,
1: + ETHTOOL_TUNABLE_S8 = 6,
1: + ETHTOOL_TUNABLE_S16 = 7,
1: + ETHTOOL_TUNABLE_S32 = 8,
1: + ETHTOOL_TUNABLE_S64 = 9,
1: };
1:
1: enum phy_tunable_id {
1: - ETHTOOL_PHY_ID_UNSPEC = 0,
1: - ETHTOOL_PHY_DOWNSHIFT = 1,
1: - ETHTOOL_PHY_FAST_LINK_DOWN = 2,
1: - ETHTOOL_PHY_EDPD = 3,
1: - __ETHTOOL_PHY_TUNABLE_COUNT = 4,
1: + ETHTOOL_PHY_ID_UNSPEC = 0,
1: + ETHTOOL_PHY_DOWNSHIFT = 1,
1: + ETHTOOL_PHY_FAST_LINK_DOWN = 2,
1: + ETHTOOL_PHY_EDPD = 3,
1: + __ETHTOOL_PHY_TUNABLE_COUNT = 4,
1: };
1:
1: struct ethtool_gstrings {
1: - __u32 cmd;
1: - __u32 string_set;
1: - __u32 len;
1: - __u8 data[0];
1: + __u32 cmd;
1: + __u32 string_set;
1: + __u32 len;
1: + __u8 data[0];
1: };
1:
1: struct ethtool_sset_info {
1: - __u32 cmd;
1: - __u32 reserved;
1: - __u64 sset_mask;
1: - __u32 data[0];
1: + __u32 cmd;
1: + __u32 reserved;
1: + __u64 sset_mask;
1: + __u32 data[0];
1: };
1:
1: struct ethtool_perm_addr {
1: - __u32 cmd;
1: - __u32 size;
1: - __u8 data[0];
1: + __u32 cmd;
1: + __u32 size;
1: + __u8 data[0];
1: };
1:
1: enum ethtool_flags {
1: - ETH_FLAG_TXVLAN = 128,
1: - ETH_FLAG_RXVLAN = 256,
1: - ETH_FLAG_LRO = 32768,
1: - ETH_FLAG_NTUPLE = 134217728,
1: - ETH_FLAG_RXHASH = 268435456,
1: + ETH_FLAG_TXVLAN = 128,
1: + ETH_FLAG_RXVLAN = 256,
1: + ETH_FLAG_LRO = 32768,
1: + ETH_FLAG_NTUPLE = 134217728,
1: + ETH_FLAG_RXHASH = 268435456,
1: };
1:
1: struct ethtool_rxfh {
1: - __u32 cmd;
1: - __u32 rss_context;
1: - __u32 indir_size;
1: - __u32 key_size;
1: - __u8 hfunc;
1: - __u8 rsvd8[3];
1: - __u32 rsvd32;
1: - __u32 rss_config[0];
1: + __u32 cmd;
1: + __u32 rss_context;
1: + __u32 indir_size;
1: + __u32 key_size;
1: + __u8 hfunc;
1: + __u8 rsvd8[3];
1: + __u32 rsvd32;
1: + __u32 rss_config[0];
1: };
1:
1: struct ethtool_get_features_block {
1: - __u32 available;
1: - __u32 requested;
1: - __u32 active;
1: - __u32 never_changed;
1: + __u32 available;
1: + __u32 requested;
1: + __u32 active;
1: + __u32 never_changed;
1: };
1:
1: struct ethtool_gfeatures {
1: - __u32 cmd;
1: - __u32 size;
1: - struct ethtool_get_features_block features[0];
1: + __u32 cmd;
1: + __u32 size;
1: + struct ethtool_get_features_block features[0];
1: };
1:
1: struct ethtool_set_features_block {
1: - __u32 valid;
1: - __u32 requested;
1: + __u32 valid;
1: + __u32 requested;
1: };
1:
1: struct ethtool_sfeatures {
1: - __u32 cmd;
1: - __u32 size;
1: - struct ethtool_set_features_block features[0];
1: + __u32 cmd;
1: + __u32 size;
1: + struct ethtool_set_features_block features[0];
1: };
1:
1: enum ethtool_sfeatures_retval_bits {
1: - ETHTOOL_F_UNSUPPORTED__BIT = 0,
1: - ETHTOOL_F_WISH__BIT = 1,
1: - ETHTOOL_F_COMPAT__BIT = 2,
1: + ETHTOOL_F_UNSUPPORTED__BIT = 0,
1: + ETHTOOL_F_WISH__BIT = 1,
1: + ETHTOOL_F_COMPAT__BIT = 2,
1: };
1:
1: struct ethtool_per_queue_op {
1: - __u32 cmd;
1: - __u32 sub_command;
1: - __u32 queue_mask[128];
1: - char data[0];
1: + __u32 cmd;
1: + __u32 sub_command;
1: + __u32 queue_mask[128];
1: + char data[0];
1: };
1:
1: struct flow_rule;
1:
1: struct ethtool_rx_flow_rule {
1: - struct flow_rule *rule;
1: - long unsigned int priv[0];
1: + struct flow_rule *rule;
1: + long unsigned int priv[0];
1: };
1:
1: struct flow_match {
1: - struct flow_dissector *dissector;
1: - void *mask;
1: - void *key;
1: + struct flow_dissector *dissector;
1: + void *mask;
1: + void *key;
1: };
1:
1: enum flow_action_id {
1: - FLOW_ACTION_ACCEPT = 0,
1: - FLOW_ACTION_DROP = 1,
1: - FLOW_ACTION_TRAP = 2,
1: - FLOW_ACTION_GOTO = 3,
1: - FLOW_ACTION_REDIRECT = 4,
1: - FLOW_ACTION_MIRRED = 5,
1: - FLOW_ACTION_REDIRECT_INGRESS = 6,
1: - FLOW_ACTION_MIRRED_INGRESS = 7,
1: - FLOW_ACTION_VLAN_PUSH = 8,
1: - FLOW_ACTION_VLAN_POP = 9,
1: - FLOW_ACTION_VLAN_MANGLE = 10,
1: - FLOW_ACTION_TUNNEL_ENCAP = 11,
1: - FLOW_ACTION_TUNNEL_DECAP = 12,
1: - FLOW_ACTION_MANGLE = 13,
1: - FLOW_ACTION_ADD = 14,
1: - FLOW_ACTION_CSUM = 15,
1: - FLOW_ACTION_MARK = 16,
1: - FLOW_ACTION_PTYPE = 17,
1: - FLOW_ACTION_WAKE = 18,
1: - FLOW_ACTION_QUEUE = 19,
1: - FLOW_ACTION_SAMPLE = 20,
1: - FLOW_ACTION_POLICE = 21,
1: - FLOW_ACTION_CT = 22,
1: - FLOW_ACTION_MPLS_PUSH = 23,
1: - FLOW_ACTION_MPLS_POP = 24,
1: - FLOW_ACTION_MPLS_MANGLE = 25,
1: - NUM_FLOW_ACTIONS = 26,
1: + FLOW_ACTION_ACCEPT = 0,
1: + FLOW_ACTION_DROP = 1,
1: + FLOW_ACTION_TRAP = 2,
1: + FLOW_ACTION_GOTO = 3,
1: + FLOW_ACTION_REDIRECT = 4,
1: + FLOW_ACTION_MIRRED = 5,
1: + FLOW_ACTION_REDIRECT_INGRESS = 6,
1: + FLOW_ACTION_MIRRED_INGRESS = 7,
1: + FLOW_ACTION_VLAN_PUSH = 8,
1: + FLOW_ACTION_VLAN_POP = 9,
1: + FLOW_ACTION_VLAN_MANGLE = 10,
1: + FLOW_ACTION_TUNNEL_ENCAP = 11,
1: + FLOW_ACTION_TUNNEL_DECAP = 12,
1: + FLOW_ACTION_MANGLE = 13,
1: + FLOW_ACTION_ADD = 14,
1: + FLOW_ACTION_CSUM = 15,
1: + FLOW_ACTION_MARK = 16,
1: + FLOW_ACTION_PTYPE = 17,
1: + FLOW_ACTION_WAKE = 18,
1: + FLOW_ACTION_QUEUE = 19,
1: + FLOW_ACTION_SAMPLE = 20,
1: + FLOW_ACTION_POLICE = 21,
1: + FLOW_ACTION_CT = 22,
1: + FLOW_ACTION_MPLS_PUSH = 23,
1: + FLOW_ACTION_MPLS_POP = 24,
1: + FLOW_ACTION_MPLS_MANGLE = 25,
1: + NUM_FLOW_ACTIONS = 26,
1: };
1:
1: typedef void (*action_destr)(void *);
1:
1: enum flow_action_mangle_base {
1: - FLOW_ACT_MANGLE_UNSPEC = 0,
1: - FLOW_ACT_MANGLE_HDR_TYPE_ETH = 1,
1: - FLOW_ACT_MANGLE_HDR_TYPE_IP4 = 2,
1: - FLOW_ACT_MANGLE_HDR_TYPE_IP6 = 3,
1: - FLOW_ACT_MANGLE_HDR_TYPE_TCP = 4,
1: - FLOW_ACT_MANGLE_HDR_TYPE_UDP = 5,
1: + FLOW_ACT_MANGLE_UNSPEC = 0,
1: + FLOW_ACT_MANGLE_HDR_TYPE_ETH = 1,
1: + FLOW_ACT_MANGLE_HDR_TYPE_IP4 = 2,
1: + FLOW_ACT_MANGLE_HDR_TYPE_IP6 = 3,
1: + FLOW_ACT_MANGLE_HDR_TYPE_TCP = 4,
1: + FLOW_ACT_MANGLE_HDR_TYPE_UDP = 5,
1: };
1:
1: struct psample_group;
1:
1: struct flow_action_entry {
1: - enum flow_action_id id;
1: - action_destr destructor;
1: - void *destructor_priv;
1: - union {
1: - u32 chain_index;
1: - struct net_device *dev;
1: - struct {
1: - u16 vid;
1: - __be16 proto;
1: - u8 prio;
1: - } vlan;
1: - struct {
1: - enum flow_action_mangle_base htype;
1: - u32 offset;
1: - u32 mask;
1: - u32 val;
1: - } mangle;
1: - struct ip_tunnel_info *tunnel;
1: - u32 csum_flags;
1: - u32 mark;
1: - u16 ptype;
1: - struct {
1: - u32 ctx;
1: - u32 index;
1: - u8 vf;
1: - } queue;
1: - struct {
1: - struct psample_group *psample_group;
1: - u32 rate;
1: - u32 trunc_size;
1: - bool truncate;
1: - } sample;
1: - struct {
1: - s64 burst;
1: - u64 rate_bytes_ps;
1: - } police;
1: - struct {
1: - int action;
1: - u16 zone;
1: - } ct;
1: - struct {
1: - u32 label;
1: - __be16 proto;
1: - u8 tc;
1: - u8 bos;
1: - u8 ttl;
1: - } mpls_push;
1: - struct {
1: - __be16 proto;
1: - } mpls_pop;
1: - struct {
1: - u32 label;
1: - u8 tc;
1: - u8 bos;
1: - u8 ttl;
1: - } mpls_mangle;
1: - };
1: + enum flow_action_id id;
1: + action_destr destructor;
1: + void *destructor_priv;
1: + union {
1: + u32 chain_index;
1: + struct net_device *dev;
1: + struct {
1: + u16 vid;
1: + __be16 proto;
1: + u8 prio;
1: + } vlan;
1: + struct {
1: + enum flow_action_mangle_base htype;
1: + u32 offset;
1: + u32 mask;
1: + u32 val;
1: + } mangle;
1: + struct ip_tunnel_info *tunnel;
1: + u32 csum_flags;
1: + u32 mark;
1: + u16 ptype;
1: + struct {
1: + u32 ctx;
1: + u32 index;
1: + u8 vf;
1: + } queue;
1: + struct {
1: + struct psample_group *psample_group;
1: + u32 rate;
1: + u32 trunc_size;
1: + bool truncate;
1: + } sample;
1: + struct {
1: + s64 burst;
1: + u64 rate_bytes_ps;
1: + } police;
1: + struct {
1: + int action;
1: + u16 zone;
1: + } ct;
1: + struct {
1: + u32 label;
1: + __be16 proto;
1: + u8 tc;
1: + u8 bos;
1: + u8 ttl;
1: + } mpls_push;
1: + struct {
1: + __be16 proto;
1: + } mpls_pop;
1: + struct {
1: + u32 label;
1: + u8 tc;
1: + u8 bos;
1: + u8 ttl;
1: + } mpls_mangle;
1: + };
1: };
1:
1: struct flow_action {
1: - unsigned int num_entries;
1: - struct flow_action_entry entries[0];
1: + unsigned int num_entries;
1: + struct flow_action_entry entries[0];
1: };
1:
1: struct flow_rule {
1: - struct flow_match match;
1: - struct flow_action action;
1: + struct flow_match match;
1: + struct flow_action action;
1: };
1:
1: struct ethtool_rx_flow_spec_input {
1: - const struct ethtool_rx_flow_spec *fs;
1: - u32 rss_ctx;
1: + const struct ethtool_rx_flow_spec *fs;
1: + u32 rss_ctx;
1: };
1:
1: struct xsk_queue;
1: @@ -101984,1284 +102725,1291 @@ struct xdp_umem_page;
1: struct xdp_umem_fq_reuse;
1:
1: struct xdp_umem {
1: - struct xsk_queue *fq;
1: - struct xsk_queue *cq;
1: - struct xdp_umem_page *pages;
1: - u64 chunk_mask;
1: - u64 size;
1: - u32 headroom;
1: - u32 chunk_size_nohr;
1: - struct user_struct *user;
1: - long unsigned int address;
1: - refcount_t users;
1: - struct work_struct work;
1: - struct page **pgs;
1: - u32 npgs;
1: - u16 queue_id;
1: - u8 need_wakeup;
1: - u8 flags;
1: - int id;
1: - struct net_device *dev;
1: - struct xdp_umem_fq_reuse *fq_reuse;
1: - bool zc;
1: - spinlock_t xsk_list_lock;
1: - struct list_head xsk_list;
1: + struct xsk_queue *fq;
1: + struct xsk_queue *cq;
1: + struct xdp_umem_page *pages;
1: + u64 chunk_mask;
1: + u64 size;
1: + u32 headroom;
1: + u32 chunk_size_nohr;
1: + struct user_struct *user;
1: + long unsigned int address;
1: + refcount_t users;
1: + struct work_struct work;
1: + struct page **pgs;
1: + u32 npgs;
1: + u16 queue_id;
1: + u8 need_wakeup;
1: + u8 flags;
1: + int id;
1: + struct net_device *dev;
1: + struct xdp_umem_fq_reuse *fq_reuse;
1: + bool zc;
1: + spinlock_t xsk_list_lock;
1: + struct list_head xsk_list;
1: };
1:
1: struct xdp_umem_page {
1: - void *addr;
1: - dma_addr_t dma;
1: + void *addr;
1: + dma_addr_t dma;
1: };
1:
1: struct xdp_umem_fq_reuse {
1: - u32 nentries;
1: - u32 length;
1: - u64 handles[0];
1: + u32 nentries;
1: + u32 length;
1: + u64 handles[0];
1: };
1:
1: struct ethtool_link_usettings {
1: - struct ethtool_link_settings base;
1: - struct {
1: - __u32 supported[3];
1: - __u32 advertising[3];
1: - __u32 lp_advertising[3];
1: - } link_modes;
1: + struct ethtool_link_settings base;
1: + struct {
1: + __u32 supported[3];
1: + __u32 advertising[3];
1: + __u32 lp_advertising[3];
1: + } link_modes;
1: };
1:
1: struct ethtool_rx_flow_key {
1: - struct flow_dissector_key_basic basic;
1: - union {
1: - struct flow_dissector_key_ipv4_addrs ipv4;
1: - struct flow_dissector_key_ipv6_addrs ipv6;
1: - };
1: - struct flow_dissector_key_ports tp;
1: - struct flow_dissector_key_ip ip;
1: - struct flow_dissector_key_vlan vlan;
1: - struct flow_dissector_key_eth_addrs eth_addrs;
1: - long: 48;
1: + struct flow_dissector_key_basic basic;
1: + union {
1: + struct flow_dissector_key_ipv4_addrs ipv4;
1: + struct flow_dissector_key_ipv6_addrs ipv6;
1: + };
1: + struct flow_dissector_key_ports tp;
1: + struct flow_dissector_key_ip ip;
1: + struct flow_dissector_key_vlan vlan;
1: + struct flow_dissector_key_eth_addrs eth_addrs;
1: + long : 48;
1: };
1:
1: struct ethtool_rx_flow_match {
1: - struct flow_dissector dissector;
1: - int: 32;
1: - struct ethtool_rx_flow_key key;
1: - struct ethtool_rx_flow_key mask;
1: + struct flow_dissector dissector;
1: + int : 32;
1: + struct ethtool_rx_flow_key key;
1: + struct ethtool_rx_flow_key mask;
1: };
1:
1: struct xfrm_dst {
1: - union {
1: - struct dst_entry dst;
1: - struct rtable rt;
1: - struct rt6_info rt6;
1: - } u;
1: - struct dst_entry *route;
1: - struct dst_entry *child;
1: - struct dst_entry *path;
1: - struct xfrm_policy *pols[2];
1: - int num_pols;
1: - int num_xfrms;
1: - u32 xfrm_genid;
1: - u32 policy_genid;
1: - u32 route_mtu_cached;
1: - u32 child_mtu_cached;
1: - u32 route_cookie;
1: - u32 path_cookie;
1: -};
1: -
1: -enum {
1: - NDA_UNSPEC = 0,
1: - NDA_DST = 1,
1: - NDA_LLADDR = 2,
1: - NDA_CACHEINFO = 3,
1: - NDA_PROBES = 4,
1: - NDA_VLAN = 5,
1: - NDA_PORT = 6,
1: - NDA_VNI = 7,
1: - NDA_IFINDEX = 8,
1: - NDA_MASTER = 9,
1: - NDA_LINK_NETNSID = 10,
1: - NDA_SRC_VNI = 11,
1: - NDA_PROTOCOL = 12,
1: - __NDA_MAX = 13,
1: + union {
1: + struct dst_entry dst;
1: + struct rtable rt;
1: + struct rt6_info rt6;
1: + } u;
1: + struct dst_entry *route;
1: + struct dst_entry *child;
1: + struct dst_entry *path;
1: + struct xfrm_policy *pols[2];
1: + int num_pols;
1: + int num_xfrms;
1: + u32 xfrm_genid;
1: + u32 policy_genid;
1: + u32 route_mtu_cached;
1: + u32 child_mtu_cached;
1: + u32 route_cookie;
1: + u32 path_cookie;
1: +};
1: +
1: +enum {
1: + NDA_UNSPEC = 0,
1: + NDA_DST = 1,
1: + NDA_LLADDR = 2,
1: + NDA_CACHEINFO = 3,
1: + NDA_PROBES = 4,
1: + NDA_VLAN = 5,
1: + NDA_PORT = 6,
1: + NDA_VNI = 7,
1: + NDA_IFINDEX = 8,
1: + NDA_MASTER = 9,
1: + NDA_LINK_NETNSID = 10,
1: + NDA_SRC_VNI = 11,
1: + NDA_PROTOCOL = 12,
1: + __NDA_MAX = 13,
1: };
1:
1: struct nda_cacheinfo {
1: - __u32 ndm_confirmed;
1: - __u32 ndm_used;
1: - __u32 ndm_updated;
1: - __u32 ndm_refcnt;
1: + __u32 ndm_confirmed;
1: + __u32 ndm_used;
1: + __u32 ndm_updated;
1: + __u32 ndm_refcnt;
1: };
1:
1: struct ndt_stats {
1: - __u64 ndts_allocs;
1: - __u64 ndts_destroys;
1: - __u64 ndts_hash_grows;
1: - __u64 ndts_res_failed;
1: - __u64 ndts_lookups;
1: - __u64 ndts_hits;
1: - __u64 ndts_rcv_probes_mcast;
1: - __u64 ndts_rcv_probes_ucast;
1: - __u64 ndts_periodic_gc_runs;
1: - __u64 ndts_forced_gc_runs;
1: - __u64 ndts_table_fulls;
1: -};
1: -
1: -enum {
1: - NDTPA_UNSPEC = 0,
1: - NDTPA_IFINDEX = 1,
1: - NDTPA_REFCNT = 2,
1: - NDTPA_REACHABLE_TIME = 3,
1: - NDTPA_BASE_REACHABLE_TIME = 4,
1: - NDTPA_RETRANS_TIME = 5,
1: - NDTPA_GC_STALETIME = 6,
1: - NDTPA_DELAY_PROBE_TIME = 7,
1: - NDTPA_QUEUE_LEN = 8,
1: - NDTPA_APP_PROBES = 9,
1: - NDTPA_UCAST_PROBES = 10,
1: - NDTPA_MCAST_PROBES = 11,
1: - NDTPA_ANYCAST_DELAY = 12,
1: - NDTPA_PROXY_DELAY = 13,
1: - NDTPA_PROXY_QLEN = 14,
1: - NDTPA_LOCKTIME = 15,
1: - NDTPA_QUEUE_LENBYTES = 16,
1: - NDTPA_MCAST_REPROBES = 17,
1: - NDTPA_PAD = 18,
1: - __NDTPA_MAX = 19,
1: + __u64 ndts_allocs;
1: + __u64 ndts_destroys;
1: + __u64 ndts_hash_grows;
1: + __u64 ndts_res_failed;
1: + __u64 ndts_lookups;
1: + __u64 ndts_hits;
1: + __u64 ndts_rcv_probes_mcast;
1: + __u64 ndts_rcv_probes_ucast;
1: + __u64 ndts_periodic_gc_runs;
1: + __u64 ndts_forced_gc_runs;
1: + __u64 ndts_table_fulls;
1: +};
1: +
1: +enum {
1: + NDTPA_UNSPEC = 0,
1: + NDTPA_IFINDEX = 1,
1: + NDTPA_REFCNT = 2,
1: + NDTPA_REACHABLE_TIME = 3,
1: + NDTPA_BASE_REACHABLE_TIME = 4,
1: + NDTPA_RETRANS_TIME = 5,
1: + NDTPA_GC_STALETIME = 6,
1: + NDTPA_DELAY_PROBE_TIME = 7,
1: + NDTPA_QUEUE_LEN = 8,
1: + NDTPA_APP_PROBES = 9,
1: + NDTPA_UCAST_PROBES = 10,
1: + NDTPA_MCAST_PROBES = 11,
1: + NDTPA_ANYCAST_DELAY = 12,
1: + NDTPA_PROXY_DELAY = 13,
1: + NDTPA_PROXY_QLEN = 14,
1: + NDTPA_LOCKTIME = 15,
1: + NDTPA_QUEUE_LENBYTES = 16,
1: + NDTPA_MCAST_REPROBES = 17,
1: + NDTPA_PAD = 18,
1: + __NDTPA_MAX = 19,
1: };
1:
1: struct ndtmsg {
1: - __u8 ndtm_family;
1: - __u8 ndtm_pad1;
1: - __u16 ndtm_pad2;
1: + __u8 ndtm_family;
1: + __u8 ndtm_pad1;
1: + __u16 ndtm_pad2;
1: };
1:
1: struct ndt_config {
1: - __u16 ndtc_key_len;
1: - __u16 ndtc_entry_size;
1: - __u32 ndtc_entries;
1: - __u32 ndtc_last_flush;
1: - __u32 ndtc_last_rand;
1: - __u32 ndtc_hash_rnd;
1: - __u32 ndtc_hash_mask;
1: - __u32 ndtc_hash_chain_gc;
1: - __u32 ndtc_proxy_qlen;
1: -};
1: -
1: -enum {
1: - NDTA_UNSPEC = 0,
1: - NDTA_NAME = 1,
1: - NDTA_THRESH1 = 2,
1: - NDTA_THRESH2 = 3,
1: - NDTA_THRESH3 = 4,
1: - NDTA_CONFIG = 5,
1: - NDTA_PARMS = 6,
1: - NDTA_STATS = 7,
1: - NDTA_GC_INTERVAL = 8,
1: - NDTA_PAD = 9,
1: - __NDTA_MAX = 10,
1: -};
1: -
1: -enum {
1: - RTN_UNSPEC = 0,
1: - RTN_UNICAST = 1,
1: - RTN_LOCAL = 2,
1: - RTN_BROADCAST = 3,
1: - RTN_ANYCAST = 4,
1: - RTN_MULTICAST = 5,
1: - RTN_BLACKHOLE = 6,
1: - RTN_UNREACHABLE = 7,
1: - RTN_PROHIBIT = 8,
1: - RTN_THROW = 9,
1: - RTN_NAT = 10,
1: - RTN_XRESOLVE = 11,
1: - __RTN_MAX = 12,
1: -};
1: -
1: -enum {
1: - NEIGH_ARP_TABLE = 0,
1: - NEIGH_ND_TABLE = 1,
1: - NEIGH_DN_TABLE = 2,
1: - NEIGH_NR_TABLES = 3,
1: - NEIGH_LINK_TABLE = 3,
1: + __u16 ndtc_key_len;
1: + __u16 ndtc_entry_size;
1: + __u32 ndtc_entries;
1: + __u32 ndtc_last_flush;
1: + __u32 ndtc_last_rand;
1: + __u32 ndtc_hash_rnd;
1: + __u32 ndtc_hash_mask;
1: + __u32 ndtc_hash_chain_gc;
1: + __u32 ndtc_proxy_qlen;
1: +};
1: +
1: +enum {
1: + NDTA_UNSPEC = 0,
1: + NDTA_NAME = 1,
1: + NDTA_THRESH1 = 2,
1: + NDTA_THRESH2 = 3,
1: + NDTA_THRESH3 = 4,
1: + NDTA_CONFIG = 5,
1: + NDTA_PARMS = 6,
1: + NDTA_STATS = 7,
1: + NDTA_GC_INTERVAL = 8,
1: + NDTA_PAD = 9,
1: + __NDTA_MAX = 10,
1: +};
1: +
1: +enum {
1: + RTN_UNSPEC = 0,
1: + RTN_UNICAST = 1,
1: + RTN_LOCAL = 2,
1: + RTN_BROADCAST = 3,
1: + RTN_ANYCAST = 4,
1: + RTN_MULTICAST = 5,
1: + RTN_BLACKHOLE = 6,
1: + RTN_UNREACHABLE = 7,
1: + RTN_PROHIBIT = 8,
1: + RTN_THROW = 9,
1: + RTN_NAT = 10,
1: + RTN_XRESOLVE = 11,
1: + __RTN_MAX = 12,
1: +};
1: +
1: +enum {
1: + NEIGH_ARP_TABLE = 0,
1: + NEIGH_ND_TABLE = 1,
1: + NEIGH_DN_TABLE = 2,
1: + NEIGH_NR_TABLES = 3,
1: + NEIGH_LINK_TABLE = 3,
1: };
1:
1: struct neigh_seq_state {
1: - struct seq_net_private p;
1: - struct neigh_table *tbl;
1: - struct neigh_hash_table *nht;
1: - void * (*neigh_sub_iter)(struct neigh_seq_state *, struct neighbour *, loff_t *);
1: - unsigned int bucket;
1: - unsigned int flags;
1: + struct seq_net_private p;
1: + struct neigh_table *tbl;
1: + struct neigh_hash_table *nht;
1: + void *(*neigh_sub_iter)(struct neigh_seq_state *, struct neighbour *,
1: + loff_t *);
1: + unsigned int bucket;
1: + unsigned int flags;
1: };
1:
1: struct neighbour_cb {
1: - long unsigned int sched_next;
1: - unsigned int flags;
1: + long unsigned int sched_next;
1: + unsigned int flags;
1: };
1:
1: enum netevent_notif_type {
1: - NETEVENT_NEIGH_UPDATE = 1,
1: - NETEVENT_REDIRECT = 2,
1: - NETEVENT_DELAY_PROBE_TIME_UPDATE = 3,
1: - NETEVENT_IPV4_MPATH_HASH_UPDATE = 4,
1: - NETEVENT_IPV6_MPATH_HASH_UPDATE = 5,
1: - NETEVENT_IPV4_FWD_UPDATE_PRIORITY_UPDATE = 6,
1: + NETEVENT_NEIGH_UPDATE = 1,
1: + NETEVENT_REDIRECT = 2,
1: + NETEVENT_DELAY_PROBE_TIME_UPDATE = 3,
1: + NETEVENT_IPV4_MPATH_HASH_UPDATE = 4,
1: + NETEVENT_IPV6_MPATH_HASH_UPDATE = 5,
1: + NETEVENT_IPV4_FWD_UPDATE_PRIORITY_UPDATE = 6,
1: };
1:
1: struct neigh_dump_filter {
1: - int master_idx;
1: - int dev_idx;
1: + int master_idx;
1: + int dev_idx;
1: };
1:
1: struct neigh_sysctl_table {
1: - struct ctl_table_header *sysctl_header;
1: - struct ctl_table neigh_vars[21];
1: + struct ctl_table_header *sysctl_header;
1: + struct ctl_table neigh_vars[21];
1: };
1:
1: struct netlink_dump_control {
1: - int (*start)(struct netlink_callback *);
1: - int (*dump)(struct sk_buff *, struct netlink_callback *);
1: - int (*done)(struct netlink_callback *);
1: - void *data;
1: - struct module *module;
1: - u16 min_dump_alloc;
1: + int (*start)(struct netlink_callback *);
1: + int (*dump)(struct sk_buff *, struct netlink_callback *);
1: + int (*done)(struct netlink_callback *);
1: + void *data;
1: + struct module *module;
1: + u16 min_dump_alloc;
1: };
1:
1: struct rtnl_link_stats {
1: - __u32 rx_packets;
1: - __u32 tx_packets;
1: - __u32 rx_bytes;
1: - __u32 tx_bytes;
1: - __u32 rx_errors;
1: - __u32 tx_errors;
1: - __u32 rx_dropped;
1: - __u32 tx_dropped;
1: - __u32 multicast;
1: - __u32 collisions;
1: - __u32 rx_length_errors;
1: - __u32 rx_over_errors;
1: - __u32 rx_crc_errors;
1: - __u32 rx_frame_errors;
1: - __u32 rx_fifo_errors;
1: - __u32 rx_missed_errors;
1: - __u32 tx_aborted_errors;
1: - __u32 tx_carrier_errors;
1: - __u32 tx_fifo_errors;
1: - __u32 tx_heartbeat_errors;
1: - __u32 tx_window_errors;
1: - __u32 rx_compressed;
1: - __u32 tx_compressed;
1: - __u32 rx_nohandler;
1: + __u32 rx_packets;
1: + __u32 tx_packets;
1: + __u32 rx_bytes;
1: + __u32 tx_bytes;
1: + __u32 rx_errors;
1: + __u32 tx_errors;
1: + __u32 rx_dropped;
1: + __u32 tx_dropped;
1: + __u32 multicast;
1: + __u32 collisions;
1: + __u32 rx_length_errors;
1: + __u32 rx_over_errors;
1: + __u32 rx_crc_errors;
1: + __u32 rx_frame_errors;
1: + __u32 rx_fifo_errors;
1: + __u32 rx_missed_errors;
1: + __u32 tx_aborted_errors;
1: + __u32 tx_carrier_errors;
1: + __u32 tx_fifo_errors;
1: + __u32 tx_heartbeat_errors;
1: + __u32 tx_window_errors;
1: + __u32 rx_compressed;
1: + __u32 tx_compressed;
1: + __u32 rx_nohandler;
1: };
1:
1: struct rtnl_link_ifmap {
1: - __u64 mem_start;
1: - __u64 mem_end;
1: - __u64 base_addr;
1: - __u16 irq;
1: - __u8 dma;
1: - __u8 port;
1: -};
1: -
1: -enum {
1: - IFLA_UNSPEC = 0,
1: - IFLA_ADDRESS = 1,
1: - IFLA_BROADCAST = 2,
1: - IFLA_IFNAME = 3,
1: - IFLA_MTU = 4,
1: - IFLA_LINK = 5,
1: - IFLA_QDISC = 6,
1: - IFLA_STATS = 7,
1: - IFLA_COST = 8,
1: - IFLA_PRIORITY = 9,
1: - IFLA_MASTER = 10,
1: - IFLA_WIRELESS = 11,
1: - IFLA_PROTINFO = 12,
1: - IFLA_TXQLEN = 13,
1: - IFLA_MAP = 14,
1: - IFLA_WEIGHT = 15,
1: - IFLA_OPERSTATE = 16,
1: - IFLA_LINKMODE = 17,
1: - IFLA_LINKINFO = 18,
1: - IFLA_NET_NS_PID = 19,
1: - IFLA_IFALIAS = 20,
1: - IFLA_NUM_VF = 21,
1: - IFLA_VFINFO_LIST = 22,
1: - IFLA_STATS64 = 23,
1: - IFLA_VF_PORTS = 24,
1: - IFLA_PORT_SELF = 25,
1: - IFLA_AF_SPEC = 26,
1: - IFLA_GROUP = 27,
1: - IFLA_NET_NS_FD = 28,
1: - IFLA_EXT_MASK = 29,
1: - IFLA_PROMISCUITY = 30,
1: - IFLA_NUM_TX_QUEUES = 31,
1: - IFLA_NUM_RX_QUEUES = 32,
1: - IFLA_CARRIER = 33,
1: - IFLA_PHYS_PORT_ID = 34,
1: - IFLA_CARRIER_CHANGES = 35,
1: - IFLA_PHYS_SWITCH_ID = 36,
1: - IFLA_LINK_NETNSID = 37,
1: - IFLA_PHYS_PORT_NAME = 38,
1: - IFLA_PROTO_DOWN = 39,
1: - IFLA_GSO_MAX_SEGS = 40,
1: - IFLA_GSO_MAX_SIZE = 41,
1: - IFLA_PAD = 42,
1: - IFLA_XDP = 43,
1: - IFLA_EVENT = 44,
1: - IFLA_NEW_NETNSID = 45,
1: - IFLA_IF_NETNSID = 46,
1: - IFLA_TARGET_NETNSID = 46,
1: - IFLA_CARRIER_UP_COUNT = 47,
1: - IFLA_CARRIER_DOWN_COUNT = 48,
1: - IFLA_NEW_IFINDEX = 49,
1: - IFLA_MIN_MTU = 50,
1: - IFLA_MAX_MTU = 51,
1: - IFLA_PROP_LIST = 52,
1: - IFLA_ALT_IFNAME = 53,
1: - __IFLA_MAX = 54,
1: -};
1: -
1: -enum {
1: - IFLA_BRPORT_UNSPEC = 0,
1: - IFLA_BRPORT_STATE = 1,
1: - IFLA_BRPORT_PRIORITY = 2,
1: - IFLA_BRPORT_COST = 3,
1: - IFLA_BRPORT_MODE = 4,
1: - IFLA_BRPORT_GUARD = 5,
1: - IFLA_BRPORT_PROTECT = 6,
1: - IFLA_BRPORT_FAST_LEAVE = 7,
1: - IFLA_BRPORT_LEARNING = 8,
1: - IFLA_BRPORT_UNICAST_FLOOD = 9,
1: - IFLA_BRPORT_PROXYARP = 10,
1: - IFLA_BRPORT_LEARNING_SYNC = 11,
1: - IFLA_BRPORT_PROXYARP_WIFI = 12,
1: - IFLA_BRPORT_ROOT_ID = 13,
1: - IFLA_BRPORT_BRIDGE_ID = 14,
1: - IFLA_BRPORT_DESIGNATED_PORT = 15,
1: - IFLA_BRPORT_DESIGNATED_COST = 16,
1: - IFLA_BRPORT_ID = 17,
1: - IFLA_BRPORT_NO = 18,
1: - IFLA_BRPORT_TOPOLOGY_CHANGE_ACK = 19,
1: - IFLA_BRPORT_CONFIG_PENDING = 20,
1: - IFLA_BRPORT_MESSAGE_AGE_TIMER = 21,
1: - IFLA_BRPORT_FORWARD_DELAY_TIMER = 22,
1: - IFLA_BRPORT_HOLD_TIMER = 23,
1: - IFLA_BRPORT_FLUSH = 24,
1: - IFLA_BRPORT_MULTICAST_ROUTER = 25,
1: - IFLA_BRPORT_PAD = 26,
1: - IFLA_BRPORT_MCAST_FLOOD = 27,
1: - IFLA_BRPORT_MCAST_TO_UCAST = 28,
1: - IFLA_BRPORT_VLAN_TUNNEL = 29,
1: - IFLA_BRPORT_BCAST_FLOOD = 30,
1: - IFLA_BRPORT_GROUP_FWD_MASK = 31,
1: - IFLA_BRPORT_NEIGH_SUPPRESS = 32,
1: - IFLA_BRPORT_ISOLATED = 33,
1: - IFLA_BRPORT_BACKUP_PORT = 34,
1: - __IFLA_BRPORT_MAX = 35,
1: -};
1: -
1: -enum {
1: - IFLA_INFO_UNSPEC = 0,
1: - IFLA_INFO_KIND = 1,
1: - IFLA_INFO_DATA = 2,
1: - IFLA_INFO_XSTATS = 3,
1: - IFLA_INFO_SLAVE_KIND = 4,
1: - IFLA_INFO_SLAVE_DATA = 5,
1: - __IFLA_INFO_MAX = 6,
1: -};
1: -
1: -enum {
1: - IFLA_VF_INFO_UNSPEC = 0,
1: - IFLA_VF_INFO = 1,
1: - __IFLA_VF_INFO_MAX = 2,
1: -};
1: -
1: -enum {
1: - IFLA_VF_UNSPEC = 0,
1: - IFLA_VF_MAC = 1,
1: - IFLA_VF_VLAN = 2,
1: - IFLA_VF_TX_RATE = 3,
1: - IFLA_VF_SPOOFCHK = 4,
1: - IFLA_VF_LINK_STATE = 5,
1: - IFLA_VF_RATE = 6,
1: - IFLA_VF_RSS_QUERY_EN = 7,
1: - IFLA_VF_STATS = 8,
1: - IFLA_VF_TRUST = 9,
1: - IFLA_VF_IB_NODE_GUID = 10,
1: - IFLA_VF_IB_PORT_GUID = 11,
1: - IFLA_VF_VLAN_LIST = 12,
1: - IFLA_VF_BROADCAST = 13,
1: - __IFLA_VF_MAX = 14,
1: + __u64 mem_start;
1: + __u64 mem_end;
1: + __u64 base_addr;
1: + __u16 irq;
1: + __u8 dma;
1: + __u8 port;
1: +};
1: +
1: +enum {
1: + IFLA_UNSPEC = 0,
1: + IFLA_ADDRESS = 1,
1: + IFLA_BROADCAST = 2,
1: + IFLA_IFNAME = 3,
1: + IFLA_MTU = 4,
1: + IFLA_LINK = 5,
1: + IFLA_QDISC = 6,
1: + IFLA_STATS = 7,
1: + IFLA_COST = 8,
1: + IFLA_PRIORITY = 9,
1: + IFLA_MASTER = 10,
1: + IFLA_WIRELESS = 11,
1: + IFLA_PROTINFO = 12,
1: + IFLA_TXQLEN = 13,
1: + IFLA_MAP = 14,
1: + IFLA_WEIGHT = 15,
1: + IFLA_OPERSTATE = 16,
1: + IFLA_LINKMODE = 17,
1: + IFLA_LINKINFO = 18,
1: + IFLA_NET_NS_PID = 19,
1: + IFLA_IFALIAS = 20,
1: + IFLA_NUM_VF = 21,
1: + IFLA_VFINFO_LIST = 22,
1: + IFLA_STATS64 = 23,
1: + IFLA_VF_PORTS = 24,
1: + IFLA_PORT_SELF = 25,
1: + IFLA_AF_SPEC = 26,
1: + IFLA_GROUP = 27,
1: + IFLA_NET_NS_FD = 28,
1: + IFLA_EXT_MASK = 29,
1: + IFLA_PROMISCUITY = 30,
1: + IFLA_NUM_TX_QUEUES = 31,
1: + IFLA_NUM_RX_QUEUES = 32,
1: + IFLA_CARRIER = 33,
1: + IFLA_PHYS_PORT_ID = 34,
1: + IFLA_CARRIER_CHANGES = 35,
1: + IFLA_PHYS_SWITCH_ID = 36,
1: + IFLA_LINK_NETNSID = 37,
1: + IFLA_PHYS_PORT_NAME = 38,
1: + IFLA_PROTO_DOWN = 39,
1: + IFLA_GSO_MAX_SEGS = 40,
1: + IFLA_GSO_MAX_SIZE = 41,
1: + IFLA_PAD = 42,
1: + IFLA_XDP = 43,
1: + IFLA_EVENT = 44,
1: + IFLA_NEW_NETNSID = 45,
1: + IFLA_IF_NETNSID = 46,
1: + IFLA_TARGET_NETNSID = 46,
1: + IFLA_CARRIER_UP_COUNT = 47,
1: + IFLA_CARRIER_DOWN_COUNT = 48,
1: + IFLA_NEW_IFINDEX = 49,
1: + IFLA_MIN_MTU = 50,
1: + IFLA_MAX_MTU = 51,
1: + IFLA_PROP_LIST = 52,
1: + IFLA_ALT_IFNAME = 53,
1: + __IFLA_MAX = 54,
1: +};
1: +
1: +enum {
1: + IFLA_BRPORT_UNSPEC = 0,
1: + IFLA_BRPORT_STATE = 1,
1: + IFLA_BRPORT_PRIORITY = 2,
1: + IFLA_BRPORT_COST = 3,
1: + IFLA_BRPORT_MODE = 4,
1: + IFLA_BRPORT_GUARD = 5,
1: + IFLA_BRPORT_PROTECT = 6,
1: + IFLA_BRPORT_FAST_LEAVE = 7,
1: + IFLA_BRPORT_LEARNING = 8,
1: + IFLA_BRPORT_UNICAST_FLOOD = 9,
1: + IFLA_BRPORT_PROXYARP = 10,
1: + IFLA_BRPORT_LEARNING_SYNC = 11,
1: + IFLA_BRPORT_PROXYARP_WIFI = 12,
1: + IFLA_BRPORT_ROOT_ID = 13,
1: + IFLA_BRPORT_BRIDGE_ID = 14,
1: + IFLA_BRPORT_DESIGNATED_PORT = 15,
1: + IFLA_BRPORT_DESIGNATED_COST = 16,
1: + IFLA_BRPORT_ID = 17,
1: + IFLA_BRPORT_NO = 18,
1: + IFLA_BRPORT_TOPOLOGY_CHANGE_ACK = 19,
1: + IFLA_BRPORT_CONFIG_PENDING = 20,
1: + IFLA_BRPORT_MESSAGE_AGE_TIMER = 21,
1: + IFLA_BRPORT_FORWARD_DELAY_TIMER = 22,
1: + IFLA_BRPORT_HOLD_TIMER = 23,
1: + IFLA_BRPORT_FLUSH = 24,
1: + IFLA_BRPORT_MULTICAST_ROUTER = 25,
1: + IFLA_BRPORT_PAD = 26,
1: + IFLA_BRPORT_MCAST_FLOOD = 27,
1: + IFLA_BRPORT_MCAST_TO_UCAST = 28,
1: + IFLA_BRPORT_VLAN_TUNNEL = 29,
1: + IFLA_BRPORT_BCAST_FLOOD = 30,
1: + IFLA_BRPORT_GROUP_FWD_MASK = 31,
1: + IFLA_BRPORT_NEIGH_SUPPRESS = 32,
1: + IFLA_BRPORT_ISOLATED = 33,
1: + IFLA_BRPORT_BACKUP_PORT = 34,
1: + __IFLA_BRPORT_MAX = 35,
1: +};
1: +
1: +enum {
1: + IFLA_INFO_UNSPEC = 0,
1: + IFLA_INFO_KIND = 1,
1: + IFLA_INFO_DATA = 2,
1: + IFLA_INFO_XSTATS = 3,
1: + IFLA_INFO_SLAVE_KIND = 4,
1: + IFLA_INFO_SLAVE_DATA = 5,
1: + __IFLA_INFO_MAX = 6,
1: +};
1: +
1: +enum {
1: + IFLA_VF_INFO_UNSPEC = 0,
1: + IFLA_VF_INFO = 1,
1: + __IFLA_VF_INFO_MAX = 2,
1: +};
1: +
1: +enum {
1: + IFLA_VF_UNSPEC = 0,
1: + IFLA_VF_MAC = 1,
1: + IFLA_VF_VLAN = 2,
1: + IFLA_VF_TX_RATE = 3,
1: + IFLA_VF_SPOOFCHK = 4,
1: + IFLA_VF_LINK_STATE = 5,
1: + IFLA_VF_RATE = 6,
1: + IFLA_VF_RSS_QUERY_EN = 7,
1: + IFLA_VF_STATS = 8,
1: + IFLA_VF_TRUST = 9,
1: + IFLA_VF_IB_NODE_GUID = 10,
1: + IFLA_VF_IB_PORT_GUID = 11,
1: + IFLA_VF_VLAN_LIST = 12,
1: + IFLA_VF_BROADCAST = 13,
1: + __IFLA_VF_MAX = 14,
1: };
1:
1: struct ifla_vf_mac {
1: - __u32 vf;
1: - __u8 mac[32];
1: + __u32 vf;
1: + __u8 mac[32];
1: };
1:
1: struct ifla_vf_broadcast {
1: - __u8 broadcast[32];
1: + __u8 broadcast[32];
1: };
1:
1: struct ifla_vf_vlan {
1: - __u32 vf;
1: - __u32 vlan;
1: - __u32 qos;
1: + __u32 vf;
1: + __u32 vlan;
1: + __u32 qos;
1: };
1:
1: enum {
1: - IFLA_VF_VLAN_INFO_UNSPEC = 0,
1: - IFLA_VF_VLAN_INFO = 1,
1: - __IFLA_VF_VLAN_INFO_MAX = 2,
1: + IFLA_VF_VLAN_INFO_UNSPEC = 0,
1: + IFLA_VF_VLAN_INFO = 1,
1: + __IFLA_VF_VLAN_INFO_MAX = 2,
1: };
1:
1: struct ifla_vf_vlan_info {
1: - __u32 vf;
1: - __u32 vlan;
1: - __u32 qos;
1: - __be16 vlan_proto;
1: + __u32 vf;
1: + __u32 vlan;
1: + __u32 qos;
1: + __be16 vlan_proto;
1: };
1:
1: struct ifla_vf_tx_rate {
1: - __u32 vf;
1: - __u32 rate;
1: + __u32 vf;
1: + __u32 rate;
1: };
1:
1: struct ifla_vf_rate {
1: - __u32 vf;
1: - __u32 min_tx_rate;
1: - __u32 max_tx_rate;
1: + __u32 vf;
1: + __u32 min_tx_rate;
1: + __u32 max_tx_rate;
1: };
1:
1: struct ifla_vf_spoofchk {
1: - __u32 vf;
1: - __u32 setting;
1: + __u32 vf;
1: + __u32 setting;
1: };
1:
1: struct ifla_vf_link_state {
1: - __u32 vf;
1: - __u32 link_state;
1: + __u32 vf;
1: + __u32 link_state;
1: };
1:
1: struct ifla_vf_rss_query_en {
1: - __u32 vf;
1: - __u32 setting;
1: + __u32 vf;
1: + __u32 setting;
1: };
1:
1: enum {
1: - IFLA_VF_STATS_RX_PACKETS = 0,
1: - IFLA_VF_STATS_TX_PACKETS = 1,
1: - IFLA_VF_STATS_RX_BYTES = 2,
1: - IFLA_VF_STATS_TX_BYTES = 3,
1: - IFLA_VF_STATS_BROADCAST = 4,
1: - IFLA_VF_STATS_MULTICAST = 5,
1: - IFLA_VF_STATS_PAD = 6,
1: - IFLA_VF_STATS_RX_DROPPED = 7,
1: - IFLA_VF_STATS_TX_DROPPED = 8,
1: - __IFLA_VF_STATS_MAX = 9,
1: + IFLA_VF_STATS_RX_PACKETS = 0,
1: + IFLA_VF_STATS_TX_PACKETS = 1,
1: + IFLA_VF_STATS_RX_BYTES = 2,
1: + IFLA_VF_STATS_TX_BYTES = 3,
1: + IFLA_VF_STATS_BROADCAST = 4,
1: + IFLA_VF_STATS_MULTICAST = 5,
1: + IFLA_VF_STATS_PAD = 6,
1: + IFLA_VF_STATS_RX_DROPPED = 7,
1: + IFLA_VF_STATS_TX_DROPPED = 8,
1: + __IFLA_VF_STATS_MAX = 9,
1: };
1:
1: struct ifla_vf_trust {
1: - __u32 vf;
1: - __u32 setting;
1: + __u32 vf;
1: + __u32 setting;
1: };
1:
1: enum {
1: - IFLA_VF_PORT_UNSPEC = 0,
1: - IFLA_VF_PORT = 1,
1: - __IFLA_VF_PORT_MAX = 2,
1: + IFLA_VF_PORT_UNSPEC = 0,
1: + IFLA_VF_PORT = 1,
1: + __IFLA_VF_PORT_MAX = 2,
1: };
1:
1: enum {
1: - IFLA_PORT_UNSPEC = 0,
1: - IFLA_PORT_VF = 1,
1: - IFLA_PORT_PROFILE = 2,
1: - IFLA_PORT_VSI_TYPE = 3,
1: - IFLA_PORT_INSTANCE_UUID = 4,
1: - IFLA_PORT_HOST_UUID = 5,
1: - IFLA_PORT_REQUEST = 6,
1: - IFLA_PORT_RESPONSE = 7,
1: - __IFLA_PORT_MAX = 8,
1: + IFLA_PORT_UNSPEC = 0,
1: + IFLA_PORT_VF = 1,
1: + IFLA_PORT_PROFILE = 2,
1: + IFLA_PORT_VSI_TYPE = 3,
1: + IFLA_PORT_INSTANCE_UUID = 4,
1: + IFLA_PORT_HOST_UUID = 5,
1: + IFLA_PORT_REQUEST = 6,
1: + IFLA_PORT_RESPONSE = 7,
1: + __IFLA_PORT_MAX = 8,
1: };
1:
1: struct if_stats_msg {
1: - __u8 family;
1: - __u8 pad1;
1: - __u16 pad2;
1: - __u32 ifindex;
1: - __u32 filter_mask;
1: + __u8 family;
1: + __u8 pad1;
1: + __u16 pad2;
1: + __u32 ifindex;
1: + __u32 filter_mask;
1: };
1:
1: enum {
1: - IFLA_STATS_UNSPEC = 0,
1: - IFLA_STATS_LINK_64 = 1,
1: - IFLA_STATS_LINK_XSTATS = 2,
1: - IFLA_STATS_LINK_XSTATS_SLAVE = 3,
1: - IFLA_STATS_LINK_OFFLOAD_XSTATS = 4,
1: - IFLA_STATS_AF_SPEC = 5,
1: - __IFLA_STATS_MAX = 6,
1: + IFLA_STATS_UNSPEC = 0,
1: + IFLA_STATS_LINK_64 = 1,
1: + IFLA_STATS_LINK_XSTATS = 2,
1: + IFLA_STATS_LINK_XSTATS_SLAVE = 3,
1: + IFLA_STATS_LINK_OFFLOAD_XSTATS = 4,
1: + IFLA_STATS_AF_SPEC = 5,
1: + __IFLA_STATS_MAX = 6,
1: };
1:
1: enum {
1: - IFLA_OFFLOAD_XSTATS_UNSPEC = 0,
1: - IFLA_OFFLOAD_XSTATS_CPU_HIT = 1,
1: - __IFLA_OFFLOAD_XSTATS_MAX = 2,
1: + IFLA_OFFLOAD_XSTATS_UNSPEC = 0,
1: + IFLA_OFFLOAD_XSTATS_CPU_HIT = 1,
1: + __IFLA_OFFLOAD_XSTATS_MAX = 2,
1: };
1:
1: enum {
1: - XDP_ATTACHED_NONE = 0,
1: - XDP_ATTACHED_DRV = 1,
1: - XDP_ATTACHED_SKB = 2,
1: - XDP_ATTACHED_HW = 3,
1: - XDP_ATTACHED_MULTI = 4,
1: + XDP_ATTACHED_NONE = 0,
1: + XDP_ATTACHED_DRV = 1,
1: + XDP_ATTACHED_SKB = 2,
1: + XDP_ATTACHED_HW = 3,
1: + XDP_ATTACHED_MULTI = 4,
1: };
1:
1: enum {
1: - IFLA_XDP_UNSPEC = 0,
1: - IFLA_XDP_FD = 1,
1: - IFLA_XDP_ATTACHED = 2,
1: - IFLA_XDP_FLAGS = 3,
1: - IFLA_XDP_PROG_ID = 4,
1: - IFLA_XDP_DRV_PROG_ID = 5,
1: - IFLA_XDP_SKB_PROG_ID = 6,
1: - IFLA_XDP_HW_PROG_ID = 7,
1: - __IFLA_XDP_MAX = 8,
1: + IFLA_XDP_UNSPEC = 0,
1: + IFLA_XDP_FD = 1,
1: + IFLA_XDP_ATTACHED = 2,
1: + IFLA_XDP_FLAGS = 3,
1: + IFLA_XDP_PROG_ID = 4,
1: + IFLA_XDP_DRV_PROG_ID = 5,
1: + IFLA_XDP_SKB_PROG_ID = 6,
1: + IFLA_XDP_HW_PROG_ID = 7,
1: + __IFLA_XDP_MAX = 8,
1: };
1:
1: enum {
1: - IFLA_EVENT_NONE = 0,
1: - IFLA_EVENT_REBOOT = 1,
1: - IFLA_EVENT_FEATURES = 2,
1: - IFLA_EVENT_BONDING_FAILOVER = 3,
1: - IFLA_EVENT_NOTIFY_PEERS = 4,
1: - IFLA_EVENT_IGMP_RESEND = 5,
1: - IFLA_EVENT_BONDING_OPTIONS = 6,
1: + IFLA_EVENT_NONE = 0,
1: + IFLA_EVENT_REBOOT = 1,
1: + IFLA_EVENT_FEATURES = 2,
1: + IFLA_EVENT_BONDING_FAILOVER = 3,
1: + IFLA_EVENT_NOTIFY_PEERS = 4,
1: + IFLA_EVENT_IGMP_RESEND = 5,
1: + IFLA_EVENT_BONDING_OPTIONS = 6,
1: };
1:
1: enum {
1: - IFLA_BRIDGE_FLAGS = 0,
1: - IFLA_BRIDGE_MODE = 1,
1: - IFLA_BRIDGE_VLAN_INFO = 2,
1: - IFLA_BRIDGE_VLAN_TUNNEL_INFO = 3,
1: - __IFLA_BRIDGE_MAX = 4,
1: + IFLA_BRIDGE_FLAGS = 0,
1: + IFLA_BRIDGE_MODE = 1,
1: + IFLA_BRIDGE_VLAN_INFO = 2,
1: + IFLA_BRIDGE_VLAN_TUNNEL_INFO = 3,
1: + __IFLA_BRIDGE_MAX = 4,
1: };
1:
1: enum {
1: - BR_MCAST_DIR_RX = 0,
1: - BR_MCAST_DIR_TX = 1,
1: - BR_MCAST_DIR_SIZE = 2,
1: + BR_MCAST_DIR_RX = 0,
1: + BR_MCAST_DIR_TX = 1,
1: + BR_MCAST_DIR_SIZE = 2,
1: };
1:
1: enum rtattr_type_t {
1: - RTA_UNSPEC = 0,
1: - RTA_DST = 1,
1: - RTA_SRC = 2,
1: - RTA_IIF = 3,
1: - RTA_OIF = 4,
1: - RTA_GATEWAY = 5,
1: - RTA_PRIORITY = 6,
1: - RTA_PREFSRC = 7,
1: - RTA_METRICS = 8,
1: - RTA_MULTIPATH = 9,
1: - RTA_PROTOINFO = 10,
1: - RTA_FLOW = 11,
1: - RTA_CACHEINFO = 12,
1: - RTA_SESSION = 13,
1: - RTA_MP_ALGO = 14,
1: - RTA_TABLE = 15,
1: - RTA_MARK = 16,
1: - RTA_MFC_STATS = 17,
1: - RTA_VIA = 18,
1: - RTA_NEWDST = 19,
1: - RTA_PREF = 20,
1: - RTA_ENCAP_TYPE = 21,
1: - RTA_ENCAP = 22,
1: - RTA_EXPIRES = 23,
1: - RTA_PAD = 24,
1: - RTA_UID = 25,
1: - RTA_TTL_PROPAGATE = 26,
1: - RTA_IP_PROTO = 27,
1: - RTA_SPORT = 28,
1: - RTA_DPORT = 29,
1: - RTA_NH_ID = 30,
1: - __RTA_MAX = 31,
1: + RTA_UNSPEC = 0,
1: + RTA_DST = 1,
1: + RTA_SRC = 2,
1: + RTA_IIF = 3,
1: + RTA_OIF = 4,
1: + RTA_GATEWAY = 5,
1: + RTA_PRIORITY = 6,
1: + RTA_PREFSRC = 7,
1: + RTA_METRICS = 8,
1: + RTA_MULTIPATH = 9,
1: + RTA_PROTOINFO = 10,
1: + RTA_FLOW = 11,
1: + RTA_CACHEINFO = 12,
1: + RTA_SESSION = 13,
1: + RTA_MP_ALGO = 14,
1: + RTA_TABLE = 15,
1: + RTA_MARK = 16,
1: + RTA_MFC_STATS = 17,
1: + RTA_VIA = 18,
1: + RTA_NEWDST = 19,
1: + RTA_PREF = 20,
1: + RTA_ENCAP_TYPE = 21,
1: + RTA_ENCAP = 22,
1: + RTA_EXPIRES = 23,
1: + RTA_PAD = 24,
1: + RTA_UID = 25,
1: + RTA_TTL_PROPAGATE = 26,
1: + RTA_IP_PROTO = 27,
1: + RTA_SPORT = 28,
1: + RTA_DPORT = 29,
1: + RTA_NH_ID = 30,
1: + __RTA_MAX = 31,
1: };
1:
1: struct rta_cacheinfo {
1: - __u32 rta_clntref;
1: - __u32 rta_lastuse;
1: - __s32 rta_expires;
1: - __u32 rta_error;
1: - __u32 rta_used;
1: - __u32 rta_id;
1: - __u32 rta_ts;
1: - __u32 rta_tsage;
1: + __u32 rta_clntref;
1: + __u32 rta_lastuse;
1: + __s32 rta_expires;
1: + __u32 rta_error;
1: + __u32 rta_used;
1: + __u32 rta_id;
1: + __u32 rta_ts;
1: + __u32 rta_tsage;
1: };
1:
1: struct ifinfomsg {
1: - unsigned char ifi_family;
1: - unsigned char __ifi_pad;
1: - short unsigned int ifi_type;
1: - int ifi_index;
1: - unsigned int ifi_flags;
1: - unsigned int ifi_change;
1: + unsigned char ifi_family;
1: + unsigned char __ifi_pad;
1: + short unsigned int ifi_type;
1: + int ifi_index;
1: + unsigned int ifi_flags;
1: + unsigned int ifi_change;
1: };
1:
1: struct rtnl_af_ops {
1: - struct list_head list;
1: - int family;
1: - int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32);
1: - size_t (*get_link_af_size)(const struct net_device *, u32);
1: - int (*validate_link_af)(const struct net_device *, const struct nlattr *);
1: - int (*set_link_af)(struct net_device *, const struct nlattr *);
1: - int (*fill_stats_af)(struct sk_buff *, const struct net_device *);
1: - size_t (*get_stats_af_size)(const struct net_device *);
1: + struct list_head list;
1: + int family;
1: + int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32);
1: + size_t (*get_link_af_size)(const struct net_device *, u32);
1: + int (*validate_link_af)(const struct net_device *, const struct nlattr *);
1: + int (*set_link_af)(struct net_device *, const struct nlattr *);
1: + int (*fill_stats_af)(struct sk_buff *, const struct net_device *);
1: + size_t (*get_stats_af_size)(const struct net_device *);
1: };
1:
1: struct rtnl_link {
1: - rtnl_doit_func doit;
1: - rtnl_dumpit_func dumpit;
1: - struct module *owner;
1: - unsigned int flags;
1: - struct callback_head rcu;
1: + rtnl_doit_func doit;
1: + rtnl_dumpit_func dumpit;
1: + struct module *owner;
1: + unsigned int flags;
1: + struct callback_head rcu;
1: };
1:
1: enum {
1: - IF_LINK_MODE_DEFAULT = 0,
1: - IF_LINK_MODE_DORMANT = 1,
1: + IF_LINK_MODE_DEFAULT = 0,
1: + IF_LINK_MODE_DORMANT = 1,
1: };
1:
1: enum lw_bits {
1: - LW_URGENT = 0,
1: + LW_URGENT = 0,
1: };
1:
1: struct seg6_pernet_data {
1: - struct mutex lock;
1: - struct in6_addr *tun_src;
1: + struct mutex lock;
1: + struct in6_addr *tun_src;
1: };
1:
1: enum bpf_func_id {
1: - BPF_FUNC_unspec = 0,
1: - BPF_FUNC_map_lookup_elem = 1,
1: - BPF_FUNC_map_update_elem = 2,
1: - BPF_FUNC_map_delete_elem = 3,
1: - BPF_FUNC_probe_read = 4,
1: - BPF_FUNC_ktime_get_ns = 5,
1: - BPF_FUNC_trace_printk = 6,
1: - BPF_FUNC_get_prandom_u32 = 7,
1: - BPF_FUNC_get_smp_processor_id = 8,
1: - BPF_FUNC_skb_store_bytes = 9,
1: - BPF_FUNC_l3_csum_replace = 10,
1: - BPF_FUNC_l4_csum_replace = 11,
1: - BPF_FUNC_tail_call = 12,
1: - BPF_FUNC_clone_redirect = 13,
1: - BPF_FUNC_get_current_pid_tgid = 14,
1: - BPF_FUNC_get_current_uid_gid = 15,
1: - BPF_FUNC_get_current_comm = 16,
1: - BPF_FUNC_get_cgroup_classid = 17,
1: - BPF_FUNC_skb_vlan_push = 18,
1: - BPF_FUNC_skb_vlan_pop = 19,
1: - BPF_FUNC_skb_get_tunnel_key = 20,
1: - BPF_FUNC_skb_set_tunnel_key = 21,
1: - BPF_FUNC_perf_event_read = 22,
1: - BPF_FUNC_redirect = 23,
1: - BPF_FUNC_get_route_realm = 24,
1: - BPF_FUNC_perf_event_output = 25,
1: - BPF_FUNC_skb_load_bytes = 26,
1: - BPF_FUNC_get_stackid = 27,
1: - BPF_FUNC_csum_diff = 28,
1: - BPF_FUNC_skb_get_tunnel_opt = 29,
1: - BPF_FUNC_skb_set_tunnel_opt = 30,
1: - BPF_FUNC_skb_change_proto = 31,
1: - BPF_FUNC_skb_change_type = 32,
1: - BPF_FUNC_skb_under_cgroup = 33,
1: - BPF_FUNC_get_hash_recalc = 34,
1: - BPF_FUNC_get_current_task = 35,
1: - BPF_FUNC_probe_write_user = 36,
1: - BPF_FUNC_current_task_under_cgroup = 37,
1: - BPF_FUNC_skb_change_tail = 38,
1: - BPF_FUNC_skb_pull_data = 39,
1: - BPF_FUNC_csum_update = 40,
1: - BPF_FUNC_set_hash_invalid = 41,
1: - BPF_FUNC_get_numa_node_id = 42,
1: - BPF_FUNC_skb_change_head = 43,
1: - BPF_FUNC_xdp_adjust_head = 44,
1: - BPF_FUNC_probe_read_str = 45,
1: - BPF_FUNC_get_socket_cookie = 46,
1: - BPF_FUNC_get_socket_uid = 47,
1: - BPF_FUNC_set_hash = 48,
1: - BPF_FUNC_setsockopt = 49,
1: - BPF_FUNC_skb_adjust_room = 50,
1: - BPF_FUNC_redirect_map = 51,
1: - BPF_FUNC_sk_redirect_map = 52,
1: - BPF_FUNC_sock_map_update = 53,
1: - BPF_FUNC_xdp_adjust_meta = 54,
1: - BPF_FUNC_perf_event_read_value = 55,
1: - BPF_FUNC_perf_prog_read_value = 56,
1: - BPF_FUNC_getsockopt = 57,
1: - BPF_FUNC_override_return = 58,
1: - BPF_FUNC_sock_ops_cb_flags_set = 59,
1: - BPF_FUNC_msg_redirect_map = 60,
1: - BPF_FUNC_msg_apply_bytes = 61,
1: - BPF_FUNC_msg_cork_bytes = 62,
1: - BPF_FUNC_msg_pull_data = 63,
1: - BPF_FUNC_bind = 64,
1: - BPF_FUNC_xdp_adjust_tail = 65,
1: - BPF_FUNC_skb_get_xfrm_state = 66,
1: - BPF_FUNC_get_stack = 67,
1: - BPF_FUNC_skb_load_bytes_relative = 68,
1: - BPF_FUNC_fib_lookup = 69,
1: - BPF_FUNC_sock_hash_update = 70,
1: - BPF_FUNC_msg_redirect_hash = 71,
1: - BPF_FUNC_sk_redirect_hash = 72,
1: - BPF_FUNC_lwt_push_encap = 73,
1: - BPF_FUNC_lwt_seg6_store_bytes = 74,
1: - BPF_FUNC_lwt_seg6_adjust_srh = 75,
1: - BPF_FUNC_lwt_seg6_action = 76,
1: - BPF_FUNC_rc_repeat = 77,
1: - BPF_FUNC_rc_keydown = 78,
1: - BPF_FUNC_skb_cgroup_id = 79,
1: - BPF_FUNC_get_current_cgroup_id = 80,
1: - BPF_FUNC_get_local_storage = 81,
1: - BPF_FUNC_sk_select_reuseport = 82,
1: - BPF_FUNC_skb_ancestor_cgroup_id = 83,
1: - BPF_FUNC_sk_lookup_tcp = 84,
1: - BPF_FUNC_sk_lookup_udp = 85,
1: - BPF_FUNC_sk_release = 86,
1: - BPF_FUNC_map_push_elem = 87,
1: - BPF_FUNC_map_pop_elem = 88,
1: - BPF_FUNC_map_peek_elem = 89,
1: - BPF_FUNC_msg_push_data = 90,
1: - BPF_FUNC_msg_pop_data = 91,
1: - BPF_FUNC_rc_pointer_rel = 92,
1: - BPF_FUNC_spin_lock = 93,
1: - BPF_FUNC_spin_unlock = 94,
1: - BPF_FUNC_sk_fullsock = 95,
1: - BPF_FUNC_tcp_sock = 96,
1: - BPF_FUNC_skb_ecn_set_ce = 97,
1: - BPF_FUNC_get_listener_sock = 98,
1: - BPF_FUNC_skc_lookup_tcp = 99,
1: - BPF_FUNC_tcp_check_syncookie = 100,
1: - BPF_FUNC_sysctl_get_name = 101,
1: - BPF_FUNC_sysctl_get_current_value = 102,
1: - BPF_FUNC_sysctl_get_new_value = 103,
1: - BPF_FUNC_sysctl_set_new_value = 104,
1: - BPF_FUNC_strtol = 105,
1: - BPF_FUNC_strtoul = 106,
1: - BPF_FUNC_sk_storage_get = 107,
1: - BPF_FUNC_sk_storage_delete = 108,
1: - BPF_FUNC_send_signal = 109,
1: - BPF_FUNC_tcp_gen_syncookie = 110,
1: - BPF_FUNC_skb_output = 111,
1: - BPF_FUNC_probe_read_user = 112,
1: - BPF_FUNC_probe_read_kernel = 113,
1: - BPF_FUNC_probe_read_user_str = 114,
1: - BPF_FUNC_probe_read_kernel_str = 115,
1: - __BPF_FUNC_MAX_ID = 116,
1: + BPF_FUNC_unspec = 0,
1: + BPF_FUNC_map_lookup_elem = 1,
1: + BPF_FUNC_map_update_elem = 2,
1: + BPF_FUNC_map_delete_elem = 3,
1: + BPF_FUNC_probe_read = 4,
1: + BPF_FUNC_ktime_get_ns = 5,
1: + BPF_FUNC_trace_printk = 6,
1: + BPF_FUNC_get_prandom_u32 = 7,
1: + BPF_FUNC_get_smp_processor_id = 8,
1: + BPF_FUNC_skb_store_bytes = 9,
1: + BPF_FUNC_l3_csum_replace = 10,
1: + BPF_FUNC_l4_csum_replace = 11,
1: + BPF_FUNC_tail_call = 12,
1: + BPF_FUNC_clone_redirect = 13,
1: + BPF_FUNC_get_current_pid_tgid = 14,
1: + BPF_FUNC_get_current_uid_gid = 15,
1: + BPF_FUNC_get_current_comm = 16,
1: + BPF_FUNC_get_cgroup_classid = 17,
1: + BPF_FUNC_skb_vlan_push = 18,
1: + BPF_FUNC_skb_vlan_pop = 19,
1: + BPF_FUNC_skb_get_tunnel_key = 20,
1: + BPF_FUNC_skb_set_tunnel_key = 21,
1: + BPF_FUNC_perf_event_read = 22,
1: + BPF_FUNC_redirect = 23,
1: + BPF_FUNC_get_route_realm = 24,
1: + BPF_FUNC_perf_event_output = 25,
1: + BPF_FUNC_skb_load_bytes = 26,
1: + BPF_FUNC_get_stackid = 27,
1: + BPF_FUNC_csum_diff = 28,
1: + BPF_FUNC_skb_get_tunnel_opt = 29,
1: + BPF_FUNC_skb_set_tunnel_opt = 30,
1: + BPF_FUNC_skb_change_proto = 31,
1: + BPF_FUNC_skb_change_type = 32,
1: + BPF_FUNC_skb_under_cgroup = 33,
1: + BPF_FUNC_get_hash_recalc = 34,
1: + BPF_FUNC_get_current_task = 35,
1: + BPF_FUNC_probe_write_user = 36,
1: + BPF_FUNC_current_task_under_cgroup = 37,
1: + BPF_FUNC_skb_change_tail = 38,
1: + BPF_FUNC_skb_pull_data = 39,
1: + BPF_FUNC_csum_update = 40,
1: + BPF_FUNC_set_hash_invalid = 41,
1: + BPF_FUNC_get_numa_node_id = 42,
1: + BPF_FUNC_skb_change_head = 43,
1: + BPF_FUNC_xdp_adjust_head = 44,
1: + BPF_FUNC_probe_read_str = 45,
1: + BPF_FUNC_get_socket_cookie = 46,
1: + BPF_FUNC_get_socket_uid = 47,
1: + BPF_FUNC_set_hash = 48,
1: + BPF_FUNC_setsockopt = 49,
1: + BPF_FUNC_skb_adjust_room = 50,
1: + BPF_FUNC_redirect_map = 51,
1: + BPF_FUNC_sk_redirect_map = 52,
1: + BPF_FUNC_sock_map_update = 53,
1: + BPF_FUNC_xdp_adjust_meta = 54,
1: + BPF_FUNC_perf_event_read_value = 55,
1: + BPF_FUNC_perf_prog_read_value = 56,
1: + BPF_FUNC_getsockopt = 57,
1: + BPF_FUNC_override_return = 58,
1: + BPF_FUNC_sock_ops_cb_flags_set = 59,
1: + BPF_FUNC_msg_redirect_map = 60,
1: + BPF_FUNC_msg_apply_bytes = 61,
1: + BPF_FUNC_msg_cork_bytes = 62,
1: + BPF_FUNC_msg_pull_data = 63,
1: + BPF_FUNC_bind = 64,
1: + BPF_FUNC_xdp_adjust_tail = 65,
1: + BPF_FUNC_skb_get_xfrm_state = 66,
1: + BPF_FUNC_get_stack = 67,
1: + BPF_FUNC_skb_load_bytes_relative = 68,
1: + BPF_FUNC_fib_lookup = 69,
1: + BPF_FUNC_sock_hash_update = 70,
1: + BPF_FUNC_msg_redirect_hash = 71,
1: + BPF_FUNC_sk_redirect_hash = 72,
1: + BPF_FUNC_lwt_push_encap = 73,
1: + BPF_FUNC_lwt_seg6_store_bytes = 74,
1: + BPF_FUNC_lwt_seg6_adjust_srh = 75,
1: + BPF_FUNC_lwt_seg6_action = 76,
1: + BPF_FUNC_rc_repeat = 77,
1: + BPF_FUNC_rc_keydown = 78,
1: + BPF_FUNC_skb_cgroup_id = 79,
1: + BPF_FUNC_get_current_cgroup_id = 80,
1: + BPF_FUNC_get_local_storage = 81,
1: + BPF_FUNC_sk_select_reuseport = 82,
1: + BPF_FUNC_skb_ancestor_cgroup_id = 83,
1: + BPF_FUNC_sk_lookup_tcp = 84,
1: + BPF_FUNC_sk_lookup_udp = 85,
1: + BPF_FUNC_sk_release = 86,
1: + BPF_FUNC_map_push_elem = 87,
1: + BPF_FUNC_map_pop_elem = 88,
1: + BPF_FUNC_map_peek_elem = 89,
1: + BPF_FUNC_msg_push_data = 90,
1: + BPF_FUNC_msg_pop_data = 91,
1: + BPF_FUNC_rc_pointer_rel = 92,
1: + BPF_FUNC_spin_lock = 93,
1: + BPF_FUNC_spin_unlock = 94,
1: + BPF_FUNC_sk_fullsock = 95,
1: + BPF_FUNC_tcp_sock = 96,
1: + BPF_FUNC_skb_ecn_set_ce = 97,
1: + BPF_FUNC_get_listener_sock = 98,
1: + BPF_FUNC_skc_lookup_tcp = 99,
1: + BPF_FUNC_tcp_check_syncookie = 100,
1: + BPF_FUNC_sysctl_get_name = 101,
1: + BPF_FUNC_sysctl_get_current_value = 102,
1: + BPF_FUNC_sysctl_get_new_value = 103,
1: + BPF_FUNC_sysctl_set_new_value = 104,
1: + BPF_FUNC_strtol = 105,
1: + BPF_FUNC_strtoul = 106,
1: + BPF_FUNC_sk_storage_get = 107,
1: + BPF_FUNC_sk_storage_delete = 108,
1: + BPF_FUNC_send_signal = 109,
1: + BPF_FUNC_tcp_gen_syncookie = 110,
1: + BPF_FUNC_skb_output = 111,
1: + BPF_FUNC_probe_read_user = 112,
1: + BPF_FUNC_probe_read_kernel = 113,
1: + BPF_FUNC_probe_read_user_str = 114,
1: + BPF_FUNC_probe_read_kernel_str = 115,
1: + __BPF_FUNC_MAX_ID = 116,
1: };
1:
1: enum bpf_adj_room_mode {
1: - BPF_ADJ_ROOM_NET = 0,
1: - BPF_ADJ_ROOM_MAC = 1,
1: + BPF_ADJ_ROOM_NET = 0,
1: + BPF_ADJ_ROOM_MAC = 1,
1: };
1:
1: enum bpf_hdr_start_off {
1: - BPF_HDR_START_MAC = 0,
1: - BPF_HDR_START_NET = 1,
1: + BPF_HDR_START_MAC = 0,
1: + BPF_HDR_START_NET = 1,
1: };
1:
1: struct bpf_sock {
1: - __u32 bound_dev_if;
1: - __u32 family;
1: - __u32 type;
1: - __u32 protocol;
1: - __u32 mark;
1: - __u32 priority;
1: - __u32 src_ip4;
1: - __u32 src_ip6[4];
1: - __u32 src_port;
1: - __u32 dst_port;
1: - __u32 dst_ip4;
1: - __u32 dst_ip6[4];
1: - __u32 state;
1: + __u32 bound_dev_if;
1: + __u32 family;
1: + __u32 type;
1: + __u32 protocol;
1: + __u32 mark;
1: + __u32 priority;
1: + __u32 src_ip4;
1: + __u32 src_ip6[4];
1: + __u32 src_port;
1: + __u32 dst_port;
1: + __u32 dst_ip4;
1: + __u32 dst_ip6[4];
1: + __u32 state;
1: };
1:
1: struct __sk_buff {
1: - __u32 len;
1: - __u32 pkt_type;
1: - __u32 mark;
1: - __u32 queue_mapping;
1: - __u32 protocol;
1: - __u32 vlan_present;
1: - __u32 vlan_tci;
1: - __u32 vlan_proto;
1: - __u32 priority;
1: - __u32 ingress_ifindex;
1: - __u32 ifindex;
1: - __u32 tc_index;
1: - __u32 cb[5];
1: - __u32 hash;
1: - __u32 tc_classid;
1: - __u32 data;
1: - __u32 data_end;
1: - __u32 napi_id;
1: - __u32 family;
1: - __u32 remote_ip4;
1: - __u32 local_ip4;
1: - __u32 remote_ip6[4];
1: - __u32 local_ip6[4];
1: - __u32 remote_port;
1: - __u32 local_port;
1: - __u32 data_meta;
1: - union {
1: - struct bpf_flow_keys *flow_keys;
1: - };
1: - __u64 tstamp;
1: - __u32 wire_len;
1: - __u32 gso_segs;
1: - union {
1: - struct bpf_sock *sk;
1: - };
1: + __u32 len;
1: + __u32 pkt_type;
1: + __u32 mark;
1: + __u32 queue_mapping;
1: + __u32 protocol;
1: + __u32 vlan_present;
1: + __u32 vlan_tci;
1: + __u32 vlan_proto;
1: + __u32 priority;
1: + __u32 ingress_ifindex;
1: + __u32 ifindex;
1: + __u32 tc_index;
1: + __u32 cb[5];
1: + __u32 hash;
1: + __u32 tc_classid;
1: + __u32 data;
1: + __u32 data_end;
1: + __u32 napi_id;
1: + __u32 family;
1: + __u32 remote_ip4;
1: + __u32 local_ip4;
1: + __u32 remote_ip6[4];
1: + __u32 local_ip6[4];
1: + __u32 remote_port;
1: + __u32 local_port;
1: + __u32 data_meta;
1: + union {
1: + struct bpf_flow_keys *flow_keys;
1: + };
1: + __u64 tstamp;
1: + __u32 wire_len;
1: + __u32 gso_segs;
1: + union {
1: + struct bpf_sock *sk;
1: + };
1: };
1:
1: struct bpf_tunnel_key {
1: - __u32 tunnel_id;
1: - union {
1: - __u32 remote_ipv4;
1: - __u32 remote_ipv6[4];
1: - };
1: - __u8 tunnel_tos;
1: - __u8 tunnel_ttl;
1: - __u16 tunnel_ext;
1: - __u32 tunnel_label;
1: + __u32 tunnel_id;
1: + union {
1: + __u32 remote_ipv4;
1: + __u32 remote_ipv6[4];
1: + };
1: + __u8 tunnel_tos;
1: + __u8 tunnel_ttl;
1: + __u16 tunnel_ext;
1: + __u32 tunnel_label;
1: };
1:
1: struct bpf_xfrm_state {
1: - __u32 reqid;
1: - __u32 spi;
1: - __u16 family;
1: - __u16 ext;
1: - union {
1: - __u32 remote_ipv4;
1: - __u32 remote_ipv6[4];
1: - };
1: + __u32 reqid;
1: + __u32 spi;
1: + __u16 family;
1: + __u16 ext;
1: + union {
1: + __u32 remote_ipv4;
1: + __u32 remote_ipv6[4];
1: + };
1: };
1:
1: struct bpf_tcp_sock {
1: - __u32 snd_cwnd;
1: - __u32 srtt_us;
1: - __u32 rtt_min;
1: - __u32 snd_ssthresh;
1: - __u32 rcv_nxt;
1: - __u32 snd_nxt;
1: - __u32 snd_una;
1: - __u32 mss_cache;
1: - __u32 ecn_flags;
1: - __u32 rate_delivered;
1: - __u32 rate_interval_us;
1: - __u32 packets_out;
1: - __u32 retrans_out;
1: - __u32 total_retrans;
1: - __u32 segs_in;
1: - __u32 data_segs_in;
1: - __u32 segs_out;
1: - __u32 data_segs_out;
1: - __u32 lost_out;
1: - __u32 sacked_out;
1: - __u64 bytes_received;
1: - __u64 bytes_acked;
1: - __u32 dsack_dups;
1: - __u32 delivered;
1: - __u32 delivered_ce;
1: - __u32 icsk_retransmits;
1: + __u32 snd_cwnd;
1: + __u32 srtt_us;
1: + __u32 rtt_min;
1: + __u32 snd_ssthresh;
1: + __u32 rcv_nxt;
1: + __u32 snd_nxt;
1: + __u32 snd_una;
1: + __u32 mss_cache;
1: + __u32 ecn_flags;
1: + __u32 rate_delivered;
1: + __u32 rate_interval_us;
1: + __u32 packets_out;
1: + __u32 retrans_out;
1: + __u32 total_retrans;
1: + __u32 segs_in;
1: + __u32 data_segs_in;
1: + __u32 segs_out;
1: + __u32 data_segs_out;
1: + __u32 lost_out;
1: + __u32 sacked_out;
1: + __u64 bytes_received;
1: + __u64 bytes_acked;
1: + __u32 dsack_dups;
1: + __u32 delivered;
1: + __u32 delivered_ce;
1: + __u32 icsk_retransmits;
1: };
1:
1: struct bpf_sock_tuple {
1: - union {
1: - struct {
1: - __be32 saddr;
1: - __be32 daddr;
1: - __be16 sport;
1: - __be16 dport;
1: - } ipv4;
1: - struct {
1: - __be32 saddr[4];
1: - __be32 daddr[4];
1: - __be16 sport;
1: - __be16 dport;
1: - } ipv6;
1: - };
1: + union {
1: + struct {
1: + __be32 saddr;
1: + __be32 daddr;
1: + __be16 sport;
1: + __be16 dport;
1: + } ipv4;
1: + struct {
1: + __be32 saddr[4];
1: + __be32 daddr[4];
1: + __be16 sport;
1: + __be16 dport;
1: + } ipv6;
1: + };
1: };
1:
1: struct bpf_xdp_sock {
1: - __u32 queue_id;
1: + __u32 queue_id;
1: };
1:
1: enum sk_action {
1: - SK_DROP = 0,
1: - SK_PASS = 1,
1: + SK_DROP = 0,
1: + SK_PASS = 1,
1: };
1:
1: struct sk_msg_md {
1: - union {
1: - void *data;
1: - };
1: - union {
1: - void *data_end;
1: - };
1: - __u32 family;
1: - __u32 remote_ip4;
1: - __u32 local_ip4;
1: - __u32 remote_ip6[4];
1: - __u32 local_ip6[4];
1: - __u32 remote_port;
1: - __u32 local_port;
1: - __u32 size;
1: + union {
1: + void *data;
1: + };
1: + union {
1: + void *data_end;
1: + };
1: + __u32 family;
1: + __u32 remote_ip4;
1: + __u32 local_ip4;
1: + __u32 remote_ip6[4];
1: + __u32 local_ip6[4];
1: + __u32 remote_port;
1: + __u32 local_port;
1: + __u32 size;
1: };
1:
1: struct sk_reuseport_md {
1: - union {
1: - void *data;
1: - };
1: - union {
1: - void *data_end;
1: - };
1: - __u32 len;
1: - __u32 eth_protocol;
1: - __u32 ip_protocol;
1: - __u32 bind_inany;
1: - __u32 hash;
1: + union {
1: + void *data;
1: + };
1: + union {
1: + void *data_end;
1: + };
1: + __u32 len;
1: + __u32 eth_protocol;
1: + __u32 ip_protocol;
1: + __u32 bind_inany;
1: + __u32 hash;
1: };
1:
1: struct bpf_sock_addr {
1: - __u32 user_family;
1: - __u32 user_ip4;
1: - __u32 user_ip6[4];
1: - __u32 user_port;
1: - __u32 family;
1: - __u32 type;
1: - __u32 protocol;
1: - __u32 msg_src_ip4;
1: - __u32 msg_src_ip6[4];
1: - union {
1: - struct bpf_sock *sk;
1: - };
1: + __u32 user_family;
1: + __u32 user_ip4;
1: + __u32 user_ip6[4];
1: + __u32 user_port;
1: + __u32 family;
1: + __u32 type;
1: + __u32 protocol;
1: + __u32 msg_src_ip4;
1: + __u32 msg_src_ip6[4];
1: + union {
1: + struct bpf_sock *sk;
1: + };
1: };
1:
1: struct bpf_sock_ops {
1: - __u32 op;
1: - union {
1: - __u32 args[4];
1: - __u32 reply;
1: - __u32 replylong[4];
1: - };
1: - __u32 family;
1: - __u32 remote_ip4;
1: - __u32 local_ip4;
1: - __u32 remote_ip6[4];
1: - __u32 local_ip6[4];
1: - __u32 remote_port;
1: - __u32 local_port;
1: - __u32 is_fullsock;
1: - __u32 snd_cwnd;
1: - __u32 srtt_us;
1: - __u32 bpf_sock_ops_cb_flags;
1: - __u32 state;
1: - __u32 rtt_min;
1: - __u32 snd_ssthresh;
1: - __u32 rcv_nxt;
1: - __u32 snd_nxt;
1: - __u32 snd_una;
1: - __u32 mss_cache;
1: - __u32 ecn_flags;
1: - __u32 rate_delivered;
1: - __u32 rate_interval_us;
1: - __u32 packets_out;
1: - __u32 retrans_out;
1: - __u32 total_retrans;
1: - __u32 segs_in;
1: - __u32 data_segs_in;
1: - __u32 segs_out;
1: - __u32 data_segs_out;
1: - __u32 lost_out;
1: - __u32 sacked_out;
1: - __u32 sk_txhash;
1: - __u64 bytes_received;
1: - __u64 bytes_acked;
1: - union {
1: - struct bpf_sock *sk;
1: - };
1: -};
1: -
1: -enum {
1: - BPF_SOCK_OPS_VOID = 0,
1: - BPF_SOCK_OPS_TIMEOUT_INIT = 1,
1: - BPF_SOCK_OPS_RWND_INIT = 2,
1: - BPF_SOCK_OPS_TCP_CONNECT_CB = 3,
1: - BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 4,
1: - BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 5,
1: - BPF_SOCK_OPS_NEEDS_ECN = 6,
1: - BPF_SOCK_OPS_BASE_RTT = 7,
1: - BPF_SOCK_OPS_RTO_CB = 8,
1: - BPF_SOCK_OPS_RETRANS_CB = 9,
1: - BPF_SOCK_OPS_STATE_CB = 10,
1: - BPF_SOCK_OPS_TCP_LISTEN_CB = 11,
1: - BPF_SOCK_OPS_RTT_CB = 12,
1: -};
1: -
1: -enum {
1: - BPF_FIB_LKUP_RET_SUCCESS = 0,
1: - BPF_FIB_LKUP_RET_BLACKHOLE = 1,
1: - BPF_FIB_LKUP_RET_UNREACHABLE = 2,
1: - BPF_FIB_LKUP_RET_PROHIBIT = 3,
1: - BPF_FIB_LKUP_RET_NOT_FWDED = 4,
1: - BPF_FIB_LKUP_RET_FWD_DISABLED = 5,
1: - BPF_FIB_LKUP_RET_UNSUPP_LWT = 6,
1: - BPF_FIB_LKUP_RET_NO_NEIGH = 7,
1: - BPF_FIB_LKUP_RET_FRAG_NEEDED = 8,
1: + __u32 op;
1: + union {
1: + __u32 args[4];
1: + __u32 reply;
1: + __u32 replylong[4];
1: + };
1: + __u32 family;
1: + __u32 remote_ip4;
1: + __u32 local_ip4;
1: + __u32 remote_ip6[4];
1: + __u32 local_ip6[4];
1: + __u32 remote_port;
1: + __u32 local_port;
1: + __u32 is_fullsock;
1: + __u32 snd_cwnd;
1: + __u32 srtt_us;
1: + __u32 bpf_sock_ops_cb_flags;
1: + __u32 state;
1: + __u32 rtt_min;
1: + __u32 snd_ssthresh;
1: + __u32 rcv_nxt;
1: + __u32 snd_nxt;
1: + __u32 snd_una;
1: + __u32 mss_cache;
1: + __u32 ecn_flags;
1: + __u32 rate_delivered;
1: + __u32 rate_interval_us;
1: + __u32 packets_out;
1: + __u32 retrans_out;
1: + __u32 total_retrans;
1: + __u32 segs_in;
1: + __u32 data_segs_in;
1: + __u32 segs_out;
1: + __u32 data_segs_out;
1: + __u32 lost_out;
1: + __u32 sacked_out;
1: + __u32 sk_txhash;
1: + __u64 bytes_received;
1: + __u64 bytes_acked;
1: + union {
1: + struct bpf_sock *sk;
1: + };
1: +};
1: +
1: +enum {
1: + BPF_SOCK_OPS_VOID = 0,
1: + BPF_SOCK_OPS_TIMEOUT_INIT = 1,
1: + BPF_SOCK_OPS_RWND_INIT = 2,
1: + BPF_SOCK_OPS_TCP_CONNECT_CB = 3,
1: + BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 4,
1: + BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 5,
1: + BPF_SOCK_OPS_NEEDS_ECN = 6,
1: + BPF_SOCK_OPS_BASE_RTT = 7,
1: + BPF_SOCK_OPS_RTO_CB = 8,
1: + BPF_SOCK_OPS_RETRANS_CB = 9,
1: + BPF_SOCK_OPS_STATE_CB = 10,
1: + BPF_SOCK_OPS_TCP_LISTEN_CB = 11,
1: + BPF_SOCK_OPS_RTT_CB = 12,
1: +};
1: +
1: +enum {
1: + BPF_FIB_LKUP_RET_SUCCESS = 0,
1: + BPF_FIB_LKUP_RET_BLACKHOLE = 1,
1: + BPF_FIB_LKUP_RET_UNREACHABLE = 2,
1: + BPF_FIB_LKUP_RET_PROHIBIT = 3,
1: + BPF_FIB_LKUP_RET_NOT_FWDED = 4,
1: + BPF_FIB_LKUP_RET_FWD_DISABLED = 5,
1: + BPF_FIB_LKUP_RET_UNSUPP_LWT = 6,
1: + BPF_FIB_LKUP_RET_NO_NEIGH = 7,
1: + BPF_FIB_LKUP_RET_FRAG_NEEDED = 8,
1: };
1:
1: struct bpf_fib_lookup {
1: - __u8 family;
1: - __u8 l4_protocol;
1: - __be16 sport;
1: - __be16 dport;
1: - __u16 tot_len;
1: - __u32 ifindex;
1: - union {
1: - __u8 tos;
1: - __be32 flowinfo;
1: - __u32 rt_metric;
1: - };
1: - union {
1: - __be32 ipv4_src;
1: - __u32 ipv6_src[4];
1: - };
1: - union {
1: - __be32 ipv4_dst;
1: - __u32 ipv6_dst[4];
1: - };
1: - __be16 h_vlan_proto;
1: - __be16 h_vlan_TCI;
1: - __u8 smac[6];
1: - __u8 dmac[6];
1: + __u8 family;
1: + __u8 l4_protocol;
1: + __be16 sport;
1: + __be16 dport;
1: + __u16 tot_len;
1: + __u32 ifindex;
1: + union {
1: + __u8 tos;
1: + __be32 flowinfo;
1: + __u32 rt_metric;
1: + };
1: + union {
1: + __be32 ipv4_src;
1: + __u32 ipv6_src[4];
1: + };
1: + union {
1: + __be32 ipv4_dst;
1: + __u32 ipv6_dst[4];
1: + };
1: + __be16 h_vlan_proto;
1: + __be16 h_vlan_TCI;
1: + __u8 smac[6];
1: + __u8 dmac[6];
1: };
1:
1: enum bpf_access_type {
1: - BPF_READ = 1,
1: - BPF_WRITE = 2,
1: + BPF_READ = 1,
1: + BPF_WRITE = 2,
1: };
1:
1: enum bpf_reg_type {
1: - NOT_INIT = 0,
1: - SCALAR_VALUE = 1,
1: - PTR_TO_CTX = 2,
1: - CONST_PTR_TO_MAP = 3,
1: - PTR_TO_MAP_VALUE = 4,
1: - PTR_TO_MAP_VALUE_OR_NULL = 5,
1: - PTR_TO_STACK = 6,
1: - PTR_TO_PACKET_META = 7,
1: - PTR_TO_PACKET = 8,
1: - PTR_TO_PACKET_END = 9,
1: - PTR_TO_FLOW_KEYS = 10,
1: - PTR_TO_SOCKET = 11,
1: - PTR_TO_SOCKET_OR_NULL = 12,
1: - PTR_TO_SOCK_COMMON = 13,
1: - PTR_TO_SOCK_COMMON_OR_NULL = 14,
1: - PTR_TO_TCP_SOCK = 15,
1: - PTR_TO_TCP_SOCK_OR_NULL = 16,
1: - PTR_TO_TP_BUFFER = 17,
1: - PTR_TO_XDP_SOCK = 18,
1: - PTR_TO_BTF_ID = 19,
1: + NOT_INIT = 0,
1: + SCALAR_VALUE = 1,
1: + PTR_TO_CTX = 2,
1: + CONST_PTR_TO_MAP = 3,
1: + PTR_TO_MAP_VALUE = 4,
1: + PTR_TO_MAP_VALUE_OR_NULL = 5,
1: + PTR_TO_STACK = 6,
1: + PTR_TO_PACKET_META = 7,
1: + PTR_TO_PACKET = 8,
1: + PTR_TO_PACKET_END = 9,
1: + PTR_TO_FLOW_KEYS = 10,
1: + PTR_TO_SOCKET = 11,
1: + PTR_TO_SOCKET_OR_NULL = 12,
1: + PTR_TO_SOCK_COMMON = 13,
1: + PTR_TO_SOCK_COMMON_OR_NULL = 14,
1: + PTR_TO_TCP_SOCK = 15,
1: + PTR_TO_TCP_SOCK_OR_NULL = 16,
1: + PTR_TO_TP_BUFFER = 17,
1: + PTR_TO_XDP_SOCK = 18,
1: + PTR_TO_BTF_ID = 19,
1: };
1:
1: struct bpf_verifier_log;
1:
1: struct bpf_insn_access_aux {
1: - enum bpf_reg_type reg_type;
1: - union {
1: - int ctx_field_size;
1: - u32 btf_id;
1: - };
1: - struct bpf_verifier_log *log;
1: + enum bpf_reg_type reg_type;
1: + union {
1: + int ctx_field_size;
1: + u32 btf_id;
1: + };
1: + struct bpf_verifier_log *log;
1: };
1:
1: struct bpf_verifier_ops {
1: - const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *);
1: - bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *);
1: - int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *);
1: - int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *);
1: - u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *);
1: + const struct bpf_func_proto *(*get_func_proto)(enum bpf_func_id,
1: + const struct bpf_prog *);
1: + bool (*is_valid_access)(int, int, enum bpf_access_type,
1: + const struct bpf_prog *,
1: + struct bpf_insn_access_aux *);
1: + int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *);
1: + int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *);
1: + u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *,
1: + struct bpf_insn *, struct bpf_prog *, u32 *);
1: };
1:
1: struct sk_reuseport_kern {
1: - struct sk_buff *skb;
1: - struct sock *sk;
1: - struct sock *selected_sk;
1: - void *data_end;
1: - u32 hash;
1: - u32 reuseport_id;
1: - bool bind_inany;
1: + struct sk_buff *skb;
1: + struct sock *sk;
1: + struct sock *selected_sk;
1: + void *data_end;
1: + u32 hash;
1: + u32 reuseport_id;
1: + bool bind_inany;
1: };
1:
1: enum rt_scope_t {
1: - RT_SCOPE_UNIVERSE = 0,
1: - RT_SCOPE_SITE = 200,
1: - RT_SCOPE_LINK = 253,
1: - RT_SCOPE_HOST = 254,
1: - RT_SCOPE_NOWHERE = 255,
1: + RT_SCOPE_UNIVERSE = 0,
1: + RT_SCOPE_SITE = 200,
1: + RT_SCOPE_LINK = 253,
1: + RT_SCOPE_HOST = 254,
1: + RT_SCOPE_NOWHERE = 255,
1: };
1:
1: enum rt_class_t {
1: - RT_TABLE_UNSPEC = 0,
1: - RT_TABLE_COMPAT = 252,
1: - RT_TABLE_DEFAULT = 253,
1: - RT_TABLE_MAIN = 254,
1: - RT_TABLE_LOCAL = 255,
1: - RT_TABLE_MAX = -1,
1: + RT_TABLE_UNSPEC = 0,
1: + RT_TABLE_COMPAT = 252,
1: + RT_TABLE_DEFAULT = 253,
1: + RT_TABLE_MAIN = 254,
1: + RT_TABLE_LOCAL = 255,
1: + RT_TABLE_MAX = -1,
1: };
1:
1: struct bpf_skb_data_end {
1: - struct qdisc_skb_cb qdisc_cb;
1: - void *data_meta;
1: - void *data_end;
1: + struct qdisc_skb_cb qdisc_cb;
1: + void *data_meta;
1: + void *data_end;
1: };
1:
1: struct bpf_sock_addr_kern {
1: - struct sock *sk;
1: - struct sockaddr *uaddr;
1: - u64 tmp_reg;
1: - void *t_ctx;
1: + struct sock *sk;
1: + struct sockaddr *uaddr;
1: + u64 tmp_reg;
1: + void *t_ctx;
1: };
1:
1: struct bpf_sock_ops_kern {
1: - struct sock *sk;
1: - u32 op;
1: - union {
1: - u32 args[4];
1: - u32 reply;
1: - u32 replylong[4];
1: - };
1: - u32 is_fullsock;
1: - u64 temp;
1: + struct sock *sk;
1: + u32 op;
1: + union {
1: + u32 args[4];
1: + u32 reply;
1: + u32 replylong[4];
1: + };
1: + u32 is_fullsock;
1: + u64 temp;
1: };
1:
1: struct ipv6_bpf_stub {
1: - int (*inet6_bind)(struct sock *, struct sockaddr *, int, bool, bool);
1: - struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *);
1: + int (*inet6_bind)(struct sock *, struct sockaddr *, int, bool, bool);
1: + struct sock *(*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16,
1: + const struct in6_addr *, __be16, int, int,
1: + struct udp_table *, struct sk_buff *);
1: };
1:
1: struct fib_result {
1: - __be32 prefix;
1: - unsigned char prefixlen;
1: - unsigned char nh_sel;
1: - unsigned char type;
1: - unsigned char scope;
1: - u32 tclassid;
1: - struct fib_nh_common *nhc;
1: - struct fib_info *fi;
1: - struct fib_table *table;
1: - struct hlist_head *fa_head;
1: + __be32 prefix;
1: + unsigned char prefixlen;
1: + unsigned char nh_sel;
1: + unsigned char type;
1: + unsigned char scope;
1: + u32 tclassid;
1: + struct fib_nh_common *nhc;
1: + struct fib_info *fi;
1: + struct fib_table *table;
1: + struct hlist_head *fa_head;
1: };
1:
1: enum {
1: - INET_ECN_NOT_ECT = 0,
1: - INET_ECN_ECT_1 = 1,
1: - INET_ECN_ECT_0 = 2,
1: - INET_ECN_CE = 3,
1: - INET_ECN_MASK = 3,
1: + INET_ECN_NOT_ECT = 0,
1: + INET_ECN_ECT_1 = 1,
1: + INET_ECN_ECT_0 = 2,
1: + INET_ECN_CE = 3,
1: + INET_ECN_MASK = 3,
1: };
1:
1: struct tcp_skb_cb {
1: - __u32 seq;
1: - __u32 end_seq;
1: - union {
1: - __u32 tcp_tw_isn;
1: - struct {
1: - u16 tcp_gso_segs;
1: - u16 tcp_gso_size;
1: - };
1: - };
1: - __u8 tcp_flags;
1: - __u8 sacked;
1: - __u8 ip_dsfield;
1: - __u8 txstamp_ack: 1;
1: - __u8 eor: 1;
1: - __u8 has_rxtstamp: 1;
1: - __u8 unused: 5;
1: - __u32 ack_seq;
1: - union {
1: - struct {
1: - __u32 in_flight: 30;
1: - __u32 is_app_limited: 1;
1: - __u32 unused: 1;
1: - __u32 delivered;
1: - u64 first_tx_mstamp;
1: - u64 delivered_mstamp;
1: - } tx;
1: - union {
1: - struct inet_skb_parm h4;
1: - struct inet6_skb_parm h6;
1: - } header;
1: - struct {
1: - __u32 flags;
1: - struct sock *sk_redir;
1: - void *data_end;
1: - } bpf;
1: - };
1: + __u32 seq;
1: + __u32 end_seq;
1: + union {
1: + __u32 tcp_tw_isn;
1: + struct {
1: + u16 tcp_gso_segs;
1: + u16 tcp_gso_size;
1: + };
1: + };
1: + __u8 tcp_flags;
1: + __u8 sacked;
1: + __u8 ip_dsfield;
1: + __u8 txstamp_ack : 1;
1: + __u8 eor : 1;
1: + __u8 has_rxtstamp : 1;
1: + __u8 unused : 5;
1: + __u32 ack_seq;
1: + union {
1: + struct {
1: + __u32 in_flight : 30;
1: + __u32 is_app_limited : 1;
1: + __u32 unused : 1;
1: + __u32 delivered;
1: + u64 first_tx_mstamp;
1: + u64 delivered_mstamp;
1: + } tx;
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + struct {
1: + __u32 flags;
1: + struct sock *sk_redir;
1: + void *data_end;
1: + } bpf;
1: + };
1: };
1:
1: struct sk_msg_sg {
1: - u32 start;
1: - u32 curr;
1: - u32 end;
1: - u32 size;
1: - u32 copybreak;
1: - long unsigned int copy;
1: - struct scatterlist data[19];
1: + u32 start;
1: + u32 curr;
1: + u32 end;
1: + u32 size;
1: + u32 copybreak;
1: + long unsigned int copy;
1: + struct scatterlist data[19];
1: };
1:
1: struct sk_msg {
1: - struct sk_msg_sg sg;
1: - void *data;
1: - void *data_end;
1: - u32 apply_bytes;
1: - u32 cork_bytes;
1: - u32 flags;
1: - struct sk_buff *skb;
1: - struct sock *sk_redir;
1: - struct sock *sk;
1: - struct list_head list;
1: + struct sk_msg_sg sg;
1: + void *data;
1: + void *data_end;
1: + u32 apply_bytes;
1: + u32 cork_bytes;
1: + u32 flags;
1: + struct sk_buff *skb;
1: + struct sock *sk_redir;
1: + struct sock *sk;
1: + struct list_head list;
1: };
1:
1: struct _bpf_dtab_netdev {
1: - struct net_device *dev;
1: + struct net_device *dev;
1: };
1:
1: struct xdp_sock {
1: - struct sock sk;
1: - struct xsk_queue *rx;
1: - struct net_device *dev;
1: - struct xdp_umem *umem;
1: - struct list_head flush_node;
1: - u16 queue_id;
1: - bool zc;
1: - enum {
1: - XSK_READY = 0,
1: - XSK_BOUND = 1,
1: - XSK_UNBOUND = 2,
1: - } state;
1: - struct mutex mutex;
1: - long: 64;
1: - long: 64;
1: - struct xsk_queue *tx;
1: - struct list_head list;
1: - spinlock_t tx_completion_lock;
1: - spinlock_t rx_lock;
1: - u64 rx_dropped;
1: - struct list_head map_list;
1: - spinlock_t map_list_lock;
1: + struct sock sk;
1: + struct xsk_queue *rx;
1: + struct net_device *dev;
1: + struct xdp_umem *umem;
1: + struct list_head flush_node;
1: + u16 queue_id;
1: + bool zc;
1: + enum {
1: + XSK_READY = 0,
1: + XSK_BOUND = 1,
1: + XSK_UNBOUND = 2,
1: + } state;
1: + struct mutex mutex;
1: + long : 64;
1: + long : 64;
1: + struct xsk_queue *tx;
1: + struct list_head list;
1: + spinlock_t tx_completion_lock;
1: + spinlock_t rx_lock;
1: + u64 rx_dropped;
1: + struct list_head map_list;
1: + spinlock_t map_list_lock;
1: };
1:
1: typedef u64 (*btf_bpf_skb_get_pay_offset)(struct sk_buff *);
1: @@ -103270,34 +104018,40 @@ typedef u64 (*btf_bpf_skb_get_nlattr)(struct sk_buff *, u32, u32);
1:
1: typedef u64 (*btf_bpf_skb_get_nlattr_nest)(struct sk_buff *, u32, u32);
1:
1: -typedef u64 (*btf_bpf_skb_load_helper_8)(const struct sk_buff *, const void *, int, int);
1: +typedef u64 (*btf_bpf_skb_load_helper_8)(const struct sk_buff *, const void *,
1: + int, int);
1:
1: typedef u64 (*btf_bpf_skb_load_helper_8_no_cache)(const struct sk_buff *, int);
1:
1: -typedef u64 (*btf_bpf_skb_load_helper_16)(const struct sk_buff *, const void *, int, int);
1: +typedef u64 (*btf_bpf_skb_load_helper_16)(const struct sk_buff *, const void *,
1: + int, int);
1:
1: typedef u64 (*btf_bpf_skb_load_helper_16_no_cache)(const struct sk_buff *, int);
1:
1: -typedef u64 (*btf_bpf_skb_load_helper_32)(const struct sk_buff *, const void *, int, int);
1: +typedef u64 (*btf_bpf_skb_load_helper_32)(const struct sk_buff *, const void *,
1: + int, int);
1:
1: typedef u64 (*btf_bpf_skb_load_helper_32_no_cache)(const struct sk_buff *, int);
1:
1: typedef u64 (*btf_bpf_get_raw_cpu_id)();
1:
1: struct bpf_scratchpad {
1: - union {
1: - __be32 diff[128];
1: - u8 buff[512];
1: - };
1: + union {
1: + __be32 diff[128];
1: + u8 buff[512];
1: + };
1: };
1:
1: -typedef u64 (*btf_bpf_skb_store_bytes)(struct sk_buff *, u32, const void *, u32, u64);
1: +typedef u64 (*btf_bpf_skb_store_bytes)(struct sk_buff *, u32, const void *, u32,
1: + u64);
1:
1: typedef u64 (*btf_bpf_skb_load_bytes)(const struct sk_buff *, u32, void *, u32);
1:
1: -typedef u64 (*btf_bpf_flow_dissector_load_bytes)(const struct bpf_flow_dissector *, u32, void *, u32);
1: +typedef u64 (*btf_bpf_flow_dissector_load_bytes)(
1: + const struct bpf_flow_dissector *, u32, void *, u32);
1:
1: -typedef u64 (*btf_bpf_skb_load_bytes_relative)(const struct sk_buff *, u32, void *, u32, u32);
1: +typedef u64 (*btf_bpf_skb_load_bytes_relative)(const struct sk_buff *, u32,
1: + void *, u32, u32);
1:
1: typedef u64 (*btf_bpf_skb_pull_data)(struct sk_buff *, u32);
1:
1: @@ -103365,19 +104119,25 @@ typedef u64 (*btf_bpf_xdp_redirect)(u32, u64);
1:
1: typedef u64 (*btf_bpf_xdp_redirect_map)(struct bpf_map *, u32, u64);
1:
1: -typedef u64 (*btf_bpf_skb_event_output)(struct sk_buff *, struct bpf_map *, u64, void *, u64);
1: +typedef u64 (*btf_bpf_skb_event_output)(struct sk_buff *, struct bpf_map *, u64,
1: + void *, u64);
1:
1: -typedef u64 (*btf_bpf_skb_get_tunnel_key)(struct sk_buff *, struct bpf_tunnel_key *, u32, u64);
1: +typedef u64 (*btf_bpf_skb_get_tunnel_key)(struct sk_buff *,
1: + struct bpf_tunnel_key *, u32, u64);
1:
1: typedef u64 (*btf_bpf_skb_get_tunnel_opt)(struct sk_buff *, u8 *, u32);
1:
1: -typedef u64 (*btf_bpf_skb_set_tunnel_key)(struct sk_buff *, const struct bpf_tunnel_key *, u32, u64);
1: +typedef u64 (*btf_bpf_skb_set_tunnel_key)(struct sk_buff *,
1: + const struct bpf_tunnel_key *, u32,
1: + u64);
1:
1: typedef u64 (*btf_bpf_skb_set_tunnel_opt)(struct sk_buff *, const u8 *, u32);
1:
1: -typedef u64 (*btf_bpf_skb_under_cgroup)(struct sk_buff *, struct bpf_map *, u32);
1: +typedef u64 (*btf_bpf_skb_under_cgroup)(struct sk_buff *, struct bpf_map *,
1: + u32);
1:
1: -typedef u64 (*btf_bpf_xdp_event_output)(struct xdp_buff *, struct bpf_map *, u64, void *, u64);
1: +typedef u64 (*btf_bpf_xdp_event_output)(struct xdp_buff *, struct bpf_map *,
1: + u64, void *, u64);
1:
1: typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *);
1:
1: @@ -103387,45 +104147,67 @@ typedef u64 (*btf_bpf_get_socket_cookie_sock_ops)(struct bpf_sock_ops_kern *);
1:
1: typedef u64 (*btf_bpf_get_socket_uid)(struct sk_buff *);
1:
1: -typedef u64 (*btf_bpf_sockopt_event_output)(struct bpf_sock_ops_kern *, struct bpf_map *, u64, void *, u64);
1: +typedef u64 (*btf_bpf_sockopt_event_output)(struct bpf_sock_ops_kern *,
1: + struct bpf_map *, u64, void *, u64);
1:
1: -typedef u64 (*btf_bpf_setsockopt)(struct bpf_sock_ops_kern *, int, int, char *, int);
1: +typedef u64 (*btf_bpf_setsockopt)(struct bpf_sock_ops_kern *, int, int, char *,
1: + int);
1:
1: -typedef u64 (*btf_bpf_getsockopt)(struct bpf_sock_ops_kern *, int, int, char *, int);
1: +typedef u64 (*btf_bpf_getsockopt)(struct bpf_sock_ops_kern *, int, int, char *,
1: + int);
1:
1: typedef u64 (*btf_bpf_sock_ops_cb_flags_set)(struct bpf_sock_ops_kern *, int);
1:
1: -typedef u64 (*btf_bpf_bind)(struct bpf_sock_addr_kern *, struct sockaddr *, int);
1: +typedef u64 (*btf_bpf_bind)(struct bpf_sock_addr_kern *, struct sockaddr *,
1: + int);
1:
1: -typedef u64 (*btf_bpf_skb_get_xfrm_state)(struct sk_buff *, u32, struct bpf_xfrm_state *, u32, u64);
1: +typedef u64 (*btf_bpf_skb_get_xfrm_state)(struct sk_buff *, u32,
1: + struct bpf_xfrm_state *, u32, u64);
1:
1: -typedef u64 (*btf_bpf_xdp_fib_lookup)(struct xdp_buff *, struct bpf_fib_lookup *, int, u32);
1: +typedef u64 (*btf_bpf_xdp_fib_lookup)(struct xdp_buff *,
1: + struct bpf_fib_lookup *, int, u32);
1:
1: -typedef u64 (*btf_bpf_skb_fib_lookup)(struct sk_buff *, struct bpf_fib_lookup *, int, u32);
1: +typedef u64 (*btf_bpf_skb_fib_lookup)(struct sk_buff *, struct bpf_fib_lookup *,
1: + int, u32);
1:
1: typedef u64 (*btf_bpf_lwt_in_push_encap)(struct sk_buff *, u32, void *, u32);
1:
1: typedef u64 (*btf_bpf_lwt_xmit_push_encap)(struct sk_buff *, u32, void *, u32);
1:
1: -typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64);
1: +typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *,
1: + u32, u64, u64);
1:
1: -typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64);
1: +typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *,
1: + u32, u64, u64);
1:
1: -typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64);
1: +typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *,
1: + u32, u64, u64);
1:
1: typedef u64 (*btf_bpf_sk_release)(struct sock *);
1:
1: -typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64);
1: +typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *,
1: + struct bpf_sock_tuple *, u32, u32,
1: + u64);
1:
1: -typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64);
1: +typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *,
1: + struct bpf_sock_tuple *, u32, u32,
1: + u64);
1:
1: -typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64);
1: +typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *,
1: + struct bpf_sock_tuple *, u32, u32,
1: + u64);
1:
1: -typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64);
1: +typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *,
1: + struct bpf_sock_tuple *, u32,
1: + u64, u64);
1:
1: -typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64);
1: +typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *,
1: + struct bpf_sock_tuple *, u32,
1: + u64, u64);
1:
1: -typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64);
1: +typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *,
1: + struct bpf_sock_tuple *, u32,
1: + u64, u64);
1:
1: typedef u64 (*btf_bpf_tcp_sock)(struct sock *);
1:
1: @@ -103433,364 +104215,372 @@ typedef u64 (*btf_bpf_get_listener_sock)(struct sock *);
1:
1: typedef u64 (*btf_bpf_skb_ecn_set_ce)(struct sk_buff *);
1:
1: -typedef u64 (*btf_bpf_tcp_check_syncookie)(struct sock *, void *, u32, struct tcphdr *, u32);
1: +typedef u64 (*btf_bpf_tcp_check_syncookie)(struct sock *, void *, u32,
1: + struct tcphdr *, u32);
1:
1: -typedef u64 (*btf_bpf_tcp_gen_syncookie)(struct sock *, void *, u32, struct tcphdr *, u32);
1: +typedef u64 (*btf_bpf_tcp_gen_syncookie)(struct sock *, void *, u32,
1: + struct tcphdr *, u32);
1:
1: -typedef u64 (*btf_sk_select_reuseport)(struct sk_reuseport_kern *, struct bpf_map *, void *, u32);
1: +typedef u64 (*btf_sk_select_reuseport)(struct sk_reuseport_kern *,
1: + struct bpf_map *, void *, u32);
1:
1: -typedef u64 (*btf_sk_reuseport_load_bytes)(const struct sk_reuseport_kern *, u32, void *, u32);
1: +typedef u64 (*btf_sk_reuseport_load_bytes)(const struct sk_reuseport_kern *,
1: + u32, void *, u32);
1:
1: -typedef u64 (*btf_sk_reuseport_load_bytes_relative)(const struct sk_reuseport_kern *, u32, void *, u32, u32);
1: +typedef u64 (*btf_sk_reuseport_load_bytes_relative)(
1: + const struct sk_reuseport_kern *, u32, void *, u32, u32);
1:
1: struct bpf_dtab_netdev;
1:
1: struct bpf_cpu_map_entry;
1:
1: struct sock_diag_req {
1: - __u8 sdiag_family;
1: - __u8 sdiag_protocol;
1: + __u8 sdiag_family;
1: + __u8 sdiag_protocol;
1: };
1:
1: struct sock_diag_handler {
1: - __u8 family;
1: - int (*dump)(struct sk_buff *, struct nlmsghdr *);
1: - int (*get_info)(struct sk_buff *, struct sock *);
1: - int (*destroy)(struct sk_buff *, struct nlmsghdr *);
1: + __u8 family;
1: + int (*dump)(struct sk_buff *, struct nlmsghdr *);
1: + int (*get_info)(struct sk_buff *, struct sock *);
1: + int (*destroy)(struct sk_buff *, struct nlmsghdr *);
1: };
1:
1: struct broadcast_sk {
1: - struct sock *sk;
1: - struct work_struct work;
1: + struct sock *sk;
1: + struct work_struct work;
1: };
1:
1: typedef int gifconf_func_t(struct net_device *, char *, int, int);
1:
1: struct tso_t {
1: - int next_frag_idx;
1: - void *data;
1: - size_t size;
1: - u16 ip_id;
1: - bool ipv6;
1: - u32 tcp_seq;
1: + int next_frag_idx;
1: + void *data;
1: + size_t size;
1: + u16 ip_id;
1: + bool ipv6;
1: + u32 tcp_seq;
1: };
1:
1: struct fib_notifier_info {
1: - int family;
1: - struct netlink_ext_ack *extack;
1: + int family;
1: + struct netlink_ext_ack *extack;
1: };
1:
1: enum fib_event_type {
1: - FIB_EVENT_ENTRY_REPLACE = 0,
1: - FIB_EVENT_ENTRY_APPEND = 1,
1: - FIB_EVENT_ENTRY_ADD = 2,
1: - FIB_EVENT_ENTRY_DEL = 3,
1: - FIB_EVENT_RULE_ADD = 4,
1: - FIB_EVENT_RULE_DEL = 5,
1: - FIB_EVENT_NH_ADD = 6,
1: - FIB_EVENT_NH_DEL = 7,
1: - FIB_EVENT_VIF_ADD = 8,
1: - FIB_EVENT_VIF_DEL = 9,
1: + FIB_EVENT_ENTRY_REPLACE = 0,
1: + FIB_EVENT_ENTRY_APPEND = 1,
1: + FIB_EVENT_ENTRY_ADD = 2,
1: + FIB_EVENT_ENTRY_DEL = 3,
1: + FIB_EVENT_RULE_ADD = 4,
1: + FIB_EVENT_RULE_DEL = 5,
1: + FIB_EVENT_NH_ADD = 6,
1: + FIB_EVENT_NH_DEL = 7,
1: + FIB_EVENT_VIF_ADD = 8,
1: + FIB_EVENT_VIF_DEL = 9,
1: };
1:
1: struct fib_notifier_net {
1: - struct list_head fib_notifier_ops;
1: - struct atomic_notifier_head fib_chain;
1: + struct list_head fib_notifier_ops;
1: + struct atomic_notifier_head fib_chain;
1: };
1:
1: struct xdp_attachment_info {
1: - struct bpf_prog *prog;
1: - u32 flags;
1: + struct bpf_prog *prog;
1: + u32 flags;
1: };
1:
1: struct ptr_ring {
1: - int producer;
1: - spinlock_t producer_lock;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - int consumer_head;
1: - int consumer_tail;
1: - spinlock_t consumer_lock;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - int size;
1: - int batch;
1: - void **queue;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + int producer;
1: + spinlock_t producer_lock;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + int consumer_head;
1: + int consumer_tail;
1: + spinlock_t consumer_lock;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + int size;
1: + int batch;
1: + void **queue;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct pp_alloc_cache {
1: - u32 count;
1: - void *cache[128];
1: + u32 count;
1: + void *cache[128];
1: };
1:
1: struct page_pool_params {
1: - unsigned int flags;
1: - unsigned int order;
1: - unsigned int pool_size;
1: - int nid;
1: - struct device *dev;
1: - enum dma_data_direction dma_dir;
1: - unsigned int max_len;
1: - unsigned int offset;
1: + unsigned int flags;
1: + unsigned int order;
1: + unsigned int pool_size;
1: + int nid;
1: + struct device *dev;
1: + enum dma_data_direction dma_dir;
1: + unsigned int max_len;
1: + unsigned int offset;
1: };
1:
1: struct page_pool {
1: - struct page_pool_params p;
1: - struct delayed_work release_dw;
1: - void (*disconnect)(void *);
1: - long unsigned int defer_start;
1: - long unsigned int defer_warn;
1: - u32 pages_state_hold_cnt;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct pp_alloc_cache alloc;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct ptr_ring ring;
1: - atomic_t pages_state_release_cnt;
1: - refcount_t user_cnt;
1: - u64 destroy_cnt;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct page_pool_params p;
1: + struct delayed_work release_dw;
1: + void (*disconnect)(void *);
1: + long unsigned int defer_start;
1: + long unsigned int defer_warn;
1: + u32 pages_state_hold_cnt;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct pp_alloc_cache alloc;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct ptr_ring ring;
1: + atomic_t pages_state_release_cnt;
1: + refcount_t user_cnt;
1: + u64 destroy_cnt;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct flow_match_meta {
1: - struct flow_dissector_key_meta *key;
1: - struct flow_dissector_key_meta *mask;
1: + struct flow_dissector_key_meta *key;
1: + struct flow_dissector_key_meta *mask;
1: };
1:
1: struct flow_match_basic {
1: - struct flow_dissector_key_basic *key;
1: - struct flow_dissector_key_basic *mask;
1: + struct flow_dissector_key_basic *key;
1: + struct flow_dissector_key_basic *mask;
1: };
1:
1: struct flow_match_control {
1: - struct flow_dissector_key_control *key;
1: - struct flow_dissector_key_control *mask;
1: + struct flow_dissector_key_control *key;
1: + struct flow_dissector_key_control *mask;
1: };
1:
1: struct flow_match_eth_addrs {
1: - struct flow_dissector_key_eth_addrs *key;
1: - struct flow_dissector_key_eth_addrs *mask;
1: + struct flow_dissector_key_eth_addrs *key;
1: + struct flow_dissector_key_eth_addrs *mask;
1: };
1:
1: struct flow_match_vlan {
1: - struct flow_dissector_key_vlan *key;
1: - struct flow_dissector_key_vlan *mask;
1: + struct flow_dissector_key_vlan *key;
1: + struct flow_dissector_key_vlan *mask;
1: };
1:
1: struct flow_match_ipv4_addrs {
1: - struct flow_dissector_key_ipv4_addrs *key;
1: - struct flow_dissector_key_ipv4_addrs *mask;
1: + struct flow_dissector_key_ipv4_addrs *key;
1: + struct flow_dissector_key_ipv4_addrs *mask;
1: };
1:
1: struct flow_match_ipv6_addrs {
1: - struct flow_dissector_key_ipv6_addrs *key;
1: - struct flow_dissector_key_ipv6_addrs *mask;
1: + struct flow_dissector_key_ipv6_addrs *key;
1: + struct flow_dissector_key_ipv6_addrs *mask;
1: };
1:
1: struct flow_match_ip {
1: - struct flow_dissector_key_ip *key;
1: - struct flow_dissector_key_ip *mask;
1: + struct flow_dissector_key_ip *key;
1: + struct flow_dissector_key_ip *mask;
1: };
1:
1: struct flow_match_ports {
1: - struct flow_dissector_key_ports *key;
1: - struct flow_dissector_key_ports *mask;
1: + struct flow_dissector_key_ports *key;
1: + struct flow_dissector_key_ports *mask;
1: };
1:
1: struct flow_match_icmp {
1: - struct flow_dissector_key_icmp *key;
1: - struct flow_dissector_key_icmp *mask;
1: + struct flow_dissector_key_icmp *key;
1: + struct flow_dissector_key_icmp *mask;
1: };
1:
1: struct flow_match_tcp {
1: - struct flow_dissector_key_tcp *key;
1: - struct flow_dissector_key_tcp *mask;
1: + struct flow_dissector_key_tcp *key;
1: + struct flow_dissector_key_tcp *mask;
1: };
1:
1: struct flow_match_mpls {
1: - struct flow_dissector_key_mpls *key;
1: - struct flow_dissector_key_mpls *mask;
1: + struct flow_dissector_key_mpls *key;
1: + struct flow_dissector_key_mpls *mask;
1: };
1:
1: struct flow_match_enc_keyid {
1: - struct flow_dissector_key_keyid *key;
1: - struct flow_dissector_key_keyid *mask;
1: + struct flow_dissector_key_keyid *key;
1: + struct flow_dissector_key_keyid *mask;
1: };
1:
1: struct flow_match_enc_opts {
1: - struct flow_dissector_key_enc_opts *key;
1: - struct flow_dissector_key_enc_opts *mask;
1: + struct flow_dissector_key_enc_opts *key;
1: + struct flow_dissector_key_enc_opts *mask;
1: };
1:
1: enum flow_block_command {
1: - FLOW_BLOCK_BIND = 0,
1: - FLOW_BLOCK_UNBIND = 1,
1: + FLOW_BLOCK_BIND = 0,
1: + FLOW_BLOCK_UNBIND = 1,
1: };
1:
1: enum flow_block_binder_type {
1: - FLOW_BLOCK_BINDER_TYPE_UNSPEC = 0,
1: - FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS = 1,
1: - FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS = 2,
1: + FLOW_BLOCK_BINDER_TYPE_UNSPEC = 0,
1: + FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS = 1,
1: + FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS = 2,
1: };
1:
1: struct flow_block_offload {
1: - enum flow_block_command command;
1: - enum flow_block_binder_type binder_type;
1: - bool block_shared;
1: - bool unlocked_driver_cb;
1: - struct net *net;
1: - struct flow_block *block;
1: - struct list_head cb_list;
1: - struct list_head *driver_block_list;
1: - struct netlink_ext_ack *extack;
1: + enum flow_block_command command;
1: + enum flow_block_binder_type binder_type;
1: + bool block_shared;
1: + bool unlocked_driver_cb;
1: + struct net *net;
1: + struct flow_block *block;
1: + struct list_head cb_list;
1: + struct list_head *driver_block_list;
1: + struct netlink_ext_ack *extack;
1: };
1:
1: struct flow_block_cb {
1: - struct list_head driver_list;
1: - struct list_head list;
1: - flow_setup_cb_t *cb;
1: - void *cb_ident;
1: - void *cb_priv;
1: - void (*release)(void *);
1: - unsigned int refcnt;
1: + struct list_head driver_list;
1: + struct list_head list;
1: + flow_setup_cb_t *cb;
1: + void *cb_ident;
1: + void *cb_priv;
1: + void (*release)(void *);
1: + unsigned int refcnt;
1: };
1:
1: -typedef int flow_indr_block_bind_cb_t(struct net_device *, void *, enum tc_setup_type, void *);
1: +typedef int flow_indr_block_bind_cb_t(struct net_device *, void *,
1: + enum tc_setup_type, void *);
1:
1: -typedef void flow_indr_block_cmd_t(struct net_device *, flow_indr_block_bind_cb_t *, void *, enum flow_block_command);
1: +typedef void flow_indr_block_cmd_t(struct net_device *,
1: + flow_indr_block_bind_cb_t *, void *,
1: + enum flow_block_command);
1:
1: struct flow_indr_block_entry {
1: - flow_indr_block_cmd_t *cb;
1: - struct list_head list;
1: + flow_indr_block_cmd_t *cb;
1: + struct list_head list;
1: };
1:
1: struct flow_indr_block_cb {
1: - struct list_head list;
1: - void *cb_priv;
1: - flow_indr_block_bind_cb_t *cb;
1: - void *cb_ident;
1: + struct list_head list;
1: + void *cb_priv;
1: + flow_indr_block_bind_cb_t *cb;
1: + void *cb_ident;
1: };
1:
1: struct flow_indr_block_dev {
1: - struct rhash_head ht_node;
1: - struct net_device *dev;
1: - unsigned int refcnt;
1: - struct list_head cb_list;
1: + struct rhash_head ht_node;
1: + struct net_device *dev;
1: + unsigned int refcnt;
1: + struct list_head cb_list;
1: };
1:
1: struct rx_queue_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct netdev_rx_queue *, char *);
1: - ssize_t (*store)(struct netdev_rx_queue *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct netdev_rx_queue *, char *);
1: + ssize_t (*store)(struct netdev_rx_queue *, const char *, size_t);
1: };
1:
1: struct netdev_queue_attribute {
1: - struct attribute attr;
1: - ssize_t (*show)(struct netdev_queue *, char *);
1: - ssize_t (*store)(struct netdev_queue *, const char *, size_t);
1: + struct attribute attr;
1: + ssize_t (*show)(struct netdev_queue *, char *);
1: + ssize_t (*store)(struct netdev_queue *, const char *, size_t);
1: };
1:
1: struct fib_rule_uid_range {
1: - __u32 start;
1: - __u32 end;
1: -};
1: -
1: -enum {
1: - FRA_UNSPEC = 0,
1: - FRA_DST = 1,
1: - FRA_SRC = 2,
1: - FRA_IIFNAME = 3,
1: - FRA_GOTO = 4,
1: - FRA_UNUSED2 = 5,
1: - FRA_PRIORITY = 6,
1: - FRA_UNUSED3 = 7,
1: - FRA_UNUSED4 = 8,
1: - FRA_UNUSED5 = 9,
1: - FRA_FWMARK = 10,
1: - FRA_FLOW = 11,
1: - FRA_TUN_ID = 12,
1: - FRA_SUPPRESS_IFGROUP = 13,
1: - FRA_SUPPRESS_PREFIXLEN = 14,
1: - FRA_TABLE = 15,
1: - FRA_FWMASK = 16,
1: - FRA_OIFNAME = 17,
1: - FRA_PAD = 18,
1: - FRA_L3MDEV = 19,
1: - FRA_UID_RANGE = 20,
1: - FRA_PROTOCOL = 21,
1: - FRA_IP_PROTO = 22,
1: - FRA_SPORT_RANGE = 23,
1: - FRA_DPORT_RANGE = 24,
1: - __FRA_MAX = 25,
1: -};
1: -
1: -enum {
1: - FR_ACT_UNSPEC = 0,
1: - FR_ACT_TO_TBL = 1,
1: - FR_ACT_GOTO = 2,
1: - FR_ACT_NOP = 3,
1: - FR_ACT_RES3 = 4,
1: - FR_ACT_RES4 = 5,
1: - FR_ACT_BLACKHOLE = 6,
1: - FR_ACT_UNREACHABLE = 7,
1: - FR_ACT_PROHIBIT = 8,
1: - __FR_ACT_MAX = 9,
1: + __u32 start;
1: + __u32 end;
1: +};
1: +
1: +enum {
1: + FRA_UNSPEC = 0,
1: + FRA_DST = 1,
1: + FRA_SRC = 2,
1: + FRA_IIFNAME = 3,
1: + FRA_GOTO = 4,
1: + FRA_UNUSED2 = 5,
1: + FRA_PRIORITY = 6,
1: + FRA_UNUSED3 = 7,
1: + FRA_UNUSED4 = 8,
1: + FRA_UNUSED5 = 9,
1: + FRA_FWMARK = 10,
1: + FRA_FLOW = 11,
1: + FRA_TUN_ID = 12,
1: + FRA_SUPPRESS_IFGROUP = 13,
1: + FRA_SUPPRESS_PREFIXLEN = 14,
1: + FRA_TABLE = 15,
1: + FRA_FWMASK = 16,
1: + FRA_OIFNAME = 17,
1: + FRA_PAD = 18,
1: + FRA_L3MDEV = 19,
1: + FRA_UID_RANGE = 20,
1: + FRA_PROTOCOL = 21,
1: + FRA_IP_PROTO = 22,
1: + FRA_SPORT_RANGE = 23,
1: + FRA_DPORT_RANGE = 24,
1: + __FRA_MAX = 25,
1: +};
1: +
1: +enum {
1: + FR_ACT_UNSPEC = 0,
1: + FR_ACT_TO_TBL = 1,
1: + FR_ACT_GOTO = 2,
1: + FR_ACT_NOP = 3,
1: + FR_ACT_RES3 = 4,
1: + FR_ACT_RES4 = 5,
1: + FR_ACT_BLACKHOLE = 6,
1: + FR_ACT_UNREACHABLE = 7,
1: + FR_ACT_PROHIBIT = 8,
1: + __FR_ACT_MAX = 9,
1: };
1:
1: struct fib_rule_notifier_info {
1: - struct fib_notifier_info info;
1: - struct fib_rule *rule;
1: + struct fib_notifier_info info;
1: + struct fib_rule *rule;
1: };
1:
1: struct trace_event_raw_kfree_skb {
1: - struct trace_entry ent;
1: - void *skbaddr;
1: - void *location;
1: - short unsigned int protocol;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *skbaddr;
1: + void *location;
1: + short unsigned int protocol;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_consume_skb {
1: - struct trace_entry ent;
1: - void *skbaddr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *skbaddr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_skb_copy_datagram_iovec {
1: - struct trace_entry ent;
1: - const void *skbaddr;
1: - int len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const void *skbaddr;
1: + int len;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_kfree_skb {};
1: @@ -103800,162 +104590,162 @@ struct trace_event_data_offsets_consume_skb {};
1: struct trace_event_data_offsets_skb_copy_datagram_iovec {};
1:
1: struct trace_event_raw_net_dev_start_xmit {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - u16 queue_mapping;
1: - const void *skbaddr;
1: - bool vlan_tagged;
1: - u16 vlan_proto;
1: - u16 vlan_tci;
1: - u16 protocol;
1: - u8 ip_summed;
1: - unsigned int len;
1: - unsigned int data_len;
1: - int network_offset;
1: - bool transport_offset_valid;
1: - int transport_offset;
1: - u8 tx_flags;
1: - u16 gso_size;
1: - u16 gso_segs;
1: - u16 gso_type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u16 queue_mapping;
1: + const void *skbaddr;
1: + bool vlan_tagged;
1: + u16 vlan_proto;
1: + u16 vlan_tci;
1: + u16 protocol;
1: + u8 ip_summed;
1: + unsigned int len;
1: + unsigned int data_len;
1: + int network_offset;
1: + bool transport_offset_valid;
1: + int transport_offset;
1: + u8 tx_flags;
1: + u16 gso_size;
1: + u16 gso_segs;
1: + u16 gso_type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_net_dev_xmit {
1: - struct trace_entry ent;
1: - void *skbaddr;
1: - unsigned int len;
1: - int rc;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *skbaddr;
1: + unsigned int len;
1: + int rc;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_net_dev_xmit_timeout {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - u32 __data_loc_driver;
1: - int queue_index;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + u32 __data_loc_driver;
1: + int queue_index;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_net_dev_template {
1: - struct trace_entry ent;
1: - void *skbaddr;
1: - unsigned int len;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + void *skbaddr;
1: + unsigned int len;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_net_dev_rx_verbose_template {
1: - struct trace_entry ent;
1: - u32 __data_loc_name;
1: - unsigned int napi_id;
1: - u16 queue_mapping;
1: - const void *skbaddr;
1: - bool vlan_tagged;
1: - u16 vlan_proto;
1: - u16 vlan_tci;
1: - u16 protocol;
1: - u8 ip_summed;
1: - u32 hash;
1: - bool l4_hash;
1: - unsigned int len;
1: - unsigned int data_len;
1: - unsigned int truesize;
1: - bool mac_header_valid;
1: - int mac_header;
1: - unsigned char nr_frags;
1: - u16 gso_size;
1: - u16 gso_type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_name;
1: + unsigned int napi_id;
1: + u16 queue_mapping;
1: + const void *skbaddr;
1: + bool vlan_tagged;
1: + u16 vlan_proto;
1: + u16 vlan_tci;
1: + u16 protocol;
1: + u8 ip_summed;
1: + u32 hash;
1: + bool l4_hash;
1: + unsigned int len;
1: + unsigned int data_len;
1: + unsigned int truesize;
1: + bool mac_header_valid;
1: + int mac_header;
1: + unsigned char nr_frags;
1: + u16 gso_size;
1: + u16 gso_type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_net_dev_rx_exit_template {
1: - struct trace_entry ent;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_net_dev_start_xmit {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_net_dev_xmit {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_net_dev_xmit_timeout {
1: - u32 name;
1: - u32 driver;
1: + u32 name;
1: + u32 driver;
1: };
1:
1: struct trace_event_data_offsets_net_dev_template {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_net_dev_rx_verbose_template {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_data_offsets_net_dev_rx_exit_template {};
1:
1: struct trace_event_raw_napi_poll {
1: - struct trace_entry ent;
1: - struct napi_struct *napi;
1: - u32 __data_loc_dev_name;
1: - int work;
1: - int budget;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct napi_struct *napi;
1: + u32 __data_loc_dev_name;
1: + int work;
1: + int budget;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_napi_poll {
1: - u32 dev_name;
1: + u32 dev_name;
1: };
1:
1: enum tcp_ca_state {
1: - TCP_CA_Open = 0,
1: - TCP_CA_Disorder = 1,
1: - TCP_CA_CWR = 2,
1: - TCP_CA_Recovery = 3,
1: - TCP_CA_Loss = 4,
1: + TCP_CA_Open = 0,
1: + TCP_CA_Disorder = 1,
1: + TCP_CA_CWR = 2,
1: + TCP_CA_Recovery = 3,
1: + TCP_CA_Loss = 4,
1: };
1:
1: struct trace_event_raw_sock_rcvqueue_full {
1: - struct trace_entry ent;
1: - int rmem_alloc;
1: - unsigned int truesize;
1: - int sk_rcvbuf;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int rmem_alloc;
1: + unsigned int truesize;
1: + int sk_rcvbuf;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sock_exceed_buf_limit {
1: - struct trace_entry ent;
1: - char name[32];
1: - long int *sysctl_mem;
1: - long int allocated;
1: - int sysctl_rmem;
1: - int rmem_alloc;
1: - int sysctl_wmem;
1: - int wmem_alloc;
1: - int wmem_queued;
1: - int kind;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[32];
1: + long int *sysctl_mem;
1: + long int allocated;
1: + int sysctl_rmem;
1: + int rmem_alloc;
1: + int sysctl_wmem;
1: + int wmem_alloc;
1: + int wmem_queued;
1: + int kind;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_inet_sock_set_state {
1: - struct trace_entry ent;
1: - const void *skaddr;
1: - int oldstate;
1: - int newstate;
1: - __u16 sport;
1: - __u16 dport;
1: - __u16 family;
1: - __u8 protocol;
1: - __u8 saddr[4];
1: - __u8 daddr[4];
1: - __u8 saddr_v6[16];
1: - __u8 daddr_v6[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + const void *skaddr;
1: + int oldstate;
1: + int newstate;
1: + __u16 sport;
1: + __u16 dport;
1: + __u16 family;
1: + __u8 protocol;
1: + __u8 saddr[4];
1: + __u8 daddr[4];
1: + __u8 saddr_v6[16];
1: + __u8 daddr_v6[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_sock_rcvqueue_full {};
1: @@ -103965,71 +104755,71 @@ struct trace_event_data_offsets_sock_exceed_buf_limit {};
1: struct trace_event_data_offsets_inet_sock_set_state {};
1:
1: struct trace_event_raw_udp_fail_queue_rcv_skb {
1: - struct trace_entry ent;
1: - int rc;
1: - __u16 lport;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int rc;
1: + __u16 lport;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_udp_fail_queue_rcv_skb {};
1:
1: struct trace_event_raw_tcp_event_sk_skb {
1: - struct trace_entry ent;
1: - const void *skbaddr;
1: - const void *skaddr;
1: - int state;
1: - __u16 sport;
1: - __u16 dport;
1: - __u8 saddr[4];
1: - __u8 daddr[4];
1: - __u8 saddr_v6[16];
1: - __u8 daddr_v6[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + const void *skbaddr;
1: + const void *skaddr;
1: + int state;
1: + __u16 sport;
1: + __u16 dport;
1: + __u8 saddr[4];
1: + __u8 daddr[4];
1: + __u8 saddr_v6[16];
1: + __u8 daddr_v6[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_tcp_event_sk {
1: - struct trace_entry ent;
1: - const void *skaddr;
1: - __u16 sport;
1: - __u16 dport;
1: - __u8 saddr[4];
1: - __u8 daddr[4];
1: - __u8 saddr_v6[16];
1: - __u8 daddr_v6[16];
1: - __u64 sock_cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + const void *skaddr;
1: + __u16 sport;
1: + __u16 dport;
1: + __u8 saddr[4];
1: + __u8 daddr[4];
1: + __u8 saddr_v6[16];
1: + __u8 daddr_v6[16];
1: + __u64 sock_cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_tcp_retransmit_synack {
1: - struct trace_entry ent;
1: - const void *skaddr;
1: - const void *req;
1: - __u16 sport;
1: - __u16 dport;
1: - __u8 saddr[4];
1: - __u8 daddr[4];
1: - __u8 saddr_v6[16];
1: - __u8 daddr_v6[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + const void *skaddr;
1: + const void *req;
1: + __u16 sport;
1: + __u16 dport;
1: + __u8 saddr[4];
1: + __u8 daddr[4];
1: + __u8 saddr_v6[16];
1: + __u8 daddr_v6[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_tcp_probe {
1: - struct trace_entry ent;
1: - __u8 saddr[28];
1: - __u8 daddr[28];
1: - __u16 sport;
1: - __u16 dport;
1: - __u32 mark;
1: - __u16 data_len;
1: - __u32 snd_nxt;
1: - __u32 snd_una;
1: - __u32 snd_cwnd;
1: - __u32 ssthresh;
1: - __u32 snd_wnd;
1: - __u32 srtt;
1: - __u32 rcv_wnd;
1: - __u64 sock_cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + __u8 saddr[28];
1: + __u8 daddr[28];
1: + __u16 sport;
1: + __u16 dport;
1: + __u32 mark;
1: + __u16 data_len;
1: + __u32 snd_nxt;
1: + __u32 snd_una;
1: + __u32 snd_cwnd;
1: + __u32 ssthresh;
1: + __u32 snd_wnd;
1: + __u32 srtt;
1: + __u32 rcv_wnd;
1: + __u64 sock_cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_tcp_event_sk_skb {};
1: @@ -104041,435 +104831,435 @@ struct trace_event_data_offsets_tcp_retransmit_synack {};
1: struct trace_event_data_offsets_tcp_probe {};
1:
1: struct trace_event_raw_fib_table_lookup {
1: - struct trace_entry ent;
1: - u32 tb_id;
1: - int err;
1: - int oif;
1: - int iif;
1: - u8 proto;
1: - __u8 tos;
1: - __u8 scope;
1: - __u8 flags;
1: - __u8 src[4];
1: - __u8 dst[4];
1: - __u8 gw4[4];
1: - __u8 gw6[16];
1: - u16 sport;
1: - u16 dport;
1: - u32 __data_loc_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 tb_id;
1: + int err;
1: + int oif;
1: + int iif;
1: + u8 proto;
1: + __u8 tos;
1: + __u8 scope;
1: + __u8 flags;
1: + __u8 src[4];
1: + __u8 dst[4];
1: + __u8 gw4[4];
1: + __u8 gw6[16];
1: + u16 sport;
1: + u16 dport;
1: + u32 __data_loc_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_fib_table_lookup {
1: - u32 name;
1: + u32 name;
1: };
1:
1: struct trace_event_raw_qdisc_dequeue {
1: - struct trace_entry ent;
1: - struct Qdisc *qdisc;
1: - const struct netdev_queue *txq;
1: - int packets;
1: - void *skbaddr;
1: - int ifindex;
1: - u32 handle;
1: - u32 parent;
1: - long unsigned int txq_state;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct Qdisc *qdisc;
1: + const struct netdev_queue *txq;
1: + int packets;
1: + void *skbaddr;
1: + int ifindex;
1: + u32 handle;
1: + u32 parent;
1: + long unsigned int txq_state;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_qdisc_dequeue {};
1:
1: struct trace_event_raw_neigh_create {
1: - struct trace_entry ent;
1: - u32 family;
1: - u32 __data_loc_dev;
1: - int entries;
1: - u8 created;
1: - u8 gc_exempt;
1: - u8 primary_key4[4];
1: - u8 primary_key6[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 family;
1: + u32 __data_loc_dev;
1: + int entries;
1: + u8 created;
1: + u8 gc_exempt;
1: + u8 primary_key4[4];
1: + u8 primary_key6[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_neigh_update {
1: - struct trace_entry ent;
1: - u32 family;
1: - u32 __data_loc_dev;
1: - u8 lladdr[32];
1: - u8 lladdr_len;
1: - u8 flags;
1: - u8 nud_state;
1: - u8 type;
1: - u8 dead;
1: - int refcnt;
1: - __u8 primary_key4[4];
1: - __u8 primary_key6[16];
1: - long unsigned int confirmed;
1: - long unsigned int updated;
1: - long unsigned int used;
1: - u8 new_lladdr[32];
1: - u8 new_state;
1: - u32 update_flags;
1: - u32 pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 family;
1: + u32 __data_loc_dev;
1: + u8 lladdr[32];
1: + u8 lladdr_len;
1: + u8 flags;
1: + u8 nud_state;
1: + u8 type;
1: + u8 dead;
1: + int refcnt;
1: + __u8 primary_key4[4];
1: + __u8 primary_key6[16];
1: + long unsigned int confirmed;
1: + long unsigned int updated;
1: + long unsigned int used;
1: + u8 new_lladdr[32];
1: + u8 new_state;
1: + u32 update_flags;
1: + u32 pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_neigh__update {
1: - struct trace_entry ent;
1: - u32 family;
1: - u32 __data_loc_dev;
1: - u8 lladdr[32];
1: - u8 lladdr_len;
1: - u8 flags;
1: - u8 nud_state;
1: - u8 type;
1: - u8 dead;
1: - int refcnt;
1: - __u8 primary_key4[4];
1: - __u8 primary_key6[16];
1: - long unsigned int confirmed;
1: - long unsigned int updated;
1: - long unsigned int used;
1: - u32 err;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 family;
1: + u32 __data_loc_dev;
1: + u8 lladdr[32];
1: + u8 lladdr_len;
1: + u8 flags;
1: + u8 nud_state;
1: + u8 type;
1: + u8 dead;
1: + int refcnt;
1: + __u8 primary_key4[4];
1: + __u8 primary_key6[16];
1: + long unsigned int confirmed;
1: + long unsigned int updated;
1: + long unsigned int used;
1: + u32 err;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_neigh_create {
1: - u32 dev;
1: + u32 dev;
1: };
1:
1: struct trace_event_data_offsets_neigh_update {
1: - u32 dev;
1: + u32 dev;
1: };
1:
1: struct trace_event_data_offsets_neigh__update {
1: - u32 dev;
1: + u32 dev;
1: };
1:
1: struct dst_cache_pcpu {
1: - long unsigned int refresh_ts;
1: - struct dst_entry *dst;
1: - u32 cookie;
1: - union {
1: - struct in_addr in_saddr;
1: - struct in6_addr in6_saddr;
1: - };
1: + long unsigned int refresh_ts;
1: + struct dst_entry *dst;
1: + u32 cookie;
1: + union {
1: + struct in_addr in_saddr;
1: + struct in6_addr in6_saddr;
1: + };
1: };
1:
1: struct gro_cell;
1:
1: struct gro_cells {
1: - struct gro_cell *cells;
1: + struct gro_cell *cells;
1: };
1:
1: struct gro_cell {
1: - struct sk_buff_head napi_skbs;
1: - struct napi_struct napi;
1: + struct sk_buff_head napi_skbs;
1: + struct napi_struct napi;
1: };
1:
1: struct group_req {
1: - __u32 gr_interface;
1: - struct __kernel_sockaddr_storage gr_group;
1: + __u32 gr_interface;
1: + struct __kernel_sockaddr_storage gr_group;
1: };
1:
1: struct group_source_req {
1: - __u32 gsr_interface;
1: - struct __kernel_sockaddr_storage gsr_group;
1: - struct __kernel_sockaddr_storage gsr_source;
1: + __u32 gsr_interface;
1: + struct __kernel_sockaddr_storage gsr_group;
1: + struct __kernel_sockaddr_storage gsr_source;
1: };
1:
1: struct group_filter {
1: - __u32 gf_interface;
1: - struct __kernel_sockaddr_storage gf_group;
1: - __u32 gf_fmode;
1: - __u32 gf_numsrc;
1: - struct __kernel_sockaddr_storage gf_slist[1];
1: + __u32 gf_interface;
1: + struct __kernel_sockaddr_storage gf_group;
1: + __u32 gf_fmode;
1: + __u32 gf_numsrc;
1: + struct __kernel_sockaddr_storage gf_slist[1];
1: };
1:
1: struct compat_cmsghdr {
1: - compat_size_t cmsg_len;
1: - compat_int_t cmsg_level;
1: - compat_int_t cmsg_type;
1: + compat_size_t cmsg_len;
1: + compat_int_t cmsg_level;
1: + compat_int_t cmsg_type;
1: };
1:
1: struct compat_group_req {
1: - __u32 gr_interface;
1: - struct __kernel_sockaddr_storage gr_group;
1: + __u32 gr_interface;
1: + struct __kernel_sockaddr_storage gr_group;
1: } __attribute__((packed));
1:
1: struct compat_group_source_req {
1: - __u32 gsr_interface;
1: - struct __kernel_sockaddr_storage gsr_group;
1: - struct __kernel_sockaddr_storage gsr_source;
1: + __u32 gsr_interface;
1: + struct __kernel_sockaddr_storage gsr_group;
1: + struct __kernel_sockaddr_storage gsr_source;
1: } __attribute__((packed));
1:
1: struct compat_group_filter {
1: - __u32 gf_interface;
1: - struct __kernel_sockaddr_storage gf_group;
1: - __u32 gf_fmode;
1: - __u32 gf_numsrc;
1: - struct __kernel_sockaddr_storage gf_slist[1];
1: + __u32 gf_interface;
1: + struct __kernel_sockaddr_storage gf_group;
1: + __u32 gf_fmode;
1: + __u32 gf_numsrc;
1: + struct __kernel_sockaddr_storage gf_slist[1];
1: } __attribute__((packed));
1:
1: -typedef struct sk_buff * (*gro_receive_t)(struct list_head *, struct sk_buff *);
1: +typedef struct sk_buff *(*gro_receive_t)(struct list_head *, struct sk_buff *);
1:
1: struct nvmem_cell___2;
1:
1: struct fddi_8022_1_hdr {
1: - __u8 dsap;
1: - __u8 ssap;
1: - __u8 ctrl;
1: + __u8 dsap;
1: + __u8 ssap;
1: + __u8 ctrl;
1: };
1:
1: struct fddi_8022_2_hdr {
1: - __u8 dsap;
1: - __u8 ssap;
1: - __u8 ctrl_1;
1: - __u8 ctrl_2;
1: + __u8 dsap;
1: + __u8 ssap;
1: + __u8 ctrl_1;
1: + __u8 ctrl_2;
1: };
1:
1: struct fddi_snap_hdr {
1: - __u8 dsap;
1: - __u8 ssap;
1: - __u8 ctrl;
1: - __u8 oui[3];
1: - __be16 ethertype;
1: + __u8 dsap;
1: + __u8 ssap;
1: + __u8 ctrl;
1: + __u8 oui[3];
1: + __be16 ethertype;
1: };
1:
1: struct fddihdr {
1: - __u8 fc;
1: - __u8 daddr[6];
1: - __u8 saddr[6];
1: - union {
1: - struct fddi_8022_1_hdr llc_8022_1;
1: - struct fddi_8022_2_hdr llc_8022_2;
1: - struct fddi_snap_hdr llc_snap;
1: - } hdr;
1: + __u8 fc;
1: + __u8 daddr[6];
1: + __u8 saddr[6];
1: + union {
1: + struct fddi_8022_1_hdr llc_8022_1;
1: + struct fddi_8022_2_hdr llc_8022_2;
1: + struct fddi_snap_hdr llc_snap;
1: + } hdr;
1: } __attribute__((packed));
1:
1: struct tc_ratespec {
1: - unsigned char cell_log;
1: - __u8 linklayer;
1: - short unsigned int overhead;
1: - short int cell_align;
1: - short unsigned int mpu;
1: - __u32 rate;
1: + unsigned char cell_log;
1: + __u8 linklayer;
1: + short unsigned int overhead;
1: + short int cell_align;
1: + short unsigned int mpu;
1: + __u32 rate;
1: };
1:
1: struct tc_prio_qopt {
1: - int bands;
1: - __u8 priomap[16];
1: + int bands;
1: + __u8 priomap[16];
1: };
1:
1: enum {
1: - TCA_UNSPEC = 0,
1: - TCA_KIND = 1,
1: - TCA_OPTIONS = 2,
1: - TCA_STATS = 3,
1: - TCA_XSTATS = 4,
1: - TCA_RATE = 5,
1: - TCA_FCNT = 6,
1: - TCA_STATS2 = 7,
1: - TCA_STAB = 8,
1: - TCA_PAD = 9,
1: - TCA_DUMP_INVISIBLE = 10,
1: - TCA_CHAIN = 11,
1: - TCA_HW_OFFLOAD = 12,
1: - TCA_INGRESS_BLOCK = 13,
1: - TCA_EGRESS_BLOCK = 14,
1: - __TCA_MAX = 15,
1: + TCA_UNSPEC = 0,
1: + TCA_KIND = 1,
1: + TCA_OPTIONS = 2,
1: + TCA_STATS = 3,
1: + TCA_XSTATS = 4,
1: + TCA_RATE = 5,
1: + TCA_FCNT = 6,
1: + TCA_STATS2 = 7,
1: + TCA_STAB = 8,
1: + TCA_PAD = 9,
1: + TCA_DUMP_INVISIBLE = 10,
1: + TCA_CHAIN = 11,
1: + TCA_HW_OFFLOAD = 12,
1: + TCA_INGRESS_BLOCK = 13,
1: + TCA_EGRESS_BLOCK = 14,
1: + __TCA_MAX = 15,
1: };
1:
1: struct skb_array {
1: - struct ptr_ring ring;
1: + struct ptr_ring ring;
1: };
1:
1: struct psched_ratecfg {
1: - u64 rate_bytes_ps;
1: - u32 mult;
1: - u16 overhead;
1: - u8 linklayer;
1: - u8 shift;
1: + u64 rate_bytes_ps;
1: + u32 mult;
1: + u16 overhead;
1: + u8 linklayer;
1: + u8 shift;
1: };
1:
1: struct mini_Qdisc_pair {
1: - struct mini_Qdisc miniq1;
1: - struct mini_Qdisc miniq2;
1: - struct mini_Qdisc **p_miniq;
1: + struct mini_Qdisc miniq1;
1: + struct mini_Qdisc miniq2;
1: + struct mini_Qdisc **p_miniq;
1: };
1:
1: struct pfifo_fast_priv {
1: - struct skb_array q[3];
1: + struct skb_array q[3];
1: };
1:
1: struct tc_qopt_offload_stats {
1: - struct gnet_stats_basic_packed *bstats;
1: - struct gnet_stats_queue *qstats;
1: + struct gnet_stats_basic_packed *bstats;
1: + struct gnet_stats_queue *qstats;
1: };
1:
1: enum tc_mq_command {
1: - TC_MQ_CREATE = 0,
1: - TC_MQ_DESTROY = 1,
1: - TC_MQ_STATS = 2,
1: - TC_MQ_GRAFT = 3,
1: + TC_MQ_CREATE = 0,
1: + TC_MQ_DESTROY = 1,
1: + TC_MQ_STATS = 2,
1: + TC_MQ_GRAFT = 3,
1: };
1:
1: struct tc_mq_opt_offload_graft_params {
1: - long unsigned int queue;
1: - u32 child_handle;
1: + long unsigned int queue;
1: + u32 child_handle;
1: };
1:
1: struct tc_mq_qopt_offload {
1: - enum tc_mq_command command;
1: - u32 handle;
1: - union {
1: - struct tc_qopt_offload_stats stats;
1: - struct tc_mq_opt_offload_graft_params graft_params;
1: - };
1: + enum tc_mq_command command;
1: + u32 handle;
1: + union {
1: + struct tc_qopt_offload_stats stats;
1: + struct tc_mq_opt_offload_graft_params graft_params;
1: + };
1: };
1:
1: struct mq_sched {
1: - struct Qdisc **qdiscs;
1: + struct Qdisc **qdiscs;
1: };
1:
1: enum tc_link_layer {
1: - TC_LINKLAYER_UNAWARE = 0,
1: - TC_LINKLAYER_ETHERNET = 1,
1: - TC_LINKLAYER_ATM = 2,
1: + TC_LINKLAYER_UNAWARE = 0,
1: + TC_LINKLAYER_ETHERNET = 1,
1: + TC_LINKLAYER_ATM = 2,
1: };
1:
1: enum {
1: - TCA_STAB_UNSPEC = 0,
1: - TCA_STAB_BASE = 1,
1: - TCA_STAB_DATA = 2,
1: - __TCA_STAB_MAX = 3,
1: + TCA_STAB_UNSPEC = 0,
1: + TCA_STAB_BASE = 1,
1: + TCA_STAB_DATA = 2,
1: + __TCA_STAB_MAX = 3,
1: };
1:
1: struct qdisc_rate_table {
1: - struct tc_ratespec rate;
1: - u32 data[256];
1: - struct qdisc_rate_table *next;
1: - int refcnt;
1: + struct tc_ratespec rate;
1: + u32 data[256];
1: + struct qdisc_rate_table *next;
1: + int refcnt;
1: };
1:
1: struct Qdisc_class_common {
1: - u32 classid;
1: - struct hlist_node hnode;
1: + u32 classid;
1: + struct hlist_node hnode;
1: };
1:
1: struct Qdisc_class_hash {
1: - struct hlist_head *hash;
1: - unsigned int hashsize;
1: - unsigned int hashmask;
1: - unsigned int hashelems;
1: + struct hlist_head *hash;
1: + unsigned int hashsize;
1: + unsigned int hashmask;
1: + unsigned int hashelems;
1: };
1:
1: struct qdisc_watchdog {
1: - u64 last_expires;
1: - struct hrtimer timer;
1: - struct Qdisc *qdisc;
1: + u64 last_expires;
1: + struct hrtimer timer;
1: + struct Qdisc *qdisc;
1: };
1:
1: enum tc_root_command {
1: - TC_ROOT_GRAFT = 0,
1: + TC_ROOT_GRAFT = 0,
1: };
1:
1: struct tc_root_qopt_offload {
1: - enum tc_root_command command;
1: - u32 handle;
1: - bool ingress;
1: + enum tc_root_command command;
1: + u32 handle;
1: + bool ingress;
1: };
1:
1: struct check_loop_arg {
1: - struct qdisc_walker w;
1: - struct Qdisc *p;
1: - int depth;
1: + struct qdisc_walker w;
1: + struct Qdisc *p;
1: + int depth;
1: };
1:
1: struct tcf_bind_args {
1: - struct tcf_walker w;
1: - u32 classid;
1: - long unsigned int cl;
1: + struct tcf_walker w;
1: + u32 classid;
1: + long unsigned int cl;
1: };
1:
1: struct qdisc_dump_args {
1: - struct qdisc_walker w;
1: - struct sk_buff *skb;
1: - struct netlink_callback *cb;
1: + struct qdisc_walker w;
1: + struct sk_buff *skb;
1: + struct netlink_callback *cb;
1: };
1:
1: enum net_xmit_qdisc_t {
1: - __NET_XMIT_STOLEN = 65536,
1: - __NET_XMIT_BYPASS = 131072,
1: + __NET_XMIT_STOLEN = 65536,
1: + __NET_XMIT_BYPASS = 131072,
1: };
1:
1: enum {
1: - TCA_ACT_UNSPEC = 0,
1: - TCA_ACT_KIND = 1,
1: - TCA_ACT_OPTIONS = 2,
1: - TCA_ACT_INDEX = 3,
1: - TCA_ACT_STATS = 4,
1: - TCA_ACT_PAD = 5,
1: - TCA_ACT_COOKIE = 6,
1: - TCA_ACT_FLAGS = 7,
1: - __TCA_ACT_MAX = 8,
1: + TCA_ACT_UNSPEC = 0,
1: + TCA_ACT_KIND = 1,
1: + TCA_ACT_OPTIONS = 2,
1: + TCA_ACT_INDEX = 3,
1: + TCA_ACT_STATS = 4,
1: + TCA_ACT_PAD = 5,
1: + TCA_ACT_COOKIE = 6,
1: + TCA_ACT_FLAGS = 7,
1: + __TCA_ACT_MAX = 8,
1: };
1:
1: enum tca_id {
1: - TCA_ID_UNSPEC = 0,
1: - TCA_ID_POLICE = 1,
1: - TCA_ID_GACT = 5,
1: - TCA_ID_IPT = 6,
1: - TCA_ID_PEDIT = 7,
1: - TCA_ID_MIRRED = 8,
1: - TCA_ID_NAT = 9,
1: - TCA_ID_XT = 10,
1: - TCA_ID_SKBEDIT = 11,
1: - TCA_ID_VLAN = 12,
1: - TCA_ID_BPF = 13,
1: - TCA_ID_CONNMARK = 14,
1: - TCA_ID_SKBMOD = 15,
1: - TCA_ID_CSUM = 16,
1: - TCA_ID_TUNNEL_KEY = 17,
1: - TCA_ID_SIMP = 22,
1: - TCA_ID_IFE = 25,
1: - TCA_ID_SAMPLE = 26,
1: - TCA_ID_CTINFO = 27,
1: - TCA_ID_MPLS = 28,
1: - TCA_ID_CT = 29,
1: - __TCA_ID_MAX = 255,
1: + TCA_ID_UNSPEC = 0,
1: + TCA_ID_POLICE = 1,
1: + TCA_ID_GACT = 5,
1: + TCA_ID_IPT = 6,
1: + TCA_ID_PEDIT = 7,
1: + TCA_ID_MIRRED = 8,
1: + TCA_ID_NAT = 9,
1: + TCA_ID_XT = 10,
1: + TCA_ID_SKBEDIT = 11,
1: + TCA_ID_VLAN = 12,
1: + TCA_ID_BPF = 13,
1: + TCA_ID_CONNMARK = 14,
1: + TCA_ID_SKBMOD = 15,
1: + TCA_ID_CSUM = 16,
1: + TCA_ID_TUNNEL_KEY = 17,
1: + TCA_ID_SIMP = 22,
1: + TCA_ID_IFE = 25,
1: + TCA_ID_SAMPLE = 26,
1: + TCA_ID_CTINFO = 27,
1: + TCA_ID_MPLS = 28,
1: + TCA_ID_CT = 29,
1: + __TCA_ID_MAX = 255,
1: };
1:
1: struct tcf_t {
1: - __u64 install;
1: - __u64 lastuse;
1: - __u64 expires;
1: - __u64 firstuse;
1: + __u64 install;
1: + __u64 lastuse;
1: + __u64 expires;
1: + __u64 firstuse;
1: };
1:
1: struct psample_group {
1: - struct list_head list;
1: - struct net *net;
1: - u32 group_num;
1: - u32 refcount;
1: - u32 seq;
1: - struct callback_head rcu;
1: + struct list_head list;
1: + struct net *net;
1: + u32 group_num;
1: + u32 refcount;
1: + u32 seq;
1: + struct callback_head rcu;
1: };
1:
1: enum qdisc_class_ops_flags {
1: - QDISC_CLASS_OPS_DOIT_UNLOCKED = 1,
1: + QDISC_CLASS_OPS_DOIT_UNLOCKED = 1,
1: };
1:
1: enum tcf_proto_ops_flags {
1: - TCF_PROTO_OPS_DOIT_UNLOCKED = 1,
1: + TCF_PROTO_OPS_DOIT_UNLOCKED = 1,
1: };
1:
1: typedef void tcf_chain_head_change_t(struct tcf_proto *, void *);
1:
1: struct tcf_idrinfo {
1: - struct mutex lock;
1: - struct idr action_idr;
1: - struct net *net;
1: + struct mutex lock;
1: + struct idr action_idr;
1: + struct net *net;
1: };
1:
1: struct tc_action_ops;
1: @@ -104477,1510 +105267,1542 @@ struct tc_action_ops;
1: struct tc_cookie;
1:
1: struct tc_action {
1: - const struct tc_action_ops *ops;
1: - __u32 type;
1: - struct tcf_idrinfo *idrinfo;
1: - u32 tcfa_index;
1: - refcount_t tcfa_refcnt;
1: - atomic_t tcfa_bindcnt;
1: - int tcfa_action;
1: - struct tcf_t tcfa_tm;
1: - struct gnet_stats_basic_packed tcfa_bstats;
1: - struct gnet_stats_basic_packed tcfa_bstats_hw;
1: - struct gnet_stats_queue tcfa_qstats;
1: - struct net_rate_estimator *tcfa_rate_est;
1: - spinlock_t tcfa_lock;
1: - struct gnet_stats_basic_cpu *cpu_bstats;
1: - struct gnet_stats_basic_cpu *cpu_bstats_hw;
1: - struct gnet_stats_queue *cpu_qstats;
1: - struct tc_cookie *act_cookie;
1: - struct tcf_chain *goto_chain;
1: - u32 tcfa_flags;
1: + const struct tc_action_ops *ops;
1: + __u32 type;
1: + struct tcf_idrinfo *idrinfo;
1: + u32 tcfa_index;
1: + refcount_t tcfa_refcnt;
1: + atomic_t tcfa_bindcnt;
1: + int tcfa_action;
1: + struct tcf_t tcfa_tm;
1: + struct gnet_stats_basic_packed tcfa_bstats;
1: + struct gnet_stats_basic_packed tcfa_bstats_hw;
1: + struct gnet_stats_queue tcfa_qstats;
1: + struct net_rate_estimator *tcfa_rate_est;
1: + spinlock_t tcfa_lock;
1: + struct gnet_stats_basic_cpu *cpu_bstats;
1: + struct gnet_stats_basic_cpu *cpu_bstats_hw;
1: + struct gnet_stats_queue *cpu_qstats;
1: + struct tc_cookie *act_cookie;
1: + struct tcf_chain *goto_chain;
1: + u32 tcfa_flags;
1: };
1:
1: typedef void (*tc_action_priv_destructor)(void *);
1:
1: struct tc_action_ops {
1: - struct list_head head;
1: - char kind[16];
1: - enum tca_id id;
1: - size_t size;
1: - struct module *owner;
1: - int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *);
1: - int (*dump)(struct sk_buff *, struct tc_action *, int, int);
1: - void (*cleanup)(struct tc_action *);
1: - int (*lookup)(struct net *, struct tc_action **, u32);
1: - int (*init)(struct net *, struct nlattr *, struct nlattr *, struct tc_action **, int, int, bool, struct tcf_proto *, u32, struct netlink_ext_ack *);
1: - int (*walk)(struct net *, struct sk_buff *, struct netlink_callback *, int, const struct tc_action_ops *, struct netlink_ext_ack *);
1: - void (*stats_update)(struct tc_action *, u64, u32, u64, bool);
1: - size_t (*get_fill_size)(const struct tc_action *);
1: - struct net_device * (*get_dev)(const struct tc_action *, tc_action_priv_destructor *);
1: - struct psample_group * (*get_psample_group)(const struct tc_action *, tc_action_priv_destructor *);
1: + struct list_head head;
1: + char kind[16];
1: + enum tca_id id;
1: + size_t size;
1: + struct module *owner;
1: + int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *);
1: + int (*dump)(struct sk_buff *, struct tc_action *, int, int);
1: + void (*cleanup)(struct tc_action *);
1: + int (*lookup)(struct net *, struct tc_action **, u32);
1: + int (*init)(struct net *, struct nlattr *, struct nlattr *,
1: + struct tc_action **, int, int, bool, struct tcf_proto *, u32,
1: + struct netlink_ext_ack *);
1: + int (*walk)(struct net *, struct sk_buff *, struct netlink_callback *, int,
1: + const struct tc_action_ops *, struct netlink_ext_ack *);
1: + void (*stats_update)(struct tc_action *, u64, u32, u64, bool);
1: + size_t (*get_fill_size)(const struct tc_action *);
1: + struct net_device *(*get_dev)(const struct tc_action *,
1: + tc_action_priv_destructor *);
1: + struct psample_group *(*get_psample_group)(const struct tc_action *,
1: + tc_action_priv_destructor *);
1: };
1:
1: struct tc_cookie {
1: - u8 *data;
1: - u32 len;
1: - struct callback_head rcu;
1: + u8 *data;
1: + u32 len;
1: + struct callback_head rcu;
1: };
1:
1: struct tcf_block_ext_info {
1: - enum flow_block_binder_type binder_type;
1: - tcf_chain_head_change_t *chain_head_change;
1: - void *chain_head_change_priv;
1: - u32 block_index;
1: + enum flow_block_binder_type binder_type;
1: + tcf_chain_head_change_t *chain_head_change;
1: + void *chain_head_change_priv;
1: + u32 block_index;
1: };
1:
1: struct tcf_exts {
1: - __u32 type;
1: - int nr_actions;
1: - struct tc_action **actions;
1: - struct net *net;
1: - int action;
1: - int police;
1: + __u32 type;
1: + int nr_actions;
1: + struct tc_action **actions;
1: + struct net *net;
1: + int action;
1: + int police;
1: };
1:
1: enum pedit_header_type {
1: - TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK = 0,
1: - TCA_PEDIT_KEY_EX_HDR_TYPE_ETH = 1,
1: - TCA_PEDIT_KEY_EX_HDR_TYPE_IP4 = 2,
1: - TCA_PEDIT_KEY_EX_HDR_TYPE_IP6 = 3,
1: - TCA_PEDIT_KEY_EX_HDR_TYPE_TCP = 4,
1: - TCA_PEDIT_KEY_EX_HDR_TYPE_UDP = 5,
1: - __PEDIT_HDR_TYPE_MAX = 6,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_NETWORK = 0,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_ETH = 1,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_IP4 = 2,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_IP6 = 3,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_TCP = 4,
1: + TCA_PEDIT_KEY_EX_HDR_TYPE_UDP = 5,
1: + __PEDIT_HDR_TYPE_MAX = 6,
1: };
1:
1: enum pedit_cmd {
1: - TCA_PEDIT_KEY_EX_CMD_SET = 0,
1: - TCA_PEDIT_KEY_EX_CMD_ADD = 1,
1: - __PEDIT_CMD_MAX = 2,
1: + TCA_PEDIT_KEY_EX_CMD_SET = 0,
1: + TCA_PEDIT_KEY_EX_CMD_ADD = 1,
1: + __PEDIT_CMD_MAX = 2,
1: };
1:
1: struct tc_pedit_key {
1: - __u32 mask;
1: - __u32 val;
1: - __u32 off;
1: - __u32 at;
1: - __u32 offmask;
1: - __u32 shift;
1: + __u32 mask;
1: + __u32 val;
1: + __u32 off;
1: + __u32 at;
1: + __u32 offmask;
1: + __u32 shift;
1: };
1:
1: struct tcf_pedit_key_ex {
1: - enum pedit_header_type htype;
1: - enum pedit_cmd cmd;
1: + enum pedit_header_type htype;
1: + enum pedit_cmd cmd;
1: };
1:
1: struct tcf_pedit {
1: - struct tc_action common;
1: - unsigned char tcfp_nkeys;
1: - unsigned char tcfp_flags;
1: - struct tc_pedit_key *tcfp_keys;
1: - struct tcf_pedit_key_ex *tcfp_keys_ex;
1: + struct tc_action common;
1: + unsigned char tcfp_nkeys;
1: + unsigned char tcfp_flags;
1: + struct tc_pedit_key *tcfp_keys;
1: + struct tcf_pedit_key_ex *tcfp_keys_ex;
1: };
1:
1: struct tcf_mirred {
1: - struct tc_action common;
1: - int tcfm_eaction;
1: - bool tcfm_mac_header_xmit;
1: - struct net_device *tcfm_dev;
1: - struct list_head tcfm_list;
1: + struct tc_action common;
1: + int tcfm_eaction;
1: + bool tcfm_mac_header_xmit;
1: + struct net_device *tcfm_dev;
1: + struct list_head tcfm_list;
1: };
1:
1: struct tcf_vlan_params {
1: - int tcfv_action;
1: - u16 tcfv_push_vid;
1: - __be16 tcfv_push_proto;
1: - u8 tcfv_push_prio;
1: - struct callback_head rcu;
1: + int tcfv_action;
1: + u16 tcfv_push_vid;
1: + __be16 tcfv_push_proto;
1: + u8 tcfv_push_prio;
1: + struct callback_head rcu;
1: };
1:
1: struct tcf_vlan {
1: - struct tc_action common;
1: - struct tcf_vlan_params *vlan_p;
1: + struct tc_action common;
1: + struct tcf_vlan_params *vlan_p;
1: };
1:
1: struct tcf_tunnel_key_params {
1: - struct callback_head rcu;
1: - int tcft_action;
1: - struct metadata_dst *tcft_enc_metadata;
1: + struct callback_head rcu;
1: + int tcft_action;
1: + struct metadata_dst *tcft_enc_metadata;
1: };
1:
1: struct tcf_tunnel_key {
1: - struct tc_action common;
1: - struct tcf_tunnel_key_params *params;
1: + struct tc_action common;
1: + struct tcf_tunnel_key_params *params;
1: };
1:
1: struct tcf_csum_params {
1: - u32 update_flags;
1: - struct callback_head rcu;
1: + u32 update_flags;
1: + struct callback_head rcu;
1: };
1:
1: struct tcf_csum {
1: - struct tc_action common;
1: - struct tcf_csum_params *params;
1: + struct tc_action common;
1: + struct tcf_csum_params *params;
1: };
1:
1: struct tcf_gact {
1: - struct tc_action common;
1: + struct tc_action common;
1: };
1:
1: struct tcf_police_params {
1: - int tcfp_result;
1: - u32 tcfp_ewma_rate;
1: - s64 tcfp_burst;
1: - u32 tcfp_mtu;
1: - s64 tcfp_mtu_ptoks;
1: - struct psched_ratecfg rate;
1: - bool rate_present;
1: - struct psched_ratecfg peak;
1: - bool peak_present;
1: - struct callback_head rcu;
1: + int tcfp_result;
1: + u32 tcfp_ewma_rate;
1: + s64 tcfp_burst;
1: + u32 tcfp_mtu;
1: + s64 tcfp_mtu_ptoks;
1: + struct psched_ratecfg rate;
1: + bool rate_present;
1: + struct psched_ratecfg peak;
1: + bool peak_present;
1: + struct callback_head rcu;
1: };
1:
1: struct tcf_police {
1: - struct tc_action common;
1: - struct tcf_police_params *params;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - spinlock_t tcfp_lock;
1: - s64 tcfp_toks;
1: - s64 tcfp_ptoks;
1: - s64 tcfp_t_c;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct tc_action common;
1: + struct tcf_police_params *params;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + spinlock_t tcfp_lock;
1: + s64 tcfp_toks;
1: + s64 tcfp_ptoks;
1: + s64 tcfp_t_c;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct tcf_sample {
1: - struct tc_action common;
1: - u32 rate;
1: - bool truncate;
1: - u32 trunc_size;
1: - struct psample_group *psample_group;
1: - u32 psample_group_num;
1: - struct list_head tcfm_list;
1: + struct tc_action common;
1: + u32 rate;
1: + bool truncate;
1: + u32 trunc_size;
1: + struct psample_group *psample_group;
1: + u32 psample_group_num;
1: + struct list_head tcfm_list;
1: };
1:
1: struct tcf_skbedit_params {
1: - u32 flags;
1: - u32 priority;
1: - u32 mark;
1: - u32 mask;
1: - u16 queue_mapping;
1: - u16 ptype;
1: - struct callback_head rcu;
1: + u32 flags;
1: + u32 priority;
1: + u32 mark;
1: + u32 mask;
1: + u16 queue_mapping;
1: + u16 ptype;
1: + struct callback_head rcu;
1: };
1:
1: struct tcf_skbedit {
1: - struct tc_action common;
1: - struct tcf_skbedit_params *params;
1: + struct tc_action common;
1: + struct tcf_skbedit_params *params;
1: };
1:
1: struct nf_nat_range2 {
1: - unsigned int flags;
1: - union nf_inet_addr min_addr;
1: - union nf_inet_addr max_addr;
1: - union nf_conntrack_man_proto min_proto;
1: - union nf_conntrack_man_proto max_proto;
1: - union nf_conntrack_man_proto base_proto;
1: + unsigned int flags;
1: + union nf_inet_addr min_addr;
1: + union nf_inet_addr max_addr;
1: + union nf_conntrack_man_proto min_proto;
1: + union nf_conntrack_man_proto max_proto;
1: + union nf_conntrack_man_proto base_proto;
1: };
1:
1: struct tcf_ct_params {
1: - struct nf_conn *tmpl;
1: - u16 zone;
1: - u32 mark;
1: - u32 mark_mask;
1: - u32 labels[4];
1: - u32 labels_mask[4];
1: - struct nf_nat_range2 range;
1: - bool ipv4_range;
1: - u16 ct_action;
1: - struct callback_head rcu;
1: + struct nf_conn *tmpl;
1: + u16 zone;
1: + u32 mark;
1: + u32 mark_mask;
1: + u32 labels[4];
1: + u32 labels_mask[4];
1: + struct nf_nat_range2 range;
1: + bool ipv4_range;
1: + u16 ct_action;
1: + struct callback_head rcu;
1: };
1:
1: struct tcf_ct {
1: - struct tc_action common;
1: - struct tcf_ct_params *params;
1: + struct tc_action common;
1: + struct tcf_ct_params *params;
1: };
1:
1: struct tcf_mpls_params {
1: - int tcfm_action;
1: - u32 tcfm_label;
1: - u8 tcfm_tc;
1: - u8 tcfm_ttl;
1: - u8 tcfm_bos;
1: - __be16 tcfm_proto;
1: - struct callback_head rcu;
1: + int tcfm_action;
1: + u32 tcfm_label;
1: + u8 tcfm_tc;
1: + u8 tcfm_ttl;
1: + u8 tcfm_bos;
1: + __be16 tcfm_proto;
1: + struct callback_head rcu;
1: };
1:
1: struct tcf_mpls {
1: - struct tc_action common;
1: - struct tcf_mpls_params *mpls_p;
1: + struct tc_action common;
1: + struct tcf_mpls_params *mpls_p;
1: };
1:
1: struct tcf_filter_chain_list_item {
1: - struct list_head list;
1: - tcf_chain_head_change_t *chain_head_change;
1: - void *chain_head_change_priv;
1: + struct list_head list;
1: + tcf_chain_head_change_t *chain_head_change;
1: + void *chain_head_change_priv;
1: };
1:
1: struct tcf_net {
1: - spinlock_t idr_lock;
1: - struct idr idr;
1: + spinlock_t idr_lock;
1: + struct idr idr;
1: };
1:
1: struct tcf_block_owner_item {
1: - struct list_head list;
1: - struct Qdisc *q;
1: - enum flow_block_binder_type binder_type;
1: + struct list_head list;
1: + struct Qdisc *q;
1: + enum flow_block_binder_type binder_type;
1: };
1:
1: struct tcf_chain_info {
1: - struct tcf_proto **pprev;
1: - struct tcf_proto *next;
1: + struct tcf_proto **pprev;
1: + struct tcf_proto *next;
1: };
1:
1: struct tcf_dump_args {
1: - struct tcf_walker w;
1: - struct sk_buff *skb;
1: - struct netlink_callback *cb;
1: - struct tcf_block *block;
1: - struct Qdisc *q;
1: - u32 parent;
1: + struct tcf_walker w;
1: + struct sk_buff *skb;
1: + struct netlink_callback *cb;
1: + struct tcf_block *block;
1: + struct Qdisc *q;
1: + u32 parent;
1: };
1:
1: struct tcamsg {
1: - unsigned char tca_family;
1: - unsigned char tca__pad1;
1: - short unsigned int tca__pad2;
1: + unsigned char tca_family;
1: + unsigned char tca__pad1;
1: + short unsigned int tca__pad2;
1: };
1:
1: enum {
1: - TCA_ROOT_UNSPEC = 0,
1: - TCA_ROOT_TAB = 1,
1: - TCA_ROOT_FLAGS = 2,
1: - TCA_ROOT_COUNT = 3,
1: - TCA_ROOT_TIME_DELTA = 4,
1: - __TCA_ROOT_MAX = 5,
1: + TCA_ROOT_UNSPEC = 0,
1: + TCA_ROOT_TAB = 1,
1: + TCA_ROOT_FLAGS = 2,
1: + TCA_ROOT_COUNT = 3,
1: + TCA_ROOT_TIME_DELTA = 4,
1: + __TCA_ROOT_MAX = 5,
1: };
1:
1: struct tc_action_net {
1: - struct tcf_idrinfo *idrinfo;
1: - const struct tc_action_ops *ops;
1: + struct tcf_idrinfo *idrinfo;
1: + const struct tc_action_ops *ops;
1: };
1:
1: struct tc_fifo_qopt {
1: - __u32 limit;
1: + __u32 limit;
1: };
1:
1: struct tcf_ematch_tree_hdr {
1: - __u16 nmatches;
1: - __u16 progid;
1: + __u16 nmatches;
1: + __u16 progid;
1: };
1:
1: enum {
1: - TCA_EMATCH_TREE_UNSPEC = 0,
1: - TCA_EMATCH_TREE_HDR = 1,
1: - TCA_EMATCH_TREE_LIST = 2,
1: - __TCA_EMATCH_TREE_MAX = 3,
1: + TCA_EMATCH_TREE_UNSPEC = 0,
1: + TCA_EMATCH_TREE_HDR = 1,
1: + TCA_EMATCH_TREE_LIST = 2,
1: + __TCA_EMATCH_TREE_MAX = 3,
1: };
1:
1: struct tcf_ematch_hdr {
1: - __u16 matchid;
1: - __u16 kind;
1: - __u16 flags;
1: - __u16 pad;
1: + __u16 matchid;
1: + __u16 kind;
1: + __u16 flags;
1: + __u16 pad;
1: };
1:
1: struct tcf_pkt_info {
1: - unsigned char *ptr;
1: - int nexthdr;
1: + unsigned char *ptr;
1: + int nexthdr;
1: };
1:
1: struct tcf_ematch_ops;
1:
1: struct tcf_ematch {
1: - struct tcf_ematch_ops *ops;
1: - long unsigned int data;
1: - unsigned int datalen;
1: - u16 matchid;
1: - u16 flags;
1: - struct net *net;
1: + struct tcf_ematch_ops *ops;
1: + long unsigned int data;
1: + unsigned int datalen;
1: + u16 matchid;
1: + u16 flags;
1: + struct net *net;
1: };
1:
1: struct tcf_ematch_ops {
1: - int kind;
1: - int datalen;
1: - int (*change)(struct net *, void *, int, struct tcf_ematch *);
1: - int (*match)(struct sk_buff *, struct tcf_ematch *, struct tcf_pkt_info *);
1: - void (*destroy)(struct tcf_ematch *);
1: - int (*dump)(struct sk_buff *, struct tcf_ematch *);
1: - struct module *owner;
1: - struct list_head link;
1: + int kind;
1: + int datalen;
1: + int (*change)(struct net *, void *, int, struct tcf_ematch *);
1: + int (*match)(struct sk_buff *, struct tcf_ematch *, struct tcf_pkt_info *);
1: + void (*destroy)(struct tcf_ematch *);
1: + int (*dump)(struct sk_buff *, struct tcf_ematch *);
1: + struct module *owner;
1: + struct list_head link;
1: };
1:
1: struct tcf_ematch_tree {
1: - struct tcf_ematch_tree_hdr hdr;
1: - struct tcf_ematch *matches;
1: + struct tcf_ematch_tree_hdr hdr;
1: + struct tcf_ematch *matches;
1: };
1:
1: struct sockaddr_nl {
1: - __kernel_sa_family_t nl_family;
1: - short unsigned int nl_pad;
1: - __u32 nl_pid;
1: - __u32 nl_groups;
1: + __kernel_sa_family_t nl_family;
1: + short unsigned int nl_pad;
1: + __u32 nl_pid;
1: + __u32 nl_groups;
1: };
1:
1: struct nlmsgerr {
1: - int error;
1: - struct nlmsghdr msg;
1: + int error;
1: + struct nlmsghdr msg;
1: };
1:
1: enum nlmsgerr_attrs {
1: - NLMSGERR_ATTR_UNUSED = 0,
1: - NLMSGERR_ATTR_MSG = 1,
1: - NLMSGERR_ATTR_OFFS = 2,
1: - NLMSGERR_ATTR_COOKIE = 3,
1: - __NLMSGERR_ATTR_MAX = 4,
1: - NLMSGERR_ATTR_MAX = 3,
1: + NLMSGERR_ATTR_UNUSED = 0,
1: + NLMSGERR_ATTR_MSG = 1,
1: + NLMSGERR_ATTR_OFFS = 2,
1: + NLMSGERR_ATTR_COOKIE = 3,
1: + __NLMSGERR_ATTR_MAX = 4,
1: + NLMSGERR_ATTR_MAX = 3,
1: };
1:
1: struct nl_pktinfo {
1: - __u32 group;
1: + __u32 group;
1: };
1:
1: enum {
1: - NETLINK_UNCONNECTED = 0,
1: - NETLINK_CONNECTED = 1,
1: + NETLINK_UNCONNECTED = 0,
1: + NETLINK_CONNECTED = 1,
1: };
1:
1: enum netlink_skb_flags {
1: - NETLINK_SKB_DST = 8,
1: + NETLINK_SKB_DST = 8,
1: };
1:
1: struct netlink_notify {
1: - struct net *net;
1: - u32 portid;
1: - int protocol;
1: + struct net *net;
1: + u32 portid;
1: + int protocol;
1: };
1:
1: struct netlink_tap {
1: - struct net_device *dev;
1: - struct module *module;
1: - struct list_head list;
1: + struct net_device *dev;
1: + struct module *module;
1: + struct list_head list;
1: };
1:
1: struct netlink_sock {
1: - struct sock sk;
1: - u32 portid;
1: - u32 dst_portid;
1: - u32 dst_group;
1: - u32 flags;
1: - u32 subscriptions;
1: - u32 ngroups;
1: - long unsigned int *groups;
1: - long unsigned int state;
1: - size_t max_recvmsg_len;
1: - wait_queue_head_t wait;
1: - bool bound;
1: - bool cb_running;
1: - int dump_done_errno;
1: - struct netlink_callback cb;
1: - struct mutex *cb_mutex;
1: - struct mutex cb_def_mutex;
1: - void (*netlink_rcv)(struct sk_buff *);
1: - int (*netlink_bind)(struct net *, int);
1: - void (*netlink_unbind)(struct net *, int);
1: - struct module *module;
1: - struct rhash_head node;
1: - struct callback_head rcu;
1: - struct work_struct work;
1: + struct sock sk;
1: + u32 portid;
1: + u32 dst_portid;
1: + u32 dst_group;
1: + u32 flags;
1: + u32 subscriptions;
1: + u32 ngroups;
1: + long unsigned int *groups;
1: + long unsigned int state;
1: + size_t max_recvmsg_len;
1: + wait_queue_head_t wait;
1: + bool bound;
1: + bool cb_running;
1: + int dump_done_errno;
1: + struct netlink_callback cb;
1: + struct mutex *cb_mutex;
1: + struct mutex cb_def_mutex;
1: + void (*netlink_rcv)(struct sk_buff *);
1: + int (*netlink_bind)(struct net *, int);
1: + void (*netlink_unbind)(struct net *, int);
1: + struct module *module;
1: + struct rhash_head node;
1: + struct callback_head rcu;
1: + struct work_struct work;
1: };
1:
1: struct listeners;
1:
1: struct netlink_table {
1: - struct rhashtable hash;
1: - struct hlist_head mc_list;
1: - struct listeners *listeners;
1: - unsigned int flags;
1: - unsigned int groups;
1: - struct mutex *cb_mutex;
1: - struct module *module;
1: - int (*bind)(struct net *, int);
1: - void (*unbind)(struct net *, int);
1: - bool (*compare)(struct net *, struct sock *);
1: - int registered;
1: + struct rhashtable hash;
1: + struct hlist_head mc_list;
1: + struct listeners *listeners;
1: + unsigned int flags;
1: + unsigned int groups;
1: + struct mutex *cb_mutex;
1: + struct module *module;
1: + int (*bind)(struct net *, int);
1: + void (*unbind)(struct net *, int);
1: + bool (*compare)(struct net *, struct sock *);
1: + int registered;
1: };
1:
1: struct listeners {
1: - struct callback_head rcu;
1: - long unsigned int masks[0];
1: + struct callback_head rcu;
1: + long unsigned int masks[0];
1: };
1:
1: struct netlink_tap_net {
1: - struct list_head netlink_tap_all;
1: - struct mutex netlink_tap_lock;
1: + struct list_head netlink_tap_all;
1: + struct mutex netlink_tap_lock;
1: };
1:
1: struct netlink_compare_arg {
1: - possible_net_t pnet;
1: - u32 portid;
1: + possible_net_t pnet;
1: + u32 portid;
1: };
1:
1: struct netlink_broadcast_data {
1: - struct sock *exclude_sk;
1: - struct net *net;
1: - u32 portid;
1: - u32 group;
1: - int failure;
1: - int delivery_failure;
1: - int congested;
1: - int delivered;
1: - gfp_t allocation;
1: - struct sk_buff *skb;
1: - struct sk_buff *skb2;
1: - int (*tx_filter)(struct sock *, struct sk_buff *, void *);
1: - void *tx_data;
1: + struct sock *exclude_sk;
1: + struct net *net;
1: + u32 portid;
1: + u32 group;
1: + int failure;
1: + int delivery_failure;
1: + int congested;
1: + int delivered;
1: + gfp_t allocation;
1: + struct sk_buff *skb;
1: + struct sk_buff *skb2;
1: + int (*tx_filter)(struct sock *, struct sk_buff *, void *);
1: + void *tx_data;
1: };
1:
1: struct netlink_set_err_data {
1: - struct sock *exclude_sk;
1: - u32 portid;
1: - u32 group;
1: - int code;
1: + struct sock *exclude_sk;
1: + u32 portid;
1: + u32 group;
1: + int code;
1: };
1:
1: struct nl_seq_iter {
1: - struct seq_net_private p;
1: - struct rhashtable_iter hti;
1: - int link;
1: + struct seq_net_private p;
1: + struct rhashtable_iter hti;
1: + int link;
1: };
1:
1: enum {
1: - CTRL_CMD_UNSPEC = 0,
1: - CTRL_CMD_NEWFAMILY = 1,
1: - CTRL_CMD_DELFAMILY = 2,
1: - CTRL_CMD_GETFAMILY = 3,
1: - CTRL_CMD_NEWOPS = 4,
1: - CTRL_CMD_DELOPS = 5,
1: - CTRL_CMD_GETOPS = 6,
1: - CTRL_CMD_NEWMCAST_GRP = 7,
1: - CTRL_CMD_DELMCAST_GRP = 8,
1: - CTRL_CMD_GETMCAST_GRP = 9,
1: - __CTRL_CMD_MAX = 10,
1: + CTRL_CMD_UNSPEC = 0,
1: + CTRL_CMD_NEWFAMILY = 1,
1: + CTRL_CMD_DELFAMILY = 2,
1: + CTRL_CMD_GETFAMILY = 3,
1: + CTRL_CMD_NEWOPS = 4,
1: + CTRL_CMD_DELOPS = 5,
1: + CTRL_CMD_GETOPS = 6,
1: + CTRL_CMD_NEWMCAST_GRP = 7,
1: + CTRL_CMD_DELMCAST_GRP = 8,
1: + CTRL_CMD_GETMCAST_GRP = 9,
1: + __CTRL_CMD_MAX = 10,
1: };
1:
1: enum {
1: - CTRL_ATTR_UNSPEC = 0,
1: - CTRL_ATTR_FAMILY_ID = 1,
1: - CTRL_ATTR_FAMILY_NAME = 2,
1: - CTRL_ATTR_VERSION = 3,
1: - CTRL_ATTR_HDRSIZE = 4,
1: - CTRL_ATTR_MAXATTR = 5,
1: - CTRL_ATTR_OPS = 6,
1: - CTRL_ATTR_MCAST_GROUPS = 7,
1: - __CTRL_ATTR_MAX = 8,
1: + CTRL_ATTR_UNSPEC = 0,
1: + CTRL_ATTR_FAMILY_ID = 1,
1: + CTRL_ATTR_FAMILY_NAME = 2,
1: + CTRL_ATTR_VERSION = 3,
1: + CTRL_ATTR_HDRSIZE = 4,
1: + CTRL_ATTR_MAXATTR = 5,
1: + CTRL_ATTR_OPS = 6,
1: + CTRL_ATTR_MCAST_GROUPS = 7,
1: + __CTRL_ATTR_MAX = 8,
1: };
1:
1: enum {
1: - CTRL_ATTR_OP_UNSPEC = 0,
1: - CTRL_ATTR_OP_ID = 1,
1: - CTRL_ATTR_OP_FLAGS = 2,
1: - __CTRL_ATTR_OP_MAX = 3,
1: + CTRL_ATTR_OP_UNSPEC = 0,
1: + CTRL_ATTR_OP_ID = 1,
1: + CTRL_ATTR_OP_FLAGS = 2,
1: + __CTRL_ATTR_OP_MAX = 3,
1: };
1:
1: enum {
1: - CTRL_ATTR_MCAST_GRP_UNSPEC = 0,
1: - CTRL_ATTR_MCAST_GRP_NAME = 1,
1: - CTRL_ATTR_MCAST_GRP_ID = 2,
1: - __CTRL_ATTR_MCAST_GRP_MAX = 3,
1: + CTRL_ATTR_MCAST_GRP_UNSPEC = 0,
1: + CTRL_ATTR_MCAST_GRP_NAME = 1,
1: + CTRL_ATTR_MCAST_GRP_ID = 2,
1: + __CTRL_ATTR_MCAST_GRP_MAX = 3,
1: };
1:
1: struct genl_dumpit_info {
1: - const struct genl_family *family;
1: - const struct genl_ops *ops;
1: - struct nlattr **attrs;
1: + const struct genl_family *family;
1: + const struct genl_ops *ops;
1: + struct nlattr **attrs;
1: };
1:
1: struct nf_hook_entries_rcu_head {
1: - struct callback_head head;
1: - void *allocation;
1: + struct callback_head head;
1: + void *allocation;
1: };
1:
1: struct nf_ct_hook {
1: - int (*update)(struct net *, struct sk_buff *);
1: - void (*destroy)(struct nf_conntrack *);
1: - bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *);
1: + int (*update)(struct net *, struct sk_buff *);
1: + void (*destroy)(struct nf_conntrack *);
1: + bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *);
1: };
1:
1: struct nfnl_ct_hook {
1: - struct nf_conn * (*get_ct)(const struct sk_buff *, enum ip_conntrack_info *);
1: - size_t (*build_size)(const struct nf_conn *);
1: - int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t);
1: - int (*parse)(const struct nlattr *, struct nf_conn *);
1: - int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32);
1: - void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32);
1: + struct nf_conn *(*get_ct)(const struct sk_buff *, enum ip_conntrack_info *);
1: + size_t (*build_size)(const struct nf_conn *);
1: + int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info,
1: + u_int16_t, u_int16_t);
1: + int (*parse)(const struct nlattr *, struct nf_conn *);
1: + int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32);
1: + void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info,
1: + s32);
1: };
1:
1: struct nf_loginfo {
1: - u_int8_t type;
1: - union {
1: - struct {
1: - u_int32_t copy_len;
1: - u_int16_t group;
1: - u_int16_t qthreshold;
1: - u_int16_t flags;
1: - } ulog;
1: - struct {
1: - u_int8_t level;
1: - u_int8_t logflags;
1: - } log;
1: - } u;
1: + u_int8_t type;
1: + union {
1: + struct {
1: + u_int32_t copy_len;
1: + u_int16_t group;
1: + u_int16_t qthreshold;
1: + u_int16_t flags;
1: + } ulog;
1: + struct {
1: + u_int8_t level;
1: + u_int8_t logflags;
1: + } log;
1: + } u;
1: };
1:
1: struct nf_log_buf {
1: - unsigned int count;
1: - char buf[1020];
1: + unsigned int count;
1: + char buf[1020];
1: };
1:
1: struct ip_rt_info {
1: - __be32 daddr;
1: - __be32 saddr;
1: - u_int8_t tos;
1: - u_int32_t mark;
1: + __be32 daddr;
1: + __be32 saddr;
1: + u_int8_t tos;
1: + u_int32_t mark;
1: };
1:
1: struct ip6_rt_info {
1: - struct in6_addr daddr;
1: - struct in6_addr saddr;
1: - u_int32_t mark;
1: + struct in6_addr daddr;
1: + struct in6_addr saddr;
1: + u_int32_t mark;
1: };
1:
1: struct nf_sockopt_ops {
1: - struct list_head list;
1: - u_int8_t pf;
1: - int set_optmin;
1: - int set_optmax;
1: - int (*set)(struct sock *, int, void *, unsigned int);
1: - int (*compat_set)(struct sock *, int, void *, unsigned int);
1: - int get_optmin;
1: - int get_optmax;
1: - int (*get)(struct sock *, int, void *, int *);
1: - int (*compat_get)(struct sock *, int, void *, int *);
1: - struct module *owner;
1: + struct list_head list;
1: + u_int8_t pf;
1: + int set_optmin;
1: + int set_optmax;
1: + int (*set)(struct sock *, int, void *, unsigned int);
1: + int (*compat_set)(struct sock *, int, void *, unsigned int);
1: + int get_optmin;
1: + int get_optmax;
1: + int (*get)(struct sock *, int, void *, int *);
1: + int (*compat_get)(struct sock *, int, void *, int *);
1: + struct module *owner;
1: };
1:
1: enum nfnetlink_groups {
1: - NFNLGRP_NONE = 0,
1: - NFNLGRP_CONNTRACK_NEW = 1,
1: - NFNLGRP_CONNTRACK_UPDATE = 2,
1: - NFNLGRP_CONNTRACK_DESTROY = 3,
1: - NFNLGRP_CONNTRACK_EXP_NEW = 4,
1: - NFNLGRP_CONNTRACK_EXP_UPDATE = 5,
1: - NFNLGRP_CONNTRACK_EXP_DESTROY = 6,
1: - NFNLGRP_NFTABLES = 7,
1: - NFNLGRP_ACCT_QUOTA = 8,
1: - NFNLGRP_NFTRACE = 9,
1: - __NFNLGRP_MAX = 10,
1: + NFNLGRP_NONE = 0,
1: + NFNLGRP_CONNTRACK_NEW = 1,
1: + NFNLGRP_CONNTRACK_UPDATE = 2,
1: + NFNLGRP_CONNTRACK_DESTROY = 3,
1: + NFNLGRP_CONNTRACK_EXP_NEW = 4,
1: + NFNLGRP_CONNTRACK_EXP_UPDATE = 5,
1: + NFNLGRP_CONNTRACK_EXP_DESTROY = 6,
1: + NFNLGRP_NFTABLES = 7,
1: + NFNLGRP_ACCT_QUOTA = 8,
1: + NFNLGRP_NFTRACE = 9,
1: + __NFNLGRP_MAX = 10,
1: };
1:
1: struct nfgenmsg {
1: - __u8 nfgen_family;
1: - __u8 version;
1: - __be16 res_id;
1: + __u8 nfgen_family;
1: + __u8 version;
1: + __be16 res_id;
1: };
1:
1: enum nfnl_batch_attributes {
1: - NFNL_BATCH_UNSPEC = 0,
1: - NFNL_BATCH_GENID = 1,
1: - __NFNL_BATCH_MAX = 2,
1: + NFNL_BATCH_UNSPEC = 0,
1: + NFNL_BATCH_GENID = 1,
1: + __NFNL_BATCH_MAX = 2,
1: };
1:
1: struct nfnl_callback {
1: - int (*call)(struct net *, struct sock *, struct sk_buff *, const struct nlmsghdr *, const struct nlattr * const *, struct netlink_ext_ack *);
1: - int (*call_rcu)(struct net *, struct sock *, struct sk_buff *, const struct nlmsghdr *, const struct nlattr * const *, struct netlink_ext_ack *);
1: - int (*call_batch)(struct net *, struct sock *, struct sk_buff *, const struct nlmsghdr *, const struct nlattr * const *, struct netlink_ext_ack *);
1: - const struct nla_policy *policy;
1: - const u_int16_t attr_count;
1: + int (*call)(struct net *, struct sock *, struct sk_buff *,
1: + const struct nlmsghdr *, const struct nlattr *const *,
1: + struct netlink_ext_ack *);
1: + int (*call_rcu)(struct net *, struct sock *, struct sk_buff *,
1: + const struct nlmsghdr *, const struct nlattr *const *,
1: + struct netlink_ext_ack *);
1: + int (*call_batch)(struct net *, struct sock *, struct sk_buff *,
1: + const struct nlmsghdr *, const struct nlattr *const *,
1: + struct netlink_ext_ack *);
1: + const struct nla_policy *policy;
1: + const u_int16_t attr_count;
1: };
1:
1: struct nfnetlink_subsystem {
1: - const char *name;
1: - __u8 subsys_id;
1: - __u8 cb_count;
1: - const struct nfnl_callback *cb;
1: - struct module *owner;
1: - int (*commit)(struct net *, struct sk_buff *);
1: - int (*abort)(struct net *, struct sk_buff *, bool);
1: - void (*cleanup)(struct net *);
1: - bool (*valid_genid)(struct net *, u32);
1: + const char *name;
1: + __u8 subsys_id;
1: + __u8 cb_count;
1: + const struct nfnl_callback *cb;
1: + struct module *owner;
1: + int (*commit)(struct net *, struct sk_buff *);
1: + int (*abort)(struct net *, struct sk_buff *, bool);
1: + void (*cleanup)(struct net *);
1: + bool (*valid_genid)(struct net *, u32);
1: };
1:
1: struct nfnl_err {
1: - struct list_head head;
1: - struct nlmsghdr *nlh;
1: - int err;
1: - struct netlink_ext_ack extack;
1: + struct list_head head;
1: + struct nlmsghdr *nlh;
1: + int err;
1: + struct netlink_ext_ack extack;
1: };
1:
1: enum {
1: - NFNL_BATCH_FAILURE = 1,
1: - NFNL_BATCH_DONE = 2,
1: - NFNL_BATCH_REPLAY = 4,
1: + NFNL_BATCH_FAILURE = 1,
1: + NFNL_BATCH_DONE = 2,
1: + NFNL_BATCH_REPLAY = 4,
1: };
1:
1: enum nfulnl_msg_types {
1: - NFULNL_MSG_PACKET = 0,
1: - NFULNL_MSG_CONFIG = 1,
1: - NFULNL_MSG_MAX = 2,
1: + NFULNL_MSG_PACKET = 0,
1: + NFULNL_MSG_CONFIG = 1,
1: + NFULNL_MSG_MAX = 2,
1: };
1:
1: struct nfulnl_msg_packet_hdr {
1: - __be16 hw_protocol;
1: - __u8 hook;
1: - __u8 _pad;
1: + __be16 hw_protocol;
1: + __u8 hook;
1: + __u8 _pad;
1: };
1:
1: struct nfulnl_msg_packet_hw {
1: - __be16 hw_addrlen;
1: - __u16 _pad;
1: - __u8 hw_addr[8];
1: + __be16 hw_addrlen;
1: + __u16 _pad;
1: + __u8 hw_addr[8];
1: };
1:
1: struct nfulnl_msg_packet_timestamp {
1: - __be64 sec;
1: - __be64 usec;
1: + __be64 sec;
1: + __be64 usec;
1: };
1:
1: enum nfulnl_vlan_attr {
1: - NFULA_VLAN_UNSPEC = 0,
1: - NFULA_VLAN_PROTO = 1,
1: - NFULA_VLAN_TCI = 2,
1: - __NFULA_VLAN_MAX = 3,
1: + NFULA_VLAN_UNSPEC = 0,
1: + NFULA_VLAN_PROTO = 1,
1: + NFULA_VLAN_TCI = 2,
1: + __NFULA_VLAN_MAX = 3,
1: };
1:
1: enum nfulnl_attr_type {
1: - NFULA_UNSPEC = 0,
1: - NFULA_PACKET_HDR = 1,
1: - NFULA_MARK = 2,
1: - NFULA_TIMESTAMP = 3,
1: - NFULA_IFINDEX_INDEV = 4,
1: - NFULA_IFINDEX_OUTDEV = 5,
1: - NFULA_IFINDEX_PHYSINDEV = 6,
1: - NFULA_IFINDEX_PHYSOUTDEV = 7,
1: - NFULA_HWADDR = 8,
1: - NFULA_PAYLOAD = 9,
1: - NFULA_PREFIX = 10,
1: - NFULA_UID = 11,
1: - NFULA_SEQ = 12,
1: - NFULA_SEQ_GLOBAL = 13,
1: - NFULA_GID = 14,
1: - NFULA_HWTYPE = 15,
1: - NFULA_HWHEADER = 16,
1: - NFULA_HWLEN = 17,
1: - NFULA_CT = 18,
1: - NFULA_CT_INFO = 19,
1: - NFULA_VLAN = 20,
1: - NFULA_L2HDR = 21,
1: - __NFULA_MAX = 22,
1: + NFULA_UNSPEC = 0,
1: + NFULA_PACKET_HDR = 1,
1: + NFULA_MARK = 2,
1: + NFULA_TIMESTAMP = 3,
1: + NFULA_IFINDEX_INDEV = 4,
1: + NFULA_IFINDEX_OUTDEV = 5,
1: + NFULA_IFINDEX_PHYSINDEV = 6,
1: + NFULA_IFINDEX_PHYSOUTDEV = 7,
1: + NFULA_HWADDR = 8,
1: + NFULA_PAYLOAD = 9,
1: + NFULA_PREFIX = 10,
1: + NFULA_UID = 11,
1: + NFULA_SEQ = 12,
1: + NFULA_SEQ_GLOBAL = 13,
1: + NFULA_GID = 14,
1: + NFULA_HWTYPE = 15,
1: + NFULA_HWHEADER = 16,
1: + NFULA_HWLEN = 17,
1: + NFULA_CT = 18,
1: + NFULA_CT_INFO = 19,
1: + NFULA_VLAN = 20,
1: + NFULA_L2HDR = 21,
1: + __NFULA_MAX = 22,
1: };
1:
1: enum nfulnl_msg_config_cmds {
1: - NFULNL_CFG_CMD_NONE = 0,
1: - NFULNL_CFG_CMD_BIND = 1,
1: - NFULNL_CFG_CMD_UNBIND = 2,
1: - NFULNL_CFG_CMD_PF_BIND = 3,
1: - NFULNL_CFG_CMD_PF_UNBIND = 4,
1: + NFULNL_CFG_CMD_NONE = 0,
1: + NFULNL_CFG_CMD_BIND = 1,
1: + NFULNL_CFG_CMD_UNBIND = 2,
1: + NFULNL_CFG_CMD_PF_BIND = 3,
1: + NFULNL_CFG_CMD_PF_UNBIND = 4,
1: };
1:
1: struct nfulnl_msg_config_cmd {
1: - __u8 command;
1: + __u8 command;
1: };
1:
1: struct nfulnl_msg_config_mode {
1: - __be32 copy_range;
1: - __u8 copy_mode;
1: - __u8 _pad;
1: + __be32 copy_range;
1: + __u8 copy_mode;
1: + __u8 _pad;
1: } __attribute__((packed));
1:
1: enum nfulnl_attr_config {
1: - NFULA_CFG_UNSPEC = 0,
1: - NFULA_CFG_CMD = 1,
1: - NFULA_CFG_MODE = 2,
1: - NFULA_CFG_NLBUFSIZ = 3,
1: - NFULA_CFG_TIMEOUT = 4,
1: - NFULA_CFG_QTHRESH = 5,
1: - NFULA_CFG_FLAGS = 6,
1: - __NFULA_CFG_MAX = 7,
1: + NFULA_CFG_UNSPEC = 0,
1: + NFULA_CFG_CMD = 1,
1: + NFULA_CFG_MODE = 2,
1: + NFULA_CFG_NLBUFSIZ = 3,
1: + NFULA_CFG_TIMEOUT = 4,
1: + NFULA_CFG_QTHRESH = 5,
1: + NFULA_CFG_FLAGS = 6,
1: + __NFULA_CFG_MAX = 7,
1: };
1:
1: struct nfulnl_instance {
1: - struct hlist_node hlist;
1: - spinlock_t lock;
1: - refcount_t use;
1: - unsigned int qlen;
1: - struct sk_buff *skb;
1: - struct timer_list timer;
1: - struct net *net;
1: - struct user_namespace *peer_user_ns;
1: - u32 peer_portid;
1: - unsigned int flushtimeout;
1: - unsigned int nlbufsiz;
1: - unsigned int qthreshold;
1: - u_int32_t copy_range;
1: - u_int32_t seq;
1: - u_int16_t group_num;
1: - u_int16_t flags;
1: - u_int8_t copy_mode;
1: - struct callback_head rcu;
1: + struct hlist_node hlist;
1: + spinlock_t lock;
1: + refcount_t use;
1: + unsigned int qlen;
1: + struct sk_buff *skb;
1: + struct timer_list timer;
1: + struct net *net;
1: + struct user_namespace *peer_user_ns;
1: + u32 peer_portid;
1: + unsigned int flushtimeout;
1: + unsigned int nlbufsiz;
1: + unsigned int qthreshold;
1: + u_int32_t copy_range;
1: + u_int32_t seq;
1: + u_int16_t group_num;
1: + u_int16_t flags;
1: + u_int8_t copy_mode;
1: + struct callback_head rcu;
1: };
1:
1: struct nfnl_log_net {
1: - spinlock_t instances_lock;
1: - struct hlist_head instance_table[16];
1: - atomic_t global_seq;
1: + spinlock_t instances_lock;
1: + struct hlist_head instance_table[16];
1: + atomic_t global_seq;
1: };
1:
1: struct iter_state {
1: - struct seq_net_private p;
1: - unsigned int bucket;
1: + struct seq_net_private p;
1: + unsigned int bucket;
1: };
1:
1: enum ip_conntrack_status {
1: - IPS_EXPECTED_BIT = 0,
1: - IPS_EXPECTED = 1,
1: - IPS_SEEN_REPLY_BIT = 1,
1: - IPS_SEEN_REPLY = 2,
1: - IPS_ASSURED_BIT = 2,
1: - IPS_ASSURED = 4,
1: - IPS_CONFIRMED_BIT = 3,
1: - IPS_CONFIRMED = 8,
1: - IPS_SRC_NAT_BIT = 4,
1: - IPS_SRC_NAT = 16,
1: - IPS_DST_NAT_BIT = 5,
1: - IPS_DST_NAT = 32,
1: - IPS_NAT_MASK = 48,
1: - IPS_SEQ_ADJUST_BIT = 6,
1: - IPS_SEQ_ADJUST = 64,
1: - IPS_SRC_NAT_DONE_BIT = 7,
1: - IPS_SRC_NAT_DONE = 128,
1: - IPS_DST_NAT_DONE_BIT = 8,
1: - IPS_DST_NAT_DONE = 256,
1: - IPS_NAT_DONE_MASK = 384,
1: - IPS_DYING_BIT = 9,
1: - IPS_DYING = 512,
1: - IPS_FIXED_TIMEOUT_BIT = 10,
1: - IPS_FIXED_TIMEOUT = 1024,
1: - IPS_TEMPLATE_BIT = 11,
1: - IPS_TEMPLATE = 2048,
1: - IPS_UNTRACKED_BIT = 12,
1: - IPS_UNTRACKED = 4096,
1: - IPS_HELPER_BIT = 13,
1: - IPS_HELPER = 8192,
1: - IPS_OFFLOAD_BIT = 14,
1: - IPS_OFFLOAD = 16384,
1: - IPS_UNCHANGEABLE_MASK = 19449,
1: - __IPS_MAX_BIT = 15,
1: + IPS_EXPECTED_BIT = 0,
1: + IPS_EXPECTED = 1,
1: + IPS_SEEN_REPLY_BIT = 1,
1: + IPS_SEEN_REPLY = 2,
1: + IPS_ASSURED_BIT = 2,
1: + IPS_ASSURED = 4,
1: + IPS_CONFIRMED_BIT = 3,
1: + IPS_CONFIRMED = 8,
1: + IPS_SRC_NAT_BIT = 4,
1: + IPS_SRC_NAT = 16,
1: + IPS_DST_NAT_BIT = 5,
1: + IPS_DST_NAT = 32,
1: + IPS_NAT_MASK = 48,
1: + IPS_SEQ_ADJUST_BIT = 6,
1: + IPS_SEQ_ADJUST = 64,
1: + IPS_SRC_NAT_DONE_BIT = 7,
1: + IPS_SRC_NAT_DONE = 128,
1: + IPS_DST_NAT_DONE_BIT = 8,
1: + IPS_DST_NAT_DONE = 256,
1: + IPS_NAT_DONE_MASK = 384,
1: + IPS_DYING_BIT = 9,
1: + IPS_DYING = 512,
1: + IPS_FIXED_TIMEOUT_BIT = 10,
1: + IPS_FIXED_TIMEOUT = 1024,
1: + IPS_TEMPLATE_BIT = 11,
1: + IPS_TEMPLATE = 2048,
1: + IPS_UNTRACKED_BIT = 12,
1: + IPS_UNTRACKED = 4096,
1: + IPS_HELPER_BIT = 13,
1: + IPS_HELPER = 8192,
1: + IPS_OFFLOAD_BIT = 14,
1: + IPS_OFFLOAD = 16384,
1: + IPS_UNCHANGEABLE_MASK = 19449,
1: + __IPS_MAX_BIT = 15,
1: };
1:
1: enum ip_conntrack_events {
1: - IPCT_NEW = 0,
1: - IPCT_RELATED = 1,
1: - IPCT_DESTROY = 2,
1: - IPCT_REPLY = 3,
1: - IPCT_ASSURED = 4,
1: - IPCT_PROTOINFO = 5,
1: - IPCT_HELPER = 6,
1: - IPCT_MARK = 7,
1: - IPCT_SEQADJ = 8,
1: - IPCT_NATSEQADJ = 8,
1: - IPCT_SECMARK = 9,
1: - IPCT_LABEL = 10,
1: - IPCT_SYNPROXY = 11,
1: - __IPCT_MAX = 12,
1: + IPCT_NEW = 0,
1: + IPCT_RELATED = 1,
1: + IPCT_DESTROY = 2,
1: + IPCT_REPLY = 3,
1: + IPCT_ASSURED = 4,
1: + IPCT_PROTOINFO = 5,
1: + IPCT_HELPER = 6,
1: + IPCT_MARK = 7,
1: + IPCT_SEQADJ = 8,
1: + IPCT_NATSEQADJ = 8,
1: + IPCT_SECMARK = 9,
1: + IPCT_LABEL = 10,
1: + IPCT_SYNPROXY = 11,
1: + __IPCT_MAX = 12,
1: };
1:
1: struct nf_conntrack_tuple_mask {
1: - struct {
1: - union nf_inet_addr u3;
1: - union nf_conntrack_man_proto u;
1: - } src;
1: + struct {
1: + union nf_inet_addr u3;
1: + union nf_conntrack_man_proto u;
1: + } src;
1: };
1:
1: struct nf_conntrack_l4proto {
1: - u_int8_t l4proto;
1: - bool allow_clash;
1: - u16 nlattr_size;
1: - bool (*can_early_drop)(const struct nf_conn *);
1: - int (*to_nlattr)(struct sk_buff *, struct nlattr *, struct nf_conn *);
1: - int (*from_nlattr)(struct nlattr **, struct nf_conn *);
1: - int (*tuple_to_nlattr)(struct sk_buff *, const struct nf_conntrack_tuple *);
1: - unsigned int (*nlattr_tuple_size)();
1: - int (*nlattr_to_tuple)(struct nlattr **, struct nf_conntrack_tuple *);
1: - const struct nla_policy *nla_policy;
1: - struct {
1: - int (*nlattr_to_obj)(struct nlattr **, struct net *, void *);
1: - int (*obj_to_nlattr)(struct sk_buff *, const void *);
1: - u16 obj_size;
1: - u16 nlattr_max;
1: - const struct nla_policy *nla_policy;
1: - } ctnl_timeout;
1: - void (*print_conntrack)(struct seq_file *, struct nf_conn *);
1: + u_int8_t l4proto;
1: + bool allow_clash;
1: + u16 nlattr_size;
1: + bool (*can_early_drop)(const struct nf_conn *);
1: + int (*to_nlattr)(struct sk_buff *, struct nlattr *, struct nf_conn *);
1: + int (*from_nlattr)(struct nlattr **, struct nf_conn *);
1: + int (*tuple_to_nlattr)(struct sk_buff *, const struct nf_conntrack_tuple *);
1: + unsigned int (*nlattr_tuple_size)();
1: + int (*nlattr_to_tuple)(struct nlattr **, struct nf_conntrack_tuple *);
1: + const struct nla_policy *nla_policy;
1: + struct {
1: + int (*nlattr_to_obj)(struct nlattr **, struct net *, void *);
1: + int (*obj_to_nlattr)(struct sk_buff *, const void *);
1: + u16 obj_size;
1: + u16 nlattr_max;
1: + const struct nla_policy *nla_policy;
1: + } ctnl_timeout;
1: + void (*print_conntrack)(struct seq_file *, struct nf_conn *);
1: };
1:
1: struct nf_conntrack_helper;
1:
1: struct nf_conntrack_expect {
1: - struct hlist_node lnode;
1: - struct hlist_node hnode;
1: - struct nf_conntrack_tuple tuple;
1: - struct nf_conntrack_tuple_mask mask;
1: - void (*expectfn)(struct nf_conn *, struct nf_conntrack_expect *);
1: - struct nf_conntrack_helper *helper;
1: - struct nf_conn *master;
1: - struct timer_list timeout;
1: - refcount_t use;
1: - unsigned int flags;
1: - unsigned int class;
1: - union nf_inet_addr saved_addr;
1: - union nf_conntrack_man_proto saved_proto;
1: - enum ip_conntrack_dir dir;
1: - struct callback_head rcu;
1: + struct hlist_node lnode;
1: + struct hlist_node hnode;
1: + struct nf_conntrack_tuple tuple;
1: + struct nf_conntrack_tuple_mask mask;
1: + void (*expectfn)(struct nf_conn *, struct nf_conntrack_expect *);
1: + struct nf_conntrack_helper *helper;
1: + struct nf_conn *master;
1: + struct timer_list timeout;
1: + refcount_t use;
1: + unsigned int flags;
1: + unsigned int class;
1: + union nf_inet_addr saved_addr;
1: + union nf_conntrack_man_proto saved_proto;
1: + enum ip_conntrack_dir dir;
1: + struct callback_head rcu;
1: };
1:
1: struct nf_conntrack_expect_policy;
1:
1: struct nf_conntrack_helper {
1: - struct hlist_node hnode;
1: - char name[16];
1: - refcount_t refcnt;
1: - struct module *me;
1: - const struct nf_conntrack_expect_policy *expect_policy;
1: - struct nf_conntrack_tuple tuple;
1: - int (*help)(struct sk_buff *, unsigned int, struct nf_conn *, enum ip_conntrack_info);
1: - void (*destroy)(struct nf_conn *);
1: - int (*from_nlattr)(struct nlattr *, struct nf_conn *);
1: - int (*to_nlattr)(struct sk_buff *, const struct nf_conn *);
1: - unsigned int expect_class_max;
1: - unsigned int flags;
1: - unsigned int queue_num;
1: - u16 data_len;
1: - char nat_mod_name[16];
1: + struct hlist_node hnode;
1: + char name[16];
1: + refcount_t refcnt;
1: + struct module *me;
1: + const struct nf_conntrack_expect_policy *expect_policy;
1: + struct nf_conntrack_tuple tuple;
1: + int (*help)(struct sk_buff *, unsigned int, struct nf_conn *,
1: + enum ip_conntrack_info);
1: + void (*destroy)(struct nf_conn *);
1: + int (*from_nlattr)(struct nlattr *, struct nf_conn *);
1: + int (*to_nlattr)(struct sk_buff *, const struct nf_conn *);
1: + unsigned int expect_class_max;
1: + unsigned int flags;
1: + unsigned int queue_num;
1: + u16 data_len;
1: + char nat_mod_name[16];
1: };
1:
1: struct nf_conntrack_expect_policy {
1: - unsigned int max_expected;
1: - unsigned int timeout;
1: - char name[16];
1: + unsigned int max_expected;
1: + unsigned int timeout;
1: + char name[16];
1: };
1:
1: struct nf_conn_help {
1: - struct nf_conntrack_helper *helper;
1: - struct hlist_head expectations;
1: - u8 expecting[4];
1: - int: 32;
1: - char data[32];
1: + struct nf_conntrack_helper *helper;
1: + struct hlist_head expectations;
1: + u8 expecting[4];
1: + int : 32;
1: + char data[32];
1: };
1:
1: enum nf_ct_ecache_state {
1: - NFCT_ECACHE_UNKNOWN = 0,
1: - NFCT_ECACHE_DESTROY_FAIL = 1,
1: - NFCT_ECACHE_DESTROY_SENT = 2,
1: + NFCT_ECACHE_UNKNOWN = 0,
1: + NFCT_ECACHE_DESTROY_FAIL = 1,
1: + NFCT_ECACHE_DESTROY_SENT = 2,
1: };
1:
1: struct nf_conntrack_ecache {
1: - long unsigned int cache;
1: - u16 missed;
1: - u16 ctmask;
1: - u16 expmask;
1: - enum nf_ct_ecache_state state: 8;
1: - u32 portid;
1: + long unsigned int cache;
1: + u16 missed;
1: + u16 ctmask;
1: + u16 expmask;
1: + enum nf_ct_ecache_state state : 8;
1: + u32 portid;
1: };
1:
1: struct nf_conn_counter {
1: - atomic64_t packets;
1: - atomic64_t bytes;
1: + atomic64_t packets;
1: + atomic64_t bytes;
1: };
1:
1: struct nf_conn_acct {
1: - struct nf_conn_counter counter[2];
1: + struct nf_conn_counter counter[2];
1: };
1:
1: struct nf_conn_tstamp {
1: - u_int64_t start;
1: - u_int64_t stop;
1: + u_int64_t start;
1: + u_int64_t stop;
1: };
1:
1: struct nf_ct_timeout {
1: - __u16 l3num;
1: - const struct nf_conntrack_l4proto *l4proto;
1: - char data[0];
1: + __u16 l3num;
1: + const struct nf_conntrack_l4proto *l4proto;
1: + char data[0];
1: };
1:
1: struct nf_conn_timeout {
1: - struct nf_ct_timeout *timeout;
1: + struct nf_ct_timeout *timeout;
1: };
1:
1: struct conntrack_gc_work {
1: - struct delayed_work dwork;
1: - u32 last_bucket;
1: - bool exiting;
1: - bool early_drop;
1: - long int next_gc_run;
1: + struct delayed_work dwork;
1: + u32 last_bucket;
1: + bool exiting;
1: + bool early_drop;
1: + long int next_gc_run;
1: };
1:
1: enum ctattr_l4proto {
1: - CTA_PROTO_UNSPEC = 0,
1: - CTA_PROTO_NUM = 1,
1: - CTA_PROTO_SRC_PORT = 2,
1: - CTA_PROTO_DST_PORT = 3,
1: - CTA_PROTO_ICMP_ID = 4,
1: - CTA_PROTO_ICMP_TYPE = 5,
1: - CTA_PROTO_ICMP_CODE = 6,
1: - CTA_PROTO_ICMPV6_ID = 7,
1: - CTA_PROTO_ICMPV6_TYPE = 8,
1: - CTA_PROTO_ICMPV6_CODE = 9,
1: - __CTA_PROTO_MAX = 10,
1: + CTA_PROTO_UNSPEC = 0,
1: + CTA_PROTO_NUM = 1,
1: + CTA_PROTO_SRC_PORT = 2,
1: + CTA_PROTO_DST_PORT = 3,
1: + CTA_PROTO_ICMP_ID = 4,
1: + CTA_PROTO_ICMP_TYPE = 5,
1: + CTA_PROTO_ICMP_CODE = 6,
1: + CTA_PROTO_ICMPV6_ID = 7,
1: + CTA_PROTO_ICMPV6_TYPE = 8,
1: + CTA_PROTO_ICMPV6_CODE = 9,
1: + __CTA_PROTO_MAX = 10,
1: };
1:
1: struct iter_data {
1: - int (*iter)(struct nf_conn *, void *);
1: - void *data;
1: - struct net *net;
1: + int (*iter)(struct nf_conn *, void *);
1: + void *data;
1: + struct net *net;
1: };
1:
1: struct ct_iter_state {
1: - struct seq_net_private p;
1: - struct hlist_nulls_head *hash;
1: - unsigned int htable_size;
1: - unsigned int bucket;
1: - u_int64_t time_now;
1: + struct seq_net_private p;
1: + struct hlist_nulls_head *hash;
1: + unsigned int htable_size;
1: + unsigned int bucket;
1: + u_int64_t time_now;
1: };
1:
1: enum nf_ct_sysctl_index {
1: - NF_SYSCTL_CT_MAX = 0,
1: - NF_SYSCTL_CT_COUNT = 1,
1: - NF_SYSCTL_CT_BUCKETS = 2,
1: - NF_SYSCTL_CT_CHECKSUM = 3,
1: - NF_SYSCTL_CT_LOG_INVALID = 4,
1: - NF_SYSCTL_CT_EXPECT_MAX = 5,
1: - NF_SYSCTL_CT_ACCT = 6,
1: - NF_SYSCTL_CT_HELPER = 7,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_GENERIC = 8,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_SYN_SENT = 9,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_SYN_RECV = 10,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_ESTABLISHED = 11,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_FIN_WAIT = 12,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_CLOSE_WAIT = 13,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_LAST_ACK = 14,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_TIME_WAIT = 15,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_CLOSE = 16,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_RETRANS = 17,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_UNACK = 18,
1: - NF_SYSCTL_CT_PROTO_TCP_LOOSE = 19,
1: - NF_SYSCTL_CT_PROTO_TCP_LIBERAL = 20,
1: - NF_SYSCTL_CT_PROTO_TCP_MAX_RETRANS = 21,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_UDP = 22,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM = 23,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_ICMP = 24,
1: - NF_SYSCTL_CT_PROTO_TIMEOUT_ICMPV6 = 25,
1: - __NF_SYSCTL_CT_LAST_SYSCTL = 26,
1: + NF_SYSCTL_CT_MAX = 0,
1: + NF_SYSCTL_CT_COUNT = 1,
1: + NF_SYSCTL_CT_BUCKETS = 2,
1: + NF_SYSCTL_CT_CHECKSUM = 3,
1: + NF_SYSCTL_CT_LOG_INVALID = 4,
1: + NF_SYSCTL_CT_EXPECT_MAX = 5,
1: + NF_SYSCTL_CT_ACCT = 6,
1: + NF_SYSCTL_CT_HELPER = 7,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_GENERIC = 8,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_SYN_SENT = 9,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_SYN_RECV = 10,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_ESTABLISHED = 11,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_FIN_WAIT = 12,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_CLOSE_WAIT = 13,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_LAST_ACK = 14,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_TIME_WAIT = 15,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_CLOSE = 16,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_RETRANS = 17,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_TCP_UNACK = 18,
1: + NF_SYSCTL_CT_PROTO_TCP_LOOSE = 19,
1: + NF_SYSCTL_CT_PROTO_TCP_LIBERAL = 20,
1: + NF_SYSCTL_CT_PROTO_TCP_MAX_RETRANS = 21,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_UDP = 22,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM = 23,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_ICMP = 24,
1: + NF_SYSCTL_CT_PROTO_TIMEOUT_ICMPV6 = 25,
1: + __NF_SYSCTL_CT_LAST_SYSCTL = 26,
1: };
1:
1: enum ip_conntrack_expect_events {
1: - IPEXP_NEW = 0,
1: - IPEXP_DESTROY = 1,
1: + IPEXP_NEW = 0,
1: + IPEXP_DESTROY = 1,
1: };
1:
1: struct ct_expect_iter_state {
1: - struct seq_net_private p;
1: - unsigned int bucket;
1: + struct seq_net_private p;
1: + unsigned int bucket;
1: };
1:
1: struct nf_ct_ext_type {
1: - void (*destroy)(struct nf_conn *);
1: - enum nf_ct_ext_id id;
1: - u8 len;
1: - u8 align;
1: + void (*destroy)(struct nf_conn *);
1: + enum nf_ct_ext_id id;
1: + u8 len;
1: + u8 align;
1: };
1:
1: enum nf_ct_helper_flags {
1: - NF_CT_HELPER_F_USERSPACE = 1,
1: - NF_CT_HELPER_F_CONFIGURED = 2,
1: + NF_CT_HELPER_F_USERSPACE = 1,
1: + NF_CT_HELPER_F_CONFIGURED = 2,
1: };
1:
1: struct nf_ct_helper_expectfn {
1: - struct list_head head;
1: - const char *name;
1: - void (*expectfn)(struct nf_conn *, struct nf_conntrack_expect *);
1: + struct list_head head;
1: + const char *name;
1: + void (*expectfn)(struct nf_conn *, struct nf_conntrack_expect *);
1: };
1:
1: struct nf_conntrack_nat_helper {
1: - struct list_head list;
1: - char mod_name[16];
1: - struct module *module;
1: + struct list_head list;
1: + char mod_name[16];
1: + struct module *module;
1: };
1:
1: struct nf_conntrack_net {
1: - unsigned int users4;
1: - unsigned int users6;
1: - unsigned int users_bridge;
1: + unsigned int users4;
1: + unsigned int users6;
1: + unsigned int users_bridge;
1: };
1:
1: struct nf_ct_bridge_info {
1: - struct nf_hook_ops *ops;
1: - unsigned int ops_size;
1: - struct module *me;
1: + struct nf_hook_ops *ops;
1: + unsigned int ops_size;
1: + struct module *me;
1: };
1:
1: struct nf_ct_tcp_flags {
1: - __u8 flags;
1: - __u8 mask;
1: + __u8 flags;
1: + __u8 mask;
1: };
1:
1: enum {
1: - TCP_FLAG_CWR = 32768,
1: - TCP_FLAG_ECE = 16384,
1: - TCP_FLAG_URG = 8192,
1: - TCP_FLAG_ACK = 4096,
1: - TCP_FLAG_PSH = 2048,
1: - TCP_FLAG_RST = 1024,
1: - TCP_FLAG_SYN = 512,
1: - TCP_FLAG_FIN = 256,
1: - TCP_RESERVED_BITS = 15,
1: - TCP_DATA_OFFSET = 240,
1: + TCP_FLAG_CWR = 32768,
1: + TCP_FLAG_ECE = 16384,
1: + TCP_FLAG_URG = 8192,
1: + TCP_FLAG_ACK = 4096,
1: + TCP_FLAG_PSH = 2048,
1: + TCP_FLAG_RST = 1024,
1: + TCP_FLAG_SYN = 512,
1: + TCP_FLAG_FIN = 256,
1: + TCP_RESERVED_BITS = 15,
1: + TCP_DATA_OFFSET = 240,
1: };
1:
1: struct nf_conn_synproxy {
1: - u32 isn;
1: - u32 its;
1: - u32 tsoff;
1: + u32 isn;
1: + u32 its;
1: + u32 tsoff;
1: };
1:
1: enum tcp_bit_set {
1: - TCP_SYN_SET = 0,
1: - TCP_SYNACK_SET = 1,
1: - TCP_FIN_SET = 2,
1: - TCP_ACK_SET = 3,
1: - TCP_RST_SET = 4,
1: - TCP_NONE_SET = 5,
1: + TCP_SYN_SET = 0,
1: + TCP_SYNACK_SET = 1,
1: + TCP_FIN_SET = 2,
1: + TCP_ACK_SET = 3,
1: + TCP_RST_SET = 4,
1: + TCP_NONE_SET = 5,
1: };
1:
1: enum ctattr_protoinfo {
1: - CTA_PROTOINFO_UNSPEC = 0,
1: - CTA_PROTOINFO_TCP = 1,
1: - CTA_PROTOINFO_DCCP = 2,
1: - CTA_PROTOINFO_SCTP = 3,
1: - __CTA_PROTOINFO_MAX = 4,
1: + CTA_PROTOINFO_UNSPEC = 0,
1: + CTA_PROTOINFO_TCP = 1,
1: + CTA_PROTOINFO_DCCP = 2,
1: + CTA_PROTOINFO_SCTP = 3,
1: + __CTA_PROTOINFO_MAX = 4,
1: };
1:
1: enum ctattr_protoinfo_tcp {
1: - CTA_PROTOINFO_TCP_UNSPEC = 0,
1: - CTA_PROTOINFO_TCP_STATE = 1,
1: - CTA_PROTOINFO_TCP_WSCALE_ORIGINAL = 2,
1: - CTA_PROTOINFO_TCP_WSCALE_REPLY = 3,
1: - CTA_PROTOINFO_TCP_FLAGS_ORIGINAL = 4,
1: - CTA_PROTOINFO_TCP_FLAGS_REPLY = 5,
1: - __CTA_PROTOINFO_TCP_MAX = 6,
1: + CTA_PROTOINFO_TCP_UNSPEC = 0,
1: + CTA_PROTOINFO_TCP_STATE = 1,
1: + CTA_PROTOINFO_TCP_WSCALE_ORIGINAL = 2,
1: + CTA_PROTOINFO_TCP_WSCALE_REPLY = 3,
1: + CTA_PROTOINFO_TCP_FLAGS_ORIGINAL = 4,
1: + CTA_PROTOINFO_TCP_FLAGS_REPLY = 5,
1: + __CTA_PROTOINFO_TCP_MAX = 6,
1: };
1:
1: struct tcp_sack_block_wire {
1: - __be32 start_seq;
1: - __be32 end_seq;
1: + __be32 start_seq;
1: + __be32 end_seq;
1: };
1:
1: struct nf_ct_seqadj {
1: - u32 correction_pos;
1: - s32 offset_before;
1: - s32 offset_after;
1: + u32 correction_pos;
1: + s32 offset_before;
1: + s32 offset_after;
1: };
1:
1: struct nf_conn_seqadj {
1: - struct nf_ct_seqadj seq[2];
1: + struct nf_ct_seqadj seq[2];
1: };
1:
1: struct icmpv6_echo {
1: - __be16 identifier;
1: - __be16 sequence;
1: + __be16 identifier;
1: + __be16 sequence;
1: };
1:
1: struct icmpv6_nd_advt {
1: - __u32 reserved: 5;
1: - __u32 override: 1;
1: - __u32 solicited: 1;
1: - __u32 router: 1;
1: - __u32 reserved2: 24;
1: + __u32 reserved : 5;
1: + __u32 override : 1;
1: + __u32 solicited : 1;
1: + __u32 router : 1;
1: + __u32 reserved2 : 24;
1: };
1:
1: struct icmpv6_nd_ra {
1: - __u8 hop_limit;
1: - __u8 reserved: 3;
1: - __u8 router_pref: 2;
1: - __u8 home_agent: 1;
1: - __u8 other: 1;
1: - __u8 managed: 1;
1: - __be16 rt_lifetime;
1: + __u8 hop_limit;
1: + __u8 reserved : 3;
1: + __u8 router_pref : 2;
1: + __u8 home_agent : 1;
1: + __u8 other : 1;
1: + __u8 managed : 1;
1: + __be16 rt_lifetime;
1: };
1:
1: struct icmp6hdr {
1: - __u8 icmp6_type;
1: - __u8 icmp6_code;
1: - __sum16 icmp6_cksum;
1: - union {
1: - __be32 un_data32[1];
1: - __be16 un_data16[2];
1: - __u8 un_data8[4];
1: - struct icmpv6_echo u_echo;
1: - struct icmpv6_nd_advt u_nd_advt;
1: - struct icmpv6_nd_ra u_nd_ra;
1: - } icmp6_dataun;
1: + __u8 icmp6_type;
1: + __u8 icmp6_code;
1: + __sum16 icmp6_cksum;
1: + union {
1: + __be32 un_data32[1];
1: + __be16 un_data16[2];
1: + __u8 un_data8[4];
1: + struct icmpv6_echo u_echo;
1: + struct icmpv6_nd_advt u_nd_advt;
1: + struct icmpv6_nd_ra u_nd_ra;
1: + } icmp6_dataun;
1: };
1:
1: enum cntl_msg_types {
1: - IPCTNL_MSG_CT_NEW = 0,
1: - IPCTNL_MSG_CT_GET = 1,
1: - IPCTNL_MSG_CT_DELETE = 2,
1: - IPCTNL_MSG_CT_GET_CTRZERO = 3,
1: - IPCTNL_MSG_CT_GET_STATS_CPU = 4,
1: - IPCTNL_MSG_CT_GET_STATS = 5,
1: - IPCTNL_MSG_CT_GET_DYING = 6,
1: - IPCTNL_MSG_CT_GET_UNCONFIRMED = 7,
1: - IPCTNL_MSG_MAX = 8,
1: + IPCTNL_MSG_CT_NEW = 0,
1: + IPCTNL_MSG_CT_GET = 1,
1: + IPCTNL_MSG_CT_DELETE = 2,
1: + IPCTNL_MSG_CT_GET_CTRZERO = 3,
1: + IPCTNL_MSG_CT_GET_STATS_CPU = 4,
1: + IPCTNL_MSG_CT_GET_STATS = 5,
1: + IPCTNL_MSG_CT_GET_DYING = 6,
1: + IPCTNL_MSG_CT_GET_UNCONFIRMED = 7,
1: + IPCTNL_MSG_MAX = 8,
1: };
1:
1: enum ctnl_exp_msg_types {
1: - IPCTNL_MSG_EXP_NEW = 0,
1: - IPCTNL_MSG_EXP_GET = 1,
1: - IPCTNL_MSG_EXP_DELETE = 2,
1: - IPCTNL_MSG_EXP_GET_STATS_CPU = 3,
1: - IPCTNL_MSG_EXP_MAX = 4,
1: + IPCTNL_MSG_EXP_NEW = 0,
1: + IPCTNL_MSG_EXP_GET = 1,
1: + IPCTNL_MSG_EXP_DELETE = 2,
1: + IPCTNL_MSG_EXP_GET_STATS_CPU = 3,
1: + IPCTNL_MSG_EXP_MAX = 4,
1: };
1:
1: enum ctattr_type {
1: - CTA_UNSPEC = 0,
1: - CTA_TUPLE_ORIG = 1,
1: - CTA_TUPLE_REPLY = 2,
1: - CTA_STATUS = 3,
1: - CTA_PROTOINFO = 4,
1: - CTA_HELP = 5,
1: - CTA_NAT_SRC = 6,
1: - CTA_TIMEOUT = 7,
1: - CTA_MARK = 8,
1: - CTA_COUNTERS_ORIG = 9,
1: - CTA_COUNTERS_REPLY = 10,
1: - CTA_USE = 11,
1: - CTA_ID = 12,
1: - CTA_NAT_DST = 13,
1: - CTA_TUPLE_MASTER = 14,
1: - CTA_SEQ_ADJ_ORIG = 15,
1: - CTA_NAT_SEQ_ADJ_ORIG = 15,
1: - CTA_SEQ_ADJ_REPLY = 16,
1: - CTA_NAT_SEQ_ADJ_REPLY = 16,
1: - CTA_SECMARK = 17,
1: - CTA_ZONE = 18,
1: - CTA_SECCTX = 19,
1: - CTA_TIMESTAMP = 20,
1: - CTA_MARK_MASK = 21,
1: - CTA_LABELS = 22,
1: - CTA_LABELS_MASK = 23,
1: - CTA_SYNPROXY = 24,
1: - __CTA_MAX = 25,
1: + CTA_UNSPEC = 0,
1: + CTA_TUPLE_ORIG = 1,
1: + CTA_TUPLE_REPLY = 2,
1: + CTA_STATUS = 3,
1: + CTA_PROTOINFO = 4,
1: + CTA_HELP = 5,
1: + CTA_NAT_SRC = 6,
1: + CTA_TIMEOUT = 7,
1: + CTA_MARK = 8,
1: + CTA_COUNTERS_ORIG = 9,
1: + CTA_COUNTERS_REPLY = 10,
1: + CTA_USE = 11,
1: + CTA_ID = 12,
1: + CTA_NAT_DST = 13,
1: + CTA_TUPLE_MASTER = 14,
1: + CTA_SEQ_ADJ_ORIG = 15,
1: + CTA_NAT_SEQ_ADJ_ORIG = 15,
1: + CTA_SEQ_ADJ_REPLY = 16,
1: + CTA_NAT_SEQ_ADJ_REPLY = 16,
1: + CTA_SECMARK = 17,
1: + CTA_ZONE = 18,
1: + CTA_SECCTX = 19,
1: + CTA_TIMESTAMP = 20,
1: + CTA_MARK_MASK = 21,
1: + CTA_LABELS = 22,
1: + CTA_LABELS_MASK = 23,
1: + CTA_SYNPROXY = 24,
1: + __CTA_MAX = 25,
1: };
1:
1: enum ctattr_tuple {
1: - CTA_TUPLE_UNSPEC = 0,
1: - CTA_TUPLE_IP = 1,
1: - CTA_TUPLE_PROTO = 2,
1: - CTA_TUPLE_ZONE = 3,
1: - __CTA_TUPLE_MAX = 4,
1: + CTA_TUPLE_UNSPEC = 0,
1: + CTA_TUPLE_IP = 1,
1: + CTA_TUPLE_PROTO = 2,
1: + CTA_TUPLE_ZONE = 3,
1: + __CTA_TUPLE_MAX = 4,
1: };
1:
1: enum ctattr_ip {
1: - CTA_IP_UNSPEC = 0,
1: - CTA_IP_V4_SRC = 1,
1: - CTA_IP_V4_DST = 2,
1: - CTA_IP_V6_SRC = 3,
1: - CTA_IP_V6_DST = 4,
1: - __CTA_IP_MAX = 5,
1: + CTA_IP_UNSPEC = 0,
1: + CTA_IP_V4_SRC = 1,
1: + CTA_IP_V4_DST = 2,
1: + CTA_IP_V6_SRC = 3,
1: + CTA_IP_V6_DST = 4,
1: + __CTA_IP_MAX = 5,
1: };
1:
1: enum ctattr_counters {
1: - CTA_COUNTERS_UNSPEC = 0,
1: - CTA_COUNTERS_PACKETS = 1,
1: - CTA_COUNTERS_BYTES = 2,
1: - CTA_COUNTERS32_PACKETS = 3,
1: - CTA_COUNTERS32_BYTES = 4,
1: - CTA_COUNTERS_PAD = 5,
1: - __CTA_COUNTERS_MAX = 6,
1: + CTA_COUNTERS_UNSPEC = 0,
1: + CTA_COUNTERS_PACKETS = 1,
1: + CTA_COUNTERS_BYTES = 2,
1: + CTA_COUNTERS32_PACKETS = 3,
1: + CTA_COUNTERS32_BYTES = 4,
1: + CTA_COUNTERS_PAD = 5,
1: + __CTA_COUNTERS_MAX = 6,
1: };
1:
1: enum ctattr_tstamp {
1: - CTA_TIMESTAMP_UNSPEC = 0,
1: - CTA_TIMESTAMP_START = 1,
1: - CTA_TIMESTAMP_STOP = 2,
1: - CTA_TIMESTAMP_PAD = 3,
1: - __CTA_TIMESTAMP_MAX = 4,
1: + CTA_TIMESTAMP_UNSPEC = 0,
1: + CTA_TIMESTAMP_START = 1,
1: + CTA_TIMESTAMP_STOP = 2,
1: + CTA_TIMESTAMP_PAD = 3,
1: + __CTA_TIMESTAMP_MAX = 4,
1: };
1:
1: enum ctattr_seqadj {
1: - CTA_SEQADJ_UNSPEC = 0,
1: - CTA_SEQADJ_CORRECTION_POS = 1,
1: - CTA_SEQADJ_OFFSET_BEFORE = 2,
1: - CTA_SEQADJ_OFFSET_AFTER = 3,
1: - __CTA_SEQADJ_MAX = 4,
1: + CTA_SEQADJ_UNSPEC = 0,
1: + CTA_SEQADJ_CORRECTION_POS = 1,
1: + CTA_SEQADJ_OFFSET_BEFORE = 2,
1: + CTA_SEQADJ_OFFSET_AFTER = 3,
1: + __CTA_SEQADJ_MAX = 4,
1: };
1:
1: enum ctattr_synproxy {
1: - CTA_SYNPROXY_UNSPEC = 0,
1: - CTA_SYNPROXY_ISN = 1,
1: - CTA_SYNPROXY_ITS = 2,
1: - CTA_SYNPROXY_TSOFF = 3,
1: - __CTA_SYNPROXY_MAX = 4,
1: + CTA_SYNPROXY_UNSPEC = 0,
1: + CTA_SYNPROXY_ISN = 1,
1: + CTA_SYNPROXY_ITS = 2,
1: + CTA_SYNPROXY_TSOFF = 3,
1: + __CTA_SYNPROXY_MAX = 4,
1: };
1:
1: enum ctattr_expect {
1: - CTA_EXPECT_UNSPEC = 0,
1: - CTA_EXPECT_MASTER = 1,
1: - CTA_EXPECT_TUPLE = 2,
1: - CTA_EXPECT_MASK = 3,
1: - CTA_EXPECT_TIMEOUT = 4,
1: - CTA_EXPECT_ID = 5,
1: - CTA_EXPECT_HELP_NAME = 6,
1: - CTA_EXPECT_ZONE = 7,
1: - CTA_EXPECT_FLAGS = 8,
1: - CTA_EXPECT_CLASS = 9,
1: - CTA_EXPECT_NAT = 10,
1: - CTA_EXPECT_FN = 11,
1: - __CTA_EXPECT_MAX = 12,
1: + CTA_EXPECT_UNSPEC = 0,
1: + CTA_EXPECT_MASTER = 1,
1: + CTA_EXPECT_TUPLE = 2,
1: + CTA_EXPECT_MASK = 3,
1: + CTA_EXPECT_TIMEOUT = 4,
1: + CTA_EXPECT_ID = 5,
1: + CTA_EXPECT_HELP_NAME = 6,
1: + CTA_EXPECT_ZONE = 7,
1: + CTA_EXPECT_FLAGS = 8,
1: + CTA_EXPECT_CLASS = 9,
1: + CTA_EXPECT_NAT = 10,
1: + CTA_EXPECT_FN = 11,
1: + __CTA_EXPECT_MAX = 12,
1: };
1:
1: enum ctattr_expect_nat {
1: - CTA_EXPECT_NAT_UNSPEC = 0,
1: - CTA_EXPECT_NAT_DIR = 1,
1: - CTA_EXPECT_NAT_TUPLE = 2,
1: - __CTA_EXPECT_NAT_MAX = 3,
1: + CTA_EXPECT_NAT_UNSPEC = 0,
1: + CTA_EXPECT_NAT_DIR = 1,
1: + CTA_EXPECT_NAT_TUPLE = 2,
1: + __CTA_EXPECT_NAT_MAX = 3,
1: };
1:
1: enum ctattr_help {
1: - CTA_HELP_UNSPEC = 0,
1: - CTA_HELP_NAME = 1,
1: - CTA_HELP_INFO = 2,
1: - __CTA_HELP_MAX = 3,
1: + CTA_HELP_UNSPEC = 0,
1: + CTA_HELP_NAME = 1,
1: + CTA_HELP_INFO = 2,
1: + __CTA_HELP_MAX = 3,
1: };
1:
1: enum ctattr_secctx {
1: - CTA_SECCTX_UNSPEC = 0,
1: - CTA_SECCTX_NAME = 1,
1: - __CTA_SECCTX_MAX = 2,
1: + CTA_SECCTX_UNSPEC = 0,
1: + CTA_SECCTX_NAME = 1,
1: + __CTA_SECCTX_MAX = 2,
1: };
1:
1: enum ctattr_stats_cpu {
1: - CTA_STATS_UNSPEC = 0,
1: - CTA_STATS_SEARCHED = 1,
1: - CTA_STATS_FOUND = 2,
1: - CTA_STATS_NEW = 3,
1: - CTA_STATS_INVALID = 4,
1: - CTA_STATS_IGNORE = 5,
1: - CTA_STATS_DELETE = 6,
1: - CTA_STATS_DELETE_LIST = 7,
1: - CTA_STATS_INSERT = 8,
1: - CTA_STATS_INSERT_FAILED = 9,
1: - CTA_STATS_DROP = 10,
1: - CTA_STATS_EARLY_DROP = 11,
1: - CTA_STATS_ERROR = 12,
1: - CTA_STATS_SEARCH_RESTART = 13,
1: - __CTA_STATS_MAX = 14,
1: + CTA_STATS_UNSPEC = 0,
1: + CTA_STATS_SEARCHED = 1,
1: + CTA_STATS_FOUND = 2,
1: + CTA_STATS_NEW = 3,
1: + CTA_STATS_INVALID = 4,
1: + CTA_STATS_IGNORE = 5,
1: + CTA_STATS_DELETE = 6,
1: + CTA_STATS_DELETE_LIST = 7,
1: + CTA_STATS_INSERT = 8,
1: + CTA_STATS_INSERT_FAILED = 9,
1: + CTA_STATS_DROP = 10,
1: + CTA_STATS_EARLY_DROP = 11,
1: + CTA_STATS_ERROR = 12,
1: + CTA_STATS_SEARCH_RESTART = 13,
1: + __CTA_STATS_MAX = 14,
1: };
1:
1: enum ctattr_stats_global {
1: - CTA_STATS_GLOBAL_UNSPEC = 0,
1: - CTA_STATS_GLOBAL_ENTRIES = 1,
1: - CTA_STATS_GLOBAL_MAX_ENTRIES = 2,
1: - __CTA_STATS_GLOBAL_MAX = 3,
1: + CTA_STATS_GLOBAL_UNSPEC = 0,
1: + CTA_STATS_GLOBAL_ENTRIES = 1,
1: + CTA_STATS_GLOBAL_MAX_ENTRIES = 2,
1: + __CTA_STATS_GLOBAL_MAX = 3,
1: };
1:
1: enum ctattr_expect_stats {
1: - CTA_STATS_EXP_UNSPEC = 0,
1: - CTA_STATS_EXP_NEW = 1,
1: - CTA_STATS_EXP_CREATE = 2,
1: - CTA_STATS_EXP_DELETE = 3,
1: - __CTA_STATS_EXP_MAX = 4,
1: + CTA_STATS_EXP_UNSPEC = 0,
1: + CTA_STATS_EXP_NEW = 1,
1: + CTA_STATS_EXP_CREATE = 2,
1: + CTA_STATS_EXP_DELETE = 3,
1: + __CTA_STATS_EXP_MAX = 4,
1: };
1:
1: struct ctnetlink_filter {
1: - u8 family;
1: - struct {
1: - u_int32_t val;
1: - u_int32_t mask;
1: - } mark;
1: + u8 family;
1: + struct {
1: + u_int32_t val;
1: + u_int32_t mask;
1: + } mark;
1: };
1:
1: enum nf_ct_ftp_type {
1: - NF_CT_FTP_PORT = 0,
1: - NF_CT_FTP_PASV = 1,
1: - NF_CT_FTP_EPRT = 2,
1: - NF_CT_FTP_EPSV = 3,
1: + NF_CT_FTP_PORT = 0,
1: + NF_CT_FTP_PASV = 1,
1: + NF_CT_FTP_EPRT = 2,
1: + NF_CT_FTP_EPSV = 3,
1: };
1:
1: struct nf_ct_ftp_master {
1: - u_int32_t seq_aft_nl[4];
1: - u_int16_t seq_aft_nl_num[2];
1: - u_int16_t flags[2];
1: + u_int32_t seq_aft_nl[4];
1: + u_int16_t seq_aft_nl_num[2];
1: + u_int16_t flags[2];
1: };
1:
1: struct ftp_search {
1: - const char *pattern;
1: - size_t plen;
1: - char skip;
1: - char term;
1: - enum nf_ct_ftp_type ftptype;
1: - int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char, unsigned int *);
1: + const char *pattern;
1: + size_t plen;
1: + char skip;
1: + char term;
1: + enum nf_ct_ftp_type ftptype;
1: + int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char,
1: + unsigned int *);
1: };
1:
1: struct nf_ct_sip_master {
1: - unsigned int register_cseq;
1: - unsigned int invite_cseq;
1: - __be16 forced_dport;
1: + unsigned int register_cseq;
1: + unsigned int invite_cseq;
1: + __be16 forced_dport;
1: };
1:
1: enum sip_expectation_classes {
1: - SIP_EXPECT_SIGNALLING = 0,
1: - SIP_EXPECT_AUDIO = 1,
1: - SIP_EXPECT_VIDEO = 2,
1: - SIP_EXPECT_IMAGE = 3,
1: - __SIP_EXPECT_MAX = 4,
1: + SIP_EXPECT_SIGNALLING = 0,
1: + SIP_EXPECT_AUDIO = 1,
1: + SIP_EXPECT_VIDEO = 2,
1: + SIP_EXPECT_IMAGE = 3,
1: + __SIP_EXPECT_MAX = 4,
1: };
1:
1: struct sdp_media_type {
1: - const char *name;
1: - unsigned int len;
1: - enum sip_expectation_classes class;
1: + const char *name;
1: + unsigned int len;
1: + enum sip_expectation_classes class;
1: };
1:
1: struct sip_handler {
1: - const char *method;
1: - unsigned int len;
1: - int (*request)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int);
1: - int (*response)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int, unsigned int);
1: + const char *method;
1: + unsigned int len;
1: + int (*request)(struct sk_buff *, unsigned int, unsigned int, const char **,
1: + unsigned int *, unsigned int);
1: + int (*response)(struct sk_buff *, unsigned int, unsigned int, const char **,
1: + unsigned int *, unsigned int, unsigned int);
1: };
1:
1: struct sip_header {
1: - const char *name;
1: - const char *cname;
1: - const char *search;
1: - unsigned int len;
1: - unsigned int clen;
1: - unsigned int slen;
1: - int (*match_len)(const struct nf_conn *, const char *, const char *, int *);
1: + const char *name;
1: + const char *cname;
1: + const char *search;
1: + unsigned int len;
1: + unsigned int clen;
1: + unsigned int slen;
1: + int (*match_len)(const struct nf_conn *, const char *, const char *, int *);
1: };
1:
1: enum sip_header_types {
1: - SIP_HDR_CSEQ = 0,
1: - SIP_HDR_FROM = 1,
1: - SIP_HDR_TO = 2,
1: - SIP_HDR_CONTACT = 3,
1: - SIP_HDR_VIA_UDP = 4,
1: - SIP_HDR_VIA_TCP = 5,
1: - SIP_HDR_EXPIRES = 6,
1: - SIP_HDR_CONTENT_LENGTH = 7,
1: - SIP_HDR_CALL_ID = 8,
1: + SIP_HDR_CSEQ = 0,
1: + SIP_HDR_FROM = 1,
1: + SIP_HDR_TO = 2,
1: + SIP_HDR_CONTACT = 3,
1: + SIP_HDR_VIA_UDP = 4,
1: + SIP_HDR_VIA_TCP = 5,
1: + SIP_HDR_EXPIRES = 6,
1: + SIP_HDR_CONTENT_LENGTH = 7,
1: + SIP_HDR_CALL_ID = 8,
1: };
1:
1: enum sdp_header_types {
1: - SDP_HDR_UNSPEC = 0,
1: - SDP_HDR_VERSION = 1,
1: - SDP_HDR_OWNER = 2,
1: - SDP_HDR_CONNECTION = 3,
1: - SDP_HDR_MEDIA = 4,
1: + SDP_HDR_UNSPEC = 0,
1: + SDP_HDR_VERSION = 1,
1: + SDP_HDR_OWNER = 2,
1: + SDP_HDR_CONNECTION = 3,
1: + SDP_HDR_MEDIA = 4,
1: };
1:
1: struct nf_nat_sip_hooks {
1: - unsigned int (*msg)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *);
1: - void (*seq_adjust)(struct sk_buff *, unsigned int, s16);
1: - unsigned int (*expect)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, struct nf_conntrack_expect *, unsigned int, unsigned int);
1: - unsigned int (*sdp_addr)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int, enum sdp_header_types, enum sdp_header_types, const union nf_inet_addr *);
1: - unsigned int (*sdp_port)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int, unsigned int, u_int16_t);
1: - unsigned int (*sdp_session)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, unsigned int, const union nf_inet_addr *);
1: - unsigned int (*sdp_media)(struct sk_buff *, unsigned int, unsigned int, const char **, unsigned int *, struct nf_conntrack_expect *, struct nf_conntrack_expect *, unsigned int, unsigned int, union nf_inet_addr *);
1: + unsigned int (*msg)(struct sk_buff *, unsigned int, unsigned int,
1: + const char **, unsigned int *);
1: + void (*seq_adjust)(struct sk_buff *, unsigned int, s16);
1: + unsigned int (*expect)(struct sk_buff *, unsigned int, unsigned int,
1: + const char **, unsigned int *,
1: + struct nf_conntrack_expect *, unsigned int,
1: + unsigned int);
1: + unsigned int (*sdp_addr)(struct sk_buff *, unsigned int, unsigned int,
1: + const char **, unsigned int *, unsigned int,
1: + enum sdp_header_types, enum sdp_header_types,
1: + const union nf_inet_addr *);
1: + unsigned int (*sdp_port)(struct sk_buff *, unsigned int, unsigned int,
1: + const char **, unsigned int *, unsigned int,
1: + unsigned int, u_int16_t);
1: + unsigned int (*sdp_session)(struct sk_buff *, unsigned int, unsigned int,
1: + const char **, unsigned int *, unsigned int,
1: + const union nf_inet_addr *);
1: + unsigned int (*sdp_media)(struct sk_buff *, unsigned int, unsigned int,
1: + const char **, unsigned int *,
1: + struct nf_conntrack_expect *,
1: + struct nf_conntrack_expect *, unsigned int,
1: + unsigned int, union nf_inet_addr *);
1: };
1:
1: union nf_conntrack_nat_help {};
1:
1: struct nf_conn_nat {
1: - union nf_conntrack_nat_help help;
1: - int masq_index;
1: + union nf_conntrack_nat_help help;
1: + int masq_index;
1: };
1:
1: struct nf_nat_lookup_hook_priv {
1: - struct nf_hook_entries *entries;
1: - struct callback_head callback_head;
1: + struct nf_hook_entries *entries;
1: + struct callback_head callback_head;
1: };
1:
1: struct nf_nat_hooks_net {
1: - struct nf_hook_ops *nat_hook_ops;
1: - unsigned int users;
1: + struct nf_hook_ops *nat_hook_ops;
1: + unsigned int users;
1: };
1:
1: struct nat_net {
1: - struct nf_nat_hooks_net nat_proto_net[13];
1: + struct nf_nat_hooks_net nat_proto_net[13];
1: };
1:
1: struct nf_nat_proto_clean {
1: - u8 l3proto;
1: - u8 l4proto;
1: + u8 l3proto;
1: + u8 l4proto;
1: };
1:
1: enum ctattr_nat {
1: - CTA_NAT_UNSPEC = 0,
1: - CTA_NAT_V4_MINIP = 1,
1: - CTA_NAT_V4_MAXIP = 2,
1: - CTA_NAT_PROTO = 3,
1: - CTA_NAT_V6_MINIP = 4,
1: - CTA_NAT_V6_MAXIP = 5,
1: - __CTA_NAT_MAX = 6,
1: + CTA_NAT_UNSPEC = 0,
1: + CTA_NAT_V4_MINIP = 1,
1: + CTA_NAT_V4_MAXIP = 2,
1: + CTA_NAT_PROTO = 3,
1: + CTA_NAT_V6_MINIP = 4,
1: + CTA_NAT_V6_MAXIP = 5,
1: + __CTA_NAT_MAX = 6,
1: };
1:
1: enum ctattr_protonat {
1: - CTA_PROTONAT_UNSPEC = 0,
1: - CTA_PROTONAT_PORT_MIN = 1,
1: - CTA_PROTONAT_PORT_MAX = 2,
1: - __CTA_PROTONAT_MAX = 3,
1: + CTA_PROTONAT_UNSPEC = 0,
1: + CTA_PROTONAT_PORT_MIN = 1,
1: + CTA_PROTONAT_PORT_MAX = 2,
1: + __CTA_PROTONAT_MAX = 3,
1: };
1:
1: struct sctp_bind_hashbucket {
1: - spinlock_t lock;
1: - struct hlist_head chain;
1: + spinlock_t lock;
1: + struct hlist_head chain;
1: };
1:
1: struct sctp_hashbucket {
1: - rwlock_t lock;
1: - struct hlist_head chain;
1: + rwlock_t lock;
1: + struct hlist_head chain;
1: };
1:
1: struct sctp_globals {
1: - struct list_head address_families;
1: - struct sctp_hashbucket *ep_hashtable;
1: - struct sctp_bind_hashbucket *port_hashtable;
1: - struct rhltable transport_hashtable;
1: - int ep_hashsize;
1: - int port_hashsize;
1: - __u16 max_instreams;
1: - __u16 max_outstreams;
1: - bool checksum_disable;
1: + struct list_head address_families;
1: + struct sctp_hashbucket *ep_hashtable;
1: + struct sctp_bind_hashbucket *port_hashtable;
1: + struct rhltable transport_hashtable;
1: + int ep_hashsize;
1: + int port_hashsize;
1: + __u16 max_instreams;
1: + __u16 max_outstreams;
1: + bool checksum_disable;
1: };
1:
1: struct masq_dev_work {
1: - struct work_struct work;
1: - struct net *net;
1: - struct in6_addr addr;
1: - int ifindex;
1: + struct work_struct work;
1: + struct net *net;
1: + struct in6_addr addr;
1: + int ifindex;
1: };
1:
1: struct xt_action_param;
1: @@ -105990,38 +106812,38 @@ struct xt_mtchk_param;
1: struct xt_mtdtor_param;
1:
1: struct xt_match {
1: - struct list_head list;
1: - char name[29];
1: - u_int8_t revision;
1: - bool (*match)(const struct sk_buff *, struct xt_action_param *);
1: - int (*checkentry)(const struct xt_mtchk_param *);
1: - void (*destroy)(const struct xt_mtdtor_param *);
1: - void (*compat_from_user)(void *, const void *);
1: - int (*compat_to_user)(void *, const void *);
1: - struct module *me;
1: - const char *table;
1: - unsigned int matchsize;
1: - unsigned int usersize;
1: - unsigned int compatsize;
1: - unsigned int hooks;
1: - short unsigned int proto;
1: - short unsigned int family;
1: + struct list_head list;
1: + char name[29];
1: + u_int8_t revision;
1: + bool (*match)(const struct sk_buff *, struct xt_action_param *);
1: + int (*checkentry)(const struct xt_mtchk_param *);
1: + void (*destroy)(const struct xt_mtdtor_param *);
1: + void (*compat_from_user)(void *, const void *);
1: + int (*compat_to_user)(void *, const void *);
1: + struct module *me;
1: + const char *table;
1: + unsigned int matchsize;
1: + unsigned int usersize;
1: + unsigned int compatsize;
1: + unsigned int hooks;
1: + short unsigned int proto;
1: + short unsigned int family;
1: };
1:
1: struct xt_entry_match {
1: - union {
1: - struct {
1: - __u16 match_size;
1: - char name[29];
1: - __u8 revision;
1: - } user;
1: - struct {
1: - __u16 match_size;
1: - struct xt_match *match;
1: - } kernel;
1: - __u16 match_size;
1: - } u;
1: - unsigned char data[0];
1: + union {
1: + struct {
1: + __u16 match_size;
1: + char name[29];
1: + __u8 revision;
1: + } user;
1: + struct {
1: + __u16 match_size;
1: + struct xt_match *match;
1: + } kernel;
1: + __u16 match_size;
1: + } u;
1: + unsigned char data[0];
1: };
1:
1: struct xt_tgchk_param;
1: @@ -106029,2796 +106851,2811 @@ struct xt_tgchk_param;
1: struct xt_tgdtor_param;
1:
1: struct xt_target {
1: - struct list_head list;
1: - char name[29];
1: - u_int8_t revision;
1: - unsigned int (*target)(struct sk_buff *, const struct xt_action_param *);
1: - int (*checkentry)(const struct xt_tgchk_param *);
1: - void (*destroy)(const struct xt_tgdtor_param *);
1: - void (*compat_from_user)(void *, const void *);
1: - int (*compat_to_user)(void *, const void *);
1: - struct module *me;
1: - const char *table;
1: - unsigned int targetsize;
1: - unsigned int usersize;
1: - unsigned int compatsize;
1: - unsigned int hooks;
1: - short unsigned int proto;
1: - short unsigned int family;
1: + struct list_head list;
1: + char name[29];
1: + u_int8_t revision;
1: + unsigned int (*target)(struct sk_buff *, const struct xt_action_param *);
1: + int (*checkentry)(const struct xt_tgchk_param *);
1: + void (*destroy)(const struct xt_tgdtor_param *);
1: + void (*compat_from_user)(void *, const void *);
1: + int (*compat_to_user)(void *, const void *);
1: + struct module *me;
1: + const char *table;
1: + unsigned int targetsize;
1: + unsigned int usersize;
1: + unsigned int compatsize;
1: + unsigned int hooks;
1: + short unsigned int proto;
1: + short unsigned int family;
1: };
1:
1: struct xt_entry_target {
1: - union {
1: - struct {
1: - __u16 target_size;
1: - char name[29];
1: - __u8 revision;
1: - } user;
1: - struct {
1: - __u16 target_size;
1: - struct xt_target *target;
1: - } kernel;
1: - __u16 target_size;
1: - } u;
1: - unsigned char data[0];
1: + union {
1: + struct {
1: + __u16 target_size;
1: + char name[29];
1: + __u8 revision;
1: + } user;
1: + struct {
1: + __u16 target_size;
1: + struct xt_target *target;
1: + } kernel;
1: + __u16 target_size;
1: + } u;
1: + unsigned char data[0];
1: };
1:
1: struct xt_standard_target {
1: - struct xt_entry_target target;
1: - int verdict;
1: + struct xt_entry_target target;
1: + int verdict;
1: };
1:
1: struct xt_error_target {
1: - struct xt_entry_target target;
1: - char errorname[30];
1: + struct xt_entry_target target;
1: + char errorname[30];
1: };
1:
1: struct xt_counters {
1: - __u64 pcnt;
1: - __u64 bcnt;
1: + __u64 pcnt;
1: + __u64 bcnt;
1: };
1:
1: struct xt_counters_info {
1: - char name[32];
1: - unsigned int num_counters;
1: - struct xt_counters counters[0];
1: + char name[32];
1: + unsigned int num_counters;
1: + struct xt_counters counters[0];
1: };
1:
1: struct xt_action_param {
1: - union {
1: - const struct xt_match *match;
1: - const struct xt_target *target;
1: - };
1: - union {
1: - const void *matchinfo;
1: - const void *targinfo;
1: - };
1: - const struct nf_hook_state *state;
1: - int fragoff;
1: - unsigned int thoff;
1: - bool hotdrop;
1: + union {
1: + const struct xt_match *match;
1: + const struct xt_target *target;
1: + };
1: + union {
1: + const void *matchinfo;
1: + const void *targinfo;
1: + };
1: + const struct nf_hook_state *state;
1: + int fragoff;
1: + unsigned int thoff;
1: + bool hotdrop;
1: };
1:
1: struct xt_mtchk_param {
1: - struct net *net;
1: - const char *table;
1: - const void *entryinfo;
1: - const struct xt_match *match;
1: - void *matchinfo;
1: - unsigned int hook_mask;
1: - u_int8_t family;
1: - bool nft_compat;
1: + struct net *net;
1: + const char *table;
1: + const void *entryinfo;
1: + const struct xt_match *match;
1: + void *matchinfo;
1: + unsigned int hook_mask;
1: + u_int8_t family;
1: + bool nft_compat;
1: };
1:
1: struct xt_mtdtor_param {
1: - struct net *net;
1: - const struct xt_match *match;
1: - void *matchinfo;
1: - u_int8_t family;
1: + struct net *net;
1: + const struct xt_match *match;
1: + void *matchinfo;
1: + u_int8_t family;
1: };
1:
1: struct xt_tgchk_param {
1: - struct net *net;
1: - const char *table;
1: - const void *entryinfo;
1: - const struct xt_target *target;
1: - void *targinfo;
1: - unsigned int hook_mask;
1: - u_int8_t family;
1: - bool nft_compat;
1: + struct net *net;
1: + const char *table;
1: + const void *entryinfo;
1: + const struct xt_target *target;
1: + void *targinfo;
1: + unsigned int hook_mask;
1: + u_int8_t family;
1: + bool nft_compat;
1: };
1:
1: struct xt_tgdtor_param {
1: - struct net *net;
1: - const struct xt_target *target;
1: - void *targinfo;
1: - u_int8_t family;
1: + struct net *net;
1: + const struct xt_target *target;
1: + void *targinfo;
1: + u_int8_t family;
1: };
1:
1: struct xt_percpu_counter_alloc_state {
1: - unsigned int off;
1: - const char *mem;
1: + unsigned int off;
1: + const char *mem;
1: };
1:
1: struct compat_xt_entry_match {
1: - union {
1: - struct {
1: - u_int16_t match_size;
1: - char name[29];
1: - u_int8_t revision;
1: - } user;
1: - struct {
1: - u_int16_t match_size;
1: - compat_uptr_t match;
1: - } kernel;
1: - u_int16_t match_size;
1: - } u;
1: - unsigned char data[0];
1: + union {
1: + struct {
1: + u_int16_t match_size;
1: + char name[29];
1: + u_int8_t revision;
1: + } user;
1: + struct {
1: + u_int16_t match_size;
1: + compat_uptr_t match;
1: + } kernel;
1: + u_int16_t match_size;
1: + } u;
1: + unsigned char data[0];
1: };
1:
1: struct compat_xt_entry_target {
1: - union {
1: - struct {
1: - u_int16_t target_size;
1: - char name[29];
1: - u_int8_t revision;
1: - } user;
1: - struct {
1: - u_int16_t target_size;
1: - compat_uptr_t target;
1: - } kernel;
1: - u_int16_t target_size;
1: - } u;
1: - unsigned char data[0];
1: + union {
1: + struct {
1: + u_int16_t target_size;
1: + char name[29];
1: + u_int8_t revision;
1: + } user;
1: + struct {
1: + u_int16_t target_size;
1: + compat_uptr_t target;
1: + } kernel;
1: + u_int16_t target_size;
1: + } u;
1: + unsigned char data[0];
1: };
1:
1: struct compat_xt_counters {
1: - compat_u64 pcnt;
1: - compat_u64 bcnt;
1: + compat_u64 pcnt;
1: + compat_u64 bcnt;
1: };
1:
1: struct compat_xt_counters_info {
1: - char name[32];
1: - compat_uint_t num_counters;
1: - struct compat_xt_counters counters[0];
1: + char name[32];
1: + compat_uint_t num_counters;
1: + struct compat_xt_counters counters[0];
1: } __attribute__((packed));
1:
1: struct compat_delta {
1: - unsigned int offset;
1: - int delta;
1: + unsigned int offset;
1: + int delta;
1: };
1:
1: struct xt_af {
1: - struct mutex mutex;
1: - struct list_head match;
1: - struct list_head target;
1: - struct mutex compat_mutex;
1: - struct compat_delta *compat_tab;
1: - unsigned int number;
1: - unsigned int cur;
1: + struct mutex mutex;
1: + struct list_head match;
1: + struct list_head target;
1: + struct mutex compat_mutex;
1: + struct compat_delta *compat_tab;
1: + unsigned int number;
1: + unsigned int cur;
1: };
1:
1: struct compat_xt_standard_target {
1: - struct compat_xt_entry_target t;
1: - compat_uint_t verdict;
1: + struct compat_xt_entry_target t;
1: + compat_uint_t verdict;
1: };
1:
1: struct compat_xt_error_target {
1: - struct compat_xt_entry_target t;
1: - char errorname[30];
1: + struct compat_xt_entry_target t;
1: + char errorname[30];
1: };
1:
1: struct nf_mttg_trav {
1: - struct list_head *head;
1: - struct list_head *curr;
1: - uint8_t class;
1: + struct list_head *head;
1: + struct list_head *curr;
1: + uint8_t class;
1: };
1:
1: enum {
1: - MTTG_TRAV_INIT = 0,
1: - MTTG_TRAV_NFP_UNSPEC = 1,
1: - MTTG_TRAV_NFP_SPEC = 2,
1: - MTTG_TRAV_DONE = 3,
1: + MTTG_TRAV_INIT = 0,
1: + MTTG_TRAV_NFP_UNSPEC = 1,
1: + MTTG_TRAV_NFP_SPEC = 2,
1: + MTTG_TRAV_DONE = 3,
1: };
1:
1: struct xt_tcp {
1: - __u16 spts[2];
1: - __u16 dpts[2];
1: - __u8 option;
1: - __u8 flg_mask;
1: - __u8 flg_cmp;
1: - __u8 invflags;
1: + __u16 spts[2];
1: + __u16 dpts[2];
1: + __u8 option;
1: + __u8 flg_mask;
1: + __u8 flg_cmp;
1: + __u8 invflags;
1: };
1:
1: struct xt_udp {
1: - __u16 spts[2];
1: - __u16 dpts[2];
1: - __u8 invflags;
1: + __u16 spts[2];
1: + __u16 dpts[2];
1: + __u8 invflags;
1: };
1:
1: enum {
1: - CONNSECMARK_SAVE = 1,
1: - CONNSECMARK_RESTORE = 2,
1: + CONNSECMARK_SAVE = 1,
1: + CONNSECMARK_RESTORE = 2,
1: };
1:
1: struct xt_connsecmark_target_info {
1: - __u8 mode;
1: + __u8 mode;
1: };
1:
1: struct xt_nflog_info {
1: - __u32 len;
1: - __u16 group;
1: - __u16 threshold;
1: - __u16 flags;
1: - __u16 pad;
1: - char prefix[64];
1: + __u32 len;
1: + __u16 group;
1: + __u16 threshold;
1: + __u16 flags;
1: + __u16 pad;
1: + char prefix[64];
1: };
1:
1: struct xt_secmark_target_info {
1: - __u8 mode;
1: - __u32 secid;
1: - char secctx[256];
1: + __u8 mode;
1: + __u32 secid;
1: + char secctx[256];
1: };
1:
1: struct ipt_ip {
1: - struct in_addr src;
1: - struct in_addr dst;
1: - struct in_addr smsk;
1: - struct in_addr dmsk;
1: - char iniface[16];
1: - char outiface[16];
1: - unsigned char iniface_mask[16];
1: - unsigned char outiface_mask[16];
1: - __u16 proto;
1: - __u8 flags;
1: - __u8 invflags;
1: + struct in_addr src;
1: + struct in_addr dst;
1: + struct in_addr smsk;
1: + struct in_addr dmsk;
1: + char iniface[16];
1: + char outiface[16];
1: + unsigned char iniface_mask[16];
1: + unsigned char outiface_mask[16];
1: + __u16 proto;
1: + __u8 flags;
1: + __u8 invflags;
1: };
1:
1: struct ipt_entry {
1: - struct ipt_ip ip;
1: - unsigned int nfcache;
1: - __u16 target_offset;
1: - __u16 next_offset;
1: - unsigned int comefrom;
1: - struct xt_counters counters;
1: - unsigned char elems[0];
1: + struct ipt_ip ip;
1: + unsigned int nfcache;
1: + __u16 target_offset;
1: + __u16 next_offset;
1: + unsigned int comefrom;
1: + struct xt_counters counters;
1: + unsigned char elems[0];
1: };
1:
1: struct ip6t_ip6 {
1: - struct in6_addr src;
1: - struct in6_addr dst;
1: - struct in6_addr smsk;
1: - struct in6_addr dmsk;
1: - char iniface[16];
1: - char outiface[16];
1: - unsigned char iniface_mask[16];
1: - unsigned char outiface_mask[16];
1: - __u16 proto;
1: - __u8 tos;
1: - __u8 flags;
1: - __u8 invflags;
1: + struct in6_addr src;
1: + struct in6_addr dst;
1: + struct in6_addr smsk;
1: + struct in6_addr dmsk;
1: + char iniface[16];
1: + char outiface[16];
1: + unsigned char iniface_mask[16];
1: + unsigned char outiface_mask[16];
1: + __u16 proto;
1: + __u8 tos;
1: + __u8 flags;
1: + __u8 invflags;
1: };
1:
1: struct ip6t_entry {
1: - struct ip6t_ip6 ipv6;
1: - unsigned int nfcache;
1: - __u16 target_offset;
1: - __u16 next_offset;
1: - unsigned int comefrom;
1: - struct xt_counters counters;
1: - unsigned char elems[0];
1: + struct ip6t_ip6 ipv6;
1: + unsigned int nfcache;
1: + __u16 target_offset;
1: + __u16 next_offset;
1: + unsigned int comefrom;
1: + struct xt_counters counters;
1: + unsigned char elems[0];
1: };
1:
1: struct xt_tcpmss_info {
1: - __u16 mss;
1: + __u16 mss;
1: };
1:
1: enum {
1: - XT_CONNTRACK_STATE = 1,
1: - XT_CONNTRACK_PROTO = 2,
1: - XT_CONNTRACK_ORIGSRC = 4,
1: - XT_CONNTRACK_ORIGDST = 8,
1: - XT_CONNTRACK_REPLSRC = 16,
1: - XT_CONNTRACK_REPLDST = 32,
1: - XT_CONNTRACK_STATUS = 64,
1: - XT_CONNTRACK_EXPIRES = 128,
1: - XT_CONNTRACK_ORIGSRC_PORT = 256,
1: - XT_CONNTRACK_ORIGDST_PORT = 512,
1: - XT_CONNTRACK_REPLSRC_PORT = 1024,
1: - XT_CONNTRACK_REPLDST_PORT = 2048,
1: - XT_CONNTRACK_DIRECTION = 4096,
1: - XT_CONNTRACK_STATE_ALIAS = 8192,
1: + XT_CONNTRACK_STATE = 1,
1: + XT_CONNTRACK_PROTO = 2,
1: + XT_CONNTRACK_ORIGSRC = 4,
1: + XT_CONNTRACK_ORIGDST = 8,
1: + XT_CONNTRACK_REPLSRC = 16,
1: + XT_CONNTRACK_REPLDST = 32,
1: + XT_CONNTRACK_STATUS = 64,
1: + XT_CONNTRACK_EXPIRES = 128,
1: + XT_CONNTRACK_ORIGSRC_PORT = 256,
1: + XT_CONNTRACK_ORIGDST_PORT = 512,
1: + XT_CONNTRACK_REPLSRC_PORT = 1024,
1: + XT_CONNTRACK_REPLDST_PORT = 2048,
1: + XT_CONNTRACK_DIRECTION = 4096,
1: + XT_CONNTRACK_STATE_ALIAS = 8192,
1: };
1:
1: struct xt_conntrack_mtinfo1 {
1: - union nf_inet_addr origsrc_addr;
1: - union nf_inet_addr origsrc_mask;
1: - union nf_inet_addr origdst_addr;
1: - union nf_inet_addr origdst_mask;
1: - union nf_inet_addr replsrc_addr;
1: - union nf_inet_addr replsrc_mask;
1: - union nf_inet_addr repldst_addr;
1: - union nf_inet_addr repldst_mask;
1: - __u32 expires_min;
1: - __u32 expires_max;
1: - __u16 l4proto;
1: - __be16 origsrc_port;
1: - __be16 origdst_port;
1: - __be16 replsrc_port;
1: - __be16 repldst_port;
1: - __u16 match_flags;
1: - __u16 invert_flags;
1: - __u8 state_mask;
1: - __u8 status_mask;
1: + union nf_inet_addr origsrc_addr;
1: + union nf_inet_addr origsrc_mask;
1: + union nf_inet_addr origdst_addr;
1: + union nf_inet_addr origdst_mask;
1: + union nf_inet_addr replsrc_addr;
1: + union nf_inet_addr replsrc_mask;
1: + union nf_inet_addr repldst_addr;
1: + union nf_inet_addr repldst_mask;
1: + __u32 expires_min;
1: + __u32 expires_max;
1: + __u16 l4proto;
1: + __be16 origsrc_port;
1: + __be16 origdst_port;
1: + __be16 replsrc_port;
1: + __be16 repldst_port;
1: + __u16 match_flags;
1: + __u16 invert_flags;
1: + __u8 state_mask;
1: + __u8 status_mask;
1: };
1:
1: struct xt_conntrack_mtinfo2 {
1: - union nf_inet_addr origsrc_addr;
1: - union nf_inet_addr origsrc_mask;
1: - union nf_inet_addr origdst_addr;
1: - union nf_inet_addr origdst_mask;
1: - union nf_inet_addr replsrc_addr;
1: - union nf_inet_addr replsrc_mask;
1: - union nf_inet_addr repldst_addr;
1: - union nf_inet_addr repldst_mask;
1: - __u32 expires_min;
1: - __u32 expires_max;
1: - __u16 l4proto;
1: - __be16 origsrc_port;
1: - __be16 origdst_port;
1: - __be16 replsrc_port;
1: - __be16 repldst_port;
1: - __u16 match_flags;
1: - __u16 invert_flags;
1: - __u16 state_mask;
1: - __u16 status_mask;
1: + union nf_inet_addr origsrc_addr;
1: + union nf_inet_addr origsrc_mask;
1: + union nf_inet_addr origdst_addr;
1: + union nf_inet_addr origdst_mask;
1: + union nf_inet_addr replsrc_addr;
1: + union nf_inet_addr replsrc_mask;
1: + union nf_inet_addr repldst_addr;
1: + union nf_inet_addr repldst_mask;
1: + __u32 expires_min;
1: + __u32 expires_max;
1: + __u16 l4proto;
1: + __be16 origsrc_port;
1: + __be16 origdst_port;
1: + __be16 replsrc_port;
1: + __be16 repldst_port;
1: + __u16 match_flags;
1: + __u16 invert_flags;
1: + __u16 state_mask;
1: + __u16 status_mask;
1: };
1:
1: struct xt_conntrack_mtinfo3 {
1: - union nf_inet_addr origsrc_addr;
1: - union nf_inet_addr origsrc_mask;
1: - union nf_inet_addr origdst_addr;
1: - union nf_inet_addr origdst_mask;
1: - union nf_inet_addr replsrc_addr;
1: - union nf_inet_addr replsrc_mask;
1: - union nf_inet_addr repldst_addr;
1: - union nf_inet_addr repldst_mask;
1: - __u32 expires_min;
1: - __u32 expires_max;
1: - __u16 l4proto;
1: - __u16 origsrc_port;
1: - __u16 origdst_port;
1: - __u16 replsrc_port;
1: - __u16 repldst_port;
1: - __u16 match_flags;
1: - __u16 invert_flags;
1: - __u16 state_mask;
1: - __u16 status_mask;
1: - __u16 origsrc_port_high;
1: - __u16 origdst_port_high;
1: - __u16 replsrc_port_high;
1: - __u16 repldst_port_high;
1: + union nf_inet_addr origsrc_addr;
1: + union nf_inet_addr origsrc_mask;
1: + union nf_inet_addr origdst_addr;
1: + union nf_inet_addr origdst_mask;
1: + union nf_inet_addr replsrc_addr;
1: + union nf_inet_addr replsrc_mask;
1: + union nf_inet_addr repldst_addr;
1: + union nf_inet_addr repldst_mask;
1: + __u32 expires_min;
1: + __u32 expires_max;
1: + __u16 l4proto;
1: + __u16 origsrc_port;
1: + __u16 origdst_port;
1: + __u16 replsrc_port;
1: + __u16 repldst_port;
1: + __u16 match_flags;
1: + __u16 invert_flags;
1: + __u16 state_mask;
1: + __u16 status_mask;
1: + __u16 origsrc_port_high;
1: + __u16 origdst_port_high;
1: + __u16 replsrc_port_high;
1: + __u16 repldst_port_high;
1: };
1:
1: enum xt_policy_flags {
1: - XT_POLICY_MATCH_IN = 1,
1: - XT_POLICY_MATCH_OUT = 2,
1: - XT_POLICY_MATCH_NONE = 4,
1: - XT_POLICY_MATCH_STRICT = 8,
1: + XT_POLICY_MATCH_IN = 1,
1: + XT_POLICY_MATCH_OUT = 2,
1: + XT_POLICY_MATCH_NONE = 4,
1: + XT_POLICY_MATCH_STRICT = 8,
1: };
1:
1: struct xt_policy_spec {
1: - __u8 saddr: 1;
1: - __u8 daddr: 1;
1: - __u8 proto: 1;
1: - __u8 mode: 1;
1: - __u8 spi: 1;
1: - __u8 reqid: 1;
1: + __u8 saddr : 1;
1: + __u8 daddr : 1;
1: + __u8 proto : 1;
1: + __u8 mode : 1;
1: + __u8 spi : 1;
1: + __u8 reqid : 1;
1: };
1:
1: struct xt_policy_elem {
1: - union {
1: - struct {
1: - union nf_inet_addr saddr;
1: - union nf_inet_addr smask;
1: - union nf_inet_addr daddr;
1: - union nf_inet_addr dmask;
1: - };
1: - };
1: - __be32 spi;
1: - __u32 reqid;
1: - __u8 proto;
1: - __u8 mode;
1: - struct xt_policy_spec match;
1: - struct xt_policy_spec invert;
1: + union {
1: + struct {
1: + union nf_inet_addr saddr;
1: + union nf_inet_addr smask;
1: + union nf_inet_addr daddr;
1: + union nf_inet_addr dmask;
1: + };
1: + };
1: + __be32 spi;
1: + __u32 reqid;
1: + __u8 proto;
1: + __u8 mode;
1: + struct xt_policy_spec match;
1: + struct xt_policy_spec invert;
1: };
1:
1: struct xt_policy_info {
1: - struct xt_policy_elem pol[4];
1: - __u16 flags;
1: - __u16 len;
1: + struct xt_policy_elem pol[4];
1: + __u16 flags;
1: + __u16 len;
1: };
1:
1: struct xt_state_info {
1: - unsigned int statemask;
1: + unsigned int statemask;
1: };
1:
1: struct ip_mreqn {
1: - struct in_addr imr_multiaddr;
1: - struct in_addr imr_address;
1: - int imr_ifindex;
1: + struct in_addr imr_multiaddr;
1: + struct in_addr imr_address;
1: + int imr_ifindex;
1: };
1:
1: struct mr_table_ops {
1: - const struct rhashtable_params *rht_params;
1: - void *cmparg_any;
1: + const struct rhashtable_params *rht_params;
1: + void *cmparg_any;
1: };
1:
1: struct vif_device {
1: - struct net_device *dev;
1: - long unsigned int bytes_in;
1: - long unsigned int bytes_out;
1: - long unsigned int pkt_in;
1: - long unsigned int pkt_out;
1: - long unsigned int rate_limit;
1: - unsigned char threshold;
1: - short unsigned int flags;
1: - int link;
1: - struct netdev_phys_item_id dev_parent_id;
1: - __be32 local;
1: - __be32 remote;
1: + struct net_device *dev;
1: + long unsigned int bytes_in;
1: + long unsigned int bytes_out;
1: + long unsigned int pkt_in;
1: + long unsigned int pkt_out;
1: + long unsigned int rate_limit;
1: + unsigned char threshold;
1: + short unsigned int flags;
1: + int link;
1: + struct netdev_phys_item_id dev_parent_id;
1: + __be32 local;
1: + __be32 remote;
1: };
1:
1: struct mr_table {
1: - struct list_head list;
1: - possible_net_t net;
1: - struct mr_table_ops ops;
1: - u32 id;
1: - struct sock *mroute_sk;
1: - struct timer_list ipmr_expire_timer;
1: - struct list_head mfc_unres_queue;
1: - struct vif_device vif_table[32];
1: - struct rhltable mfc_hash;
1: - struct list_head mfc_cache_list;
1: - int maxvif;
1: - atomic_t cache_resolve_queue_len;
1: - bool mroute_do_assert;
1: - bool mroute_do_pim;
1: - bool mroute_do_wrvifwhole;
1: - int mroute_reg_vif_num;
1: + struct list_head list;
1: + possible_net_t net;
1: + struct mr_table_ops ops;
1: + u32 id;
1: + struct sock *mroute_sk;
1: + struct timer_list ipmr_expire_timer;
1: + struct list_head mfc_unres_queue;
1: + struct vif_device vif_table[32];
1: + struct rhltable mfc_hash;
1: + struct list_head mfc_cache_list;
1: + int maxvif;
1: + atomic_t cache_resolve_queue_len;
1: + bool mroute_do_assert;
1: + bool mroute_do_pim;
1: + bool mroute_do_wrvifwhole;
1: + int mroute_reg_vif_num;
1: };
1:
1: struct rtmsg {
1: - unsigned char rtm_family;
1: - unsigned char rtm_dst_len;
1: - unsigned char rtm_src_len;
1: - unsigned char rtm_tos;
1: - unsigned char rtm_table;
1: - unsigned char rtm_protocol;
1: - unsigned char rtm_scope;
1: - unsigned char rtm_type;
1: - unsigned int rtm_flags;
1: + unsigned char rtm_family;
1: + unsigned char rtm_dst_len;
1: + unsigned char rtm_src_len;
1: + unsigned char rtm_tos;
1: + unsigned char rtm_table;
1: + unsigned char rtm_protocol;
1: + unsigned char rtm_scope;
1: + unsigned char rtm_type;
1: + unsigned int rtm_flags;
1: };
1:
1: struct rtvia {
1: - __kernel_sa_family_t rtvia_family;
1: - __u8 rtvia_addr[0];
1: + __kernel_sa_family_t rtvia_family;
1: + __u8 rtvia_addr[0];
1: };
1:
1: struct ip_sf_list;
1:
1: struct ip_mc_list {
1: - struct in_device *interface;
1: - __be32 multiaddr;
1: - unsigned int sfmode;
1: - struct ip_sf_list *sources;
1: - struct ip_sf_list *tomb;
1: - long unsigned int sfcount[2];
1: - union {
1: - struct ip_mc_list *next;
1: - struct ip_mc_list *next_rcu;
1: - };
1: - struct ip_mc_list *next_hash;
1: - struct timer_list timer;
1: - int users;
1: - refcount_t refcnt;
1: - spinlock_t lock;
1: - char tm_running;
1: - char reporter;
1: - char unsolicit_count;
1: - char loaded;
1: - unsigned char gsquery;
1: - unsigned char crcount;
1: - struct callback_head rcu;
1: + struct in_device *interface;
1: + __be32 multiaddr;
1: + unsigned int sfmode;
1: + struct ip_sf_list *sources;
1: + struct ip_sf_list *tomb;
1: + long unsigned int sfcount[2];
1: + union {
1: + struct ip_mc_list *next;
1: + struct ip_mc_list *next_rcu;
1: + };
1: + struct ip_mc_list *next_hash;
1: + struct timer_list timer;
1: + int users;
1: + refcount_t refcnt;
1: + spinlock_t lock;
1: + char tm_running;
1: + char reporter;
1: + char unsolicit_count;
1: + char loaded;
1: + unsigned char gsquery;
1: + unsigned char crcount;
1: + struct callback_head rcu;
1: };
1:
1: struct ip_sf_socklist {
1: - unsigned int sl_max;
1: - unsigned int sl_count;
1: - struct callback_head rcu;
1: - __be32 sl_addr[0];
1: + unsigned int sl_max;
1: + unsigned int sl_count;
1: + struct callback_head rcu;
1: + __be32 sl_addr[0];
1: };
1:
1: struct ip_mc_socklist {
1: - struct ip_mc_socklist *next_rcu;
1: - struct ip_mreqn multi;
1: - unsigned int sfmode;
1: - struct ip_sf_socklist *sflist;
1: - struct callback_head rcu;
1: + struct ip_mc_socklist *next_rcu;
1: + struct ip_mreqn multi;
1: + unsigned int sfmode;
1: + struct ip_sf_socklist *sflist;
1: + struct callback_head rcu;
1: };
1:
1: struct ip_sf_list {
1: - struct ip_sf_list *sf_next;
1: - long unsigned int sf_count[2];
1: - __be32 sf_inaddr;
1: - unsigned char sf_gsresp;
1: - unsigned char sf_oldin;
1: - unsigned char sf_crcount;
1: + struct ip_sf_list *sf_next;
1: + long unsigned int sf_count[2];
1: + __be32 sf_inaddr;
1: + unsigned char sf_gsresp;
1: + unsigned char sf_oldin;
1: + unsigned char sf_crcount;
1: };
1:
1: struct ipv4_addr_key {
1: - __be32 addr;
1: - int vif;
1: + __be32 addr;
1: + int vif;
1: };
1:
1: struct inetpeer_addr {
1: - union {
1: - struct ipv4_addr_key a4;
1: - struct in6_addr a6;
1: - u32 key[4];
1: - };
1: - __u16 family;
1: + union {
1: + struct ipv4_addr_key a4;
1: + struct in6_addr a6;
1: + u32 key[4];
1: + };
1: + __u16 family;
1: };
1:
1: struct inet_peer {
1: - struct rb_node rb_node;
1: - struct inetpeer_addr daddr;
1: - u32 metrics[17];
1: - u32 rate_tokens;
1: - u32 n_redirects;
1: - long unsigned int rate_last;
1: - union {
1: - struct {
1: - atomic_t rid;
1: - };
1: - struct callback_head rcu;
1: - };
1: - __u32 dtime;
1: - refcount_t refcnt;
1: + struct rb_node rb_node;
1: + struct inetpeer_addr daddr;
1: + u32 metrics[17];
1: + u32 rate_tokens;
1: + u32 n_redirects;
1: + long unsigned int rate_last;
1: + union {
1: + struct {
1: + atomic_t rid;
1: + };
1: + struct callback_head rcu;
1: + };
1: + __u32 dtime;
1: + refcount_t refcnt;
1: };
1:
1: struct uncached_list {
1: - spinlock_t lock;
1: - struct list_head head;
1: + spinlock_t lock;
1: + struct list_head head;
1: };
1:
1: struct rt_cache_stat {
1: - unsigned int in_slow_tot;
1: - unsigned int in_slow_mc;
1: - unsigned int in_no_route;
1: - unsigned int in_brd;
1: - unsigned int in_martian_dst;
1: - unsigned int in_martian_src;
1: - unsigned int out_slow_tot;
1: - unsigned int out_slow_mc;
1: + unsigned int in_slow_tot;
1: + unsigned int in_slow_mc;
1: + unsigned int in_no_route;
1: + unsigned int in_brd;
1: + unsigned int in_martian_dst;
1: + unsigned int in_martian_src;
1: + unsigned int out_slow_tot;
1: + unsigned int out_slow_mc;
1: };
1:
1: struct fib_prop {
1: - int error;
1: - u8 scope;
1: + int error;
1: + u8 scope;
1: };
1:
1: struct net_offload {
1: - struct offload_callbacks callbacks;
1: - unsigned int flags;
1: + struct offload_callbacks callbacks;
1: + unsigned int flags;
1: };
1:
1: struct raw_hashinfo {
1: - rwlock_t lock;
1: - struct hlist_head ht[256];
1: + rwlock_t lock;
1: + struct hlist_head ht[256];
1: };
1:
1: enum ip_defrag_users {
1: - IP_DEFRAG_LOCAL_DELIVER = 0,
1: - IP_DEFRAG_CALL_RA_CHAIN = 1,
1: - IP_DEFRAG_CONNTRACK_IN = 2,
1: - __IP_DEFRAG_CONNTRACK_IN_END = 65537,
1: - IP_DEFRAG_CONNTRACK_OUT = 65538,
1: - __IP_DEFRAG_CONNTRACK_OUT_END = 131073,
1: - IP_DEFRAG_CONNTRACK_BRIDGE_IN = 131074,
1: - __IP_DEFRAG_CONNTRACK_BRIDGE_IN = 196609,
1: - IP_DEFRAG_VS_IN = 196610,
1: - IP_DEFRAG_VS_OUT = 196611,
1: - IP_DEFRAG_VS_FWD = 196612,
1: - IP_DEFRAG_AF_PACKET = 196613,
1: - IP_DEFRAG_MACVLAN = 196614,
1: + IP_DEFRAG_LOCAL_DELIVER = 0,
1: + IP_DEFRAG_CALL_RA_CHAIN = 1,
1: + IP_DEFRAG_CONNTRACK_IN = 2,
1: + __IP_DEFRAG_CONNTRACK_IN_END = 65537,
1: + IP_DEFRAG_CONNTRACK_OUT = 65538,
1: + __IP_DEFRAG_CONNTRACK_OUT_END = 131073,
1: + IP_DEFRAG_CONNTRACK_BRIDGE_IN = 131074,
1: + __IP_DEFRAG_CONNTRACK_BRIDGE_IN = 196609,
1: + IP_DEFRAG_VS_IN = 196610,
1: + IP_DEFRAG_VS_OUT = 196611,
1: + IP_DEFRAG_VS_FWD = 196612,
1: + IP_DEFRAG_AF_PACKET = 196613,
1: + IP_DEFRAG_MACVLAN = 196614,
1: };
1:
1: enum {
1: - INET_FRAG_FIRST_IN = 1,
1: - INET_FRAG_LAST_IN = 2,
1: - INET_FRAG_COMPLETE = 4,
1: - INET_FRAG_HASH_DEAD = 8,
1: + INET_FRAG_FIRST_IN = 1,
1: + INET_FRAG_LAST_IN = 2,
1: + INET_FRAG_COMPLETE = 4,
1: + INET_FRAG_HASH_DEAD = 8,
1: };
1:
1: struct ipq {
1: - struct inet_frag_queue q;
1: - u8 ecn;
1: - u16 max_df_size;
1: - int iif;
1: - unsigned int rid;
1: - struct inet_peer *peer;
1: + struct inet_frag_queue q;
1: + u8 ecn;
1: + u16 max_df_size;
1: + int iif;
1: + unsigned int rid;
1: + struct inet_peer *peer;
1: };
1:
1: struct ip_options_data {
1: - struct ip_options_rcu opt;
1: - char data[40];
1: + struct ip_options_rcu opt;
1: + char data[40];
1: };
1:
1: struct ipcm_cookie {
1: - struct sockcm_cookie sockc;
1: - __be32 addr;
1: - int oif;
1: - struct ip_options_rcu *opt;
1: - __u8 ttl;
1: - __s16 tos;
1: - char priority;
1: - __u16 gso_size;
1: + struct sockcm_cookie sockc;
1: + __be32 addr;
1: + int oif;
1: + struct ip_options_rcu *opt;
1: + __u8 ttl;
1: + __s16 tos;
1: + char priority;
1: + __u16 gso_size;
1: };
1:
1: struct ip_fraglist_iter {
1: - struct sk_buff *frag;
1: - struct iphdr *iph;
1: - int offset;
1: - unsigned int hlen;
1: + struct sk_buff *frag;
1: + struct iphdr *iph;
1: + int offset;
1: + unsigned int hlen;
1: };
1:
1: struct ip_frag_state {
1: - bool DF;
1: - unsigned int hlen;
1: - unsigned int ll_rs;
1: - unsigned int mtu;
1: - unsigned int left;
1: - int offset;
1: - int ptr;
1: - __be16 not_last_frag;
1: + bool DF;
1: + unsigned int hlen;
1: + unsigned int ll_rs;
1: + unsigned int mtu;
1: + unsigned int left;
1: + int offset;
1: + int ptr;
1: + __be16 not_last_frag;
1: };
1:
1: struct ip_reply_arg {
1: - struct kvec iov[1];
1: - int flags;
1: - __wsum csum;
1: - int csumoffset;
1: - int bound_dev_if;
1: - u8 tos;
1: - kuid_t uid;
1: + struct kvec iov[1];
1: + int flags;
1: + __wsum csum;
1: + int csumoffset;
1: + int bound_dev_if;
1: + u8 tos;
1: + kuid_t uid;
1: };
1:
1: enum {
1: - LWTUNNEL_XMIT_DONE = 0,
1: - LWTUNNEL_XMIT_CONTINUE = 1,
1: + LWTUNNEL_XMIT_DONE = 0,
1: + LWTUNNEL_XMIT_CONTINUE = 1,
1: };
1:
1: struct ip_mreq_source {
1: - __be32 imr_multiaddr;
1: - __be32 imr_interface;
1: - __be32 imr_sourceaddr;
1: + __be32 imr_multiaddr;
1: + __be32 imr_interface;
1: + __be32 imr_sourceaddr;
1: };
1:
1: struct ip_msfilter {
1: - __be32 imsf_multiaddr;
1: - __be32 imsf_interface;
1: - __u32 imsf_fmode;
1: - __u32 imsf_numsrc;
1: - __be32 imsf_slist[1];
1: + __be32 imsf_multiaddr;
1: + __be32 imsf_interface;
1: + __u32 imsf_fmode;
1: + __u32 imsf_numsrc;
1: + __be32 imsf_slist[1];
1: };
1:
1: struct in_pktinfo {
1: - int ipi_ifindex;
1: - struct in_addr ipi_spec_dst;
1: - struct in_addr ipi_addr;
1: + int ipi_ifindex;
1: + struct in_addr ipi_spec_dst;
1: + struct in_addr ipi_addr;
1: };
1:
1: struct inet_timewait_sock {
1: - struct sock_common __tw_common;
1: - __u32 tw_mark;
1: - volatile unsigned char tw_substate;
1: - unsigned char tw_rcv_wscale;
1: - __be16 tw_sport;
1: - unsigned int tw_kill: 1;
1: - unsigned int tw_transparent: 1;
1: - unsigned int tw_flowlabel: 20;
1: - unsigned int tw_pad: 2;
1: - unsigned int tw_tos: 8;
1: - u32 tw_txhash;
1: - u32 tw_priority;
1: - struct timer_list tw_timer;
1: - struct inet_bind_bucket *tw_tb;
1: + struct sock_common __tw_common;
1: + __u32 tw_mark;
1: + volatile unsigned char tw_substate;
1: + unsigned char tw_rcv_wscale;
1: + __be16 tw_sport;
1: + unsigned int tw_kill : 1;
1: + unsigned int tw_transparent : 1;
1: + unsigned int tw_flowlabel : 20;
1: + unsigned int tw_pad : 2;
1: + unsigned int tw_tos : 8;
1: + u32 tw_txhash;
1: + u32 tw_priority;
1: + struct timer_list tw_timer;
1: + struct inet_bind_bucket *tw_tb;
1: };
1:
1: struct tcpvegas_info {
1: - __u32 tcpv_enabled;
1: - __u32 tcpv_rttcnt;
1: - __u32 tcpv_rtt;
1: - __u32 tcpv_minrtt;
1: + __u32 tcpv_enabled;
1: + __u32 tcpv_rttcnt;
1: + __u32 tcpv_rtt;
1: + __u32 tcpv_minrtt;
1: };
1:
1: struct tcp_dctcp_info {
1: - __u16 dctcp_enabled;
1: - __u16 dctcp_ce_state;
1: - __u32 dctcp_alpha;
1: - __u32 dctcp_ab_ecn;
1: - __u32 dctcp_ab_tot;
1: + __u16 dctcp_enabled;
1: + __u16 dctcp_ce_state;
1: + __u32 dctcp_alpha;
1: + __u32 dctcp_ab_ecn;
1: + __u32 dctcp_ab_tot;
1: };
1:
1: struct tcp_bbr_info {
1: - __u32 bbr_bw_lo;
1: - __u32 bbr_bw_hi;
1: - __u32 bbr_min_rtt;
1: - __u32 bbr_pacing_gain;
1: - __u32 bbr_cwnd_gain;
1: + __u32 bbr_bw_lo;
1: + __u32 bbr_bw_hi;
1: + __u32 bbr_min_rtt;
1: + __u32 bbr_pacing_gain;
1: + __u32 bbr_cwnd_gain;
1: };
1:
1: union tcp_cc_info {
1: - struct tcpvegas_info vegas;
1: - struct tcp_dctcp_info dctcp;
1: - struct tcp_bbr_info bbr;
1: + struct tcpvegas_info vegas;
1: + struct tcp_dctcp_info dctcp;
1: + struct tcp_bbr_info bbr;
1: };
1:
1: enum {
1: - BPF_TCP_ESTABLISHED = 1,
1: - BPF_TCP_SYN_SENT = 2,
1: - BPF_TCP_SYN_RECV = 3,
1: - BPF_TCP_FIN_WAIT1 = 4,
1: - BPF_TCP_FIN_WAIT2 = 5,
1: - BPF_TCP_TIME_WAIT = 6,
1: - BPF_TCP_CLOSE = 7,
1: - BPF_TCP_CLOSE_WAIT = 8,
1: - BPF_TCP_LAST_ACK = 9,
1: - BPF_TCP_LISTEN = 10,
1: - BPF_TCP_CLOSING = 11,
1: - BPF_TCP_NEW_SYN_RECV = 12,
1: - BPF_TCP_MAX_STATES = 13,
1: + BPF_TCP_ESTABLISHED = 1,
1: + BPF_TCP_SYN_SENT = 2,
1: + BPF_TCP_SYN_RECV = 3,
1: + BPF_TCP_FIN_WAIT1 = 4,
1: + BPF_TCP_FIN_WAIT2 = 5,
1: + BPF_TCP_TIME_WAIT = 6,
1: + BPF_TCP_CLOSE = 7,
1: + BPF_TCP_CLOSE_WAIT = 8,
1: + BPF_TCP_LAST_ACK = 9,
1: + BPF_TCP_LISTEN = 10,
1: + BPF_TCP_CLOSING = 11,
1: + BPF_TCP_NEW_SYN_RECV = 12,
1: + BPF_TCP_MAX_STATES = 13,
1: };
1:
1: enum inet_csk_ack_state_t {
1: - ICSK_ACK_SCHED = 1,
1: - ICSK_ACK_TIMER = 2,
1: - ICSK_ACK_PUSHED = 4,
1: - ICSK_ACK_PUSHED2 = 8,
1: - ICSK_ACK_NOW = 16,
1: + ICSK_ACK_SCHED = 1,
1: + ICSK_ACK_TIMER = 2,
1: + ICSK_ACK_PUSHED = 4,
1: + ICSK_ACK_PUSHED2 = 8,
1: + ICSK_ACK_NOW = 16,
1: };
1:
1: struct tcp_repair_opt {
1: - __u32 opt_code;
1: - __u32 opt_val;
1: + __u32 opt_code;
1: + __u32 opt_val;
1: };
1:
1: struct tcp_repair_window {
1: - __u32 snd_wl1;
1: - __u32 snd_wnd;
1: - __u32 max_window;
1: - __u32 rcv_wnd;
1: - __u32 rcv_wup;
1: + __u32 snd_wl1;
1: + __u32 snd_wnd;
1: + __u32 max_window;
1: + __u32 rcv_wnd;
1: + __u32 rcv_wup;
1: };
1:
1: enum {
1: - TCP_NO_QUEUE = 0,
1: - TCP_RECV_QUEUE = 1,
1: - TCP_SEND_QUEUE = 2,
1: - TCP_QUEUES_NR = 3,
1: + TCP_NO_QUEUE = 0,
1: + TCP_RECV_QUEUE = 1,
1: + TCP_SEND_QUEUE = 2,
1: + TCP_QUEUES_NR = 3,
1: };
1:
1: struct tcp_info {
1: - __u8 tcpi_state;
1: - __u8 tcpi_ca_state;
1: - __u8 tcpi_retransmits;
1: - __u8 tcpi_probes;
1: - __u8 tcpi_backoff;
1: - __u8 tcpi_options;
1: - __u8 tcpi_snd_wscale: 4;
1: - __u8 tcpi_rcv_wscale: 4;
1: - __u8 tcpi_delivery_rate_app_limited: 1;
1: - __u8 tcpi_fastopen_client_fail: 2;
1: - __u32 tcpi_rto;
1: - __u32 tcpi_ato;
1: - __u32 tcpi_snd_mss;
1: - __u32 tcpi_rcv_mss;
1: - __u32 tcpi_unacked;
1: - __u32 tcpi_sacked;
1: - __u32 tcpi_lost;
1: - __u32 tcpi_retrans;
1: - __u32 tcpi_fackets;
1: - __u32 tcpi_last_data_sent;
1: - __u32 tcpi_last_ack_sent;
1: - __u32 tcpi_last_data_recv;
1: - __u32 tcpi_last_ack_recv;
1: - __u32 tcpi_pmtu;
1: - __u32 tcpi_rcv_ssthresh;
1: - __u32 tcpi_rtt;
1: - __u32 tcpi_rttvar;
1: - __u32 tcpi_snd_ssthresh;
1: - __u32 tcpi_snd_cwnd;
1: - __u32 tcpi_advmss;
1: - __u32 tcpi_reordering;
1: - __u32 tcpi_rcv_rtt;
1: - __u32 tcpi_rcv_space;
1: - __u32 tcpi_total_retrans;
1: - __u64 tcpi_pacing_rate;
1: - __u64 tcpi_max_pacing_rate;
1: - __u64 tcpi_bytes_acked;
1: - __u64 tcpi_bytes_received;
1: - __u32 tcpi_segs_out;
1: - __u32 tcpi_segs_in;
1: - __u32 tcpi_notsent_bytes;
1: - __u32 tcpi_min_rtt;
1: - __u32 tcpi_data_segs_in;
1: - __u32 tcpi_data_segs_out;
1: - __u64 tcpi_delivery_rate;
1: - __u64 tcpi_busy_time;
1: - __u64 tcpi_rwnd_limited;
1: - __u64 tcpi_sndbuf_limited;
1: - __u32 tcpi_delivered;
1: - __u32 tcpi_delivered_ce;
1: - __u64 tcpi_bytes_sent;
1: - __u64 tcpi_bytes_retrans;
1: - __u32 tcpi_dsack_dups;
1: - __u32 tcpi_reord_seen;
1: - __u32 tcpi_rcv_ooopack;
1: - __u32 tcpi_snd_wnd;
1: -};
1: -
1: -enum {
1: - TCP_NLA_PAD = 0,
1: - TCP_NLA_BUSY = 1,
1: - TCP_NLA_RWND_LIMITED = 2,
1: - TCP_NLA_SNDBUF_LIMITED = 3,
1: - TCP_NLA_DATA_SEGS_OUT = 4,
1: - TCP_NLA_TOTAL_RETRANS = 5,
1: - TCP_NLA_PACING_RATE = 6,
1: - TCP_NLA_DELIVERY_RATE = 7,
1: - TCP_NLA_SND_CWND = 8,
1: - TCP_NLA_REORDERING = 9,
1: - TCP_NLA_MIN_RTT = 10,
1: - TCP_NLA_RECUR_RETRANS = 11,
1: - TCP_NLA_DELIVERY_RATE_APP_LMT = 12,
1: - TCP_NLA_SNDQ_SIZE = 13,
1: - TCP_NLA_CA_STATE = 14,
1: - TCP_NLA_SND_SSTHRESH = 15,
1: - TCP_NLA_DELIVERED = 16,
1: - TCP_NLA_DELIVERED_CE = 17,
1: - TCP_NLA_BYTES_SENT = 18,
1: - TCP_NLA_BYTES_RETRANS = 19,
1: - TCP_NLA_DSACK_DUPS = 20,
1: - TCP_NLA_REORD_SEEN = 21,
1: - TCP_NLA_SRTT = 22,
1: + __u8 tcpi_state;
1: + __u8 tcpi_ca_state;
1: + __u8 tcpi_retransmits;
1: + __u8 tcpi_probes;
1: + __u8 tcpi_backoff;
1: + __u8 tcpi_options;
1: + __u8 tcpi_snd_wscale : 4;
1: + __u8 tcpi_rcv_wscale : 4;
1: + __u8 tcpi_delivery_rate_app_limited : 1;
1: + __u8 tcpi_fastopen_client_fail : 2;
1: + __u32 tcpi_rto;
1: + __u32 tcpi_ato;
1: + __u32 tcpi_snd_mss;
1: + __u32 tcpi_rcv_mss;
1: + __u32 tcpi_unacked;
1: + __u32 tcpi_sacked;
1: + __u32 tcpi_lost;
1: + __u32 tcpi_retrans;
1: + __u32 tcpi_fackets;
1: + __u32 tcpi_last_data_sent;
1: + __u32 tcpi_last_ack_sent;
1: + __u32 tcpi_last_data_recv;
1: + __u32 tcpi_last_ack_recv;
1: + __u32 tcpi_pmtu;
1: + __u32 tcpi_rcv_ssthresh;
1: + __u32 tcpi_rtt;
1: + __u32 tcpi_rttvar;
1: + __u32 tcpi_snd_ssthresh;
1: + __u32 tcpi_snd_cwnd;
1: + __u32 tcpi_advmss;
1: + __u32 tcpi_reordering;
1: + __u32 tcpi_rcv_rtt;
1: + __u32 tcpi_rcv_space;
1: + __u32 tcpi_total_retrans;
1: + __u64 tcpi_pacing_rate;
1: + __u64 tcpi_max_pacing_rate;
1: + __u64 tcpi_bytes_acked;
1: + __u64 tcpi_bytes_received;
1: + __u32 tcpi_segs_out;
1: + __u32 tcpi_segs_in;
1: + __u32 tcpi_notsent_bytes;
1: + __u32 tcpi_min_rtt;
1: + __u32 tcpi_data_segs_in;
1: + __u32 tcpi_data_segs_out;
1: + __u64 tcpi_delivery_rate;
1: + __u64 tcpi_busy_time;
1: + __u64 tcpi_rwnd_limited;
1: + __u64 tcpi_sndbuf_limited;
1: + __u32 tcpi_delivered;
1: + __u32 tcpi_delivered_ce;
1: + __u64 tcpi_bytes_sent;
1: + __u64 tcpi_bytes_retrans;
1: + __u32 tcpi_dsack_dups;
1: + __u32 tcpi_reord_seen;
1: + __u32 tcpi_rcv_ooopack;
1: + __u32 tcpi_snd_wnd;
1: +};
1: +
1: +enum {
1: + TCP_NLA_PAD = 0,
1: + TCP_NLA_BUSY = 1,
1: + TCP_NLA_RWND_LIMITED = 2,
1: + TCP_NLA_SNDBUF_LIMITED = 3,
1: + TCP_NLA_DATA_SEGS_OUT = 4,
1: + TCP_NLA_TOTAL_RETRANS = 5,
1: + TCP_NLA_PACING_RATE = 6,
1: + TCP_NLA_DELIVERY_RATE = 7,
1: + TCP_NLA_SND_CWND = 8,
1: + TCP_NLA_REORDERING = 9,
1: + TCP_NLA_MIN_RTT = 10,
1: + TCP_NLA_RECUR_RETRANS = 11,
1: + TCP_NLA_DELIVERY_RATE_APP_LMT = 12,
1: + TCP_NLA_SNDQ_SIZE = 13,
1: + TCP_NLA_CA_STATE = 14,
1: + TCP_NLA_SND_SSTHRESH = 15,
1: + TCP_NLA_DELIVERED = 16,
1: + TCP_NLA_DELIVERED_CE = 17,
1: + TCP_NLA_BYTES_SENT = 18,
1: + TCP_NLA_BYTES_RETRANS = 19,
1: + TCP_NLA_DSACK_DUPS = 20,
1: + TCP_NLA_REORD_SEEN = 21,
1: + TCP_NLA_SRTT = 22,
1: };
1:
1: struct tcp_zerocopy_receive {
1: - __u64 address;
1: - __u32 length;
1: - __u32 recv_skip_hint;
1: + __u64 address;
1: + __u32 length;
1: + __u32 recv_skip_hint;
1: };
1:
1: struct tcp_md5sig_pool {
1: - struct ahash_request *md5_req;
1: - void *scratch;
1: + struct ahash_request *md5_req;
1: + void *scratch;
1: };
1:
1: enum tcp_chrono {
1: - TCP_CHRONO_UNSPEC = 0,
1: - TCP_CHRONO_BUSY = 1,
1: - TCP_CHRONO_RWND_LIMITED = 2,
1: - TCP_CHRONO_SNDBUF_LIMITED = 3,
1: - __TCP_CHRONO_MAX = 4,
1: + TCP_CHRONO_UNSPEC = 0,
1: + TCP_CHRONO_BUSY = 1,
1: + TCP_CHRONO_RWND_LIMITED = 2,
1: + TCP_CHRONO_SNDBUF_LIMITED = 3,
1: + __TCP_CHRONO_MAX = 4,
1: };
1:
1: struct tcp_splice_state {
1: - struct pipe_inode_info *pipe;
1: - size_t len;
1: - unsigned int flags;
1: + struct pipe_inode_info *pipe;
1: + size_t len;
1: + unsigned int flags;
1: };
1:
1: enum tcp_fastopen_client_fail {
1: - TFO_STATUS_UNSPEC = 0,
1: - TFO_COOKIE_UNAVAILABLE = 1,
1: - TFO_DATA_NOT_ACKED = 2,
1: - TFO_SYN_RETRANSMITTED = 3,
1: + TFO_STATUS_UNSPEC = 0,
1: + TFO_COOKIE_UNAVAILABLE = 1,
1: + TFO_DATA_NOT_ACKED = 2,
1: + TFO_SYN_RETRANSMITTED = 3,
1: };
1:
1: enum tcp_queue {
1: - TCP_FRAG_IN_WRITE_QUEUE = 0,
1: - TCP_FRAG_IN_RTX_QUEUE = 1,
1: + TCP_FRAG_IN_WRITE_QUEUE = 0,
1: + TCP_FRAG_IN_RTX_QUEUE = 1,
1: };
1:
1: enum tcp_ca_ack_event_flags {
1: - CA_ACK_SLOWPATH = 1,
1: - CA_ACK_WIN_UPDATE = 2,
1: - CA_ACK_ECE = 4,
1: + CA_ACK_SLOWPATH = 1,
1: + CA_ACK_WIN_UPDATE = 2,
1: + CA_ACK_ECE = 4,
1: };
1:
1: struct tcp_sacktag_state {
1: - u32 reord;
1: - u64 first_sackt;
1: - u64 last_sackt;
1: - struct rate_sample *rate;
1: - int flag;
1: - unsigned int mss_now;
1: + u32 reord;
1: + u64 first_sackt;
1: + u64 last_sackt;
1: + struct rate_sample *rate;
1: + int flag;
1: + unsigned int mss_now;
1: };
1:
1: enum tsq_flags {
1: - TSQF_THROTTLED = 1,
1: - TSQF_QUEUED = 2,
1: - TCPF_TSQ_DEFERRED = 4,
1: - TCPF_WRITE_TIMER_DEFERRED = 8,
1: - TCPF_DELACK_TIMER_DEFERRED = 16,
1: - TCPF_MTU_REDUCED_DEFERRED = 32,
1: + TSQF_THROTTLED = 1,
1: + TSQF_QUEUED = 2,
1: + TCPF_TSQ_DEFERRED = 4,
1: + TCPF_WRITE_TIMER_DEFERRED = 8,
1: + TCPF_DELACK_TIMER_DEFERRED = 16,
1: + TCPF_MTU_REDUCED_DEFERRED = 32,
1: };
1:
1: struct tcp_out_options {
1: - u16 options;
1: - u16 mss;
1: - u8 ws;
1: - u8 num_sack_blocks;
1: - u8 hash_size;
1: - __u8 *hash_location;
1: - __u32 tsval;
1: - __u32 tsecr;
1: - struct tcp_fastopen_cookie *fastopen_cookie;
1: + u16 options;
1: + u16 mss;
1: + u8 ws;
1: + u8 num_sack_blocks;
1: + u8 hash_size;
1: + __u8 *hash_location;
1: + __u32 tsval;
1: + __u32 tsecr;
1: + struct tcp_fastopen_cookie *fastopen_cookie;
1: };
1:
1: struct tsq_tasklet {
1: - struct tasklet_struct tasklet;
1: - struct list_head head;
1: + struct tasklet_struct tasklet;
1: + struct list_head head;
1: };
1:
1: struct tcp_md5sig {
1: - struct __kernel_sockaddr_storage tcpm_addr;
1: - __u8 tcpm_flags;
1: - __u8 tcpm_prefixlen;
1: - __u16 tcpm_keylen;
1: - __u32 __tcpm_pad;
1: - __u8 tcpm_key[80];
1: + struct __kernel_sockaddr_storage tcpm_addr;
1: + __u8 tcpm_flags;
1: + __u8 tcpm_prefixlen;
1: + __u16 tcpm_keylen;
1: + __u32 __tcpm_pad;
1: + __u8 tcpm_key[80];
1: };
1:
1: struct tcp_timewait_sock {
1: - struct inet_timewait_sock tw_sk;
1: - u32 tw_rcv_wnd;
1: - u32 tw_ts_offset;
1: - u32 tw_ts_recent;
1: - u32 tw_last_oow_ack_time;
1: - int tw_ts_recent_stamp;
1: - u32 tw_tx_delay;
1: - struct tcp_md5sig_key *tw_md5_key;
1: + struct inet_timewait_sock tw_sk;
1: + u32 tw_rcv_wnd;
1: + u32 tw_ts_offset;
1: + u32 tw_ts_recent;
1: + u32 tw_last_oow_ack_time;
1: + int tw_ts_recent_stamp;
1: + u32 tw_tx_delay;
1: + struct tcp_md5sig_key *tw_md5_key;
1: };
1:
1: struct icmp_err {
1: - int errno;
1: - unsigned int fatal: 1;
1: + int errno;
1: + unsigned int fatal : 1;
1: };
1:
1: enum tcp_tw_status {
1: - TCP_TW_SUCCESS = 0,
1: - TCP_TW_RST = 1,
1: - TCP_TW_ACK = 2,
1: - TCP_TW_SYN = 3,
1: + TCP_TW_SUCCESS = 0,
1: + TCP_TW_RST = 1,
1: + TCP_TW_ACK = 2,
1: + TCP_TW_SYN = 3,
1: };
1:
1: struct tcp4_pseudohdr {
1: - __be32 saddr;
1: - __be32 daddr;
1: - __u8 pad;
1: - __u8 protocol;
1: - __be16 len;
1: + __be32 saddr;
1: + __be32 daddr;
1: + __u8 pad;
1: + __u8 protocol;
1: + __be16 len;
1: };
1:
1: enum tcp_seq_states {
1: - TCP_SEQ_STATE_LISTENING = 0,
1: - TCP_SEQ_STATE_ESTABLISHED = 1,
1: + TCP_SEQ_STATE_LISTENING = 0,
1: + TCP_SEQ_STATE_ESTABLISHED = 1,
1: };
1:
1: struct tcp_seq_afinfo {
1: - sa_family_t family;
1: + sa_family_t family;
1: };
1:
1: struct tcp_iter_state {
1: - struct seq_net_private p;
1: - enum tcp_seq_states state;
1: - struct sock *syn_wait_sk;
1: - int bucket;
1: - int offset;
1: - int sbucket;
1: - int num;
1: - loff_t last_pos;
1: + struct seq_net_private p;
1: + enum tcp_seq_states state;
1: + struct sock *syn_wait_sk;
1: + int bucket;
1: + int offset;
1: + int sbucket;
1: + int num;
1: + loff_t last_pos;
1: };
1:
1: enum tcp_metric_index {
1: - TCP_METRIC_RTT = 0,
1: - TCP_METRIC_RTTVAR = 1,
1: - TCP_METRIC_SSTHRESH = 2,
1: - TCP_METRIC_CWND = 3,
1: - TCP_METRIC_REORDERING = 4,
1: - TCP_METRIC_RTT_US = 5,
1: - TCP_METRIC_RTTVAR_US = 6,
1: - __TCP_METRIC_MAX = 7,
1: + TCP_METRIC_RTT = 0,
1: + TCP_METRIC_RTTVAR = 1,
1: + TCP_METRIC_SSTHRESH = 2,
1: + TCP_METRIC_CWND = 3,
1: + TCP_METRIC_REORDERING = 4,
1: + TCP_METRIC_RTT_US = 5,
1: + TCP_METRIC_RTTVAR_US = 6,
1: + __TCP_METRIC_MAX = 7,
1: };
1:
1: enum {
1: - TCP_METRICS_ATTR_UNSPEC = 0,
1: - TCP_METRICS_ATTR_ADDR_IPV4 = 1,
1: - TCP_METRICS_ATTR_ADDR_IPV6 = 2,
1: - TCP_METRICS_ATTR_AGE = 3,
1: - TCP_METRICS_ATTR_TW_TSVAL = 4,
1: - TCP_METRICS_ATTR_TW_TS_STAMP = 5,
1: - TCP_METRICS_ATTR_VALS = 6,
1: - TCP_METRICS_ATTR_FOPEN_MSS = 7,
1: - TCP_METRICS_ATTR_FOPEN_SYN_DROPS = 8,
1: - TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS = 9,
1: - TCP_METRICS_ATTR_FOPEN_COOKIE = 10,
1: - TCP_METRICS_ATTR_SADDR_IPV4 = 11,
1: - TCP_METRICS_ATTR_SADDR_IPV6 = 12,
1: - TCP_METRICS_ATTR_PAD = 13,
1: - __TCP_METRICS_ATTR_MAX = 14,
1: + TCP_METRICS_ATTR_UNSPEC = 0,
1: + TCP_METRICS_ATTR_ADDR_IPV4 = 1,
1: + TCP_METRICS_ATTR_ADDR_IPV6 = 2,
1: + TCP_METRICS_ATTR_AGE = 3,
1: + TCP_METRICS_ATTR_TW_TSVAL = 4,
1: + TCP_METRICS_ATTR_TW_TS_STAMP = 5,
1: + TCP_METRICS_ATTR_VALS = 6,
1: + TCP_METRICS_ATTR_FOPEN_MSS = 7,
1: + TCP_METRICS_ATTR_FOPEN_SYN_DROPS = 8,
1: + TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS = 9,
1: + TCP_METRICS_ATTR_FOPEN_COOKIE = 10,
1: + TCP_METRICS_ATTR_SADDR_IPV4 = 11,
1: + TCP_METRICS_ATTR_SADDR_IPV6 = 12,
1: + TCP_METRICS_ATTR_PAD = 13,
1: + __TCP_METRICS_ATTR_MAX = 14,
1: };
1:
1: enum {
1: - TCP_METRICS_CMD_UNSPEC = 0,
1: - TCP_METRICS_CMD_GET = 1,
1: - TCP_METRICS_CMD_DEL = 2,
1: - __TCP_METRICS_CMD_MAX = 3,
1: + TCP_METRICS_CMD_UNSPEC = 0,
1: + TCP_METRICS_CMD_GET = 1,
1: + TCP_METRICS_CMD_DEL = 2,
1: + __TCP_METRICS_CMD_MAX = 3,
1: };
1:
1: struct tcp_fastopen_metrics {
1: - u16 mss;
1: - u16 syn_loss: 10;
1: - u16 try_exp: 2;
1: - long unsigned int last_syn_loss;
1: - struct tcp_fastopen_cookie cookie;
1: + u16 mss;
1: + u16 syn_loss : 10;
1: + u16 try_exp : 2;
1: + long unsigned int last_syn_loss;
1: + struct tcp_fastopen_cookie cookie;
1: };
1:
1: struct tcp_metrics_block {
1: - struct tcp_metrics_block *tcpm_next;
1: - possible_net_t tcpm_net;
1: - struct inetpeer_addr tcpm_saddr;
1: - struct inetpeer_addr tcpm_daddr;
1: - long unsigned int tcpm_stamp;
1: - u32 tcpm_lock;
1: - u32 tcpm_vals[5];
1: - struct tcp_fastopen_metrics tcpm_fastopen;
1: - struct callback_head callback_head;
1: + struct tcp_metrics_block *tcpm_next;
1: + possible_net_t tcpm_net;
1: + struct inetpeer_addr tcpm_saddr;
1: + struct inetpeer_addr tcpm_daddr;
1: + long unsigned int tcpm_stamp;
1: + u32 tcpm_lock;
1: + u32 tcpm_vals[5];
1: + struct tcp_fastopen_metrics tcpm_fastopen;
1: + struct callback_head callback_head;
1: };
1:
1: struct tcpm_hash_bucket {
1: - struct tcp_metrics_block *chain;
1: + struct tcp_metrics_block *chain;
1: };
1:
1: struct icmp_filter {
1: - __u32 data;
1: + __u32 data;
1: };
1:
1: struct raw_iter_state {
1: - struct seq_net_private p;
1: - int bucket;
1: + struct seq_net_private p;
1: + int bucket;
1: };
1:
1: struct raw_sock {
1: - struct inet_sock inet;
1: - struct icmp_filter filter;
1: - u32 ipmr_table;
1: + struct inet_sock inet;
1: + struct icmp_filter filter;
1: + u32 ipmr_table;
1: };
1:
1: struct raw_frag_vec {
1: - struct msghdr *msg;
1: - union {
1: - struct icmphdr icmph;
1: - char c[1];
1: - } hdr;
1: - int hlen;
1: + struct msghdr *msg;
1: + union {
1: + struct icmphdr icmph;
1: + char c[1];
1: + } hdr;
1: + int hlen;
1: };
1:
1: struct udp_sock {
1: - struct inet_sock inet;
1: - int pending;
1: - unsigned int corkflag;
1: - __u8 encap_type;
1: - unsigned char no_check6_tx: 1;
1: - unsigned char no_check6_rx: 1;
1: - unsigned char encap_enabled: 1;
1: - unsigned char gro_enabled: 1;
1: - __u16 len;
1: - __u16 gso_size;
1: - __u16 pcslen;
1: - __u16 pcrlen;
1: - __u8 pcflag;
1: - __u8 unused[3];
1: - int (*encap_rcv)(struct sock *, struct sk_buff *);
1: - int (*encap_err_lookup)(struct sock *, struct sk_buff *);
1: - void (*encap_destroy)(struct sock *);
1: - struct sk_buff * (*gro_receive)(struct sock *, struct list_head *, struct sk_buff *);
1: - int (*gro_complete)(struct sock *, struct sk_buff *, int);
1: - long: 64;
1: - long: 64;
1: - struct sk_buff_head reader_queue;
1: - int forward_deficit;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct inet_sock inet;
1: + int pending;
1: + unsigned int corkflag;
1: + __u8 encap_type;
1: + unsigned char no_check6_tx : 1;
1: + unsigned char no_check6_rx : 1;
1: + unsigned char encap_enabled : 1;
1: + unsigned char gro_enabled : 1;
1: + __u16 len;
1: + __u16 gso_size;
1: + __u16 pcslen;
1: + __u16 pcrlen;
1: + __u8 pcflag;
1: + __u8 unused[3];
1: + int (*encap_rcv)(struct sock *, struct sk_buff *);
1: + int (*encap_err_lookup)(struct sock *, struct sk_buff *);
1: + void (*encap_destroy)(struct sock *);
1: + struct sk_buff *(*gro_receive)(struct sock *, struct list_head *,
1: + struct sk_buff *);
1: + int (*gro_complete)(struct sock *, struct sk_buff *, int);
1: + long : 64;
1: + long : 64;
1: + struct sk_buff_head reader_queue;
1: + int forward_deficit;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct udp_skb_cb {
1: - union {
1: - struct inet_skb_parm h4;
1: - struct inet6_skb_parm h6;
1: - } header;
1: - __u16 cscov;
1: - __u8 partial_cov;
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + __u16 cscov;
1: + __u8 partial_cov;
1: };
1:
1: struct udp_dev_scratch {
1: - u32 _tsize_state;
1: - u16 len;
1: - bool is_linear;
1: - bool csum_unnecessary;
1: + u32 _tsize_state;
1: + u16 len;
1: + bool is_linear;
1: + bool csum_unnecessary;
1: };
1:
1: struct udp_seq_afinfo {
1: - sa_family_t family;
1: - struct udp_table *udp_table;
1: + sa_family_t family;
1: + struct udp_table *udp_table;
1: };
1:
1: struct udp_iter_state {
1: - struct seq_net_private p;
1: - int bucket;
1: + struct seq_net_private p;
1: + int bucket;
1: };
1:
1: struct inet_protosw {
1: - struct list_head list;
1: - short unsigned int type;
1: - short unsigned int protocol;
1: - struct proto *prot;
1: - const struct proto_ops *ops;
1: - unsigned char flags;
1: + struct list_head list;
1: + short unsigned int type;
1: + short unsigned int protocol;
1: + struct proto *prot;
1: + const struct proto_ops *ops;
1: + unsigned char flags;
1: };
1:
1: -typedef struct sk_buff * (*gro_receive_sk_t)(struct sock *, struct list_head *, struct sk_buff *);
1: +typedef struct sk_buff *(*gro_receive_sk_t)(struct sock *, struct list_head *,
1: + struct sk_buff *);
1:
1: -typedef struct sock * (*udp_lookup_t)(struct sk_buff *, __be16, __be16);
1: +typedef struct sock *(*udp_lookup_t)(struct sk_buff *, __be16, __be16);
1:
1: struct arpreq {
1: - struct sockaddr arp_pa;
1: - struct sockaddr arp_ha;
1: - int arp_flags;
1: - struct sockaddr arp_netmask;
1: - char arp_dev[16];
1: + struct sockaddr arp_pa;
1: + struct sockaddr arp_ha;
1: + int arp_flags;
1: + struct sockaddr arp_netmask;
1: + char arp_dev[16];
1: };
1:
1: enum {
1: - AX25_VALUES_IPDEFMODE = 0,
1: - AX25_VALUES_AXDEFMODE = 1,
1: - AX25_VALUES_BACKOFF = 2,
1: - AX25_VALUES_CONMODE = 3,
1: - AX25_VALUES_WINDOW = 4,
1: - AX25_VALUES_EWINDOW = 5,
1: - AX25_VALUES_T1 = 6,
1: - AX25_VALUES_T2 = 7,
1: - AX25_VALUES_T3 = 8,
1: - AX25_VALUES_IDLE = 9,
1: - AX25_VALUES_N2 = 10,
1: - AX25_VALUES_PACLEN = 11,
1: - AX25_VALUES_PROTOCOL = 12,
1: - AX25_VALUES_DS_TIMEOUT = 13,
1: - AX25_MAX_VALUES = 14,
1: + AX25_VALUES_IPDEFMODE = 0,
1: + AX25_VALUES_AXDEFMODE = 1,
1: + AX25_VALUES_BACKOFF = 2,
1: + AX25_VALUES_CONMODE = 3,
1: + AX25_VALUES_WINDOW = 4,
1: + AX25_VALUES_EWINDOW = 5,
1: + AX25_VALUES_T1 = 6,
1: + AX25_VALUES_T2 = 7,
1: + AX25_VALUES_T3 = 8,
1: + AX25_VALUES_IDLE = 9,
1: + AX25_VALUES_N2 = 10,
1: + AX25_VALUES_PACLEN = 11,
1: + AX25_VALUES_PROTOCOL = 12,
1: + AX25_VALUES_DS_TIMEOUT = 13,
1: + AX25_MAX_VALUES = 14,
1: };
1:
1: enum {
1: - XFRM_LOOKUP_ICMP = 1,
1: - XFRM_LOOKUP_QUEUE = 2,
1: - XFRM_LOOKUP_KEEP_DST_REF = 4,
1: + XFRM_LOOKUP_ICMP = 1,
1: + XFRM_LOOKUP_QUEUE = 2,
1: + XFRM_LOOKUP_KEEP_DST_REF = 4,
1: };
1:
1: struct icmp_bxm {
1: - struct sk_buff *skb;
1: - int offset;
1: - int data_len;
1: - struct {
1: - struct icmphdr icmph;
1: - __be32 times[3];
1: - } data;
1: - int head_len;
1: - struct ip_options_data replyopts;
1: + struct sk_buff *skb;
1: + int offset;
1: + int data_len;
1: + struct {
1: + struct icmphdr icmph;
1: + __be32 times[3];
1: + } data;
1: + int head_len;
1: + struct ip_options_data replyopts;
1: };
1:
1: struct icmp_control {
1: - bool (*handler)(struct sk_buff *);
1: - short int error;
1: + bool (*handler)(struct sk_buff *);
1: + short int error;
1: };
1:
1: struct ifaddrmsg {
1: - __u8 ifa_family;
1: - __u8 ifa_prefixlen;
1: - __u8 ifa_flags;
1: - __u8 ifa_scope;
1: - __u32 ifa_index;
1: + __u8 ifa_family;
1: + __u8 ifa_prefixlen;
1: + __u8 ifa_flags;
1: + __u8 ifa_scope;
1: + __u32 ifa_index;
1: };
1:
1: enum {
1: - IFA_UNSPEC = 0,
1: - IFA_ADDRESS = 1,
1: - IFA_LOCAL = 2,
1: - IFA_LABEL = 3,
1: - IFA_BROADCAST = 4,
1: - IFA_ANYCAST = 5,
1: - IFA_CACHEINFO = 6,
1: - IFA_MULTICAST = 7,
1: - IFA_FLAGS = 8,
1: - IFA_RT_PRIORITY = 9,
1: - IFA_TARGET_NETNSID = 10,
1: - __IFA_MAX = 11,
1: + IFA_UNSPEC = 0,
1: + IFA_ADDRESS = 1,
1: + IFA_LOCAL = 2,
1: + IFA_LABEL = 3,
1: + IFA_BROADCAST = 4,
1: + IFA_ANYCAST = 5,
1: + IFA_CACHEINFO = 6,
1: + IFA_MULTICAST = 7,
1: + IFA_FLAGS = 8,
1: + IFA_RT_PRIORITY = 9,
1: + IFA_TARGET_NETNSID = 10,
1: + __IFA_MAX = 11,
1: };
1:
1: struct ifa_cacheinfo {
1: - __u32 ifa_prefered;
1: - __u32 ifa_valid;
1: - __u32 cstamp;
1: - __u32 tstamp;
1: + __u32 ifa_prefered;
1: + __u32 ifa_valid;
1: + __u32 cstamp;
1: + __u32 tstamp;
1: };
1:
1: enum {
1: - IFLA_INET_UNSPEC = 0,
1: - IFLA_INET_CONF = 1,
1: - __IFLA_INET_MAX = 2,
1: + IFLA_INET_UNSPEC = 0,
1: + IFLA_INET_CONF = 1,
1: + __IFLA_INET_MAX = 2,
1: };
1:
1: struct in_validator_info {
1: - __be32 ivi_addr;
1: - struct in_device *ivi_dev;
1: - struct netlink_ext_ack *extack;
1: + __be32 ivi_addr;
1: + struct in_device *ivi_dev;
1: + struct netlink_ext_ack *extack;
1: };
1:
1: struct netconfmsg {
1: - __u8 ncm_family;
1: + __u8 ncm_family;
1: };
1:
1: enum {
1: - NETCONFA_UNSPEC = 0,
1: - NETCONFA_IFINDEX = 1,
1: - NETCONFA_FORWARDING = 2,
1: - NETCONFA_RP_FILTER = 3,
1: - NETCONFA_MC_FORWARDING = 4,
1: - NETCONFA_PROXY_NEIGH = 5,
1: - NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6,
1: - NETCONFA_INPUT = 7,
1: - NETCONFA_BC_FORWARDING = 8,
1: - __NETCONFA_MAX = 9,
1: + NETCONFA_UNSPEC = 0,
1: + NETCONFA_IFINDEX = 1,
1: + NETCONFA_FORWARDING = 2,
1: + NETCONFA_RP_FILTER = 3,
1: + NETCONFA_MC_FORWARDING = 4,
1: + NETCONFA_PROXY_NEIGH = 5,
1: + NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6,
1: + NETCONFA_INPUT = 7,
1: + NETCONFA_BC_FORWARDING = 8,
1: + __NETCONFA_MAX = 9,
1: };
1:
1: struct inet_fill_args {
1: - u32 portid;
1: - u32 seq;
1: - int event;
1: - unsigned int flags;
1: - int netnsid;
1: - int ifindex;
1: + u32 portid;
1: + u32 seq;
1: + int event;
1: + unsigned int flags;
1: + int netnsid;
1: + int ifindex;
1: };
1:
1: struct devinet_sysctl_table {
1: - struct ctl_table_header *sysctl_header;
1: - struct ctl_table devinet_vars[33];
1: + struct ctl_table_header *sysctl_header;
1: + struct ctl_table devinet_vars[33];
1: };
1:
1: struct pingv6_ops {
1: - int (*ipv6_recv_error)(struct sock *, struct msghdr *, int, int *);
1: - void (*ip6_datagram_recv_common_ctl)(struct sock *, struct msghdr *, struct sk_buff *);
1: - void (*ip6_datagram_recv_specific_ctl)(struct sock *, struct msghdr *, struct sk_buff *);
1: - int (*icmpv6_err_convert)(u8, u8, int *);
1: - void (*ipv6_icmp_error)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *);
1: - int (*ipv6_chk_addr)(struct net *, const struct in6_addr *, const struct net_device *, int);
1: + int (*ipv6_recv_error)(struct sock *, struct msghdr *, int, int *);
1: + void (*ip6_datagram_recv_common_ctl)(struct sock *, struct msghdr *,
1: + struct sk_buff *);
1: + void (*ip6_datagram_recv_specific_ctl)(struct sock *, struct msghdr *,
1: + struct sk_buff *);
1: + int (*icmpv6_err_convert)(u8, u8, int *);
1: + void (*ipv6_icmp_error)(struct sock *, struct sk_buff *, int, __be16, u32,
1: + u8 *);
1: + int (*ipv6_chk_addr)(struct net *, const struct in6_addr *,
1: + const struct net_device *, int);
1: };
1:
1: struct igmphdr {
1: - __u8 type;
1: - __u8 code;
1: - __sum16 csum;
1: - __be32 group;
1: + __u8 type;
1: + __u8 code;
1: + __sum16 csum;
1: + __be32 group;
1: };
1:
1: struct igmpv3_grec {
1: - __u8 grec_type;
1: - __u8 grec_auxwords;
1: - __be16 grec_nsrcs;
1: - __be32 grec_mca;
1: - __be32 grec_src[0];
1: + __u8 grec_type;
1: + __u8 grec_auxwords;
1: + __be16 grec_nsrcs;
1: + __be32 grec_mca;
1: + __be32 grec_src[0];
1: };
1:
1: struct igmpv3_report {
1: - __u8 type;
1: - __u8 resv1;
1: - __sum16 csum;
1: - __be16 resv2;
1: - __be16 ngrec;
1: - struct igmpv3_grec grec[0];
1: + __u8 type;
1: + __u8 resv1;
1: + __sum16 csum;
1: + __be16 resv2;
1: + __be16 ngrec;
1: + struct igmpv3_grec grec[0];
1: };
1:
1: struct igmpv3_query {
1: - __u8 type;
1: - __u8 code;
1: - __sum16 csum;
1: - __be32 group;
1: - __u8 qrv: 3;
1: - __u8 suppress: 1;
1: - __u8 resv: 4;
1: - __u8 qqic;
1: - __be16 nsrcs;
1: - __be32 srcs[0];
1: + __u8 type;
1: + __u8 code;
1: + __sum16 csum;
1: + __be32 group;
1: + __u8 qrv : 3;
1: + __u8 suppress : 1;
1: + __u8 resv : 4;
1: + __u8 qqic;
1: + __be16 nsrcs;
1: + __be32 srcs[0];
1: };
1:
1: struct igmp_mc_iter_state {
1: - struct seq_net_private p;
1: - struct net_device *dev;
1: - struct in_device *in_dev;
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct in_device *in_dev;
1: };
1:
1: struct igmp_mcf_iter_state {
1: - struct seq_net_private p;
1: - struct net_device *dev;
1: - struct in_device *idev;
1: - struct ip_mc_list *im;
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct in_device *idev;
1: + struct ip_mc_list *im;
1: };
1:
1: struct rtnexthop {
1: - short unsigned int rtnh_len;
1: - unsigned char rtnh_flags;
1: - unsigned char rtnh_hops;
1: - int rtnh_ifindex;
1: + short unsigned int rtnh_len;
1: + unsigned char rtnh_flags;
1: + unsigned char rtnh_hops;
1: + int rtnh_ifindex;
1: };
1:
1: struct fib_config {
1: - u8 fc_dst_len;
1: - u8 fc_tos;
1: - u8 fc_protocol;
1: - u8 fc_scope;
1: - u8 fc_type;
1: - u8 fc_gw_family;
1: - u32 fc_table;
1: - __be32 fc_dst;
1: - union {
1: - __be32 fc_gw4;
1: - struct in6_addr fc_gw6;
1: - };
1: - int fc_oif;
1: - u32 fc_flags;
1: - u32 fc_priority;
1: - __be32 fc_prefsrc;
1: - u32 fc_nh_id;
1: - struct nlattr *fc_mx;
1: - struct rtnexthop *fc_mp;
1: - int fc_mx_len;
1: - int fc_mp_len;
1: - u32 fc_flow;
1: - u32 fc_nlflags;
1: - struct nl_info fc_nlinfo;
1: - struct nlattr *fc_encap;
1: - u16 fc_encap_type;
1: + u8 fc_dst_len;
1: + u8 fc_tos;
1: + u8 fc_protocol;
1: + u8 fc_scope;
1: + u8 fc_type;
1: + u8 fc_gw_family;
1: + u32 fc_table;
1: + __be32 fc_dst;
1: + union {
1: + __be32 fc_gw4;
1: + struct in6_addr fc_gw6;
1: + };
1: + int fc_oif;
1: + u32 fc_flags;
1: + u32 fc_priority;
1: + __be32 fc_prefsrc;
1: + u32 fc_nh_id;
1: + struct nlattr *fc_mx;
1: + struct rtnexthop *fc_mp;
1: + int fc_mx_len;
1: + int fc_mp_len;
1: + u32 fc_flow;
1: + u32 fc_nlflags;
1: + struct nl_info fc_nlinfo;
1: + struct nlattr *fc_encap;
1: + u16 fc_encap_type;
1: };
1:
1: struct fib_result_nl {
1: - __be32 fl_addr;
1: - u32 fl_mark;
1: - unsigned char fl_tos;
1: - unsigned char fl_scope;
1: - unsigned char tb_id_in;
1: - unsigned char tb_id;
1: - unsigned char prefixlen;
1: - unsigned char nh_sel;
1: - unsigned char type;
1: - unsigned char scope;
1: - int err;
1: + __be32 fl_addr;
1: + u32 fl_mark;
1: + unsigned char fl_tos;
1: + unsigned char fl_scope;
1: + unsigned char tb_id_in;
1: + unsigned char tb_id;
1: + unsigned char prefixlen;
1: + unsigned char nh_sel;
1: + unsigned char type;
1: + unsigned char scope;
1: + int err;
1: };
1:
1: struct fib_dump_filter {
1: - u32 table_id;
1: - bool filter_set;
1: - bool dump_all_families;
1: - bool dump_routes;
1: - bool dump_exceptions;
1: - unsigned char protocol;
1: - unsigned char rt_type;
1: - unsigned int flags;
1: - struct net_device *dev;
1: + u32 table_id;
1: + bool filter_set;
1: + bool dump_all_families;
1: + bool dump_routes;
1: + bool dump_exceptions;
1: + unsigned char protocol;
1: + unsigned char rt_type;
1: + unsigned int flags;
1: + struct net_device *dev;
1: };
1:
1: struct fib_nh_notifier_info {
1: - struct fib_notifier_info info;
1: - struct fib_nh *fib_nh;
1: + struct fib_notifier_info info;
1: + struct fib_nh *fib_nh;
1: };
1:
1: enum lwtunnel_encap_types {
1: - LWTUNNEL_ENCAP_NONE = 0,
1: - LWTUNNEL_ENCAP_MPLS = 1,
1: - LWTUNNEL_ENCAP_IP = 2,
1: - LWTUNNEL_ENCAP_ILA = 3,
1: - LWTUNNEL_ENCAP_IP6 = 4,
1: - LWTUNNEL_ENCAP_SEG6 = 5,
1: - LWTUNNEL_ENCAP_BPF = 6,
1: - LWTUNNEL_ENCAP_SEG6_LOCAL = 7,
1: - __LWTUNNEL_ENCAP_MAX = 8,
1: + LWTUNNEL_ENCAP_NONE = 0,
1: + LWTUNNEL_ENCAP_MPLS = 1,
1: + LWTUNNEL_ENCAP_IP = 2,
1: + LWTUNNEL_ENCAP_ILA = 3,
1: + LWTUNNEL_ENCAP_IP6 = 4,
1: + LWTUNNEL_ENCAP_SEG6 = 5,
1: + LWTUNNEL_ENCAP_BPF = 6,
1: + LWTUNNEL_ENCAP_SEG6_LOCAL = 7,
1: + __LWTUNNEL_ENCAP_MAX = 8,
1: };
1:
1: struct fib_alias {
1: - struct hlist_node fa_list;
1: - struct fib_info *fa_info;
1: - u8 fa_tos;
1: - u8 fa_type;
1: - u8 fa_state;
1: - u8 fa_slen;
1: - u32 tb_id;
1: - s16 fa_default;
1: - struct callback_head rcu;
1: + struct hlist_node fa_list;
1: + struct fib_info *fa_info;
1: + u8 fa_tos;
1: + u8 fa_type;
1: + u8 fa_state;
1: + u8 fa_slen;
1: + u32 tb_id;
1: + s16 fa_default;
1: + struct callback_head rcu;
1: };
1:
1: struct fib_entry_notifier_info {
1: - struct fib_notifier_info info;
1: - u32 dst;
1: - int dst_len;
1: - struct fib_info *fi;
1: - u8 tos;
1: - u8 type;
1: - u32 tb_id;
1: + struct fib_notifier_info info;
1: + u32 dst;
1: + int dst_len;
1: + struct fib_info *fi;
1: + u8 tos;
1: + u8 type;
1: + u32 tb_id;
1: };
1:
1: typedef unsigned int t_key;
1:
1: struct key_vector {
1: - t_key key;
1: - unsigned char pos;
1: - unsigned char bits;
1: - unsigned char slen;
1: - union {
1: - struct hlist_head leaf;
1: - struct key_vector *tnode[0];
1: - };
1: + t_key key;
1: + unsigned char pos;
1: + unsigned char bits;
1: + unsigned char slen;
1: + union {
1: + struct hlist_head leaf;
1: + struct key_vector *tnode[0];
1: + };
1: };
1:
1: struct tnode {
1: - struct callback_head rcu;
1: - t_key empty_children;
1: - t_key full_children;
1: - struct key_vector *parent;
1: - struct key_vector kv[1];
1: + struct callback_head rcu;
1: + t_key empty_children;
1: + t_key full_children;
1: + struct key_vector *parent;
1: + struct key_vector kv[1];
1: };
1:
1: struct trie_stat {
1: - unsigned int totdepth;
1: - unsigned int maxdepth;
1: - unsigned int tnodes;
1: - unsigned int leaves;
1: - unsigned int nullpointers;
1: - unsigned int prefixes;
1: - unsigned int nodesizes[32];
1: + unsigned int totdepth;
1: + unsigned int maxdepth;
1: + unsigned int tnodes;
1: + unsigned int leaves;
1: + unsigned int nullpointers;
1: + unsigned int prefixes;
1: + unsigned int nodesizes[32];
1: };
1:
1: struct trie {
1: - struct key_vector kv[1];
1: + struct key_vector kv[1];
1: };
1:
1: struct fib_trie_iter {
1: - struct seq_net_private p;
1: - struct fib_table *tb;
1: - struct key_vector *tnode;
1: - unsigned int index;
1: - unsigned int depth;
1: + struct seq_net_private p;
1: + struct fib_table *tb;
1: + struct key_vector *tnode;
1: + unsigned int index;
1: + unsigned int depth;
1: };
1:
1: struct fib_route_iter {
1: - struct seq_net_private p;
1: - struct fib_table *main_tb;
1: - struct key_vector *tnode;
1: - loff_t pos;
1: - t_key key;
1: + struct seq_net_private p;
1: + struct fib_table *main_tb;
1: + struct key_vector *tnode;
1: + loff_t pos;
1: + t_key key;
1: };
1:
1: struct ipfrag_skb_cb {
1: - union {
1: - struct inet_skb_parm h4;
1: - struct inet6_skb_parm h6;
1: - };
1: - struct sk_buff *next_frag;
1: - int frag_run_len;
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + };
1: + struct sk_buff *next_frag;
1: + int frag_run_len;
1: };
1:
1: struct ping_iter_state {
1: - struct seq_net_private p;
1: - int bucket;
1: - sa_family_t family;
1: + struct seq_net_private p;
1: + int bucket;
1: + sa_family_t family;
1: };
1:
1: struct pingfakehdr {
1: - struct icmphdr icmph;
1: - struct msghdr *msg;
1: - sa_family_t family;
1: - __wsum wcheck;
1: + struct icmphdr icmph;
1: + struct msghdr *msg;
1: + sa_family_t family;
1: + __wsum wcheck;
1: };
1:
1: struct ping_table {
1: - struct hlist_nulls_head hash[64];
1: - rwlock_t lock;
1: + struct hlist_nulls_head hash[64];
1: + rwlock_t lock;
1: };
1:
1: struct lwtunnel_encap_ops {
1: - int (*build_state)(struct nlattr *, unsigned int, const void *, struct lwtunnel_state **, struct netlink_ext_ack *);
1: - void (*destroy_state)(struct lwtunnel_state *);
1: - int (*output)(struct net *, struct sock *, struct sk_buff *);
1: - int (*input)(struct sk_buff *);
1: - int (*fill_encap)(struct sk_buff *, struct lwtunnel_state *);
1: - int (*get_encap_size)(struct lwtunnel_state *);
1: - int (*cmp_encap)(struct lwtunnel_state *, struct lwtunnel_state *);
1: - int (*xmit)(struct sk_buff *);
1: - struct module *owner;
1: + int (*build_state)(struct nlattr *, unsigned int, const void *,
1: + struct lwtunnel_state **, struct netlink_ext_ack *);
1: + void (*destroy_state)(struct lwtunnel_state *);
1: + int (*output)(struct net *, struct sock *, struct sk_buff *);
1: + int (*input)(struct sk_buff *);
1: + int (*fill_encap)(struct sk_buff *, struct lwtunnel_state *);
1: + int (*get_encap_size)(struct lwtunnel_state *);
1: + int (*cmp_encap)(struct lwtunnel_state *, struct lwtunnel_state *);
1: + int (*xmit)(struct sk_buff *);
1: + struct module *owner;
1: };
1:
1: struct ip6_tnl_encap_ops {
1: - size_t (*encap_hlen)(struct ip_tunnel_encap *);
1: - int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *, struct flowi6 *);
1: - int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32);
1: + size_t (*encap_hlen)(struct ip_tunnel_encap *);
1: + int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *,
1: + struct flowi6 *);
1: + int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int,
1: + __be32);
1: };
1:
1: struct erspan_md2 {
1: - __be32 timestamp;
1: - __be16 sgt;
1: - __u8 hwid_upper: 2;
1: - __u8 ft: 5;
1: - __u8 p: 1;
1: - __u8 o: 1;
1: - __u8 gra: 2;
1: - __u8 dir: 1;
1: - __u8 hwid: 4;
1: + __be32 timestamp;
1: + __be16 sgt;
1: + __u8 hwid_upper : 2;
1: + __u8 ft : 5;
1: + __u8 p : 1;
1: + __u8 o : 1;
1: + __u8 gra : 2;
1: + __u8 dir : 1;
1: + __u8 hwid : 4;
1: };
1:
1: struct nhmsg {
1: - unsigned char nh_family;
1: - unsigned char nh_scope;
1: - unsigned char nh_protocol;
1: - unsigned char resvd;
1: - unsigned int nh_flags;
1: + unsigned char nh_family;
1: + unsigned char nh_scope;
1: + unsigned char nh_protocol;
1: + unsigned char resvd;
1: + unsigned int nh_flags;
1: };
1:
1: struct nexthop_grp {
1: - __u32 id;
1: - __u8 weight;
1: - __u8 resvd1;
1: - __u16 resvd2;
1: + __u32 id;
1: + __u8 weight;
1: + __u8 resvd1;
1: + __u16 resvd2;
1: };
1:
1: enum {
1: - NEXTHOP_GRP_TYPE_MPATH = 0,
1: - __NEXTHOP_GRP_TYPE_MAX = 1,
1: + NEXTHOP_GRP_TYPE_MPATH = 0,
1: + __NEXTHOP_GRP_TYPE_MAX = 1,
1: };
1:
1: enum {
1: - NHA_UNSPEC = 0,
1: - NHA_ID = 1,
1: - NHA_GROUP = 2,
1: - NHA_GROUP_TYPE = 3,
1: - NHA_BLACKHOLE = 4,
1: - NHA_OIF = 5,
1: - NHA_GATEWAY = 6,
1: - NHA_ENCAP_TYPE = 7,
1: - NHA_ENCAP = 8,
1: - NHA_GROUPS = 9,
1: - NHA_MASTER = 10,
1: - __NHA_MAX = 11,
1: + NHA_UNSPEC = 0,
1: + NHA_ID = 1,
1: + NHA_GROUP = 2,
1: + NHA_GROUP_TYPE = 3,
1: + NHA_BLACKHOLE = 4,
1: + NHA_OIF = 5,
1: + NHA_GATEWAY = 6,
1: + NHA_ENCAP_TYPE = 7,
1: + NHA_ENCAP = 8,
1: + NHA_GROUPS = 9,
1: + NHA_MASTER = 10,
1: + __NHA_MAX = 11,
1: };
1:
1: struct nh_config {
1: - u32 nh_id;
1: - u8 nh_family;
1: - u8 nh_protocol;
1: - u8 nh_blackhole;
1: - u32 nh_flags;
1: - int nh_ifindex;
1: - struct net_device *dev;
1: - union {
1: - __be32 ipv4;
1: - struct in6_addr ipv6;
1: - } gw;
1: - struct nlattr *nh_grp;
1: - u16 nh_grp_type;
1: - struct nlattr *nh_encap;
1: - u16 nh_encap_type;
1: - u32 nlflags;
1: - struct nl_info nlinfo;
1: + u32 nh_id;
1: + u8 nh_family;
1: + u8 nh_protocol;
1: + u8 nh_blackhole;
1: + u32 nh_flags;
1: + int nh_ifindex;
1: + struct net_device *dev;
1: + union {
1: + __be32 ipv4;
1: + struct in6_addr ipv6;
1: + } gw;
1: + struct nlattr *nh_grp;
1: + u16 nh_grp_type;
1: + struct nlattr *nh_encap;
1: + u16 nh_encap_type;
1: + u32 nlflags;
1: + struct nl_info nlinfo;
1: };
1:
1: struct ip_tunnel_parm {
1: - char name[16];
1: - int link;
1: - __be16 i_flags;
1: - __be16 o_flags;
1: - __be32 i_key;
1: - __be32 o_key;
1: - struct iphdr iph;
1: + char name[16];
1: + int link;
1: + __be16 i_flags;
1: + __be16 o_flags;
1: + __be32 i_key;
1: + __be32 o_key;
1: + struct iphdr iph;
1: };
1:
1: enum tunnel_encap_types {
1: - TUNNEL_ENCAP_NONE = 0,
1: - TUNNEL_ENCAP_FOU = 1,
1: - TUNNEL_ENCAP_GUE = 2,
1: - TUNNEL_ENCAP_MPLS = 3,
1: + TUNNEL_ENCAP_NONE = 0,
1: + TUNNEL_ENCAP_FOU = 1,
1: + TUNNEL_ENCAP_GUE = 2,
1: + TUNNEL_ENCAP_MPLS = 3,
1: };
1:
1: struct ip_tunnel_prl_entry {
1: - struct ip_tunnel_prl_entry *next;
1: - __be32 addr;
1: - u16 flags;
1: - struct callback_head callback_head;
1: + struct ip_tunnel_prl_entry *next;
1: + __be32 addr;
1: + u16 flags;
1: + struct callback_head callback_head;
1: };
1:
1: struct ip_tunnel {
1: - struct ip_tunnel *next;
1: - struct hlist_node hash_node;
1: - struct net_device *dev;
1: - struct net *net;
1: - long unsigned int err_time;
1: - int err_count;
1: - u32 i_seqno;
1: - u32 o_seqno;
1: - int tun_hlen;
1: - u32 index;
1: - u8 erspan_ver;
1: - u8 dir;
1: - u16 hwid;
1: - struct dst_cache dst_cache;
1: - struct ip_tunnel_parm parms;
1: - int mlink;
1: - int encap_hlen;
1: - int hlen;
1: - struct ip_tunnel_encap encap;
1: - struct ip_tunnel_prl_entry *prl;
1: - unsigned int prl_count;
1: - unsigned int ip_tnl_net_id;
1: - struct gro_cells gro_cells;
1: - __u32 fwmark;
1: - bool collect_md;
1: - bool ignore_df;
1: + struct ip_tunnel *next;
1: + struct hlist_node hash_node;
1: + struct net_device *dev;
1: + struct net *net;
1: + long unsigned int err_time;
1: + int err_count;
1: + u32 i_seqno;
1: + u32 o_seqno;
1: + int tun_hlen;
1: + u32 index;
1: + u8 erspan_ver;
1: + u8 dir;
1: + u16 hwid;
1: + struct dst_cache dst_cache;
1: + struct ip_tunnel_parm parms;
1: + int mlink;
1: + int encap_hlen;
1: + int hlen;
1: + struct ip_tunnel_encap encap;
1: + struct ip_tunnel_prl_entry *prl;
1: + unsigned int prl_count;
1: + unsigned int ip_tnl_net_id;
1: + struct gro_cells gro_cells;
1: + __u32 fwmark;
1: + bool collect_md;
1: + bool ignore_df;
1: };
1:
1: struct tnl_ptk_info {
1: - __be16 flags;
1: - __be16 proto;
1: - __be32 key;
1: - __be32 seq;
1: - int hdr_len;
1: + __be16 flags;
1: + __be16 proto;
1: + __be32 key;
1: + __be32 seq;
1: + int hdr_len;
1: };
1:
1: struct ip_tunnel_net {
1: - struct net_device *fb_tunnel_dev;
1: - struct rtnl_link_ops *rtnl_link_ops;
1: - struct hlist_head tunnels[128];
1: - struct ip_tunnel *collect_md_tun;
1: - int type;
1: + struct net_device *fb_tunnel_dev;
1: + struct rtnl_link_ops *rtnl_link_ops;
1: + struct hlist_head tunnels[128];
1: + struct ip_tunnel *collect_md_tun;
1: + int type;
1: };
1:
1: struct inet6_protocol {
1: - void (*early_demux)(struct sk_buff *);
1: - void (*early_demux_handler)(struct sk_buff *);
1: - int (*handler)(struct sk_buff *);
1: - int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32);
1: - unsigned int flags;
1: + void (*early_demux)(struct sk_buff *);
1: + void (*early_demux_handler)(struct sk_buff *);
1: + int (*handler)(struct sk_buff *);
1: + int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int,
1: + __be32);
1: + unsigned int flags;
1: };
1:
1: struct snmp_mib {
1: - const char *name;
1: - int entry;
1: + const char *name;
1: + int entry;
1: };
1:
1: struct fib4_rule {
1: - struct fib_rule common;
1: - u8 dst_len;
1: - u8 src_len;
1: - u8 tos;
1: - __be32 src;
1: - __be32 srcmask;
1: - __be32 dst;
1: - __be32 dstmask;
1: + struct fib_rule common;
1: + u8 dst_len;
1: + u8 src_len;
1: + u8 tos;
1: + __be32 src;
1: + __be32 srcmask;
1: + __be32 dst;
1: + __be32 dstmask;
1: };
1:
1: enum {
1: - PIM_TYPE_HELLO = 0,
1: - PIM_TYPE_REGISTER = 1,
1: - PIM_TYPE_REGISTER_STOP = 2,
1: - PIM_TYPE_JOIN_PRUNE = 3,
1: - PIM_TYPE_BOOTSTRAP = 4,
1: - PIM_TYPE_ASSERT = 5,
1: - PIM_TYPE_GRAFT = 6,
1: - PIM_TYPE_GRAFT_ACK = 7,
1: - PIM_TYPE_CANDIDATE_RP_ADV = 8,
1: + PIM_TYPE_HELLO = 0,
1: + PIM_TYPE_REGISTER = 1,
1: + PIM_TYPE_REGISTER_STOP = 2,
1: + PIM_TYPE_JOIN_PRUNE = 3,
1: + PIM_TYPE_BOOTSTRAP = 4,
1: + PIM_TYPE_ASSERT = 5,
1: + PIM_TYPE_GRAFT = 6,
1: + PIM_TYPE_GRAFT_ACK = 7,
1: + PIM_TYPE_CANDIDATE_RP_ADV = 8,
1: };
1:
1: struct pimreghdr {
1: - __u8 type;
1: - __u8 reserved;
1: - __be16 csum;
1: - __be32 flags;
1: + __u8 type;
1: + __u8 reserved;
1: + __be16 csum;
1: + __be32 flags;
1: };
1:
1: typedef short unsigned int vifi_t;
1:
1: struct vifctl {
1: - vifi_t vifc_vifi;
1: - unsigned char vifc_flags;
1: - unsigned char vifc_threshold;
1: - unsigned int vifc_rate_limit;
1: - union {
1: - struct in_addr vifc_lcl_addr;
1: - int vifc_lcl_ifindex;
1: - };
1: - struct in_addr vifc_rmt_addr;
1: + vifi_t vifc_vifi;
1: + unsigned char vifc_flags;
1: + unsigned char vifc_threshold;
1: + unsigned int vifc_rate_limit;
1: + union {
1: + struct in_addr vifc_lcl_addr;
1: + int vifc_lcl_ifindex;
1: + };
1: + struct in_addr vifc_rmt_addr;
1: };
1:
1: struct mfcctl {
1: - struct in_addr mfcc_origin;
1: - struct in_addr mfcc_mcastgrp;
1: - vifi_t mfcc_parent;
1: - unsigned char mfcc_ttls[32];
1: - unsigned int mfcc_pkt_cnt;
1: - unsigned int mfcc_byte_cnt;
1: - unsigned int mfcc_wrong_if;
1: - int mfcc_expire;
1: + struct in_addr mfcc_origin;
1: + struct in_addr mfcc_mcastgrp;
1: + vifi_t mfcc_parent;
1: + unsigned char mfcc_ttls[32];
1: + unsigned int mfcc_pkt_cnt;
1: + unsigned int mfcc_byte_cnt;
1: + unsigned int mfcc_wrong_if;
1: + int mfcc_expire;
1: };
1:
1: struct sioc_sg_req {
1: - struct in_addr src;
1: - struct in_addr grp;
1: - long unsigned int pktcnt;
1: - long unsigned int bytecnt;
1: - long unsigned int wrong_if;
1: + struct in_addr src;
1: + struct in_addr grp;
1: + long unsigned int pktcnt;
1: + long unsigned int bytecnt;
1: + long unsigned int wrong_if;
1: };
1:
1: struct sioc_vif_req {
1: - vifi_t vifi;
1: - long unsigned int icount;
1: - long unsigned int ocount;
1: - long unsigned int ibytes;
1: - long unsigned int obytes;
1: + vifi_t vifi;
1: + long unsigned int icount;
1: + long unsigned int ocount;
1: + long unsigned int ibytes;
1: + long unsigned int obytes;
1: };
1:
1: struct igmpmsg {
1: - __u32 unused1;
1: - __u32 unused2;
1: - unsigned char im_msgtype;
1: - unsigned char im_mbz;
1: - unsigned char im_vif;
1: - unsigned char unused3;
1: - struct in_addr im_src;
1: - struct in_addr im_dst;
1: + __u32 unused1;
1: + __u32 unused2;
1: + unsigned char im_msgtype;
1: + unsigned char im_mbz;
1: + unsigned char im_vif;
1: + unsigned char unused3;
1: + struct in_addr im_src;
1: + struct in_addr im_dst;
1: };
1:
1: enum {
1: - IPMRA_TABLE_UNSPEC = 0,
1: - IPMRA_TABLE_ID = 1,
1: - IPMRA_TABLE_CACHE_RES_QUEUE_LEN = 2,
1: - IPMRA_TABLE_MROUTE_REG_VIF_NUM = 3,
1: - IPMRA_TABLE_MROUTE_DO_ASSERT = 4,
1: - IPMRA_TABLE_MROUTE_DO_PIM = 5,
1: - IPMRA_TABLE_VIFS = 6,
1: - IPMRA_TABLE_MROUTE_DO_WRVIFWHOLE = 7,
1: - __IPMRA_TABLE_MAX = 8,
1: + IPMRA_TABLE_UNSPEC = 0,
1: + IPMRA_TABLE_ID = 1,
1: + IPMRA_TABLE_CACHE_RES_QUEUE_LEN = 2,
1: + IPMRA_TABLE_MROUTE_REG_VIF_NUM = 3,
1: + IPMRA_TABLE_MROUTE_DO_ASSERT = 4,
1: + IPMRA_TABLE_MROUTE_DO_PIM = 5,
1: + IPMRA_TABLE_VIFS = 6,
1: + IPMRA_TABLE_MROUTE_DO_WRVIFWHOLE = 7,
1: + __IPMRA_TABLE_MAX = 8,
1: };
1:
1: enum {
1: - IPMRA_VIF_UNSPEC = 0,
1: - IPMRA_VIF = 1,
1: - __IPMRA_VIF_MAX = 2,
1: + IPMRA_VIF_UNSPEC = 0,
1: + IPMRA_VIF = 1,
1: + __IPMRA_VIF_MAX = 2,
1: };
1:
1: enum {
1: - IPMRA_VIFA_UNSPEC = 0,
1: - IPMRA_VIFA_IFINDEX = 1,
1: - IPMRA_VIFA_VIF_ID = 2,
1: - IPMRA_VIFA_FLAGS = 3,
1: - IPMRA_VIFA_BYTES_IN = 4,
1: - IPMRA_VIFA_BYTES_OUT = 5,
1: - IPMRA_VIFA_PACKETS_IN = 6,
1: - IPMRA_VIFA_PACKETS_OUT = 7,
1: - IPMRA_VIFA_LOCAL_ADDR = 8,
1: - IPMRA_VIFA_REMOTE_ADDR = 9,
1: - IPMRA_VIFA_PAD = 10,
1: - __IPMRA_VIFA_MAX = 11,
1: + IPMRA_VIFA_UNSPEC = 0,
1: + IPMRA_VIFA_IFINDEX = 1,
1: + IPMRA_VIFA_VIF_ID = 2,
1: + IPMRA_VIFA_FLAGS = 3,
1: + IPMRA_VIFA_BYTES_IN = 4,
1: + IPMRA_VIFA_BYTES_OUT = 5,
1: + IPMRA_VIFA_PACKETS_IN = 6,
1: + IPMRA_VIFA_PACKETS_OUT = 7,
1: + IPMRA_VIFA_LOCAL_ADDR = 8,
1: + IPMRA_VIFA_REMOTE_ADDR = 9,
1: + IPMRA_VIFA_PAD = 10,
1: + __IPMRA_VIFA_MAX = 11,
1: };
1:
1: enum {
1: - IPMRA_CREPORT_UNSPEC = 0,
1: - IPMRA_CREPORT_MSGTYPE = 1,
1: - IPMRA_CREPORT_VIF_ID = 2,
1: - IPMRA_CREPORT_SRC_ADDR = 3,
1: - IPMRA_CREPORT_DST_ADDR = 4,
1: - IPMRA_CREPORT_PKT = 5,
1: - __IPMRA_CREPORT_MAX = 6,
1: + IPMRA_CREPORT_UNSPEC = 0,
1: + IPMRA_CREPORT_MSGTYPE = 1,
1: + IPMRA_CREPORT_VIF_ID = 2,
1: + IPMRA_CREPORT_SRC_ADDR = 3,
1: + IPMRA_CREPORT_DST_ADDR = 4,
1: + IPMRA_CREPORT_PKT = 5,
1: + __IPMRA_CREPORT_MAX = 6,
1: };
1:
1: struct vif_entry_notifier_info {
1: - struct fib_notifier_info info;
1: - struct net_device *dev;
1: - short unsigned int vif_index;
1: - short unsigned int vif_flags;
1: - u32 tb_id;
1: + struct fib_notifier_info info;
1: + struct net_device *dev;
1: + short unsigned int vif_index;
1: + short unsigned int vif_flags;
1: + u32 tb_id;
1: };
1:
1: enum {
1: - MFC_STATIC = 1,
1: - MFC_OFFLOAD = 2,
1: + MFC_STATIC = 1,
1: + MFC_OFFLOAD = 2,
1: };
1:
1: struct mr_mfc {
1: - struct rhlist_head mnode;
1: - short unsigned int mfc_parent;
1: - int mfc_flags;
1: - union {
1: - struct {
1: - long unsigned int expires;
1: - struct sk_buff_head unresolved;
1: - } unres;
1: - struct {
1: - long unsigned int last_assert;
1: - int minvif;
1: - int maxvif;
1: - long unsigned int bytes;
1: - long unsigned int pkt;
1: - long unsigned int wrong_if;
1: - long unsigned int lastuse;
1: - unsigned char ttls[32];
1: - refcount_t refcount;
1: - } res;
1: - } mfc_un;
1: - struct list_head list;
1: - struct callback_head rcu;
1: - void (*free)(struct callback_head *);
1: + struct rhlist_head mnode;
1: + short unsigned int mfc_parent;
1: + int mfc_flags;
1: + union {
1: + struct {
1: + long unsigned int expires;
1: + struct sk_buff_head unresolved;
1: + } unres;
1: + struct {
1: + long unsigned int last_assert;
1: + int minvif;
1: + int maxvif;
1: + long unsigned int bytes;
1: + long unsigned int pkt;
1: + long unsigned int wrong_if;
1: + long unsigned int lastuse;
1: + unsigned char ttls[32];
1: + refcount_t refcount;
1: + } res;
1: + } mfc_un;
1: + struct list_head list;
1: + struct callback_head rcu;
1: + void (*free)(struct callback_head *);
1: };
1:
1: struct mfc_entry_notifier_info {
1: - struct fib_notifier_info info;
1: - struct mr_mfc *mfc;
1: - u32 tb_id;
1: + struct fib_notifier_info info;
1: + struct mr_mfc *mfc;
1: + u32 tb_id;
1: };
1:
1: struct mr_vif_iter {
1: - struct seq_net_private p;
1: - struct mr_table *mrt;
1: - int ct;
1: + struct seq_net_private p;
1: + struct mr_table *mrt;
1: + int ct;
1: };
1:
1: struct mr_mfc_iter {
1: - struct seq_net_private p;
1: - struct mr_table *mrt;
1: - struct list_head *cache;
1: - spinlock_t *lock;
1: + struct seq_net_private p;
1: + struct mr_table *mrt;
1: + struct list_head *cache;
1: + spinlock_t *lock;
1: };
1:
1: struct mfc_cache_cmp_arg {
1: - __be32 mfc_mcastgrp;
1: - __be32 mfc_origin;
1: + __be32 mfc_mcastgrp;
1: + __be32 mfc_origin;
1: };
1:
1: struct mfc_cache {
1: - struct mr_mfc _c;
1: - union {
1: - struct {
1: - __be32 mfc_mcastgrp;
1: - __be32 mfc_origin;
1: - };
1: - struct mfc_cache_cmp_arg cmparg;
1: - };
1: + struct mr_mfc _c;
1: + union {
1: + struct {
1: + __be32 mfc_mcastgrp;
1: + __be32 mfc_origin;
1: + };
1: + struct mfc_cache_cmp_arg cmparg;
1: + };
1: };
1:
1: struct compat_sioc_sg_req {
1: - struct in_addr src;
1: - struct in_addr grp;
1: - compat_ulong_t pktcnt;
1: - compat_ulong_t bytecnt;
1: - compat_ulong_t wrong_if;
1: + struct in_addr src;
1: + struct in_addr grp;
1: + compat_ulong_t pktcnt;
1: + compat_ulong_t bytecnt;
1: + compat_ulong_t wrong_if;
1: };
1:
1: struct compat_sioc_vif_req {
1: - vifi_t vifi;
1: - compat_ulong_t icount;
1: - compat_ulong_t ocount;
1: - compat_ulong_t ibytes;
1: - compat_ulong_t obytes;
1: + vifi_t vifi;
1: + compat_ulong_t icount;
1: + compat_ulong_t ocount;
1: + compat_ulong_t ibytes;
1: + compat_ulong_t obytes;
1: };
1:
1: typedef u64 pao_T_____5;
1:
1: struct rta_mfc_stats {
1: - __u64 mfcs_packets;
1: - __u64 mfcs_bytes;
1: - __u64 mfcs_wrong_if;
1: + __u64 mfcs_packets;
1: + __u64 mfcs_bytes;
1: + __u64 mfcs_wrong_if;
1: };
1:
1: struct xfrm_tunnel {
1: - int (*handler)(struct sk_buff *);
1: - int (*err_handler)(struct sk_buff *, u32);
1: - struct xfrm_tunnel *next;
1: - int priority;
1: + int (*handler)(struct sk_buff *);
1: + int (*err_handler)(struct sk_buff *, u32);
1: + struct xfrm_tunnel *next;
1: + int priority;
1: };
1:
1: struct ic_device {
1: - struct ic_device *next;
1: - struct net_device *dev;
1: - short unsigned int flags;
1: - short int able;
1: - __be32 xid;
1: + struct ic_device *next;
1: + struct net_device *dev;
1: + short unsigned int flags;
1: + short int able;
1: + __be32 xid;
1: };
1:
1: struct bootp_pkt {
1: - struct iphdr iph;
1: - struct udphdr udph;
1: - u8 op;
1: - u8 htype;
1: - u8 hlen;
1: - u8 hops;
1: - __be32 xid;
1: - __be16 secs;
1: - __be16 flags;
1: - __be32 client_ip;
1: - __be32 your_ip;
1: - __be32 server_ip;
1: - __be32 relay_ip;
1: - u8 hw_addr[16];
1: - u8 serv_name[64];
1: - u8 boot_file[128];
1: - u8 exten[312];
1: + struct iphdr iph;
1: + struct udphdr udph;
1: + u8 op;
1: + u8 htype;
1: + u8 hlen;
1: + u8 hops;
1: + __be32 xid;
1: + __be16 secs;
1: + __be16 flags;
1: + __be32 client_ip;
1: + __be32 your_ip;
1: + __be32 server_ip;
1: + __be32 relay_ip;
1: + u8 hw_addr[16];
1: + u8 serv_name[64];
1: + u8 boot_file[128];
1: + u8 exten[312];
1: };
1:
1: struct xt_get_revision {
1: - char name[29];
1: - __u8 revision;
1: + char name[29];
1: + __u8 revision;
1: };
1:
1: struct ipt_icmp {
1: - __u8 type;
1: - __u8 code[2];
1: - __u8 invflags;
1: + __u8 type;
1: + __u8 code[2];
1: + __u8 invflags;
1: };
1:
1: struct ipt_getinfo {
1: - char name[32];
1: - unsigned int valid_hooks;
1: - unsigned int hook_entry[5];
1: - unsigned int underflow[5];
1: - unsigned int num_entries;
1: - unsigned int size;
1: + char name[32];
1: + unsigned int valid_hooks;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int num_entries;
1: + unsigned int size;
1: };
1:
1: struct ipt_replace {
1: - char name[32];
1: - unsigned int valid_hooks;
1: - unsigned int num_entries;
1: - unsigned int size;
1: - unsigned int hook_entry[5];
1: - unsigned int underflow[5];
1: - unsigned int num_counters;
1: - struct xt_counters *counters;
1: - struct ipt_entry entries[0];
1: + char name[32];
1: + unsigned int valid_hooks;
1: + unsigned int num_entries;
1: + unsigned int size;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int num_counters;
1: + struct xt_counters *counters;
1: + struct ipt_entry entries[0];
1: };
1:
1: struct ipt_get_entries {
1: - char name[32];
1: - unsigned int size;
1: - struct ipt_entry entrytable[0];
1: + char name[32];
1: + unsigned int size;
1: + struct ipt_entry entrytable[0];
1: };
1:
1: struct ipt_standard {
1: - struct ipt_entry entry;
1: - struct xt_standard_target target;
1: + struct ipt_entry entry;
1: + struct xt_standard_target target;
1: };
1:
1: struct ipt_error {
1: - struct ipt_entry entry;
1: - struct xt_error_target target;
1: + struct ipt_entry entry;
1: + struct xt_error_target target;
1: };
1:
1: struct compat_ipt_entry {
1: - struct ipt_ip ip;
1: - compat_uint_t nfcache;
1: - __u16 target_offset;
1: - __u16 next_offset;
1: - compat_uint_t comefrom;
1: - struct compat_xt_counters counters;
1: - unsigned char elems[0];
1: + struct ipt_ip ip;
1: + compat_uint_t nfcache;
1: + __u16 target_offset;
1: + __u16 next_offset;
1: + compat_uint_t comefrom;
1: + struct compat_xt_counters counters;
1: + unsigned char elems[0];
1: };
1:
1: struct compat_ipt_replace {
1: - char name[32];
1: - u32 valid_hooks;
1: - u32 num_entries;
1: - u32 size;
1: - u32 hook_entry[5];
1: - u32 underflow[5];
1: - u32 num_counters;
1: - compat_uptr_t counters;
1: - struct compat_ipt_entry entries[0];
1: + char name[32];
1: + u32 valid_hooks;
1: + u32 num_entries;
1: + u32 size;
1: + u32 hook_entry[5];
1: + u32 underflow[5];
1: + u32 num_counters;
1: + compat_uptr_t counters;
1: + struct compat_ipt_entry entries[0];
1: } __attribute__((packed));
1:
1: struct compat_ipt_get_entries {
1: - char name[32];
1: - compat_uint_t size;
1: - struct compat_ipt_entry entrytable[0];
1: + char name[32];
1: + compat_uint_t size;
1: + struct compat_ipt_entry entrytable[0];
1: } __attribute__((packed));
1:
1: enum ipt_reject_with {
1: - IPT_ICMP_NET_UNREACHABLE = 0,
1: - IPT_ICMP_HOST_UNREACHABLE = 1,
1: - IPT_ICMP_PROT_UNREACHABLE = 2,
1: - IPT_ICMP_PORT_UNREACHABLE = 3,
1: - IPT_ICMP_ECHOREPLY = 4,
1: - IPT_ICMP_NET_PROHIBITED = 5,
1: - IPT_ICMP_HOST_PROHIBITED = 6,
1: - IPT_TCP_RESET = 7,
1: - IPT_ICMP_ADMIN_PROHIBITED = 8,
1: + IPT_ICMP_NET_UNREACHABLE = 0,
1: + IPT_ICMP_HOST_UNREACHABLE = 1,
1: + IPT_ICMP_PROT_UNREACHABLE = 2,
1: + IPT_ICMP_PORT_UNREACHABLE = 3,
1: + IPT_ICMP_ECHOREPLY = 4,
1: + IPT_ICMP_NET_PROHIBITED = 5,
1: + IPT_ICMP_HOST_PROHIBITED = 6,
1: + IPT_TCP_RESET = 7,
1: + IPT_ICMP_ADMIN_PROHIBITED = 8,
1: };
1:
1: struct ipt_reject_info {
1: - enum ipt_reject_with with;
1: + enum ipt_reject_with with;
1: };
1:
1: struct bictcp {
1: - u32 cnt;
1: - u32 last_max_cwnd;
1: - u32 last_cwnd;
1: - u32 last_time;
1: - u32 bic_origin_point;
1: - u32 bic_K;
1: - u32 delay_min;
1: - u32 epoch_start;
1: - u32 ack_cnt;
1: - u32 tcp_cwnd;
1: - u16 unused;
1: - u8 sample_cnt;
1: - u8 found;
1: - u32 round_start;
1: - u32 end_seq;
1: - u32 last_ack;
1: - u32 curr_rtt;
1: + u32 cnt;
1: + u32 last_max_cwnd;
1: + u32 last_cwnd;
1: + u32 last_time;
1: + u32 bic_origin_point;
1: + u32 bic_K;
1: + u32 delay_min;
1: + u32 epoch_start;
1: + u32 ack_cnt;
1: + u32 tcp_cwnd;
1: + u16 unused;
1: + u8 sample_cnt;
1: + u8 found;
1: + u32 round_start;
1: + u32 end_seq;
1: + u32 last_ack;
1: + u32 curr_rtt;
1: };
1:
1: struct netlbl_audit {
1: - u32 secid;
1: - kuid_t loginuid;
1: - unsigned int sessionid;
1: + u32 secid;
1: + kuid_t loginuid;
1: + unsigned int sessionid;
1: };
1:
1: struct cipso_v4_std_map_tbl {
1: - struct {
1: - u32 *cipso;
1: - u32 *local;
1: - u32 cipso_size;
1: - u32 local_size;
1: - } lvl;
1: - struct {
1: - u32 *cipso;
1: - u32 *local;
1: - u32 cipso_size;
1: - u32 local_size;
1: - } cat;
1: + struct {
1: + u32 *cipso;
1: + u32 *local;
1: + u32 cipso_size;
1: + u32 local_size;
1: + } lvl;
1: + struct {
1: + u32 *cipso;
1: + u32 *local;
1: + u32 cipso_size;
1: + u32 local_size;
1: + } cat;
1: };
1:
1: struct cipso_v4_doi {
1: - u32 doi;
1: - u32 type;
1: - union {
1: - struct cipso_v4_std_map_tbl *std;
1: - } map;
1: - u8 tags[5];
1: - refcount_t refcount;
1: - struct list_head list;
1: - struct callback_head rcu;
1: + u32 doi;
1: + u32 type;
1: + union {
1: + struct cipso_v4_std_map_tbl *std;
1: + } map;
1: + u8 tags[5];
1: + refcount_t refcount;
1: + struct list_head list;
1: + struct callback_head rcu;
1: };
1:
1: struct cipso_v4_map_cache_bkt {
1: - spinlock_t lock;
1: - u32 size;
1: - struct list_head list;
1: + spinlock_t lock;
1: + u32 size;
1: + struct list_head list;
1: };
1:
1: struct cipso_v4_map_cache_entry {
1: - u32 hash;
1: - unsigned char *key;
1: - size_t key_len;
1: - struct netlbl_lsm_cache *lsm_data;
1: - u32 activity;
1: - struct list_head list;
1: + u32 hash;
1: + unsigned char *key;
1: + size_t key_len;
1: + struct netlbl_lsm_cache *lsm_data;
1: + u32 activity;
1: + struct list_head list;
1: };
1:
1: struct xfrm_policy_afinfo {
1: - struct dst_ops *dst_ops;
1: - struct dst_entry * (*dst_lookup)(struct net *, int, int, const xfrm_address_t *, const xfrm_address_t *, u32);
1: - int (*get_saddr)(struct net *, int, xfrm_address_t *, xfrm_address_t *, u32);
1: - int (*fill_dst)(struct xfrm_dst *, struct net_device *, const struct flowi *);
1: - struct dst_entry * (*blackhole_route)(struct net *, struct dst_entry *);
1: + struct dst_ops *dst_ops;
1: + struct dst_entry *(*dst_lookup)(struct net *, int, int,
1: + const xfrm_address_t *,
1: + const xfrm_address_t *, u32);
1: + int (*get_saddr)(struct net *, int, xfrm_address_t *, xfrm_address_t *, u32);
1: + int (*fill_dst)(struct xfrm_dst *, struct net_device *, const struct flowi *);
1: + struct dst_entry *(*blackhole_route)(struct net *, struct dst_entry *);
1: };
1:
1: struct xfrm_state_afinfo {
1: - u8 family;
1: - u8 proto;
1: - const struct xfrm_type_offload *type_offload_esp;
1: - const struct xfrm_type *type_esp;
1: - const struct xfrm_type *type_ipip;
1: - const struct xfrm_type *type_ipip6;
1: - const struct xfrm_type *type_comp;
1: - const struct xfrm_type *type_ah;
1: - const struct xfrm_type *type_routing;
1: - const struct xfrm_type *type_dstopts;
1: - int (*output)(struct net *, struct sock *, struct sk_buff *);
1: - int (*output_finish)(struct sock *, struct sk_buff *);
1: - int (*extract_input)(struct xfrm_state *, struct sk_buff *);
1: - int (*extract_output)(struct xfrm_state *, struct sk_buff *);
1: - int (*transport_finish)(struct sk_buff *, int);
1: - void (*local_error)(struct sk_buff *, u32);
1: + u8 family;
1: + u8 proto;
1: + const struct xfrm_type_offload *type_offload_esp;
1: + const struct xfrm_type *type_esp;
1: + const struct xfrm_type *type_ipip;
1: + const struct xfrm_type *type_ipip6;
1: + const struct xfrm_type *type_comp;
1: + const struct xfrm_type *type_ah;
1: + const struct xfrm_type *type_routing;
1: + const struct xfrm_type *type_dstopts;
1: + int (*output)(struct net *, struct sock *, struct sk_buff *);
1: + int (*output_finish)(struct sock *, struct sk_buff *);
1: + int (*extract_input)(struct xfrm_state *, struct sk_buff *);
1: + int (*extract_output)(struct xfrm_state *, struct sk_buff *);
1: + int (*transport_finish)(struct sk_buff *, int);
1: + void (*local_error)(struct sk_buff *, u32);
1: };
1:
1: struct ip6_tnl;
1:
1: struct xfrm_tunnel_skb_cb {
1: - union {
1: - struct inet_skb_parm h4;
1: - struct inet6_skb_parm h6;
1: - } header;
1: - union {
1: - struct ip_tunnel *ip4;
1: - struct ip6_tnl *ip6;
1: - } tunnel;
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + union {
1: + struct ip_tunnel *ip4;
1: + struct ip6_tnl *ip6;
1: + } tunnel;
1: };
1:
1: struct xfrm_mode_skb_cb {
1: - struct xfrm_tunnel_skb_cb header;
1: - __be16 id;
1: - __be16 frag_off;
1: - u8 ihl;
1: - u8 tos;
1: - u8 ttl;
1: - u8 protocol;
1: - u8 optlen;
1: - u8 flow_lbl[3];
1: + struct xfrm_tunnel_skb_cb header;
1: + __be16 id;
1: + __be16 frag_off;
1: + u8 ihl;
1: + u8 tos;
1: + u8 ttl;
1: + u8 protocol;
1: + u8 optlen;
1: + u8 flow_lbl[3];
1: };
1:
1: struct xfrm_spi_skb_cb {
1: - struct xfrm_tunnel_skb_cb header;
1: - unsigned int daddroff;
1: - unsigned int family;
1: - __be32 seq;
1: + struct xfrm_tunnel_skb_cb header;
1: + unsigned int daddroff;
1: + unsigned int family;
1: + __be32 seq;
1: };
1:
1: struct xfrm_input_afinfo {
1: - unsigned int family;
1: - int (*callback)(struct sk_buff *, u8, int);
1: + unsigned int family;
1: + int (*callback)(struct sk_buff *, u8, int);
1: };
1:
1: struct xfrm4_protocol {
1: - int (*handler)(struct sk_buff *);
1: - int (*input_handler)(struct sk_buff *, int, __be32, int);
1: - int (*cb_handler)(struct sk_buff *, int);
1: - int (*err_handler)(struct sk_buff *, u32);
1: - struct xfrm4_protocol *next;
1: - int priority;
1: + int (*handler)(struct sk_buff *);
1: + int (*input_handler)(struct sk_buff *, int, __be32, int);
1: + int (*cb_handler)(struct sk_buff *, int);
1: + int (*err_handler)(struct sk_buff *, u32);
1: + struct xfrm4_protocol *next;
1: + int priority;
1: };
1:
1: enum {
1: - XFRM_STATE_VOID = 0,
1: - XFRM_STATE_ACQ = 1,
1: - XFRM_STATE_VALID = 2,
1: - XFRM_STATE_ERROR = 3,
1: - XFRM_STATE_EXPIRED = 4,
1: - XFRM_STATE_DEAD = 5,
1: + XFRM_STATE_VOID = 0,
1: + XFRM_STATE_ACQ = 1,
1: + XFRM_STATE_VALID = 2,
1: + XFRM_STATE_ERROR = 3,
1: + XFRM_STATE_EXPIRED = 4,
1: + XFRM_STATE_DEAD = 5,
1: };
1:
1: struct xfrm_if;
1:
1: struct xfrm_if_cb {
1: - struct xfrm_if * (*decode_session)(struct sk_buff *, short unsigned int);
1: + struct xfrm_if *(*decode_session)(struct sk_buff *, short unsigned int);
1: };
1:
1: struct xfrm_if_parms {
1: - int link;
1: - u32 if_id;
1: + int link;
1: + u32 if_id;
1: };
1:
1: struct xfrm_if {
1: - struct xfrm_if *next;
1: - struct net_device *dev;
1: - struct net *net;
1: - struct xfrm_if_parms p;
1: - struct gro_cells gro_cells;
1: + struct xfrm_if *next;
1: + struct net_device *dev;
1: + struct net *net;
1: + struct xfrm_if_parms p;
1: + struct gro_cells gro_cells;
1: };
1:
1: struct xfrm_policy_walk {
1: - struct xfrm_policy_walk_entry walk;
1: - u8 type;
1: - u32 seq;
1: + struct xfrm_policy_walk_entry walk;
1: + u8 type;
1: + u32 seq;
1: };
1:
1: struct xfrmk_spdinfo {
1: - u32 incnt;
1: - u32 outcnt;
1: - u32 fwdcnt;
1: - u32 inscnt;
1: - u32 outscnt;
1: - u32 fwdscnt;
1: - u32 spdhcnt;
1: - u32 spdhmcnt;
1: + u32 incnt;
1: + u32 outcnt;
1: + u32 fwdcnt;
1: + u32 inscnt;
1: + u32 outscnt;
1: + u32 fwdscnt;
1: + u32 spdhcnt;
1: + u32 spdhmcnt;
1: };
1:
1: struct xfrm_flo {
1: - struct dst_entry *dst_orig;
1: - u8 flags;
1: + struct dst_entry *dst_orig;
1: + u8 flags;
1: };
1:
1: struct xfrm_pol_inexact_node {
1: - struct rb_node node;
1: - union {
1: - xfrm_address_t addr;
1: - struct callback_head rcu;
1: - };
1: - u8 prefixlen;
1: - struct rb_root root;
1: - struct hlist_head hhead;
1: + struct rb_node node;
1: + union {
1: + xfrm_address_t addr;
1: + struct callback_head rcu;
1: + };
1: + u8 prefixlen;
1: + struct rb_root root;
1: + struct hlist_head hhead;
1: };
1:
1: struct xfrm_pol_inexact_key {
1: - possible_net_t net;
1: - u32 if_id;
1: - u16 family;
1: - u8 dir;
1: - u8 type;
1: + possible_net_t net;
1: + u32 if_id;
1: + u16 family;
1: + u8 dir;
1: + u8 type;
1: };
1:
1: struct xfrm_pol_inexact_bin {
1: - struct xfrm_pol_inexact_key k;
1: - struct rhash_head head;
1: - struct hlist_head hhead;
1: - seqcount_t count;
1: - struct rb_root root_d;
1: - struct rb_root root_s;
1: - struct list_head inexact_bins;
1: - struct callback_head rcu;
1: + struct xfrm_pol_inexact_key k;
1: + struct rhash_head head;
1: + struct hlist_head hhead;
1: + seqcount_t count;
1: + struct rb_root root_d;
1: + struct rb_root root_s;
1: + struct list_head inexact_bins;
1: + struct callback_head rcu;
1: };
1:
1: enum xfrm_pol_inexact_candidate_type {
1: - XFRM_POL_CAND_BOTH = 0,
1: - XFRM_POL_CAND_SADDR = 1,
1: - XFRM_POL_CAND_DADDR = 2,
1: - XFRM_POL_CAND_ANY = 3,
1: - XFRM_POL_CAND_MAX = 4,
1: + XFRM_POL_CAND_BOTH = 0,
1: + XFRM_POL_CAND_SADDR = 1,
1: + XFRM_POL_CAND_DADDR = 2,
1: + XFRM_POL_CAND_ANY = 3,
1: + XFRM_POL_CAND_MAX = 4,
1: };
1:
1: struct xfrm_pol_inexact_candidates {
1: - struct hlist_head *res[4];
1: + struct hlist_head *res[4];
1: };
1:
1: enum xfrm_ae_ftype_t {
1: - XFRM_AE_UNSPEC = 0,
1: - XFRM_AE_RTHR = 1,
1: - XFRM_AE_RVAL = 2,
1: - XFRM_AE_LVAL = 4,
1: - XFRM_AE_ETHR = 8,
1: - XFRM_AE_CR = 16,
1: - XFRM_AE_CE = 32,
1: - XFRM_AE_CU = 64,
1: - __XFRM_AE_MAX = 65,
1: + XFRM_AE_UNSPEC = 0,
1: + XFRM_AE_RTHR = 1,
1: + XFRM_AE_RVAL = 2,
1: + XFRM_AE_LVAL = 4,
1: + XFRM_AE_ETHR = 8,
1: + XFRM_AE_CR = 16,
1: + XFRM_AE_CE = 32,
1: + XFRM_AE_CU = 64,
1: + __XFRM_AE_MAX = 65,
1: };
1:
1: enum xfrm_nlgroups {
1: - XFRMNLGRP_NONE = 0,
1: - XFRMNLGRP_ACQUIRE = 1,
1: - XFRMNLGRP_EXPIRE = 2,
1: - XFRMNLGRP_SA = 3,
1: - XFRMNLGRP_POLICY = 4,
1: - XFRMNLGRP_AEVENTS = 5,
1: - XFRMNLGRP_REPORT = 6,
1: - XFRMNLGRP_MIGRATE = 7,
1: - XFRMNLGRP_MAPPING = 8,
1: - __XFRMNLGRP_MAX = 9,
1: + XFRMNLGRP_NONE = 0,
1: + XFRMNLGRP_ACQUIRE = 1,
1: + XFRMNLGRP_EXPIRE = 2,
1: + XFRMNLGRP_SA = 3,
1: + XFRMNLGRP_POLICY = 4,
1: + XFRMNLGRP_AEVENTS = 5,
1: + XFRMNLGRP_REPORT = 6,
1: + XFRMNLGRP_MIGRATE = 7,
1: + XFRMNLGRP_MAPPING = 8,
1: + __XFRMNLGRP_MAX = 9,
1: };
1:
1: enum {
1: - XFRM_MODE_FLAG_TUNNEL = 1,
1: + XFRM_MODE_FLAG_TUNNEL = 1,
1: };
1:
1: struct km_event {
1: - union {
1: - u32 hard;
1: - u32 proto;
1: - u32 byid;
1: - u32 aevent;
1: - u32 type;
1: - } data;
1: - u32 seq;
1: - u32 portid;
1: - u32 event;
1: - struct net *net;
1: + union {
1: + u32 hard;
1: + u32 proto;
1: + u32 byid;
1: + u32 aevent;
1: + u32 type;
1: + } data;
1: + u32 seq;
1: + u32 portid;
1: + u32 event;
1: + struct net *net;
1: };
1:
1: struct xfrm_kmaddress {
1: - xfrm_address_t local;
1: - xfrm_address_t remote;
1: - u32 reserved;
1: - u16 family;
1: + xfrm_address_t local;
1: + xfrm_address_t remote;
1: + u32 reserved;
1: + u16 family;
1: };
1:
1: struct xfrm_migrate {
1: - xfrm_address_t old_daddr;
1: - xfrm_address_t old_saddr;
1: - xfrm_address_t new_daddr;
1: - xfrm_address_t new_saddr;
1: - u8 proto;
1: - u8 mode;
1: - u16 reserved;
1: - u32 reqid;
1: - u16 old_family;
1: - u16 new_family;
1: + xfrm_address_t old_daddr;
1: + xfrm_address_t old_saddr;
1: + xfrm_address_t new_daddr;
1: + xfrm_address_t new_saddr;
1: + u8 proto;
1: + u8 mode;
1: + u16 reserved;
1: + u32 reqid;
1: + u16 old_family;
1: + u16 new_family;
1: };
1:
1: struct xfrm_mgr {
1: - struct list_head list;
1: - int (*notify)(struct xfrm_state *, const struct km_event *);
1: - int (*acquire)(struct xfrm_state *, struct xfrm_tmpl *, struct xfrm_policy *);
1: - struct xfrm_policy * (*compile_policy)(struct sock *, int, u8 *, int, int *);
1: - int (*new_mapping)(struct xfrm_state *, xfrm_address_t *, __be16);
1: - int (*notify_policy)(struct xfrm_policy *, int, const struct km_event *);
1: - int (*report)(struct net *, u8, struct xfrm_selector *, xfrm_address_t *);
1: - int (*migrate)(const struct xfrm_selector *, u8, u8, const struct xfrm_migrate *, int, const struct xfrm_kmaddress *, const struct xfrm_encap_tmpl *);
1: - bool (*is_alive)(const struct km_event *);
1: + struct list_head list;
1: + int (*notify)(struct xfrm_state *, const struct km_event *);
1: + int (*acquire)(struct xfrm_state *, struct xfrm_tmpl *, struct xfrm_policy *);
1: + struct xfrm_policy *(*compile_policy)(struct sock *, int, u8 *, int, int *);
1: + int (*new_mapping)(struct xfrm_state *, xfrm_address_t *, __be16);
1: + int (*notify_policy)(struct xfrm_policy *, int, const struct km_event *);
1: + int (*report)(struct net *, u8, struct xfrm_selector *, xfrm_address_t *);
1: + int (*migrate)(const struct xfrm_selector *, u8, u8,
1: + const struct xfrm_migrate *, int,
1: + const struct xfrm_kmaddress *, const struct xfrm_encap_tmpl *);
1: + bool (*is_alive)(const struct km_event *);
1: };
1:
1: struct xfrmk_sadinfo {
1: - u32 sadhcnt;
1: - u32 sadhmcnt;
1: - u32 sadcnt;
1: + u32 sadhcnt;
1: + u32 sadhmcnt;
1: + u32 sadcnt;
1: };
1:
1: struct ip_beet_phdr {
1: - __u8 nexthdr;
1: - __u8 hdrlen;
1: - __u8 padlen;
1: - __u8 reserved;
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: + __u8 padlen;
1: + __u8 reserved;
1: };
1:
1: struct __ip6_tnl_parm {
1: - char name[16];
1: - int link;
1: - __u8 proto;
1: - __u8 encap_limit;
1: - __u8 hop_limit;
1: - bool collect_md;
1: - __be32 flowinfo;
1: - __u32 flags;
1: - struct in6_addr laddr;
1: - struct in6_addr raddr;
1: - __be16 i_flags;
1: - __be16 o_flags;
1: - __be32 i_key;
1: - __be32 o_key;
1: - __u32 fwmark;
1: - __u32 index;
1: - __u8 erspan_ver;
1: - __u8 dir;
1: - __u16 hwid;
1: + char name[16];
1: + int link;
1: + __u8 proto;
1: + __u8 encap_limit;
1: + __u8 hop_limit;
1: + bool collect_md;
1: + __be32 flowinfo;
1: + __u32 flags;
1: + struct in6_addr laddr;
1: + struct in6_addr raddr;
1: + __be16 i_flags;
1: + __be16 o_flags;
1: + __be32 i_key;
1: + __be32 o_key;
1: + __u32 fwmark;
1: + __u32 index;
1: + __u8 erspan_ver;
1: + __u8 dir;
1: + __u16 hwid;
1: };
1:
1: struct ip6_tnl {
1: - struct ip6_tnl *next;
1: - struct net_device *dev;
1: - struct net *net;
1: - struct __ip6_tnl_parm parms;
1: - struct flowi fl;
1: - struct dst_cache dst_cache;
1: - struct gro_cells gro_cells;
1: - int err_count;
1: - long unsigned int err_time;
1: - __u32 i_seqno;
1: - __u32 o_seqno;
1: - int hlen;
1: - int tun_hlen;
1: - int encap_hlen;
1: - struct ip_tunnel_encap encap;
1: - int mlink;
1: + struct ip6_tnl *next;
1: + struct net_device *dev;
1: + struct net *net;
1: + struct __ip6_tnl_parm parms;
1: + struct flowi fl;
1: + struct dst_cache dst_cache;
1: + struct gro_cells gro_cells;
1: + int err_count;
1: + long unsigned int err_time;
1: + __u32 i_seqno;
1: + __u32 o_seqno;
1: + int hlen;
1: + int tun_hlen;
1: + int encap_hlen;
1: + struct ip_tunnel_encap encap;
1: + int mlink;
1: };
1:
1: struct xfrm_skb_cb {
1: - struct xfrm_tunnel_skb_cb header;
1: - union {
1: - struct {
1: - __u32 low;
1: - __u32 hi;
1: - } output;
1: - struct {
1: - __be32 low;
1: - __be32 hi;
1: - } input;
1: - } seq;
1: + struct xfrm_tunnel_skb_cb header;
1: + union {
1: + struct {
1: + __u32 low;
1: + __u32 hi;
1: + } output;
1: + struct {
1: + __be32 low;
1: + __be32 hi;
1: + } input;
1: + } seq;
1: };
1:
1: struct xfrm_trans_tasklet {
1: - struct tasklet_struct tasklet;
1: - struct sk_buff_head queue;
1: + struct tasklet_struct tasklet;
1: + struct sk_buff_head queue;
1: };
1:
1: struct xfrm_trans_cb {
1: - union {
1: - struct inet_skb_parm h4;
1: - struct inet6_skb_parm h6;
1: - } header;
1: - int (*finish)(struct net *, struct sock *, struct sk_buff *);
1: + union {
1: + struct inet_skb_parm h4;
1: + struct inet6_skb_parm h6;
1: + } header;
1: + int (*finish)(struct net *, struct sock *, struct sk_buff *);
1: };
1:
1: struct sadb_alg {
1: - __u8 sadb_alg_id;
1: - __u8 sadb_alg_ivlen;
1: - __u16 sadb_alg_minbits;
1: - __u16 sadb_alg_maxbits;
1: - __u16 sadb_alg_reserved;
1: + __u8 sadb_alg_id;
1: + __u8 sadb_alg_ivlen;
1: + __u16 sadb_alg_minbits;
1: + __u16 sadb_alg_maxbits;
1: + __u16 sadb_alg_reserved;
1: };
1:
1: struct xfrm_algo_aead_info {
1: - char *geniv;
1: - u16 icv_truncbits;
1: + char *geniv;
1: + u16 icv_truncbits;
1: };
1:
1: struct xfrm_algo_auth_info {
1: - u16 icv_truncbits;
1: - u16 icv_fullbits;
1: + u16 icv_truncbits;
1: + u16 icv_fullbits;
1: };
1:
1: struct xfrm_algo_encr_info {
1: - char *geniv;
1: - u16 blockbits;
1: - u16 defkeybits;
1: + char *geniv;
1: + u16 blockbits;
1: + u16 defkeybits;
1: };
1:
1: struct xfrm_algo_comp_info {
1: - u16 threshold;
1: + u16 threshold;
1: };
1:
1: struct xfrm_algo_desc {
1: - char *name;
1: - char *compat;
1: - u8 available: 1;
1: - u8 pfkey_supported: 1;
1: - union {
1: - struct xfrm_algo_aead_info aead;
1: - struct xfrm_algo_auth_info auth;
1: - struct xfrm_algo_encr_info encr;
1: - struct xfrm_algo_comp_info comp;
1: - } uinfo;
1: - struct sadb_alg desc;
1: + char *name;
1: + char *compat;
1: + u8 available : 1;
1: + u8 pfkey_supported : 1;
1: + union {
1: + struct xfrm_algo_aead_info aead;
1: + struct xfrm_algo_auth_info auth;
1: + struct xfrm_algo_encr_info encr;
1: + struct xfrm_algo_comp_info comp;
1: + } uinfo;
1: + struct sadb_alg desc;
1: };
1:
1: struct xfrm_algo_list {
1: - struct xfrm_algo_desc *algs;
1: - int entries;
1: - u32 type;
1: - u32 mask;
1: + struct xfrm_algo_desc *algs;
1: + int entries;
1: + u32 type;
1: + u32 mask;
1: };
1:
1: struct xfrm_aead_name {
1: - const char *name;
1: - int icvbits;
1: + const char *name;
1: + int icvbits;
1: };
1:
1: enum {
1: - XFRM_SHARE_ANY = 0,
1: - XFRM_SHARE_SESSION = 1,
1: - XFRM_SHARE_USER = 2,
1: - XFRM_SHARE_UNIQUE = 3,
1: + XFRM_SHARE_ANY = 0,
1: + XFRM_SHARE_SESSION = 1,
1: + XFRM_SHARE_USER = 2,
1: + XFRM_SHARE_UNIQUE = 3,
1: };
1:
1: struct xfrm_user_sec_ctx {
1: - __u16 len;
1: - __u16 exttype;
1: - __u8 ctx_alg;
1: - __u8 ctx_doi;
1: - __u16 ctx_len;
1: + __u16 len;
1: + __u16 exttype;
1: + __u8 ctx_alg;
1: + __u8 ctx_doi;
1: + __u16 ctx_len;
1: };
1:
1: struct xfrm_user_tmpl {
1: - struct xfrm_id id;
1: - __u16 family;
1: - xfrm_address_t saddr;
1: - __u32 reqid;
1: - __u8 mode;
1: - __u8 share;
1: - __u8 optional;
1: - __u32 aalgos;
1: - __u32 ealgos;
1: - __u32 calgos;
1: + struct xfrm_id id;
1: + __u16 family;
1: + xfrm_address_t saddr;
1: + __u32 reqid;
1: + __u8 mode;
1: + __u8 share;
1: + __u8 optional;
1: + __u32 aalgos;
1: + __u32 ealgos;
1: + __u32 calgos;
1: };
1:
1: struct xfrm_userpolicy_type {
1: - __u8 type;
1: - __u16 reserved1;
1: - __u8 reserved2;
1: + __u8 type;
1: + __u16 reserved1;
1: + __u8 reserved2;
1: };
1:
1: enum xfrm_attr_type_t {
1: - XFRMA_UNSPEC = 0,
1: - XFRMA_ALG_AUTH = 1,
1: - XFRMA_ALG_CRYPT = 2,
1: - XFRMA_ALG_COMP = 3,
1: - XFRMA_ENCAP = 4,
1: - XFRMA_TMPL = 5,
1: - XFRMA_SA = 6,
1: - XFRMA_POLICY = 7,
1: - XFRMA_SEC_CTX = 8,
1: - XFRMA_LTIME_VAL = 9,
1: - XFRMA_REPLAY_VAL = 10,
1: - XFRMA_REPLAY_THRESH = 11,
1: - XFRMA_ETIMER_THRESH = 12,
1: - XFRMA_SRCADDR = 13,
1: - XFRMA_COADDR = 14,
1: - XFRMA_LASTUSED = 15,
1: - XFRMA_POLICY_TYPE = 16,
1: - XFRMA_MIGRATE = 17,
1: - XFRMA_ALG_AEAD = 18,
1: - XFRMA_KMADDRESS = 19,
1: - XFRMA_ALG_AUTH_TRUNC = 20,
1: - XFRMA_MARK = 21,
1: - XFRMA_TFCPAD = 22,
1: - XFRMA_REPLAY_ESN_VAL = 23,
1: - XFRMA_SA_EXTRA_FLAGS = 24,
1: - XFRMA_PROTO = 25,
1: - XFRMA_ADDRESS_FILTER = 26,
1: - XFRMA_PAD = 27,
1: - XFRMA_OFFLOAD_DEV = 28,
1: - XFRMA_SET_MARK = 29,
1: - XFRMA_SET_MARK_MASK = 30,
1: - XFRMA_IF_ID = 31,
1: - __XFRMA_MAX = 32,
1: + XFRMA_UNSPEC = 0,
1: + XFRMA_ALG_AUTH = 1,
1: + XFRMA_ALG_CRYPT = 2,
1: + XFRMA_ALG_COMP = 3,
1: + XFRMA_ENCAP = 4,
1: + XFRMA_TMPL = 5,
1: + XFRMA_SA = 6,
1: + XFRMA_POLICY = 7,
1: + XFRMA_SEC_CTX = 8,
1: + XFRMA_LTIME_VAL = 9,
1: + XFRMA_REPLAY_VAL = 10,
1: + XFRMA_REPLAY_THRESH = 11,
1: + XFRMA_ETIMER_THRESH = 12,
1: + XFRMA_SRCADDR = 13,
1: + XFRMA_COADDR = 14,
1: + XFRMA_LASTUSED = 15,
1: + XFRMA_POLICY_TYPE = 16,
1: + XFRMA_MIGRATE = 17,
1: + XFRMA_ALG_AEAD = 18,
1: + XFRMA_KMADDRESS = 19,
1: + XFRMA_ALG_AUTH_TRUNC = 20,
1: + XFRMA_MARK = 21,
1: + XFRMA_TFCPAD = 22,
1: + XFRMA_REPLAY_ESN_VAL = 23,
1: + XFRMA_SA_EXTRA_FLAGS = 24,
1: + XFRMA_PROTO = 25,
1: + XFRMA_ADDRESS_FILTER = 26,
1: + XFRMA_PAD = 27,
1: + XFRMA_OFFLOAD_DEV = 28,
1: + XFRMA_SET_MARK = 29,
1: + XFRMA_SET_MARK_MASK = 30,
1: + XFRMA_IF_ID = 31,
1: + __XFRMA_MAX = 32,
1: };
1:
1: enum xfrm_sadattr_type_t {
1: - XFRMA_SAD_UNSPEC = 0,
1: - XFRMA_SAD_CNT = 1,
1: - XFRMA_SAD_HINFO = 2,
1: - __XFRMA_SAD_MAX = 3,
1: + XFRMA_SAD_UNSPEC = 0,
1: + XFRMA_SAD_CNT = 1,
1: + XFRMA_SAD_HINFO = 2,
1: + __XFRMA_SAD_MAX = 3,
1: };
1:
1: struct xfrmu_sadhinfo {
1: - __u32 sadhcnt;
1: - __u32 sadhmcnt;
1: + __u32 sadhcnt;
1: + __u32 sadhmcnt;
1: };
1:
1: enum xfrm_spdattr_type_t {
1: - XFRMA_SPD_UNSPEC = 0,
1: - XFRMA_SPD_INFO = 1,
1: - XFRMA_SPD_HINFO = 2,
1: - XFRMA_SPD_IPV4_HTHRESH = 3,
1: - XFRMA_SPD_IPV6_HTHRESH = 4,
1: - __XFRMA_SPD_MAX = 5,
1: + XFRMA_SPD_UNSPEC = 0,
1: + XFRMA_SPD_INFO = 1,
1: + XFRMA_SPD_HINFO = 2,
1: + XFRMA_SPD_IPV4_HTHRESH = 3,
1: + XFRMA_SPD_IPV6_HTHRESH = 4,
1: + __XFRMA_SPD_MAX = 5,
1: };
1:
1: struct xfrmu_spdinfo {
1: - __u32 incnt;
1: - __u32 outcnt;
1: - __u32 fwdcnt;
1: - __u32 inscnt;
1: - __u32 outscnt;
1: - __u32 fwdscnt;
1: + __u32 incnt;
1: + __u32 outcnt;
1: + __u32 fwdcnt;
1: + __u32 inscnt;
1: + __u32 outscnt;
1: + __u32 fwdscnt;
1: };
1:
1: struct xfrmu_spdhinfo {
1: - __u32 spdhcnt;
1: - __u32 spdhmcnt;
1: + __u32 spdhcnt;
1: + __u32 spdhmcnt;
1: };
1:
1: struct xfrmu_spdhthresh {
1: - __u8 lbits;
1: - __u8 rbits;
1: + __u8 lbits;
1: + __u8 rbits;
1: };
1:
1: struct xfrm_usersa_info {
1: - struct xfrm_selector sel;
1: - struct xfrm_id id;
1: - xfrm_address_t saddr;
1: - struct xfrm_lifetime_cfg lft;
1: - struct xfrm_lifetime_cur curlft;
1: - struct xfrm_stats stats;
1: - __u32 seq;
1: - __u32 reqid;
1: - __u16 family;
1: - __u8 mode;
1: - __u8 replay_window;
1: - __u8 flags;
1: + struct xfrm_selector sel;
1: + struct xfrm_id id;
1: + xfrm_address_t saddr;
1: + struct xfrm_lifetime_cfg lft;
1: + struct xfrm_lifetime_cur curlft;
1: + struct xfrm_stats stats;
1: + __u32 seq;
1: + __u32 reqid;
1: + __u16 family;
1: + __u8 mode;
1: + __u8 replay_window;
1: + __u8 flags;
1: };
1:
1: struct xfrm_usersa_id {
1: - xfrm_address_t daddr;
1: - __be32 spi;
1: - __u16 family;
1: - __u8 proto;
1: + xfrm_address_t daddr;
1: + __be32 spi;
1: + __u16 family;
1: + __u8 proto;
1: };
1:
1: struct xfrm_aevent_id {
1: - struct xfrm_usersa_id sa_id;
1: - xfrm_address_t saddr;
1: - __u32 flags;
1: - __u32 reqid;
1: + struct xfrm_usersa_id sa_id;
1: + xfrm_address_t saddr;
1: + __u32 flags;
1: + __u32 reqid;
1: };
1:
1: struct xfrm_userspi_info {
1: - struct xfrm_usersa_info info;
1: - __u32 min;
1: - __u32 max;
1: + struct xfrm_usersa_info info;
1: + __u32 min;
1: + __u32 max;
1: };
1:
1: struct xfrm_userpolicy_info {
1: - struct xfrm_selector sel;
1: - struct xfrm_lifetime_cfg lft;
1: - struct xfrm_lifetime_cur curlft;
1: - __u32 priority;
1: - __u32 index;
1: - __u8 dir;
1: - __u8 action;
1: - __u8 flags;
1: - __u8 share;
1: + struct xfrm_selector sel;
1: + struct xfrm_lifetime_cfg lft;
1: + struct xfrm_lifetime_cur curlft;
1: + __u32 priority;
1: + __u32 index;
1: + __u8 dir;
1: + __u8 action;
1: + __u8 flags;
1: + __u8 share;
1: };
1:
1: struct xfrm_userpolicy_id {
1: - struct xfrm_selector sel;
1: - __u32 index;
1: - __u8 dir;
1: + struct xfrm_selector sel;
1: + __u32 index;
1: + __u8 dir;
1: };
1:
1: struct xfrm_user_acquire {
1: - struct xfrm_id id;
1: - xfrm_address_t saddr;
1: - struct xfrm_selector sel;
1: - struct xfrm_userpolicy_info policy;
1: - __u32 aalgos;
1: - __u32 ealgos;
1: - __u32 calgos;
1: - __u32 seq;
1: + struct xfrm_id id;
1: + xfrm_address_t saddr;
1: + struct xfrm_selector sel;
1: + struct xfrm_userpolicy_info policy;
1: + __u32 aalgos;
1: + __u32 ealgos;
1: + __u32 calgos;
1: + __u32 seq;
1: };
1:
1: struct xfrm_user_expire {
1: - struct xfrm_usersa_info state;
1: - __u8 hard;
1: + struct xfrm_usersa_info state;
1: + __u8 hard;
1: };
1:
1: struct xfrm_user_polexpire {
1: - struct xfrm_userpolicy_info pol;
1: - __u8 hard;
1: + struct xfrm_userpolicy_info pol;
1: + __u8 hard;
1: };
1:
1: struct xfrm_usersa_flush {
1: - __u8 proto;
1: + __u8 proto;
1: };
1:
1: struct xfrm_user_report {
1: - __u8 proto;
1: - struct xfrm_selector sel;
1: + __u8 proto;
1: + struct xfrm_selector sel;
1: };
1:
1: struct xfrm_user_mapping {
1: - struct xfrm_usersa_id id;
1: - __u32 reqid;
1: - xfrm_address_t old_saddr;
1: - xfrm_address_t new_saddr;
1: - __be16 old_sport;
1: - __be16 new_sport;
1: + struct xfrm_usersa_id id;
1: + __u32 reqid;
1: + xfrm_address_t old_saddr;
1: + xfrm_address_t new_saddr;
1: + __be16 old_sport;
1: + __be16 new_sport;
1: };
1:
1: struct xfrm_user_offload {
1: - int ifindex;
1: - __u8 flags;
1: + int ifindex;
1: + __u8 flags;
1: };
1:
1: struct xfrm_dump_info {
1: - struct sk_buff *in_skb;
1: - struct sk_buff *out_skb;
1: - u32 nlmsg_seq;
1: - u16 nlmsg_flags;
1: + struct sk_buff *in_skb;
1: + struct sk_buff *out_skb;
1: + u32 nlmsg_seq;
1: + u16 nlmsg_flags;
1: };
1:
1: struct xfrm_link {
1: - int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **);
1: - int (*start)(struct netlink_callback *);
1: - int (*dump)(struct sk_buff *, struct netlink_callback *);
1: - int (*done)(struct netlink_callback *);
1: - const struct nla_policy *nla_pol;
1: - int nla_max;
1: + int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **);
1: + int (*start)(struct netlink_callback *);
1: + int (*dump)(struct sk_buff *, struct netlink_callback *);
1: + int (*done)(struct netlink_callback *);
1: + const struct nla_policy *nla_pol;
1: + int nla_max;
1: };
1:
1: struct unix_stream_read_state {
1: - int (*recv_actor)(struct sk_buff *, int, int, struct unix_stream_read_state *);
1: - struct socket *socket;
1: - struct msghdr *msg;
1: - struct pipe_inode_info *pipe;
1: - size_t size;
1: - int flags;
1: - unsigned int splice_flags;
1: + int (*recv_actor)(struct sk_buff *, int, int,
1: + struct unix_stream_read_state *);
1: + struct socket *socket;
1: + struct msghdr *msg;
1: + struct pipe_inode_info *pipe;
1: + size_t size;
1: + int flags;
1: + unsigned int splice_flags;
1: };
1:
1: struct ipv6_params {
1: - __s32 disable_ipv6;
1: - __s32 autoconf;
1: + __s32 disable_ipv6;
1: + __s32 autoconf;
1: };
1:
1: enum flowlabel_reflect {
1: - FLOWLABEL_REFLECT_ESTABLISHED = 1,
1: - FLOWLABEL_REFLECT_TCP_RESET = 2,
1: - FLOWLABEL_REFLECT_ICMPV6_ECHO_REPLIES = 4,
1: + FLOWLABEL_REFLECT_ESTABLISHED = 1,
1: + FLOWLABEL_REFLECT_TCP_RESET = 2,
1: + FLOWLABEL_REFLECT_ICMPV6_ECHO_REPLIES = 4,
1: };
1:
1: struct ac6_iter_state {
1: - struct seq_net_private p;
1: - struct net_device *dev;
1: - struct inet6_dev *idev;
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct inet6_dev *idev;
1: };
1:
1: struct ip6_fraglist_iter {
1: - struct ipv6hdr *tmp_hdr;
1: - struct sk_buff *frag;
1: - int offset;
1: - unsigned int hlen;
1: - __be32 frag_id;
1: - u8 nexthdr;
1: + struct ipv6hdr *tmp_hdr;
1: + struct sk_buff *frag;
1: + int offset;
1: + unsigned int hlen;
1: + __be32 frag_id;
1: + u8 nexthdr;
1: };
1:
1: struct ip6_frag_state {
1: - u8 *prevhdr;
1: - unsigned int hlen;
1: - unsigned int mtu;
1: - unsigned int left;
1: - int offset;
1: - int ptr;
1: - int hroom;
1: - int troom;
1: - __be32 frag_id;
1: - u8 nexthdr;
1: + u8 *prevhdr;
1: + unsigned int hlen;
1: + unsigned int mtu;
1: + unsigned int left;
1: + int offset;
1: + int ptr;
1: + int hroom;
1: + int troom;
1: + __be32 frag_id;
1: + u8 nexthdr;
1: };
1:
1: struct ip6_ra_chain {
1: - struct ip6_ra_chain *next;
1: - struct sock *sk;
1: - int sel;
1: - void (*destructor)(struct sock *);
1: + struct ip6_ra_chain *next;
1: + struct sock *sk;
1: + int sel;
1: + void (*destructor)(struct sock *);
1: };
1:
1: struct ipcm6_cookie {
1: - struct sockcm_cookie sockc;
1: - __s16 hlimit;
1: - __s16 tclass;
1: - __s8 dontfrag;
1: - struct ipv6_txoptions *opt;
1: - __u16 gso_size;
1: + struct sockcm_cookie sockc;
1: + __s16 hlimit;
1: + __s16 tclass;
1: + __s8 dontfrag;
1: + struct ipv6_txoptions *opt;
1: + __u16 gso_size;
1: };
1:
1: enum {
1: - IFLA_INET6_UNSPEC = 0,
1: - IFLA_INET6_FLAGS = 1,
1: - IFLA_INET6_CONF = 2,
1: - IFLA_INET6_STATS = 3,
1: - IFLA_INET6_MCAST = 4,
1: - IFLA_INET6_CACHEINFO = 5,
1: - IFLA_INET6_ICMP6STATS = 6,
1: - IFLA_INET6_TOKEN = 7,
1: - IFLA_INET6_ADDR_GEN_MODE = 8,
1: - __IFLA_INET6_MAX = 9,
1: + IFLA_INET6_UNSPEC = 0,
1: + IFLA_INET6_FLAGS = 1,
1: + IFLA_INET6_CONF = 2,
1: + IFLA_INET6_STATS = 3,
1: + IFLA_INET6_MCAST = 4,
1: + IFLA_INET6_CACHEINFO = 5,
1: + IFLA_INET6_ICMP6STATS = 6,
1: + IFLA_INET6_TOKEN = 7,
1: + IFLA_INET6_ADDR_GEN_MODE = 8,
1: + __IFLA_INET6_MAX = 9,
1: };
1:
1: enum in6_addr_gen_mode {
1: - IN6_ADDR_GEN_MODE_EUI64 = 0,
1: - IN6_ADDR_GEN_MODE_NONE = 1,
1: - IN6_ADDR_GEN_MODE_STABLE_PRIVACY = 2,
1: - IN6_ADDR_GEN_MODE_RANDOM = 3,
1: + IN6_ADDR_GEN_MODE_EUI64 = 0,
1: + IN6_ADDR_GEN_MODE_NONE = 1,
1: + IN6_ADDR_GEN_MODE_STABLE_PRIVACY = 2,
1: + IN6_ADDR_GEN_MODE_RANDOM = 3,
1: };
1:
1: struct ifla_cacheinfo {
1: - __u32 max_reasm_len;
1: - __u32 tstamp;
1: - __u32 reachable_time;
1: - __u32 retrans_time;
1: + __u32 max_reasm_len;
1: + __u32 tstamp;
1: + __u32 reachable_time;
1: + __u32 retrans_time;
1: };
1:
1: struct wpan_phy;
1: @@ -108826,760 +109663,766 @@ struct wpan_phy;
1: struct wpan_dev_header_ops;
1:
1: struct wpan_dev {
1: - struct wpan_phy *wpan_phy;
1: - int iftype;
1: - struct list_head list;
1: - struct net_device *netdev;
1: - const struct wpan_dev_header_ops *header_ops;
1: - struct net_device *lowpan_dev;
1: - u32 identifier;
1: - __le16 pan_id;
1: - __le16 short_addr;
1: - __le64 extended_addr;
1: - atomic_t bsn;
1: - atomic_t dsn;
1: - u8 min_be;
1: - u8 max_be;
1: - u8 csma_retries;
1: - s8 frame_retries;
1: - bool lbt;
1: - bool promiscuous_mode;
1: - bool ackreq;
1: + struct wpan_phy *wpan_phy;
1: + int iftype;
1: + struct list_head list;
1: + struct net_device *netdev;
1: + const struct wpan_dev_header_ops *header_ops;
1: + struct net_device *lowpan_dev;
1: + u32 identifier;
1: + __le16 pan_id;
1: + __le16 short_addr;
1: + __le64 extended_addr;
1: + atomic_t bsn;
1: + atomic_t dsn;
1: + u8 min_be;
1: + u8 max_be;
1: + u8 csma_retries;
1: + s8 frame_retries;
1: + bool lbt;
1: + bool promiscuous_mode;
1: + bool ackreq;
1: };
1:
1: struct prefixmsg {
1: - unsigned char prefix_family;
1: - unsigned char prefix_pad1;
1: - short unsigned int prefix_pad2;
1: - int prefix_ifindex;
1: - unsigned char prefix_type;
1: - unsigned char prefix_len;
1: - unsigned char prefix_flags;
1: - unsigned char prefix_pad3;
1: + unsigned char prefix_family;
1: + unsigned char prefix_pad1;
1: + short unsigned int prefix_pad2;
1: + int prefix_ifindex;
1: + unsigned char prefix_type;
1: + unsigned char prefix_len;
1: + unsigned char prefix_flags;
1: + unsigned char prefix_pad3;
1: };
1:
1: enum {
1: - PREFIX_UNSPEC = 0,
1: - PREFIX_ADDRESS = 1,
1: - PREFIX_CACHEINFO = 2,
1: - __PREFIX_MAX = 3,
1: + PREFIX_UNSPEC = 0,
1: + PREFIX_ADDRESS = 1,
1: + PREFIX_CACHEINFO = 2,
1: + __PREFIX_MAX = 3,
1: };
1:
1: struct prefix_cacheinfo {
1: - __u32 preferred_time;
1: - __u32 valid_time;
1: + __u32 preferred_time;
1: + __u32 valid_time;
1: };
1:
1: struct in6_ifreq {
1: - struct in6_addr ifr6_addr;
1: - __u32 ifr6_prefixlen;
1: - int ifr6_ifindex;
1: -};
1: -
1: -enum {
1: - DEVCONF_FORWARDING = 0,
1: - DEVCONF_HOPLIMIT = 1,
1: - DEVCONF_MTU6 = 2,
1: - DEVCONF_ACCEPT_RA = 3,
1: - DEVCONF_ACCEPT_REDIRECTS = 4,
1: - DEVCONF_AUTOCONF = 5,
1: - DEVCONF_DAD_TRANSMITS = 6,
1: - DEVCONF_RTR_SOLICITS = 7,
1: - DEVCONF_RTR_SOLICIT_INTERVAL = 8,
1: - DEVCONF_RTR_SOLICIT_DELAY = 9,
1: - DEVCONF_USE_TEMPADDR = 10,
1: - DEVCONF_TEMP_VALID_LFT = 11,
1: - DEVCONF_TEMP_PREFERED_LFT = 12,
1: - DEVCONF_REGEN_MAX_RETRY = 13,
1: - DEVCONF_MAX_DESYNC_FACTOR = 14,
1: - DEVCONF_MAX_ADDRESSES = 15,
1: - DEVCONF_FORCE_MLD_VERSION = 16,
1: - DEVCONF_ACCEPT_RA_DEFRTR = 17,
1: - DEVCONF_ACCEPT_RA_PINFO = 18,
1: - DEVCONF_ACCEPT_RA_RTR_PREF = 19,
1: - DEVCONF_RTR_PROBE_INTERVAL = 20,
1: - DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21,
1: - DEVCONF_PROXY_NDP = 22,
1: - DEVCONF_OPTIMISTIC_DAD = 23,
1: - DEVCONF_ACCEPT_SOURCE_ROUTE = 24,
1: - DEVCONF_MC_FORWARDING = 25,
1: - DEVCONF_DISABLE_IPV6 = 26,
1: - DEVCONF_ACCEPT_DAD = 27,
1: - DEVCONF_FORCE_TLLAO = 28,
1: - DEVCONF_NDISC_NOTIFY = 29,
1: - DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30,
1: - DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31,
1: - DEVCONF_SUPPRESS_FRAG_NDISC = 32,
1: - DEVCONF_ACCEPT_RA_FROM_LOCAL = 33,
1: - DEVCONF_USE_OPTIMISTIC = 34,
1: - DEVCONF_ACCEPT_RA_MTU = 35,
1: - DEVCONF_STABLE_SECRET = 36,
1: - DEVCONF_USE_OIF_ADDRS_ONLY = 37,
1: - DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38,
1: - DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39,
1: - DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40,
1: - DEVCONF_DROP_UNSOLICITED_NA = 41,
1: - DEVCONF_KEEP_ADDR_ON_DOWN = 42,
1: - DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43,
1: - DEVCONF_SEG6_ENABLED = 44,
1: - DEVCONF_SEG6_REQUIRE_HMAC = 45,
1: - DEVCONF_ENHANCED_DAD = 46,
1: - DEVCONF_ADDR_GEN_MODE = 47,
1: - DEVCONF_DISABLE_POLICY = 48,
1: - DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49,
1: - DEVCONF_NDISC_TCLASS = 50,
1: - DEVCONF_MAX = 51,
1: -};
1: -
1: -enum {
1: - INET6_IFADDR_STATE_PREDAD = 0,
1: - INET6_IFADDR_STATE_DAD = 1,
1: - INET6_IFADDR_STATE_POSTDAD = 2,
1: - INET6_IFADDR_STATE_ERRDAD = 3,
1: - INET6_IFADDR_STATE_DEAD = 4,
1: + struct in6_addr ifr6_addr;
1: + __u32 ifr6_prefixlen;
1: + int ifr6_ifindex;
1: +};
1: +
1: +enum {
1: + DEVCONF_FORWARDING = 0,
1: + DEVCONF_HOPLIMIT = 1,
1: + DEVCONF_MTU6 = 2,
1: + DEVCONF_ACCEPT_RA = 3,
1: + DEVCONF_ACCEPT_REDIRECTS = 4,
1: + DEVCONF_AUTOCONF = 5,
1: + DEVCONF_DAD_TRANSMITS = 6,
1: + DEVCONF_RTR_SOLICITS = 7,
1: + DEVCONF_RTR_SOLICIT_INTERVAL = 8,
1: + DEVCONF_RTR_SOLICIT_DELAY = 9,
1: + DEVCONF_USE_TEMPADDR = 10,
1: + DEVCONF_TEMP_VALID_LFT = 11,
1: + DEVCONF_TEMP_PREFERED_LFT = 12,
1: + DEVCONF_REGEN_MAX_RETRY = 13,
1: + DEVCONF_MAX_DESYNC_FACTOR = 14,
1: + DEVCONF_MAX_ADDRESSES = 15,
1: + DEVCONF_FORCE_MLD_VERSION = 16,
1: + DEVCONF_ACCEPT_RA_DEFRTR = 17,
1: + DEVCONF_ACCEPT_RA_PINFO = 18,
1: + DEVCONF_ACCEPT_RA_RTR_PREF = 19,
1: + DEVCONF_RTR_PROBE_INTERVAL = 20,
1: + DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21,
1: + DEVCONF_PROXY_NDP = 22,
1: + DEVCONF_OPTIMISTIC_DAD = 23,
1: + DEVCONF_ACCEPT_SOURCE_ROUTE = 24,
1: + DEVCONF_MC_FORWARDING = 25,
1: + DEVCONF_DISABLE_IPV6 = 26,
1: + DEVCONF_ACCEPT_DAD = 27,
1: + DEVCONF_FORCE_TLLAO = 28,
1: + DEVCONF_NDISC_NOTIFY = 29,
1: + DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30,
1: + DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31,
1: + DEVCONF_SUPPRESS_FRAG_NDISC = 32,
1: + DEVCONF_ACCEPT_RA_FROM_LOCAL = 33,
1: + DEVCONF_USE_OPTIMISTIC = 34,
1: + DEVCONF_ACCEPT_RA_MTU = 35,
1: + DEVCONF_STABLE_SECRET = 36,
1: + DEVCONF_USE_OIF_ADDRS_ONLY = 37,
1: + DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38,
1: + DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39,
1: + DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40,
1: + DEVCONF_DROP_UNSOLICITED_NA = 41,
1: + DEVCONF_KEEP_ADDR_ON_DOWN = 42,
1: + DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43,
1: + DEVCONF_SEG6_ENABLED = 44,
1: + DEVCONF_SEG6_REQUIRE_HMAC = 45,
1: + DEVCONF_ENHANCED_DAD = 46,
1: + DEVCONF_ADDR_GEN_MODE = 47,
1: + DEVCONF_DISABLE_POLICY = 48,
1: + DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49,
1: + DEVCONF_NDISC_TCLASS = 50,
1: + DEVCONF_MAX = 51,
1: +};
1: +
1: +enum {
1: + INET6_IFADDR_STATE_PREDAD = 0,
1: + INET6_IFADDR_STATE_DAD = 1,
1: + INET6_IFADDR_STATE_POSTDAD = 2,
1: + INET6_IFADDR_STATE_ERRDAD = 3,
1: + INET6_IFADDR_STATE_DEAD = 4,
1: };
1:
1: enum nl802154_cca_modes {
1: - __NL802154_CCA_INVALID = 0,
1: - NL802154_CCA_ENERGY = 1,
1: - NL802154_CCA_CARRIER = 2,
1: - NL802154_CCA_ENERGY_CARRIER = 3,
1: - NL802154_CCA_ALOHA = 4,
1: - NL802154_CCA_UWB_SHR = 5,
1: - NL802154_CCA_UWB_MULTIPLEXED = 6,
1: - __NL802154_CCA_ATTR_AFTER_LAST = 7,
1: - NL802154_CCA_ATTR_MAX = 6,
1: + __NL802154_CCA_INVALID = 0,
1: + NL802154_CCA_ENERGY = 1,
1: + NL802154_CCA_CARRIER = 2,
1: + NL802154_CCA_ENERGY_CARRIER = 3,
1: + NL802154_CCA_ALOHA = 4,
1: + NL802154_CCA_UWB_SHR = 5,
1: + NL802154_CCA_UWB_MULTIPLEXED = 6,
1: + __NL802154_CCA_ATTR_AFTER_LAST = 7,
1: + NL802154_CCA_ATTR_MAX = 6,
1: };
1:
1: enum nl802154_cca_opts {
1: - NL802154_CCA_OPT_ENERGY_CARRIER_AND = 0,
1: - NL802154_CCA_OPT_ENERGY_CARRIER_OR = 1,
1: - __NL802154_CCA_OPT_ATTR_AFTER_LAST = 2,
1: - NL802154_CCA_OPT_ATTR_MAX = 1,
1: + NL802154_CCA_OPT_ENERGY_CARRIER_AND = 0,
1: + NL802154_CCA_OPT_ENERGY_CARRIER_OR = 1,
1: + __NL802154_CCA_OPT_ATTR_AFTER_LAST = 2,
1: + NL802154_CCA_OPT_ATTR_MAX = 1,
1: };
1:
1: enum nl802154_supported_bool_states {
1: - NL802154_SUPPORTED_BOOL_FALSE = 0,
1: - NL802154_SUPPORTED_BOOL_TRUE = 1,
1: - __NL802154_SUPPORTED_BOOL_INVALD = 2,
1: - NL802154_SUPPORTED_BOOL_BOTH = 3,
1: - __NL802154_SUPPORTED_BOOL_AFTER_LAST = 4,
1: - NL802154_SUPPORTED_BOOL_MAX = 3,
1: + NL802154_SUPPORTED_BOOL_FALSE = 0,
1: + NL802154_SUPPORTED_BOOL_TRUE = 1,
1: + __NL802154_SUPPORTED_BOOL_INVALD = 2,
1: + NL802154_SUPPORTED_BOOL_BOTH = 3,
1: + __NL802154_SUPPORTED_BOOL_AFTER_LAST = 4,
1: + NL802154_SUPPORTED_BOOL_MAX = 3,
1: };
1:
1: struct wpan_phy_supported {
1: - u32 channels[32];
1: - u32 cca_modes;
1: - u32 cca_opts;
1: - u32 iftypes;
1: - enum nl802154_supported_bool_states lbt;
1: - u8 min_minbe;
1: - u8 max_minbe;
1: - u8 min_maxbe;
1: - u8 max_maxbe;
1: - u8 min_csma_backoffs;
1: - u8 max_csma_backoffs;
1: - s8 min_frame_retries;
1: - s8 max_frame_retries;
1: - size_t tx_powers_size;
1: - size_t cca_ed_levels_size;
1: - const s32 *tx_powers;
1: - const s32 *cca_ed_levels;
1: + u32 channels[32];
1: + u32 cca_modes;
1: + u32 cca_opts;
1: + u32 iftypes;
1: + enum nl802154_supported_bool_states lbt;
1: + u8 min_minbe;
1: + u8 max_minbe;
1: + u8 min_maxbe;
1: + u8 max_maxbe;
1: + u8 min_csma_backoffs;
1: + u8 max_csma_backoffs;
1: + s8 min_frame_retries;
1: + s8 max_frame_retries;
1: + size_t tx_powers_size;
1: + size_t cca_ed_levels_size;
1: + const s32 *tx_powers;
1: + const s32 *cca_ed_levels;
1: };
1:
1: struct wpan_phy_cca {
1: - enum nl802154_cca_modes mode;
1: - enum nl802154_cca_opts opt;
1: + enum nl802154_cca_modes mode;
1: + enum nl802154_cca_opts opt;
1: };
1:
1: struct wpan_phy {
1: - const void *privid;
1: - u32 flags;
1: - u8 current_channel;
1: - u8 current_page;
1: - struct wpan_phy_supported supported;
1: - s32 transmit_power;
1: - struct wpan_phy_cca cca;
1: - __le64 perm_extended_addr;
1: - s32 cca_ed_level;
1: - u8 symbol_duration;
1: - u16 lifs_period;
1: - u16 sifs_period;
1: - struct device dev;
1: - possible_net_t _net;
1: - char priv[0];
1: + const void *privid;
1: + u32 flags;
1: + u8 current_channel;
1: + u8 current_page;
1: + struct wpan_phy_supported supported;
1: + s32 transmit_power;
1: + struct wpan_phy_cca cca;
1: + __le64 perm_extended_addr;
1: + s32 cca_ed_level;
1: + u8 symbol_duration;
1: + u16 lifs_period;
1: + u16 sifs_period;
1: + struct device dev;
1: + possible_net_t _net;
1: + char priv[0];
1: };
1:
1: struct ieee802154_addr {
1: - u8 mode;
1: - __le16 pan_id;
1: - union {
1: - __le16 short_addr;
1: - __le64 extended_addr;
1: - };
1: + u8 mode;
1: + __le16 pan_id;
1: + union {
1: + __le16 short_addr;
1: + __le64 extended_addr;
1: + };
1: };
1:
1: struct wpan_dev_header_ops {
1: - int (*create)(struct sk_buff *, struct net_device *, const struct ieee802154_addr *, const struct ieee802154_addr *, unsigned int);
1: + int (*create)(struct sk_buff *, struct net_device *,
1: + const struct ieee802154_addr *, const struct ieee802154_addr *,
1: + unsigned int);
1: };
1:
1: union fwnet_hwaddr {
1: - u8 u[16];
1: - struct {
1: - __be64 uniq_id;
1: - u8 max_rec;
1: - u8 sspd;
1: - __be16 fifo_hi;
1: - __be32 fifo_lo;
1: - } uc;
1: + u8 u[16];
1: + struct {
1: + __be64 uniq_id;
1: + u8 max_rec;
1: + u8 sspd;
1: + __be16 fifo_hi;
1: + __be32 fifo_lo;
1: + } uc;
1: };
1:
1: struct in6_validator_info {
1: - struct in6_addr i6vi_addr;
1: - struct inet6_dev *i6vi_dev;
1: - struct netlink_ext_ack *extack;
1: + struct in6_addr i6vi_addr;
1: + struct inet6_dev *i6vi_dev;
1: + struct netlink_ext_ack *extack;
1: };
1:
1: struct ifa6_config {
1: - const struct in6_addr *pfx;
1: - unsigned int plen;
1: - const struct in6_addr *peer_pfx;
1: - u32 rt_priority;
1: - u32 ifa_flags;
1: - u32 preferred_lft;
1: - u32 valid_lft;
1: - u16 scope;
1: + const struct in6_addr *pfx;
1: + unsigned int plen;
1: + const struct in6_addr *peer_pfx;
1: + u32 rt_priority;
1: + u32 ifa_flags;
1: + u32 preferred_lft;
1: + u32 valid_lft;
1: + u16 scope;
1: };
1:
1: enum cleanup_prefix_rt_t {
1: - CLEANUP_PREFIX_RT_NOP = 0,
1: - CLEANUP_PREFIX_RT_DEL = 1,
1: - CLEANUP_PREFIX_RT_EXPIRE = 2,
1: + CLEANUP_PREFIX_RT_NOP = 0,
1: + CLEANUP_PREFIX_RT_DEL = 1,
1: + CLEANUP_PREFIX_RT_EXPIRE = 2,
1: };
1:
1: enum {
1: - IPV6_SADDR_RULE_INIT = 0,
1: - IPV6_SADDR_RULE_LOCAL = 1,
1: - IPV6_SADDR_RULE_SCOPE = 2,
1: - IPV6_SADDR_RULE_PREFERRED = 3,
1: - IPV6_SADDR_RULE_OIF = 4,
1: - IPV6_SADDR_RULE_LABEL = 5,
1: - IPV6_SADDR_RULE_PRIVACY = 6,
1: - IPV6_SADDR_RULE_ORCHID = 7,
1: - IPV6_SADDR_RULE_PREFIX = 8,
1: - IPV6_SADDR_RULE_MAX = 9,
1: + IPV6_SADDR_RULE_INIT = 0,
1: + IPV6_SADDR_RULE_LOCAL = 1,
1: + IPV6_SADDR_RULE_SCOPE = 2,
1: + IPV6_SADDR_RULE_PREFERRED = 3,
1: + IPV6_SADDR_RULE_OIF = 4,
1: + IPV6_SADDR_RULE_LABEL = 5,
1: + IPV6_SADDR_RULE_PRIVACY = 6,
1: + IPV6_SADDR_RULE_ORCHID = 7,
1: + IPV6_SADDR_RULE_PREFIX = 8,
1: + IPV6_SADDR_RULE_MAX = 9,
1: };
1:
1: struct ipv6_saddr_score {
1: - int rule;
1: - int addr_type;
1: - struct inet6_ifaddr *ifa;
1: - long unsigned int scorebits[1];
1: - int scopedist;
1: - int matchlen;
1: + int rule;
1: + int addr_type;
1: + struct inet6_ifaddr *ifa;
1: + long unsigned int scorebits[1];
1: + int scopedist;
1: + int matchlen;
1: };
1:
1: struct ipv6_saddr_dst {
1: - const struct in6_addr *addr;
1: - int ifindex;
1: - int scope;
1: - int label;
1: - unsigned int prefs;
1: + const struct in6_addr *addr;
1: + int ifindex;
1: + int scope;
1: + int label;
1: + unsigned int prefs;
1: };
1:
1: struct if6_iter_state {
1: - struct seq_net_private p;
1: - int bucket;
1: - int offset;
1: + struct seq_net_private p;
1: + int bucket;
1: + int offset;
1: };
1:
1: enum addr_type_t {
1: - UNICAST_ADDR = 0,
1: - MULTICAST_ADDR = 1,
1: - ANYCAST_ADDR = 2,
1: + UNICAST_ADDR = 0,
1: + MULTICAST_ADDR = 1,
1: + ANYCAST_ADDR = 2,
1: };
1:
1: struct inet6_fill_args {
1: - u32 portid;
1: - u32 seq;
1: - int event;
1: - unsigned int flags;
1: - int netnsid;
1: - int ifindex;
1: - enum addr_type_t type;
1: + u32 portid;
1: + u32 seq;
1: + int event;
1: + unsigned int flags;
1: + int netnsid;
1: + int ifindex;
1: + enum addr_type_t type;
1: };
1:
1: enum {
1: - DAD_PROCESS = 0,
1: - DAD_BEGIN = 1,
1: - DAD_ABORT = 2,
1: + DAD_PROCESS = 0,
1: + DAD_BEGIN = 1,
1: + DAD_ABORT = 2,
1: };
1:
1: struct ifaddrlblmsg {
1: - __u8 ifal_family;
1: - __u8 __ifal_reserved;
1: - __u8 ifal_prefixlen;
1: - __u8 ifal_flags;
1: - __u32 ifal_index;
1: - __u32 ifal_seq;
1: + __u8 ifal_family;
1: + __u8 __ifal_reserved;
1: + __u8 ifal_prefixlen;
1: + __u8 ifal_flags;
1: + __u32 ifal_index;
1: + __u32 ifal_seq;
1: };
1:
1: enum {
1: - IFAL_ADDRESS = 1,
1: - IFAL_LABEL = 2,
1: - __IFAL_MAX = 3,
1: + IFAL_ADDRESS = 1,
1: + IFAL_LABEL = 2,
1: + __IFAL_MAX = 3,
1: };
1:
1: struct ip6addrlbl_entry {
1: - struct in6_addr prefix;
1: - int prefixlen;
1: - int ifindex;
1: - int addrtype;
1: - u32 label;
1: - struct hlist_node list;
1: - struct callback_head rcu;
1: + struct in6_addr prefix;
1: + int prefixlen;
1: + int ifindex;
1: + int addrtype;
1: + u32 label;
1: + struct hlist_node list;
1: + struct callback_head rcu;
1: };
1:
1: struct ip6addrlbl_init_table {
1: - const struct in6_addr *prefix;
1: - int prefixlen;
1: - u32 label;
1: + const struct in6_addr *prefix;
1: + int prefixlen;
1: + u32 label;
1: };
1:
1: struct rd_msg {
1: - struct icmp6hdr icmph;
1: - struct in6_addr target;
1: - struct in6_addr dest;
1: - __u8 opt[0];
1: + struct icmp6hdr icmph;
1: + struct in6_addr target;
1: + struct in6_addr dest;
1: + __u8 opt[0];
1: };
1:
1: struct fib6_gc_args {
1: - int timeout;
1: - int more;
1: + int timeout;
1: + int more;
1: };
1:
1: struct rt6_exception {
1: - struct hlist_node hlist;
1: - struct rt6_info *rt6i;
1: - long unsigned int stamp;
1: - struct callback_head rcu;
1: + struct hlist_node hlist;
1: + struct rt6_info *rt6i;
1: + long unsigned int stamp;
1: + struct callback_head rcu;
1: };
1:
1: -typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int);
1: +typedef struct rt6_info *(*pol_lookup_t)(struct net *, struct fib6_table *,
1: + struct flowi6 *,
1: + const struct sk_buff *, int);
1:
1: struct rt6_rtnl_dump_arg {
1: - struct sk_buff *skb;
1: - struct netlink_callback *cb;
1: - struct net *net;
1: - struct fib_dump_filter filter;
1: + struct sk_buff *skb;
1: + struct netlink_callback *cb;
1: + struct net *net;
1: + struct fib_dump_filter filter;
1: };
1:
1: struct netevent_redirect {
1: - struct dst_entry *old;
1: - struct dst_entry *new;
1: - struct neighbour *neigh;
1: - const void *daddr;
1: + struct dst_entry *old;
1: + struct dst_entry *new;
1: + struct neighbour *neigh;
1: + const void *daddr;
1: };
1:
1: struct trace_event_raw_fib6_table_lookup {
1: - struct trace_entry ent;
1: - u32 tb_id;
1: - int err;
1: - int oif;
1: - int iif;
1: - __u8 tos;
1: - __u8 scope;
1: - __u8 flags;
1: - __u8 src[16];
1: - __u8 dst[16];
1: - u16 sport;
1: - u16 dport;
1: - u8 proto;
1: - u8 rt_type;
1: - u32 __data_loc_name;
1: - __u8 gw[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 tb_id;
1: + int err;
1: + int oif;
1: + int iif;
1: + __u8 tos;
1: + __u8 scope;
1: + __u8 flags;
1: + __u8 src[16];
1: + __u8 dst[16];
1: + u16 sport;
1: + u16 dport;
1: + u8 proto;
1: + u8 rt_type;
1: + u32 __data_loc_name;
1: + __u8 gw[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_fib6_table_lookup {
1: - u32 name;
1: + u32 name;
1: };
1:
1: enum rt6_nud_state {
1: - RT6_NUD_FAIL_HARD = -3,
1: - RT6_NUD_FAIL_PROBE = -2,
1: - RT6_NUD_FAIL_DO_RR = -1,
1: - RT6_NUD_SUCCEED = 1,
1: + RT6_NUD_FAIL_HARD = -3,
1: + RT6_NUD_FAIL_PROBE = -2,
1: + RT6_NUD_FAIL_DO_RR = -1,
1: + RT6_NUD_SUCCEED = 1,
1: };
1:
1: struct fib6_nh_dm_arg {
1: - struct net *net;
1: - const struct in6_addr *saddr;
1: - int oif;
1: - int flags;
1: - struct fib6_nh *nh;
1: + struct net *net;
1: + const struct in6_addr *saddr;
1: + int oif;
1: + int flags;
1: + struct fib6_nh *nh;
1: };
1:
1: struct fib6_nh_frl_arg {
1: - u32 flags;
1: - int oif;
1: - int strict;
1: - int *mpri;
1: - bool *do_rr;
1: - struct fib6_nh *nh;
1: + u32 flags;
1: + int oif;
1: + int strict;
1: + int *mpri;
1: + bool *do_rr;
1: + struct fib6_nh *nh;
1: };
1:
1: struct fib6_nh_excptn_arg {
1: - struct rt6_info *rt;
1: - int plen;
1: + struct rt6_info *rt;
1: + int plen;
1: };
1:
1: struct fib6_nh_match_arg {
1: - const struct net_device *dev;
1: - const struct in6_addr *gw;
1: - struct fib6_nh *match;
1: + const struct net_device *dev;
1: + const struct in6_addr *gw;
1: + struct fib6_nh *match;
1: };
1:
1: struct fib6_nh_age_excptn_arg {
1: - struct fib6_gc_args *gc_args;
1: - long unsigned int now;
1: + struct fib6_gc_args *gc_args;
1: + long unsigned int now;
1: };
1:
1: struct fib6_nh_rd_arg {
1: - struct fib6_result *res;
1: - struct flowi6 *fl6;
1: - const struct in6_addr *gw;
1: - struct rt6_info **ret;
1: + struct fib6_result *res;
1: + struct flowi6 *fl6;
1: + const struct in6_addr *gw;
1: + struct rt6_info **ret;
1: };
1:
1: struct ip6rd_flowi {
1: - struct flowi6 fl6;
1: - struct in6_addr gateway;
1: + struct flowi6 fl6;
1: + struct in6_addr gateway;
1: };
1:
1: struct fib6_nh_del_cached_rt_arg {
1: - struct fib6_config *cfg;
1: - struct fib6_info *f6i;
1: + struct fib6_config *cfg;
1: + struct fib6_info *f6i;
1: };
1:
1: struct arg_dev_net_ip {
1: - struct net_device *dev;
1: - struct net *net;
1: - struct in6_addr *addr;
1: + struct net_device *dev;
1: + struct net *net;
1: + struct in6_addr *addr;
1: };
1:
1: struct arg_netdev_event {
1: - const struct net_device *dev;
1: - union {
1: - unsigned char nh_flags;
1: - long unsigned int event;
1: - };
1: + const struct net_device *dev;
1: + union {
1: + unsigned char nh_flags;
1: + long unsigned int event;
1: + };
1: };
1:
1: struct rt6_mtu_change_arg {
1: - struct net_device *dev;
1: - unsigned int mtu;
1: - struct fib6_info *f6i;
1: + struct net_device *dev;
1: + unsigned int mtu;
1: + struct fib6_info *f6i;
1: };
1:
1: struct rt6_nh {
1: - struct fib6_info *fib6_info;
1: - struct fib6_config r_cfg;
1: - struct list_head next;
1: + struct fib6_info *fib6_info;
1: + struct fib6_config r_cfg;
1: + struct list_head next;
1: };
1:
1: struct fib6_nh_exception_dump_walker {
1: - struct rt6_rtnl_dump_arg *dump;
1: - struct fib6_info *rt;
1: - unsigned int flags;
1: - unsigned int skip;
1: - unsigned int count;
1: + struct rt6_rtnl_dump_arg *dump;
1: + struct fib6_info *rt;
1: + unsigned int flags;
1: + unsigned int skip;
1: + unsigned int count;
1: };
1:
1: enum fib6_walk_state {
1: - FWS_L = 0,
1: - FWS_R = 1,
1: - FWS_C = 2,
1: - FWS_U = 3,
1: + FWS_L = 0,
1: + FWS_R = 1,
1: + FWS_C = 2,
1: + FWS_U = 3,
1: };
1:
1: struct fib6_walker {
1: - struct list_head lh;
1: - struct fib6_node *root;
1: - struct fib6_node *node;
1: - struct fib6_info *leaf;
1: - enum fib6_walk_state state;
1: - unsigned int skip;
1: - unsigned int count;
1: - unsigned int skip_in_node;
1: - int (*func)(struct fib6_walker *);
1: - void *args;
1: + struct list_head lh;
1: + struct fib6_node *root;
1: + struct fib6_node *node;
1: + struct fib6_info *leaf;
1: + enum fib6_walk_state state;
1: + unsigned int skip;
1: + unsigned int count;
1: + unsigned int skip_in_node;
1: + int (*func)(struct fib6_walker *);
1: + void *args;
1: };
1:
1: struct fib6_entry_notifier_info {
1: - struct fib_notifier_info info;
1: - struct fib6_info *rt;
1: - unsigned int nsiblings;
1: + struct fib_notifier_info info;
1: + struct fib6_info *rt;
1: + unsigned int nsiblings;
1: };
1:
1: struct ipv6_route_iter {
1: - struct seq_net_private p;
1: - struct fib6_walker w;
1: - loff_t skip;
1: - struct fib6_table *tbl;
1: - int sernum;
1: + struct seq_net_private p;
1: + struct fib6_walker w;
1: + loff_t skip;
1: + struct fib6_table *tbl;
1: + int sernum;
1: };
1:
1: struct fib6_cleaner {
1: - struct fib6_walker w;
1: - struct net *net;
1: - int (*func)(struct fib6_info *, void *);
1: - int sernum;
1: - void *arg;
1: - bool skip_notify;
1: + struct fib6_walker w;
1: + struct net *net;
1: + int (*func)(struct fib6_info *, void *);
1: + int sernum;
1: + void *arg;
1: + bool skip_notify;
1: };
1:
1: enum {
1: - FIB6_NO_SERNUM_CHANGE = 0,
1: + FIB6_NO_SERNUM_CHANGE = 0,
1: };
1:
1: struct fib6_dump_arg {
1: - struct net *net;
1: - struct notifier_block *nb;
1: - struct netlink_ext_ack *extack;
1: + struct net *net;
1: + struct notifier_block *nb;
1: + struct netlink_ext_ack *extack;
1: };
1:
1: struct fib6_nh_pcpu_arg {
1: - struct fib6_info *from;
1: - const struct fib6_table *table;
1: + struct fib6_info *from;
1: + const struct fib6_table *table;
1: };
1:
1: struct lookup_args {
1: - int offset;
1: - const struct in6_addr *addr;
1: + int offset;
1: + const struct in6_addr *addr;
1: };
1:
1: struct ipv6_mreq {
1: - struct in6_addr ipv6mr_multiaddr;
1: - int ipv6mr_ifindex;
1: + struct in6_addr ipv6mr_multiaddr;
1: + int ipv6mr_ifindex;
1: };
1:
1: struct in6_flowlabel_req {
1: - struct in6_addr flr_dst;
1: - __be32 flr_label;
1: - __u8 flr_action;
1: - __u8 flr_share;
1: - __u16 flr_flags;
1: - __u16 flr_expires;
1: - __u16 flr_linger;
1: - __u32 __flr_pad;
1: + struct in6_addr flr_dst;
1: + __be32 flr_label;
1: + __u8 flr_action;
1: + __u8 flr_share;
1: + __u16 flr_flags;
1: + __u16 flr_expires;
1: + __u16 flr_linger;
1: + __u32 __flr_pad;
1: };
1:
1: struct ip6_mtuinfo {
1: - struct sockaddr_in6 ip6m_addr;
1: - __u32 ip6m_mtu;
1: + struct sockaddr_in6 ip6m_addr;
1: + __u32 ip6m_mtu;
1: };
1:
1: struct ipv6_sr_hdr {
1: - __u8 nexthdr;
1: - __u8 hdrlen;
1: - __u8 type;
1: - __u8 segments_left;
1: - __u8 first_segment;
1: - __u8 flags;
1: - __u16 tag;
1: - struct in6_addr segments[0];
1: + __u8 nexthdr;
1: + __u8 hdrlen;
1: + __u8 type;
1: + __u8 segments_left;
1: + __u8 first_segment;
1: + __u8 flags;
1: + __u16 tag;
1: + struct in6_addr segments[0];
1: };
1:
1: struct nduseroptmsg {
1: - unsigned char nduseropt_family;
1: - unsigned char nduseropt_pad1;
1: - short unsigned int nduseropt_opts_len;
1: - int nduseropt_ifindex;
1: - __u8 nduseropt_icmp_type;
1: - __u8 nduseropt_icmp_code;
1: - short unsigned int nduseropt_pad2;
1: - unsigned int nduseropt_pad3;
1: + unsigned char nduseropt_family;
1: + unsigned char nduseropt_pad1;
1: + short unsigned int nduseropt_opts_len;
1: + int nduseropt_ifindex;
1: + __u8 nduseropt_icmp_type;
1: + __u8 nduseropt_icmp_code;
1: + short unsigned int nduseropt_pad2;
1: + unsigned int nduseropt_pad3;
1: };
1:
1: enum {
1: - NDUSEROPT_UNSPEC = 0,
1: - NDUSEROPT_SRCADDR = 1,
1: - __NDUSEROPT_MAX = 2,
1: + NDUSEROPT_UNSPEC = 0,
1: + NDUSEROPT_SRCADDR = 1,
1: + __NDUSEROPT_MAX = 2,
1: };
1:
1: struct nd_msg {
1: - struct icmp6hdr icmph;
1: - struct in6_addr target;
1: - __u8 opt[0];
1: + struct icmp6hdr icmph;
1: + struct in6_addr target;
1: + __u8 opt[0];
1: };
1:
1: struct rs_msg {
1: - struct icmp6hdr icmph;
1: - __u8 opt[0];
1: + struct icmp6hdr icmph;
1: + __u8 opt[0];
1: };
1:
1: struct ra_msg {
1: - struct icmp6hdr icmph;
1: - __be32 reachable_time;
1: - __be32 retrans_timer;
1: + struct icmp6hdr icmph;
1: + __be32 reachable_time;
1: + __be32 retrans_timer;
1: };
1:
1: struct icmp6_filter {
1: - __u32 data[8];
1: + __u32 data[8];
1: };
1:
1: struct raw6_sock {
1: - struct inet_sock inet;
1: - __u32 checksum;
1: - __u32 offset;
1: - struct icmp6_filter filter;
1: - __u32 ip6mr_table;
1: - struct ipv6_pinfo inet6;
1: + struct inet_sock inet;
1: + __u32 checksum;
1: + __u32 offset;
1: + struct icmp6_filter filter;
1: + __u32 ip6mr_table;
1: + struct ipv6_pinfo inet6;
1: };
1:
1: struct raw6_frag_vec {
1: - struct msghdr *msg;
1: - int hlen;
1: - char c[4];
1: + struct msghdr *msg;
1: + int hlen;
1: + char c[4];
1: };
1:
1: -typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *);
1: +typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32,
1: + const struct in6_addr *);
1:
1: struct icmpv6_msg {
1: - struct sk_buff *skb;
1: - int offset;
1: - uint8_t type;
1: + struct sk_buff *skb;
1: + int offset;
1: + uint8_t type;
1: };
1:
1: struct icmp6_err {
1: - int err;
1: - int fatal;
1: + int err;
1: + int fatal;
1: };
1:
1: struct mld_msg {
1: - struct icmp6hdr mld_hdr;
1: - struct in6_addr mld_mca;
1: + struct icmp6hdr mld_hdr;
1: + struct in6_addr mld_mca;
1: };
1:
1: struct mld2_grec {
1: - __u8 grec_type;
1: - __u8 grec_auxwords;
1: - __be16 grec_nsrcs;
1: - struct in6_addr grec_mca;
1: - struct in6_addr grec_src[0];
1: + __u8 grec_type;
1: + __u8 grec_auxwords;
1: + __be16 grec_nsrcs;
1: + struct in6_addr grec_mca;
1: + struct in6_addr grec_src[0];
1: };
1:
1: struct mld2_report {
1: - struct icmp6hdr mld2r_hdr;
1: - struct mld2_grec mld2r_grec[0];
1: + struct icmp6hdr mld2r_hdr;
1: + struct mld2_grec mld2r_grec[0];
1: };
1:
1: struct mld2_query {
1: - struct icmp6hdr mld2q_hdr;
1: - struct in6_addr mld2q_mca;
1: - __u8 mld2q_qrv: 3;
1: - __u8 mld2q_suppress: 1;
1: - __u8 mld2q_resv2: 4;
1: - __u8 mld2q_qqic;
1: - __be16 mld2q_nsrcs;
1: - struct in6_addr mld2q_srcs[0];
1: + struct icmp6hdr mld2q_hdr;
1: + struct in6_addr mld2q_mca;
1: + __u8 mld2q_qrv : 3;
1: + __u8 mld2q_suppress : 1;
1: + __u8 mld2q_resv2 : 4;
1: + __u8 mld2q_qqic;
1: + __be16 mld2q_nsrcs;
1: + struct in6_addr mld2q_srcs[0];
1: };
1:
1: struct igmp6_mc_iter_state {
1: - struct seq_net_private p;
1: - struct net_device *dev;
1: - struct inet6_dev *idev;
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct inet6_dev *idev;
1: };
1:
1: struct igmp6_mcf_iter_state {
1: - struct seq_net_private p;
1: - struct net_device *dev;
1: - struct inet6_dev *idev;
1: - struct ifmcaddr6 *im;
1: + struct seq_net_private p;
1: + struct net_device *dev;
1: + struct inet6_dev *idev;
1: + struct ifmcaddr6 *im;
1: };
1:
1: enum ip6_defrag_users {
1: - IP6_DEFRAG_LOCAL_DELIVER = 0,
1: - IP6_DEFRAG_CONNTRACK_IN = 1,
1: - __IP6_DEFRAG_CONNTRACK_IN = 65536,
1: - IP6_DEFRAG_CONNTRACK_OUT = 65537,
1: - __IP6_DEFRAG_CONNTRACK_OUT = 131072,
1: - IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 131073,
1: - __IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 196608,
1: + IP6_DEFRAG_LOCAL_DELIVER = 0,
1: + IP6_DEFRAG_CONNTRACK_IN = 1,
1: + __IP6_DEFRAG_CONNTRACK_IN = 65536,
1: + IP6_DEFRAG_CONNTRACK_OUT = 65537,
1: + __IP6_DEFRAG_CONNTRACK_OUT = 131072,
1: + IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 131073,
1: + __IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 196608,
1: };
1:
1: struct frag_queue {
1: - struct inet_frag_queue q;
1: - int iif;
1: - __u16 nhoffset;
1: - u8 ecn;
1: + struct inet_frag_queue q;
1: + int iif;
1: + __u16 nhoffset;
1: + u8 ecn;
1: };
1:
1: struct tcp6_pseudohdr {
1: - struct in6_addr saddr;
1: - struct in6_addr daddr;
1: - __be32 len;
1: - __be32 protocol;
1: + struct in6_addr saddr;
1: + struct in6_addr daddr;
1: + __be32 len;
1: + __be32 protocol;
1: };
1:
1: struct rt0_hdr {
1: - struct ipv6_rt_hdr rt_hdr;
1: - __u32 reserved;
1: - struct in6_addr addr[0];
1: + struct ipv6_rt_hdr rt_hdr;
1: + __u32 reserved;
1: + struct in6_addr addr[0];
1: };
1:
1: struct tlvtype_proc {
1: - int type;
1: - bool (*func)(struct sk_buff *, int);
1: + int type;
1: + bool (*func)(struct sk_buff *, int);
1: };
1:
1: struct ip6fl_iter_state {
1: - struct seq_net_private p;
1: - struct pid_namespace *pid_ns;
1: - int bucket;
1: + struct seq_net_private p;
1: + struct pid_namespace *pid_ns;
1: + int bucket;
1: };
1:
1: struct sr6_tlv {
1: - __u8 type;
1: - __u8 len;
1: - __u8 data[0];
1: + __u8 type;
1: + __u8 len;
1: + __u8 data[0];
1: };
1:
1: enum {
1: - SEG6_ATTR_UNSPEC = 0,
1: - SEG6_ATTR_DST = 1,
1: - SEG6_ATTR_DSTLEN = 2,
1: - SEG6_ATTR_HMACKEYID = 3,
1: - SEG6_ATTR_SECRET = 4,
1: - SEG6_ATTR_SECRETLEN = 5,
1: - SEG6_ATTR_ALGID = 6,
1: - SEG6_ATTR_HMACINFO = 7,
1: - __SEG6_ATTR_MAX = 8,
1: + SEG6_ATTR_UNSPEC = 0,
1: + SEG6_ATTR_DST = 1,
1: + SEG6_ATTR_DSTLEN = 2,
1: + SEG6_ATTR_HMACKEYID = 3,
1: + SEG6_ATTR_SECRET = 4,
1: + SEG6_ATTR_SECRETLEN = 5,
1: + SEG6_ATTR_ALGID = 6,
1: + SEG6_ATTR_HMACINFO = 7,
1: + __SEG6_ATTR_MAX = 8,
1: };
1:
1: enum {
1: - SEG6_CMD_UNSPEC = 0,
1: - SEG6_CMD_SETHMAC = 1,
1: - SEG6_CMD_DUMPHMAC = 2,
1: - SEG6_CMD_SET_TUNSRC = 3,
1: - SEG6_CMD_GET_TUNSRC = 4,
1: - __SEG6_CMD_MAX = 5,
1: + SEG6_CMD_UNSPEC = 0,
1: + SEG6_CMD_SETHMAC = 1,
1: + SEG6_CMD_DUMPHMAC = 2,
1: + SEG6_CMD_SET_TUNSRC = 3,
1: + SEG6_CMD_GET_TUNSRC = 4,
1: + __SEG6_CMD_MAX = 5,
1: };
1:
1: struct xfrm6_protocol {
1: - int (*handler)(struct sk_buff *);
1: - int (*cb_handler)(struct sk_buff *, int);
1: - int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32);
1: - struct xfrm6_protocol *next;
1: - int priority;
1: + int (*handler)(struct sk_buff *);
1: + int (*cb_handler)(struct sk_buff *, int);
1: + int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int,
1: + __be32);
1: + struct xfrm6_protocol *next;
1: + int priority;
1: };
1:
1: struct br_input_skb_cb {
1: - struct net_device *brdev;
1: - u16 frag_max_size;
1: - u8 proxyarp_replied: 1;
1: - u8 src_port_isolated: 1;
1: + struct net_device *brdev;
1: + u16 frag_max_size;
1: + u8 proxyarp_replied : 1;
1: + u8 src_port_isolated : 1;
1: };
1:
1: struct nf_bridge_frag_data;
1: @@ -109587,628 +110430,631 @@ struct nf_bridge_frag_data;
1: struct calipso_doi;
1:
1: struct netlbl_calipso_ops {
1: - int (*doi_add)(struct calipso_doi *, struct netlbl_audit *);
1: - void (*doi_free)(struct calipso_doi *);
1: - int (*doi_remove)(u32, struct netlbl_audit *);
1: - struct calipso_doi * (*doi_getdef)(u32);
1: - void (*doi_putdef)(struct calipso_doi *);
1: - int (*doi_walk)(u32 *, int (*)(struct calipso_doi *, void *), void *);
1: - int (*sock_getattr)(struct sock *, struct netlbl_lsm_secattr *);
1: - int (*sock_setattr)(struct sock *, const struct calipso_doi *, const struct netlbl_lsm_secattr *);
1: - void (*sock_delattr)(struct sock *);
1: - int (*req_setattr)(struct request_sock *, const struct calipso_doi *, const struct netlbl_lsm_secattr *);
1: - void (*req_delattr)(struct request_sock *);
1: - int (*opt_getattr)(const unsigned char *, struct netlbl_lsm_secattr *);
1: - unsigned char * (*skbuff_optptr)(const struct sk_buff *);
1: - int (*skbuff_setattr)(struct sk_buff *, const struct calipso_doi *, const struct netlbl_lsm_secattr *);
1: - int (*skbuff_delattr)(struct sk_buff *);
1: - void (*cache_invalidate)();
1: - int (*cache_add)(const unsigned char *, const struct netlbl_lsm_secattr *);
1: + int (*doi_add)(struct calipso_doi *, struct netlbl_audit *);
1: + void (*doi_free)(struct calipso_doi *);
1: + int (*doi_remove)(u32, struct netlbl_audit *);
1: + struct calipso_doi *(*doi_getdef)(u32);
1: + void (*doi_putdef)(struct calipso_doi *);
1: + int (*doi_walk)(u32 *, int (*)(struct calipso_doi *, void *), void *);
1: + int (*sock_getattr)(struct sock *, struct netlbl_lsm_secattr *);
1: + int (*sock_setattr)(struct sock *, const struct calipso_doi *,
1: + const struct netlbl_lsm_secattr *);
1: + void (*sock_delattr)(struct sock *);
1: + int (*req_setattr)(struct request_sock *, const struct calipso_doi *,
1: + const struct netlbl_lsm_secattr *);
1: + void (*req_delattr)(struct request_sock *);
1: + int (*opt_getattr)(const unsigned char *, struct netlbl_lsm_secattr *);
1: + unsigned char *(*skbuff_optptr)(const struct sk_buff *);
1: + int (*skbuff_setattr)(struct sk_buff *, const struct calipso_doi *,
1: + const struct netlbl_lsm_secattr *);
1: + int (*skbuff_delattr)(struct sk_buff *);
1: + void (*cache_invalidate)();
1: + int (*cache_add)(const unsigned char *, const struct netlbl_lsm_secattr *);
1: };
1:
1: struct calipso_doi {
1: - u32 doi;
1: - u32 type;
1: - refcount_t refcount;
1: - struct list_head list;
1: - struct callback_head rcu;
1: + u32 doi;
1: + u32 type;
1: + refcount_t refcount;
1: + struct list_head list;
1: + struct callback_head rcu;
1: };
1:
1: struct calipso_map_cache_bkt {
1: - spinlock_t lock;
1: - u32 size;
1: - struct list_head list;
1: + spinlock_t lock;
1: + u32 size;
1: + struct list_head list;
1: };
1:
1: struct calipso_map_cache_entry {
1: - u32 hash;
1: - unsigned char *key;
1: - size_t key_len;
1: - struct netlbl_lsm_cache *lsm_data;
1: - u32 activity;
1: - struct list_head list;
1: + u32 hash;
1: + unsigned char *key;
1: + size_t key_len;
1: + struct netlbl_lsm_cache *lsm_data;
1: + u32 activity;
1: + struct list_head list;
1: };
1:
1: struct ah_data {
1: - int icv_full_len;
1: - int icv_trunc_len;
1: - struct crypto_ahash *ahash;
1: + int icv_full_len;
1: + int icv_trunc_len;
1: + struct crypto_ahash *ahash;
1: };
1:
1: struct tmp_ext {
1: - struct in6_addr daddr;
1: - char hdrs[0];
1: + struct in6_addr daddr;
1: + char hdrs[0];
1: };
1:
1: struct ah_skb_cb {
1: - struct xfrm_skb_cb xfrm;
1: - void *tmp;
1: + struct xfrm_skb_cb xfrm;
1: + void *tmp;
1: };
1:
1: struct ip_esp_hdr {
1: - __be32 spi;
1: - __be32 seq_no;
1: - __u8 enc_data[0];
1: + __be32 spi;
1: + __be32 seq_no;
1: + __u8 enc_data[0];
1: };
1:
1: struct esp_info {
1: - struct ip_esp_hdr *esph;
1: - __be64 seqno;
1: - int tfclen;
1: - int tailen;
1: - int plen;
1: - int clen;
1: - int len;
1: - int nfrags;
1: - __u8 proto;
1: - bool inplace;
1: + struct ip_esp_hdr *esph;
1: + __be64 seqno;
1: + int tfclen;
1: + int tailen;
1: + int plen;
1: + int clen;
1: + int len;
1: + int nfrags;
1: + __u8 proto;
1: + bool inplace;
1: };
1:
1: struct esp_skb_cb {
1: - struct xfrm_skb_cb xfrm;
1: - void *tmp;
1: + struct xfrm_skb_cb xfrm;
1: + void *tmp;
1: };
1:
1: struct ip6t_standard {
1: - struct ip6t_entry entry;
1: - struct xt_standard_target target;
1: + struct ip6t_entry entry;
1: + struct xt_standard_target target;
1: };
1:
1: struct ip6t_error {
1: - struct ip6t_entry entry;
1: - struct xt_error_target target;
1: + struct ip6t_entry entry;
1: + struct xt_error_target target;
1: };
1:
1: struct ip6t_icmp {
1: - __u8 type;
1: - __u8 code[2];
1: - __u8 invflags;
1: + __u8 type;
1: + __u8 code[2];
1: + __u8 invflags;
1: };
1:
1: struct ip6t_getinfo {
1: - char name[32];
1: - unsigned int valid_hooks;
1: - unsigned int hook_entry[5];
1: - unsigned int underflow[5];
1: - unsigned int num_entries;
1: - unsigned int size;
1: + char name[32];
1: + unsigned int valid_hooks;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int num_entries;
1: + unsigned int size;
1: };
1:
1: struct ip6t_replace {
1: - char name[32];
1: - unsigned int valid_hooks;
1: - unsigned int num_entries;
1: - unsigned int size;
1: - unsigned int hook_entry[5];
1: - unsigned int underflow[5];
1: - unsigned int num_counters;
1: - struct xt_counters *counters;
1: - struct ip6t_entry entries[0];
1: + char name[32];
1: + unsigned int valid_hooks;
1: + unsigned int num_entries;
1: + unsigned int size;
1: + unsigned int hook_entry[5];
1: + unsigned int underflow[5];
1: + unsigned int num_counters;
1: + struct xt_counters *counters;
1: + struct ip6t_entry entries[0];
1: };
1:
1: struct ip6t_get_entries {
1: - char name[32];
1: - unsigned int size;
1: - struct ip6t_entry entrytable[0];
1: + char name[32];
1: + unsigned int size;
1: + struct ip6t_entry entrytable[0];
1: };
1:
1: struct compat_ip6t_entry {
1: - struct ip6t_ip6 ipv6;
1: - compat_uint_t nfcache;
1: - __u16 target_offset;
1: - __u16 next_offset;
1: - compat_uint_t comefrom;
1: - struct compat_xt_counters counters;
1: - unsigned char elems[0];
1: + struct ip6t_ip6 ipv6;
1: + compat_uint_t nfcache;
1: + __u16 target_offset;
1: + __u16 next_offset;
1: + compat_uint_t comefrom;
1: + struct compat_xt_counters counters;
1: + unsigned char elems[0];
1: } __attribute__((packed));
1:
1: struct compat_ip6t_replace {
1: - char name[32];
1: - u32 valid_hooks;
1: - u32 num_entries;
1: - u32 size;
1: - u32 hook_entry[5];
1: - u32 underflow[5];
1: - u32 num_counters;
1: - compat_uptr_t counters;
1: - struct compat_ip6t_entry entries[0];
1: + char name[32];
1: + u32 valid_hooks;
1: + u32 num_entries;
1: + u32 size;
1: + u32 hook_entry[5];
1: + u32 underflow[5];
1: + u32 num_counters;
1: + compat_uptr_t counters;
1: + struct compat_ip6t_entry entries[0];
1: } __attribute__((packed));
1:
1: struct compat_ip6t_get_entries {
1: - char name[32];
1: - compat_uint_t size;
1: - struct compat_ip6t_entry entrytable[0];
1: + char name[32];
1: + compat_uint_t size;
1: + struct compat_ip6t_entry entrytable[0];
1: } __attribute__((packed));
1:
1: struct ip6t_ipv6header_info {
1: - __u8 matchflags;
1: - __u8 invflags;
1: - __u8 modeflag;
1: + __u8 matchflags;
1: + __u8 invflags;
1: + __u8 modeflag;
1: };
1:
1: enum ip6t_reject_with {
1: - IP6T_ICMP6_NO_ROUTE = 0,
1: - IP6T_ICMP6_ADM_PROHIBITED = 1,
1: - IP6T_ICMP6_NOT_NEIGHBOUR = 2,
1: - IP6T_ICMP6_ADDR_UNREACH = 3,
1: - IP6T_ICMP6_PORT_UNREACH = 4,
1: - IP6T_ICMP6_ECHOREPLY = 5,
1: - IP6T_TCP_RESET = 6,
1: - IP6T_ICMP6_POLICY_FAIL = 7,
1: - IP6T_ICMP6_REJECT_ROUTE = 8,
1: + IP6T_ICMP6_NO_ROUTE = 0,
1: + IP6T_ICMP6_ADM_PROHIBITED = 1,
1: + IP6T_ICMP6_NOT_NEIGHBOUR = 2,
1: + IP6T_ICMP6_ADDR_UNREACH = 3,
1: + IP6T_ICMP6_PORT_UNREACH = 4,
1: + IP6T_ICMP6_ECHOREPLY = 5,
1: + IP6T_TCP_RESET = 6,
1: + IP6T_ICMP6_POLICY_FAIL = 7,
1: + IP6T_ICMP6_REJECT_ROUTE = 8,
1: };
1:
1: struct ip6t_reject_info {
1: - __u32 with;
1: -};
1: -
1: -enum {
1: - IFLA_IPTUN_UNSPEC = 0,
1: - IFLA_IPTUN_LINK = 1,
1: - IFLA_IPTUN_LOCAL = 2,
1: - IFLA_IPTUN_REMOTE = 3,
1: - IFLA_IPTUN_TTL = 4,
1: - IFLA_IPTUN_TOS = 5,
1: - IFLA_IPTUN_ENCAP_LIMIT = 6,
1: - IFLA_IPTUN_FLOWINFO = 7,
1: - IFLA_IPTUN_FLAGS = 8,
1: - IFLA_IPTUN_PROTO = 9,
1: - IFLA_IPTUN_PMTUDISC = 10,
1: - IFLA_IPTUN_6RD_PREFIX = 11,
1: - IFLA_IPTUN_6RD_RELAY_PREFIX = 12,
1: - IFLA_IPTUN_6RD_PREFIXLEN = 13,
1: - IFLA_IPTUN_6RD_RELAY_PREFIXLEN = 14,
1: - IFLA_IPTUN_ENCAP_TYPE = 15,
1: - IFLA_IPTUN_ENCAP_FLAGS = 16,
1: - IFLA_IPTUN_ENCAP_SPORT = 17,
1: - IFLA_IPTUN_ENCAP_DPORT = 18,
1: - IFLA_IPTUN_COLLECT_METADATA = 19,
1: - IFLA_IPTUN_FWMARK = 20,
1: - __IFLA_IPTUN_MAX = 21,
1: + __u32 with;
1: +};
1: +
1: +enum {
1: + IFLA_IPTUN_UNSPEC = 0,
1: + IFLA_IPTUN_LINK = 1,
1: + IFLA_IPTUN_LOCAL = 2,
1: + IFLA_IPTUN_REMOTE = 3,
1: + IFLA_IPTUN_TTL = 4,
1: + IFLA_IPTUN_TOS = 5,
1: + IFLA_IPTUN_ENCAP_LIMIT = 6,
1: + IFLA_IPTUN_FLOWINFO = 7,
1: + IFLA_IPTUN_FLAGS = 8,
1: + IFLA_IPTUN_PROTO = 9,
1: + IFLA_IPTUN_PMTUDISC = 10,
1: + IFLA_IPTUN_6RD_PREFIX = 11,
1: + IFLA_IPTUN_6RD_RELAY_PREFIX = 12,
1: + IFLA_IPTUN_6RD_PREFIXLEN = 13,
1: + IFLA_IPTUN_6RD_RELAY_PREFIXLEN = 14,
1: + IFLA_IPTUN_ENCAP_TYPE = 15,
1: + IFLA_IPTUN_ENCAP_FLAGS = 16,
1: + IFLA_IPTUN_ENCAP_SPORT = 17,
1: + IFLA_IPTUN_ENCAP_DPORT = 18,
1: + IFLA_IPTUN_COLLECT_METADATA = 19,
1: + IFLA_IPTUN_FWMARK = 20,
1: + __IFLA_IPTUN_MAX = 21,
1: };
1:
1: struct ip_tunnel_prl {
1: - __be32 addr;
1: - __u16 flags;
1: - __u16 __reserved;
1: - __u32 datalen;
1: - __u32 __reserved2;
1: + __be32 addr;
1: + __u16 flags;
1: + __u16 __reserved;
1: + __u32 datalen;
1: + __u32 __reserved2;
1: };
1:
1: struct sit_net {
1: - struct ip_tunnel *tunnels_r_l[16];
1: - struct ip_tunnel *tunnels_r[16];
1: - struct ip_tunnel *tunnels_l[16];
1: - struct ip_tunnel *tunnels_wc[1];
1: - struct ip_tunnel **tunnels[4];
1: - struct net_device *fb_tunnel_dev;
1: + struct ip_tunnel *tunnels_r_l[16];
1: + struct ip_tunnel *tunnels_r[16];
1: + struct ip_tunnel *tunnels_l[16];
1: + struct ip_tunnel *tunnels_wc[1];
1: + struct ip_tunnel **tunnels[4];
1: + struct net_device *fb_tunnel_dev;
1: };
1:
1: struct metadata_dst___2;
1:
1: enum {
1: - IP6_FH_F_FRAG = 1,
1: - IP6_FH_F_AUTH = 2,
1: - IP6_FH_F_SKIP_RH = 4,
1: + IP6_FH_F_FRAG = 1,
1: + IP6_FH_F_AUTH = 2,
1: + IP6_FH_F_SKIP_RH = 4,
1: };
1:
1: struct sockaddr_pkt {
1: - short unsigned int spkt_family;
1: - unsigned char spkt_device[14];
1: - __be16 spkt_protocol;
1: + short unsigned int spkt_family;
1: + unsigned char spkt_device[14];
1: + __be16 spkt_protocol;
1: };
1:
1: struct sockaddr_ll {
1: - short unsigned int sll_family;
1: - __be16 sll_protocol;
1: - int sll_ifindex;
1: - short unsigned int sll_hatype;
1: - unsigned char sll_pkttype;
1: - unsigned char sll_halen;
1: - unsigned char sll_addr[8];
1: + short unsigned int sll_family;
1: + __be16 sll_protocol;
1: + int sll_ifindex;
1: + short unsigned int sll_hatype;
1: + unsigned char sll_pkttype;
1: + unsigned char sll_halen;
1: + unsigned char sll_addr[8];
1: };
1:
1: struct tpacket_stats {
1: - unsigned int tp_packets;
1: - unsigned int tp_drops;
1: + unsigned int tp_packets;
1: + unsigned int tp_drops;
1: };
1:
1: struct tpacket_stats_v3 {
1: - unsigned int tp_packets;
1: - unsigned int tp_drops;
1: - unsigned int tp_freeze_q_cnt;
1: + unsigned int tp_packets;
1: + unsigned int tp_drops;
1: + unsigned int tp_freeze_q_cnt;
1: };
1:
1: struct tpacket_rollover_stats {
1: - __u64 tp_all;
1: - __u64 tp_huge;
1: - __u64 tp_failed;
1: + __u64 tp_all;
1: + __u64 tp_huge;
1: + __u64 tp_failed;
1: };
1:
1: union tpacket_stats_u {
1: - struct tpacket_stats stats1;
1: - struct tpacket_stats_v3 stats3;
1: + struct tpacket_stats stats1;
1: + struct tpacket_stats_v3 stats3;
1: };
1:
1: struct tpacket_auxdata {
1: - __u32 tp_status;
1: - __u32 tp_len;
1: - __u32 tp_snaplen;
1: - __u16 tp_mac;
1: - __u16 tp_net;
1: - __u16 tp_vlan_tci;
1: - __u16 tp_vlan_tpid;
1: + __u32 tp_status;
1: + __u32 tp_len;
1: + __u32 tp_snaplen;
1: + __u16 tp_mac;
1: + __u16 tp_net;
1: + __u16 tp_vlan_tci;
1: + __u16 tp_vlan_tpid;
1: };
1:
1: struct tpacket_hdr {
1: - long unsigned int tp_status;
1: - unsigned int tp_len;
1: - unsigned int tp_snaplen;
1: - short unsigned int tp_mac;
1: - short unsigned int tp_net;
1: - unsigned int tp_sec;
1: - unsigned int tp_usec;
1: + long unsigned int tp_status;
1: + unsigned int tp_len;
1: + unsigned int tp_snaplen;
1: + short unsigned int tp_mac;
1: + short unsigned int tp_net;
1: + unsigned int tp_sec;
1: + unsigned int tp_usec;
1: };
1:
1: struct tpacket2_hdr {
1: - __u32 tp_status;
1: - __u32 tp_len;
1: - __u32 tp_snaplen;
1: - __u16 tp_mac;
1: - __u16 tp_net;
1: - __u32 tp_sec;
1: - __u32 tp_nsec;
1: - __u16 tp_vlan_tci;
1: - __u16 tp_vlan_tpid;
1: - __u8 tp_padding[4];
1: + __u32 tp_status;
1: + __u32 tp_len;
1: + __u32 tp_snaplen;
1: + __u16 tp_mac;
1: + __u16 tp_net;
1: + __u32 tp_sec;
1: + __u32 tp_nsec;
1: + __u16 tp_vlan_tci;
1: + __u16 tp_vlan_tpid;
1: + __u8 tp_padding[4];
1: };
1:
1: struct tpacket_hdr_variant1 {
1: - __u32 tp_rxhash;
1: - __u32 tp_vlan_tci;
1: - __u16 tp_vlan_tpid;
1: - __u16 tp_padding;
1: + __u32 tp_rxhash;
1: + __u32 tp_vlan_tci;
1: + __u16 tp_vlan_tpid;
1: + __u16 tp_padding;
1: };
1:
1: struct tpacket3_hdr {
1: - __u32 tp_next_offset;
1: - __u32 tp_sec;
1: - __u32 tp_nsec;
1: - __u32 tp_snaplen;
1: - __u32 tp_len;
1: - __u32 tp_status;
1: - __u16 tp_mac;
1: - __u16 tp_net;
1: - union {
1: - struct tpacket_hdr_variant1 hv1;
1: - };
1: - __u8 tp_padding[8];
1: + __u32 tp_next_offset;
1: + __u32 tp_sec;
1: + __u32 tp_nsec;
1: + __u32 tp_snaplen;
1: + __u32 tp_len;
1: + __u32 tp_status;
1: + __u16 tp_mac;
1: + __u16 tp_net;
1: + union {
1: + struct tpacket_hdr_variant1 hv1;
1: + };
1: + __u8 tp_padding[8];
1: };
1:
1: struct tpacket_bd_ts {
1: - unsigned int ts_sec;
1: - union {
1: - unsigned int ts_usec;
1: - unsigned int ts_nsec;
1: - };
1: + unsigned int ts_sec;
1: + union {
1: + unsigned int ts_usec;
1: + unsigned int ts_nsec;
1: + };
1: };
1:
1: struct tpacket_hdr_v1 {
1: - __u32 block_status;
1: - __u32 num_pkts;
1: - __u32 offset_to_first_pkt;
1: - __u32 blk_len;
1: - __u64 seq_num;
1: - struct tpacket_bd_ts ts_first_pkt;
1: - struct tpacket_bd_ts ts_last_pkt;
1: + __u32 block_status;
1: + __u32 num_pkts;
1: + __u32 offset_to_first_pkt;
1: + __u32 blk_len;
1: + __u64 seq_num;
1: + struct tpacket_bd_ts ts_first_pkt;
1: + struct tpacket_bd_ts ts_last_pkt;
1: };
1:
1: union tpacket_bd_header_u {
1: - struct tpacket_hdr_v1 bh1;
1: + struct tpacket_hdr_v1 bh1;
1: };
1:
1: struct tpacket_block_desc {
1: - __u32 version;
1: - __u32 offset_to_priv;
1: - union tpacket_bd_header_u hdr;
1: + __u32 version;
1: + __u32 offset_to_priv;
1: + union tpacket_bd_header_u hdr;
1: };
1:
1: enum tpacket_versions {
1: - TPACKET_V1 = 0,
1: - TPACKET_V2 = 1,
1: - TPACKET_V3 = 2,
1: + TPACKET_V1 = 0,
1: + TPACKET_V2 = 1,
1: + TPACKET_V3 = 2,
1: };
1:
1: struct tpacket_req {
1: - unsigned int tp_block_size;
1: - unsigned int tp_block_nr;
1: - unsigned int tp_frame_size;
1: - unsigned int tp_frame_nr;
1: + unsigned int tp_block_size;
1: + unsigned int tp_block_nr;
1: + unsigned int tp_frame_size;
1: + unsigned int tp_frame_nr;
1: };
1:
1: struct tpacket_req3 {
1: - unsigned int tp_block_size;
1: - unsigned int tp_block_nr;
1: - unsigned int tp_frame_size;
1: - unsigned int tp_frame_nr;
1: - unsigned int tp_retire_blk_tov;
1: - unsigned int tp_sizeof_priv;
1: - unsigned int tp_feature_req_word;
1: + unsigned int tp_block_size;
1: + unsigned int tp_block_nr;
1: + unsigned int tp_frame_size;
1: + unsigned int tp_frame_nr;
1: + unsigned int tp_retire_blk_tov;
1: + unsigned int tp_sizeof_priv;
1: + unsigned int tp_feature_req_word;
1: };
1:
1: union tpacket_req_u {
1: - struct tpacket_req req;
1: - struct tpacket_req3 req3;
1: + struct tpacket_req req;
1: + struct tpacket_req3 req3;
1: };
1:
1: typedef __u16 __virtio16;
1:
1: struct virtio_net_hdr {
1: - __u8 flags;
1: - __u8 gso_type;
1: - __virtio16 hdr_len;
1: - __virtio16 gso_size;
1: - __virtio16 csum_start;
1: - __virtio16 csum_offset;
1: + __u8 flags;
1: + __u8 gso_type;
1: + __virtio16 hdr_len;
1: + __virtio16 gso_size;
1: + __virtio16 csum_start;
1: + __virtio16 csum_offset;
1: };
1:
1: struct packet_mclist {
1: - struct packet_mclist *next;
1: - int ifindex;
1: - int count;
1: - short unsigned int type;
1: - short unsigned int alen;
1: - unsigned char addr[32];
1: + struct packet_mclist *next;
1: + int ifindex;
1: + int count;
1: + short unsigned int type;
1: + short unsigned int alen;
1: + unsigned char addr[32];
1: };
1:
1: struct pgv;
1:
1: struct tpacket_kbdq_core {
1: - struct pgv *pkbdq;
1: - unsigned int feature_req_word;
1: - unsigned int hdrlen;
1: - unsigned char reset_pending_on_curr_blk;
1: - unsigned char delete_blk_timer;
1: - short unsigned int kactive_blk_num;
1: - short unsigned int blk_sizeof_priv;
1: - short unsigned int last_kactive_blk_num;
1: - char *pkblk_start;
1: - char *pkblk_end;
1: - int kblk_size;
1: - unsigned int max_frame_len;
1: - unsigned int knum_blocks;
1: - uint64_t knxt_seq_num;
1: - char *prev;
1: - char *nxt_offset;
1: - struct sk_buff *skb;
1: - atomic_t blk_fill_in_prog;
1: - short unsigned int retire_blk_tov;
1: - short unsigned int version;
1: - long unsigned int tov_in_jiffies;
1: - struct timer_list retire_blk_timer;
1: + struct pgv *pkbdq;
1: + unsigned int feature_req_word;
1: + unsigned int hdrlen;
1: + unsigned char reset_pending_on_curr_blk;
1: + unsigned char delete_blk_timer;
1: + short unsigned int kactive_blk_num;
1: + short unsigned int blk_sizeof_priv;
1: + short unsigned int last_kactive_blk_num;
1: + char *pkblk_start;
1: + char *pkblk_end;
1: + int kblk_size;
1: + unsigned int max_frame_len;
1: + unsigned int knum_blocks;
1: + uint64_t knxt_seq_num;
1: + char *prev;
1: + char *nxt_offset;
1: + struct sk_buff *skb;
1: + atomic_t blk_fill_in_prog;
1: + short unsigned int retire_blk_tov;
1: + short unsigned int version;
1: + long unsigned int tov_in_jiffies;
1: + struct timer_list retire_blk_timer;
1: };
1:
1: struct pgv {
1: - char *buffer;
1: + char *buffer;
1: };
1:
1: struct packet_ring_buffer {
1: - struct pgv *pg_vec;
1: - unsigned int head;
1: - unsigned int frames_per_block;
1: - unsigned int frame_size;
1: - unsigned int frame_max;
1: - unsigned int pg_vec_order;
1: - unsigned int pg_vec_pages;
1: - unsigned int pg_vec_len;
1: - unsigned int *pending_refcnt;
1: - struct tpacket_kbdq_core prb_bdqc;
1: + struct pgv *pg_vec;
1: + unsigned int head;
1: + unsigned int frames_per_block;
1: + unsigned int frame_size;
1: + unsigned int frame_max;
1: + unsigned int pg_vec_order;
1: + unsigned int pg_vec_pages;
1: + unsigned int pg_vec_len;
1: + unsigned int *pending_refcnt;
1: + struct tpacket_kbdq_core prb_bdqc;
1: };
1:
1: struct packet_fanout {
1: - possible_net_t net;
1: - unsigned int num_members;
1: - u16 id;
1: - u8 type;
1: - u8 flags;
1: - union {
1: - atomic_t rr_cur;
1: - struct bpf_prog *bpf_prog;
1: - };
1: - struct list_head list;
1: - struct sock *arr[256];
1: - spinlock_t lock;
1: - refcount_t sk_ref;
1: - long: 64;
1: - long: 64;
1: - struct packet_type prot_hook;
1: + possible_net_t net;
1: + unsigned int num_members;
1: + u16 id;
1: + u8 type;
1: + u8 flags;
1: + union {
1: + atomic_t rr_cur;
1: + struct bpf_prog *bpf_prog;
1: + };
1: + struct list_head list;
1: + struct sock *arr[256];
1: + spinlock_t lock;
1: + refcount_t sk_ref;
1: + long : 64;
1: + long : 64;
1: + struct packet_type prot_hook;
1: };
1:
1: struct packet_rollover {
1: - int sock;
1: - atomic_long_t num;
1: - atomic_long_t num_huge;
1: - atomic_long_t num_failed;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - u32 history[16];
1: + int sock;
1: + atomic_long_t num;
1: + atomic_long_t num_huge;
1: + atomic_long_t num_failed;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + u32 history[16];
1: };
1:
1: struct packet_sock {
1: - struct sock sk;
1: - struct packet_fanout *fanout;
1: - union tpacket_stats_u stats;
1: - struct packet_ring_buffer rx_ring;
1: - struct packet_ring_buffer tx_ring;
1: - int copy_thresh;
1: - spinlock_t bind_lock;
1: - struct mutex pg_vec_lock;
1: - unsigned int running;
1: - unsigned int auxdata: 1;
1: - unsigned int origdev: 1;
1: - unsigned int has_vnet_hdr: 1;
1: - unsigned int tp_loss: 1;
1: - unsigned int tp_tx_has_off: 1;
1: - int pressure;
1: - int ifindex;
1: - __be16 num;
1: - struct packet_rollover *rollover;
1: - struct packet_mclist *mclist;
1: - atomic_t mapped;
1: - enum tpacket_versions tp_version;
1: - unsigned int tp_hdrlen;
1: - unsigned int tp_reserve;
1: - unsigned int tp_tstamp;
1: - struct completion skb_completion;
1: - struct net_device *cached_dev;
1: - int (*xmit)(struct sk_buff *);
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - struct packet_type prot_hook;
1: - atomic_t tp_drops;
1: - long: 32;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: + struct sock sk;
1: + struct packet_fanout *fanout;
1: + union tpacket_stats_u stats;
1: + struct packet_ring_buffer rx_ring;
1: + struct packet_ring_buffer tx_ring;
1: + int copy_thresh;
1: + spinlock_t bind_lock;
1: + struct mutex pg_vec_lock;
1: + unsigned int running;
1: + unsigned int auxdata : 1;
1: + unsigned int origdev : 1;
1: + unsigned int has_vnet_hdr : 1;
1: + unsigned int tp_loss : 1;
1: + unsigned int tp_tx_has_off : 1;
1: + int pressure;
1: + int ifindex;
1: + __be16 num;
1: + struct packet_rollover *rollover;
1: + struct packet_mclist *mclist;
1: + atomic_t mapped;
1: + enum tpacket_versions tp_version;
1: + unsigned int tp_hdrlen;
1: + unsigned int tp_reserve;
1: + unsigned int tp_tstamp;
1: + struct completion skb_completion;
1: + struct net_device *cached_dev;
1: + int (*xmit)(struct sk_buff *);
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + struct packet_type prot_hook;
1: + atomic_t tp_drops;
1: + long : 32;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: };
1:
1: struct packet_mreq_max {
1: - int mr_ifindex;
1: - short unsigned int mr_type;
1: - short unsigned int mr_alen;
1: - unsigned char mr_address[32];
1: + int mr_ifindex;
1: + short unsigned int mr_type;
1: + short unsigned int mr_alen;
1: + unsigned char mr_address[32];
1: };
1:
1: union tpacket_uhdr {
1: - struct tpacket_hdr *h1;
1: - struct tpacket2_hdr *h2;
1: - struct tpacket3_hdr *h3;
1: - void *raw;
1: + struct tpacket_hdr *h1;
1: + struct tpacket2_hdr *h2;
1: + struct tpacket3_hdr *h3;
1: + void *raw;
1: };
1:
1: struct packet_skb_cb {
1: - union {
1: - struct sockaddr_pkt pkt;
1: - union {
1: - unsigned int origlen;
1: - struct sockaddr_ll ll;
1: - };
1: - } sa;
1: + union {
1: + struct sockaddr_pkt pkt;
1: + union {
1: + unsigned int origlen;
1: + struct sockaddr_ll ll;
1: + };
1: + } sa;
1: };
1:
1: enum rpc_msg_type {
1: - RPC_CALL = 0,
1: - RPC_REPLY = 1,
1: + RPC_CALL = 0,
1: + RPC_REPLY = 1,
1: };
1:
1: enum rpc_reply_stat {
1: - RPC_MSG_ACCEPTED = 0,
1: - RPC_MSG_DENIED = 1,
1: + RPC_MSG_ACCEPTED = 0,
1: + RPC_MSG_DENIED = 1,
1: };
1:
1: enum rpc_reject_stat {
1: - RPC_MISMATCH = 0,
1: - RPC_AUTH_ERROR = 1,
1: + RPC_MISMATCH = 0,
1: + RPC_AUTH_ERROR = 1,
1: };
1:
1: enum {
1: - SUNRPC_PIPEFS_NFS_PRIO = 0,
1: - SUNRPC_PIPEFS_RPC_PRIO = 1,
1: + SUNRPC_PIPEFS_NFS_PRIO = 0,
1: + SUNRPC_PIPEFS_RPC_PRIO = 1,
1: };
1:
1: enum {
1: - RPC_PIPEFS_MOUNT = 0,
1: - RPC_PIPEFS_UMOUNT = 1,
1: + RPC_PIPEFS_MOUNT = 0,
1: + RPC_PIPEFS_UMOUNT = 1,
1: };
1:
1: struct rpc_add_xprt_test {
1: - void (*add_xprt_test)(struct rpc_clnt *, struct rpc_xprt *, void *);
1: - void *data;
1: + void (*add_xprt_test)(struct rpc_clnt *, struct rpc_xprt *, void *);
1: + void *data;
1: };
1:
1: struct sunrpc_net {
1: - struct proc_dir_entry *proc_net_rpc;
1: - struct cache_detail *ip_map_cache;
1: - struct cache_detail *unix_gid_cache;
1: - struct cache_detail *rsc_cache;
1: - struct cache_detail *rsi_cache;
1: - struct super_block *pipefs_sb;
1: - struct rpc_pipe *gssd_dummy;
1: - struct mutex pipefs_sb_lock;
1: - struct list_head all_clients;
1: - spinlock_t rpc_client_lock;
1: - struct rpc_clnt *rpcb_local_clnt;
1: - struct rpc_clnt *rpcb_local_clnt4;
1: - spinlock_t rpcb_clnt_lock;
1: - unsigned int rpcb_users;
1: - unsigned int rpcb_is_af_local: 1;
1: - struct mutex gssp_lock;
1: - struct rpc_clnt *gssp_clnt;
1: - int use_gss_proxy;
1: - int pipe_version;
1: - atomic_t pipe_users;
1: - struct proc_dir_entry *use_gssp_proc;
1: + struct proc_dir_entry *proc_net_rpc;
1: + struct cache_detail *ip_map_cache;
1: + struct cache_detail *unix_gid_cache;
1: + struct cache_detail *rsc_cache;
1: + struct cache_detail *rsi_cache;
1: + struct super_block *pipefs_sb;
1: + struct rpc_pipe *gssd_dummy;
1: + struct mutex pipefs_sb_lock;
1: + struct list_head all_clients;
1: + spinlock_t rpc_client_lock;
1: + struct rpc_clnt *rpcb_local_clnt;
1: + struct rpc_clnt *rpcb_local_clnt4;
1: + spinlock_t rpcb_clnt_lock;
1: + unsigned int rpcb_users;
1: + unsigned int rpcb_is_af_local : 1;
1: + struct mutex gssp_lock;
1: + struct rpc_clnt *gssp_clnt;
1: + int use_gss_proxy;
1: + int pipe_version;
1: + atomic_t pipe_users;
1: + struct proc_dir_entry *use_gssp_proc;
1: };
1:
1: struct rpc_cb_add_xprt_calldata {
1: - struct rpc_xprt_switch *xps;
1: - struct rpc_xprt *xprt;
1: + struct rpc_xprt_switch *xps;
1: + struct rpc_xprt *xprt;
1: };
1:
1: struct connect_timeout_data {
1: - long unsigned int connect_timeout;
1: - long unsigned int reconnect_timeout;
1: + long unsigned int connect_timeout;
1: + long unsigned int reconnect_timeout;
1: };
1:
1: struct xprt_class {
1: - struct list_head list;
1: - int ident;
1: - struct rpc_xprt * (*setup)(struct xprt_create *);
1: - struct module *owner;
1: - char name[32];
1: + struct list_head list;
1: + int ident;
1: + struct rpc_xprt *(*setup)(struct xprt_create *);
1: + struct module *owner;
1: + char name[32];
1: };
1:
1: enum xprt_xid_rb_cmp {
1: - XID_RB_EQUAL = 0,
1: - XID_RB_LEFT = 1,
1: - XID_RB_RIGHT = 2,
1: + XID_RB_EQUAL = 0,
1: + XID_RB_LEFT = 1,
1: + XID_RB_RIGHT = 2,
1: };
1:
1: struct xdr_skb_reader {
1: - struct sk_buff *skb;
1: - unsigned int offset;
1: - size_t count;
1: - __wsum csum;
1: + struct sk_buff *skb;
1: + unsigned int offset;
1: + size_t count;
1: + __wsum csum;
1: };
1:
1: typedef size_t (*xdr_skb_read_actor)(struct xdr_skb_reader *, void *, size_t);
1: @@ -110216,430 +111062,430 @@ typedef size_t (*xdr_skb_read_actor)(struct xdr_skb_reader *, void *, size_t);
1: typedef __be32 rpc_fraghdr;
1:
1: struct svc_sock {
1: - struct svc_xprt sk_xprt;
1: - struct socket *sk_sock;
1: - struct sock *sk_sk;
1: - void (*sk_ostate)(struct sock *);
1: - void (*sk_odata)(struct sock *);
1: - void (*sk_owspace)(struct sock *);
1: - __be32 sk_reclen;
1: - u32 sk_tcplen;
1: - u32 sk_datalen;
1: - struct page *sk_pages[259];
1: + struct svc_xprt sk_xprt;
1: + struct socket *sk_sock;
1: + struct sock *sk_sk;
1: + void (*sk_ostate)(struct sock *);
1: + void (*sk_odata)(struct sock *);
1: + void (*sk_owspace)(struct sock *);
1: + __be32 sk_reclen;
1: + u32 sk_tcplen;
1: + u32 sk_datalen;
1: + struct page *sk_pages[259];
1: };
1:
1: struct sock_xprt {
1: - struct rpc_xprt xprt;
1: - struct socket *sock;
1: - struct sock *inet;
1: - struct file *file;
1: - struct {
1: - struct {
1: - __be32 fraghdr;
1: - __be32 xid;
1: - __be32 calldir;
1: - };
1: - u32 offset;
1: - u32 len;
1: - long unsigned int copied;
1: - } recv;
1: - struct {
1: - u32 offset;
1: - } xmit;
1: - long unsigned int sock_state;
1: - struct delayed_work connect_worker;
1: - struct work_struct error_worker;
1: - struct work_struct recv_worker;
1: - struct mutex recv_mutex;
1: - struct __kernel_sockaddr_storage srcaddr;
1: - short unsigned int srcport;
1: - int xprt_err;
1: - size_t rcvsize;
1: - size_t sndsize;
1: - struct rpc_timeout tcp_timeout;
1: - void (*old_data_ready)(struct sock *);
1: - void (*old_state_change)(struct sock *);
1: - void (*old_write_space)(struct sock *);
1: - void (*old_error_report)(struct sock *);
1: + struct rpc_xprt xprt;
1: + struct socket *sock;
1: + struct sock *inet;
1: + struct file *file;
1: + struct {
1: + struct {
1: + __be32 fraghdr;
1: + __be32 xid;
1: + __be32 calldir;
1: + };
1: + u32 offset;
1: + u32 len;
1: + long unsigned int copied;
1: + } recv;
1: + struct {
1: + u32 offset;
1: + } xmit;
1: + long unsigned int sock_state;
1: + struct delayed_work connect_worker;
1: + struct work_struct error_worker;
1: + struct work_struct recv_worker;
1: + struct mutex recv_mutex;
1: + struct __kernel_sockaddr_storage srcaddr;
1: + short unsigned int srcport;
1: + int xprt_err;
1: + size_t rcvsize;
1: + size_t sndsize;
1: + struct rpc_timeout tcp_timeout;
1: + void (*old_data_ready)(struct sock *);
1: + void (*old_state_change)(struct sock *);
1: + void (*old_write_space)(struct sock *);
1: + void (*old_error_report)(struct sock *);
1: };
1:
1: struct rpc_buffer {
1: - size_t len;
1: - char data[0];
1: + size_t len;
1: + char data[0];
1: };
1:
1: struct trace_event_raw_rpc_task_status {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - int status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + int status;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_request {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - int version;
1: - bool async;
1: - u32 __data_loc_progname;
1: - u32 __data_loc_procname;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + int version;
1: + bool async;
1: + u32 __data_loc_progname;
1: + u32 __data_loc_procname;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_task_running {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - const void *action;
1: - long unsigned int runstate;
1: - int status;
1: - short unsigned int flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + const void *action;
1: + long unsigned int runstate;
1: + int status;
1: + short unsigned int flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_task_queued {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - long unsigned int timeout;
1: - long unsigned int runstate;
1: - int status;
1: - short unsigned int flags;
1: - u32 __data_loc_q_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + long unsigned int timeout;
1: + long unsigned int runstate;
1: + int status;
1: + short unsigned int flags;
1: + u32 __data_loc_q_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_failure {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_reply_event {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 xid;
1: - u32 __data_loc_progname;
1: - u32 version;
1: - u32 __data_loc_procname;
1: - u32 __data_loc_servername;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 __data_loc_progname;
1: + u32 version;
1: + u32 __data_loc_procname;
1: + u32 __data_loc_servername;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_stats_latency {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 xid;
1: - int version;
1: - u32 __data_loc_progname;
1: - u32 __data_loc_procname;
1: - long unsigned int backlog;
1: - long unsigned int rtt;
1: - long unsigned int execute;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + int version;
1: + u32 __data_loc_progname;
1: + u32 __data_loc_procname;
1: + long unsigned int backlog;
1: + long unsigned int rtt;
1: + long unsigned int execute;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_xdr_overflow {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - int version;
1: - size_t requested;
1: - const void *end;
1: - const void *p;
1: - const void *head_base;
1: - size_t head_len;
1: - const void *tail_base;
1: - size_t tail_len;
1: - unsigned int page_len;
1: - unsigned int len;
1: - u32 __data_loc_progname;
1: - u32 __data_loc_procedure;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + int version;
1: + size_t requested;
1: + const void *end;
1: + const void *p;
1: + const void *head_base;
1: + size_t head_len;
1: + const void *tail_base;
1: + size_t tail_len;
1: + unsigned int page_len;
1: + unsigned int len;
1: + u32 __data_loc_progname;
1: + u32 __data_loc_procedure;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_xdr_alignment {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - int version;
1: - size_t offset;
1: - unsigned int copied;
1: - const void *head_base;
1: - size_t head_len;
1: - const void *tail_base;
1: - size_t tail_len;
1: - unsigned int page_len;
1: - unsigned int len;
1: - u32 __data_loc_progname;
1: - u32 __data_loc_procedure;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + int version;
1: + size_t offset;
1: + unsigned int copied;
1: + const void *head_base;
1: + size_t head_len;
1: + const void *tail_base;
1: + size_t tail_len;
1: + unsigned int page_len;
1: + unsigned int len;
1: + u32 __data_loc_progname;
1: + u32 __data_loc_procedure;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_reply_pages {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - const void *head_base;
1: - size_t head_len;
1: - const void *tail_base;
1: - size_t tail_len;
1: - unsigned int page_len;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + const void *head_base;
1: + size_t head_len;
1: + const void *tail_base;
1: + size_t tail_len;
1: + unsigned int page_len;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xs_socket_event {
1: - struct trace_entry ent;
1: - unsigned int socket_state;
1: - unsigned int sock_state;
1: - long long unsigned int ino;
1: - u32 __data_loc_dstaddr;
1: - u32 __data_loc_dstport;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int socket_state;
1: + unsigned int sock_state;
1: + long long unsigned int ino;
1: + u32 __data_loc_dstaddr;
1: + u32 __data_loc_dstport;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xs_socket_event_done {
1: - struct trace_entry ent;
1: - int error;
1: - unsigned int socket_state;
1: - unsigned int sock_state;
1: - long long unsigned int ino;
1: - u32 __data_loc_dstaddr;
1: - u32 __data_loc_dstport;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int error;
1: + unsigned int socket_state;
1: + unsigned int sock_state;
1: + long long unsigned int ino;
1: + u32 __data_loc_dstaddr;
1: + u32 __data_loc_dstport;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpc_xprt_event {
1: - struct trace_entry ent;
1: - u32 xid;
1: - int status;
1: - u32 __data_loc_addr;
1: - u32 __data_loc_port;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + int status;
1: + u32 __data_loc_addr;
1: + u32 __data_loc_port;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xprt_transmit {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 xid;
1: - u32 seqno;
1: - int status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 seqno;
1: + int status;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xprt_enq_xmit {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 xid;
1: - u32 seqno;
1: - int stage;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 seqno;
1: + int stage;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xprt_ping {
1: - struct trace_entry ent;
1: - int status;
1: - u32 __data_loc_addr;
1: - u32 __data_loc_port;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int status;
1: + u32 __data_loc_addr;
1: + u32 __data_loc_port;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xprt_writelock_event {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - unsigned int snd_task_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + unsigned int snd_task_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xprt_cong_event {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - unsigned int snd_task_id;
1: - long unsigned int cong;
1: - long unsigned int cwnd;
1: - bool wait;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + unsigned int snd_task_id;
1: + long unsigned int cong;
1: + long unsigned int cwnd;
1: + bool wait;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xs_stream_read_data {
1: - struct trace_entry ent;
1: - ssize_t err;
1: - size_t total;
1: - u32 __data_loc_addr;
1: - u32 __data_loc_port;
1: - char __data[0];
1: + struct trace_entry ent;
1: + ssize_t err;
1: + size_t total;
1: + u32 __data_loc_addr;
1: + u32 __data_loc_port;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_xs_stream_read_request {
1: - struct trace_entry ent;
1: - u32 __data_loc_addr;
1: - u32 __data_loc_port;
1: - u32 xid;
1: - long unsigned int copied;
1: - unsigned int reclen;
1: - unsigned int offset;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_addr;
1: + u32 __data_loc_port;
1: + u32 xid;
1: + long unsigned int copied;
1: + unsigned int reclen;
1: + unsigned int offset;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_recv {
1: - struct trace_entry ent;
1: - u32 xid;
1: - int len;
1: - long unsigned int flags;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + int len;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_authenticate {
1: - struct trace_entry ent;
1: - u32 xid;
1: - long unsigned int svc_status;
1: - long unsigned int auth_stat;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + long unsigned int svc_status;
1: + long unsigned int auth_stat;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_process {
1: - struct trace_entry ent;
1: - u32 xid;
1: - u32 vers;
1: - u32 proc;
1: - u32 __data_loc_service;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + u32 vers;
1: + u32 proc;
1: + u32 __data_loc_service;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_rqst_event {
1: - struct trace_entry ent;
1: - u32 xid;
1: - long unsigned int flags;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_rqst_status {
1: - struct trace_entry ent;
1: - u32 xid;
1: - int status;
1: - long unsigned int flags;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + int status;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_xprt_do_enqueue {
1: - struct trace_entry ent;
1: - struct svc_xprt *xprt;
1: - int pid;
1: - long unsigned int flags;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct svc_xprt *xprt;
1: + int pid;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_xprt_event {
1: - struct trace_entry ent;
1: - struct svc_xprt *xprt;
1: - long unsigned int flags;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct svc_xprt *xprt;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_xprt_dequeue {
1: - struct trace_entry ent;
1: - struct svc_xprt *xprt;
1: - long unsigned int flags;
1: - long unsigned int wakeup;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct svc_xprt *xprt;
1: + long unsigned int flags;
1: + long unsigned int wakeup;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_wake_up {
1: - struct trace_entry ent;
1: - int pid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int pid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_handle_xprt {
1: - struct trace_entry ent;
1: - struct svc_xprt *xprt;
1: - int len;
1: - long unsigned int flags;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + struct svc_xprt *xprt;
1: + int len;
1: + long unsigned int flags;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_stats_latency {
1: - struct trace_entry ent;
1: - u32 xid;
1: - long unsigned int execute;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + long unsigned int execute;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_svc_deferred_event {
1: - struct trace_entry ent;
1: - u32 xid;
1: - u32 __data_loc_addr;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + u32 __data_loc_addr;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_rpc_task_status {};
1:
1: struct trace_event_data_offsets_rpc_request {
1: - u32 progname;
1: - u32 procname;
1: + u32 progname;
1: + u32 procname;
1: };
1:
1: struct trace_event_data_offsets_rpc_task_running {};
1:
1: struct trace_event_data_offsets_rpc_task_queued {
1: - u32 q_name;
1: + u32 q_name;
1: };
1:
1: struct trace_event_data_offsets_rpc_failure {};
1:
1: struct trace_event_data_offsets_rpc_reply_event {
1: - u32 progname;
1: - u32 procname;
1: - u32 servername;
1: + u32 progname;
1: + u32 procname;
1: + u32 servername;
1: };
1:
1: struct trace_event_data_offsets_rpc_stats_latency {
1: - u32 progname;
1: - u32 procname;
1: + u32 progname;
1: + u32 procname;
1: };
1:
1: struct trace_event_data_offsets_rpc_xdr_overflow {
1: - u32 progname;
1: - u32 procedure;
1: + u32 progname;
1: + u32 procedure;
1: };
1:
1: struct trace_event_data_offsets_rpc_xdr_alignment {
1: - u32 progname;
1: - u32 procedure;
1: + u32 progname;
1: + u32 procedure;
1: };
1:
1: struct trace_event_data_offsets_rpc_reply_pages {};
1:
1: struct trace_event_data_offsets_xs_socket_event {
1: - u32 dstaddr;
1: - u32 dstport;
1: + u32 dstaddr;
1: + u32 dstport;
1: };
1:
1: struct trace_event_data_offsets_xs_socket_event_done {
1: - u32 dstaddr;
1: - u32 dstport;
1: + u32 dstaddr;
1: + u32 dstport;
1: };
1:
1: struct trace_event_data_offsets_rpc_xprt_event {
1: - u32 addr;
1: - u32 port;
1: + u32 addr;
1: + u32 port;
1: };
1:
1: struct trace_event_data_offsets_xprt_transmit {};
1: @@ -110647,8 +111493,8 @@ struct trace_event_data_offsets_xprt_transmit {};
1: struct trace_event_data_offsets_xprt_enq_xmit {};
1:
1: struct trace_event_data_offsets_xprt_ping {
1: - u32 addr;
1: - u32 port;
1: + u32 addr;
1: + u32 port;
1: };
1:
1: struct trace_event_data_offsets_xprt_writelock_event {};
1: @@ -110656,332 +111502,333 @@ struct trace_event_data_offsets_xprt_writelock_event {};
1: struct trace_event_data_offsets_xprt_cong_event {};
1:
1: struct trace_event_data_offsets_xs_stream_read_data {
1: - u32 addr;
1: - u32 port;
1: + u32 addr;
1: + u32 port;
1: };
1:
1: struct trace_event_data_offsets_xs_stream_read_request {
1: - u32 addr;
1: - u32 port;
1: + u32 addr;
1: + u32 port;
1: };
1:
1: struct trace_event_data_offsets_svc_recv {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_authenticate {};
1:
1: struct trace_event_data_offsets_svc_process {
1: - u32 service;
1: - u32 addr;
1: + u32 service;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_rqst_event {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_rqst_status {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_xprt_do_enqueue {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_xprt_event {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_xprt_dequeue {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_wake_up {};
1:
1: struct trace_event_data_offsets_svc_handle_xprt {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_stats_latency {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct trace_event_data_offsets_svc_deferred_event {
1: - u32 addr;
1: + u32 addr;
1: };
1:
1: struct rpc_cred_cache {
1: - struct hlist_head *hashtable;
1: - unsigned int hashbits;
1: - spinlock_t lock;
1: + struct hlist_head *hashtable;
1: + unsigned int hashbits;
1: + spinlock_t lock;
1: };
1:
1: enum {
1: - SVC_POOL_AUTO = -1,
1: - SVC_POOL_GLOBAL = 0,
1: - SVC_POOL_PERCPU = 1,
1: - SVC_POOL_PERNODE = 2,
1: + SVC_POOL_AUTO = -1,
1: + SVC_POOL_GLOBAL = 0,
1: + SVC_POOL_PERCPU = 1,
1: + SVC_POOL_PERNODE = 2,
1: };
1:
1: struct svc_pool_map {
1: - int count;
1: - int mode;
1: - unsigned int npools;
1: - unsigned int *pool_to;
1: - unsigned int *to_pool;
1: + int count;
1: + int mode;
1: + unsigned int npools;
1: + unsigned int *pool_to;
1: + unsigned int *to_pool;
1: };
1:
1: struct unix_domain {
1: - struct auth_domain h;
1: + struct auth_domain h;
1: };
1:
1: struct ip_map {
1: - struct cache_head h;
1: - char m_class[8];
1: - struct in6_addr m_addr;
1: - struct unix_domain *m_client;
1: - struct callback_head m_rcu;
1: + struct cache_head h;
1: + char m_class[8];
1: + struct in6_addr m_addr;
1: + struct unix_domain *m_client;
1: + struct callback_head m_rcu;
1: };
1:
1: struct unix_gid {
1: - struct cache_head h;
1: - kuid_t uid;
1: - struct group_info *gi;
1: - struct callback_head rcu;
1: -};
1: -
1: -enum {
1: - RPCBPROC_NULL = 0,
1: - RPCBPROC_SET = 1,
1: - RPCBPROC_UNSET = 2,
1: - RPCBPROC_GETPORT = 3,
1: - RPCBPROC_GETADDR = 3,
1: - RPCBPROC_DUMP = 4,
1: - RPCBPROC_CALLIT = 5,
1: - RPCBPROC_BCAST = 5,
1: - RPCBPROC_GETTIME = 6,
1: - RPCBPROC_UADDR2TADDR = 7,
1: - RPCBPROC_TADDR2UADDR = 8,
1: - RPCBPROC_GETVERSADDR = 9,
1: - RPCBPROC_INDIRECT = 10,
1: - RPCBPROC_GETADDRLIST = 11,
1: - RPCBPROC_GETSTAT = 12,
1: + struct cache_head h;
1: + kuid_t uid;
1: + struct group_info *gi;
1: + struct callback_head rcu;
1: +};
1: +
1: +enum {
1: + RPCBPROC_NULL = 0,
1: + RPCBPROC_SET = 1,
1: + RPCBPROC_UNSET = 2,
1: + RPCBPROC_GETPORT = 3,
1: + RPCBPROC_GETADDR = 3,
1: + RPCBPROC_DUMP = 4,
1: + RPCBPROC_CALLIT = 5,
1: + RPCBPROC_BCAST = 5,
1: + RPCBPROC_GETTIME = 6,
1: + RPCBPROC_UADDR2TADDR = 7,
1: + RPCBPROC_TADDR2UADDR = 8,
1: + RPCBPROC_GETVERSADDR = 9,
1: + RPCBPROC_INDIRECT = 10,
1: + RPCBPROC_GETADDRLIST = 11,
1: + RPCBPROC_GETSTAT = 12,
1: };
1:
1: struct rpcbind_args {
1: - struct rpc_xprt *r_xprt;
1: - u32 r_prog;
1: - u32 r_vers;
1: - u32 r_prot;
1: - short unsigned int r_port;
1: - const char *r_netid;
1: - const char *r_addr;
1: - const char *r_owner;
1: - int r_status;
1: + struct rpc_xprt *r_xprt;
1: + u32 r_prog;
1: + u32 r_vers;
1: + u32 r_prot;
1: + short unsigned int r_port;
1: + const char *r_netid;
1: + const char *r_addr;
1: + const char *r_owner;
1: + int r_status;
1: };
1:
1: struct rpcb_info {
1: - u32 rpc_vers;
1: - const struct rpc_procinfo *rpc_proc;
1: + u32 rpc_vers;
1: + const struct rpc_procinfo *rpc_proc;
1: };
1:
1: struct thread_deferred_req {
1: - struct cache_deferred_req handle;
1: - struct completion completion;
1: + struct cache_deferred_req handle;
1: + struct completion completion;
1: };
1:
1: struct cache_queue {
1: - struct list_head list;
1: - int reader;
1: + struct list_head list;
1: + int reader;
1: };
1:
1: struct cache_request {
1: - struct cache_queue q;
1: - struct cache_head *item;
1: - char *buf;
1: - int len;
1: - int readers;
1: + struct cache_queue q;
1: + struct cache_head *item;
1: + char *buf;
1: + int len;
1: + int readers;
1: };
1:
1: struct cache_reader {
1: - struct cache_queue q;
1: - int offset;
1: + struct cache_queue q;
1: + int offset;
1: };
1:
1: struct rpc_filelist {
1: - const char *name;
1: - const struct file_operations *i_fop;
1: - umode_t mode;
1: + const char *name;
1: + const struct file_operations *i_fop;
1: + umode_t mode;
1: };
1:
1: enum {
1: - RPCAUTH_info = 0,
1: - RPCAUTH_EOF = 1,
1: + RPCAUTH_info = 0,
1: + RPCAUTH_EOF = 1,
1: };
1:
1: enum {
1: - RPCAUTH_lockd = 0,
1: - RPCAUTH_mount = 1,
1: - RPCAUTH_nfs = 2,
1: - RPCAUTH_portmap = 3,
1: - RPCAUTH_statd = 4,
1: - RPCAUTH_nfsd4_cb = 5,
1: - RPCAUTH_cache = 6,
1: - RPCAUTH_nfsd = 7,
1: - RPCAUTH_gssd = 8,
1: - RPCAUTH_RootEOF = 9,
1: + RPCAUTH_lockd = 0,
1: + RPCAUTH_mount = 1,
1: + RPCAUTH_nfs = 2,
1: + RPCAUTH_portmap = 3,
1: + RPCAUTH_statd = 4,
1: + RPCAUTH_nfsd4_cb = 5,
1: + RPCAUTH_cache = 6,
1: + RPCAUTH_nfsd = 7,
1: + RPCAUTH_gssd = 8,
1: + RPCAUTH_RootEOF = 9,
1: };
1:
1: struct svc_xpt_user {
1: - struct list_head list;
1: - void (*callback)(struct svc_xpt_user *);
1: + struct list_head list;
1: + void (*callback)(struct svc_xpt_user *);
1: };
1:
1: -typedef struct rpc_xprt * (*xprt_switch_find_xprt_t)(struct rpc_xprt_switch *, const struct rpc_xprt *);
1: +typedef struct rpc_xprt *(*xprt_switch_find_xprt_t)(struct rpc_xprt_switch *,
1: + const struct rpc_xprt *);
1:
1: enum rpc_gss_proc {
1: - RPC_GSS_PROC_DATA = 0,
1: - RPC_GSS_PROC_INIT = 1,
1: - RPC_GSS_PROC_CONTINUE_INIT = 2,
1: - RPC_GSS_PROC_DESTROY = 3,
1: + RPC_GSS_PROC_DATA = 0,
1: + RPC_GSS_PROC_INIT = 1,
1: + RPC_GSS_PROC_CONTINUE_INIT = 2,
1: + RPC_GSS_PROC_DESTROY = 3,
1: };
1:
1: enum rpc_gss_svc {
1: - RPC_GSS_SVC_NONE = 1,
1: - RPC_GSS_SVC_INTEGRITY = 2,
1: - RPC_GSS_SVC_PRIVACY = 3,
1: + RPC_GSS_SVC_NONE = 1,
1: + RPC_GSS_SVC_INTEGRITY = 2,
1: + RPC_GSS_SVC_PRIVACY = 3,
1: };
1:
1: struct gss_cl_ctx {
1: - refcount_t count;
1: - enum rpc_gss_proc gc_proc;
1: - u32 gc_seq;
1: - u32 gc_seq_xmit;
1: - spinlock_t gc_seq_lock;
1: - struct gss_ctx *gc_gss_ctx;
1: - struct xdr_netobj gc_wire_ctx;
1: - struct xdr_netobj gc_acceptor;
1: - u32 gc_win;
1: - long unsigned int gc_expiry;
1: - struct callback_head gc_rcu;
1: + refcount_t count;
1: + enum rpc_gss_proc gc_proc;
1: + u32 gc_seq;
1: + u32 gc_seq_xmit;
1: + spinlock_t gc_seq_lock;
1: + struct gss_ctx *gc_gss_ctx;
1: + struct xdr_netobj gc_wire_ctx;
1: + struct xdr_netobj gc_acceptor;
1: + u32 gc_win;
1: + long unsigned int gc_expiry;
1: + struct callback_head gc_rcu;
1: };
1:
1: struct gss_upcall_msg;
1:
1: struct gss_cred {
1: - struct rpc_cred gc_base;
1: - enum rpc_gss_svc gc_service;
1: - struct gss_cl_ctx *gc_ctx;
1: - struct gss_upcall_msg *gc_upcall;
1: - const char *gc_principal;
1: - long unsigned int gc_upcall_timestamp;
1: + struct rpc_cred gc_base;
1: + enum rpc_gss_svc gc_service;
1: + struct gss_cl_ctx *gc_ctx;
1: + struct gss_upcall_msg *gc_upcall;
1: + const char *gc_principal;
1: + long unsigned int gc_upcall_timestamp;
1: };
1:
1: struct gss_auth;
1:
1: struct gss_upcall_msg {
1: - refcount_t count;
1: - kuid_t uid;
1: - const char *service_name;
1: - struct rpc_pipe_msg msg;
1: - struct list_head list;
1: - struct gss_auth *auth;
1: - struct rpc_pipe *pipe;
1: - struct rpc_wait_queue rpc_waitqueue;
1: - wait_queue_head_t waitqueue;
1: - struct gss_cl_ctx *ctx;
1: - char databuf[256];
1: + refcount_t count;
1: + kuid_t uid;
1: + const char *service_name;
1: + struct rpc_pipe_msg msg;
1: + struct list_head list;
1: + struct gss_auth *auth;
1: + struct rpc_pipe *pipe;
1: + struct rpc_wait_queue rpc_waitqueue;
1: + wait_queue_head_t waitqueue;
1: + struct gss_cl_ctx *ctx;
1: + char databuf[256];
1: };
1:
1: typedef unsigned int OM_uint32;
1:
1: struct gss_pipe {
1: - struct rpc_pipe_dir_object pdo;
1: - struct rpc_pipe *pipe;
1: - struct rpc_clnt *clnt;
1: - const char *name;
1: - struct kref kref;
1: + struct rpc_pipe_dir_object pdo;
1: + struct rpc_pipe *pipe;
1: + struct rpc_clnt *clnt;
1: + const char *name;
1: + struct kref kref;
1: };
1:
1: struct gss_auth {
1: - struct kref kref;
1: - struct hlist_node hash;
1: - struct rpc_auth rpc_auth;
1: - struct gss_api_mech *mech;
1: - enum rpc_gss_svc service;
1: - struct rpc_clnt *client;
1: - struct net *net;
1: - struct gss_pipe *gss_pipe[2];
1: - const char *target_name;
1: + struct kref kref;
1: + struct hlist_node hash;
1: + struct rpc_auth rpc_auth;
1: + struct gss_api_mech *mech;
1: + enum rpc_gss_svc service;
1: + struct rpc_clnt *client;
1: + struct net *net;
1: + struct gss_pipe *gss_pipe[2];
1: + const char *target_name;
1: };
1:
1: struct gss_alloc_pdo {
1: - struct rpc_clnt *clnt;
1: - const char *name;
1: - const struct rpc_pipe_ops *upcall_ops;
1: + struct rpc_clnt *clnt;
1: + const char *name;
1: + const struct rpc_pipe_ops *upcall_ops;
1: };
1:
1: struct rpc_gss_wire_cred {
1: - u32 gc_v;
1: - u32 gc_proc;
1: - u32 gc_seq;
1: - u32 gc_svc;
1: - struct xdr_netobj gc_ctx;
1: + u32 gc_v;
1: + u32 gc_proc;
1: + u32 gc_seq;
1: + u32 gc_svc;
1: + struct xdr_netobj gc_ctx;
1: };
1:
1: struct gssp_in_token {
1: - struct page **pages;
1: - unsigned int page_base;
1: - unsigned int page_len;
1: + struct page **pages;
1: + unsigned int page_base;
1: + unsigned int page_len;
1: };
1:
1: struct gssp_upcall_data {
1: - struct xdr_netobj in_handle;
1: - struct gssp_in_token in_token;
1: - struct xdr_netobj out_handle;
1: - struct xdr_netobj out_token;
1: - struct rpcsec_gss_oid mech_oid;
1: - struct svc_cred creds;
1: - int found_creds;
1: - int major_status;
1: - int minor_status;
1: + struct xdr_netobj in_handle;
1: + struct gssp_in_token in_token;
1: + struct xdr_netobj out_handle;
1: + struct xdr_netobj out_token;
1: + struct rpcsec_gss_oid mech_oid;
1: + struct svc_cred creds;
1: + int found_creds;
1: + int major_status;
1: + int minor_status;
1: };
1:
1: struct rsi {
1: - struct cache_head h;
1: - struct xdr_netobj in_handle;
1: - struct xdr_netobj in_token;
1: - struct xdr_netobj out_handle;
1: - struct xdr_netobj out_token;
1: - int major_status;
1: - int minor_status;
1: - struct callback_head callback_head;
1: + struct cache_head h;
1: + struct xdr_netobj in_handle;
1: + struct xdr_netobj in_token;
1: + struct xdr_netobj out_handle;
1: + struct xdr_netobj out_token;
1: + int major_status;
1: + int minor_status;
1: + struct callback_head callback_head;
1: };
1:
1: struct gss_svc_seq_data {
1: - int sd_max;
1: - long unsigned int sd_win[2];
1: - spinlock_t sd_lock;
1: + int sd_max;
1: + long unsigned int sd_win[2];
1: + spinlock_t sd_lock;
1: };
1:
1: struct rsc {
1: - struct cache_head h;
1: - struct xdr_netobj handle;
1: - struct svc_cred cred;
1: - struct gss_svc_seq_data seqdata;
1: - struct gss_ctx *mechctx;
1: - struct callback_head callback_head;
1: + struct cache_head h;
1: + struct xdr_netobj handle;
1: + struct svc_cred cred;
1: + struct gss_svc_seq_data seqdata;
1: + struct gss_ctx *mechctx;
1: + struct callback_head callback_head;
1: };
1:
1: struct gss_domain {
1: - struct auth_domain h;
1: - u32 pseudoflavor;
1: + struct auth_domain h;
1: + u32 pseudoflavor;
1: };
1:
1: struct gss_svc_data {
1: - struct rpc_gss_wire_cred clcred;
1: - __be32 *verf_start;
1: - struct rsc *rsci;
1: + struct rpc_gss_wire_cred clcred;
1: + __be32 *verf_start;
1: + struct rsc *rsci;
1: };
1:
1: typedef struct xdr_netobj gssx_buffer;
1: @@ -110991,221 +111838,221 @@ typedef struct xdr_netobj utf8string;
1: typedef struct xdr_netobj gssx_OID;
1:
1: struct gssx_option {
1: - gssx_buffer option;
1: - gssx_buffer value;
1: + gssx_buffer option;
1: + gssx_buffer value;
1: };
1:
1: struct gssx_option_array {
1: - u32 count;
1: - struct gssx_option *data;
1: + u32 count;
1: + struct gssx_option *data;
1: };
1:
1: struct gssx_status {
1: - u64 major_status;
1: - gssx_OID mech;
1: - u64 minor_status;
1: - utf8string major_status_string;
1: - utf8string minor_status_string;
1: - gssx_buffer server_ctx;
1: - struct gssx_option_array options;
1: + u64 major_status;
1: + gssx_OID mech;
1: + u64 minor_status;
1: + utf8string major_status_string;
1: + utf8string minor_status_string;
1: + gssx_buffer server_ctx;
1: + struct gssx_option_array options;
1: };
1:
1: struct gssx_call_ctx {
1: - utf8string locale;
1: - gssx_buffer server_ctx;
1: - struct gssx_option_array options;
1: + utf8string locale;
1: + gssx_buffer server_ctx;
1: + struct gssx_option_array options;
1: };
1:
1: struct gssx_name {
1: - gssx_buffer display_name;
1: + gssx_buffer display_name;
1: };
1:
1: typedef struct gssx_name gssx_name;
1:
1: struct gssx_cred_element {
1: - gssx_name MN;
1: - gssx_OID mech;
1: - u32 cred_usage;
1: - u64 initiator_time_rec;
1: - u64 acceptor_time_rec;
1: - struct gssx_option_array options;
1: + gssx_name MN;
1: + gssx_OID mech;
1: + u32 cred_usage;
1: + u64 initiator_time_rec;
1: + u64 acceptor_time_rec;
1: + struct gssx_option_array options;
1: };
1:
1: struct gssx_cred_element_array {
1: - u32 count;
1: - struct gssx_cred_element *data;
1: + u32 count;
1: + struct gssx_cred_element *data;
1: };
1:
1: struct gssx_cred {
1: - gssx_name desired_name;
1: - struct gssx_cred_element_array elements;
1: - gssx_buffer cred_handle_reference;
1: - u32 needs_release;
1: + gssx_name desired_name;
1: + struct gssx_cred_element_array elements;
1: + gssx_buffer cred_handle_reference;
1: + u32 needs_release;
1: };
1:
1: struct gssx_ctx {
1: - gssx_buffer exported_context_token;
1: - gssx_buffer state;
1: - u32 need_release;
1: - gssx_OID mech;
1: - gssx_name src_name;
1: - gssx_name targ_name;
1: - u64 lifetime;
1: - u64 ctx_flags;
1: - u32 locally_initiated;
1: - u32 open;
1: - struct gssx_option_array options;
1: + gssx_buffer exported_context_token;
1: + gssx_buffer state;
1: + u32 need_release;
1: + gssx_OID mech;
1: + gssx_name src_name;
1: + gssx_name targ_name;
1: + u64 lifetime;
1: + u64 ctx_flags;
1: + u32 locally_initiated;
1: + u32 open;
1: + struct gssx_option_array options;
1: };
1:
1: struct gssx_cb {
1: - u64 initiator_addrtype;
1: - gssx_buffer initiator_address;
1: - u64 acceptor_addrtype;
1: - gssx_buffer acceptor_address;
1: - gssx_buffer application_data;
1: + u64 initiator_addrtype;
1: + gssx_buffer initiator_address;
1: + u64 acceptor_addrtype;
1: + gssx_buffer acceptor_address;
1: + gssx_buffer application_data;
1: };
1:
1: struct gssx_arg_accept_sec_context {
1: - struct gssx_call_ctx call_ctx;
1: - struct gssx_ctx *context_handle;
1: - struct gssx_cred *cred_handle;
1: - struct gssp_in_token input_token;
1: - struct gssx_cb *input_cb;
1: - u32 ret_deleg_cred;
1: - struct gssx_option_array options;
1: - struct page **pages;
1: - unsigned int npages;
1: + struct gssx_call_ctx call_ctx;
1: + struct gssx_ctx *context_handle;
1: + struct gssx_cred *cred_handle;
1: + struct gssp_in_token input_token;
1: + struct gssx_cb *input_cb;
1: + u32 ret_deleg_cred;
1: + struct gssx_option_array options;
1: + struct page **pages;
1: + unsigned int npages;
1: };
1:
1: struct gssx_res_accept_sec_context {
1: - struct gssx_status status;
1: - struct gssx_ctx *context_handle;
1: - gssx_buffer *output_token;
1: - struct gssx_option_array options;
1: -};
1: -
1: -enum {
1: - GSSX_NULL = 0,
1: - GSSX_INDICATE_MECHS = 1,
1: - GSSX_GET_CALL_CONTEXT = 2,
1: - GSSX_IMPORT_AND_CANON_NAME = 3,
1: - GSSX_EXPORT_CRED = 4,
1: - GSSX_IMPORT_CRED = 5,
1: - GSSX_ACQUIRE_CRED = 6,
1: - GSSX_STORE_CRED = 7,
1: - GSSX_INIT_SEC_CONTEXT = 8,
1: - GSSX_ACCEPT_SEC_CONTEXT = 9,
1: - GSSX_RELEASE_HANDLE = 10,
1: - GSSX_GET_MIC = 11,
1: - GSSX_VERIFY = 12,
1: - GSSX_WRAP = 13,
1: - GSSX_UNWRAP = 14,
1: - GSSX_WRAP_SIZE_LIMIT = 15,
1: + struct gssx_status status;
1: + struct gssx_ctx *context_handle;
1: + gssx_buffer *output_token;
1: + struct gssx_option_array options;
1: +};
1: +
1: +enum {
1: + GSSX_NULL = 0,
1: + GSSX_INDICATE_MECHS = 1,
1: + GSSX_GET_CALL_CONTEXT = 2,
1: + GSSX_IMPORT_AND_CANON_NAME = 3,
1: + GSSX_EXPORT_CRED = 4,
1: + GSSX_IMPORT_CRED = 5,
1: + GSSX_ACQUIRE_CRED = 6,
1: + GSSX_STORE_CRED = 7,
1: + GSSX_INIT_SEC_CONTEXT = 8,
1: + GSSX_ACCEPT_SEC_CONTEXT = 9,
1: + GSSX_RELEASE_HANDLE = 10,
1: + GSSX_GET_MIC = 11,
1: + GSSX_VERIFY = 12,
1: + GSSX_WRAP = 13,
1: + GSSX_UNWRAP = 14,
1: + GSSX_WRAP_SIZE_LIMIT = 15,
1: };
1:
1: struct gssx_name_attr {
1: - gssx_buffer attr;
1: - gssx_buffer value;
1: - struct gssx_option_array extensions;
1: + gssx_buffer attr;
1: + gssx_buffer value;
1: + struct gssx_option_array extensions;
1: };
1:
1: struct gssx_name_attr_array {
1: - u32 count;
1: - struct gssx_name_attr *data;
1: + u32 count;
1: + struct gssx_name_attr *data;
1: };
1:
1: struct trace_event_raw_rpcgss_gssapi_event {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 maj_stat;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 maj_stat;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_import_ctx {
1: - struct trace_entry ent;
1: - int status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + int status;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_accept_upcall {
1: - struct trace_entry ent;
1: - u32 xid;
1: - u32 minor_status;
1: - long unsigned int major_status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 xid;
1: + u32 minor_status;
1: + long unsigned int major_status;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_unwrap_failed {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_bad_seqno {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 expected;
1: - u32 received;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 expected;
1: + u32 received;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_seqno {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 xid;
1: - u32 seqno;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 seqno;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_need_reencode {
1: - struct trace_entry ent;
1: - unsigned int task_id;
1: - unsigned int client_id;
1: - u32 xid;
1: - u32 seq_xmit;
1: - u32 seqno;
1: - bool ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int task_id;
1: + unsigned int client_id;
1: + u32 xid;
1: + u32 seq_xmit;
1: + u32 seqno;
1: + bool ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_upcall_msg {
1: - struct trace_entry ent;
1: - u32 __data_loc_msg;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_msg;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_upcall_result {
1: - struct trace_entry ent;
1: - u32 uid;
1: - int result;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 uid;
1: + int result;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_context {
1: - struct trace_entry ent;
1: - long unsigned int expiry;
1: - long unsigned int now;
1: - unsigned int timeout;
1: - int len;
1: - u32 __data_loc_acceptor;
1: - char __data[0];
1: + struct trace_entry ent;
1: + long unsigned int expiry;
1: + long unsigned int now;
1: + unsigned int timeout;
1: + int len;
1: + u32 __data_loc_acceptor;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_createauth {
1: - struct trace_entry ent;
1: - unsigned int flavor;
1: - int error;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int flavor;
1: + int error;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rpcgss_oid_to_mech {
1: - struct trace_entry ent;
1: - u32 __data_loc_oid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 __data_loc_oid;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_rpcgss_gssapi_event {};
1: @@ -111223,823 +112070,823 @@ struct trace_event_data_offsets_rpcgss_seqno {};
1: struct trace_event_data_offsets_rpcgss_need_reencode {};
1:
1: struct trace_event_data_offsets_rpcgss_upcall_msg {
1: - u32 msg;
1: + u32 msg;
1: };
1:
1: struct trace_event_data_offsets_rpcgss_upcall_result {};
1:
1: struct trace_event_data_offsets_rpcgss_context {
1: - u32 acceptor;
1: + u32 acceptor;
1: };
1:
1: struct trace_event_data_offsets_rpcgss_createauth {};
1:
1: struct trace_event_data_offsets_rpcgss_oid_to_mech {
1: - u32 oid;
1: + u32 oid;
1: };
1:
1: enum nl80211_commands {
1: - NL80211_CMD_UNSPEC = 0,
1: - NL80211_CMD_GET_WIPHY = 1,
1: - NL80211_CMD_SET_WIPHY = 2,
1: - NL80211_CMD_NEW_WIPHY = 3,
1: - NL80211_CMD_DEL_WIPHY = 4,
1: - NL80211_CMD_GET_INTERFACE = 5,
1: - NL80211_CMD_SET_INTERFACE = 6,
1: - NL80211_CMD_NEW_INTERFACE = 7,
1: - NL80211_CMD_DEL_INTERFACE = 8,
1: - NL80211_CMD_GET_KEY = 9,
1: - NL80211_CMD_SET_KEY = 10,
1: - NL80211_CMD_NEW_KEY = 11,
1: - NL80211_CMD_DEL_KEY = 12,
1: - NL80211_CMD_GET_BEACON = 13,
1: - NL80211_CMD_SET_BEACON = 14,
1: - NL80211_CMD_START_AP = 15,
1: - NL80211_CMD_NEW_BEACON = 15,
1: - NL80211_CMD_STOP_AP = 16,
1: - NL80211_CMD_DEL_BEACON = 16,
1: - NL80211_CMD_GET_STATION = 17,
1: - NL80211_CMD_SET_STATION = 18,
1: - NL80211_CMD_NEW_STATION = 19,
1: - NL80211_CMD_DEL_STATION = 20,
1: - NL80211_CMD_GET_MPATH = 21,
1: - NL80211_CMD_SET_MPATH = 22,
1: - NL80211_CMD_NEW_MPATH = 23,
1: - NL80211_CMD_DEL_MPATH = 24,
1: - NL80211_CMD_SET_BSS = 25,
1: - NL80211_CMD_SET_REG = 26,
1: - NL80211_CMD_REQ_SET_REG = 27,
1: - NL80211_CMD_GET_MESH_CONFIG = 28,
1: - NL80211_CMD_SET_MESH_CONFIG = 29,
1: - NL80211_CMD_SET_MGMT_EXTRA_IE = 30,
1: - NL80211_CMD_GET_REG = 31,
1: - NL80211_CMD_GET_SCAN = 32,
1: - NL80211_CMD_TRIGGER_SCAN = 33,
1: - NL80211_CMD_NEW_SCAN_RESULTS = 34,
1: - NL80211_CMD_SCAN_ABORTED = 35,
1: - NL80211_CMD_REG_CHANGE = 36,
1: - NL80211_CMD_AUTHENTICATE = 37,
1: - NL80211_CMD_ASSOCIATE = 38,
1: - NL80211_CMD_DEAUTHENTICATE = 39,
1: - NL80211_CMD_DISASSOCIATE = 40,
1: - NL80211_CMD_MICHAEL_MIC_FAILURE = 41,
1: - NL80211_CMD_REG_BEACON_HINT = 42,
1: - NL80211_CMD_JOIN_IBSS = 43,
1: - NL80211_CMD_LEAVE_IBSS = 44,
1: - NL80211_CMD_TESTMODE = 45,
1: - NL80211_CMD_CONNECT = 46,
1: - NL80211_CMD_ROAM = 47,
1: - NL80211_CMD_DISCONNECT = 48,
1: - NL80211_CMD_SET_WIPHY_NETNS = 49,
1: - NL80211_CMD_GET_SURVEY = 50,
1: - NL80211_CMD_NEW_SURVEY_RESULTS = 51,
1: - NL80211_CMD_SET_PMKSA = 52,
1: - NL80211_CMD_DEL_PMKSA = 53,
1: - NL80211_CMD_FLUSH_PMKSA = 54,
1: - NL80211_CMD_REMAIN_ON_CHANNEL = 55,
1: - NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL = 56,
1: - NL80211_CMD_SET_TX_BITRATE_MASK = 57,
1: - NL80211_CMD_REGISTER_FRAME = 58,
1: - NL80211_CMD_REGISTER_ACTION = 58,
1: - NL80211_CMD_FRAME = 59,
1: - NL80211_CMD_ACTION = 59,
1: - NL80211_CMD_FRAME_TX_STATUS = 60,
1: - NL80211_CMD_ACTION_TX_STATUS = 60,
1: - NL80211_CMD_SET_POWER_SAVE = 61,
1: - NL80211_CMD_GET_POWER_SAVE = 62,
1: - NL80211_CMD_SET_CQM = 63,
1: - NL80211_CMD_NOTIFY_CQM = 64,
1: - NL80211_CMD_SET_CHANNEL = 65,
1: - NL80211_CMD_SET_WDS_PEER = 66,
1: - NL80211_CMD_FRAME_WAIT_CANCEL = 67,
1: - NL80211_CMD_JOIN_MESH = 68,
1: - NL80211_CMD_LEAVE_MESH = 69,
1: - NL80211_CMD_UNPROT_DEAUTHENTICATE = 70,
1: - NL80211_CMD_UNPROT_DISASSOCIATE = 71,
1: - NL80211_CMD_NEW_PEER_CANDIDATE = 72,
1: - NL80211_CMD_GET_WOWLAN = 73,
1: - NL80211_CMD_SET_WOWLAN = 74,
1: - NL80211_CMD_START_SCHED_SCAN = 75,
1: - NL80211_CMD_STOP_SCHED_SCAN = 76,
1: - NL80211_CMD_SCHED_SCAN_RESULTS = 77,
1: - NL80211_CMD_SCHED_SCAN_STOPPED = 78,
1: - NL80211_CMD_SET_REKEY_OFFLOAD = 79,
1: - NL80211_CMD_PMKSA_CANDIDATE = 80,
1: - NL80211_CMD_TDLS_OPER = 81,
1: - NL80211_CMD_TDLS_MGMT = 82,
1: - NL80211_CMD_UNEXPECTED_FRAME = 83,
1: - NL80211_CMD_PROBE_CLIENT = 84,
1: - NL80211_CMD_REGISTER_BEACONS = 85,
1: - NL80211_CMD_UNEXPECTED_4ADDR_FRAME = 86,
1: - NL80211_CMD_SET_NOACK_MAP = 87,
1: - NL80211_CMD_CH_SWITCH_NOTIFY = 88,
1: - NL80211_CMD_START_P2P_DEVICE = 89,
1: - NL80211_CMD_STOP_P2P_DEVICE = 90,
1: - NL80211_CMD_CONN_FAILED = 91,
1: - NL80211_CMD_SET_MCAST_RATE = 92,
1: - NL80211_CMD_SET_MAC_ACL = 93,
1: - NL80211_CMD_RADAR_DETECT = 94,
1: - NL80211_CMD_GET_PROTOCOL_FEATURES = 95,
1: - NL80211_CMD_UPDATE_FT_IES = 96,
1: - NL80211_CMD_FT_EVENT = 97,
1: - NL80211_CMD_CRIT_PROTOCOL_START = 98,
1: - NL80211_CMD_CRIT_PROTOCOL_STOP = 99,
1: - NL80211_CMD_GET_COALESCE = 100,
1: - NL80211_CMD_SET_COALESCE = 101,
1: - NL80211_CMD_CHANNEL_SWITCH = 102,
1: - NL80211_CMD_VENDOR = 103,
1: - NL80211_CMD_SET_QOS_MAP = 104,
1: - NL80211_CMD_ADD_TX_TS = 105,
1: - NL80211_CMD_DEL_TX_TS = 106,
1: - NL80211_CMD_GET_MPP = 107,
1: - NL80211_CMD_JOIN_OCB = 108,
1: - NL80211_CMD_LEAVE_OCB = 109,
1: - NL80211_CMD_CH_SWITCH_STARTED_NOTIFY = 110,
1: - NL80211_CMD_TDLS_CHANNEL_SWITCH = 111,
1: - NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH = 112,
1: - NL80211_CMD_WIPHY_REG_CHANGE = 113,
1: - NL80211_CMD_ABORT_SCAN = 114,
1: - NL80211_CMD_START_NAN = 115,
1: - NL80211_CMD_STOP_NAN = 116,
1: - NL80211_CMD_ADD_NAN_FUNCTION = 117,
1: - NL80211_CMD_DEL_NAN_FUNCTION = 118,
1: - NL80211_CMD_CHANGE_NAN_CONFIG = 119,
1: - NL80211_CMD_NAN_MATCH = 120,
1: - NL80211_CMD_SET_MULTICAST_TO_UNICAST = 121,
1: - NL80211_CMD_UPDATE_CONNECT_PARAMS = 122,
1: - NL80211_CMD_SET_PMK = 123,
1: - NL80211_CMD_DEL_PMK = 124,
1: - NL80211_CMD_PORT_AUTHORIZED = 125,
1: - NL80211_CMD_RELOAD_REGDB = 126,
1: - NL80211_CMD_EXTERNAL_AUTH = 127,
1: - NL80211_CMD_STA_OPMODE_CHANGED = 128,
1: - NL80211_CMD_CONTROL_PORT_FRAME = 129,
1: - NL80211_CMD_GET_FTM_RESPONDER_STATS = 130,
1: - NL80211_CMD_PEER_MEASUREMENT_START = 131,
1: - NL80211_CMD_PEER_MEASUREMENT_RESULT = 132,
1: - NL80211_CMD_PEER_MEASUREMENT_COMPLETE = 133,
1: - NL80211_CMD_NOTIFY_RADAR = 134,
1: - NL80211_CMD_UPDATE_OWE_INFO = 135,
1: - NL80211_CMD_PROBE_MESH_LINK = 136,
1: - __NL80211_CMD_AFTER_LAST = 137,
1: - NL80211_CMD_MAX = 136,
1: + NL80211_CMD_UNSPEC = 0,
1: + NL80211_CMD_GET_WIPHY = 1,
1: + NL80211_CMD_SET_WIPHY = 2,
1: + NL80211_CMD_NEW_WIPHY = 3,
1: + NL80211_CMD_DEL_WIPHY = 4,
1: + NL80211_CMD_GET_INTERFACE = 5,
1: + NL80211_CMD_SET_INTERFACE = 6,
1: + NL80211_CMD_NEW_INTERFACE = 7,
1: + NL80211_CMD_DEL_INTERFACE = 8,
1: + NL80211_CMD_GET_KEY = 9,
1: + NL80211_CMD_SET_KEY = 10,
1: + NL80211_CMD_NEW_KEY = 11,
1: + NL80211_CMD_DEL_KEY = 12,
1: + NL80211_CMD_GET_BEACON = 13,
1: + NL80211_CMD_SET_BEACON = 14,
1: + NL80211_CMD_START_AP = 15,
1: + NL80211_CMD_NEW_BEACON = 15,
1: + NL80211_CMD_STOP_AP = 16,
1: + NL80211_CMD_DEL_BEACON = 16,
1: + NL80211_CMD_GET_STATION = 17,
1: + NL80211_CMD_SET_STATION = 18,
1: + NL80211_CMD_NEW_STATION = 19,
1: + NL80211_CMD_DEL_STATION = 20,
1: + NL80211_CMD_GET_MPATH = 21,
1: + NL80211_CMD_SET_MPATH = 22,
1: + NL80211_CMD_NEW_MPATH = 23,
1: + NL80211_CMD_DEL_MPATH = 24,
1: + NL80211_CMD_SET_BSS = 25,
1: + NL80211_CMD_SET_REG = 26,
1: + NL80211_CMD_REQ_SET_REG = 27,
1: + NL80211_CMD_GET_MESH_CONFIG = 28,
1: + NL80211_CMD_SET_MESH_CONFIG = 29,
1: + NL80211_CMD_SET_MGMT_EXTRA_IE = 30,
1: + NL80211_CMD_GET_REG = 31,
1: + NL80211_CMD_GET_SCAN = 32,
1: + NL80211_CMD_TRIGGER_SCAN = 33,
1: + NL80211_CMD_NEW_SCAN_RESULTS = 34,
1: + NL80211_CMD_SCAN_ABORTED = 35,
1: + NL80211_CMD_REG_CHANGE = 36,
1: + NL80211_CMD_AUTHENTICATE = 37,
1: + NL80211_CMD_ASSOCIATE = 38,
1: + NL80211_CMD_DEAUTHENTICATE = 39,
1: + NL80211_CMD_DISASSOCIATE = 40,
1: + NL80211_CMD_MICHAEL_MIC_FAILURE = 41,
1: + NL80211_CMD_REG_BEACON_HINT = 42,
1: + NL80211_CMD_JOIN_IBSS = 43,
1: + NL80211_CMD_LEAVE_IBSS = 44,
1: + NL80211_CMD_TESTMODE = 45,
1: + NL80211_CMD_CONNECT = 46,
1: + NL80211_CMD_ROAM = 47,
1: + NL80211_CMD_DISCONNECT = 48,
1: + NL80211_CMD_SET_WIPHY_NETNS = 49,
1: + NL80211_CMD_GET_SURVEY = 50,
1: + NL80211_CMD_NEW_SURVEY_RESULTS = 51,
1: + NL80211_CMD_SET_PMKSA = 52,
1: + NL80211_CMD_DEL_PMKSA = 53,
1: + NL80211_CMD_FLUSH_PMKSA = 54,
1: + NL80211_CMD_REMAIN_ON_CHANNEL = 55,
1: + NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL = 56,
1: + NL80211_CMD_SET_TX_BITRATE_MASK = 57,
1: + NL80211_CMD_REGISTER_FRAME = 58,
1: + NL80211_CMD_REGISTER_ACTION = 58,
1: + NL80211_CMD_FRAME = 59,
1: + NL80211_CMD_ACTION = 59,
1: + NL80211_CMD_FRAME_TX_STATUS = 60,
1: + NL80211_CMD_ACTION_TX_STATUS = 60,
1: + NL80211_CMD_SET_POWER_SAVE = 61,
1: + NL80211_CMD_GET_POWER_SAVE = 62,
1: + NL80211_CMD_SET_CQM = 63,
1: + NL80211_CMD_NOTIFY_CQM = 64,
1: + NL80211_CMD_SET_CHANNEL = 65,
1: + NL80211_CMD_SET_WDS_PEER = 66,
1: + NL80211_CMD_FRAME_WAIT_CANCEL = 67,
1: + NL80211_CMD_JOIN_MESH = 68,
1: + NL80211_CMD_LEAVE_MESH = 69,
1: + NL80211_CMD_UNPROT_DEAUTHENTICATE = 70,
1: + NL80211_CMD_UNPROT_DISASSOCIATE = 71,
1: + NL80211_CMD_NEW_PEER_CANDIDATE = 72,
1: + NL80211_CMD_GET_WOWLAN = 73,
1: + NL80211_CMD_SET_WOWLAN = 74,
1: + NL80211_CMD_START_SCHED_SCAN = 75,
1: + NL80211_CMD_STOP_SCHED_SCAN = 76,
1: + NL80211_CMD_SCHED_SCAN_RESULTS = 77,
1: + NL80211_CMD_SCHED_SCAN_STOPPED = 78,
1: + NL80211_CMD_SET_REKEY_OFFLOAD = 79,
1: + NL80211_CMD_PMKSA_CANDIDATE = 80,
1: + NL80211_CMD_TDLS_OPER = 81,
1: + NL80211_CMD_TDLS_MGMT = 82,
1: + NL80211_CMD_UNEXPECTED_FRAME = 83,
1: + NL80211_CMD_PROBE_CLIENT = 84,
1: + NL80211_CMD_REGISTER_BEACONS = 85,
1: + NL80211_CMD_UNEXPECTED_4ADDR_FRAME = 86,
1: + NL80211_CMD_SET_NOACK_MAP = 87,
1: + NL80211_CMD_CH_SWITCH_NOTIFY = 88,
1: + NL80211_CMD_START_P2P_DEVICE = 89,
1: + NL80211_CMD_STOP_P2P_DEVICE = 90,
1: + NL80211_CMD_CONN_FAILED = 91,
1: + NL80211_CMD_SET_MCAST_RATE = 92,
1: + NL80211_CMD_SET_MAC_ACL = 93,
1: + NL80211_CMD_RADAR_DETECT = 94,
1: + NL80211_CMD_GET_PROTOCOL_FEATURES = 95,
1: + NL80211_CMD_UPDATE_FT_IES = 96,
1: + NL80211_CMD_FT_EVENT = 97,
1: + NL80211_CMD_CRIT_PROTOCOL_START = 98,
1: + NL80211_CMD_CRIT_PROTOCOL_STOP = 99,
1: + NL80211_CMD_GET_COALESCE = 100,
1: + NL80211_CMD_SET_COALESCE = 101,
1: + NL80211_CMD_CHANNEL_SWITCH = 102,
1: + NL80211_CMD_VENDOR = 103,
1: + NL80211_CMD_SET_QOS_MAP = 104,
1: + NL80211_CMD_ADD_TX_TS = 105,
1: + NL80211_CMD_DEL_TX_TS = 106,
1: + NL80211_CMD_GET_MPP = 107,
1: + NL80211_CMD_JOIN_OCB = 108,
1: + NL80211_CMD_LEAVE_OCB = 109,
1: + NL80211_CMD_CH_SWITCH_STARTED_NOTIFY = 110,
1: + NL80211_CMD_TDLS_CHANNEL_SWITCH = 111,
1: + NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH = 112,
1: + NL80211_CMD_WIPHY_REG_CHANGE = 113,
1: + NL80211_CMD_ABORT_SCAN = 114,
1: + NL80211_CMD_START_NAN = 115,
1: + NL80211_CMD_STOP_NAN = 116,
1: + NL80211_CMD_ADD_NAN_FUNCTION = 117,
1: + NL80211_CMD_DEL_NAN_FUNCTION = 118,
1: + NL80211_CMD_CHANGE_NAN_CONFIG = 119,
1: + NL80211_CMD_NAN_MATCH = 120,
1: + NL80211_CMD_SET_MULTICAST_TO_UNICAST = 121,
1: + NL80211_CMD_UPDATE_CONNECT_PARAMS = 122,
1: + NL80211_CMD_SET_PMK = 123,
1: + NL80211_CMD_DEL_PMK = 124,
1: + NL80211_CMD_PORT_AUTHORIZED = 125,
1: + NL80211_CMD_RELOAD_REGDB = 126,
1: + NL80211_CMD_EXTERNAL_AUTH = 127,
1: + NL80211_CMD_STA_OPMODE_CHANGED = 128,
1: + NL80211_CMD_CONTROL_PORT_FRAME = 129,
1: + NL80211_CMD_GET_FTM_RESPONDER_STATS = 130,
1: + NL80211_CMD_PEER_MEASUREMENT_START = 131,
1: + NL80211_CMD_PEER_MEASUREMENT_RESULT = 132,
1: + NL80211_CMD_PEER_MEASUREMENT_COMPLETE = 133,
1: + NL80211_CMD_NOTIFY_RADAR = 134,
1: + NL80211_CMD_UPDATE_OWE_INFO = 135,
1: + NL80211_CMD_PROBE_MESH_LINK = 136,
1: + __NL80211_CMD_AFTER_LAST = 137,
1: + NL80211_CMD_MAX = 136,
1: };
1:
1: enum nl80211_attrs {
1: - NL80211_ATTR_UNSPEC = 0,
1: - NL80211_ATTR_WIPHY = 1,
1: - NL80211_ATTR_WIPHY_NAME = 2,
1: - NL80211_ATTR_IFINDEX = 3,
1: - NL80211_ATTR_IFNAME = 4,
1: - NL80211_ATTR_IFTYPE = 5,
1: - NL80211_ATTR_MAC = 6,
1: - NL80211_ATTR_KEY_DATA = 7,
1: - NL80211_ATTR_KEY_IDX = 8,
1: - NL80211_ATTR_KEY_CIPHER = 9,
1: - NL80211_ATTR_KEY_SEQ = 10,
1: - NL80211_ATTR_KEY_DEFAULT = 11,
1: - NL80211_ATTR_BEACON_INTERVAL = 12,
1: - NL80211_ATTR_DTIM_PERIOD = 13,
1: - NL80211_ATTR_BEACON_HEAD = 14,
1: - NL80211_ATTR_BEACON_TAIL = 15,
1: - NL80211_ATTR_STA_AID = 16,
1: - NL80211_ATTR_STA_FLAGS = 17,
1: - NL80211_ATTR_STA_LISTEN_INTERVAL = 18,
1: - NL80211_ATTR_STA_SUPPORTED_RATES = 19,
1: - NL80211_ATTR_STA_VLAN = 20,
1: - NL80211_ATTR_STA_INFO = 21,
1: - NL80211_ATTR_WIPHY_BANDS = 22,
1: - NL80211_ATTR_MNTR_FLAGS = 23,
1: - NL80211_ATTR_MESH_ID = 24,
1: - NL80211_ATTR_STA_PLINK_ACTION = 25,
1: - NL80211_ATTR_MPATH_NEXT_HOP = 26,
1: - NL80211_ATTR_MPATH_INFO = 27,
1: - NL80211_ATTR_BSS_CTS_PROT = 28,
1: - NL80211_ATTR_BSS_SHORT_PREAMBLE = 29,
1: - NL80211_ATTR_BSS_SHORT_SLOT_TIME = 30,
1: - NL80211_ATTR_HT_CAPABILITY = 31,
1: - NL80211_ATTR_SUPPORTED_IFTYPES = 32,
1: - NL80211_ATTR_REG_ALPHA2 = 33,
1: - NL80211_ATTR_REG_RULES = 34,
1: - NL80211_ATTR_MESH_CONFIG = 35,
1: - NL80211_ATTR_BSS_BASIC_RATES = 36,
1: - NL80211_ATTR_WIPHY_TXQ_PARAMS = 37,
1: - NL80211_ATTR_WIPHY_FREQ = 38,
1: - NL80211_ATTR_WIPHY_CHANNEL_TYPE = 39,
1: - NL80211_ATTR_KEY_DEFAULT_MGMT = 40,
1: - NL80211_ATTR_MGMT_SUBTYPE = 41,
1: - NL80211_ATTR_IE = 42,
1: - NL80211_ATTR_MAX_NUM_SCAN_SSIDS = 43,
1: - NL80211_ATTR_SCAN_FREQUENCIES = 44,
1: - NL80211_ATTR_SCAN_SSIDS = 45,
1: - NL80211_ATTR_GENERATION = 46,
1: - NL80211_ATTR_BSS = 47,
1: - NL80211_ATTR_REG_INITIATOR = 48,
1: - NL80211_ATTR_REG_TYPE = 49,
1: - NL80211_ATTR_SUPPORTED_COMMANDS = 50,
1: - NL80211_ATTR_FRAME = 51,
1: - NL80211_ATTR_SSID = 52,
1: - NL80211_ATTR_AUTH_TYPE = 53,
1: - NL80211_ATTR_REASON_CODE = 54,
1: - NL80211_ATTR_KEY_TYPE = 55,
1: - NL80211_ATTR_MAX_SCAN_IE_LEN = 56,
1: - NL80211_ATTR_CIPHER_SUITES = 57,
1: - NL80211_ATTR_FREQ_BEFORE = 58,
1: - NL80211_ATTR_FREQ_AFTER = 59,
1: - NL80211_ATTR_FREQ_FIXED = 60,
1: - NL80211_ATTR_WIPHY_RETRY_SHORT = 61,
1: - NL80211_ATTR_WIPHY_RETRY_LONG = 62,
1: - NL80211_ATTR_WIPHY_FRAG_THRESHOLD = 63,
1: - NL80211_ATTR_WIPHY_RTS_THRESHOLD = 64,
1: - NL80211_ATTR_TIMED_OUT = 65,
1: - NL80211_ATTR_USE_MFP = 66,
1: - NL80211_ATTR_STA_FLAGS2 = 67,
1: - NL80211_ATTR_CONTROL_PORT = 68,
1: - NL80211_ATTR_TESTDATA = 69,
1: - NL80211_ATTR_PRIVACY = 70,
1: - NL80211_ATTR_DISCONNECTED_BY_AP = 71,
1: - NL80211_ATTR_STATUS_CODE = 72,
1: - NL80211_ATTR_CIPHER_SUITES_PAIRWISE = 73,
1: - NL80211_ATTR_CIPHER_SUITE_GROUP = 74,
1: - NL80211_ATTR_WPA_VERSIONS = 75,
1: - NL80211_ATTR_AKM_SUITES = 76,
1: - NL80211_ATTR_REQ_IE = 77,
1: - NL80211_ATTR_RESP_IE = 78,
1: - NL80211_ATTR_PREV_BSSID = 79,
1: - NL80211_ATTR_KEY = 80,
1: - NL80211_ATTR_KEYS = 81,
1: - NL80211_ATTR_PID = 82,
1: - NL80211_ATTR_4ADDR = 83,
1: - NL80211_ATTR_SURVEY_INFO = 84,
1: - NL80211_ATTR_PMKID = 85,
1: - NL80211_ATTR_MAX_NUM_PMKIDS = 86,
1: - NL80211_ATTR_DURATION = 87,
1: - NL80211_ATTR_COOKIE = 88,
1: - NL80211_ATTR_WIPHY_COVERAGE_CLASS = 89,
1: - NL80211_ATTR_TX_RATES = 90,
1: - NL80211_ATTR_FRAME_MATCH = 91,
1: - NL80211_ATTR_ACK = 92,
1: - NL80211_ATTR_PS_STATE = 93,
1: - NL80211_ATTR_CQM = 94,
1: - NL80211_ATTR_LOCAL_STATE_CHANGE = 95,
1: - NL80211_ATTR_AP_ISOLATE = 96,
1: - NL80211_ATTR_WIPHY_TX_POWER_SETTING = 97,
1: - NL80211_ATTR_WIPHY_TX_POWER_LEVEL = 98,
1: - NL80211_ATTR_TX_FRAME_TYPES = 99,
1: - NL80211_ATTR_RX_FRAME_TYPES = 100,
1: - NL80211_ATTR_FRAME_TYPE = 101,
1: - NL80211_ATTR_CONTROL_PORT_ETHERTYPE = 102,
1: - NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT = 103,
1: - NL80211_ATTR_SUPPORT_IBSS_RSN = 104,
1: - NL80211_ATTR_WIPHY_ANTENNA_TX = 105,
1: - NL80211_ATTR_WIPHY_ANTENNA_RX = 106,
1: - NL80211_ATTR_MCAST_RATE = 107,
1: - NL80211_ATTR_OFFCHANNEL_TX_OK = 108,
1: - NL80211_ATTR_BSS_HT_OPMODE = 109,
1: - NL80211_ATTR_KEY_DEFAULT_TYPES = 110,
1: - NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION = 111,
1: - NL80211_ATTR_MESH_SETUP = 112,
1: - NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX = 113,
1: - NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX = 114,
1: - NL80211_ATTR_SUPPORT_MESH_AUTH = 115,
1: - NL80211_ATTR_STA_PLINK_STATE = 116,
1: - NL80211_ATTR_WOWLAN_TRIGGERS = 117,
1: - NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED = 118,
1: - NL80211_ATTR_SCHED_SCAN_INTERVAL = 119,
1: - NL80211_ATTR_INTERFACE_COMBINATIONS = 120,
1: - NL80211_ATTR_SOFTWARE_IFTYPES = 121,
1: - NL80211_ATTR_REKEY_DATA = 122,
1: - NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS = 123,
1: - NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN = 124,
1: - NL80211_ATTR_SCAN_SUPP_RATES = 125,
1: - NL80211_ATTR_HIDDEN_SSID = 126,
1: - NL80211_ATTR_IE_PROBE_RESP = 127,
1: - NL80211_ATTR_IE_ASSOC_RESP = 128,
1: - NL80211_ATTR_STA_WME = 129,
1: - NL80211_ATTR_SUPPORT_AP_UAPSD = 130,
1: - NL80211_ATTR_ROAM_SUPPORT = 131,
1: - NL80211_ATTR_SCHED_SCAN_MATCH = 132,
1: - NL80211_ATTR_MAX_MATCH_SETS = 133,
1: - NL80211_ATTR_PMKSA_CANDIDATE = 134,
1: - NL80211_ATTR_TX_NO_CCK_RATE = 135,
1: - NL80211_ATTR_TDLS_ACTION = 136,
1: - NL80211_ATTR_TDLS_DIALOG_TOKEN = 137,
1: - NL80211_ATTR_TDLS_OPERATION = 138,
1: - NL80211_ATTR_TDLS_SUPPORT = 139,
1: - NL80211_ATTR_TDLS_EXTERNAL_SETUP = 140,
1: - NL80211_ATTR_DEVICE_AP_SME = 141,
1: - NL80211_ATTR_DONT_WAIT_FOR_ACK = 142,
1: - NL80211_ATTR_FEATURE_FLAGS = 143,
1: - NL80211_ATTR_PROBE_RESP_OFFLOAD = 144,
1: - NL80211_ATTR_PROBE_RESP = 145,
1: - NL80211_ATTR_DFS_REGION = 146,
1: - NL80211_ATTR_DISABLE_HT = 147,
1: - NL80211_ATTR_HT_CAPABILITY_MASK = 148,
1: - NL80211_ATTR_NOACK_MAP = 149,
1: - NL80211_ATTR_INACTIVITY_TIMEOUT = 150,
1: - NL80211_ATTR_RX_SIGNAL_DBM = 151,
1: - NL80211_ATTR_BG_SCAN_PERIOD = 152,
1: - NL80211_ATTR_WDEV = 153,
1: - NL80211_ATTR_USER_REG_HINT_TYPE = 154,
1: - NL80211_ATTR_CONN_FAILED_REASON = 155,
1: - NL80211_ATTR_AUTH_DATA = 156,
1: - NL80211_ATTR_VHT_CAPABILITY = 157,
1: - NL80211_ATTR_SCAN_FLAGS = 158,
1: - NL80211_ATTR_CHANNEL_WIDTH = 159,
1: - NL80211_ATTR_CENTER_FREQ1 = 160,
1: - NL80211_ATTR_CENTER_FREQ2 = 161,
1: - NL80211_ATTR_P2P_CTWINDOW = 162,
1: - NL80211_ATTR_P2P_OPPPS = 163,
1: - NL80211_ATTR_LOCAL_MESH_POWER_MODE = 164,
1: - NL80211_ATTR_ACL_POLICY = 165,
1: - NL80211_ATTR_MAC_ADDRS = 166,
1: - NL80211_ATTR_MAC_ACL_MAX = 167,
1: - NL80211_ATTR_RADAR_EVENT = 168,
1: - NL80211_ATTR_EXT_CAPA = 169,
1: - NL80211_ATTR_EXT_CAPA_MASK = 170,
1: - NL80211_ATTR_STA_CAPABILITY = 171,
1: - NL80211_ATTR_STA_EXT_CAPABILITY = 172,
1: - NL80211_ATTR_PROTOCOL_FEATURES = 173,
1: - NL80211_ATTR_SPLIT_WIPHY_DUMP = 174,
1: - NL80211_ATTR_DISABLE_VHT = 175,
1: - NL80211_ATTR_VHT_CAPABILITY_MASK = 176,
1: - NL80211_ATTR_MDID = 177,
1: - NL80211_ATTR_IE_RIC = 178,
1: - NL80211_ATTR_CRIT_PROT_ID = 179,
1: - NL80211_ATTR_MAX_CRIT_PROT_DURATION = 180,
1: - NL80211_ATTR_PEER_AID = 181,
1: - NL80211_ATTR_COALESCE_RULE = 182,
1: - NL80211_ATTR_CH_SWITCH_COUNT = 183,
1: - NL80211_ATTR_CH_SWITCH_BLOCK_TX = 184,
1: - NL80211_ATTR_CSA_IES = 185,
1: - NL80211_ATTR_CSA_C_OFF_BEACON = 186,
1: - NL80211_ATTR_CSA_C_OFF_PRESP = 187,
1: - NL80211_ATTR_RXMGMT_FLAGS = 188,
1: - NL80211_ATTR_STA_SUPPORTED_CHANNELS = 189,
1: - NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES = 190,
1: - NL80211_ATTR_HANDLE_DFS = 191,
1: - NL80211_ATTR_SUPPORT_5_MHZ = 192,
1: - NL80211_ATTR_SUPPORT_10_MHZ = 193,
1: - NL80211_ATTR_OPMODE_NOTIF = 194,
1: - NL80211_ATTR_VENDOR_ID = 195,
1: - NL80211_ATTR_VENDOR_SUBCMD = 196,
1: - NL80211_ATTR_VENDOR_DATA = 197,
1: - NL80211_ATTR_VENDOR_EVENTS = 198,
1: - NL80211_ATTR_QOS_MAP = 199,
1: - NL80211_ATTR_MAC_HINT = 200,
1: - NL80211_ATTR_WIPHY_FREQ_HINT = 201,
1: - NL80211_ATTR_MAX_AP_ASSOC_STA = 202,
1: - NL80211_ATTR_TDLS_PEER_CAPABILITY = 203,
1: - NL80211_ATTR_SOCKET_OWNER = 204,
1: - NL80211_ATTR_CSA_C_OFFSETS_TX = 205,
1: - NL80211_ATTR_MAX_CSA_COUNTERS = 206,
1: - NL80211_ATTR_TDLS_INITIATOR = 207,
1: - NL80211_ATTR_USE_RRM = 208,
1: - NL80211_ATTR_WIPHY_DYN_ACK = 209,
1: - NL80211_ATTR_TSID = 210,
1: - NL80211_ATTR_USER_PRIO = 211,
1: - NL80211_ATTR_ADMITTED_TIME = 212,
1: - NL80211_ATTR_SMPS_MODE = 213,
1: - NL80211_ATTR_OPER_CLASS = 214,
1: - NL80211_ATTR_MAC_MASK = 215,
1: - NL80211_ATTR_WIPHY_SELF_MANAGED_REG = 216,
1: - NL80211_ATTR_EXT_FEATURES = 217,
1: - NL80211_ATTR_SURVEY_RADIO_STATS = 218,
1: - NL80211_ATTR_NETNS_FD = 219,
1: - NL80211_ATTR_SCHED_SCAN_DELAY = 220,
1: - NL80211_ATTR_REG_INDOOR = 221,
1: - NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS = 222,
1: - NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL = 223,
1: - NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS = 224,
1: - NL80211_ATTR_SCHED_SCAN_PLANS = 225,
1: - NL80211_ATTR_PBSS = 226,
1: - NL80211_ATTR_BSS_SELECT = 227,
1: - NL80211_ATTR_STA_SUPPORT_P2P_PS = 228,
1: - NL80211_ATTR_PAD = 229,
1: - NL80211_ATTR_IFTYPE_EXT_CAPA = 230,
1: - NL80211_ATTR_MU_MIMO_GROUP_DATA = 231,
1: - NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR = 232,
1: - NL80211_ATTR_SCAN_START_TIME_TSF = 233,
1: - NL80211_ATTR_SCAN_START_TIME_TSF_BSSID = 234,
1: - NL80211_ATTR_MEASUREMENT_DURATION = 235,
1: - NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY = 236,
1: - NL80211_ATTR_MESH_PEER_AID = 237,
1: - NL80211_ATTR_NAN_MASTER_PREF = 238,
1: - NL80211_ATTR_BANDS = 239,
1: - NL80211_ATTR_NAN_FUNC = 240,
1: - NL80211_ATTR_NAN_MATCH = 241,
1: - NL80211_ATTR_FILS_KEK = 242,
1: - NL80211_ATTR_FILS_NONCES = 243,
1: - NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED = 244,
1: - NL80211_ATTR_BSSID = 245,
1: - NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI = 246,
1: - NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST = 247,
1: - NL80211_ATTR_TIMEOUT_REASON = 248,
1: - NL80211_ATTR_FILS_ERP_USERNAME = 249,
1: - NL80211_ATTR_FILS_ERP_REALM = 250,
1: - NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM = 251,
1: - NL80211_ATTR_FILS_ERP_RRK = 252,
1: - NL80211_ATTR_FILS_CACHE_ID = 253,
1: - NL80211_ATTR_PMK = 254,
1: - NL80211_ATTR_SCHED_SCAN_MULTI = 255,
1: - NL80211_ATTR_SCHED_SCAN_MAX_REQS = 256,
1: - NL80211_ATTR_WANT_1X_4WAY_HS = 257,
1: - NL80211_ATTR_PMKR0_NAME = 258,
1: - NL80211_ATTR_PORT_AUTHORIZED = 259,
1: - NL80211_ATTR_EXTERNAL_AUTH_ACTION = 260,
1: - NL80211_ATTR_EXTERNAL_AUTH_SUPPORT = 261,
1: - NL80211_ATTR_NSS = 262,
1: - NL80211_ATTR_ACK_SIGNAL = 263,
1: - NL80211_ATTR_CONTROL_PORT_OVER_NL80211 = 264,
1: - NL80211_ATTR_TXQ_STATS = 265,
1: - NL80211_ATTR_TXQ_LIMIT = 266,
1: - NL80211_ATTR_TXQ_MEMORY_LIMIT = 267,
1: - NL80211_ATTR_TXQ_QUANTUM = 268,
1: - NL80211_ATTR_HE_CAPABILITY = 269,
1: - NL80211_ATTR_FTM_RESPONDER = 270,
1: - NL80211_ATTR_FTM_RESPONDER_STATS = 271,
1: - NL80211_ATTR_TIMEOUT = 272,
1: - NL80211_ATTR_PEER_MEASUREMENTS = 273,
1: - NL80211_ATTR_AIRTIME_WEIGHT = 274,
1: - NL80211_ATTR_STA_TX_POWER_SETTING = 275,
1: - NL80211_ATTR_STA_TX_POWER = 276,
1: - NL80211_ATTR_SAE_PASSWORD = 277,
1: - NL80211_ATTR_TWT_RESPONDER = 278,
1: - NL80211_ATTR_HE_OBSS_PD = 279,
1: - NL80211_ATTR_WIPHY_EDMG_CHANNELS = 280,
1: - NL80211_ATTR_WIPHY_EDMG_BW_CONFIG = 281,
1: - NL80211_ATTR_VLAN_ID = 282,
1: - __NL80211_ATTR_AFTER_LAST = 283,
1: - NUM_NL80211_ATTR = 283,
1: - NL80211_ATTR_MAX = 282,
1: + NL80211_ATTR_UNSPEC = 0,
1: + NL80211_ATTR_WIPHY = 1,
1: + NL80211_ATTR_WIPHY_NAME = 2,
1: + NL80211_ATTR_IFINDEX = 3,
1: + NL80211_ATTR_IFNAME = 4,
1: + NL80211_ATTR_IFTYPE = 5,
1: + NL80211_ATTR_MAC = 6,
1: + NL80211_ATTR_KEY_DATA = 7,
1: + NL80211_ATTR_KEY_IDX = 8,
1: + NL80211_ATTR_KEY_CIPHER = 9,
1: + NL80211_ATTR_KEY_SEQ = 10,
1: + NL80211_ATTR_KEY_DEFAULT = 11,
1: + NL80211_ATTR_BEACON_INTERVAL = 12,
1: + NL80211_ATTR_DTIM_PERIOD = 13,
1: + NL80211_ATTR_BEACON_HEAD = 14,
1: + NL80211_ATTR_BEACON_TAIL = 15,
1: + NL80211_ATTR_STA_AID = 16,
1: + NL80211_ATTR_STA_FLAGS = 17,
1: + NL80211_ATTR_STA_LISTEN_INTERVAL = 18,
1: + NL80211_ATTR_STA_SUPPORTED_RATES = 19,
1: + NL80211_ATTR_STA_VLAN = 20,
1: + NL80211_ATTR_STA_INFO = 21,
1: + NL80211_ATTR_WIPHY_BANDS = 22,
1: + NL80211_ATTR_MNTR_FLAGS = 23,
1: + NL80211_ATTR_MESH_ID = 24,
1: + NL80211_ATTR_STA_PLINK_ACTION = 25,
1: + NL80211_ATTR_MPATH_NEXT_HOP = 26,
1: + NL80211_ATTR_MPATH_INFO = 27,
1: + NL80211_ATTR_BSS_CTS_PROT = 28,
1: + NL80211_ATTR_BSS_SHORT_PREAMBLE = 29,
1: + NL80211_ATTR_BSS_SHORT_SLOT_TIME = 30,
1: + NL80211_ATTR_HT_CAPABILITY = 31,
1: + NL80211_ATTR_SUPPORTED_IFTYPES = 32,
1: + NL80211_ATTR_REG_ALPHA2 = 33,
1: + NL80211_ATTR_REG_RULES = 34,
1: + NL80211_ATTR_MESH_CONFIG = 35,
1: + NL80211_ATTR_BSS_BASIC_RATES = 36,
1: + NL80211_ATTR_WIPHY_TXQ_PARAMS = 37,
1: + NL80211_ATTR_WIPHY_FREQ = 38,
1: + NL80211_ATTR_WIPHY_CHANNEL_TYPE = 39,
1: + NL80211_ATTR_KEY_DEFAULT_MGMT = 40,
1: + NL80211_ATTR_MGMT_SUBTYPE = 41,
1: + NL80211_ATTR_IE = 42,
1: + NL80211_ATTR_MAX_NUM_SCAN_SSIDS = 43,
1: + NL80211_ATTR_SCAN_FREQUENCIES = 44,
1: + NL80211_ATTR_SCAN_SSIDS = 45,
1: + NL80211_ATTR_GENERATION = 46,
1: + NL80211_ATTR_BSS = 47,
1: + NL80211_ATTR_REG_INITIATOR = 48,
1: + NL80211_ATTR_REG_TYPE = 49,
1: + NL80211_ATTR_SUPPORTED_COMMANDS = 50,
1: + NL80211_ATTR_FRAME = 51,
1: + NL80211_ATTR_SSID = 52,
1: + NL80211_ATTR_AUTH_TYPE = 53,
1: + NL80211_ATTR_REASON_CODE = 54,
1: + NL80211_ATTR_KEY_TYPE = 55,
1: + NL80211_ATTR_MAX_SCAN_IE_LEN = 56,
1: + NL80211_ATTR_CIPHER_SUITES = 57,
1: + NL80211_ATTR_FREQ_BEFORE = 58,
1: + NL80211_ATTR_FREQ_AFTER = 59,
1: + NL80211_ATTR_FREQ_FIXED = 60,
1: + NL80211_ATTR_WIPHY_RETRY_SHORT = 61,
1: + NL80211_ATTR_WIPHY_RETRY_LONG = 62,
1: + NL80211_ATTR_WIPHY_FRAG_THRESHOLD = 63,
1: + NL80211_ATTR_WIPHY_RTS_THRESHOLD = 64,
1: + NL80211_ATTR_TIMED_OUT = 65,
1: + NL80211_ATTR_USE_MFP = 66,
1: + NL80211_ATTR_STA_FLAGS2 = 67,
1: + NL80211_ATTR_CONTROL_PORT = 68,
1: + NL80211_ATTR_TESTDATA = 69,
1: + NL80211_ATTR_PRIVACY = 70,
1: + NL80211_ATTR_DISCONNECTED_BY_AP = 71,
1: + NL80211_ATTR_STATUS_CODE = 72,
1: + NL80211_ATTR_CIPHER_SUITES_PAIRWISE = 73,
1: + NL80211_ATTR_CIPHER_SUITE_GROUP = 74,
1: + NL80211_ATTR_WPA_VERSIONS = 75,
1: + NL80211_ATTR_AKM_SUITES = 76,
1: + NL80211_ATTR_REQ_IE = 77,
1: + NL80211_ATTR_RESP_IE = 78,
1: + NL80211_ATTR_PREV_BSSID = 79,
1: + NL80211_ATTR_KEY = 80,
1: + NL80211_ATTR_KEYS = 81,
1: + NL80211_ATTR_PID = 82,
1: + NL80211_ATTR_4ADDR = 83,
1: + NL80211_ATTR_SURVEY_INFO = 84,
1: + NL80211_ATTR_PMKID = 85,
1: + NL80211_ATTR_MAX_NUM_PMKIDS = 86,
1: + NL80211_ATTR_DURATION = 87,
1: + NL80211_ATTR_COOKIE = 88,
1: + NL80211_ATTR_WIPHY_COVERAGE_CLASS = 89,
1: + NL80211_ATTR_TX_RATES = 90,
1: + NL80211_ATTR_FRAME_MATCH = 91,
1: + NL80211_ATTR_ACK = 92,
1: + NL80211_ATTR_PS_STATE = 93,
1: + NL80211_ATTR_CQM = 94,
1: + NL80211_ATTR_LOCAL_STATE_CHANGE = 95,
1: + NL80211_ATTR_AP_ISOLATE = 96,
1: + NL80211_ATTR_WIPHY_TX_POWER_SETTING = 97,
1: + NL80211_ATTR_WIPHY_TX_POWER_LEVEL = 98,
1: + NL80211_ATTR_TX_FRAME_TYPES = 99,
1: + NL80211_ATTR_RX_FRAME_TYPES = 100,
1: + NL80211_ATTR_FRAME_TYPE = 101,
1: + NL80211_ATTR_CONTROL_PORT_ETHERTYPE = 102,
1: + NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT = 103,
1: + NL80211_ATTR_SUPPORT_IBSS_RSN = 104,
1: + NL80211_ATTR_WIPHY_ANTENNA_TX = 105,
1: + NL80211_ATTR_WIPHY_ANTENNA_RX = 106,
1: + NL80211_ATTR_MCAST_RATE = 107,
1: + NL80211_ATTR_OFFCHANNEL_TX_OK = 108,
1: + NL80211_ATTR_BSS_HT_OPMODE = 109,
1: + NL80211_ATTR_KEY_DEFAULT_TYPES = 110,
1: + NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION = 111,
1: + NL80211_ATTR_MESH_SETUP = 112,
1: + NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX = 113,
1: + NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX = 114,
1: + NL80211_ATTR_SUPPORT_MESH_AUTH = 115,
1: + NL80211_ATTR_STA_PLINK_STATE = 116,
1: + NL80211_ATTR_WOWLAN_TRIGGERS = 117,
1: + NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED = 118,
1: + NL80211_ATTR_SCHED_SCAN_INTERVAL = 119,
1: + NL80211_ATTR_INTERFACE_COMBINATIONS = 120,
1: + NL80211_ATTR_SOFTWARE_IFTYPES = 121,
1: + NL80211_ATTR_REKEY_DATA = 122,
1: + NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS = 123,
1: + NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN = 124,
1: + NL80211_ATTR_SCAN_SUPP_RATES = 125,
1: + NL80211_ATTR_HIDDEN_SSID = 126,
1: + NL80211_ATTR_IE_PROBE_RESP = 127,
1: + NL80211_ATTR_IE_ASSOC_RESP = 128,
1: + NL80211_ATTR_STA_WME = 129,
1: + NL80211_ATTR_SUPPORT_AP_UAPSD = 130,
1: + NL80211_ATTR_ROAM_SUPPORT = 131,
1: + NL80211_ATTR_SCHED_SCAN_MATCH = 132,
1: + NL80211_ATTR_MAX_MATCH_SETS = 133,
1: + NL80211_ATTR_PMKSA_CANDIDATE = 134,
1: + NL80211_ATTR_TX_NO_CCK_RATE = 135,
1: + NL80211_ATTR_TDLS_ACTION = 136,
1: + NL80211_ATTR_TDLS_DIALOG_TOKEN = 137,
1: + NL80211_ATTR_TDLS_OPERATION = 138,
1: + NL80211_ATTR_TDLS_SUPPORT = 139,
1: + NL80211_ATTR_TDLS_EXTERNAL_SETUP = 140,
1: + NL80211_ATTR_DEVICE_AP_SME = 141,
1: + NL80211_ATTR_DONT_WAIT_FOR_ACK = 142,
1: + NL80211_ATTR_FEATURE_FLAGS = 143,
1: + NL80211_ATTR_PROBE_RESP_OFFLOAD = 144,
1: + NL80211_ATTR_PROBE_RESP = 145,
1: + NL80211_ATTR_DFS_REGION = 146,
1: + NL80211_ATTR_DISABLE_HT = 147,
1: + NL80211_ATTR_HT_CAPABILITY_MASK = 148,
1: + NL80211_ATTR_NOACK_MAP = 149,
1: + NL80211_ATTR_INACTIVITY_TIMEOUT = 150,
1: + NL80211_ATTR_RX_SIGNAL_DBM = 151,
1: + NL80211_ATTR_BG_SCAN_PERIOD = 152,
1: + NL80211_ATTR_WDEV = 153,
1: + NL80211_ATTR_USER_REG_HINT_TYPE = 154,
1: + NL80211_ATTR_CONN_FAILED_REASON = 155,
1: + NL80211_ATTR_AUTH_DATA = 156,
1: + NL80211_ATTR_VHT_CAPABILITY = 157,
1: + NL80211_ATTR_SCAN_FLAGS = 158,
1: + NL80211_ATTR_CHANNEL_WIDTH = 159,
1: + NL80211_ATTR_CENTER_FREQ1 = 160,
1: + NL80211_ATTR_CENTER_FREQ2 = 161,
1: + NL80211_ATTR_P2P_CTWINDOW = 162,
1: + NL80211_ATTR_P2P_OPPPS = 163,
1: + NL80211_ATTR_LOCAL_MESH_POWER_MODE = 164,
1: + NL80211_ATTR_ACL_POLICY = 165,
1: + NL80211_ATTR_MAC_ADDRS = 166,
1: + NL80211_ATTR_MAC_ACL_MAX = 167,
1: + NL80211_ATTR_RADAR_EVENT = 168,
1: + NL80211_ATTR_EXT_CAPA = 169,
1: + NL80211_ATTR_EXT_CAPA_MASK = 170,
1: + NL80211_ATTR_STA_CAPABILITY = 171,
1: + NL80211_ATTR_STA_EXT_CAPABILITY = 172,
1: + NL80211_ATTR_PROTOCOL_FEATURES = 173,
1: + NL80211_ATTR_SPLIT_WIPHY_DUMP = 174,
1: + NL80211_ATTR_DISABLE_VHT = 175,
1: + NL80211_ATTR_VHT_CAPABILITY_MASK = 176,
1: + NL80211_ATTR_MDID = 177,
1: + NL80211_ATTR_IE_RIC = 178,
1: + NL80211_ATTR_CRIT_PROT_ID = 179,
1: + NL80211_ATTR_MAX_CRIT_PROT_DURATION = 180,
1: + NL80211_ATTR_PEER_AID = 181,
1: + NL80211_ATTR_COALESCE_RULE = 182,
1: + NL80211_ATTR_CH_SWITCH_COUNT = 183,
1: + NL80211_ATTR_CH_SWITCH_BLOCK_TX = 184,
1: + NL80211_ATTR_CSA_IES = 185,
1: + NL80211_ATTR_CSA_C_OFF_BEACON = 186,
1: + NL80211_ATTR_CSA_C_OFF_PRESP = 187,
1: + NL80211_ATTR_RXMGMT_FLAGS = 188,
1: + NL80211_ATTR_STA_SUPPORTED_CHANNELS = 189,
1: + NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES = 190,
1: + NL80211_ATTR_HANDLE_DFS = 191,
1: + NL80211_ATTR_SUPPORT_5_MHZ = 192,
1: + NL80211_ATTR_SUPPORT_10_MHZ = 193,
1: + NL80211_ATTR_OPMODE_NOTIF = 194,
1: + NL80211_ATTR_VENDOR_ID = 195,
1: + NL80211_ATTR_VENDOR_SUBCMD = 196,
1: + NL80211_ATTR_VENDOR_DATA = 197,
1: + NL80211_ATTR_VENDOR_EVENTS = 198,
1: + NL80211_ATTR_QOS_MAP = 199,
1: + NL80211_ATTR_MAC_HINT = 200,
1: + NL80211_ATTR_WIPHY_FREQ_HINT = 201,
1: + NL80211_ATTR_MAX_AP_ASSOC_STA = 202,
1: + NL80211_ATTR_TDLS_PEER_CAPABILITY = 203,
1: + NL80211_ATTR_SOCKET_OWNER = 204,
1: + NL80211_ATTR_CSA_C_OFFSETS_TX = 205,
1: + NL80211_ATTR_MAX_CSA_COUNTERS = 206,
1: + NL80211_ATTR_TDLS_INITIATOR = 207,
1: + NL80211_ATTR_USE_RRM = 208,
1: + NL80211_ATTR_WIPHY_DYN_ACK = 209,
1: + NL80211_ATTR_TSID = 210,
1: + NL80211_ATTR_USER_PRIO = 211,
1: + NL80211_ATTR_ADMITTED_TIME = 212,
1: + NL80211_ATTR_SMPS_MODE = 213,
1: + NL80211_ATTR_OPER_CLASS = 214,
1: + NL80211_ATTR_MAC_MASK = 215,
1: + NL80211_ATTR_WIPHY_SELF_MANAGED_REG = 216,
1: + NL80211_ATTR_EXT_FEATURES = 217,
1: + NL80211_ATTR_SURVEY_RADIO_STATS = 218,
1: + NL80211_ATTR_NETNS_FD = 219,
1: + NL80211_ATTR_SCHED_SCAN_DELAY = 220,
1: + NL80211_ATTR_REG_INDOOR = 221,
1: + NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS = 222,
1: + NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL = 223,
1: + NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS = 224,
1: + NL80211_ATTR_SCHED_SCAN_PLANS = 225,
1: + NL80211_ATTR_PBSS = 226,
1: + NL80211_ATTR_BSS_SELECT = 227,
1: + NL80211_ATTR_STA_SUPPORT_P2P_PS = 228,
1: + NL80211_ATTR_PAD = 229,
1: + NL80211_ATTR_IFTYPE_EXT_CAPA = 230,
1: + NL80211_ATTR_MU_MIMO_GROUP_DATA = 231,
1: + NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR = 232,
1: + NL80211_ATTR_SCAN_START_TIME_TSF = 233,
1: + NL80211_ATTR_SCAN_START_TIME_TSF_BSSID = 234,
1: + NL80211_ATTR_MEASUREMENT_DURATION = 235,
1: + NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY = 236,
1: + NL80211_ATTR_MESH_PEER_AID = 237,
1: + NL80211_ATTR_NAN_MASTER_PREF = 238,
1: + NL80211_ATTR_BANDS = 239,
1: + NL80211_ATTR_NAN_FUNC = 240,
1: + NL80211_ATTR_NAN_MATCH = 241,
1: + NL80211_ATTR_FILS_KEK = 242,
1: + NL80211_ATTR_FILS_NONCES = 243,
1: + NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED = 244,
1: + NL80211_ATTR_BSSID = 245,
1: + NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI = 246,
1: + NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST = 247,
1: + NL80211_ATTR_TIMEOUT_REASON = 248,
1: + NL80211_ATTR_FILS_ERP_USERNAME = 249,
1: + NL80211_ATTR_FILS_ERP_REALM = 250,
1: + NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM = 251,
1: + NL80211_ATTR_FILS_ERP_RRK = 252,
1: + NL80211_ATTR_FILS_CACHE_ID = 253,
1: + NL80211_ATTR_PMK = 254,
1: + NL80211_ATTR_SCHED_SCAN_MULTI = 255,
1: + NL80211_ATTR_SCHED_SCAN_MAX_REQS = 256,
1: + NL80211_ATTR_WANT_1X_4WAY_HS = 257,
1: + NL80211_ATTR_PMKR0_NAME = 258,
1: + NL80211_ATTR_PORT_AUTHORIZED = 259,
1: + NL80211_ATTR_EXTERNAL_AUTH_ACTION = 260,
1: + NL80211_ATTR_EXTERNAL_AUTH_SUPPORT = 261,
1: + NL80211_ATTR_NSS = 262,
1: + NL80211_ATTR_ACK_SIGNAL = 263,
1: + NL80211_ATTR_CONTROL_PORT_OVER_NL80211 = 264,
1: + NL80211_ATTR_TXQ_STATS = 265,
1: + NL80211_ATTR_TXQ_LIMIT = 266,
1: + NL80211_ATTR_TXQ_MEMORY_LIMIT = 267,
1: + NL80211_ATTR_TXQ_QUANTUM = 268,
1: + NL80211_ATTR_HE_CAPABILITY = 269,
1: + NL80211_ATTR_FTM_RESPONDER = 270,
1: + NL80211_ATTR_FTM_RESPONDER_STATS = 271,
1: + NL80211_ATTR_TIMEOUT = 272,
1: + NL80211_ATTR_PEER_MEASUREMENTS = 273,
1: + NL80211_ATTR_AIRTIME_WEIGHT = 274,
1: + NL80211_ATTR_STA_TX_POWER_SETTING = 275,
1: + NL80211_ATTR_STA_TX_POWER = 276,
1: + NL80211_ATTR_SAE_PASSWORD = 277,
1: + NL80211_ATTR_TWT_RESPONDER = 278,
1: + NL80211_ATTR_HE_OBSS_PD = 279,
1: + NL80211_ATTR_WIPHY_EDMG_CHANNELS = 280,
1: + NL80211_ATTR_WIPHY_EDMG_BW_CONFIG = 281,
1: + NL80211_ATTR_VLAN_ID = 282,
1: + __NL80211_ATTR_AFTER_LAST = 283,
1: + NUM_NL80211_ATTR = 283,
1: + NL80211_ATTR_MAX = 282,
1: };
1:
1: enum nl80211_iftype {
1: - NL80211_IFTYPE_UNSPECIFIED = 0,
1: - NL80211_IFTYPE_ADHOC = 1,
1: - NL80211_IFTYPE_STATION = 2,
1: - NL80211_IFTYPE_AP = 3,
1: - NL80211_IFTYPE_AP_VLAN = 4,
1: - NL80211_IFTYPE_WDS = 5,
1: - NL80211_IFTYPE_MONITOR = 6,
1: - NL80211_IFTYPE_MESH_POINT = 7,
1: - NL80211_IFTYPE_P2P_CLIENT = 8,
1: - NL80211_IFTYPE_P2P_GO = 9,
1: - NL80211_IFTYPE_P2P_DEVICE = 10,
1: - NL80211_IFTYPE_OCB = 11,
1: - NL80211_IFTYPE_NAN = 12,
1: - NUM_NL80211_IFTYPES = 13,
1: - NL80211_IFTYPE_MAX = 12,
1: + NL80211_IFTYPE_UNSPECIFIED = 0,
1: + NL80211_IFTYPE_ADHOC = 1,
1: + NL80211_IFTYPE_STATION = 2,
1: + NL80211_IFTYPE_AP = 3,
1: + NL80211_IFTYPE_AP_VLAN = 4,
1: + NL80211_IFTYPE_WDS = 5,
1: + NL80211_IFTYPE_MONITOR = 6,
1: + NL80211_IFTYPE_MESH_POINT = 7,
1: + NL80211_IFTYPE_P2P_CLIENT = 8,
1: + NL80211_IFTYPE_P2P_GO = 9,
1: + NL80211_IFTYPE_P2P_DEVICE = 10,
1: + NL80211_IFTYPE_OCB = 11,
1: + NL80211_IFTYPE_NAN = 12,
1: + NUM_NL80211_IFTYPES = 13,
1: + NL80211_IFTYPE_MAX = 12,
1: };
1:
1: struct nl80211_sta_flag_update {
1: - __u32 mask;
1: - __u32 set;
1: + __u32 mask;
1: + __u32 set;
1: };
1:
1: enum nl80211_reg_initiator {
1: - NL80211_REGDOM_SET_BY_CORE = 0,
1: - NL80211_REGDOM_SET_BY_USER = 1,
1: - NL80211_REGDOM_SET_BY_DRIVER = 2,
1: - NL80211_REGDOM_SET_BY_COUNTRY_IE = 3,
1: + NL80211_REGDOM_SET_BY_CORE = 0,
1: + NL80211_REGDOM_SET_BY_USER = 1,
1: + NL80211_REGDOM_SET_BY_DRIVER = 2,
1: + NL80211_REGDOM_SET_BY_COUNTRY_IE = 3,
1: };
1:
1: enum nl80211_dfs_regions {
1: - NL80211_DFS_UNSET = 0,
1: - NL80211_DFS_FCC = 1,
1: - NL80211_DFS_ETSI = 2,
1: - NL80211_DFS_JP = 3,
1: + NL80211_DFS_UNSET = 0,
1: + NL80211_DFS_FCC = 1,
1: + NL80211_DFS_ETSI = 2,
1: + NL80211_DFS_JP = 3,
1: };
1:
1: enum nl80211_user_reg_hint_type {
1: - NL80211_USER_REG_HINT_USER = 0,
1: - NL80211_USER_REG_HINT_CELL_BASE = 1,
1: - NL80211_USER_REG_HINT_INDOOR = 2,
1: + NL80211_USER_REG_HINT_USER = 0,
1: + NL80211_USER_REG_HINT_CELL_BASE = 1,
1: + NL80211_USER_REG_HINT_INDOOR = 2,
1: };
1:
1: enum nl80211_mntr_flags {
1: - __NL80211_MNTR_FLAG_INVALID = 0,
1: - NL80211_MNTR_FLAG_FCSFAIL = 1,
1: - NL80211_MNTR_FLAG_PLCPFAIL = 2,
1: - NL80211_MNTR_FLAG_CONTROL = 3,
1: - NL80211_MNTR_FLAG_OTHER_BSS = 4,
1: - NL80211_MNTR_FLAG_COOK_FRAMES = 5,
1: - NL80211_MNTR_FLAG_ACTIVE = 6,
1: - __NL80211_MNTR_FLAG_AFTER_LAST = 7,
1: - NL80211_MNTR_FLAG_MAX = 6,
1: + __NL80211_MNTR_FLAG_INVALID = 0,
1: + NL80211_MNTR_FLAG_FCSFAIL = 1,
1: + NL80211_MNTR_FLAG_PLCPFAIL = 2,
1: + NL80211_MNTR_FLAG_CONTROL = 3,
1: + NL80211_MNTR_FLAG_OTHER_BSS = 4,
1: + NL80211_MNTR_FLAG_COOK_FRAMES = 5,
1: + NL80211_MNTR_FLAG_ACTIVE = 6,
1: + __NL80211_MNTR_FLAG_AFTER_LAST = 7,
1: + NL80211_MNTR_FLAG_MAX = 6,
1: };
1:
1: enum nl80211_mesh_power_mode {
1: - NL80211_MESH_POWER_UNKNOWN = 0,
1: - NL80211_MESH_POWER_ACTIVE = 1,
1: - NL80211_MESH_POWER_LIGHT_SLEEP = 2,
1: - NL80211_MESH_POWER_DEEP_SLEEP = 3,
1: - __NL80211_MESH_POWER_AFTER_LAST = 4,
1: - NL80211_MESH_POWER_MAX = 3,
1: + NL80211_MESH_POWER_UNKNOWN = 0,
1: + NL80211_MESH_POWER_ACTIVE = 1,
1: + NL80211_MESH_POWER_LIGHT_SLEEP = 2,
1: + NL80211_MESH_POWER_DEEP_SLEEP = 3,
1: + __NL80211_MESH_POWER_AFTER_LAST = 4,
1: + NL80211_MESH_POWER_MAX = 3,
1: };
1:
1: enum nl80211_ac {
1: - NL80211_AC_VO = 0,
1: - NL80211_AC_VI = 1,
1: - NL80211_AC_BE = 2,
1: - NL80211_AC_BK = 3,
1: - NL80211_NUM_ACS = 4,
1: + NL80211_AC_VO = 0,
1: + NL80211_AC_VI = 1,
1: + NL80211_AC_BE = 2,
1: + NL80211_AC_BK = 3,
1: + NL80211_NUM_ACS = 4,
1: };
1:
1: enum nl80211_key_mode {
1: - NL80211_KEY_RX_TX = 0,
1: - NL80211_KEY_NO_TX = 1,
1: - NL80211_KEY_SET_TX = 2,
1: + NL80211_KEY_RX_TX = 0,
1: + NL80211_KEY_NO_TX = 1,
1: + NL80211_KEY_SET_TX = 2,
1: };
1:
1: enum nl80211_chan_width {
1: - NL80211_CHAN_WIDTH_20_NOHT = 0,
1: - NL80211_CHAN_WIDTH_20 = 1,
1: - NL80211_CHAN_WIDTH_40 = 2,
1: - NL80211_CHAN_WIDTH_80 = 3,
1: - NL80211_CHAN_WIDTH_80P80 = 4,
1: - NL80211_CHAN_WIDTH_160 = 5,
1: - NL80211_CHAN_WIDTH_5 = 6,
1: - NL80211_CHAN_WIDTH_10 = 7,
1: + NL80211_CHAN_WIDTH_20_NOHT = 0,
1: + NL80211_CHAN_WIDTH_20 = 1,
1: + NL80211_CHAN_WIDTH_40 = 2,
1: + NL80211_CHAN_WIDTH_80 = 3,
1: + NL80211_CHAN_WIDTH_80P80 = 4,
1: + NL80211_CHAN_WIDTH_160 = 5,
1: + NL80211_CHAN_WIDTH_5 = 6,
1: + NL80211_CHAN_WIDTH_10 = 7,
1: };
1:
1: enum nl80211_bss_scan_width {
1: - NL80211_BSS_CHAN_WIDTH_20 = 0,
1: - NL80211_BSS_CHAN_WIDTH_10 = 1,
1: - NL80211_BSS_CHAN_WIDTH_5 = 2,
1: + NL80211_BSS_CHAN_WIDTH_20 = 0,
1: + NL80211_BSS_CHAN_WIDTH_10 = 1,
1: + NL80211_BSS_CHAN_WIDTH_5 = 2,
1: };
1:
1: enum nl80211_auth_type {
1: - NL80211_AUTHTYPE_OPEN_SYSTEM = 0,
1: - NL80211_AUTHTYPE_SHARED_KEY = 1,
1: - NL80211_AUTHTYPE_FT = 2,
1: - NL80211_AUTHTYPE_NETWORK_EAP = 3,
1: - NL80211_AUTHTYPE_SAE = 4,
1: - NL80211_AUTHTYPE_FILS_SK = 5,
1: - NL80211_AUTHTYPE_FILS_SK_PFS = 6,
1: - NL80211_AUTHTYPE_FILS_PK = 7,
1: - __NL80211_AUTHTYPE_NUM = 8,
1: - NL80211_AUTHTYPE_MAX = 7,
1: - NL80211_AUTHTYPE_AUTOMATIC = 8,
1: + NL80211_AUTHTYPE_OPEN_SYSTEM = 0,
1: + NL80211_AUTHTYPE_SHARED_KEY = 1,
1: + NL80211_AUTHTYPE_FT = 2,
1: + NL80211_AUTHTYPE_NETWORK_EAP = 3,
1: + NL80211_AUTHTYPE_SAE = 4,
1: + NL80211_AUTHTYPE_FILS_SK = 5,
1: + NL80211_AUTHTYPE_FILS_SK_PFS = 6,
1: + NL80211_AUTHTYPE_FILS_PK = 7,
1: + __NL80211_AUTHTYPE_NUM = 8,
1: + NL80211_AUTHTYPE_MAX = 7,
1: + NL80211_AUTHTYPE_AUTOMATIC = 8,
1: };
1:
1: enum nl80211_mfp {
1: - NL80211_MFP_NO = 0,
1: - NL80211_MFP_REQUIRED = 1,
1: - NL80211_MFP_OPTIONAL = 2,
1: + NL80211_MFP_NO = 0,
1: + NL80211_MFP_REQUIRED = 1,
1: + NL80211_MFP_OPTIONAL = 2,
1: };
1:
1: enum nl80211_txrate_gi {
1: - NL80211_TXRATE_DEFAULT_GI = 0,
1: - NL80211_TXRATE_FORCE_SGI = 1,
1: - NL80211_TXRATE_FORCE_LGI = 2,
1: + NL80211_TXRATE_DEFAULT_GI = 0,
1: + NL80211_TXRATE_FORCE_SGI = 1,
1: + NL80211_TXRATE_FORCE_LGI = 2,
1: };
1:
1: enum nl80211_band {
1: - NL80211_BAND_2GHZ = 0,
1: - NL80211_BAND_5GHZ = 1,
1: - NL80211_BAND_60GHZ = 2,
1: - NL80211_BAND_6GHZ = 3,
1: - NUM_NL80211_BANDS = 4,
1: + NL80211_BAND_2GHZ = 0,
1: + NL80211_BAND_5GHZ = 1,
1: + NL80211_BAND_60GHZ = 2,
1: + NL80211_BAND_6GHZ = 3,
1: + NUM_NL80211_BANDS = 4,
1: };
1:
1: enum nl80211_tx_power_setting {
1: - NL80211_TX_POWER_AUTOMATIC = 0,
1: - NL80211_TX_POWER_LIMITED = 1,
1: - NL80211_TX_POWER_FIXED = 2,
1: + NL80211_TX_POWER_AUTOMATIC = 0,
1: + NL80211_TX_POWER_LIMITED = 1,
1: + NL80211_TX_POWER_FIXED = 2,
1: };
1:
1: struct nl80211_wowlan_tcp_data_seq {
1: - __u32 start;
1: - __u32 offset;
1: - __u32 len;
1: + __u32 start;
1: + __u32 offset;
1: + __u32 len;
1: };
1:
1: struct nl80211_wowlan_tcp_data_token {
1: - __u32 offset;
1: - __u32 len;
1: - __u8 token_stream[0];
1: + __u32 offset;
1: + __u32 len;
1: + __u8 token_stream[0];
1: };
1:
1: struct nl80211_wowlan_tcp_data_token_feature {
1: - __u32 min_len;
1: - __u32 max_len;
1: - __u32 bufsize;
1: + __u32 min_len;
1: + __u32 max_len;
1: + __u32 bufsize;
1: };
1:
1: enum nl80211_coalesce_condition {
1: - NL80211_COALESCE_CONDITION_MATCH = 0,
1: - NL80211_COALESCE_CONDITION_NO_MATCH = 1,
1: + NL80211_COALESCE_CONDITION_MATCH = 0,
1: + NL80211_COALESCE_CONDITION_NO_MATCH = 1,
1: };
1:
1: enum nl80211_hidden_ssid {
1: - NL80211_HIDDEN_SSID_NOT_IN_USE = 0,
1: - NL80211_HIDDEN_SSID_ZERO_LEN = 1,
1: - NL80211_HIDDEN_SSID_ZERO_CONTENTS = 2,
1: + NL80211_HIDDEN_SSID_NOT_IN_USE = 0,
1: + NL80211_HIDDEN_SSID_ZERO_LEN = 1,
1: + NL80211_HIDDEN_SSID_ZERO_CONTENTS = 2,
1: };
1:
1: enum nl80211_tdls_operation {
1: - NL80211_TDLS_DISCOVERY_REQ = 0,
1: - NL80211_TDLS_SETUP = 1,
1: - NL80211_TDLS_TEARDOWN = 2,
1: - NL80211_TDLS_ENABLE_LINK = 3,
1: - NL80211_TDLS_DISABLE_LINK = 4,
1: + NL80211_TDLS_DISCOVERY_REQ = 0,
1: + NL80211_TDLS_SETUP = 1,
1: + NL80211_TDLS_TEARDOWN = 2,
1: + NL80211_TDLS_ENABLE_LINK = 3,
1: + NL80211_TDLS_DISABLE_LINK = 4,
1: };
1:
1: enum nl80211_feature_flags {
1: - NL80211_FEATURE_SK_TX_STATUS = 1,
1: - NL80211_FEATURE_HT_IBSS = 2,
1: - NL80211_FEATURE_INACTIVITY_TIMER = 4,
1: - NL80211_FEATURE_CELL_BASE_REG_HINTS = 8,
1: - NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 16,
1: - NL80211_FEATURE_SAE = 32,
1: - NL80211_FEATURE_LOW_PRIORITY_SCAN = 64,
1: - NL80211_FEATURE_SCAN_FLUSH = 128,
1: - NL80211_FEATURE_AP_SCAN = 256,
1: - NL80211_FEATURE_VIF_TXPOWER = 512,
1: - NL80211_FEATURE_NEED_OBSS_SCAN = 1024,
1: - NL80211_FEATURE_P2P_GO_CTWIN = 2048,
1: - NL80211_FEATURE_P2P_GO_OPPPS = 4096,
1: - NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 16384,
1: - NL80211_FEATURE_FULL_AP_CLIENT_STATE = 32768,
1: - NL80211_FEATURE_USERSPACE_MPM = 65536,
1: - NL80211_FEATURE_ACTIVE_MONITOR = 131072,
1: - NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 262144,
1: - NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 524288,
1: - NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 1048576,
1: - NL80211_FEATURE_QUIET = 2097152,
1: - NL80211_FEATURE_TX_POWER_INSERTION = 4194304,
1: - NL80211_FEATURE_ACKTO_ESTIMATION = 8388608,
1: - NL80211_FEATURE_STATIC_SMPS = 16777216,
1: - NL80211_FEATURE_DYNAMIC_SMPS = 33554432,
1: - NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 67108864,
1: - NL80211_FEATURE_MAC_ON_CREATE = 134217728,
1: - NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 268435456,
1: - NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 536870912,
1: - NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 1073741824,
1: - NL80211_FEATURE_ND_RANDOM_MAC_ADDR = -2147483648,
1: + NL80211_FEATURE_SK_TX_STATUS = 1,
1: + NL80211_FEATURE_HT_IBSS = 2,
1: + NL80211_FEATURE_INACTIVITY_TIMER = 4,
1: + NL80211_FEATURE_CELL_BASE_REG_HINTS = 8,
1: + NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 16,
1: + NL80211_FEATURE_SAE = 32,
1: + NL80211_FEATURE_LOW_PRIORITY_SCAN = 64,
1: + NL80211_FEATURE_SCAN_FLUSH = 128,
1: + NL80211_FEATURE_AP_SCAN = 256,
1: + NL80211_FEATURE_VIF_TXPOWER = 512,
1: + NL80211_FEATURE_NEED_OBSS_SCAN = 1024,
1: + NL80211_FEATURE_P2P_GO_CTWIN = 2048,
1: + NL80211_FEATURE_P2P_GO_OPPPS = 4096,
1: + NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 16384,
1: + NL80211_FEATURE_FULL_AP_CLIENT_STATE = 32768,
1: + NL80211_FEATURE_USERSPACE_MPM = 65536,
1: + NL80211_FEATURE_ACTIVE_MONITOR = 131072,
1: + NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 262144,
1: + NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 524288,
1: + NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 1048576,
1: + NL80211_FEATURE_QUIET = 2097152,
1: + NL80211_FEATURE_TX_POWER_INSERTION = 4194304,
1: + NL80211_FEATURE_ACKTO_ESTIMATION = 8388608,
1: + NL80211_FEATURE_STATIC_SMPS = 16777216,
1: + NL80211_FEATURE_DYNAMIC_SMPS = 33554432,
1: + NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 67108864,
1: + NL80211_FEATURE_MAC_ON_CREATE = 134217728,
1: + NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 268435456,
1: + NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 536870912,
1: + NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 1073741824,
1: + NL80211_FEATURE_ND_RANDOM_MAC_ADDR = -2147483648,
1: };
1:
1: enum nl80211_ext_feature_index {
1: - NL80211_EXT_FEATURE_VHT_IBSS = 0,
1: - NL80211_EXT_FEATURE_RRM = 1,
1: - NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER = 2,
1: - NL80211_EXT_FEATURE_SCAN_START_TIME = 3,
1: - NL80211_EXT_FEATURE_BSS_PARENT_TSF = 4,
1: - NL80211_EXT_FEATURE_SET_SCAN_DWELL = 5,
1: - NL80211_EXT_FEATURE_BEACON_RATE_LEGACY = 6,
1: - NL80211_EXT_FEATURE_BEACON_RATE_HT = 7,
1: - NL80211_EXT_FEATURE_BEACON_RATE_VHT = 8,
1: - NL80211_EXT_FEATURE_FILS_STA = 9,
1: - NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA = 10,
1: - NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED = 11,
1: - NL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI = 12,
1: - NL80211_EXT_FEATURE_CQM_RSSI_LIST = 13,
1: - NL80211_EXT_FEATURE_FILS_SK_OFFLOAD = 14,
1: - NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK = 15,
1: - NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X = 16,
1: - NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME = 17,
1: - NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP = 18,
1: - NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE = 19,
1: - NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 20,
1: - NL80211_EXT_FEATURE_MFP_OPTIONAL = 21,
1: - NL80211_EXT_FEATURE_LOW_SPAN_SCAN = 22,
1: - NL80211_EXT_FEATURE_LOW_POWER_SCAN = 23,
1: - NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN = 24,
1: - NL80211_EXT_FEATURE_DFS_OFFLOAD = 25,
1: - NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211 = 26,
1: - NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT = 27,
1: - NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT = 27,
1: - NL80211_EXT_FEATURE_TXQS = 28,
1: - NL80211_EXT_FEATURE_SCAN_RANDOM_SN = 29,
1: - NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT = 30,
1: - NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 = 31,
1: - NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER = 32,
1: - NL80211_EXT_FEATURE_AIRTIME_FAIRNESS = 33,
1: - NL80211_EXT_FEATURE_AP_PMKSA_CACHING = 34,
1: - NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD = 35,
1: - NL80211_EXT_FEATURE_EXT_KEY_ID = 36,
1: - NL80211_EXT_FEATURE_STA_TX_PWR = 37,
1: - NL80211_EXT_FEATURE_SAE_OFFLOAD = 38,
1: - NL80211_EXT_FEATURE_VLAN_OFFLOAD = 39,
1: - NL80211_EXT_FEATURE_AQL = 40,
1: - NUM_NL80211_EXT_FEATURES = 41,
1: - MAX_NL80211_EXT_FEATURES = 40,
1: + NL80211_EXT_FEATURE_VHT_IBSS = 0,
1: + NL80211_EXT_FEATURE_RRM = 1,
1: + NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER = 2,
1: + NL80211_EXT_FEATURE_SCAN_START_TIME = 3,
1: + NL80211_EXT_FEATURE_BSS_PARENT_TSF = 4,
1: + NL80211_EXT_FEATURE_SET_SCAN_DWELL = 5,
1: + NL80211_EXT_FEATURE_BEACON_RATE_LEGACY = 6,
1: + NL80211_EXT_FEATURE_BEACON_RATE_HT = 7,
1: + NL80211_EXT_FEATURE_BEACON_RATE_VHT = 8,
1: + NL80211_EXT_FEATURE_FILS_STA = 9,
1: + NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA = 10,
1: + NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED = 11,
1: + NL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI = 12,
1: + NL80211_EXT_FEATURE_CQM_RSSI_LIST = 13,
1: + NL80211_EXT_FEATURE_FILS_SK_OFFLOAD = 14,
1: + NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK = 15,
1: + NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X = 16,
1: + NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME = 17,
1: + NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP = 18,
1: + NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE = 19,
1: + NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 20,
1: + NL80211_EXT_FEATURE_MFP_OPTIONAL = 21,
1: + NL80211_EXT_FEATURE_LOW_SPAN_SCAN = 22,
1: + NL80211_EXT_FEATURE_LOW_POWER_SCAN = 23,
1: + NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN = 24,
1: + NL80211_EXT_FEATURE_DFS_OFFLOAD = 25,
1: + NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211 = 26,
1: + NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT = 27,
1: + NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT = 27,
1: + NL80211_EXT_FEATURE_TXQS = 28,
1: + NL80211_EXT_FEATURE_SCAN_RANDOM_SN = 29,
1: + NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT = 30,
1: + NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 = 31,
1: + NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER = 32,
1: + NL80211_EXT_FEATURE_AIRTIME_FAIRNESS = 33,
1: + NL80211_EXT_FEATURE_AP_PMKSA_CACHING = 34,
1: + NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD = 35,
1: + NL80211_EXT_FEATURE_EXT_KEY_ID = 36,
1: + NL80211_EXT_FEATURE_STA_TX_PWR = 37,
1: + NL80211_EXT_FEATURE_SAE_OFFLOAD = 38,
1: + NL80211_EXT_FEATURE_VLAN_OFFLOAD = 39,
1: + NL80211_EXT_FEATURE_AQL = 40,
1: + NUM_NL80211_EXT_FEATURES = 41,
1: + MAX_NL80211_EXT_FEATURES = 40,
1: };
1:
1: enum nl80211_timeout_reason {
1: - NL80211_TIMEOUT_UNSPECIFIED = 0,
1: - NL80211_TIMEOUT_SCAN = 1,
1: - NL80211_TIMEOUT_AUTH = 2,
1: - NL80211_TIMEOUT_ASSOC = 3,
1: + NL80211_TIMEOUT_UNSPECIFIED = 0,
1: + NL80211_TIMEOUT_SCAN = 1,
1: + NL80211_TIMEOUT_AUTH = 2,
1: + NL80211_TIMEOUT_ASSOC = 3,
1: };
1:
1: enum nl80211_acl_policy {
1: - NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED = 0,
1: - NL80211_ACL_POLICY_DENY_UNLESS_LISTED = 1,
1: + NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED = 0,
1: + NL80211_ACL_POLICY_DENY_UNLESS_LISTED = 1,
1: };
1:
1: enum nl80211_smps_mode {
1: - NL80211_SMPS_OFF = 0,
1: - NL80211_SMPS_STATIC = 1,
1: - NL80211_SMPS_DYNAMIC = 2,
1: - __NL80211_SMPS_AFTER_LAST = 3,
1: - NL80211_SMPS_MAX = 2,
1: + NL80211_SMPS_OFF = 0,
1: + NL80211_SMPS_STATIC = 1,
1: + NL80211_SMPS_DYNAMIC = 2,
1: + __NL80211_SMPS_AFTER_LAST = 3,
1: + NL80211_SMPS_MAX = 2,
1: };
1:
1: enum nl80211_radar_event {
1: - NL80211_RADAR_DETECTED = 0,
1: - NL80211_RADAR_CAC_FINISHED = 1,
1: - NL80211_RADAR_CAC_ABORTED = 2,
1: - NL80211_RADAR_NOP_FINISHED = 3,
1: - NL80211_RADAR_PRE_CAC_EXPIRED = 4,
1: - NL80211_RADAR_CAC_STARTED = 5,
1: + NL80211_RADAR_DETECTED = 0,
1: + NL80211_RADAR_CAC_FINISHED = 1,
1: + NL80211_RADAR_CAC_ABORTED = 2,
1: + NL80211_RADAR_NOP_FINISHED = 3,
1: + NL80211_RADAR_PRE_CAC_EXPIRED = 4,
1: + NL80211_RADAR_CAC_STARTED = 5,
1: };
1:
1: enum nl80211_dfs_state {
1: - NL80211_DFS_USABLE = 0,
1: - NL80211_DFS_UNAVAILABLE = 1,
1: - NL80211_DFS_AVAILABLE = 2,
1: + NL80211_DFS_USABLE = 0,
1: + NL80211_DFS_UNAVAILABLE = 1,
1: + NL80211_DFS_AVAILABLE = 2,
1: };
1:
1: enum nl80211_crit_proto_id {
1: - NL80211_CRIT_PROTO_UNSPEC = 0,
1: - NL80211_CRIT_PROTO_DHCP = 1,
1: - NL80211_CRIT_PROTO_EAPOL = 2,
1: - NL80211_CRIT_PROTO_APIPA = 3,
1: - NUM_NL80211_CRIT_PROTO = 4,
1: + NL80211_CRIT_PROTO_UNSPEC = 0,
1: + NL80211_CRIT_PROTO_DHCP = 1,
1: + NL80211_CRIT_PROTO_EAPOL = 2,
1: + NL80211_CRIT_PROTO_APIPA = 3,
1: + NUM_NL80211_CRIT_PROTO = 4,
1: };
1:
1: struct nl80211_vendor_cmd_info {
1: - __u32 vendor_id;
1: - __u32 subcmd;
1: + __u32 vendor_id;
1: + __u32 subcmd;
1: };
1:
1: enum nl80211_bss_select_attr {
1: - __NL80211_BSS_SELECT_ATTR_INVALID = 0,
1: - NL80211_BSS_SELECT_ATTR_RSSI = 1,
1: - NL80211_BSS_SELECT_ATTR_BAND_PREF = 2,
1: - NL80211_BSS_SELECT_ATTR_RSSI_ADJUST = 3,
1: - __NL80211_BSS_SELECT_ATTR_AFTER_LAST = 4,
1: - NL80211_BSS_SELECT_ATTR_MAX = 3,
1: + __NL80211_BSS_SELECT_ATTR_INVALID = 0,
1: + NL80211_BSS_SELECT_ATTR_RSSI = 1,
1: + NL80211_BSS_SELECT_ATTR_BAND_PREF = 2,
1: + NL80211_BSS_SELECT_ATTR_RSSI_ADJUST = 3,
1: + __NL80211_BSS_SELECT_ATTR_AFTER_LAST = 4,
1: + NL80211_BSS_SELECT_ATTR_MAX = 3,
1: };
1:
1: enum nl80211_nan_function_type {
1: - NL80211_NAN_FUNC_PUBLISH = 0,
1: - NL80211_NAN_FUNC_SUBSCRIBE = 1,
1: - NL80211_NAN_FUNC_FOLLOW_UP = 2,
1: - __NL80211_NAN_FUNC_TYPE_AFTER_LAST = 3,
1: - NL80211_NAN_FUNC_MAX_TYPE = 2,
1: + NL80211_NAN_FUNC_PUBLISH = 0,
1: + NL80211_NAN_FUNC_SUBSCRIBE = 1,
1: + NL80211_NAN_FUNC_FOLLOW_UP = 2,
1: + __NL80211_NAN_FUNC_TYPE_AFTER_LAST = 3,
1: + NL80211_NAN_FUNC_MAX_TYPE = 2,
1: };
1:
1: enum nl80211_external_auth_action {
1: - NL80211_EXTERNAL_AUTH_START = 0,
1: - NL80211_EXTERNAL_AUTH_ABORT = 1,
1: + NL80211_EXTERNAL_AUTH_START = 0,
1: + NL80211_EXTERNAL_AUTH_ABORT = 1,
1: };
1:
1: enum nl80211_preamble {
1: - NL80211_PREAMBLE_LEGACY = 0,
1: - NL80211_PREAMBLE_HT = 1,
1: - NL80211_PREAMBLE_VHT = 2,
1: - NL80211_PREAMBLE_DMG = 3,
1: + NL80211_PREAMBLE_LEGACY = 0,
1: + NL80211_PREAMBLE_HT = 1,
1: + NL80211_PREAMBLE_VHT = 2,
1: + NL80211_PREAMBLE_DMG = 3,
1: };
1:
1: enum ieee80211_bss_type {
1: - IEEE80211_BSS_TYPE_ESS = 0,
1: - IEEE80211_BSS_TYPE_PBSS = 1,
1: - IEEE80211_BSS_TYPE_IBSS = 2,
1: - IEEE80211_BSS_TYPE_MBSS = 3,
1: - IEEE80211_BSS_TYPE_ANY = 4,
1: + IEEE80211_BSS_TYPE_ESS = 0,
1: + IEEE80211_BSS_TYPE_PBSS = 1,
1: + IEEE80211_BSS_TYPE_IBSS = 2,
1: + IEEE80211_BSS_TYPE_MBSS = 3,
1: + IEEE80211_BSS_TYPE_ANY = 4,
1: };
1:
1: enum ieee80211_edmg_bw_config {
1: - IEEE80211_EDMG_BW_CONFIG_4 = 4,
1: - IEEE80211_EDMG_BW_CONFIG_5 = 5,
1: - IEEE80211_EDMG_BW_CONFIG_6 = 6,
1: - IEEE80211_EDMG_BW_CONFIG_7 = 7,
1: - IEEE80211_EDMG_BW_CONFIG_8 = 8,
1: - IEEE80211_EDMG_BW_CONFIG_9 = 9,
1: - IEEE80211_EDMG_BW_CONFIG_10 = 10,
1: - IEEE80211_EDMG_BW_CONFIG_11 = 11,
1: - IEEE80211_EDMG_BW_CONFIG_12 = 12,
1: - IEEE80211_EDMG_BW_CONFIG_13 = 13,
1: - IEEE80211_EDMG_BW_CONFIG_14 = 14,
1: - IEEE80211_EDMG_BW_CONFIG_15 = 15,
1: + IEEE80211_EDMG_BW_CONFIG_4 = 4,
1: + IEEE80211_EDMG_BW_CONFIG_5 = 5,
1: + IEEE80211_EDMG_BW_CONFIG_6 = 6,
1: + IEEE80211_EDMG_BW_CONFIG_7 = 7,
1: + IEEE80211_EDMG_BW_CONFIG_8 = 8,
1: + IEEE80211_EDMG_BW_CONFIG_9 = 9,
1: + IEEE80211_EDMG_BW_CONFIG_10 = 10,
1: + IEEE80211_EDMG_BW_CONFIG_11 = 11,
1: + IEEE80211_EDMG_BW_CONFIG_12 = 12,
1: + IEEE80211_EDMG_BW_CONFIG_13 = 13,
1: + IEEE80211_EDMG_BW_CONFIG_14 = 14,
1: + IEEE80211_EDMG_BW_CONFIG_15 = 15,
1: };
1:
1: struct ieee80211_edmg {
1: - u8 channels;
1: - enum ieee80211_edmg_bw_config bw_config;
1: + u8 channels;
1: + enum ieee80211_edmg_bw_config bw_config;
1: };
1:
1: struct ieee80211_channel;
1:
1: struct cfg80211_chan_def {
1: - struct ieee80211_channel *chan;
1: - enum nl80211_chan_width width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - struct ieee80211_edmg edmg;
1: + struct ieee80211_channel *chan;
1: + enum nl80211_chan_width width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + struct ieee80211_edmg edmg;
1: };
1:
1: struct wiphy;
1: @@ -112053,691 +112900,691 @@ struct cfg80211_internal_bss;
1: struct cfg80211_cqm_config;
1:
1: struct wireless_dev {
1: - struct wiphy *wiphy;
1: - enum nl80211_iftype iftype;
1: - struct list_head list;
1: - struct net_device *netdev;
1: - u32 identifier;
1: - struct list_head mgmt_registrations;
1: - spinlock_t mgmt_registrations_lock;
1: - struct mutex mtx;
1: - bool use_4addr;
1: - bool is_running;
1: - u8 address[6];
1: - u8 ssid[32];
1: - u8 ssid_len;
1: - u8 mesh_id_len;
1: - u8 mesh_id_up_len;
1: - struct cfg80211_conn *conn;
1: - struct cfg80211_cached_keys *connect_keys;
1: - enum ieee80211_bss_type conn_bss_type;
1: - u32 conn_owner_nlportid;
1: - struct work_struct disconnect_wk;
1: - u8 disconnect_bssid[6];
1: - struct list_head event_list;
1: - spinlock_t event_lock;
1: - struct cfg80211_internal_bss *current_bss;
1: - struct cfg80211_chan_def preset_chandef;
1: - struct cfg80211_chan_def chandef;
1: - bool ibss_fixed;
1: - bool ibss_dfs_possible;
1: - bool ps;
1: - int ps_timeout;
1: - int beacon_interval;
1: - u32 ap_unexpected_nlportid;
1: - u32 owner_nlportid;
1: - bool nl_owner_dead;
1: - bool cac_started;
1: - long unsigned int cac_start_time;
1: - unsigned int cac_time_ms;
1: - struct cfg80211_cqm_config *cqm_config;
1: - struct list_head pmsr_list;
1: - spinlock_t pmsr_lock;
1: - struct work_struct pmsr_free_wk;
1: + struct wiphy *wiphy;
1: + enum nl80211_iftype iftype;
1: + struct list_head list;
1: + struct net_device *netdev;
1: + u32 identifier;
1: + struct list_head mgmt_registrations;
1: + spinlock_t mgmt_registrations_lock;
1: + struct mutex mtx;
1: + bool use_4addr;
1: + bool is_running;
1: + u8 address[6];
1: + u8 ssid[32];
1: + u8 ssid_len;
1: + u8 mesh_id_len;
1: + u8 mesh_id_up_len;
1: + struct cfg80211_conn *conn;
1: + struct cfg80211_cached_keys *connect_keys;
1: + enum ieee80211_bss_type conn_bss_type;
1: + u32 conn_owner_nlportid;
1: + struct work_struct disconnect_wk;
1: + u8 disconnect_bssid[6];
1: + struct list_head event_list;
1: + spinlock_t event_lock;
1: + struct cfg80211_internal_bss *current_bss;
1: + struct cfg80211_chan_def preset_chandef;
1: + struct cfg80211_chan_def chandef;
1: + bool ibss_fixed;
1: + bool ibss_dfs_possible;
1: + bool ps;
1: + int ps_timeout;
1: + int beacon_interval;
1: + u32 ap_unexpected_nlportid;
1: + u32 owner_nlportid;
1: + bool nl_owner_dead;
1: + bool cac_started;
1: + long unsigned int cac_start_time;
1: + unsigned int cac_time_ms;
1: + struct cfg80211_cqm_config *cqm_config;
1: + struct list_head pmsr_list;
1: + spinlock_t pmsr_lock;
1: + struct work_struct pmsr_free_wk;
1: };
1:
1: struct ieee80211_mcs_info {
1: - u8 rx_mask[10];
1: - __le16 rx_highest;
1: - u8 tx_params;
1: - u8 reserved[3];
1: + u8 rx_mask[10];
1: + __le16 rx_highest;
1: + u8 tx_params;
1: + u8 reserved[3];
1: };
1:
1: struct ieee80211_ht_cap {
1: - __le16 cap_info;
1: - u8 ampdu_params_info;
1: - struct ieee80211_mcs_info mcs;
1: - __le16 extended_ht_cap_info;
1: - __le32 tx_BF_cap_info;
1: - u8 antenna_selection_info;
1: + __le16 cap_info;
1: + u8 ampdu_params_info;
1: + struct ieee80211_mcs_info mcs;
1: + __le16 extended_ht_cap_info;
1: + __le32 tx_BF_cap_info;
1: + u8 antenna_selection_info;
1: } __attribute__((packed));
1:
1: struct ieee80211_vht_mcs_info {
1: - __le16 rx_mcs_map;
1: - __le16 rx_highest;
1: - __le16 tx_mcs_map;
1: - __le16 tx_highest;
1: + __le16 rx_mcs_map;
1: + __le16 rx_highest;
1: + __le16 tx_mcs_map;
1: + __le16 tx_highest;
1: };
1:
1: struct ieee80211_vht_cap {
1: - __le32 vht_cap_info;
1: - struct ieee80211_vht_mcs_info supp_mcs;
1: + __le32 vht_cap_info;
1: + struct ieee80211_vht_mcs_info supp_mcs;
1: };
1:
1: struct ieee80211_he_cap_elem {
1: - u8 mac_cap_info[6];
1: - u8 phy_cap_info[11];
1: + u8 mac_cap_info[6];
1: + u8 phy_cap_info[11];
1: };
1:
1: struct ieee80211_he_mcs_nss_supp {
1: - __le16 rx_mcs_80;
1: - __le16 tx_mcs_80;
1: - __le16 rx_mcs_160;
1: - __le16 tx_mcs_160;
1: - __le16 rx_mcs_80p80;
1: - __le16 tx_mcs_80p80;
1: + __le16 rx_mcs_80;
1: + __le16 tx_mcs_80;
1: + __le16 rx_mcs_160;
1: + __le16 tx_mcs_160;
1: + __le16 rx_mcs_80p80;
1: + __le16 tx_mcs_80p80;
1: };
1:
1: enum ieee80211_reasoncode {
1: - WLAN_REASON_UNSPECIFIED = 1,
1: - WLAN_REASON_PREV_AUTH_NOT_VALID = 2,
1: - WLAN_REASON_DEAUTH_LEAVING = 3,
1: - WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY = 4,
1: - WLAN_REASON_DISASSOC_AP_BUSY = 5,
1: - WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA = 6,
1: - WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA = 7,
1: - WLAN_REASON_DISASSOC_STA_HAS_LEFT = 8,
1: - WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH = 9,
1: - WLAN_REASON_DISASSOC_BAD_POWER = 10,
1: - WLAN_REASON_DISASSOC_BAD_SUPP_CHAN = 11,
1: - WLAN_REASON_INVALID_IE = 13,
1: - WLAN_REASON_MIC_FAILURE = 14,
1: - WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT = 15,
1: - WLAN_REASON_GROUP_KEY_HANDSHAKE_TIMEOUT = 16,
1: - WLAN_REASON_IE_DIFFERENT = 17,
1: - WLAN_REASON_INVALID_GROUP_CIPHER = 18,
1: - WLAN_REASON_INVALID_PAIRWISE_CIPHER = 19,
1: - WLAN_REASON_INVALID_AKMP = 20,
1: - WLAN_REASON_UNSUPP_RSN_VERSION = 21,
1: - WLAN_REASON_INVALID_RSN_IE_CAP = 22,
1: - WLAN_REASON_IEEE8021X_FAILED = 23,
1: - WLAN_REASON_CIPHER_SUITE_REJECTED = 24,
1: - WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE = 25,
1: - WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED = 26,
1: - WLAN_REASON_DISASSOC_UNSPECIFIED_QOS = 32,
1: - WLAN_REASON_DISASSOC_QAP_NO_BANDWIDTH = 33,
1: - WLAN_REASON_DISASSOC_LOW_ACK = 34,
1: - WLAN_REASON_DISASSOC_QAP_EXCEED_TXOP = 35,
1: - WLAN_REASON_QSTA_LEAVE_QBSS = 36,
1: - WLAN_REASON_QSTA_NOT_USE = 37,
1: - WLAN_REASON_QSTA_REQUIRE_SETUP = 38,
1: - WLAN_REASON_QSTA_TIMEOUT = 39,
1: - WLAN_REASON_QSTA_CIPHER_NOT_SUPP = 45,
1: - WLAN_REASON_MESH_PEER_CANCELED = 52,
1: - WLAN_REASON_MESH_MAX_PEERS = 53,
1: - WLAN_REASON_MESH_CONFIG = 54,
1: - WLAN_REASON_MESH_CLOSE = 55,
1: - WLAN_REASON_MESH_MAX_RETRIES = 56,
1: - WLAN_REASON_MESH_CONFIRM_TIMEOUT = 57,
1: - WLAN_REASON_MESH_INVALID_GTK = 58,
1: - WLAN_REASON_MESH_INCONSISTENT_PARAM = 59,
1: - WLAN_REASON_MESH_INVALID_SECURITY = 60,
1: - WLAN_REASON_MESH_PATH_ERROR = 61,
1: - WLAN_REASON_MESH_PATH_NOFORWARD = 62,
1: - WLAN_REASON_MESH_PATH_DEST_UNREACHABLE = 63,
1: - WLAN_REASON_MAC_EXISTS_IN_MBSS = 64,
1: - WLAN_REASON_MESH_CHAN_REGULATORY = 65,
1: - WLAN_REASON_MESH_CHAN = 66,
1: + WLAN_REASON_UNSPECIFIED = 1,
1: + WLAN_REASON_PREV_AUTH_NOT_VALID = 2,
1: + WLAN_REASON_DEAUTH_LEAVING = 3,
1: + WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY = 4,
1: + WLAN_REASON_DISASSOC_AP_BUSY = 5,
1: + WLAN_REASON_CLASS2_FRAME_FROM_NONAUTH_STA = 6,
1: + WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA = 7,
1: + WLAN_REASON_DISASSOC_STA_HAS_LEFT = 8,
1: + WLAN_REASON_STA_REQ_ASSOC_WITHOUT_AUTH = 9,
1: + WLAN_REASON_DISASSOC_BAD_POWER = 10,
1: + WLAN_REASON_DISASSOC_BAD_SUPP_CHAN = 11,
1: + WLAN_REASON_INVALID_IE = 13,
1: + WLAN_REASON_MIC_FAILURE = 14,
1: + WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT = 15,
1: + WLAN_REASON_GROUP_KEY_HANDSHAKE_TIMEOUT = 16,
1: + WLAN_REASON_IE_DIFFERENT = 17,
1: + WLAN_REASON_INVALID_GROUP_CIPHER = 18,
1: + WLAN_REASON_INVALID_PAIRWISE_CIPHER = 19,
1: + WLAN_REASON_INVALID_AKMP = 20,
1: + WLAN_REASON_UNSUPP_RSN_VERSION = 21,
1: + WLAN_REASON_INVALID_RSN_IE_CAP = 22,
1: + WLAN_REASON_IEEE8021X_FAILED = 23,
1: + WLAN_REASON_CIPHER_SUITE_REJECTED = 24,
1: + WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE = 25,
1: + WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED = 26,
1: + WLAN_REASON_DISASSOC_UNSPECIFIED_QOS = 32,
1: + WLAN_REASON_DISASSOC_QAP_NO_BANDWIDTH = 33,
1: + WLAN_REASON_DISASSOC_LOW_ACK = 34,
1: + WLAN_REASON_DISASSOC_QAP_EXCEED_TXOP = 35,
1: + WLAN_REASON_QSTA_LEAVE_QBSS = 36,
1: + WLAN_REASON_QSTA_NOT_USE = 37,
1: + WLAN_REASON_QSTA_REQUIRE_SETUP = 38,
1: + WLAN_REASON_QSTA_TIMEOUT = 39,
1: + WLAN_REASON_QSTA_CIPHER_NOT_SUPP = 45,
1: + WLAN_REASON_MESH_PEER_CANCELED = 52,
1: + WLAN_REASON_MESH_MAX_PEERS = 53,
1: + WLAN_REASON_MESH_CONFIG = 54,
1: + WLAN_REASON_MESH_CLOSE = 55,
1: + WLAN_REASON_MESH_MAX_RETRIES = 56,
1: + WLAN_REASON_MESH_CONFIRM_TIMEOUT = 57,
1: + WLAN_REASON_MESH_INVALID_GTK = 58,
1: + WLAN_REASON_MESH_INCONSISTENT_PARAM = 59,
1: + WLAN_REASON_MESH_INVALID_SECURITY = 60,
1: + WLAN_REASON_MESH_PATH_ERROR = 61,
1: + WLAN_REASON_MESH_PATH_NOFORWARD = 62,
1: + WLAN_REASON_MESH_PATH_DEST_UNREACHABLE = 63,
1: + WLAN_REASON_MAC_EXISTS_IN_MBSS = 64,
1: + WLAN_REASON_MESH_CHAN_REGULATORY = 65,
1: + WLAN_REASON_MESH_CHAN = 66,
1: };
1:
1: enum ieee80211_key_len {
1: - WLAN_KEY_LEN_WEP40 = 5,
1: - WLAN_KEY_LEN_WEP104 = 13,
1: - WLAN_KEY_LEN_CCMP = 16,
1: - WLAN_KEY_LEN_CCMP_256 = 32,
1: - WLAN_KEY_LEN_TKIP = 32,
1: - WLAN_KEY_LEN_AES_CMAC = 16,
1: - WLAN_KEY_LEN_SMS4 = 32,
1: - WLAN_KEY_LEN_GCMP = 16,
1: - WLAN_KEY_LEN_GCMP_256 = 32,
1: - WLAN_KEY_LEN_BIP_CMAC_256 = 32,
1: - WLAN_KEY_LEN_BIP_GMAC_128 = 16,
1: - WLAN_KEY_LEN_BIP_GMAC_256 = 32,
1: + WLAN_KEY_LEN_WEP40 = 5,
1: + WLAN_KEY_LEN_WEP104 = 13,
1: + WLAN_KEY_LEN_CCMP = 16,
1: + WLAN_KEY_LEN_CCMP_256 = 32,
1: + WLAN_KEY_LEN_TKIP = 32,
1: + WLAN_KEY_LEN_AES_CMAC = 16,
1: + WLAN_KEY_LEN_SMS4 = 32,
1: + WLAN_KEY_LEN_GCMP = 16,
1: + WLAN_KEY_LEN_GCMP_256 = 32,
1: + WLAN_KEY_LEN_BIP_CMAC_256 = 32,
1: + WLAN_KEY_LEN_BIP_GMAC_128 = 16,
1: + WLAN_KEY_LEN_BIP_GMAC_256 = 32,
1: };
1:
1: enum environment_cap {
1: - ENVIRON_ANY = 0,
1: - ENVIRON_INDOOR = 1,
1: - ENVIRON_OUTDOOR = 2,
1: + ENVIRON_ANY = 0,
1: + ENVIRON_INDOOR = 1,
1: + ENVIRON_OUTDOOR = 2,
1: };
1:
1: struct regulatory_request {
1: - struct callback_head callback_head;
1: - int wiphy_idx;
1: - enum nl80211_reg_initiator initiator;
1: - enum nl80211_user_reg_hint_type user_reg_hint_type;
1: - char alpha2[3];
1: - enum nl80211_dfs_regions dfs_region;
1: - bool intersect;
1: - bool processed;
1: - enum environment_cap country_ie_env;
1: - struct list_head list;
1: + struct callback_head callback_head;
1: + int wiphy_idx;
1: + enum nl80211_reg_initiator initiator;
1: + enum nl80211_user_reg_hint_type user_reg_hint_type;
1: + char alpha2[3];
1: + enum nl80211_dfs_regions dfs_region;
1: + bool intersect;
1: + bool processed;
1: + enum environment_cap country_ie_env;
1: + struct list_head list;
1: };
1:
1: enum ieee80211_regulatory_flags {
1: - REGULATORY_CUSTOM_REG = 1,
1: - REGULATORY_STRICT_REG = 2,
1: - REGULATORY_DISABLE_BEACON_HINTS = 4,
1: - REGULATORY_COUNTRY_IE_FOLLOW_POWER = 8,
1: - REGULATORY_COUNTRY_IE_IGNORE = 16,
1: - REGULATORY_ENABLE_RELAX_NO_IR = 32,
1: - REGULATORY_IGNORE_STALE_KICKOFF = 64,
1: - REGULATORY_WIPHY_SELF_MANAGED = 128,
1: + REGULATORY_CUSTOM_REG = 1,
1: + REGULATORY_STRICT_REG = 2,
1: + REGULATORY_DISABLE_BEACON_HINTS = 4,
1: + REGULATORY_COUNTRY_IE_FOLLOW_POWER = 8,
1: + REGULATORY_COUNTRY_IE_IGNORE = 16,
1: + REGULATORY_ENABLE_RELAX_NO_IR = 32,
1: + REGULATORY_IGNORE_STALE_KICKOFF = 64,
1: + REGULATORY_WIPHY_SELF_MANAGED = 128,
1: };
1:
1: struct ieee80211_freq_range {
1: - u32 start_freq_khz;
1: - u32 end_freq_khz;
1: - u32 max_bandwidth_khz;
1: + u32 start_freq_khz;
1: + u32 end_freq_khz;
1: + u32 max_bandwidth_khz;
1: };
1:
1: struct ieee80211_power_rule {
1: - u32 max_antenna_gain;
1: - u32 max_eirp;
1: + u32 max_antenna_gain;
1: + u32 max_eirp;
1: };
1:
1: struct ieee80211_wmm_ac {
1: - u16 cw_min;
1: - u16 cw_max;
1: - u16 cot;
1: - u8 aifsn;
1: + u16 cw_min;
1: + u16 cw_max;
1: + u16 cot;
1: + u8 aifsn;
1: };
1:
1: struct ieee80211_wmm_rule {
1: - struct ieee80211_wmm_ac client[4];
1: - struct ieee80211_wmm_ac ap[4];
1: + struct ieee80211_wmm_ac client[4];
1: + struct ieee80211_wmm_ac ap[4];
1: };
1:
1: struct ieee80211_reg_rule {
1: - struct ieee80211_freq_range freq_range;
1: - struct ieee80211_power_rule power_rule;
1: - struct ieee80211_wmm_rule wmm_rule;
1: - u32 flags;
1: - u32 dfs_cac_ms;
1: - bool has_wmm;
1: + struct ieee80211_freq_range freq_range;
1: + struct ieee80211_power_rule power_rule;
1: + struct ieee80211_wmm_rule wmm_rule;
1: + u32 flags;
1: + u32 dfs_cac_ms;
1: + bool has_wmm;
1: };
1:
1: struct ieee80211_regdomain {
1: - struct callback_head callback_head;
1: - u32 n_reg_rules;
1: - char alpha2[3];
1: - enum nl80211_dfs_regions dfs_region;
1: - struct ieee80211_reg_rule reg_rules[0];
1: + struct callback_head callback_head;
1: + u32 n_reg_rules;
1: + char alpha2[3];
1: + enum nl80211_dfs_regions dfs_region;
1: + struct ieee80211_reg_rule reg_rules[0];
1: };
1:
1: struct ieee80211_channel {
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - u16 hw_value;
1: - u32 flags;
1: - int max_antenna_gain;
1: - int max_power;
1: - int max_reg_power;
1: - bool beacon_found;
1: - u32 orig_flags;
1: - int orig_mag;
1: - int orig_mpwr;
1: - enum nl80211_dfs_state dfs_state;
1: - long unsigned int dfs_state_entered;
1: - unsigned int dfs_cac_ms;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + u16 hw_value;
1: + u32 flags;
1: + int max_antenna_gain;
1: + int max_power;
1: + int max_reg_power;
1: + bool beacon_found;
1: + u32 orig_flags;
1: + int orig_mag;
1: + int orig_mpwr;
1: + enum nl80211_dfs_state dfs_state;
1: + long unsigned int dfs_state_entered;
1: + unsigned int dfs_cac_ms;
1: };
1:
1: struct ieee80211_rate {
1: - u32 flags;
1: - u16 bitrate;
1: - u16 hw_value;
1: - u16 hw_value_short;
1: + u32 flags;
1: + u16 bitrate;
1: + u16 hw_value;
1: + u16 hw_value_short;
1: };
1:
1: struct ieee80211_he_obss_pd {
1: - bool enable;
1: - u8 min_offset;
1: - u8 max_offset;
1: + bool enable;
1: + u8 min_offset;
1: + u8 max_offset;
1: };
1:
1: struct ieee80211_sta_ht_cap {
1: - u16 cap;
1: - bool ht_supported;
1: - u8 ampdu_factor;
1: - u8 ampdu_density;
1: - struct ieee80211_mcs_info mcs;
1: - char: 8;
1: + u16 cap;
1: + bool ht_supported;
1: + u8 ampdu_factor;
1: + u8 ampdu_density;
1: + struct ieee80211_mcs_info mcs;
1: + char : 8;
1: } __attribute__((packed));
1:
1: struct ieee80211_sta_vht_cap {
1: - bool vht_supported;
1: - u32 cap;
1: - struct ieee80211_vht_mcs_info vht_mcs;
1: + bool vht_supported;
1: + u32 cap;
1: + struct ieee80211_vht_mcs_info vht_mcs;
1: };
1:
1: struct ieee80211_sta_he_cap {
1: - bool has_he;
1: - struct ieee80211_he_cap_elem he_cap_elem;
1: - struct ieee80211_he_mcs_nss_supp he_mcs_nss_supp;
1: - u8 ppe_thres[25];
1: + bool has_he;
1: + struct ieee80211_he_cap_elem he_cap_elem;
1: + struct ieee80211_he_mcs_nss_supp he_mcs_nss_supp;
1: + u8 ppe_thres[25];
1: } __attribute__((packed));
1:
1: struct ieee80211_sband_iftype_data {
1: - u16 types_mask;
1: - struct ieee80211_sta_he_cap he_cap;
1: + u16 types_mask;
1: + struct ieee80211_sta_he_cap he_cap;
1: };
1:
1: struct ieee80211_supported_band {
1: - struct ieee80211_channel *channels;
1: - struct ieee80211_rate *bitrates;
1: - enum nl80211_band band;
1: - int n_channels;
1: - int n_bitrates;
1: - struct ieee80211_sta_ht_cap ht_cap;
1: - struct ieee80211_sta_vht_cap vht_cap;
1: - struct ieee80211_edmg edmg_cap;
1: - u16 n_iftype_data;
1: - const struct ieee80211_sband_iftype_data *iftype_data;
1: + struct ieee80211_channel *channels;
1: + struct ieee80211_rate *bitrates;
1: + enum nl80211_band band;
1: + int n_channels;
1: + int n_bitrates;
1: + struct ieee80211_sta_ht_cap ht_cap;
1: + struct ieee80211_sta_vht_cap vht_cap;
1: + struct ieee80211_edmg edmg_cap;
1: + u16 n_iftype_data;
1: + const struct ieee80211_sband_iftype_data *iftype_data;
1: };
1:
1: struct vif_params {
1: - u32 flags;
1: - int use_4addr;
1: - u8 macaddr[6];
1: - const u8 *vht_mumimo_groups;
1: - const u8 *vht_mumimo_follow_addr;
1: + u32 flags;
1: + int use_4addr;
1: + u8 macaddr[6];
1: + const u8 *vht_mumimo_groups;
1: + const u8 *vht_mumimo_follow_addr;
1: };
1:
1: struct key_params {
1: - const u8 *key;
1: - const u8 *seq;
1: - int key_len;
1: - int seq_len;
1: - u16 vlan_id;
1: - u32 cipher;
1: - enum nl80211_key_mode mode;
1: + const u8 *key;
1: + const u8 *seq;
1: + int key_len;
1: + int seq_len;
1: + u16 vlan_id;
1: + u32 cipher;
1: + enum nl80211_key_mode mode;
1: };
1:
1: struct survey_info {
1: - struct ieee80211_channel *channel;
1: - u64 time;
1: - u64 time_busy;
1: - u64 time_ext_busy;
1: - u64 time_rx;
1: - u64 time_tx;
1: - u64 time_scan;
1: - u64 time_bss_rx;
1: - u32 filled;
1: - s8 noise;
1: + struct ieee80211_channel *channel;
1: + u64 time;
1: + u64 time_busy;
1: + u64 time_ext_busy;
1: + u64 time_rx;
1: + u64 time_tx;
1: + u64 time_scan;
1: + u64 time_bss_rx;
1: + u32 filled;
1: + s8 noise;
1: };
1:
1: struct cfg80211_crypto_settings {
1: - u32 wpa_versions;
1: - u32 cipher_group;
1: - int n_ciphers_pairwise;
1: - u32 ciphers_pairwise[5];
1: - int n_akm_suites;
1: - u32 akm_suites[2];
1: - bool control_port;
1: - __be16 control_port_ethertype;
1: - bool control_port_no_encrypt;
1: - bool control_port_over_nl80211;
1: - struct key_params *wep_keys;
1: - int wep_tx_key;
1: - const u8 *psk;
1: - const u8 *sae_pwd;
1: - u8 sae_pwd_len;
1: + u32 wpa_versions;
1: + u32 cipher_group;
1: + int n_ciphers_pairwise;
1: + u32 ciphers_pairwise[5];
1: + int n_akm_suites;
1: + u32 akm_suites[2];
1: + bool control_port;
1: + __be16 control_port_ethertype;
1: + bool control_port_no_encrypt;
1: + bool control_port_over_nl80211;
1: + struct key_params *wep_keys;
1: + int wep_tx_key;
1: + const u8 *psk;
1: + const u8 *sae_pwd;
1: + u8 sae_pwd_len;
1: };
1:
1: struct cfg80211_beacon_data {
1: - const u8 *head;
1: - const u8 *tail;
1: - const u8 *beacon_ies;
1: - const u8 *proberesp_ies;
1: - const u8 *assocresp_ies;
1: - const u8 *probe_resp;
1: - const u8 *lci;
1: - const u8 *civicloc;
1: - s8 ftm_responder;
1: - size_t head_len;
1: - size_t tail_len;
1: - size_t beacon_ies_len;
1: - size_t proberesp_ies_len;
1: - size_t assocresp_ies_len;
1: - size_t probe_resp_len;
1: - size_t lci_len;
1: - size_t civicloc_len;
1: + const u8 *head;
1: + const u8 *tail;
1: + const u8 *beacon_ies;
1: + const u8 *proberesp_ies;
1: + const u8 *assocresp_ies;
1: + const u8 *probe_resp;
1: + const u8 *lci;
1: + const u8 *civicloc;
1: + s8 ftm_responder;
1: + size_t head_len;
1: + size_t tail_len;
1: + size_t beacon_ies_len;
1: + size_t proberesp_ies_len;
1: + size_t assocresp_ies_len;
1: + size_t probe_resp_len;
1: + size_t lci_len;
1: + size_t civicloc_len;
1: };
1:
1: struct mac_address {
1: - u8 addr[6];
1: + u8 addr[6];
1: };
1:
1: struct cfg80211_acl_data {
1: - enum nl80211_acl_policy acl_policy;
1: - int n_acl_entries;
1: - struct mac_address mac_addrs[0];
1: + enum nl80211_acl_policy acl_policy;
1: + int n_acl_entries;
1: + struct mac_address mac_addrs[0];
1: };
1:
1: struct cfg80211_bitrate_mask {
1: - struct {
1: - u32 legacy;
1: - u8 ht_mcs[10];
1: - u16 vht_mcs[8];
1: - enum nl80211_txrate_gi gi;
1: - } control[4];
1: + struct {
1: + u32 legacy;
1: + u8 ht_mcs[10];
1: + u16 vht_mcs[8];
1: + enum nl80211_txrate_gi gi;
1: + } control[4];
1: };
1:
1: struct cfg80211_ap_settings {
1: - struct cfg80211_chan_def chandef;
1: - struct cfg80211_beacon_data beacon;
1: - int beacon_interval;
1: - int dtim_period;
1: - const u8 *ssid;
1: - size_t ssid_len;
1: - enum nl80211_hidden_ssid hidden_ssid;
1: - struct cfg80211_crypto_settings crypto;
1: - bool privacy;
1: - enum nl80211_auth_type auth_type;
1: - enum nl80211_smps_mode smps_mode;
1: - int inactivity_timeout;
1: - u8 p2p_ctwindow;
1: - bool p2p_opp_ps;
1: - const struct cfg80211_acl_data *acl;
1: - bool pbss;
1: - struct cfg80211_bitrate_mask beacon_rate;
1: - const struct ieee80211_ht_cap *ht_cap;
1: - const struct ieee80211_vht_cap *vht_cap;
1: - const struct ieee80211_he_cap_elem *he_cap;
1: - bool ht_required;
1: - bool vht_required;
1: - bool twt_responder;
1: - u32 flags;
1: - struct ieee80211_he_obss_pd he_obss_pd;
1: + struct cfg80211_chan_def chandef;
1: + struct cfg80211_beacon_data beacon;
1: + int beacon_interval;
1: + int dtim_period;
1: + const u8 *ssid;
1: + size_t ssid_len;
1: + enum nl80211_hidden_ssid hidden_ssid;
1: + struct cfg80211_crypto_settings crypto;
1: + bool privacy;
1: + enum nl80211_auth_type auth_type;
1: + enum nl80211_smps_mode smps_mode;
1: + int inactivity_timeout;
1: + u8 p2p_ctwindow;
1: + bool p2p_opp_ps;
1: + const struct cfg80211_acl_data *acl;
1: + bool pbss;
1: + struct cfg80211_bitrate_mask beacon_rate;
1: + const struct ieee80211_ht_cap *ht_cap;
1: + const struct ieee80211_vht_cap *vht_cap;
1: + const struct ieee80211_he_cap_elem *he_cap;
1: + bool ht_required;
1: + bool vht_required;
1: + bool twt_responder;
1: + u32 flags;
1: + struct ieee80211_he_obss_pd he_obss_pd;
1: };
1:
1: struct cfg80211_csa_settings {
1: - struct cfg80211_chan_def chandef;
1: - struct cfg80211_beacon_data beacon_csa;
1: - const u16 *counter_offsets_beacon;
1: - const u16 *counter_offsets_presp;
1: - unsigned int n_counter_offsets_beacon;
1: - unsigned int n_counter_offsets_presp;
1: - struct cfg80211_beacon_data beacon_after;
1: - bool radar_required;
1: - bool block_tx;
1: - u8 count;
1: + struct cfg80211_chan_def chandef;
1: + struct cfg80211_beacon_data beacon_csa;
1: + const u16 *counter_offsets_beacon;
1: + const u16 *counter_offsets_presp;
1: + unsigned int n_counter_offsets_beacon;
1: + unsigned int n_counter_offsets_presp;
1: + struct cfg80211_beacon_data beacon_after;
1: + bool radar_required;
1: + bool block_tx;
1: + u8 count;
1: };
1:
1: struct sta_txpwr {
1: - s16 power;
1: - enum nl80211_tx_power_setting type;
1: + s16 power;
1: + enum nl80211_tx_power_setting type;
1: };
1:
1: struct station_parameters {
1: - const u8 *supported_rates;
1: - struct net_device *vlan;
1: - u32 sta_flags_mask;
1: - u32 sta_flags_set;
1: - u32 sta_modify_mask;
1: - int listen_interval;
1: - u16 aid;
1: - u16 vlan_id;
1: - u16 peer_aid;
1: - u8 supported_rates_len;
1: - u8 plink_action;
1: - u8 plink_state;
1: - const struct ieee80211_ht_cap *ht_capa;
1: - const struct ieee80211_vht_cap *vht_capa;
1: - u8 uapsd_queues;
1: - u8 max_sp;
1: - enum nl80211_mesh_power_mode local_pm;
1: - u16 capability;
1: - const u8 *ext_capab;
1: - u8 ext_capab_len;
1: - const u8 *supported_channels;
1: - u8 supported_channels_len;
1: - const u8 *supported_oper_classes;
1: - u8 supported_oper_classes_len;
1: - u8 opmode_notif;
1: - bool opmode_notif_used;
1: - int support_p2p_ps;
1: - const struct ieee80211_he_cap_elem *he_capa;
1: - u8 he_capa_len;
1: - u16 airtime_weight;
1: - struct sta_txpwr txpwr;
1: + const u8 *supported_rates;
1: + struct net_device *vlan;
1: + u32 sta_flags_mask;
1: + u32 sta_flags_set;
1: + u32 sta_modify_mask;
1: + int listen_interval;
1: + u16 aid;
1: + u16 vlan_id;
1: + u16 peer_aid;
1: + u8 supported_rates_len;
1: + u8 plink_action;
1: + u8 plink_state;
1: + const struct ieee80211_ht_cap *ht_capa;
1: + const struct ieee80211_vht_cap *vht_capa;
1: + u8 uapsd_queues;
1: + u8 max_sp;
1: + enum nl80211_mesh_power_mode local_pm;
1: + u16 capability;
1: + const u8 *ext_capab;
1: + u8 ext_capab_len;
1: + const u8 *supported_channels;
1: + u8 supported_channels_len;
1: + const u8 *supported_oper_classes;
1: + u8 supported_oper_classes_len;
1: + u8 opmode_notif;
1: + bool opmode_notif_used;
1: + int support_p2p_ps;
1: + const struct ieee80211_he_cap_elem *he_capa;
1: + u8 he_capa_len;
1: + u16 airtime_weight;
1: + struct sta_txpwr txpwr;
1: };
1:
1: struct station_del_parameters {
1: - const u8 *mac;
1: - u8 subtype;
1: - u16 reason_code;
1: + const u8 *mac;
1: + u8 subtype;
1: + u16 reason_code;
1: };
1:
1: struct rate_info {
1: - u8 flags;
1: - u8 mcs;
1: - u16 legacy;
1: - u8 nss;
1: - u8 bw;
1: - u8 he_gi;
1: - u8 he_dcm;
1: - u8 he_ru_alloc;
1: - u8 n_bonded_ch;
1: + u8 flags;
1: + u8 mcs;
1: + u16 legacy;
1: + u8 nss;
1: + u8 bw;
1: + u8 he_gi;
1: + u8 he_dcm;
1: + u8 he_ru_alloc;
1: + u8 n_bonded_ch;
1: };
1:
1: struct sta_bss_parameters {
1: - u8 flags;
1: - u8 dtim_period;
1: - u16 beacon_interval;
1: + u8 flags;
1: + u8 dtim_period;
1: + u16 beacon_interval;
1: };
1:
1: struct cfg80211_txq_stats {
1: - u32 filled;
1: - u32 backlog_bytes;
1: - u32 backlog_packets;
1: - u32 flows;
1: - u32 drops;
1: - u32 ecn_marks;
1: - u32 overlimit;
1: - u32 overmemory;
1: - u32 collisions;
1: - u32 tx_bytes;
1: - u32 tx_packets;
1: - u32 max_flows;
1: + u32 filled;
1: + u32 backlog_bytes;
1: + u32 backlog_packets;
1: + u32 flows;
1: + u32 drops;
1: + u32 ecn_marks;
1: + u32 overlimit;
1: + u32 overmemory;
1: + u32 collisions;
1: + u32 tx_bytes;
1: + u32 tx_packets;
1: + u32 max_flows;
1: };
1:
1: struct cfg80211_tid_stats {
1: - u32 filled;
1: - u64 rx_msdu;
1: - u64 tx_msdu;
1: - u64 tx_msdu_retries;
1: - u64 tx_msdu_failed;
1: - struct cfg80211_txq_stats txq_stats;
1: + u32 filled;
1: + u64 rx_msdu;
1: + u64 tx_msdu;
1: + u64 tx_msdu_retries;
1: + u64 tx_msdu_failed;
1: + struct cfg80211_txq_stats txq_stats;
1: };
1:
1: struct station_info {
1: - u64 filled;
1: - u32 connected_time;
1: - u32 inactive_time;
1: - u64 assoc_at;
1: - u64 rx_bytes;
1: - u64 tx_bytes;
1: - u16 llid;
1: - u16 plid;
1: - u8 plink_state;
1: - s8 signal;
1: - s8 signal_avg;
1: - u8 chains;
1: - s8 chain_signal[4];
1: - s8 chain_signal_avg[4];
1: - struct rate_info txrate;
1: - struct rate_info rxrate;
1: - u32 rx_packets;
1: - u32 tx_packets;
1: - u32 tx_retries;
1: - u32 tx_failed;
1: - u32 rx_dropped_misc;
1: - struct sta_bss_parameters bss_param;
1: - struct nl80211_sta_flag_update sta_flags;
1: - int generation;
1: - const u8 *assoc_req_ies;
1: - size_t assoc_req_ies_len;
1: - u32 beacon_loss_count;
1: - s64 t_offset;
1: - enum nl80211_mesh_power_mode local_pm;
1: - enum nl80211_mesh_power_mode peer_pm;
1: - enum nl80211_mesh_power_mode nonpeer_pm;
1: - u32 expected_throughput;
1: - u64 tx_duration;
1: - u64 rx_duration;
1: - u64 rx_beacon;
1: - u8 rx_beacon_signal_avg;
1: - u8 connected_to_gate;
1: - struct cfg80211_tid_stats *pertid;
1: - s8 ack_signal;
1: - s8 avg_ack_signal;
1: - u16 airtime_weight;
1: - u32 rx_mpdu_count;
1: - u32 fcs_err_count;
1: - u32 airtime_link_metric;
1: + u64 filled;
1: + u32 connected_time;
1: + u32 inactive_time;
1: + u64 assoc_at;
1: + u64 rx_bytes;
1: + u64 tx_bytes;
1: + u16 llid;
1: + u16 plid;
1: + u8 plink_state;
1: + s8 signal;
1: + s8 signal_avg;
1: + u8 chains;
1: + s8 chain_signal[4];
1: + s8 chain_signal_avg[4];
1: + struct rate_info txrate;
1: + struct rate_info rxrate;
1: + u32 rx_packets;
1: + u32 tx_packets;
1: + u32 tx_retries;
1: + u32 tx_failed;
1: + u32 rx_dropped_misc;
1: + struct sta_bss_parameters bss_param;
1: + struct nl80211_sta_flag_update sta_flags;
1: + int generation;
1: + const u8 *assoc_req_ies;
1: + size_t assoc_req_ies_len;
1: + u32 beacon_loss_count;
1: + s64 t_offset;
1: + enum nl80211_mesh_power_mode local_pm;
1: + enum nl80211_mesh_power_mode peer_pm;
1: + enum nl80211_mesh_power_mode nonpeer_pm;
1: + u32 expected_throughput;
1: + u64 tx_duration;
1: + u64 rx_duration;
1: + u64 rx_beacon;
1: + u8 rx_beacon_signal_avg;
1: + u8 connected_to_gate;
1: + struct cfg80211_tid_stats *pertid;
1: + s8 ack_signal;
1: + s8 avg_ack_signal;
1: + u16 airtime_weight;
1: + u32 rx_mpdu_count;
1: + u32 fcs_err_count;
1: + u32 airtime_link_metric;
1: };
1:
1: struct mpath_info {
1: - u32 filled;
1: - u32 frame_qlen;
1: - u32 sn;
1: - u32 metric;
1: - u32 exptime;
1: - u32 discovery_timeout;
1: - u8 discovery_retries;
1: - u8 flags;
1: - u8 hop_count;
1: - u32 path_change_count;
1: - int generation;
1: + u32 filled;
1: + u32 frame_qlen;
1: + u32 sn;
1: + u32 metric;
1: + u32 exptime;
1: + u32 discovery_timeout;
1: + u8 discovery_retries;
1: + u8 flags;
1: + u8 hop_count;
1: + u32 path_change_count;
1: + int generation;
1: };
1:
1: struct bss_parameters {
1: - int use_cts_prot;
1: - int use_short_preamble;
1: - int use_short_slot_time;
1: - const u8 *basic_rates;
1: - u8 basic_rates_len;
1: - int ap_isolate;
1: - int ht_opmode;
1: - s8 p2p_ctwindow;
1: - s8 p2p_opp_ps;
1: + int use_cts_prot;
1: + int use_short_preamble;
1: + int use_short_slot_time;
1: + const u8 *basic_rates;
1: + u8 basic_rates_len;
1: + int ap_isolate;
1: + int ht_opmode;
1: + s8 p2p_ctwindow;
1: + s8 p2p_opp_ps;
1: };
1:
1: struct mesh_config {
1: - u16 dot11MeshRetryTimeout;
1: - u16 dot11MeshConfirmTimeout;
1: - u16 dot11MeshHoldingTimeout;
1: - u16 dot11MeshMaxPeerLinks;
1: - u8 dot11MeshMaxRetries;
1: - u8 dot11MeshTTL;
1: - u8 element_ttl;
1: - bool auto_open_plinks;
1: - u32 dot11MeshNbrOffsetMaxNeighbor;
1: - u8 dot11MeshHWMPmaxPREQretries;
1: - u32 path_refresh_time;
1: - u16 min_discovery_timeout;
1: - u32 dot11MeshHWMPactivePathTimeout;
1: - u16 dot11MeshHWMPpreqMinInterval;
1: - u16 dot11MeshHWMPperrMinInterval;
1: - u16 dot11MeshHWMPnetDiameterTraversalTime;
1: - u8 dot11MeshHWMPRootMode;
1: - bool dot11MeshConnectedToMeshGate;
1: - u16 dot11MeshHWMPRannInterval;
1: - bool dot11MeshGateAnnouncementProtocol;
1: - bool dot11MeshForwarding;
1: - s32 rssi_threshold;
1: - u16 ht_opmode;
1: - u32 dot11MeshHWMPactivePathToRootTimeout;
1: - u16 dot11MeshHWMProotInterval;
1: - u16 dot11MeshHWMPconfirmationInterval;
1: - enum nl80211_mesh_power_mode power_mode;
1: - u16 dot11MeshAwakeWindowDuration;
1: - u32 plink_timeout;
1: + u16 dot11MeshRetryTimeout;
1: + u16 dot11MeshConfirmTimeout;
1: + u16 dot11MeshHoldingTimeout;
1: + u16 dot11MeshMaxPeerLinks;
1: + u8 dot11MeshMaxRetries;
1: + u8 dot11MeshTTL;
1: + u8 element_ttl;
1: + bool auto_open_plinks;
1: + u32 dot11MeshNbrOffsetMaxNeighbor;
1: + u8 dot11MeshHWMPmaxPREQretries;
1: + u32 path_refresh_time;
1: + u16 min_discovery_timeout;
1: + u32 dot11MeshHWMPactivePathTimeout;
1: + u16 dot11MeshHWMPpreqMinInterval;
1: + u16 dot11MeshHWMPperrMinInterval;
1: + u16 dot11MeshHWMPnetDiameterTraversalTime;
1: + u8 dot11MeshHWMPRootMode;
1: + bool dot11MeshConnectedToMeshGate;
1: + u16 dot11MeshHWMPRannInterval;
1: + bool dot11MeshGateAnnouncementProtocol;
1: + bool dot11MeshForwarding;
1: + s32 rssi_threshold;
1: + u16 ht_opmode;
1: + u32 dot11MeshHWMPactivePathToRootTimeout;
1: + u16 dot11MeshHWMProotInterval;
1: + u16 dot11MeshHWMPconfirmationInterval;
1: + enum nl80211_mesh_power_mode power_mode;
1: + u16 dot11MeshAwakeWindowDuration;
1: + u32 plink_timeout;
1: };
1:
1: struct mesh_setup {
1: - struct cfg80211_chan_def chandef;
1: - const u8 *mesh_id;
1: - u8 mesh_id_len;
1: - u8 sync_method;
1: - u8 path_sel_proto;
1: - u8 path_metric;
1: - u8 auth_id;
1: - const u8 *ie;
1: - u8 ie_len;
1: - bool is_authenticated;
1: - bool is_secure;
1: - bool user_mpm;
1: - u8 dtim_period;
1: - u16 beacon_interval;
1: - int mcast_rate[4];
1: - u32 basic_rates;
1: - struct cfg80211_bitrate_mask beacon_rate;
1: - bool userspace_handles_dfs;
1: - bool control_port_over_nl80211;
1: + struct cfg80211_chan_def chandef;
1: + const u8 *mesh_id;
1: + u8 mesh_id_len;
1: + u8 sync_method;
1: + u8 path_sel_proto;
1: + u8 path_metric;
1: + u8 auth_id;
1: + const u8 *ie;
1: + u8 ie_len;
1: + bool is_authenticated;
1: + bool is_secure;
1: + bool user_mpm;
1: + u8 dtim_period;
1: + u16 beacon_interval;
1: + int mcast_rate[4];
1: + u32 basic_rates;
1: + struct cfg80211_bitrate_mask beacon_rate;
1: + bool userspace_handles_dfs;
1: + bool control_port_over_nl80211;
1: };
1:
1: struct ocb_setup {
1: - struct cfg80211_chan_def chandef;
1: + struct cfg80211_chan_def chandef;
1: };
1:
1: struct ieee80211_txq_params {
1: - enum nl80211_ac ac;
1: - u16 txop;
1: - u16 cwmin;
1: - u16 cwmax;
1: - u8 aifs;
1: + enum nl80211_ac ac;
1: + u16 txop;
1: + u16 cwmin;
1: + u16 cwmax;
1: + u8 aifs;
1: };
1:
1: struct cfg80211_ssid {
1: - u8 ssid[32];
1: - u8 ssid_len;
1: + u8 ssid[32];
1: + u8 ssid_len;
1: };
1:
1: struct cfg80211_scan_info {
1: - u64 scan_start_tsf;
1: - u8 tsf_bssid[6];
1: - bool aborted;
1: + u64 scan_start_tsf;
1: + u8 tsf_bssid[6];
1: + bool aborted;
1: };
1:
1: struct cfg80211_scan_request {
1: - struct cfg80211_ssid *ssids;
1: - int n_ssids;
1: - u32 n_channels;
1: - enum nl80211_bss_scan_width scan_width;
1: - const u8 *ie;
1: - size_t ie_len;
1: - u16 duration;
1: - bool duration_mandatory;
1: - u32 flags;
1: - u32 rates[4];
1: - struct wireless_dev *wdev;
1: - u8 mac_addr[6];
1: - u8 mac_addr_mask[6];
1: - u8 bssid[6];
1: - struct wiphy *wiphy;
1: - long unsigned int scan_start;
1: - struct cfg80211_scan_info info;
1: - bool notified;
1: - bool no_cck;
1: - struct ieee80211_channel *channels[0];
1: + struct cfg80211_ssid *ssids;
1: + int n_ssids;
1: + u32 n_channels;
1: + enum nl80211_bss_scan_width scan_width;
1: + const u8 *ie;
1: + size_t ie_len;
1: + u16 duration;
1: + bool duration_mandatory;
1: + u32 flags;
1: + u32 rates[4];
1: + struct wireless_dev *wdev;
1: + u8 mac_addr[6];
1: + u8 mac_addr_mask[6];
1: + u8 bssid[6];
1: + struct wiphy *wiphy;
1: + long unsigned int scan_start;
1: + struct cfg80211_scan_info info;
1: + bool notified;
1: + bool no_cck;
1: + struct ieee80211_channel *channels[0];
1: };
1:
1: enum cfg80211_signal_type {
1: - CFG80211_SIGNAL_TYPE_NONE = 0,
1: - CFG80211_SIGNAL_TYPE_MBM = 1,
1: - CFG80211_SIGNAL_TYPE_UNSPEC = 2,
1: + CFG80211_SIGNAL_TYPE_NONE = 0,
1: + CFG80211_SIGNAL_TYPE_MBM = 1,
1: + CFG80211_SIGNAL_TYPE_UNSPEC = 2,
1: };
1:
1: struct ieee80211_txrx_stypes;
1: @@ -112757,4165 +113604,4232 @@ struct wiphy_vendor_command;
1: struct cfg80211_pmsr_capabilities;
1:
1: struct wiphy {
1: - u8 perm_addr[6];
1: - u8 addr_mask[6];
1: - struct mac_address *addresses;
1: - const struct ieee80211_txrx_stypes *mgmt_stypes;
1: - const struct ieee80211_iface_combination *iface_combinations;
1: - int n_iface_combinations;
1: - u16 software_iftypes;
1: - u16 n_addresses;
1: - u16 interface_modes;
1: - u16 max_acl_mac_addrs;
1: - u32 flags;
1: - u32 regulatory_flags;
1: - u32 features;
1: - u8 ext_features[6];
1: - u32 ap_sme_capa;
1: - enum cfg80211_signal_type signal_type;
1: - int bss_priv_size;
1: - u8 max_scan_ssids;
1: - u8 max_sched_scan_reqs;
1: - u8 max_sched_scan_ssids;
1: - u8 max_match_sets;
1: - u16 max_scan_ie_len;
1: - u16 max_sched_scan_ie_len;
1: - u32 max_sched_scan_plans;
1: - u32 max_sched_scan_plan_interval;
1: - u32 max_sched_scan_plan_iterations;
1: - int n_cipher_suites;
1: - const u32 *cipher_suites;
1: - int n_akm_suites;
1: - const u32 *akm_suites;
1: - u8 retry_short;
1: - u8 retry_long;
1: - u32 frag_threshold;
1: - u32 rts_threshold;
1: - u8 coverage_class;
1: - char fw_version[32];
1: - u32 hw_version;
1: - const struct wiphy_wowlan_support *wowlan;
1: - struct cfg80211_wowlan *wowlan_config;
1: - u16 max_remain_on_channel_duration;
1: - u8 max_num_pmkids;
1: - u32 available_antennas_tx;
1: - u32 available_antennas_rx;
1: - u32 probe_resp_offload;
1: - const u8 *extended_capabilities;
1: - const u8 *extended_capabilities_mask;
1: - u8 extended_capabilities_len;
1: - const struct wiphy_iftype_ext_capab *iftype_ext_capab;
1: - unsigned int num_iftype_ext_capab;
1: - const void *privid;
1: - struct ieee80211_supported_band *bands[4];
1: - void (*reg_notifier)(struct wiphy *, struct regulatory_request *);
1: - const struct ieee80211_regdomain *regd;
1: - struct device dev;
1: - bool registered;
1: - struct dentry *debugfsdir;
1: - const struct ieee80211_ht_cap *ht_capa_mod_mask;
1: - const struct ieee80211_vht_cap *vht_capa_mod_mask;
1: - struct list_head wdev_list;
1: - possible_net_t _net;
1: - const struct wiphy_coalesce_support *coalesce;
1: - const struct wiphy_vendor_command *vendor_commands;
1: - const struct nl80211_vendor_cmd_info *vendor_events;
1: - int n_vendor_commands;
1: - int n_vendor_events;
1: - u16 max_ap_assoc_sta;
1: - u8 max_num_csa_counters;
1: - u8 max_adj_channel_rssi_comp;
1: - u32 bss_select_support;
1: - u8 nan_supported_bands;
1: - u32 txq_limit;
1: - u32 txq_memory_limit;
1: - u32 txq_quantum;
1: - u8 support_mbssid: 1;
1: - u8 support_only_he_mbssid: 1;
1: - const struct cfg80211_pmsr_capabilities *pmsr_capa;
1: - long: 64;
1: - long: 64;
1: - long: 64;
1: - char priv[0];
1: + u8 perm_addr[6];
1: + u8 addr_mask[6];
1: + struct mac_address *addresses;
1: + const struct ieee80211_txrx_stypes *mgmt_stypes;
1: + const struct ieee80211_iface_combination *iface_combinations;
1: + int n_iface_combinations;
1: + u16 software_iftypes;
1: + u16 n_addresses;
1: + u16 interface_modes;
1: + u16 max_acl_mac_addrs;
1: + u32 flags;
1: + u32 regulatory_flags;
1: + u32 features;
1: + u8 ext_features[6];
1: + u32 ap_sme_capa;
1: + enum cfg80211_signal_type signal_type;
1: + int bss_priv_size;
1: + u8 max_scan_ssids;
1: + u8 max_sched_scan_reqs;
1: + u8 max_sched_scan_ssids;
1: + u8 max_match_sets;
1: + u16 max_scan_ie_len;
1: + u16 max_sched_scan_ie_len;
1: + u32 max_sched_scan_plans;
1: + u32 max_sched_scan_plan_interval;
1: + u32 max_sched_scan_plan_iterations;
1: + int n_cipher_suites;
1: + const u32 *cipher_suites;
1: + int n_akm_suites;
1: + const u32 *akm_suites;
1: + u8 retry_short;
1: + u8 retry_long;
1: + u32 frag_threshold;
1: + u32 rts_threshold;
1: + u8 coverage_class;
1: + char fw_version[32];
1: + u32 hw_version;
1: + const struct wiphy_wowlan_support *wowlan;
1: + struct cfg80211_wowlan *wowlan_config;
1: + u16 max_remain_on_channel_duration;
1: + u8 max_num_pmkids;
1: + u32 available_antennas_tx;
1: + u32 available_antennas_rx;
1: + u32 probe_resp_offload;
1: + const u8 *extended_capabilities;
1: + const u8 *extended_capabilities_mask;
1: + u8 extended_capabilities_len;
1: + const struct wiphy_iftype_ext_capab *iftype_ext_capab;
1: + unsigned int num_iftype_ext_capab;
1: + const void *privid;
1: + struct ieee80211_supported_band *bands[4];
1: + void (*reg_notifier)(struct wiphy *, struct regulatory_request *);
1: + const struct ieee80211_regdomain *regd;
1: + struct device dev;
1: + bool registered;
1: + struct dentry *debugfsdir;
1: + const struct ieee80211_ht_cap *ht_capa_mod_mask;
1: + const struct ieee80211_vht_cap *vht_capa_mod_mask;
1: + struct list_head wdev_list;
1: + possible_net_t _net;
1: + const struct wiphy_coalesce_support *coalesce;
1: + const struct wiphy_vendor_command *vendor_commands;
1: + const struct nl80211_vendor_cmd_info *vendor_events;
1: + int n_vendor_commands;
1: + int n_vendor_events;
1: + u16 max_ap_assoc_sta;
1: + u8 max_num_csa_counters;
1: + u8 max_adj_channel_rssi_comp;
1: + u32 bss_select_support;
1: + u8 nan_supported_bands;
1: + u32 txq_limit;
1: + u32 txq_memory_limit;
1: + u32 txq_quantum;
1: + u8 support_mbssid : 1;
1: + u8 support_only_he_mbssid : 1;
1: + const struct cfg80211_pmsr_capabilities *pmsr_capa;
1: + long : 64;
1: + long : 64;
1: + long : 64;
1: + char priv[0];
1: };
1:
1: struct cfg80211_match_set {
1: - struct cfg80211_ssid ssid;
1: - u8 bssid[6];
1: - s32 rssi_thold;
1: - s32 per_band_rssi_thold[4];
1: + struct cfg80211_ssid ssid;
1: + u8 bssid[6];
1: + s32 rssi_thold;
1: + s32 per_band_rssi_thold[4];
1: };
1:
1: struct cfg80211_sched_scan_plan {
1: - u32 interval;
1: - u32 iterations;
1: + u32 interval;
1: + u32 iterations;
1: };
1:
1: struct cfg80211_bss_select_adjust {
1: - enum nl80211_band band;
1: - s8 delta;
1: + enum nl80211_band band;
1: + s8 delta;
1: };
1:
1: struct cfg80211_sched_scan_request {
1: - u64 reqid;
1: - struct cfg80211_ssid *ssids;
1: - int n_ssids;
1: - u32 n_channels;
1: - enum nl80211_bss_scan_width scan_width;
1: - const u8 *ie;
1: - size_t ie_len;
1: - u32 flags;
1: - struct cfg80211_match_set *match_sets;
1: - int n_match_sets;
1: - s32 min_rssi_thold;
1: - u32 delay;
1: - struct cfg80211_sched_scan_plan *scan_plans;
1: - int n_scan_plans;
1: - u8 mac_addr[6];
1: - u8 mac_addr_mask[6];
1: - bool relative_rssi_set;
1: - s8 relative_rssi;
1: - struct cfg80211_bss_select_adjust rssi_adjust;
1: - struct wiphy *wiphy;
1: - struct net_device *dev;
1: - long unsigned int scan_start;
1: - bool report_results;
1: - struct callback_head callback_head;
1: - u32 owner_nlportid;
1: - bool nl_owner_dead;
1: - struct list_head list;
1: - struct ieee80211_channel *channels[0];
1: + u64 reqid;
1: + struct cfg80211_ssid *ssids;
1: + int n_ssids;
1: + u32 n_channels;
1: + enum nl80211_bss_scan_width scan_width;
1: + const u8 *ie;
1: + size_t ie_len;
1: + u32 flags;
1: + struct cfg80211_match_set *match_sets;
1: + int n_match_sets;
1: + s32 min_rssi_thold;
1: + u32 delay;
1: + struct cfg80211_sched_scan_plan *scan_plans;
1: + int n_scan_plans;
1: + u8 mac_addr[6];
1: + u8 mac_addr_mask[6];
1: + bool relative_rssi_set;
1: + s8 relative_rssi;
1: + struct cfg80211_bss_select_adjust rssi_adjust;
1: + struct wiphy *wiphy;
1: + struct net_device *dev;
1: + long unsigned int scan_start;
1: + bool report_results;
1: + struct callback_head callback_head;
1: + u32 owner_nlportid;
1: + bool nl_owner_dead;
1: + struct list_head list;
1: + struct ieee80211_channel *channels[0];
1: };
1:
1: struct cfg80211_bss_ies {
1: - u64 tsf;
1: - struct callback_head callback_head;
1: - int len;
1: - bool from_beacon;
1: - u8 data[0];
1: + u64 tsf;
1: + struct callback_head callback_head;
1: + int len;
1: + bool from_beacon;
1: + u8 data[0];
1: };
1:
1: struct cfg80211_bss {
1: - struct ieee80211_channel *channel;
1: - enum nl80211_bss_scan_width scan_width;
1: - const struct cfg80211_bss_ies *ies;
1: - const struct cfg80211_bss_ies *beacon_ies;
1: - const struct cfg80211_bss_ies *proberesp_ies;
1: - struct cfg80211_bss *hidden_beacon_bss;
1: - struct cfg80211_bss *transmitted_bss;
1: - struct list_head nontrans_list;
1: - s32 signal;
1: - u16 beacon_interval;
1: - u16 capability;
1: - u8 bssid[6];
1: - u8 chains;
1: - s8 chain_signal[4];
1: - u8 bssid_index;
1: - u8 max_bssid_indicator;
1: - int: 24;
1: - u8 priv[0];
1: + struct ieee80211_channel *channel;
1: + enum nl80211_bss_scan_width scan_width;
1: + const struct cfg80211_bss_ies *ies;
1: + const struct cfg80211_bss_ies *beacon_ies;
1: + const struct cfg80211_bss_ies *proberesp_ies;
1: + struct cfg80211_bss *hidden_beacon_bss;
1: + struct cfg80211_bss *transmitted_bss;
1: + struct list_head nontrans_list;
1: + s32 signal;
1: + u16 beacon_interval;
1: + u16 capability;
1: + u8 bssid[6];
1: + u8 chains;
1: + s8 chain_signal[4];
1: + u8 bssid_index;
1: + u8 max_bssid_indicator;
1: + int : 24;
1: + u8 priv[0];
1: };
1:
1: struct cfg80211_auth_request {
1: - struct cfg80211_bss *bss;
1: - const u8 *ie;
1: - size_t ie_len;
1: - enum nl80211_auth_type auth_type;
1: - const u8 *key;
1: - u8 key_len;
1: - u8 key_idx;
1: - const u8 *auth_data;
1: - size_t auth_data_len;
1: + struct cfg80211_bss *bss;
1: + const u8 *ie;
1: + size_t ie_len;
1: + enum nl80211_auth_type auth_type;
1: + const u8 *key;
1: + u8 key_len;
1: + u8 key_idx;
1: + const u8 *auth_data;
1: + size_t auth_data_len;
1: };
1:
1: struct cfg80211_assoc_request {
1: - struct cfg80211_bss *bss;
1: - const u8 *ie;
1: - const u8 *prev_bssid;
1: - size_t ie_len;
1: - struct cfg80211_crypto_settings crypto;
1: - bool use_mfp;
1: - int: 24;
1: - u32 flags;
1: - struct ieee80211_ht_cap ht_capa;
1: - struct ieee80211_ht_cap ht_capa_mask;
1: - struct ieee80211_vht_cap vht_capa;
1: - struct ieee80211_vht_cap vht_capa_mask;
1: - int: 32;
1: - const u8 *fils_kek;
1: - size_t fils_kek_len;
1: - const u8 *fils_nonces;
1: + struct cfg80211_bss *bss;
1: + const u8 *ie;
1: + const u8 *prev_bssid;
1: + size_t ie_len;
1: + struct cfg80211_crypto_settings crypto;
1: + bool use_mfp;
1: + int : 24;
1: + u32 flags;
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + struct ieee80211_vht_cap vht_capa;
1: + struct ieee80211_vht_cap vht_capa_mask;
1: + int : 32;
1: + const u8 *fils_kek;
1: + size_t fils_kek_len;
1: + const u8 *fils_nonces;
1: } __attribute__((packed));
1:
1: struct cfg80211_deauth_request {
1: - const u8 *bssid;
1: - const u8 *ie;
1: - size_t ie_len;
1: - u16 reason_code;
1: - bool local_state_change;
1: + const u8 *bssid;
1: + const u8 *ie;
1: + size_t ie_len;
1: + u16 reason_code;
1: + bool local_state_change;
1: };
1:
1: struct cfg80211_disassoc_request {
1: - struct cfg80211_bss *bss;
1: - const u8 *ie;
1: - size_t ie_len;
1: - u16 reason_code;
1: - bool local_state_change;
1: + struct cfg80211_bss *bss;
1: + const u8 *ie;
1: + size_t ie_len;
1: + u16 reason_code;
1: + bool local_state_change;
1: };
1:
1: struct cfg80211_ibss_params {
1: - const u8 *ssid;
1: - const u8 *bssid;
1: - struct cfg80211_chan_def chandef;
1: - const u8 *ie;
1: - u8 ssid_len;
1: - u8 ie_len;
1: - u16 beacon_interval;
1: - u32 basic_rates;
1: - bool channel_fixed;
1: - bool privacy;
1: - bool control_port;
1: - bool control_port_over_nl80211;
1: - bool userspace_handles_dfs;
1: - int: 24;
1: - int mcast_rate[4];
1: - struct ieee80211_ht_cap ht_capa;
1: - struct ieee80211_ht_cap ht_capa_mask;
1: - int: 32;
1: - struct key_params *wep_keys;
1: - int wep_tx_key;
1: - int: 32;
1: + const u8 *ssid;
1: + const u8 *bssid;
1: + struct cfg80211_chan_def chandef;
1: + const u8 *ie;
1: + u8 ssid_len;
1: + u8 ie_len;
1: + u16 beacon_interval;
1: + u32 basic_rates;
1: + bool channel_fixed;
1: + bool privacy;
1: + bool control_port;
1: + bool control_port_over_nl80211;
1: + bool userspace_handles_dfs;
1: + int : 24;
1: + int mcast_rate[4];
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + int : 32;
1: + struct key_params *wep_keys;
1: + int wep_tx_key;
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct cfg80211_bss_selection {
1: - enum nl80211_bss_select_attr behaviour;
1: - union {
1: - enum nl80211_band band_pref;
1: - struct cfg80211_bss_select_adjust adjust;
1: - } param;
1: + enum nl80211_bss_select_attr behaviour;
1: + union {
1: + enum nl80211_band band_pref;
1: + struct cfg80211_bss_select_adjust adjust;
1: + } param;
1: };
1:
1: struct cfg80211_connect_params {
1: - struct ieee80211_channel *channel;
1: - struct ieee80211_channel *channel_hint;
1: - const u8 *bssid;
1: - const u8 *bssid_hint;
1: - const u8 *ssid;
1: - size_t ssid_len;
1: - enum nl80211_auth_type auth_type;
1: - int: 32;
1: - const u8 *ie;
1: - size_t ie_len;
1: - bool privacy;
1: - int: 24;
1: - enum nl80211_mfp mfp;
1: - struct cfg80211_crypto_settings crypto;
1: - const u8 *key;
1: - u8 key_len;
1: - u8 key_idx;
1: - short: 16;
1: - u32 flags;
1: - int bg_scan_period;
1: - struct ieee80211_ht_cap ht_capa;
1: - struct ieee80211_ht_cap ht_capa_mask;
1: - struct ieee80211_vht_cap vht_capa;
1: - struct ieee80211_vht_cap vht_capa_mask;
1: - bool pbss;
1: - int: 24;
1: - struct cfg80211_bss_selection bss_select;
1: - const u8 *prev_bssid;
1: - const u8 *fils_erp_username;
1: - size_t fils_erp_username_len;
1: - const u8 *fils_erp_realm;
1: - size_t fils_erp_realm_len;
1: - u16 fils_erp_next_seq_num;
1: - long: 48;
1: - const u8 *fils_erp_rrk;
1: - size_t fils_erp_rrk_len;
1: - bool want_1x;
1: - int: 24;
1: - struct ieee80211_edmg edmg;
1: - int: 32;
1: + struct ieee80211_channel *channel;
1: + struct ieee80211_channel *channel_hint;
1: + const u8 *bssid;
1: + const u8 *bssid_hint;
1: + const u8 *ssid;
1: + size_t ssid_len;
1: + enum nl80211_auth_type auth_type;
1: + int : 32;
1: + const u8 *ie;
1: + size_t ie_len;
1: + bool privacy;
1: + int : 24;
1: + enum nl80211_mfp mfp;
1: + struct cfg80211_crypto_settings crypto;
1: + const u8 *key;
1: + u8 key_len;
1: + u8 key_idx;
1: + short : 16;
1: + u32 flags;
1: + int bg_scan_period;
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + struct ieee80211_vht_cap vht_capa;
1: + struct ieee80211_vht_cap vht_capa_mask;
1: + bool pbss;
1: + int : 24;
1: + struct cfg80211_bss_selection bss_select;
1: + const u8 *prev_bssid;
1: + const u8 *fils_erp_username;
1: + size_t fils_erp_username_len;
1: + const u8 *fils_erp_realm;
1: + size_t fils_erp_realm_len;
1: + u16 fils_erp_next_seq_num;
1: + long : 48;
1: + const u8 *fils_erp_rrk;
1: + size_t fils_erp_rrk_len;
1: + bool want_1x;
1: + int : 24;
1: + struct ieee80211_edmg edmg;
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct cfg80211_pmksa {
1: - const u8 *bssid;
1: - const u8 *pmkid;
1: - const u8 *pmk;
1: - size_t pmk_len;
1: - const u8 *ssid;
1: - size_t ssid_len;
1: - const u8 *cache_id;
1: + const u8 *bssid;
1: + const u8 *pmkid;
1: + const u8 *pmk;
1: + size_t pmk_len;
1: + const u8 *ssid;
1: + size_t ssid_len;
1: + const u8 *cache_id;
1: };
1:
1: struct cfg80211_pkt_pattern {
1: - const u8 *mask;
1: - const u8 *pattern;
1: - int pattern_len;
1: - int pkt_offset;
1: + const u8 *mask;
1: + const u8 *pattern;
1: + int pattern_len;
1: + int pkt_offset;
1: };
1:
1: struct cfg80211_wowlan_tcp {
1: - struct socket *sock;
1: - __be32 src;
1: - __be32 dst;
1: - u16 src_port;
1: - u16 dst_port;
1: - u8 dst_mac[6];
1: - int payload_len;
1: - const u8 *payload;
1: - struct nl80211_wowlan_tcp_data_seq payload_seq;
1: - u32 data_interval;
1: - u32 wake_len;
1: - const u8 *wake_data;
1: - const u8 *wake_mask;
1: - u32 tokens_size;
1: - struct nl80211_wowlan_tcp_data_token payload_tok;
1: + struct socket *sock;
1: + __be32 src;
1: + __be32 dst;
1: + u16 src_port;
1: + u16 dst_port;
1: + u8 dst_mac[6];
1: + int payload_len;
1: + const u8 *payload;
1: + struct nl80211_wowlan_tcp_data_seq payload_seq;
1: + u32 data_interval;
1: + u32 wake_len;
1: + const u8 *wake_data;
1: + const u8 *wake_mask;
1: + u32 tokens_size;
1: + struct nl80211_wowlan_tcp_data_token payload_tok;
1: };
1:
1: struct cfg80211_wowlan {
1: - bool any;
1: - bool disconnect;
1: - bool magic_pkt;
1: - bool gtk_rekey_failure;
1: - bool eap_identity_req;
1: - bool four_way_handshake;
1: - bool rfkill_release;
1: - struct cfg80211_pkt_pattern *patterns;
1: - struct cfg80211_wowlan_tcp *tcp;
1: - int n_patterns;
1: - struct cfg80211_sched_scan_request *nd_config;
1: + bool any;
1: + bool disconnect;
1: + bool magic_pkt;
1: + bool gtk_rekey_failure;
1: + bool eap_identity_req;
1: + bool four_way_handshake;
1: + bool rfkill_release;
1: + struct cfg80211_pkt_pattern *patterns;
1: + struct cfg80211_wowlan_tcp *tcp;
1: + int n_patterns;
1: + struct cfg80211_sched_scan_request *nd_config;
1: };
1:
1: struct cfg80211_coalesce_rules {
1: - int delay;
1: - enum nl80211_coalesce_condition condition;
1: - struct cfg80211_pkt_pattern *patterns;
1: - int n_patterns;
1: + int delay;
1: + enum nl80211_coalesce_condition condition;
1: + struct cfg80211_pkt_pattern *patterns;
1: + int n_patterns;
1: };
1:
1: struct cfg80211_coalesce {
1: - struct cfg80211_coalesce_rules *rules;
1: - int n_rules;
1: + struct cfg80211_coalesce_rules *rules;
1: + int n_rules;
1: };
1:
1: struct cfg80211_gtk_rekey_data {
1: - const u8 *kek;
1: - const u8 *kck;
1: - const u8 *replay_ctr;
1: + const u8 *kek;
1: + const u8 *kck;
1: + const u8 *replay_ctr;
1: };
1:
1: struct cfg80211_update_ft_ies_params {
1: - u16 md;
1: - const u8 *ie;
1: - size_t ie_len;
1: + u16 md;
1: + const u8 *ie;
1: + size_t ie_len;
1: };
1:
1: struct cfg80211_mgmt_tx_params {
1: - struct ieee80211_channel *chan;
1: - bool offchan;
1: - unsigned int wait;
1: - const u8 *buf;
1: - size_t len;
1: - bool no_cck;
1: - bool dont_wait_for_ack;
1: - int n_csa_offsets;
1: - const u16 *csa_offsets;
1: + struct ieee80211_channel *chan;
1: + bool offchan;
1: + unsigned int wait;
1: + const u8 *buf;
1: + size_t len;
1: + bool no_cck;
1: + bool dont_wait_for_ack;
1: + int n_csa_offsets;
1: + const u16 *csa_offsets;
1: };
1:
1: struct cfg80211_dscp_exception {
1: - u8 dscp;
1: - u8 up;
1: + u8 dscp;
1: + u8 up;
1: };
1:
1: struct cfg80211_dscp_range {
1: - u8 low;
1: - u8 high;
1: + u8 low;
1: + u8 high;
1: };
1:
1: struct cfg80211_qos_map {
1: - u8 num_des;
1: - struct cfg80211_dscp_exception dscp_exception[21];
1: - struct cfg80211_dscp_range up[8];
1: + u8 num_des;
1: + struct cfg80211_dscp_exception dscp_exception[21];
1: + struct cfg80211_dscp_range up[8];
1: };
1:
1: struct cfg80211_nan_conf {
1: - u8 master_pref;
1: - u8 bands;
1: + u8 master_pref;
1: + u8 bands;
1: };
1:
1: struct cfg80211_nan_func_filter {
1: - const u8 *filter;
1: - u8 len;
1: + const u8 *filter;
1: + u8 len;
1: };
1:
1: struct cfg80211_nan_func {
1: - enum nl80211_nan_function_type type;
1: - u8 service_id[6];
1: - u8 publish_type;
1: - bool close_range;
1: - bool publish_bcast;
1: - bool subscribe_active;
1: - u8 followup_id;
1: - u8 followup_reqid;
1: - struct mac_address followup_dest;
1: - u32 ttl;
1: - const u8 *serv_spec_info;
1: - u8 serv_spec_info_len;
1: - bool srf_include;
1: - const u8 *srf_bf;
1: - u8 srf_bf_len;
1: - u8 srf_bf_idx;
1: - struct mac_address *srf_macs;
1: - int srf_num_macs;
1: - struct cfg80211_nan_func_filter *rx_filters;
1: - struct cfg80211_nan_func_filter *tx_filters;
1: - u8 num_tx_filters;
1: - u8 num_rx_filters;
1: - u8 instance_id;
1: - u64 cookie;
1: + enum nl80211_nan_function_type type;
1: + u8 service_id[6];
1: + u8 publish_type;
1: + bool close_range;
1: + bool publish_bcast;
1: + bool subscribe_active;
1: + u8 followup_id;
1: + u8 followup_reqid;
1: + struct mac_address followup_dest;
1: + u32 ttl;
1: + const u8 *serv_spec_info;
1: + u8 serv_spec_info_len;
1: + bool srf_include;
1: + const u8 *srf_bf;
1: + u8 srf_bf_len;
1: + u8 srf_bf_idx;
1: + struct mac_address *srf_macs;
1: + int srf_num_macs;
1: + struct cfg80211_nan_func_filter *rx_filters;
1: + struct cfg80211_nan_func_filter *tx_filters;
1: + u8 num_tx_filters;
1: + u8 num_rx_filters;
1: + u8 instance_id;
1: + u64 cookie;
1: };
1:
1: struct cfg80211_pmk_conf {
1: - const u8 *aa;
1: - u8 pmk_len;
1: - const u8 *pmk;
1: - const u8 *pmk_r0_name;
1: + const u8 *aa;
1: + u8 pmk_len;
1: + const u8 *pmk;
1: + const u8 *pmk_r0_name;
1: };
1:
1: struct cfg80211_external_auth_params {
1: - enum nl80211_external_auth_action action;
1: - u8 bssid[6];
1: - struct cfg80211_ssid ssid;
1: - unsigned int key_mgmt_suite;
1: - u16 status;
1: - const u8 *pmkid;
1: + enum nl80211_external_auth_action action;
1: + u8 bssid[6];
1: + struct cfg80211_ssid ssid;
1: + unsigned int key_mgmt_suite;
1: + u16 status;
1: + const u8 *pmkid;
1: };
1:
1: struct cfg80211_ftm_responder_stats {
1: - u32 filled;
1: - u32 success_num;
1: - u32 partial_num;
1: - u32 failed_num;
1: - u32 asap_num;
1: - u32 non_asap_num;
1: - u64 total_duration_ms;
1: - u32 unknown_triggers_num;
1: - u32 reschedule_requests_num;
1: - u32 out_of_window_triggers_num;
1: + u32 filled;
1: + u32 success_num;
1: + u32 partial_num;
1: + u32 failed_num;
1: + u32 asap_num;
1: + u32 non_asap_num;
1: + u64 total_duration_ms;
1: + u32 unknown_triggers_num;
1: + u32 reschedule_requests_num;
1: + u32 out_of_window_triggers_num;
1: };
1:
1: struct cfg80211_pmsr_ftm_request_peer {
1: - enum nl80211_preamble preamble;
1: - u16 burst_period;
1: - u8 requested: 1;
1: - u8 asap: 1;
1: - u8 request_lci: 1;
1: - u8 request_civicloc: 1;
1: - u8 num_bursts_exp;
1: - u8 burst_duration;
1: - u8 ftms_per_burst;
1: - u8 ftmr_retries;
1: + enum nl80211_preamble preamble;
1: + u16 burst_period;
1: + u8 requested : 1;
1: + u8 asap : 1;
1: + u8 request_lci : 1;
1: + u8 request_civicloc : 1;
1: + u8 num_bursts_exp;
1: + u8 burst_duration;
1: + u8 ftms_per_burst;
1: + u8 ftmr_retries;
1: };
1:
1: struct cfg80211_pmsr_request_peer {
1: - u8 addr[6];
1: - struct cfg80211_chan_def chandef;
1: - u8 report_ap_tsf: 1;
1: - struct cfg80211_pmsr_ftm_request_peer ftm;
1: + u8 addr[6];
1: + struct cfg80211_chan_def chandef;
1: + u8 report_ap_tsf : 1;
1: + struct cfg80211_pmsr_ftm_request_peer ftm;
1: };
1:
1: struct cfg80211_pmsr_request {
1: - u64 cookie;
1: - void *drv_data;
1: - u32 n_peers;
1: - u32 nl_portid;
1: - u32 timeout;
1: - u8 mac_addr[6];
1: - u8 mac_addr_mask[6];
1: - struct list_head list;
1: - struct cfg80211_pmsr_request_peer peers[0];
1: + u64 cookie;
1: + void *drv_data;
1: + u32 n_peers;
1: + u32 nl_portid;
1: + u32 timeout;
1: + u8 mac_addr[6];
1: + u8 mac_addr_mask[6];
1: + struct list_head list;
1: + struct cfg80211_pmsr_request_peer peers[0];
1: };
1:
1: struct cfg80211_update_owe_info {
1: - u8 peer[6];
1: - u16 status;
1: - const u8 *ie;
1: - size_t ie_len;
1: + u8 peer[6];
1: + u16 status;
1: + const u8 *ie;
1: + size_t ie_len;
1: };
1:
1: struct cfg80211_ops {
1: - int (*suspend)(struct wiphy *, struct cfg80211_wowlan *);
1: - int (*resume)(struct wiphy *);
1: - void (*set_wakeup)(struct wiphy *, bool);
1: - struct wireless_dev * (*add_virtual_intf)(struct wiphy *, const char *, unsigned char, enum nl80211_iftype, struct vif_params *);
1: - int (*del_virtual_intf)(struct wiphy *, struct wireless_dev *);
1: - int (*change_virtual_intf)(struct wiphy *, struct net_device *, enum nl80211_iftype, struct vif_params *);
1: - int (*add_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *, struct key_params *);
1: - int (*get_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *, void *, void (*)(void *, struct key_params *));
1: - int (*del_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *);
1: - int (*set_default_key)(struct wiphy *, struct net_device *, u8, bool, bool);
1: - int (*set_default_mgmt_key)(struct wiphy *, struct net_device *, u8);
1: - int (*start_ap)(struct wiphy *, struct net_device *, struct cfg80211_ap_settings *);
1: - int (*change_beacon)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *);
1: - int (*stop_ap)(struct wiphy *, struct net_device *);
1: - int (*add_station)(struct wiphy *, struct net_device *, const u8 *, struct station_parameters *);
1: - int (*del_station)(struct wiphy *, struct net_device *, struct station_del_parameters *);
1: - int (*change_station)(struct wiphy *, struct net_device *, const u8 *, struct station_parameters *);
1: - int (*get_station)(struct wiphy *, struct net_device *, const u8 *, struct station_info *);
1: - int (*dump_station)(struct wiphy *, struct net_device *, int, u8 *, struct station_info *);
1: - int (*add_mpath)(struct wiphy *, struct net_device *, const u8 *, const u8 *);
1: - int (*del_mpath)(struct wiphy *, struct net_device *, const u8 *);
1: - int (*change_mpath)(struct wiphy *, struct net_device *, const u8 *, const u8 *);
1: - int (*get_mpath)(struct wiphy *, struct net_device *, u8 *, u8 *, struct mpath_info *);
1: - int (*dump_mpath)(struct wiphy *, struct net_device *, int, u8 *, u8 *, struct mpath_info *);
1: - int (*get_mpp)(struct wiphy *, struct net_device *, u8 *, u8 *, struct mpath_info *);
1: - int (*dump_mpp)(struct wiphy *, struct net_device *, int, u8 *, u8 *, struct mpath_info *);
1: - int (*get_mesh_config)(struct wiphy *, struct net_device *, struct mesh_config *);
1: - int (*update_mesh_config)(struct wiphy *, struct net_device *, u32, const struct mesh_config *);
1: - int (*join_mesh)(struct wiphy *, struct net_device *, const struct mesh_config *, const struct mesh_setup *);
1: - int (*leave_mesh)(struct wiphy *, struct net_device *);
1: - int (*join_ocb)(struct wiphy *, struct net_device *, struct ocb_setup *);
1: - int (*leave_ocb)(struct wiphy *, struct net_device *);
1: - int (*change_bss)(struct wiphy *, struct net_device *, struct bss_parameters *);
1: - int (*set_txq_params)(struct wiphy *, struct net_device *, struct ieee80211_txq_params *);
1: - int (*libertas_set_mesh_channel)(struct wiphy *, struct net_device *, struct ieee80211_channel *);
1: - int (*set_monitor_channel)(struct wiphy *, struct cfg80211_chan_def *);
1: - int (*scan)(struct wiphy *, struct cfg80211_scan_request *);
1: - void (*abort_scan)(struct wiphy *, struct wireless_dev *);
1: - int (*auth)(struct wiphy *, struct net_device *, struct cfg80211_auth_request *);
1: - int (*assoc)(struct wiphy *, struct net_device *, struct cfg80211_assoc_request *);
1: - int (*deauth)(struct wiphy *, struct net_device *, struct cfg80211_deauth_request *);
1: - int (*disassoc)(struct wiphy *, struct net_device *, struct cfg80211_disassoc_request *);
1: - int (*connect)(struct wiphy *, struct net_device *, struct cfg80211_connect_params *);
1: - int (*update_connect_params)(struct wiphy *, struct net_device *, struct cfg80211_connect_params *, u32);
1: - int (*disconnect)(struct wiphy *, struct net_device *, u16);
1: - int (*join_ibss)(struct wiphy *, struct net_device *, struct cfg80211_ibss_params *);
1: - int (*leave_ibss)(struct wiphy *, struct net_device *);
1: - int (*set_mcast_rate)(struct wiphy *, struct net_device *, int *);
1: - int (*set_wiphy_params)(struct wiphy *, u32);
1: - int (*set_tx_power)(struct wiphy *, struct wireless_dev *, enum nl80211_tx_power_setting, int);
1: - int (*get_tx_power)(struct wiphy *, struct wireless_dev *, int *);
1: - int (*set_wds_peer)(struct wiphy *, struct net_device *, const u8 *);
1: - void (*rfkill_poll)(struct wiphy *);
1: - int (*set_bitrate_mask)(struct wiphy *, struct net_device *, const u8 *, const struct cfg80211_bitrate_mask *);
1: - int (*dump_survey)(struct wiphy *, struct net_device *, int, struct survey_info *);
1: - int (*set_pmksa)(struct wiphy *, struct net_device *, struct cfg80211_pmksa *);
1: - int (*del_pmksa)(struct wiphy *, struct net_device *, struct cfg80211_pmksa *);
1: - int (*flush_pmksa)(struct wiphy *, struct net_device *);
1: - int (*remain_on_channel)(struct wiphy *, struct wireless_dev *, struct ieee80211_channel *, unsigned int, u64 *);
1: - int (*cancel_remain_on_channel)(struct wiphy *, struct wireless_dev *, u64);
1: - int (*mgmt_tx)(struct wiphy *, struct wireless_dev *, struct cfg80211_mgmt_tx_params *, u64 *);
1: - int (*mgmt_tx_cancel_wait)(struct wiphy *, struct wireless_dev *, u64);
1: - int (*set_power_mgmt)(struct wiphy *, struct net_device *, bool, int);
1: - int (*set_cqm_rssi_config)(struct wiphy *, struct net_device *, s32, u32);
1: - int (*set_cqm_rssi_range_config)(struct wiphy *, struct net_device *, s32, s32);
1: - int (*set_cqm_txe_config)(struct wiphy *, struct net_device *, u32, u32, u32);
1: - void (*mgmt_frame_register)(struct wiphy *, struct wireless_dev *, u16, bool);
1: - int (*set_antenna)(struct wiphy *, u32, u32);
1: - int (*get_antenna)(struct wiphy *, u32 *, u32 *);
1: - int (*sched_scan_start)(struct wiphy *, struct net_device *, struct cfg80211_sched_scan_request *);
1: - int (*sched_scan_stop)(struct wiphy *, struct net_device *, u64);
1: - int (*set_rekey_data)(struct wiphy *, struct net_device *, struct cfg80211_gtk_rekey_data *);
1: - int (*tdls_mgmt)(struct wiphy *, struct net_device *, const u8 *, u8, u8, u16, u32, bool, const u8 *, size_t);
1: - int (*tdls_oper)(struct wiphy *, struct net_device *, const u8 *, enum nl80211_tdls_operation);
1: - int (*probe_client)(struct wiphy *, struct net_device *, const u8 *, u64 *);
1: - int (*set_noack_map)(struct wiphy *, struct net_device *, u16);
1: - int (*get_channel)(struct wiphy *, struct wireless_dev *, struct cfg80211_chan_def *);
1: - int (*start_p2p_device)(struct wiphy *, struct wireless_dev *);
1: - void (*stop_p2p_device)(struct wiphy *, struct wireless_dev *);
1: - int (*set_mac_acl)(struct wiphy *, struct net_device *, const struct cfg80211_acl_data *);
1: - int (*start_radar_detection)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, u32);
1: - void (*end_cac)(struct wiphy *, struct net_device *);
1: - int (*update_ft_ies)(struct wiphy *, struct net_device *, struct cfg80211_update_ft_ies_params *);
1: - int (*crit_proto_start)(struct wiphy *, struct wireless_dev *, enum nl80211_crit_proto_id, u16);
1: - void (*crit_proto_stop)(struct wiphy *, struct wireless_dev *);
1: - int (*set_coalesce)(struct wiphy *, struct cfg80211_coalesce *);
1: - int (*channel_switch)(struct wiphy *, struct net_device *, struct cfg80211_csa_settings *);
1: - int (*set_qos_map)(struct wiphy *, struct net_device *, struct cfg80211_qos_map *);
1: - int (*set_ap_chanwidth)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *);
1: - int (*add_tx_ts)(struct wiphy *, struct net_device *, u8, const u8 *, u8, u16);
1: - int (*del_tx_ts)(struct wiphy *, struct net_device *, u8, const u8 *);
1: - int (*tdls_channel_switch)(struct wiphy *, struct net_device *, const u8 *, u8, struct cfg80211_chan_def *);
1: - void (*tdls_cancel_channel_switch)(struct wiphy *, struct net_device *, const u8 *);
1: - int (*start_nan)(struct wiphy *, struct wireless_dev *, struct cfg80211_nan_conf *);
1: - void (*stop_nan)(struct wiphy *, struct wireless_dev *);
1: - int (*add_nan_func)(struct wiphy *, struct wireless_dev *, struct cfg80211_nan_func *);
1: - void (*del_nan_func)(struct wiphy *, struct wireless_dev *, u64);
1: - int (*nan_change_conf)(struct wiphy *, struct wireless_dev *, struct cfg80211_nan_conf *, u32);
1: - int (*set_multicast_to_unicast)(struct wiphy *, struct net_device *, const bool);
1: - int (*get_txq_stats)(struct wiphy *, struct wireless_dev *, struct cfg80211_txq_stats *);
1: - int (*set_pmk)(struct wiphy *, struct net_device *, const struct cfg80211_pmk_conf *);
1: - int (*del_pmk)(struct wiphy *, struct net_device *, const u8 *);
1: - int (*external_auth)(struct wiphy *, struct net_device *, struct cfg80211_external_auth_params *);
1: - int (*tx_control_port)(struct wiphy *, struct net_device *, const u8 *, size_t, const u8 *, const __be16, const bool);
1: - int (*get_ftm_responder_stats)(struct wiphy *, struct net_device *, struct cfg80211_ftm_responder_stats *);
1: - int (*start_pmsr)(struct wiphy *, struct wireless_dev *, struct cfg80211_pmsr_request *);
1: - void (*abort_pmsr)(struct wiphy *, struct wireless_dev *, struct cfg80211_pmsr_request *);
1: - int (*update_owe_info)(struct wiphy *, struct net_device *, struct cfg80211_update_owe_info *);
1: - int (*probe_mesh_link)(struct wiphy *, struct net_device *, const u8 *, size_t);
1: + int (*suspend)(struct wiphy *, struct cfg80211_wowlan *);
1: + int (*resume)(struct wiphy *);
1: + void (*set_wakeup)(struct wiphy *, bool);
1: + struct wireless_dev *(*add_virtual_intf)(struct wiphy *, const char *,
1: + unsigned char, enum nl80211_iftype,
1: + struct vif_params *);
1: + int (*del_virtual_intf)(struct wiphy *, struct wireless_dev *);
1: + int (*change_virtual_intf)(struct wiphy *, struct net_device *,
1: + enum nl80211_iftype, struct vif_params *);
1: + int (*add_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *,
1: + struct key_params *);
1: + int (*get_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *,
1: + void *, void (*)(void *, struct key_params *));
1: + int (*del_key)(struct wiphy *, struct net_device *, u8, bool, const u8 *);
1: + int (*set_default_key)(struct wiphy *, struct net_device *, u8, bool, bool);
1: + int (*set_default_mgmt_key)(struct wiphy *, struct net_device *, u8);
1: + int (*start_ap)(struct wiphy *, struct net_device *,
1: + struct cfg80211_ap_settings *);
1: + int (*change_beacon)(struct wiphy *, struct net_device *,
1: + struct cfg80211_beacon_data *);
1: + int (*stop_ap)(struct wiphy *, struct net_device *);
1: + int (*add_station)(struct wiphy *, struct net_device *, const u8 *,
1: + struct station_parameters *);
1: + int (*del_station)(struct wiphy *, struct net_device *,
1: + struct station_del_parameters *);
1: + int (*change_station)(struct wiphy *, struct net_device *, const u8 *,
1: + struct station_parameters *);
1: + int (*get_station)(struct wiphy *, struct net_device *, const u8 *,
1: + struct station_info *);
1: + int (*dump_station)(struct wiphy *, struct net_device *, int, u8 *,
1: + struct station_info *);
1: + int (*add_mpath)(struct wiphy *, struct net_device *, const u8 *, const u8 *);
1: + int (*del_mpath)(struct wiphy *, struct net_device *, const u8 *);
1: + int (*change_mpath)(struct wiphy *, struct net_device *, const u8 *,
1: + const u8 *);
1: + int (*get_mpath)(struct wiphy *, struct net_device *, u8 *, u8 *,
1: + struct mpath_info *);
1: + int (*dump_mpath)(struct wiphy *, struct net_device *, int, u8 *, u8 *,
1: + struct mpath_info *);
1: + int (*get_mpp)(struct wiphy *, struct net_device *, u8 *, u8 *,
1: + struct mpath_info *);
1: + int (*dump_mpp)(struct wiphy *, struct net_device *, int, u8 *, u8 *,
1: + struct mpath_info *);
1: + int (*get_mesh_config)(struct wiphy *, struct net_device *,
1: + struct mesh_config *);
1: + int (*update_mesh_config)(struct wiphy *, struct net_device *, u32,
1: + const struct mesh_config *);
1: + int (*join_mesh)(struct wiphy *, struct net_device *,
1: + const struct mesh_config *, const struct mesh_setup *);
1: + int (*leave_mesh)(struct wiphy *, struct net_device *);
1: + int (*join_ocb)(struct wiphy *, struct net_device *, struct ocb_setup *);
1: + int (*leave_ocb)(struct wiphy *, struct net_device *);
1: + int (*change_bss)(struct wiphy *, struct net_device *,
1: + struct bss_parameters *);
1: + int (*set_txq_params)(struct wiphy *, struct net_device *,
1: + struct ieee80211_txq_params *);
1: + int (*libertas_set_mesh_channel)(struct wiphy *, struct net_device *,
1: + struct ieee80211_channel *);
1: + int (*set_monitor_channel)(struct wiphy *, struct cfg80211_chan_def *);
1: + int (*scan)(struct wiphy *, struct cfg80211_scan_request *);
1: + void (*abort_scan)(struct wiphy *, struct wireless_dev *);
1: + int (*auth)(struct wiphy *, struct net_device *,
1: + struct cfg80211_auth_request *);
1: + int (*assoc)(struct wiphy *, struct net_device *,
1: + struct cfg80211_assoc_request *);
1: + int (*deauth)(struct wiphy *, struct net_device *,
1: + struct cfg80211_deauth_request *);
1: + int (*disassoc)(struct wiphy *, struct net_device *,
1: + struct cfg80211_disassoc_request *);
1: + int (*connect)(struct wiphy *, struct net_device *,
1: + struct cfg80211_connect_params *);
1: + int (*update_connect_params)(struct wiphy *, struct net_device *,
1: + struct cfg80211_connect_params *, u32);
1: + int (*disconnect)(struct wiphy *, struct net_device *, u16);
1: + int (*join_ibss)(struct wiphy *, struct net_device *,
1: + struct cfg80211_ibss_params *);
1: + int (*leave_ibss)(struct wiphy *, struct net_device *);
1: + int (*set_mcast_rate)(struct wiphy *, struct net_device *, int *);
1: + int (*set_wiphy_params)(struct wiphy *, u32);
1: + int (*set_tx_power)(struct wiphy *, struct wireless_dev *,
1: + enum nl80211_tx_power_setting, int);
1: + int (*get_tx_power)(struct wiphy *, struct wireless_dev *, int *);
1: + int (*set_wds_peer)(struct wiphy *, struct net_device *, const u8 *);
1: + void (*rfkill_poll)(struct wiphy *);
1: + int (*set_bitrate_mask)(struct wiphy *, struct net_device *, const u8 *,
1: + const struct cfg80211_bitrate_mask *);
1: + int (*dump_survey)(struct wiphy *, struct net_device *, int,
1: + struct survey_info *);
1: + int (*set_pmksa)(struct wiphy *, struct net_device *,
1: + struct cfg80211_pmksa *);
1: + int (*del_pmksa)(struct wiphy *, struct net_device *,
1: + struct cfg80211_pmksa *);
1: + int (*flush_pmksa)(struct wiphy *, struct net_device *);
1: + int (*remain_on_channel)(struct wiphy *, struct wireless_dev *,
1: + struct ieee80211_channel *, unsigned int, u64 *);
1: + int (*cancel_remain_on_channel)(struct wiphy *, struct wireless_dev *, u64);
1: + int (*mgmt_tx)(struct wiphy *, struct wireless_dev *,
1: + struct cfg80211_mgmt_tx_params *, u64 *);
1: + int (*mgmt_tx_cancel_wait)(struct wiphy *, struct wireless_dev *, u64);
1: + int (*set_power_mgmt)(struct wiphy *, struct net_device *, bool, int);
1: + int (*set_cqm_rssi_config)(struct wiphy *, struct net_device *, s32, u32);
1: + int (*set_cqm_rssi_range_config)(struct wiphy *, struct net_device *, s32,
1: + s32);
1: + int (*set_cqm_txe_config)(struct wiphy *, struct net_device *, u32, u32, u32);
1: + void (*mgmt_frame_register)(struct wiphy *, struct wireless_dev *, u16, bool);
1: + int (*set_antenna)(struct wiphy *, u32, u32);
1: + int (*get_antenna)(struct wiphy *, u32 *, u32 *);
1: + int (*sched_scan_start)(struct wiphy *, struct net_device *,
1: + struct cfg80211_sched_scan_request *);
1: + int (*sched_scan_stop)(struct wiphy *, struct net_device *, u64);
1: + int (*set_rekey_data)(struct wiphy *, struct net_device *,
1: + struct cfg80211_gtk_rekey_data *);
1: + int (*tdls_mgmt)(struct wiphy *, struct net_device *, const u8 *, u8, u8, u16,
1: + u32, bool, const u8 *, size_t);
1: + int (*tdls_oper)(struct wiphy *, struct net_device *, const u8 *,
1: + enum nl80211_tdls_operation);
1: + int (*probe_client)(struct wiphy *, struct net_device *, const u8 *, u64 *);
1: + int (*set_noack_map)(struct wiphy *, struct net_device *, u16);
1: + int (*get_channel)(struct wiphy *, struct wireless_dev *,
1: + struct cfg80211_chan_def *);
1: + int (*start_p2p_device)(struct wiphy *, struct wireless_dev *);
1: + void (*stop_p2p_device)(struct wiphy *, struct wireless_dev *);
1: + int (*set_mac_acl)(struct wiphy *, struct net_device *,
1: + const struct cfg80211_acl_data *);
1: + int (*start_radar_detection)(struct wiphy *, struct net_device *,
1: + struct cfg80211_chan_def *, u32);
1: + void (*end_cac)(struct wiphy *, struct net_device *);
1: + int (*update_ft_ies)(struct wiphy *, struct net_device *,
1: + struct cfg80211_update_ft_ies_params *);
1: + int (*crit_proto_start)(struct wiphy *, struct wireless_dev *,
1: + enum nl80211_crit_proto_id, u16);
1: + void (*crit_proto_stop)(struct wiphy *, struct wireless_dev *);
1: + int (*set_coalesce)(struct wiphy *, struct cfg80211_coalesce *);
1: + int (*channel_switch)(struct wiphy *, struct net_device *,
1: + struct cfg80211_csa_settings *);
1: + int (*set_qos_map)(struct wiphy *, struct net_device *,
1: + struct cfg80211_qos_map *);
1: + int (*set_ap_chanwidth)(struct wiphy *, struct net_device *,
1: + struct cfg80211_chan_def *);
1: + int (*add_tx_ts)(struct wiphy *, struct net_device *, u8, const u8 *, u8,
1: + u16);
1: + int (*del_tx_ts)(struct wiphy *, struct net_device *, u8, const u8 *);
1: + int (*tdls_channel_switch)(struct wiphy *, struct net_device *, const u8 *,
1: + u8, struct cfg80211_chan_def *);
1: + void (*tdls_cancel_channel_switch)(struct wiphy *, struct net_device *,
1: + const u8 *);
1: + int (*start_nan)(struct wiphy *, struct wireless_dev *,
1: + struct cfg80211_nan_conf *);
1: + void (*stop_nan)(struct wiphy *, struct wireless_dev *);
1: + int (*add_nan_func)(struct wiphy *, struct wireless_dev *,
1: + struct cfg80211_nan_func *);
1: + void (*del_nan_func)(struct wiphy *, struct wireless_dev *, u64);
1: + int (*nan_change_conf)(struct wiphy *, struct wireless_dev *,
1: + struct cfg80211_nan_conf *, u32);
1: + int (*set_multicast_to_unicast)(struct wiphy *, struct net_device *,
1: + const bool);
1: + int (*get_txq_stats)(struct wiphy *, struct wireless_dev *,
1: + struct cfg80211_txq_stats *);
1: + int (*set_pmk)(struct wiphy *, struct net_device *,
1: + const struct cfg80211_pmk_conf *);
1: + int (*del_pmk)(struct wiphy *, struct net_device *, const u8 *);
1: + int (*external_auth)(struct wiphy *, struct net_device *,
1: + struct cfg80211_external_auth_params *);
1: + int (*tx_control_port)(struct wiphy *, struct net_device *, const u8 *,
1: + size_t, const u8 *, const __be16, const bool);
1: + int (*get_ftm_responder_stats)(struct wiphy *, struct net_device *,
1: + struct cfg80211_ftm_responder_stats *);
1: + int (*start_pmsr)(struct wiphy *, struct wireless_dev *,
1: + struct cfg80211_pmsr_request *);
1: + void (*abort_pmsr)(struct wiphy *, struct wireless_dev *,
1: + struct cfg80211_pmsr_request *);
1: + int (*update_owe_info)(struct wiphy *, struct net_device *,
1: + struct cfg80211_update_owe_info *);
1: + int (*probe_mesh_link)(struct wiphy *, struct net_device *, const u8 *,
1: + size_t);
1: };
1:
1: enum wiphy_flags {
1: - WIPHY_FLAG_NETNS_OK = 8,
1: - WIPHY_FLAG_PS_ON_BY_DEFAULT = 16,
1: - WIPHY_FLAG_4ADDR_AP = 32,
1: - WIPHY_FLAG_4ADDR_STATION = 64,
1: - WIPHY_FLAG_CONTROL_PORT_PROTOCOL = 128,
1: - WIPHY_FLAG_IBSS_RSN = 256,
1: - WIPHY_FLAG_MESH_AUTH = 1024,
1: - WIPHY_FLAG_SUPPORTS_FW_ROAM = 8192,
1: - WIPHY_FLAG_AP_UAPSD = 16384,
1: - WIPHY_FLAG_SUPPORTS_TDLS = 32768,
1: - WIPHY_FLAG_TDLS_EXTERNAL_SETUP = 65536,
1: - WIPHY_FLAG_HAVE_AP_SME = 131072,
1: - WIPHY_FLAG_REPORTS_OBSS = 262144,
1: - WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD = 524288,
1: - WIPHY_FLAG_OFFCHAN_TX = 1048576,
1: - WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL = 2097152,
1: - WIPHY_FLAG_SUPPORTS_5_10_MHZ = 4194304,
1: - WIPHY_FLAG_HAS_CHANNEL_SWITCH = 8388608,
1: - WIPHY_FLAG_HAS_STATIC_WEP = 16777216,
1: + WIPHY_FLAG_NETNS_OK = 8,
1: + WIPHY_FLAG_PS_ON_BY_DEFAULT = 16,
1: + WIPHY_FLAG_4ADDR_AP = 32,
1: + WIPHY_FLAG_4ADDR_STATION = 64,
1: + WIPHY_FLAG_CONTROL_PORT_PROTOCOL = 128,
1: + WIPHY_FLAG_IBSS_RSN = 256,
1: + WIPHY_FLAG_MESH_AUTH = 1024,
1: + WIPHY_FLAG_SUPPORTS_FW_ROAM = 8192,
1: + WIPHY_FLAG_AP_UAPSD = 16384,
1: + WIPHY_FLAG_SUPPORTS_TDLS = 32768,
1: + WIPHY_FLAG_TDLS_EXTERNAL_SETUP = 65536,
1: + WIPHY_FLAG_HAVE_AP_SME = 131072,
1: + WIPHY_FLAG_REPORTS_OBSS = 262144,
1: + WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD = 524288,
1: + WIPHY_FLAG_OFFCHAN_TX = 1048576,
1: + WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL = 2097152,
1: + WIPHY_FLAG_SUPPORTS_5_10_MHZ = 4194304,
1: + WIPHY_FLAG_HAS_CHANNEL_SWITCH = 8388608,
1: + WIPHY_FLAG_HAS_STATIC_WEP = 16777216,
1: };
1:
1: struct ieee80211_iface_limit {
1: - u16 max;
1: - u16 types;
1: + u16 max;
1: + u16 types;
1: };
1:
1: struct ieee80211_iface_combination {
1: - const struct ieee80211_iface_limit *limits;
1: - u32 num_different_channels;
1: - u16 max_interfaces;
1: - u8 n_limits;
1: - bool beacon_int_infra_match;
1: - u8 radar_detect_widths;
1: - u8 radar_detect_regions;
1: - u32 beacon_int_min_gcd;
1: + const struct ieee80211_iface_limit *limits;
1: + u32 num_different_channels;
1: + u16 max_interfaces;
1: + u8 n_limits;
1: + bool beacon_int_infra_match;
1: + u8 radar_detect_widths;
1: + u8 radar_detect_regions;
1: + u32 beacon_int_min_gcd;
1: };
1:
1: struct ieee80211_txrx_stypes {
1: - u16 tx;
1: - u16 rx;
1: + u16 tx;
1: + u16 rx;
1: };
1:
1: enum wiphy_wowlan_support_flags {
1: - WIPHY_WOWLAN_ANY = 1,
1: - WIPHY_WOWLAN_MAGIC_PKT = 2,
1: - WIPHY_WOWLAN_DISCONNECT = 4,
1: - WIPHY_WOWLAN_SUPPORTS_GTK_REKEY = 8,
1: - WIPHY_WOWLAN_GTK_REKEY_FAILURE = 16,
1: - WIPHY_WOWLAN_EAP_IDENTITY_REQ = 32,
1: - WIPHY_WOWLAN_4WAY_HANDSHAKE = 64,
1: - WIPHY_WOWLAN_RFKILL_RELEASE = 128,
1: - WIPHY_WOWLAN_NET_DETECT = 256,
1: + WIPHY_WOWLAN_ANY = 1,
1: + WIPHY_WOWLAN_MAGIC_PKT = 2,
1: + WIPHY_WOWLAN_DISCONNECT = 4,
1: + WIPHY_WOWLAN_SUPPORTS_GTK_REKEY = 8,
1: + WIPHY_WOWLAN_GTK_REKEY_FAILURE = 16,
1: + WIPHY_WOWLAN_EAP_IDENTITY_REQ = 32,
1: + WIPHY_WOWLAN_4WAY_HANDSHAKE = 64,
1: + WIPHY_WOWLAN_RFKILL_RELEASE = 128,
1: + WIPHY_WOWLAN_NET_DETECT = 256,
1: };
1:
1: struct wiphy_wowlan_tcp_support {
1: - const struct nl80211_wowlan_tcp_data_token_feature *tok;
1: - u32 data_payload_max;
1: - u32 data_interval_max;
1: - u32 wake_payload_max;
1: - bool seq;
1: + const struct nl80211_wowlan_tcp_data_token_feature *tok;
1: + u32 data_payload_max;
1: + u32 data_interval_max;
1: + u32 wake_payload_max;
1: + bool seq;
1: };
1:
1: struct wiphy_wowlan_support {
1: - u32 flags;
1: - int n_patterns;
1: - int pattern_max_len;
1: - int pattern_min_len;
1: - int max_pkt_offset;
1: - int max_nd_match_sets;
1: - const struct wiphy_wowlan_tcp_support *tcp;
1: + u32 flags;
1: + int n_patterns;
1: + int pattern_max_len;
1: + int pattern_min_len;
1: + int max_pkt_offset;
1: + int max_nd_match_sets;
1: + const struct wiphy_wowlan_tcp_support *tcp;
1: };
1:
1: struct wiphy_coalesce_support {
1: - int n_rules;
1: - int max_delay;
1: - int n_patterns;
1: - int pattern_max_len;
1: - int pattern_min_len;
1: - int max_pkt_offset;
1: + int n_rules;
1: + int max_delay;
1: + int n_patterns;
1: + int pattern_max_len;
1: + int pattern_min_len;
1: + int max_pkt_offset;
1: };
1:
1: struct wiphy_vendor_command {
1: - struct nl80211_vendor_cmd_info info;
1: - u32 flags;
1: - int (*doit)(struct wiphy *, struct wireless_dev *, const void *, int);
1: - int (*dumpit)(struct wiphy *, struct wireless_dev *, struct sk_buff *, const void *, int, long unsigned int *);
1: - const struct nla_policy *policy;
1: - unsigned int maxattr;
1: + struct nl80211_vendor_cmd_info info;
1: + u32 flags;
1: + int (*doit)(struct wiphy *, struct wireless_dev *, const void *, int);
1: + int (*dumpit)(struct wiphy *, struct wireless_dev *, struct sk_buff *,
1: + const void *, int, long unsigned int *);
1: + const struct nla_policy *policy;
1: + unsigned int maxattr;
1: };
1:
1: struct wiphy_iftype_ext_capab {
1: - enum nl80211_iftype iftype;
1: - const u8 *extended_capabilities;
1: - const u8 *extended_capabilities_mask;
1: - u8 extended_capabilities_len;
1: + enum nl80211_iftype iftype;
1: + const u8 *extended_capabilities;
1: + const u8 *extended_capabilities_mask;
1: + u8 extended_capabilities_len;
1: };
1:
1: struct cfg80211_pmsr_capabilities {
1: - unsigned int max_peers;
1: - u8 report_ap_tsf: 1;
1: - u8 randomize_mac_addr: 1;
1: - struct {
1: - u32 preambles;
1: - u32 bandwidths;
1: - s8 max_bursts_exponent;
1: - u8 max_ftms_per_burst;
1: - u8 supported: 1;
1: - u8 asap: 1;
1: - u8 non_asap: 1;
1: - u8 request_lci: 1;
1: - u8 request_civicloc: 1;
1: - } ftm;
1: + unsigned int max_peers;
1: + u8 report_ap_tsf : 1;
1: + u8 randomize_mac_addr : 1;
1: + struct {
1: + u32 preambles;
1: + u32 bandwidths;
1: + s8 max_bursts_exponent;
1: + u8 max_ftms_per_burst;
1: + u8 supported : 1;
1: + u8 asap : 1;
1: + u8 non_asap : 1;
1: + u8 request_lci : 1;
1: + u8 request_civicloc : 1;
1: + } ftm;
1: };
1:
1: struct cfg80211_cached_keys {
1: - struct key_params params[4];
1: - u8 data[52];
1: - int def;
1: + struct key_params params[4];
1: + u8 data[52];
1: + int def;
1: };
1:
1: struct cfg80211_internal_bss {
1: - struct list_head list;
1: - struct list_head hidden_list;
1: - struct rb_node rbn;
1: - u64 ts_boottime;
1: - long unsigned int ts;
1: - long unsigned int refcount;
1: - atomic_t hold;
1: - u64 parent_tsf;
1: - u8 parent_bssid[6];
1: - struct cfg80211_bss pub;
1: + struct list_head list;
1: + struct list_head hidden_list;
1: + struct rb_node rbn;
1: + u64 ts_boottime;
1: + long unsigned int ts;
1: + long unsigned int refcount;
1: + atomic_t hold;
1: + u64 parent_tsf;
1: + u8 parent_bssid[6];
1: + struct cfg80211_bss pub;
1: };
1:
1: struct cfg80211_cqm_config {
1: - u32 rssi_hyst;
1: - s32 last_rssi_event_value;
1: - int n_rssi_thresholds;
1: - s32 rssi_thresholds[0];
1: + u32 rssi_hyst;
1: + s32 last_rssi_event_value;
1: + int n_rssi_thresholds;
1: + s32 rssi_thresholds[0];
1: };
1:
1: struct cfg80211_fils_resp_params {
1: - const u8 *kek;
1: - size_t kek_len;
1: - bool update_erp_next_seq_num;
1: - u16 erp_next_seq_num;
1: - const u8 *pmk;
1: - size_t pmk_len;
1: - const u8 *pmkid;
1: + const u8 *kek;
1: + size_t kek_len;
1: + bool update_erp_next_seq_num;
1: + u16 erp_next_seq_num;
1: + const u8 *pmk;
1: + size_t pmk_len;
1: + const u8 *pmkid;
1: };
1:
1: struct cfg80211_connect_resp_params {
1: - int status;
1: - const u8 *bssid;
1: - struct cfg80211_bss *bss;
1: - const u8 *req_ie;
1: - size_t req_ie_len;
1: - const u8 *resp_ie;
1: - size_t resp_ie_len;
1: - struct cfg80211_fils_resp_params fils;
1: - enum nl80211_timeout_reason timeout_reason;
1: + int status;
1: + const u8 *bssid;
1: + struct cfg80211_bss *bss;
1: + const u8 *req_ie;
1: + size_t req_ie_len;
1: + const u8 *resp_ie;
1: + size_t resp_ie_len;
1: + struct cfg80211_fils_resp_params fils;
1: + enum nl80211_timeout_reason timeout_reason;
1: };
1:
1: struct cfg80211_roam_info {
1: - struct ieee80211_channel *channel;
1: - struct cfg80211_bss *bss;
1: - const u8 *bssid;
1: - const u8 *req_ie;
1: - size_t req_ie_len;
1: - const u8 *resp_ie;
1: - size_t resp_ie_len;
1: - struct cfg80211_fils_resp_params fils;
1: + struct ieee80211_channel *channel;
1: + struct cfg80211_bss *bss;
1: + const u8 *bssid;
1: + const u8 *req_ie;
1: + size_t req_ie_len;
1: + const u8 *resp_ie;
1: + size_t resp_ie_len;
1: + struct cfg80211_fils_resp_params fils;
1: };
1:
1: struct cfg80211_registered_device {
1: - const struct cfg80211_ops *ops;
1: - struct list_head list;
1: - struct rfkill_ops rfkill_ops;
1: - struct rfkill *rfkill;
1: - struct work_struct rfkill_block;
1: - char country_ie_alpha2[2];
1: - const struct ieee80211_regdomain *requested_regd;
1: - enum environment_cap env;
1: - int wiphy_idx;
1: - int devlist_generation;
1: - int wdev_id;
1: - int opencount;
1: - wait_queue_head_t dev_wait;
1: - struct list_head beacon_registrations;
1: - spinlock_t beacon_registrations_lock;
1: - struct list_head mlme_unreg;
1: - spinlock_t mlme_unreg_lock;
1: - struct work_struct mlme_unreg_wk;
1: - int num_running_ifaces;
1: - int num_running_monitor_ifaces;
1: - u64 cookie_counter;
1: - spinlock_t bss_lock;
1: - struct list_head bss_list;
1: - struct rb_root bss_tree;
1: - u32 bss_generation;
1: - u32 bss_entries;
1: - struct cfg80211_scan_request *scan_req;
1: - struct sk_buff *scan_msg;
1: - struct list_head sched_scan_req_list;
1: - time64_t suspend_at;
1: - struct work_struct scan_done_wk;
1: - struct genl_info *cur_cmd_info;
1: - struct work_struct conn_work;
1: - struct work_struct event_work;
1: - struct delayed_work dfs_update_channels_wk;
1: - u32 crit_proto_nlportid;
1: - struct cfg80211_coalesce *coalesce;
1: - struct work_struct destroy_work;
1: - struct work_struct sched_scan_stop_wk;
1: - struct work_struct sched_scan_res_wk;
1: - struct cfg80211_chan_def radar_chandef;
1: - struct work_struct propagate_radar_detect_wk;
1: - struct cfg80211_chan_def cac_done_chandef;
1: - struct work_struct propagate_cac_done_wk;
1: - long: 64;
1: - struct wiphy wiphy;
1: + const struct cfg80211_ops *ops;
1: + struct list_head list;
1: + struct rfkill_ops rfkill_ops;
1: + struct rfkill *rfkill;
1: + struct work_struct rfkill_block;
1: + char country_ie_alpha2[2];
1: + const struct ieee80211_regdomain *requested_regd;
1: + enum environment_cap env;
1: + int wiphy_idx;
1: + int devlist_generation;
1: + int wdev_id;
1: + int opencount;
1: + wait_queue_head_t dev_wait;
1: + struct list_head beacon_registrations;
1: + spinlock_t beacon_registrations_lock;
1: + struct list_head mlme_unreg;
1: + spinlock_t mlme_unreg_lock;
1: + struct work_struct mlme_unreg_wk;
1: + int num_running_ifaces;
1: + int num_running_monitor_ifaces;
1: + u64 cookie_counter;
1: + spinlock_t bss_lock;
1: + struct list_head bss_list;
1: + struct rb_root bss_tree;
1: + u32 bss_generation;
1: + u32 bss_entries;
1: + struct cfg80211_scan_request *scan_req;
1: + struct sk_buff *scan_msg;
1: + struct list_head sched_scan_req_list;
1: + time64_t suspend_at;
1: + struct work_struct scan_done_wk;
1: + struct genl_info *cur_cmd_info;
1: + struct work_struct conn_work;
1: + struct work_struct event_work;
1: + struct delayed_work dfs_update_channels_wk;
1: + u32 crit_proto_nlportid;
1: + struct cfg80211_coalesce *coalesce;
1: + struct work_struct destroy_work;
1: + struct work_struct sched_scan_stop_wk;
1: + struct work_struct sched_scan_res_wk;
1: + struct cfg80211_chan_def radar_chandef;
1: + struct work_struct propagate_radar_detect_wk;
1: + struct cfg80211_chan_def cac_done_chandef;
1: + struct work_struct propagate_cac_done_wk;
1: + long : 64;
1: + struct wiphy wiphy;
1: };
1:
1: enum cfg80211_event_type {
1: - EVENT_CONNECT_RESULT = 0,
1: - EVENT_ROAMED = 1,
1: - EVENT_DISCONNECTED = 2,
1: - EVENT_IBSS_JOINED = 3,
1: - EVENT_STOPPED = 4,
1: - EVENT_PORT_AUTHORIZED = 5,
1: + EVENT_CONNECT_RESULT = 0,
1: + EVENT_ROAMED = 1,
1: + EVENT_DISCONNECTED = 2,
1: + EVENT_IBSS_JOINED = 3,
1: + EVENT_STOPPED = 4,
1: + EVENT_PORT_AUTHORIZED = 5,
1: };
1:
1: struct cfg80211_event {
1: - struct list_head list;
1: - enum cfg80211_event_type type;
1: - union {
1: - struct cfg80211_connect_resp_params cr;
1: - struct cfg80211_roam_info rm;
1: - struct {
1: - const u8 *ie;
1: - size_t ie_len;
1: - u16 reason;
1: - bool locally_generated;
1: - } dc;
1: - struct {
1: - u8 bssid[6];
1: - struct ieee80211_channel *channel;
1: - } ij;
1: - struct {
1: - u8 bssid[6];
1: - } pa;
1: - };
1: + struct list_head list;
1: + enum cfg80211_event_type type;
1: + union {
1: + struct cfg80211_connect_resp_params cr;
1: + struct cfg80211_roam_info rm;
1: + struct {
1: + const u8 *ie;
1: + size_t ie_len;
1: + u16 reason;
1: + bool locally_generated;
1: + } dc;
1: + struct {
1: + u8 bssid[6];
1: + struct ieee80211_channel *channel;
1: + } ij;
1: + struct {
1: + u8 bssid[6];
1: + } pa;
1: + };
1: };
1:
1: struct cfg80211_beacon_registration {
1: - struct list_head list;
1: - u32 nlportid;
1: + struct list_head list;
1: + u32 nlportid;
1: };
1:
1: struct radiotap_align_size {
1: - uint8_t align: 4;
1: - uint8_t size: 4;
1: + uint8_t align : 4;
1: + uint8_t size : 4;
1: };
1:
1: struct ieee80211_radiotap_namespace {
1: - const struct radiotap_align_size *align_size;
1: - int n_bits;
1: - uint32_t oui;
1: - uint8_t subns;
1: + const struct radiotap_align_size *align_size;
1: + int n_bits;
1: + uint32_t oui;
1: + uint8_t subns;
1: };
1:
1: struct ieee80211_radiotap_vendor_namespaces {
1: - const struct ieee80211_radiotap_namespace *ns;
1: - int n_ns;
1: + const struct ieee80211_radiotap_namespace *ns;
1: + int n_ns;
1: };
1:
1: struct ieee80211_radiotap_header;
1:
1: struct ieee80211_radiotap_iterator {
1: - struct ieee80211_radiotap_header *_rtheader;
1: - const struct ieee80211_radiotap_vendor_namespaces *_vns;
1: - const struct ieee80211_radiotap_namespace *current_namespace;
1: - unsigned char *_arg;
1: - unsigned char *_next_ns_data;
1: - __le32 *_next_bitmap;
1: - unsigned char *this_arg;
1: - int this_arg_index;
1: - int this_arg_size;
1: - int is_radiotap_ns;
1: - int _max_length;
1: - int _arg_index;
1: - uint32_t _bitmap_shifter;
1: - int _reset_on_ext;
1: + struct ieee80211_radiotap_header *_rtheader;
1: + const struct ieee80211_radiotap_vendor_namespaces *_vns;
1: + const struct ieee80211_radiotap_namespace *current_namespace;
1: + unsigned char *_arg;
1: + unsigned char *_next_ns_data;
1: + __le32 *_next_bitmap;
1: + unsigned char *this_arg;
1: + int this_arg_index;
1: + int this_arg_size;
1: + int is_radiotap_ns;
1: + int _max_length;
1: + int _arg_index;
1: + uint32_t _bitmap_shifter;
1: + int _reset_on_ext;
1: };
1:
1: struct ieee80211_radiotap_header {
1: - uint8_t it_version;
1: - uint8_t it_pad;
1: - __le16 it_len;
1: - __le32 it_present;
1: + uint8_t it_version;
1: + uint8_t it_pad;
1: + __le16 it_len;
1: + __le32 it_present;
1: };
1:
1: enum ieee80211_radiotap_presence {
1: - IEEE80211_RADIOTAP_TSFT = 0,
1: - IEEE80211_RADIOTAP_FLAGS = 1,
1: - IEEE80211_RADIOTAP_RATE = 2,
1: - IEEE80211_RADIOTAP_CHANNEL = 3,
1: - IEEE80211_RADIOTAP_FHSS = 4,
1: - IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
1: - IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
1: - IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
1: - IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
1: - IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
1: - IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
1: - IEEE80211_RADIOTAP_ANTENNA = 11,
1: - IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
1: - IEEE80211_RADIOTAP_DB_ANTNOISE = 13,
1: - IEEE80211_RADIOTAP_RX_FLAGS = 14,
1: - IEEE80211_RADIOTAP_TX_FLAGS = 15,
1: - IEEE80211_RADIOTAP_RTS_RETRIES = 16,
1: - IEEE80211_RADIOTAP_DATA_RETRIES = 17,
1: - IEEE80211_RADIOTAP_MCS = 19,
1: - IEEE80211_RADIOTAP_AMPDU_STATUS = 20,
1: - IEEE80211_RADIOTAP_VHT = 21,
1: - IEEE80211_RADIOTAP_TIMESTAMP = 22,
1: - IEEE80211_RADIOTAP_HE = 23,
1: - IEEE80211_RADIOTAP_HE_MU = 24,
1: - IEEE80211_RADIOTAP_ZERO_LEN_PSDU = 26,
1: - IEEE80211_RADIOTAP_LSIG = 27,
1: - IEEE80211_RADIOTAP_RADIOTAP_NAMESPACE = 29,
1: - IEEE80211_RADIOTAP_VENDOR_NAMESPACE = 30,
1: - IEEE80211_RADIOTAP_EXT = 31,
1: + IEEE80211_RADIOTAP_TSFT = 0,
1: + IEEE80211_RADIOTAP_FLAGS = 1,
1: + IEEE80211_RADIOTAP_RATE = 2,
1: + IEEE80211_RADIOTAP_CHANNEL = 3,
1: + IEEE80211_RADIOTAP_FHSS = 4,
1: + IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
1: + IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
1: + IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
1: + IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
1: + IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
1: + IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
1: + IEEE80211_RADIOTAP_ANTENNA = 11,
1: + IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
1: + IEEE80211_RADIOTAP_DB_ANTNOISE = 13,
1: + IEEE80211_RADIOTAP_RX_FLAGS = 14,
1: + IEEE80211_RADIOTAP_TX_FLAGS = 15,
1: + IEEE80211_RADIOTAP_RTS_RETRIES = 16,
1: + IEEE80211_RADIOTAP_DATA_RETRIES = 17,
1: + IEEE80211_RADIOTAP_MCS = 19,
1: + IEEE80211_RADIOTAP_AMPDU_STATUS = 20,
1: + IEEE80211_RADIOTAP_VHT = 21,
1: + IEEE80211_RADIOTAP_TIMESTAMP = 22,
1: + IEEE80211_RADIOTAP_HE = 23,
1: + IEEE80211_RADIOTAP_HE_MU = 24,
1: + IEEE80211_RADIOTAP_ZERO_LEN_PSDU = 26,
1: + IEEE80211_RADIOTAP_LSIG = 27,
1: + IEEE80211_RADIOTAP_RADIOTAP_NAMESPACE = 29,
1: + IEEE80211_RADIOTAP_VENDOR_NAMESPACE = 30,
1: + IEEE80211_RADIOTAP_EXT = 31,
1: };
1:
1: struct ieee80211_hdr {
1: - __le16 frame_control;
1: - __le16 duration_id;
1: - u8 addr1[6];
1: - u8 addr2[6];
1: - u8 addr3[6];
1: - __le16 seq_ctrl;
1: - u8 addr4[6];
1: + __le16 frame_control;
1: + __le16 duration_id;
1: + u8 addr1[6];
1: + u8 addr2[6];
1: + u8 addr3[6];
1: + __le16 seq_ctrl;
1: + u8 addr4[6];
1: };
1:
1: struct ieee80211s_hdr {
1: - u8 flags;
1: - u8 ttl;
1: - __le32 seqnum;
1: - u8 eaddr1[6];
1: - u8 eaddr2[6];
1: + u8 flags;
1: + u8 ttl;
1: + __le32 seqnum;
1: + u8 eaddr1[6];
1: + u8 eaddr2[6];
1: } __attribute__((packed));
1:
1: enum ieee80211_p2p_attr_id {
1: - IEEE80211_P2P_ATTR_STATUS = 0,
1: - IEEE80211_P2P_ATTR_MINOR_REASON = 1,
1: - IEEE80211_P2P_ATTR_CAPABILITY = 2,
1: - IEEE80211_P2P_ATTR_DEVICE_ID = 3,
1: - IEEE80211_P2P_ATTR_GO_INTENT = 4,
1: - IEEE80211_P2P_ATTR_GO_CONFIG_TIMEOUT = 5,
1: - IEEE80211_P2P_ATTR_LISTEN_CHANNEL = 6,
1: - IEEE80211_P2P_ATTR_GROUP_BSSID = 7,
1: - IEEE80211_P2P_ATTR_EXT_LISTEN_TIMING = 8,
1: - IEEE80211_P2P_ATTR_INTENDED_IFACE_ADDR = 9,
1: - IEEE80211_P2P_ATTR_MANAGABILITY = 10,
1: - IEEE80211_P2P_ATTR_CHANNEL_LIST = 11,
1: - IEEE80211_P2P_ATTR_ABSENCE_NOTICE = 12,
1: - IEEE80211_P2P_ATTR_DEVICE_INFO = 13,
1: - IEEE80211_P2P_ATTR_GROUP_INFO = 14,
1: - IEEE80211_P2P_ATTR_GROUP_ID = 15,
1: - IEEE80211_P2P_ATTR_INTERFACE = 16,
1: - IEEE80211_P2P_ATTR_OPER_CHANNEL = 17,
1: - IEEE80211_P2P_ATTR_INVITE_FLAGS = 18,
1: - IEEE80211_P2P_ATTR_VENDOR_SPECIFIC = 221,
1: - IEEE80211_P2P_ATTR_MAX = 222,
1: + IEEE80211_P2P_ATTR_STATUS = 0,
1: + IEEE80211_P2P_ATTR_MINOR_REASON = 1,
1: + IEEE80211_P2P_ATTR_CAPABILITY = 2,
1: + IEEE80211_P2P_ATTR_DEVICE_ID = 3,
1: + IEEE80211_P2P_ATTR_GO_INTENT = 4,
1: + IEEE80211_P2P_ATTR_GO_CONFIG_TIMEOUT = 5,
1: + IEEE80211_P2P_ATTR_LISTEN_CHANNEL = 6,
1: + IEEE80211_P2P_ATTR_GROUP_BSSID = 7,
1: + IEEE80211_P2P_ATTR_EXT_LISTEN_TIMING = 8,
1: + IEEE80211_P2P_ATTR_INTENDED_IFACE_ADDR = 9,
1: + IEEE80211_P2P_ATTR_MANAGABILITY = 10,
1: + IEEE80211_P2P_ATTR_CHANNEL_LIST = 11,
1: + IEEE80211_P2P_ATTR_ABSENCE_NOTICE = 12,
1: + IEEE80211_P2P_ATTR_DEVICE_INFO = 13,
1: + IEEE80211_P2P_ATTR_GROUP_INFO = 14,
1: + IEEE80211_P2P_ATTR_GROUP_ID = 15,
1: + IEEE80211_P2P_ATTR_INTERFACE = 16,
1: + IEEE80211_P2P_ATTR_OPER_CHANNEL = 17,
1: + IEEE80211_P2P_ATTR_INVITE_FLAGS = 18,
1: + IEEE80211_P2P_ATTR_VENDOR_SPECIFIC = 221,
1: + IEEE80211_P2P_ATTR_MAX = 222,
1: };
1:
1: enum ieee80211_vht_chanwidth {
1: - IEEE80211_VHT_CHANWIDTH_USE_HT = 0,
1: - IEEE80211_VHT_CHANWIDTH_80MHZ = 1,
1: - IEEE80211_VHT_CHANWIDTH_160MHZ = 2,
1: - IEEE80211_VHT_CHANWIDTH_80P80MHZ = 3,
1: + IEEE80211_VHT_CHANWIDTH_USE_HT = 0,
1: + IEEE80211_VHT_CHANWIDTH_80MHZ = 1,
1: + IEEE80211_VHT_CHANWIDTH_160MHZ = 2,
1: + IEEE80211_VHT_CHANWIDTH_80P80MHZ = 3,
1: };
1:
1: enum ieee80211_statuscode {
1: - WLAN_STATUS_SUCCESS = 0,
1: - WLAN_STATUS_UNSPECIFIED_FAILURE = 1,
1: - WLAN_STATUS_CAPS_UNSUPPORTED = 10,
1: - WLAN_STATUS_REASSOC_NO_ASSOC = 11,
1: - WLAN_STATUS_ASSOC_DENIED_UNSPEC = 12,
1: - WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG = 13,
1: - WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION = 14,
1: - WLAN_STATUS_CHALLENGE_FAIL = 15,
1: - WLAN_STATUS_AUTH_TIMEOUT = 16,
1: - WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA = 17,
1: - WLAN_STATUS_ASSOC_DENIED_RATES = 18,
1: - WLAN_STATUS_ASSOC_DENIED_NOSHORTPREAMBLE = 19,
1: - WLAN_STATUS_ASSOC_DENIED_NOPBCC = 20,
1: - WLAN_STATUS_ASSOC_DENIED_NOAGILITY = 21,
1: - WLAN_STATUS_ASSOC_DENIED_NOSPECTRUM = 22,
1: - WLAN_STATUS_ASSOC_REJECTED_BAD_POWER = 23,
1: - WLAN_STATUS_ASSOC_REJECTED_BAD_SUPP_CHAN = 24,
1: - WLAN_STATUS_ASSOC_DENIED_NOSHORTTIME = 25,
1: - WLAN_STATUS_ASSOC_DENIED_NODSSSOFDM = 26,
1: - WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY = 30,
1: - WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION = 31,
1: - WLAN_STATUS_INVALID_IE = 40,
1: - WLAN_STATUS_INVALID_GROUP_CIPHER = 41,
1: - WLAN_STATUS_INVALID_PAIRWISE_CIPHER = 42,
1: - WLAN_STATUS_INVALID_AKMP = 43,
1: - WLAN_STATUS_UNSUPP_RSN_VERSION = 44,
1: - WLAN_STATUS_INVALID_RSN_IE_CAP = 45,
1: - WLAN_STATUS_CIPHER_SUITE_REJECTED = 46,
1: - WLAN_STATUS_UNSPECIFIED_QOS = 32,
1: - WLAN_STATUS_ASSOC_DENIED_NOBANDWIDTH = 33,
1: - WLAN_STATUS_ASSOC_DENIED_LOWACK = 34,
1: - WLAN_STATUS_ASSOC_DENIED_UNSUPP_QOS = 35,
1: - WLAN_STATUS_REQUEST_DECLINED = 37,
1: - WLAN_STATUS_INVALID_QOS_PARAM = 38,
1: - WLAN_STATUS_CHANGE_TSPEC = 39,
1: - WLAN_STATUS_WAIT_TS_DELAY = 47,
1: - WLAN_STATUS_NO_DIRECT_LINK = 48,
1: - WLAN_STATUS_STA_NOT_PRESENT = 49,
1: - WLAN_STATUS_STA_NOT_QSTA = 50,
1: - WLAN_STATUS_ANTI_CLOG_REQUIRED = 76,
1: - WLAN_STATUS_FCG_NOT_SUPP = 78,
1: - WLAN_STATUS_STA_NO_TBTT = 78,
1: - WLAN_STATUS_REJECTED_WITH_SUGGESTED_CHANGES = 39,
1: - WLAN_STATUS_REJECTED_FOR_DELAY_PERIOD = 47,
1: - WLAN_STATUS_REJECT_WITH_SCHEDULE = 83,
1: - WLAN_STATUS_PENDING_ADMITTING_FST_SESSION = 86,
1: - WLAN_STATUS_PERFORMING_FST_NOW = 87,
1: - WLAN_STATUS_PENDING_GAP_IN_BA_WINDOW = 88,
1: - WLAN_STATUS_REJECT_U_PID_SETTING = 89,
1: - WLAN_STATUS_REJECT_DSE_BAND = 96,
1: - WLAN_STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL = 99,
1: - WLAN_STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT = 103,
1: - WLAN_STATUS_FILS_AUTHENTICATION_FAILURE = 108,
1: - WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER = 109,
1: + WLAN_STATUS_SUCCESS = 0,
1: + WLAN_STATUS_UNSPECIFIED_FAILURE = 1,
1: + WLAN_STATUS_CAPS_UNSUPPORTED = 10,
1: + WLAN_STATUS_REASSOC_NO_ASSOC = 11,
1: + WLAN_STATUS_ASSOC_DENIED_UNSPEC = 12,
1: + WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG = 13,
1: + WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION = 14,
1: + WLAN_STATUS_CHALLENGE_FAIL = 15,
1: + WLAN_STATUS_AUTH_TIMEOUT = 16,
1: + WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA = 17,
1: + WLAN_STATUS_ASSOC_DENIED_RATES = 18,
1: + WLAN_STATUS_ASSOC_DENIED_NOSHORTPREAMBLE = 19,
1: + WLAN_STATUS_ASSOC_DENIED_NOPBCC = 20,
1: + WLAN_STATUS_ASSOC_DENIED_NOAGILITY = 21,
1: + WLAN_STATUS_ASSOC_DENIED_NOSPECTRUM = 22,
1: + WLAN_STATUS_ASSOC_REJECTED_BAD_POWER = 23,
1: + WLAN_STATUS_ASSOC_REJECTED_BAD_SUPP_CHAN = 24,
1: + WLAN_STATUS_ASSOC_DENIED_NOSHORTTIME = 25,
1: + WLAN_STATUS_ASSOC_DENIED_NODSSSOFDM = 26,
1: + WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY = 30,
1: + WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION = 31,
1: + WLAN_STATUS_INVALID_IE = 40,
1: + WLAN_STATUS_INVALID_GROUP_CIPHER = 41,
1: + WLAN_STATUS_INVALID_PAIRWISE_CIPHER = 42,
1: + WLAN_STATUS_INVALID_AKMP = 43,
1: + WLAN_STATUS_UNSUPP_RSN_VERSION = 44,
1: + WLAN_STATUS_INVALID_RSN_IE_CAP = 45,
1: + WLAN_STATUS_CIPHER_SUITE_REJECTED = 46,
1: + WLAN_STATUS_UNSPECIFIED_QOS = 32,
1: + WLAN_STATUS_ASSOC_DENIED_NOBANDWIDTH = 33,
1: + WLAN_STATUS_ASSOC_DENIED_LOWACK = 34,
1: + WLAN_STATUS_ASSOC_DENIED_UNSUPP_QOS = 35,
1: + WLAN_STATUS_REQUEST_DECLINED = 37,
1: + WLAN_STATUS_INVALID_QOS_PARAM = 38,
1: + WLAN_STATUS_CHANGE_TSPEC = 39,
1: + WLAN_STATUS_WAIT_TS_DELAY = 47,
1: + WLAN_STATUS_NO_DIRECT_LINK = 48,
1: + WLAN_STATUS_STA_NOT_PRESENT = 49,
1: + WLAN_STATUS_STA_NOT_QSTA = 50,
1: + WLAN_STATUS_ANTI_CLOG_REQUIRED = 76,
1: + WLAN_STATUS_FCG_NOT_SUPP = 78,
1: + WLAN_STATUS_STA_NO_TBTT = 78,
1: + WLAN_STATUS_REJECTED_WITH_SUGGESTED_CHANGES = 39,
1: + WLAN_STATUS_REJECTED_FOR_DELAY_PERIOD = 47,
1: + WLAN_STATUS_REJECT_WITH_SCHEDULE = 83,
1: + WLAN_STATUS_PENDING_ADMITTING_FST_SESSION = 86,
1: + WLAN_STATUS_PERFORMING_FST_NOW = 87,
1: + WLAN_STATUS_PENDING_GAP_IN_BA_WINDOW = 88,
1: + WLAN_STATUS_REJECT_U_PID_SETTING = 89,
1: + WLAN_STATUS_REJECT_DSE_BAND = 96,
1: + WLAN_STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL = 99,
1: + WLAN_STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT = 103,
1: + WLAN_STATUS_FILS_AUTHENTICATION_FAILURE = 108,
1: + WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER = 109,
1: };
1:
1: enum ieee80211_eid {
1: - WLAN_EID_SSID = 0,
1: - WLAN_EID_SUPP_RATES = 1,
1: - WLAN_EID_FH_PARAMS = 2,
1: - WLAN_EID_DS_PARAMS = 3,
1: - WLAN_EID_CF_PARAMS = 4,
1: - WLAN_EID_TIM = 5,
1: - WLAN_EID_IBSS_PARAMS = 6,
1: - WLAN_EID_COUNTRY = 7,
1: - WLAN_EID_REQUEST = 10,
1: - WLAN_EID_QBSS_LOAD = 11,
1: - WLAN_EID_EDCA_PARAM_SET = 12,
1: - WLAN_EID_TSPEC = 13,
1: - WLAN_EID_TCLAS = 14,
1: - WLAN_EID_SCHEDULE = 15,
1: - WLAN_EID_CHALLENGE = 16,
1: - WLAN_EID_PWR_CONSTRAINT = 32,
1: - WLAN_EID_PWR_CAPABILITY = 33,
1: - WLAN_EID_TPC_REQUEST = 34,
1: - WLAN_EID_TPC_REPORT = 35,
1: - WLAN_EID_SUPPORTED_CHANNELS = 36,
1: - WLAN_EID_CHANNEL_SWITCH = 37,
1: - WLAN_EID_MEASURE_REQUEST = 38,
1: - WLAN_EID_MEASURE_REPORT = 39,
1: - WLAN_EID_QUIET = 40,
1: - WLAN_EID_IBSS_DFS = 41,
1: - WLAN_EID_ERP_INFO = 42,
1: - WLAN_EID_TS_DELAY = 43,
1: - WLAN_EID_TCLAS_PROCESSING = 44,
1: - WLAN_EID_HT_CAPABILITY = 45,
1: - WLAN_EID_QOS_CAPA = 46,
1: - WLAN_EID_RSN = 48,
1: - WLAN_EID_802_15_COEX = 49,
1: - WLAN_EID_EXT_SUPP_RATES = 50,
1: - WLAN_EID_AP_CHAN_REPORT = 51,
1: - WLAN_EID_NEIGHBOR_REPORT = 52,
1: - WLAN_EID_RCPI = 53,
1: - WLAN_EID_MOBILITY_DOMAIN = 54,
1: - WLAN_EID_FAST_BSS_TRANSITION = 55,
1: - WLAN_EID_TIMEOUT_INTERVAL = 56,
1: - WLAN_EID_RIC_DATA = 57,
1: - WLAN_EID_DSE_REGISTERED_LOCATION = 58,
1: - WLAN_EID_SUPPORTED_REGULATORY_CLASSES = 59,
1: - WLAN_EID_EXT_CHANSWITCH_ANN = 60,
1: - WLAN_EID_HT_OPERATION = 61,
1: - WLAN_EID_SECONDARY_CHANNEL_OFFSET = 62,
1: - WLAN_EID_BSS_AVG_ACCESS_DELAY = 63,
1: - WLAN_EID_ANTENNA_INFO = 64,
1: - WLAN_EID_RSNI = 65,
1: - WLAN_EID_MEASUREMENT_PILOT_TX_INFO = 66,
1: - WLAN_EID_BSS_AVAILABLE_CAPACITY = 67,
1: - WLAN_EID_BSS_AC_ACCESS_DELAY = 68,
1: - WLAN_EID_TIME_ADVERTISEMENT = 69,
1: - WLAN_EID_RRM_ENABLED_CAPABILITIES = 70,
1: - WLAN_EID_MULTIPLE_BSSID = 71,
1: - WLAN_EID_BSS_COEX_2040 = 72,
1: - WLAN_EID_BSS_INTOLERANT_CHL_REPORT = 73,
1: - WLAN_EID_OVERLAP_BSS_SCAN_PARAM = 74,
1: - WLAN_EID_RIC_DESCRIPTOR = 75,
1: - WLAN_EID_MMIE = 76,
1: - WLAN_EID_ASSOC_COMEBACK_TIME = 77,
1: - WLAN_EID_EVENT_REQUEST = 78,
1: - WLAN_EID_EVENT_REPORT = 79,
1: - WLAN_EID_DIAGNOSTIC_REQUEST = 80,
1: - WLAN_EID_DIAGNOSTIC_REPORT = 81,
1: - WLAN_EID_LOCATION_PARAMS = 82,
1: - WLAN_EID_NON_TX_BSSID_CAP = 83,
1: - WLAN_EID_SSID_LIST = 84,
1: - WLAN_EID_MULTI_BSSID_IDX = 85,
1: - WLAN_EID_FMS_DESCRIPTOR = 86,
1: - WLAN_EID_FMS_REQUEST = 87,
1: - WLAN_EID_FMS_RESPONSE = 88,
1: - WLAN_EID_QOS_TRAFFIC_CAPA = 89,
1: - WLAN_EID_BSS_MAX_IDLE_PERIOD = 90,
1: - WLAN_EID_TSF_REQUEST = 91,
1: - WLAN_EID_TSF_RESPOSNE = 92,
1: - WLAN_EID_WNM_SLEEP_MODE = 93,
1: - WLAN_EID_TIM_BCAST_REQ = 94,
1: - WLAN_EID_TIM_BCAST_RESP = 95,
1: - WLAN_EID_COLL_IF_REPORT = 96,
1: - WLAN_EID_CHANNEL_USAGE = 97,
1: - WLAN_EID_TIME_ZONE = 98,
1: - WLAN_EID_DMS_REQUEST = 99,
1: - WLAN_EID_DMS_RESPONSE = 100,
1: - WLAN_EID_LINK_ID = 101,
1: - WLAN_EID_WAKEUP_SCHEDUL = 102,
1: - WLAN_EID_CHAN_SWITCH_TIMING = 104,
1: - WLAN_EID_PTI_CONTROL = 105,
1: - WLAN_EID_PU_BUFFER_STATUS = 106,
1: - WLAN_EID_INTERWORKING = 107,
1: - WLAN_EID_ADVERTISEMENT_PROTOCOL = 108,
1: - WLAN_EID_EXPEDITED_BW_REQ = 109,
1: - WLAN_EID_QOS_MAP_SET = 110,
1: - WLAN_EID_ROAMING_CONSORTIUM = 111,
1: - WLAN_EID_EMERGENCY_ALERT = 112,
1: - WLAN_EID_MESH_CONFIG = 113,
1: - WLAN_EID_MESH_ID = 114,
1: - WLAN_EID_LINK_METRIC_REPORT = 115,
1: - WLAN_EID_CONGESTION_NOTIFICATION = 116,
1: - WLAN_EID_PEER_MGMT = 117,
1: - WLAN_EID_CHAN_SWITCH_PARAM = 118,
1: - WLAN_EID_MESH_AWAKE_WINDOW = 119,
1: - WLAN_EID_BEACON_TIMING = 120,
1: - WLAN_EID_MCCAOP_SETUP_REQ = 121,
1: - WLAN_EID_MCCAOP_SETUP_RESP = 122,
1: - WLAN_EID_MCCAOP_ADVERT = 123,
1: - WLAN_EID_MCCAOP_TEARDOWN = 124,
1: - WLAN_EID_GANN = 125,
1: - WLAN_EID_RANN = 126,
1: - WLAN_EID_EXT_CAPABILITY = 127,
1: - WLAN_EID_PREQ = 130,
1: - WLAN_EID_PREP = 131,
1: - WLAN_EID_PERR = 132,
1: - WLAN_EID_PXU = 137,
1: - WLAN_EID_PXUC = 138,
1: - WLAN_EID_AUTH_MESH_PEER_EXCH = 139,
1: - WLAN_EID_MIC = 140,
1: - WLAN_EID_DESTINATION_URI = 141,
1: - WLAN_EID_UAPSD_COEX = 142,
1: - WLAN_EID_WAKEUP_SCHEDULE = 143,
1: - WLAN_EID_EXT_SCHEDULE = 144,
1: - WLAN_EID_STA_AVAILABILITY = 145,
1: - WLAN_EID_DMG_TSPEC = 146,
1: - WLAN_EID_DMG_AT = 147,
1: - WLAN_EID_DMG_CAP = 148,
1: - WLAN_EID_CISCO_VENDOR_SPECIFIC = 150,
1: - WLAN_EID_DMG_OPERATION = 151,
1: - WLAN_EID_DMG_BSS_PARAM_CHANGE = 152,
1: - WLAN_EID_DMG_BEAM_REFINEMENT = 153,
1: - WLAN_EID_CHANNEL_MEASURE_FEEDBACK = 154,
1: - WLAN_EID_AWAKE_WINDOW = 157,
1: - WLAN_EID_MULTI_BAND = 158,
1: - WLAN_EID_ADDBA_EXT = 159,
1: - WLAN_EID_NEXT_PCP_LIST = 160,
1: - WLAN_EID_PCP_HANDOVER = 161,
1: - WLAN_EID_DMG_LINK_MARGIN = 162,
1: - WLAN_EID_SWITCHING_STREAM = 163,
1: - WLAN_EID_SESSION_TRANSITION = 164,
1: - WLAN_EID_DYN_TONE_PAIRING_REPORT = 165,
1: - WLAN_EID_CLUSTER_REPORT = 166,
1: - WLAN_EID_RELAY_CAP = 167,
1: - WLAN_EID_RELAY_XFER_PARAM_SET = 168,
1: - WLAN_EID_BEAM_LINK_MAINT = 169,
1: - WLAN_EID_MULTIPLE_MAC_ADDR = 170,
1: - WLAN_EID_U_PID = 171,
1: - WLAN_EID_DMG_LINK_ADAPT_ACK = 172,
1: - WLAN_EID_MCCAOP_ADV_OVERVIEW = 174,
1: - WLAN_EID_QUIET_PERIOD_REQ = 175,
1: - WLAN_EID_QUIET_PERIOD_RESP = 177,
1: - WLAN_EID_EPAC_POLICY = 182,
1: - WLAN_EID_CLISTER_TIME_OFF = 183,
1: - WLAN_EID_INTER_AC_PRIO = 184,
1: - WLAN_EID_SCS_DESCRIPTOR = 185,
1: - WLAN_EID_QLOAD_REPORT = 186,
1: - WLAN_EID_HCCA_TXOP_UPDATE_COUNT = 187,
1: - WLAN_EID_HL_STREAM_ID = 188,
1: - WLAN_EID_GCR_GROUP_ADDR = 189,
1: - WLAN_EID_ANTENNA_SECTOR_ID_PATTERN = 190,
1: - WLAN_EID_VHT_CAPABILITY = 191,
1: - WLAN_EID_VHT_OPERATION = 192,
1: - WLAN_EID_EXTENDED_BSS_LOAD = 193,
1: - WLAN_EID_WIDE_BW_CHANNEL_SWITCH = 194,
1: - WLAN_EID_VHT_TX_POWER_ENVELOPE = 195,
1: - WLAN_EID_CHANNEL_SWITCH_WRAPPER = 196,
1: - WLAN_EID_AID = 197,
1: - WLAN_EID_QUIET_CHANNEL = 198,
1: - WLAN_EID_OPMODE_NOTIF = 199,
1: - WLAN_EID_VENDOR_SPECIFIC = 221,
1: - WLAN_EID_QOS_PARAMETER = 222,
1: - WLAN_EID_CAG_NUMBER = 237,
1: - WLAN_EID_AP_CSN = 239,
1: - WLAN_EID_FILS_INDICATION = 240,
1: - WLAN_EID_DILS = 241,
1: - WLAN_EID_FRAGMENT = 242,
1: - WLAN_EID_EXTENSION = 255,
1: + WLAN_EID_SSID = 0,
1: + WLAN_EID_SUPP_RATES = 1,
1: + WLAN_EID_FH_PARAMS = 2,
1: + WLAN_EID_DS_PARAMS = 3,
1: + WLAN_EID_CF_PARAMS = 4,
1: + WLAN_EID_TIM = 5,
1: + WLAN_EID_IBSS_PARAMS = 6,
1: + WLAN_EID_COUNTRY = 7,
1: + WLAN_EID_REQUEST = 10,
1: + WLAN_EID_QBSS_LOAD = 11,
1: + WLAN_EID_EDCA_PARAM_SET = 12,
1: + WLAN_EID_TSPEC = 13,
1: + WLAN_EID_TCLAS = 14,
1: + WLAN_EID_SCHEDULE = 15,
1: + WLAN_EID_CHALLENGE = 16,
1: + WLAN_EID_PWR_CONSTRAINT = 32,
1: + WLAN_EID_PWR_CAPABILITY = 33,
1: + WLAN_EID_TPC_REQUEST = 34,
1: + WLAN_EID_TPC_REPORT = 35,
1: + WLAN_EID_SUPPORTED_CHANNELS = 36,
1: + WLAN_EID_CHANNEL_SWITCH = 37,
1: + WLAN_EID_MEASURE_REQUEST = 38,
1: + WLAN_EID_MEASURE_REPORT = 39,
1: + WLAN_EID_QUIET = 40,
1: + WLAN_EID_IBSS_DFS = 41,
1: + WLAN_EID_ERP_INFO = 42,
1: + WLAN_EID_TS_DELAY = 43,
1: + WLAN_EID_TCLAS_PROCESSING = 44,
1: + WLAN_EID_HT_CAPABILITY = 45,
1: + WLAN_EID_QOS_CAPA = 46,
1: + WLAN_EID_RSN = 48,
1: + WLAN_EID_802_15_COEX = 49,
1: + WLAN_EID_EXT_SUPP_RATES = 50,
1: + WLAN_EID_AP_CHAN_REPORT = 51,
1: + WLAN_EID_NEIGHBOR_REPORT = 52,
1: + WLAN_EID_RCPI = 53,
1: + WLAN_EID_MOBILITY_DOMAIN = 54,
1: + WLAN_EID_FAST_BSS_TRANSITION = 55,
1: + WLAN_EID_TIMEOUT_INTERVAL = 56,
1: + WLAN_EID_RIC_DATA = 57,
1: + WLAN_EID_DSE_REGISTERED_LOCATION = 58,
1: + WLAN_EID_SUPPORTED_REGULATORY_CLASSES = 59,
1: + WLAN_EID_EXT_CHANSWITCH_ANN = 60,
1: + WLAN_EID_HT_OPERATION = 61,
1: + WLAN_EID_SECONDARY_CHANNEL_OFFSET = 62,
1: + WLAN_EID_BSS_AVG_ACCESS_DELAY = 63,
1: + WLAN_EID_ANTENNA_INFO = 64,
1: + WLAN_EID_RSNI = 65,
1: + WLAN_EID_MEASUREMENT_PILOT_TX_INFO = 66,
1: + WLAN_EID_BSS_AVAILABLE_CAPACITY = 67,
1: + WLAN_EID_BSS_AC_ACCESS_DELAY = 68,
1: + WLAN_EID_TIME_ADVERTISEMENT = 69,
1: + WLAN_EID_RRM_ENABLED_CAPABILITIES = 70,
1: + WLAN_EID_MULTIPLE_BSSID = 71,
1: + WLAN_EID_BSS_COEX_2040 = 72,
1: + WLAN_EID_BSS_INTOLERANT_CHL_REPORT = 73,
1: + WLAN_EID_OVERLAP_BSS_SCAN_PARAM = 74,
1: + WLAN_EID_RIC_DESCRIPTOR = 75,
1: + WLAN_EID_MMIE = 76,
1: + WLAN_EID_ASSOC_COMEBACK_TIME = 77,
1: + WLAN_EID_EVENT_REQUEST = 78,
1: + WLAN_EID_EVENT_REPORT = 79,
1: + WLAN_EID_DIAGNOSTIC_REQUEST = 80,
1: + WLAN_EID_DIAGNOSTIC_REPORT = 81,
1: + WLAN_EID_LOCATION_PARAMS = 82,
1: + WLAN_EID_NON_TX_BSSID_CAP = 83,
1: + WLAN_EID_SSID_LIST = 84,
1: + WLAN_EID_MULTI_BSSID_IDX = 85,
1: + WLAN_EID_FMS_DESCRIPTOR = 86,
1: + WLAN_EID_FMS_REQUEST = 87,
1: + WLAN_EID_FMS_RESPONSE = 88,
1: + WLAN_EID_QOS_TRAFFIC_CAPA = 89,
1: + WLAN_EID_BSS_MAX_IDLE_PERIOD = 90,
1: + WLAN_EID_TSF_REQUEST = 91,
1: + WLAN_EID_TSF_RESPOSNE = 92,
1: + WLAN_EID_WNM_SLEEP_MODE = 93,
1: + WLAN_EID_TIM_BCAST_REQ = 94,
1: + WLAN_EID_TIM_BCAST_RESP = 95,
1: + WLAN_EID_COLL_IF_REPORT = 96,
1: + WLAN_EID_CHANNEL_USAGE = 97,
1: + WLAN_EID_TIME_ZONE = 98,
1: + WLAN_EID_DMS_REQUEST = 99,
1: + WLAN_EID_DMS_RESPONSE = 100,
1: + WLAN_EID_LINK_ID = 101,
1: + WLAN_EID_WAKEUP_SCHEDUL = 102,
1: + WLAN_EID_CHAN_SWITCH_TIMING = 104,
1: + WLAN_EID_PTI_CONTROL = 105,
1: + WLAN_EID_PU_BUFFER_STATUS = 106,
1: + WLAN_EID_INTERWORKING = 107,
1: + WLAN_EID_ADVERTISEMENT_PROTOCOL = 108,
1: + WLAN_EID_EXPEDITED_BW_REQ = 109,
1: + WLAN_EID_QOS_MAP_SET = 110,
1: + WLAN_EID_ROAMING_CONSORTIUM = 111,
1: + WLAN_EID_EMERGENCY_ALERT = 112,
1: + WLAN_EID_MESH_CONFIG = 113,
1: + WLAN_EID_MESH_ID = 114,
1: + WLAN_EID_LINK_METRIC_REPORT = 115,
1: + WLAN_EID_CONGESTION_NOTIFICATION = 116,
1: + WLAN_EID_PEER_MGMT = 117,
1: + WLAN_EID_CHAN_SWITCH_PARAM = 118,
1: + WLAN_EID_MESH_AWAKE_WINDOW = 119,
1: + WLAN_EID_BEACON_TIMING = 120,
1: + WLAN_EID_MCCAOP_SETUP_REQ = 121,
1: + WLAN_EID_MCCAOP_SETUP_RESP = 122,
1: + WLAN_EID_MCCAOP_ADVERT = 123,
1: + WLAN_EID_MCCAOP_TEARDOWN = 124,
1: + WLAN_EID_GANN = 125,
1: + WLAN_EID_RANN = 126,
1: + WLAN_EID_EXT_CAPABILITY = 127,
1: + WLAN_EID_PREQ = 130,
1: + WLAN_EID_PREP = 131,
1: + WLAN_EID_PERR = 132,
1: + WLAN_EID_PXU = 137,
1: + WLAN_EID_PXUC = 138,
1: + WLAN_EID_AUTH_MESH_PEER_EXCH = 139,
1: + WLAN_EID_MIC = 140,
1: + WLAN_EID_DESTINATION_URI = 141,
1: + WLAN_EID_UAPSD_COEX = 142,
1: + WLAN_EID_WAKEUP_SCHEDULE = 143,
1: + WLAN_EID_EXT_SCHEDULE = 144,
1: + WLAN_EID_STA_AVAILABILITY = 145,
1: + WLAN_EID_DMG_TSPEC = 146,
1: + WLAN_EID_DMG_AT = 147,
1: + WLAN_EID_DMG_CAP = 148,
1: + WLAN_EID_CISCO_VENDOR_SPECIFIC = 150,
1: + WLAN_EID_DMG_OPERATION = 151,
1: + WLAN_EID_DMG_BSS_PARAM_CHANGE = 152,
1: + WLAN_EID_DMG_BEAM_REFINEMENT = 153,
1: + WLAN_EID_CHANNEL_MEASURE_FEEDBACK = 154,
1: + WLAN_EID_AWAKE_WINDOW = 157,
1: + WLAN_EID_MULTI_BAND = 158,
1: + WLAN_EID_ADDBA_EXT = 159,
1: + WLAN_EID_NEXT_PCP_LIST = 160,
1: + WLAN_EID_PCP_HANDOVER = 161,
1: + WLAN_EID_DMG_LINK_MARGIN = 162,
1: + WLAN_EID_SWITCHING_STREAM = 163,
1: + WLAN_EID_SESSION_TRANSITION = 164,
1: + WLAN_EID_DYN_TONE_PAIRING_REPORT = 165,
1: + WLAN_EID_CLUSTER_REPORT = 166,
1: + WLAN_EID_RELAY_CAP = 167,
1: + WLAN_EID_RELAY_XFER_PARAM_SET = 168,
1: + WLAN_EID_BEAM_LINK_MAINT = 169,
1: + WLAN_EID_MULTIPLE_MAC_ADDR = 170,
1: + WLAN_EID_U_PID = 171,
1: + WLAN_EID_DMG_LINK_ADAPT_ACK = 172,
1: + WLAN_EID_MCCAOP_ADV_OVERVIEW = 174,
1: + WLAN_EID_QUIET_PERIOD_REQ = 175,
1: + WLAN_EID_QUIET_PERIOD_RESP = 177,
1: + WLAN_EID_EPAC_POLICY = 182,
1: + WLAN_EID_CLISTER_TIME_OFF = 183,
1: + WLAN_EID_INTER_AC_PRIO = 184,
1: + WLAN_EID_SCS_DESCRIPTOR = 185,
1: + WLAN_EID_QLOAD_REPORT = 186,
1: + WLAN_EID_HCCA_TXOP_UPDATE_COUNT = 187,
1: + WLAN_EID_HL_STREAM_ID = 188,
1: + WLAN_EID_GCR_GROUP_ADDR = 189,
1: + WLAN_EID_ANTENNA_SECTOR_ID_PATTERN = 190,
1: + WLAN_EID_VHT_CAPABILITY = 191,
1: + WLAN_EID_VHT_OPERATION = 192,
1: + WLAN_EID_EXTENDED_BSS_LOAD = 193,
1: + WLAN_EID_WIDE_BW_CHANNEL_SWITCH = 194,
1: + WLAN_EID_VHT_TX_POWER_ENVELOPE = 195,
1: + WLAN_EID_CHANNEL_SWITCH_WRAPPER = 196,
1: + WLAN_EID_AID = 197,
1: + WLAN_EID_QUIET_CHANNEL = 198,
1: + WLAN_EID_OPMODE_NOTIF = 199,
1: + WLAN_EID_VENDOR_SPECIFIC = 221,
1: + WLAN_EID_QOS_PARAMETER = 222,
1: + WLAN_EID_CAG_NUMBER = 237,
1: + WLAN_EID_AP_CSN = 239,
1: + WLAN_EID_FILS_INDICATION = 240,
1: + WLAN_EID_DILS = 241,
1: + WLAN_EID_FRAGMENT = 242,
1: + WLAN_EID_EXTENSION = 255,
1: };
1:
1: struct element {
1: - u8 id;
1: - u8 datalen;
1: - u8 data[0];
1: + u8 id;
1: + u8 datalen;
1: + u8 data[0];
1: };
1:
1: enum nl80211_he_gi {
1: - NL80211_RATE_INFO_HE_GI_0_8 = 0,
1: - NL80211_RATE_INFO_HE_GI_1_6 = 1,
1: - NL80211_RATE_INFO_HE_GI_3_2 = 2,
1: + NL80211_RATE_INFO_HE_GI_0_8 = 0,
1: + NL80211_RATE_INFO_HE_GI_1_6 = 1,
1: + NL80211_RATE_INFO_HE_GI_3_2 = 2,
1: };
1:
1: enum nl80211_he_ru_alloc {
1: - NL80211_RATE_INFO_HE_RU_ALLOC_26 = 0,
1: - NL80211_RATE_INFO_HE_RU_ALLOC_52 = 1,
1: - NL80211_RATE_INFO_HE_RU_ALLOC_106 = 2,
1: - NL80211_RATE_INFO_HE_RU_ALLOC_242 = 3,
1: - NL80211_RATE_INFO_HE_RU_ALLOC_484 = 4,
1: - NL80211_RATE_INFO_HE_RU_ALLOC_996 = 5,
1: - NL80211_RATE_INFO_HE_RU_ALLOC_2x996 = 6,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_26 = 0,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_52 = 1,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_106 = 2,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_242 = 3,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_484 = 4,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_996 = 5,
1: + NL80211_RATE_INFO_HE_RU_ALLOC_2x996 = 6,
1: };
1:
1: enum ieee80211_rate_flags {
1: - IEEE80211_RATE_SHORT_PREAMBLE = 1,
1: - IEEE80211_RATE_MANDATORY_A = 2,
1: - IEEE80211_RATE_MANDATORY_B = 4,
1: - IEEE80211_RATE_MANDATORY_G = 8,
1: - IEEE80211_RATE_ERP_G = 16,
1: - IEEE80211_RATE_SUPPORTS_5MHZ = 32,
1: - IEEE80211_RATE_SUPPORTS_10MHZ = 64,
1: + IEEE80211_RATE_SHORT_PREAMBLE = 1,
1: + IEEE80211_RATE_MANDATORY_A = 2,
1: + IEEE80211_RATE_MANDATORY_B = 4,
1: + IEEE80211_RATE_MANDATORY_G = 8,
1: + IEEE80211_RATE_ERP_G = 16,
1: + IEEE80211_RATE_SUPPORTS_5MHZ = 32,
1: + IEEE80211_RATE_SUPPORTS_10MHZ = 64,
1: };
1:
1: struct iface_combination_params {
1: - int num_different_channels;
1: - u8 radar_detect;
1: - int iftype_num[13];
1: - u32 new_beacon_int;
1: + int num_different_channels;
1: + u8 radar_detect;
1: + int iftype_num[13];
1: + u32 new_beacon_int;
1: };
1:
1: enum rate_info_flags {
1: - RATE_INFO_FLAGS_MCS = 1,
1: - RATE_INFO_FLAGS_VHT_MCS = 2,
1: - RATE_INFO_FLAGS_SHORT_GI = 4,
1: - RATE_INFO_FLAGS_DMG = 8,
1: - RATE_INFO_FLAGS_HE_MCS = 16,
1: - RATE_INFO_FLAGS_EDMG = 32,
1: + RATE_INFO_FLAGS_MCS = 1,
1: + RATE_INFO_FLAGS_VHT_MCS = 2,
1: + RATE_INFO_FLAGS_SHORT_GI = 4,
1: + RATE_INFO_FLAGS_DMG = 8,
1: + RATE_INFO_FLAGS_HE_MCS = 16,
1: + RATE_INFO_FLAGS_EDMG = 32,
1: };
1:
1: enum rate_info_bw {
1: - RATE_INFO_BW_20 = 0,
1: - RATE_INFO_BW_5 = 1,
1: - RATE_INFO_BW_10 = 2,
1: - RATE_INFO_BW_40 = 3,
1: - RATE_INFO_BW_80 = 4,
1: - RATE_INFO_BW_160 = 5,
1: - RATE_INFO_BW_HE_RU = 6,
1: + RATE_INFO_BW_20 = 0,
1: + RATE_INFO_BW_5 = 1,
1: + RATE_INFO_BW_10 = 2,
1: + RATE_INFO_BW_40 = 3,
1: + RATE_INFO_BW_80 = 4,
1: + RATE_INFO_BW_160 = 5,
1: + RATE_INFO_BW_HE_RU = 6,
1: };
1:
1: struct iapp_layer2_update {
1: - u8 da[6];
1: - u8 sa[6];
1: - __be16 len;
1: - u8 dsap;
1: - u8 ssap;
1: - u8 control;
1: - u8 xid_info[3];
1: + u8 da[6];
1: + u8 sa[6];
1: + __be16 len;
1: + u8 dsap;
1: + u8 ssap;
1: + u8 control;
1: + u8 xid_info[3];
1: };
1:
1: enum nl80211_reg_rule_flags {
1: - NL80211_RRF_NO_OFDM = 1,
1: - NL80211_RRF_NO_CCK = 2,
1: - NL80211_RRF_NO_INDOOR = 4,
1: - NL80211_RRF_NO_OUTDOOR = 8,
1: - NL80211_RRF_DFS = 16,
1: - NL80211_RRF_PTP_ONLY = 32,
1: - NL80211_RRF_PTMP_ONLY = 64,
1: - NL80211_RRF_NO_IR = 128,
1: - __NL80211_RRF_NO_IBSS = 256,
1: - NL80211_RRF_AUTO_BW = 2048,
1: - NL80211_RRF_IR_CONCURRENT = 4096,
1: - NL80211_RRF_NO_HT40MINUS = 8192,
1: - NL80211_RRF_NO_HT40PLUS = 16384,
1: - NL80211_RRF_NO_80MHZ = 32768,
1: - NL80211_RRF_NO_160MHZ = 65536,
1: + NL80211_RRF_NO_OFDM = 1,
1: + NL80211_RRF_NO_CCK = 2,
1: + NL80211_RRF_NO_INDOOR = 4,
1: + NL80211_RRF_NO_OUTDOOR = 8,
1: + NL80211_RRF_DFS = 16,
1: + NL80211_RRF_PTP_ONLY = 32,
1: + NL80211_RRF_PTMP_ONLY = 64,
1: + NL80211_RRF_NO_IR = 128,
1: + __NL80211_RRF_NO_IBSS = 256,
1: + NL80211_RRF_AUTO_BW = 2048,
1: + NL80211_RRF_IR_CONCURRENT = 4096,
1: + NL80211_RRF_NO_HT40MINUS = 8192,
1: + NL80211_RRF_NO_HT40PLUS = 16384,
1: + NL80211_RRF_NO_80MHZ = 32768,
1: + NL80211_RRF_NO_160MHZ = 65536,
1: };
1:
1: enum nl80211_channel_type {
1: - NL80211_CHAN_NO_HT = 0,
1: - NL80211_CHAN_HT20 = 1,
1: - NL80211_CHAN_HT40MINUS = 2,
1: - NL80211_CHAN_HT40PLUS = 3,
1: + NL80211_CHAN_NO_HT = 0,
1: + NL80211_CHAN_HT20 = 1,
1: + NL80211_CHAN_HT40MINUS = 2,
1: + NL80211_CHAN_HT40PLUS = 3,
1: };
1:
1: enum ieee80211_channel_flags {
1: - IEEE80211_CHAN_DISABLED = 1,
1: - IEEE80211_CHAN_NO_IR = 2,
1: - IEEE80211_CHAN_RADAR = 8,
1: - IEEE80211_CHAN_NO_HT40PLUS = 16,
1: - IEEE80211_CHAN_NO_HT40MINUS = 32,
1: - IEEE80211_CHAN_NO_OFDM = 64,
1: - IEEE80211_CHAN_NO_80MHZ = 128,
1: - IEEE80211_CHAN_NO_160MHZ = 256,
1: - IEEE80211_CHAN_INDOOR_ONLY = 512,
1: - IEEE80211_CHAN_IR_CONCURRENT = 1024,
1: - IEEE80211_CHAN_NO_20MHZ = 2048,
1: - IEEE80211_CHAN_NO_10MHZ = 4096,
1: + IEEE80211_CHAN_DISABLED = 1,
1: + IEEE80211_CHAN_NO_IR = 2,
1: + IEEE80211_CHAN_RADAR = 8,
1: + IEEE80211_CHAN_NO_HT40PLUS = 16,
1: + IEEE80211_CHAN_NO_HT40MINUS = 32,
1: + IEEE80211_CHAN_NO_OFDM = 64,
1: + IEEE80211_CHAN_NO_80MHZ = 128,
1: + IEEE80211_CHAN_NO_160MHZ = 256,
1: + IEEE80211_CHAN_INDOOR_ONLY = 512,
1: + IEEE80211_CHAN_IR_CONCURRENT = 1024,
1: + IEEE80211_CHAN_NO_20MHZ = 2048,
1: + IEEE80211_CHAN_NO_10MHZ = 4096,
1: };
1:
1: enum ieee80211_regd_source {
1: - REGD_SOURCE_INTERNAL_DB = 0,
1: - REGD_SOURCE_CRDA = 1,
1: - REGD_SOURCE_CACHED = 2,
1: + REGD_SOURCE_INTERNAL_DB = 0,
1: + REGD_SOURCE_CRDA = 1,
1: + REGD_SOURCE_CACHED = 2,
1: };
1:
1: enum reg_request_treatment {
1: - REG_REQ_OK = 0,
1: - REG_REQ_IGNORE = 1,
1: - REG_REQ_INTERSECT = 2,
1: - REG_REQ_ALREADY_SET = 3,
1: + REG_REQ_OK = 0,
1: + REG_REQ_IGNORE = 1,
1: + REG_REQ_INTERSECT = 2,
1: + REG_REQ_ALREADY_SET = 3,
1: };
1:
1: struct reg_beacon {
1: - struct list_head list;
1: - struct ieee80211_channel chan;
1: + struct list_head list;
1: + struct ieee80211_channel chan;
1: };
1:
1: struct reg_regdb_apply_request {
1: - struct list_head list;
1: - const struct ieee80211_regdomain *regdom;
1: + struct list_head list;
1: + const struct ieee80211_regdomain *regdom;
1: };
1:
1: struct fwdb_country {
1: - u8 alpha2[2];
1: - __be16 coll_ptr;
1: + u8 alpha2[2];
1: + __be16 coll_ptr;
1: };
1:
1: struct fwdb_collection {
1: - u8 len;
1: - u8 n_rules;
1: - u8 dfs_region;
1: - char: 8;
1: + u8 len;
1: + u8 n_rules;
1: + u8 dfs_region;
1: + char : 8;
1: };
1:
1: enum fwdb_flags {
1: - FWDB_FLAG_NO_OFDM = 1,
1: - FWDB_FLAG_NO_OUTDOOR = 2,
1: - FWDB_FLAG_DFS = 4,
1: - FWDB_FLAG_NO_IR = 8,
1: - FWDB_FLAG_AUTO_BW = 16,
1: + FWDB_FLAG_NO_OFDM = 1,
1: + FWDB_FLAG_NO_OUTDOOR = 2,
1: + FWDB_FLAG_DFS = 4,
1: + FWDB_FLAG_NO_IR = 8,
1: + FWDB_FLAG_AUTO_BW = 16,
1: };
1:
1: struct fwdb_wmm_ac {
1: - u8 ecw;
1: - u8 aifsn;
1: - __be16 cot;
1: + u8 ecw;
1: + u8 aifsn;
1: + __be16 cot;
1: };
1:
1: struct fwdb_wmm_rule {
1: - struct fwdb_wmm_ac client[4];
1: - struct fwdb_wmm_ac ap[4];
1: + struct fwdb_wmm_ac client[4];
1: + struct fwdb_wmm_ac ap[4];
1: };
1:
1: struct fwdb_rule {
1: - u8 len;
1: - u8 flags;
1: - __be16 max_eirp;
1: - __be32 start;
1: - __be32 end;
1: - __be32 max_bw;
1: - __be16 cac_timeout;
1: - __be16 wmm_ptr;
1: + u8 len;
1: + u8 flags;
1: + __be16 max_eirp;
1: + __be32 start;
1: + __be32 end;
1: + __be32 max_bw;
1: + __be16 cac_timeout;
1: + __be16 wmm_ptr;
1: };
1:
1: struct fwdb_header {
1: - __be32 magic;
1: - __be32 version;
1: - struct fwdb_country country[0];
1: + __be32 magic;
1: + __be32 version;
1: + struct fwdb_country country[0];
1: };
1:
1: enum nl80211_scan_flags {
1: - NL80211_SCAN_FLAG_LOW_PRIORITY = 1,
1: - NL80211_SCAN_FLAG_FLUSH = 2,
1: - NL80211_SCAN_FLAG_AP = 4,
1: - NL80211_SCAN_FLAG_RANDOM_ADDR = 8,
1: - NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 16,
1: - NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 32,
1: - NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 64,
1: - NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 128,
1: - NL80211_SCAN_FLAG_LOW_SPAN = 256,
1: - NL80211_SCAN_FLAG_LOW_POWER = 512,
1: - NL80211_SCAN_FLAG_HIGH_ACCURACY = 1024,
1: - NL80211_SCAN_FLAG_RANDOM_SN = 2048,
1: - NL80211_SCAN_FLAG_MIN_PREQ_CONTENT = 4096,
1: + NL80211_SCAN_FLAG_LOW_PRIORITY = 1,
1: + NL80211_SCAN_FLAG_FLUSH = 2,
1: + NL80211_SCAN_FLAG_AP = 4,
1: + NL80211_SCAN_FLAG_RANDOM_ADDR = 8,
1: + NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 16,
1: + NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 32,
1: + NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 64,
1: + NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 128,
1: + NL80211_SCAN_FLAG_LOW_SPAN = 256,
1: + NL80211_SCAN_FLAG_LOW_POWER = 512,
1: + NL80211_SCAN_FLAG_HIGH_ACCURACY = 1024,
1: + NL80211_SCAN_FLAG_RANDOM_SN = 2048,
1: + NL80211_SCAN_FLAG_MIN_PREQ_CONTENT = 4096,
1: };
1:
1: struct ieee80211_msrment_ie {
1: - u8 token;
1: - u8 mode;
1: - u8 type;
1: - u8 request[0];
1: + u8 token;
1: + u8 mode;
1: + u8 type;
1: + u8 request[0];
1: };
1:
1: struct ieee80211_ext_chansw_ie {
1: - u8 mode;
1: - u8 new_operating_class;
1: - u8 new_ch_num;
1: - u8 count;
1: + u8 mode;
1: + u8 new_operating_class;
1: + u8 new_ch_num;
1: + u8 count;
1: };
1:
1: struct ieee80211_tpc_report_ie {
1: - u8 tx_power;
1: - u8 link_margin;
1: + u8 tx_power;
1: + u8 link_margin;
1: };
1:
1: struct ieee80211_mgmt {
1: - __le16 frame_control;
1: - __le16 duration;
1: - u8 da[6];
1: - u8 sa[6];
1: - u8 bssid[6];
1: - __le16 seq_ctrl;
1: - union {
1: - struct {
1: - __le16 auth_alg;
1: - __le16 auth_transaction;
1: - __le16 status_code;
1: - u8 variable[0];
1: - } auth;
1: - struct {
1: - __le16 reason_code;
1: - } deauth;
1: - struct {
1: - __le16 capab_info;
1: - __le16 listen_interval;
1: - u8 variable[0];
1: - } assoc_req;
1: - struct {
1: - __le16 capab_info;
1: - __le16 status_code;
1: - __le16 aid;
1: - u8 variable[0];
1: - } assoc_resp;
1: - struct {
1: - __le16 capab_info;
1: - __le16 status_code;
1: - __le16 aid;
1: - u8 variable[0];
1: - } reassoc_resp;
1: - struct {
1: - __le16 capab_info;
1: - __le16 listen_interval;
1: - u8 current_ap[6];
1: - u8 variable[0];
1: - } reassoc_req;
1: - struct {
1: - __le16 reason_code;
1: - } disassoc;
1: - struct {
1: - __le64 timestamp;
1: - __le16 beacon_int;
1: - __le16 capab_info;
1: - u8 variable[0];
1: - } __attribute__((packed)) beacon;
1: - struct {
1: - u8 variable[0];
1: - } probe_req;
1: - struct {
1: - __le64 timestamp;
1: - __le16 beacon_int;
1: - __le16 capab_info;
1: - u8 variable[0];
1: - } __attribute__((packed)) probe_resp;
1: - struct {
1: - u8 category;
1: - union {
1: - struct {
1: - u8 action_code;
1: - u8 dialog_token;
1: - u8 status_code;
1: - u8 variable[0];
1: - } wme_action;
1: - struct {
1: - u8 action_code;
1: - u8 variable[0];
1: - } chan_switch;
1: - struct {
1: - u8 action_code;
1: - struct ieee80211_ext_chansw_ie data;
1: - u8 variable[0];
1: - } ext_chan_switch;
1: - struct {
1: - u8 action_code;
1: - u8 dialog_token;
1: - u8 element_id;
1: - u8 length;
1: - struct ieee80211_msrment_ie msr_elem;
1: - } measurement;
1: - struct {
1: - u8 action_code;
1: - u8 dialog_token;
1: - __le16 capab;
1: - __le16 timeout;
1: - __le16 start_seq_num;
1: - u8 variable[0];
1: - } addba_req;
1: - struct {
1: - u8 action_code;
1: - u8 dialog_token;
1: - __le16 status;
1: - __le16 capab;
1: - __le16 timeout;
1: - } addba_resp;
1: - struct {
1: - u8 action_code;
1: - __le16 params;
1: - __le16 reason_code;
1: - } __attribute__((packed)) delba;
1: - struct {
1: - u8 action_code;
1: - u8 variable[0];
1: - } self_prot;
1: - struct {
1: - u8 action_code;
1: - u8 variable[0];
1: - } mesh_action;
1: - struct {
1: - u8 action;
1: - u8 trans_id[2];
1: - } sa_query;
1: - struct {
1: - u8 action;
1: - u8 smps_control;
1: - } ht_smps;
1: - struct {
1: - u8 action_code;
1: - u8 chanwidth;
1: - } ht_notify_cw;
1: - struct {
1: - u8 action_code;
1: - u8 dialog_token;
1: - __le16 capability;
1: - u8 variable[0];
1: - } tdls_discover_resp;
1: - struct {
1: - u8 action_code;
1: - u8 operating_mode;
1: - } vht_opmode_notif;
1: - struct {
1: - u8 action_code;
1: - u8 membership[8];
1: - u8 position[16];
1: - } vht_group_notif;
1: - struct {
1: - u8 action_code;
1: - u8 dialog_token;
1: - u8 tpc_elem_id;
1: - u8 tpc_elem_length;
1: - struct ieee80211_tpc_report_ie tpc;
1: - } tpc_report;
1: - struct {
1: - u8 action_code;
1: - u8 dialog_token;
1: - u8 follow_up;
1: - u8 tod[6];
1: - u8 toa[6];
1: - __le16 tod_error;
1: - __le16 toa_error;
1: - u8 variable[0];
1: - } __attribute__((packed)) ftm;
1: - } u;
1: - } __attribute__((packed)) action;
1: - } u;
1: + __le16 frame_control;
1: + __le16 duration;
1: + u8 da[6];
1: + u8 sa[6];
1: + u8 bssid[6];
1: + __le16 seq_ctrl;
1: + union {
1: + struct {
1: + __le16 auth_alg;
1: + __le16 auth_transaction;
1: + __le16 status_code;
1: + u8 variable[0];
1: + } auth;
1: + struct {
1: + __le16 reason_code;
1: + } deauth;
1: + struct {
1: + __le16 capab_info;
1: + __le16 listen_interval;
1: + u8 variable[0];
1: + } assoc_req;
1: + struct {
1: + __le16 capab_info;
1: + __le16 status_code;
1: + __le16 aid;
1: + u8 variable[0];
1: + } assoc_resp;
1: + struct {
1: + __le16 capab_info;
1: + __le16 status_code;
1: + __le16 aid;
1: + u8 variable[0];
1: + } reassoc_resp;
1: + struct {
1: + __le16 capab_info;
1: + __le16 listen_interval;
1: + u8 current_ap[6];
1: + u8 variable[0];
1: + } reassoc_req;
1: + struct {
1: + __le16 reason_code;
1: + } disassoc;
1: + struct {
1: + __le64 timestamp;
1: + __le16 beacon_int;
1: + __le16 capab_info;
1: + u8 variable[0];
1: + } __attribute__((packed)) beacon;
1: + struct {
1: + u8 variable[0];
1: + } probe_req;
1: + struct {
1: + __le64 timestamp;
1: + __le16 beacon_int;
1: + __le16 capab_info;
1: + u8 variable[0];
1: + } __attribute__((packed)) probe_resp;
1: + struct {
1: + u8 category;
1: + union {
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + u8 status_code;
1: + u8 variable[0];
1: + } wme_action;
1: + struct {
1: + u8 action_code;
1: + u8 variable[0];
1: + } chan_switch;
1: + struct {
1: + u8 action_code;
1: + struct ieee80211_ext_chansw_ie data;
1: + u8 variable[0];
1: + } ext_chan_switch;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + u8 element_id;
1: + u8 length;
1: + struct ieee80211_msrment_ie msr_elem;
1: + } measurement;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + __le16 capab;
1: + __le16 timeout;
1: + __le16 start_seq_num;
1: + u8 variable[0];
1: + } addba_req;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + __le16 status;
1: + __le16 capab;
1: + __le16 timeout;
1: + } addba_resp;
1: + struct {
1: + u8 action_code;
1: + __le16 params;
1: + __le16 reason_code;
1: + } __attribute__((packed)) delba;
1: + struct {
1: + u8 action_code;
1: + u8 variable[0];
1: + } self_prot;
1: + struct {
1: + u8 action_code;
1: + u8 variable[0];
1: + } mesh_action;
1: + struct {
1: + u8 action;
1: + u8 trans_id[2];
1: + } sa_query;
1: + struct {
1: + u8 action;
1: + u8 smps_control;
1: + } ht_smps;
1: + struct {
1: + u8 action_code;
1: + u8 chanwidth;
1: + } ht_notify_cw;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + __le16 capability;
1: + u8 variable[0];
1: + } tdls_discover_resp;
1: + struct {
1: + u8 action_code;
1: + u8 operating_mode;
1: + } vht_opmode_notif;
1: + struct {
1: + u8 action_code;
1: + u8 membership[8];
1: + u8 position[16];
1: + } vht_group_notif;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + u8 tpc_elem_id;
1: + u8 tpc_elem_length;
1: + struct ieee80211_tpc_report_ie tpc;
1: + } tpc_report;
1: + struct {
1: + u8 action_code;
1: + u8 dialog_token;
1: + u8 follow_up;
1: + u8 tod[6];
1: + u8 toa[6];
1: + __le16 tod_error;
1: + __le16 toa_error;
1: + u8 variable[0];
1: + } __attribute__((packed)) ftm;
1: + } u;
1: + } __attribute__((packed)) action;
1: + } u;
1: } __attribute__((packed));
1:
1: struct ieee80211_ht_operation {
1: - u8 primary_chan;
1: - u8 ht_param;
1: - __le16 operation_mode;
1: - __le16 stbc_param;
1: - u8 basic_set[16];
1: + u8 primary_chan;
1: + u8 ht_param;
1: + __le16 operation_mode;
1: + __le16 stbc_param;
1: + u8 basic_set[16];
1: };
1:
1: enum ieee80211_eid_ext {
1: - WLAN_EID_EXT_ASSOC_DELAY_INFO = 1,
1: - WLAN_EID_EXT_FILS_REQ_PARAMS = 2,
1: - WLAN_EID_EXT_FILS_KEY_CONFIRM = 3,
1: - WLAN_EID_EXT_FILS_SESSION = 4,
1: - WLAN_EID_EXT_FILS_HLP_CONTAINER = 5,
1: - WLAN_EID_EXT_FILS_IP_ADDR_ASSIGN = 6,
1: - WLAN_EID_EXT_KEY_DELIVERY = 7,
1: - WLAN_EID_EXT_FILS_WRAPPED_DATA = 8,
1: - WLAN_EID_EXT_FILS_PUBLIC_KEY = 12,
1: - WLAN_EID_EXT_FILS_NONCE = 13,
1: - WLAN_EID_EXT_FUTURE_CHAN_GUIDANCE = 14,
1: - WLAN_EID_EXT_HE_CAPABILITY = 35,
1: - WLAN_EID_EXT_HE_OPERATION = 36,
1: - WLAN_EID_EXT_UORA = 37,
1: - WLAN_EID_EXT_HE_MU_EDCA = 38,
1: - WLAN_EID_EXT_HE_SPR = 39,
1: - WLAN_EID_EXT_MAX_CHANNEL_SWITCH_TIME = 52,
1: - WLAN_EID_EXT_MULTIPLE_BSSID_CONFIGURATION = 55,
1: - WLAN_EID_EXT_NON_INHERITANCE = 56,
1: + WLAN_EID_EXT_ASSOC_DELAY_INFO = 1,
1: + WLAN_EID_EXT_FILS_REQ_PARAMS = 2,
1: + WLAN_EID_EXT_FILS_KEY_CONFIRM = 3,
1: + WLAN_EID_EXT_FILS_SESSION = 4,
1: + WLAN_EID_EXT_FILS_HLP_CONTAINER = 5,
1: + WLAN_EID_EXT_FILS_IP_ADDR_ASSIGN = 6,
1: + WLAN_EID_EXT_KEY_DELIVERY = 7,
1: + WLAN_EID_EXT_FILS_WRAPPED_DATA = 8,
1: + WLAN_EID_EXT_FILS_PUBLIC_KEY = 12,
1: + WLAN_EID_EXT_FILS_NONCE = 13,
1: + WLAN_EID_EXT_FUTURE_CHAN_GUIDANCE = 14,
1: + WLAN_EID_EXT_HE_CAPABILITY = 35,
1: + WLAN_EID_EXT_HE_OPERATION = 36,
1: + WLAN_EID_EXT_UORA = 37,
1: + WLAN_EID_EXT_HE_MU_EDCA = 38,
1: + WLAN_EID_EXT_HE_SPR = 39,
1: + WLAN_EID_EXT_MAX_CHANNEL_SWITCH_TIME = 52,
1: + WLAN_EID_EXT_MULTIPLE_BSSID_CONFIGURATION = 55,
1: + WLAN_EID_EXT_NON_INHERITANCE = 56,
1: };
1:
1: enum ieee80211_privacy {
1: - IEEE80211_PRIVACY_ON = 0,
1: - IEEE80211_PRIVACY_OFF = 1,
1: - IEEE80211_PRIVACY_ANY = 2,
1: + IEEE80211_PRIVACY_ON = 0,
1: + IEEE80211_PRIVACY_OFF = 1,
1: + IEEE80211_PRIVACY_ANY = 2,
1: };
1:
1: struct cfg80211_inform_bss {
1: - struct ieee80211_channel *chan;
1: - enum nl80211_bss_scan_width scan_width;
1: - s32 signal;
1: - u64 boottime_ns;
1: - u64 parent_tsf;
1: - u8 parent_bssid[6];
1: - u8 chains;
1: - s8 chain_signal[4];
1: + struct ieee80211_channel *chan;
1: + enum nl80211_bss_scan_width scan_width;
1: + s32 signal;
1: + u64 boottime_ns;
1: + u64 parent_tsf;
1: + u8 parent_bssid[6];
1: + u8 chains;
1: + s8 chain_signal[4];
1: };
1:
1: enum cfg80211_bss_frame_type {
1: - CFG80211_BSS_FTYPE_UNKNOWN = 0,
1: - CFG80211_BSS_FTYPE_BEACON = 1,
1: - CFG80211_BSS_FTYPE_PRESP = 2,
1: + CFG80211_BSS_FTYPE_UNKNOWN = 0,
1: + CFG80211_BSS_FTYPE_BEACON = 1,
1: + CFG80211_BSS_FTYPE_PRESP = 2,
1: };
1:
1: enum bss_compare_mode {
1: - BSS_CMP_REGULAR = 0,
1: - BSS_CMP_HIDE_ZLEN = 1,
1: - BSS_CMP_HIDE_NUL = 2,
1: + BSS_CMP_REGULAR = 0,
1: + BSS_CMP_HIDE_ZLEN = 1,
1: + BSS_CMP_HIDE_NUL = 2,
1: };
1:
1: struct cfg80211_non_tx_bss {
1: - struct cfg80211_bss *tx_bss;
1: - u8 max_bssid_indicator;
1: - u8 bssid_index;
1: + struct cfg80211_bss *tx_bss;
1: + u8 max_bssid_indicator;
1: + u8 bssid_index;
1: };
1:
1: enum ieee80211_vht_mcs_support {
1: - IEEE80211_VHT_MCS_SUPPORT_0_7 = 0,
1: - IEEE80211_VHT_MCS_SUPPORT_0_8 = 1,
1: - IEEE80211_VHT_MCS_SUPPORT_0_9 = 2,
1: - IEEE80211_VHT_MCS_NOT_SUPPORTED = 3,
1: + IEEE80211_VHT_MCS_SUPPORT_0_7 = 0,
1: + IEEE80211_VHT_MCS_SUPPORT_0_8 = 1,
1: + IEEE80211_VHT_MCS_SUPPORT_0_9 = 2,
1: + IEEE80211_VHT_MCS_NOT_SUPPORTED = 3,
1: };
1:
1: enum ieee80211_mesh_sync_method {
1: - IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET = 1,
1: - IEEE80211_SYNC_METHOD_VENDOR = 255,
1: + IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET = 1,
1: + IEEE80211_SYNC_METHOD_VENDOR = 255,
1: };
1:
1: enum ieee80211_mesh_path_protocol {
1: - IEEE80211_PATH_PROTOCOL_HWMP = 1,
1: - IEEE80211_PATH_PROTOCOL_VENDOR = 255,
1: + IEEE80211_PATH_PROTOCOL_HWMP = 1,
1: + IEEE80211_PATH_PROTOCOL_VENDOR = 255,
1: };
1:
1: enum ieee80211_mesh_path_metric {
1: - IEEE80211_PATH_METRIC_AIRTIME = 1,
1: - IEEE80211_PATH_METRIC_VENDOR = 255,
1: + IEEE80211_PATH_METRIC_AIRTIME = 1,
1: + IEEE80211_PATH_METRIC_VENDOR = 255,
1: };
1:
1: enum nl80211_sta_flags {
1: - __NL80211_STA_FLAG_INVALID = 0,
1: - NL80211_STA_FLAG_AUTHORIZED = 1,
1: - NL80211_STA_FLAG_SHORT_PREAMBLE = 2,
1: - NL80211_STA_FLAG_WME = 3,
1: - NL80211_STA_FLAG_MFP = 4,
1: - NL80211_STA_FLAG_AUTHENTICATED = 5,
1: - NL80211_STA_FLAG_TDLS_PEER = 6,
1: - NL80211_STA_FLAG_ASSOCIATED = 7,
1: - __NL80211_STA_FLAG_AFTER_LAST = 8,
1: - NL80211_STA_FLAG_MAX = 7,
1: + __NL80211_STA_FLAG_INVALID = 0,
1: + NL80211_STA_FLAG_AUTHORIZED = 1,
1: + NL80211_STA_FLAG_SHORT_PREAMBLE = 2,
1: + NL80211_STA_FLAG_WME = 3,
1: + NL80211_STA_FLAG_MFP = 4,
1: + NL80211_STA_FLAG_AUTHENTICATED = 5,
1: + NL80211_STA_FLAG_TDLS_PEER = 6,
1: + NL80211_STA_FLAG_ASSOCIATED = 7,
1: + __NL80211_STA_FLAG_AFTER_LAST = 8,
1: + NL80211_STA_FLAG_MAX = 7,
1: };
1:
1: enum nl80211_sta_p2p_ps_status {
1: - NL80211_P2P_PS_UNSUPPORTED = 0,
1: - NL80211_P2P_PS_SUPPORTED = 1,
1: - NUM_NL80211_P2P_PS_STATUS = 2,
1: + NL80211_P2P_PS_UNSUPPORTED = 0,
1: + NL80211_P2P_PS_SUPPORTED = 1,
1: + NUM_NL80211_P2P_PS_STATUS = 2,
1: };
1:
1: enum nl80211_rate_info {
1: - __NL80211_RATE_INFO_INVALID = 0,
1: - NL80211_RATE_INFO_BITRATE = 1,
1: - NL80211_RATE_INFO_MCS = 2,
1: - NL80211_RATE_INFO_40_MHZ_WIDTH = 3,
1: - NL80211_RATE_INFO_SHORT_GI = 4,
1: - NL80211_RATE_INFO_BITRATE32 = 5,
1: - NL80211_RATE_INFO_VHT_MCS = 6,
1: - NL80211_RATE_INFO_VHT_NSS = 7,
1: - NL80211_RATE_INFO_80_MHZ_WIDTH = 8,
1: - NL80211_RATE_INFO_80P80_MHZ_WIDTH = 9,
1: - NL80211_RATE_INFO_160_MHZ_WIDTH = 10,
1: - NL80211_RATE_INFO_10_MHZ_WIDTH = 11,
1: - NL80211_RATE_INFO_5_MHZ_WIDTH = 12,
1: - NL80211_RATE_INFO_HE_MCS = 13,
1: - NL80211_RATE_INFO_HE_NSS = 14,
1: - NL80211_RATE_INFO_HE_GI = 15,
1: - NL80211_RATE_INFO_HE_DCM = 16,
1: - NL80211_RATE_INFO_HE_RU_ALLOC = 17,
1: - __NL80211_RATE_INFO_AFTER_LAST = 18,
1: - NL80211_RATE_INFO_MAX = 17,
1: + __NL80211_RATE_INFO_INVALID = 0,
1: + NL80211_RATE_INFO_BITRATE = 1,
1: + NL80211_RATE_INFO_MCS = 2,
1: + NL80211_RATE_INFO_40_MHZ_WIDTH = 3,
1: + NL80211_RATE_INFO_SHORT_GI = 4,
1: + NL80211_RATE_INFO_BITRATE32 = 5,
1: + NL80211_RATE_INFO_VHT_MCS = 6,
1: + NL80211_RATE_INFO_VHT_NSS = 7,
1: + NL80211_RATE_INFO_80_MHZ_WIDTH = 8,
1: + NL80211_RATE_INFO_80P80_MHZ_WIDTH = 9,
1: + NL80211_RATE_INFO_160_MHZ_WIDTH = 10,
1: + NL80211_RATE_INFO_10_MHZ_WIDTH = 11,
1: + NL80211_RATE_INFO_5_MHZ_WIDTH = 12,
1: + NL80211_RATE_INFO_HE_MCS = 13,
1: + NL80211_RATE_INFO_HE_NSS = 14,
1: + NL80211_RATE_INFO_HE_GI = 15,
1: + NL80211_RATE_INFO_HE_DCM = 16,
1: + NL80211_RATE_INFO_HE_RU_ALLOC = 17,
1: + __NL80211_RATE_INFO_AFTER_LAST = 18,
1: + NL80211_RATE_INFO_MAX = 17,
1: };
1:
1: enum nl80211_sta_bss_param {
1: - __NL80211_STA_BSS_PARAM_INVALID = 0,
1: - NL80211_STA_BSS_PARAM_CTS_PROT = 1,
1: - NL80211_STA_BSS_PARAM_SHORT_PREAMBLE = 2,
1: - NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME = 3,
1: - NL80211_STA_BSS_PARAM_DTIM_PERIOD = 4,
1: - NL80211_STA_BSS_PARAM_BEACON_INTERVAL = 5,
1: - __NL80211_STA_BSS_PARAM_AFTER_LAST = 6,
1: - NL80211_STA_BSS_PARAM_MAX = 5,
1: + __NL80211_STA_BSS_PARAM_INVALID = 0,
1: + NL80211_STA_BSS_PARAM_CTS_PROT = 1,
1: + NL80211_STA_BSS_PARAM_SHORT_PREAMBLE = 2,
1: + NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME = 3,
1: + NL80211_STA_BSS_PARAM_DTIM_PERIOD = 4,
1: + NL80211_STA_BSS_PARAM_BEACON_INTERVAL = 5,
1: + __NL80211_STA_BSS_PARAM_AFTER_LAST = 6,
1: + NL80211_STA_BSS_PARAM_MAX = 5,
1: };
1:
1: enum nl80211_sta_info {
1: - __NL80211_STA_INFO_INVALID = 0,
1: - NL80211_STA_INFO_INACTIVE_TIME = 1,
1: - NL80211_STA_INFO_RX_BYTES = 2,
1: - NL80211_STA_INFO_TX_BYTES = 3,
1: - NL80211_STA_INFO_LLID = 4,
1: - NL80211_STA_INFO_PLID = 5,
1: - NL80211_STA_INFO_PLINK_STATE = 6,
1: - NL80211_STA_INFO_SIGNAL = 7,
1: - NL80211_STA_INFO_TX_BITRATE = 8,
1: - NL80211_STA_INFO_RX_PACKETS = 9,
1: - NL80211_STA_INFO_TX_PACKETS = 10,
1: - NL80211_STA_INFO_TX_RETRIES = 11,
1: - NL80211_STA_INFO_TX_FAILED = 12,
1: - NL80211_STA_INFO_SIGNAL_AVG = 13,
1: - NL80211_STA_INFO_RX_BITRATE = 14,
1: - NL80211_STA_INFO_BSS_PARAM = 15,
1: - NL80211_STA_INFO_CONNECTED_TIME = 16,
1: - NL80211_STA_INFO_STA_FLAGS = 17,
1: - NL80211_STA_INFO_BEACON_LOSS = 18,
1: - NL80211_STA_INFO_T_OFFSET = 19,
1: - NL80211_STA_INFO_LOCAL_PM = 20,
1: - NL80211_STA_INFO_PEER_PM = 21,
1: - NL80211_STA_INFO_NONPEER_PM = 22,
1: - NL80211_STA_INFO_RX_BYTES64 = 23,
1: - NL80211_STA_INFO_TX_BYTES64 = 24,
1: - NL80211_STA_INFO_CHAIN_SIGNAL = 25,
1: - NL80211_STA_INFO_CHAIN_SIGNAL_AVG = 26,
1: - NL80211_STA_INFO_EXPECTED_THROUGHPUT = 27,
1: - NL80211_STA_INFO_RX_DROP_MISC = 28,
1: - NL80211_STA_INFO_BEACON_RX = 29,
1: - NL80211_STA_INFO_BEACON_SIGNAL_AVG = 30,
1: - NL80211_STA_INFO_TID_STATS = 31,
1: - NL80211_STA_INFO_RX_DURATION = 32,
1: - NL80211_STA_INFO_PAD = 33,
1: - NL80211_STA_INFO_ACK_SIGNAL = 34,
1: - NL80211_STA_INFO_ACK_SIGNAL_AVG = 35,
1: - NL80211_STA_INFO_RX_MPDUS = 36,
1: - NL80211_STA_INFO_FCS_ERROR_COUNT = 37,
1: - NL80211_STA_INFO_CONNECTED_TO_GATE = 38,
1: - NL80211_STA_INFO_TX_DURATION = 39,
1: - NL80211_STA_INFO_AIRTIME_WEIGHT = 40,
1: - NL80211_STA_INFO_AIRTIME_LINK_METRIC = 41,
1: - NL80211_STA_INFO_ASSOC_AT_BOOTTIME = 42,
1: - __NL80211_STA_INFO_AFTER_LAST = 43,
1: - NL80211_STA_INFO_MAX = 42,
1: + __NL80211_STA_INFO_INVALID = 0,
1: + NL80211_STA_INFO_INACTIVE_TIME = 1,
1: + NL80211_STA_INFO_RX_BYTES = 2,
1: + NL80211_STA_INFO_TX_BYTES = 3,
1: + NL80211_STA_INFO_LLID = 4,
1: + NL80211_STA_INFO_PLID = 5,
1: + NL80211_STA_INFO_PLINK_STATE = 6,
1: + NL80211_STA_INFO_SIGNAL = 7,
1: + NL80211_STA_INFO_TX_BITRATE = 8,
1: + NL80211_STA_INFO_RX_PACKETS = 9,
1: + NL80211_STA_INFO_TX_PACKETS = 10,
1: + NL80211_STA_INFO_TX_RETRIES = 11,
1: + NL80211_STA_INFO_TX_FAILED = 12,
1: + NL80211_STA_INFO_SIGNAL_AVG = 13,
1: + NL80211_STA_INFO_RX_BITRATE = 14,
1: + NL80211_STA_INFO_BSS_PARAM = 15,
1: + NL80211_STA_INFO_CONNECTED_TIME = 16,
1: + NL80211_STA_INFO_STA_FLAGS = 17,
1: + NL80211_STA_INFO_BEACON_LOSS = 18,
1: + NL80211_STA_INFO_T_OFFSET = 19,
1: + NL80211_STA_INFO_LOCAL_PM = 20,
1: + NL80211_STA_INFO_PEER_PM = 21,
1: + NL80211_STA_INFO_NONPEER_PM = 22,
1: + NL80211_STA_INFO_RX_BYTES64 = 23,
1: + NL80211_STA_INFO_TX_BYTES64 = 24,
1: + NL80211_STA_INFO_CHAIN_SIGNAL = 25,
1: + NL80211_STA_INFO_CHAIN_SIGNAL_AVG = 26,
1: + NL80211_STA_INFO_EXPECTED_THROUGHPUT = 27,
1: + NL80211_STA_INFO_RX_DROP_MISC = 28,
1: + NL80211_STA_INFO_BEACON_RX = 29,
1: + NL80211_STA_INFO_BEACON_SIGNAL_AVG = 30,
1: + NL80211_STA_INFO_TID_STATS = 31,
1: + NL80211_STA_INFO_RX_DURATION = 32,
1: + NL80211_STA_INFO_PAD = 33,
1: + NL80211_STA_INFO_ACK_SIGNAL = 34,
1: + NL80211_STA_INFO_ACK_SIGNAL_AVG = 35,
1: + NL80211_STA_INFO_RX_MPDUS = 36,
1: + NL80211_STA_INFO_FCS_ERROR_COUNT = 37,
1: + NL80211_STA_INFO_CONNECTED_TO_GATE = 38,
1: + NL80211_STA_INFO_TX_DURATION = 39,
1: + NL80211_STA_INFO_AIRTIME_WEIGHT = 40,
1: + NL80211_STA_INFO_AIRTIME_LINK_METRIC = 41,
1: + NL80211_STA_INFO_ASSOC_AT_BOOTTIME = 42,
1: + __NL80211_STA_INFO_AFTER_LAST = 43,
1: + NL80211_STA_INFO_MAX = 42,
1: };
1:
1: enum nl80211_tid_stats {
1: - __NL80211_TID_STATS_INVALID = 0,
1: - NL80211_TID_STATS_RX_MSDU = 1,
1: - NL80211_TID_STATS_TX_MSDU = 2,
1: - NL80211_TID_STATS_TX_MSDU_RETRIES = 3,
1: - NL80211_TID_STATS_TX_MSDU_FAILED = 4,
1: - NL80211_TID_STATS_PAD = 5,
1: - NL80211_TID_STATS_TXQ_STATS = 6,
1: - NUM_NL80211_TID_STATS = 7,
1: - NL80211_TID_STATS_MAX = 6,
1: + __NL80211_TID_STATS_INVALID = 0,
1: + NL80211_TID_STATS_RX_MSDU = 1,
1: + NL80211_TID_STATS_TX_MSDU = 2,
1: + NL80211_TID_STATS_TX_MSDU_RETRIES = 3,
1: + NL80211_TID_STATS_TX_MSDU_FAILED = 4,
1: + NL80211_TID_STATS_PAD = 5,
1: + NL80211_TID_STATS_TXQ_STATS = 6,
1: + NUM_NL80211_TID_STATS = 7,
1: + NL80211_TID_STATS_MAX = 6,
1: };
1:
1: enum nl80211_txq_stats {
1: - __NL80211_TXQ_STATS_INVALID = 0,
1: - NL80211_TXQ_STATS_BACKLOG_BYTES = 1,
1: - NL80211_TXQ_STATS_BACKLOG_PACKETS = 2,
1: - NL80211_TXQ_STATS_FLOWS = 3,
1: - NL80211_TXQ_STATS_DROPS = 4,
1: - NL80211_TXQ_STATS_ECN_MARKS = 5,
1: - NL80211_TXQ_STATS_OVERLIMIT = 6,
1: - NL80211_TXQ_STATS_OVERMEMORY = 7,
1: - NL80211_TXQ_STATS_COLLISIONS = 8,
1: - NL80211_TXQ_STATS_TX_BYTES = 9,
1: - NL80211_TXQ_STATS_TX_PACKETS = 10,
1: - NL80211_TXQ_STATS_MAX_FLOWS = 11,
1: - NUM_NL80211_TXQ_STATS = 12,
1: - NL80211_TXQ_STATS_MAX = 11,
1: + __NL80211_TXQ_STATS_INVALID = 0,
1: + NL80211_TXQ_STATS_BACKLOG_BYTES = 1,
1: + NL80211_TXQ_STATS_BACKLOG_PACKETS = 2,
1: + NL80211_TXQ_STATS_FLOWS = 3,
1: + NL80211_TXQ_STATS_DROPS = 4,
1: + NL80211_TXQ_STATS_ECN_MARKS = 5,
1: + NL80211_TXQ_STATS_OVERLIMIT = 6,
1: + NL80211_TXQ_STATS_OVERMEMORY = 7,
1: + NL80211_TXQ_STATS_COLLISIONS = 8,
1: + NL80211_TXQ_STATS_TX_BYTES = 9,
1: + NL80211_TXQ_STATS_TX_PACKETS = 10,
1: + NL80211_TXQ_STATS_MAX_FLOWS = 11,
1: + NUM_NL80211_TXQ_STATS = 12,
1: + NL80211_TXQ_STATS_MAX = 11,
1: };
1:
1: enum nl80211_mpath_info {
1: - __NL80211_MPATH_INFO_INVALID = 0,
1: - NL80211_MPATH_INFO_FRAME_QLEN = 1,
1: - NL80211_MPATH_INFO_SN = 2,
1: - NL80211_MPATH_INFO_METRIC = 3,
1: - NL80211_MPATH_INFO_EXPTIME = 4,
1: - NL80211_MPATH_INFO_FLAGS = 5,
1: - NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = 6,
1: - NL80211_MPATH_INFO_DISCOVERY_RETRIES = 7,
1: - NL80211_MPATH_INFO_HOP_COUNT = 8,
1: - NL80211_MPATH_INFO_PATH_CHANGE = 9,
1: - __NL80211_MPATH_INFO_AFTER_LAST = 10,
1: - NL80211_MPATH_INFO_MAX = 9,
1: + __NL80211_MPATH_INFO_INVALID = 0,
1: + NL80211_MPATH_INFO_FRAME_QLEN = 1,
1: + NL80211_MPATH_INFO_SN = 2,
1: + NL80211_MPATH_INFO_METRIC = 3,
1: + NL80211_MPATH_INFO_EXPTIME = 4,
1: + NL80211_MPATH_INFO_FLAGS = 5,
1: + NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = 6,
1: + NL80211_MPATH_INFO_DISCOVERY_RETRIES = 7,
1: + NL80211_MPATH_INFO_HOP_COUNT = 8,
1: + NL80211_MPATH_INFO_PATH_CHANGE = 9,
1: + __NL80211_MPATH_INFO_AFTER_LAST = 10,
1: + NL80211_MPATH_INFO_MAX = 9,
1: };
1:
1: enum nl80211_band_iftype_attr {
1: - __NL80211_BAND_IFTYPE_ATTR_INVALID = 0,
1: - NL80211_BAND_IFTYPE_ATTR_IFTYPES = 1,
1: - NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC = 2,
1: - NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 3,
1: - NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET = 4,
1: - NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 5,
1: - __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST = 6,
1: - NL80211_BAND_IFTYPE_ATTR_MAX = 5,
1: + __NL80211_BAND_IFTYPE_ATTR_INVALID = 0,
1: + NL80211_BAND_IFTYPE_ATTR_IFTYPES = 1,
1: + NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC = 2,
1: + NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 3,
1: + NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET = 4,
1: + NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 5,
1: + __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST = 6,
1: + NL80211_BAND_IFTYPE_ATTR_MAX = 5,
1: };
1:
1: enum nl80211_band_attr {
1: - __NL80211_BAND_ATTR_INVALID = 0,
1: - NL80211_BAND_ATTR_FREQS = 1,
1: - NL80211_BAND_ATTR_RATES = 2,
1: - NL80211_BAND_ATTR_HT_MCS_SET = 3,
1: - NL80211_BAND_ATTR_HT_CAPA = 4,
1: - NL80211_BAND_ATTR_HT_AMPDU_FACTOR = 5,
1: - NL80211_BAND_ATTR_HT_AMPDU_DENSITY = 6,
1: - NL80211_BAND_ATTR_VHT_MCS_SET = 7,
1: - NL80211_BAND_ATTR_VHT_CAPA = 8,
1: - NL80211_BAND_ATTR_IFTYPE_DATA = 9,
1: - NL80211_BAND_ATTR_EDMG_CHANNELS = 10,
1: - NL80211_BAND_ATTR_EDMG_BW_CONFIG = 11,
1: - __NL80211_BAND_ATTR_AFTER_LAST = 12,
1: - NL80211_BAND_ATTR_MAX = 11,
1: + __NL80211_BAND_ATTR_INVALID = 0,
1: + NL80211_BAND_ATTR_FREQS = 1,
1: + NL80211_BAND_ATTR_RATES = 2,
1: + NL80211_BAND_ATTR_HT_MCS_SET = 3,
1: + NL80211_BAND_ATTR_HT_CAPA = 4,
1: + NL80211_BAND_ATTR_HT_AMPDU_FACTOR = 5,
1: + NL80211_BAND_ATTR_HT_AMPDU_DENSITY = 6,
1: + NL80211_BAND_ATTR_VHT_MCS_SET = 7,
1: + NL80211_BAND_ATTR_VHT_CAPA = 8,
1: + NL80211_BAND_ATTR_IFTYPE_DATA = 9,
1: + NL80211_BAND_ATTR_EDMG_CHANNELS = 10,
1: + NL80211_BAND_ATTR_EDMG_BW_CONFIG = 11,
1: + __NL80211_BAND_ATTR_AFTER_LAST = 12,
1: + NL80211_BAND_ATTR_MAX = 11,
1: };
1:
1: enum nl80211_wmm_rule {
1: - __NL80211_WMMR_INVALID = 0,
1: - NL80211_WMMR_CW_MIN = 1,
1: - NL80211_WMMR_CW_MAX = 2,
1: - NL80211_WMMR_AIFSN = 3,
1: - NL80211_WMMR_TXOP = 4,
1: - __NL80211_WMMR_LAST = 5,
1: - NL80211_WMMR_MAX = 4,
1: + __NL80211_WMMR_INVALID = 0,
1: + NL80211_WMMR_CW_MIN = 1,
1: + NL80211_WMMR_CW_MAX = 2,
1: + NL80211_WMMR_AIFSN = 3,
1: + NL80211_WMMR_TXOP = 4,
1: + __NL80211_WMMR_LAST = 5,
1: + NL80211_WMMR_MAX = 4,
1: };
1:
1: enum nl80211_frequency_attr {
1: - __NL80211_FREQUENCY_ATTR_INVALID = 0,
1: - NL80211_FREQUENCY_ATTR_FREQ = 1,
1: - NL80211_FREQUENCY_ATTR_DISABLED = 2,
1: - NL80211_FREQUENCY_ATTR_NO_IR = 3,
1: - __NL80211_FREQUENCY_ATTR_NO_IBSS = 4,
1: - NL80211_FREQUENCY_ATTR_RADAR = 5,
1: - NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 6,
1: - NL80211_FREQUENCY_ATTR_DFS_STATE = 7,
1: - NL80211_FREQUENCY_ATTR_DFS_TIME = 8,
1: - NL80211_FREQUENCY_ATTR_NO_HT40_MINUS = 9,
1: - NL80211_FREQUENCY_ATTR_NO_HT40_PLUS = 10,
1: - NL80211_FREQUENCY_ATTR_NO_80MHZ = 11,
1: - NL80211_FREQUENCY_ATTR_NO_160MHZ = 12,
1: - NL80211_FREQUENCY_ATTR_DFS_CAC_TIME = 13,
1: - NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 14,
1: - NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 15,
1: - NL80211_FREQUENCY_ATTR_NO_20MHZ = 16,
1: - NL80211_FREQUENCY_ATTR_NO_10MHZ = 17,
1: - NL80211_FREQUENCY_ATTR_WMM = 18,
1: - __NL80211_FREQUENCY_ATTR_AFTER_LAST = 19,
1: - NL80211_FREQUENCY_ATTR_MAX = 18,
1: + __NL80211_FREQUENCY_ATTR_INVALID = 0,
1: + NL80211_FREQUENCY_ATTR_FREQ = 1,
1: + NL80211_FREQUENCY_ATTR_DISABLED = 2,
1: + NL80211_FREQUENCY_ATTR_NO_IR = 3,
1: + __NL80211_FREQUENCY_ATTR_NO_IBSS = 4,
1: + NL80211_FREQUENCY_ATTR_RADAR = 5,
1: + NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 6,
1: + NL80211_FREQUENCY_ATTR_DFS_STATE = 7,
1: + NL80211_FREQUENCY_ATTR_DFS_TIME = 8,
1: + NL80211_FREQUENCY_ATTR_NO_HT40_MINUS = 9,
1: + NL80211_FREQUENCY_ATTR_NO_HT40_PLUS = 10,
1: + NL80211_FREQUENCY_ATTR_NO_80MHZ = 11,
1: + NL80211_FREQUENCY_ATTR_NO_160MHZ = 12,
1: + NL80211_FREQUENCY_ATTR_DFS_CAC_TIME = 13,
1: + NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 14,
1: + NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 15,
1: + NL80211_FREQUENCY_ATTR_NO_20MHZ = 16,
1: + NL80211_FREQUENCY_ATTR_NO_10MHZ = 17,
1: + NL80211_FREQUENCY_ATTR_WMM = 18,
1: + __NL80211_FREQUENCY_ATTR_AFTER_LAST = 19,
1: + NL80211_FREQUENCY_ATTR_MAX = 18,
1: };
1:
1: enum nl80211_bitrate_attr {
1: - __NL80211_BITRATE_ATTR_INVALID = 0,
1: - NL80211_BITRATE_ATTR_RATE = 1,
1: - NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 2,
1: - __NL80211_BITRATE_ATTR_AFTER_LAST = 3,
1: - NL80211_BITRATE_ATTR_MAX = 2,
1: + __NL80211_BITRATE_ATTR_INVALID = 0,
1: + NL80211_BITRATE_ATTR_RATE = 1,
1: + NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 2,
1: + __NL80211_BITRATE_ATTR_AFTER_LAST = 3,
1: + NL80211_BITRATE_ATTR_MAX = 2,
1: };
1:
1: enum nl80211_reg_type {
1: - NL80211_REGDOM_TYPE_COUNTRY = 0,
1: - NL80211_REGDOM_TYPE_WORLD = 1,
1: - NL80211_REGDOM_TYPE_CUSTOM_WORLD = 2,
1: - NL80211_REGDOM_TYPE_INTERSECTION = 3,
1: + NL80211_REGDOM_TYPE_COUNTRY = 0,
1: + NL80211_REGDOM_TYPE_WORLD = 1,
1: + NL80211_REGDOM_TYPE_CUSTOM_WORLD = 2,
1: + NL80211_REGDOM_TYPE_INTERSECTION = 3,
1: };
1:
1: enum nl80211_reg_rule_attr {
1: - __NL80211_REG_RULE_ATTR_INVALID = 0,
1: - NL80211_ATTR_REG_RULE_FLAGS = 1,
1: - NL80211_ATTR_FREQ_RANGE_START = 2,
1: - NL80211_ATTR_FREQ_RANGE_END = 3,
1: - NL80211_ATTR_FREQ_RANGE_MAX_BW = 4,
1: - NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN = 5,
1: - NL80211_ATTR_POWER_RULE_MAX_EIRP = 6,
1: - NL80211_ATTR_DFS_CAC_TIME = 7,
1: - __NL80211_REG_RULE_ATTR_AFTER_LAST = 8,
1: - NL80211_REG_RULE_ATTR_MAX = 7,
1: + __NL80211_REG_RULE_ATTR_INVALID = 0,
1: + NL80211_ATTR_REG_RULE_FLAGS = 1,
1: + NL80211_ATTR_FREQ_RANGE_START = 2,
1: + NL80211_ATTR_FREQ_RANGE_END = 3,
1: + NL80211_ATTR_FREQ_RANGE_MAX_BW = 4,
1: + NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN = 5,
1: + NL80211_ATTR_POWER_RULE_MAX_EIRP = 6,
1: + NL80211_ATTR_DFS_CAC_TIME = 7,
1: + __NL80211_REG_RULE_ATTR_AFTER_LAST = 8,
1: + NL80211_REG_RULE_ATTR_MAX = 7,
1: };
1:
1: enum nl80211_sched_scan_match_attr {
1: - __NL80211_SCHED_SCAN_MATCH_ATTR_INVALID = 0,
1: - NL80211_SCHED_SCAN_MATCH_ATTR_SSID = 1,
1: - NL80211_SCHED_SCAN_MATCH_ATTR_RSSI = 2,
1: - NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI = 3,
1: - NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST = 4,
1: - NL80211_SCHED_SCAN_MATCH_ATTR_BSSID = 5,
1: - NL80211_SCHED_SCAN_MATCH_PER_BAND_RSSI = 6,
1: - __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST = 7,
1: - NL80211_SCHED_SCAN_MATCH_ATTR_MAX = 6,
1: + __NL80211_SCHED_SCAN_MATCH_ATTR_INVALID = 0,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_SSID = 1,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_RSSI = 2,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI = 3,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST = 4,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_BSSID = 5,
1: + NL80211_SCHED_SCAN_MATCH_PER_BAND_RSSI = 6,
1: + __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST = 7,
1: + NL80211_SCHED_SCAN_MATCH_ATTR_MAX = 6,
1: };
1:
1: enum nl80211_survey_info {
1: - __NL80211_SURVEY_INFO_INVALID = 0,
1: - NL80211_SURVEY_INFO_FREQUENCY = 1,
1: - NL80211_SURVEY_INFO_NOISE = 2,
1: - NL80211_SURVEY_INFO_IN_USE = 3,
1: - NL80211_SURVEY_INFO_TIME = 4,
1: - NL80211_SURVEY_INFO_TIME_BUSY = 5,
1: - NL80211_SURVEY_INFO_TIME_EXT_BUSY = 6,
1: - NL80211_SURVEY_INFO_TIME_RX = 7,
1: - NL80211_SURVEY_INFO_TIME_TX = 8,
1: - NL80211_SURVEY_INFO_TIME_SCAN = 9,
1: - NL80211_SURVEY_INFO_PAD = 10,
1: - NL80211_SURVEY_INFO_TIME_BSS_RX = 11,
1: - __NL80211_SURVEY_INFO_AFTER_LAST = 12,
1: - NL80211_SURVEY_INFO_MAX = 11,
1: + __NL80211_SURVEY_INFO_INVALID = 0,
1: + NL80211_SURVEY_INFO_FREQUENCY = 1,
1: + NL80211_SURVEY_INFO_NOISE = 2,
1: + NL80211_SURVEY_INFO_IN_USE = 3,
1: + NL80211_SURVEY_INFO_TIME = 4,
1: + NL80211_SURVEY_INFO_TIME_BUSY = 5,
1: + NL80211_SURVEY_INFO_TIME_EXT_BUSY = 6,
1: + NL80211_SURVEY_INFO_TIME_RX = 7,
1: + NL80211_SURVEY_INFO_TIME_TX = 8,
1: + NL80211_SURVEY_INFO_TIME_SCAN = 9,
1: + NL80211_SURVEY_INFO_PAD = 10,
1: + NL80211_SURVEY_INFO_TIME_BSS_RX = 11,
1: + __NL80211_SURVEY_INFO_AFTER_LAST = 12,
1: + NL80211_SURVEY_INFO_MAX = 11,
1: };
1:
1: enum nl80211_meshconf_params {
1: - __NL80211_MESHCONF_INVALID = 0,
1: - NL80211_MESHCONF_RETRY_TIMEOUT = 1,
1: - NL80211_MESHCONF_CONFIRM_TIMEOUT = 2,
1: - NL80211_MESHCONF_HOLDING_TIMEOUT = 3,
1: - NL80211_MESHCONF_MAX_PEER_LINKS = 4,
1: - NL80211_MESHCONF_MAX_RETRIES = 5,
1: - NL80211_MESHCONF_TTL = 6,
1: - NL80211_MESHCONF_AUTO_OPEN_PLINKS = 7,
1: - NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES = 8,
1: - NL80211_MESHCONF_PATH_REFRESH_TIME = 9,
1: - NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT = 10,
1: - NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT = 11,
1: - NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL = 12,
1: - NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME = 13,
1: - NL80211_MESHCONF_HWMP_ROOTMODE = 14,
1: - NL80211_MESHCONF_ELEMENT_TTL = 15,
1: - NL80211_MESHCONF_HWMP_RANN_INTERVAL = 16,
1: - NL80211_MESHCONF_GATE_ANNOUNCEMENTS = 17,
1: - NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL = 18,
1: - NL80211_MESHCONF_FORWARDING = 19,
1: - NL80211_MESHCONF_RSSI_THRESHOLD = 20,
1: - NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR = 21,
1: - NL80211_MESHCONF_HT_OPMODE = 22,
1: - NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT = 23,
1: - NL80211_MESHCONF_HWMP_ROOT_INTERVAL = 24,
1: - NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL = 25,
1: - NL80211_MESHCONF_POWER_MODE = 26,
1: - NL80211_MESHCONF_AWAKE_WINDOW = 27,
1: - NL80211_MESHCONF_PLINK_TIMEOUT = 28,
1: - NL80211_MESHCONF_CONNECTED_TO_GATE = 29,
1: - __NL80211_MESHCONF_ATTR_AFTER_LAST = 30,
1: - NL80211_MESHCONF_ATTR_MAX = 29,
1: + __NL80211_MESHCONF_INVALID = 0,
1: + NL80211_MESHCONF_RETRY_TIMEOUT = 1,
1: + NL80211_MESHCONF_CONFIRM_TIMEOUT = 2,
1: + NL80211_MESHCONF_HOLDING_TIMEOUT = 3,
1: + NL80211_MESHCONF_MAX_PEER_LINKS = 4,
1: + NL80211_MESHCONF_MAX_RETRIES = 5,
1: + NL80211_MESHCONF_TTL = 6,
1: + NL80211_MESHCONF_AUTO_OPEN_PLINKS = 7,
1: + NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES = 8,
1: + NL80211_MESHCONF_PATH_REFRESH_TIME = 9,
1: + NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT = 10,
1: + NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT = 11,
1: + NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL = 12,
1: + NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME = 13,
1: + NL80211_MESHCONF_HWMP_ROOTMODE = 14,
1: + NL80211_MESHCONF_ELEMENT_TTL = 15,
1: + NL80211_MESHCONF_HWMP_RANN_INTERVAL = 16,
1: + NL80211_MESHCONF_GATE_ANNOUNCEMENTS = 17,
1: + NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL = 18,
1: + NL80211_MESHCONF_FORWARDING = 19,
1: + NL80211_MESHCONF_RSSI_THRESHOLD = 20,
1: + NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR = 21,
1: + NL80211_MESHCONF_HT_OPMODE = 22,
1: + NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT = 23,
1: + NL80211_MESHCONF_HWMP_ROOT_INTERVAL = 24,
1: + NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL = 25,
1: + NL80211_MESHCONF_POWER_MODE = 26,
1: + NL80211_MESHCONF_AWAKE_WINDOW = 27,
1: + NL80211_MESHCONF_PLINK_TIMEOUT = 28,
1: + NL80211_MESHCONF_CONNECTED_TO_GATE = 29,
1: + __NL80211_MESHCONF_ATTR_AFTER_LAST = 30,
1: + NL80211_MESHCONF_ATTR_MAX = 29,
1: };
1:
1: enum nl80211_mesh_setup_params {
1: - __NL80211_MESH_SETUP_INVALID = 0,
1: - NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL = 1,
1: - NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC = 2,
1: - NL80211_MESH_SETUP_IE = 3,
1: - NL80211_MESH_SETUP_USERSPACE_AUTH = 4,
1: - NL80211_MESH_SETUP_USERSPACE_AMPE = 5,
1: - NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC = 6,
1: - NL80211_MESH_SETUP_USERSPACE_MPM = 7,
1: - NL80211_MESH_SETUP_AUTH_PROTOCOL = 8,
1: - __NL80211_MESH_SETUP_ATTR_AFTER_LAST = 9,
1: - NL80211_MESH_SETUP_ATTR_MAX = 8,
1: + __NL80211_MESH_SETUP_INVALID = 0,
1: + NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL = 1,
1: + NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC = 2,
1: + NL80211_MESH_SETUP_IE = 3,
1: + NL80211_MESH_SETUP_USERSPACE_AUTH = 4,
1: + NL80211_MESH_SETUP_USERSPACE_AMPE = 5,
1: + NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC = 6,
1: + NL80211_MESH_SETUP_USERSPACE_MPM = 7,
1: + NL80211_MESH_SETUP_AUTH_PROTOCOL = 8,
1: + __NL80211_MESH_SETUP_ATTR_AFTER_LAST = 9,
1: + NL80211_MESH_SETUP_ATTR_MAX = 8,
1: };
1:
1: enum nl80211_txq_attr {
1: - __NL80211_TXQ_ATTR_INVALID = 0,
1: - NL80211_TXQ_ATTR_AC = 1,
1: - NL80211_TXQ_ATTR_TXOP = 2,
1: - NL80211_TXQ_ATTR_CWMIN = 3,
1: - NL80211_TXQ_ATTR_CWMAX = 4,
1: - NL80211_TXQ_ATTR_AIFS = 5,
1: - __NL80211_TXQ_ATTR_AFTER_LAST = 6,
1: - NL80211_TXQ_ATTR_MAX = 5,
1: + __NL80211_TXQ_ATTR_INVALID = 0,
1: + NL80211_TXQ_ATTR_AC = 1,
1: + NL80211_TXQ_ATTR_TXOP = 2,
1: + NL80211_TXQ_ATTR_CWMIN = 3,
1: + NL80211_TXQ_ATTR_CWMAX = 4,
1: + NL80211_TXQ_ATTR_AIFS = 5,
1: + __NL80211_TXQ_ATTR_AFTER_LAST = 6,
1: + NL80211_TXQ_ATTR_MAX = 5,
1: };
1:
1: enum nl80211_bss {
1: - __NL80211_BSS_INVALID = 0,
1: - NL80211_BSS_BSSID = 1,
1: - NL80211_BSS_FREQUENCY = 2,
1: - NL80211_BSS_TSF = 3,
1: - NL80211_BSS_BEACON_INTERVAL = 4,
1: - NL80211_BSS_CAPABILITY = 5,
1: - NL80211_BSS_INFORMATION_ELEMENTS = 6,
1: - NL80211_BSS_SIGNAL_MBM = 7,
1: - NL80211_BSS_SIGNAL_UNSPEC = 8,
1: - NL80211_BSS_STATUS = 9,
1: - NL80211_BSS_SEEN_MS_AGO = 10,
1: - NL80211_BSS_BEACON_IES = 11,
1: - NL80211_BSS_CHAN_WIDTH = 12,
1: - NL80211_BSS_BEACON_TSF = 13,
1: - NL80211_BSS_PRESP_DATA = 14,
1: - NL80211_BSS_LAST_SEEN_BOOTTIME = 15,
1: - NL80211_BSS_PAD = 16,
1: - NL80211_BSS_PARENT_TSF = 17,
1: - NL80211_BSS_PARENT_BSSID = 18,
1: - NL80211_BSS_CHAIN_SIGNAL = 19,
1: - __NL80211_BSS_AFTER_LAST = 20,
1: - NL80211_BSS_MAX = 19,
1: + __NL80211_BSS_INVALID = 0,
1: + NL80211_BSS_BSSID = 1,
1: + NL80211_BSS_FREQUENCY = 2,
1: + NL80211_BSS_TSF = 3,
1: + NL80211_BSS_BEACON_INTERVAL = 4,
1: + NL80211_BSS_CAPABILITY = 5,
1: + NL80211_BSS_INFORMATION_ELEMENTS = 6,
1: + NL80211_BSS_SIGNAL_MBM = 7,
1: + NL80211_BSS_SIGNAL_UNSPEC = 8,
1: + NL80211_BSS_STATUS = 9,
1: + NL80211_BSS_SEEN_MS_AGO = 10,
1: + NL80211_BSS_BEACON_IES = 11,
1: + NL80211_BSS_CHAN_WIDTH = 12,
1: + NL80211_BSS_BEACON_TSF = 13,
1: + NL80211_BSS_PRESP_DATA = 14,
1: + NL80211_BSS_LAST_SEEN_BOOTTIME = 15,
1: + NL80211_BSS_PAD = 16,
1: + NL80211_BSS_PARENT_TSF = 17,
1: + NL80211_BSS_PARENT_BSSID = 18,
1: + NL80211_BSS_CHAIN_SIGNAL = 19,
1: + __NL80211_BSS_AFTER_LAST = 20,
1: + NL80211_BSS_MAX = 19,
1: };
1:
1: enum nl80211_bss_status {
1: - NL80211_BSS_STATUS_AUTHENTICATED = 0,
1: - NL80211_BSS_STATUS_ASSOCIATED = 1,
1: - NL80211_BSS_STATUS_IBSS_JOINED = 2,
1: + NL80211_BSS_STATUS_AUTHENTICATED = 0,
1: + NL80211_BSS_STATUS_ASSOCIATED = 1,
1: + NL80211_BSS_STATUS_IBSS_JOINED = 2,
1: };
1:
1: enum nl80211_key_type {
1: - NL80211_KEYTYPE_GROUP = 0,
1: - NL80211_KEYTYPE_PAIRWISE = 1,
1: - NL80211_KEYTYPE_PEERKEY = 2,
1: - NUM_NL80211_KEYTYPES = 3,
1: + NL80211_KEYTYPE_GROUP = 0,
1: + NL80211_KEYTYPE_PAIRWISE = 1,
1: + NL80211_KEYTYPE_PEERKEY = 2,
1: + NUM_NL80211_KEYTYPES = 3,
1: };
1:
1: enum nl80211_wpa_versions {
1: - NL80211_WPA_VERSION_1 = 1,
1: - NL80211_WPA_VERSION_2 = 2,
1: - NL80211_WPA_VERSION_3 = 4,
1: + NL80211_WPA_VERSION_1 = 1,
1: + NL80211_WPA_VERSION_2 = 2,
1: + NL80211_WPA_VERSION_3 = 4,
1: };
1:
1: enum nl80211_key_default_types {
1: - __NL80211_KEY_DEFAULT_TYPE_INVALID = 0,
1: - NL80211_KEY_DEFAULT_TYPE_UNICAST = 1,
1: - NL80211_KEY_DEFAULT_TYPE_MULTICAST = 2,
1: - NUM_NL80211_KEY_DEFAULT_TYPES = 3,
1: + __NL80211_KEY_DEFAULT_TYPE_INVALID = 0,
1: + NL80211_KEY_DEFAULT_TYPE_UNICAST = 1,
1: + NL80211_KEY_DEFAULT_TYPE_MULTICAST = 2,
1: + NUM_NL80211_KEY_DEFAULT_TYPES = 3,
1: };
1:
1: enum nl80211_key_attributes {
1: - __NL80211_KEY_INVALID = 0,
1: - NL80211_KEY_DATA = 1,
1: - NL80211_KEY_IDX = 2,
1: - NL80211_KEY_CIPHER = 3,
1: - NL80211_KEY_SEQ = 4,
1: - NL80211_KEY_DEFAULT = 5,
1: - NL80211_KEY_DEFAULT_MGMT = 6,
1: - NL80211_KEY_TYPE = 7,
1: - NL80211_KEY_DEFAULT_TYPES = 8,
1: - NL80211_KEY_MODE = 9,
1: - __NL80211_KEY_AFTER_LAST = 10,
1: - NL80211_KEY_MAX = 9,
1: + __NL80211_KEY_INVALID = 0,
1: + NL80211_KEY_DATA = 1,
1: + NL80211_KEY_IDX = 2,
1: + NL80211_KEY_CIPHER = 3,
1: + NL80211_KEY_SEQ = 4,
1: + NL80211_KEY_DEFAULT = 5,
1: + NL80211_KEY_DEFAULT_MGMT = 6,
1: + NL80211_KEY_TYPE = 7,
1: + NL80211_KEY_DEFAULT_TYPES = 8,
1: + NL80211_KEY_MODE = 9,
1: + __NL80211_KEY_AFTER_LAST = 10,
1: + NL80211_KEY_MAX = 9,
1: };
1:
1: enum nl80211_tx_rate_attributes {
1: - __NL80211_TXRATE_INVALID = 0,
1: - NL80211_TXRATE_LEGACY = 1,
1: - NL80211_TXRATE_HT = 2,
1: - NL80211_TXRATE_VHT = 3,
1: - NL80211_TXRATE_GI = 4,
1: - __NL80211_TXRATE_AFTER_LAST = 5,
1: - NL80211_TXRATE_MAX = 4,
1: + __NL80211_TXRATE_INVALID = 0,
1: + NL80211_TXRATE_LEGACY = 1,
1: + NL80211_TXRATE_HT = 2,
1: + NL80211_TXRATE_VHT = 3,
1: + NL80211_TXRATE_GI = 4,
1: + __NL80211_TXRATE_AFTER_LAST = 5,
1: + NL80211_TXRATE_MAX = 4,
1: };
1:
1: struct nl80211_txrate_vht {
1: - __u16 mcs[8];
1: + __u16 mcs[8];
1: };
1:
1: enum nl80211_ps_state {
1: - NL80211_PS_DISABLED = 0,
1: - NL80211_PS_ENABLED = 1,
1: + NL80211_PS_DISABLED = 0,
1: + NL80211_PS_ENABLED = 1,
1: };
1:
1: enum nl80211_attr_cqm {
1: - __NL80211_ATTR_CQM_INVALID = 0,
1: - NL80211_ATTR_CQM_RSSI_THOLD = 1,
1: - NL80211_ATTR_CQM_RSSI_HYST = 2,
1: - NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT = 3,
1: - NL80211_ATTR_CQM_PKT_LOSS_EVENT = 4,
1: - NL80211_ATTR_CQM_TXE_RATE = 5,
1: - NL80211_ATTR_CQM_TXE_PKTS = 6,
1: - NL80211_ATTR_CQM_TXE_INTVL = 7,
1: - NL80211_ATTR_CQM_BEACON_LOSS_EVENT = 8,
1: - NL80211_ATTR_CQM_RSSI_LEVEL = 9,
1: - __NL80211_ATTR_CQM_AFTER_LAST = 10,
1: - NL80211_ATTR_CQM_MAX = 9,
1: + __NL80211_ATTR_CQM_INVALID = 0,
1: + NL80211_ATTR_CQM_RSSI_THOLD = 1,
1: + NL80211_ATTR_CQM_RSSI_HYST = 2,
1: + NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT = 3,
1: + NL80211_ATTR_CQM_PKT_LOSS_EVENT = 4,
1: + NL80211_ATTR_CQM_TXE_RATE = 5,
1: + NL80211_ATTR_CQM_TXE_PKTS = 6,
1: + NL80211_ATTR_CQM_TXE_INTVL = 7,
1: + NL80211_ATTR_CQM_BEACON_LOSS_EVENT = 8,
1: + NL80211_ATTR_CQM_RSSI_LEVEL = 9,
1: + __NL80211_ATTR_CQM_AFTER_LAST = 10,
1: + NL80211_ATTR_CQM_MAX = 9,
1: };
1:
1: enum nl80211_cqm_rssi_threshold_event {
1: - NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW = 0,
1: - NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH = 1,
1: - NL80211_CQM_RSSI_BEACON_LOSS_EVENT = 2,
1: + NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW = 0,
1: + NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH = 1,
1: + NL80211_CQM_RSSI_BEACON_LOSS_EVENT = 2,
1: };
1:
1: enum nl80211_packet_pattern_attr {
1: - __NL80211_PKTPAT_INVALID = 0,
1: - NL80211_PKTPAT_MASK = 1,
1: - NL80211_PKTPAT_PATTERN = 2,
1: - NL80211_PKTPAT_OFFSET = 3,
1: - NUM_NL80211_PKTPAT = 4,
1: - MAX_NL80211_PKTPAT = 3,
1: + __NL80211_PKTPAT_INVALID = 0,
1: + NL80211_PKTPAT_MASK = 1,
1: + NL80211_PKTPAT_PATTERN = 2,
1: + NL80211_PKTPAT_OFFSET = 3,
1: + NUM_NL80211_PKTPAT = 4,
1: + MAX_NL80211_PKTPAT = 3,
1: };
1:
1: struct nl80211_pattern_support {
1: - __u32 max_patterns;
1: - __u32 min_pattern_len;
1: - __u32 max_pattern_len;
1: - __u32 max_pkt_offset;
1: + __u32 max_patterns;
1: + __u32 min_pattern_len;
1: + __u32 max_pattern_len;
1: + __u32 max_pkt_offset;
1: };
1:
1: enum nl80211_wowlan_triggers {
1: - __NL80211_WOWLAN_TRIG_INVALID = 0,
1: - NL80211_WOWLAN_TRIG_ANY = 1,
1: - NL80211_WOWLAN_TRIG_DISCONNECT = 2,
1: - NL80211_WOWLAN_TRIG_MAGIC_PKT = 3,
1: - NL80211_WOWLAN_TRIG_PKT_PATTERN = 4,
1: - NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED = 5,
1: - NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE = 6,
1: - NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST = 7,
1: - NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE = 8,
1: - NL80211_WOWLAN_TRIG_RFKILL_RELEASE = 9,
1: - NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211 = 10,
1: - NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN = 11,
1: - NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023 = 12,
1: - NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN = 13,
1: - NL80211_WOWLAN_TRIG_TCP_CONNECTION = 14,
1: - NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH = 15,
1: - NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST = 16,
1: - NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS = 17,
1: - NL80211_WOWLAN_TRIG_NET_DETECT = 18,
1: - NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS = 19,
1: - NUM_NL80211_WOWLAN_TRIG = 20,
1: - MAX_NL80211_WOWLAN_TRIG = 19,
1: + __NL80211_WOWLAN_TRIG_INVALID = 0,
1: + NL80211_WOWLAN_TRIG_ANY = 1,
1: + NL80211_WOWLAN_TRIG_DISCONNECT = 2,
1: + NL80211_WOWLAN_TRIG_MAGIC_PKT = 3,
1: + NL80211_WOWLAN_TRIG_PKT_PATTERN = 4,
1: + NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED = 5,
1: + NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE = 6,
1: + NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST = 7,
1: + NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE = 8,
1: + NL80211_WOWLAN_TRIG_RFKILL_RELEASE = 9,
1: + NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211 = 10,
1: + NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN = 11,
1: + NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023 = 12,
1: + NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN = 13,
1: + NL80211_WOWLAN_TRIG_TCP_CONNECTION = 14,
1: + NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH = 15,
1: + NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST = 16,
1: + NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS = 17,
1: + NL80211_WOWLAN_TRIG_NET_DETECT = 18,
1: + NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS = 19,
1: + NUM_NL80211_WOWLAN_TRIG = 20,
1: + MAX_NL80211_WOWLAN_TRIG = 19,
1: };
1:
1: enum nl80211_wowlan_tcp_attrs {
1: - __NL80211_WOWLAN_TCP_INVALID = 0,
1: - NL80211_WOWLAN_TCP_SRC_IPV4 = 1,
1: - NL80211_WOWLAN_TCP_DST_IPV4 = 2,
1: - NL80211_WOWLAN_TCP_DST_MAC = 3,
1: - NL80211_WOWLAN_TCP_SRC_PORT = 4,
1: - NL80211_WOWLAN_TCP_DST_PORT = 5,
1: - NL80211_WOWLAN_TCP_DATA_PAYLOAD = 6,
1: - NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ = 7,
1: - NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN = 8,
1: - NL80211_WOWLAN_TCP_DATA_INTERVAL = 9,
1: - NL80211_WOWLAN_TCP_WAKE_PAYLOAD = 10,
1: - NL80211_WOWLAN_TCP_WAKE_MASK = 11,
1: - NUM_NL80211_WOWLAN_TCP = 12,
1: - MAX_NL80211_WOWLAN_TCP = 11,
1: + __NL80211_WOWLAN_TCP_INVALID = 0,
1: + NL80211_WOWLAN_TCP_SRC_IPV4 = 1,
1: + NL80211_WOWLAN_TCP_DST_IPV4 = 2,
1: + NL80211_WOWLAN_TCP_DST_MAC = 3,
1: + NL80211_WOWLAN_TCP_SRC_PORT = 4,
1: + NL80211_WOWLAN_TCP_DST_PORT = 5,
1: + NL80211_WOWLAN_TCP_DATA_PAYLOAD = 6,
1: + NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ = 7,
1: + NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN = 8,
1: + NL80211_WOWLAN_TCP_DATA_INTERVAL = 9,
1: + NL80211_WOWLAN_TCP_WAKE_PAYLOAD = 10,
1: + NL80211_WOWLAN_TCP_WAKE_MASK = 11,
1: + NUM_NL80211_WOWLAN_TCP = 12,
1: + MAX_NL80211_WOWLAN_TCP = 11,
1: };
1:
1: struct nl80211_coalesce_rule_support {
1: - __u32 max_rules;
1: - struct nl80211_pattern_support pat;
1: - __u32 max_delay;
1: + __u32 max_rules;
1: + struct nl80211_pattern_support pat;
1: + __u32 max_delay;
1: };
1:
1: enum nl80211_attr_coalesce_rule {
1: - __NL80211_COALESCE_RULE_INVALID = 0,
1: - NL80211_ATTR_COALESCE_RULE_DELAY = 1,
1: - NL80211_ATTR_COALESCE_RULE_CONDITION = 2,
1: - NL80211_ATTR_COALESCE_RULE_PKT_PATTERN = 3,
1: - NUM_NL80211_ATTR_COALESCE_RULE = 4,
1: - NL80211_ATTR_COALESCE_RULE_MAX = 3,
1: + __NL80211_COALESCE_RULE_INVALID = 0,
1: + NL80211_ATTR_COALESCE_RULE_DELAY = 1,
1: + NL80211_ATTR_COALESCE_RULE_CONDITION = 2,
1: + NL80211_ATTR_COALESCE_RULE_PKT_PATTERN = 3,
1: + NUM_NL80211_ATTR_COALESCE_RULE = 4,
1: + NL80211_ATTR_COALESCE_RULE_MAX = 3,
1: };
1:
1: enum nl80211_iface_limit_attrs {
1: - NL80211_IFACE_LIMIT_UNSPEC = 0,
1: - NL80211_IFACE_LIMIT_MAX = 1,
1: - NL80211_IFACE_LIMIT_TYPES = 2,
1: - NUM_NL80211_IFACE_LIMIT = 3,
1: - MAX_NL80211_IFACE_LIMIT = 2,
1: + NL80211_IFACE_LIMIT_UNSPEC = 0,
1: + NL80211_IFACE_LIMIT_MAX = 1,
1: + NL80211_IFACE_LIMIT_TYPES = 2,
1: + NUM_NL80211_IFACE_LIMIT = 3,
1: + MAX_NL80211_IFACE_LIMIT = 2,
1: };
1:
1: enum nl80211_if_combination_attrs {
1: - NL80211_IFACE_COMB_UNSPEC = 0,
1: - NL80211_IFACE_COMB_LIMITS = 1,
1: - NL80211_IFACE_COMB_MAXNUM = 2,
1: - NL80211_IFACE_COMB_STA_AP_BI_MATCH = 3,
1: - NL80211_IFACE_COMB_NUM_CHANNELS = 4,
1: - NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS = 5,
1: - NL80211_IFACE_COMB_RADAR_DETECT_REGIONS = 6,
1: - NL80211_IFACE_COMB_BI_MIN_GCD = 7,
1: - NUM_NL80211_IFACE_COMB = 8,
1: - MAX_NL80211_IFACE_COMB = 7,
1: + NL80211_IFACE_COMB_UNSPEC = 0,
1: + NL80211_IFACE_COMB_LIMITS = 1,
1: + NL80211_IFACE_COMB_MAXNUM = 2,
1: + NL80211_IFACE_COMB_STA_AP_BI_MATCH = 3,
1: + NL80211_IFACE_COMB_NUM_CHANNELS = 4,
1: + NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS = 5,
1: + NL80211_IFACE_COMB_RADAR_DETECT_REGIONS = 6,
1: + NL80211_IFACE_COMB_BI_MIN_GCD = 7,
1: + NUM_NL80211_IFACE_COMB = 8,
1: + MAX_NL80211_IFACE_COMB = 7,
1: };
1:
1: enum nl80211_plink_state {
1: - NL80211_PLINK_LISTEN = 0,
1: - NL80211_PLINK_OPN_SNT = 1,
1: - NL80211_PLINK_OPN_RCVD = 2,
1: - NL80211_PLINK_CNF_RCVD = 3,
1: - NL80211_PLINK_ESTAB = 4,
1: - NL80211_PLINK_HOLDING = 5,
1: - NL80211_PLINK_BLOCKED = 6,
1: - NUM_NL80211_PLINK_STATES = 7,
1: - MAX_NL80211_PLINK_STATES = 6,
1: + NL80211_PLINK_LISTEN = 0,
1: + NL80211_PLINK_OPN_SNT = 1,
1: + NL80211_PLINK_OPN_RCVD = 2,
1: + NL80211_PLINK_CNF_RCVD = 3,
1: + NL80211_PLINK_ESTAB = 4,
1: + NL80211_PLINK_HOLDING = 5,
1: + NL80211_PLINK_BLOCKED = 6,
1: + NUM_NL80211_PLINK_STATES = 7,
1: + MAX_NL80211_PLINK_STATES = 6,
1: };
1:
1: enum plink_actions {
1: - NL80211_PLINK_ACTION_NO_ACTION = 0,
1: - NL80211_PLINK_ACTION_OPEN = 1,
1: - NL80211_PLINK_ACTION_BLOCK = 2,
1: - NUM_NL80211_PLINK_ACTIONS = 3,
1: + NL80211_PLINK_ACTION_NO_ACTION = 0,
1: + NL80211_PLINK_ACTION_OPEN = 1,
1: + NL80211_PLINK_ACTION_BLOCK = 2,
1: + NUM_NL80211_PLINK_ACTIONS = 3,
1: };
1:
1: enum nl80211_rekey_data {
1: - __NL80211_REKEY_DATA_INVALID = 0,
1: - NL80211_REKEY_DATA_KEK = 1,
1: - NL80211_REKEY_DATA_KCK = 2,
1: - NL80211_REKEY_DATA_REPLAY_CTR = 3,
1: - NUM_NL80211_REKEY_DATA = 4,
1: - MAX_NL80211_REKEY_DATA = 3,
1: + __NL80211_REKEY_DATA_INVALID = 0,
1: + NL80211_REKEY_DATA_KEK = 1,
1: + NL80211_REKEY_DATA_KCK = 2,
1: + NL80211_REKEY_DATA_REPLAY_CTR = 3,
1: + NUM_NL80211_REKEY_DATA = 4,
1: + MAX_NL80211_REKEY_DATA = 3,
1: };
1:
1: enum nl80211_sta_wme_attr {
1: - __NL80211_STA_WME_INVALID = 0,
1: - NL80211_STA_WME_UAPSD_QUEUES = 1,
1: - NL80211_STA_WME_MAX_SP = 2,
1: - __NL80211_STA_WME_AFTER_LAST = 3,
1: - NL80211_STA_WME_MAX = 2,
1: + __NL80211_STA_WME_INVALID = 0,
1: + NL80211_STA_WME_UAPSD_QUEUES = 1,
1: + NL80211_STA_WME_MAX_SP = 2,
1: + __NL80211_STA_WME_AFTER_LAST = 3,
1: + NL80211_STA_WME_MAX = 2,
1: };
1:
1: enum nl80211_pmksa_candidate_attr {
1: - __NL80211_PMKSA_CANDIDATE_INVALID = 0,
1: - NL80211_PMKSA_CANDIDATE_INDEX = 1,
1: - NL80211_PMKSA_CANDIDATE_BSSID = 2,
1: - NL80211_PMKSA_CANDIDATE_PREAUTH = 3,
1: - NUM_NL80211_PMKSA_CANDIDATE = 4,
1: - MAX_NL80211_PMKSA_CANDIDATE = 3,
1: + __NL80211_PMKSA_CANDIDATE_INVALID = 0,
1: + NL80211_PMKSA_CANDIDATE_INDEX = 1,
1: + NL80211_PMKSA_CANDIDATE_BSSID = 2,
1: + NL80211_PMKSA_CANDIDATE_PREAUTH = 3,
1: + NUM_NL80211_PMKSA_CANDIDATE = 4,
1: + MAX_NL80211_PMKSA_CANDIDATE = 3,
1: };
1:
1: enum nl80211_connect_failed_reason {
1: - NL80211_CONN_FAIL_MAX_CLIENTS = 0,
1: - NL80211_CONN_FAIL_BLOCKED_CLIENT = 1,
1: + NL80211_CONN_FAIL_MAX_CLIENTS = 0,
1: + NL80211_CONN_FAIL_BLOCKED_CLIENT = 1,
1: };
1:
1: enum nl80211_protocol_features {
1: - NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 1,
1: + NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 1,
1: };
1:
1: enum nl80211_sched_scan_plan {
1: - __NL80211_SCHED_SCAN_PLAN_INVALID = 0,
1: - NL80211_SCHED_SCAN_PLAN_INTERVAL = 1,
1: - NL80211_SCHED_SCAN_PLAN_ITERATIONS = 2,
1: - __NL80211_SCHED_SCAN_PLAN_AFTER_LAST = 3,
1: - NL80211_SCHED_SCAN_PLAN_MAX = 2,
1: + __NL80211_SCHED_SCAN_PLAN_INVALID = 0,
1: + NL80211_SCHED_SCAN_PLAN_INTERVAL = 1,
1: + NL80211_SCHED_SCAN_PLAN_ITERATIONS = 2,
1: + __NL80211_SCHED_SCAN_PLAN_AFTER_LAST = 3,
1: + NL80211_SCHED_SCAN_PLAN_MAX = 2,
1: };
1:
1: struct nl80211_bss_select_rssi_adjust {
1: - __u8 band;
1: - __s8 delta;
1: + __u8 band;
1: + __s8 delta;
1: };
1:
1: enum nl80211_nan_publish_type {
1: - NL80211_NAN_SOLICITED_PUBLISH = 1,
1: - NL80211_NAN_UNSOLICITED_PUBLISH = 2,
1: + NL80211_NAN_SOLICITED_PUBLISH = 1,
1: + NL80211_NAN_UNSOLICITED_PUBLISH = 2,
1: };
1:
1: enum nl80211_nan_func_term_reason {
1: - NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST = 0,
1: - NL80211_NAN_FUNC_TERM_REASON_TTL_EXPIRED = 1,
1: - NL80211_NAN_FUNC_TERM_REASON_ERROR = 2,
1: + NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST = 0,
1: + NL80211_NAN_FUNC_TERM_REASON_TTL_EXPIRED = 1,
1: + NL80211_NAN_FUNC_TERM_REASON_ERROR = 2,
1: };
1:
1: enum nl80211_nan_func_attributes {
1: - __NL80211_NAN_FUNC_INVALID = 0,
1: - NL80211_NAN_FUNC_TYPE = 1,
1: - NL80211_NAN_FUNC_SERVICE_ID = 2,
1: - NL80211_NAN_FUNC_PUBLISH_TYPE = 3,
1: - NL80211_NAN_FUNC_PUBLISH_BCAST = 4,
1: - NL80211_NAN_FUNC_SUBSCRIBE_ACTIVE = 5,
1: - NL80211_NAN_FUNC_FOLLOW_UP_ID = 6,
1: - NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID = 7,
1: - NL80211_NAN_FUNC_FOLLOW_UP_DEST = 8,
1: - NL80211_NAN_FUNC_CLOSE_RANGE = 9,
1: - NL80211_NAN_FUNC_TTL = 10,
1: - NL80211_NAN_FUNC_SERVICE_INFO = 11,
1: - NL80211_NAN_FUNC_SRF = 12,
1: - NL80211_NAN_FUNC_RX_MATCH_FILTER = 13,
1: - NL80211_NAN_FUNC_TX_MATCH_FILTER = 14,
1: - NL80211_NAN_FUNC_INSTANCE_ID = 15,
1: - NL80211_NAN_FUNC_TERM_REASON = 16,
1: - NUM_NL80211_NAN_FUNC_ATTR = 17,
1: - NL80211_NAN_FUNC_ATTR_MAX = 16,
1: + __NL80211_NAN_FUNC_INVALID = 0,
1: + NL80211_NAN_FUNC_TYPE = 1,
1: + NL80211_NAN_FUNC_SERVICE_ID = 2,
1: + NL80211_NAN_FUNC_PUBLISH_TYPE = 3,
1: + NL80211_NAN_FUNC_PUBLISH_BCAST = 4,
1: + NL80211_NAN_FUNC_SUBSCRIBE_ACTIVE = 5,
1: + NL80211_NAN_FUNC_FOLLOW_UP_ID = 6,
1: + NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID = 7,
1: + NL80211_NAN_FUNC_FOLLOW_UP_DEST = 8,
1: + NL80211_NAN_FUNC_CLOSE_RANGE = 9,
1: + NL80211_NAN_FUNC_TTL = 10,
1: + NL80211_NAN_FUNC_SERVICE_INFO = 11,
1: + NL80211_NAN_FUNC_SRF = 12,
1: + NL80211_NAN_FUNC_RX_MATCH_FILTER = 13,
1: + NL80211_NAN_FUNC_TX_MATCH_FILTER = 14,
1: + NL80211_NAN_FUNC_INSTANCE_ID = 15,
1: + NL80211_NAN_FUNC_TERM_REASON = 16,
1: + NUM_NL80211_NAN_FUNC_ATTR = 17,
1: + NL80211_NAN_FUNC_ATTR_MAX = 16,
1: };
1:
1: enum nl80211_nan_srf_attributes {
1: - __NL80211_NAN_SRF_INVALID = 0,
1: - NL80211_NAN_SRF_INCLUDE = 1,
1: - NL80211_NAN_SRF_BF = 2,
1: - NL80211_NAN_SRF_BF_IDX = 3,
1: - NL80211_NAN_SRF_MAC_ADDRS = 4,
1: - NUM_NL80211_NAN_SRF_ATTR = 5,
1: - NL80211_NAN_SRF_ATTR_MAX = 4,
1: + __NL80211_NAN_SRF_INVALID = 0,
1: + NL80211_NAN_SRF_INCLUDE = 1,
1: + NL80211_NAN_SRF_BF = 2,
1: + NL80211_NAN_SRF_BF_IDX = 3,
1: + NL80211_NAN_SRF_MAC_ADDRS = 4,
1: + NUM_NL80211_NAN_SRF_ATTR = 5,
1: + NL80211_NAN_SRF_ATTR_MAX = 4,
1: };
1:
1: enum nl80211_nan_match_attributes {
1: - __NL80211_NAN_MATCH_INVALID = 0,
1: - NL80211_NAN_MATCH_FUNC_LOCAL = 1,
1: - NL80211_NAN_MATCH_FUNC_PEER = 2,
1: - NUM_NL80211_NAN_MATCH_ATTR = 3,
1: - NL80211_NAN_MATCH_ATTR_MAX = 2,
1: + __NL80211_NAN_MATCH_INVALID = 0,
1: + NL80211_NAN_MATCH_FUNC_LOCAL = 1,
1: + NL80211_NAN_MATCH_FUNC_PEER = 2,
1: + NUM_NL80211_NAN_MATCH_ATTR = 3,
1: + NL80211_NAN_MATCH_ATTR_MAX = 2,
1: };
1:
1: enum nl80211_ftm_responder_attributes {
1: - __NL80211_FTM_RESP_ATTR_INVALID = 0,
1: - NL80211_FTM_RESP_ATTR_ENABLED = 1,
1: - NL80211_FTM_RESP_ATTR_LCI = 2,
1: - NL80211_FTM_RESP_ATTR_CIVICLOC = 3,
1: - __NL80211_FTM_RESP_ATTR_LAST = 4,
1: - NL80211_FTM_RESP_ATTR_MAX = 3,
1: + __NL80211_FTM_RESP_ATTR_INVALID = 0,
1: + NL80211_FTM_RESP_ATTR_ENABLED = 1,
1: + NL80211_FTM_RESP_ATTR_LCI = 2,
1: + NL80211_FTM_RESP_ATTR_CIVICLOC = 3,
1: + __NL80211_FTM_RESP_ATTR_LAST = 4,
1: + NL80211_FTM_RESP_ATTR_MAX = 3,
1: };
1:
1: enum nl80211_ftm_responder_stats {
1: - __NL80211_FTM_STATS_INVALID = 0,
1: - NL80211_FTM_STATS_SUCCESS_NUM = 1,
1: - NL80211_FTM_STATS_PARTIAL_NUM = 2,
1: - NL80211_FTM_STATS_FAILED_NUM = 3,
1: - NL80211_FTM_STATS_ASAP_NUM = 4,
1: - NL80211_FTM_STATS_NON_ASAP_NUM = 5,
1: - NL80211_FTM_STATS_TOTAL_DURATION_MSEC = 6,
1: - NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM = 7,
1: - NL80211_FTM_STATS_RESCHEDULE_REQUESTS_NUM = 8,
1: - NL80211_FTM_STATS_OUT_OF_WINDOW_TRIGGERS_NUM = 9,
1: - NL80211_FTM_STATS_PAD = 10,
1: - __NL80211_FTM_STATS_AFTER_LAST = 11,
1: - NL80211_FTM_STATS_MAX = 10,
1: + __NL80211_FTM_STATS_INVALID = 0,
1: + NL80211_FTM_STATS_SUCCESS_NUM = 1,
1: + NL80211_FTM_STATS_PARTIAL_NUM = 2,
1: + NL80211_FTM_STATS_FAILED_NUM = 3,
1: + NL80211_FTM_STATS_ASAP_NUM = 4,
1: + NL80211_FTM_STATS_NON_ASAP_NUM = 5,
1: + NL80211_FTM_STATS_TOTAL_DURATION_MSEC = 6,
1: + NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM = 7,
1: + NL80211_FTM_STATS_RESCHEDULE_REQUESTS_NUM = 8,
1: + NL80211_FTM_STATS_OUT_OF_WINDOW_TRIGGERS_NUM = 9,
1: + NL80211_FTM_STATS_PAD = 10,
1: + __NL80211_FTM_STATS_AFTER_LAST = 11,
1: + NL80211_FTM_STATS_MAX = 10,
1: };
1:
1: enum nl80211_peer_measurement_type {
1: - NL80211_PMSR_TYPE_INVALID = 0,
1: - NL80211_PMSR_TYPE_FTM = 1,
1: - NUM_NL80211_PMSR_TYPES = 2,
1: - NL80211_PMSR_TYPE_MAX = 1,
1: + NL80211_PMSR_TYPE_INVALID = 0,
1: + NL80211_PMSR_TYPE_FTM = 1,
1: + NUM_NL80211_PMSR_TYPES = 2,
1: + NL80211_PMSR_TYPE_MAX = 1,
1: };
1:
1: enum nl80211_peer_measurement_req {
1: - __NL80211_PMSR_REQ_ATTR_INVALID = 0,
1: - NL80211_PMSR_REQ_ATTR_DATA = 1,
1: - NL80211_PMSR_REQ_ATTR_GET_AP_TSF = 2,
1: - NUM_NL80211_PMSR_REQ_ATTRS = 3,
1: - NL80211_PMSR_REQ_ATTR_MAX = 2,
1: + __NL80211_PMSR_REQ_ATTR_INVALID = 0,
1: + NL80211_PMSR_REQ_ATTR_DATA = 1,
1: + NL80211_PMSR_REQ_ATTR_GET_AP_TSF = 2,
1: + NUM_NL80211_PMSR_REQ_ATTRS = 3,
1: + NL80211_PMSR_REQ_ATTR_MAX = 2,
1: };
1:
1: enum nl80211_peer_measurement_peer_attrs {
1: - __NL80211_PMSR_PEER_ATTR_INVALID = 0,
1: - NL80211_PMSR_PEER_ATTR_ADDR = 1,
1: - NL80211_PMSR_PEER_ATTR_CHAN = 2,
1: - NL80211_PMSR_PEER_ATTR_REQ = 3,
1: - NL80211_PMSR_PEER_ATTR_RESP = 4,
1: - NUM_NL80211_PMSR_PEER_ATTRS = 5,
1: - NL80211_PMSR_PEER_ATTR_MAX = 4,
1: + __NL80211_PMSR_PEER_ATTR_INVALID = 0,
1: + NL80211_PMSR_PEER_ATTR_ADDR = 1,
1: + NL80211_PMSR_PEER_ATTR_CHAN = 2,
1: + NL80211_PMSR_PEER_ATTR_REQ = 3,
1: + NL80211_PMSR_PEER_ATTR_RESP = 4,
1: + NUM_NL80211_PMSR_PEER_ATTRS = 5,
1: + NL80211_PMSR_PEER_ATTR_MAX = 4,
1: };
1:
1: enum nl80211_peer_measurement_attrs {
1: - __NL80211_PMSR_ATTR_INVALID = 0,
1: - NL80211_PMSR_ATTR_MAX_PEERS = 1,
1: - NL80211_PMSR_ATTR_REPORT_AP_TSF = 2,
1: - NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR = 3,
1: - NL80211_PMSR_ATTR_TYPE_CAPA = 4,
1: - NL80211_PMSR_ATTR_PEERS = 5,
1: - NUM_NL80211_PMSR_ATTR = 6,
1: - NL80211_PMSR_ATTR_MAX = 5,
1: + __NL80211_PMSR_ATTR_INVALID = 0,
1: + NL80211_PMSR_ATTR_MAX_PEERS = 1,
1: + NL80211_PMSR_ATTR_REPORT_AP_TSF = 2,
1: + NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR = 3,
1: + NL80211_PMSR_ATTR_TYPE_CAPA = 4,
1: + NL80211_PMSR_ATTR_PEERS = 5,
1: + NUM_NL80211_PMSR_ATTR = 6,
1: + NL80211_PMSR_ATTR_MAX = 5,
1: };
1:
1: enum nl80211_peer_measurement_ftm_capa {
1: - __NL80211_PMSR_FTM_CAPA_ATTR_INVALID = 0,
1: - NL80211_PMSR_FTM_CAPA_ATTR_ASAP = 1,
1: - NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP = 2,
1: - NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI = 3,
1: - NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC = 4,
1: - NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES = 5,
1: - NL80211_PMSR_FTM_CAPA_ATTR_BANDWIDTHS = 6,
1: - NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT = 7,
1: - NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST = 8,
1: - NUM_NL80211_PMSR_FTM_CAPA_ATTR = 9,
1: - NL80211_PMSR_FTM_CAPA_ATTR_MAX = 8,
1: + __NL80211_PMSR_FTM_CAPA_ATTR_INVALID = 0,
1: + NL80211_PMSR_FTM_CAPA_ATTR_ASAP = 1,
1: + NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP = 2,
1: + NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI = 3,
1: + NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC = 4,
1: + NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES = 5,
1: + NL80211_PMSR_FTM_CAPA_ATTR_BANDWIDTHS = 6,
1: + NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT = 7,
1: + NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST = 8,
1: + NUM_NL80211_PMSR_FTM_CAPA_ATTR = 9,
1: + NL80211_PMSR_FTM_CAPA_ATTR_MAX = 8,
1: };
1:
1: enum nl80211_peer_measurement_ftm_req {
1: - __NL80211_PMSR_FTM_REQ_ATTR_INVALID = 0,
1: - NL80211_PMSR_FTM_REQ_ATTR_ASAP = 1,
1: - NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE = 2,
1: - NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP = 3,
1: - NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD = 4,
1: - NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION = 5,
1: - NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST = 6,
1: - NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES = 7,
1: - NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI = 8,
1: - NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC = 9,
1: - NUM_NL80211_PMSR_FTM_REQ_ATTR = 10,
1: - NL80211_PMSR_FTM_REQ_ATTR_MAX = 9,
1: + __NL80211_PMSR_FTM_REQ_ATTR_INVALID = 0,
1: + NL80211_PMSR_FTM_REQ_ATTR_ASAP = 1,
1: + NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE = 2,
1: + NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP = 3,
1: + NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD = 4,
1: + NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION = 5,
1: + NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST = 6,
1: + NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES = 7,
1: + NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI = 8,
1: + NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC = 9,
1: + NUM_NL80211_PMSR_FTM_REQ_ATTR = 10,
1: + NL80211_PMSR_FTM_REQ_ATTR_MAX = 9,
1: };
1:
1: enum nl80211_obss_pd_attributes {
1: - __NL80211_HE_OBSS_PD_ATTR_INVALID = 0,
1: - NL80211_HE_OBSS_PD_ATTR_MIN_OFFSET = 1,
1: - NL80211_HE_OBSS_PD_ATTR_MAX_OFFSET = 2,
1: - __NL80211_HE_OBSS_PD_ATTR_LAST = 3,
1: - NL80211_HE_OBSS_PD_ATTR_MAX = 2,
1: + __NL80211_HE_OBSS_PD_ATTR_INVALID = 0,
1: + NL80211_HE_OBSS_PD_ATTR_MIN_OFFSET = 1,
1: + NL80211_HE_OBSS_PD_ATTR_MAX_OFFSET = 2,
1: + __NL80211_HE_OBSS_PD_ATTR_LAST = 3,
1: + NL80211_HE_OBSS_PD_ATTR_MAX = 2,
1: };
1:
1: enum survey_info_flags {
1: - SURVEY_INFO_NOISE_DBM = 1,
1: - SURVEY_INFO_IN_USE = 2,
1: - SURVEY_INFO_TIME = 4,
1: - SURVEY_INFO_TIME_BUSY = 8,
1: - SURVEY_INFO_TIME_EXT_BUSY = 16,
1: - SURVEY_INFO_TIME_RX = 32,
1: - SURVEY_INFO_TIME_TX = 64,
1: - SURVEY_INFO_TIME_SCAN = 128,
1: - SURVEY_INFO_TIME_BSS_RX = 256,
1: + SURVEY_INFO_NOISE_DBM = 1,
1: + SURVEY_INFO_IN_USE = 2,
1: + SURVEY_INFO_TIME = 4,
1: + SURVEY_INFO_TIME_BUSY = 8,
1: + SURVEY_INFO_TIME_EXT_BUSY = 16,
1: + SURVEY_INFO_TIME_RX = 32,
1: + SURVEY_INFO_TIME_TX = 64,
1: + SURVEY_INFO_TIME_SCAN = 128,
1: + SURVEY_INFO_TIME_BSS_RX = 256,
1: };
1:
1: enum cfg80211_ap_settings_flags {
1: - AP_SETTINGS_EXTERNAL_AUTH_SUPPORT = 1,
1: + AP_SETTINGS_EXTERNAL_AUTH_SUPPORT = 1,
1: };
1:
1: enum station_parameters_apply_mask {
1: - STATION_PARAM_APPLY_UAPSD = 1,
1: - STATION_PARAM_APPLY_CAPABILITY = 2,
1: - STATION_PARAM_APPLY_PLINK_STATE = 4,
1: - STATION_PARAM_APPLY_STA_TXPOWER = 8,
1: + STATION_PARAM_APPLY_UAPSD = 1,
1: + STATION_PARAM_APPLY_CAPABILITY = 2,
1: + STATION_PARAM_APPLY_PLINK_STATE = 4,
1: + STATION_PARAM_APPLY_STA_TXPOWER = 8,
1: };
1:
1: enum cfg80211_station_type {
1: - CFG80211_STA_AP_CLIENT = 0,
1: - CFG80211_STA_AP_CLIENT_UNASSOC = 1,
1: - CFG80211_STA_AP_MLME_CLIENT = 2,
1: - CFG80211_STA_AP_STA = 3,
1: - CFG80211_STA_IBSS = 4,
1: - CFG80211_STA_TDLS_PEER_SETUP = 5,
1: - CFG80211_STA_TDLS_PEER_ACTIVE = 6,
1: - CFG80211_STA_MESH_PEER_KERNEL = 7,
1: - CFG80211_STA_MESH_PEER_USER = 8,
1: + CFG80211_STA_AP_CLIENT = 0,
1: + CFG80211_STA_AP_CLIENT_UNASSOC = 1,
1: + CFG80211_STA_AP_MLME_CLIENT = 2,
1: + CFG80211_STA_AP_STA = 3,
1: + CFG80211_STA_IBSS = 4,
1: + CFG80211_STA_TDLS_PEER_SETUP = 5,
1: + CFG80211_STA_TDLS_PEER_ACTIVE = 6,
1: + CFG80211_STA_MESH_PEER_KERNEL = 7,
1: + CFG80211_STA_MESH_PEER_USER = 8,
1: };
1:
1: enum bss_param_flags {
1: - BSS_PARAM_FLAGS_CTS_PROT = 1,
1: - BSS_PARAM_FLAGS_SHORT_PREAMBLE = 2,
1: - BSS_PARAM_FLAGS_SHORT_SLOT_TIME = 4,
1: + BSS_PARAM_FLAGS_CTS_PROT = 1,
1: + BSS_PARAM_FLAGS_SHORT_PREAMBLE = 2,
1: + BSS_PARAM_FLAGS_SHORT_SLOT_TIME = 4,
1: };
1:
1: enum monitor_flags {
1: - MONITOR_FLAG_CHANGED = 1,
1: - MONITOR_FLAG_FCSFAIL = 2,
1: - MONITOR_FLAG_PLCPFAIL = 4,
1: - MONITOR_FLAG_CONTROL = 8,
1: - MONITOR_FLAG_OTHER_BSS = 16,
1: - MONITOR_FLAG_COOK_FRAMES = 32,
1: - MONITOR_FLAG_ACTIVE = 64,
1: + MONITOR_FLAG_CHANGED = 1,
1: + MONITOR_FLAG_FCSFAIL = 2,
1: + MONITOR_FLAG_PLCPFAIL = 4,
1: + MONITOR_FLAG_CONTROL = 8,
1: + MONITOR_FLAG_OTHER_BSS = 16,
1: + MONITOR_FLAG_COOK_FRAMES = 32,
1: + MONITOR_FLAG_ACTIVE = 64,
1: };
1:
1: enum mpath_info_flags {
1: - MPATH_INFO_FRAME_QLEN = 1,
1: - MPATH_INFO_SN = 2,
1: - MPATH_INFO_METRIC = 4,
1: - MPATH_INFO_EXPTIME = 8,
1: - MPATH_INFO_DISCOVERY_TIMEOUT = 16,
1: - MPATH_INFO_DISCOVERY_RETRIES = 32,
1: - MPATH_INFO_FLAGS = 64,
1: - MPATH_INFO_HOP_COUNT = 128,
1: - MPATH_INFO_PATH_CHANGE = 256,
1: + MPATH_INFO_FRAME_QLEN = 1,
1: + MPATH_INFO_SN = 2,
1: + MPATH_INFO_METRIC = 4,
1: + MPATH_INFO_EXPTIME = 8,
1: + MPATH_INFO_DISCOVERY_TIMEOUT = 16,
1: + MPATH_INFO_DISCOVERY_RETRIES = 32,
1: + MPATH_INFO_FLAGS = 64,
1: + MPATH_INFO_HOP_COUNT = 128,
1: + MPATH_INFO_PATH_CHANGE = 256,
1: };
1:
1: enum cfg80211_assoc_req_flags {
1: - ASSOC_REQ_DISABLE_HT = 1,
1: - ASSOC_REQ_DISABLE_VHT = 2,
1: - ASSOC_REQ_USE_RRM = 4,
1: - CONNECT_REQ_EXTERNAL_AUTH_SUPPORT = 8,
1: + ASSOC_REQ_DISABLE_HT = 1,
1: + ASSOC_REQ_DISABLE_VHT = 2,
1: + ASSOC_REQ_USE_RRM = 4,
1: + CONNECT_REQ_EXTERNAL_AUTH_SUPPORT = 8,
1: };
1:
1: enum cfg80211_connect_params_changed {
1: - UPDATE_ASSOC_IES = 1,
1: - UPDATE_FILS_ERP_INFO = 2,
1: - UPDATE_AUTH_TYPE = 4,
1: + UPDATE_ASSOC_IES = 1,
1: + UPDATE_FILS_ERP_INFO = 2,
1: + UPDATE_AUTH_TYPE = 4,
1: };
1:
1: enum wiphy_params_flags {
1: - WIPHY_PARAM_RETRY_SHORT = 1,
1: - WIPHY_PARAM_RETRY_LONG = 2,
1: - WIPHY_PARAM_FRAG_THRESHOLD = 4,
1: - WIPHY_PARAM_RTS_THRESHOLD = 8,
1: - WIPHY_PARAM_COVERAGE_CLASS = 16,
1: - WIPHY_PARAM_DYN_ACK = 32,
1: - WIPHY_PARAM_TXQ_LIMIT = 64,
1: - WIPHY_PARAM_TXQ_MEMORY_LIMIT = 128,
1: - WIPHY_PARAM_TXQ_QUANTUM = 256,
1: + WIPHY_PARAM_RETRY_SHORT = 1,
1: + WIPHY_PARAM_RETRY_LONG = 2,
1: + WIPHY_PARAM_FRAG_THRESHOLD = 4,
1: + WIPHY_PARAM_RTS_THRESHOLD = 8,
1: + WIPHY_PARAM_COVERAGE_CLASS = 16,
1: + WIPHY_PARAM_DYN_ACK = 32,
1: + WIPHY_PARAM_TXQ_LIMIT = 64,
1: + WIPHY_PARAM_TXQ_MEMORY_LIMIT = 128,
1: + WIPHY_PARAM_TXQ_QUANTUM = 256,
1: };
1:
1: struct cfg80211_wowlan_nd_match {
1: - struct cfg80211_ssid ssid;
1: - int n_channels;
1: - u32 channels[0];
1: + struct cfg80211_ssid ssid;
1: + int n_channels;
1: + u32 channels[0];
1: };
1:
1: struct cfg80211_wowlan_nd_info {
1: - int n_matches;
1: - struct cfg80211_wowlan_nd_match *matches[0];
1: + int n_matches;
1: + struct cfg80211_wowlan_nd_match *matches[0];
1: };
1:
1: struct cfg80211_wowlan_wakeup {
1: - bool disconnect;
1: - bool magic_pkt;
1: - bool gtk_rekey_failure;
1: - bool eap_identity_req;
1: - bool four_way_handshake;
1: - bool rfkill_release;
1: - bool packet_80211;
1: - bool tcp_match;
1: - bool tcp_connlost;
1: - bool tcp_nomoretokens;
1: - s32 pattern_idx;
1: - u32 packet_present_len;
1: - u32 packet_len;
1: - const void *packet;
1: - struct cfg80211_wowlan_nd_info *net_detect;
1: + bool disconnect;
1: + bool magic_pkt;
1: + bool gtk_rekey_failure;
1: + bool eap_identity_req;
1: + bool four_way_handshake;
1: + bool rfkill_release;
1: + bool packet_80211;
1: + bool tcp_match;
1: + bool tcp_connlost;
1: + bool tcp_nomoretokens;
1: + s32 pattern_idx;
1: + u32 packet_present_len;
1: + u32 packet_len;
1: + const void *packet;
1: + struct cfg80211_wowlan_nd_info *net_detect;
1: };
1:
1: enum cfg80211_nan_conf_changes {
1: - CFG80211_NAN_CONF_CHANGED_PREF = 1,
1: - CFG80211_NAN_CONF_CHANGED_BANDS = 2,
1: + CFG80211_NAN_CONF_CHANGED_PREF = 1,
1: + CFG80211_NAN_CONF_CHANGED_BANDS = 2,
1: };
1:
1: enum wiphy_vendor_command_flags {
1: - WIPHY_VENDOR_CMD_NEED_WDEV = 1,
1: - WIPHY_VENDOR_CMD_NEED_NETDEV = 2,
1: - WIPHY_VENDOR_CMD_NEED_RUNNING = 4,
1: + WIPHY_VENDOR_CMD_NEED_WDEV = 1,
1: + WIPHY_VENDOR_CMD_NEED_NETDEV = 2,
1: + WIPHY_VENDOR_CMD_NEED_RUNNING = 4,
1: };
1:
1: enum wiphy_opmode_flag {
1: - STA_OPMODE_MAX_BW_CHANGED = 1,
1: - STA_OPMODE_SMPS_MODE_CHANGED = 2,
1: - STA_OPMODE_N_SS_CHANGED = 4,
1: + STA_OPMODE_MAX_BW_CHANGED = 1,
1: + STA_OPMODE_SMPS_MODE_CHANGED = 2,
1: + STA_OPMODE_N_SS_CHANGED = 4,
1: };
1:
1: struct sta_opmode_info {
1: - u32 changed;
1: - enum nl80211_smps_mode smps_mode;
1: - enum nl80211_chan_width bw;
1: - u8 rx_nss;
1: + u32 changed;
1: + enum nl80211_smps_mode smps_mode;
1: + enum nl80211_chan_width bw;
1: + u8 rx_nss;
1: };
1:
1: struct cfg80211_ft_event_params {
1: - const u8 *ies;
1: - size_t ies_len;
1: - const u8 *target_ap;
1: - const u8 *ric_ies;
1: - size_t ric_ies_len;
1: + const u8 *ies;
1: + size_t ies_len;
1: + const u8 *target_ap;
1: + const u8 *ric_ies;
1: + size_t ric_ies_len;
1: };
1:
1: struct cfg80211_nan_match_params {
1: - enum nl80211_nan_function_type type;
1: - u8 inst_id;
1: - u8 peer_inst_id;
1: - const u8 *addr;
1: - u8 info_len;
1: - const u8 *info;
1: - u64 cookie;
1: + enum nl80211_nan_function_type type;
1: + u8 inst_id;
1: + u8 peer_inst_id;
1: + const u8 *addr;
1: + u8 info_len;
1: + const u8 *info;
1: + u64 cookie;
1: };
1:
1: enum nl80211_multicast_groups {
1: - NL80211_MCGRP_CONFIG = 0,
1: - NL80211_MCGRP_SCAN = 1,
1: - NL80211_MCGRP_REGULATORY = 2,
1: - NL80211_MCGRP_MLME = 3,
1: - NL80211_MCGRP_VENDOR = 4,
1: - NL80211_MCGRP_NAN = 5,
1: - NL80211_MCGRP_TESTMODE = 6,
1: + NL80211_MCGRP_CONFIG = 0,
1: + NL80211_MCGRP_SCAN = 1,
1: + NL80211_MCGRP_REGULATORY = 2,
1: + NL80211_MCGRP_MLME = 3,
1: + NL80211_MCGRP_VENDOR = 4,
1: + NL80211_MCGRP_NAN = 5,
1: + NL80211_MCGRP_TESTMODE = 6,
1: };
1:
1: struct key_parse {
1: - struct key_params p;
1: - int idx;
1: - int type;
1: - bool def;
1: - bool defmgmt;
1: - bool def_uni;
1: - bool def_multi;
1: + struct key_params p;
1: + int idx;
1: + int type;
1: + bool def;
1: + bool defmgmt;
1: + bool def_uni;
1: + bool def_multi;
1: };
1:
1: struct nl80211_dump_wiphy_state {
1: - s64 filter_wiphy;
1: - long int start;
1: - long int split_start;
1: - long int band_start;
1: - long int chan_start;
1: - long int capa_start;
1: - bool split;
1: + s64 filter_wiphy;
1: + long int start;
1: + long int split_start;
1: + long int band_start;
1: + long int chan_start;
1: + long int capa_start;
1: + bool split;
1: };
1:
1: struct get_key_cookie {
1: - struct sk_buff *msg;
1: - int error;
1: - int idx;
1: + struct sk_buff *msg;
1: + int error;
1: + int idx;
1: };
1:
1: enum ieee80211_category {
1: - WLAN_CATEGORY_SPECTRUM_MGMT = 0,
1: - WLAN_CATEGORY_QOS = 1,
1: - WLAN_CATEGORY_DLS = 2,
1: - WLAN_CATEGORY_BACK = 3,
1: - WLAN_CATEGORY_PUBLIC = 4,
1: - WLAN_CATEGORY_RADIO_MEASUREMENT = 5,
1: - WLAN_CATEGORY_HT = 7,
1: - WLAN_CATEGORY_SA_QUERY = 8,
1: - WLAN_CATEGORY_PROTECTED_DUAL_OF_ACTION = 9,
1: - WLAN_CATEGORY_WNM = 10,
1: - WLAN_CATEGORY_WNM_UNPROTECTED = 11,
1: - WLAN_CATEGORY_TDLS = 12,
1: - WLAN_CATEGORY_MESH_ACTION = 13,
1: - WLAN_CATEGORY_MULTIHOP_ACTION = 14,
1: - WLAN_CATEGORY_SELF_PROTECTED = 15,
1: - WLAN_CATEGORY_DMG = 16,
1: - WLAN_CATEGORY_WMM = 17,
1: - WLAN_CATEGORY_FST = 18,
1: - WLAN_CATEGORY_UNPROT_DMG = 20,
1: - WLAN_CATEGORY_VHT = 21,
1: - WLAN_CATEGORY_VENDOR_SPECIFIC_PROTECTED = 126,
1: - WLAN_CATEGORY_VENDOR_SPECIFIC = 127,
1: + WLAN_CATEGORY_SPECTRUM_MGMT = 0,
1: + WLAN_CATEGORY_QOS = 1,
1: + WLAN_CATEGORY_DLS = 2,
1: + WLAN_CATEGORY_BACK = 3,
1: + WLAN_CATEGORY_PUBLIC = 4,
1: + WLAN_CATEGORY_RADIO_MEASUREMENT = 5,
1: + WLAN_CATEGORY_HT = 7,
1: + WLAN_CATEGORY_SA_QUERY = 8,
1: + WLAN_CATEGORY_PROTECTED_DUAL_OF_ACTION = 9,
1: + WLAN_CATEGORY_WNM = 10,
1: + WLAN_CATEGORY_WNM_UNPROTECTED = 11,
1: + WLAN_CATEGORY_TDLS = 12,
1: + WLAN_CATEGORY_MESH_ACTION = 13,
1: + WLAN_CATEGORY_MULTIHOP_ACTION = 14,
1: + WLAN_CATEGORY_SELF_PROTECTED = 15,
1: + WLAN_CATEGORY_DMG = 16,
1: + WLAN_CATEGORY_WMM = 17,
1: + WLAN_CATEGORY_FST = 18,
1: + WLAN_CATEGORY_UNPROT_DMG = 20,
1: + WLAN_CATEGORY_VHT = 21,
1: + WLAN_CATEGORY_VENDOR_SPECIFIC_PROTECTED = 126,
1: + WLAN_CATEGORY_VENDOR_SPECIFIC = 127,
1: };
1:
1: struct cfg80211_mgmt_registration {
1: - struct list_head list;
1: - struct wireless_dev *wdev;
1: - u32 nlportid;
1: - int match_len;
1: - __le16 frame_type;
1: - u8 match[0];
1: + struct list_head list;
1: + struct wireless_dev *wdev;
1: + u32 nlportid;
1: + int match_len;
1: + __le16 frame_type;
1: + u8 match[0];
1: };
1:
1: struct cfg80211_conn {
1: - struct cfg80211_connect_params params;
1: - enum {
1: - CFG80211_CONN_SCANNING = 0,
1: - CFG80211_CONN_SCAN_AGAIN = 1,
1: - CFG80211_CONN_AUTHENTICATE_NEXT = 2,
1: - CFG80211_CONN_AUTHENTICATING = 3,
1: - CFG80211_CONN_AUTH_FAILED_TIMEOUT = 4,
1: - CFG80211_CONN_ASSOCIATE_NEXT = 5,
1: - CFG80211_CONN_ASSOCIATING = 6,
1: - CFG80211_CONN_ASSOC_FAILED = 7,
1: - CFG80211_CONN_ASSOC_FAILED_TIMEOUT = 8,
1: - CFG80211_CONN_DEAUTH = 9,
1: - CFG80211_CONN_ABANDON = 10,
1: - CFG80211_CONN_CONNECTED = 11,
1: - } state;
1: - u8 bssid[6];
1: - u8 prev_bssid[6];
1: - const u8 *ie;
1: - size_t ie_len;
1: - bool auto_auth;
1: - bool prev_bssid_valid;
1: + struct cfg80211_connect_params params;
1: + enum {
1: + CFG80211_CONN_SCANNING = 0,
1: + CFG80211_CONN_SCAN_AGAIN = 1,
1: + CFG80211_CONN_AUTHENTICATE_NEXT = 2,
1: + CFG80211_CONN_AUTHENTICATING = 3,
1: + CFG80211_CONN_AUTH_FAILED_TIMEOUT = 4,
1: + CFG80211_CONN_ASSOCIATE_NEXT = 5,
1: + CFG80211_CONN_ASSOCIATING = 6,
1: + CFG80211_CONN_ASSOC_FAILED = 7,
1: + CFG80211_CONN_ASSOC_FAILED_TIMEOUT = 8,
1: + CFG80211_CONN_DEAUTH = 9,
1: + CFG80211_CONN_ABANDON = 10,
1: + CFG80211_CONN_CONNECTED = 11,
1: + } state;
1: + u8 bssid[6];
1: + u8 prev_bssid[6];
1: + const u8 *ie;
1: + size_t ie_len;
1: + bool auto_auth;
1: + bool prev_bssid_valid;
1: };
1:
1: enum cfg80211_chan_mode {
1: - CHAN_MODE_UNDEFINED = 0,
1: - CHAN_MODE_SHARED = 1,
1: - CHAN_MODE_EXCLUSIVE = 2,
1: + CHAN_MODE_UNDEFINED = 0,
1: + CHAN_MODE_SHARED = 1,
1: + CHAN_MODE_EXCLUSIVE = 2,
1: };
1:
1: struct trace_event_raw_rdev_suspend {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - bool any;
1: - bool disconnect;
1: - bool magic_pkt;
1: - bool gtk_rekey_failure;
1: - bool eap_identity_req;
1: - bool four_way_handshake;
1: - bool rfkill_release;
1: - bool valid_wow;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool any;
1: + bool disconnect;
1: + bool magic_pkt;
1: + bool gtk_rekey_failure;
1: + bool eap_identity_req;
1: + bool four_way_handshake;
1: + bool rfkill_release;
1: + bool valid_wow;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_int {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_scan {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wiphy_only_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wiphy_enabled_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - bool enabled;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool enabled;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_add_virtual_intf {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 __data_loc_vir_intf_name;
1: - enum nl80211_iftype type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 __data_loc_vir_intf_name;
1: + enum nl80211_iftype type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wiphy_wdev_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wiphy_wdev_cookie_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u64 cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_change_virtual_intf {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_iftype type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_iftype type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_key_handle {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 mac_addr[6];
1: - u8 key_index;
1: - bool pairwise;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 mac_addr[6];
1: + u8 key_index;
1: + bool pairwise;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_add_key {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 mac_addr[6];
1: - u8 key_index;
1: - bool pairwise;
1: - u8 mode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 mac_addr[6];
1: + u8 key_index;
1: + bool pairwise;
1: + u8 mode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_default_key {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 key_index;
1: - bool unicast;
1: - bool multicast;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 key_index;
1: + bool unicast;
1: + bool multicast;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_default_mgmt_key {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 key_index;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 key_index;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_start_ap {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - int beacon_interval;
1: - int dtim_period;
1: - char ssid[33];
1: - enum nl80211_hidden_ssid hidden_ssid;
1: - u32 wpa_ver;
1: - bool privacy;
1: - enum nl80211_auth_type auth_type;
1: - int inactivity_timeout;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + int beacon_interval;
1: + int dtim_period;
1: + char ssid[33];
1: + enum nl80211_hidden_ssid hidden_ssid;
1: + u32 wpa_ver;
1: + bool privacy;
1: + enum nl80211_auth_type auth_type;
1: + int inactivity_timeout;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_change_beacon {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u32 __data_loc_head;
1: - u32 __data_loc_tail;
1: - u32 __data_loc_beacon_ies;
1: - u32 __data_loc_proberesp_ies;
1: - u32 __data_loc_assocresp_ies;
1: - u32 __data_loc_probe_resp;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 __data_loc_head;
1: + u32 __data_loc_tail;
1: + u32 __data_loc_beacon_ies;
1: + u32 __data_loc_proberesp_ies;
1: + u32 __data_loc_assocresp_ies;
1: + u32 __data_loc_probe_resp;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wiphy_netdev_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_station_add_change {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 sta_mac[6];
1: - u32 sta_flags_mask;
1: - u32 sta_flags_set;
1: - u32 sta_modify_mask;
1: - int listen_interval;
1: - u16 capability;
1: - u16 aid;
1: - u8 plink_action;
1: - u8 plink_state;
1: - u8 uapsd_queues;
1: - u8 max_sp;
1: - u8 opmode_notif;
1: - bool opmode_notif_used;
1: - u8 ht_capa[26];
1: - u8 vht_capa[12];
1: - char vlan[16];
1: - u32 __data_loc_supported_rates;
1: - u32 __data_loc_ext_capab;
1: - u32 __data_loc_supported_channels;
1: - u32 __data_loc_supported_oper_classes;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 sta_mac[6];
1: + u32 sta_flags_mask;
1: + u32 sta_flags_set;
1: + u32 sta_modify_mask;
1: + int listen_interval;
1: + u16 capability;
1: + u16 aid;
1: + u8 plink_action;
1: + u8 plink_state;
1: + u8 uapsd_queues;
1: + u8 max_sp;
1: + u8 opmode_notif;
1: + bool opmode_notif_used;
1: + u8 ht_capa[26];
1: + u8 vht_capa[12];
1: + char vlan[16];
1: + u32 __data_loc_supported_rates;
1: + u32 __data_loc_ext_capab;
1: + u32 __data_loc_supported_channels;
1: + u32 __data_loc_supported_oper_classes;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wiphy_netdev_mac_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 sta_mac[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 sta_mac[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_station_del {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 sta_mac[6];
1: - u8 subtype;
1: - u16 reason_code;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 sta_mac[6];
1: + u8 subtype;
1: + u16 reason_code;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_dump_station {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 sta_mac[6];
1: - int idx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 sta_mac[6];
1: + int idx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_int_station_info {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int ret;
1: - int generation;
1: - u32 connected_time;
1: - u32 inactive_time;
1: - u32 rx_bytes;
1: - u32 tx_bytes;
1: - u32 rx_packets;
1: - u32 tx_packets;
1: - u32 tx_retries;
1: - u32 tx_failed;
1: - u32 rx_dropped_misc;
1: - u32 beacon_loss_count;
1: - u16 llid;
1: - u16 plid;
1: - u8 plink_state;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + int generation;
1: + u32 connected_time;
1: + u32 inactive_time;
1: + u32 rx_bytes;
1: + u32 tx_bytes;
1: + u32 rx_packets;
1: + u32 tx_packets;
1: + u32 tx_retries;
1: + u32 tx_failed;
1: + u32 rx_dropped_misc;
1: + u32 beacon_loss_count;
1: + u16 llid;
1: + u16 plid;
1: + u8 plink_state;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_mpath_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 dst[6];
1: - u8 next_hop[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dst[6];
1: + u8 next_hop[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_dump_mpath {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 dst[6];
1: - u8 next_hop[6];
1: - int idx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dst[6];
1: + u8 next_hop[6];
1: + int idx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_get_mpp {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 dst[6];
1: - u8 mpp[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dst[6];
1: + u8 mpp[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_dump_mpp {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 dst[6];
1: - u8 mpp[6];
1: - int idx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dst[6];
1: + u8 mpp[6];
1: + int idx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_int_mpath_info {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int ret;
1: - int generation;
1: - u32 filled;
1: - u32 frame_qlen;
1: - u32 sn;
1: - u32 metric;
1: - u32 exptime;
1: - u32 discovery_timeout;
1: - u8 discovery_retries;
1: - u8 flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + int generation;
1: + u32 filled;
1: + u32 frame_qlen;
1: + u32 sn;
1: + u32 metric;
1: + u32 exptime;
1: + u32 discovery_timeout;
1: + u8 discovery_retries;
1: + u8 flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_int_mesh_config {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u16 dot11MeshRetryTimeout;
1: - u16 dot11MeshConfirmTimeout;
1: - u16 dot11MeshHoldingTimeout;
1: - u16 dot11MeshMaxPeerLinks;
1: - u8 dot11MeshMaxRetries;
1: - u8 dot11MeshTTL;
1: - u8 element_ttl;
1: - bool auto_open_plinks;
1: - u32 dot11MeshNbrOffsetMaxNeighbor;
1: - u8 dot11MeshHWMPmaxPREQretries;
1: - u32 path_refresh_time;
1: - u32 dot11MeshHWMPactivePathTimeout;
1: - u16 min_discovery_timeout;
1: - u16 dot11MeshHWMPpreqMinInterval;
1: - u16 dot11MeshHWMPperrMinInterval;
1: - u16 dot11MeshHWMPnetDiameterTraversalTime;
1: - u8 dot11MeshHWMPRootMode;
1: - u16 dot11MeshHWMPRannInterval;
1: - bool dot11MeshGateAnnouncementProtocol;
1: - bool dot11MeshForwarding;
1: - s32 rssi_threshold;
1: - u16 ht_opmode;
1: - u32 dot11MeshHWMPactivePathToRootTimeout;
1: - u16 dot11MeshHWMProotInterval;
1: - u16 dot11MeshHWMPconfirmationInterval;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u16 dot11MeshRetryTimeout;
1: + u16 dot11MeshConfirmTimeout;
1: + u16 dot11MeshHoldingTimeout;
1: + u16 dot11MeshMaxPeerLinks;
1: + u8 dot11MeshMaxRetries;
1: + u8 dot11MeshTTL;
1: + u8 element_ttl;
1: + bool auto_open_plinks;
1: + u32 dot11MeshNbrOffsetMaxNeighbor;
1: + u8 dot11MeshHWMPmaxPREQretries;
1: + u32 path_refresh_time;
1: + u32 dot11MeshHWMPactivePathTimeout;
1: + u16 min_discovery_timeout;
1: + u16 dot11MeshHWMPpreqMinInterval;
1: + u16 dot11MeshHWMPperrMinInterval;
1: + u16 dot11MeshHWMPnetDiameterTraversalTime;
1: + u8 dot11MeshHWMPRootMode;
1: + u16 dot11MeshHWMPRannInterval;
1: + bool dot11MeshGateAnnouncementProtocol;
1: + bool dot11MeshForwarding;
1: + s32 rssi_threshold;
1: + u16 ht_opmode;
1: + u32 dot11MeshHWMPactivePathToRootTimeout;
1: + u16 dot11MeshHWMProotInterval;
1: + u16 dot11MeshHWMPconfirmationInterval;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_update_mesh_config {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u16 dot11MeshRetryTimeout;
1: - u16 dot11MeshConfirmTimeout;
1: - u16 dot11MeshHoldingTimeout;
1: - u16 dot11MeshMaxPeerLinks;
1: - u8 dot11MeshMaxRetries;
1: - u8 dot11MeshTTL;
1: - u8 element_ttl;
1: - bool auto_open_plinks;
1: - u32 dot11MeshNbrOffsetMaxNeighbor;
1: - u8 dot11MeshHWMPmaxPREQretries;
1: - u32 path_refresh_time;
1: - u32 dot11MeshHWMPactivePathTimeout;
1: - u16 min_discovery_timeout;
1: - u16 dot11MeshHWMPpreqMinInterval;
1: - u16 dot11MeshHWMPperrMinInterval;
1: - u16 dot11MeshHWMPnetDiameterTraversalTime;
1: - u8 dot11MeshHWMPRootMode;
1: - u16 dot11MeshHWMPRannInterval;
1: - bool dot11MeshGateAnnouncementProtocol;
1: - bool dot11MeshForwarding;
1: - s32 rssi_threshold;
1: - u16 ht_opmode;
1: - u32 dot11MeshHWMPactivePathToRootTimeout;
1: - u16 dot11MeshHWMProotInterval;
1: - u16 dot11MeshHWMPconfirmationInterval;
1: - u32 mask;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 dot11MeshRetryTimeout;
1: + u16 dot11MeshConfirmTimeout;
1: + u16 dot11MeshHoldingTimeout;
1: + u16 dot11MeshMaxPeerLinks;
1: + u8 dot11MeshMaxRetries;
1: + u8 dot11MeshTTL;
1: + u8 element_ttl;
1: + bool auto_open_plinks;
1: + u32 dot11MeshNbrOffsetMaxNeighbor;
1: + u8 dot11MeshHWMPmaxPREQretries;
1: + u32 path_refresh_time;
1: + u32 dot11MeshHWMPactivePathTimeout;
1: + u16 min_discovery_timeout;
1: + u16 dot11MeshHWMPpreqMinInterval;
1: + u16 dot11MeshHWMPperrMinInterval;
1: + u16 dot11MeshHWMPnetDiameterTraversalTime;
1: + u8 dot11MeshHWMPRootMode;
1: + u16 dot11MeshHWMPRannInterval;
1: + bool dot11MeshGateAnnouncementProtocol;
1: + bool dot11MeshForwarding;
1: + s32 rssi_threshold;
1: + u16 ht_opmode;
1: + u32 dot11MeshHWMPactivePathToRootTimeout;
1: + u16 dot11MeshHWMProotInterval;
1: + u16 dot11MeshHWMPconfirmationInterval;
1: + u32 mask;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_join_mesh {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u16 dot11MeshRetryTimeout;
1: - u16 dot11MeshConfirmTimeout;
1: - u16 dot11MeshHoldingTimeout;
1: - u16 dot11MeshMaxPeerLinks;
1: - u8 dot11MeshMaxRetries;
1: - u8 dot11MeshTTL;
1: - u8 element_ttl;
1: - bool auto_open_plinks;
1: - u32 dot11MeshNbrOffsetMaxNeighbor;
1: - u8 dot11MeshHWMPmaxPREQretries;
1: - u32 path_refresh_time;
1: - u32 dot11MeshHWMPactivePathTimeout;
1: - u16 min_discovery_timeout;
1: - u16 dot11MeshHWMPpreqMinInterval;
1: - u16 dot11MeshHWMPperrMinInterval;
1: - u16 dot11MeshHWMPnetDiameterTraversalTime;
1: - u8 dot11MeshHWMPRootMode;
1: - u16 dot11MeshHWMPRannInterval;
1: - bool dot11MeshGateAnnouncementProtocol;
1: - bool dot11MeshForwarding;
1: - s32 rssi_threshold;
1: - u16 ht_opmode;
1: - u32 dot11MeshHWMPactivePathToRootTimeout;
1: - u16 dot11MeshHWMProotInterval;
1: - u16 dot11MeshHWMPconfirmationInterval;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 dot11MeshRetryTimeout;
1: + u16 dot11MeshConfirmTimeout;
1: + u16 dot11MeshHoldingTimeout;
1: + u16 dot11MeshMaxPeerLinks;
1: + u8 dot11MeshMaxRetries;
1: + u8 dot11MeshTTL;
1: + u8 element_ttl;
1: + bool auto_open_plinks;
1: + u32 dot11MeshNbrOffsetMaxNeighbor;
1: + u8 dot11MeshHWMPmaxPREQretries;
1: + u32 path_refresh_time;
1: + u32 dot11MeshHWMPactivePathTimeout;
1: + u16 min_discovery_timeout;
1: + u16 dot11MeshHWMPpreqMinInterval;
1: + u16 dot11MeshHWMPperrMinInterval;
1: + u16 dot11MeshHWMPnetDiameterTraversalTime;
1: + u8 dot11MeshHWMPRootMode;
1: + u16 dot11MeshHWMPRannInterval;
1: + bool dot11MeshGateAnnouncementProtocol;
1: + bool dot11MeshForwarding;
1: + s32 rssi_threshold;
1: + u16 ht_opmode;
1: + u32 dot11MeshHWMPactivePathToRootTimeout;
1: + u16 dot11MeshHWMProotInterval;
1: + u16 dot11MeshHWMPconfirmationInterval;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_change_bss {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - int use_cts_prot;
1: - int use_short_preamble;
1: - int use_short_slot_time;
1: - int ap_isolate;
1: - int ht_opmode;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + int use_cts_prot;
1: + int use_short_preamble;
1: + int use_short_slot_time;
1: + int ap_isolate;
1: + int ht_opmode;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_txq_params {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_ac ac;
1: - u16 txop;
1: - u16 cwmin;
1: - u16 cwmax;
1: - u8 aifs;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_ac ac;
1: + u16 txop;
1: + u16 cwmin;
1: + u16 cwmax;
1: + u8 aifs;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_libertas_set_mesh_channel {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_monitor_channel {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_auth {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - enum nl80211_auth_type auth_type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + enum nl80211_auth_type auth_type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_assoc {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - u8 prev_bssid[6];
1: - bool use_mfp;
1: - u32 flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + u8 prev_bssid[6];
1: + bool use_mfp;
1: + u32 flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_deauth {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - u16 reason_code;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + u16 reason_code;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_disassoc {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - u16 reason_code;
1: - bool local_state_change;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + u16 reason_code;
1: + bool local_state_change;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_mgmt_tx_cancel_wait {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u64 cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_power_mgmt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - bool enabled;
1: - int timeout;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + bool enabled;
1: + int timeout;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_connect {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - char ssid[33];
1: - enum nl80211_auth_type auth_type;
1: - bool privacy;
1: - u32 wpa_versions;
1: - u32 flags;
1: - u8 prev_bssid[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + char ssid[33];
1: + enum nl80211_auth_type auth_type;
1: + bool privacy;
1: + u32 wpa_versions;
1: + u32 flags;
1: + u8 prev_bssid[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_update_connect_params {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u32 changed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 changed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_cqm_rssi_config {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - s32 rssi_thold;
1: - u32 rssi_hyst;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + s32 rssi_thold;
1: + u32 rssi_hyst;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_cqm_rssi_range_config {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - s32 rssi_low;
1: - s32 rssi_high;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + s32 rssi_low;
1: + s32 rssi_high;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_cqm_txe_config {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u32 rate;
1: - u32 pkts;
1: - u32 intvl;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 rate;
1: + u32 pkts;
1: + u32 intvl;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_disconnect {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u16 reason_code;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 reason_code;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_join_ibss {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - char ssid[33];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + char ssid[33];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_join_ocb {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_wiphy_params {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 changed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 changed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_tx_power {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - enum nl80211_tx_power_setting type;
1: - int mbm;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + enum nl80211_tx_power_setting type;
1: + int mbm;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_int_int {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int func_ret;
1: - int func_fill;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int func_ret;
1: + int func_fill;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_bitrate_mask {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_mgmt_frame_register {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u16 frame_type;
1: - bool reg;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u16 frame_type;
1: + bool reg;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_int_tx_rx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int ret;
1: - u32 tx;
1: - u32 rx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + u32 tx;
1: + u32 rx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_void_tx_rx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 tx;
1: - u32 tx_max;
1: - u32 rx;
1: - u32 rx_max;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx;
1: + u32 tx_max;
1: + u32 rx;
1: + u32 rx_max;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_tx_rx_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 tx;
1: - u32 rx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx;
1: + u32 rx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wiphy_netdev_id_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u64 id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u64 id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_tdls_mgmt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - u8 action_code;
1: - u8 dialog_token;
1: - u16 status_code;
1: - u32 peer_capability;
1: - bool initiator;
1: - u32 __data_loc_buf;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u8 action_code;
1: + u8 dialog_token;
1: + u16 status_code;
1: + u32 peer_capability;
1: + bool initiator;
1: + u32 __data_loc_buf;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_dump_survey {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - int idx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + int idx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_int_survey_info {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - int ret;
1: - u64 time;
1: - u64 time_busy;
1: - u64 time_ext_busy;
1: - u64 time_rx;
1: - u64 time_tx;
1: - u64 time_scan;
1: - u32 filled;
1: - s8 noise;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + int ret;
1: + u64 time;
1: + u64 time_busy;
1: + u64 time_ext_busy;
1: + u64 time_rx;
1: + u64 time_tx;
1: + u64 time_scan;
1: + u32 filled;
1: + s8 noise;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_tdls_oper {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - enum nl80211_tdls_operation oper;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + enum nl80211_tdls_operation oper;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_pmksa {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_probe_client {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_remain_on_channel {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - unsigned int duration;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + unsigned int duration;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_int_cookie {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int ret;
1: - u64 cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + u64 cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_cancel_remain_on_channel {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u64 cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_mgmt_tx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - bool offchan;
1: - unsigned int wait;
1: - bool no_cck;
1: - bool dont_wait_for_ack;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + bool offchan;
1: + unsigned int wait;
1: + bool no_cck;
1: + bool dont_wait_for_ack;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_tx_control_port {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 dest[6];
1: - __be16 proto;
1: - bool unencrypted;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dest[6];
1: + __be16 proto;
1: + bool unencrypted;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_noack_map {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u16 noack_map;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 noack_map;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_return_chandef {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int ret;
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_start_nan {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u8 master_pref;
1: - u8 bands;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u8 master_pref;
1: + u8 bands;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_nan_change_conf {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u8 master_pref;
1: - u8 bands;
1: - u32 changes;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u8 master_pref;
1: + u8 bands;
1: + u32 changes;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_add_nan_func {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u8 func_type;
1: - u64 cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u8 func_type;
1: + u64 cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_del_nan_func {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u64 cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_mac_acl {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u32 acl_policy;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 acl_policy;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_update_ft_ies {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u16 md;
1: - u32 __data_loc_ie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u16 md;
1: + u32 __data_loc_ie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_crit_proto_start {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u16 proto;
1: - u16 duration;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u16 proto;
1: + u16 duration;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_crit_proto_stop {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_channel_switch {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - bool radar_required;
1: - bool block_tx;
1: - u8 count;
1: - u32 __data_loc_bcn_ofs;
1: - u32 __data_loc_pres_ofs;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + bool radar_required;
1: + bool block_tx;
1: + u8 count;
1: + u32 __data_loc_bcn_ofs;
1: + u32 __data_loc_pres_ofs;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_qos_map {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 num_des;
1: - u8 dscp_exception[42];
1: - u8 up[16];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 num_des;
1: + u8 dscp_exception[42];
1: + u8 up[16];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_ap_chanwidth {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_add_tx_ts {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - u8 tsid;
1: - u8 user_prio;
1: - u16 admitted_time;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u8 tsid;
1: + u8 user_prio;
1: + u16 admitted_time;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_del_tx_ts {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - u8 tsid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u8 tsid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_tdls_channel_switch {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 addr[6];
1: - u8 oper_class;
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + u8 oper_class;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_tdls_cancel_channel_switch {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_pmk {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 aa[6];
1: - u8 pmk_len;
1: - u8 pmk_r0_name_len;
1: - u32 __data_loc_pmk;
1: - u32 __data_loc_pmk_r0_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 aa[6];
1: + u8 pmk_len;
1: + u8 pmk_r0_name_len;
1: + u32 __data_loc_pmk;
1: + u32 __data_loc_pmk_r0_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_del_pmk {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 aa[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 aa[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_external_auth {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - u8 ssid[33];
1: - u16 status;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + u8 ssid[33];
1: + u16 status;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_start_radar_detection {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - u32 cac_time_ms;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 cac_time_ms;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_mcast_rate {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - int mcast_rate[4];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + int mcast_rate[4];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_coalesce {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int n_rules;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int n_rules;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_set_multicast_to_unicast {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - bool enabled;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + bool enabled;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_get_ftm_responder_stats {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u64 timestamp;
1: - u32 success_num;
1: - u32 partial_num;
1: - u32 failed_num;
1: - u32 asap_num;
1: - u32 non_asap_num;
1: - u64 duration;
1: - u32 unknown_triggers;
1: - u32 reschedule;
1: - u32 out_of_window;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u64 timestamp;
1: + u32 success_num;
1: + u32 partial_num;
1: + u32 failed_num;
1: + u32 asap_num;
1: + u32 non_asap_num;
1: + u64 duration;
1: + u32 unknown_triggers;
1: + u32 reschedule;
1: + u32 out_of_window;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_return_bool {
1: - struct trace_entry ent;
1: - bool ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + bool ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_netdev_mac_evt {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 macaddr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 macaddr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_netdev_evt_only {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_send_rx_assoc {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_netdev_frame_event {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u32 __data_loc_frame;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u32 __data_loc_frame;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_tx_mlme_mgmt {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u32 __data_loc_frame;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u32 __data_loc_frame;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_netdev_mac_evt {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 mac[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 mac[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_michael_mic_failure {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 addr[6];
1: - enum nl80211_key_type key_type;
1: - int key_id;
1: - u8 tsc[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + enum nl80211_key_type key_type;
1: + int key_id;
1: + u8 tsc[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_ready_on_channel {
1: - struct trace_entry ent;
1: - u32 id;
1: - u64 cookie;
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - unsigned int duration;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 id;
1: + u64 cookie;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + unsigned int duration;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_ready_on_channel_expired {
1: - struct trace_entry ent;
1: - u32 id;
1: - u64 cookie;
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 id;
1: + u64 cookie;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_tx_mgmt_expired {
1: - struct trace_entry ent;
1: - u32 id;
1: - u64 cookie;
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 id;
1: + u64 cookie;
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_new_sta {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 mac_addr[6];
1: - int generation;
1: - u32 connected_time;
1: - u32 inactive_time;
1: - u32 rx_bytes;
1: - u32 tx_bytes;
1: - u32 rx_packets;
1: - u32 tx_packets;
1: - u32 tx_retries;
1: - u32 tx_failed;
1: - u32 rx_dropped_misc;
1: - u32 beacon_loss_count;
1: - u16 llid;
1: - u16 plid;
1: - u8 plink_state;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 mac_addr[6];
1: + int generation;
1: + u32 connected_time;
1: + u32 inactive_time;
1: + u32 rx_bytes;
1: + u32 tx_bytes;
1: + u32 rx_packets;
1: + u32 tx_packets;
1: + u32 tx_retries;
1: + u32 tx_failed;
1: + u32 rx_dropped_misc;
1: + u32 beacon_loss_count;
1: + u16 llid;
1: + u16 plid;
1: + u8 plink_state;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_rx_mgmt {
1: - struct trace_entry ent;
1: - u32 id;
1: - int freq;
1: - int sig_dbm;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 id;
1: + int freq;
1: + int sig_dbm;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_mgmt_tx_status {
1: - struct trace_entry ent;
1: - u32 id;
1: - u64 cookie;
1: - bool ack;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 id;
1: + u64 cookie;
1: + bool ack;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_rx_control_port {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - int len;
1: - u8 from[6];
1: - u16 proto;
1: - bool unencrypted;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + int len;
1: + u8 from[6];
1: + u16 proto;
1: + bool unencrypted;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_cqm_rssi_notify {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_cqm_rssi_threshold_event rssi_event;
1: - s32 rssi_level;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_cqm_rssi_threshold_event rssi_event;
1: + s32 rssi_level;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_reg_can_beacon {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - enum nl80211_iftype iftype;
1: - bool check_no_ir;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + enum nl80211_iftype iftype;
1: + bool check_no_ir;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_chandef_dfs_required {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_ch_switch_notify {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_ch_switch_started_notify {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_radar_event {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_band band;
1: - u32 control_freq;
1: - u32 width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 control_freq;
1: + u32 width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_cac_event {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - enum nl80211_radar_event evt;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + enum nl80211_radar_event evt;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_rx_evt {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_ibss_joined {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 bssid[6];
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 bssid[6];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_probe_status {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 addr[6];
1: - u64 cookie;
1: - bool acked;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 addr[6];
1: + u64 cookie;
1: + bool acked;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_cqm_pktloss_notify {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - u32 num_packets;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u32 num_packets;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_pmksa_candidate_notify {
1: - struct trace_entry ent;
1: - char name[16];
1: - int ifindex;
1: - int index;
1: - u8 bssid[6];
1: - bool preauth;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char name[16];
1: + int ifindex;
1: + int index;
1: + u8 bssid[6];
1: + bool preauth;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_report_obss_beacon {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int freq;
1: - int sig_dbm;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int freq;
1: + int sig_dbm;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_tdls_oper_request {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - enum nl80211_tdls_operation oper;
1: - u16 reason_code;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + enum nl80211_tdls_operation oper;
1: + u16 reason_code;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_scan_done {
1: - struct trace_entry ent;
1: - u32 n_channels;
1: - u32 __data_loc_ie;
1: - u32 rates[4];
1: - u32 wdev_id;
1: - u8 wiphy_mac[6];
1: - bool no_cck;
1: - bool aborted;
1: - u64 scan_start_tsf;
1: - u8 tsf_bssid[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 n_channels;
1: + u32 __data_loc_ie;
1: + u32 rates[4];
1: + u32 wdev_id;
1: + u8 wiphy_mac[6];
1: + bool no_cck;
1: + bool aborted;
1: + u64 scan_start_tsf;
1: + u8 tsf_bssid[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wiphy_id_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u64 id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u64 id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_get_bss {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - u8 bssid[6];
1: - u32 __data_loc_ssid;
1: - enum ieee80211_bss_type bss_type;
1: - enum ieee80211_privacy privacy;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + u8 bssid[6];
1: + u32 __data_loc_ssid;
1: + enum ieee80211_bss_type bss_type;
1: + enum ieee80211_privacy privacy;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_inform_bss_frame {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - enum nl80211_bss_scan_width scan_width;
1: - u32 __data_loc_mgmt;
1: - s32 signal;
1: - u64 ts_boottime;
1: - u64 parent_tsf;
1: - u8 parent_bssid[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + enum nl80211_bss_scan_width scan_width;
1: + u32 __data_loc_mgmt;
1: + s32 signal;
1: + u64 ts_boottime;
1: + u64 parent_tsf;
1: + u8 parent_bssid[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_bss_evt {
1: - struct trace_entry ent;
1: - u8 bssid[6];
1: - enum nl80211_band band;
1: - u32 center_freq;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u8 bssid[6];
1: + enum nl80211_band band;
1: + u32 center_freq;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_return_uint {
1: - struct trace_entry ent;
1: - unsigned int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + unsigned int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_return_u32 {
1: - struct trace_entry ent;
1: - u32 ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + u32 ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_report_wowlan_wakeup {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - bool non_wireless;
1: - bool disconnect;
1: - bool magic_pkt;
1: - bool gtk_rekey_failure;
1: - bool eap_identity_req;
1: - bool four_way_handshake;
1: - bool rfkill_release;
1: - s32 pattern_idx;
1: - u32 packet_len;
1: - u32 __data_loc_packet;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + bool non_wireless;
1: + bool disconnect;
1: + bool magic_pkt;
1: + bool gtk_rekey_failure;
1: + bool eap_identity_req;
1: + bool four_way_handshake;
1: + bool rfkill_release;
1: + s32 pattern_idx;
1: + u32 packet_len;
1: + u32 __data_loc_packet;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_ft_event {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u32 __data_loc_ies;
1: - u8 target_ap[6];
1: - u32 __data_loc_ric_ies;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u32 __data_loc_ies;
1: + u8 target_ap[6];
1: + u32 __data_loc_ric_ies;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_stop_iface {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_pmsr_report {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u64 cookie;
1: - u8 addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + u8 addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_pmsr_complete {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 id;
1: - u64 cookie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 id;
1: + u64 cookie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_update_owe_info {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - u16 status;
1: - u32 __data_loc_ie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u16 status;
1: + u32 __data_loc_ie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_cfg80211_update_owe_info_event {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 peer[6];
1: - u32 __data_loc_ie;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 peer[6];
1: + u32 __data_loc_ie;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_rdev_probe_mesh_link {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char name[16];
1: - int ifindex;
1: - u8 dest[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char name[16];
1: + int ifindex;
1: + u8 dest[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_rdev_suspend {};
1: @@ -116929,7 +117843,7 @@ struct trace_event_data_offsets_wiphy_only_evt {};
1: struct trace_event_data_offsets_wiphy_enabled_evt {};
1:
1: struct trace_event_data_offsets_rdev_add_virtual_intf {
1: - u32 vir_intf_name;
1: + u32 vir_intf_name;
1: };
1:
1: struct trace_event_data_offsets_wiphy_wdev_evt {};
1: @@ -116949,21 +117863,21 @@ struct trace_event_data_offsets_rdev_set_default_mgmt_key {};
1: struct trace_event_data_offsets_rdev_start_ap {};
1:
1: struct trace_event_data_offsets_rdev_change_beacon {
1: - u32 head;
1: - u32 tail;
1: - u32 beacon_ies;
1: - u32 proberesp_ies;
1: - u32 assocresp_ies;
1: - u32 probe_resp;
1: + u32 head;
1: + u32 tail;
1: + u32 beacon_ies;
1: + u32 proberesp_ies;
1: + u32 assocresp_ies;
1: + u32 probe_resp;
1: };
1:
1: struct trace_event_data_offsets_wiphy_netdev_evt {};
1:
1: struct trace_event_data_offsets_station_add_change {
1: - u32 supported_rates;
1: - u32 ext_capab;
1: - u32 supported_channels;
1: - u32 supported_oper_classes;
1: + u32 supported_rates;
1: + u32 ext_capab;
1: + u32 supported_channels;
1: + u32 supported_oper_classes;
1: };
1:
1: struct trace_event_data_offsets_wiphy_netdev_mac_evt {};
1: @@ -117045,7 +117959,7 @@ struct trace_event_data_offsets_tx_rx_evt {};
1: struct trace_event_data_offsets_wiphy_netdev_id_evt {};
1:
1: struct trace_event_data_offsets_rdev_tdls_mgmt {
1: - u32 buf;
1: + u32 buf;
1: };
1:
1: struct trace_event_data_offsets_rdev_dump_survey {};
1: @@ -117083,7 +117997,7 @@ struct trace_event_data_offsets_rdev_del_nan_func {};
1: struct trace_event_data_offsets_rdev_set_mac_acl {};
1:
1: struct trace_event_data_offsets_rdev_update_ft_ies {
1: - u32 ie;
1: + u32 ie;
1: };
1:
1: struct trace_event_data_offsets_rdev_crit_proto_start {};
1: @@ -117091,8 +118005,8 @@ struct trace_event_data_offsets_rdev_crit_proto_start {};
1: struct trace_event_data_offsets_rdev_crit_proto_stop {};
1:
1: struct trace_event_data_offsets_rdev_channel_switch {
1: - u32 bcn_ofs;
1: - u32 pres_ofs;
1: + u32 bcn_ofs;
1: + u32 pres_ofs;
1: };
1:
1: struct trace_event_data_offsets_rdev_set_qos_map {};
1: @@ -117108,8 +118022,8 @@ struct trace_event_data_offsets_rdev_tdls_channel_switch {};
1: struct trace_event_data_offsets_rdev_tdls_cancel_channel_switch {};
1:
1: struct trace_event_data_offsets_rdev_set_pmk {
1: - u32 pmk;
1: - u32 pmk_r0_name;
1: + u32 pmk;
1: + u32 pmk_r0_name;
1: };
1:
1: struct trace_event_data_offsets_rdev_del_pmk {};
1: @@ -117135,11 +118049,11 @@ struct trace_event_data_offsets_netdev_evt_only {};
1: struct trace_event_data_offsets_cfg80211_send_rx_assoc {};
1:
1: struct trace_event_data_offsets_netdev_frame_event {
1: - u32 frame;
1: + u32 frame;
1: };
1:
1: struct trace_event_data_offsets_cfg80211_tx_mlme_mgmt {
1: - u32 frame;
1: + u32 frame;
1: };
1:
1: struct trace_event_data_offsets_netdev_mac_evt {};
1: @@ -117189,17 +118103,17 @@ struct trace_event_data_offsets_cfg80211_report_obss_beacon {};
1: struct trace_event_data_offsets_cfg80211_tdls_oper_request {};
1:
1: struct trace_event_data_offsets_cfg80211_scan_done {
1: - u32 ie;
1: + u32 ie;
1: };
1:
1: struct trace_event_data_offsets_wiphy_id_evt {};
1:
1: struct trace_event_data_offsets_cfg80211_get_bss {
1: - u32 ssid;
1: + u32 ssid;
1: };
1:
1: struct trace_event_data_offsets_cfg80211_inform_bss_frame {
1: - u32 mgmt;
1: + u32 mgmt;
1: };
1:
1: struct trace_event_data_offsets_cfg80211_bss_evt {};
1: @@ -117209,12 +118123,12 @@ struct trace_event_data_offsets_cfg80211_return_uint {};
1: struct trace_event_data_offsets_cfg80211_return_u32 {};
1:
1: struct trace_event_data_offsets_cfg80211_report_wowlan_wakeup {
1: - u32 packet;
1: + u32 packet;
1: };
1:
1: struct trace_event_data_offsets_cfg80211_ft_event {
1: - u32 ies;
1: - u32 ric_ies;
1: + u32 ies;
1: + u32 ric_ies;
1: };
1:
1: struct trace_event_data_offsets_cfg80211_stop_iface {};
1: @@ -117224,1156 +118138,1229 @@ struct trace_event_data_offsets_cfg80211_pmsr_report {};
1: struct trace_event_data_offsets_cfg80211_pmsr_complete {};
1:
1: struct trace_event_data_offsets_rdev_update_owe_info {
1: - u32 ie;
1: + u32 ie;
1: };
1:
1: struct trace_event_data_offsets_cfg80211_update_owe_info_event {
1: - u32 ie;
1: + u32 ie;
1: };
1:
1: struct trace_event_data_offsets_rdev_probe_mesh_link {};
1:
1: -typedef int (*sk_read_actor_t___2)(read_descriptor_t *, struct sk_buff___2 *, unsigned int, size_t);
1: +typedef int (*sk_read_actor_t___2)(read_descriptor_t *, struct sk_buff___2 *,
1: + unsigned int, size_t);
1:
1: enum nl80211_peer_measurement_status {
1: - NL80211_PMSR_STATUS_SUCCESS = 0,
1: - NL80211_PMSR_STATUS_REFUSED = 1,
1: - NL80211_PMSR_STATUS_TIMEOUT = 2,
1: - NL80211_PMSR_STATUS_FAILURE = 3,
1: + NL80211_PMSR_STATUS_SUCCESS = 0,
1: + NL80211_PMSR_STATUS_REFUSED = 1,
1: + NL80211_PMSR_STATUS_TIMEOUT = 2,
1: + NL80211_PMSR_STATUS_FAILURE = 3,
1: };
1:
1: enum nl80211_peer_measurement_resp {
1: - __NL80211_PMSR_RESP_ATTR_INVALID = 0,
1: - NL80211_PMSR_RESP_ATTR_DATA = 1,
1: - NL80211_PMSR_RESP_ATTR_STATUS = 2,
1: - NL80211_PMSR_RESP_ATTR_HOST_TIME = 3,
1: - NL80211_PMSR_RESP_ATTR_AP_TSF = 4,
1: - NL80211_PMSR_RESP_ATTR_FINAL = 5,
1: - NL80211_PMSR_RESP_ATTR_PAD = 6,
1: - NUM_NL80211_PMSR_RESP_ATTRS = 7,
1: - NL80211_PMSR_RESP_ATTR_MAX = 6,
1: + __NL80211_PMSR_RESP_ATTR_INVALID = 0,
1: + NL80211_PMSR_RESP_ATTR_DATA = 1,
1: + NL80211_PMSR_RESP_ATTR_STATUS = 2,
1: + NL80211_PMSR_RESP_ATTR_HOST_TIME = 3,
1: + NL80211_PMSR_RESP_ATTR_AP_TSF = 4,
1: + NL80211_PMSR_RESP_ATTR_FINAL = 5,
1: + NL80211_PMSR_RESP_ATTR_PAD = 6,
1: + NUM_NL80211_PMSR_RESP_ATTRS = 7,
1: + NL80211_PMSR_RESP_ATTR_MAX = 6,
1: };
1:
1: enum nl80211_peer_measurement_ftm_failure_reasons {
1: - NL80211_PMSR_FTM_FAILURE_UNSPECIFIED = 0,
1: - NL80211_PMSR_FTM_FAILURE_NO_RESPONSE = 1,
1: - NL80211_PMSR_FTM_FAILURE_REJECTED = 2,
1: - NL80211_PMSR_FTM_FAILURE_WRONG_CHANNEL = 3,
1: - NL80211_PMSR_FTM_FAILURE_PEER_NOT_CAPABLE = 4,
1: - NL80211_PMSR_FTM_FAILURE_INVALID_TIMESTAMP = 5,
1: - NL80211_PMSR_FTM_FAILURE_PEER_BUSY = 6,
1: - NL80211_PMSR_FTM_FAILURE_BAD_CHANGED_PARAMS = 7,
1: + NL80211_PMSR_FTM_FAILURE_UNSPECIFIED = 0,
1: + NL80211_PMSR_FTM_FAILURE_NO_RESPONSE = 1,
1: + NL80211_PMSR_FTM_FAILURE_REJECTED = 2,
1: + NL80211_PMSR_FTM_FAILURE_WRONG_CHANNEL = 3,
1: + NL80211_PMSR_FTM_FAILURE_PEER_NOT_CAPABLE = 4,
1: + NL80211_PMSR_FTM_FAILURE_INVALID_TIMESTAMP = 5,
1: + NL80211_PMSR_FTM_FAILURE_PEER_BUSY = 6,
1: + NL80211_PMSR_FTM_FAILURE_BAD_CHANGED_PARAMS = 7,
1: };
1:
1: enum nl80211_peer_measurement_ftm_resp {
1: - __NL80211_PMSR_FTM_RESP_ATTR_INVALID = 0,
1: - NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON = 1,
1: - NL80211_PMSR_FTM_RESP_ATTR_BURST_INDEX = 2,
1: - NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS = 3,
1: - NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES = 4,
1: - NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME = 5,
1: - NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP = 6,
1: - NL80211_PMSR_FTM_RESP_ATTR_BURST_DURATION = 7,
1: - NL80211_PMSR_FTM_RESP_ATTR_FTMS_PER_BURST = 8,
1: - NL80211_PMSR_FTM_RESP_ATTR_RSSI_AVG = 9,
1: - NL80211_PMSR_FTM_RESP_ATTR_RSSI_SPREAD = 10,
1: - NL80211_PMSR_FTM_RESP_ATTR_TX_RATE = 11,
1: - NL80211_PMSR_FTM_RESP_ATTR_RX_RATE = 12,
1: - NL80211_PMSR_FTM_RESP_ATTR_RTT_AVG = 13,
1: - NL80211_PMSR_FTM_RESP_ATTR_RTT_VARIANCE = 14,
1: - NL80211_PMSR_FTM_RESP_ATTR_RTT_SPREAD = 15,
1: - NL80211_PMSR_FTM_RESP_ATTR_DIST_AVG = 16,
1: - NL80211_PMSR_FTM_RESP_ATTR_DIST_VARIANCE = 17,
1: - NL80211_PMSR_FTM_RESP_ATTR_DIST_SPREAD = 18,
1: - NL80211_PMSR_FTM_RESP_ATTR_LCI = 19,
1: - NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC = 20,
1: - NL80211_PMSR_FTM_RESP_ATTR_PAD = 21,
1: - NUM_NL80211_PMSR_FTM_RESP_ATTR = 22,
1: - NL80211_PMSR_FTM_RESP_ATTR_MAX = 21,
1: + __NL80211_PMSR_FTM_RESP_ATTR_INVALID = 0,
1: + NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON = 1,
1: + NL80211_PMSR_FTM_RESP_ATTR_BURST_INDEX = 2,
1: + NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS = 3,
1: + NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES = 4,
1: + NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME = 5,
1: + NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP = 6,
1: + NL80211_PMSR_FTM_RESP_ATTR_BURST_DURATION = 7,
1: + NL80211_PMSR_FTM_RESP_ATTR_FTMS_PER_BURST = 8,
1: + NL80211_PMSR_FTM_RESP_ATTR_RSSI_AVG = 9,
1: + NL80211_PMSR_FTM_RESP_ATTR_RSSI_SPREAD = 10,
1: + NL80211_PMSR_FTM_RESP_ATTR_TX_RATE = 11,
1: + NL80211_PMSR_FTM_RESP_ATTR_RX_RATE = 12,
1: + NL80211_PMSR_FTM_RESP_ATTR_RTT_AVG = 13,
1: + NL80211_PMSR_FTM_RESP_ATTR_RTT_VARIANCE = 14,
1: + NL80211_PMSR_FTM_RESP_ATTR_RTT_SPREAD = 15,
1: + NL80211_PMSR_FTM_RESP_ATTR_DIST_AVG = 16,
1: + NL80211_PMSR_FTM_RESP_ATTR_DIST_VARIANCE = 17,
1: + NL80211_PMSR_FTM_RESP_ATTR_DIST_SPREAD = 18,
1: + NL80211_PMSR_FTM_RESP_ATTR_LCI = 19,
1: + NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC = 20,
1: + NL80211_PMSR_FTM_RESP_ATTR_PAD = 21,
1: + NUM_NL80211_PMSR_FTM_RESP_ATTR = 22,
1: + NL80211_PMSR_FTM_RESP_ATTR_MAX = 21,
1: };
1:
1: struct cfg80211_pmsr_ftm_result {
1: - const u8 *lci;
1: - const u8 *civicloc;
1: - unsigned int lci_len;
1: - unsigned int civicloc_len;
1: - enum nl80211_peer_measurement_ftm_failure_reasons failure_reason;
1: - u32 num_ftmr_attempts;
1: - u32 num_ftmr_successes;
1: - s16 burst_index;
1: - u8 busy_retry_time;
1: - u8 num_bursts_exp;
1: - u8 burst_duration;
1: - u8 ftms_per_burst;
1: - s32 rssi_avg;
1: - s32 rssi_spread;
1: - struct rate_info tx_rate;
1: - struct rate_info rx_rate;
1: - s64 rtt_avg;
1: - s64 rtt_variance;
1: - s64 rtt_spread;
1: - s64 dist_avg;
1: - s64 dist_variance;
1: - s64 dist_spread;
1: - u16 num_ftmr_attempts_valid: 1;
1: - u16 num_ftmr_successes_valid: 1;
1: - u16 rssi_avg_valid: 1;
1: - u16 rssi_spread_valid: 1;
1: - u16 tx_rate_valid: 1;
1: - u16 rx_rate_valid: 1;
1: - u16 rtt_avg_valid: 1;
1: - u16 rtt_variance_valid: 1;
1: - u16 rtt_spread_valid: 1;
1: - u16 dist_avg_valid: 1;
1: - u16 dist_variance_valid: 1;
1: - u16 dist_spread_valid: 1;
1: + const u8 *lci;
1: + const u8 *civicloc;
1: + unsigned int lci_len;
1: + unsigned int civicloc_len;
1: + enum nl80211_peer_measurement_ftm_failure_reasons failure_reason;
1: + u32 num_ftmr_attempts;
1: + u32 num_ftmr_successes;
1: + s16 burst_index;
1: + u8 busy_retry_time;
1: + u8 num_bursts_exp;
1: + u8 burst_duration;
1: + u8 ftms_per_burst;
1: + s32 rssi_avg;
1: + s32 rssi_spread;
1: + struct rate_info tx_rate;
1: + struct rate_info rx_rate;
1: + s64 rtt_avg;
1: + s64 rtt_variance;
1: + s64 rtt_spread;
1: + s64 dist_avg;
1: + s64 dist_variance;
1: + s64 dist_spread;
1: + u16 num_ftmr_attempts_valid : 1;
1: + u16 num_ftmr_successes_valid : 1;
1: + u16 rssi_avg_valid : 1;
1: + u16 rssi_spread_valid : 1;
1: + u16 tx_rate_valid : 1;
1: + u16 rx_rate_valid : 1;
1: + u16 rtt_avg_valid : 1;
1: + u16 rtt_variance_valid : 1;
1: + u16 rtt_spread_valid : 1;
1: + u16 dist_avg_valid : 1;
1: + u16 dist_variance_valid : 1;
1: + u16 dist_spread_valid : 1;
1: };
1:
1: struct cfg80211_pmsr_result {
1: - u64 host_time;
1: - u64 ap_tsf;
1: - enum nl80211_peer_measurement_status status;
1: - u8 addr[6];
1: - u8 final: 1;
1: - u8 ap_tsf_valid: 1;
1: - enum nl80211_peer_measurement_type type;
1: - union {
1: - struct cfg80211_pmsr_ftm_result ftm;
1: - };
1: + u64 host_time;
1: + u64 ap_tsf;
1: + enum nl80211_peer_measurement_status status;
1: + u8 addr[6];
1: + u8 final : 1;
1: + u8 ap_tsf_valid : 1;
1: + enum nl80211_peer_measurement_type type;
1: + union {
1: + struct cfg80211_pmsr_ftm_result ftm;
1: + };
1: };
1:
1: struct ieee80211_channel_sw_ie {
1: - u8 mode;
1: - u8 new_ch_num;
1: - u8 count;
1: + u8 mode;
1: + u8 new_ch_num;
1: + u8 count;
1: };
1:
1: struct ieee80211_sec_chan_offs_ie {
1: - u8 sec_chan_offs;
1: + u8 sec_chan_offs;
1: };
1:
1: struct ieee80211_mesh_chansw_params_ie {
1: - u8 mesh_ttl;
1: - u8 mesh_flags;
1: - __le16 mesh_reason;
1: - __le16 mesh_pre_value;
1: + u8 mesh_ttl;
1: + u8 mesh_flags;
1: + __le16 mesh_reason;
1: + __le16 mesh_pre_value;
1: };
1:
1: struct ieee80211_wide_bw_chansw_ie {
1: - u8 new_channel_width;
1: - u8 new_center_freq_seg0;
1: - u8 new_center_freq_seg1;
1: + u8 new_channel_width;
1: + u8 new_center_freq_seg0;
1: + u8 new_center_freq_seg1;
1: };
1:
1: struct ieee80211_tim_ie {
1: - u8 dtim_count;
1: - u8 dtim_period;
1: - u8 bitmap_ctrl;
1: - u8 virtual_map[1];
1: + u8 dtim_count;
1: + u8 dtim_period;
1: + u8 bitmap_ctrl;
1: + u8 virtual_map[1];
1: };
1:
1: struct ieee80211_meshconf_ie {
1: - u8 meshconf_psel;
1: - u8 meshconf_pmetric;
1: - u8 meshconf_congest;
1: - u8 meshconf_synch;
1: - u8 meshconf_auth;
1: - u8 meshconf_form;
1: - u8 meshconf_cap;
1: + u8 meshconf_psel;
1: + u8 meshconf_pmetric;
1: + u8 meshconf_congest;
1: + u8 meshconf_synch;
1: + u8 meshconf_auth;
1: + u8 meshconf_form;
1: + u8 meshconf_cap;
1: };
1:
1: struct ieee80211_rann_ie {
1: - u8 rann_flags;
1: - u8 rann_hopcount;
1: - u8 rann_ttl;
1: - u8 rann_addr[6];
1: - __le32 rann_seq;
1: - __le32 rann_interval;
1: - __le32 rann_metric;
1: + u8 rann_flags;
1: + u8 rann_hopcount;
1: + u8 rann_ttl;
1: + u8 rann_addr[6];
1: + __le32 rann_seq;
1: + __le32 rann_interval;
1: + __le32 rann_metric;
1: } __attribute__((packed));
1:
1: struct ieee80211_addba_ext_ie {
1: - u8 data;
1: + u8 data;
1: };
1:
1: struct ieee80211_ch_switch_timing {
1: - __le16 switch_time;
1: - __le16 switch_timeout;
1: + __le16 switch_time;
1: + __le16 switch_timeout;
1: };
1:
1: struct ieee80211_tdls_lnkie {
1: - u8 ie_type;
1: - u8 ie_len;
1: - u8 bssid[6];
1: - u8 init_sta[6];
1: - u8 resp_sta[6];
1: + u8 ie_type;
1: + u8 ie_len;
1: + u8 bssid[6];
1: + u8 init_sta[6];
1: + u8 resp_sta[6];
1: };
1:
1: struct ieee80211_p2p_noa_desc {
1: - u8 count;
1: - __le32 duration;
1: - __le32 interval;
1: - __le32 start_time;
1: + u8 count;
1: + __le32 duration;
1: + __le32 interval;
1: + __le32 start_time;
1: } __attribute__((packed));
1:
1: struct ieee80211_p2p_noa_attr {
1: - u8 index;
1: - u8 oppps_ctwindow;
1: - struct ieee80211_p2p_noa_desc desc[4];
1: + u8 index;
1: + u8 oppps_ctwindow;
1: + struct ieee80211_p2p_noa_desc desc[4];
1: } __attribute__((packed));
1:
1: struct ieee80211_vht_operation {
1: - u8 chan_width;
1: - u8 center_freq_seg0_idx;
1: - u8 center_freq_seg1_idx;
1: - __le16 basic_mcs_set;
1: + u8 chan_width;
1: + u8 center_freq_seg0_idx;
1: + u8 center_freq_seg1_idx;
1: + __le16 basic_mcs_set;
1: } __attribute__((packed));
1:
1: struct ieee80211_he_operation {
1: - __le32 he_oper_params;
1: - __le16 he_mcs_nss_set;
1: - u8 optional[0];
1: + __le32 he_oper_params;
1: + __le16 he_mcs_nss_set;
1: + u8 optional[0];
1: } __attribute__((packed));
1:
1: struct ieee80211_he_spr {
1: - u8 he_sr_control;
1: - u8 optional[0];
1: + u8 he_sr_control;
1: + u8 optional[0];
1: };
1:
1: struct ieee80211_he_mu_edca_param_ac_rec {
1: - u8 aifsn;
1: - u8 ecw_min_max;
1: - u8 mu_edca_timer;
1: + u8 aifsn;
1: + u8 ecw_min_max;
1: + u8 mu_edca_timer;
1: };
1:
1: struct ieee80211_mu_edca_param_set {
1: - u8 mu_qos_info;
1: - struct ieee80211_he_mu_edca_param_ac_rec ac_be;
1: - struct ieee80211_he_mu_edca_param_ac_rec ac_bk;
1: - struct ieee80211_he_mu_edca_param_ac_rec ac_vi;
1: - struct ieee80211_he_mu_edca_param_ac_rec ac_vo;
1: + u8 mu_qos_info;
1: + struct ieee80211_he_mu_edca_param_ac_rec ac_be;
1: + struct ieee80211_he_mu_edca_param_ac_rec ac_bk;
1: + struct ieee80211_he_mu_edca_param_ac_rec ac_vi;
1: + struct ieee80211_he_mu_edca_param_ac_rec ac_vo;
1: };
1:
1: struct ieee80211_timeout_interval_ie {
1: - u8 type;
1: - __le32 value;
1: + u8 type;
1: + __le32 value;
1: } __attribute__((packed));
1:
1: struct ieee80211_bss_max_idle_period_ie {
1: - __le16 max_idle_period;
1: - u8 idle_options;
1: + __le16 max_idle_period;
1: + u8 idle_options;
1: } __attribute__((packed));
1:
1: struct ieee80211_bssid_index {
1: - u8 bssid_index;
1: - u8 dtim_period;
1: - u8 dtim_count;
1: + u8 bssid_index;
1: + u8 dtim_period;
1: + u8 dtim_count;
1: };
1:
1: struct ieee80211_multiple_bssid_configuration {
1: - u8 bssid_count;
1: - u8 profile_periodicity;
1: + u8 bssid_count;
1: + u8 profile_periodicity;
1: };
1:
1: typedef u32 codel_time_t;
1:
1: struct codel_params {
1: - codel_time_t target;
1: - codel_time_t ce_threshold;
1: - codel_time_t interval;
1: - u32 mtu;
1: - bool ecn;
1: + codel_time_t target;
1: + codel_time_t ce_threshold;
1: + codel_time_t interval;
1: + u32 mtu;
1: + bool ecn;
1: };
1:
1: struct codel_vars {
1: - u32 count;
1: - u32 lastcount;
1: - bool dropping;
1: - u16 rec_inv_sqrt;
1: - codel_time_t first_above_time;
1: - codel_time_t drop_next;
1: - codel_time_t ldelay;
1: + u32 count;
1: + u32 lastcount;
1: + bool dropping;
1: + u16 rec_inv_sqrt;
1: + codel_time_t first_above_time;
1: + codel_time_t drop_next;
1: + codel_time_t ldelay;
1: };
1:
1: enum ieee80211_radiotap_mcs_have {
1: - IEEE80211_RADIOTAP_MCS_HAVE_BW = 1,
1: - IEEE80211_RADIOTAP_MCS_HAVE_MCS = 2,
1: - IEEE80211_RADIOTAP_MCS_HAVE_GI = 4,
1: - IEEE80211_RADIOTAP_MCS_HAVE_FMT = 8,
1: - IEEE80211_RADIOTAP_MCS_HAVE_FEC = 16,
1: - IEEE80211_RADIOTAP_MCS_HAVE_STBC = 32,
1: + IEEE80211_RADIOTAP_MCS_HAVE_BW = 1,
1: + IEEE80211_RADIOTAP_MCS_HAVE_MCS = 2,
1: + IEEE80211_RADIOTAP_MCS_HAVE_GI = 4,
1: + IEEE80211_RADIOTAP_MCS_HAVE_FMT = 8,
1: + IEEE80211_RADIOTAP_MCS_HAVE_FEC = 16,
1: + IEEE80211_RADIOTAP_MCS_HAVE_STBC = 32,
1: };
1:
1: enum ieee80211_radiotap_vht_known {
1: - IEEE80211_RADIOTAP_VHT_KNOWN_STBC = 1,
1: - IEEE80211_RADIOTAP_VHT_KNOWN_TXOP_PS_NA = 2,
1: - IEEE80211_RADIOTAP_VHT_KNOWN_GI = 4,
1: - IEEE80211_RADIOTAP_VHT_KNOWN_SGI_NSYM_DIS = 8,
1: - IEEE80211_RADIOTAP_VHT_KNOWN_LDPC_EXTRA_OFDM_SYM = 16,
1: - IEEE80211_RADIOTAP_VHT_KNOWN_BEAMFORMED = 32,
1: - IEEE80211_RADIOTAP_VHT_KNOWN_BANDWIDTH = 64,
1: - IEEE80211_RADIOTAP_VHT_KNOWN_GROUP_ID = 128,
1: - IEEE80211_RADIOTAP_VHT_KNOWN_PARTIAL_AID = 256,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_STBC = 1,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_TXOP_PS_NA = 2,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_GI = 4,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_SGI_NSYM_DIS = 8,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_LDPC_EXTRA_OFDM_SYM = 16,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_BEAMFORMED = 32,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_BANDWIDTH = 64,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_GROUP_ID = 128,
1: + IEEE80211_RADIOTAP_VHT_KNOWN_PARTIAL_AID = 256,
1: };
1:
1: enum ieee80211_max_queues {
1: - IEEE80211_MAX_QUEUES = 16,
1: - IEEE80211_MAX_QUEUE_MAP = 65535,
1: + IEEE80211_MAX_QUEUES = 16,
1: + IEEE80211_MAX_QUEUE_MAP = 65535,
1: };
1:
1: struct ieee80211_tx_queue_params {
1: - u16 txop;
1: - u16 cw_min;
1: - u16 cw_max;
1: - u8 aifs;
1: - bool acm;
1: - bool uapsd;
1: - bool mu_edca;
1: - struct ieee80211_he_mu_edca_param_ac_rec mu_edca_param_rec;
1: + u16 txop;
1: + u16 cw_min;
1: + u16 cw_max;
1: + u8 aifs;
1: + bool acm;
1: + bool uapsd;
1: + bool mu_edca;
1: + struct ieee80211_he_mu_edca_param_ac_rec mu_edca_param_rec;
1: };
1:
1: struct ieee80211_low_level_stats {
1: - unsigned int dot11ACKFailureCount;
1: - unsigned int dot11RTSFailureCount;
1: - unsigned int dot11FCSErrorCount;
1: - unsigned int dot11RTSSuccessCount;
1: + unsigned int dot11ACKFailureCount;
1: + unsigned int dot11RTSFailureCount;
1: + unsigned int dot11FCSErrorCount;
1: + unsigned int dot11RTSSuccessCount;
1: };
1:
1: struct ieee80211_chanctx_conf {
1: - struct cfg80211_chan_def def;
1: - struct cfg80211_chan_def min_def;
1: - u8 rx_chains_static;
1: - u8 rx_chains_dynamic;
1: - bool radar_enabled;
1: - long: 40;
1: - u8 drv_priv[0];
1: + struct cfg80211_chan_def def;
1: + struct cfg80211_chan_def min_def;
1: + u8 rx_chains_static;
1: + u8 rx_chains_dynamic;
1: + bool radar_enabled;
1: + long : 40;
1: + u8 drv_priv[0];
1: };
1:
1: enum ieee80211_chanctx_switch_mode {
1: - CHANCTX_SWMODE_REASSIGN_VIF = 0,
1: - CHANCTX_SWMODE_SWAP_CONTEXTS = 1,
1: + CHANCTX_SWMODE_REASSIGN_VIF = 0,
1: + CHANCTX_SWMODE_SWAP_CONTEXTS = 1,
1: };
1:
1: struct ieee80211_vif;
1:
1: struct ieee80211_vif_chanctx_switch {
1: - struct ieee80211_vif *vif;
1: - struct ieee80211_chanctx_conf *old_ctx;
1: - struct ieee80211_chanctx_conf *new_ctx;
1: + struct ieee80211_vif *vif;
1: + struct ieee80211_chanctx_conf *old_ctx;
1: + struct ieee80211_chanctx_conf *new_ctx;
1: };
1:
1: struct ieee80211_mu_group_data {
1: - u8 membership[8];
1: - u8 position[16];
1: + u8 membership[8];
1: + u8 position[16];
1: };
1:
1: struct ieee80211_ftm_responder_params;
1:
1: struct ieee80211_bss_conf {
1: - const u8 *bssid;
1: - u8 bss_color;
1: - u8 htc_trig_based_pkt_ext;
1: - bool multi_sta_back_32bit;
1: - bool uora_exists;
1: - bool ack_enabled;
1: - u8 uora_ocw_range;
1: - u16 frame_time_rts_th;
1: - bool he_support;
1: - bool twt_requester;
1: - bool twt_responder;
1: - bool assoc;
1: - bool ibss_joined;
1: - bool ibss_creator;
1: - u16 aid;
1: - bool use_cts_prot;
1: - bool use_short_preamble;
1: - bool use_short_slot;
1: - bool enable_beacon;
1: - u8 dtim_period;
1: - char: 8;
1: - u16 beacon_int;
1: - u16 assoc_capability;
1: - long: 48;
1: - u64 sync_tsf;
1: - u32 sync_device_ts;
1: - u8 sync_dtim_count;
1: - int: 24;
1: - u32 basic_rates;
1: - int: 32;
1: - struct ieee80211_rate *beacon_rate;
1: - int mcast_rate[4];
1: - u16 ht_operation_mode;
1: - short: 16;
1: - s32 cqm_rssi_thold;
1: - u32 cqm_rssi_hyst;
1: - s32 cqm_rssi_low;
1: - s32 cqm_rssi_high;
1: - int: 32;
1: - struct cfg80211_chan_def chandef;
1: - struct ieee80211_mu_group_data mu_group;
1: - __be32 arp_addr_list[4];
1: - int arp_addr_cnt;
1: - bool qos;
1: - bool idle;
1: - bool ps;
1: - u8 ssid[32];
1: - char: 8;
1: - size_t ssid_len;
1: - bool hidden_ssid;
1: - int: 24;
1: - int txpower;
1: - enum nl80211_tx_power_setting txpower_type;
1: - struct ieee80211_p2p_noa_attr p2p_noa_attr;
1: - bool allow_p2p_go_ps;
1: - char: 8;
1: - u16 max_idle_period;
1: - bool protected_keep_alive;
1: - bool ftm_responder;
1: - struct ieee80211_ftm_responder_params *ftmr_params;
1: - bool nontransmitted;
1: - u8 transmitter_bssid[6];
1: - u8 bssid_index;
1: - u8 bssid_indicator;
1: - bool ema_ap;
1: - u8 profile_periodicity;
1: - struct ieee80211_he_operation he_operation;
1: - struct ieee80211_he_obss_pd he_obss_pd;
1: - int: 32;
1: + const u8 *bssid;
1: + u8 bss_color;
1: + u8 htc_trig_based_pkt_ext;
1: + bool multi_sta_back_32bit;
1: + bool uora_exists;
1: + bool ack_enabled;
1: + u8 uora_ocw_range;
1: + u16 frame_time_rts_th;
1: + bool he_support;
1: + bool twt_requester;
1: + bool twt_responder;
1: + bool assoc;
1: + bool ibss_joined;
1: + bool ibss_creator;
1: + u16 aid;
1: + bool use_cts_prot;
1: + bool use_short_preamble;
1: + bool use_short_slot;
1: + bool enable_beacon;
1: + u8 dtim_period;
1: + char : 8;
1: + u16 beacon_int;
1: + u16 assoc_capability;
1: + long : 48;
1: + u64 sync_tsf;
1: + u32 sync_device_ts;
1: + u8 sync_dtim_count;
1: + int : 24;
1: + u32 basic_rates;
1: + int : 32;
1: + struct ieee80211_rate *beacon_rate;
1: + int mcast_rate[4];
1: + u16 ht_operation_mode;
1: + short : 16;
1: + s32 cqm_rssi_thold;
1: + u32 cqm_rssi_hyst;
1: + s32 cqm_rssi_low;
1: + s32 cqm_rssi_high;
1: + int : 32;
1: + struct cfg80211_chan_def chandef;
1: + struct ieee80211_mu_group_data mu_group;
1: + __be32 arp_addr_list[4];
1: + int arp_addr_cnt;
1: + bool qos;
1: + bool idle;
1: + bool ps;
1: + u8 ssid[32];
1: + char : 8;
1: + size_t ssid_len;
1: + bool hidden_ssid;
1: + int : 24;
1: + int txpower;
1: + enum nl80211_tx_power_setting txpower_type;
1: + struct ieee80211_p2p_noa_attr p2p_noa_attr;
1: + bool allow_p2p_go_ps;
1: + char : 8;
1: + u16 max_idle_period;
1: + bool protected_keep_alive;
1: + bool ftm_responder;
1: + struct ieee80211_ftm_responder_params *ftmr_params;
1: + bool nontransmitted;
1: + u8 transmitter_bssid[6];
1: + u8 bssid_index;
1: + u8 bssid_indicator;
1: + bool ema_ap;
1: + u8 profile_periodicity;
1: + struct ieee80211_he_operation he_operation;
1: + struct ieee80211_he_obss_pd he_obss_pd;
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct ieee80211_txq;
1:
1: struct ieee80211_vif {
1: - enum nl80211_iftype type;
1: - struct ieee80211_bss_conf bss_conf;
1: - u8 addr[6];
1: - bool p2p;
1: - bool csa_active;
1: - bool mu_mimo_owner;
1: - u8 cab_queue;
1: - u8 hw_queue[4];
1: - struct ieee80211_txq *txq;
1: - struct ieee80211_chanctx_conf *chanctx_conf;
1: - u32 driver_flags;
1: - unsigned int probe_req_reg;
1: - bool txqs_stopped[4];
1: - int: 32;
1: - u8 drv_priv[0];
1: + enum nl80211_iftype type;
1: + struct ieee80211_bss_conf bss_conf;
1: + u8 addr[6];
1: + bool p2p;
1: + bool csa_active;
1: + bool mu_mimo_owner;
1: + u8 cab_queue;
1: + u8 hw_queue[4];
1: + struct ieee80211_txq *txq;
1: + struct ieee80211_chanctx_conf *chanctx_conf;
1: + u32 driver_flags;
1: + unsigned int probe_req_reg;
1: + bool txqs_stopped[4];
1: + int : 32;
1: + u8 drv_priv[0];
1: };
1:
1: enum ieee80211_bss_change {
1: - BSS_CHANGED_ASSOC = 1,
1: - BSS_CHANGED_ERP_CTS_PROT = 2,
1: - BSS_CHANGED_ERP_PREAMBLE = 4,
1: - BSS_CHANGED_ERP_SLOT = 8,
1: - BSS_CHANGED_HT = 16,
1: - BSS_CHANGED_BASIC_RATES = 32,
1: - BSS_CHANGED_BEACON_INT = 64,
1: - BSS_CHANGED_BSSID = 128,
1: - BSS_CHANGED_BEACON = 256,
1: - BSS_CHANGED_BEACON_ENABLED = 512,
1: - BSS_CHANGED_CQM = 1024,
1: - BSS_CHANGED_IBSS = 2048,
1: - BSS_CHANGED_ARP_FILTER = 4096,
1: - BSS_CHANGED_QOS = 8192,
1: - BSS_CHANGED_IDLE = 16384,
1: - BSS_CHANGED_SSID = 32768,
1: - BSS_CHANGED_AP_PROBE_RESP = 65536,
1: - BSS_CHANGED_PS = 131072,
1: - BSS_CHANGED_TXPOWER = 262144,
1: - BSS_CHANGED_P2P_PS = 524288,
1: - BSS_CHANGED_BEACON_INFO = 1048576,
1: - BSS_CHANGED_BANDWIDTH = 2097152,
1: - BSS_CHANGED_OCB = 4194304,
1: - BSS_CHANGED_MU_GROUPS = 8388608,
1: - BSS_CHANGED_KEEP_ALIVE = 16777216,
1: - BSS_CHANGED_MCAST_RATE = 33554432,
1: - BSS_CHANGED_FTM_RESPONDER = 67108864,
1: - BSS_CHANGED_TWT = 134217728,
1: - BSS_CHANGED_HE_OBSS_PD = 268435456,
1: + BSS_CHANGED_ASSOC = 1,
1: + BSS_CHANGED_ERP_CTS_PROT = 2,
1: + BSS_CHANGED_ERP_PREAMBLE = 4,
1: + BSS_CHANGED_ERP_SLOT = 8,
1: + BSS_CHANGED_HT = 16,
1: + BSS_CHANGED_BASIC_RATES = 32,
1: + BSS_CHANGED_BEACON_INT = 64,
1: + BSS_CHANGED_BSSID = 128,
1: + BSS_CHANGED_BEACON = 256,
1: + BSS_CHANGED_BEACON_ENABLED = 512,
1: + BSS_CHANGED_CQM = 1024,
1: + BSS_CHANGED_IBSS = 2048,
1: + BSS_CHANGED_ARP_FILTER = 4096,
1: + BSS_CHANGED_QOS = 8192,
1: + BSS_CHANGED_IDLE = 16384,
1: + BSS_CHANGED_SSID = 32768,
1: + BSS_CHANGED_AP_PROBE_RESP = 65536,
1: + BSS_CHANGED_PS = 131072,
1: + BSS_CHANGED_TXPOWER = 262144,
1: + BSS_CHANGED_P2P_PS = 524288,
1: + BSS_CHANGED_BEACON_INFO = 1048576,
1: + BSS_CHANGED_BANDWIDTH = 2097152,
1: + BSS_CHANGED_OCB = 4194304,
1: + BSS_CHANGED_MU_GROUPS = 8388608,
1: + BSS_CHANGED_KEEP_ALIVE = 16777216,
1: + BSS_CHANGED_MCAST_RATE = 33554432,
1: + BSS_CHANGED_FTM_RESPONDER = 67108864,
1: + BSS_CHANGED_TWT = 134217728,
1: + BSS_CHANGED_HE_OBSS_PD = 268435456,
1: };
1:
1: enum ieee80211_event_type {
1: - RSSI_EVENT = 0,
1: - MLME_EVENT = 1,
1: - BAR_RX_EVENT = 2,
1: - BA_FRAME_TIMEOUT = 3,
1: + RSSI_EVENT = 0,
1: + MLME_EVENT = 1,
1: + BAR_RX_EVENT = 2,
1: + BA_FRAME_TIMEOUT = 3,
1: };
1:
1: enum ieee80211_rssi_event_data {
1: - RSSI_EVENT_HIGH = 0,
1: - RSSI_EVENT_LOW = 1,
1: + RSSI_EVENT_HIGH = 0,
1: + RSSI_EVENT_LOW = 1,
1: };
1:
1: struct ieee80211_rssi_event {
1: - enum ieee80211_rssi_event_data data;
1: + enum ieee80211_rssi_event_data data;
1: };
1:
1: enum ieee80211_mlme_event_data {
1: - AUTH_EVENT = 0,
1: - ASSOC_EVENT = 1,
1: - DEAUTH_RX_EVENT = 2,
1: - DEAUTH_TX_EVENT = 3,
1: + AUTH_EVENT = 0,
1: + ASSOC_EVENT = 1,
1: + DEAUTH_RX_EVENT = 2,
1: + DEAUTH_TX_EVENT = 3,
1: };
1:
1: enum ieee80211_mlme_event_status {
1: - MLME_SUCCESS = 0,
1: - MLME_DENIED = 1,
1: - MLME_TIMEOUT = 2,
1: + MLME_SUCCESS = 0,
1: + MLME_DENIED = 1,
1: + MLME_TIMEOUT = 2,
1: };
1:
1: struct ieee80211_mlme_event {
1: - enum ieee80211_mlme_event_data data;
1: - enum ieee80211_mlme_event_status status;
1: - u16 reason;
1: + enum ieee80211_mlme_event_data data;
1: + enum ieee80211_mlme_event_status status;
1: + u16 reason;
1: };
1:
1: struct ieee80211_sta;
1:
1: struct ieee80211_ba_event {
1: - struct ieee80211_sta *sta;
1: - u16 tid;
1: - u16 ssn;
1: + struct ieee80211_sta *sta;
1: + u16 tid;
1: + u16 ssn;
1: };
1:
1: enum ieee80211_sta_rx_bandwidth {
1: - IEEE80211_STA_RX_BW_20 = 0,
1: - IEEE80211_STA_RX_BW_40 = 1,
1: - IEEE80211_STA_RX_BW_80 = 2,
1: - IEEE80211_STA_RX_BW_160 = 3,
1: + IEEE80211_STA_RX_BW_20 = 0,
1: + IEEE80211_STA_RX_BW_40 = 1,
1: + IEEE80211_STA_RX_BW_80 = 2,
1: + IEEE80211_STA_RX_BW_160 = 3,
1: };
1:
1: enum ieee80211_smps_mode {
1: - IEEE80211_SMPS_AUTOMATIC = 0,
1: - IEEE80211_SMPS_OFF = 1,
1: - IEEE80211_SMPS_STATIC = 2,
1: - IEEE80211_SMPS_DYNAMIC = 3,
1: - IEEE80211_SMPS_NUM_MODES = 4,
1: + IEEE80211_SMPS_AUTOMATIC = 0,
1: + IEEE80211_SMPS_OFF = 1,
1: + IEEE80211_SMPS_STATIC = 2,
1: + IEEE80211_SMPS_DYNAMIC = 3,
1: + IEEE80211_SMPS_NUM_MODES = 4,
1: };
1:
1: struct ieee80211_sta_txpwr {
1: - s16 power;
1: - enum nl80211_tx_power_setting type;
1: + s16 power;
1: + enum nl80211_tx_power_setting type;
1: };
1:
1: struct ieee80211_sta_rates;
1:
1: struct ieee80211_sta {
1: - u32 supp_rates[4];
1: - u8 addr[6];
1: - u16 aid;
1: - struct ieee80211_sta_ht_cap ht_cap;
1: - struct ieee80211_sta_vht_cap vht_cap;
1: - struct ieee80211_sta_he_cap he_cap;
1: - u16 max_rx_aggregation_subframes;
1: - bool wme;
1: - u8 uapsd_queues;
1: - u8 max_sp;
1: - u8 rx_nss;
1: - enum ieee80211_sta_rx_bandwidth bandwidth;
1: - enum ieee80211_smps_mode smps_mode;
1: - struct ieee80211_sta_rates *rates;
1: - bool tdls;
1: - bool tdls_initiator;
1: - bool mfp;
1: - u8 max_amsdu_subframes;
1: - u16 max_amsdu_len;
1: - bool support_p2p_ps;
1: - u16 max_rc_amsdu_len;
1: - u16 max_tid_amsdu_len[16];
1: - struct ieee80211_sta_txpwr txpwr;
1: - struct ieee80211_txq *txq[17];
1: - u8 drv_priv[0];
1: + u32 supp_rates[4];
1: + u8 addr[6];
1: + u16 aid;
1: + struct ieee80211_sta_ht_cap ht_cap;
1: + struct ieee80211_sta_vht_cap vht_cap;
1: + struct ieee80211_sta_he_cap he_cap;
1: + u16 max_rx_aggregation_subframes;
1: + bool wme;
1: + u8 uapsd_queues;
1: + u8 max_sp;
1: + u8 rx_nss;
1: + enum ieee80211_sta_rx_bandwidth bandwidth;
1: + enum ieee80211_smps_mode smps_mode;
1: + struct ieee80211_sta_rates *rates;
1: + bool tdls;
1: + bool tdls_initiator;
1: + bool mfp;
1: + u8 max_amsdu_subframes;
1: + u16 max_amsdu_len;
1: + bool support_p2p_ps;
1: + u16 max_rc_amsdu_len;
1: + u16 max_tid_amsdu_len[16];
1: + struct ieee80211_sta_txpwr txpwr;
1: + struct ieee80211_txq *txq[17];
1: + u8 drv_priv[0];
1: };
1:
1: struct ieee80211_event {
1: - enum ieee80211_event_type type;
1: - union {
1: - struct ieee80211_rssi_event rssi;
1: - struct ieee80211_mlme_event mlme;
1: - struct ieee80211_ba_event ba;
1: - } u;
1: + enum ieee80211_event_type type;
1: + union {
1: + struct ieee80211_rssi_event rssi;
1: + struct ieee80211_mlme_event mlme;
1: + struct ieee80211_ba_event ba;
1: + } u;
1: };
1:
1: struct ieee80211_ftm_responder_params {
1: - const u8 *lci;
1: - const u8 *civicloc;
1: - size_t lci_len;
1: - size_t civicloc_len;
1: + const u8 *lci;
1: + const u8 *civicloc;
1: + size_t lci_len;
1: + size_t civicloc_len;
1: };
1:
1: struct ieee80211_tx_rate {
1: - s8 idx;
1: - u16 count: 5;
1: - u16 flags: 11;
1: + s8 idx;
1: + u16 count : 5;
1: + u16 flags : 11;
1: } __attribute__((packed));
1:
1: struct ieee80211_key_conf {
1: - atomic64_t tx_pn;
1: - u32 cipher;
1: - u8 icv_len;
1: - u8 iv_len;
1: - u8 hw_key_idx;
1: - s8 keyidx;
1: - u16 flags;
1: - u8 keylen;
1: - u8 key[0];
1: + atomic64_t tx_pn;
1: + u32 cipher;
1: + u8 icv_len;
1: + u8 iv_len;
1: + u8 hw_key_idx;
1: + s8 keyidx;
1: + u16 flags;
1: + u8 keylen;
1: + u8 key[0];
1: };
1:
1: struct ieee80211_tx_info {
1: - u32 flags;
1: - u8 band;
1: - u8 hw_queue;
1: - u16 ack_frame_id: 6;
1: - u16 tx_time_est: 10;
1: - union {
1: - struct {
1: - union {
1: - struct {
1: - struct ieee80211_tx_rate rates[4];
1: - s8 rts_cts_rate_idx;
1: - u8 use_rts: 1;
1: - u8 use_cts_prot: 1;
1: - u8 short_preamble: 1;
1: - u8 skip_table: 1;
1: - };
1: - long unsigned int jiffies;
1: - };
1: - struct ieee80211_vif *vif;
1: - struct ieee80211_key_conf *hw_key;
1: - u32 flags;
1: - codel_time_t enqueue_time;
1: - } control;
1: - struct {
1: - u64 cookie;
1: - } ack;
1: - struct {
1: - struct ieee80211_tx_rate rates[4];
1: - s32 ack_signal;
1: - u8 ampdu_ack_len;
1: - u8 ampdu_len;
1: - u8 antenna;
1: - u16 tx_time;
1: - bool is_valid_ack_signal;
1: - void *status_driver_data[2];
1: - } status;
1: - struct {
1: - struct ieee80211_tx_rate driver_rates[4];
1: - u8 pad[4];
1: - void *rate_driver_data[3];
1: - };
1: - void *driver_data[5];
1: - };
1: + u32 flags;
1: + u8 band;
1: + u8 hw_queue;
1: + u16 ack_frame_id : 6;
1: + u16 tx_time_est : 10;
1: + union {
1: + struct {
1: + union {
1: + struct {
1: + struct ieee80211_tx_rate rates[4];
1: + s8 rts_cts_rate_idx;
1: + u8 use_rts : 1;
1: + u8 use_cts_prot : 1;
1: + u8 short_preamble : 1;
1: + u8 skip_table : 1;
1: + };
1: + long unsigned int jiffies;
1: + };
1: + struct ieee80211_vif *vif;
1: + struct ieee80211_key_conf *hw_key;
1: + u32 flags;
1: + codel_time_t enqueue_time;
1: + } control;
1: + struct {
1: + u64 cookie;
1: + } ack;
1: + struct {
1: + struct ieee80211_tx_rate rates[4];
1: + s32 ack_signal;
1: + u8 ampdu_ack_len;
1: + u8 ampdu_len;
1: + u8 antenna;
1: + u16 tx_time;
1: + bool is_valid_ack_signal;
1: + void *status_driver_data[2];
1: + } status;
1: + struct {
1: + struct ieee80211_tx_rate driver_rates[4];
1: + u8 pad[4];
1: + void *rate_driver_data[3];
1: + };
1: + void *driver_data[5];
1: + };
1: };
1:
1: struct ieee80211_tx_status {
1: - struct ieee80211_sta *sta;
1: - struct ieee80211_tx_info *info;
1: - struct sk_buff *skb;
1: - struct rate_info *rate;
1: + struct ieee80211_sta *sta;
1: + struct ieee80211_tx_info *info;
1: + struct sk_buff *skb;
1: + struct rate_info *rate;
1: };
1:
1: struct ieee80211_scan_ies {
1: - const u8 *ies[4];
1: - size_t len[4];
1: - const u8 *common_ies;
1: - size_t common_ie_len;
1: + const u8 *ies[4];
1: + size_t len[4];
1: + const u8 *common_ies;
1: + size_t common_ie_len;
1: };
1:
1: struct ieee80211_rx_status {
1: - u64 mactime;
1: - u64 boottime_ns;
1: - u32 device_timestamp;
1: - u32 ampdu_reference;
1: - u32 flag;
1: - u16 freq;
1: - u8 enc_flags;
1: - u8 encoding: 2;
1: - u8 bw: 3;
1: - u8 he_ru: 3;
1: - u8 he_gi: 2;
1: - u8 he_dcm: 1;
1: - u8 rate_idx;
1: - u8 nss;
1: - u8 rx_flags;
1: - u8 band;
1: - u8 antenna;
1: - s8 signal;
1: - u8 chains;
1: - s8 chain_signal[4];
1: - u8 ampdu_delimiter_crc;
1: - u8 zero_length_psdu_type;
1: + u64 mactime;
1: + u64 boottime_ns;
1: + u32 device_timestamp;
1: + u32 ampdu_reference;
1: + u32 flag;
1: + u16 freq;
1: + u8 enc_flags;
1: + u8 encoding : 2;
1: + u8 bw : 3;
1: + u8 he_ru : 3;
1: + u8 he_gi : 2;
1: + u8 he_dcm : 1;
1: + u8 rate_idx;
1: + u8 nss;
1: + u8 rx_flags;
1: + u8 band;
1: + u8 antenna;
1: + s8 signal;
1: + u8 chains;
1: + s8 chain_signal[4];
1: + u8 ampdu_delimiter_crc;
1: + u8 zero_length_psdu_type;
1: };
1:
1: enum ieee80211_conf_flags {
1: - IEEE80211_CONF_MONITOR = 1,
1: - IEEE80211_CONF_PS = 2,
1: - IEEE80211_CONF_IDLE = 4,
1: - IEEE80211_CONF_OFFCHANNEL = 8,
1: + IEEE80211_CONF_MONITOR = 1,
1: + IEEE80211_CONF_PS = 2,
1: + IEEE80211_CONF_IDLE = 4,
1: + IEEE80211_CONF_OFFCHANNEL = 8,
1: };
1:
1: enum ieee80211_conf_changed {
1: - IEEE80211_CONF_CHANGE_SMPS = 2,
1: - IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = 4,
1: - IEEE80211_CONF_CHANGE_MONITOR = 8,
1: - IEEE80211_CONF_CHANGE_PS = 16,
1: - IEEE80211_CONF_CHANGE_POWER = 32,
1: - IEEE80211_CONF_CHANGE_CHANNEL = 64,
1: - IEEE80211_CONF_CHANGE_RETRY_LIMITS = 128,
1: - IEEE80211_CONF_CHANGE_IDLE = 256,
1: + IEEE80211_CONF_CHANGE_SMPS = 2,
1: + IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = 4,
1: + IEEE80211_CONF_CHANGE_MONITOR = 8,
1: + IEEE80211_CONF_CHANGE_PS = 16,
1: + IEEE80211_CONF_CHANGE_POWER = 32,
1: + IEEE80211_CONF_CHANGE_CHANNEL = 64,
1: + IEEE80211_CONF_CHANGE_RETRY_LIMITS = 128,
1: + IEEE80211_CONF_CHANGE_IDLE = 256,
1: };
1:
1: struct ieee80211_conf {
1: - u32 flags;
1: - int power_level;
1: - int dynamic_ps_timeout;
1: - u16 listen_interval;
1: - u8 ps_dtim_period;
1: - u8 long_frame_max_tx_count;
1: - u8 short_frame_max_tx_count;
1: - struct cfg80211_chan_def chandef;
1: - bool radar_enabled;
1: - enum ieee80211_smps_mode smps_mode;
1: + u32 flags;
1: + int power_level;
1: + int dynamic_ps_timeout;
1: + u16 listen_interval;
1: + u8 ps_dtim_period;
1: + u8 long_frame_max_tx_count;
1: + u8 short_frame_max_tx_count;
1: + struct cfg80211_chan_def chandef;
1: + bool radar_enabled;
1: + enum ieee80211_smps_mode smps_mode;
1: };
1:
1: struct ieee80211_channel_switch {
1: - u64 timestamp;
1: - u32 device_timestamp;
1: - bool block_tx;
1: - struct cfg80211_chan_def chandef;
1: - u8 count;
1: - u32 delay;
1: + u64 timestamp;
1: + u32 device_timestamp;
1: + bool block_tx;
1: + struct cfg80211_chan_def chandef;
1: + u8 count;
1: + u32 delay;
1: };
1:
1: struct ieee80211_txq {
1: - struct ieee80211_vif *vif;
1: - struct ieee80211_sta *sta;
1: - u8 tid;
1: - u8 ac;
1: - long: 48;
1: - u8 drv_priv[0];
1: + struct ieee80211_vif *vif;
1: + struct ieee80211_sta *sta;
1: + u8 tid;
1: + u8 ac;
1: + long : 48;
1: + u8 drv_priv[0];
1: };
1:
1: struct ieee80211_key_seq {
1: - union {
1: - struct {
1: - u32 iv32;
1: - u16 iv16;
1: - } tkip;
1: - struct {
1: - u8 pn[6];
1: - } ccmp;
1: - struct {
1: - u8 pn[6];
1: - } aes_cmac;
1: - struct {
1: - u8 pn[6];
1: - } aes_gmac;
1: - struct {
1: - u8 pn[6];
1: - } gcmp;
1: - struct {
1: - u8 seq[16];
1: - u8 seq_len;
1: - } hw;
1: - };
1: + union {
1: + struct {
1: + u32 iv32;
1: + u16 iv16;
1: + } tkip;
1: + struct {
1: + u8 pn[6];
1: + } ccmp;
1: + struct {
1: + u8 pn[6];
1: + } aes_cmac;
1: + struct {
1: + u8 pn[6];
1: + } aes_gmac;
1: + struct {
1: + u8 pn[6];
1: + } gcmp;
1: + struct {
1: + u8 seq[16];
1: + u8 seq_len;
1: + } hw;
1: + };
1: };
1:
1: struct ieee80211_cipher_scheme {
1: - u32 cipher;
1: - u16 iftype;
1: - u8 hdr_len;
1: - u8 pn_len;
1: - u8 pn_off;
1: - u8 key_idx_off;
1: - u8 key_idx_mask;
1: - u8 key_idx_shift;
1: - u8 mic_len;
1: + u32 cipher;
1: + u16 iftype;
1: + u8 hdr_len;
1: + u8 pn_len;
1: + u8 pn_off;
1: + u8 key_idx_off;
1: + u8 key_idx_mask;
1: + u8 key_idx_shift;
1: + u8 mic_len;
1: };
1:
1: enum set_key_cmd {
1: - SET_KEY = 0,
1: - DISABLE_KEY = 1,
1: + SET_KEY = 0,
1: + DISABLE_KEY = 1,
1: };
1:
1: enum ieee80211_sta_state {
1: - IEEE80211_STA_NOTEXIST = 0,
1: - IEEE80211_STA_NONE = 1,
1: - IEEE80211_STA_AUTH = 2,
1: - IEEE80211_STA_ASSOC = 3,
1: - IEEE80211_STA_AUTHORIZED = 4,
1: + IEEE80211_STA_NOTEXIST = 0,
1: + IEEE80211_STA_NONE = 1,
1: + IEEE80211_STA_AUTH = 2,
1: + IEEE80211_STA_ASSOC = 3,
1: + IEEE80211_STA_AUTHORIZED = 4,
1: };
1:
1: struct ieee80211_sta_rates {
1: - struct callback_head callback_head;
1: - struct {
1: - s8 idx;
1: - u8 count;
1: - u8 count_cts;
1: - u8 count_rts;
1: - u16 flags;
1: - } rate[4];
1: + struct callback_head callback_head;
1: + struct {
1: + s8 idx;
1: + u8 count;
1: + u8 count_cts;
1: + u8 count_rts;
1: + u16 flags;
1: + } rate[4];
1: };
1:
1: enum sta_notify_cmd {
1: - STA_NOTIFY_SLEEP = 0,
1: - STA_NOTIFY_AWAKE = 1,
1: + STA_NOTIFY_SLEEP = 0,
1: + STA_NOTIFY_AWAKE = 1,
1: };
1:
1: struct ieee80211_tx_control {
1: - struct ieee80211_sta *sta;
1: + struct ieee80211_sta *sta;
1: };
1:
1: enum ieee80211_hw_flags {
1: - IEEE80211_HW_HAS_RATE_CONTROL = 0,
1: - IEEE80211_HW_RX_INCLUDES_FCS = 1,
1: - IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING = 2,
1: - IEEE80211_HW_SIGNAL_UNSPEC = 3,
1: - IEEE80211_HW_SIGNAL_DBM = 4,
1: - IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC = 5,
1: - IEEE80211_HW_SPECTRUM_MGMT = 6,
1: - IEEE80211_HW_AMPDU_AGGREGATION = 7,
1: - IEEE80211_HW_SUPPORTS_PS = 8,
1: - IEEE80211_HW_PS_NULLFUNC_STACK = 9,
1: - IEEE80211_HW_SUPPORTS_DYNAMIC_PS = 10,
1: - IEEE80211_HW_MFP_CAPABLE = 11,
1: - IEEE80211_HW_WANT_MONITOR_VIF = 12,
1: - IEEE80211_HW_NO_AUTO_VIF = 13,
1: - IEEE80211_HW_SW_CRYPTO_CONTROL = 14,
1: - IEEE80211_HW_SUPPORT_FAST_XMIT = 15,
1: - IEEE80211_HW_REPORTS_TX_ACK_STATUS = 16,
1: - IEEE80211_HW_CONNECTION_MONITOR = 17,
1: - IEEE80211_HW_QUEUE_CONTROL = 18,
1: - IEEE80211_HW_SUPPORTS_PER_STA_GTK = 19,
1: - IEEE80211_HW_AP_LINK_PS = 20,
1: - IEEE80211_HW_TX_AMPDU_SETUP_IN_HW = 21,
1: - IEEE80211_HW_SUPPORTS_RC_TABLE = 22,
1: - IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF = 23,
1: - IEEE80211_HW_TIMING_BEACON_ONLY = 24,
1: - IEEE80211_HW_SUPPORTS_HT_CCK_RATES = 25,
1: - IEEE80211_HW_CHANCTX_STA_CSA = 26,
1: - IEEE80211_HW_SUPPORTS_CLONED_SKBS = 27,
1: - IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS = 28,
1: - IEEE80211_HW_TDLS_WIDER_BW = 29,
1: - IEEE80211_HW_SUPPORTS_AMSDU_IN_AMPDU = 30,
1: - IEEE80211_HW_BEACON_TX_STATUS = 31,
1: - IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR = 32,
1: - IEEE80211_HW_SUPPORTS_REORDERING_BUFFER = 33,
1: - IEEE80211_HW_USES_RSS = 34,
1: - IEEE80211_HW_TX_AMSDU = 35,
1: - IEEE80211_HW_TX_FRAG_LIST = 36,
1: - IEEE80211_HW_REPORTS_LOW_ACK = 37,
1: - IEEE80211_HW_SUPPORTS_TX_FRAG = 38,
1: - IEEE80211_HW_SUPPORTS_TDLS_BUFFER_STA = 39,
1: - IEEE80211_HW_DEAUTH_NEED_MGD_TX_PREP = 40,
1: - IEEE80211_HW_DOESNT_SUPPORT_QOS_NDP = 41,
1: - IEEE80211_HW_BUFF_MMPDU_TXQ = 42,
1: - IEEE80211_HW_SUPPORTS_VHT_EXT_NSS_BW = 43,
1: - IEEE80211_HW_STA_MMPDU_TXQ = 44,
1: - IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN = 45,
1: - IEEE80211_HW_SUPPORTS_MULTI_BSSID = 46,
1: - IEEE80211_HW_SUPPORTS_ONLY_HE_MULTI_BSSID = 47,
1: - IEEE80211_HW_AMPDU_KEYBORDER_SUPPORT = 48,
1: - NUM_IEEE80211_HW_FLAGS = 49,
1: + IEEE80211_HW_HAS_RATE_CONTROL = 0,
1: + IEEE80211_HW_RX_INCLUDES_FCS = 1,
1: + IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING = 2,
1: + IEEE80211_HW_SIGNAL_UNSPEC = 3,
1: + IEEE80211_HW_SIGNAL_DBM = 4,
1: + IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC = 5,
1: + IEEE80211_HW_SPECTRUM_MGMT = 6,
1: + IEEE80211_HW_AMPDU_AGGREGATION = 7,
1: + IEEE80211_HW_SUPPORTS_PS = 8,
1: + IEEE80211_HW_PS_NULLFUNC_STACK = 9,
1: + IEEE80211_HW_SUPPORTS_DYNAMIC_PS = 10,
1: + IEEE80211_HW_MFP_CAPABLE = 11,
1: + IEEE80211_HW_WANT_MONITOR_VIF = 12,
1: + IEEE80211_HW_NO_AUTO_VIF = 13,
1: + IEEE80211_HW_SW_CRYPTO_CONTROL = 14,
1: + IEEE80211_HW_SUPPORT_FAST_XMIT = 15,
1: + IEEE80211_HW_REPORTS_TX_ACK_STATUS = 16,
1: + IEEE80211_HW_CONNECTION_MONITOR = 17,
1: + IEEE80211_HW_QUEUE_CONTROL = 18,
1: + IEEE80211_HW_SUPPORTS_PER_STA_GTK = 19,
1: + IEEE80211_HW_AP_LINK_PS = 20,
1: + IEEE80211_HW_TX_AMPDU_SETUP_IN_HW = 21,
1: + IEEE80211_HW_SUPPORTS_RC_TABLE = 22,
1: + IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF = 23,
1: + IEEE80211_HW_TIMING_BEACON_ONLY = 24,
1: + IEEE80211_HW_SUPPORTS_HT_CCK_RATES = 25,
1: + IEEE80211_HW_CHANCTX_STA_CSA = 26,
1: + IEEE80211_HW_SUPPORTS_CLONED_SKBS = 27,
1: + IEEE80211_HW_SINGLE_SCAN_ON_ALL_BANDS = 28,
1: + IEEE80211_HW_TDLS_WIDER_BW = 29,
1: + IEEE80211_HW_SUPPORTS_AMSDU_IN_AMPDU = 30,
1: + IEEE80211_HW_BEACON_TX_STATUS = 31,
1: + IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR = 32,
1: + IEEE80211_HW_SUPPORTS_REORDERING_BUFFER = 33,
1: + IEEE80211_HW_USES_RSS = 34,
1: + IEEE80211_HW_TX_AMSDU = 35,
1: + IEEE80211_HW_TX_FRAG_LIST = 36,
1: + IEEE80211_HW_REPORTS_LOW_ACK = 37,
1: + IEEE80211_HW_SUPPORTS_TX_FRAG = 38,
1: + IEEE80211_HW_SUPPORTS_TDLS_BUFFER_STA = 39,
1: + IEEE80211_HW_DEAUTH_NEED_MGD_TX_PREP = 40,
1: + IEEE80211_HW_DOESNT_SUPPORT_QOS_NDP = 41,
1: + IEEE80211_HW_BUFF_MMPDU_TXQ = 42,
1: + IEEE80211_HW_SUPPORTS_VHT_EXT_NSS_BW = 43,
1: + IEEE80211_HW_STA_MMPDU_TXQ = 44,
1: + IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN = 45,
1: + IEEE80211_HW_SUPPORTS_MULTI_BSSID = 46,
1: + IEEE80211_HW_SUPPORTS_ONLY_HE_MULTI_BSSID = 47,
1: + IEEE80211_HW_AMPDU_KEYBORDER_SUPPORT = 48,
1: + NUM_IEEE80211_HW_FLAGS = 49,
1: };
1:
1: struct ieee80211_hw {
1: - struct ieee80211_conf conf;
1: - struct wiphy *wiphy;
1: - const char *rate_control_algorithm;
1: - void *priv;
1: - long unsigned int flags[1];
1: - unsigned int extra_tx_headroom;
1: - unsigned int extra_beacon_tailroom;
1: - int vif_data_size;
1: - int sta_data_size;
1: - int chanctx_data_size;
1: - int txq_data_size;
1: - u16 queues;
1: - u16 max_listen_interval;
1: - s8 max_signal;
1: - u8 max_rates;
1: - u8 max_report_rates;
1: - u8 max_rate_tries;
1: - u16 max_rx_aggregation_subframes;
1: - u16 max_tx_aggregation_subframes;
1: - u8 max_tx_fragments;
1: - u8 offchannel_tx_hw_queue;
1: - u8 radiotap_mcs_details;
1: - u16 radiotap_vht_details;
1: - struct {
1: - int units_pos;
1: - s16 accuracy;
1: - } radiotap_timestamp;
1: - netdev_features_t netdev_features;
1: - u8 uapsd_queues;
1: - u8 uapsd_max_sp_len;
1: - u8 n_cipher_schemes;
1: - const struct ieee80211_cipher_scheme *cipher_schemes;
1: - u8 max_nan_de_entries;
1: - u8 tx_sk_pacing_shift;
1: - u8 weight_multiplier;
1: - u32 max_mtu;
1: + struct ieee80211_conf conf;
1: + struct wiphy *wiphy;
1: + const char *rate_control_algorithm;
1: + void *priv;
1: + long unsigned int flags[1];
1: + unsigned int extra_tx_headroom;
1: + unsigned int extra_beacon_tailroom;
1: + int vif_data_size;
1: + int sta_data_size;
1: + int chanctx_data_size;
1: + int txq_data_size;
1: + u16 queues;
1: + u16 max_listen_interval;
1: + s8 max_signal;
1: + u8 max_rates;
1: + u8 max_report_rates;
1: + u8 max_rate_tries;
1: + u16 max_rx_aggregation_subframes;
1: + u16 max_tx_aggregation_subframes;
1: + u8 max_tx_fragments;
1: + u8 offchannel_tx_hw_queue;
1: + u8 radiotap_mcs_details;
1: + u16 radiotap_vht_details;
1: + struct {
1: + int units_pos;
1: + s16 accuracy;
1: + } radiotap_timestamp;
1: + netdev_features_t netdev_features;
1: + u8 uapsd_queues;
1: + u8 uapsd_max_sp_len;
1: + u8 n_cipher_schemes;
1: + const struct ieee80211_cipher_scheme *cipher_schemes;
1: + u8 max_nan_de_entries;
1: + u8 tx_sk_pacing_shift;
1: + u8 weight_multiplier;
1: + u32 max_mtu;
1: };
1:
1: struct ieee80211_scan_request {
1: - struct ieee80211_scan_ies ies;
1: - struct cfg80211_scan_request req;
1: + struct ieee80211_scan_ies ies;
1: + struct cfg80211_scan_request req;
1: };
1:
1: struct ieee80211_tdls_ch_sw_params {
1: - struct ieee80211_sta *sta;
1: - struct cfg80211_chan_def *chandef;
1: - u8 action_code;
1: - u32 status;
1: - u32 timestamp;
1: - u16 switch_time;
1: - u16 switch_timeout;
1: - struct sk_buff *tmpl_skb;
1: - u32 ch_sw_tm_ie;
1: + struct ieee80211_sta *sta;
1: + struct cfg80211_chan_def *chandef;
1: + u8 action_code;
1: + u32 status;
1: + u32 timestamp;
1: + u16 switch_time;
1: + u16 switch_timeout;
1: + struct sk_buff *tmpl_skb;
1: + u32 ch_sw_tm_ie;
1: };
1:
1: enum ieee80211_filter_flags {
1: - FIF_ALLMULTI = 2,
1: - FIF_FCSFAIL = 4,
1: - FIF_PLCPFAIL = 8,
1: - FIF_BCN_PRBRESP_PROMISC = 16,
1: - FIF_CONTROL = 32,
1: - FIF_OTHER_BSS = 64,
1: - FIF_PSPOLL = 128,
1: - FIF_PROBE_REQ = 256,
1: + FIF_ALLMULTI = 2,
1: + FIF_FCSFAIL = 4,
1: + FIF_PLCPFAIL = 8,
1: + FIF_BCN_PRBRESP_PROMISC = 16,
1: + FIF_CONTROL = 32,
1: + FIF_OTHER_BSS = 64,
1: + FIF_PSPOLL = 128,
1: + FIF_PROBE_REQ = 256,
1: };
1:
1: enum ieee80211_ampdu_mlme_action {
1: - IEEE80211_AMPDU_RX_START = 0,
1: - IEEE80211_AMPDU_RX_STOP = 1,
1: - IEEE80211_AMPDU_TX_START = 2,
1: - IEEE80211_AMPDU_TX_STOP_CONT = 3,
1: - IEEE80211_AMPDU_TX_STOP_FLUSH = 4,
1: - IEEE80211_AMPDU_TX_STOP_FLUSH_CONT = 5,
1: - IEEE80211_AMPDU_TX_OPERATIONAL = 6,
1: + IEEE80211_AMPDU_RX_START = 0,
1: + IEEE80211_AMPDU_RX_STOP = 1,
1: + IEEE80211_AMPDU_TX_START = 2,
1: + IEEE80211_AMPDU_TX_STOP_CONT = 3,
1: + IEEE80211_AMPDU_TX_STOP_FLUSH = 4,
1: + IEEE80211_AMPDU_TX_STOP_FLUSH_CONT = 5,
1: + IEEE80211_AMPDU_TX_OPERATIONAL = 6,
1: };
1:
1: struct ieee80211_ampdu_params {
1: - enum ieee80211_ampdu_mlme_action action;
1: - struct ieee80211_sta *sta;
1: - u16 tid;
1: - u16 ssn;
1: - u16 buf_size;
1: - bool amsdu;
1: - u16 timeout;
1: + enum ieee80211_ampdu_mlme_action action;
1: + struct ieee80211_sta *sta;
1: + u16 tid;
1: + u16 ssn;
1: + u16 buf_size;
1: + bool amsdu;
1: + u16 timeout;
1: };
1:
1: enum ieee80211_frame_release_type {
1: - IEEE80211_FRAME_RELEASE_PSPOLL = 0,
1: - IEEE80211_FRAME_RELEASE_UAPSD = 1,
1: + IEEE80211_FRAME_RELEASE_PSPOLL = 0,
1: + IEEE80211_FRAME_RELEASE_UAPSD = 1,
1: };
1:
1: enum ieee80211_roc_type {
1: - IEEE80211_ROC_TYPE_NORMAL = 0,
1: - IEEE80211_ROC_TYPE_MGMT_TX = 1,
1: + IEEE80211_ROC_TYPE_NORMAL = 0,
1: + IEEE80211_ROC_TYPE_MGMT_TX = 1,
1: };
1:
1: enum ieee80211_reconfig_type {
1: - IEEE80211_RECONFIG_TYPE_RESTART = 0,
1: - IEEE80211_RECONFIG_TYPE_SUSPEND = 1,
1: + IEEE80211_RECONFIG_TYPE_RESTART = 0,
1: + IEEE80211_RECONFIG_TYPE_SUSPEND = 1,
1: };
1:
1: struct ieee80211_ops {
1: - void (*tx)(struct ieee80211_hw *, struct ieee80211_tx_control *, struct sk_buff *);
1: - int (*start)(struct ieee80211_hw *);
1: - void (*stop)(struct ieee80211_hw *);
1: - int (*suspend)(struct ieee80211_hw *, struct cfg80211_wowlan *);
1: - int (*resume)(struct ieee80211_hw *);
1: - void (*set_wakeup)(struct ieee80211_hw *, bool);
1: - int (*add_interface)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - int (*change_interface)(struct ieee80211_hw *, struct ieee80211_vif *, enum nl80211_iftype, bool);
1: - void (*remove_interface)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - int (*config)(struct ieee80211_hw *, u32);
1: - void (*bss_info_changed)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_bss_conf *, u32);
1: - int (*start_ap)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - void (*stop_ap)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - u64 (*prepare_multicast)(struct ieee80211_hw *, struct netdev_hw_addr_list *);
1: - void (*configure_filter)(struct ieee80211_hw *, unsigned int, unsigned int *, u64);
1: - void (*config_iface_filter)(struct ieee80211_hw *, struct ieee80211_vif *, unsigned int, unsigned int);
1: - int (*set_tim)(struct ieee80211_hw *, struct ieee80211_sta *, bool);
1: - int (*set_key)(struct ieee80211_hw *, enum set_key_cmd, struct ieee80211_vif *, struct ieee80211_sta *, struct ieee80211_key_conf *);
1: - void (*update_tkip_key)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_key_conf *, struct ieee80211_sta *, u32, u16 *);
1: - void (*set_rekey_data)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_gtk_rekey_data *);
1: - void (*set_default_unicast_key)(struct ieee80211_hw *, struct ieee80211_vif *, int);
1: - int (*hw_scan)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_scan_request *);
1: - void (*cancel_hw_scan)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - int (*sched_scan_start)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_sched_scan_request *, struct ieee80211_scan_ies *);
1: - int (*sched_scan_stop)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - void (*sw_scan_start)(struct ieee80211_hw *, struct ieee80211_vif *, const u8 *);
1: - void (*sw_scan_complete)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - int (*get_stats)(struct ieee80211_hw *, struct ieee80211_low_level_stats *);
1: - void (*get_key_seq)(struct ieee80211_hw *, struct ieee80211_key_conf *, struct ieee80211_key_seq *);
1: - int (*set_frag_threshold)(struct ieee80211_hw *, u32);
1: - int (*set_rts_threshold)(struct ieee80211_hw *, u32);
1: - int (*sta_add)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: - int (*sta_remove)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: - void (*sta_notify)(struct ieee80211_hw *, struct ieee80211_vif *, enum sta_notify_cmd, struct ieee80211_sta *);
1: - int (*sta_set_txpwr)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: - int (*sta_state)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, enum ieee80211_sta_state, enum ieee80211_sta_state);
1: - void (*sta_pre_rcu_remove)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: - void (*sta_rc_update)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, u32);
1: - void (*sta_rate_tbl_update)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: - void (*sta_statistics)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, struct station_info *);
1: - int (*conf_tx)(struct ieee80211_hw *, struct ieee80211_vif *, u16, const struct ieee80211_tx_queue_params *);
1: - u64 (*get_tsf)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - void (*set_tsf)(struct ieee80211_hw *, struct ieee80211_vif *, u64);
1: - void (*offset_tsf)(struct ieee80211_hw *, struct ieee80211_vif *, s64);
1: - void (*reset_tsf)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - int (*tx_last_beacon)(struct ieee80211_hw *);
1: - int (*ampdu_action)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_ampdu_params *);
1: - int (*get_survey)(struct ieee80211_hw *, int, struct survey_info *);
1: - void (*rfkill_poll)(struct ieee80211_hw *);
1: - void (*set_coverage_class)(struct ieee80211_hw *, s16);
1: - void (*flush)(struct ieee80211_hw *, struct ieee80211_vif *, u32, bool);
1: - void (*channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel_switch *);
1: - int (*set_antenna)(struct ieee80211_hw *, u32, u32);
1: - int (*get_antenna)(struct ieee80211_hw *, u32 *, u32 *);
1: - int (*remain_on_channel)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel *, int, enum ieee80211_roc_type);
1: - int (*cancel_remain_on_channel)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - int (*set_ringparam)(struct ieee80211_hw *, u32, u32);
1: - void (*get_ringparam)(struct ieee80211_hw *, u32 *, u32 *, u32 *, u32 *);
1: - bool (*tx_frames_pending)(struct ieee80211_hw *);
1: - int (*set_bitrate_mask)(struct ieee80211_hw *, struct ieee80211_vif *, const struct cfg80211_bitrate_mask *);
1: - void (*event_callback)(struct ieee80211_hw *, struct ieee80211_vif *, const struct ieee80211_event *);
1: - void (*allow_buffered_frames)(struct ieee80211_hw *, struct ieee80211_sta *, u16, int, enum ieee80211_frame_release_type, bool);
1: - void (*release_buffered_frames)(struct ieee80211_hw *, struct ieee80211_sta *, u16, int, enum ieee80211_frame_release_type, bool);
1: - int (*get_et_sset_count)(struct ieee80211_hw *, struct ieee80211_vif *, int);
1: - void (*get_et_stats)(struct ieee80211_hw *, struct ieee80211_vif *, struct ethtool_stats *, u64 *);
1: - void (*get_et_strings)(struct ieee80211_hw *, struct ieee80211_vif *, u32, u8 *);
1: - void (*mgd_prepare_tx)(struct ieee80211_hw *, struct ieee80211_vif *, u16);
1: - void (*mgd_protect_tdls_discover)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - int (*add_chanctx)(struct ieee80211_hw *, struct ieee80211_chanctx_conf *);
1: - void (*remove_chanctx)(struct ieee80211_hw *, struct ieee80211_chanctx_conf *);
1: - void (*change_chanctx)(struct ieee80211_hw *, struct ieee80211_chanctx_conf *, u32);
1: - int (*assign_vif_chanctx)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_chanctx_conf *);
1: - void (*unassign_vif_chanctx)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_chanctx_conf *);
1: - int (*switch_vif_chanctx)(struct ieee80211_hw *, struct ieee80211_vif_chanctx_switch *, int, enum ieee80211_chanctx_switch_mode);
1: - void (*reconfig_complete)(struct ieee80211_hw *, enum ieee80211_reconfig_type);
1: - void (*ipv6_addr_change)(struct ieee80211_hw *, struct ieee80211_vif *, struct inet6_dev *);
1: - void (*channel_switch_beacon)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_chan_def *);
1: - int (*pre_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel_switch *);
1: - int (*post_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - void (*abort_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - void (*channel_switch_rx_beacon)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel_switch *);
1: - int (*join_ibss)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - void (*leave_ibss)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - u32 (*get_expected_throughput)(struct ieee80211_hw *, struct ieee80211_sta *);
1: - int (*get_txpower)(struct ieee80211_hw *, struct ieee80211_vif *, int *);
1: - int (*tdls_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, u8, struct cfg80211_chan_def *, struct sk_buff *, u32);
1: - void (*tdls_cancel_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *);
1: - void (*tdls_recv_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_tdls_ch_sw_params *);
1: - void (*wake_tx_queue)(struct ieee80211_hw *, struct ieee80211_txq *);
1: - void (*sync_rx_queues)(struct ieee80211_hw *);
1: - int (*start_nan)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_nan_conf *);
1: - int (*stop_nan)(struct ieee80211_hw *, struct ieee80211_vif *);
1: - int (*nan_change_conf)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_nan_conf *, u32);
1: - int (*add_nan_func)(struct ieee80211_hw *, struct ieee80211_vif *, const struct cfg80211_nan_func *);
1: - void (*del_nan_func)(struct ieee80211_hw *, struct ieee80211_vif *, u8);
1: - bool (*can_aggregate_in_amsdu)(struct ieee80211_hw *, struct sk_buff *, struct sk_buff *);
1: - int (*get_ftm_responder_stats)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_ftm_responder_stats *);
1: - int (*start_pmsr)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_pmsr_request *);
1: - void (*abort_pmsr)(struct ieee80211_hw *, struct ieee80211_vif *, struct cfg80211_pmsr_request *);
1: + void (*tx)(struct ieee80211_hw *, struct ieee80211_tx_control *,
1: + struct sk_buff *);
1: + int (*start)(struct ieee80211_hw *);
1: + void (*stop)(struct ieee80211_hw *);
1: + int (*suspend)(struct ieee80211_hw *, struct cfg80211_wowlan *);
1: + int (*resume)(struct ieee80211_hw *);
1: + void (*set_wakeup)(struct ieee80211_hw *, bool);
1: + int (*add_interface)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*change_interface)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + enum nl80211_iftype, bool);
1: + void (*remove_interface)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*config)(struct ieee80211_hw *, u32);
1: + void (*bss_info_changed)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_bss_conf *, u32);
1: + int (*start_ap)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*stop_ap)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + u64 (*prepare_multicast)(struct ieee80211_hw *, struct netdev_hw_addr_list *);
1: + void (*configure_filter)(struct ieee80211_hw *, unsigned int, unsigned int *,
1: + u64);
1: + void (*config_iface_filter)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + unsigned int, unsigned int);
1: + int (*set_tim)(struct ieee80211_hw *, struct ieee80211_sta *, bool);
1: + int (*set_key)(struct ieee80211_hw *, enum set_key_cmd,
1: + struct ieee80211_vif *, struct ieee80211_sta *,
1: + struct ieee80211_key_conf *);
1: + void (*update_tkip_key)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_key_conf *, struct ieee80211_sta *,
1: + u32, u16 *);
1: + void (*set_rekey_data)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct cfg80211_gtk_rekey_data *);
1: + void (*set_default_unicast_key)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + int);
1: + int (*hw_scan)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_scan_request *);
1: + void (*cancel_hw_scan)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*sched_scan_start)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct cfg80211_sched_scan_request *,
1: + struct ieee80211_scan_ies *);
1: + int (*sched_scan_stop)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*sw_scan_start)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + const u8 *);
1: + void (*sw_scan_complete)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*get_stats)(struct ieee80211_hw *, struct ieee80211_low_level_stats *);
1: + void (*get_key_seq)(struct ieee80211_hw *, struct ieee80211_key_conf *,
1: + struct ieee80211_key_seq *);
1: + int (*set_frag_threshold)(struct ieee80211_hw *, u32);
1: + int (*set_rts_threshold)(struct ieee80211_hw *, u32);
1: + int (*sta_add)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *);
1: + int (*sta_remove)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *);
1: + void (*sta_notify)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + enum sta_notify_cmd, struct ieee80211_sta *);
1: + int (*sta_set_txpwr)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *);
1: + int (*sta_state)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *, enum ieee80211_sta_state,
1: + enum ieee80211_sta_state);
1: + void (*sta_pre_rcu_remove)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *);
1: + void (*sta_rc_update)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *, u32);
1: + void (*sta_rate_tbl_update)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *);
1: + void (*sta_statistics)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *, struct station_info *);
1: + int (*conf_tx)(struct ieee80211_hw *, struct ieee80211_vif *, u16,
1: + const struct ieee80211_tx_queue_params *);
1: + u64 (*get_tsf)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*set_tsf)(struct ieee80211_hw *, struct ieee80211_vif *, u64);
1: + void (*offset_tsf)(struct ieee80211_hw *, struct ieee80211_vif *, s64);
1: + void (*reset_tsf)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*tx_last_beacon)(struct ieee80211_hw *);
1: + int (*ampdu_action)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_ampdu_params *);
1: + int (*get_survey)(struct ieee80211_hw *, int, struct survey_info *);
1: + void (*rfkill_poll)(struct ieee80211_hw *);
1: + void (*set_coverage_class)(struct ieee80211_hw *, s16);
1: + void (*flush)(struct ieee80211_hw *, struct ieee80211_vif *, u32, bool);
1: + void (*channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_channel_switch *);
1: + int (*set_antenna)(struct ieee80211_hw *, u32, u32);
1: + int (*get_antenna)(struct ieee80211_hw *, u32 *, u32 *);
1: + int (*remain_on_channel)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_channel *, int,
1: + enum ieee80211_roc_type);
1: + int (*cancel_remain_on_channel)(struct ieee80211_hw *,
1: + struct ieee80211_vif *);
1: + int (*set_ringparam)(struct ieee80211_hw *, u32, u32);
1: + void (*get_ringparam)(struct ieee80211_hw *, u32 *, u32 *, u32 *, u32 *);
1: + bool (*tx_frames_pending)(struct ieee80211_hw *);
1: + int (*set_bitrate_mask)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + const struct cfg80211_bitrate_mask *);
1: + void (*event_callback)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + const struct ieee80211_event *);
1: + void (*allow_buffered_frames)(struct ieee80211_hw *, struct ieee80211_sta *,
1: + u16, int, enum ieee80211_frame_release_type,
1: + bool);
1: + void (*release_buffered_frames)(struct ieee80211_hw *, struct ieee80211_sta *,
1: + u16, int, enum ieee80211_frame_release_type,
1: + bool);
1: + int (*get_et_sset_count)(struct ieee80211_hw *, struct ieee80211_vif *, int);
1: + void (*get_et_stats)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ethtool_stats *, u64 *);
1: + void (*get_et_strings)(struct ieee80211_hw *, struct ieee80211_vif *, u32,
1: + u8 *);
1: + void (*mgd_prepare_tx)(struct ieee80211_hw *, struct ieee80211_vif *, u16);
1: + void (*mgd_protect_tdls_discover)(struct ieee80211_hw *,
1: + struct ieee80211_vif *);
1: + int (*add_chanctx)(struct ieee80211_hw *, struct ieee80211_chanctx_conf *);
1: + void (*remove_chanctx)(struct ieee80211_hw *,
1: + struct ieee80211_chanctx_conf *);
1: + void (*change_chanctx)(struct ieee80211_hw *, struct ieee80211_chanctx_conf *,
1: + u32);
1: + int (*assign_vif_chanctx)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_chanctx_conf *);
1: + void (*unassign_vif_chanctx)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_chanctx_conf *);
1: + int (*switch_vif_chanctx)(struct ieee80211_hw *,
1: + struct ieee80211_vif_chanctx_switch *, int,
1: + enum ieee80211_chanctx_switch_mode);
1: + void (*reconfig_complete)(struct ieee80211_hw *,
1: + enum ieee80211_reconfig_type);
1: + void (*ipv6_addr_change)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct inet6_dev *);
1: + void (*channel_switch_beacon)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct cfg80211_chan_def *);
1: + int (*pre_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_channel_switch *);
1: + int (*post_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*abort_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*channel_switch_rx_beacon)(struct ieee80211_hw *,
1: + struct ieee80211_vif *,
1: + struct ieee80211_channel_switch *);
1: + int (*join_ibss)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + void (*leave_ibss)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + u32 (*get_expected_throughput)(struct ieee80211_hw *, struct ieee80211_sta *);
1: + int (*get_txpower)(struct ieee80211_hw *, struct ieee80211_vif *, int *);
1: + int (*tdls_channel_switch)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct ieee80211_sta *, u8,
1: + struct cfg80211_chan_def *, struct sk_buff *, u32);
1: + void (*tdls_cancel_channel_switch)(struct ieee80211_hw *,
1: + struct ieee80211_vif *,
1: + struct ieee80211_sta *);
1: + void (*tdls_recv_channel_switch)(struct ieee80211_hw *,
1: + struct ieee80211_vif *,
1: + struct ieee80211_tdls_ch_sw_params *);
1: + void (*wake_tx_queue)(struct ieee80211_hw *, struct ieee80211_txq *);
1: + void (*sync_rx_queues)(struct ieee80211_hw *);
1: + int (*start_nan)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct cfg80211_nan_conf *);
1: + int (*stop_nan)(struct ieee80211_hw *, struct ieee80211_vif *);
1: + int (*nan_change_conf)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct cfg80211_nan_conf *, u32);
1: + int (*add_nan_func)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + const struct cfg80211_nan_func *);
1: + void (*del_nan_func)(struct ieee80211_hw *, struct ieee80211_vif *, u8);
1: + bool (*can_aggregate_in_amsdu)(struct ieee80211_hw *, struct sk_buff *,
1: + struct sk_buff *);
1: + int (*get_ftm_responder_stats)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct cfg80211_ftm_responder_stats *);
1: + int (*start_pmsr)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct cfg80211_pmsr_request *);
1: + void (*abort_pmsr)(struct ieee80211_hw *, struct ieee80211_vif *,
1: + struct cfg80211_pmsr_request *);
1: };
1:
1: struct ieee80211_tpt_blink {
1: - int throughput;
1: - int blink_time;
1: + int throughput;
1: + int blink_time;
1: };
1:
1: struct ieee80211_tx_rate_control {
1: - struct ieee80211_hw *hw;
1: - struct ieee80211_supported_band *sband;
1: - struct ieee80211_bss_conf *bss_conf;
1: - struct sk_buff *skb;
1: - struct ieee80211_tx_rate reported_rate;
1: - bool rts;
1: - bool short_preamble;
1: - u32 rate_idx_mask;
1: - u8 *rate_idx_mcs_mask;
1: - bool bss;
1: + struct ieee80211_hw *hw;
1: + struct ieee80211_supported_band *sband;
1: + struct ieee80211_bss_conf *bss_conf;
1: + struct sk_buff *skb;
1: + struct ieee80211_tx_rate reported_rate;
1: + bool rts;
1: + bool short_preamble;
1: + u32 rate_idx_mask;
1: + u8 *rate_idx_mcs_mask;
1: + bool bss;
1: };
1:
1: enum rate_control_capabilities {
1: - RATE_CTRL_CAPA_VHT_EXT_NSS_BW = 1,
1: + RATE_CTRL_CAPA_VHT_EXT_NSS_BW = 1,
1: };
1:
1: struct rate_control_ops {
1: - long unsigned int capa;
1: - const char *name;
1: - void * (*alloc)(struct ieee80211_hw *, struct dentry___2 *);
1: - void (*free)(void *);
1: - void * (*alloc_sta)(void *, struct ieee80211_sta *, gfp_t);
1: - void (*rate_init)(void *, struct ieee80211_supported_band *, struct cfg80211_chan_def *, struct ieee80211_sta *, void *);
1: - void (*rate_update)(void *, struct ieee80211_supported_band *, struct cfg80211_chan_def *, struct ieee80211_sta *, void *, u32);
1: - void (*free_sta)(void *, struct ieee80211_sta *, void *);
1: - void (*tx_status_ext)(void *, struct ieee80211_supported_band *, void *, struct ieee80211_tx_status *);
1: - void (*tx_status)(void *, struct ieee80211_supported_band *, struct ieee80211_sta *, void *, struct sk_buff *);
1: - void (*get_rate)(void *, struct ieee80211_sta *, void *, struct ieee80211_tx_rate_control *);
1: - void (*add_sta_debugfs)(void *, void *, struct dentry___2 *);
1: - u32 (*get_expected_throughput)(void *);
1: + long unsigned int capa;
1: + const char *name;
1: + void *(*alloc)(struct ieee80211_hw *, struct dentry___2 *);
1: + void (*free)(void *);
1: + void *(*alloc_sta)(void *, struct ieee80211_sta *, gfp_t);
1: + void (*rate_init)(void *, struct ieee80211_supported_band *,
1: + struct cfg80211_chan_def *, struct ieee80211_sta *, void *);
1: + void (*rate_update)(void *, struct ieee80211_supported_band *,
1: + struct cfg80211_chan_def *, struct ieee80211_sta *,
1: + void *, u32);
1: + void (*free_sta)(void *, struct ieee80211_sta *, void *);
1: + void (*tx_status_ext)(void *, struct ieee80211_supported_band *, void *,
1: + struct ieee80211_tx_status *);
1: + void (*tx_status)(void *, struct ieee80211_supported_band *,
1: + struct ieee80211_sta *, void *, struct sk_buff *);
1: + void (*get_rate)(void *, struct ieee80211_sta *, void *,
1: + struct ieee80211_tx_rate_control *);
1: + void (*add_sta_debugfs)(void *, void *, struct dentry___2 *);
1: + u32 (*get_expected_throughput)(void *);
1: };
1:
1: struct fq_tin;
1:
1: struct fq_flow {
1: - struct fq_tin *tin;
1: - struct list_head flowchain;
1: - struct list_head backlogchain;
1: - struct sk_buff_head queue;
1: - u32 backlog;
1: - int deficit;
1: + struct fq_tin *tin;
1: + struct list_head flowchain;
1: + struct list_head backlogchain;
1: + struct sk_buff_head queue;
1: + u32 backlog;
1: + int deficit;
1: };
1:
1: struct fq_tin {
1: - struct list_head new_flows;
1: - struct list_head old_flows;
1: - u32 backlog_bytes;
1: - u32 backlog_packets;
1: - u32 overlimit;
1: - u32 collisions;
1: - u32 flows;
1: - u32 tx_bytes;
1: - u32 tx_packets;
1: + struct list_head new_flows;
1: + struct list_head old_flows;
1: + u32 backlog_bytes;
1: + u32 backlog_packets;
1: + u32 overlimit;
1: + u32 collisions;
1: + u32 flows;
1: + u32 tx_bytes;
1: + u32 tx_packets;
1: };
1:
1: struct fq {
1: - struct fq_flow *flows;
1: - struct list_head backlogs;
1: - spinlock_t lock;
1: - u32 flows_cnt;
1: - siphash_key_t perturbation;
1: - u32 limit;
1: - u32 memory_limit;
1: - u32 memory_usage;
1: - u32 quantum;
1: - u32 backlog;
1: - u32 overlimit;
1: - u32 overmemory;
1: - u32 collisions;
1: + struct fq_flow *flows;
1: + struct list_head backlogs;
1: + spinlock_t lock;
1: + u32 flows_cnt;
1: + siphash_key_t perturbation;
1: + u32 limit;
1: + u32 memory_limit;
1: + u32 memory_usage;
1: + u32 quantum;
1: + u32 backlog;
1: + u32 overlimit;
1: + u32 overmemory;
1: + u32 collisions;
1: };
1:
1: enum ieee80211_internal_tkip_state {
1: - TKIP_STATE_NOT_INIT = 0,
1: - TKIP_STATE_PHASE1_DONE = 1,
1: - TKIP_STATE_PHASE1_HW_UPLOADED = 2,
1: + TKIP_STATE_NOT_INIT = 0,
1: + TKIP_STATE_PHASE1_DONE = 1,
1: + TKIP_STATE_PHASE1_HW_UPLOADED = 2,
1: };
1:
1: struct tkip_ctx {
1: - u16 p1k[5];
1: - u32 p1k_iv32;
1: - enum ieee80211_internal_tkip_state state;
1: + u16 p1k[5];
1: + u32 p1k_iv32;
1: + enum ieee80211_internal_tkip_state state;
1: };
1:
1: struct tkip_ctx_rx {
1: - struct tkip_ctx ctx;
1: - u32 iv32;
1: - u16 iv16;
1: + struct tkip_ctx ctx;
1: + u32 iv32;
1: + u16 iv16;
1: };
1:
1: struct ieee80211_local;
1: @@ -118383,54 +119370,54 @@ struct ieee80211_sub_if_data;
1: struct sta_info;
1:
1: struct ieee80211_key {
1: - struct ieee80211_local *local;
1: - struct ieee80211_sub_if_data *sdata;
1: - struct sta_info *sta;
1: - struct list_head list;
1: - unsigned int flags;
1: - union {
1: - struct {
1: - spinlock_t txlock;
1: - struct tkip_ctx tx;
1: - struct tkip_ctx_rx rx[16];
1: - u32 mic_failures;
1: - } tkip;
1: - struct {
1: - u8 rx_pn[102];
1: - struct crypto_aead *tfm;
1: - u32 replays;
1: - } ccmp;
1: - struct {
1: - u8 rx_pn[6];
1: - struct crypto_shash *tfm;
1: - u32 replays;
1: - u32 icverrors;
1: - } aes_cmac;
1: - struct {
1: - u8 rx_pn[6];
1: - struct crypto_aead *tfm;
1: - u32 replays;
1: - u32 icverrors;
1: - } aes_gmac;
1: - struct {
1: - u8 rx_pn[102];
1: - struct crypto_aead *tfm;
1: - u32 replays;
1: - } gcmp;
1: - struct {
1: - u8 rx_pn[272];
1: - } gen;
1: - } u;
1: - struct ieee80211_key_conf conf;
1: + struct ieee80211_local *local;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct sta_info *sta;
1: + struct list_head list;
1: + unsigned int flags;
1: + union {
1: + struct {
1: + spinlock_t txlock;
1: + struct tkip_ctx tx;
1: + struct tkip_ctx_rx rx[16];
1: + u32 mic_failures;
1: + } tkip;
1: + struct {
1: + u8 rx_pn[102];
1: + struct crypto_aead *tfm;
1: + u32 replays;
1: + } ccmp;
1: + struct {
1: + u8 rx_pn[6];
1: + struct crypto_shash *tfm;
1: + u32 replays;
1: + u32 icverrors;
1: + } aes_cmac;
1: + struct {
1: + u8 rx_pn[6];
1: + struct crypto_aead *tfm;
1: + u32 replays;
1: + u32 icverrors;
1: + } aes_gmac;
1: + struct {
1: + u8 rx_pn[102];
1: + struct crypto_aead *tfm;
1: + u32 replays;
1: + } gcmp;
1: + struct {
1: + u8 rx_pn[272];
1: + } gen;
1: + } u;
1: + struct ieee80211_key_conf conf;
1: };
1:
1: enum mac80211_scan_state {
1: - SCAN_DECISION = 0,
1: - SCAN_SET_CHANNEL = 1,
1: - SCAN_SEND_PROBE = 2,
1: - SCAN_SUSPEND = 3,
1: - SCAN_RESUME = 4,
1: - SCAN_ABORT = 5,
1: + SCAN_DECISION = 0,
1: + SCAN_SET_CHANNEL = 1,
1: + SCAN_SEND_PROBE = 2,
1: + SCAN_SUSPEND = 3,
1: + SCAN_RESUME = 4,
1: + SCAN_ABORT = 5,
1: };
1:
1: struct rate_control_ref;
1: @@ -118438,155 +119425,155 @@ struct rate_control_ref;
1: struct tpt_led_trigger;
1:
1: struct ieee80211_local {
1: - struct ieee80211_hw hw;
1: - struct fq fq;
1: - struct codel_vars *cvars;
1: - struct codel_params cparams;
1: - spinlock_t active_txq_lock[4];
1: - struct list_head active_txqs[4];
1: - u16 schedule_round[4];
1: - u16 airtime_flags;
1: - u32 aql_txq_limit_low[4];
1: - u32 aql_txq_limit_high[4];
1: - u32 aql_threshold;
1: - atomic_t aql_total_pending_airtime;
1: - const struct ieee80211_ops *ops;
1: - struct workqueue_struct *workqueue;
1: - long unsigned int queue_stop_reasons[16];
1: - int q_stop_reasons[160];
1: - spinlock_t queue_stop_reason_lock;
1: - int open_count;
1: - int monitors;
1: - int cooked_mntrs;
1: - int fif_fcsfail;
1: - int fif_plcpfail;
1: - int fif_control;
1: - int fif_other_bss;
1: - int fif_pspoll;
1: - int fif_probe_req;
1: - int probe_req_reg;
1: - unsigned int filter_flags;
1: - bool wiphy_ciphers_allocated;
1: - bool use_chanctx;
1: - spinlock_t filter_lock;
1: - struct work_struct reconfig_filter;
1: - struct netdev_hw_addr_list mc_list;
1: - bool tim_in_locked_section;
1: - bool suspended;
1: - bool resuming;
1: - bool quiescing;
1: - bool started;
1: - bool in_reconfig;
1: - bool wowlan;
1: - struct work_struct radar_detected_work;
1: - u8 rx_chains;
1: - u8 sband_allocated;
1: - int tx_headroom;
1: - struct tasklet_struct tasklet;
1: - struct sk_buff_head skb_queue;
1: - struct sk_buff_head skb_queue_unreliable;
1: - spinlock_t rx_path_lock;
1: - struct mutex sta_mtx;
1: - spinlock_t tim_lock;
1: - long unsigned int num_sta;
1: - struct list_head sta_list;
1: - struct rhltable sta_hash;
1: - struct timer_list sta_cleanup;
1: - int sta_generation;
1: - struct sk_buff_head pending[16];
1: - struct tasklet_struct tx_pending_tasklet;
1: - struct tasklet_struct wake_txqs_tasklet;
1: - atomic_t agg_queue_stop[16];
1: - atomic_t iff_allmultis;
1: - struct rate_control_ref *rate_ctrl;
1: - struct arc4_ctx wep_tx_ctx;
1: - struct arc4_ctx wep_rx_ctx;
1: - u32 wep_iv;
1: - struct list_head interfaces;
1: - struct list_head mon_list;
1: - struct mutex iflist_mtx;
1: - struct mutex key_mtx;
1: - struct mutex mtx;
1: - long unsigned int scanning;
1: - struct cfg80211_ssid scan_ssid;
1: - struct cfg80211_scan_request *int_scan_req;
1: - struct cfg80211_scan_request *scan_req;
1: - struct ieee80211_scan_request *hw_scan_req;
1: - struct cfg80211_chan_def scan_chandef;
1: - enum nl80211_band hw_scan_band;
1: - int scan_channel_idx;
1: - int scan_ies_len;
1: - int hw_scan_ies_bufsize;
1: - struct cfg80211_scan_info scan_info;
1: - struct work_struct sched_scan_stopped_work;
1: - struct ieee80211_sub_if_data *sched_scan_sdata;
1: - struct cfg80211_sched_scan_request *sched_scan_req;
1: - u8 scan_addr[6];
1: - long unsigned int leave_oper_channel_time;
1: - enum mac80211_scan_state next_scan_state;
1: - struct delayed_work scan_work;
1: - struct ieee80211_sub_if_data *scan_sdata;
1: - struct cfg80211_chan_def _oper_chandef;
1: - struct ieee80211_channel *tmp_channel;
1: - struct list_head chanctx_list;
1: - struct mutex chanctx_mtx;
1: - struct led_trigger tx_led;
1: - struct led_trigger rx_led;
1: - struct led_trigger assoc_led;
1: - struct led_trigger radio_led;
1: - struct led_trigger tpt_led;
1: - atomic_t tx_led_active;
1: - atomic_t rx_led_active;
1: - atomic_t assoc_led_active;
1: - atomic_t radio_led_active;
1: - atomic_t tpt_led_active;
1: - struct tpt_led_trigger *tpt_led_trigger;
1: - int total_ps_buffered;
1: - bool pspolling;
1: - bool offchannel_ps_enabled;
1: - struct ieee80211_sub_if_data *ps_sdata;
1: - struct work_struct dynamic_ps_enable_work;
1: - struct work_struct dynamic_ps_disable_work;
1: - struct timer_list dynamic_ps_timer;
1: - struct notifier_block ifa_notifier;
1: - struct notifier_block ifa6_notifier;
1: - int dynamic_ps_forced_timeout;
1: - int user_power_level;
1: - enum ieee80211_smps_mode smps_mode;
1: - struct work_struct restart_work;
1: - struct delayed_work roc_work;
1: - struct list_head roc_list;
1: - struct work_struct hw_roc_start;
1: - struct work_struct hw_roc_done;
1: - long unsigned int hw_roc_start_time;
1: - u64 roc_cookie_counter;
1: - struct idr ack_status_frames;
1: - spinlock_t ack_status_lock;
1: - struct ieee80211_sub_if_data *p2p_sdata;
1: - struct ieee80211_sub_if_data *monitor_sdata;
1: - struct cfg80211_chan_def monitor_chandef;
1: - u8 ext_capa[8];
1: - struct work_struct tdls_chsw_work;
1: - struct sk_buff_head skb_queue_tdls_chsw;
1: + struct ieee80211_hw hw;
1: + struct fq fq;
1: + struct codel_vars *cvars;
1: + struct codel_params cparams;
1: + spinlock_t active_txq_lock[4];
1: + struct list_head active_txqs[4];
1: + u16 schedule_round[4];
1: + u16 airtime_flags;
1: + u32 aql_txq_limit_low[4];
1: + u32 aql_txq_limit_high[4];
1: + u32 aql_threshold;
1: + atomic_t aql_total_pending_airtime;
1: + const struct ieee80211_ops *ops;
1: + struct workqueue_struct *workqueue;
1: + long unsigned int queue_stop_reasons[16];
1: + int q_stop_reasons[160];
1: + spinlock_t queue_stop_reason_lock;
1: + int open_count;
1: + int monitors;
1: + int cooked_mntrs;
1: + int fif_fcsfail;
1: + int fif_plcpfail;
1: + int fif_control;
1: + int fif_other_bss;
1: + int fif_pspoll;
1: + int fif_probe_req;
1: + int probe_req_reg;
1: + unsigned int filter_flags;
1: + bool wiphy_ciphers_allocated;
1: + bool use_chanctx;
1: + spinlock_t filter_lock;
1: + struct work_struct reconfig_filter;
1: + struct netdev_hw_addr_list mc_list;
1: + bool tim_in_locked_section;
1: + bool suspended;
1: + bool resuming;
1: + bool quiescing;
1: + bool started;
1: + bool in_reconfig;
1: + bool wowlan;
1: + struct work_struct radar_detected_work;
1: + u8 rx_chains;
1: + u8 sband_allocated;
1: + int tx_headroom;
1: + struct tasklet_struct tasklet;
1: + struct sk_buff_head skb_queue;
1: + struct sk_buff_head skb_queue_unreliable;
1: + spinlock_t rx_path_lock;
1: + struct mutex sta_mtx;
1: + spinlock_t tim_lock;
1: + long unsigned int num_sta;
1: + struct list_head sta_list;
1: + struct rhltable sta_hash;
1: + struct timer_list sta_cleanup;
1: + int sta_generation;
1: + struct sk_buff_head pending[16];
1: + struct tasklet_struct tx_pending_tasklet;
1: + struct tasklet_struct wake_txqs_tasklet;
1: + atomic_t agg_queue_stop[16];
1: + atomic_t iff_allmultis;
1: + struct rate_control_ref *rate_ctrl;
1: + struct arc4_ctx wep_tx_ctx;
1: + struct arc4_ctx wep_rx_ctx;
1: + u32 wep_iv;
1: + struct list_head interfaces;
1: + struct list_head mon_list;
1: + struct mutex iflist_mtx;
1: + struct mutex key_mtx;
1: + struct mutex mtx;
1: + long unsigned int scanning;
1: + struct cfg80211_ssid scan_ssid;
1: + struct cfg80211_scan_request *int_scan_req;
1: + struct cfg80211_scan_request *scan_req;
1: + struct ieee80211_scan_request *hw_scan_req;
1: + struct cfg80211_chan_def scan_chandef;
1: + enum nl80211_band hw_scan_band;
1: + int scan_channel_idx;
1: + int scan_ies_len;
1: + int hw_scan_ies_bufsize;
1: + struct cfg80211_scan_info scan_info;
1: + struct work_struct sched_scan_stopped_work;
1: + struct ieee80211_sub_if_data *sched_scan_sdata;
1: + struct cfg80211_sched_scan_request *sched_scan_req;
1: + u8 scan_addr[6];
1: + long unsigned int leave_oper_channel_time;
1: + enum mac80211_scan_state next_scan_state;
1: + struct delayed_work scan_work;
1: + struct ieee80211_sub_if_data *scan_sdata;
1: + struct cfg80211_chan_def _oper_chandef;
1: + struct ieee80211_channel *tmp_channel;
1: + struct list_head chanctx_list;
1: + struct mutex chanctx_mtx;
1: + struct led_trigger tx_led;
1: + struct led_trigger rx_led;
1: + struct led_trigger assoc_led;
1: + struct led_trigger radio_led;
1: + struct led_trigger tpt_led;
1: + atomic_t tx_led_active;
1: + atomic_t rx_led_active;
1: + atomic_t assoc_led_active;
1: + atomic_t radio_led_active;
1: + atomic_t tpt_led_active;
1: + struct tpt_led_trigger *tpt_led_trigger;
1: + int total_ps_buffered;
1: + bool pspolling;
1: + bool offchannel_ps_enabled;
1: + struct ieee80211_sub_if_data *ps_sdata;
1: + struct work_struct dynamic_ps_enable_work;
1: + struct work_struct dynamic_ps_disable_work;
1: + struct timer_list dynamic_ps_timer;
1: + struct notifier_block ifa_notifier;
1: + struct notifier_block ifa6_notifier;
1: + int dynamic_ps_forced_timeout;
1: + int user_power_level;
1: + enum ieee80211_smps_mode smps_mode;
1: + struct work_struct restart_work;
1: + struct delayed_work roc_work;
1: + struct list_head roc_list;
1: + struct work_struct hw_roc_start;
1: + struct work_struct hw_roc_done;
1: + long unsigned int hw_roc_start_time;
1: + u64 roc_cookie_counter;
1: + struct idr ack_status_frames;
1: + spinlock_t ack_status_lock;
1: + struct ieee80211_sub_if_data *p2p_sdata;
1: + struct ieee80211_sub_if_data *monitor_sdata;
1: + struct cfg80211_chan_def monitor_chandef;
1: + u8 ext_capa[8];
1: + struct work_struct tdls_chsw_work;
1: + struct sk_buff_head skb_queue_tdls_chsw;
1: };
1:
1: struct ieee80211_fragment_entry {
1: - struct sk_buff_head skb_list;
1: - long unsigned int first_frag_time;
1: - u16 seq;
1: - u16 extra_len;
1: - u16 last_frag;
1: - u8 rx_queue;
1: - bool check_sequential_pn;
1: - u8 last_pn[6];
1: + struct sk_buff_head skb_list;
1: + long unsigned int first_frag_time;
1: + u16 seq;
1: + u16 extra_len;
1: + u16 last_frag;
1: + u8 rx_queue;
1: + bool check_sequential_pn;
1: + u8 last_pn[6];
1: };
1:
1: struct ps_data {
1: - u8 tim[256];
1: - struct sk_buff_head bc_buf;
1: - atomic_t num_sta_ps;
1: - int dtim_count;
1: - bool dtim_bc_mc;
1: + u8 tim[256];
1: + struct sk_buff_head bc_buf;
1: + atomic_t num_sta_ps;
1: + int dtim_count;
1: + bool dtim_bc_mc;
1: };
1:
1: struct beacon_data;
1: @@ -118594,45 +119581,45 @@ struct beacon_data;
1: struct probe_resp;
1:
1: struct ieee80211_if_ap {
1: - struct beacon_data *beacon;
1: - struct probe_resp *probe_resp;
1: - struct cfg80211_beacon_data *next_beacon;
1: - struct list_head vlans;
1: - struct ps_data ps;
1: - atomic_t num_mcast_sta;
1: - enum ieee80211_smps_mode req_smps;
1: - enum ieee80211_smps_mode driver_smps_mode;
1: - struct work_struct request_smps_work;
1: - bool multicast_to_unicast;
1: + struct beacon_data *beacon;
1: + struct probe_resp *probe_resp;
1: + struct cfg80211_beacon_data *next_beacon;
1: + struct list_head vlans;
1: + struct ps_data ps;
1: + atomic_t num_mcast_sta;
1: + enum ieee80211_smps_mode req_smps;
1: + enum ieee80211_smps_mode driver_smps_mode;
1: + struct work_struct request_smps_work;
1: + bool multicast_to_unicast;
1: };
1:
1: struct ieee80211_if_wds {
1: - struct sta_info *sta;
1: - u8 remote_addr[6];
1: + struct sta_info *sta;
1: + u8 remote_addr[6];
1: };
1:
1: struct ieee80211_if_vlan {
1: - struct list_head list;
1: - struct sta_info *sta;
1: - atomic_t num_mcast_sta;
1: + struct list_head list;
1: + struct sta_info *sta;
1: + atomic_t num_mcast_sta;
1: };
1:
1: struct ewma_beacon_signal {
1: - long unsigned int internal;
1: + long unsigned int internal;
1: };
1:
1: struct ieee80211_sta_tx_tspec {
1: - long unsigned int time_slice_start;
1: - u32 admitted_time;
1: - u8 tsid;
1: - s8 up;
1: - u32 consumed_tx_time;
1: - enum {
1: - TX_TSPEC_ACTION_NONE = 0,
1: - TX_TSPEC_ACTION_DOWNGRADE = 1,
1: - TX_TSPEC_ACTION_STOP_DOWNGRADE = 2,
1: - } action;
1: - bool downgraded;
1: + long unsigned int time_slice_start;
1: + u32 admitted_time;
1: + u8 tsid;
1: + s8 up;
1: + u32 consumed_tx_time;
1: + enum {
1: + TX_TSPEC_ACTION_NONE = 0,
1: + TX_TSPEC_ACTION_DOWNGRADE = 1,
1: + TX_TSPEC_ACTION_STOP_DOWNGRADE = 2,
1: + } action;
1: + bool downgraded;
1: };
1:
1: struct ieee80211_mgd_auth_data;
1: @@ -118640,124 +119627,124 @@ struct ieee80211_mgd_auth_data;
1: struct ieee80211_mgd_assoc_data;
1:
1: struct ieee80211_if_managed {
1: - struct timer_list timer;
1: - struct timer_list conn_mon_timer;
1: - struct timer_list bcn_mon_timer;
1: - struct timer_list chswitch_timer;
1: - struct work_struct monitor_work;
1: - struct work_struct chswitch_work;
1: - struct work_struct beacon_connection_loss_work;
1: - struct work_struct csa_connection_drop_work;
1: - long unsigned int beacon_timeout;
1: - long unsigned int probe_timeout;
1: - int probe_send_count;
1: - bool nullfunc_failed;
1: - bool connection_loss;
1: - short: 16;
1: - struct cfg80211_bss *associated;
1: - struct ieee80211_mgd_auth_data *auth_data;
1: - struct ieee80211_mgd_assoc_data *assoc_data;
1: - u8 bssid[6];
1: - u16 aid;
1: - bool powersave;
1: - bool broken_ap;
1: - bool have_beacon;
1: - u8 dtim_period;
1: - enum ieee80211_smps_mode req_smps;
1: - enum ieee80211_smps_mode driver_smps_mode;
1: - int: 32;
1: - struct work_struct request_smps_work;
1: - unsigned int flags;
1: - bool csa_waiting_bcn;
1: - bool csa_ignored_same_chan;
1: - bool beacon_crc_valid;
1: - char: 8;
1: - u32 beacon_crc;
1: - bool status_acked;
1: - bool status_received;
1: - __le16 status_fc;
1: - enum {
1: - IEEE80211_MFP_DISABLED = 0,
1: - IEEE80211_MFP_OPTIONAL = 1,
1: - IEEE80211_MFP_REQUIRED = 2,
1: - } mfp;
1: - unsigned int uapsd_queues;
1: - unsigned int uapsd_max_sp_len;
1: - int wmm_last_param_set;
1: - int mu_edca_last_param_set;
1: - u8 use_4addr;
1: - char: 8;
1: - s16 p2p_noa_index;
1: - struct ewma_beacon_signal ave_beacon_signal;
1: - unsigned int count_beacon_signal;
1: - unsigned int beacon_loss_count;
1: - int last_cqm_event_signal;
1: - int rssi_min_thold;
1: - int rssi_max_thold;
1: - int last_ave_beacon_signal;
1: - struct ieee80211_ht_cap ht_capa;
1: - struct ieee80211_ht_cap ht_capa_mask;
1: - struct ieee80211_vht_cap vht_capa;
1: - struct ieee80211_vht_cap vht_capa_mask;
1: - u8 tdls_peer[6];
1: - long: 48;
1: - struct delayed_work tdls_peer_del_work;
1: - struct sk_buff *orig_teardown_skb;
1: - struct sk_buff *teardown_skb;
1: - spinlock_t teardown_lock;
1: - bool tdls_chan_switch_prohibited;
1: - bool tdls_wider_bw_prohibited;
1: - short: 16;
1: - struct ieee80211_sta_tx_tspec tx_tspec[4];
1: - struct delayed_work tx_tspec_wk;
1: - u8 *assoc_req_ies;
1: - size_t assoc_req_ies_len;
1: + struct timer_list timer;
1: + struct timer_list conn_mon_timer;
1: + struct timer_list bcn_mon_timer;
1: + struct timer_list chswitch_timer;
1: + struct work_struct monitor_work;
1: + struct work_struct chswitch_work;
1: + struct work_struct beacon_connection_loss_work;
1: + struct work_struct csa_connection_drop_work;
1: + long unsigned int beacon_timeout;
1: + long unsigned int probe_timeout;
1: + int probe_send_count;
1: + bool nullfunc_failed;
1: + bool connection_loss;
1: + short : 16;
1: + struct cfg80211_bss *associated;
1: + struct ieee80211_mgd_auth_data *auth_data;
1: + struct ieee80211_mgd_assoc_data *assoc_data;
1: + u8 bssid[6];
1: + u16 aid;
1: + bool powersave;
1: + bool broken_ap;
1: + bool have_beacon;
1: + u8 dtim_period;
1: + enum ieee80211_smps_mode req_smps;
1: + enum ieee80211_smps_mode driver_smps_mode;
1: + int : 32;
1: + struct work_struct request_smps_work;
1: + unsigned int flags;
1: + bool csa_waiting_bcn;
1: + bool csa_ignored_same_chan;
1: + bool beacon_crc_valid;
1: + char : 8;
1: + u32 beacon_crc;
1: + bool status_acked;
1: + bool status_received;
1: + __le16 status_fc;
1: + enum {
1: + IEEE80211_MFP_DISABLED = 0,
1: + IEEE80211_MFP_OPTIONAL = 1,
1: + IEEE80211_MFP_REQUIRED = 2,
1: + } mfp;
1: + unsigned int uapsd_queues;
1: + unsigned int uapsd_max_sp_len;
1: + int wmm_last_param_set;
1: + int mu_edca_last_param_set;
1: + u8 use_4addr;
1: + char : 8;
1: + s16 p2p_noa_index;
1: + struct ewma_beacon_signal ave_beacon_signal;
1: + unsigned int count_beacon_signal;
1: + unsigned int beacon_loss_count;
1: + int last_cqm_event_signal;
1: + int rssi_min_thold;
1: + int rssi_max_thold;
1: + int last_ave_beacon_signal;
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + struct ieee80211_vht_cap vht_capa;
1: + struct ieee80211_vht_cap vht_capa_mask;
1: + u8 tdls_peer[6];
1: + long : 48;
1: + struct delayed_work tdls_peer_del_work;
1: + struct sk_buff *orig_teardown_skb;
1: + struct sk_buff *teardown_skb;
1: + spinlock_t teardown_lock;
1: + bool tdls_chan_switch_prohibited;
1: + bool tdls_wider_bw_prohibited;
1: + short : 16;
1: + struct ieee80211_sta_tx_tspec tx_tspec[4];
1: + struct delayed_work tx_tspec_wk;
1: + u8 *assoc_req_ies;
1: + size_t assoc_req_ies_len;
1: } __attribute__((packed));
1:
1: struct ieee80211_if_ibss {
1: - struct timer_list timer;
1: - struct work_struct csa_connection_drop_work;
1: - long unsigned int last_scan_completed;
1: - u32 basic_rates;
1: - bool fixed_bssid;
1: - bool fixed_channel;
1: - bool privacy;
1: - bool control_port;
1: - bool userspace_handles_dfs;
1: - char: 8;
1: - u8 bssid[6];
1: - u8 ssid[32];
1: - u8 ssid_len;
1: - u8 ie_len;
1: - long: 48;
1: - u8 *ie;
1: - struct cfg80211_chan_def chandef;
1: - long unsigned int ibss_join_req;
1: - struct beacon_data *presp;
1: - struct ieee80211_ht_cap ht_capa;
1: - struct ieee80211_ht_cap ht_capa_mask;
1: - spinlock_t incomplete_lock;
1: - struct list_head incomplete_stations;
1: - enum {
1: - IEEE80211_IBSS_MLME_SEARCH = 0,
1: - IEEE80211_IBSS_MLME_JOINED = 1,
1: - } state;
1: - int: 32;
1: + struct timer_list timer;
1: + struct work_struct csa_connection_drop_work;
1: + long unsigned int last_scan_completed;
1: + u32 basic_rates;
1: + bool fixed_bssid;
1: + bool fixed_channel;
1: + bool privacy;
1: + bool control_port;
1: + bool userspace_handles_dfs;
1: + char : 8;
1: + u8 bssid[6];
1: + u8 ssid[32];
1: + u8 ssid_len;
1: + u8 ie_len;
1: + long : 48;
1: + u8 *ie;
1: + struct cfg80211_chan_def chandef;
1: + long unsigned int ibss_join_req;
1: + struct beacon_data *presp;
1: + struct ieee80211_ht_cap ht_capa;
1: + struct ieee80211_ht_cap ht_capa_mask;
1: + spinlock_t incomplete_lock;
1: + struct list_head incomplete_stations;
1: + enum {
1: + IEEE80211_IBSS_MLME_SEARCH = 0,
1: + IEEE80211_IBSS_MLME_JOINED = 1,
1: + } state;
1: + int : 32;
1: } __attribute__((packed));
1:
1: struct mesh_preq_queue {
1: - struct list_head list;
1: - u8 dst[6];
1: - u8 flags;
1: + struct list_head list;
1: + u8 dst[6];
1: + u8 flags;
1: };
1:
1: struct mesh_stats {
1: - __u32 fwded_mcast;
1: - __u32 fwded_unicast;
1: - __u32 fwded_frames;
1: - __u32 dropped_frames_ttl;
1: - __u32 dropped_frames_no_route;
1: - __u32 dropped_frames_congestion;
1: + __u32 fwded_mcast;
1: + __u32 fwded_unicast;
1: + __u32 fwded_frames;
1: + __u32 dropped_frames_ttl;
1: + __u32 dropped_frames_no_route;
1: + __u32 dropped_frames_congestion;
1: };
1:
1: struct mesh_rmc;
1: @@ -118769,84 +119756,84 @@ struct mesh_csa_settings;
1: struct mesh_table;
1:
1: struct ieee80211_if_mesh {
1: - struct timer_list housekeeping_timer;
1: - struct timer_list mesh_path_timer;
1: - struct timer_list mesh_path_root_timer;
1: - long unsigned int wrkq_flags;
1: - long unsigned int mbss_changed;
1: - bool userspace_handles_dfs;
1: - u8 mesh_id[32];
1: - size_t mesh_id_len;
1: - u8 mesh_pp_id;
1: - u8 mesh_pm_id;
1: - u8 mesh_cc_id;
1: - u8 mesh_sp_id;
1: - u8 mesh_auth_id;
1: - u32 sn;
1: - u32 preq_id;
1: - atomic_t mpaths;
1: - long unsigned int last_sn_update;
1: - long unsigned int next_perr;
1: - long unsigned int last_preq;
1: - struct mesh_rmc *rmc;
1: - spinlock_t mesh_preq_queue_lock;
1: - struct mesh_preq_queue preq_queue;
1: - int preq_queue_len;
1: - struct mesh_stats mshstats;
1: - struct mesh_config mshcfg;
1: - atomic_t estab_plinks;
1: - u32 mesh_seqnum;
1: - bool accepting_plinks;
1: - int num_gates;
1: - struct beacon_data *beacon;
1: - const u8 *ie;
1: - u8 ie_len;
1: - enum {
1: - IEEE80211_MESH_SEC_NONE = 0,
1: - IEEE80211_MESH_SEC_AUTHED = 1,
1: - IEEE80211_MESH_SEC_SECURED = 2,
1: - } security;
1: - bool user_mpm;
1: - const struct ieee80211_mesh_sync_ops *sync_ops;
1: - s64 sync_offset_clockdrift_max;
1: - spinlock_t sync_offset_lock;
1: - enum nl80211_mesh_power_mode nonpeer_pm;
1: - int ps_peers_light_sleep;
1: - int ps_peers_deep_sleep;
1: - struct ps_data ps;
1: - struct mesh_csa_settings *csa;
1: - enum {
1: - IEEE80211_MESH_CSA_ROLE_NONE = 0,
1: - IEEE80211_MESH_CSA_ROLE_INIT = 1,
1: - IEEE80211_MESH_CSA_ROLE_REPEATER = 2,
1: - } csa_role;
1: - u8 chsw_ttl;
1: - u16 pre_value;
1: - int meshconf_offset;
1: - struct mesh_table *mesh_paths;
1: - struct mesh_table *mpp_paths;
1: - int mesh_paths_generation;
1: - int mpp_paths_generation;
1: + struct timer_list housekeeping_timer;
1: + struct timer_list mesh_path_timer;
1: + struct timer_list mesh_path_root_timer;
1: + long unsigned int wrkq_flags;
1: + long unsigned int mbss_changed;
1: + bool userspace_handles_dfs;
1: + u8 mesh_id[32];
1: + size_t mesh_id_len;
1: + u8 mesh_pp_id;
1: + u8 mesh_pm_id;
1: + u8 mesh_cc_id;
1: + u8 mesh_sp_id;
1: + u8 mesh_auth_id;
1: + u32 sn;
1: + u32 preq_id;
1: + atomic_t mpaths;
1: + long unsigned int last_sn_update;
1: + long unsigned int next_perr;
1: + long unsigned int last_preq;
1: + struct mesh_rmc *rmc;
1: + spinlock_t mesh_preq_queue_lock;
1: + struct mesh_preq_queue preq_queue;
1: + int preq_queue_len;
1: + struct mesh_stats mshstats;
1: + struct mesh_config mshcfg;
1: + atomic_t estab_plinks;
1: + u32 mesh_seqnum;
1: + bool accepting_plinks;
1: + int num_gates;
1: + struct beacon_data *beacon;
1: + const u8 *ie;
1: + u8 ie_len;
1: + enum {
1: + IEEE80211_MESH_SEC_NONE = 0,
1: + IEEE80211_MESH_SEC_AUTHED = 1,
1: + IEEE80211_MESH_SEC_SECURED = 2,
1: + } security;
1: + bool user_mpm;
1: + const struct ieee80211_mesh_sync_ops *sync_ops;
1: + s64 sync_offset_clockdrift_max;
1: + spinlock_t sync_offset_lock;
1: + enum nl80211_mesh_power_mode nonpeer_pm;
1: + int ps_peers_light_sleep;
1: + int ps_peers_deep_sleep;
1: + struct ps_data ps;
1: + struct mesh_csa_settings *csa;
1: + enum {
1: + IEEE80211_MESH_CSA_ROLE_NONE = 0,
1: + IEEE80211_MESH_CSA_ROLE_INIT = 1,
1: + IEEE80211_MESH_CSA_ROLE_REPEATER = 2,
1: + } csa_role;
1: + u8 chsw_ttl;
1: + u16 pre_value;
1: + int meshconf_offset;
1: + struct mesh_table *mesh_paths;
1: + struct mesh_table *mpp_paths;
1: + int mesh_paths_generation;
1: + int mpp_paths_generation;
1: };
1:
1: struct ieee80211_if_ocb {
1: - struct timer_list housekeeping_timer;
1: - long unsigned int wrkq_flags;
1: - spinlock_t incomplete_lock;
1: - struct list_head incomplete_stations;
1: - bool joined;
1: + struct timer_list housekeeping_timer;
1: + long unsigned int wrkq_flags;
1: + spinlock_t incomplete_lock;
1: + struct list_head incomplete_stations;
1: + bool joined;
1: };
1:
1: struct ieee80211_if_mntr {
1: - u32 flags;
1: - u8 mu_follow_addr[6];
1: - struct list_head list;
1: + u32 flags;
1: + u8 mu_follow_addr[6];
1: + struct list_head list;
1: };
1:
1: struct ieee80211_if_nan {
1: - struct cfg80211_nan_conf conf;
1: - spinlock_t func_lock;
1: - struct idr function_inst_ids;
1: + struct cfg80211_nan_conf conf;
1: + spinlock_t func_lock;
1: + struct idr function_inst_ids;
1: };
1:
1: struct mac80211_qos_map;
1: @@ -118854,101 +119841,101 @@ struct mac80211_qos_map;
1: struct ieee80211_chanctx;
1:
1: struct ieee80211_sub_if_data {
1: - struct list_head list;
1: - struct wireless_dev wdev;
1: - struct list_head key_list;
1: - int crypto_tx_tailroom_needed_cnt;
1: - int crypto_tx_tailroom_pending_dec;
1: - struct delayed_work dec_tailroom_needed_wk;
1: - struct net_device *dev;
1: - struct ieee80211_local *local;
1: - unsigned int flags;
1: - long unsigned int state;
1: - char name[16];
1: - struct ieee80211_fragment_entry fragments[4];
1: - unsigned int fragment_next;
1: - u16 noack_map;
1: - u8 wmm_acm;
1: - struct ieee80211_key *keys[6];
1: - struct ieee80211_key *default_unicast_key;
1: - struct ieee80211_key *default_multicast_key;
1: - struct ieee80211_key *default_mgmt_key;
1: - u16 sequence_number;
1: - __be16 control_port_protocol;
1: - bool control_port_no_encrypt;
1: - bool control_port_over_nl80211;
1: - int encrypt_headroom;
1: - atomic_t num_tx_queued;
1: - struct ieee80211_tx_queue_params tx_conf[4];
1: - struct mac80211_qos_map *qos_map;
1: - struct work_struct csa_finalize_work;
1: - bool csa_block_tx;
1: - struct cfg80211_chan_def csa_chandef;
1: - struct list_head assigned_chanctx_list;
1: - struct list_head reserved_chanctx_list;
1: - struct ieee80211_chanctx *reserved_chanctx;
1: - struct cfg80211_chan_def reserved_chandef;
1: - bool reserved_radar_required;
1: - bool reserved_ready;
1: - struct work_struct recalc_smps;
1: - struct work_struct work;
1: - struct sk_buff_head skb_queue;
1: - u8 needed_rx_chains;
1: - enum ieee80211_smps_mode smps_mode;
1: - int user_power_level;
1: - int ap_power_level;
1: - bool radar_required;
1: - struct delayed_work dfs_cac_timer_work;
1: - struct ieee80211_if_ap *bss;
1: - u32 rc_rateidx_mask[4];
1: - bool rc_has_mcs_mask[4];
1: - u8 rc_rateidx_mcs_mask[40];
1: - bool rc_has_vht_mcs_mask[4];
1: - u16 rc_rateidx_vht_mcs_mask[32];
1: - union {
1: - struct ieee80211_if_ap ap;
1: - struct ieee80211_if_wds wds;
1: - struct ieee80211_if_vlan vlan;
1: - struct ieee80211_if_managed mgd;
1: - struct ieee80211_if_ibss ibss;
1: - struct ieee80211_if_mesh mesh;
1: - struct ieee80211_if_ocb ocb;
1: - struct ieee80211_if_mntr mntr;
1: - struct ieee80211_if_nan nan;
1: - } u;
1: - struct ieee80211_vif vif;
1: + struct list_head list;
1: + struct wireless_dev wdev;
1: + struct list_head key_list;
1: + int crypto_tx_tailroom_needed_cnt;
1: + int crypto_tx_tailroom_pending_dec;
1: + struct delayed_work dec_tailroom_needed_wk;
1: + struct net_device *dev;
1: + struct ieee80211_local *local;
1: + unsigned int flags;
1: + long unsigned int state;
1: + char name[16];
1: + struct ieee80211_fragment_entry fragments[4];
1: + unsigned int fragment_next;
1: + u16 noack_map;
1: + u8 wmm_acm;
1: + struct ieee80211_key *keys[6];
1: + struct ieee80211_key *default_unicast_key;
1: + struct ieee80211_key *default_multicast_key;
1: + struct ieee80211_key *default_mgmt_key;
1: + u16 sequence_number;
1: + __be16 control_port_protocol;
1: + bool control_port_no_encrypt;
1: + bool control_port_over_nl80211;
1: + int encrypt_headroom;
1: + atomic_t num_tx_queued;
1: + struct ieee80211_tx_queue_params tx_conf[4];
1: + struct mac80211_qos_map *qos_map;
1: + struct work_struct csa_finalize_work;
1: + bool csa_block_tx;
1: + struct cfg80211_chan_def csa_chandef;
1: + struct list_head assigned_chanctx_list;
1: + struct list_head reserved_chanctx_list;
1: + struct ieee80211_chanctx *reserved_chanctx;
1: + struct cfg80211_chan_def reserved_chandef;
1: + bool reserved_radar_required;
1: + bool reserved_ready;
1: + struct work_struct recalc_smps;
1: + struct work_struct work;
1: + struct sk_buff_head skb_queue;
1: + u8 needed_rx_chains;
1: + enum ieee80211_smps_mode smps_mode;
1: + int user_power_level;
1: + int ap_power_level;
1: + bool radar_required;
1: + struct delayed_work dfs_cac_timer_work;
1: + struct ieee80211_if_ap *bss;
1: + u32 rc_rateidx_mask[4];
1: + bool rc_has_mcs_mask[4];
1: + u8 rc_rateidx_mcs_mask[40];
1: + bool rc_has_vht_mcs_mask[4];
1: + u16 rc_rateidx_vht_mcs_mask[32];
1: + union {
1: + struct ieee80211_if_ap ap;
1: + struct ieee80211_if_wds wds;
1: + struct ieee80211_if_vlan vlan;
1: + struct ieee80211_if_managed mgd;
1: + struct ieee80211_if_ibss ibss;
1: + struct ieee80211_if_mesh mesh;
1: + struct ieee80211_if_ocb ocb;
1: + struct ieee80211_if_mntr mntr;
1: + struct ieee80211_if_nan nan;
1: + } u;
1: + struct ieee80211_vif vif;
1: };
1:
1: struct ieee80211_sta_rx_stats {
1: - long unsigned int packets;
1: - long unsigned int last_rx;
1: - long unsigned int num_duplicates;
1: - long unsigned int fragments;
1: - long unsigned int dropped;
1: - int last_signal;
1: - u8 chains;
1: - s8 chain_signal_last[4];
1: - u32 last_rate;
1: - struct u64_stats_sync syncp;
1: - u64 bytes;
1: - u64 msdu[17];
1: + long unsigned int packets;
1: + long unsigned int last_rx;
1: + long unsigned int num_duplicates;
1: + long unsigned int fragments;
1: + long unsigned int dropped;
1: + int last_signal;
1: + u8 chains;
1: + s8 chain_signal_last[4];
1: + u32 last_rate;
1: + struct u64_stats_sync syncp;
1: + u64 bytes;
1: + u64 msdu[17];
1: };
1:
1: struct ewma_signal {
1: - long unsigned int internal;
1: + long unsigned int internal;
1: };
1:
1: struct ewma_avg_signal {
1: - long unsigned int internal;
1: + long unsigned int internal;
1: };
1:
1: struct airtime_info {
1: - u64 rx_airtime;
1: - u64 tx_airtime;
1: - s64 deficit;
1: - atomic_t aql_tx_pending;
1: - u32 aql_limit_low;
1: - u32 aql_limit_high;
1: + u64 rx_airtime;
1: + u64 tx_airtime;
1: + s64 deficit;
1: + atomic_t aql_tx_pending;
1: + u32 aql_limit_low;
1: + u32 aql_limit_high;
1: };
1:
1: struct tid_ampdu_rx;
1: @@ -118956,20 +119943,20 @@ struct tid_ampdu_rx;
1: struct tid_ampdu_tx;
1:
1: struct sta_ampdu_mlme {
1: - struct mutex mtx;
1: - struct tid_ampdu_rx *tid_rx[16];
1: - u8 tid_rx_token[16];
1: - long unsigned int tid_rx_timer_expired[1];
1: - long unsigned int tid_rx_stop_requested[1];
1: - long unsigned int tid_rx_manage_offl[1];
1: - long unsigned int agg_session_valid[1];
1: - long unsigned int unexpected_agg[1];
1: - struct work_struct work;
1: - struct tid_ampdu_tx *tid_tx[16];
1: - struct tid_ampdu_tx *tid_start_tx[16];
1: - long unsigned int last_addba_req_time[16];
1: - u8 addba_req_num[16];
1: - u8 dialog_token_allocator;
1: + struct mutex mtx;
1: + struct tid_ampdu_rx *tid_rx[16];
1: + u8 tid_rx_token[16];
1: + long unsigned int tid_rx_timer_expired[1];
1: + long unsigned int tid_rx_stop_requested[1];
1: + long unsigned int tid_rx_manage_offl[1];
1: + long unsigned int agg_session_valid[1];
1: + long unsigned int unexpected_agg[1];
1: + struct work_struct work;
1: + struct tid_ampdu_tx *tid_tx[16];
1: + struct tid_ampdu_tx *tid_start_tx[16];
1: + long unsigned int last_addba_req_time[16];
1: + u8 addba_req_num[16];
1: + u8 dialog_token_allocator;
1: };
1:
1: struct ieee80211_fast_tx;
1: @@ -118977,1175 +119964,1177 @@ struct ieee80211_fast_tx;
1: struct ieee80211_fast_rx;
1:
1: struct sta_info {
1: - struct list_head list;
1: - struct list_head free_list;
1: - struct callback_head callback_head;
1: - struct rhlist_head hash_node;
1: - u8 addr[6];
1: - struct ieee80211_local *local;
1: - struct ieee80211_sub_if_data *sdata;
1: - struct ieee80211_key *gtk[6];
1: - struct ieee80211_key *ptk[4];
1: - u8 ptk_idx;
1: - struct rate_control_ref *rate_ctrl;
1: - void *rate_ctrl_priv;
1: - spinlock_t rate_ctrl_lock;
1: - spinlock_t lock;
1: - struct ieee80211_fast_tx *fast_tx;
1: - struct ieee80211_fast_rx *fast_rx;
1: - struct ieee80211_sta_rx_stats *pcpu_rx_stats;
1: - struct work_struct drv_deliver_wk;
1: - u16 listen_interval;
1: - bool dead;
1: - bool removed;
1: - bool uploaded;
1: - enum ieee80211_sta_state sta_state;
1: - long unsigned int _flags;
1: - spinlock_t ps_lock;
1: - struct sk_buff_head ps_tx_buf[4];
1: - struct sk_buff_head tx_filtered[4];
1: - long unsigned int driver_buffered_tids;
1: - long unsigned int txq_buffered_tids;
1: - u64 assoc_at;
1: - long int last_connected;
1: - struct ieee80211_sta_rx_stats rx_stats;
1: - struct {
1: - struct ewma_signal signal;
1: - struct ewma_signal chain_signal[4];
1: - } rx_stats_avg;
1: - __le16 last_seq_ctrl[17];
1: - struct {
1: - long unsigned int filtered;
1: - long unsigned int retry_failed;
1: - long unsigned int retry_count;
1: - unsigned int lost_packets;
1: - long unsigned int last_tdls_pkt_time;
1: - u64 msdu_retries[17];
1: - u64 msdu_failed[17];
1: - long unsigned int last_ack;
1: - s8 last_ack_signal;
1: - bool ack_signal_filled;
1: - struct ewma_avg_signal avg_ack_signal;
1: - } status_stats;
1: - struct {
1: - u64 packets[4];
1: - u64 bytes[4];
1: - struct ieee80211_tx_rate last_rate;
1: - u64 msdu[17];
1: - } tx_stats;
1: - u16 tid_seq[16];
1: - struct airtime_info airtime[4];
1: - u16 airtime_weight;
1: - struct sta_ampdu_mlme ampdu_mlme;
1: - enum ieee80211_sta_rx_bandwidth cur_max_bandwidth;
1: - enum ieee80211_smps_mode known_smps_mode;
1: - const struct ieee80211_cipher_scheme *cipher_scheme;
1: - struct codel_params cparams;
1: - u8 reserved_tid;
1: - struct cfg80211_chan_def tdls_chandef;
1: - struct ieee80211_sta sta;
1: + struct list_head list;
1: + struct list_head free_list;
1: + struct callback_head callback_head;
1: + struct rhlist_head hash_node;
1: + u8 addr[6];
1: + struct ieee80211_local *local;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct ieee80211_key *gtk[6];
1: + struct ieee80211_key *ptk[4];
1: + u8 ptk_idx;
1: + struct rate_control_ref *rate_ctrl;
1: + void *rate_ctrl_priv;
1: + spinlock_t rate_ctrl_lock;
1: + spinlock_t lock;
1: + struct ieee80211_fast_tx *fast_tx;
1: + struct ieee80211_fast_rx *fast_rx;
1: + struct ieee80211_sta_rx_stats *pcpu_rx_stats;
1: + struct work_struct drv_deliver_wk;
1: + u16 listen_interval;
1: + bool dead;
1: + bool removed;
1: + bool uploaded;
1: + enum ieee80211_sta_state sta_state;
1: + long unsigned int _flags;
1: + spinlock_t ps_lock;
1: + struct sk_buff_head ps_tx_buf[4];
1: + struct sk_buff_head tx_filtered[4];
1: + long unsigned int driver_buffered_tids;
1: + long unsigned int txq_buffered_tids;
1: + u64 assoc_at;
1: + long int last_connected;
1: + struct ieee80211_sta_rx_stats rx_stats;
1: + struct {
1: + struct ewma_signal signal;
1: + struct ewma_signal chain_signal[4];
1: + } rx_stats_avg;
1: + __le16 last_seq_ctrl[17];
1: + struct {
1: + long unsigned int filtered;
1: + long unsigned int retry_failed;
1: + long unsigned int retry_count;
1: + unsigned int lost_packets;
1: + long unsigned int last_tdls_pkt_time;
1: + u64 msdu_retries[17];
1: + u64 msdu_failed[17];
1: + long unsigned int last_ack;
1: + s8 last_ack_signal;
1: + bool ack_signal_filled;
1: + struct ewma_avg_signal avg_ack_signal;
1: + } status_stats;
1: + struct {
1: + u64 packets[4];
1: + u64 bytes[4];
1: + struct ieee80211_tx_rate last_rate;
1: + u64 msdu[17];
1: + } tx_stats;
1: + u16 tid_seq[16];
1: + struct airtime_info airtime[4];
1: + u16 airtime_weight;
1: + struct sta_ampdu_mlme ampdu_mlme;
1: + enum ieee80211_sta_rx_bandwidth cur_max_bandwidth;
1: + enum ieee80211_smps_mode known_smps_mode;
1: + const struct ieee80211_cipher_scheme *cipher_scheme;
1: + struct codel_params cparams;
1: + u8 reserved_tid;
1: + struct cfg80211_chan_def tdls_chandef;
1: + struct ieee80211_sta sta;
1: };
1:
1: struct tid_ampdu_tx {
1: - struct callback_head callback_head;
1: - struct timer_list session_timer;
1: - struct timer_list addba_resp_timer;
1: - struct sk_buff_head pending;
1: - struct sta_info *sta;
1: - long unsigned int state;
1: - long unsigned int last_tx;
1: - u16 timeout;
1: - u8 dialog_token;
1: - u8 stop_initiator;
1: - bool tx_stop;
1: - u16 buf_size;
1: - u16 failed_bar_ssn;
1: - bool bar_pending;
1: - bool amsdu;
1: - u8 tid;
1: + struct callback_head callback_head;
1: + struct timer_list session_timer;
1: + struct timer_list addba_resp_timer;
1: + struct sk_buff_head pending;
1: + struct sta_info *sta;
1: + long unsigned int state;
1: + long unsigned int last_tx;
1: + u16 timeout;
1: + u8 dialog_token;
1: + u8 stop_initiator;
1: + bool tx_stop;
1: + u16 buf_size;
1: + u16 failed_bar_ssn;
1: + bool bar_pending;
1: + bool amsdu;
1: + u8 tid;
1: };
1:
1: struct tid_ampdu_rx {
1: - struct callback_head callback_head;
1: - spinlock_t reorder_lock;
1: - u64 reorder_buf_filtered;
1: - struct sk_buff_head *reorder_buf;
1: - long unsigned int *reorder_time;
1: - struct sta_info *sta;
1: - struct timer_list session_timer;
1: - struct timer_list reorder_timer;
1: - long unsigned int last_rx;
1: - u16 head_seq_num;
1: - u16 stored_mpdu_num;
1: - u16 ssn;
1: - u16 buf_size;
1: - u16 timeout;
1: - u8 tid;
1: - u8 auto_seq: 1;
1: - u8 removed: 1;
1: - u8 started: 1;
1: + struct callback_head callback_head;
1: + spinlock_t reorder_lock;
1: + u64 reorder_buf_filtered;
1: + struct sk_buff_head *reorder_buf;
1: + long unsigned int *reorder_time;
1: + struct sta_info *sta;
1: + struct timer_list session_timer;
1: + struct timer_list reorder_timer;
1: + long unsigned int last_rx;
1: + u16 head_seq_num;
1: + u16 stored_mpdu_num;
1: + u16 ssn;
1: + u16 buf_size;
1: + u16 timeout;
1: + u8 tid;
1: + u8 auto_seq : 1;
1: + u8 removed : 1;
1: + u8 started : 1;
1: };
1:
1: struct ieee80211_fast_tx {
1: - struct ieee80211_key *key;
1: - u8 hdr_len;
1: - u8 sa_offs;
1: - u8 da_offs;
1: - u8 pn_offs;
1: - u8 band;
1: - char: 8;
1: - u8 hdr[56];
1: - struct callback_head callback_head;
1: + struct ieee80211_key *key;
1: + u8 hdr_len;
1: + u8 sa_offs;
1: + u8 da_offs;
1: + u8 pn_offs;
1: + u8 band;
1: + char : 8;
1: + u8 hdr[56];
1: + struct callback_head callback_head;
1: };
1:
1: struct ieee80211_fast_rx {
1: - struct net_device *dev;
1: - enum nl80211_iftype vif_type;
1: - u8 vif_addr[6];
1: - u8 rfc1042_hdr[6];
1: - __be16 control_port_protocol;
1: - __le16 expected_ds_bits;
1: - u8 icv_len;
1: - u8 key: 1;
1: - u8 sta_notify: 1;
1: - u8 internal_forward: 1;
1: - u8 uses_rss: 1;
1: - u8 da_offs;
1: - u8 sa_offs;
1: - struct callback_head callback_head;
1: + struct net_device *dev;
1: + enum nl80211_iftype vif_type;
1: + u8 vif_addr[6];
1: + u8 rfc1042_hdr[6];
1: + __be16 control_port_protocol;
1: + __le16 expected_ds_bits;
1: + u8 icv_len;
1: + u8 key : 1;
1: + u8 sta_notify : 1;
1: + u8 internal_forward : 1;
1: + u8 uses_rss : 1;
1: + u8 da_offs;
1: + u8 sa_offs;
1: + struct callback_head callback_head;
1: };
1:
1: struct rate_control_ref {
1: - const struct rate_control_ops *ops;
1: - void *priv;
1: + const struct rate_control_ops *ops;
1: + void *priv;
1: };
1:
1: struct beacon_data {
1: - u8 *head;
1: - u8 *tail;
1: - int head_len;
1: - int tail_len;
1: - struct ieee80211_meshconf_ie *meshconf;
1: - u16 csa_counter_offsets[2];
1: - u8 csa_current_counter;
1: - struct callback_head callback_head;
1: + u8 *head;
1: + u8 *tail;
1: + int head_len;
1: + int tail_len;
1: + struct ieee80211_meshconf_ie *meshconf;
1: + u16 csa_counter_offsets[2];
1: + u8 csa_current_counter;
1: + struct callback_head callback_head;
1: };
1:
1: struct probe_resp {
1: - struct callback_head callback_head;
1: - int len;
1: - u16 csa_counter_offsets[2];
1: - u8 data[0];
1: + struct callback_head callback_head;
1: + int len;
1: + u16 csa_counter_offsets[2];
1: + u8 data[0];
1: };
1:
1: struct ieee80211_mgd_auth_data {
1: - struct cfg80211_bss *bss;
1: - long unsigned int timeout;
1: - int tries;
1: - u16 algorithm;
1: - u16 expected_transaction;
1: - u8 key[13];
1: - u8 key_len;
1: - u8 key_idx;
1: - bool done;
1: - bool peer_confirmed;
1: - bool timeout_started;
1: - u16 sae_trans;
1: - u16 sae_status;
1: - size_t data_len;
1: - u8 data[0];
1: + struct cfg80211_bss *bss;
1: + long unsigned int timeout;
1: + int tries;
1: + u16 algorithm;
1: + u16 expected_transaction;
1: + u8 key[13];
1: + u8 key_len;
1: + u8 key_idx;
1: + bool done;
1: + bool peer_confirmed;
1: + bool timeout_started;
1: + u16 sae_trans;
1: + u16 sae_status;
1: + size_t data_len;
1: + u8 data[0];
1: };
1:
1: struct ieee80211_mgd_assoc_data {
1: - struct cfg80211_bss *bss;
1: - const u8 *supp_rates;
1: - long unsigned int timeout;
1: - int tries;
1: - u16 capability;
1: - u8 prev_bssid[6];
1: - u8 ssid[32];
1: - u8 ssid_len;
1: - u8 supp_rates_len;
1: - bool wmm;
1: - bool uapsd;
1: - bool need_beacon;
1: - bool synced;
1: - bool timeout_started;
1: - u8 ap_ht_param;
1: - struct ieee80211_vht_cap ap_vht_cap;
1: - u8 fils_nonces[32];
1: - u8 fils_kek[64];
1: - size_t fils_kek_len;
1: - size_t ie_len;
1: - u8 ie[0];
1: + struct cfg80211_bss *bss;
1: + const u8 *supp_rates;
1: + long unsigned int timeout;
1: + int tries;
1: + u16 capability;
1: + u8 prev_bssid[6];
1: + u8 ssid[32];
1: + u8 ssid_len;
1: + u8 supp_rates_len;
1: + bool wmm;
1: + bool uapsd;
1: + bool need_beacon;
1: + bool synced;
1: + bool timeout_started;
1: + u8 ap_ht_param;
1: + struct ieee80211_vht_cap ap_vht_cap;
1: + u8 fils_nonces[32];
1: + u8 fils_kek[64];
1: + size_t fils_kek_len;
1: + size_t ie_len;
1: + u8 ie[0];
1: };
1:
1: struct ieee802_11_elems;
1:
1: struct ieee80211_mesh_sync_ops {
1: - void (*rx_bcn_presp)(struct ieee80211_sub_if_data *, u16, struct ieee80211_mgmt *, struct ieee802_11_elems *, struct ieee80211_rx_status *);
1: - void (*adjust_tsf)(struct ieee80211_sub_if_data *, struct beacon_data *);
1: + void (*rx_bcn_presp)(struct ieee80211_sub_if_data *, u16,
1: + struct ieee80211_mgmt *, struct ieee802_11_elems *,
1: + struct ieee80211_rx_status *);
1: + void (*adjust_tsf)(struct ieee80211_sub_if_data *, struct beacon_data *);
1: };
1:
1: struct ieee802_11_elems {
1: - const u8 *ie_start;
1: - size_t total_len;
1: - const struct ieee80211_tdls_lnkie *lnk_id;
1: - const struct ieee80211_ch_switch_timing *ch_sw_timing;
1: - const u8 *ext_capab;
1: - const u8 *ssid;
1: - const u8 *supp_rates;
1: - const u8 *ds_params;
1: - const struct ieee80211_tim_ie *tim;
1: - const u8 *challenge;
1: - const u8 *rsn;
1: - const u8 *erp_info;
1: - const u8 *ext_supp_rates;
1: - const u8 *wmm_info;
1: - const u8 *wmm_param;
1: - const struct ieee80211_ht_cap *ht_cap_elem;
1: - const struct ieee80211_ht_operation *ht_operation;
1: - const struct ieee80211_vht_cap *vht_cap_elem;
1: - const struct ieee80211_vht_operation *vht_operation;
1: - const struct ieee80211_meshconf_ie *mesh_config;
1: - const u8 *he_cap;
1: - const struct ieee80211_he_operation *he_operation;
1: - const struct ieee80211_he_spr *he_spr;
1: - const struct ieee80211_mu_edca_param_set *mu_edca_param_set;
1: - const u8 *uora_element;
1: - const u8 *mesh_id;
1: - const u8 *peering;
1: - const __le16 *awake_window;
1: - const u8 *preq;
1: - const u8 *prep;
1: - const u8 *perr;
1: - const struct ieee80211_rann_ie *rann;
1: - const struct ieee80211_channel_sw_ie *ch_switch_ie;
1: - const struct ieee80211_ext_chansw_ie *ext_chansw_ie;
1: - const struct ieee80211_wide_bw_chansw_ie *wide_bw_chansw_ie;
1: - const u8 *max_channel_switch_time;
1: - const u8 *country_elem;
1: - const u8 *pwr_constr_elem;
1: - const u8 *cisco_dtpc_elem;
1: - const struct ieee80211_timeout_interval_ie *timeout_int;
1: - const u8 *opmode_notif;
1: - const struct ieee80211_sec_chan_offs_ie *sec_chan_offs;
1: - struct ieee80211_mesh_chansw_params_ie *mesh_chansw_params_ie;
1: - const struct ieee80211_bss_max_idle_period_ie *max_idle_period_ie;
1: - const struct ieee80211_multiple_bssid_configuration *mbssid_config_ie;
1: - const struct ieee80211_bssid_index *bssid_index;
1: - u8 max_bssid_indicator;
1: - u8 dtim_count;
1: - u8 dtim_period;
1: - const struct ieee80211_addba_ext_ie *addba_ext_ie;
1: - u8 ext_capab_len;
1: - u8 ssid_len;
1: - u8 supp_rates_len;
1: - u8 tim_len;
1: - u8 challenge_len;
1: - u8 rsn_len;
1: - u8 ext_supp_rates_len;
1: - u8 wmm_info_len;
1: - u8 wmm_param_len;
1: - u8 he_cap_len;
1: - u8 mesh_id_len;
1: - u8 peering_len;
1: - u8 preq_len;
1: - u8 prep_len;
1: - u8 perr_len;
1: - u8 country_elem_len;
1: - u8 bssid_index_len;
1: - bool parse_error;
1: + const u8 *ie_start;
1: + size_t total_len;
1: + const struct ieee80211_tdls_lnkie *lnk_id;
1: + const struct ieee80211_ch_switch_timing *ch_sw_timing;
1: + const u8 *ext_capab;
1: + const u8 *ssid;
1: + const u8 *supp_rates;
1: + const u8 *ds_params;
1: + const struct ieee80211_tim_ie *tim;
1: + const u8 *challenge;
1: + const u8 *rsn;
1: + const u8 *erp_info;
1: + const u8 *ext_supp_rates;
1: + const u8 *wmm_info;
1: + const u8 *wmm_param;
1: + const struct ieee80211_ht_cap *ht_cap_elem;
1: + const struct ieee80211_ht_operation *ht_operation;
1: + const struct ieee80211_vht_cap *vht_cap_elem;
1: + const struct ieee80211_vht_operation *vht_operation;
1: + const struct ieee80211_meshconf_ie *mesh_config;
1: + const u8 *he_cap;
1: + const struct ieee80211_he_operation *he_operation;
1: + const struct ieee80211_he_spr *he_spr;
1: + const struct ieee80211_mu_edca_param_set *mu_edca_param_set;
1: + const u8 *uora_element;
1: + const u8 *mesh_id;
1: + const u8 *peering;
1: + const __le16 *awake_window;
1: + const u8 *preq;
1: + const u8 *prep;
1: + const u8 *perr;
1: + const struct ieee80211_rann_ie *rann;
1: + const struct ieee80211_channel_sw_ie *ch_switch_ie;
1: + const struct ieee80211_ext_chansw_ie *ext_chansw_ie;
1: + const struct ieee80211_wide_bw_chansw_ie *wide_bw_chansw_ie;
1: + const u8 *max_channel_switch_time;
1: + const u8 *country_elem;
1: + const u8 *pwr_constr_elem;
1: + const u8 *cisco_dtpc_elem;
1: + const struct ieee80211_timeout_interval_ie *timeout_int;
1: + const u8 *opmode_notif;
1: + const struct ieee80211_sec_chan_offs_ie *sec_chan_offs;
1: + struct ieee80211_mesh_chansw_params_ie *mesh_chansw_params_ie;
1: + const struct ieee80211_bss_max_idle_period_ie *max_idle_period_ie;
1: + const struct ieee80211_multiple_bssid_configuration *mbssid_config_ie;
1: + const struct ieee80211_bssid_index *bssid_index;
1: + u8 max_bssid_indicator;
1: + u8 dtim_count;
1: + u8 dtim_period;
1: + const struct ieee80211_addba_ext_ie *addba_ext_ie;
1: + u8 ext_capab_len;
1: + u8 ssid_len;
1: + u8 supp_rates_len;
1: + u8 tim_len;
1: + u8 challenge_len;
1: + u8 rsn_len;
1: + u8 ext_supp_rates_len;
1: + u8 wmm_info_len;
1: + u8 wmm_param_len;
1: + u8 he_cap_len;
1: + u8 mesh_id_len;
1: + u8 peering_len;
1: + u8 preq_len;
1: + u8 prep_len;
1: + u8 perr_len;
1: + u8 country_elem_len;
1: + u8 bssid_index_len;
1: + bool parse_error;
1: };
1:
1: struct mesh_csa_settings {
1: - struct callback_head callback_head;
1: - struct cfg80211_csa_settings settings;
1: + struct callback_head callback_head;
1: + struct cfg80211_csa_settings settings;
1: };
1:
1: struct mesh_rmc {
1: - struct hlist_head bucket[256];
1: - u32 idx_mask;
1: + struct hlist_head bucket[256];
1: + u32 idx_mask;
1: };
1:
1: struct mesh_table {
1: - struct hlist_head known_gates;
1: - spinlock_t gates_lock;
1: - struct rhashtable rhead;
1: - struct hlist_head walk_head;
1: - spinlock_t walk_lock;
1: - atomic_t entries;
1: + struct hlist_head known_gates;
1: + spinlock_t gates_lock;
1: + struct rhashtable rhead;
1: + struct hlist_head walk_head;
1: + spinlock_t walk_lock;
1: + atomic_t entries;
1: };
1:
1: enum ieee80211_sub_if_data_flags {
1: - IEEE80211_SDATA_ALLMULTI = 1,
1: - IEEE80211_SDATA_OPERATING_GMODE = 4,
1: - IEEE80211_SDATA_DONT_BRIDGE_PACKETS = 8,
1: - IEEE80211_SDATA_DISCONNECT_RESUME = 16,
1: - IEEE80211_SDATA_IN_DRIVER = 32,
1: + IEEE80211_SDATA_ALLMULTI = 1,
1: + IEEE80211_SDATA_OPERATING_GMODE = 4,
1: + IEEE80211_SDATA_DONT_BRIDGE_PACKETS = 8,
1: + IEEE80211_SDATA_DISCONNECT_RESUME = 16,
1: + IEEE80211_SDATA_IN_DRIVER = 32,
1: };
1:
1: enum ieee80211_chanctx_mode {
1: - IEEE80211_CHANCTX_SHARED = 0,
1: - IEEE80211_CHANCTX_EXCLUSIVE = 1,
1: + IEEE80211_CHANCTX_SHARED = 0,
1: + IEEE80211_CHANCTX_EXCLUSIVE = 1,
1: };
1:
1: enum ieee80211_chanctx_replace_state {
1: - IEEE80211_CHANCTX_REPLACE_NONE = 0,
1: - IEEE80211_CHANCTX_WILL_BE_REPLACED = 1,
1: - IEEE80211_CHANCTX_REPLACES_OTHER = 2,
1: + IEEE80211_CHANCTX_REPLACE_NONE = 0,
1: + IEEE80211_CHANCTX_WILL_BE_REPLACED = 1,
1: + IEEE80211_CHANCTX_REPLACES_OTHER = 2,
1: };
1:
1: struct ieee80211_chanctx {
1: - struct list_head list;
1: - struct callback_head callback_head;
1: - struct list_head assigned_vifs;
1: - struct list_head reserved_vifs;
1: - enum ieee80211_chanctx_replace_state replace_state;
1: - struct ieee80211_chanctx *replace_ctx;
1: - enum ieee80211_chanctx_mode mode;
1: - bool driver_present;
1: - struct ieee80211_chanctx_conf conf;
1: + struct list_head list;
1: + struct callback_head callback_head;
1: + struct list_head assigned_vifs;
1: + struct list_head reserved_vifs;
1: + enum ieee80211_chanctx_replace_state replace_state;
1: + struct ieee80211_chanctx *replace_ctx;
1: + enum ieee80211_chanctx_mode mode;
1: + bool driver_present;
1: + struct ieee80211_chanctx_conf conf;
1: };
1:
1: struct mac80211_qos_map {
1: - struct cfg80211_qos_map qos_map;
1: - struct callback_head callback_head;
1: + struct cfg80211_qos_map qos_map;
1: + struct callback_head callback_head;
1: };
1:
1: enum {
1: - IEEE80211_RX_MSG = 1,
1: - IEEE80211_TX_STATUS_MSG = 2,
1: + IEEE80211_RX_MSG = 1,
1: + IEEE80211_TX_STATUS_MSG = 2,
1: };
1:
1: enum queue_stop_reason {
1: - IEEE80211_QUEUE_STOP_REASON_DRIVER = 0,
1: - IEEE80211_QUEUE_STOP_REASON_PS = 1,
1: - IEEE80211_QUEUE_STOP_REASON_CSA = 2,
1: - IEEE80211_QUEUE_STOP_REASON_AGGREGATION = 3,
1: - IEEE80211_QUEUE_STOP_REASON_SUSPEND = 4,
1: - IEEE80211_QUEUE_STOP_REASON_SKB_ADD = 5,
1: - IEEE80211_QUEUE_STOP_REASON_OFFCHANNEL = 6,
1: - IEEE80211_QUEUE_STOP_REASON_FLUSH = 7,
1: - IEEE80211_QUEUE_STOP_REASON_TDLS_TEARDOWN = 8,
1: - IEEE80211_QUEUE_STOP_REASON_RESERVE_TID = 9,
1: - IEEE80211_QUEUE_STOP_REASONS = 10,
1: + IEEE80211_QUEUE_STOP_REASON_DRIVER = 0,
1: + IEEE80211_QUEUE_STOP_REASON_PS = 1,
1: + IEEE80211_QUEUE_STOP_REASON_CSA = 2,
1: + IEEE80211_QUEUE_STOP_REASON_AGGREGATION = 3,
1: + IEEE80211_QUEUE_STOP_REASON_SUSPEND = 4,
1: + IEEE80211_QUEUE_STOP_REASON_SKB_ADD = 5,
1: + IEEE80211_QUEUE_STOP_REASON_OFFCHANNEL = 6,
1: + IEEE80211_QUEUE_STOP_REASON_FLUSH = 7,
1: + IEEE80211_QUEUE_STOP_REASON_TDLS_TEARDOWN = 8,
1: + IEEE80211_QUEUE_STOP_REASON_RESERVE_TID = 9,
1: + IEEE80211_QUEUE_STOP_REASONS = 10,
1: };
1:
1: struct tpt_led_trigger {
1: - char name[32];
1: - const struct ieee80211_tpt_blink *blink_table;
1: - unsigned int blink_table_len;
1: - struct timer_list timer;
1: - struct ieee80211_local *local;
1: - long unsigned int prev_traffic;
1: - long unsigned int tx_bytes;
1: - long unsigned int rx_bytes;
1: - unsigned int active;
1: - unsigned int want;
1: - bool running;
1: + char name[32];
1: + const struct ieee80211_tpt_blink *blink_table;
1: + unsigned int blink_table_len;
1: + struct timer_list timer;
1: + struct ieee80211_local *local;
1: + long unsigned int prev_traffic;
1: + long unsigned int tx_bytes;
1: + long unsigned int rx_bytes;
1: + unsigned int active;
1: + unsigned int want;
1: + bool running;
1: };
1:
1: enum {
1: - SCAN_SW_SCANNING = 0,
1: - SCAN_HW_SCANNING = 1,
1: - SCAN_ONCHANNEL_SCANNING = 2,
1: - SCAN_COMPLETED = 3,
1: - SCAN_ABORTED = 4,
1: - SCAN_HW_CANCELLED = 5,
1: + SCAN_SW_SCANNING = 0,
1: + SCAN_HW_SCANNING = 1,
1: + SCAN_ONCHANNEL_SCANNING = 2,
1: + SCAN_COMPLETED = 3,
1: + SCAN_ABORTED = 4,
1: + SCAN_HW_CANCELLED = 5,
1: };
1:
1: typedef struct bio_vec___2 skb_frag_t___2;
1:
1: struct ieee80211_bar {
1: - __le16 frame_control;
1: - __le16 duration;
1: - __u8 ra[6];
1: - __u8 ta[6];
1: - __le16 control;
1: - __le16 start_seq_num;
1: + __le16 frame_control;
1: + __le16 duration;
1: + __u8 ra[6];
1: + __u8 ta[6];
1: + __le16 control;
1: + __le16 start_seq_num;
1: };
1:
1: enum ieee80211_ht_actioncode {
1: - WLAN_HT_ACTION_NOTIFY_CHANWIDTH = 0,
1: - WLAN_HT_ACTION_SMPS = 1,
1: - WLAN_HT_ACTION_PSMP = 2,
1: - WLAN_HT_ACTION_PCO_PHASE = 3,
1: - WLAN_HT_ACTION_CSI = 4,
1: - WLAN_HT_ACTION_NONCOMPRESSED_BF = 5,
1: - WLAN_HT_ACTION_COMPRESSED_BF = 6,
1: - WLAN_HT_ACTION_ASEL_IDX_FEEDBACK = 7,
1: + WLAN_HT_ACTION_NOTIFY_CHANWIDTH = 0,
1: + WLAN_HT_ACTION_SMPS = 1,
1: + WLAN_HT_ACTION_PSMP = 2,
1: + WLAN_HT_ACTION_PCO_PHASE = 3,
1: + WLAN_HT_ACTION_CSI = 4,
1: + WLAN_HT_ACTION_NONCOMPRESSED_BF = 5,
1: + WLAN_HT_ACTION_COMPRESSED_BF = 6,
1: + WLAN_HT_ACTION_ASEL_IDX_FEEDBACK = 7,
1: };
1:
1: enum ieee80211_tdls_actioncode {
1: - WLAN_TDLS_SETUP_REQUEST = 0,
1: - WLAN_TDLS_SETUP_RESPONSE = 1,
1: - WLAN_TDLS_SETUP_CONFIRM = 2,
1: - WLAN_TDLS_TEARDOWN = 3,
1: - WLAN_TDLS_PEER_TRAFFIC_INDICATION = 4,
1: - WLAN_TDLS_CHANNEL_SWITCH_REQUEST = 5,
1: - WLAN_TDLS_CHANNEL_SWITCH_RESPONSE = 6,
1: - WLAN_TDLS_PEER_PSM_REQUEST = 7,
1: - WLAN_TDLS_PEER_PSM_RESPONSE = 8,
1: - WLAN_TDLS_PEER_TRAFFIC_RESPONSE = 9,
1: - WLAN_TDLS_DISCOVERY_REQUEST = 10,
1: + WLAN_TDLS_SETUP_REQUEST = 0,
1: + WLAN_TDLS_SETUP_RESPONSE = 1,
1: + WLAN_TDLS_SETUP_CONFIRM = 2,
1: + WLAN_TDLS_TEARDOWN = 3,
1: + WLAN_TDLS_PEER_TRAFFIC_INDICATION = 4,
1: + WLAN_TDLS_CHANNEL_SWITCH_REQUEST = 5,
1: + WLAN_TDLS_CHANNEL_SWITCH_RESPONSE = 6,
1: + WLAN_TDLS_PEER_PSM_REQUEST = 7,
1: + WLAN_TDLS_PEER_PSM_RESPONSE = 8,
1: + WLAN_TDLS_PEER_TRAFFIC_RESPONSE = 9,
1: + WLAN_TDLS_DISCOVERY_REQUEST = 10,
1: };
1:
1: enum ieee80211_radiotap_tx_flags {
1: - IEEE80211_RADIOTAP_F_TX_FAIL = 1,
1: - IEEE80211_RADIOTAP_F_TX_CTS = 2,
1: - IEEE80211_RADIOTAP_F_TX_RTS = 4,
1: - IEEE80211_RADIOTAP_F_TX_NOACK = 8,
1: + IEEE80211_RADIOTAP_F_TX_FAIL = 1,
1: + IEEE80211_RADIOTAP_F_TX_CTS = 2,
1: + IEEE80211_RADIOTAP_F_TX_RTS = 4,
1: + IEEE80211_RADIOTAP_F_TX_NOACK = 8,
1: };
1:
1: enum ieee80211_radiotap_mcs_flags {
1: - IEEE80211_RADIOTAP_MCS_BW_MASK = 3,
1: - IEEE80211_RADIOTAP_MCS_BW_20 = 0,
1: - IEEE80211_RADIOTAP_MCS_BW_40 = 1,
1: - IEEE80211_RADIOTAP_MCS_BW_20L = 2,
1: - IEEE80211_RADIOTAP_MCS_BW_20U = 3,
1: - IEEE80211_RADIOTAP_MCS_SGI = 4,
1: - IEEE80211_RADIOTAP_MCS_FMT_GF = 8,
1: - IEEE80211_RADIOTAP_MCS_FEC_LDPC = 16,
1: - IEEE80211_RADIOTAP_MCS_STBC_MASK = 96,
1: - IEEE80211_RADIOTAP_MCS_STBC_1 = 1,
1: - IEEE80211_RADIOTAP_MCS_STBC_2 = 2,
1: - IEEE80211_RADIOTAP_MCS_STBC_3 = 3,
1: - IEEE80211_RADIOTAP_MCS_STBC_SHIFT = 5,
1: + IEEE80211_RADIOTAP_MCS_BW_MASK = 3,
1: + IEEE80211_RADIOTAP_MCS_BW_20 = 0,
1: + IEEE80211_RADIOTAP_MCS_BW_40 = 1,
1: + IEEE80211_RADIOTAP_MCS_BW_20L = 2,
1: + IEEE80211_RADIOTAP_MCS_BW_20U = 3,
1: + IEEE80211_RADIOTAP_MCS_SGI = 4,
1: + IEEE80211_RADIOTAP_MCS_FMT_GF = 8,
1: + IEEE80211_RADIOTAP_MCS_FEC_LDPC = 16,
1: + IEEE80211_RADIOTAP_MCS_STBC_MASK = 96,
1: + IEEE80211_RADIOTAP_MCS_STBC_1 = 1,
1: + IEEE80211_RADIOTAP_MCS_STBC_2 = 2,
1: + IEEE80211_RADIOTAP_MCS_STBC_3 = 3,
1: + IEEE80211_RADIOTAP_MCS_STBC_SHIFT = 5,
1: };
1:
1: enum ieee80211_radiotap_vht_flags {
1: - IEEE80211_RADIOTAP_VHT_FLAG_STBC = 1,
1: - IEEE80211_RADIOTAP_VHT_FLAG_TXOP_PS_NA = 2,
1: - IEEE80211_RADIOTAP_VHT_FLAG_SGI = 4,
1: - IEEE80211_RADIOTAP_VHT_FLAG_SGI_NSYM_M10_9 = 8,
1: - IEEE80211_RADIOTAP_VHT_FLAG_LDPC_EXTRA_OFDM_SYM = 16,
1: - IEEE80211_RADIOTAP_VHT_FLAG_BEAMFORMED = 32,
1: + IEEE80211_RADIOTAP_VHT_FLAG_STBC = 1,
1: + IEEE80211_RADIOTAP_VHT_FLAG_TXOP_PS_NA = 2,
1: + IEEE80211_RADIOTAP_VHT_FLAG_SGI = 4,
1: + IEEE80211_RADIOTAP_VHT_FLAG_SGI_NSYM_M10_9 = 8,
1: + IEEE80211_RADIOTAP_VHT_FLAG_LDPC_EXTRA_OFDM_SYM = 16,
1: + IEEE80211_RADIOTAP_VHT_FLAG_BEAMFORMED = 32,
1: };
1:
1: struct ieee80211_radiotap_he {
1: - __le16 data1;
1: - __le16 data2;
1: - __le16 data3;
1: - __le16 data4;
1: - __le16 data5;
1: - __le16 data6;
1: + __le16 data1;
1: + __le16 data2;
1: + __le16 data3;
1: + __le16 data4;
1: + __le16 data5;
1: + __le16 data6;
1: };
1:
1: enum ieee80211_radiotap_he_bits {
1: - IEEE80211_RADIOTAP_HE_DATA1_FORMAT_MASK = 3,
1: - IEEE80211_RADIOTAP_HE_DATA1_FORMAT_SU = 0,
1: - IEEE80211_RADIOTAP_HE_DATA1_FORMAT_EXT_SU = 1,
1: - IEEE80211_RADIOTAP_HE_DATA1_FORMAT_MU = 2,
1: - IEEE80211_RADIOTAP_HE_DATA1_FORMAT_TRIG = 3,
1: - IEEE80211_RADIOTAP_HE_DATA1_BSS_COLOR_KNOWN = 4,
1: - IEEE80211_RADIOTAP_HE_DATA1_BEAM_CHANGE_KNOWN = 8,
1: - IEEE80211_RADIOTAP_HE_DATA1_UL_DL_KNOWN = 16,
1: - IEEE80211_RADIOTAP_HE_DATA1_DATA_MCS_KNOWN = 32,
1: - IEEE80211_RADIOTAP_HE_DATA1_DATA_DCM_KNOWN = 64,
1: - IEEE80211_RADIOTAP_HE_DATA1_CODING_KNOWN = 128,
1: - IEEE80211_RADIOTAP_HE_DATA1_LDPC_XSYMSEG_KNOWN = 256,
1: - IEEE80211_RADIOTAP_HE_DATA1_STBC_KNOWN = 512,
1: - IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE_KNOWN = 1024,
1: - IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE2_KNOWN = 2048,
1: - IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE3_KNOWN = 4096,
1: - IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE4_KNOWN = 8192,
1: - IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWN = 16384,
1: - IEEE80211_RADIOTAP_HE_DATA1_DOPPLER_KNOWN = 32768,
1: - IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_KNOWN = 1,
1: - IEEE80211_RADIOTAP_HE_DATA2_GI_KNOWN = 2,
1: - IEEE80211_RADIOTAP_HE_DATA2_NUM_LTF_SYMS_KNOWN = 4,
1: - IEEE80211_RADIOTAP_HE_DATA2_PRE_FEC_PAD_KNOWN = 8,
1: - IEEE80211_RADIOTAP_HE_DATA2_TXBF_KNOWN = 16,
1: - IEEE80211_RADIOTAP_HE_DATA2_PE_DISAMBIG_KNOWN = 32,
1: - IEEE80211_RADIOTAP_HE_DATA2_TXOP_KNOWN = 64,
1: - IEEE80211_RADIOTAP_HE_DATA2_MIDAMBLE_KNOWN = 128,
1: - IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET = 16128,
1: - IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET_KNOWN = 16384,
1: - IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_SEC = 32768,
1: - IEEE80211_RADIOTAP_HE_DATA3_BSS_COLOR = 63,
1: - IEEE80211_RADIOTAP_HE_DATA3_BEAM_CHANGE = 64,
1: - IEEE80211_RADIOTAP_HE_DATA3_UL_DL = 128,
1: - IEEE80211_RADIOTAP_HE_DATA3_DATA_MCS = 3840,
1: - IEEE80211_RADIOTAP_HE_DATA3_DATA_DCM = 4096,
1: - IEEE80211_RADIOTAP_HE_DATA3_CODING = 8192,
1: - IEEE80211_RADIOTAP_HE_DATA3_LDPC_XSYMSEG = 16384,
1: - IEEE80211_RADIOTAP_HE_DATA3_STBC = 32768,
1: - IEEE80211_RADIOTAP_HE_DATA4_SU_MU_SPTL_REUSE = 15,
1: - IEEE80211_RADIOTAP_HE_DATA4_MU_STA_ID = 32752,
1: - IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE1 = 15,
1: - IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE2 = 240,
1: - IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE3 = 3840,
1: - IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE4 = 61440,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC = 15,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_20MHZ = 0,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_40MHZ = 1,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_80MHZ = 2,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_160MHZ = 3,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_26T = 4,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_52T = 5,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_106T = 6,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_242T = 7,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_484T = 8,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_996T = 9,
1: - IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_2x996T = 10,
1: - IEEE80211_RADIOTAP_HE_DATA5_GI = 48,
1: - IEEE80211_RADIOTAP_HE_DATA5_GI_0_8 = 0,
1: - IEEE80211_RADIOTAP_HE_DATA5_GI_1_6 = 1,
1: - IEEE80211_RADIOTAP_HE_DATA5_GI_3_2 = 2,
1: - IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE = 192,
1: - IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_UNKNOWN = 0,
1: - IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_1X = 1,
1: - IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_2X = 2,
1: - IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_4X = 3,
1: - IEEE80211_RADIOTAP_HE_DATA5_NUM_LTF_SYMS = 1792,
1: - IEEE80211_RADIOTAP_HE_DATA5_PRE_FEC_PAD = 12288,
1: - IEEE80211_RADIOTAP_HE_DATA5_TXBF = 16384,
1: - IEEE80211_RADIOTAP_HE_DATA5_PE_DISAMBIG = 32768,
1: - IEEE80211_RADIOTAP_HE_DATA6_NSTS = 15,
1: - IEEE80211_RADIOTAP_HE_DATA6_DOPPLER = 16,
1: - IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_KNOWN = 32,
1: - IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW = 192,
1: - IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_20MHZ = 0,
1: - IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_40MHZ = 1,
1: - IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_80MHZ = 2,
1: - IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_160MHZ = 3,
1: - IEEE80211_RADIOTAP_HE_DATA6_TXOP = 32512,
1: - IEEE80211_RADIOTAP_HE_DATA6_MIDAMBLE_PDCTY = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_MASK = 3,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_SU = 0,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_EXT_SU = 1,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_MU = 2,
1: + IEEE80211_RADIOTAP_HE_DATA1_FORMAT_TRIG = 3,
1: + IEEE80211_RADIOTAP_HE_DATA1_BSS_COLOR_KNOWN = 4,
1: + IEEE80211_RADIOTAP_HE_DATA1_BEAM_CHANGE_KNOWN = 8,
1: + IEEE80211_RADIOTAP_HE_DATA1_UL_DL_KNOWN = 16,
1: + IEEE80211_RADIOTAP_HE_DATA1_DATA_MCS_KNOWN = 32,
1: + IEEE80211_RADIOTAP_HE_DATA1_DATA_DCM_KNOWN = 64,
1: + IEEE80211_RADIOTAP_HE_DATA1_CODING_KNOWN = 128,
1: + IEEE80211_RADIOTAP_HE_DATA1_LDPC_XSYMSEG_KNOWN = 256,
1: + IEEE80211_RADIOTAP_HE_DATA1_STBC_KNOWN = 512,
1: + IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE_KNOWN = 1024,
1: + IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE2_KNOWN = 2048,
1: + IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE3_KNOWN = 4096,
1: + IEEE80211_RADIOTAP_HE_DATA1_SPTL_REUSE4_KNOWN = 8192,
1: + IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWN = 16384,
1: + IEEE80211_RADIOTAP_HE_DATA1_DOPPLER_KNOWN = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_KNOWN = 1,
1: + IEEE80211_RADIOTAP_HE_DATA2_GI_KNOWN = 2,
1: + IEEE80211_RADIOTAP_HE_DATA2_NUM_LTF_SYMS_KNOWN = 4,
1: + IEEE80211_RADIOTAP_HE_DATA2_PRE_FEC_PAD_KNOWN = 8,
1: + IEEE80211_RADIOTAP_HE_DATA2_TXBF_KNOWN = 16,
1: + IEEE80211_RADIOTAP_HE_DATA2_PE_DISAMBIG_KNOWN = 32,
1: + IEEE80211_RADIOTAP_HE_DATA2_TXOP_KNOWN = 64,
1: + IEEE80211_RADIOTAP_HE_DATA2_MIDAMBLE_KNOWN = 128,
1: + IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET = 16128,
1: + IEEE80211_RADIOTAP_HE_DATA2_RU_OFFSET_KNOWN = 16384,
1: + IEEE80211_RADIOTAP_HE_DATA2_PRISEC_80_SEC = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA3_BSS_COLOR = 63,
1: + IEEE80211_RADIOTAP_HE_DATA3_BEAM_CHANGE = 64,
1: + IEEE80211_RADIOTAP_HE_DATA3_UL_DL = 128,
1: + IEEE80211_RADIOTAP_HE_DATA3_DATA_MCS = 3840,
1: + IEEE80211_RADIOTAP_HE_DATA3_DATA_DCM = 4096,
1: + IEEE80211_RADIOTAP_HE_DATA3_CODING = 8192,
1: + IEEE80211_RADIOTAP_HE_DATA3_LDPC_XSYMSEG = 16384,
1: + IEEE80211_RADIOTAP_HE_DATA3_STBC = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA4_SU_MU_SPTL_REUSE = 15,
1: + IEEE80211_RADIOTAP_HE_DATA4_MU_STA_ID = 32752,
1: + IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE1 = 15,
1: + IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE2 = 240,
1: + IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE3 = 3840,
1: + IEEE80211_RADIOTAP_HE_DATA4_TB_SPTL_REUSE4 = 61440,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC = 15,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_20MHZ = 0,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_40MHZ = 1,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_80MHZ = 2,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_160MHZ = 3,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_26T = 4,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_52T = 5,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_106T = 6,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_242T = 7,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_484T = 8,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_996T = 9,
1: + IEEE80211_RADIOTAP_HE_DATA5_DATA_BW_RU_ALLOC_2x996T = 10,
1: + IEEE80211_RADIOTAP_HE_DATA5_GI = 48,
1: + IEEE80211_RADIOTAP_HE_DATA5_GI_0_8 = 0,
1: + IEEE80211_RADIOTAP_HE_DATA5_GI_1_6 = 1,
1: + IEEE80211_RADIOTAP_HE_DATA5_GI_3_2 = 2,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE = 192,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_UNKNOWN = 0,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_1X = 1,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_2X = 2,
1: + IEEE80211_RADIOTAP_HE_DATA5_LTF_SIZE_4X = 3,
1: + IEEE80211_RADIOTAP_HE_DATA5_NUM_LTF_SYMS = 1792,
1: + IEEE80211_RADIOTAP_HE_DATA5_PRE_FEC_PAD = 12288,
1: + IEEE80211_RADIOTAP_HE_DATA5_TXBF = 16384,
1: + IEEE80211_RADIOTAP_HE_DATA5_PE_DISAMBIG = 32768,
1: + IEEE80211_RADIOTAP_HE_DATA6_NSTS = 15,
1: + IEEE80211_RADIOTAP_HE_DATA6_DOPPLER = 16,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_KNOWN = 32,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW = 192,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_20MHZ = 0,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_40MHZ = 1,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_80MHZ = 2,
1: + IEEE80211_RADIOTAP_HE_DATA6_TB_PPDU_BW_160MHZ = 3,
1: + IEEE80211_RADIOTAP_HE_DATA6_TXOP = 32512,
1: + IEEE80211_RADIOTAP_HE_DATA6_MIDAMBLE_PDCTY = 32768,
1: };
1:
1: enum ieee80211_ac_numbers {
1: - IEEE80211_AC_VO = 0,
1: - IEEE80211_AC_VI = 1,
1: - IEEE80211_AC_BE = 2,
1: - IEEE80211_AC_BK = 3,
1: + IEEE80211_AC_VO = 0,
1: + IEEE80211_AC_VI = 1,
1: + IEEE80211_AC_BE = 2,
1: + IEEE80211_AC_BK = 3,
1: };
1:
1: enum mac80211_tx_info_flags {
1: - IEEE80211_TX_CTL_REQ_TX_STATUS = 1,
1: - IEEE80211_TX_CTL_ASSIGN_SEQ = 2,
1: - IEEE80211_TX_CTL_NO_ACK = 4,
1: - IEEE80211_TX_CTL_CLEAR_PS_FILT = 8,
1: - IEEE80211_TX_CTL_FIRST_FRAGMENT = 16,
1: - IEEE80211_TX_CTL_SEND_AFTER_DTIM = 32,
1: - IEEE80211_TX_CTL_AMPDU = 64,
1: - IEEE80211_TX_CTL_INJECTED = 128,
1: - IEEE80211_TX_STAT_TX_FILTERED = 256,
1: - IEEE80211_TX_STAT_ACK = 512,
1: - IEEE80211_TX_STAT_AMPDU = 1024,
1: - IEEE80211_TX_STAT_AMPDU_NO_BACK = 2048,
1: - IEEE80211_TX_CTL_RATE_CTRL_PROBE = 4096,
1: - IEEE80211_TX_INTFL_OFFCHAN_TX_OK = 8192,
1: - IEEE80211_TX_INTFL_NEED_TXPROCESSING = 16384,
1: - IEEE80211_TX_INTFL_RETRIED = 32768,
1: - IEEE80211_TX_INTFL_DONT_ENCRYPT = 65536,
1: - IEEE80211_TX_CTL_NO_PS_BUFFER = 131072,
1: - IEEE80211_TX_CTL_MORE_FRAMES = 262144,
1: - IEEE80211_TX_INTFL_RETRANSMISSION = 524288,
1: - IEEE80211_TX_INTFL_MLME_CONN_TX = 1048576,
1: - IEEE80211_TX_INTFL_NL80211_FRAME_TX = 2097152,
1: - IEEE80211_TX_CTL_LDPC = 4194304,
1: - IEEE80211_TX_CTL_STBC = 25165824,
1: - IEEE80211_TX_CTL_TX_OFFCHAN = 33554432,
1: - IEEE80211_TX_INTFL_TKIP_MIC_FAILURE = 67108864,
1: - IEEE80211_TX_CTL_NO_CCK_RATE = 134217728,
1: - IEEE80211_TX_STATUS_EOSP = 268435456,
1: - IEEE80211_TX_CTL_USE_MINRATE = 536870912,
1: - IEEE80211_TX_CTL_DONTFRAG = 1073741824,
1: - IEEE80211_TX_STAT_NOACK_TRANSMITTED = -2147483648,
1: + IEEE80211_TX_CTL_REQ_TX_STATUS = 1,
1: + IEEE80211_TX_CTL_ASSIGN_SEQ = 2,
1: + IEEE80211_TX_CTL_NO_ACK = 4,
1: + IEEE80211_TX_CTL_CLEAR_PS_FILT = 8,
1: + IEEE80211_TX_CTL_FIRST_FRAGMENT = 16,
1: + IEEE80211_TX_CTL_SEND_AFTER_DTIM = 32,
1: + IEEE80211_TX_CTL_AMPDU = 64,
1: + IEEE80211_TX_CTL_INJECTED = 128,
1: + IEEE80211_TX_STAT_TX_FILTERED = 256,
1: + IEEE80211_TX_STAT_ACK = 512,
1: + IEEE80211_TX_STAT_AMPDU = 1024,
1: + IEEE80211_TX_STAT_AMPDU_NO_BACK = 2048,
1: + IEEE80211_TX_CTL_RATE_CTRL_PROBE = 4096,
1: + IEEE80211_TX_INTFL_OFFCHAN_TX_OK = 8192,
1: + IEEE80211_TX_INTFL_NEED_TXPROCESSING = 16384,
1: + IEEE80211_TX_INTFL_RETRIED = 32768,
1: + IEEE80211_TX_INTFL_DONT_ENCRYPT = 65536,
1: + IEEE80211_TX_CTL_NO_PS_BUFFER = 131072,
1: + IEEE80211_TX_CTL_MORE_FRAMES = 262144,
1: + IEEE80211_TX_INTFL_RETRANSMISSION = 524288,
1: + IEEE80211_TX_INTFL_MLME_CONN_TX = 1048576,
1: + IEEE80211_TX_INTFL_NL80211_FRAME_TX = 2097152,
1: + IEEE80211_TX_CTL_LDPC = 4194304,
1: + IEEE80211_TX_CTL_STBC = 25165824,
1: + IEEE80211_TX_CTL_TX_OFFCHAN = 33554432,
1: + IEEE80211_TX_INTFL_TKIP_MIC_FAILURE = 67108864,
1: + IEEE80211_TX_CTL_NO_CCK_RATE = 134217728,
1: + IEEE80211_TX_STATUS_EOSP = 268435456,
1: + IEEE80211_TX_CTL_USE_MINRATE = 536870912,
1: + IEEE80211_TX_CTL_DONTFRAG = 1073741824,
1: + IEEE80211_TX_STAT_NOACK_TRANSMITTED = -2147483648,
1: };
1:
1: enum mac80211_rate_control_flags {
1: - IEEE80211_TX_RC_USE_RTS_CTS = 1,
1: - IEEE80211_TX_RC_USE_CTS_PROTECT = 2,
1: - IEEE80211_TX_RC_USE_SHORT_PREAMBLE = 4,
1: - IEEE80211_TX_RC_MCS = 8,
1: - IEEE80211_TX_RC_GREEN_FIELD = 16,
1: - IEEE80211_TX_RC_40_MHZ_WIDTH = 32,
1: - IEEE80211_TX_RC_DUP_DATA = 64,
1: - IEEE80211_TX_RC_SHORT_GI = 128,
1: - IEEE80211_TX_RC_VHT_MCS = 256,
1: - IEEE80211_TX_RC_80_MHZ_WIDTH = 512,
1: - IEEE80211_TX_RC_160_MHZ_WIDTH = 1024,
1: + IEEE80211_TX_RC_USE_RTS_CTS = 1,
1: + IEEE80211_TX_RC_USE_CTS_PROTECT = 2,
1: + IEEE80211_TX_RC_USE_SHORT_PREAMBLE = 4,
1: + IEEE80211_TX_RC_MCS = 8,
1: + IEEE80211_TX_RC_GREEN_FIELD = 16,
1: + IEEE80211_TX_RC_40_MHZ_WIDTH = 32,
1: + IEEE80211_TX_RC_DUP_DATA = 64,
1: + IEEE80211_TX_RC_SHORT_GI = 128,
1: + IEEE80211_TX_RC_VHT_MCS = 256,
1: + IEEE80211_TX_RC_80_MHZ_WIDTH = 512,
1: + IEEE80211_TX_RC_160_MHZ_WIDTH = 1024,
1: };
1:
1: enum ieee80211_sta_info_flags {
1: - WLAN_STA_AUTH = 0,
1: - WLAN_STA_ASSOC = 1,
1: - WLAN_STA_PS_STA = 2,
1: - WLAN_STA_AUTHORIZED = 3,
1: - WLAN_STA_SHORT_PREAMBLE = 4,
1: - WLAN_STA_WDS = 5,
1: - WLAN_STA_CLEAR_PS_FILT = 6,
1: - WLAN_STA_MFP = 7,
1: - WLAN_STA_BLOCK_BA = 8,
1: - WLAN_STA_PS_DRIVER = 9,
1: - WLAN_STA_PSPOLL = 10,
1: - WLAN_STA_TDLS_PEER = 11,
1: - WLAN_STA_TDLS_PEER_AUTH = 12,
1: - WLAN_STA_TDLS_INITIATOR = 13,
1: - WLAN_STA_TDLS_CHAN_SWITCH = 14,
1: - WLAN_STA_TDLS_OFF_CHANNEL = 15,
1: - WLAN_STA_TDLS_WIDER_BW = 16,
1: - WLAN_STA_UAPSD = 17,
1: - WLAN_STA_SP = 18,
1: - WLAN_STA_4ADDR_EVENT = 19,
1: - WLAN_STA_INSERTED = 20,
1: - WLAN_STA_RATE_CONTROL = 21,
1: - WLAN_STA_TOFFSET_KNOWN = 22,
1: - WLAN_STA_MPSP_OWNER = 23,
1: - WLAN_STA_MPSP_RECIPIENT = 24,
1: - WLAN_STA_PS_DELIVER = 25,
1: - NUM_WLAN_STA_FLAGS = 26,
1: + WLAN_STA_AUTH = 0,
1: + WLAN_STA_ASSOC = 1,
1: + WLAN_STA_PS_STA = 2,
1: + WLAN_STA_AUTHORIZED = 3,
1: + WLAN_STA_SHORT_PREAMBLE = 4,
1: + WLAN_STA_WDS = 5,
1: + WLAN_STA_CLEAR_PS_FILT = 6,
1: + WLAN_STA_MFP = 7,
1: + WLAN_STA_BLOCK_BA = 8,
1: + WLAN_STA_PS_DRIVER = 9,
1: + WLAN_STA_PSPOLL = 10,
1: + WLAN_STA_TDLS_PEER = 11,
1: + WLAN_STA_TDLS_PEER_AUTH = 12,
1: + WLAN_STA_TDLS_INITIATOR = 13,
1: + WLAN_STA_TDLS_CHAN_SWITCH = 14,
1: + WLAN_STA_TDLS_OFF_CHANNEL = 15,
1: + WLAN_STA_TDLS_WIDER_BW = 16,
1: + WLAN_STA_UAPSD = 17,
1: + WLAN_STA_SP = 18,
1: + WLAN_STA_4ADDR_EVENT = 19,
1: + WLAN_STA_INSERTED = 20,
1: + WLAN_STA_RATE_CONTROL = 21,
1: + WLAN_STA_TOFFSET_KNOWN = 22,
1: + WLAN_STA_MPSP_OWNER = 23,
1: + WLAN_STA_MPSP_RECIPIENT = 24,
1: + WLAN_STA_PS_DELIVER = 25,
1: + NUM_WLAN_STA_FLAGS = 26,
1: };
1:
1: enum ieee80211_sta_flags {
1: - IEEE80211_STA_CONNECTION_POLL = 2,
1: - IEEE80211_STA_CONTROL_PORT = 4,
1: - IEEE80211_STA_DISABLE_HT = 16,
1: - IEEE80211_STA_MFP_ENABLED = 64,
1: - IEEE80211_STA_UAPSD_ENABLED = 128,
1: - IEEE80211_STA_NULLFUNC_ACKED = 256,
1: - IEEE80211_STA_RESET_SIGNAL_AVE = 512,
1: - IEEE80211_STA_DISABLE_40MHZ = 1024,
1: - IEEE80211_STA_DISABLE_VHT = 2048,
1: - IEEE80211_STA_DISABLE_80P80MHZ = 4096,
1: - IEEE80211_STA_DISABLE_160MHZ = 8192,
1: - IEEE80211_STA_DISABLE_WMM = 16384,
1: - IEEE80211_STA_ENABLE_RRM = 32768,
1: - IEEE80211_STA_DISABLE_HE = 65536,
1: + IEEE80211_STA_CONNECTION_POLL = 2,
1: + IEEE80211_STA_CONTROL_PORT = 4,
1: + IEEE80211_STA_DISABLE_HT = 16,
1: + IEEE80211_STA_MFP_ENABLED = 64,
1: + IEEE80211_STA_UAPSD_ENABLED = 128,
1: + IEEE80211_STA_NULLFUNC_ACKED = 256,
1: + IEEE80211_STA_RESET_SIGNAL_AVE = 512,
1: + IEEE80211_STA_DISABLE_40MHZ = 1024,
1: + IEEE80211_STA_DISABLE_VHT = 2048,
1: + IEEE80211_STA_DISABLE_80P80MHZ = 4096,
1: + IEEE80211_STA_DISABLE_160MHZ = 8192,
1: + IEEE80211_STA_DISABLE_WMM = 16384,
1: + IEEE80211_STA_ENABLE_RRM = 32768,
1: + IEEE80211_STA_DISABLE_HE = 65536,
1: };
1:
1: enum ieee80211_sdata_state_bits {
1: - SDATA_STATE_RUNNING = 0,
1: - SDATA_STATE_OFFCHANNEL = 1,
1: - SDATA_STATE_OFFCHANNEL_BEACON_STOPPED = 2,
1: + SDATA_STATE_RUNNING = 0,
1: + SDATA_STATE_OFFCHANNEL = 1,
1: + SDATA_STATE_OFFCHANNEL_BEACON_STOPPED = 2,
1: };
1:
1: enum ieee80211_rate_control_changed {
1: - IEEE80211_RC_BW_CHANGED = 1,
1: - IEEE80211_RC_SMPS_CHANGED = 2,
1: - IEEE80211_RC_SUPP_RATES_CHANGED = 4,
1: - IEEE80211_RC_NSS_CHANGED = 8,
1: + IEEE80211_RC_BW_CHANGED = 1,
1: + IEEE80211_RC_SMPS_CHANGED = 2,
1: + IEEE80211_RC_SUPP_RATES_CHANGED = 4,
1: + IEEE80211_RC_NSS_CHANGED = 8,
1: };
1:
1: struct codel_stats {
1: - u32 maxpacket;
1: - u32 drop_count;
1: - u32 drop_len;
1: - u32 ecn_mark;
1: - u32 ce_mark;
1: + u32 maxpacket;
1: + u32 drop_count;
1: + u32 drop_len;
1: + u32 ecn_mark;
1: + u32 ce_mark;
1: };
1:
1: struct ieee80211_qos_hdr {
1: - __le16 frame_control;
1: - __le16 duration_id;
1: - u8 addr1[6];
1: - u8 addr2[6];
1: - u8 addr3[6];
1: - __le16 seq_ctrl;
1: - __le16 qos_ctrl;
1: + __le16 frame_control;
1: + __le16 duration_id;
1: + u8 addr1[6];
1: + u8 addr2[6];
1: + u8 addr3[6];
1: + __le16 seq_ctrl;
1: + __le16 qos_ctrl;
1: };
1:
1: enum mac80211_tx_control_flags {
1: - IEEE80211_TX_CTRL_PORT_CTRL_PROTO = 1,
1: - IEEE80211_TX_CTRL_PS_RESPONSE = 2,
1: - IEEE80211_TX_CTRL_RATE_INJECT = 4,
1: - IEEE80211_TX_CTRL_AMSDU = 8,
1: - IEEE80211_TX_CTRL_FAST_XMIT = 16,
1: - IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP = 32,
1: + IEEE80211_TX_CTRL_PORT_CTRL_PROTO = 1,
1: + IEEE80211_TX_CTRL_PS_RESPONSE = 2,
1: + IEEE80211_TX_CTRL_RATE_INJECT = 4,
1: + IEEE80211_TX_CTRL_AMSDU = 8,
1: + IEEE80211_TX_CTRL_FAST_XMIT = 16,
1: + IEEE80211_TX_CTRL_SKIP_MPATH_LOOKUP = 32,
1: };
1:
1: enum ieee80211_vif_flags {
1: - IEEE80211_VIF_BEACON_FILTER = 1,
1: - IEEE80211_VIF_SUPPORTS_CQM_RSSI = 2,
1: - IEEE80211_VIF_SUPPORTS_UAPSD = 4,
1: - IEEE80211_VIF_GET_NOA_UPDATE = 8,
1: + IEEE80211_VIF_BEACON_FILTER = 1,
1: + IEEE80211_VIF_SUPPORTS_CQM_RSSI = 2,
1: + IEEE80211_VIF_SUPPORTS_UAPSD = 4,
1: + IEEE80211_VIF_GET_NOA_UPDATE = 8,
1: };
1:
1: enum ieee80211_agg_stop_reason {
1: - AGG_STOP_DECLINED = 0,
1: - AGG_STOP_LOCAL_REQUEST = 1,
1: - AGG_STOP_PEER_REQUEST = 2,
1: - AGG_STOP_DESTROY_STA = 3,
1: + AGG_STOP_DECLINED = 0,
1: + AGG_STOP_LOCAL_REQUEST = 1,
1: + AGG_STOP_PEER_REQUEST = 2,
1: + AGG_STOP_DESTROY_STA = 3,
1: };
1:
1: enum sta_stats_type {
1: - STA_STATS_RATE_TYPE_INVALID = 0,
1: - STA_STATS_RATE_TYPE_LEGACY = 1,
1: - STA_STATS_RATE_TYPE_HT = 2,
1: - STA_STATS_RATE_TYPE_VHT = 3,
1: - STA_STATS_RATE_TYPE_HE = 4,
1: + STA_STATS_RATE_TYPE_INVALID = 0,
1: + STA_STATS_RATE_TYPE_LEGACY = 1,
1: + STA_STATS_RATE_TYPE_HT = 2,
1: + STA_STATS_RATE_TYPE_VHT = 3,
1: + STA_STATS_RATE_TYPE_HE = 4,
1: };
1:
1: struct txq_info {
1: - struct fq_tin tin;
1: - struct fq_flow def_flow;
1: - struct codel_vars def_cvars;
1: - struct codel_stats cstats;
1: - struct sk_buff_head frags;
1: - struct list_head schedule_order;
1: - u16 schedule_round;
1: - long unsigned int flags;
1: - struct ieee80211_txq txq;
1: + struct fq_tin tin;
1: + struct fq_flow def_flow;
1: + struct codel_vars def_cvars;
1: + struct codel_stats cstats;
1: + struct sk_buff_head frags;
1: + struct list_head schedule_order;
1: + u16 schedule_round;
1: + long unsigned int flags;
1: + struct ieee80211_txq txq;
1: };
1:
1: enum mac80211_rx_flags {
1: - RX_FLAG_MMIC_ERROR = 1,
1: - RX_FLAG_DECRYPTED = 2,
1: - RX_FLAG_MACTIME_PLCP_START = 4,
1: - RX_FLAG_MMIC_STRIPPED = 8,
1: - RX_FLAG_IV_STRIPPED = 16,
1: - RX_FLAG_FAILED_FCS_CRC = 32,
1: - RX_FLAG_FAILED_PLCP_CRC = 64,
1: - RX_FLAG_MACTIME_START = 128,
1: - RX_FLAG_NO_SIGNAL_VAL = 256,
1: - RX_FLAG_AMPDU_DETAILS = 512,
1: - RX_FLAG_PN_VALIDATED = 1024,
1: - RX_FLAG_DUP_VALIDATED = 2048,
1: - RX_FLAG_AMPDU_LAST_KNOWN = 4096,
1: - RX_FLAG_AMPDU_IS_LAST = 8192,
1: - RX_FLAG_AMPDU_DELIM_CRC_ERROR = 16384,
1: - RX_FLAG_AMPDU_DELIM_CRC_KNOWN = 32768,
1: - RX_FLAG_MACTIME_END = 65536,
1: - RX_FLAG_ONLY_MONITOR = 131072,
1: - RX_FLAG_SKIP_MONITOR = 262144,
1: - RX_FLAG_AMSDU_MORE = 524288,
1: - RX_FLAG_RADIOTAP_VENDOR_DATA = 1048576,
1: - RX_FLAG_MIC_STRIPPED = 2097152,
1: - RX_FLAG_ALLOW_SAME_PN = 4194304,
1: - RX_FLAG_ICV_STRIPPED = 8388608,
1: - RX_FLAG_AMPDU_EOF_BIT = 16777216,
1: - RX_FLAG_AMPDU_EOF_BIT_KNOWN = 33554432,
1: - RX_FLAG_RADIOTAP_HE = 67108864,
1: - RX_FLAG_RADIOTAP_HE_MU = 134217728,
1: - RX_FLAG_RADIOTAP_LSIG = 268435456,
1: - RX_FLAG_NO_PSDU = 536870912,
1: + RX_FLAG_MMIC_ERROR = 1,
1: + RX_FLAG_DECRYPTED = 2,
1: + RX_FLAG_MACTIME_PLCP_START = 4,
1: + RX_FLAG_MMIC_STRIPPED = 8,
1: + RX_FLAG_IV_STRIPPED = 16,
1: + RX_FLAG_FAILED_FCS_CRC = 32,
1: + RX_FLAG_FAILED_PLCP_CRC = 64,
1: + RX_FLAG_MACTIME_START = 128,
1: + RX_FLAG_NO_SIGNAL_VAL = 256,
1: + RX_FLAG_AMPDU_DETAILS = 512,
1: + RX_FLAG_PN_VALIDATED = 1024,
1: + RX_FLAG_DUP_VALIDATED = 2048,
1: + RX_FLAG_AMPDU_LAST_KNOWN = 4096,
1: + RX_FLAG_AMPDU_IS_LAST = 8192,
1: + RX_FLAG_AMPDU_DELIM_CRC_ERROR = 16384,
1: + RX_FLAG_AMPDU_DELIM_CRC_KNOWN = 32768,
1: + RX_FLAG_MACTIME_END = 65536,
1: + RX_FLAG_ONLY_MONITOR = 131072,
1: + RX_FLAG_SKIP_MONITOR = 262144,
1: + RX_FLAG_AMSDU_MORE = 524288,
1: + RX_FLAG_RADIOTAP_VENDOR_DATA = 1048576,
1: + RX_FLAG_MIC_STRIPPED = 2097152,
1: + RX_FLAG_ALLOW_SAME_PN = 4194304,
1: + RX_FLAG_ICV_STRIPPED = 8388608,
1: + RX_FLAG_AMPDU_EOF_BIT = 16777216,
1: + RX_FLAG_AMPDU_EOF_BIT_KNOWN = 33554432,
1: + RX_FLAG_RADIOTAP_HE = 67108864,
1: + RX_FLAG_RADIOTAP_HE_MU = 134217728,
1: + RX_FLAG_RADIOTAP_LSIG = 268435456,
1: + RX_FLAG_NO_PSDU = 536870912,
1: };
1:
1: enum ieee80211_key_flags {
1: - IEEE80211_KEY_FLAG_GENERATE_IV_MGMT = 1,
1: - IEEE80211_KEY_FLAG_GENERATE_IV = 2,
1: - IEEE80211_KEY_FLAG_GENERATE_MMIC = 4,
1: - IEEE80211_KEY_FLAG_PAIRWISE = 8,
1: - IEEE80211_KEY_FLAG_SW_MGMT_TX = 16,
1: - IEEE80211_KEY_FLAG_PUT_IV_SPACE = 32,
1: - IEEE80211_KEY_FLAG_RX_MGMT = 64,
1: - IEEE80211_KEY_FLAG_RESERVE_TAILROOM = 128,
1: - IEEE80211_KEY_FLAG_PUT_MIC_SPACE = 256,
1: - IEEE80211_KEY_FLAG_NO_AUTO_TX = 512,
1: - IEEE80211_KEY_FLAG_GENERATE_MMIE = 1024,
1: + IEEE80211_KEY_FLAG_GENERATE_IV_MGMT = 1,
1: + IEEE80211_KEY_FLAG_GENERATE_IV = 2,
1: + IEEE80211_KEY_FLAG_GENERATE_MMIC = 4,
1: + IEEE80211_KEY_FLAG_PAIRWISE = 8,
1: + IEEE80211_KEY_FLAG_SW_MGMT_TX = 16,
1: + IEEE80211_KEY_FLAG_PUT_IV_SPACE = 32,
1: + IEEE80211_KEY_FLAG_RX_MGMT = 64,
1: + IEEE80211_KEY_FLAG_RESERVE_TAILROOM = 128,
1: + IEEE80211_KEY_FLAG_PUT_MIC_SPACE = 256,
1: + IEEE80211_KEY_FLAG_NO_AUTO_TX = 512,
1: + IEEE80211_KEY_FLAG_GENERATE_MMIE = 1024,
1: };
1:
1: typedef unsigned int ieee80211_tx_result;
1:
1: struct ieee80211_tx_data {
1: - struct sk_buff *skb;
1: - struct sk_buff_head skbs;
1: - struct ieee80211_local *local;
1: - struct ieee80211_sub_if_data *sdata;
1: - struct sta_info *sta;
1: - struct ieee80211_key *key;
1: - struct ieee80211_tx_rate rate;
1: - unsigned int flags;
1: + struct sk_buff *skb;
1: + struct sk_buff_head skbs;
1: + struct ieee80211_local *local;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct sta_info *sta;
1: + struct ieee80211_key *key;
1: + struct ieee80211_tx_rate rate;
1: + unsigned int flags;
1: };
1:
1: typedef unsigned int ieee80211_rx_result;
1:
1: struct ieee80211_rx_data {
1: - struct napi_struct___2 *napi;
1: - struct sk_buff *skb;
1: - struct ieee80211_local *local;
1: - struct ieee80211_sub_if_data *sdata;
1: - struct sta_info *sta;
1: - struct ieee80211_key *key;
1: - unsigned int flags;
1: - int seqno_idx;
1: - int security_idx;
1: - u32 tkip_iv32;
1: - u16 tkip_iv16;
1: + struct napi_struct___2 *napi;
1: + struct sk_buff *skb;
1: + struct ieee80211_local *local;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct sta_info *sta;
1: + struct ieee80211_key *key;
1: + unsigned int flags;
1: + int seqno_idx;
1: + int security_idx;
1: + u32 tkip_iv32;
1: + u16 tkip_iv16;
1: };
1:
1: struct ieee80211_mmie {
1: - u8 element_id;
1: - u8 length;
1: - __le16 key_id;
1: - u8 sequence_number[6];
1: - u8 mic[8];
1: + u8 element_id;
1: + u8 length;
1: + __le16 key_id;
1: + u8 sequence_number[6];
1: + u8 mic[8];
1: };
1:
1: struct ieee80211_mmie_16 {
1: - u8 element_id;
1: - u8 length;
1: - __le16 key_id;
1: - u8 sequence_number[6];
1: - u8 mic[16];
1: + u8 element_id;
1: + u8 length;
1: + __le16 key_id;
1: + u8 sequence_number[6];
1: + u8 mic[16];
1: };
1:
1: enum ieee80211_internal_key_flags {
1: - KEY_FLAG_UPLOADED_TO_HARDWARE = 1,
1: - KEY_FLAG_TAINTED = 2,
1: - KEY_FLAG_CIPHER_SCHEME = 4,
1: + KEY_FLAG_UPLOADED_TO_HARDWARE = 1,
1: + KEY_FLAG_TAINTED = 2,
1: + KEY_FLAG_CIPHER_SCHEME = 4,
1: };
1:
1: enum {
1: - TKIP_DECRYPT_OK = 0,
1: - TKIP_DECRYPT_NO_EXT_IV = -1,
1: - TKIP_DECRYPT_INVALID_KEYIDX = -2,
1: - TKIP_DECRYPT_REPLAY = -3,
1: + TKIP_DECRYPT_OK = 0,
1: + TKIP_DECRYPT_NO_EXT_IV = -1,
1: + TKIP_DECRYPT_INVALID_KEYIDX = -2,
1: + TKIP_DECRYPT_REPLAY = -3,
1: };
1:
1: enum mac80211_rx_encoding {
1: - RX_ENC_LEGACY = 0,
1: - RX_ENC_HT = 1,
1: - RX_ENC_VHT = 2,
1: - RX_ENC_HE = 3,
1: + RX_ENC_LEGACY = 0,
1: + RX_ENC_HT = 1,
1: + RX_ENC_VHT = 2,
1: + RX_ENC_HE = 3,
1: };
1:
1: struct ieee80211_bss {
1: - u32 device_ts_beacon;
1: - u32 device_ts_presp;
1: - bool wmm_used;
1: - bool uapsd_supported;
1: - u8 supp_rates[32];
1: - size_t supp_rates_len;
1: - struct ieee80211_rate *beacon_rate;
1: - bool has_erp_value;
1: - u8 erp_value;
1: - u8 corrupt_data;
1: - u8 valid_data;
1: + u32 device_ts_beacon;
1: + u32 device_ts_presp;
1: + bool wmm_used;
1: + bool uapsd_supported;
1: + u8 supp_rates[32];
1: + size_t supp_rates_len;
1: + struct ieee80211_rate *beacon_rate;
1: + bool has_erp_value;
1: + u8 erp_value;
1: + u8 corrupt_data;
1: + u8 valid_data;
1: };
1:
1: enum ieee80211_bss_corrupt_data_flags {
1: - IEEE80211_BSS_CORRUPT_BEACON = 1,
1: - IEEE80211_BSS_CORRUPT_PROBE_RESP = 2,
1: + IEEE80211_BSS_CORRUPT_BEACON = 1,
1: + IEEE80211_BSS_CORRUPT_PROBE_RESP = 2,
1: };
1:
1: enum ieee80211_bss_valid_data_flags {
1: - IEEE80211_BSS_VALID_WMM = 2,
1: - IEEE80211_BSS_VALID_RATES = 4,
1: - IEEE80211_BSS_VALID_ERP = 8,
1: + IEEE80211_BSS_VALID_WMM = 2,
1: + IEEE80211_BSS_VALID_RATES = 4,
1: + IEEE80211_BSS_VALID_ERP = 8,
1: };
1:
1: enum {
1: - IEEE80211_PROBE_FLAG_DIRECTED = 1,
1: - IEEE80211_PROBE_FLAG_MIN_CONTENT = 2,
1: - IEEE80211_PROBE_FLAG_RANDOM_SN = 4,
1: + IEEE80211_PROBE_FLAG_DIRECTED = 1,
1: + IEEE80211_PROBE_FLAG_MIN_CONTENT = 2,
1: + IEEE80211_PROBE_FLAG_RANDOM_SN = 4,
1: };
1:
1: struct ieee80211_roc_work {
1: - struct list_head list;
1: - struct ieee80211_sub_if_data *sdata;
1: - struct ieee80211_channel *chan;
1: - bool started;
1: - bool abort;
1: - bool hw_begun;
1: - bool notified;
1: - bool on_channel;
1: - long unsigned int start_time;
1: - u32 duration;
1: - u32 req_duration;
1: - struct sk_buff *frame;
1: - u64 cookie;
1: - u64 mgmt_tx_cookie;
1: - enum ieee80211_roc_type type;
1: + struct list_head list;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct ieee80211_channel *chan;
1: + bool started;
1: + bool abort;
1: + bool hw_begun;
1: + bool notified;
1: + bool on_channel;
1: + long unsigned int start_time;
1: + u32 duration;
1: + u32 req_duration;
1: + struct sk_buff *frame;
1: + u64 cookie;
1: + u64 mgmt_tx_cookie;
1: + enum ieee80211_roc_type type;
1: };
1:
1: enum ieee80211_back_actioncode {
1: - WLAN_ACTION_ADDBA_REQ = 0,
1: - WLAN_ACTION_ADDBA_RESP = 1,
1: - WLAN_ACTION_DELBA = 2,
1: + WLAN_ACTION_ADDBA_REQ = 0,
1: + WLAN_ACTION_ADDBA_RESP = 1,
1: + WLAN_ACTION_DELBA = 2,
1: };
1:
1: enum ieee80211_back_parties {
1: - WLAN_BACK_RECIPIENT = 0,
1: - WLAN_BACK_INITIATOR = 1,
1: + WLAN_BACK_RECIPIENT = 0,
1: + WLAN_BACK_INITIATOR = 1,
1: };
1:
1: enum txq_info_flags {
1: - IEEE80211_TXQ_STOP = 0,
1: - IEEE80211_TXQ_AMPDU = 1,
1: - IEEE80211_TXQ_NO_AMSDU = 2,
1: - IEEE80211_TXQ_STOP_NETIF_TX = 3,
1: + IEEE80211_TXQ_STOP = 0,
1: + IEEE80211_TXQ_AMPDU = 1,
1: + IEEE80211_TXQ_NO_AMSDU = 2,
1: + IEEE80211_TXQ_STOP_NETIF_TX = 3,
1: };
1:
1: enum ieee80211_vht_opmode_bits {
1: - IEEE80211_OPMODE_NOTIF_CHANWIDTH_MASK = 3,
1: - IEEE80211_OPMODE_NOTIF_CHANWIDTH_20MHZ = 0,
1: - IEEE80211_OPMODE_NOTIF_CHANWIDTH_40MHZ = 1,
1: - IEEE80211_OPMODE_NOTIF_CHANWIDTH_80MHZ = 2,
1: - IEEE80211_OPMODE_NOTIF_CHANWIDTH_160MHZ = 3,
1: - IEEE80211_OPMODE_NOTIF_RX_NSS_MASK = 112,
1: - IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT = 4,
1: - IEEE80211_OPMODE_NOTIF_RX_NSS_TYPE_BF = 128,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_MASK = 3,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_20MHZ = 0,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_40MHZ = 1,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_80MHZ = 2,
1: + IEEE80211_OPMODE_NOTIF_CHANWIDTH_160MHZ = 3,
1: + IEEE80211_OPMODE_NOTIF_RX_NSS_MASK = 112,
1: + IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT = 4,
1: + IEEE80211_OPMODE_NOTIF_RX_NSS_TYPE_BF = 128,
1: };
1:
1: enum ieee80211_spectrum_mgmt_actioncode {
1: - WLAN_ACTION_SPCT_MSR_REQ = 0,
1: - WLAN_ACTION_SPCT_MSR_RPRT = 1,
1: - WLAN_ACTION_SPCT_TPC_REQ = 2,
1: - WLAN_ACTION_SPCT_TPC_RPRT = 3,
1: - WLAN_ACTION_SPCT_CHL_SWITCH = 4,
1: + WLAN_ACTION_SPCT_MSR_REQ = 0,
1: + WLAN_ACTION_SPCT_MSR_RPRT = 1,
1: + WLAN_ACTION_SPCT_TPC_REQ = 2,
1: + WLAN_ACTION_SPCT_TPC_RPRT = 3,
1: + WLAN_ACTION_SPCT_CHL_SWITCH = 4,
1: };
1:
1: struct ieee80211_csa_ie {
1: - struct cfg80211_chan_def chandef;
1: - u8 mode;
1: - u8 count;
1: - u8 ttl;
1: - u16 pre_value;
1: - u16 reason_code;
1: - u32 max_switch_time;
1: + struct cfg80211_chan_def chandef;
1: + u8 mode;
1: + u8 count;
1: + u8 ttl;
1: + u16 pre_value;
1: + u16 reason_code;
1: + u32 max_switch_time;
1: };
1:
1: enum ieee80211_vht_actioncode {
1: - WLAN_VHT_ACTION_COMPRESSED_BF = 0,
1: - WLAN_VHT_ACTION_GROUPID_MGMT = 1,
1: - WLAN_VHT_ACTION_OPMODE_NOTIF = 2,
1: + WLAN_VHT_ACTION_COMPRESSED_BF = 0,
1: + WLAN_VHT_ACTION_GROUPID_MGMT = 1,
1: + WLAN_VHT_ACTION_OPMODE_NOTIF = 2,
1: };
1:
1: enum ieee80211_tpt_led_trigger_flags {
1: - IEEE80211_TPT_LEDTRIG_FL_RADIO = 1,
1: - IEEE80211_TPT_LEDTRIG_FL_WORK = 2,
1: - IEEE80211_TPT_LEDTRIG_FL_CONNECTED = 4,
1: + IEEE80211_TPT_LEDTRIG_FL_RADIO = 1,
1: + IEEE80211_TPT_LEDTRIG_FL_WORK = 2,
1: + IEEE80211_TPT_LEDTRIG_FL_CONNECTED = 4,
1: };
1:
1: struct rate_control_alg {
1: - struct list_head list;
1: - const struct rate_control_ops *ops;
1: + struct list_head list;
1: + const struct rate_control_ops *ops;
1: };
1:
1: struct michael_mic_ctx {
1: - u32 l;
1: - u32 r;
1: + u32 l;
1: + u32 r;
1: };
1:
1: struct ieee80211_csa_settings {
1: - const u16 *counter_offsets_beacon;
1: - const u16 *counter_offsets_presp;
1: - int n_counter_offsets_beacon;
1: - int n_counter_offsets_presp;
1: - u8 count;
1: + const u16 *counter_offsets_beacon;
1: + const u16 *counter_offsets_presp;
1: + int n_counter_offsets_beacon;
1: + int n_counter_offsets_presp;
1: + u8 count;
1: };
1:
1: struct ieee80211_hdr_3addr {
1: - __le16 frame_control;
1: - __le16 duration_id;
1: - u8 addr1[6];
1: - u8 addr2[6];
1: - u8 addr3[6];
1: - __le16 seq_ctrl;
1: + __le16 frame_control;
1: + __le16 duration_id;
1: + u8 addr1[6];
1: + u8 addr2[6];
1: + u8 addr3[6];
1: + __le16 seq_ctrl;
1: };
1:
1: enum ieee80211_ht_chanwidth_values {
1: - IEEE80211_HT_CHANWIDTH_20MHZ = 0,
1: - IEEE80211_HT_CHANWIDTH_ANY = 1,
1: + IEEE80211_HT_CHANWIDTH_20MHZ = 0,
1: + IEEE80211_HT_CHANWIDTH_ANY = 1,
1: };
1:
1: struct ieee80211_tdls_data {
1: - u8 da[6];
1: - u8 sa[6];
1: - __be16 ether_type;
1: - u8 payload_type;
1: - u8 category;
1: - u8 action_code;
1: - union {
1: - struct {
1: - u8 dialog_token;
1: - __le16 capability;
1: - u8 variable[0];
1: - } __attribute__((packed)) setup_req;
1: - struct {
1: - __le16 status_code;
1: - u8 dialog_token;
1: - __le16 capability;
1: - u8 variable[0];
1: - } __attribute__((packed)) setup_resp;
1: - struct {
1: - __le16 status_code;
1: - u8 dialog_token;
1: - u8 variable[0];
1: - } __attribute__((packed)) setup_cfm;
1: - struct {
1: - __le16 reason_code;
1: - u8 variable[0];
1: - } teardown;
1: - struct {
1: - u8 dialog_token;
1: - u8 variable[0];
1: - } discover_req;
1: - struct {
1: - u8 target_channel;
1: - u8 oper_class;
1: - u8 variable[0];
1: - } chan_switch_req;
1: - struct {
1: - __le16 status_code;
1: - u8 variable[0];
1: - } chan_switch_resp;
1: - } u;
1: + u8 da[6];
1: + u8 sa[6];
1: + __be16 ether_type;
1: + u8 payload_type;
1: + u8 category;
1: + u8 action_code;
1: + union {
1: + struct {
1: + u8 dialog_token;
1: + __le16 capability;
1: + u8 variable[0];
1: + } __attribute__((packed)) setup_req;
1: + struct {
1: + __le16 status_code;
1: + u8 dialog_token;
1: + __le16 capability;
1: + u8 variable[0];
1: + } __attribute__((packed)) setup_resp;
1: + struct {
1: + __le16 status_code;
1: + u8 dialog_token;
1: + u8 variable[0];
1: + } __attribute__((packed)) setup_cfm;
1: + struct {
1: + __le16 reason_code;
1: + u8 variable[0];
1: + } teardown;
1: + struct {
1: + u8 dialog_token;
1: + u8 variable[0];
1: + } discover_req;
1: + struct {
1: + u8 target_channel;
1: + u8 oper_class;
1: + u8 variable[0];
1: + } chan_switch_req;
1: + struct {
1: + __le16 status_code;
1: + u8 variable[0];
1: + } chan_switch_resp;
1: + } u;
1: } __attribute__((packed));
1:
1: enum ieee80211_self_protected_actioncode {
1: - WLAN_SP_RESERVED = 0,
1: - WLAN_SP_MESH_PEERING_OPEN = 1,
1: - WLAN_SP_MESH_PEERING_CONFIRM = 2,
1: - WLAN_SP_MESH_PEERING_CLOSE = 3,
1: - WLAN_SP_MGK_INFORM = 4,
1: - WLAN_SP_MGK_ACK = 5,
1: + WLAN_SP_RESERVED = 0,
1: + WLAN_SP_MESH_PEERING_OPEN = 1,
1: + WLAN_SP_MESH_PEERING_CONFIRM = 2,
1: + WLAN_SP_MESH_PEERING_CLOSE = 3,
1: + WLAN_SP_MGK_INFORM = 4,
1: + WLAN_SP_MGK_ACK = 5,
1: };
1:
1: enum ieee80211_pub_actioncode {
1: - WLAN_PUB_ACTION_20_40_BSS_COEX = 0,
1: - WLAN_PUB_ACTION_DSE_ENABLEMENT = 1,
1: - WLAN_PUB_ACTION_DSE_DEENABLEMENT = 2,
1: - WLAN_PUB_ACTION_DSE_REG_LOC_ANN = 3,
1: - WLAN_PUB_ACTION_EXT_CHANSW_ANN = 4,
1: - WLAN_PUB_ACTION_DSE_MSMT_REQ = 5,
1: - WLAN_PUB_ACTION_DSE_MSMT_RESP = 6,
1: - WLAN_PUB_ACTION_MSMT_PILOT = 7,
1: - WLAN_PUB_ACTION_DSE_PC = 8,
1: - WLAN_PUB_ACTION_VENDOR_SPECIFIC = 9,
1: - WLAN_PUB_ACTION_GAS_INITIAL_REQ = 10,
1: - WLAN_PUB_ACTION_GAS_INITIAL_RESP = 11,
1: - WLAN_PUB_ACTION_GAS_COMEBACK_REQ = 12,
1: - WLAN_PUB_ACTION_GAS_COMEBACK_RESP = 13,
1: - WLAN_PUB_ACTION_TDLS_DISCOVER_RES = 14,
1: - WLAN_PUB_ACTION_LOC_TRACK_NOTI = 15,
1: - WLAN_PUB_ACTION_QAB_REQUEST_FRAME = 16,
1: - WLAN_PUB_ACTION_QAB_RESPONSE_FRAME = 17,
1: - WLAN_PUB_ACTION_QMF_POLICY = 18,
1: - WLAN_PUB_ACTION_QMF_POLICY_CHANGE = 19,
1: - WLAN_PUB_ACTION_QLOAD_REQUEST = 20,
1: - WLAN_PUB_ACTION_QLOAD_REPORT = 21,
1: - WLAN_PUB_ACTION_HCCA_TXOP_ADVERT = 22,
1: - WLAN_PUB_ACTION_HCCA_TXOP_RESPONSE = 23,
1: - WLAN_PUB_ACTION_PUBLIC_KEY = 24,
1: - WLAN_PUB_ACTION_CHANNEL_AVAIL_QUERY = 25,
1: - WLAN_PUB_ACTION_CHANNEL_SCHEDULE_MGMT = 26,
1: - WLAN_PUB_ACTION_CONTACT_VERI_SIGNAL = 27,
1: - WLAN_PUB_ACTION_GDD_ENABLEMENT_REQ = 28,
1: - WLAN_PUB_ACTION_GDD_ENABLEMENT_RESP = 29,
1: - WLAN_PUB_ACTION_NETWORK_CHANNEL_CONTROL = 30,
1: - WLAN_PUB_ACTION_WHITE_SPACE_MAP_ANN = 31,
1: - WLAN_PUB_ACTION_FTM_REQUEST = 32,
1: - WLAN_PUB_ACTION_FTM = 33,
1: - WLAN_PUB_ACTION_FILS_DISCOVERY = 34,
1: + WLAN_PUB_ACTION_20_40_BSS_COEX = 0,
1: + WLAN_PUB_ACTION_DSE_ENABLEMENT = 1,
1: + WLAN_PUB_ACTION_DSE_DEENABLEMENT = 2,
1: + WLAN_PUB_ACTION_DSE_REG_LOC_ANN = 3,
1: + WLAN_PUB_ACTION_EXT_CHANSW_ANN = 4,
1: + WLAN_PUB_ACTION_DSE_MSMT_REQ = 5,
1: + WLAN_PUB_ACTION_DSE_MSMT_RESP = 6,
1: + WLAN_PUB_ACTION_MSMT_PILOT = 7,
1: + WLAN_PUB_ACTION_DSE_PC = 8,
1: + WLAN_PUB_ACTION_VENDOR_SPECIFIC = 9,
1: + WLAN_PUB_ACTION_GAS_INITIAL_REQ = 10,
1: + WLAN_PUB_ACTION_GAS_INITIAL_RESP = 11,
1: + WLAN_PUB_ACTION_GAS_COMEBACK_REQ = 12,
1: + WLAN_PUB_ACTION_GAS_COMEBACK_RESP = 13,
1: + WLAN_PUB_ACTION_TDLS_DISCOVER_RES = 14,
1: + WLAN_PUB_ACTION_LOC_TRACK_NOTI = 15,
1: + WLAN_PUB_ACTION_QAB_REQUEST_FRAME = 16,
1: + WLAN_PUB_ACTION_QAB_RESPONSE_FRAME = 17,
1: + WLAN_PUB_ACTION_QMF_POLICY = 18,
1: + WLAN_PUB_ACTION_QMF_POLICY_CHANGE = 19,
1: + WLAN_PUB_ACTION_QLOAD_REQUEST = 20,
1: + WLAN_PUB_ACTION_QLOAD_REPORT = 21,
1: + WLAN_PUB_ACTION_HCCA_TXOP_ADVERT = 22,
1: + WLAN_PUB_ACTION_HCCA_TXOP_RESPONSE = 23,
1: + WLAN_PUB_ACTION_PUBLIC_KEY = 24,
1: + WLAN_PUB_ACTION_CHANNEL_AVAIL_QUERY = 25,
1: + WLAN_PUB_ACTION_CHANNEL_SCHEDULE_MGMT = 26,
1: + WLAN_PUB_ACTION_CONTACT_VERI_SIGNAL = 27,
1: + WLAN_PUB_ACTION_GDD_ENABLEMENT_REQ = 28,
1: + WLAN_PUB_ACTION_GDD_ENABLEMENT_RESP = 29,
1: + WLAN_PUB_ACTION_NETWORK_CHANNEL_CONTROL = 30,
1: + WLAN_PUB_ACTION_WHITE_SPACE_MAP_ANN = 31,
1: + WLAN_PUB_ACTION_FTM_REQUEST = 32,
1: + WLAN_PUB_ACTION_FTM = 33,
1: + WLAN_PUB_ACTION_FILS_DISCOVERY = 34,
1: };
1:
1: enum ieee80211_sa_query_action {
1: - WLAN_ACTION_SA_QUERY_REQUEST = 0,
1: - WLAN_ACTION_SA_QUERY_RESPONSE = 1,
1: + WLAN_ACTION_SA_QUERY_REQUEST = 0,
1: + WLAN_ACTION_SA_QUERY_RESPONSE = 1,
1: };
1:
1: enum ieee80211_radiotap_flags {
1: - IEEE80211_RADIOTAP_F_CFP = 1,
1: - IEEE80211_RADIOTAP_F_SHORTPRE = 2,
1: - IEEE80211_RADIOTAP_F_WEP = 4,
1: - IEEE80211_RADIOTAP_F_FRAG = 8,
1: - IEEE80211_RADIOTAP_F_FCS = 16,
1: - IEEE80211_RADIOTAP_F_DATAPAD = 32,
1: - IEEE80211_RADIOTAP_F_BADFCS = 64,
1: + IEEE80211_RADIOTAP_F_CFP = 1,
1: + IEEE80211_RADIOTAP_F_SHORTPRE = 2,
1: + IEEE80211_RADIOTAP_F_WEP = 4,
1: + IEEE80211_RADIOTAP_F_FRAG = 8,
1: + IEEE80211_RADIOTAP_F_FCS = 16,
1: + IEEE80211_RADIOTAP_F_DATAPAD = 32,
1: + IEEE80211_RADIOTAP_F_BADFCS = 64,
1: };
1:
1: enum ieee80211_radiotap_channel_flags {
1: - IEEE80211_CHAN_CCK = 32,
1: - IEEE80211_CHAN_OFDM = 64,
1: - IEEE80211_CHAN_2GHZ = 128,
1: - IEEE80211_CHAN_5GHZ = 256,
1: - IEEE80211_CHAN_DYN = 1024,
1: - IEEE80211_CHAN_HALF = 16384,
1: - IEEE80211_CHAN_QUARTER = 32768,
1: + IEEE80211_CHAN_CCK = 32,
1: + IEEE80211_CHAN_OFDM = 64,
1: + IEEE80211_CHAN_2GHZ = 128,
1: + IEEE80211_CHAN_5GHZ = 256,
1: + IEEE80211_CHAN_DYN = 1024,
1: + IEEE80211_CHAN_HALF = 16384,
1: + IEEE80211_CHAN_QUARTER = 32768,
1: };
1:
1: enum ieee80211_radiotap_rx_flags {
1: - IEEE80211_RADIOTAP_F_RX_BADPLCP = 2,
1: + IEEE80211_RADIOTAP_F_RX_BADPLCP = 2,
1: };
1:
1: enum ieee80211_radiotap_ampdu_flags {
1: - IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN = 1,
1: - IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN = 2,
1: - IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN = 4,
1: - IEEE80211_RADIOTAP_AMPDU_IS_LAST = 8,
1: - IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_ERR = 16,
1: - IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_KNOWN = 32,
1: - IEEE80211_RADIOTAP_AMPDU_EOF = 64,
1: - IEEE80211_RADIOTAP_AMPDU_EOF_KNOWN = 128,
1: + IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN = 1,
1: + IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN = 2,
1: + IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN = 4,
1: + IEEE80211_RADIOTAP_AMPDU_IS_LAST = 8,
1: + IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_ERR = 16,
1: + IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_KNOWN = 32,
1: + IEEE80211_RADIOTAP_AMPDU_EOF = 64,
1: + IEEE80211_RADIOTAP_AMPDU_EOF_KNOWN = 128,
1: };
1:
1: enum ieee80211_radiotap_vht_coding {
1: - IEEE80211_RADIOTAP_CODING_LDPC_USER0 = 1,
1: - IEEE80211_RADIOTAP_CODING_LDPC_USER1 = 2,
1: - IEEE80211_RADIOTAP_CODING_LDPC_USER2 = 4,
1: - IEEE80211_RADIOTAP_CODING_LDPC_USER3 = 8,
1: + IEEE80211_RADIOTAP_CODING_LDPC_USER0 = 1,
1: + IEEE80211_RADIOTAP_CODING_LDPC_USER1 = 2,
1: + IEEE80211_RADIOTAP_CODING_LDPC_USER2 = 4,
1: + IEEE80211_RADIOTAP_CODING_LDPC_USER3 = 8,
1: };
1:
1: enum ieee80211_radiotap_timestamp_flags {
1: - IEEE80211_RADIOTAP_TIMESTAMP_FLAG_64BIT = 0,
1: - IEEE80211_RADIOTAP_TIMESTAMP_FLAG_32BIT = 1,
1: - IEEE80211_RADIOTAP_TIMESTAMP_FLAG_ACCURACY = 2,
1: + IEEE80211_RADIOTAP_TIMESTAMP_FLAG_64BIT = 0,
1: + IEEE80211_RADIOTAP_TIMESTAMP_FLAG_32BIT = 1,
1: + IEEE80211_RADIOTAP_TIMESTAMP_FLAG_ACCURACY = 2,
1: };
1:
1: struct ieee80211_radiotap_he_mu {
1: - __le16 flags1;
1: - __le16 flags2;
1: - u8 ru_ch1[4];
1: - u8 ru_ch2[4];
1: + __le16 flags1;
1: + __le16 flags2;
1: + u8 ru_ch1[4];
1: + u8 ru_ch2[4];
1: };
1:
1: struct ieee80211_radiotap_lsig {
1: - __le16 data1;
1: - __le16 data2;
1: + __le16 data1;
1: + __le16 data2;
1: };
1:
1: enum mac80211_rx_encoding_flags {
1: - RX_ENC_FLAG_SHORTPRE = 1,
1: - RX_ENC_FLAG_SHORT_GI = 4,
1: - RX_ENC_FLAG_HT_GF = 8,
1: - RX_ENC_FLAG_STBC_MASK = 48,
1: - RX_ENC_FLAG_LDPC = 64,
1: - RX_ENC_FLAG_BF = 128,
1: + RX_ENC_FLAG_SHORTPRE = 1,
1: + RX_ENC_FLAG_SHORT_GI = 4,
1: + RX_ENC_FLAG_HT_GF = 8,
1: + RX_ENC_FLAG_STBC_MASK = 48,
1: + RX_ENC_FLAG_LDPC = 64,
1: + RX_ENC_FLAG_BF = 128,
1: };
1:
1: struct ieee80211_vendor_radiotap {
1: - u32 present;
1: - u8 align;
1: - u8 oui[3];
1: - u8 subns;
1: - u8 pad;
1: - u16 len;
1: - u8 data[0];
1: + u32 present;
1: + u8 align;
1: + u8 oui[3];
1: + u8 subns;
1: + u8 pad;
1: + u16 len;
1: + u8 data[0];
1: };
1:
1: enum ieee80211_packet_rx_flags {
1: - IEEE80211_RX_AMSDU = 8,
1: - IEEE80211_RX_MALFORMED_ACTION_FRM = 16,
1: - IEEE80211_RX_DEFERRED_RELEASE = 32,
1: + IEEE80211_RX_AMSDU = 8,
1: + IEEE80211_RX_MALFORMED_ACTION_FRM = 16,
1: + IEEE80211_RX_DEFERRED_RELEASE = 32,
1: };
1:
1: enum ieee80211_rx_flags {
1: - IEEE80211_RX_CMNTR = 1,
1: - IEEE80211_RX_BEACON_REPORTED = 2,
1: + IEEE80211_RX_CMNTR = 1,
1: + IEEE80211_RX_BEACON_REPORTED = 2,
1: };
1:
1: struct ieee80211_rts {
1: - __le16 frame_control;
1: - __le16 duration;
1: - u8 ra[6];
1: - u8 ta[6];
1: + __le16 frame_control;
1: + __le16 duration;
1: + u8 ra[6];
1: + u8 ta[6];
1: };
1:
1: struct ieee80211_cts {
1: - __le16 frame_control;
1: - __le16 duration;
1: - u8 ra[6];
1: + __le16 frame_control;
1: + __le16 duration;
1: + u8 ra[6];
1: };
1:
1: struct ieee80211_pspoll {
1: - __le16 frame_control;
1: - __le16 aid;
1: - u8 bssid[6];
1: - u8 ta[6];
1: + __le16 frame_control;
1: + __le16 aid;
1: + u8 bssid[6];
1: + u8 ta[6];
1: };
1:
1: typedef u32 (*codel_skb_len_t)(const struct sk_buff *);
1: @@ -120154,1087 +121143,1091 @@ typedef codel_time_t (*codel_skb_time_t)(const struct sk_buff *);
1:
1: typedef void (*codel_skb_drop_t)(struct sk_buff *, void *);
1:
1: -typedef struct sk_buff * (*codel_skb_dequeue_t)(struct codel_vars *, void *);
1: +typedef struct sk_buff *(*codel_skb_dequeue_t)(struct codel_vars *, void *);
1:
1: struct ieee80211_mutable_offsets {
1: - u16 tim_offset;
1: - u16 tim_length;
1: - u16 csa_counter_offs[2];
1: + u16 tim_offset;
1: + u16 tim_length;
1: + u16 csa_counter_offs[2];
1: };
1:
1: -typedef struct sk_buff *fq_tin_dequeue_t(struct fq *, struct fq_tin *, struct fq_flow *);
1: +typedef struct sk_buff *fq_tin_dequeue_t(struct fq *, struct fq_tin *,
1: + struct fq_flow *);
1:
1: -typedef void fq_skb_free_t(struct fq *, struct fq_tin *, struct fq_flow *, struct sk_buff *);
1: +typedef void fq_skb_free_t(struct fq *, struct fq_tin *, struct fq_flow *,
1: + struct sk_buff *);
1:
1: -typedef bool fq_skb_filter_t(struct fq *, struct fq_tin *, struct fq_flow *, struct sk_buff *, void *);
1: +typedef bool fq_skb_filter_t(struct fq *, struct fq_tin *, struct fq_flow *,
1: + struct sk_buff *, void *);
1:
1: -typedef struct fq_flow *fq_flow_get_default_t(struct fq *, struct fq_tin *, int, struct sk_buff *);
1: +typedef struct fq_flow *fq_flow_get_default_t(struct fq *, struct fq_tin *, int,
1: + struct sk_buff *);
1:
1: enum mesh_path_flags {
1: - MESH_PATH_ACTIVE = 1,
1: - MESH_PATH_RESOLVING = 2,
1: - MESH_PATH_SN_VALID = 4,
1: - MESH_PATH_FIXED = 8,
1: - MESH_PATH_RESOLVED = 16,
1: - MESH_PATH_REQ_QUEUED = 32,
1: - MESH_PATH_DELETED = 64,
1: + MESH_PATH_ACTIVE = 1,
1: + MESH_PATH_RESOLVING = 2,
1: + MESH_PATH_SN_VALID = 4,
1: + MESH_PATH_FIXED = 8,
1: + MESH_PATH_RESOLVED = 16,
1: + MESH_PATH_REQ_QUEUED = 32,
1: + MESH_PATH_DELETED = 64,
1: };
1:
1: struct mesh_path {
1: - u8 dst[6];
1: - u8 mpp[6];
1: - struct rhash_head rhash;
1: - struct hlist_node walk_list;
1: - struct hlist_node gate_list;
1: - struct ieee80211_sub_if_data *sdata;
1: - struct sta_info *next_hop;
1: - struct timer_list timer;
1: - struct sk_buff_head frame_queue;
1: - struct callback_head rcu;
1: - u32 sn;
1: - u32 metric;
1: - u8 hop_count;
1: - long unsigned int exp_time;
1: - u32 discovery_timeout;
1: - u8 discovery_retries;
1: - enum mesh_path_flags flags;
1: - spinlock_t state_lock;
1: - u8 rann_snd_addr[6];
1: - u32 rann_metric;
1: - long unsigned int last_preq_to_root;
1: - bool is_root;
1: - bool is_gate;
1: - u32 path_change_count;
1: + u8 dst[6];
1: + u8 mpp[6];
1: + struct rhash_head rhash;
1: + struct hlist_node walk_list;
1: + struct hlist_node gate_list;
1: + struct ieee80211_sub_if_data *sdata;
1: + struct sta_info *next_hop;
1: + struct timer_list timer;
1: + struct sk_buff_head frame_queue;
1: + struct callback_head rcu;
1: + u32 sn;
1: + u32 metric;
1: + u8 hop_count;
1: + long unsigned int exp_time;
1: + u32 discovery_timeout;
1: + u8 discovery_retries;
1: + enum mesh_path_flags flags;
1: + spinlock_t state_lock;
1: + u8 rann_snd_addr[6];
1: + u32 rann_metric;
1: + long unsigned int last_preq_to_root;
1: + bool is_root;
1: + bool is_gate;
1: + u32 path_change_count;
1: };
1:
1: enum ieee80211_interface_iteration_flags {
1: - IEEE80211_IFACE_ITER_NORMAL = 0,
1: - IEEE80211_IFACE_ITER_RESUME_ALL = 1,
1: - IEEE80211_IFACE_ITER_ACTIVE = 2,
1: + IEEE80211_IFACE_ITER_NORMAL = 0,
1: + IEEE80211_IFACE_ITER_RESUME_ALL = 1,
1: + IEEE80211_IFACE_ITER_ACTIVE = 2,
1: };
1:
1: struct ieee80211_noa_data {
1: - u32 next_tsf;
1: - bool has_next_tsf;
1: - u8 absent;
1: - u8 count[4];
1: - struct {
1: - u32 start;
1: - u32 duration;
1: - u32 interval;
1: - } desc[4];
1: + u32 next_tsf;
1: + bool has_next_tsf;
1: + u8 absent;
1: + u8 count[4];
1: + struct {
1: + u32 start;
1: + u32 duration;
1: + u32 interval;
1: + } desc[4];
1: };
1:
1: enum ieee80211_chanctx_change {
1: - IEEE80211_CHANCTX_CHANGE_WIDTH = 1,
1: - IEEE80211_CHANCTX_CHANGE_RX_CHAINS = 2,
1: - IEEE80211_CHANCTX_CHANGE_RADAR = 4,
1: - IEEE80211_CHANCTX_CHANGE_CHANNEL = 8,
1: - IEEE80211_CHANCTX_CHANGE_MIN_WIDTH = 16,
1: + IEEE80211_CHANCTX_CHANGE_WIDTH = 1,
1: + IEEE80211_CHANCTX_CHANGE_RX_CHAINS = 2,
1: + IEEE80211_CHANCTX_CHANGE_RADAR = 4,
1: + IEEE80211_CHANCTX_CHANGE_CHANNEL = 8,
1: + IEEE80211_CHANCTX_CHANGE_MIN_WIDTH = 16,
1: };
1:
1: struct trace_vif_entry {
1: - enum nl80211_iftype vif_type;
1: - bool p2p;
1: - char vif_name[16];
1: + enum nl80211_iftype vif_type;
1: + bool p2p;
1: + char vif_name[16];
1: } __attribute__((packed));
1:
1: struct trace_chandef_entry {
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: };
1:
1: struct trace_switch_entry {
1: - struct trace_vif_entry vif;
1: - struct trace_chandef_entry old_chandef;
1: - struct trace_chandef_entry new_chandef;
1: + struct trace_vif_entry vif;
1: + struct trace_chandef_entry old_chandef;
1: + struct trace_chandef_entry new_chandef;
1: } __attribute__((packed));
1:
1: struct trace_event_raw_local_only_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_local_sdata_addr_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_local_u32_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 value;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 value;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_local_sdata_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_return_int {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_return_bool {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - bool ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_return_u32 {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_return_u64 {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u64 ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u64 ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_wakeup {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - bool enabled;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool enabled;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_change_interface {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 new_type;
1: - bool new_p2p;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 new_type;
1: + bool new_p2p;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_config {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 changed;
1: - u32 flags;
1: - int power_level;
1: - int dynamic_ps_timeout;
1: - u16 listen_interval;
1: - u8 long_frame_max_tx_count;
1: - u8 short_frame_max_tx_count;
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - int smps;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 changed;
1: + u32 flags;
1: + int power_level;
1: + int dynamic_ps_timeout;
1: + u16 listen_interval;
1: + u8 long_frame_max_tx_count;
1: + u8 short_frame_max_tx_count;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + int smps;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_bss_info_changed {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 changed;
1: - bool assoc;
1: - bool ibss_joined;
1: - bool ibss_creator;
1: - u16 aid;
1: - bool cts;
1: - bool shortpre;
1: - bool shortslot;
1: - bool enable_beacon;
1: - u8 dtimper;
1: - u16 bcnint;
1: - u16 assoc_cap;
1: - u64 sync_tsf;
1: - u32 sync_device_ts;
1: - u8 sync_dtim_count;
1: - u32 basic_rates;
1: - int mcast_rate[4];
1: - u16 ht_operation_mode;
1: - s32 cqm_rssi_thold;
1: - s32 cqm_rssi_hyst;
1: - u32 channel_width;
1: - u32 channel_cfreq1;
1: - u32 __data_loc_arp_addr_list;
1: - int arp_addr_cnt;
1: - bool qos;
1: - bool idle;
1: - bool ps;
1: - u32 __data_loc_ssid;
1: - bool hidden_ssid;
1: - int txpower;
1: - u8 p2p_oppps_ctwindow;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 changed;
1: + bool assoc;
1: + bool ibss_joined;
1: + bool ibss_creator;
1: + u16 aid;
1: + bool cts;
1: + bool shortpre;
1: + bool shortslot;
1: + bool enable_beacon;
1: + u8 dtimper;
1: + u16 bcnint;
1: + u16 assoc_cap;
1: + u64 sync_tsf;
1: + u32 sync_device_ts;
1: + u8 sync_dtim_count;
1: + u32 basic_rates;
1: + int mcast_rate[4];
1: + u16 ht_operation_mode;
1: + s32 cqm_rssi_thold;
1: + s32 cqm_rssi_hyst;
1: + u32 channel_width;
1: + u32 channel_cfreq1;
1: + u32 __data_loc_arp_addr_list;
1: + int arp_addr_cnt;
1: + bool qos;
1: + bool idle;
1: + bool ps;
1: + u32 __data_loc_ssid;
1: + bool hidden_ssid;
1: + int txpower;
1: + u8 p2p_oppps_ctwindow;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_prepare_multicast {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int mc_count;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int mc_count;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_configure_filter {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - unsigned int changed;
1: - unsigned int total;
1: - u64 multicast;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + unsigned int changed;
1: + unsigned int total;
1: + u64 multicast;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_config_iface_filter {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - unsigned int filter_flags;
1: - unsigned int changed_flags;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + unsigned int filter_flags;
1: + unsigned int changed_flags;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_tim {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char sta_addr[6];
1: - bool set;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + bool set;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_key {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - u32 cipher;
1: - u8 hw_key_idx;
1: - u8 flags;
1: - s8 keyidx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 cipher;
1: + u8 hw_key_idx;
1: + u8 flags;
1: + s8 keyidx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_update_tkip_key {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - u32 iv32;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 iv32;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_sw_scan_start {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char mac_addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char mac_addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_get_stats {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int ret;
1: - unsigned int ackfail;
1: - unsigned int rtsfail;
1: - unsigned int fcserr;
1: - unsigned int rtssucc;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int ret;
1: + unsigned int ackfail;
1: + unsigned int rtsfail;
1: + unsigned int fcserr;
1: + unsigned int rtssucc;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_get_key_seq {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 cipher;
1: - u8 hw_key_idx;
1: - u8 flags;
1: - s8 keyidx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 cipher;
1: + u8 hw_key_idx;
1: + u8 flags;
1: + s8 keyidx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_coverage_class {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - s16 value;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + s16 value;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_sta_notify {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - u32 cmd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 cmd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_sta_state {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - u32 old_state;
1: - u32 new_state;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 old_state;
1: + u32 new_state;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_sta_set_txpwr {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - s16 txpwr;
1: - u8 type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + s16 txpwr;
1: + u8 type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_sta_rc_update {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - u32 changed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u32 changed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_sta_event {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_conf_tx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u16 ac;
1: - u16 txop;
1: - u16 cw_min;
1: - u16 cw_max;
1: - u8 aifs;
1: - bool uapsd;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u16 ac;
1: + u16 txop;
1: + u16 cw_min;
1: + u16 cw_max;
1: + u8 aifs;
1: + bool uapsd;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_tsf {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u64 tsf;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u64 tsf;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_offset_tsf {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - s64 tsf_offset;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + s64 tsf_offset;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_ampdu_action {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - enum ieee80211_ampdu_mlme_action ieee80211_ampdu_mlme_action;
1: - char sta_addr[6];
1: - u16 tid;
1: - u16 ssn;
1: - u16 buf_size;
1: - bool amsdu;
1: - u16 timeout;
1: - u16 action;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + enum ieee80211_ampdu_mlme_action ieee80211_ampdu_mlme_action;
1: + char sta_addr[6];
1: + u16 tid;
1: + u16 ssn;
1: + u16 buf_size;
1: + bool amsdu;
1: + u16 timeout;
1: + u16 action;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_get_survey {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int idx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int idx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_flush {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - bool drop;
1: - u32 queues;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool drop;
1: + u32 queues;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_channel_switch {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - u64 timestamp;
1: - u32 device_timestamp;
1: - bool block_tx;
1: - u8 count;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u64 timestamp;
1: + u32 device_timestamp;
1: + bool block_tx;
1: + u8 count;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_antenna {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 tx_ant;
1: - u32 rx_ant;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx_ant;
1: + u32 rx_ant;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_get_antenna {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 tx_ant;
1: - u32 rx_ant;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx_ant;
1: + u32 rx_ant;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_remain_on_channel {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - int center_freq;
1: - unsigned int duration;
1: - u32 type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + int center_freq;
1: + unsigned int duration;
1: + u32 type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_ringparam {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 tx;
1: - u32 rx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx;
1: + u32 rx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_get_ringparam {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 tx;
1: - u32 tx_max;
1: - u32 rx;
1: - u32 rx_max;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 tx;
1: + u32 tx_max;
1: + u32 rx;
1: + u32 rx_max;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_bitrate_mask {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 legacy_2g;
1: - u32 legacy_5g;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 legacy_2g;
1: + u32 legacy_5g;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_rekey_data {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 kek[16];
1: - u8 kck[16];
1: - u8 replay_ctr[8];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 kek[16];
1: + u8 kck[16];
1: + u8 replay_ctr[8];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_event_callback {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_release_evt {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char sta_addr[6];
1: - u16 tids;
1: - int num_frames;
1: - int reason;
1: - bool more_data;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + u16 tids;
1: + int num_frames;
1: + int reason;
1: + bool more_data;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_mgd_prepare_tx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 duration;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 duration;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_local_chanctx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - u32 min_control_freq;
1: - u32 min_chan_width;
1: - u32 min_center_freq1;
1: - u32 min_center_freq2;
1: - u8 rx_chains_static;
1: - u8 rx_chains_dynamic;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 min_control_freq;
1: + u32 min_chan_width;
1: + u32 min_center_freq1;
1: + u32 min_center_freq2;
1: + u8 rx_chains_static;
1: + u8 rx_chains_dynamic;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_change_chanctx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - u32 min_control_freq;
1: - u32 min_chan_width;
1: - u32 min_center_freq1;
1: - u32 min_center_freq2;
1: - u8 rx_chains_static;
1: - u8 rx_chains_dynamic;
1: - u32 changed;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 min_control_freq;
1: + u32 min_chan_width;
1: + u32 min_center_freq1;
1: + u32 min_center_freq2;
1: + u8 rx_chains_static;
1: + u8 rx_chains_dynamic;
1: + u32 changed;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_switch_vif_chanctx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - int n_vifs;
1: - u32 mode;
1: - u32 __data_loc_vifs;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + int n_vifs;
1: + u32 mode;
1: + u32 __data_loc_vifs;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_local_sdata_chanctx {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - u32 min_control_freq;
1: - u32 min_chan_width;
1: - u32 min_center_freq1;
1: - u32 min_center_freq2;
1: - u8 rx_chains_static;
1: - u8 rx_chains_dynamic;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 min_control_freq;
1: + u32 min_chan_width;
1: + u32 min_center_freq1;
1: + u32 min_center_freq2;
1: + u8 rx_chains_static;
1: + u8 rx_chains_dynamic;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_start_ap {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 dtimper;
1: - u16 bcnint;
1: - u32 __data_loc_ssid;
1: - bool hidden_ssid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 dtimper;
1: + u16 bcnint;
1: + u32 __data_loc_ssid;
1: + bool hidden_ssid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_reconfig_complete {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u8 reconfig_type;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u8 reconfig_type;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_join_ibss {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 dtimper;
1: - u16 bcnint;
1: - u32 __data_loc_ssid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 dtimper;
1: + u16 bcnint;
1: + u32 __data_loc_ssid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_get_expected_throughput {
1: - struct trace_entry ent;
1: - char sta_addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char sta_addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_start_nan {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 master_pref;
1: - u8 bands;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 master_pref;
1: + u8 bands;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_stop_nan {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_nan_change_conf {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 master_pref;
1: - u8 bands;
1: - u32 changes;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 master_pref;
1: + u8 bands;
1: + u32 changes;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_add_nan_func {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 type;
1: - u8 inst_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 type;
1: + u8 inst_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_del_nan_func {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 instance_id;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 instance_id;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_start_tx_ba_session {
1: - struct trace_entry ent;
1: - char sta_addr[6];
1: - u16 tid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char sta_addr[6];
1: + u16 tid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_start_tx_ba_cb {
1: - struct trace_entry ent;
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 ra[6];
1: - u16 tid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 ra[6];
1: + u16 tid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_stop_tx_ba_session {
1: - struct trace_entry ent;
1: - char sta_addr[6];
1: - u16 tid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char sta_addr[6];
1: + u16 tid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_stop_tx_ba_cb {
1: - struct trace_entry ent;
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 ra[6];
1: - u16 tid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 ra[6];
1: + u16 tid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_beacon_loss {
1: - struct trace_entry ent;
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_connection_loss {
1: - struct trace_entry ent;
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_cqm_rssi_notify {
1: - struct trace_entry ent;
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 rssi_event;
1: - s32 rssi_level;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 rssi_event;
1: + s32 rssi_level;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_scan_completed {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - bool aborted;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + bool aborted;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_sched_scan_results {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_sched_scan_stopped {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_sta_block_awake {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char sta_addr[6];
1: - bool block;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + bool block;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_chswitch_done {
1: - struct trace_entry ent;
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - bool success;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + bool success;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_gtk_rekey_notify {
1: - struct trace_entry ent;
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 bssid[6];
1: - u8 replay_ctr[8];
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 bssid[6];
1: + u8 replay_ctr[8];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_enable_rssi_reports {
1: - struct trace_entry ent;
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - int rssi_min_thold;
1: - int rssi_max_thold;
1: - char __data[0];
1: + struct trace_entry ent;
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + int rssi_min_thold;
1: + int rssi_max_thold;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_eosp {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char sta_addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_send_eosp_nullfunc {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char sta_addr[6];
1: - u8 tid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + u8 tid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_sta_set_buffered {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char sta_addr[6];
1: - u8 tid;
1: - bool buffered;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char sta_addr[6];
1: + u8 tid;
1: + bool buffered;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_wake_queue {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u16 queue;
1: - u32 reason;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u16 queue;
1: + u32 reason;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_stop_queue {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - u16 queue;
1: - u32 reason;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + u16 queue;
1: + u32 reason;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_set_default_unicast_key {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - int key_idx;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + int key_idx;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_api_radar_detected {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_channel_switch_beacon {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_pre_channel_switch {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - u64 timestamp;
1: - u32 device_timestamp;
1: - bool block_tx;
1: - u8 count;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u64 timestamp;
1: + u32 device_timestamp;
1: + bool block_tx;
1: + u8 count;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_channel_switch_rx_beacon {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - u64 timestamp;
1: - u32 device_timestamp;
1: - bool block_tx;
1: - u8 count;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u64 timestamp;
1: + u32 device_timestamp;
1: + bool block_tx;
1: + u8 count;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_get_txpower {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - int dbm;
1: - int ret;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + int dbm;
1: + int ret;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_tdls_channel_switch {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - u8 oper_class;
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u8 oper_class;
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_tdls_cancel_channel_switch {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_tdls_recv_channel_switch {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - u8 action_code;
1: - char sta_addr[6];
1: - u32 control_freq;
1: - u32 chan_width;
1: - u32 center_freq1;
1: - u32 center_freq2;
1: - u32 status;
1: - bool peer_initiator;
1: - u32 timestamp;
1: - u16 switch_time;
1: - u16 switch_timeout;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + u8 action_code;
1: + char sta_addr[6];
1: + u32 control_freq;
1: + u32 chan_width;
1: + u32 center_freq1;
1: + u32 center_freq2;
1: + u32 status;
1: + bool peer_initiator;
1: + u32 timestamp;
1: + u16 switch_time;
1: + u16 switch_timeout;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_wake_tx_queue {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char sta_addr[6];
1: - u8 ac;
1: - u8 tid;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char sta_addr[6];
1: + u8 ac;
1: + u8 tid;
1: + char __data[0];
1: };
1:
1: struct trace_event_raw_drv_get_ftm_responder_stats {
1: - struct trace_entry ent;
1: - char wiphy_name[32];
1: - enum nl80211_iftype vif_type;
1: - void *sdata;
1: - bool p2p;
1: - u32 __data_loc_vif_name;
1: - char __data[0];
1: + struct trace_entry ent;
1: + char wiphy_name[32];
1: + enum nl80211_iftype vif_type;
1: + void *sdata;
1: + bool p2p;
1: + u32 __data_loc_vif_name;
1: + char __data[0];
1: };
1:
1: struct trace_event_data_offsets_local_only_evt {};
1:
1: struct trace_event_data_offsets_local_sdata_addr_evt {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_local_u32_evt {};
1:
1: struct trace_event_data_offsets_local_sdata_evt {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_return_int {};
1: @@ -121248,15 +122241,15 @@ struct trace_event_data_offsets_drv_return_u64 {};
1: struct trace_event_data_offsets_drv_set_wakeup {};
1:
1: struct trace_event_data_offsets_drv_change_interface {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_config {};
1:
1: struct trace_event_data_offsets_drv_bss_info_changed {
1: - u32 vif_name;
1: - u32 arp_addr_list;
1: - u32 ssid;
1: + u32 vif_name;
1: + u32 arp_addr_list;
1: + u32 ssid;
1: };
1:
1: struct trace_event_data_offsets_drv_prepare_multicast {};
1: @@ -121264,21 +122257,21 @@ struct trace_event_data_offsets_drv_prepare_multicast {};
1: struct trace_event_data_offsets_drv_configure_filter {};
1:
1: struct trace_event_data_offsets_drv_config_iface_filter {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_set_tim {};
1:
1: struct trace_event_data_offsets_drv_set_key {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_update_tkip_key {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_sw_scan_start {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_get_stats {};
1: @@ -121288,39 +122281,39 @@ struct trace_event_data_offsets_drv_get_key_seq {};
1: struct trace_event_data_offsets_drv_set_coverage_class {};
1:
1: struct trace_event_data_offsets_drv_sta_notify {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_sta_state {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_sta_set_txpwr {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_sta_rc_update {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_sta_event {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_conf_tx {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_set_tsf {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_offset_tsf {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_ampdu_action {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_get_survey {};
1: @@ -121328,7 +122321,7 @@ struct trace_event_data_offsets_drv_get_survey {};
1: struct trace_event_data_offsets_drv_flush {};
1:
1: struct trace_event_data_offsets_drv_channel_switch {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_set_antenna {};
1: @@ -121336,7 +122329,7 @@ struct trace_event_data_offsets_drv_set_antenna {};
1: struct trace_event_data_offsets_drv_get_antenna {};
1:
1: struct trace_event_data_offsets_drv_remain_on_channel {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_set_ringparam {};
1: @@ -121344,21 +122337,21 @@ struct trace_event_data_offsets_drv_set_ringparam {};
1: struct trace_event_data_offsets_drv_get_ringparam {};
1:
1: struct trace_event_data_offsets_drv_set_bitrate_mask {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_set_rekey_data {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_event_callback {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_release_evt {};
1:
1: struct trace_event_data_offsets_drv_mgd_prepare_tx {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_local_chanctx {};
1: @@ -121366,69 +122359,69 @@ struct trace_event_data_offsets_local_chanctx {};
1: struct trace_event_data_offsets_drv_change_chanctx {};
1:
1: struct trace_event_data_offsets_drv_switch_vif_chanctx {
1: - u32 vifs;
1: + u32 vifs;
1: };
1:
1: struct trace_event_data_offsets_local_sdata_chanctx {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_start_ap {
1: - u32 vif_name;
1: - u32 ssid;
1: + u32 vif_name;
1: + u32 ssid;
1: };
1:
1: struct trace_event_data_offsets_drv_reconfig_complete {};
1:
1: struct trace_event_data_offsets_drv_join_ibss {
1: - u32 vif_name;
1: - u32 ssid;
1: + u32 vif_name;
1: + u32 ssid;
1: };
1:
1: struct trace_event_data_offsets_drv_get_expected_throughput {};
1:
1: struct trace_event_data_offsets_drv_start_nan {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_stop_nan {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_nan_change_conf {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_add_nan_func {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_del_nan_func {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_start_tx_ba_session {};
1:
1: struct trace_event_data_offsets_api_start_tx_ba_cb {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_stop_tx_ba_session {};
1:
1: struct trace_event_data_offsets_api_stop_tx_ba_cb {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_beacon_loss {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_connection_loss {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_cqm_rssi_notify {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_scan_completed {};
1: @@ -121440,15 +122433,15 @@ struct trace_event_data_offsets_api_sched_scan_stopped {};
1: struct trace_event_data_offsets_api_sta_block_awake {};
1:
1: struct trace_event_data_offsets_api_chswitch_done {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_gtk_rekey_notify {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_enable_rssi_reports {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_eosp {};
1: @@ -121462,692 +122455,690 @@ struct trace_event_data_offsets_wake_queue {};
1: struct trace_event_data_offsets_stop_queue {};
1:
1: struct trace_event_data_offsets_drv_set_default_unicast_key {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_api_radar_detected {};
1:
1: struct trace_event_data_offsets_drv_channel_switch_beacon {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_pre_channel_switch {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_channel_switch_rx_beacon {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_get_txpower {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_tdls_channel_switch {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_tdls_cancel_channel_switch {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_tdls_recv_channel_switch {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_wake_tx_queue {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: struct trace_event_data_offsets_drv_get_ftm_responder_stats {
1: - u32 vif_name;
1: + u32 vif_name;
1: };
1:
1: enum ieee80211_he_mcs_support {
1: - IEEE80211_HE_MCS_SUPPORT_0_7 = 0,
1: - IEEE80211_HE_MCS_SUPPORT_0_9 = 1,
1: - IEEE80211_HE_MCS_SUPPORT_0_11 = 2,
1: - IEEE80211_HE_MCS_NOT_SUPPORTED = 3,
1: + IEEE80211_HE_MCS_SUPPORT_0_7 = 0,
1: + IEEE80211_HE_MCS_SUPPORT_0_9 = 1,
1: + IEEE80211_HE_MCS_SUPPORT_0_11 = 2,
1: + IEEE80211_HE_MCS_NOT_SUPPORTED = 3,
1: };
1:
1: struct ieee80211_country_ie_triplet {
1: - union {
1: - struct {
1: - u8 first_channel;
1: - u8 num_channels;
1: - s8 max_power;
1: - } chans;
1: - struct {
1: - u8 reg_extension_id;
1: - u8 reg_class;
1: - u8 coverage_class;
1: - } ext;
1: - };
1: + union {
1: + struct {
1: + u8 first_channel;
1: + u8 num_channels;
1: + s8 max_power;
1: + } chans;
1: + struct {
1: + u8 reg_extension_id;
1: + u8 reg_class;
1: + u8 coverage_class;
1: + } ext;
1: + };
1: };
1:
1: enum ieee80211_timeout_interval_type {
1: - WLAN_TIMEOUT_REASSOC_DEADLINE = 1,
1: - WLAN_TIMEOUT_KEY_LIFETIME = 2,
1: - WLAN_TIMEOUT_ASSOC_COMEBACK = 3,
1: + WLAN_TIMEOUT_REASSOC_DEADLINE = 1,
1: + WLAN_TIMEOUT_KEY_LIFETIME = 2,
1: + WLAN_TIMEOUT_ASSOC_COMEBACK = 3,
1: };
1:
1: enum ieee80211_idle_options {
1: - WLAN_IDLE_OPTIONS_PROTECTED_KEEP_ALIVE = 1,
1: + WLAN_IDLE_OPTIONS_PROTECTED_KEEP_ALIVE = 1,
1: };
1:
1: struct ieee80211_wmm_ac_param {
1: - u8 aci_aifsn;
1: - u8 cw;
1: - __le16 txop_limit;
1: + u8 aci_aifsn;
1: + u8 cw;
1: + __le16 txop_limit;
1: };
1:
1: struct ieee80211_wmm_param_ie {
1: - u8 element_id;
1: - u8 len;
1: - u8 oui[3];
1: - u8 oui_type;
1: - u8 oui_subtype;
1: - u8 version;
1: - u8 qos_info;
1: - u8 reserved;
1: - struct ieee80211_wmm_ac_param ac[4];
1: + u8 element_id;
1: + u8 len;
1: + u8 oui[3];
1: + u8 oui_type;
1: + u8 oui_subtype;
1: + u8 version;
1: + u8 qos_info;
1: + u8 reserved;
1: + struct ieee80211_wmm_ac_param ac[4];
1: };
1:
1: enum ocb_deferred_task_flags {
1: - OCB_WORK_HOUSEKEEPING = 0,
1: + OCB_WORK_HOUSEKEEPING = 0,
1: };
1:
1: struct mcs_group {
1: - u8 shift;
1: - u16 duration[12];
1: + u8 shift;
1: + u16 duration[12];
1: };
1:
1: struct minstrel_rate_stats {
1: - u16 attempts;
1: - u16 last_attempts;
1: - u16 success;
1: - u16 last_success;
1: - u32 att_hist;
1: - u32 succ_hist;
1: - u16 prob_avg;
1: - u16 prob_avg_1;
1: - u8 retry_count;
1: - u8 retry_count_rtscts;
1: - u8 sample_skipped;
1: - bool retry_updated;
1: + u16 attempts;
1: + u16 last_attempts;
1: + u16 success;
1: + u16 last_success;
1: + u32 att_hist;
1: + u32 succ_hist;
1: + u16 prob_avg;
1: + u16 prob_avg_1;
1: + u8 retry_count;
1: + u8 retry_count_rtscts;
1: + u8 sample_skipped;
1: + bool retry_updated;
1: };
1:
1: struct minstrel_rate {
1: - int bitrate;
1: - s8 rix;
1: - u8 retry_count_cts;
1: - u8 adjusted_retry_count;
1: - unsigned int perfect_tx_time;
1: - unsigned int ack_time;
1: - int sample_limit;
1: - struct minstrel_rate_stats stats;
1: + int bitrate;
1: + s8 rix;
1: + u8 retry_count_cts;
1: + u8 adjusted_retry_count;
1: + unsigned int perfect_tx_time;
1: + unsigned int ack_time;
1: + int sample_limit;
1: + struct minstrel_rate_stats stats;
1: };
1:
1: struct minstrel_sta_info {
1: - struct ieee80211_sta *sta;
1: - long unsigned int last_stats_update;
1: - unsigned int sp_ack_dur;
1: - unsigned int rate_avg;
1: - unsigned int lowest_rix;
1: - u8 max_tp_rate[4];
1: - u8 max_prob_rate;
1: - unsigned int total_packets;
1: - unsigned int sample_packets;
1: - int sample_deferred;
1: - unsigned int sample_row;
1: - unsigned int sample_column;
1: - int n_rates;
1: - struct minstrel_rate *r;
1: - bool prev_sample;
1: - u8 *sample_table;
1: + struct ieee80211_sta *sta;
1: + long unsigned int last_stats_update;
1: + unsigned int sp_ack_dur;
1: + unsigned int rate_avg;
1: + unsigned int lowest_rix;
1: + u8 max_tp_rate[4];
1: + u8 max_prob_rate;
1: + unsigned int total_packets;
1: + unsigned int sample_packets;
1: + int sample_deferred;
1: + unsigned int sample_row;
1: + unsigned int sample_column;
1: + int n_rates;
1: + struct minstrel_rate *r;
1: + bool prev_sample;
1: + u8 *sample_table;
1: };
1:
1: struct minstrel_priv {
1: - struct ieee80211_hw *hw;
1: - bool has_mrr;
1: - bool new_avg;
1: - u32 sample_switch;
1: - unsigned int cw_min;
1: - unsigned int cw_max;
1: - unsigned int max_retry;
1: - unsigned int segment_size;
1: - unsigned int update_interval;
1: - unsigned int lookaround_rate;
1: - unsigned int lookaround_rate_mrr;
1: - u8 cck_rates[4];
1: + struct ieee80211_hw *hw;
1: + bool has_mrr;
1: + bool new_avg;
1: + u32 sample_switch;
1: + unsigned int cw_min;
1: + unsigned int cw_max;
1: + unsigned int max_retry;
1: + unsigned int segment_size;
1: + unsigned int update_interval;
1: + unsigned int lookaround_rate;
1: + unsigned int lookaround_rate_mrr;
1: + u8 cck_rates[4];
1: };
1:
1: struct mcs_group___2 {
1: - u16 flags;
1: - u8 streams;
1: - u8 shift;
1: - u8 bw;
1: - u16 duration[10];
1: + u16 flags;
1: + u8 streams;
1: + u8 shift;
1: + u8 bw;
1: + u16 duration[10];
1: };
1:
1: struct minstrel_mcs_group_data {
1: - u8 index;
1: - u8 column;
1: - u16 max_group_tp_rate[4];
1: - u16 max_group_prob_rate;
1: - struct minstrel_rate_stats rates[10];
1: + u8 index;
1: + u8 column;
1: + u16 max_group_tp_rate[4];
1: + u16 max_group_prob_rate;
1: + struct minstrel_rate_stats rates[10];
1: };
1:
1: enum minstrel_sample_mode {
1: - MINSTREL_SAMPLE_IDLE = 0,
1: - MINSTREL_SAMPLE_ACTIVE = 1,
1: - MINSTREL_SAMPLE_PENDING = 2,
1: + MINSTREL_SAMPLE_IDLE = 0,
1: + MINSTREL_SAMPLE_ACTIVE = 1,
1: + MINSTREL_SAMPLE_PENDING = 2,
1: };
1:
1: struct minstrel_ht_sta {
1: - struct ieee80211_sta *sta;
1: - unsigned int ampdu_len;
1: - unsigned int ampdu_packets;
1: - unsigned int avg_ampdu_len;
1: - u16 max_tp_rate[4];
1: - u16 max_prob_rate;
1: - long unsigned int last_stats_update;
1: - unsigned int overhead;
1: - unsigned int overhead_rtscts;
1: - unsigned int total_packets_last;
1: - unsigned int total_packets_cur;
1: - unsigned int total_packets;
1: - unsigned int sample_packets;
1: - u32 tx_flags;
1: - u8 sample_wait;
1: - u8 sample_tries;
1: - u8 sample_count;
1: - u8 sample_slow;
1: - enum minstrel_sample_mode sample_mode;
1: - u16 sample_rate;
1: - u8 sample_group;
1: - u8 cck_supported;
1: - u8 cck_supported_short;
1: - u16 supported[41];
1: - struct minstrel_mcs_group_data groups[41];
1: + struct ieee80211_sta *sta;
1: + unsigned int ampdu_len;
1: + unsigned int ampdu_packets;
1: + unsigned int avg_ampdu_len;
1: + u16 max_tp_rate[4];
1: + u16 max_prob_rate;
1: + long unsigned int last_stats_update;
1: + unsigned int overhead;
1: + unsigned int overhead_rtscts;
1: + unsigned int total_packets_last;
1: + unsigned int total_packets_cur;
1: + unsigned int total_packets;
1: + unsigned int sample_packets;
1: + u32 tx_flags;
1: + u8 sample_wait;
1: + u8 sample_tries;
1: + u8 sample_count;
1: + u8 sample_slow;
1: + enum minstrel_sample_mode sample_mode;
1: + u16 sample_rate;
1: + u8 sample_group;
1: + u8 cck_supported;
1: + u8 cck_supported_short;
1: + u16 supported[41];
1: + struct minstrel_mcs_group_data groups[41];
1: };
1:
1: struct minstrel_ht_sta_priv {
1: - union {
1: - struct minstrel_ht_sta ht;
1: - struct minstrel_sta_info legacy;
1: - };
1: - void *ratelist;
1: - void *sample_table;
1: - bool is_ht;
1: + union {
1: + struct minstrel_ht_sta ht;
1: + struct minstrel_sta_info legacy;
1: + };
1: + void *ratelist;
1: + void *sample_table;
1: + bool is_ht;
1: };
1:
1: struct netlbl_af4list {
1: - __be32 addr;
1: - __be32 mask;
1: - u32 valid;
1: - struct list_head list;
1: + __be32 addr;
1: + __be32 mask;
1: + u32 valid;
1: + struct list_head list;
1: };
1:
1: struct netlbl_af6list {
1: - struct in6_addr addr;
1: - struct in6_addr mask;
1: - u32 valid;
1: - struct list_head list;
1: + struct in6_addr addr;
1: + struct in6_addr mask;
1: + u32 valid;
1: + struct list_head list;
1: };
1:
1: struct netlbl_domaddr_map {
1: - struct list_head list4;
1: - struct list_head list6;
1: + struct list_head list4;
1: + struct list_head list6;
1: };
1:
1: struct netlbl_dommap_def {
1: - u32 type;
1: - union {
1: - struct netlbl_domaddr_map *addrsel;
1: - struct cipso_v4_doi *cipso;
1: - struct calipso_doi *calipso;
1: - };
1: + u32 type;
1: + union {
1: + struct netlbl_domaddr_map *addrsel;
1: + struct cipso_v4_doi *cipso;
1: + struct calipso_doi *calipso;
1: + };
1: };
1:
1: struct netlbl_domaddr4_map {
1: - struct netlbl_dommap_def def;
1: - struct netlbl_af4list list;
1: + struct netlbl_dommap_def def;
1: + struct netlbl_af4list list;
1: };
1:
1: struct netlbl_domaddr6_map {
1: - struct netlbl_dommap_def def;
1: - struct netlbl_af6list list;
1: + struct netlbl_dommap_def def;
1: + struct netlbl_af6list list;
1: };
1:
1: struct netlbl_dom_map {
1: - char *domain;
1: - u16 family;
1: - struct netlbl_dommap_def def;
1: - u32 valid;
1: - struct list_head list;
1: - struct callback_head rcu;
1: + char *domain;
1: + u16 family;
1: + struct netlbl_dommap_def def;
1: + u32 valid;
1: + struct list_head list;
1: + struct callback_head rcu;
1: };
1:
1: struct netlbl_domhsh_tbl {
1: - struct list_head *tbl;
1: - u32 size;
1: + struct list_head *tbl;
1: + u32 size;
1: };
1:
1: enum {
1: - NLBL_MGMT_C_UNSPEC = 0,
1: - NLBL_MGMT_C_ADD = 1,
1: - NLBL_MGMT_C_REMOVE = 2,
1: - NLBL_MGMT_C_LISTALL = 3,
1: - NLBL_MGMT_C_ADDDEF = 4,
1: - NLBL_MGMT_C_REMOVEDEF = 5,
1: - NLBL_MGMT_C_LISTDEF = 6,
1: - NLBL_MGMT_C_PROTOCOLS = 7,
1: - NLBL_MGMT_C_VERSION = 8,
1: - __NLBL_MGMT_C_MAX = 9,
1: + NLBL_MGMT_C_UNSPEC = 0,
1: + NLBL_MGMT_C_ADD = 1,
1: + NLBL_MGMT_C_REMOVE = 2,
1: + NLBL_MGMT_C_LISTALL = 3,
1: + NLBL_MGMT_C_ADDDEF = 4,
1: + NLBL_MGMT_C_REMOVEDEF = 5,
1: + NLBL_MGMT_C_LISTDEF = 6,
1: + NLBL_MGMT_C_PROTOCOLS = 7,
1: + NLBL_MGMT_C_VERSION = 8,
1: + __NLBL_MGMT_C_MAX = 9,
1: };
1:
1: enum {
1: - NLBL_MGMT_A_UNSPEC = 0,
1: - NLBL_MGMT_A_DOMAIN = 1,
1: - NLBL_MGMT_A_PROTOCOL = 2,
1: - NLBL_MGMT_A_VERSION = 3,
1: - NLBL_MGMT_A_CV4DOI = 4,
1: - NLBL_MGMT_A_IPV6ADDR = 5,
1: - NLBL_MGMT_A_IPV6MASK = 6,
1: - NLBL_MGMT_A_IPV4ADDR = 7,
1: - NLBL_MGMT_A_IPV4MASK = 8,
1: - NLBL_MGMT_A_ADDRSELECTOR = 9,
1: - NLBL_MGMT_A_SELECTORLIST = 10,
1: - NLBL_MGMT_A_FAMILY = 11,
1: - NLBL_MGMT_A_CLPDOI = 12,
1: - __NLBL_MGMT_A_MAX = 13,
1: + NLBL_MGMT_A_UNSPEC = 0,
1: + NLBL_MGMT_A_DOMAIN = 1,
1: + NLBL_MGMT_A_PROTOCOL = 2,
1: + NLBL_MGMT_A_VERSION = 3,
1: + NLBL_MGMT_A_CV4DOI = 4,
1: + NLBL_MGMT_A_IPV6ADDR = 5,
1: + NLBL_MGMT_A_IPV6MASK = 6,
1: + NLBL_MGMT_A_IPV4ADDR = 7,
1: + NLBL_MGMT_A_IPV4MASK = 8,
1: + NLBL_MGMT_A_ADDRSELECTOR = 9,
1: + NLBL_MGMT_A_SELECTORLIST = 10,
1: + NLBL_MGMT_A_FAMILY = 11,
1: + NLBL_MGMT_A_CLPDOI = 12,
1: + __NLBL_MGMT_A_MAX = 13,
1: };
1:
1: struct netlbl_domhsh_walk_arg {
1: - struct netlink_callback *nl_cb;
1: - struct sk_buff *skb;
1: - u32 seq;
1: + struct netlink_callback *nl_cb;
1: + struct sk_buff *skb;
1: + u32 seq;
1: };
1:
1: enum {
1: - NLBL_UNLABEL_C_UNSPEC = 0,
1: - NLBL_UNLABEL_C_ACCEPT = 1,
1: - NLBL_UNLABEL_C_LIST = 2,
1: - NLBL_UNLABEL_C_STATICADD = 3,
1: - NLBL_UNLABEL_C_STATICREMOVE = 4,
1: - NLBL_UNLABEL_C_STATICLIST = 5,
1: - NLBL_UNLABEL_C_STATICADDDEF = 6,
1: - NLBL_UNLABEL_C_STATICREMOVEDEF = 7,
1: - NLBL_UNLABEL_C_STATICLISTDEF = 8,
1: - __NLBL_UNLABEL_C_MAX = 9,
1: + NLBL_UNLABEL_C_UNSPEC = 0,
1: + NLBL_UNLABEL_C_ACCEPT = 1,
1: + NLBL_UNLABEL_C_LIST = 2,
1: + NLBL_UNLABEL_C_STATICADD = 3,
1: + NLBL_UNLABEL_C_STATICREMOVE = 4,
1: + NLBL_UNLABEL_C_STATICLIST = 5,
1: + NLBL_UNLABEL_C_STATICADDDEF = 6,
1: + NLBL_UNLABEL_C_STATICREMOVEDEF = 7,
1: + NLBL_UNLABEL_C_STATICLISTDEF = 8,
1: + __NLBL_UNLABEL_C_MAX = 9,
1: };
1:
1: enum {
1: - NLBL_UNLABEL_A_UNSPEC = 0,
1: - NLBL_UNLABEL_A_ACPTFLG = 1,
1: - NLBL_UNLABEL_A_IPV6ADDR = 2,
1: - NLBL_UNLABEL_A_IPV6MASK = 3,
1: - NLBL_UNLABEL_A_IPV4ADDR = 4,
1: - NLBL_UNLABEL_A_IPV4MASK = 5,
1: - NLBL_UNLABEL_A_IFACE = 6,
1: - NLBL_UNLABEL_A_SECCTX = 7,
1: - __NLBL_UNLABEL_A_MAX = 8,
1: + NLBL_UNLABEL_A_UNSPEC = 0,
1: + NLBL_UNLABEL_A_ACPTFLG = 1,
1: + NLBL_UNLABEL_A_IPV6ADDR = 2,
1: + NLBL_UNLABEL_A_IPV6MASK = 3,
1: + NLBL_UNLABEL_A_IPV4ADDR = 4,
1: + NLBL_UNLABEL_A_IPV4MASK = 5,
1: + NLBL_UNLABEL_A_IFACE = 6,
1: + NLBL_UNLABEL_A_SECCTX = 7,
1: + __NLBL_UNLABEL_A_MAX = 8,
1: };
1:
1: struct netlbl_unlhsh_tbl {
1: - struct list_head *tbl;
1: - u32 size;
1: + struct list_head *tbl;
1: + u32 size;
1: };
1:
1: struct netlbl_unlhsh_addr4 {
1: - u32 secid;
1: - struct netlbl_af4list list;
1: - struct callback_head rcu;
1: + u32 secid;
1: + struct netlbl_af4list list;
1: + struct callback_head rcu;
1: };
1:
1: struct netlbl_unlhsh_addr6 {
1: - u32 secid;
1: - struct netlbl_af6list list;
1: - struct callback_head rcu;
1: + u32 secid;
1: + struct netlbl_af6list list;
1: + struct callback_head rcu;
1: };
1:
1: struct netlbl_unlhsh_iface {
1: - int ifindex;
1: - struct list_head addr4_list;
1: - struct list_head addr6_list;
1: - u32 valid;
1: - struct list_head list;
1: - struct callback_head rcu;
1: + int ifindex;
1: + struct list_head addr4_list;
1: + struct list_head addr6_list;
1: + u32 valid;
1: + struct list_head list;
1: + struct callback_head rcu;
1: };
1:
1: struct netlbl_unlhsh_walk_arg {
1: - struct netlink_callback *nl_cb;
1: - struct sk_buff *skb;
1: - u32 seq;
1: + struct netlink_callback *nl_cb;
1: + struct sk_buff *skb;
1: + u32 seq;
1: };
1:
1: enum {
1: - NLBL_CIPSOV4_C_UNSPEC = 0,
1: - NLBL_CIPSOV4_C_ADD = 1,
1: - NLBL_CIPSOV4_C_REMOVE = 2,
1: - NLBL_CIPSOV4_C_LIST = 3,
1: - NLBL_CIPSOV4_C_LISTALL = 4,
1: - __NLBL_CIPSOV4_C_MAX = 5,
1: + NLBL_CIPSOV4_C_UNSPEC = 0,
1: + NLBL_CIPSOV4_C_ADD = 1,
1: + NLBL_CIPSOV4_C_REMOVE = 2,
1: + NLBL_CIPSOV4_C_LIST = 3,
1: + NLBL_CIPSOV4_C_LISTALL = 4,
1: + __NLBL_CIPSOV4_C_MAX = 5,
1: };
1:
1: enum {
1: - NLBL_CIPSOV4_A_UNSPEC = 0,
1: - NLBL_CIPSOV4_A_DOI = 1,
1: - NLBL_CIPSOV4_A_MTYPE = 2,
1: - NLBL_CIPSOV4_A_TAG = 3,
1: - NLBL_CIPSOV4_A_TAGLST = 4,
1: - NLBL_CIPSOV4_A_MLSLVLLOC = 5,
1: - NLBL_CIPSOV4_A_MLSLVLREM = 6,
1: - NLBL_CIPSOV4_A_MLSLVL = 7,
1: - NLBL_CIPSOV4_A_MLSLVLLST = 8,
1: - NLBL_CIPSOV4_A_MLSCATLOC = 9,
1: - NLBL_CIPSOV4_A_MLSCATREM = 10,
1: - NLBL_CIPSOV4_A_MLSCAT = 11,
1: - NLBL_CIPSOV4_A_MLSCATLST = 12,
1: - __NLBL_CIPSOV4_A_MAX = 13,
1: + NLBL_CIPSOV4_A_UNSPEC = 0,
1: + NLBL_CIPSOV4_A_DOI = 1,
1: + NLBL_CIPSOV4_A_MTYPE = 2,
1: + NLBL_CIPSOV4_A_TAG = 3,
1: + NLBL_CIPSOV4_A_TAGLST = 4,
1: + NLBL_CIPSOV4_A_MLSLVLLOC = 5,
1: + NLBL_CIPSOV4_A_MLSLVLREM = 6,
1: + NLBL_CIPSOV4_A_MLSLVL = 7,
1: + NLBL_CIPSOV4_A_MLSLVLLST = 8,
1: + NLBL_CIPSOV4_A_MLSCATLOC = 9,
1: + NLBL_CIPSOV4_A_MLSCATREM = 10,
1: + NLBL_CIPSOV4_A_MLSCAT = 11,
1: + NLBL_CIPSOV4_A_MLSCATLST = 12,
1: + __NLBL_CIPSOV4_A_MAX = 13,
1: };
1:
1: struct netlbl_cipsov4_doiwalk_arg {
1: - struct netlink_callback *nl_cb;
1: - struct sk_buff *skb;
1: - u32 seq;
1: + struct netlink_callback *nl_cb;
1: + struct sk_buff *skb;
1: + u32 seq;
1: };
1:
1: struct netlbl_domhsh_walk_arg___2 {
1: - struct netlbl_audit *audit_info;
1: - u32 doi;
1: + struct netlbl_audit *audit_info;
1: + u32 doi;
1: };
1:
1: enum {
1: - NLBL_CALIPSO_C_UNSPEC = 0,
1: - NLBL_CALIPSO_C_ADD = 1,
1: - NLBL_CALIPSO_C_REMOVE = 2,
1: - NLBL_CALIPSO_C_LIST = 3,
1: - NLBL_CALIPSO_C_LISTALL = 4,
1: - __NLBL_CALIPSO_C_MAX = 5,
1: + NLBL_CALIPSO_C_UNSPEC = 0,
1: + NLBL_CALIPSO_C_ADD = 1,
1: + NLBL_CALIPSO_C_REMOVE = 2,
1: + NLBL_CALIPSO_C_LIST = 3,
1: + NLBL_CALIPSO_C_LISTALL = 4,
1: + __NLBL_CALIPSO_C_MAX = 5,
1: };
1:
1: enum {
1: - NLBL_CALIPSO_A_UNSPEC = 0,
1: - NLBL_CALIPSO_A_DOI = 1,
1: - NLBL_CALIPSO_A_MTYPE = 2,
1: - __NLBL_CALIPSO_A_MAX = 3,
1: + NLBL_CALIPSO_A_UNSPEC = 0,
1: + NLBL_CALIPSO_A_DOI = 1,
1: + NLBL_CALIPSO_A_MTYPE = 2,
1: + __NLBL_CALIPSO_A_MAX = 3,
1: };
1:
1: struct netlbl_calipso_doiwalk_arg {
1: - struct netlink_callback *nl_cb;
1: - struct sk_buff *skb;
1: - u32 seq;
1: + struct netlink_callback *nl_cb;
1: + struct sk_buff *skb;
1: + u32 seq;
1: };
1:
1: enum rfkill_operation {
1: - RFKILL_OP_ADD = 0,
1: - RFKILL_OP_DEL = 1,
1: - RFKILL_OP_CHANGE = 2,
1: - RFKILL_OP_CHANGE_ALL = 3,
1: + RFKILL_OP_ADD = 0,
1: + RFKILL_OP_DEL = 1,
1: + RFKILL_OP_CHANGE = 2,
1: + RFKILL_OP_CHANGE_ALL = 3,
1: };
1:
1: struct rfkill_event {
1: - __u32 idx;
1: - __u8 type;
1: - __u8 op;
1: - __u8 soft;
1: - __u8 hard;
1: + __u32 idx;
1: + __u8 type;
1: + __u8 op;
1: + __u8 soft;
1: + __u8 hard;
1: };
1:
1: enum rfkill_user_states {
1: - RFKILL_USER_STATE_SOFT_BLOCKED = 0,
1: - RFKILL_USER_STATE_UNBLOCKED = 1,
1: - RFKILL_USER_STATE_HARD_BLOCKED = 2,
1: + RFKILL_USER_STATE_SOFT_BLOCKED = 0,
1: + RFKILL_USER_STATE_UNBLOCKED = 1,
1: + RFKILL_USER_STATE_HARD_BLOCKED = 2,
1: };
1:
1: struct rfkill {
1: - spinlock_t lock;
1: - enum rfkill_type type;
1: - long unsigned int state;
1: - u32 idx;
1: - bool registered;
1: - bool persistent;
1: - bool polling_paused;
1: - bool suspended;
1: - const struct rfkill_ops *ops;
1: - void *data;
1: - struct led_trigger led_trigger;
1: - const char *ledtrigname;
1: - struct device___2 dev;
1: - struct list_head node;
1: - struct delayed_work poll_work;
1: - struct work_struct uevent_work;
1: - struct work_struct sync_work;
1: - char name[0];
1: + spinlock_t lock;
1: + enum rfkill_type type;
1: + long unsigned int state;
1: + u32 idx;
1: + bool registered;
1: + bool persistent;
1: + bool polling_paused;
1: + bool suspended;
1: + const struct rfkill_ops *ops;
1: + void *data;
1: + struct led_trigger led_trigger;
1: + const char *ledtrigname;
1: + struct device___2 dev;
1: + struct list_head node;
1: + struct delayed_work poll_work;
1: + struct work_struct uevent_work;
1: + struct work_struct sync_work;
1: + char name[0];
1: };
1:
1: struct rfkill_int_event {
1: - struct list_head list;
1: - struct rfkill_event ev;
1: + struct list_head list;
1: + struct rfkill_event ev;
1: };
1:
1: struct rfkill_data {
1: - struct list_head list;
1: - struct list_head events;
1: - struct mutex mtx;
1: - wait_queue_head_t read_wait;
1: - bool input_handler;
1: + struct list_head list;
1: + struct list_head events;
1: + struct mutex mtx;
1: + wait_queue_head_t read_wait;
1: + bool input_handler;
1: };
1:
1: enum rfkill_input_master_mode {
1: - RFKILL_INPUT_MASTER_UNLOCK = 0,
1: - RFKILL_INPUT_MASTER_RESTORE = 1,
1: - RFKILL_INPUT_MASTER_UNBLOCKALL = 2,
1: - NUM_RFKILL_INPUT_MASTER_MODES = 3,
1: + RFKILL_INPUT_MASTER_UNLOCK = 0,
1: + RFKILL_INPUT_MASTER_RESTORE = 1,
1: + RFKILL_INPUT_MASTER_UNBLOCKALL = 2,
1: + NUM_RFKILL_INPUT_MASTER_MODES = 3,
1: };
1:
1: enum rfkill_sched_op {
1: - RFKILL_GLOBAL_OP_EPO = 0,
1: - RFKILL_GLOBAL_OP_RESTORE = 1,
1: - RFKILL_GLOBAL_OP_UNLOCK = 2,
1: - RFKILL_GLOBAL_OP_UNBLOCK = 3,
1: + RFKILL_GLOBAL_OP_EPO = 0,
1: + RFKILL_GLOBAL_OP_RESTORE = 1,
1: + RFKILL_GLOBAL_OP_UNLOCK = 2,
1: + RFKILL_GLOBAL_OP_UNBLOCK = 3,
1: };
1:
1: enum dns_payload_content_type {
1: - DNS_PAYLOAD_IS_SERVER_LIST = 0,
1: + DNS_PAYLOAD_IS_SERVER_LIST = 0,
1: };
1:
1: struct dns_payload_header {
1: - __u8 zero;
1: - __u8 content;
1: - __u8 version;
1: + __u8 zero;
1: + __u8 content;
1: + __u8 version;
1: };
1:
1: enum {
1: - dns_key_data = 0,
1: - dns_key_error = 1,
1: + dns_key_data = 0,
1: + dns_key_error = 1,
1: };
1:
1: struct warn_args___2;
1:
1: struct compress_format {
1: - unsigned char magic[2];
1: - const char *name;
1: - decompress_fn decompressor;
1: + unsigned char magic[2];
1: + const char *name;
1: + decompress_fn decompressor;
1: };
1:
1: struct group_data {
1: - int limit[21];
1: - int base[20];
1: - int permute[258];
1: - int minLen;
1: - int maxLen;
1: + int limit[21];
1: + int base[20];
1: + int permute[258];
1: + int minLen;
1: + int maxLen;
1: };
1:
1: struct bunzip_data {
1: - int writeCopies;
1: - int writePos;
1: - int writeRunCountdown;
1: - int writeCount;
1: - int writeCurrent;
1: - long int (*fill)(void *, long unsigned int);
1: - long int inbufCount;
1: - long int inbufPos;
1: - unsigned char *inbuf;
1: - unsigned int inbufBitCount;
1: - unsigned int inbufBits;
1: - unsigned int crc32Table[256];
1: - unsigned int headerCRC;
1: - unsigned int totalCRC;
1: - unsigned int writeCRC;
1: - unsigned int *dbuf;
1: - unsigned int dbufSize;
1: - unsigned char selectors[32768];
1: - struct group_data groups[6];
1: - int io_error;
1: - int byteCount[256];
1: - unsigned char symToByte[256];
1: - unsigned char mtfSymbol[256];
1: + int writeCopies;
1: + int writePos;
1: + int writeRunCountdown;
1: + int writeCount;
1: + int writeCurrent;
1: + long int (*fill)(void *, long unsigned int);
1: + long int inbufCount;
1: + long int inbufPos;
1: + unsigned char *inbuf;
1: + unsigned int inbufBitCount;
1: + unsigned int inbufBits;
1: + unsigned int crc32Table[256];
1: + unsigned int headerCRC;
1: + unsigned int totalCRC;
1: + unsigned int writeCRC;
1: + unsigned int *dbuf;
1: + unsigned int dbufSize;
1: + unsigned char selectors[32768];
1: + struct group_data groups[6];
1: + int io_error;
1: + int byteCount[256];
1: + unsigned char symToByte[256];
1: + unsigned char mtfSymbol[256];
1: };
1:
1: struct rc {
1: - long int (*fill)(void *, long unsigned int);
1: - uint8_t *ptr;
1: - uint8_t *buffer;
1: - uint8_t *buffer_end;
1: - long int buffer_size;
1: - uint32_t code;
1: - uint32_t range;
1: - uint32_t bound;
1: - void (*error)(char *);
1: + long int (*fill)(void *, long unsigned int);
1: + uint8_t *ptr;
1: + uint8_t *buffer;
1: + uint8_t *buffer_end;
1: + long int buffer_size;
1: + uint32_t code;
1: + uint32_t range;
1: + uint32_t bound;
1: + void (*error)(char *);
1: };
1:
1: struct lzma_header {
1: - uint8_t pos;
1: - uint32_t dict_size;
1: - uint64_t dst_size;
1: + uint8_t pos;
1: + uint32_t dict_size;
1: + uint64_t dst_size;
1: } __attribute__((packed));
1:
1: struct writer {
1: - uint8_t *buffer;
1: - uint8_t previous_byte;
1: - size_t buffer_pos;
1: - int bufsize;
1: - size_t global_pos;
1: - long int (*flush)(void *, long unsigned int);
1: - struct lzma_header *header;
1: + uint8_t *buffer;
1: + uint8_t previous_byte;
1: + size_t buffer_pos;
1: + int bufsize;
1: + size_t global_pos;
1: + long int (*flush)(void *, long unsigned int);
1: + struct lzma_header *header;
1: };
1:
1: struct cstate {
1: - int state;
1: - uint32_t rep0;
1: - uint32_t rep1;
1: - uint32_t rep2;
1: - uint32_t rep3;
1: + int state;
1: + uint32_t rep0;
1: + uint32_t rep1;
1: + uint32_t rep2;
1: + uint32_t rep3;
1: };
1:
1: struct xz_dec___2;
1:
1: enum cpio_fields {
1: - C_MAGIC = 0,
1: - C_INO = 1,
1: - C_MODE = 2,
1: - C_UID = 3,
1: - C_GID = 4,
1: - C_NLINK = 5,
1: - C_MTIME = 6,
1: - C_FILESIZE = 7,
1: - C_MAJ = 8,
1: - C_MIN = 9,
1: - C_RMAJ = 10,
1: - C_RMIN = 11,
1: - C_NAMESIZE = 12,
1: - C_CHKSUM = 13,
1: - C_NFIELDS = 14,
1: + C_MAGIC = 0,
1: + C_INO = 1,
1: + C_MODE = 2,
1: + C_UID = 3,
1: + C_GID = 4,
1: + C_NLINK = 5,
1: + C_MTIME = 6,
1: + C_FILESIZE = 7,
1: + C_MAJ = 8,
1: + C_MIN = 9,
1: + C_RMAJ = 10,
1: + C_RMIN = 11,
1: + C_NAMESIZE = 12,
1: + C_CHKSUM = 13,
1: + C_NFIELDS = 14,
1: };
1:
1: struct fprop_local_single {
1: - long unsigned int events;
1: - unsigned int period;
1: - raw_spinlock_t lock;
1: + long unsigned int events;
1: + unsigned int period;
1: + raw_spinlock_t lock;
1: };
1:
1: struct ida_bitmap {
1: - long unsigned int bitmap[16];
1: + long unsigned int bitmap[16];
1: };
1:
1: struct klist_waiter {
1: - struct list_head list;
1: - struct klist_node *node;
1: - struct task_struct___2 *process;
1: - int woken;
1: + struct list_head list;
1: + struct klist_node *node;
1: + struct task_struct___2 *process;
1: + int woken;
1: };
1:
1: struct uevent_sock {
1: - struct list_head list;
1: - struct sock *sk;
1: + struct list_head list;
1: + struct sock *sk;
1: };
1:
1: struct radix_tree_preload {
1: - unsigned int nr;
1: - struct xa_node *nodes;
1: + unsigned int nr;
1: + struct xa_node *nodes;
1: };
1:
1: -typedef struct {
1: - long unsigned int key[2];
1: -} hsiphash_key_t;
1: +typedef struct { long unsigned int key[2]; } hsiphash_key_t;
1:
1: enum format_type {
1: - FORMAT_TYPE_NONE = 0,
1: - FORMAT_TYPE_WIDTH = 1,
1: - FORMAT_TYPE_PRECISION = 2,
1: - FORMAT_TYPE_CHAR = 3,
1: - FORMAT_TYPE_STR = 4,
1: - FORMAT_TYPE_PTR = 5,
1: - FORMAT_TYPE_PERCENT_CHAR = 6,
1: - FORMAT_TYPE_INVALID = 7,
1: - FORMAT_TYPE_LONG_LONG = 8,
1: - FORMAT_TYPE_ULONG = 9,
1: - FORMAT_TYPE_LONG = 10,
1: - FORMAT_TYPE_UBYTE = 11,
1: - FORMAT_TYPE_BYTE = 12,
1: - FORMAT_TYPE_USHORT = 13,
1: - FORMAT_TYPE_SHORT = 14,
1: - FORMAT_TYPE_UINT = 15,
1: - FORMAT_TYPE_INT = 16,
1: - FORMAT_TYPE_SIZE_T = 17,
1: - FORMAT_TYPE_PTRDIFF = 18,
1: + FORMAT_TYPE_NONE = 0,
1: + FORMAT_TYPE_WIDTH = 1,
1: + FORMAT_TYPE_PRECISION = 2,
1: + FORMAT_TYPE_CHAR = 3,
1: + FORMAT_TYPE_STR = 4,
1: + FORMAT_TYPE_PTR = 5,
1: + FORMAT_TYPE_PERCENT_CHAR = 6,
1: + FORMAT_TYPE_INVALID = 7,
1: + FORMAT_TYPE_LONG_LONG = 8,
1: + FORMAT_TYPE_ULONG = 9,
1: + FORMAT_TYPE_LONG = 10,
1: + FORMAT_TYPE_UBYTE = 11,
1: + FORMAT_TYPE_BYTE = 12,
1: + FORMAT_TYPE_USHORT = 13,
1: + FORMAT_TYPE_SHORT = 14,
1: + FORMAT_TYPE_UINT = 15,
1: + FORMAT_TYPE_INT = 16,
1: + FORMAT_TYPE_SIZE_T = 17,
1: + FORMAT_TYPE_PTRDIFF = 18,
1: };
1:
1: struct printf_spec {
1: - unsigned int type: 8;
1: - int field_width: 24;
1: - unsigned int flags: 8;
1: - unsigned int base: 8;
1: - int precision: 16;
1: + unsigned int type : 8;
1: + int field_width : 24;
1: + unsigned int flags : 8;
1: + unsigned int base : 8;
1: + int precision : 16;
1: };
1:
1: enum {
1: - st_wordstart = 0,
1: - st_wordcmp = 1,
1: - st_wordskip = 2,
1: + st_wordstart = 0,
1: + st_wordcmp = 1,
1: + st_wordskip = 2,
1: };
1:
1: enum {
1: - st_wordstart___2 = 0,
1: - st_wordcmp___2 = 1,
1: - st_wordskip___2 = 2,
1: - st_bufcpy = 3,
1: + st_wordstart___2 = 0,
1: + st_wordcmp___2 = 1,
1: + st_wordskip___2 = 2,
1: + st_bufcpy = 3,
1: };
1:
1: struct in6_addr___2;
1:
1: enum reg_type {
1: - REG_TYPE_RM = 0,
1: - REG_TYPE_INDEX = 1,
1: - REG_TYPE_BASE = 2,
1: + REG_TYPE_RM = 0,
1: + REG_TYPE_INDEX = 1,
1: + REG_TYPE_BASE = 2,
1: };
1:
1: #ifndef BPF_NO_PRESERVE_ACCESS_INDEX
1: Ignoring changes in the following files (wrong extension):
1: libbpf-tools/runqslower_example.txt
1: libbpf-tools/Makefile
1: libbpf-tools/.gitignore
1: libbpf-tools/README.md
1: man/man8/runqslower.8
1: Running clang-format on the following files:
1: libbpf-tools/runqslower.bpf.c
1: libbpf-tools/runqslower.h
1: libbpf-tools/vmlinux_505.h
1: libbpf-tools/runqslower.c
1: libbpf-tools/vmlinux.h
1: old tree: 37c38415fbfdff49975524defe15c3830fcdebb9
1: new tree: 6fd1a446684d17dcbc89f6ce9e055833c9af8fc5
1/40 Test #1: style-check ...................... Passed 10.28 sec
test 2
Start 2: c_test_static
2: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "c_test_static" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc/test_static"
2: Test timeout computed to be: 9.99988e+06
2: clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free -disable-llvm-verifier -main-file-name main.c -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -coverage-file /usr/src/linux-headers-4.4.0-116-generic/main.c -nostdsysteminc -nobuiltininc -resource-dir ../lib/clang/3.8.0 -isystem /virtual/lib/clang/include -include ./include/linux/kconfig.h -include /virtual/include/bcc/bpf.h -include /virtual/include/bcc/helpers.h -isystem /virtual/include -I /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc -D __BPF_TRACING__ -I ./arch/x86/include -I arch/x86/include/generated/uapi -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -D __KERNEL__ -D __HAVE_BUILTIN_BSWAP16__ -D __HAVE_BUILTIN_BSWAP32__ -D __HAVE_BUILTIN_BSWAP64__ -O2 -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end -Wno-pragma-once-outside-header -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-value -Wno-pointer-sign -fdebug-compilation-dir /usr/src/linux-headers-4.4.0-116-generic -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o main.bc -x c /virtual/main.c
2: #if defined(BPF_LICENSE)
2: #error BPF_LICENSE cannot be specified through cflags
2: #endif
2: #if !defined(CONFIG_CC_STACKPROTECTOR)
2: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
2: || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
2: || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
2: #define CONFIG_CC_STACKPROTECTOR
2: #endif
2: #endif
2: BPF_TABLE("array", int, int, stats, 10);
2:
2: #include <bcc/footer.h>
2: Running from kernel directory at: /lib/modules/4.4.0-116-generic/build
2/40 Test #2: c_test_static .................... Passed 1.61 sec
test 3
Start 3: test_libbcc
3: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "c_test_all" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/cc/test_libbcc"
3: Test timeout computed to be: 9.99988e+06
3: prog tag mismatch 57cd311f2e27366b 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: Parse error:
3: 4@i%ra+1r
3: -------^
3: prog tag mismatch a04f5eef06a7f555 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: prog tag mismatch a04f5eef06a7f555 11
3: WARNING: cannot get prog tag, ignore saving source with program tag
3: unshare: failed to execute ruby: No such file or directory
3:
3: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: test_libbcc is a Catch v1.4.0 host application.
3: Run with -? for options
3:
3: -------------------------------------------------------------------------------
3: test probing running Ruby process in namespaces
3: in separate mount namespace
3: -------------------------------------------------------------------------------
3: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/cc/test_usdt_probes.cc:316
3: ...............................................................................
3:
3: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/cc/test_usdt_probes.cc:331: FAILED:
3: REQUIRE( res.msg() == "" )
3: with expansion:
3: "Unable to load USDT ruby:gc__mark__begin from binary PID 7394 for probe
3: on_event"
3: ==
3: ""
3:
3: unshare: unrecognized option '--kill-child'
3:
3: Usage:
3: unshare [options] <program> [<argument>...]
3:
3: Run a program with some namespaces unshared from the parent.
3:
3: Options:
3: -m, --mount[=<file>] unshare mounts namespace
3: -u, --uts[=<file>] unshare UTS namespace (hostname etc)
3: -i, --ipc[=<file>] unshare System V IPC namespace
3: -n, --net[=<file>] unshare network namespace
3: -p, --pid[=<file>] unshare pid namespace
3: -U, --user[=<file>] unshare user namespace
3: -f, --fork fork before launching <program>
3: --mount-proc[=<dir>] mount proc filesystem first (implies --mount)
3: -r, --map-root-user map current user to root (implies --user)
3: --propagation slave|shared|private|unchanged
3: modify mount propagation in mount namespace
3: -s, --setgroups allow|deny control the setgroups syscall in user namespaces
3:
3: -h, --help display this help and exit
3: -V, --version output version information and exit
3:
3: For more details see unshare(1).
3: -------------------------------------------------------------------------------
3: test probing running Ruby process in namespaces
3: in separate mount namespace and separate PID namespace
3: -------------------------------------------------------------------------------
3: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/cc/test_usdt_probes.cc:316
3: ...............................................................................
3:
3: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/cc/test_usdt_probes.cc:357: FAILED:
3: REQUIRE( res.msg() == "" )
3: with expansion:
3: "Unable to load USDT ruby:gc__mark__begin from binary PID 58678656 for probe
3: on_event"
3: ==
3: ""
3:
3: ===============================================================================
3: test cases: 31 | 30 passed | 1 failed as expected
3: assertions: 496 | 494 passed | 2 failed as expected
3:
3/40 Test #3: test_libbcc ...................... Passed 9.17 sec
test 4
Start 4: py_test_stat1_b
4: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stat1_b" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stat1.py" "test_stat1.b" "proto.b"
4: Test timeout computed to be: 9.99988e+06
4: Actual changes:
4: tx-checksumming: off
4: tx-checksum-ip-generic: off
4: tcp-segmentation-offload: off
4: tx-tcp-segmentation: off [requested on]
4: tx-tcp-ecn-segmentation: off [requested on]
4: tx-tcp6-segmentation: off [requested on]
4: udp-fragmentation-offload: off [requested on]
4: .PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
4: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4: --- 172.16.1.1 ping statistics ---
4: 100 packets transmitted, 100 received, 0% packet loss, time 1ms
4: rtt min/avg/max/mdev = 0.005/0.007/0.114/0.011 ms, ipg/ewma 0.016/0.006 ms
4: .
4: ----------------------------------------------------------------------
4: Ran 2 tests in 0.334s
4:
4: OK
4/40 Test #4: py_test_stat1_b .................. Passed 1.26 sec
test 5
Start 5: py_test_bpf_log
5: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_bpf_prog" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_bpf_log.py"
5: Test timeout computed to be: 9.99988e+06
5/40 Test #5: py_test_bpf_log .................. Passed 2.09 sec
test 6
Start 6: py_test_stat1_c
6: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stat1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stat1.py" "test_stat1.c"
6: Test timeout computed to be: 9.99988e+06
6: Actual changes:
6: tx-checksumming: off
6: tx-checksum-ip-generic: off
6: tcp-segmentation-offload: off
6: tx-tcp-segmentation: off [requested on]
6: tx-tcp-ecn-segmentation: off [requested on]
6: tx-tcp6-segmentation: off [requested on]
6: udp-fragmentation-offload: off [requested on]
6: .PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
6: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6: --- 172.16.1.1 ping statistics ---
6: 100 packets transmitted, 100 received, 0% packet loss, time 1ms
6: rtt min/avg/max/mdev = 0.005/0.007/0.126/0.012 ms, ipg/ewma 0.016/0.005 ms
6: .
6: ----------------------------------------------------------------------
6: Ran 2 tests in 0.309s
6:
6: OK
6/40 Test #6: py_test_stat1_c .................. Passed 0.64 sec
test 7
Start 7: py_test_xlate1_c
7: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_xlate1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_xlate1.py" "test_xlate1.c"
7: Test timeout computed to be: 9.99988e+06
7: Actual changes:
7: tx-checksumming: off
7: tx-checksum-ip-generic: off
7: tcp-segmentation-offload: off
7: tx-tcp-segmentation: off [requested on]
7: tx-tcp-ecn-segmentation: off [requested on]
7: tx-tcp6-segmentation: off [requested on]
7: udp-fragmentation-offload: off [requested on]
7: PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
7: 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.114 ms
7:
7: --- 192.168.1.1 ping statistics ---
7: 1 packets transmitted, 1 received, 0% packet loss, time 0ms
7: rtt min/avg/max/mdev = 0.114/0.114/0.114/0.000 ms
7: .
7: ----------------------------------------------------------------------
7: Ran 1 test in 0.269s
7:
7: OK
7/40 Test #7: py_test_xlate1_c ................. Passed 0.70 sec
test 8
Start 8: py_test_call1
8: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_call1_c" "namespace" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_call1.py" "test_call1.c"
8: Test timeout computed to be: 9.99988e+06
8: Actual changes:
8: tx-checksumming: off
8: tx-checksum-ip-generic: off
8: tcp-segmentation-offload: off
8: tx-tcp-segmentation: off [requested on]
8: tx-tcp-ecn-segmentation: off [requested on]
8: tx-tcp6-segmentation: off [requested on]
8: udp-fragmentation-offload: off [requested on]
8: .
8: ----------------------------------------------------------------------
8: Ran 1 test in 0.184s
8:
8: OK
8/40 Test #8: py_test_call1 .................... Passed 0.60 sec
test 9
Start 9: py_test_trace1
9: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace1" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace1.py" "test_trace1.b" "kprobe.b"
9: Test timeout computed to be: 9.99988e+06
9: .
9: ----------------------------------------------------------------------
9: Ran 1 test in 0.291s
9:
9: OK
9: ('fd 8:', 'stat1 0', 'stat2 1')
9: ('fd ffff880037059980:', 'stat1 2', 'stat2 0')
9: ('fd a:', 'stat1 200', 'stat2 100')
9: ('fd 9:', 'stat1 1', 'stat2 1')
9/40 Test #9: py_test_trace1 ................... Passed 0.46 sec
test 10
Start 10: py_test_trace2
10: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace2" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace2.py"
10: Test timeout computed to be: 9.99988e+06
10: .
10: ----------------------------------------------------------------------
10: Ran 1 test in 4.171s
10:
10: OK
10: ('ptr ffff880214671c00:', 'stat1 (0 1)')
10: ('ptr ffff880213907000:', 'stat1 (0 7)')
10: ('ptr ffff880214675400:', 'stat1 (0 11)')
10: ('ptr ffff88021388aa00:', 'stat1 (0 4)')
10: ('ptr ffff880213906200:', 'stat1 (0 1)')
10: ('ptr ffff880037165400:', 'stat1 (0 3)')
10: ('ptr ffff880216b33800:', 'stat1 (0 1)')
10: ('ptr ffff880215e1c600:', 'stat1 (0 1)')
10: ('ptr ffff880213a67000:', 'stat1 (0 5)')
10: ('ptr ffff880215f38000:', 'stat1 (0 1)')
10: ('ptr ffff880216b30e00:', 'stat1 (0 65)')
10: ('ptr ffff880213c56200:', 'stat1 (0 21)')
10: ('ptr ffffffff81e13500:', 'stat1 (0 105)')
10: ('ptr ffff880213966200:', 'stat1 (0 2)')
10: ('ptr ffff88021476f000:', 'stat1 (0 100)')
10: ('ptr ffff880216ad5400:', 'stat1 (0 3)')
10: ('ptr ffff88021388f000:', 'stat1 (0 1)')
10: ('ptr ffff880215f3c600:', 'stat1 (0 5)')
10: ('ptr ffff880215e1aa00:', 'stat1 (0 3)')
10: ('ptr ffff880213f0e200:', 'stat1 (0 3)')
10/40 Test #10: py_test_trace2 ................... Passed 4.26 sec
test 11
Start 11: py_test_trace3_c
11: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace3_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace3.py" "test_trace3.c"
11: Test timeout computed to be: 9.99988e+06
11: 1024+0 records in
11: 1024+0 records out
11: 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.00427681 s, 981 MB/s
11: 1024+0 records in
11: 1024+0 records out
11: 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.00490851 s, 854 MB/s
11: ('latency 0:', 'count 0')
11: ('latency 1:', 'count 0')
11: ('latency 2:', 'count 0')
11: ('latency 3:', 'count 0')
11: ('latency 4:', 'count 0')
11: ('latency 5:', 'count 0')
11: ('latency 6:', 'count 0')
11: ('latency 7:', 'count 0')
11: ('latency 8:', 'count 0')
11: ('latency 9:', 'count 0')
11: ('latency 10:', 'count 0')
11: ('latency 11:', 'count 0')
11: ('latency 12:', 'count 0')
11: ('latency 13:', 'count 0')
11: ('latency 14:', 'count 0')
11: ('latency 15:', 'count 0')
11: ('latency 16:', 'count 0')
11: ('latency 17:', 'count 0')
11: ('latency 18:', 'count 0')
11: ('latency 19:', 'count 0')
11: ('latency 20:', 'count 0')
11: ('latency 21:', 'count 0')
11: ('latency 22:', 'count 0')
11: ('latency 23:', 'count 0')
11: ('latency 24:', 'count 0')
11: ('latency 25:', 'count 0')
11: ('latency 26:', 'count 0')
11: ('latency 27:', 'count 0')
11: ('latency 28:', 'count 0')
11: ('latency 29:', 'count 0')
11: ('latency 30:', 'count 0')
11: ('latency 31:', 'count 0')
11: ('latency 32:', 'count 0')
11: ('latency 33:', 'count 0')
11: ('latency 34:', 'count 0')
11: ('latency 35:', 'count 0')
11: ('latency 36:', 'count 0')
11: ('latency 37:', 'count 0')
11: ('latency 38:', 'count 0')
11: ('latency 39:', 'count 0')
11: ('latency 40:', 'count 0')
11: ('latency 41:', 'count 0')
11: ('latency 42:', 'count 0')
11: ('latency 43:', 'count 0')
11: ('latency 44:', 'count 0')
11: ('latency 45:', 'count 0')
11: ('latency 46:', 'count 1')
11: ('latency 47:', 'count 1')
11: ('latency 48:', 'count 0')
11: ('latency 49:', 'count 0')
11: ('latency 50:', 'count 1')
11: ('latency 51:', 'count 0')
11: ('latency 52:', 'count 1')
11: ('latency 53:', 'count 0')
11: ('latency 54:', 'count 0')
11: ('latency 55:', 'count 0')
11: ('latency 56:', 'count 0')
11: ('latency 57:', 'count 5')
11: ('latency 58:', 'count 12')
11: ('latency 59:', 'count 5')
11: ('latency 60:', 'count 12')
11: ('latency 61:', 'count 15')
11: ('latency 62:', 'count 6')
11: ('latency 63:', 'count 7')
11: ('latency 64:', 'count 87')
11: ('latency 65:', 'count 8')
11: ('latency 66:', 'count 48')
11: ('latency 67:', 'count 4')
11: ('latency 68:', 'count 0')
11: ('latency 69:', 'count 15')
11: ('latency 70:', 'count 0')
11: ('latency 71:', 'count 0')
11: ('latency 72:', 'count 2')
11: ('latency 73:', 'count 0')
11: ('latency 74:', 'count 1')
11: ('latency 75:', 'count 0')
11: ('latency 76:', 'count 0')
11: ('latency 77:', 'count 0')
11: ('latency 78:', 'count 0')
11: ('latency 79:', 'count 0')
11: ('latency 80:', 'count 0')
11: ('latency 81:', 'count 0')
11: ('latency 82:', 'count 0')
11: ('latency 83:', 'count 0')
11: ('latency 84:', 'count 0')
11: ('latency 85:', 'count 0')
11: ('latency 86:', 'count 0')
11: ('latency 87:', 'count 0')
11: ('latency 88:', 'count 0')
11: ('latency 89:', 'count 0')
11: ('latency 90:', 'count 0')
11: ('latency 91:', 'count 0')
11: ('latency 92:', 'count 0')
11: ('latency 93:', 'count 0')
11: ('latency 94:', 'count 0')
11: ('latency 95:', 'count 0')
11: ('latency 96:', 'count 0')
11: ('latency 97:', 'count 0')
11: ('latency 98:', 'count 0')
11: ('latency 99:', 'count 0')
11: .
11: ----------------------------------------------------------------------
11: Ran 1 test in 1.803s
11:
11: OK
11/40 Test #11: py_test_trace3_c ................. Passed 2.01 sec
test 12
Start 12: py_test_trace4
12: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace4" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace4.py"
12: Test timeout computed to be: 9.99988e+06
12: ..
12: ----------------------------------------------------------------------
12: Ran 2 tests in 1.408s
12:
12: OK
12/40 Test #12: py_test_trace4 ................... Passed 1.63 sec
test 13
Start 13: py_test_trace_maxactive
13: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_trace_maxactive" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_trace_maxactive.py"
13: Test timeout computed to be: 9.99988e+06
13: .
13: ----------------------------------------------------------------------
13: Ran 1 test in 0.942s
13:
13: OK
13/40 Test #13: py_test_trace_maxactive .......... Passed 1.08 sec
test 14
Start 14: py_test_probe_count
14: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_probe_count" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_probe_count.py"
14: Test timeout computed to be: 9.99988e+06
14: ...cannot attach kprobe, probe entry may not exist
14: ...
14: ----------------------------------------------------------------------
14: Ran 6 tests in 3.968s
14:
14: OK
14/40 Test #14: py_test_probe_count .............. Passed 4.02 sec
test 15
Start 15: py_test_debuginfo
15: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_debuginfo" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_debuginfo.py"
15: Test timeout computed to be: 9.99988e+06
15: ......
15: ----------------------------------------------------------------------
15: Ran 6 tests in 0.619s
15:
15: OK
15/40 Test #15: py_test_debuginfo ................ Passed 0.74 sec
test 16
Start 16: py_test_brb
16: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_brb_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_brb.py" "test_brb.c"
16: Test timeout computed to be: 9.99988e+06
16: net.ipv4.ip_forward = 1
16: ARPING 100.1.1.254
16: Timeout
16:
16: --- 100.1.1.254 statistics ---
16: 1 packets transmitted, 0 packets received, 100% unanswered (0 extra)
16:
16: ARPING 200.1.1.254
16: Timeout
16:
16: --- 200.1.1.254 statistics ---
16: 1 packets transmitted, 0 packets received, 100% unanswered (0 extra)
16:
16: PING 200.1.1.1 (200.1.1.1) 56(84) bytes of data.
16: 64 bytes from 200.1.1.1: icmp_seq=1 ttl=63 time=0.124 ms
16: 64 bytes from 200.1.1.1: icmp_seq=2 ttl=63 time=0.072 ms
16:
16: --- 200.1.1.1 ping statistics ---
16: 2 packets transmitted, 2 received, 0% packet loss, time 999ms
16: rtt min/avg/max/mdev = 0.072/0.098/0.124/0.026 ms
16: [ ID] Interval Transfer Bandwidth
16: [ 7] 0.0- 1.0 sec 3.23 GBytes 27.8 Gbits/sec
16: [ ID] Interval Transfer Bandwidth
16: [ 10] 0.0- 1.0 sec 3.23 GBytes 27.7 Gbits/sec
16: Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
16: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : demo
16: Recv Send Send
16: Socket Socket Message Elapsed
16: Size Size Size Time Throughput
16: bytes bytes bytes secs. 10^6bits/sec
16:
16: 87380 16384 65160 1.00 32023.97
16: MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : demo : first burst 0
16: Local /Remote
16: Socket Size Request Resp. Elapsed Trans.
16: Send Recv Size Size Time Rate
16: bytes Bytes bytes bytes secs. per sec
16:
16: 16384 87380 1 1 1.00 16548.87
16: 16384 87380
16: .
16: ----------------------------------------------------------------------
16: Ran 1 test in 7.777s
16:
16: OK
16/40 Test #16: py_test_brb ...................... Passed 7.92 sec
test 17
Start 17: py_test_brb2
17: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_brb2_c" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_brb2.py" "test_brb2.c"
17: Test timeout computed to be: 9.99988e+06
17: net.ipv4.ip_forward = 1
17: PING 200.1.1.1 (200.1.1.1) 56(84) bytes of data.
17: 64 bytes from 200.1.1.1: icmp_seq=1 ttl=63 time=0.180 ms
17: 64 bytes from 200.1.1.1: icmp_seq=2 ttl=63 time=0.075 ms
17:
17: --- 200.1.1.1 ping statistics ---
17: 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
17: rtt min/avg/max/mdev = 0.075/0.127/0.180/0.053 ms
17: [ ID] Interval Transfer Bandwidth
17: [ 7] 0.0- 1.0 sec 3.02 GBytes 25.9 Gbits/sec
17: [ ID] Interval Transfer Bandwidth
17: [ 10] 0.0- 1.0 sec 3.02 GBytes 25.7 Gbits/sec
17: Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
17: MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : demo
17: Recv Send Send
17: Socket Socket Message Elapsed
17: Size Size Size Time Throughput
17: bytes bytes bytes secs. 10^6bits/sec
17:
17: 87380 16384 65160 1.00 30831.57
17: MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 200.1.1.1 () port 0 AF_INET : demo : first burst 0
17: Local /Remote
17: Socket Size Request Resp. Elapsed Trans.
17: Send Recv Size Size Time Rate
17: bytes Bytes bytes bytes secs. per sec
17:
17: 16384 87380 1 1 1.00 21746.98
17: 16384 87380
17: .
17: ----------------------------------------------------------------------
17: Ran 1 test in 7.832s
17:
17: OK
17/40 Test #17: py_test_brb2 ..................... Passed 7.99 sec
test 18
Start 18: py_test_clang
18: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_clang" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_clang.py"
18: Test timeout computed to be: 9.99988e+06
18: ............s..../virtual/main.c:2:1: error: field has incomplete type 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: /virtual/include/bcc/helpers.h:183:48: note: expanded from macro 'BPF_HASH'
18: BPF_HASHX(__VA_ARGS__, BPF_HASH4, BPF_HASH3, BPF_HASH2, BPF_HASH1)(__VA_ARGS__)
18: ^
18: /virtual/main.c:2:24: note: forward declaration of 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: /virtual/main.c:2:1: error: field has incomplete type 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: /virtual/include/bcc/helpers.h:183:48: note: expanded from macro 'BPF_HASH'
18: BPF_HASHX(__VA_ARGS__, BPF_HASH4, BPF_HASH3, BPF_HASH2, BPF_HASH1)(__VA_ARGS__)
18: ^
18: /virtual/main.c:2:24: note: forward declaration of 'struct key_t'
18: BPF_HASH(drops, struct key_t);
18: ^
18: 2 errors generated.
18: ../virtual/main.c:6:12: error: cannot call non-static helper function
18: return bar();
18: ^
18: 1 error generated.
18: .......s................................/virtual/main.c:7:12: warning: incompatible pointer to integer conversion returning 'u32 *' (aka 'unsigned int *') from a function with result type 'int' [-Wint-conversion]
18: return *(&skp->sk_daddr);
18: ^~~~~~~~~~~~~~~~~
18: 1 warning generated.
18: ....ss........../virtual/main.c:1:30: error: expected expression
18: int failure(void *ctx) { if (); return 0; }
18: ^
18: 1 error generated.
18: ../virtual/main.c:3:73: error: too many arguments, bcc only supports in-register parameters
18: int many(struct pt_regs *ctx, int a, int b, int c, int d, int e, int f, int g) {
18: ^
18: 1 error generated.
18: ....
18: ----------------------------------------------------------------------
18: Ran 81 tests in 58.591s
18:
18: OK (skipped=4)
18: 0
18/40 Test #18: py_test_clang .................... Passed 58.95 sec
test 19
Start 19: py_test_histogram
19: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_histogram" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_histogram.py"
19: Test timeout computed to be: 9.99988e+06
19:
19: Bucket ptr = 'sshguard'
19: value : count distribution
19: 0 -> 1 : 0 | |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 19 |****************************************|
19:
19: Bucket ptr = 'python'
19: value : count distribution
19: 0 -> 1 : 22 |*********** |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 78 |****************************************|
19:
19: Bucket ptr = 'RemoteInvocatio'
19: value : count distribution
19: 0 -> 1 : 0 | |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 5 |****************************************|
19:
19: Bucket ptr = 'kworker/u4:2'
19: value : count distribution
19: 0 -> 1 : 1 |****************************************|
19:
19: Bucket ptr = 'ntpd'
19: value : count distribution
19: 0 -> 1 : 0 | |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 1 |****************************************|
19:
19: Bucket ptr = 'iscsid'
19: value : count distribution
19: 0 -> 1 : 2 |************************** |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 3 |****************************************|
19:
19: Bucket ptr = 'VM Periodic Tas'
19: value : count distribution
19: 0 -> 1 : 20 |****************************************|
19:
19: Bucket ptr = 'VM Thread'
19: value : count distribution
19: 0 -> 1 : 0 | |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 1 |****************************************|
19:
19: Bucket ptr = 'swapper/0'
19: value : count distribution
19: 0 -> 1 : 0 | |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 2 |* |
19: 134217728 -> 268435455 : 0 | |
19: 268435456 -> 536870911 : 0 | |
19: 536870912 -> 1073741823 : 0 | |
19: 1073741824 -> 2147483647 : 1 | |
19: 2147483648 -> 4294967295 : 0 | |
19: 4294967296 -> 8589934591 : 0 | |
19: 8589934592 -> 17179869183 : 0 | |
19: 17179869184 -> 34359738367 : 0 | |
19: 34359738368 -> 68719476735 : 2 |* |
19: 68719476736 -> 137438953471 : 23 |********************|
19: 137438953472 -> 274877906943 : 0 | |
19: 274877906944 -> 549755813887 : 0 | |
19: 549755813888 -> 1099511627775 : 22 |******************* |
19:
19: Bucket ptr = 'kworker/0:7'
19: value : count distribution
19: 0 -> 1 : 1 |****************************************|
19:
19: Bucket ptr = 'swapper/1'
19: value : count distribution
19: 0 -> 1 : 0 | |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 0 | |
19: 134217728 -> 268435455 : 0 | |
19: 268435456 -> 536870911 : 1 | |
19: 536870912 -> 1073741823 : 0 | |
19: 1073741824 -> 2147483647 : 0 | |
19: 2147483648 -> 4294967295 : 0 | |
19: 4294967296 -> 8589934591 : 0 | |
19: 8589934592 -> 17179869183 : 0 | |
19: 17179869184 -> 34359738367 : 0 | |
19: 34359738368 -> 68719476735 : 23 |***** |
19: 68719476736 -> 137438953471 : 6 |* |
19: 137438953472 -> 274877906943 : 0 | |
19: 274877906944 -> 549755813887 : 0 | |
19: 549755813888 -> 1099511627775 : 89 |********************|
19:
19: Bucket ptr = 'rcu_sched'
19: value : count distribution
19: 0 -> 1 : 2 |****************************************|
19:
19: Bucket ptr = 'kworker/1:1'
19: value : count distribution
19: 0 -> 1 : 0 | |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 16777216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 1 |****************************************|
19:
19: Bucket ptr = 'ctest'
19: value : count distribution
19: 0 -> 1 : 0 | |
19: 2 -> 3 : 0 | |
19: 4 -> 7 : 0 | |
19: 8 -> 15 : 0 | |
19: 16 -> 31 : 0 | |
19: 32 -> 63 : 0 | |
19: 64 -> 127 : 0 | |
19: 128 -> 255 : 0 | |
19: 256 -> 511 : 0 | |
19: 512 -> 1023 : 0 | |
19: 1024 -> 2047 : 0 | |
19: 2048 -> 4095 : 0 | |
19: 4096 -> 8191 : 0 | |
19: 8192 -> 16383 : 0 | |
19: 16384 -> 32767 : 0 | |
19: 32768 -> 65535 : 0 | |
19: 65536 -> 131071 : 0 | |
19: 131072 -> 262143 : 0 | |
19: 262144 -> 524287 : 0 | |
19: 524288 -> 1048575 : 0 | |
19: 1048576 -> 2097151 : 0 | |
19: 2097152 -> 4194303 : 0 | |
19: 4194304 -> 8388607 : 0 | |
19: 8388608 -> 16777215 : 0 | |
19: 1677..7216 -> 33554431 : 0 | |
19: 33554432 -> 67108863 : 0 | |
19: 67108864 -> 134217727 : 10 |****************************************|
19:
19: Bucket ptr = 'G1 Young RemSet'
19: value : count distribution
19: 0 -> 1 : 3 |****************************************|
19:
19: k_1 & k_2 = 64 0
19: size : count distribution
19: 0 -> 1 : 10 |****************************************|
19: value : count distribution
19: 0 -> 1 : 7 |**************************** |
19: 2 -> 3 : 10 |****************************************|
19: 4 -> 7 : 2 |******** |
19: 8 -> 15 : 2 |******** |
19: 16 -> 31 : 7 |**************************** |
19: 32 -> 63 : 7 |**************************** |
19: 64 -> 127 : 10 |****************************************|
19: 128 -> 255 : 9 |************************************ |
19: 256 -> 511 : 9 |************************************ |
19: 512 -> 1023 : 9 |************************************ |
19: 1024 -> 2047 : 1 |**** |
19: 2048 -> 4095 : 2 |******** |
19: 4096 -> 8191 : 6 |************************ |
19: 8192 -> 16383 : 6 |************************ |
19: 16384 -> 32767 : 3 |************ |
19: 32768 -> 65535 : 4 |**************** |
19: 65536 -> 131071 : 10 |****************************************|
19: 131072 -> 262143 : 4 |**************** |
19: 262144 -> 524287 : 4 |**************** |
19: 524288 -> 1048575 : 4 |**************** |
19: 1048576 -> 2097151 : 4 |**************** |
19: 2097152 -> 4194303 : 5 |******************** |
19: 4194304 -> 8388607 : 1 |**** |
19: 8388608 -> 16777215 : 4 |**************** |
19: 16777216 -> 33554431 : 8 |******************************** |
19: 33554432 -> 67108863 : 7 |**************************** |
19: 67108864 -> 134217727 : 4 |**************** |
19: 134217728 -> 268435455 : 2 |******** |
19: 268435456 -> 536870911 : 8 |******************************** |
19: 536870912 -> 1073741823 : 8 |******************************** |
19: 1073741824 -> 2147483647 : 10 |****************************************|
19: 2147483648 -> 4294967295 : 5 |******************** |
19: value : count distribution
19: 0 -> 1 : 7 |************** |
19: 2 -> 3 : 10 |********************|
19: 4 -> 7 : 2 |**** |
19: 8 -> 15 : 2 |**** |
19: 16 -> 31 : 7 |************** |
19: 32 -> 63 : 7 |************** |
19: 64 -> 127 : 10 |********************|
19: 128 -> 255 : 9 |****************** |
19: 256 -> 511 : 9 |****************** |
19: 512 -> 1023 : 9 |****************** |
19: 1024 -> 2047 : 1 |** |
19: 2048 -> 4095 . : 2 |**** |
19: 4096 -> 8191 : 6 |************ |
19: 8192 -> 16383 : 6 |************ |
19: 16384 -> 32767 : 3 |****** |
19: 32768 -> 65535 : 4 |******** |
19: 65536 -> 131071 : 10 |********************|
19: 131072 -> 262143 : 4 |******** |
19: 262144 -> 524287 : 4 |******** |
19: 524288 -> 1048575 : 4 |******** |
19: 1048576 -> 2097151 : 4 |******** |
19: 2097152 -> 4194303 : 5 |********** |
19: 4194304 -> 8388607 : 1 |** |
19: 8388608 -> 16777215 : 4 |******** |
19: 16777216 -> 33554431 : 8 |**************** |
19: 33554432 -> 67108863 : 7 |************** |
19: 67108864 -> 134217727 : 4 |******** |
19: 134217728 -> 268435455 : 2 |**** |
19: 268435456 -> 536870911 : 8 |**************** |
19: 536870912 -> 1073741823 : 8 |**************** |
19: 1073741824 -> 2147483647 : 10 |********************|
19: 2147483648 -> 4294967295 : 5 |********** |
19: 4294967296 -> 8589934591 : 1 |** |
19: 8589934592 -> 17179869183 : 7 |************** |
19: 17179869184 -> 34359738367 : 10 |********************|
19: 34359738368 -> 68719476735 : 8 |**************** |
19: 68719476736 -> 137438953471 : 5 |********** |
19: 137438953472 -> 274877906943 : 10 |********************|
19: 274877906944 -> 549755813887 : 9 |****************** |
19: 549755813888 -> 1099511627775 : 6 |************ |
19: 1099511627776 -> 2199023255551 : 9 |****************** |
19: 2199023255552 -> 4398046511103 : 1 |** |
19: 4398046511104 -> 8796093022207 : 1 |** |
19: 8796093022208 -> 17592186044415 : 10 |********************|
19: 17592186044416 -> 35184372088831 : 2 |**** |
19: 35184372088832 -> 70368744177663 : 9 |****************** |
19: 70368744177664 -> 140737488355327 : 3 |****** |
19: 140737488355328 -> 281474976710655 : 6 |************ |
19: 281474976710656 -> 562949953421311 : 3 |****** |
19: 562949953421312 -> 1125899906842623 : 4 |******** |
19: 1125899906842624 -> 2251799813685247 : 8 |**************** |
19: 2251799813685248 -> 4503599627370495 : 4 |******** |
19: 4503599627370496 -> 9007199254740991 : 5 |********** |
19: 9007199254740992 -> 18014398509481983 : 7 |************** |
19: 18014398509481984 -> 36028797018963967 : 4 |******** |
19: 36028797018963968 -> 72057594037927935 : 10 |********************|
19: 72057594037927936 -> 144115188075855871 : 5 |********** |
19: 144115188075855872 -> 288230376151711743 : 5 |********** |
19: 288230376151711744 -> 576460752303423487 : 8 |**************** |
19: 576460752303423488 -> 1152921504606846975 : 1 |** |
19: 1152921504606846976 -> 2305843009213693951 : 10 |********************|
19: 2305843009213693952 -> 4611686018427387903 : 10 |********************|
19: 4611686018427387904 -> 9223372036854775807 : 8 |**************** |
19:
19: Bucket ptr = 18446612135445076992L
19: value : count distribution
19: 0 -> 1 : 3 |****** |
19: 2 -> 3 : 10 |********************|
19: 4 -> 7 : 10 |********************|
19: 8 -> 15 : 5 |********** |
19: 16 -> 31 : 5 |********** |
19: 32 -> 63 : 3 |****** |
19: 64 -> 127 : 8 |**************** |
19: 128 -> 255 : 1 |** |
19: 256 -> 511 : 5 |********** |
19: 512 -> 1023 : 9 |****************** |
19: 1024 -> 2047 : 3 |****** |
19: 2048 -> 4095 : 4 |******** |
19: 4096 -> 8191 : 3 |****** |
19: 8192 -> 16383 : 10 |********************|
19: 16384 -> 32767 : 8 |**************** |
19: 32768 -> 65535 : 3 |****** |
19: 65536 -> 131071 : 10 |********************|
19: 131072 -> 262143 : 1 |** |
19: 262144 -> 524287 : 9 |****************** |
19: 524288 -> 1048575 : 8 |**************** |
19: 1048576 -> 2097151 : 9 |****************** |
19: 2097152 -> 4194303 : 2 |**** |
19: 4194304 -> 8388607 : 7 |************** |
19: 8388608 -> 16777215 : 7 |************** |
19: 16777216 -> 33554431 : 6 |************ |
19: 33554432 -> 67108863 : 2 |**** |
19: 67108864 -> 134217727 : 6 |************ |
19: 134217728 -> 268435455 : 4 |******** |
19: 268435456 -> 536870911 : 9 |****************** |
19: 536870912 -> 1073741823 : 4 |******** |
19: 1073741824 -> 2147483647 : 7 |************** |
19: 2147483648 -> 4294967295 : 5 |********** |
19: 4294967296 -> 8589934591 : 5 |********** |
19: 8589934592 -> 17179869183 : 6 |************ |
19: 17179869184 -> 34359738367 : 8 |**************** |
19: 34359738368 -> 68719476735 : 9 |****************** |
19: 68719476736 -> 137438953471 : 8 |**************** |
19: 137438953472 -> 274877906943 : 2 |**** |
19: 274877906944 -> 549755813887 : 9 |****************** |
19: 549755813888 -> 1099511627775 : 6 |************ |
19: 1099511627776 -> 2199023255551 : 1 |** |
19: 2199023255552 -> 4398046511103 : 6 |************ |
19: 4398046511104 -> 8796093022207 : 7 |************** |
19: 8796093022208 -> 17592186044415 : 5 |********** |
19: 17592186044416 -> 35184372088831 : 7 |************** |
19: 35184372088832 -> 70368744177663 : 10 |********************|
19: 70368744177664 -> 140737488355327 : 7 |************** |
19: 140737488355328 -> 281474976710655 : 6 |************ |
19: 281474976710656 -> 562949953421311 : 5 |********** |
19: 562949953421312 -> 1125899906842623 : 5 |********** |
19: 1125899906842624 -> 2251799813685247 : 8 |**************** |
19: 2251799813685248 -> 4503599627370495 : 4 |******** |
19: 4503599627370496 -> 9007199254740991 : 3 |****** |
19: 9007199254740992 -> 18014398509481983 : 7 |************** |
19: 18014398509481984 -> 36028797018963967 : 2 |**** |
19: 36028797018963968 -> 72057594037927935 : 9 |****************** |
19: 72057594037927936 -> 144115188075855871 : 7 |************** |
19: 144115188075855872 -> 288230376151711743 : 4 |******** |
19: 288230376151711744 -> 576460752303423487 : 5 |********** |
19: 576460752303423488 -> 1152921504606846975 : 7 |************** |
19: 1152921504606846976 -> 2305843009213693951 : 3 |****** |
19: 2305843009213693952 -> 4611686018427387903 : 9 |****************** |
19: 4611686018427387904 -> 9223372036854775807 : 6 |************ |
19: 9223372036854775808 -> 18446744073709551615 : 6 |************ |
19:
19: Bucket ptr = 18446612135445074816L
19: value : count distribution
19: 0 -> 1 : 3 |****** |
19: 2 -> 3 : 10 |********************|
19: 4 -> 7 : 10 |********************|
19: 8 -> 15 : 5 |********** |
19: 16 -> 31 : 5 |********** |
19: 32 -> 63 : 3 |****** |
19: 64 -> 127 : 8 |**************** |
19: 128 -> 255 : 1 |** |
19: 256 -> 511 : 5 |********** |
19: 512 -> 1023 : 9 |****************** |
19: 1024 -> 2047 : 3 |****** |
19: 2048 -> 4095 : 4 |******** |
19: 4096 -> 8191 : 3 |****** |
19: 8192 -> 16383 : 10 |********************|
19: 16384 -> 32767 : 8 |**************** |
19: 32768 -> 65535 : 3 |****** |
19: 65536 -> 131071 : 10 |********************|
19: 131072 -> 262143 : 1 |** |
19: 262144 -> 524287 : 9 |****************** |
19: 524288 -> 1048575 : 8 |**************** |
19: 1048576 -> 2097151 : 9 |****************** |
19: 2097152 -> 4194303 : 2 |**** |
19: 4194304 -> 8388607 : 7 |************** |
19: 8388608 -> 16777215 : 7 |************** |
19: 16777216 -> 33554431 : 6 |************ |
19: 33554432 -> 67108863 : 2 |**** |
19: 67108864 -> 134217727 : 6 |************ |
19: 134217728 -> 268435455 : 4 |******** |
19: 268435456 -> 536870911 : 9 |****************** |
19: 536870912 -> 1073741823 : 4 |******** |
19: 1073741824 -> 2147483647 : 7 |************** |
19: 2147483648 -> 4294967295 : 5 |********** |
19: 4294967296 -> 8589934591 : 5 |********** |
19: 8589934592 -> 17179869183 : 6 |************ |
19: 17179869184 -> 34359738367 : 8 |**************** |
19: 34359738368 -> 68719476735 : 9 |****************** |
19: 68719476736 -> 137438953471 : 8 |**************** |
19: 137438953472 -> 2748.
19: ----------------------------------------------------------------------
19: Ran 4 tests in 3.259s
19:
19: OK
19: 77906943 : 2 |**** |
19: 274877906944 -> 549755813887 : 9 |****************** |
19: 549755813888 -> 1099511627775 : 6 |************ |
19: 1099511627776 -> 2199023255551 : 1 |** |
19: 2199023255552 -> 4398046511103 : 6 |************ |
19: 4398046511104 -> 8796093022207 : 7 |************** |
19: 8796093022208 -> 17592186044415 : 5 |********** |
19: 17592186044416 -> 35184372088831 : 7 |************** |
19: 35184372088832 -> 70368744177663 : 10 |********************|
19: 70368744177664 -> 140737488355327 : 7 |************** |
19: 140737488355328 -> 281474976710655 : 6 |************ |
19: 281474976710656 -> 562949953421311 : 5 |********** |
19: 562949953421312 -> 1125899906842623 : 5 |********** |
19: 1125899906842624 -> 2251799813685247 : 8 |**************** |
19: 2251799813685248 -> 4503599627370495 : 4 |******** |
19: 4503599627370496 -> 9007199254740991 : 3 |****** |
19: 9007199254740992 -> 18014398509481983 : 7 |************** |
19: 18014398509481984 -> 36028797018963967 : 2 |**** |
19: 36028797018963968 -> 72057594037927935 : 9 |****************** |
19: 72057594037927936 -> 144115188075855871 : 7 |************** |
19: 144115188075855872 -> 288230376151711743 : 4 |******** |
19: 288230376151711744 -> 576460752303423487 : 5 |********** |
19: 576460752303423488 -> 1152921504606846975 : 7 |************** |
19: 1152921504606846976 -> 2305843009213693951 : 3 |****** |
19: 2305843009213693952 -> 4611686018427387903 : 9 |****************** |
19: 4611686018427387904 -> 9223372036854775807 : 6 |************ |
19: 9223372036854775808 -> 18446744073709551615 : 6 |************ |
19/40 Test #19: py_test_histogram ................ Passed 3.31 sec
test 20
Start 20: py_array
20: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_array" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_array.py"
20: Test timeout computed to be: 9.99988e+06
20: ....
20: ----------------------------------------------------------------------
20: Ran 4 tests in 1.079s
20:
20: OK
20/40 Test #20: py_array ......................... Passed 1.14 sec
test 21
Start 21: py_uprobes
21: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_uprobes" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_uprobes.py"
21: Test timeout computed to be: 9.99988e+06
21: .Python 2.7.12
21: .Arena 0:
21: system bytes = 19722240
21: in use bytes = 2930032
21: Total (incl. mmap):
21: system bytes = 20512768
21: in use bytes = 3720560
21: max mmap regions = 7
21: max mmap bytes = 2781184
21: .
21: ----------------------------------------------------------------------
21: Ran 3 tests in 6.380s
21:
21: OK
21/40 Test #21: py_uprobes ....................... Passed 6.44 sec
test 22
Start 22: py_test_stackid
22: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_stackid" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_stackid.py"
22: Test timeout computed to be: 9.99988e+06
22: ss
22: ----------------------------------------------------------------------
22: Ran 2 tests in 0.000s
22:
22: OK (skipped=2)
22/40 Test #22: py_test_stackid .................. Passed 0.12 sec
test 23
Start 23: py_test_tracepoint
23: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tracepoint" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tracepoint.py"
23: Test timeout computed to be: 9.99988e+06
23: ss
23: ----------------------------------------------------------------------
23: Ran 2 tests in 0.000s
23:
23: OK (skipped=2)
23/40 Test #23: py_test_tracepoint ............... Passed 0.05 sec
test 24
Start 24: py_test_perf_event
24: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_perf_event" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_perf_event.py"
24: Test timeout computed to be: 9.99988e+06
24: perf_event_open: No such file or directory
24: s
24: ----------------------------------------------------------------------
24: Ran 1 test in 0.269s
24:
24: OK (skipped=1)
24/40 Test #24: py_test_perf_event ............... Passed 0.40 sec
test 25
Start 25: py_test_utils
25: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_utils" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_utils.py"
25: Test timeout computed to be: 9.99988e+06
25: ..
25: ----------------------------------------------------------------------
25: Ran 2 tests in 0.001s
25:
25: OK
25/40 Test #25: py_test_utils .................... Passed 0.05 sec
test 26
Start 26: py_test_percpu
26: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_percpu" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_percpu.py"
26: Test timeout computed to be: 9.99988e+06
26: could not open bpf map: stub, error: Invalid argument
26: scould not open bpf map: stub, error: Invalid argument
26: scould not open bpf map: stub, error: Invalid argument
26: scould not open bpf map: stub, error: Invalid argument
26: s
26: ----------------------------------------------------------------------
26: Ran 4 tests in 0.512s
26:
26: OK (skipped=4)
26/40 Test #26: py_test_percpu ................... Passed 0.57 sec
test 27
Start 27: py_test_dump_func
27: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_dump_func" "simple" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_dump_func.py"
27: Test timeout computed to be: 9.99988e+06
27: .
27: ----------------------------------------------------------------------
27: Ran 1 test in 0.140s
27:
27: OK
27/40 Test #27: py_test_dump_func ................ Passed 0.19 sec
test 28
Start 28: py_test_disassembler
28: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_disassembler" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_disassembler.py"
28: Test timeout computed to be: 9.99988e+06
28: ..
28: ----------------------------------------------------------------------
28: Ran 2 tests in 0.156s
28:
28: OK
28/40 Test #28: py_test_disassembler ............. Passed 0.21 sec
test 29
Start 29: py_test_tools_smoke
29: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tools_smoke" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_smoke.py"
29: Test timeout computed to be: 9.99988e+06
29: Traceback (most recent call last):
29: File "../../tools/argdist.py", line 712, in run
29: self._main_loop()
29: File "../../tools/argdist.py", line 702, in _main_loop
29: exit()
29: File "/usr/lib/python2.7/site.py", line 375, in __call__
29: raise SystemExit(code)
29: SystemExit: None
29: ....'unknown': I need something more specific.
29: .'unknown': I need something more specific.
29: 'unknown': I need something more specific.
29: 'unknown': I need something more specific.
29: 'unknown': I need something more specific.
29: .......s.s....sss....'unknown': I need something more specific.
29: ......Killed
29: .ss.ss...sss..s.ss'unknown': I need something more specific.
29: .ss..s..s...s..'unknown': I need something more specific.
29: ...'unknown': I need something more specific.
29: .s...'unknown': I need something more specific.
29: ....s....
29: ----------------------------------------------------------------------
29: Ran 82 tests in 199.233s
29:
29: OK (skipped=22)
29/40 Test #29: py_test_tools_smoke .............. Passed 199.35 sec
test 30
Start 30: py_test_tools_memleak
30: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_tools_memleak" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_tools_memleak.py"
30: Test timeout computed to be: 9.99988e+06
30: ssssssss
30: ----------------------------------------------------------------------
30: Ran 8 tests in 0.076s
30:
30: OK (skipped=8)
30/40 Test #30: py_test_tools_memleak ............ Passed 0.11 sec
test 31
Start 31: py_test_usdt
31: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt.py"
31: Test timeout computed to be: 9.99988e+06
31: <stdin>: In function ‘main’:
31: <stdin>:23:17: warning: null character(s) preserved in literal
31: <stdin>:25:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
31: <stdin>:25:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
31: <stdin>:28:17: warning: null character(s) preserved in literal
31: <stdin>:30:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
31: <stdin>:30:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]
31: clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free -disable-llvm-verifier -main-file-name main.c -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -coverage-file /usr/src/linux-headers-4.4.0-116-generic/main.c -nostdsysteminc -nobuiltininc -resource-dir ../lib/clang/3.8.0 -isystem /virtual/lib/clang/include -include ./include/linux/kconfig.h -include /virtual/include/bcc/bpf.h -include /virtual/include/bcc/helpers.h -isystem /virtual/include -I /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python -D __BPF_TRACING__ -I ./arch/x86/include -I arch/x86/include/generated/uapi -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -D __KERNEL__ -D __HAVE_BUILTIN_BSWAP16__ -D __HAVE_BUILTIN_BSWAP32__ -D __HAVE_BUILTIN_BSWAP64__ -O2 -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end -Wno-pragma-once-outside-header -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-value -Wno-pointer-sign -fdebug-compilation-dir /usr/src/linux-headers-4.4.0-116-generic -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o main.bc -x c /virtual/main.c
31: #if defined(BPF_LICENSE)
31: #error BPF_LICENSE cannot be specified through cflags
31: #endif
31: #if !defined(CONFIG_CC_STACKPROTECTOR)
31: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
31: || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
31: || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
31: #define CONFIG_CC_STACKPROTECTOR
31: #endif
31: #endif
31: #include <uapi/linux/ptrace.h>
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace1_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int8_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x4006e4ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: case 0x4006eaULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace1_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x4006e4ULL: { u64 __addr = ctx->bp + -204; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x4006eaULL: { u64 __addr = ctx->bp + -208; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace3_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x4006e5ULL: { u64 __addr = ctx->bp + -208; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x4006f8ULL: *((int32_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace3_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: switch(PT_REGS_IP(ctx)) {
31: case 0x4006e5ULL: { u64 __addr = ctx->bp + -204; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
31: case 0x4006f8ULL: *((int32_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory"); return 0;
31: }
31: return -1;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace2_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int32_t)) return -1;
31: *((int32_t *)dest) = 5;
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace2_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int8_t)) return -1;
31: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace4_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace4_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace5_1(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31: __attribute__((always_inline))
31: static __always_inline int _bpf_readarg_do_trace5_2(struct pt_regs *ctx, void *dest, size_t len) {
31: if (len != sizeof(int64_t)) return -1;
31: *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
31: return 0;
31: }
31:
31: #include <linux/blkdev.h>
31: #include <uapi/linux/ptrace.h>
31:
31: struct probe_result_t1 {
31: char v1;
31: int v2;
31: };
31:
31: struct probe_result_t2 {
31: int v1;
31: char v2;
31: };
31:
31: struct probe_result_t3 {
31: int v1;
31: int v2;
31: };
31:
31: struct probe_result_t4 {
31: u64 v1;
31: char v2[8];
31: };
31:
31: struct probe_result_t5 {
31: char v1[8];
31: u64 v2;
31: };
31:
31: BPF_PERF_OUTPUT(event1);
31: BPF_PERF_OUTPUT(event2);
31: BPF_PERF_OUTPUT(event3);
31: BPF_PERF_OUTPUT(event4);
31: BPF_PERF_OUTPUT(event5);
31:
31: __attribute__((section(".bpf.fn.do_trace1")))
31: int do_trace1(struct pt_regs *ctx) {
31:
31: struct probe_result_t1 result = {};
31: _bpf_readarg_do_trace1_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace1_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -1), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: };
31: __attribute__((section(".bpf.fn.do_trace2")))
31: int do_trace2(struct pt_regs *ctx) {
31:
31: struct probe_result_t2 result = {};
31: _bpf_readarg_do_trace2_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace2_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -2), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace3")))
31: int do_trace3(struct pt_regs *ctx) {
31:
31: struct probe_result_t3 result = {};
31: _bpf_readarg_do_trace3_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: _bpf_readarg_do_trace3_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -3), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace4")))
31: int do_trace4(struct pt_regs *ctx) {
31:
31: struct probe_result_t4 result = {};
31: _bpf_readarg_do_trace4_1(ctx, &result.v1, sizeof(*(&result.v1)));
31: ({ u64 __addr = 0x0; _bpf_readarg_do_trace4_2(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v2, sizeof(result.v2), (void *)__addr);});
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -4), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31: __attribute__((section(".bpf.fn.do_trace5")))
31: int do_trace5(struct pt_regs *ctx) {
31:
31: struct probe_result_t5 result = {};
31: ({ u64 __addr = 0x0; _bpf_readarg_do_trace5_1(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v1, sizeof(result.v1), (void *)__addr);});
31: _bpf_readarg_do_trace5_2(ctx, &result.v2, sizeof(*(&result.v2)));
31: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -5), CUR_CPU_IDENTIFIER, &result, sizeof(result));
31: return 0;
31: }
31:
31: #include <bcc/footer.h>
31: .
31: ----------------------------------------------------------------------
31: Ran 1 test in 4.055s
31:
31: OK
31: Running from kernel directory at: /lib/modules/4.4.0-116-generic/build
31: str5
31: str4
31: str7
31: str6
31: str9
31: str8
31/40 Test #31: py_test_usdt ..................... Passed 4.30 sec
test 32
Start 32: py_test_usdt2
32: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt2" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt2.py"
32: Test timeout computed to be: 9.99988e+06
32: .
32: ----------------------------------------------------------------------
32: Ran 1 test in 2.050s
32:
32: OK
32/40 Test #32: py_test_usdt2 .................... Passed 2.22 sec
test 33
Start 33: py_test_usdt3
33: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_usdt3" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_usdt3.py"
33: Test timeout computed to be: 9.99988e+06
33: test:probe [sema 0x0]
33: location #1 /proc/8949/root/tmp/tmp2NGXdM/liba.so 0x657
33: argument #1 4 signed bytes @ *(bp - 4)
33: location #2 /proc/8949/root/tmp/tmp2NGXdM/libb.so 0x657
33: argument #1 4 signed bytes @ *(bp - 4)
33: location #3 /proc/8949/root/tmp/tmp2NGXdM/a.out 0x40072d
33: argument #1 4 signed bytes @ *(bp - 4)
33: libc:setjmp [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x351f1
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ ax
33: libc:longjmp [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x352d3
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: location #2 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x119063
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: libc:longjmp_target [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x352ef
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: location #2 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x11907f
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: libc:memory_heap_new [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7d398
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ bp
33: libc:memory_arena_reuse_free_list [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7d6ec
33: argument #1 8 unsigned bytes @ dx
33: libc:memory_sbrk_less [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7d8de
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 signed bytes @ bx
33: libc:memory_arena_reuse_wait [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7d9eb
33: argument #1 8 unsigned bytes @ dx
33: argument #2 8 unsigned bytes @ dx
33: argument #3 8 unsigned bytes @ bx
33: libc:memory_arena_reuse [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7db14
33: argument #1 8 unsigned bytes @ dx
33: argument #2 8 unsigned bytes @ bx
33: libc:memory_arena_new [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7dcbb
33: argument #1 8 unsigned bytes @ dx
33: argument #2 8 unsigned bytes @ bp
33: libc:memory_arena_retry [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x7deb3
33: argument #1 8 unsigned bytes @ si
33: argument #2 8 unsigned bytes @ di
33: libc:memory_heap_free [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x80265
33: argument #1 8 unsigned bytes @ di
33: argument #2 8 unsigned bytes @ ax
33: libc:memory_heap_less [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x8040e
33: argument #1 8 unsigned bytes @ r15
33: argument #2 8 unsigned bytes @ r14
33: libc:memory_heap_more [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x81351
33: argument #1 8 unsigned bytes @ r8
33: argument #2 8 unsigned bytes @ cx
33: libc:memory_sbrk_more [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x81638
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 signed bytes @ r15
33: libc:memory_malloc_retry [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84268
33: argument #1 8 unsigned bytes @ bp
33: location #2 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85978
33: argument #1 8 unsigned bytes @ bp
33: libc:memory_mallopt_free_dyn_thresholds [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84581
33: argument #1 8 unsigned bytes @ ax
33: argument #2 8 unsigned bytes @ dx
33: libc:memory_realloc_retry [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84a20
33: argument #1 8 unsigned bytes @ r13
33: argument #2 8 unsigned bytes @ bx
33: location #2 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85da0
33: argument #1 8 unsigned bytes @ r13
33: argument #2 8 unsigned bytes @ bx
33: libc:memory_memalign_retry [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84c48
33: argument #1 8 unsigned bytes @ r12
33: argument #2 8 unsigned bytes @ bx
33: location #2 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85fe8
33: argument #1 8 unsigned bytes @ r12
33: argument #2 8 unsigned bytes @ bx
33: location #3 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x867d8
33: argument #1 8 unsigned bytes @ r12
33: argument #2 8 unsigned bytes @ bx
33: location #4 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x86ac8
33: argument #1 8 unsigned bytes @ r12
33: argument #2 8 unsigned bytes @ bx
33: location #5 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x87822
33: argument #1 8 unsigned bytes @ bx
33: argument #2 8 unsigned bytes @ r12
33: libc:memory_calloc_retry [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x84f40
33: argument #1 8 unsigned bytes @ bp
33: libc:memory_mallopt [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x852d4
33: argument #1 4 signed bytes @ bx
33: argument #2 4 signed bytes @ bp
33: libc:memory_mallopt_mxfast [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85302
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&global_max_fast + 0)
33: libc:memory_mallopt_arena_max [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x8532c
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 32)
33: libc:memory_mallopt_arena_test [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85384
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 24)
33: libc:memory_mallopt_mmap_max [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85398
33: argument #1 4 signed bytes @ bp
33: argument #2 4 signed bytes @ *(&mp_ + 44)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_mmap_threshold [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x853be
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 16)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_top_pad [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x853e0
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 8)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_trim_threshold [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85400
33: argument #1 4 signed bytes @ bp
33: argument #2 8 unsigned bytes @ *(&mp_ + 0)
33: argument #3 4 signed bytes @ *(&mp_ + 52)
33: libc:memory_mallopt_perturb [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85420
33: argument #1 4 signed bytes @ bp
33: argument #2 4 signed bytes @ *(&perturb_byte + 0)
33: libc:memory_mallopt_check_action [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x85438
33: argument #1 4 signed bytes @ bp
33: argument #2 4 signed bytes @ *(&check_action + 0)
33: libc:lll_lock_wait_private [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/libc-2.23.so 0x115094
33: argument #1 8 unsigned bytes @ di
33: rtld:init_start [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x396a
33: argument #1 4 signed bytes @ 0
33: argument #2 8 unsigned bytes @ r14
33: rtld:init_complete [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x3f3b
33: argument #1 4 signed bytes @ 0
33: argument #2 8 unsigned bytes @ bx
33: rtld:map_failed [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x56f6
33: argument #1 8 signed bytes @ *(sp + 72)
33: argument #2 8 unsigned bytes @ bp
33: rtld:map_start [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x669a
33: argument #1 8 signed bytes @ *(bp + 40)
33: argument #2 8 unsigned bytes @ *(bp - 216)
33: rtld:map_complete [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x15650
33: argument #1 8 signed bytes @ *(ax + 40)
33: argument #2 8 unsigned bytes @ *(bp - 120)
33: argument #3 8 unsigned bytes @ *(bp - 104)
33: rtld:reloc_start [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x1586c
33: argument #1 8 signed bytes @ *(r12 + 40)
33: argument #2 8 unsigned bytes @ *(bp - 120)
33: rtld:reloc_complete [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x158c9
33: argument #1 8 signed bytes @ *(ax + 40)
33: argument #2 8 unsigned bytes @ *(bp - 120)
33: argument #3 8 unsigned bytes @ *(bp - 104)
33: rtld:unmap_start [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x165d5
33: argument #1 8 signed bytes @ *(bp - 112)
33: argument #2 8 unsigned bytes @ *(bp - 88)
33: rtld:unmap_complete [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x167e6
33: argument #1 8 signed bytes @ *(bp - 112)
33: argument #2 8 unsigned bytes @ *(bp - 88)
33: rtld:setjmp [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x1b64d
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ ax
33: rtld:longjmp [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x1b68d
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ si
33: argument #3 8 unsigned bytes @ dx
33: rtld:longjmp_target [sema 0x0]
33: location #1 /proc/8949/root/lib/x86_64-linux-gnu/ld-2.23.so 0x1b6a9
33: argument #1 8 unsigned bytes @ di
33: argument #2 4 signed bytes @ ax
33: argument #3 8 unsigned bytes @ dx
33: .
33: ----------------------------------------------------------------------
33: Ran 1 test in 1.139s
33:
33: OK
33: temp directory: /tmp/tmp2NGXdM
33/40 Test #33: py_test_usdt3 .................... Passed 1.28 sec
test 34
Start 34: py_test_license
34: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_license" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_license.py"
34: Test timeout computed to be: 9.99988e+06
34: /virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: x/virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: x.bpf: Failed to load program: Invalid argument
34: 0: (bf) r6 = r1
34: 1: (85) call 5
34: cannot call GPL only function from proprietary program
34:
34: x../virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
34: #error BPF_LICENSE cannot be specified through cflags
34: ^
34: 1 error generated.
34: xbpf: Failed to load program: Invalid argument
34: 0: (bf) r6 = r1
34: 1: (85) call 5
34: cannot call GPL only function from proprietary program
34:
34: x..
34: ----------------------------------------------------------------------
34: Ran 10 tests in 1.629s
34:
34: OK (expected failures=5)
34/40 Test #34: py_test_license .................. Passed 1.68 sec
test 35
Start 35: py_test_free_bcc_memory
35: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_free_bcc_memory" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_free_bcc_memory.py"
35: Test timeout computed to be: 9.99988e+06
35: s
35: ----------------------------------------------------------------------
35: Ran 1 test in 0.000s
35:
35: OK (skipped=1)
35/40 Test #35: py_test_free_bcc_memory .......... Passed 0.05 sec
test 36
Start 36: py_test_rlimit
36: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "py_test_rlimit" "sudo" "/home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/python/test_rlimit.py"
36: Test timeout computed to be: 9.99988e+06
36: could not open bpf map: unused, error: Operation not permitted
36: .
36: ----------------------------------------------------------------------
36: Ran 1 test in 0.282s
36:
36: OK
36/40 Test #36: py_test_rlimit ................... Passed 0.36 sec
test 37
Start 37: lua_test_clang
37: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_clang" "sudo" "/usr/bin/luajit" "test_clang.lua"
37: Test timeout computed to be: 9.99988e+06
37: /virtual/main.c:1:30: error: expected expression
37: int failure(void *ctx) { if (); return 0; }
37: ^
37: 1 error generated.
37: ....................
37: Ran 20 tests in 10.199 seconds, 20 successes, 0 failures
37: OK
37/40 Test #37: lua_test_clang ................... Passed 10.24 sec
test 38
Start 38: lua_test_uprobes
38: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
38: Test timeout computed to be: 9.99988e+06
38: Python 2.7.12
38: Arena 0:
38: system bytes = 17805312
38: in use bytes = 1009760
38: Total (incl. mmap):
38: system bytes = 17805312
38: in use bytes = 1009760
38: max mmap regions = 6
38: max mmap bytes = 1990656
38: ..
38: Ran 2 tests in 0.272 seconds, 2 successes, 0 failures
38: OK
38/40 Test #38: lua_test_uprobes ................. Passed 0.37 sec
test 39
Start 39: lua_test_dump
39: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
39: Test timeout computed to be: 9.99988e+06
39: .
39: Ran 1 tests in 0.134 seconds, 1 successes, 0 failures
39: OK
39/40 Test #39: lua_test_dump .................... Passed 0.15 sec
test 40
Start 40: lua_test_standalone
40: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/lua/test_standalone.sh
40: Test timeout computed to be: 9.99988e+06
40: + cd src/lua
40: + [[ ! -x bcc-lua ]]
40: + echo 'bcc-lua not built --- skipping'
40: bcc-lua not built --- skipping
40: + exit 0
40/40 Test #40: lua_test_standalone .............. Passed 0.00 sec
100% tests passed, 0 tests failed out of 40
Total Test time (real) = 348.06 sec
+ head -n 1 Testing/TAG
+ cp Testing/20200213-0642/Test.xml ./CTestResults.xml
Taking single-use slave ubuntu1604-slave-3c offline.
Finished: SUCCESS