Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_util.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
#include <sys/uio.h> | #include <sys/uio.h> | ||||
MALLOC_DECLARE(M_LINUX); | MALLOC_DECLARE(M_LINUX); | ||||
MALLOC_DECLARE(M_EPOLL); | MALLOC_DECLARE(M_EPOLL); | ||||
MALLOC_DECLARE(M_FUTEX); | MALLOC_DECLARE(M_FUTEX); | ||||
MALLOC_DECLARE(M_FUTEX_WP); | MALLOC_DECLARE(M_FUTEX_WP); | ||||
extern const char linux_emul_path[]; | extern char linux_emul_path[]; | ||||
int linux_emul_convpath(struct thread *, const char *, enum uio_seg, char **, int, int); | int linux_emul_convpath(struct thread *, const char *, enum uio_seg, char **, int, int); | ||||
#define LCONVPATH_AT(td, upath, pathp, i, dfd) \ | #define LCONVPATH_AT(td, upath, pathp, i, dfd) \ | ||||
do { \ | do { \ | ||||
int _error; \ | int _error; \ | ||||
\ | \ | ||||
_error = linux_emul_convpath(td, upath, UIO_USERSPACE, \ | _error = linux_emul_convpath(td, upath, UIO_USERSPACE, \ | ||||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |