… | |
… | |
240 | |
240 | |
241 | /* mlockall constants */ |
241 | /* mlockall constants */ |
242 | enum |
242 | enum |
243 | { |
243 | { |
244 | EIO_MCL_CURRENT = 1, |
244 | EIO_MCL_CURRENT = 1, |
245 | EIO_MCL_FUTURE = 2 |
245 | EIO_MCL_FUTURE = 2, |
|
|
246 | EIO_MCL_ONFAULT = 4 |
246 | }; |
247 | }; |
247 | |
248 | |
248 | /* request priorities */ |
249 | /* request priorities */ |
249 | |
250 | |
250 | enum { |
251 | enum { |
… | |
… | |
418 | |
419 | |
419 | /*****************************************************************************/ |
420 | /*****************************************************************************/ |
420 | /* convenience functions */ |
421 | /* convenience functions */ |
421 | |
422 | |
422 | eio_ssize_t eio_sendfile_sync (int ofd, int ifd, off_t offset, size_t count); |
423 | eio_ssize_t eio_sendfile_sync (int ofd, int ifd, off_t offset, size_t count); |
|
|
424 | int eio_mlockall_sync (int flags); |
423 | |
425 | |
424 | #ifdef __cplusplus |
426 | #ifdef __cplusplus |
425 | } |
427 | } |
426 | #endif |
428 | #endif |
427 | |
429 | |