File Index
Files and directories
Sign in
FILE

ubd.h

File preview with syntax highlighting.

linux-6.19.14/arch/um/drivers/ubd.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/* 
 3 * Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
 4 * Copyright (C) 2001 RidgeRun, Inc (glonnon@ridgerun.com)
 5 */
 6
 7#ifndef __UM_UBD_USER_H
 8#define __UM_UBD_USER_H
 9
10#include <os.h>
11
12int start_io_thread(struct os_helper_thread **td_out, int *fd_out);
13void *io_thread(void *arg);
14extern int kernel_fd;
15
16extern int ubd_read_poll(int timeout);
17extern int ubd_write_poll(int timeout);
18
19#define UBD_REQ_BUFFER_SIZE 64
20
21#endif
22
~/ Read-only file preview.