Lines Matching full:bindings
67 Abstractions vs. bindings
72 In order to use functions and types from the C side, bindings are created.
73 Bindings are the declarations for Rust of those functions and types from
77 a ``struct mutex`` from the C side and calls its functions through the bindings.
81 (e.g. drivers) should not use the C bindings directly. Instead, subsystems
86 rust/bindings/
96 | my_foo | -----> | | foo | | bar | | -------> | Bindings | <-+ |
98 +---------+ | |system| |system| | | bindings | <-----+
114 Bindings section in Abstractions vs. bindings
118 ``rust/bindings/bindings_helper.h``, the ``bindgen`` tool will auto-generate the
119 bindings for the included subsystem. After building, see the ``*_generated.rs``
120 output files in the ``rust/bindings/`` directory.
130 Abstractions are the layer between the bindings and the in-kernel users. They
132 access to the bindings into an as-safe-as-possible API that they expose to their