devices: fs: Add fuse constants and struct definitions

Add the constants and struct definitions from the kernel fuse interface.
These bindings are manually generated from `include/uapi/linux/fuse.h`
in the kernel repo.

BUG=b:136128319
TEST=none;  these aren't used anywhere yet

Change-Id: I03d11bc55eca6b8269f1e63a1187ef458ee16f28
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1705655
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
This commit is contained in:
Chirantan Ekbote 2019-07-17 10:48:02 +09:00 committed by Commit Bot
parent b5964164c4
commit 99e6a6fb1f
3 changed files with 1056 additions and 0 deletions

7
Cargo.lock generated
View file

@ -56,6 +56,11 @@ dependencies = [
"syn 0.15.26 (registry+https://github.com/rust-lang/crates.io-index)", "syn 0.15.26 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]]
name = "bitflags"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
name = "cc" name = "cc"
version = "1.0.25" version = "1.0.25"
@ -138,6 +143,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"audio_streams 0.1.0", "audio_streams 0.1.0",
"bit_field 0.1.0", "bit_field 0.1.0",
"bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"data_model 0.1.0", "data_model 0.1.0",
"disk 0.1.0", "disk 0.1.0",
"enumn 0.1.0", "enumn 0.1.0",
@ -601,6 +607,7 @@ dependencies = [
] ]
[metadata] [metadata]
"checksum bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3d155346769a6855b86399e9bc3814ab343cd3d62c7e985113d46a0ec3c281fd"
"checksum cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "f159dfd43363c4d08055a07703eb7a3406b0dac4d0584d96965a3262db3c9d16" "checksum cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "f159dfd43363c4d08055a07703eb7a3406b0dac4d0584d96965a3262db3c9d16"
"checksum cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0c4e7bb64a8ebb0d856483e1e682ea3422f883c5f5615a90d51a2c82fe87fdd3" "checksum cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0c4e7bb64a8ebb0d856483e1e682ea3422f883c5f5615a90d51a2c82fe87fdd3"
"checksum getopts 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)" = "0a7292d30132fb5424b354f5dc02512a86e4c516fe544bb7a25e7f266951b797" "checksum getopts 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)" = "0a7292d30132fb5424b354f5dc02512a86e4c516fe544bb7a25e7f266951b797"

View file

@ -14,6 +14,7 @@ x = ["gpu_display/x"]
[dependencies] [dependencies]
audio_streams = "*" audio_streams = "*"
bit_field = { path = "../bit_field" } bit_field = { path = "../bit_field" }
bitflags = "1"
data_model = { path = "../data_model" } data_model = { path = "../data_model" }
disk = { path = "../disk" } disk = { path = "../disk" }
enumn = { path = "../enumn" } enumn = { path = "../enumn" }

File diff suppressed because it is too large Load diff