Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) |
| 3 | * Copyright (C) 2001 RidgeRun, Inc (glonnon@ridgerun.com) |
| 4 | * Licensed under the GPL |
| 5 | */ |
| 6 | |
| 7 | #ifndef __UM_UBD_USER_H |
| 8 | #define __UM_UBD_USER_H |
| 9 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | extern int start_io_thread(unsigned long sp, int *fds_out); |
| 11 | extern int io_thread(void *arg); |
| 12 | extern int kernel_fd; |
| 13 | |
Anton Ivanov | f88f0bd | 2016-11-09 20:43:25 +0000 | [diff] [blame] | 14 | extern int ubd_read_poll(int timeout); |
| 15 | extern int ubd_write_poll(int timeout); |
| 16 | |
| 17 | #define UBD_REQ_BUFFER_SIZE 64 |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #endif |
| 20 | |