Lines Matching refs:handle
16 handle. blockdevfs does not enforce any kind of order in this list. Therefore,
28 backend. \lstinline+backend_handle+ points to an internal handle private to the
46 \lstinline+backend_handle+ freely. This handle will be passed as an argument to
52 \item \lstinline+open(void *handle)+ to open an exported file. The backend does not have to check or manipulate any blockdevfs-specific structures. blockdevfs ensures that only one client has a file open concurrently.
53 \item \lstinline+close(void *handle)+ to close a previously opened file. As with open, blockdevfs takes care of manipulating its structures.
54 \item \lstinline+read(void *handle, size_t pos, void *buffer, size_t bytes,+\\
55 \lstinline+ size_t *bytes_read)+ to read from the file corresponding to the handle.
56 \item \lstinline+write(void *handle, size_t pos, void *buffer, size_t bytes,+\\
57 \lstinline+ size_t *bytes_written)+ to write to the file corresponding to the handle.
58 \item \lstinline+flush(void *handle)+ to flush all data of the file
59 correpsonding to the handle to persistent storage.
62 All functions are supplied with the backend-handle associated with the
123 the size stored in the handle dynamically, blockdevfs is not geared